ados-rcm 1.1.351 → 1.1.352
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +31 -31
- package/dist/index.es.js +1691 -1691
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
@@ -15,31 +15,31 @@
|
|
15
15
|
*
|
16
16
|
* This source code is licensed under the MIT license found in the
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
18
|
-
*/var Fv;function n4(){return Fv||(Fv=1,process.env.NODE_ENV!=="production"&&function(){var r=I,e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),h=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),S=Symbol.iterator,D="@@iterator";function A(Q){if(Q===null||typeof Q!="object")return null;var He=S&&Q[S]||Q[D];return typeof He=="function"?He:null}var b=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function k(Q){{for(var He=arguments.length,
|
19
|
-
`+
|
18
|
+
*/var Fv;function n4(){return Fv||(Fv=1,process.env.NODE_ENV!=="production"&&function(){var r=I,e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),h=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),S=Symbol.iterator,D="@@iterator";function A(Q){if(Q===null||typeof Q!="object")return null;var He=S&&Q[S]||Q[D];return typeof He=="function"?He:null}var b=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function k(Q){{for(var He=arguments.length,pt=new Array(He>1?He-1:0),Ot=1;Ot<He;Ot++)pt[Ot-1]=arguments[Ot];O("error",Q,pt)}}function O(Q,He,pt){{var Ot=b.ReactDebugCurrentFrame,er=Ot.getStackAddendum();er!==""&&(He+="%s",pt=pt.concat([er]));var Yt=pt.map(function(Dt){return String(Dt)});Yt.unshift("Warning: "+He),Function.prototype.apply.call(console[Q],console,Yt)}}var H=!1,q=!1,G=!1,Y=!1,ue=!1,ee;ee=Symbol.for("react.module.reference");function fe(Q){return!!(typeof Q=="string"||typeof Q=="function"||Q===n||Q===l||ue||Q===i||Q===m||Q===M||Y||Q===_||H||q||G||typeof Q=="object"&&Q!==null&&(Q.$$typeof===C||Q.$$typeof===T||Q.$$typeof===u||Q.$$typeof===h||Q.$$typeof===g||Q.$$typeof===ee||Q.getModuleId!==void 0))}function N(Q,He,pt){var Ot=Q.displayName;if(Ot)return Ot;var er=He.displayName||He.name||"";return er!==""?pt+"("+er+")":pt}function re(Q){return Q.displayName||"Context"}function K(Q){if(Q==null)return null;if(typeof Q.tag=="number"&&k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof Q=="function")return Q.displayName||Q.name||null;if(typeof Q=="string")return Q;switch(Q){case n:return"Fragment";case t:return"Portal";case l:return"Profiler";case i:return"StrictMode";case m:return"Suspense";case M:return"SuspenseList"}if(typeof Q=="object")switch(Q.$$typeof){case h:var He=Q;return re(He)+".Consumer";case u:var pt=Q;return re(pt._context)+".Provider";case g:return N(Q,Q.render,"ForwardRef");case T:var Ot=Q.displayName||null;return Ot!==null?Ot:K(Q.type)||"Memo";case C:{var er=Q,Yt=er._payload,Dt=er._init;try{return K(Dt(Yt))}catch{return null}}}return null}var ne=Object.assign,ie=0,ce,me,le,be,ge,xe,Ie;function Pe(){}Pe.__reactDisabledLog=!0;function Ve(){{if(ie===0){ce=console.log,me=console.info,le=console.warn,be=console.error,ge=console.group,xe=console.groupCollapsed,Ie=console.groupEnd;var Q={configurable:!0,enumerable:!0,value:Pe,writable:!0};Object.defineProperties(console,{info:Q,log:Q,warn:Q,error:Q,group:Q,groupCollapsed:Q,groupEnd:Q})}ie++}}function Ee(){{if(ie--,ie===0){var Q={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ne({},Q,{value:ce}),info:ne({},Q,{value:me}),warn:ne({},Q,{value:le}),error:ne({},Q,{value:be}),group:ne({},Q,{value:ge}),groupCollapsed:ne({},Q,{value:xe}),groupEnd:ne({},Q,{value:Ie})})}ie<0&&k("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ot=b.ReactCurrentDispatcher,ht;function Ke(Q,He,pt){{if(ht===void 0)try{throw Error()}catch(er){var Ot=er.stack.trim().match(/\n( *(at )?)/);ht=Ot&&Ot[1]||""}return`
|
19
|
+
`+ht+Q}}var Ye=!1,Oe;{var Ne=typeof WeakMap=="function"?WeakMap:Map;Oe=new Ne}function Ae(Q,He){if(!Q||Ye)return"";{var pt=Oe.get(Q);if(pt!==void 0)return pt}var Ot;Ye=!0;var er=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Yt;Yt=ot.current,ot.current=null,Ve();try{if(He){var Dt=function(){throw Error()};if(Object.defineProperty(Dt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Dt,[])}catch(Sn){Ot=Sn}Reflect.construct(Q,[],Dt)}else{try{Dt.call()}catch(Sn){Ot=Sn}Q.call(Dt.prototype)}}else{try{throw Error()}catch(Sn){Ot=Sn}Q()}}catch(Sn){if(Sn&&Ot&&typeof Sn.stack=="string"){for(var Kt=Sn.stack.split(`
|
20
20
|
`),Mr=Ot.stack.split(`
|
21
21
|
`),ar=Kt.length-1,fr=Mr.length-1;ar>=1&&fr>=0&&Kt[ar]!==Mr[fr];)fr--;for(;ar>=1&&fr>=0;ar--,fr--)if(Kt[ar]!==Mr[fr]){if(ar!==1||fr!==1)do if(ar--,fr--,fr<0||Kt[ar]!==Mr[fr]){var zr=`
|
22
|
-
`+Kt[ar].replace(" at new "," at ");return Q.displayName&&zr.includes("<anonymous>")&&(zr=zr.replace("<anonymous>",Q.displayName)),typeof Q=="function"&&Oe.set(Q,zr),zr}while(ar>=1&&fr>=0);break}}}finally{Ye=!1,ot.current=Yt,
|
22
|
+
`+Kt[ar].replace(" at new "," at ");return Q.displayName&&zr.includes("<anonymous>")&&(zr=zr.replace("<anonymous>",Q.displayName)),typeof Q=="function"&&Oe.set(Q,zr),zr}while(ar>=1&&fr>=0);break}}}finally{Ye=!1,ot.current=Yt,Ee(),Error.prepareStackTrace=er}var gr=Q?Q.displayName||Q.name:"",Vn=gr?Ke(gr):"";return typeof Q=="function"&&Oe.set(Q,Vn),Vn}function Le(Q,He,pt){return Ae(Q,!1)}function ke(Q){var He=Q.prototype;return!!(He&&He.isReactComponent)}function Je(Q,He,pt){if(Q==null)return"";if(typeof Q=="function")return Ae(Q,ke(Q));if(typeof Q=="string")return Ke(Q);switch(Q){case m:return Ke("Suspense");case M:return Ke("SuspenseList")}if(typeof Q=="object")switch(Q.$$typeof){case g:return Le(Q.render);case T:return Je(Q.type,He,pt);case C:{var Ot=Q,er=Ot._payload,Yt=Ot._init;try{return Je(Yt(er),He,pt)}catch{}}}return""}var ft=Object.prototype.hasOwnProperty,xt={},St=b.ReactDebugCurrentFrame;function mt(Q){if(Q){var He=Q._owner,pt=Je(Q.type,Q._source,He?He.type:null);St.setExtraStackFrame(pt)}else St.setExtraStackFrame(null)}function It(Q,He,pt,Ot,er){{var Yt=Function.call.bind(ft);for(var Dt in Q)if(Yt(Q,Dt)){var Kt=void 0;try{if(typeof Q[Dt]!="function"){var Mr=Error((Ot||"React class")+": "+pt+" type `"+Dt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof Q[Dt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Mr.name="Invariant Violation",Mr}Kt=Q[Dt](He,Dt,Ot,pt,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ar){Kt=ar}Kt&&!(Kt instanceof Error)&&(mt(er),k("%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).",Ot||"React class",pt,Dt,typeof Kt),mt(null)),Kt instanceof Error&&!(Kt.message in xt)&&(xt[Kt.message]=!0,mt(er),k("Failed %s type: %s",pt,Kt.message),mt(null))}}}var Ct=Array.isArray;function ct(Q){return Ct(Q)}function ut(Q){{var He=typeof Symbol=="function"&&Symbol.toStringTag,pt=He&&Q[Symbol.toStringTag]||Q.constructor.name||"Object";return pt}}function et(Q){try{return Se(Q),!1}catch{return!0}}function Se(Q){return""+Q}function Ze(Q){if(et(Q))return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ut(Q)),Se(Q)}var at=b.ReactCurrentOwner,gt={key:!0,ref:!0,__self:!0,__source:!0},Tt,je;function _t(Q){if(ft.call(Q,"ref")){var He=Object.getOwnPropertyDescriptor(Q,"ref").get;if(He&&He.isReactWarning)return!1}return Q.ref!==void 0}function Mt(Q){if(ft.call(Q,"key")){var He=Object.getOwnPropertyDescriptor(Q,"key").get;if(He&&He.isReactWarning)return!1}return Q.key!==void 0}function vr(Q,He){typeof Q.ref=="string"&&at.current}function nr(Q,He){{var pt=function(){Tt||(Tt=!0,k("%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)",He))};pt.isReactWarning=!0,Object.defineProperty(Q,"key",{get:pt,configurable:!0})}}function Zt(Q,He){{var pt=function(){je||(je=!0,k("%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)",He))};pt.isReactWarning=!0,Object.defineProperty(Q,"ref",{get:pt,configurable:!0})}}var he=function(Q,He,pt,Ot,er,Yt,Dt){var Kt={$$typeof:e,type:Q,key:He,ref:pt,props:Dt,_owner:Yt};return Kt._store={},Object.defineProperty(Kt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Kt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ot}),Object.defineProperty(Kt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:er}),Object.freeze&&(Object.freeze(Kt.props),Object.freeze(Kt)),Kt};function te(Q,He,pt,Ot,er){{var Yt,Dt={},Kt=null,Mr=null;pt!==void 0&&(Ze(pt),Kt=""+pt),Mt(He)&&(Ze(He.key),Kt=""+He.key),_t(He)&&(Mr=He.ref,vr(He,er));for(Yt in He)ft.call(He,Yt)&&!gt.hasOwnProperty(Yt)&&(Dt[Yt]=He[Yt]);if(Q&&Q.defaultProps){var ar=Q.defaultProps;for(Yt in ar)Dt[Yt]===void 0&&(Dt[Yt]=ar[Yt])}if(Kt||Mr){var fr=typeof Q=="function"?Q.displayName||Q.name||"Unknown":Q;Kt&&nr(Dt,fr),Mr&&Zt(Dt,fr)}return he(Q,Kt,Mr,er,Ot,at.current,Dt)}}var Fe=b.ReactCurrentOwner,Xe=b.ReactDebugCurrentFrame;function Lt(Q){if(Q){var He=Q._owner,pt=Je(Q.type,Q._source,He?He.type:null);Xe.setExtraStackFrame(pt)}else Xe.setExtraStackFrame(null)}var vt;vt=!1;function wt(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===e}function Gt(){{if(Fe.current){var Q=K(Fe.current.type);if(Q)return`
|
23
23
|
|
24
|
-
Check the render method of \``+Q+"`."}return""}}function Ft(Q){return""}var sr={};function dr(Q){{var He=Gt();if(!He){var
|
24
|
+
Check the render method of \``+Q+"`."}return""}}function Ft(Q){return""}var sr={};function dr(Q){{var He=Gt();if(!He){var pt=typeof Q=="string"?Q:Q.displayName||Q.name;pt&&(He=`
|
25
25
|
|
26
|
-
Check the top-level render call using <`+
|
26
|
+
Check the top-level render call using <`+pt+">.")}return He}}function Rr(Q,He){{if(!Q._store||Q._store.validated||Q.key!=null)return;Q._store.validated=!0;var pt=dr(He);if(sr[pt])return;sr[pt]=!0;var Ot="";Q&&Q._owner&&Q._owner!==Fe.current&&(Ot=" It was passed a child from "+K(Q._owner.type)+"."),Lt(Q),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',pt,Ot),Lt(null)}}function ur(Q,He){{if(typeof Q!="object")return;if(ct(Q))for(var pt=0;pt<Q.length;pt++){var Ot=Q[pt];wt(Ot)&&Rr(Ot,He)}else if(wt(Q))Q._store&&(Q._store.validated=!0);else if(Q){var er=A(Q);if(typeof er=="function"&&er!==Q.entries)for(var Yt=er.call(Q),Dt;!(Dt=Yt.next()).done;)wt(Dt.value)&&Rr(Dt.value,He)}}}function xr(Q){{var He=Q.type;if(He==null||typeof He=="string")return;var pt;if(typeof He=="function")pt=He.propTypes;else if(typeof He=="object"&&(He.$$typeof===g||He.$$typeof===T))pt=He.propTypes;else return;if(pt){var Ot=K(He);It(pt,Q.props,"prop",Ot,Q)}else if(He.PropTypes!==void 0&&!vt){vt=!0;var er=K(He);k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",er||"Unknown")}typeof He.getDefaultProps=="function"&&!He.getDefaultProps.isReactClassApproved&&k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Wr(Q){{for(var He=Object.keys(Q.props),pt=0;pt<He.length;pt++){var Ot=He[pt];if(Ot!=="children"&&Ot!=="key"){Lt(Q),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ot),Lt(null);break}}Q.ref!==null&&(Lt(Q),k("Invalid attribute `ref` supplied to `React.Fragment`."),Lt(null))}}function st(Q,He,pt,Ot,er,Yt){{var Dt=fe(Q);if(!Dt){var Kt="";(Q===void 0||typeof Q=="object"&&Q!==null&&Object.keys(Q).length===0)&&(Kt+=" 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 Mr=Ft();Mr?Kt+=Mr:Kt+=Gt();var ar;Q===null?ar="null":ct(Q)?ar="array":Q!==void 0&&Q.$$typeof===e?(ar="<"+(K(Q.type)||"Unknown")+" />",Kt=" Did you accidentally export a JSX literal instead of a component?"):ar=typeof Q,k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ar,Kt)}var fr=te(Q,He,pt,er,Yt);if(fr==null)return fr;if(Dt){var zr=He.children;if(zr!==void 0)if(Ot)if(ct(zr)){for(var gr=0;gr<zr.length;gr++)ur(zr[gr],Q);Object.freeze&&Object.freeze(zr)}else k("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 ur(zr,Q)}return Q===n?Wr(fr):xr(fr),fr}}function Rt(Q,He,pt){return st(Q,He,pt,!0)}function bt(Q,He,pt){return st(Q,He,pt,!1)}var Qe=bt,Nt=Rt;wf.Fragment=n,wf.jsx=Qe,wf.jsxs=Nt}()),wf}var Bv;function i4(){return Bv||(Bv=1,process.env.NODE_ENV==="production"?bd.exports=r4():bd.exports=n4()),bd.exports}var v=i4(),Lf={exports:{}};/**
|
27
27
|
* @license
|
28
28
|
* Lodash <https://lodash.com/>
|
29
29
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
30
30
|
* Released under MIT license <https://lodash.com/license>
|
31
31
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
32
32
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
33
|
-
*/var o4=Lf.exports,qv;function s4(){return qv||(qv=1,function(r,e){(function(){var t,n="4.17.21",i=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",h="Invalid `variable` option passed into `_.template`",g="__lodash_hash_undefined__",m=500,M="__lodash_placeholder__",T=1,C=2,_=4,S=1,D=2,A=1,b=2,k=4,O=8,H=16,q=32,G=64,Y=128,ue=256,ee=512,fe=30,N="...",re=800,K=16,ne=1,ie=2,ce=3,me=1/0,ae=9007199254740991,be=17976931348623157e292,ge=NaN,xe=4294967295,Le=xe-1,Pe=xe>>>1,We=[["ary",Y],["bind",A],["bindKey",b],["curry",O],["curryRight",H],["flip",ee],["partial",q],["partialRight",G],["rearg",ue]],Te="[object Arguments]",ot="[object Array]",pt="[object AsyncFunction]",Ke="[object Boolean]",Ye="[object Date]",Oe="[object DOMException]",ke="[object Error]",Ee="[object Function]",Ne="[object GeneratorFunction]",Re="[object Map]",Je="[object Number]",ft="[object Null]",xt="[object Object]",St="[object Promise]",mt="[object Proxy]",It="[object RegExp]",Ct="[object Set]",ct="[object String]",ut="[object Symbol]",et="[object Undefined]",Se="[object WeakMap]",Ze="[object WeakSet]",at="[object ArrayBuffer]",gt="[object DataView]",Tt="[object Float32Array]",je="[object Float64Array]",_t="[object Int8Array]",Mt="[object Int16Array]",vr="[object Int32Array]",nr="[object Uint8Array]",Zt="[object Uint8ClampedArray]",he="[object Uint16Array]",te="[object Uint32Array]",Fe=/\b__p \+= '';/g,Xe=/\b(__p \+=) '' \+/g,Lt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,vt=/&(?:amp|lt|gt|quot|#39);/g,wt=/[&<>"']/g,Gt=RegExp(vt.source),Ft=RegExp(wt.source),sr=/<%-([\s\S]+?)%>/g,dr=/<%([\s\S]+?)%>/g,Rr=/<%=([\s\S]+?)%>/g,ur=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xr=/^\w*$/,Wr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,st=/[\\^$.*+?()[\]{}|]/g,Rt=RegExp(st.source),bt=/^\s+/,Qe=/\s/,Nt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Q=/\{\n\/\* \[wrapped with (.+)\] \*/,He=/,? & /,ht=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ot=/[()=,{}\[\]\/\s]/,er=/\\(\\)?/g,Yt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Dt=/\w*$/,Kt=/^[-+]0x[0-9a-f]+$/i,Mr=/^0b[01]+$/i,ar=/^\[object .+?Constructor\]$/,fr=/^0o[0-7]+$/i,zr=/^(?:0|[1-9]\d*)$/,gr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Vn=/($^)/,Sn=/['\n\r\u2028\u2029\\]/g,Mn="\\ud800-\\udfff",Kr="\\u0300-\\u036f",Gn="\\ufe20-\\ufe2f",Tn="\\u20d0-\\u20ff",Zn=Kr+Gn+Tn,Yn="\\u2700-\\u27bf",nn="a-z\\xdf-\\xf6\\xf8-\\xff",Dn="\\xac\\xb1\\xd7\\xf7",Cn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",di="\\u2000-\\u206f",_i=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",xi="A-Z\\xc0-\\xd6\\xd8-\\xde",En="\\ufe0e\\ufe0f",wn=Dn+Cn+di+_i,cn="['’]",Kn="["+Mn+"]",on="["+wn+"]",dn="["+Zn+"]",x="\\d+",j="["+Yn+"]",W="["+nn+"]",X="[^"+Mn+wn+x+Yn+nn+xi+"]",we="\\ud83c[\\udffb-\\udfff]",ye="(?:"+dn+"|"+we+")",Me="[^"+Mn+"]",tt="(?:\\ud83c[\\udde6-\\uddff]){2}",At="[\\ud800-\\udbff][\\udc00-\\udfff]",jt="["+xi+"]",Pt="\\u200d",br="(?:"+W+"|"+X+")",Zr="(?:"+jt+"|"+X+")",vn="(?:"+cn+"(?:d|ll|m|re|s|t|ve))?",yn="(?:"+cn+"(?:D|LL|M|RE|S|T|VE))?",ai=ye+"?",Nn="["+En+"]?",Si="(?:"+Pt+"(?:"+[Me,tt,At].join("|")+")"+Nn+ai+")*",Xr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",hi="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",jn=Nn+ai+Si,Xn="(?:"+[j,tt,At].join("|")+")"+jn,yo="(?:"+[Me+dn+"?",dn,tt,At,Kn].join("|")+")",eo=RegExp(cn,"g"),to=RegExp(dn,"g"),kn=RegExp(we+"(?="+we+")|"+yo+jn,"g"),bo=RegExp([jt+"?"+W+"+"+vn+"(?="+[on,jt,"$"].join("|")+")",Zr+"+"+yn+"(?="+[on,jt+br,"$"].join("|")+")",jt+"?"+br+"+"+vn,jt+"+"+yn,hi,Xr,x,Xn].join("|"),"g"),Jn=RegExp("["+Pt+Mn+Zn+En+"]"),Qn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Hi=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Dr=-1,Sr={};Sr[Tt]=Sr[je]=Sr[_t]=Sr[Mt]=Sr[vr]=Sr[nr]=Sr[Zt]=Sr[he]=Sr[te]=!0,Sr[Te]=Sr[ot]=Sr[at]=Sr[Ke]=Sr[gt]=Sr[Ye]=Sr[ke]=Sr[Ee]=Sr[Re]=Sr[Je]=Sr[xt]=Sr[It]=Sr[Ct]=Sr[ct]=Sr[Se]=!1;var Ir={};Ir[Te]=Ir[ot]=Ir[at]=Ir[gt]=Ir[Ke]=Ir[Ye]=Ir[Tt]=Ir[je]=Ir[_t]=Ir[Mt]=Ir[vr]=Ir[Re]=Ir[Je]=Ir[xt]=Ir[It]=Ir[Ct]=Ir[ct]=Ir[ut]=Ir[nr]=Ir[Zt]=Ir[he]=Ir[te]=!0,Ir[ke]=Ir[Ee]=Ir[Se]=!1;var R={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},V={"&":"&","<":"<",">":">",'"':""","'":"'"},le={"&":"&","<":"<",">":">",""":'"',"'":"'"},De={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ut=parseFloat,qt=parseInt,hr=typeof yi=="object"&&yi&&yi.Object===Object&&yi,_r=typeof self=="object"&&self&&self.Object===Object&&self,lr=hr||_r||Function("return this")(),Cr=e&&!e.nodeType&&e,Jr=Cr&&!0&&r&&!r.nodeType&&r,Rn=Jr&&Jr.exports===Cr,Vr=Rn&&hr.process,jr=function(){try{var pe=Jr&&Jr.require&&Jr.require("util").types;return pe||Vr&&Vr.binding&&Vr.binding("util")}catch{}}(),Qr=jr&&jr.isArrayBuffer,li=jr&&jr.isDate,pi=jr&&jr.isMap,Fn=jr&&jr.isRegExp,_o=jr&&jr.isSet,zi=jr&&jr.isTypedArray;function sn(pe,Be,Ie){switch(Ie.length){case 0:return pe.call(Be);case 1:return pe.call(Be,Ie[0]);case 2:return pe.call(Be,Ie[0],Ie[1]);case 3:return pe.call(Be,Ie[0],Ie[1],Ie[2])}return pe.apply(Be,Ie)}function ds(pe,Be,Ie,Et){for(var Qt=-1,Or=pe==null?0:pe.length;++Qt<Or;){var bn=pe[Qt];Be(Et,bn,Ie(bn),pe)}return Et}function Bn(pe,Be){for(var Ie=-1,Et=pe==null?0:pe.length;++Ie<Et&&Be(pe[Ie],Ie,pe)!==!1;);return pe}function ll(pe,Be){for(var Ie=pe==null?0:pe.length;Ie--&&Be(pe[Ie],Ie,pe)!==!1;);return pe}function Ca(pe,Be){for(var Ie=-1,Et=pe==null?0:pe.length;++Ie<Et;)if(!Be(pe[Ie],Ie,pe))return!1;return!0}function $i(pe,Be){for(var Ie=-1,Et=pe==null?0:pe.length,Qt=0,Or=[];++Ie<Et;){var bn=pe[Ie];Be(bn,Ie,pe)&&(Or[Qt++]=bn)}return Or}function xo(pe,Be){var Ie=pe==null?0:pe.length;return!!Ie&&So(pe,Be,0)>-1}function qn(pe,Be,Ie){for(var Et=-1,Qt=pe==null?0:pe.length;++Et<Qt;)if(Ie(Be,pe[Et]))return!0;return!1}function Yr(pe,Be){for(var Ie=-1,Et=pe==null?0:pe.length,Qt=Array(Et);++Ie<Et;)Qt[Ie]=Be(pe[Ie],Ie,pe);return Qt}function Ci(pe,Be){for(var Ie=-1,Et=Be.length,Qt=pe.length;++Ie<Et;)pe[Qt+Ie]=Be[Ie];return pe}function wa(pe,Be,Ie,Et){var Qt=-1,Or=pe==null?0:pe.length;for(Et&&Or&&(Ie=pe[++Qt]);++Qt<Or;)Ie=Be(Ie,pe[Qt],Qt,pe);return Ie}function cl(pe,Be,Ie,Et){var Qt=pe==null?0:pe.length;for(Et&&Qt&&(Ie=pe[--Qt]);Qt--;)Ie=Be(Ie,pe[Qt],Qt,pe);return Ie}function zo(pe,Be){for(var Ie=-1,Et=pe==null?0:pe.length;++Ie<Et;)if(Be(pe[Ie],Ie,pe))return!0;return!1}var ul=w("length");function fl(pe){return pe.split("")}function Ws(pe){return pe.match(ht)||[]}function hs(pe,Be,Ie){var Et;return Ie(pe,function(Qt,Or,bn){if(Be(Qt,Or,bn))return Et=Or,!1}),Et}function ps(pe,Be,Ie,Et){for(var Qt=pe.length,Or=Ie+(Et?1:-1);Et?Or--:++Or<Qt;)if(Be(pe[Or],Or,pe))return Or;return-1}function So(pe,Be,Ie){return Be===Be?rf(pe,Be,Ie):ps(pe,Vs,Ie)}function dl(pe,Be,Ie,Et){for(var Qt=Ie-1,Or=pe.length;++Qt<Or;)if(Et(pe[Qt],Be))return Qt;return-1}function Vs(pe){return pe!==pe}function Aa(pe,Be){var Ie=pe==null?0:pe.length;return Ie?Ae(pe,Be)/Ie:ge}function w(pe){return function(Be){return Be==null?t:Be[pe]}}function P(pe){return function(Be){return pe==null?t:pe[Be]}}function z(pe,Be,Ie,Et,Qt){return Qt(pe,function(Or,bn,$r){Ie=Et?(Et=!1,Or):Be(Ie,Or,bn,$r)}),Ie}function J(pe,Be){var Ie=pe.length;for(pe.sort(Be);Ie--;)pe[Ie]=pe[Ie].value;return pe}function Ae(pe,Be){for(var Ie,Et=-1,Qt=pe.length;++Et<Qt;){var Or=Be(pe[Et]);Or!==t&&(Ie=Ie===t?Or:Ie+Or)}return Ie}function Ce(pe,Be){for(var Ie=-1,Et=Array(pe);++Ie<pe;)Et[Ie]=Be(Ie);return Et}function ze(pe,Be){return Yr(Be,function(Ie){return[Ie,pe[Ie]]})}function dt(pe){return pe&&pe.slice(0,nu(pe)+1).replace(bt,"")}function Bt(pe){return function(Be){return pe(Be)}}function cr(pe,Be){return Yr(Be,function(Ie){return pe[Ie]})}function tr(pe,Be){return pe.has(Be)}function Gr(pe,Be){for(var Ie=-1,Et=pe.length;++Ie<Et&&So(Be,pe[Ie],0)>-1;);return Ie}function ei(pe,Be){for(var Ie=pe.length;Ie--&&So(Be,pe[Ie],0)>-1;);return Ie}function wi(pe,Be){for(var Ie=pe.length,Et=0;Ie--;)pe[Ie]===Be&&++Et;return Et}var Ai=P(R),Gs=P(V);function hl(pe){return"\\"+De[pe]}function gs(pe,Be){return pe==null?t:pe[Be]}function Zs(pe){return Jn.test(pe)}function ef(pe){return Qn.test(pe)}function rc(pe){for(var Be,Ie=[];!(Be=pe.next()).done;)Ie.push(Be.value);return Ie}function nc(pe){var Be=-1,Ie=Array(pe.size);return pe.forEach(function(Et,Qt){Ie[++Be]=[Qt,Et]}),Ie}function ru(pe,Be){return function(Ie){return pe(Be(Ie))}}function Co(pe,Be){for(var Ie=-1,Et=pe.length,Qt=0,Or=[];++Ie<Et;){var bn=pe[Ie];(bn===Be||bn===M)&&(pe[Ie]=M,Or[Qt++]=Ie)}return Or}function Ta(pe){var Be=-1,Ie=Array(pe.size);return pe.forEach(function(Et){Ie[++Be]=Et}),Ie}function tf(pe){var Be=-1,Ie=Array(pe.size);return pe.forEach(function(Et){Ie[++Be]=[Et,Et]}),Ie}function rf(pe,Be,Ie){for(var Et=Ie-1,Qt=pe.length;++Et<Qt;)if(pe[Et]===Be)return Et;return-1}function nf(pe,Be,Ie){for(var Et=Ie+1;Et--;)if(pe[Et]===Be)return Et;return Et}function Ys(pe){return Zs(pe)?pl(pe):ul(pe)}function un(pe){return Zs(pe)?Ti(pe):fl(pe)}function nu(pe){for(var Be=pe.length;Be--&&Qe.test(pe.charAt(Be)););return Be}var iu=P(le);function pl(pe){for(var Be=kn.lastIndex=0;kn.test(pe);)++Be;return Be}function Ti(pe){return pe.match(kn)||[]}function ou(pe){return pe.match(bo)||[]}var gl=function pe(Be){Be=Be==null?lr:wo.defaults(lr.Object(),Be,wo.pick(lr,Hi));var Ie=Be.Array,Et=Be.Date,Qt=Be.Error,Or=Be.Function,bn=Be.Math,$r=Be.Object,Ks=Be.RegExp,su=Be.String,Ni=Be.TypeError,ml=Ie.prototype,of=Or.prototype,$o=$r.prototype,en=Be["__core-js_shared__"],Uo=of.toString,Hr=$o.hasOwnProperty,ic=0,an=function(){var o=/[^.]+$/.exec(en&&en.keys&&en.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),Ao=$o.toString,oc=Uo.call($r),sc=lr._,ac=Ks("^"+Uo.call(Hr).replace(st,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Xs=Rn?Be.Buffer:t,To=Be.Symbol,Ea=Be.Uint8Array,ka=Xs?Xs.allocUnsafe:t,ms=ru($r.getPrototypeOf,$r),Js=$r.create,vl=$o.propertyIsEnumerable,Eo=ml.splice,yl=To?To.isConcatSpreadable:t,Ui=To?To.iterator:t,ko=To?To.toStringTag:t,Wo=function(){try{var o=Nc($r,"defineProperty");return o({},"",{}),o}catch{}}(),sf=Be.clearTimeout!==lr.clearTimeout&&Be.clearTimeout,Ra=Et&&Et.now!==lr.Date.now&&Et.now,au=Be.setTimeout!==lr.setTimeout&&Be.setTimeout,Qs=bn.ceil,vs=bn.floor,ea=$r.getOwnPropertySymbols,bl=Xs?Xs.isBuffer:t,ta=Be.isFinite,Ia=ml.join,lu=ru($r.keys,$r),ln=bn.max,In=bn.min,Vo=Et.now,lc=Be.parseInt,Go=bn.random,_l=ml.reverse,ro=Nc(Be,"DataView"),Zo=Nc(Be,"Map"),ra=Nc(Be,"Promise"),no=Nc(Be,"Set"),Ro=Nc(Be,"WeakMap"),na=Nc($r,"create"),La=Ro&&new Ro,ys={},Yo=jc(ro),cc=jc(Zo),af=jc(ra),cu=jc(no),ia=jc(Ro),Ko=To?To.prototype:t,bs=Ko?Ko.valueOf:t,Ma=Ko?Ko.toString:t;function $(o){if(Pn(o)&&!yr(o)&&!(o instanceof mr)){if(o instanceof ti)return o;if(Hr.call(o,"__wrapped__"))return rv(o)}return new ti(o)}var Io=function(){function o(){}return function(a){if(!Ln(a))return{};if(Js)return Js(a);o.prototype=a;var p=new o;return o.prototype=t,p}}();function Lo(){}function ti(o,a){this.__wrapped__=o,this.__actions__=[],this.__chain__=!!a,this.__index__=0,this.__values__=t}$.templateSettings={escape:sr,evaluate:dr,interpolate:Rr,variable:"",imports:{_:$}},$.prototype=Lo.prototype,$.prototype.constructor=$,ti.prototype=Io(Lo.prototype),ti.prototype.constructor=ti;function mr(o){this.__wrapped__=o,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=xe,this.__views__=[]}function xl(){var o=new mr(this.__wrapped__);return o.__actions__=ni(this.__actions__),o.__dir__=this.__dir__,o.__filtered__=this.__filtered__,o.__iteratees__=ni(this.__iteratees__),o.__takeCount__=this.__takeCount__,o.__views__=ni(this.__views__),o}function Da(){if(this.__filtered__){var o=new mr(this);o.__dir__=-1,o.__filtered__=!0}else o=this.clone(),o.__dir__*=-1;return o}function Sl(){var o=this.__wrapped__.value(),a=this.__dir__,p=yr(o),E=a<0,B=p?o.length:0,Z=TS(0,B,this.__views__),se=Z.start,de=Z.end,ve=de-se,Ve=E?de:se-1,Ge=this.__iteratees__,nt=Ge.length,kt=0,Wt=In(ve,this.__takeCount__);if(!p||!E&&B==ve&&Wt==ve)return ri(o,this.__actions__);var ir=[];e:for(;ve--&&kt<Wt;){Ve+=a;for(var Tr=-1,or=o[Ve];++Tr<nt;){var Nr=Ge[Tr],qr=Nr.iteratee,jo=Nr.type,Xi=qr(or);if(jo==ie)or=Xi;else if(!Xi){if(jo==ne)continue e;break e}}ir[kt++]=or}return ir}mr.prototype=Io(Lo.prototype),mr.prototype.constructor=mr;function io(o){var a=-1,p=o==null?0:o.length;for(this.clear();++a<p;){var E=o[a];this.set(E[0],E[1])}}function uc(){this.__data__=na?na(null):{},this.size=0}function uu(o){var a=this.has(o)&&delete this.__data__[o];return this.size-=a?1:0,a}function fu(o){var a=this.__data__;if(na){var p=a[o];return p===g?t:p}return Hr.call(a,o)?a[o]:t}function du(o){var a=this.__data__;return na?a[o]!==t:Hr.call(a,o)}function lf(o,a){var p=this.__data__;return this.size+=this.has(o)?0:1,p[o]=na&&a===t?g:a,this}io.prototype.clear=uc,io.prototype.delete=uu,io.prototype.get=fu,io.prototype.has=du,io.prototype.set=lf;function oo(o){var a=-1,p=o==null?0:o.length;for(this.clear();++a<p;){var E=o[a];this.set(E[0],E[1])}}function cf(){this.__data__=[],this.size=0}function uf(o){var a=this.__data__,p=Wi(a,o);if(p<0)return!1;var E=a.length-1;return p==E?a.pop():Eo.call(a,p,1),--this.size,!0}function fc(o){var a=this.__data__,p=Wi(a,o);return p<0?t:a[p][1]}function Oa(o){return Wi(this.__data__,o)>-1}function ff(o,a){var p=this.__data__,E=Wi(p,o);return E<0?(++this.size,p.push([o,a])):p[E][1]=a,this}oo.prototype.clear=cf,oo.prototype.delete=uf,oo.prototype.get=fc,oo.prototype.has=Oa,oo.prototype.set=ff;function Mo(o){var a=-1,p=o==null?0:o.length;for(this.clear();++a<p;){var E=o[a];this.set(E[0],E[1])}}function dc(){this.size=0,this.__data__={hash:new io,map:new(Zo||oo),string:new io}}function Cl(o){var a=cd(this,o).delete(o);return this.size-=a?1:0,a}function df(o){return cd(this,o).get(o)}function hf(o){return cd(this,o).has(o)}function pf(o,a){var p=cd(this,o),E=p.size;return p.set(o,a),this.size+=p.size==E?0:1,this}Mo.prototype.clear=dc,Mo.prototype.delete=Cl,Mo.prototype.get=df,Mo.prototype.has=hf,Mo.prototype.set=pf;function ci(o){var a=-1,p=o==null?0:o.length;for(this.__data__=new Mo;++a<p;)this.add(o[a])}function hc(o){return this.__data__.set(o,g),this}function wl(o){return this.__data__.has(o)}ci.prototype.add=ci.prototype.push=hc,ci.prototype.has=wl;function Ar(o){var a=this.__data__=new oo(o);this.size=a.size}function Ei(){this.__data__=new oo,this.size=0}function oa(o){var a=this.__data__,p=a.delete(o);return this.size=a.size,p}function _s(o){return this.__data__.get(o)}function Pr(o){return this.__data__.has(o)}function Xo(o,a){var p=this.__data__;if(p instanceof oo){var E=p.__data__;if(!Zo||E.length<i-1)return E.push([o,a]),this.size=++p.size,this;p=this.__data__=new Mo(E)}return p.set(o,a),this.size=p.size,this}Ar.prototype.clear=Ei,Ar.prototype.delete=oa,Ar.prototype.get=_s,Ar.prototype.has=Pr,Ar.prototype.set=Xo;function Pa(o,a){var p=yr(o),E=!p&&Fc(o),B=!p&&!E&&zl(o),Z=!p&&!E&&!B&&Tu(o),se=p||E||B||Z,de=se?Ce(o.length,su):[],ve=de.length;for(var Ve in o)(a||Hr.call(o,Ve))&&!(se&&(Ve=="length"||B&&(Ve=="offset"||Ve=="parent")||Z&&(Ve=="buffer"||Ve=="byteLength"||Ve=="byteOffset")||Ga(Ve,ve)))&&de.push(Ve);return de}function gi(o){var a=o.length;return a?o[Es(0,a-1)]:t}function ki(o,a){return ud(ni(o),Ss(a,0,o.length))}function so(o){return ud(ni(o))}function pc(o,a,p){(p!==t&&!Rs(o[a],p)||p===t&&!(a in o))&&Ri(o,a,p)}function ui(o,a,p){var E=o[a];(!(Hr.call(o,a)&&Rs(E,p))||p===t&&!(a in o))&&Ri(o,a,p)}function Wi(o,a){for(var p=o.length;p--;)if(Rs(o[p][0],a))return p;return-1}function xs(o,a,p,E){return Jo(o,function(B,Z,se){a(E,B,p(B),se)}),E}function hu(o,a){return o&&Yi(a,mi(a),o)}function gc(o,a){return o&&Yi(a,po(a),o)}function Ri(o,a,p){a=="__proto__"&&Wo?Wo(o,a,{configurable:!0,enumerable:!0,value:p,writable:!0}):o[a]=p}function mc(o,a){for(var p=-1,E=a.length,B=Ie(E),Z=o==null;++p<E;)B[p]=Z?t:jh(o,a[p]);return B}function Ss(o,a,p){return o===o&&(p!==t&&(o=o<=p?o:p),a!==t&&(o=o>=a?o:a)),o}function fi(o,a,p,E,B,Z){var se,de=a&T,ve=a&C,Ve=a&_;if(p&&(se=B?p(o,E,B,Z):p(o)),se!==t)return se;if(!Ln(o))return o;var Ge=yr(o);if(Ge){if(se=kS(o),!de)return ni(o,se)}else{var nt=ji(o),kt=nt==Ee||nt==Ne;if(zl(o))return ha(o,de);if(nt==xt||nt==Te||kt&&!B){if(se=ve||kt?{}:Gm(o),!de)return ve?wu(o,gc(se,o)):yf(o,hu(se,o))}else{if(!Ir[nt])return B?o:{};se=RS(o,nt,de)}}Z||(Z=new Ar);var Wt=Z.get(o);if(Wt)return Wt;Z.set(o,se),Sv(o)?o.forEach(function(or){se.add(fi(or,a,p,or,o,Z))}):_v(o)&&o.forEach(function(or,Nr){se.set(Nr,fi(or,a,p,Nr,o,Z))});var ir=Ve?ve?Ch:Sh:ve?po:mi,Tr=Ge?t:ir(o);return Bn(Tr||o,function(or,Nr){Tr&&(Nr=or,or=o[Nr]),ui(se,Nr,fi(or,a,p,Nr,o,Z))}),se}function vc(o){var a=mi(o);return function(p){return yc(p,o,a)}}function yc(o,a,p){var E=p.length;if(o==null)return!E;for(o=$r(o);E--;){var B=p[E],Z=a[B],se=o[B];if(se===t&&!(B in o)||!Z(se))return!1}return!0}function bc(o,a,p){if(typeof o!="function")throw new Ni(u);return xf(function(){o.apply(t,p)},a)}function Cs(o,a,p,E){var B=-1,Z=xo,se=!0,de=o.length,ve=[],Ve=a.length;if(!de)return ve;p&&(a=Yr(a,Bt(p))),E?(Z=qn,se=!1):a.length>=i&&(Z=tr,se=!1,a=new ci(a));e:for(;++B<de;){var Ge=o[B],nt=p==null?Ge:p(Ge);if(Ge=E||Ge!==0?Ge:0,se&&nt===nt){for(var kt=Ve;kt--;)if(a[kt]===nt)continue e;ve.push(Ge)}else Z(a,nt,E)||ve.push(Ge)}return ve}var Jo=s(Ii),_c=s(Tl,!0);function pu(o,a){var p=!0;return Jo(o,function(E,B,Z){return p=!!a(E,B,Z),p}),p}function Al(o,a,p){for(var E=-1,B=o.length;++E<B;){var Z=o[E],se=a(Z);if(se!=null&&(de===t?se===se&&!No(se):p(se,de)))var de=se,ve=Z}return ve}function gf(o,a,p,E){var B=o.length;for(p=wr(p),p<0&&(p=-p>B?0:B+p),E=E===t||E>B?B:wr(E),E<0&&(E+=B),E=p>E?0:wv(E);p<E;)o[p++]=a;return o}function gu(o,a){var p=[];return Jo(o,function(E,B,Z){a(E,B,Z)&&p.push(E)}),p}function Hn(o,a,p,E,B){var Z=-1,se=o.length;for(p||(p=LS),B||(B=[]);++Z<se;){var de=o[Z];a>0&&p(de)?a>1?Hn(de,a-1,p,E,B):Ci(B,de):E||(B[B.length]=de)}return B}var xc=c(),mu=c(!0);function Ii(o,a){return o&&xc(o,a,mi)}function Tl(o,a){return o&&mu(o,a,mi)}function sa(o,a){return $i(a,function(p){return Za(o[p])})}function Qo(o,a){a=Po(a,o);for(var p=0,E=a.length;o!=null&&p<E;)o=o[pa(a[p++])];return p&&p==E?o:t}function Na(o,a,p){var E=a(o);return yr(o)?E:Ci(E,p(o))}function On(o){return o==null?o===t?et:ft:ko&&ko in $r(o)?AS(o):FS(o)}function ws(o,a){return o>a}function El(o,a){return o!=null&&Hr.call(o,a)}function aa(o,a){return o!=null&&a in $r(o)}function kl(o,a,p){return o>=In(a,p)&&o<ln(a,p)}function la(o,a,p){for(var E=p?qn:xo,B=o[0].length,Z=o.length,se=Z,de=Ie(Z),ve=1/0,Ve=[];se--;){var Ge=o[se];se&&a&&(Ge=Yr(Ge,Bt(a))),ve=In(Ge.length,ve),de[se]=!p&&(a||B>=120&&Ge.length>=120)?new ci(se&&Ge):t}Ge=o[0];var nt=-1,kt=de[0];e:for(;++nt<B&&Ve.length<ve;){var Wt=Ge[nt],ir=a?a(Wt):Wt;if(Wt=p||Wt!==0?Wt:0,!(kt?tr(kt,ir):E(Ve,ir,p))){for(se=Z;--se;){var Tr=de[se];if(!(Tr?tr(Tr,ir):E(o[se],ir,p)))continue e}kt&&kt.push(ir),Ve.push(Wt)}}return Ve}function Rl(o,a,p,E){return Ii(o,function(B,Z,se){a(E,p(B),Z,se)}),E}function ao(o,a,p){a=Po(a,o),o=Xm(o,a);var E=o==null?o:o[pa(os(a))];return E==null?t:sn(E,o,p)}function Il(o){return Pn(o)&&On(o)==Te}function As(o){return Pn(o)&&On(o)==at}function vu(o){return Pn(o)&&On(o)==Ye}function ja(o,a,p,E,B){return o===a?!0:o==null||a==null||!Pn(o)&&!Pn(a)?o!==o&&a!==a:ca(o,a,p,E,ja,B)}function ca(o,a,p,E,B,Z){var se=yr(o),de=yr(a),ve=se?ot:ji(o),Ve=de?ot:ji(a);ve=ve==Te?xt:ve,Ve=Ve==Te?xt:Ve;var Ge=ve==xt,nt=Ve==xt,kt=ve==Ve;if(kt&&zl(o)){if(!zl(a))return!1;se=!0,Ge=!1}if(kt&&!Ge)return Z||(Z=new Ar),se||Tu(o)?Um(o,a,p,E,B,Z):CS(o,a,ve,p,E,B,Z);if(!(p&S)){var Wt=Ge&&Hr.call(o,"__wrapped__"),ir=nt&&Hr.call(a,"__wrapped__");if(Wt||ir){var Tr=Wt?o.value():o,or=ir?a.value():a;return Z||(Z=new Ar),B(Tr,or,p,E,Z)}}return kt?(Z||(Z=new Ar),wS(o,a,p,E,B,Z)):!1}function ua(o){return Pn(o)&&ji(o)==Re}function Sc(o,a,p,E){var B=p.length,Z=B,se=!E;if(o==null)return!Z;for(o=$r(o);B--;){var de=p[B];if(se&&de[2]?de[1]!==o[de[0]]:!(de[0]in o))return!1}for(;++B<Z;){de=p[B];var ve=de[0],Ve=o[ve],Ge=de[1];if(se&&de[2]){if(Ve===t&&!(ve in o))return!1}else{var nt=new Ar;if(E)var kt=E(Ve,Ge,ve,o,a,nt);if(!(kt===t?ja(Ge,Ve,S|D,E,nt):kt))return!1}}return!0}function yu(o){if(!Ln(o)||DS(o))return!1;var a=Za(o)?ac:ar;return a.test(jc(o))}function Ts(o){return Pn(o)&&On(o)==It}function Ll(o){return Pn(o)&&ji(o)==Ct}function Do(o){return Pn(o)&&md(o.length)&&!!Sr[On(o)]}function Ml(o){return typeof o=="function"?o:o==null?go:typeof o=="object"?yr(o)?Ba(o[0],o[1]):lo(o):Pv(o)}function Oo(o){if(!_f(o))return lu(o);var a=[];for(var p in $r(o))Hr.call(o,p)&&p!="constructor"&&a.push(p);return a}function Fa(o){if(!Ln(o))return jS(o);var a=_f(o),p=[];for(var E in o)E=="constructor"&&(a||!Hr.call(o,E))||p.push(E);return p}function Vi(o,a){return o<a}function Gi(o,a){var p=-1,E=ho(o)?Ie(o.length):[];return Jo(o,function(B,Z,se){E[++p]=a(B,Z,se)}),E}function lo(o){var a=Ah(o);return a.length==1&&a[0][2]?Ym(a[0][0],a[0][1]):function(p){return p===o||Sc(p,o,a)}}function Ba(o,a){return Eh(o)&&Zm(a)?Ym(pa(o),a):function(p){var E=jh(p,o);return E===t&&E===a?Fh(p,o):ja(a,E,S|D)}}function es(o,a,p,E,B){o!==a&&xc(a,function(Z,se){if(B||(B=new Ar),Ln(Z))Zi(o,a,se,p,es,E,B);else{var de=E?E(Rh(o,se),Z,se+"",o,a,B):t;de===t&&(de=Z),pc(o,se,de)}},po)}function Zi(o,a,p,E,B,Z,se){var de=Rh(o,p),ve=Rh(a,p),Ve=se.get(ve);if(Ve){pc(o,p,Ve);return}var Ge=Z?Z(de,ve,p+"",o,a,se):t,nt=Ge===t;if(nt){var kt=yr(ve),Wt=!kt&&zl(ve),ir=!kt&&!Wt&&Tu(ve);Ge=ve,kt||Wt||ir?yr(de)?Ge=de:$n(de)?Ge=ni(de):Wt?(nt=!1,Ge=ha(ve,!0)):ir?(nt=!1,Ge=Oc(ve,!0)):Ge=[]:Sf(ve)||Fc(ve)?(Ge=de,Fc(de)?Ge=Av(de):(!Ln(de)||Za(de))&&(Ge=Gm(ve))):nt=!1}nt&&(se.set(ve,Ge),B(Ge,ve,E,Z,se),se.delete(ve)),pc(o,p,Ge)}function fa(o,a){var p=o.length;if(p)return a+=a<0?p:0,Ga(a,p)?o[a]:t}function Dl(o,a,p){a.length?a=Yr(a,function(Z){return yr(Z)?function(se){return Qo(se,Z.length===1?Z[0]:Z)}:Z}):a=[go];var E=-1;a=Yr(a,Bt(rr()));var B=Gi(o,function(Z,se,de){var ve=Yr(a,function(Ve){return Ve(Z)});return{criteria:ve,index:++E,value:Z}});return J(B,function(Z,se){return Su(Z,se,p)})}function qa(o,a){return da(o,a,function(p,E){return Fh(o,E)})}function da(o,a,p){for(var E=-1,B=a.length,Z={};++E<B;){var se=a[E],de=Qo(o,se);p(de,se)&&ks(Z,Po(se,o),de)}return Z}function bu(o){return function(a){return Qo(a,o)}}function Cc(o,a,p,E){var B=E?dl:So,Z=-1,se=a.length,de=o;for(o===a&&(a=ni(a)),p&&(de=Yr(o,Bt(p)));++Z<se;)for(var ve=0,Ve=a[Z],Ge=p?p(Ve):Ve;(ve=B(de,Ge,ve,E))>-1;)de!==o&&Eo.call(de,ve,1),Eo.call(o,ve,1);return o}function wc(o,a){for(var p=o?a.length:0,E=p-1;p--;){var B=a[p];if(p==E||B!==Z){var Z=B;Ga(B)?Eo.call(o,B,1):Rc(o,B)}}return o}function Es(o,a){return o+vs(Go()*(a-o+1))}function Ac(o,a,p,E){for(var B=-1,Z=ln(Qs((a-o)/(p||1)),0),se=Ie(Z);Z--;)se[E?Z:++B]=o,o+=p;return se}function Ol(o,a){var p="";if(!o||a<1||a>ae)return p;do a%2&&(p+=o),a=vs(a/2),a&&(o+=o);while(a);return p}function pr(o,a){return Ih(Km(o,a,go),o+"")}function Ha(o){return gi(Eu(o))}function Tc(o,a){var p=Eu(o);return ud(p,Ss(a,0,p.length))}function ks(o,a,p,E){if(!Ln(o))return o;a=Po(a,o);for(var B=-1,Z=a.length,se=Z-1,de=o;de!=null&&++B<Z;){var ve=pa(a[B]),Ve=p;if(ve==="__proto__"||ve==="constructor"||ve==="prototype")return o;if(B!=se){var Ge=de[ve];Ve=E?E(Ge,ve,de):t,Ve===t&&(Ve=Ln(Ge)?Ge:Ga(a[B+1])?[]:{})}ui(de,ve,Ve),de=de[ve]}return o}var Ec=La?function(o,a){return La.set(o,a),o}:go,_u=Wo?function(o,a){return Wo(o,"toString",{configurable:!0,enumerable:!1,value:qh(a),writable:!0})}:go;function kc(o){return ud(Eu(o))}function Li(o,a,p){var E=-1,B=o.length;a<0&&(a=-a>B?0:B+a),p=p>B?B:p,p<0&&(p+=B),B=a>p?0:p-a>>>0,a>>>=0;for(var Z=Ie(B);++E<B;)Z[E]=o[E+a];return Z}function mf(o,a){var p;return Jo(o,function(E,B,Z){return p=a(E,B,Z),!p}),!!p}function Pl(o,a,p){var E=0,B=o==null?E:o.length;if(typeof a=="number"&&a===a&&B<=Pe){for(;E<B;){var Z=E+B>>>1,se=o[Z];se!==null&&!No(se)&&(p?se<=a:se<a)?E=Z+1:B=Z}return B}return Nl(o,a,go,p)}function Nl(o,a,p,E){var B=0,Z=o==null?0:o.length;if(Z===0)return 0;a=p(a);for(var se=a!==a,de=a===null,ve=No(a),Ve=a===t;B<Z;){var Ge=vs((B+Z)/2),nt=p(o[Ge]),kt=nt!==t,Wt=nt===null,ir=nt===nt,Tr=No(nt);if(se)var or=E||ir;else Ve?or=ir&&(E||kt):de?or=ir&&kt&&(E||!Wt):ve?or=ir&&kt&&!Wt&&(E||!Tr):Wt||Tr?or=!1:or=E?nt<=a:nt<a;or?B=Ge+1:Z=Ge}return In(Z,Le)}function xu(o,a){for(var p=-1,E=o.length,B=0,Z=[];++p<E;){var se=o[p],de=a?a(se):se;if(!p||!Rs(de,ve)){var ve=de;Z[B++]=se===0?0:se}}return Z}function jl(o){return typeof o=="number"?o:No(o)?ge:+o}function Mi(o){if(typeof o=="string")return o;if(yr(o))return Yr(o,Mi)+"";if(No(o))return Ma?Ma.call(o):"";var a=o+"";return a=="0"&&1/o==-1/0?"-0":a}function An(o,a,p){var E=-1,B=xo,Z=o.length,se=!0,de=[],ve=de;if(p)se=!1,B=qn;else if(Z>=i){var Ve=a?null:bf(o);if(Ve)return Ta(Ve);se=!1,B=tr,ve=new ci}else ve=a?[]:de;e:for(;++E<Z;){var Ge=o[E],nt=a?a(Ge):Ge;if(Ge=p||Ge!==0?Ge:0,se&&nt===nt){for(var kt=ve.length;kt--;)if(ve[kt]===nt)continue e;a&&ve.push(nt),de.push(Ge)}else B(ve,nt,p)||(ve!==de&&ve.push(nt),de.push(Ge))}return de}function Rc(o,a){return a=Po(a,o),o=Xm(o,a),o==null||delete o[pa(os(a))]}function za(o,a,p,E){return ks(o,a,p(Qo(o,a)),E)}function Fl(o,a,p,E){for(var B=o.length,Z=E?B:-1;(E?Z--:++Z<B)&&a(o[Z],Z,o););return p?Li(o,E?0:Z,E?Z+1:B):Li(o,E?Z+1:0,E?B:Z)}function ri(o,a){var p=o;return p instanceof mr&&(p=p.value()),wa(a,function(E,B){return B.func.apply(B.thisArg,Ci([E],B.args))},p)}function Ic(o,a,p){var E=o.length;if(E<2)return E?An(o[0]):[];for(var B=-1,Z=Ie(E);++B<E;)for(var se=o[B],de=-1;++de<E;)de!=B&&(Z[B]=Cs(Z[B]||se,o[de],a,p));return An(Hn(Z,1),a,p)}function Lc(o,a,p){for(var E=-1,B=o.length,Z=a.length,se={};++E<B;){var de=E<Z?a[E]:t;p(se,o[E],de)}return se}function Bl(o){return $n(o)?o:[]}function ts(o){return typeof o=="function"?o:go}function Po(o,a){return yr(o)?o:Eh(o,a)?[o]:tv(tn(o))}var vf=pr;function co(o,a,p){var E=o.length;return p=p===t?E:p,!a&&p>=E?o:Li(o,a,p)}var rs=sf||function(o){return lr.clearTimeout(o)};function ha(o,a){if(a)return o.slice();var p=o.length,E=ka?ka(p):new o.constructor(p);return o.copy(E),E}function Mc(o){var a=new o.constructor(o.byteLength);return new Ea(a).set(new Ea(o)),a}function Dc(o,a){var p=a?Mc(o.buffer):o.buffer;return new o.constructor(p,o.byteOffset,o.byteLength)}function $a(o){var a=new o.constructor(o.source,Dt.exec(o));return a.lastIndex=o.lastIndex,a}function ql(o){return bs?$r(bs.call(o)):{}}function Oc(o,a){var p=a?Mc(o.buffer):o.buffer;return new o.constructor(p,o.byteOffset,o.length)}function Ua(o,a){if(o!==a){var p=o!==t,E=o===null,B=o===o,Z=No(o),se=a!==t,de=a===null,ve=a===a,Ve=No(a);if(!de&&!Ve&&!Z&&o>a||Z&&se&&ve&&!de&&!Ve||E&&se&&ve||!p&&ve||!B)return 1;if(!E&&!Z&&!Ve&&o<a||Ve&&p&&B&&!E&&!Z||de&&p&&B||!se&&B||!ve)return-1}return 0}function Su(o,a,p){for(var E=-1,B=o.criteria,Z=a.criteria,se=B.length,de=p.length;++E<se;){var ve=Ua(B[E],Z[E]);if(ve){if(E>=de)return ve;var Ve=p[E];return ve*(Ve=="desc"?-1:1)}}return o.index-a.index}function Cu(o,a,p,E){for(var B=-1,Z=o.length,se=p.length,de=-1,ve=a.length,Ve=ln(Z-se,0),Ge=Ie(ve+Ve),nt=!E;++de<ve;)Ge[de]=a[de];for(;++B<se;)(nt||B<Z)&&(Ge[p[B]]=o[B]);for(;Ve--;)Ge[de++]=o[B++];return Ge}function Pc(o,a,p,E){for(var B=-1,Z=o.length,se=-1,de=p.length,ve=-1,Ve=a.length,Ge=ln(Z-de,0),nt=Ie(Ge+Ve),kt=!E;++B<Ge;)nt[B]=o[B];for(var Wt=B;++ve<Ve;)nt[Wt+ve]=a[ve];for(;++se<de;)(kt||B<Z)&&(nt[Wt+p[se]]=o[B++]);return nt}function ni(o,a){var p=-1,E=o.length;for(a||(a=Ie(E));++p<E;)a[p]=o[p];return a}function Yi(o,a,p,E){var B=!p;p||(p={});for(var Z=-1,se=a.length;++Z<se;){var de=a[Z],ve=E?E(p[de],o[de],de,p,o):t;ve===t&&(ve=o[de]),B?Ri(p,de,ve):ui(p,de,ve)}return p}function yf(o,a){return Yi(o,Th(o),a)}function wu(o,a){return Yi(o,Wm(o),a)}function Hl(o,a){return function(p,E){var B=yr(p)?ds:xs,Z=a?a():{};return B(p,o,rr(E,2),Z)}}function f(o){return pr(function(a,p){var E=-1,B=p.length,Z=B>1?p[B-1]:t,se=B>2?p[2]:t;for(Z=o.length>3&&typeof Z=="function"?(B--,Z):t,se&&Ki(p[0],p[1],se)&&(Z=B<3?t:Z,B=1),a=$r(a);++E<B;){var de=p[E];de&&o(a,de,E,Z)}return a})}function s(o,a){return function(p,E){if(p==null)return p;if(!ho(p))return o(p,E);for(var B=p.length,Z=a?B:-1,se=$r(p);(a?Z--:++Z<B)&&E(se[Z],Z,se)!==!1;);return p}}function c(o){return function(a,p,E){for(var B=-1,Z=$r(a),se=E(a),de=se.length;de--;){var ve=se[o?de:++B];if(p(Z[ve],ve,Z)===!1)break}return a}}function d(o,a,p){var E=a&A,B=F(o);function Z(){var se=this&&this!==lr&&this instanceof Z?B:o;return se.apply(E?p:this,arguments)}return Z}function y(o){return function(a){a=tn(a);var p=Zs(a)?un(a):t,E=p?p[0]:a.charAt(0),B=p?co(p,1).join(""):a.slice(1);return E[o]()+B}}function L(o){return function(a){return wa(Dv(Mv(a).replace(eo,"")),o,"")}}function F(o){return function(){var a=arguments;switch(a.length){case 0:return new o;case 1:return new o(a[0]);case 2:return new o(a[0],a[1]);case 3:return new o(a[0],a[1],a[2]);case 4:return new o(a[0],a[1],a[2],a[3]);case 5:return new o(a[0],a[1],a[2],a[3],a[4]);case 6:return new o(a[0],a[1],a[2],a[3],a[4],a[5]);case 7:return new o(a[0],a[1],a[2],a[3],a[4],a[5],a[6])}var p=Io(o.prototype),E=o.apply(p,a);return Ln(E)?E:p}}function U(o,a,p){var E=F(o);function B(){for(var Z=arguments.length,se=Ie(Z),de=Z,ve=Au(B);de--;)se[de]=arguments[de];var Ve=Z<3&&se[0]!==ve&&se[Z-1]!==ve?[]:Co(se,ve);if(Z-=Ve.length,Z<p)return fo(o,a,Ue,B.placeholder,t,se,Ve,t,t,p-Z);var Ge=this&&this!==lr&&this instanceof B?E:o;return sn(Ge,this,se)}return B}function oe(o){return function(a,p,E){var B=$r(a);if(!ho(a)){var Z=rr(p,3);a=mi(a),p=function(de){return Z(B[de],de,B)}}var se=o(a,p,E);return se>-1?B[Z?a[se]:se]:t}}function _e(o){return Va(function(a){var p=a.length,E=p,B=ti.prototype.thru;for(o&&a.reverse();E--;){var Z=a[E];if(typeof Z!="function")throw new Ni(u);if(B&&!se&&ld(Z)=="wrapper")var se=new ti([],!0)}for(E=se?E:p;++E<p;){Z=a[E];var de=ld(Z),ve=de=="wrapper"?wh(Z):t;ve&&kh(ve[0])&&ve[1]==(Y|O|q|ue)&&!ve[4].length&&ve[9]==1?se=se[ld(ve[0])].apply(se,ve[3]):se=Z.length==1&&kh(Z)?se[de]():se.thru(Z)}return function(){var Ve=arguments,Ge=Ve[0];if(se&&Ve.length==1&&yr(Ge))return se.plant(Ge).value();for(var nt=0,kt=p?a[nt].apply(this,Ve):Ge;++nt<p;)kt=a[nt].call(this,kt);return kt}})}function Ue(o,a,p,E,B,Z,se,de,ve,Ve){var Ge=a&Y,nt=a&A,kt=a&b,Wt=a&(O|H),ir=a&ee,Tr=kt?t:F(o);function or(){for(var Nr=arguments.length,qr=Ie(Nr),jo=Nr;jo--;)qr[jo]=arguments[jo];if(Wt)var Xi=Au(or),Fo=wi(qr,Xi);if(E&&(qr=Cu(qr,E,B,Wt)),Z&&(qr=Pc(qr,Z,se,Wt)),Nr-=Fo,Wt&&Nr<Ve){var Un=Co(qr,Xi);return fo(o,a,Ue,or.placeholder,p,qr,Un,de,ve,Ve-Nr)}var Is=nt?p:this,Ka=kt?Is[o]:o;return Nr=qr.length,de?qr=BS(qr,de):ir&&Nr>1&&qr.reverse(),Ge&&ve<Nr&&(qr.length=ve),this&&this!==lr&&this instanceof or&&(Ka=Tr||F(Ka)),Ka.apply(Is,qr)}return or}function rt(o,a){return function(p,E){return Rl(p,o,a(E),{})}}function yt(o,a){return function(p,E){var B;if(p===t&&E===t)return a;if(p!==t&&(B=p),E!==t){if(B===t)return E;typeof p=="string"||typeof E=="string"?(p=Mi(p),E=Mi(E)):(p=jl(p),E=jl(E)),B=o(p,E)}return B}}function Jt(o){return Va(function(a){return a=Yr(a,Bt(rr())),pr(function(p){var E=this;return o(a,function(B){return sn(B,E,p)})})})}function Lr(o,a){a=a===t?" ":Mi(a);var p=a.length;if(p<2)return p?Ol(a,o):a;var E=Ol(a,Qs(o/Ys(a)));return Zs(a)?co(un(E),0,o).join(""):E.slice(0,o)}function zn(o,a,p,E){var B=a&A,Z=F(o);function se(){for(var de=-1,ve=arguments.length,Ve=-1,Ge=E.length,nt=Ie(Ge+ve),kt=this&&this!==lr&&this instanceof se?Z:o;++Ve<Ge;)nt[Ve]=E[Ve];for(;ve--;)nt[Ve++]=arguments[++de];return sn(kt,B?p:this,nt)}return se}function ns(o){return function(a,p,E){return E&&typeof E!="number"&&Ki(a,p,E)&&(p=E=t),a=Ya(a),p===t?(p=a,a=0):p=Ya(p),E=E===t?a<p?1:-1:Ya(E),Ac(a,p,E,o)}}function uo(o){return function(a,p){return typeof a=="string"&&typeof p=="string"||(a=ss(a),p=ss(p)),o(a,p)}}function fo(o,a,p,E,B,Z,se,de,ve,Ve){var Ge=a&O,nt=Ge?se:t,kt=Ge?t:se,Wt=Ge?Z:t,ir=Ge?t:Z;a|=Ge?q:G,a&=~(Ge?G:q),a&k||(a&=-4);var Tr=[o,a,B,Wt,nt,ir,kt,de,ve,Ve],or=p.apply(t,Tr);return kh(o)&&Jm(or,Tr),or.placeholder=E,Qm(or,o,a)}function is(o){var a=bn[o];return function(p,E){if(p=ss(p),E=E==null?0:In(wr(E),292),E&&ta(p)){var B=(tn(p)+"e").split("e"),Z=a(B[0]+"e"+(+B[1]+E));return B=(tn(Z)+"e").split("e"),+(B[0]+"e"+(+B[1]-E))}return a(p)}}var bf=no&&1/Ta(new no([,-0]))[1]==me?function(o){return new no(o)}:$h;function ad(o){return function(a){var p=ji(a);return p==Re?nc(a):p==Ct?tf(a):ze(a,o(a))}}function Wa(o,a,p,E,B,Z,se,de){var ve=a&b;if(!ve&&typeof o!="function")throw new Ni(u);var Ve=E?E.length:0;if(Ve||(a&=-97,E=B=t),se=se===t?se:ln(wr(se),0),de=de===t?de:wr(de),Ve-=B?B.length:0,a&G){var Ge=E,nt=B;E=B=t}var kt=ve?t:wh(o),Wt=[o,a,p,E,B,Ge,nt,Z,se,de];if(kt&&NS(Wt,kt),o=Wt[0],a=Wt[1],p=Wt[2],E=Wt[3],B=Wt[4],de=Wt[9]=Wt[9]===t?ve?0:o.length:ln(Wt[9]-Ve,0),!de&&a&(O|H)&&(a&=-25),!a||a==A)var ir=d(o,a,p);else a==O||a==H?ir=U(o,a,de):(a==q||a==(A|q))&&!B.length?ir=zn(o,a,p,E):ir=Ue.apply(t,Wt);var Tr=kt?Ec:Jm;return Qm(Tr(ir,Wt),o,a)}function zm(o,a,p,E){return o===t||Rs(o,$o[p])&&!Hr.call(E,p)?a:o}function $m(o,a,p,E,B,Z){return Ln(o)&&Ln(a)&&(Z.set(a,o),es(o,a,t,$m,Z),Z.delete(a)),o}function SS(o){return Sf(o)?t:o}function Um(o,a,p,E,B,Z){var se=p&S,de=o.length,ve=a.length;if(de!=ve&&!(se&&ve>de))return!1;var Ve=Z.get(o),Ge=Z.get(a);if(Ve&&Ge)return Ve==a&&Ge==o;var nt=-1,kt=!0,Wt=p&D?new ci:t;for(Z.set(o,a),Z.set(a,o);++nt<de;){var ir=o[nt],Tr=a[nt];if(E)var or=se?E(Tr,ir,nt,a,o,Z):E(ir,Tr,nt,o,a,Z);if(or!==t){if(or)continue;kt=!1;break}if(Wt){if(!zo(a,function(Nr,qr){if(!tr(Wt,qr)&&(ir===Nr||B(ir,Nr,p,E,Z)))return Wt.push(qr)})){kt=!1;break}}else if(!(ir===Tr||B(ir,Tr,p,E,Z))){kt=!1;break}}return Z.delete(o),Z.delete(a),kt}function CS(o,a,p,E,B,Z,se){switch(p){case gt:if(o.byteLength!=a.byteLength||o.byteOffset!=a.byteOffset)return!1;o=o.buffer,a=a.buffer;case at:return!(o.byteLength!=a.byteLength||!Z(new Ea(o),new Ea(a)));case Ke:case Ye:case Je:return Rs(+o,+a);case ke:return o.name==a.name&&o.message==a.message;case It:case ct:return o==a+"";case Re:var de=nc;case Ct:var ve=E&S;if(de||(de=Ta),o.size!=a.size&&!ve)return!1;var Ve=se.get(o);if(Ve)return Ve==a;E|=D,se.set(o,a);var Ge=Um(de(o),de(a),E,B,Z,se);return se.delete(o),Ge;case ut:if(bs)return bs.call(o)==bs.call(a)}return!1}function wS(o,a,p,E,B,Z){var se=p&S,de=Sh(o),ve=de.length,Ve=Sh(a),Ge=Ve.length;if(ve!=Ge&&!se)return!1;for(var nt=ve;nt--;){var kt=de[nt];if(!(se?kt in a:Hr.call(a,kt)))return!1}var Wt=Z.get(o),ir=Z.get(a);if(Wt&&ir)return Wt==a&&ir==o;var Tr=!0;Z.set(o,a),Z.set(a,o);for(var or=se;++nt<ve;){kt=de[nt];var Nr=o[kt],qr=a[kt];if(E)var jo=se?E(qr,Nr,kt,a,o,Z):E(Nr,qr,kt,o,a,Z);if(!(jo===t?Nr===qr||B(Nr,qr,p,E,Z):jo)){Tr=!1;break}or||(or=kt=="constructor")}if(Tr&&!or){var Xi=o.constructor,Fo=a.constructor;Xi!=Fo&&"constructor"in o&&"constructor"in a&&!(typeof Xi=="function"&&Xi instanceof Xi&&typeof Fo=="function"&&Fo instanceof Fo)&&(Tr=!1)}return Z.delete(o),Z.delete(a),Tr}function Va(o){return Ih(Km(o,t,ov),o+"")}function Sh(o){return Na(o,mi,Th)}function Ch(o){return Na(o,po,Wm)}var wh=La?function(o){return La.get(o)}:$h;function ld(o){for(var a=o.name+"",p=ys[a],E=Hr.call(ys,a)?p.length:0;E--;){var B=p[E],Z=B.func;if(Z==null||Z==o)return B.name}return a}function Au(o){var a=Hr.call($,"placeholder")?$:o;return a.placeholder}function rr(){var o=$.iteratee||Hh;return o=o===Hh?Ml:o,arguments.length?o(arguments[0],arguments[1]):o}function cd(o,a){var p=o.__data__;return MS(a)?p[typeof a=="string"?"string":"hash"]:p.map}function Ah(o){for(var a=mi(o),p=a.length;p--;){var E=a[p],B=o[E];a[p]=[E,B,Zm(B)]}return a}function Nc(o,a){var p=gs(o,a);return yu(p)?p:t}function AS(o){var a=Hr.call(o,ko),p=o[ko];try{o[ko]=t;var E=!0}catch{}var B=Ao.call(o);return E&&(a?o[ko]=p:delete o[ko]),B}var Th=ea?function(o){return o==null?[]:(o=$r(o),$i(ea(o),function(a){return vl.call(o,a)}))}:Uh,Wm=ea?function(o){for(var a=[];o;)Ci(a,Th(o)),o=ms(o);return a}:Uh,ji=On;(ro&&ji(new ro(new ArrayBuffer(1)))!=gt||Zo&&ji(new Zo)!=Re||ra&&ji(ra.resolve())!=St||no&&ji(new no)!=Ct||Ro&&ji(new Ro)!=Se)&&(ji=function(o){var a=On(o),p=a==xt?o.constructor:t,E=p?jc(p):"";if(E)switch(E){case Yo:return gt;case cc:return Re;case af:return St;case cu:return Ct;case ia:return Se}return a});function TS(o,a,p){for(var E=-1,B=p.length;++E<B;){var Z=p[E],se=Z.size;switch(Z.type){case"drop":o+=se;break;case"dropRight":a-=se;break;case"take":a=In(a,o+se);break;case"takeRight":o=ln(o,a-se);break}}return{start:o,end:a}}function ES(o){var a=o.match(Q);return a?a[1].split(He):[]}function Vm(o,a,p){a=Po(a,o);for(var E=-1,B=a.length,Z=!1;++E<B;){var se=pa(a[E]);if(!(Z=o!=null&&p(o,se)))break;o=o[se]}return Z||++E!=B?Z:(B=o==null?0:o.length,!!B&&md(B)&&Ga(se,B)&&(yr(o)||Fc(o)))}function kS(o){var a=o.length,p=new o.constructor(a);return a&&typeof o[0]=="string"&&Hr.call(o,"index")&&(p.index=o.index,p.input=o.input),p}function Gm(o){return typeof o.constructor=="function"&&!_f(o)?Io(ms(o)):{}}function RS(o,a,p){var E=o.constructor;switch(a){case at:return Mc(o);case Ke:case Ye:return new E(+o);case gt:return Dc(o,p);case Tt:case je:case _t:case Mt:case vr:case nr:case Zt:case he:case te:return Oc(o,p);case Re:return new E;case Je:case ct:return new E(o);case It:return $a(o);case Ct:return new E;case ut:return ql(o)}}function IS(o,a){var p=a.length;if(!p)return o;var E=p-1;return a[E]=(p>1?"& ":"")+a[E],a=a.join(p>2?", ":" "),o.replace(Nt,`{
|
33
|
+
*/var o4=Lf.exports,qv;function s4(){return qv||(qv=1,function(r,e){(function(){var t,n="4.17.21",i=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",h="Invalid `variable` option passed into `_.template`",g="__lodash_hash_undefined__",m=500,M="__lodash_placeholder__",T=1,C=2,_=4,S=1,D=2,A=1,b=2,k=4,O=8,H=16,q=32,G=64,Y=128,ue=256,ee=512,fe=30,N="...",re=800,K=16,ne=1,ie=2,ce=3,me=1/0,le=9007199254740991,be=17976931348623157e292,ge=NaN,xe=4294967295,Ie=xe-1,Pe=xe>>>1,Ve=[["ary",Y],["bind",A],["bindKey",b],["curry",O],["curryRight",H],["flip",ee],["partial",q],["partialRight",G],["rearg",ue]],Ee="[object Arguments]",ot="[object Array]",ht="[object AsyncFunction]",Ke="[object Boolean]",Ye="[object Date]",Oe="[object DOMException]",Ne="[object Error]",Ae="[object Function]",Le="[object GeneratorFunction]",ke="[object Map]",Je="[object Number]",ft="[object Null]",xt="[object Object]",St="[object Promise]",mt="[object Proxy]",It="[object RegExp]",Ct="[object Set]",ct="[object String]",ut="[object Symbol]",et="[object Undefined]",Se="[object WeakMap]",Ze="[object WeakSet]",at="[object ArrayBuffer]",gt="[object DataView]",Tt="[object Float32Array]",je="[object Float64Array]",_t="[object Int8Array]",Mt="[object Int16Array]",vr="[object Int32Array]",nr="[object Uint8Array]",Zt="[object Uint8ClampedArray]",he="[object Uint16Array]",te="[object Uint32Array]",Fe=/\b__p \+= '';/g,Xe=/\b(__p \+=) '' \+/g,Lt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,vt=/&(?:amp|lt|gt|quot|#39);/g,wt=/[&<>"']/g,Gt=RegExp(vt.source),Ft=RegExp(wt.source),sr=/<%-([\s\S]+?)%>/g,dr=/<%([\s\S]+?)%>/g,Rr=/<%=([\s\S]+?)%>/g,ur=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xr=/^\w*$/,Wr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,st=/[\\^$.*+?()[\]{}|]/g,Rt=RegExp(st.source),bt=/^\s+/,Qe=/\s/,Nt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Q=/\{\n\/\* \[wrapped with (.+)\] \*/,He=/,? & /,pt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ot=/[()=,{}\[\]\/\s]/,er=/\\(\\)?/g,Yt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Dt=/\w*$/,Kt=/^[-+]0x[0-9a-f]+$/i,Mr=/^0b[01]+$/i,ar=/^\[object .+?Constructor\]$/,fr=/^0o[0-7]+$/i,zr=/^(?:0|[1-9]\d*)$/,gr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Vn=/($^)/,Sn=/['\n\r\u2028\u2029\\]/g,Mn="\\ud800-\\udfff",Kr="\\u0300-\\u036f",Gn="\\ufe20-\\ufe2f",Tn="\\u20d0-\\u20ff",Zn=Kr+Gn+Tn,Yn="\\u2700-\\u27bf",nn="a-z\\xdf-\\xf6\\xf8-\\xff",Dn="\\xac\\xb1\\xd7\\xf7",Cn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",di="\\u2000-\\u206f",_i=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",xi="A-Z\\xc0-\\xd6\\xd8-\\xde",En="\\ufe0e\\ufe0f",wn=Dn+Cn+di+_i,cn="['’]",Kn="["+Mn+"]",on="["+wn+"]",dn="["+Zn+"]",x="\\d+",j="["+Yn+"]",W="["+nn+"]",X="[^"+Mn+wn+x+Yn+nn+xi+"]",we="\\ud83c[\\udffb-\\udfff]",ye="(?:"+dn+"|"+we+")",Me="[^"+Mn+"]",tt="(?:\\ud83c[\\udde6-\\uddff]){2}",At="[\\ud800-\\udbff][\\udc00-\\udfff]",jt="["+xi+"]",Pt="\\u200d",br="(?:"+W+"|"+X+")",Zr="(?:"+jt+"|"+X+")",vn="(?:"+cn+"(?:d|ll|m|re|s|t|ve))?",yn="(?:"+cn+"(?:D|LL|M|RE|S|T|VE))?",ai=ye+"?",Nn="["+En+"]?",Si="(?:"+Pt+"(?:"+[Me,tt,At].join("|")+")"+Nn+ai+")*",Xr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",hi="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",jn=Nn+ai+Si,Xn="(?:"+[j,tt,At].join("|")+")"+jn,yo="(?:"+[Me+dn+"?",dn,tt,At,Kn].join("|")+")",eo=RegExp(cn,"g"),to=RegExp(dn,"g"),kn=RegExp(we+"(?="+we+")|"+yo+jn,"g"),bo=RegExp([jt+"?"+W+"+"+vn+"(?="+[on,jt,"$"].join("|")+")",Zr+"+"+yn+"(?="+[on,jt+br,"$"].join("|")+")",jt+"?"+br+"+"+vn,jt+"+"+yn,hi,Xr,x,Xn].join("|"),"g"),Jn=RegExp("["+Pt+Mn+Zn+En+"]"),Qn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Hi=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Dr=-1,Sr={};Sr[Tt]=Sr[je]=Sr[_t]=Sr[Mt]=Sr[vr]=Sr[nr]=Sr[Zt]=Sr[he]=Sr[te]=!0,Sr[Ee]=Sr[ot]=Sr[at]=Sr[Ke]=Sr[gt]=Sr[Ye]=Sr[Ne]=Sr[Ae]=Sr[ke]=Sr[Je]=Sr[xt]=Sr[It]=Sr[Ct]=Sr[ct]=Sr[Se]=!1;var Ir={};Ir[Ee]=Ir[ot]=Ir[at]=Ir[gt]=Ir[Ke]=Ir[Ye]=Ir[Tt]=Ir[je]=Ir[_t]=Ir[Mt]=Ir[vr]=Ir[ke]=Ir[Je]=Ir[xt]=Ir[It]=Ir[Ct]=Ir[ct]=Ir[ut]=Ir[nr]=Ir[Zt]=Ir[he]=Ir[te]=!0,Ir[Ne]=Ir[Ae]=Ir[Se]=!1;var R={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},V={"&":"&","<":"<",">":">",'"':""","'":"'"},ae={"&":"&","<":"<",">":">",""":'"',"'":"'"},De={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ut=parseFloat,qt=parseInt,hr=typeof yi=="object"&&yi&&yi.Object===Object&&yi,_r=typeof self=="object"&&self&&self.Object===Object&&self,lr=hr||_r||Function("return this")(),Cr=e&&!e.nodeType&&e,Jr=Cr&&!0&&r&&!r.nodeType&&r,Rn=Jr&&Jr.exports===Cr,Vr=Rn&&hr.process,jr=function(){try{var pe=Jr&&Jr.require&&Jr.require("util").types;return pe||Vr&&Vr.binding&&Vr.binding("util")}catch{}}(),Qr=jr&&jr.isArrayBuffer,li=jr&&jr.isDate,pi=jr&&jr.isMap,Fn=jr&&jr.isRegExp,_o=jr&&jr.isSet,zi=jr&&jr.isTypedArray;function sn(pe,Be,Re){switch(Re.length){case 0:return pe.call(Be);case 1:return pe.call(Be,Re[0]);case 2:return pe.call(Be,Re[0],Re[1]);case 3:return pe.call(Be,Re[0],Re[1],Re[2])}return pe.apply(Be,Re)}function ds(pe,Be,Re,Et){for(var Qt=-1,Or=pe==null?0:pe.length;++Qt<Or;){var bn=pe[Qt];Be(Et,bn,Re(bn),pe)}return Et}function Bn(pe,Be){for(var Re=-1,Et=pe==null?0:pe.length;++Re<Et&&Be(pe[Re],Re,pe)!==!1;);return pe}function ll(pe,Be){for(var Re=pe==null?0:pe.length;Re--&&Be(pe[Re],Re,pe)!==!1;);return pe}function Ca(pe,Be){for(var Re=-1,Et=pe==null?0:pe.length;++Re<Et;)if(!Be(pe[Re],Re,pe))return!1;return!0}function $i(pe,Be){for(var Re=-1,Et=pe==null?0:pe.length,Qt=0,Or=[];++Re<Et;){var bn=pe[Re];Be(bn,Re,pe)&&(Or[Qt++]=bn)}return Or}function xo(pe,Be){var Re=pe==null?0:pe.length;return!!Re&&So(pe,Be,0)>-1}function qn(pe,Be,Re){for(var Et=-1,Qt=pe==null?0:pe.length;++Et<Qt;)if(Re(Be,pe[Et]))return!0;return!1}function Yr(pe,Be){for(var Re=-1,Et=pe==null?0:pe.length,Qt=Array(Et);++Re<Et;)Qt[Re]=Be(pe[Re],Re,pe);return Qt}function Ci(pe,Be){for(var Re=-1,Et=Be.length,Qt=pe.length;++Re<Et;)pe[Qt+Re]=Be[Re];return pe}function wa(pe,Be,Re,Et){var Qt=-1,Or=pe==null?0:pe.length;for(Et&&Or&&(Re=pe[++Qt]);++Qt<Or;)Re=Be(Re,pe[Qt],Qt,pe);return Re}function cl(pe,Be,Re,Et){var Qt=pe==null?0:pe.length;for(Et&&Qt&&(Re=pe[--Qt]);Qt--;)Re=Be(Re,pe[Qt],Qt,pe);return Re}function zo(pe,Be){for(var Re=-1,Et=pe==null?0:pe.length;++Re<Et;)if(Be(pe[Re],Re,pe))return!0;return!1}var ul=w("length");function fl(pe){return pe.split("")}function Ws(pe){return pe.match(pt)||[]}function hs(pe,Be,Re){var Et;return Re(pe,function(Qt,Or,bn){if(Be(Qt,Or,bn))return Et=Or,!1}),Et}function ps(pe,Be,Re,Et){for(var Qt=pe.length,Or=Re+(Et?1:-1);Et?Or--:++Or<Qt;)if(Be(pe[Or],Or,pe))return Or;return-1}function So(pe,Be,Re){return Be===Be?rf(pe,Be,Re):ps(pe,Vs,Re)}function dl(pe,Be,Re,Et){for(var Qt=Re-1,Or=pe.length;++Qt<Or;)if(Et(pe[Qt],Be))return Qt;return-1}function Vs(pe){return pe!==pe}function Aa(pe,Be){var Re=pe==null?0:pe.length;return Re?Te(pe,Be)/Re:ge}function w(pe){return function(Be){return Be==null?t:Be[pe]}}function P(pe){return function(Be){return pe==null?t:pe[Be]}}function z(pe,Be,Re,Et,Qt){return Qt(pe,function(Or,bn,$r){Re=Et?(Et=!1,Or):Be(Re,Or,bn,$r)}),Re}function J(pe,Be){var Re=pe.length;for(pe.sort(Be);Re--;)pe[Re]=pe[Re].value;return pe}function Te(pe,Be){for(var Re,Et=-1,Qt=pe.length;++Et<Qt;){var Or=Be(pe[Et]);Or!==t&&(Re=Re===t?Or:Re+Or)}return Re}function Ce(pe,Be){for(var Re=-1,Et=Array(pe);++Re<pe;)Et[Re]=Be(Re);return Et}function ze(pe,Be){return Yr(Be,function(Re){return[Re,pe[Re]]})}function dt(pe){return pe&&pe.slice(0,nu(pe)+1).replace(bt,"")}function Bt(pe){return function(Be){return pe(Be)}}function cr(pe,Be){return Yr(Be,function(Re){return pe[Re]})}function tr(pe,Be){return pe.has(Be)}function Gr(pe,Be){for(var Re=-1,Et=pe.length;++Re<Et&&So(Be,pe[Re],0)>-1;);return Re}function ei(pe,Be){for(var Re=pe.length;Re--&&So(Be,pe[Re],0)>-1;);return Re}function wi(pe,Be){for(var Re=pe.length,Et=0;Re--;)pe[Re]===Be&&++Et;return Et}var Ai=P(R),Gs=P(V);function hl(pe){return"\\"+De[pe]}function gs(pe,Be){return pe==null?t:pe[Be]}function Zs(pe){return Jn.test(pe)}function ef(pe){return Qn.test(pe)}function rc(pe){for(var Be,Re=[];!(Be=pe.next()).done;)Re.push(Be.value);return Re}function nc(pe){var Be=-1,Re=Array(pe.size);return pe.forEach(function(Et,Qt){Re[++Be]=[Qt,Et]}),Re}function ru(pe,Be){return function(Re){return pe(Be(Re))}}function Co(pe,Be){for(var Re=-1,Et=pe.length,Qt=0,Or=[];++Re<Et;){var bn=pe[Re];(bn===Be||bn===M)&&(pe[Re]=M,Or[Qt++]=Re)}return Or}function Ta(pe){var Be=-1,Re=Array(pe.size);return pe.forEach(function(Et){Re[++Be]=Et}),Re}function tf(pe){var Be=-1,Re=Array(pe.size);return pe.forEach(function(Et){Re[++Be]=[Et,Et]}),Re}function rf(pe,Be,Re){for(var Et=Re-1,Qt=pe.length;++Et<Qt;)if(pe[Et]===Be)return Et;return-1}function nf(pe,Be,Re){for(var Et=Re+1;Et--;)if(pe[Et]===Be)return Et;return Et}function Ys(pe){return Zs(pe)?pl(pe):ul(pe)}function un(pe){return Zs(pe)?Ti(pe):fl(pe)}function nu(pe){for(var Be=pe.length;Be--&&Qe.test(pe.charAt(Be)););return Be}var iu=P(ae);function pl(pe){for(var Be=kn.lastIndex=0;kn.test(pe);)++Be;return Be}function Ti(pe){return pe.match(kn)||[]}function ou(pe){return pe.match(bo)||[]}var gl=function pe(Be){Be=Be==null?lr:wo.defaults(lr.Object(),Be,wo.pick(lr,Hi));var Re=Be.Array,Et=Be.Date,Qt=Be.Error,Or=Be.Function,bn=Be.Math,$r=Be.Object,Ks=Be.RegExp,su=Be.String,Ni=Be.TypeError,ml=Re.prototype,of=Or.prototype,$o=$r.prototype,en=Be["__core-js_shared__"],Uo=of.toString,Hr=$o.hasOwnProperty,ic=0,an=function(){var o=/[^.]+$/.exec(en&&en.keys&&en.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),Ao=$o.toString,oc=Uo.call($r),sc=lr._,ac=Ks("^"+Uo.call(Hr).replace(st,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Xs=Rn?Be.Buffer:t,To=Be.Symbol,Ea=Be.Uint8Array,ka=Xs?Xs.allocUnsafe:t,ms=ru($r.getPrototypeOf,$r),Js=$r.create,vl=$o.propertyIsEnumerable,Eo=ml.splice,yl=To?To.isConcatSpreadable:t,Ui=To?To.iterator:t,ko=To?To.toStringTag:t,Wo=function(){try{var o=Nc($r,"defineProperty");return o({},"",{}),o}catch{}}(),sf=Be.clearTimeout!==lr.clearTimeout&&Be.clearTimeout,Ra=Et&&Et.now!==lr.Date.now&&Et.now,au=Be.setTimeout!==lr.setTimeout&&Be.setTimeout,Qs=bn.ceil,vs=bn.floor,ea=$r.getOwnPropertySymbols,bl=Xs?Xs.isBuffer:t,ta=Be.isFinite,Ia=ml.join,lu=ru($r.keys,$r),ln=bn.max,In=bn.min,Vo=Et.now,lc=Be.parseInt,Go=bn.random,_l=ml.reverse,ro=Nc(Be,"DataView"),Zo=Nc(Be,"Map"),ra=Nc(Be,"Promise"),no=Nc(Be,"Set"),Ro=Nc(Be,"WeakMap"),na=Nc($r,"create"),La=Ro&&new Ro,ys={},Yo=jc(ro),cc=jc(Zo),af=jc(ra),cu=jc(no),ia=jc(Ro),Ko=To?To.prototype:t,bs=Ko?Ko.valueOf:t,Ma=Ko?Ko.toString:t;function $(o){if(Pn(o)&&!yr(o)&&!(o instanceof mr)){if(o instanceof ti)return o;if(Hr.call(o,"__wrapped__"))return rv(o)}return new ti(o)}var Io=function(){function o(){}return function(a){if(!Ln(a))return{};if(Js)return Js(a);o.prototype=a;var p=new o;return o.prototype=t,p}}();function Lo(){}function ti(o,a){this.__wrapped__=o,this.__actions__=[],this.__chain__=!!a,this.__index__=0,this.__values__=t}$.templateSettings={escape:sr,evaluate:dr,interpolate:Rr,variable:"",imports:{_:$}},$.prototype=Lo.prototype,$.prototype.constructor=$,ti.prototype=Io(Lo.prototype),ti.prototype.constructor=ti;function mr(o){this.__wrapped__=o,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=xe,this.__views__=[]}function xl(){var o=new mr(this.__wrapped__);return o.__actions__=ni(this.__actions__),o.__dir__=this.__dir__,o.__filtered__=this.__filtered__,o.__iteratees__=ni(this.__iteratees__),o.__takeCount__=this.__takeCount__,o.__views__=ni(this.__views__),o}function Da(){if(this.__filtered__){var o=new mr(this);o.__dir__=-1,o.__filtered__=!0}else o=this.clone(),o.__dir__*=-1;return o}function Sl(){var o=this.__wrapped__.value(),a=this.__dir__,p=yr(o),E=a<0,B=p?o.length:0,Z=TS(0,B,this.__views__),se=Z.start,de=Z.end,ve=de-se,We=E?de:se-1,Ge=this.__iteratees__,nt=Ge.length,kt=0,Wt=In(ve,this.__takeCount__);if(!p||!E&&B==ve&&Wt==ve)return ri(o,this.__actions__);var ir=[];e:for(;ve--&&kt<Wt;){We+=a;for(var Tr=-1,or=o[We];++Tr<nt;){var Nr=Ge[Tr],qr=Nr.iteratee,jo=Nr.type,Xi=qr(or);if(jo==ie)or=Xi;else if(!Xi){if(jo==ne)continue e;break e}}ir[kt++]=or}return ir}mr.prototype=Io(Lo.prototype),mr.prototype.constructor=mr;function io(o){var a=-1,p=o==null?0:o.length;for(this.clear();++a<p;){var E=o[a];this.set(E[0],E[1])}}function uc(){this.__data__=na?na(null):{},this.size=0}function uu(o){var a=this.has(o)&&delete this.__data__[o];return this.size-=a?1:0,a}function fu(o){var a=this.__data__;if(na){var p=a[o];return p===g?t:p}return Hr.call(a,o)?a[o]:t}function du(o){var a=this.__data__;return na?a[o]!==t:Hr.call(a,o)}function lf(o,a){var p=this.__data__;return this.size+=this.has(o)?0:1,p[o]=na&&a===t?g:a,this}io.prototype.clear=uc,io.prototype.delete=uu,io.prototype.get=fu,io.prototype.has=du,io.prototype.set=lf;function oo(o){var a=-1,p=o==null?0:o.length;for(this.clear();++a<p;){var E=o[a];this.set(E[0],E[1])}}function cf(){this.__data__=[],this.size=0}function uf(o){var a=this.__data__,p=Wi(a,o);if(p<0)return!1;var E=a.length-1;return p==E?a.pop():Eo.call(a,p,1),--this.size,!0}function fc(o){var a=this.__data__,p=Wi(a,o);return p<0?t:a[p][1]}function Oa(o){return Wi(this.__data__,o)>-1}function ff(o,a){var p=this.__data__,E=Wi(p,o);return E<0?(++this.size,p.push([o,a])):p[E][1]=a,this}oo.prototype.clear=cf,oo.prototype.delete=uf,oo.prototype.get=fc,oo.prototype.has=Oa,oo.prototype.set=ff;function Mo(o){var a=-1,p=o==null?0:o.length;for(this.clear();++a<p;){var E=o[a];this.set(E[0],E[1])}}function dc(){this.size=0,this.__data__={hash:new io,map:new(Zo||oo),string:new io}}function Cl(o){var a=cd(this,o).delete(o);return this.size-=a?1:0,a}function df(o){return cd(this,o).get(o)}function hf(o){return cd(this,o).has(o)}function pf(o,a){var p=cd(this,o),E=p.size;return p.set(o,a),this.size+=p.size==E?0:1,this}Mo.prototype.clear=dc,Mo.prototype.delete=Cl,Mo.prototype.get=df,Mo.prototype.has=hf,Mo.prototype.set=pf;function ci(o){var a=-1,p=o==null?0:o.length;for(this.__data__=new Mo;++a<p;)this.add(o[a])}function hc(o){return this.__data__.set(o,g),this}function wl(o){return this.__data__.has(o)}ci.prototype.add=ci.prototype.push=hc,ci.prototype.has=wl;function Ar(o){var a=this.__data__=new oo(o);this.size=a.size}function Ei(){this.__data__=new oo,this.size=0}function oa(o){var a=this.__data__,p=a.delete(o);return this.size=a.size,p}function _s(o){return this.__data__.get(o)}function Pr(o){return this.__data__.has(o)}function Xo(o,a){var p=this.__data__;if(p instanceof oo){var E=p.__data__;if(!Zo||E.length<i-1)return E.push([o,a]),this.size=++p.size,this;p=this.__data__=new Mo(E)}return p.set(o,a),this.size=p.size,this}Ar.prototype.clear=Ei,Ar.prototype.delete=oa,Ar.prototype.get=_s,Ar.prototype.has=Pr,Ar.prototype.set=Xo;function Pa(o,a){var p=yr(o),E=!p&&Fc(o),B=!p&&!E&&zl(o),Z=!p&&!E&&!B&&Tu(o),se=p||E||B||Z,de=se?Ce(o.length,su):[],ve=de.length;for(var We in o)(a||Hr.call(o,We))&&!(se&&(We=="length"||B&&(We=="offset"||We=="parent")||Z&&(We=="buffer"||We=="byteLength"||We=="byteOffset")||Ga(We,ve)))&&de.push(We);return de}function gi(o){var a=o.length;return a?o[Es(0,a-1)]:t}function ki(o,a){return ud(ni(o),Ss(a,0,o.length))}function so(o){return ud(ni(o))}function pc(o,a,p){(p!==t&&!Rs(o[a],p)||p===t&&!(a in o))&&Ri(o,a,p)}function ui(o,a,p){var E=o[a];(!(Hr.call(o,a)&&Rs(E,p))||p===t&&!(a in o))&&Ri(o,a,p)}function Wi(o,a){for(var p=o.length;p--;)if(Rs(o[p][0],a))return p;return-1}function xs(o,a,p,E){return Jo(o,function(B,Z,se){a(E,B,p(B),se)}),E}function hu(o,a){return o&&Yi(a,mi(a),o)}function gc(o,a){return o&&Yi(a,po(a),o)}function Ri(o,a,p){a=="__proto__"&&Wo?Wo(o,a,{configurable:!0,enumerable:!0,value:p,writable:!0}):o[a]=p}function mc(o,a){for(var p=-1,E=a.length,B=Re(E),Z=o==null;++p<E;)B[p]=Z?t:jh(o,a[p]);return B}function Ss(o,a,p){return o===o&&(p!==t&&(o=o<=p?o:p),a!==t&&(o=o>=a?o:a)),o}function fi(o,a,p,E,B,Z){var se,de=a&T,ve=a&C,We=a&_;if(p&&(se=B?p(o,E,B,Z):p(o)),se!==t)return se;if(!Ln(o))return o;var Ge=yr(o);if(Ge){if(se=kS(o),!de)return ni(o,se)}else{var nt=ji(o),kt=nt==Ae||nt==Le;if(zl(o))return ha(o,de);if(nt==xt||nt==Ee||kt&&!B){if(se=ve||kt?{}:Gm(o),!de)return ve?wu(o,gc(se,o)):yf(o,hu(se,o))}else{if(!Ir[nt])return B?o:{};se=RS(o,nt,de)}}Z||(Z=new Ar);var Wt=Z.get(o);if(Wt)return Wt;Z.set(o,se),Sv(o)?o.forEach(function(or){se.add(fi(or,a,p,or,o,Z))}):_v(o)&&o.forEach(function(or,Nr){se.set(Nr,fi(or,a,p,Nr,o,Z))});var ir=We?ve?Ch:Sh:ve?po:mi,Tr=Ge?t:ir(o);return Bn(Tr||o,function(or,Nr){Tr&&(Nr=or,or=o[Nr]),ui(se,Nr,fi(or,a,p,Nr,o,Z))}),se}function vc(o){var a=mi(o);return function(p){return yc(p,o,a)}}function yc(o,a,p){var E=p.length;if(o==null)return!E;for(o=$r(o);E--;){var B=p[E],Z=a[B],se=o[B];if(se===t&&!(B in o)||!Z(se))return!1}return!0}function bc(o,a,p){if(typeof o!="function")throw new Ni(u);return xf(function(){o.apply(t,p)},a)}function Cs(o,a,p,E){var B=-1,Z=xo,se=!0,de=o.length,ve=[],We=a.length;if(!de)return ve;p&&(a=Yr(a,Bt(p))),E?(Z=qn,se=!1):a.length>=i&&(Z=tr,se=!1,a=new ci(a));e:for(;++B<de;){var Ge=o[B],nt=p==null?Ge:p(Ge);if(Ge=E||Ge!==0?Ge:0,se&&nt===nt){for(var kt=We;kt--;)if(a[kt]===nt)continue e;ve.push(Ge)}else Z(a,nt,E)||ve.push(Ge)}return ve}var Jo=s(Ii),_c=s(Tl,!0);function pu(o,a){var p=!0;return Jo(o,function(E,B,Z){return p=!!a(E,B,Z),p}),p}function Al(o,a,p){for(var E=-1,B=o.length;++E<B;){var Z=o[E],se=a(Z);if(se!=null&&(de===t?se===se&&!No(se):p(se,de)))var de=se,ve=Z}return ve}function gf(o,a,p,E){var B=o.length;for(p=wr(p),p<0&&(p=-p>B?0:B+p),E=E===t||E>B?B:wr(E),E<0&&(E+=B),E=p>E?0:wv(E);p<E;)o[p++]=a;return o}function gu(o,a){var p=[];return Jo(o,function(E,B,Z){a(E,B,Z)&&p.push(E)}),p}function Hn(o,a,p,E,B){var Z=-1,se=o.length;for(p||(p=LS),B||(B=[]);++Z<se;){var de=o[Z];a>0&&p(de)?a>1?Hn(de,a-1,p,E,B):Ci(B,de):E||(B[B.length]=de)}return B}var xc=c(),mu=c(!0);function Ii(o,a){return o&&xc(o,a,mi)}function Tl(o,a){return o&&mu(o,a,mi)}function sa(o,a){return $i(a,function(p){return Za(o[p])})}function Qo(o,a){a=Po(a,o);for(var p=0,E=a.length;o!=null&&p<E;)o=o[pa(a[p++])];return p&&p==E?o:t}function Na(o,a,p){var E=a(o);return yr(o)?E:Ci(E,p(o))}function On(o){return o==null?o===t?et:ft:ko&&ko in $r(o)?AS(o):FS(o)}function ws(o,a){return o>a}function El(o,a){return o!=null&&Hr.call(o,a)}function aa(o,a){return o!=null&&a in $r(o)}function kl(o,a,p){return o>=In(a,p)&&o<ln(a,p)}function la(o,a,p){for(var E=p?qn:xo,B=o[0].length,Z=o.length,se=Z,de=Re(Z),ve=1/0,We=[];se--;){var Ge=o[se];se&&a&&(Ge=Yr(Ge,Bt(a))),ve=In(Ge.length,ve),de[se]=!p&&(a||B>=120&&Ge.length>=120)?new ci(se&&Ge):t}Ge=o[0];var nt=-1,kt=de[0];e:for(;++nt<B&&We.length<ve;){var Wt=Ge[nt],ir=a?a(Wt):Wt;if(Wt=p||Wt!==0?Wt:0,!(kt?tr(kt,ir):E(We,ir,p))){for(se=Z;--se;){var Tr=de[se];if(!(Tr?tr(Tr,ir):E(o[se],ir,p)))continue e}kt&&kt.push(ir),We.push(Wt)}}return We}function Rl(o,a,p,E){return Ii(o,function(B,Z,se){a(E,p(B),Z,se)}),E}function ao(o,a,p){a=Po(a,o),o=Xm(o,a);var E=o==null?o:o[pa(os(a))];return E==null?t:sn(E,o,p)}function Il(o){return Pn(o)&&On(o)==Ee}function As(o){return Pn(o)&&On(o)==at}function vu(o){return Pn(o)&&On(o)==Ye}function ja(o,a,p,E,B){return o===a?!0:o==null||a==null||!Pn(o)&&!Pn(a)?o!==o&&a!==a:ca(o,a,p,E,ja,B)}function ca(o,a,p,E,B,Z){var se=yr(o),de=yr(a),ve=se?ot:ji(o),We=de?ot:ji(a);ve=ve==Ee?xt:ve,We=We==Ee?xt:We;var Ge=ve==xt,nt=We==xt,kt=ve==We;if(kt&&zl(o)){if(!zl(a))return!1;se=!0,Ge=!1}if(kt&&!Ge)return Z||(Z=new Ar),se||Tu(o)?Um(o,a,p,E,B,Z):CS(o,a,ve,p,E,B,Z);if(!(p&S)){var Wt=Ge&&Hr.call(o,"__wrapped__"),ir=nt&&Hr.call(a,"__wrapped__");if(Wt||ir){var Tr=Wt?o.value():o,or=ir?a.value():a;return Z||(Z=new Ar),B(Tr,or,p,E,Z)}}return kt?(Z||(Z=new Ar),wS(o,a,p,E,B,Z)):!1}function ua(o){return Pn(o)&&ji(o)==ke}function Sc(o,a,p,E){var B=p.length,Z=B,se=!E;if(o==null)return!Z;for(o=$r(o);B--;){var de=p[B];if(se&&de[2]?de[1]!==o[de[0]]:!(de[0]in o))return!1}for(;++B<Z;){de=p[B];var ve=de[0],We=o[ve],Ge=de[1];if(se&&de[2]){if(We===t&&!(ve in o))return!1}else{var nt=new Ar;if(E)var kt=E(We,Ge,ve,o,a,nt);if(!(kt===t?ja(Ge,We,S|D,E,nt):kt))return!1}}return!0}function yu(o){if(!Ln(o)||DS(o))return!1;var a=Za(o)?ac:ar;return a.test(jc(o))}function Ts(o){return Pn(o)&&On(o)==It}function Ll(o){return Pn(o)&&ji(o)==Ct}function Do(o){return Pn(o)&&md(o.length)&&!!Sr[On(o)]}function Ml(o){return typeof o=="function"?o:o==null?go:typeof o=="object"?yr(o)?Ba(o[0],o[1]):lo(o):Pv(o)}function Oo(o){if(!_f(o))return lu(o);var a=[];for(var p in $r(o))Hr.call(o,p)&&p!="constructor"&&a.push(p);return a}function Fa(o){if(!Ln(o))return jS(o);var a=_f(o),p=[];for(var E in o)E=="constructor"&&(a||!Hr.call(o,E))||p.push(E);return p}function Vi(o,a){return o<a}function Gi(o,a){var p=-1,E=ho(o)?Re(o.length):[];return Jo(o,function(B,Z,se){E[++p]=a(B,Z,se)}),E}function lo(o){var a=Ah(o);return a.length==1&&a[0][2]?Ym(a[0][0],a[0][1]):function(p){return p===o||Sc(p,o,a)}}function Ba(o,a){return Eh(o)&&Zm(a)?Ym(pa(o),a):function(p){var E=jh(p,o);return E===t&&E===a?Fh(p,o):ja(a,E,S|D)}}function es(o,a,p,E,B){o!==a&&xc(a,function(Z,se){if(B||(B=new Ar),Ln(Z))Zi(o,a,se,p,es,E,B);else{var de=E?E(Rh(o,se),Z,se+"",o,a,B):t;de===t&&(de=Z),pc(o,se,de)}},po)}function Zi(o,a,p,E,B,Z,se){var de=Rh(o,p),ve=Rh(a,p),We=se.get(ve);if(We){pc(o,p,We);return}var Ge=Z?Z(de,ve,p+"",o,a,se):t,nt=Ge===t;if(nt){var kt=yr(ve),Wt=!kt&&zl(ve),ir=!kt&&!Wt&&Tu(ve);Ge=ve,kt||Wt||ir?yr(de)?Ge=de:$n(de)?Ge=ni(de):Wt?(nt=!1,Ge=ha(ve,!0)):ir?(nt=!1,Ge=Oc(ve,!0)):Ge=[]:Sf(ve)||Fc(ve)?(Ge=de,Fc(de)?Ge=Av(de):(!Ln(de)||Za(de))&&(Ge=Gm(ve))):nt=!1}nt&&(se.set(ve,Ge),B(Ge,ve,E,Z,se),se.delete(ve)),pc(o,p,Ge)}function fa(o,a){var p=o.length;if(p)return a+=a<0?p:0,Ga(a,p)?o[a]:t}function Dl(o,a,p){a.length?a=Yr(a,function(Z){return yr(Z)?function(se){return Qo(se,Z.length===1?Z[0]:Z)}:Z}):a=[go];var E=-1;a=Yr(a,Bt(rr()));var B=Gi(o,function(Z,se,de){var ve=Yr(a,function(We){return We(Z)});return{criteria:ve,index:++E,value:Z}});return J(B,function(Z,se){return Su(Z,se,p)})}function qa(o,a){return da(o,a,function(p,E){return Fh(o,E)})}function da(o,a,p){for(var E=-1,B=a.length,Z={};++E<B;){var se=a[E],de=Qo(o,se);p(de,se)&&ks(Z,Po(se,o),de)}return Z}function bu(o){return function(a){return Qo(a,o)}}function Cc(o,a,p,E){var B=E?dl:So,Z=-1,se=a.length,de=o;for(o===a&&(a=ni(a)),p&&(de=Yr(o,Bt(p)));++Z<se;)for(var ve=0,We=a[Z],Ge=p?p(We):We;(ve=B(de,Ge,ve,E))>-1;)de!==o&&Eo.call(de,ve,1),Eo.call(o,ve,1);return o}function wc(o,a){for(var p=o?a.length:0,E=p-1;p--;){var B=a[p];if(p==E||B!==Z){var Z=B;Ga(B)?Eo.call(o,B,1):Rc(o,B)}}return o}function Es(o,a){return o+vs(Go()*(a-o+1))}function Ac(o,a,p,E){for(var B=-1,Z=ln(Qs((a-o)/(p||1)),0),se=Re(Z);Z--;)se[E?Z:++B]=o,o+=p;return se}function Ol(o,a){var p="";if(!o||a<1||a>le)return p;do a%2&&(p+=o),a=vs(a/2),a&&(o+=o);while(a);return p}function pr(o,a){return Ih(Km(o,a,go),o+"")}function Ha(o){return gi(Eu(o))}function Tc(o,a){var p=Eu(o);return ud(p,Ss(a,0,p.length))}function ks(o,a,p,E){if(!Ln(o))return o;a=Po(a,o);for(var B=-1,Z=a.length,se=Z-1,de=o;de!=null&&++B<Z;){var ve=pa(a[B]),We=p;if(ve==="__proto__"||ve==="constructor"||ve==="prototype")return o;if(B!=se){var Ge=de[ve];We=E?E(Ge,ve,de):t,We===t&&(We=Ln(Ge)?Ge:Ga(a[B+1])?[]:{})}ui(de,ve,We),de=de[ve]}return o}var Ec=La?function(o,a){return La.set(o,a),o}:go,_u=Wo?function(o,a){return Wo(o,"toString",{configurable:!0,enumerable:!1,value:qh(a),writable:!0})}:go;function kc(o){return ud(Eu(o))}function Li(o,a,p){var E=-1,B=o.length;a<0&&(a=-a>B?0:B+a),p=p>B?B:p,p<0&&(p+=B),B=a>p?0:p-a>>>0,a>>>=0;for(var Z=Re(B);++E<B;)Z[E]=o[E+a];return Z}function mf(o,a){var p;return Jo(o,function(E,B,Z){return p=a(E,B,Z),!p}),!!p}function Pl(o,a,p){var E=0,B=o==null?E:o.length;if(typeof a=="number"&&a===a&&B<=Pe){for(;E<B;){var Z=E+B>>>1,se=o[Z];se!==null&&!No(se)&&(p?se<=a:se<a)?E=Z+1:B=Z}return B}return Nl(o,a,go,p)}function Nl(o,a,p,E){var B=0,Z=o==null?0:o.length;if(Z===0)return 0;a=p(a);for(var se=a!==a,de=a===null,ve=No(a),We=a===t;B<Z;){var Ge=vs((B+Z)/2),nt=p(o[Ge]),kt=nt!==t,Wt=nt===null,ir=nt===nt,Tr=No(nt);if(se)var or=E||ir;else We?or=ir&&(E||kt):de?or=ir&&kt&&(E||!Wt):ve?or=ir&&kt&&!Wt&&(E||!Tr):Wt||Tr?or=!1:or=E?nt<=a:nt<a;or?B=Ge+1:Z=Ge}return In(Z,Ie)}function xu(o,a){for(var p=-1,E=o.length,B=0,Z=[];++p<E;){var se=o[p],de=a?a(se):se;if(!p||!Rs(de,ve)){var ve=de;Z[B++]=se===0?0:se}}return Z}function jl(o){return typeof o=="number"?o:No(o)?ge:+o}function Mi(o){if(typeof o=="string")return o;if(yr(o))return Yr(o,Mi)+"";if(No(o))return Ma?Ma.call(o):"";var a=o+"";return a=="0"&&1/o==-1/0?"-0":a}function An(o,a,p){var E=-1,B=xo,Z=o.length,se=!0,de=[],ve=de;if(p)se=!1,B=qn;else if(Z>=i){var We=a?null:bf(o);if(We)return Ta(We);se=!1,B=tr,ve=new ci}else ve=a?[]:de;e:for(;++E<Z;){var Ge=o[E],nt=a?a(Ge):Ge;if(Ge=p||Ge!==0?Ge:0,se&&nt===nt){for(var kt=ve.length;kt--;)if(ve[kt]===nt)continue e;a&&ve.push(nt),de.push(Ge)}else B(ve,nt,p)||(ve!==de&&ve.push(nt),de.push(Ge))}return de}function Rc(o,a){return a=Po(a,o),o=Xm(o,a),o==null||delete o[pa(os(a))]}function za(o,a,p,E){return ks(o,a,p(Qo(o,a)),E)}function Fl(o,a,p,E){for(var B=o.length,Z=E?B:-1;(E?Z--:++Z<B)&&a(o[Z],Z,o););return p?Li(o,E?0:Z,E?Z+1:B):Li(o,E?Z+1:0,E?B:Z)}function ri(o,a){var p=o;return p instanceof mr&&(p=p.value()),wa(a,function(E,B){return B.func.apply(B.thisArg,Ci([E],B.args))},p)}function Ic(o,a,p){var E=o.length;if(E<2)return E?An(o[0]):[];for(var B=-1,Z=Re(E);++B<E;)for(var se=o[B],de=-1;++de<E;)de!=B&&(Z[B]=Cs(Z[B]||se,o[de],a,p));return An(Hn(Z,1),a,p)}function Lc(o,a,p){for(var E=-1,B=o.length,Z=a.length,se={};++E<B;){var de=E<Z?a[E]:t;p(se,o[E],de)}return se}function Bl(o){return $n(o)?o:[]}function ts(o){return typeof o=="function"?o:go}function Po(o,a){return yr(o)?o:Eh(o,a)?[o]:tv(tn(o))}var vf=pr;function co(o,a,p){var E=o.length;return p=p===t?E:p,!a&&p>=E?o:Li(o,a,p)}var rs=sf||function(o){return lr.clearTimeout(o)};function ha(o,a){if(a)return o.slice();var p=o.length,E=ka?ka(p):new o.constructor(p);return o.copy(E),E}function Mc(o){var a=new o.constructor(o.byteLength);return new Ea(a).set(new Ea(o)),a}function Dc(o,a){var p=a?Mc(o.buffer):o.buffer;return new o.constructor(p,o.byteOffset,o.byteLength)}function $a(o){var a=new o.constructor(o.source,Dt.exec(o));return a.lastIndex=o.lastIndex,a}function ql(o){return bs?$r(bs.call(o)):{}}function Oc(o,a){var p=a?Mc(o.buffer):o.buffer;return new o.constructor(p,o.byteOffset,o.length)}function Ua(o,a){if(o!==a){var p=o!==t,E=o===null,B=o===o,Z=No(o),se=a!==t,de=a===null,ve=a===a,We=No(a);if(!de&&!We&&!Z&&o>a||Z&&se&&ve&&!de&&!We||E&&se&&ve||!p&&ve||!B)return 1;if(!E&&!Z&&!We&&o<a||We&&p&&B&&!E&&!Z||de&&p&&B||!se&&B||!ve)return-1}return 0}function Su(o,a,p){for(var E=-1,B=o.criteria,Z=a.criteria,se=B.length,de=p.length;++E<se;){var ve=Ua(B[E],Z[E]);if(ve){if(E>=de)return ve;var We=p[E];return ve*(We=="desc"?-1:1)}}return o.index-a.index}function Cu(o,a,p,E){for(var B=-1,Z=o.length,se=p.length,de=-1,ve=a.length,We=ln(Z-se,0),Ge=Re(ve+We),nt=!E;++de<ve;)Ge[de]=a[de];for(;++B<se;)(nt||B<Z)&&(Ge[p[B]]=o[B]);for(;We--;)Ge[de++]=o[B++];return Ge}function Pc(o,a,p,E){for(var B=-1,Z=o.length,se=-1,de=p.length,ve=-1,We=a.length,Ge=ln(Z-de,0),nt=Re(Ge+We),kt=!E;++B<Ge;)nt[B]=o[B];for(var Wt=B;++ve<We;)nt[Wt+ve]=a[ve];for(;++se<de;)(kt||B<Z)&&(nt[Wt+p[se]]=o[B++]);return nt}function ni(o,a){var p=-1,E=o.length;for(a||(a=Re(E));++p<E;)a[p]=o[p];return a}function Yi(o,a,p,E){var B=!p;p||(p={});for(var Z=-1,se=a.length;++Z<se;){var de=a[Z],ve=E?E(p[de],o[de],de,p,o):t;ve===t&&(ve=o[de]),B?Ri(p,de,ve):ui(p,de,ve)}return p}function yf(o,a){return Yi(o,Th(o),a)}function wu(o,a){return Yi(o,Wm(o),a)}function Hl(o,a){return function(p,E){var B=yr(p)?ds:xs,Z=a?a():{};return B(p,o,rr(E,2),Z)}}function f(o){return pr(function(a,p){var E=-1,B=p.length,Z=B>1?p[B-1]:t,se=B>2?p[2]:t;for(Z=o.length>3&&typeof Z=="function"?(B--,Z):t,se&&Ki(p[0],p[1],se)&&(Z=B<3?t:Z,B=1),a=$r(a);++E<B;){var de=p[E];de&&o(a,de,E,Z)}return a})}function s(o,a){return function(p,E){if(p==null)return p;if(!ho(p))return o(p,E);for(var B=p.length,Z=a?B:-1,se=$r(p);(a?Z--:++Z<B)&&E(se[Z],Z,se)!==!1;);return p}}function c(o){return function(a,p,E){for(var B=-1,Z=$r(a),se=E(a),de=se.length;de--;){var ve=se[o?de:++B];if(p(Z[ve],ve,Z)===!1)break}return a}}function d(o,a,p){var E=a&A,B=F(o);function Z(){var se=this&&this!==lr&&this instanceof Z?B:o;return se.apply(E?p:this,arguments)}return Z}function y(o){return function(a){a=tn(a);var p=Zs(a)?un(a):t,E=p?p[0]:a.charAt(0),B=p?co(p,1).join(""):a.slice(1);return E[o]()+B}}function L(o){return function(a){return wa(Dv(Mv(a).replace(eo,"")),o,"")}}function F(o){return function(){var a=arguments;switch(a.length){case 0:return new o;case 1:return new o(a[0]);case 2:return new o(a[0],a[1]);case 3:return new o(a[0],a[1],a[2]);case 4:return new o(a[0],a[1],a[2],a[3]);case 5:return new o(a[0],a[1],a[2],a[3],a[4]);case 6:return new o(a[0],a[1],a[2],a[3],a[4],a[5]);case 7:return new o(a[0],a[1],a[2],a[3],a[4],a[5],a[6])}var p=Io(o.prototype),E=o.apply(p,a);return Ln(E)?E:p}}function U(o,a,p){var E=F(o);function B(){for(var Z=arguments.length,se=Re(Z),de=Z,ve=Au(B);de--;)se[de]=arguments[de];var We=Z<3&&se[0]!==ve&&se[Z-1]!==ve?[]:Co(se,ve);if(Z-=We.length,Z<p)return fo(o,a,Ue,B.placeholder,t,se,We,t,t,p-Z);var Ge=this&&this!==lr&&this instanceof B?E:o;return sn(Ge,this,se)}return B}function oe(o){return function(a,p,E){var B=$r(a);if(!ho(a)){var Z=rr(p,3);a=mi(a),p=function(de){return Z(B[de],de,B)}}var se=o(a,p,E);return se>-1?B[Z?a[se]:se]:t}}function _e(o){return Va(function(a){var p=a.length,E=p,B=ti.prototype.thru;for(o&&a.reverse();E--;){var Z=a[E];if(typeof Z!="function")throw new Ni(u);if(B&&!se&&ld(Z)=="wrapper")var se=new ti([],!0)}for(E=se?E:p;++E<p;){Z=a[E];var de=ld(Z),ve=de=="wrapper"?wh(Z):t;ve&&kh(ve[0])&&ve[1]==(Y|O|q|ue)&&!ve[4].length&&ve[9]==1?se=se[ld(ve[0])].apply(se,ve[3]):se=Z.length==1&&kh(Z)?se[de]():se.thru(Z)}return function(){var We=arguments,Ge=We[0];if(se&&We.length==1&&yr(Ge))return se.plant(Ge).value();for(var nt=0,kt=p?a[nt].apply(this,We):Ge;++nt<p;)kt=a[nt].call(this,kt);return kt}})}function Ue(o,a,p,E,B,Z,se,de,ve,We){var Ge=a&Y,nt=a&A,kt=a&b,Wt=a&(O|H),ir=a&ee,Tr=kt?t:F(o);function or(){for(var Nr=arguments.length,qr=Re(Nr),jo=Nr;jo--;)qr[jo]=arguments[jo];if(Wt)var Xi=Au(or),Fo=wi(qr,Xi);if(E&&(qr=Cu(qr,E,B,Wt)),Z&&(qr=Pc(qr,Z,se,Wt)),Nr-=Fo,Wt&&Nr<We){var Un=Co(qr,Xi);return fo(o,a,Ue,or.placeholder,p,qr,Un,de,ve,We-Nr)}var Is=nt?p:this,Ka=kt?Is[o]:o;return Nr=qr.length,de?qr=BS(qr,de):ir&&Nr>1&&qr.reverse(),Ge&&ve<Nr&&(qr.length=ve),this&&this!==lr&&this instanceof or&&(Ka=Tr||F(Ka)),Ka.apply(Is,qr)}return or}function rt(o,a){return function(p,E){return Rl(p,o,a(E),{})}}function yt(o,a){return function(p,E){var B;if(p===t&&E===t)return a;if(p!==t&&(B=p),E!==t){if(B===t)return E;typeof p=="string"||typeof E=="string"?(p=Mi(p),E=Mi(E)):(p=jl(p),E=jl(E)),B=o(p,E)}return B}}function Jt(o){return Va(function(a){return a=Yr(a,Bt(rr())),pr(function(p){var E=this;return o(a,function(B){return sn(B,E,p)})})})}function Lr(o,a){a=a===t?" ":Mi(a);var p=a.length;if(p<2)return p?Ol(a,o):a;var E=Ol(a,Qs(o/Ys(a)));return Zs(a)?co(un(E),0,o).join(""):E.slice(0,o)}function zn(o,a,p,E){var B=a&A,Z=F(o);function se(){for(var de=-1,ve=arguments.length,We=-1,Ge=E.length,nt=Re(Ge+ve),kt=this&&this!==lr&&this instanceof se?Z:o;++We<Ge;)nt[We]=E[We];for(;ve--;)nt[We++]=arguments[++de];return sn(kt,B?p:this,nt)}return se}function ns(o){return function(a,p,E){return E&&typeof E!="number"&&Ki(a,p,E)&&(p=E=t),a=Ya(a),p===t?(p=a,a=0):p=Ya(p),E=E===t?a<p?1:-1:Ya(E),Ac(a,p,E,o)}}function uo(o){return function(a,p){return typeof a=="string"&&typeof p=="string"||(a=ss(a),p=ss(p)),o(a,p)}}function fo(o,a,p,E,B,Z,se,de,ve,We){var Ge=a&O,nt=Ge?se:t,kt=Ge?t:se,Wt=Ge?Z:t,ir=Ge?t:Z;a|=Ge?q:G,a&=~(Ge?G:q),a&k||(a&=-4);var Tr=[o,a,B,Wt,nt,ir,kt,de,ve,We],or=p.apply(t,Tr);return kh(o)&&Jm(or,Tr),or.placeholder=E,Qm(or,o,a)}function is(o){var a=bn[o];return function(p,E){if(p=ss(p),E=E==null?0:In(wr(E),292),E&&ta(p)){var B=(tn(p)+"e").split("e"),Z=a(B[0]+"e"+(+B[1]+E));return B=(tn(Z)+"e").split("e"),+(B[0]+"e"+(+B[1]-E))}return a(p)}}var bf=no&&1/Ta(new no([,-0]))[1]==me?function(o){return new no(o)}:$h;function ad(o){return function(a){var p=ji(a);return p==ke?nc(a):p==Ct?tf(a):ze(a,o(a))}}function Wa(o,a,p,E,B,Z,se,de){var ve=a&b;if(!ve&&typeof o!="function")throw new Ni(u);var We=E?E.length:0;if(We||(a&=-97,E=B=t),se=se===t?se:ln(wr(se),0),de=de===t?de:wr(de),We-=B?B.length:0,a&G){var Ge=E,nt=B;E=B=t}var kt=ve?t:wh(o),Wt=[o,a,p,E,B,Ge,nt,Z,se,de];if(kt&&NS(Wt,kt),o=Wt[0],a=Wt[1],p=Wt[2],E=Wt[3],B=Wt[4],de=Wt[9]=Wt[9]===t?ve?0:o.length:ln(Wt[9]-We,0),!de&&a&(O|H)&&(a&=-25),!a||a==A)var ir=d(o,a,p);else a==O||a==H?ir=U(o,a,de):(a==q||a==(A|q))&&!B.length?ir=zn(o,a,p,E):ir=Ue.apply(t,Wt);var Tr=kt?Ec:Jm;return Qm(Tr(ir,Wt),o,a)}function zm(o,a,p,E){return o===t||Rs(o,$o[p])&&!Hr.call(E,p)?a:o}function $m(o,a,p,E,B,Z){return Ln(o)&&Ln(a)&&(Z.set(a,o),es(o,a,t,$m,Z),Z.delete(a)),o}function SS(o){return Sf(o)?t:o}function Um(o,a,p,E,B,Z){var se=p&S,de=o.length,ve=a.length;if(de!=ve&&!(se&&ve>de))return!1;var We=Z.get(o),Ge=Z.get(a);if(We&&Ge)return We==a&&Ge==o;var nt=-1,kt=!0,Wt=p&D?new ci:t;for(Z.set(o,a),Z.set(a,o);++nt<de;){var ir=o[nt],Tr=a[nt];if(E)var or=se?E(Tr,ir,nt,a,o,Z):E(ir,Tr,nt,o,a,Z);if(or!==t){if(or)continue;kt=!1;break}if(Wt){if(!zo(a,function(Nr,qr){if(!tr(Wt,qr)&&(ir===Nr||B(ir,Nr,p,E,Z)))return Wt.push(qr)})){kt=!1;break}}else if(!(ir===Tr||B(ir,Tr,p,E,Z))){kt=!1;break}}return Z.delete(o),Z.delete(a),kt}function CS(o,a,p,E,B,Z,se){switch(p){case gt:if(o.byteLength!=a.byteLength||o.byteOffset!=a.byteOffset)return!1;o=o.buffer,a=a.buffer;case at:return!(o.byteLength!=a.byteLength||!Z(new Ea(o),new Ea(a)));case Ke:case Ye:case Je:return Rs(+o,+a);case Ne:return o.name==a.name&&o.message==a.message;case It:case ct:return o==a+"";case ke:var de=nc;case Ct:var ve=E&S;if(de||(de=Ta),o.size!=a.size&&!ve)return!1;var We=se.get(o);if(We)return We==a;E|=D,se.set(o,a);var Ge=Um(de(o),de(a),E,B,Z,se);return se.delete(o),Ge;case ut:if(bs)return bs.call(o)==bs.call(a)}return!1}function wS(o,a,p,E,B,Z){var se=p&S,de=Sh(o),ve=de.length,We=Sh(a),Ge=We.length;if(ve!=Ge&&!se)return!1;for(var nt=ve;nt--;){var kt=de[nt];if(!(se?kt in a:Hr.call(a,kt)))return!1}var Wt=Z.get(o),ir=Z.get(a);if(Wt&&ir)return Wt==a&&ir==o;var Tr=!0;Z.set(o,a),Z.set(a,o);for(var or=se;++nt<ve;){kt=de[nt];var Nr=o[kt],qr=a[kt];if(E)var jo=se?E(qr,Nr,kt,a,o,Z):E(Nr,qr,kt,o,a,Z);if(!(jo===t?Nr===qr||B(Nr,qr,p,E,Z):jo)){Tr=!1;break}or||(or=kt=="constructor")}if(Tr&&!or){var Xi=o.constructor,Fo=a.constructor;Xi!=Fo&&"constructor"in o&&"constructor"in a&&!(typeof Xi=="function"&&Xi instanceof Xi&&typeof Fo=="function"&&Fo instanceof Fo)&&(Tr=!1)}return Z.delete(o),Z.delete(a),Tr}function Va(o){return Ih(Km(o,t,ov),o+"")}function Sh(o){return Na(o,mi,Th)}function Ch(o){return Na(o,po,Wm)}var wh=La?function(o){return La.get(o)}:$h;function ld(o){for(var a=o.name+"",p=ys[a],E=Hr.call(ys,a)?p.length:0;E--;){var B=p[E],Z=B.func;if(Z==null||Z==o)return B.name}return a}function Au(o){var a=Hr.call($,"placeholder")?$:o;return a.placeholder}function rr(){var o=$.iteratee||Hh;return o=o===Hh?Ml:o,arguments.length?o(arguments[0],arguments[1]):o}function cd(o,a){var p=o.__data__;return MS(a)?p[typeof a=="string"?"string":"hash"]:p.map}function Ah(o){for(var a=mi(o),p=a.length;p--;){var E=a[p],B=o[E];a[p]=[E,B,Zm(B)]}return a}function Nc(o,a){var p=gs(o,a);return yu(p)?p:t}function AS(o){var a=Hr.call(o,ko),p=o[ko];try{o[ko]=t;var E=!0}catch{}var B=Ao.call(o);return E&&(a?o[ko]=p:delete o[ko]),B}var Th=ea?function(o){return o==null?[]:(o=$r(o),$i(ea(o),function(a){return vl.call(o,a)}))}:Uh,Wm=ea?function(o){for(var a=[];o;)Ci(a,Th(o)),o=ms(o);return a}:Uh,ji=On;(ro&&ji(new ro(new ArrayBuffer(1)))!=gt||Zo&&ji(new Zo)!=ke||ra&&ji(ra.resolve())!=St||no&&ji(new no)!=Ct||Ro&&ji(new Ro)!=Se)&&(ji=function(o){var a=On(o),p=a==xt?o.constructor:t,E=p?jc(p):"";if(E)switch(E){case Yo:return gt;case cc:return ke;case af:return St;case cu:return Ct;case ia:return Se}return a});function TS(o,a,p){for(var E=-1,B=p.length;++E<B;){var Z=p[E],se=Z.size;switch(Z.type){case"drop":o+=se;break;case"dropRight":a-=se;break;case"take":a=In(a,o+se);break;case"takeRight":o=ln(o,a-se);break}}return{start:o,end:a}}function ES(o){var a=o.match(Q);return a?a[1].split(He):[]}function Vm(o,a,p){a=Po(a,o);for(var E=-1,B=a.length,Z=!1;++E<B;){var se=pa(a[E]);if(!(Z=o!=null&&p(o,se)))break;o=o[se]}return Z||++E!=B?Z:(B=o==null?0:o.length,!!B&&md(B)&&Ga(se,B)&&(yr(o)||Fc(o)))}function kS(o){var a=o.length,p=new o.constructor(a);return a&&typeof o[0]=="string"&&Hr.call(o,"index")&&(p.index=o.index,p.input=o.input),p}function Gm(o){return typeof o.constructor=="function"&&!_f(o)?Io(ms(o)):{}}function RS(o,a,p){var E=o.constructor;switch(a){case at:return Mc(o);case Ke:case Ye:return new E(+o);case gt:return Dc(o,p);case Tt:case je:case _t:case Mt:case vr:case nr:case Zt:case he:case te:return Oc(o,p);case ke:return new E;case Je:case ct:return new E(o);case It:return $a(o);case Ct:return new E;case ut:return ql(o)}}function IS(o,a){var p=a.length;if(!p)return o;var E=p-1;return a[E]=(p>1?"& ":"")+a[E],a=a.join(p>2?", ":" "),o.replace(Nt,`{
|
34
34
|
/* [wrapped with `+a+`] */
|
35
|
-
`)}function LS(o){return yr(o)||Fc(o)||!!(yl&&o&&o[yl])}function Ga(o,a){var p=typeof o;return a=a??ae,!!a&&(p=="number"||p!="symbol"&&zr.test(o))&&o>-1&&o%1==0&&o<a}function Ki(o,a,p){if(!Ln(p))return!1;var E=typeof a;return(E=="number"?ho(p)&&Ga(a,p.length):E=="string"&&a in p)?Rs(p[a],o):!1}function Eh(o,a){if(yr(o))return!1;var p=typeof o;return p=="number"||p=="symbol"||p=="boolean"||o==null||No(o)?!0:xr.test(o)||!ur.test(o)||a!=null&&o in $r(a)}function MS(o){var a=typeof o;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?o!=="__proto__":o===null}function kh(o){var a=ld(o),p=$[a];if(typeof p!="function"||!(a in mr.prototype))return!1;if(o===p)return!0;var E=wh(p);return!!E&&o===E[0]}function DS(o){return!!an&&an in o}var OS=en?Za:Wh;function _f(o){var a=o&&o.constructor,p=typeof a=="function"&&a.prototype||$o;return o===p}function Zm(o){return o===o&&!Ln(o)}function Ym(o,a){return function(p){return p==null?!1:p[o]===a&&(a!==t||o in $r(p))}}function PS(o){var a=pd(o,function(E){return p.size===m&&p.clear(),E}),p=a.cache;return a}function NS(o,a){var p=o[1],E=a[1],B=p|E,Z=B<(A|b|Y),se=E==Y&&p==O||E==Y&&p==ue&&o[7].length<=a[8]||E==(Y|ue)&&a[7].length<=a[8]&&p==O;if(!(Z||se))return o;E&A&&(o[2]=a[2],B|=p&A?0:k);var de=a[3];if(de){var ve=o[3];o[3]=ve?Cu(ve,de,a[4]):de,o[4]=ve?Co(o[3],M):a[4]}return de=a[5],de&&(ve=o[5],o[5]=ve?Pc(ve,de,a[6]):de,o[6]=ve?Co(o[5],M):a[6]),de=a[7],de&&(o[7]=de),E&Y&&(o[8]=o[8]==null?a[8]:In(o[8],a[8])),o[9]==null&&(o[9]=a[9]),o[0]=a[0],o[1]=B,o}function jS(o){var a=[];if(o!=null)for(var p in $r(o))a.push(p);return a}function FS(o){return Ao.call(o)}function Km(o,a,p){return a=ln(a===t?o.length-1:a,0),function(){for(var E=arguments,B=-1,Z=ln(E.length-a,0),se=Ie(Z);++B<Z;)se[B]=E[a+B];B=-1;for(var de=Ie(a+1);++B<a;)de[B]=E[B];return de[a]=p(se),sn(o,this,de)}}function Xm(o,a){return a.length<2?o:Qo(o,Li(a,0,-1))}function BS(o,a){for(var p=o.length,E=In(a.length,p),B=ni(o);E--;){var Z=a[E];o[E]=Ga(Z,p)?B[Z]:t}return o}function Rh(o,a){if(!(a==="constructor"&&typeof o[a]=="function")&&a!="__proto__")return o[a]}var Jm=ev(Ec),xf=au||function(o,a){return lr.setTimeout(o,a)},Ih=ev(_u);function Qm(o,a,p){var E=a+"";return Ih(o,IS(E,qS(ES(E),p)))}function ev(o){var a=0,p=0;return function(){var E=Vo(),B=K-(E-p);if(p=E,B>0){if(++a>=re)return arguments[0]}else a=0;return o.apply(t,arguments)}}function ud(o,a){var p=-1,E=o.length,B=E-1;for(a=a===t?E:a;++p<a;){var Z=Es(p,B),se=o[Z];o[Z]=o[p],o[p]=se}return o.length=a,o}var tv=PS(function(o){var a=[];return o.charCodeAt(0)===46&&a.push(""),o.replace(Wr,function(p,E,B,Z){a.push(B?Z.replace(er,"$1"):E||p)}),a});function pa(o){if(typeof o=="string"||No(o))return o;var a=o+"";return a=="0"&&1/o==-1/0?"-0":a}function jc(o){if(o!=null){try{return Uo.call(o)}catch{}try{return o+""}catch{}}return""}function qS(o,a){return Bn(We,function(p){var E="_."+p[0];a&p[1]&&!xo(o,E)&&o.push(E)}),o.sort()}function rv(o){if(o instanceof mr)return o.clone();var a=new ti(o.__wrapped__,o.__chain__);return a.__actions__=ni(o.__actions__),a.__index__=o.__index__,a.__values__=o.__values__,a}function HS(o,a,p){(p?Ki(o,a,p):a===t)?a=1:a=ln(wr(a),0);var E=o==null?0:o.length;if(!E||a<1)return[];for(var B=0,Z=0,se=Ie(Qs(E/a));B<E;)se[Z++]=Li(o,B,B+=a);return se}function zS(o){for(var a=-1,p=o==null?0:o.length,E=0,B=[];++a<p;){var Z=o[a];Z&&(B[E++]=Z)}return B}function $S(){var o=arguments.length;if(!o)return[];for(var a=Ie(o-1),p=arguments[0],E=o;E--;)a[E-1]=arguments[E];return Ci(yr(p)?ni(p):[p],Hn(a,1))}var US=pr(function(o,a){return $n(o)?Cs(o,Hn(a,1,$n,!0)):[]}),WS=pr(function(o,a){var p=os(a);return $n(p)&&(p=t),$n(o)?Cs(o,Hn(a,1,$n,!0),rr(p,2)):[]}),VS=pr(function(o,a){var p=os(a);return $n(p)&&(p=t),$n(o)?Cs(o,Hn(a,1,$n,!0),t,p):[]});function GS(o,a,p){var E=o==null?0:o.length;return E?(a=p||a===t?1:wr(a),Li(o,a<0?0:a,E)):[]}function ZS(o,a,p){var E=o==null?0:o.length;return E?(a=p||a===t?1:wr(a),a=E-a,Li(o,0,a<0?0:a)):[]}function YS(o,a){return o&&o.length?Fl(o,rr(a,3),!0,!0):[]}function KS(o,a){return o&&o.length?Fl(o,rr(a,3),!0):[]}function XS(o,a,p,E){var B=o==null?0:o.length;return B?(p&&typeof p!="number"&&Ki(o,a,p)&&(p=0,E=B),gf(o,a,p,E)):[]}function nv(o,a,p){var E=o==null?0:o.length;if(!E)return-1;var B=p==null?0:wr(p);return B<0&&(B=ln(E+B,0)),ps(o,rr(a,3),B)}function iv(o,a,p){var E=o==null?0:o.length;if(!E)return-1;var B=E-1;return p!==t&&(B=wr(p),B=p<0?ln(E+B,0):In(B,E-1)),ps(o,rr(a,3),B,!0)}function ov(o){var a=o==null?0:o.length;return a?Hn(o,1):[]}function JS(o){var a=o==null?0:o.length;return a?Hn(o,me):[]}function QS(o,a){var p=o==null?0:o.length;return p?(a=a===t?1:wr(a),Hn(o,a)):[]}function eC(o){for(var a=-1,p=o==null?0:o.length,E={};++a<p;){var B=o[a];E[B[0]]=B[1]}return E}function sv(o){return o&&o.length?o[0]:t}function tC(o,a,p){var E=o==null?0:o.length;if(!E)return-1;var B=p==null?0:wr(p);return B<0&&(B=ln(E+B,0)),So(o,a,B)}function rC(o){var a=o==null?0:o.length;return a?Li(o,0,-1):[]}var nC=pr(function(o){var a=Yr(o,Bl);return a.length&&a[0]===o[0]?la(a):[]}),iC=pr(function(o){var a=os(o),p=Yr(o,Bl);return a===os(p)?a=t:p.pop(),p.length&&p[0]===o[0]?la(p,rr(a,2)):[]}),oC=pr(function(o){var a=os(o),p=Yr(o,Bl);return a=typeof a=="function"?a:t,a&&p.pop(),p.length&&p[0]===o[0]?la(p,t,a):[]});function sC(o,a){return o==null?"":Ia.call(o,a)}function os(o){var a=o==null?0:o.length;return a?o[a-1]:t}function aC(o,a,p){var E=o==null?0:o.length;if(!E)return-1;var B=E;return p!==t&&(B=wr(p),B=B<0?ln(E+B,0):In(B,E-1)),a===a?nf(o,a,B):ps(o,Vs,B,!0)}function lC(o,a){return o&&o.length?fa(o,wr(a)):t}var cC=pr(av);function av(o,a){return o&&o.length&&a&&a.length?Cc(o,a):o}function uC(o,a,p){return o&&o.length&&a&&a.length?Cc(o,a,rr(p,2)):o}function fC(o,a,p){return o&&o.length&&a&&a.length?Cc(o,a,t,p):o}var dC=Va(function(o,a){var p=o==null?0:o.length,E=mc(o,a);return wc(o,Yr(a,function(B){return Ga(B,p)?+B:B}).sort(Ua)),E});function hC(o,a){var p=[];if(!(o&&o.length))return p;var E=-1,B=[],Z=o.length;for(a=rr(a,3);++E<Z;){var se=o[E];a(se,E,o)&&(p.push(se),B.push(E))}return wc(o,B),p}function Lh(o){return o==null?o:_l.call(o)}function pC(o,a,p){var E=o==null?0:o.length;return E?(p&&typeof p!="number"&&Ki(o,a,p)?(a=0,p=E):(a=a==null?0:wr(a),p=p===t?E:wr(p)),Li(o,a,p)):[]}function gC(o,a){return Pl(o,a)}function mC(o,a,p){return Nl(o,a,rr(p,2))}function vC(o,a){var p=o==null?0:o.length;if(p){var E=Pl(o,a);if(E<p&&Rs(o[E],a))return E}return-1}function yC(o,a){return Pl(o,a,!0)}function bC(o,a,p){return Nl(o,a,rr(p,2),!0)}function _C(o,a){var p=o==null?0:o.length;if(p){var E=Pl(o,a,!0)-1;if(Rs(o[E],a))return E}return-1}function xC(o){return o&&o.length?xu(o):[]}function SC(o,a){return o&&o.length?xu(o,rr(a,2)):[]}function CC(o){var a=o==null?0:o.length;return a?Li(o,1,a):[]}function wC(o,a,p){return o&&o.length?(a=p||a===t?1:wr(a),Li(o,0,a<0?0:a)):[]}function AC(o,a,p){var E=o==null?0:o.length;return E?(a=p||a===t?1:wr(a),a=E-a,Li(o,a<0?0:a,E)):[]}function TC(o,a){return o&&o.length?Fl(o,rr(a,3),!1,!0):[]}function EC(o,a){return o&&o.length?Fl(o,rr(a,3)):[]}var kC=pr(function(o){return An(Hn(o,1,$n,!0))}),RC=pr(function(o){var a=os(o);return $n(a)&&(a=t),An(Hn(o,1,$n,!0),rr(a,2))}),IC=pr(function(o){var a=os(o);return a=typeof a=="function"?a:t,An(Hn(o,1,$n,!0),t,a)});function LC(o){return o&&o.length?An(o):[]}function MC(o,a){return o&&o.length?An(o,rr(a,2)):[]}function DC(o,a){return a=typeof a=="function"?a:t,o&&o.length?An(o,t,a):[]}function Mh(o){if(!(o&&o.length))return[];var a=0;return o=$i(o,function(p){if($n(p))return a=ln(p.length,a),!0}),Ce(a,function(p){return Yr(o,w(p))})}function lv(o,a){if(!(o&&o.length))return[];var p=Mh(o);return a==null?p:Yr(p,function(E){return sn(a,t,E)})}var OC=pr(function(o,a){return $n(o)?Cs(o,a):[]}),PC=pr(function(o){return Ic($i(o,$n))}),NC=pr(function(o){var a=os(o);return $n(a)&&(a=t),Ic($i(o,$n),rr(a,2))}),jC=pr(function(o){var a=os(o);return a=typeof a=="function"?a:t,Ic($i(o,$n),t,a)}),FC=pr(Mh);function BC(o,a){return Lc(o||[],a||[],ui)}function qC(o,a){return Lc(o||[],a||[],ks)}var HC=pr(function(o){var a=o.length,p=a>1?o[a-1]:t;return p=typeof p=="function"?(o.pop(),p):t,lv(o,p)});function cv(o){var a=$(o);return a.__chain__=!0,a}function zC(o,a){return a(o),o}function fd(o,a){return a(o)}var $C=Va(function(o){var a=o.length,p=a?o[0]:0,E=this.__wrapped__,B=function(Z){return mc(Z,o)};return a>1||this.__actions__.length||!(E instanceof mr)||!Ga(p)?this.thru(B):(E=E.slice(p,+p+(a?1:0)),E.__actions__.push({func:fd,args:[B],thisArg:t}),new ti(E,this.__chain__).thru(function(Z){return a&&!Z.length&&Z.push(t),Z}))});function UC(){return cv(this)}function WC(){return new ti(this.value(),this.__chain__)}function VC(){this.__values__===t&&(this.__values__=Cv(this.value()));var o=this.__index__>=this.__values__.length,a=o?t:this.__values__[this.__index__++];return{done:o,value:a}}function GC(){return this}function ZC(o){for(var a,p=this;p instanceof Lo;){var E=rv(p);E.__index__=0,E.__values__=t,a?B.__wrapped__=E:a=E;var B=E;p=p.__wrapped__}return B.__wrapped__=o,a}function YC(){var o=this.__wrapped__;if(o instanceof mr){var a=o;return this.__actions__.length&&(a=new mr(this)),a=a.reverse(),a.__actions__.push({func:fd,args:[Lh],thisArg:t}),new ti(a,this.__chain__)}return this.thru(Lh)}function KC(){return ri(this.__wrapped__,this.__actions__)}var XC=Hl(function(o,a,p){Hr.call(o,p)?++o[p]:Ri(o,p,1)});function JC(o,a,p){var E=yr(o)?Ca:pu;return p&&Ki(o,a,p)&&(a=t),E(o,rr(a,3))}function QC(o,a){var p=yr(o)?$i:gu;return p(o,rr(a,3))}var ew=oe(nv),tw=oe(iv);function rw(o,a){return Hn(dd(o,a),1)}function nw(o,a){return Hn(dd(o,a),me)}function iw(o,a,p){return p=p===t?1:wr(p),Hn(dd(o,a),p)}function uv(o,a){var p=yr(o)?Bn:Jo;return p(o,rr(a,3))}function fv(o,a){var p=yr(o)?ll:_c;return p(o,rr(a,3))}var ow=Hl(function(o,a,p){Hr.call(o,p)?o[p].push(a):Ri(o,p,[a])});function sw(o,a,p,E){o=ho(o)?o:Eu(o),p=p&&!E?wr(p):0;var B=o.length;return p<0&&(p=ln(B+p,0)),vd(o)?p<=B&&o.indexOf(a,p)>-1:!!B&&So(o,a,p)>-1}var aw=pr(function(o,a,p){var E=-1,B=typeof a=="function",Z=ho(o)?Ie(o.length):[];return Jo(o,function(se){Z[++E]=B?sn(a,se,p):ao(se,a,p)}),Z}),lw=Hl(function(o,a,p){Ri(o,p,a)});function dd(o,a){var p=yr(o)?Yr:Gi;return p(o,rr(a,3))}function cw(o,a,p,E){return o==null?[]:(yr(a)||(a=a==null?[]:[a]),p=E?t:p,yr(p)||(p=p==null?[]:[p]),Dl(o,a,p))}var uw=Hl(function(o,a,p){o[p?0:1].push(a)},function(){return[[],[]]});function fw(o,a,p){var E=yr(o)?wa:z,B=arguments.length<3;return E(o,rr(a,4),p,B,Jo)}function dw(o,a,p){var E=yr(o)?cl:z,B=arguments.length<3;return E(o,rr(a,4),p,B,_c)}function hw(o,a){var p=yr(o)?$i:gu;return p(o,gd(rr(a,3)))}function pw(o){var a=yr(o)?gi:Ha;return a(o)}function gw(o,a,p){(p?Ki(o,a,p):a===t)?a=1:a=wr(a);var E=yr(o)?ki:Tc;return E(o,a)}function mw(o){var a=yr(o)?so:kc;return a(o)}function vw(o){if(o==null)return 0;if(ho(o))return vd(o)?Ys(o):o.length;var a=ji(o);return a==Re||a==Ct?o.size:Oo(o).length}function yw(o,a,p){var E=yr(o)?zo:mf;return p&&Ki(o,a,p)&&(a=t),E(o,rr(a,3))}var bw=pr(function(o,a){if(o==null)return[];var p=a.length;return p>1&&Ki(o,a[0],a[1])?a=[]:p>2&&Ki(a[0],a[1],a[2])&&(a=[a[0]]),Dl(o,Hn(a,1),[])}),hd=Ra||function(){return lr.Date.now()};function _w(o,a){if(typeof a!="function")throw new Ni(u);return o=wr(o),function(){if(--o<1)return a.apply(this,arguments)}}function dv(o,a,p){return a=p?t:a,a=o&&a==null?o.length:a,Wa(o,Y,t,t,t,t,a)}function hv(o,a){var p;if(typeof a!="function")throw new Ni(u);return o=wr(o),function(){return--o>0&&(p=a.apply(this,arguments)),o<=1&&(a=t),p}}var Dh=pr(function(o,a,p){var E=A;if(p.length){var B=Co(p,Au(Dh));E|=q}return Wa(o,E,a,p,B)}),pv=pr(function(o,a,p){var E=A|b;if(p.length){var B=Co(p,Au(pv));E|=q}return Wa(a,E,o,p,B)});function gv(o,a,p){a=p?t:a;var E=Wa(o,O,t,t,t,t,t,a);return E.placeholder=gv.placeholder,E}function mv(o,a,p){a=p?t:a;var E=Wa(o,H,t,t,t,t,t,a);return E.placeholder=mv.placeholder,E}function vv(o,a,p){var E,B,Z,se,de,ve,Ve=0,Ge=!1,nt=!1,kt=!0;if(typeof o!="function")throw new Ni(u);a=ss(a)||0,Ln(p)&&(Ge=!!p.leading,nt="maxWait"in p,Z=nt?ln(ss(p.maxWait)||0,a):Z,kt="trailing"in p?!!p.trailing:kt);function Wt(Un){var Is=E,Ka=B;return E=B=t,Ve=Un,se=o.apply(Ka,Is),se}function ir(Un){return Ve=Un,de=xf(Nr,a),Ge?Wt(Un):se}function Tr(Un){var Is=Un-ve,Ka=Un-Ve,Nv=a-Is;return nt?In(Nv,Z-Ka):Nv}function or(Un){var Is=Un-ve,Ka=Un-Ve;return ve===t||Is>=a||Is<0||nt&&Ka>=Z}function Nr(){var Un=hd();if(or(Un))return qr(Un);de=xf(Nr,Tr(Un))}function qr(Un){return de=t,kt&&E?Wt(Un):(E=B=t,se)}function jo(){de!==t&&rs(de),Ve=0,E=ve=B=de=t}function Xi(){return de===t?se:qr(hd())}function Fo(){var Un=hd(),Is=or(Un);if(E=arguments,B=this,ve=Un,Is){if(de===t)return ir(ve);if(nt)return rs(de),de=xf(Nr,a),Wt(ve)}return de===t&&(de=xf(Nr,a)),se}return Fo.cancel=jo,Fo.flush=Xi,Fo}var xw=pr(function(o,a){return bc(o,1,a)}),Sw=pr(function(o,a,p){return bc(o,ss(a)||0,p)});function Cw(o){return Wa(o,ee)}function pd(o,a){if(typeof o!="function"||a!=null&&typeof a!="function")throw new Ni(u);var p=function(){var E=arguments,B=a?a.apply(this,E):E[0],Z=p.cache;if(Z.has(B))return Z.get(B);var se=o.apply(this,E);return p.cache=Z.set(B,se)||Z,se};return p.cache=new(pd.Cache||Mo),p}pd.Cache=Mo;function gd(o){if(typeof o!="function")throw new Ni(u);return function(){var a=arguments;switch(a.length){case 0:return!o.call(this);case 1:return!o.call(this,a[0]);case 2:return!o.call(this,a[0],a[1]);case 3:return!o.call(this,a[0],a[1],a[2])}return!o.apply(this,a)}}function ww(o){return hv(2,o)}var Aw=vf(function(o,a){a=a.length==1&&yr(a[0])?Yr(a[0],Bt(rr())):Yr(Hn(a,1),Bt(rr()));var p=a.length;return pr(function(E){for(var B=-1,Z=In(E.length,p);++B<Z;)E[B]=a[B].call(this,E[B]);return sn(o,this,E)})}),Oh=pr(function(o,a){var p=Co(a,Au(Oh));return Wa(o,q,t,a,p)}),yv=pr(function(o,a){var p=Co(a,Au(yv));return Wa(o,G,t,a,p)}),Tw=Va(function(o,a){return Wa(o,ue,t,t,t,a)});function Ew(o,a){if(typeof o!="function")throw new Ni(u);return a=a===t?a:wr(a),pr(o,a)}function kw(o,a){if(typeof o!="function")throw new Ni(u);return a=a==null?0:ln(wr(a),0),pr(function(p){var E=p[a],B=co(p,0,a);return E&&Ci(B,E),sn(o,this,B)})}function Rw(o,a,p){var E=!0,B=!0;if(typeof o!="function")throw new Ni(u);return Ln(p)&&(E="leading"in p?!!p.leading:E,B="trailing"in p?!!p.trailing:B),vv(o,a,{leading:E,maxWait:a,trailing:B})}function Iw(o){return dv(o,1)}function Lw(o,a){return Oh(ts(a),o)}function Mw(){if(!arguments.length)return[];var o=arguments[0];return yr(o)?o:[o]}function Dw(o){return fi(o,_)}function Ow(o,a){return a=typeof a=="function"?a:t,fi(o,_,a)}function Pw(o){return fi(o,T|_)}function Nw(o,a){return a=typeof a=="function"?a:t,fi(o,T|_,a)}function jw(o,a){return a==null||yc(o,a,mi(a))}function Rs(o,a){return o===a||o!==o&&a!==a}var Fw=uo(ws),Bw=uo(function(o,a){return o>=a}),Fc=Il(function(){return arguments}())?Il:function(o){return Pn(o)&&Hr.call(o,"callee")&&!vl.call(o,"callee")},yr=Ie.isArray,qw=Qr?Bt(Qr):As;function ho(o){return o!=null&&md(o.length)&&!Za(o)}function $n(o){return Pn(o)&&ho(o)}function Hw(o){return o===!0||o===!1||Pn(o)&&On(o)==Ke}var zl=bl||Wh,zw=li?Bt(li):vu;function $w(o){return Pn(o)&&o.nodeType===1&&!Sf(o)}function Uw(o){if(o==null)return!0;if(ho(o)&&(yr(o)||typeof o=="string"||typeof o.splice=="function"||zl(o)||Tu(o)||Fc(o)))return!o.length;var a=ji(o);if(a==Re||a==Ct)return!o.size;if(_f(o))return!Oo(o).length;for(var p in o)if(Hr.call(o,p))return!1;return!0}function Ww(o,a){return ja(o,a)}function Vw(o,a,p){p=typeof p=="function"?p:t;var E=p?p(o,a):t;return E===t?ja(o,a,t,p):!!E}function Ph(o){if(!Pn(o))return!1;var a=On(o);return a==ke||a==Oe||typeof o.message=="string"&&typeof o.name=="string"&&!Sf(o)}function Gw(o){return typeof o=="number"&&ta(o)}function Za(o){if(!Ln(o))return!1;var a=On(o);return a==Ee||a==Ne||a==pt||a==mt}function bv(o){return typeof o=="number"&&o==wr(o)}function md(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=ae}function Ln(o){var a=typeof o;return o!=null&&(a=="object"||a=="function")}function Pn(o){return o!=null&&typeof o=="object"}var _v=pi?Bt(pi):ua;function Zw(o,a){return o===a||Sc(o,a,Ah(a))}function Yw(o,a,p){return p=typeof p=="function"?p:t,Sc(o,a,Ah(a),p)}function Kw(o){return xv(o)&&o!=+o}function Xw(o){if(OS(o))throw new Qt(l);return yu(o)}function Jw(o){return o===null}function Qw(o){return o==null}function xv(o){return typeof o=="number"||Pn(o)&&On(o)==Je}function Sf(o){if(!Pn(o)||On(o)!=xt)return!1;var a=ms(o);if(a===null)return!0;var p=Hr.call(a,"constructor")&&a.constructor;return typeof p=="function"&&p instanceof p&&Uo.call(p)==oc}var Nh=Fn?Bt(Fn):Ts;function e3(o){return bv(o)&&o>=-9007199254740991&&o<=ae}var Sv=_o?Bt(_o):Ll;function vd(o){return typeof o=="string"||!yr(o)&&Pn(o)&&On(o)==ct}function No(o){return typeof o=="symbol"||Pn(o)&&On(o)==ut}var Tu=zi?Bt(zi):Do;function t3(o){return o===t}function r3(o){return Pn(o)&&ji(o)==Se}function n3(o){return Pn(o)&&On(o)==Ze}var i3=uo(Vi),o3=uo(function(o,a){return o<=a});function Cv(o){if(!o)return[];if(ho(o))return vd(o)?un(o):ni(o);if(Ui&&o[Ui])return rc(o[Ui]());var a=ji(o),p=a==Re?nc:a==Ct?Ta:Eu;return p(o)}function Ya(o){if(!o)return o===0?o:0;if(o=ss(o),o===me||o===-1/0){var a=o<0?-1:1;return a*be}return o===o?o:0}function wr(o){var a=Ya(o),p=a%1;return a===a?p?a-p:a:0}function wv(o){return o?Ss(wr(o),0,xe):0}function ss(o){if(typeof o=="number")return o;if(No(o))return ge;if(Ln(o)){var a=typeof o.valueOf=="function"?o.valueOf():o;o=Ln(a)?a+"":a}if(typeof o!="string")return o===0?o:+o;o=dt(o);var p=Mr.test(o);return p||fr.test(o)?qt(o.slice(2),p?2:8):Kt.test(o)?ge:+o}function Av(o){return Yi(o,po(o))}function s3(o){return o?Ss(wr(o),-9007199254740991,ae):o===0?o:0}function tn(o){return o==null?"":Mi(o)}var a3=f(function(o,a){if(_f(a)||ho(a)){Yi(a,mi(a),o);return}for(var p in a)Hr.call(a,p)&&ui(o,p,a[p])}),Tv=f(function(o,a){Yi(a,po(a),o)}),yd=f(function(o,a,p,E){Yi(a,po(a),o,E)}),l3=f(function(o,a,p,E){Yi(a,mi(a),o,E)}),c3=Va(mc);function u3(o,a){var p=Io(o);return a==null?p:hu(p,a)}var f3=pr(function(o,a){o=$r(o);var p=-1,E=a.length,B=E>2?a[2]:t;for(B&&Ki(a[0],a[1],B)&&(E=1);++p<E;)for(var Z=a[p],se=po(Z),de=-1,ve=se.length;++de<ve;){var Ve=se[de],Ge=o[Ve];(Ge===t||Rs(Ge,$o[Ve])&&!Hr.call(o,Ve))&&(o[Ve]=Z[Ve])}return o}),d3=pr(function(o){return o.push(t,$m),sn(Ev,t,o)});function h3(o,a){return hs(o,rr(a,3),Ii)}function p3(o,a){return hs(o,rr(a,3),Tl)}function g3(o,a){return o==null?o:xc(o,rr(a,3),po)}function m3(o,a){return o==null?o:mu(o,rr(a,3),po)}function v3(o,a){return o&&Ii(o,rr(a,3))}function y3(o,a){return o&&Tl(o,rr(a,3))}function b3(o){return o==null?[]:sa(o,mi(o))}function _3(o){return o==null?[]:sa(o,po(o))}function jh(o,a,p){var E=o==null?t:Qo(o,a);return E===t?p:E}function x3(o,a){return o!=null&&Vm(o,a,El)}function Fh(o,a){return o!=null&&Vm(o,a,aa)}var S3=rt(function(o,a,p){a!=null&&typeof a.toString!="function"&&(a=Ao.call(a)),o[a]=p},qh(go)),C3=rt(function(o,a,p){a!=null&&typeof a.toString!="function"&&(a=Ao.call(a)),Hr.call(o,a)?o[a].push(p):o[a]=[p]},rr),w3=pr(ao);function mi(o){return ho(o)?Pa(o):Oo(o)}function po(o){return ho(o)?Pa(o,!0):Fa(o)}function A3(o,a){var p={};return a=rr(a,3),Ii(o,function(E,B,Z){Ri(p,a(E,B,Z),E)}),p}function T3(o,a){var p={};return a=rr(a,3),Ii(o,function(E,B,Z){Ri(p,B,a(E,B,Z))}),p}var E3=f(function(o,a,p){es(o,a,p)}),Ev=f(function(o,a,p,E){es(o,a,p,E)}),k3=Va(function(o,a){var p={};if(o==null)return p;var E=!1;a=Yr(a,function(Z){return Z=Po(Z,o),E||(E=Z.length>1),Z}),Yi(o,Ch(o),p),E&&(p=fi(p,T|C|_,SS));for(var B=a.length;B--;)Rc(p,a[B]);return p});function R3(o,a){return kv(o,gd(rr(a)))}var I3=Va(function(o,a){return o==null?{}:qa(o,a)});function kv(o,a){if(o==null)return{};var p=Yr(Ch(o),function(E){return[E]});return a=rr(a),da(o,p,function(E,B){return a(E,B[0])})}function L3(o,a,p){a=Po(a,o);var E=-1,B=a.length;for(B||(B=1,o=t);++E<B;){var Z=o==null?t:o[pa(a[E])];Z===t&&(E=B,Z=p),o=Za(Z)?Z.call(o):Z}return o}function M3(o,a,p){return o==null?o:ks(o,a,p)}function D3(o,a,p,E){return E=typeof E=="function"?E:t,o==null?o:ks(o,a,p,E)}var Rv=ad(mi),Iv=ad(po);function O3(o,a,p){var E=yr(o),B=E||zl(o)||Tu(o);if(a=rr(a,4),p==null){var Z=o&&o.constructor;B?p=E?new Z:[]:Ln(o)?p=Za(Z)?Io(ms(o)):{}:p={}}return(B?Bn:Ii)(o,function(se,de,ve){return a(p,se,de,ve)}),p}function P3(o,a){return o==null?!0:Rc(o,a)}function N3(o,a,p){return o==null?o:za(o,a,ts(p))}function j3(o,a,p,E){return E=typeof E=="function"?E:t,o==null?o:za(o,a,ts(p),E)}function Eu(o){return o==null?[]:cr(o,mi(o))}function F3(o){return o==null?[]:cr(o,po(o))}function B3(o,a,p){return p===t&&(p=a,a=t),p!==t&&(p=ss(p),p=p===p?p:0),a!==t&&(a=ss(a),a=a===a?a:0),Ss(ss(o),a,p)}function q3(o,a,p){return a=Ya(a),p===t?(p=a,a=0):p=Ya(p),o=ss(o),kl(o,a,p)}function H3(o,a,p){if(p&&typeof p!="boolean"&&Ki(o,a,p)&&(a=p=t),p===t&&(typeof a=="boolean"?(p=a,a=t):typeof o=="boolean"&&(p=o,o=t)),o===t&&a===t?(o=0,a=1):(o=Ya(o),a===t?(a=o,o=0):a=Ya(a)),o>a){var E=o;o=a,a=E}if(p||o%1||a%1){var B=Go();return In(o+B*(a-o+Ut("1e-"+((B+"").length-1))),a)}return Es(o,a)}var z3=L(function(o,a,p){return a=a.toLowerCase(),o+(p?Lv(a):a)});function Lv(o){return Bh(tn(o).toLowerCase())}function Mv(o){return o=tn(o),o&&o.replace(gr,Ai).replace(to,"")}function $3(o,a,p){o=tn(o),a=Mi(a);var E=o.length;p=p===t?E:Ss(wr(p),0,E);var B=p;return p-=a.length,p>=0&&o.slice(p,B)==a}function U3(o){return o=tn(o),o&&Ft.test(o)?o.replace(wt,Gs):o}function W3(o){return o=tn(o),o&&Rt.test(o)?o.replace(st,"\\$&"):o}var V3=L(function(o,a,p){return o+(p?"-":"")+a.toLowerCase()}),G3=L(function(o,a,p){return o+(p?" ":"")+a.toLowerCase()}),Z3=y("toLowerCase");function Y3(o,a,p){o=tn(o),a=wr(a);var E=a?Ys(o):0;if(!a||E>=a)return o;var B=(a-E)/2;return Lr(vs(B),p)+o+Lr(Qs(B),p)}function K3(o,a,p){o=tn(o),a=wr(a);var E=a?Ys(o):0;return a&&E<a?o+Lr(a-E,p):o}function X3(o,a,p){o=tn(o),a=wr(a);var E=a?Ys(o):0;return a&&E<a?Lr(a-E,p)+o:o}function J3(o,a,p){return p||a==null?a=0:a&&(a=+a),lc(tn(o).replace(bt,""),a||0)}function Q3(o,a,p){return(p?Ki(o,a,p):a===t)?a=1:a=wr(a),Ol(tn(o),a)}function eA(){var o=arguments,a=tn(o[0]);return o.length<3?a:a.replace(o[1],o[2])}var tA=L(function(o,a,p){return o+(p?"_":"")+a.toLowerCase()});function rA(o,a,p){return p&&typeof p!="number"&&Ki(o,a,p)&&(a=p=t),p=p===t?xe:p>>>0,p?(o=tn(o),o&&(typeof a=="string"||a!=null&&!Nh(a))&&(a=Mi(a),!a&&Zs(o))?co(un(o),0,p):o.split(a,p)):[]}var nA=L(function(o,a,p){return o+(p?" ":"")+Bh(a)});function iA(o,a,p){return o=tn(o),p=p==null?0:Ss(wr(p),0,o.length),a=Mi(a),o.slice(p,p+a.length)==a}function oA(o,a,p){var E=$.templateSettings;p&&Ki(o,a,p)&&(a=t),o=tn(o),a=yd({},a,E,zm);var B=yd({},a.imports,E.imports,zm),Z=mi(B),se=cr(B,Z),de,ve,Ve=0,Ge=a.interpolate||Vn,nt="__p += '",kt=Ks((a.escape||Vn).source+"|"+Ge.source+"|"+(Ge===Rr?Yt:Vn).source+"|"+(a.evaluate||Vn).source+"|$","g"),Wt="//# sourceURL="+(Hr.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Dr+"]")+`
|
36
|
-
`;o.replace(kt,function(or,Nr,qr,jo,Xi,Fo){return qr||(qr=jo),nt+=o.slice(
|
35
|
+
`)}function LS(o){return yr(o)||Fc(o)||!!(yl&&o&&o[yl])}function Ga(o,a){var p=typeof o;return a=a??le,!!a&&(p=="number"||p!="symbol"&&zr.test(o))&&o>-1&&o%1==0&&o<a}function Ki(o,a,p){if(!Ln(p))return!1;var E=typeof a;return(E=="number"?ho(p)&&Ga(a,p.length):E=="string"&&a in p)?Rs(p[a],o):!1}function Eh(o,a){if(yr(o))return!1;var p=typeof o;return p=="number"||p=="symbol"||p=="boolean"||o==null||No(o)?!0:xr.test(o)||!ur.test(o)||a!=null&&o in $r(a)}function MS(o){var a=typeof o;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?o!=="__proto__":o===null}function kh(o){var a=ld(o),p=$[a];if(typeof p!="function"||!(a in mr.prototype))return!1;if(o===p)return!0;var E=wh(p);return!!E&&o===E[0]}function DS(o){return!!an&&an in o}var OS=en?Za:Wh;function _f(o){var a=o&&o.constructor,p=typeof a=="function"&&a.prototype||$o;return o===p}function Zm(o){return o===o&&!Ln(o)}function Ym(o,a){return function(p){return p==null?!1:p[o]===a&&(a!==t||o in $r(p))}}function PS(o){var a=pd(o,function(E){return p.size===m&&p.clear(),E}),p=a.cache;return a}function NS(o,a){var p=o[1],E=a[1],B=p|E,Z=B<(A|b|Y),se=E==Y&&p==O||E==Y&&p==ue&&o[7].length<=a[8]||E==(Y|ue)&&a[7].length<=a[8]&&p==O;if(!(Z||se))return o;E&A&&(o[2]=a[2],B|=p&A?0:k);var de=a[3];if(de){var ve=o[3];o[3]=ve?Cu(ve,de,a[4]):de,o[4]=ve?Co(o[3],M):a[4]}return de=a[5],de&&(ve=o[5],o[5]=ve?Pc(ve,de,a[6]):de,o[6]=ve?Co(o[5],M):a[6]),de=a[7],de&&(o[7]=de),E&Y&&(o[8]=o[8]==null?a[8]:In(o[8],a[8])),o[9]==null&&(o[9]=a[9]),o[0]=a[0],o[1]=B,o}function jS(o){var a=[];if(o!=null)for(var p in $r(o))a.push(p);return a}function FS(o){return Ao.call(o)}function Km(o,a,p){return a=ln(a===t?o.length-1:a,0),function(){for(var E=arguments,B=-1,Z=ln(E.length-a,0),se=Re(Z);++B<Z;)se[B]=E[a+B];B=-1;for(var de=Re(a+1);++B<a;)de[B]=E[B];return de[a]=p(se),sn(o,this,de)}}function Xm(o,a){return a.length<2?o:Qo(o,Li(a,0,-1))}function BS(o,a){for(var p=o.length,E=In(a.length,p),B=ni(o);E--;){var Z=a[E];o[E]=Ga(Z,p)?B[Z]:t}return o}function Rh(o,a){if(!(a==="constructor"&&typeof o[a]=="function")&&a!="__proto__")return o[a]}var Jm=ev(Ec),xf=au||function(o,a){return lr.setTimeout(o,a)},Ih=ev(_u);function Qm(o,a,p){var E=a+"";return Ih(o,IS(E,qS(ES(E),p)))}function ev(o){var a=0,p=0;return function(){var E=Vo(),B=K-(E-p);if(p=E,B>0){if(++a>=re)return arguments[0]}else a=0;return o.apply(t,arguments)}}function ud(o,a){var p=-1,E=o.length,B=E-1;for(a=a===t?E:a;++p<a;){var Z=Es(p,B),se=o[Z];o[Z]=o[p],o[p]=se}return o.length=a,o}var tv=PS(function(o){var a=[];return o.charCodeAt(0)===46&&a.push(""),o.replace(Wr,function(p,E,B,Z){a.push(B?Z.replace(er,"$1"):E||p)}),a});function pa(o){if(typeof o=="string"||No(o))return o;var a=o+"";return a=="0"&&1/o==-1/0?"-0":a}function jc(o){if(o!=null){try{return Uo.call(o)}catch{}try{return o+""}catch{}}return""}function qS(o,a){return Bn(Ve,function(p){var E="_."+p[0];a&p[1]&&!xo(o,E)&&o.push(E)}),o.sort()}function rv(o){if(o instanceof mr)return o.clone();var a=new ti(o.__wrapped__,o.__chain__);return a.__actions__=ni(o.__actions__),a.__index__=o.__index__,a.__values__=o.__values__,a}function HS(o,a,p){(p?Ki(o,a,p):a===t)?a=1:a=ln(wr(a),0);var E=o==null?0:o.length;if(!E||a<1)return[];for(var B=0,Z=0,se=Re(Qs(E/a));B<E;)se[Z++]=Li(o,B,B+=a);return se}function zS(o){for(var a=-1,p=o==null?0:o.length,E=0,B=[];++a<p;){var Z=o[a];Z&&(B[E++]=Z)}return B}function $S(){var o=arguments.length;if(!o)return[];for(var a=Re(o-1),p=arguments[0],E=o;E--;)a[E-1]=arguments[E];return Ci(yr(p)?ni(p):[p],Hn(a,1))}var US=pr(function(o,a){return $n(o)?Cs(o,Hn(a,1,$n,!0)):[]}),WS=pr(function(o,a){var p=os(a);return $n(p)&&(p=t),$n(o)?Cs(o,Hn(a,1,$n,!0),rr(p,2)):[]}),VS=pr(function(o,a){var p=os(a);return $n(p)&&(p=t),$n(o)?Cs(o,Hn(a,1,$n,!0),t,p):[]});function GS(o,a,p){var E=o==null?0:o.length;return E?(a=p||a===t?1:wr(a),Li(o,a<0?0:a,E)):[]}function ZS(o,a,p){var E=o==null?0:o.length;return E?(a=p||a===t?1:wr(a),a=E-a,Li(o,0,a<0?0:a)):[]}function YS(o,a){return o&&o.length?Fl(o,rr(a,3),!0,!0):[]}function KS(o,a){return o&&o.length?Fl(o,rr(a,3),!0):[]}function XS(o,a,p,E){var B=o==null?0:o.length;return B?(p&&typeof p!="number"&&Ki(o,a,p)&&(p=0,E=B),gf(o,a,p,E)):[]}function nv(o,a,p){var E=o==null?0:o.length;if(!E)return-1;var B=p==null?0:wr(p);return B<0&&(B=ln(E+B,0)),ps(o,rr(a,3),B)}function iv(o,a,p){var E=o==null?0:o.length;if(!E)return-1;var B=E-1;return p!==t&&(B=wr(p),B=p<0?ln(E+B,0):In(B,E-1)),ps(o,rr(a,3),B,!0)}function ov(o){var a=o==null?0:o.length;return a?Hn(o,1):[]}function JS(o){var a=o==null?0:o.length;return a?Hn(o,me):[]}function QS(o,a){var p=o==null?0:o.length;return p?(a=a===t?1:wr(a),Hn(o,a)):[]}function eC(o){for(var a=-1,p=o==null?0:o.length,E={};++a<p;){var B=o[a];E[B[0]]=B[1]}return E}function sv(o){return o&&o.length?o[0]:t}function tC(o,a,p){var E=o==null?0:o.length;if(!E)return-1;var B=p==null?0:wr(p);return B<0&&(B=ln(E+B,0)),So(o,a,B)}function rC(o){var a=o==null?0:o.length;return a?Li(o,0,-1):[]}var nC=pr(function(o){var a=Yr(o,Bl);return a.length&&a[0]===o[0]?la(a):[]}),iC=pr(function(o){var a=os(o),p=Yr(o,Bl);return a===os(p)?a=t:p.pop(),p.length&&p[0]===o[0]?la(p,rr(a,2)):[]}),oC=pr(function(o){var a=os(o),p=Yr(o,Bl);return a=typeof a=="function"?a:t,a&&p.pop(),p.length&&p[0]===o[0]?la(p,t,a):[]});function sC(o,a){return o==null?"":Ia.call(o,a)}function os(o){var a=o==null?0:o.length;return a?o[a-1]:t}function aC(o,a,p){var E=o==null?0:o.length;if(!E)return-1;var B=E;return p!==t&&(B=wr(p),B=B<0?ln(E+B,0):In(B,E-1)),a===a?nf(o,a,B):ps(o,Vs,B,!0)}function lC(o,a){return o&&o.length?fa(o,wr(a)):t}var cC=pr(av);function av(o,a){return o&&o.length&&a&&a.length?Cc(o,a):o}function uC(o,a,p){return o&&o.length&&a&&a.length?Cc(o,a,rr(p,2)):o}function fC(o,a,p){return o&&o.length&&a&&a.length?Cc(o,a,t,p):o}var dC=Va(function(o,a){var p=o==null?0:o.length,E=mc(o,a);return wc(o,Yr(a,function(B){return Ga(B,p)?+B:B}).sort(Ua)),E});function hC(o,a){var p=[];if(!(o&&o.length))return p;var E=-1,B=[],Z=o.length;for(a=rr(a,3);++E<Z;){var se=o[E];a(se,E,o)&&(p.push(se),B.push(E))}return wc(o,B),p}function Lh(o){return o==null?o:_l.call(o)}function pC(o,a,p){var E=o==null?0:o.length;return E?(p&&typeof p!="number"&&Ki(o,a,p)?(a=0,p=E):(a=a==null?0:wr(a),p=p===t?E:wr(p)),Li(o,a,p)):[]}function gC(o,a){return Pl(o,a)}function mC(o,a,p){return Nl(o,a,rr(p,2))}function vC(o,a){var p=o==null?0:o.length;if(p){var E=Pl(o,a);if(E<p&&Rs(o[E],a))return E}return-1}function yC(o,a){return Pl(o,a,!0)}function bC(o,a,p){return Nl(o,a,rr(p,2),!0)}function _C(o,a){var p=o==null?0:o.length;if(p){var E=Pl(o,a,!0)-1;if(Rs(o[E],a))return E}return-1}function xC(o){return o&&o.length?xu(o):[]}function SC(o,a){return o&&o.length?xu(o,rr(a,2)):[]}function CC(o){var a=o==null?0:o.length;return a?Li(o,1,a):[]}function wC(o,a,p){return o&&o.length?(a=p||a===t?1:wr(a),Li(o,0,a<0?0:a)):[]}function AC(o,a,p){var E=o==null?0:o.length;return E?(a=p||a===t?1:wr(a),a=E-a,Li(o,a<0?0:a,E)):[]}function TC(o,a){return o&&o.length?Fl(o,rr(a,3),!1,!0):[]}function EC(o,a){return o&&o.length?Fl(o,rr(a,3)):[]}var kC=pr(function(o){return An(Hn(o,1,$n,!0))}),RC=pr(function(o){var a=os(o);return $n(a)&&(a=t),An(Hn(o,1,$n,!0),rr(a,2))}),IC=pr(function(o){var a=os(o);return a=typeof a=="function"?a:t,An(Hn(o,1,$n,!0),t,a)});function LC(o){return o&&o.length?An(o):[]}function MC(o,a){return o&&o.length?An(o,rr(a,2)):[]}function DC(o,a){return a=typeof a=="function"?a:t,o&&o.length?An(o,t,a):[]}function Mh(o){if(!(o&&o.length))return[];var a=0;return o=$i(o,function(p){if($n(p))return a=ln(p.length,a),!0}),Ce(a,function(p){return Yr(o,w(p))})}function lv(o,a){if(!(o&&o.length))return[];var p=Mh(o);return a==null?p:Yr(p,function(E){return sn(a,t,E)})}var OC=pr(function(o,a){return $n(o)?Cs(o,a):[]}),PC=pr(function(o){return Ic($i(o,$n))}),NC=pr(function(o){var a=os(o);return $n(a)&&(a=t),Ic($i(o,$n),rr(a,2))}),jC=pr(function(o){var a=os(o);return a=typeof a=="function"?a:t,Ic($i(o,$n),t,a)}),FC=pr(Mh);function BC(o,a){return Lc(o||[],a||[],ui)}function qC(o,a){return Lc(o||[],a||[],ks)}var HC=pr(function(o){var a=o.length,p=a>1?o[a-1]:t;return p=typeof p=="function"?(o.pop(),p):t,lv(o,p)});function cv(o){var a=$(o);return a.__chain__=!0,a}function zC(o,a){return a(o),o}function fd(o,a){return a(o)}var $C=Va(function(o){var a=o.length,p=a?o[0]:0,E=this.__wrapped__,B=function(Z){return mc(Z,o)};return a>1||this.__actions__.length||!(E instanceof mr)||!Ga(p)?this.thru(B):(E=E.slice(p,+p+(a?1:0)),E.__actions__.push({func:fd,args:[B],thisArg:t}),new ti(E,this.__chain__).thru(function(Z){return a&&!Z.length&&Z.push(t),Z}))});function UC(){return cv(this)}function WC(){return new ti(this.value(),this.__chain__)}function VC(){this.__values__===t&&(this.__values__=Cv(this.value()));var o=this.__index__>=this.__values__.length,a=o?t:this.__values__[this.__index__++];return{done:o,value:a}}function GC(){return this}function ZC(o){for(var a,p=this;p instanceof Lo;){var E=rv(p);E.__index__=0,E.__values__=t,a?B.__wrapped__=E:a=E;var B=E;p=p.__wrapped__}return B.__wrapped__=o,a}function YC(){var o=this.__wrapped__;if(o instanceof mr){var a=o;return this.__actions__.length&&(a=new mr(this)),a=a.reverse(),a.__actions__.push({func:fd,args:[Lh],thisArg:t}),new ti(a,this.__chain__)}return this.thru(Lh)}function KC(){return ri(this.__wrapped__,this.__actions__)}var XC=Hl(function(o,a,p){Hr.call(o,p)?++o[p]:Ri(o,p,1)});function JC(o,a,p){var E=yr(o)?Ca:pu;return p&&Ki(o,a,p)&&(a=t),E(o,rr(a,3))}function QC(o,a){var p=yr(o)?$i:gu;return p(o,rr(a,3))}var ew=oe(nv),tw=oe(iv);function rw(o,a){return Hn(dd(o,a),1)}function nw(o,a){return Hn(dd(o,a),me)}function iw(o,a,p){return p=p===t?1:wr(p),Hn(dd(o,a),p)}function uv(o,a){var p=yr(o)?Bn:Jo;return p(o,rr(a,3))}function fv(o,a){var p=yr(o)?ll:_c;return p(o,rr(a,3))}var ow=Hl(function(o,a,p){Hr.call(o,p)?o[p].push(a):Ri(o,p,[a])});function sw(o,a,p,E){o=ho(o)?o:Eu(o),p=p&&!E?wr(p):0;var B=o.length;return p<0&&(p=ln(B+p,0)),vd(o)?p<=B&&o.indexOf(a,p)>-1:!!B&&So(o,a,p)>-1}var aw=pr(function(o,a,p){var E=-1,B=typeof a=="function",Z=ho(o)?Re(o.length):[];return Jo(o,function(se){Z[++E]=B?sn(a,se,p):ao(se,a,p)}),Z}),lw=Hl(function(o,a,p){Ri(o,p,a)});function dd(o,a){var p=yr(o)?Yr:Gi;return p(o,rr(a,3))}function cw(o,a,p,E){return o==null?[]:(yr(a)||(a=a==null?[]:[a]),p=E?t:p,yr(p)||(p=p==null?[]:[p]),Dl(o,a,p))}var uw=Hl(function(o,a,p){o[p?0:1].push(a)},function(){return[[],[]]});function fw(o,a,p){var E=yr(o)?wa:z,B=arguments.length<3;return E(o,rr(a,4),p,B,Jo)}function dw(o,a,p){var E=yr(o)?cl:z,B=arguments.length<3;return E(o,rr(a,4),p,B,_c)}function hw(o,a){var p=yr(o)?$i:gu;return p(o,gd(rr(a,3)))}function pw(o){var a=yr(o)?gi:Ha;return a(o)}function gw(o,a,p){(p?Ki(o,a,p):a===t)?a=1:a=wr(a);var E=yr(o)?ki:Tc;return E(o,a)}function mw(o){var a=yr(o)?so:kc;return a(o)}function vw(o){if(o==null)return 0;if(ho(o))return vd(o)?Ys(o):o.length;var a=ji(o);return a==ke||a==Ct?o.size:Oo(o).length}function yw(o,a,p){var E=yr(o)?zo:mf;return p&&Ki(o,a,p)&&(a=t),E(o,rr(a,3))}var bw=pr(function(o,a){if(o==null)return[];var p=a.length;return p>1&&Ki(o,a[0],a[1])?a=[]:p>2&&Ki(a[0],a[1],a[2])&&(a=[a[0]]),Dl(o,Hn(a,1),[])}),hd=Ra||function(){return lr.Date.now()};function _w(o,a){if(typeof a!="function")throw new Ni(u);return o=wr(o),function(){if(--o<1)return a.apply(this,arguments)}}function dv(o,a,p){return a=p?t:a,a=o&&a==null?o.length:a,Wa(o,Y,t,t,t,t,a)}function hv(o,a){var p;if(typeof a!="function")throw new Ni(u);return o=wr(o),function(){return--o>0&&(p=a.apply(this,arguments)),o<=1&&(a=t),p}}var Dh=pr(function(o,a,p){var E=A;if(p.length){var B=Co(p,Au(Dh));E|=q}return Wa(o,E,a,p,B)}),pv=pr(function(o,a,p){var E=A|b;if(p.length){var B=Co(p,Au(pv));E|=q}return Wa(a,E,o,p,B)});function gv(o,a,p){a=p?t:a;var E=Wa(o,O,t,t,t,t,t,a);return E.placeholder=gv.placeholder,E}function mv(o,a,p){a=p?t:a;var E=Wa(o,H,t,t,t,t,t,a);return E.placeholder=mv.placeholder,E}function vv(o,a,p){var E,B,Z,se,de,ve,We=0,Ge=!1,nt=!1,kt=!0;if(typeof o!="function")throw new Ni(u);a=ss(a)||0,Ln(p)&&(Ge=!!p.leading,nt="maxWait"in p,Z=nt?ln(ss(p.maxWait)||0,a):Z,kt="trailing"in p?!!p.trailing:kt);function Wt(Un){var Is=E,Ka=B;return E=B=t,We=Un,se=o.apply(Ka,Is),se}function ir(Un){return We=Un,de=xf(Nr,a),Ge?Wt(Un):se}function Tr(Un){var Is=Un-ve,Ka=Un-We,Nv=a-Is;return nt?In(Nv,Z-Ka):Nv}function or(Un){var Is=Un-ve,Ka=Un-We;return ve===t||Is>=a||Is<0||nt&&Ka>=Z}function Nr(){var Un=hd();if(or(Un))return qr(Un);de=xf(Nr,Tr(Un))}function qr(Un){return de=t,kt&&E?Wt(Un):(E=B=t,se)}function jo(){de!==t&&rs(de),We=0,E=ve=B=de=t}function Xi(){return de===t?se:qr(hd())}function Fo(){var Un=hd(),Is=or(Un);if(E=arguments,B=this,ve=Un,Is){if(de===t)return ir(ve);if(nt)return rs(de),de=xf(Nr,a),Wt(ve)}return de===t&&(de=xf(Nr,a)),se}return Fo.cancel=jo,Fo.flush=Xi,Fo}var xw=pr(function(o,a){return bc(o,1,a)}),Sw=pr(function(o,a,p){return bc(o,ss(a)||0,p)});function Cw(o){return Wa(o,ee)}function pd(o,a){if(typeof o!="function"||a!=null&&typeof a!="function")throw new Ni(u);var p=function(){var E=arguments,B=a?a.apply(this,E):E[0],Z=p.cache;if(Z.has(B))return Z.get(B);var se=o.apply(this,E);return p.cache=Z.set(B,se)||Z,se};return p.cache=new(pd.Cache||Mo),p}pd.Cache=Mo;function gd(o){if(typeof o!="function")throw new Ni(u);return function(){var a=arguments;switch(a.length){case 0:return!o.call(this);case 1:return!o.call(this,a[0]);case 2:return!o.call(this,a[0],a[1]);case 3:return!o.call(this,a[0],a[1],a[2])}return!o.apply(this,a)}}function ww(o){return hv(2,o)}var Aw=vf(function(o,a){a=a.length==1&&yr(a[0])?Yr(a[0],Bt(rr())):Yr(Hn(a,1),Bt(rr()));var p=a.length;return pr(function(E){for(var B=-1,Z=In(E.length,p);++B<Z;)E[B]=a[B].call(this,E[B]);return sn(o,this,E)})}),Oh=pr(function(o,a){var p=Co(a,Au(Oh));return Wa(o,q,t,a,p)}),yv=pr(function(o,a){var p=Co(a,Au(yv));return Wa(o,G,t,a,p)}),Tw=Va(function(o,a){return Wa(o,ue,t,t,t,a)});function Ew(o,a){if(typeof o!="function")throw new Ni(u);return a=a===t?a:wr(a),pr(o,a)}function kw(o,a){if(typeof o!="function")throw new Ni(u);return a=a==null?0:ln(wr(a),0),pr(function(p){var E=p[a],B=co(p,0,a);return E&&Ci(B,E),sn(o,this,B)})}function Rw(o,a,p){var E=!0,B=!0;if(typeof o!="function")throw new Ni(u);return Ln(p)&&(E="leading"in p?!!p.leading:E,B="trailing"in p?!!p.trailing:B),vv(o,a,{leading:E,maxWait:a,trailing:B})}function Iw(o){return dv(o,1)}function Lw(o,a){return Oh(ts(a),o)}function Mw(){if(!arguments.length)return[];var o=arguments[0];return yr(o)?o:[o]}function Dw(o){return fi(o,_)}function Ow(o,a){return a=typeof a=="function"?a:t,fi(o,_,a)}function Pw(o){return fi(o,T|_)}function Nw(o,a){return a=typeof a=="function"?a:t,fi(o,T|_,a)}function jw(o,a){return a==null||yc(o,a,mi(a))}function Rs(o,a){return o===a||o!==o&&a!==a}var Fw=uo(ws),Bw=uo(function(o,a){return o>=a}),Fc=Il(function(){return arguments}())?Il:function(o){return Pn(o)&&Hr.call(o,"callee")&&!vl.call(o,"callee")},yr=Re.isArray,qw=Qr?Bt(Qr):As;function ho(o){return o!=null&&md(o.length)&&!Za(o)}function $n(o){return Pn(o)&&ho(o)}function Hw(o){return o===!0||o===!1||Pn(o)&&On(o)==Ke}var zl=bl||Wh,zw=li?Bt(li):vu;function $w(o){return Pn(o)&&o.nodeType===1&&!Sf(o)}function Uw(o){if(o==null)return!0;if(ho(o)&&(yr(o)||typeof o=="string"||typeof o.splice=="function"||zl(o)||Tu(o)||Fc(o)))return!o.length;var a=ji(o);if(a==ke||a==Ct)return!o.size;if(_f(o))return!Oo(o).length;for(var p in o)if(Hr.call(o,p))return!1;return!0}function Ww(o,a){return ja(o,a)}function Vw(o,a,p){p=typeof p=="function"?p:t;var E=p?p(o,a):t;return E===t?ja(o,a,t,p):!!E}function Ph(o){if(!Pn(o))return!1;var a=On(o);return a==Ne||a==Oe||typeof o.message=="string"&&typeof o.name=="string"&&!Sf(o)}function Gw(o){return typeof o=="number"&&ta(o)}function Za(o){if(!Ln(o))return!1;var a=On(o);return a==Ae||a==Le||a==ht||a==mt}function bv(o){return typeof o=="number"&&o==wr(o)}function md(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=le}function Ln(o){var a=typeof o;return o!=null&&(a=="object"||a=="function")}function Pn(o){return o!=null&&typeof o=="object"}var _v=pi?Bt(pi):ua;function Zw(o,a){return o===a||Sc(o,a,Ah(a))}function Yw(o,a,p){return p=typeof p=="function"?p:t,Sc(o,a,Ah(a),p)}function Kw(o){return xv(o)&&o!=+o}function Xw(o){if(OS(o))throw new Qt(l);return yu(o)}function Jw(o){return o===null}function Qw(o){return o==null}function xv(o){return typeof o=="number"||Pn(o)&&On(o)==Je}function Sf(o){if(!Pn(o)||On(o)!=xt)return!1;var a=ms(o);if(a===null)return!0;var p=Hr.call(a,"constructor")&&a.constructor;return typeof p=="function"&&p instanceof p&&Uo.call(p)==oc}var Nh=Fn?Bt(Fn):Ts;function e3(o){return bv(o)&&o>=-9007199254740991&&o<=le}var Sv=_o?Bt(_o):Ll;function vd(o){return typeof o=="string"||!yr(o)&&Pn(o)&&On(o)==ct}function No(o){return typeof o=="symbol"||Pn(o)&&On(o)==ut}var Tu=zi?Bt(zi):Do;function t3(o){return o===t}function r3(o){return Pn(o)&&ji(o)==Se}function n3(o){return Pn(o)&&On(o)==Ze}var i3=uo(Vi),o3=uo(function(o,a){return o<=a});function Cv(o){if(!o)return[];if(ho(o))return vd(o)?un(o):ni(o);if(Ui&&o[Ui])return rc(o[Ui]());var a=ji(o),p=a==ke?nc:a==Ct?Ta:Eu;return p(o)}function Ya(o){if(!o)return o===0?o:0;if(o=ss(o),o===me||o===-1/0){var a=o<0?-1:1;return a*be}return o===o?o:0}function wr(o){var a=Ya(o),p=a%1;return a===a?p?a-p:a:0}function wv(o){return o?Ss(wr(o),0,xe):0}function ss(o){if(typeof o=="number")return o;if(No(o))return ge;if(Ln(o)){var a=typeof o.valueOf=="function"?o.valueOf():o;o=Ln(a)?a+"":a}if(typeof o!="string")return o===0?o:+o;o=dt(o);var p=Mr.test(o);return p||fr.test(o)?qt(o.slice(2),p?2:8):Kt.test(o)?ge:+o}function Av(o){return Yi(o,po(o))}function s3(o){return o?Ss(wr(o),-9007199254740991,le):o===0?o:0}function tn(o){return o==null?"":Mi(o)}var a3=f(function(o,a){if(_f(a)||ho(a)){Yi(a,mi(a),o);return}for(var p in a)Hr.call(a,p)&&ui(o,p,a[p])}),Tv=f(function(o,a){Yi(a,po(a),o)}),yd=f(function(o,a,p,E){Yi(a,po(a),o,E)}),l3=f(function(o,a,p,E){Yi(a,mi(a),o,E)}),c3=Va(mc);function u3(o,a){var p=Io(o);return a==null?p:hu(p,a)}var f3=pr(function(o,a){o=$r(o);var p=-1,E=a.length,B=E>2?a[2]:t;for(B&&Ki(a[0],a[1],B)&&(E=1);++p<E;)for(var Z=a[p],se=po(Z),de=-1,ve=se.length;++de<ve;){var We=se[de],Ge=o[We];(Ge===t||Rs(Ge,$o[We])&&!Hr.call(o,We))&&(o[We]=Z[We])}return o}),d3=pr(function(o){return o.push(t,$m),sn(Ev,t,o)});function h3(o,a){return hs(o,rr(a,3),Ii)}function p3(o,a){return hs(o,rr(a,3),Tl)}function g3(o,a){return o==null?o:xc(o,rr(a,3),po)}function m3(o,a){return o==null?o:mu(o,rr(a,3),po)}function v3(o,a){return o&&Ii(o,rr(a,3))}function y3(o,a){return o&&Tl(o,rr(a,3))}function b3(o){return o==null?[]:sa(o,mi(o))}function _3(o){return o==null?[]:sa(o,po(o))}function jh(o,a,p){var E=o==null?t:Qo(o,a);return E===t?p:E}function x3(o,a){return o!=null&&Vm(o,a,El)}function Fh(o,a){return o!=null&&Vm(o,a,aa)}var S3=rt(function(o,a,p){a!=null&&typeof a.toString!="function"&&(a=Ao.call(a)),o[a]=p},qh(go)),C3=rt(function(o,a,p){a!=null&&typeof a.toString!="function"&&(a=Ao.call(a)),Hr.call(o,a)?o[a].push(p):o[a]=[p]},rr),w3=pr(ao);function mi(o){return ho(o)?Pa(o):Oo(o)}function po(o){return ho(o)?Pa(o,!0):Fa(o)}function A3(o,a){var p={};return a=rr(a,3),Ii(o,function(E,B,Z){Ri(p,a(E,B,Z),E)}),p}function T3(o,a){var p={};return a=rr(a,3),Ii(o,function(E,B,Z){Ri(p,B,a(E,B,Z))}),p}var E3=f(function(o,a,p){es(o,a,p)}),Ev=f(function(o,a,p,E){es(o,a,p,E)}),k3=Va(function(o,a){var p={};if(o==null)return p;var E=!1;a=Yr(a,function(Z){return Z=Po(Z,o),E||(E=Z.length>1),Z}),Yi(o,Ch(o),p),E&&(p=fi(p,T|C|_,SS));for(var B=a.length;B--;)Rc(p,a[B]);return p});function R3(o,a){return kv(o,gd(rr(a)))}var I3=Va(function(o,a){return o==null?{}:qa(o,a)});function kv(o,a){if(o==null)return{};var p=Yr(Ch(o),function(E){return[E]});return a=rr(a),da(o,p,function(E,B){return a(E,B[0])})}function L3(o,a,p){a=Po(a,o);var E=-1,B=a.length;for(B||(B=1,o=t);++E<B;){var Z=o==null?t:o[pa(a[E])];Z===t&&(E=B,Z=p),o=Za(Z)?Z.call(o):Z}return o}function M3(o,a,p){return o==null?o:ks(o,a,p)}function D3(o,a,p,E){return E=typeof E=="function"?E:t,o==null?o:ks(o,a,p,E)}var Rv=ad(mi),Iv=ad(po);function O3(o,a,p){var E=yr(o),B=E||zl(o)||Tu(o);if(a=rr(a,4),p==null){var Z=o&&o.constructor;B?p=E?new Z:[]:Ln(o)?p=Za(Z)?Io(ms(o)):{}:p={}}return(B?Bn:Ii)(o,function(se,de,ve){return a(p,se,de,ve)}),p}function P3(o,a){return o==null?!0:Rc(o,a)}function N3(o,a,p){return o==null?o:za(o,a,ts(p))}function j3(o,a,p,E){return E=typeof E=="function"?E:t,o==null?o:za(o,a,ts(p),E)}function Eu(o){return o==null?[]:cr(o,mi(o))}function F3(o){return o==null?[]:cr(o,po(o))}function B3(o,a,p){return p===t&&(p=a,a=t),p!==t&&(p=ss(p),p=p===p?p:0),a!==t&&(a=ss(a),a=a===a?a:0),Ss(ss(o),a,p)}function q3(o,a,p){return a=Ya(a),p===t?(p=a,a=0):p=Ya(p),o=ss(o),kl(o,a,p)}function H3(o,a,p){if(p&&typeof p!="boolean"&&Ki(o,a,p)&&(a=p=t),p===t&&(typeof a=="boolean"?(p=a,a=t):typeof o=="boolean"&&(p=o,o=t)),o===t&&a===t?(o=0,a=1):(o=Ya(o),a===t?(a=o,o=0):a=Ya(a)),o>a){var E=o;o=a,a=E}if(p||o%1||a%1){var B=Go();return In(o+B*(a-o+Ut("1e-"+((B+"").length-1))),a)}return Es(o,a)}var z3=L(function(o,a,p){return a=a.toLowerCase(),o+(p?Lv(a):a)});function Lv(o){return Bh(tn(o).toLowerCase())}function Mv(o){return o=tn(o),o&&o.replace(gr,Ai).replace(to,"")}function $3(o,a,p){o=tn(o),a=Mi(a);var E=o.length;p=p===t?E:Ss(wr(p),0,E);var B=p;return p-=a.length,p>=0&&o.slice(p,B)==a}function U3(o){return o=tn(o),o&&Ft.test(o)?o.replace(wt,Gs):o}function W3(o){return o=tn(o),o&&Rt.test(o)?o.replace(st,"\\$&"):o}var V3=L(function(o,a,p){return o+(p?"-":"")+a.toLowerCase()}),G3=L(function(o,a,p){return o+(p?" ":"")+a.toLowerCase()}),Z3=y("toLowerCase");function Y3(o,a,p){o=tn(o),a=wr(a);var E=a?Ys(o):0;if(!a||E>=a)return o;var B=(a-E)/2;return Lr(vs(B),p)+o+Lr(Qs(B),p)}function K3(o,a,p){o=tn(o),a=wr(a);var E=a?Ys(o):0;return a&&E<a?o+Lr(a-E,p):o}function X3(o,a,p){o=tn(o),a=wr(a);var E=a?Ys(o):0;return a&&E<a?Lr(a-E,p)+o:o}function J3(o,a,p){return p||a==null?a=0:a&&(a=+a),lc(tn(o).replace(bt,""),a||0)}function Q3(o,a,p){return(p?Ki(o,a,p):a===t)?a=1:a=wr(a),Ol(tn(o),a)}function eA(){var o=arguments,a=tn(o[0]);return o.length<3?a:a.replace(o[1],o[2])}var tA=L(function(o,a,p){return o+(p?"_":"")+a.toLowerCase()});function rA(o,a,p){return p&&typeof p!="number"&&Ki(o,a,p)&&(a=p=t),p=p===t?xe:p>>>0,p?(o=tn(o),o&&(typeof a=="string"||a!=null&&!Nh(a))&&(a=Mi(a),!a&&Zs(o))?co(un(o),0,p):o.split(a,p)):[]}var nA=L(function(o,a,p){return o+(p?" ":"")+Bh(a)});function iA(o,a,p){return o=tn(o),p=p==null?0:Ss(wr(p),0,o.length),a=Mi(a),o.slice(p,p+a.length)==a}function oA(o,a,p){var E=$.templateSettings;p&&Ki(o,a,p)&&(a=t),o=tn(o),a=yd({},a,E,zm);var B=yd({},a.imports,E.imports,zm),Z=mi(B),se=cr(B,Z),de,ve,We=0,Ge=a.interpolate||Vn,nt="__p += '",kt=Ks((a.escape||Vn).source+"|"+Ge.source+"|"+(Ge===Rr?Yt:Vn).source+"|"+(a.evaluate||Vn).source+"|$","g"),Wt="//# sourceURL="+(Hr.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Dr+"]")+`
|
36
|
+
`;o.replace(kt,function(or,Nr,qr,jo,Xi,Fo){return qr||(qr=jo),nt+=o.slice(We,Fo).replace(Sn,hl),Nr&&(de=!0,nt+=`' +
|
37
37
|
__e(`+Nr+`) +
|
38
38
|
'`),Xi&&(ve=!0,nt+=`';
|
39
39
|
`+Xi+`;
|
40
40
|
__p += '`),qr&&(nt+=`' +
|
41
41
|
((__t = (`+qr+`)) == null ? '' : __t) +
|
42
|
-
'`),
|
42
|
+
'`),We=Fo+or.length,or}),nt+=`';
|
43
43
|
`;var ir=Hr.call(a,"variable")&&a.variable;if(!ir)nt=`with (obj) {
|
44
44
|
`+nt+`
|
45
45
|
}
|
@@ -49,9 +49,9 @@ __p += '`),qr&&(nt+=`' +
|
|
49
49
|
function print() { __p += __j.call(arguments, '') }
|
50
50
|
`:`;
|
51
51
|
`)+nt+`return __p
|
52
|
-
}`;var Tr=Ov(function(){return Or(Z,Wt+"return "+nt).apply(t,se)});if(Tr.source=nt,Ph(Tr))throw Tr;return Tr}function sA(o){return tn(o).toLowerCase()}function aA(o){return tn(o).toUpperCase()}function lA(o,a,p){if(o=tn(o),o&&(p||a===t))return dt(o);if(!o||!(a=Mi(a)))return o;var E=un(o),B=un(a),Z=Gr(E,B),se=ei(E,B)+1;return co(E,Z,se).join("")}function cA(o,a,p){if(o=tn(o),o&&(p||a===t))return o.slice(0,nu(o)+1);if(!o||!(a=Mi(a)))return o;var E=un(o),B=ei(E,un(a))+1;return co(E,0,B).join("")}function uA(o,a,p){if(o=tn(o),o&&(p||a===t))return o.replace(bt,"");if(!o||!(a=Mi(a)))return o;var E=un(o),B=Gr(E,un(a));return co(E,B).join("")}function fA(o,a){var p=fe,E=N;if(Ln(a)){var B="separator"in a?a.separator:B;p="length"in a?wr(a.length):p,E="omission"in a?Mi(a.omission):E}o=tn(o);var Z=o.length;if(Zs(o)){var se=un(o);Z=se.length}if(p>=Z)return o;var de=p-Ys(E);if(de<1)return E;var ve=se?co(se,0,de).join(""):o.slice(0,de);if(B===t)return ve+E;if(se&&(de+=ve.length-de),Nh(B)){if(o.slice(de).search(B)){var Ve,Ge=ve;for(B.global||(B=Ks(B.source,tn(Dt.exec(B))+"g")),B.lastIndex=0;Ve=B.exec(Ge);)var nt=Ve.index;ve=ve.slice(0,nt===t?de:nt)}}else if(o.indexOf(Mi(B),de)!=de){var kt=ve.lastIndexOf(B);kt>-1&&(ve=ve.slice(0,kt))}return ve+E}function dA(o){return o=tn(o),o&&Gt.test(o)?o.replace(vt,iu):o}var hA=L(function(o,a,p){return o+(p?" ":"")+a.toUpperCase()}),Bh=y("toUpperCase");function Dv(o,a,p){return o=tn(o),a=p?t:a,a===t?ef(o)?ou(o):Ws(o):o.match(a)||[]}var Ov=pr(function(o,a){try{return sn(o,t,a)}catch(p){return Ph(p)?p:new Qt(p)}}),pA=Va(function(o,a){return Bn(a,function(p){p=pa(p),Ri(o,p,Dh(o[p],o))}),o});function gA(o){var a=o==null?0:o.length,p=rr();return o=a?Yr(o,function(E){if(typeof E[1]!="function")throw new Ni(u);return[p(E[0]),E[1]]}):[],pr(function(E){for(var B=-1;++B<a;){var Z=o[B];if(sn(Z[0],this,E))return sn(Z[1],this,E)}})}function mA(o){return vc(fi(o,T))}function qh(o){return function(){return o}}function vA(o,a){return o==null||o!==o?a:o}var yA=_e(),bA=_e(!0);function go(o){return o}function Hh(o){return Ml(typeof o=="function"?o:fi(o,T))}function _A(o){return lo(fi(o,T))}function xA(o,a){return Ba(o,fi(a,T))}var SA=pr(function(o,a){return function(p){return ao(p,o,a)}}),CA=pr(function(o,a){return function(p){return ao(o,p,a)}});function zh(o,a,p){var E=mi(a),B=sa(a,E);p==null&&!(Ln(a)&&(B.length||!E.length))&&(p=a,a=o,o=this,B=sa(a,mi(a)));var Z=!(Ln(p)&&"chain"in p)||!!p.chain,se=Za(o);return Bn(B,function(de){var ve=a[de];o[de]=ve,se&&(o.prototype[de]=function(){var Ve=this.__chain__;if(Z||Ve){var Ge=o(this.__wrapped__),nt=Ge.__actions__=ni(this.__actions__);return nt.push({func:ve,args:arguments,thisArg:o}),Ge.__chain__=Ve,Ge}return ve.apply(o,Ci([this.value()],arguments))})}),o}function wA(){return lr._===this&&(lr._=sc),this}function $h(){}function AA(o){return o=wr(o),pr(function(a){return fa(a,o)})}var TA=Jt(Yr),EA=Jt(Ca),kA=Jt(zo);function Pv(o){return Eh(o)?w(pa(o)):bu(o)}function RA(o){return function(a){return o==null?t:Qo(o,a)}}var IA=ns(),LA=ns(!0);function Uh(){return[]}function Wh(){return!1}function MA(){return{}}function DA(){return""}function OA(){return!0}function PA(o,a){if(o=wr(o),o<1||o>ae)return[];var p=xe,E=In(o,xe);a=rr(a),o-=xe;for(var B=Ce(E,a);++p<o;)a(p);return B}function NA(o){return yr(o)?Yr(o,pa):No(o)?[o]:ni(tv(tn(o)))}function jA(o){var a=++ic;return tn(o)+a}var FA=yt(function(o,a){return o+a},0),BA=is("ceil"),qA=yt(function(o,a){return o/a},1),HA=is("floor");function zA(o){return o&&o.length?Al(o,go,ws):t}function $A(o,a){return o&&o.length?Al(o,rr(a,2),ws):t}function UA(o){return Aa(o,go)}function WA(o,a){return Aa(o,rr(a,2))}function VA(o){return o&&o.length?Al(o,go,Vi):t}function GA(o,a){return o&&o.length?Al(o,rr(a,2),Vi):t}var ZA=yt(function(o,a){return o*a},1),YA=is("round"),KA=yt(function(o,a){return o-a},0);function XA(o){return o&&o.length?Ae(o,go):0}function JA(o,a){return o&&o.length?Ae(o,rr(a,2)):0}return $.after=_w,$.ary=dv,$.assign=a3,$.assignIn=Tv,$.assignInWith=yd,$.assignWith=l3,$.at=c3,$.before=hv,$.bind=Dh,$.bindAll=pA,$.bindKey=pv,$.castArray=Mw,$.chain=cv,$.chunk=HS,$.compact=zS,$.concat=$S,$.cond=gA,$.conforms=mA,$.constant=qh,$.countBy=XC,$.create=u3,$.curry=gv,$.curryRight=mv,$.debounce=vv,$.defaults=f3,$.defaultsDeep=d3,$.defer=xw,$.delay=Sw,$.difference=US,$.differenceBy=WS,$.differenceWith=VS,$.drop=GS,$.dropRight=ZS,$.dropRightWhile=YS,$.dropWhile=KS,$.fill=XS,$.filter=QC,$.flatMap=rw,$.flatMapDeep=nw,$.flatMapDepth=iw,$.flatten=ov,$.flattenDeep=JS,$.flattenDepth=QS,$.flip=Cw,$.flow=yA,$.flowRight=bA,$.fromPairs=eC,$.functions=b3,$.functionsIn=_3,$.groupBy=ow,$.initial=rC,$.intersection=nC,$.intersectionBy=iC,$.intersectionWith=oC,$.invert=S3,$.invertBy=C3,$.invokeMap=aw,$.iteratee=Hh,$.keyBy=lw,$.keys=mi,$.keysIn=po,$.map=dd,$.mapKeys=A3,$.mapValues=T3,$.matches=_A,$.matchesProperty=xA,$.memoize=pd,$.merge=E3,$.mergeWith=Ev,$.method=SA,$.methodOf=CA,$.mixin=zh,$.negate=gd,$.nthArg=AA,$.omit=k3,$.omitBy=R3,$.once=ww,$.orderBy=cw,$.over=TA,$.overArgs=Aw,$.overEvery=EA,$.overSome=kA,$.partial=Oh,$.partialRight=yv,$.partition=uw,$.pick=I3,$.pickBy=kv,$.property=Pv,$.propertyOf=RA,$.pull=cC,$.pullAll=av,$.pullAllBy=uC,$.pullAllWith=fC,$.pullAt=dC,$.range=IA,$.rangeRight=LA,$.rearg=Tw,$.reject=hw,$.remove=hC,$.rest=Ew,$.reverse=Lh,$.sampleSize=gw,$.set=M3,$.setWith=D3,$.shuffle=mw,$.slice=pC,$.sortBy=bw,$.sortedUniq=xC,$.sortedUniqBy=SC,$.split=rA,$.spread=kw,$.tail=CC,$.take=wC,$.takeRight=AC,$.takeRightWhile=TC,$.takeWhile=EC,$.tap=zC,$.throttle=Rw,$.thru=fd,$.toArray=Cv,$.toPairs=Rv,$.toPairsIn=Iv,$.toPath=NA,$.toPlainObject=Av,$.transform=O3,$.unary=Iw,$.union=kC,$.unionBy=RC,$.unionWith=IC,$.uniq=LC,$.uniqBy=MC,$.uniqWith=DC,$.unset=P3,$.unzip=Mh,$.unzipWith=lv,$.update=N3,$.updateWith=j3,$.values=Eu,$.valuesIn=F3,$.without=OC,$.words=Dv,$.wrap=Lw,$.xor=PC,$.xorBy=NC,$.xorWith=jC,$.zip=FC,$.zipObject=BC,$.zipObjectDeep=qC,$.zipWith=HC,$.entries=Rv,$.entriesIn=Iv,$.extend=Tv,$.extendWith=yd,zh($,$),$.add=FA,$.attempt=Ov,$.camelCase=z3,$.capitalize=Lv,$.ceil=BA,$.clamp=B3,$.clone=Dw,$.cloneDeep=Pw,$.cloneDeepWith=Nw,$.cloneWith=Ow,$.conformsTo=jw,$.deburr=Mv,$.defaultTo=vA,$.divide=qA,$.endsWith=$3,$.eq=Rs,$.escape=U3,$.escapeRegExp=W3,$.every=JC,$.find=ew,$.findIndex=nv,$.findKey=h3,$.findLast=tw,$.findLastIndex=iv,$.findLastKey=p3,$.floor=HA,$.forEach=uv,$.forEachRight=fv,$.forIn=g3,$.forInRight=m3,$.forOwn=v3,$.forOwnRight=y3,$.get=jh,$.gt=Fw,$.gte=Bw,$.has=x3,$.hasIn=Fh,$.head=sv,$.identity=go,$.includes=sw,$.indexOf=tC,$.inRange=q3,$.invoke=w3,$.isArguments=Fc,$.isArray=yr,$.isArrayBuffer=qw,$.isArrayLike=ho,$.isArrayLikeObject=$n,$.isBoolean=Hw,$.isBuffer=zl,$.isDate=zw,$.isElement=$w,$.isEmpty=Uw,$.isEqual=Ww,$.isEqualWith=Vw,$.isError=Ph,$.isFinite=Gw,$.isFunction=Za,$.isInteger=bv,$.isLength=md,$.isMap=_v,$.isMatch=Zw,$.isMatchWith=Yw,$.isNaN=Kw,$.isNative=Xw,$.isNil=Qw,$.isNull=Jw,$.isNumber=xv,$.isObject=Ln,$.isObjectLike=Pn,$.isPlainObject=Sf,$.isRegExp=Nh,$.isSafeInteger=e3,$.isSet=Sv,$.isString=vd,$.isSymbol=No,$.isTypedArray=Tu,$.isUndefined=t3,$.isWeakMap=r3,$.isWeakSet=n3,$.join=sC,$.kebabCase=V3,$.last=os,$.lastIndexOf=aC,$.lowerCase=G3,$.lowerFirst=Z3,$.lt=i3,$.lte=o3,$.max=zA,$.maxBy=$A,$.mean=UA,$.meanBy=WA,$.min=VA,$.minBy=GA,$.stubArray=Uh,$.stubFalse=Wh,$.stubObject=MA,$.stubString=DA,$.stubTrue=OA,$.multiply=ZA,$.nth=lC,$.noConflict=wA,$.noop=$h,$.now=hd,$.pad=Y3,$.padEnd=K3,$.padStart=X3,$.parseInt=J3,$.random=H3,$.reduce=fw,$.reduceRight=dw,$.repeat=Q3,$.replace=eA,$.result=L3,$.round=YA,$.runInContext=pe,$.sample=pw,$.size=vw,$.snakeCase=tA,$.some=yw,$.sortedIndex=gC,$.sortedIndexBy=mC,$.sortedIndexOf=vC,$.sortedLastIndex=yC,$.sortedLastIndexBy=bC,$.sortedLastIndexOf=_C,$.startCase=nA,$.startsWith=iA,$.subtract=KA,$.sum=XA,$.sumBy=JA,$.template=oA,$.times=PA,$.toFinite=Ya,$.toInteger=wr,$.toLength=wv,$.toLower=sA,$.toNumber=ss,$.toSafeInteger=s3,$.toString=tn,$.toUpper=aA,$.trim=lA,$.trimEnd=cA,$.trimStart=uA,$.truncate=fA,$.unescape=dA,$.uniqueId=jA,$.upperCase=hA,$.upperFirst=Bh,$.each=uv,$.eachRight=fv,$.first=sv,zh($,function(){var o={};return Ii($,function(a,p){Hr.call($.prototype,p)||(o[p]=a)}),o}(),{chain:!1}),$.VERSION=n,Bn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(o){$[o].placeholder=$}),Bn(["drop","take"],function(o,a){mr.prototype[o]=function(p){p=p===t?1:ln(wr(p),0);var E=this.__filtered__&&!a?new mr(this):this.clone();return E.__filtered__?E.__takeCount__=In(p,E.__takeCount__):E.__views__.push({size:In(p,xe),type:o+(E.__dir__<0?"Right":"")}),E},mr.prototype[o+"Right"]=function(p){return this.reverse()[o](p).reverse()}}),Bn(["filter","map","takeWhile"],function(o,a){var p=a+1,E=p==ne||p==ce;mr.prototype[o]=function(B){var Z=this.clone();return Z.__iteratees__.push({iteratee:rr(B,3),type:p}),Z.__filtered__=Z.__filtered__||E,Z}}),Bn(["head","last"],function(o,a){var p="take"+(a?"Right":"");mr.prototype[o]=function(){return this[p](1).value()[0]}}),Bn(["initial","tail"],function(o,a){var p="drop"+(a?"":"Right");mr.prototype[o]=function(){return this.__filtered__?new mr(this):this[p](1)}}),mr.prototype.compact=function(){return this.filter(go)},mr.prototype.find=function(o){return this.filter(o).head()},mr.prototype.findLast=function(o){return this.reverse().find(o)},mr.prototype.invokeMap=pr(function(o,a){return typeof o=="function"?new mr(this):this.map(function(p){return ao(p,o,a)})}),mr.prototype.reject=function(o){return this.filter(gd(rr(o)))},mr.prototype.slice=function(o,a){o=wr(o);var p=this;return p.__filtered__&&(o>0||a<0)?new mr(p):(o<0?p=p.takeRight(-o):o&&(p=p.drop(o)),a!==t&&(a=wr(a),p=a<0?p.dropRight(-a):p.take(a-o)),p)},mr.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},mr.prototype.toArray=function(){return this.take(xe)},Ii(mr.prototype,function(o,a){var p=/^(?:filter|find|map|reject)|While$/.test(a),E=/^(?:head|last)$/.test(a),B=$[E?"take"+(a=="last"?"Right":""):a],Z=E||/^find/.test(a);B&&($.prototype[a]=function(){var se=this.__wrapped__,de=E?[1]:arguments,ve=se instanceof mr,Ve=de[0],Ge=ve||yr(se),nt=function(Nr){var qr=B.apply($,Ci([Nr],de));return E&&kt?qr[0]:qr};Ge&&p&&typeof Ve=="function"&&Ve.length!=1&&(ve=Ge=!1);var kt=this.__chain__,Wt=!!this.__actions__.length,ir=Z&&!kt,Tr=ve&&!Wt;if(!Z&&Ge){se=Tr?se:new mr(this);var or=o.apply(se,de);return or.__actions__.push({func:fd,args:[nt],thisArg:t}),new ti(or,kt)}return ir&&Tr?o.apply(this,de):(or=this.thru(nt),ir?E?or.value()[0]:or.value():or)})}),Bn(["pop","push","shift","sort","splice","unshift"],function(o){var a=ml[o],p=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",E=/^(?:pop|shift)$/.test(o);$.prototype[o]=function(){var B=arguments;if(E&&!this.__chain__){var Z=this.value();return a.apply(yr(Z)?Z:[],B)}return this[p](function(se){return a.apply(yr(se)?se:[],B)})}}),Ii(mr.prototype,function(o,a){var p=$[a];if(p){var E=p.name+"";Hr.call(ys,E)||(ys[E]=[]),ys[E].push({name:a,func:p})}}),ys[Ue(t,b).name]=[{name:"wrapper",func:t}],mr.prototype.clone=xl,mr.prototype.reverse=Da,mr.prototype.value=Sl,$.prototype.at=$C,$.prototype.chain=UC,$.prototype.commit=WC,$.prototype.next=VC,$.prototype.plant=ZC,$.prototype.reverse=YC,$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=KC,$.prototype.first=$.prototype.head,Ui&&($.prototype[Ui]=GC),$},wo=gl();Jr?((Jr.exports=wo)._=wo,Cr._=wo):lr._=wo}).call(o4)}(Lf,Lf.exports)),Lf.exports}var F_=s4();const el=il(F_),a4=r=>{try{return JSON.parse(r)}catch{return}},l4=(r,e)=>JSON.stringify(r,null,e),c4=r=>Object.keys(r),u4=r=>Object.values(r),f4=r=>Object.entries(r),d4=(r,e)=>{Object.entries(r).forEach(([t,n])=>e(t,n))},h4=(r,e)=>Object.keys(r).includes(e),p4=(r,e)=>Object.entries(r).map((t,n)=>e(t,n)),g4=(r,e)=>Object.entries(r).some(([t,n])=>e(t,n)),m4=(r,e)=>Object.entries(r).find(([t,n])=>e(t,n)),B_=r=>I.isValidElement(r)||typeof r=="string"||typeof r=="number"||typeof r=="boolean"||r===null||r===void 0||Array.isArray(r)&&r.every(B_),v4=(r,e)=>el.isEqual(r,e),Xt={equal:v4,parse:a4,stringify:l4,keys:c4,values:u4,entries:f4,forEach:d4,hasKey:h4,map:p4,some:g4,find:m4,isReactNode:B_},q_="_NoSelect_1wchx_1",H_="_IsFixedShape_1wchx_6",z_="_IsCursorPointer_1wchx_11",$_="_IsInteractive_1wchx_15",Bc={NoSelect:q_,IsFixedShape:H_,IsCursorPointer:z_,IsInteractive:$_},y4="_Display1_1udub_1",b4="_Display2_1udub_8",_4="_Title1_1udub_15",x4="_Title2_1udub_22",S4="_Title3_1udub_29",C4="_Headline1_1udub_36",w4="_Headline2_1udub_43",A4="_Body1Normal_1udub_50",T4="_Body1Reading_1udub_57",E4="_Label1_1udub_64",k4="_Label2_1udub_71",R4="_Caption1_1udub_78",I4="_Caption2_1udub_85",L4="_Regular_1udub_92",M4="_Medium_1udub_96",D4="_SemiBold_1udub_100",O4="_Bold_1udub_104",Di={Display1:y4,Display2:b4,Title1:_4,Title2:x4,Title3:S4,Headline1:C4,Headline2:w4,Body1Normal:A4,Body1Reading:T4,Label1:E4,Label2:k4,Caption1:R4,Caption2:I4,Regular:L4,Medium:M4,SemiBold:D4,Bold:O4};function Hv(...r){return r.filter(Boolean).join(" ")}const U_={NoSelect:Bc.NoSelect,IsClickable:Hv(Bc.NoSelect,Bc.IsCursorPointer,Bc.IsFixedShape),IsInteractive:Hv(Bc.NoSelect,Bc.IsCursorPointer,Bc.IsInteractive)},W_={Display1:Di.Display1,Display2:Di.Display2,Title1:Di.Title1,Title2:Di.Title2,Title3:Di.Title3,Headline1:Di.Headline1,Headline2:Di.Headline2,Body1Normal:Di.Body1Normal,Body1Reading:Di.Body1Reading,Label1:Di.Label1,Label2:Di.Label2,Caption1:Di.Caption1,Caption2:Di.Caption2,Regular:Di.Regular,Medium:Di.Medium,SemiBold:Di.SemiBold,Bold:Di.Bold};let om={};const $f={...U_,...W_,...om};let sm=Xt.keys($f);function P4(){Object.assign($f,om),sm=Xt.keys($f)}function N4(...r){let e=[];for(let t=0;t<r.length;t++){let n=r[t];sm.includes(n)&&(n=$f[n]),typeof n=="string"&&n!==""&&e.push(n)}return e.join(" ")}function j4(r,...e){const t=[],n=Xt.keys(r);for(let i=0;i<e.length;i++){let l=e[i];sm.includes(l)?l=$f[l]:n.includes(l)&&(l=r[l]),typeof l=="string"&&l!==""&&t.push(l)}return t.join(" ")}const qe={clsx:N4,sclsx:j4,classes:U_,typographies:W_,additionalClasses:om,updateKeys:P4},Oi={"2xs":12,xs:16,sm:20,md:24,lg:32,xl:40,"2xl":48,"3xl":64},lt=(r,e=Oi.md)=>{const t=Oi[r],n=t/e,i={xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:`0 0 ${e} ${e}`};if(n<0){const l=(e-t)/2;return{...i,viewBox:`${l} ${l} ${t} ${t}`,transform:`scale(${n})`}}return i},ku=(r,e=Oi.md)=>{const t=Oi[r],n=40,i=t/e,l={xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:`0 ${-(e*n)} ${e*n} ${e*n}`};if(i<0){const u=(e-t)/2;return{...l,viewBox:`${u} ${-(t*n)} ${t*n} ${t*n}`,transform:`scale(${i})`}}return l},ii=r=>({fill:"none",stroke:r,strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),Br=r=>{const{icon:e,svgRef:t,...n}=r,i=I.useMemo(()=>th[e],[e]);return v.jsx(i,{...n})},F4=r=>{const e=Xt.keys(r);return n=>{const{icon:i,svgRef:l,...u}=n,h=I.useMemo(()=>e.includes(i)?r[i]:th[i],[i]);return v.jsx(h,{...u})}},th=Object.freeze({ArrowDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"})})},ArrowUp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"})})},Chat:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M20 17.17 18.83 16H4V4h16v13.17zM20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"})})},"Check.Checked":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...lt(e,u),fill:n,...l,ref:i,children:[v.jsx("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"1.5",stroke:t}),v.jsx("path",{d:"M6.25009 10.4324L4.22884 8.41116C4.00148 8.1838 3.63305 8.18315 3.40489 8.40971V8.40971C3.17558 8.6374 3.17492 9.00808 3.40343 9.23658L5.54298 11.3761C5.93351 11.7667 6.56667 11.7667 6.9572 11.3761L12.8387 5.49459C13.0659 5.26741 13.0659 4.89908 12.8387 4.6719V4.6719C12.6116 4.44479 12.2435 4.4447 12.0162 4.6717L6.25009 10.4324Z",fill:t})]})},"Check.Indeterminate":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...lt(e,u),fill:n,...l,ref:i,children:[v.jsx("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"1.5",stroke:t}),v.jsx("rect",{x:"3",y:"7",width:"10",height:"1",fill:t})]})},"Check.UnChecked":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:i,...l}=r,u=Oi.xs;return v.jsx("svg",{...lt(e,u),fill:n,...l,ref:i,children:v.jsx("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"1.5",stroke:t})})},CircleCheck:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})})},ClipBoard:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"})})},Close:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})})},Document:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"})})},Menu:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"})})},Person:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})})},PersonOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),v.jsx("circle",{cx:"12",cy:"7",r:"4"})]})},Reset:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"})})},Search:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"})})},Send:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"})})},Spinner:(r={})=>{const{size:e="3xl",primaryColor:t="var(--label-strong)",secondaryColor:n="var(--elevation-10)",svgRef:i,...l}=r,u=Oi["3xl"];return v.jsxs("svg",{...lt(e,u),fill:"none",strokeWidth:"12",...l,ref:i,children:[v.jsx("circle",{cx:"32",cy:"32",r:"22",style:{...l.style,transition:"stroke var(--Transition)"},stroke:n}),v.jsx("path",{style:{...l.style,transition:"stroke var(--Transition)"},d:"M10 32C10 29.1109 10.569 26.2501 11.6746 23.581C12.7803 20.9118 14.4008 18.4865 16.4437 16.4436C18.4865 14.4008 20.9118 12.7803 23.581 11.6747C26.2501 10.569 29.1109 10 32 10",stroke:t,children:v.jsx("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 32 32",to:"360 32 32",dur:"1s",repeatCount:"indefinite",calcMode:"spline",keySplines:"0.27 0.71 0.78 0.44",keyTimes:"0;1"})})]})},Stop:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M6 6h12v12H6z"})})},TriangleAlert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 5.99 19.53 19H4.47L12 5.99M2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zm0 5h2v2h-2z"})})},TriangleAlert2:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}),v.jsx("line",{x1:"12",y1:"9",x2:"12",y2:"13"}),v.jsx("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})]})},Sun:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e,28),...ii(t),strokeWidth:1,...l,ref:i,children:[v.jsx("circle",{cx:"14",cy:"14",r:"3.5"}),v.jsx("path",{d:"M21.1213 21.1213L19 19"}),v.jsx("path",{d:"M24 14L21 14"}),v.jsx("path",{d:"M9.12132 19L7 21.1213"}),v.jsx("path",{d:"M14 21L14 24"}),v.jsx("path",{d:"M6.99977 7.00002L9.12109 9.12134"}),v.jsx("path",{d:"M4 14L7 14"}),v.jsx("path",{d:"M18.9998 9.12132L21.1211 7"}),v.jsx("path",{d:"M14 7L14 4"})]})},Moon:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="white",svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e,28),...l,ref:i,children:[v.jsx("mask",{id:"path-1-inside-1_640_3082",fill:n,children:v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 14.9271C21.7297 16.1977 19.9746 16.9836 18.036 16.9836C14.1593 16.9836 11.0167 13.841 11.0167 9.96435C11.0167 8.02554 11.8027 6.27032 13.0735 5C8.53643 5.47528 5 9.31228 5 13.9753C5 18.9595 9.04054 23 14.0248 23C18.6876 23 22.5244 19.4639 23 14.9271Z"})}),v.jsx("path",{d:"M23 14.9271L23.9945 15.0313L24.2889 12.2235L22.2928 14.2201L23 14.9271ZM13.0735 5L13.7805 5.70724L15.7772 3.71131L12.9694 4.00544L13.0735 5ZM22.2928 14.2201C21.2024 15.3108 19.6987 15.9836 18.036 15.9836V17.9836C20.2505 17.9836 22.257 17.0846 23.7072 15.6341L22.2928 14.2201ZM18.036 15.9836C14.7116 15.9836 12.0167 13.2887 12.0167 9.96435H10.0167C10.0167 14.3933 13.607 17.9836 18.036 17.9836V15.9836ZM12.0167 9.96435C12.0167 8.30147 12.6897 6.79768 13.7805 5.70724L12.3666 4.29276C10.9158 5.74295 10.0167 7.7496 10.0167 9.96435H12.0167ZM6 13.9753C6 9.8296 9.14442 6.41706 13.1777 5.99456L12.9694 4.00544C7.92844 4.5335 4 8.79496 4 13.9753H6ZM14.0248 22C9.59282 22 6 18.4072 6 13.9753H4C4 19.5118 8.48825 24 14.0248 24V22ZM22.0054 14.8228C21.5827 18.8559 18.1703 22 14.0248 22V24C19.2049 24 23.4662 20.0719 23.9945 15.0313L22.0054 14.8228Z",fill:t,mask:"url(#path-1-inside-1_640_3082)"})]})},CCTV:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="white",svgRef:i,...l}=r,u=Oi["2xs"];return v.jsxs("svg",{...lt(e,u),...l,ref:i,children:[v.jsx("rect",{x:"1",y:"5",width:"1",height:"5",fill:t}),v.jsx("path",{d:"M1.5 7.5H3L5 5.5",stroke:t}),v.jsx("rect",{x:"5.12132",y:"2",width:"5.13925",height:"3",transform:"rotate(45 5.12132 2)",fill:t}),v.jsx("rect",{x:"8.83633",y:"6.28503",width:"1",height:"2.19393",transform:"rotate(45 8.83633 6.28503)",fill:t}),v.jsx("clipPath",{id:"clip0_2241_2464",children:v.jsx("rect",{width:"12",height:"12",fill:n})})]})},Convert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"})})},KeyboardArrowUp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"})})},KeyboardArrowDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"})})},Alert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="var(--background-normal)",svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:n,...l,ref:i,children:v.jsxs("g",{clipPath:"url(#clip0_1786_1844)",children:[v.jsx("path",{d:"M11.1238 2.59312C11.5037 1.90234 12.4963 1.90234 12.8762 2.59312L22.1849 19.5181C22.5515 20.1845 22.0693 21 21.3087 21H2.69127C1.93067 21 1.44851 20.1845 1.81506 19.5181L11.1238 2.59312Z",fill:t}),v.jsx("path",{style:{...l.style,transition:"fill var(--Transition)"},d:"M12.8169 8H11.1691L11.2958 15.0451H12.6902L12.8169 8ZM11.0001 17.0287C10.993 17.5622 11.4508 17.9932 12 18C12.5423 17.9932 12.993 17.5622 13 17.0287C12.993 16.4952 12.5423 16.0575 12 16.0575C11.4508 16.0575 10.993 16.4952 11.0001 17.0287Z",fill:n})]})})},SortUp:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsx("svg",{...lt(e,u),fill:"none",...l,ref:i,children:v.jsx("path",{d:"M6 10L9 7L12 10",stroke:t})})},SortDown:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsx("svg",{...lt(e,u),fill:"none",...l,ref:i,children:v.jsx("path",{d:"M12 7L9 10L6 7",stroke:t})})},SortBoth:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...lt(e,u),fill:"none",...l,ref:i,children:[v.jsx("path",{d:"M6 6.75L9 3.75L12 6.75",stroke:t}),v.jsx("path",{d:"M12 11.25L9 14.25L6 11.25",stroke:t})]})},RowSortUp:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...lt(e,u),...l,ref:i,children:[v.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),v.jsx("path",{opacity:"0.2",d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t})]})},RowSortDown:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...lt(e,u),...l,ref:i,children:[v.jsx("path",{opacity:"0.2",d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),v.jsx("path",{d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t})]})},RowSortBoth:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...lt(e,u),...l,ref:i,children:[v.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),v.jsx("path",{d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t})]})},Favorite:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 4L13.7961 9.52786H19.6085L14.9062 12.9443L16.7023 18.4721L12 15.0557L7.29772 18.4721L9.09383 12.9443L4.39155 9.52786H10.2039L12 4Z"})})},FavoriteDisabled:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),...ii(t),fill:n,strokeWidth:"1",...l,ref:i,children:v.jsx("path",{d:"M12 4L13.7961 9.52786H19.6085L14.9062 12.9443L16.7023 18.4721L12 15.0557L7.29772 18.4721L9.09383 12.9443L4.39155 9.52786H10.2039L12 4Z"})})},Main:(r={})=>{const{primaryColor:e="currentColor",secondaryColor:t,svgRef:n,...i}=r;return v.jsxs("svg",{viewBox:"0 0 118 84",width:"118",height:"84",...i,ref:n,children:[v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.0843 0.94382H8.51123C4.34117 0.94382 0.960666 4.32432 0.960666 8.49438V49.0787C0.960666 53.77 4.76373 57.573 9.45505 57.573H66.0843C70.7756 57.573 74.5787 53.77 74.5787 49.0787V9.4382C74.5787 4.74688 70.7756 0.94382 66.0843 0.94382ZM8.51123 0C3.81991 0 0.0168457 3.80306 0.0168457 8.49438V49.0787C0.0168457 54.2912 4.24247 58.5169 9.45505 58.5169H66.0843C71.2968 58.5169 75.5225 54.2912 75.5225 49.0787V9.4382C75.5225 4.22563 71.2968 0 66.0843 0H8.51123Z",fill:e}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M108.556 26.4272H51.927C47.2357 26.4272 43.4326 30.2302 43.4326 34.9216V74.562C43.4326 79.2533 47.2357 83.0564 51.927 83.0564H108.556C113.248 83.0564 117.051 79.2533 117.051 74.562V34.9216C117.051 30.2302 113.248 26.4272 108.556 26.4272ZM51.927 25.4834C46.7144 25.4834 42.4888 29.709 42.4888 34.9216V74.562C42.4888 79.7746 46.7144 84.0002 51.927 84.0002H108.556C113.769 84.0002 117.994 79.7746 117.994 74.562V34.9216C117.994 29.709 113.769 25.4834 108.556 25.4834H51.927Z",fill:e}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.0843 1.88764H8.51123C4.86243 1.88764 1.90449 4.84558 1.90449 8.49438V49.0787C1.90449 53.2487 5.28499 56.6292 9.45505 56.6292H66.0843C70.2543 56.6292 73.6348 53.2487 73.6348 49.0787V9.4382C73.6348 5.26814 70.2543 1.88764 66.0843 1.88764ZM8.51123 0C3.81991 0 0.0168457 3.80306 0.0168457 8.49438V49.0787C0.0168457 54.2912 4.24247 58.5169 9.45505 58.5169H66.0843C71.2968 58.5169 75.5225 54.2912 75.5225 49.0787V9.4382C75.5225 4.22563 71.2968 0 66.0843 0H8.51123Z",fill:e}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M108.556 27.371H51.927C47.7569 27.371 44.3764 30.7515 44.3764 34.9216V74.562C44.3764 78.7321 47.7569 82.1126 51.927 82.1126H108.556C112.726 82.1126 116.107 78.7321 116.107 74.562V34.9216C116.107 30.7515 112.726 27.371 108.556 27.371ZM51.927 25.4834C46.7144 25.4834 42.4888 29.709 42.4888 34.9216V74.562C42.4888 79.7746 46.7144 84.0002 51.927 84.0002H108.556C113.769 84.0002 117.994 79.7746 117.994 74.562V34.9216C117.994 29.709 113.769 25.4834 108.556 25.4834H51.927Z",fill:e})]})},Frame:(r={})=>{const{primaryColor:e="currentColor",secondaryColor:t="none",svgRef:n,...i}=r;return v.jsx("svg",{viewBox:"0 0 1482 1112",width:"1482",height:"1112",fill:t,...i,ref:n,children:v.jsxs("g",{children:[v.jsx("path",{opacity:"0.22",d:"M1481.33 1111.17L399.091 880.19V231.81L1481.33 0.829102V1111.17Z",stroke:e}),v.jsx("path",{opacity:"0.48",d:"M266.279 880.19V231.81L1348.52 0.829102V1111.17L266.279 880.19Z",stroke:e}),v.jsx("path",{opacity:"0.74",d:"M133.48 880.19V231.81L1215.72 0.829102V1111.17L133.48 880.19Z",stroke:e}),v.jsx("path",{d:"M1082.91 1111.17L0.667969 880.19V231.81L1082.91 0.829102V1111.17Z",stroke:e})]})})},FileDownload:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3zm-1-4-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59 7 11l5 5z"})})},File:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M15 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V7L15 2ZM6 20V4H14V8H18V20H6ZM16 10V15C16 17.21 14.21 19 12 19C9.79 19 8 17.21 8 15V8.5C8 7.03 9.26 5.86 10.76 6.01C12.06 6.14 13 7.33 13 8.64V15H11V8.5C11 8.22 10.78 8 10.5 8C10.22 8 10 8.22 10 8.5V15C10 16.1 10.9 17 12 17C13.1 17 14 16.1 14 15V10H16Z"})})},UnPlug:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...lt(e,u),overflow:"hidden",strokeWidth:"0.5",...l,ref:i,children:[v.jsx("path",{d:"M7.85 9.679C7.92 9.747 8.03 9.745 8.1 9.674 8.17 9.606 8.17 9.497 8.1 9.428L6.84 8.17 8.17 6.844 9.43 8.103C9.5 8.171 9.61 8.169 9.68 8.098 9.75 8.03 9.75 7.921 9.68 7.852L8.42 6.594 9.39 5.629 8.13 4.377C7.15 3.389 5.56 3.335 4.51 4.254L4.13 3.857C3.29 2.997 2.15 2.511 0.95 2.508L0.35 2.508 0.35 2.862 0.95 2.862C2.05 2.865 3.11 3.312 3.87 4.104L4.26 4.504C3.34 5.555 3.39 7.143 4.38 8.133L5.63 9.385 6.59 8.42ZM4.63 7.883C3.73 6.984 3.73 5.526 4.63 4.627 5.53 3.728 6.98 3.728 7.88 4.627L8.88 5.629 5.63 8.885Z",stroke:t,fill:t}),v.jsx("path",{d:"M16.06 14.167C15.01 14.169 13.99 13.758 13.23 13.021L12.78 12.58C13.69 11.529 13.64 9.946 12.65 8.959L11.4 7.707 7.64 11.464 8.9 12.716C9.89 13.707 11.47 13.757 12.52 12.831L12.99 13.276C13.81 14.076 14.91 14.523 16.06 14.521L16.65 14.521 16.65 14.167ZM9.15 12.465 8.14 11.464 11.4 8.208 12.4 9.21C13.31 10.104 13.31 11.562 12.42 12.466 11.53 13.369 10.07 13.377 9.16 12.483 9.16 12.477 9.15 12.471 9.15 12.465Z",stroke:t,fill:t})]})},CloudSync:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...lt(e,u),overflow:"hidden",strokeWidth:"0.166718",...l,ref:i,children:[v.jsx("path",{d:"M9.81667 8.6C9.81667 8.6 9.81667 8.6 9.81667 8.6 9.81667 8.6 9.81667 8.6 9.81667 8.6 9.68333 7.41667 8.61667 6.55 7.43333 6.66667 6.65 6.75 5.98333 7.23333 5.66667 7.95L5.96667 8.08333C6.36667 7.15 7.45 6.73333 8.38333 7.13333 8.96667 7.38333 9.36667 7.91667 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55L9.1 8.18333 8.86667 8.41667 9.65 9.2 10.4333 8.41667 10.2 8.18333 9.81667 8.6Z",stroke:t,fill:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"}),v.jsx("path",{d:"M7.66667 10.6667C6.75 10.6667 5.98333 10 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1L6.21667 9.46667 6.45 9.23333 5.66667 8.43333 4.88333 9.21667 5.11667 9.45 5.5 9.06667C5.5 9.06667 5.5 9.06667 5.5 9.06667 5.5 9.06667 5.5 9.06667 5.5 9.06667 5.63333 10.25 6.68333 11.1167 7.88333 11 8.66667 10.9167 9.33333 10.4333 9.65 9.71667L9.35 9.58333C9.05 10.2333 8.4 10.6667 7.66667 10.6667Z",stroke:t,fill:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"}),v.jsx("path",{d:"M13.4333 7.48333C13.3 6.66667 12.85 5.93333 12.1833 5.45 11.4833 4.96667 10.6333 4.78333 9.8 4.95 9.13333 3.95 8.03333 3.33333 6.83333 3.33333 6.56667 3.33333 6.28333 3.36667 6.01667 3.43333 4.6 3.8 3.53333 4.98333 3.31667 6.43333 2.36667 6.46667 1.5 6.91667 0.933333 7.66667 0.266667 8.6 0.15 9.81667 0.616667 10.8667 1.1 11.9 2.1 12.5833 3.23333 12.65L4.45 12.65 11.3667 12.6667 13.1333 12.6667C14.5667 12.6333 15.7 11.4333 15.6667 10 15.6333 8.71667 14.6833 7.66667 13.4333 7.48333 13.4333 7.48333 13.4333 7.48333 13.4333 7.48333ZM15.3333 10.2C15.25 11.3667 14.3 12.3 13.1333 12.3333L11.3667 12.3333 4.45 12.3167 3.25 12.3167C2.25 12.25 1.35 11.65 0.933333 10.7333 0.5 9.8 0.6 8.7 1.2 7.86667 1.71667 7.2 2.48333 6.8 3.33333 6.76667L3.61667 6.75 3.65 6.48333C3.85 5.16667 4.81667 4.1 6.1 3.75 6.33333 3.7 6.58333 3.66667 6.83333 3.66667 7.91667 3.66667 8.93333 4.21667 9.51667 5.13333L9.63333 5.31667 9.85 5.26667C10.5833 5.11667 11.35 5.28333 11.9667 5.71667 12.5667 6.15 12.9667 6.8 13.0833 7.53333L13.1167 7.76667 13.35 7.8C14.55 7.98333 15.3833 9.01667 15.3333 10.2L15.3333 10.2Z",stroke:t,fill:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"})]})},CalendarDay:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"})})},DateRange:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"})})},PlayArrow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M8 5v14l11-7z"})})},Mail:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z"})})},MailOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"}),v.jsx("polyline",{points:"22,6 12,13 2,6"})]})},Bell:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("path",{d:"M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"}),v.jsx("path",{d:"M13.73 21a2 2 0 0 1-3.46 0"})]})},Download:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z"})})},Folder:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"})})},FolderPost:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9H9V9h10v2zm-4 4H9v-2h6v2zm4-8H9V5h10v2z"})})},FolderOpen:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V8h16v10z"})})},FolderCopy:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),fill:t,...l,ref:i,children:[v.jsx("path",{d:"M3 6H1v13c0 1.1.9 2 2 2h17v-2H3V6z"}),v.jsx("path",{d:"M21 4h-7l-2-2H7c-1.1 0-1.99.9-1.99 2L5 15c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2z"})]})},FolderAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M20 6h-8l-2-2H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-1 8h-3v3h-2v-3h-3v-2h3V9h2v3h3v2z"})})},FolderMove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-6 12v-3h-4v-4h4V8l5 5z"})})},FirstPage:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),fill:t,...l,ref:i,children:[v.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),v.jsx("path",{d:"M24 24H0V0h24v24z",fill:"none"})]})},LastPage:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"})})},NavigateBefore:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})})},NavigateNext:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})})},ListAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M14,10H3v2h11V10z M14,6H3v2h11V6z M18,14v-4h-2v4h-4v2h4v4h2v-4h4v-2H18z M3,16h7v-2H3V16z"})})},ListRemove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M14 10H3v2h11v-2zm0-4H3v2h11V6zM3 16h7v-2H3v2zm11.41 6L17 19.41 19.59 22 21 20.59 18.41 18 21 15.41 19.59 14 17 16.59 14.41 14 13 15.41 15.59 18 13 20.59 14.41 22z"})})},Cancel:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"})})},Article:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"})})},Info:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M11,7h2v2h-2V7z M11,11h2v6h-2V11z M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z M12,20 c-4.41,0-8-3.59-8-8s3.59-8,8-8s8,3.59,8,8S16.41,20,12,20z"})})},Type:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("polyline",{points:"4 7 4 4 20 4 20 7"}),v.jsx("line",{x1:"9",y1:"20",x2:"15",y2:"20"}),v.jsx("line",{x1:"12",y1:"4",x2:"12",y2:"20"})]})},PersonAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M13 8c0-2.21-1.79-4-4-4S5 5.79 5 8s1.79 4 4 4 4-1.79 4-4m2 2v2h3v3h2v-3h3v-2h-3V7h-2v3zM1 18v2h16v-2c0-2.66-5.33-4-8-4s-8 1.34-8 4"})})},CheckNormal:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",fill:t})})},Create:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"})})},PersonRemove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M14 8c0-2.21-1.79-4-4-4S6 5.79 6 8s1.79 4 4 4 4-1.79 4-4m3 2v2h6v-2zM2 18v2h16v-2c0-2.66-5.33-4-8-4s-8 1.34-8 4"})})},Refresh:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"})})},Undo:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"})})},Gear:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"})})},TriangleUp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),...ii(t),...l,ref:i,children:v.jsx("path",{d:"M18 15 L12 9 L6 15"})})},TriangleDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),...ii(t),...l,ref:i,children:v.jsx("path",{d:"M6 9 12 15 18 9"})})},CircleHelp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"})})},Cow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("g",{transform:"scale(0.046875 0.046875)",children:v.jsx("path",{d:"M510.256,187.787c-2.16-7.414-6.118-13.725-11.079-18.567c-7.477-7.3-16.818-11.393-26.211-13.777 c-9.43-2.386-19.109-3.114-28.034-3.124c-7.732,0-14.89,0.562-20.744,1.219h0.016c-4.732,0.531-9.07,1.426-12.788,2.103 c-3.697,0.708-6.821,1.156-8.597,1.136l-0.557-0.042c-0.031-0.167-0.063-0.261-0.094-0.48c-2.63-18.598-4.03-36.864-9.06-55.494 c-5.004-18.619-13.976-37.457-30.986-55.826c-8.07-8.83-17.973-13.454-27.476-13.403c-8.43-0.01-15.98,3.489-21.312,8.779 c-5.337,5.279-8.763,12.517-8.784,20.504c-0.005,3.686,0.88,7.466,2.484,11.028l-0.067,0.031c4.992,13.434,7.794,25.784,7.768,35.719 c0,5.935-0.948,10.955-2.754,15.141c-2.77,6.227-7.196,11.111-15.923,15.193c-8.695,4.019-21.816,6.685-40.06,6.664 c-24.388,0.042-39.4-4.759-47.454-11.039c-4.082-3.155-6.697-6.623-8.529-10.819c-1.807-4.186-2.754-9.206-2.754-15.141 c-0.026-9.935,2.77-22.285,7.768-35.719l-0.068-0.02c1.604-3.582,2.489-7.352,2.485-11.028c-0.021-7.997-3.448-15.235-8.784-20.514 c-5.332-5.29-12.882-8.789-21.311-8.789c-9.502-0.042-19.406,4.571-27.476,13.412c-17.01,18.359-25.982,37.207-30.985,55.826 c-5.035,18.63-6.431,36.896-9.06,55.494c-0.032,0.229-0.063,0.312-0.099,0.48l-0.552,0.042c-1.77,0.02-4.894-0.428-8.596-1.136 c-3.718-0.687-8.055-1.572-12.793-2.103h0.01c-5.836-0.646-13.001-1.208-20.733-1.219c-11.892,0.031-25.143,1.25-37.338,6.134 c-6.087,2.458-11.939,5.904-16.906,10.768c-4.962,4.842-8.919,11.153-11.08,18.567C0.563,191.806,0,196.014,0,200.282 c0.099,18.276,9.836,37.583,27.684,53.817c16.844,15.245,41.243,27.617,72.728,33.24c0.114,0.489,0.223,0.896,0.344,1.458 c1.874,8.664,4.102,25.242,8.247,44.591c6.285,29.115,16.896,65.167,39.16,94.835c11.142,14.798,25.31,27.981,43.201,37.364 c17.879,9.404,39.378,14.902,64.636,14.892c37.978,0.083,67.422-12.58,88.905-31.667c32.281-28.669,47.173-70.136,55.613-104.562 c4.186-17.234,6.706-32.854,8.654-44.225c0.912-5.353,1.708-9.748,2.4-12.674c31.496-5.624,55.9-17.994,72.744-33.25 c17.848-16.234,27.58-35.541,27.684-53.817C512,196.014,511.438,191.806,510.256,187.787z M165.549,59.409 c5.118-5.456,9.022-6.508,11.804-6.55c2.499,0,4.665,1,6.316,2.615c1.651,1.624,2.473,3.696,2.453,5.352l-0.625,2.572 l-0.261,0.522l-0.198,0.541c-5.508,14.923-9.076,29.376-9.101,43.133c0,8.195,1.312,16.192,4.498,23.586 c2.526,5.946,6.404,11.288,11.32,15.912c-7.967-0.167-16.605-0.292-24.993-0.396c-13.745-0.168-26.596-0.25-34.136-0.303 c1.818-14.35,3.453-27.606,6.847-40.05C143.884,90.254,150.908,75.321,165.549,59.409z M318.981,441.844 c-16.234,10.59-36.442,17.276-62.98,17.307c-33.38-0.083-56.795-10.528-74.784-26.315c-12.834-11.267-22.712-25.689-30.455-41.195 c0.901-4.78,3.015-9.133,6.436-13.392c6.935-8.612,19.78-16.308,36.791-21.514c16.974-5.258,37.921-8.122,60.576-8.122 c30.204-0.031,57.394,5.144,76.138,14.1c9.383,4.456,16.584,9.809,21.234,15.536c4.483,5.581,6.706,11.33,6.893,17.994 c-0.625,1.156-1.15,2.364-1.801,3.499C347.508,416.477,335.189,431.243,318.981,441.844z M470.002,238.292 c-14.417,13.058-36.708,24.524-67.495,29.033l-2.374,0.344l-1.994,1.333c-2.578,1.79-3.583,3.53-4.39,4.904 c-1.431,2.708-2.014,4.927-2.702,7.571c-1.203,4.864-2.213,10.954-3.473,18.26c-1.524,8.625-3.428,19.124-6.134,30.576 c-7.247,29.665-20.215,66.061-48.03,91.907c-16.028,14.232-36.169,24.516-64.055,24.466c-21.776,0-40.292-4.969-55.129-12.732 c-14.839-7.742-27.058-18.692-36.544-30.747c-19.038-25.604-28.956-57.424-34.635-85.312c-1.642-8.429-2.642-14.843-3.494-19.853 c-0.693-3.697-1.256-5.834-1.943-7.519c-0.688-1.698-1.743-3.24-4.323-5.03l-1.989-1.333l-2.374-0.344 c-30.788-4.509-53.083-15.975-67.5-29.033c-15.05-13.646-22.688-28.674-22.749-38.01c0-1.625,0.396-3.859,1.057-6.283 c1.261-4.849,3.597-10.709,6.665-16.755c5.97-12.085,14.748-24.971,25.422-36.775c2.188,1.828,4.64,3.501,7.441,4.98 c9.854,5.132,22.406,8.838,35.833,9.723c12.073,0.823,24.653-0.057,35.493-3.755c10.859-3.666,20.146-9.648,26.908-17.71 c6.767-8.081,10.94-18.221,11.255-29.685c0-2.073-0.26-3.948-0.64-5.901c-0.26-1.203-0.484-2.452-0.641-3.667 c-1.78-12.632-5.748-24.661-11.853-37.393c-3.062-6.173-6.634-12.165-9.359-17.301c-0.932-1.801-1.776-3.414-2.552-5.155 c4.911-5.416,10.209-10.13,15.51-14.678c12.045-10.674,23.606-19.829,33.336-26.128c7.47,6.566,14.801,14.498,21.238,23.858 c12.843,18.226,20.273,37.197,25.055,55.19c4.794,17.983,6.636,34.864,9.055,50.801c0.78,4.584,1.35,8.114,2.373,11.554 c0.98,3.229,2.306,6.316,4.664,9.208c2.396,2.892,5.74,5.532,10.96,6.409c1.296,0.219,3.84-0.5,7.683-1.187 c3.838-0.641,8.727-1.448,14.168-1.948c5.423-0.625,11.573-1.036,18.168-1.057c8.92,0,18.659,0.667,28.086,2.807 c9.426,2.141,17.48,6.104,23.654,12.281c3.177,3.093,5.784,6.775,7.579,10.938c1.778,4.141,2.74,8.704,2.74,13.314 C492.688,209.625,485.052,224.646,470.002,238.292z"})})})},CircleAlertOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("circle",{cx:"12",cy:"12",r:"10"}),v.jsx("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),v.jsx("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]})},CircleAlert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"})})},Manager:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),fill:t,...l,ref:i,children:[v.jsx("circle",{cx:"10",cy:"8",r:"4"}),v.jsx("path",{d:"M10.67 13.02c-.22-.01-.44-.02-.67-.02-2.42 0-4.68.67-6.61 1.82-.88.52-1.39 1.5-1.39 2.53V20h9.26c-.79-1.13-1.26-2.51-1.26-4 0-1.07.25-2.07.67-2.98M20.75 16c0-.22-.03-.42-.06-.63l1.14-1.01-1-1.73-1.45.49q-.48-.405-1.08-.63L18 11h-2l-.3 1.49q-.6.225-1.08.63l-1.45-.49-1 1.73 1.14 1.01c-.03.21-.06.41-.06.63s.03.42.06.63l-1.14 1.01 1 1.73 1.45-.49q.48.405 1.08.63L16 21h2l.3-1.49q.6-.225 1.08-.63l1.45.49 1-1.73-1.14-1.01c.03-.21.06-.41.06-.63M17 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"})]})},ManagerOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e,96),...ii(t),...l,ref:i,children:[v.jsxs("g",{clipPath:"url(#clip0_1_3)",children:[v.jsx("path",{d:"M80 84V76C80 71.7565 78.3143 67.6869 75.3137 64.6863C72.3131 61.6857 68.2435 60 64 60V70L48 60L32 70V60C27.7565 60 23.6869 61.6857 20.6863 64.6863C17.6857 67.6869 16 71.7565 16 76V84",strokeWidth:"8"}),v.jsx("path",{d:"M48 44C56.8366 44 64 36.8366 64 28C64 19.1634 56.8366 12 48 12C39.1634 12 32 19.1634 32 28C32 36.8366 39.1634 44 48 44Z",strokeWidth:"8"})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"clip0_1_3",children:v.jsx("rect",{width:"96",height:"96",fill:"white"})})})]})},Admin:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4m13.1-8.16c.01-.11.02-.22.02-.34s-.01-.23-.03-.34l.74-.58c.07-.05.08-.15.04-.22l-.7-1.21c-.04-.08-.14-.1-.21-.08l-.86.35c-.18-.14-.38-.25-.59-.34l-.13-.93c-.02-.09-.09-.15-.18-.15h-1.4c-.09 0-.16.06-.17.15l-.13.93c-.21.09-.41.21-.59.34l-.87-.35c-.08-.03-.17 0-.21.08l-.7 1.21c-.04.08-.03.17.04.22l.74.58c-.02.11-.03.23-.03.34s.01.23.03.34l-.74.58c-.07.05-.08.15-.04.22l.7 1.21c.04.08.14.1.21.08l.87-.35c.18.14.38.25.59.34l.13.93c.01.09.08.15.17.15h1.4c.09 0 .16-.06.17-.15l.13-.93c.21-.09.41-.21.59-.34l.87.35c.08.03.17 0 .21-.08l.7-1.21c.04-.08.03-.17-.04-.22zm-2.6.91c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25m.42 3.93-.5-.87c-.03-.06-.1-.08-.15-.06l-.62.25q-.195-.15-.42-.24l-.09-.66c-.02-.06-.08-.1-.14-.1h-1c-.06 0-.11.04-.12.11l-.09.66c-.15.06-.29.15-.42.24l-.62-.25c-.06-.02-.12 0-.15.06l-.5.87c-.03.06-.02.12.03.16l.53.41c-.01.08-.02.16-.02.24s.01.17.02.24l-.53.41c-.05.04-.06.11-.03.16l.5.87c.03.06.1.08.15.06l.62-.25q.195.15.42.24l.09.66c.01.07.06.11.12.11h1c.06 0 .12-.04.12-.11l.09-.66c.15-.06.29-.15.42-.24l.62.25c.06.02.12 0 .15-.06l.5-.87c.03-.06.02-.12-.03-.16l-.52-.41c.01-.08.02-.16.02-.24s-.01-.17-.02-.24l.53-.41c.05-.04.06-.11.04-.17m-2.42 1.65c-.46 0-.83-.38-.83-.83 0-.46.38-.83.83-.83s.83.38.83.83c0 .46-.37.83-.83.83M4.74 9h8.53c.27 0 .49-.22.49-.49v-.02c0-.27-.22-.49-.49-.49H13c0-1.48-.81-2.75-2-3.45v.95c0 .28-.22.5-.5.5s-.5-.22-.5-.5V4.14C9.68 4.06 9.35 4 9 4s-.68.06-1 .14V5.5c0 .28-.22.5-.5.5S7 5.78 7 5.5v-.95C5.81 5.25 5 6.52 5 8h-.26c-.27 0-.49.22-.49.49v.03c0 .26.22.48.49.48M9 13c1.86 0 3.41-1.28 3.86-3H5.14c.45 1.72 2 3 3.86 3"})})},Equalizer:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M10 20h4V4h-4zm-6 0h4v-8H4zM16 9v11h4V9z"})})},ABC:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M21 11h-1.5v-.5h-2v3h2V13H21v1c0 .55-.45 1-1 1h-3c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1zM8 10v5H6.5v-1.5h-2V15H3v-5c0-.55.45-1 1-1h3c.55 0 1 .45 1 1m-1.5.5h-2V12h2zm7 1.5c.55 0 1 .45 1 1v1c0 .55-.45 1-1 1h-4V9h4c.55 0 1 .45 1 1v1c0 .55-.45 1-1 1M11 10.5v.75h2v-.75zm2 2.25h-2v.75h2z"})})},Auth:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5zm-1.06 13.54L7.4 12l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41z"})})},AuthAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M13.22 22.61c-.4.15-.8.29-1.22.39-5.16-1.26-9-6.45-9-12V5l9-4 9 4v6c0 .9-.11 1.78-.3 2.65-.81-.41-1.73-.65-2.7-.65-3.31 0-6 2.69-6 6 0 1.36.46 2.61 1.22 3.61M19 20v2.99s-1.99.01-2 0V20h-3v-2h3v-3h2v3h3v2z"})})},Switch:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"m18 12 4-4-4-4v3H3v2h15zM6 12l-4 4 4 4v-3h15v-2H6z"})})},Add:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"})})},Edit:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM5.92 19H5v-.92l9.06-9.06.92.92zM20.71 5.63l-2.34-2.34c-.2-.2-.45-.29-.71-.29s-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41"})})},EditOff:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"m14.06 9.02.92.92-1.11 1.11 1.41 1.41 2.52-2.52-3.75-3.75-2.52 2.52 1.41 1.41zm6.65-1.98c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29s-.51.1-.7.29l-1.83 1.83 3.75 3.75zM2.81 2.81 1.39 4.22l7.32 7.32L3 17.25V21h3.75l5.71-5.71 7.32 7.32 1.41-1.41zM5.92 19H5v-.92l5.13-5.13.92.92z"})})},Delete:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"})})},Save:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"})})},Remove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 13H5v-2h14z"})})},Sync:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"})})},X:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),v.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})},MoreVertical:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("circle",{cx:"12",cy:"12",r:"1"}),v.jsx("circle",{cx:"12",cy:"5",r:"1"}),v.jsx("circle",{cx:"12",cy:"19",r:"1"})]})},MoreHorizontal:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("circle",{cx:"12",cy:"12",r:"1"}),v.jsx("circle",{cx:"19",cy:"12",r:"1"}),v.jsx("circle",{cx:"5",cy:"12",r:"1"})]})},Verified:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("path",{d:"M10.708 4.03551C11.4008 3.27361 12.5992 3.27361 13.292 4.03551C14.0105 4.82555 15.0715 5.21174 16.1297 5.06835C17.1502 4.93006 18.0682 5.70033 18.1092 6.72935C18.1518 7.79637 18.7163 8.77423 19.6191 9.34458C20.4898 9.89462 20.6979 11.0747 20.0678 11.8894C19.4146 12.7341 19.2185 13.8461 19.5435 14.8633C19.8569 15.8443 19.2577 16.8821 18.2514 17.1012C17.208 17.3284 16.343 18.0542 15.9381 19.0423C15.5476 19.9952 14.4216 20.4051 13.5099 19.9261C12.5646 19.4294 11.4354 19.4294 10.4901 19.9261C9.57843 20.4051 8.45237 19.9952 8.06187 19.0423C7.65695 18.0542 6.79199 17.3284 5.74857 17.1012C4.7423 16.8821 4.14314 15.8443 4.45654 14.8633C4.7815 13.8461 4.58543 12.7341 3.93215 11.8894C3.30214 11.0747 3.51023 9.89462 4.38087 9.34458C5.28366 8.77423 5.84823 7.79637 5.89077 6.72935C5.9318 5.70033 6.84977 4.93006 7.87028 5.06835C8.92848 5.21174 9.98951 4.82555 10.708 4.03551Z",strokeWidth:"1.5"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.5682 10.0607L15.5076 9.00002L11.0719 13.4357L8.56068 10.9244L7.50002 11.9851L11.0719 15.557L12.1326 14.4963L12.1326 14.4963L16.5682 10.0607Z",fill:t,strokeWidth:0})]})},NonVerified:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("path",{style:{...l.style,transition:"stroke var(--Transition)"},d:"M10.1531 3.53092C11.1435 2.44181 12.8565 2.44181 13.8469 3.53092V3.53092C14.3994 4.13844 15.2153 4.4354 16.029 4.32514V4.32514C17.4878 4.12747 18.8 5.22853 18.8586 6.69947V6.69947C18.8913 7.51998 19.3255 8.27193 20.0197 8.71052V8.71052C21.2643 9.49677 21.5617 11.1837 20.6611 12.3482V12.3482C20.1588 12.9978 20.008 13.8529 20.2579 14.6351V14.6351C20.7059 16.0374 19.8494 17.5208 18.411 17.834V17.834C17.6086 18.0087 16.9435 18.5668 16.6321 19.3267V19.3267C16.0739 20.6888 14.4643 21.2747 13.1611 20.59V20.59C12.4341 20.2081 11.5659 20.2081 10.8389 20.59V20.59C9.53573 21.2747 7.92608 20.6888 7.36788 19.3267V19.3267C7.05651 18.5668 6.39137 18.0087 5.58901 17.834V17.834C4.1506 17.5208 3.29413 16.0374 3.74211 14.6351V14.6351C3.992 13.8529 3.84122 12.9978 3.33887 12.3482V12.3482C2.43829 11.1837 2.73574 9.49677 3.98029 8.71052V8.71052C4.67452 8.27193 5.10865 7.51998 5.14137 6.69947V6.69947C5.20002 5.22853 6.51221 4.12747 7.97099 4.32514V4.32514C8.78471 4.4354 9.60062 4.13844 10.1531 3.53092V3.53092Z",stroke:"var(--line-normal)",strokeWidth:"0.75",strokeMiterlimit:"11.4737",strokeLinecap:"round",strokeDasharray:"0.75 1.5"}),v.jsx("path",{style:{...l.style,transition:"fill var(--Transition)"},d:"M16.2224 8.5837L16.4875 8.31854C16.3411 8.17209 16.1037 8.17209 15.9572 8.31854L16.2224 8.5837ZM17.5013 9.86264L17.7665 10.1278C17.9129 9.98136 17.9129 9.74392 17.7665 9.59747L17.5013 9.86264ZM10.8739 13.9322L10.6087 14.1974C10.679 14.2677 10.7744 14.3072 10.8739 14.3072C10.9733 14.3072 11.0687 14.2677 11.139 14.1974L10.8739 13.9322ZM7.84584 10.9042L8.111 10.639C8.04068 10.5687 7.9453 10.5292 7.84584 10.5292C7.74638 10.5292 7.651 10.5687 7.58067 10.639L7.84584 10.9042ZM6.5669 12.1831L6.30174 11.9179C6.15529 12.0644 6.15529 12.3018 6.30174 12.4483L6.5669 12.1831ZM10.8739 16.4901L10.6087 16.7553C10.7552 16.9017 10.9926 16.9017 11.1391 16.7553L10.8739 16.4901ZM12.1528 15.2112L12.418 15.4763C12.5644 15.3299 12.5644 15.0924 12.418 14.946L12.1528 15.2112ZM12.1528 15.2111L11.8876 14.946C11.7412 15.0924 11.7412 15.3299 11.8876 15.4763L12.1528 15.2111ZM15.6601 8.61568C15.5136 8.76212 15.5136 8.99956 15.6601 9.14601C15.8065 9.29245 16.044 9.29245 16.1904 9.14601L15.6601 8.61568ZM15.0018 10.3346C15.1483 10.1881 15.1483 9.95068 15.0018 9.80423C14.8554 9.65778 14.618 9.65778 14.4715 9.80423L15.0018 10.3346ZM13.8772 10.3985C13.7308 10.545 13.7308 10.7824 13.8772 10.9288C14.0237 11.0753 14.2611 11.0753 14.4076 10.9288L13.8772 10.3985ZM13.219 12.1174C13.3655 11.9709 13.3655 11.7335 13.219 11.5871C13.0726 11.4406 12.8351 11.4406 12.6887 11.5871L13.219 12.1174ZM12.0944 12.1813C11.948 12.3278 11.948 12.5652 12.0944 12.7117C12.2409 12.8581 12.4783 12.8581 12.6247 12.7117L12.0944 12.1813ZM11.4362 13.9002C11.5826 13.7538 11.5826 13.5163 11.4362 13.3699C11.2897 13.2234 11.0523 13.2234 10.9059 13.3699L11.4362 13.9002ZM10.8867 13.4147C10.7403 13.2683 10.5028 13.2683 10.3564 13.4147C10.2099 13.5611 10.2099 13.7986 10.3564 13.945L10.8867 13.4147ZM9.34703 12.9357C9.49348 13.0821 9.73091 13.0821 9.87736 12.9357C10.0238 12.7892 10.0238 12.5518 9.87736 12.4054L9.34703 12.9357ZM9.37269 11.9007C9.22624 11.7542 8.9888 11.7542 8.84236 11.9007C8.69591 12.0471 8.69591 12.2846 8.84236 12.431L9.37269 11.9007ZM7.83301 11.4217C7.97946 11.5681 8.21689 11.5681 8.36334 11.4217C8.50979 11.2752 8.50979 11.0378 8.36334 10.8913L7.83301 11.4217ZM7.36752 10.8522C7.22107 10.9986 7.22107 11.236 7.36752 11.3825C7.51396 11.5289 7.7514 11.5289 7.89785 11.3825L7.36752 10.8522ZM7.04522 12.2351C7.19167 12.0887 7.19167 11.8512 7.04522 11.7048C6.89878 11.5583 6.66134 11.5583 6.51489 11.7048L7.04522 12.2351ZM6.54101 12.6875C6.68746 12.834 6.9249 12.834 7.07134 12.6875C7.21779 12.5411 7.21779 12.3037 7.07134 12.1572L6.54101 12.6875ZM8.02845 13.1143C7.88201 12.9679 7.64457 12.9679 7.49812 13.1143C7.35168 13.2608 7.35168 13.4982 7.49812 13.6446L8.02845 13.1143ZM7.97668 14.1232C8.12312 14.2697 8.36056 14.2697 8.50701 14.1232C8.65345 13.9768 8.65345 13.7393 8.50701 13.5929L7.97668 14.1232ZM9.46412 14.55C9.31767 14.4035 9.08023 14.4035 8.93379 14.55C8.78734 14.6964 8.78734 14.9339 8.93379 15.0803L9.46412 14.55ZM9.41234 15.5589C9.55879 15.7053 9.79623 15.7053 9.94267 15.5589C10.0891 15.4124 10.0891 15.175 9.94267 15.0285L9.41234 15.5589ZM10.8998 15.9856C10.7533 15.8392 10.5159 15.8392 10.3695 15.9856C10.223 16.1321 10.223 16.3695 10.3695 16.516L10.8998 15.9856ZM11.3522 16.5421C11.4987 16.3957 11.4987 16.1582 11.3522 16.0118C11.2058 15.8653 10.9683 15.8653 10.8219 16.0118L11.3522 16.5421ZM11.6745 15.1591C11.5281 15.3056 11.5281 15.543 11.6745 15.6895C11.821 15.8359 12.0584 15.8359 12.2048 15.6895L11.6745 15.1591ZM12.418 14.946C12.2715 14.7995 12.0341 14.7995 11.8877 14.946C11.7412 15.0924 11.7412 15.3299 11.8877 15.4763L12.418 14.946ZM11.8877 15.4763C12.0341 15.6228 12.2715 15.6228 12.418 15.4763C12.5644 15.3299 12.5644 15.0924 12.418 14.946L11.8877 15.4763ZM12.7151 15.1792C12.8616 15.0327 12.8616 14.7953 12.7151 14.6488C12.5687 14.5024 12.3312 14.5024 12.1848 14.6488L12.7151 15.1792ZM13.3733 13.4603C13.2269 13.6067 13.2269 13.8442 13.3733 13.9906C13.5198 14.1371 13.7572 14.1371 13.9037 13.9906L13.3733 13.4603ZM14.498 13.3963C14.6444 13.2499 14.6444 13.0124 14.498 12.866C14.3515 12.7196 14.1141 12.7196 13.9676 12.866L14.498 13.3963ZM15.1562 11.6774C15.0097 11.8239 15.0097 12.0613 15.1562 12.2078C15.3026 12.3542 15.5401 12.3542 15.6865 12.2078L15.1562 11.6774ZM16.2808 11.6135C16.4272 11.4671 16.4272 11.2296 16.2808 11.0832C16.1343 10.9367 15.8969 10.9367 15.7505 11.0832L16.2808 11.6135ZM16.939 9.89461C16.7926 10.0411 16.7926 10.2785 16.939 10.4249C17.0855 10.5714 17.3229 10.5714 17.4693 10.4249L16.939 9.89461ZM17.5533 9.38432C17.4069 9.23787 17.1694 9.23787 17.023 9.38432C16.8765 9.53076 16.8765 9.7682 17.023 9.91465L17.5533 9.38432ZM16.1704 9.06202C16.3168 9.20847 16.5542 9.20847 16.7007 9.06202C16.8471 8.91558 16.8471 8.67814 16.7007 8.53169L16.1704 9.06202ZM15.9572 8.31854L15.6601 8.61568L16.1904 9.14601L16.4875 8.84887L15.9572 8.31854ZM14.4715 9.80423L13.8772 10.3985L14.4076 10.9288L15.0018 10.3346L14.4715 9.80423ZM12.6887 11.5871L12.0944 12.1813L12.6247 12.7117L13.219 12.1174L12.6887 11.5871ZM10.9059 13.3699L10.6087 13.667L11.139 14.1974L11.4362 13.9002L10.9059 13.3699ZM11.139 13.667L10.8867 13.4147L10.3564 13.945L10.6087 14.1974L11.139 13.667ZM9.87736 12.4054L9.37269 11.9007L8.84236 12.431L9.34703 12.9357L9.87736 12.4054ZM8.36334 10.8913L8.111 10.639L7.58067 11.1693L7.83301 11.4217L8.36334 10.8913ZM7.58067 10.639L7.36752 10.8522L7.89785 11.3825L8.111 11.1693L7.58067 10.639ZM6.51489 11.7048L6.30174 11.9179L6.83207 12.4483L7.04522 12.2351L6.51489 11.7048ZM6.30174 12.4483L6.54101 12.6875L7.07134 12.1572L6.83207 11.9179L6.30174 12.4483ZM7.49812 13.6446L7.97668 14.1232L8.50701 13.5929L8.02845 13.1143L7.49812 13.6446ZM8.93379 15.0803L9.41234 15.5589L9.94267 15.0285L9.46412 14.55L8.93379 15.0803ZM10.3695 16.516L10.6087 16.7553L11.1391 16.2249L10.8998 15.9856L10.3695 16.516ZM11.1391 16.7553L11.3522 16.5421L10.8219 16.0118L10.6087 16.2249L11.1391 16.7553ZM12.2048 15.6895L12.418 15.4763L11.8877 14.946L11.6745 15.1591L12.2048 15.6895ZM12.418 14.946L12.418 14.946L11.8877 15.4763L11.8877 15.4763L12.418 14.946ZM12.418 14.946L12.418 14.946L11.8876 15.4763L11.8877 15.4763L12.418 14.946ZM12.418 15.4763L12.7151 15.1792L12.1848 14.6488L11.8876 14.946L12.418 15.4763ZM13.9037 13.9906L14.498 13.3963L13.9676 12.866L13.3733 13.4603L13.9037 13.9906ZM15.6865 12.2078L16.2808 11.6135L15.7505 11.0832L15.1562 11.6774L15.6865 12.2078ZM17.4693 10.4249L17.7665 10.1278L17.2361 9.59747L16.939 9.89461L17.4693 10.4249ZM17.7665 9.59747L17.5533 9.38432L17.023 9.91465L17.2361 10.1278L17.7665 9.59747ZM16.7007 8.53169L16.4875 8.31854L15.9572 8.84887L16.1704 9.06202L16.7007 8.53169Z",fill:"var(--line-normal)",strokeWidth:0})]})},Edit2:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),v.jsx("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"})]})},Trash:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("polyline",{points:"3 6 5 6 21 6"}),v.jsx("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),v.jsx("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),v.jsx("line",{x1:"14",y1:"11",x2:"14",y2:"17"})]})},AddRowBelow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ku(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M200-560h560v-240H200v240Zm-80 400v-720h720v720H680v-80h80v-240H200v240h80v80H120Zm360-320Zm0-80v80-80Zm0 0ZM440-80v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},AddRowAbove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ku(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M200-160h560v-240H200v240Zm640 80H120v-720h160v80h-80v240h560v-240h-80v-80h160v720ZM480-480Zm0 80v-80 80Zm0 0Zm-40-240v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},AddColRight:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ku(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M160-760v560h240v-560H160ZM80-120v-720h720v160h-80v-80H480v560h240v-80h80v160H80Zm400-360Zm-80 0h80-80Zm0 0Zm320 120v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},AddColLeft:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ku(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M800-200v-560H560v560h240Zm-640 80v-160h80v80h240v-560H240v80h-80v-160h720v720H160Zm320-360Zm80 0h-80 80Zm0 0ZM160-360v-80H80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},RemoveCol:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ku(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M360-440h240v-80H360v80Zm-80-120Zm240 0ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h160q33 0 56.5 23.5T440-760v80h-80v-80H200v560h160v-80h80v80q0 33-23.5 56.5T360-120H200Zm400 0q-33 0-56.5-23.5T520-200v-80h80v80h160v-560H600v80h-80v-80q0-33 23.5-56.5T600-840h160q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H600Z"})})},RemoveRow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ku(e),fill:t,...l,ref:i,children:[v.jsx("path",{d:"M360-440h240v-80H360v80Z"}),v.jsx("path",{d:"M-80-120Zm240 0ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h160q33 0 56.5 23.5T440-760v80h-80v-80H200v560h160v-80h80v80q0 33-23.5 56.5T360-120H200Zm400 0q-33 0-56.5-23.5T520-200v-80h80v80h160v-560H600v80h-80v-80q0-33 23.5-56.5T600-840h160q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H600Z",transform:"rotate(90 480 -480)"})]})},Table:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...i}=r;return v.jsx("svg",{...lt(e),...ii(t),...i,ref:n,children:v.jsx("path",{className:"ql-stroke ql-thick",d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18"})})},Minus:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...i}=r;return v.jsx("svg",{...lt(e),...ii(t),...i,ref:n,children:v.jsx("line",{className:"ql-stroke ql-thick",x1:"5",y1:"12",x2:"19",y2:"12"})})},EditorArrow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="currentColor",svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...l,ref:i,children:[v.jsx("path",{d:"M11 5L16.1962 10.25H5.80385L11 5Z",fill:t}),v.jsx("path",{d:"M11 19L16.1962 13.75H5.80385L11 19Z",fill:n})]})},Target:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...i}=r;return v.jsx("svg",{...lt(e),...i,ref:n,children:v.jsx("g",{id:"target",children:v.jsx("path",{id:"Vector",d:"M12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19Z",fill:t})})})}}),am=Xt.keys(th);function Mf(r,e,t){return e!==void 0&&r<e?e:t!==void 0&&r>t?t:r}var vi=(r=>(r.N="North",r.S="South",r.E="East",r.W="West",r))(vi||{}),Ku=(r=>(r.N="North",r.NW="NorthWest",r.NE="NorthEast",r.S="South",r.SW="SouthWest",r.SE="SouthEast",r.E="East",r.EN="EastNorth",r.ES="EastSouth",r.W="West",r.WN="WestNorth",r.WS="WestSouth",r))(Ku||{});function lm(r,e,t,n){if(!r.current||!e.current)return;const i=r.current.getBoundingClientRect(),l=e.current.getBoundingClientRect();let u={bottom:void 0,left:void 0,right:void 0,top:void 0};switch(t){case"North":u=l?{bottom:window.innerHeight-i.top,left:i.left+i.width/2-l.width/2}:{bottom:window.innerHeight-i.top,left:i.left};break;case"NorthWest":u={bottom:window.innerHeight-i.top,left:i.left};break;case"NorthEast":u={bottom:window.innerHeight-i.top,right:window.innerWidth-i.left-i.width};break;case"South":u=l?{top:i.bottom,left:i.left+i.width/2-l.width/2}:{top:i.bottom,left:i.left};break;case"SouthWest":u={top:i.bottom,left:i.left};break;case"SouthEast":u={top:i.bottom,right:window.innerWidth-i.left-i.width};break;case"East":u=l?{top:i.top+i.height/2-l.height/2,left:i.right}:{top:i.top,left:i.right};break;case"EastNorth":u={bottom:window.innerHeight-i.top-i.height,left:i.right};break;case"EastSouth":u={top:i.top,left:i.right};break;case"West":u=l?{top:i.top+i.height/2-l.height/2,right:window.innerWidth-i.left}:{top:i.top,right:window.innerWidth-i.left};break;case"WestNorth":u={bottom:window.innerHeight-i.top-i.height,right:window.innerWidth-i.left};break;case"WestSouth":u={top:i.top,right:window.innerWidth-i.left};break;default:u={top:i.top,left:i.left}}n&&(n.x&&u.left&&(u.left+=n.x),n.y&&u.top&&(u.top+=n.y)),u=G_(u,l),e.current.style.top=u.top+"px",e.current.style.left=u.left+"px",e.current.style.bottom=u.bottom+"px",e.current.style.right=u.right+"px"}function V_(r,e,t,n){if(!r)return;const i=e instanceof HTMLElement?e:e==null?void 0:e.current;if(!i)return;const l=r.getBoundingClientRect(),u=i.getBoundingClientRect();let h={bottom:void 0,left:void 0,right:void 0,top:void 0};switch(t){case"North":h=u?{bottom:window.innerHeight-l.top,left:l.left+l.width/2-u.width/2}:{bottom:window.innerHeight-l.top,left:l.left};break;case"NorthWest":h={bottom:window.innerHeight-l.top,left:l.left};break;case"NorthEast":h={bottom:window.innerHeight-l.top,right:window.innerWidth-l.left-l.width};break;case"South":h=u?{top:l.bottom,left:l.left+l.width/2-u.width/2}:{top:l.bottom,left:l.left};break;case"SouthWest":h={top:l.bottom,left:l.left};break;case"SouthEast":h={top:l.bottom,right:window.innerWidth-l.left-l.width};break;case"East":h=u?{top:l.top+l.height/2-u.height/2,left:l.right}:{top:l.top,left:l.right};break;case"EastNorth":h={bottom:window.innerHeight-l.top-l.height,left:l.right};break;case"EastSouth":h={top:l.top,left:l.right};break;case"West":h=u?{top:l.top+l.height/2-u.height/2,right:window.innerWidth-l.left}:{top:l.top,right:window.innerWidth-l.left};break;case"WestNorth":h={bottom:window.innerHeight-l.top-l.height,right:window.innerWidth-l.left};break;case"WestSouth":h={top:l.top,right:window.innerWidth-l.left};break;default:h={top:l.top,left:l.left}}return n&&(n.x&&h.left&&(h.left+=n.x),n.y&&h.top&&(h.top+=n.y)),h=G_(h,u),i.style.top=h.top+"px",i.style.left=h.left+"px",i.style.bottom=h.bottom+"px",i.style.right=h.right+"px",h}function G_(r,e,t=10){return r.left&&r.left<t&&(r.left=t),r.right&&r.right<t&&(r.right=t),r.top&&r.top<t&&(r.top=t),r.bottom&&r.bottom<t&&(r.bottom=t),r.left&&e&&r.left+e.width>window.innerWidth-t&&(r.left=window.innerWidth-e.width-t),r.right&&e&&r.right+e.width>window.innerWidth-t&&(r.right=window.innerWidth-e.width-t),r.top&&e&&r.top+e.height>window.innerHeight-t&&(r.top=window.innerHeight-e.height-t),r.bottom&&e&&r.bottom+e.height>window.innerHeight-t&&(r.bottom=window.innerHeight-e.height-t),r}function $c(){const r={preventDefault:!1};return{event:r,e:{preventDefault:()=>r.preventDefault=!0}}}const B4="_Tooltip_3l8se_1",q4="_Arrow_3l8se_17",zv={Tooltip:B4,Arrow:q4},Z_=r=>{const{tooltip:e,targetRef:t,delay:n=0,distance:i=10,direction:l=vi.S}=r,[u,h]=I.useState(!1),g=I.useRef(null),m=I.useRef(null),M=I.useRef(),T=I.useCallback(()=>{h(!0),M.current&&(clearTimeout(M.current),M.current=void 0);const D=setTimeout(()=>$v(t,g,m,i,l),n);M.current=D},[t,n,i,l]),C=I.useCallback(()=>h(!1),[]);I.useEffect(()=>{const D=t.current;if(D)return D.addEventListener("mouseenter",T),D.addEventListener("mouseleave",C),()=>{D.removeEventListener("mouseenter",T),D.removeEventListener("mouseleave",C)}},[t,C,T]);const _=I.useCallback(()=>{$v(t,g,m,i,l)},[t,i,l]);I.useEffect(()=>{if(!t.current||!g.current||!u)return;const D=t.current.parentElement;let A=D;for(;A;)A.addEventListener("scroll",_),A=A.parentElement;return()=>{let b=D;for(;b;)b.removeEventListener("scroll",_),b=b.parentElement}},[t,_,u]),I.useEffect(()=>{_()},[e,_]);const S=I.useMemo(()=>{switch(typeof e){case"boolean":return!0;case"string":return e==="";case"number":return!1;default:return!e}},[e]);return!u||S?null:Fs.createPortal(v.jsxs("div",{className:qe.clsx(zv.Tooltip,"NoSelect"),ref:g,children:[e,v.jsx("div",{ref:m,className:zv.Arrow})]}),document.body)},_d="5px solid var(--ATooltip_background-color)";function $v(r,e,t,n,i=vi.S){if(!r.current||!e.current||!t.current)return;const l=H4(r.current,e.current,n,i);if(!l)return;const{left:u,top:h,arrowDir:g,arrow:m}=l;e.current.style.left=`${u}px`,e.current.style.top=`${h}px`,e.current.style.visibility="visible",e.current.style.opacity="1",t.current.style.border="5px solid transparent",g===vi.N?(t.current.style.top="-9px",t.current.style.left=`calc(50% - 5px + ${m.left??0}px)`,t.current.style.borderBottom=_d):g===vi.S?(t.current.style.top="100%",t.current.style.left=`calc(50% - 5px + ${m.left??0}px)`,t.current.style.borderTop=_d):g===vi.W?(t.current.style.top=`calc(50% - 5px + ${m.top??0}px)`,t.current.style.left="-9px",t.current.style.borderRight=_d):g===vi.E&&(t.current.style.top=`calc(50% - 5px + ${m.top??0}px)`,t.current.style.left="100%",t.current.style.borderLeft=_d)}const $l=5;function H4(r,e,t,n){const i=r.getBoundingClientRect(),l=e.getBoundingClientRect();function u(){if(window.innerHeight-i.bottom>l.height+t){const M=i.bottom+t,T=i.left+(i.width-l.width)/2,C=Mf(T,$l,window.innerWidth-$l-l.width),_=vi.N;return{left:C,top:M,arrowDir:_,arrow:{left:T-C}}}}function h(){if(i.top>l.height+t){const M=i.top-l.height-t,T=i.left+(i.width-l.width)/2,C=Mf(T,$l,window.innerWidth-$l-l.width),_=vi.S;return{left:C,top:M,arrowDir:_,arrow:{left:T-C}}}}function g(){if(window.innerWidth-i.right>l.width+t){const M=i.right+t,T=i.top+(i.height-l.height)/2,C=Mf(T,$l,window.innerHeight-$l-l.height),_=vi.W;return{left:M,top:C,arrowDir:_,arrow:{top:T-C}}}}function m(){if(i.left>l.width+t){const M=i.left-l.width-t,T=i.top+(i.height-l.height)/2,C=Mf(T,$l,window.innerHeight-$l-l.height),_=vi.E;return{left:M,top:C,arrowDir:_,arrow:{top:T-C}}}}if(n===vi.E)return g()||m()||u()||h();if(n===vi.S)return u()||h()||g()||m();if(n===vi.W)return m()||g()||u()||h();if(n===vi.N)return h()||u()||g()||m()}const z4="_ABase_xbi52_1",$4="_UseDimming_xbi52_6",U4="_Dimmer_xbi52_6",W4="_Spinner_xbi52_9",V4="_Dimmed_xbi52_12",G4="_IsDimmed_xbi52_33",Z4="_IsLoading_xbi52_38",Y4="_IsDisabled_xbi52_43",Af={ABase:z4,UseDimming:$4,Dimmer:U4,Spinner:W4,Dimmed:V4,IsDimmed:G4,IsLoading:Z4,IsDisabled:Y4},Ur=r=>{const{children:e,abaseRef:t,isDisabled:n,isLoading:i,isDimmed:l,tooltip:u,tooltipDistance:h=10,tooltipDelay:g=0,tooltipDirection:m=vi.S,...M}=r,T=I.useRef(null),C=I.useMemo(()=>t??T,[t]),_=I.useMemo(()=>typeof n=="string"&&n!==""?n:u!==void 0?u:"",[n,u]),S=I.useMemo(()=>n||i||l,[n,i,l]),D=I.useMemo(()=>n!==void 0||i!==void 0||l!==void 0,[n,i,l]);return v.jsxs("div",{...M,className:qe.clsx(M.className,Af.ABase,D&&Af.UseDimming,S&&Af.Dimmed),ref:C,children:[e,D&&v.jsx("div",{className:qe.sclsx(Af,"Dimmer",n&&"IsDisabled",i&&"IsLoading",l&&"IsDimmed")}),i&&v.jsx("div",{className:qe.sclsx(Af,"Spinner",n&&"IsDisabled",i&&"IsLoading"),children:v.jsx(Br,{icon:"Spinner"})}),v.jsx(Z_,{tooltip:_,delay:g,distance:h,direction:m,targetRef:C})]})},K4="_AButton_vulhu_1",X4="_Primary_vulhu_14",J4="_Secondary_vulhu_19",Q4="_Alter_vulhu_24",e5="_AIconButton_vulhu_30",t5="_AThemeButton_vulhu_71",Uf={AButton:K4,Primary:X4,Secondary:J4,Alter:Q4,AIconButton:e5,AThemeButton:t5},r5=["Primary","Secondary","Alter","Raw"],Bi=r=>{const{type:e="Primary",onClick:t,noInteractive:n,...i}=r,l=I.useMemo(()=>i.isDisabled||i.isLoading,[i.isDisabled,i.isLoading]),u=I.useCallback(h=>{l||t==null||t(h)},[l,t]);return v.jsx(Ur,{...i,className:qe.clsx(i.className,Uf.AButton,e!=="Raw"&&Uf[e],"IsClickable",!l&&!n&&"IsInteractive"),onClick:u})},n5=["Primary","Secondary","Raw"],vo=r=>{const{icon:e,iconSize:t,type:n="Primary",onClick:i,isDisabled:l,isLoading:u,tooltip:h,className:g,...m}=r,M=I.useMemo(()=>l||u,[l,u]),T=I.useCallback(_=>{M||i==null||i(_)},[M,i]),C=I.useMemo(()=>am.includes(e)?v.jsx(Br,{icon:e,size:t}):e,[e,t]);return v.jsx(Ur,{className:qe.clsx(Uf.AIconButton,!l&&!u&&"IsClickable",n!=="Raw"&&Uf[n],g),onClick:T,isDisabled:l,isLoading:u,tooltip:h,...m,children:C})};function pn(r,e){r!==void 0&&r.length===1&&(e=r[0]);const t=I.useState(e);return I.useMemo(()=>r===void 0||r.length===1?t:r,[t,r])}const i5={Ok:"Ok",Cancel:"Cancel"},o5={"select n":r=>v.jsxs(v.Fragment,{children:["Select ",r]}),"deselect n":r=>v.jsxs(v.Fragment,{children:["Deselect ",r]}),"Search(Placeholder)":"Search","Search(Button)":"Search",Items:"Items","*Click row for single select":"*Click row for single select","*Change order to row drag":"*Change order to row drag","Loading Contents...":"Loading Contents..."},s5={weekDays:r=>["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][r],months:r=>["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][r],"Select Date":"Select Date"},a5={weekDays:r=>["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][r],months:r=>["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][r],"Select DateRange":"Select DateRange","1일":"1 Day","1주일":"1 Week","1개월":"1 Month","3개월":"3 Months"},l5={"drop file to select":"Drop file to select","or Drag & Drop":"or Drag & Drop","Select File":"Select File"},c5={"Checked n items":r=>v.jsxs(v.Fragment,{children:["Checked ",r," items"]}),"Searched n items":r=>v.jsxs(v.Fragment,{children:["Searched ",r," items"]}),"Total n items":r=>v.jsxs(v.Fragment,{children:["Total ",r," items"]}),"Sort by x":r=>v.jsxs(v.Fragment,{children:["Sort by ",r]}),"Sort up":"Sort up","Sort down":"Sort down",Asc:"Asc",Desc:"Desc","Search(Placeholder)":"Search","Search(Button)":"Search","Clear(Button)":"Clear",Select:"Select","Toggle Filter":"Toggle Filter","No Items":"No Items"},u5={"Select(Placeholder)":"Select"},f5={"Select(Placeholder)":"Select"},d5={"Insert Column Right":"Insert Column Right","Insert Column Left":"Insert Column Left","Insert Row Top":"Insert Row Top","Insert Row Bottom":"Insert Row Bottom","Delete Column":"Delete Column","Delete Row":"Delete Row","Delete Table":"Delete Table","Image size adjust":"Image size adjust",Center:"Center",floatLeft:"Left",floatRight:"Right","Input on mouse down":"Input on mouse down",Restore:"Restore","Right click to open properties":"Right click to open properties",Default:"Default"},h5={Asterisk:"Required field"},hn={ADialog:i5,ATree:o5,ADatePicker:s5,ADateRangePicker:a5,AFileBox:l5,ATable:c5,ASelect:u5,AMultiSelect:f5,AEditor:d5,AWrap:h5};function p5(r,e){Xt.keys(e).forEach(t=>{r[t]=e[t]})}const g5=(r,e)=>{p5(hn[r],e)},m5="_AWrap_1hjj4_1",v5="_Label_1hjj4_8",y5="_Asterisk_1hjj4_18",b5="_HelperTextConatiner_1hjj4_22",_5="_HelperText_1hjj4_22",Ru={AWrap:m5,Label:v5,Asterisk:y5,HelperTextConatiner:b5,HelperText:_5,Error:"_Error_1hjj4_37"},x5=["Default","Error"],Uc=r=>{const{wrapProps:e,errorMessage:t,helperText:n,wrapType:i="Default",label:l,labelProps:u,children:h}=r,g=I.useRef(null),[m,M]=I.useState({height:0}),T=I.useRef(null),[C,_]=I.useMemo(()=>{let D=n,A=i;if(Array.isArray(t)){const b=t.filter(Boolean);b.length>0&&([D,A]=[b,"Error"])}else t&&([D,A]=[t,"Error"]);return Array.isArray(D)&&(A!=="Error"&&(D=D.filter(Boolean)),D=D.map((b,k)=>v.jsxs(I.Fragment,{children:[b,v.jsx("br",{})]},k))),[D,A]},[n,t,i]);I.useEffect(()=>{if(!C||!g.current)M({height:0});else{const D=g.current.getBoundingClientRect();M({height:D.height,marginTop:D.height===0?0:6})}},[C]);const S=I.useMemo(()=>{switch(typeof(u==null?void 0:u.prefix)){case"string":return v.jsx(Br,{width:"1rem",height:"1rem",icon:u.prefix});case"boolean":return v.jsx(Br,{width:10,height:10,icon:"Target"});default:return u==null?void 0:u.prefix}},[u==null?void 0:u.prefix]);return v.jsxs("div",{...e,className:qe.clsx(e==null?void 0:e.className,Ru.AWrap),ref:T,children:[l&&v.jsxs("div",{className:qe.clsx(Ru.Label,"NoSelect",u==null?void 0:u.className),style:u==null?void 0:u.style,children:[S,l,(u==null?void 0:u.asterisk)&&v.jsx(Ur,{tooltip:hn.AWrap.Asterisk,className:Ru.Asterisk,children:"*"})]}),h,C!==void 0&&v.jsx("div",{className:qe.clsx(Ru.HelperTextConatiner,"NoSelect"),style:m,children:v.jsx("div",{className:qe.clsx(Ru.HelperText,Ru[_]),ref:g,children:C})})]})},S5="_ASwitch_1uv2e_1",C5="_Track_1uv2e_6",w5="_Truthy_1uv2e_13",A5="_Thumb_1uv2e_17",Tf={ASwitch:S5,Track:C5,Truthy:w5,Thumb:A5},Y_=r=>{const{wrapProps:e,helperText:t,label:n,useCheck:i,...l}=r,[u,h]=pn(i,!1),g=I.useCallback(m=>{var M;l.isDisabled||l.isLoading||(h==null||h(!u),(M=l.onClick)==null||M.call(l,m))},[l,u,h]);return v.jsx(Uc,{helperText:t,label:n,wrapProps:{...e},children:v.jsx(Ur,{...l,className:Tf.ASwitch,onClick:g,children:v.jsx("div",{className:qe.clsx(Tf.Track,u&&Tf.Truthy),children:v.jsx("div",{className:qe.clsx(Tf.Thumb,u&&Tf.Truthy)})})})})},T5={palette:{"mode-1":{"common-100":"#ffffff","common-0":"#000000","neutral-99":"#fcfcfc","neutral-94":"#efefef","neutral-89":"#e2e2e2","neutral-84":"#d6d6d6","neutral-79":"#c9c9c9","neutral-73":"#bababa","neutral-65":"#a5a5a5","neutral-54":"#898989","neutral-42":"#6b6b6b","neutral-30":"#4c4c4c","neutral-20":"#333333","neutral-15":"#2c2c2c","neutral-10":"#191919","neutral-5":"#0c0c0c","cool-neutral-99":"#fcfcfc","cool-neutral-94":"#efeff0","cool-neutral-89":"#e1e2e4","cool-neutral-84":"#d4d5d7","cool-neutral-79":"#c7c8cb","cool-neutral-73":"#b7b9bc","cool-neutral-65":"#a2a4a9","cool-neutral-54":"#85888e","cool-neutral-42":"#66696f","cool-neutral-30":"#494b4f","cool-neutral-20":"#303235","cool-neutral-10":"#18191a","cool-neutral-5":"#0c0c0c","red-99":"#fff9f9","red-95":"#ffe5e5","red-90":"#ffcccc","red-84":"#ffadad","red-76":"#ff8484","red-66":"#ff5151","red-53":"#ff0f0f","red-45":"#e50000","red-34":"#a80000","red-30":"#990000","red-24":"#7a0000","red-10":"#330000","green-99":"#fafffa","green-95":"#e5ffe8","green-90":"#ccffd1","green-84":"#adffb6","green-76":"#84ff90","green-66":"#51ff62","green-48":"#00f418","green-45":"#00e517","green-34":"#00a810","green-30":"#00990f","green-24":"#007a0c","green-10":"#003305","blue-99":"#fafdff","blue-95":"#e5f3ff","blue-90":"#cce6ff","blue-84":"#add7ff","blue-76":"#84c3ff","blue-66":"#51abff","blue-53":"#0f8bff","blue-45":"#0077e5","blue-34":"#0056a8","blue-30":"#004f99","blue-24":"#003f7a","blue-10":"#001a33","orange-99":"#fffcfa","orange-95":"#ffefe5","orange-90":"#ffdecc","orange-84":"#ffcbad","orange-76":"#ffb184","orange-66":"#ff9151","orange-53":"#ff670f","orange-45":"#e55400","orange-34":"#a83d00","orange-30":"#993800","orange-24":"#7a2c00","orange-10":"#331200","violet-99":"#fcfaff","violet-95":"#eee5ff","violet-90":"#dcccff","violet-84":"#c7adff","violet-76":"#ab84ff","violet-66":"#8852ff","violet-53":"#5b0fff","violet-45":"#4900e5","violet-34":"#3500a8","violet-28":"#2d008e","violet-24":"#26007a","violet-10":"#100033","cyan-99":"#faffff","cyan-95":"#e5fdff","cyan-90":"#ccfbff","cyan-84":"#adf9ff","cyan-76":"#84f6ff","cyan-66":"#51f3ff","cyan-50":"#00edff","cyan-45":"#00d6e5","cyan-40":"#00becc","cyan-30":"#008e99","cyan-21":"#00636b","cyan-10":"#002f33","pink-99":"#fffefa","pink-95":"#ffe5f5","pink-90":"#ffccea","pink-84":"#ffadde","pink-76":"#ff84ce","pink-66":"#ff51b9","pink-53":"#ff0f9f","pink-45":"#e5008a","pink-40":"#cc007a","pink-30":"#99005b","pink-21":"#6b0040","pink-10":"#33001e","lime-99":"#fcfffa","lime-95":"#eeffe5","lime-90":"#ddffcc","lime-84":"#c8ffad","lime-76":"#adff84","lime-66":"#8bff51","lime-49":"#53f900","lime-45":"#4ce500","lime-40":"#44cc00","lime-30":"#339900","lime-21":"#236b00","lime-10":"#113300","brand-b-color":"#386fff"}},semantic:{light:{"static-white":"common-100","static-black":"common-0","acent-brand":"brand-b-color","label-normal":"neutral-20","label-strong":"neutral-5","label-neutral":"neutral-73","line-normal":"neutral-79","line-strong":"neutral-65","line-neutral":"neutral-89","background-normal":"common-100","elevation-0":"common-100","elevation-10":"neutral-94","elevation-20":"neutral-73","alert-warning":"orange-53","alert-success":"green-45","alert-danger":"red-45","inverse-label-normal":"neutral-84","inverse-label-strong":"neutral-99","inverse-label-neutral":"neutral-30","inverse-line-normal":"neutral-30","inverse-line-strong":"neutral-54","inverse-line-neutral":"neutral-20","inverse-elevation-0":"neutral-5","inverse-elevation-10":"neutral-10","inverse-elevation-20":"neutral-15"},dark:{"static-white":"common-100","static-black":"common-0","acent-brand":"brand-b-color","label-normal":"neutral-84","label-strong":"neutral-99","label-neutral":"neutral-30","line-normal":"neutral-30","line-strong":"neutral-54","line-neutral":"neutral-20","background-normal":"neutral-5","elevation-0":"neutral-5","elevation-10":"neutral-10","elevation-20":"neutral-15","alert-warning":"orange-53","alert-success":"green-45","alert-danger":"red-45","inverse-label-normal":"neutral-20","inverse-label-strong":"neutral-5","inverse-label-neutral":"neutral-73","inverse-line-normal":"neutral-79","inverse-line-strong":"neutral-65","inverse-line-neutral":"neutral-89","inverse-elevation-0":"common-100","inverse-elevation-10":"neutral-94","inverse-elevation-20":"neutral-73"}}},bi=F_.cloneDeep(T5);Xt.keys(bi.semantic).forEach(r=>{const e=bi.semantic[r];Xt.keys(e).forEach(t=>{e[t]=`var(--${e[t]})`})});const rh=Xt.keys(bi.palette),K_=Xt.keys(bi.palette[rh[0]]);function E5(){return oi.paletteMode}function k5(r,e=oi.paletteMode){return bi.palette[e][r]}function R5(r){return ih(r)}const Wd=[];function X_(r){oi.paletteMode=r,K_.forEach(e=>document.documentElement.style.setProperty(`--${e}`,bi.palette[r][e])),Wd.forEach(e=>e(r))}function J_(r,e="all"){Xt.keys(r).forEach(n=>{const i=r[n];i!==void 0&&(document.documentElement.style.setProperty(`--${n}`,i),e==="all"?rh.forEach(l=>{bi.palette[l][n]=i}):bi.palette[e][n]=i)})}const $u=Xt.keys(bi.semantic),Q_=Xt.keys(bi.semantic[$u[0]]);function I5(){return oi.semanticMode}function L5(r,e=oi.semanticMode){return bi.semantic[e][r]}function M5(r){return ih(r)}const Vd=[];function cm(r){oi.semanticMode=r,document.documentElement.setAttribute("data-theme",r),Q_.forEach(e=>document.documentElement.style.setProperty(`--${e}`,bi.semantic[r][e])),Vd.forEach(e=>e(r)),oi.save==="localStorage"?localStorage.setItem("semanticMode",r):oi.save==="sessionStorage"&&sessionStorage.setItem("semanticMode",r)}function e2(r,e=oi.semanticMode){Xt.keys(r).forEach(n=>{const i=r[n];i!==void 0&&(document.documentElement.style.setProperty(`--${n}`,i),e==="all"?$u.forEach(l=>{bi.semantic[l][n]=i}):bi.semantic[e][n]=i)})}const t2=["Body-background-color","Body-color","Body-transition","Font","Scrollbar-handle","Scrollbar-handle-hover","Scrollbar-handle-active","Scrollbar-track","Scrollbar-border-radius","Scrollbar-width","Transition"],r2=["ABase_Dimming_background-color"],n2=["ATooltip_background-color","ATooltip_color"],i2=["AButton_Primary_border","AButton_Primary_background-color","AButton_Primary_color","AButton_Secondary_border","AButton_Secondary_background-color","AButton_Secondary_color","AButton_Alter_border","AButton_Alter_background-color","AButton_Alter_color"],o2=["AInput_Primary_background-color","AInput_Primary_border","AInput_Primary_color","AInput_Primary_hover_border","AInput_Primary_focus_background-color","AInput_Primary_focus_border","AInput_Primary_placeholder_color","AInput_Secondary_background-color","AInput_Secondary_border","AInput_Secondary_color","AInput_Secondary_hover_border","AInput_Secondary_focus_border","AInput_Secondary_placeholder_color","AInput_ReadOnly_background-color","AInput_ReadOnly_border","AInput_ReadOnly_color","AInput_Error_HelperText_color","AInput_Error_background-color","AInput_Error_border","AInput_Error_color","AInput_Error_placeholder_color"],s2=["ATextArea_Primary_background-color","ATextArea_Primary_border","ATextArea_Primary_color","ATextArea_Primary_hover_border","ATextArea_Primary_focus_background-color","ATextArea_Primary_focus_border","ATextArea_Secondary_background-color","ATextArea_Secondary_border","ATextArea_Secondary_color","ATextArea_Secondary_hover_border","ATextArea_Secondary_focus_border","ATextArea_ReadOnly_background-color","ATextArea_ReadOnly_border","ATextArea_ReadOnly_color","ATextArea_Error_background-color","ATextArea_Error_border","ATextArea_Error_color","ATextArea_Error_placeholder_color"],a2=["AEditor_Primary_background-color","AEditor_Primary_border","AEditor_Primary_color","AEditor_Primary_hover_border","AEditor_Primary_focus_background-color","AEditor_Primary_focus_border","AEditor_ReadOnly_background-color","AEditor_ReadOnly_border","AEditor_ReadOnly_hover_border","AEditor_ReadOnly_focus_border","AEditor_ReadOnly_color","AEditor_Error_background-color","AEditor_Error_border","AEditor_Error_color","AEditor_Error_placeholder_color","AEditor_Addon_Primary_background-color","AEditor_Addon_Primary_border","AEditor_Addon_Primary_color","AEditor_Addon_Secondary_background-color","AEditor_Addon_Secondary_border","AEditor_Addon_Secondary_color","AEditor_Addon_hover_background-color","AEditor_Addon_hover_color","AEditor_Addon_focus_border","AEditor_border-radius","AEditor_Select_border-radius","AEditor_Option_border-radius"],l2=["ACheckBox_color"],c2=["ADialog_Paper_background-color","ADialog_background-color","ADialog_border","ADialog_Action_background-color"],u2=["ASelect_Placeholder_color","ASelect_Primary_border","ASelect_Primary_hover_border","ASelect_Primary_Arrow_color","ASelect_Primary_Options_background-color","ASelect_Primary_Options_border","ASelect_Primary_Option_hover_background-color","ASelect_Primary_Option_active_background-color","ASelect_Primary_Option_Selected_background-color","ASelect_Secondary_border","ASelect_Secondary_hover_border","ASelect_Secondary_Arrow_color","ASelect_Secondary_Options_background-color","ASelect_Secondary_Options_border","ASelect_Secondary_Option_hover_background-color","ASelect_Secondary_Option_active_background-color","ASelect_Secondary_Option_Selected_background-color"],f2=["AMultiSelect_Placeholder_color","AMultiSelect_Primary_border","AMultiSelect_Primary_hover_border","AMultiSelect_Primary_Arrow_color","AMultiSelect_Primary_Options_background-color","AMultiSelect_Primary_Options_border","AMultiSelect_Primary_Option_hover_background-color","AMultiSelect_Primary_Option_active_background-color","AMultiSelect_Primary_Option_Selected_background-color","AMultiSelect_Secondary_border","AMultiSelect_Secondary_hover_border","AMultiSelect_Secondary_Arrow_color","AMultiSelect_Secondary_Options_background-color","AMultiSelect_Secondary_Options_border","AMultiSelect_Secondary_Option_hover_background-color","AMultiSelect_Secondary_Option_active_background-color","AMultiSelect_Secondary_Option_Selected_background-color"],d2=["ATree_background-color","ATree_Indent_border","ATreeBodyHeader_border-bottom","ATreeItem_hover_background-color","ATreeItem_active_background-color","ATreeItem_select_background-color","ATreeItem_search_background-color","ATreeItem_search_border-top","ATreeItem_search_border-bottom","ATreeItem_select_color"],h2=["ASwitch_Track_Falsy_border","ASwitch_Track_Truthy_border","ASwitch_Thumb_border"],p2=["ATab_IndicatorTrack_Primary_border-bottom","ATab_Indicator_Primary_background-color","ATab_Option_Secondary_border","ATab_Option_Secondary_IsSelected_border-bottom","ATab_Option_Secondary_IsDisabled_border","ATab_IndicatorTrack_Tertiary_background-color","ATab_Indicator_Tertiary_background-color","ATab_Option_Tertiary_color","ATab_Option_Tertiary_IsSelected_color","ATab_Option_Quaternary_color","ATab_Option_Quaternary_IsSelected_color"],g2=["AFileBox_border","AFileBox_background-color","AFileBox_SelectedFile_color","AFileBox_Dropping_color"],m2=["AListView_border-thin","AListView_border-thick"],v2=["AStepper_OutCircle_background-color","AStepper_OutCircle_IsOver_background-color","AStepper_InCircle_background-color","AStepper_InCircle_IsOver_background-color","AStepper_Line_background-color","AStepper_Line_IsOver_background-color"],y2=["ADatePicker_Anchor_border","ADatePicker_Anchor_color","ADatePicker_Anchor_Placeholder_color","ADatePicker_Anchor_hover_border","ADatePicker_Anchor_focus_border","ADatePicker_Anchor_Icon_Primary_color","ADatePicker_Anchor_Icon_Secondary_color","ADatePicker_background-color","ADatePicker_border","ADatePicker_StringInputContainer_background-color","ADatePicker_String_border","ADatePicker_Prev_background-color","ADatePicker_Prev_border-right","ADatePicker_Next_background-color","ADatePicker_Next_border-left","ADatePicker_Cell_color","ADatePicker_Cell_IsNotCurrentMonth_color","ADatePicker_Cell_IsDisabled_color","ADatePicker_Cell_IsSelected_background-color","ADatePicker_Cell_IsSelected_color","ADatePicker_Cell_IsHovered_background-color"],b2=["ADateRangePicker_Anchor_border","ADateRangePicker_Anchor_color","ADateRangePicker_Anchor_Placeholder_color","ADateRangePicker_Anchor_hover_border","ADateRangePicker_Anchor_focus_border","ADateRangePicker_Anchor_Icon_Primary_color","ADateRangePicker_Anchor_Icon_Secondary_color","ADateRangePicker_background-color","ADateRangePicker_border","ADateRangePicker_StringInputContainer_background-color","ADateRangePicker_String_border","ADateRangePicker_Prev_background-color","ADateRangePicker_Prev_border-right","ADateRangePicker_Next_background-color","ADateRangePicker_Next_border-left","ADateRangePicker_Cell_color","ADateRangePicker_Cell_IsNotCurrentMonth_color","ADateRangePicker_Cell_IsDisabled_color","ADateRangePicker_Cell_IsSelected_background-color","ADateRangePicker_Cell_IsSelected_color","ADateRangePicker_Cell_IsHovered_background-color"],_2=["AIconButton_Primary_color","AIconButton_Primary_border","AIconButton_Primary_background-color","AIconButton_Primary_hover_background-color","AIconButton_Primary_active_background-color","AIconButton_Secondary_color","AIconButton_Secondary_background-color","AIconButton_Secondary_hover_background-color","AIconButton_Secondary_active_background-color"],x2=["ATableBody_TRow_border-bottom","ATableBody_TRow_IsSelected_background-color","ATableBody_TRow_IsSelectable_hover_background-color","ATableBody_TH_color","ATableBody_TD_IsMarked_background-color","ATableBody_TD_IsMarked_color","ATableBody_Resizer_hover_ResizerCenter_background-color","ATableBody_Resizer_active_ResizerCenter_background-color","ATableBody_Resizer_active_ResizerOut_background-color","ATableBody_Resizer_active_ResizerIn_background-color","ATableFooter_Button_IsSelected_background-color","ATableFooter_Button_IsSelected_color","ATableFooter_Button_IsDisabled_color","ATableFilter_SubFilters_background-color","ATableFilter_SubFilters_border","ATableFilter_Icon_color","ATableFilter_Alert_color"],S2=["ADivideFrame_DividerInner_background-color"],C2=["AFloatMenu_background-color","AFloatMenu_hover_background-color","AFloatMenu_color","AFloatMenu_border"],w2=["ALoadingBorder_background-color","ALoadingBorder_ProgressBar_background-color","ALoadingBorder_Cover_background-color"],A2=["AWrap_Error_color"],T2=["ARadioSelect_RadioButton_border","ARadioSelect_RadioButton_InnerCircle_isChecked_background-color"],E2=["AChip_background-color","AChip_color","AChip_border","AChip_hover_background-color","AChip_hover_color","AChip_DeleteButton_border","AChip_DeleteButton_color","AChip_DeleteButton_hover_border","AChip_DeleteButton_hover_color"],D5=[...t2,...r2,...n2,...i2,...o2,...s2,...a2,...l2,...c2,...u2,...f2,...d2,...h2,...p2,...g2,...m2,...v2,...y2,...b2,..._2,...x2,...S2,...C2,...w2,...A2,...T2,...E2],nh={"Body-background-color":"var(--background-normal)","Body-color":"var(--label-normal)","Body-transition":"background-color var(--Transition), color var(--Transition)",Font:"400 16px pretendard","Scrollbar-handle":"var(--label-neutral)","Scrollbar-handle-hover":"var(--label-normal)","Scrollbar-handle-active":"var(--label-strong)","Scrollbar-track":"var(--elevation-10)","Scrollbar-border-radius":"6px","Scrollbar-width":"12px",Transition:"300ms","ABase_Dimming_background-color":"var(--elevation-0)","ATooltip_background-color":"var(--inverse-elevation-0)",ATooltip_color:"var(--inverse-label-strong)",AButton_Primary_border:"none","AButton_Primary_background-color":"var(--acent-brand)",AButton_Primary_color:"var(--static-white)",AButton_Secondary_border:"1px solid var(--elevation-10)","AButton_Secondary_background-color":"var(--elevation-10)",AButton_Secondary_color:"var(--label-normal)",AButton_Alter_border:"1px solid var(--line-normal)","AButton_Alter_background-color":"var(--elevation-0)",AButton_Alter_color:"var(--label-normal)","AInput_Primary_background-color":"var(--elevation-0)",AInput_Primary_border:"1px solid var(--line-normal)",AInput_Primary_color:"var(--label-normal)",AInput_Primary_hover_border:"1px solid var(--line-strong)","AInput_Primary_focus_background-color":"var(--elevation-10)",AInput_Primary_focus_border:"1px solid var(--line-strong)",AInput_Primary_placeholder_color:"var(--label-neutral)","AInput_Secondary_background-color":"var(--elevation-0)",AInput_Secondary_border:"1px solid var(--line-normal)",AInput_Secondary_color:"var(--label-normal)",AInput_Secondary_hover_border:"1px solid var(--line-strong)",AInput_Secondary_focus_border:"1px solid var(--line-strong)",AInput_Secondary_placeholder_color:"var(--label-neutral)","AInput_ReadOnly_background-color":"var(--elevation-10)",AInput_ReadOnly_border:"none",AInput_ReadOnly_color:"var(--label-normal)",AInput_Error_HelperText_color:"var(--alert-danger)","AInput_Error_background-color":"inherit",AInput_Error_border:"1px solid var(--line-normal)",AInput_Error_color:"var(--label-normal)",AInput_Error_placeholder_color:"var(--label-neutral)","ATextArea_Primary_background-color":"var(--elevation-0)",ATextArea_Primary_border:"1px solid var(--line-normal)",ATextArea_Primary_color:"var(--label-normal)",ATextArea_Primary_hover_border:"1px solid var(--line-strong)","ATextArea_Primary_focus_background-color":"var(--elevation-10)",ATextArea_Primary_focus_border:"1px solid var(--line-strong)","ATextArea_Secondary_background-color":"var(--elevation-0)",ATextArea_Secondary_border:"1px solid var(--line-normal)",ATextArea_Secondary_color:"var(--label-normal)",ATextArea_Secondary_hover_border:"1px solid var(--line-strong)",ATextArea_Secondary_focus_border:"1px solid var(--line-strong)","ATextArea_ReadOnly_background-color":"var(--elevation-10)",ATextArea_ReadOnly_border:"none",ATextArea_ReadOnly_color:"var(--label-normal)","ATextArea_Error_background-color":"inherit",ATextArea_Error_border:"1px solid var(--line-normal)",ATextArea_Error_color:"var(--label-normal)",ATextArea_Error_placeholder_color:"var(--label-neutral)","AEditor_Primary_background-color":"var(--elevation-0)",AEditor_Primary_border:"1px solid var(--line-normal)",AEditor_Primary_color:"var(--label-normal)",AEditor_Primary_hover_border:"1px solid var(--line-strong)","AEditor_Primary_focus_background-color":"var(--elevation-0)",AEditor_Primary_focus_border:"1px solid var(--line-strong)","AEditor_ReadOnly_background-color":"var(--elevation-0)",AEditor_ReadOnly_border:"1px solid var(--line-normal)",AEditor_ReadOnly_hover_border:"1px solid var(--line-strong)",AEditor_ReadOnly_focus_border:"1px solid var(--line-strong)",AEditor_ReadOnly_color:"var(--label-normal)","AEditor_Error_background-color":"inherit",AEditor_Error_border:"1px solid var(--alert-danger)",AEditor_Error_color:"var(--alert-danger)",AEditor_Error_placeholder_color:"var(--alert-danger)","AEditor_Addon_Primary_background-color":"var(--background-normal)",AEditor_Addon_Primary_border:"1px solid var(--line-normal)",AEditor_Addon_Primary_color:"var(--label-normal)","AEditor_Addon_Secondary_background-color":"var(--background-normal)",AEditor_Addon_Secondary_border:"1px solid var(--line-strong)",AEditor_Addon_Secondary_color:"var(--label-neutral)","AEditor_Addon_hover_background-color":"var(--elevation-10)",AEditor_Addon_hover_color:"var(--acent-brand)",AEditor_Addon_focus_border:"1px solid var(--line-strong)","AEditor_border-radius":"2px","AEditor_Select_border-radius":"6px","AEditor_Option_border-radius":"6px",ACheckBox_color:"var(--label-normal)","ADialog_Paper_background-color":"#00000060","ADialog_background-color":"var(--elevation-0)",ADialog_border:"1px solid var(--line-neutral)","ADialog_Action_background-color":"var(--elevation-0)",ASelect_Placeholder_color:"var(--label-neutral)",ASelect_Primary_border:"1px solid var(--line-normal)",ASelect_Primary_hover_border:"1px solid var(--line-strong)",ASelect_Primary_Arrow_color:"var(--label-normal)","ASelect_Primary_Options_background-color":"var(--elevation-0)",ASelect_Primary_Options_border:"1px solid var(--line-normal)","ASelect_Primary_Option_hover_background-color":"var(--elevation-10)","ASelect_Primary_Option_active_background-color":"var(--elevation-10)","ASelect_Primary_Option_Selected_background-color":"var(--elevation-20)",ASelect_Secondary_border:"1px solid var(--line-neutral)",ASelect_Secondary_hover_border:"1px solid var(--line-normal)",ASelect_Secondary_Arrow_color:"var(--label-normal)","ASelect_Secondary_Options_background-color":"var(--elevation-0)",ASelect_Secondary_Options_border:"var(--line-normal)","ASelect_Secondary_Option_hover_background-color":"var(--elevation-10)","ASelect_Secondary_Option_active_background-color":"var(--elevation-20)","ASelect_Secondary_Option_Selected_background-color":"var(--elevation-0)",AMultiSelect_Placeholder_color:"var(--label-neutral)",AMultiSelect_Primary_border:"1px solid var(--line-normal)",AMultiSelect_Primary_hover_border:"1px solid var(--line-strong)",AMultiSelect_Primary_Arrow_color:"var(--label-normal)","AMultiSelect_Primary_Options_background-color":"var(--elevation-0)",AMultiSelect_Primary_Options_border:"1px solid var(--line-normal)","AMultiSelect_Primary_Option_hover_background-color":"var(--elevation-10)","AMultiSelect_Primary_Option_active_background-color":"var(--elevation-10)","AMultiSelect_Primary_Option_Selected_background-color":"var(--elevation-20)",AMultiSelect_Secondary_border:"1px solid var(--line-neutral)",AMultiSelect_Secondary_hover_border:"1px solid var(--line-normal)",AMultiSelect_Secondary_Arrow_color:"var(--label-normal)","AMultiSelect_Secondary_Options_background-color":"var(--elevation-0)",AMultiSelect_Secondary_Options_border:"1px solid var(--line-normal)","AMultiSelect_Secondary_Option_hover_background-color":"var(--elevation-10)","AMultiSelect_Secondary_Option_active_background-color":"var(--elevation-10)","AMultiSelect_Secondary_Option_Selected_background-color":"var(--elevation-20)","ATree_background-color":"var(--elevation-0)",ATree_Indent_border:"1px solid var(--line-normal)","ATreeBodyHeader_border-bottom":"1px solid var(--line-normal)","ATreeItem_hover_background-color":"var(--elevation-10)","ATreeItem_active_background-color":"var(--elevation-10)","ATreeItem_select_background-color":"var(--elevation-10)","ATreeItem_search_background-color":"yellow","ATreeItem_search_border-top":"1px dashed var(--label-normal)","ATreeItem_search_border-bottom":"1px dashed var(--label-normal)",ATreeItem_select_color:"var(--label-normal)",ASwitch_Track_Falsy_border:"12px solid var(--elevation-20)",ASwitch_Track_Truthy_border:"12px solid var(--acent-brand)",ASwitch_Thumb_border:"9px solid var(--static-white)","ATab_IndicatorTrack_Primary_border-bottom":"1px solid var(--line-normal)","ATab_Indicator_Primary_background-color":"var(--label-normal)",ATab_Option_Secondary_border:"2px solid var(--label-normal)","ATab_Option_Secondary_IsSelected_border-bottom":"2px solid var(--elevation-0)",ATab_Option_Secondary_IsDisabled_border:"2px solid var(--line-neutral)","ATab_IndicatorTrack_Tertiary_background-color":"var(--line-normal)","ATab_Indicator_Tertiary_background-color":"var(--elevation-0)",ATab_Option_Tertiary_color:"var(--line-strong)",ATab_Option_Tertiary_IsSelected_color:"var(--label-strong)",ATab_Option_Quaternary_color:"var(--label-neutral)",ATab_Option_Quaternary_IsSelected_color:"var(--label-normal)",AFileBox_border:"1px dashed var(--label-normal)","AFileBox_background-color":"var(--elevation-10)",AFileBox_SelectedFile_color:"var(--label-normal)",AFileBox_Dropping_color:"var(--label-normal)","AListView_border-thin":"1px solid var(--line-neutral)","AListView_border-thick":"3px solid var(--line-neutral)","AStepper_OutCircle_background-color":"transparent","AStepper_OutCircle_IsOver_background-color":"var(--elevation-10)","AStepper_InCircle_background-color":"var(--elevation-20)","AStepper_InCircle_IsOver_background-color":"var(--label-normal)","AStepper_Line_background-color":"var(--line-neutral)","AStepper_Line_IsOver_background-color":"var(--label-normal)",ADatePicker_Anchor_border:"1px solid var(--line-normal)",ADatePicker_Anchor_color:"var(--label-normal)",ADatePicker_Anchor_Placeholder_color:"var(--label-neutral)",ADatePicker_Anchor_hover_border:"1px solid var(--line-strong)",ADatePicker_Anchor_focus_border:"1px solid var(--line-strong)",ADatePicker_Anchor_Icon_Primary_color:"var(--label-normal)",ADatePicker_Anchor_Icon_Secondary_color:"var(--label-normal)","ADatePicker_background-color":"var(--elevation-0)",ADatePicker_border:"1px solid var(--line-neutral)","ADatePicker_StringInputContainer_background-color":"var(--label-neutral)",ADatePicker_String_border:"1px solid var(--label-normal)","ADatePicker_Prev_background-color":"var(--elevation-10)","ADatePicker_Prev_border-right":"6px solid var(--label-normal)","ADatePicker_Next_background-color":"var(--elevation-10)","ADatePicker_Next_border-left":"6px solid var(--label-normal)",ADatePicker_Cell_color:"var(--label-normal)",ADatePicker_Cell_IsNotCurrentMonth_color:"var(--label-neutral)",ADatePicker_Cell_IsDisabled_color:"var(--label-neutral)","ADatePicker_Cell_IsSelected_background-color":"var(--elevation-20)",ADatePicker_Cell_IsSelected_color:"var(--label-normal)","ADatePicker_Cell_IsHovered_background-color":"var(--elevation-10)",ADateRangePicker_Anchor_border:"1px solid var(--line-normal)",ADateRangePicker_Anchor_color:"var(--label-normal)",ADateRangePicker_Anchor_Placeholder_color:"var(--label-neutral)",ADateRangePicker_Anchor_hover_border:"1px solid var(--line-strong)",ADateRangePicker_Anchor_focus_border:"1px solid var(--line-strong)",ADateRangePicker_Anchor_Icon_Primary_color:"var(--label-normal)",ADateRangePicker_Anchor_Icon_Secondary_color:"var(--label-normal)","ADateRangePicker_background-color":"var(--elevation-0)",ADateRangePicker_border:"1px solid var(--line-neutral)","ADateRangePicker_StringInputContainer_background-color":"var(--label-neutral)",ADateRangePicker_String_border:"1px solid var(--label-normal)","ADateRangePicker_Prev_background-color":"var(--elevation-10)","ADateRangePicker_Prev_border-right":"6px solid var(--label-normal)","ADateRangePicker_Next_background-color":"var(--elevation-10)","ADateRangePicker_Next_border-left":"6px solid var(--label-normal)",ADateRangePicker_Cell_color:"var(--label-normal)",ADateRangePicker_Cell_IsNotCurrentMonth_color:"var(--label-neutral)",ADateRangePicker_Cell_IsDisabled_color:"var(--label-neutral)","ADateRangePicker_Cell_IsSelected_background-color":"var(--elevation-20)",ADateRangePicker_Cell_IsSelected_color:"var(--label-normal)","ADateRangePicker_Cell_IsHovered_background-color":"var(--elevation-10)",AIconButton_Primary_color:"var(--label-normal)",AIconButton_Primary_border:"1px solid var(--line-normal)","AIconButton_Primary_background-color":"var(--elevation-0)","AIconButton_Primary_hover_background-color":"var(--elevation-10)","AIconButton_Primary_active_background-color":"var(--elevation-20)",AIconButton_Secondary_color:"var(--label-normal)","AIconButton_Secondary_background-color":"var(--elevation-0)","AIconButton_Secondary_hover_background-color":"var(--elevation-10)","AIconButton_Secondary_active_background-color":"var(--elevation-20)","ATableBody_TRow_border-bottom":"1px solid var(--line-normal)","ATableBody_TRow_IsSelected_background-color":"var(--elevation-10)","ATableBody_TRow_IsSelectable_hover_background-color":"var(--elevation-10)",ATableBody_TH_color:"var(--label-neutral)","ATableBody_TD_IsMarked_background-color":"yellow",ATableBody_TD_IsMarked_color:"var(--label-normal)","ATableBody_Resizer_hover_ResizerCenter_background-color":"var(--line-neutral)","ATableBody_Resizer_active_ResizerCenter_background-color":"var(--line-neutral)","ATableBody_Resizer_active_ResizerOut_background-color":"var(--line-neutral)","ATableBody_Resizer_active_ResizerIn_background-color":"var(--line-neutral)","ATableFooter_Button_IsSelected_background-color":"var(--elevation-10)",ATableFooter_Button_IsSelected_color:"var(--label-normal)",ATableFooter_Button_IsDisabled_color:"var(--label-neutral)","ATableFilter_SubFilters_background-color":"var(--elevation-0)",ATableFilter_SubFilters_border:"1px solid var(--line-normal)",ATableFilter_Icon_color:"var(--label-normal)",ATableFilter_Alert_color:"var(--alert-danger)","ADivideFrame_DividerInner_background-color":"var(--line-normal)","AFloatMenu_background-color":"var(--elevation-0)","AFloatMenu_hover_background-color":"var(--elevation-10)",AFloatMenu_color:"var(--label-normal)",AFloatMenu_border:"1px solid var(--line-neutral)","ALoadingBorder_background-color":"var(--label-normal)","ALoadingBorder_ProgressBar_background-color":"var(--elevation-0)","ALoadingBorder_Cover_background-color":"var(--label-normal)",AWrap_Error_color:"var(--alert-danger)",ARadioSelect_RadioButton_border:"1px solid var(--line-normal)","ARadioSelect_RadioButton_InnerCircle_isChecked_background-color":"var(--acent-brand)","AChip_background-color":"var(--elevation-10)",AChip_color:"var(--label-normal)",AChip_border:"1px solid var(--line-normal)","AChip_hover_background-color":"var(--elevation-20)",AChip_hover_color:"var(--label-normal)",AChip_DeleteButton_border:"9px solid var(--line-normal)",AChip_DeleteButton_color:"var(--label-normal)",AChip_DeleteButton_hover_border:"9px solid var(--line-strong)",AChip_DeleteButton_hover_color:"var(--label-normal)"};function O5(r){return nh[r]}function P5(r){return ih(r)}function k2(r){Xt.keys(r).forEach(t=>{const n=r[t];n!==void 0&&(document.documentElement.style.setProperty(`--${t}`,n),nh[t]=n)})}function N5(r){Xt.keys(r).forEach(t=>{const n=r[t];if(n===void 0)return;const i=bi.semantic[oi.semanticMode][n];i!==void 0&&(document.documentElement.style.setProperty(t,i),nh[t]=i)})}const oi={paletteMode:rh[0],semanticMode:$u[0],save:"",followDeviceSetting:!1};function j5({semanticMode:r,save:e,followDeviceSetting:t}){if(t!==void 0&&(oi.followDeviceSetting=t,t)){const n=window.matchMedia("(prefers-color-scheme: dark)"),i=u=>{oi.semanticMode=u.matches?"dark":"light"};i(n);const l=u=>i(u);n.addEventListener("change",l)}if(e!==void 0){if(oi.save=e,e==="localStorage"){const n=localStorage.getItem("semanticMode");$u.includes(n)&&(oi.semanticMode=n)}else if(e==="sessionStorage"){const n=sessionStorage.getItem("semanticMode");$u.includes(n)&&(oi.semanticMode=n)}}r!==void 0&&(oi.semanticMode=r),X_(oi.paletteMode),cm(oi.semanticMode),J_(bi.palette[oi.paletteMode]),e2(bi.semantic[oi.semanticMode]),k2(nh)}function F5(r){r.type==="semanticModeChange"?Vd.push(r.listener):r.type==="paletteModeChange"?Wd.push(r.listener):console.error("AThemes.addEventListener : parameter is not valid")}function B5(r){if(r.type==="semanticModeChange"){const e=Vd.indexOf(r.listener);e!==-1&&Vd.splice(e,1)}else if(r.type==="paletteModeChange"){const e=Wd.indexOf(r.listener);e!==-1&&Wd.splice(e,1)}else console.error("AThemes.removeEventListener : parameter is not valid")}function ih(r){const e=window.getComputedStyle(document.documentElement);let t=e.getPropertyValue(r);return t===""&&(t=e.getPropertyValue(`--${r}`)),t}function q5(r){Object.assign(qe.additionalClasses,r),qe.updateKeys(),qe.additionalClasses=qe.additionalClasses}const Df={getCurrentPaletteMode:E5,getPaletteValue:k5,getPaletteDeepValue:R5,changePaletteMode:X_,editPalette:J_,getCurrentSemanticMode:I5,getSemanticValue:L5,getSemanticDeepValue:M5,changeSemanticMode:cm,editSemantic:e2,getComponentStyleValue:O5,getComponentStyleDeepValue:P5,editComponentStyle:k2,editComponentStyleWithSemantic:N5,init:j5,addEventListener:F5,removeEventListener:B5,getDeepValue:ih,addClasses:q5},H5=r=>{const{onChange:e,onClick:t,type:n="Icon",...i}=r,[l,u]=I.useState(Df.getCurrentSemanticMode()==="dark"?"Moon":"Sun"),h=I.useCallback(g=>{const m=Df.getCurrentSemanticMode();let M="light";m==="light"?M="dark":m==="dark"&&(M="light"),Df.changeSemanticMode(M),u(z5[M]),e==null||e(M),t==null||t(g)},[e,t]);if(n==="Icon")return v.jsx(vo,{...i,className:qe.clsx(Uf.AThemeButton,i.className,"IsInteractive"),type:"Raw",icon:l,onClick:h});if(n==="Switch")return v.jsx(Y_,{...i,useCheck:[Df.getCurrentSemanticMode()==="dark",h]})},z5={light:"Sun",dark:"Moon"},$5="_ACheckBoxWrap_1ozuz_1",U5="_ACheckBox_1ozuz_1",Uv={ACheckBoxWrap:$5,ACheckBox:U5},Uu=r=>{const{useCheck:e,isIndeterminate:t,isDisabled:n,isLoading:i,onClick:l,...u}=r,[h,g]=pn(e,!1),m=I.useCallback(M=>{n||i||(g==null||g(!h),l==null||l(M))},[n,i,l,h,g]);return v.jsx(Ur,{...u,className:qe.clsx(u.className,Uv.ACheckBoxWrap),isDisabled:n,isLoading:i,onClick:m,children:v.jsx(Br,{className:Uv.ACheckBox,icon:t?"Check.Indeterminate":h?"Check.Checked":"Check.UnChecked"})})};function W5(r){return typeof r=="function"}function V5(r,e){return W5(r)?r(e):r}const kr={getContent:V5},G5="_ARowFrame_1586b_1",Z5="_AColFrame_1586b_7",Y5="_AOverflowFrame_1586b_13",K5="_ADivideFrame_1586b_22",X5="_Row_1586b_28",J5="_Col_1586b_31",Q5="_ChildFrame_1586b_35",eT="_IsReturning_1586b_48",tT="_Divider_1586b_52",rT="_IsMoving_1586b_60",nT="_DividerInner_1586b_66",iT="_IsClicked_1586b_91",qo={ARowFrame:G5,AColFrame:Z5,AOverflowFrame:Y5,ADivideFrame:K5,Row:X5,Col:J5,ChildFrame:Q5,IsReturning:eT,Divider:tT,IsMoving:rT,DividerInner:nT,IsClicked:iT},si=r=>v.jsx(Ur,{...r,className:qe.clsx(qo.ARowFrame,r.className),children:r.children}),R2=r=>v.jsx("div",{...r,className:qe.clsx(qo.AColFrame,r.className),children:r.children}),Xl=r=>{const{tooltip:e,children:t,abaseRef:n,isDisabled:i,className:l,noOverflowTooltip:u,...h}=r,g=I.useRef(null),m=I.useMemo(()=>n??g,[n]),[M,T]=I.useState(!1),C=I.useCallback(()=>T(!0),[]),_=I.useCallback(()=>T(!1),[]);I.useEffect(()=>{const D=m.current;if(D)return D.addEventListener("mouseenter",C),D.addEventListener("mouseleave",_),()=>{D.removeEventListener("mouseenter",C),D.removeEventListener("mouseleave",_)}},[m,C,_]);const S=I.useMemo(()=>i?"":u||!M||!m.current?e:m.current.scrollWidth>m.current.clientWidth?t:e,[m,i,t,e,u,M]);return v.jsx(Ur,{...h,isDisabled:i,children:t,abaseRef:m,tooltip:S,className:qe.clsx(qo.AOverflowFrame,l)})},I2=r=>{const{value:e,map:t}=r;return t[e]===void 0?t.fallback:v.jsx(I.Suspense,{children:t[e]})},Vh={},oT=r=>{const{pk:e,direction:t="Row",lefts:n,minLength:i=40,children:l,childStyle:u,childClassName:h,dividerStyle:g,dividerClassName:m,dividerPadding:M,dividerInnerClassName:T,dividerInnerStyle:C,..._}=r,S=I.useMemo(()=>{let ne;return typeof l=="object"&&Array.isArray(l)?ne=l:ne=[l],ne=ne.filter(ie=>ie!=null&&ie!==!1),ne},[l]),[D,A]=I.useState(e===void 0?n:Vh[e]??n),b=I.useMemo(()=>typeof i=="number"?Array(S.length).fill(i+(M??0)):i.map(ne=>ne+(M??0)),[i,S.length,M]),[k,O]=I.useState(),H=I.useMemo(()=>k!==void 0?k:D,[k,D]),q=I.useRef(null),G=I.useRef({x:0,y:0}),[Y,ue]=I.useState(),ee=I.useCallback((ne,ie)=>{if(q.current===null)return;const ce=q.current;G.current={x:ne.clientX,y:ne.clientY},O(D),ue(ie);let me=[...D];const ae=ge=>{const xe=ce.getBoundingClientRect(),Le=t==="Row"?xe.left:xe.top,Pe=t==="Row"?xe.width:xe.height;me=lT(D,t,ie,ge,Le,Pe,b),O(me)},be=()=>{ue(void 0),O(void 0),A(me),e!==void 0&&(Vh[e]=me),window.removeEventListener("mousemove",ae),window.removeEventListener("mouseup",be)};window.addEventListener("mousemove",ae),window.addEventListener("mouseup",be)},[D,e,t,b]),[fe,N]=I.useState(!1),re=I.useCallback(()=>{A(n),e!==void 0&&(Vh[e]=n),N(!0)},[n,e]),K=I.useMemo(()=>S.map((ne,ie)=>{const ce=H[ie],me=ce-(ie===0?0:H[ie-1]),ae=ie===0,be=ie===S.length-1,ge={...u,...sT(t,me,be)};return M!==void 0&&(t==="Row"?(ae||(ge.paddingLeft=M),be||(ge.paddingRight=M)):(ae||(ge.paddingTop=M),be||(ge.paddingBottom=M))),v.jsxs(I.Fragment,{children:[v.jsx("div",{className:qe.clsx(qo.ChildFrame,h,fe&&qo.IsReturning,qo[t]),onTransitionEnd:()=>N(!1),style:ge,children:ne}),!be&&v.jsx("div",{className:qe.clsx(qo.Divider,qo[t],"NoSelect",Y!==void 0&&qo.IsMoving,Y===ie&&qo.IsClicked,m),style:{...g,...aT(t,ce)},onMouseDown:xe=>ee(xe,ie),onDoubleClick:re,children:v.jsx("div",{className:qe.clsx(qo.DividerInner,T),style:C})})]},ie)}),[S,H,u,t,M,h,fe,Y,m,g,re,T,C,ee]);return v.jsx("div",{..._,className:qe.clsx(qo.ADivideFrame,r.className,qo[t]),ref:q,children:K})};function sT(r,e,t){return t?{}:r==="Col"?{height:e,minHeight:e,maxHeight:e}:{maxWidth:e,width:e,minWidth:e}}function aT(r,e){return r==="Col"?{top:e}:{left:e}}function lT(r,e,t,n,i,l,u){const h=[...r];let g=n.clientX-i-r[t];e==="Col"&&(g=n.clientY-i-r[t]);const m=T=>u.slice(0,T+1).reduce((C,_)=>C+_,0),M=T=>u.slice(T+1).reduce((C,_)=>C+_,0);if(g<0){let T=h[t]+g;if(T<=m(t))for(let C=0;C<=t;C++)h[C]=m(C);else if(h[t]=T,t>0)for(let C=t-1;C>=0&&T-h[C]<u[C];C--)h[C]=T-u[t],T=h[C]}else if(g>0){let T=h[t]+g;if(T>=l-M(t))for(let C=t;C<r.length;C++)h[C]=l-M(C);else if(h[t]=T,t<r.length-1)for(let C=t+1;C<r.length&&h[C]-T<u[C];C++)h[C]=T+u[C],T=h[C]}return h}const Yc=()=>v.jsx("div",{style:{display:"flex",flexGrow:1}}),cT="_ASpace_1okqf_1",uT={ASpace:cT},mn=r=>{const{h:e,w:t,...n}=r;return v.jsx("div",{...n,className:qe.clsx(uT.ASpace,n.className),style:{height:e,minHeight:e,maxHeight:e,width:t,minWidth:t,maxWidth:t,...n.style}})},fT="_AChipsContainer_1ag9v_1",dT="_AChip_1ag9v_1",hT="_Clickable_1ag9v_21",pT="_AChipDelete_1ag9v_26",gT="_IsHover_1ag9v_40",mT="_AChipDeleteIcon_1ag9v_45",Fu={AChipsContainer:fT,AChip:dT,Clickable:hT,AChipDelete:pT,IsHover:gT,AChipDeleteIcon:mT},vT=r=>{const{useLabels:e,alignItems:t="flex-start",ChipStyle:n,ChipClassName:i,ChipOnDelete:l,ChipOnClick:u,ChipIcon:h,className:g,style:m,ButtonRenderer:M=M2,gap:T=8,...C}=r,[_,S]=pn(e,[]),D=I.useCallback(b=>{!S||!l||(l({label:b}),S(_.filter(k=>k!==b)))},[S,l,_]),A=I.useCallback(b=>{const k={label:b};return{label:b,useLabel:[b,()=>{}],style:kr.getContent(n,k),className:kr.getContent(i,k),icon:kr.getContent(h,k),onDelete:()=>D(b),onClick:u?()=>u({label:b}):void 0}},[i,h,u,n,D]);return v.jsx(Ur,{...C,style:{...m,alignItems:t,gap:T},className:qe.clsx(Fu.AChipsContainer,g),children:_.map((b,k)=>v.jsx(L2,{...A(b),ButtonRenderer:M},k))})},L2=r=>{const{label:e,useLabel:t,icon:n,className:i,onDelete:l,onClick:u,ButtonRenderer:h=M2,width:g="fit-content",style:m,...M}=r;return e===void 0?v.jsx(v.Fragment,{}):v.jsxs(Ur,{...M,style:{...m,width:g},onClick:u,className:qe.clsx("NoSelect",Fu.AChip,u&&Fu.Clickable,u&&"IsClickable",i),children:[v.jsx(Xl,{children:e}),h({...r})]})},M2=r=>{const{label:e,icon:t,onDelete:n,useLabel:i}=r,[,l]=pn(i,e),[u,h]=I.useState(!1),g=I.useCallback(T=>{n&&(T.stopPropagation(),l==null||l(void 0),n(r))},[n,r,l]),m=()=>{h(!0)},M=()=>{h(!1)};return v.jsx(v.Fragment,{children:n&&v.jsxs(v.Fragment,{children:[v.jsx(Yc,{}),v.jsx(mn,{w:24}),v.jsx(Ur,{className:qe.clsx(Fu.AChipDelete,"IsClickable",u&&Fu.IsHover)}),v.jsx(vo,{type:"Raw",onClick:g,onMouseEnter:m,onMouseLeave:M,icon:t||v.jsx(Br,{icon:"Close",stroke:"currentColor",width:14,height:14}),className:Fu.AChipDeleteIcon})]})})},yT=r=>{let e="";r<0&&(e+="-",r=-r);const t=Math.floor(r/3600),n=Math.floor(r%3600/60),i=r%60;return t>0&&(e+=t.toString().padStart(2,"0")+":"),e+=n.toString().padStart(2,"0")+":",e+=i.toString().padStart(2,"0"),e},bT=/[a-zA-Z0-9]/,_T=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9]{2,}$/,xT=/^[a-zA-Z0-9._-]+$/,ST=/^[0-9a-fA-F-]+$/i,CT=/[가-힣ㄱ-ㅎㅏ-ㅣ]/,wT=/^\S*$/,AT=/^([^ㄱ-ㅎㅏ-ㅣ])*$/i,TT=/[!@#$%^&*+=;:?/<>\\[\](){}~\-_.(),]/,ET=/^(?=.*[A-Za-z])(?=.*\d)(?=.*[\W_])[A-Za-z\d\W_]{8,}$/,kT=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$/,RT={hasKr:r=>/[가-힣ㄱ-ㅎㅏ-ㅣ]/.test(r),hasMalKr:r=>/[ㄱ-ㅎㅏ-ㅣ]/.test(r),hasBlank:r=>/\s/.test(r),isBlank:r=>/^\s*$/.test(r),isUuid:r=>/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$/.test(r),isEmail:r=>/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9]{2,}$/.test(r),isAlphabet:r=>/^[a-zA-Z]*$/.test(r),isAlphaNumeric:r=>/^[a-zA-Z0-9]*$/.test(r),isKr:r=>/^[가-힣ㄱ-ㅎㅏ-ㅣ]*$/.test(r),isKrNumeric:r=>/^[가-힣ㄱ-ㅎㅏ-ㅣ0-9]*/.test(r),isNumeric:r=>/^[0-9]$/.test(r),isLenMinMax:(r,e)=>t=>!(r!==void 0&&t.length<r||e!==void 0&&t.length>e)},D2={secondToTime:yT,validate:RT},IT=r=>{const{maxTicks:e=300,interval:t=1e3,onFinish:n,noStartOnRender:i,actionRef:l,wrapProps:u,helperText:h,label:g,...m}=r,[M,T]=I.useState(0),[C,_]=I.useState(!i);I.useEffect(()=>{if(!C||m.isDisabled||m.isLoading)return;const O=setInterval(()=>T(H=>H+1),t);return()=>clearInterval(O)},[t,C,m.isDisabled,m.isLoading]);const S=I.useCallback(()=>{n==null||n(),_(!1)},[n]);I.useEffect(()=>{M>=e&&!m.isDisabled&&!m.isLoading&&S()},[M,e,S,m.isDisabled,m.isLoading]);const D=I.useCallback(()=>{m.isDisabled||_(!0)},[m.isDisabled]),A=I.useCallback(()=>{m.isDisabled||_(!1)},[m.isDisabled]),b=I.useCallback(()=>{m.isDisabled||(_(!1),T(0))},[m.isDisabled]);I.useEffect(()=>{l&&(l.current={start:D,stop:A,reset:b,setTicks:T})},[l,D,A,b]);const k=e-M;return v.jsx(Uc,{wrapProps:u,helperText:h,label:g,children:v.jsx(Ur,{...m,children:D2.secondToTime(k>0?k:0)})})};function qs(r){const e=r.getFullYear(),t=r.getMonth()+1,n=r.getDate();return`${e}-${t<10?"0"+t:t}-${n<10?"0"+n:n}`}function LT(r){try{if(!r)return;const e=new Date(r);return isNaN(e.getTime())?void 0:e}catch{return}}function MT(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0)}function DT(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),23,59,59,999)}function Wv(r,e){return qs(r)===qs(e)}function Bu(r,e){return qs(r)>qs(e)}function Gd(r,e){return qs(r)>=qs(e)}function Zd(r,e){return qs(r)<qs(e)}function Yd(r,e){return qs(r)<=qs(e)}function Vv(r,e,t){return Bu(r,t)?Bu(e,t)&&Zd(e,r):Bu(e,r)&&Zd(e,t)}function Gv(r,e,t){return Bu(r,t)?Gd(e,t)&&Yd(e,r):Gd(e,r)&&Yd(e,t)}const zt={toString:qs,toDate:LT,makeSDate:MT,makeEDate:DT,"===":Wv,">":Bu,">=":Gd,"<":Zd,"<=":Yd,"s<d<e|e<d<s":Vv,"s<=d<=e|e<=d<=s":Gv,eq:Wv,g:Bu,ge:Gd,l:Zd,le:Yd,b:Vv,be:Gv},OT="_InputContainer_faw5b_9",PT="_AInput_faw5b_23",NT="_LeftAddon_faw5b_42",jT="_RightAddon_faw5b_48",FT="_ErrorHelperText_faw5b_54",BT="_Primary_faw5b_58",qT="_UnAvailable_faw5b_63",HT="_Secondary_faw5b_74",zT="_ReadOnly_faw5b_89",Qi={InputContainer:OT,AInput:PT,LeftAddon:NT,RightAddon:jT,ErrorHelperText:FT,Primary:BT,UnAvailable:qT,Secondary:HT,ReadOnly:zT,Error:"_Error_faw5b_54"},$T=["Primary","Secondary","ReadOnly","Error"],Jl=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",inputRef:i,useValue:l,isReadonly:u,placeholder:h,minLength:g,maxLength:m,tabIndex:M,autoFocus:T,isPassword:C,autoComplete:_="off",inputProps:S,LeftAddon:D,RightAddon:A,wrapProps:b,helperText:k,label:O,wrapType:H,labelProps:q,...G}=r,Y=I.useMemo(()=>UT(t)?"Error":n,[t,n]),ue=I.useMemo(()=>Y==="ReadOnly"?!0:u,[Y,u]),ee=I.useMemo(()=>G.isDisabled||G.isLoading,[G.isDisabled,G.isLoading]),[fe,N]=pn(l,""),re=I.useCallback(ne=>{var ie;ee||((ie=S==null?void 0:S.onKeyDown)==null||ie.call(S,ne),["Escape","Enter","ArrowUp","ArrowDown"].includes(ne.key)||ne.stopPropagation(),ne.key==="Enter"&&e&&e(ne.currentTarget.value))},[ee,S,e]),K=I.useCallback(ne=>{var ie;ee||g&&ne.target.value.length<g||(N==null||N(ne.target.value),(ie=S==null?void 0:S.onChange)==null||ie.call(S,ne))},[ee,g,N,S]);return C?v.jsx(Uc,{wrapProps:b,label:O,helperText:k,errorMessage:t,wrapType:H,labelProps:q,children:v.jsx("form",{onSubmit:ne=>ne.preventDefault(),children:v.jsxs(Ur,{...G,className:qe.clsx(Qi.InputContainer,Qi[Y],ee&&Qi.UnAvailable,G.className),children:[D&&v.jsx("div",{className:Qi.LeftAddon,children:D}),v.jsx("input",{...S,className:qe.clsx(Qi.AInput,Y==="Error"&&Qi.InputError,S==null?void 0:S.className),value:fe,type:"password",readOnly:ue,onChange:K,onKeyDown:re,placeholder:h,maxLength:m,tabIndex:G.isDisabled||G.isLoading?-1:M,autoFocus:T,autoComplete:_,ref:i}),A&&v.jsx("div",{className:qe.clsx(Qi.RightAddon,"NoSelect"),children:A})]})})}):v.jsx(Uc,{wrapProps:b,label:O,helperText:k,errorMessage:t,wrapType:H,labelProps:q,children:v.jsxs(Ur,{...G,className:qe.clsx(Qi.InputContainer,Qi[Y],ee&&Qi.UnAvailable,G.className),children:[D&&v.jsx("div",{className:Qi.LeftAddon,children:D}),v.jsx("input",{...S,className:qe.clsx(Qi.AInput,Y==="Error"&&Qi.InputError,S==null?void 0:S.className),value:fe,readOnly:ue,onChange:K,onKeyDown:re,placeholder:h,maxLength:m,tabIndex:G.isDisabled||G.isLoading?-1:M,autoFocus:T,autoComplete:_,ref:i}),A&&v.jsx("div",{className:Qi.RightAddon,children:A})]})})};function UT(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}const WT="_ASelect_spf0a_1",VT="_Arrow_spf0a_14",GT="_Primary_spf0a_23",ZT="_UnAvailable_spf0a_34",YT="_IsOpen_spf0a_34",KT="_Secondary_spf0a_41",XT="_Placeholder_spf0a_56",JT="_ValuesContainer_spf0a_60",QT="_Values_spf0a_60",eE="_Options_spf0a_79",tE="_Option_spf0a_79",rE="_Selected_spf0a_121",nE="_CheckBox_spf0a_128",Bo={ASelect:WT,Arrow:VT,Primary:GT,UnAvailable:ZT,IsOpen:YT,Secondary:KT,Placeholder:XT,ValuesContainer:JT,Values:QT,Options:eE,Option:tE,Selected:rE,CheckBox:nE},iE=["Primary","Secondary"],Wc=r=>{const{options:e,useSelect:t,type:n="Primary",placeholder:i=hn.ASelect["Select(Placeholder)"],onClose:l,OptionRenderer:u=sE,SelectedRenderer:h=aE,minShowRows:g=2,maxShowRows:m=6,arrowProps:M,...T}=r,C=I.useRef(null),_=I.useMemo(()=>T.abaseRef??C,[T.abaseRef]),S=I.useRef(null),[D,A]=pn(t,e[0]),[b,k]=I.useState(!1),[O,H]=I.useState(!1),q=I.useCallback(()=>H(!1),[]),G=I.useCallback(()=>{T.isDisabled||T.isLoading||e.length<1||(H(!0),setTimeout(()=>k(!0),0),setTimeout(()=>Gh(S,_,e,g,m),0))},[_,T.isDisabled,T.isLoading,e,g,m]),Y=I.useCallback(()=>{k(!1),H(!0),l==null||l()},[l]),ue=I.useCallback(ne=>{var ie;b?Y():G(),setTimeout(()=>Gh(S,_,e,g,m),0),(ie=T.onClick)==null||ie.call(T,ne)},[_,T,e,b,Y,G,g,m]),ee=I.useCallback(()=>{Gh(S,_,e,g,m)},[_,e,g,m]);I.useEffect(()=>{if(!b||!_.current)return;const ne=_.current;let ie=ne.parentElement;for(;ie;)ie.addEventListener("scroll",ee),ie=ie.parentElement;return()=>{let ce=ne.parentElement;for(;ce;)ce.removeEventListener("scroll",ee),ce=ce.parentElement}},[_,b,ee]),I.useEffect(()=>{if(b)return window.addEventListener("resize",ee),()=>window.removeEventListener("resize",ee)},[b,ee]);const fe=I.useCallback(ne=>{ne[0].intersectionRatio===0&&Y()},[Y]);I.useEffect(()=>{if(!b)return;const ne=new IntersectionObserver(fe,{threshold:0});return _.current&&ne.observe(_.current),()=>ne.disconnect()},[_,b,fe]);const N=I.useCallback(ne=>{const ie=ne.target,ce=_.current,me=S.current;!ce||!ie||!me||!ce.contains(ie)&&!me.contains(ie)&&Y()},[_,Y]),re=I.useMemo(()=>T.isDisabled||T.isLoading||e.length<1,[T.isDisabled,T.isLoading,e]);I.useEffect(()=>{if(b)return setTimeout(()=>document.addEventListener("mousedown",N),0),()=>document.removeEventListener("mousedown",N)},[b,N]);const K=I.useCallback((ne,ie)=>{ne.stopPropagation(),ne.preventDefault(),A==null||A(ie),Y()},[A,Y]);return v.jsxs(v.Fragment,{children:[v.jsxs(Ur,{...T,isDisabled:T.isDisabled||e.length<1,className:qe.clsx(T.className,Bo.ASelect,"NoSelect",b&&Bo.IsOpen,re&&Bo.UnAvailable,Bo[n]),abaseRef:_,onClick:ue,children:[v.jsx("div",{className:Bo.ValuesContainer,children:v.jsx("div",{className:qe.clsx(Bo.Values,(D==null||D==="")&&Bo.Placeholder),children:v.jsx(h,{selectedOption:D,OptionRenderer:u,placeholder:i})})}),v.jsx("div",{...M,className:qe.clsx(Bo.Arrow,M==null?void 0:M.className),children:v.jsx(Br,{style:{transform:b?"rotate(180deg)":"",transition:"var(--Transition)"},icon:"TriangleDown"})})]}),e.length>0&&(b||O)&&Fs.createPortal(v.jsx("div",{className:qe.clsx(Bo.Options,Bo[n]),onTransitionEnd:q,style:{opacity:+b,visibility:b?"visible":"hidden",pointerEvents:b?void 0:"none",borderRadius:_.current?window.getComputedStyle(_.current).borderRadius:void 0},ref:S,children:e.map((ne,ie)=>{const ce=D===ne,me=_.current?window.getComputedStyle(_.current):void 0;return ne===null?null:v.jsx("div",{className:qe.clsx(Bo.Option,ce&&Bo.Selected,"NoSelect",Bo[n]),style:{height:me==null?void 0:me.height},onClick:ae=>K(ae,ne),children:v.jsx(u,{option:ne})},ie)})}),document.body)]})};function Gh(r,e,t,n,i){if(!e.current||!r.current||!t||t.length<1)return;const l=e.current.getBoundingClientRect(),u=oE(l,t.length,n,i),h=window.getComputedStyle(e.current);r.current.style.top=`calc(${u.top??0}px - ${h.borderTopWidth})`,r.current.style.bottom=u.bottom?u.bottom+"px":"",r.current.style.left=u.left+"px",r.current.style.minWidth=u.minWidth+"px",r.current.style.minHeight=u.minHeight+"px",r.current.style.maxHeight=u.maxHeight+"px",r.current.style.visibility="visible"}function oE(r,e,t,n){const i={top:r.bottom,bottom:void 0,left:r.left,height:"fit-content",minWidth:r.width,minHeight:r.height*Math.min(t,e),maxHeight:r.height*n>window.innerHeight-r.bottom-10?window.innerHeight-r.bottom-10:r.height*n};return window.innerHeight-r.bottom-10<i.height&&(window.innerHeight-r.bottom-10<i.minHeight?(i.top=r.top-e*r.height,i.top<0&&(i.top=10,i.minHeight=r.top-10,i.height=r.top-10)):i.height=window.innerHeight-r.bottom-10),i}const sE=r=>{const{option:e}=r;return Xt.isReactNode(e)?e:null},aE=r=>{const{selectedOption:e,OptionRenderer:t,placeholder:n}=r;return e==null||e===""?n:v.jsx(t,{option:e})},lE="_Anchor_502n9_1",cE="_Primary_502n9_18",uE="_Secondary_502n9_21",fE="_Placeholder_502n9_25",dE="_Icon_502n9_30",hE="_ADatePicker_502n9_37",pE="_StringInputWrap_502n9_48",gE="_StringInputContainer_502n9_53",mE="_StringInput_502n9_48",vE="_IsIdx_502n9_68",yE="_CalendarContainer_502n9_72",bE="_Header_502n9_78",_E="_Prev_502n9_82",xE="_Next_502n9_83",SE="_MonthYear_502n9_116",CE="_Select_502n9_121",wE="_Calendar_502n9_72",AE="_Cell_502n9_132",TE="_IsNotCurrentMonth_502n9_144",EE="_IsSelected_502n9_148",kE="_IsDisabled_502n9_152",RE="_IsHovered_502n9_155",IE="_Week_502n9_159",LE="_WeekDay_502n9_164",rn={Anchor:lE,Primary:cE,Secondary:uE,Placeholder:fE,Icon:dE,ADatePicker:hE,StringInputWrap:pE,StringInputContainer:gE,StringInput:mE,String:"_String_502n9_48",IsIdx:vE,CalendarContainer:yE,Header:bE,Prev:_E,Next:xE,MonthYear:SE,Select:CE,Calendar:wE,Cell:AE,IsNotCurrentMonth:TE,IsSelected:EE,IsDisabled:kE,IsHovered:RE,Week:IE,WeekDay:LE},ME="_Anchor_iz4hf_1",DE="_Primary_iz4hf_18",OE="_Secondary_iz4hf_22",PE="_Placeholder_iz4hf_26",NE="_Icon_iz4hf_31",jE="_ADateRangePicker_iz4hf_38",FE="_StringInputWrap_iz4hf_49",BE="_StringInputContainer_iz4hf_53",qE="_StringInput_iz4hf_49",HE="_IsIdx_iz4hf_69",zE="_CalendarContainer_iz4hf_73",$E="_Header_iz4hf_79",UE="_Prev_iz4hf_83",WE="_Next_iz4hf_84",VE="_MonthYear_iz4hf_117",GE="_Select_iz4hf_122",ZE="_Calendar_iz4hf_73",YE="_Cell_iz4hf_133",KE="_IsNotCurrentMonth_iz4hf_145",XE="_IsSelected_iz4hf_149",JE="_IsDisabled_iz4hf_153",QE="_IsHovered_iz4hf_156",e6="_Week_iz4hf_160",t6="_WeekDay_iz4hf_165",r6="_ChoiceButton_iz4hf_169",Fr={Anchor:ME,Primary:DE,Secondary:OE,Placeholder:PE,Icon:NE,ADateRangePicker:jE,StringInputWrap:FE,StringInputContainer:BE,StringInput:qE,String:"_String_iz4hf_49",IsIdx:HE,CalendarContainer:zE,Header:$E,Prev:UE,Next:WE,MonthYear:VE,Select:GE,Calendar:ZE,Cell:YE,IsNotCurrentMonth:KE,IsSelected:XE,IsDisabled:JE,IsHovered:QE,Week:e6,WeekDay:t6,ChoiceButton:r6},um=r=>{const{type:e="Primary",className:t,useDateRange:n,actionRef:i,position:l=Ku.SE,minDate:u,maxDate:h,isDisabled:g,isLoading:m,yearsOptionSize:M,noDefaultChoices:T,LeftAddon:C,RightAddon:_,placeholder:S,noClearButton:D,resources:A,onClick:b,...k}=r,O=I.useMemo(()=>({...hn.ADateRangePicker,...A}),[A]),H=I.useMemo(()=>S??O["Select DateRange"],[S,O]),[q,G]=I.useMemo(()=>{let te,Fe;if(u&&(te=zt.makeSDate(u)),h&&(Fe=zt.makeEDate(h)),te&&Fe&&zt["<"](Fe,te)){console.warn("ADateRangePicker: maxDate should be greater than minDate. maxDate and minDate are swapped.");const Xe=te;te=Fe,Fe=Xe}return[te,Fe]},[u,h]),[Y,ue]=I.useState("sD"),[ee,fe]=pn(n,void 0),N=I.useCallback(te=>{fe&&(te===void 0?(fe(void 0),Ee(""),Je("")):(fe({sDate:zt.makeSDate(te.sDate),eDate:zt.makeEDate(te.eDate)}),Ee(zt.toString(te.sDate)),Je(zt.toString(te.eDate))))},[fe]);I.useEffect(()=>{ee&&(Ee(zt.toString(ee.sDate)),Je(zt.toString(ee.eDate)))},[ee]);const re=I.useCallback(te=>{if(!fe)return;let Fe=ee?ee.sDate:zt.makeSDate(te);te=zt.makeEDate(te),fe({sDate:Fe,eDate:te}),Ee(zt.toString(Fe)),Je(zt.toString(te))},[fe,ee]),[K,ne]=I.useState(),[ie,ce]=I.useState(),me=I.useCallback(te=>{Y==="sD"&&N({sDate:te,eDate:te}),ne(te),ce(te)},[Y,N,ne]),ae=I.useCallback(te=>{Y==="sD"?K&&(zt.eq(K,te)?ue("eD"):zt[">"](te,K)?(re(te),ne(void 0)):(N({sDate:te,eDate:K}),ne(void 0))):(ee?zt["<"](te,ee.sDate)?N({sDate:te,eDate:ee.eDate}):re(te):N({sDate:te,eDate:te}),ne(void 0),ue("sD"))},[re,K,ue,Y,N,ee,ne]),be=I.useCallback(te=>{K&&ce(te)},[K]),ge=I.useCallback(()=>{ce(void 0),ne(void 0),ue("sD")},[ue,ne]),[xe,Le]=I.useState(Zv(ee,q,G)),Pe=I.useMemo(()=>fm(xe.year,q,G,M),[xe.year,q,G,M]),We=I.useMemo(()=>Wf(xe.year,q,G),[q,G,xe.year]),Te=I.useCallback(te=>{if(!Pe.includes(te))return;const Fe={month:xe.month,year:te},Xe=Wf(Fe.year,q,G);Xe.length<1||(Xe.includes(Fe.month)||(Fe.month<Xe[0]?Fe.month=Xe[0]:Fe.month>Xe[Xe.length-1]&&(Fe.month=Xe[Xe.length-1])),Le(Fe))},[q,G,Pe,xe.month]),ot=I.useCallback(te=>{We.includes(te)&&Le({month:te,year:xe.year})},[We,xe.year]),pt=I.useMemo(()=>G?new Date(xe.year,xe.month+1,1)>G:!1,[xe,G]),Ke=I.useCallback(()=>{if(pt||We.length<1)return;const te=xe.month+1;te>11?Le({month:We[0],year:xe.year+1}):Le({month:te,year:xe.year})},[pt,We,xe]),Ye=I.useMemo(()=>q?new Date(xe.year,xe.month,0)<q:!1,[xe,q]),Oe=I.useCallback(()=>{if(Ye||We.length<1)return;const te=xe.month-1;te<We[0]?Le({month:We[We.length-1],year:xe.year-1}):Le({month:te,year:xe.year})},[Ye,We,xe]),[ke,Ee]=I.useState(ee!=null&&ee.sDate?zt.toString(ee.sDate):""),Ne=I.useCallback(te=>{if(te.length>10||(Ee(te),te.length<10)||!fe)return;let Fe=zt.toDate(te);if(!Fe)return;q&&Fe<q&&(Fe=q),G&&Fe>G&&(Fe=G);let Xe=ee?ee.eDate:Fe;ee&&zt[">"](Fe,Xe)&&([Fe,Xe]=Yv(Fe,Xe)),N({sDate:Fe,eDate:Xe}),Le({month:Fe.getMonth(),year:Fe.getFullYear()})},[fe,N,ee,q,G]),[Re,Je]=I.useState(ee!=null&&ee.eDate?zt.toString(ee.eDate):""),ft=I.useCallback(te=>{if(te.length>10||(Je(te),te.length<10)||!fe)return;let Fe=zt.toDate(te);if(!Fe)return;q&&Fe<q&&(Fe=q),G&&Fe>G&&(Fe=G);let Xe=ee?ee.sDate:Fe;ee&&zt[">"](Xe,Fe)&&([Xe,Fe]=Yv(Xe,Fe)),N({sDate:Xe,eDate:Fe}),Le({month:Fe.getMonth(),year:Fe.getFullYear()})},[fe,N,ee,q,G]),xt=I.useCallback(()=>{ee&&(Ee(zt.toString(ee.sDate)),Je(zt.toString(ee.eDate)))},[ee]),St=I.useMemo(()=>{const{month:te,year:Fe}=xe,Xe=new Date(Fe,te,1),Lt=new Date(Fe,te+1,0),vt=[];for(let Gt=0;Gt<Xe.getDay();Gt++){const sr=new Date(Fe,te,0).getDate()-Xe.getDay()+Gt+1,dr=new Date(Fe,te-1,sr),Rr=q&&q>dr||G&&G<dr,ur=ee?zt.be(ee.sDate,dr,ee.eDate):!1,xr=ie&&ee&&zt.be(ee.sDate,dr,ie);vt.push({day:sr,isSelected:ur,isHovered:xr,date:dr,isDisabled:Rr,isCurrentMonth:!1})}for(let Gt=1;Gt<=Lt.getDate();Gt++){const Ft=new Date(Fe,te,Gt),sr=q&&q>Ft||G&&G<Ft,dr=ee?zt.be(ee.sDate,Ft,ee.eDate):!1,Rr=ie&&ee&&zt.be(ee.sDate,Ft,ie);vt.push({day:Gt,isSelected:dr,isHovered:Rr,date:Ft,isDisabled:sr,isCurrentMonth:!0})}for(let Gt=0;Gt<7-Lt.getDay()-1;Gt++){const Ft=new Date(Fe,te+1,Gt+1),sr=q&&q>Ft||G&&G<Ft,dr=ee?zt.be(ee.sDate,Ft,ee.eDate):!1,Rr=ie&&ee&&zt.be(ee.sDate,Ft,ie);vt.push({day:Gt+1,isSelected:dr,isHovered:Rr,date:Ft,isDisabled:sr,isCurrentMonth:!1})}const wt=[];for(let Gt=0;Gt<vt.length/7;Gt++)wt.push(v.jsx("div",{className:Fr.Week,children:vt.slice(Gt*7,Gt*7+7).map((Ft,sr)=>v.jsx(Bi,{type:"Raw",className:qe.clsx(Fr.Day,Fr.Cell,Ft.isDisabled?Fr.IsDisabled:Ft.isCurrentMonth?Ft.isSelected?Fr.IsSelected:Ft.isHovered&&Fr.IsHovered:Fr.IsNotCurrentMonth),isDisabled:Ft.isDisabled,onMouseDown:()=>Ft.isCurrentMonth&&me(Ft.date),onMouseUp:()=>Ft.isCurrentMonth&&ae(Ft.date),onMouseEnter:()=>Ft.isCurrentMonth&&be(Ft.date),children:Ft.day},sr))},Gt));return wt},[xe,ie,ee,q,G,me,ae,be]),mt=I.useRef(null),It=I.useCallback(()=>{mt&&lm(mt,Se,l)},[mt,l]),[Ct,ct]=I.useState(!1),[ut,et]=I.useState(!1),Se=I.useRef(null),Ze=I.useCallback(()=>{g||m||(ct(!0),setTimeout(()=>et(!0),0),setTimeout(()=>It(),0),Le(Zv(ee,q,G)))},[g,m,ee,It,q,G]),at=I.useCallback(()=>{g||m||(ct(!0),et(!1))},[g,m]),gt=I.useMemo(()=>ut?at:Ze,[ut,Ze,at]),Tt=I.useCallback(()=>ct(!1),[]),je=I.useCallback(te=>{const Fe=document.getElementById("root"),Xe=te.target,Lt=Se.current,vt=mt.current;!Fe||!Lt||!Xe||!vt||!Lt.contains(Xe)&&Fe.contains(Xe)&&!vt.contains(Xe)&&at()},[at]);I.useEffect(()=>{if(ut)return setTimeout(()=>document.addEventListener("mousedown",je),0),()=>document.removeEventListener("mousedown",je)},[ut,je]);const _t=I.useCallback(()=>{It()},[It]);I.useEffect(()=>{if(!ut||!(mt!=null&&mt.current))return;const te=mt.current;let Fe=te.parentElement;for(;Fe;)Fe.addEventListener("scroll",_t),Fe=Fe.parentElement;return()=>{let Xe=te.parentElement;for(;Xe;)Xe.removeEventListener("scroll",_t),Xe=Xe.parentElement}},[mt,ut,_t]),I.useEffect(()=>{if(ut)return window.addEventListener("resize",_t),()=>window.removeEventListener("resize",_t)},[ut,_t]);const Mt=I.useCallback(te=>{te[0].intersectionRatio===0&&at()},[at]);I.useEffect(()=>{if(!ut)return;const te=new IntersectionObserver(Mt,{threshold:0});return Se.current&&te.observe(Se.current),()=>te.disconnect()},[Se,ut,Mt]),I.useEffect(()=>{i&&(i.current={open:Ze,close:at,toggle:gt})},[i,Ze,at,gt]),I.useEffect(()=>{if(!ee)return;let te={sDate:ee.sDate,eDate:ee.eDate};q&&(zt["<"](ee.sDate,q)&&(te.sDate=q),zt["<"](ee.eDate,q)&&(te.eDate=q)),G&&(zt[">"](ee.sDate,G)&&(te.sDate=G),zt[">"](ee.eDate,G)&&(te.eDate=G)),(te.sDate!==ee.sDate||te.eDate!==ee.eDate)&&N(te)},[q,G,ee,N]);const vr=I.useCallback(te=>{b==null||b(te),gt()},[b,gt]),nr=I.useCallback(te=>{N(void 0),at(),te.stopPropagation()},[N,at]),Zt=I.useCallback(()=>ee?v.jsx(vo,{style:{scale:"0.8"},type:"Raw",icon:"Close",onClick:nr}):null,[ee,nr]),he=I.useMemo(()=>ee?`${zt.toString(ee.sDate)} ~ ${zt.toString(ee.eDate)}`:v.jsx("span",{className:Fr.Placeholder,children:H}),[ee,H]);return v.jsxs(v.Fragment,{children:[v.jsxs(Ur,{...k,isLoading:m,isDisabled:g,className:qe.clsx(Fr.Anchor,"IsClickable",Fr[e],t),onClick:vr,abaseRef:mt,children:[C,e==="Primary"&&v.jsxs(v.Fragment,{children:[v.jsx(Br,{icon:"CalendarDay",className:qe.clsx(Fr.Icon,Fr[e])}),v.jsx(mn,{w:4})]}),he,v.jsx(Yc,{}),!D&&v.jsx(Zt,{}),e==="Secondary"&&v.jsx(Br,{icon:"CalendarDay",className:qe.clsx(Fr.Icon,Fr[e])}),_&&_]}),(ut||Ct)&&Fs.createPortal(v.jsxs("div",{className:Fr.ADateRangePicker,onTransitionEnd:Tt,onMouseLeave:ge,style:{opacity:+ut,visibility:ut?"visible":"hidden"},ref:Se,children:[v.jsxs("div",{className:Fr.StringInputContainer,children:[v.jsxs(si,{children:[v.jsx(Jl,{maxLength:11,wrapProps:{className:Fr.StringInputWrap},inputProps:{className:Fr.StringInput},className:qe.clsx(Fr.String,Y==="sD"&&ie&&Fr.IsIdx),useValue:[ke,Ne],placeholder:"YYYY-MM-DD",onBlur:xt}),v.jsx(mn,{w:8}),v.jsx(Jl,{maxLength:11,wrapProps:{className:Fr.StringInputWrap},inputProps:{className:Fr.StringInput},className:qe.clsx(Fr.String,Y==="eD"&&ie&&Fr.IsIdx),useValue:[Re,ft],placeholder:"YYYY-MM-DD",onBlur:xt})]}),!T&&v.jsxs(si,{style:{marginTop:4},children:[v.jsx(xd,{children:O["1일"],onClick:()=>N({sDate:new Date,eDate:new Date})}),v.jsx(xd,{children:O["1주일"],onClick:()=>N({sDate:new Date(new Date().setDate(new Date().getDate()-7)),eDate:new Date})}),v.jsx(xd,{children:O["1개월"],onClick:()=>N({sDate:new Date(new Date().setMonth(new Date().getMonth()-1)),eDate:new Date})}),v.jsx(xd,{children:O["3개월"],onClick:()=>N({sDate:new Date(new Date().setMonth(new Date().getMonth()-3)),eDate:new Date})})]})]}),v.jsxs("div",{className:Fr.CalendarContainer,children:[v.jsxs(si,{className:Fr.Header,children:[v.jsx(Bi,{type:"Raw",className:Fr.Prev,onClick:Oe,isDisabled:Ye}),v.jsxs("div",{className:Fr.MonthYear,children:[v.jsx(Wc,{type:"Secondary",useSelect:[xe.month,ot],className:Fr.Select,options:We,OptionRenderer:te=>O.months(te.option),SelectedRenderer:te=>O.months(te.selectedOption)}),v.jsx(mn,{w:8}),v.jsx(Wc,{type:"Secondary",useSelect:[xe.year,Te],className:Fr.Select,options:Pe})]}),v.jsx(Bi,{type:"Raw",className:Fr.Next,onClick:Ke,isDisabled:pt})]}),v.jsx(mn,{h:10}),v.jsxs("div",{className:Fr.Calendar,children:[v.jsx("div",{className:Fr.Week,children:[0,1,2,3,4,5,6].map(te=>v.jsx("div",{className:qe.clsx(Fr.WeekDay,Fr.Cell),children:O.weekDays(te)},te))}),St]})]})]}),document.body)]})};function Wf(r,e,t){let n=0;e&&e.getFullYear()===r&&(n=e.getMonth());let i=11;t&&t.getFullYear()===r&&(i=t.getMonth());const l=[];for(let u=n;u<=i;u++)l.push(u);return l}function fm(r,e,t,n=5){const i=[];let l=r-n/2+n%2/2;e&&l<e.getFullYear()&&(l=e.getFullYear());let u=l+n-1;t&&u>t.getFullYear()&&(u=t.getFullYear());for(let h=l;h<=u;h++)i.push(h);return i}function Zv(r,e,t){return r??(r={sDate:new Date,eDate:new Date}),e&&zt["<"](r.sDate,e)?{month:e.getMonth(),year:e.getFullYear()}:t&&zt[">"](r.eDate,t)?{month:t.getMonth(),year:t.getFullYear()}:{month:r.sDate.getMonth(),year:r.sDate.getFullYear()}}function Yv(r,e){return[e,r]}const xd=r=>v.jsx(Bi,{className:qe.clsx(Fr.ChoiceButton,"Headline2"),type:"Secondary",...r}),n6=["Primary","Secondary","Raw"],dm=r=>{const{type:e="Primary",className:t,useDate:n,actionRef:i,position:l=Ku.SE,minDate:u,maxDate:h,isDisabled:g,isLoading:m,placeholder:M,LeftAddon:T,RightAddon:C,resources:_,noClearButton:S,onClick:D,...A}=r,b=I.useMemo(()=>({...hn.ADatePicker,..._}),[_]),k=I.useMemo(()=>M??b["Select Date"],[M,b]),[O,H]=I.useMemo(()=>{let Se,Ze;return u&&(Se=zt.makeSDate(u)),h&&(Ze=zt.makeEDate(h)),Se&&Ze&&zt["<"](Ze,Se)?(console.warn("ADatePicker: maxDate should be greater than minDate. maxDate and minDate are swapped."),[zt.makeSDate(Ze),zt.makeEDate(Se)]):[Se,Ze]},[u,h]),[q,G]=pn(n,null),[Y,ue]=I.useState(q?zt.toString(q):""),[ee,fe]=I.useState(()=>{const Se=q??new Date;return O&&Se<O?O.getMonth():H&&Se>H?H.getMonth():(Se??new Date).getMonth()}),[N,re]=I.useState(()=>{const Se=q??new Date;return O&&Se<O?O.getFullYear():H&&Se>H?H.getFullYear():(Se??new Date).getFullYear()}),K=I.useCallback(Se=>{re(Se);const Ze=Wf(Se,O,H);Ze.includes(ee)||(ee<Ze[0]?fe(Ze[0]):ee>Ze[Ze.length-1]&&fe(Ze[Ze.length-1]))},[O,H,ee]),ne=I.useCallback(Se=>{if(Se.length>10||(ue(Se),Se.length<10)||!G)return;let Ze=zt.toDate(Se);Ze&&(O&&Ze<O&&(Ze=O),H&&Ze>H&&(Ze=H),G(Ze),re(Ze.getFullYear()),fe(Ze.getMonth()))},[G,O,H]),ie=I.useCallback(Se=>{const Ze=N+Se;Ze<0||re(Ze)},[N]),ce=I.useCallback(Se=>{const Ze=ee+Se;Ze<0?(fe(11),ie(-1)):Ze>11?(fe(0),ie(1)):fe(Ze)},[ee,ie]),me=I.useCallback(Se=>{G&&(Se===void 0?(G(void 0),ue("")):(G(Se),ue(zt.toString(Se))))},[G]),ae=I.useMemo(()=>{const Se=new Date(N,ee,0);return O&&Se<O},[N,ee,O]),be=I.useMemo(()=>{const Se=new Date(N,ee+1,1);return H&&Se>H},[N,ee,H]),ge=I.useCallback(()=>{ae||ce(-1)},[ce,ae]),xe=I.useCallback(()=>{be||ce(1)},[ce,be]),[Le,Pe]=I.useState(null),We=I.useCallback(()=>{G&&Pe(null)},[G]),Te=I.useCallback(Se=>{G&&Pe(Se)},[G]),ot=I.useMemo(()=>{const Se=new Date(N,ee,1),Ze=new Date(N,ee+1,0),at=[];for(let Tt=0;Tt<Se.getDay();Tt++){const _t=new Date(N,ee,0).getDate()-Se.getDay()+Tt+1,Mt=new Date(N,ee-1,_t),vr=O&&O>Mt||H&&H<Mt,nr=q&&zt.eq(Mt,q),Zt=Le&&zt.eq(Mt,Le);at.push({day:_t,isSelected:nr,date:Mt,isDisabled:vr,isHovered:Zt,isCurrentMonth:!1})}for(let Tt=1;Tt<=Ze.getDate();Tt++){const je=new Date(N,ee,Tt),_t=O&&O>je||H&&H<je,Mt=q&&zt.eq(je,q),vr=Le&&zt.eq(je,Le);at.push({day:Tt,isSelected:Mt,date:je,isDisabled:_t,isHovered:vr,isCurrentMonth:!0})}for(let Tt=0;Tt<7-Ze.getDay()-1;Tt++){const je=new Date(N,ee+1,Tt+1),_t=O&&O>je||H&&H<je,Mt=q&&zt.eq(je,q),vr=Le&&zt.eq(je,Le);at.push({day:Tt+1,isSelected:Mt,date:je,isDisabled:_t,isHovered:vr,isCurrentMonth:!1})}const gt=[];for(let Tt=0;Tt<at.length/7;Tt++)gt.push(v.jsx("div",{className:rn.Week,children:at.slice(Tt*7,Tt*7+7).map((je,_t)=>v.jsx(Bi,{type:"Raw",className:qe.clsx(rn.Day,rn.Cell,je.isDisabled?rn.IsDisabled:je.isCurrentMonth?je.isSelected?rn.IsSelected:je.isHovered&&rn.IsHovered:rn.IsNotCurrentMonth),isDisabled:je.isDisabled,onClick:()=>je.isCurrentMonth&&me(je.date),onMouseLeave:()=>je.isCurrentMonth&&We(),onMouseEnter:()=>je.isCurrentMonth&&Te(je.date),children:je.day},_t))},Tt));return gt},[ee,me,q,N,O,H,Le,We,Te]),pt=I.useRef(null),Ke=I.useCallback(()=>{pt&&lm(pt,Ne,l)},[pt,l]),[Ye,Oe]=I.useState(!1),[ke,Ee]=I.useState(!1),Ne=I.useRef(null),Re=I.useCallback(()=>{g||m||(Oe(!0),setTimeout(()=>Ee(!0),0),setTimeout(()=>Ke(),0),ue(q?zt.toString(q):""),fe(()=>{const Se=q??new Date;return O&&Se<O?O.getMonth():H&&Se>H?H.getMonth():Se.getMonth()}),re(()=>{const Se=q??new Date;return O&&Se<O?O.getFullYear():H&&Se>H?H.getFullYear():Se.getFullYear()}))},[g,m,q,Ke,O,H]),Je=I.useCallback(()=>{g||m||(Oe(!0),Ee(!1))},[g,m]),ft=I.useMemo(()=>ke?Je:Re,[ke,Re,Je]),xt=I.useCallback(()=>Oe(!1),[]),St=I.useCallback(Se=>{const Ze=document.getElementById("root"),at=Se.target,gt=Ne.current,Tt=pt.current;!Ze||!gt||!at||!Tt||!gt.contains(at)&&Ze.contains(at)&&!Tt.contains(at)&&Je()},[Je]);I.useEffect(()=>{if(ke)return setTimeout(()=>document.addEventListener("mousedown",St),0),()=>document.removeEventListener("mousedown",St)},[ke,St]);const mt=I.useCallback(()=>{Ke()},[Ke]);I.useEffect(()=>{if(!ke||!(pt!=null&&pt.current))return;const Se=pt.current;let Ze=Se.parentElement;for(;Ze;)Ze.addEventListener("scroll",mt),Ze=Ze.parentElement;return()=>{let at=Se.parentElement;for(;at;)at.removeEventListener("scroll",mt),at=at.parentElement}},[pt,ke,mt]),I.useEffect(()=>{if(ke)return window.addEventListener("resize",mt),()=>window.removeEventListener("resize",mt)},[ke,mt]);const It=I.useCallback(Se=>{Se[0].intersectionRatio===0&&Je()},[Je]);I.useEffect(()=>{if(!ke)return;const Se=new IntersectionObserver(It,{threshold:0});return Ne.current&&Se.observe(Ne.current),()=>Se.disconnect()},[Ne,ke,It]),I.useEffect(()=>{i&&(i.current={open:Re,close:Je,toggle:ft})},[i,Re,Je,ft]);const Ct=I.useCallback(Se=>{D==null||D(Se),ft()},[D,ft]),ct=I.useCallback(Se=>{me(void 0),Je(),Se.stopPropagation()},[me,Je]),ut=I.useCallback(()=>q?v.jsx(vo,{style:{scale:"0.8"},type:"Raw",icon:"Close",onClick:ct}):null,[q,ct]),et=I.useMemo(()=>q?zt.toString(q):v.jsx("span",{className:rn.Placeholder,children:k}),[q,k]);return v.jsxs(v.Fragment,{children:[v.jsxs(Ur,{...A,isLoading:m,isDisabled:g,className:qe.clsx(rn.Anchor,"IsClickable",rn[e],t),onClick:Ct,abaseRef:pt,children:[T,e==="Primary"&&v.jsxs(v.Fragment,{children:[v.jsx(Br,{icon:"CalendarDay",className:qe.clsx(rn.Icon,rn[e])}),v.jsx(mn,{w:4})]}),et,v.jsx(Yc,{}),!S&&v.jsx(ut,{}),e==="Secondary"&&v.jsx(Br,{icon:"CalendarDay",className:qe.clsx(rn.Icon,rn[e])}),C&&C]}),(ke||Ye)&&Fs.createPortal(v.jsxs("div",{className:rn.ADatePicker,onTransitionEnd:xt,style:{opacity:+ke,visibility:ke?"visible":"hidden"},ref:Ne,children:[v.jsx("div",{className:rn.StringInputContainer,children:v.jsx(Jl,{maxLength:q?30:11,wrapProps:{className:rn.StringInputWrap},inputProps:{className:rn.StringInput},className:rn.String,useValue:[Y,ne],placeholder:"YYYY-MM-DD"})}),v.jsxs("div",{className:rn.CalendarContainer,children:[v.jsxs(si,{className:rn.Header,children:[v.jsx(Bi,{type:"Raw",className:rn.Prev,onClick:ge,isDisabled:ae}),v.jsxs("div",{className:rn.MonthYear,children:[v.jsx(Wc,{type:"Secondary",useSelect:[ee,fe],className:rn.Select,options:Wf(N,O,H),OptionRenderer:Se=>b.months(Se.option),SelectedRenderer:Se=>b.months(Se.selectedOption)}),v.jsx(mn,{w:8}),v.jsx(Wc,{type:"Secondary",useSelect:[N,K],className:rn.Select,options:fm(N,O,H)})]}),v.jsx(Bi,{type:"Raw",className:rn.Next,onClick:xe,isDisabled:be})]}),v.jsx(mn,{h:10}),v.jsxs("div",{className:rn.Calendar,children:[v.jsx("div",{className:rn.Week,children:[0,1,2,3,4,5,6].map(Se=>v.jsx("div",{className:qe.clsx(rn.WeekDay,rn.Cell),children:b.weekDays(Se)},Se))}),ot]})]})]}),document.body)]})},i6="_Paper_e69j5_1",o6="_Card_e69j5_15",s6="_Body_e69j5_26",a6="_Title_e69j5_35",l6="_Content_e69j5_42",c6="_Action_e69j5_45",u6="_Button_e69j5_58",va={Paper:i6,Card:o6,Body:s6,Title:a6,Content:l6,Action:c6,Button:u6},f6=["okCancel","cancelOk","ok","cancel","none"],d6=r=>{const{dlgCore:e,type:t="okCancel",title:n,children:i,style:l,titleStyle:u,bodyStyle:h,contentStyle:g,okButtonStyle:m,cancelButtonStyle:M,actionStyle:T,onOk:C,onCancel:_,onClose:S,onEnterPress:D,onEscPress:A,onSpacePress:b,onPaperClick:k,noDim:O=!1,isLoading:H,isOkDisabled:q,isOkLoading:G,isCancelDisabled:Y,isCancelLoading:ue,buttonNoInteractive:ee,okButtonClassName:fe,cancelButtonClassName:N,resources:re}=r,K=I.useMemo(()=>({...hn.ADialog,...re}),[re]),[ne,ie]=I.useState(0);I.useEffect(()=>ie(1),[]);const ce=I.useCallback(()=>{ie(0)},[]),me=I.useCallback(()=>{if(!ne){const[,ke]=e.state.useIsOpen;ke==null||ke(!1),S==null||S()}},[ne,S,e]),ae=I.useCallback(async()=>{if(!ne||t==="cancel"||t==="none"||H||q||G)return;const{event:ke,e:Ee}=$c();await(C==null?void 0:C(Ee)),!ke.preventDefault&&ce()},[ne,t,ce,C,q,H,G]),be=I.useCallback(async()=>{if(!ne||t==="ok"||t==="none"||H||Y||ue)return;const{event:ke,e:Ee}=$c();await(_==null?void 0:_(Ee)),!ke.preventDefault&&ce()},[ne,t,ce,_,Y,H,ue]);I.useEffect(()=>{e&&e.state.setAction({close:ce,ok:ae,cancel:be})},[e,ce,ae,be]);const ge=I.useCallback(async()=>{const{event:ke,e:Ee}=$c();await(D==null?void 0:D(Ee)),!ke.preventDefault&&ae()},[D,ae]),xe=I.useCallback(async()=>{const{event:ke,e:Ee}=$c();await(b==null?void 0:b(Ee)),!ke.preventDefault&&ae()},[b,ae]),Le=I.useCallback(async()=>{const{event:ke,e:Ee}=$c();await(A==null?void 0:A(Ee)),!ke.preventDefault&&be()},[A,be]),Pe=I.useRef(null),We=I.useCallback(ke=>{const Ee=document.body.getElementsByClassName(va.Paper);Ee.length===0||Ee[Ee.length-1]!==Pe.current||(ke.key==="Enter"&&ne?ge():ke.key===" "&&ne?xe():ke.key==="Escape"&&ne&&Le())},[ne,ge,xe,Le]);I.useEffect(()=>{if(ne)return window.addEventListener("keydown",We),()=>window.removeEventListener("keydown",We)},[ne,We]);const Te=I.useRef(!1),ot=I.useRef(!1),pt=I.useCallback(()=>{Te.current=!0},[]),Ke=I.useCallback(()=>{Te.current=!1,ot.current=!1},[]),Ye=I.useCallback(()=>{ot.current=!0},[]),Oe=I.useCallback(async()=>{const ke=!ot.current||Te.current;if(Te.current=!1,ot.current=!1,ke)return;const{event:Ee,e:Ne}=$c();await(k==null?void 0:k(Ne)),!Ee.preventDefault&&be()},[k,be]);return Fs.createPortal(v.jsx("div",{className:va.Paper,style:{backgroundColor:O?"transparent":void 0,pointerEvents:ne?void 0:"none",opacity:ne},onMouseUp:Oe,onMouseDown:Ye,onTransitionEnd:me,ref:Pe,children:v.jsxs(Ur,{className:va.Card,onMouseDown:pt,onMouseUp:Ke,style:l,isLoading:H,children:[v.jsxs("div",{className:va.Body,style:h,children:[n&&v.jsx(h6,{title:n,titleStyle:u}),i&&v.jsx("div",{className:va.Content,style:g,children:i})]}),t!=="none"&&v.jsx(p6,{type:t,ok:ae,cancel:be,resources:K,isOkDisabled:q,isOkLoading:G,isCancelDisabled:Y,isCancelLoading:ue,okButtonStyle:m,cancelButtonStyle:M,actionStyle:T,buttonNoInteractive:ee,okButtonClassName:fe,cancelButtonClassName:N})]})}),document.body)},h6=r=>{const{title:e,titleStyle:t}=r;return v.jsx("div",{className:qe.clsx(va.Title,"NoSelect","Title3"),style:t,children:e})},p6=r=>{const{type:e,ok:t,cancel:n,resources:i,isOkDisabled:l,isOkLoading:u,isCancelDisabled:h,isCancelLoading:g,okButtonStyle:m,cancelButtonStyle:M,actionStyle:T,buttonNoInteractive:C,okButtonClassName:_,cancelButtonClassName:S}=r,D=I.useMemo(()=>({onClick:t,isDisabled:l,isLoading:u,children:i.Ok,style:m,noInteractive:C,className:qe.clsx(va.Button,_)}),[t,l,u,i.Ok,m,C,_]),A=I.useMemo(()=>({type:"Secondary",onClick:n,isDisabled:h,isLoading:g,children:i.Cancel,style:M,noInteractive:C,className:qe.clsx(va.Button,S)}),[n,h,g,i.Cancel,M,C,S]);if(e==="okCancel"||e==="ok")return v.jsxs("div",{className:va.Action,style:{...T},children:[v.jsx(Bi,{...D}),e==="okCancel"&&v.jsxs(v.Fragment,{children:[v.jsx(mn,{w:8}),v.jsx(Bi,{...A})]})]},e);if(e==="cancelOk"||e==="cancel")return v.jsxs("div",{className:va.Action,children:[v.jsx(Bi,{...A}),e==="cancelOk"&&v.jsxs(v.Fragment,{children:[v.jsx(mn,{w:8}),v.jsx(Bi,{...D})]})]},e)},g6=r=>{const e=I.useMemo(()=>Math.random().toFixed(32),[]),t=I.useMemo(()=>{const _={};return r.forEach(S=>{_[S]=S+e}),_},[r,e]),n=I.useMemo(()=>[],[]),i=I.useMemo(()=>(n.length=0,n.push(...r),n),[n,r]),[l,u]=I.useState([]),h=I.useRef((()=>{const _={};return i.forEach(S=>{_[S]={open:()=>u(D=>[...D,S]),close:()=>{},ok:()=>{},cancel:()=>{}}}),_})()),g=I.useMemo(()=>{const _={};return i.forEach(S=>{_[S]=D=>{u(A=>!D&&A.includes(S)?A.filter(b=>b!==S):D&&!A.includes(S)?[...A,S]:A)}}),_},[i]),m=I.useMemo(()=>{const _={};return i.forEach(S=>{const A=[l.includes(S),g[S]],b=k=>{h.current[S]={...h.current[S],...k}};_[S]={useIsOpen:A,setAction:b}}),_},[l,g,i]),M=I.useMemo(()=>{const _={};return i.forEach(S=>{const D=()=>h.current[S].open(),A=()=>h.current[S].close(),b=()=>h.current[S].ok(),k=()=>h.current[S].cancel();_[S]={open:D,close:A,ok:b,cancel:k}}),_},[i]),T=I.useMemo(()=>({}),[]),C=I.useMemo(()=>(i.forEach(_=>{T[_]={state:m[_],action:M[_]}}),T),[T,i,m,M]);return I.useEffect(()=>(Object.keys(C).forEach(S=>{const D=C[S],A=t[S],b=Ns.find(k=>{k.id});b?b.core=D:Ns.push({id:A,core:D})}),()=>{const S=Object.keys(C),D=Ns.filter(A=>S.includes(A.id));Ns.length=0,Ns.push(...D)}),[C,t]),C},m6=()=>{const r=I.useMemo(()=>Math.random().toFixed(32),[]),[e,t]=I.useState(!1),n=I.useRef({open:()=>t(!0),close:()=>{},ok:()=>{},cancel:()=>{}}),i=I.useMemo(()=>({useIsOpen:[e,t],setAction:g=>{n.current={...n.current,...g}}}),[e]),l=I.useMemo(()=>({open:()=>n.current.open(),close:()=>n.current.close(),ok:()=>n.current.ok(),cancel:()=>n.current.cancel()}),[]),u=I.useMemo(()=>({}),[]),h=I.useMemo(()=>(u.state=i,u.action=l,u),[u,i,l]);return I.useEffect(()=>{const g=Ns.find(m=>m.id===r);return g?g.core=h:Ns.push({id:r,core:h}),()=>{const m=Ns.filter(M=>M.id!==r);Ns.length=0,Ns.push(...m)}},[r,h]),h},v6=r=>{const{dlgCore:e,children:t}=r,[n,i]=I.useMemo(()=>e.state.useIsOpen,[e.state.useIsOpen]);return I.useEffect(()=>()=>i==null?void 0:i(!1),[i]),v.jsx(I.Suspense,{children:n&&t})},y6=r=>e=>{const{dlgCore:t}=e;return v.jsx(v6,{dlgCore:t,children:I.cloneElement(v.jsx(r,{...e}),{dlgCore:t})})},Ns=[],b6={closeAllDlgs:()=>{Ns.forEach(r=>{r.core.action.close()})}},_6="_AFileBox_1hlo1_1",x6="_SelectedFile_1hlo1_16",S6="_Dropping_1hlo1_26",qd={AFileBox:_6,SelectedFile:x6,Dropping:S6},C6=r=>{const{useFile:e,FileRenderer:t=w6,resources:n,accept:i="",onInvalidFileFormat:l,fileSelectButtonClassName:u,isDisabled:h,isLoading:g,className:m,...M}=r,T=I.useMemo(()=>({...hn.AFileBox,...n}),[n]),C=I.useRef(null),_=I.useRef(null),[S,D]=pn(e,null),[A,b]=I.useState(!1),k=I.useMemo(()=>i.split(",").map(N=>N.trim()).filter(N=>N.length>0&&N.startsWith(".")),[i]),O=I.useCallback(N=>{if(k.length===0)return!1;const re=N.name.split(".").pop();return re?!k.includes(`.${re}`):!0},[k]),H=I.useCallback(N=>{if(D)if(O(N)){l==null||l();return}else D(N);else return},[D,O,l]),q=I.useCallback(N=>{N.target.files&&N.target.files.length>0&&H(N.target.files[0])},[H]),G=I.useCallback(N=>{N.preventDefault(),b(!1),!(h||g)&&N.dataTransfer.files&&N.dataTransfer.files.length>0&&H(N.dataTransfer.files[0])},[H,h,g]),Y=I.useCallback(N=>{N.preventDefault(),!(h||g)&&b(!0)},[h,g]),ue=I.useCallback(N=>{N.target===C.current&&N.relatedTarget.contains(C.current.parentElement)&&(N.preventDefault(),b(!1))},[]),ee=I.useCallback(N=>N.preventDefault(),[]),fe=I.useMemo(()=>A?v.jsxs(R2,{className:qe.clsx(qd.Dropping,"NoSelect","Headline2"),children:[v.jsx(Br,{icon:"FileDownload"})," ",T["drop file to select"]]}):S?v.jsx(t,{file:S,useFile:e}):v.jsxs(si,{className:qe.clsx(qd.SelectFile,"NoSelect"),children:[v.jsx(Bi,{className:u,onClick:()=>{var N;return(N=_.current)==null?void 0:N.click()},children:T["Select File"]}),v.jsx(mn,{w:4}),T["or Drag & Drop"]]}),[t,T,A,S,e,u]);return v.jsxs(Ur,{...M,isDisabled:h,isLoading:g,className:qe.clsx(qd.AFileBox,m),onDrop:G,onDragEnter:Y,onDragLeave:ue,onDragOver:ee,abaseRef:C,children:[v.jsx("input",{style:{display:"none"},ref:_,type:"file",onChange:q,value:"",accept:i}),fe]})},w6=r=>{const{file:e,useFile:t}=r,[,n]=pn(t,null);return v.jsxs(si,{className:qd.SelectedFile,style:{backgroundColor:""},children:[v.jsx(Br,{icon:"File"}),v.jsx(Xl,{children:e.name}),v.jsx(vo,{type:"Raw",icon:"Close",style:{marginLeft:2,transform:"scale(0.8)"},onClick:()=>n==null?void 0:n(null)})]})},A6="_AFloatMenu_xco8u_1",T6="_Content_xco8u_10",Kv={AFloatMenu:A6,Content:T6},O2=r=>{const{defs:e,defaultDef:t,actionRef:n,offset:i,onClose:l,onClick:u,onPaperClick:h,position:g=Ku.ES,width:m=137}=r,M=I.useMemo(()=>({content:E6,...t}),[t]),T=I.useMemo(()=>{const N={};return Xt.keys(e).forEach(re=>{const K=e[re],ne={...M,...K};ne.noDisplay||(N[re]=ne)}),N},[M,e]),[C,_]=I.useState(null),S=I.useCallback(N=>{V_(N,O,g,i),_(N)},[g,i]),[D,A]=I.useState(!1),[b,k]=I.useState(!1),O=I.useRef(null),H=I.useCallback(N=>{k(!0),setTimeout(()=>A(!0),0),setTimeout(()=>S(N),0)},[S]),q=I.useCallback(()=>{A(!1),k(!0),l==null||l()},[l]),G=I.useCallback(()=>k(!1),[]),Y=I.useCallback(async N=>{const re=document.getElementById("root"),K=N.target,ne=O.current;!re||!ne||!K||!ne.contains(K)&&re.contains(K)&&(await(h==null?void 0:h(N)),q())},[q,h]);I.useEffect(()=>{if(D)return setTimeout(()=>document.addEventListener("mousedown",Y),0),()=>document.removeEventListener("mousedown",Y)},[D,Y]);const ue=I.useCallback(()=>{C&&S(C)},[S,C]);I.useEffect(()=>{if(!D||!C)return;let N=C.parentElement;for(;N;)N.addEventListener("scroll",ue),N=N.parentElement;return()=>{let re=C.parentElement;for(;re;)re.removeEventListener("scroll",ue),re=re.parentElement}},[C,D,ue]),I.useEffect(()=>{if(D)return window.addEventListener("resize",ue),()=>window.removeEventListener("resize",ue)},[D,ue]);const ee=I.useCallback(N=>{N[0].intersectionRatio===0&&q()},[q]);I.useEffect(()=>{if(!D)return;const N=new IntersectionObserver(ee,{threshold:0});return O.current&&N.observe(O.current),()=>N.disconnect()},[O,D,ee]),I.useEffect(()=>{n&&(n.current={open:H,close:q})},[n,H,q]);const fe=I.useCallback(N=>{var re;if(D){if((re=T[N])!=null&&re.isDisabled)return}else return;u==null||u(N),q()},[D,u,q,T]);return!D&&!b?null:Fs.createPortal(v.jsx("div",{className:Kv.AFloatMenu,style:{opacity:+D,visibility:D&&Object.keys(T).length>0?"visible":"hidden",minWidth:m},onTransitionEnd:G,ref:O,children:Xt.map(T,([N],re)=>{const K={...M,...T[N]};let{content:ne,noDisplay:ie,tooltipDirection:ce=vi.E,...me}=K;return ie?null:(ne=kr.getContent(K.content,{defKey:N,def:K}),I.createElement(Ur,{...me,key:re,className:qe.clsx(Kv.Content,"Label2","IsClickable",me.className),onClick:ae=>{var be;fe==null||fe(N),(be=me.onClick)==null||be.call(me,ae)},tooltipDirection:ce},ne))})}),document.body)},E6=r=>r.defKey;function k6(r){try{const e=Number.parseInt(r);return isNaN(e)?void 0:e}catch{return}}const P2={parseInt:k6},R6=`${Number.MAX_SAFE_INTEGER}`.length-1,I6=r=>{const{unit:e,type:t="Secondary",min:n,max:i,useValue:l,onEnterPress:u,canAsterisk:h=!1,onFocus:g,...m}=r,M=I.useMemo(()=>i!==void 0&&n!==void 0?Math.max(`${i}`.length+1,`${n}`.length+1):R6,[n,i]),[T,C]=pn(l,""),_=I.useCallback(b=>{if(C)if(h&&b.startsWith("*"))C("*");else if(b==="")C("");else if(b==="-")C("-");else{b=b.replace(/[^0-9-]/g,"");try{const k=P2.parseInt(b);k!==void 0&&(n!==void 0&&k<n?C(`${n}`):i!==void 0&&k>i?C(`${i}`):C(`${k}`))}catch(k){console.error("ANumInput : ",k)}}},[C,h,n,i]),S=I.useRef(null),D=I.useCallback(b=>{var k;(k=S.current)==null||k.blur(),u==null||u(b)},[u]),A=I.useMemo(()=>n===void 0&&i===void 0?e??"number":`${n??""}~${i??""}`,[n,i,e]);return v.jsx(Jl,{...m,type:t,className:qe.clsx(Qi.ANumInput,r.className),autoComplete:"off",onEnterPress:D,useValue:[T,_],maxLength:M,placeholder:A,RightAddon:r.unit&&v.jsx("span",{style:{marginRight:4},children:r.unit}),inputRef:S})},L6="_AListView_k7t2d_1",M6="_Row_k7t2d_10",D6="_Label_k7t2d_20",O6="_Content_k7t2d_30",Sd={AListView:L6,Row:M6,Label:D6,Content:O6},P6=r=>{const{defs:e,defaultDef:t,item:n,rowHeight:i,labelWidth:l,noBorder:u,style:h,...g}=r,m=u?"":"var(--AListView_border-thin)",M=u?"":"var(--AListView_border-thick)",T=I.useMemo(()=>({content:j6,label:N6,...t}),[t]),C=I.useMemo(()=>{const _={};return Xt.keys(e).forEach(S=>{const D=e[S],A={...T,...D};_[S]=A}),_},[T,e]);return v.jsx(Ur,{...g,className:qe.clsx(Sd.AListView,g.className),style:{...h,borderTop:m},children:Xt.map(C,([_])=>{const S={...T,...C[_]},D=kr.getContent(S.label,{defKey:_,item:n,def:S}),A=kr.getContent(S.content,{defKey:_,item:n||{[_]:""},def:S}),b=kr.getContent(S.bold||"label",{defKey:_,item:n,def:S});return v.jsxs("div",{className:Sd.Row,style:{height:i,borderBottom:m},children:[v.jsx("div",{className:qe.clsx(Sd.Label,"NoSelect",b!=="content"&&"Bold"),style:{width:l,minWidth:l,maxWidth:l,borderLeft:M,paddingLeft:u?0:10},children:v.jsx(Xl,{children:D})}),v.jsx("div",{className:qe.clsx(Sd.Content,b!=="label"&&"Bold"),style:{borderLeft:M,borderRight:M},children:v.jsx(Xl,{style:{width:"100%",padding:u?0:10},children:A})})]},_)})})},N6=r=>r.defKey,j6=r=>{const{defKey:e,item:t}=r;if(t)if(Xt.hasKey(t,e)){const n=t[e];return Xt.isReactNode(n)?n:null}else return null;else return null},F6="_ALoadingBorder_kwc1g_1",B6="_ProgressBar_kwc1g_9",q6="_IsLoading_kwc1g_15",H6="_load_kwc1g_1",z6="_Cover_kwc1g_19",Ef={ALoadingBorder:F6,ProgressBar:B6,IsLoading:q6,load:H6,Cover:z6},hm=r=>{const{isLoading:e}=r,[t,n]=I.useState(!1),i=I.useRef(null);return I.useEffect(()=>{e?(n(!0),i.current&&clearTimeout(i.current)):i.current=setTimeout(()=>n(!1),300)},[e]),v.jsxs("div",{className:Ef.ALoadingBorder,children:[v.jsx("div",{className:qe.clsx(Ef.ProgressBar,t&&Ef.IsLoading)}),v.jsx("div",{className:qe.clsx(Ef.Cover,e&&Ef.IsLoading),style:{transition:"all 300ms"}})]})},$6="_Container_i37fx_1",U6="_Option_i37fx_7",W6="_RadioButton_i37fx_14",V6="_InnerCircle_i37fx_23",G6="_isChecked_i37fx_28",ju={Container:$6,Option:U6,RadioButton:W6,InnerCircle:V6,isChecked:G6},Z6=r=>{const{options:e,useSelect:t,selectDisabled:n,radius:i=23,innerRadius:l=i*.6,OptionRenderer:u=N2}=r,[h,g]=pn(t,e[0]);return v.jsx("div",{className:ju.Container,children:e.map((m,M)=>{const T=n==null?void 0:n(m),C=()=>T?null:g==null?void 0:g(m);return v.jsxs(si,{className:qe.clsx(ju.Option,"IsClickable"),isDisabled:T,onClick:C,children:[v.jsx(Y6,{isChecked:h===m,radius:i,innerRadius:l},M),v.jsx(u,{option:m})]},M)})})},N2=({option:r})=>r,Y6=({isChecked:r,radius:e,innerRadius:t})=>v.jsx(Ur,{className:qe.clsx(ju.RadioButton,r&&ju.isChecked),style:{width:e,height:e},children:v.jsx(Ur,{className:qe.clsx(ju.InnerCircle,r&&ju.isChecked),style:{width:t,height:t}})}),K6="_AMultiSelect_ma2iq_1",X6="_Arrow_ma2iq_15",J6="_Primary_ma2iq_24",Q6="_UnAvailable_ma2iq_35",e8="_IsOpen_ma2iq_35",t8="_Secondary_ma2iq_42",r8="_Placeholder_ma2iq_57",n8="_ValuesContainer_ma2iq_62",i8="_Values_ma2iq_62",o8="_Options_ma2iq_81",s8="_Option_ma2iq_81",a8="_Selected_ma2iq_123",l8="_CheckBox_ma2iq_130",mo={AMultiSelect:K6,Arrow:X6,Primary:J6,UnAvailable:Q6,IsOpen:e8,Secondary:t8,Placeholder:r8,ValuesContainer:n8,Values:i8,Options:o8,Option:s8,Selected:a8,CheckBox:l8},c8=r=>{const{options:e,useSelect:t,type:n="Primary",placeholder:i=hn.AMultiSelect["Select(Placeholder)"],onClose:l,SelectedRenderer:u=f8,OptionRenderer:h=d8,minShowRows:g=2,maxShowRows:m=6,arrowProps:M,...T}=r,C=I.useRef(null),_=I.useMemo(()=>T.abaseRef??C,[T.abaseRef]),S=I.useRef(null),[D,A]=pn(t,[]),[b,k]=I.useState(!1),[O,H]=I.useState(!1),q=I.useCallback(()=>H(!1),[]),G=I.useCallback(()=>{T.isDisabled||T.isLoading||e.length<1||(H(!0),setTimeout(()=>k(!0),0),setTimeout(()=>Zh(S,_,e,g,m),0))},[_,T.isDisabled,T.isLoading,e,g,m]),Y=I.useCallback(()=>{k(!1),H(!0),l==null||l()},[l]),ue=I.useCallback(ne=>{var ie;b?Y():G(),setTimeout(()=>Zh(S,_,e,g,m),0),(ie=T.onClick)==null||ie.call(T,ne)},[_,T,e,b,Y,G,g,m]),ee=I.useCallback(()=>{Zh(S,_,e,g,m)},[_,e,g,m]);I.useEffect(()=>{if(!b||!_.current)return;const ne=_.current;let ie=ne.parentElement;for(;ie;)ie.addEventListener("scroll",ee),ie=ie.parentElement;return()=>{let ce=ne.parentElement;for(;ce;)ce.removeEventListener("scroll",ee),ce=ce.parentElement}},[_,b,ee]),I.useEffect(()=>{if(b)return window.addEventListener("resize",ee),()=>window.removeEventListener("resize",ee)},[b,ee]);const fe=I.useCallback(ne=>{ne[0].intersectionRatio===0&&Y()},[Y]);I.useEffect(()=>{if(!b)return;const ne=new IntersectionObserver(fe,{threshold:0});return _.current&&ne.observe(_.current),()=>ne.disconnect()},[_,b,fe]);const N=I.useCallback(ne=>{const ie=ne.target,ce=_.current,me=S.current;!ce||!ie||!me||!ce.contains(ie)&&!me.contains(ie)&&Y()},[_,Y]),re=I.useMemo(()=>T.isDisabled||T.isLoading||e.length<1,[T.isDisabled,T.isLoading,e]);I.useEffect(()=>{if(b)return setTimeout(()=>document.addEventListener("mousedown",N),0),()=>document.removeEventListener("mousedown",N)},[b,N]);const K=I.useCallback((ne,ie)=>{ne.stopPropagation(),ne.preventDefault();let ce=[...D];ce.includes(ie)?ce=ce.filter(me=>me!==ie):ce.push(ie),A==null||A(ce)},[D,A]);return v.jsxs(v.Fragment,{children:[v.jsxs(Ur,{...T,isDisabled:T.isDisabled||e.length<1,className:qe.clsx(T.className,mo.AMultiSelect,"NoSelect",b&&mo.IsOpen,re&&mo.UnAvailable,mo[n]),abaseRef:_,onClick:ue,children:[v.jsx("div",{className:mo.ValuesContainer,children:v.jsx("div",{className:qe.clsx(mo.Values,D.length<1&&mo.Placeholder),children:v.jsx(u,{OptionRenderer:h,selectedOptions:D,placeholder:i})})}),v.jsx("div",{...M,className:qe.clsx(mo.Arrow,M==null?void 0:M.className),children:v.jsx(Br,{style:{transform:b?"rotate(180deg)":"",transition:"var(--Transition)"},icon:"TriangleDown"})})]}),e.length>0&&(b||O)&&Fs.createPortal(v.jsx("div",{className:qe.clsx(mo.Options,mo[n]),onTransitionEnd:q,style:{opacity:+b,visibility:b?"visible":"hidden",pointerEvents:b?void 0:"none"},ref:S,children:e.map((ne,ie)=>{var me;const ce=D.includes(ne);return v.jsxs("div",{className:qe.clsx(mo.Option,ce&&mo.Selected,"NoSelect",mo[n]),style:{height:(me=_.current)==null?void 0:me.getBoundingClientRect().height},onClick:ae=>K(ae,ne),children:[v.jsx(Uu,{className:mo.CheckBox,useCheck:[+ce,void 0]}),v.jsx(h,{option:ne})]},ie)})}),document.body)]})};function Zh(r,e,t,n,i){if(!e.current||!r.current||!t||t.length<1)return;const l=e.current.getBoundingClientRect(),u=u8(l,t.length,n,i),h=window.getComputedStyle(e.current);r.current.style.top=`calc(${u.top??0}px - ${h.borderTopWidth})`,r.current.style.bottom=u.bottom?u.bottom+"px":"",r.current.style.left=u.left+"px",r.current.style.minWidth=u.minWidth+"px",r.current.style.minHeight=u.minHeight+"px",r.current.style.maxHeight=u.maxHeight+"px",r.current.style.visibility="visible"}function u8(r,e,t,n){const i={top:r.bottom,bottom:void 0,left:r.left,height:"fit-content",minWidth:r.width,minHeight:r.height*Math.min(t,e),maxHeight:r.height*n>window.innerHeight-r.bottom-10?window.innerHeight-r.bottom-10:r.height*n};return window.innerHeight-r.bottom-10<i.height&&(window.innerHeight-r.bottom-10<i.minHeight?(i.top=r.top-e*r.height,i.top<0&&(i.top=10,i.minHeight=r.top-10,i.height=r.top-10)):i.height=window.innerHeight-r.bottom-10),i}const f8=r=>{const{OptionRenderer:e,selectedOptions:t,placeholder:n}=r;return t.length<1?n:t.length===1?v.jsx(e,{option:t[0]}):`${t.length} selected`},d8=r=>{const{option:e}=r;return Xt.isReactNode(e)?e:null},h8="_Container_10ion_1",p8="_Steps_10ion_9",g8="_Step_10ion_9",m8="_OutCircle_10ion_26",v8="_IsOver_10ion_37",y8="_InCircle_10ion_41",b8="_Line_10ion_54",_8="_Left_10ion_66",x8="_Right_10ion_69",S8="_ContentContainer_10ion_73",C8="_Content_10ion_73",Ji={Container:h8,Steps:p8,Step:g8,OutCircle:m8,IsOver:v8,InCircle:y8,Line:b8,Left:_8,Right:x8,ContentContainer:S8,Content:C8},w8=r=>{const{useSelect:e,steps:t,StepRenderer:n=Xv,ContentRenderer:i=Xv}=r;if(t.length===0)throw new Error("steps should have at least one element");const l=I.useRef(null),[u,h]=pn(e,t[0]),g=I.useCallback(M=>h==null?void 0:h(M),[h]),m=I.useMemo(()=>t.indexOf(u),[u,t]);return I.useEffect(()=>{m<0&&g(t[0])},[m,t,g]),v.jsxs("div",{className:Ji.Container,children:[v.jsx("div",{className:Ji.Steps,children:t.map((M,T)=>{const C=t.indexOf(M),_=m>=T,S=m>T;return v.jsxs("div",{className:Ji.Step,children:[T!==0&&v.jsx("div",{className:qe.clsx(Ji.Line,Ji.Left,_&&Ji.IsOver)}),T!==t.length-1&&v.jsx("div",{className:qe.clsx(Ji.Line,Ji.Right,S&&Ji.IsOver)}),v.jsx(Bi,{type:"Raw",className:qe.clsx(Ji.OutCircle,_&&Ji.IsOver),onClick:()=>g(M),children:v.jsx("div",{className:qe.clsx(Ji.InCircle,_&&Ji.IsOver)})}),v.jsx(n,{step:M,stepIdx:C})]},T)})}),v.jsx("div",{className:Ji.ContentContainer,ref:l,children:t.map((M,T)=>{const C=t.indexOf(M);return v.jsx("div",{className:Ji.Content,style:T===0?{marginLeft:`${m*-100}%`}:{},children:v.jsx(i,{step:M,stepIdx:C})},T)})})]})},Xv=r=>{const{step:e}=r;return typeof e=="object"?Xt.stringify(e):e},A8="_ATab_15t1y_1",T8="_Option_15t1y_9",E8="_Underline_15t1y_21",k8="_IsSelected_15t1y_21",R8="_IndicatorTrack_15t1y_32",I8="_Indicator_15t1y_32",L8="_Primary_15t1y_48",M8="_Secondary_15t1y_55",D8="_IsDisabled_15t1y_65",O8="_Tertiary_15t1y_78",P8="_Quaternary_15t1y_105",Ul={ATab:A8,Option:T8,Underline:E8,IsSelected:k8,IndicatorTrack:R8,Indicator:I8,Primary:L8,Secondary:M8,IsDisabled:D8,Tertiary:O8,Quaternary:P8},N8=["Primary","Secondary","Tertiary","Quaternary"],j2=r=>{const{options:e,useSelect:t,selectDisabled:n,type:i="Primary",tabProps:l,optionProps:u,optionWidth:h,OptionRenderer:g=j8,RightAddon:m,color:M,underline:T}=r;if(e.length===0)throw new Error("options should have at least one element");const C=I.useMemo(()=>e.findIndex(ae=>!(n!=null&&n(ae))),[e,n]),_=i==="Tertiary"?2:0,S=i==="Secondary"?8:0,D=I.useMemo(()=>_+S,[_,S]),A=i==="Tertiary"?2:0,b=I.useMemo(()=>(S-_-A-A)/e.length,[e.length,_,S,A]),[k,O]=pn(t,e[C]),H=I.useRef([]),q=I.useCallback(ae=>O==null?void 0:O(ae),[O]),G=I.useMemo(()=>typeof h=="number"?h+"px":h,[h]),Y=I.useMemo(()=>e.indexOf(k),[e,k]),ue=I.useMemo(()=>`calc(${100/e.length}% + ${b}px)`,[e.length,b]),ee=I.useMemo(()=>G||`calc(${ue} - ${D}px)`,[ue,D,G]),[fe,N]=I.useState(0),[re,K]=I.useState(0),[ne,ie]=I.useState(ee),ce=I.useMemo(()=>{let ae;switch(G){case void 0:ae=`calc(${ue} * ${Y})`;break;case"fit-content":ae=`calc(${fe}px)`;break;default:ae=`calc((${G} + ${D}px) * ${Y})`;break}return`calc(${ae} + ${A}px)`},[G,A,ue,Y,fe,D]),me=I.useMemo(()=>{switch(G){case void 0:return;case"fit-content":return`calc(${re}px)`;default:return`calc((${G} + ${D}px - ${b}px) * ${e.length})`}},[G,b,D,e,re]);return I.useEffect(()=>{var be,ge;if(e.includes(k)||O==null||O(e[C]),G!=="fit-content"){ie(ee);return}let ae=0;H.current.forEach((xe,Le)=>{Le<Y&&xe.current&&(ae+=xe.current.offsetWidth+D)}),N(ae),ie(`calc(${((ge=(be=H.current[Y])==null?void 0:be.current)==null?void 0:ge.offsetWidth)||0}px)`),K(H.current.reduce((xe,Le)=>{var Pe;return xe+((((Pe=Le.current)==null?void 0:Pe.offsetWidth)||0)+D-b)},0))},[G,H,e,k,O,C,b,D,Y,ee]),v.jsxs("div",{...l,className:qe.clsx(Ul.ATab,"Headline2",Ul[i],l==null?void 0:l.className),children:[v.jsx("div",{className:Ul.Indicator,style:{minWidth:ne,left:ce,marginLeft:_}}),v.jsx("div",{className:Ul.IndicatorTrack,style:{width:me}}),v.jsx(mn,{w:A}),e.map((ae,be)=>{const ge=n==null?void 0:n(ae);return H.current[be]||(H.current[be]=I.createRef()),v.jsx(Ur,{abaseRef:H.current[be],...u,style:{minWidth:ee,maxWidth:ee,marginLeft:_,marginRight:S,"--color":M,...u==null?void 0:u.style},className:qe.clsx(Ul.Option,ge&&Ul.IsDiabled,ae===k&&Ul.IsSelected,"IsClickable",T&&Ul.Underline,u==null?void 0:u.className),onClick:xe=>{!ge&&q(ae),u&&u.onClick&&u.onClick(xe)},isDisabled:ge,children:v.jsx(g,{option:ae})},be)}),v.jsx(mn,{w:A+_}),m&&v.jsxs(v.Fragment,{children:[v.jsx(Yc,{}),m]})]})},j8=r=>{const{option:e}=r;if(typeof e=="string")return e;if(typeof e=="number")return e;if(typeof e=="object"){if(e===null)return"";const t=Xt.keys(e);return"name"in t?e.name:"label"in t?e.label:"value"in t?e.value:JSON.stringify(e)}else return JSON.stringify(e)};function F2(...r){const e=I.useRef(!1);I.useEffect(()=>{e.current||(e.current=!0,r.forEach(t=>t()))},[r])}const B2={String:(r,e,t,n)=>{const{value:i}=n;if(i===void 0)return!1;if(t==="")return Xt.keys(e).some(M=>{const T=e[M],C=kr.getContent(T.asText,{defKey:M,def:T,item:r});if(C!==void 0)return C.toString().toLowerCase().includes(i.toLowerCase());const _=kr.getContent(T.content,{defKey:M,def:T,item:r});return["string","number"].includes(typeof _)&&_!==void 0&&_!==null?_.toString().toLowerCase().includes(i.toLowerCase()):!1});const l=Xt.keys(e),u=t;if(!l.includes(u))return!1;const h=e[u],g=kr.getContent(h.asText,{defKey:u,def:h,item:r});if(g!==void 0)return g.toString().toLowerCase().includes(i.toLowerCase());const m=kr.getContent(h.content,{defKey:u,def:h,item:r});return["string","number"].includes(typeof m)&&m!==void 0&&m!==null?m.toString().toLowerCase().includes(i.toLowerCase()):!1},Select:(r,e,t,n)=>{const{value:i}=n;if(i==null)return!1;const l=Xt.keys(e),u=t;if(!l.includes(u))return!1;const h=e[u],g=kr.getContent(h.asText,{defKey:u,def:h,item:r});if(g!==void 0)return i.toString().toLowerCase()===g.toString().toLowerCase();const m=kr.getContent(h.content,{defKey:u,def:h,item:r});return["string","number"].includes(typeof m)&&m!==void 0&&m!==null?i.toString().toLowerCase()===m.toString().toLowerCase():!1},Date:(r,e,t,n)=>{const{value:i}=n;if(i===void 0)return!1;const l=Xt.keys(e),u=t;if(!l.includes(u))return!1;const h=e[u],g=kr.getContent(h.asText,{defKey:u,def:h,item:r});if(g!==void 0){const M=zt.toDate(g.toString());return M&&zt.eq(M,i)}const m=kr.getContent(h.content,{defKey:u,def:h,item:r});if(["string","number"].includes(typeof m)&&m!==void 0&&m!==null){const M=zt.toDate(m.toString());return M&&zt.eq(M,i)}return!1},DateRange:(r,e,t,n)=>{const{value:i}=n;if(i===void 0)return!1;const l=Xt.keys(e),u=t;if(!l.includes(u))return!1;const h=e[u],g=kr.getContent(h.asText,{defKey:u,def:h,item:r});if(g!==void 0){const M=zt.toDate(g.toString());return M&&zt.be(i.sDate,M,i.eDate)}const m=kr.getContent(h.content,{defKey:u,def:h,item:r});if(["string","number"].includes(typeof m)&&m!==void 0&&m!==null){const M=zt.toDate(m.toString());return M&&zt.be(i.sDate,M,i.eDate)}return!1}},F8=(r,e,t)=>{let n=r;return Xt.keys(t).forEach(l=>{const u=t[l];u.value===void 0||u.value===null||u.value===""||(n=n.filter(h=>{var g;return(g=u.predicate??B2[u.type])==null?void 0:g(h,e,l,u)}))}),n},B8=(r,e,t)=>{if(!t)return r;const n=t.defKey,i=e[n];if(n===void 0)return r;const l=t.sortF??((u,h)=>{const g=kr.getContent(i.content,{defKey:n,def:i,item:u}),m=kr.getContent(i.content,{defKey:n,def:i,item:h});return typeof g=="string"&&typeof m=="string"?g<m?-1:g>m?1:0:typeof g=="number"&&typeof m=="number"?g-m:typeof g=="string"&&typeof m=="number"?-1:typeof g=="number"&&typeof m=="string"||g===void 0&&m!==void 0?1:g!==void 0&&m===void 0?-1:0});return r.slice().sort((u,h)=>t.isAsc?l(u,h):l(h,u))},q8=(r,e,t)=>r.slice((e-1)*t,e*t),q2=(r,e)=>{const t=Math.max(Math.ceil(r/e),1);return Array.from({length:t},(n,i)=>i+1)},H8=(r,e,t,n)=>{const i=q2(e,t),l=Math.floor((r-1)/n),u=l*n+1,h=(l+1)*n,g=i.slice(u-1,h);return{pages:i,rangedPages:g}},z8=(r,e,t)=>{const n=[],i=Object.keys(t),l=[];i.forEach(C=>{const _=t[C],S=kr.getContent(_.hContent,{defKey:C,def:_});if(S!==void 0){if(typeof S=="string"){l.push(S);return}else if(typeof S=="number"){l.push(S.toString());return}}const D=kr.getContent(_.name,{defKey:C,def:_});if(D!==void 0&&typeof D=="string"){l.push(D);return}l.push(C)});const u=l.map(C=>`"${C.replaceAll('"','""')}"`);n.push(u.join(",")),e.forEach(C=>{const _=[];i.forEach(D=>{const A=t[D],b=kr.getContent(A.content,{defKey:D,def:A,item:C});if(b!==void 0){if(typeof b=="string"){_.push(b);return}else if(typeof b=="number"){_.push(b.toString());return}}const k=C[D];typeof k=="string"?_.push(k):typeof k=="number"?_.push(k.toString()):_.push("")});const S=_.map(D=>`"${D.replaceAll('"','""')}"`);n.push(S.join(","))});const h=`${r}.csv`,g="\uFEFF"+n.join(`
|
53
|
-
`),m=new Blob([g],{type:"text/csv;charset=UTF-8"}),M=URL.createObjectURL(m),T=document.createElement("a");T.href=M,T.download=h,T.click(),URL.revokeObjectURL(M)},$8=r=>{const e=Xt.keys(r);if(e.length!==1)return;const t=e[0];if(t!=="")return;const n=r[t];if(n.type==="String")return n.value},U8=r=>{const e=Object.entries(r);let t={};return e.forEach(([n,i])=>{!i||i.value===void 0||i.value===null||i.value===""||(i.type==="DateRange"?(t[i.sFilterKey]=i.value.sDate,t[i.eFilterKey]=i.value.eDate):t[i.filterKey??n]=i.value)}),t},Ja={applyFilteration:F8,applySortation:B8,applyPagination:q8,getPages:q2,getRangedPages:H8,downloadCsv:z8,getSingleFilterValue:$8,getMultiFilterValues:U8},W8="_ATable_12zow_1",V8={ATable:W8};function H2(r,e,t,n){I.useEffect(()=>{if(r)return r.addEventListener(e,t,n),()=>{r.removeEventListener(e,t,n)}},[r,e,t,n])}const G8="_BodyHeader_43b3m_1",Z8="_TRow_43b3m_7",Y8="_OverflowSpace_43b3m_13",K8="_BodyBody_43b3m_19",X8="_IsSelected_43b3m_40",J8="_IsSelectable_43b3m_44",Q8="_IsRowMarked_43b3m_52",ek="_TH_43b3m_57",tk="_TD_43b3m_62",rk="_IsMarked_43b3m_62",nk="_Resizer_43b3m_81",ik="_IsMoving_43b3m_93",ok="_IsResizable_43b3m_96",sk="_ResizerCenter_43b3m_99",ak="_ResizerOut_43b3m_105",lk="_ResizerIn_43b3m_109",ck="_IsClicked_43b3m_144",uk="_NoItems_43b3m_151",fk="_Content_43b3m_157",_n={BodyHeader:G8,TRow:Z8,OverflowSpace:Y8,BodyBody:K8,IsSelected:X8,IsSelectable:J8,IsRowMarked:Q8,TH:ek,TD:tk,IsMarked:rk,Resizer:nk,IsMoving:ik,IsResizable:ok,ResizerCenter:sk,ResizerOut:ak,ResizerIn:lk,IsClicked:ck,NoItems:uk,Content:fk},Gl=25,dk=r=>{const{defs:e,isEqual:t,rProps:n,useSelect:i,isTableDisabled:l,isSelectMulti:u,selectDisabled:h,appliedFilteration:g,useSortation:m,pagination:M,pagedItems:T,noMarking:C,isLoading:_,showRows:S,RowRenderer:D=gk,isRowRendered:A,resources:b}=r,[k,O]=I.useMemo(()=>i??[],[i]),H=I.useCallback(Re=>{l||!O||!k||h!=null&&h(Re)||(u?k.some(Je=>t(Je,Re))?O(k.filter(Je=>!t(Je,Re))):O([...k,Re]):O([Re]))},[k,h,O,t,l,u]);I.useEffect(()=>{u||!k||!O||k.length>1&&O([k[k.length-1]])},[k,O,u]),I.useEffect(()=>{if(!k||!O)return;k.filter(Je=>h==null?void 0:h(Je)).length>0&&O(k.filter(Je=>!(h!=null&&h(Je))))},[k,O,h]);const[q,G]=m,Y=I.useCallback((Re,Je)=>{G&&((q==null?void 0:q.defKey)===Re?q.isAsc===!0?G({defKey:Re,isAsc:!1,sortF:Je}):q.isAsc===!1?G(void 0):G({defKey:Re,isAsc:!0,sortF:Je}):G({defKey:Re,isAsc:!0,sortF:Je}))},[q,G]),[ue,ee]=I.useState({elem:null,row:null}),fe=I.useRef(null),N=I.useRef(null),re=I.useCallback(()=>ee({elem:fe.current,row:N.current}),[]);I.useEffect(()=>re(),[T.length,re]),H2(window,"resize",re);const[K,ne]=I.useState(40);I.useEffect(()=>{const{row:Re}=ue;Re!=null&&ne(Re.clientHeight)},[ue,K]);const ie=I.useMemo(()=>{const{elem:Re}=ue;return Re?Math.floor(Re.clientHeight/K):0},[ue,K]),ce=I.useMemo(()=>S||(T.length<=ie?ie:T.length),[ie,S,T]),me=I.useMemo(()=>{if(S!==void 0)return S*K},[S,K]),ae=I.useMemo(()=>me,[me]),be=I.useMemo(()=>{const{elem:Re}=ue;return Re?Re.getBoundingClientRect().height/K<T.length:!1},[ue,K,T.length]),[ge,xe]=I.useState(),Le=I.useMemo(()=>{const{elem:Re}=ue;return!ge||!Re?"100%":Re.clientHeight+(A?0:50)},[ge,A,ue]),Pe=I.useRef(null),[We,Te]=I.useState({}),ot=I.useRef({x:0,y:0}),pt=I.useRef({}),Ke=I.useMemo(()=>Xt.keys(We),[We]),Ye=I.useCallback((Re,Je)=>{const ft=Pe.current;if(!ft)return;const xt=[];ft.childNodes.forEach(Ct=>{Ct.classList.contains(_n.TH)&&xt.push(Ct)});const St={};Xt.keys(e).forEach((Ct,ct)=>{const ut=xt[ct];if(!ut)return;const et=ut.getBoundingClientRect().width;St[Ct]=et}),pt.current=St,xe(Je),ot.current={x:Re.clientX,y:Re.clientY};const mt=Ct=>{if(!Pe.current)return;const ut=Ct.clientX-ot.current.x,et=pk(e,Je,pt.current,ut);Te(et)};document.addEventListener("mousemove",mt);const It=()=>{xe(void 0),document.removeEventListener("mousemove",mt),document.removeEventListener("mouseup",It)};document.addEventListener("mouseup",It)},[e]),Oe=I.useCallback(()=>{xe(void 0),Te({})},[]),ke=I.useMemo(()=>{if(Ke.length===0){const ft={},xt=Xt.keys(e);for(let St=0;St<xt.length;St++){const mt=xt[St],It=e[mt],Ct=kr.getContent(It.colSpan,{defKey:mt,def:It}),ct=It.width??80,ut=It.minWidth??Gl,et=It.maxWidth,Se={width:ct,minWidth:ut,maxWidth:et,flexGrow:Ct??1};if(ft[mt]=Se,Ct!==void 0){for(let Ze=1;Ze<Math.min(Ct,xt.length-St);Ze++){const at=e[xt[St+Ze]],gt=at.width??80,Tt=at.minWidth??Gl,je=at.maxWidth;Se.width+=gt,Se.minWidth+=Tt,Se.maxWidth!==void 0&&(je!==void 0?Se.maxWidth+=je:Se.maxWidth=void 0)}St+=Ct-1}}return ft}const Re={},Je=Xt.keys(e);for(let ft=0;ft<Je.length;ft++){let xt=Je[ft];const St=e[xt];let mt=We[xt];const It=kr.getContent(St.colSpan,{defKey:xt,def:St}),Ct=St.minWidth??Gl,ct=St.maxWidth,ut={width:mt,minWidth:Ct,maxWidth:ct,flexGrow:It??1};if(Re[xt]=ut,It!==void 0){for(let et=1;et<Math.min(It,Je.length-ft);et++){const Se=e[Je[ft+et]],Ze=We[Je[ft+et]],at=Se.minWidth??Gl,gt=Se.maxWidth;ut.width+=Ze,ut.minWidth+=at,ut.maxWidth!==void 0&&(gt!==void 0?ut.maxWidth+=gt:ut.maxWidth=void 0)}ft+=It-1}}return Re},[e,Ke,We]),Ee=I.useRef(null),Ne=I.useMemo(()=>Ja.getSingleFilterValue(g),[g]);return I.useEffect(()=>{fe.current&&fe.current.scrollTo({top:0})},[M.page]),I.useEffect(()=>{A&&N.current&&N.current.scrollIntoView({behavior:"smooth",block:"center"})},[k,T,A]),v.jsxs(v.Fragment,{children:[v.jsx(hm,{isLoading:_}),v.jsx("div",{className:qe.clsx(_n.BodyHeader,ge!==void 0&&_n.IsClicked),onResizeCapture:re,ref:Ee,style:{display:A?"none":"flex"},children:v.jsx("div",{className:_n.TRow,ref:Pe,children:Xt.map(e,([Re],Je)=>{const ft=e[Re],xt=kr.getContent(ft.hContent,{defKey:Re,def:ft}),St=ft.name,mt=Je===Xt.keys(e).length-1,It=ft.width??80,Ct=ft.minWidth??Gl,ct=ft.maxWidth,ut={width:It,minWidth:Ct,maxWidth:ct,justifyContent:kr.getContent(ft.hAlign,{defKey:Re,def:ft})??"flex-start",...kr.getContent(ft.hStyle,{defKey:Re,def:ft})};Ke.includes(Re)&&(ut.width=We[Re]);const et=ft.isSortable,Se=(q==null?void 0:q.defKey)===Re,Ze=q==null?void 0:q.isAsc;return v.jsxs(I.Fragment,{children:[v.jsxs("div",{style:ut,onClick:()=>et&&Y(Re,ft.sortF),className:qe.clsx(_n.TH,"Label1",et?"IsClickable":"NoSelect"),children:[v.jsx(Xl,{className:_n.Content,children:xt??St}),et&&v.jsx(Br,{icon:Se?Ze?"SortUp":"SortDown":"SortBoth",style:{width:16,height:16}})]}),!mt&&v.jsxs("div",{className:qe.sclsx(_n,"Resizer","IsResizable","NoSelect",ge!==void 0&&"IsMoving"),onMouseDown:at=>Ye(at,Re),onDoubleClick:Oe,children:[v.jsx("div",{className:_n.ResizerOut}),v.jsx("div",{className:_n.ResizerIn}),v.jsx("div",{className:_n.ResizerCenter,style:{height:Le}}),v.jsx("div",{className:_n.ResizerIn}),v.jsx("div",{className:_n.ResizerOut})]}),mt&&v.jsx(mn,{className:_n.OverflowSpace,w:"var(--Scrollbar-width)",h:50,style:{color:ut.color,backgroundColor:ut.backgroundColor,transition:ut.transition}})]},Re)})})}),v.jsxs("div",{className:qe.clsx(_n.BodyBody,ge!==void 0&&_n.IsClicked),ref:fe,style:{overflowY:be?"scroll":"hidden",minHeight:me,maxHeight:ae},children:[T.map((Re,Je)=>{const ft=kr.getContent(n,{item:Re}),xt=O&&!l,St=k==null?void 0:k.some(ct=>t(ct,Re)),mt=k&&(h==null?void 0:h(Re)),It=typeof mt=="string"?mt:void 0,Ct={...Re};return A&&Xt.keys(e).forEach(ct=>{const ut=e[ct],et=kr.getContent(ut.content,{defKey:ct,def:ut,item:Re});let Se=!1;if(Ne&&!C){const Ze=kr.getContent(ut.asText,{defKey:ct,def:ut,item:Re});Ze!==void 0?Se=Ze.toString().toLowerCase().includes(Ne.toLowerCase()):["string","number"].includes(typeof et)&&et!==void 0&&et!==null&&(Se=et.toString().toLowerCase().includes(Ne.toLowerCase()))}Ct[ct]=v.jsx("span",{className:qe.clsx(Se&&_n.IsRowMarked),children:Ct[ct]})}),v.jsx(Ur,{isDisabled:mt,tooltip:It,...ft,onClick:ct=>{var ut;H(Re),(ut=ft==null?void 0:ft.onClick)==null||ut.call(ft,ct)},className:qe.clsx(ft==null?void 0:ft.className,xt&&_n.IsSelectable,St&&_n.IsSelected),abaseRef:St?N:void 0,children:v.jsx(D,{defs:e,item:Re,markedItem:Ct,noMarking:C,spanWidths:ke,singleFilterValue:Ne,isBodyBodyOverflowed:be})},Je)}),v.jsx(hk,{showRows:ce,itemsLength:T.length,isRowRendered:A,rowHeight:K,resources:b})]})]})},hk=r=>{const{showRows:e,itemsLength:t,resources:n,isRowRendered:i,rowHeight:l}=r,u=I.useMemo(()=>t===0?e:e-t,[e,t]);return Array.from({length:u},(h,g)=>v.jsx("div",{className:qe.clsx(_n.TRow,"NoSelect"),...i&&{style:{border:"none",minHeight:l,maxHeight:l}},children:t===0&&g===Math.floor(e/2)&&v.jsx(si,{className:_n.NoItems,children:n["No Items"]})},g))};function pk(r,e,t,n){const i={...t},l=Xt.keys(r).findIndex(m=>m===e)+1,u=Object.entries(r);let h=l-1,g=l;if(n<0){for(;n<0&&!(h<0||g>=u.length);){const[m,M]=[u[h][0],u[h][1]],[T,C]=[u[g][0],u[g][1]],_=M.minWidth??Gl,S=C.maxWidth,D=i[m],A=i[T];let b=D-_;S!==void 0&&(b=Math.min(b,S-A));let k=-n;k=Math.min(k,b),D-k<=_&&h--,S!==void 0&&A+k>=S&&g++,i[m]=D-k,i[T]=A+k,n+=k}return i}else if(n>0){for(;n>0&&!(h<0||g>=u.length);){const[m,M]=[u[h][0],u[h][1]],[T,C]=[u[g][0],u[g][1]],_=C.minWidth??Gl,S=M.maxWidth,D=i[T],A=i[m];let b=D-_;S!==void 0&&(b=Math.min(b,S-A));let k=n;k=Math.min(k,b),D-k<=_&&g++,S!==void 0&&A+k>=S&&h--,i[T]=D-k,i[m]=A+k,n-=k}return i}return i}const gk=r=>{const{defs:e,item:t,noMarking:n,spanWidths:i,singleFilterValue:l,isBodyBodyOverflowed:u}=r;return v.jsx("div",{className:qe.clsx(_n.TRow),children:Xt.map(e,([h],g)=>{const m=i[h];if(m===void 0)return null;const M=g===Xt.keys(e).length-1,T=e[h],C=kr.getContent(T.content,{defKey:h,def:T,item:t}),_={width:m.width,minWidth:m.minWidth,maxWidth:m.maxWidth,flexGrow:m.flexGrow,justifyContent:kr.getContent(T.align,{defKey:h,def:T,item:t})??"flex-start",...kr.getContent(T.style,{defKey:h,def:T,item:t})};let S=!1;if(l&&!n){const D=kr.getContent(T.asText,{defKey:h,def:T,item:t});D!==void 0?S=D.toString().toLowerCase().includes(l.toLowerCase()):["string","number"].includes(typeof C)&&C!==void 0&&C!==null&&(S=C.toString().toLowerCase().includes(l.toLowerCase()))}return v.jsxs(I.Fragment,{children:[v.jsx("div",{style:_,className:qe.clsx(_n.TD,"Label1",S&&_n.IsMarked),children:v.jsx(Xl,{className:_n.Content,children:C})}),!u&&M&&v.jsx(mn,{className:_n.OverflowSpace,w:"var(--Scrollbar-width)",h:40,style:{color:_.color,backgroundColor:_.backgroundColor}})]},h)})})},mk="_ATableFooter_w090q_1",vk="_Button_w090q_10",yk="_IsSelected_w090q_26",bk="_IsDisabled_w090q_31",Ls={ATableFooter:mk,Button:vk,IsSelected:yk,IsDisabled:bk},_k=r=>{const{pages:e,rangedPages:t,pageF:n,pagination:i}=r,l=I.useMemo(()=>e[e.length-1],[e]);return v.jsxs(si,{className:Ls.ATableFooter,children:[v.jsx(Br,{icon:"FirstPage",className:qe.clsx(Ls.Button,i.page===1&&Ls.IsDisabled),onClick:n.moveFirst}),v.jsx(Br,{icon:"NavigateBefore",className:qe.clsx(Ls.Button,i.page===1&&Ls.IsDisabled),onClick:n.movePrev}),t.map(u=>v.jsx("div",{className:qe.clsx(Ls.Button,"NoSelect",i.page===u&&Ls.IsSelected),onClick:()=>n.move(u),children:u},u)),v.jsx(Br,{icon:"NavigateNext",className:qe.clsx(Ls.Button,i.page===l&&Ls.IsDisabled),onClick:n.moveNext}),v.jsx(Br,{icon:"LastPage",className:qe.clsx(Ls.Button,i.page===l&&Ls.IsDisabled),onClick:n.moveLast})]})},xk="_Filter_1nzzz_1",Sk="_MainFilter_1nzzz_11",Ck="_IsOpen_1nzzz_22",wk="_SubFilters_1nzzz_26",Ak="_Input_1nzzz_40",Tk="_Main_1nzzz_11",Ek="_Sub_1nzzz_26",kk="_Actions_1nzzz_58",Rk="_Icon_1nzzz_63",Ik="_LeftIcon_1nzzz_70",Lk="_CircleAlertOutline_1nzzz_75",Mk="_Rotate_1nzzz_85",Dk="_rotate_1nzzz_1",Er={Filter:xk,MainFilter:Sk,IsOpen:Ck,SubFilters:wk,Input:Ak,Main:Tk,Sub:Ek,Actions:kk,Icon:Rk,LeftIcon:Ik,CircleAlertOutline:Lk,Rotate:Mk,rotate:Dk},Ok=r=>{const{defs:e,useFilteration:t,hasToggleFilteration:n,filterF:i,isRowRendered:l,isFilterSort:u,resources:h}=r,[g,m]=I.useState([]),[M,T]=I.useMemo(()=>t,[t]),C=I.useCallback((ae,be,ge)=>{if(!T)return;const xe={...M};ae.value=be,T(xe),m(Le=>Le.map((Pe,We)=>We===(ge?ge+1:0)?"":Pe))},[M,T]),_=I.useMemo(()=>{let ae=[];const be=Xt.keys(M);for(const ge of be)ae.push({key:ge,def:e[ge],filter:M[ge]});return ae},[M,e]),S=I.useMemo(()=>_.length>0?_[0]:null,[_]),D=I.useMemo(()=>g.length>0?g[0]:"",[g]),A=I.useMemo(()=>_.length>1?_.slice(1):[],[_]),b=I.useMemo(()=>g.length>1?g.slice(1):[],[g]),k=I.useMemo(()=>A.length>0,[A]),[O,H]=I.useState(!1),[q,G]=I.useState(!1),Y=I.useRef(null),ue=I.useCallback(()=>{H(!0),setTimeout(()=>G(!0),0)},[]),ee=I.useCallback(()=>{G(!1),H(!0)},[]),fe=I.useMemo(()=>q?ee:ue,[q,ue,ee]),N=I.useCallback(()=>H(!1),[]),re=I.useCallback(ae=>{const be=document.getElementById("root"),ge=ae.target,xe=Y.current;!be||!xe||!ge||!xe.contains(ge)&&be.contains(ge)&&ee()},[ee]);I.useEffect(()=>{if(q)return setTimeout(()=>document.addEventListener("mousedown",re),0),()=>document.removeEventListener("mousedown",re)},[q,re]);const K=I.useCallback(()=>{const ae=_.map((be,ge)=>be.filter.type==="String"&&be.filter.validation?be.filter.validation(be.filter.value||""):be.filter.type==="Date"&&be.filter.validation||be.filter.type==="DateRange"&&be.filter.validation?be.filter.validation(be.filter.value):g[ge]);m(ae),ae.every(be=>!be)&&i.apply()},[g,i,_]),ne=I.useMemo(()=>({open:ue,close:ee,toggle:fe,validate:K}),[ue,ee,fe,K]),ie=I.useCallback(()=>i.clear(),[i]),ce=I.useCallback(()=>K(),[K]),me=I.useCallback(ae=>{ae.key==="Enter"?(K(),ae.stopPropagation()):ae.key==="Escape"&&(G(!1),ae.currentTarget.focus(),ae.currentTarget.blur(),ae.stopPropagation())},[K]);return S?v.jsxs("div",{className:qe.clsx(Er.Filter),ref:Y,onKeyDown:me,onClick:ae=>{ae.preventDefault(),ae.stopPropagation()},style:{minWidth:l?u?180:void 0:180,maxWidth:l?u?300:void 0:300},tabIndex:-1,children:[v.jsx(Pk,{filterSet:S,hasToggleFilteration:n,onChange:C,filterF:i,hasSubFilters:k,popupF:ne,isOpen:q,resources:h,errorMessage:D}),v.jsx(Nk,{subFilterSets:A,onChange:C,onClearClick:ie,onSearchClick:ce,isOpen:q,isTransitioning:O,onTransitionEnd:N,resources:h,errorMessages:b})]}):null},Pk=r=>{var M,T,C,_;const{filterSet:e,hasToggleFilteration:t,onChange:n,filterF:i,hasSubFilters:l,popupF:u,isOpen:h,resources:g,errorMessage:m}=r;if(e.filter.type==="String"){const S=[e.filter.value??"",k=>n(e.filter,k)],{placeholder:D=(M=e.def)==null?void 0:M.name,icon:A,iconTooltip:b=D}=e.filter;return v.jsxs("div",{className:qe.clsx(Er.MainFilter,h&&Er.IsOpen),children:[v.jsx(ma,{icon:A??"Type",tooltip:b,isOpen:h}),v.jsx(Jl,{className:qe.clsx(Er.Input,Er.Main),useValue:S,placeholder:D??g["Search(Placeholder)"],wrapProps:{style:{width:"100%",boxSizing:"border-box"}},LeftAddon:t&&v.jsx(Cd,{isOpen:h,filterF:i,popupF:u,resources:g}),RightAddon:v.jsx(wd,{hasSubFilters:l,popupF:u,isOpen:h,resources:g,errorMessage:m}),autoFocus:e.filter.autoFocus,maxLength:e.filter.maxLength,type:m?"Error":"Primary"})]})}else if(e.filter.type==="Select"){const S=[e.filter.value??null,k=>n(e.filter,k)],{placeholder:D=(T=e.def)==null?void 0:T.name,icon:A,iconTooltip:b=D}=e.filter;return v.jsxs("div",{className:qe.clsx(Er.MainFilter,h&&Er.IsOpen),children:[v.jsx(ma,{icon:A??"Menu",tooltip:b,isOpen:h}),v.jsx(Wc,{className:qe.clsx(Er.Input,Er.Main),options:e.filter.options,useSelect:S,placeholder:D,OptionRenderer:e.filter.OptionRenderer,SelectedRenderer:({OptionRenderer:k,selectedOption:O})=>O===null?e.filter.placeholder&&g.Select:v.jsxs(v.Fragment,{children:[t&&v.jsx(Cd,{isOpen:h,filterF:i,popupF:u,resources:g}),v.jsx(k,{option:O}),v.jsx(wd,{hasSubFilters:l,popupF:u,isOpen:h,resources:g})]})})]})}else if(e.filter.type==="Date"){const S=[e.filter.value,k=>n(e.filter,k)],{placeholder:D=(C=e.def)==null?void 0:C.name,icon:A,iconTooltip:b=D}=e.filter;return v.jsxs("div",{className:qe.clsx(Er.MainFilter,h&&Er.IsOpen),children:[v.jsx(ma,{icon:A??"CalendarDay",tooltip:b,isOpen:h}),v.jsx(dm,{type:"Raw",className:qe.clsx(Er.DatePicker,Er.Input,Er.Main),useDate:S,minDate:e.filter.minDate,maxDate:e.filter.maxDate,placeholder:D,LeftAddon:v.jsxs(v.Fragment,{children:[t&&v.jsx(Cd,{isOpen:h,filterF:i,popupF:u,resources:g}),!t&&v.jsx(mn,{w:h?0:6}),v.jsx(ma,{icon:A??"CalendarDay",tooltip:b,isOpen:!h}),v.jsx(mn,{w:h?8:0})]}),RightAddon:v.jsx(wd,{hasSubFilters:l,popupF:u,isOpen:h,resources:g})})]})}else if(e.filter.type==="DateRange"){const S=[e.filter.value,O=>n(e.filter,O)],{placeholder:D=(_=e.def)==null?void 0:_.name,icon:A,iconTooltip:b=D,noDefaultChoices:k}=e.filter;return v.jsxs("div",{className:qe.clsx(Er.MainFilter,h&&Er.IsOpen),children:[v.jsx(ma,{icon:A??"CalendarDay",tooltip:b,isOpen:h}),v.jsx(um,{type:"Raw",className:qe.clsx(Er.DatePicker,Er.Input,Er.Main),useDateRange:S,minDate:e.filter.minDate,maxDate:e.filter.maxDate,placeholder:D,noDefaultChoices:k,LeftAddon:v.jsxs(v.Fragment,{children:[t&&v.jsx(Cd,{isOpen:h,filterF:i,popupF:u,resources:g}),!t&&v.jsx(mn,{w:h?0:6}),v.jsx(ma,{icon:A??"CalendarDay",tooltip:b,isOpen:!h}),v.jsx(mn,{w:h?8:0})]}),RightAddon:v.jsx(wd,{hasSubFilters:l,popupF:u,isOpen:h,resources:g})})]})}return null},Cd=r=>{const{filterF:e,popupF:t,resources:n,isOpen:i}=r;return v.jsx(vo,{type:"Raw",className:Er.Icon,icon:"Convert",tooltip:n["Toggle Filter"],onMouseDown:l=>l.currentTarget.classList.remove(Er.Rotate),style:{width:i?0:24,marginLeft:i?0:8},onClick:l=>{l.currentTarget.classList.add(Er.Rotate),e.toggle(),t.close(),l.stopPropagation()}})},wd=r=>{const{hasSubFilters:e,popupF:t,isOpen:n,resources:i,errorMessage:l}=r,u=I.useCallback(m=>{m.stopPropagation(),t.open()},[t]),h=I.useCallback(m=>{m.stopPropagation(),t.close()},[t]),g=I.useCallback(m=>{m.stopPropagation(),t.validate()},[t]);return v.jsxs(I.Fragment,{children:[l&&v.jsx(vo,{type:"Raw",className:Er.CircleAlertOutline,icon:"CircleAlertOutline",tooltip:l}),e&&v.jsx(vo,{type:"Raw",className:Er.Icon,icon:"ListAdd",onClick:u,style:{opacity:+!n,visibility:+!n?"visible":"hidden",marginRight:-24,pointerEvents:n?"none":void 0}}),e&&v.jsx(vo,{type:"Raw",className:Er.Icon,icon:"ListRemove",onClick:h,style:{opacity:+n,visibility:+n?"visible":"hidden",marginRight:n?-24:0,pointerEvents:n?void 0:"none"}}),v.jsx(vo,{type:"Raw",className:Er.Icon,icon:"Search",tooltip:i["Search(Button)"],onClick:g,style:{opacity:+!n,visibility:+!n?"visible":"hidden",pointerEvents:n?"none":void 0,marginRight:4}})]})},Nk=r=>{const{subFilterSets:e,onChange:t,onClearClick:n,onSearchClick:i,isOpen:l,isTransitioning:u,onTransitionEnd:h,resources:g,errorMessages:m}=r;return!l&&!u?null:v.jsxs("div",{className:Er.SubFilters,onTransitionEnd:h,style:{opacity:+l,visibility:+l?"visible":"hidden"},children:[e.map((M,T)=>{var C,_,S,D;if(M.filter.type==="String"){const A=[M.filter.value??"",q=>t(M.filter,q,T)],b=m[T],{placeholder:k=(C=M.def)==null?void 0:C.name,icon:O,iconTooltip:H=k}=M.filter;return v.jsxs(si,{style:{marginBottom:6},children:[v.jsx(ma,{tooltip:H,icon:O??"Type"}),v.jsx(Jl,{className:qe.clsx(Er.Input,Er.Sub),wrapProps:{style:{width:"100%"}},useValue:A,placeholder:k??g["Search(Placeholder)"],type:b?"Error":"Secondary",RightAddon:b&&v.jsx(vo,{type:"Raw",className:Er.CircleAlertOutline,icon:"CircleAlertOutline",tooltip:b}),autoFocus:M.filter.autoFocus,maxLength:M.filter.maxLength}),v.jsx(mn,{h:8})]},T)}else if(M.filter.type==="Select"){const A=[M.filter.value??null,H=>t(M.filter,H)],{placeholder:b=(_=M.def)==null?void 0:_.name,icon:k,iconTooltip:O=b}=M.filter;return v.jsxs(si,{style:{marginBottom:6},children:[v.jsx(ma,{tooltip:O,icon:k??"Menu"}),v.jsx(Wc,{className:qe.clsx(Er.Input,Er.Sub),options:M.filter.options,placeholder:b,OptionRenderer:M.filter.OptionRenderer,useSelect:A,arrowProps:{style:{marginRight:4}},type:"Secondary"}),v.jsx(mn,{h:8})]},T)}else if(M.filter.type==="Date"){const A=[M.filter.value,H=>t(M.filter,H)],{placeholder:b=(S=M.def)==null?void 0:S.name,icon:k,iconTooltip:O=b}=M.filter;return v.jsxs(si,{style:{marginBottom:6},children:[v.jsx(ma,{tooltip:O,icon:k??"CalendarDay"}),v.jsx(dm,{type:"Raw",LeftAddon:v.jsx(mn,{w:12}),placeholder:b,className:qe.clsx(Er.DatePicker,Er.Input,Er.Sub),useDate:A,minDate:M.filter.minDate,maxDate:M.filter.maxDate}),v.jsx(mn,{h:8})]},T)}else if(M.filter.type==="DateRange"){const A=[M.filter.value,H=>t(M.filter,H)],{placeholder:b=(D=M.def)==null?void 0:D.name,icon:k,iconTooltip:O=b}=M.filter;return v.jsxs(si,{style:{marginBottom:6},children:[v.jsx(ma,{tooltip:O,icon:k??"CalendarDay"}),v.jsx(um,{type:"Raw",LeftAddon:v.jsx(mn,{w:12}),className:qe.clsx(Er.DatePicker,Er.Input,Er.Sub),useDateRange:A,placeholder:b,minDate:M.filter.minDate,maxDate:M.filter.maxDate})]},T)}else return null}),v.jsxs(si,{className:Er.Actions,children:[v.jsx(Bi,{type:"Secondary",onClick:n,children:g["Clear(Button)"]}),v.jsx(Bi,{onClick:i,children:g["Search(Button)"]})]})]})},ma=r=>{const{icon:e,tooltip:t,isOpen:n=!0}=r;return v.jsx(vo,{type:"Raw",className:Er.LeftIcon,tooltip:t,icon:e,style:{width:n?24:0,marginRight:n?4:0,opacity:+n}})},jk="_ATableHeader_1hzfz_1",Fk="_LeftHeaderContent_1hzfz_11",Bk="_RightHeaderContent_1hzfz_19",qk="_TopRightAddon_1hzfz_27",Hk="_HItem_1hzfz_32",qc={ATableHeader:jk,LeftHeaderContent:Fk,RightHeaderContent:Bk,TopRightAddon:qk,HItem:Hk},zk=r=>{const{defs:e,title:t,totalCount:n,useCheck:i,useFilteration:l,hasToggleFilteration:u,filterF:h,noFilter:g,noCount:m,isFiltered:M,TopLeftAddon:T,TopRightAddon:C,useSortation:_,resources:S=hn.ATable}=r,[D]=I.useMemo(()=>i||[],[i]),A=I.useMemo(()=>M?S["Searched n items"](n):S["Total n items"](n),[S,M,n]),[b]=l,[k,O]=_,[H,q]=I.useState(!1),G=I.useMemo(()=>{const ie=Xt.values(b).filter(ae=>ae.type==="DateRange"),ce=Xt.keys(b).filter(ae=>ie.includes(b[ae])),me=Xt.keys(e).filter(ae=>e[ae].isSortable);return ce.length>0?(ce.length>1&&q(!0),me.map(be=>ce.includes(be)?[be+"_Asc",be+"_Desc"]:be).flat()):me},[e,b]),Y=I.useMemo(()=>r.isRowRendered&&G.length>0,[G.length,r.isRowRendered]),ue=I.useCallback((ie,ce)=>{O&&(k==null?void 0:k.defKey)===ie&&(k.isAsc===!0?O({defKey:ie,isAsc:!1,sortF:ce}):O({defKey:ie,isAsc:!0,sortF:ce}))},[k,O]),ee=I.useRef(),[fe,N]=I.useState(),[re,K]=I.useState(k?k.defKey:G[0]),ne=I.useMemo(()=>{if(!fe)return{};const ie=e[fe];return{SortUp:{onClick:()=>{O==null||O({defKey:fe,isAsc:!0,sortF:ie.sortF}),K(fe)},content:()=>S["Sort up"]},SortDown:{onClick:()=>{O==null||O({defKey:fe,isAsc:!1,sortF:ie.sortF}),K(fe)},content:()=>S["Sort down"]}}},[O,fe,e,S]);return v.jsxs(v.Fragment,{children:[v.jsxs("div",{className:qe.clsx(qc.ATableHeader),children:[v.jsxs("div",{className:qe.clsx(qc.LeftHeaderContent,"NoSelect"),children:[v.jsxs(si,{style:{marginBottom:Y?8:0},children:[T&&v.jsx("div",{className:qe.clsx(qc.HItem),children:T}),t&&v.jsx("div",{className:qe.clsx(qc.HItem),style:{whiteSpace:"nowrap"},children:t}),!m&&v.jsxs("div",{className:qe.clsx(qc.HItem),style:{maxHeight:14,...Y&&{minHeight:14,color:"var(--label-neutral)"}},children:[A,D&&D.length>0&&v.jsxs(v.Fragment,{children:[" / ",S["Checked n items"](D.length)]})]})]}),Y&&v.jsx(j2,{type:"Tertiary",options:G,useSelect:[re,()=>{}],optionWidth:"fit-content",tabProps:{style:{marginRight:8}},optionProps:{style:{cursor:"default"},onClick:ie=>{var ae;const ce=ie.currentTarget.textContent;if(ce===S[ce])return;ie.currentTarget.querySelector("svg")===null&&((ae=ee.current)==null||ae.open(ie.currentTarget))}},OptionRenderer:ie=>{const ce=/_Asc|_Desc/.test(ie.option),me=(k==null?void 0:k.defKey)===ie.option,ae=re===ie.option,be=k==null?void 0:k.isAsc,ge=()=>{if(ce){N(void 0),K(ie.option);const[Pe,We]=ie.option.split("_"),Te=We==="Asc";O==null||O({defKey:Pe,isAsc:Te,sortF:e[Pe].sortF})}else ae?ue(ie.option,e[ie.option].sortF):N(ie.option)},Le=ce?(Pe=>{const[We,Te]=Pe.split("_");return(H?We+" ":"")+S[Te]})(ie.option):S["Sort by x"](ie.option);return v.jsxs(si,{style:{height:"100%"},className:qe.clsx(!(ce&&ae)&&"IsClickable"),onClick:ge,children:[Le,ae&&!ce&&v.jsx(Br,{style:{marginRight:-5,marginLeft:4},icon:me?be?"RowSortUp":"RowSortDown":"RowSortBoth"})]},ie.option)}})]}),v.jsx(Yc,{}),v.jsxs("div",{className:qe.clsx(qc.RightHeaderContent,"NoSelect"),children:[!g&&v.jsx(Ok,{defs:e,useFilteration:l,hasToggleFilteration:u,filterF:h,isRowRendered:r.isRowRendered,isFilterSort:G.length>0,resources:S}),C&&v.jsx(si,{className:qe.clsx(qc.TopRightAddon),children:C})]})]}),v.jsx(O2,{defs:ne,actionRef:ee,onClose:()=>N(void 0),width:100,position:Ku.S})]})},$k=r=>{const{defs:e,pk:t,defaultDef:n,rProps:i,useSelect:l,isSelectMulti:u,selectDisabled:h,useCheck:g,checkDisabled:m,isLoading:M,isDisabled:T,title:C,entireItems:_,onStateChange:S,pagedItems:D,totalCount:A,useFilteration:b,useToggleFilteration:k,usePagination:O,useSortation:H,showRows:q,noHeader:G,noFooter:Y,noFilter:ue,noCount:ee,noMarking:fe,noStateChangeOnMount:N,TopLeftAddon:re,TopRightAddon:K,actionRef:ne,RowRenderer:ie,resources:ce}=r,me=I.useMemo(()=>({...hn.ATable,...ce}),[ce]),ae=I.useCallback((Qe,Nt)=>t!==void 0?Array.isArray(t)?t.every(Q=>el.isEqual(Qe[Q],Nt[Q])):el.isEqual(Qe[t],Nt[t]):el.isEqual(Qe,Nt),[t]),be=I.useMemo(()=>({content:Uk,...n}),[n]),ge=I.useMemo(()=>{const Qe={};return Xt.keys(e).forEach(Nt=>{const Q=e[Nt],He={...be,...Q};Qe[Nt]=He}),Qe},[be,e]),[xe,Le]=pn(el.cloneDeep(b),{"":{type:"String",placeholder:me["Search(Placeholder)"],value:""}}),[Pe,We]=pn(el.cloneDeep(k),void 0),[Te,ot]=I.useState(!1),[pt,Ke]=I.useMemo(()=>Te&&Pe?[Pe,We]:[xe,Le],[xe,Te,Le,We,Pe]),[Ye,Oe]=I.useState(pt),ke=I.useMemo(()=>_?Ja.applyFilteration(_,ge,Ye):[],[_,ge,Ye]),Ee=I.useMemo(()=>{for(const Qe in Ye){const Nt=Ye[Qe];if(Nt.value!==void 0&&Nt.value!==null&&Nt.value!=="")return!0}return!1},[Ye]),[Ne,Re]=pn(H,void 0),Je=I.useMemo(()=>Ja.applySortation(ke,ge,Ne),[ke,ge,Ne]),ft=I.useMemo(()=>{if(D!==void 0)return Ja.applySortation(D,ge,Ne)},[D,ge,Ne]),[xt,St]=pn(O,{page:1,pageSize:50,pageRange:10}),mt=I.useMemo(()=>({pageSize:50,page:1,pageRange:10,...xt}),[xt]),{pagedItems:It,totalCount:Ct,pagination:ct}=I.useMemo(()=>{const Qe={...mt};if(ft!==void 0){let Nt=A??ft.length;const Q=Ja.getPages(Nt,Qe.pageSize);return Qe.page>Q.length?Qe.page=Q.length:Qe.page<1&&(Qe.page=1),{pagedItems:ft,totalCount:Nt,pagination:Qe}}else if(_!==void 0){const Nt=A??Je.length,Q=Ja.getPages(Nt,Qe.pageSize);return Qe.page>Q.length?Qe.page=Q.length:Qe.page<1&&(Qe.page=1),{pagedItems:Ja.applyPagination(Je,Qe.page,Qe.pageSize),totalCount:Nt,pagination:Qe}}else return{pagedItems:[],totalCount:A??0,pagination:mt}},[_,ft,A,mt,Je]),{pages:ut,rangedPages:et}=I.useMemo(()=>Ja.getRangedPages(ct.page,Ct,ct.pageSize,ct.pageRange),[Ct,ct.pageSize,ct.page,ct.pageRange]),[Se,Ze]=I.useMemo(()=>g??[],[g]),at=I.useMemo(()=>It.filter(Qe=>Se==null?void 0:Se.some(Nt=>ae(Nt,Qe))),[It,Se,ae]),gt=I.useMemo(()=>It.filter(Qe=>!(m!=null&&m(Qe))),[It,m]),Tt=I.useMemo(()=>gt.length>0&>.every(Qe=>at.some(Nt=>ae(Nt,Qe))),[at,gt,ae]),je=I.useMemo(()=>Tt?!1:gt.some(Qe=>at.some(Nt=>ae(Nt,Qe))),[at,gt,Tt,ae]),_t=I.useCallback(()=>{!Se||!Ze||T||Ze(Tt||je?Se.filter(Qe=>!gt.some(Nt=>ae(Nt,Qe))):[...Se,...gt])},[Se,Ze,Tt,je,gt,T,ae]),Mt=I.useCallback(Qe=>{!Se||!Ze||T||(Se.some(Nt=>ae(Nt,Qe))?Ze(Se.filter(Nt=>!ae(Nt,Qe))):Ze([...Se,Qe]))},[Se,Ze,T,ae]);I.useEffect(()=>{if(!Ze||!Se||!m)return;Se.filter(Nt=>m(Nt)).length>0&&Ze(Se.filter(Nt=>!m(Nt)))},[m,Se,Ze]);const vr=I.useMemo(()=>({hContent:Se&&v.jsx(Uu,{useCheck:[Tt,_t],isIndeterminate:je}),content:Qe=>{const{item:Nt}=Qe,Q=m==null?void 0:m(Nt),He=typeof Q=="string"?Q:void 0,ht=Se==null?void 0:Se.some(Ot=>ae(Ot,Nt));return v.jsx(Uu,{style:{zIndex:1},isDisabled:Q,tooltip:He,onClick:Ot=>Ot.stopPropagation(),useCheck:[ht,()=>Mt(Nt)]})},minWidth:32,maxWidth:32}),[Se,Tt,je,ae,_t,m,Mt]),nr=I.useMemo(()=>g?{checkDef:vr,...ge}:ge,[ge,vr,g]),[Zt,he]=I.useState(!1),te=I.useMemo(()=>M??Zt,[M,Zt]),Fe=I.useCallback(async Qe=>{S&&(he(!0),await S(Qe),he(!1)),St==null||St(Qe.pagination),Re==null||Re(Qe.sortation),Oe(Qe.filteration)},[S,St,Re]);I.useEffect(()=>{if(!ne)return;const Qe=Q=>{const He={entireItems:_,filteration:pt,pagination:ct,sortation:Ne},ht=Q?Q(He):He;Fe(ht)},Nt=Q=>{const He={...ct,page:1},ht=Q?Q(pt):pt;Fe({entireItems:_,filteration:ht,pagination:He,sortation:Ne}),Ke==null||Ke(ht)};ne.current={fireOnStateChange:Qe,applyFilteration:Nt}},[ne,Fe,_,Ke,pt,ct,Ne]);const Xe=I.useCallback(Qe=>{Qe.page===ct.page&&Qe.pageSize===ct.pageSize||(Qe.page<1?Qe.page=1:Qe.page>ut[ut.length-1]&&(Qe.page=ut[ut.length-1]),Fe({entireItems:_,filteration:Ye,pagination:Qe,sortation:Ne}))},[ct,ut,Fe,_,Ye,Ne]),Lt=I.useCallback(Qe=>{Ke&&Ke(Qe)},[Ke]),vt=I.useCallback(Qe=>{Fe({entireItems:_,filteration:Ye,pagination:ct,sortation:Qe})},[Fe,_,Ye,ct]),wt=I.useCallback(Qe=>{Xe({...ct,page:Qe})},[Xe,ct]),Gt=I.useCallback(()=>{wt(ct.page-1)},[wt,ct.page]),Ft=I.useCallback(()=>{wt(ct.page+1)},[wt,ct.page]),sr=I.useCallback(()=>{wt(1)},[wt]),dr=I.useCallback(()=>{wt(ut[ut.length-1])},[wt,ut]),Rr=I.useMemo(()=>({move:wt,movePrev:Gt,moveNext:Ft,moveFirst:sr,moveLast:dr}),[wt,Gt,Ft,sr,dr]),ur=I.useCallback(()=>{const Qe={...ct,page:1};Fe({entireItems:_,filteration:pt,pagination:Qe,sortation:Ne})},[pt,ct,Fe,_,Ne]),xr=I.useCallback(()=>{ot(!Te)},[Te]),Wr=I.useCallback(()=>{Te&&Pe?We==null||We(Jv(Pe)):Ke==null||Ke(Jv(xe))},[Te,Pe,We,xe,Ke]),st=I.useMemo(()=>({apply:ur,toggle:xr,clear:Wr}),[ur,xr,Wr]);F2(()=>{N||Fe({entireItems:_,filteration:pt,pagination:ct,sortation:Ne})});const Rt=I.useMemo(()=>Xt.map(ge,([Nt])=>ge[Nt].minWidth??Gl).reduce((Nt,Q)=>Nt+Q,0),[ge]),bt=I.useMemo(()=>ie!==void 0,[ie]);return v.jsxs(Ur,{className:V8.ATable,isDisabled:T,style:{minWidth:Rt},children:[!G&&v.jsx(zk,{defs:ge,title:C,totalCount:Ct,useCheck:g&&Se?[Se,Ze]:void 0,useFilteration:[pt,Lt],useSortation:[Ne,vt],isRowRendered:bt,hasToggleFilteration:Pe!==void 0,filterF:st,noFilter:ue,noCount:ee,isFiltered:Ee,TopLeftAddon:re,TopRightAddon:K,resources:me}),v.jsx(dk,{defs:nr,isEqual:ae,rProps:i,useSelect:l,isSelectMulti:u,selectDisabled:h,isTableDisabled:T,appliedFilteration:Ye,useSortation:[Ne,vt],pagination:ct,pagedItems:It,showRows:q,isLoading:te,noMarking:fe,resources:me,RowRenderer:ie,isRowRendered:bt}),!Y&&v.jsx(_k,{pages:ut,rangedPages:et,pageF:Rr,pagination:ct})]})},Uk=r=>{const{defKey:e,item:t}=r;if(Xt.hasKey(t,e)){const n=t[e];return Xt.isReactNode(n)?n:null}else return null};function Jv(r){const e={...r};for(const t in e)e[t].value=void 0;return e}const Wk="_AText_1asz6_1",Vk={AText:Wk},z2=r=>{const{text:e,styled:t,style:n}=r,i=I.useMemo(()=>{if(e)if(t)if(n){if(t===!0)return n==="bold"?v.jsx("b",{children:e}):v.jsx("span",{style:n,children:e});if(typeof t=="string"){const l=e.split(t);return n==="bold"?l.map((u,h)=>v.jsxs(I.Fragment,{children:[Ad(u),h<l.length-1?v.jsx("b",{children:Ad(t)}):""]},h)):l.map((u,h)=>v.jsxs(I.Fragment,{children:[Ad(u),h<l.length-1&&v.jsx("span",{style:n,children:Ad(t)})]},h))}}else return e;else return e;else return""},[e,n,t]);return v.jsx("div",{className:qe.clsx("Body1Reading",Vk.AText,"NoSelect"),children:i})};function Ad(r){const e=r.split(`
|
54
|
-
`);return e.map((t,n)=>v.jsxs(I.Fragment,{children:[t,n!==e.length-1&&v.jsx("br",{})]},n))}const Gk="_Base_1g8so_9",Zk="_ATextArea_1g8so_13",Yk="_Primary_1g8so_36",Kk="_UnAvailable_1g8so_41",Xk="_Secondary_1g8so_49",Jk="_ReadOnly_1g8so_61",Td={Base:Gk,ATextArea:Zk,Primary:Yk,UnAvailable:Kk,Secondary:Xk,ReadOnly:Jk,Error:"_Error_1g8so_68"},Qk=["Primary","Secondary","ReadOnly","Error"],eR=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",textAreaRef:i,useValue:l,rows:u,isReadonly:h,placeholder:g,maxLength:m,tabIndex:M,autoFocus:T,textAreaProps:C,wrapProps:_,helperText:S,label:D,wrapType:A,labelProps:b,...k}=r,O=I.useMemo(()=>tR(t)?"Error":n,[t,n]),H=I.useMemo(()=>O==="ReadOnly"?!0:h,[O,h]),q=I.useMemo(()=>k.isDisabled||k.isLoading,[k.isDisabled,k.isLoading]),[G,Y]=pn(l,""),ue=I.useCallback(N=>{Y&&Y(N)},[Y]),ee=I.useCallback(N=>{var re;q||(ue(N.target.value),(re=C==null?void 0:C.onChange)==null||re.call(C,N))},[q,ue,C]),fe=I.useCallback(N=>{var re;if(!q){if((re=C==null?void 0:C.onKeyDown)==null||re.call(C,N),N.key==="Tab"){const K=N.currentTarget.selectionStart,ne=N.currentTarget.selectionEnd;N.currentTarget.value=N.currentTarget.value.substring(0,K)+" "+N.currentTarget.value.substring(ne),N.currentTarget.selectionStart=N.currentTarget.selectionEnd=K+1,N.preventDefault()}else N.key==="Enter"&&(e==null||e(N.currentTarget.value),N.stopPropagation());N.key!=="Escape"&&N.stopPropagation()}},[q,e,C]);return v.jsx(Uc,{wrapProps:_,label:D,helperText:S,errorMessage:t,labelProps:b,wrapType:A??O==="Error"?"Error":"Default",children:v.jsx(Ur,{...k,className:qe.clsx(Td.Base,k.className),children:v.jsx("textarea",{...C,className:qe.clsx(Td.ATextArea,Td[O],q&&Td.UnAvailable,C==null?void 0:C.className),value:G,rows:u,readOnly:H,onChange:ee,onKeyDown:fe,placeholder:g,maxLength:m,tabIndex:k.isDisabled||k.isLoading?-1:M,autoFocus:T,ref:i})})})};function tR(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}var $2=typeof global=="object"&&global&&global.Object===Object&&global,rR=typeof self=="object"&&self&&self.Object===Object&&self,Sa=$2||rR||Function("return this")(),Ql=Sa.Symbol,U2=Object.prototype,nR=U2.hasOwnProperty,iR=U2.toString,kf=Ql?Ql.toStringTag:void 0;function oR(r){var e=nR.call(r,kf),t=r[kf];try{r[kf]=void 0;var n=!0}catch{}var i=iR.call(r);return n&&(e?r[kf]=t:delete r[kf]),i}var sR=Object.prototype,aR=sR.toString;function lR(r){return aR.call(r)}var cR="[object Null]",uR="[object Undefined]",Qv=Ql?Ql.toStringTag:void 0;function Xu(r){return r==null?r===void 0?uR:cR:Qv&&Qv in Object(r)?oR(r):lR(r)}function tl(r){return r!=null&&typeof r=="object"}var Vc=Array.isArray;function ec(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}function W2(r){return r}var fR="[object AsyncFunction]",dR="[object Function]",hR="[object GeneratorFunction]",pR="[object Proxy]";function pm(r){if(!ec(r))return!1;var e=Xu(r);return e==dR||e==hR||e==fR||e==pR}var Yh=Sa["__core-js_shared__"],e0=function(){var r=/[^.]+$/.exec(Yh&&Yh.keys&&Yh.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function gR(r){return!!e0&&e0 in r}var mR=Function.prototype,vR=mR.toString;function Kc(r){if(r!=null){try{return vR.call(r)}catch{}try{return r+""}catch{}}return""}var yR=/[\\^$.*+?()[\]{}|]/g,bR=/^\[object .+?Constructor\]$/,_R=Function.prototype,xR=Object.prototype,SR=_R.toString,CR=xR.hasOwnProperty,wR=RegExp("^"+SR.call(CR).replace(yR,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function AR(r){if(!ec(r)||gR(r))return!1;var e=pm(r)?wR:bR;return e.test(Kc(r))}function TR(r,e){return r==null?void 0:r[e]}function Xc(r,e){var t=TR(r,e);return AR(t)?t:void 0}var O1=Xc(Sa,"WeakMap"),t0=Object.create,ER=function(){function r(){}return function(e){if(!ec(e))return{};if(t0)return t0(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}}();function kR(r,e,t){switch(t.length){case 0:return r.call(e);case 1:return r.call(e,t[0]);case 2:return r.call(e,t[0],t[1]);case 3:return r.call(e,t[0],t[1],t[2])}return r.apply(e,t)}function V2(r,e){var t=-1,n=r.length;for(e||(e=Array(n));++t<n;)e[t]=r[t];return e}var RR=800,IR=16,LR=Date.now;function MR(r){var e=0,t=0;return function(){var n=LR(),i=IR-(n-t);if(t=n,i>0){if(++e>=RR)return arguments[0]}else e=0;return r.apply(void 0,arguments)}}function DR(r){return function(){return r}}var Kd=function(){try{var r=Xc(Object,"defineProperty");return r({},"",{}),r}catch{}}(),OR=Kd?function(r,e){return Kd(r,"toString",{configurable:!0,enumerable:!1,value:DR(e),writable:!0})}:W2,PR=MR(OR);function NR(r,e){for(var t=-1,n=r==null?0:r.length;++t<n&&e(r[t],t,r)!==!1;);return r}var jR=9007199254740991,FR=/^(?:0|[1-9]\d*)$/;function G2(r,e){var t=typeof r;return e=e??jR,!!e&&(t=="number"||t!="symbol"&&FR.test(r))&&r>-1&&r%1==0&&r<e}function gm(r,e,t){e=="__proto__"&&Kd?Kd(r,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):r[e]=t}function Qf(r,e){return r===e||r!==r&&e!==e}var BR=Object.prototype,qR=BR.hasOwnProperty;function Z2(r,e,t){var n=r[e];(!(qR.call(r,e)&&Qf(n,t))||t===void 0&&!(e in r))&&gm(r,e,t)}function ed(r,e,t,n){var i=!t;t||(t={});for(var l=-1,u=e.length;++l<u;){var h=e[l],g=void 0;g===void 0&&(g=r[h]),i?gm(t,h,g):Z2(t,h,g)}return t}var r0=Math.max;function HR(r,e,t){return e=r0(e===void 0?r.length-1:e,0),function(){for(var n=arguments,i=-1,l=r0(n.length-e,0),u=Array(l);++i<l;)u[i]=n[e+i];i=-1;for(var h=Array(e+1);++i<e;)h[i]=n[i];return h[e]=t(u),kR(r,this,h)}}function zR(r,e){return PR(HR(r,e,W2),r+"")}var $R=9007199254740991;function Y2(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=$R}function oh(r){return r!=null&&Y2(r.length)&&!pm(r)}function UR(r,e,t){if(!ec(t))return!1;var n=typeof e;return(n=="number"?oh(t)&&G2(e,t.length):n=="string"&&e in t)?Qf(t[e],r):!1}function WR(r){return zR(function(e,t){var n=-1,i=t.length,l=i>1?t[i-1]:void 0,u=i>2?t[2]:void 0;for(l=r.length>3&&typeof l=="function"?(i--,l):void 0,u&&UR(t[0],t[1],u)&&(l=i<3?void 0:l,i=1),e=Object(e);++n<i;){var h=t[n];h&&r(e,h,n,l)}return e})}var VR=Object.prototype;function mm(r){var e=r&&r.constructor,t=typeof e=="function"&&e.prototype||VR;return r===t}function GR(r,e){for(var t=-1,n=Array(r);++t<r;)n[t]=e(t);return n}var ZR="[object Arguments]";function n0(r){return tl(r)&&Xu(r)==ZR}var K2=Object.prototype,YR=K2.hasOwnProperty,KR=K2.propertyIsEnumerable,P1=n0(function(){return arguments}())?n0:function(r){return tl(r)&&YR.call(r,"callee")&&!KR.call(r,"callee")};function XR(){return!1}var X2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,i0=X2&&typeof module=="object"&&module&&!module.nodeType&&module,JR=i0&&i0.exports===X2,o0=JR?Sa.Buffer:void 0,QR=o0?o0.isBuffer:void 0,Vf=QR||XR,e9="[object Arguments]",t9="[object Array]",r9="[object Boolean]",n9="[object Date]",i9="[object Error]",o9="[object Function]",s9="[object Map]",a9="[object Number]",l9="[object Object]",c9="[object RegExp]",u9="[object Set]",f9="[object String]",d9="[object WeakMap]",h9="[object ArrayBuffer]",p9="[object DataView]",g9="[object Float32Array]",m9="[object Float64Array]",v9="[object Int8Array]",y9="[object Int16Array]",b9="[object Int32Array]",_9="[object Uint8Array]",x9="[object Uint8ClampedArray]",S9="[object Uint16Array]",C9="[object Uint32Array]",xn={};xn[g9]=xn[m9]=xn[v9]=xn[y9]=xn[b9]=xn[_9]=xn[x9]=xn[S9]=xn[C9]=!0;xn[e9]=xn[t9]=xn[h9]=xn[r9]=xn[p9]=xn[n9]=xn[i9]=xn[o9]=xn[s9]=xn[a9]=xn[l9]=xn[c9]=xn[u9]=xn[f9]=xn[d9]=!1;function w9(r){return tl(r)&&Y2(r.length)&&!!xn[Xu(r)]}function vm(r){return function(e){return r(e)}}var J2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Bf=J2&&typeof module=="object"&&module&&!module.nodeType&&module,A9=Bf&&Bf.exports===J2,Kh=A9&&$2.process,Wu=function(){try{var r=Bf&&Bf.require&&Bf.require("util").types;return r||Kh&&Kh.binding&&Kh.binding("util")}catch{}}(),s0=Wu&&Wu.isTypedArray,ym=s0?vm(s0):w9,T9=Object.prototype,E9=T9.hasOwnProperty;function Q2(r,e){var t=Vc(r),n=!t&&P1(r),i=!t&&!n&&Vf(r),l=!t&&!n&&!i&&ym(r),u=t||n||i||l,h=u?GR(r.length,String):[],g=h.length;for(var m in r)(e||E9.call(r,m))&&!(u&&(m=="length"||i&&(m=="offset"||m=="parent")||l&&(m=="buffer"||m=="byteLength"||m=="byteOffset")||G2(m,g)))&&h.push(m);return h}function ex(r,e){return function(t){return r(e(t))}}var k9=ex(Object.keys,Object),R9=Object.prototype,I9=R9.hasOwnProperty;function L9(r){if(!mm(r))return k9(r);var e=[];for(var t in Object(r))I9.call(r,t)&&t!="constructor"&&e.push(t);return e}function bm(r){return oh(r)?Q2(r):L9(r)}function M9(r){var e=[];if(r!=null)for(var t in Object(r))e.push(t);return e}var D9=Object.prototype,O9=D9.hasOwnProperty;function P9(r){if(!ec(r))return M9(r);var e=mm(r),t=[];for(var n in r)n=="constructor"&&(e||!O9.call(r,n))||t.push(n);return t}function td(r){return oh(r)?Q2(r,!0):P9(r)}var Gf=Xc(Object,"create");function N9(){this.__data__=Gf?Gf(null):{},this.size=0}function j9(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}var F9="__lodash_hash_undefined__",B9=Object.prototype,q9=B9.hasOwnProperty;function H9(r){var e=this.__data__;if(Gf){var t=e[r];return t===F9?void 0:t}return q9.call(e,r)?e[r]:void 0}var z9=Object.prototype,$9=z9.hasOwnProperty;function U9(r){var e=this.__data__;return Gf?e[r]!==void 0:$9.call(e,r)}var W9="__lodash_hash_undefined__";function V9(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=Gf&&e===void 0?W9:e,this}function Gc(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}Gc.prototype.clear=N9;Gc.prototype.delete=j9;Gc.prototype.get=H9;Gc.prototype.has=U9;Gc.prototype.set=V9;function G9(){this.__data__=[],this.size=0}function sh(r,e){for(var t=r.length;t--;)if(Qf(r[t][0],e))return t;return-1}var Z9=Array.prototype,Y9=Z9.splice;function K9(r){var e=this.__data__,t=sh(e,r);if(t<0)return!1;var n=e.length-1;return t==n?e.pop():Y9.call(e,t,1),--this.size,!0}function X9(r){var e=this.__data__,t=sh(e,r);return t<0?void 0:e[t][1]}function J9(r){return sh(this.__data__,r)>-1}function Q9(r,e){var t=this.__data__,n=sh(t,r);return n<0?(++this.size,t.push([r,e])):t[n][1]=e,this}function ol(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}ol.prototype.clear=G9;ol.prototype.delete=K9;ol.prototype.get=X9;ol.prototype.has=J9;ol.prototype.set=Q9;var Zf=Xc(Sa,"Map");function e7(){this.size=0,this.__data__={hash:new Gc,map:new(Zf||ol),string:new Gc}}function t7(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}function ah(r,e){var t=r.__data__;return t7(e)?t[typeof e=="string"?"string":"hash"]:t.map}function r7(r){var e=ah(this,r).delete(r);return this.size-=e?1:0,e}function n7(r){return ah(this,r).get(r)}function i7(r){return ah(this,r).has(r)}function o7(r,e){var t=ah(this,r),n=t.size;return t.set(r,e),this.size+=t.size==n?0:1,this}function Jc(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}Jc.prototype.clear=e7;Jc.prototype.delete=r7;Jc.prototype.get=n7;Jc.prototype.has=i7;Jc.prototype.set=o7;function tx(r,e){for(var t=-1,n=e.length,i=r.length;++t<n;)r[i+t]=e[t];return r}var _m=ex(Object.getPrototypeOf,Object),s7="[object Object]",a7=Function.prototype,l7=Object.prototype,rx=a7.toString,c7=l7.hasOwnProperty,u7=rx.call(Object);function f7(r){if(!tl(r)||Xu(r)!=s7)return!1;var e=_m(r);if(e===null)return!0;var t=c7.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&rx.call(t)==u7}function d7(){this.__data__=new ol,this.size=0}function h7(r){var e=this.__data__,t=e.delete(r);return this.size=e.size,t}function p7(r){return this.__data__.get(r)}function g7(r){return this.__data__.has(r)}var m7=200;function v7(r,e){var t=this.__data__;if(t instanceof ol){var n=t.__data__;if(!Zf||n.length<m7-1)return n.push([r,e]),this.size=++t.size,this;t=this.__data__=new Jc(n)}return t.set(r,e),this.size=t.size,this}function ya(r){var e=this.__data__=new ol(r);this.size=e.size}ya.prototype.clear=d7;ya.prototype.delete=h7;ya.prototype.get=p7;ya.prototype.has=g7;ya.prototype.set=v7;function y7(r,e){return r&&ed(e,bm(e),r)}function b7(r,e){return r&&ed(e,td(e),r)}var nx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,a0=nx&&typeof module=="object"&&module&&!module.nodeType&&module,_7=a0&&a0.exports===nx,l0=_7?Sa.Buffer:void 0,c0=l0?l0.allocUnsafe:void 0;function ix(r,e){if(e)return r.slice();var t=r.length,n=c0?c0(t):new r.constructor(t);return r.copy(n),n}function x7(r,e){for(var t=-1,n=r==null?0:r.length,i=0,l=[];++t<n;){var u=r[t];e(u,t,r)&&(l[i++]=u)}return l}function ox(){return[]}var S7=Object.prototype,C7=S7.propertyIsEnumerable,u0=Object.getOwnPropertySymbols,xm=u0?function(r){return r==null?[]:(r=Object(r),x7(u0(r),function(e){return C7.call(r,e)}))}:ox;function w7(r,e){return ed(r,xm(r),e)}var A7=Object.getOwnPropertySymbols,sx=A7?function(r){for(var e=[];r;)tx(e,xm(r)),r=_m(r);return e}:ox;function T7(r,e){return ed(r,sx(r),e)}function ax(r,e,t){var n=e(r);return Vc(r)?n:tx(n,t(r))}function N1(r){return ax(r,bm,xm)}function E7(r){return ax(r,td,sx)}var j1=Xc(Sa,"DataView"),F1=Xc(Sa,"Promise"),B1=Xc(Sa,"Set"),f0="[object Map]",k7="[object Object]",d0="[object Promise]",h0="[object Set]",p0="[object WeakMap]",g0="[object DataView]",R7=Kc(j1),I7=Kc(Zf),L7=Kc(F1),M7=Kc(B1),D7=Kc(O1),Ps=Xu;(j1&&Ps(new j1(new ArrayBuffer(1)))!=g0||Zf&&Ps(new Zf)!=f0||F1&&Ps(F1.resolve())!=d0||B1&&Ps(new B1)!=h0||O1&&Ps(new O1)!=p0)&&(Ps=function(r){var e=Xu(r),t=e==k7?r.constructor:void 0,n=t?Kc(t):"";if(n)switch(n){case R7:return g0;case I7:return f0;case L7:return d0;case M7:return h0;case D7:return p0}return e});var O7=Object.prototype,P7=O7.hasOwnProperty;function N7(r){var e=r.length,t=new r.constructor(e);return e&&typeof r[0]=="string"&&P7.call(r,"index")&&(t.index=r.index,t.input=r.input),t}var Xd=Sa.Uint8Array;function Sm(r){var e=new r.constructor(r.byteLength);return new Xd(e).set(new Xd(r)),e}function j7(r,e){var t=e?Sm(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.byteLength)}var F7=/\w*$/;function B7(r){var e=new r.constructor(r.source,F7.exec(r));return e.lastIndex=r.lastIndex,e}var m0=Ql?Ql.prototype:void 0,v0=m0?m0.valueOf:void 0;function q7(r){return v0?Object(v0.call(r)):{}}function lx(r,e){var t=e?Sm(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}var H7="[object Boolean]",z7="[object Date]",$7="[object Map]",U7="[object Number]",W7="[object RegExp]",V7="[object Set]",G7="[object String]",Z7="[object Symbol]",Y7="[object ArrayBuffer]",K7="[object DataView]",X7="[object Float32Array]",J7="[object Float64Array]",Q7="[object Int8Array]",eI="[object Int16Array]",tI="[object Int32Array]",rI="[object Uint8Array]",nI="[object Uint8ClampedArray]",iI="[object Uint16Array]",oI="[object Uint32Array]";function sI(r,e,t){var n=r.constructor;switch(e){case Y7:return Sm(r);case H7:case z7:return new n(+r);case K7:return j7(r,t);case X7:case J7:case Q7:case eI:case tI:case rI:case nI:case iI:case oI:return lx(r,t);case $7:return new n;case U7:case G7:return new n(r);case W7:return B7(r);case V7:return new n;case Z7:return q7(r)}}function cx(r){return typeof r.constructor=="function"&&!mm(r)?ER(_m(r)):{}}var aI="[object Map]";function lI(r){return tl(r)&&Ps(r)==aI}var y0=Wu&&Wu.isMap,cI=y0?vm(y0):lI,uI="[object Set]";function fI(r){return tl(r)&&Ps(r)==uI}var b0=Wu&&Wu.isSet,dI=b0?vm(b0):fI,hI=1,pI=2,gI=4,ux="[object Arguments]",mI="[object Array]",vI="[object Boolean]",yI="[object Date]",bI="[object Error]",fx="[object Function]",_I="[object GeneratorFunction]",xI="[object Map]",SI="[object Number]",dx="[object Object]",CI="[object RegExp]",wI="[object Set]",AI="[object String]",TI="[object Symbol]",EI="[object WeakMap]",kI="[object ArrayBuffer]",RI="[object DataView]",II="[object Float32Array]",LI="[object Float64Array]",MI="[object Int8Array]",DI="[object Int16Array]",OI="[object Int32Array]",PI="[object Uint8Array]",NI="[object Uint8ClampedArray]",jI="[object Uint16Array]",FI="[object Uint32Array]",gn={};gn[ux]=gn[mI]=gn[kI]=gn[RI]=gn[vI]=gn[yI]=gn[II]=gn[LI]=gn[MI]=gn[DI]=gn[OI]=gn[xI]=gn[SI]=gn[dx]=gn[CI]=gn[wI]=gn[AI]=gn[TI]=gn[PI]=gn[NI]=gn[jI]=gn[FI]=!0;gn[bI]=gn[fx]=gn[EI]=!1;function Hd(r,e,t,n,i,l){var u,h=e&hI,g=e&pI,m=e&gI;if(u!==void 0)return u;if(!ec(r))return r;var M=Vc(r);if(M){if(u=N7(r),!h)return V2(r,u)}else{var T=Ps(r),C=T==fx||T==_I;if(Vf(r))return ix(r,h);if(T==dx||T==ux||C&&!i){if(u=g||C?{}:cx(r),!h)return g?T7(r,b7(u,r)):w7(r,y7(u,r))}else{if(!gn[T])return i?r:{};u=sI(r,T,h)}}l||(l=new ya);var _=l.get(r);if(_)return _;l.set(r,u),dI(r)?r.forEach(function(A){u.add(Hd(A,e,t,A,r,l))}):cI(r)&&r.forEach(function(A,b){u.set(b,Hd(A,e,t,b,r,l))});var S=m?g?E7:N1:g?td:bm,D=M?void 0:S(r);return NR(D||r,function(A,b){D&&(b=A,A=r[b]),Z2(u,b,Hd(A,e,t,b,r,l))}),u}var BI=1,qI=4;function qu(r){return Hd(r,BI|qI)}var HI="__lodash_hash_undefined__";function zI(r){return this.__data__.set(r,HI),this}function $I(r){return this.__data__.has(r)}function Jd(r){var e=-1,t=r==null?0:r.length;for(this.__data__=new Jc;++e<t;)this.add(r[e])}Jd.prototype.add=Jd.prototype.push=zI;Jd.prototype.has=$I;function UI(r,e){for(var t=-1,n=r==null?0:r.length;++t<n;)if(e(r[t],t,r))return!0;return!1}function WI(r,e){return r.has(e)}var VI=1,GI=2;function hx(r,e,t,n,i,l){var u=t&VI,h=r.length,g=e.length;if(h!=g&&!(u&&g>h))return!1;var m=l.get(r),M=l.get(e);if(m&&M)return m==e&&M==r;var T=-1,C=!0,_=t&GI?new Jd:void 0;for(l.set(r,e),l.set(e,r);++T<h;){var S=r[T],D=e[T];if(n)var A=u?n(D,S,T,e,r,l):n(S,D,T,r,e,l);if(A!==void 0){if(A)continue;C=!1;break}if(_){if(!UI(e,function(b,k){if(!WI(_,k)&&(S===b||i(S,b,t,n,l)))return _.push(k)})){C=!1;break}}else if(!(S===D||i(S,D,t,n,l))){C=!1;break}}return l.delete(r),l.delete(e),C}function ZI(r){var e=-1,t=Array(r.size);return r.forEach(function(n,i){t[++e]=[i,n]}),t}function YI(r){var e=-1,t=Array(r.size);return r.forEach(function(n){t[++e]=n}),t}var KI=1,XI=2,JI="[object Boolean]",QI="[object Date]",eL="[object Error]",tL="[object Map]",rL="[object Number]",nL="[object RegExp]",iL="[object Set]",oL="[object String]",sL="[object Symbol]",aL="[object ArrayBuffer]",lL="[object DataView]",_0=Ql?Ql.prototype:void 0,Xh=_0?_0.valueOf:void 0;function cL(r,e,t,n,i,l,u){switch(t){case lL:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset)return!1;r=r.buffer,e=e.buffer;case aL:return!(r.byteLength!=e.byteLength||!l(new Xd(r),new Xd(e)));case JI:case QI:case rL:return Qf(+r,+e);case eL:return r.name==e.name&&r.message==e.message;case nL:case oL:return r==e+"";case tL:var h=ZI;case iL:var g=n&KI;if(h||(h=YI),r.size!=e.size&&!g)return!1;var m=u.get(r);if(m)return m==e;n|=XI,u.set(r,e);var M=hx(h(r),h(e),n,i,l,u);return u.delete(r),M;case sL:if(Xh)return Xh.call(r)==Xh.call(e)}return!1}var uL=1,fL=Object.prototype,dL=fL.hasOwnProperty;function hL(r,e,t,n,i,l){var u=t&uL,h=N1(r),g=h.length,m=N1(e),M=m.length;if(g!=M&&!u)return!1;for(var T=g;T--;){var C=h[T];if(!(u?C in e:dL.call(e,C)))return!1}var _=l.get(r),S=l.get(e);if(_&&S)return _==e&&S==r;var D=!0;l.set(r,e),l.set(e,r);for(var A=u;++T<g;){C=h[T];var b=r[C],k=e[C];if(n)var O=u?n(k,b,C,e,r,l):n(b,k,C,r,e,l);if(!(O===void 0?b===k||i(b,k,t,n,l):O)){D=!1;break}A||(A=C=="constructor")}if(D&&!A){var H=r.constructor,q=e.constructor;H!=q&&"constructor"in r&&"constructor"in e&&!(typeof H=="function"&&H instanceof H&&typeof q=="function"&&q instanceof q)&&(D=!1)}return l.delete(r),l.delete(e),D}var pL=1,x0="[object Arguments]",S0="[object Array]",Ed="[object Object]",gL=Object.prototype,C0=gL.hasOwnProperty;function mL(r,e,t,n,i,l){var u=Vc(r),h=Vc(e),g=u?S0:Ps(r),m=h?S0:Ps(e);g=g==x0?Ed:g,m=m==x0?Ed:m;var M=g==Ed,T=m==Ed,C=g==m;if(C&&Vf(r)){if(!Vf(e))return!1;u=!0,M=!1}if(C&&!M)return l||(l=new ya),u||ym(r)?hx(r,e,t,n,i,l):cL(r,e,g,t,n,i,l);if(!(t&pL)){var _=M&&C0.call(r,"__wrapped__"),S=T&&C0.call(e,"__wrapped__");if(_||S){var D=_?r.value():r,A=S?e.value():e;return l||(l=new ya),i(D,A,t,n,l)}}return C?(l||(l=new ya),hL(r,e,t,n,i,l)):!1}function px(r,e,t,n,i){return r===e?!0:r==null||e==null||!tl(r)&&!tl(e)?r!==r&&e!==e:mL(r,e,t,n,px,i)}function vL(r){return function(e,t,n){for(var i=-1,l=Object(e),u=n(e),h=u.length;h--;){var g=u[++i];if(t(l[g],g,l)===!1)break}return e}}var yL=vL();function q1(r,e,t){(t!==void 0&&!Qf(r[e],t)||t===void 0&&!(e in r))&&gm(r,e,t)}function bL(r){return tl(r)&&oh(r)}function H1(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}function _L(r){return ed(r,td(r))}function xL(r,e,t,n,i,l,u){var h=H1(r,t),g=H1(e,t),m=u.get(g);if(m){q1(r,t,m);return}var M=l?l(h,g,t+"",r,e,u):void 0,T=M===void 0;if(T){var C=Vc(g),_=!C&&Vf(g),S=!C&&!_&&ym(g);M=g,C||_||S?Vc(h)?M=h:bL(h)?M=V2(h):_?(T=!1,M=ix(g,!0)):S?(T=!1,M=lx(g,!0)):M=[]:f7(g)||P1(g)?(M=h,P1(h)?M=_L(h):(!ec(h)||pm(h))&&(M=cx(g))):T=!1}T&&(u.set(g,M),i(M,g,n,l,u),u.delete(g)),q1(r,t,M)}function gx(r,e,t,n,i){r!==e&&yL(e,function(l,u){if(i||(i=new ya),ec(l))xL(r,e,u,t,gx,n,i);else{var h=n?n(H1(r,u),l,u+"",r,e,i):void 0;h===void 0&&(h=l),q1(r,u,h)}},td)}function Cm(r,e){return px(r,e)}var Kl=WR(function(r,e,t){gx(r,e,t)}),Vt=(r=>(r[r.TYPE=3]="TYPE",r[r.LEVEL=12]="LEVEL",r[r.ATTRIBUTE=13]="ATTRIBUTE",r[r.BLOT=14]="BLOT",r[r.INLINE=7]="INLINE",r[r.BLOCK=11]="BLOCK",r[r.BLOCK_BLOT=10]="BLOCK_BLOT",r[r.INLINE_BLOT=6]="INLINE_BLOT",r[r.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",r[r.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",r[r.ANY=15]="ANY",r))(Vt||{});class _a{constructor(e,t,n={}){this.attrName=e,this.keyName=t;const i=Vt.TYPE&Vt.ATTRIBUTE;this.scope=n.scope!=null?n.scope&Vt.LEVEL|i:Vt.ATTRIBUTE,n.whitelist!=null&&(this.whitelist=n.whitelist)}static keys(e){return Array.from(e.attributes).map(t=>t.name)}add(e,t){return this.canAdd(e,t)?(e.setAttribute(this.keyName,t),!0):!1}canAdd(e,t){return this.whitelist==null?!0:typeof t=="string"?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1}remove(e){e.removeAttribute(this.keyName)}value(e){const t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""}}class Hu extends Error{constructor(e){e="[Parchment] "+e,super(e),this.message=e,this.name=this.constructor.name}}const mx=class z1{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(e,t=!1){if(e==null)return null;if(this.blots.has(e))return this.blots.get(e)||null;if(t){let n=null;try{n=e.parentNode}catch{return null}return this.find(n,t)}return null}create(e,t,n){const i=this.query(t);if(i==null)throw new Hu(`Unable to create ${t} blot`);const l=i,u=t instanceof Node||t.nodeType===Node.TEXT_NODE?t:l.create(n),h=new l(e,u,n);return z1.blots.set(h.domNode,h),h}find(e,t=!1){return z1.find(e,t)}query(e,t=Vt.ANY){let n;return typeof e=="string"?n=this.types[e]||this.attributes[e]:e instanceof Text||e.nodeType===Node.TEXT_NODE?n=this.types.text:typeof e=="number"?e&Vt.LEVEL&Vt.BLOCK?n=this.types.block:e&Vt.LEVEL&Vt.INLINE&&(n=this.types.inline):e instanceof Element&&((e.getAttribute("class")||"").split(/\s+/).some(i=>(n=this.classes[i],!!n)),n=n||this.tags[e.tagName]),n==null?null:"scope"in n&&t&Vt.LEVEL&n.scope&&t&Vt.TYPE&n.scope?n:null}register(...e){return e.map(t=>{const n="blotName"in t,i="attrName"in t;if(!n&&!i)throw new Hu("Invalid definition");if(n&&t.blotName==="abstract")throw new Hu("Cannot register abstract class");const l=n?t.blotName:i?t.attrName:void 0;return this.types[l]=t,i?typeof t.keyName=="string"&&(this.attributes[t.keyName]=t):n&&(t.className&&(this.classes[t.className]=t),t.tagName&&(Array.isArray(t.tagName)?t.tagName=t.tagName.map(u=>u.toUpperCase()):t.tagName=t.tagName.toUpperCase(),(Array.isArray(t.tagName)?t.tagName:[t.tagName]).forEach(u=>{(this.tags[u]==null||t.className==null)&&(this.tags[u]=t)}))),t})}};mx.blots=new WeakMap;let Vu=mx;function w0(r,e){return(r.getAttribute("class")||"").split(/\s+/).filter(t=>t.indexOf(`${e}-`)===0)}class SL extends _a{static keys(e){return(e.getAttribute("class")||"").split(/\s+/).map(t=>t.split("-").slice(0,-1).join("-"))}add(e,t){return this.canAdd(e,t)?(this.remove(e),e.classList.add(`${this.keyName}-${t}`),!0):!1}remove(e){w0(e,this.keyName).forEach(t=>{e.classList.remove(t)}),e.classList.length===0&&e.removeAttribute("class")}value(e){const t=(w0(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""}}const zs=SL;function Jh(r){const e=r.split("-"),t=e.slice(1).map(n=>n[0].toUpperCase()+n.slice(1)).join("");return e[0]+t}class CL extends _a{static keys(e){return(e.getAttribute("style")||"").split(";").map(t=>t.split(":")[0].trim())}add(e,t){return this.canAdd(e,t)?(e.style[Jh(this.keyName)]=t,!0):!1}remove(e){e.style[Jh(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")}value(e){const t=e.style[Jh(this.keyName)];return this.canAdd(e,t)?t:""}}const tc=CL;class wL{constructor(e){this.attributes={},this.domNode=e,this.build()}attribute(e,t){t?e.add(this.domNode,t)&&(e.value(this.domNode)!=null?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])}build(){this.attributes={};const e=Vu.find(this.domNode);if(e==null)return;const t=_a.keys(this.domNode),n=zs.keys(this.domNode),i=tc.keys(this.domNode);t.concat(n).concat(i).forEach(l=>{const u=e.scroll.query(l,Vt.ATTRIBUTE);u instanceof _a&&(this.attributes[u.attrName]=u)})}copy(e){Object.keys(this.attributes).forEach(t=>{const n=this.attributes[t].value(this.domNode);e.format(t,n)})}move(e){this.copy(e),Object.keys(this.attributes).forEach(t=>{this.attributes[t].remove(this.domNode)}),this.attributes={}}values(){return Object.keys(this.attributes).reduce((e,t)=>(e[t]=this.attributes[t].value(this.domNode),e),{})}}const lh=wL,vx=class{constructor(e,t){this.scroll=e,this.domNode=t,Vu.blots.set(t,this),this.prev=null,this.next=null}static create(e){if(this.tagName==null)throw new Hu("Blot definition missing tagName");let t,n;return Array.isArray(this.tagName)?(typeof e=="string"?(n=e.toUpperCase(),parseInt(n,10).toString()===n&&(n=parseInt(n,10))):typeof e=="number"&&(n=e),typeof n=="number"?t=document.createElement(this.tagName[n-1]):n&&this.tagName.indexOf(n)>-1?t=document.createElement(n):t=document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t}get statics(){return this.constructor}attach(){}clone(){const e=this.domNode.cloneNode(!1);return this.scroll.create(e)}detach(){this.parent!=null&&this.parent.removeChild(this),Vu.blots.delete(this.domNode)}deleteAt(e,t){this.isolate(e,t).remove()}formatAt(e,t,n,i){const l=this.isolate(e,t);if(this.scroll.query(n,Vt.BLOT)!=null&&i)l.wrap(n,i);else if(this.scroll.query(n,Vt.ATTRIBUTE)!=null){const u=this.scroll.create(this.statics.scope);l.wrap(u),u.format(n,i)}}insertAt(e,t,n){const i=n==null?this.scroll.create("text",t):this.scroll.create(t,n),l=this.split(e);this.parent.insertBefore(i,l||void 0)}isolate(e,t){const n=this.split(e);if(n==null)throw new Error("Attempt to isolate at end");return n.split(t),n}length(){return 1}offset(e=this.parent){return this.parent==null||this===e?0:this.parent.children.offset(this)+this.parent.offset(e)}optimize(e){this.statics.requiredContainer&&!(this.parent instanceof this.statics.requiredContainer)&&this.wrap(this.statics.requiredContainer.blotName)}remove(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return this.parent!=null&&(this.parent.insertBefore(n,this.next||void 0),this.remove()),n}split(e,t){return e===0?this:this.next}update(e,t){}wrap(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;if(this.parent!=null&&this.parent.insertBefore(n,this.next||void 0),typeof n.appendChild!="function")throw new Hu(`Cannot wrap ${e}`);return n.appendChild(this),n}};vx.blotName="abstract";let yx=vx;const bx=class extends yx{static value(e){return!0}index(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1}position(e,t){let n=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};bx.scope=Vt.INLINE_BLOT;let AL=bx;const Fi=AL;class TL{constructor(){this.head=null,this.tail=null,this.length=0}append(...e){if(this.insertBefore(e[0],null),e.length>1){const t=e.slice(1);this.append(...t)}}at(e){const t=this.iterator();let n=t();for(;n&&e>0;)e-=1,n=t();return n}contains(e){const t=this.iterator();let n=t();for(;n;){if(n===e)return!0;n=t()}return!1}indexOf(e){const t=this.iterator();let n=t(),i=0;for(;n;){if(n===e)return i;i+=1,n=t()}return-1}insertBefore(e,t){e!=null&&(this.remove(e),e.next=t,t!=null?(e.prev=t.prev,t.prev!=null&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):this.tail!=null?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)}offset(e){let t=0,n=this.head;for(;n!=null;){if(n===e)return t;t+=n.length(),n=n.next}return-1}remove(e){this.contains(e)&&(e.prev!=null&&(e.prev.next=e.next),e.next!=null&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)}iterator(e=this.head){return()=>{const t=e;return e!=null&&(e=e.next),t}}find(e,t=!1){const n=this.iterator();let i=n();for(;i;){const l=i.length();if(e<l||t&&e===l&&(i.next==null||i.next.length()!==0))return[i,e];e-=l,i=n()}return[null,0]}forEach(e){const t=this.iterator();let n=t();for(;n;)e(n),n=t()}forEachAt(e,t,n){if(t<=0)return;const[i,l]=this.find(e);let u=e-l;const h=this.iterator(i);let g=h();for(;g&&u<e+t;){const m=g.length();e>u?n(g,e-u,Math.min(t,u+m-e)):n(g,0,Math.min(m,e+t-u)),u+=m,g=h()}}map(e){return this.reduce((t,n)=>(t.push(e(n)),t),[])}reduce(e,t){const n=this.iterator();let i=n();for(;i;)t=e(t,i),i=n();return t}}function A0(r,e){const t=e.find(r);if(t)return t;try{return e.create(r)}catch{const n=e.create(Vt.INLINE);return Array.from(r.childNodes).forEach(i=>{n.domNode.appendChild(i)}),r.parentNode&&r.parentNode.replaceChild(n.domNode,r),n.attach(),n}}const _x=class Vl extends yx{constructor(e,t){super(e,t),this.uiNode=null,this.build()}appendChild(e){this.insertBefore(e)}attach(){super.attach(),this.children.forEach(e=>{e.attach()})}attachUI(e){this.uiNode!=null&&this.uiNode.remove(),this.uiNode=e,Vl.uiClass&&this.uiNode.classList.add(Vl.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new TL,Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode).reverse().forEach(e=>{try{const t=A0(e,this.scroll);this.insertBefore(t,this.children.head||void 0)}catch(t){if(t instanceof Hu)return;throw t}})}deleteAt(e,t){if(e===0&&t===this.length())return this.remove();this.children.forEachAt(e,t,(n,i,l)=>{n.deleteAt(i,l)})}descendant(e,t=0){const[n,i]=this.children.find(t);return e.blotName==null&&e(n)||e.blotName!=null&&n instanceof e?[n,i]:n instanceof Vl?n.descendant(e,i):[null,-1]}descendants(e,t=0,n=Number.MAX_VALUE){let i=[],l=n;return this.children.forEachAt(t,n,(u,h,g)=>{(e.blotName==null&&e(u)||e.blotName!=null&&u instanceof e)&&i.push(u),u instanceof Vl&&(i=i.concat(u.descendants(e,h,l))),l-=g}),i}detach(){this.children.forEach(e=>{e.detach()}),super.detach()}enforceAllowedChildren(){let e=!1;this.children.forEach(t=>{e||this.statics.allowedChildren.some(n=>t instanceof n)||(t.statics.scope===Vt.BLOCK_BLOT?(t.next!=null&&this.splitAfter(t),t.prev!=null&&this.splitAfter(t.prev),t.parent.unwrap(),e=!0):t instanceof Vl?t.unwrap():t.remove())})}formatAt(e,t,n,i){this.children.forEachAt(e,t,(l,u,h)=>{l.formatAt(u,h,n,i)})}insertAt(e,t,n){const[i,l]=this.children.find(e);if(i)i.insertAt(l,t,n);else{const u=n==null?this.scroll.create("text",t):this.scroll.create(t,n);this.appendChild(u)}}insertBefore(e,t){e.parent!=null&&e.parent.children.remove(e);let n=null;this.children.insertBefore(e,t||null),e.parent=this,t!=null&&(n=t.domNode),(this.domNode.parentNode!==e.domNode||this.domNode.nextSibling!==n)&&this.domNode.insertBefore(e.domNode,n),e.attach()}length(){return this.children.reduce((e,t)=>e+t.length(),0)}moveChildren(e,t){this.children.forEach(n=>{e.insertBefore(n,t)})}optimize(e){if(super.optimize(e),this.enforceAllowedChildren(),this.uiNode!=null&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),this.children.length===0)if(this.statics.defaultChild!=null){const t=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(t)}else this.remove()}path(e,t=!1){const[n,i]=this.children.find(e,t),l=[[this,e]];return n instanceof Vl?l.concat(n.path(i,t)):(n!=null&&l.push([n,i]),l)}removeChild(e){this.children.remove(e)}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return n instanceof Vl&&this.moveChildren(n),super.replaceWith(n)}split(e,t=!1){if(!t){if(e===0)return this;if(e===this.length())return this.next}const n=this.clone();return this.parent&&this.parent.insertBefore(n,this.next||void 0),this.children.forEachAt(e,this.length(),(i,l,u)=>{const h=i.split(l,t);h!=null&&n.appendChild(h)}),n}splitAfter(e){const t=this.clone();for(;e.next!=null;)t.appendChild(e.next);return this.parent&&this.parent.insertBefore(t,this.next||void 0),t}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(e,t){const n=[],i=[];e.forEach(l=>{l.target===this.domNode&&l.type==="childList"&&(n.push(...l.addedNodes),i.push(...l.removedNodes))}),i.forEach(l=>{if(l.parentNode!=null&&l.tagName!=="IFRAME"&&document.body.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const u=this.scroll.find(l);u!=null&&(u.domNode.parentNode==null||u.domNode.parentNode===this.domNode)&&u.detach()}),n.filter(l=>l.parentNode===this.domNode&&l!==this.uiNode).sort((l,u)=>l===u?0:l.compareDocumentPosition(u)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(l=>{let u=null;l.nextSibling!=null&&(u=this.scroll.find(l.nextSibling));const h=A0(l,this.scroll);(h.next!==u||h.next==null)&&(h.parent!=null&&h.parent.removeChild(this),this.insertBefore(h,u||void 0))}),this.enforceAllowedChildren()}};_x.uiClass="";let EL=_x;const Bs=EL;function kL(r,e){if(Object.keys(r).length!==Object.keys(e).length)return!1;for(const t in r)if(r[t]!==e[t])return!1;return!0}const Lu=class Mu extends Bs{static create(e){return super.create(e)}static formats(e,t){const n=t.query(Mu.blotName);if(!(n!=null&&e.tagName===n.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new lh(this.domNode)}format(e,t){if(e===this.statics.blotName&&!t)this.children.forEach(n=>{n instanceof Mu||(n=n.wrap(Mu.blotName,!0)),this.attributes.copy(n)}),this.unwrap();else{const n=this.scroll.query(e,Vt.INLINE);if(n==null)return;n instanceof _a?this.attributes.attribute(n,t):t&&(e!==this.statics.blotName||this.formats()[e]!==t)&&this.replaceWith(e,t)}}formats(){const e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return t!=null&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,i){this.formats()[n]!=null||this.scroll.query(n,Vt.ATTRIBUTE)?this.isolate(e,t).format(n,i):super.formatAt(e,t,n,i)}optimize(e){super.optimize(e);const t=this.formats();if(Object.keys(t).length===0)return this.unwrap();const n=this.next;n instanceof Mu&&n.prev===this&&kL(t,n.formats())&&(n.moveChildren(this),n.remove())}replaceWith(e,t){const n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(n=>n.target===this.domNode&&n.type==="attributes")&&this.attributes.build()}wrap(e,t){const n=super.wrap(e,t);return n instanceof Mu&&this.attributes.move(n),n}};Lu.allowedChildren=[Lu,Fi],Lu.blotName="inline",Lu.scope=Vt.INLINE_BLOT,Lu.tagName="SPAN";let RL=Lu;const wm=RL,Du=class $1 extends Bs{static create(e){return super.create(e)}static formats(e,t){const n=t.query($1.blotName);if(!(n!=null&&e.tagName===n.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new lh(this.domNode)}format(e,t){const n=this.scroll.query(e,Vt.BLOCK);n!=null&&(n instanceof _a?this.attributes.attribute(n,t):e===this.statics.blotName&&!t?this.replaceWith($1.blotName):t&&(e!==this.statics.blotName||this.formats()[e]!==t)&&this.replaceWith(e,t))}formats(){const e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return t!=null&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,i){this.scroll.query(n,Vt.BLOCK)!=null?this.format(n,i):super.formatAt(e,t,n,i)}insertAt(e,t,n){if(n==null||this.scroll.query(t,Vt.INLINE)!=null)super.insertAt(e,t,n);else{const i=this.split(e);if(i!=null){const l=this.scroll.create(t,n);i.parent.insertBefore(l,i)}else throw new Error("Attempt to insertAt after block boundaries")}}replaceWith(e,t){const n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(n=>n.target===this.domNode&&n.type==="attributes")&&this.attributes.build()}};Du.blotName="block",Du.scope=Vt.BLOCK_BLOT,Du.tagName="P",Du.allowedChildren=[wm,Du,Fi];let IL=Du;const Yf=IL,U1=class extends Bs{checkMerge(){return this.next!==null&&this.next.statics.blotName===this.statics.blotName}deleteAt(e,t){super.deleteAt(e,t),this.enforceAllowedChildren()}formatAt(e,t,n,i){super.formatAt(e,t,n,i),this.enforceAllowedChildren()}insertAt(e,t,n){super.insertAt(e,t,n),this.enforceAllowedChildren()}optimize(e){super.optimize(e),this.children.length>0&&this.next!=null&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};U1.blotName="container",U1.scope=Vt.BLOCK_BLOT;let LL=U1;const ch=LL;class ML extends Fi{static formats(e,t){}format(e,t){super.formatAt(0,this.length(),e,t)}formatAt(e,t,n,i){e===0&&t===this.length()?this.format(n,i):super.formatAt(e,t,n,i)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const Ho=ML,DL={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},OL=100,Ou=class extends Bs{constructor(e,t){super(null,t),this.registry=e,this.scroll=this,this.build(),this.observer=new MutationObserver(n=>{this.update(n)}),this.observer.observe(this.domNode,DL),this.attach()}create(e,t){return this.registry.create(this,e,t)}find(e,t=!1){const n=this.registry.find(e,t);return n?n.scroll===this?n:t?this.find(n.scroll.domNode.parentNode,!0):null:null}query(e,t=Vt.ANY){return this.registry.query(e,t)}register(...e){return this.registry.register(...e)}build(){this.scroll!=null&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(e,t){this.update(),e===0&&t===this.length()?this.children.forEach(n=>{n.remove()}):super.deleteAt(e,t)}formatAt(e,t,n,i){this.update(),super.formatAt(e,t,n,i)}insertAt(e,t,n){this.update(),super.insertAt(e,t,n)}optimize(e=[],t={}){super.optimize(t);const n=t.mutationsMap||new WeakMap;let i=Array.from(this.observer.takeRecords());for(;i.length>0;)e.push(i.pop());const l=(g,m=!0)=>{g==null||g===this||g.domNode.parentNode!=null&&(n.has(g.domNode)||n.set(g.domNode,[]),m&&l(g.parent))},u=g=>{n.has(g.domNode)&&(g instanceof Bs&&g.children.forEach(u),n.delete(g.domNode),g.optimize(t))};let h=e;for(let g=0;h.length>0;g+=1){if(g>=OL)throw new Error("[Parchment] Maximum optimize iterations reached");for(h.forEach(m=>{const M=this.find(m.target,!0);M!=null&&(M.domNode===m.target&&(m.type==="childList"?(l(this.find(m.previousSibling,!1)),Array.from(m.addedNodes).forEach(T=>{const C=this.find(T,!1);l(C,!1),C instanceof Bs&&C.children.forEach(_=>{l(_,!1)})})):m.type==="attributes"&&l(M.prev)),l(M))}),this.children.forEach(u),h=Array.from(this.observer.takeRecords()),i=h.slice();i.length>0;)e.push(i.pop())}}update(e,t={}){e=e||this.observer.takeRecords();const n=new WeakMap;e.map(i=>{const l=this.find(i.target,!0);return l==null?null:n.has(l.domNode)?(n.get(l.domNode).push(i),null):(n.set(l.domNode,[i]),l)}).forEach(i=>{i!=null&&i!==this&&n.has(i.domNode)&&i.update(n.get(i.domNode)||[],t)}),t.mutationsMap=n,n.has(this.domNode)&&super.update(n.get(this.domNode),t),this.optimize(e,t)}};Ou.blotName="scroll",Ou.defaultChild=Yf,Ou.allowedChildren=[Yf,ch],Ou.scope=Vt.BLOCK_BLOT,Ou.tagName="DIV";let PL=Ou;const Am=PL,W1=class xx extends Fi{static create(e){return document.createTextNode(e)}static value(e){return e.data}constructor(e,t){super(e,t),this.text=this.statics.value(this.domNode)}deleteAt(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)}index(e,t){return this.domNode===e?t:-1}insertAt(e,t,n){n==null?(this.text=this.text.slice(0,e)+t+this.text.slice(e),this.domNode.data=this.text):super.insertAt(e,t,n)}length(){return this.text.length}optimize(e){super.optimize(e),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof xx&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(e,t=!1){return[this.domNode,e]}split(e,t=!1){if(!t){if(e===0)return this;if(e===this.length())return this.next}const n=this.scroll.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next||void 0),this.text=this.statics.value(this.domNode),n}update(e,t){e.some(n=>n.type==="characterData"&&n.target===this.domNode)&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};W1.blotName="text",W1.scope=Vt.INLINE_BLOT;let NL=W1;const Qd=NL,jL=Object.freeze(Object.defineProperty({__proto__:null,Attributor:_a,AttributorStore:lh,BlockBlot:Yf,ClassAttributor:zs,ContainerBlot:ch,EmbedBlot:Ho,InlineBlot:wm,LeafBlot:Fi,ParentBlot:Bs,Registry:Vu,Scope:Vt,ScrollBlot:Am,StyleAttributor:tc,TextBlot:Qd},Symbol.toStringTag,{value:"Module"}));var kd={exports:{}},Qh,T0;function FL(){if(T0)return Qh;T0=1;var r=-1,e=1,t=0;function n(N,re,K,ne,ie){if(N===re)return N?[[t,N]]:[];if(K!=null){var ce=ee(N,re,K);if(ce)return ce}var me=h(N,re),ae=N.substring(0,me);N=N.substring(me),re=re.substring(me),me=m(N,re);var be=N.substring(N.length-me);N=N.substring(0,N.length-me),re=re.substring(0,re.length-me);var ge=i(N,re);return ae&&ge.unshift([t,ae]),be&&ge.push([t,be]),k(ge,ie),ne&&T(ge),ge}function i(N,re){var K;if(!N)return[[e,re]];if(!re)return[[r,N]];var ne=N.length>re.length?N:re,ie=N.length>re.length?re:N,ce=ne.indexOf(ie);if(ce!==-1)return K=[[e,ne.substring(0,ce)],[t,ie],[e,ne.substring(ce+ie.length)]],N.length>re.length&&(K[0][0]=K[2][0]=r),K;if(ie.length===1)return[[r,N],[e,re]];var me=M(N,re);if(me){var ae=me[0],be=me[1],ge=me[2],xe=me[3],Le=me[4],Pe=n(ae,ge),We=n(be,xe);return Pe.concat([[t,Le]],We)}return l(N,re)}function l(N,re){for(var K=N.length,ne=re.length,ie=Math.ceil((K+ne)/2),ce=ie,me=2*ie,ae=new Array(me),be=new Array(me),ge=0;ge<me;ge++)ae[ge]=-1,be[ge]=-1;ae[ce+1]=0,be[ce+1]=0;for(var xe=K-ne,Le=xe%2!==0,Pe=0,We=0,Te=0,ot=0,pt=0;pt<ie;pt++){for(var Ke=-pt+Pe;Ke<=pt-We;Ke+=2){var Ye=ce+Ke,Oe;Ke===-pt||Ke!==pt&&ae[Ye-1]<ae[Ye+1]?Oe=ae[Ye+1]:Oe=ae[Ye-1]+1;for(var ke=Oe-Ke;Oe<K&&ke<ne&&N.charAt(Oe)===re.charAt(ke);)Oe++,ke++;if(ae[Ye]=Oe,Oe>K)We+=2;else if(ke>ne)Pe+=2;else if(Le){var Ee=ce+xe-Ke;if(Ee>=0&&Ee<me&&be[Ee]!==-1){var Ne=K-be[Ee];if(Oe>=Ne)return u(N,re,Oe,ke)}}}for(var Re=-pt+Te;Re<=pt-ot;Re+=2){var Ee=ce+Re,Ne;Re===-pt||Re!==pt&&be[Ee-1]<be[Ee+1]?Ne=be[Ee+1]:Ne=be[Ee-1]+1;for(var Je=Ne-Re;Ne<K&&Je<ne&&N.charAt(K-Ne-1)===re.charAt(ne-Je-1);)Ne++,Je++;if(be[Ee]=Ne,Ne>K)ot+=2;else if(Je>ne)Te+=2;else if(!Le){var Ye=ce+xe-Re;if(Ye>=0&&Ye<me&&ae[Ye]!==-1){var Oe=ae[Ye],ke=ce+Oe-Ye;if(Ne=K-Ne,Oe>=Ne)return u(N,re,Oe,ke)}}}}return[[r,N],[e,re]]}function u(N,re,K,ne){var ie=N.substring(0,K),ce=re.substring(0,ne),me=N.substring(K),ae=re.substring(ne),be=n(ie,ce),ge=n(me,ae);return be.concat(ge)}function h(N,re){if(!N||!re||N.charAt(0)!==re.charAt(0))return 0;for(var K=0,ne=Math.min(N.length,re.length),ie=ne,ce=0;K<ie;)N.substring(ce,ie)==re.substring(ce,ie)?(K=ie,ce=K):ne=ie,ie=Math.floor((ne-K)/2+K);return O(N.charCodeAt(ie-1))&&ie--,ie}function g(N,re){var K=N.length,ne=re.length;if(K==0||ne==0)return 0;K>ne?N=N.substring(K-ne):K<ne&&(re=re.substring(0,K));var ie=Math.min(K,ne);if(N==re)return ie;for(var ce=0,me=1;;){var ae=N.substring(ie-me),be=re.indexOf(ae);if(be==-1)return ce;me+=be,(be==0||N.substring(ie-me)==re.substring(0,me))&&(ce=me,me++)}}function m(N,re){if(!N||!re||N.slice(-1)!==re.slice(-1))return 0;for(var K=0,ne=Math.min(N.length,re.length),ie=ne,ce=0;K<ie;)N.substring(N.length-ie,N.length-ce)==re.substring(re.length-ie,re.length-ce)?(K=ie,ce=K):ne=ie,ie=Math.floor((ne-K)/2+K);return H(N.charCodeAt(N.length-ie))&&ie--,ie}function M(N,re){var K=N.length>re.length?N:re,ne=N.length>re.length?re:N;if(K.length<4||ne.length*2<K.length)return null;function ie(We,Te,ot){for(var pt=We.substring(ot,ot+Math.floor(We.length/4)),Ke=-1,Ye="",Oe,ke,Ee,Ne;(Ke=Te.indexOf(pt,Ke+1))!==-1;){var Re=h(We.substring(ot),Te.substring(Ke)),Je=m(We.substring(0,ot),Te.substring(0,Ke));Ye.length<Je+Re&&(Ye=Te.substring(Ke-Je,Ke)+Te.substring(Ke,Ke+Re),Oe=We.substring(0,ot-Je),ke=We.substring(ot+Re),Ee=Te.substring(0,Ke-Je),Ne=Te.substring(Ke+Re))}return Ye.length*2>=We.length?[Oe,ke,Ee,Ne,Ye]:null}var ce=ie(K,ne,Math.ceil(K.length/4)),me=ie(K,ne,Math.ceil(K.length/2)),ae;if(!ce&&!me)return null;me?ce?ae=ce[4].length>me[4].length?ce:me:ae=me:ae=ce;var be,ge,xe,Le;N.length>re.length?(be=ae[0],ge=ae[1],xe=ae[2],Le=ae[3]):(xe=ae[0],Le=ae[1],be=ae[2],ge=ae[3]);var Pe=ae[4];return[be,ge,xe,Le,Pe]}function T(N){for(var re=!1,K=[],ne=0,ie=null,ce=0,me=0,ae=0,be=0,ge=0;ce<N.length;)N[ce][0]==t?(K[ne++]=ce,me=be,ae=ge,be=0,ge=0,ie=N[ce][1]):(N[ce][0]==e?be+=N[ce][1].length:ge+=N[ce][1].length,ie&&ie.length<=Math.max(me,ae)&&ie.length<=Math.max(be,ge)&&(N.splice(K[ne-1],0,[r,ie]),N[K[ne-1]+1][0]=e,ne--,ne--,ce=ne>0?K[ne-1]:-1,me=0,ae=0,be=0,ge=0,ie=null,re=!0)),ce++;for(re&&k(N),b(N),ce=1;ce<N.length;){if(N[ce-1][0]==r&&N[ce][0]==e){var xe=N[ce-1][1],Le=N[ce][1],Pe=g(xe,Le),We=g(Le,xe);Pe>=We?(Pe>=xe.length/2||Pe>=Le.length/2)&&(N.splice(ce,0,[t,Le.substring(0,Pe)]),N[ce-1][1]=xe.substring(0,xe.length-Pe),N[ce+1][1]=Le.substring(Pe),ce++):(We>=xe.length/2||We>=Le.length/2)&&(N.splice(ce,0,[t,xe.substring(0,We)]),N[ce-1][0]=e,N[ce-1][1]=Le.substring(0,Le.length-We),N[ce+1][0]=r,N[ce+1][1]=xe.substring(We),ce++),ce++}ce++}}var C=/[^a-zA-Z0-9]/,_=/\s/,S=/[\r\n]/,D=/\n\r?\n$/,A=/^\r?\n\r?\n/;function b(N){function re(We,Te){if(!We||!Te)return 6;var ot=We.charAt(We.length-1),pt=Te.charAt(0),Ke=ot.match(C),Ye=pt.match(C),Oe=Ke&&ot.match(_),ke=Ye&&pt.match(_),Ee=Oe&&ot.match(S),Ne=ke&&pt.match(S),Re=Ee&&We.match(D),Je=Ne&&Te.match(A);return Re||Je?5:Ee||Ne?4:Ke&&!Oe&&ke?3:Oe||ke?2:Ke||Ye?1:0}for(var K=1;K<N.length-1;){if(N[K-1][0]==t&&N[K+1][0]==t){var ne=N[K-1][1],ie=N[K][1],ce=N[K+1][1],me=m(ne,ie);if(me){var ae=ie.substring(ie.length-me);ne=ne.substring(0,ne.length-me),ie=ae+ie.substring(0,ie.length-me),ce=ae+ce}for(var be=ne,ge=ie,xe=ce,Le=re(ne,ie)+re(ie,ce);ie.charAt(0)===ce.charAt(0);){ne+=ie.charAt(0),ie=ie.substring(1)+ce.charAt(0),ce=ce.substring(1);var Pe=re(ne,ie)+re(ie,ce);Pe>=Le&&(Le=Pe,be=ne,ge=ie,xe=ce)}N[K-1][1]!=be&&(be?N[K-1][1]=be:(N.splice(K-1,1),K--),N[K][1]=ge,xe?N[K+1][1]=xe:(N.splice(K+1,1),K--))}K++}}function k(N,re){N.push([t,""]);for(var K=0,ne=0,ie=0,ce="",me="",ae;K<N.length;){if(K<N.length-1&&!N[K][1]){N.splice(K,1);continue}switch(N[K][0]){case e:ie++,me+=N[K][1],K++;break;case r:ne++,ce+=N[K][1],K++;break;case t:var be=K-ie-ne-1;if(re){if(be>=0&&G(N[be][1])){var ge=N[be][1].slice(-1);if(N[be][1]=N[be][1].slice(0,-1),ce=ge+ce,me=ge+me,!N[be][1]){N.splice(be,1),K--;var xe=be-1;N[xe]&&N[xe][0]===e&&(ie++,me=N[xe][1]+me,xe--),N[xe]&&N[xe][0]===r&&(ne++,ce=N[xe][1]+ce,xe--),be=xe}}if(q(N[K][1])){var ge=N[K][1].charAt(0);N[K][1]=N[K][1].slice(1),ce+=ge,me+=ge}}if(K<N.length-1&&!N[K][1]){N.splice(K,1);break}if(ce.length>0||me.length>0){ce.length>0&&me.length>0&&(ae=h(me,ce),ae!==0&&(be>=0?N[be][1]+=me.substring(0,ae):(N.splice(0,0,[t,me.substring(0,ae)]),K++),me=me.substring(ae),ce=ce.substring(ae)),ae=m(me,ce),ae!==0&&(N[K][1]=me.substring(me.length-ae)+N[K][1],me=me.substring(0,me.length-ae),ce=ce.substring(0,ce.length-ae)));var Le=ie+ne;ce.length===0&&me.length===0?(N.splice(K-Le,Le),K=K-Le):ce.length===0?(N.splice(K-Le,Le,[e,me]),K=K-Le+1):me.length===0?(N.splice(K-Le,Le,[r,ce]),K=K-Le+1):(N.splice(K-Le,Le,[r,ce],[e,me]),K=K-Le+2)}K!==0&&N[K-1][0]===t?(N[K-1][1]+=N[K][1],N.splice(K,1)):K++,ie=0,ne=0,ce="",me="";break}}N[N.length-1][1]===""&&N.pop();var Pe=!1;for(K=1;K<N.length-1;)N[K-1][0]===t&&N[K+1][0]===t&&(N[K][1].substring(N[K][1].length-N[K-1][1].length)===N[K-1][1]?(N[K][1]=N[K-1][1]+N[K][1].substring(0,N[K][1].length-N[K-1][1].length),N[K+1][1]=N[K-1][1]+N[K+1][1],N.splice(K-1,1),Pe=!0):N[K][1].substring(0,N[K+1][1].length)==N[K+1][1]&&(N[K-1][1]+=N[K+1][1],N[K][1]=N[K][1].substring(N[K+1][1].length)+N[K+1][1],N.splice(K+1,1),Pe=!0)),K++;Pe&&k(N,re)}function O(N){return N>=55296&&N<=56319}function H(N){return N>=56320&&N<=57343}function q(N){return H(N.charCodeAt(0))}function G(N){return O(N.charCodeAt(N.length-1))}function Y(N){for(var re=[],K=0;K<N.length;K++)N[K][1].length>0&&re.push(N[K]);return re}function ue(N,re,K,ne){return G(N)||q(ne)?null:Y([[t,N],[r,re],[e,K],[t,ne]])}function ee(N,re,K){var ne=typeof K=="number"?{index:K,length:0}:K.oldRange,ie=typeof K=="number"?null:K.newRange,ce=N.length,me=re.length;if(ne.length===0&&(ie===null||ie.length===0)){var ae=ne.index,be=N.slice(0,ae),ge=N.slice(ae),xe=ie?ie.index:null;e:{var Le=ae+me-ce;if(xe!==null&&xe!==Le||Le<0||Le>me)break e;var Pe=re.slice(0,Le),We=re.slice(Le);if(We!==ge)break e;var Te=Math.min(ae,Le),ot=be.slice(0,Te),pt=Pe.slice(0,Te);if(ot!==pt)break e;var Ke=be.slice(Te),Ye=Pe.slice(Te);return ue(ot,Ke,Ye,ge)}e:{if(xe!==null&&xe!==ae)break e;var Oe=ae,Pe=re.slice(0,Oe),We=re.slice(Oe);if(Pe!==be)break e;var ke=Math.min(ce-Oe,me-Oe),Ee=ge.slice(ge.length-ke),Ne=We.slice(We.length-ke);if(Ee!==Ne)break e;var Ke=ge.slice(0,ge.length-ke),Ye=We.slice(0,We.length-ke);return ue(be,Ke,Ye,Ee)}}if(ne.length>0&&ie&&ie.length===0)e:{var ot=N.slice(0,ne.index),Ee=N.slice(ne.index+ne.length),Te=ot.length,ke=Ee.length;if(me<Te+ke)break e;var pt=re.slice(0,Te),Ne=re.slice(me-ke);if(ot!==pt||Ee!==Ne)break e;var Ke=N.slice(Te,ce-ke),Ye=re.slice(Te,me-ke);return ue(ot,Ke,Ye,Ee)}return null}function fe(N,re,K,ne){return n(N,re,K,ne,!0)}return fe.INSERT=e,fe.DELETE=r,fe.EQUAL=t,Qh=fe,Qh}var Of={exports:{}};Of.exports;var E0;function Sx(){return E0||(E0=1,function(r,e){var t=200,n="__lodash_hash_undefined__",i=9007199254740991,l="[object Arguments]",u="[object Array]",h="[object Boolean]",g="[object Date]",m="[object Error]",M="[object Function]",T="[object GeneratorFunction]",C="[object Map]",_="[object Number]",S="[object Object]",D="[object Promise]",A="[object RegExp]",b="[object Set]",k="[object String]",O="[object Symbol]",H="[object WeakMap]",q="[object ArrayBuffer]",G="[object DataView]",Y="[object Float32Array]",ue="[object Float64Array]",ee="[object Int8Array]",fe="[object Int16Array]",N="[object Int32Array]",re="[object Uint8Array]",K="[object Uint8ClampedArray]",ne="[object Uint16Array]",ie="[object Uint32Array]",ce=/[\\^$.*+?()[\]{}|]/g,me=/\w*$/,ae=/^\[object .+?Constructor\]$/,be=/^(?:0|[1-9]\d*)$/,ge={};ge[l]=ge[u]=ge[q]=ge[G]=ge[h]=ge[g]=ge[Y]=ge[ue]=ge[ee]=ge[fe]=ge[N]=ge[C]=ge[_]=ge[S]=ge[A]=ge[b]=ge[k]=ge[O]=ge[re]=ge[K]=ge[ne]=ge[ie]=!0,ge[m]=ge[M]=ge[H]=!1;var xe=typeof yi=="object"&&yi&&yi.Object===Object&&yi,Le=typeof self=="object"&&self&&self.Object===Object&&self,Pe=xe||Le||Function("return this")(),We=e&&!e.nodeType&&e,Te=We&&!0&&r&&!r.nodeType&&r,ot=Te&&Te.exports===We;function pt(R,V){return R.set(V[0],V[1]),R}function Ke(R,V){return R.add(V),R}function Ye(R,V){for(var le=-1,De=R?R.length:0;++le<De&&V(R[le],le,R)!==!1;);return R}function Oe(R,V){for(var le=-1,De=V.length,Ut=R.length;++le<De;)R[Ut+le]=V[le];return R}function ke(R,V,le,De){for(var Ut=-1,qt=R?R.length:0;++Ut<qt;)le=V(le,R[Ut],Ut,R);return le}function Ee(R,V){for(var le=-1,De=Array(R);++le<R;)De[le]=V(le);return De}function Ne(R,V){return R==null?void 0:R[V]}function Re(R){var V=!1;if(R!=null&&typeof R.toString!="function")try{V=!!(R+"")}catch{}return V}function Je(R){var V=-1,le=Array(R.size);return R.forEach(function(De,Ut){le[++V]=[Ut,De]}),le}function ft(R,V){return function(le){return R(V(le))}}function xt(R){var V=-1,le=Array(R.size);return R.forEach(function(De){le[++V]=De}),le}var St=Array.prototype,mt=Function.prototype,It=Object.prototype,Ct=Pe["__core-js_shared__"],ct=function(){var R=/[^.]+$/.exec(Ct&&Ct.keys&&Ct.keys.IE_PROTO||"");return R?"Symbol(src)_1."+R:""}(),ut=mt.toString,et=It.hasOwnProperty,Se=It.toString,Ze=RegExp("^"+ut.call(et).replace(ce,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),at=ot?Pe.Buffer:void 0,gt=Pe.Symbol,Tt=Pe.Uint8Array,je=ft(Object.getPrototypeOf,Object),_t=Object.create,Mt=It.propertyIsEnumerable,vr=St.splice,nr=Object.getOwnPropertySymbols,Zt=at?at.isBuffer:void 0,he=ft(Object.keys,Object),te=At(Pe,"DataView"),Fe=At(Pe,"Map"),Xe=At(Pe,"Promise"),Lt=At(Pe,"Set"),vt=At(Pe,"WeakMap"),wt=At(Object,"create"),Gt=Xr(te),Ft=Xr(Fe),sr=Xr(Xe),dr=Xr(Lt),Rr=Xr(vt),ur=gt?gt.prototype:void 0,xr=ur?ur.valueOf:void 0;function Wr(R){var V=-1,le=R?R.length:0;for(this.clear();++V<le;){var De=R[V];this.set(De[0],De[1])}}function st(){this.__data__=wt?wt(null):{}}function Rt(R){return this.has(R)&&delete this.__data__[R]}function bt(R){var V=this.__data__;if(wt){var le=V[R];return le===n?void 0:le}return et.call(V,R)?V[R]:void 0}function Qe(R){var V=this.__data__;return wt?V[R]!==void 0:et.call(V,R)}function Nt(R,V){var le=this.__data__;return le[R]=wt&&V===void 0?n:V,this}Wr.prototype.clear=st,Wr.prototype.delete=Rt,Wr.prototype.get=bt,Wr.prototype.has=Qe,Wr.prototype.set=Nt;function Q(R){var V=-1,le=R?R.length:0;for(this.clear();++V<le;){var De=R[V];this.set(De[0],De[1])}}function He(){this.__data__=[]}function ht(R){var V=this.__data__,le=Yn(V,R);if(le<0)return!1;var De=V.length-1;return le==De?V.pop():vr.call(V,le,1),!0}function Ot(R){var V=this.__data__,le=Yn(V,R);return le<0?void 0:V[le][1]}function er(R){return Yn(this.__data__,R)>-1}function Yt(R,V){var le=this.__data__,De=Yn(le,R);return De<0?le.push([R,V]):le[De][1]=V,this}Q.prototype.clear=He,Q.prototype.delete=ht,Q.prototype.get=Ot,Q.prototype.has=er,Q.prototype.set=Yt;function Dt(R){var V=-1,le=R?R.length:0;for(this.clear();++V<le;){var De=R[V];this.set(De[0],De[1])}}function Kt(){this.__data__={hash:new Wr,map:new(Fe||Q),string:new Wr}}function Mr(R){return tt(this,R).delete(R)}function ar(R){return tt(this,R).get(R)}function fr(R){return tt(this,R).has(R)}function zr(R,V){return tt(this,R).set(R,V),this}Dt.prototype.clear=Kt,Dt.prototype.delete=Mr,Dt.prototype.get=ar,Dt.prototype.has=fr,Dt.prototype.set=zr;function gr(R){this.__data__=new Q(R)}function Vn(){this.__data__=new Q}function Sn(R){return this.__data__.delete(R)}function Mn(R){return this.__data__.get(R)}function Kr(R){return this.__data__.has(R)}function Gn(R,V){var le=this.__data__;if(le instanceof Q){var De=le.__data__;if(!Fe||De.length<t-1)return De.push([R,V]),this;le=this.__data__=new Dt(De)}return le.set(R,V),this}gr.prototype.clear=Vn,gr.prototype.delete=Sn,gr.prototype.get=Mn,gr.prototype.has=Kr,gr.prototype.set=Gn;function Tn(R,V){var le=yo(R)||Xn(R)?Ee(R.length,String):[],De=le.length,Ut=!!De;for(var qt in R)et.call(R,qt)&&!(Ut&&(qt=="length"||yn(qt,De)))&&le.push(qt);return le}function Zn(R,V,le){var De=R[V];(!(et.call(R,V)&&jn(De,le))||le===void 0&&!(V in R))&&(R[V]=le)}function Yn(R,V){for(var le=R.length;le--;)if(jn(R[le][0],V))return le;return-1}function nn(R,V){return R&&we(V,Dr(V),R)}function Dn(R,V,le,De,Ut,qt,hr){var _r;if(De&&(_r=qt?De(R,Ut,qt,hr):De(R)),_r!==void 0)return _r;if(!Qn(R))return R;var lr=yo(R);if(lr){if(_r=br(R),!V)return X(R,_r)}else{var Cr=Pt(R),Jr=Cr==M||Cr==T;if(kn(R))return wn(R,V);if(Cr==S||Cr==l||Jr&&!qt){if(Re(R))return qt?R:{};if(_r=Zr(Jr?{}:R),!V)return ye(R,nn(_r,R))}else{if(!ge[Cr])return qt?R:{};_r=vn(R,Cr,Dn,V)}}hr||(hr=new gr);var Rn=hr.get(R);if(Rn)return Rn;if(hr.set(R,_r),!lr)var Vr=le?Me(R):Dr(R);return Ye(Vr||R,function(jr,Qr){Vr&&(Qr=jr,jr=R[Qr]),Zn(_r,Qr,Dn(jr,V,le,De,Qr,R,hr))}),_r}function Cn(R){return Qn(R)?_t(R):{}}function di(R,V,le){var De=V(R);return yo(R)?De:Oe(De,le(R))}function _i(R){return Se.call(R)}function xi(R){if(!Qn(R)||Nn(R))return!1;var V=bo(R)||Re(R)?Ze:ae;return V.test(Xr(R))}function En(R){if(!Si(R))return he(R);var V=[];for(var le in Object(R))et.call(R,le)&&le!="constructor"&&V.push(le);return V}function wn(R,V){if(V)return R.slice();var le=new R.constructor(R.length);return R.copy(le),le}function cn(R){var V=new R.constructor(R.byteLength);return new Tt(V).set(new Tt(R)),V}function Kn(R,V){var le=V?cn(R.buffer):R.buffer;return new R.constructor(le,R.byteOffset,R.byteLength)}function on(R,V,le){var De=V?le(Je(R),!0):Je(R);return ke(De,pt,new R.constructor)}function dn(R){var V=new R.constructor(R.source,me.exec(R));return V.lastIndex=R.lastIndex,V}function x(R,V,le){var De=V?le(xt(R),!0):xt(R);return ke(De,Ke,new R.constructor)}function j(R){return xr?Object(xr.call(R)):{}}function W(R,V){var le=V?cn(R.buffer):R.buffer;return new R.constructor(le,R.byteOffset,R.length)}function X(R,V){var le=-1,De=R.length;for(V||(V=Array(De));++le<De;)V[le]=R[le];return V}function we(R,V,le,De){le||(le={});for(var Ut=-1,qt=V.length;++Ut<qt;){var hr=V[Ut],_r=void 0;Zn(le,hr,_r===void 0?R[hr]:_r)}return le}function ye(R,V){return we(R,jt(R),V)}function Me(R){return di(R,Dr,jt)}function tt(R,V){var le=R.__data__;return ai(V)?le[typeof V=="string"?"string":"hash"]:le.map}function At(R,V){var le=Ne(R,V);return xi(le)?le:void 0}var jt=nr?ft(nr,Object):Sr,Pt=_i;(te&&Pt(new te(new ArrayBuffer(1)))!=G||Fe&&Pt(new Fe)!=C||Xe&&Pt(Xe.resolve())!=D||Lt&&Pt(new Lt)!=b||vt&&Pt(new vt)!=H)&&(Pt=function(R){var V=Se.call(R),le=V==S?R.constructor:void 0,De=le?Xr(le):void 0;if(De)switch(De){case Gt:return G;case Ft:return C;case sr:return D;case dr:return b;case Rr:return H}return V});function br(R){var V=R.length,le=R.constructor(V);return V&&typeof R[0]=="string"&&et.call(R,"index")&&(le.index=R.index,le.input=R.input),le}function Zr(R){return typeof R.constructor=="function"&&!Si(R)?Cn(je(R)):{}}function vn(R,V,le,De){var Ut=R.constructor;switch(V){case q:return cn(R);case h:case g:return new Ut(+R);case G:return Kn(R,De);case Y:case ue:case ee:case fe:case N:case re:case K:case ne:case ie:return W(R,De);case C:return on(R,De,le);case _:case k:return new Ut(R);case A:return dn(R);case b:return x(R,De,le);case O:return j(R)}}function yn(R,V){return V=V??i,!!V&&(typeof R=="number"||be.test(R))&&R>-1&&R%1==0&&R<V}function ai(R){var V=typeof R;return V=="string"||V=="number"||V=="symbol"||V=="boolean"?R!=="__proto__":R===null}function Nn(R){return!!ct&&ct in R}function Si(R){var V=R&&R.constructor,le=typeof V=="function"&&V.prototype||It;return R===le}function Xr(R){if(R!=null){try{return ut.call(R)}catch{}try{return R+""}catch{}}return""}function hi(R){return Dn(R,!0,!0)}function jn(R,V){return R===V||R!==R&&V!==V}function Xn(R){return to(R)&&et.call(R,"callee")&&(!Mt.call(R,"callee")||Se.call(R)==l)}var yo=Array.isArray;function eo(R){return R!=null&&Jn(R.length)&&!bo(R)}function to(R){return Hi(R)&&eo(R)}var kn=Zt||Ir;function bo(R){var V=Qn(R)?Se.call(R):"";return V==M||V==T}function Jn(R){return typeof R=="number"&&R>-1&&R%1==0&&R<=i}function Qn(R){var V=typeof R;return!!R&&(V=="object"||V=="function")}function Hi(R){return!!R&&typeof R=="object"}function Dr(R){return eo(R)?Tn(R):En(R)}function Sr(){return[]}function Ir(){return!1}r.exports=hi}(Of,Of.exports)),Of.exports}var Pf={exports:{}};Pf.exports;var k0;function Cx(){return k0||(k0=1,function(r,e){var t=200,n="__lodash_hash_undefined__",i=1,l=2,u=9007199254740991,h="[object Arguments]",g="[object Array]",m="[object AsyncFunction]",M="[object Boolean]",T="[object Date]",C="[object Error]",_="[object Function]",S="[object GeneratorFunction]",D="[object Map]",A="[object Number]",b="[object Null]",k="[object Object]",O="[object Promise]",H="[object Proxy]",q="[object RegExp]",G="[object Set]",Y="[object String]",ue="[object Symbol]",ee="[object Undefined]",fe="[object WeakMap]",N="[object ArrayBuffer]",re="[object DataView]",K="[object Float32Array]",ne="[object Float64Array]",ie="[object Int8Array]",ce="[object Int16Array]",me="[object Int32Array]",ae="[object Uint8Array]",be="[object Uint8ClampedArray]",ge="[object Uint16Array]",xe="[object Uint32Array]",Le=/[\\^$.*+?()[\]{}|]/g,Pe=/^\[object .+?Constructor\]$/,We=/^(?:0|[1-9]\d*)$/,Te={};Te[K]=Te[ne]=Te[ie]=Te[ce]=Te[me]=Te[ae]=Te[be]=Te[ge]=Te[xe]=!0,Te[h]=Te[g]=Te[N]=Te[M]=Te[re]=Te[T]=Te[C]=Te[_]=Te[D]=Te[A]=Te[k]=Te[q]=Te[G]=Te[Y]=Te[fe]=!1;var ot=typeof yi=="object"&&yi&&yi.Object===Object&&yi,pt=typeof self=="object"&&self&&self.Object===Object&&self,Ke=ot||pt||Function("return this")(),Ye=e&&!e.nodeType&&e,Oe=Ye&&!0&&r&&!r.nodeType&&r,ke=Oe&&Oe.exports===Ye,Ee=ke&&ot.process,Ne=function(){try{return Ee&&Ee.binding&&Ee.binding("util")}catch{}}(),Re=Ne&&Ne.isTypedArray;function Je(R,V){for(var le=-1,De=R==null?0:R.length,Ut=0,qt=[];++le<De;){var hr=R[le];V(hr,le,R)&&(qt[Ut++]=hr)}return qt}function ft(R,V){for(var le=-1,De=V.length,Ut=R.length;++le<De;)R[Ut+le]=V[le];return R}function xt(R,V){for(var le=-1,De=R==null?0:R.length;++le<De;)if(V(R[le],le,R))return!0;return!1}function St(R,V){for(var le=-1,De=Array(R);++le<R;)De[le]=V(le);return De}function mt(R){return function(V){return R(V)}}function It(R,V){return R.has(V)}function Ct(R,V){return R==null?void 0:R[V]}function ct(R){var V=-1,le=Array(R.size);return R.forEach(function(De,Ut){le[++V]=[Ut,De]}),le}function ut(R,V){return function(le){return R(V(le))}}function et(R){var V=-1,le=Array(R.size);return R.forEach(function(De){le[++V]=De}),le}var Se=Array.prototype,Ze=Function.prototype,at=Object.prototype,gt=Ke["__core-js_shared__"],Tt=Ze.toString,je=at.hasOwnProperty,_t=function(){var R=/[^.]+$/.exec(gt&>.keys&>.keys.IE_PROTO||"");return R?"Symbol(src)_1."+R:""}(),Mt=at.toString,vr=RegExp("^"+Tt.call(je).replace(Le,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nr=ke?Ke.Buffer:void 0,Zt=Ke.Symbol,he=Ke.Uint8Array,te=at.propertyIsEnumerable,Fe=Se.splice,Xe=Zt?Zt.toStringTag:void 0,Lt=Object.getOwnPropertySymbols,vt=nr?nr.isBuffer:void 0,wt=ut(Object.keys,Object),Gt=jt(Ke,"DataView"),Ft=jt(Ke,"Map"),sr=jt(Ke,"Promise"),dr=jt(Ke,"Set"),Rr=jt(Ke,"WeakMap"),ur=jt(Object,"create"),xr=Xr(Gt),Wr=Xr(Ft),st=Xr(sr),Rt=Xr(dr),bt=Xr(Rr),Qe=Zt?Zt.prototype:void 0,Nt=Qe?Qe.valueOf:void 0;function Q(R){var V=-1,le=R==null?0:R.length;for(this.clear();++V<le;){var De=R[V];this.set(De[0],De[1])}}function He(){this.__data__=ur?ur(null):{},this.size=0}function ht(R){var V=this.has(R)&&delete this.__data__[R];return this.size-=V?1:0,V}function Ot(R){var V=this.__data__;if(ur){var le=V[R];return le===n?void 0:le}return je.call(V,R)?V[R]:void 0}function er(R){var V=this.__data__;return ur?V[R]!==void 0:je.call(V,R)}function Yt(R,V){var le=this.__data__;return this.size+=this.has(R)?0:1,le[R]=ur&&V===void 0?n:V,this}Q.prototype.clear=He,Q.prototype.delete=ht,Q.prototype.get=Ot,Q.prototype.has=er,Q.prototype.set=Yt;function Dt(R){var V=-1,le=R==null?0:R.length;for(this.clear();++V<le;){var De=R[V];this.set(De[0],De[1])}}function Kt(){this.__data__=[],this.size=0}function Mr(R){var V=this.__data__,le=wn(V,R);if(le<0)return!1;var De=V.length-1;return le==De?V.pop():Fe.call(V,le,1),--this.size,!0}function ar(R){var V=this.__data__,le=wn(V,R);return le<0?void 0:V[le][1]}function fr(R){return wn(this.__data__,R)>-1}function zr(R,V){var le=this.__data__,De=wn(le,R);return De<0?(++this.size,le.push([R,V])):le[De][1]=V,this}Dt.prototype.clear=Kt,Dt.prototype.delete=Mr,Dt.prototype.get=ar,Dt.prototype.has=fr,Dt.prototype.set=zr;function gr(R){var V=-1,le=R==null?0:R.length;for(this.clear();++V<le;){var De=R[V];this.set(De[0],De[1])}}function Vn(){this.size=0,this.__data__={hash:new Q,map:new(Ft||Dt),string:new Q}}function Sn(R){var V=At(this,R).delete(R);return this.size-=V?1:0,V}function Mn(R){return At(this,R).get(R)}function Kr(R){return At(this,R).has(R)}function Gn(R,V){var le=At(this,R),De=le.size;return le.set(R,V),this.size+=le.size==De?0:1,this}gr.prototype.clear=Vn,gr.prototype.delete=Sn,gr.prototype.get=Mn,gr.prototype.has=Kr,gr.prototype.set=Gn;function Tn(R){var V=-1,le=R==null?0:R.length;for(this.__data__=new gr;++V<le;)this.add(R[V])}function Zn(R){return this.__data__.set(R,n),this}function Yn(R){return this.__data__.has(R)}Tn.prototype.add=Tn.prototype.push=Zn,Tn.prototype.has=Yn;function nn(R){var V=this.__data__=new Dt(R);this.size=V.size}function Dn(){this.__data__=new Dt,this.size=0}function Cn(R){var V=this.__data__,le=V.delete(R);return this.size=V.size,le}function di(R){return this.__data__.get(R)}function _i(R){return this.__data__.has(R)}function xi(R,V){var le=this.__data__;if(le instanceof Dt){var De=le.__data__;if(!Ft||De.length<t-1)return De.push([R,V]),this.size=++le.size,this;le=this.__data__=new gr(De)}return le.set(R,V),this.size=le.size,this}nn.prototype.clear=Dn,nn.prototype.delete=Cn,nn.prototype.get=di,nn.prototype.has=_i,nn.prototype.set=xi;function En(R,V){var le=Xn(R),De=!le&&jn(R),Ut=!le&&!De&&eo(R),qt=!le&&!De&&!Ut&&Hi(R),hr=le||De||Ut||qt,_r=hr?St(R.length,String):[],lr=_r.length;for(var Cr in R)je.call(R,Cr)&&!(hr&&(Cr=="length"||Ut&&(Cr=="offset"||Cr=="parent")||qt&&(Cr=="buffer"||Cr=="byteLength"||Cr=="byteOffset")||vn(Cr,lr)))&&_r.push(Cr);return _r}function wn(R,V){for(var le=R.length;le--;)if(hi(R[le][0],V))return le;return-1}function cn(R,V,le){var De=V(R);return Xn(R)?De:ft(De,le(R))}function Kn(R){return R==null?R===void 0?ee:b:Xe&&Xe in Object(R)?Pt(R):Si(R)}function on(R){return Qn(R)&&Kn(R)==h}function dn(R,V,le,De,Ut){return R===V?!0:R==null||V==null||!Qn(R)&&!Qn(V)?R!==R&&V!==V:x(R,V,le,De,dn,Ut)}function x(R,V,le,De,Ut,qt){var hr=Xn(R),_r=Xn(V),lr=hr?g:Zr(R),Cr=_r?g:Zr(V);lr=lr==h?k:lr,Cr=Cr==h?k:Cr;var Jr=lr==k,Rn=Cr==k,Vr=lr==Cr;if(Vr&&eo(R)){if(!eo(V))return!1;hr=!0,Jr=!1}if(Vr&&!Jr)return qt||(qt=new nn),hr||Hi(R)?we(R,V,le,De,Ut,qt):ye(R,V,lr,le,De,Ut,qt);if(!(le&i)){var jr=Jr&&je.call(R,"__wrapped__"),Qr=Rn&&je.call(V,"__wrapped__");if(jr||Qr){var li=jr?R.value():R,pi=Qr?V.value():V;return qt||(qt=new nn),Ut(li,pi,le,De,qt)}}return Vr?(qt||(qt=new nn),Me(R,V,le,De,Ut,qt)):!1}function j(R){if(!Jn(R)||ai(R))return!1;var V=kn(R)?vr:Pe;return V.test(Xr(R))}function W(R){return Qn(R)&&bo(R.length)&&!!Te[Kn(R)]}function X(R){if(!Nn(R))return wt(R);var V=[];for(var le in Object(R))je.call(R,le)&&le!="constructor"&&V.push(le);return V}function we(R,V,le,De,Ut,qt){var hr=le&i,_r=R.length,lr=V.length;if(_r!=lr&&!(hr&&lr>_r))return!1;var Cr=qt.get(R);if(Cr&&qt.get(V))return Cr==V;var Jr=-1,Rn=!0,Vr=le&l?new Tn:void 0;for(qt.set(R,V),qt.set(V,R);++Jr<_r;){var jr=R[Jr],Qr=V[Jr];if(De)var li=hr?De(Qr,jr,Jr,V,R,qt):De(jr,Qr,Jr,R,V,qt);if(li!==void 0){if(li)continue;Rn=!1;break}if(Vr){if(!xt(V,function(pi,Fn){if(!It(Vr,Fn)&&(jr===pi||Ut(jr,pi,le,De,qt)))return Vr.push(Fn)})){Rn=!1;break}}else if(!(jr===Qr||Ut(jr,Qr,le,De,qt))){Rn=!1;break}}return qt.delete(R),qt.delete(V),Rn}function ye(R,V,le,De,Ut,qt,hr){switch(le){case re:if(R.byteLength!=V.byteLength||R.byteOffset!=V.byteOffset)return!1;R=R.buffer,V=V.buffer;case N:return!(R.byteLength!=V.byteLength||!qt(new he(R),new he(V)));case M:case T:case A:return hi(+R,+V);case C:return R.name==V.name&&R.message==V.message;case q:case Y:return R==V+"";case D:var _r=ct;case G:var lr=De&i;if(_r||(_r=et),R.size!=V.size&&!lr)return!1;var Cr=hr.get(R);if(Cr)return Cr==V;De|=l,hr.set(R,V);var Jr=we(_r(R),_r(V),De,Ut,qt,hr);return hr.delete(R),Jr;case ue:if(Nt)return Nt.call(R)==Nt.call(V)}return!1}function Me(R,V,le,De,Ut,qt){var hr=le&i,_r=tt(R),lr=_r.length,Cr=tt(V),Jr=Cr.length;if(lr!=Jr&&!hr)return!1;for(var Rn=lr;Rn--;){var Vr=_r[Rn];if(!(hr?Vr in V:je.call(V,Vr)))return!1}var jr=qt.get(R);if(jr&&qt.get(V))return jr==V;var Qr=!0;qt.set(R,V),qt.set(V,R);for(var li=hr;++Rn<lr;){Vr=_r[Rn];var pi=R[Vr],Fn=V[Vr];if(De)var _o=hr?De(Fn,pi,Vr,V,R,qt):De(pi,Fn,Vr,R,V,qt);if(!(_o===void 0?pi===Fn||Ut(pi,Fn,le,De,qt):_o)){Qr=!1;break}li||(li=Vr=="constructor")}if(Qr&&!li){var zi=R.constructor,sn=V.constructor;zi!=sn&&"constructor"in R&&"constructor"in V&&!(typeof zi=="function"&&zi instanceof zi&&typeof sn=="function"&&sn instanceof sn)&&(Qr=!1)}return qt.delete(R),qt.delete(V),Qr}function tt(R){return cn(R,Dr,br)}function At(R,V){var le=R.__data__;return yn(V)?le[typeof V=="string"?"string":"hash"]:le.map}function jt(R,V){var le=Ct(R,V);return j(le)?le:void 0}function Pt(R){var V=je.call(R,Xe),le=R[Xe];try{R[Xe]=void 0;var De=!0}catch{}var Ut=Mt.call(R);return De&&(V?R[Xe]=le:delete R[Xe]),Ut}var br=Lt?function(R){return R==null?[]:(R=Object(R),Je(Lt(R),function(V){return te.call(R,V)}))}:Sr,Zr=Kn;(Gt&&Zr(new Gt(new ArrayBuffer(1)))!=re||Ft&&Zr(new Ft)!=D||sr&&Zr(sr.resolve())!=O||dr&&Zr(new dr)!=G||Rr&&Zr(new Rr)!=fe)&&(Zr=function(R){var V=Kn(R),le=V==k?R.constructor:void 0,De=le?Xr(le):"";if(De)switch(De){case xr:return re;case Wr:return D;case st:return O;case Rt:return G;case bt:return fe}return V});function vn(R,V){return V=V??u,!!V&&(typeof R=="number"||We.test(R))&&R>-1&&R%1==0&&R<V}function yn(R){var V=typeof R;return V=="string"||V=="number"||V=="symbol"||V=="boolean"?R!=="__proto__":R===null}function ai(R){return!!_t&&_t in R}function Nn(R){var V=R&&R.constructor,le=typeof V=="function"&&V.prototype||at;return R===le}function Si(R){return Mt.call(R)}function Xr(R){if(R!=null){try{return Tt.call(R)}catch{}try{return R+""}catch{}}return""}function hi(R,V){return R===V||R!==R&&V!==V}var jn=on(function(){return arguments}())?on:function(R){return Qn(R)&&je.call(R,"callee")&&!te.call(R,"callee")},Xn=Array.isArray;function yo(R){return R!=null&&bo(R.length)&&!kn(R)}var eo=vt||Ir;function to(R,V){return dn(R,V)}function kn(R){if(!Jn(R))return!1;var V=Kn(R);return V==_||V==S||V==m||V==H}function bo(R){return typeof R=="number"&&R>-1&&R%1==0&&R<=u}function Jn(R){var V=typeof R;return R!=null&&(V=="object"||V=="function")}function Qn(R){return R!=null&&typeof R=="object"}var Hi=Re?mt(Re):W;function Dr(R){return yo(R)?En(R):X(R)}function Sr(){return[]}function Ir(){return!1}r.exports=to}(Pf,Pf.exports)),Pf.exports}var Rd={},R0;function BL(){if(R0)return Rd;R0=1,Object.defineProperty(Rd,"__esModule",{value:!0});const r=Sx(),e=Cx();var t;return function(n){function i(g={},m={},M=!1){typeof g!="object"&&(g={}),typeof m!="object"&&(m={});let T=r(m);M||(T=Object.keys(T).reduce((C,_)=>(T[_]!=null&&(C[_]=T[_]),C),{}));for(const C in g)g[C]!==void 0&&m[C]===void 0&&(T[C]=g[C]);return Object.keys(T).length>0?T:void 0}n.compose=i;function l(g={},m={}){typeof g!="object"&&(g={}),typeof m!="object"&&(m={});const M=Object.keys(g).concat(Object.keys(m)).reduce((T,C)=>(e(g[C],m[C])||(T[C]=m[C]===void 0?null:m[C]),T),{});return Object.keys(M).length>0?M:void 0}n.diff=l;function u(g={},m={}){g=g||{};const M=Object.keys(m).reduce((T,C)=>(m[C]!==g[C]&&g[C]!==void 0&&(T[C]=m[C]),T),{});return Object.keys(g).reduce((T,C)=>(g[C]!==m[C]&&m[C]===void 0&&(T[C]=null),T),M)}n.invert=u;function h(g,m,M=!1){if(typeof g!="object")return m;if(typeof m!="object")return;if(!M)return m;const T=Object.keys(m).reduce((C,_)=>(g[_]===void 0&&(C[_]=m[_]),C),{});return Object.keys(T).length>0?T:void 0}n.transform=h}(t||(t={})),Rd.default=t,Rd}var Id={},I0;function wx(){if(I0)return Id;I0=1,Object.defineProperty(Id,"__esModule",{value:!0});var r;return function(e){function t(n){return typeof n.delete=="number"?n.delete:typeof n.retain=="number"?n.retain:typeof n.retain=="object"&&n.retain!==null?1:typeof n.insert=="string"?n.insert.length:1}e.length=t}(r||(r={})),Id.default=r,Id}var Ld={},L0;function qL(){if(L0)return Ld;L0=1,Object.defineProperty(Ld,"__esModule",{value:!0});const r=wx();class e{constructor(n){this.ops=n,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(n){n||(n=1/0);const i=this.ops[this.index];if(i){const l=this.offset,u=r.default.length(i);if(n>=u-l?(n=u-l,this.index+=1,this.offset=0):this.offset+=n,typeof i.delete=="number")return{delete:n};{const h={};return i.attributes&&(h.attributes=i.attributes),typeof i.retain=="number"?h.retain=n:typeof i.retain=="object"&&i.retain!==null?h.retain=i.retain:typeof i.insert=="string"?h.insert=i.insert.substr(l,n):h.insert=i.insert,h}}else return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?r.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const n=this.ops[this.index];return n?typeof n.delete=="number"?"delete":typeof n.retain=="number"||typeof n.retain=="object"&&n.retain!==null?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);{const n=this.offset,i=this.index,l=this.next(),u=this.ops.slice(this.index);return this.offset=n,this.index=i,[l].concat(u)}}else return[]}}return Ld.default=e,Ld}var M0;function HL(){return M0||(M0=1,function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.AttributeMap=e.OpIterator=e.Op=void 0;const t=FL(),n=Sx(),i=Cx(),l=BL();e.AttributeMap=l.default;const u=wx();e.Op=u.default;const h=qL();e.OpIterator=h.default;const g="\0",m=(T,C)=>{if(typeof T!="object"||T===null)throw new Error(`cannot retain a ${typeof T}`);if(typeof C!="object"||C===null)throw new Error(`cannot retain a ${typeof C}`);const _=Object.keys(T)[0];if(!_||_!==Object.keys(C)[0])throw new Error(`embed types not matched: ${_} != ${Object.keys(C)[0]}`);return[_,T[_],C[_]]};class M{constructor(C){Array.isArray(C)?this.ops=C:C!=null&&Array.isArray(C.ops)?this.ops=C.ops:this.ops=[]}static registerEmbed(C,_){this.handlers[C]=_}static unregisterEmbed(C){delete this.handlers[C]}static getHandler(C){const _=this.handlers[C];if(!_)throw new Error(`no handlers for embed type "${C}"`);return _}insert(C,_){const S={};return typeof C=="string"&&C.length===0?this:(S.insert=C,_!=null&&typeof _=="object"&&Object.keys(_).length>0&&(S.attributes=_),this.push(S))}delete(C){return C<=0?this:this.push({delete:C})}retain(C,_){if(typeof C=="number"&&C<=0)return this;const S={retain:C};return _!=null&&typeof _=="object"&&Object.keys(_).length>0&&(S.attributes=_),this.push(S)}push(C){let _=this.ops.length,S=this.ops[_-1];if(C=n(C),typeof S=="object"){if(typeof C.delete=="number"&&typeof S.delete=="number")return this.ops[_-1]={delete:S.delete+C.delete},this;if(typeof S.delete=="number"&&C.insert!=null&&(_-=1,S=this.ops[_-1],typeof S!="object"))return this.ops.unshift(C),this;if(i(C.attributes,S.attributes)){if(typeof C.insert=="string"&&typeof S.insert=="string")return this.ops[_-1]={insert:S.insert+C.insert},typeof C.attributes=="object"&&(this.ops[_-1].attributes=C.attributes),this;if(typeof C.retain=="number"&&typeof S.retain=="number")return this.ops[_-1]={retain:S.retain+C.retain},typeof C.attributes=="object"&&(this.ops[_-1].attributes=C.attributes),this}}return _===this.ops.length?this.ops.push(C):this.ops.splice(_,0,C),this}chop(){const C=this.ops[this.ops.length-1];return C&&typeof C.retain=="number"&&!C.attributes&&this.ops.pop(),this}filter(C){return this.ops.filter(C)}forEach(C){this.ops.forEach(C)}map(C){return this.ops.map(C)}partition(C){const _=[],S=[];return this.forEach(D=>{(C(D)?_:S).push(D)}),[_,S]}reduce(C,_){return this.ops.reduce(C,_)}changeLength(){return this.reduce((C,_)=>_.insert?C+u.default.length(_):_.delete?C-_.delete:C,0)}length(){return this.reduce((C,_)=>C+u.default.length(_),0)}slice(C=0,_=1/0){const S=[],D=new h.default(this.ops);let A=0;for(;A<_&&D.hasNext();){let b;A<C?b=D.next(C-A):(b=D.next(_-A),S.push(b)),A+=u.default.length(b)}return new M(S)}compose(C){const _=new h.default(this.ops),S=new h.default(C.ops),D=[],A=S.peek();if(A!=null&&typeof A.retain=="number"&&A.attributes==null){let k=A.retain;for(;_.peekType()==="insert"&&_.peekLength()<=k;)k-=_.peekLength(),D.push(_.next());A.retain-k>0&&S.next(A.retain-k)}const b=new M(D);for(;_.hasNext()||S.hasNext();)if(S.peekType()==="insert")b.push(S.next());else if(_.peekType()==="delete")b.push(_.next());else{const k=Math.min(_.peekLength(),S.peekLength()),O=_.next(k),H=S.next(k);if(H.retain){const q={};if(typeof O.retain=="number")q.retain=typeof H.retain=="number"?k:H.retain;else if(typeof H.retain=="number")O.retain==null?q.insert=O.insert:q.retain=O.retain;else{const Y=O.retain==null?"insert":"retain",[ue,ee,fe]=m(O[Y],H.retain),N=M.getHandler(ue);q[Y]={[ue]:N.compose(ee,fe,Y==="retain")}}const G=l.default.compose(O.attributes,H.attributes,typeof O.retain=="number");if(G&&(q.attributes=G),b.push(q),!S.hasNext()&&i(b.ops[b.ops.length-1],q)){const Y=new M(_.rest());return b.concat(Y).chop()}}else typeof H.delete=="number"&&(typeof O.retain=="number"||typeof O.retain=="object"&&O.retain!==null)&&b.push(H)}return b.chop()}concat(C){const _=new M(this.ops.slice());return C.ops.length>0&&(_.push(C.ops[0]),_.ops=_.ops.concat(C.ops.slice(1))),_}diff(C,_){if(this.ops===C.ops)return new M;const S=[this,C].map(O=>O.map(H=>{if(H.insert!=null)return typeof H.insert=="string"?H.insert:g;const q=O===C?"on":"with";throw new Error("diff() called "+q+" non-document")}).join("")),D=new M,A=t(S[0],S[1],_,!0),b=new h.default(this.ops),k=new h.default(C.ops);return A.forEach(O=>{let H=O[1].length;for(;H>0;){let q=0;switch(O[0]){case t.INSERT:q=Math.min(k.peekLength(),H),D.push(k.next(q));break;case t.DELETE:q=Math.min(H,b.peekLength()),b.next(q),D.delete(q);break;case t.EQUAL:q=Math.min(b.peekLength(),k.peekLength(),H);const G=b.next(q),Y=k.next(q);i(G.insert,Y.insert)?D.retain(q,l.default.diff(G.attributes,Y.attributes)):D.push(Y).delete(q);break}H-=q}}),D.chop()}eachLine(C,_=`
|
52
|
+
}`;var Tr=Ov(function(){return Or(Z,Wt+"return "+nt).apply(t,se)});if(Tr.source=nt,Ph(Tr))throw Tr;return Tr}function sA(o){return tn(o).toLowerCase()}function aA(o){return tn(o).toUpperCase()}function lA(o,a,p){if(o=tn(o),o&&(p||a===t))return dt(o);if(!o||!(a=Mi(a)))return o;var E=un(o),B=un(a),Z=Gr(E,B),se=ei(E,B)+1;return co(E,Z,se).join("")}function cA(o,a,p){if(o=tn(o),o&&(p||a===t))return o.slice(0,nu(o)+1);if(!o||!(a=Mi(a)))return o;var E=un(o),B=ei(E,un(a))+1;return co(E,0,B).join("")}function uA(o,a,p){if(o=tn(o),o&&(p||a===t))return o.replace(bt,"");if(!o||!(a=Mi(a)))return o;var E=un(o),B=Gr(E,un(a));return co(E,B).join("")}function fA(o,a){var p=fe,E=N;if(Ln(a)){var B="separator"in a?a.separator:B;p="length"in a?wr(a.length):p,E="omission"in a?Mi(a.omission):E}o=tn(o);var Z=o.length;if(Zs(o)){var se=un(o);Z=se.length}if(p>=Z)return o;var de=p-Ys(E);if(de<1)return E;var ve=se?co(se,0,de).join(""):o.slice(0,de);if(B===t)return ve+E;if(se&&(de+=ve.length-de),Nh(B)){if(o.slice(de).search(B)){var We,Ge=ve;for(B.global||(B=Ks(B.source,tn(Dt.exec(B))+"g")),B.lastIndex=0;We=B.exec(Ge);)var nt=We.index;ve=ve.slice(0,nt===t?de:nt)}}else if(o.indexOf(Mi(B),de)!=de){var kt=ve.lastIndexOf(B);kt>-1&&(ve=ve.slice(0,kt))}return ve+E}function dA(o){return o=tn(o),o&&Gt.test(o)?o.replace(vt,iu):o}var hA=L(function(o,a,p){return o+(p?" ":"")+a.toUpperCase()}),Bh=y("toUpperCase");function Dv(o,a,p){return o=tn(o),a=p?t:a,a===t?ef(o)?ou(o):Ws(o):o.match(a)||[]}var Ov=pr(function(o,a){try{return sn(o,t,a)}catch(p){return Ph(p)?p:new Qt(p)}}),pA=Va(function(o,a){return Bn(a,function(p){p=pa(p),Ri(o,p,Dh(o[p],o))}),o});function gA(o){var a=o==null?0:o.length,p=rr();return o=a?Yr(o,function(E){if(typeof E[1]!="function")throw new Ni(u);return[p(E[0]),E[1]]}):[],pr(function(E){for(var B=-1;++B<a;){var Z=o[B];if(sn(Z[0],this,E))return sn(Z[1],this,E)}})}function mA(o){return vc(fi(o,T))}function qh(o){return function(){return o}}function vA(o,a){return o==null||o!==o?a:o}var yA=_e(),bA=_e(!0);function go(o){return o}function Hh(o){return Ml(typeof o=="function"?o:fi(o,T))}function _A(o){return lo(fi(o,T))}function xA(o,a){return Ba(o,fi(a,T))}var SA=pr(function(o,a){return function(p){return ao(p,o,a)}}),CA=pr(function(o,a){return function(p){return ao(o,p,a)}});function zh(o,a,p){var E=mi(a),B=sa(a,E);p==null&&!(Ln(a)&&(B.length||!E.length))&&(p=a,a=o,o=this,B=sa(a,mi(a)));var Z=!(Ln(p)&&"chain"in p)||!!p.chain,se=Za(o);return Bn(B,function(de){var ve=a[de];o[de]=ve,se&&(o.prototype[de]=function(){var We=this.__chain__;if(Z||We){var Ge=o(this.__wrapped__),nt=Ge.__actions__=ni(this.__actions__);return nt.push({func:ve,args:arguments,thisArg:o}),Ge.__chain__=We,Ge}return ve.apply(o,Ci([this.value()],arguments))})}),o}function wA(){return lr._===this&&(lr._=sc),this}function $h(){}function AA(o){return o=wr(o),pr(function(a){return fa(a,o)})}var TA=Jt(Yr),EA=Jt(Ca),kA=Jt(zo);function Pv(o){return Eh(o)?w(pa(o)):bu(o)}function RA(o){return function(a){return o==null?t:Qo(o,a)}}var IA=ns(),LA=ns(!0);function Uh(){return[]}function Wh(){return!1}function MA(){return{}}function DA(){return""}function OA(){return!0}function PA(o,a){if(o=wr(o),o<1||o>le)return[];var p=xe,E=In(o,xe);a=rr(a),o-=xe;for(var B=Ce(E,a);++p<o;)a(p);return B}function NA(o){return yr(o)?Yr(o,pa):No(o)?[o]:ni(tv(tn(o)))}function jA(o){var a=++ic;return tn(o)+a}var FA=yt(function(o,a){return o+a},0),BA=is("ceil"),qA=yt(function(o,a){return o/a},1),HA=is("floor");function zA(o){return o&&o.length?Al(o,go,ws):t}function $A(o,a){return o&&o.length?Al(o,rr(a,2),ws):t}function UA(o){return Aa(o,go)}function WA(o,a){return Aa(o,rr(a,2))}function VA(o){return o&&o.length?Al(o,go,Vi):t}function GA(o,a){return o&&o.length?Al(o,rr(a,2),Vi):t}var ZA=yt(function(o,a){return o*a},1),YA=is("round"),KA=yt(function(o,a){return o-a},0);function XA(o){return o&&o.length?Te(o,go):0}function JA(o,a){return o&&o.length?Te(o,rr(a,2)):0}return $.after=_w,$.ary=dv,$.assign=a3,$.assignIn=Tv,$.assignInWith=yd,$.assignWith=l3,$.at=c3,$.before=hv,$.bind=Dh,$.bindAll=pA,$.bindKey=pv,$.castArray=Mw,$.chain=cv,$.chunk=HS,$.compact=zS,$.concat=$S,$.cond=gA,$.conforms=mA,$.constant=qh,$.countBy=XC,$.create=u3,$.curry=gv,$.curryRight=mv,$.debounce=vv,$.defaults=f3,$.defaultsDeep=d3,$.defer=xw,$.delay=Sw,$.difference=US,$.differenceBy=WS,$.differenceWith=VS,$.drop=GS,$.dropRight=ZS,$.dropRightWhile=YS,$.dropWhile=KS,$.fill=XS,$.filter=QC,$.flatMap=rw,$.flatMapDeep=nw,$.flatMapDepth=iw,$.flatten=ov,$.flattenDeep=JS,$.flattenDepth=QS,$.flip=Cw,$.flow=yA,$.flowRight=bA,$.fromPairs=eC,$.functions=b3,$.functionsIn=_3,$.groupBy=ow,$.initial=rC,$.intersection=nC,$.intersectionBy=iC,$.intersectionWith=oC,$.invert=S3,$.invertBy=C3,$.invokeMap=aw,$.iteratee=Hh,$.keyBy=lw,$.keys=mi,$.keysIn=po,$.map=dd,$.mapKeys=A3,$.mapValues=T3,$.matches=_A,$.matchesProperty=xA,$.memoize=pd,$.merge=E3,$.mergeWith=Ev,$.method=SA,$.methodOf=CA,$.mixin=zh,$.negate=gd,$.nthArg=AA,$.omit=k3,$.omitBy=R3,$.once=ww,$.orderBy=cw,$.over=TA,$.overArgs=Aw,$.overEvery=EA,$.overSome=kA,$.partial=Oh,$.partialRight=yv,$.partition=uw,$.pick=I3,$.pickBy=kv,$.property=Pv,$.propertyOf=RA,$.pull=cC,$.pullAll=av,$.pullAllBy=uC,$.pullAllWith=fC,$.pullAt=dC,$.range=IA,$.rangeRight=LA,$.rearg=Tw,$.reject=hw,$.remove=hC,$.rest=Ew,$.reverse=Lh,$.sampleSize=gw,$.set=M3,$.setWith=D3,$.shuffle=mw,$.slice=pC,$.sortBy=bw,$.sortedUniq=xC,$.sortedUniqBy=SC,$.split=rA,$.spread=kw,$.tail=CC,$.take=wC,$.takeRight=AC,$.takeRightWhile=TC,$.takeWhile=EC,$.tap=zC,$.throttle=Rw,$.thru=fd,$.toArray=Cv,$.toPairs=Rv,$.toPairsIn=Iv,$.toPath=NA,$.toPlainObject=Av,$.transform=O3,$.unary=Iw,$.union=kC,$.unionBy=RC,$.unionWith=IC,$.uniq=LC,$.uniqBy=MC,$.uniqWith=DC,$.unset=P3,$.unzip=Mh,$.unzipWith=lv,$.update=N3,$.updateWith=j3,$.values=Eu,$.valuesIn=F3,$.without=OC,$.words=Dv,$.wrap=Lw,$.xor=PC,$.xorBy=NC,$.xorWith=jC,$.zip=FC,$.zipObject=BC,$.zipObjectDeep=qC,$.zipWith=HC,$.entries=Rv,$.entriesIn=Iv,$.extend=Tv,$.extendWith=yd,zh($,$),$.add=FA,$.attempt=Ov,$.camelCase=z3,$.capitalize=Lv,$.ceil=BA,$.clamp=B3,$.clone=Dw,$.cloneDeep=Pw,$.cloneDeepWith=Nw,$.cloneWith=Ow,$.conformsTo=jw,$.deburr=Mv,$.defaultTo=vA,$.divide=qA,$.endsWith=$3,$.eq=Rs,$.escape=U3,$.escapeRegExp=W3,$.every=JC,$.find=ew,$.findIndex=nv,$.findKey=h3,$.findLast=tw,$.findLastIndex=iv,$.findLastKey=p3,$.floor=HA,$.forEach=uv,$.forEachRight=fv,$.forIn=g3,$.forInRight=m3,$.forOwn=v3,$.forOwnRight=y3,$.get=jh,$.gt=Fw,$.gte=Bw,$.has=x3,$.hasIn=Fh,$.head=sv,$.identity=go,$.includes=sw,$.indexOf=tC,$.inRange=q3,$.invoke=w3,$.isArguments=Fc,$.isArray=yr,$.isArrayBuffer=qw,$.isArrayLike=ho,$.isArrayLikeObject=$n,$.isBoolean=Hw,$.isBuffer=zl,$.isDate=zw,$.isElement=$w,$.isEmpty=Uw,$.isEqual=Ww,$.isEqualWith=Vw,$.isError=Ph,$.isFinite=Gw,$.isFunction=Za,$.isInteger=bv,$.isLength=md,$.isMap=_v,$.isMatch=Zw,$.isMatchWith=Yw,$.isNaN=Kw,$.isNative=Xw,$.isNil=Qw,$.isNull=Jw,$.isNumber=xv,$.isObject=Ln,$.isObjectLike=Pn,$.isPlainObject=Sf,$.isRegExp=Nh,$.isSafeInteger=e3,$.isSet=Sv,$.isString=vd,$.isSymbol=No,$.isTypedArray=Tu,$.isUndefined=t3,$.isWeakMap=r3,$.isWeakSet=n3,$.join=sC,$.kebabCase=V3,$.last=os,$.lastIndexOf=aC,$.lowerCase=G3,$.lowerFirst=Z3,$.lt=i3,$.lte=o3,$.max=zA,$.maxBy=$A,$.mean=UA,$.meanBy=WA,$.min=VA,$.minBy=GA,$.stubArray=Uh,$.stubFalse=Wh,$.stubObject=MA,$.stubString=DA,$.stubTrue=OA,$.multiply=ZA,$.nth=lC,$.noConflict=wA,$.noop=$h,$.now=hd,$.pad=Y3,$.padEnd=K3,$.padStart=X3,$.parseInt=J3,$.random=H3,$.reduce=fw,$.reduceRight=dw,$.repeat=Q3,$.replace=eA,$.result=L3,$.round=YA,$.runInContext=pe,$.sample=pw,$.size=vw,$.snakeCase=tA,$.some=yw,$.sortedIndex=gC,$.sortedIndexBy=mC,$.sortedIndexOf=vC,$.sortedLastIndex=yC,$.sortedLastIndexBy=bC,$.sortedLastIndexOf=_C,$.startCase=nA,$.startsWith=iA,$.subtract=KA,$.sum=XA,$.sumBy=JA,$.template=oA,$.times=PA,$.toFinite=Ya,$.toInteger=wr,$.toLength=wv,$.toLower=sA,$.toNumber=ss,$.toSafeInteger=s3,$.toString=tn,$.toUpper=aA,$.trim=lA,$.trimEnd=cA,$.trimStart=uA,$.truncate=fA,$.unescape=dA,$.uniqueId=jA,$.upperCase=hA,$.upperFirst=Bh,$.each=uv,$.eachRight=fv,$.first=sv,zh($,function(){var o={};return Ii($,function(a,p){Hr.call($.prototype,p)||(o[p]=a)}),o}(),{chain:!1}),$.VERSION=n,Bn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(o){$[o].placeholder=$}),Bn(["drop","take"],function(o,a){mr.prototype[o]=function(p){p=p===t?1:ln(wr(p),0);var E=this.__filtered__&&!a?new mr(this):this.clone();return E.__filtered__?E.__takeCount__=In(p,E.__takeCount__):E.__views__.push({size:In(p,xe),type:o+(E.__dir__<0?"Right":"")}),E},mr.prototype[o+"Right"]=function(p){return this.reverse()[o](p).reverse()}}),Bn(["filter","map","takeWhile"],function(o,a){var p=a+1,E=p==ne||p==ce;mr.prototype[o]=function(B){var Z=this.clone();return Z.__iteratees__.push({iteratee:rr(B,3),type:p}),Z.__filtered__=Z.__filtered__||E,Z}}),Bn(["head","last"],function(o,a){var p="take"+(a?"Right":"");mr.prototype[o]=function(){return this[p](1).value()[0]}}),Bn(["initial","tail"],function(o,a){var p="drop"+(a?"":"Right");mr.prototype[o]=function(){return this.__filtered__?new mr(this):this[p](1)}}),mr.prototype.compact=function(){return this.filter(go)},mr.prototype.find=function(o){return this.filter(o).head()},mr.prototype.findLast=function(o){return this.reverse().find(o)},mr.prototype.invokeMap=pr(function(o,a){return typeof o=="function"?new mr(this):this.map(function(p){return ao(p,o,a)})}),mr.prototype.reject=function(o){return this.filter(gd(rr(o)))},mr.prototype.slice=function(o,a){o=wr(o);var p=this;return p.__filtered__&&(o>0||a<0)?new mr(p):(o<0?p=p.takeRight(-o):o&&(p=p.drop(o)),a!==t&&(a=wr(a),p=a<0?p.dropRight(-a):p.take(a-o)),p)},mr.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},mr.prototype.toArray=function(){return this.take(xe)},Ii(mr.prototype,function(o,a){var p=/^(?:filter|find|map|reject)|While$/.test(a),E=/^(?:head|last)$/.test(a),B=$[E?"take"+(a=="last"?"Right":""):a],Z=E||/^find/.test(a);B&&($.prototype[a]=function(){var se=this.__wrapped__,de=E?[1]:arguments,ve=se instanceof mr,We=de[0],Ge=ve||yr(se),nt=function(Nr){var qr=B.apply($,Ci([Nr],de));return E&&kt?qr[0]:qr};Ge&&p&&typeof We=="function"&&We.length!=1&&(ve=Ge=!1);var kt=this.__chain__,Wt=!!this.__actions__.length,ir=Z&&!kt,Tr=ve&&!Wt;if(!Z&&Ge){se=Tr?se:new mr(this);var or=o.apply(se,de);return or.__actions__.push({func:fd,args:[nt],thisArg:t}),new ti(or,kt)}return ir&&Tr?o.apply(this,de):(or=this.thru(nt),ir?E?or.value()[0]:or.value():or)})}),Bn(["pop","push","shift","sort","splice","unshift"],function(o){var a=ml[o],p=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",E=/^(?:pop|shift)$/.test(o);$.prototype[o]=function(){var B=arguments;if(E&&!this.__chain__){var Z=this.value();return a.apply(yr(Z)?Z:[],B)}return this[p](function(se){return a.apply(yr(se)?se:[],B)})}}),Ii(mr.prototype,function(o,a){var p=$[a];if(p){var E=p.name+"";Hr.call(ys,E)||(ys[E]=[]),ys[E].push({name:a,func:p})}}),ys[Ue(t,b).name]=[{name:"wrapper",func:t}],mr.prototype.clone=xl,mr.prototype.reverse=Da,mr.prototype.value=Sl,$.prototype.at=$C,$.prototype.chain=UC,$.prototype.commit=WC,$.prototype.next=VC,$.prototype.plant=ZC,$.prototype.reverse=YC,$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=KC,$.prototype.first=$.prototype.head,Ui&&($.prototype[Ui]=GC),$},wo=gl();Jr?((Jr.exports=wo)._=wo,Cr._=wo):lr._=wo}).call(o4)}(Lf,Lf.exports)),Lf.exports}var F_=s4();const el=il(F_),a4=r=>{try{return JSON.parse(r)}catch{return}},l4=(r,e)=>JSON.stringify(r,null,e),c4=r=>Object.keys(r),u4=r=>Object.values(r),f4=r=>Object.entries(r),d4=(r,e)=>{Object.entries(r).forEach(([t,n])=>e(t,n))},h4=(r,e)=>Object.keys(r).includes(e),p4=(r,e)=>Object.entries(r).map((t,n)=>e(t,n)),g4=(r,e)=>Object.entries(r).some(([t,n])=>e(t,n)),m4=(r,e)=>Object.entries(r).find(([t,n])=>e(t,n)),B_=r=>I.isValidElement(r)||typeof r=="string"||typeof r=="number"||typeof r=="boolean"||r===null||r===void 0||Array.isArray(r)&&r.every(B_),v4=(r,e)=>el.isEqual(r,e),Xt={equal:v4,parse:a4,stringify:l4,keys:c4,values:u4,entries:f4,forEach:d4,hasKey:h4,map:p4,some:g4,find:m4,isReactNode:B_},q_="_NoSelect_1wchx_1",H_="_IsFixedShape_1wchx_6",z_="_IsCursorPointer_1wchx_11",$_="_IsInteractive_1wchx_15",Bc={NoSelect:q_,IsFixedShape:H_,IsCursorPointer:z_,IsInteractive:$_},y4="_Display1_1udub_1",b4="_Display2_1udub_8",_4="_Title1_1udub_15",x4="_Title2_1udub_22",S4="_Title3_1udub_29",C4="_Headline1_1udub_36",w4="_Headline2_1udub_43",A4="_Body1Normal_1udub_50",T4="_Body1Reading_1udub_57",E4="_Label1_1udub_64",k4="_Label2_1udub_71",R4="_Caption1_1udub_78",I4="_Caption2_1udub_85",L4="_Regular_1udub_92",M4="_Medium_1udub_96",D4="_SemiBold_1udub_100",O4="_Bold_1udub_104",Di={Display1:y4,Display2:b4,Title1:_4,Title2:x4,Title3:S4,Headline1:C4,Headline2:w4,Body1Normal:A4,Body1Reading:T4,Label1:E4,Label2:k4,Caption1:R4,Caption2:I4,Regular:L4,Medium:M4,SemiBold:D4,Bold:O4};function Hv(...r){return r.filter(Boolean).join(" ")}const U_={NoSelect:Bc.NoSelect,IsClickable:Hv(Bc.NoSelect,Bc.IsCursorPointer,Bc.IsFixedShape),IsInteractive:Hv(Bc.NoSelect,Bc.IsCursorPointer,Bc.IsInteractive)},W_={Display1:Di.Display1,Display2:Di.Display2,Title1:Di.Title1,Title2:Di.Title2,Title3:Di.Title3,Headline1:Di.Headline1,Headline2:Di.Headline2,Body1Normal:Di.Body1Normal,Body1Reading:Di.Body1Reading,Label1:Di.Label1,Label2:Di.Label2,Caption1:Di.Caption1,Caption2:Di.Caption2,Regular:Di.Regular,Medium:Di.Medium,SemiBold:Di.SemiBold,Bold:Di.Bold};let om={};const $f={...U_,...W_,...om};let sm=Xt.keys($f);function P4(){Object.assign($f,om),sm=Xt.keys($f)}function N4(...r){let e=[];for(let t=0;t<r.length;t++){let n=r[t];sm.includes(n)&&(n=$f[n]),typeof n=="string"&&n!==""&&e.push(n)}return e.join(" ")}function j4(r,...e){const t=[],n=Xt.keys(r);for(let i=0;i<e.length;i++){let l=e[i];sm.includes(l)?l=$f[l]:n.includes(l)&&(l=r[l]),typeof l=="string"&&l!==""&&t.push(l)}return t.join(" ")}const qe={clsx:N4,sclsx:j4,classes:U_,typographies:W_,additionalClasses:om,updateKeys:P4},Oi={"2xs":12,xs:16,sm:20,md:24,lg:32,xl:40,"2xl":48,"3xl":64},lt=(r,e=Oi.md)=>{const t=Oi[r],n=t/e,i={xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:`0 0 ${e} ${e}`};if(n<0){const l=(e-t)/2;return{...i,viewBox:`${l} ${l} ${t} ${t}`,transform:`scale(${n})`}}return i},ku=(r,e=Oi.md)=>{const t=Oi[r],n=40,i=t/e,l={xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:`0 ${-(e*n)} ${e*n} ${e*n}`};if(i<0){const u=(e-t)/2;return{...l,viewBox:`${u} ${-(t*n)} ${t*n} ${t*n}`,transform:`scale(${i})`}}return l},ii=r=>({fill:"none",stroke:r,strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),Br=r=>{const{icon:e,svgRef:t,...n}=r,i=I.useMemo(()=>th[e],[e]);return v.jsx(i,{...n})},F4=r=>{const e=Xt.keys(r);return n=>{const{icon:i,svgRef:l,...u}=n,h=I.useMemo(()=>e.includes(i)?r[i]:th[i],[i]);return v.jsx(h,{...u})}},th=Object.freeze({ArrowDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"})})},ArrowUp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"})})},Chat:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M20 17.17 18.83 16H4V4h16v13.17zM20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"})})},"Check.Checked":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...lt(e,u),fill:n,...l,ref:i,children:[v.jsx("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"1.5",stroke:t}),v.jsx("path",{d:"M6.25009 10.4324L4.22884 8.41116C4.00148 8.1838 3.63305 8.18315 3.40489 8.40971V8.40971C3.17558 8.6374 3.17492 9.00808 3.40343 9.23658L5.54298 11.3761C5.93351 11.7667 6.56667 11.7667 6.9572 11.3761L12.8387 5.49459C13.0659 5.26741 13.0659 4.89908 12.8387 4.6719V4.6719C12.6116 4.44479 12.2435 4.4447 12.0162 4.6717L6.25009 10.4324Z",fill:t})]})},"Check.Indeterminate":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...lt(e,u),fill:n,...l,ref:i,children:[v.jsx("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"1.5",stroke:t}),v.jsx("rect",{x:"3",y:"7",width:"10",height:"1",fill:t})]})},"Check.UnChecked":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:i,...l}=r,u=Oi.xs;return v.jsx("svg",{...lt(e,u),fill:n,...l,ref:i,children:v.jsx("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"1.5",stroke:t})})},CircleCheck:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})})},ClipBoard:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"})})},Close:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})})},Document:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"})})},Menu:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"})})},Person:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})})},PersonOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),v.jsx("circle",{cx:"12",cy:"7",r:"4"})]})},Reset:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"})})},Search:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"})})},Send:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"})})},Spinner:(r={})=>{const{size:e="3xl",primaryColor:t="var(--label-strong)",secondaryColor:n="var(--elevation-10)",svgRef:i,...l}=r,u=Oi["3xl"];return v.jsxs("svg",{...lt(e,u),fill:"none",strokeWidth:"12",...l,ref:i,children:[v.jsx("circle",{cx:"32",cy:"32",r:"22",style:{...l.style,transition:"stroke var(--Transition)"},stroke:n}),v.jsx("path",{style:{...l.style,transition:"stroke var(--Transition)"},d:"M10 32C10 29.1109 10.569 26.2501 11.6746 23.581C12.7803 20.9118 14.4008 18.4865 16.4437 16.4436C18.4865 14.4008 20.9118 12.7803 23.581 11.6747C26.2501 10.569 29.1109 10 32 10",stroke:t,children:v.jsx("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 32 32",to:"360 32 32",dur:"1s",repeatCount:"indefinite",calcMode:"spline",keySplines:"0.27 0.71 0.78 0.44",keyTimes:"0;1"})})]})},Stop:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M6 6h12v12H6z"})})},TriangleAlert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 5.99 19.53 19H4.47L12 5.99M2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zm0 5h2v2h-2z"})})},TriangleAlert2:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}),v.jsx("line",{x1:"12",y1:"9",x2:"12",y2:"13"}),v.jsx("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})]})},Sun:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e,28),...ii(t),strokeWidth:1,...l,ref:i,children:[v.jsx("circle",{cx:"14",cy:"14",r:"3.5"}),v.jsx("path",{d:"M21.1213 21.1213L19 19"}),v.jsx("path",{d:"M24 14L21 14"}),v.jsx("path",{d:"M9.12132 19L7 21.1213"}),v.jsx("path",{d:"M14 21L14 24"}),v.jsx("path",{d:"M6.99977 7.00002L9.12109 9.12134"}),v.jsx("path",{d:"M4 14L7 14"}),v.jsx("path",{d:"M18.9998 9.12132L21.1211 7"}),v.jsx("path",{d:"M14 7L14 4"})]})},Moon:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="white",svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e,28),...l,ref:i,children:[v.jsx("mask",{id:"path-1-inside-1_640_3082",fill:n,children:v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 14.9271C21.7297 16.1977 19.9746 16.9836 18.036 16.9836C14.1593 16.9836 11.0167 13.841 11.0167 9.96435C11.0167 8.02554 11.8027 6.27032 13.0735 5C8.53643 5.47528 5 9.31228 5 13.9753C5 18.9595 9.04054 23 14.0248 23C18.6876 23 22.5244 19.4639 23 14.9271Z"})}),v.jsx("path",{d:"M23 14.9271L23.9945 15.0313L24.2889 12.2235L22.2928 14.2201L23 14.9271ZM13.0735 5L13.7805 5.70724L15.7772 3.71131L12.9694 4.00544L13.0735 5ZM22.2928 14.2201C21.2024 15.3108 19.6987 15.9836 18.036 15.9836V17.9836C20.2505 17.9836 22.257 17.0846 23.7072 15.6341L22.2928 14.2201ZM18.036 15.9836C14.7116 15.9836 12.0167 13.2887 12.0167 9.96435H10.0167C10.0167 14.3933 13.607 17.9836 18.036 17.9836V15.9836ZM12.0167 9.96435C12.0167 8.30147 12.6897 6.79768 13.7805 5.70724L12.3666 4.29276C10.9158 5.74295 10.0167 7.7496 10.0167 9.96435H12.0167ZM6 13.9753C6 9.8296 9.14442 6.41706 13.1777 5.99456L12.9694 4.00544C7.92844 4.5335 4 8.79496 4 13.9753H6ZM14.0248 22C9.59282 22 6 18.4072 6 13.9753H4C4 19.5118 8.48825 24 14.0248 24V22ZM22.0054 14.8228C21.5827 18.8559 18.1703 22 14.0248 22V24C19.2049 24 23.4662 20.0719 23.9945 15.0313L22.0054 14.8228Z",fill:t,mask:"url(#path-1-inside-1_640_3082)"})]})},CCTV:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="white",svgRef:i,...l}=r,u=Oi["2xs"];return v.jsxs("svg",{...lt(e,u),...l,ref:i,children:[v.jsx("rect",{x:"1",y:"5",width:"1",height:"5",fill:t}),v.jsx("path",{d:"M1.5 7.5H3L5 5.5",stroke:t}),v.jsx("rect",{x:"5.12132",y:"2",width:"5.13925",height:"3",transform:"rotate(45 5.12132 2)",fill:t}),v.jsx("rect",{x:"8.83633",y:"6.28503",width:"1",height:"2.19393",transform:"rotate(45 8.83633 6.28503)",fill:t}),v.jsx("clipPath",{id:"clip0_2241_2464",children:v.jsx("rect",{width:"12",height:"12",fill:n})})]})},Convert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"})})},KeyboardArrowUp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"})})},KeyboardArrowDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"})})},Alert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="var(--background-normal)",svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:n,...l,ref:i,children:v.jsxs("g",{clipPath:"url(#clip0_1786_1844)",children:[v.jsx("path",{d:"M11.1238 2.59312C11.5037 1.90234 12.4963 1.90234 12.8762 2.59312L22.1849 19.5181C22.5515 20.1845 22.0693 21 21.3087 21H2.69127C1.93067 21 1.44851 20.1845 1.81506 19.5181L11.1238 2.59312Z",fill:t}),v.jsx("path",{style:{...l.style,transition:"fill var(--Transition)"},d:"M12.8169 8H11.1691L11.2958 15.0451H12.6902L12.8169 8ZM11.0001 17.0287C10.993 17.5622 11.4508 17.9932 12 18C12.5423 17.9932 12.993 17.5622 13 17.0287C12.993 16.4952 12.5423 16.0575 12 16.0575C11.4508 16.0575 10.993 16.4952 11.0001 17.0287Z",fill:n})]})})},SortUp:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsx("svg",{...lt(e,u),fill:"none",...l,ref:i,children:v.jsx("path",{d:"M6 10L9 7L12 10",stroke:t})})},SortDown:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsx("svg",{...lt(e,u),fill:"none",...l,ref:i,children:v.jsx("path",{d:"M12 7L9 10L6 7",stroke:t})})},SortBoth:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...lt(e,u),fill:"none",...l,ref:i,children:[v.jsx("path",{d:"M6 6.75L9 3.75L12 6.75",stroke:t}),v.jsx("path",{d:"M12 11.25L9 14.25L6 11.25",stroke:t})]})},RowSortUp:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...lt(e,u),...l,ref:i,children:[v.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),v.jsx("path",{opacity:"0.2",d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t})]})},RowSortDown:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...lt(e,u),...l,ref:i,children:[v.jsx("path",{opacity:"0.2",d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),v.jsx("path",{d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t})]})},RowSortBoth:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...lt(e,u),...l,ref:i,children:[v.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),v.jsx("path",{d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t})]})},Favorite:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 4L13.7961 9.52786H19.6085L14.9062 12.9443L16.7023 18.4721L12 15.0557L7.29772 18.4721L9.09383 12.9443L4.39155 9.52786H10.2039L12 4Z"})})},FavoriteDisabled:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),...ii(t),fill:n,strokeWidth:"1",...l,ref:i,children:v.jsx("path",{d:"M12 4L13.7961 9.52786H19.6085L14.9062 12.9443L16.7023 18.4721L12 15.0557L7.29772 18.4721L9.09383 12.9443L4.39155 9.52786H10.2039L12 4Z"})})},Main:(r={})=>{const{primaryColor:e="currentColor",secondaryColor:t,svgRef:n,...i}=r;return v.jsxs("svg",{viewBox:"0 0 118 84",width:"118",height:"84",...i,ref:n,children:[v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.0843 0.94382H8.51123C4.34117 0.94382 0.960666 4.32432 0.960666 8.49438V49.0787C0.960666 53.77 4.76373 57.573 9.45505 57.573H66.0843C70.7756 57.573 74.5787 53.77 74.5787 49.0787V9.4382C74.5787 4.74688 70.7756 0.94382 66.0843 0.94382ZM8.51123 0C3.81991 0 0.0168457 3.80306 0.0168457 8.49438V49.0787C0.0168457 54.2912 4.24247 58.5169 9.45505 58.5169H66.0843C71.2968 58.5169 75.5225 54.2912 75.5225 49.0787V9.4382C75.5225 4.22563 71.2968 0 66.0843 0H8.51123Z",fill:e}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M108.556 26.4272H51.927C47.2357 26.4272 43.4326 30.2302 43.4326 34.9216V74.562C43.4326 79.2533 47.2357 83.0564 51.927 83.0564H108.556C113.248 83.0564 117.051 79.2533 117.051 74.562V34.9216C117.051 30.2302 113.248 26.4272 108.556 26.4272ZM51.927 25.4834C46.7144 25.4834 42.4888 29.709 42.4888 34.9216V74.562C42.4888 79.7746 46.7144 84.0002 51.927 84.0002H108.556C113.769 84.0002 117.994 79.7746 117.994 74.562V34.9216C117.994 29.709 113.769 25.4834 108.556 25.4834H51.927Z",fill:e}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.0843 1.88764H8.51123C4.86243 1.88764 1.90449 4.84558 1.90449 8.49438V49.0787C1.90449 53.2487 5.28499 56.6292 9.45505 56.6292H66.0843C70.2543 56.6292 73.6348 53.2487 73.6348 49.0787V9.4382C73.6348 5.26814 70.2543 1.88764 66.0843 1.88764ZM8.51123 0C3.81991 0 0.0168457 3.80306 0.0168457 8.49438V49.0787C0.0168457 54.2912 4.24247 58.5169 9.45505 58.5169H66.0843C71.2968 58.5169 75.5225 54.2912 75.5225 49.0787V9.4382C75.5225 4.22563 71.2968 0 66.0843 0H8.51123Z",fill:e}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M108.556 27.371H51.927C47.7569 27.371 44.3764 30.7515 44.3764 34.9216V74.562C44.3764 78.7321 47.7569 82.1126 51.927 82.1126H108.556C112.726 82.1126 116.107 78.7321 116.107 74.562V34.9216C116.107 30.7515 112.726 27.371 108.556 27.371ZM51.927 25.4834C46.7144 25.4834 42.4888 29.709 42.4888 34.9216V74.562C42.4888 79.7746 46.7144 84.0002 51.927 84.0002H108.556C113.769 84.0002 117.994 79.7746 117.994 74.562V34.9216C117.994 29.709 113.769 25.4834 108.556 25.4834H51.927Z",fill:e})]})},Frame:(r={})=>{const{primaryColor:e="currentColor",secondaryColor:t="none",svgRef:n,...i}=r;return v.jsx("svg",{viewBox:"0 0 1482 1112",width:"1482",height:"1112",fill:t,...i,ref:n,children:v.jsxs("g",{children:[v.jsx("path",{opacity:"0.22",d:"M1481.33 1111.17L399.091 880.19V231.81L1481.33 0.829102V1111.17Z",stroke:e}),v.jsx("path",{opacity:"0.48",d:"M266.279 880.19V231.81L1348.52 0.829102V1111.17L266.279 880.19Z",stroke:e}),v.jsx("path",{opacity:"0.74",d:"M133.48 880.19V231.81L1215.72 0.829102V1111.17L133.48 880.19Z",stroke:e}),v.jsx("path",{d:"M1082.91 1111.17L0.667969 880.19V231.81L1082.91 0.829102V1111.17Z",stroke:e})]})})},FileDownload:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3zm-1-4-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59 7 11l5 5z"})})},File:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M15 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V7L15 2ZM6 20V4H14V8H18V20H6ZM16 10V15C16 17.21 14.21 19 12 19C9.79 19 8 17.21 8 15V8.5C8 7.03 9.26 5.86 10.76 6.01C12.06 6.14 13 7.33 13 8.64V15H11V8.5C11 8.22 10.78 8 10.5 8C10.22 8 10 8.22 10 8.5V15C10 16.1 10.9 17 12 17C13.1 17 14 16.1 14 15V10H16Z"})})},UnPlug:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...lt(e,u),overflow:"hidden",strokeWidth:"0.5",...l,ref:i,children:[v.jsx("path",{d:"M7.85 9.679C7.92 9.747 8.03 9.745 8.1 9.674 8.17 9.606 8.17 9.497 8.1 9.428L6.84 8.17 8.17 6.844 9.43 8.103C9.5 8.171 9.61 8.169 9.68 8.098 9.75 8.03 9.75 7.921 9.68 7.852L8.42 6.594 9.39 5.629 8.13 4.377C7.15 3.389 5.56 3.335 4.51 4.254L4.13 3.857C3.29 2.997 2.15 2.511 0.95 2.508L0.35 2.508 0.35 2.862 0.95 2.862C2.05 2.865 3.11 3.312 3.87 4.104L4.26 4.504C3.34 5.555 3.39 7.143 4.38 8.133L5.63 9.385 6.59 8.42ZM4.63 7.883C3.73 6.984 3.73 5.526 4.63 4.627 5.53 3.728 6.98 3.728 7.88 4.627L8.88 5.629 5.63 8.885Z",stroke:t,fill:t}),v.jsx("path",{d:"M16.06 14.167C15.01 14.169 13.99 13.758 13.23 13.021L12.78 12.58C13.69 11.529 13.64 9.946 12.65 8.959L11.4 7.707 7.64 11.464 8.9 12.716C9.89 13.707 11.47 13.757 12.52 12.831L12.99 13.276C13.81 14.076 14.91 14.523 16.06 14.521L16.65 14.521 16.65 14.167ZM9.15 12.465 8.14 11.464 11.4 8.208 12.4 9.21C13.31 10.104 13.31 11.562 12.42 12.466 11.53 13.369 10.07 13.377 9.16 12.483 9.16 12.477 9.15 12.471 9.15 12.465Z",stroke:t,fill:t})]})},CloudSync:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...lt(e,u),overflow:"hidden",strokeWidth:"0.166718",...l,ref:i,children:[v.jsx("path",{d:"M9.81667 8.6C9.81667 8.6 9.81667 8.6 9.81667 8.6 9.81667 8.6 9.81667 8.6 9.81667 8.6 9.68333 7.41667 8.61667 6.55 7.43333 6.66667 6.65 6.75 5.98333 7.23333 5.66667 7.95L5.96667 8.08333C6.36667 7.15 7.45 6.73333 8.38333 7.13333 8.96667 7.38333 9.36667 7.91667 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55L9.1 8.18333 8.86667 8.41667 9.65 9.2 10.4333 8.41667 10.2 8.18333 9.81667 8.6Z",stroke:t,fill:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"}),v.jsx("path",{d:"M7.66667 10.6667C6.75 10.6667 5.98333 10 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1L6.21667 9.46667 6.45 9.23333 5.66667 8.43333 4.88333 9.21667 5.11667 9.45 5.5 9.06667C5.5 9.06667 5.5 9.06667 5.5 9.06667 5.5 9.06667 5.5 9.06667 5.5 9.06667 5.63333 10.25 6.68333 11.1167 7.88333 11 8.66667 10.9167 9.33333 10.4333 9.65 9.71667L9.35 9.58333C9.05 10.2333 8.4 10.6667 7.66667 10.6667Z",stroke:t,fill:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"}),v.jsx("path",{d:"M13.4333 7.48333C13.3 6.66667 12.85 5.93333 12.1833 5.45 11.4833 4.96667 10.6333 4.78333 9.8 4.95 9.13333 3.95 8.03333 3.33333 6.83333 3.33333 6.56667 3.33333 6.28333 3.36667 6.01667 3.43333 4.6 3.8 3.53333 4.98333 3.31667 6.43333 2.36667 6.46667 1.5 6.91667 0.933333 7.66667 0.266667 8.6 0.15 9.81667 0.616667 10.8667 1.1 11.9 2.1 12.5833 3.23333 12.65L4.45 12.65 11.3667 12.6667 13.1333 12.6667C14.5667 12.6333 15.7 11.4333 15.6667 10 15.6333 8.71667 14.6833 7.66667 13.4333 7.48333 13.4333 7.48333 13.4333 7.48333 13.4333 7.48333ZM15.3333 10.2C15.25 11.3667 14.3 12.3 13.1333 12.3333L11.3667 12.3333 4.45 12.3167 3.25 12.3167C2.25 12.25 1.35 11.65 0.933333 10.7333 0.5 9.8 0.6 8.7 1.2 7.86667 1.71667 7.2 2.48333 6.8 3.33333 6.76667L3.61667 6.75 3.65 6.48333C3.85 5.16667 4.81667 4.1 6.1 3.75 6.33333 3.7 6.58333 3.66667 6.83333 3.66667 7.91667 3.66667 8.93333 4.21667 9.51667 5.13333L9.63333 5.31667 9.85 5.26667C10.5833 5.11667 11.35 5.28333 11.9667 5.71667 12.5667 6.15 12.9667 6.8 13.0833 7.53333L13.1167 7.76667 13.35 7.8C14.55 7.98333 15.3833 9.01667 15.3333 10.2L15.3333 10.2Z",stroke:t,fill:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"})]})},CalendarDay:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"})})},DateRange:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"})})},PlayArrow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M8 5v14l11-7z"})})},Mail:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z"})})},MailOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"}),v.jsx("polyline",{points:"22,6 12,13 2,6"})]})},Bell:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("path",{d:"M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"}),v.jsx("path",{d:"M13.73 21a2 2 0 0 1-3.46 0"})]})},Download:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z"})})},Folder:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"})})},FolderPost:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9H9V9h10v2zm-4 4H9v-2h6v2zm4-8H9V5h10v2z"})})},FolderOpen:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V8h16v10z"})})},FolderCopy:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),fill:t,...l,ref:i,children:[v.jsx("path",{d:"M3 6H1v13c0 1.1.9 2 2 2h17v-2H3V6z"}),v.jsx("path",{d:"M21 4h-7l-2-2H7c-1.1 0-1.99.9-1.99 2L5 15c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2z"})]})},FolderAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M20 6h-8l-2-2H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-1 8h-3v3h-2v-3h-3v-2h3V9h2v3h3v2z"})})},FolderMove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-6 12v-3h-4v-4h4V8l5 5z"})})},FirstPage:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),fill:t,...l,ref:i,children:[v.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),v.jsx("path",{d:"M24 24H0V0h24v24z",fill:"none"})]})},LastPage:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"})})},NavigateBefore:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})})},NavigateNext:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})})},ListAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M14,10H3v2h11V10z M14,6H3v2h11V6z M18,14v-4h-2v4h-4v2h4v4h2v-4h4v-2H18z M3,16h7v-2H3V16z"})})},ListRemove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M14 10H3v2h11v-2zm0-4H3v2h11V6zM3 16h7v-2H3v2zm11.41 6L17 19.41 19.59 22 21 20.59 18.41 18 21 15.41 19.59 14 17 16.59 14.41 14 13 15.41 15.59 18 13 20.59 14.41 22z"})})},Cancel:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"})})},Article:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"})})},Info:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M11,7h2v2h-2V7z M11,11h2v6h-2V11z M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z M12,20 c-4.41,0-8-3.59-8-8s3.59-8,8-8s8,3.59,8,8S16.41,20,12,20z"})})},Type:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("polyline",{points:"4 7 4 4 20 4 20 7"}),v.jsx("line",{x1:"9",y1:"20",x2:"15",y2:"20"}),v.jsx("line",{x1:"12",y1:"4",x2:"12",y2:"20"})]})},PersonAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M13 8c0-2.21-1.79-4-4-4S5 5.79 5 8s1.79 4 4 4 4-1.79 4-4m2 2v2h3v3h2v-3h3v-2h-3V7h-2v3zM1 18v2h16v-2c0-2.66-5.33-4-8-4s-8 1.34-8 4"})})},CheckNormal:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",fill:t})})},Create:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"})})},PersonRemove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M14 8c0-2.21-1.79-4-4-4S6 5.79 6 8s1.79 4 4 4 4-1.79 4-4m3 2v2h6v-2zM2 18v2h16v-2c0-2.66-5.33-4-8-4s-8 1.34-8 4"})})},Refresh:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"})})},Undo:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"})})},Gear:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"})})},TriangleUp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),...ii(t),...l,ref:i,children:v.jsx("path",{d:"M18 15 L12 9 L6 15"})})},TriangleDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),...ii(t),...l,ref:i,children:v.jsx("path",{d:"M6 9 12 15 18 9"})})},CircleHelp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"})})},Cow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("g",{transform:"scale(0.046875 0.046875)",children:v.jsx("path",{d:"M510.256,187.787c-2.16-7.414-6.118-13.725-11.079-18.567c-7.477-7.3-16.818-11.393-26.211-13.777 c-9.43-2.386-19.109-3.114-28.034-3.124c-7.732,0-14.89,0.562-20.744,1.219h0.016c-4.732,0.531-9.07,1.426-12.788,2.103 c-3.697,0.708-6.821,1.156-8.597,1.136l-0.557-0.042c-0.031-0.167-0.063-0.261-0.094-0.48c-2.63-18.598-4.03-36.864-9.06-55.494 c-5.004-18.619-13.976-37.457-30.986-55.826c-8.07-8.83-17.973-13.454-27.476-13.403c-8.43-0.01-15.98,3.489-21.312,8.779 c-5.337,5.279-8.763,12.517-8.784,20.504c-0.005,3.686,0.88,7.466,2.484,11.028l-0.067,0.031c4.992,13.434,7.794,25.784,7.768,35.719 c0,5.935-0.948,10.955-2.754,15.141c-2.77,6.227-7.196,11.111-15.923,15.193c-8.695,4.019-21.816,6.685-40.06,6.664 c-24.388,0.042-39.4-4.759-47.454-11.039c-4.082-3.155-6.697-6.623-8.529-10.819c-1.807-4.186-2.754-9.206-2.754-15.141 c-0.026-9.935,2.77-22.285,7.768-35.719l-0.068-0.02c1.604-3.582,2.489-7.352,2.485-11.028c-0.021-7.997-3.448-15.235-8.784-20.514 c-5.332-5.29-12.882-8.789-21.311-8.789c-9.502-0.042-19.406,4.571-27.476,13.412c-17.01,18.359-25.982,37.207-30.985,55.826 c-5.035,18.63-6.431,36.896-9.06,55.494c-0.032,0.229-0.063,0.312-0.099,0.48l-0.552,0.042c-1.77,0.02-4.894-0.428-8.596-1.136 c-3.718-0.687-8.055-1.572-12.793-2.103h0.01c-5.836-0.646-13.001-1.208-20.733-1.219c-11.892,0.031-25.143,1.25-37.338,6.134 c-6.087,2.458-11.939,5.904-16.906,10.768c-4.962,4.842-8.919,11.153-11.08,18.567C0.563,191.806,0,196.014,0,200.282 c0.099,18.276,9.836,37.583,27.684,53.817c16.844,15.245,41.243,27.617,72.728,33.24c0.114,0.489,0.223,0.896,0.344,1.458 c1.874,8.664,4.102,25.242,8.247,44.591c6.285,29.115,16.896,65.167,39.16,94.835c11.142,14.798,25.31,27.981,43.201,37.364 c17.879,9.404,39.378,14.902,64.636,14.892c37.978,0.083,67.422-12.58,88.905-31.667c32.281-28.669,47.173-70.136,55.613-104.562 c4.186-17.234,6.706-32.854,8.654-44.225c0.912-5.353,1.708-9.748,2.4-12.674c31.496-5.624,55.9-17.994,72.744-33.25 c17.848-16.234,27.58-35.541,27.684-53.817C512,196.014,511.438,191.806,510.256,187.787z M165.549,59.409 c5.118-5.456,9.022-6.508,11.804-6.55c2.499,0,4.665,1,6.316,2.615c1.651,1.624,2.473,3.696,2.453,5.352l-0.625,2.572 l-0.261,0.522l-0.198,0.541c-5.508,14.923-9.076,29.376-9.101,43.133c0,8.195,1.312,16.192,4.498,23.586 c2.526,5.946,6.404,11.288,11.32,15.912c-7.967-0.167-16.605-0.292-24.993-0.396c-13.745-0.168-26.596-0.25-34.136-0.303 c1.818-14.35,3.453-27.606,6.847-40.05C143.884,90.254,150.908,75.321,165.549,59.409z M318.981,441.844 c-16.234,10.59-36.442,17.276-62.98,17.307c-33.38-0.083-56.795-10.528-74.784-26.315c-12.834-11.267-22.712-25.689-30.455-41.195 c0.901-4.78,3.015-9.133,6.436-13.392c6.935-8.612,19.78-16.308,36.791-21.514c16.974-5.258,37.921-8.122,60.576-8.122 c30.204-0.031,57.394,5.144,76.138,14.1c9.383,4.456,16.584,9.809,21.234,15.536c4.483,5.581,6.706,11.33,6.893,17.994 c-0.625,1.156-1.15,2.364-1.801,3.499C347.508,416.477,335.189,431.243,318.981,441.844z M470.002,238.292 c-14.417,13.058-36.708,24.524-67.495,29.033l-2.374,0.344l-1.994,1.333c-2.578,1.79-3.583,3.53-4.39,4.904 c-1.431,2.708-2.014,4.927-2.702,7.571c-1.203,4.864-2.213,10.954-3.473,18.26c-1.524,8.625-3.428,19.124-6.134,30.576 c-7.247,29.665-20.215,66.061-48.03,91.907c-16.028,14.232-36.169,24.516-64.055,24.466c-21.776,0-40.292-4.969-55.129-12.732 c-14.839-7.742-27.058-18.692-36.544-30.747c-19.038-25.604-28.956-57.424-34.635-85.312c-1.642-8.429-2.642-14.843-3.494-19.853 c-0.693-3.697-1.256-5.834-1.943-7.519c-0.688-1.698-1.743-3.24-4.323-5.03l-1.989-1.333l-2.374-0.344 c-30.788-4.509-53.083-15.975-67.5-29.033c-15.05-13.646-22.688-28.674-22.749-38.01c0-1.625,0.396-3.859,1.057-6.283 c1.261-4.849,3.597-10.709,6.665-16.755c5.97-12.085,14.748-24.971,25.422-36.775c2.188,1.828,4.64,3.501,7.441,4.98 c9.854,5.132,22.406,8.838,35.833,9.723c12.073,0.823,24.653-0.057,35.493-3.755c10.859-3.666,20.146-9.648,26.908-17.71 c6.767-8.081,10.94-18.221,11.255-29.685c0-2.073-0.26-3.948-0.64-5.901c-0.26-1.203-0.484-2.452-0.641-3.667 c-1.78-12.632-5.748-24.661-11.853-37.393c-3.062-6.173-6.634-12.165-9.359-17.301c-0.932-1.801-1.776-3.414-2.552-5.155 c4.911-5.416,10.209-10.13,15.51-14.678c12.045-10.674,23.606-19.829,33.336-26.128c7.47,6.566,14.801,14.498,21.238,23.858 c12.843,18.226,20.273,37.197,25.055,55.19c4.794,17.983,6.636,34.864,9.055,50.801c0.78,4.584,1.35,8.114,2.373,11.554 c0.98,3.229,2.306,6.316,4.664,9.208c2.396,2.892,5.74,5.532,10.96,6.409c1.296,0.219,3.84-0.5,7.683-1.187 c3.838-0.641,8.727-1.448,14.168-1.948c5.423-0.625,11.573-1.036,18.168-1.057c8.92,0,18.659,0.667,28.086,2.807 c9.426,2.141,17.48,6.104,23.654,12.281c3.177,3.093,5.784,6.775,7.579,10.938c1.778,4.141,2.74,8.704,2.74,13.314 C492.688,209.625,485.052,224.646,470.002,238.292z"})})})},CircleAlertOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("circle",{cx:"12",cy:"12",r:"10"}),v.jsx("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),v.jsx("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]})},CircleAlert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"})})},Manager:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),fill:t,...l,ref:i,children:[v.jsx("circle",{cx:"10",cy:"8",r:"4"}),v.jsx("path",{d:"M10.67 13.02c-.22-.01-.44-.02-.67-.02-2.42 0-4.68.67-6.61 1.82-.88.52-1.39 1.5-1.39 2.53V20h9.26c-.79-1.13-1.26-2.51-1.26-4 0-1.07.25-2.07.67-2.98M20.75 16c0-.22-.03-.42-.06-.63l1.14-1.01-1-1.73-1.45.49q-.48-.405-1.08-.63L18 11h-2l-.3 1.49q-.6.225-1.08.63l-1.45-.49-1 1.73 1.14 1.01c-.03.21-.06.41-.06.63s.03.42.06.63l-1.14 1.01 1 1.73 1.45-.49q.48.405 1.08.63L16 21h2l.3-1.49q.6-.225 1.08-.63l1.45.49 1-1.73-1.14-1.01c.03-.21.06-.41.06-.63M17 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"})]})},ManagerOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e,96),...ii(t),...l,ref:i,children:[v.jsxs("g",{clipPath:"url(#clip0_1_3)",children:[v.jsx("path",{d:"M80 84V76C80 71.7565 78.3143 67.6869 75.3137 64.6863C72.3131 61.6857 68.2435 60 64 60V70L48 60L32 70V60C27.7565 60 23.6869 61.6857 20.6863 64.6863C17.6857 67.6869 16 71.7565 16 76V84",strokeWidth:"8"}),v.jsx("path",{d:"M48 44C56.8366 44 64 36.8366 64 28C64 19.1634 56.8366 12 48 12C39.1634 12 32 19.1634 32 28C32 36.8366 39.1634 44 48 44Z",strokeWidth:"8"})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"clip0_1_3",children:v.jsx("rect",{width:"96",height:"96",fill:"white"})})})]})},Admin:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4m13.1-8.16c.01-.11.02-.22.02-.34s-.01-.23-.03-.34l.74-.58c.07-.05.08-.15.04-.22l-.7-1.21c-.04-.08-.14-.1-.21-.08l-.86.35c-.18-.14-.38-.25-.59-.34l-.13-.93c-.02-.09-.09-.15-.18-.15h-1.4c-.09 0-.16.06-.17.15l-.13.93c-.21.09-.41.21-.59.34l-.87-.35c-.08-.03-.17 0-.21.08l-.7 1.21c-.04.08-.03.17.04.22l.74.58c-.02.11-.03.23-.03.34s.01.23.03.34l-.74.58c-.07.05-.08.15-.04.22l.7 1.21c.04.08.14.1.21.08l.87-.35c.18.14.38.25.59.34l.13.93c.01.09.08.15.17.15h1.4c.09 0 .16-.06.17-.15l.13-.93c.21-.09.41-.21.59-.34l.87.35c.08.03.17 0 .21-.08l.7-1.21c.04-.08.03-.17-.04-.22zm-2.6.91c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25m.42 3.93-.5-.87c-.03-.06-.1-.08-.15-.06l-.62.25q-.195-.15-.42-.24l-.09-.66c-.02-.06-.08-.1-.14-.1h-1c-.06 0-.11.04-.12.11l-.09.66c-.15.06-.29.15-.42.24l-.62-.25c-.06-.02-.12 0-.15.06l-.5.87c-.03.06-.02.12.03.16l.53.41c-.01.08-.02.16-.02.24s.01.17.02.24l-.53.41c-.05.04-.06.11-.03.16l.5.87c.03.06.1.08.15.06l.62-.25q.195.15.42.24l.09.66c.01.07.06.11.12.11h1c.06 0 .12-.04.12-.11l.09-.66c.15-.06.29-.15.42-.24l.62.25c.06.02.12 0 .15-.06l.5-.87c.03-.06.02-.12-.03-.16l-.52-.41c.01-.08.02-.16.02-.24s-.01-.17-.02-.24l.53-.41c.05-.04.06-.11.04-.17m-2.42 1.65c-.46 0-.83-.38-.83-.83 0-.46.38-.83.83-.83s.83.38.83.83c0 .46-.37.83-.83.83M4.74 9h8.53c.27 0 .49-.22.49-.49v-.02c0-.27-.22-.49-.49-.49H13c0-1.48-.81-2.75-2-3.45v.95c0 .28-.22.5-.5.5s-.5-.22-.5-.5V4.14C9.68 4.06 9.35 4 9 4s-.68.06-1 .14V5.5c0 .28-.22.5-.5.5S7 5.78 7 5.5v-.95C5.81 5.25 5 6.52 5 8h-.26c-.27 0-.49.22-.49.49v.03c0 .26.22.48.49.48M9 13c1.86 0 3.41-1.28 3.86-3H5.14c.45 1.72 2 3 3.86 3"})})},Equalizer:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M10 20h4V4h-4zm-6 0h4v-8H4zM16 9v11h4V9z"})})},ABC:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M21 11h-1.5v-.5h-2v3h2V13H21v1c0 .55-.45 1-1 1h-3c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1zM8 10v5H6.5v-1.5h-2V15H3v-5c0-.55.45-1 1-1h3c.55 0 1 .45 1 1m-1.5.5h-2V12h2zm7 1.5c.55 0 1 .45 1 1v1c0 .55-.45 1-1 1h-4V9h4c.55 0 1 .45 1 1v1c0 .55-.45 1-1 1M11 10.5v.75h2v-.75zm2 2.25h-2v.75h2z"})})},Auth:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5zm-1.06 13.54L7.4 12l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41z"})})},AuthAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M13.22 22.61c-.4.15-.8.29-1.22.39-5.16-1.26-9-6.45-9-12V5l9-4 9 4v6c0 .9-.11 1.78-.3 2.65-.81-.41-1.73-.65-2.7-.65-3.31 0-6 2.69-6 6 0 1.36.46 2.61 1.22 3.61M19 20v2.99s-1.99.01-2 0V20h-3v-2h3v-3h2v3h3v2z"})})},Switch:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"m18 12 4-4-4-4v3H3v2h15zM6 12l-4 4 4 4v-3h15v-2H6z"})})},Add:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"})})},Edit:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM5.92 19H5v-.92l9.06-9.06.92.92zM20.71 5.63l-2.34-2.34c-.2-.2-.45-.29-.71-.29s-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41"})})},EditOff:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"m14.06 9.02.92.92-1.11 1.11 1.41 1.41 2.52-2.52-3.75-3.75-2.52 2.52 1.41 1.41zm6.65-1.98c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29s-.51.1-.7.29l-1.83 1.83 3.75 3.75zM2.81 2.81 1.39 4.22l7.32 7.32L3 17.25V21h3.75l5.71-5.71 7.32 7.32 1.41-1.41zM5.92 19H5v-.92l5.13-5.13.92.92z"})})},Delete:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"})})},Save:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"})})},Remove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 13H5v-2h14z"})})},Sync:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...lt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"})})},X:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),v.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})},MoreVertical:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("circle",{cx:"12",cy:"12",r:"1"}),v.jsx("circle",{cx:"12",cy:"5",r:"1"}),v.jsx("circle",{cx:"12",cy:"19",r:"1"})]})},MoreHorizontal:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("circle",{cx:"12",cy:"12",r:"1"}),v.jsx("circle",{cx:"19",cy:"12",r:"1"}),v.jsx("circle",{cx:"5",cy:"12",r:"1"})]})},Verified:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("path",{d:"M10.708 4.03551C11.4008 3.27361 12.5992 3.27361 13.292 4.03551C14.0105 4.82555 15.0715 5.21174 16.1297 5.06835C17.1502 4.93006 18.0682 5.70033 18.1092 6.72935C18.1518 7.79637 18.7163 8.77423 19.6191 9.34458C20.4898 9.89462 20.6979 11.0747 20.0678 11.8894C19.4146 12.7341 19.2185 13.8461 19.5435 14.8633C19.8569 15.8443 19.2577 16.8821 18.2514 17.1012C17.208 17.3284 16.343 18.0542 15.9381 19.0423C15.5476 19.9952 14.4216 20.4051 13.5099 19.9261C12.5646 19.4294 11.4354 19.4294 10.4901 19.9261C9.57843 20.4051 8.45237 19.9952 8.06187 19.0423C7.65695 18.0542 6.79199 17.3284 5.74857 17.1012C4.7423 16.8821 4.14314 15.8443 4.45654 14.8633C4.7815 13.8461 4.58543 12.7341 3.93215 11.8894C3.30214 11.0747 3.51023 9.89462 4.38087 9.34458C5.28366 8.77423 5.84823 7.79637 5.89077 6.72935C5.9318 5.70033 6.84977 4.93006 7.87028 5.06835C8.92848 5.21174 9.98951 4.82555 10.708 4.03551Z",strokeWidth:"1.5"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.5682 10.0607L15.5076 9.00002L11.0719 13.4357L8.56068 10.9244L7.50002 11.9851L11.0719 15.557L12.1326 14.4963L12.1326 14.4963L16.5682 10.0607Z",fill:t,strokeWidth:0})]})},NonVerified:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("path",{style:{...l.style,transition:"stroke var(--Transition)"},d:"M10.1531 3.53092C11.1435 2.44181 12.8565 2.44181 13.8469 3.53092V3.53092C14.3994 4.13844 15.2153 4.4354 16.029 4.32514V4.32514C17.4878 4.12747 18.8 5.22853 18.8586 6.69947V6.69947C18.8913 7.51998 19.3255 8.27193 20.0197 8.71052V8.71052C21.2643 9.49677 21.5617 11.1837 20.6611 12.3482V12.3482C20.1588 12.9978 20.008 13.8529 20.2579 14.6351V14.6351C20.7059 16.0374 19.8494 17.5208 18.411 17.834V17.834C17.6086 18.0087 16.9435 18.5668 16.6321 19.3267V19.3267C16.0739 20.6888 14.4643 21.2747 13.1611 20.59V20.59C12.4341 20.2081 11.5659 20.2081 10.8389 20.59V20.59C9.53573 21.2747 7.92608 20.6888 7.36788 19.3267V19.3267C7.05651 18.5668 6.39137 18.0087 5.58901 17.834V17.834C4.1506 17.5208 3.29413 16.0374 3.74211 14.6351V14.6351C3.992 13.8529 3.84122 12.9978 3.33887 12.3482V12.3482C2.43829 11.1837 2.73574 9.49677 3.98029 8.71052V8.71052C4.67452 8.27193 5.10865 7.51998 5.14137 6.69947V6.69947C5.20002 5.22853 6.51221 4.12747 7.97099 4.32514V4.32514C8.78471 4.4354 9.60062 4.13844 10.1531 3.53092V3.53092Z",stroke:"var(--line-normal)",strokeWidth:"0.75",strokeMiterlimit:"11.4737",strokeLinecap:"round",strokeDasharray:"0.75 1.5"}),v.jsx("path",{style:{...l.style,transition:"fill var(--Transition)"},d:"M16.2224 8.5837L16.4875 8.31854C16.3411 8.17209 16.1037 8.17209 15.9572 8.31854L16.2224 8.5837ZM17.5013 9.86264L17.7665 10.1278C17.9129 9.98136 17.9129 9.74392 17.7665 9.59747L17.5013 9.86264ZM10.8739 13.9322L10.6087 14.1974C10.679 14.2677 10.7744 14.3072 10.8739 14.3072C10.9733 14.3072 11.0687 14.2677 11.139 14.1974L10.8739 13.9322ZM7.84584 10.9042L8.111 10.639C8.04068 10.5687 7.9453 10.5292 7.84584 10.5292C7.74638 10.5292 7.651 10.5687 7.58067 10.639L7.84584 10.9042ZM6.5669 12.1831L6.30174 11.9179C6.15529 12.0644 6.15529 12.3018 6.30174 12.4483L6.5669 12.1831ZM10.8739 16.4901L10.6087 16.7553C10.7552 16.9017 10.9926 16.9017 11.1391 16.7553L10.8739 16.4901ZM12.1528 15.2112L12.418 15.4763C12.5644 15.3299 12.5644 15.0924 12.418 14.946L12.1528 15.2112ZM12.1528 15.2111L11.8876 14.946C11.7412 15.0924 11.7412 15.3299 11.8876 15.4763L12.1528 15.2111ZM15.6601 8.61568C15.5136 8.76212 15.5136 8.99956 15.6601 9.14601C15.8065 9.29245 16.044 9.29245 16.1904 9.14601L15.6601 8.61568ZM15.0018 10.3346C15.1483 10.1881 15.1483 9.95068 15.0018 9.80423C14.8554 9.65778 14.618 9.65778 14.4715 9.80423L15.0018 10.3346ZM13.8772 10.3985C13.7308 10.545 13.7308 10.7824 13.8772 10.9288C14.0237 11.0753 14.2611 11.0753 14.4076 10.9288L13.8772 10.3985ZM13.219 12.1174C13.3655 11.9709 13.3655 11.7335 13.219 11.5871C13.0726 11.4406 12.8351 11.4406 12.6887 11.5871L13.219 12.1174ZM12.0944 12.1813C11.948 12.3278 11.948 12.5652 12.0944 12.7117C12.2409 12.8581 12.4783 12.8581 12.6247 12.7117L12.0944 12.1813ZM11.4362 13.9002C11.5826 13.7538 11.5826 13.5163 11.4362 13.3699C11.2897 13.2234 11.0523 13.2234 10.9059 13.3699L11.4362 13.9002ZM10.8867 13.4147C10.7403 13.2683 10.5028 13.2683 10.3564 13.4147C10.2099 13.5611 10.2099 13.7986 10.3564 13.945L10.8867 13.4147ZM9.34703 12.9357C9.49348 13.0821 9.73091 13.0821 9.87736 12.9357C10.0238 12.7892 10.0238 12.5518 9.87736 12.4054L9.34703 12.9357ZM9.37269 11.9007C9.22624 11.7542 8.9888 11.7542 8.84236 11.9007C8.69591 12.0471 8.69591 12.2846 8.84236 12.431L9.37269 11.9007ZM7.83301 11.4217C7.97946 11.5681 8.21689 11.5681 8.36334 11.4217C8.50979 11.2752 8.50979 11.0378 8.36334 10.8913L7.83301 11.4217ZM7.36752 10.8522C7.22107 10.9986 7.22107 11.236 7.36752 11.3825C7.51396 11.5289 7.7514 11.5289 7.89785 11.3825L7.36752 10.8522ZM7.04522 12.2351C7.19167 12.0887 7.19167 11.8512 7.04522 11.7048C6.89878 11.5583 6.66134 11.5583 6.51489 11.7048L7.04522 12.2351ZM6.54101 12.6875C6.68746 12.834 6.9249 12.834 7.07134 12.6875C7.21779 12.5411 7.21779 12.3037 7.07134 12.1572L6.54101 12.6875ZM8.02845 13.1143C7.88201 12.9679 7.64457 12.9679 7.49812 13.1143C7.35168 13.2608 7.35168 13.4982 7.49812 13.6446L8.02845 13.1143ZM7.97668 14.1232C8.12312 14.2697 8.36056 14.2697 8.50701 14.1232C8.65345 13.9768 8.65345 13.7393 8.50701 13.5929L7.97668 14.1232ZM9.46412 14.55C9.31767 14.4035 9.08023 14.4035 8.93379 14.55C8.78734 14.6964 8.78734 14.9339 8.93379 15.0803L9.46412 14.55ZM9.41234 15.5589C9.55879 15.7053 9.79623 15.7053 9.94267 15.5589C10.0891 15.4124 10.0891 15.175 9.94267 15.0285L9.41234 15.5589ZM10.8998 15.9856C10.7533 15.8392 10.5159 15.8392 10.3695 15.9856C10.223 16.1321 10.223 16.3695 10.3695 16.516L10.8998 15.9856ZM11.3522 16.5421C11.4987 16.3957 11.4987 16.1582 11.3522 16.0118C11.2058 15.8653 10.9683 15.8653 10.8219 16.0118L11.3522 16.5421ZM11.6745 15.1591C11.5281 15.3056 11.5281 15.543 11.6745 15.6895C11.821 15.8359 12.0584 15.8359 12.2048 15.6895L11.6745 15.1591ZM12.418 14.946C12.2715 14.7995 12.0341 14.7995 11.8877 14.946C11.7412 15.0924 11.7412 15.3299 11.8877 15.4763L12.418 14.946ZM11.8877 15.4763C12.0341 15.6228 12.2715 15.6228 12.418 15.4763C12.5644 15.3299 12.5644 15.0924 12.418 14.946L11.8877 15.4763ZM12.7151 15.1792C12.8616 15.0327 12.8616 14.7953 12.7151 14.6488C12.5687 14.5024 12.3312 14.5024 12.1848 14.6488L12.7151 15.1792ZM13.3733 13.4603C13.2269 13.6067 13.2269 13.8442 13.3733 13.9906C13.5198 14.1371 13.7572 14.1371 13.9037 13.9906L13.3733 13.4603ZM14.498 13.3963C14.6444 13.2499 14.6444 13.0124 14.498 12.866C14.3515 12.7196 14.1141 12.7196 13.9676 12.866L14.498 13.3963ZM15.1562 11.6774C15.0097 11.8239 15.0097 12.0613 15.1562 12.2078C15.3026 12.3542 15.5401 12.3542 15.6865 12.2078L15.1562 11.6774ZM16.2808 11.6135C16.4272 11.4671 16.4272 11.2296 16.2808 11.0832C16.1343 10.9367 15.8969 10.9367 15.7505 11.0832L16.2808 11.6135ZM16.939 9.89461C16.7926 10.0411 16.7926 10.2785 16.939 10.4249C17.0855 10.5714 17.3229 10.5714 17.4693 10.4249L16.939 9.89461ZM17.5533 9.38432C17.4069 9.23787 17.1694 9.23787 17.023 9.38432C16.8765 9.53076 16.8765 9.7682 17.023 9.91465L17.5533 9.38432ZM16.1704 9.06202C16.3168 9.20847 16.5542 9.20847 16.7007 9.06202C16.8471 8.91558 16.8471 8.67814 16.7007 8.53169L16.1704 9.06202ZM15.9572 8.31854L15.6601 8.61568L16.1904 9.14601L16.4875 8.84887L15.9572 8.31854ZM14.4715 9.80423L13.8772 10.3985L14.4076 10.9288L15.0018 10.3346L14.4715 9.80423ZM12.6887 11.5871L12.0944 12.1813L12.6247 12.7117L13.219 12.1174L12.6887 11.5871ZM10.9059 13.3699L10.6087 13.667L11.139 14.1974L11.4362 13.9002L10.9059 13.3699ZM11.139 13.667L10.8867 13.4147L10.3564 13.945L10.6087 14.1974L11.139 13.667ZM9.87736 12.4054L9.37269 11.9007L8.84236 12.431L9.34703 12.9357L9.87736 12.4054ZM8.36334 10.8913L8.111 10.639L7.58067 11.1693L7.83301 11.4217L8.36334 10.8913ZM7.58067 10.639L7.36752 10.8522L7.89785 11.3825L8.111 11.1693L7.58067 10.639ZM6.51489 11.7048L6.30174 11.9179L6.83207 12.4483L7.04522 12.2351L6.51489 11.7048ZM6.30174 12.4483L6.54101 12.6875L7.07134 12.1572L6.83207 11.9179L6.30174 12.4483ZM7.49812 13.6446L7.97668 14.1232L8.50701 13.5929L8.02845 13.1143L7.49812 13.6446ZM8.93379 15.0803L9.41234 15.5589L9.94267 15.0285L9.46412 14.55L8.93379 15.0803ZM10.3695 16.516L10.6087 16.7553L11.1391 16.2249L10.8998 15.9856L10.3695 16.516ZM11.1391 16.7553L11.3522 16.5421L10.8219 16.0118L10.6087 16.2249L11.1391 16.7553ZM12.2048 15.6895L12.418 15.4763L11.8877 14.946L11.6745 15.1591L12.2048 15.6895ZM12.418 14.946L12.418 14.946L11.8877 15.4763L11.8877 15.4763L12.418 14.946ZM12.418 14.946L12.418 14.946L11.8876 15.4763L11.8877 15.4763L12.418 14.946ZM12.418 15.4763L12.7151 15.1792L12.1848 14.6488L11.8876 14.946L12.418 15.4763ZM13.9037 13.9906L14.498 13.3963L13.9676 12.866L13.3733 13.4603L13.9037 13.9906ZM15.6865 12.2078L16.2808 11.6135L15.7505 11.0832L15.1562 11.6774L15.6865 12.2078ZM17.4693 10.4249L17.7665 10.1278L17.2361 9.59747L16.939 9.89461L17.4693 10.4249ZM17.7665 9.59747L17.5533 9.38432L17.023 9.91465L17.2361 10.1278L17.7665 9.59747ZM16.7007 8.53169L16.4875 8.31854L15.9572 8.84887L16.1704 9.06202L16.7007 8.53169Z",fill:"var(--line-normal)",strokeWidth:0})]})},Edit2:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),v.jsx("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"})]})},Trash:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...ii(t),...l,ref:i,children:[v.jsx("polyline",{points:"3 6 5 6 21 6"}),v.jsx("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),v.jsx("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),v.jsx("line",{x1:"14",y1:"11",x2:"14",y2:"17"})]})},AddRowBelow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ku(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M200-560h560v-240H200v240Zm-80 400v-720h720v720H680v-80h80v-240H200v240h80v80H120Zm360-320Zm0-80v80-80Zm0 0ZM440-80v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},AddRowAbove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ku(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M200-160h560v-240H200v240Zm640 80H120v-720h160v80h-80v240h560v-240h-80v-80h160v720ZM480-480Zm0 80v-80 80Zm0 0Zm-40-240v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},AddColRight:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ku(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M160-760v560h240v-560H160ZM80-120v-720h720v160h-80v-80H480v560h240v-80h80v160H80Zm400-360Zm-80 0h80-80Zm0 0Zm320 120v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},AddColLeft:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ku(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M800-200v-560H560v560h240Zm-640 80v-160h80v80h240v-560H240v80h-80v-160h720v720H160Zm320-360Zm80 0h-80 80Zm0 0ZM160-360v-80H80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},RemoveCol:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ku(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M360-440h240v-80H360v80Zm-80-120Zm240 0ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h160q33 0 56.5 23.5T440-760v80h-80v-80H200v560h160v-80h80v80q0 33-23.5 56.5T360-120H200Zm400 0q-33 0-56.5-23.5T520-200v-80h80v80h160v-560H600v80h-80v-80q0-33 23.5-56.5T600-840h160q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H600Z"})})},RemoveRow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ku(e),fill:t,...l,ref:i,children:[v.jsx("path",{d:"M360-440h240v-80H360v80Z"}),v.jsx("path",{d:"M-80-120Zm240 0ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h160q33 0 56.5 23.5T440-760v80h-80v-80H200v560h160v-80h80v80q0 33-23.5 56.5T360-120H200Zm400 0q-33 0-56.5-23.5T520-200v-80h80v80h160v-560H600v80h-80v-80q0-33 23.5-56.5T600-840h160q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H600Z",transform:"rotate(90 480 -480)"})]})},Table:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...i}=r;return v.jsx("svg",{...lt(e),...ii(t),...i,ref:n,children:v.jsx("path",{className:"ql-stroke ql-thick",d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18"})})},Minus:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...i}=r;return v.jsx("svg",{...lt(e),...ii(t),...i,ref:n,children:v.jsx("line",{className:"ql-stroke ql-thick",x1:"5",y1:"12",x2:"19",y2:"12"})})},EditorArrow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="currentColor",svgRef:i,...l}=r;return v.jsxs("svg",{...lt(e),...l,ref:i,children:[v.jsx("path",{d:"M11 5L16.1962 10.25H5.80385L11 5Z",fill:t}),v.jsx("path",{d:"M11 19L16.1962 13.75H5.80385L11 19Z",fill:n})]})},Target:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...i}=r;return v.jsx("svg",{...lt(e),...i,ref:n,children:v.jsx("g",{id:"target",children:v.jsx("path",{id:"Vector",d:"M12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19Z",fill:t})})})}}),am=Xt.keys(th);function Mf(r,e,t){return e!==void 0&&r<e?e:t!==void 0&&r>t?t:r}var vi=(r=>(r.N="North",r.S="South",r.E="East",r.W="West",r))(vi||{}),Ku=(r=>(r.N="North",r.NW="NorthWest",r.NE="NorthEast",r.S="South",r.SW="SouthWest",r.SE="SouthEast",r.E="East",r.EN="EastNorth",r.ES="EastSouth",r.W="West",r.WN="WestNorth",r.WS="WestSouth",r))(Ku||{});function lm(r,e,t,n){if(!r.current||!e.current)return;const i=r.current.getBoundingClientRect(),l=e.current.getBoundingClientRect();let u={bottom:void 0,left:void 0,right:void 0,top:void 0};switch(t){case"North":u=l?{bottom:window.innerHeight-i.top,left:i.left+i.width/2-l.width/2}:{bottom:window.innerHeight-i.top,left:i.left};break;case"NorthWest":u={bottom:window.innerHeight-i.top,left:i.left};break;case"NorthEast":u={bottom:window.innerHeight-i.top,right:window.innerWidth-i.left-i.width};break;case"South":u=l?{top:i.bottom,left:i.left+i.width/2-l.width/2}:{top:i.bottom,left:i.left};break;case"SouthWest":u={top:i.bottom,left:i.left};break;case"SouthEast":u={top:i.bottom,right:window.innerWidth-i.left-i.width};break;case"East":u=l?{top:i.top+i.height/2-l.height/2,left:i.right}:{top:i.top,left:i.right};break;case"EastNorth":u={bottom:window.innerHeight-i.top-i.height,left:i.right};break;case"EastSouth":u={top:i.top,left:i.right};break;case"West":u=l?{top:i.top+i.height/2-l.height/2,right:window.innerWidth-i.left}:{top:i.top,right:window.innerWidth-i.left};break;case"WestNorth":u={bottom:window.innerHeight-i.top-i.height,right:window.innerWidth-i.left};break;case"WestSouth":u={top:i.top,right:window.innerWidth-i.left};break;default:u={top:i.top,left:i.left}}n&&(n.x&&u.left&&(u.left+=n.x),n.y&&u.top&&(u.top+=n.y)),u=G_(u,l),e.current.style.top=u.top+"px",e.current.style.left=u.left+"px",e.current.style.bottom=u.bottom+"px",e.current.style.right=u.right+"px"}function V_(r,e,t,n){if(!r)return;const i=e instanceof HTMLElement?e:e==null?void 0:e.current;if(!i)return;const l=r.getBoundingClientRect(),u=i.getBoundingClientRect();let h={bottom:void 0,left:void 0,right:void 0,top:void 0};switch(t){case"North":h=u?{bottom:window.innerHeight-l.top,left:l.left+l.width/2-u.width/2}:{bottom:window.innerHeight-l.top,left:l.left};break;case"NorthWest":h={bottom:window.innerHeight-l.top,left:l.left};break;case"NorthEast":h={bottom:window.innerHeight-l.top,right:window.innerWidth-l.left-l.width};break;case"South":h=u?{top:l.bottom,left:l.left+l.width/2-u.width/2}:{top:l.bottom,left:l.left};break;case"SouthWest":h={top:l.bottom,left:l.left};break;case"SouthEast":h={top:l.bottom,right:window.innerWidth-l.left-l.width};break;case"East":h=u?{top:l.top+l.height/2-u.height/2,left:l.right}:{top:l.top,left:l.right};break;case"EastNorth":h={bottom:window.innerHeight-l.top-l.height,left:l.right};break;case"EastSouth":h={top:l.top,left:l.right};break;case"West":h=u?{top:l.top+l.height/2-u.height/2,right:window.innerWidth-l.left}:{top:l.top,right:window.innerWidth-l.left};break;case"WestNorth":h={bottom:window.innerHeight-l.top-l.height,right:window.innerWidth-l.left};break;case"WestSouth":h={top:l.top,right:window.innerWidth-l.left};break;default:h={top:l.top,left:l.left}}return n&&(n.x&&h.left&&(h.left+=n.x),n.y&&h.top&&(h.top+=n.y)),h=G_(h,u),i.style.top=h.top+"px",i.style.left=h.left+"px",i.style.bottom=h.bottom+"px",i.style.right=h.right+"px",h}function G_(r,e,t=10){return r.left&&r.left<t&&(r.left=t),r.right&&r.right<t&&(r.right=t),r.top&&r.top<t&&(r.top=t),r.bottom&&r.bottom<t&&(r.bottom=t),r.left&&e&&r.left+e.width>window.innerWidth-t&&(r.left=window.innerWidth-e.width-t),r.right&&e&&r.right+e.width>window.innerWidth-t&&(r.right=window.innerWidth-e.width-t),r.top&&e&&r.top+e.height>window.innerHeight-t&&(r.top=window.innerHeight-e.height-t),r.bottom&&e&&r.bottom+e.height>window.innerHeight-t&&(r.bottom=window.innerHeight-e.height-t),r}function $c(){const r={preventDefault:!1};return{event:r,e:{preventDefault:()=>r.preventDefault=!0}}}const B4="_Tooltip_3l8se_1",q4="_Arrow_3l8se_17",zv={Tooltip:B4,Arrow:q4},Z_=r=>{const{tooltip:e,targetRef:t,delay:n=0,distance:i=10,direction:l=vi.S}=r,[u,h]=I.useState(!1),g=I.useRef(null),m=I.useRef(null),M=I.useRef(),T=I.useCallback(()=>{h(!0),M.current&&(clearTimeout(M.current),M.current=void 0);const D=setTimeout(()=>$v(t,g,m,i,l),n);M.current=D},[t,n,i,l]),C=I.useCallback(()=>h(!1),[]);I.useEffect(()=>{const D=t.current;if(D)return D.addEventListener("mouseenter",T),D.addEventListener("mouseleave",C),()=>{D.removeEventListener("mouseenter",T),D.removeEventListener("mouseleave",C)}},[t,C,T]);const _=I.useCallback(()=>{$v(t,g,m,i,l)},[t,i,l]);I.useEffect(()=>{if(!t.current||!g.current||!u)return;const D=t.current.parentElement;let A=D;for(;A;)A.addEventListener("scroll",_),A=A.parentElement;return()=>{let b=D;for(;b;)b.removeEventListener("scroll",_),b=b.parentElement}},[t,_,u]),I.useEffect(()=>{_()},[e,_]);const S=I.useMemo(()=>{switch(typeof e){case"boolean":return!0;case"string":return e==="";case"number":return!1;default:return!e}},[e]);return!u||S?null:Fs.createPortal(v.jsxs("div",{className:qe.clsx(zv.Tooltip,"NoSelect"),ref:g,children:[e,v.jsx("div",{ref:m,className:zv.Arrow})]}),document.body)},_d="5px solid var(--ATooltip_background-color)";function $v(r,e,t,n,i=vi.S){if(!r.current||!e.current||!t.current)return;const l=H4(r.current,e.current,n,i);if(!l)return;const{left:u,top:h,arrowDir:g,arrow:m}=l;e.current.style.left=`${u}px`,e.current.style.top=`${h}px`,e.current.style.visibility="visible",e.current.style.opacity="1",t.current.style.border="5px solid transparent",g===vi.N?(t.current.style.top="-9px",t.current.style.left=`calc(50% - 5px + ${m.left??0}px)`,t.current.style.borderBottom=_d):g===vi.S?(t.current.style.top="100%",t.current.style.left=`calc(50% - 5px + ${m.left??0}px)`,t.current.style.borderTop=_d):g===vi.W?(t.current.style.top=`calc(50% - 5px + ${m.top??0}px)`,t.current.style.left="-9px",t.current.style.borderRight=_d):g===vi.E&&(t.current.style.top=`calc(50% - 5px + ${m.top??0}px)`,t.current.style.left="100%",t.current.style.borderLeft=_d)}const $l=5;function H4(r,e,t,n){const i=r.getBoundingClientRect(),l=e.getBoundingClientRect();function u(){if(window.innerHeight-i.bottom>l.height+t){const M=i.bottom+t,T=i.left+(i.width-l.width)/2,C=Mf(T,$l,window.innerWidth-$l-l.width),_=vi.N;return{left:C,top:M,arrowDir:_,arrow:{left:T-C}}}}function h(){if(i.top>l.height+t){const M=i.top-l.height-t,T=i.left+(i.width-l.width)/2,C=Mf(T,$l,window.innerWidth-$l-l.width),_=vi.S;return{left:C,top:M,arrowDir:_,arrow:{left:T-C}}}}function g(){if(window.innerWidth-i.right>l.width+t){const M=i.right+t,T=i.top+(i.height-l.height)/2,C=Mf(T,$l,window.innerHeight-$l-l.height),_=vi.W;return{left:M,top:C,arrowDir:_,arrow:{top:T-C}}}}function m(){if(i.left>l.width+t){const M=i.left-l.width-t,T=i.top+(i.height-l.height)/2,C=Mf(T,$l,window.innerHeight-$l-l.height),_=vi.E;return{left:M,top:C,arrowDir:_,arrow:{top:T-C}}}}if(n===vi.E)return g()||m()||u()||h();if(n===vi.S)return u()||h()||g()||m();if(n===vi.W)return m()||g()||u()||h();if(n===vi.N)return h()||u()||g()||m()}const z4="_ABase_xbi52_1",$4="_UseDimming_xbi52_6",U4="_Dimmer_xbi52_6",W4="_Spinner_xbi52_9",V4="_Dimmed_xbi52_12",G4="_IsDimmed_xbi52_33",Z4="_IsLoading_xbi52_38",Y4="_IsDisabled_xbi52_43",Af={ABase:z4,UseDimming:$4,Dimmer:U4,Spinner:W4,Dimmed:V4,IsDimmed:G4,IsLoading:Z4,IsDisabled:Y4},Ur=r=>{const{children:e,abaseRef:t,isDisabled:n,isLoading:i,isDimmed:l,tooltip:u,tooltipDistance:h=10,tooltipDelay:g=0,tooltipDirection:m=vi.S,...M}=r,T=I.useRef(null),C=I.useMemo(()=>t??T,[t]),_=I.useMemo(()=>typeof n=="string"&&n!==""?n:u!==void 0?u:"",[n,u]),S=I.useMemo(()=>n||i||l,[n,i,l]),D=I.useMemo(()=>n!==void 0||i!==void 0||l!==void 0,[n,i,l]);return v.jsxs("div",{...M,className:qe.clsx(M.className,Af.ABase,D&&Af.UseDimming,S&&Af.Dimmed),ref:C,children:[e,D&&v.jsx("div",{className:qe.sclsx(Af,"Dimmer",n&&"IsDisabled",i&&"IsLoading",l&&"IsDimmed")}),i&&v.jsx("div",{className:qe.sclsx(Af,"Spinner",n&&"IsDisabled",i&&"IsLoading"),children:v.jsx(Br,{icon:"Spinner"})}),v.jsx(Z_,{tooltip:_,delay:g,distance:h,direction:m,targetRef:C})]})},K4="_AButton_vulhu_1",X4="_Primary_vulhu_14",J4="_Secondary_vulhu_19",Q4="_Alter_vulhu_24",e5="_AIconButton_vulhu_30",t5="_AThemeButton_vulhu_71",Uf={AButton:K4,Primary:X4,Secondary:J4,Alter:Q4,AIconButton:e5,AThemeButton:t5},r5=["Primary","Secondary","Alter","Raw"],Bi=r=>{const{type:e="Primary",onClick:t,noInteractive:n,...i}=r,l=I.useMemo(()=>i.isDisabled||i.isLoading,[i.isDisabled,i.isLoading]),u=I.useCallback(h=>{l||t==null||t(h)},[l,t]);return v.jsx(Ur,{...i,className:qe.clsx(i.className,Uf.AButton,e!=="Raw"&&Uf[e],"IsClickable",!l&&!n&&"IsInteractive"),onClick:u})},n5=["Primary","Secondary","Raw"],vo=r=>{const{icon:e,iconSize:t,type:n="Primary",onClick:i,isDisabled:l,isLoading:u,tooltip:h,className:g,...m}=r,M=I.useMemo(()=>l||u,[l,u]),T=I.useCallback(_=>{M||i==null||i(_)},[M,i]),C=I.useMemo(()=>am.includes(e)?v.jsx(Br,{icon:e,size:t}):e,[e,t]);return v.jsx(Ur,{className:qe.clsx(Uf.AIconButton,!l&&!u&&"IsClickable",n!=="Raw"&&Uf[n],g),onClick:T,isDisabled:l,isLoading:u,tooltip:h,...m,children:C})};function pn(r,e){r!==void 0&&r.length===1&&(e=r[0]);const t=I.useState(e);return I.useMemo(()=>r===void 0||r.length===1?t:r,[t,r])}const i5={Ok:"Ok",Cancel:"Cancel"},o5={"select n":r=>v.jsxs(v.Fragment,{children:["Select ",r]}),"deselect n":r=>v.jsxs(v.Fragment,{children:["Deselect ",r]}),"Search(Placeholder)":"Search","Search(Button)":"Search",Items:"Items","*Click row for single select":"*Click row for single select","*Change order to row drag":"*Change order to row drag","Loading Contents...":"Loading Contents..."},s5={weekDays:r=>["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][r],months:r=>["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][r],"Select Date":"Select Date"},a5={weekDays:r=>["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][r],months:r=>["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][r],"Select DateRange":"Select DateRange","1일":"1 Day","1주일":"1 Week","1개월":"1 Month","3개월":"3 Months"},l5={"drop file to select":"Drop file to select","or Drag & Drop":"or Drag & Drop","Select File":"Select File"},c5={"Checked n items":r=>v.jsxs(v.Fragment,{children:["Checked ",r," items"]}),"Searched n items":r=>v.jsxs(v.Fragment,{children:["Searched ",r," items"]}),"Total n items":r=>v.jsxs(v.Fragment,{children:["Total ",r," items"]}),"Sort by x":r=>v.jsxs(v.Fragment,{children:["Sort by ",r]}),"Sort up":"Sort up","Sort down":"Sort down",Asc:"Asc",Desc:"Desc","Search(Placeholder)":"Search","Search(Button)":"Search","Clear(Button)":"Clear",Select:"Select","Toggle Filter":"Toggle Filter","No Items":"No Items"},u5={"Select(Placeholder)":"Select"},f5={"Select(Placeholder)":"Select"},d5={"Insert Column Right":"Insert Column Right","Insert Column Left":"Insert Column Left","Insert Row Top":"Insert Row Top","Insert Row Bottom":"Insert Row Bottom","Delete Column":"Delete Column","Delete Row":"Delete Row","Delete Table":"Delete Table","Image size adjust":"Image size adjust",Center:"Center",floatLeft:"Left",floatRight:"Right","Input on mouse down":"Input on mouse down",Restore:"Restore","Right click to open properties":"Right click to open properties",Default:"Default"},h5={Asterisk:"Required field"},hn={ADialog:i5,ATree:o5,ADatePicker:s5,ADateRangePicker:a5,AFileBox:l5,ATable:c5,ASelect:u5,AMultiSelect:f5,AEditor:d5,AWrap:h5};function p5(r,e){Xt.keys(e).forEach(t=>{r[t]=e[t]})}const g5=(r,e)=>{p5(hn[r],e)},m5="_AWrap_1hjj4_1",v5="_Label_1hjj4_8",y5="_Asterisk_1hjj4_18",b5="_HelperTextConatiner_1hjj4_22",_5="_HelperText_1hjj4_22",Ru={AWrap:m5,Label:v5,Asterisk:y5,HelperTextConatiner:b5,HelperText:_5,Error:"_Error_1hjj4_37"},x5=["Default","Error"],Uc=r=>{const{wrapProps:e,errorMessage:t,helperText:n,wrapType:i="Default",label:l,labelProps:u,children:h}=r,g=I.useRef(null),[m,M]=I.useState({height:0}),T=I.useRef(null),[C,_]=I.useMemo(()=>{let D=n,A=i;if(Array.isArray(t)){const b=t.filter(Boolean);b.length>0&&([D,A]=[b,"Error"])}else t&&([D,A]=[t,"Error"]);return Array.isArray(D)&&(A!=="Error"&&(D=D.filter(Boolean)),D=D.map((b,k)=>v.jsxs(I.Fragment,{children:[b,v.jsx("br",{})]},k))),[D,A]},[n,t,i]);I.useEffect(()=>{if(!C||!g.current)M({height:0});else{const D=g.current.getBoundingClientRect();M({height:D.height,marginTop:D.height===0?0:6})}},[C]);const S=I.useMemo(()=>{switch(typeof(u==null?void 0:u.prefix)){case"string":return v.jsx(Br,{width:"1rem",height:"1rem",icon:u.prefix});case"boolean":return v.jsx(Br,{width:10,height:10,icon:"Target"});default:return u==null?void 0:u.prefix}},[u==null?void 0:u.prefix]);return v.jsxs("div",{...e,className:qe.clsx(e==null?void 0:e.className,Ru.AWrap),ref:T,children:[l&&v.jsxs("div",{className:qe.clsx(Ru.Label,"NoSelect",u==null?void 0:u.className),style:u==null?void 0:u.style,children:[S,l,(u==null?void 0:u.asterisk)&&v.jsx(Ur,{tooltip:hn.AWrap.Asterisk,className:Ru.Asterisk,children:"*"})]}),h,C!==void 0&&v.jsx("div",{className:qe.clsx(Ru.HelperTextConatiner,"NoSelect"),style:m,children:v.jsx("div",{className:qe.clsx(Ru.HelperText,Ru[_]),ref:g,children:C})})]})},S5="_ASwitch_1uv2e_1",C5="_Track_1uv2e_6",w5="_Truthy_1uv2e_13",A5="_Thumb_1uv2e_17",Tf={ASwitch:S5,Track:C5,Truthy:w5,Thumb:A5},Y_=r=>{const{wrapProps:e,helperText:t,label:n,useCheck:i,...l}=r,[u,h]=pn(i,!1),g=I.useCallback(m=>{var M;l.isDisabled||l.isLoading||(h==null||h(!u),(M=l.onClick)==null||M.call(l,m))},[l,u,h]);return v.jsx(Uc,{helperText:t,label:n,wrapProps:{...e},children:v.jsx(Ur,{...l,className:Tf.ASwitch,onClick:g,children:v.jsx("div",{className:qe.clsx(Tf.Track,u&&Tf.Truthy),children:v.jsx("div",{className:qe.clsx(Tf.Thumb,u&&Tf.Truthy)})})})})},T5={palette:{"mode-1":{"common-100":"#ffffff","common-0":"#000000","neutral-99":"#fcfcfc","neutral-94":"#efefef","neutral-89":"#e2e2e2","neutral-84":"#d6d6d6","neutral-79":"#c9c9c9","neutral-73":"#bababa","neutral-65":"#a5a5a5","neutral-54":"#898989","neutral-42":"#6b6b6b","neutral-30":"#4c4c4c","neutral-20":"#333333","neutral-15":"#2c2c2c","neutral-10":"#191919","neutral-5":"#0c0c0c","cool-neutral-99":"#fcfcfc","cool-neutral-94":"#efeff0","cool-neutral-89":"#e1e2e4","cool-neutral-84":"#d4d5d7","cool-neutral-79":"#c7c8cb","cool-neutral-73":"#b7b9bc","cool-neutral-65":"#a2a4a9","cool-neutral-54":"#85888e","cool-neutral-42":"#66696f","cool-neutral-30":"#494b4f","cool-neutral-20":"#303235","cool-neutral-10":"#18191a","cool-neutral-5":"#0c0c0c","red-99":"#fff9f9","red-95":"#ffe5e5","red-90":"#ffcccc","red-84":"#ffadad","red-76":"#ff8484","red-66":"#ff5151","red-53":"#ff0f0f","red-45":"#e50000","red-34":"#a80000","red-30":"#990000","red-24":"#7a0000","red-10":"#330000","green-99":"#fafffa","green-95":"#e5ffe8","green-90":"#ccffd1","green-84":"#adffb6","green-76":"#84ff90","green-66":"#51ff62","green-48":"#00f418","green-45":"#00e517","green-34":"#00a810","green-30":"#00990f","green-24":"#007a0c","green-10":"#003305","blue-99":"#fafdff","blue-95":"#e5f3ff","blue-90":"#cce6ff","blue-84":"#add7ff","blue-76":"#84c3ff","blue-66":"#51abff","blue-53":"#0f8bff","blue-45":"#0077e5","blue-34":"#0056a8","blue-30":"#004f99","blue-24":"#003f7a","blue-10":"#001a33","orange-99":"#fffcfa","orange-95":"#ffefe5","orange-90":"#ffdecc","orange-84":"#ffcbad","orange-76":"#ffb184","orange-66":"#ff9151","orange-53":"#ff670f","orange-45":"#e55400","orange-34":"#a83d00","orange-30":"#993800","orange-24":"#7a2c00","orange-10":"#331200","violet-99":"#fcfaff","violet-95":"#eee5ff","violet-90":"#dcccff","violet-84":"#c7adff","violet-76":"#ab84ff","violet-66":"#8852ff","violet-53":"#5b0fff","violet-45":"#4900e5","violet-34":"#3500a8","violet-28":"#2d008e","violet-24":"#26007a","violet-10":"#100033","cyan-99":"#faffff","cyan-95":"#e5fdff","cyan-90":"#ccfbff","cyan-84":"#adf9ff","cyan-76":"#84f6ff","cyan-66":"#51f3ff","cyan-50":"#00edff","cyan-45":"#00d6e5","cyan-40":"#00becc","cyan-30":"#008e99","cyan-21":"#00636b","cyan-10":"#002f33","pink-99":"#fffefa","pink-95":"#ffe5f5","pink-90":"#ffccea","pink-84":"#ffadde","pink-76":"#ff84ce","pink-66":"#ff51b9","pink-53":"#ff0f9f","pink-45":"#e5008a","pink-40":"#cc007a","pink-30":"#99005b","pink-21":"#6b0040","pink-10":"#33001e","lime-99":"#fcfffa","lime-95":"#eeffe5","lime-90":"#ddffcc","lime-84":"#c8ffad","lime-76":"#adff84","lime-66":"#8bff51","lime-49":"#53f900","lime-45":"#4ce500","lime-40":"#44cc00","lime-30":"#339900","lime-21":"#236b00","lime-10":"#113300","brand-b-color":"#386fff"}},semantic:{light:{"static-white":"common-100","static-black":"common-0","acent-brand":"brand-b-color","label-normal":"neutral-20","label-strong":"neutral-5","label-neutral":"neutral-73","line-normal":"neutral-79","line-strong":"neutral-65","line-neutral":"neutral-89","background-normal":"common-100","elevation-0":"common-100","elevation-10":"neutral-94","elevation-20":"neutral-73","alert-warning":"orange-53","alert-success":"green-45","alert-danger":"red-45","inverse-label-normal":"neutral-84","inverse-label-strong":"neutral-99","inverse-label-neutral":"neutral-30","inverse-line-normal":"neutral-30","inverse-line-strong":"neutral-54","inverse-line-neutral":"neutral-20","inverse-elevation-0":"neutral-5","inverse-elevation-10":"neutral-10","inverse-elevation-20":"neutral-15"},dark:{"static-white":"common-100","static-black":"common-0","acent-brand":"brand-b-color","label-normal":"neutral-84","label-strong":"neutral-99","label-neutral":"neutral-30","line-normal":"neutral-30","line-strong":"neutral-54","line-neutral":"neutral-20","background-normal":"neutral-5","elevation-0":"neutral-5","elevation-10":"neutral-10","elevation-20":"neutral-15","alert-warning":"orange-53","alert-success":"green-45","alert-danger":"red-45","inverse-label-normal":"neutral-20","inverse-label-strong":"neutral-5","inverse-label-neutral":"neutral-73","inverse-line-normal":"neutral-79","inverse-line-strong":"neutral-65","inverse-line-neutral":"neutral-89","inverse-elevation-0":"common-100","inverse-elevation-10":"neutral-94","inverse-elevation-20":"neutral-73"}}},bi=F_.cloneDeep(T5);Xt.keys(bi.semantic).forEach(r=>{const e=bi.semantic[r];Xt.keys(e).forEach(t=>{e[t]=`var(--${e[t]})`})});const rh=Xt.keys(bi.palette),K_=Xt.keys(bi.palette[rh[0]]);function E5(){return oi.paletteMode}function k5(r,e=oi.paletteMode){return bi.palette[e][r]}function R5(r){return ih(r)}const Wd=[];function X_(r){oi.paletteMode=r,K_.forEach(e=>document.documentElement.style.setProperty(`--${e}`,bi.palette[r][e])),Wd.forEach(e=>e(r))}function J_(r,e="all"){Xt.keys(r).forEach(n=>{const i=r[n];i!==void 0&&(document.documentElement.style.setProperty(`--${n}`,i),e==="all"?rh.forEach(l=>{bi.palette[l][n]=i}):bi.palette[e][n]=i)})}const $u=Xt.keys(bi.semantic),Q_=Xt.keys(bi.semantic[$u[0]]);function I5(){return oi.semanticMode}function L5(r,e=oi.semanticMode){return bi.semantic[e][r]}function M5(r){return ih(r)}const Vd=[];function cm(r){oi.semanticMode=r,document.documentElement.setAttribute("data-theme",r),Q_.forEach(e=>document.documentElement.style.setProperty(`--${e}`,bi.semantic[r][e])),Vd.forEach(e=>e(r)),oi.save==="localStorage"?localStorage.setItem("semanticMode",r):oi.save==="sessionStorage"&&sessionStorage.setItem("semanticMode",r)}function e2(r,e=oi.semanticMode){Xt.keys(r).forEach(n=>{const i=r[n];i!==void 0&&(document.documentElement.style.setProperty(`--${n}`,i),e==="all"?$u.forEach(l=>{bi.semantic[l][n]=i}):bi.semantic[e][n]=i)})}const t2=["Body-background-color","Body-color","Body-transition","Font","Scrollbar-handle","Scrollbar-handle-hover","Scrollbar-handle-active","Scrollbar-track","Scrollbar-border-radius","Scrollbar-width","Transition"],r2=["ABase_Dimming_background-color"],n2=["ATooltip_background-color","ATooltip_color"],i2=["AButton_Primary_border","AButton_Primary_background-color","AButton_Primary_color","AButton_Secondary_border","AButton_Secondary_background-color","AButton_Secondary_color","AButton_Alter_border","AButton_Alter_background-color","AButton_Alter_color"],o2=["AInput_Primary_background-color","AInput_Primary_border","AInput_Primary_color","AInput_Primary_hover_border","AInput_Primary_focus_background-color","AInput_Primary_focus_border","AInput_Primary_placeholder_color","AInput_Secondary_background-color","AInput_Secondary_border","AInput_Secondary_color","AInput_Secondary_hover_border","AInput_Secondary_focus_border","AInput_Secondary_placeholder_color","AInput_ReadOnly_background-color","AInput_ReadOnly_border","AInput_ReadOnly_color","AInput_Error_HelperText_color","AInput_Error_background-color","AInput_Error_border","AInput_Error_color","AInput_Error_placeholder_color"],s2=["ATextArea_Primary_background-color","ATextArea_Primary_border","ATextArea_Primary_color","ATextArea_Primary_hover_border","ATextArea_Primary_focus_background-color","ATextArea_Primary_focus_border","ATextArea_Secondary_background-color","ATextArea_Secondary_border","ATextArea_Secondary_color","ATextArea_Secondary_hover_border","ATextArea_Secondary_focus_border","ATextArea_ReadOnly_background-color","ATextArea_ReadOnly_border","ATextArea_ReadOnly_color","ATextArea_Error_background-color","ATextArea_Error_border","ATextArea_Error_color","ATextArea_Error_placeholder_color"],a2=["AEditor_Primary_background-color","AEditor_Primary_border","AEditor_Primary_color","AEditor_Primary_hover_border","AEditor_Primary_focus_background-color","AEditor_Primary_focus_border","AEditor_ReadOnly_background-color","AEditor_ReadOnly_border","AEditor_ReadOnly_hover_border","AEditor_ReadOnly_focus_border","AEditor_ReadOnly_color","AEditor_Error_background-color","AEditor_Error_border","AEditor_Error_color","AEditor_Error_placeholder_color","AEditor_Addon_Primary_background-color","AEditor_Addon_Primary_border","AEditor_Addon_Primary_color","AEditor_Addon_Secondary_background-color","AEditor_Addon_Secondary_border","AEditor_Addon_Secondary_color","AEditor_Addon_hover_background-color","AEditor_Addon_hover_color","AEditor_Addon_focus_border","AEditor_border-radius","AEditor_Select_border-radius","AEditor_Option_border-radius"],l2=["ACheckBox_color"],c2=["ADialog_Paper_background-color","ADialog_background-color","ADialog_border","ADialog_Action_background-color"],u2=["ASelect_Placeholder_color","ASelect_Primary_border","ASelect_Primary_hover_border","ASelect_Primary_Arrow_color","ASelect_Primary_Options_background-color","ASelect_Primary_Options_border","ASelect_Primary_Option_hover_background-color","ASelect_Primary_Option_active_background-color","ASelect_Primary_Option_Selected_background-color","ASelect_Secondary_border","ASelect_Secondary_hover_border","ASelect_Secondary_Arrow_color","ASelect_Secondary_Options_background-color","ASelect_Secondary_Options_border","ASelect_Secondary_Option_hover_background-color","ASelect_Secondary_Option_active_background-color","ASelect_Secondary_Option_Selected_background-color"],f2=["AMultiSelect_Placeholder_color","AMultiSelect_Primary_border","AMultiSelect_Primary_hover_border","AMultiSelect_Primary_Arrow_color","AMultiSelect_Primary_Options_background-color","AMultiSelect_Primary_Options_border","AMultiSelect_Primary_Option_hover_background-color","AMultiSelect_Primary_Option_active_background-color","AMultiSelect_Primary_Option_Selected_background-color","AMultiSelect_Secondary_border","AMultiSelect_Secondary_hover_border","AMultiSelect_Secondary_Arrow_color","AMultiSelect_Secondary_Options_background-color","AMultiSelect_Secondary_Options_border","AMultiSelect_Secondary_Option_hover_background-color","AMultiSelect_Secondary_Option_active_background-color","AMultiSelect_Secondary_Option_Selected_background-color"],d2=["ATree_background-color","ATree_Indent_border","ATreeBodyHeader_border-bottom","ATreeItem_hover_background-color","ATreeItem_active_background-color","ATreeItem_select_background-color","ATreeItem_search_background-color","ATreeItem_search_border-top","ATreeItem_search_border-bottom","ATreeItem_select_color"],h2=["ASwitch_Track_Falsy_border","ASwitch_Track_Truthy_border","ASwitch_Thumb_border"],p2=["ATab_IndicatorTrack_Primary_border-bottom","ATab_Indicator_Primary_background-color","ATab_Option_Secondary_border","ATab_Option_Secondary_IsSelected_border-bottom","ATab_Option_Secondary_IsDisabled_border","ATab_IndicatorTrack_Tertiary_background-color","ATab_Indicator_Tertiary_background-color","ATab_Option_Tertiary_color","ATab_Option_Tertiary_IsSelected_color","ATab_Option_Quaternary_color","ATab_Option_Quaternary_IsSelected_color"],g2=["AFileBox_border","AFileBox_background-color","AFileBox_SelectedFile_color","AFileBox_Dropping_color"],m2=["AListView_border-thin","AListView_border-thick"],v2=["AStepper_OutCircle_background-color","AStepper_OutCircle_IsOver_background-color","AStepper_InCircle_background-color","AStepper_InCircle_IsOver_background-color","AStepper_Line_background-color","AStepper_Line_IsOver_background-color"],y2=["ADatePicker_Anchor_border","ADatePicker_Anchor_color","ADatePicker_Anchor_Placeholder_color","ADatePicker_Anchor_hover_border","ADatePicker_Anchor_focus_border","ADatePicker_Anchor_Icon_Primary_color","ADatePicker_Anchor_Icon_Secondary_color","ADatePicker_background-color","ADatePicker_border","ADatePicker_StringInputContainer_background-color","ADatePicker_String_border","ADatePicker_Prev_background-color","ADatePicker_Prev_border-right","ADatePicker_Next_background-color","ADatePicker_Next_border-left","ADatePicker_Cell_color","ADatePicker_Cell_IsNotCurrentMonth_color","ADatePicker_Cell_IsDisabled_color","ADatePicker_Cell_IsSelected_background-color","ADatePicker_Cell_IsSelected_color","ADatePicker_Cell_IsHovered_background-color"],b2=["ADateRangePicker_Anchor_border","ADateRangePicker_Anchor_color","ADateRangePicker_Anchor_Placeholder_color","ADateRangePicker_Anchor_hover_border","ADateRangePicker_Anchor_focus_border","ADateRangePicker_Anchor_Icon_Primary_color","ADateRangePicker_Anchor_Icon_Secondary_color","ADateRangePicker_background-color","ADateRangePicker_border","ADateRangePicker_StringInputContainer_background-color","ADateRangePicker_String_border","ADateRangePicker_Prev_background-color","ADateRangePicker_Prev_border-right","ADateRangePicker_Next_background-color","ADateRangePicker_Next_border-left","ADateRangePicker_Cell_color","ADateRangePicker_Cell_IsNotCurrentMonth_color","ADateRangePicker_Cell_IsDisabled_color","ADateRangePicker_Cell_IsSelected_background-color","ADateRangePicker_Cell_IsSelected_color","ADateRangePicker_Cell_IsHovered_background-color"],_2=["AIconButton_Primary_color","AIconButton_Primary_border","AIconButton_Primary_background-color","AIconButton_Primary_hover_background-color","AIconButton_Primary_active_background-color","AIconButton_Secondary_color","AIconButton_Secondary_background-color","AIconButton_Secondary_hover_background-color","AIconButton_Secondary_active_background-color"],x2=["ATableBody_TRow_border-bottom","ATableBody_TRow_IsSelected_background-color","ATableBody_TRow_IsSelectable_hover_background-color","ATableBody_TH_color","ATableBody_TD_IsMarked_background-color","ATableBody_TD_IsMarked_color","ATableBody_Resizer_hover_ResizerCenter_background-color","ATableBody_Resizer_active_ResizerCenter_background-color","ATableBody_Resizer_active_ResizerOut_background-color","ATableBody_Resizer_active_ResizerIn_background-color","ATableFooter_Button_IsSelected_background-color","ATableFooter_Button_IsSelected_color","ATableFooter_Button_IsDisabled_color","ATableFilter_SubFilters_background-color","ATableFilter_SubFilters_border","ATableFilter_Icon_color","ATableFilter_Alert_color"],S2=["ADivideFrame_DividerInner_background-color"],C2=["AFloatMenu_background-color","AFloatMenu_hover_background-color","AFloatMenu_color","AFloatMenu_border"],w2=["ALoadingBorder_background-color","ALoadingBorder_ProgressBar_background-color","ALoadingBorder_Cover_background-color"],A2=["AWrap_Error_color"],T2=["ARadioSelect_RadioButton_border","ARadioSelect_RadioButton_InnerCircle_isChecked_background-color"],E2=["AChip_background-color","AChip_color","AChip_border","AChip_hover_background-color","AChip_hover_color","AChip_DeleteButton_border","AChip_DeleteButton_color","AChip_DeleteButton_hover_border","AChip_DeleteButton_hover_color"],D5=[...t2,...r2,...n2,...i2,...o2,...s2,...a2,...l2,...c2,...u2,...f2,...d2,...h2,...p2,...g2,...m2,...v2,...y2,...b2,..._2,...x2,...S2,...C2,...w2,...A2,...T2,...E2],nh={"Body-background-color":"var(--background-normal)","Body-color":"var(--label-normal)","Body-transition":"background-color var(--Transition), color var(--Transition)",Font:"400 16px pretendard","Scrollbar-handle":"var(--label-neutral)","Scrollbar-handle-hover":"var(--label-normal)","Scrollbar-handle-active":"var(--label-strong)","Scrollbar-track":"var(--elevation-10)","Scrollbar-border-radius":"6px","Scrollbar-width":"12px",Transition:"300ms","ABase_Dimming_background-color":"var(--elevation-0)","ATooltip_background-color":"var(--inverse-elevation-0)",ATooltip_color:"var(--inverse-label-strong)",AButton_Primary_border:"none","AButton_Primary_background-color":"var(--acent-brand)",AButton_Primary_color:"var(--static-white)",AButton_Secondary_border:"1px solid var(--elevation-10)","AButton_Secondary_background-color":"var(--elevation-10)",AButton_Secondary_color:"var(--label-normal)",AButton_Alter_border:"1px solid var(--line-normal)","AButton_Alter_background-color":"var(--elevation-0)",AButton_Alter_color:"var(--label-normal)","AInput_Primary_background-color":"var(--elevation-0)",AInput_Primary_border:"1px solid var(--line-normal)",AInput_Primary_color:"var(--label-normal)",AInput_Primary_hover_border:"1px solid var(--line-strong)","AInput_Primary_focus_background-color":"var(--elevation-10)",AInput_Primary_focus_border:"1px solid var(--line-strong)",AInput_Primary_placeholder_color:"var(--label-neutral)","AInput_Secondary_background-color":"var(--elevation-0)",AInput_Secondary_border:"1px solid var(--line-normal)",AInput_Secondary_color:"var(--label-normal)",AInput_Secondary_hover_border:"1px solid var(--line-strong)",AInput_Secondary_focus_border:"1px solid var(--line-strong)",AInput_Secondary_placeholder_color:"var(--label-neutral)","AInput_ReadOnly_background-color":"var(--elevation-10)",AInput_ReadOnly_border:"none",AInput_ReadOnly_color:"var(--label-normal)",AInput_Error_HelperText_color:"var(--alert-danger)","AInput_Error_background-color":"inherit",AInput_Error_border:"1px solid var(--line-normal)",AInput_Error_color:"var(--label-normal)",AInput_Error_placeholder_color:"var(--label-neutral)","ATextArea_Primary_background-color":"var(--elevation-0)",ATextArea_Primary_border:"1px solid var(--line-normal)",ATextArea_Primary_color:"var(--label-normal)",ATextArea_Primary_hover_border:"1px solid var(--line-strong)","ATextArea_Primary_focus_background-color":"var(--elevation-10)",ATextArea_Primary_focus_border:"1px solid var(--line-strong)","ATextArea_Secondary_background-color":"var(--elevation-0)",ATextArea_Secondary_border:"1px solid var(--line-normal)",ATextArea_Secondary_color:"var(--label-normal)",ATextArea_Secondary_hover_border:"1px solid var(--line-strong)",ATextArea_Secondary_focus_border:"1px solid var(--line-strong)","ATextArea_ReadOnly_background-color":"var(--elevation-10)",ATextArea_ReadOnly_border:"none",ATextArea_ReadOnly_color:"var(--label-normal)","ATextArea_Error_background-color":"inherit",ATextArea_Error_border:"1px solid var(--line-normal)",ATextArea_Error_color:"var(--label-normal)",ATextArea_Error_placeholder_color:"var(--label-neutral)","AEditor_Primary_background-color":"var(--elevation-0)",AEditor_Primary_border:"1px solid var(--line-normal)",AEditor_Primary_color:"var(--label-normal)",AEditor_Primary_hover_border:"1px solid var(--line-strong)","AEditor_Primary_focus_background-color":"var(--elevation-0)",AEditor_Primary_focus_border:"1px solid var(--line-strong)","AEditor_ReadOnly_background-color":"var(--elevation-0)",AEditor_ReadOnly_border:"1px solid var(--line-normal)",AEditor_ReadOnly_hover_border:"1px solid var(--line-strong)",AEditor_ReadOnly_focus_border:"1px solid var(--line-strong)",AEditor_ReadOnly_color:"var(--label-normal)","AEditor_Error_background-color":"inherit",AEditor_Error_border:"1px solid var(--alert-danger)",AEditor_Error_color:"var(--alert-danger)",AEditor_Error_placeholder_color:"var(--alert-danger)","AEditor_Addon_Primary_background-color":"var(--background-normal)",AEditor_Addon_Primary_border:"1px solid var(--line-normal)",AEditor_Addon_Primary_color:"var(--label-normal)","AEditor_Addon_Secondary_background-color":"var(--background-normal)",AEditor_Addon_Secondary_border:"1px solid var(--line-strong)",AEditor_Addon_Secondary_color:"var(--label-neutral)","AEditor_Addon_hover_background-color":"var(--elevation-10)",AEditor_Addon_hover_color:"var(--acent-brand)",AEditor_Addon_focus_border:"1px solid var(--line-strong)","AEditor_border-radius":"2px","AEditor_Select_border-radius":"6px","AEditor_Option_border-radius":"6px",ACheckBox_color:"var(--label-normal)","ADialog_Paper_background-color":"#00000060","ADialog_background-color":"var(--elevation-0)",ADialog_border:"1px solid var(--line-neutral)","ADialog_Action_background-color":"var(--elevation-0)",ASelect_Placeholder_color:"var(--label-neutral)",ASelect_Primary_border:"1px solid var(--line-normal)",ASelect_Primary_hover_border:"1px solid var(--line-strong)",ASelect_Primary_Arrow_color:"var(--label-normal)","ASelect_Primary_Options_background-color":"var(--elevation-0)",ASelect_Primary_Options_border:"1px solid var(--line-normal)","ASelect_Primary_Option_hover_background-color":"var(--elevation-10)","ASelect_Primary_Option_active_background-color":"var(--elevation-10)","ASelect_Primary_Option_Selected_background-color":"var(--elevation-20)",ASelect_Secondary_border:"1px solid var(--line-neutral)",ASelect_Secondary_hover_border:"1px solid var(--line-normal)",ASelect_Secondary_Arrow_color:"var(--label-normal)","ASelect_Secondary_Options_background-color":"var(--elevation-0)",ASelect_Secondary_Options_border:"var(--line-normal)","ASelect_Secondary_Option_hover_background-color":"var(--elevation-10)","ASelect_Secondary_Option_active_background-color":"var(--elevation-20)","ASelect_Secondary_Option_Selected_background-color":"var(--elevation-0)",AMultiSelect_Placeholder_color:"var(--label-neutral)",AMultiSelect_Primary_border:"1px solid var(--line-normal)",AMultiSelect_Primary_hover_border:"1px solid var(--line-strong)",AMultiSelect_Primary_Arrow_color:"var(--label-normal)","AMultiSelect_Primary_Options_background-color":"var(--elevation-0)",AMultiSelect_Primary_Options_border:"1px solid var(--line-normal)","AMultiSelect_Primary_Option_hover_background-color":"var(--elevation-10)","AMultiSelect_Primary_Option_active_background-color":"var(--elevation-10)","AMultiSelect_Primary_Option_Selected_background-color":"var(--elevation-20)",AMultiSelect_Secondary_border:"1px solid var(--line-neutral)",AMultiSelect_Secondary_hover_border:"1px solid var(--line-normal)",AMultiSelect_Secondary_Arrow_color:"var(--label-normal)","AMultiSelect_Secondary_Options_background-color":"var(--elevation-0)",AMultiSelect_Secondary_Options_border:"1px solid var(--line-normal)","AMultiSelect_Secondary_Option_hover_background-color":"var(--elevation-10)","AMultiSelect_Secondary_Option_active_background-color":"var(--elevation-10)","AMultiSelect_Secondary_Option_Selected_background-color":"var(--elevation-20)","ATree_background-color":"var(--elevation-0)",ATree_Indent_border:"1px solid var(--line-normal)","ATreeBodyHeader_border-bottom":"1px solid var(--line-normal)","ATreeItem_hover_background-color":"var(--elevation-10)","ATreeItem_active_background-color":"var(--elevation-10)","ATreeItem_select_background-color":"var(--elevation-10)","ATreeItem_search_background-color":"yellow","ATreeItem_search_border-top":"1px dashed var(--label-normal)","ATreeItem_search_border-bottom":"1px dashed var(--label-normal)",ATreeItem_select_color:"var(--label-normal)",ASwitch_Track_Falsy_border:"12px solid var(--elevation-20)",ASwitch_Track_Truthy_border:"12px solid var(--acent-brand)",ASwitch_Thumb_border:"9px solid var(--static-white)","ATab_IndicatorTrack_Primary_border-bottom":"1px solid var(--line-normal)","ATab_Indicator_Primary_background-color":"var(--label-normal)",ATab_Option_Secondary_border:"2px solid var(--label-normal)","ATab_Option_Secondary_IsSelected_border-bottom":"2px solid var(--elevation-0)",ATab_Option_Secondary_IsDisabled_border:"2px solid var(--line-neutral)","ATab_IndicatorTrack_Tertiary_background-color":"var(--line-normal)","ATab_Indicator_Tertiary_background-color":"var(--elevation-0)",ATab_Option_Tertiary_color:"var(--line-strong)",ATab_Option_Tertiary_IsSelected_color:"var(--label-strong)",ATab_Option_Quaternary_color:"var(--label-neutral)",ATab_Option_Quaternary_IsSelected_color:"var(--label-normal)",AFileBox_border:"1px dashed var(--label-normal)","AFileBox_background-color":"var(--elevation-10)",AFileBox_SelectedFile_color:"var(--label-normal)",AFileBox_Dropping_color:"var(--label-normal)","AListView_border-thin":"1px solid var(--line-neutral)","AListView_border-thick":"3px solid var(--line-neutral)","AStepper_OutCircle_background-color":"transparent","AStepper_OutCircle_IsOver_background-color":"var(--elevation-10)","AStepper_InCircle_background-color":"var(--elevation-20)","AStepper_InCircle_IsOver_background-color":"var(--label-normal)","AStepper_Line_background-color":"var(--line-neutral)","AStepper_Line_IsOver_background-color":"var(--label-normal)",ADatePicker_Anchor_border:"1px solid var(--line-normal)",ADatePicker_Anchor_color:"var(--label-normal)",ADatePicker_Anchor_Placeholder_color:"var(--label-neutral)",ADatePicker_Anchor_hover_border:"1px solid var(--line-strong)",ADatePicker_Anchor_focus_border:"1px solid var(--line-strong)",ADatePicker_Anchor_Icon_Primary_color:"var(--label-normal)",ADatePicker_Anchor_Icon_Secondary_color:"var(--label-normal)","ADatePicker_background-color":"var(--elevation-0)",ADatePicker_border:"1px solid var(--line-neutral)","ADatePicker_StringInputContainer_background-color":"var(--label-neutral)",ADatePicker_String_border:"1px solid var(--label-normal)","ADatePicker_Prev_background-color":"var(--elevation-10)","ADatePicker_Prev_border-right":"6px solid var(--label-normal)","ADatePicker_Next_background-color":"var(--elevation-10)","ADatePicker_Next_border-left":"6px solid var(--label-normal)",ADatePicker_Cell_color:"var(--label-normal)",ADatePicker_Cell_IsNotCurrentMonth_color:"var(--label-neutral)",ADatePicker_Cell_IsDisabled_color:"var(--label-neutral)","ADatePicker_Cell_IsSelected_background-color":"var(--elevation-20)",ADatePicker_Cell_IsSelected_color:"var(--label-normal)","ADatePicker_Cell_IsHovered_background-color":"var(--elevation-10)",ADateRangePicker_Anchor_border:"1px solid var(--line-normal)",ADateRangePicker_Anchor_color:"var(--label-normal)",ADateRangePicker_Anchor_Placeholder_color:"var(--label-neutral)",ADateRangePicker_Anchor_hover_border:"1px solid var(--line-strong)",ADateRangePicker_Anchor_focus_border:"1px solid var(--line-strong)",ADateRangePicker_Anchor_Icon_Primary_color:"var(--label-normal)",ADateRangePicker_Anchor_Icon_Secondary_color:"var(--label-normal)","ADateRangePicker_background-color":"var(--elevation-0)",ADateRangePicker_border:"1px solid var(--line-neutral)","ADateRangePicker_StringInputContainer_background-color":"var(--label-neutral)",ADateRangePicker_String_border:"1px solid var(--label-normal)","ADateRangePicker_Prev_background-color":"var(--elevation-10)","ADateRangePicker_Prev_border-right":"6px solid var(--label-normal)","ADateRangePicker_Next_background-color":"var(--elevation-10)","ADateRangePicker_Next_border-left":"6px solid var(--label-normal)",ADateRangePicker_Cell_color:"var(--label-normal)",ADateRangePicker_Cell_IsNotCurrentMonth_color:"var(--label-neutral)",ADateRangePicker_Cell_IsDisabled_color:"var(--label-neutral)","ADateRangePicker_Cell_IsSelected_background-color":"var(--elevation-20)",ADateRangePicker_Cell_IsSelected_color:"var(--label-normal)","ADateRangePicker_Cell_IsHovered_background-color":"var(--elevation-10)",AIconButton_Primary_color:"var(--label-normal)",AIconButton_Primary_border:"1px solid var(--line-normal)","AIconButton_Primary_background-color":"var(--elevation-0)","AIconButton_Primary_hover_background-color":"var(--elevation-10)","AIconButton_Primary_active_background-color":"var(--elevation-20)",AIconButton_Secondary_color:"var(--label-normal)","AIconButton_Secondary_background-color":"var(--elevation-0)","AIconButton_Secondary_hover_background-color":"var(--elevation-10)","AIconButton_Secondary_active_background-color":"var(--elevation-20)","ATableBody_TRow_border-bottom":"1px solid var(--line-normal)","ATableBody_TRow_IsSelected_background-color":"var(--elevation-10)","ATableBody_TRow_IsSelectable_hover_background-color":"var(--elevation-10)",ATableBody_TH_color:"var(--label-neutral)","ATableBody_TD_IsMarked_background-color":"yellow",ATableBody_TD_IsMarked_color:"var(--label-normal)","ATableBody_Resizer_hover_ResizerCenter_background-color":"var(--line-neutral)","ATableBody_Resizer_active_ResizerCenter_background-color":"var(--line-neutral)","ATableBody_Resizer_active_ResizerOut_background-color":"var(--line-neutral)","ATableBody_Resizer_active_ResizerIn_background-color":"var(--line-neutral)","ATableFooter_Button_IsSelected_background-color":"var(--elevation-10)",ATableFooter_Button_IsSelected_color:"var(--label-normal)",ATableFooter_Button_IsDisabled_color:"var(--label-neutral)","ATableFilter_SubFilters_background-color":"var(--elevation-0)",ATableFilter_SubFilters_border:"1px solid var(--line-normal)",ATableFilter_Icon_color:"var(--label-normal)",ATableFilter_Alert_color:"var(--alert-danger)","ADivideFrame_DividerInner_background-color":"var(--line-normal)","AFloatMenu_background-color":"var(--elevation-0)","AFloatMenu_hover_background-color":"var(--elevation-10)",AFloatMenu_color:"var(--label-normal)",AFloatMenu_border:"1px solid var(--line-neutral)","ALoadingBorder_background-color":"var(--label-normal)","ALoadingBorder_ProgressBar_background-color":"var(--elevation-0)","ALoadingBorder_Cover_background-color":"var(--label-normal)",AWrap_Error_color:"var(--alert-danger)",ARadioSelect_RadioButton_border:"1px solid var(--line-normal)","ARadioSelect_RadioButton_InnerCircle_isChecked_background-color":"var(--acent-brand)","AChip_background-color":"var(--elevation-10)",AChip_color:"var(--label-normal)",AChip_border:"1px solid var(--line-normal)","AChip_hover_background-color":"var(--elevation-20)",AChip_hover_color:"var(--label-normal)",AChip_DeleteButton_border:"9px solid var(--line-normal)",AChip_DeleteButton_color:"var(--label-normal)",AChip_DeleteButton_hover_border:"9px solid var(--line-strong)",AChip_DeleteButton_hover_color:"var(--label-normal)"};function O5(r){return nh[r]}function P5(r){return ih(r)}function k2(r){Xt.keys(r).forEach(t=>{const n=r[t];n!==void 0&&(document.documentElement.style.setProperty(`--${t}`,n),nh[t]=n)})}function N5(r){Xt.keys(r).forEach(t=>{const n=r[t];if(n===void 0)return;const i=bi.semantic[oi.semanticMode][n];i!==void 0&&(document.documentElement.style.setProperty(t,i),nh[t]=i)})}const oi={paletteMode:rh[0],semanticMode:$u[0],save:"",followDeviceSetting:!1};function j5({semanticMode:r,save:e,followDeviceSetting:t}){if(t!==void 0&&(oi.followDeviceSetting=t,t)){const n=window.matchMedia("(prefers-color-scheme: dark)"),i=u=>{oi.semanticMode=u.matches?"dark":"light"};i(n);const l=u=>i(u);n.addEventListener("change",l)}if(e!==void 0){if(oi.save=e,e==="localStorage"){const n=localStorage.getItem("semanticMode");$u.includes(n)&&(oi.semanticMode=n)}else if(e==="sessionStorage"){const n=sessionStorage.getItem("semanticMode");$u.includes(n)&&(oi.semanticMode=n)}}r!==void 0&&(oi.semanticMode=r),X_(oi.paletteMode),cm(oi.semanticMode),J_(bi.palette[oi.paletteMode]),e2(bi.semantic[oi.semanticMode]),k2(nh)}function F5(r){r.type==="semanticModeChange"?Vd.push(r.listener):r.type==="paletteModeChange"?Wd.push(r.listener):console.error("AThemes.addEventListener : parameter is not valid")}function B5(r){if(r.type==="semanticModeChange"){const e=Vd.indexOf(r.listener);e!==-1&&Vd.splice(e,1)}else if(r.type==="paletteModeChange"){const e=Wd.indexOf(r.listener);e!==-1&&Wd.splice(e,1)}else console.error("AThemes.removeEventListener : parameter is not valid")}function ih(r){const e=window.getComputedStyle(document.documentElement);let t=e.getPropertyValue(r);return t===""&&(t=e.getPropertyValue(`--${r}`)),t}function q5(r){Object.assign(qe.additionalClasses,r),qe.updateKeys(),qe.additionalClasses=qe.additionalClasses}const Df={getCurrentPaletteMode:E5,getPaletteValue:k5,getPaletteDeepValue:R5,changePaletteMode:X_,editPalette:J_,getCurrentSemanticMode:I5,getSemanticValue:L5,getSemanticDeepValue:M5,changeSemanticMode:cm,editSemantic:e2,getComponentStyleValue:O5,getComponentStyleDeepValue:P5,editComponentStyle:k2,editComponentStyleWithSemantic:N5,init:j5,addEventListener:F5,removeEventListener:B5,getDeepValue:ih,addClasses:q5},H5=r=>{const{onChange:e,onClick:t,type:n="Icon",...i}=r,[l,u]=I.useState(Df.getCurrentSemanticMode()==="dark"?"Moon":"Sun"),h=I.useCallback(g=>{const m=Df.getCurrentSemanticMode();let M="light";m==="light"?M="dark":m==="dark"&&(M="light"),Df.changeSemanticMode(M),u(z5[M]),e==null||e(M),t==null||t(g)},[e,t]);if(n==="Icon")return v.jsx(vo,{...i,className:qe.clsx(Uf.AThemeButton,i.className,"IsInteractive"),type:"Raw",icon:l,onClick:h});if(n==="Switch")return v.jsx(Y_,{...i,useCheck:[Df.getCurrentSemanticMode()==="dark",h]})},z5={light:"Sun",dark:"Moon"},$5="_ACheckBoxWrap_1ozuz_1",U5="_ACheckBox_1ozuz_1",Uv={ACheckBoxWrap:$5,ACheckBox:U5},Uu=r=>{const{useCheck:e,isIndeterminate:t,isDisabled:n,isLoading:i,onClick:l,...u}=r,[h,g]=pn(e,!1),m=I.useCallback(M=>{n||i||(g==null||g(!h),l==null||l(M))},[n,i,l,h,g]);return v.jsx(Ur,{...u,className:qe.clsx(u.className,Uv.ACheckBoxWrap),isDisabled:n,isLoading:i,onClick:m,children:v.jsx(Br,{className:Uv.ACheckBox,icon:t?"Check.Indeterminate":h?"Check.Checked":"Check.UnChecked"})})};function W5(r){return typeof r=="function"}function V5(r,e){return W5(r)?r(e):r}const kr={getContent:V5},G5="_ARowFrame_1586b_1",Z5="_AColFrame_1586b_7",Y5="_AOverflowFrame_1586b_13",K5="_ADivideFrame_1586b_22",X5="_Row_1586b_28",J5="_Col_1586b_31",Q5="_ChildFrame_1586b_35",eT="_IsReturning_1586b_48",tT="_Divider_1586b_52",rT="_IsMoving_1586b_60",nT="_DividerInner_1586b_66",iT="_IsClicked_1586b_91",qo={ARowFrame:G5,AColFrame:Z5,AOverflowFrame:Y5,ADivideFrame:K5,Row:X5,Col:J5,ChildFrame:Q5,IsReturning:eT,Divider:tT,IsMoving:rT,DividerInner:nT,IsClicked:iT},si=r=>v.jsx(Ur,{...r,className:qe.clsx(qo.ARowFrame,r.className),children:r.children}),R2=r=>v.jsx("div",{...r,className:qe.clsx(qo.AColFrame,r.className),children:r.children}),Xl=r=>{const{tooltip:e,children:t,abaseRef:n,isDisabled:i,className:l,noOverflowTooltip:u,...h}=r,g=I.useRef(null),m=I.useMemo(()=>n??g,[n]),[M,T]=I.useState(!1),C=I.useCallback(()=>T(!0),[]),_=I.useCallback(()=>T(!1),[]);I.useEffect(()=>{const D=m.current;if(D)return D.addEventListener("mouseenter",C),D.addEventListener("mouseleave",_),()=>{D.removeEventListener("mouseenter",C),D.removeEventListener("mouseleave",_)}},[m,C,_]);const S=I.useMemo(()=>i?"":u||!M||!m.current?e:m.current.scrollWidth>m.current.clientWidth?t:e,[m,i,t,e,u,M]);return v.jsx(Ur,{...h,isDisabled:i,children:t,abaseRef:m,tooltip:S,className:qe.clsx(qo.AOverflowFrame,l)})},I2=r=>{const{value:e,map:t}=r;return t[e]===void 0?t.fallback:v.jsx(I.Suspense,{children:t[e]})},Vh={},oT=r=>{const{pk:e,direction:t="Row",lefts:n,minLength:i=40,children:l,childStyle:u,childClassName:h,dividerStyle:g,dividerClassName:m,dividerPadding:M,dividerInnerClassName:T,dividerInnerStyle:C,..._}=r,S=I.useMemo(()=>{let ne;return typeof l=="object"&&Array.isArray(l)?ne=l:ne=[l],ne=ne.filter(ie=>ie!=null&&ie!==!1),ne},[l]),[D,A]=I.useState(e===void 0?n:Vh[e]??n),b=I.useMemo(()=>typeof i=="number"?Array(S.length).fill(i+(M??0)):i.map(ne=>ne+(M??0)),[i,S.length,M]),[k,O]=I.useState(),H=I.useMemo(()=>k!==void 0?k:D,[k,D]),q=I.useRef(null),G=I.useRef({x:0,y:0}),[Y,ue]=I.useState(),ee=I.useCallback((ne,ie)=>{if(q.current===null)return;const ce=q.current;G.current={x:ne.clientX,y:ne.clientY},O(D),ue(ie);let me=[...D];const le=ge=>{const xe=ce.getBoundingClientRect(),Ie=t==="Row"?xe.left:xe.top,Pe=t==="Row"?xe.width:xe.height;me=lT(D,t,ie,ge,Ie,Pe,b),O(me)},be=()=>{ue(void 0),O(void 0),A(me),e!==void 0&&(Vh[e]=me),window.removeEventListener("mousemove",le),window.removeEventListener("mouseup",be)};window.addEventListener("mousemove",le),window.addEventListener("mouseup",be)},[D,e,t,b]),[fe,N]=I.useState(!1),re=I.useCallback(()=>{A(n),e!==void 0&&(Vh[e]=n),N(!0)},[n,e]),K=I.useMemo(()=>S.map((ne,ie)=>{const ce=H[ie],me=ce-(ie===0?0:H[ie-1]),le=ie===0,be=ie===S.length-1,ge={...u,...sT(t,me,be)};return M!==void 0&&(t==="Row"?(le||(ge.paddingLeft=M),be||(ge.paddingRight=M)):(le||(ge.paddingTop=M),be||(ge.paddingBottom=M))),v.jsxs(I.Fragment,{children:[v.jsx("div",{className:qe.clsx(qo.ChildFrame,h,fe&&qo.IsReturning,qo[t]),onTransitionEnd:()=>N(!1),style:ge,children:ne}),!be&&v.jsx("div",{className:qe.clsx(qo.Divider,qo[t],"NoSelect",Y!==void 0&&qo.IsMoving,Y===ie&&qo.IsClicked,m),style:{...g,...aT(t,ce)},onMouseDown:xe=>ee(xe,ie),onDoubleClick:re,children:v.jsx("div",{className:qe.clsx(qo.DividerInner,T),style:C})})]},ie)}),[S,H,u,t,M,h,fe,Y,m,g,re,T,C,ee]);return v.jsx("div",{..._,className:qe.clsx(qo.ADivideFrame,r.className,qo[t]),ref:q,children:K})};function sT(r,e,t){return t?{}:r==="Col"?{height:e,minHeight:e,maxHeight:e}:{maxWidth:e,width:e,minWidth:e}}function aT(r,e){return r==="Col"?{top:e}:{left:e}}function lT(r,e,t,n,i,l,u){const h=[...r];let g=n.clientX-i-r[t];e==="Col"&&(g=n.clientY-i-r[t]);const m=T=>u.slice(0,T+1).reduce((C,_)=>C+_,0),M=T=>u.slice(T+1).reduce((C,_)=>C+_,0);if(g<0){let T=h[t]+g;if(T<=m(t))for(let C=0;C<=t;C++)h[C]=m(C);else if(h[t]=T,t>0)for(let C=t-1;C>=0&&T-h[C]<u[C];C--)h[C]=T-u[t],T=h[C]}else if(g>0){let T=h[t]+g;if(T>=l-M(t))for(let C=t;C<r.length;C++)h[C]=l-M(C);else if(h[t]=T,t<r.length-1)for(let C=t+1;C<r.length&&h[C]-T<u[C];C++)h[C]=T+u[C],T=h[C]}return h}const Yc=()=>v.jsx("div",{style:{display:"flex",flexGrow:1}}),cT="_ASpace_1okqf_1",uT={ASpace:cT},mn=r=>{const{h:e,w:t,...n}=r;return v.jsx("div",{...n,className:qe.clsx(uT.ASpace,n.className),style:{height:e,minHeight:e,maxHeight:e,width:t,minWidth:t,maxWidth:t,...n.style}})},fT="_AChipsContainer_1ag9v_1",dT="_AChip_1ag9v_1",hT="_Clickable_1ag9v_21",pT="_AChipDelete_1ag9v_26",gT="_IsHover_1ag9v_40",mT="_AChipDeleteIcon_1ag9v_45",Fu={AChipsContainer:fT,AChip:dT,Clickable:hT,AChipDelete:pT,IsHover:gT,AChipDeleteIcon:mT},vT=r=>{const{useLabels:e,alignItems:t="flex-start",ChipStyle:n,ChipClassName:i,ChipOnDelete:l,ChipOnClick:u,ChipIcon:h,className:g,style:m,ButtonRenderer:M=M2,gap:T=8,...C}=r,[_,S]=pn(e,[]),D=I.useCallback(b=>{!S||!l||(l({label:b}),S(_.filter(k=>k!==b)))},[S,l,_]),A=I.useCallback(b=>{const k={label:b};return{label:b,useLabel:[b,()=>{}],style:kr.getContent(n,k),className:kr.getContent(i,k),icon:kr.getContent(h,k),onDelete:()=>D(b),onClick:u?()=>u({label:b}):void 0}},[i,h,u,n,D]);return v.jsx(Ur,{...C,style:{...m,alignItems:t,gap:T},className:qe.clsx(Fu.AChipsContainer,g),children:_.map((b,k)=>v.jsx(L2,{...A(b),ButtonRenderer:M},k))})},L2=r=>{const{label:e,useLabel:t,icon:n,className:i,onDelete:l,onClick:u,ButtonRenderer:h=M2,width:g="fit-content",style:m,...M}=r;return e===void 0?v.jsx(v.Fragment,{}):v.jsxs(Ur,{...M,style:{...m,width:g},onClick:u,className:qe.clsx("NoSelect",Fu.AChip,u&&Fu.Clickable,u&&"IsClickable",i),children:[v.jsx(Xl,{children:e}),h({...r})]})},M2=r=>{const{label:e,icon:t,onDelete:n,useLabel:i}=r,[,l]=pn(i,e),[u,h]=I.useState(!1),g=I.useCallback(T=>{n&&(T.stopPropagation(),l==null||l(void 0),n(r))},[n,r,l]),m=()=>{h(!0)},M=()=>{h(!1)};return v.jsx(v.Fragment,{children:n&&v.jsxs(v.Fragment,{children:[v.jsx(Yc,{}),v.jsx(mn,{w:24}),v.jsx(Ur,{className:qe.clsx(Fu.AChipDelete,"IsClickable",u&&Fu.IsHover)}),v.jsx(vo,{type:"Raw",onClick:g,onMouseEnter:m,onMouseLeave:M,icon:t||v.jsx(Br,{icon:"Close",stroke:"currentColor",width:14,height:14}),className:Fu.AChipDeleteIcon})]})})},yT=r=>{let e="";r<0&&(e+="-",r=-r);const t=Math.floor(r/3600),n=Math.floor(r%3600/60),i=r%60;return t>0&&(e+=t.toString().padStart(2,"0")+":"),e+=n.toString().padStart(2,"0")+":",e+=i.toString().padStart(2,"0"),e},bT=/[a-zA-Z0-9]/,_T=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9]{2,}$/,xT=/^[a-zA-Z0-9._-]+$/,ST=/^[0-9a-fA-F-]+$/i,CT=/[가-힣ㄱ-ㅎㅏ-ㅣ]/,wT=/^\S*$/,AT=/^([^ㄱ-ㅎㅏ-ㅣ])*$/i,TT=/[!@#$%^&*+=;:?/<>\\[\](){}~\-_.(),]/,ET=/^(?=.*[A-Za-z])(?=.*\d)(?=.*[\W_])[A-Za-z\d\W_]{8,}$/,kT=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$/,RT={hasKr:r=>/[가-힣ㄱ-ㅎㅏ-ㅣ]/.test(r),hasMalKr:r=>/[ㄱ-ㅎㅏ-ㅣ]/.test(r),hasBlank:r=>/\s/.test(r),isBlank:r=>/^\s*$/.test(r),isUuid:r=>/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$/.test(r),isEmail:r=>/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9]{2,}$/.test(r),isAlphabet:r=>/^[a-zA-Z]*$/.test(r),isAlphaNumeric:r=>/^[a-zA-Z0-9]*$/.test(r),isKr:r=>/^[가-힣ㄱ-ㅎㅏ-ㅣ]*$/.test(r),isKrNumeric:r=>/^[가-힣ㄱ-ㅎㅏ-ㅣ0-9]*/.test(r),isNumeric:r=>/^[0-9]$/.test(r),isLenMinMax:(r,e)=>t=>!(r!==void 0&&t.length<r||e!==void 0&&t.length>e)},D2={secondToTime:yT,validate:RT},IT=r=>{const{maxTicks:e=300,interval:t=1e3,onFinish:n,noStartOnRender:i,actionRef:l,wrapProps:u,helperText:h,label:g,...m}=r,[M,T]=I.useState(0),[C,_]=I.useState(!i);I.useEffect(()=>{if(!C||m.isDisabled||m.isLoading)return;const O=setInterval(()=>T(H=>H+1),t);return()=>clearInterval(O)},[t,C,m.isDisabled,m.isLoading]);const S=I.useCallback(()=>{n==null||n(),_(!1)},[n]);I.useEffect(()=>{M>=e&&!m.isDisabled&&!m.isLoading&&S()},[M,e,S,m.isDisabled,m.isLoading]);const D=I.useCallback(()=>{m.isDisabled||_(!0)},[m.isDisabled]),A=I.useCallback(()=>{m.isDisabled||_(!1)},[m.isDisabled]),b=I.useCallback(()=>{m.isDisabled||(_(!1),T(0))},[m.isDisabled]);I.useEffect(()=>{l&&(l.current={start:D,stop:A,reset:b,setTicks:T})},[l,D,A,b]);const k=e-M;return v.jsx(Uc,{wrapProps:u,helperText:h,label:g,children:v.jsx(Ur,{...m,children:D2.secondToTime(k>0?k:0)})})};function qs(r){const e=r.getFullYear(),t=r.getMonth()+1,n=r.getDate();return`${e}-${t<10?"0"+t:t}-${n<10?"0"+n:n}`}function LT(r){try{if(!r)return;const e=new Date(r);return isNaN(e.getTime())?void 0:e}catch{return}}function MT(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0)}function DT(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),23,59,59,999)}function Wv(r,e){return qs(r)===qs(e)}function Bu(r,e){return qs(r)>qs(e)}function Gd(r,e){return qs(r)>=qs(e)}function Zd(r,e){return qs(r)<qs(e)}function Yd(r,e){return qs(r)<=qs(e)}function Vv(r,e,t){return Bu(r,t)?Bu(e,t)&&Zd(e,r):Bu(e,r)&&Zd(e,t)}function Gv(r,e,t){return Bu(r,t)?Gd(e,t)&&Yd(e,r):Gd(e,r)&&Yd(e,t)}const zt={toString:qs,toDate:LT,makeSDate:MT,makeEDate:DT,"===":Wv,">":Bu,">=":Gd,"<":Zd,"<=":Yd,"s<d<e|e<d<s":Vv,"s<=d<=e|e<=d<=s":Gv,eq:Wv,g:Bu,ge:Gd,l:Zd,le:Yd,b:Vv,be:Gv},OT="_InputContainer_faw5b_9",PT="_AInput_faw5b_23",NT="_LeftAddon_faw5b_42",jT="_RightAddon_faw5b_48",FT="_ErrorHelperText_faw5b_54",BT="_Primary_faw5b_58",qT="_UnAvailable_faw5b_63",HT="_Secondary_faw5b_74",zT="_ReadOnly_faw5b_89",Qi={InputContainer:OT,AInput:PT,LeftAddon:NT,RightAddon:jT,ErrorHelperText:FT,Primary:BT,UnAvailable:qT,Secondary:HT,ReadOnly:zT,Error:"_Error_faw5b_54"},$T=["Primary","Secondary","ReadOnly","Error"],Jl=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",inputRef:i,useValue:l,isReadonly:u,placeholder:h,minLength:g,maxLength:m,tabIndex:M,autoFocus:T,isPassword:C,autoComplete:_="off",inputProps:S,LeftAddon:D,RightAddon:A,wrapProps:b,helperText:k,label:O,wrapType:H,labelProps:q,...G}=r,Y=I.useMemo(()=>UT(t)?"Error":n,[t,n]),ue=I.useMemo(()=>Y==="ReadOnly"?!0:u,[Y,u]),ee=I.useMemo(()=>G.isDisabled||G.isLoading,[G.isDisabled,G.isLoading]),[fe,N]=pn(l,""),re=I.useCallback(ne=>{var ie;ee||((ie=S==null?void 0:S.onKeyDown)==null||ie.call(S,ne),["Escape","Enter","ArrowUp","ArrowDown"].includes(ne.key)||ne.stopPropagation(),ne.key==="Enter"&&e&&e(ne.currentTarget.value))},[ee,S,e]),K=I.useCallback(ne=>{var ie;ee||g&&ne.target.value.length<g||(N==null||N(ne.target.value),(ie=S==null?void 0:S.onChange)==null||ie.call(S,ne))},[ee,g,N,S]);return C?v.jsx(Uc,{wrapProps:b,label:O,helperText:k,errorMessage:t,wrapType:H,labelProps:q,children:v.jsx("form",{onSubmit:ne=>ne.preventDefault(),children:v.jsxs(Ur,{...G,className:qe.clsx(Qi.InputContainer,Qi[Y],ee&&Qi.UnAvailable,G.className),children:[D&&v.jsx("div",{className:Qi.LeftAddon,children:D}),v.jsx("input",{...S,className:qe.clsx(Qi.AInput,Y==="Error"&&Qi.InputError,S==null?void 0:S.className),value:fe,type:"password",readOnly:ue,onChange:K,onKeyDown:re,placeholder:h,maxLength:m,tabIndex:G.isDisabled||G.isLoading?-1:M,autoFocus:T,autoComplete:_,ref:i}),A&&v.jsx("div",{className:qe.clsx(Qi.RightAddon,"NoSelect"),children:A})]})})}):v.jsx(Uc,{wrapProps:b,label:O,helperText:k,errorMessage:t,wrapType:H,labelProps:q,children:v.jsxs(Ur,{...G,className:qe.clsx(Qi.InputContainer,Qi[Y],ee&&Qi.UnAvailable,G.className),children:[D&&v.jsx("div",{className:Qi.LeftAddon,children:D}),v.jsx("input",{...S,className:qe.clsx(Qi.AInput,Y==="Error"&&Qi.InputError,S==null?void 0:S.className),value:fe,readOnly:ue,onChange:K,onKeyDown:re,placeholder:h,maxLength:m,tabIndex:G.isDisabled||G.isLoading?-1:M,autoFocus:T,autoComplete:_,ref:i}),A&&v.jsx("div",{className:Qi.RightAddon,children:A})]})})};function UT(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}const WT="_ASelect_spf0a_1",VT="_Arrow_spf0a_14",GT="_Primary_spf0a_23",ZT="_UnAvailable_spf0a_34",YT="_IsOpen_spf0a_34",KT="_Secondary_spf0a_41",XT="_Placeholder_spf0a_56",JT="_ValuesContainer_spf0a_60",QT="_Values_spf0a_60",eE="_Options_spf0a_79",tE="_Option_spf0a_79",rE="_Selected_spf0a_121",nE="_CheckBox_spf0a_128",Bo={ASelect:WT,Arrow:VT,Primary:GT,UnAvailable:ZT,IsOpen:YT,Secondary:KT,Placeholder:XT,ValuesContainer:JT,Values:QT,Options:eE,Option:tE,Selected:rE,CheckBox:nE},iE=["Primary","Secondary"],Wc=r=>{const{options:e,useSelect:t,type:n="Primary",placeholder:i=hn.ASelect["Select(Placeholder)"],onClose:l,OptionRenderer:u=sE,SelectedRenderer:h=aE,minShowRows:g=2,maxShowRows:m=6,arrowProps:M,...T}=r,C=I.useRef(null),_=I.useMemo(()=>T.abaseRef??C,[T.abaseRef]),S=I.useRef(null),[D,A]=pn(t,e[0]),[b,k]=I.useState(!1),[O,H]=I.useState(!1),q=I.useCallback(()=>H(!1),[]),G=I.useCallback(()=>{T.isDisabled||T.isLoading||e.length<1||(H(!0),setTimeout(()=>k(!0),0),setTimeout(()=>Gh(S,_,e,g,m),0))},[_,T.isDisabled,T.isLoading,e,g,m]),Y=I.useCallback(()=>{k(!1),H(!0),l==null||l()},[l]),ue=I.useCallback(ne=>{var ie;b?Y():G(),setTimeout(()=>Gh(S,_,e,g,m),0),(ie=T.onClick)==null||ie.call(T,ne)},[_,T,e,b,Y,G,g,m]),ee=I.useCallback(()=>{Gh(S,_,e,g,m)},[_,e,g,m]);I.useEffect(()=>{if(!b||!_.current)return;const ne=_.current;let ie=ne.parentElement;for(;ie;)ie.addEventListener("scroll",ee),ie=ie.parentElement;return()=>{let ce=ne.parentElement;for(;ce;)ce.removeEventListener("scroll",ee),ce=ce.parentElement}},[_,b,ee]),I.useEffect(()=>{if(b)return window.addEventListener("resize",ee),()=>window.removeEventListener("resize",ee)},[b,ee]);const fe=I.useCallback(ne=>{ne[0].intersectionRatio===0&&Y()},[Y]);I.useEffect(()=>{if(!b)return;const ne=new IntersectionObserver(fe,{threshold:0});return _.current&&ne.observe(_.current),()=>ne.disconnect()},[_,b,fe]);const N=I.useCallback(ne=>{const ie=ne.target,ce=_.current,me=S.current;!ce||!ie||!me||!ce.contains(ie)&&!me.contains(ie)&&Y()},[_,Y]),re=I.useMemo(()=>T.isDisabled||T.isLoading||e.length<1,[T.isDisabled,T.isLoading,e]);I.useEffect(()=>{if(b)return setTimeout(()=>document.addEventListener("mousedown",N),0),()=>document.removeEventListener("mousedown",N)},[b,N]);const K=I.useCallback((ne,ie)=>{ne.stopPropagation(),ne.preventDefault(),A==null||A(ie),Y()},[A,Y]);return v.jsxs(v.Fragment,{children:[v.jsxs(Ur,{...T,isDisabled:T.isDisabled||e.length<1,className:qe.clsx(T.className,Bo.ASelect,"NoSelect",b&&Bo.IsOpen,re&&Bo.UnAvailable,Bo[n]),abaseRef:_,onClick:ue,children:[v.jsx("div",{className:Bo.ValuesContainer,children:v.jsx("div",{className:qe.clsx(Bo.Values,(D==null||D==="")&&Bo.Placeholder),children:v.jsx(h,{selectedOption:D,OptionRenderer:u,placeholder:i})})}),v.jsx("div",{...M,className:qe.clsx(Bo.Arrow,M==null?void 0:M.className),children:v.jsx(Br,{style:{transform:b?"rotate(180deg)":"",transition:"var(--Transition)"},icon:"TriangleDown"})})]}),e.length>0&&(b||O)&&Fs.createPortal(v.jsx("div",{className:qe.clsx(Bo.Options,Bo[n]),onTransitionEnd:q,style:{opacity:+b,visibility:b?"visible":"hidden",pointerEvents:b?void 0:"none",borderRadius:_.current?window.getComputedStyle(_.current).borderRadius:void 0},ref:S,children:e.map((ne,ie)=>{const ce=D===ne,me=_.current?window.getComputedStyle(_.current):void 0;return ne===null?null:v.jsx("div",{className:qe.clsx(Bo.Option,ce&&Bo.Selected,"NoSelect",Bo[n]),style:{height:me==null?void 0:me.height},onClick:le=>K(le,ne),children:v.jsx(u,{option:ne})},ie)})}),document.body)]})};function Gh(r,e,t,n,i){if(!e.current||!r.current||!t||t.length<1)return;const l=e.current.getBoundingClientRect(),u=oE(l,t.length,n,i),h=window.getComputedStyle(e.current);r.current.style.top=`calc(${u.top??0}px - ${h.borderTopWidth})`,r.current.style.bottom=u.bottom?u.bottom+"px":"",r.current.style.left=u.left+"px",r.current.style.minWidth=u.minWidth+"px",r.current.style.minHeight=u.minHeight+"px",r.current.style.maxHeight=u.maxHeight+"px",r.current.style.visibility="visible"}function oE(r,e,t,n){const i={top:r.bottom,bottom:void 0,left:r.left,height:"fit-content",minWidth:r.width,minHeight:r.height*Math.min(t,e),maxHeight:r.height*n>window.innerHeight-r.bottom-10?window.innerHeight-r.bottom-10:r.height*n};return window.innerHeight-r.bottom-10<i.height&&(window.innerHeight-r.bottom-10<i.minHeight?(i.top=r.top-e*r.height,i.top<0&&(i.top=10,i.minHeight=r.top-10,i.height=r.top-10)):i.height=window.innerHeight-r.bottom-10),i}const sE=r=>{const{option:e}=r;return Xt.isReactNode(e)?e:null},aE=r=>{const{selectedOption:e,OptionRenderer:t,placeholder:n}=r;return e==null||e===""?n:v.jsx(t,{option:e})},lE="_Anchor_502n9_1",cE="_Primary_502n9_18",uE="_Secondary_502n9_21",fE="_Placeholder_502n9_25",dE="_Icon_502n9_30",hE="_ADatePicker_502n9_37",pE="_StringInputWrap_502n9_48",gE="_StringInputContainer_502n9_53",mE="_StringInput_502n9_48",vE="_IsIdx_502n9_68",yE="_CalendarContainer_502n9_72",bE="_Header_502n9_78",_E="_Prev_502n9_82",xE="_Next_502n9_83",SE="_MonthYear_502n9_116",CE="_Select_502n9_121",wE="_Calendar_502n9_72",AE="_Cell_502n9_132",TE="_IsNotCurrentMonth_502n9_144",EE="_IsSelected_502n9_148",kE="_IsDisabled_502n9_152",RE="_IsHovered_502n9_155",IE="_Week_502n9_159",LE="_WeekDay_502n9_164",rn={Anchor:lE,Primary:cE,Secondary:uE,Placeholder:fE,Icon:dE,ADatePicker:hE,StringInputWrap:pE,StringInputContainer:gE,StringInput:mE,String:"_String_502n9_48",IsIdx:vE,CalendarContainer:yE,Header:bE,Prev:_E,Next:xE,MonthYear:SE,Select:CE,Calendar:wE,Cell:AE,IsNotCurrentMonth:TE,IsSelected:EE,IsDisabled:kE,IsHovered:RE,Week:IE,WeekDay:LE},ME="_Anchor_iz4hf_1",DE="_Primary_iz4hf_18",OE="_Secondary_iz4hf_22",PE="_Placeholder_iz4hf_26",NE="_Icon_iz4hf_31",jE="_ADateRangePicker_iz4hf_38",FE="_StringInputWrap_iz4hf_49",BE="_StringInputContainer_iz4hf_53",qE="_StringInput_iz4hf_49",HE="_IsIdx_iz4hf_69",zE="_CalendarContainer_iz4hf_73",$E="_Header_iz4hf_79",UE="_Prev_iz4hf_83",WE="_Next_iz4hf_84",VE="_MonthYear_iz4hf_117",GE="_Select_iz4hf_122",ZE="_Calendar_iz4hf_73",YE="_Cell_iz4hf_133",KE="_IsNotCurrentMonth_iz4hf_145",XE="_IsSelected_iz4hf_149",JE="_IsDisabled_iz4hf_153",QE="_IsHovered_iz4hf_156",e6="_Week_iz4hf_160",t6="_WeekDay_iz4hf_165",r6="_ChoiceButton_iz4hf_169",Fr={Anchor:ME,Primary:DE,Secondary:OE,Placeholder:PE,Icon:NE,ADateRangePicker:jE,StringInputWrap:FE,StringInputContainer:BE,StringInput:qE,String:"_String_iz4hf_49",IsIdx:HE,CalendarContainer:zE,Header:$E,Prev:UE,Next:WE,MonthYear:VE,Select:GE,Calendar:ZE,Cell:YE,IsNotCurrentMonth:KE,IsSelected:XE,IsDisabled:JE,IsHovered:QE,Week:e6,WeekDay:t6,ChoiceButton:r6},um=r=>{const{type:e="Primary",className:t,useDateRange:n,actionRef:i,position:l=Ku.SE,minDate:u,maxDate:h,isDisabled:g,isLoading:m,yearsOptionSize:M,noDefaultChoices:T,LeftAddon:C,RightAddon:_,placeholder:S,noClearButton:D,resources:A,onClick:b,...k}=r,O=I.useMemo(()=>({...hn.ADateRangePicker,...A}),[A]),H=I.useMemo(()=>S??O["Select DateRange"],[S,O]),[q,G]=I.useMemo(()=>{let te,Fe;if(u&&(te=zt.makeSDate(u)),h&&(Fe=zt.makeEDate(h)),te&&Fe&&zt["<"](Fe,te)){console.warn("ADateRangePicker: maxDate should be greater than minDate. maxDate and minDate are swapped.");const Xe=te;te=Fe,Fe=Xe}return[te,Fe]},[u,h]),[Y,ue]=I.useState("sD"),[ee,fe]=pn(n,void 0),N=I.useCallback(te=>{fe&&(te===void 0?(fe(void 0),Ae(""),Je("")):(fe({sDate:zt.makeSDate(te.sDate),eDate:zt.makeEDate(te.eDate)}),Ae(zt.toString(te.sDate)),Je(zt.toString(te.eDate))))},[fe]);I.useEffect(()=>{ee&&(Ae(zt.toString(ee.sDate)),Je(zt.toString(ee.eDate)))},[ee]);const re=I.useCallback(te=>{if(!fe)return;let Fe=ee?ee.sDate:zt.makeSDate(te);te=zt.makeEDate(te),fe({sDate:Fe,eDate:te}),Ae(zt.toString(Fe)),Je(zt.toString(te))},[fe,ee]),[K,ne]=I.useState(),[ie,ce]=I.useState(),me=I.useCallback(te=>{Y==="sD"&&N({sDate:te,eDate:te}),ne(te),ce(te)},[Y,N,ne]),le=I.useCallback(te=>{Y==="sD"?K&&(zt.eq(K,te)?ue("eD"):zt[">"](te,K)?(re(te),ne(void 0)):(N({sDate:te,eDate:K}),ne(void 0))):(ee?zt["<"](te,ee.sDate)?N({sDate:te,eDate:ee.eDate}):re(te):N({sDate:te,eDate:te}),ne(void 0),ue("sD"))},[re,K,ue,Y,N,ee,ne]),be=I.useCallback(te=>{K&&ce(te)},[K]),ge=I.useCallback(()=>{ce(void 0),ne(void 0),ue("sD")},[ue,ne]),[xe,Ie]=I.useState(Zv(ee,q,G)),Pe=I.useMemo(()=>fm(xe.year,q,G,M),[xe.year,q,G,M]),Ve=I.useMemo(()=>Wf(xe.year,q,G),[q,G,xe.year]),Ee=I.useCallback(te=>{if(!Pe.includes(te))return;const Fe={month:xe.month,year:te},Xe=Wf(Fe.year,q,G);Xe.length<1||(Xe.includes(Fe.month)||(Fe.month<Xe[0]?Fe.month=Xe[0]:Fe.month>Xe[Xe.length-1]&&(Fe.month=Xe[Xe.length-1])),Ie(Fe))},[q,G,Pe,xe.month]),ot=I.useCallback(te=>{Ve.includes(te)&&Ie({month:te,year:xe.year})},[Ve,xe.year]),ht=I.useMemo(()=>G?new Date(xe.year,xe.month+1,1)>G:!1,[xe,G]),Ke=I.useCallback(()=>{if(ht||Ve.length<1)return;const te=xe.month+1;te>11?Ie({month:Ve[0],year:xe.year+1}):Ie({month:te,year:xe.year})},[ht,Ve,xe]),Ye=I.useMemo(()=>q?new Date(xe.year,xe.month,0)<q:!1,[xe,q]),Oe=I.useCallback(()=>{if(Ye||Ve.length<1)return;const te=xe.month-1;te<Ve[0]?Ie({month:Ve[Ve.length-1],year:xe.year-1}):Ie({month:te,year:xe.year})},[Ye,Ve,xe]),[Ne,Ae]=I.useState(ee!=null&&ee.sDate?zt.toString(ee.sDate):""),Le=I.useCallback(te=>{if(te.length>10||(Ae(te),te.length<10)||!fe)return;let Fe=zt.toDate(te);if(!Fe)return;q&&Fe<q&&(Fe=q),G&&Fe>G&&(Fe=G);let Xe=ee?ee.eDate:Fe;ee&&zt[">"](Fe,Xe)&&([Fe,Xe]=Yv(Fe,Xe)),N({sDate:Fe,eDate:Xe}),Ie({month:Fe.getMonth(),year:Fe.getFullYear()})},[fe,N,ee,q,G]),[ke,Je]=I.useState(ee!=null&&ee.eDate?zt.toString(ee.eDate):""),ft=I.useCallback(te=>{if(te.length>10||(Je(te),te.length<10)||!fe)return;let Fe=zt.toDate(te);if(!Fe)return;q&&Fe<q&&(Fe=q),G&&Fe>G&&(Fe=G);let Xe=ee?ee.sDate:Fe;ee&&zt[">"](Xe,Fe)&&([Xe,Fe]=Yv(Xe,Fe)),N({sDate:Xe,eDate:Fe}),Ie({month:Fe.getMonth(),year:Fe.getFullYear()})},[fe,N,ee,q,G]),xt=I.useCallback(()=>{ee&&(Ae(zt.toString(ee.sDate)),Je(zt.toString(ee.eDate)))},[ee]),St=I.useMemo(()=>{const{month:te,year:Fe}=xe,Xe=new Date(Fe,te,1),Lt=new Date(Fe,te+1,0),vt=[];for(let Gt=0;Gt<Xe.getDay();Gt++){const sr=new Date(Fe,te,0).getDate()-Xe.getDay()+Gt+1,dr=new Date(Fe,te-1,sr),Rr=q&&q>dr||G&&G<dr,ur=ee?zt.be(ee.sDate,dr,ee.eDate):!1,xr=ie&&ee&&zt.be(ee.sDate,dr,ie);vt.push({day:sr,isSelected:ur,isHovered:xr,date:dr,isDisabled:Rr,isCurrentMonth:!1})}for(let Gt=1;Gt<=Lt.getDate();Gt++){const Ft=new Date(Fe,te,Gt),sr=q&&q>Ft||G&&G<Ft,dr=ee?zt.be(ee.sDate,Ft,ee.eDate):!1,Rr=ie&&ee&&zt.be(ee.sDate,Ft,ie);vt.push({day:Gt,isSelected:dr,isHovered:Rr,date:Ft,isDisabled:sr,isCurrentMonth:!0})}for(let Gt=0;Gt<7-Lt.getDay()-1;Gt++){const Ft=new Date(Fe,te+1,Gt+1),sr=q&&q>Ft||G&&G<Ft,dr=ee?zt.be(ee.sDate,Ft,ee.eDate):!1,Rr=ie&&ee&&zt.be(ee.sDate,Ft,ie);vt.push({day:Gt+1,isSelected:dr,isHovered:Rr,date:Ft,isDisabled:sr,isCurrentMonth:!1})}const wt=[];for(let Gt=0;Gt<vt.length/7;Gt++)wt.push(v.jsx("div",{className:Fr.Week,children:vt.slice(Gt*7,Gt*7+7).map((Ft,sr)=>v.jsx(Bi,{type:"Raw",className:qe.clsx(Fr.Day,Fr.Cell,Ft.isDisabled?Fr.IsDisabled:Ft.isCurrentMonth?Ft.isSelected?Fr.IsSelected:Ft.isHovered&&Fr.IsHovered:Fr.IsNotCurrentMonth),isDisabled:Ft.isDisabled,onMouseDown:()=>Ft.isCurrentMonth&&me(Ft.date),onMouseUp:()=>Ft.isCurrentMonth&&le(Ft.date),onMouseEnter:()=>Ft.isCurrentMonth&&be(Ft.date),children:Ft.day},sr))},Gt));return wt},[xe,ie,ee,q,G,me,le,be]),mt=I.useRef(null),It=I.useCallback(()=>{mt&&lm(mt,Se,l)},[mt,l]),[Ct,ct]=I.useState(!1),[ut,et]=I.useState(!1),Se=I.useRef(null),Ze=I.useCallback(()=>{g||m||(ct(!0),setTimeout(()=>et(!0),0),setTimeout(()=>It(),0),Ie(Zv(ee,q,G)))},[g,m,ee,It,q,G]),at=I.useCallback(()=>{g||m||(ct(!0),et(!1))},[g,m]),gt=I.useMemo(()=>ut?at:Ze,[ut,Ze,at]),Tt=I.useCallback(()=>ct(!1),[]),je=I.useCallback(te=>{const Fe=document.getElementById("root"),Xe=te.target,Lt=Se.current,vt=mt.current;!Fe||!Lt||!Xe||!vt||!Lt.contains(Xe)&&Fe.contains(Xe)&&!vt.contains(Xe)&&at()},[at]);I.useEffect(()=>{if(ut)return setTimeout(()=>document.addEventListener("mousedown",je),0),()=>document.removeEventListener("mousedown",je)},[ut,je]);const _t=I.useCallback(()=>{It()},[It]);I.useEffect(()=>{if(!ut||!(mt!=null&&mt.current))return;const te=mt.current;let Fe=te.parentElement;for(;Fe;)Fe.addEventListener("scroll",_t),Fe=Fe.parentElement;return()=>{let Xe=te.parentElement;for(;Xe;)Xe.removeEventListener("scroll",_t),Xe=Xe.parentElement}},[mt,ut,_t]),I.useEffect(()=>{if(ut)return window.addEventListener("resize",_t),()=>window.removeEventListener("resize",_t)},[ut,_t]);const Mt=I.useCallback(te=>{te[0].intersectionRatio===0&&at()},[at]);I.useEffect(()=>{if(!ut)return;const te=new IntersectionObserver(Mt,{threshold:0});return Se.current&&te.observe(Se.current),()=>te.disconnect()},[Se,ut,Mt]),I.useEffect(()=>{i&&(i.current={open:Ze,close:at,toggle:gt})},[i,Ze,at,gt]),I.useEffect(()=>{if(!ee)return;let te={sDate:ee.sDate,eDate:ee.eDate};q&&(zt["<"](ee.sDate,q)&&(te.sDate=q),zt["<"](ee.eDate,q)&&(te.eDate=q)),G&&(zt[">"](ee.sDate,G)&&(te.sDate=G),zt[">"](ee.eDate,G)&&(te.eDate=G)),(te.sDate!==ee.sDate||te.eDate!==ee.eDate)&&N(te)},[q,G,ee,N]);const vr=I.useCallback(te=>{b==null||b(te),gt()},[b,gt]),nr=I.useCallback(te=>{N(void 0),at(),te.stopPropagation()},[N,at]),Zt=I.useCallback(()=>ee?v.jsx(vo,{style:{scale:"0.8"},type:"Raw",icon:"Close",onClick:nr}):null,[ee,nr]),he=I.useMemo(()=>ee?`${zt.toString(ee.sDate)} ~ ${zt.toString(ee.eDate)}`:v.jsx("span",{className:Fr.Placeholder,children:H}),[ee,H]);return v.jsxs(v.Fragment,{children:[v.jsxs(Ur,{...k,isLoading:m,isDisabled:g,className:qe.clsx(Fr.Anchor,"IsClickable",Fr[e],t),onClick:vr,abaseRef:mt,children:[C,e==="Primary"&&v.jsxs(v.Fragment,{children:[v.jsx(Br,{icon:"CalendarDay",className:qe.clsx(Fr.Icon,Fr[e])}),v.jsx(mn,{w:4})]}),he,v.jsx(Yc,{}),!D&&v.jsx(Zt,{}),e==="Secondary"&&v.jsx(Br,{icon:"CalendarDay",className:qe.clsx(Fr.Icon,Fr[e])}),_&&_]}),(ut||Ct)&&Fs.createPortal(v.jsxs("div",{className:Fr.ADateRangePicker,onTransitionEnd:Tt,onMouseLeave:ge,style:{opacity:+ut,visibility:ut?"visible":"hidden"},ref:Se,children:[v.jsxs("div",{className:Fr.StringInputContainer,children:[v.jsxs(si,{children:[v.jsx(Jl,{maxLength:11,wrapProps:{className:Fr.StringInputWrap},inputProps:{className:Fr.StringInput},className:qe.clsx(Fr.String,Y==="sD"&&ie&&Fr.IsIdx),useValue:[Ne,Le],placeholder:"YYYY-MM-DD",onBlur:xt}),v.jsx(mn,{w:8}),v.jsx(Jl,{maxLength:11,wrapProps:{className:Fr.StringInputWrap},inputProps:{className:Fr.StringInput},className:qe.clsx(Fr.String,Y==="eD"&&ie&&Fr.IsIdx),useValue:[ke,ft],placeholder:"YYYY-MM-DD",onBlur:xt})]}),!T&&v.jsxs(si,{style:{marginTop:4},children:[v.jsx(xd,{children:O["1일"],onClick:()=>N({sDate:new Date,eDate:new Date})}),v.jsx(xd,{children:O["1주일"],onClick:()=>N({sDate:new Date(new Date().setDate(new Date().getDate()-7)),eDate:new Date})}),v.jsx(xd,{children:O["1개월"],onClick:()=>N({sDate:new Date(new Date().setMonth(new Date().getMonth()-1)),eDate:new Date})}),v.jsx(xd,{children:O["3개월"],onClick:()=>N({sDate:new Date(new Date().setMonth(new Date().getMonth()-3)),eDate:new Date})})]})]}),v.jsxs("div",{className:Fr.CalendarContainer,children:[v.jsxs(si,{className:Fr.Header,children:[v.jsx(Bi,{type:"Raw",className:Fr.Prev,onClick:Oe,isDisabled:Ye}),v.jsxs("div",{className:Fr.MonthYear,children:[v.jsx(Wc,{type:"Secondary",useSelect:[xe.month,ot],className:Fr.Select,options:Ve,OptionRenderer:te=>O.months(te.option),SelectedRenderer:te=>O.months(te.selectedOption)}),v.jsx(mn,{w:8}),v.jsx(Wc,{type:"Secondary",useSelect:[xe.year,Ee],className:Fr.Select,options:Pe})]}),v.jsx(Bi,{type:"Raw",className:Fr.Next,onClick:Ke,isDisabled:ht})]}),v.jsx(mn,{h:10}),v.jsxs("div",{className:Fr.Calendar,children:[v.jsx("div",{className:Fr.Week,children:[0,1,2,3,4,5,6].map(te=>v.jsx("div",{className:qe.clsx(Fr.WeekDay,Fr.Cell),children:O.weekDays(te)},te))}),St]})]})]}),document.body)]})};function Wf(r,e,t){let n=0;e&&e.getFullYear()===r&&(n=e.getMonth());let i=11;t&&t.getFullYear()===r&&(i=t.getMonth());const l=[];for(let u=n;u<=i;u++)l.push(u);return l}function fm(r,e,t,n=5){const i=[];let l=r-n/2+n%2/2;e&&l<e.getFullYear()&&(l=e.getFullYear());let u=l+n-1;t&&u>t.getFullYear()&&(u=t.getFullYear());for(let h=l;h<=u;h++)i.push(h);return i}function Zv(r,e,t){return r??(r={sDate:new Date,eDate:new Date}),e&&zt["<"](r.sDate,e)?{month:e.getMonth(),year:e.getFullYear()}:t&&zt[">"](r.eDate,t)?{month:t.getMonth(),year:t.getFullYear()}:{month:r.sDate.getMonth(),year:r.sDate.getFullYear()}}function Yv(r,e){return[e,r]}const xd=r=>v.jsx(Bi,{className:qe.clsx(Fr.ChoiceButton,"Headline2"),type:"Secondary",...r}),n6=["Primary","Secondary","Raw"],dm=r=>{const{type:e="Primary",className:t,useDate:n,actionRef:i,position:l=Ku.SE,minDate:u,maxDate:h,isDisabled:g,isLoading:m,placeholder:M,LeftAddon:T,RightAddon:C,resources:_,noClearButton:S,onClick:D,...A}=r,b=I.useMemo(()=>({...hn.ADatePicker,..._}),[_]),k=I.useMemo(()=>M??b["Select Date"],[M,b]),[O,H]=I.useMemo(()=>{let Se,Ze;return u&&(Se=zt.makeSDate(u)),h&&(Ze=zt.makeEDate(h)),Se&&Ze&&zt["<"](Ze,Se)?(console.warn("ADatePicker: maxDate should be greater than minDate. maxDate and minDate are swapped."),[zt.makeSDate(Ze),zt.makeEDate(Se)]):[Se,Ze]},[u,h]),[q,G]=pn(n,null),[Y,ue]=I.useState(q?zt.toString(q):""),[ee,fe]=I.useState(()=>{const Se=q??new Date;return O&&Se<O?O.getMonth():H&&Se>H?H.getMonth():(Se??new Date).getMonth()}),[N,re]=I.useState(()=>{const Se=q??new Date;return O&&Se<O?O.getFullYear():H&&Se>H?H.getFullYear():(Se??new Date).getFullYear()}),K=I.useCallback(Se=>{re(Se);const Ze=Wf(Se,O,H);Ze.includes(ee)||(ee<Ze[0]?fe(Ze[0]):ee>Ze[Ze.length-1]&&fe(Ze[Ze.length-1]))},[O,H,ee]),ne=I.useCallback(Se=>{if(Se.length>10||(ue(Se),Se.length<10)||!G)return;let Ze=zt.toDate(Se);Ze&&(O&&Ze<O&&(Ze=O),H&&Ze>H&&(Ze=H),G(Ze),re(Ze.getFullYear()),fe(Ze.getMonth()))},[G,O,H]),ie=I.useCallback(Se=>{const Ze=N+Se;Ze<0||re(Ze)},[N]),ce=I.useCallback(Se=>{const Ze=ee+Se;Ze<0?(fe(11),ie(-1)):Ze>11?(fe(0),ie(1)):fe(Ze)},[ee,ie]),me=I.useCallback(Se=>{G&&(Se===void 0?(G(void 0),ue("")):(G(Se),ue(zt.toString(Se))))},[G]),le=I.useMemo(()=>{const Se=new Date(N,ee,0);return O&&Se<O},[N,ee,O]),be=I.useMemo(()=>{const Se=new Date(N,ee+1,1);return H&&Se>H},[N,ee,H]),ge=I.useCallback(()=>{le||ce(-1)},[ce,le]),xe=I.useCallback(()=>{be||ce(1)},[ce,be]),[Ie,Pe]=I.useState(null),Ve=I.useCallback(()=>{G&&Pe(null)},[G]),Ee=I.useCallback(Se=>{G&&Pe(Se)},[G]),ot=I.useMemo(()=>{const Se=new Date(N,ee,1),Ze=new Date(N,ee+1,0),at=[];for(let Tt=0;Tt<Se.getDay();Tt++){const _t=new Date(N,ee,0).getDate()-Se.getDay()+Tt+1,Mt=new Date(N,ee-1,_t),vr=O&&O>Mt||H&&H<Mt,nr=q&&zt.eq(Mt,q),Zt=Ie&&zt.eq(Mt,Ie);at.push({day:_t,isSelected:nr,date:Mt,isDisabled:vr,isHovered:Zt,isCurrentMonth:!1})}for(let Tt=1;Tt<=Ze.getDate();Tt++){const je=new Date(N,ee,Tt),_t=O&&O>je||H&&H<je,Mt=q&&zt.eq(je,q),vr=Ie&&zt.eq(je,Ie);at.push({day:Tt,isSelected:Mt,date:je,isDisabled:_t,isHovered:vr,isCurrentMonth:!0})}for(let Tt=0;Tt<7-Ze.getDay()-1;Tt++){const je=new Date(N,ee+1,Tt+1),_t=O&&O>je||H&&H<je,Mt=q&&zt.eq(je,q),vr=Ie&&zt.eq(je,Ie);at.push({day:Tt+1,isSelected:Mt,date:je,isDisabled:_t,isHovered:vr,isCurrentMonth:!1})}const gt=[];for(let Tt=0;Tt<at.length/7;Tt++)gt.push(v.jsx("div",{className:rn.Week,children:at.slice(Tt*7,Tt*7+7).map((je,_t)=>v.jsx(Bi,{type:"Raw",className:qe.clsx(rn.Day,rn.Cell,je.isDisabled?rn.IsDisabled:je.isCurrentMonth?je.isSelected?rn.IsSelected:je.isHovered&&rn.IsHovered:rn.IsNotCurrentMonth),isDisabled:je.isDisabled,onClick:()=>je.isCurrentMonth&&me(je.date),onMouseLeave:()=>je.isCurrentMonth&&Ve(),onMouseEnter:()=>je.isCurrentMonth&&Ee(je.date),children:je.day},_t))},Tt));return gt},[ee,me,q,N,O,H,Ie,Ve,Ee]),ht=I.useRef(null),Ke=I.useCallback(()=>{ht&&lm(ht,Le,l)},[ht,l]),[Ye,Oe]=I.useState(!1),[Ne,Ae]=I.useState(!1),Le=I.useRef(null),ke=I.useCallback(()=>{g||m||(Oe(!0),setTimeout(()=>Ae(!0),0),setTimeout(()=>Ke(),0),ue(q?zt.toString(q):""),fe(()=>{const Se=q??new Date;return O&&Se<O?O.getMonth():H&&Se>H?H.getMonth():Se.getMonth()}),re(()=>{const Se=q??new Date;return O&&Se<O?O.getFullYear():H&&Se>H?H.getFullYear():Se.getFullYear()}))},[g,m,q,Ke,O,H]),Je=I.useCallback(()=>{g||m||(Oe(!0),Ae(!1))},[g,m]),ft=I.useMemo(()=>Ne?Je:ke,[Ne,ke,Je]),xt=I.useCallback(()=>Oe(!1),[]),St=I.useCallback(Se=>{const Ze=document.getElementById("root"),at=Se.target,gt=Le.current,Tt=ht.current;!Ze||!gt||!at||!Tt||!gt.contains(at)&&Ze.contains(at)&&!Tt.contains(at)&&Je()},[Je]);I.useEffect(()=>{if(Ne)return setTimeout(()=>document.addEventListener("mousedown",St),0),()=>document.removeEventListener("mousedown",St)},[Ne,St]);const mt=I.useCallback(()=>{Ke()},[Ke]);I.useEffect(()=>{if(!Ne||!(ht!=null&&ht.current))return;const Se=ht.current;let Ze=Se.parentElement;for(;Ze;)Ze.addEventListener("scroll",mt),Ze=Ze.parentElement;return()=>{let at=Se.parentElement;for(;at;)at.removeEventListener("scroll",mt),at=at.parentElement}},[ht,Ne,mt]),I.useEffect(()=>{if(Ne)return window.addEventListener("resize",mt),()=>window.removeEventListener("resize",mt)},[Ne,mt]);const It=I.useCallback(Se=>{Se[0].intersectionRatio===0&&Je()},[Je]);I.useEffect(()=>{if(!Ne)return;const Se=new IntersectionObserver(It,{threshold:0});return Le.current&&Se.observe(Le.current),()=>Se.disconnect()},[Le,Ne,It]),I.useEffect(()=>{i&&(i.current={open:ke,close:Je,toggle:ft})},[i,ke,Je,ft]);const Ct=I.useCallback(Se=>{D==null||D(Se),ft()},[D,ft]),ct=I.useCallback(Se=>{me(void 0),Je(),Se.stopPropagation()},[me,Je]),ut=I.useCallback(()=>q?v.jsx(vo,{style:{scale:"0.8"},type:"Raw",icon:"Close",onClick:ct}):null,[q,ct]),et=I.useMemo(()=>q?zt.toString(q):v.jsx("span",{className:rn.Placeholder,children:k}),[q,k]);return v.jsxs(v.Fragment,{children:[v.jsxs(Ur,{...A,isLoading:m,isDisabled:g,className:qe.clsx(rn.Anchor,"IsClickable",rn[e],t),onClick:Ct,abaseRef:ht,children:[T,e==="Primary"&&v.jsxs(v.Fragment,{children:[v.jsx(Br,{icon:"CalendarDay",className:qe.clsx(rn.Icon,rn[e])}),v.jsx(mn,{w:4})]}),et,v.jsx(Yc,{}),!S&&v.jsx(ut,{}),e==="Secondary"&&v.jsx(Br,{icon:"CalendarDay",className:qe.clsx(rn.Icon,rn[e])}),C&&C]}),(Ne||Ye)&&Fs.createPortal(v.jsxs("div",{className:rn.ADatePicker,onTransitionEnd:xt,style:{opacity:+Ne,visibility:Ne?"visible":"hidden"},ref:Le,children:[v.jsx("div",{className:rn.StringInputContainer,children:v.jsx(Jl,{maxLength:q?30:11,wrapProps:{className:rn.StringInputWrap},inputProps:{className:rn.StringInput},className:rn.String,useValue:[Y,ne],placeholder:"YYYY-MM-DD"})}),v.jsxs("div",{className:rn.CalendarContainer,children:[v.jsxs(si,{className:rn.Header,children:[v.jsx(Bi,{type:"Raw",className:rn.Prev,onClick:ge,isDisabled:le}),v.jsxs("div",{className:rn.MonthYear,children:[v.jsx(Wc,{type:"Secondary",useSelect:[ee,fe],className:rn.Select,options:Wf(N,O,H),OptionRenderer:Se=>b.months(Se.option),SelectedRenderer:Se=>b.months(Se.selectedOption)}),v.jsx(mn,{w:8}),v.jsx(Wc,{type:"Secondary",useSelect:[N,K],className:rn.Select,options:fm(N,O,H)})]}),v.jsx(Bi,{type:"Raw",className:rn.Next,onClick:xe,isDisabled:be})]}),v.jsx(mn,{h:10}),v.jsxs("div",{className:rn.Calendar,children:[v.jsx("div",{className:rn.Week,children:[0,1,2,3,4,5,6].map(Se=>v.jsx("div",{className:qe.clsx(rn.WeekDay,rn.Cell),children:b.weekDays(Se)},Se))}),ot]})]})]}),document.body)]})},i6="_Paper_e69j5_1",o6="_Card_e69j5_15",s6="_Body_e69j5_26",a6="_Title_e69j5_35",l6="_Content_e69j5_42",c6="_Action_e69j5_45",u6="_Button_e69j5_58",va={Paper:i6,Card:o6,Body:s6,Title:a6,Content:l6,Action:c6,Button:u6},f6=["okCancel","cancelOk","ok","cancel","none"],d6=r=>{const{dlgCore:e,type:t="okCancel",title:n,children:i,style:l,titleStyle:u,bodyStyle:h,contentStyle:g,okButtonStyle:m,cancelButtonStyle:M,actionStyle:T,onOk:C,onCancel:_,onClose:S,onEnterPress:D,onEscPress:A,onSpacePress:b,onPaperClick:k,noDim:O=!1,isLoading:H,isOkDisabled:q,isOkLoading:G,isCancelDisabled:Y,isCancelLoading:ue,buttonNoInteractive:ee,okButtonClassName:fe,cancelButtonClassName:N,resources:re}=r,K=I.useMemo(()=>({...hn.ADialog,...re}),[re]),[ne,ie]=I.useState(0),ce=I.useCallback(()=>{ie(1)},[]),me=I.useCallback(()=>{ie(0)},[]),le=I.useCallback(()=>{if(!ne){const[,Ae]=e.state.useIsOpen;Ae==null||Ae(!1),S==null||S()}},[ne,S,e]),be=I.useCallback(async()=>{if(!ne||t==="cancel"||t==="none"||H||q||G)return;const{event:Ae,e:Le}=$c();await(C==null?void 0:C(Le)),!Ae.preventDefault&&me()},[ne,t,me,C,q,H,G]),ge=I.useCallback(async()=>{if(!ne||t==="ok"||t==="none"||H||Y||ue)return;const{event:Ae,e:Le}=$c();await(_==null?void 0:_(Le)),!Ae.preventDefault&&me()},[ne,t,me,_,Y,H,ue]);I.useEffect(()=>{e&&e.state.setAction({close:me,ok:be,cancel:ge,open:ce})},[e,me,be,ge,ce]);const xe=I.useCallback(async()=>{const{event:Ae,e:Le}=$c();await(D==null?void 0:D(Le)),!Ae.preventDefault&&be()},[D,be]),Ie=I.useCallback(async()=>{const{event:Ae,e:Le}=$c();await(b==null?void 0:b(Le)),!Ae.preventDefault&&be()},[b,be]),Pe=I.useCallback(async()=>{const{event:Ae,e:Le}=$c();await(A==null?void 0:A(Le)),!Ae.preventDefault&&ge()},[A,ge]),Ve=I.useRef(null),Ee=I.useCallback(Ae=>{const Le=document.body.getElementsByClassName(va.Paper);Le.length===0||Le[Le.length-1]!==Ve.current||(Ae.key==="Enter"&&ne?xe():Ae.key===" "&&ne?Ie():Ae.key==="Escape"&&ne&&Pe())},[ne,xe,Ie,Pe]);I.useEffect(()=>{if(ne)return window.addEventListener("keydown",Ee),()=>window.removeEventListener("keydown",Ee)},[ne,Ee]);const ot=I.useRef(!1),ht=I.useRef(!1),Ke=I.useCallback(()=>{ot.current=!0},[]),Ye=I.useCallback(()=>{ot.current=!1,ht.current=!1},[]),Oe=I.useCallback(()=>{ht.current=!0},[]),Ne=I.useCallback(async()=>{const Ae=!ht.current||ot.current;if(ot.current=!1,ht.current=!1,Ae)return;const{event:Le,e:ke}=$c();await(k==null?void 0:k(ke)),!Le.preventDefault&&ge()},[k,ge]);return Fs.createPortal(v.jsx("div",{className:va.Paper,style:{backgroundColor:O?"transparent":void 0,pointerEvents:ne?void 0:"none",opacity:ne},onMouseUp:Ne,onMouseDown:Oe,onTransitionEnd:le,ref:Ve,children:v.jsxs(Ur,{className:va.Card,onMouseDown:Ke,onMouseUp:Ye,style:l,isLoading:H,children:[v.jsxs("div",{className:va.Body,style:h,children:[n&&v.jsx(h6,{title:n,titleStyle:u}),i&&v.jsx("div",{className:va.Content,style:g,children:i})]}),t!=="none"&&v.jsx(p6,{type:t,ok:be,cancel:ge,resources:K,isOkDisabled:q,isOkLoading:G,isCancelDisabled:Y,isCancelLoading:ue,okButtonStyle:m,cancelButtonStyle:M,actionStyle:T,buttonNoInteractive:ee,okButtonClassName:fe,cancelButtonClassName:N})]})}),document.body)},h6=r=>{const{title:e,titleStyle:t}=r;return v.jsx("div",{className:qe.clsx(va.Title,"NoSelect","Title3"),style:t,children:e})},p6=r=>{const{type:e,ok:t,cancel:n,resources:i,isOkDisabled:l,isOkLoading:u,isCancelDisabled:h,isCancelLoading:g,okButtonStyle:m,cancelButtonStyle:M,actionStyle:T,buttonNoInteractive:C,okButtonClassName:_,cancelButtonClassName:S}=r,D=I.useMemo(()=>({onClick:t,isDisabled:l,isLoading:u,children:i.Ok,style:m,noInteractive:C,className:qe.clsx(va.Button,_)}),[t,l,u,i.Ok,m,C,_]),A=I.useMemo(()=>({type:"Secondary",onClick:n,isDisabled:h,isLoading:g,children:i.Cancel,style:M,noInteractive:C,className:qe.clsx(va.Button,S)}),[n,h,g,i.Cancel,M,C,S]);if(e==="okCancel"||e==="ok")return v.jsxs("div",{className:va.Action,style:{...T},children:[v.jsx(Bi,{...D}),e==="okCancel"&&v.jsxs(v.Fragment,{children:[v.jsx(mn,{w:8}),v.jsx(Bi,{...A})]})]},e);if(e==="cancelOk"||e==="cancel")return v.jsxs("div",{className:va.Action,children:[v.jsx(Bi,{...A}),e==="cancelOk"&&v.jsxs(v.Fragment,{children:[v.jsx(mn,{w:8}),v.jsx(Bi,{...D})]})]},e)},g6=r=>{const e=I.useMemo(()=>Math.random().toFixed(32),[]),t=I.useMemo(()=>{const _={};return r.forEach(S=>{_[S]=S+e}),_},[r,e]),n=I.useMemo(()=>[],[]),i=I.useMemo(()=>(n.length=0,n.push(...r),n),[n,r]),[l,u]=I.useState([]),h=I.useRef((()=>{const _={};return i.forEach(S=>{_[S]={open:()=>u(D=>[...D,S]),close:()=>{},ok:()=>{},cancel:()=>{}}}),_})()),g=I.useMemo(()=>{const _={};return i.forEach(S=>{_[S]=D=>{u(A=>!D&&A.includes(S)?A.filter(b=>b!==S):D&&!A.includes(S)?[...A,S]:A)}}),_},[i]),m=I.useMemo(()=>{const _={};return i.forEach(S=>{const A=[l.includes(S),g[S]],b=k=>{h.current[S]={...h.current[S],...k}};_[S]={useIsOpen:A,setAction:b}}),_},[l,g,i]),M=I.useMemo(()=>{const _={};return i.forEach(S=>{const D=()=>h.current[S].open(),A=()=>h.current[S].close(),b=()=>h.current[S].ok(),k=()=>h.current[S].cancel();_[S]={open:D,close:A,ok:b,cancel:k}}),_},[i]),T=I.useMemo(()=>({}),[]),C=I.useMemo(()=>(i.forEach(_=>{T[_]={state:m[_],action:M[_]}}),T),[T,i,m,M]);return I.useEffect(()=>(Object.keys(C).forEach(S=>{const D=C[S],A=t[S],b=Ns.find(k=>{k.id});b?b.core=D:Ns.push({id:A,core:D})}),()=>{const S=Object.keys(C),D=Ns.filter(A=>S.includes(A.id));Ns.length=0,Ns.push(...D)}),[C,t]),C},m6=()=>{const r=I.useMemo(()=>Math.random().toFixed(32),[]),[e,t]=I.useState(!1),n=I.useRef({open:()=>t(!0),close:()=>{},ok:()=>{},cancel:()=>{}}),i=I.useMemo(()=>({useIsOpen:[e,t],setAction:g=>{n.current={...n.current,...g}}}),[e]),l=I.useMemo(()=>({open:()=>n.current.open(),close:()=>n.current.close(),ok:()=>n.current.ok(),cancel:()=>n.current.cancel()}),[]),u=I.useMemo(()=>({}),[]),h=I.useMemo(()=>(u.state=i,u.action=l,u),[u,i,l]);return I.useEffect(()=>{const g=Ns.find(m=>m.id===r);return g?g.core=h:Ns.push({id:r,core:h}),()=>{const m=Ns.filter(M=>M.id!==r);Ns.length=0,Ns.push(...m)}},[r,h]),h},v6=r=>{const{dlgCore:e,children:t}=r,[n,i]=I.useMemo(()=>e.state.useIsOpen,[e.state.useIsOpen]);return I.useEffect(()=>()=>i==null?void 0:i(!1),[i]),v.jsx(I.Suspense,{children:n&&t})},y6=r=>e=>{const{dlgCore:t}=e;return v.jsx(v6,{dlgCore:t,children:I.cloneElement(v.jsx(r,{...e}),{dlgCore:t})})},Ns=[],b6={closeAllDlgs:()=>{Ns.forEach(r=>{r.core.action.close()})}},_6="_AFileBox_1hlo1_1",x6="_SelectedFile_1hlo1_16",S6="_Dropping_1hlo1_26",qd={AFileBox:_6,SelectedFile:x6,Dropping:S6},C6=r=>{const{useFile:e,FileRenderer:t=w6,resources:n,accept:i="",onInvalidFileFormat:l,fileSelectButtonClassName:u,isDisabled:h,isLoading:g,className:m,...M}=r,T=I.useMemo(()=>({...hn.AFileBox,...n}),[n]),C=I.useRef(null),_=I.useRef(null),[S,D]=pn(e,null),[A,b]=I.useState(!1),k=I.useMemo(()=>i.split(",").map(N=>N.trim()).filter(N=>N.length>0&&N.startsWith(".")),[i]),O=I.useCallback(N=>{if(k.length===0)return!1;const re=N.name.split(".").pop();return re?!k.includes(`.${re}`):!0},[k]),H=I.useCallback(N=>{if(D)if(O(N)){l==null||l();return}else D(N);else return},[D,O,l]),q=I.useCallback(N=>{N.target.files&&N.target.files.length>0&&H(N.target.files[0])},[H]),G=I.useCallback(N=>{N.preventDefault(),b(!1),!(h||g)&&N.dataTransfer.files&&N.dataTransfer.files.length>0&&H(N.dataTransfer.files[0])},[H,h,g]),Y=I.useCallback(N=>{N.preventDefault(),!(h||g)&&b(!0)},[h,g]),ue=I.useCallback(N=>{N.target===C.current&&N.relatedTarget.contains(C.current.parentElement)&&(N.preventDefault(),b(!1))},[]),ee=I.useCallback(N=>N.preventDefault(),[]),fe=I.useMemo(()=>A?v.jsxs(R2,{className:qe.clsx(qd.Dropping,"NoSelect","Headline2"),children:[v.jsx(Br,{icon:"FileDownload"})," ",T["drop file to select"]]}):S?v.jsx(t,{file:S,useFile:e}):v.jsxs(si,{className:qe.clsx(qd.SelectFile,"NoSelect"),children:[v.jsx(Bi,{className:u,onClick:()=>{var N;return(N=_.current)==null?void 0:N.click()},children:T["Select File"]}),v.jsx(mn,{w:4}),T["or Drag & Drop"]]}),[t,T,A,S,e,u]);return v.jsxs(Ur,{...M,isDisabled:h,isLoading:g,className:qe.clsx(qd.AFileBox,m),onDrop:G,onDragEnter:Y,onDragLeave:ue,onDragOver:ee,abaseRef:C,children:[v.jsx("input",{style:{display:"none"},ref:_,type:"file",onChange:q,value:"",accept:i}),fe]})},w6=r=>{const{file:e,useFile:t}=r,[,n]=pn(t,null);return v.jsxs(si,{className:qd.SelectedFile,style:{backgroundColor:""},children:[v.jsx(Br,{icon:"File"}),v.jsx(Xl,{children:e.name}),v.jsx(vo,{type:"Raw",icon:"Close",style:{marginLeft:2,transform:"scale(0.8)"},onClick:()=>n==null?void 0:n(null)})]})},A6="_AFloatMenu_xco8u_1",T6="_Content_xco8u_10",Kv={AFloatMenu:A6,Content:T6},O2=r=>{const{defs:e,defaultDef:t,actionRef:n,offset:i,onClose:l,onClick:u,onPaperClick:h,position:g=Ku.ES,width:m=137}=r,M=I.useMemo(()=>({content:E6,...t}),[t]),T=I.useMemo(()=>{const N={};return Xt.keys(e).forEach(re=>{const K=e[re],ne={...M,...K};ne.noDisplay||(N[re]=ne)}),N},[M,e]),[C,_]=I.useState(null),S=I.useCallback(N=>{V_(N,O,g,i),_(N)},[g,i]),[D,A]=I.useState(!1),[b,k]=I.useState(!1),O=I.useRef(null),H=I.useCallback(N=>{k(!0),setTimeout(()=>A(!0),0),setTimeout(()=>S(N),0)},[S]),q=I.useCallback(()=>{A(!1),k(!0),l==null||l()},[l]),G=I.useCallback(()=>k(!1),[]),Y=I.useCallback(async N=>{const re=document.getElementById("root"),K=N.target,ne=O.current;!re||!ne||!K||!ne.contains(K)&&re.contains(K)&&(await(h==null?void 0:h(N)),q())},[q,h]);I.useEffect(()=>{if(D)return setTimeout(()=>document.addEventListener("mousedown",Y),0),()=>document.removeEventListener("mousedown",Y)},[D,Y]);const ue=I.useCallback(()=>{C&&S(C)},[S,C]);I.useEffect(()=>{if(!D||!C)return;let N=C.parentElement;for(;N;)N.addEventListener("scroll",ue),N=N.parentElement;return()=>{let re=C.parentElement;for(;re;)re.removeEventListener("scroll",ue),re=re.parentElement}},[C,D,ue]),I.useEffect(()=>{if(D)return window.addEventListener("resize",ue),()=>window.removeEventListener("resize",ue)},[D,ue]);const ee=I.useCallback(N=>{N[0].intersectionRatio===0&&q()},[q]);I.useEffect(()=>{if(!D)return;const N=new IntersectionObserver(ee,{threshold:0});return O.current&&N.observe(O.current),()=>N.disconnect()},[O,D,ee]),I.useEffect(()=>{n&&(n.current={open:H,close:q})},[n,H,q]);const fe=I.useCallback(N=>{var re;if(D){if((re=T[N])!=null&&re.isDisabled)return}else return;u==null||u(N),q()},[D,u,q,T]);return!D&&!b?null:Fs.createPortal(v.jsx("div",{className:Kv.AFloatMenu,style:{opacity:+D,visibility:D&&Object.keys(T).length>0?"visible":"hidden",minWidth:m},onTransitionEnd:G,ref:O,children:Xt.map(T,([N],re)=>{const K={...M,...T[N]};let{content:ne,noDisplay:ie,tooltipDirection:ce=vi.E,...me}=K;return ie?null:(ne=kr.getContent(K.content,{defKey:N,def:K}),I.createElement(Ur,{...me,key:re,className:qe.clsx(Kv.Content,"Label2","IsClickable",me.className),onClick:le=>{var be;fe==null||fe(N),(be=me.onClick)==null||be.call(me,le)},tooltipDirection:ce},ne))})}),document.body)},E6=r=>r.defKey;function k6(r){try{const e=Number.parseInt(r);return isNaN(e)?void 0:e}catch{return}}const P2={parseInt:k6},R6=`${Number.MAX_SAFE_INTEGER}`.length-1,I6=r=>{const{unit:e,type:t="Secondary",min:n,max:i,useValue:l,onEnterPress:u,canAsterisk:h=!1,onFocus:g,...m}=r,M=I.useMemo(()=>i!==void 0&&n!==void 0?Math.max(`${i}`.length+1,`${n}`.length+1):R6,[n,i]),[T,C]=pn(l,""),_=I.useCallback(b=>{if(C)if(h&&b.startsWith("*"))C("*");else if(b==="")C("");else if(b==="-")C("-");else{b=b.replace(/[^0-9-]/g,"");try{const k=P2.parseInt(b);k!==void 0&&(n!==void 0&&k<n?C(`${n}`):i!==void 0&&k>i?C(`${i}`):C(`${k}`))}catch(k){console.error("ANumInput : ",k)}}},[C,h,n,i]),S=I.useRef(null),D=I.useCallback(b=>{var k;(k=S.current)==null||k.blur(),u==null||u(b)},[u]),A=I.useMemo(()=>n===void 0&&i===void 0?e??"number":`${n??""}~${i??""}`,[n,i,e]);return v.jsx(Jl,{...m,type:t,className:qe.clsx(Qi.ANumInput,r.className),autoComplete:"off",onEnterPress:D,useValue:[T,_],maxLength:M,placeholder:A,RightAddon:r.unit&&v.jsx("span",{style:{marginRight:4},children:r.unit}),inputRef:S})},L6="_AListView_k7t2d_1",M6="_Row_k7t2d_10",D6="_Label_k7t2d_20",O6="_Content_k7t2d_30",Sd={AListView:L6,Row:M6,Label:D6,Content:O6},P6=r=>{const{defs:e,defaultDef:t,item:n,rowHeight:i,labelWidth:l,noBorder:u,style:h,...g}=r,m=u?"":"var(--AListView_border-thin)",M=u?"":"var(--AListView_border-thick)",T=I.useMemo(()=>({content:j6,label:N6,...t}),[t]),C=I.useMemo(()=>{const _={};return Xt.keys(e).forEach(S=>{const D=e[S],A={...T,...D};_[S]=A}),_},[T,e]);return v.jsx(Ur,{...g,className:qe.clsx(Sd.AListView,g.className),style:{...h,borderTop:m},children:Xt.map(C,([_])=>{const S={...T,...C[_]},D=kr.getContent(S.label,{defKey:_,item:n,def:S}),A=kr.getContent(S.content,{defKey:_,item:n||{[_]:""},def:S}),b=kr.getContent(S.bold||"label",{defKey:_,item:n,def:S});return v.jsxs("div",{className:Sd.Row,style:{height:i,borderBottom:m},children:[v.jsx("div",{className:qe.clsx(Sd.Label,"NoSelect",b!=="content"&&"Bold"),style:{width:l,minWidth:l,maxWidth:l,borderLeft:M,paddingLeft:u?0:10},children:v.jsx(Xl,{children:D})}),v.jsx("div",{className:qe.clsx(Sd.Content,b!=="label"&&"Bold"),style:{borderLeft:M,borderRight:M},children:v.jsx(Xl,{style:{width:"100%",padding:u?0:10},children:A})})]},_)})})},N6=r=>r.defKey,j6=r=>{const{defKey:e,item:t}=r;if(t)if(Xt.hasKey(t,e)){const n=t[e];return Xt.isReactNode(n)?n:null}else return null;else return null},F6="_ALoadingBorder_kwc1g_1",B6="_ProgressBar_kwc1g_9",q6="_IsLoading_kwc1g_15",H6="_load_kwc1g_1",z6="_Cover_kwc1g_19",Ef={ALoadingBorder:F6,ProgressBar:B6,IsLoading:q6,load:H6,Cover:z6},hm=r=>{const{isLoading:e}=r,[t,n]=I.useState(!1),i=I.useRef(null);return I.useEffect(()=>{e?(n(!0),i.current&&clearTimeout(i.current)):i.current=setTimeout(()=>n(!1),300)},[e]),v.jsxs("div",{className:Ef.ALoadingBorder,children:[v.jsx("div",{className:qe.clsx(Ef.ProgressBar,t&&Ef.IsLoading)}),v.jsx("div",{className:qe.clsx(Ef.Cover,e&&Ef.IsLoading),style:{transition:"all 300ms"}})]})},$6="_Container_i37fx_1",U6="_Option_i37fx_7",W6="_RadioButton_i37fx_14",V6="_InnerCircle_i37fx_23",G6="_isChecked_i37fx_28",ju={Container:$6,Option:U6,RadioButton:W6,InnerCircle:V6,isChecked:G6},Z6=r=>{const{options:e,useSelect:t,selectDisabled:n,radius:i=23,innerRadius:l=i*.6,OptionRenderer:u=N2}=r,[h,g]=pn(t,e[0]);return v.jsx("div",{className:ju.Container,children:e.map((m,M)=>{const T=n==null?void 0:n(m),C=()=>T?null:g==null?void 0:g(m);return v.jsxs(si,{className:qe.clsx(ju.Option,"IsClickable"),isDisabled:T,onClick:C,children:[v.jsx(Y6,{isChecked:h===m,radius:i,innerRadius:l},M),v.jsx(u,{option:m})]},M)})})},N2=({option:r})=>r,Y6=({isChecked:r,radius:e,innerRadius:t})=>v.jsx(Ur,{className:qe.clsx(ju.RadioButton,r&&ju.isChecked),style:{width:e,height:e},children:v.jsx(Ur,{className:qe.clsx(ju.InnerCircle,r&&ju.isChecked),style:{width:t,height:t}})}),K6="_AMultiSelect_ma2iq_1",X6="_Arrow_ma2iq_15",J6="_Primary_ma2iq_24",Q6="_UnAvailable_ma2iq_35",e8="_IsOpen_ma2iq_35",t8="_Secondary_ma2iq_42",r8="_Placeholder_ma2iq_57",n8="_ValuesContainer_ma2iq_62",i8="_Values_ma2iq_62",o8="_Options_ma2iq_81",s8="_Option_ma2iq_81",a8="_Selected_ma2iq_123",l8="_CheckBox_ma2iq_130",mo={AMultiSelect:K6,Arrow:X6,Primary:J6,UnAvailable:Q6,IsOpen:e8,Secondary:t8,Placeholder:r8,ValuesContainer:n8,Values:i8,Options:o8,Option:s8,Selected:a8,CheckBox:l8},c8=r=>{const{options:e,useSelect:t,type:n="Primary",placeholder:i=hn.AMultiSelect["Select(Placeholder)"],onClose:l,SelectedRenderer:u=f8,OptionRenderer:h=d8,minShowRows:g=2,maxShowRows:m=6,arrowProps:M,...T}=r,C=I.useRef(null),_=I.useMemo(()=>T.abaseRef??C,[T.abaseRef]),S=I.useRef(null),[D,A]=pn(t,[]),[b,k]=I.useState(!1),[O,H]=I.useState(!1),q=I.useCallback(()=>H(!1),[]),G=I.useCallback(()=>{T.isDisabled||T.isLoading||e.length<1||(H(!0),setTimeout(()=>k(!0),0),setTimeout(()=>Zh(S,_,e,g,m),0))},[_,T.isDisabled,T.isLoading,e,g,m]),Y=I.useCallback(()=>{k(!1),H(!0),l==null||l()},[l]),ue=I.useCallback(ne=>{var ie;b?Y():G(),setTimeout(()=>Zh(S,_,e,g,m),0),(ie=T.onClick)==null||ie.call(T,ne)},[_,T,e,b,Y,G,g,m]),ee=I.useCallback(()=>{Zh(S,_,e,g,m)},[_,e,g,m]);I.useEffect(()=>{if(!b||!_.current)return;const ne=_.current;let ie=ne.parentElement;for(;ie;)ie.addEventListener("scroll",ee),ie=ie.parentElement;return()=>{let ce=ne.parentElement;for(;ce;)ce.removeEventListener("scroll",ee),ce=ce.parentElement}},[_,b,ee]),I.useEffect(()=>{if(b)return window.addEventListener("resize",ee),()=>window.removeEventListener("resize",ee)},[b,ee]);const fe=I.useCallback(ne=>{ne[0].intersectionRatio===0&&Y()},[Y]);I.useEffect(()=>{if(!b)return;const ne=new IntersectionObserver(fe,{threshold:0});return _.current&&ne.observe(_.current),()=>ne.disconnect()},[_,b,fe]);const N=I.useCallback(ne=>{const ie=ne.target,ce=_.current,me=S.current;!ce||!ie||!me||!ce.contains(ie)&&!me.contains(ie)&&Y()},[_,Y]),re=I.useMemo(()=>T.isDisabled||T.isLoading||e.length<1,[T.isDisabled,T.isLoading,e]);I.useEffect(()=>{if(b)return setTimeout(()=>document.addEventListener("mousedown",N),0),()=>document.removeEventListener("mousedown",N)},[b,N]);const K=I.useCallback((ne,ie)=>{ne.stopPropagation(),ne.preventDefault();let ce=[...D];ce.includes(ie)?ce=ce.filter(me=>me!==ie):ce.push(ie),A==null||A(ce)},[D,A]);return v.jsxs(v.Fragment,{children:[v.jsxs(Ur,{...T,isDisabled:T.isDisabled||e.length<1,className:qe.clsx(T.className,mo.AMultiSelect,"NoSelect",b&&mo.IsOpen,re&&mo.UnAvailable,mo[n]),abaseRef:_,onClick:ue,children:[v.jsx("div",{className:mo.ValuesContainer,children:v.jsx("div",{className:qe.clsx(mo.Values,D.length<1&&mo.Placeholder),children:v.jsx(u,{OptionRenderer:h,selectedOptions:D,placeholder:i})})}),v.jsx("div",{...M,className:qe.clsx(mo.Arrow,M==null?void 0:M.className),children:v.jsx(Br,{style:{transform:b?"rotate(180deg)":"",transition:"var(--Transition)"},icon:"TriangleDown"})})]}),e.length>0&&(b||O)&&Fs.createPortal(v.jsx("div",{className:qe.clsx(mo.Options,mo[n]),onTransitionEnd:q,style:{opacity:+b,visibility:b?"visible":"hidden",pointerEvents:b?void 0:"none"},ref:S,children:e.map((ne,ie)=>{var me;const ce=D.includes(ne);return v.jsxs("div",{className:qe.clsx(mo.Option,ce&&mo.Selected,"NoSelect",mo[n]),style:{height:(me=_.current)==null?void 0:me.getBoundingClientRect().height},onClick:le=>K(le,ne),children:[v.jsx(Uu,{className:mo.CheckBox,useCheck:[+ce,void 0]}),v.jsx(h,{option:ne})]},ie)})}),document.body)]})};function Zh(r,e,t,n,i){if(!e.current||!r.current||!t||t.length<1)return;const l=e.current.getBoundingClientRect(),u=u8(l,t.length,n,i),h=window.getComputedStyle(e.current);r.current.style.top=`calc(${u.top??0}px - ${h.borderTopWidth})`,r.current.style.bottom=u.bottom?u.bottom+"px":"",r.current.style.left=u.left+"px",r.current.style.minWidth=u.minWidth+"px",r.current.style.minHeight=u.minHeight+"px",r.current.style.maxHeight=u.maxHeight+"px",r.current.style.visibility="visible"}function u8(r,e,t,n){const i={top:r.bottom,bottom:void 0,left:r.left,height:"fit-content",minWidth:r.width,minHeight:r.height*Math.min(t,e),maxHeight:r.height*n>window.innerHeight-r.bottom-10?window.innerHeight-r.bottom-10:r.height*n};return window.innerHeight-r.bottom-10<i.height&&(window.innerHeight-r.bottom-10<i.minHeight?(i.top=r.top-e*r.height,i.top<0&&(i.top=10,i.minHeight=r.top-10,i.height=r.top-10)):i.height=window.innerHeight-r.bottom-10),i}const f8=r=>{const{OptionRenderer:e,selectedOptions:t,placeholder:n}=r;return t.length<1?n:t.length===1?v.jsx(e,{option:t[0]}):`${t.length} selected`},d8=r=>{const{option:e}=r;return Xt.isReactNode(e)?e:null},h8="_Container_10ion_1",p8="_Steps_10ion_9",g8="_Step_10ion_9",m8="_OutCircle_10ion_26",v8="_IsOver_10ion_37",y8="_InCircle_10ion_41",b8="_Line_10ion_54",_8="_Left_10ion_66",x8="_Right_10ion_69",S8="_ContentContainer_10ion_73",C8="_Content_10ion_73",Ji={Container:h8,Steps:p8,Step:g8,OutCircle:m8,IsOver:v8,InCircle:y8,Line:b8,Left:_8,Right:x8,ContentContainer:S8,Content:C8},w8=r=>{const{useSelect:e,steps:t,StepRenderer:n=Xv,ContentRenderer:i=Xv}=r;if(t.length===0)throw new Error("steps should have at least one element");const l=I.useRef(null),[u,h]=pn(e,t[0]),g=I.useCallback(M=>h==null?void 0:h(M),[h]),m=I.useMemo(()=>t.indexOf(u),[u,t]);return I.useEffect(()=>{m<0&&g(t[0])},[m,t,g]),v.jsxs("div",{className:Ji.Container,children:[v.jsx("div",{className:Ji.Steps,children:t.map((M,T)=>{const C=t.indexOf(M),_=m>=T,S=m>T;return v.jsxs("div",{className:Ji.Step,children:[T!==0&&v.jsx("div",{className:qe.clsx(Ji.Line,Ji.Left,_&&Ji.IsOver)}),T!==t.length-1&&v.jsx("div",{className:qe.clsx(Ji.Line,Ji.Right,S&&Ji.IsOver)}),v.jsx(Bi,{type:"Raw",className:qe.clsx(Ji.OutCircle,_&&Ji.IsOver),onClick:()=>g(M),children:v.jsx("div",{className:qe.clsx(Ji.InCircle,_&&Ji.IsOver)})}),v.jsx(n,{step:M,stepIdx:C})]},T)})}),v.jsx("div",{className:Ji.ContentContainer,ref:l,children:t.map((M,T)=>{const C=t.indexOf(M);return v.jsx("div",{className:Ji.Content,style:T===0?{marginLeft:`${m*-100}%`}:{},children:v.jsx(i,{step:M,stepIdx:C})},T)})})]})},Xv=r=>{const{step:e}=r;return typeof e=="object"?Xt.stringify(e):e},A8="_ATab_15t1y_1",T8="_Option_15t1y_9",E8="_Underline_15t1y_21",k8="_IsSelected_15t1y_21",R8="_IndicatorTrack_15t1y_32",I8="_Indicator_15t1y_32",L8="_Primary_15t1y_48",M8="_Secondary_15t1y_55",D8="_IsDisabled_15t1y_65",O8="_Tertiary_15t1y_78",P8="_Quaternary_15t1y_105",Ul={ATab:A8,Option:T8,Underline:E8,IsSelected:k8,IndicatorTrack:R8,Indicator:I8,Primary:L8,Secondary:M8,IsDisabled:D8,Tertiary:O8,Quaternary:P8},N8=["Primary","Secondary","Tertiary","Quaternary"],j2=r=>{const{options:e,useSelect:t,selectDisabled:n,type:i="Primary",tabProps:l,optionProps:u,optionWidth:h,OptionRenderer:g=j8,RightAddon:m,color:M,underline:T}=r;if(e.length===0)throw new Error("options should have at least one element");const C=I.useMemo(()=>e.findIndex(le=>!(n!=null&&n(le))),[e,n]),_=i==="Tertiary"?2:0,S=i==="Secondary"?8:0,D=I.useMemo(()=>_+S,[_,S]),A=i==="Tertiary"?2:0,b=I.useMemo(()=>(S-_-A-A)/e.length,[e.length,_,S,A]),[k,O]=pn(t,e[C]),H=I.useRef([]),q=I.useCallback(le=>O==null?void 0:O(le),[O]),G=I.useMemo(()=>typeof h=="number"?h+"px":h,[h]),Y=I.useMemo(()=>e.indexOf(k),[e,k]),ue=I.useMemo(()=>`calc(${100/e.length}% + ${b}px)`,[e.length,b]),ee=I.useMemo(()=>G||`calc(${ue} - ${D}px)`,[ue,D,G]),[fe,N]=I.useState(0),[re,K]=I.useState(0),[ne,ie]=I.useState(ee),ce=I.useMemo(()=>{let le;switch(G){case void 0:le=`calc(${ue} * ${Y})`;break;case"fit-content":le=`calc(${fe}px)`;break;default:le=`calc((${G} + ${D}px) * ${Y})`;break}return`calc(${le} + ${A}px)`},[G,A,ue,Y,fe,D]),me=I.useMemo(()=>{switch(G){case void 0:return;case"fit-content":return`calc(${re}px)`;default:return`calc((${G} + ${D}px - ${b}px) * ${e.length})`}},[G,b,D,e,re]);return I.useEffect(()=>{var be,ge;if(e.includes(k)||O==null||O(e[C]),G!=="fit-content"){ie(ee);return}let le=0;H.current.forEach((xe,Ie)=>{Ie<Y&&xe.current&&(le+=xe.current.offsetWidth+D)}),N(le),ie(`calc(${((ge=(be=H.current[Y])==null?void 0:be.current)==null?void 0:ge.offsetWidth)||0}px)`),K(H.current.reduce((xe,Ie)=>{var Pe;return xe+((((Pe=Ie.current)==null?void 0:Pe.offsetWidth)||0)+D-b)},0))},[G,H,e,k,O,C,b,D,Y,ee]),v.jsxs("div",{...l,className:qe.clsx(Ul.ATab,"Headline2",Ul[i],l==null?void 0:l.className),children:[v.jsx("div",{className:Ul.Indicator,style:{minWidth:ne,left:ce,marginLeft:_}}),v.jsx("div",{className:Ul.IndicatorTrack,style:{width:me}}),v.jsx(mn,{w:A}),e.map((le,be)=>{const ge=n==null?void 0:n(le);return H.current[be]||(H.current[be]=I.createRef()),v.jsx(Ur,{abaseRef:H.current[be],...u,style:{minWidth:ee,maxWidth:ee,marginLeft:_,marginRight:S,"--color":M,...u==null?void 0:u.style},className:qe.clsx(Ul.Option,ge&&Ul.IsDiabled,le===k&&Ul.IsSelected,"IsClickable",T&&Ul.Underline,u==null?void 0:u.className),onClick:xe=>{!ge&&q(le),u&&u.onClick&&u.onClick(xe)},isDisabled:ge,children:v.jsx(g,{option:le})},be)}),v.jsx(mn,{w:A+_}),m&&v.jsxs(v.Fragment,{children:[v.jsx(Yc,{}),m]})]})},j8=r=>{const{option:e}=r;if(typeof e=="string")return e;if(typeof e=="number")return e;if(typeof e=="object"){if(e===null)return"";const t=Xt.keys(e);return"name"in t?e.name:"label"in t?e.label:"value"in t?e.value:JSON.stringify(e)}else return JSON.stringify(e)};function F2(...r){const e=I.useRef(!1);I.useEffect(()=>{e.current||(e.current=!0,r.forEach(t=>t()))},[r])}const B2={String:(r,e,t,n)=>{const{value:i}=n;if(i===void 0)return!1;if(t==="")return Xt.keys(e).some(M=>{const T=e[M],C=kr.getContent(T.asText,{defKey:M,def:T,item:r});if(C!==void 0)return C.toString().toLowerCase().includes(i.toLowerCase());const _=kr.getContent(T.content,{defKey:M,def:T,item:r});return["string","number"].includes(typeof _)&&_!==void 0&&_!==null?_.toString().toLowerCase().includes(i.toLowerCase()):!1});const l=Xt.keys(e),u=t;if(!l.includes(u))return!1;const h=e[u],g=kr.getContent(h.asText,{defKey:u,def:h,item:r});if(g!==void 0)return g.toString().toLowerCase().includes(i.toLowerCase());const m=kr.getContent(h.content,{defKey:u,def:h,item:r});return["string","number"].includes(typeof m)&&m!==void 0&&m!==null?m.toString().toLowerCase().includes(i.toLowerCase()):!1},Select:(r,e,t,n)=>{const{value:i}=n;if(i==null)return!1;const l=Xt.keys(e),u=t;if(!l.includes(u))return!1;const h=e[u],g=kr.getContent(h.asText,{defKey:u,def:h,item:r});if(g!==void 0)return i.toString().toLowerCase()===g.toString().toLowerCase();const m=kr.getContent(h.content,{defKey:u,def:h,item:r});return["string","number"].includes(typeof m)&&m!==void 0&&m!==null?i.toString().toLowerCase()===m.toString().toLowerCase():!1},Date:(r,e,t,n)=>{const{value:i}=n;if(i===void 0)return!1;const l=Xt.keys(e),u=t;if(!l.includes(u))return!1;const h=e[u],g=kr.getContent(h.asText,{defKey:u,def:h,item:r});if(g!==void 0){const M=zt.toDate(g.toString());return M&&zt.eq(M,i)}const m=kr.getContent(h.content,{defKey:u,def:h,item:r});if(["string","number"].includes(typeof m)&&m!==void 0&&m!==null){const M=zt.toDate(m.toString());return M&&zt.eq(M,i)}return!1},DateRange:(r,e,t,n)=>{const{value:i}=n;if(i===void 0)return!1;const l=Xt.keys(e),u=t;if(!l.includes(u))return!1;const h=e[u],g=kr.getContent(h.asText,{defKey:u,def:h,item:r});if(g!==void 0){const M=zt.toDate(g.toString());return M&&zt.be(i.sDate,M,i.eDate)}const m=kr.getContent(h.content,{defKey:u,def:h,item:r});if(["string","number"].includes(typeof m)&&m!==void 0&&m!==null){const M=zt.toDate(m.toString());return M&&zt.be(i.sDate,M,i.eDate)}return!1}},F8=(r,e,t)=>{let n=r;return Xt.keys(t).forEach(l=>{const u=t[l];u.value===void 0||u.value===null||u.value===""||(n=n.filter(h=>{var g;return(g=u.predicate??B2[u.type])==null?void 0:g(h,e,l,u)}))}),n},B8=(r,e,t)=>{if(!t)return r;const n=t.defKey,i=e[n];if(n===void 0)return r;const l=t.sortF??((u,h)=>{const g=kr.getContent(i.content,{defKey:n,def:i,item:u}),m=kr.getContent(i.content,{defKey:n,def:i,item:h});return typeof g=="string"&&typeof m=="string"?g<m?-1:g>m?1:0:typeof g=="number"&&typeof m=="number"?g-m:typeof g=="string"&&typeof m=="number"?-1:typeof g=="number"&&typeof m=="string"||g===void 0&&m!==void 0?1:g!==void 0&&m===void 0?-1:0});return r.slice().sort((u,h)=>t.isAsc?l(u,h):l(h,u))},q8=(r,e,t)=>r.slice((e-1)*t,e*t),q2=(r,e)=>{const t=Math.max(Math.ceil(r/e),1);return Array.from({length:t},(n,i)=>i+1)},H8=(r,e,t,n)=>{const i=q2(e,t),l=Math.floor((r-1)/n),u=l*n+1,h=(l+1)*n,g=i.slice(u-1,h);return{pages:i,rangedPages:g}},z8=(r,e,t)=>{const n=[],i=Object.keys(t),l=[];i.forEach(C=>{const _=t[C],S=kr.getContent(_.hContent,{defKey:C,def:_});if(S!==void 0){if(typeof S=="string"){l.push(S);return}else if(typeof S=="number"){l.push(S.toString());return}}const D=kr.getContent(_.name,{defKey:C,def:_});if(D!==void 0&&typeof D=="string"){l.push(D);return}l.push(C)});const u=l.map(C=>`"${C.replaceAll('"','""')}"`);n.push(u.join(",")),e.forEach(C=>{const _=[];i.forEach(D=>{const A=t[D],b=kr.getContent(A.content,{defKey:D,def:A,item:C});if(b!==void 0){if(typeof b=="string"){_.push(b);return}else if(typeof b=="number"){_.push(b.toString());return}}const k=C[D];typeof k=="string"?_.push(k):typeof k=="number"?_.push(k.toString()):_.push("")});const S=_.map(D=>`"${D.replaceAll('"','""')}"`);n.push(S.join(","))});const h=`${r}.csv`,g="\uFEFF"+n.join(`
|
53
|
+
`),m=new Blob([g],{type:"text/csv;charset=UTF-8"}),M=URL.createObjectURL(m),T=document.createElement("a");T.href=M,T.download=h,T.click(),URL.revokeObjectURL(M)},$8=r=>{const e=Xt.keys(r);if(e.length!==1)return;const t=e[0];if(t!=="")return;const n=r[t];if(n.type==="String")return n.value},U8=r=>{const e=Object.entries(r);let t={};return e.forEach(([n,i])=>{!i||i.value===void 0||i.value===null||i.value===""||(i.type==="DateRange"?(t[i.sFilterKey]=i.value.sDate,t[i.eFilterKey]=i.value.eDate):t[i.filterKey??n]=i.value)}),t},Ja={applyFilteration:F8,applySortation:B8,applyPagination:q8,getPages:q2,getRangedPages:H8,downloadCsv:z8,getSingleFilterValue:$8,getMultiFilterValues:U8},W8="_ATable_12zow_1",V8={ATable:W8};function H2(r,e,t,n){I.useEffect(()=>{if(r)return r.addEventListener(e,t,n),()=>{r.removeEventListener(e,t,n)}},[r,e,t,n])}const G8="_BodyHeader_43b3m_1",Z8="_TRow_43b3m_7",Y8="_OverflowSpace_43b3m_13",K8="_BodyBody_43b3m_19",X8="_IsSelected_43b3m_40",J8="_IsSelectable_43b3m_44",Q8="_IsRowMarked_43b3m_52",ek="_TH_43b3m_57",tk="_TD_43b3m_62",rk="_IsMarked_43b3m_62",nk="_Resizer_43b3m_81",ik="_IsMoving_43b3m_93",ok="_IsResizable_43b3m_96",sk="_ResizerCenter_43b3m_99",ak="_ResizerOut_43b3m_105",lk="_ResizerIn_43b3m_109",ck="_IsClicked_43b3m_144",uk="_NoItems_43b3m_151",fk="_Content_43b3m_157",_n={BodyHeader:G8,TRow:Z8,OverflowSpace:Y8,BodyBody:K8,IsSelected:X8,IsSelectable:J8,IsRowMarked:Q8,TH:ek,TD:tk,IsMarked:rk,Resizer:nk,IsMoving:ik,IsResizable:ok,ResizerCenter:sk,ResizerOut:ak,ResizerIn:lk,IsClicked:ck,NoItems:uk,Content:fk},Gl=25,dk=r=>{const{defs:e,isEqual:t,rProps:n,useSelect:i,isTableDisabled:l,isSelectMulti:u,selectDisabled:h,appliedFilteration:g,useSortation:m,pagination:M,pagedItems:T,noMarking:C,isLoading:_,showRows:S,RowRenderer:D=gk,isRowRendered:A,resources:b}=r,[k,O]=I.useMemo(()=>i??[],[i]),H=I.useCallback(ke=>{l||!O||!k||h!=null&&h(ke)||(u?k.some(Je=>t(Je,ke))?O(k.filter(Je=>!t(Je,ke))):O([...k,ke]):O([ke]))},[k,h,O,t,l,u]);I.useEffect(()=>{u||!k||!O||k.length>1&&O([k[k.length-1]])},[k,O,u]),I.useEffect(()=>{if(!k||!O)return;k.filter(Je=>h==null?void 0:h(Je)).length>0&&O(k.filter(Je=>!(h!=null&&h(Je))))},[k,O,h]);const[q,G]=m,Y=I.useCallback((ke,Je)=>{G&&((q==null?void 0:q.defKey)===ke?q.isAsc===!0?G({defKey:ke,isAsc:!1,sortF:Je}):q.isAsc===!1?G(void 0):G({defKey:ke,isAsc:!0,sortF:Je}):G({defKey:ke,isAsc:!0,sortF:Je}))},[q,G]),[ue,ee]=I.useState({elem:null,row:null}),fe=I.useRef(null),N=I.useRef(null),re=I.useCallback(()=>ee({elem:fe.current,row:N.current}),[]);I.useEffect(()=>re(),[T.length,re]),H2(window,"resize",re);const[K,ne]=I.useState(40);I.useEffect(()=>{const{row:ke}=ue;ke!=null&&ne(ke.clientHeight)},[ue,K]);const ie=I.useMemo(()=>{const{elem:ke}=ue;return ke?Math.floor(ke.clientHeight/K):0},[ue,K]),ce=I.useMemo(()=>S||(T.length<=ie?ie:T.length),[ie,S,T]),me=I.useMemo(()=>{if(S!==void 0)return S*K},[S,K]),le=I.useMemo(()=>me,[me]),be=I.useMemo(()=>{const{elem:ke}=ue;return ke?ke.getBoundingClientRect().height/K<T.length:!1},[ue,K,T.length]),[ge,xe]=I.useState(),Ie=I.useMemo(()=>{const{elem:ke}=ue;return!ge||!ke?"100%":ke.clientHeight+(A?0:50)},[ge,A,ue]),Pe=I.useRef(null),[Ve,Ee]=I.useState({}),ot=I.useRef({x:0,y:0}),ht=I.useRef({}),Ke=I.useMemo(()=>Xt.keys(Ve),[Ve]),Ye=I.useCallback((ke,Je)=>{const ft=Pe.current;if(!ft)return;const xt=[];ft.childNodes.forEach(Ct=>{Ct.classList.contains(_n.TH)&&xt.push(Ct)});const St={};Xt.keys(e).forEach((Ct,ct)=>{const ut=xt[ct];if(!ut)return;const et=ut.getBoundingClientRect().width;St[Ct]=et}),ht.current=St,xe(Je),ot.current={x:ke.clientX,y:ke.clientY};const mt=Ct=>{if(!Pe.current)return;const ut=Ct.clientX-ot.current.x,et=pk(e,Je,ht.current,ut);Ee(et)};document.addEventListener("mousemove",mt);const It=()=>{xe(void 0),document.removeEventListener("mousemove",mt),document.removeEventListener("mouseup",It)};document.addEventListener("mouseup",It)},[e]),Oe=I.useCallback(()=>{xe(void 0),Ee({})},[]),Ne=I.useMemo(()=>{if(Ke.length===0){const ft={},xt=Xt.keys(e);for(let St=0;St<xt.length;St++){const mt=xt[St],It=e[mt],Ct=kr.getContent(It.colSpan,{defKey:mt,def:It}),ct=It.width??80,ut=It.minWidth??Gl,et=It.maxWidth,Se={width:ct,minWidth:ut,maxWidth:et,flexGrow:Ct??1};if(ft[mt]=Se,Ct!==void 0){for(let Ze=1;Ze<Math.min(Ct,xt.length-St);Ze++){const at=e[xt[St+Ze]],gt=at.width??80,Tt=at.minWidth??Gl,je=at.maxWidth;Se.width+=gt,Se.minWidth+=Tt,Se.maxWidth!==void 0&&(je!==void 0?Se.maxWidth+=je:Se.maxWidth=void 0)}St+=Ct-1}}return ft}const ke={},Je=Xt.keys(e);for(let ft=0;ft<Je.length;ft++){let xt=Je[ft];const St=e[xt];let mt=Ve[xt];const It=kr.getContent(St.colSpan,{defKey:xt,def:St}),Ct=St.minWidth??Gl,ct=St.maxWidth,ut={width:mt,minWidth:Ct,maxWidth:ct,flexGrow:It??1};if(ke[xt]=ut,It!==void 0){for(let et=1;et<Math.min(It,Je.length-ft);et++){const Se=e[Je[ft+et]],Ze=Ve[Je[ft+et]],at=Se.minWidth??Gl,gt=Se.maxWidth;ut.width+=Ze,ut.minWidth+=at,ut.maxWidth!==void 0&&(gt!==void 0?ut.maxWidth+=gt:ut.maxWidth=void 0)}ft+=It-1}}return ke},[e,Ke,Ve]),Ae=I.useRef(null),Le=I.useMemo(()=>Ja.getSingleFilterValue(g),[g]);return I.useEffect(()=>{fe.current&&fe.current.scrollTo({top:0})},[M.page]),I.useEffect(()=>{A&&N.current&&N.current.scrollIntoView({behavior:"smooth",block:"center"})},[k,T,A]),v.jsxs(v.Fragment,{children:[v.jsx(hm,{isLoading:_}),v.jsx("div",{className:qe.clsx(_n.BodyHeader,ge!==void 0&&_n.IsClicked),onResizeCapture:re,ref:Ae,style:{display:A?"none":"flex"},children:v.jsx("div",{className:_n.TRow,ref:Pe,children:Xt.map(e,([ke],Je)=>{const ft=e[ke],xt=kr.getContent(ft.hContent,{defKey:ke,def:ft}),St=ft.name,mt=Je===Xt.keys(e).length-1,It=ft.width??80,Ct=ft.minWidth??Gl,ct=ft.maxWidth,ut={width:It,minWidth:Ct,maxWidth:ct,justifyContent:kr.getContent(ft.hAlign,{defKey:ke,def:ft})??"flex-start",...kr.getContent(ft.hStyle,{defKey:ke,def:ft})};Ke.includes(ke)&&(ut.width=Ve[ke]);const et=ft.isSortable,Se=(q==null?void 0:q.defKey)===ke,Ze=q==null?void 0:q.isAsc;return v.jsxs(I.Fragment,{children:[v.jsxs("div",{style:ut,onClick:()=>et&&Y(ke,ft.sortF),className:qe.clsx(_n.TH,"Label1",et?"IsClickable":"NoSelect"),children:[v.jsx(Xl,{className:_n.Content,children:xt??St}),et&&v.jsx(Br,{icon:Se?Ze?"SortUp":"SortDown":"SortBoth",style:{width:16,height:16}})]}),!mt&&v.jsxs("div",{className:qe.sclsx(_n,"Resizer","IsResizable","NoSelect",ge!==void 0&&"IsMoving"),onMouseDown:at=>Ye(at,ke),onDoubleClick:Oe,children:[v.jsx("div",{className:_n.ResizerOut}),v.jsx("div",{className:_n.ResizerIn}),v.jsx("div",{className:_n.ResizerCenter,style:{height:Ie}}),v.jsx("div",{className:_n.ResizerIn}),v.jsx("div",{className:_n.ResizerOut})]}),mt&&v.jsx(mn,{className:_n.OverflowSpace,w:"var(--Scrollbar-width)",h:50,style:{color:ut.color,backgroundColor:ut.backgroundColor,transition:ut.transition}})]},ke)})})}),v.jsxs("div",{className:qe.clsx(_n.BodyBody,ge!==void 0&&_n.IsClicked),ref:fe,style:{overflowY:be?"scroll":"hidden",minHeight:me,maxHeight:le},children:[T.map((ke,Je)=>{const ft=kr.getContent(n,{item:ke}),xt=O&&!l,St=k==null?void 0:k.some(ct=>t(ct,ke)),mt=k&&(h==null?void 0:h(ke)),It=typeof mt=="string"?mt:void 0,Ct={...ke};return A&&Xt.keys(e).forEach(ct=>{const ut=e[ct],et=kr.getContent(ut.content,{defKey:ct,def:ut,item:ke});let Se=!1;if(Le&&!C){const Ze=kr.getContent(ut.asText,{defKey:ct,def:ut,item:ke});Ze!==void 0?Se=Ze.toString().toLowerCase().includes(Le.toLowerCase()):["string","number"].includes(typeof et)&&et!==void 0&&et!==null&&(Se=et.toString().toLowerCase().includes(Le.toLowerCase()))}Ct[ct]=v.jsx("span",{className:qe.clsx(Se&&_n.IsRowMarked),children:Ct[ct]})}),v.jsx(Ur,{isDisabled:mt,tooltip:It,...ft,onClick:ct=>{var ut;H(ke),(ut=ft==null?void 0:ft.onClick)==null||ut.call(ft,ct)},className:qe.clsx(ft==null?void 0:ft.className,xt&&_n.IsSelectable,St&&_n.IsSelected),abaseRef:St?N:void 0,children:v.jsx(D,{defs:e,item:ke,markedItem:Ct,noMarking:C,spanWidths:Ne,singleFilterValue:Le,isBodyBodyOverflowed:be})},Je)}),v.jsx(hk,{showRows:ce,itemsLength:T.length,isRowRendered:A,rowHeight:K,resources:b})]})]})},hk=r=>{const{showRows:e,itemsLength:t,resources:n,isRowRendered:i,rowHeight:l}=r,u=I.useMemo(()=>t===0?e:e-t,[e,t]);return Array.from({length:u},(h,g)=>v.jsx("div",{className:qe.clsx(_n.TRow,"NoSelect"),...i&&{style:{border:"none",minHeight:l,maxHeight:l}},children:t===0&&g===Math.floor(e/2)&&v.jsx(si,{className:_n.NoItems,children:n["No Items"]})},g))};function pk(r,e,t,n){const i={...t},l=Xt.keys(r).findIndex(m=>m===e)+1,u=Object.entries(r);let h=l-1,g=l;if(n<0){for(;n<0&&!(h<0||g>=u.length);){const[m,M]=[u[h][0],u[h][1]],[T,C]=[u[g][0],u[g][1]],_=M.minWidth??Gl,S=C.maxWidth,D=i[m],A=i[T];let b=D-_;S!==void 0&&(b=Math.min(b,S-A));let k=-n;k=Math.min(k,b),D-k<=_&&h--,S!==void 0&&A+k>=S&&g++,i[m]=D-k,i[T]=A+k,n+=k}return i}else if(n>0){for(;n>0&&!(h<0||g>=u.length);){const[m,M]=[u[h][0],u[h][1]],[T,C]=[u[g][0],u[g][1]],_=C.minWidth??Gl,S=M.maxWidth,D=i[T],A=i[m];let b=D-_;S!==void 0&&(b=Math.min(b,S-A));let k=n;k=Math.min(k,b),D-k<=_&&g++,S!==void 0&&A+k>=S&&h--,i[T]=D-k,i[m]=A+k,n-=k}return i}return i}const gk=r=>{const{defs:e,item:t,noMarking:n,spanWidths:i,singleFilterValue:l,isBodyBodyOverflowed:u}=r;return v.jsx("div",{className:qe.clsx(_n.TRow),children:Xt.map(e,([h],g)=>{const m=i[h];if(m===void 0)return null;const M=g===Xt.keys(e).length-1,T=e[h],C=kr.getContent(T.content,{defKey:h,def:T,item:t}),_={width:m.width,minWidth:m.minWidth,maxWidth:m.maxWidth,flexGrow:m.flexGrow,justifyContent:kr.getContent(T.align,{defKey:h,def:T,item:t})??"flex-start",...kr.getContent(T.style,{defKey:h,def:T,item:t})};let S=!1;if(l&&!n){const D=kr.getContent(T.asText,{defKey:h,def:T,item:t});D!==void 0?S=D.toString().toLowerCase().includes(l.toLowerCase()):["string","number"].includes(typeof C)&&C!==void 0&&C!==null&&(S=C.toString().toLowerCase().includes(l.toLowerCase()))}return v.jsxs(I.Fragment,{children:[v.jsx("div",{style:_,className:qe.clsx(_n.TD,"Label1",S&&_n.IsMarked),children:v.jsx(Xl,{className:_n.Content,children:C})}),!u&&M&&v.jsx(mn,{className:_n.OverflowSpace,w:"var(--Scrollbar-width)",h:40,style:{color:_.color,backgroundColor:_.backgroundColor}})]},h)})})},mk="_ATableFooter_w090q_1",vk="_Button_w090q_10",yk="_IsSelected_w090q_26",bk="_IsDisabled_w090q_31",Ls={ATableFooter:mk,Button:vk,IsSelected:yk,IsDisabled:bk},_k=r=>{const{pages:e,rangedPages:t,pageF:n,pagination:i}=r,l=I.useMemo(()=>e[e.length-1],[e]);return v.jsxs(si,{className:Ls.ATableFooter,children:[v.jsx(Br,{icon:"FirstPage",className:qe.clsx(Ls.Button,i.page===1&&Ls.IsDisabled),onClick:n.moveFirst}),v.jsx(Br,{icon:"NavigateBefore",className:qe.clsx(Ls.Button,i.page===1&&Ls.IsDisabled),onClick:n.movePrev}),t.map(u=>v.jsx("div",{className:qe.clsx(Ls.Button,"NoSelect",i.page===u&&Ls.IsSelected),onClick:()=>n.move(u),children:u},u)),v.jsx(Br,{icon:"NavigateNext",className:qe.clsx(Ls.Button,i.page===l&&Ls.IsDisabled),onClick:n.moveNext}),v.jsx(Br,{icon:"LastPage",className:qe.clsx(Ls.Button,i.page===l&&Ls.IsDisabled),onClick:n.moveLast})]})},xk="_Filter_1nzzz_1",Sk="_MainFilter_1nzzz_11",Ck="_IsOpen_1nzzz_22",wk="_SubFilters_1nzzz_26",Ak="_Input_1nzzz_40",Tk="_Main_1nzzz_11",Ek="_Sub_1nzzz_26",kk="_Actions_1nzzz_58",Rk="_Icon_1nzzz_63",Ik="_LeftIcon_1nzzz_70",Lk="_CircleAlertOutline_1nzzz_75",Mk="_Rotate_1nzzz_85",Dk="_rotate_1nzzz_1",Er={Filter:xk,MainFilter:Sk,IsOpen:Ck,SubFilters:wk,Input:Ak,Main:Tk,Sub:Ek,Actions:kk,Icon:Rk,LeftIcon:Ik,CircleAlertOutline:Lk,Rotate:Mk,rotate:Dk},Ok=r=>{const{defs:e,useFilteration:t,hasToggleFilteration:n,filterF:i,isRowRendered:l,isFilterSort:u,resources:h}=r,[g,m]=I.useState([]),[M,T]=I.useMemo(()=>t,[t]),C=I.useCallback((le,be,ge)=>{if(!T)return;const xe={...M};le.value=be,T(xe),m(Ie=>Ie.map((Pe,Ve)=>Ve===(ge?ge+1:0)?"":Pe))},[M,T]),_=I.useMemo(()=>{let le=[];const be=Xt.keys(M);for(const ge of be)le.push({key:ge,def:e[ge],filter:M[ge]});return le},[M,e]),S=I.useMemo(()=>_.length>0?_[0]:null,[_]),D=I.useMemo(()=>g.length>0?g[0]:"",[g]),A=I.useMemo(()=>_.length>1?_.slice(1):[],[_]),b=I.useMemo(()=>g.length>1?g.slice(1):[],[g]),k=I.useMemo(()=>A.length>0,[A]),[O,H]=I.useState(!1),[q,G]=I.useState(!1),Y=I.useRef(null),ue=I.useCallback(()=>{H(!0),setTimeout(()=>G(!0),0)},[]),ee=I.useCallback(()=>{G(!1),H(!0)},[]),fe=I.useMemo(()=>q?ee:ue,[q,ue,ee]),N=I.useCallback(()=>H(!1),[]),re=I.useCallback(le=>{const be=document.getElementById("root"),ge=le.target,xe=Y.current;!be||!xe||!ge||!xe.contains(ge)&&be.contains(ge)&&ee()},[ee]);I.useEffect(()=>{if(q)return setTimeout(()=>document.addEventListener("mousedown",re),0),()=>document.removeEventListener("mousedown",re)},[q,re]);const K=I.useCallback(()=>{const le=_.map((be,ge)=>be.filter.type==="String"&&be.filter.validation?be.filter.validation(be.filter.value||""):be.filter.type==="Date"&&be.filter.validation||be.filter.type==="DateRange"&&be.filter.validation?be.filter.validation(be.filter.value):g[ge]);m(le),le.every(be=>!be)&&i.apply()},[g,i,_]),ne=I.useMemo(()=>({open:ue,close:ee,toggle:fe,validate:K}),[ue,ee,fe,K]),ie=I.useCallback(()=>i.clear(),[i]),ce=I.useCallback(()=>K(),[K]),me=I.useCallback(le=>{le.key==="Enter"?(K(),le.stopPropagation()):le.key==="Escape"&&(G(!1),le.currentTarget.focus(),le.currentTarget.blur(),le.stopPropagation())},[K]);return S?v.jsxs("div",{className:qe.clsx(Er.Filter),ref:Y,onKeyDown:me,onClick:le=>{le.preventDefault(),le.stopPropagation()},style:{minWidth:l?u?180:void 0:180,maxWidth:l?u?300:void 0:300},tabIndex:-1,children:[v.jsx(Pk,{filterSet:S,hasToggleFilteration:n,onChange:C,filterF:i,hasSubFilters:k,popupF:ne,isOpen:q,resources:h,errorMessage:D}),v.jsx(Nk,{subFilterSets:A,onChange:C,onClearClick:ie,onSearchClick:ce,isOpen:q,isTransitioning:O,onTransitionEnd:N,resources:h,errorMessages:b})]}):null},Pk=r=>{var M,T,C,_;const{filterSet:e,hasToggleFilteration:t,onChange:n,filterF:i,hasSubFilters:l,popupF:u,isOpen:h,resources:g,errorMessage:m}=r;if(e.filter.type==="String"){const S=[e.filter.value??"",k=>n(e.filter,k)],{placeholder:D=(M=e.def)==null?void 0:M.name,icon:A,iconTooltip:b=D}=e.filter;return v.jsxs("div",{className:qe.clsx(Er.MainFilter,h&&Er.IsOpen),children:[v.jsx(ma,{icon:A??"Type",tooltip:b,isOpen:h}),v.jsx(Jl,{className:qe.clsx(Er.Input,Er.Main),useValue:S,placeholder:D??g["Search(Placeholder)"],wrapProps:{style:{width:"100%",boxSizing:"border-box"}},LeftAddon:t&&v.jsx(Cd,{isOpen:h,filterF:i,popupF:u,resources:g}),RightAddon:v.jsx(wd,{hasSubFilters:l,popupF:u,isOpen:h,resources:g,errorMessage:m}),autoFocus:e.filter.autoFocus,maxLength:e.filter.maxLength,type:m?"Error":"Primary"})]})}else if(e.filter.type==="Select"){const S=[e.filter.value??null,k=>n(e.filter,k)],{placeholder:D=(T=e.def)==null?void 0:T.name,icon:A,iconTooltip:b=D}=e.filter;return v.jsxs("div",{className:qe.clsx(Er.MainFilter,h&&Er.IsOpen),children:[v.jsx(ma,{icon:A??"Menu",tooltip:b,isOpen:h}),v.jsx(Wc,{className:qe.clsx(Er.Input,Er.Main),options:e.filter.options,useSelect:S,placeholder:D,OptionRenderer:e.filter.OptionRenderer,SelectedRenderer:({OptionRenderer:k,selectedOption:O})=>O===null?e.filter.placeholder&&g.Select:v.jsxs(v.Fragment,{children:[t&&v.jsx(Cd,{isOpen:h,filterF:i,popupF:u,resources:g}),v.jsx(k,{option:O}),v.jsx(wd,{hasSubFilters:l,popupF:u,isOpen:h,resources:g})]})})]})}else if(e.filter.type==="Date"){const S=[e.filter.value,k=>n(e.filter,k)],{placeholder:D=(C=e.def)==null?void 0:C.name,icon:A,iconTooltip:b=D}=e.filter;return v.jsxs("div",{className:qe.clsx(Er.MainFilter,h&&Er.IsOpen),children:[v.jsx(ma,{icon:A??"CalendarDay",tooltip:b,isOpen:h}),v.jsx(dm,{type:"Raw",className:qe.clsx(Er.DatePicker,Er.Input,Er.Main),useDate:S,minDate:e.filter.minDate,maxDate:e.filter.maxDate,placeholder:D,LeftAddon:v.jsxs(v.Fragment,{children:[t&&v.jsx(Cd,{isOpen:h,filterF:i,popupF:u,resources:g}),!t&&v.jsx(mn,{w:h?0:6}),v.jsx(ma,{icon:A??"CalendarDay",tooltip:b,isOpen:!h}),v.jsx(mn,{w:h?8:0})]}),RightAddon:v.jsx(wd,{hasSubFilters:l,popupF:u,isOpen:h,resources:g})})]})}else if(e.filter.type==="DateRange"){const S=[e.filter.value,O=>n(e.filter,O)],{placeholder:D=(_=e.def)==null?void 0:_.name,icon:A,iconTooltip:b=D,noDefaultChoices:k}=e.filter;return v.jsxs("div",{className:qe.clsx(Er.MainFilter,h&&Er.IsOpen),children:[v.jsx(ma,{icon:A??"CalendarDay",tooltip:b,isOpen:h}),v.jsx(um,{type:"Raw",className:qe.clsx(Er.DatePicker,Er.Input,Er.Main),useDateRange:S,minDate:e.filter.minDate,maxDate:e.filter.maxDate,placeholder:D,noDefaultChoices:k,LeftAddon:v.jsxs(v.Fragment,{children:[t&&v.jsx(Cd,{isOpen:h,filterF:i,popupF:u,resources:g}),!t&&v.jsx(mn,{w:h?0:6}),v.jsx(ma,{icon:A??"CalendarDay",tooltip:b,isOpen:!h}),v.jsx(mn,{w:h?8:0})]}),RightAddon:v.jsx(wd,{hasSubFilters:l,popupF:u,isOpen:h,resources:g})})]})}return null},Cd=r=>{const{filterF:e,popupF:t,resources:n,isOpen:i}=r;return v.jsx(vo,{type:"Raw",className:Er.Icon,icon:"Convert",tooltip:n["Toggle Filter"],onMouseDown:l=>l.currentTarget.classList.remove(Er.Rotate),style:{width:i?0:24,marginLeft:i?0:8},onClick:l=>{l.currentTarget.classList.add(Er.Rotate),e.toggle(),t.close(),l.stopPropagation()}})},wd=r=>{const{hasSubFilters:e,popupF:t,isOpen:n,resources:i,errorMessage:l}=r,u=I.useCallback(m=>{m.stopPropagation(),t.open()},[t]),h=I.useCallback(m=>{m.stopPropagation(),t.close()},[t]),g=I.useCallback(m=>{m.stopPropagation(),t.validate()},[t]);return v.jsxs(I.Fragment,{children:[l&&v.jsx(vo,{type:"Raw",className:Er.CircleAlertOutline,icon:"CircleAlertOutline",tooltip:l}),e&&v.jsx(vo,{type:"Raw",className:Er.Icon,icon:"ListAdd",onClick:u,style:{opacity:+!n,visibility:+!n?"visible":"hidden",marginRight:-24,pointerEvents:n?"none":void 0}}),e&&v.jsx(vo,{type:"Raw",className:Er.Icon,icon:"ListRemove",onClick:h,style:{opacity:+n,visibility:+n?"visible":"hidden",marginRight:n?-24:0,pointerEvents:n?void 0:"none"}}),v.jsx(vo,{type:"Raw",className:Er.Icon,icon:"Search",tooltip:i["Search(Button)"],onClick:g,style:{opacity:+!n,visibility:+!n?"visible":"hidden",pointerEvents:n?"none":void 0,marginRight:4}})]})},Nk=r=>{const{subFilterSets:e,onChange:t,onClearClick:n,onSearchClick:i,isOpen:l,isTransitioning:u,onTransitionEnd:h,resources:g,errorMessages:m}=r;return!l&&!u?null:v.jsxs("div",{className:Er.SubFilters,onTransitionEnd:h,style:{opacity:+l,visibility:+l?"visible":"hidden"},children:[e.map((M,T)=>{var C,_,S,D;if(M.filter.type==="String"){const A=[M.filter.value??"",q=>t(M.filter,q,T)],b=m[T],{placeholder:k=(C=M.def)==null?void 0:C.name,icon:O,iconTooltip:H=k}=M.filter;return v.jsxs(si,{style:{marginBottom:6},children:[v.jsx(ma,{tooltip:H,icon:O??"Type"}),v.jsx(Jl,{className:qe.clsx(Er.Input,Er.Sub),wrapProps:{style:{width:"100%"}},useValue:A,placeholder:k??g["Search(Placeholder)"],type:b?"Error":"Secondary",RightAddon:b&&v.jsx(vo,{type:"Raw",className:Er.CircleAlertOutline,icon:"CircleAlertOutline",tooltip:b}),autoFocus:M.filter.autoFocus,maxLength:M.filter.maxLength}),v.jsx(mn,{h:8})]},T)}else if(M.filter.type==="Select"){const A=[M.filter.value??null,H=>t(M.filter,H)],{placeholder:b=(_=M.def)==null?void 0:_.name,icon:k,iconTooltip:O=b}=M.filter;return v.jsxs(si,{style:{marginBottom:6},children:[v.jsx(ma,{tooltip:O,icon:k??"Menu"}),v.jsx(Wc,{className:qe.clsx(Er.Input,Er.Sub),options:M.filter.options,placeholder:b,OptionRenderer:M.filter.OptionRenderer,useSelect:A,arrowProps:{style:{marginRight:4}},type:"Secondary"}),v.jsx(mn,{h:8})]},T)}else if(M.filter.type==="Date"){const A=[M.filter.value,H=>t(M.filter,H)],{placeholder:b=(S=M.def)==null?void 0:S.name,icon:k,iconTooltip:O=b}=M.filter;return v.jsxs(si,{style:{marginBottom:6},children:[v.jsx(ma,{tooltip:O,icon:k??"CalendarDay"}),v.jsx(dm,{type:"Raw",LeftAddon:v.jsx(mn,{w:12}),placeholder:b,className:qe.clsx(Er.DatePicker,Er.Input,Er.Sub),useDate:A,minDate:M.filter.minDate,maxDate:M.filter.maxDate}),v.jsx(mn,{h:8})]},T)}else if(M.filter.type==="DateRange"){const A=[M.filter.value,H=>t(M.filter,H)],{placeholder:b=(D=M.def)==null?void 0:D.name,icon:k,iconTooltip:O=b}=M.filter;return v.jsxs(si,{style:{marginBottom:6},children:[v.jsx(ma,{tooltip:O,icon:k??"CalendarDay"}),v.jsx(um,{type:"Raw",LeftAddon:v.jsx(mn,{w:12}),className:qe.clsx(Er.DatePicker,Er.Input,Er.Sub),useDateRange:A,placeholder:b,minDate:M.filter.minDate,maxDate:M.filter.maxDate})]},T)}else return null}),v.jsxs(si,{className:Er.Actions,children:[v.jsx(Bi,{type:"Secondary",onClick:n,children:g["Clear(Button)"]}),v.jsx(Bi,{onClick:i,children:g["Search(Button)"]})]})]})},ma=r=>{const{icon:e,tooltip:t,isOpen:n=!0}=r;return v.jsx(vo,{type:"Raw",className:Er.LeftIcon,tooltip:t,icon:e,style:{width:n?24:0,marginRight:n?4:0,opacity:+n}})},jk="_ATableHeader_1hzfz_1",Fk="_LeftHeaderContent_1hzfz_11",Bk="_RightHeaderContent_1hzfz_19",qk="_TopRightAddon_1hzfz_27",Hk="_HItem_1hzfz_32",qc={ATableHeader:jk,LeftHeaderContent:Fk,RightHeaderContent:Bk,TopRightAddon:qk,HItem:Hk},zk=r=>{const{defs:e,title:t,totalCount:n,useCheck:i,useFilteration:l,hasToggleFilteration:u,filterF:h,noFilter:g,noCount:m,isFiltered:M,TopLeftAddon:T,TopRightAddon:C,useSortation:_,resources:S=hn.ATable}=r,[D]=I.useMemo(()=>i||[],[i]),A=I.useMemo(()=>M?S["Searched n items"](n):S["Total n items"](n),[S,M,n]),[b]=l,[k,O]=_,[H,q]=I.useState(!1),G=I.useMemo(()=>{const ie=Xt.values(b).filter(le=>le.type==="DateRange"),ce=Xt.keys(b).filter(le=>ie.includes(b[le])),me=Xt.keys(e).filter(le=>e[le].isSortable);return ce.length>0?(ce.length>1&&q(!0),me.map(be=>ce.includes(be)?[be+"_Asc",be+"_Desc"]:be).flat()):me},[e,b]),Y=I.useMemo(()=>r.isRowRendered&&G.length>0,[G.length,r.isRowRendered]),ue=I.useCallback((ie,ce)=>{O&&(k==null?void 0:k.defKey)===ie&&(k.isAsc===!0?O({defKey:ie,isAsc:!1,sortF:ce}):O({defKey:ie,isAsc:!0,sortF:ce}))},[k,O]),ee=I.useRef(),[fe,N]=I.useState(),[re,K]=I.useState(k?k.defKey:G[0]),ne=I.useMemo(()=>{if(!fe)return{};const ie=e[fe];return{SortUp:{onClick:()=>{O==null||O({defKey:fe,isAsc:!0,sortF:ie.sortF}),K(fe)},content:()=>S["Sort up"]},SortDown:{onClick:()=>{O==null||O({defKey:fe,isAsc:!1,sortF:ie.sortF}),K(fe)},content:()=>S["Sort down"]}}},[O,fe,e,S]);return v.jsxs(v.Fragment,{children:[v.jsxs("div",{className:qe.clsx(qc.ATableHeader),children:[v.jsxs("div",{className:qe.clsx(qc.LeftHeaderContent,"NoSelect"),children:[v.jsxs(si,{style:{marginBottom:Y?8:0},children:[T&&v.jsx("div",{className:qe.clsx(qc.HItem),children:T}),t&&v.jsx("div",{className:qe.clsx(qc.HItem),style:{whiteSpace:"nowrap"},children:t}),!m&&v.jsxs("div",{className:qe.clsx(qc.HItem),style:{maxHeight:14,...Y&&{minHeight:14,color:"var(--label-neutral)"}},children:[A,D&&D.length>0&&v.jsxs(v.Fragment,{children:[" / ",S["Checked n items"](D.length)]})]})]}),Y&&v.jsx(j2,{type:"Tertiary",options:G,useSelect:[re,()=>{}],optionWidth:"fit-content",tabProps:{style:{marginRight:8}},optionProps:{style:{cursor:"default"},onClick:ie=>{var le;const ce=ie.currentTarget.textContent;if(ce===S[ce])return;ie.currentTarget.querySelector("svg")===null&&((le=ee.current)==null||le.open(ie.currentTarget))}},OptionRenderer:ie=>{const ce=/_Asc|_Desc/.test(ie.option),me=(k==null?void 0:k.defKey)===ie.option,le=re===ie.option,be=k==null?void 0:k.isAsc,ge=()=>{if(ce){N(void 0),K(ie.option);const[Pe,Ve]=ie.option.split("_"),Ee=Ve==="Asc";O==null||O({defKey:Pe,isAsc:Ee,sortF:e[Pe].sortF})}else le?ue(ie.option,e[ie.option].sortF):N(ie.option)},Ie=ce?(Pe=>{const[Ve,Ee]=Pe.split("_");return(H?Ve+" ":"")+S[Ee]})(ie.option):S["Sort by x"](ie.option);return v.jsxs(si,{style:{height:"100%"},className:qe.clsx(!(ce&&le)&&"IsClickable"),onClick:ge,children:[Ie,le&&!ce&&v.jsx(Br,{style:{marginRight:-5,marginLeft:4},icon:me?be?"RowSortUp":"RowSortDown":"RowSortBoth"})]},ie.option)}})]}),v.jsx(Yc,{}),v.jsxs("div",{className:qe.clsx(qc.RightHeaderContent,"NoSelect"),children:[!g&&v.jsx(Ok,{defs:e,useFilteration:l,hasToggleFilteration:u,filterF:h,isRowRendered:r.isRowRendered,isFilterSort:G.length>0,resources:S}),C&&v.jsx(si,{className:qe.clsx(qc.TopRightAddon),children:C})]})]}),v.jsx(O2,{defs:ne,actionRef:ee,onClose:()=>N(void 0),width:100,position:Ku.S})]})},$k=r=>{const{defs:e,pk:t,defaultDef:n,rProps:i,useSelect:l,isSelectMulti:u,selectDisabled:h,useCheck:g,checkDisabled:m,isLoading:M,isDisabled:T,title:C,entireItems:_,onStateChange:S,pagedItems:D,totalCount:A,useFilteration:b,useToggleFilteration:k,usePagination:O,useSortation:H,showRows:q,noHeader:G,noFooter:Y,noFilter:ue,noCount:ee,noMarking:fe,noStateChangeOnMount:N,TopLeftAddon:re,TopRightAddon:K,actionRef:ne,RowRenderer:ie,resources:ce}=r,me=I.useMemo(()=>({...hn.ATable,...ce}),[ce]),le=I.useCallback((Qe,Nt)=>t!==void 0?Array.isArray(t)?t.every(Q=>el.isEqual(Qe[Q],Nt[Q])):el.isEqual(Qe[t],Nt[t]):el.isEqual(Qe,Nt),[t]),be=I.useMemo(()=>({content:Uk,...n}),[n]),ge=I.useMemo(()=>{const Qe={};return Xt.keys(e).forEach(Nt=>{const Q=e[Nt],He={...be,...Q};Qe[Nt]=He}),Qe},[be,e]),[xe,Ie]=pn(el.cloneDeep(b),{"":{type:"String",placeholder:me["Search(Placeholder)"],value:""}}),[Pe,Ve]=pn(el.cloneDeep(k),void 0),[Ee,ot]=I.useState(!1),[ht,Ke]=I.useMemo(()=>Ee&&Pe?[Pe,Ve]:[xe,Ie],[xe,Ee,Ie,Ve,Pe]),[Ye,Oe]=I.useState(ht),Ne=I.useMemo(()=>_?Ja.applyFilteration(_,ge,Ye):[],[_,ge,Ye]),Ae=I.useMemo(()=>{for(const Qe in Ye){const Nt=Ye[Qe];if(Nt.value!==void 0&&Nt.value!==null&&Nt.value!=="")return!0}return!1},[Ye]),[Le,ke]=pn(H,void 0),Je=I.useMemo(()=>Ja.applySortation(Ne,ge,Le),[Ne,ge,Le]),ft=I.useMemo(()=>{if(D!==void 0)return Ja.applySortation(D,ge,Le)},[D,ge,Le]),[xt,St]=pn(O,{page:1,pageSize:50,pageRange:10}),mt=I.useMemo(()=>({pageSize:50,page:1,pageRange:10,...xt}),[xt]),{pagedItems:It,totalCount:Ct,pagination:ct}=I.useMemo(()=>{const Qe={...mt};if(ft!==void 0){let Nt=A??ft.length;const Q=Ja.getPages(Nt,Qe.pageSize);return Qe.page>Q.length?Qe.page=Q.length:Qe.page<1&&(Qe.page=1),{pagedItems:ft,totalCount:Nt,pagination:Qe}}else if(_!==void 0){const Nt=A??Je.length,Q=Ja.getPages(Nt,Qe.pageSize);return Qe.page>Q.length?Qe.page=Q.length:Qe.page<1&&(Qe.page=1),{pagedItems:Ja.applyPagination(Je,Qe.page,Qe.pageSize),totalCount:Nt,pagination:Qe}}else return{pagedItems:[],totalCount:A??0,pagination:mt}},[_,ft,A,mt,Je]),{pages:ut,rangedPages:et}=I.useMemo(()=>Ja.getRangedPages(ct.page,Ct,ct.pageSize,ct.pageRange),[Ct,ct.pageSize,ct.page,ct.pageRange]),[Se,Ze]=I.useMemo(()=>g??[],[g]),at=I.useMemo(()=>It.filter(Qe=>Se==null?void 0:Se.some(Nt=>le(Nt,Qe))),[It,Se,le]),gt=I.useMemo(()=>It.filter(Qe=>!(m!=null&&m(Qe))),[It,m]),Tt=I.useMemo(()=>gt.length>0&>.every(Qe=>at.some(Nt=>le(Nt,Qe))),[at,gt,le]),je=I.useMemo(()=>Tt?!1:gt.some(Qe=>at.some(Nt=>le(Nt,Qe))),[at,gt,Tt,le]),_t=I.useCallback(()=>{!Se||!Ze||T||Ze(Tt||je?Se.filter(Qe=>!gt.some(Nt=>le(Nt,Qe))):[...Se,...gt])},[Se,Ze,Tt,je,gt,T,le]),Mt=I.useCallback(Qe=>{!Se||!Ze||T||(Se.some(Nt=>le(Nt,Qe))?Ze(Se.filter(Nt=>!le(Nt,Qe))):Ze([...Se,Qe]))},[Se,Ze,T,le]);I.useEffect(()=>{if(!Ze||!Se||!m)return;Se.filter(Nt=>m(Nt)).length>0&&Ze(Se.filter(Nt=>!m(Nt)))},[m,Se,Ze]);const vr=I.useMemo(()=>({hContent:Se&&v.jsx(Uu,{useCheck:[Tt,_t],isIndeterminate:je}),content:Qe=>{const{item:Nt}=Qe,Q=m==null?void 0:m(Nt),He=typeof Q=="string"?Q:void 0,pt=Se==null?void 0:Se.some(Ot=>le(Ot,Nt));return v.jsx(Uu,{style:{zIndex:1},isDisabled:Q,tooltip:He,onClick:Ot=>Ot.stopPropagation(),useCheck:[pt,()=>Mt(Nt)]})},minWidth:32,maxWidth:32}),[Se,Tt,je,le,_t,m,Mt]),nr=I.useMemo(()=>g?{checkDef:vr,...ge}:ge,[ge,vr,g]),[Zt,he]=I.useState(!1),te=I.useMemo(()=>M??Zt,[M,Zt]),Fe=I.useCallback(async Qe=>{S&&(he(!0),await S(Qe),he(!1)),St==null||St(Qe.pagination),ke==null||ke(Qe.sortation),Oe(Qe.filteration)},[S,St,ke]);I.useEffect(()=>{if(!ne)return;const Qe=Q=>{const He={entireItems:_,filteration:ht,pagination:ct,sortation:Le},pt=Q?Q(He):He;Fe(pt)},Nt=Q=>{const He={...ct,page:1},pt=Q?Q(ht):ht;Fe({entireItems:_,filteration:pt,pagination:He,sortation:Le}),Ke==null||Ke(pt)};ne.current={fireOnStateChange:Qe,applyFilteration:Nt}},[ne,Fe,_,Ke,ht,ct,Le]);const Xe=I.useCallback(Qe=>{Qe.page===ct.page&&Qe.pageSize===ct.pageSize||(Qe.page<1?Qe.page=1:Qe.page>ut[ut.length-1]&&(Qe.page=ut[ut.length-1]),Fe({entireItems:_,filteration:Ye,pagination:Qe,sortation:Le}))},[ct,ut,Fe,_,Ye,Le]),Lt=I.useCallback(Qe=>{Ke&&Ke(Qe)},[Ke]),vt=I.useCallback(Qe=>{Fe({entireItems:_,filteration:Ye,pagination:ct,sortation:Qe})},[Fe,_,Ye,ct]),wt=I.useCallback(Qe=>{Xe({...ct,page:Qe})},[Xe,ct]),Gt=I.useCallback(()=>{wt(ct.page-1)},[wt,ct.page]),Ft=I.useCallback(()=>{wt(ct.page+1)},[wt,ct.page]),sr=I.useCallback(()=>{wt(1)},[wt]),dr=I.useCallback(()=>{wt(ut[ut.length-1])},[wt,ut]),Rr=I.useMemo(()=>({move:wt,movePrev:Gt,moveNext:Ft,moveFirst:sr,moveLast:dr}),[wt,Gt,Ft,sr,dr]),ur=I.useCallback(()=>{const Qe={...ct,page:1};Fe({entireItems:_,filteration:ht,pagination:Qe,sortation:Le})},[ht,ct,Fe,_,Le]),xr=I.useCallback(()=>{ot(!Ee)},[Ee]),Wr=I.useCallback(()=>{Ee&&Pe?Ve==null||Ve(Jv(Pe)):Ke==null||Ke(Jv(xe))},[Ee,Pe,Ve,xe,Ke]),st=I.useMemo(()=>({apply:ur,toggle:xr,clear:Wr}),[ur,xr,Wr]);F2(()=>{N||Fe({entireItems:_,filteration:ht,pagination:ct,sortation:Le})});const Rt=I.useMemo(()=>Xt.map(ge,([Nt])=>ge[Nt].minWidth??Gl).reduce((Nt,Q)=>Nt+Q,0),[ge]),bt=I.useMemo(()=>ie!==void 0,[ie]);return v.jsxs(Ur,{className:V8.ATable,isDisabled:T,style:{minWidth:Rt},children:[!G&&v.jsx(zk,{defs:ge,title:C,totalCount:Ct,useCheck:g&&Se?[Se,Ze]:void 0,useFilteration:[ht,Lt],useSortation:[Le,vt],isRowRendered:bt,hasToggleFilteration:Pe!==void 0,filterF:st,noFilter:ue,noCount:ee,isFiltered:Ae,TopLeftAddon:re,TopRightAddon:K,resources:me}),v.jsx(dk,{defs:nr,isEqual:le,rProps:i,useSelect:l,isSelectMulti:u,selectDisabled:h,isTableDisabled:T,appliedFilteration:Ye,useSortation:[Le,vt],pagination:ct,pagedItems:It,showRows:q,isLoading:te,noMarking:fe,resources:me,RowRenderer:ie,isRowRendered:bt}),!Y&&v.jsx(_k,{pages:ut,rangedPages:et,pageF:Rr,pagination:ct})]})},Uk=r=>{const{defKey:e,item:t}=r;if(Xt.hasKey(t,e)){const n=t[e];return Xt.isReactNode(n)?n:null}else return null};function Jv(r){const e={...r};for(const t in e)e[t].value=void 0;return e}const Wk="_AText_1asz6_1",Vk={AText:Wk},z2=r=>{const{text:e,styled:t,style:n}=r,i=I.useMemo(()=>{if(e)if(t)if(n){if(t===!0)return n==="bold"?v.jsx("b",{children:e}):v.jsx("span",{style:n,children:e});if(typeof t=="string"){const l=e.split(t);return n==="bold"?l.map((u,h)=>v.jsxs(I.Fragment,{children:[Ad(u),h<l.length-1?v.jsx("b",{children:Ad(t)}):""]},h)):l.map((u,h)=>v.jsxs(I.Fragment,{children:[Ad(u),h<l.length-1&&v.jsx("span",{style:n,children:Ad(t)})]},h))}}else return e;else return e;else return""},[e,n,t]);return v.jsx("div",{className:qe.clsx("Body1Reading",Vk.AText,"NoSelect"),children:i})};function Ad(r){const e=r.split(`
|
54
|
+
`);return e.map((t,n)=>v.jsxs(I.Fragment,{children:[t,n!==e.length-1&&v.jsx("br",{})]},n))}const Gk="_Base_1g8so_9",Zk="_ATextArea_1g8so_13",Yk="_Primary_1g8so_36",Kk="_UnAvailable_1g8so_41",Xk="_Secondary_1g8so_49",Jk="_ReadOnly_1g8so_61",Td={Base:Gk,ATextArea:Zk,Primary:Yk,UnAvailable:Kk,Secondary:Xk,ReadOnly:Jk,Error:"_Error_1g8so_68"},Qk=["Primary","Secondary","ReadOnly","Error"],eR=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",textAreaRef:i,useValue:l,rows:u,isReadonly:h,placeholder:g,maxLength:m,tabIndex:M,autoFocus:T,textAreaProps:C,wrapProps:_,helperText:S,label:D,wrapType:A,labelProps:b,...k}=r,O=I.useMemo(()=>tR(t)?"Error":n,[t,n]),H=I.useMemo(()=>O==="ReadOnly"?!0:h,[O,h]),q=I.useMemo(()=>k.isDisabled||k.isLoading,[k.isDisabled,k.isLoading]),[G,Y]=pn(l,""),ue=I.useCallback(N=>{Y&&Y(N)},[Y]),ee=I.useCallback(N=>{var re;q||(ue(N.target.value),(re=C==null?void 0:C.onChange)==null||re.call(C,N))},[q,ue,C]),fe=I.useCallback(N=>{var re;if(!q){if((re=C==null?void 0:C.onKeyDown)==null||re.call(C,N),N.key==="Tab"){const K=N.currentTarget.selectionStart,ne=N.currentTarget.selectionEnd;N.currentTarget.value=N.currentTarget.value.substring(0,K)+" "+N.currentTarget.value.substring(ne),N.currentTarget.selectionStart=N.currentTarget.selectionEnd=K+1,N.preventDefault()}else N.key==="Enter"&&(e==null||e(N.currentTarget.value),N.stopPropagation());N.key!=="Escape"&&N.stopPropagation()}},[q,e,C]);return v.jsx(Uc,{wrapProps:_,label:D,helperText:S,errorMessage:t,labelProps:b,wrapType:A??O==="Error"?"Error":"Default",children:v.jsx(Ur,{...k,className:qe.clsx(Td.Base,k.className),children:v.jsx("textarea",{...C,className:qe.clsx(Td.ATextArea,Td[O],q&&Td.UnAvailable,C==null?void 0:C.className),value:G,rows:u,readOnly:H,onChange:ee,onKeyDown:fe,placeholder:g,maxLength:m,tabIndex:k.isDisabled||k.isLoading?-1:M,autoFocus:T,ref:i})})})};function tR(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}var $2=typeof global=="object"&&global&&global.Object===Object&&global,rR=typeof self=="object"&&self&&self.Object===Object&&self,Sa=$2||rR||Function("return this")(),Ql=Sa.Symbol,U2=Object.prototype,nR=U2.hasOwnProperty,iR=U2.toString,kf=Ql?Ql.toStringTag:void 0;function oR(r){var e=nR.call(r,kf),t=r[kf];try{r[kf]=void 0;var n=!0}catch{}var i=iR.call(r);return n&&(e?r[kf]=t:delete r[kf]),i}var sR=Object.prototype,aR=sR.toString;function lR(r){return aR.call(r)}var cR="[object Null]",uR="[object Undefined]",Qv=Ql?Ql.toStringTag:void 0;function Xu(r){return r==null?r===void 0?uR:cR:Qv&&Qv in Object(r)?oR(r):lR(r)}function tl(r){return r!=null&&typeof r=="object"}var Vc=Array.isArray;function ec(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}function W2(r){return r}var fR="[object AsyncFunction]",dR="[object Function]",hR="[object GeneratorFunction]",pR="[object Proxy]";function pm(r){if(!ec(r))return!1;var e=Xu(r);return e==dR||e==hR||e==fR||e==pR}var Yh=Sa["__core-js_shared__"],e0=function(){var r=/[^.]+$/.exec(Yh&&Yh.keys&&Yh.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function gR(r){return!!e0&&e0 in r}var mR=Function.prototype,vR=mR.toString;function Kc(r){if(r!=null){try{return vR.call(r)}catch{}try{return r+""}catch{}}return""}var yR=/[\\^$.*+?()[\]{}|]/g,bR=/^\[object .+?Constructor\]$/,_R=Function.prototype,xR=Object.prototype,SR=_R.toString,CR=xR.hasOwnProperty,wR=RegExp("^"+SR.call(CR).replace(yR,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function AR(r){if(!ec(r)||gR(r))return!1;var e=pm(r)?wR:bR;return e.test(Kc(r))}function TR(r,e){return r==null?void 0:r[e]}function Xc(r,e){var t=TR(r,e);return AR(t)?t:void 0}var O1=Xc(Sa,"WeakMap"),t0=Object.create,ER=function(){function r(){}return function(e){if(!ec(e))return{};if(t0)return t0(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}}();function kR(r,e,t){switch(t.length){case 0:return r.call(e);case 1:return r.call(e,t[0]);case 2:return r.call(e,t[0],t[1]);case 3:return r.call(e,t[0],t[1],t[2])}return r.apply(e,t)}function V2(r,e){var t=-1,n=r.length;for(e||(e=Array(n));++t<n;)e[t]=r[t];return e}var RR=800,IR=16,LR=Date.now;function MR(r){var e=0,t=0;return function(){var n=LR(),i=IR-(n-t);if(t=n,i>0){if(++e>=RR)return arguments[0]}else e=0;return r.apply(void 0,arguments)}}function DR(r){return function(){return r}}var Kd=function(){try{var r=Xc(Object,"defineProperty");return r({},"",{}),r}catch{}}(),OR=Kd?function(r,e){return Kd(r,"toString",{configurable:!0,enumerable:!1,value:DR(e),writable:!0})}:W2,PR=MR(OR);function NR(r,e){for(var t=-1,n=r==null?0:r.length;++t<n&&e(r[t],t,r)!==!1;);return r}var jR=9007199254740991,FR=/^(?:0|[1-9]\d*)$/;function G2(r,e){var t=typeof r;return e=e??jR,!!e&&(t=="number"||t!="symbol"&&FR.test(r))&&r>-1&&r%1==0&&r<e}function gm(r,e,t){e=="__proto__"&&Kd?Kd(r,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):r[e]=t}function Qf(r,e){return r===e||r!==r&&e!==e}var BR=Object.prototype,qR=BR.hasOwnProperty;function Z2(r,e,t){var n=r[e];(!(qR.call(r,e)&&Qf(n,t))||t===void 0&&!(e in r))&&gm(r,e,t)}function ed(r,e,t,n){var i=!t;t||(t={});for(var l=-1,u=e.length;++l<u;){var h=e[l],g=void 0;g===void 0&&(g=r[h]),i?gm(t,h,g):Z2(t,h,g)}return t}var r0=Math.max;function HR(r,e,t){return e=r0(e===void 0?r.length-1:e,0),function(){for(var n=arguments,i=-1,l=r0(n.length-e,0),u=Array(l);++i<l;)u[i]=n[e+i];i=-1;for(var h=Array(e+1);++i<e;)h[i]=n[i];return h[e]=t(u),kR(r,this,h)}}function zR(r,e){return PR(HR(r,e,W2),r+"")}var $R=9007199254740991;function Y2(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=$R}function oh(r){return r!=null&&Y2(r.length)&&!pm(r)}function UR(r,e,t){if(!ec(t))return!1;var n=typeof e;return(n=="number"?oh(t)&&G2(e,t.length):n=="string"&&e in t)?Qf(t[e],r):!1}function WR(r){return zR(function(e,t){var n=-1,i=t.length,l=i>1?t[i-1]:void 0,u=i>2?t[2]:void 0;for(l=r.length>3&&typeof l=="function"?(i--,l):void 0,u&&UR(t[0],t[1],u)&&(l=i<3?void 0:l,i=1),e=Object(e);++n<i;){var h=t[n];h&&r(e,h,n,l)}return e})}var VR=Object.prototype;function mm(r){var e=r&&r.constructor,t=typeof e=="function"&&e.prototype||VR;return r===t}function GR(r,e){for(var t=-1,n=Array(r);++t<r;)n[t]=e(t);return n}var ZR="[object Arguments]";function n0(r){return tl(r)&&Xu(r)==ZR}var K2=Object.prototype,YR=K2.hasOwnProperty,KR=K2.propertyIsEnumerable,P1=n0(function(){return arguments}())?n0:function(r){return tl(r)&&YR.call(r,"callee")&&!KR.call(r,"callee")};function XR(){return!1}var X2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,i0=X2&&typeof module=="object"&&module&&!module.nodeType&&module,JR=i0&&i0.exports===X2,o0=JR?Sa.Buffer:void 0,QR=o0?o0.isBuffer:void 0,Vf=QR||XR,e9="[object Arguments]",t9="[object Array]",r9="[object Boolean]",n9="[object Date]",i9="[object Error]",o9="[object Function]",s9="[object Map]",a9="[object Number]",l9="[object Object]",c9="[object RegExp]",u9="[object Set]",f9="[object String]",d9="[object WeakMap]",h9="[object ArrayBuffer]",p9="[object DataView]",g9="[object Float32Array]",m9="[object Float64Array]",v9="[object Int8Array]",y9="[object Int16Array]",b9="[object Int32Array]",_9="[object Uint8Array]",x9="[object Uint8ClampedArray]",S9="[object Uint16Array]",C9="[object Uint32Array]",xn={};xn[g9]=xn[m9]=xn[v9]=xn[y9]=xn[b9]=xn[_9]=xn[x9]=xn[S9]=xn[C9]=!0;xn[e9]=xn[t9]=xn[h9]=xn[r9]=xn[p9]=xn[n9]=xn[i9]=xn[o9]=xn[s9]=xn[a9]=xn[l9]=xn[c9]=xn[u9]=xn[f9]=xn[d9]=!1;function w9(r){return tl(r)&&Y2(r.length)&&!!xn[Xu(r)]}function vm(r){return function(e){return r(e)}}var J2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Bf=J2&&typeof module=="object"&&module&&!module.nodeType&&module,A9=Bf&&Bf.exports===J2,Kh=A9&&$2.process,Wu=function(){try{var r=Bf&&Bf.require&&Bf.require("util").types;return r||Kh&&Kh.binding&&Kh.binding("util")}catch{}}(),s0=Wu&&Wu.isTypedArray,ym=s0?vm(s0):w9,T9=Object.prototype,E9=T9.hasOwnProperty;function Q2(r,e){var t=Vc(r),n=!t&&P1(r),i=!t&&!n&&Vf(r),l=!t&&!n&&!i&&ym(r),u=t||n||i||l,h=u?GR(r.length,String):[],g=h.length;for(var m in r)(e||E9.call(r,m))&&!(u&&(m=="length"||i&&(m=="offset"||m=="parent")||l&&(m=="buffer"||m=="byteLength"||m=="byteOffset")||G2(m,g)))&&h.push(m);return h}function ex(r,e){return function(t){return r(e(t))}}var k9=ex(Object.keys,Object),R9=Object.prototype,I9=R9.hasOwnProperty;function L9(r){if(!mm(r))return k9(r);var e=[];for(var t in Object(r))I9.call(r,t)&&t!="constructor"&&e.push(t);return e}function bm(r){return oh(r)?Q2(r):L9(r)}function M9(r){var e=[];if(r!=null)for(var t in Object(r))e.push(t);return e}var D9=Object.prototype,O9=D9.hasOwnProperty;function P9(r){if(!ec(r))return M9(r);var e=mm(r),t=[];for(var n in r)n=="constructor"&&(e||!O9.call(r,n))||t.push(n);return t}function td(r){return oh(r)?Q2(r,!0):P9(r)}var Gf=Xc(Object,"create");function N9(){this.__data__=Gf?Gf(null):{},this.size=0}function j9(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}var F9="__lodash_hash_undefined__",B9=Object.prototype,q9=B9.hasOwnProperty;function H9(r){var e=this.__data__;if(Gf){var t=e[r];return t===F9?void 0:t}return q9.call(e,r)?e[r]:void 0}var z9=Object.prototype,$9=z9.hasOwnProperty;function U9(r){var e=this.__data__;return Gf?e[r]!==void 0:$9.call(e,r)}var W9="__lodash_hash_undefined__";function V9(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=Gf&&e===void 0?W9:e,this}function Gc(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}Gc.prototype.clear=N9;Gc.prototype.delete=j9;Gc.prototype.get=H9;Gc.prototype.has=U9;Gc.prototype.set=V9;function G9(){this.__data__=[],this.size=0}function sh(r,e){for(var t=r.length;t--;)if(Qf(r[t][0],e))return t;return-1}var Z9=Array.prototype,Y9=Z9.splice;function K9(r){var e=this.__data__,t=sh(e,r);if(t<0)return!1;var n=e.length-1;return t==n?e.pop():Y9.call(e,t,1),--this.size,!0}function X9(r){var e=this.__data__,t=sh(e,r);return t<0?void 0:e[t][1]}function J9(r){return sh(this.__data__,r)>-1}function Q9(r,e){var t=this.__data__,n=sh(t,r);return n<0?(++this.size,t.push([r,e])):t[n][1]=e,this}function ol(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}ol.prototype.clear=G9;ol.prototype.delete=K9;ol.prototype.get=X9;ol.prototype.has=J9;ol.prototype.set=Q9;var Zf=Xc(Sa,"Map");function e7(){this.size=0,this.__data__={hash:new Gc,map:new(Zf||ol),string:new Gc}}function t7(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}function ah(r,e){var t=r.__data__;return t7(e)?t[typeof e=="string"?"string":"hash"]:t.map}function r7(r){var e=ah(this,r).delete(r);return this.size-=e?1:0,e}function n7(r){return ah(this,r).get(r)}function i7(r){return ah(this,r).has(r)}function o7(r,e){var t=ah(this,r),n=t.size;return t.set(r,e),this.size+=t.size==n?0:1,this}function Jc(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}Jc.prototype.clear=e7;Jc.prototype.delete=r7;Jc.prototype.get=n7;Jc.prototype.has=i7;Jc.prototype.set=o7;function tx(r,e){for(var t=-1,n=e.length,i=r.length;++t<n;)r[i+t]=e[t];return r}var _m=ex(Object.getPrototypeOf,Object),s7="[object Object]",a7=Function.prototype,l7=Object.prototype,rx=a7.toString,c7=l7.hasOwnProperty,u7=rx.call(Object);function f7(r){if(!tl(r)||Xu(r)!=s7)return!1;var e=_m(r);if(e===null)return!0;var t=c7.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&rx.call(t)==u7}function d7(){this.__data__=new ol,this.size=0}function h7(r){var e=this.__data__,t=e.delete(r);return this.size=e.size,t}function p7(r){return this.__data__.get(r)}function g7(r){return this.__data__.has(r)}var m7=200;function v7(r,e){var t=this.__data__;if(t instanceof ol){var n=t.__data__;if(!Zf||n.length<m7-1)return n.push([r,e]),this.size=++t.size,this;t=this.__data__=new Jc(n)}return t.set(r,e),this.size=t.size,this}function ya(r){var e=this.__data__=new ol(r);this.size=e.size}ya.prototype.clear=d7;ya.prototype.delete=h7;ya.prototype.get=p7;ya.prototype.has=g7;ya.prototype.set=v7;function y7(r,e){return r&&ed(e,bm(e),r)}function b7(r,e){return r&&ed(e,td(e),r)}var nx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,a0=nx&&typeof module=="object"&&module&&!module.nodeType&&module,_7=a0&&a0.exports===nx,l0=_7?Sa.Buffer:void 0,c0=l0?l0.allocUnsafe:void 0;function ix(r,e){if(e)return r.slice();var t=r.length,n=c0?c0(t):new r.constructor(t);return r.copy(n),n}function x7(r,e){for(var t=-1,n=r==null?0:r.length,i=0,l=[];++t<n;){var u=r[t];e(u,t,r)&&(l[i++]=u)}return l}function ox(){return[]}var S7=Object.prototype,C7=S7.propertyIsEnumerable,u0=Object.getOwnPropertySymbols,xm=u0?function(r){return r==null?[]:(r=Object(r),x7(u0(r),function(e){return C7.call(r,e)}))}:ox;function w7(r,e){return ed(r,xm(r),e)}var A7=Object.getOwnPropertySymbols,sx=A7?function(r){for(var e=[];r;)tx(e,xm(r)),r=_m(r);return e}:ox;function T7(r,e){return ed(r,sx(r),e)}function ax(r,e,t){var n=e(r);return Vc(r)?n:tx(n,t(r))}function N1(r){return ax(r,bm,xm)}function E7(r){return ax(r,td,sx)}var j1=Xc(Sa,"DataView"),F1=Xc(Sa,"Promise"),B1=Xc(Sa,"Set"),f0="[object Map]",k7="[object Object]",d0="[object Promise]",h0="[object Set]",p0="[object WeakMap]",g0="[object DataView]",R7=Kc(j1),I7=Kc(Zf),L7=Kc(F1),M7=Kc(B1),D7=Kc(O1),Ps=Xu;(j1&&Ps(new j1(new ArrayBuffer(1)))!=g0||Zf&&Ps(new Zf)!=f0||F1&&Ps(F1.resolve())!=d0||B1&&Ps(new B1)!=h0||O1&&Ps(new O1)!=p0)&&(Ps=function(r){var e=Xu(r),t=e==k7?r.constructor:void 0,n=t?Kc(t):"";if(n)switch(n){case R7:return g0;case I7:return f0;case L7:return d0;case M7:return h0;case D7:return p0}return e});var O7=Object.prototype,P7=O7.hasOwnProperty;function N7(r){var e=r.length,t=new r.constructor(e);return e&&typeof r[0]=="string"&&P7.call(r,"index")&&(t.index=r.index,t.input=r.input),t}var Xd=Sa.Uint8Array;function Sm(r){var e=new r.constructor(r.byteLength);return new Xd(e).set(new Xd(r)),e}function j7(r,e){var t=e?Sm(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.byteLength)}var F7=/\w*$/;function B7(r){var e=new r.constructor(r.source,F7.exec(r));return e.lastIndex=r.lastIndex,e}var m0=Ql?Ql.prototype:void 0,v0=m0?m0.valueOf:void 0;function q7(r){return v0?Object(v0.call(r)):{}}function lx(r,e){var t=e?Sm(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}var H7="[object Boolean]",z7="[object Date]",$7="[object Map]",U7="[object Number]",W7="[object RegExp]",V7="[object Set]",G7="[object String]",Z7="[object Symbol]",Y7="[object ArrayBuffer]",K7="[object DataView]",X7="[object Float32Array]",J7="[object Float64Array]",Q7="[object Int8Array]",eI="[object Int16Array]",tI="[object Int32Array]",rI="[object Uint8Array]",nI="[object Uint8ClampedArray]",iI="[object Uint16Array]",oI="[object Uint32Array]";function sI(r,e,t){var n=r.constructor;switch(e){case Y7:return Sm(r);case H7:case z7:return new n(+r);case K7:return j7(r,t);case X7:case J7:case Q7:case eI:case tI:case rI:case nI:case iI:case oI:return lx(r,t);case $7:return new n;case U7:case G7:return new n(r);case W7:return B7(r);case V7:return new n;case Z7:return q7(r)}}function cx(r){return typeof r.constructor=="function"&&!mm(r)?ER(_m(r)):{}}var aI="[object Map]";function lI(r){return tl(r)&&Ps(r)==aI}var y0=Wu&&Wu.isMap,cI=y0?vm(y0):lI,uI="[object Set]";function fI(r){return tl(r)&&Ps(r)==uI}var b0=Wu&&Wu.isSet,dI=b0?vm(b0):fI,hI=1,pI=2,gI=4,ux="[object Arguments]",mI="[object Array]",vI="[object Boolean]",yI="[object Date]",bI="[object Error]",fx="[object Function]",_I="[object GeneratorFunction]",xI="[object Map]",SI="[object Number]",dx="[object Object]",CI="[object RegExp]",wI="[object Set]",AI="[object String]",TI="[object Symbol]",EI="[object WeakMap]",kI="[object ArrayBuffer]",RI="[object DataView]",II="[object Float32Array]",LI="[object Float64Array]",MI="[object Int8Array]",DI="[object Int16Array]",OI="[object Int32Array]",PI="[object Uint8Array]",NI="[object Uint8ClampedArray]",jI="[object Uint16Array]",FI="[object Uint32Array]",gn={};gn[ux]=gn[mI]=gn[kI]=gn[RI]=gn[vI]=gn[yI]=gn[II]=gn[LI]=gn[MI]=gn[DI]=gn[OI]=gn[xI]=gn[SI]=gn[dx]=gn[CI]=gn[wI]=gn[AI]=gn[TI]=gn[PI]=gn[NI]=gn[jI]=gn[FI]=!0;gn[bI]=gn[fx]=gn[EI]=!1;function Hd(r,e,t,n,i,l){var u,h=e&hI,g=e&pI,m=e&gI;if(u!==void 0)return u;if(!ec(r))return r;var M=Vc(r);if(M){if(u=N7(r),!h)return V2(r,u)}else{var T=Ps(r),C=T==fx||T==_I;if(Vf(r))return ix(r,h);if(T==dx||T==ux||C&&!i){if(u=g||C?{}:cx(r),!h)return g?T7(r,b7(u,r)):w7(r,y7(u,r))}else{if(!gn[T])return i?r:{};u=sI(r,T,h)}}l||(l=new ya);var _=l.get(r);if(_)return _;l.set(r,u),dI(r)?r.forEach(function(A){u.add(Hd(A,e,t,A,r,l))}):cI(r)&&r.forEach(function(A,b){u.set(b,Hd(A,e,t,b,r,l))});var S=m?g?E7:N1:g?td:bm,D=M?void 0:S(r);return NR(D||r,function(A,b){D&&(b=A,A=r[b]),Z2(u,b,Hd(A,e,t,b,r,l))}),u}var BI=1,qI=4;function qu(r){return Hd(r,BI|qI)}var HI="__lodash_hash_undefined__";function zI(r){return this.__data__.set(r,HI),this}function $I(r){return this.__data__.has(r)}function Jd(r){var e=-1,t=r==null?0:r.length;for(this.__data__=new Jc;++e<t;)this.add(r[e])}Jd.prototype.add=Jd.prototype.push=zI;Jd.prototype.has=$I;function UI(r,e){for(var t=-1,n=r==null?0:r.length;++t<n;)if(e(r[t],t,r))return!0;return!1}function WI(r,e){return r.has(e)}var VI=1,GI=2;function hx(r,e,t,n,i,l){var u=t&VI,h=r.length,g=e.length;if(h!=g&&!(u&&g>h))return!1;var m=l.get(r),M=l.get(e);if(m&&M)return m==e&&M==r;var T=-1,C=!0,_=t&GI?new Jd:void 0;for(l.set(r,e),l.set(e,r);++T<h;){var S=r[T],D=e[T];if(n)var A=u?n(D,S,T,e,r,l):n(S,D,T,r,e,l);if(A!==void 0){if(A)continue;C=!1;break}if(_){if(!UI(e,function(b,k){if(!WI(_,k)&&(S===b||i(S,b,t,n,l)))return _.push(k)})){C=!1;break}}else if(!(S===D||i(S,D,t,n,l))){C=!1;break}}return l.delete(r),l.delete(e),C}function ZI(r){var e=-1,t=Array(r.size);return r.forEach(function(n,i){t[++e]=[i,n]}),t}function YI(r){var e=-1,t=Array(r.size);return r.forEach(function(n){t[++e]=n}),t}var KI=1,XI=2,JI="[object Boolean]",QI="[object Date]",eL="[object Error]",tL="[object Map]",rL="[object Number]",nL="[object RegExp]",iL="[object Set]",oL="[object String]",sL="[object Symbol]",aL="[object ArrayBuffer]",lL="[object DataView]",_0=Ql?Ql.prototype:void 0,Xh=_0?_0.valueOf:void 0;function cL(r,e,t,n,i,l,u){switch(t){case lL:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset)return!1;r=r.buffer,e=e.buffer;case aL:return!(r.byteLength!=e.byteLength||!l(new Xd(r),new Xd(e)));case JI:case QI:case rL:return Qf(+r,+e);case eL:return r.name==e.name&&r.message==e.message;case nL:case oL:return r==e+"";case tL:var h=ZI;case iL:var g=n&KI;if(h||(h=YI),r.size!=e.size&&!g)return!1;var m=u.get(r);if(m)return m==e;n|=XI,u.set(r,e);var M=hx(h(r),h(e),n,i,l,u);return u.delete(r),M;case sL:if(Xh)return Xh.call(r)==Xh.call(e)}return!1}var uL=1,fL=Object.prototype,dL=fL.hasOwnProperty;function hL(r,e,t,n,i,l){var u=t&uL,h=N1(r),g=h.length,m=N1(e),M=m.length;if(g!=M&&!u)return!1;for(var T=g;T--;){var C=h[T];if(!(u?C in e:dL.call(e,C)))return!1}var _=l.get(r),S=l.get(e);if(_&&S)return _==e&&S==r;var D=!0;l.set(r,e),l.set(e,r);for(var A=u;++T<g;){C=h[T];var b=r[C],k=e[C];if(n)var O=u?n(k,b,C,e,r,l):n(b,k,C,r,e,l);if(!(O===void 0?b===k||i(b,k,t,n,l):O)){D=!1;break}A||(A=C=="constructor")}if(D&&!A){var H=r.constructor,q=e.constructor;H!=q&&"constructor"in r&&"constructor"in e&&!(typeof H=="function"&&H instanceof H&&typeof q=="function"&&q instanceof q)&&(D=!1)}return l.delete(r),l.delete(e),D}var pL=1,x0="[object Arguments]",S0="[object Array]",Ed="[object Object]",gL=Object.prototype,C0=gL.hasOwnProperty;function mL(r,e,t,n,i,l){var u=Vc(r),h=Vc(e),g=u?S0:Ps(r),m=h?S0:Ps(e);g=g==x0?Ed:g,m=m==x0?Ed:m;var M=g==Ed,T=m==Ed,C=g==m;if(C&&Vf(r)){if(!Vf(e))return!1;u=!0,M=!1}if(C&&!M)return l||(l=new ya),u||ym(r)?hx(r,e,t,n,i,l):cL(r,e,g,t,n,i,l);if(!(t&pL)){var _=M&&C0.call(r,"__wrapped__"),S=T&&C0.call(e,"__wrapped__");if(_||S){var D=_?r.value():r,A=S?e.value():e;return l||(l=new ya),i(D,A,t,n,l)}}return C?(l||(l=new ya),hL(r,e,t,n,i,l)):!1}function px(r,e,t,n,i){return r===e?!0:r==null||e==null||!tl(r)&&!tl(e)?r!==r&&e!==e:mL(r,e,t,n,px,i)}function vL(r){return function(e,t,n){for(var i=-1,l=Object(e),u=n(e),h=u.length;h--;){var g=u[++i];if(t(l[g],g,l)===!1)break}return e}}var yL=vL();function q1(r,e,t){(t!==void 0&&!Qf(r[e],t)||t===void 0&&!(e in r))&&gm(r,e,t)}function bL(r){return tl(r)&&oh(r)}function H1(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}function _L(r){return ed(r,td(r))}function xL(r,e,t,n,i,l,u){var h=H1(r,t),g=H1(e,t),m=u.get(g);if(m){q1(r,t,m);return}var M=l?l(h,g,t+"",r,e,u):void 0,T=M===void 0;if(T){var C=Vc(g),_=!C&&Vf(g),S=!C&&!_&&ym(g);M=g,C||_||S?Vc(h)?M=h:bL(h)?M=V2(h):_?(T=!1,M=ix(g,!0)):S?(T=!1,M=lx(g,!0)):M=[]:f7(g)||P1(g)?(M=h,P1(h)?M=_L(h):(!ec(h)||pm(h))&&(M=cx(g))):T=!1}T&&(u.set(g,M),i(M,g,n,l,u),u.delete(g)),q1(r,t,M)}function gx(r,e,t,n,i){r!==e&&yL(e,function(l,u){if(i||(i=new ya),ec(l))xL(r,e,u,t,gx,n,i);else{var h=n?n(H1(r,u),l,u+"",r,e,i):void 0;h===void 0&&(h=l),q1(r,u,h)}},td)}function Cm(r,e){return px(r,e)}var Kl=WR(function(r,e,t){gx(r,e,t)}),Vt=(r=>(r[r.TYPE=3]="TYPE",r[r.LEVEL=12]="LEVEL",r[r.ATTRIBUTE=13]="ATTRIBUTE",r[r.BLOT=14]="BLOT",r[r.INLINE=7]="INLINE",r[r.BLOCK=11]="BLOCK",r[r.BLOCK_BLOT=10]="BLOCK_BLOT",r[r.INLINE_BLOT=6]="INLINE_BLOT",r[r.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",r[r.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",r[r.ANY=15]="ANY",r))(Vt||{});class _a{constructor(e,t,n={}){this.attrName=e,this.keyName=t;const i=Vt.TYPE&Vt.ATTRIBUTE;this.scope=n.scope!=null?n.scope&Vt.LEVEL|i:Vt.ATTRIBUTE,n.whitelist!=null&&(this.whitelist=n.whitelist)}static keys(e){return Array.from(e.attributes).map(t=>t.name)}add(e,t){return this.canAdd(e,t)?(e.setAttribute(this.keyName,t),!0):!1}canAdd(e,t){return this.whitelist==null?!0:typeof t=="string"?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1}remove(e){e.removeAttribute(this.keyName)}value(e){const t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""}}class Hu extends Error{constructor(e){e="[Parchment] "+e,super(e),this.message=e,this.name=this.constructor.name}}const mx=class z1{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(e,t=!1){if(e==null)return null;if(this.blots.has(e))return this.blots.get(e)||null;if(t){let n=null;try{n=e.parentNode}catch{return null}return this.find(n,t)}return null}create(e,t,n){const i=this.query(t);if(i==null)throw new Hu(`Unable to create ${t} blot`);const l=i,u=t instanceof Node||t.nodeType===Node.TEXT_NODE?t:l.create(n),h=new l(e,u,n);return z1.blots.set(h.domNode,h),h}find(e,t=!1){return z1.find(e,t)}query(e,t=Vt.ANY){let n;return typeof e=="string"?n=this.types[e]||this.attributes[e]:e instanceof Text||e.nodeType===Node.TEXT_NODE?n=this.types.text:typeof e=="number"?e&Vt.LEVEL&Vt.BLOCK?n=this.types.block:e&Vt.LEVEL&Vt.INLINE&&(n=this.types.inline):e instanceof Element&&((e.getAttribute("class")||"").split(/\s+/).some(i=>(n=this.classes[i],!!n)),n=n||this.tags[e.tagName]),n==null?null:"scope"in n&&t&Vt.LEVEL&n.scope&&t&Vt.TYPE&n.scope?n:null}register(...e){return e.map(t=>{const n="blotName"in t,i="attrName"in t;if(!n&&!i)throw new Hu("Invalid definition");if(n&&t.blotName==="abstract")throw new Hu("Cannot register abstract class");const l=n?t.blotName:i?t.attrName:void 0;return this.types[l]=t,i?typeof t.keyName=="string"&&(this.attributes[t.keyName]=t):n&&(t.className&&(this.classes[t.className]=t),t.tagName&&(Array.isArray(t.tagName)?t.tagName=t.tagName.map(u=>u.toUpperCase()):t.tagName=t.tagName.toUpperCase(),(Array.isArray(t.tagName)?t.tagName:[t.tagName]).forEach(u=>{(this.tags[u]==null||t.className==null)&&(this.tags[u]=t)}))),t})}};mx.blots=new WeakMap;let Vu=mx;function w0(r,e){return(r.getAttribute("class")||"").split(/\s+/).filter(t=>t.indexOf(`${e}-`)===0)}class SL extends _a{static keys(e){return(e.getAttribute("class")||"").split(/\s+/).map(t=>t.split("-").slice(0,-1).join("-"))}add(e,t){return this.canAdd(e,t)?(this.remove(e),e.classList.add(`${this.keyName}-${t}`),!0):!1}remove(e){w0(e,this.keyName).forEach(t=>{e.classList.remove(t)}),e.classList.length===0&&e.removeAttribute("class")}value(e){const t=(w0(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""}}const zs=SL;function Jh(r){const e=r.split("-"),t=e.slice(1).map(n=>n[0].toUpperCase()+n.slice(1)).join("");return e[0]+t}class CL extends _a{static keys(e){return(e.getAttribute("style")||"").split(";").map(t=>t.split(":")[0].trim())}add(e,t){return this.canAdd(e,t)?(e.style[Jh(this.keyName)]=t,!0):!1}remove(e){e.style[Jh(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")}value(e){const t=e.style[Jh(this.keyName)];return this.canAdd(e,t)?t:""}}const tc=CL;class wL{constructor(e){this.attributes={},this.domNode=e,this.build()}attribute(e,t){t?e.add(this.domNode,t)&&(e.value(this.domNode)!=null?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])}build(){this.attributes={};const e=Vu.find(this.domNode);if(e==null)return;const t=_a.keys(this.domNode),n=zs.keys(this.domNode),i=tc.keys(this.domNode);t.concat(n).concat(i).forEach(l=>{const u=e.scroll.query(l,Vt.ATTRIBUTE);u instanceof _a&&(this.attributes[u.attrName]=u)})}copy(e){Object.keys(this.attributes).forEach(t=>{const n=this.attributes[t].value(this.domNode);e.format(t,n)})}move(e){this.copy(e),Object.keys(this.attributes).forEach(t=>{this.attributes[t].remove(this.domNode)}),this.attributes={}}values(){return Object.keys(this.attributes).reduce((e,t)=>(e[t]=this.attributes[t].value(this.domNode),e),{})}}const lh=wL,vx=class{constructor(e,t){this.scroll=e,this.domNode=t,Vu.blots.set(t,this),this.prev=null,this.next=null}static create(e){if(this.tagName==null)throw new Hu("Blot definition missing tagName");let t,n;return Array.isArray(this.tagName)?(typeof e=="string"?(n=e.toUpperCase(),parseInt(n,10).toString()===n&&(n=parseInt(n,10))):typeof e=="number"&&(n=e),typeof n=="number"?t=document.createElement(this.tagName[n-1]):n&&this.tagName.indexOf(n)>-1?t=document.createElement(n):t=document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t}get statics(){return this.constructor}attach(){}clone(){const e=this.domNode.cloneNode(!1);return this.scroll.create(e)}detach(){this.parent!=null&&this.parent.removeChild(this),Vu.blots.delete(this.domNode)}deleteAt(e,t){this.isolate(e,t).remove()}formatAt(e,t,n,i){const l=this.isolate(e,t);if(this.scroll.query(n,Vt.BLOT)!=null&&i)l.wrap(n,i);else if(this.scroll.query(n,Vt.ATTRIBUTE)!=null){const u=this.scroll.create(this.statics.scope);l.wrap(u),u.format(n,i)}}insertAt(e,t,n){const i=n==null?this.scroll.create("text",t):this.scroll.create(t,n),l=this.split(e);this.parent.insertBefore(i,l||void 0)}isolate(e,t){const n=this.split(e);if(n==null)throw new Error("Attempt to isolate at end");return n.split(t),n}length(){return 1}offset(e=this.parent){return this.parent==null||this===e?0:this.parent.children.offset(this)+this.parent.offset(e)}optimize(e){this.statics.requiredContainer&&!(this.parent instanceof this.statics.requiredContainer)&&this.wrap(this.statics.requiredContainer.blotName)}remove(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return this.parent!=null&&(this.parent.insertBefore(n,this.next||void 0),this.remove()),n}split(e,t){return e===0?this:this.next}update(e,t){}wrap(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;if(this.parent!=null&&this.parent.insertBefore(n,this.next||void 0),typeof n.appendChild!="function")throw new Hu(`Cannot wrap ${e}`);return n.appendChild(this),n}};vx.blotName="abstract";let yx=vx;const bx=class extends yx{static value(e){return!0}index(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1}position(e,t){let n=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};bx.scope=Vt.INLINE_BLOT;let AL=bx;const Fi=AL;class TL{constructor(){this.head=null,this.tail=null,this.length=0}append(...e){if(this.insertBefore(e[0],null),e.length>1){const t=e.slice(1);this.append(...t)}}at(e){const t=this.iterator();let n=t();for(;n&&e>0;)e-=1,n=t();return n}contains(e){const t=this.iterator();let n=t();for(;n;){if(n===e)return!0;n=t()}return!1}indexOf(e){const t=this.iterator();let n=t(),i=0;for(;n;){if(n===e)return i;i+=1,n=t()}return-1}insertBefore(e,t){e!=null&&(this.remove(e),e.next=t,t!=null?(e.prev=t.prev,t.prev!=null&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):this.tail!=null?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)}offset(e){let t=0,n=this.head;for(;n!=null;){if(n===e)return t;t+=n.length(),n=n.next}return-1}remove(e){this.contains(e)&&(e.prev!=null&&(e.prev.next=e.next),e.next!=null&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)}iterator(e=this.head){return()=>{const t=e;return e!=null&&(e=e.next),t}}find(e,t=!1){const n=this.iterator();let i=n();for(;i;){const l=i.length();if(e<l||t&&e===l&&(i.next==null||i.next.length()!==0))return[i,e];e-=l,i=n()}return[null,0]}forEach(e){const t=this.iterator();let n=t();for(;n;)e(n),n=t()}forEachAt(e,t,n){if(t<=0)return;const[i,l]=this.find(e);let u=e-l;const h=this.iterator(i);let g=h();for(;g&&u<e+t;){const m=g.length();e>u?n(g,e-u,Math.min(t,u+m-e)):n(g,0,Math.min(m,e+t-u)),u+=m,g=h()}}map(e){return this.reduce((t,n)=>(t.push(e(n)),t),[])}reduce(e,t){const n=this.iterator();let i=n();for(;i;)t=e(t,i),i=n();return t}}function A0(r,e){const t=e.find(r);if(t)return t;try{return e.create(r)}catch{const n=e.create(Vt.INLINE);return Array.from(r.childNodes).forEach(i=>{n.domNode.appendChild(i)}),r.parentNode&&r.parentNode.replaceChild(n.domNode,r),n.attach(),n}}const _x=class Vl extends yx{constructor(e,t){super(e,t),this.uiNode=null,this.build()}appendChild(e){this.insertBefore(e)}attach(){super.attach(),this.children.forEach(e=>{e.attach()})}attachUI(e){this.uiNode!=null&&this.uiNode.remove(),this.uiNode=e,Vl.uiClass&&this.uiNode.classList.add(Vl.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new TL,Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode).reverse().forEach(e=>{try{const t=A0(e,this.scroll);this.insertBefore(t,this.children.head||void 0)}catch(t){if(t instanceof Hu)return;throw t}})}deleteAt(e,t){if(e===0&&t===this.length())return this.remove();this.children.forEachAt(e,t,(n,i,l)=>{n.deleteAt(i,l)})}descendant(e,t=0){const[n,i]=this.children.find(t);return e.blotName==null&&e(n)||e.blotName!=null&&n instanceof e?[n,i]:n instanceof Vl?n.descendant(e,i):[null,-1]}descendants(e,t=0,n=Number.MAX_VALUE){let i=[],l=n;return this.children.forEachAt(t,n,(u,h,g)=>{(e.blotName==null&&e(u)||e.blotName!=null&&u instanceof e)&&i.push(u),u instanceof Vl&&(i=i.concat(u.descendants(e,h,l))),l-=g}),i}detach(){this.children.forEach(e=>{e.detach()}),super.detach()}enforceAllowedChildren(){let e=!1;this.children.forEach(t=>{e||this.statics.allowedChildren.some(n=>t instanceof n)||(t.statics.scope===Vt.BLOCK_BLOT?(t.next!=null&&this.splitAfter(t),t.prev!=null&&this.splitAfter(t.prev),t.parent.unwrap(),e=!0):t instanceof Vl?t.unwrap():t.remove())})}formatAt(e,t,n,i){this.children.forEachAt(e,t,(l,u,h)=>{l.formatAt(u,h,n,i)})}insertAt(e,t,n){const[i,l]=this.children.find(e);if(i)i.insertAt(l,t,n);else{const u=n==null?this.scroll.create("text",t):this.scroll.create(t,n);this.appendChild(u)}}insertBefore(e,t){e.parent!=null&&e.parent.children.remove(e);let n=null;this.children.insertBefore(e,t||null),e.parent=this,t!=null&&(n=t.domNode),(this.domNode.parentNode!==e.domNode||this.domNode.nextSibling!==n)&&this.domNode.insertBefore(e.domNode,n),e.attach()}length(){return this.children.reduce((e,t)=>e+t.length(),0)}moveChildren(e,t){this.children.forEach(n=>{e.insertBefore(n,t)})}optimize(e){if(super.optimize(e),this.enforceAllowedChildren(),this.uiNode!=null&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),this.children.length===0)if(this.statics.defaultChild!=null){const t=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(t)}else this.remove()}path(e,t=!1){const[n,i]=this.children.find(e,t),l=[[this,e]];return n instanceof Vl?l.concat(n.path(i,t)):(n!=null&&l.push([n,i]),l)}removeChild(e){this.children.remove(e)}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return n instanceof Vl&&this.moveChildren(n),super.replaceWith(n)}split(e,t=!1){if(!t){if(e===0)return this;if(e===this.length())return this.next}const n=this.clone();return this.parent&&this.parent.insertBefore(n,this.next||void 0),this.children.forEachAt(e,this.length(),(i,l,u)=>{const h=i.split(l,t);h!=null&&n.appendChild(h)}),n}splitAfter(e){const t=this.clone();for(;e.next!=null;)t.appendChild(e.next);return this.parent&&this.parent.insertBefore(t,this.next||void 0),t}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(e,t){const n=[],i=[];e.forEach(l=>{l.target===this.domNode&&l.type==="childList"&&(n.push(...l.addedNodes),i.push(...l.removedNodes))}),i.forEach(l=>{if(l.parentNode!=null&&l.tagName!=="IFRAME"&&document.body.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const u=this.scroll.find(l);u!=null&&(u.domNode.parentNode==null||u.domNode.parentNode===this.domNode)&&u.detach()}),n.filter(l=>l.parentNode===this.domNode&&l!==this.uiNode).sort((l,u)=>l===u?0:l.compareDocumentPosition(u)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(l=>{let u=null;l.nextSibling!=null&&(u=this.scroll.find(l.nextSibling));const h=A0(l,this.scroll);(h.next!==u||h.next==null)&&(h.parent!=null&&h.parent.removeChild(this),this.insertBefore(h,u||void 0))}),this.enforceAllowedChildren()}};_x.uiClass="";let EL=_x;const Bs=EL;function kL(r,e){if(Object.keys(r).length!==Object.keys(e).length)return!1;for(const t in r)if(r[t]!==e[t])return!1;return!0}const Lu=class Mu extends Bs{static create(e){return super.create(e)}static formats(e,t){const n=t.query(Mu.blotName);if(!(n!=null&&e.tagName===n.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new lh(this.domNode)}format(e,t){if(e===this.statics.blotName&&!t)this.children.forEach(n=>{n instanceof Mu||(n=n.wrap(Mu.blotName,!0)),this.attributes.copy(n)}),this.unwrap();else{const n=this.scroll.query(e,Vt.INLINE);if(n==null)return;n instanceof _a?this.attributes.attribute(n,t):t&&(e!==this.statics.blotName||this.formats()[e]!==t)&&this.replaceWith(e,t)}}formats(){const e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return t!=null&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,i){this.formats()[n]!=null||this.scroll.query(n,Vt.ATTRIBUTE)?this.isolate(e,t).format(n,i):super.formatAt(e,t,n,i)}optimize(e){super.optimize(e);const t=this.formats();if(Object.keys(t).length===0)return this.unwrap();const n=this.next;n instanceof Mu&&n.prev===this&&kL(t,n.formats())&&(n.moveChildren(this),n.remove())}replaceWith(e,t){const n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(n=>n.target===this.domNode&&n.type==="attributes")&&this.attributes.build()}wrap(e,t){const n=super.wrap(e,t);return n instanceof Mu&&this.attributes.move(n),n}};Lu.allowedChildren=[Lu,Fi],Lu.blotName="inline",Lu.scope=Vt.INLINE_BLOT,Lu.tagName="SPAN";let RL=Lu;const wm=RL,Du=class $1 extends Bs{static create(e){return super.create(e)}static formats(e,t){const n=t.query($1.blotName);if(!(n!=null&&e.tagName===n.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new lh(this.domNode)}format(e,t){const n=this.scroll.query(e,Vt.BLOCK);n!=null&&(n instanceof _a?this.attributes.attribute(n,t):e===this.statics.blotName&&!t?this.replaceWith($1.blotName):t&&(e!==this.statics.blotName||this.formats()[e]!==t)&&this.replaceWith(e,t))}formats(){const e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return t!=null&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,i){this.scroll.query(n,Vt.BLOCK)!=null?this.format(n,i):super.formatAt(e,t,n,i)}insertAt(e,t,n){if(n==null||this.scroll.query(t,Vt.INLINE)!=null)super.insertAt(e,t,n);else{const i=this.split(e);if(i!=null){const l=this.scroll.create(t,n);i.parent.insertBefore(l,i)}else throw new Error("Attempt to insertAt after block boundaries")}}replaceWith(e,t){const n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(n=>n.target===this.domNode&&n.type==="attributes")&&this.attributes.build()}};Du.blotName="block",Du.scope=Vt.BLOCK_BLOT,Du.tagName="P",Du.allowedChildren=[wm,Du,Fi];let IL=Du;const Yf=IL,U1=class extends Bs{checkMerge(){return this.next!==null&&this.next.statics.blotName===this.statics.blotName}deleteAt(e,t){super.deleteAt(e,t),this.enforceAllowedChildren()}formatAt(e,t,n,i){super.formatAt(e,t,n,i),this.enforceAllowedChildren()}insertAt(e,t,n){super.insertAt(e,t,n),this.enforceAllowedChildren()}optimize(e){super.optimize(e),this.children.length>0&&this.next!=null&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};U1.blotName="container",U1.scope=Vt.BLOCK_BLOT;let LL=U1;const ch=LL;class ML extends Fi{static formats(e,t){}format(e,t){super.formatAt(0,this.length(),e,t)}formatAt(e,t,n,i){e===0&&t===this.length()?this.format(n,i):super.formatAt(e,t,n,i)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const Ho=ML,DL={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},OL=100,Ou=class extends Bs{constructor(e,t){super(null,t),this.registry=e,this.scroll=this,this.build(),this.observer=new MutationObserver(n=>{this.update(n)}),this.observer.observe(this.domNode,DL),this.attach()}create(e,t){return this.registry.create(this,e,t)}find(e,t=!1){const n=this.registry.find(e,t);return n?n.scroll===this?n:t?this.find(n.scroll.domNode.parentNode,!0):null:null}query(e,t=Vt.ANY){return this.registry.query(e,t)}register(...e){return this.registry.register(...e)}build(){this.scroll!=null&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(e,t){this.update(),e===0&&t===this.length()?this.children.forEach(n=>{n.remove()}):super.deleteAt(e,t)}formatAt(e,t,n,i){this.update(),super.formatAt(e,t,n,i)}insertAt(e,t,n){this.update(),super.insertAt(e,t,n)}optimize(e=[],t={}){super.optimize(t);const n=t.mutationsMap||new WeakMap;let i=Array.from(this.observer.takeRecords());for(;i.length>0;)e.push(i.pop());const l=(g,m=!0)=>{g==null||g===this||g.domNode.parentNode!=null&&(n.has(g.domNode)||n.set(g.domNode,[]),m&&l(g.parent))},u=g=>{n.has(g.domNode)&&(g instanceof Bs&&g.children.forEach(u),n.delete(g.domNode),g.optimize(t))};let h=e;for(let g=0;h.length>0;g+=1){if(g>=OL)throw new Error("[Parchment] Maximum optimize iterations reached");for(h.forEach(m=>{const M=this.find(m.target,!0);M!=null&&(M.domNode===m.target&&(m.type==="childList"?(l(this.find(m.previousSibling,!1)),Array.from(m.addedNodes).forEach(T=>{const C=this.find(T,!1);l(C,!1),C instanceof Bs&&C.children.forEach(_=>{l(_,!1)})})):m.type==="attributes"&&l(M.prev)),l(M))}),this.children.forEach(u),h=Array.from(this.observer.takeRecords()),i=h.slice();i.length>0;)e.push(i.pop())}}update(e,t={}){e=e||this.observer.takeRecords();const n=new WeakMap;e.map(i=>{const l=this.find(i.target,!0);return l==null?null:n.has(l.domNode)?(n.get(l.domNode).push(i),null):(n.set(l.domNode,[i]),l)}).forEach(i=>{i!=null&&i!==this&&n.has(i.domNode)&&i.update(n.get(i.domNode)||[],t)}),t.mutationsMap=n,n.has(this.domNode)&&super.update(n.get(this.domNode),t),this.optimize(e,t)}};Ou.blotName="scroll",Ou.defaultChild=Yf,Ou.allowedChildren=[Yf,ch],Ou.scope=Vt.BLOCK_BLOT,Ou.tagName="DIV";let PL=Ou;const Am=PL,W1=class xx extends Fi{static create(e){return document.createTextNode(e)}static value(e){return e.data}constructor(e,t){super(e,t),this.text=this.statics.value(this.domNode)}deleteAt(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)}index(e,t){return this.domNode===e?t:-1}insertAt(e,t,n){n==null?(this.text=this.text.slice(0,e)+t+this.text.slice(e),this.domNode.data=this.text):super.insertAt(e,t,n)}length(){return this.text.length}optimize(e){super.optimize(e),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof xx&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(e,t=!1){return[this.domNode,e]}split(e,t=!1){if(!t){if(e===0)return this;if(e===this.length())return this.next}const n=this.scroll.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next||void 0),this.text=this.statics.value(this.domNode),n}update(e,t){e.some(n=>n.type==="characterData"&&n.target===this.domNode)&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};W1.blotName="text",W1.scope=Vt.INLINE_BLOT;let NL=W1;const Qd=NL,jL=Object.freeze(Object.defineProperty({__proto__:null,Attributor:_a,AttributorStore:lh,BlockBlot:Yf,ClassAttributor:zs,ContainerBlot:ch,EmbedBlot:Ho,InlineBlot:wm,LeafBlot:Fi,ParentBlot:Bs,Registry:Vu,Scope:Vt,ScrollBlot:Am,StyleAttributor:tc,TextBlot:Qd},Symbol.toStringTag,{value:"Module"}));var kd={exports:{}},Qh,T0;function FL(){if(T0)return Qh;T0=1;var r=-1,e=1,t=0;function n(N,re,K,ne,ie){if(N===re)return N?[[t,N]]:[];if(K!=null){var ce=ee(N,re,K);if(ce)return ce}var me=h(N,re),le=N.substring(0,me);N=N.substring(me),re=re.substring(me),me=m(N,re);var be=N.substring(N.length-me);N=N.substring(0,N.length-me),re=re.substring(0,re.length-me);var ge=i(N,re);return le&&ge.unshift([t,le]),be&&ge.push([t,be]),k(ge,ie),ne&&T(ge),ge}function i(N,re){var K;if(!N)return[[e,re]];if(!re)return[[r,N]];var ne=N.length>re.length?N:re,ie=N.length>re.length?re:N,ce=ne.indexOf(ie);if(ce!==-1)return K=[[e,ne.substring(0,ce)],[t,ie],[e,ne.substring(ce+ie.length)]],N.length>re.length&&(K[0][0]=K[2][0]=r),K;if(ie.length===1)return[[r,N],[e,re]];var me=M(N,re);if(me){var le=me[0],be=me[1],ge=me[2],xe=me[3],Ie=me[4],Pe=n(le,ge),Ve=n(be,xe);return Pe.concat([[t,Ie]],Ve)}return l(N,re)}function l(N,re){for(var K=N.length,ne=re.length,ie=Math.ceil((K+ne)/2),ce=ie,me=2*ie,le=new Array(me),be=new Array(me),ge=0;ge<me;ge++)le[ge]=-1,be[ge]=-1;le[ce+1]=0,be[ce+1]=0;for(var xe=K-ne,Ie=xe%2!==0,Pe=0,Ve=0,Ee=0,ot=0,ht=0;ht<ie;ht++){for(var Ke=-ht+Pe;Ke<=ht-Ve;Ke+=2){var Ye=ce+Ke,Oe;Ke===-ht||Ke!==ht&&le[Ye-1]<le[Ye+1]?Oe=le[Ye+1]:Oe=le[Ye-1]+1;for(var Ne=Oe-Ke;Oe<K&&Ne<ne&&N.charAt(Oe)===re.charAt(Ne);)Oe++,Ne++;if(le[Ye]=Oe,Oe>K)Ve+=2;else if(Ne>ne)Pe+=2;else if(Ie){var Ae=ce+xe-Ke;if(Ae>=0&&Ae<me&&be[Ae]!==-1){var Le=K-be[Ae];if(Oe>=Le)return u(N,re,Oe,Ne)}}}for(var ke=-ht+Ee;ke<=ht-ot;ke+=2){var Ae=ce+ke,Le;ke===-ht||ke!==ht&&be[Ae-1]<be[Ae+1]?Le=be[Ae+1]:Le=be[Ae-1]+1;for(var Je=Le-ke;Le<K&&Je<ne&&N.charAt(K-Le-1)===re.charAt(ne-Je-1);)Le++,Je++;if(be[Ae]=Le,Le>K)ot+=2;else if(Je>ne)Ee+=2;else if(!Ie){var Ye=ce+xe-ke;if(Ye>=0&&Ye<me&&le[Ye]!==-1){var Oe=le[Ye],Ne=ce+Oe-Ye;if(Le=K-Le,Oe>=Le)return u(N,re,Oe,Ne)}}}}return[[r,N],[e,re]]}function u(N,re,K,ne){var ie=N.substring(0,K),ce=re.substring(0,ne),me=N.substring(K),le=re.substring(ne),be=n(ie,ce),ge=n(me,le);return be.concat(ge)}function h(N,re){if(!N||!re||N.charAt(0)!==re.charAt(0))return 0;for(var K=0,ne=Math.min(N.length,re.length),ie=ne,ce=0;K<ie;)N.substring(ce,ie)==re.substring(ce,ie)?(K=ie,ce=K):ne=ie,ie=Math.floor((ne-K)/2+K);return O(N.charCodeAt(ie-1))&&ie--,ie}function g(N,re){var K=N.length,ne=re.length;if(K==0||ne==0)return 0;K>ne?N=N.substring(K-ne):K<ne&&(re=re.substring(0,K));var ie=Math.min(K,ne);if(N==re)return ie;for(var ce=0,me=1;;){var le=N.substring(ie-me),be=re.indexOf(le);if(be==-1)return ce;me+=be,(be==0||N.substring(ie-me)==re.substring(0,me))&&(ce=me,me++)}}function m(N,re){if(!N||!re||N.slice(-1)!==re.slice(-1))return 0;for(var K=0,ne=Math.min(N.length,re.length),ie=ne,ce=0;K<ie;)N.substring(N.length-ie,N.length-ce)==re.substring(re.length-ie,re.length-ce)?(K=ie,ce=K):ne=ie,ie=Math.floor((ne-K)/2+K);return H(N.charCodeAt(N.length-ie))&&ie--,ie}function M(N,re){var K=N.length>re.length?N:re,ne=N.length>re.length?re:N;if(K.length<4||ne.length*2<K.length)return null;function ie(Ve,Ee,ot){for(var ht=Ve.substring(ot,ot+Math.floor(Ve.length/4)),Ke=-1,Ye="",Oe,Ne,Ae,Le;(Ke=Ee.indexOf(ht,Ke+1))!==-1;){var ke=h(Ve.substring(ot),Ee.substring(Ke)),Je=m(Ve.substring(0,ot),Ee.substring(0,Ke));Ye.length<Je+ke&&(Ye=Ee.substring(Ke-Je,Ke)+Ee.substring(Ke,Ke+ke),Oe=Ve.substring(0,ot-Je),Ne=Ve.substring(ot+ke),Ae=Ee.substring(0,Ke-Je),Le=Ee.substring(Ke+ke))}return Ye.length*2>=Ve.length?[Oe,Ne,Ae,Le,Ye]:null}var ce=ie(K,ne,Math.ceil(K.length/4)),me=ie(K,ne,Math.ceil(K.length/2)),le;if(!ce&&!me)return null;me?ce?le=ce[4].length>me[4].length?ce:me:le=me:le=ce;var be,ge,xe,Ie;N.length>re.length?(be=le[0],ge=le[1],xe=le[2],Ie=le[3]):(xe=le[0],Ie=le[1],be=le[2],ge=le[3]);var Pe=le[4];return[be,ge,xe,Ie,Pe]}function T(N){for(var re=!1,K=[],ne=0,ie=null,ce=0,me=0,le=0,be=0,ge=0;ce<N.length;)N[ce][0]==t?(K[ne++]=ce,me=be,le=ge,be=0,ge=0,ie=N[ce][1]):(N[ce][0]==e?be+=N[ce][1].length:ge+=N[ce][1].length,ie&&ie.length<=Math.max(me,le)&&ie.length<=Math.max(be,ge)&&(N.splice(K[ne-1],0,[r,ie]),N[K[ne-1]+1][0]=e,ne--,ne--,ce=ne>0?K[ne-1]:-1,me=0,le=0,be=0,ge=0,ie=null,re=!0)),ce++;for(re&&k(N),b(N),ce=1;ce<N.length;){if(N[ce-1][0]==r&&N[ce][0]==e){var xe=N[ce-1][1],Ie=N[ce][1],Pe=g(xe,Ie),Ve=g(Ie,xe);Pe>=Ve?(Pe>=xe.length/2||Pe>=Ie.length/2)&&(N.splice(ce,0,[t,Ie.substring(0,Pe)]),N[ce-1][1]=xe.substring(0,xe.length-Pe),N[ce+1][1]=Ie.substring(Pe),ce++):(Ve>=xe.length/2||Ve>=Ie.length/2)&&(N.splice(ce,0,[t,xe.substring(0,Ve)]),N[ce-1][0]=e,N[ce-1][1]=Ie.substring(0,Ie.length-Ve),N[ce+1][0]=r,N[ce+1][1]=xe.substring(Ve),ce++),ce++}ce++}}var C=/[^a-zA-Z0-9]/,_=/\s/,S=/[\r\n]/,D=/\n\r?\n$/,A=/^\r?\n\r?\n/;function b(N){function re(Ve,Ee){if(!Ve||!Ee)return 6;var ot=Ve.charAt(Ve.length-1),ht=Ee.charAt(0),Ke=ot.match(C),Ye=ht.match(C),Oe=Ke&&ot.match(_),Ne=Ye&&ht.match(_),Ae=Oe&&ot.match(S),Le=Ne&&ht.match(S),ke=Ae&&Ve.match(D),Je=Le&&Ee.match(A);return ke||Je?5:Ae||Le?4:Ke&&!Oe&&Ne?3:Oe||Ne?2:Ke||Ye?1:0}for(var K=1;K<N.length-1;){if(N[K-1][0]==t&&N[K+1][0]==t){var ne=N[K-1][1],ie=N[K][1],ce=N[K+1][1],me=m(ne,ie);if(me){var le=ie.substring(ie.length-me);ne=ne.substring(0,ne.length-me),ie=le+ie.substring(0,ie.length-me),ce=le+ce}for(var be=ne,ge=ie,xe=ce,Ie=re(ne,ie)+re(ie,ce);ie.charAt(0)===ce.charAt(0);){ne+=ie.charAt(0),ie=ie.substring(1)+ce.charAt(0),ce=ce.substring(1);var Pe=re(ne,ie)+re(ie,ce);Pe>=Ie&&(Ie=Pe,be=ne,ge=ie,xe=ce)}N[K-1][1]!=be&&(be?N[K-1][1]=be:(N.splice(K-1,1),K--),N[K][1]=ge,xe?N[K+1][1]=xe:(N.splice(K+1,1),K--))}K++}}function k(N,re){N.push([t,""]);for(var K=0,ne=0,ie=0,ce="",me="",le;K<N.length;){if(K<N.length-1&&!N[K][1]){N.splice(K,1);continue}switch(N[K][0]){case e:ie++,me+=N[K][1],K++;break;case r:ne++,ce+=N[K][1],K++;break;case t:var be=K-ie-ne-1;if(re){if(be>=0&&G(N[be][1])){var ge=N[be][1].slice(-1);if(N[be][1]=N[be][1].slice(0,-1),ce=ge+ce,me=ge+me,!N[be][1]){N.splice(be,1),K--;var xe=be-1;N[xe]&&N[xe][0]===e&&(ie++,me=N[xe][1]+me,xe--),N[xe]&&N[xe][0]===r&&(ne++,ce=N[xe][1]+ce,xe--),be=xe}}if(q(N[K][1])){var ge=N[K][1].charAt(0);N[K][1]=N[K][1].slice(1),ce+=ge,me+=ge}}if(K<N.length-1&&!N[K][1]){N.splice(K,1);break}if(ce.length>0||me.length>0){ce.length>0&&me.length>0&&(le=h(me,ce),le!==0&&(be>=0?N[be][1]+=me.substring(0,le):(N.splice(0,0,[t,me.substring(0,le)]),K++),me=me.substring(le),ce=ce.substring(le)),le=m(me,ce),le!==0&&(N[K][1]=me.substring(me.length-le)+N[K][1],me=me.substring(0,me.length-le),ce=ce.substring(0,ce.length-le)));var Ie=ie+ne;ce.length===0&&me.length===0?(N.splice(K-Ie,Ie),K=K-Ie):ce.length===0?(N.splice(K-Ie,Ie,[e,me]),K=K-Ie+1):me.length===0?(N.splice(K-Ie,Ie,[r,ce]),K=K-Ie+1):(N.splice(K-Ie,Ie,[r,ce],[e,me]),K=K-Ie+2)}K!==0&&N[K-1][0]===t?(N[K-1][1]+=N[K][1],N.splice(K,1)):K++,ie=0,ne=0,ce="",me="";break}}N[N.length-1][1]===""&&N.pop();var Pe=!1;for(K=1;K<N.length-1;)N[K-1][0]===t&&N[K+1][0]===t&&(N[K][1].substring(N[K][1].length-N[K-1][1].length)===N[K-1][1]?(N[K][1]=N[K-1][1]+N[K][1].substring(0,N[K][1].length-N[K-1][1].length),N[K+1][1]=N[K-1][1]+N[K+1][1],N.splice(K-1,1),Pe=!0):N[K][1].substring(0,N[K+1][1].length)==N[K+1][1]&&(N[K-1][1]+=N[K+1][1],N[K][1]=N[K][1].substring(N[K+1][1].length)+N[K+1][1],N.splice(K+1,1),Pe=!0)),K++;Pe&&k(N,re)}function O(N){return N>=55296&&N<=56319}function H(N){return N>=56320&&N<=57343}function q(N){return H(N.charCodeAt(0))}function G(N){return O(N.charCodeAt(N.length-1))}function Y(N){for(var re=[],K=0;K<N.length;K++)N[K][1].length>0&&re.push(N[K]);return re}function ue(N,re,K,ne){return G(N)||q(ne)?null:Y([[t,N],[r,re],[e,K],[t,ne]])}function ee(N,re,K){var ne=typeof K=="number"?{index:K,length:0}:K.oldRange,ie=typeof K=="number"?null:K.newRange,ce=N.length,me=re.length;if(ne.length===0&&(ie===null||ie.length===0)){var le=ne.index,be=N.slice(0,le),ge=N.slice(le),xe=ie?ie.index:null;e:{var Ie=le+me-ce;if(xe!==null&&xe!==Ie||Ie<0||Ie>me)break e;var Pe=re.slice(0,Ie),Ve=re.slice(Ie);if(Ve!==ge)break e;var Ee=Math.min(le,Ie),ot=be.slice(0,Ee),ht=Pe.slice(0,Ee);if(ot!==ht)break e;var Ke=be.slice(Ee),Ye=Pe.slice(Ee);return ue(ot,Ke,Ye,ge)}e:{if(xe!==null&&xe!==le)break e;var Oe=le,Pe=re.slice(0,Oe),Ve=re.slice(Oe);if(Pe!==be)break e;var Ne=Math.min(ce-Oe,me-Oe),Ae=ge.slice(ge.length-Ne),Le=Ve.slice(Ve.length-Ne);if(Ae!==Le)break e;var Ke=ge.slice(0,ge.length-Ne),Ye=Ve.slice(0,Ve.length-Ne);return ue(be,Ke,Ye,Ae)}}if(ne.length>0&&ie&&ie.length===0)e:{var ot=N.slice(0,ne.index),Ae=N.slice(ne.index+ne.length),Ee=ot.length,Ne=Ae.length;if(me<Ee+Ne)break e;var ht=re.slice(0,Ee),Le=re.slice(me-Ne);if(ot!==ht||Ae!==Le)break e;var Ke=N.slice(Ee,ce-Ne),Ye=re.slice(Ee,me-Ne);return ue(ot,Ke,Ye,Ae)}return null}function fe(N,re,K,ne){return n(N,re,K,ne,!0)}return fe.INSERT=e,fe.DELETE=r,fe.EQUAL=t,Qh=fe,Qh}var Of={exports:{}};Of.exports;var E0;function Sx(){return E0||(E0=1,function(r,e){var t=200,n="__lodash_hash_undefined__",i=9007199254740991,l="[object Arguments]",u="[object Array]",h="[object Boolean]",g="[object Date]",m="[object Error]",M="[object Function]",T="[object GeneratorFunction]",C="[object Map]",_="[object Number]",S="[object Object]",D="[object Promise]",A="[object RegExp]",b="[object Set]",k="[object String]",O="[object Symbol]",H="[object WeakMap]",q="[object ArrayBuffer]",G="[object DataView]",Y="[object Float32Array]",ue="[object Float64Array]",ee="[object Int8Array]",fe="[object Int16Array]",N="[object Int32Array]",re="[object Uint8Array]",K="[object Uint8ClampedArray]",ne="[object Uint16Array]",ie="[object Uint32Array]",ce=/[\\^$.*+?()[\]{}|]/g,me=/\w*$/,le=/^\[object .+?Constructor\]$/,be=/^(?:0|[1-9]\d*)$/,ge={};ge[l]=ge[u]=ge[q]=ge[G]=ge[h]=ge[g]=ge[Y]=ge[ue]=ge[ee]=ge[fe]=ge[N]=ge[C]=ge[_]=ge[S]=ge[A]=ge[b]=ge[k]=ge[O]=ge[re]=ge[K]=ge[ne]=ge[ie]=!0,ge[m]=ge[M]=ge[H]=!1;var xe=typeof yi=="object"&&yi&&yi.Object===Object&&yi,Ie=typeof self=="object"&&self&&self.Object===Object&&self,Pe=xe||Ie||Function("return this")(),Ve=e&&!e.nodeType&&e,Ee=Ve&&!0&&r&&!r.nodeType&&r,ot=Ee&&Ee.exports===Ve;function ht(R,V){return R.set(V[0],V[1]),R}function Ke(R,V){return R.add(V),R}function Ye(R,V){for(var ae=-1,De=R?R.length:0;++ae<De&&V(R[ae],ae,R)!==!1;);return R}function Oe(R,V){for(var ae=-1,De=V.length,Ut=R.length;++ae<De;)R[Ut+ae]=V[ae];return R}function Ne(R,V,ae,De){for(var Ut=-1,qt=R?R.length:0;++Ut<qt;)ae=V(ae,R[Ut],Ut,R);return ae}function Ae(R,V){for(var ae=-1,De=Array(R);++ae<R;)De[ae]=V(ae);return De}function Le(R,V){return R==null?void 0:R[V]}function ke(R){var V=!1;if(R!=null&&typeof R.toString!="function")try{V=!!(R+"")}catch{}return V}function Je(R){var V=-1,ae=Array(R.size);return R.forEach(function(De,Ut){ae[++V]=[Ut,De]}),ae}function ft(R,V){return function(ae){return R(V(ae))}}function xt(R){var V=-1,ae=Array(R.size);return R.forEach(function(De){ae[++V]=De}),ae}var St=Array.prototype,mt=Function.prototype,It=Object.prototype,Ct=Pe["__core-js_shared__"],ct=function(){var R=/[^.]+$/.exec(Ct&&Ct.keys&&Ct.keys.IE_PROTO||"");return R?"Symbol(src)_1."+R:""}(),ut=mt.toString,et=It.hasOwnProperty,Se=It.toString,Ze=RegExp("^"+ut.call(et).replace(ce,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),at=ot?Pe.Buffer:void 0,gt=Pe.Symbol,Tt=Pe.Uint8Array,je=ft(Object.getPrototypeOf,Object),_t=Object.create,Mt=It.propertyIsEnumerable,vr=St.splice,nr=Object.getOwnPropertySymbols,Zt=at?at.isBuffer:void 0,he=ft(Object.keys,Object),te=At(Pe,"DataView"),Fe=At(Pe,"Map"),Xe=At(Pe,"Promise"),Lt=At(Pe,"Set"),vt=At(Pe,"WeakMap"),wt=At(Object,"create"),Gt=Xr(te),Ft=Xr(Fe),sr=Xr(Xe),dr=Xr(Lt),Rr=Xr(vt),ur=gt?gt.prototype:void 0,xr=ur?ur.valueOf:void 0;function Wr(R){var V=-1,ae=R?R.length:0;for(this.clear();++V<ae;){var De=R[V];this.set(De[0],De[1])}}function st(){this.__data__=wt?wt(null):{}}function Rt(R){return this.has(R)&&delete this.__data__[R]}function bt(R){var V=this.__data__;if(wt){var ae=V[R];return ae===n?void 0:ae}return et.call(V,R)?V[R]:void 0}function Qe(R){var V=this.__data__;return wt?V[R]!==void 0:et.call(V,R)}function Nt(R,V){var ae=this.__data__;return ae[R]=wt&&V===void 0?n:V,this}Wr.prototype.clear=st,Wr.prototype.delete=Rt,Wr.prototype.get=bt,Wr.prototype.has=Qe,Wr.prototype.set=Nt;function Q(R){var V=-1,ae=R?R.length:0;for(this.clear();++V<ae;){var De=R[V];this.set(De[0],De[1])}}function He(){this.__data__=[]}function pt(R){var V=this.__data__,ae=Yn(V,R);if(ae<0)return!1;var De=V.length-1;return ae==De?V.pop():vr.call(V,ae,1),!0}function Ot(R){var V=this.__data__,ae=Yn(V,R);return ae<0?void 0:V[ae][1]}function er(R){return Yn(this.__data__,R)>-1}function Yt(R,V){var ae=this.__data__,De=Yn(ae,R);return De<0?ae.push([R,V]):ae[De][1]=V,this}Q.prototype.clear=He,Q.prototype.delete=pt,Q.prototype.get=Ot,Q.prototype.has=er,Q.prototype.set=Yt;function Dt(R){var V=-1,ae=R?R.length:0;for(this.clear();++V<ae;){var De=R[V];this.set(De[0],De[1])}}function Kt(){this.__data__={hash:new Wr,map:new(Fe||Q),string:new Wr}}function Mr(R){return tt(this,R).delete(R)}function ar(R){return tt(this,R).get(R)}function fr(R){return tt(this,R).has(R)}function zr(R,V){return tt(this,R).set(R,V),this}Dt.prototype.clear=Kt,Dt.prototype.delete=Mr,Dt.prototype.get=ar,Dt.prototype.has=fr,Dt.prototype.set=zr;function gr(R){this.__data__=new Q(R)}function Vn(){this.__data__=new Q}function Sn(R){return this.__data__.delete(R)}function Mn(R){return this.__data__.get(R)}function Kr(R){return this.__data__.has(R)}function Gn(R,V){var ae=this.__data__;if(ae instanceof Q){var De=ae.__data__;if(!Fe||De.length<t-1)return De.push([R,V]),this;ae=this.__data__=new Dt(De)}return ae.set(R,V),this}gr.prototype.clear=Vn,gr.prototype.delete=Sn,gr.prototype.get=Mn,gr.prototype.has=Kr,gr.prototype.set=Gn;function Tn(R,V){var ae=yo(R)||Xn(R)?Ae(R.length,String):[],De=ae.length,Ut=!!De;for(var qt in R)et.call(R,qt)&&!(Ut&&(qt=="length"||yn(qt,De)))&&ae.push(qt);return ae}function Zn(R,V,ae){var De=R[V];(!(et.call(R,V)&&jn(De,ae))||ae===void 0&&!(V in R))&&(R[V]=ae)}function Yn(R,V){for(var ae=R.length;ae--;)if(jn(R[ae][0],V))return ae;return-1}function nn(R,V){return R&&we(V,Dr(V),R)}function Dn(R,V,ae,De,Ut,qt,hr){var _r;if(De&&(_r=qt?De(R,Ut,qt,hr):De(R)),_r!==void 0)return _r;if(!Qn(R))return R;var lr=yo(R);if(lr){if(_r=br(R),!V)return X(R,_r)}else{var Cr=Pt(R),Jr=Cr==M||Cr==T;if(kn(R))return wn(R,V);if(Cr==S||Cr==l||Jr&&!qt){if(ke(R))return qt?R:{};if(_r=Zr(Jr?{}:R),!V)return ye(R,nn(_r,R))}else{if(!ge[Cr])return qt?R:{};_r=vn(R,Cr,Dn,V)}}hr||(hr=new gr);var Rn=hr.get(R);if(Rn)return Rn;if(hr.set(R,_r),!lr)var Vr=ae?Me(R):Dr(R);return Ye(Vr||R,function(jr,Qr){Vr&&(Qr=jr,jr=R[Qr]),Zn(_r,Qr,Dn(jr,V,ae,De,Qr,R,hr))}),_r}function Cn(R){return Qn(R)?_t(R):{}}function di(R,V,ae){var De=V(R);return yo(R)?De:Oe(De,ae(R))}function _i(R){return Se.call(R)}function xi(R){if(!Qn(R)||Nn(R))return!1;var V=bo(R)||ke(R)?Ze:le;return V.test(Xr(R))}function En(R){if(!Si(R))return he(R);var V=[];for(var ae in Object(R))et.call(R,ae)&&ae!="constructor"&&V.push(ae);return V}function wn(R,V){if(V)return R.slice();var ae=new R.constructor(R.length);return R.copy(ae),ae}function cn(R){var V=new R.constructor(R.byteLength);return new Tt(V).set(new Tt(R)),V}function Kn(R,V){var ae=V?cn(R.buffer):R.buffer;return new R.constructor(ae,R.byteOffset,R.byteLength)}function on(R,V,ae){var De=V?ae(Je(R),!0):Je(R);return Ne(De,ht,new R.constructor)}function dn(R){var V=new R.constructor(R.source,me.exec(R));return V.lastIndex=R.lastIndex,V}function x(R,V,ae){var De=V?ae(xt(R),!0):xt(R);return Ne(De,Ke,new R.constructor)}function j(R){return xr?Object(xr.call(R)):{}}function W(R,V){var ae=V?cn(R.buffer):R.buffer;return new R.constructor(ae,R.byteOffset,R.length)}function X(R,V){var ae=-1,De=R.length;for(V||(V=Array(De));++ae<De;)V[ae]=R[ae];return V}function we(R,V,ae,De){ae||(ae={});for(var Ut=-1,qt=V.length;++Ut<qt;){var hr=V[Ut],_r=void 0;Zn(ae,hr,_r===void 0?R[hr]:_r)}return ae}function ye(R,V){return we(R,jt(R),V)}function Me(R){return di(R,Dr,jt)}function tt(R,V){var ae=R.__data__;return ai(V)?ae[typeof V=="string"?"string":"hash"]:ae.map}function At(R,V){var ae=Le(R,V);return xi(ae)?ae:void 0}var jt=nr?ft(nr,Object):Sr,Pt=_i;(te&&Pt(new te(new ArrayBuffer(1)))!=G||Fe&&Pt(new Fe)!=C||Xe&&Pt(Xe.resolve())!=D||Lt&&Pt(new Lt)!=b||vt&&Pt(new vt)!=H)&&(Pt=function(R){var V=Se.call(R),ae=V==S?R.constructor:void 0,De=ae?Xr(ae):void 0;if(De)switch(De){case Gt:return G;case Ft:return C;case sr:return D;case dr:return b;case Rr:return H}return V});function br(R){var V=R.length,ae=R.constructor(V);return V&&typeof R[0]=="string"&&et.call(R,"index")&&(ae.index=R.index,ae.input=R.input),ae}function Zr(R){return typeof R.constructor=="function"&&!Si(R)?Cn(je(R)):{}}function vn(R,V,ae,De){var Ut=R.constructor;switch(V){case q:return cn(R);case h:case g:return new Ut(+R);case G:return Kn(R,De);case Y:case ue:case ee:case fe:case N:case re:case K:case ne:case ie:return W(R,De);case C:return on(R,De,ae);case _:case k:return new Ut(R);case A:return dn(R);case b:return x(R,De,ae);case O:return j(R)}}function yn(R,V){return V=V??i,!!V&&(typeof R=="number"||be.test(R))&&R>-1&&R%1==0&&R<V}function ai(R){var V=typeof R;return V=="string"||V=="number"||V=="symbol"||V=="boolean"?R!=="__proto__":R===null}function Nn(R){return!!ct&&ct in R}function Si(R){var V=R&&R.constructor,ae=typeof V=="function"&&V.prototype||It;return R===ae}function Xr(R){if(R!=null){try{return ut.call(R)}catch{}try{return R+""}catch{}}return""}function hi(R){return Dn(R,!0,!0)}function jn(R,V){return R===V||R!==R&&V!==V}function Xn(R){return to(R)&&et.call(R,"callee")&&(!Mt.call(R,"callee")||Se.call(R)==l)}var yo=Array.isArray;function eo(R){return R!=null&&Jn(R.length)&&!bo(R)}function to(R){return Hi(R)&&eo(R)}var kn=Zt||Ir;function bo(R){var V=Qn(R)?Se.call(R):"";return V==M||V==T}function Jn(R){return typeof R=="number"&&R>-1&&R%1==0&&R<=i}function Qn(R){var V=typeof R;return!!R&&(V=="object"||V=="function")}function Hi(R){return!!R&&typeof R=="object"}function Dr(R){return eo(R)?Tn(R):En(R)}function Sr(){return[]}function Ir(){return!1}r.exports=hi}(Of,Of.exports)),Of.exports}var Pf={exports:{}};Pf.exports;var k0;function Cx(){return k0||(k0=1,function(r,e){var t=200,n="__lodash_hash_undefined__",i=1,l=2,u=9007199254740991,h="[object Arguments]",g="[object Array]",m="[object AsyncFunction]",M="[object Boolean]",T="[object Date]",C="[object Error]",_="[object Function]",S="[object GeneratorFunction]",D="[object Map]",A="[object Number]",b="[object Null]",k="[object Object]",O="[object Promise]",H="[object Proxy]",q="[object RegExp]",G="[object Set]",Y="[object String]",ue="[object Symbol]",ee="[object Undefined]",fe="[object WeakMap]",N="[object ArrayBuffer]",re="[object DataView]",K="[object Float32Array]",ne="[object Float64Array]",ie="[object Int8Array]",ce="[object Int16Array]",me="[object Int32Array]",le="[object Uint8Array]",be="[object Uint8ClampedArray]",ge="[object Uint16Array]",xe="[object Uint32Array]",Ie=/[\\^$.*+?()[\]{}|]/g,Pe=/^\[object .+?Constructor\]$/,Ve=/^(?:0|[1-9]\d*)$/,Ee={};Ee[K]=Ee[ne]=Ee[ie]=Ee[ce]=Ee[me]=Ee[le]=Ee[be]=Ee[ge]=Ee[xe]=!0,Ee[h]=Ee[g]=Ee[N]=Ee[M]=Ee[re]=Ee[T]=Ee[C]=Ee[_]=Ee[D]=Ee[A]=Ee[k]=Ee[q]=Ee[G]=Ee[Y]=Ee[fe]=!1;var ot=typeof yi=="object"&&yi&&yi.Object===Object&&yi,ht=typeof self=="object"&&self&&self.Object===Object&&self,Ke=ot||ht||Function("return this")(),Ye=e&&!e.nodeType&&e,Oe=Ye&&!0&&r&&!r.nodeType&&r,Ne=Oe&&Oe.exports===Ye,Ae=Ne&&ot.process,Le=function(){try{return Ae&&Ae.binding&&Ae.binding("util")}catch{}}(),ke=Le&&Le.isTypedArray;function Je(R,V){for(var ae=-1,De=R==null?0:R.length,Ut=0,qt=[];++ae<De;){var hr=R[ae];V(hr,ae,R)&&(qt[Ut++]=hr)}return qt}function ft(R,V){for(var ae=-1,De=V.length,Ut=R.length;++ae<De;)R[Ut+ae]=V[ae];return R}function xt(R,V){for(var ae=-1,De=R==null?0:R.length;++ae<De;)if(V(R[ae],ae,R))return!0;return!1}function St(R,V){for(var ae=-1,De=Array(R);++ae<R;)De[ae]=V(ae);return De}function mt(R){return function(V){return R(V)}}function It(R,V){return R.has(V)}function Ct(R,V){return R==null?void 0:R[V]}function ct(R){var V=-1,ae=Array(R.size);return R.forEach(function(De,Ut){ae[++V]=[Ut,De]}),ae}function ut(R,V){return function(ae){return R(V(ae))}}function et(R){var V=-1,ae=Array(R.size);return R.forEach(function(De){ae[++V]=De}),ae}var Se=Array.prototype,Ze=Function.prototype,at=Object.prototype,gt=Ke["__core-js_shared__"],Tt=Ze.toString,je=at.hasOwnProperty,_t=function(){var R=/[^.]+$/.exec(gt&>.keys&>.keys.IE_PROTO||"");return R?"Symbol(src)_1."+R:""}(),Mt=at.toString,vr=RegExp("^"+Tt.call(je).replace(Ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nr=Ne?Ke.Buffer:void 0,Zt=Ke.Symbol,he=Ke.Uint8Array,te=at.propertyIsEnumerable,Fe=Se.splice,Xe=Zt?Zt.toStringTag:void 0,Lt=Object.getOwnPropertySymbols,vt=nr?nr.isBuffer:void 0,wt=ut(Object.keys,Object),Gt=jt(Ke,"DataView"),Ft=jt(Ke,"Map"),sr=jt(Ke,"Promise"),dr=jt(Ke,"Set"),Rr=jt(Ke,"WeakMap"),ur=jt(Object,"create"),xr=Xr(Gt),Wr=Xr(Ft),st=Xr(sr),Rt=Xr(dr),bt=Xr(Rr),Qe=Zt?Zt.prototype:void 0,Nt=Qe?Qe.valueOf:void 0;function Q(R){var V=-1,ae=R==null?0:R.length;for(this.clear();++V<ae;){var De=R[V];this.set(De[0],De[1])}}function He(){this.__data__=ur?ur(null):{},this.size=0}function pt(R){var V=this.has(R)&&delete this.__data__[R];return this.size-=V?1:0,V}function Ot(R){var V=this.__data__;if(ur){var ae=V[R];return ae===n?void 0:ae}return je.call(V,R)?V[R]:void 0}function er(R){var V=this.__data__;return ur?V[R]!==void 0:je.call(V,R)}function Yt(R,V){var ae=this.__data__;return this.size+=this.has(R)?0:1,ae[R]=ur&&V===void 0?n:V,this}Q.prototype.clear=He,Q.prototype.delete=pt,Q.prototype.get=Ot,Q.prototype.has=er,Q.prototype.set=Yt;function Dt(R){var V=-1,ae=R==null?0:R.length;for(this.clear();++V<ae;){var De=R[V];this.set(De[0],De[1])}}function Kt(){this.__data__=[],this.size=0}function Mr(R){var V=this.__data__,ae=wn(V,R);if(ae<0)return!1;var De=V.length-1;return ae==De?V.pop():Fe.call(V,ae,1),--this.size,!0}function ar(R){var V=this.__data__,ae=wn(V,R);return ae<0?void 0:V[ae][1]}function fr(R){return wn(this.__data__,R)>-1}function zr(R,V){var ae=this.__data__,De=wn(ae,R);return De<0?(++this.size,ae.push([R,V])):ae[De][1]=V,this}Dt.prototype.clear=Kt,Dt.prototype.delete=Mr,Dt.prototype.get=ar,Dt.prototype.has=fr,Dt.prototype.set=zr;function gr(R){var V=-1,ae=R==null?0:R.length;for(this.clear();++V<ae;){var De=R[V];this.set(De[0],De[1])}}function Vn(){this.size=0,this.__data__={hash:new Q,map:new(Ft||Dt),string:new Q}}function Sn(R){var V=At(this,R).delete(R);return this.size-=V?1:0,V}function Mn(R){return At(this,R).get(R)}function Kr(R){return At(this,R).has(R)}function Gn(R,V){var ae=At(this,R),De=ae.size;return ae.set(R,V),this.size+=ae.size==De?0:1,this}gr.prototype.clear=Vn,gr.prototype.delete=Sn,gr.prototype.get=Mn,gr.prototype.has=Kr,gr.prototype.set=Gn;function Tn(R){var V=-1,ae=R==null?0:R.length;for(this.__data__=new gr;++V<ae;)this.add(R[V])}function Zn(R){return this.__data__.set(R,n),this}function Yn(R){return this.__data__.has(R)}Tn.prototype.add=Tn.prototype.push=Zn,Tn.prototype.has=Yn;function nn(R){var V=this.__data__=new Dt(R);this.size=V.size}function Dn(){this.__data__=new Dt,this.size=0}function Cn(R){var V=this.__data__,ae=V.delete(R);return this.size=V.size,ae}function di(R){return this.__data__.get(R)}function _i(R){return this.__data__.has(R)}function xi(R,V){var ae=this.__data__;if(ae instanceof Dt){var De=ae.__data__;if(!Ft||De.length<t-1)return De.push([R,V]),this.size=++ae.size,this;ae=this.__data__=new gr(De)}return ae.set(R,V),this.size=ae.size,this}nn.prototype.clear=Dn,nn.prototype.delete=Cn,nn.prototype.get=di,nn.prototype.has=_i,nn.prototype.set=xi;function En(R,V){var ae=Xn(R),De=!ae&&jn(R),Ut=!ae&&!De&&eo(R),qt=!ae&&!De&&!Ut&&Hi(R),hr=ae||De||Ut||qt,_r=hr?St(R.length,String):[],lr=_r.length;for(var Cr in R)je.call(R,Cr)&&!(hr&&(Cr=="length"||Ut&&(Cr=="offset"||Cr=="parent")||qt&&(Cr=="buffer"||Cr=="byteLength"||Cr=="byteOffset")||vn(Cr,lr)))&&_r.push(Cr);return _r}function wn(R,V){for(var ae=R.length;ae--;)if(hi(R[ae][0],V))return ae;return-1}function cn(R,V,ae){var De=V(R);return Xn(R)?De:ft(De,ae(R))}function Kn(R){return R==null?R===void 0?ee:b:Xe&&Xe in Object(R)?Pt(R):Si(R)}function on(R){return Qn(R)&&Kn(R)==h}function dn(R,V,ae,De,Ut){return R===V?!0:R==null||V==null||!Qn(R)&&!Qn(V)?R!==R&&V!==V:x(R,V,ae,De,dn,Ut)}function x(R,V,ae,De,Ut,qt){var hr=Xn(R),_r=Xn(V),lr=hr?g:Zr(R),Cr=_r?g:Zr(V);lr=lr==h?k:lr,Cr=Cr==h?k:Cr;var Jr=lr==k,Rn=Cr==k,Vr=lr==Cr;if(Vr&&eo(R)){if(!eo(V))return!1;hr=!0,Jr=!1}if(Vr&&!Jr)return qt||(qt=new nn),hr||Hi(R)?we(R,V,ae,De,Ut,qt):ye(R,V,lr,ae,De,Ut,qt);if(!(ae&i)){var jr=Jr&&je.call(R,"__wrapped__"),Qr=Rn&&je.call(V,"__wrapped__");if(jr||Qr){var li=jr?R.value():R,pi=Qr?V.value():V;return qt||(qt=new nn),Ut(li,pi,ae,De,qt)}}return Vr?(qt||(qt=new nn),Me(R,V,ae,De,Ut,qt)):!1}function j(R){if(!Jn(R)||ai(R))return!1;var V=kn(R)?vr:Pe;return V.test(Xr(R))}function W(R){return Qn(R)&&bo(R.length)&&!!Ee[Kn(R)]}function X(R){if(!Nn(R))return wt(R);var V=[];for(var ae in Object(R))je.call(R,ae)&&ae!="constructor"&&V.push(ae);return V}function we(R,V,ae,De,Ut,qt){var hr=ae&i,_r=R.length,lr=V.length;if(_r!=lr&&!(hr&&lr>_r))return!1;var Cr=qt.get(R);if(Cr&&qt.get(V))return Cr==V;var Jr=-1,Rn=!0,Vr=ae&l?new Tn:void 0;for(qt.set(R,V),qt.set(V,R);++Jr<_r;){var jr=R[Jr],Qr=V[Jr];if(De)var li=hr?De(Qr,jr,Jr,V,R,qt):De(jr,Qr,Jr,R,V,qt);if(li!==void 0){if(li)continue;Rn=!1;break}if(Vr){if(!xt(V,function(pi,Fn){if(!It(Vr,Fn)&&(jr===pi||Ut(jr,pi,ae,De,qt)))return Vr.push(Fn)})){Rn=!1;break}}else if(!(jr===Qr||Ut(jr,Qr,ae,De,qt))){Rn=!1;break}}return qt.delete(R),qt.delete(V),Rn}function ye(R,V,ae,De,Ut,qt,hr){switch(ae){case re:if(R.byteLength!=V.byteLength||R.byteOffset!=V.byteOffset)return!1;R=R.buffer,V=V.buffer;case N:return!(R.byteLength!=V.byteLength||!qt(new he(R),new he(V)));case M:case T:case A:return hi(+R,+V);case C:return R.name==V.name&&R.message==V.message;case q:case Y:return R==V+"";case D:var _r=ct;case G:var lr=De&i;if(_r||(_r=et),R.size!=V.size&&!lr)return!1;var Cr=hr.get(R);if(Cr)return Cr==V;De|=l,hr.set(R,V);var Jr=we(_r(R),_r(V),De,Ut,qt,hr);return hr.delete(R),Jr;case ue:if(Nt)return Nt.call(R)==Nt.call(V)}return!1}function Me(R,V,ae,De,Ut,qt){var hr=ae&i,_r=tt(R),lr=_r.length,Cr=tt(V),Jr=Cr.length;if(lr!=Jr&&!hr)return!1;for(var Rn=lr;Rn--;){var Vr=_r[Rn];if(!(hr?Vr in V:je.call(V,Vr)))return!1}var jr=qt.get(R);if(jr&&qt.get(V))return jr==V;var Qr=!0;qt.set(R,V),qt.set(V,R);for(var li=hr;++Rn<lr;){Vr=_r[Rn];var pi=R[Vr],Fn=V[Vr];if(De)var _o=hr?De(Fn,pi,Vr,V,R,qt):De(pi,Fn,Vr,R,V,qt);if(!(_o===void 0?pi===Fn||Ut(pi,Fn,ae,De,qt):_o)){Qr=!1;break}li||(li=Vr=="constructor")}if(Qr&&!li){var zi=R.constructor,sn=V.constructor;zi!=sn&&"constructor"in R&&"constructor"in V&&!(typeof zi=="function"&&zi instanceof zi&&typeof sn=="function"&&sn instanceof sn)&&(Qr=!1)}return qt.delete(R),qt.delete(V),Qr}function tt(R){return cn(R,Dr,br)}function At(R,V){var ae=R.__data__;return yn(V)?ae[typeof V=="string"?"string":"hash"]:ae.map}function jt(R,V){var ae=Ct(R,V);return j(ae)?ae:void 0}function Pt(R){var V=je.call(R,Xe),ae=R[Xe];try{R[Xe]=void 0;var De=!0}catch{}var Ut=Mt.call(R);return De&&(V?R[Xe]=ae:delete R[Xe]),Ut}var br=Lt?function(R){return R==null?[]:(R=Object(R),Je(Lt(R),function(V){return te.call(R,V)}))}:Sr,Zr=Kn;(Gt&&Zr(new Gt(new ArrayBuffer(1)))!=re||Ft&&Zr(new Ft)!=D||sr&&Zr(sr.resolve())!=O||dr&&Zr(new dr)!=G||Rr&&Zr(new Rr)!=fe)&&(Zr=function(R){var V=Kn(R),ae=V==k?R.constructor:void 0,De=ae?Xr(ae):"";if(De)switch(De){case xr:return re;case Wr:return D;case st:return O;case Rt:return G;case bt:return fe}return V});function vn(R,V){return V=V??u,!!V&&(typeof R=="number"||Ve.test(R))&&R>-1&&R%1==0&&R<V}function yn(R){var V=typeof R;return V=="string"||V=="number"||V=="symbol"||V=="boolean"?R!=="__proto__":R===null}function ai(R){return!!_t&&_t in R}function Nn(R){var V=R&&R.constructor,ae=typeof V=="function"&&V.prototype||at;return R===ae}function Si(R){return Mt.call(R)}function Xr(R){if(R!=null){try{return Tt.call(R)}catch{}try{return R+""}catch{}}return""}function hi(R,V){return R===V||R!==R&&V!==V}var jn=on(function(){return arguments}())?on:function(R){return Qn(R)&&je.call(R,"callee")&&!te.call(R,"callee")},Xn=Array.isArray;function yo(R){return R!=null&&bo(R.length)&&!kn(R)}var eo=vt||Ir;function to(R,V){return dn(R,V)}function kn(R){if(!Jn(R))return!1;var V=Kn(R);return V==_||V==S||V==m||V==H}function bo(R){return typeof R=="number"&&R>-1&&R%1==0&&R<=u}function Jn(R){var V=typeof R;return R!=null&&(V=="object"||V=="function")}function Qn(R){return R!=null&&typeof R=="object"}var Hi=ke?mt(ke):W;function Dr(R){return yo(R)?En(R):X(R)}function Sr(){return[]}function Ir(){return!1}r.exports=to}(Pf,Pf.exports)),Pf.exports}var Rd={},R0;function BL(){if(R0)return Rd;R0=1,Object.defineProperty(Rd,"__esModule",{value:!0});const r=Sx(),e=Cx();var t;return function(n){function i(g={},m={},M=!1){typeof g!="object"&&(g={}),typeof m!="object"&&(m={});let T=r(m);M||(T=Object.keys(T).reduce((C,_)=>(T[_]!=null&&(C[_]=T[_]),C),{}));for(const C in g)g[C]!==void 0&&m[C]===void 0&&(T[C]=g[C]);return Object.keys(T).length>0?T:void 0}n.compose=i;function l(g={},m={}){typeof g!="object"&&(g={}),typeof m!="object"&&(m={});const M=Object.keys(g).concat(Object.keys(m)).reduce((T,C)=>(e(g[C],m[C])||(T[C]=m[C]===void 0?null:m[C]),T),{});return Object.keys(M).length>0?M:void 0}n.diff=l;function u(g={},m={}){g=g||{};const M=Object.keys(m).reduce((T,C)=>(m[C]!==g[C]&&g[C]!==void 0&&(T[C]=m[C]),T),{});return Object.keys(g).reduce((T,C)=>(g[C]!==m[C]&&m[C]===void 0&&(T[C]=null),T),M)}n.invert=u;function h(g,m,M=!1){if(typeof g!="object")return m;if(typeof m!="object")return;if(!M)return m;const T=Object.keys(m).reduce((C,_)=>(g[_]===void 0&&(C[_]=m[_]),C),{});return Object.keys(T).length>0?T:void 0}n.transform=h}(t||(t={})),Rd.default=t,Rd}var Id={},I0;function wx(){if(I0)return Id;I0=1,Object.defineProperty(Id,"__esModule",{value:!0});var r;return function(e){function t(n){return typeof n.delete=="number"?n.delete:typeof n.retain=="number"?n.retain:typeof n.retain=="object"&&n.retain!==null?1:typeof n.insert=="string"?n.insert.length:1}e.length=t}(r||(r={})),Id.default=r,Id}var Ld={},L0;function qL(){if(L0)return Ld;L0=1,Object.defineProperty(Ld,"__esModule",{value:!0});const r=wx();class e{constructor(n){this.ops=n,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(n){n||(n=1/0);const i=this.ops[this.index];if(i){const l=this.offset,u=r.default.length(i);if(n>=u-l?(n=u-l,this.index+=1,this.offset=0):this.offset+=n,typeof i.delete=="number")return{delete:n};{const h={};return i.attributes&&(h.attributes=i.attributes),typeof i.retain=="number"?h.retain=n:typeof i.retain=="object"&&i.retain!==null?h.retain=i.retain:typeof i.insert=="string"?h.insert=i.insert.substr(l,n):h.insert=i.insert,h}}else return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?r.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const n=this.ops[this.index];return n?typeof n.delete=="number"?"delete":typeof n.retain=="number"||typeof n.retain=="object"&&n.retain!==null?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);{const n=this.offset,i=this.index,l=this.next(),u=this.ops.slice(this.index);return this.offset=n,this.index=i,[l].concat(u)}}else return[]}}return Ld.default=e,Ld}var M0;function HL(){return M0||(M0=1,function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.AttributeMap=e.OpIterator=e.Op=void 0;const t=FL(),n=Sx(),i=Cx(),l=BL();e.AttributeMap=l.default;const u=wx();e.Op=u.default;const h=qL();e.OpIterator=h.default;const g="\0",m=(T,C)=>{if(typeof T!="object"||T===null)throw new Error(`cannot retain a ${typeof T}`);if(typeof C!="object"||C===null)throw new Error(`cannot retain a ${typeof C}`);const _=Object.keys(T)[0];if(!_||_!==Object.keys(C)[0])throw new Error(`embed types not matched: ${_} != ${Object.keys(C)[0]}`);return[_,T[_],C[_]]};class M{constructor(C){Array.isArray(C)?this.ops=C:C!=null&&Array.isArray(C.ops)?this.ops=C.ops:this.ops=[]}static registerEmbed(C,_){this.handlers[C]=_}static unregisterEmbed(C){delete this.handlers[C]}static getHandler(C){const _=this.handlers[C];if(!_)throw new Error(`no handlers for embed type "${C}"`);return _}insert(C,_){const S={};return typeof C=="string"&&C.length===0?this:(S.insert=C,_!=null&&typeof _=="object"&&Object.keys(_).length>0&&(S.attributes=_),this.push(S))}delete(C){return C<=0?this:this.push({delete:C})}retain(C,_){if(typeof C=="number"&&C<=0)return this;const S={retain:C};return _!=null&&typeof _=="object"&&Object.keys(_).length>0&&(S.attributes=_),this.push(S)}push(C){let _=this.ops.length,S=this.ops[_-1];if(C=n(C),typeof S=="object"){if(typeof C.delete=="number"&&typeof S.delete=="number")return this.ops[_-1]={delete:S.delete+C.delete},this;if(typeof S.delete=="number"&&C.insert!=null&&(_-=1,S=this.ops[_-1],typeof S!="object"))return this.ops.unshift(C),this;if(i(C.attributes,S.attributes)){if(typeof C.insert=="string"&&typeof S.insert=="string")return this.ops[_-1]={insert:S.insert+C.insert},typeof C.attributes=="object"&&(this.ops[_-1].attributes=C.attributes),this;if(typeof C.retain=="number"&&typeof S.retain=="number")return this.ops[_-1]={retain:S.retain+C.retain},typeof C.attributes=="object"&&(this.ops[_-1].attributes=C.attributes),this}}return _===this.ops.length?this.ops.push(C):this.ops.splice(_,0,C),this}chop(){const C=this.ops[this.ops.length-1];return C&&typeof C.retain=="number"&&!C.attributes&&this.ops.pop(),this}filter(C){return this.ops.filter(C)}forEach(C){this.ops.forEach(C)}map(C){return this.ops.map(C)}partition(C){const _=[],S=[];return this.forEach(D=>{(C(D)?_:S).push(D)}),[_,S]}reduce(C,_){return this.ops.reduce(C,_)}changeLength(){return this.reduce((C,_)=>_.insert?C+u.default.length(_):_.delete?C-_.delete:C,0)}length(){return this.reduce((C,_)=>C+u.default.length(_),0)}slice(C=0,_=1/0){const S=[],D=new h.default(this.ops);let A=0;for(;A<_&&D.hasNext();){let b;A<C?b=D.next(C-A):(b=D.next(_-A),S.push(b)),A+=u.default.length(b)}return new M(S)}compose(C){const _=new h.default(this.ops),S=new h.default(C.ops),D=[],A=S.peek();if(A!=null&&typeof A.retain=="number"&&A.attributes==null){let k=A.retain;for(;_.peekType()==="insert"&&_.peekLength()<=k;)k-=_.peekLength(),D.push(_.next());A.retain-k>0&&S.next(A.retain-k)}const b=new M(D);for(;_.hasNext()||S.hasNext();)if(S.peekType()==="insert")b.push(S.next());else if(_.peekType()==="delete")b.push(_.next());else{const k=Math.min(_.peekLength(),S.peekLength()),O=_.next(k),H=S.next(k);if(H.retain){const q={};if(typeof O.retain=="number")q.retain=typeof H.retain=="number"?k:H.retain;else if(typeof H.retain=="number")O.retain==null?q.insert=O.insert:q.retain=O.retain;else{const Y=O.retain==null?"insert":"retain",[ue,ee,fe]=m(O[Y],H.retain),N=M.getHandler(ue);q[Y]={[ue]:N.compose(ee,fe,Y==="retain")}}const G=l.default.compose(O.attributes,H.attributes,typeof O.retain=="number");if(G&&(q.attributes=G),b.push(q),!S.hasNext()&&i(b.ops[b.ops.length-1],q)){const Y=new M(_.rest());return b.concat(Y).chop()}}else typeof H.delete=="number"&&(typeof O.retain=="number"||typeof O.retain=="object"&&O.retain!==null)&&b.push(H)}return b.chop()}concat(C){const _=new M(this.ops.slice());return C.ops.length>0&&(_.push(C.ops[0]),_.ops=_.ops.concat(C.ops.slice(1))),_}diff(C,_){if(this.ops===C.ops)return new M;const S=[this,C].map(O=>O.map(H=>{if(H.insert!=null)return typeof H.insert=="string"?H.insert:g;const q=O===C?"on":"with";throw new Error("diff() called "+q+" non-document")}).join("")),D=new M,A=t(S[0],S[1],_,!0),b=new h.default(this.ops),k=new h.default(C.ops);return A.forEach(O=>{let H=O[1].length;for(;H>0;){let q=0;switch(O[0]){case t.INSERT:q=Math.min(k.peekLength(),H),D.push(k.next(q));break;case t.DELETE:q=Math.min(H,b.peekLength()),b.next(q),D.delete(q);break;case t.EQUAL:q=Math.min(b.peekLength(),k.peekLength(),H);const G=b.next(q),Y=k.next(q);i(G.insert,Y.insert)?D.retain(q,l.default.diff(G.attributes,Y.attributes)):D.push(Y).delete(q);break}H-=q}}),D.chop()}eachLine(C,_=`
|
55
55
|
`){const S=new h.default(this.ops);let D=new M,A=0;for(;S.hasNext();){if(S.peekType()!=="insert")return;const b=S.peek(),k=u.default.length(b)-S.peekLength(),O=typeof b.insert=="string"?b.insert.indexOf(_,k)-k:-1;if(O<0)D.push(S.next());else if(O>0)D.push(S.next(O));else{if(C(D,S.next(1).attributes||{},A)===!1)return;A+=1,D=new M}}D.length()>0&&C(D,{},A)}invert(C){const _=new M;return this.reduce((S,D)=>{if(D.insert)_.delete(u.default.length(D));else{if(typeof D.retain=="number"&&D.attributes==null)return _.retain(D.retain),S+D.retain;if(D.delete||typeof D.retain=="number"){const A=D.delete||D.retain;return C.slice(S,S+A).forEach(k=>{D.delete?_.push(k):D.retain&&D.attributes&&_.retain(u.default.length(k),l.default.invert(D.attributes,k.attributes))}),S+A}else if(typeof D.retain=="object"&&D.retain!==null){const A=C.slice(S,S+1),b=new h.default(A.ops).next(),[k,O,H]=m(D.retain,b.insert),q=M.getHandler(k);return _.retain({[k]:q.invert(O,H)},l.default.invert(D.attributes,b.attributes)),S+1}}return S},0),_.chop()}transform(C,_=!1){if(_=!!_,typeof C=="number")return this.transformPosition(C,_);const S=C,D=new h.default(this.ops),A=new h.default(S.ops),b=new M;for(;D.hasNext()||A.hasNext();)if(D.peekType()==="insert"&&(_||A.peekType()!=="insert"))b.retain(u.default.length(D.next()));else if(A.peekType()==="insert")b.push(A.next());else{const k=Math.min(D.peekLength(),A.peekLength()),O=D.next(k),H=A.next(k);if(O.delete)continue;if(H.delete)b.push(H);else{const q=O.retain,G=H.retain;let Y=typeof G=="object"&&G!==null?G:k;if(typeof q=="object"&&q!==null&&typeof G=="object"&&G!==null){const ue=Object.keys(q)[0];if(ue===Object.keys(G)[0]){const ee=M.getHandler(ue);ee&&(Y={[ue]:ee.transform(q[ue],G[ue],_)})}}b.retain(Y,l.default.transform(O.attributes,H.attributes,_))}}return b.chop()}transformPosition(C,_=!1){_=!!_;const S=new h.default(this.ops);let D=0;for(;S.hasNext()&&D<=C;){const A=S.peekLength(),b=S.peekType();if(S.next(),b==="delete"){C-=Math.min(A,C-D);continue}else b==="insert"&&(D<C||!_)&&(C+=A);D+=A}return C}}M.Op=u.default,M.OpIterator=h.default,M.AttributeMap=l.default,M.handlers={},e.default=M,r.exports=M,r.exports.default=M}(kd,kd.exports)),kd.exports}var fs=HL();const $t=il(fs);class $s extends Ho{static value(){}optimize(){(this.prev||this.next)&&this.remove()}length(){return 0}value(){return""}}$s.blotName="break";$s.tagName="BR";let Hs=class extends Qd{};const zL={"&":"&","<":"<",">":">",'"':""","'":"'"};function uh(r){return r.replace(/[&<>"']/g,e=>zL[e])}const ga=class ga extends wm{static compare(e,t){const n=ga.order.indexOf(e),i=ga.order.indexOf(t);return n>=0||i>=0?n-i:e===t?0:e<t?-1:1}formatAt(e,t,n,i){if(ga.compare(this.statics.blotName,n)<0&&this.scroll.query(n,Vt.BLOT)){const l=this.isolate(e,t);i&&l.wrap(n,i)}else super.formatAt(e,t,n,i)}optimize(e){if(super.optimize(e),this.parent instanceof ga&&ga.compare(this.statics.blotName,this.parent.statics.blotName)>0){const t=this.parent.isolate(this.offset(),this.length());this.moveChildren(t),t.wrap(this)}}};it(ga,"allowedChildren",[ga,$s,Ho,Hs]),it(ga,"order",["cursor","inline","link","underline","strike","italic","bold","script","code"]);let xa=ga;const D0=1;class Pi extends Yf{constructor(){super(...arguments);it(this,"cache",{})}delta(){return this.cache.delta==null&&(this.cache.delta=Ax(this)),this.cache.delta}deleteAt(t,n){super.deleteAt(t,n),this.cache={}}formatAt(t,n,i,l){n<=0||(this.scroll.query(i,Vt.BLOCK)?t+n===this.length()&&this.format(i,l):super.formatAt(t,Math.min(n,this.length()-t-1),i,l),this.cache={})}insertAt(t,n,i){if(i!=null){super.insertAt(t,n,i),this.cache={};return}if(n.length===0)return;const l=n.split(`
|
56
56
|
`),u=l.shift();u.length>0&&(t<this.length()-1||this.children.tail==null?super.insertAt(Math.min(t,this.length()-1),u):this.children.tail.insertAt(this.children.tail.length(),u),this.cache={});let h=this;l.reduce((g,m)=>(h=h.split(g,!0),h.insertAt(0,m),m.length),t+u.length)}insertBefore(t,n){const{head:i}=this.children;super.insertBefore(t,n),i instanceof $s&&i.remove(),this.cache={}}length(){return this.cache.length==null&&(this.cache.length=super.length()+D0),this.cache.length}moveChildren(t,n){super.moveChildren(t,n),this.cache={}}optimize(t){super.optimize(t),this.cache={}}path(t){return super.path(t,!0)}removeChild(t){super.removeChild(t),this.cache={}}split(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(n&&(t===0||t>=this.length()-D0)){const l=this.clone();return t===0?(this.parent.insertBefore(l,this),this):(this.parent.insertBefore(l,this.next),l)}const i=super.split(t,n);return this.cache={},i}}Pi.blotName="block";Pi.tagName="P";Pi.defaultChild=$s;Pi.allowedChildren=[$s,xa,Ho,Hs];let us=class extends Ho{attach(){super.attach(),this.attributes=new lh(this.domNode)}delta(){return new $t().insert(this.value(),{...this.formats(),...this.attributes.values()})}format(e,t){const n=this.scroll.query(e,Vt.BLOCK_ATTRIBUTE);n!=null&&this.attributes.attribute(n,t)}formatAt(e,t,n,i){this.format(n,i)}insertAt(e,t,n){if(n!=null){super.insertAt(e,t,n);return}const i=t.split(`
|
57
57
|
`),l=i.pop(),u=i.map(g=>{const m=this.scroll.create(Pi.blotName);return m.insertAt(0,g),m}),h=this.split(e);u.forEach(g=>{this.parent.insertBefore(g,h)}),l&&this.parent.insertBefore(this.scroll.create("text",l),h)}};us.scope=Vt.BLOCK_BLOT;function Ax(r){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return r.descendants(Fi).reduce((t,n)=>n.length()===0?t:t.insert(n.value(),ls(n,{},e)),new $t).insert(`
|
@@ -250,7 +250,7 @@ received: `.concat(h.imageType,`
|
|
250
250
|
`?x.push(`
|
251
251
|
`,W):x.push(""+W))}return typeof ye=="string"&&ye[0]===`
|
252
252
|
`&&x.push(`
|
253
|
-
`),ye;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":x.push(re(j));for(var vn in W)if(t.call(W,vn)&&(ye=W[vn],ye!=null))switch(vn){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,j));default:G(x,X,vn,ye)}return x.push("/>"),null;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 ee(x,W,j,X);case"html":return we.insertionMode===0&&x.push("<!DOCTYPE html>"),ee(x,W,j,X);default:if(j.indexOf("-")===-1&&typeof W.is!="string")return ee(x,W,j,X);x.push(re(j)),Me=ye=null;for(jt in W)if(t.call(W,jt)&&(tt=W[jt],tt!=null))switch(jt){case"children":ye=tt;break;case"dangerouslySetInnerHTML":Me=tt;break;case"style":q(x,X,tt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:u(jt)&&typeof tt!="function"&&typeof tt!="symbol"&&x.push(" ",jt,'="',S(tt),'"')}return x.push(">"),Y(x,Me,ye),ye}}function ne(x,j,W){if(x.push('<!--$?--><template id="'),W===null)throw Error(e(395));return x.push(W),x.push('"></template>')}function ie(x,j,W,X){switch(W.insertionMode){case 0:case 1:return x.push('<div hidden id="'),x.push(j.segmentPrefix),j=X.toString(16),x.push(j),x.push('">');case 2:return x.push('<svg aria-hidden="true" style="display:none" id="'),x.push(j.segmentPrefix),j=X.toString(16),x.push(j),x.push('">');case 3:return x.push('<math aria-hidden="true" style="display:none" id="'),x.push(j.segmentPrefix),j=X.toString(16),x.push(j),x.push('">');case 4:return x.push('<table hidden id="'),x.push(j.segmentPrefix),j=X.toString(16),x.push(j),x.push('">');case 5:return x.push('<table hidden><tbody id="'),x.push(j.segmentPrefix),j=X.toString(16),x.push(j),x.push('">');case 6:return x.push('<table hidden><tr id="'),x.push(j.segmentPrefix),j=X.toString(16),x.push(j),x.push('">');case 7:return x.push('<table hidden><colgroup id="'),x.push(j.segmentPrefix),j=X.toString(16),x.push(j),x.push('">');default:throw Error(e(397))}}function ce(x,j){switch(j.insertionMode){case 0:case 1:return x.push("</div>");case 2:return x.push("</svg>");case 3:return x.push("</math>");case 4:return x.push("</table>");case 5:return x.push("</tbody></table>");case 6:return x.push("</tr></table>");case 7:return x.push("</colgroup></table>");default:throw Error(e(397))}}var me=/[<\u2028\u2029]/g;function ae(x){return JSON.stringify(x).replace(me,function(j){switch(j){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function be(x,j){return j=j===void 0?"":j,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:j+"P:",segmentPrefix:j+"S:",boundaryPrefix:j+"B:",idPrefix:j,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:x}}function ge(x,j,W,X){return W.generateStaticMarkup?(x.push(S(j)),!1):(j===""?x=X:(X&&x.push("<!-- -->"),x.push(S(j)),x=!0),x)}var xe=Object.assign,Le=Symbol.for("react.element"),Pe=Symbol.for("react.portal"),We=Symbol.for("react.fragment"),Te=Symbol.for("react.strict_mode"),ot=Symbol.for("react.profiler"),pt=Symbol.for("react.provider"),Ke=Symbol.for("react.context"),Ye=Symbol.for("react.forward_ref"),Oe=Symbol.for("react.suspense"),ke=Symbol.for("react.suspense_list"),Ee=Symbol.for("react.memo"),Ne=Symbol.for("react.lazy"),Re=Symbol.for("react.scope"),Je=Symbol.for("react.debug_trace_mode"),ft=Symbol.for("react.legacy_hidden"),xt=Symbol.for("react.default_value"),St=Symbol.iterator;function mt(x){if(x==null)return null;if(typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case We:return"Fragment";case Pe:return"Portal";case ot:return"Profiler";case Te:return"StrictMode";case Oe:return"Suspense";case ke:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case Ke:return(x.displayName||"Context")+".Consumer";case pt:return(x._context.displayName||"Context")+".Provider";case Ye:var j=x.render;return x=x.displayName,x||(x=j.displayName||j.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case Ee:return j=x.displayName||null,j!==null?j:mt(x.type)||"Memo";case Ne:j=x._payload,x=x._init;try{return mt(x(j))}catch{}}return null}var It={};function Ct(x,j){if(x=x.contextTypes,!x)return It;var W={},X;for(X in x)W[X]=j[X];return W}var ct=null;function ut(x,j){if(x!==j){x.context._currentValue2=x.parentValue,x=x.parent;var W=j.parent;if(x===null){if(W!==null)throw Error(e(401))}else{if(W===null)throw Error(e(401));ut(x,W)}j.context._currentValue2=j.value}}function et(x){x.context._currentValue2=x.parentValue,x=x.parent,x!==null&&et(x)}function Se(x){var j=x.parent;j!==null&&Se(j),x.context._currentValue2=x.value}function Ze(x,j){if(x.context._currentValue2=x.parentValue,x=x.parent,x===null)throw Error(e(402));x.depth===j.depth?ut(x,j):Ze(x,j)}function at(x,j){var W=j.parent;if(W===null)throw Error(e(402));x.depth===W.depth?ut(x,W):at(x,W),j.context._currentValue2=j.value}function gt(x){var j=ct;j!==x&&(j===null?Se(x):x===null?et(j):j.depth===x.depth?ut(j,x):j.depth>x.depth?Ze(j,x):at(j,x),ct=x)}var Tt={isMounted:function(){return!1},enqueueSetState:function(x,j){x=x._reactInternals,x.queue!==null&&x.queue.push(j)},enqueueReplaceState:function(x,j){x=x._reactInternals,x.replace=!0,x.queue=[j]},enqueueForceUpdate:function(){}};function je(x,j,W,X){var we=x.state!==void 0?x.state:null;x.updater=Tt,x.props=W,x.state=we;var ye={queue:[],replace:!1};x._reactInternals=ye;var Me=j.contextType;if(x.context=typeof Me=="object"&&Me!==null?Me._currentValue2:X,Me=j.getDerivedStateFromProps,typeof Me=="function"&&(Me=Me(W,we),we=Me==null?we:xe({},we,Me),x.state=we),typeof j.getDerivedStateFromProps!="function"&&typeof x.getSnapshotBeforeUpdate!="function"&&(typeof x.UNSAFE_componentWillMount=="function"||typeof x.componentWillMount=="function"))if(j=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),j!==x.state&&Tt.enqueueReplaceState(x,x.state,null),ye.queue!==null&&0<ye.queue.length)if(j=ye.queue,Me=ye.replace,ye.queue=null,ye.replace=!1,Me&&j.length===1)x.state=j[0];else{for(ye=Me?j[0]:x.state,we=!0,Me=Me?1:0;Me<j.length;Me++){var tt=j[Me];tt=typeof tt=="function"?tt.call(x,ye,W,X):tt,tt!=null&&(we?(we=!1,ye=xe({},ye,tt)):xe(ye,tt))}x.state=ye}else ye.queue=null}var _t={id:1,overflow:""};function Mt(x,j,W){var X=x.id;x=x.overflow;var we=32-vr(X)-1;X&=~(1<<we),W+=1;var ye=32-vr(j)+we;if(30<ye){var Me=we-we%5;return ye=(X&(1<<Me)-1).toString(32),X>>=Me,we-=Me,{id:1<<32-vr(j)+we|W<<we|X,overflow:ye+x}}return{id:1<<ye|W<<we|X,overflow:x}}var vr=Math.clz32?Math.clz32:he,nr=Math.log,Zt=Math.LN2;function he(x){return x>>>=0,x===0?32:31-(nr(x)/Zt|0)|0}function te(x,j){return x===j&&(x!==0||1/x===1/j)||x!==x&&j!==j}var Fe=typeof Object.is=="function"?Object.is:te,Xe=null,Lt=null,vt=null,wt=null,Gt=!1,Ft=!1,sr=0,dr=null,Rr=0;function ur(){if(Xe===null)throw Error(e(321));return Xe}function xr(){if(0<Rr)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Wr(){return wt===null?vt===null?(Gt=!1,vt=wt=xr()):(Gt=!0,wt=vt):wt.next===null?(Gt=!1,wt=wt.next=xr()):(Gt=!0,wt=wt.next),wt}function st(){Lt=Xe=null,Ft=!1,vt=null,Rr=0,wt=dr=null}function Rt(x,j){return typeof j=="function"?j(x):j}function bt(x,j,W){if(Xe=ur(),wt=Wr(),Gt){var X=wt.queue;if(j=X.dispatch,dr!==null&&(W=dr.get(X),W!==void 0)){dr.delete(X),X=wt.memoizedState;do X=x(X,W.action),W=W.next;while(W!==null);return wt.memoizedState=X,[X,j]}return[wt.memoizedState,j]}return x=x===Rt?typeof j=="function"?j():j:W!==void 0?W(j):j,wt.memoizedState=x,x=wt.queue={last:null,dispatch:null},x=x.dispatch=Nt.bind(null,Xe,x),[wt.memoizedState,x]}function Qe(x,j){if(Xe=ur(),wt=Wr(),j=j===void 0?null:j,wt!==null){var W=wt.memoizedState;if(W!==null&&j!==null){var X=W[1];e:if(X===null)X=!1;else{for(var we=0;we<X.length&&we<j.length;we++)if(!Fe(j[we],X[we])){X=!1;break e}X=!0}if(X)return W[0]}}return x=x(),wt.memoizedState=[x,j],x}function Nt(x,j,W){if(25<=Rr)throw Error(e(301));if(x===Xe)if(Ft=!0,x={action:W,next:null},dr===null&&(dr=new Map),W=dr.get(j),W===void 0)dr.set(j,x);else{for(j=W;j.next!==null;)j=j.next;j.next=x}}function Q(){throw Error(e(394))}function He(){}var ht={readContext:function(x){return x._currentValue2},useContext:function(x){return ur(),x._currentValue2},useMemo:Qe,useReducer:bt,useRef:function(x){Xe=ur(),wt=Wr();var j=wt.memoizedState;return j===null?(x={current:x},wt.memoizedState=x):j},useState:function(x){return bt(Rt,x)},useInsertionEffect:He,useLayoutEffect:function(){},useCallback:function(x,j){return Qe(function(){return x},j)},useImperativeHandle:He,useEffect:He,useDebugValue:He,useDeferredValue:function(x){return ur(),x},useTransition:function(){return ur(),[!1,Q]},useId:function(){var x=Lt.treeContext,j=x.overflow;x=x.id,x=(x&~(1<<32-vr(x)-1)).toString(32)+j;var W=Ot;if(W===null)throw Error(e(404));return j=sr++,x=":"+W.idPrefix+"R"+x,0<j&&(x+="H"+j.toString(32)),x+":"},useMutableSource:function(x,j){return ur(),j(x._source)},useSyncExternalStore:function(x,j,W){if(W===void 0)throw Error(e(407));return W()}},Ot=null,er=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Yt(x){return console.error(x),null}function Dt(){}function Kt(x,j,W,X,we,ye,Me,tt,At){var jt=[],Pt=new Set;return j={destination:null,responseState:j,progressiveChunkSize:X===void 0?12800:X,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Pt,pingedTasks:jt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:we===void 0?Yt:we,onAllReady:Dt,onShellReady:Me===void 0?Dt:Me,onShellError:Dt,onFatalError:Dt},W=ar(j,0,null,W,!1,!1),W.parentFlushed=!0,x=Mr(j,x,null,W,Pt,It,null,_t),jt.push(x),j}function Mr(x,j,W,X,we,ye,Me,tt){x.allPendingTasks++,W===null?x.pendingRootTasks++:W.pendingTasks++;var At={node:j,ping:function(){var jt=x.pingedTasks;jt.push(At),jt.length===1&&Cn(x)},blockedBoundary:W,blockedSegment:X,abortSet:we,legacyContext:ye,context:Me,treeContext:tt};return we.add(At),At}function ar(x,j,W,X,we,ye){return{status:0,id:-1,index:j,parentFlushed:!1,chunks:[],children:[],formatContext:X,boundary:W,lastPushedText:we,textEmbedded:ye}}function fr(x,j){if(x=x.onError(j),x!=null&&typeof x!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof x+'" instead');return x}function zr(x,j){var W=x.onShellError;W(j),W=x.onFatalError,W(j),x.destination!==null?(x.status=2,x.destination.destroy(j)):(x.status=1,x.fatalError=j)}function gr(x,j,W,X,we){for(Xe={},Lt=j,sr=0,x=W(X,we);Ft;)Ft=!1,sr=0,Rr+=1,wt=null,x=W(X,we);return st(),x}function Vn(x,j,W,X){var we=W.render(),ye=X.childContextTypes;if(ye!=null){var Me=j.legacyContext;if(typeof W.getChildContext!="function")X=Me;else{W=W.getChildContext();for(var tt in W)if(!(tt in ye))throw Error(e(108,mt(X)||"Unknown",tt));X=xe({},Me,W)}j.legacyContext=X,Kr(x,j,we),j.legacyContext=Me}else Kr(x,j,we)}function Sn(x,j){if(x&&x.defaultProps){j=xe({},j),x=x.defaultProps;for(var W in x)j[W]===void 0&&(j[W]=x[W]);return j}return j}function Mn(x,j,W,X,we){if(typeof W=="function")if(W.prototype&&W.prototype.isReactComponent){we=Ct(W,j.legacyContext);var ye=W.contextType;ye=new W(X,typeof ye=="object"&&ye!==null?ye._currentValue2:we),je(ye,W,X,we),Vn(x,j,ye,W)}else{ye=Ct(W,j.legacyContext),we=gr(x,j,W,X,ye);var Me=sr!==0;if(typeof we=="object"&&we!==null&&typeof we.render=="function"&&we.$$typeof===void 0)je(we,W,X,ye),Vn(x,j,we,W);else if(Me){X=j.treeContext,j.treeContext=Mt(X,1,0);try{Kr(x,j,we)}finally{j.treeContext=X}}else Kr(x,j,we)}else if(typeof W=="string"){switch(we=j.blockedSegment,ye=K(we.chunks,W,X,x.responseState,we.formatContext),we.lastPushedText=!1,Me=we.formatContext,we.formatContext=O(Me,W,X),Tn(x,j,ye),we.formatContext=Me,W){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:we.chunks.push("</",W,">")}we.lastPushedText=!1}else{switch(W){case ft:case Je:case Te:case ot:case We:Kr(x,j,X.children);return;case ke:Kr(x,j,X.children);return;case Re:throw Error(e(343));case Oe:e:{W=j.blockedBoundary,we=j.blockedSegment,ye=X.fallback,X=X.children,Me=new Set;var tt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Me,errorDigest:null},At=ar(x,we.chunks.length,tt,we.formatContext,!1,!1);we.children.push(At),we.lastPushedText=!1;var jt=ar(x,0,null,we.formatContext,!1,!1);jt.parentFlushed=!0,j.blockedBoundary=tt,j.blockedSegment=jt;try{if(Tn(x,j,X),x.responseState.generateStaticMarkup||jt.lastPushedText&&jt.textEmbedded&&jt.chunks.push("<!-- -->"),jt.status=1,nn(tt,jt),tt.pendingTasks===0)break e}catch(Pt){jt.status=4,tt.forceClientRender=!0,tt.errorDigest=fr(x,Pt)}finally{j.blockedBoundary=W,j.blockedSegment=we}j=Mr(x,ye,W,At,Me,j.legacyContext,j.context,j.treeContext),x.pingedTasks.push(j)}return}if(typeof W=="object"&&W!==null)switch(W.$$typeof){case Ye:if(X=gr(x,j,W.render,X,we),sr!==0){W=j.treeContext,j.treeContext=Mt(W,1,0);try{Kr(x,j,X)}finally{j.treeContext=W}}else Kr(x,j,X);return;case Ee:W=W.type,X=Sn(W,X),Mn(x,j,W,X,we);return;case pt:if(we=X.children,W=W._context,X=X.value,ye=W._currentValue2,W._currentValue2=X,Me=ct,ct=X={parent:Me,depth:Me===null?0:Me.depth+1,context:W,parentValue:ye,value:X},j.context=X,Kr(x,j,we),x=ct,x===null)throw Error(e(403));X=x.parentValue,x.context._currentValue2=X===xt?x.context._defaultValue:X,x=ct=x.parent,j.context=x;return;case Ke:X=X.children,X=X(W._currentValue2),Kr(x,j,X);return;case Ne:we=W._init,W=we(W._payload),X=Sn(W,X),Mn(x,j,W,X,void 0);return}throw Error(e(130,W==null?W:typeof W,""))}}function Kr(x,j,W){if(j.node=W,typeof W=="object"&&W!==null){switch(W.$$typeof){case Le:Mn(x,j,W.type,W.props,W.ref);return;case Pe:throw Error(e(257));case Ne:var X=W._init;W=X(W._payload),Kr(x,j,W);return}if(b(W)){Gn(x,j,W);return}if(W===null||typeof W!="object"?X=null:(X=St&&W[St]||W["@@iterator"],X=typeof X=="function"?X:null),X&&(X=X.call(W))){if(W=X.next(),!W.done){var we=[];do we.push(W.value),W=X.next();while(!W.done);Gn(x,j,we)}return}throw x=Object.prototype.toString.call(W),Error(e(31,x==="[object Object]"?"object with keys {"+Object.keys(W).join(", ")+"}":x))}typeof W=="string"?(X=j.blockedSegment,X.lastPushedText=ge(j.blockedSegment.chunks,W,x.responseState,X.lastPushedText)):typeof W=="number"&&(X=j.blockedSegment,X.lastPushedText=ge(j.blockedSegment.chunks,""+W,x.responseState,X.lastPushedText))}function Gn(x,j,W){for(var X=W.length,we=0;we<X;we++){var ye=j.treeContext;j.treeContext=Mt(ye,X,we);try{Tn(x,j,W[we])}finally{j.treeContext=ye}}}function Tn(x,j,W){var X=j.blockedSegment.formatContext,we=j.legacyContext,ye=j.context;try{return Kr(x,j,W)}catch(At){if(st(),typeof At=="object"&&At!==null&&typeof At.then=="function"){W=At;var Me=j.blockedSegment,tt=ar(x,Me.chunks.length,null,Me.formatContext,Me.lastPushedText,!0);Me.children.push(tt),Me.lastPushedText=!1,x=Mr(x,j.node,j.blockedBoundary,tt,j.abortSet,j.legacyContext,j.context,j.treeContext).ping,W.then(x,x),j.blockedSegment.formatContext=X,j.legacyContext=we,j.context=ye,gt(ye)}else throw j.blockedSegment.formatContext=X,j.legacyContext=we,j.context=ye,gt(ye),At}}function Zn(x){var j=x.blockedBoundary;x=x.blockedSegment,x.status=3,Dn(this,j,x)}function Yn(x,j,W){var X=x.blockedBoundary;x.blockedSegment.status=3,X===null?(j.allPendingTasks--,j.status!==2&&(j.status=2,j.destination!==null&&j.destination.push(null))):(X.pendingTasks--,X.forceClientRender||(X.forceClientRender=!0,x=W===void 0?Error(e(432)):W,X.errorDigest=j.onError(x),X.parentFlushed&&j.clientRenderedBoundaries.push(X)),X.fallbackAbortableTasks.forEach(function(we){return Yn(we,j,W)}),X.fallbackAbortableTasks.clear(),j.allPendingTasks--,j.allPendingTasks===0&&(X=j.onAllReady,X()))}function nn(x,j){if(j.chunks.length===0&&j.children.length===1&&j.children[0].boundary===null){var W=j.children[0];W.id=j.id,W.parentFlushed=!0,W.status===1&&nn(x,W)}else x.completedSegments.push(j)}function Dn(x,j,W){if(j===null){if(W.parentFlushed){if(x.completedRootSegment!==null)throw Error(e(389));x.completedRootSegment=W}x.pendingRootTasks--,x.pendingRootTasks===0&&(x.onShellError=Dt,j=x.onShellReady,j())}else j.pendingTasks--,j.forceClientRender||(j.pendingTasks===0?(W.parentFlushed&&W.status===1&&nn(j,W),j.parentFlushed&&x.completedBoundaries.push(j),j.fallbackAbortableTasks.forEach(Zn,x),j.fallbackAbortableTasks.clear()):W.parentFlushed&&W.status===1&&(nn(j,W),j.completedSegments.length===1&&j.parentFlushed&&x.partialBoundaries.push(j)));x.allPendingTasks--,x.allPendingTasks===0&&(x=x.onAllReady,x())}function Cn(x){if(x.status!==2){var j=ct,W=er.current;er.current=ht;var X=Ot;Ot=x.responseState;try{var we=x.pingedTasks,ye;for(ye=0;ye<we.length;ye++){var Me=we[ye],tt=x,At=Me.blockedSegment;if(At.status===0){gt(Me.context);try{Kr(tt,Me,Me.node),tt.responseState.generateStaticMarkup||At.lastPushedText&&At.textEmbedded&&At.chunks.push("<!-- -->"),Me.abortSet.delete(Me),At.status=1,Dn(tt,Me.blockedBoundary,At)}catch(yn){if(st(),typeof yn=="object"&&yn!==null&&typeof yn.then=="function"){var jt=Me.ping;yn.then(jt,jt)}else{Me.abortSet.delete(Me),At.status=4;var Pt=Me.blockedBoundary,br=yn,Zr=fr(tt,br);if(Pt===null?zr(tt,br):(Pt.pendingTasks--,Pt.forceClientRender||(Pt.forceClientRender=!0,Pt.errorDigest=Zr,Pt.parentFlushed&&tt.clientRenderedBoundaries.push(Pt))),tt.allPendingTasks--,tt.allPendingTasks===0){var vn=tt.onAllReady;vn()}}}finally{}}}we.splice(0,ye),x.destination!==null&&cn(x,x.destination)}catch(yn){fr(x,yn),zr(x,yn)}finally{Ot=X,er.current=W,W===ht&>(j)}}}function di(x,j,W){switch(W.parentFlushed=!0,W.status){case 0:var X=W.id=x.nextSegmentId++;return W.lastPushedText=!1,W.textEmbedded=!1,x=x.responseState,j.push('<template id="'),j.push(x.placeholderPrefix),x=X.toString(16),j.push(x),j.push('"></template>');case 1:W.status=2;var we=!0;X=W.chunks;var ye=0;W=W.children;for(var Me=0;Me<W.length;Me++){for(we=W[Me];ye<we.index;ye++)j.push(X[ye]);we=_i(x,j,we)}for(;ye<X.length-1;ye++)j.push(X[ye]);return ye<X.length&&(we=j.push(X[ye])),we;default:throw Error(e(390))}}function _i(x,j,W){var X=W.boundary;if(X===null)return di(x,j,W);if(X.parentFlushed=!0,X.forceClientRender)return x.responseState.generateStaticMarkup||(X=X.errorDigest,j.push("<!--$!-->"),j.push("<template"),X&&(j.push(' data-dgst="'),X=S(X),j.push(X),j.push('"')),j.push("></template>")),di(x,j,W),x=x.responseState.generateStaticMarkup?!0:j.push("<!--/$-->"),x;if(0<X.pendingTasks){X.rootSegmentID=x.nextSegmentId++,0<X.completedSegments.length&&x.partialBoundaries.push(X);var we=x.responseState,ye=we.nextSuspenseID++;return we=we.boundaryPrefix+ye.toString(16),X=X.id=we,ne(j,x.responseState,X),di(x,j,W),j.push("<!--/$-->")}if(X.byteSize>x.progressiveChunkSize)return X.rootSegmentID=x.nextSegmentId++,x.completedBoundaries.push(X),ne(j,x.responseState,X.id),di(x,j,W),j.push("<!--/$-->");if(x.responseState.generateStaticMarkup||j.push("<!--$-->"),W=X.completedSegments,W.length!==1)throw Error(e(391));return _i(x,j,W[0]),x=x.responseState.generateStaticMarkup?!0:j.push("<!--/$-->"),x}function xi(x,j,W){return ie(j,x.responseState,W.formatContext,W.id),_i(x,j,W),ce(j,W.formatContext)}function En(x,j,W){for(var X=W.completedSegments,we=0;we<X.length;we++)wn(x,j,W,X[we]);if(X.length=0,x=x.responseState,X=W.id,W=W.rootSegmentID,j.push(x.startInlineScript),x.sentCompleteBoundaryFunction?j.push('$RC("'):(x.sentCompleteBoundaryFunction=!0,j.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),X===null)throw Error(e(395));return W=W.toString(16),j.push(X),j.push('","'),j.push(x.segmentPrefix),j.push(W),j.push('")<\/script>')}function wn(x,j,W,X){if(X.status===2)return!0;var we=X.id;if(we===-1){if((X.id=W.rootSegmentID)===-1)throw Error(e(392));return xi(x,j,X)}return xi(x,j,X),x=x.responseState,j.push(x.startInlineScript),x.sentCompleteSegmentFunction?j.push('$RS("'):(x.sentCompleteSegmentFunction=!0,j.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),j.push(x.segmentPrefix),we=we.toString(16),j.push(we),j.push('","'),j.push(x.placeholderPrefix),j.push(we),j.push('")<\/script>')}function cn(x,j){try{var W=x.completedRootSegment;if(W!==null&&x.pendingRootTasks===0){_i(x,j,W),x.completedRootSegment=null;var X=x.responseState.bootstrapChunks;for(W=0;W<X.length-1;W++)j.push(X[W]);W<X.length&&j.push(X[W])}var we=x.clientRenderedBoundaries,ye;for(ye=0;ye<we.length;ye++){var Me=we[ye];X=j;var tt=x.responseState,At=Me.id,jt=Me.errorDigest,Pt=Me.errorMessage,br=Me.errorComponentStack;if(X.push(tt.startInlineScript),tt.sentClientRenderFunction?X.push('$RX("'):(tt.sentClientRenderFunction=!0,X.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),At===null)throw Error(e(395));if(X.push(At),X.push('"'),jt||Pt||br){X.push(",");var Zr=ae(jt||"");X.push(Zr)}if(Pt||br){X.push(",");var vn=ae(Pt||"");X.push(vn)}if(br){X.push(",");var yn=ae(br);X.push(yn)}if(!X.push(")<\/script>")){x.destination=null,ye++,we.splice(0,ye);return}}we.splice(0,ye);var ai=x.completedBoundaries;for(ye=0;ye<ai.length;ye++)if(!En(x,j,ai[ye])){x.destination=null,ye++,ai.splice(0,ye);return}ai.splice(0,ye);var Nn=x.partialBoundaries;for(ye=0;ye<Nn.length;ye++){var Si=Nn[ye];e:{we=x,Me=j;var Xr=Si.completedSegments;for(tt=0;tt<Xr.length;tt++)if(!wn(we,Me,Si,Xr[tt])){tt++,Xr.splice(0,tt);var hi=!1;break e}Xr.splice(0,tt),hi=!0}if(!hi){x.destination=null,ye++,Nn.splice(0,ye);return}}Nn.splice(0,ye);var jn=x.completedBoundaries;for(ye=0;ye<jn.length;ye++)if(!En(x,j,jn[ye])){x.destination=null,ye++,jn.splice(0,ye);return}jn.splice(0,ye)}finally{x.allPendingTasks===0&&x.pingedTasks.length===0&&x.clientRenderedBoundaries.length===0&&x.completedBoundaries.length===0&&j.push(null)}}function Kn(x,j){try{var W=x.abortableTasks;W.forEach(function(X){return Yn(X,x,j)}),W.clear(),x.destination!==null&&cn(x,x.destination)}catch(X){fr(x,X),zr(x,X)}}function on(){}function dn(x,j,W,X){var we=!1,ye=null,Me="",tt={push:function(jt){return jt!==null&&(Me+=jt),!0},destroy:function(jt){we=!0,ye=jt}},At=!1;if(x=Kt(x,be(W,j?j.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,on,void 0,function(){At=!0}),Cn(x),Kn(x,X),x.status===1)x.status=2,tt.destroy(x.fatalError);else if(x.status!==2&&x.destination===null){x.destination=tt;try{cn(x,tt)}catch(jt){fr(x,jt),zr(x,jt)}}if(we)throw ye;if(!At)throw Error(e(426));return Me}return Hc.renderToNodeStream=function(){throw Error(e(207))},Hc.renderToStaticMarkup=function(x,j){return dn(x,j,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Hc.renderToStaticNodeStream=function(){throw Error(e(208))},Hc.renderToString=function(x,j){return dn(x,j,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Hc.version="18.2.0",Hc}var jd={};/**
|
253
|
+
`),ye;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":x.push(re(j));for(var vn in W)if(t.call(W,vn)&&(ye=W[vn],ye!=null))switch(vn){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,j));default:G(x,X,vn,ye)}return x.push("/>"),null;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 ee(x,W,j,X);case"html":return we.insertionMode===0&&x.push("<!DOCTYPE html>"),ee(x,W,j,X);default:if(j.indexOf("-")===-1&&typeof W.is!="string")return ee(x,W,j,X);x.push(re(j)),Me=ye=null;for(jt in W)if(t.call(W,jt)&&(tt=W[jt],tt!=null))switch(jt){case"children":ye=tt;break;case"dangerouslySetInnerHTML":Me=tt;break;case"style":q(x,X,tt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:u(jt)&&typeof tt!="function"&&typeof tt!="symbol"&&x.push(" ",jt,'="',S(tt),'"')}return x.push(">"),Y(x,Me,ye),ye}}function ne(x,j,W){if(x.push('<!--$?--><template id="'),W===null)throw Error(e(395));return x.push(W),x.push('"></template>')}function ie(x,j,W,X){switch(W.insertionMode){case 0:case 1:return x.push('<div hidden id="'),x.push(j.segmentPrefix),j=X.toString(16),x.push(j),x.push('">');case 2:return x.push('<svg aria-hidden="true" style="display:none" id="'),x.push(j.segmentPrefix),j=X.toString(16),x.push(j),x.push('">');case 3:return x.push('<math aria-hidden="true" style="display:none" id="'),x.push(j.segmentPrefix),j=X.toString(16),x.push(j),x.push('">');case 4:return x.push('<table hidden id="'),x.push(j.segmentPrefix),j=X.toString(16),x.push(j),x.push('">');case 5:return x.push('<table hidden><tbody id="'),x.push(j.segmentPrefix),j=X.toString(16),x.push(j),x.push('">');case 6:return x.push('<table hidden><tr id="'),x.push(j.segmentPrefix),j=X.toString(16),x.push(j),x.push('">');case 7:return x.push('<table hidden><colgroup id="'),x.push(j.segmentPrefix),j=X.toString(16),x.push(j),x.push('">');default:throw Error(e(397))}}function ce(x,j){switch(j.insertionMode){case 0:case 1:return x.push("</div>");case 2:return x.push("</svg>");case 3:return x.push("</math>");case 4:return x.push("</table>");case 5:return x.push("</tbody></table>");case 6:return x.push("</tr></table>");case 7:return x.push("</colgroup></table>");default:throw Error(e(397))}}var me=/[<\u2028\u2029]/g;function le(x){return JSON.stringify(x).replace(me,function(j){switch(j){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function be(x,j){return j=j===void 0?"":j,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:j+"P:",segmentPrefix:j+"S:",boundaryPrefix:j+"B:",idPrefix:j,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:x}}function ge(x,j,W,X){return W.generateStaticMarkup?(x.push(S(j)),!1):(j===""?x=X:(X&&x.push("<!-- -->"),x.push(S(j)),x=!0),x)}var xe=Object.assign,Ie=Symbol.for("react.element"),Pe=Symbol.for("react.portal"),Ve=Symbol.for("react.fragment"),Ee=Symbol.for("react.strict_mode"),ot=Symbol.for("react.profiler"),ht=Symbol.for("react.provider"),Ke=Symbol.for("react.context"),Ye=Symbol.for("react.forward_ref"),Oe=Symbol.for("react.suspense"),Ne=Symbol.for("react.suspense_list"),Ae=Symbol.for("react.memo"),Le=Symbol.for("react.lazy"),ke=Symbol.for("react.scope"),Je=Symbol.for("react.debug_trace_mode"),ft=Symbol.for("react.legacy_hidden"),xt=Symbol.for("react.default_value"),St=Symbol.iterator;function mt(x){if(x==null)return null;if(typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case Ve:return"Fragment";case Pe:return"Portal";case ot:return"Profiler";case Ee:return"StrictMode";case Oe:return"Suspense";case Ne:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case Ke:return(x.displayName||"Context")+".Consumer";case ht:return(x._context.displayName||"Context")+".Provider";case Ye:var j=x.render;return x=x.displayName,x||(x=j.displayName||j.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case Ae:return j=x.displayName||null,j!==null?j:mt(x.type)||"Memo";case Le:j=x._payload,x=x._init;try{return mt(x(j))}catch{}}return null}var It={};function Ct(x,j){if(x=x.contextTypes,!x)return It;var W={},X;for(X in x)W[X]=j[X];return W}var ct=null;function ut(x,j){if(x!==j){x.context._currentValue2=x.parentValue,x=x.parent;var W=j.parent;if(x===null){if(W!==null)throw Error(e(401))}else{if(W===null)throw Error(e(401));ut(x,W)}j.context._currentValue2=j.value}}function et(x){x.context._currentValue2=x.parentValue,x=x.parent,x!==null&&et(x)}function Se(x){var j=x.parent;j!==null&&Se(j),x.context._currentValue2=x.value}function Ze(x,j){if(x.context._currentValue2=x.parentValue,x=x.parent,x===null)throw Error(e(402));x.depth===j.depth?ut(x,j):Ze(x,j)}function at(x,j){var W=j.parent;if(W===null)throw Error(e(402));x.depth===W.depth?ut(x,W):at(x,W),j.context._currentValue2=j.value}function gt(x){var j=ct;j!==x&&(j===null?Se(x):x===null?et(j):j.depth===x.depth?ut(j,x):j.depth>x.depth?Ze(j,x):at(j,x),ct=x)}var Tt={isMounted:function(){return!1},enqueueSetState:function(x,j){x=x._reactInternals,x.queue!==null&&x.queue.push(j)},enqueueReplaceState:function(x,j){x=x._reactInternals,x.replace=!0,x.queue=[j]},enqueueForceUpdate:function(){}};function je(x,j,W,X){var we=x.state!==void 0?x.state:null;x.updater=Tt,x.props=W,x.state=we;var ye={queue:[],replace:!1};x._reactInternals=ye;var Me=j.contextType;if(x.context=typeof Me=="object"&&Me!==null?Me._currentValue2:X,Me=j.getDerivedStateFromProps,typeof Me=="function"&&(Me=Me(W,we),we=Me==null?we:xe({},we,Me),x.state=we),typeof j.getDerivedStateFromProps!="function"&&typeof x.getSnapshotBeforeUpdate!="function"&&(typeof x.UNSAFE_componentWillMount=="function"||typeof x.componentWillMount=="function"))if(j=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),j!==x.state&&Tt.enqueueReplaceState(x,x.state,null),ye.queue!==null&&0<ye.queue.length)if(j=ye.queue,Me=ye.replace,ye.queue=null,ye.replace=!1,Me&&j.length===1)x.state=j[0];else{for(ye=Me?j[0]:x.state,we=!0,Me=Me?1:0;Me<j.length;Me++){var tt=j[Me];tt=typeof tt=="function"?tt.call(x,ye,W,X):tt,tt!=null&&(we?(we=!1,ye=xe({},ye,tt)):xe(ye,tt))}x.state=ye}else ye.queue=null}var _t={id:1,overflow:""};function Mt(x,j,W){var X=x.id;x=x.overflow;var we=32-vr(X)-1;X&=~(1<<we),W+=1;var ye=32-vr(j)+we;if(30<ye){var Me=we-we%5;return ye=(X&(1<<Me)-1).toString(32),X>>=Me,we-=Me,{id:1<<32-vr(j)+we|W<<we|X,overflow:ye+x}}return{id:1<<ye|W<<we|X,overflow:x}}var vr=Math.clz32?Math.clz32:he,nr=Math.log,Zt=Math.LN2;function he(x){return x>>>=0,x===0?32:31-(nr(x)/Zt|0)|0}function te(x,j){return x===j&&(x!==0||1/x===1/j)||x!==x&&j!==j}var Fe=typeof Object.is=="function"?Object.is:te,Xe=null,Lt=null,vt=null,wt=null,Gt=!1,Ft=!1,sr=0,dr=null,Rr=0;function ur(){if(Xe===null)throw Error(e(321));return Xe}function xr(){if(0<Rr)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Wr(){return wt===null?vt===null?(Gt=!1,vt=wt=xr()):(Gt=!0,wt=vt):wt.next===null?(Gt=!1,wt=wt.next=xr()):(Gt=!0,wt=wt.next),wt}function st(){Lt=Xe=null,Ft=!1,vt=null,Rr=0,wt=dr=null}function Rt(x,j){return typeof j=="function"?j(x):j}function bt(x,j,W){if(Xe=ur(),wt=Wr(),Gt){var X=wt.queue;if(j=X.dispatch,dr!==null&&(W=dr.get(X),W!==void 0)){dr.delete(X),X=wt.memoizedState;do X=x(X,W.action),W=W.next;while(W!==null);return wt.memoizedState=X,[X,j]}return[wt.memoizedState,j]}return x=x===Rt?typeof j=="function"?j():j:W!==void 0?W(j):j,wt.memoizedState=x,x=wt.queue={last:null,dispatch:null},x=x.dispatch=Nt.bind(null,Xe,x),[wt.memoizedState,x]}function Qe(x,j){if(Xe=ur(),wt=Wr(),j=j===void 0?null:j,wt!==null){var W=wt.memoizedState;if(W!==null&&j!==null){var X=W[1];e:if(X===null)X=!1;else{for(var we=0;we<X.length&&we<j.length;we++)if(!Fe(j[we],X[we])){X=!1;break e}X=!0}if(X)return W[0]}}return x=x(),wt.memoizedState=[x,j],x}function Nt(x,j,W){if(25<=Rr)throw Error(e(301));if(x===Xe)if(Ft=!0,x={action:W,next:null},dr===null&&(dr=new Map),W=dr.get(j),W===void 0)dr.set(j,x);else{for(j=W;j.next!==null;)j=j.next;j.next=x}}function Q(){throw Error(e(394))}function He(){}var pt={readContext:function(x){return x._currentValue2},useContext:function(x){return ur(),x._currentValue2},useMemo:Qe,useReducer:bt,useRef:function(x){Xe=ur(),wt=Wr();var j=wt.memoizedState;return j===null?(x={current:x},wt.memoizedState=x):j},useState:function(x){return bt(Rt,x)},useInsertionEffect:He,useLayoutEffect:function(){},useCallback:function(x,j){return Qe(function(){return x},j)},useImperativeHandle:He,useEffect:He,useDebugValue:He,useDeferredValue:function(x){return ur(),x},useTransition:function(){return ur(),[!1,Q]},useId:function(){var x=Lt.treeContext,j=x.overflow;x=x.id,x=(x&~(1<<32-vr(x)-1)).toString(32)+j;var W=Ot;if(W===null)throw Error(e(404));return j=sr++,x=":"+W.idPrefix+"R"+x,0<j&&(x+="H"+j.toString(32)),x+":"},useMutableSource:function(x,j){return ur(),j(x._source)},useSyncExternalStore:function(x,j,W){if(W===void 0)throw Error(e(407));return W()}},Ot=null,er=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Yt(x){return console.error(x),null}function Dt(){}function Kt(x,j,W,X,we,ye,Me,tt,At){var jt=[],Pt=new Set;return j={destination:null,responseState:j,progressiveChunkSize:X===void 0?12800:X,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Pt,pingedTasks:jt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:we===void 0?Yt:we,onAllReady:Dt,onShellReady:Me===void 0?Dt:Me,onShellError:Dt,onFatalError:Dt},W=ar(j,0,null,W,!1,!1),W.parentFlushed=!0,x=Mr(j,x,null,W,Pt,It,null,_t),jt.push(x),j}function Mr(x,j,W,X,we,ye,Me,tt){x.allPendingTasks++,W===null?x.pendingRootTasks++:W.pendingTasks++;var At={node:j,ping:function(){var jt=x.pingedTasks;jt.push(At),jt.length===1&&Cn(x)},blockedBoundary:W,blockedSegment:X,abortSet:we,legacyContext:ye,context:Me,treeContext:tt};return we.add(At),At}function ar(x,j,W,X,we,ye){return{status:0,id:-1,index:j,parentFlushed:!1,chunks:[],children:[],formatContext:X,boundary:W,lastPushedText:we,textEmbedded:ye}}function fr(x,j){if(x=x.onError(j),x!=null&&typeof x!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof x+'" instead');return x}function zr(x,j){var W=x.onShellError;W(j),W=x.onFatalError,W(j),x.destination!==null?(x.status=2,x.destination.destroy(j)):(x.status=1,x.fatalError=j)}function gr(x,j,W,X,we){for(Xe={},Lt=j,sr=0,x=W(X,we);Ft;)Ft=!1,sr=0,Rr+=1,wt=null,x=W(X,we);return st(),x}function Vn(x,j,W,X){var we=W.render(),ye=X.childContextTypes;if(ye!=null){var Me=j.legacyContext;if(typeof W.getChildContext!="function")X=Me;else{W=W.getChildContext();for(var tt in W)if(!(tt in ye))throw Error(e(108,mt(X)||"Unknown",tt));X=xe({},Me,W)}j.legacyContext=X,Kr(x,j,we),j.legacyContext=Me}else Kr(x,j,we)}function Sn(x,j){if(x&&x.defaultProps){j=xe({},j),x=x.defaultProps;for(var W in x)j[W]===void 0&&(j[W]=x[W]);return j}return j}function Mn(x,j,W,X,we){if(typeof W=="function")if(W.prototype&&W.prototype.isReactComponent){we=Ct(W,j.legacyContext);var ye=W.contextType;ye=new W(X,typeof ye=="object"&&ye!==null?ye._currentValue2:we),je(ye,W,X,we),Vn(x,j,ye,W)}else{ye=Ct(W,j.legacyContext),we=gr(x,j,W,X,ye);var Me=sr!==0;if(typeof we=="object"&&we!==null&&typeof we.render=="function"&&we.$$typeof===void 0)je(we,W,X,ye),Vn(x,j,we,W);else if(Me){X=j.treeContext,j.treeContext=Mt(X,1,0);try{Kr(x,j,we)}finally{j.treeContext=X}}else Kr(x,j,we)}else if(typeof W=="string"){switch(we=j.blockedSegment,ye=K(we.chunks,W,X,x.responseState,we.formatContext),we.lastPushedText=!1,Me=we.formatContext,we.formatContext=O(Me,W,X),Tn(x,j,ye),we.formatContext=Me,W){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:we.chunks.push("</",W,">")}we.lastPushedText=!1}else{switch(W){case ft:case Je:case Ee:case ot:case Ve:Kr(x,j,X.children);return;case Ne:Kr(x,j,X.children);return;case ke:throw Error(e(343));case Oe:e:{W=j.blockedBoundary,we=j.blockedSegment,ye=X.fallback,X=X.children,Me=new Set;var tt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Me,errorDigest:null},At=ar(x,we.chunks.length,tt,we.formatContext,!1,!1);we.children.push(At),we.lastPushedText=!1;var jt=ar(x,0,null,we.formatContext,!1,!1);jt.parentFlushed=!0,j.blockedBoundary=tt,j.blockedSegment=jt;try{if(Tn(x,j,X),x.responseState.generateStaticMarkup||jt.lastPushedText&&jt.textEmbedded&&jt.chunks.push("<!-- -->"),jt.status=1,nn(tt,jt),tt.pendingTasks===0)break e}catch(Pt){jt.status=4,tt.forceClientRender=!0,tt.errorDigest=fr(x,Pt)}finally{j.blockedBoundary=W,j.blockedSegment=we}j=Mr(x,ye,W,At,Me,j.legacyContext,j.context,j.treeContext),x.pingedTasks.push(j)}return}if(typeof W=="object"&&W!==null)switch(W.$$typeof){case Ye:if(X=gr(x,j,W.render,X,we),sr!==0){W=j.treeContext,j.treeContext=Mt(W,1,0);try{Kr(x,j,X)}finally{j.treeContext=W}}else Kr(x,j,X);return;case Ae:W=W.type,X=Sn(W,X),Mn(x,j,W,X,we);return;case ht:if(we=X.children,W=W._context,X=X.value,ye=W._currentValue2,W._currentValue2=X,Me=ct,ct=X={parent:Me,depth:Me===null?0:Me.depth+1,context:W,parentValue:ye,value:X},j.context=X,Kr(x,j,we),x=ct,x===null)throw Error(e(403));X=x.parentValue,x.context._currentValue2=X===xt?x.context._defaultValue:X,x=ct=x.parent,j.context=x;return;case Ke:X=X.children,X=X(W._currentValue2),Kr(x,j,X);return;case Le:we=W._init,W=we(W._payload),X=Sn(W,X),Mn(x,j,W,X,void 0);return}throw Error(e(130,W==null?W:typeof W,""))}}function Kr(x,j,W){if(j.node=W,typeof W=="object"&&W!==null){switch(W.$$typeof){case Ie:Mn(x,j,W.type,W.props,W.ref);return;case Pe:throw Error(e(257));case Le:var X=W._init;W=X(W._payload),Kr(x,j,W);return}if(b(W)){Gn(x,j,W);return}if(W===null||typeof W!="object"?X=null:(X=St&&W[St]||W["@@iterator"],X=typeof X=="function"?X:null),X&&(X=X.call(W))){if(W=X.next(),!W.done){var we=[];do we.push(W.value),W=X.next();while(!W.done);Gn(x,j,we)}return}throw x=Object.prototype.toString.call(W),Error(e(31,x==="[object Object]"?"object with keys {"+Object.keys(W).join(", ")+"}":x))}typeof W=="string"?(X=j.blockedSegment,X.lastPushedText=ge(j.blockedSegment.chunks,W,x.responseState,X.lastPushedText)):typeof W=="number"&&(X=j.blockedSegment,X.lastPushedText=ge(j.blockedSegment.chunks,""+W,x.responseState,X.lastPushedText))}function Gn(x,j,W){for(var X=W.length,we=0;we<X;we++){var ye=j.treeContext;j.treeContext=Mt(ye,X,we);try{Tn(x,j,W[we])}finally{j.treeContext=ye}}}function Tn(x,j,W){var X=j.blockedSegment.formatContext,we=j.legacyContext,ye=j.context;try{return Kr(x,j,W)}catch(At){if(st(),typeof At=="object"&&At!==null&&typeof At.then=="function"){W=At;var Me=j.blockedSegment,tt=ar(x,Me.chunks.length,null,Me.formatContext,Me.lastPushedText,!0);Me.children.push(tt),Me.lastPushedText=!1,x=Mr(x,j.node,j.blockedBoundary,tt,j.abortSet,j.legacyContext,j.context,j.treeContext).ping,W.then(x,x),j.blockedSegment.formatContext=X,j.legacyContext=we,j.context=ye,gt(ye)}else throw j.blockedSegment.formatContext=X,j.legacyContext=we,j.context=ye,gt(ye),At}}function Zn(x){var j=x.blockedBoundary;x=x.blockedSegment,x.status=3,Dn(this,j,x)}function Yn(x,j,W){var X=x.blockedBoundary;x.blockedSegment.status=3,X===null?(j.allPendingTasks--,j.status!==2&&(j.status=2,j.destination!==null&&j.destination.push(null))):(X.pendingTasks--,X.forceClientRender||(X.forceClientRender=!0,x=W===void 0?Error(e(432)):W,X.errorDigest=j.onError(x),X.parentFlushed&&j.clientRenderedBoundaries.push(X)),X.fallbackAbortableTasks.forEach(function(we){return Yn(we,j,W)}),X.fallbackAbortableTasks.clear(),j.allPendingTasks--,j.allPendingTasks===0&&(X=j.onAllReady,X()))}function nn(x,j){if(j.chunks.length===0&&j.children.length===1&&j.children[0].boundary===null){var W=j.children[0];W.id=j.id,W.parentFlushed=!0,W.status===1&&nn(x,W)}else x.completedSegments.push(j)}function Dn(x,j,W){if(j===null){if(W.parentFlushed){if(x.completedRootSegment!==null)throw Error(e(389));x.completedRootSegment=W}x.pendingRootTasks--,x.pendingRootTasks===0&&(x.onShellError=Dt,j=x.onShellReady,j())}else j.pendingTasks--,j.forceClientRender||(j.pendingTasks===0?(W.parentFlushed&&W.status===1&&nn(j,W),j.parentFlushed&&x.completedBoundaries.push(j),j.fallbackAbortableTasks.forEach(Zn,x),j.fallbackAbortableTasks.clear()):W.parentFlushed&&W.status===1&&(nn(j,W),j.completedSegments.length===1&&j.parentFlushed&&x.partialBoundaries.push(j)));x.allPendingTasks--,x.allPendingTasks===0&&(x=x.onAllReady,x())}function Cn(x){if(x.status!==2){var j=ct,W=er.current;er.current=pt;var X=Ot;Ot=x.responseState;try{var we=x.pingedTasks,ye;for(ye=0;ye<we.length;ye++){var Me=we[ye],tt=x,At=Me.blockedSegment;if(At.status===0){gt(Me.context);try{Kr(tt,Me,Me.node),tt.responseState.generateStaticMarkup||At.lastPushedText&&At.textEmbedded&&At.chunks.push("<!-- -->"),Me.abortSet.delete(Me),At.status=1,Dn(tt,Me.blockedBoundary,At)}catch(yn){if(st(),typeof yn=="object"&&yn!==null&&typeof yn.then=="function"){var jt=Me.ping;yn.then(jt,jt)}else{Me.abortSet.delete(Me),At.status=4;var Pt=Me.blockedBoundary,br=yn,Zr=fr(tt,br);if(Pt===null?zr(tt,br):(Pt.pendingTasks--,Pt.forceClientRender||(Pt.forceClientRender=!0,Pt.errorDigest=Zr,Pt.parentFlushed&&tt.clientRenderedBoundaries.push(Pt))),tt.allPendingTasks--,tt.allPendingTasks===0){var vn=tt.onAllReady;vn()}}}finally{}}}we.splice(0,ye),x.destination!==null&&cn(x,x.destination)}catch(yn){fr(x,yn),zr(x,yn)}finally{Ot=X,er.current=W,W===pt&>(j)}}}function di(x,j,W){switch(W.parentFlushed=!0,W.status){case 0:var X=W.id=x.nextSegmentId++;return W.lastPushedText=!1,W.textEmbedded=!1,x=x.responseState,j.push('<template id="'),j.push(x.placeholderPrefix),x=X.toString(16),j.push(x),j.push('"></template>');case 1:W.status=2;var we=!0;X=W.chunks;var ye=0;W=W.children;for(var Me=0;Me<W.length;Me++){for(we=W[Me];ye<we.index;ye++)j.push(X[ye]);we=_i(x,j,we)}for(;ye<X.length-1;ye++)j.push(X[ye]);return ye<X.length&&(we=j.push(X[ye])),we;default:throw Error(e(390))}}function _i(x,j,W){var X=W.boundary;if(X===null)return di(x,j,W);if(X.parentFlushed=!0,X.forceClientRender)return x.responseState.generateStaticMarkup||(X=X.errorDigest,j.push("<!--$!-->"),j.push("<template"),X&&(j.push(' data-dgst="'),X=S(X),j.push(X),j.push('"')),j.push("></template>")),di(x,j,W),x=x.responseState.generateStaticMarkup?!0:j.push("<!--/$-->"),x;if(0<X.pendingTasks){X.rootSegmentID=x.nextSegmentId++,0<X.completedSegments.length&&x.partialBoundaries.push(X);var we=x.responseState,ye=we.nextSuspenseID++;return we=we.boundaryPrefix+ye.toString(16),X=X.id=we,ne(j,x.responseState,X),di(x,j,W),j.push("<!--/$-->")}if(X.byteSize>x.progressiveChunkSize)return X.rootSegmentID=x.nextSegmentId++,x.completedBoundaries.push(X),ne(j,x.responseState,X.id),di(x,j,W),j.push("<!--/$-->");if(x.responseState.generateStaticMarkup||j.push("<!--$-->"),W=X.completedSegments,W.length!==1)throw Error(e(391));return _i(x,j,W[0]),x=x.responseState.generateStaticMarkup?!0:j.push("<!--/$-->"),x}function xi(x,j,W){return ie(j,x.responseState,W.formatContext,W.id),_i(x,j,W),ce(j,W.formatContext)}function En(x,j,W){for(var X=W.completedSegments,we=0;we<X.length;we++)wn(x,j,W,X[we]);if(X.length=0,x=x.responseState,X=W.id,W=W.rootSegmentID,j.push(x.startInlineScript),x.sentCompleteBoundaryFunction?j.push('$RC("'):(x.sentCompleteBoundaryFunction=!0,j.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),X===null)throw Error(e(395));return W=W.toString(16),j.push(X),j.push('","'),j.push(x.segmentPrefix),j.push(W),j.push('")<\/script>')}function wn(x,j,W,X){if(X.status===2)return!0;var we=X.id;if(we===-1){if((X.id=W.rootSegmentID)===-1)throw Error(e(392));return xi(x,j,X)}return xi(x,j,X),x=x.responseState,j.push(x.startInlineScript),x.sentCompleteSegmentFunction?j.push('$RS("'):(x.sentCompleteSegmentFunction=!0,j.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),j.push(x.segmentPrefix),we=we.toString(16),j.push(we),j.push('","'),j.push(x.placeholderPrefix),j.push(we),j.push('")<\/script>')}function cn(x,j){try{var W=x.completedRootSegment;if(W!==null&&x.pendingRootTasks===0){_i(x,j,W),x.completedRootSegment=null;var X=x.responseState.bootstrapChunks;for(W=0;W<X.length-1;W++)j.push(X[W]);W<X.length&&j.push(X[W])}var we=x.clientRenderedBoundaries,ye;for(ye=0;ye<we.length;ye++){var Me=we[ye];X=j;var tt=x.responseState,At=Me.id,jt=Me.errorDigest,Pt=Me.errorMessage,br=Me.errorComponentStack;if(X.push(tt.startInlineScript),tt.sentClientRenderFunction?X.push('$RX("'):(tt.sentClientRenderFunction=!0,X.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),At===null)throw Error(e(395));if(X.push(At),X.push('"'),jt||Pt||br){X.push(",");var Zr=le(jt||"");X.push(Zr)}if(Pt||br){X.push(",");var vn=le(Pt||"");X.push(vn)}if(br){X.push(",");var yn=le(br);X.push(yn)}if(!X.push(")<\/script>")){x.destination=null,ye++,we.splice(0,ye);return}}we.splice(0,ye);var ai=x.completedBoundaries;for(ye=0;ye<ai.length;ye++)if(!En(x,j,ai[ye])){x.destination=null,ye++,ai.splice(0,ye);return}ai.splice(0,ye);var Nn=x.partialBoundaries;for(ye=0;ye<Nn.length;ye++){var Si=Nn[ye];e:{we=x,Me=j;var Xr=Si.completedSegments;for(tt=0;tt<Xr.length;tt++)if(!wn(we,Me,Si,Xr[tt])){tt++,Xr.splice(0,tt);var hi=!1;break e}Xr.splice(0,tt),hi=!0}if(!hi){x.destination=null,ye++,Nn.splice(0,ye);return}}Nn.splice(0,ye);var jn=x.completedBoundaries;for(ye=0;ye<jn.length;ye++)if(!En(x,j,jn[ye])){x.destination=null,ye++,jn.splice(0,ye);return}jn.splice(0,ye)}finally{x.allPendingTasks===0&&x.pingedTasks.length===0&&x.clientRenderedBoundaries.length===0&&x.completedBoundaries.length===0&&j.push(null)}}function Kn(x,j){try{var W=x.abortableTasks;W.forEach(function(X){return Yn(X,x,j)}),W.clear(),x.destination!==null&&cn(x,x.destination)}catch(X){fr(x,X),zr(x,X)}}function on(){}function dn(x,j,W,X){var we=!1,ye=null,Me="",tt={push:function(jt){return jt!==null&&(Me+=jt),!0},destroy:function(jt){we=!0,ye=jt}},At=!1;if(x=Kt(x,be(W,j?j.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,on,void 0,function(){At=!0}),Cn(x),Kn(x,X),x.status===1)x.status=2,tt.destroy(x.fatalError);else if(x.status!==2&&x.destination===null){x.destination=tt;try{cn(x,tt)}catch(jt){fr(x,jt),zr(x,jt)}}if(we)throw ye;if(!At)throw Error(e(426));return Me}return Hc.renderToNodeStream=function(){throw Error(e(207))},Hc.renderToStaticMarkup=function(x,j){return dn(x,j,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Hc.renderToStaticNodeStream=function(){throw Error(e(208))},Hc.renderToString=function(x,j){return dn(x,j,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Hc.version="18.2.0",Hc}var jd={};/**
|
254
254
|
* @license React
|
255
255
|
* react-dom-server.browser.production.min.js
|
256
256
|
*
|
@@ -258,11 +258,11 @@ received: `.concat(h.imageType,`
|
|
258
258
|
*
|
259
259
|
* This source code is licensed under the MIT license found in the
|
260
260
|
* LICENSE file in the root directory of this source tree.
|
261
|
-
*/var oy;function eO(){if(oy)return jd;oy=1;var r=I;function e(w){for(var P="https://reactjs.org/docs/error-decoder.html?invariant="+w,z=1;z<arguments.length;z++)P+="&args[]="+encodeURIComponent(arguments[z]);return"Minified React error #"+w+"; visit "+P+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var t=null,n=0;function i(w,P){if(P.length!==0)if(512<P.length)0<n&&(w.enqueue(new Uint8Array(t.buffer,0,n)),t=new Uint8Array(512),n=0),w.enqueue(P);else{var z=t.length-n;z<P.length&&(z===0?w.enqueue(t):(t.set(P.subarray(0,z),n),w.enqueue(t),P=P.subarray(z)),t=new Uint8Array(512),n=0),t.set(P,n),n+=P.length}}function l(w,P){return i(w,P),!0}function u(w){t&&0<n&&(w.enqueue(new Uint8Array(t.buffer,0,n)),t=null,n=0)}var h=new TextEncoder;function g(w){return h.encode(w)}function m(w){return h.encode(w)}function M(w,P){typeof w.error=="function"?w.error(P):w.close()}var T=Object.prototype.hasOwnProperty,C=/^[: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][: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\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,_={},S={};function D(w){return T.call(S,w)?!0:T.call(_,w)?!1:C.test(w)?S[w]=!0:(_[w]=!0,!1)}function A(w,P,z,J,
|
262
|
-
`),Ct=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ct=new Map;function ut(w){var P=ct.get(w);if(P===void 0){if(!Ct.test(w))throw Error(e(65,w));P=m("<"+w),ct.set(w,P)}return P}var et=m("<!DOCTYPE html>");function Se(w,P,z,J,
|
263
|
-
`&&w.push(It),Ce!==null&&w.push(g(Y(""+Ce))),null;case"input":w.push(ut("input")),Bt=tr=dt=Ce=null;for(ze in z)if(T.call(z,ze)&&(cr=z[ze],cr!=null))switch(ze){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":Bt=cr;break;case"defaultValue":dt=cr;break;case"checked":tr=cr;break;case"value":Ce=cr;break;default:
|
261
|
+
*/var oy;function eO(){if(oy)return jd;oy=1;var r=I;function e(w){for(var P="https://reactjs.org/docs/error-decoder.html?invariant="+w,z=1;z<arguments.length;z++)P+="&args[]="+encodeURIComponent(arguments[z]);return"Minified React error #"+w+"; visit "+P+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var t=null,n=0;function i(w,P){if(P.length!==0)if(512<P.length)0<n&&(w.enqueue(new Uint8Array(t.buffer,0,n)),t=new Uint8Array(512),n=0),w.enqueue(P);else{var z=t.length-n;z<P.length&&(z===0?w.enqueue(t):(t.set(P.subarray(0,z),n),w.enqueue(t),P=P.subarray(z)),t=new Uint8Array(512),n=0),t.set(P,n),n+=P.length}}function l(w,P){return i(w,P),!0}function u(w){t&&0<n&&(w.enqueue(new Uint8Array(t.buffer,0,n)),t=null,n=0)}var h=new TextEncoder;function g(w){return h.encode(w)}function m(w){return h.encode(w)}function M(w,P){typeof w.error=="function"?w.error(P):w.close()}var T=Object.prototype.hasOwnProperty,C=/^[: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][: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\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,_={},S={};function D(w){return T.call(S,w)?!0:T.call(_,w)?!1:C.test(w)?S[w]=!0:(_[w]=!0,!1)}function A(w,P,z,J,Te,Ce,ze){this.acceptsBooleans=P===2||P===3||P===4,this.attributeName=J,this.attributeNamespace=Te,this.mustUseProperty=z,this.propertyName=w,this.type=P,this.sanitizeURL=Ce,this.removeEmptyString=ze}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(w){b[w]=new A(w,0,!1,w,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(w){var P=w[0];b[P]=new A(P,1,!1,w[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(w){b[w]=new A(w,2,!1,w.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(w){b[w]=new A(w,2,!1,w,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".split(" ").forEach(function(w){b[w]=new A(w,3,!1,w.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(w){b[w]=new A(w,3,!0,w,null,!1,!1)}),["capture","download"].forEach(function(w){b[w]=new A(w,4,!1,w,null,!1,!1)}),["cols","rows","size","span"].forEach(function(w){b[w]=new A(w,6,!1,w,null,!1,!1)}),["rowSpan","start"].forEach(function(w){b[w]=new A(w,5,!1,w.toLowerCase(),null,!1,!1)});var k=/[\-:]([a-z])/g;function O(w){return w[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".split(" ").forEach(function(w){var P=w.replace(k,O);b[P]=new A(P,1,!1,w,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(w){var P=w.replace(k,O);b[P]=new A(P,1,!1,w,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(w){var P=w.replace(k,O);b[P]=new A(P,1,!1,w,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(w){b[w]=new A(w,1,!1,w.toLowerCase(),null,!1,!1)}),b.xlinkHref=new A("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(w){b[w]=new A(w,1,!1,w.toLowerCase(),null,!0,!0)});var H={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},q=["Webkit","ms","Moz","O"];Object.keys(H).forEach(function(w){q.forEach(function(P){P=P+w.charAt(0).toUpperCase()+w.substring(1),H[P]=H[w]})});var G=/["'&<>]/;function Y(w){if(typeof w=="boolean"||typeof w=="number")return""+w;w=""+w;var P=G.exec(w);if(P){var z="",J,Te=0;for(J=P.index;J<w.length;J++){switch(w.charCodeAt(J)){case 34:P=""";break;case 38:P="&";break;case 39:P="'";break;case 60:P="<";break;case 62:P=">";break;default:continue}Te!==J&&(z+=w.substring(Te,J)),Te=J+1,z+=P}w=Te!==J?z+w.substring(Te,J):z}return w}var ue=/([A-Z])/g,ee=/^ms-/,fe=Array.isArray,N=m("<script>"),re=m("<\/script>"),K=m('<script src="'),ne=m('<script type="module" src="'),ie=m('" async=""><\/script>'),ce=/(<\/|<)(s)(cript)/gi;function me(w,P,z,J){return""+P+(z==="s"?"\\u0073":"\\u0053")+J}function le(w,P,z,J,Te){w=w===void 0?"":w,P=P===void 0?N:m('<script nonce="'+Y(P)+'">');var Ce=[];if(z!==void 0&&Ce.push(P,g((""+z).replace(ce,me)),re),J!==void 0)for(z=0;z<J.length;z++)Ce.push(K,g(Y(J[z])),ie);if(Te!==void 0)for(J=0;J<Te.length;J++)Ce.push(ne,g(Y(Te[J])),ie);return{bootstrapChunks:Ce,startInlineScript:P,placeholderPrefix:m(w+"P:"),segmentPrefix:m(w+"S:"),boundaryPrefix:w+"B:",idPrefix:w,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function be(w,P){return{insertionMode:w,selectedValue:P}}function ge(w){return be(w==="http://www.w3.org/2000/svg"?2:w==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function xe(w,P,z){switch(P){case"select":return be(1,z.value!=null?z.value:z.defaultValue);case"svg":return be(2,null);case"math":return be(3,null);case"foreignObject":return be(1,null);case"table":return be(4,null);case"thead":case"tbody":case"tfoot":return be(5,null);case"colgroup":return be(7,null);case"tr":return be(6,null)}return 4<=w.insertionMode||w.insertionMode===0?be(1,null):w}var Ie=m("<!-- -->");function Pe(w,P,z,J){return P===""?J:(J&&w.push(Ie),w.push(g(Y(P))),!0)}var Ve=new Map,Ee=m(' style="'),ot=m(":"),ht=m(";");function Ke(w,P,z){if(typeof z!="object")throw Error(e(62));P=!0;for(var J in z)if(T.call(z,J)){var Te=z[J];if(Te!=null&&typeof Te!="boolean"&&Te!==""){if(J.indexOf("--")===0){var Ce=g(Y(J));Te=g(Y((""+Te).trim()))}else{Ce=J;var ze=Ve.get(Ce);ze!==void 0||(ze=m(Y(Ce.replace(ue,"-$1").toLowerCase().replace(ee,"-ms-"))),Ve.set(Ce,ze)),Ce=ze,Te=typeof Te=="number"?Te===0||T.call(H,J)?g(""+Te):g(Te+"px"):g(Y((""+Te).trim()))}P?(P=!1,w.push(Ee,Ce,ot,Te)):w.push(ht,Ce,ot,Te)}}P||w.push(Ne)}var Ye=m(" "),Oe=m('="'),Ne=m('"'),Ae=m('=""');function Le(w,P,z,J){switch(z){case"style":Ke(w,P,J);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<z.length)||z[0]!=="o"&&z[0]!=="O"||z[1]!=="n"&&z[1]!=="N"){if(P=b.hasOwnProperty(z)?b[z]:null,P!==null){switch(typeof J){case"function":case"symbol":return;case"boolean":if(!P.acceptsBooleans)return}switch(z=g(P.attributeName),P.type){case 3:J&&w.push(Ye,z,Ae);break;case 4:J===!0?w.push(Ye,z,Ae):J!==!1&&w.push(Ye,z,Oe,g(Y(J)),Ne);break;case 5:isNaN(J)||w.push(Ye,z,Oe,g(Y(J)),Ne);break;case 6:!isNaN(J)&&1<=J&&w.push(Ye,z,Oe,g(Y(J)),Ne);break;default:P.sanitizeURL&&(J=""+J),w.push(Ye,z,Oe,g(Y(J)),Ne)}}else if(D(z)){switch(typeof J){case"function":case"symbol":return;case"boolean":if(P=z.toLowerCase().slice(0,5),P!=="data-"&&P!=="aria-")return}w.push(Ye,g(z),Oe,g(Y(J)),Ne)}}}var ke=m(">"),Je=m("/>");function ft(w,P,z){if(P!=null){if(z!=null)throw Error(e(60));if(typeof P!="object"||!("__html"in P))throw Error(e(61));P=P.__html,P!=null&&w.push(g(""+P))}}function xt(w){var P="";return r.Children.forEach(w,function(z){z!=null&&(P+=z)}),P}var St=m(' selected=""');function mt(w,P,z,J){w.push(ut(z));var Te=z=null,Ce;for(Ce in P)if(T.call(P,Ce)){var ze=P[Ce];if(ze!=null)switch(Ce){case"children":z=ze;break;case"dangerouslySetInnerHTML":Te=ze;break;default:Le(w,J,Ce,ze)}}return w.push(ke),ft(w,Te,z),typeof z=="string"?(w.push(g(Y(z))),null):z}var It=m(`
|
262
|
+
`),Ct=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ct=new Map;function ut(w){var P=ct.get(w);if(P===void 0){if(!Ct.test(w))throw Error(e(65,w));P=m("<"+w),ct.set(w,P)}return P}var et=m("<!DOCTYPE html>");function Se(w,P,z,J,Te){switch(P){case"select":w.push(ut("select"));var Ce=null,ze=null;for(tr in z)if(T.call(z,tr)){var dt=z[tr];if(dt!=null)switch(tr){case"children":Ce=dt;break;case"dangerouslySetInnerHTML":ze=dt;break;case"defaultValue":case"value":break;default:Le(w,J,tr,dt)}}return w.push(ke),ft(w,ze,Ce),Ce;case"option":ze=Te.selectedValue,w.push(ut("option"));var Bt=dt=null,cr=null,tr=null;for(Ce in z)if(T.call(z,Ce)){var Gr=z[Ce];if(Gr!=null)switch(Ce){case"children":dt=Gr;break;case"selected":cr=Gr;break;case"dangerouslySetInnerHTML":tr=Gr;break;case"value":Bt=Gr;default:Le(w,J,Ce,Gr)}}if(ze!=null)if(z=Bt!==null?""+Bt:xt(dt),fe(ze)){for(J=0;J<ze.length;J++)if(""+ze[J]===z){w.push(St);break}}else""+ze===z&&w.push(St);else cr&&w.push(St);return w.push(ke),ft(w,tr,dt),dt;case"textarea":w.push(ut("textarea")),tr=ze=Ce=null;for(dt in z)if(T.call(z,dt)&&(Bt=z[dt],Bt!=null))switch(dt){case"children":tr=Bt;break;case"value":Ce=Bt;break;case"defaultValue":ze=Bt;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:Le(w,J,dt,Bt)}if(Ce===null&&ze!==null&&(Ce=ze),w.push(ke),tr!=null){if(Ce!=null)throw Error(e(92));if(fe(tr)&&1<tr.length)throw Error(e(93));Ce=""+tr}return typeof Ce=="string"&&Ce[0]===`
|
263
|
+
`&&w.push(It),Ce!==null&&w.push(g(Y(""+Ce))),null;case"input":w.push(ut("input")),Bt=tr=dt=Ce=null;for(ze in z)if(T.call(z,ze)&&(cr=z[ze],cr!=null))switch(ze){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":Bt=cr;break;case"defaultValue":dt=cr;break;case"checked":tr=cr;break;case"value":Ce=cr;break;default:Le(w,J,ze,cr)}return tr!==null?Le(w,J,"checked",tr):Bt!==null&&Le(w,J,"checked",Bt),Ce!==null?Le(w,J,"value",Ce):dt!==null&&Le(w,J,"value",dt),w.push(Je),null;case"menuitem":w.push(ut("menuitem"));for(var ei in z)if(T.call(z,ei)&&(Ce=z[ei],Ce!=null))switch(ei){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:Le(w,J,ei,Ce)}return w.push(ke),null;case"title":w.push(ut("title")),Ce=null;for(Gr in z)if(T.call(z,Gr)&&(ze=z[Gr],ze!=null))switch(Gr){case"children":Ce=ze;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:Le(w,J,Gr,ze)}return w.push(ke),Ce;case"listing":case"pre":w.push(ut(P)),ze=Ce=null;for(Bt in z)if(T.call(z,Bt)&&(dt=z[Bt],dt!=null))switch(Bt){case"children":Ce=dt;break;case"dangerouslySetInnerHTML":ze=dt;break;default:Le(w,J,Bt,dt)}if(w.push(ke),ze!=null){if(Ce!=null)throw Error(e(60));if(typeof ze!="object"||!("__html"in ze))throw Error(e(61));z=ze.__html,z!=null&&(typeof z=="string"&&0<z.length&&z[0]===`
|
264
264
|
`?w.push(It,g(z)):w.push(g(""+z)))}return typeof Ce=="string"&&Ce[0]===`
|
265
|
-
`&&w.push(It),Ce;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":w.push(ut(P));for(var wi in z)if(T.call(z,wi)&&(Ce=z[wi],Ce!=null))switch(wi){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,P));default:Ne(w,J,wi,Ce)}return w.push(Je),null;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 mt(w,z,P,J);case"html":return Ae.insertionMode===0&&w.push(et),mt(w,z,P,J);default:if(P.indexOf("-")===-1&&typeof z.is!="string")return mt(w,z,P,J);w.push(ut(P)),ze=Ce=null;for(cr in z)if(T.call(z,cr)&&(dt=z[cr],dt!=null))switch(cr){case"children":Ce=dt;break;case"dangerouslySetInnerHTML":ze=dt;break;case"style":Ke(w,J,dt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:D(cr)&&typeof dt!="function"&&typeof dt!="symbol"&&w.push(Ye,g(cr),Oe,g(Y(dt)),ke)}return w.push(Re),ft(w,ze,Ce),Ce}}var Ze=m("</"),at=m(">"),gt=m('<template id="'),Tt=m('"></template>'),je=m("<!--$-->"),_t=m('<!--$?--><template id="'),Mt=m('"></template>'),vr=m("<!--$!-->"),nr=m("<!--/$-->"),Zt=m("<template"),he=m('"'),te=m(' data-dgst="');m(' data-msg="'),m(' data-stck="');var Fe=m("></template>");function Xe(w,P,z){if(i(w,_t),z===null)throw Error(e(395));return i(w,z),l(w,Mt)}var Lt=m('<div hidden id="'),vt=m('">'),wt=m("</div>"),Gt=m('<svg aria-hidden="true" style="display:none" id="'),Ft=m('">'),sr=m("</svg>"),dr=m('<math aria-hidden="true" style="display:none" id="'),Rr=m('">'),ur=m("</math>"),xr=m('<table hidden id="'),Wr=m('">'),st=m("</table>"),Rt=m('<table hidden><tbody id="'),bt=m('">'),Qe=m("</tbody></table>"),Nt=m('<table hidden><tr id="'),Q=m('">'),He=m("</tr></table>"),ht=m('<table hidden><colgroup id="'),Ot=m('">'),er=m("</colgroup></table>");function Yt(w,P,z,J){switch(z.insertionMode){case 0:case 1:return i(w,Lt),i(w,P.segmentPrefix),i(w,g(J.toString(16))),l(w,vt);case 2:return i(w,Gt),i(w,P.segmentPrefix),i(w,g(J.toString(16))),l(w,Ft);case 3:return i(w,dr),i(w,P.segmentPrefix),i(w,g(J.toString(16))),l(w,Rr);case 4:return i(w,xr),i(w,P.segmentPrefix),i(w,g(J.toString(16))),l(w,Wr);case 5:return i(w,Rt),i(w,P.segmentPrefix),i(w,g(J.toString(16))),l(w,bt);case 6:return i(w,Nt),i(w,P.segmentPrefix),i(w,g(J.toString(16))),l(w,Q);case 7:return i(w,ht),i(w,P.segmentPrefix),i(w,g(J.toString(16))),l(w,Ot);default:throw Error(e(397))}}function Dt(w,P){switch(P.insertionMode){case 0:case 1:return l(w,wt);case 2:return l(w,sr);case 3:return l(w,ur);case 4:return l(w,st);case 5:return l(w,Qe);case 6:return l(w,He);case 7:return l(w,er);default:throw Error(e(397))}}var Kt=m('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Mr=m('$RS("'),ar=m('","'),fr=m('")<\/script>'),zr=m('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),gr=m('$RC("'),Vn=m('","'),Sn=m('")<\/script>'),Mn=m('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Kr=m('$RX("'),Gn=m('"'),Tn=m(")<\/script>"),Zn=m(","),Yn=/[<\u2028\u2029]/g;function nn(w){return JSON.stringify(w).replace(Yn,function(P){switch(P){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Dn=Object.assign,Cn=Symbol.for("react.element"),di=Symbol.for("react.portal"),_i=Symbol.for("react.fragment"),xi=Symbol.for("react.strict_mode"),En=Symbol.for("react.profiler"),wn=Symbol.for("react.provider"),cn=Symbol.for("react.context"),Kn=Symbol.for("react.forward_ref"),on=Symbol.for("react.suspense"),dn=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),W=Symbol.for("react.scope"),X=Symbol.for("react.debug_trace_mode"),we=Symbol.for("react.legacy_hidden"),ye=Symbol.for("react.default_value"),Me=Symbol.iterator;function tt(w){if(w==null)return null;if(typeof w=="function")return w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case _i:return"Fragment";case di:return"Portal";case En:return"Profiler";case xi:return"StrictMode";case on:return"Suspense";case dn:return"SuspenseList"}if(typeof w=="object")switch(w.$$typeof){case cn:return(w.displayName||"Context")+".Consumer";case wn:return(w._context.displayName||"Context")+".Provider";case Kn:var P=w.render;return w=w.displayName,w||(w=P.displayName||P.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case x:return P=w.displayName||null,P!==null?P:tt(w.type)||"Memo";case j:P=w._payload,w=w._init;try{return tt(w(P))}catch{}}return null}var At={};function jt(w,P){if(w=w.contextTypes,!w)return At;var z={},J;for(J in w)z[J]=P[J];return z}var Pt=null;function br(w,P){if(w!==P){w.context._currentValue=w.parentValue,w=w.parent;var z=P.parent;if(w===null){if(z!==null)throw Error(e(401))}else{if(z===null)throw Error(e(401));br(w,z)}P.context._currentValue=P.value}}function Zr(w){w.context._currentValue=w.parentValue,w=w.parent,w!==null&&Zr(w)}function vn(w){var P=w.parent;P!==null&&vn(P),w.context._currentValue=w.value}function yn(w,P){if(w.context._currentValue=w.parentValue,w=w.parent,w===null)throw Error(e(402));w.depth===P.depth?br(w,P):yn(w,P)}function ai(w,P){var z=P.parent;if(z===null)throw Error(e(402));w.depth===z.depth?br(w,z):ai(w,z),P.context._currentValue=P.value}function Nn(w){var P=Pt;P!==w&&(P===null?vn(w):w===null?Zr(P):P.depth===w.depth?br(P,w):P.depth>w.depth?yn(P,w):ai(P,w),Pt=w)}var Si={isMounted:function(){return!1},enqueueSetState:function(w,P){w=w._reactInternals,w.queue!==null&&w.queue.push(P)},enqueueReplaceState:function(w,P){w=w._reactInternals,w.replace=!0,w.queue=[P]},enqueueForceUpdate:function(){}};function Xr(w,P,z,J){var Ae=w.state!==void 0?w.state:null;w.updater=Si,w.props=z,w.state=Ae;var Ce={queue:[],replace:!1};w._reactInternals=Ce;var ze=P.contextType;if(w.context=typeof ze=="object"&&ze!==null?ze._currentValue:J,ze=P.getDerivedStateFromProps,typeof ze=="function"&&(ze=ze(z,Ae),Ae=ze==null?Ae:Dn({},Ae,ze),w.state=Ae),typeof P.getDerivedStateFromProps!="function"&&typeof w.getSnapshotBeforeUpdate!="function"&&(typeof w.UNSAFE_componentWillMount=="function"||typeof w.componentWillMount=="function"))if(P=w.state,typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount(),P!==w.state&&Si.enqueueReplaceState(w,w.state,null),Ce.queue!==null&&0<Ce.queue.length)if(P=Ce.queue,ze=Ce.replace,Ce.queue=null,Ce.replace=!1,ze&&P.length===1)w.state=P[0];else{for(Ce=ze?P[0]:w.state,Ae=!0,ze=ze?1:0;ze<P.length;ze++){var dt=P[ze];dt=typeof dt=="function"?dt.call(w,Ce,z,J):dt,dt!=null&&(Ae?(Ae=!1,Ce=Dn({},Ce,dt)):Dn(Ce,dt))}w.state=Ce}else Ce.queue=null}var hi={id:1,overflow:""};function jn(w,P,z){var J=w.id;w=w.overflow;var Ae=32-Xn(J)-1;J&=~(1<<Ae),z+=1;var Ce=32-Xn(P)+Ae;if(30<Ce){var ze=Ae-Ae%5;return Ce=(J&(1<<ze)-1).toString(32),J>>=ze,Ae-=ze,{id:1<<32-Xn(P)+Ae|z<<Ae|J,overflow:Ce+w}}return{id:1<<Ce|z<<Ae|J,overflow:w}}var Xn=Math.clz32?Math.clz32:to,yo=Math.log,eo=Math.LN2;function to(w){return w>>>=0,w===0?32:31-(yo(w)/eo|0)|0}function kn(w,P){return w===P&&(w!==0||1/w===1/P)||w!==w&&P!==P}var bo=typeof Object.is=="function"?Object.is:kn,Jn=null,Qn=null,Hi=null,Dr=null,Sr=!1,Ir=!1,R=0,V=null,le=0;function De(){if(Jn===null)throw Error(e(321));return Jn}function Ut(){if(0<le)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function qt(){return Dr===null?Hi===null?(Sr=!1,Hi=Dr=Ut()):(Sr=!0,Dr=Hi):Dr.next===null?(Sr=!1,Dr=Dr.next=Ut()):(Sr=!0,Dr=Dr.next),Dr}function hr(){Qn=Jn=null,Ir=!1,Hi=null,le=0,Dr=V=null}function _r(w,P){return typeof P=="function"?P(w):P}function lr(w,P,z){if(Jn=De(),Dr=qt(),Sr){var J=Dr.queue;if(P=J.dispatch,V!==null&&(z=V.get(J),z!==void 0)){V.delete(J),J=Dr.memoizedState;do J=w(J,z.action),z=z.next;while(z!==null);return Dr.memoizedState=J,[J,P]}return[Dr.memoizedState,P]}return w=w===_r?typeof P=="function"?P():P:z!==void 0?z(P):P,Dr.memoizedState=w,w=Dr.queue={last:null,dispatch:null},w=w.dispatch=Jr.bind(null,Jn,w),[Dr.memoizedState,w]}function Cr(w,P){if(Jn=De(),Dr=qt(),P=P===void 0?null:P,Dr!==null){var z=Dr.memoizedState;if(z!==null&&P!==null){var J=z[1];e:if(J===null)J=!1;else{for(var Ae=0;Ae<J.length&&Ae<P.length;Ae++)if(!bo(P[Ae],J[Ae])){J=!1;break e}J=!0}if(J)return z[0]}}return w=w(),Dr.memoizedState=[w,P],w}function Jr(w,P,z){if(25<=le)throw Error(e(301));if(w===Jn)if(Ir=!0,w={action:z,next:null},V===null&&(V=new Map),z=V.get(P),z===void 0)V.set(P,w);else{for(P=z;P.next!==null;)P=P.next;P.next=w}}function Rn(){throw Error(e(394))}function Vr(){}var jr={readContext:function(w){return w._currentValue},useContext:function(w){return De(),w._currentValue},useMemo:Cr,useReducer:lr,useRef:function(w){Jn=De(),Dr=qt();var P=Dr.memoizedState;return P===null?(w={current:w},Dr.memoizedState=w):P},useState:function(w){return lr(_r,w)},useInsertionEffect:Vr,useLayoutEffect:function(){},useCallback:function(w,P){return Cr(function(){return w},P)},useImperativeHandle:Vr,useEffect:Vr,useDebugValue:Vr,useDeferredValue:function(w){return De(),w},useTransition:function(){return De(),[!1,Rn]},useId:function(){var w=Qn.treeContext,P=w.overflow;w=w.id,w=(w&~(1<<32-Xn(w)-1)).toString(32)+P;var z=Qr;if(z===null)throw Error(e(404));return P=R++,w=":"+z.idPrefix+"R"+w,0<P&&(w+="H"+P.toString(32)),w+":"},useMutableSource:function(w,P){return De(),P(w._source)},useSyncExternalStore:function(w,P,z){if(z===void 0)throw Error(e(407));return z()}},Qr=null,li=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function pi(w){return console.error(w),null}function Fn(){}function _o(w,P,z,J,Ae,Ce,ze,dt,Bt){var cr=[],tr=new Set;return P={destination:null,responseState:P,progressiveChunkSize:J===void 0?12800:J,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:tr,pingedTasks:cr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Ae===void 0?pi:Ae,onAllReady:Ce===void 0?Fn:Ce,onShellReady:ze===void 0?Fn:ze,onShellError:dt===void 0?Fn:dt,onFatalError:Bt===void 0?Fn:Bt},z=sn(P,0,null,z,!1,!1),z.parentFlushed=!0,w=zi(P,w,null,z,tr,At,null,hi),cr.push(w),P}function zi(w,P,z,J,Ae,Ce,ze,dt){w.allPendingTasks++,z===null?w.pendingRootTasks++:z.pendingTasks++;var Bt={node:P,ping:function(){var cr=w.pingedTasks;cr.push(Bt),cr.length===1&&fl(w)},blockedBoundary:z,blockedSegment:J,abortSet:Ae,legacyContext:Ce,context:ze,treeContext:dt};return Ae.add(Bt),Bt}function sn(w,P,z,J,Ae,Ce){return{status:0,id:-1,index:P,parentFlushed:!1,chunks:[],children:[],formatContext:J,boundary:z,lastPushedText:Ae,textEmbedded:Ce}}function ds(w,P){if(w=w.onError(P),w!=null&&typeof w!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof w+'" instead');return w}function Bn(w,P){var z=w.onShellError;z(P),z=w.onFatalError,z(P),w.destination!==null?(w.status=2,M(w.destination,P)):(w.status=1,w.fatalError=P)}function ll(w,P,z,J,Ae){for(Jn={},Qn=P,R=0,w=z(J,Ae);Ir;)Ir=!1,R=0,le+=1,Dr=null,w=z(J,Ae);return hr(),w}function Ca(w,P,z,J){var Ae=z.render(),Ce=J.childContextTypes;if(Ce!=null){var ze=P.legacyContext;if(typeof z.getChildContext!="function")J=ze;else{z=z.getChildContext();for(var dt in z)if(!(dt in Ce))throw Error(e(108,tt(J)||"Unknown",dt));J=Dn({},ze,z)}P.legacyContext=J,qn(w,P,Ae),P.legacyContext=ze}else qn(w,P,Ae)}function $i(w,P){if(w&&w.defaultProps){P=Dn({},P),w=w.defaultProps;for(var z in w)P[z]===void 0&&(P[z]=w[z]);return P}return P}function xo(w,P,z,J,Ae){if(typeof z=="function")if(z.prototype&&z.prototype.isReactComponent){Ae=jt(z,P.legacyContext);var Ce=z.contextType;Ce=new z(J,typeof Ce=="object"&&Ce!==null?Ce._currentValue:Ae),Xr(Ce,z,J,Ae),Ca(w,P,Ce,z)}else{Ce=jt(z,P.legacyContext),Ae=ll(w,P,z,J,Ce);var ze=R!==0;if(typeof Ae=="object"&&Ae!==null&&typeof Ae.render=="function"&&Ae.$$typeof===void 0)Xr(Ae,z,J,Ce),Ca(w,P,Ae,z);else if(ze){J=P.treeContext,P.treeContext=jn(J,1,0);try{qn(w,P,Ae)}finally{P.treeContext=J}}else qn(w,P,Ae)}else if(typeof z=="string"){switch(Ae=P.blockedSegment,Ce=Se(Ae.chunks,z,J,w.responseState,Ae.formatContext),Ae.lastPushedText=!1,ze=Ae.formatContext,Ae.formatContext=xe(ze,z,J),Ci(w,P,Ce),Ae.formatContext=ze,z){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Ae.chunks.push(Ze,g(z),at)}Ae.lastPushedText=!1}else{switch(z){case we:case X:case xi:case En:case _i:qn(w,P,J.children);return;case dn:qn(w,P,J.children);return;case W:throw Error(e(343));case on:e:{z=P.blockedBoundary,Ae=P.blockedSegment,Ce=J.fallback,J=J.children,ze=new Set;var dt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:ze,errorDigest:null},Bt=sn(w,Ae.chunks.length,dt,Ae.formatContext,!1,!1);Ae.children.push(Bt),Ae.lastPushedText=!1;var cr=sn(w,0,null,Ae.formatContext,!1,!1);cr.parentFlushed=!0,P.blockedBoundary=dt,P.blockedSegment=cr;try{if(Ci(w,P,J),cr.lastPushedText&&cr.textEmbedded&&cr.chunks.push(Le),cr.status=1,zo(dt,cr),dt.pendingTasks===0)break e}catch(tr){cr.status=4,dt.forceClientRender=!0,dt.errorDigest=ds(w,tr)}finally{P.blockedBoundary=z,P.blockedSegment=Ae}P=zi(w,Ce,z,Bt,ze,P.legacyContext,P.context,P.treeContext),w.pingedTasks.push(P)}return}if(typeof z=="object"&&z!==null)switch(z.$$typeof){case Kn:if(J=ll(w,P,z.render,J,Ae),R!==0){z=P.treeContext,P.treeContext=jn(z,1,0);try{qn(w,P,J)}finally{P.treeContext=z}}else qn(w,P,J);return;case x:z=z.type,J=$i(z,J),xo(w,P,z,J,Ae);return;case wn:if(Ae=J.children,z=z._context,J=J.value,Ce=z._currentValue,z._currentValue=J,ze=Pt,Pt=J={parent:ze,depth:ze===null?0:ze.depth+1,context:z,parentValue:Ce,value:J},P.context=J,qn(w,P,Ae),w=Pt,w===null)throw Error(e(403));J=w.parentValue,w.context._currentValue=J===ye?w.context._defaultValue:J,w=Pt=w.parent,P.context=w;return;case cn:J=J.children,J=J(z._currentValue),qn(w,P,J);return;case j:Ae=z._init,z=Ae(z._payload),J=$i(z,J),xo(w,P,z,J,void 0);return}throw Error(e(130,z==null?z:typeof z,""))}}function qn(w,P,z){if(P.node=z,typeof z=="object"&&z!==null){switch(z.$$typeof){case Cn:xo(w,P,z.type,z.props,z.ref);return;case di:throw Error(e(257));case j:var J=z._init;z=J(z._payload),qn(w,P,z);return}if(fe(z)){Yr(w,P,z);return}if(z===null||typeof z!="object"?J=null:(J=Me&&z[Me]||z["@@iterator"],J=typeof J=="function"?J:null),J&&(J=J.call(z))){if(z=J.next(),!z.done){var Ae=[];do Ae.push(z.value),z=J.next();while(!z.done);Yr(w,P,Ae)}return}throw w=Object.prototype.toString.call(z),Error(e(31,w==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":w))}typeof z=="string"?(J=P.blockedSegment,J.lastPushedText=Pe(P.blockedSegment.chunks,z,w.responseState,J.lastPushedText)):typeof z=="number"&&(J=P.blockedSegment,J.lastPushedText=Pe(P.blockedSegment.chunks,""+z,w.responseState,J.lastPushedText))}function Yr(w,P,z){for(var J=z.length,Ae=0;Ae<J;Ae++){var Ce=P.treeContext;P.treeContext=jn(Ce,J,Ae);try{Ci(w,P,z[Ae])}finally{P.treeContext=Ce}}}function Ci(w,P,z){var J=P.blockedSegment.formatContext,Ae=P.legacyContext,Ce=P.context;try{return qn(w,P,z)}catch(Bt){if(hr(),typeof Bt=="object"&&Bt!==null&&typeof Bt.then=="function"){z=Bt;var ze=P.blockedSegment,dt=sn(w,ze.chunks.length,null,ze.formatContext,ze.lastPushedText,!0);ze.children.push(dt),ze.lastPushedText=!1,w=zi(w,P.node,P.blockedBoundary,dt,P.abortSet,P.legacyContext,P.context,P.treeContext).ping,z.then(w,w),P.blockedSegment.formatContext=J,P.legacyContext=Ae,P.context=Ce,Nn(Ce)}else throw P.blockedSegment.formatContext=J,P.legacyContext=Ae,P.context=Ce,Nn(Ce),Bt}}function wa(w){var P=w.blockedBoundary;w=w.blockedSegment,w.status=3,ul(this,P,w)}function cl(w,P,z){var J=w.blockedBoundary;w.blockedSegment.status=3,J===null?(P.allPendingTasks--,P.status!==2&&(P.status=2,P.destination!==null&&P.destination.close())):(J.pendingTasks--,J.forceClientRender||(J.forceClientRender=!0,w=z===void 0?Error(e(432)):z,J.errorDigest=P.onError(w),J.parentFlushed&&P.clientRenderedBoundaries.push(J)),J.fallbackAbortableTasks.forEach(function(Ae){return cl(Ae,P,z)}),J.fallbackAbortableTasks.clear(),P.allPendingTasks--,P.allPendingTasks===0&&(J=P.onAllReady,J()))}function zo(w,P){if(P.chunks.length===0&&P.children.length===1&&P.children[0].boundary===null){var z=P.children[0];z.id=P.id,z.parentFlushed=!0,z.status===1&&zo(w,z)}else w.completedSegments.push(P)}function ul(w,P,z){if(P===null){if(z.parentFlushed){if(w.completedRootSegment!==null)throw Error(e(389));w.completedRootSegment=z}w.pendingRootTasks--,w.pendingRootTasks===0&&(w.onShellError=Fn,P=w.onShellReady,P())}else P.pendingTasks--,P.forceClientRender||(P.pendingTasks===0?(z.parentFlushed&&z.status===1&&zo(P,z),P.parentFlushed&&w.completedBoundaries.push(P),P.fallbackAbortableTasks.forEach(wa,w),P.fallbackAbortableTasks.clear()):z.parentFlushed&&z.status===1&&(zo(P,z),P.completedSegments.length===1&&P.parentFlushed&&w.partialBoundaries.push(P)));w.allPendingTasks--,w.allPendingTasks===0&&(w=w.onAllReady,w())}function fl(w){if(w.status!==2){var P=Pt,z=li.current;li.current=jr;var J=Qr;Qr=w.responseState;try{var Ae=w.pingedTasks,Ce;for(Ce=0;Ce<Ae.length;Ce++){var ze=Ae[Ce],dt=w,Bt=ze.blockedSegment;if(Bt.status===0){Nn(ze.context);try{qn(dt,ze,ze.node),Bt.lastPushedText&&Bt.textEmbedded&&Bt.chunks.push(Le),ze.abortSet.delete(ze),Bt.status=1,ul(dt,ze.blockedBoundary,Bt)}catch(Ai){if(hr(),typeof Ai=="object"&&Ai!==null&&typeof Ai.then=="function"){var cr=ze.ping;Ai.then(cr,cr)}else{ze.abortSet.delete(ze),Bt.status=4;var tr=ze.blockedBoundary,Gr=Ai,ei=ds(dt,Gr);if(tr===null?Bn(dt,Gr):(tr.pendingTasks--,tr.forceClientRender||(tr.forceClientRender=!0,tr.errorDigest=ei,tr.parentFlushed&&dt.clientRenderedBoundaries.push(tr))),dt.allPendingTasks--,dt.allPendingTasks===0){var wi=dt.onAllReady;wi()}}}finally{}}}Ae.splice(0,Ce),w.destination!==null&&Vs(w,w.destination)}catch(Ai){ds(w,Ai),Bn(w,Ai)}finally{Qr=J,li.current=z,z===jr&&Nn(P)}}}function Ws(w,P,z){switch(z.parentFlushed=!0,z.status){case 0:var J=z.id=w.nextSegmentId++;return z.lastPushedText=!1,z.textEmbedded=!1,w=w.responseState,i(P,gt),i(P,w.placeholderPrefix),w=g(J.toString(16)),i(P,w),l(P,Tt);case 1:z.status=2;var Ae=!0;J=z.chunks;var Ce=0;z=z.children;for(var ze=0;ze<z.length;ze++){for(Ae=z[ze];Ce<Ae.index;Ce++)i(P,J[Ce]);Ae=hs(w,P,Ae)}for(;Ce<J.length-1;Ce++)i(P,J[Ce]);return Ce<J.length&&(Ae=l(P,J[Ce])),Ae;default:throw Error(e(390))}}function hs(w,P,z){var J=z.boundary;if(J===null)return Ws(w,P,z);if(J.parentFlushed=!0,J.forceClientRender)J=J.errorDigest,l(P,vr),i(P,Zt),J&&(i(P,te),i(P,g(Y(J))),i(P,he)),l(P,Fe),Ws(w,P,z);else if(0<J.pendingTasks){J.rootSegmentID=w.nextSegmentId++,0<J.completedSegments.length&&w.partialBoundaries.push(J);var Ae=w.responseState,Ce=Ae.nextSuspenseID++;Ae=m(Ae.boundaryPrefix+Ce.toString(16)),J=J.id=Ae,Xe(P,w.responseState,J),Ws(w,P,z)}else if(J.byteSize>w.progressiveChunkSize)J.rootSegmentID=w.nextSegmentId++,w.completedBoundaries.push(J),Xe(P,w.responseState,J.id),Ws(w,P,z);else{if(l(P,je),z=J.completedSegments,z.length!==1)throw Error(e(391));hs(w,P,z[0])}return l(P,nr)}function ps(w,P,z){return Yt(P,w.responseState,z.formatContext,z.id),hs(w,P,z),Dt(P,z.formatContext)}function So(w,P,z){for(var J=z.completedSegments,Ae=0;Ae<J.length;Ae++)dl(w,P,z,J[Ae]);if(J.length=0,w=w.responseState,J=z.id,z=z.rootSegmentID,i(P,w.startInlineScript),w.sentCompleteBoundaryFunction?i(P,gr):(w.sentCompleteBoundaryFunction=!0,i(P,zr)),J===null)throw Error(e(395));return z=g(z.toString(16)),i(P,J),i(P,Vn),i(P,w.segmentPrefix),i(P,z),l(P,Sn)}function dl(w,P,z,J){if(J.status===2)return!0;var Ae=J.id;if(Ae===-1){if((J.id=z.rootSegmentID)===-1)throw Error(e(392));return ps(w,P,J)}return ps(w,P,J),w=w.responseState,i(P,w.startInlineScript),w.sentCompleteSegmentFunction?i(P,Mr):(w.sentCompleteSegmentFunction=!0,i(P,Kt)),i(P,w.segmentPrefix),Ae=g(Ae.toString(16)),i(P,Ae),i(P,ar),i(P,w.placeholderPrefix),i(P,Ae),l(P,fr)}function Vs(w,P){t=new Uint8Array(512),n=0;try{var z=w.completedRootSegment;if(z!==null&&w.pendingRootTasks===0){hs(w,P,z),w.completedRootSegment=null;var J=w.responseState.bootstrapChunks;for(z=0;z<J.length-1;z++)i(P,J[z]);z<J.length&&l(P,J[z])}var Ae=w.clientRenderedBoundaries,Ce;for(Ce=0;Ce<Ae.length;Ce++){var ze=Ae[Ce];J=P;var dt=w.responseState,Bt=ze.id,cr=ze.errorDigest,tr=ze.errorMessage,Gr=ze.errorComponentStack;if(i(J,dt.startInlineScript),dt.sentClientRenderFunction?i(J,Kr):(dt.sentClientRenderFunction=!0,i(J,Mn)),Bt===null)throw Error(e(395));i(J,Bt),i(J,Gn),(cr||tr||Gr)&&(i(J,Zn),i(J,g(nn(cr||"")))),(tr||Gr)&&(i(J,Zn),i(J,g(nn(tr||"")))),Gr&&(i(J,Zn),i(J,g(nn(Gr)))),l(J,Tn)}Ae.splice(0,Ce);var ei=w.completedBoundaries;for(Ce=0;Ce<ei.length;Ce++)So(w,P,ei[Ce]);ei.splice(0,Ce),u(P),t=new Uint8Array(512),n=0;var wi=w.partialBoundaries;for(Ce=0;Ce<wi.length;Ce++){var Ai=wi[Ce];e:{Ae=w,ze=P;var Gs=Ai.completedSegments;for(dt=0;dt<Gs.length;dt++)if(!dl(Ae,ze,Ai,Gs[dt])){dt++,Gs.splice(0,dt);var hl=!1;break e}Gs.splice(0,dt),hl=!0}if(!hl){w.destination=null,Ce++,wi.splice(0,Ce);return}}wi.splice(0,Ce);var gs=w.completedBoundaries;for(Ce=0;Ce<gs.length;Ce++)So(w,P,gs[Ce]);gs.splice(0,Ce)}finally{u(P),w.allPendingTasks===0&&w.pingedTasks.length===0&&w.clientRenderedBoundaries.length===0&&w.completedBoundaries.length===0&&P.close()}}function Aa(w,P){try{var z=w.abortableTasks;z.forEach(function(J){return cl(J,w,P)}),z.clear(),w.destination!==null&&Vs(w,w.destination)}catch(J){ds(w,J),Bn(w,J)}}return jd.renderToReadableStream=function(w,P){return new Promise(function(z,J){var Ae,Ce,ze=new Promise(function(tr,Gr){Ce=tr,Ae=Gr}),dt=_o(w,ae(P?P.identifierPrefix:void 0,P?P.nonce:void 0,P?P.bootstrapScriptContent:void 0,P?P.bootstrapScripts:void 0,P?P.bootstrapModules:void 0),ge(P?P.namespaceURI:void 0),P?P.progressiveChunkSize:void 0,P?P.onError:void 0,Ce,function(){var tr=new ReadableStream({type:"bytes",pull:function(Gr){if(dt.status===1)dt.status=2,M(Gr,dt.fatalError);else if(dt.status!==2&&dt.destination===null){dt.destination=Gr;try{Vs(dt,Gr)}catch(ei){ds(dt,ei),Bn(dt,ei)}}},cancel:function(){Aa(dt)}},{highWaterMark:0});tr.allReady=ze,z(tr)},function(tr){ze.catch(function(){}),J(tr)},Ae);if(P&&P.signal){var Bt=P.signal,cr=function(){Aa(dt,Bt.reason),Bt.removeEventListener("abort",cr)};Bt.addEventListener("abort",cr)}fl(dt)})},jd.version="18.2.0",jd}var zc={};/**
|
265
|
+
`&&w.push(It),Ce;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":w.push(ut(P));for(var wi in z)if(T.call(z,wi)&&(Ce=z[wi],Ce!=null))switch(wi){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,P));default:Le(w,J,wi,Ce)}return w.push(Je),null;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 mt(w,z,P,J);case"html":return Te.insertionMode===0&&w.push(et),mt(w,z,P,J);default:if(P.indexOf("-")===-1&&typeof z.is!="string")return mt(w,z,P,J);w.push(ut(P)),ze=Ce=null;for(cr in z)if(T.call(z,cr)&&(dt=z[cr],dt!=null))switch(cr){case"children":Ce=dt;break;case"dangerouslySetInnerHTML":ze=dt;break;case"style":Ke(w,J,dt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:D(cr)&&typeof dt!="function"&&typeof dt!="symbol"&&w.push(Ye,g(cr),Oe,g(Y(dt)),Ne)}return w.push(ke),ft(w,ze,Ce),Ce}}var Ze=m("</"),at=m(">"),gt=m('<template id="'),Tt=m('"></template>'),je=m("<!--$-->"),_t=m('<!--$?--><template id="'),Mt=m('"></template>'),vr=m("<!--$!-->"),nr=m("<!--/$-->"),Zt=m("<template"),he=m('"'),te=m(' data-dgst="');m(' data-msg="'),m(' data-stck="');var Fe=m("></template>");function Xe(w,P,z){if(i(w,_t),z===null)throw Error(e(395));return i(w,z),l(w,Mt)}var Lt=m('<div hidden id="'),vt=m('">'),wt=m("</div>"),Gt=m('<svg aria-hidden="true" style="display:none" id="'),Ft=m('">'),sr=m("</svg>"),dr=m('<math aria-hidden="true" style="display:none" id="'),Rr=m('">'),ur=m("</math>"),xr=m('<table hidden id="'),Wr=m('">'),st=m("</table>"),Rt=m('<table hidden><tbody id="'),bt=m('">'),Qe=m("</tbody></table>"),Nt=m('<table hidden><tr id="'),Q=m('">'),He=m("</tr></table>"),pt=m('<table hidden><colgroup id="'),Ot=m('">'),er=m("</colgroup></table>");function Yt(w,P,z,J){switch(z.insertionMode){case 0:case 1:return i(w,Lt),i(w,P.segmentPrefix),i(w,g(J.toString(16))),l(w,vt);case 2:return i(w,Gt),i(w,P.segmentPrefix),i(w,g(J.toString(16))),l(w,Ft);case 3:return i(w,dr),i(w,P.segmentPrefix),i(w,g(J.toString(16))),l(w,Rr);case 4:return i(w,xr),i(w,P.segmentPrefix),i(w,g(J.toString(16))),l(w,Wr);case 5:return i(w,Rt),i(w,P.segmentPrefix),i(w,g(J.toString(16))),l(w,bt);case 6:return i(w,Nt),i(w,P.segmentPrefix),i(w,g(J.toString(16))),l(w,Q);case 7:return i(w,pt),i(w,P.segmentPrefix),i(w,g(J.toString(16))),l(w,Ot);default:throw Error(e(397))}}function Dt(w,P){switch(P.insertionMode){case 0:case 1:return l(w,wt);case 2:return l(w,sr);case 3:return l(w,ur);case 4:return l(w,st);case 5:return l(w,Qe);case 6:return l(w,He);case 7:return l(w,er);default:throw Error(e(397))}}var Kt=m('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Mr=m('$RS("'),ar=m('","'),fr=m('")<\/script>'),zr=m('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),gr=m('$RC("'),Vn=m('","'),Sn=m('")<\/script>'),Mn=m('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Kr=m('$RX("'),Gn=m('"'),Tn=m(")<\/script>"),Zn=m(","),Yn=/[<\u2028\u2029]/g;function nn(w){return JSON.stringify(w).replace(Yn,function(P){switch(P){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Dn=Object.assign,Cn=Symbol.for("react.element"),di=Symbol.for("react.portal"),_i=Symbol.for("react.fragment"),xi=Symbol.for("react.strict_mode"),En=Symbol.for("react.profiler"),wn=Symbol.for("react.provider"),cn=Symbol.for("react.context"),Kn=Symbol.for("react.forward_ref"),on=Symbol.for("react.suspense"),dn=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),W=Symbol.for("react.scope"),X=Symbol.for("react.debug_trace_mode"),we=Symbol.for("react.legacy_hidden"),ye=Symbol.for("react.default_value"),Me=Symbol.iterator;function tt(w){if(w==null)return null;if(typeof w=="function")return w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case _i:return"Fragment";case di:return"Portal";case En:return"Profiler";case xi:return"StrictMode";case on:return"Suspense";case dn:return"SuspenseList"}if(typeof w=="object")switch(w.$$typeof){case cn:return(w.displayName||"Context")+".Consumer";case wn:return(w._context.displayName||"Context")+".Provider";case Kn:var P=w.render;return w=w.displayName,w||(w=P.displayName||P.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case x:return P=w.displayName||null,P!==null?P:tt(w.type)||"Memo";case j:P=w._payload,w=w._init;try{return tt(w(P))}catch{}}return null}var At={};function jt(w,P){if(w=w.contextTypes,!w)return At;var z={},J;for(J in w)z[J]=P[J];return z}var Pt=null;function br(w,P){if(w!==P){w.context._currentValue=w.parentValue,w=w.parent;var z=P.parent;if(w===null){if(z!==null)throw Error(e(401))}else{if(z===null)throw Error(e(401));br(w,z)}P.context._currentValue=P.value}}function Zr(w){w.context._currentValue=w.parentValue,w=w.parent,w!==null&&Zr(w)}function vn(w){var P=w.parent;P!==null&&vn(P),w.context._currentValue=w.value}function yn(w,P){if(w.context._currentValue=w.parentValue,w=w.parent,w===null)throw Error(e(402));w.depth===P.depth?br(w,P):yn(w,P)}function ai(w,P){var z=P.parent;if(z===null)throw Error(e(402));w.depth===z.depth?br(w,z):ai(w,z),P.context._currentValue=P.value}function Nn(w){var P=Pt;P!==w&&(P===null?vn(w):w===null?Zr(P):P.depth===w.depth?br(P,w):P.depth>w.depth?yn(P,w):ai(P,w),Pt=w)}var Si={isMounted:function(){return!1},enqueueSetState:function(w,P){w=w._reactInternals,w.queue!==null&&w.queue.push(P)},enqueueReplaceState:function(w,P){w=w._reactInternals,w.replace=!0,w.queue=[P]},enqueueForceUpdate:function(){}};function Xr(w,P,z,J){var Te=w.state!==void 0?w.state:null;w.updater=Si,w.props=z,w.state=Te;var Ce={queue:[],replace:!1};w._reactInternals=Ce;var ze=P.contextType;if(w.context=typeof ze=="object"&&ze!==null?ze._currentValue:J,ze=P.getDerivedStateFromProps,typeof ze=="function"&&(ze=ze(z,Te),Te=ze==null?Te:Dn({},Te,ze),w.state=Te),typeof P.getDerivedStateFromProps!="function"&&typeof w.getSnapshotBeforeUpdate!="function"&&(typeof w.UNSAFE_componentWillMount=="function"||typeof w.componentWillMount=="function"))if(P=w.state,typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount(),P!==w.state&&Si.enqueueReplaceState(w,w.state,null),Ce.queue!==null&&0<Ce.queue.length)if(P=Ce.queue,ze=Ce.replace,Ce.queue=null,Ce.replace=!1,ze&&P.length===1)w.state=P[0];else{for(Ce=ze?P[0]:w.state,Te=!0,ze=ze?1:0;ze<P.length;ze++){var dt=P[ze];dt=typeof dt=="function"?dt.call(w,Ce,z,J):dt,dt!=null&&(Te?(Te=!1,Ce=Dn({},Ce,dt)):Dn(Ce,dt))}w.state=Ce}else Ce.queue=null}var hi={id:1,overflow:""};function jn(w,P,z){var J=w.id;w=w.overflow;var Te=32-Xn(J)-1;J&=~(1<<Te),z+=1;var Ce=32-Xn(P)+Te;if(30<Ce){var ze=Te-Te%5;return Ce=(J&(1<<ze)-1).toString(32),J>>=ze,Te-=ze,{id:1<<32-Xn(P)+Te|z<<Te|J,overflow:Ce+w}}return{id:1<<Ce|z<<Te|J,overflow:w}}var Xn=Math.clz32?Math.clz32:to,yo=Math.log,eo=Math.LN2;function to(w){return w>>>=0,w===0?32:31-(yo(w)/eo|0)|0}function kn(w,P){return w===P&&(w!==0||1/w===1/P)||w!==w&&P!==P}var bo=typeof Object.is=="function"?Object.is:kn,Jn=null,Qn=null,Hi=null,Dr=null,Sr=!1,Ir=!1,R=0,V=null,ae=0;function De(){if(Jn===null)throw Error(e(321));return Jn}function Ut(){if(0<ae)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function qt(){return Dr===null?Hi===null?(Sr=!1,Hi=Dr=Ut()):(Sr=!0,Dr=Hi):Dr.next===null?(Sr=!1,Dr=Dr.next=Ut()):(Sr=!0,Dr=Dr.next),Dr}function hr(){Qn=Jn=null,Ir=!1,Hi=null,ae=0,Dr=V=null}function _r(w,P){return typeof P=="function"?P(w):P}function lr(w,P,z){if(Jn=De(),Dr=qt(),Sr){var J=Dr.queue;if(P=J.dispatch,V!==null&&(z=V.get(J),z!==void 0)){V.delete(J),J=Dr.memoizedState;do J=w(J,z.action),z=z.next;while(z!==null);return Dr.memoizedState=J,[J,P]}return[Dr.memoizedState,P]}return w=w===_r?typeof P=="function"?P():P:z!==void 0?z(P):P,Dr.memoizedState=w,w=Dr.queue={last:null,dispatch:null},w=w.dispatch=Jr.bind(null,Jn,w),[Dr.memoizedState,w]}function Cr(w,P){if(Jn=De(),Dr=qt(),P=P===void 0?null:P,Dr!==null){var z=Dr.memoizedState;if(z!==null&&P!==null){var J=z[1];e:if(J===null)J=!1;else{for(var Te=0;Te<J.length&&Te<P.length;Te++)if(!bo(P[Te],J[Te])){J=!1;break e}J=!0}if(J)return z[0]}}return w=w(),Dr.memoizedState=[w,P],w}function Jr(w,P,z){if(25<=ae)throw Error(e(301));if(w===Jn)if(Ir=!0,w={action:z,next:null},V===null&&(V=new Map),z=V.get(P),z===void 0)V.set(P,w);else{for(P=z;P.next!==null;)P=P.next;P.next=w}}function Rn(){throw Error(e(394))}function Vr(){}var jr={readContext:function(w){return w._currentValue},useContext:function(w){return De(),w._currentValue},useMemo:Cr,useReducer:lr,useRef:function(w){Jn=De(),Dr=qt();var P=Dr.memoizedState;return P===null?(w={current:w},Dr.memoizedState=w):P},useState:function(w){return lr(_r,w)},useInsertionEffect:Vr,useLayoutEffect:function(){},useCallback:function(w,P){return Cr(function(){return w},P)},useImperativeHandle:Vr,useEffect:Vr,useDebugValue:Vr,useDeferredValue:function(w){return De(),w},useTransition:function(){return De(),[!1,Rn]},useId:function(){var w=Qn.treeContext,P=w.overflow;w=w.id,w=(w&~(1<<32-Xn(w)-1)).toString(32)+P;var z=Qr;if(z===null)throw Error(e(404));return P=R++,w=":"+z.idPrefix+"R"+w,0<P&&(w+="H"+P.toString(32)),w+":"},useMutableSource:function(w,P){return De(),P(w._source)},useSyncExternalStore:function(w,P,z){if(z===void 0)throw Error(e(407));return z()}},Qr=null,li=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function pi(w){return console.error(w),null}function Fn(){}function _o(w,P,z,J,Te,Ce,ze,dt,Bt){var cr=[],tr=new Set;return P={destination:null,responseState:P,progressiveChunkSize:J===void 0?12800:J,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:tr,pingedTasks:cr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Te===void 0?pi:Te,onAllReady:Ce===void 0?Fn:Ce,onShellReady:ze===void 0?Fn:ze,onShellError:dt===void 0?Fn:dt,onFatalError:Bt===void 0?Fn:Bt},z=sn(P,0,null,z,!1,!1),z.parentFlushed=!0,w=zi(P,w,null,z,tr,At,null,hi),cr.push(w),P}function zi(w,P,z,J,Te,Ce,ze,dt){w.allPendingTasks++,z===null?w.pendingRootTasks++:z.pendingTasks++;var Bt={node:P,ping:function(){var cr=w.pingedTasks;cr.push(Bt),cr.length===1&&fl(w)},blockedBoundary:z,blockedSegment:J,abortSet:Te,legacyContext:Ce,context:ze,treeContext:dt};return Te.add(Bt),Bt}function sn(w,P,z,J,Te,Ce){return{status:0,id:-1,index:P,parentFlushed:!1,chunks:[],children:[],formatContext:J,boundary:z,lastPushedText:Te,textEmbedded:Ce}}function ds(w,P){if(w=w.onError(P),w!=null&&typeof w!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof w+'" instead');return w}function Bn(w,P){var z=w.onShellError;z(P),z=w.onFatalError,z(P),w.destination!==null?(w.status=2,M(w.destination,P)):(w.status=1,w.fatalError=P)}function ll(w,P,z,J,Te){for(Jn={},Qn=P,R=0,w=z(J,Te);Ir;)Ir=!1,R=0,ae+=1,Dr=null,w=z(J,Te);return hr(),w}function Ca(w,P,z,J){var Te=z.render(),Ce=J.childContextTypes;if(Ce!=null){var ze=P.legacyContext;if(typeof z.getChildContext!="function")J=ze;else{z=z.getChildContext();for(var dt in z)if(!(dt in Ce))throw Error(e(108,tt(J)||"Unknown",dt));J=Dn({},ze,z)}P.legacyContext=J,qn(w,P,Te),P.legacyContext=ze}else qn(w,P,Te)}function $i(w,P){if(w&&w.defaultProps){P=Dn({},P),w=w.defaultProps;for(var z in w)P[z]===void 0&&(P[z]=w[z]);return P}return P}function xo(w,P,z,J,Te){if(typeof z=="function")if(z.prototype&&z.prototype.isReactComponent){Te=jt(z,P.legacyContext);var Ce=z.contextType;Ce=new z(J,typeof Ce=="object"&&Ce!==null?Ce._currentValue:Te),Xr(Ce,z,J,Te),Ca(w,P,Ce,z)}else{Ce=jt(z,P.legacyContext),Te=ll(w,P,z,J,Ce);var ze=R!==0;if(typeof Te=="object"&&Te!==null&&typeof Te.render=="function"&&Te.$$typeof===void 0)Xr(Te,z,J,Ce),Ca(w,P,Te,z);else if(ze){J=P.treeContext,P.treeContext=jn(J,1,0);try{qn(w,P,Te)}finally{P.treeContext=J}}else qn(w,P,Te)}else if(typeof z=="string"){switch(Te=P.blockedSegment,Ce=Se(Te.chunks,z,J,w.responseState,Te.formatContext),Te.lastPushedText=!1,ze=Te.formatContext,Te.formatContext=xe(ze,z,J),Ci(w,P,Ce),Te.formatContext=ze,z){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Te.chunks.push(Ze,g(z),at)}Te.lastPushedText=!1}else{switch(z){case we:case X:case xi:case En:case _i:qn(w,P,J.children);return;case dn:qn(w,P,J.children);return;case W:throw Error(e(343));case on:e:{z=P.blockedBoundary,Te=P.blockedSegment,Ce=J.fallback,J=J.children,ze=new Set;var dt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:ze,errorDigest:null},Bt=sn(w,Te.chunks.length,dt,Te.formatContext,!1,!1);Te.children.push(Bt),Te.lastPushedText=!1;var cr=sn(w,0,null,Te.formatContext,!1,!1);cr.parentFlushed=!0,P.blockedBoundary=dt,P.blockedSegment=cr;try{if(Ci(w,P,J),cr.lastPushedText&&cr.textEmbedded&&cr.chunks.push(Ie),cr.status=1,zo(dt,cr),dt.pendingTasks===0)break e}catch(tr){cr.status=4,dt.forceClientRender=!0,dt.errorDigest=ds(w,tr)}finally{P.blockedBoundary=z,P.blockedSegment=Te}P=zi(w,Ce,z,Bt,ze,P.legacyContext,P.context,P.treeContext),w.pingedTasks.push(P)}return}if(typeof z=="object"&&z!==null)switch(z.$$typeof){case Kn:if(J=ll(w,P,z.render,J,Te),R!==0){z=P.treeContext,P.treeContext=jn(z,1,0);try{qn(w,P,J)}finally{P.treeContext=z}}else qn(w,P,J);return;case x:z=z.type,J=$i(z,J),xo(w,P,z,J,Te);return;case wn:if(Te=J.children,z=z._context,J=J.value,Ce=z._currentValue,z._currentValue=J,ze=Pt,Pt=J={parent:ze,depth:ze===null?0:ze.depth+1,context:z,parentValue:Ce,value:J},P.context=J,qn(w,P,Te),w=Pt,w===null)throw Error(e(403));J=w.parentValue,w.context._currentValue=J===ye?w.context._defaultValue:J,w=Pt=w.parent,P.context=w;return;case cn:J=J.children,J=J(z._currentValue),qn(w,P,J);return;case j:Te=z._init,z=Te(z._payload),J=$i(z,J),xo(w,P,z,J,void 0);return}throw Error(e(130,z==null?z:typeof z,""))}}function qn(w,P,z){if(P.node=z,typeof z=="object"&&z!==null){switch(z.$$typeof){case Cn:xo(w,P,z.type,z.props,z.ref);return;case di:throw Error(e(257));case j:var J=z._init;z=J(z._payload),qn(w,P,z);return}if(fe(z)){Yr(w,P,z);return}if(z===null||typeof z!="object"?J=null:(J=Me&&z[Me]||z["@@iterator"],J=typeof J=="function"?J:null),J&&(J=J.call(z))){if(z=J.next(),!z.done){var Te=[];do Te.push(z.value),z=J.next();while(!z.done);Yr(w,P,Te)}return}throw w=Object.prototype.toString.call(z),Error(e(31,w==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":w))}typeof z=="string"?(J=P.blockedSegment,J.lastPushedText=Pe(P.blockedSegment.chunks,z,w.responseState,J.lastPushedText)):typeof z=="number"&&(J=P.blockedSegment,J.lastPushedText=Pe(P.blockedSegment.chunks,""+z,w.responseState,J.lastPushedText))}function Yr(w,P,z){for(var J=z.length,Te=0;Te<J;Te++){var Ce=P.treeContext;P.treeContext=jn(Ce,J,Te);try{Ci(w,P,z[Te])}finally{P.treeContext=Ce}}}function Ci(w,P,z){var J=P.blockedSegment.formatContext,Te=P.legacyContext,Ce=P.context;try{return qn(w,P,z)}catch(Bt){if(hr(),typeof Bt=="object"&&Bt!==null&&typeof Bt.then=="function"){z=Bt;var ze=P.blockedSegment,dt=sn(w,ze.chunks.length,null,ze.formatContext,ze.lastPushedText,!0);ze.children.push(dt),ze.lastPushedText=!1,w=zi(w,P.node,P.blockedBoundary,dt,P.abortSet,P.legacyContext,P.context,P.treeContext).ping,z.then(w,w),P.blockedSegment.formatContext=J,P.legacyContext=Te,P.context=Ce,Nn(Ce)}else throw P.blockedSegment.formatContext=J,P.legacyContext=Te,P.context=Ce,Nn(Ce),Bt}}function wa(w){var P=w.blockedBoundary;w=w.blockedSegment,w.status=3,ul(this,P,w)}function cl(w,P,z){var J=w.blockedBoundary;w.blockedSegment.status=3,J===null?(P.allPendingTasks--,P.status!==2&&(P.status=2,P.destination!==null&&P.destination.close())):(J.pendingTasks--,J.forceClientRender||(J.forceClientRender=!0,w=z===void 0?Error(e(432)):z,J.errorDigest=P.onError(w),J.parentFlushed&&P.clientRenderedBoundaries.push(J)),J.fallbackAbortableTasks.forEach(function(Te){return cl(Te,P,z)}),J.fallbackAbortableTasks.clear(),P.allPendingTasks--,P.allPendingTasks===0&&(J=P.onAllReady,J()))}function zo(w,P){if(P.chunks.length===0&&P.children.length===1&&P.children[0].boundary===null){var z=P.children[0];z.id=P.id,z.parentFlushed=!0,z.status===1&&zo(w,z)}else w.completedSegments.push(P)}function ul(w,P,z){if(P===null){if(z.parentFlushed){if(w.completedRootSegment!==null)throw Error(e(389));w.completedRootSegment=z}w.pendingRootTasks--,w.pendingRootTasks===0&&(w.onShellError=Fn,P=w.onShellReady,P())}else P.pendingTasks--,P.forceClientRender||(P.pendingTasks===0?(z.parentFlushed&&z.status===1&&zo(P,z),P.parentFlushed&&w.completedBoundaries.push(P),P.fallbackAbortableTasks.forEach(wa,w),P.fallbackAbortableTasks.clear()):z.parentFlushed&&z.status===1&&(zo(P,z),P.completedSegments.length===1&&P.parentFlushed&&w.partialBoundaries.push(P)));w.allPendingTasks--,w.allPendingTasks===0&&(w=w.onAllReady,w())}function fl(w){if(w.status!==2){var P=Pt,z=li.current;li.current=jr;var J=Qr;Qr=w.responseState;try{var Te=w.pingedTasks,Ce;for(Ce=0;Ce<Te.length;Ce++){var ze=Te[Ce],dt=w,Bt=ze.blockedSegment;if(Bt.status===0){Nn(ze.context);try{qn(dt,ze,ze.node),Bt.lastPushedText&&Bt.textEmbedded&&Bt.chunks.push(Ie),ze.abortSet.delete(ze),Bt.status=1,ul(dt,ze.blockedBoundary,Bt)}catch(Ai){if(hr(),typeof Ai=="object"&&Ai!==null&&typeof Ai.then=="function"){var cr=ze.ping;Ai.then(cr,cr)}else{ze.abortSet.delete(ze),Bt.status=4;var tr=ze.blockedBoundary,Gr=Ai,ei=ds(dt,Gr);if(tr===null?Bn(dt,Gr):(tr.pendingTasks--,tr.forceClientRender||(tr.forceClientRender=!0,tr.errorDigest=ei,tr.parentFlushed&&dt.clientRenderedBoundaries.push(tr))),dt.allPendingTasks--,dt.allPendingTasks===0){var wi=dt.onAllReady;wi()}}}finally{}}}Te.splice(0,Ce),w.destination!==null&&Vs(w,w.destination)}catch(Ai){ds(w,Ai),Bn(w,Ai)}finally{Qr=J,li.current=z,z===jr&&Nn(P)}}}function Ws(w,P,z){switch(z.parentFlushed=!0,z.status){case 0:var J=z.id=w.nextSegmentId++;return z.lastPushedText=!1,z.textEmbedded=!1,w=w.responseState,i(P,gt),i(P,w.placeholderPrefix),w=g(J.toString(16)),i(P,w),l(P,Tt);case 1:z.status=2;var Te=!0;J=z.chunks;var Ce=0;z=z.children;for(var ze=0;ze<z.length;ze++){for(Te=z[ze];Ce<Te.index;Ce++)i(P,J[Ce]);Te=hs(w,P,Te)}for(;Ce<J.length-1;Ce++)i(P,J[Ce]);return Ce<J.length&&(Te=l(P,J[Ce])),Te;default:throw Error(e(390))}}function hs(w,P,z){var J=z.boundary;if(J===null)return Ws(w,P,z);if(J.parentFlushed=!0,J.forceClientRender)J=J.errorDigest,l(P,vr),i(P,Zt),J&&(i(P,te),i(P,g(Y(J))),i(P,he)),l(P,Fe),Ws(w,P,z);else if(0<J.pendingTasks){J.rootSegmentID=w.nextSegmentId++,0<J.completedSegments.length&&w.partialBoundaries.push(J);var Te=w.responseState,Ce=Te.nextSuspenseID++;Te=m(Te.boundaryPrefix+Ce.toString(16)),J=J.id=Te,Xe(P,w.responseState,J),Ws(w,P,z)}else if(J.byteSize>w.progressiveChunkSize)J.rootSegmentID=w.nextSegmentId++,w.completedBoundaries.push(J),Xe(P,w.responseState,J.id),Ws(w,P,z);else{if(l(P,je),z=J.completedSegments,z.length!==1)throw Error(e(391));hs(w,P,z[0])}return l(P,nr)}function ps(w,P,z){return Yt(P,w.responseState,z.formatContext,z.id),hs(w,P,z),Dt(P,z.formatContext)}function So(w,P,z){for(var J=z.completedSegments,Te=0;Te<J.length;Te++)dl(w,P,z,J[Te]);if(J.length=0,w=w.responseState,J=z.id,z=z.rootSegmentID,i(P,w.startInlineScript),w.sentCompleteBoundaryFunction?i(P,gr):(w.sentCompleteBoundaryFunction=!0,i(P,zr)),J===null)throw Error(e(395));return z=g(z.toString(16)),i(P,J),i(P,Vn),i(P,w.segmentPrefix),i(P,z),l(P,Sn)}function dl(w,P,z,J){if(J.status===2)return!0;var Te=J.id;if(Te===-1){if((J.id=z.rootSegmentID)===-1)throw Error(e(392));return ps(w,P,J)}return ps(w,P,J),w=w.responseState,i(P,w.startInlineScript),w.sentCompleteSegmentFunction?i(P,Mr):(w.sentCompleteSegmentFunction=!0,i(P,Kt)),i(P,w.segmentPrefix),Te=g(Te.toString(16)),i(P,Te),i(P,ar),i(P,w.placeholderPrefix),i(P,Te),l(P,fr)}function Vs(w,P){t=new Uint8Array(512),n=0;try{var z=w.completedRootSegment;if(z!==null&&w.pendingRootTasks===0){hs(w,P,z),w.completedRootSegment=null;var J=w.responseState.bootstrapChunks;for(z=0;z<J.length-1;z++)i(P,J[z]);z<J.length&&l(P,J[z])}var Te=w.clientRenderedBoundaries,Ce;for(Ce=0;Ce<Te.length;Ce++){var ze=Te[Ce];J=P;var dt=w.responseState,Bt=ze.id,cr=ze.errorDigest,tr=ze.errorMessage,Gr=ze.errorComponentStack;if(i(J,dt.startInlineScript),dt.sentClientRenderFunction?i(J,Kr):(dt.sentClientRenderFunction=!0,i(J,Mn)),Bt===null)throw Error(e(395));i(J,Bt),i(J,Gn),(cr||tr||Gr)&&(i(J,Zn),i(J,g(nn(cr||"")))),(tr||Gr)&&(i(J,Zn),i(J,g(nn(tr||"")))),Gr&&(i(J,Zn),i(J,g(nn(Gr)))),l(J,Tn)}Te.splice(0,Ce);var ei=w.completedBoundaries;for(Ce=0;Ce<ei.length;Ce++)So(w,P,ei[Ce]);ei.splice(0,Ce),u(P),t=new Uint8Array(512),n=0;var wi=w.partialBoundaries;for(Ce=0;Ce<wi.length;Ce++){var Ai=wi[Ce];e:{Te=w,ze=P;var Gs=Ai.completedSegments;for(dt=0;dt<Gs.length;dt++)if(!dl(Te,ze,Ai,Gs[dt])){dt++,Gs.splice(0,dt);var hl=!1;break e}Gs.splice(0,dt),hl=!0}if(!hl){w.destination=null,Ce++,wi.splice(0,Ce);return}}wi.splice(0,Ce);var gs=w.completedBoundaries;for(Ce=0;Ce<gs.length;Ce++)So(w,P,gs[Ce]);gs.splice(0,Ce)}finally{u(P),w.allPendingTasks===0&&w.pingedTasks.length===0&&w.clientRenderedBoundaries.length===0&&w.completedBoundaries.length===0&&P.close()}}function Aa(w,P){try{var z=w.abortableTasks;z.forEach(function(J){return cl(J,w,P)}),z.clear(),w.destination!==null&&Vs(w,w.destination)}catch(J){ds(w,J),Bn(w,J)}}return jd.renderToReadableStream=function(w,P){return new Promise(function(z,J){var Te,Ce,ze=new Promise(function(tr,Gr){Ce=tr,Te=Gr}),dt=_o(w,le(P?P.identifierPrefix:void 0,P?P.nonce:void 0,P?P.bootstrapScriptContent:void 0,P?P.bootstrapScripts:void 0,P?P.bootstrapModules:void 0),ge(P?P.namespaceURI:void 0),P?P.progressiveChunkSize:void 0,P?P.onError:void 0,Ce,function(){var tr=new ReadableStream({type:"bytes",pull:function(Gr){if(dt.status===1)dt.status=2,M(Gr,dt.fatalError);else if(dt.status!==2&&dt.destination===null){dt.destination=Gr;try{Vs(dt,Gr)}catch(ei){ds(dt,ei),Bn(dt,ei)}}},cancel:function(){Aa(dt)}},{highWaterMark:0});tr.allReady=ze,z(tr)},function(tr){ze.catch(function(){}),J(tr)},Te);if(P&&P.signal){var Bt=P.signal,cr=function(){Aa(dt,Bt.reason),Bt.removeEventListener("abort",cr)};Bt.addEventListener("abort",cr)}fl(dt)})},jd.version="18.2.0",jd}var zc={};/**
|
266
266
|
* @license React
|
267
267
|
* react-dom-server-legacy.browser.development.js
|
268
268
|
*
|
@@ -270,15 +270,15 @@ received: `.concat(h.imageType,`
|
|
270
270
|
*
|
271
271
|
* This source code is licensed under the MIT license found in the
|
272
272
|
* LICENSE file in the root directory of this source tree.
|
273
|
-
*/var sy;function tO(){return sy||(sy=1,process.env.NODE_ENV!=="production"&&function(){var r=I,e="18.2.0",t=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(s){{for(var c=arguments.length,d=new Array(c>1?c-1:0),y=1;y<c;y++)d[y-1]=arguments[y];l("warn",s,d)}}function i(s){{for(var c=arguments.length,d=new Array(c>1?c-1:0),y=1;y<c;y++)d[y-1]=arguments[y];l("error",s,d)}}function l(s,c,d){{var y=t.ReactDebugCurrentFrame,L=y.getStackAddendum();L!==""&&(c+="%s",d=d.concat([L]));var F=d.map(function(U){return String(U)});F.unshift("Warning: "+c),Function.prototype.apply.call(console[s],console,F)}}function u(s){s()}function h(s){}function g(s,c){m(s,c)}function m(s,c){return s.push(c)}function M(s){}function T(s){s.push(null)}function C(s){return s}function _(s){return s}function S(s,c){s.destroy(c)}function D(s){{var c=typeof Symbol=="function"&&Symbol.toStringTag,d=c&&s[Symbol.toStringTag]||s.constructor.name||"Object";return d}}function A(s){try{return b(s),!1}catch{return!0}}function b(s){return""+s}function k(s,c){if(A(s))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",c,D(s)),b(s)}function O(s,c){if(A(s))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",c,D(s)),b(s)}function H(s){if(A(s))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",D(s)),b(s)}var q=Object.prototype.hasOwnProperty,G=0,Y=1,ue=2,ee=3,fe=4,N=5,re=6,K=":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",ne=K+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ie=new RegExp("^["+K+"]["+ne+"]*$"),ce={},me={};function ae(s){return q.call(me,s)?!0:q.call(ce,s)?!1:ie.test(s)?(me[s]=!0,!0):(ce[s]=!0,i("Invalid attribute name: `%s`",s),!1)}function be(s,c,d,y){if(d!==null&&d.type===G)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":{if(d!==null)return!d.acceptsBooleans;var L=s.toLowerCase().slice(0,5);return L!=="data-"&&L!=="aria-"}default:return!1}}function ge(s){return Le.hasOwnProperty(s)?Le[s]:null}function xe(s,c,d,y,L,F,U){this.acceptsBooleans=c===ue||c===ee||c===fe,this.attributeName=y,this.attributeNamespace=L,this.mustUseProperty=d,this.propertyName=s,this.type=c,this.sanitizeURL=F,this.removeEmptyString=U}var Le={},Pe=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Pe.forEach(function(s){Le[s]=new xe(s,G,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var c=s[0],d=s[1];Le[c]=new xe(c,Y,!1,d,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){Le[s]=new xe(s,ue,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){Le[s]=new xe(s,ue,!1,s,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(s){Le[s]=new xe(s,ee,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){Le[s]=new xe(s,ee,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){Le[s]=new xe(s,fe,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){Le[s]=new xe(s,re,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){Le[s]=new xe(s,N,!1,s.toLowerCase(),null,!1,!1)});var We=/[\-\:]([a-z])/g,Te=function(s){return s[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(s){var c=s.replace(We,Te);Le[c]=new xe(c,Y,!1,s,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(s){var c=s.replace(We,Te);Le[c]=new xe(c,Y,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var c=s.replace(We,Te);Le[c]=new xe(c,Y,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){Le[s]=new xe(s,Y,!1,s.toLowerCase(),null,!1,!1)});var ot="xlinkHref";Le[ot]=new xe("xlinkHref",Y,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){Le[s]=new xe(s,Y,!1,s.toLowerCase(),null,!0,!0)});var pt={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 Ke(s,c){return s+c.charAt(0).toUpperCase()+c.substring(1)}var Ye=["Webkit","ms","Moz","O"];Object.keys(pt).forEach(function(s){Ye.forEach(function(c){pt[Ke(c,s)]=pt[s]})});var Oe={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function ke(s,c){Oe[c.type]||c.onChange||c.onInput||c.readOnly||c.disabled||c.value==null||i("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`."),c.onChange||c.readOnly||c.disabled||c.checked==null||i("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 Ee(s,c){if(s.indexOf("-")===-1)return typeof c.is=="string";switch(s){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 Ne={"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},Re={},Je=new RegExp("^(aria)-["+ne+"]*$"),ft=new RegExp("^(aria)[A-Z]["+ne+"]*$");function xt(s,c){{if(q.call(Re,c)&&Re[c])return!0;if(ft.test(c)){var d="aria-"+c.slice(4).toLowerCase(),y=Ne.hasOwnProperty(d)?d:null;if(y==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",c),Re[c]=!0,!0;if(c!==y)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",c,y),Re[c]=!0,!0}if(Je.test(c)){var L=c.toLowerCase(),F=Ne.hasOwnProperty(L)?L:null;if(F==null)return Re[c]=!0,!1;if(c!==F)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",c,F),Re[c]=!0,!0}}return!0}function St(s,c){{var d=[];for(var y in c){var L=xt(s,y);L||d.push(y)}var F=d.map(function(U){return"`"+U+"`"}).join(", ");d.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",F,s):d.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",F,s)}}function mt(s,c){Ee(s,c)||St(s,c)}var It=!1;function Ct(s,c){{if(s!=="input"&&s!=="textarea"&&s!=="select")return;c!=null&&c.value===null&&!It&&(It=!0,s==="select"&&c.multiple?i("`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.",s):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",s))}}var ct={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"},ut=function(){};{var et={},Se=/^on./,Ze=/^on[^A-Z]/,at=new RegExp("^(aria)-["+ne+"]*$"),gt=new RegExp("^(aria)[A-Z]["+ne+"]*$");ut=function(s,c,d,y){if(q.call(et,c)&&et[c])return!0;var L=c.toLowerCase();if(L==="onfocusin"||L==="onfocusout")return i("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."),et[c]=!0,!0;if(y!=null){var F=y.registrationNameDependencies,U=y.possibleRegistrationNames;if(F.hasOwnProperty(c))return!0;var oe=U.hasOwnProperty(L)?U[L]:null;if(oe!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",c,oe),et[c]=!0,!0;if(Se.test(c))return i("Unknown event handler property `%s`. It will be ignored.",c),et[c]=!0,!0}else if(Se.test(c))return Ze.test(c)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",c),et[c]=!0,!0;if(at.test(c)||gt.test(c))return!0;if(L==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),et[c]=!0,!0;if(L==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),et[c]=!0,!0;if(L==="is"&&d!==null&&d!==void 0&&typeof d!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof d),et[c]=!0,!0;if(typeof d=="number"&&isNaN(d))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",c),et[c]=!0,!0;var _e=ge(c),Ue=_e!==null&&_e.type===G;if(ct.hasOwnProperty(L)){var rt=ct[L];if(rt!==c)return i("Invalid DOM property `%s`. Did you mean `%s`?",c,rt),et[c]=!0,!0}else if(!Ue&&c!==L)return i("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.",c,L),et[c]=!0,!0;return typeof d=="boolean"&&be(c,d,_e)?(d?i('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()}.',d,c,c,d,c):i('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.',d,c,c,d,c,c,c),et[c]=!0,!0):Ue?!0:be(c,d,_e)?(et[c]=!0,!1):((d==="false"||d==="true")&&_e!==null&&_e.type===ee&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",d,c,d==="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".',c,d),et[c]=!0),!0)}}var Tt=function(s,c,d){{var y=[];for(var L in c){var F=ut(s,L,c[L],d);F||y.push(L)}var U=y.map(function(oe){return"`"+oe+"`"}).join(", ");y.length===1?i("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 ",U,s):y.length>1&&i("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 ",U,s)}};function je(s,c,d){Ee(s,c)||Tt(s,c,d)}var _t=function(){};{var Mt=/^(?:webkit|moz|o)[A-Z]/,vr=/^-ms-/,nr=/-(.)/g,Zt=/;\s*$/,he={},te={},Fe=!1,Xe=!1,Lt=function(s){return s.replace(nr,function(c,d){return d.toUpperCase()})},vt=function(s){he.hasOwnProperty(s)&&he[s]||(he[s]=!0,i("Unsupported style property %s. Did you mean %s?",s,Lt(s.replace(vr,"ms-"))))},wt=function(s){he.hasOwnProperty(s)&&he[s]||(he[s]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",s,s.charAt(0).toUpperCase()+s.slice(1)))},Gt=function(s,c){te.hasOwnProperty(c)&&te[c]||(te[c]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,s,c.replace(Zt,"")))},Ft=function(s,c){Fe||(Fe=!0,i("`NaN` is an invalid value for the `%s` css style property.",s))},sr=function(s,c){Xe||(Xe=!0,i("`Infinity` is an invalid value for the `%s` css style property.",s))};_t=function(s,c){s.indexOf("-")>-1?vt(s):Mt.test(s)?wt(s):Zt.test(c)&&Gt(s,c),typeof c=="number"&&(isNaN(c)?Ft(s,c):isFinite(c)||sr(s,c))}}var dr=_t,Rr=/["'&<>]/;function ur(s){H(s);var c=""+s,d=Rr.exec(c);if(!d)return c;var y,L="",F,U=0;for(F=d.index;F<c.length;F++){switch(c.charCodeAt(F)){case 34:y=""";break;case 38:y="&";break;case 39:y="'";break;case 60:y="<";break;case 62:y=">";break;default:continue}U!==F&&(L+=c.substring(U,F)),U=F+1,L+=y}return U!==F?L+c.substring(U,F):L}function xr(s){return typeof s=="boolean"||typeof s=="number"?""+s:ur(s)}var Wr=/([A-Z])/g,st=/^ms-/;function Rt(s){return s.replace(Wr,"-$1").toLowerCase().replace(st,"-ms-")}var bt=/^[\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,Qe=!1;function Nt(s){!Qe&&bt.test(s)&&(Qe=!0,i("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(s)))}var Q=Array.isArray;function He(s){return Q(s)}var ht="<script>";function Ot(s,c,d,y,L){var F=s===void 0?"":s,U=ht,oe=[];return{bootstrapChunks:oe,startInlineScript:U,placeholderPrefix:F+"P:",segmentPrefix:F+"S:",boundaryPrefix:F+"B:",idPrefix:F,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var er=0,Yt=1,Dt=2,Kt=3,Mr=4,ar=5,fr=6,zr=7;function gr(s,c){return{insertionMode:s,selectedValue:c}}function Vn(s,c,d){switch(c){case"select":return gr(Yt,d.value!=null?d.value:d.defaultValue);case"svg":return gr(Dt,null);case"math":return gr(Kt,null);case"foreignObject":return gr(Yt,null);case"table":return gr(Mr,null);case"thead":case"tbody":case"tfoot":return gr(ar,null);case"colgroup":return gr(zr,null);case"tr":return gr(fr,null)}return s.insertionMode>=Mr||s.insertionMode===er?gr(Yt,null):s}var Sn=null;function Mn(s){var c=s.nextSuspenseID++;return s.boundaryPrefix+c.toString(16)}function Kr(s,c,d){var y=s.idPrefix,L=":"+y+"R"+c;return d>0&&(L+="H"+d.toString(32)),L+":"}function Gn(s){return xr(s)}var Tn="<!-- -->";function Zn(s,c,d,y){return c===""?y:(y&&s.push(Tn),s.push(Gn(c)),!0)}function Yn(s,c,d,y){d&&y&&s.push(Tn)}var nn=new Map;function Dn(s){var c=nn.get(s);if(c!==void 0)return c;var d=xr(Rt(s));return nn.set(s,d),d}var Cn=' style="',di=":",_i=";";function xi(s,c,d){if(typeof d!="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.");var y=!0;for(var L in d)if(q.call(d,L)){var F=d[L];if(!(F==null||typeof F=="boolean"||F==="")){var U=void 0,oe=void 0,_e=L.indexOf("--")===0;_e?(U=xr(L),O(F,L),oe=xr((""+F).trim())):(dr(L,F),U=Dn(L),typeof F=="number"?F!==0&&!q.call(pt,L)?oe=F+"px":oe=""+F:(O(F,L),oe=xr((""+F).trim()))),y?(y=!1,s.push(Cn,U,di,oe)):s.push(_i,U,di,oe)}}y||s.push(cn)}var En=" ",wn='="',cn='"',Kn='=""';function on(s,c,d,y){switch(d){case"style":{xi(s,c,y);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(d.length>2&&(d[0]==="o"||d[0]==="O")&&(d[1]==="n"||d[1]==="N"))){var L=ge(d);if(L!==null){switch(typeof y){case"function":case"symbol":return;case"boolean":if(!L.acceptsBooleans)return}var F=L.attributeName,U=F;switch(L.type){case ee:y&&s.push(En,U,Kn);return;case fe:y===!0?s.push(En,U,Kn):y===!1||s.push(En,U,wn,xr(y),cn);return;case N:isNaN(y)||s.push(En,U,wn,xr(y),cn);break;case re:!isNaN(y)&&y>=1&&s.push(En,U,wn,xr(y),cn);break;default:L.sanitizeURL&&(k(y,F),y=""+y,Nt(y)),s.push(En,U,wn,xr(y),cn)}}else if(ae(d)){switch(typeof y){case"function":case"symbol":return;case"boolean":{var oe=d.toLowerCase().slice(0,5);if(oe!=="data-"&&oe!=="aria-")return}}s.push(En,d,wn,xr(y),cn)}}}var dn=">",x="/>";function j(s,c,d){if(c!=null){if(d!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof c!="object"||!("__html"in c))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var y=c.__html;y!=null&&(H(y),s.push(""+y))}}var W=!1,X=!1,we=!1,ye=!1,Me=!1,tt=!1,At=!1;function jt(s,c){{var d=s[c];if(d!=null){var y=He(d);s.multiple&&!y?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",c):!s.multiple&&y&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",c)}}}function Pt(s,c,d){ke("select",c),jt(c,"value"),jt(c,"defaultValue"),c.value!==void 0&&c.defaultValue!==void 0&&!we&&(i("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"),we=!0),s.push(kn("select"));var y=null,L=null;for(var F in c)if(q.call(c,F)){var U=c[F];if(U==null)continue;switch(F){case"children":y=U;break;case"dangerouslySetInnerHTML":L=U;break;case"defaultValue":case"value":break;default:on(s,d,F,U);break}}return s.push(dn),j(s,L,y),y}function br(s){var c="";return r.Children.forEach(s,function(d){d!=null&&(c+=d,!Me&&typeof d!="string"&&typeof d!="number"&&(Me=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),c}var Zr=' selected=""';function vn(s,c,d,y){var L=y.selectedValue;s.push(kn("option"));var F=null,U=null,oe=null,_e=null;for(var Ue in c)if(q.call(c,Ue)){var rt=c[Ue];if(rt==null)continue;switch(Ue){case"children":F=rt;break;case"selected":oe=rt,At||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),At=!0);break;case"dangerouslySetInnerHTML":_e=rt;break;case"value":U=rt;default:on(s,d,Ue,rt);break}}if(L!=null){var yt;if(U!==null?(k(U,"value"),yt=""+U):(_e!==null&&(tt||(tt=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),yt=br(F)),He(L))for(var Jt=0;Jt<L.length;Jt++){k(L[Jt],"value");var Lr=""+L[Jt];if(Lr===yt){s.push(Zr);break}}else k(L,"select.value"),""+L===yt&&s.push(Zr)}else oe&&s.push(Zr);return s.push(dn),j(s,_e,F),F}function yn(s,c,d){ke("input",c),c.checked!==void 0&&c.defaultChecked!==void 0&&!X&&(i("%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","A component",c.type),X=!0),c.value!==void 0&&c.defaultValue!==void 0&&!W&&(i("%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","A component",c.type),W=!0),s.push(kn("input"));var y=null,L=null,F=null,U=null;for(var oe in c)if(q.call(c,oe)){var _e=c[oe];if(_e==null)continue;switch(oe){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":U=_e;break;case"defaultValue":L=_e;break;case"checked":F=_e;break;case"value":y=_e;break;default:on(s,d,oe,_e);break}}return F!==null?on(s,d,"checked",F):U!==null&&on(s,d,"checked",U),y!==null?on(s,d,"value",y):L!==null&&on(s,d,"value",L),s.push(x),null}function ai(s,c,d){ke("textarea",c),c.value!==void 0&&c.defaultValue!==void 0&&!ye&&(i("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"),ye=!0),s.push(kn("textarea"));var y=null,L=null,F=null;for(var U in c)if(q.call(c,U)){var oe=c[U];if(oe==null)continue;switch(U){case"children":F=oe;break;case"value":y=oe;break;case"defaultValue":L=oe;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:on(s,d,U,oe);break}}if(y===null&&L!==null&&(y=L),s.push(dn),F!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(He(F)){if(F.length>1)throw new Error("<textarea> can only have at most one child.");H(F[0]),y=""+F[0]}H(F),y=""+F}return typeof y=="string"&&y[0]===`
|
274
|
-
`&&s.push(Xn),y!==null&&(k(y,"value"),s.push(Gn(""+y))),null}function Nn(s,c,d,y){s.push(kn(d));for(var L in c)if(q.call(c,L)){var F=c[L];if(F==null)continue;switch(L){case"children":case"dangerouslySetInnerHTML":throw new Error(d+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:on(s,y,L,F);break}}return s.push(x),null}function Si(s,c,d){s.push(kn("menuitem"));for(var y in c)if(q.call(c,y)){var L=c[y];if(L==null)continue;switch(y){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:on(s,d,y,L);break}}return s.push(dn),null}function Xr(s,c,d){s.push(kn("title"));var y=null;for(var L in c)if(q.call(c,L)){var F=c[L];if(F==null)continue;switch(L){case"children":y=F;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:on(s,d,L,F);break}}s.push(dn);{var U=Array.isArray(y)&&y.length<2?y[0]||null:y;Array.isArray(y)&&y.length>1?i("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):U!=null&&U.$$typeof!=null?i("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):U!=null&&typeof U!="string"&&typeof U!="number"&&i("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return y}function hi(s,c,d,y){s.push(kn(d));var L=null,F=null;for(var U in c)if(q.call(c,U)){var oe=c[U];if(oe==null)continue;switch(U){case"children":L=oe;break;case"dangerouslySetInnerHTML":F=oe;break;default:on(s,y,U,oe);break}}return s.push(dn),j(s,F,L),typeof L=="string"?(s.push(Gn(L)),null):L}function jn(s,c,d,y){s.push(kn(d));var L=null,F=null;for(var U in c)if(q.call(c,U)){var oe=c[U];if(oe==null)continue;switch(U){case"children":L=oe;break;case"dangerouslySetInnerHTML":F=oe;break;case"style":xi(s,y,oe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:
|
273
|
+
*/var sy;function tO(){return sy||(sy=1,process.env.NODE_ENV!=="production"&&function(){var r=I,e="18.2.0",t=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(s){{for(var c=arguments.length,d=new Array(c>1?c-1:0),y=1;y<c;y++)d[y-1]=arguments[y];l("warn",s,d)}}function i(s){{for(var c=arguments.length,d=new Array(c>1?c-1:0),y=1;y<c;y++)d[y-1]=arguments[y];l("error",s,d)}}function l(s,c,d){{var y=t.ReactDebugCurrentFrame,L=y.getStackAddendum();L!==""&&(c+="%s",d=d.concat([L]));var F=d.map(function(U){return String(U)});F.unshift("Warning: "+c),Function.prototype.apply.call(console[s],console,F)}}function u(s){s()}function h(s){}function g(s,c){m(s,c)}function m(s,c){return s.push(c)}function M(s){}function T(s){s.push(null)}function C(s){return s}function _(s){return s}function S(s,c){s.destroy(c)}function D(s){{var c=typeof Symbol=="function"&&Symbol.toStringTag,d=c&&s[Symbol.toStringTag]||s.constructor.name||"Object";return d}}function A(s){try{return b(s),!1}catch{return!0}}function b(s){return""+s}function k(s,c){if(A(s))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",c,D(s)),b(s)}function O(s,c){if(A(s))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",c,D(s)),b(s)}function H(s){if(A(s))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",D(s)),b(s)}var q=Object.prototype.hasOwnProperty,G=0,Y=1,ue=2,ee=3,fe=4,N=5,re=6,K=":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",ne=K+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ie=new RegExp("^["+K+"]["+ne+"]*$"),ce={},me={};function le(s){return q.call(me,s)?!0:q.call(ce,s)?!1:ie.test(s)?(me[s]=!0,!0):(ce[s]=!0,i("Invalid attribute name: `%s`",s),!1)}function be(s,c,d,y){if(d!==null&&d.type===G)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":{if(d!==null)return!d.acceptsBooleans;var L=s.toLowerCase().slice(0,5);return L!=="data-"&&L!=="aria-"}default:return!1}}function ge(s){return Ie.hasOwnProperty(s)?Ie[s]:null}function xe(s,c,d,y,L,F,U){this.acceptsBooleans=c===ue||c===ee||c===fe,this.attributeName=y,this.attributeNamespace=L,this.mustUseProperty=d,this.propertyName=s,this.type=c,this.sanitizeURL=F,this.removeEmptyString=U}var Ie={},Pe=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Pe.forEach(function(s){Ie[s]=new xe(s,G,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var c=s[0],d=s[1];Ie[c]=new xe(c,Y,!1,d,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){Ie[s]=new xe(s,ue,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){Ie[s]=new xe(s,ue,!1,s,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(s){Ie[s]=new xe(s,ee,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){Ie[s]=new xe(s,ee,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){Ie[s]=new xe(s,fe,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){Ie[s]=new xe(s,re,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){Ie[s]=new xe(s,N,!1,s.toLowerCase(),null,!1,!1)});var Ve=/[\-\:]([a-z])/g,Ee=function(s){return s[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(s){var c=s.replace(Ve,Ee);Ie[c]=new xe(c,Y,!1,s,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(s){var c=s.replace(Ve,Ee);Ie[c]=new xe(c,Y,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var c=s.replace(Ve,Ee);Ie[c]=new xe(c,Y,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){Ie[s]=new xe(s,Y,!1,s.toLowerCase(),null,!1,!1)});var ot="xlinkHref";Ie[ot]=new xe("xlinkHref",Y,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){Ie[s]=new xe(s,Y,!1,s.toLowerCase(),null,!0,!0)});var ht={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 Ke(s,c){return s+c.charAt(0).toUpperCase()+c.substring(1)}var Ye=["Webkit","ms","Moz","O"];Object.keys(ht).forEach(function(s){Ye.forEach(function(c){ht[Ke(c,s)]=ht[s]})});var Oe={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Ne(s,c){Oe[c.type]||c.onChange||c.onInput||c.readOnly||c.disabled||c.value==null||i("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`."),c.onChange||c.readOnly||c.disabled||c.checked==null||i("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 Ae(s,c){if(s.indexOf("-")===-1)return typeof c.is=="string";switch(s){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 Le={"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},ke={},Je=new RegExp("^(aria)-["+ne+"]*$"),ft=new RegExp("^(aria)[A-Z]["+ne+"]*$");function xt(s,c){{if(q.call(ke,c)&&ke[c])return!0;if(ft.test(c)){var d="aria-"+c.slice(4).toLowerCase(),y=Le.hasOwnProperty(d)?d:null;if(y==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",c),ke[c]=!0,!0;if(c!==y)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",c,y),ke[c]=!0,!0}if(Je.test(c)){var L=c.toLowerCase(),F=Le.hasOwnProperty(L)?L:null;if(F==null)return ke[c]=!0,!1;if(c!==F)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",c,F),ke[c]=!0,!0}}return!0}function St(s,c){{var d=[];for(var y in c){var L=xt(s,y);L||d.push(y)}var F=d.map(function(U){return"`"+U+"`"}).join(", ");d.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",F,s):d.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",F,s)}}function mt(s,c){Ae(s,c)||St(s,c)}var It=!1;function Ct(s,c){{if(s!=="input"&&s!=="textarea"&&s!=="select")return;c!=null&&c.value===null&&!It&&(It=!0,s==="select"&&c.multiple?i("`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.",s):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",s))}}var ct={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"},ut=function(){};{var et={},Se=/^on./,Ze=/^on[^A-Z]/,at=new RegExp("^(aria)-["+ne+"]*$"),gt=new RegExp("^(aria)[A-Z]["+ne+"]*$");ut=function(s,c,d,y){if(q.call(et,c)&&et[c])return!0;var L=c.toLowerCase();if(L==="onfocusin"||L==="onfocusout")return i("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."),et[c]=!0,!0;if(y!=null){var F=y.registrationNameDependencies,U=y.possibleRegistrationNames;if(F.hasOwnProperty(c))return!0;var oe=U.hasOwnProperty(L)?U[L]:null;if(oe!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",c,oe),et[c]=!0,!0;if(Se.test(c))return i("Unknown event handler property `%s`. It will be ignored.",c),et[c]=!0,!0}else if(Se.test(c))return Ze.test(c)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",c),et[c]=!0,!0;if(at.test(c)||gt.test(c))return!0;if(L==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),et[c]=!0,!0;if(L==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),et[c]=!0,!0;if(L==="is"&&d!==null&&d!==void 0&&typeof d!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof d),et[c]=!0,!0;if(typeof d=="number"&&isNaN(d))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",c),et[c]=!0,!0;var _e=ge(c),Ue=_e!==null&&_e.type===G;if(ct.hasOwnProperty(L)){var rt=ct[L];if(rt!==c)return i("Invalid DOM property `%s`. Did you mean `%s`?",c,rt),et[c]=!0,!0}else if(!Ue&&c!==L)return i("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.",c,L),et[c]=!0,!0;return typeof d=="boolean"&&be(c,d,_e)?(d?i('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()}.',d,c,c,d,c):i('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.',d,c,c,d,c,c,c),et[c]=!0,!0):Ue?!0:be(c,d,_e)?(et[c]=!0,!1):((d==="false"||d==="true")&&_e!==null&&_e.type===ee&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",d,c,d==="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".',c,d),et[c]=!0),!0)}}var Tt=function(s,c,d){{var y=[];for(var L in c){var F=ut(s,L,c[L],d);F||y.push(L)}var U=y.map(function(oe){return"`"+oe+"`"}).join(", ");y.length===1?i("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 ",U,s):y.length>1&&i("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 ",U,s)}};function je(s,c,d){Ae(s,c)||Tt(s,c,d)}var _t=function(){};{var Mt=/^(?:webkit|moz|o)[A-Z]/,vr=/^-ms-/,nr=/-(.)/g,Zt=/;\s*$/,he={},te={},Fe=!1,Xe=!1,Lt=function(s){return s.replace(nr,function(c,d){return d.toUpperCase()})},vt=function(s){he.hasOwnProperty(s)&&he[s]||(he[s]=!0,i("Unsupported style property %s. Did you mean %s?",s,Lt(s.replace(vr,"ms-"))))},wt=function(s){he.hasOwnProperty(s)&&he[s]||(he[s]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",s,s.charAt(0).toUpperCase()+s.slice(1)))},Gt=function(s,c){te.hasOwnProperty(c)&&te[c]||(te[c]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,s,c.replace(Zt,"")))},Ft=function(s,c){Fe||(Fe=!0,i("`NaN` is an invalid value for the `%s` css style property.",s))},sr=function(s,c){Xe||(Xe=!0,i("`Infinity` is an invalid value for the `%s` css style property.",s))};_t=function(s,c){s.indexOf("-")>-1?vt(s):Mt.test(s)?wt(s):Zt.test(c)&&Gt(s,c),typeof c=="number"&&(isNaN(c)?Ft(s,c):isFinite(c)||sr(s,c))}}var dr=_t,Rr=/["'&<>]/;function ur(s){H(s);var c=""+s,d=Rr.exec(c);if(!d)return c;var y,L="",F,U=0;for(F=d.index;F<c.length;F++){switch(c.charCodeAt(F)){case 34:y=""";break;case 38:y="&";break;case 39:y="'";break;case 60:y="<";break;case 62:y=">";break;default:continue}U!==F&&(L+=c.substring(U,F)),U=F+1,L+=y}return U!==F?L+c.substring(U,F):L}function xr(s){return typeof s=="boolean"||typeof s=="number"?""+s:ur(s)}var Wr=/([A-Z])/g,st=/^ms-/;function Rt(s){return s.replace(Wr,"-$1").toLowerCase().replace(st,"-ms-")}var bt=/^[\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,Qe=!1;function Nt(s){!Qe&&bt.test(s)&&(Qe=!0,i("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(s)))}var Q=Array.isArray;function He(s){return Q(s)}var pt="<script>";function Ot(s,c,d,y,L){var F=s===void 0?"":s,U=pt,oe=[];return{bootstrapChunks:oe,startInlineScript:U,placeholderPrefix:F+"P:",segmentPrefix:F+"S:",boundaryPrefix:F+"B:",idPrefix:F,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var er=0,Yt=1,Dt=2,Kt=3,Mr=4,ar=5,fr=6,zr=7;function gr(s,c){return{insertionMode:s,selectedValue:c}}function Vn(s,c,d){switch(c){case"select":return gr(Yt,d.value!=null?d.value:d.defaultValue);case"svg":return gr(Dt,null);case"math":return gr(Kt,null);case"foreignObject":return gr(Yt,null);case"table":return gr(Mr,null);case"thead":case"tbody":case"tfoot":return gr(ar,null);case"colgroup":return gr(zr,null);case"tr":return gr(fr,null)}return s.insertionMode>=Mr||s.insertionMode===er?gr(Yt,null):s}var Sn=null;function Mn(s){var c=s.nextSuspenseID++;return s.boundaryPrefix+c.toString(16)}function Kr(s,c,d){var y=s.idPrefix,L=":"+y+"R"+c;return d>0&&(L+="H"+d.toString(32)),L+":"}function Gn(s){return xr(s)}var Tn="<!-- -->";function Zn(s,c,d,y){return c===""?y:(y&&s.push(Tn),s.push(Gn(c)),!0)}function Yn(s,c,d,y){d&&y&&s.push(Tn)}var nn=new Map;function Dn(s){var c=nn.get(s);if(c!==void 0)return c;var d=xr(Rt(s));return nn.set(s,d),d}var Cn=' style="',di=":",_i=";";function xi(s,c,d){if(typeof d!="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.");var y=!0;for(var L in d)if(q.call(d,L)){var F=d[L];if(!(F==null||typeof F=="boolean"||F==="")){var U=void 0,oe=void 0,_e=L.indexOf("--")===0;_e?(U=xr(L),O(F,L),oe=xr((""+F).trim())):(dr(L,F),U=Dn(L),typeof F=="number"?F!==0&&!q.call(ht,L)?oe=F+"px":oe=""+F:(O(F,L),oe=xr((""+F).trim()))),y?(y=!1,s.push(Cn,U,di,oe)):s.push(_i,U,di,oe)}}y||s.push(cn)}var En=" ",wn='="',cn='"',Kn='=""';function on(s,c,d,y){switch(d){case"style":{xi(s,c,y);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(d.length>2&&(d[0]==="o"||d[0]==="O")&&(d[1]==="n"||d[1]==="N"))){var L=ge(d);if(L!==null){switch(typeof y){case"function":case"symbol":return;case"boolean":if(!L.acceptsBooleans)return}var F=L.attributeName,U=F;switch(L.type){case ee:y&&s.push(En,U,Kn);return;case fe:y===!0?s.push(En,U,Kn):y===!1||s.push(En,U,wn,xr(y),cn);return;case N:isNaN(y)||s.push(En,U,wn,xr(y),cn);break;case re:!isNaN(y)&&y>=1&&s.push(En,U,wn,xr(y),cn);break;default:L.sanitizeURL&&(k(y,F),y=""+y,Nt(y)),s.push(En,U,wn,xr(y),cn)}}else if(le(d)){switch(typeof y){case"function":case"symbol":return;case"boolean":{var oe=d.toLowerCase().slice(0,5);if(oe!=="data-"&&oe!=="aria-")return}}s.push(En,d,wn,xr(y),cn)}}}var dn=">",x="/>";function j(s,c,d){if(c!=null){if(d!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof c!="object"||!("__html"in c))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var y=c.__html;y!=null&&(H(y),s.push(""+y))}}var W=!1,X=!1,we=!1,ye=!1,Me=!1,tt=!1,At=!1;function jt(s,c){{var d=s[c];if(d!=null){var y=He(d);s.multiple&&!y?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",c):!s.multiple&&y&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",c)}}}function Pt(s,c,d){Ne("select",c),jt(c,"value"),jt(c,"defaultValue"),c.value!==void 0&&c.defaultValue!==void 0&&!we&&(i("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"),we=!0),s.push(kn("select"));var y=null,L=null;for(var F in c)if(q.call(c,F)){var U=c[F];if(U==null)continue;switch(F){case"children":y=U;break;case"dangerouslySetInnerHTML":L=U;break;case"defaultValue":case"value":break;default:on(s,d,F,U);break}}return s.push(dn),j(s,L,y),y}function br(s){var c="";return r.Children.forEach(s,function(d){d!=null&&(c+=d,!Me&&typeof d!="string"&&typeof d!="number"&&(Me=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),c}var Zr=' selected=""';function vn(s,c,d,y){var L=y.selectedValue;s.push(kn("option"));var F=null,U=null,oe=null,_e=null;for(var Ue in c)if(q.call(c,Ue)){var rt=c[Ue];if(rt==null)continue;switch(Ue){case"children":F=rt;break;case"selected":oe=rt,At||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),At=!0);break;case"dangerouslySetInnerHTML":_e=rt;break;case"value":U=rt;default:on(s,d,Ue,rt);break}}if(L!=null){var yt;if(U!==null?(k(U,"value"),yt=""+U):(_e!==null&&(tt||(tt=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),yt=br(F)),He(L))for(var Jt=0;Jt<L.length;Jt++){k(L[Jt],"value");var Lr=""+L[Jt];if(Lr===yt){s.push(Zr);break}}else k(L,"select.value"),""+L===yt&&s.push(Zr)}else oe&&s.push(Zr);return s.push(dn),j(s,_e,F),F}function yn(s,c,d){Ne("input",c),c.checked!==void 0&&c.defaultChecked!==void 0&&!X&&(i("%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","A component",c.type),X=!0),c.value!==void 0&&c.defaultValue!==void 0&&!W&&(i("%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","A component",c.type),W=!0),s.push(kn("input"));var y=null,L=null,F=null,U=null;for(var oe in c)if(q.call(c,oe)){var _e=c[oe];if(_e==null)continue;switch(oe){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":U=_e;break;case"defaultValue":L=_e;break;case"checked":F=_e;break;case"value":y=_e;break;default:on(s,d,oe,_e);break}}return F!==null?on(s,d,"checked",F):U!==null&&on(s,d,"checked",U),y!==null?on(s,d,"value",y):L!==null&&on(s,d,"value",L),s.push(x),null}function ai(s,c,d){Ne("textarea",c),c.value!==void 0&&c.defaultValue!==void 0&&!ye&&(i("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"),ye=!0),s.push(kn("textarea"));var y=null,L=null,F=null;for(var U in c)if(q.call(c,U)){var oe=c[U];if(oe==null)continue;switch(U){case"children":F=oe;break;case"value":y=oe;break;case"defaultValue":L=oe;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:on(s,d,U,oe);break}}if(y===null&&L!==null&&(y=L),s.push(dn),F!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(He(F)){if(F.length>1)throw new Error("<textarea> can only have at most one child.");H(F[0]),y=""+F[0]}H(F),y=""+F}return typeof y=="string"&&y[0]===`
|
274
|
+
`&&s.push(Xn),y!==null&&(k(y,"value"),s.push(Gn(""+y))),null}function Nn(s,c,d,y){s.push(kn(d));for(var L in c)if(q.call(c,L)){var F=c[L];if(F==null)continue;switch(L){case"children":case"dangerouslySetInnerHTML":throw new Error(d+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:on(s,y,L,F);break}}return s.push(x),null}function Si(s,c,d){s.push(kn("menuitem"));for(var y in c)if(q.call(c,y)){var L=c[y];if(L==null)continue;switch(y){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:on(s,d,y,L);break}}return s.push(dn),null}function Xr(s,c,d){s.push(kn("title"));var y=null;for(var L in c)if(q.call(c,L)){var F=c[L];if(F==null)continue;switch(L){case"children":y=F;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:on(s,d,L,F);break}}s.push(dn);{var U=Array.isArray(y)&&y.length<2?y[0]||null:y;Array.isArray(y)&&y.length>1?i("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):U!=null&&U.$$typeof!=null?i("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):U!=null&&typeof U!="string"&&typeof U!="number"&&i("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return y}function hi(s,c,d,y){s.push(kn(d));var L=null,F=null;for(var U in c)if(q.call(c,U)){var oe=c[U];if(oe==null)continue;switch(U){case"children":L=oe;break;case"dangerouslySetInnerHTML":F=oe;break;default:on(s,y,U,oe);break}}return s.push(dn),j(s,F,L),typeof L=="string"?(s.push(Gn(L)),null):L}function jn(s,c,d,y){s.push(kn(d));var L=null,F=null;for(var U in c)if(q.call(c,U)){var oe=c[U];if(oe==null)continue;switch(U){case"children":L=oe;break;case"dangerouslySetInnerHTML":F=oe;break;case"style":xi(s,y,oe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:le(U)&&typeof oe!="function"&&typeof oe!="symbol"&&s.push(En,U,wn,xr(oe),cn);break}}return s.push(dn),j(s,F,L),L}var Xn=`
|
275
275
|
`;function yo(s,c,d,y){s.push(kn(d));var L=null,F=null;for(var U in c)if(q.call(c,U)){var oe=c[U];if(oe==null)continue;switch(U){case"children":L=oe;break;case"dangerouslySetInnerHTML":F=oe;break;default:on(s,y,U,oe);break}}if(s.push(dn),F!=null){if(L!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof F!="object"||!("__html"in F))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var _e=F.__html;_e!=null&&(typeof _e=="string"&&_e.length>0&&_e[0]===`
|
276
276
|
`?s.push(Xn,_e):(H(_e),s.push(""+_e)))}return typeof L=="string"&&L[0]===`
|
277
|
-
`&&s.push(Xn),L}var eo=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,to=new Map;function kn(s){var c=to.get(s);if(c===void 0){if(!eo.test(s))throw new Error("Invalid tag: "+s);c="<"+s,to.set(s,c)}return c}var bo="<!DOCTYPE html>";function Jn(s,c,d,y,L){switch(mt(c,d),Ct(c,d),je(c,d,null),!d.suppressContentEditableWarning&&d.contentEditable&&d.children!=null&&i("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."),L.insertionMode!==Dt&&L.insertionMode!==Kt&&c.indexOf("-")===-1&&typeof d.is!="string"&&c.toLowerCase()!==c&&i("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",c),c){case"select":return Pt(s,d,y);case"option":return vn(s,d,y,L);case"textarea":return ai(s,d,y);case"input":return yn(s,d,y);case"menuitem":return Si(s,d,y);case"title":return Xr(s,d,y);case"listing":case"pre":return yo(s,d,c,y);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return Nn(s,d,c,y);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 hi(s,d,c,y);case"html":return L.insertionMode===er&&s.push(bo),hi(s,d,c,y);default:return c.indexOf("-")===-1&&typeof d.is!="string"?hi(s,d,c,y):jn(s,d,c,y)}}var Qn="</",Hi=">";function Dr(s,c,d){switch(c){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:s.push(Qn,c,Hi)}}function Sr(s,c){for(var d=c.bootstrapChunks,y=0;y<d.length-1;y++)g(s,d[y]);return y<d.length?m(s,d[y]):!0}var Ir='<template id="',R='"></template>';function V(s,c,d){g(s,Ir),g(s,c.placeholderPrefix);var y=d.toString(16);return g(s,y),m(s,R)}var
|
277
|
+
`&&s.push(Xn),L}var eo=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,to=new Map;function kn(s){var c=to.get(s);if(c===void 0){if(!eo.test(s))throw new Error("Invalid tag: "+s);c="<"+s,to.set(s,c)}return c}var bo="<!DOCTYPE html>";function Jn(s,c,d,y,L){switch(mt(c,d),Ct(c,d),je(c,d,null),!d.suppressContentEditableWarning&&d.contentEditable&&d.children!=null&&i("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."),L.insertionMode!==Dt&&L.insertionMode!==Kt&&c.indexOf("-")===-1&&typeof d.is!="string"&&c.toLowerCase()!==c&&i("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",c),c){case"select":return Pt(s,d,y);case"option":return vn(s,d,y,L);case"textarea":return ai(s,d,y);case"input":return yn(s,d,y);case"menuitem":return Si(s,d,y);case"title":return Xr(s,d,y);case"listing":case"pre":return yo(s,d,c,y);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return Nn(s,d,c,y);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 hi(s,d,c,y);case"html":return L.insertionMode===er&&s.push(bo),hi(s,d,c,y);default:return c.indexOf("-")===-1&&typeof d.is!="string"?hi(s,d,c,y):jn(s,d,c,y)}}var Qn="</",Hi=">";function Dr(s,c,d){switch(c){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:s.push(Qn,c,Hi)}}function Sr(s,c){for(var d=c.bootstrapChunks,y=0;y<d.length-1;y++)g(s,d[y]);return y<d.length?m(s,d[y]):!0}var Ir='<template id="',R='"></template>';function V(s,c,d){g(s,Ir),g(s,c.placeholderPrefix);var y=d.toString(16);return g(s,y),m(s,R)}var ae="<!--$-->",De='<!--$?--><template id="',Ut='"></template>',qt="<!--$!-->",hr="<!--/$-->",_r="<template",lr='"',Cr=' data-dgst="',Jr=' data-msg="',Rn=' data-stck="',Vr="></template>";function jr(s,c){return m(s,ae)}function Qr(s,c,d){if(g(s,De),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return g(s,d),m(s,Ut)}function li(s,c,d,y,L){var F;return F=m(s,qt),g(s,_r),d&&(g(s,Cr),g(s,xr(d)),g(s,lr)),y&&(g(s,Jr),g(s,xr(y)),g(s,lr)),L&&(g(s,Rn),g(s,xr(L)),g(s,lr)),F=m(s,Vr),F}function pi(s,c){return m(s,hr)}function Fn(s,c){return m(s,hr)}function _o(s,c){return m(s,hr)}var zi='<div hidden id="',sn='">',ds="</div>",Bn='<svg aria-hidden="true" style="display:none" id="',ll='">',Ca="</svg>",$i='<math aria-hidden="true" style="display:none" id="',xo='">',qn="</math>",Yr='<table hidden id="',Ci='">',wa="</table>",cl='<table hidden><tbody id="',zo='">',ul="</tbody></table>",fl='<table hidden><tr id="',Ws='">',hs="</tr></table>",ps='<table hidden><colgroup id="',So='">',dl="</colgroup></table>";function Vs(s,c,d,y){switch(d.insertionMode){case er:case Yt:return g(s,zi),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,sn);case Dt:return g(s,Bn),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,ll);case Kt:return g(s,$i),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,xo);case Mr:return g(s,Yr),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,Ci);case ar:return g(s,cl),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,zo);case fr:return g(s,fl),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,Ws);case zr:return g(s,ps),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,So);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Aa(s,c){switch(c.insertionMode){case er:case Yt:return m(s,ds);case Dt:return m(s,Ca);case Kt:return m(s,qn);case Mr:return m(s,wa);case ar:return m(s,ul);case fr:return m(s,hs);case zr:return m(s,dl);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var w="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",P='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',z='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',J=w+';$RS("',Te='$RS("',Ce='","',ze='")<\/script>';function dt(s,c,d){g(s,c.startInlineScript),c.sentCompleteSegmentFunction?g(s,Te):(c.sentCompleteSegmentFunction=!0,g(s,J)),g(s,c.segmentPrefix);var y=d.toString(16);return g(s,y),g(s,Ce),g(s,c.placeholderPrefix),g(s,y),m(s,ze)}var Bt=P+';$RC("',cr='$RC("',tr='","',Gr='")<\/script>';function ei(s,c,d,y){if(g(s,c.startInlineScript),c.sentCompleteBoundaryFunction?g(s,cr):(c.sentCompleteBoundaryFunction=!0,g(s,Bt)),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var L=y.toString(16);return g(s,d),g(s,tr),g(s,c.segmentPrefix),g(s,L),m(s,Gr)}var wi=z+';$RX("',Ai='$RX("',Gs='"',hl=")<\/script>",gs=",";function Zs(s,c,d,y,L,F){if(g(s,c.startInlineScript),c.sentClientRenderFunction?g(s,Ai):(c.sentClientRenderFunction=!0,g(s,wi)),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return g(s,d),g(s,Gs),(y||L||F)&&(g(s,gs),g(s,rc(y||""))),(L||F)&&(g(s,gs),g(s,rc(L||""))),F&&(g(s,gs),g(s,rc(F))),m(s,hl)}var ef=/[<\u2028\u2029]/g;function rc(s){var c=JSON.stringify(s);return c.replace(ef,function(d){switch(d){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function nc(s,c){var d=Ot(c);return{bootstrapChunks:d.bootstrapChunks,startInlineScript:d.startInlineScript,placeholderPrefix:d.placeholderPrefix,segmentPrefix:d.segmentPrefix,boundaryPrefix:d.boundaryPrefix,idPrefix:d.idPrefix,nextSuspenseID:d.nextSuspenseID,sentCompleteSegmentFunction:d.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:d.sentCompleteBoundaryFunction,sentClientRenderFunction:d.sentClientRenderFunction,generateStaticMarkup:s}}function ru(){return{insertionMode:Yt,selectedValue:null}}function Co(s,c,d,y){return d.generateStaticMarkup?(s.push(xr(c)),!1):Zn(s,c,d,y)}function Ta(s,c,d,y){if(!c.generateStaticMarkup)return Yn(s,c,d,y)}function tf(s,c){return c.generateStaticMarkup?!0:jr(s)}function rf(s,c,d,y,L){return c.generateStaticMarkup?!0:li(s,c,d,y,L)}function nf(s,c){return c.generateStaticMarkup?!0:pi(s)}function Ys(s,c){return c.generateStaticMarkup?!0:_o(s)}var un=Object.assign,nu=Symbol.for("react.element"),iu=Symbol.for("react.portal"),pl=Symbol.for("react.fragment"),Ti=Symbol.for("react.strict_mode"),ou=Symbol.for("react.profiler"),gl=Symbol.for("react.provider"),wo=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),Be=Symbol.for("react.suspense"),Re=Symbol.for("react.suspense_list"),Et=Symbol.for("react.memo"),Qt=Symbol.for("react.lazy"),Or=Symbol.for("react.scope"),bn=Symbol.for("react.debug_trace_mode"),$r=Symbol.for("react.legacy_hidden"),Ks=Symbol.for("react.default_value"),su=Symbol.iterator,Ni="@@iterator";function ml(s){if(s===null||typeof s!="object")return null;var c=su&&s[su]||s[Ni];return typeof c=="function"?c:null}function of(s,c,d){var y=s.displayName;if(y)return y;var L=c.displayName||c.name||"";return L!==""?d+"("+L+")":d}function $o(s){return s.displayName||"Context"}function en(s){if(s==null)return null;if(typeof s.tag=="number"&&i("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case pl:return"Fragment";case iu:return"Portal";case ou:return"Profiler";case Ti:return"StrictMode";case Be:return"Suspense";case Re:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case wo:var c=s;return $o(c)+".Consumer";case gl:var d=s;return $o(d._context)+".Provider";case pe:return of(s,s.render,"ForwardRef");case Et:var y=s.displayName||null;return y!==null?y:en(s.type)||"Memo";case Qt:{var L=s,F=L._payload,U=L._init;try{return en(U(F))}catch{return null}}}return null}var Uo=0,Hr,ic,an,Ao,oc,sc,ac;function Xs(){}Xs.__reactDisabledLog=!0;function To(){{if(Uo===0){Hr=console.log,ic=console.info,an=console.warn,Ao=console.error,oc=console.group,sc=console.groupCollapsed,ac=console.groupEnd;var s={configurable:!0,enumerable:!0,value:Xs,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}Uo++}}function Ea(){{if(Uo--,Uo===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:un({},s,{value:Hr}),info:un({},s,{value:ic}),warn:un({},s,{value:an}),error:un({},s,{value:Ao}),group:un({},s,{value:oc}),groupCollapsed:un({},s,{value:sc}),groupEnd:un({},s,{value:ac})})}Uo<0&&i("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ka=t.ReactCurrentDispatcher,ms;function Js(s,c,d){{if(ms===void 0)try{throw Error()}catch(L){var y=L.stack.trim().match(/\n( *(at )?)/);ms=y&&y[1]||""}return`
|
278
278
|
`+ms+s}}var vl=!1,Eo;{var yl=typeof WeakMap=="function"?WeakMap:Map;Eo=new yl}function Ui(s,c){if(!s||vl)return"";{var d=Eo.get(s);if(d!==void 0)return d}var y;vl=!0;var L=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var F;F=ka.current,ka.current=null,To();try{if(c){var U=function(){throw Error()};if(Object.defineProperty(U.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(U,[])}catch(zn){y=zn}Reflect.construct(s,[],U)}else{try{U.call()}catch(zn){y=zn}s.call(U.prototype)}}else{try{throw Error()}catch(zn){y=zn}s()}}catch(zn){if(zn&&y&&typeof zn.stack=="string"){for(var oe=zn.stack.split(`
|
279
279
|
`),_e=y.stack.split(`
|
280
280
|
`),Ue=oe.length-1,rt=_e.length-1;Ue>=1&&rt>=0&&oe[Ue]!==_e[rt];)rt--;for(;Ue>=1&&rt>=0;Ue--,rt--)if(oe[Ue]!==_e[rt]){if(Ue!==1||rt!==1)do if(Ue--,rt--,rt<0||oe[Ue]!==_e[rt]){var yt=`
|
281
|
-
`+oe[Ue].replace(" at new "," at ");return s.displayName&&yt.includes("<anonymous>")&&(yt=yt.replace("<anonymous>",s.displayName)),typeof s=="function"&&Eo.set(s,yt),yt}while(Ue>=1&&rt>=0);break}}}finally{vl=!1,ka.current=F,Ea(),Error.prepareStackTrace=L}var Jt=s?s.displayName||s.name:"",Lr=Jt?Js(Jt):"";return typeof s=="function"&&Eo.set(s,Lr),Lr}function ko(s,c,d){return Ui(s,!0)}function Wo(s,c,d){return Ui(s,!1)}function sf(s){var c=s.prototype;return!!(c&&c.isReactComponent)}function Ra(s,c,d){if(s==null)return"";if(typeof s=="function")return Ui(s,sf(s));if(typeof s=="string")return Js(s);switch(s){case Be:return Js("Suspense");case
|
281
|
+
`+oe[Ue].replace(" at new "," at ");return s.displayName&&yt.includes("<anonymous>")&&(yt=yt.replace("<anonymous>",s.displayName)),typeof s=="function"&&Eo.set(s,yt),yt}while(Ue>=1&&rt>=0);break}}}finally{vl=!1,ka.current=F,Ea(),Error.prepareStackTrace=L}var Jt=s?s.displayName||s.name:"",Lr=Jt?Js(Jt):"";return typeof s=="function"&&Eo.set(s,Lr),Lr}function ko(s,c,d){return Ui(s,!0)}function Wo(s,c,d){return Ui(s,!1)}function sf(s){var c=s.prototype;return!!(c&&c.isReactComponent)}function Ra(s,c,d){if(s==null)return"";if(typeof s=="function")return Ui(s,sf(s));if(typeof s=="string")return Js(s);switch(s){case Be:return Js("Suspense");case Re:return Js("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case pe:return Wo(s.render);case Et:return Ra(s.type,c,d);case Qt:{var y=s,L=y._payload,F=y._init;try{return Ra(F(L),c,d)}catch{}}}return""}var au={},Qs=t.ReactDebugCurrentFrame;function vs(s){if(s){var c=s._owner,d=Ra(s.type,s._source,c?c.type:null);Qs.setExtraStackFrame(d)}else Qs.setExtraStackFrame(null)}function ea(s,c,d,y,L){{var F=Function.call.bind(q);for(var U in s)if(F(s,U)){var oe=void 0;try{if(typeof s[U]!="function"){var _e=Error((y||"React class")+": "+d+" type `"+U+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[U]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw _e.name="Invariant Violation",_e}oe=s[U](c,U,y,d,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ue){oe=Ue}oe&&!(oe instanceof Error)&&(vs(L),i("%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).",y||"React class",d,U,typeof oe),vs(null)),oe instanceof Error&&!(oe.message in au)&&(au[oe.message]=!0,vs(L),i("Failed %s type: %s",d,oe.message),vs(null))}}}var bl;bl={};var ta={};Object.freeze(ta);function Ia(s,c){{var d=s.contextTypes;if(!d)return ta;var y={};for(var L in d)y[L]=c[L];{var F=en(s)||"Unknown";ea(d,y,"context",F)}return y}}function lu(s,c,d,y){{if(typeof s.getChildContext!="function"){{var L=en(c)||"Unknown";bl[L]||(bl[L]=!0,i("%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.",L,L))}return d}var F=s.getChildContext();for(var U in F)if(!(U in y))throw new Error((en(c)||"Unknown")+'.getChildContext(): key "'+U+'" is not defined in childContextTypes.');{var oe=en(c)||"Unknown";ea(y,F,"child context",oe)}return un({},d,F)}}var ln;ln={};var In=null,Vo=null;function lc(s){s.context._currentValue2=s.parentValue}function Go(s){s.context._currentValue2=s.value}function _l(s,c){if(s!==c){lc(s);var d=s.parent,y=c.parent;if(d===null){if(y!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(y===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");_l(d,y)}Go(c)}}function ro(s){lc(s);var c=s.parent;c!==null&&ro(c)}function Zo(s){var c=s.parent;c!==null&&Zo(c),Go(s)}function ra(s,c){lc(s);var d=s.parent;if(d===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");d.depth===c.depth?_l(d,c):ra(d,c)}function no(s,c){var d=c.parent;if(d===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");s.depth===d.depth?_l(s,d):no(s,d),Go(c)}function Ro(s){var c=Vo,d=s;c!==d&&(c===null?Zo(d):d===null?ro(c):c.depth===d.depth?_l(c,d):c.depth>d.depth?ra(c,d):no(c,d),Vo=d)}function na(s,c){var d;d=s._currentValue2,s._currentValue2=c,s._currentRenderer2!==void 0&&s._currentRenderer2!==null&&s._currentRenderer2!==ln&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),s._currentRenderer2=ln;var y=Vo,L={parent:y,depth:y===null?0:y.depth+1,context:s,parentValue:d,value:c};return Vo=L,L}function La(s){var c=Vo;if(c===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");c.context!==s&&i("The parent context is not the expected context. This is probably a bug in React.");{var d=c.parentValue;d===Ks?c.context._currentValue2=c.context._defaultValue:c.context._currentValue2=d,s._currentRenderer2!==void 0&&s._currentRenderer2!==null&&s._currentRenderer2!==ln&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),s._currentRenderer2=ln}return Vo=c.parent}function ys(){return Vo}function Yo(s){var c=s._currentValue2;return c}function cc(s){return s._reactInternals}function af(s,c){s._reactInternals=c}var cu={},ia={},Ko,bs,Ma,$,Io,Lo,ti,mr,xl;{Ko=new Set,bs=new Set,Ma=new Set,ti=new Set,$=new Set,mr=new Set,xl=new Set;var Da=new Set;Lo=function(s,c){if(!(s===null||typeof s=="function")){var d=c+"_"+s;Da.has(d)||(Da.add(d),i("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",c,s))}},Io=function(s,c){if(c===void 0){var d=en(s)||"Component";$.has(d)||($.add(d),i("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",d))}}}function Sl(s,c){{var d=s.constructor,y=d&&en(d)||"ReactClass",L=y+"."+c;if(cu[L])return;i(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
|
282
282
|
|
283
283
|
Please check the code for the %s component.`,c,c,y),cu[L]=!0}}var io={isMounted:function(s){return!1},enqueueSetState:function(s,c,d){var y=cc(s);y.queue===null?Sl(s,"setState"):(y.queue.push(c),d!=null&&Lo(d,"setState"))},enqueueReplaceState:function(s,c,d){var y=cc(s);y.replace=!0,y.queue=[c],d!=null&&Lo(d,"setState")},enqueueForceUpdate:function(s,c){var d=cc(s);d.queue===null?Sl(s,"forceUpdate"):c!=null&&Lo(c,"setState")}};function uc(s,c,d,y,L){var F=d(L,y);Io(c,F);var U=F==null?y:un({},y,F);return U}function uu(s,c,d){var y=ta,L=s.contextType;if("contextType"in s){var F=L===null||L!==void 0&&L.$$typeof===wo&&L._context===void 0;if(!F&&!xl.has(s)){xl.add(s);var U="";L===void 0?U=" 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 L!="object"?U=" However, it is set to a "+typeof L+".":L.$$typeof===gl?U=" Did you accidentally pass the Context.Provider instead?":L._context!==void 0?U=" Did you accidentally pass the Context.Consumer instead?":U=" However, it is set to an object with keys {"+Object.keys(L).join(", ")+"}.",i("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",en(s)||"Component",U)}}typeof L=="object"&&L!==null?y=Yo(L):y=d;var oe=new s(c,y);{if(typeof s.getDerivedStateFromProps=="function"&&(oe.state===null||oe.state===void 0)){var _e=en(s)||"Component";Ko.has(_e)||(Ko.add(_e),i("`%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.",_e,oe.state===null?"null":"undefined",_e))}if(typeof s.getDerivedStateFromProps=="function"||typeof oe.getSnapshotBeforeUpdate=="function"){var Ue=null,rt=null,yt=null;if(typeof oe.componentWillMount=="function"&&oe.componentWillMount.__suppressDeprecationWarning!==!0?Ue="componentWillMount":typeof oe.UNSAFE_componentWillMount=="function"&&(Ue="UNSAFE_componentWillMount"),typeof oe.componentWillReceiveProps=="function"&&oe.componentWillReceiveProps.__suppressDeprecationWarning!==!0?rt="componentWillReceiveProps":typeof oe.UNSAFE_componentWillReceiveProps=="function"&&(rt="UNSAFE_componentWillReceiveProps"),typeof oe.componentWillUpdate=="function"&&oe.componentWillUpdate.__suppressDeprecationWarning!==!0?yt="componentWillUpdate":typeof oe.UNSAFE_componentWillUpdate=="function"&&(yt="UNSAFE_componentWillUpdate"),Ue!==null||rt!==null||yt!==null){var Jt=en(s)||"Component",Lr=typeof s.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Ma.has(Jt)||(Ma.add(Jt),i(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
284
284
|
|
@@ -301,7 +301,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
301
301
|
Previous: %s
|
302
302
|
Incoming: %s`,ki,"["+s.join(", ")+"]","["+c.join(", ")+"]");for(var d=0;d<c.length&&d<s.length;d++)if(!pf(s[d],c[d]))return!1;return!0}function ui(){if(Xo>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Wi(){return Ar===null?wl===null?(Ei=!1,wl=Ar=ui()):(Ei=!0,Ar=wl):Ar.next===null?(Ei=!1,Ar=Ar.next=ui()):(Ei=!0,Ar=Ar.next),Ar}function xs(s,c){ci=c,hc=s,gi=!1,_s=0}function hu(s,c,d,y){for(;oa;)oa=!1,_s=0,Xo+=1,Ar=null,d=s(c,y);return Ri(),d}function gc(){var s=_s!==0;return s}function Ri(){gi=!1,ci=null,hc=null,oa=!1,wl=null,Xo=0,Pr=null,Ar=null}function mc(s){return gi&&i("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()."),Yo(s)}function Ss(s){return ki="useContext",so(),Yo(s)}function fi(s,c){return typeof c=="function"?c(s):c}function vc(s){return ki="useState",yc(fi,s)}function yc(s,c,d){if(s!==fi&&(ki="useReducer"),ci=so(),Ar=Wi(),Ei){var y=Ar.queue,L=y.dispatch;if(Pr!==null){var F=Pr.get(y);if(F!==void 0){Pr.delete(y);var U=Ar.memoizedState,oe=F;do{var _e=oe.action;gi=!0,U=s(U,_e),gi=!1,oe=oe.next}while(oe!==null);return Ar.memoizedState=U,[U,L]}}return[Ar.memoizedState,L]}else{gi=!0;var Ue;s===fi?Ue=typeof c=="function"?c():c:Ue=d!==void 0?d(c):c,gi=!1,Ar.memoizedState=Ue;var rt=Ar.queue={last:null,dispatch:null},yt=rt.dispatch=_c.bind(null,ci,rt);return[Ar.memoizedState,yt]}}function bc(s,c){ci=so(),Ar=Wi();var d=c===void 0?null:c;if(Ar!==null){var y=Ar.memoizedState;if(y!==null&&d!==null){var L=y[1];if(pc(d,L))return y[0]}}gi=!0;var F=s();return gi=!1,Ar.memoizedState=[F,d],F}function Cs(s){ci=so(),Ar=Wi();var c=Ar.memoizedState;if(c===null){var d={current:s};return Object.seal(d),Ar.memoizedState=d,d}else return c}function Jo(s,c){ki="useLayoutEffect",i("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function _c(s,c,d){if(Xo>=Pa)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(s===ci){oa=!0;var y={action:d,next:null};Pr===null&&(Pr=new Map);var L=Pr.get(c);if(L===void 0)Pr.set(c,y);else{for(var F=L;F.next!==null;)F=F.next;F.next=y}}}function pu(s,c){return bc(function(){return s},c)}function Al(s,c,d){return so(),c(s._source)}function gf(s,c,d){if(d===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return d()}function gu(s){return so(),s}function Hn(){throw new Error("startTransition cannot be called during server rendering.")}function xc(){return so(),[!1,Hn]}function mu(){var s=hc,c=uf(s.treeContext),d=sa;if(d===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var y=_s++;return Kr(d,c,y)}function Ii(){}var Tl={readContext:mc,useContext:Ss,useMemo:bc,useReducer:yc,useRef:Cs,useState:vc,useInsertionEffect:Ii,useLayoutEffect:Jo,useCallback:pu,useImperativeHandle:Ii,useEffect:Ii,useDebugValue:Ii,useDeferredValue:gu,useTransition:xc,useId:mu,useMutableSource:Al,useSyncExternalStore:gf},sa=null;function Qo(s){sa=s}function Na(s){try{var c="",d=s;do{switch(d.tag){case 0:c+=Js(d.type,null,null);break;case 1:c+=Wo(d.type,null,null);break;case 2:c+=ko(d.type,null,null);break}d=d.parent}while(d);return c}catch(y){return`
|
303
303
|
Error generating stack: `+y.message+`
|
304
|
-
`+y.stack}}var On=t.ReactCurrentDispatcher,ws=t.ReactDebugCurrentFrame,El=0,aa=1,kl=2,la=3,Rl=4,ao=0,Il=1,As=2,vu=12800;function ja(s){return console.error(s),null}function ca(){}function ua(s,c,d,y,L,F,U,oe,_e){var Ue=[],rt=new Set,yt={destination:null,responseState:c,progressiveChunkSize:y===void 0?vu:y,status:ao,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:rt,pingedTasks:Ue,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:L===void 0?ja:L,onAllReady:ca,onShellReady:U===void 0?ca:U,onShellError:ca,onFatalError:ca},Jt=Ll(yt,0,null,d,!1,!1);Jt.parentFlushed=!0;var Lr=Ts(yt,s,null,Jt,rt,ta,In,cf);return Ue.push(Lr),yt}function Sc(s,c){var d=s.pingedTasks;d.push(c),d.length===1&&u(function(){return co(s)})}function yu(s,c){return{id:Sn,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:c,errorDigest:null}}function Ts(s,c,d,y,L,F,U,oe){s.allPendingTasks++,d===null?s.pendingRootTasks++:d.pendingTasks++;var _e={node:c,ping:function(){return Sc(s,_e)},blockedBoundary:d,blockedSegment:y,abortSet:L,legacyContext:F,context:U,treeContext:oe};return _e.componentStack=null,L.add(_e),_e}function Ll(s,c,d,y,L,F){return{status:El,id:-1,index:c,parentFlushed:!1,chunks:[],children:[],formatContext:y,boundary:d,lastPushedText:L,textEmbedded:F}}var Do=null;function Ml(){return Do===null||Do.componentStack===null?"":Na(Do.componentStack)}function Oo(s,c){s.componentStack={tag:0,parent:s.componentStack,type:c}}function Fa(s,c){s.componentStack={tag:1,parent:s.componentStack,type:c}}function Vi(s,c){s.componentStack={tag:2,parent:s.componentStack,type:c}}function Gi(s){s.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):s.componentStack=s.componentStack.parent}var lo=null;function Ba(s,c){{var d;typeof c=="string"?d=c:c&&typeof c.message=="string"?d=c.message:d=String(c);var y=lo||Ml();lo=null,s.errorMessage=d,s.errorComponentStack=y}}function es(s,c){var d=s.onError(c);if(d!=null&&typeof d!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d}function Zi(s,c){var d=s.onShellError;d(c);var y=s.onFatalError;y(c),s.destination!==null?(s.status=As,S(s.destination,c)):(s.status=Il,s.fatalError=c)}function fa(s,c,d){Oo(c,"Suspense");var y=c.blockedBoundary,L=c.blockedSegment,F=d.fallback,U=d.children,oe=new Set,_e=yu(s,oe),Ue=L.chunks.length,rt=Ll(s,Ue,_e,L.formatContext,!1,!1);L.children.push(rt),L.lastPushedText=!1;var yt=Ll(s,0,null,L.formatContext,!1,!1);yt.parentFlushed=!0,c.blockedBoundary=_e,c.blockedSegment=yt;try{if(ri(s,c,U),Ta(yt.chunks,s.responseState,yt.lastPushedText,yt.textEmbedded),yt.status=aa,ts(_e,yt),_e.pendingTasks===0){Gi(c);return}}catch(Lr){yt.status=Rl,_e.forceClientRender=!0,_e.errorDigest=es(s,Lr),Ba(_e,Lr)}finally{c.blockedBoundary=y,c.blockedSegment=L}var Jt=Ts(s,F,y,rt,oe,c.legacyContext,c.context,c.treeContext);Jt.componentStack=c.componentStack,s.pingedTasks.push(Jt),Gi(c)}function Dl(s,c,d,y){Oo(c,d);var L=c.blockedSegment,F=Jn(L.chunks,d,y,s.responseState,L.formatContext);L.lastPushedText=!1;var U=L.formatContext;L.formatContext=Vn(U,d,y),ri(s,c,F),L.formatContext=U,Dr(L.chunks,d),L.lastPushedText=!1,Gi(c)}function qa(s){return s.prototype&&s.prototype.isReactComponent}function da(s,c,d,y,L){var F={};xs(c,F);var U=d(y,L);return hu(d,y,U,L)}function bu(s,c,d,y,L){var F=d.render();d.props!==L&&(pr||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",en(y)||"a component"),pr=!0);{var U=y.childContextTypes;if(U!=null){var oe=c.legacyContext,_e=lu(d,y,oe,U);c.legacyContext=_e,An(s,c,F),c.legacyContext=oe;return}}An(s,c,F)}function Cc(s,c,d,y){Vi(c,d);var L=Ia(d,c.legacyContext),F=uu(d,y,L);oo(F,d,y,L),bu(s,c,F,d,y),Gi(c)}var wc={},Es={},Ac={},Ol={},pr=!1,Ha=!1,Tc=!1,ks=!1;function Ec(s,c,d,y){var L;if(L=Ia(d,c.legacyContext),Fa(c,d),d.prototype&&typeof d.prototype.render=="function"){var F=en(d)||"Unknown";wc[F]||(i("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",F,F),wc[F]=!0)}var U=da(s,c,d,y,L),oe=gc();if(typeof U=="object"&&U!==null&&typeof U.render=="function"&&U.$$typeof===void 0){var _e=en(d)||"Unknown";Es[_e]||(i("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.",_e,_e,_e),Es[_e]=!0)}if(typeof U=="object"&&U!==null&&typeof U.render=="function"&&U.$$typeof===void 0){{var Ue=en(d)||"Unknown";Es[Ue]||(i("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.",Ue,Ue,Ue),Es[Ue]=!0)}oo(U,d,y,L),bu(s,c,U,d,y)}else if(_u(d),oe){var rt=c.treeContext,yt=1,Jt=0;c.treeContext=fc(rt,yt,Jt);try{An(s,c,U)}finally{c.treeContext=rt}}else An(s,c,U);Gi(c)}function _u(s){{if(s&&s.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",s.displayName||s.name||"Component"),typeof s.getDerivedStateFromProps=="function"){var c=en(s)||"Unknown";Ol[c]||(i("%s: Function components do not support getDerivedStateFromProps.",c),Ol[c]=!0)}if(typeof s.contextType=="object"&&s.contextType!==null){var d=en(s)||"Unknown";Ac[d]||(i("%s: Function components do not support contextType.",d),Ac[d]=!0)}}}function kc(s,c){if(s&&s.defaultProps){var d=un({},c),y=s.defaultProps;for(var L in y)d[L]===void 0&&(d[L]=y[L]);return d}return c}function Li(s,c,d,y,L){Fa(c,d.render);var F=da(s,c,d.render,y,L),U=gc();if(U){var oe=c.treeContext,_e=1,Ue=0;c.treeContext=fc(oe,_e,Ue);try{An(s,c,F)}finally{c.treeContext=oe}}else An(s,c,F);Gi(c)}function mf(s,c,d,y,L){var F=d.type,U=kc(F,y);jl(s,c,F,U,L)}function Pl(s,c,d,y){d._context===void 0?d!==d.Consumer&&(ks||(ks=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):d=d._context;var L=y.children;typeof L!="function"&&i("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.");var F=Yo(d),U=L(F);An(s,c,U)}function Nl(s,c,d,y){var L=d._context,F=y.value,U=y.children,oe;oe=c.context,c.context=na(L,F),An(s,c,U),c.context=La(L),oe!==c.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function xu(s,c,d,y,L){Oo(c,"Lazy");var F=d._payload,U=d._init,oe=U(F),_e=kc(oe,y);jl(s,c,oe,_e,L),Gi(c)}function jl(s,c,d,y,L){if(typeof d=="function")if(qa(d)){Cc(s,c,d,y);return}else{Ec(s,c,d,y);return}if(typeof d=="string"){Dl(s,c,d,y);return}switch(d){case $r:case bn:case Ti:case ou:case pl:{An(s,c,y.children);return}case Ie:{Oo(c,"SuspenseList"),An(s,c,y.children),Gi(c);return}case Or:throw new Error("ReactDOMServer does not yet support scope components.");case Be:{fa(s,c,y);return}}if(typeof d=="object"&&d!==null)switch(d.$$typeof){case pe:{Li(s,c,d,y,L);return}case Et:{mf(s,c,d,y,L);return}case gl:{Nl(s,c,d,y);return}case wo:{Pl(s,c,d,y);return}case Qt:{xu(s,c,d,y);return}}var F="";throw(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(F+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(d==null?d:typeof d)+"."+F))}function Mi(s,c){typeof Symbol=="function"&&s[Symbol.toStringTag]==="Generator"&&(Ha||i("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."),Ha=!0),s.entries===c&&(Tc||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Tc=!0)}function An(s,c,d){try{return Rc(s,c,d)}catch(y){throw typeof y=="object"&&y!==null&&typeof y.then=="function"||(lo=lo!==null?lo:Ml()),y}}function Rc(s,c,d){if(c.node=d,typeof d=="object"&&d!==null){switch(d.$$typeof){case nu:{var y=d,L=y.type,F=y.props,U=y.ref;jl(s,c,L,F,U);return}case iu:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Qt:{var oe=d,_e=oe._payload,Ue=oe._init,rt;try{rt=Ue(_e)}catch(is){throw typeof is=="object"&&is!==null&&typeof is.then=="function"&&Oo(c,"Lazy"),is}An(s,c,rt);return}}if(He(d)){za(s,c,d);return}var yt=ml(d);if(yt){Mi(d,yt);var Jt=yt.call(d);if(Jt){var Lr=Jt.next();if(!Lr.done){var zn=[];do zn.push(Lr.value),Lr=Jt.next();while(!Lr.done);za(s,c,zn);return}return}}var ns=Object.prototype.toString.call(d);throw new Error("Objects are not valid as a React child (found: "+(ns==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":ns)+"). If you meant to render a collection of children, use an array instead.")}if(typeof d=="string"){var uo=c.blockedSegment;uo.lastPushedText=Co(c.blockedSegment.chunks,d,s.responseState,uo.lastPushedText);return}if(typeof d=="number"){var fo=c.blockedSegment;fo.lastPushedText=Co(c.blockedSegment.chunks,""+d,s.responseState,fo.lastPushedText);return}typeof d=="function"&&i("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 za(s,c,d){for(var y=d.length,L=0;L<y;L++){var F=c.treeContext;c.treeContext=fc(F,y,L);try{ri(s,c,d[L])}finally{c.treeContext=F}}}function Fl(s,c,d){var y=c.blockedSegment,L=y.chunks.length,F=Ll(s,L,null,y.formatContext,y.lastPushedText,!0);y.children.push(F),y.lastPushedText=!1;var U=Ts(s,c.node,c.blockedBoundary,F,c.abortSet,c.legacyContext,c.context,c.treeContext);c.componentStack!==null&&(U.componentStack=c.componentStack.parent);var oe=U.ping;d.then(oe,oe)}function ri(s,c,d){var y=c.blockedSegment.formatContext,L=c.legacyContext,F=c.context,U=null;U=c.componentStack;try{return An(s,c,d)}catch(oe){if(Ri(),typeof oe=="object"&&oe!==null&&typeof oe.then=="function"){Fl(s,c,oe),c.blockedSegment.formatContext=y,c.legacyContext=L,c.context=F,Ro(F),c.componentStack=U;return}else throw c.blockedSegment.formatContext=y,c.legacyContext=L,c.context=F,Ro(F),c.componentStack=U,oe}}function Ic(s,c,d,y){var L=es(s,y);if(c===null?Zi(s,y):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=L,Ba(c,y),c.parentFlushed&&s.clientRenderedBoundaries.push(c))),s.allPendingTasks--,s.allPendingTasks===0){var F=s.onAllReady;F()}}function Lc(s){var c=this,d=s.blockedBoundary,y=s.blockedSegment;y.status=la,Po(c,d,y)}function Bl(s,c,d){var y=s.blockedBoundary,L=s.blockedSegment;if(L.status=la,y===null)c.allPendingTasks--,c.status!==As&&(c.status=As,c.destination!==null&&T(c.destination));else{if(y.pendingTasks--,!y.forceClientRender){y.forceClientRender=!0;var F=d===void 0?new Error("The render was aborted by the server without a reason."):d;y.errorDigest=c.onError(F);{var U="The server did not finish this Suspense boundary: ";F&&typeof F.message=="string"?F=U+F.message:F=U+String(F);var oe=Do;Do=s;try{Ba(y,F)}finally{Do=oe}}y.parentFlushed&&c.clientRenderedBoundaries.push(y)}if(y.fallbackAbortableTasks.forEach(function(Ue){return Bl(Ue,c,d)}),y.fallbackAbortableTasks.clear(),c.allPendingTasks--,c.allPendingTasks===0){var _e=c.onAllReady;_e()}}}function ts(s,c){if(c.chunks.length===0&&c.children.length===1&&c.children[0].boundary===null){var d=c.children[0];d.id=c.id,d.parentFlushed=!0,d.status===aa&&ts(s,d)}else{var y=s.completedSegments;y.push(c)}}function Po(s,c,d){if(c===null){if(d.parentFlushed){if(s.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");s.completedRootSegment=d}if(s.pendingRootTasks--,s.pendingRootTasks===0){s.onShellError=ca;var y=s.onShellReady;y()}}else if(c.pendingTasks--,!c.forceClientRender){if(c.pendingTasks===0)d.parentFlushed&&d.status===aa&&ts(c,d),c.parentFlushed&&s.completedBoundaries.push(c),c.fallbackAbortableTasks.forEach(Lc,s),c.fallbackAbortableTasks.clear();else if(d.parentFlushed&&d.status===aa){ts(c,d);var L=c.completedSegments;L.length===1&&c.parentFlushed&&s.partialBoundaries.push(c)}}if(s.allPendingTasks--,s.allPendingTasks===0){var F=s.onAllReady;F()}}function vf(s,c){var d=c.blockedSegment;if(d.status===El){Ro(c.context);var y=null;y=Do,Do=c;try{An(s,c,c.node),Ta(d.chunks,s.responseState,d.lastPushedText,d.textEmbedded),c.abortSet.delete(c),d.status=aa,Po(s,c.blockedBoundary,d)}catch(F){if(Ri(),typeof F=="object"&&F!==null&&typeof F.then=="function"){var L=c.ping;F.then(L,L)}else c.abortSet.delete(c),d.status=Rl,Ic(s,c.blockedBoundary,d,F)}finally{Do=y}}}function co(s){if(s.status!==As){var c=ys(),d=On.current;On.current=Tl;var y;y=ws.getCurrentStack,ws.getCurrentStack=Ml;var L=sa;Qo(s.responseState);try{var F=s.pingedTasks,U;for(U=0;U<F.length;U++){var oe=F[U];vf(s,oe)}F.splice(0,U),s.destination!==null&&Ua(s,s.destination)}catch(_e){es(s,_e),Zi(s,_e)}finally{Qo(L),On.current=d,ws.getCurrentStack=y,d===Tl&&Ro(c)}}}function rs(s,c,d){switch(d.parentFlushed=!0,d.status){case El:{var y=d.id=s.nextSegmentId++;return d.lastPushedText=!1,d.textEmbedded=!1,V(c,s.responseState,y)}case aa:{d.status=kl;for(var L=!0,F=d.chunks,U=0,oe=d.children,_e=0;_e<oe.length;_e++){for(var Ue=oe[_e];U<Ue.index;U++)g(c,F[U]);L=ha(s,c,Ue)}for(;U<F.length-1;U++)g(c,F[U]);return U<F.length&&(L=m(c,F[U])),L}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ha(s,c,d){var y=d.boundary;if(y===null)return rs(s,c,d);if(y.parentFlushed=!0,y.forceClientRender)return rf(c,s.responseState,y.errorDigest,y.errorMessage,y.errorComponentStack),rs(s,c,d),Ys(c,s.responseState);if(y.pendingTasks>0){y.rootSegmentID=s.nextSegmentId++,y.completedSegments.length>0&&s.partialBoundaries.push(y);var L=y.id=Mn(s.responseState);return Qr(c,s.responseState,L),rs(s,c,d),Fn(c,s.responseState)}else{if(y.byteSize>s.progressiveChunkSize)return y.rootSegmentID=s.nextSegmentId++,s.completedBoundaries.push(y),Qr(c,s.responseState,y.id),rs(s,c,d),Fn(c,s.responseState);tf(c,s.responseState);var F=y.completedSegments;if(F.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var U=F[0];return ha(s,c,U),nf(c,s.responseState)}}function Mc(s,c,d){return Zs(c,s.responseState,d.id,d.errorDigest,d.errorMessage,d.errorComponentStack)}function Dc(s,c,d){return Vs(c,s.responseState,d.formatContext,d.id),ha(s,c,d),Aa(c,d.formatContext)}function $a(s,c,d){for(var y=d.completedSegments,L=0;L<y.length;L++){var F=y[L];Oc(s,c,d,F)}return y.length=0,ei(c,s.responseState,d.id,d.rootSegmentID)}function ql(s,c,d){for(var y=d.completedSegments,L=0;L<y.length;L++){var F=y[L];if(!Oc(s,c,d,F))return L++,y.splice(0,L),!1}return y.splice(0,L),!0}function Oc(s,c,d,y){if(y.status===kl)return!0;var L=y.id;if(L===-1){var F=y.id=d.rootSegmentID;if(F===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Dc(s,c,y)}else return Dc(s,c,y),dt(c,s.responseState,L)}function Ua(s,c){try{var d=s.completedRootSegment;d!==null&&s.pendingRootTasks===0&&(ha(s,c,d),s.completedRootSegment=null,Sr(c,s.responseState));var y=s.clientRenderedBoundaries,L;for(L=0;L<y.length;L++){var F=y[L];if(!Mc(s,c,F)){s.destination=null,L++,y.splice(0,L);return}}y.splice(0,L);var U=s.completedBoundaries;for(L=0;L<U.length;L++){var oe=U[L];if(!$a(s,c,oe)){s.destination=null,L++,U.splice(0,L);return}}U.splice(0,L);var _e=s.partialBoundaries;for(L=0;L<_e.length;L++){var Ue=_e[L];if(!ql(s,c,Ue)){s.destination=null,L++,_e.splice(0,L);return}}_e.splice(0,L);var rt=s.completedBoundaries;for(L=0;L<rt.length;L++){var yt=rt[L];if(!$a(s,c,yt)){s.destination=null,L++,rt.splice(0,L);return}}rt.splice(0,L)}finally{s.allPendingTasks===0&&s.pingedTasks.length===0&&s.clientRenderedBoundaries.length===0&&s.completedBoundaries.length===0&&(s.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),T(c))}}function Su(s){u(function(){return co(s)})}function Cu(s,c){if(s.status===Il){s.status=As,S(c,s.fatalError);return}if(s.status!==As&&s.destination===null){s.destination=c;try{Ua(s,c)}catch(d){es(s,d),Zi(s,d)}}}function Pc(s,c){try{var d=s.abortableTasks;d.forEach(function(y){return Bl(y,s,c)}),d.clear(),s.destination!==null&&Ua(s,s.destination)}catch(y){es(s,y),Zi(s,y)}}function ni(){}function Yi(s,c,d,y){var L=!1,F=null,U="",oe={push:function(yt){return yt!==null&&(U+=yt),!0},destroy:function(yt){L=!0,F=yt}},_e=!1;function Ue(){_e=!0}var rt=ua(s,nc(d,c?c.identifierPrefix:void 0),ru(),1/0,ni,void 0,Ue);if(Su(rt),Pc(rt,y),Cu(rt,oe),L)throw F;if(!_e)throw 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.");return U}function yf(s,c){return Yi(s,c,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function wu(s,c){return Yi(s,c,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function Hl(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function f(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}zc.renderToNodeStream=Hl,zc.renderToStaticMarkup=wu,zc.renderToStaticNodeStream=f,zc.renderToString=yf,zc.version=e}()),zc}var Fd={};/**
|
304
|
+
`+y.stack}}var On=t.ReactCurrentDispatcher,ws=t.ReactDebugCurrentFrame,El=0,aa=1,kl=2,la=3,Rl=4,ao=0,Il=1,As=2,vu=12800;function ja(s){return console.error(s),null}function ca(){}function ua(s,c,d,y,L,F,U,oe,_e){var Ue=[],rt=new Set,yt={destination:null,responseState:c,progressiveChunkSize:y===void 0?vu:y,status:ao,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:rt,pingedTasks:Ue,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:L===void 0?ja:L,onAllReady:ca,onShellReady:U===void 0?ca:U,onShellError:ca,onFatalError:ca},Jt=Ll(yt,0,null,d,!1,!1);Jt.parentFlushed=!0;var Lr=Ts(yt,s,null,Jt,rt,ta,In,cf);return Ue.push(Lr),yt}function Sc(s,c){var d=s.pingedTasks;d.push(c),d.length===1&&u(function(){return co(s)})}function yu(s,c){return{id:Sn,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:c,errorDigest:null}}function Ts(s,c,d,y,L,F,U,oe){s.allPendingTasks++,d===null?s.pendingRootTasks++:d.pendingTasks++;var _e={node:c,ping:function(){return Sc(s,_e)},blockedBoundary:d,blockedSegment:y,abortSet:L,legacyContext:F,context:U,treeContext:oe};return _e.componentStack=null,L.add(_e),_e}function Ll(s,c,d,y,L,F){return{status:El,id:-1,index:c,parentFlushed:!1,chunks:[],children:[],formatContext:y,boundary:d,lastPushedText:L,textEmbedded:F}}var Do=null;function Ml(){return Do===null||Do.componentStack===null?"":Na(Do.componentStack)}function Oo(s,c){s.componentStack={tag:0,parent:s.componentStack,type:c}}function Fa(s,c){s.componentStack={tag:1,parent:s.componentStack,type:c}}function Vi(s,c){s.componentStack={tag:2,parent:s.componentStack,type:c}}function Gi(s){s.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):s.componentStack=s.componentStack.parent}var lo=null;function Ba(s,c){{var d;typeof c=="string"?d=c:c&&typeof c.message=="string"?d=c.message:d=String(c);var y=lo||Ml();lo=null,s.errorMessage=d,s.errorComponentStack=y}}function es(s,c){var d=s.onError(c);if(d!=null&&typeof d!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d}function Zi(s,c){var d=s.onShellError;d(c);var y=s.onFatalError;y(c),s.destination!==null?(s.status=As,S(s.destination,c)):(s.status=Il,s.fatalError=c)}function fa(s,c,d){Oo(c,"Suspense");var y=c.blockedBoundary,L=c.blockedSegment,F=d.fallback,U=d.children,oe=new Set,_e=yu(s,oe),Ue=L.chunks.length,rt=Ll(s,Ue,_e,L.formatContext,!1,!1);L.children.push(rt),L.lastPushedText=!1;var yt=Ll(s,0,null,L.formatContext,!1,!1);yt.parentFlushed=!0,c.blockedBoundary=_e,c.blockedSegment=yt;try{if(ri(s,c,U),Ta(yt.chunks,s.responseState,yt.lastPushedText,yt.textEmbedded),yt.status=aa,ts(_e,yt),_e.pendingTasks===0){Gi(c);return}}catch(Lr){yt.status=Rl,_e.forceClientRender=!0,_e.errorDigest=es(s,Lr),Ba(_e,Lr)}finally{c.blockedBoundary=y,c.blockedSegment=L}var Jt=Ts(s,F,y,rt,oe,c.legacyContext,c.context,c.treeContext);Jt.componentStack=c.componentStack,s.pingedTasks.push(Jt),Gi(c)}function Dl(s,c,d,y){Oo(c,d);var L=c.blockedSegment,F=Jn(L.chunks,d,y,s.responseState,L.formatContext);L.lastPushedText=!1;var U=L.formatContext;L.formatContext=Vn(U,d,y),ri(s,c,F),L.formatContext=U,Dr(L.chunks,d),L.lastPushedText=!1,Gi(c)}function qa(s){return s.prototype&&s.prototype.isReactComponent}function da(s,c,d,y,L){var F={};xs(c,F);var U=d(y,L);return hu(d,y,U,L)}function bu(s,c,d,y,L){var F=d.render();d.props!==L&&(pr||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",en(y)||"a component"),pr=!0);{var U=y.childContextTypes;if(U!=null){var oe=c.legacyContext,_e=lu(d,y,oe,U);c.legacyContext=_e,An(s,c,F),c.legacyContext=oe;return}}An(s,c,F)}function Cc(s,c,d,y){Vi(c,d);var L=Ia(d,c.legacyContext),F=uu(d,y,L);oo(F,d,y,L),bu(s,c,F,d,y),Gi(c)}var wc={},Es={},Ac={},Ol={},pr=!1,Ha=!1,Tc=!1,ks=!1;function Ec(s,c,d,y){var L;if(L=Ia(d,c.legacyContext),Fa(c,d),d.prototype&&typeof d.prototype.render=="function"){var F=en(d)||"Unknown";wc[F]||(i("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",F,F),wc[F]=!0)}var U=da(s,c,d,y,L),oe=gc();if(typeof U=="object"&&U!==null&&typeof U.render=="function"&&U.$$typeof===void 0){var _e=en(d)||"Unknown";Es[_e]||(i("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.",_e,_e,_e),Es[_e]=!0)}if(typeof U=="object"&&U!==null&&typeof U.render=="function"&&U.$$typeof===void 0){{var Ue=en(d)||"Unknown";Es[Ue]||(i("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.",Ue,Ue,Ue),Es[Ue]=!0)}oo(U,d,y,L),bu(s,c,U,d,y)}else if(_u(d),oe){var rt=c.treeContext,yt=1,Jt=0;c.treeContext=fc(rt,yt,Jt);try{An(s,c,U)}finally{c.treeContext=rt}}else An(s,c,U);Gi(c)}function _u(s){{if(s&&s.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",s.displayName||s.name||"Component"),typeof s.getDerivedStateFromProps=="function"){var c=en(s)||"Unknown";Ol[c]||(i("%s: Function components do not support getDerivedStateFromProps.",c),Ol[c]=!0)}if(typeof s.contextType=="object"&&s.contextType!==null){var d=en(s)||"Unknown";Ac[d]||(i("%s: Function components do not support contextType.",d),Ac[d]=!0)}}}function kc(s,c){if(s&&s.defaultProps){var d=un({},c),y=s.defaultProps;for(var L in y)d[L]===void 0&&(d[L]=y[L]);return d}return c}function Li(s,c,d,y,L){Fa(c,d.render);var F=da(s,c,d.render,y,L),U=gc();if(U){var oe=c.treeContext,_e=1,Ue=0;c.treeContext=fc(oe,_e,Ue);try{An(s,c,F)}finally{c.treeContext=oe}}else An(s,c,F);Gi(c)}function mf(s,c,d,y,L){var F=d.type,U=kc(F,y);jl(s,c,F,U,L)}function Pl(s,c,d,y){d._context===void 0?d!==d.Consumer&&(ks||(ks=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):d=d._context;var L=y.children;typeof L!="function"&&i("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.");var F=Yo(d),U=L(F);An(s,c,U)}function Nl(s,c,d,y){var L=d._context,F=y.value,U=y.children,oe;oe=c.context,c.context=na(L,F),An(s,c,U),c.context=La(L),oe!==c.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function xu(s,c,d,y,L){Oo(c,"Lazy");var F=d._payload,U=d._init,oe=U(F),_e=kc(oe,y);jl(s,c,oe,_e,L),Gi(c)}function jl(s,c,d,y,L){if(typeof d=="function")if(qa(d)){Cc(s,c,d,y);return}else{Ec(s,c,d,y);return}if(typeof d=="string"){Dl(s,c,d,y);return}switch(d){case $r:case bn:case Ti:case ou:case pl:{An(s,c,y.children);return}case Re:{Oo(c,"SuspenseList"),An(s,c,y.children),Gi(c);return}case Or:throw new Error("ReactDOMServer does not yet support scope components.");case Be:{fa(s,c,y);return}}if(typeof d=="object"&&d!==null)switch(d.$$typeof){case pe:{Li(s,c,d,y,L);return}case Et:{mf(s,c,d,y,L);return}case gl:{Nl(s,c,d,y);return}case wo:{Pl(s,c,d,y);return}case Qt:{xu(s,c,d,y);return}}var F="";throw(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(F+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(d==null?d:typeof d)+"."+F))}function Mi(s,c){typeof Symbol=="function"&&s[Symbol.toStringTag]==="Generator"&&(Ha||i("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."),Ha=!0),s.entries===c&&(Tc||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Tc=!0)}function An(s,c,d){try{return Rc(s,c,d)}catch(y){throw typeof y=="object"&&y!==null&&typeof y.then=="function"||(lo=lo!==null?lo:Ml()),y}}function Rc(s,c,d){if(c.node=d,typeof d=="object"&&d!==null){switch(d.$$typeof){case nu:{var y=d,L=y.type,F=y.props,U=y.ref;jl(s,c,L,F,U);return}case iu:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Qt:{var oe=d,_e=oe._payload,Ue=oe._init,rt;try{rt=Ue(_e)}catch(is){throw typeof is=="object"&&is!==null&&typeof is.then=="function"&&Oo(c,"Lazy"),is}An(s,c,rt);return}}if(He(d)){za(s,c,d);return}var yt=ml(d);if(yt){Mi(d,yt);var Jt=yt.call(d);if(Jt){var Lr=Jt.next();if(!Lr.done){var zn=[];do zn.push(Lr.value),Lr=Jt.next();while(!Lr.done);za(s,c,zn);return}return}}var ns=Object.prototype.toString.call(d);throw new Error("Objects are not valid as a React child (found: "+(ns==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":ns)+"). If you meant to render a collection of children, use an array instead.")}if(typeof d=="string"){var uo=c.blockedSegment;uo.lastPushedText=Co(c.blockedSegment.chunks,d,s.responseState,uo.lastPushedText);return}if(typeof d=="number"){var fo=c.blockedSegment;fo.lastPushedText=Co(c.blockedSegment.chunks,""+d,s.responseState,fo.lastPushedText);return}typeof d=="function"&&i("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 za(s,c,d){for(var y=d.length,L=0;L<y;L++){var F=c.treeContext;c.treeContext=fc(F,y,L);try{ri(s,c,d[L])}finally{c.treeContext=F}}}function Fl(s,c,d){var y=c.blockedSegment,L=y.chunks.length,F=Ll(s,L,null,y.formatContext,y.lastPushedText,!0);y.children.push(F),y.lastPushedText=!1;var U=Ts(s,c.node,c.blockedBoundary,F,c.abortSet,c.legacyContext,c.context,c.treeContext);c.componentStack!==null&&(U.componentStack=c.componentStack.parent);var oe=U.ping;d.then(oe,oe)}function ri(s,c,d){var y=c.blockedSegment.formatContext,L=c.legacyContext,F=c.context,U=null;U=c.componentStack;try{return An(s,c,d)}catch(oe){if(Ri(),typeof oe=="object"&&oe!==null&&typeof oe.then=="function"){Fl(s,c,oe),c.blockedSegment.formatContext=y,c.legacyContext=L,c.context=F,Ro(F),c.componentStack=U;return}else throw c.blockedSegment.formatContext=y,c.legacyContext=L,c.context=F,Ro(F),c.componentStack=U,oe}}function Ic(s,c,d,y){var L=es(s,y);if(c===null?Zi(s,y):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=L,Ba(c,y),c.parentFlushed&&s.clientRenderedBoundaries.push(c))),s.allPendingTasks--,s.allPendingTasks===0){var F=s.onAllReady;F()}}function Lc(s){var c=this,d=s.blockedBoundary,y=s.blockedSegment;y.status=la,Po(c,d,y)}function Bl(s,c,d){var y=s.blockedBoundary,L=s.blockedSegment;if(L.status=la,y===null)c.allPendingTasks--,c.status!==As&&(c.status=As,c.destination!==null&&T(c.destination));else{if(y.pendingTasks--,!y.forceClientRender){y.forceClientRender=!0;var F=d===void 0?new Error("The render was aborted by the server without a reason."):d;y.errorDigest=c.onError(F);{var U="The server did not finish this Suspense boundary: ";F&&typeof F.message=="string"?F=U+F.message:F=U+String(F);var oe=Do;Do=s;try{Ba(y,F)}finally{Do=oe}}y.parentFlushed&&c.clientRenderedBoundaries.push(y)}if(y.fallbackAbortableTasks.forEach(function(Ue){return Bl(Ue,c,d)}),y.fallbackAbortableTasks.clear(),c.allPendingTasks--,c.allPendingTasks===0){var _e=c.onAllReady;_e()}}}function ts(s,c){if(c.chunks.length===0&&c.children.length===1&&c.children[0].boundary===null){var d=c.children[0];d.id=c.id,d.parentFlushed=!0,d.status===aa&&ts(s,d)}else{var y=s.completedSegments;y.push(c)}}function Po(s,c,d){if(c===null){if(d.parentFlushed){if(s.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");s.completedRootSegment=d}if(s.pendingRootTasks--,s.pendingRootTasks===0){s.onShellError=ca;var y=s.onShellReady;y()}}else if(c.pendingTasks--,!c.forceClientRender){if(c.pendingTasks===0)d.parentFlushed&&d.status===aa&&ts(c,d),c.parentFlushed&&s.completedBoundaries.push(c),c.fallbackAbortableTasks.forEach(Lc,s),c.fallbackAbortableTasks.clear();else if(d.parentFlushed&&d.status===aa){ts(c,d);var L=c.completedSegments;L.length===1&&c.parentFlushed&&s.partialBoundaries.push(c)}}if(s.allPendingTasks--,s.allPendingTasks===0){var F=s.onAllReady;F()}}function vf(s,c){var d=c.blockedSegment;if(d.status===El){Ro(c.context);var y=null;y=Do,Do=c;try{An(s,c,c.node),Ta(d.chunks,s.responseState,d.lastPushedText,d.textEmbedded),c.abortSet.delete(c),d.status=aa,Po(s,c.blockedBoundary,d)}catch(F){if(Ri(),typeof F=="object"&&F!==null&&typeof F.then=="function"){var L=c.ping;F.then(L,L)}else c.abortSet.delete(c),d.status=Rl,Ic(s,c.blockedBoundary,d,F)}finally{Do=y}}}function co(s){if(s.status!==As){var c=ys(),d=On.current;On.current=Tl;var y;y=ws.getCurrentStack,ws.getCurrentStack=Ml;var L=sa;Qo(s.responseState);try{var F=s.pingedTasks,U;for(U=0;U<F.length;U++){var oe=F[U];vf(s,oe)}F.splice(0,U),s.destination!==null&&Ua(s,s.destination)}catch(_e){es(s,_e),Zi(s,_e)}finally{Qo(L),On.current=d,ws.getCurrentStack=y,d===Tl&&Ro(c)}}}function rs(s,c,d){switch(d.parentFlushed=!0,d.status){case El:{var y=d.id=s.nextSegmentId++;return d.lastPushedText=!1,d.textEmbedded=!1,V(c,s.responseState,y)}case aa:{d.status=kl;for(var L=!0,F=d.chunks,U=0,oe=d.children,_e=0;_e<oe.length;_e++){for(var Ue=oe[_e];U<Ue.index;U++)g(c,F[U]);L=ha(s,c,Ue)}for(;U<F.length-1;U++)g(c,F[U]);return U<F.length&&(L=m(c,F[U])),L}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ha(s,c,d){var y=d.boundary;if(y===null)return rs(s,c,d);if(y.parentFlushed=!0,y.forceClientRender)return rf(c,s.responseState,y.errorDigest,y.errorMessage,y.errorComponentStack),rs(s,c,d),Ys(c,s.responseState);if(y.pendingTasks>0){y.rootSegmentID=s.nextSegmentId++,y.completedSegments.length>0&&s.partialBoundaries.push(y);var L=y.id=Mn(s.responseState);return Qr(c,s.responseState,L),rs(s,c,d),Fn(c,s.responseState)}else{if(y.byteSize>s.progressiveChunkSize)return y.rootSegmentID=s.nextSegmentId++,s.completedBoundaries.push(y),Qr(c,s.responseState,y.id),rs(s,c,d),Fn(c,s.responseState);tf(c,s.responseState);var F=y.completedSegments;if(F.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var U=F[0];return ha(s,c,U),nf(c,s.responseState)}}function Mc(s,c,d){return Zs(c,s.responseState,d.id,d.errorDigest,d.errorMessage,d.errorComponentStack)}function Dc(s,c,d){return Vs(c,s.responseState,d.formatContext,d.id),ha(s,c,d),Aa(c,d.formatContext)}function $a(s,c,d){for(var y=d.completedSegments,L=0;L<y.length;L++){var F=y[L];Oc(s,c,d,F)}return y.length=0,ei(c,s.responseState,d.id,d.rootSegmentID)}function ql(s,c,d){for(var y=d.completedSegments,L=0;L<y.length;L++){var F=y[L];if(!Oc(s,c,d,F))return L++,y.splice(0,L),!1}return y.splice(0,L),!0}function Oc(s,c,d,y){if(y.status===kl)return!0;var L=y.id;if(L===-1){var F=y.id=d.rootSegmentID;if(F===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Dc(s,c,y)}else return Dc(s,c,y),dt(c,s.responseState,L)}function Ua(s,c){try{var d=s.completedRootSegment;d!==null&&s.pendingRootTasks===0&&(ha(s,c,d),s.completedRootSegment=null,Sr(c,s.responseState));var y=s.clientRenderedBoundaries,L;for(L=0;L<y.length;L++){var F=y[L];if(!Mc(s,c,F)){s.destination=null,L++,y.splice(0,L);return}}y.splice(0,L);var U=s.completedBoundaries;for(L=0;L<U.length;L++){var oe=U[L];if(!$a(s,c,oe)){s.destination=null,L++,U.splice(0,L);return}}U.splice(0,L);var _e=s.partialBoundaries;for(L=0;L<_e.length;L++){var Ue=_e[L];if(!ql(s,c,Ue)){s.destination=null,L++,_e.splice(0,L);return}}_e.splice(0,L);var rt=s.completedBoundaries;for(L=0;L<rt.length;L++){var yt=rt[L];if(!$a(s,c,yt)){s.destination=null,L++,rt.splice(0,L);return}}rt.splice(0,L)}finally{s.allPendingTasks===0&&s.pingedTasks.length===0&&s.clientRenderedBoundaries.length===0&&s.completedBoundaries.length===0&&(s.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),T(c))}}function Su(s){u(function(){return co(s)})}function Cu(s,c){if(s.status===Il){s.status=As,S(c,s.fatalError);return}if(s.status!==As&&s.destination===null){s.destination=c;try{Ua(s,c)}catch(d){es(s,d),Zi(s,d)}}}function Pc(s,c){try{var d=s.abortableTasks;d.forEach(function(y){return Bl(y,s,c)}),d.clear(),s.destination!==null&&Ua(s,s.destination)}catch(y){es(s,y),Zi(s,y)}}function ni(){}function Yi(s,c,d,y){var L=!1,F=null,U="",oe={push:function(yt){return yt!==null&&(U+=yt),!0},destroy:function(yt){L=!0,F=yt}},_e=!1;function Ue(){_e=!0}var rt=ua(s,nc(d,c?c.identifierPrefix:void 0),ru(),1/0,ni,void 0,Ue);if(Su(rt),Pc(rt,y),Cu(rt,oe),L)throw F;if(!_e)throw 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.");return U}function yf(s,c){return Yi(s,c,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function wu(s,c){return Yi(s,c,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function Hl(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function f(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}zc.renderToNodeStream=Hl,zc.renderToStaticMarkup=wu,zc.renderToStaticNodeStream=f,zc.renderToString=yf,zc.version=e}()),zc}var Fd={};/**
|
305
305
|
* @license React
|
306
306
|
* react-dom-server.browser.development.js
|
307
307
|
*
|
@@ -309,17 +309,17 @@ Error generating stack: `+y.message+`
|
|
309
309
|
*
|
310
310
|
* This source code is licensed under the MIT license found in the
|
311
311
|
* LICENSE file in the root directory of this source tree.
|
312
|
-
*/var ay;function rO(){return ay||(ay=1,process.env.NODE_ENV!=="production"&&function(){var r=I,e="18.2.0",t=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(f){{for(var s=arguments.length,c=new Array(s>1?s-1:0),d=1;d<s;d++)c[d-1]=arguments[d];l("warn",f,c)}}function i(f){{for(var s=arguments.length,c=new Array(s>1?s-1:0),d=1;d<s;d++)c[d-1]=arguments[d];l("error",f,c)}}function l(f,s,c){{var d=t.ReactDebugCurrentFrame,y=d.getStackAddendum();y!==""&&(s+="%s",c=c.concat([y]));var L=c.map(function(F){return String(F)});L.unshift("Warning: "+s),Function.prototype.apply.call(console[f],console,L)}}function u(f){f()}var h=512,g=null,m=0;function M(f){g=new Uint8Array(h),m=0}function T(f,s){if(s.length!==0){if(s.length>h){m>0&&(f.enqueue(new Uint8Array(g.buffer,0,m)),g=new Uint8Array(h),m=0),f.enqueue(s);return}var c=s,d=g.length-m;d<c.length&&(d===0?f.enqueue(g):(g.set(c.subarray(0,d),m),f.enqueue(g),c=c.subarray(d)),g=new Uint8Array(h),m=0),g.set(c,m),m+=c.length}}function C(f,s){return T(f,s),!0}function _(f){g&&m>0&&(f.enqueue(new Uint8Array(g.buffer,0,m)),g=null,m=0)}function S(f){f.close()}var D=new TextEncoder;function A(f){return D.encode(f)}function b(f){return D.encode(f)}function k(f,s){typeof f.error=="function"?f.error(s):f.close()}function O(f){{var s=typeof Symbol=="function"&&Symbol.toStringTag,c=s&&f[Symbol.toStringTag]||f.constructor.name||"Object";return c}}function H(f){try{return q(f),!1}catch{return!0}}function q(f){return""+f}function G(f,s){if(H(f))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",s,O(f)),q(f)}function Y(f,s){if(H(f))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",s,O(f)),q(f)}function ue(f){if(H(f))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",O(f)),q(f)}var ee=Object.prototype.hasOwnProperty,fe=0,N=1,re=2,K=3,ne=4,ie=5,ce=6,me=":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",ae=me+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",be=new RegExp("^["+me+"]["+ae+"]*$"),ge={},xe={};function Le(f){return ee.call(xe,f)?!0:ee.call(ge,f)?!1:be.test(f)?(xe[f]=!0,!0):(ge[f]=!0,i("Invalid attribute name: `%s`",f),!1)}function Pe(f,s,c,d){if(c!==null&&c.type===fe)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":{if(c!==null)return!c.acceptsBooleans;var y=f.toLowerCase().slice(0,5);return y!=="data-"&&y!=="aria-"}default:return!1}}function We(f){return ot.hasOwnProperty(f)?ot[f]:null}function Te(f,s,c,d,y,L,F){this.acceptsBooleans=s===re||s===K||s===ne,this.attributeName=d,this.attributeNamespace=y,this.mustUseProperty=c,this.propertyName=f,this.type=s,this.sanitizeURL=L,this.removeEmptyString=F}var ot={},pt=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];pt.forEach(function(f){ot[f]=new Te(f,fe,!1,f,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(f){var s=f[0],c=f[1];ot[s]=new Te(s,N,!1,c,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(f){ot[f]=new Te(f,re,!1,f.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(f){ot[f]=new Te(f,re,!1,f,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(f){ot[f]=new Te(f,K,!1,f.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(f){ot[f]=new Te(f,K,!0,f,null,!1,!1)}),["capture","download"].forEach(function(f){ot[f]=new Te(f,ne,!1,f,null,!1,!1)}),["cols","rows","size","span"].forEach(function(f){ot[f]=new Te(f,ce,!1,f,null,!1,!1)}),["rowSpan","start"].forEach(function(f){ot[f]=new Te(f,ie,!1,f.toLowerCase(),null,!1,!1)});var Ke=/[\-\:]([a-z])/g,Ye=function(f){return f[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(f){var s=f.replace(Ke,Ye);ot[s]=new Te(s,N,!1,f,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(f){var s=f.replace(Ke,Ye);ot[s]=new Te(s,N,!1,f,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(f){var s=f.replace(Ke,Ye);ot[s]=new Te(s,N,!1,f,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(f){ot[f]=new Te(f,N,!1,f.toLowerCase(),null,!1,!1)});var Oe="xlinkHref";ot[Oe]=new Te("xlinkHref",N,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(f){ot[f]=new Te(f,N,!1,f.toLowerCase(),null,!0,!0)});var ke={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 Ee(f,s){return f+s.charAt(0).toUpperCase()+s.substring(1)}var Ne=["Webkit","ms","Moz","O"];Object.keys(ke).forEach(function(f){Ne.forEach(function(s){ke[Ee(s,f)]=ke[f]})});var Re={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Je(f,s){Re[s.type]||s.onChange||s.onInput||s.readOnly||s.disabled||s.value==null||i("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`."),s.onChange||s.readOnly||s.disabled||s.checked==null||i("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 ft(f,s){if(f.indexOf("-")===-1)return typeof s.is=="string";switch(f){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 xt={"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},St={},mt=new RegExp("^(aria)-["+ae+"]*$"),It=new RegExp("^(aria)[A-Z]["+ae+"]*$");function Ct(f,s){{if(ee.call(St,s)&&St[s])return!0;if(It.test(s)){var c="aria-"+s.slice(4).toLowerCase(),d=xt.hasOwnProperty(c)?c:null;if(d==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",s),St[s]=!0,!0;if(s!==d)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",s,d),St[s]=!0,!0}if(mt.test(s)){var y=s.toLowerCase(),L=xt.hasOwnProperty(y)?y:null;if(L==null)return St[s]=!0,!1;if(s!==L)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",s,L),St[s]=!0,!0}}return!0}function ct(f,s){{var c=[];for(var d in s){var y=Ct(f,d);y||c.push(d)}var L=c.map(function(F){return"`"+F+"`"}).join(", ");c.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",L,f):c.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",L,f)}}function ut(f,s){ft(f,s)||ct(f,s)}var et=!1;function Se(f,s){{if(f!=="input"&&f!=="textarea"&&f!=="select")return;s!=null&&s.value===null&&!et&&(et=!0,f==="select"&&s.multiple?i("`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.",f):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",f))}}var Ze={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"},at=function(){};{var gt={},Tt=/^on./,je=/^on[^A-Z]/,_t=new RegExp("^(aria)-["+ae+"]*$"),Mt=new RegExp("^(aria)[A-Z]["+ae+"]*$");at=function(f,s,c,d){if(ee.call(gt,s)&>[s])return!0;var y=s.toLowerCase();if(y==="onfocusin"||y==="onfocusout")return i("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."),gt[s]=!0,!0;if(d!=null){var L=d.registrationNameDependencies,F=d.possibleRegistrationNames;if(L.hasOwnProperty(s))return!0;var U=F.hasOwnProperty(y)?F[y]:null;if(U!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",s,U),gt[s]=!0,!0;if(Tt.test(s))return i("Unknown event handler property `%s`. It will be ignored.",s),gt[s]=!0,!0}else if(Tt.test(s))return je.test(s)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",s),gt[s]=!0,!0;if(_t.test(s)||Mt.test(s))return!0;if(y==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),gt[s]=!0,!0;if(y==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),gt[s]=!0,!0;if(y==="is"&&c!==null&&c!==void 0&&typeof c!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof c),gt[s]=!0,!0;if(typeof c=="number"&&isNaN(c))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",s),gt[s]=!0,!0;var oe=We(s),_e=oe!==null&&oe.type===fe;if(Ze.hasOwnProperty(y)){var Ue=Ze[y];if(Ue!==s)return i("Invalid DOM property `%s`. Did you mean `%s`?",s,Ue),gt[s]=!0,!0}else if(!_e&&s!==y)return i("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.",s,y),gt[s]=!0,!0;return typeof c=="boolean"&&Pe(s,c,oe)?(c?i('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()}.',c,s,s,c,s):i('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.',c,s,s,c,s,s,s),gt[s]=!0,!0):_e?!0:Pe(s,c,oe)?(gt[s]=!0,!1):((c==="false"||c==="true")&&oe!==null&&oe.type===K&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",c,s,c==="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".',s,c),gt[s]=!0),!0)}}var vr=function(f,s,c){{var d=[];for(var y in s){var L=at(f,y,s[y],c);L||d.push(y)}var F=d.map(function(U){return"`"+U+"`"}).join(", ");d.length===1?i("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 ",F,f):d.length>1&&i("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 ",F,f)}};function nr(f,s,c){ft(f,s)||vr(f,s,c)}var Zt=function(){};{var he=/^(?:webkit|moz|o)[A-Z]/,te=/^-ms-/,Fe=/-(.)/g,Xe=/;\s*$/,Lt={},vt={},wt=!1,Gt=!1,Ft=function(f){return f.replace(Fe,function(s,c){return c.toUpperCase()})},sr=function(f){Lt.hasOwnProperty(f)&&Lt[f]||(Lt[f]=!0,i("Unsupported style property %s. Did you mean %s?",f,Ft(f.replace(te,"ms-"))))},dr=function(f){Lt.hasOwnProperty(f)&&Lt[f]||(Lt[f]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",f,f.charAt(0).toUpperCase()+f.slice(1)))},Rr=function(f,s){vt.hasOwnProperty(s)&&vt[s]||(vt[s]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,f,s.replace(Xe,"")))},ur=function(f,s){wt||(wt=!0,i("`NaN` is an invalid value for the `%s` css style property.",f))},xr=function(f,s){Gt||(Gt=!0,i("`Infinity` is an invalid value for the `%s` css style property.",f))};Zt=function(f,s){f.indexOf("-")>-1?sr(f):he.test(f)?dr(f):Xe.test(s)&&Rr(f,s),typeof s=="number"&&(isNaN(s)?ur(f,s):isFinite(s)||xr(f,s))}}var Wr=Zt,st=/["'&<>]/;function Rt(f){ue(f);var s=""+f,c=st.exec(s);if(!c)return s;var d,y="",L,F=0;for(L=c.index;L<s.length;L++){switch(s.charCodeAt(L)){case 34:d=""";break;case 38:d="&";break;case 39:d="'";break;case 60:d="<";break;case 62:d=">";break;default:continue}F!==L&&(y+=s.substring(F,L)),F=L+1,y+=d}return F!==L?y+s.substring(F,L):y}function bt(f){return typeof f=="boolean"||typeof f=="number"?""+f:Rt(f)}var Qe=/([A-Z])/g,Nt=/^ms-/;function Q(f){return f.replace(Qe,"-$1").toLowerCase().replace(Nt,"-ms-")}var He=/^[\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,ht=!1;function Ot(f){!ht&&He.test(f)&&(ht=!0,i("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(f)))}var er=Array.isArray;function Yt(f){return er(f)}var Dt=b("<script>"),Kt=b("<\/script>"),Mr=b('<script src="'),ar=b('<script type="module" src="'),fr=b('" async=""><\/script>');function zr(f){return ue(f),(""+f).replace(gr,Vn)}var gr=/(<\/|<)(s)(cript)/gi,Vn=function(f,s,c,d){return""+s+(c==="s"?"\\u0073":"\\u0053")+d};function Sn(f,s,c,d,y){var L=f===void 0?"":f,F=s===void 0?Dt:b('<script nonce="'+bt(s)+'">'),U=[];if(c!==void 0&&U.push(F,A(zr(c)),Kt),d!==void 0)for(var oe=0;oe<d.length;oe++)U.push(Mr,A(bt(d[oe])),fr);if(y!==void 0)for(var _e=0;_e<y.length;_e++)U.push(ar,A(bt(y[_e])),fr);return{bootstrapChunks:U,startInlineScript:F,placeholderPrefix:b(L+"P:"),segmentPrefix:b(L+"S:"),boundaryPrefix:L+"B:",idPrefix:L,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Mn=0,Kr=1,Gn=2,Tn=3,Zn=4,Yn=5,nn=6,Dn=7;function Cn(f,s){return{insertionMode:f,selectedValue:s}}function di(f){var s=f==="http://www.w3.org/2000/svg"?Gn:f==="http://www.w3.org/1998/Math/MathML"?Tn:Mn;return Cn(s,null)}function _i(f,s,c){switch(s){case"select":return Cn(Kr,c.value!=null?c.value:c.defaultValue);case"svg":return Cn(Gn,null);case"math":return Cn(Tn,null);case"foreignObject":return Cn(Kr,null);case"table":return Cn(Zn,null);case"thead":case"tbody":case"tfoot":return Cn(Yn,null);case"colgroup":return Cn(Dn,null);case"tr":return Cn(nn,null)}return f.insertionMode>=Zn||f.insertionMode===Mn?Cn(Kr,null):f}var xi=null;function En(f){var s=f.nextSuspenseID++;return b(f.boundaryPrefix+s.toString(16))}function wn(f,s,c){var d=f.idPrefix,y=":"+d+"R"+s;return c>0&&(y+="H"+c.toString(32)),y+":"}function cn(f){return bt(f)}var Kn=b("<!-- -->");function on(f,s,c,d){return s===""?d:(d&&f.push(Kn),f.push(A(cn(s))),!0)}function dn(f,s,c,d){c&&d&&f.push(Kn)}var x=new Map;function j(f){var s=x.get(f);if(s!==void 0)return s;var c=b(bt(Q(f)));return x.set(f,c),c}var W=b(' style="'),X=b(":"),we=b(";");function ye(f,s,c){if(typeof c!="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.");var d=!0;for(var y in c)if(ee.call(c,y)){var L=c[y];if(!(L==null||typeof L=="boolean"||L==="")){var F=void 0,U=void 0,oe=y.indexOf("--")===0;oe?(F=A(bt(y)),Y(L,y),U=A(bt((""+L).trim()))):(Wr(y,L),F=j(y),typeof L=="number"?L!==0&&!ee.call(ke,y)?U=A(L+"px"):U=A(""+L):(Y(L,y),U=A(bt((""+L).trim())))),d?(d=!1,f.push(W,F,X,U)):f.push(we,F,X,U)}}d||f.push(At)}var Me=b(" "),tt=b('="'),At=b('"'),jt=b('=""');function Pt(f,s,c,d){switch(c){case"style":{ye(f,s,d);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(c.length>2&&(c[0]==="o"||c[0]==="O")&&(c[1]==="n"||c[1]==="N"))){var y=We(c);if(y!==null){switch(typeof d){case"function":case"symbol":return;case"boolean":if(!y.acceptsBooleans)return}var L=y.attributeName,F=A(L);switch(y.type){case K:d&&f.push(Me,F,jt);return;case ne:d===!0?f.push(Me,F,jt):d===!1||f.push(Me,F,tt,A(bt(d)),At);return;case ie:isNaN(d)||f.push(Me,F,tt,A(bt(d)),At);break;case ce:!isNaN(d)&&d>=1&&f.push(Me,F,tt,A(bt(d)),At);break;default:y.sanitizeURL&&(G(d,L),d=""+d,Ot(d)),f.push(Me,F,tt,A(bt(d)),At)}}else if(Le(c)){switch(typeof d){case"function":case"symbol":return;case"boolean":{var U=c.toLowerCase().slice(0,5);if(U!=="data-"&&U!=="aria-")return}}f.push(Me,A(c),tt,A(bt(d)),At)}}}var br=b(">"),Zr=b("/>");function vn(f,s,c){if(s!=null){if(c!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof s!="object"||!("__html"in s))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var d=s.__html;d!=null&&(ue(d),f.push(A(""+d)))}}var yn=!1,ai=!1,Nn=!1,Si=!1,Xr=!1,hi=!1,jn=!1;function Xn(f,s){{var c=f[s];if(c!=null){var d=Yt(c);f.multiple&&!d?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",s):!f.multiple&&d&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",s)}}}function yo(f,s,c){Je("select",s),Xn(s,"value"),Xn(s,"defaultValue"),s.value!==void 0&&s.defaultValue!==void 0&&!Nn&&(i("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"),Nn=!0),f.push(Ut("select"));var d=null,y=null;for(var L in s)if(ee.call(s,L)){var F=s[L];if(F==null)continue;switch(L){case"children":d=F;break;case"dangerouslySetInnerHTML":y=F;break;case"defaultValue":case"value":break;default:Pt(f,c,L,F);break}}return f.push(br),vn(f,y,d),d}function eo(f){var s="";return r.Children.forEach(f,function(c){c!=null&&(s+=c,!Xr&&typeof c!="string"&&typeof c!="number"&&(Xr=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),s}var to=b(' selected=""');function kn(f,s,c,d){var y=d.selectedValue;f.push(Ut("option"));var L=null,F=null,U=null,oe=null;for(var _e in s)if(ee.call(s,_e)){var Ue=s[_e];if(Ue==null)continue;switch(_e){case"children":L=Ue;break;case"selected":U=Ue,jn||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),jn=!0);break;case"dangerouslySetInnerHTML":oe=Ue;break;case"value":F=Ue;default:Pt(f,c,_e,Ue);break}}if(y!=null){var rt;if(F!==null?(G(F,"value"),rt=""+F):(oe!==null&&(hi||(hi=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),rt=eo(L)),Yt(y))for(var yt=0;yt<y.length;yt++){G(y[yt],"value");var Jt=""+y[yt];if(Jt===rt){f.push(to);break}}else G(y,"select.value"),""+y===rt&&f.push(to)}else U&&f.push(to);return f.push(br),vn(f,oe,L),L}function bo(f,s,c){Je("input",s),s.checked!==void 0&&s.defaultChecked!==void 0&&!ai&&(i("%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","A component",s.type),ai=!0),s.value!==void 0&&s.defaultValue!==void 0&&!yn&&(i("%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","A component",s.type),yn=!0),f.push(Ut("input"));var d=null,y=null,L=null,F=null;for(var U in s)if(ee.call(s,U)){var oe=s[U];if(oe==null)continue;switch(U){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":F=oe;break;case"defaultValue":y=oe;break;case"checked":L=oe;break;case"value":d=oe;break;default:Pt(f,c,U,oe);break}}return L!==null?Pt(f,c,"checked",L):F!==null&&Pt(f,c,"checked",F),d!==null?Pt(f,c,"value",d):y!==null&&Pt(f,c,"value",y),f.push(Zr),null}function Jn(f,s,c){Je("textarea",s),s.value!==void 0&&s.defaultValue!==void 0&&!Si&&(i("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"),Si=!0),f.push(Ut("textarea"));var d=null,y=null,L=null;for(var F in s)if(ee.call(s,F)){var U=s[F];if(U==null)continue;switch(F){case"children":L=U;break;case"value":d=U;break;case"defaultValue":y=U;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Pt(f,c,F,U);break}}if(d===null&&y!==null&&(d=y),f.push(br),L!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),d!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Yt(L)){if(L.length>1)throw new Error("<textarea> can only have at most one child.");ue(L[0]),d=""+L[0]}ue(L),d=""+L}return typeof d=="string"&&d[0]===`
|
313
|
-
`&&f.push(R),d!==null&&(G(d,"value"),f.push(A(cn(""+d)))),null}function Qn(f,s,c,d){f.push(Ut(c));for(var y in s)if(ee.call(s,y)){var L=s[y];if(L==null)continue;switch(y){case"children":case"dangerouslySetInnerHTML":throw new Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Pt(f,d,y,L);break}}return f.push(Zr),null}function Hi(f,s,c){f.push(Ut("menuitem"));for(var d in s)if(ee.call(s,d)){var y=s[d];if(y==null)continue;switch(d){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:Pt(f,c,d,y);break}}return f.push(br),null}function Dr(f,s,c){f.push(Ut("title"));var d=null;for(var y in s)if(ee.call(s,y)){var L=s[y];if(L==null)continue;switch(y){case"children":d=L;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:Pt(f,c,y,L);break}}f.push(br);{var F=Array.isArray(d)&&d.length<2?d[0]||null:d;Array.isArray(d)&&d.length>1?i("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):F!=null&&F.$$typeof!=null?i("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):F!=null&&typeof F!="string"&&typeof F!="number"&&i("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return d}function Sr(f,s,c,d){f.push(Ut(c));var y=null,L=null;for(var F in s)if(ee.call(s,F)){var U=s[F];if(U==null)continue;switch(F){case"children":y=U;break;case"dangerouslySetInnerHTML":L=U;break;default:Pt(f,d,F,U);break}}return f.push(br),vn(f,L,y),typeof y=="string"?(f.push(A(cn(y))),null):y}function Ir(f,s,c,d){f.push(Ut(c));var y=null,L=null;for(var F in s)if(ee.call(s,F)){var U=s[F];if(U==null)continue;switch(F){case"children":y=U;break;case"dangerouslySetInnerHTML":L=U;break;case"style":ye(f,d,U);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:
|
312
|
+
*/var ay;function rO(){return ay||(ay=1,process.env.NODE_ENV!=="production"&&function(){var r=I,e="18.2.0",t=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(f){{for(var s=arguments.length,c=new Array(s>1?s-1:0),d=1;d<s;d++)c[d-1]=arguments[d];l("warn",f,c)}}function i(f){{for(var s=arguments.length,c=new Array(s>1?s-1:0),d=1;d<s;d++)c[d-1]=arguments[d];l("error",f,c)}}function l(f,s,c){{var d=t.ReactDebugCurrentFrame,y=d.getStackAddendum();y!==""&&(s+="%s",c=c.concat([y]));var L=c.map(function(F){return String(F)});L.unshift("Warning: "+s),Function.prototype.apply.call(console[f],console,L)}}function u(f){f()}var h=512,g=null,m=0;function M(f){g=new Uint8Array(h),m=0}function T(f,s){if(s.length!==0){if(s.length>h){m>0&&(f.enqueue(new Uint8Array(g.buffer,0,m)),g=new Uint8Array(h),m=0),f.enqueue(s);return}var c=s,d=g.length-m;d<c.length&&(d===0?f.enqueue(g):(g.set(c.subarray(0,d),m),f.enqueue(g),c=c.subarray(d)),g=new Uint8Array(h),m=0),g.set(c,m),m+=c.length}}function C(f,s){return T(f,s),!0}function _(f){g&&m>0&&(f.enqueue(new Uint8Array(g.buffer,0,m)),g=null,m=0)}function S(f){f.close()}var D=new TextEncoder;function A(f){return D.encode(f)}function b(f){return D.encode(f)}function k(f,s){typeof f.error=="function"?f.error(s):f.close()}function O(f){{var s=typeof Symbol=="function"&&Symbol.toStringTag,c=s&&f[Symbol.toStringTag]||f.constructor.name||"Object";return c}}function H(f){try{return q(f),!1}catch{return!0}}function q(f){return""+f}function G(f,s){if(H(f))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",s,O(f)),q(f)}function Y(f,s){if(H(f))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",s,O(f)),q(f)}function ue(f){if(H(f))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",O(f)),q(f)}var ee=Object.prototype.hasOwnProperty,fe=0,N=1,re=2,K=3,ne=4,ie=5,ce=6,me=":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",le=me+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",be=new RegExp("^["+me+"]["+le+"]*$"),ge={},xe={};function Ie(f){return ee.call(xe,f)?!0:ee.call(ge,f)?!1:be.test(f)?(xe[f]=!0,!0):(ge[f]=!0,i("Invalid attribute name: `%s`",f),!1)}function Pe(f,s,c,d){if(c!==null&&c.type===fe)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":{if(c!==null)return!c.acceptsBooleans;var y=f.toLowerCase().slice(0,5);return y!=="data-"&&y!=="aria-"}default:return!1}}function Ve(f){return ot.hasOwnProperty(f)?ot[f]:null}function Ee(f,s,c,d,y,L,F){this.acceptsBooleans=s===re||s===K||s===ne,this.attributeName=d,this.attributeNamespace=y,this.mustUseProperty=c,this.propertyName=f,this.type=s,this.sanitizeURL=L,this.removeEmptyString=F}var ot={},ht=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ht.forEach(function(f){ot[f]=new Ee(f,fe,!1,f,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(f){var s=f[0],c=f[1];ot[s]=new Ee(s,N,!1,c,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(f){ot[f]=new Ee(f,re,!1,f.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(f){ot[f]=new Ee(f,re,!1,f,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(f){ot[f]=new Ee(f,K,!1,f.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(f){ot[f]=new Ee(f,K,!0,f,null,!1,!1)}),["capture","download"].forEach(function(f){ot[f]=new Ee(f,ne,!1,f,null,!1,!1)}),["cols","rows","size","span"].forEach(function(f){ot[f]=new Ee(f,ce,!1,f,null,!1,!1)}),["rowSpan","start"].forEach(function(f){ot[f]=new Ee(f,ie,!1,f.toLowerCase(),null,!1,!1)});var Ke=/[\-\:]([a-z])/g,Ye=function(f){return f[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(f){var s=f.replace(Ke,Ye);ot[s]=new Ee(s,N,!1,f,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(f){var s=f.replace(Ke,Ye);ot[s]=new Ee(s,N,!1,f,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(f){var s=f.replace(Ke,Ye);ot[s]=new Ee(s,N,!1,f,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(f){ot[f]=new Ee(f,N,!1,f.toLowerCase(),null,!1,!1)});var Oe="xlinkHref";ot[Oe]=new Ee("xlinkHref",N,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(f){ot[f]=new Ee(f,N,!1,f.toLowerCase(),null,!0,!0)});var Ne={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 Ae(f,s){return f+s.charAt(0).toUpperCase()+s.substring(1)}var Le=["Webkit","ms","Moz","O"];Object.keys(Ne).forEach(function(f){Le.forEach(function(s){Ne[Ae(s,f)]=Ne[f]})});var ke={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Je(f,s){ke[s.type]||s.onChange||s.onInput||s.readOnly||s.disabled||s.value==null||i("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`."),s.onChange||s.readOnly||s.disabled||s.checked==null||i("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 ft(f,s){if(f.indexOf("-")===-1)return typeof s.is=="string";switch(f){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 xt={"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},St={},mt=new RegExp("^(aria)-["+le+"]*$"),It=new RegExp("^(aria)[A-Z]["+le+"]*$");function Ct(f,s){{if(ee.call(St,s)&&St[s])return!0;if(It.test(s)){var c="aria-"+s.slice(4).toLowerCase(),d=xt.hasOwnProperty(c)?c:null;if(d==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",s),St[s]=!0,!0;if(s!==d)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",s,d),St[s]=!0,!0}if(mt.test(s)){var y=s.toLowerCase(),L=xt.hasOwnProperty(y)?y:null;if(L==null)return St[s]=!0,!1;if(s!==L)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",s,L),St[s]=!0,!0}}return!0}function ct(f,s){{var c=[];for(var d in s){var y=Ct(f,d);y||c.push(d)}var L=c.map(function(F){return"`"+F+"`"}).join(", ");c.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",L,f):c.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",L,f)}}function ut(f,s){ft(f,s)||ct(f,s)}var et=!1;function Se(f,s){{if(f!=="input"&&f!=="textarea"&&f!=="select")return;s!=null&&s.value===null&&!et&&(et=!0,f==="select"&&s.multiple?i("`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.",f):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",f))}}var Ze={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"},at=function(){};{var gt={},Tt=/^on./,je=/^on[^A-Z]/,_t=new RegExp("^(aria)-["+le+"]*$"),Mt=new RegExp("^(aria)[A-Z]["+le+"]*$");at=function(f,s,c,d){if(ee.call(gt,s)&>[s])return!0;var y=s.toLowerCase();if(y==="onfocusin"||y==="onfocusout")return i("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."),gt[s]=!0,!0;if(d!=null){var L=d.registrationNameDependencies,F=d.possibleRegistrationNames;if(L.hasOwnProperty(s))return!0;var U=F.hasOwnProperty(y)?F[y]:null;if(U!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",s,U),gt[s]=!0,!0;if(Tt.test(s))return i("Unknown event handler property `%s`. It will be ignored.",s),gt[s]=!0,!0}else if(Tt.test(s))return je.test(s)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",s),gt[s]=!0,!0;if(_t.test(s)||Mt.test(s))return!0;if(y==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),gt[s]=!0,!0;if(y==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),gt[s]=!0,!0;if(y==="is"&&c!==null&&c!==void 0&&typeof c!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof c),gt[s]=!0,!0;if(typeof c=="number"&&isNaN(c))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",s),gt[s]=!0,!0;var oe=Ve(s),_e=oe!==null&&oe.type===fe;if(Ze.hasOwnProperty(y)){var Ue=Ze[y];if(Ue!==s)return i("Invalid DOM property `%s`. Did you mean `%s`?",s,Ue),gt[s]=!0,!0}else if(!_e&&s!==y)return i("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.",s,y),gt[s]=!0,!0;return typeof c=="boolean"&&Pe(s,c,oe)?(c?i('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()}.',c,s,s,c,s):i('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.',c,s,s,c,s,s,s),gt[s]=!0,!0):_e?!0:Pe(s,c,oe)?(gt[s]=!0,!1):((c==="false"||c==="true")&&oe!==null&&oe.type===K&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",c,s,c==="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".',s,c),gt[s]=!0),!0)}}var vr=function(f,s,c){{var d=[];for(var y in s){var L=at(f,y,s[y],c);L||d.push(y)}var F=d.map(function(U){return"`"+U+"`"}).join(", ");d.length===1?i("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 ",F,f):d.length>1&&i("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 ",F,f)}};function nr(f,s,c){ft(f,s)||vr(f,s,c)}var Zt=function(){};{var he=/^(?:webkit|moz|o)[A-Z]/,te=/^-ms-/,Fe=/-(.)/g,Xe=/;\s*$/,Lt={},vt={},wt=!1,Gt=!1,Ft=function(f){return f.replace(Fe,function(s,c){return c.toUpperCase()})},sr=function(f){Lt.hasOwnProperty(f)&&Lt[f]||(Lt[f]=!0,i("Unsupported style property %s. Did you mean %s?",f,Ft(f.replace(te,"ms-"))))},dr=function(f){Lt.hasOwnProperty(f)&&Lt[f]||(Lt[f]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",f,f.charAt(0).toUpperCase()+f.slice(1)))},Rr=function(f,s){vt.hasOwnProperty(s)&&vt[s]||(vt[s]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,f,s.replace(Xe,"")))},ur=function(f,s){wt||(wt=!0,i("`NaN` is an invalid value for the `%s` css style property.",f))},xr=function(f,s){Gt||(Gt=!0,i("`Infinity` is an invalid value for the `%s` css style property.",f))};Zt=function(f,s){f.indexOf("-")>-1?sr(f):he.test(f)?dr(f):Xe.test(s)&&Rr(f,s),typeof s=="number"&&(isNaN(s)?ur(f,s):isFinite(s)||xr(f,s))}}var Wr=Zt,st=/["'&<>]/;function Rt(f){ue(f);var s=""+f,c=st.exec(s);if(!c)return s;var d,y="",L,F=0;for(L=c.index;L<s.length;L++){switch(s.charCodeAt(L)){case 34:d=""";break;case 38:d="&";break;case 39:d="'";break;case 60:d="<";break;case 62:d=">";break;default:continue}F!==L&&(y+=s.substring(F,L)),F=L+1,y+=d}return F!==L?y+s.substring(F,L):y}function bt(f){return typeof f=="boolean"||typeof f=="number"?""+f:Rt(f)}var Qe=/([A-Z])/g,Nt=/^ms-/;function Q(f){return f.replace(Qe,"-$1").toLowerCase().replace(Nt,"-ms-")}var He=/^[\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,pt=!1;function Ot(f){!pt&&He.test(f)&&(pt=!0,i("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(f)))}var er=Array.isArray;function Yt(f){return er(f)}var Dt=b("<script>"),Kt=b("<\/script>"),Mr=b('<script src="'),ar=b('<script type="module" src="'),fr=b('" async=""><\/script>');function zr(f){return ue(f),(""+f).replace(gr,Vn)}var gr=/(<\/|<)(s)(cript)/gi,Vn=function(f,s,c,d){return""+s+(c==="s"?"\\u0073":"\\u0053")+d};function Sn(f,s,c,d,y){var L=f===void 0?"":f,F=s===void 0?Dt:b('<script nonce="'+bt(s)+'">'),U=[];if(c!==void 0&&U.push(F,A(zr(c)),Kt),d!==void 0)for(var oe=0;oe<d.length;oe++)U.push(Mr,A(bt(d[oe])),fr);if(y!==void 0)for(var _e=0;_e<y.length;_e++)U.push(ar,A(bt(y[_e])),fr);return{bootstrapChunks:U,startInlineScript:F,placeholderPrefix:b(L+"P:"),segmentPrefix:b(L+"S:"),boundaryPrefix:L+"B:",idPrefix:L,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Mn=0,Kr=1,Gn=2,Tn=3,Zn=4,Yn=5,nn=6,Dn=7;function Cn(f,s){return{insertionMode:f,selectedValue:s}}function di(f){var s=f==="http://www.w3.org/2000/svg"?Gn:f==="http://www.w3.org/1998/Math/MathML"?Tn:Mn;return Cn(s,null)}function _i(f,s,c){switch(s){case"select":return Cn(Kr,c.value!=null?c.value:c.defaultValue);case"svg":return Cn(Gn,null);case"math":return Cn(Tn,null);case"foreignObject":return Cn(Kr,null);case"table":return Cn(Zn,null);case"thead":case"tbody":case"tfoot":return Cn(Yn,null);case"colgroup":return Cn(Dn,null);case"tr":return Cn(nn,null)}return f.insertionMode>=Zn||f.insertionMode===Mn?Cn(Kr,null):f}var xi=null;function En(f){var s=f.nextSuspenseID++;return b(f.boundaryPrefix+s.toString(16))}function wn(f,s,c){var d=f.idPrefix,y=":"+d+"R"+s;return c>0&&(y+="H"+c.toString(32)),y+":"}function cn(f){return bt(f)}var Kn=b("<!-- -->");function on(f,s,c,d){return s===""?d:(d&&f.push(Kn),f.push(A(cn(s))),!0)}function dn(f,s,c,d){c&&d&&f.push(Kn)}var x=new Map;function j(f){var s=x.get(f);if(s!==void 0)return s;var c=b(bt(Q(f)));return x.set(f,c),c}var W=b(' style="'),X=b(":"),we=b(";");function ye(f,s,c){if(typeof c!="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.");var d=!0;for(var y in c)if(ee.call(c,y)){var L=c[y];if(!(L==null||typeof L=="boolean"||L==="")){var F=void 0,U=void 0,oe=y.indexOf("--")===0;oe?(F=A(bt(y)),Y(L,y),U=A(bt((""+L).trim()))):(Wr(y,L),F=j(y),typeof L=="number"?L!==0&&!ee.call(Ne,y)?U=A(L+"px"):U=A(""+L):(Y(L,y),U=A(bt((""+L).trim())))),d?(d=!1,f.push(W,F,X,U)):f.push(we,F,X,U)}}d||f.push(At)}var Me=b(" "),tt=b('="'),At=b('"'),jt=b('=""');function Pt(f,s,c,d){switch(c){case"style":{ye(f,s,d);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(c.length>2&&(c[0]==="o"||c[0]==="O")&&(c[1]==="n"||c[1]==="N"))){var y=Ve(c);if(y!==null){switch(typeof d){case"function":case"symbol":return;case"boolean":if(!y.acceptsBooleans)return}var L=y.attributeName,F=A(L);switch(y.type){case K:d&&f.push(Me,F,jt);return;case ne:d===!0?f.push(Me,F,jt):d===!1||f.push(Me,F,tt,A(bt(d)),At);return;case ie:isNaN(d)||f.push(Me,F,tt,A(bt(d)),At);break;case ce:!isNaN(d)&&d>=1&&f.push(Me,F,tt,A(bt(d)),At);break;default:y.sanitizeURL&&(G(d,L),d=""+d,Ot(d)),f.push(Me,F,tt,A(bt(d)),At)}}else if(Ie(c)){switch(typeof d){case"function":case"symbol":return;case"boolean":{var U=c.toLowerCase().slice(0,5);if(U!=="data-"&&U!=="aria-")return}}f.push(Me,A(c),tt,A(bt(d)),At)}}}var br=b(">"),Zr=b("/>");function vn(f,s,c){if(s!=null){if(c!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof s!="object"||!("__html"in s))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var d=s.__html;d!=null&&(ue(d),f.push(A(""+d)))}}var yn=!1,ai=!1,Nn=!1,Si=!1,Xr=!1,hi=!1,jn=!1;function Xn(f,s){{var c=f[s];if(c!=null){var d=Yt(c);f.multiple&&!d?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",s):!f.multiple&&d&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",s)}}}function yo(f,s,c){Je("select",s),Xn(s,"value"),Xn(s,"defaultValue"),s.value!==void 0&&s.defaultValue!==void 0&&!Nn&&(i("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"),Nn=!0),f.push(Ut("select"));var d=null,y=null;for(var L in s)if(ee.call(s,L)){var F=s[L];if(F==null)continue;switch(L){case"children":d=F;break;case"dangerouslySetInnerHTML":y=F;break;case"defaultValue":case"value":break;default:Pt(f,c,L,F);break}}return f.push(br),vn(f,y,d),d}function eo(f){var s="";return r.Children.forEach(f,function(c){c!=null&&(s+=c,!Xr&&typeof c!="string"&&typeof c!="number"&&(Xr=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),s}var to=b(' selected=""');function kn(f,s,c,d){var y=d.selectedValue;f.push(Ut("option"));var L=null,F=null,U=null,oe=null;for(var _e in s)if(ee.call(s,_e)){var Ue=s[_e];if(Ue==null)continue;switch(_e){case"children":L=Ue;break;case"selected":U=Ue,jn||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),jn=!0);break;case"dangerouslySetInnerHTML":oe=Ue;break;case"value":F=Ue;default:Pt(f,c,_e,Ue);break}}if(y!=null){var rt;if(F!==null?(G(F,"value"),rt=""+F):(oe!==null&&(hi||(hi=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),rt=eo(L)),Yt(y))for(var yt=0;yt<y.length;yt++){G(y[yt],"value");var Jt=""+y[yt];if(Jt===rt){f.push(to);break}}else G(y,"select.value"),""+y===rt&&f.push(to)}else U&&f.push(to);return f.push(br),vn(f,oe,L),L}function bo(f,s,c){Je("input",s),s.checked!==void 0&&s.defaultChecked!==void 0&&!ai&&(i("%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","A component",s.type),ai=!0),s.value!==void 0&&s.defaultValue!==void 0&&!yn&&(i("%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","A component",s.type),yn=!0),f.push(Ut("input"));var d=null,y=null,L=null,F=null;for(var U in s)if(ee.call(s,U)){var oe=s[U];if(oe==null)continue;switch(U){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":F=oe;break;case"defaultValue":y=oe;break;case"checked":L=oe;break;case"value":d=oe;break;default:Pt(f,c,U,oe);break}}return L!==null?Pt(f,c,"checked",L):F!==null&&Pt(f,c,"checked",F),d!==null?Pt(f,c,"value",d):y!==null&&Pt(f,c,"value",y),f.push(Zr),null}function Jn(f,s,c){Je("textarea",s),s.value!==void 0&&s.defaultValue!==void 0&&!Si&&(i("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"),Si=!0),f.push(Ut("textarea"));var d=null,y=null,L=null;for(var F in s)if(ee.call(s,F)){var U=s[F];if(U==null)continue;switch(F){case"children":L=U;break;case"value":d=U;break;case"defaultValue":y=U;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Pt(f,c,F,U);break}}if(d===null&&y!==null&&(d=y),f.push(br),L!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),d!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Yt(L)){if(L.length>1)throw new Error("<textarea> can only have at most one child.");ue(L[0]),d=""+L[0]}ue(L),d=""+L}return typeof d=="string"&&d[0]===`
|
313
|
+
`&&f.push(R),d!==null&&(G(d,"value"),f.push(A(cn(""+d)))),null}function Qn(f,s,c,d){f.push(Ut(c));for(var y in s)if(ee.call(s,y)){var L=s[y];if(L==null)continue;switch(y){case"children":case"dangerouslySetInnerHTML":throw new Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Pt(f,d,y,L);break}}return f.push(Zr),null}function Hi(f,s,c){f.push(Ut("menuitem"));for(var d in s)if(ee.call(s,d)){var y=s[d];if(y==null)continue;switch(d){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:Pt(f,c,d,y);break}}return f.push(br),null}function Dr(f,s,c){f.push(Ut("title"));var d=null;for(var y in s)if(ee.call(s,y)){var L=s[y];if(L==null)continue;switch(y){case"children":d=L;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:Pt(f,c,y,L);break}}f.push(br);{var F=Array.isArray(d)&&d.length<2?d[0]||null:d;Array.isArray(d)&&d.length>1?i("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):F!=null&&F.$$typeof!=null?i("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):F!=null&&typeof F!="string"&&typeof F!="number"&&i("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return d}function Sr(f,s,c,d){f.push(Ut(c));var y=null,L=null;for(var F in s)if(ee.call(s,F)){var U=s[F];if(U==null)continue;switch(F){case"children":y=U;break;case"dangerouslySetInnerHTML":L=U;break;default:Pt(f,d,F,U);break}}return f.push(br),vn(f,L,y),typeof y=="string"?(f.push(A(cn(y))),null):y}function Ir(f,s,c,d){f.push(Ut(c));var y=null,L=null;for(var F in s)if(ee.call(s,F)){var U=s[F];if(U==null)continue;switch(F){case"children":y=U;break;case"dangerouslySetInnerHTML":L=U;break;case"style":ye(f,d,U);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Ie(F)&&typeof U!="function"&&typeof U!="symbol"&&f.push(Me,A(F),tt,A(bt(U)),At);break}}return f.push(br),vn(f,L,y),y}var R=b(`
|
314
314
|
`);function V(f,s,c,d){f.push(Ut(c));var y=null,L=null;for(var F in s)if(ee.call(s,F)){var U=s[F];if(U==null)continue;switch(F){case"children":y=U;break;case"dangerouslySetInnerHTML":L=U;break;default:Pt(f,d,F,U);break}}if(f.push(br),L!=null){if(y!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof L!="object"||!("__html"in L))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var oe=L.__html;oe!=null&&(typeof oe=="string"&&oe.length>0&&oe[0]===`
|
315
315
|
`?f.push(R,A(oe)):(ue(oe),f.push(A(""+oe))))}return typeof y=="string"&&y[0]===`
|
316
|
-
`&&f.push(R),y}var
|
316
|
+
`&&f.push(R),y}var ae=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,De=new Map;function Ut(f){var s=De.get(f);if(s===void 0){if(!ae.test(f))throw new Error("Invalid tag: "+f);s=b("<"+f),De.set(f,s)}return s}var qt=b("<!DOCTYPE html>");function hr(f,s,c,d,y){switch(ut(s,c),Se(s,c),nr(s,c,null),!c.suppressContentEditableWarning&&c.contentEditable&&c.children!=null&&i("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."),y.insertionMode!==Gn&&y.insertionMode!==Tn&&s.indexOf("-")===-1&&typeof c.is!="string"&&s.toLowerCase()!==s&&i("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",s),s){case"select":return yo(f,c,d);case"option":return kn(f,c,d,y);case"textarea":return Jn(f,c,d);case"input":return bo(f,c,d);case"menuitem":return Hi(f,c,d);case"title":return Dr(f,c,d);case"listing":case"pre":return V(f,c,s,d);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return Qn(f,c,s,d);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 Sr(f,c,s,d);case"html":return y.insertionMode===Mn&&f.push(qt),Sr(f,c,s,d);default:return s.indexOf("-")===-1&&typeof c.is!="string"?Sr(f,c,s,d):Ir(f,c,s,d)}}var _r=b("</"),lr=b(">");function Cr(f,s,c){switch(s){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:f.push(_r,A(s),lr)}}function Jr(f,s){for(var c=s.bootstrapChunks,d=0;d<c.length-1;d++)T(f,c[d]);return d<c.length?C(f,c[d]):!0}var Rn=b('<template id="'),Vr=b('"></template>');function jr(f,s,c){T(f,Rn),T(f,s.placeholderPrefix);var d=A(c.toString(16));return T(f,d),C(f,Vr)}var Qr=b("<!--$-->"),li=b('<!--$?--><template id="'),pi=b('"></template>'),Fn=b("<!--$!-->"),_o=b("<!--/$-->"),zi=b("<template"),sn=b('"'),ds=b(' data-dgst="'),Bn=b(' data-msg="'),ll=b(' data-stck="'),Ca=b("></template>");function $i(f,s){return C(f,Qr)}function xo(f,s,c){if(T(f,li),c===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return T(f,c),C(f,pi)}function qn(f,s,c,d,y){var L;return L=C(f,Fn),T(f,zi),c&&(T(f,ds),T(f,A(bt(c))),T(f,sn)),d&&(T(f,Bn),T(f,A(bt(d))),T(f,sn)),y&&(T(f,ll),T(f,A(bt(y))),T(f,sn)),L=C(f,Ca),L}function Yr(f,s){return C(f,_o)}function Ci(f,s){return C(f,_o)}function wa(f,s){return C(f,_o)}var cl=b('<div hidden id="'),zo=b('">'),ul=b("</div>"),fl=b('<svg aria-hidden="true" style="display:none" id="'),Ws=b('">'),hs=b("</svg>"),ps=b('<math aria-hidden="true" style="display:none" id="'),So=b('">'),dl=b("</math>"),Vs=b('<table hidden id="'),Aa=b('">'),w=b("</table>"),P=b('<table hidden><tbody id="'),z=b('">'),J=b("</tbody></table>"),Te=b('<table hidden><tr id="'),Ce=b('">'),ze=b("</tr></table>"),dt=b('<table hidden><colgroup id="'),Bt=b('">'),cr=b("</colgroup></table>");function tr(f,s,c,d){switch(c.insertionMode){case Mn:case Kr:return T(f,cl),T(f,s.segmentPrefix),T(f,A(d.toString(16))),C(f,zo);case Gn:return T(f,fl),T(f,s.segmentPrefix),T(f,A(d.toString(16))),C(f,Ws);case Tn:return T(f,ps),T(f,s.segmentPrefix),T(f,A(d.toString(16))),C(f,So);case Zn:return T(f,Vs),T(f,s.segmentPrefix),T(f,A(d.toString(16))),C(f,Aa);case Yn:return T(f,P),T(f,s.segmentPrefix),T(f,A(d.toString(16))),C(f,z);case nn:return T(f,Te),T(f,s.segmentPrefix),T(f,A(d.toString(16))),C(f,Ce);case Dn:return T(f,dt),T(f,s.segmentPrefix),T(f,A(d.toString(16))),C(f,Bt);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Gr(f,s){switch(s.insertionMode){case Mn:case Kr:return C(f,ul);case Gn:return C(f,hs);case Tn:return C(f,dl);case Zn:return C(f,w);case Yn:return C(f,J);case nn:return C(f,ze);case Dn:return C(f,cr);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var ei="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",wi='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',Ai='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',Gs=b(ei+';$RS("'),hl=b('$RS("'),gs=b('","'),Zs=b('")<\/script>');function ef(f,s,c){T(f,s.startInlineScript),s.sentCompleteSegmentFunction?T(f,hl):(s.sentCompleteSegmentFunction=!0,T(f,Gs)),T(f,s.segmentPrefix);var d=A(c.toString(16));return T(f,d),T(f,gs),T(f,s.placeholderPrefix),T(f,d),C(f,Zs)}var rc=b(wi+';$RC("'),nc=b('$RC("'),ru=b('","'),Co=b('")<\/script>');function Ta(f,s,c,d){if(T(f,s.startInlineScript),s.sentCompleteBoundaryFunction?T(f,nc):(s.sentCompleteBoundaryFunction=!0,T(f,rc)),c===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var y=A(d.toString(16));return T(f,c),T(f,ru),T(f,s.segmentPrefix),T(f,y),C(f,Co)}var tf=b(Ai+';$RX("'),rf=b('$RX("'),nf=b('"'),Ys=b(")<\/script>"),un=b(",");function nu(f,s,c,d,y,L){if(T(f,s.startInlineScript),s.sentClientRenderFunction?T(f,rf):(s.sentClientRenderFunction=!0,T(f,tf)),c===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return T(f,c),T(f,nf),(d||y||L)&&(T(f,un),T(f,A(pl(d||"")))),(y||L)&&(T(f,un),T(f,A(pl(y||"")))),L&&(T(f,un),T(f,A(pl(L)))),C(f,Ys)}var iu=/[<\u2028\u2029]/g;function pl(f){var s=JSON.stringify(f);return s.replace(iu,function(c){switch(c){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Ti=Object.assign,ou=Symbol.for("react.element"),gl=Symbol.for("react.portal"),wo=Symbol.for("react.fragment"),pe=Symbol.for("react.strict_mode"),Be=Symbol.for("react.profiler"),Re=Symbol.for("react.provider"),Et=Symbol.for("react.context"),Qt=Symbol.for("react.forward_ref"),Or=Symbol.for("react.suspense"),bn=Symbol.for("react.suspense_list"),$r=Symbol.for("react.memo"),Ks=Symbol.for("react.lazy"),su=Symbol.for("react.scope"),Ni=Symbol.for("react.debug_trace_mode"),ml=Symbol.for("react.legacy_hidden"),of=Symbol.for("react.default_value"),$o=Symbol.iterator,en="@@iterator";function Uo(f){if(f===null||typeof f!="object")return null;var s=$o&&f[$o]||f[en];return typeof s=="function"?s:null}function Hr(f,s,c){var d=f.displayName;if(d)return d;var y=s.displayName||s.name||"";return y!==""?c+"("+y+")":c}function ic(f){return f.displayName||"Context"}function an(f){if(f==null)return null;if(typeof f.tag=="number"&&i("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case wo:return"Fragment";case gl:return"Portal";case Be:return"Profiler";case pe:return"StrictMode";case Or:return"Suspense";case bn:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case Et:var s=f;return ic(s)+".Consumer";case Re:var c=f;return ic(c._context)+".Provider";case Qt:return Hr(f,f.render,"ForwardRef");case $r:var d=f.displayName||null;return d!==null?d:an(f.type)||"Memo";case Ks:{var y=f,L=y._payload,F=y._init;try{return an(F(L))}catch{return null}}}return null}var Ao=0,oc,sc,ac,Xs,To,Ea,ka;function ms(){}ms.__reactDisabledLog=!0;function Js(){{if(Ao===0){oc=console.log,sc=console.info,ac=console.warn,Xs=console.error,To=console.group,Ea=console.groupCollapsed,ka=console.groupEnd;var f={configurable:!0,enumerable:!0,value:ms,writable:!0};Object.defineProperties(console,{info:f,log:f,warn:f,error:f,group:f,groupCollapsed:f,groupEnd:f})}Ao++}}function vl(){{if(Ao--,Ao===0){var f={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ti({},f,{value:oc}),info:Ti({},f,{value:sc}),warn:Ti({},f,{value:ac}),error:Ti({},f,{value:Xs}),group:Ti({},f,{value:To}),groupCollapsed:Ti({},f,{value:Ea}),groupEnd:Ti({},f,{value:ka})})}Ao<0&&i("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Eo=t.ReactCurrentDispatcher,yl;function Ui(f,s,c){{if(yl===void 0)try{throw Error()}catch(y){var d=y.stack.trim().match(/\n( *(at )?)/);yl=d&&d[1]||""}return`
|
317
317
|
`+yl+f}}var ko=!1,Wo;{var sf=typeof WeakMap=="function"?WeakMap:Map;Wo=new sf}function Ra(f,s){if(!f||ko)return"";{var c=Wo.get(f);if(c!==void 0)return c}var d;ko=!0;var y=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var L;L=Eo.current,Eo.current=null,Js();try{if(s){var F=function(){throw Error()};if(Object.defineProperty(F.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(F,[])}catch(Lr){d=Lr}Reflect.construct(f,[],F)}else{try{F.call()}catch(Lr){d=Lr}f.call(F.prototype)}}else{try{throw Error()}catch(Lr){d=Lr}f()}}catch(Lr){if(Lr&&d&&typeof Lr.stack=="string"){for(var U=Lr.stack.split(`
|
318
318
|
`),oe=d.stack.split(`
|
319
319
|
`),_e=U.length-1,Ue=oe.length-1;_e>=1&&Ue>=0&&U[_e]!==oe[Ue];)Ue--;for(;_e>=1&&Ue>=0;_e--,Ue--)if(U[_e]!==oe[Ue]){if(_e!==1||Ue!==1)do if(_e--,Ue--,Ue<0||U[_e]!==oe[Ue]){var rt=`
|
320
320
|
`+U[_e].replace(" at new "," at ");return f.displayName&&rt.includes("<anonymous>")&&(rt=rt.replace("<anonymous>",f.displayName)),typeof f=="function"&&Wo.set(f,rt),rt}while(_e>=1&&Ue>=0);break}}}finally{ko=!1,Eo.current=L,vl(),Error.prepareStackTrace=y}var yt=f?f.displayName||f.name:"",Jt=yt?Ui(yt):"";return typeof f=="function"&&Wo.set(f,Jt),Jt}function au(f,s,c){return Ra(f,!0)}function Qs(f,s,c){return Ra(f,!1)}function vs(f){var s=f.prototype;return!!(s&&s.isReactComponent)}function ea(f,s,c){if(f==null)return"";if(typeof f=="function")return Ra(f,vs(f));if(typeof f=="string")return Ui(f);switch(f){case Or:return Ui("Suspense");case bn:return Ui("SuspenseList")}if(typeof f=="object")switch(f.$$typeof){case Qt:return Qs(f.render);case $r:return ea(f.type,s,c);case Ks:{var d=f,y=d._payload,L=d._init;try{return ea(L(y),s,c)}catch{}}}return""}var bl={},ta=t.ReactDebugCurrentFrame;function Ia(f){if(f){var s=f._owner,c=ea(f.type,f._source,s?s.type:null);ta.setExtraStackFrame(c)}else ta.setExtraStackFrame(null)}function lu(f,s,c,d,y){{var L=Function.call.bind(ee);for(var F in f)if(L(f,F)){var U=void 0;try{if(typeof f[F]!="function"){var oe=Error((d||"React class")+": "+c+" type `"+F+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof f[F]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw oe.name="Invariant Violation",oe}U=f[F](s,F,d,c,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(_e){U=_e}U&&!(U instanceof Error)&&(Ia(y),i("%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).",d||"React class",c,F,typeof U),Ia(null)),U instanceof Error&&!(U.message in bl)&&(bl[U.message]=!0,Ia(y),i("Failed %s type: %s",c,U.message),Ia(null))}}}var ln;ln={};var In={};Object.freeze(In);function Vo(f,s){{var c=f.contextTypes;if(!c)return In;var d={};for(var y in c)d[y]=s[y];{var L=an(f)||"Unknown";lu(c,d,"context",L)}return d}}function lc(f,s,c,d){{if(typeof f.getChildContext!="function"){{var y=an(s)||"Unknown";ln[y]||(ln[y]=!0,i("%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.",y,y))}return c}var L=f.getChildContext();for(var F in L)if(!(F in d))throw new Error((an(s)||"Unknown")+'.getChildContext(): key "'+F+'" is not defined in childContextTypes.');{var U=an(s)||"Unknown";lu(d,L,"child context",U)}return Ti({},c,L)}}var Go;Go={};var _l=null,ro=null;function Zo(f){f.context._currentValue=f.parentValue}function ra(f){f.context._currentValue=f.value}function no(f,s){if(f!==s){Zo(f);var c=f.parent,d=s.parent;if(c===null){if(d!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(d===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");no(c,d)}ra(s)}}function Ro(f){Zo(f);var s=f.parent;s!==null&&Ro(s)}function na(f){var s=f.parent;s!==null&&na(s),ra(f)}function La(f,s){Zo(f);var c=f.parent;if(c===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");c.depth===s.depth?no(c,s):La(c,s)}function ys(f,s){var c=s.parent;if(c===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");f.depth===c.depth?no(f,c):ys(f,c),ra(s)}function Yo(f){var s=ro,c=f;s!==c&&(s===null?na(c):c===null?Ro(s):s.depth===c.depth?no(s,c):s.depth>c.depth?La(s,c):ys(s,c),ro=c)}function cc(f,s){var c;c=f._currentValue,f._currentValue=s,f._currentRenderer!==void 0&&f._currentRenderer!==null&&f._currentRenderer!==Go&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),f._currentRenderer=Go;var d=ro,y={parent:d,depth:d===null?0:d.depth+1,context:f,parentValue:c,value:s};return ro=y,y}function af(f){var s=ro;if(s===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");s.context!==f&&i("The parent context is not the expected context. This is probably a bug in React.");{var c=s.parentValue;c===of?s.context._currentValue=s.context._defaultValue:s.context._currentValue=c,f._currentRenderer!==void 0&&f._currentRenderer!==null&&f._currentRenderer!==Go&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),f._currentRenderer=Go}return ro=s.parent}function cu(){return ro}function ia(f){var s=f._currentValue;return s}function Ko(f){return f._reactInternals}function bs(f,s){f._reactInternals=s}var Ma={},$={},Io,Lo,ti,mr,xl,Da,Sl,io,uc;{Io=new Set,Lo=new Set,ti=new Set,Sl=new Set,mr=new Set,io=new Set,uc=new Set;var uu=new Set;Da=function(f,s){if(!(f===null||typeof f=="function")){var c=s+"_"+f;uu.has(c)||(uu.add(c),i("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",s,f))}},xl=function(f,s){if(s===void 0){var c=an(f)||"Component";mr.has(c)||(mr.add(c),i("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",c))}}}function fu(f,s){{var c=f.constructor,d=c&&an(c)||"ReactClass",y=d+"."+s;if(Ma[y])return;i(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
|
321
321
|
|
322
|
-
Please check the code for the %s component.`,s,s,d),Ma[y]=!0}}var du={isMounted:function(f){return!1},enqueueSetState:function(f,s,c){var d=Ko(f);d.queue===null?fu(f,"setState"):(d.queue.push(s),c!=null&&Da(c,"setState"))},enqueueReplaceState:function(f,s,c){var d=Ko(f);d.replace=!0,d.queue=[s],c!=null&&Da(c,"setState")},enqueueForceUpdate:function(f,s){var c=Ko(f);c.queue===null?fu(f,"forceUpdate"):s!=null&&Da(s,"setState")}};function lf(f,s,c,d,y){var L=c(y,d);xl(s,L);var F=L==null?d:Ti({},d,L);return F}function oo(f,s,c){var d=In,y=f.contextType;if("contextType"in f){var L=y===null||y!==void 0&&y.$$typeof===Et&&y._context===void 0;if(!L&&!uc.has(f)){uc.add(f);var F="";y===void 0?F=" 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 y!="object"?F=" However, it is set to a "+typeof y+".":y.$$typeof===
|
322
|
+
Please check the code for the %s component.`,s,s,d),Ma[y]=!0}}var du={isMounted:function(f){return!1},enqueueSetState:function(f,s,c){var d=Ko(f);d.queue===null?fu(f,"setState"):(d.queue.push(s),c!=null&&Da(c,"setState"))},enqueueReplaceState:function(f,s,c){var d=Ko(f);d.replace=!0,d.queue=[s],c!=null&&Da(c,"setState")},enqueueForceUpdate:function(f,s){var c=Ko(f);c.queue===null?fu(f,"forceUpdate"):s!=null&&Da(s,"setState")}};function lf(f,s,c,d,y){var L=c(y,d);xl(s,L);var F=L==null?d:Ti({},d,L);return F}function oo(f,s,c){var d=In,y=f.contextType;if("contextType"in f){var L=y===null||y!==void 0&&y.$$typeof===Et&&y._context===void 0;if(!L&&!uc.has(f)){uc.add(f);var F="";y===void 0?F=" 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 y!="object"?F=" However, it is set to a "+typeof y+".":y.$$typeof===Re?F=" Did you accidentally pass the Context.Provider instead?":y._context!==void 0?F=" Did you accidentally pass the Context.Consumer instead?":F=" However, it is set to an object with keys {"+Object.keys(y).join(", ")+"}.",i("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",an(f)||"Component",F)}}typeof y=="object"&&y!==null?d=ia(y):d=c;var U=new f(s,d);{if(typeof f.getDerivedStateFromProps=="function"&&(U.state===null||U.state===void 0)){var oe=an(f)||"Component";Io.has(oe)||(Io.add(oe),i("`%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.",oe,U.state===null?"null":"undefined",oe))}if(typeof f.getDerivedStateFromProps=="function"||typeof U.getSnapshotBeforeUpdate=="function"){var _e=null,Ue=null,rt=null;if(typeof U.componentWillMount=="function"&&U.componentWillMount.__suppressDeprecationWarning!==!0?_e="componentWillMount":typeof U.UNSAFE_componentWillMount=="function"&&(_e="UNSAFE_componentWillMount"),typeof U.componentWillReceiveProps=="function"&&U.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Ue="componentWillReceiveProps":typeof U.UNSAFE_componentWillReceiveProps=="function"&&(Ue="UNSAFE_componentWillReceiveProps"),typeof U.componentWillUpdate=="function"&&U.componentWillUpdate.__suppressDeprecationWarning!==!0?rt="componentWillUpdate":typeof U.UNSAFE_componentWillUpdate=="function"&&(rt="UNSAFE_componentWillUpdate"),_e!==null||Ue!==null||rt!==null){var yt=an(f)||"Component",Jt=typeof f.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";ti.has(yt)||(ti.add(yt),i(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
323
323
|
|
324
324
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
325
325
|
|
@@ -340,13 +340,13 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
340
340
|
Previous: %s
|
341
341
|
Incoming: %s`,Wi,"["+f.join(", ")+"]","["+s.join(", ")+"]");for(var c=0;c<s.length&&c<f.length;c++)if(!Ar(f[c],s[c]))return!1;return!0}function gc(){if(so>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Ri(){return Pr===null?_s===null?(Xo=!1,_s=Pr=gc()):(Xo=!0,Pr=_s):Pr.next===null?(Xo=!1,Pr=Pr.next=gc()):(Xo=!0,Pr=Pr.next),Pr}function mc(f,s){Ei=s,oa=f,ui=!1,gi=0}function Ss(f,s,c,d){for(;Pa;)Pa=!1,gi=0,so+=1,Pr=null,c=f(s,d);return vc(),c}function fi(){var f=gi!==0;return f}function vc(){ui=!1,Ei=null,oa=null,Pa=!1,_s=null,so=0,ki=null,Pr=null}function yc(f){return ui&&i("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()."),ia(f)}function bc(f){return Wi="useContext",xs(),ia(f)}function Cs(f,s){return typeof s=="function"?s(f):s}function Jo(f){return Wi="useState",_c(Cs,f)}function _c(f,s,c){if(f!==Cs&&(Wi="useReducer"),Ei=xs(),Pr=Ri(),Xo){var d=Pr.queue,y=d.dispatch;if(ki!==null){var L=ki.get(d);if(L!==void 0){ki.delete(d);var F=Pr.memoizedState,U=L;do{var oe=U.action;ui=!0,F=f(F,oe),ui=!1,U=U.next}while(U!==null);return Pr.memoizedState=F,[F,y]}}return[Pr.memoizedState,y]}else{ui=!0;var _e;f===Cs?_e=typeof s=="function"?s():s:_e=c!==void 0?c(s):s,ui=!1,Pr.memoizedState=_e;var Ue=Pr.queue={last:null,dispatch:null},rt=Ue.dispatch=gu.bind(null,Ei,Ue);return[Pr.memoizedState,rt]}}function pu(f,s){Ei=xs(),Pr=Ri();var c=s===void 0?null:s;if(Pr!==null){var d=Pr.memoizedState;if(d!==null&&c!==null){var y=d[1];if(hu(c,y))return d[0]}}ui=!0;var L=f();return ui=!1,Pr.memoizedState=[L,c],L}function Al(f){Ei=xs(),Pr=Ri();var s=Pr.memoizedState;if(s===null){var c={current:f};return Object.seal(c),Pr.memoizedState=c,c}else return s}function gf(f,s){Wi="useLayoutEffect",i("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function gu(f,s,c){if(so>=pc)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(f===Ei){Pa=!0;var d={action:c,next:null};ki===null&&(ki=new Map);var y=ki.get(s);if(y===void 0)ki.set(s,d);else{for(var L=y;L.next!==null;)L=L.next;L.next=d}}}function Hn(f,s){return pu(function(){return f},s)}function xc(f,s,c){return xs(),s(f._source)}function mu(f,s,c){if(c===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return c()}function Ii(f){return xs(),f}function Tl(){throw new Error("startTransition cannot be called during server rendering.")}function sa(){return xs(),[!1,Tl]}function Qo(){var f=oa,s=Mo(f.treeContext),c=ws;if(c===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var d=gi++;return wn(c,s,d)}function Na(){}var On={readContext:yc,useContext:bc,useMemo:pu,useReducer:_c,useRef:Al,useState:Jo,useInsertionEffect:Na,useLayoutEffect:gf,useCallback:Hn,useImperativeHandle:Na,useEffect:Na,useDebugValue:Na,useDeferredValue:Ii,useTransition:sa,useId:Qo,useMutableSource:xc,useSyncExternalStore:mu},ws=null;function El(f){ws=f}function aa(f){try{var s="",c=f;do{switch(c.tag){case 0:s+=Ui(c.type,null,null);break;case 1:s+=Qs(c.type,null,null);break;case 2:s+=au(c.type,null,null);break}c=c.parent}while(c);return s}catch(d){return`
|
342
342
|
Error generating stack: `+d.message+`
|
343
|
-
`+d.stack}}var kl=t.ReactCurrentDispatcher,la=t.ReactDebugCurrentFrame,Rl=0,ao=1,Il=2,As=3,vu=4,ja=0,ca=1,ua=2,Sc=12800;function yu(f){return console.error(f),null}function Ts(){}function Ll(f,s,c,d,y,L,F,U,oe){var _e=[],Ue=new Set,rt={destination:null,responseState:s,progressiveChunkSize:d===void 0?Sc:d,status:ja,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ue,pingedTasks:_e,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:y===void 0?yu:y,onAllReady:L===void 0?Ts:L,onShellReady:F===void 0?Ts:F,onShellError:U===void 0?Ts:U,onFatalError:oe===void 0?Ts:oe},yt=Fa(rt,0,null,c,!1,!1);yt.parentFlushed=!0;var Jt=Oo(rt,f,null,yt,Ue,In,_l,ff);return _e.push(Jt),rt}function Do(f,s){var c=f.pingedTasks;c.push(s),c.length===1&&u(function(){return Dc(f)})}function Ml(f,s){return{id:xi,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s,errorDigest:null}}function Oo(f,s,c,d,y,L,F,U){f.allPendingTasks++,c===null?f.pendingRootTasks++:c.pendingTasks++;var oe={node:s,ping:function(){return Do(f,oe)},blockedBoundary:c,blockedSegment:d,abortSet:y,legacyContext:L,context:F,treeContext:U};return oe.componentStack=null,y.add(oe),oe}function Fa(f,s,c,d,y,L){return{status:Rl,id:-1,index:s,parentFlushed:!1,chunks:[],children:[],formatContext:d,boundary:c,lastPushedText:y,textEmbedded:L}}var Vi=null;function Gi(){return Vi===null||Vi.componentStack===null?"":aa(Vi.componentStack)}function lo(f,s){f.componentStack={tag:0,parent:f.componentStack,type:s}}function Ba(f,s){f.componentStack={tag:1,parent:f.componentStack,type:s}}function es(f,s){f.componentStack={tag:2,parent:f.componentStack,type:s}}function Zi(f){f.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):f.componentStack=f.componentStack.parent}var fa=null;function Dl(f,s){{var c;typeof s=="string"?c=s:s&&typeof s.message=="string"?c=s.message:c=String(s);var d=fa||Gi();fa=null,f.errorMessage=c,f.errorComponentStack=d}}function qa(f,s){var c=f.onError(s);if(c!=null&&typeof c!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof c+'" instead');return c}function da(f,s){var c=f.onShellError;c(s);var d=f.onFatalError;d(s),f.destination!==null?(f.status=ua,k(f.destination,s)):(f.status=ca,f.fatalError=s)}function bu(f,s,c){lo(s,"Suspense");var d=s.blockedBoundary,y=s.blockedSegment,L=c.fallback,F=c.children,U=new Set,oe=Ml(f,U),_e=y.chunks.length,Ue=Fa(f,_e,oe,y.formatContext,!1,!1);y.children.push(Ue),y.lastPushedText=!1;var rt=Fa(f,0,null,y.formatContext,!1,!1);rt.parentFlushed=!0,s.blockedBoundary=oe,s.blockedSegment=rt;try{if(ts(f,s,F),dn(rt.chunks,f.responseState,rt.lastPushedText,rt.textEmbedded),rt.status=ao,rs(oe,rt),oe.pendingTasks===0){Zi(s);return}}catch(Jt){rt.status=vu,oe.forceClientRender=!0,oe.errorDigest=qa(f,Jt),Dl(oe,Jt)}finally{s.blockedBoundary=d,s.blockedSegment=y}var yt=Oo(f,L,d,Ue,U,s.legacyContext,s.context,s.treeContext);yt.componentStack=s.componentStack,f.pingedTasks.push(yt),Zi(s)}function Cc(f,s,c,d){lo(s,c);var y=s.blockedSegment,L=hr(y.chunks,c,d,f.responseState,y.formatContext);y.lastPushedText=!1;var F=y.formatContext;y.formatContext=_i(F,c,d),ts(f,s,L),y.formatContext=F,Cr(y.chunks,c),y.lastPushedText=!1,Zi(s)}function wc(f){return f.prototype&&f.prototype.isReactComponent}function Es(f,s,c,d,y){var L={};mc(s,L);var F=c(d,y);return Ss(c,d,F,y)}function Ac(f,s,c,d,y){var L=c.render();c.props!==y&&(Ec||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",an(d)||"a component"),Ec=!0);{var F=d.childContextTypes;if(F!=null){var U=s.legacyContext,oe=lc(c,d,U,F);s.legacyContext=oe,ri(f,s,L),s.legacyContext=U;return}}ri(f,s,L)}function Ol(f,s,c,d){es(s,c);var y=Vo(c,s.legacyContext),L=oo(c,d,y);Oa(L,c,d,y),Ac(f,s,L,c,d),Zi(s)}var pr={},Ha={},Tc={},ks={},Ec=!1,_u=!1,kc=!1,Li=!1;function mf(f,s,c,d){var y;if(y=Vo(c,s.legacyContext),Ba(s,c),c.prototype&&typeof c.prototype.render=="function"){var L=an(c)||"Unknown";pr[L]||(i("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.",L,L),pr[L]=!0)}var F=Es(f,s,c,d,y),U=fi();if(typeof F=="object"&&F!==null&&typeof F.render=="function"&&F.$$typeof===void 0){var oe=an(c)||"Unknown";Ha[oe]||(i("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.",oe,oe,oe),Ha[oe]=!0)}if(typeof F=="object"&&F!==null&&typeof F.render=="function"&&F.$$typeof===void 0){{var _e=an(c)||"Unknown";Ha[_e]||(i("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.",_e,_e,_e),Ha[_e]=!0)}Oa(F,c,d,y),Ac(f,s,F,c,d)}else if(Pl(c),U){var Ue=s.treeContext,rt=1,yt=0;s.treeContext=dc(Ue,rt,yt);try{ri(f,s,F)}finally{s.treeContext=Ue}}else ri(f,s,F);Zi(s)}function Pl(f){{if(f&&f.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",f.displayName||f.name||"Component"),typeof f.getDerivedStateFromProps=="function"){var s=an(f)||"Unknown";ks[s]||(i("%s: Function components do not support getDerivedStateFromProps.",s),ks[s]=!0)}if(typeof f.contextType=="object"&&f.contextType!==null){var c=an(f)||"Unknown";Tc[c]||(i("%s: Function components do not support contextType.",c),Tc[c]=!0)}}}function Nl(f,s){if(f&&f.defaultProps){var c=Ti({},s),d=f.defaultProps;for(var y in d)c[y]===void 0&&(c[y]=d[y]);return c}return s}function xu(f,s,c,d,y){Ba(s,c.render);var L=Es(f,s,c.render,d,y),F=fi();if(F){var U=s.treeContext,oe=1,_e=0;s.treeContext=dc(U,oe,_e);try{ri(f,s,L)}finally{s.treeContext=U}}else ri(f,s,L);Zi(s)}function jl(f,s,c,d,y){var L=c.type,F=Nl(L,d);za(f,s,L,F,y)}function Mi(f,s,c,d){c._context===void 0?c!==c.Consumer&&(Li||(Li=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):c=c._context;var y=d.children;typeof y!="function"&&i("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.");var L=ia(c),F=y(L);ri(f,s,F)}function An(f,s,c,d){var y=c._context,L=d.value,F=d.children,U;U=s.context,s.context=cc(y,L),ri(f,s,F),s.context=af(y),U!==s.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Rc(f,s,c,d,y){lo(s,"Lazy");var L=c._payload,F=c._init,U=F(L),oe=Nl(U,d);za(f,s,U,oe,y),Zi(s)}function za(f,s,c,d,y){if(typeof c=="function")if(wc(c)){Ol(f,s,c,d);return}else{mf(f,s,c,d);return}if(typeof c=="string"){Cc(f,s,c,d);return}switch(c){case ml:case Ni:case pe:case Be:case wo:{ri(f,s,d.children);return}case bn:{lo(s,"SuspenseList"),ri(f,s,d.children),Zi(s);return}case su:throw new Error("ReactDOMServer does not yet support scope components.");case Or:{bu(f,s,d);return}}if(typeof c=="object"&&c!==null)switch(c.$$typeof){case Qt:{xu(f,s,c,d,y);return}case $r:{jl(f,s,c,d,y);return}case Ie:{An(f,s,c,d);return}case Et:{Mi(f,s,c,d);return}case Ks:{Rc(f,s,c,d);return}}var L="";throw(c===void 0||typeof c=="object"&&c!==null&&Object.keys(c).length===0)&&(L+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(c==null?c:typeof c)+"."+L))}function Fl(f,s){typeof Symbol=="function"&&f[Symbol.toStringTag]==="Generator"&&(_u||i("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."),_u=!0),f.entries===s&&(kc||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),kc=!0)}function ri(f,s,c){try{return Ic(f,s,c)}catch(d){throw typeof d=="object"&&d!==null&&typeof d.then=="function"||(fa=fa!==null?fa:Gi()),d}}function Ic(f,s,c){if(s.node=c,typeof c=="object"&&c!==null){switch(c.$$typeof){case ou:{var d=c,y=d.type,L=d.props,F=d.ref;za(f,s,y,L,F);return}case gl:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Ks:{var U=c,oe=U._payload,_e=U._init,Ue;try{Ue=_e(oe)}catch(fo){throw typeof fo=="object"&&fo!==null&&typeof fo.then=="function"&&lo(s,"Lazy"),fo}ri(f,s,Ue);return}}if(Yt(c)){Lc(f,s,c);return}var rt=Uo(c);if(rt){Fl(c,rt);var yt=rt.call(c);if(yt){var Jt=yt.next();if(!Jt.done){var Lr=[];do Lr.push(Jt.value),Jt=yt.next();while(!Jt.done);Lc(f,s,Lr);return}return}}var zn=Object.prototype.toString.call(c);throw new Error("Objects are not valid as a React child (found: "+(zn==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":zn)+"). If you meant to render a collection of children, use an array instead.")}if(typeof c=="string"){var ns=s.blockedSegment;ns.lastPushedText=on(s.blockedSegment.chunks,c,f.responseState,ns.lastPushedText);return}if(typeof c=="number"){var uo=s.blockedSegment;uo.lastPushedText=on(s.blockedSegment.chunks,""+c,f.responseState,uo.lastPushedText);return}typeof c=="function"&&i("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 Lc(f,s,c){for(var d=c.length,y=0;y<d;y++){var L=s.treeContext;s.treeContext=dc(L,d,y);try{ts(f,s,c[y])}finally{s.treeContext=L}}}function Bl(f,s,c){var d=s.blockedSegment,y=d.chunks.length,L=Fa(f,y,null,d.formatContext,d.lastPushedText,!0);d.children.push(L),d.lastPushedText=!1;var F=Oo(f,s.node,s.blockedBoundary,L,s.abortSet,s.legacyContext,s.context,s.treeContext);s.componentStack!==null&&(F.componentStack=s.componentStack.parent);var U=F.ping;c.then(U,U)}function ts(f,s,c){var d=s.blockedSegment.formatContext,y=s.legacyContext,L=s.context,F=null;F=s.componentStack;try{return ri(f,s,c)}catch(U){if(vc(),typeof U=="object"&&U!==null&&typeof U.then=="function"){Bl(f,s,U),s.blockedSegment.formatContext=d,s.legacyContext=y,s.context=L,Yo(L),s.componentStack=F;return}else throw s.blockedSegment.formatContext=d,s.legacyContext=y,s.context=L,Yo(L),s.componentStack=F,U}}function Po(f,s,c,d){var y=qa(f,d);if(s===null?da(f,d):(s.pendingTasks--,s.forceClientRender||(s.forceClientRender=!0,s.errorDigest=y,Dl(s,d),s.parentFlushed&&f.clientRenderedBoundaries.push(s))),f.allPendingTasks--,f.allPendingTasks===0){var L=f.onAllReady;L()}}function vf(f){var s=this,c=f.blockedBoundary,d=f.blockedSegment;d.status=As,ha(s,c,d)}function co(f,s,c){var d=f.blockedBoundary,y=f.blockedSegment;if(y.status=As,d===null)s.allPendingTasks--,s.status!==ua&&(s.status=ua,s.destination!==null&&S(s.destination));else{if(d.pendingTasks--,!d.forceClientRender){d.forceClientRender=!0;var L=c===void 0?new Error("The render was aborted by the server without a reason."):c;d.errorDigest=s.onError(L);{var F="The server did not finish this Suspense boundary: ";L&&typeof L.message=="string"?L=F+L.message:L=F+String(L);var U=Vi;Vi=f;try{Dl(d,L)}finally{Vi=U}}d.parentFlushed&&s.clientRenderedBoundaries.push(d)}if(d.fallbackAbortableTasks.forEach(function(_e){return co(_e,s,c)}),d.fallbackAbortableTasks.clear(),s.allPendingTasks--,s.allPendingTasks===0){var oe=s.onAllReady;oe()}}}function rs(f,s){if(s.chunks.length===0&&s.children.length===1&&s.children[0].boundary===null){var c=s.children[0];c.id=s.id,c.parentFlushed=!0,c.status===ao&&rs(f,c)}else{var d=f.completedSegments;d.push(s)}}function ha(f,s,c){if(s===null){if(c.parentFlushed){if(f.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");f.completedRootSegment=c}if(f.pendingRootTasks--,f.pendingRootTasks===0){f.onShellError=Ts;var d=f.onShellReady;d()}}else if(s.pendingTasks--,!s.forceClientRender){if(s.pendingTasks===0)c.parentFlushed&&c.status===ao&&rs(s,c),s.parentFlushed&&f.completedBoundaries.push(s),s.fallbackAbortableTasks.forEach(vf,f),s.fallbackAbortableTasks.clear();else if(c.parentFlushed&&c.status===ao){rs(s,c);var y=s.completedSegments;y.length===1&&s.parentFlushed&&f.partialBoundaries.push(s)}}if(f.allPendingTasks--,f.allPendingTasks===0){var L=f.onAllReady;L()}}function Mc(f,s){var c=s.blockedSegment;if(c.status===Rl){Yo(s.context);var d=null;d=Vi,Vi=s;try{ri(f,s,s.node),dn(c.chunks,f.responseState,c.lastPushedText,c.textEmbedded),s.abortSet.delete(s),c.status=ao,ha(f,s.blockedBoundary,c)}catch(L){if(vc(),typeof L=="object"&&L!==null&&typeof L.then=="function"){var y=s.ping;L.then(y,y)}else s.abortSet.delete(s),c.status=vu,Po(f,s.blockedBoundary,c,L)}finally{Vi=d}}}function Dc(f){if(f.status!==ua){var s=cu(),c=kl.current;kl.current=On;var d;d=la.getCurrentStack,la.getCurrentStack=Gi;var y=ws;El(f.responseState);try{var L=f.pingedTasks,F;for(F=0;F<L.length;F++){var U=L[F];Mc(f,U)}L.splice(0,F),f.destination!==null&&ni(f,f.destination)}catch(oe){qa(f,oe),da(f,oe)}finally{El(y),kl.current=c,la.getCurrentStack=d,c===On&&Yo(s)}}}function $a(f,s,c){switch(c.parentFlushed=!0,c.status){case Rl:{var d=c.id=f.nextSegmentId++;return c.lastPushedText=!1,c.textEmbedded=!1,jr(s,f.responseState,d)}case ao:{c.status=Il;for(var y=!0,L=c.chunks,F=0,U=c.children,oe=0;oe<U.length;oe++){for(var _e=U[oe];F<_e.index;F++)T(s,L[F]);y=ql(f,s,_e)}for(;F<L.length-1;F++)T(s,L[F]);return F<L.length&&(y=C(s,L[F])),y}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ql(f,s,c){var d=c.boundary;if(d===null)return $a(f,s,c);if(d.parentFlushed=!0,d.forceClientRender)return qn(s,f.responseState,d.errorDigest,d.errorMessage,d.errorComponentStack),$a(f,s,c),wa(s,f.responseState);if(d.pendingTasks>0){d.rootSegmentID=f.nextSegmentId++,d.completedSegments.length>0&&f.partialBoundaries.push(d);var y=d.id=En(f.responseState);return xo(s,f.responseState,y),$a(f,s,c),Ci(s,f.responseState)}else{if(d.byteSize>f.progressiveChunkSize)return d.rootSegmentID=f.nextSegmentId++,f.completedBoundaries.push(d),xo(s,f.responseState,d.id),$a(f,s,c),Ci(s,f.responseState);$i(s,f.responseState);var L=d.completedSegments;if(L.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var F=L[0];return ql(f,s,F),Yr(s,f.responseState)}}function Oc(f,s,c){return nu(s,f.responseState,c.id,c.errorDigest,c.errorMessage,c.errorComponentStack)}function Ua(f,s,c){return tr(s,f.responseState,c.formatContext,c.id),ql(f,s,c),Gr(s,c.formatContext)}function Su(f,s,c){for(var d=c.completedSegments,y=0;y<d.length;y++){var L=d[y];Pc(f,s,c,L)}return d.length=0,Ta(s,f.responseState,c.id,c.rootSegmentID)}function Cu(f,s,c){for(var d=c.completedSegments,y=0;y<d.length;y++){var L=d[y];if(!Pc(f,s,c,L))return y++,d.splice(0,y),!1}return d.splice(0,y),!0}function Pc(f,s,c,d){if(d.status===Il)return!0;var y=d.id;if(y===-1){var L=d.id=c.rootSegmentID;if(L===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Ua(f,s,d)}else return Ua(f,s,d),ef(s,f.responseState,y)}function ni(f,s){M();try{var c=f.completedRootSegment;c!==null&&f.pendingRootTasks===0&&(ql(f,s,c),f.completedRootSegment=null,Jr(s,f.responseState));var d=f.clientRenderedBoundaries,y;for(y=0;y<d.length;y++){var L=d[y];Oc(f,s,L)}d.splice(0,y);var F=f.completedBoundaries;for(y=0;y<F.length;y++){var U=F[y];Su(f,s,U)}F.splice(0,y),_(s),M(s);var oe=f.partialBoundaries;for(y=0;y<oe.length;y++){var _e=oe[y];if(!Cu(f,s,_e)){f.destination=null,y++,oe.splice(0,y);return}}oe.splice(0,y);var Ue=f.completedBoundaries;for(y=0;y<Ue.length;y++){var rt=Ue[y];Su(f,s,rt)}Ue.splice(0,y)}finally{_(s),f.allPendingTasks===0&&f.pingedTasks.length===0&&f.clientRenderedBoundaries.length===0&&f.completedBoundaries.length===0&&(f.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),S(s))}}function Yi(f){u(function(){return Dc(f)})}function yf(f,s){if(f.status===ca){f.status=ua,k(s,f.fatalError);return}if(f.status!==ua&&f.destination===null){f.destination=s;try{ni(f,s)}catch(c){qa(f,c),da(f,c)}}}function wu(f,s){try{var c=f.abortableTasks;c.forEach(function(d){return co(d,f,s)}),c.clear(),f.destination!==null&&ni(f,f.destination)}catch(d){qa(f,d),da(f,d)}}function Hl(f,s){return new Promise(function(c,d){var y,L,F=new Promise(function(yt,Jt){L=yt,y=Jt});function U(){var yt=new ReadableStream({type:"bytes",pull:function(Jt){yf(_e,Jt)},cancel:function(Jt){wu(_e)}},{highWaterMark:0});yt.allReady=F,c(yt)}function oe(yt){F.catch(function(){}),d(yt)}var _e=Ll(f,Sn(s?s.identifierPrefix:void 0,s?s.nonce:void 0,s?s.bootstrapScriptContent:void 0,s?s.bootstrapScripts:void 0,s?s.bootstrapModules:void 0),di(s?s.namespaceURI:void 0),s?s.progressiveChunkSize:void 0,s?s.onError:void 0,L,U,oe,y);if(s&&s.signal){var Ue=s.signal,rt=function(){wu(_e,Ue.reason),Ue.removeEventListener("abort",rt)};Ue.addEventListener("abort",rt)}Yi(_e)})}Fd.renderToReadableStream=Hl,Fd.version=e}()),Fd}var ly;function nO(){if(ly)return Wl;ly=1;var r,e;return process.env.NODE_ENV==="production"?(r=QD(),e=eO()):(r=tO(),e=rO()),Wl.version=r.version,Wl.renderToString=r.renderToString,Wl.renderToStaticMarkup=r.renderToStaticMarkup,Wl.renderToNodeStream=r.renderToNodeStream,Wl.renderToStaticNodeStream=r.renderToStaticNodeStream,Wl.renderToReadableStream=e.renderToReadableStream,Wl}var iO=nO();const Os=il(iO);var up,cy;function oO(){if(cy)return up;cy=1;function r(){this.__data__=[],this.size=0}return up=r,up}var fp,uy;function Jx(){if(uy)return fp;uy=1;function r(e,t){return e===t||e!==e&&t!==t}return fp=r,fp}var dp,fy;function hh(){if(fy)return dp;fy=1;var r=Jx();function e(t,n){for(var i=t.length;i--;)if(r(t[i][0],n))return i;return-1}return dp=e,dp}var hp,dy;function sO(){if(dy)return hp;dy=1;var r=hh(),e=Array.prototype,t=e.splice;function n(i){var l=this.__data__,u=r(l,i);if(u<0)return!1;var h=l.length-1;return u==h?l.pop():t.call(l,u,1),--this.size,!0}return hp=n,hp}var pp,hy;function aO(){if(hy)return pp;hy=1;var r=hh();function e(t){var n=this.__data__,i=r(n,t);return i<0?void 0:n[i][1]}return pp=e,pp}var gp,py;function lO(){if(py)return gp;py=1;var r=hh();function e(t){return r(this.__data__,t)>-1}return gp=e,gp}var mp,gy;function cO(){if(gy)return mp;gy=1;var r=hh();function e(t,n){var i=this.__data__,l=r(i,t);return l<0?(++this.size,i.push([t,n])):i[l][1]=n,this}return mp=e,mp}var vp,my;function ph(){if(my)return vp;my=1;var r=oO(),e=sO(),t=aO(),n=lO(),i=cO();function l(u){var h=-1,g=u==null?0:u.length;for(this.clear();++h<g;){var m=u[h];this.set(m[0],m[1])}}return l.prototype.clear=r,l.prototype.delete=e,l.prototype.get=t,l.prototype.has=n,l.prototype.set=i,vp=l,vp}var yp,vy;function uO(){if(vy)return yp;vy=1;var r=ph();function e(){this.__data__=new r,this.size=0}return yp=e,yp}var bp,yy;function fO(){if(yy)return bp;yy=1;function r(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}return bp=r,bp}var _p,by;function dO(){if(by)return _p;by=1;function r(e){return this.__data__.get(e)}return _p=r,_p}var xp,_y;function hO(){if(_y)return xp;_y=1;function r(e){return this.__data__.has(e)}return xp=r,xp}var Sp,xy;function Qx(){if(xy)return Sp;xy=1;var r=typeof yi=="object"&&yi&&yi.Object===Object&&yi;return Sp=r,Sp}var Cp,Sy;function al(){if(Sy)return Cp;Sy=1;var r=Qx(),e=typeof self=="object"&&self&&self.Object===Object&&self,t=r||e||Function("return this")();return Cp=t,Cp}var wp,Cy;function Nm(){if(Cy)return wp;Cy=1;var r=al(),e=r.Symbol;return wp=e,wp}var Ap,wy;function pO(){if(wy)return Ap;wy=1;var r=Nm(),e=Object.prototype,t=e.hasOwnProperty,n=e.toString,i=r?r.toStringTag:void 0;function l(u){var h=t.call(u,i),g=u[i];try{u[i]=void 0;var m=!0}catch{}var M=n.call(u);return m&&(h?u[i]=g:delete u[i]),M}return Ap=l,Ap}var Tp,Ay;function gO(){if(Ay)return Tp;Ay=1;var r=Object.prototype,e=r.toString;function t(n){return e.call(n)}return Tp=t,Tp}var Ep,Ty;function gh(){if(Ty)return Ep;Ty=1;var r=Nm(),e=pO(),t=gO(),n="[object Null]",i="[object Undefined]",l=r?r.toStringTag:void 0;function u(h){return h==null?h===void 0?i:n:l&&l in Object(h)?e(h):t(h)}return Ep=u,Ep}var kp,Ey;function eS(){if(Ey)return kp;Ey=1;function r(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}return kp=r,kp}var Rp,ky;function tS(){if(ky)return Rp;ky=1;var r=gh(),e=eS(),t="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",l="[object Proxy]";function u(h){if(!e(h))return!1;var g=r(h);return g==n||g==i||g==t||g==l}return Rp=u,Rp}var Ip,Ry;function mO(){if(Ry)return Ip;Ry=1;var r=al(),e=r["__core-js_shared__"];return Ip=e,Ip}var Lp,Iy;function vO(){if(Iy)return Lp;Iy=1;var r=mO(),e=function(){var n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function t(n){return!!e&&e in n}return Lp=t,Lp}var Mp,Ly;function rS(){if(Ly)return Mp;Ly=1;var r=Function.prototype,e=r.toString;function t(n){if(n!=null){try{return e.call(n)}catch{}try{return n+""}catch{}}return""}return Mp=t,Mp}var Dp,My;function yO(){if(My)return Dp;My=1;var r=tS(),e=vO(),t=eS(),n=rS(),i=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,h=Object.prototype,g=u.toString,m=h.hasOwnProperty,M=RegExp("^"+g.call(m).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function T(C){if(!t(C)||e(C))return!1;var _=r(C)?M:l;return _.test(n(C))}return Dp=T,Dp}var Op,Dy;function bO(){if(Dy)return Op;Dy=1;function r(e,t){return e==null?void 0:e[t]}return Op=r,Op}var Pp,Oy;function Ju(){if(Oy)return Pp;Oy=1;var r=yO(),e=bO();function t(n,i){var l=e(n,i);return r(l)?l:void 0}return Pp=t,Pp}var Np,Py;function jm(){if(Py)return Np;Py=1;var r=Ju(),e=al(),t=r(e,"Map");return Np=t,Np}var jp,Ny;function mh(){if(Ny)return jp;Ny=1;var r=Ju(),e=r(Object,"create");return jp=e,jp}var Fp,jy;function _O(){if(jy)return Fp;jy=1;var r=mh();function e(){this.__data__=r?r(null):{},this.size=0}return Fp=e,Fp}var Bp,Fy;function xO(){if(Fy)return Bp;Fy=1;function r(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}return Bp=r,Bp}var qp,By;function SO(){if(By)return qp;By=1;var r=mh(),e="__lodash_hash_undefined__",t=Object.prototype,n=t.hasOwnProperty;function i(l){var u=this.__data__;if(r){var h=u[l];return h===e?void 0:h}return n.call(u,l)?u[l]:void 0}return qp=i,qp}var Hp,qy;function CO(){if(qy)return Hp;qy=1;var r=mh(),e=Object.prototype,t=e.hasOwnProperty;function n(i){var l=this.__data__;return r?l[i]!==void 0:t.call(l,i)}return Hp=n,Hp}var zp,Hy;function wO(){if(Hy)return zp;Hy=1;var r=mh(),e="__lodash_hash_undefined__";function t(n,i){var l=this.__data__;return this.size+=this.has(n)?0:1,l[n]=r&&i===void 0?e:i,this}return zp=t,zp}var $p,zy;function AO(){if(zy)return $p;zy=1;var r=_O(),e=xO(),t=SO(),n=CO(),i=wO();function l(u){var h=-1,g=u==null?0:u.length;for(this.clear();++h<g;){var m=u[h];this.set(m[0],m[1])}}return l.prototype.clear=r,l.prototype.delete=e,l.prototype.get=t,l.prototype.has=n,l.prototype.set=i,$p=l,$p}var Up,$y;function TO(){if($y)return Up;$y=1;var r=AO(),e=ph(),t=jm();function n(){this.size=0,this.__data__={hash:new r,map:new(t||e),string:new r}}return Up=n,Up}var Wp,Uy;function EO(){if(Uy)return Wp;Uy=1;function r(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}return Wp=r,Wp}var Vp,Wy;function vh(){if(Wy)return Vp;Wy=1;var r=EO();function e(t,n){var i=t.__data__;return r(n)?i[typeof n=="string"?"string":"hash"]:i.map}return Vp=e,Vp}var Gp,Vy;function kO(){if(Vy)return Gp;Vy=1;var r=vh();function e(t){var n=r(this,t).delete(t);return this.size-=n?1:0,n}return Gp=e,Gp}var Zp,Gy;function RO(){if(Gy)return Zp;Gy=1;var r=vh();function e(t){return r(this,t).get(t)}return Zp=e,Zp}var Yp,Zy;function IO(){if(Zy)return Yp;Zy=1;var r=vh();function e(t){return r(this,t).has(t)}return Yp=e,Yp}var Kp,Yy;function LO(){if(Yy)return Kp;Yy=1;var r=vh();function e(t,n){var i=r(this,t),l=i.size;return i.set(t,n),this.size+=i.size==l?0:1,this}return Kp=e,Kp}var Xp,Ky;function nS(){if(Ky)return Xp;Ky=1;var r=TO(),e=kO(),t=RO(),n=IO(),i=LO();function l(u){var h=-1,g=u==null?0:u.length;for(this.clear();++h<g;){var m=u[h];this.set(m[0],m[1])}}return l.prototype.clear=r,l.prototype.delete=e,l.prototype.get=t,l.prototype.has=n,l.prototype.set=i,Xp=l,Xp}var Jp,Xy;function MO(){if(Xy)return Jp;Xy=1;var r=ph(),e=jm(),t=nS(),n=200;function i(l,u){var h=this.__data__;if(h instanceof r){var g=h.__data__;if(!e||g.length<n-1)return g.push([l,u]),this.size=++h.size,this;h=this.__data__=new t(g)}return h.set(l,u),this.size=h.size,this}return Jp=i,Jp}var Qp,Jy;function DO(){if(Jy)return Qp;Jy=1;var r=ph(),e=uO(),t=fO(),n=dO(),i=hO(),l=MO();function u(h){var g=this.__data__=new r(h);this.size=g.size}return u.prototype.clear=e,u.prototype.delete=t,u.prototype.get=n,u.prototype.has=i,u.prototype.set=l,Qp=u,Qp}var eg,Qy;function OO(){if(Qy)return eg;Qy=1;var r="__lodash_hash_undefined__";function e(t){return this.__data__.set(t,r),this}return eg=e,eg}var tg,eb;function PO(){if(eb)return tg;eb=1;function r(e){return this.__data__.has(e)}return tg=r,tg}var rg,tb;function NO(){if(tb)return rg;tb=1;var r=nS(),e=OO(),t=PO();function n(i){var l=-1,u=i==null?0:i.length;for(this.__data__=new r;++l<u;)this.add(i[l])}return n.prototype.add=n.prototype.push=e,n.prototype.has=t,rg=n,rg}var ng,rb;function jO(){if(rb)return ng;rb=1;function r(e,t){for(var n=-1,i=e==null?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}return ng=r,ng}var ig,nb;function FO(){if(nb)return ig;nb=1;function r(e,t){return e.has(t)}return ig=r,ig}var og,ib;function iS(){if(ib)return og;ib=1;var r=NO(),e=jO(),t=FO(),n=1,i=2;function l(u,h,g,m,M,T){var C=g&n,_=u.length,S=h.length;if(_!=S&&!(C&&S>_))return!1;var D=T.get(u),A=T.get(h);if(D&&A)return D==h&&A==u;var b=-1,k=!0,O=g&i?new r:void 0;for(T.set(u,h),T.set(h,u);++b<_;){var H=u[b],q=h[b];if(m)var G=C?m(q,H,b,h,u,T):m(H,q,b,u,h,T);if(G!==void 0){if(G)continue;k=!1;break}if(O){if(!e(h,function(Y,ue){if(!t(O,ue)&&(H===Y||M(H,Y,g,m,T)))return O.push(ue)})){k=!1;break}}else if(!(H===q||M(H,q,g,m,T))){k=!1;break}}return T.delete(u),T.delete(h),k}return og=l,og}var sg,ob;function BO(){if(ob)return sg;ob=1;var r=al(),e=r.Uint8Array;return sg=e,sg}var ag,sb;function qO(){if(sb)return ag;sb=1;function r(e){var t=-1,n=Array(e.size);return e.forEach(function(i,l){n[++t]=[l,i]}),n}return ag=r,ag}var lg,ab;function HO(){if(ab)return lg;ab=1;function r(e){var t=-1,n=Array(e.size);return e.forEach(function(i){n[++t]=i}),n}return lg=r,lg}var cg,lb;function zO(){if(lb)return cg;lb=1;var r=Nm(),e=BO(),t=Jx(),n=iS(),i=qO(),l=HO(),u=1,h=2,g="[object Boolean]",m="[object Date]",M="[object Error]",T="[object Map]",C="[object Number]",_="[object RegExp]",S="[object Set]",D="[object String]",A="[object Symbol]",b="[object ArrayBuffer]",k="[object DataView]",O=r?r.prototype:void 0,H=O?O.valueOf:void 0;function q(G,Y,ue,ee,fe,N,re){switch(ue){case k:if(G.byteLength!=Y.byteLength||G.byteOffset!=Y.byteOffset)return!1;G=G.buffer,Y=Y.buffer;case b:return!(G.byteLength!=Y.byteLength||!N(new e(G),new e(Y)));case g:case m:case C:return t(+G,+Y);case M:return G.name==Y.name&&G.message==Y.message;case _:case D:return G==Y+"";case T:var K=i;case S:var ne=ee&u;if(K||(K=l),G.size!=Y.size&&!ne)return!1;var ie=re.get(G);if(ie)return ie==Y;ee|=h,re.set(G,Y);var ce=n(K(G),K(Y),ee,fe,N,re);return re.delete(G),ce;case A:if(H)return H.call(G)==H.call(Y)}return!1}return cg=q,cg}var ug,cb;function $O(){if(cb)return ug;cb=1;function r(e,t){for(var n=-1,i=t.length,l=e.length;++n<i;)e[l+n]=t[n];return e}return ug=r,ug}var fg,ub;function Fm(){if(ub)return fg;ub=1;var r=Array.isArray;return fg=r,fg}var dg,fb;function UO(){if(fb)return dg;fb=1;var r=$O(),e=Fm();function t(n,i,l){var u=i(n);return e(n)?u:r(u,l(n))}return dg=t,dg}var hg,db;function WO(){if(db)return hg;db=1;function r(e,t){for(var n=-1,i=e==null?0:e.length,l=0,u=[];++n<i;){var h=e[n];t(h,n,e)&&(u[l++]=h)}return u}return hg=r,hg}var pg,hb;function VO(){if(hb)return pg;hb=1;function r(){return[]}return pg=r,pg}var gg,pb;function GO(){if(pb)return gg;pb=1;var r=WO(),e=VO(),t=Object.prototype,n=t.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(u){return u==null?[]:(u=Object(u),r(i(u),function(h){return n.call(u,h)}))}:e;return gg=l,gg}var mg,gb;function ZO(){if(gb)return mg;gb=1;function r(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}return mg=r,mg}var vg,mb;function yh(){if(mb)return vg;mb=1;function r(e){return e!=null&&typeof e=="object"}return vg=r,vg}var yg,vb;function YO(){if(vb)return yg;vb=1;var r=gh(),e=yh(),t="[object Arguments]";function n(i){return e(i)&&r(i)==t}return yg=n,yg}var bg,yb;function KO(){if(yb)return bg;yb=1;var r=YO(),e=yh(),t=Object.prototype,n=t.hasOwnProperty,i=t.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(u){return e(u)&&n.call(u,"callee")&&!i.call(u,"callee")};return bg=l,bg}var jf={exports:{}},_g,bb;function XO(){if(bb)return _g;bb=1;function r(){return!1}return _g=r,_g}jf.exports;var _b;function oS(){return _b||(_b=1,function(r,e){var t=al(),n=XO(),i=e&&!e.nodeType&&e,l=i&&!0&&r&&!r.nodeType&&r,u=l&&l.exports===i,h=u?t.Buffer:void 0,g=h?h.isBuffer:void 0,m=g||n;r.exports=m}(jf,jf.exports)),jf.exports}var xg,xb;function JO(){if(xb)return xg;xb=1;var r=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function t(n,i){var l=typeof n;return i=i??r,!!i&&(l=="number"||l!="symbol"&&e.test(n))&&n>-1&&n%1==0&&n<i}return xg=t,xg}var Sg,Sb;function sS(){if(Sb)return Sg;Sb=1;var r=9007199254740991;function e(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=r}return Sg=e,Sg}var Cg,Cb;function QO(){if(Cb)return Cg;Cb=1;var r=gh(),e=sS(),t=yh(),n="[object Arguments]",i="[object Array]",l="[object Boolean]",u="[object Date]",h="[object Error]",g="[object Function]",m="[object Map]",M="[object Number]",T="[object Object]",C="[object RegExp]",_="[object Set]",S="[object String]",D="[object WeakMap]",A="[object ArrayBuffer]",b="[object DataView]",k="[object Float32Array]",O="[object Float64Array]",H="[object Int8Array]",q="[object Int16Array]",G="[object Int32Array]",Y="[object Uint8Array]",ue="[object Uint8ClampedArray]",ee="[object Uint16Array]",fe="[object Uint32Array]",N={};N[k]=N[O]=N[H]=N[q]=N[G]=N[Y]=N[ue]=N[ee]=N[fe]=!0,N[n]=N[i]=N[A]=N[l]=N[b]=N[u]=N[h]=N[g]=N[m]=N[M]=N[T]=N[C]=N[_]=N[S]=N[D]=!1;function re(K){return t(K)&&e(K.length)&&!!N[r(K)]}return Cg=re,Cg}var wg,wb;function eP(){if(wb)return wg;wb=1;function r(e){return function(t){return e(t)}}return wg=r,wg}var Ff={exports:{}};Ff.exports;var Ab;function tP(){return Ab||(Ab=1,function(r,e){var t=Qx(),n=e&&!e.nodeType&&e,i=n&&!0&&r&&!r.nodeType&&r,l=i&&i.exports===n,u=l&&t.process,h=function(){try{var g=i&&i.require&&i.require("util").types;return g||u&&u.binding&&u.binding("util")}catch{}}();r.exports=h}(Ff,Ff.exports)),Ff.exports}var Ag,Tb;function aS(){if(Tb)return Ag;Tb=1;var r=QO(),e=eP(),t=tP(),n=t&&t.isTypedArray,i=n?e(n):r;return Ag=i,Ag}var Tg,Eb;function rP(){if(Eb)return Tg;Eb=1;var r=ZO(),e=KO(),t=Fm(),n=oS(),i=JO(),l=aS(),u=Object.prototype,h=u.hasOwnProperty;function g(m,M){var T=t(m),C=!T&&e(m),_=!T&&!C&&n(m),S=!T&&!C&&!_&&l(m),D=T||C||_||S,A=D?r(m.length,String):[],b=A.length;for(var k in m)(M||h.call(m,k))&&!(D&&(k=="length"||_&&(k=="offset"||k=="parent")||S&&(k=="buffer"||k=="byteLength"||k=="byteOffset")||i(k,b)))&&A.push(k);return A}return Tg=g,Tg}var Eg,kb;function nP(){if(kb)return Eg;kb=1;var r=Object.prototype;function e(t){var n=t&&t.constructor,i=typeof n=="function"&&n.prototype||r;return t===i}return Eg=e,Eg}var kg,Rb;function iP(){if(Rb)return kg;Rb=1;function r(e,t){return function(n){return e(t(n))}}return kg=r,kg}var Rg,Ib;function oP(){if(Ib)return Rg;Ib=1;var r=iP(),e=r(Object.keys,Object);return Rg=e,Rg}var Ig,Lb;function sP(){if(Lb)return Ig;Lb=1;var r=nP(),e=oP(),t=Object.prototype,n=t.hasOwnProperty;function i(l){if(!r(l))return e(l);var u=[];for(var h in Object(l))n.call(l,h)&&h!="constructor"&&u.push(h);return u}return Ig=i,Ig}var Lg,Mb;function aP(){if(Mb)return Lg;Mb=1;var r=tS(),e=sS();function t(n){return n!=null&&e(n.length)&&!r(n)}return Lg=t,Lg}var Mg,Db;function lP(){if(Db)return Mg;Db=1;var r=rP(),e=sP(),t=aP();function n(i){return t(i)?r(i):e(i)}return Mg=n,Mg}var Dg,Ob;function cP(){if(Ob)return Dg;Ob=1;var r=UO(),e=GO(),t=lP();function n(i){return r(i,t,e)}return Dg=n,Dg}var Og,Pb;function uP(){if(Pb)return Og;Pb=1;var r=cP(),e=1,t=Object.prototype,n=t.hasOwnProperty;function i(l,u,h,g,m,M){var T=h&e,C=r(l),_=C.length,S=r(u),D=S.length;if(_!=D&&!T)return!1;for(var A=_;A--;){var b=C[A];if(!(T?b in u:n.call(u,b)))return!1}var k=M.get(l),O=M.get(u);if(k&&O)return k==u&&O==l;var H=!0;M.set(l,u),M.set(u,l);for(var q=T;++A<_;){b=C[A];var G=l[b],Y=u[b];if(g)var ue=T?g(Y,G,b,u,l,M):g(G,Y,b,l,u,M);if(!(ue===void 0?G===Y||m(G,Y,h,g,M):ue)){H=!1;break}q||(q=b=="constructor")}if(H&&!q){var ee=l.constructor,fe=u.constructor;ee!=fe&&"constructor"in l&&"constructor"in u&&!(typeof ee=="function"&&ee instanceof ee&&typeof fe=="function"&&fe instanceof fe)&&(H=!1)}return M.delete(l),M.delete(u),H}return Og=i,Og}var Pg,Nb;function fP(){if(Nb)return Pg;Nb=1;var r=Ju(),e=al(),t=r(e,"DataView");return Pg=t,Pg}var Ng,jb;function dP(){if(jb)return Ng;jb=1;var r=Ju(),e=al(),t=r(e,"Promise");return Ng=t,Ng}var jg,Fb;function hP(){if(Fb)return jg;Fb=1;var r=Ju(),e=al(),t=r(e,"Set");return jg=t,jg}var Fg,Bb;function pP(){if(Bb)return Fg;Bb=1;var r=Ju(),e=al(),t=r(e,"WeakMap");return Fg=t,Fg}var Bg,qb;function gP(){if(qb)return Bg;qb=1;var r=fP(),e=jm(),t=dP(),n=hP(),i=pP(),l=gh(),u=rS(),h="[object Map]",g="[object Object]",m="[object Promise]",M="[object Set]",T="[object WeakMap]",C="[object DataView]",_=u(r),S=u(e),D=u(t),A=u(n),b=u(i),k=l;return(r&&k(new r(new ArrayBuffer(1)))!=C||e&&k(new e)!=h||t&&k(t.resolve())!=m||n&&k(new n)!=M||i&&k(new i)!=T)&&(k=function(O){var H=l(O),q=H==g?O.constructor:void 0,G=q?u(q):"";if(G)switch(G){case _:return C;case S:return h;case D:return m;case A:return M;case b:return T}return H}),Bg=k,Bg}var qg,Hb;function mP(){if(Hb)return qg;Hb=1;var r=DO(),e=iS(),t=zO(),n=uP(),i=gP(),l=Fm(),u=oS(),h=aS(),g=1,m="[object Arguments]",M="[object Array]",T="[object Object]",C=Object.prototype,_=C.hasOwnProperty;function S(D,A,b,k,O,H){var q=l(D),G=l(A),Y=q?M:i(D),ue=G?M:i(A);Y=Y==m?T:Y,ue=ue==m?T:ue;var ee=Y==T,fe=ue==T,N=Y==ue;if(N&&u(D)){if(!u(A))return!1;q=!0,ee=!1}if(N&&!ee)return H||(H=new r),q||h(D)?e(D,A,b,k,O,H):t(D,A,Y,b,k,O,H);if(!(b&g)){var re=ee&&_.call(D,"__wrapped__"),K=fe&&_.call(A,"__wrapped__");if(re||K){var ne=re?D.value():D,ie=K?A.value():A;return H||(H=new r),O(ne,ie,b,k,H)}}return N?(H||(H=new r),n(D,A,b,k,O,H)):!1}return qg=S,qg}var Hg,zb;function vP(){if(zb)return Hg;zb=1;var r=mP(),e=yh();function t(n,i,l,u,h){return n===i?!0:n==null||i==null||!e(n)&&!e(i)?n!==n&&i!==i:r(n,i,l,u,t,h)}return Hg=t,Hg}var zg,$b;function yP(){if($b)return zg;$b=1;var r=vP();function e(t,n){return r(t,n)}return zg=e,zg}var bP=yP();const If=il(bP);class bh extends I.Component{constructor(e){super(e),this.editingAreaRef=I.createRef(),this.dirtyProps=["modules","formats","bounds","theme","children"],this.cleanProps=["id","className","style","placeholder","tabIndex","onChange","onChangeSelection","onFocus","onBlur","onKeyPress","onKeyDown","onKeyUp"],this.state={generation:0},this.selection=null,this.onEditorChange=(n,i,l,u)=>{var h,g;n==="text-change"?(h=this.onEditorChangeText)==null||h.call(this,this.editor.root.innerHTML,i,u,this.unprivilegedEditor):n==="selection-change"&&((g=this.onEditorChangeSelection)==null||g.call(this,i,u,this.unprivilegedEditor))};const t=this.isControlled()?e.value:e.defaultValue;this.value=t??""}validateProps(e){if(I.Children.count(e.children)>1)throw new Error("The Quill editing area can only be composed of a single React element.");if(I.Children.count(e.children)){const t=I.Children.only(e.children);if((t==null?void 0:t.type)==="textarea")throw new Error("Quill does not support editing on a <textarea>. Use a <div> instead.")}if(this.lastDeltaChangeSet&&e.value===this.lastDeltaChangeSet)throw new Error("You are passing the `delta` object from the `onChange` event back as `value`. You most probably want `editor.getContents()` instead. See: https://github.com/zenoamaro/react-quill#using-deltas")}shouldComponentUpdate(e,t){if(this.validateProps(e),!this.editor||this.state.generation!==t.generation)return!0;if("value"in e){const n=this.getEditorContents(),i=e.value??"";this.isEqualValue(i,n)||this.setEditorContents(this.editor,i)}return e.readOnly!==this.props.readOnly&&this.setEditorReadOnly(this.editor,e.readOnly),[...this.cleanProps,...this.dirtyProps].some(n=>!If(e[n],this.props[n]))}shouldComponentRegenerate(e){return this.dirtyProps.some(t=>!If(e[t],this.props[t]))}componentDidMount(){this.instantiateEditor(),this.setEditorContents(this.editor,this.getEditorContents())}componentWillUnmount(){this.destroyEditor()}componentDidUpdate(e,t){if(this.editor&&this.shouldComponentRegenerate(e)){const n=this.editor.getContents(),i=this.editor.getSelection();this.regenerationSnapshot={delta:n,selection:i},this.setState({generation:this.state.generation+1}),this.destroyEditor()}if(this.state.generation!==t.generation){const{delta:n,selection:i}=this.regenerationSnapshot;delete this.regenerationSnapshot,this.instantiateEditor();const l=this.editor;l.setContents(n),Ub(()=>this.setEditorSelection(l,i))}}instantiateEditor(){this.editor?this.hookEditor(this.editor):this.editor=this.createEditor(this.getEditingArea(),this.getEditorConfig())}destroyEditor(){this.editor&&this.unhookEditor(this.editor)}isControlled(){return"value"in this.props}getEditorConfig(){return{bounds:this.props.bounds,formats:this.props.formats,modules:this.props.modules,placeholder:this.props.placeholder,readOnly:this.props.readOnly,tabIndex:this.props.tabIndex,theme:this.props.theme}}getEditor(){if(!this.editor)throw new Error("Accessing non-instantiated editor");return this.editor}createEditor(e,t){const n=new $e(e,t);return t.tabIndex!=null&&this.setEditorTabIndex(n,t.tabIndex),this.hookEditor(n),n}hookEditor(e){this.unprivilegedEditor=this.makeUnprivilegedEditor(e),e.on("editor-change",this.onEditorChange)}unhookEditor(e){e.off("editor-change",this.onEditorChange)}getEditorContents(){return this.value}getEditorSelection(){return this.selection}isDelta(e){return e&&e.ops}isEqualValue(e,t){return this.isDelta(e)&&this.isDelta(t)?If(e.ops,t.ops):If(e,t)}setEditorContents(e,t){this.value=t;const n=this.getEditorSelection();typeof t=="string"?e.setContents(e.clipboard.convert({html:t})):e.setContents(t),Ub(()=>this.setEditorSelection(e,n))}setEditorSelection(e,t){if(this.selection=t,t){const n=e.getLength();t.index=Math.max(0,Math.min(t.index,n-1)),t.length=Math.max(0,Math.min(t.length,n-1-t.index)),e.setSelection(t)}}setEditorTabIndex(e,t){var n;(n=e==null?void 0:e.scroll)!=null&&n.domNode&&(e.scroll.domNode.tabIndex=t)}setEditorReadOnly(e,t){t?e.disable():e.enable()}makeUnprivilegedEditor(e){const t=e;return{getHTML:()=>t.root.innerHTML,getSemanticHTML:t.getSemanticHTML.bind(t),getLength:t.getLength.bind(t),getText:t.getText.bind(t),getContents:t.getContents.bind(t),getSelection:t.getSelection.bind(t),getBounds:t.getBounds.bind(t)}}getEditingArea(){const e=this.editingAreaRef.current;if(!e)throw new Error("Cannot find element for editing area");if(e.nodeType===3)throw new Error("Editing area cannot be a text node");return e}renderEditingArea(){const{children:e,preserveWhitespace:t}=this.props,{generation:n}=this.state,i={key:n,ref:this.editingAreaRef};return I.Children.count(e)?I.cloneElement(I.Children.only(e),i):t?I.createElement("pre",{...i}):I.createElement("div",{...i})}render(){return I.createElement("div",{id:this.props.id,style:this.props.style,key:this.state.generation,className:`quill ${this.props.className??""}`,onKeyPress:this.props.onKeyPress,onKeyDown:this.props.onKeyDown,onKeyUp:this.props.onKeyUp},this.renderEditingArea())}onEditorChangeText(e,t,n,i){var u,h;if(!this.editor)return;const l=this.isDelta(this.value)?i.getContents():i.getHTML();l!==this.getEditorContents()&&(this.lastDeltaChangeSet=t,this.value=l,(h=(u=this.props).onChange)==null||h.call(u,e,t,n,i))}onEditorChangeSelection(e,t,n){var h,g,m,M,T,C;if(!this.editor)return;const i=this.getEditorSelection(),l=!i&&e,u=i&&!e;If(e,i)||(this.selection=e,(g=(h=this.props).onChangeSelection)==null||g.call(h,e,t,n),l?(M=(m=this.props).onFocus)==null||M.call(m,e,t,n):u&&((C=(T=this.props).onBlur)==null||C.call(T,i,t,n)))}focus(){this.editor&&this.editor.focus()}blur(){this.editor&&(this.selection=null,this.editor.blur())}}bh.displayName="React Quill";bh.Quill=$e;bh.defaultProps={theme:"snow",modules:{},readOnly:!1};function Ub(r){Promise.resolve().then(r)}const _P="_AEditorContainer_85yg7_1",xP="_AEditor_85yg7_1",SP="_Primary_85yg7_402",CP="_ReadOnly_85yg7_472",wP="_Raw_85yg7_619",AP="_LimitContainer_85yg7_633",TP="_Limit_85yg7_633",EP="_Indicator_85yg7_650",kP="_Resizer_85yg7_656",Wn={AEditorContainer:_P,AEditor:xP,Primary:SP,ReadOnly:CP,Error:"_Error_85yg7_549",Raw:wP,LimitContainer:AP,Limit:TP,Indicator:EP,Resizer:kP,"ql-tablepicker-row":"_ql-tablepicker-row_85yg7_691","ql-tablepicker-cell":"_ql-tablepicker-cell_85yg7_694","ql-tablepicker-grid":"_ql-tablepicker-grid_85yg7_702","ql-tablepicker-inner-cell":"_ql-tablepicker-inner-cell_85yg7_706","ql-tablepicker-options":"_ql-tablepicker-options_85yg7_715","ql-tablepicker-tooltip":"_ql-tablepicker-tooltip_85yg7_726","ql-tableui-options":"_ql-tableui-options_85yg7_745","ql-tableui-options__item":"_ql-tableui-options__item_85yg7_757","ql-tableui-options__item-icon":"_ql-tableui-options__item-icon_85yg7_776","ql-tableui-options__item-text":"_ql-tableui-options__item-text_85yg7_781","ql-tableui-helper":"_ql-tableui-helper_85yg7_787","ql-tableui-helper__icon":"_ql-tableui-helper__icon_85yg7_799","ql-tableui-helper__text":"_ql-tableui-helper__text_85yg7_809"};class RP{constructor(e){it(this,"quill");it(this,"picker",null);it(this,"tooltip",null);it(this,"toolbar",null);it(this,"tableButton",null);it(this,"CONSTANTS",{MAX_ROWS:10,MAX_COLS:10,CELL_SIZE:18,SPACING:5,PICKER_PADDING:20});it(this,"CLASSNAMES",{tooltip:Wn["ql-tablepicker-tooltip"],grid:Wn["ql-tablepicker-grid"],row:Wn["ql-tablepicker-row"],cell:Wn["ql-tablepicker-cell"],innerCell:Wn["ql-tablepicker-inner-cell"],options:Wn["ql-tablepicker-options"]});it(this,"COLORS",{highlight:"var(--AEditor_Addon_hover_color)",normal:"var(--AEditor_Addon_Primary_background-color)",border:"1px solid var(--AEditor_Addon_Primary_color)"});it(this,"boundHandlers",{globalClick:this.handleGlobalClick.bind(this),tableButtonClick:this.handleTableButtonClick.bind(this),gridMouseOver:this.handleGridMouseOver.bind(this),gridMouseOut:this.handleGridMouseOut.bind(this),gridClick:this.handleGridClick.bind(this),highlightReset:()=>this.highlightCells(0,0)});this.quill=e,this.initializeTablePicker(),document.addEventListener("click",this.boundHandlers.globalClick)}destroy(){document.removeEventListener("click",this.boundHandlers.globalClick),this.tableButton&&this.tableButton.removeEventListener("click",this.boundHandlers.tableButtonClick),this.hidePicker()}handleGlobalClick(e){if(!this.picker)return;const t=e.target;this.isTableButtonOrPicker(t)||this.hidePicker()}isTableButtonOrPicker(e){return!!e.closest("button.ql-table")||!!e.closest(`.${this.CLASSNAMES.options}`)}initializeTablePicker(){if(this.toolbar=this.quill.getModule("toolbar"),this.tableButton=this.toolbar.container.querySelector("button.ql-table"),!this.tableButton){console.warn("Table button not found");return}this.toolbar.handlers.table=()=>{},this.tableButton.addEventListener("click",this.boundHandlers.tableButtonClick)}handleTableButtonClick(e){if(e.preventDefault(),e.stopPropagation(),this.picker&&document.body.contains(this.picker)){this.hidePicker();return}this.showTablePicker(e.target)}createElement(e,t){const n=document.createElement("div");return n.className=e,t&&(n.textContent=t),n}showTablePicker(e){this.hidePicker(),this.closeOtherOptions();const t=e.closest("button.ql-table");t&&t.classList.add("ql-expanded"),this.createPicker(e)}closeOtherOptions(){document.querySelectorAll(".ql-picker.ql-expanded").forEach(e=>{e.classList.remove("ql-expanded")})}createPicker(e){const t=document.createDocumentFragment();this.picker=this.createElement(this.CLASSNAMES.options);const n=this.createGrid();t.appendChild(n),this.picker.appendChild(t),this.positionPicker(e),document.body.appendChild(this.picker),this.picker.addEventListener("mouseover",this.boundHandlers.gridMouseOver),this.picker.addEventListener("mouseout",this.boundHandlers.gridMouseOut),this.picker.addEventListener("click",this.boundHandlers.gridClick),this.picker.addEventListener("mouseleave",this.boundHandlers.highlightReset)}handleGridMouseOver(e){const t=this.findTargetCell(e);if(!t)return;const[n,i]=this.getCellCoordinates(t);this.highlightCells(n+1,i+1),this.showTooltip(t,n+1,i+1)}handleGridMouseOut(e){var t;(t=this.picker)!=null&&t.contains(e.relatedTarget)||this.removeTooltip()}handleGridClick(e){const t=this.findTargetCell(e);if(!t)return;const[n,i]=this.getCellCoordinates(t);this.insertTable(n+1,i+1),this.removeTooltip(),this.hidePicker()}findTargetCell(e){return e.target.closest(`.${this.CLASSNAMES.cell}`)}getCellCoordinates(e){const t=parseInt(e.getAttribute("data-row")||"0",10),n=parseInt(e.getAttribute("data-col")||"0",10);return[t,n]}createGrid(){const e=this.createElement(this.CLASSNAMES.grid),t=document.createDocumentFragment(),{MAX_ROWS:n,MAX_COLS:i}=this.CONSTANTS;for(let l=0;l<n;l++){const u=this.createElement(this.CLASSNAMES.row);for(let h=0;h<i;h++){const g=this.createElement(this.CLASSNAMES.cell),m=this.createElement(this.CLASSNAMES.innerCell);g.setAttribute("data-row",l.toString()),g.setAttribute("data-col",h.toString()),g.appendChild(m),u.appendChild(g)}t.appendChild(u)}return e.appendChild(t),e}showTooltip(e,t,n){this.removeTooltip(),this.tooltip=this.createElement(this.CLASSNAMES.tooltip,`${t}×${n}`),document.body.appendChild(this.tooltip);const{top:i,left:l}=this.calculateTooltipPosition(e,this.tooltip);this.tooltip.style.top=`${i}px`,this.tooltip.style.left=`${l}px`}calculateTooltipPosition(e,t){const{SPACING:n}=this.CONSTANTS,i=e.getBoundingClientRect(),l=t.getBoundingClientRect(),u=this.getViewportMetrics();let h=i.top-l.height-n,g=i.left;return h<0&&(h=i.bottom+n),g+l.width>u.width&&(g=u.width-l.width-n),{top:h,left:g}}getViewportMetrics(){return{width:window.innerWidth,height:window.innerHeight,scrollTop:window.scrollY||document.documentElement.scrollTop,scrollLeft:window.scrollX||document.documentElement.scrollLeft}}removeTooltip(){this.tooltip&&(this.tooltip.remove(),this.tooltip=null)}positionPicker(e){if(!this.picker)return;const{CELL_SIZE:t,MAX_ROWS:n,MAX_COLS:i,PICKER_PADDING:l}=this.CONSTANTS,u=e.getBoundingClientRect(),h=this.getViewportMetrics(),g=t*n+l,m=t*i+l,M=this.isElementInViewport(u),{top:T,left:C}=this.calculatePickerPosition(u,M,{pickerWidth:m,pickerHeight:g,viewport:h});this.picker.style.top=`${T}px`,this.picker.style.left=`${C}px`}isElementInViewport(e){const t=this.getViewportMetrics();return e.top>=0&&e.left>=0&&e.bottom<=t.height&&e.right<=t.width}calculatePickerPosition(e,t,n){const{pickerWidth:i,pickerHeight:l,viewport:u}=n,{width:h,height:g,scrollTop:m,scrollLeft:M}=u;let T,C;if(t)T=e.bottom+m,C=e.left+M;else{const _=this.quill.getSelection();if(_){const S=this.quill.getBounds(_.index),D=this.quill.container.getBoundingClientRect();T=D.top+S.bottom+m,C=D.left+S.left+M}else T=(g-l)/2+m,C=(h-i)/2+M}return T+l>g+m&&(T=Math.max(m,T-l-(t?e.height:0))),C+i>h+M&&(C=Math.max(M,h+M-i)),{top:T,left:C}}highlightCells(e,t){if(!this.picker)return;const n=this.picker.querySelectorAll(`.${this.CLASSNAMES.innerCell}`),{NORMAL:i,HIGHLIGHT:l}={NORMAL:this.COLORS.normal,HIGHLIGHT:this.COLORS.highlight};for(let u=0;u<n.length;u++){const h=n[u],g=h.parentElement;if(!g)continue;const[m,M]=this.getCellCoordinates(g);h.style.backgroundColor=m<e&&M<t?l:i}}insertTable(e,t){const n=this.quill.getSelection(!0);if(!n)return;const[i]=this.quill.getLeaf(n.index);if(!i)return;this.prepareInsertionPoint(i,n);const l=this.quill.getModule("table");this.quill.setSelection(n.index,0),l.insertTable(e,t);const u=this.quill.root.querySelector("table:last-of-type");if(u){const h=u.querySelectorAll("td, th");for(let m=0;m<h.length;m++)h[m].style.border=this.COLORS.border;const g=this.quill.getSelection();g&&this.quill.setSelection(g.index,0)}}prepareInsertionPoint(e,t){const n=this.findTableParent(e.parent);if(n){const i=this.quill.getIndex(n)+n.length();this.quill.insertText(i,`
|
343
|
+
`+d.stack}}var kl=t.ReactCurrentDispatcher,la=t.ReactDebugCurrentFrame,Rl=0,ao=1,Il=2,As=3,vu=4,ja=0,ca=1,ua=2,Sc=12800;function yu(f){return console.error(f),null}function Ts(){}function Ll(f,s,c,d,y,L,F,U,oe){var _e=[],Ue=new Set,rt={destination:null,responseState:s,progressiveChunkSize:d===void 0?Sc:d,status:ja,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ue,pingedTasks:_e,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:y===void 0?yu:y,onAllReady:L===void 0?Ts:L,onShellReady:F===void 0?Ts:F,onShellError:U===void 0?Ts:U,onFatalError:oe===void 0?Ts:oe},yt=Fa(rt,0,null,c,!1,!1);yt.parentFlushed=!0;var Jt=Oo(rt,f,null,yt,Ue,In,_l,ff);return _e.push(Jt),rt}function Do(f,s){var c=f.pingedTasks;c.push(s),c.length===1&&u(function(){return Dc(f)})}function Ml(f,s){return{id:xi,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s,errorDigest:null}}function Oo(f,s,c,d,y,L,F,U){f.allPendingTasks++,c===null?f.pendingRootTasks++:c.pendingTasks++;var oe={node:s,ping:function(){return Do(f,oe)},blockedBoundary:c,blockedSegment:d,abortSet:y,legacyContext:L,context:F,treeContext:U};return oe.componentStack=null,y.add(oe),oe}function Fa(f,s,c,d,y,L){return{status:Rl,id:-1,index:s,parentFlushed:!1,chunks:[],children:[],formatContext:d,boundary:c,lastPushedText:y,textEmbedded:L}}var Vi=null;function Gi(){return Vi===null||Vi.componentStack===null?"":aa(Vi.componentStack)}function lo(f,s){f.componentStack={tag:0,parent:f.componentStack,type:s}}function Ba(f,s){f.componentStack={tag:1,parent:f.componentStack,type:s}}function es(f,s){f.componentStack={tag:2,parent:f.componentStack,type:s}}function Zi(f){f.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):f.componentStack=f.componentStack.parent}var fa=null;function Dl(f,s){{var c;typeof s=="string"?c=s:s&&typeof s.message=="string"?c=s.message:c=String(s);var d=fa||Gi();fa=null,f.errorMessage=c,f.errorComponentStack=d}}function qa(f,s){var c=f.onError(s);if(c!=null&&typeof c!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof c+'" instead');return c}function da(f,s){var c=f.onShellError;c(s);var d=f.onFatalError;d(s),f.destination!==null?(f.status=ua,k(f.destination,s)):(f.status=ca,f.fatalError=s)}function bu(f,s,c){lo(s,"Suspense");var d=s.blockedBoundary,y=s.blockedSegment,L=c.fallback,F=c.children,U=new Set,oe=Ml(f,U),_e=y.chunks.length,Ue=Fa(f,_e,oe,y.formatContext,!1,!1);y.children.push(Ue),y.lastPushedText=!1;var rt=Fa(f,0,null,y.formatContext,!1,!1);rt.parentFlushed=!0,s.blockedBoundary=oe,s.blockedSegment=rt;try{if(ts(f,s,F),dn(rt.chunks,f.responseState,rt.lastPushedText,rt.textEmbedded),rt.status=ao,rs(oe,rt),oe.pendingTasks===0){Zi(s);return}}catch(Jt){rt.status=vu,oe.forceClientRender=!0,oe.errorDigest=qa(f,Jt),Dl(oe,Jt)}finally{s.blockedBoundary=d,s.blockedSegment=y}var yt=Oo(f,L,d,Ue,U,s.legacyContext,s.context,s.treeContext);yt.componentStack=s.componentStack,f.pingedTasks.push(yt),Zi(s)}function Cc(f,s,c,d){lo(s,c);var y=s.blockedSegment,L=hr(y.chunks,c,d,f.responseState,y.formatContext);y.lastPushedText=!1;var F=y.formatContext;y.formatContext=_i(F,c,d),ts(f,s,L),y.formatContext=F,Cr(y.chunks,c),y.lastPushedText=!1,Zi(s)}function wc(f){return f.prototype&&f.prototype.isReactComponent}function Es(f,s,c,d,y){var L={};mc(s,L);var F=c(d,y);return Ss(c,d,F,y)}function Ac(f,s,c,d,y){var L=c.render();c.props!==y&&(Ec||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",an(d)||"a component"),Ec=!0);{var F=d.childContextTypes;if(F!=null){var U=s.legacyContext,oe=lc(c,d,U,F);s.legacyContext=oe,ri(f,s,L),s.legacyContext=U;return}}ri(f,s,L)}function Ol(f,s,c,d){es(s,c);var y=Vo(c,s.legacyContext),L=oo(c,d,y);Oa(L,c,d,y),Ac(f,s,L,c,d),Zi(s)}var pr={},Ha={},Tc={},ks={},Ec=!1,_u=!1,kc=!1,Li=!1;function mf(f,s,c,d){var y;if(y=Vo(c,s.legacyContext),Ba(s,c),c.prototype&&typeof c.prototype.render=="function"){var L=an(c)||"Unknown";pr[L]||(i("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.",L,L),pr[L]=!0)}var F=Es(f,s,c,d,y),U=fi();if(typeof F=="object"&&F!==null&&typeof F.render=="function"&&F.$$typeof===void 0){var oe=an(c)||"Unknown";Ha[oe]||(i("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.",oe,oe,oe),Ha[oe]=!0)}if(typeof F=="object"&&F!==null&&typeof F.render=="function"&&F.$$typeof===void 0){{var _e=an(c)||"Unknown";Ha[_e]||(i("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.",_e,_e,_e),Ha[_e]=!0)}Oa(F,c,d,y),Ac(f,s,F,c,d)}else if(Pl(c),U){var Ue=s.treeContext,rt=1,yt=0;s.treeContext=dc(Ue,rt,yt);try{ri(f,s,F)}finally{s.treeContext=Ue}}else ri(f,s,F);Zi(s)}function Pl(f){{if(f&&f.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",f.displayName||f.name||"Component"),typeof f.getDerivedStateFromProps=="function"){var s=an(f)||"Unknown";ks[s]||(i("%s: Function components do not support getDerivedStateFromProps.",s),ks[s]=!0)}if(typeof f.contextType=="object"&&f.contextType!==null){var c=an(f)||"Unknown";Tc[c]||(i("%s: Function components do not support contextType.",c),Tc[c]=!0)}}}function Nl(f,s){if(f&&f.defaultProps){var c=Ti({},s),d=f.defaultProps;for(var y in d)c[y]===void 0&&(c[y]=d[y]);return c}return s}function xu(f,s,c,d,y){Ba(s,c.render);var L=Es(f,s,c.render,d,y),F=fi();if(F){var U=s.treeContext,oe=1,_e=0;s.treeContext=dc(U,oe,_e);try{ri(f,s,L)}finally{s.treeContext=U}}else ri(f,s,L);Zi(s)}function jl(f,s,c,d,y){var L=c.type,F=Nl(L,d);za(f,s,L,F,y)}function Mi(f,s,c,d){c._context===void 0?c!==c.Consumer&&(Li||(Li=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):c=c._context;var y=d.children;typeof y!="function"&&i("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.");var L=ia(c),F=y(L);ri(f,s,F)}function An(f,s,c,d){var y=c._context,L=d.value,F=d.children,U;U=s.context,s.context=cc(y,L),ri(f,s,F),s.context=af(y),U!==s.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Rc(f,s,c,d,y){lo(s,"Lazy");var L=c._payload,F=c._init,U=F(L),oe=Nl(U,d);za(f,s,U,oe,y),Zi(s)}function za(f,s,c,d,y){if(typeof c=="function")if(wc(c)){Ol(f,s,c,d);return}else{mf(f,s,c,d);return}if(typeof c=="string"){Cc(f,s,c,d);return}switch(c){case ml:case Ni:case pe:case Be:case wo:{ri(f,s,d.children);return}case bn:{lo(s,"SuspenseList"),ri(f,s,d.children),Zi(s);return}case su:throw new Error("ReactDOMServer does not yet support scope components.");case Or:{bu(f,s,d);return}}if(typeof c=="object"&&c!==null)switch(c.$$typeof){case Qt:{xu(f,s,c,d,y);return}case $r:{jl(f,s,c,d,y);return}case Re:{An(f,s,c,d);return}case Et:{Mi(f,s,c,d);return}case Ks:{Rc(f,s,c,d);return}}var L="";throw(c===void 0||typeof c=="object"&&c!==null&&Object.keys(c).length===0)&&(L+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(c==null?c:typeof c)+"."+L))}function Fl(f,s){typeof Symbol=="function"&&f[Symbol.toStringTag]==="Generator"&&(_u||i("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."),_u=!0),f.entries===s&&(kc||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),kc=!0)}function ri(f,s,c){try{return Ic(f,s,c)}catch(d){throw typeof d=="object"&&d!==null&&typeof d.then=="function"||(fa=fa!==null?fa:Gi()),d}}function Ic(f,s,c){if(s.node=c,typeof c=="object"&&c!==null){switch(c.$$typeof){case ou:{var d=c,y=d.type,L=d.props,F=d.ref;za(f,s,y,L,F);return}case gl:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Ks:{var U=c,oe=U._payload,_e=U._init,Ue;try{Ue=_e(oe)}catch(fo){throw typeof fo=="object"&&fo!==null&&typeof fo.then=="function"&&lo(s,"Lazy"),fo}ri(f,s,Ue);return}}if(Yt(c)){Lc(f,s,c);return}var rt=Uo(c);if(rt){Fl(c,rt);var yt=rt.call(c);if(yt){var Jt=yt.next();if(!Jt.done){var Lr=[];do Lr.push(Jt.value),Jt=yt.next();while(!Jt.done);Lc(f,s,Lr);return}return}}var zn=Object.prototype.toString.call(c);throw new Error("Objects are not valid as a React child (found: "+(zn==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":zn)+"). If you meant to render a collection of children, use an array instead.")}if(typeof c=="string"){var ns=s.blockedSegment;ns.lastPushedText=on(s.blockedSegment.chunks,c,f.responseState,ns.lastPushedText);return}if(typeof c=="number"){var uo=s.blockedSegment;uo.lastPushedText=on(s.blockedSegment.chunks,""+c,f.responseState,uo.lastPushedText);return}typeof c=="function"&&i("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 Lc(f,s,c){for(var d=c.length,y=0;y<d;y++){var L=s.treeContext;s.treeContext=dc(L,d,y);try{ts(f,s,c[y])}finally{s.treeContext=L}}}function Bl(f,s,c){var d=s.blockedSegment,y=d.chunks.length,L=Fa(f,y,null,d.formatContext,d.lastPushedText,!0);d.children.push(L),d.lastPushedText=!1;var F=Oo(f,s.node,s.blockedBoundary,L,s.abortSet,s.legacyContext,s.context,s.treeContext);s.componentStack!==null&&(F.componentStack=s.componentStack.parent);var U=F.ping;c.then(U,U)}function ts(f,s,c){var d=s.blockedSegment.formatContext,y=s.legacyContext,L=s.context,F=null;F=s.componentStack;try{return ri(f,s,c)}catch(U){if(vc(),typeof U=="object"&&U!==null&&typeof U.then=="function"){Bl(f,s,U),s.blockedSegment.formatContext=d,s.legacyContext=y,s.context=L,Yo(L),s.componentStack=F;return}else throw s.blockedSegment.formatContext=d,s.legacyContext=y,s.context=L,Yo(L),s.componentStack=F,U}}function Po(f,s,c,d){var y=qa(f,d);if(s===null?da(f,d):(s.pendingTasks--,s.forceClientRender||(s.forceClientRender=!0,s.errorDigest=y,Dl(s,d),s.parentFlushed&&f.clientRenderedBoundaries.push(s))),f.allPendingTasks--,f.allPendingTasks===0){var L=f.onAllReady;L()}}function vf(f){var s=this,c=f.blockedBoundary,d=f.blockedSegment;d.status=As,ha(s,c,d)}function co(f,s,c){var d=f.blockedBoundary,y=f.blockedSegment;if(y.status=As,d===null)s.allPendingTasks--,s.status!==ua&&(s.status=ua,s.destination!==null&&S(s.destination));else{if(d.pendingTasks--,!d.forceClientRender){d.forceClientRender=!0;var L=c===void 0?new Error("The render was aborted by the server without a reason."):c;d.errorDigest=s.onError(L);{var F="The server did not finish this Suspense boundary: ";L&&typeof L.message=="string"?L=F+L.message:L=F+String(L);var U=Vi;Vi=f;try{Dl(d,L)}finally{Vi=U}}d.parentFlushed&&s.clientRenderedBoundaries.push(d)}if(d.fallbackAbortableTasks.forEach(function(_e){return co(_e,s,c)}),d.fallbackAbortableTasks.clear(),s.allPendingTasks--,s.allPendingTasks===0){var oe=s.onAllReady;oe()}}}function rs(f,s){if(s.chunks.length===0&&s.children.length===1&&s.children[0].boundary===null){var c=s.children[0];c.id=s.id,c.parentFlushed=!0,c.status===ao&&rs(f,c)}else{var d=f.completedSegments;d.push(s)}}function ha(f,s,c){if(s===null){if(c.parentFlushed){if(f.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");f.completedRootSegment=c}if(f.pendingRootTasks--,f.pendingRootTasks===0){f.onShellError=Ts;var d=f.onShellReady;d()}}else if(s.pendingTasks--,!s.forceClientRender){if(s.pendingTasks===0)c.parentFlushed&&c.status===ao&&rs(s,c),s.parentFlushed&&f.completedBoundaries.push(s),s.fallbackAbortableTasks.forEach(vf,f),s.fallbackAbortableTasks.clear();else if(c.parentFlushed&&c.status===ao){rs(s,c);var y=s.completedSegments;y.length===1&&s.parentFlushed&&f.partialBoundaries.push(s)}}if(f.allPendingTasks--,f.allPendingTasks===0){var L=f.onAllReady;L()}}function Mc(f,s){var c=s.blockedSegment;if(c.status===Rl){Yo(s.context);var d=null;d=Vi,Vi=s;try{ri(f,s,s.node),dn(c.chunks,f.responseState,c.lastPushedText,c.textEmbedded),s.abortSet.delete(s),c.status=ao,ha(f,s.blockedBoundary,c)}catch(L){if(vc(),typeof L=="object"&&L!==null&&typeof L.then=="function"){var y=s.ping;L.then(y,y)}else s.abortSet.delete(s),c.status=vu,Po(f,s.blockedBoundary,c,L)}finally{Vi=d}}}function Dc(f){if(f.status!==ua){var s=cu(),c=kl.current;kl.current=On;var d;d=la.getCurrentStack,la.getCurrentStack=Gi;var y=ws;El(f.responseState);try{var L=f.pingedTasks,F;for(F=0;F<L.length;F++){var U=L[F];Mc(f,U)}L.splice(0,F),f.destination!==null&&ni(f,f.destination)}catch(oe){qa(f,oe),da(f,oe)}finally{El(y),kl.current=c,la.getCurrentStack=d,c===On&&Yo(s)}}}function $a(f,s,c){switch(c.parentFlushed=!0,c.status){case Rl:{var d=c.id=f.nextSegmentId++;return c.lastPushedText=!1,c.textEmbedded=!1,jr(s,f.responseState,d)}case ao:{c.status=Il;for(var y=!0,L=c.chunks,F=0,U=c.children,oe=0;oe<U.length;oe++){for(var _e=U[oe];F<_e.index;F++)T(s,L[F]);y=ql(f,s,_e)}for(;F<L.length-1;F++)T(s,L[F]);return F<L.length&&(y=C(s,L[F])),y}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ql(f,s,c){var d=c.boundary;if(d===null)return $a(f,s,c);if(d.parentFlushed=!0,d.forceClientRender)return qn(s,f.responseState,d.errorDigest,d.errorMessage,d.errorComponentStack),$a(f,s,c),wa(s,f.responseState);if(d.pendingTasks>0){d.rootSegmentID=f.nextSegmentId++,d.completedSegments.length>0&&f.partialBoundaries.push(d);var y=d.id=En(f.responseState);return xo(s,f.responseState,y),$a(f,s,c),Ci(s,f.responseState)}else{if(d.byteSize>f.progressiveChunkSize)return d.rootSegmentID=f.nextSegmentId++,f.completedBoundaries.push(d),xo(s,f.responseState,d.id),$a(f,s,c),Ci(s,f.responseState);$i(s,f.responseState);var L=d.completedSegments;if(L.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var F=L[0];return ql(f,s,F),Yr(s,f.responseState)}}function Oc(f,s,c){return nu(s,f.responseState,c.id,c.errorDigest,c.errorMessage,c.errorComponentStack)}function Ua(f,s,c){return tr(s,f.responseState,c.formatContext,c.id),ql(f,s,c),Gr(s,c.formatContext)}function Su(f,s,c){for(var d=c.completedSegments,y=0;y<d.length;y++){var L=d[y];Pc(f,s,c,L)}return d.length=0,Ta(s,f.responseState,c.id,c.rootSegmentID)}function Cu(f,s,c){for(var d=c.completedSegments,y=0;y<d.length;y++){var L=d[y];if(!Pc(f,s,c,L))return y++,d.splice(0,y),!1}return d.splice(0,y),!0}function Pc(f,s,c,d){if(d.status===Il)return!0;var y=d.id;if(y===-1){var L=d.id=c.rootSegmentID;if(L===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Ua(f,s,d)}else return Ua(f,s,d),ef(s,f.responseState,y)}function ni(f,s){M();try{var c=f.completedRootSegment;c!==null&&f.pendingRootTasks===0&&(ql(f,s,c),f.completedRootSegment=null,Jr(s,f.responseState));var d=f.clientRenderedBoundaries,y;for(y=0;y<d.length;y++){var L=d[y];Oc(f,s,L)}d.splice(0,y);var F=f.completedBoundaries;for(y=0;y<F.length;y++){var U=F[y];Su(f,s,U)}F.splice(0,y),_(s),M(s);var oe=f.partialBoundaries;for(y=0;y<oe.length;y++){var _e=oe[y];if(!Cu(f,s,_e)){f.destination=null,y++,oe.splice(0,y);return}}oe.splice(0,y);var Ue=f.completedBoundaries;for(y=0;y<Ue.length;y++){var rt=Ue[y];Su(f,s,rt)}Ue.splice(0,y)}finally{_(s),f.allPendingTasks===0&&f.pingedTasks.length===0&&f.clientRenderedBoundaries.length===0&&f.completedBoundaries.length===0&&(f.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),S(s))}}function Yi(f){u(function(){return Dc(f)})}function yf(f,s){if(f.status===ca){f.status=ua,k(s,f.fatalError);return}if(f.status!==ua&&f.destination===null){f.destination=s;try{ni(f,s)}catch(c){qa(f,c),da(f,c)}}}function wu(f,s){try{var c=f.abortableTasks;c.forEach(function(d){return co(d,f,s)}),c.clear(),f.destination!==null&&ni(f,f.destination)}catch(d){qa(f,d),da(f,d)}}function Hl(f,s){return new Promise(function(c,d){var y,L,F=new Promise(function(yt,Jt){L=yt,y=Jt});function U(){var yt=new ReadableStream({type:"bytes",pull:function(Jt){yf(_e,Jt)},cancel:function(Jt){wu(_e)}},{highWaterMark:0});yt.allReady=F,c(yt)}function oe(yt){F.catch(function(){}),d(yt)}var _e=Ll(f,Sn(s?s.identifierPrefix:void 0,s?s.nonce:void 0,s?s.bootstrapScriptContent:void 0,s?s.bootstrapScripts:void 0,s?s.bootstrapModules:void 0),di(s?s.namespaceURI:void 0),s?s.progressiveChunkSize:void 0,s?s.onError:void 0,L,U,oe,y);if(s&&s.signal){var Ue=s.signal,rt=function(){wu(_e,Ue.reason),Ue.removeEventListener("abort",rt)};Ue.addEventListener("abort",rt)}Yi(_e)})}Fd.renderToReadableStream=Hl,Fd.version=e}()),Fd}var ly;function nO(){if(ly)return Wl;ly=1;var r,e;return process.env.NODE_ENV==="production"?(r=QD(),e=eO()):(r=tO(),e=rO()),Wl.version=r.version,Wl.renderToString=r.renderToString,Wl.renderToStaticMarkup=r.renderToStaticMarkup,Wl.renderToNodeStream=r.renderToNodeStream,Wl.renderToStaticNodeStream=r.renderToStaticNodeStream,Wl.renderToReadableStream=e.renderToReadableStream,Wl}var iO=nO();const Os=il(iO);var up,cy;function oO(){if(cy)return up;cy=1;function r(){this.__data__=[],this.size=0}return up=r,up}var fp,uy;function Jx(){if(uy)return fp;uy=1;function r(e,t){return e===t||e!==e&&t!==t}return fp=r,fp}var dp,fy;function hh(){if(fy)return dp;fy=1;var r=Jx();function e(t,n){for(var i=t.length;i--;)if(r(t[i][0],n))return i;return-1}return dp=e,dp}var hp,dy;function sO(){if(dy)return hp;dy=1;var r=hh(),e=Array.prototype,t=e.splice;function n(i){var l=this.__data__,u=r(l,i);if(u<0)return!1;var h=l.length-1;return u==h?l.pop():t.call(l,u,1),--this.size,!0}return hp=n,hp}var pp,hy;function aO(){if(hy)return pp;hy=1;var r=hh();function e(t){var n=this.__data__,i=r(n,t);return i<0?void 0:n[i][1]}return pp=e,pp}var gp,py;function lO(){if(py)return gp;py=1;var r=hh();function e(t){return r(this.__data__,t)>-1}return gp=e,gp}var mp,gy;function cO(){if(gy)return mp;gy=1;var r=hh();function e(t,n){var i=this.__data__,l=r(i,t);return l<0?(++this.size,i.push([t,n])):i[l][1]=n,this}return mp=e,mp}var vp,my;function ph(){if(my)return vp;my=1;var r=oO(),e=sO(),t=aO(),n=lO(),i=cO();function l(u){var h=-1,g=u==null?0:u.length;for(this.clear();++h<g;){var m=u[h];this.set(m[0],m[1])}}return l.prototype.clear=r,l.prototype.delete=e,l.prototype.get=t,l.prototype.has=n,l.prototype.set=i,vp=l,vp}var yp,vy;function uO(){if(vy)return yp;vy=1;var r=ph();function e(){this.__data__=new r,this.size=0}return yp=e,yp}var bp,yy;function fO(){if(yy)return bp;yy=1;function r(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}return bp=r,bp}var _p,by;function dO(){if(by)return _p;by=1;function r(e){return this.__data__.get(e)}return _p=r,_p}var xp,_y;function hO(){if(_y)return xp;_y=1;function r(e){return this.__data__.has(e)}return xp=r,xp}var Sp,xy;function Qx(){if(xy)return Sp;xy=1;var r=typeof yi=="object"&&yi&&yi.Object===Object&&yi;return Sp=r,Sp}var Cp,Sy;function al(){if(Sy)return Cp;Sy=1;var r=Qx(),e=typeof self=="object"&&self&&self.Object===Object&&self,t=r||e||Function("return this")();return Cp=t,Cp}var wp,Cy;function Nm(){if(Cy)return wp;Cy=1;var r=al(),e=r.Symbol;return wp=e,wp}var Ap,wy;function pO(){if(wy)return Ap;wy=1;var r=Nm(),e=Object.prototype,t=e.hasOwnProperty,n=e.toString,i=r?r.toStringTag:void 0;function l(u){var h=t.call(u,i),g=u[i];try{u[i]=void 0;var m=!0}catch{}var M=n.call(u);return m&&(h?u[i]=g:delete u[i]),M}return Ap=l,Ap}var Tp,Ay;function gO(){if(Ay)return Tp;Ay=1;var r=Object.prototype,e=r.toString;function t(n){return e.call(n)}return Tp=t,Tp}var Ep,Ty;function gh(){if(Ty)return Ep;Ty=1;var r=Nm(),e=pO(),t=gO(),n="[object Null]",i="[object Undefined]",l=r?r.toStringTag:void 0;function u(h){return h==null?h===void 0?i:n:l&&l in Object(h)?e(h):t(h)}return Ep=u,Ep}var kp,Ey;function eS(){if(Ey)return kp;Ey=1;function r(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}return kp=r,kp}var Rp,ky;function tS(){if(ky)return Rp;ky=1;var r=gh(),e=eS(),t="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",l="[object Proxy]";function u(h){if(!e(h))return!1;var g=r(h);return g==n||g==i||g==t||g==l}return Rp=u,Rp}var Ip,Ry;function mO(){if(Ry)return Ip;Ry=1;var r=al(),e=r["__core-js_shared__"];return Ip=e,Ip}var Lp,Iy;function vO(){if(Iy)return Lp;Iy=1;var r=mO(),e=function(){var n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function t(n){return!!e&&e in n}return Lp=t,Lp}var Mp,Ly;function rS(){if(Ly)return Mp;Ly=1;var r=Function.prototype,e=r.toString;function t(n){if(n!=null){try{return e.call(n)}catch{}try{return n+""}catch{}}return""}return Mp=t,Mp}var Dp,My;function yO(){if(My)return Dp;My=1;var r=tS(),e=vO(),t=eS(),n=rS(),i=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,h=Object.prototype,g=u.toString,m=h.hasOwnProperty,M=RegExp("^"+g.call(m).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function T(C){if(!t(C)||e(C))return!1;var _=r(C)?M:l;return _.test(n(C))}return Dp=T,Dp}var Op,Dy;function bO(){if(Dy)return Op;Dy=1;function r(e,t){return e==null?void 0:e[t]}return Op=r,Op}var Pp,Oy;function Ju(){if(Oy)return Pp;Oy=1;var r=yO(),e=bO();function t(n,i){var l=e(n,i);return r(l)?l:void 0}return Pp=t,Pp}var Np,Py;function jm(){if(Py)return Np;Py=1;var r=Ju(),e=al(),t=r(e,"Map");return Np=t,Np}var jp,Ny;function mh(){if(Ny)return jp;Ny=1;var r=Ju(),e=r(Object,"create");return jp=e,jp}var Fp,jy;function _O(){if(jy)return Fp;jy=1;var r=mh();function e(){this.__data__=r?r(null):{},this.size=0}return Fp=e,Fp}var Bp,Fy;function xO(){if(Fy)return Bp;Fy=1;function r(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}return Bp=r,Bp}var qp,By;function SO(){if(By)return qp;By=1;var r=mh(),e="__lodash_hash_undefined__",t=Object.prototype,n=t.hasOwnProperty;function i(l){var u=this.__data__;if(r){var h=u[l];return h===e?void 0:h}return n.call(u,l)?u[l]:void 0}return qp=i,qp}var Hp,qy;function CO(){if(qy)return Hp;qy=1;var r=mh(),e=Object.prototype,t=e.hasOwnProperty;function n(i){var l=this.__data__;return r?l[i]!==void 0:t.call(l,i)}return Hp=n,Hp}var zp,Hy;function wO(){if(Hy)return zp;Hy=1;var r=mh(),e="__lodash_hash_undefined__";function t(n,i){var l=this.__data__;return this.size+=this.has(n)?0:1,l[n]=r&&i===void 0?e:i,this}return zp=t,zp}var $p,zy;function AO(){if(zy)return $p;zy=1;var r=_O(),e=xO(),t=SO(),n=CO(),i=wO();function l(u){var h=-1,g=u==null?0:u.length;for(this.clear();++h<g;){var m=u[h];this.set(m[0],m[1])}}return l.prototype.clear=r,l.prototype.delete=e,l.prototype.get=t,l.prototype.has=n,l.prototype.set=i,$p=l,$p}var Up,$y;function TO(){if($y)return Up;$y=1;var r=AO(),e=ph(),t=jm();function n(){this.size=0,this.__data__={hash:new r,map:new(t||e),string:new r}}return Up=n,Up}var Wp,Uy;function EO(){if(Uy)return Wp;Uy=1;function r(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}return Wp=r,Wp}var Vp,Wy;function vh(){if(Wy)return Vp;Wy=1;var r=EO();function e(t,n){var i=t.__data__;return r(n)?i[typeof n=="string"?"string":"hash"]:i.map}return Vp=e,Vp}var Gp,Vy;function kO(){if(Vy)return Gp;Vy=1;var r=vh();function e(t){var n=r(this,t).delete(t);return this.size-=n?1:0,n}return Gp=e,Gp}var Zp,Gy;function RO(){if(Gy)return Zp;Gy=1;var r=vh();function e(t){return r(this,t).get(t)}return Zp=e,Zp}var Yp,Zy;function IO(){if(Zy)return Yp;Zy=1;var r=vh();function e(t){return r(this,t).has(t)}return Yp=e,Yp}var Kp,Yy;function LO(){if(Yy)return Kp;Yy=1;var r=vh();function e(t,n){var i=r(this,t),l=i.size;return i.set(t,n),this.size+=i.size==l?0:1,this}return Kp=e,Kp}var Xp,Ky;function nS(){if(Ky)return Xp;Ky=1;var r=TO(),e=kO(),t=RO(),n=IO(),i=LO();function l(u){var h=-1,g=u==null?0:u.length;for(this.clear();++h<g;){var m=u[h];this.set(m[0],m[1])}}return l.prototype.clear=r,l.prototype.delete=e,l.prototype.get=t,l.prototype.has=n,l.prototype.set=i,Xp=l,Xp}var Jp,Xy;function MO(){if(Xy)return Jp;Xy=1;var r=ph(),e=jm(),t=nS(),n=200;function i(l,u){var h=this.__data__;if(h instanceof r){var g=h.__data__;if(!e||g.length<n-1)return g.push([l,u]),this.size=++h.size,this;h=this.__data__=new t(g)}return h.set(l,u),this.size=h.size,this}return Jp=i,Jp}var Qp,Jy;function DO(){if(Jy)return Qp;Jy=1;var r=ph(),e=uO(),t=fO(),n=dO(),i=hO(),l=MO();function u(h){var g=this.__data__=new r(h);this.size=g.size}return u.prototype.clear=e,u.prototype.delete=t,u.prototype.get=n,u.prototype.has=i,u.prototype.set=l,Qp=u,Qp}var eg,Qy;function OO(){if(Qy)return eg;Qy=1;var r="__lodash_hash_undefined__";function e(t){return this.__data__.set(t,r),this}return eg=e,eg}var tg,eb;function PO(){if(eb)return tg;eb=1;function r(e){return this.__data__.has(e)}return tg=r,tg}var rg,tb;function NO(){if(tb)return rg;tb=1;var r=nS(),e=OO(),t=PO();function n(i){var l=-1,u=i==null?0:i.length;for(this.__data__=new r;++l<u;)this.add(i[l])}return n.prototype.add=n.prototype.push=e,n.prototype.has=t,rg=n,rg}var ng,rb;function jO(){if(rb)return ng;rb=1;function r(e,t){for(var n=-1,i=e==null?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}return ng=r,ng}var ig,nb;function FO(){if(nb)return ig;nb=1;function r(e,t){return e.has(t)}return ig=r,ig}var og,ib;function iS(){if(ib)return og;ib=1;var r=NO(),e=jO(),t=FO(),n=1,i=2;function l(u,h,g,m,M,T){var C=g&n,_=u.length,S=h.length;if(_!=S&&!(C&&S>_))return!1;var D=T.get(u),A=T.get(h);if(D&&A)return D==h&&A==u;var b=-1,k=!0,O=g&i?new r:void 0;for(T.set(u,h),T.set(h,u);++b<_;){var H=u[b],q=h[b];if(m)var G=C?m(q,H,b,h,u,T):m(H,q,b,u,h,T);if(G!==void 0){if(G)continue;k=!1;break}if(O){if(!e(h,function(Y,ue){if(!t(O,ue)&&(H===Y||M(H,Y,g,m,T)))return O.push(ue)})){k=!1;break}}else if(!(H===q||M(H,q,g,m,T))){k=!1;break}}return T.delete(u),T.delete(h),k}return og=l,og}var sg,ob;function BO(){if(ob)return sg;ob=1;var r=al(),e=r.Uint8Array;return sg=e,sg}var ag,sb;function qO(){if(sb)return ag;sb=1;function r(e){var t=-1,n=Array(e.size);return e.forEach(function(i,l){n[++t]=[l,i]}),n}return ag=r,ag}var lg,ab;function HO(){if(ab)return lg;ab=1;function r(e){var t=-1,n=Array(e.size);return e.forEach(function(i){n[++t]=i}),n}return lg=r,lg}var cg,lb;function zO(){if(lb)return cg;lb=1;var r=Nm(),e=BO(),t=Jx(),n=iS(),i=qO(),l=HO(),u=1,h=2,g="[object Boolean]",m="[object Date]",M="[object Error]",T="[object Map]",C="[object Number]",_="[object RegExp]",S="[object Set]",D="[object String]",A="[object Symbol]",b="[object ArrayBuffer]",k="[object DataView]",O=r?r.prototype:void 0,H=O?O.valueOf:void 0;function q(G,Y,ue,ee,fe,N,re){switch(ue){case k:if(G.byteLength!=Y.byteLength||G.byteOffset!=Y.byteOffset)return!1;G=G.buffer,Y=Y.buffer;case b:return!(G.byteLength!=Y.byteLength||!N(new e(G),new e(Y)));case g:case m:case C:return t(+G,+Y);case M:return G.name==Y.name&&G.message==Y.message;case _:case D:return G==Y+"";case T:var K=i;case S:var ne=ee&u;if(K||(K=l),G.size!=Y.size&&!ne)return!1;var ie=re.get(G);if(ie)return ie==Y;ee|=h,re.set(G,Y);var ce=n(K(G),K(Y),ee,fe,N,re);return re.delete(G),ce;case A:if(H)return H.call(G)==H.call(Y)}return!1}return cg=q,cg}var ug,cb;function $O(){if(cb)return ug;cb=1;function r(e,t){for(var n=-1,i=t.length,l=e.length;++n<i;)e[l+n]=t[n];return e}return ug=r,ug}var fg,ub;function Fm(){if(ub)return fg;ub=1;var r=Array.isArray;return fg=r,fg}var dg,fb;function UO(){if(fb)return dg;fb=1;var r=$O(),e=Fm();function t(n,i,l){var u=i(n);return e(n)?u:r(u,l(n))}return dg=t,dg}var hg,db;function WO(){if(db)return hg;db=1;function r(e,t){for(var n=-1,i=e==null?0:e.length,l=0,u=[];++n<i;){var h=e[n];t(h,n,e)&&(u[l++]=h)}return u}return hg=r,hg}var pg,hb;function VO(){if(hb)return pg;hb=1;function r(){return[]}return pg=r,pg}var gg,pb;function GO(){if(pb)return gg;pb=1;var r=WO(),e=VO(),t=Object.prototype,n=t.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(u){return u==null?[]:(u=Object(u),r(i(u),function(h){return n.call(u,h)}))}:e;return gg=l,gg}var mg,gb;function ZO(){if(gb)return mg;gb=1;function r(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}return mg=r,mg}var vg,mb;function yh(){if(mb)return vg;mb=1;function r(e){return e!=null&&typeof e=="object"}return vg=r,vg}var yg,vb;function YO(){if(vb)return yg;vb=1;var r=gh(),e=yh(),t="[object Arguments]";function n(i){return e(i)&&r(i)==t}return yg=n,yg}var bg,yb;function KO(){if(yb)return bg;yb=1;var r=YO(),e=yh(),t=Object.prototype,n=t.hasOwnProperty,i=t.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(u){return e(u)&&n.call(u,"callee")&&!i.call(u,"callee")};return bg=l,bg}var jf={exports:{}},_g,bb;function XO(){if(bb)return _g;bb=1;function r(){return!1}return _g=r,_g}jf.exports;var _b;function oS(){return _b||(_b=1,function(r,e){var t=al(),n=XO(),i=e&&!e.nodeType&&e,l=i&&!0&&r&&!r.nodeType&&r,u=l&&l.exports===i,h=u?t.Buffer:void 0,g=h?h.isBuffer:void 0,m=g||n;r.exports=m}(jf,jf.exports)),jf.exports}var xg,xb;function JO(){if(xb)return xg;xb=1;var r=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function t(n,i){var l=typeof n;return i=i??r,!!i&&(l=="number"||l!="symbol"&&e.test(n))&&n>-1&&n%1==0&&n<i}return xg=t,xg}var Sg,Sb;function sS(){if(Sb)return Sg;Sb=1;var r=9007199254740991;function e(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=r}return Sg=e,Sg}var Cg,Cb;function QO(){if(Cb)return Cg;Cb=1;var r=gh(),e=sS(),t=yh(),n="[object Arguments]",i="[object Array]",l="[object Boolean]",u="[object Date]",h="[object Error]",g="[object Function]",m="[object Map]",M="[object Number]",T="[object Object]",C="[object RegExp]",_="[object Set]",S="[object String]",D="[object WeakMap]",A="[object ArrayBuffer]",b="[object DataView]",k="[object Float32Array]",O="[object Float64Array]",H="[object Int8Array]",q="[object Int16Array]",G="[object Int32Array]",Y="[object Uint8Array]",ue="[object Uint8ClampedArray]",ee="[object Uint16Array]",fe="[object Uint32Array]",N={};N[k]=N[O]=N[H]=N[q]=N[G]=N[Y]=N[ue]=N[ee]=N[fe]=!0,N[n]=N[i]=N[A]=N[l]=N[b]=N[u]=N[h]=N[g]=N[m]=N[M]=N[T]=N[C]=N[_]=N[S]=N[D]=!1;function re(K){return t(K)&&e(K.length)&&!!N[r(K)]}return Cg=re,Cg}var wg,wb;function eP(){if(wb)return wg;wb=1;function r(e){return function(t){return e(t)}}return wg=r,wg}var Ff={exports:{}};Ff.exports;var Ab;function tP(){return Ab||(Ab=1,function(r,e){var t=Qx(),n=e&&!e.nodeType&&e,i=n&&!0&&r&&!r.nodeType&&r,l=i&&i.exports===n,u=l&&t.process,h=function(){try{var g=i&&i.require&&i.require("util").types;return g||u&&u.binding&&u.binding("util")}catch{}}();r.exports=h}(Ff,Ff.exports)),Ff.exports}var Ag,Tb;function aS(){if(Tb)return Ag;Tb=1;var r=QO(),e=eP(),t=tP(),n=t&&t.isTypedArray,i=n?e(n):r;return Ag=i,Ag}var Tg,Eb;function rP(){if(Eb)return Tg;Eb=1;var r=ZO(),e=KO(),t=Fm(),n=oS(),i=JO(),l=aS(),u=Object.prototype,h=u.hasOwnProperty;function g(m,M){var T=t(m),C=!T&&e(m),_=!T&&!C&&n(m),S=!T&&!C&&!_&&l(m),D=T||C||_||S,A=D?r(m.length,String):[],b=A.length;for(var k in m)(M||h.call(m,k))&&!(D&&(k=="length"||_&&(k=="offset"||k=="parent")||S&&(k=="buffer"||k=="byteLength"||k=="byteOffset")||i(k,b)))&&A.push(k);return A}return Tg=g,Tg}var Eg,kb;function nP(){if(kb)return Eg;kb=1;var r=Object.prototype;function e(t){var n=t&&t.constructor,i=typeof n=="function"&&n.prototype||r;return t===i}return Eg=e,Eg}var kg,Rb;function iP(){if(Rb)return kg;Rb=1;function r(e,t){return function(n){return e(t(n))}}return kg=r,kg}var Rg,Ib;function oP(){if(Ib)return Rg;Ib=1;var r=iP(),e=r(Object.keys,Object);return Rg=e,Rg}var Ig,Lb;function sP(){if(Lb)return Ig;Lb=1;var r=nP(),e=oP(),t=Object.prototype,n=t.hasOwnProperty;function i(l){if(!r(l))return e(l);var u=[];for(var h in Object(l))n.call(l,h)&&h!="constructor"&&u.push(h);return u}return Ig=i,Ig}var Lg,Mb;function aP(){if(Mb)return Lg;Mb=1;var r=tS(),e=sS();function t(n){return n!=null&&e(n.length)&&!r(n)}return Lg=t,Lg}var Mg,Db;function lP(){if(Db)return Mg;Db=1;var r=rP(),e=sP(),t=aP();function n(i){return t(i)?r(i):e(i)}return Mg=n,Mg}var Dg,Ob;function cP(){if(Ob)return Dg;Ob=1;var r=UO(),e=GO(),t=lP();function n(i){return r(i,t,e)}return Dg=n,Dg}var Og,Pb;function uP(){if(Pb)return Og;Pb=1;var r=cP(),e=1,t=Object.prototype,n=t.hasOwnProperty;function i(l,u,h,g,m,M){var T=h&e,C=r(l),_=C.length,S=r(u),D=S.length;if(_!=D&&!T)return!1;for(var A=_;A--;){var b=C[A];if(!(T?b in u:n.call(u,b)))return!1}var k=M.get(l),O=M.get(u);if(k&&O)return k==u&&O==l;var H=!0;M.set(l,u),M.set(u,l);for(var q=T;++A<_;){b=C[A];var G=l[b],Y=u[b];if(g)var ue=T?g(Y,G,b,u,l,M):g(G,Y,b,l,u,M);if(!(ue===void 0?G===Y||m(G,Y,h,g,M):ue)){H=!1;break}q||(q=b=="constructor")}if(H&&!q){var ee=l.constructor,fe=u.constructor;ee!=fe&&"constructor"in l&&"constructor"in u&&!(typeof ee=="function"&&ee instanceof ee&&typeof fe=="function"&&fe instanceof fe)&&(H=!1)}return M.delete(l),M.delete(u),H}return Og=i,Og}var Pg,Nb;function fP(){if(Nb)return Pg;Nb=1;var r=Ju(),e=al(),t=r(e,"DataView");return Pg=t,Pg}var Ng,jb;function dP(){if(jb)return Ng;jb=1;var r=Ju(),e=al(),t=r(e,"Promise");return Ng=t,Ng}var jg,Fb;function hP(){if(Fb)return jg;Fb=1;var r=Ju(),e=al(),t=r(e,"Set");return jg=t,jg}var Fg,Bb;function pP(){if(Bb)return Fg;Bb=1;var r=Ju(),e=al(),t=r(e,"WeakMap");return Fg=t,Fg}var Bg,qb;function gP(){if(qb)return Bg;qb=1;var r=fP(),e=jm(),t=dP(),n=hP(),i=pP(),l=gh(),u=rS(),h="[object Map]",g="[object Object]",m="[object Promise]",M="[object Set]",T="[object WeakMap]",C="[object DataView]",_=u(r),S=u(e),D=u(t),A=u(n),b=u(i),k=l;return(r&&k(new r(new ArrayBuffer(1)))!=C||e&&k(new e)!=h||t&&k(t.resolve())!=m||n&&k(new n)!=M||i&&k(new i)!=T)&&(k=function(O){var H=l(O),q=H==g?O.constructor:void 0,G=q?u(q):"";if(G)switch(G){case _:return C;case S:return h;case D:return m;case A:return M;case b:return T}return H}),Bg=k,Bg}var qg,Hb;function mP(){if(Hb)return qg;Hb=1;var r=DO(),e=iS(),t=zO(),n=uP(),i=gP(),l=Fm(),u=oS(),h=aS(),g=1,m="[object Arguments]",M="[object Array]",T="[object Object]",C=Object.prototype,_=C.hasOwnProperty;function S(D,A,b,k,O,H){var q=l(D),G=l(A),Y=q?M:i(D),ue=G?M:i(A);Y=Y==m?T:Y,ue=ue==m?T:ue;var ee=Y==T,fe=ue==T,N=Y==ue;if(N&&u(D)){if(!u(A))return!1;q=!0,ee=!1}if(N&&!ee)return H||(H=new r),q||h(D)?e(D,A,b,k,O,H):t(D,A,Y,b,k,O,H);if(!(b&g)){var re=ee&&_.call(D,"__wrapped__"),K=fe&&_.call(A,"__wrapped__");if(re||K){var ne=re?D.value():D,ie=K?A.value():A;return H||(H=new r),O(ne,ie,b,k,H)}}return N?(H||(H=new r),n(D,A,b,k,O,H)):!1}return qg=S,qg}var Hg,zb;function vP(){if(zb)return Hg;zb=1;var r=mP(),e=yh();function t(n,i,l,u,h){return n===i?!0:n==null||i==null||!e(n)&&!e(i)?n!==n&&i!==i:r(n,i,l,u,t,h)}return Hg=t,Hg}var zg,$b;function yP(){if($b)return zg;$b=1;var r=vP();function e(t,n){return r(t,n)}return zg=e,zg}var bP=yP();const If=il(bP);class bh extends I.Component{constructor(e){super(e),this.editingAreaRef=I.createRef(),this.dirtyProps=["modules","formats","bounds","theme","children"],this.cleanProps=["id","className","style","placeholder","tabIndex","onChange","onChangeSelection","onFocus","onBlur","onKeyPress","onKeyDown","onKeyUp"],this.state={generation:0},this.selection=null,this.onEditorChange=(n,i,l,u)=>{var h,g;n==="text-change"?(h=this.onEditorChangeText)==null||h.call(this,this.editor.root.innerHTML,i,u,this.unprivilegedEditor):n==="selection-change"&&((g=this.onEditorChangeSelection)==null||g.call(this,i,u,this.unprivilegedEditor))};const t=this.isControlled()?e.value:e.defaultValue;this.value=t??""}validateProps(e){if(I.Children.count(e.children)>1)throw new Error("The Quill editing area can only be composed of a single React element.");if(I.Children.count(e.children)){const t=I.Children.only(e.children);if((t==null?void 0:t.type)==="textarea")throw new Error("Quill does not support editing on a <textarea>. Use a <div> instead.")}if(this.lastDeltaChangeSet&&e.value===this.lastDeltaChangeSet)throw new Error("You are passing the `delta` object from the `onChange` event back as `value`. You most probably want `editor.getContents()` instead. See: https://github.com/zenoamaro/react-quill#using-deltas")}shouldComponentUpdate(e,t){if(this.validateProps(e),!this.editor||this.state.generation!==t.generation)return!0;if("value"in e){const n=this.getEditorContents(),i=e.value??"";this.isEqualValue(i,n)||this.setEditorContents(this.editor,i)}return e.readOnly!==this.props.readOnly&&this.setEditorReadOnly(this.editor,e.readOnly),[...this.cleanProps,...this.dirtyProps].some(n=>!If(e[n],this.props[n]))}shouldComponentRegenerate(e){return this.dirtyProps.some(t=>!If(e[t],this.props[t]))}componentDidMount(){this.instantiateEditor(),this.setEditorContents(this.editor,this.getEditorContents())}componentWillUnmount(){this.destroyEditor()}componentDidUpdate(e,t){if(this.editor&&this.shouldComponentRegenerate(e)){const n=this.editor.getContents(),i=this.editor.getSelection();this.regenerationSnapshot={delta:n,selection:i},this.setState({generation:this.state.generation+1}),this.destroyEditor()}if(this.state.generation!==t.generation){const{delta:n,selection:i}=this.regenerationSnapshot;delete this.regenerationSnapshot,this.instantiateEditor();const l=this.editor;l.setContents(n),Ub(()=>this.setEditorSelection(l,i))}}instantiateEditor(){this.editor?this.hookEditor(this.editor):this.editor=this.createEditor(this.getEditingArea(),this.getEditorConfig())}destroyEditor(){this.editor&&this.unhookEditor(this.editor)}isControlled(){return"value"in this.props}getEditorConfig(){return{bounds:this.props.bounds,formats:this.props.formats,modules:this.props.modules,placeholder:this.props.placeholder,readOnly:this.props.readOnly,tabIndex:this.props.tabIndex,theme:this.props.theme}}getEditor(){if(!this.editor)throw new Error("Accessing non-instantiated editor");return this.editor}createEditor(e,t){const n=new $e(e,t);return t.tabIndex!=null&&this.setEditorTabIndex(n,t.tabIndex),this.hookEditor(n),n}hookEditor(e){this.unprivilegedEditor=this.makeUnprivilegedEditor(e),e.on("editor-change",this.onEditorChange)}unhookEditor(e){e.off("editor-change",this.onEditorChange)}getEditorContents(){return this.value}getEditorSelection(){return this.selection}isDelta(e){return e&&e.ops}isEqualValue(e,t){return this.isDelta(e)&&this.isDelta(t)?If(e.ops,t.ops):If(e,t)}setEditorContents(e,t){this.value=t;const n=this.getEditorSelection();typeof t=="string"?e.setContents(e.clipboard.convert({html:t})):e.setContents(t),Ub(()=>this.setEditorSelection(e,n))}setEditorSelection(e,t){if(this.selection=t,t){const n=e.getLength();t.index=Math.max(0,Math.min(t.index,n-1)),t.length=Math.max(0,Math.min(t.length,n-1-t.index)),e.setSelection(t)}}setEditorTabIndex(e,t){var n;(n=e==null?void 0:e.scroll)!=null&&n.domNode&&(e.scroll.domNode.tabIndex=t)}setEditorReadOnly(e,t){t?e.disable():e.enable()}makeUnprivilegedEditor(e){const t=e;return{getHTML:()=>t.root.innerHTML,getSemanticHTML:t.getSemanticHTML.bind(t),getLength:t.getLength.bind(t),getText:t.getText.bind(t),getContents:t.getContents.bind(t),getSelection:t.getSelection.bind(t),getBounds:t.getBounds.bind(t)}}getEditingArea(){const e=this.editingAreaRef.current;if(!e)throw new Error("Cannot find element for editing area");if(e.nodeType===3)throw new Error("Editing area cannot be a text node");return e}renderEditingArea(){const{children:e,preserveWhitespace:t}=this.props,{generation:n}=this.state,i={key:n,ref:this.editingAreaRef};return I.Children.count(e)?I.cloneElement(I.Children.only(e),i):t?I.createElement("pre",{...i}):I.createElement("div",{...i})}render(){return I.createElement("div",{id:this.props.id,style:this.props.style,key:this.state.generation,className:`quill ${this.props.className??""}`,onKeyPress:this.props.onKeyPress,onKeyDown:this.props.onKeyDown,onKeyUp:this.props.onKeyUp},this.renderEditingArea())}onEditorChangeText(e,t,n,i){var u,h;if(!this.editor)return;const l=this.isDelta(this.value)?i.getContents():i.getHTML();l!==this.getEditorContents()&&(this.lastDeltaChangeSet=t,this.value=l,(h=(u=this.props).onChange)==null||h.call(u,e,t,n,i))}onEditorChangeSelection(e,t,n){var h,g,m,M,T,C;if(!this.editor)return;const i=this.getEditorSelection(),l=!i&&e,u=i&&!e;If(e,i)||(this.selection=e,(g=(h=this.props).onChangeSelection)==null||g.call(h,e,t,n),l?(M=(m=this.props).onFocus)==null||M.call(m,e,t,n):u&&((C=(T=this.props).onBlur)==null||C.call(T,i,t,n)))}focus(){this.editor&&this.editor.focus()}blur(){this.editor&&(this.selection=null,this.editor.blur())}}bh.displayName="React Quill";bh.Quill=$e;bh.defaultProps={theme:"snow",modules:{},readOnly:!1};function Ub(r){Promise.resolve().then(r)}const _P="_AEditorContainer_85yg7_1",xP="_AEditor_85yg7_1",SP="_Primary_85yg7_402",CP="_ReadOnly_85yg7_472",wP="_Raw_85yg7_619",AP="_LimitContainer_85yg7_633",TP="_Limit_85yg7_633",EP="_Indicator_85yg7_650",kP="_Resizer_85yg7_656",Wn={AEditorContainer:_P,AEditor:xP,Primary:SP,ReadOnly:CP,Error:"_Error_85yg7_549",Raw:wP,LimitContainer:AP,Limit:TP,Indicator:EP,Resizer:kP,"ql-tablepicker-row":"_ql-tablepicker-row_85yg7_691","ql-tablepicker-cell":"_ql-tablepicker-cell_85yg7_694","ql-tablepicker-grid":"_ql-tablepicker-grid_85yg7_702","ql-tablepicker-inner-cell":"_ql-tablepicker-inner-cell_85yg7_706","ql-tablepicker-options":"_ql-tablepicker-options_85yg7_715","ql-tablepicker-tooltip":"_ql-tablepicker-tooltip_85yg7_726","ql-tableui-options":"_ql-tableui-options_85yg7_745","ql-tableui-options__item":"_ql-tableui-options__item_85yg7_757","ql-tableui-options__item-icon":"_ql-tableui-options__item-icon_85yg7_776","ql-tableui-options__item-text":"_ql-tableui-options__item-text_85yg7_781","ql-tableui-helper":"_ql-tableui-helper_85yg7_787","ql-tableui-helper__icon":"_ql-tableui-helper__icon_85yg7_799","ql-tableui-helper__text":"_ql-tableui-helper__text_85yg7_809"};class RP{constructor(e){it(this,"quill");it(this,"picker",null);it(this,"tooltip",null);it(this,"toolbar",null);it(this,"tableButton",null);it(this,"CONSTANTS",{MAX_ROWS:10,MAX_COLS:10,CELL_SIZE:18,SPACING:5,PICKER_PADDING:20});it(this,"CLASSNAMES",{tooltip:Wn["ql-tablepicker-tooltip"],grid:Wn["ql-tablepicker-grid"],row:Wn["ql-tablepicker-row"],cell:Wn["ql-tablepicker-cell"],innerCell:Wn["ql-tablepicker-inner-cell"],options:Wn["ql-tablepicker-options"]});it(this,"COLORS",{highlight:"var(--AEditor_Addon_hover_color)",normal:"var(--AEditor_Addon_Primary_background-color)",border:"1px solid var(--AEditor_Addon_Primary_color)"});it(this,"boundHandlers",{globalClick:this.handleGlobalClick.bind(this),tableButtonClick:this.handleTableButtonClick.bind(this),gridMouseOver:this.handleGridMouseOver.bind(this),gridMouseOut:this.handleGridMouseOut.bind(this),gridClick:this.handleGridClick.bind(this),highlightReset:()=>this.highlightCells(0,0)});this.quill=e,this.initializeTablePicker(),document.addEventListener("click",this.boundHandlers.globalClick)}destroy(){document.removeEventListener("click",this.boundHandlers.globalClick),this.tableButton&&this.tableButton.removeEventListener("click",this.boundHandlers.tableButtonClick),this.hidePicker()}handleGlobalClick(e){if(!this.picker)return;const t=e.target;this.isTableButtonOrPicker(t)||this.hidePicker()}isTableButtonOrPicker(e){return!!e.closest("button.ql-table")||!!e.closest(`.${this.CLASSNAMES.options}`)}initializeTablePicker(){if(this.toolbar=this.quill.getModule("toolbar"),this.tableButton=this.toolbar.container.querySelector("button.ql-table"),!this.tableButton){console.warn("Table button not found");return}this.toolbar.handlers.table=()=>{},this.tableButton.addEventListener("click",this.boundHandlers.tableButtonClick)}handleTableButtonClick(e){if(e.preventDefault(),e.stopPropagation(),this.picker&&document.body.contains(this.picker)){this.hidePicker();return}this.showTablePicker(e.target)}createElement(e,t){const n=document.createElement("div");return n.className=e,t&&(n.textContent=t),n}showTablePicker(e){this.hidePicker(),this.closeOtherOptions();const t=e.closest("button.ql-table");t&&t.classList.add("ql-expanded"),this.createPicker(e)}closeOtherOptions(){document.querySelectorAll(".ql-picker.ql-expanded").forEach(e=>{e.classList.remove("ql-expanded")})}createPicker(e){const t=document.createDocumentFragment();this.picker=this.createElement(this.CLASSNAMES.options);const n=this.createGrid();t.appendChild(n),this.picker.appendChild(t),this.positionPicker(e),document.body.appendChild(this.picker),this.picker.addEventListener("mouseover",this.boundHandlers.gridMouseOver),this.picker.addEventListener("mouseout",this.boundHandlers.gridMouseOut),this.picker.addEventListener("click",this.boundHandlers.gridClick),this.picker.addEventListener("mouseleave",this.boundHandlers.highlightReset)}handleGridMouseOver(e){const t=this.findTargetCell(e);if(!t)return;const[n,i]=this.getCellCoordinates(t);this.highlightCells(n+1,i+1),this.showTooltip(t,n+1,i+1)}handleGridMouseOut(e){var t;(t=this.picker)!=null&&t.contains(e.relatedTarget)||this.removeTooltip()}handleGridClick(e){const t=this.findTargetCell(e);if(!t)return;const[n,i]=this.getCellCoordinates(t);this.insertTable(n+1,i+1),this.removeTooltip(),this.hidePicker()}findTargetCell(e){return e.target.closest(`.${this.CLASSNAMES.cell}`)}getCellCoordinates(e){const t=parseInt(e.getAttribute("data-row")||"0",10),n=parseInt(e.getAttribute("data-col")||"0",10);return[t,n]}createGrid(){const e=this.createElement(this.CLASSNAMES.grid),t=document.createDocumentFragment(),{MAX_ROWS:n,MAX_COLS:i}=this.CONSTANTS;for(let l=0;l<n;l++){const u=this.createElement(this.CLASSNAMES.row);for(let h=0;h<i;h++){const g=this.createElement(this.CLASSNAMES.cell),m=this.createElement(this.CLASSNAMES.innerCell);g.setAttribute("data-row",l.toString()),g.setAttribute("data-col",h.toString()),g.appendChild(m),u.appendChild(g)}t.appendChild(u)}return e.appendChild(t),e}showTooltip(e,t,n){this.removeTooltip(),this.tooltip=this.createElement(this.CLASSNAMES.tooltip,`${t}×${n}`),document.body.appendChild(this.tooltip);const{top:i,left:l}=this.calculateTooltipPosition(e,this.tooltip);this.tooltip.style.top=`${i}px`,this.tooltip.style.left=`${l}px`}calculateTooltipPosition(e,t){const{SPACING:n}=this.CONSTANTS,i=e.getBoundingClientRect(),l=t.getBoundingClientRect(),u=this.getViewportMetrics();let h=i.top-l.height-n,g=i.left;return h<0&&(h=i.bottom+n),g+l.width>u.width&&(g=u.width-l.width-n),{top:h,left:g}}getViewportMetrics(){return{width:window.innerWidth,height:window.innerHeight,scrollTop:window.scrollY||document.documentElement.scrollTop,scrollLeft:window.scrollX||document.documentElement.scrollLeft}}removeTooltip(){this.tooltip&&(this.tooltip.remove(),this.tooltip=null)}positionPicker(e){if(!this.picker)return;const{CELL_SIZE:t,MAX_ROWS:n,MAX_COLS:i,PICKER_PADDING:l}=this.CONSTANTS,u=e.getBoundingClientRect(),h=this.getViewportMetrics(),g=t*n+l,m=t*i+l,M=this.isElementInViewport(u),{top:T,left:C}=this.calculatePickerPosition(u,M,{pickerWidth:m,pickerHeight:g,viewport:h});this.picker.style.top=`${T}px`,this.picker.style.left=`${C}px`}isElementInViewport(e){const t=this.getViewportMetrics();return e.top>=0&&e.left>=0&&e.bottom<=t.height&&e.right<=t.width}calculatePickerPosition(e,t,n){const{pickerWidth:i,pickerHeight:l,viewport:u}=n,{width:h,height:g,scrollTop:m,scrollLeft:M}=u;let T,C;if(t)T=e.bottom+m,C=e.left+M;else{const _=this.quill.getSelection();if(_){const S=this.quill.getBounds(_.index),D=this.quill.container.getBoundingClientRect();T=D.top+S.bottom+m,C=D.left+S.left+M}else T=(g-l)/2+m,C=(h-i)/2+M}return T+l>g+m&&(T=Math.max(m,T-l-(t?e.height:0))),C+i>h+M&&(C=Math.max(M,h+M-i)),{top:T,left:C}}highlightCells(e,t){if(!this.picker)return;const n=this.picker.querySelectorAll(`.${this.CLASSNAMES.innerCell}`),{NORMAL:i,HIGHLIGHT:l}={NORMAL:this.COLORS.normal,HIGHLIGHT:this.COLORS.highlight};for(let u=0;u<n.length;u++){const h=n[u],g=h.parentElement;if(!g)continue;const[m,M]=this.getCellCoordinates(g);h.style.backgroundColor=m<e&&M<t?l:i}}insertTable(e,t){const n=this.quill.getSelection(!0);if(!n)return;const[i]=this.quill.getLeaf(n.index);if(!i)return;this.prepareInsertionPoint(i,n);const l=this.quill.getModule("table");this.quill.setSelection(n.index,0),l.insertTable(e,t);const u=this.quill.root.querySelector("table:last-of-type");if(u){const h=u.querySelectorAll("td, th");for(let m=0;m<h.length;m++)h[m].style.border=this.COLORS.border;const g=this.quill.getSelection();g&&this.quill.setSelection(g.index,0)}}prepareInsertionPoint(e,t){const n=this.findTableParent(e.parent);if(n){const i=this.quill.getIndex(n)+n.length();this.quill.insertText(i,`
|
344
344
|
`,"user"),this.quill.setSelection(i+1,0),t.index=i+1}else{const l=this.quill.getLine(t.index)[0];l&&l.length()>1?(this.quill.insertText(t.index,`
|
345
345
|
|
346
346
|
`,"user"),t.index+=2):(this.quill.insertText(t.index,`
|
347
|
-
`,"user"),t.index+=1)}}findTableParent(e){let t=e;for(;t;){if(t.domNode&&t.domNode.tagName==="TABLE")return t;t=t.parent}return null}hidePicker(){this.removeTooltip(),this.picker&&(this.picker.remove(),this.picker=null),this.tableButton&&this.tableButton.classList.remove("ql-expanded")}}var Iu={},Wb;function IP(){if(Wb)return Iu;Wb=1;var r=Fs;if(process.env.NODE_ENV==="production")Iu.createRoot=r.createRoot,Iu.hydrateRoot=r.hydrateRoot;else{var e=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Iu.createRoot=function(t,n){e.usingClientEntryPoint=!0;try{return r.createRoot(t,n)}finally{e.usingClientEntryPoint=!1}},Iu.hydrateRoot=function(t,n,i){e.usingClientEntryPoint=!0;try{return r.hydrateRoot(t,n,i)}finally{e.usingClientEntryPoint=!1}}}return Iu}var LP=IP();const Vb=il(LP);class MP{constructor(e,t){it(this,"DEFAULTS",{maxRowCount:-1});it(this,"quill");it(this,"options");it(this,"position",null);it(this,"table");it(this,"selectedCell",null);it(this,"menuRoot",null);it(this,"helperTextElement",null);it(this,"scrollTimeout",null);it(this,"SCROLL_DEBOUNCE_TIME",80);it(this,"lastSelectedCellRef",null);it(this,"boundDocClickHandler",this.hideMenu.bind(this));it(this,"boundEditorChangeHandler",this.editorChangeHandler.bind(this));it(this,"boundContextMenuHandler",this.contextMenuHandler.bind(this));it(this,"boundCopyHandler",this.copyHandler.bind(this));it(this,"boundScrollHandler",this.handleScroll.bind(this));it(this,"boundPasteHandler",this.pasteHandler.bind(this));it(this,"menuItems",[]);it(this,"positionCache",new Map);it(this,"POSITION_CACHE_LIFETIME",1e3);it(this,"reactRoot",null);if(this.quill=e,this.options={...this.DEFAULTS,...t},this.table=e.getModule("table"),!this.table){console.error('"table" module not found');return}this.initializeMenuItems(),this.overrideTableMethods(),this.initializeHelperText(),this.attachEventListeners()}initializeMenuItems(){this.menuItems=[{handler:()=>{(!(this.options.maxRowCount!==void 0&&this.options.maxRowCount>0)||this.getColCount()<(this.options.maxRowCount||0))&&this.table.insertColumnRight()},icon:Os.renderToString(v.jsx(Br,{icon:"AddColRight"})),title:hn.AEditor["Insert Column Right"]},{handler:()=>{(!(this.options.maxRowCount!==void 0&&this.options.maxRowCount>0)||this.getColCount()<(this.options.maxRowCount||0))&&this.table.insertColumnLeft()},icon:Os.renderToString(v.jsx(Br,{icon:"AddColLeft"})),title:hn.AEditor["Insert Column Left"]},{handler:()=>{this.table.insertRowAbove()},icon:Os.renderToString(v.jsx(Br,{icon:"AddRowAbove"})),title:hn.AEditor["Insert Row Top"]},{handler:()=>{this.table.insertRowBelow()},icon:Os.renderToString(v.jsx(Br,{icon:"AddRowBelow"})),title:hn.AEditor["Insert Row Bottom"]},{handler:()=>{this.table.deleteColumn()},icon:Os.renderToString(v.jsx(Br,{icon:"RemoveCol"})),title:hn.AEditor["Delete Column"]},{handler:()=>{this.table.deleteRow()},icon:Os.renderToString(v.jsx(Br,{icon:"RemoveRow"})),title:hn.AEditor["Delete Row"]},{handler:()=>{this.table.deleteTable()},icon:Os.renderToString(v.jsx(Br,{icon:"Trash"})),title:hn.AEditor["Delete Table"]}]}overrideTableMethods(){const e=this.table.insertTable;this.table.insertTable=(...n)=>{const i=e.apply(this.table,n),l=this.quill.getSelection();return l&&(this.quill.focus(),setTimeout(()=>this.detectButton(l),0)),i};const t=this.table.deleteTable;this.table.deleteTable=(...n)=>{const i=t.apply(this.table,n);return this.cleanupTableUI(),i}}initializeHelperText(){this.helperTextElement=document.createElement("div"),this.helperTextElement.className=Wn["ql-tableui-helper"];const e=document.createElement("span");e.className=qe.clsx("Caption1",Wn["ql-tableui-helper__text"],"NoSelect"),e.textContent=hn.AEditor["Right click to open properties"];const t=document.createElement("span");t.className=Wn["ql-tableui-helper__icon"],t.innerHTML=Os.renderToString(v.jsx(Br,{icon:"MoreHorizontal",size:"xs"})),t.addEventListener("click",n=>{n.preventDefault(),n.stopPropagation(),this.menuRoot?this.hideMenu():this.showMenu()}),this.helperTextElement.appendChild(e),this.helperTextElement.appendChild(t),this.helperTextElement.style.display="none",this.quill.container.appendChild(this.helperTextElement)}attachEventListeners(){this.quill.on("editor-change",this.boundEditorChangeHandler),this.quill.root.addEventListener("contextmenu",this.boundContextMenuHandler),this.quill.root.addEventListener("copy",this.boundCopyHandler),this.quill.root.addEventListener("paste",this.boundPasteHandler),window.addEventListener("scroll",this.boundScrollHandler,!0)}removeEventListeners(){this.quill.off("editor-change",this.boundEditorChangeHandler),this.quill.root.removeEventListener("contextmenu",this.boundContextMenuHandler),this.quill.root.removeEventListener("copy",this.boundCopyHandler),this.quill.root.removeEventListener("paste",this.boundPasteHandler),document.removeEventListener("click",this.boundDocClickHandler),window.removeEventListener("scroll",this.boundScrollHandler,!0)}editorChangeHandler(e,t,n,i){e==="selection-change"&&this.detectButton(t)}contextMenuHandler(e){return this.isTable()?(e.preventDefault(),this.showMenu(),!1):!0}copyHandler(e){if(!this.selectedCell||!e.clipboardData)return;e.preventDefault();const t=this.selectedCell.textContent||"";e.clipboardData.setData("text/plain",t)}isTable(e){return e=e||this.quill.getSelection(),e?!!(this.quill.getFormat(e.index).table&&!e.length):!1}getColCount(e){if(e=e||this.quill.getSelection(),!e)return 0;const[t]=this.table.getTable(e);return t?t.rows().reduce((n,i)=>Math.max(i.children.length,n),0):0}showMenu(){if(this.menuRoot){this.hideMenu();return}if(!this.selectedCell)return;this.menuRoot||(this.menuRoot=document.createElement("div"),document.body.appendChild(this.menuRoot));const e=this.getBoundingRectWithCache(this.selectedCell),t=window.innerWidth,n=window.innerHeight,i=I.memo(({item:u,index:h})=>v.jsxs("div",{className:Wn["ql-tableui-options__item"],onClick:this.createItemClickHandler(u),children:[v.jsx("span",{className:Wn["ql-tableui-options__item-icon"],dangerouslySetInnerHTML:{__html:u.icon}}),v.jsx("span",{className:Wn["ql-tableui-options__item-text"],children:u.title})]},h)),l=()=>v.jsx("div",{className:Wn["ql-tableui-options"],style:{position:"fixed",visibility:"hidden",zIndex:1e4},children:this.menuItems.map((u,h)=>v.jsx(i,{item:u,index:h},h))});try{Vb.createRoot?(this.reactRoot=Vb.createRoot(this.menuRoot),this.reactRoot.render(v.jsx(l,{}))):Fs.render(v.jsx(l,{}),this.menuRoot)}catch{Fs.render(v.jsx(l,{}),this.menuRoot)}document.addEventListener("click",this.boundDocClickHandler),requestAnimationFrame(()=>{if(!this.menuRoot)return;const u=this.menuRoot.firstElementChild;if(u){const h=u.getBoundingClientRect();let g=e.bottom+window.scrollY,m=e.left+window.scrollX;m+h.width>t&&(m=e.right-h.width+window.scrollX),g+h.height>n+window.scrollY&&(g=e.top-h.height+window.scrollY),u.style.top=`${g}px`,u.style.left=`${m}px`,u.style.visibility="visible"}})}hideMenu(){this.menuRoot&&(document.removeEventListener("click",this.boundDocClickHandler),this.reactRoot?(this.reactRoot.unmount(),this.reactRoot=null):Fs.unmountComponentAtNode(this.menuRoot),this.menuRoot.remove(),this.menuRoot=null)}detectButton(e){if(e)if(this.isTable(e)){const[t,n]=this.quill.getLine(e.index);if(!t||!t.domNode)return;const i=t.domNode,l=`${i.tagName}-${i.offsetLeft}-${i.offsetTop}`;this.selectedCell===i||this.lastSelectedCellRef===l||(this.clearAllTableCellOutlines(),i.style.outline="2px solid var(--acent-brand)",i.style.outlineOffset="-1px",this.selectedCell=i,this.lastSelectedCellRef=l),this.showHelperText();const h=this.quill.container.getBoundingClientRect(),g=i.getBoundingClientRect(),m={bottom:g.bottom-h.top,height:g.height,left:g.left-h.left,right:g.right-h.left,top:g.top-h.top,width:g.width,x:g.x,y:g.y,toJSON:()=>JSON.stringify(m)};this.position&&(this.position.top!==m.top||this.position.left!==m.left)&&this.hideMenu(),this.position=m}else this.cleanupTableUI()}clearAllTableCellOutlines(){this.selectedCell&&(this.selectedCell.style.removeProperty("outline"),this.selectedCell.style.removeProperty("outline-offset"),this.selectedCell=null),this.quill.root.querySelectorAll("td, th").forEach(t=>{t instanceof HTMLElement&&(t.style.removeProperty("outline"),t.style.removeProperty("outline-offset"))}),this.lastSelectedCellRef=null}showHelperText(){if(!this.selectedCell||!this.helperTextElement)return;const e=this.quill.getSelection();if(!e)return;const[t]=this.table.getTable(e);if(!t||!t.domNode)return;const i=t.domNode.getBoundingClientRect(),l=this.quill.container.getBoundingClientRect();if(!(i.bottom<l.top+5||i.top>l.bottom-5)){let h=i.top-l.top-20;i.top<l.top&&(h=5),this.helperTextElement.style.display="block",this.helperTextElement.style.left=`${i.left-l.left}px`,this.helperTextElement.style.top=`${h}px`}else this.helperTextElement.style.display="none"}removeHelperText(){this.helperTextElement&&(this.helperTextElement.style.display="none")}handleScroll(){this.removeHelperText(),this.hideMenu(),this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{const e=this.quill.getSelection();e&&this.isTable(e)&&this.detectButton(e),this.scrollTimeout=null},this.SCROLL_DEBOUNCE_TIME)}destroy(){this.removeEventListeners(),this.cleanupTableUI(),this.helperTextElement&&this.helperTextElement.remove(),this.scrollTimeout&&(clearTimeout(this.scrollTimeout),this.scrollTimeout=null),this.positionCache.clear(),this.reactRoot=null,this.selectedCell=null,this.helperTextElement=null,this.position=null,this.options=this.DEFAULTS,this.menuRoot=null,this.table=null}createItemClickHandler(e){return t=>{t.preventDefault(),t.stopPropagation(),this.quill.focus(),e.handler(),this.hideMenu(),this.detectButton(this.quill.getSelection())}}getBoundingRectWithCache(e){const t=Date.now(),n=this.positionCache.get(e);if(n&&t-n.timestamp<this.POSITION_CACHE_LIFETIME)return n.rect;const i=e.getBoundingClientRect();return this.positionCache.set(e,{rect:i,timestamp:t}),i}pasteHandler(){this.clearAllTableCellOutlines(),setTimeout(()=>{const e=this.quill.getSelection();e&&this.detectButton(e)},0)}cleanupTableUI(){this.removeHelperText(),this.clearAllTableCellOutlines(),this.hideMenu(),this.lastSelectedCellRef=null}}const lS=[1,2,3,!1,4],cS=$e.import("ui/icons");cS.table=Os.renderToString(v.jsx(Br,{icon:"Table",strokeWidth:2.5}));cS.divider=Os.renderToString(v.jsx(Br,{icon:"Minus",strokeWidth:2.5}));const DP=$e.import("blots/block/embed");class rm extends DP{static create(e){const t=super.create(e);return t.style.border="var(--AEditor_Addon_Primary_border)",t.style.borderBottom="none",t.style.transition="border var(--Transition)",t}}it(rm,"blotName","divider"),it(rm,"tagName","hr");$e.register({"modules/imageCompress":ZD,"modules/resize":JD,"modules/tablePicker":RP,"modules/tableUI":MP,"formats/header":FP(lS),"formats/divider":rm},!0);const OP=["bold","italic","underline","strike","blockquote","table","size","header","color","indent","list","align","image","link","video","divider"],PP=[[{header:lS}],["bold","italic","underline","strike","blockquote","divider","table",{color:[]}],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"},{align:[]}],["link","image","video"],["clean"]],NP=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",editorRef:i,useValue:l,useError:u,placeholder:h,tabIndex:g,autoFocus:m,editorProps:M,wrapProps:T,helperText:C,label:_,labelProps:S,wrapType:D,style:A,minHeight:b="100%",maxHeight:k,contentHeight:O,contentMaxHeight:H=1e3,toolbarSize:q="Med",readOnly:G,...Y}=r,ue=I.useMemo(()=>n==="ReadOnly"||G,[n,G]),ee=I.useMemo(()=>O?20:0,[O]),[fe,N]=I.useState(q==="Med"?40:50),re=I.useMemo(()=>ue?0:fe,[ue,fe]),[K,ne]=I.useMemo(()=>[20,6],[]),ie=I.useMemo(()=>u?K+ne:0,[u,K,ne]),[ce,me]=I.useState(O),[ae,be]=I.useState(!1),[ge,xe]=I.useState(!1),Le=I.useRef(null),Pe=I.useRef(0),We=I.useRef(0),Te=I.useCallback(et=>{if(!ae||!O)return;const Se=et.clientY-We.current,Ze=Math.min(H,Math.max(O,Pe.current+Se));me(Ze)},[O,ae,H]),ot=I.useCallback(()=>{be(!1),xe(!1),window.removeEventListener("mousemove",Te),window.removeEventListener("mouseup",ot)},[Te]),pt=I.useCallback(et=>{if(!ce)return;if(et.detail===2){me(O);return}be(!0),xe(!0),Pe.current=ce,We.current=et.clientY;const Se=at=>{if(!O)return;const gt=at.clientY-We.current,Tt=Math.min(H,Math.max(O,Pe.current+gt));me(Tt)},Ze=()=>{be(!1),xe(!1),window.removeEventListener("mousemove",Se),window.removeEventListener("mouseup",Ze)};window.addEventListener("mousemove",Se),window.addEventListener("mouseup",Ze)},[O,ce,H]),Ke=I.useMemo(()=>{if(O){if(ce)switch(n){case"ReadOnly":return ce;case"Raw":return ce+ie;default:return ce+re+ie}}else return b},[O,ce,n,re,ie,b]),Ye=I.useMemo(()=>{if(!(!k||k<=re+ie))switch(n){case"ReadOnly":return k;case"Raw":return k-ie;default:return k-re-ie}},[n,re,ie,k]),Oe=I.useMemo(()=>jP(t)?"Error":n,[t,n]),[ke,Ee]=pn(l,""),[Ne,Re]=pn(u,!1),[Je,ft]=I.useState(()=>{if(!ke)return new $t;try{const et=document.createElement("div");return et.innerHTML=ke,new $e(et,{readOnly:!0}).getContents()}catch(et){return console.warn("Error parsing HTML content:",et),new $t}}),xt=I.useMemo(()=>Math.floor(5e4*.68234)*3,[]),St=I.useCallback(et=>et.ops?et.ops.reduce((Se,Ze)=>{if(typeof Ze.insert=="string"){const at=Ze.insert.replace(/\n/g,"");return Se+at.split("").reduce((gt,Tt)=>gt+(Tt.charCodeAt(0)<=127?1:3),0)}return typeof Ze.insert=="object"&&Ze.insert.image?Se+Ze.insert.image.length:Se},0):0,[]),mt=I.useMemo(()=>({clipboard:{matchVisual:!1},imageCompress:{quality:.5},...!ue&&{resize:{locale:{altTip:hn.AEditor["Image size adjust"],center:hn.AEditor.Center,floatLeft:hn.AEditor.floatLeft,floatRight:hn.AEditor.floatRight,inputTip:hn.AEditor["Input on mouse down"],restore:hn.AEditor.Restore}},table:!0,tablePicker:!0,tableUI:!0,toolbar:{container:PP,handlers:{divider:function(){const et=this.quill,Se=et.getSelection(!0),Ze=et.getModule("table"),at=Ze&&(()=>{try{return!!Ze.getTable(Se)[0]}catch{return!1}})();at||et.insertText(Se.index,`
|
348
|
-
`,$e.sources.USER);const gt=at?0:1;et.insertEmbed(Se.index+gt,"divider",!0,$e.sources.USER),et.setSelection(Se.index+gt+1,0,$e.sources.SILENT)}}}}}),[ue]),It=I.useCallback((et,Se,Ze,at)=>{var _t;if(!
|
349
|
-
`;if(Re){const Mt=St(gt);Re(Mt>xt)}Ee(je?"":Tt),ft(gt)},[St,xt,Re,Ee]),Ct=I.useMemo(()=>q==="Med"?8:12.5,[q]),ct=I.useCallback(et=>{if(!et)return;const Se=et.getEditor();if(!Se)return;const Ze=[],at={input:nr=>{const Zt=nr.target;Zt.value=Zt.value.replace(/[^0-9]/g,"");const he=parseInt(Zt.value);he>100&&(Zt.value="100"),he<1&&(Zt.value="1")},keyDown:nr=>{if(nr.key!=="Delete"&&nr.key!=="Backspace")return;const Zt=document.querySelector("#image-resizer");if(!Zt)return;const he=Zt.getBoundingClientRect(),te=document.querySelectorAll(".ql-editor img"),Fe=Array.from(te).find(Xe=>{const Lt=Xe.getBoundingClientRect();return Math.abs(Lt.left-he.left)<5&&Math.abs(Lt.top-he.top)<5});if(Fe){Zt.style.display="none";const Xe=$e.find(Fe),Lt=Se.getIndex(Xe);Xe.remove(),Se.setSelection(Lt,0,$e.sources.USER)}},formatExpand:nr=>{const Zt=Se.getFormat();nr.forEach(he=>{if(Zt[he]){const te=Zt[he],Fe=`.ql-${he}`,Xe=document.querySelector(`${Fe} .ql-picker-label`),Lt=document.querySelectorAll(`${Fe} .ql-picker-item`),vt=Array.from(Lt).find(wt=>wt.getAttribute("data-value")===te);vt&&(vt.classList.add("ql-selected"),Xe==null||Xe.classList.add("ql-active"))}})},resizeToolbar:nr=>{requestAnimationFrame(()=>{for(const Zt of nr)N(Zt.contentRect.height+Ct*2)})}},gt=Se.root,Tt=document.querySelector(".ql-snow.ql-toolbar"),je=document.querySelector("#image-resizer .input-wrapper input"),_t=new ResizeObserver(at.resizeToolbar),Mt=["header","color"],vr=[];return gt==null||gt.addEventListener("keydown",at.keyDown),je==null||je.addEventListener("input",at.input),_t.observe(Tt),Mt.forEach(nr=>{const Zt=document.querySelector(`.ql-${nr} .ql-picker-label`);Zt&&(Zt.addEventListener("click",()=>at.formatExpand(Mt)),vr.push(Zt))}),Ze.push(()=>{gt==null||gt.removeEventListener("keydown",at.keyDown),je==null||je.removeEventListener("input",at.input),_t.disconnect(),vr.forEach(nr=>nr.removeEventListener("click",()=>at.formatExpand(Mt)))}),()=>Ze.forEach(nr=>nr())},[Ct]),ut=I.useCallback(et=>{i&&(typeof i=="function"?i(et):i.current=et),et&&ct(et)},[i,ct]);return v.jsx(Uc,{helperText:C,label:_,wrapType:D,labelProps:S,errorMessage:t,wrapProps:{...T,style:{...T==null?void 0:T.style,minHeight:"fit-content",height:"100%"}},children:v.jsxs(Ur,{...Y,className:qe.clsx(Y.className,Wn.AEditorContainer),style:{...A,height:Ke},children:[v.jsx(bh,{...M,ref:ut,className:qe.clsx(M==null?void 0:M.className,Wn.AEditor,Wn[Oe]),formats:OP,modules:mt,placeholder:h,readOnly:ue,theme:"snow",value:Je,style:{"--icon-size":`${q==="Med"?18:24}px`,"--toolbar-padding":`${Ct}px`,"--content-height":ce?`${ce-ee}px`:"100%","--max-height":k?`${Ye}px`:void 0,"--default-text":`'${hn.AEditor.Default}'`,"--arrow-background":`url("data:image/svg+xml,${encodeURIComponent(Os.renderToString(v.jsx(Br,{icon:"EditorArrow"})))}`},onChange:It}),O&&v.jsxs(v.Fragment,{children:[v.jsx("div",{ref:Le,className:Wn.Resizer,style:{height:ee,bottom:u&&!ue?ie:0},onMouseDown:pt}),ge&&v.jsx("div",{className:qe.clsx(Wn.Indicator,"NoSelect","Caption"),style:{bottom:u&&!ue?ie+2:2},children:`${Math.round(ce)}px`})]}),u&&!ue&&v.jsx("div",{className:qe.clsx(Wn.LimitContainer,"NoSelect"),style:{marginTop:ne,minHeight:K},children:v.jsxs(Xl,{className:Wn.Limit,children:["(",v.jsx("span",{className:Ne?Wn.Error:void 0,children:nm(St(Je))})," / ",nm(xt),")"]})})]})})};function jP(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}function FP(r){const e=$e.import("formats/header");return e.whitelist=r,e}const nm=r=>{if(!r)return"0 bytes";const e=["bytes","KB","MB","GB","TB","PB","EB","ZB","YB","RB","QB"];let t=0;for(;r>=1024&&t<e.length-1;)r/=1024,t++;return`${t===0?Math.floor(r):r.toFixed(1)} ${e[t]}`};function eh(r,e){Array.isArray(r)||(r=[r]);for(const t of r){if(e(t))return t;if(!t.children||t.children.length<1)continue;const n=eh(t.children,e);if(n)return n}}function sd(r,e){Array.isArray(r)||(r=[r]);for(const t of r)e(t),!(!t.children||t.children.length<1)&&sd(t.children,e)}function uS(r,e){Array.isArray(r)||(r=[r]);const t=[];return sd(r,(n,i)=>t.push(e(n,i))),t}function fS(r,e){Array.isArray(r)||(r=[r]);for(const t of r){if(!e(t))return!1;if(!(!t.children||t.children.length<1)&&!fS(t.children,e))return!1}return!0}function BP(r,e){Array.isArray(r)||(r=[r]);const t=[];return sd(r,(n,i)=>{e(n,i)&&t.push(n)}),t}function qP(r){Array.isArray(r)||(r=[r]);let e=0;return sd(r,()=>e++),e}function HP(r,e,t,n){if(n(e,t))return null;Array.isArray(r)||(r=[r]);const i=eh(r,u=>{var h;return(h=u.children)==null?void 0:h.some(g=>n(g,e))}),l=eh(r,u=>{var h;return(h=u.children)==null?void 0:h.some(g=>n(g,t))});if(i===void 0&&l===void 0){const u=r.findIndex(g=>n(g,e)),h=r.findIndex(g=>n(g,t));return r.splice(u,1),r.splice(h,0,e),[...r]}else if(i!==void 0&&l!==void 0&&n(i,l)&&i.children){const u=i.children.findIndex(g=>n(g,e)),h=i.children.findIndex(g=>n(g,t));return u===void 0||h===void 0?null:(i.children.splice(u,1),i.children.splice(h,0,e),i.children=[...i.children],[...r])}return null}function zP(r,e,t){const n=[],i=[...e];for(;i.length>0;){const l=i.shift();if(l&&!n.find(u=>t(u,l))&&(n.push(l),!(!l.children||l.children.length<1)))for(const u of l.children)i.push(u)}return n}function $P(r,e,t){Array.isArray(r)||(r=[r]);const n=uS(r,u=>u),i=[],l=[...e];for(;l.length>0;){const u=l.shift();if(!u||i.find(g=>t(g,u)))continue;i.push(u);const h=n.find(g=>{var m;return(m=g.children)==null?void 0:m.some(M=>t(M,u))});h&&l.push(h)}return i}const Qa={find:eh,forEach:sd,map:uS,every:fS,filter:BP,length:qP,replace:HP,descendants:zP,ancestors:$P},UP="_AWrap_f5le3_1",WP="_AContainer_f5le3_10",VP="_ATree_f5le3_18",GP="_ATreeBody_f5le3_30",ZP="_CoverBorder_f5le3_36",YP="_InsertBorder_f5le3_45",KP="_ATreeHeader_f5le3_76",XP="_ATreeBodyHeader_f5le3_82",JP="_ATreeBodyHeaderResources_f5le3_92",QP="_ATreeItem_f5le3_98",eN="_IsSelectUsed_f5le3_114",tN="_IsSelected_f5le3_117",rN="_IsSearchSelected_f5le3_122",nN="_IsHovered_f5le3_133",iN="_CheckBox_f5le3_137",oN="_Indents_f5le3_149",sN="_ExpandIcon_f5le3_156",aN="_Content_f5le3_168",lN="_RightSticky_f5le3_177",cN="_SearchInputWrap_f5le3_188",uN="_SearchInput_f5le3_188",fN="_RightAddon_f5le3_200",dN="_RightAddonIcon_f5le3_211",hN="_Loader_f5le3_218",fn={AWrap:UP,AContainer:WP,ATree:VP,ATreeBody:GP,CoverBorder:ZP,InsertBorder:YP,ATreeHeader:KP,ATreeBodyHeader:XP,ATreeBodyHeaderResources:JP,ATreeItem:QP,IsSelectUsed:eN,IsSelected:tN,IsSearchSelected:rN,IsHovered:nN,CheckBox:iN,Indents:oN,ExpandIcon:sN,Content:aN,RightSticky:lN,SearchInputWrap:cN,SearchInput:uN,RightAddon:fN,RightAddonIcon:dN,Loader:hN},pN=r=>{const{isEqual:e,item:t,selectDisabled:n,selectUnused:i,isParentDisabled:l,indents:u,extIndents:h,useExpand:g,useSelect:m,useSearch:M,onDragStart:T,onDragOver:C,onDragEnd:_,showCheckbox:S,icons:D,iconWidth:A,isSelectMulti:b,isDraggable:k,isParentCheckHovered:O,hoverdItem:H,onMouseOver:q,onMouseLeave:G,ContentRenderer:Y,TreeItemRenderer:ue,RightStickyAddon:ee,resources:fe,containerRef:N,TreeItemStyle:re,TreeItemClassName:K,searchItemStyle:ne,searchItemClassName:ie,height:ce}=r,{children:me}=I.useMemo(()=>t,[t]),[ae,be]=I.useMemo(()=>g,[g]),[ge,xe]=I.useMemo(()=>m,[m]),[Le,Pe]=I.useMemo(()=>M,[M]),We=I.useMemo(()=>i?i(t):!1,[i,t]),Te=I.useMemo(()=>!n||l?l:n(t),[n,l,t]),ot=I.useMemo(()=>ae.some(je=>e(je,t)),[ae,e,t]),pt=I.useMemo(()=>!me||me.length<1?"noChild":ot?"expanded":"collapsed",[me,ot]),Ke=I.useMemo(()=>{const je=D[pt];return am.includes(je)?v.jsx(Br,{style:{width:A,height:A},icon:je}):je},[D,A,pt]),Ye=I.useCallback(je=>{!be||pt==="noChild"||(be(ot?ae.filter(_t=>!e(_t,t)):[...ae,t]),je.stopPropagation())},[be,ae,ot,t,e,pt]),Oe=I.useMemo(()=>ge.some(je=>e(je,t)),[ge,e,t]),ke=I.useCallback(()=>{!xe||Te||(xe(b?Oe?ge.filter(je=>!e(je,t)):[...ge,t]:[t]),Le&&Pe&&Le.items.some(je=>e(je,t))&&Pe({...Le,item:t}))},[b,Te,Oe,Le,Pe,xe,e,ge,t]),Ee=I.useMemo(()=>Le==null?void 0:Le.items.some(je=>e(je,t)),[Le,e,t]),Ne=I.useMemo(()=>Ee&&(Le==null?void 0:Le.item)&&e(Le.item,t),[Ee,Le,e,t]),Re=I.useRef(null);I.useEffect(()=>{setTimeout(()=>{if(Ne&&Re.current&&N.current){const{top:je,bottom:_t}=Re.current.getBoundingClientRect(),{top:Mt,bottom:vr}=N.current.getBoundingClientRect();(je<Mt||_t>vr)&&Re.current.scrollIntoView({behavior:"smooth",block:"center"})}},10)},[N,Ne]);const[Je,ft]=I.useState(!1),xt=I.useCallback(()=>!Te&&ft(!0),[Te]),St=I.useCallback(()=>!Te&&ft(!1),[Te]),mt=I.useMemo(()=>Qa.map(t,je=>je).filter(je=>!(n!=null&&n(je))&&!(i!=null&&i(je))),[n,i,t]),It=I.useMemo(()=>!S||!b?!1:Oe&&mt.some(je=>ge.some(_t=>e(je,_t)))&&mt.some(je=>!ge.some(_t=>e(je,_t))),[S,b,Oe,mt,e,ge]),Ct=I.useMemo(()=>S?b?mt.every(je=>ge.some(_t=>e(je,_t))):ge.some(je=>e(je,t)):!1,[S,b,mt,t,e,ge]),ct=I.useCallback(()=>{if(!(!xe||Te))if(b)if(Oe){const je=ge.filter(_t=>!(i!=null&&i(_t))&&!(n!=null&&n(_t))&&mt.some(Mt=>e(Mt,_t)));je.length>0&&xe(ge.filter(_t=>!je.some(Mt=>e(_t,Mt))))}else{const je=mt.filter(_t=>!(i!=null&&i(_t))&&!(n!=null&&n(_t))&&!ge.some(Mt=>e(Mt,_t)));je.length>0&&xe([...ge,...je])}else xe([t])},[Te,n,i,b,xe,e,Oe,ge,mt,t]),ut=I.useCallback(je=>{Te||ct(),je.stopPropagation()},[Te,ct]),et=I.useMemo(()=>{if(!S||!b||Te)return"";if(Oe){const _t=ge.filter(Mt=>!(i!=null&&i(Mt))&&!(n!=null&&n(Mt))&&mt.some(vr=>e(vr,Mt)));if(_t.length>0)return fe["deselect n"](_t.length)}const je=mt.filter(_t=>!(i!=null&&i(_t))&&!(n!=null&&n(_t))&&!ge.some(Mt=>e(Mt,_t)));return fe["select n"](je.length)},[n,i,fe,Te,S,b,Oe,mt,e,ge]),Se=I.useMemo(()=>kr.getContent(ee,r),[ee,r]),Ze=I.useMemo(()=>kr.getContent(re,r),[r,re]),at=I.useMemo(()=>kr.getContent(K,r),[r,K]),gt=I.useMemo(()=>kr.getContent(ie,r),[r,ie]),Tt=I.useMemo(()=>kr.getContent(ne,r),[r,ne]);return v.jsxs(I.Fragment,{children:[v.jsxs(Ur,{className:qe.clsx(fn.ATreeItem,Oe&&fn.IsSelected,!Te&&(Je||O)&&fn.IsHovered,Ee&&fn.IsSearched,Ne&&(gt||fn.IsSearchSelected),!We&&fn.IsSelectUsed,"NoSelect",at),style:{...Ze,...Ne&&Tt,"--ATreeItem_height":`${ce}px`},draggable:k,onDragStart:()=>T==null?void 0:T(t),onDragEnter:je=>C==null?void 0:C(je,t),onDragEnd:je=>_==null?void 0:_(je,t),onClick:ke,abaseRef:Re,isDisabled:Te,onMouseOver:je=>q==null?void 0:q(je,t),onMouseLeave:je=>G==null?void 0:G(je,t),children:[S&&v.jsx(Uu,{style:{visibility:Te||We?"hidden":"visible",zIndex:Te||We?0:2},className:fn.CheckBox,useCheck:[+Ct,ct],onClick:ut,isIndeterminate:It,onMouseOver:xt,onMouseOut:St,tooltip:et,isDisabled:Te}),v.jsx("div",{className:fn.Indents,style:{paddingLeft:S?0:r.icons.noChild?12:0},children:u.map((je,_t)=>{const Mt=_t===u.length-1;return v.jsx(I2,{value:je,map:{Collapsed:h?h({iconWidth:A}).collapsed:v.jsx(mN,{iconWidth:A}),Expanded:h?h({iconWidth:A,isLast:Mt}).expanded:v.jsx(gN,{iconWidth:A,isLast:Mt}),IsLast:h?h({iconWidth:A}).isLast:v.jsx(vN,{iconWidth:A})}},_t)})}),Ke&&v.jsx("div",{className:fn.ExpandIcon,style:{width:A,minWidth:A,maxWidth:A},onClick:Ye,children:Ke}),v.jsx("div",{className:qe.clsx(fn.Content,"NoSelect"),children:v.jsx(Y,{isEqual:e,item:t,indents:u,extIndents:h,useExpand:g,useSelect:m,useSearch:M,onDragStart:T,onDragOver:C,onDragEnd:_,showCheckbox:S,icons:D,iconWidth:A,isSelectMulti:b,isDraggable:k,isParentCheckHovered:b&&(Je||O),hoverdItem:H,onMouseOver:q,onMouseLeave:G,ContentRenderer:Y,TreeItemRenderer:ue,RightStickyAddon:ee,resources:fe,containerRef:N,TreeItemStyle:re,TreeItemClassName:K,searchItemClassName:gt,searchItemStyle:ne,height:ce})}),Se&&v.jsx("div",{className:fn.RightSticky,children:Se})]}),ot&&(me==null?void 0:me.map((je,_t)=>v.jsx(ue,{isEqual:e,item:je,selectDisabled:n,selectUnused:i,indents:[...u.map(Mt=>Mt==="IsLast"?"Collapsed":Mt),_t===me.length-1?"IsLast":"Expanded"],extIndents:h,ContentRenderer:Y,useExpand:g,useSelect:m,useSearch:M,onDragStart:T,onDragOver:C,onDragEnd:_,showCheckbox:S,icons:D,iconWidth:A,isSelectMulti:b,isDraggable:k,isParentCheckHovered:b&&(Je||O),hoverdItem:H,onMouseOver:q,onMouseLeave:G,TreeItemRenderer:ue,RightStickyAddon:ee,resources:fe,containerRef:N,TreeItemStyle:re,TreeItemClassName:K,searchItemClassName:gt,searchItemStyle:ne,height:ce},_t)))]})},gN=({iconWidth:r,isLast:e})=>v.jsx("div",{style:{width:r/8*3,height:"100%",borderLeft:"var(--ATree_Indent_border)",marginLeft:r/2,marginRight:r/8,boxSizing:"border-box",transition:"border-color var(--Transition)"},children:e&&v.jsx("div",{style:{borderBottom:"var(--ATree_Indent_border)",height:"50%",transition:"border-color var(--Transition)"}})}),mN=({iconWidth:r})=>v.jsx("div",{style:{width:r,height:"100%",borderLeft:"none",marginLeft:0,transition:"border-color var(--Transition)"}}),vN=({iconWidth:r})=>v.jsx("div",{style:{width:r/8*3,height:"50%",borderLeft:"var(--ATree_Indent_border)",borderBottom:"var(--ATree_Indent_border)",marginLeft:r/2,marginRight:r/8,boxSizing:"border-box",transition:"border-color var(--Transition)"}}),yN=r=>{const{isEqual:e,searchResult:t,initSearch:n,searchUp:i,searchDown:l,searchEnter:u,isDisabled:h,isLoading:g,resources:m,maxLength:M,autoFocus:T}=r,C=I.useCallback(D=>{D.key==="Enter"?u():D.key==="ArrowDown"?l():D.key==="ArrowUp"&&i(),D.preventDefault(),D.stopPropagation()},[l,u,i]),_=I.useCallback(D=>{n(D)},[n]),S=I.useMemo(()=>h||g?-1:void 0,[h,g]);return v.jsx(Jl,{className:fn.SearchInput,wrapProps:{className:fn.SearchInputWrap},isDisabled:h,tabIndex:S,useValue:[(t==null?void 0:t.keyword)??"",_],onKeyDown:C,placeholder:m["Search(Placeholder)"],RightAddon:v.jsx(bN,{isEqual:e,searchResult:t,searchUp:i,searchDown:l,searchEnter:u,resources:m}),maxLength:M,autoFocus:T})},bN=r=>{const{isEqual:e,searchResult:t,searchUp:n,searchDown:i,searchEnter:l,resources:u}=r,h=I.useMemo(()=>!t||t.items.length<1?0:t.items.findIndex(S=>t.item&&e(S,t.item))+1,[t,e]),g=I.useMemo(()=>!t||t.items.length<1?0:t.items.length,[t]),m=I.useMemo(()=>h<2,[h]),M=I.useMemo(()=>h>=g,[h,g]),T=I.useCallback(S=>{S.stopPropagation(),!m&&n()},[n,m]),C=I.useCallback(S=>{S.stopPropagation(),!M&&i()},[i,M]),_=I.useCallback(S=>{S.stopPropagation(),l()},[l]);return v.jsx("div",{className:qe.clsx(fn.RightAddon,"NoSelect"),children:t?v.jsxs(v.Fragment,{children:[h,"/",g,v.jsx(Ur,{onClick:T,isDisabled:m,children:v.jsx(Br,{className:fn.RightAddonIcon,icon:"ArrowUp",mask:""})}),v.jsx(Ur,{onClick:C,isDisabled:M,children:v.jsx(Br,{className:fn.RightAddonIcon,icon:"ArrowDown"})})]}):v.jsx(vo,{type:"Raw",className:fn.RightAddonIcon,style:{marginRight:4},icon:"Search",onClick:_,tooltip:u["Search(Button)"]})})},_N=r=>{var Wr;const{pk:e,selectDisabled:t,selectUnused:n,useItems:i,useExpand:l,useSelect:u,useSearch:h,showCheckbox:g,iconWidth:m=24,icons:M={noChild:"Folder",collapsed:"FolderCopy",expanded:"FolderOpen"},indents:T,isSelectMulti:C=!1,noSearch:_=!1,isDraggable:S,noSyncSearchSelect:D=!1,actionRef:A,placeholder:b,searchPredicate:k=SN,isDisabled:O,isLoading:H,ContentRenderer:q=xN,TreeItemRenderer:G=pN,RightStickyAddon:Y,TopRightAddon:ue,TreeTopAddon:ee,resources:fe,maxLength:N,autoFocus:re,TreeItemStyle:K,TreeItemClassName:ne,OverflowPadding:ie,insertBorder:ce,width:me,searchItemClassName:ae,searchItemStyle:be,height:ge=40,...xe}=r,Le=I.useMemo(()=>({...hn.ATree,...fe}),[fe]),Pe=I.useCallback((st,Rt)=>e!==void 0?Array.isArray(e)?e.every(bt=>el.isEqual(st[bt],Rt[bt])):el.isEqual(st[e],Rt[e]):el.isEqual(st,Rt),[e]),We=I.useRef(null),[Te,ot]=pn(i,[]),pt=I.useMemo(()=>Qa.map(Te,st=>st),[Te]),[Ke,Ye]=pn(l,[]),[Oe,ke]=pn(u,[]),[Ee,Ne]=pn(h,void 0),Re=I.useCallback(st=>{if(O||!Ye||Ke.some(Qe=>Pe(Qe,st)))return;const Rt=[];let bt=st;for(;bt;){const Qe=bt;Ke.find(Nt=>Pe(Nt,Qe))||Rt.push(Qe),bt=pt.find(Nt=>{var Q;return(Q=Nt.children)==null?void 0:Q.some(He=>Pe(He,Qe))})}Ye([...Ke,...Rt])},[Ke,O,Pe,Ye,pt]),Je=I.useCallback(()=>{!Ye||O||Ye([...pt])},[pt,O,Ye]),ft=I.useCallback(()=>{!Ye||O||Ye([])},[Ye,O]),xt=I.useCallback(st=>{!ke||O||n!=null&&n(st)||(ke([st]),Re(st))},[ke,O,n,Re]),St=I.useCallback(st=>{if(!Ne||O)return;if(!st||_){Ne(void 0),D||ke==null||ke([]);return}const Rt=Qa.filter(Te,Qe=>k(st,Qe));let bt;if(Rt.find(Qe=>(Ee==null?void 0:Ee.item)&&Pe(Qe,Ee.item))?bt=Ee==null?void 0:Ee.item:Rt.length>0&&(bt=Rt[0]),Ne({keyword:st,items:Rt,item:bt}),bt&&Re(bt),ke&&!D)if(C)ke(Rt);else{const Qe=Rt.find(Nt=>bt&&Pe(Nt,bt));ke(Qe?[Qe]:[])}},[Te,O,Pe,k,Ne,ke,Re,D,_,C,Ee]),mt=I.useRef(!1);I.useEffect(()=>{mt.current=!0},[Te]),I.useEffect(()=>{Ee&&mt.current&&(St(Ee.keyword),mt.current=!1)},[St,Ee]);const It=I.useCallback(()=>{if(!Ee||!Ne||O)return;let st=Ee.items.findIndex(Rt=>Ee.item&&Pe(Rt,Ee.item))-1;st<0||(Ne({...Ee,item:Ee.items[st]}),Re(Ee.items[st]),D||xt(Ee.items[st]))},[Ee,Re,Ne,O,xt,Pe,D]),Ct=I.useCallback(()=>{if(!Ee||!Ne||O)return;let st=Ee.items.findIndex(Rt=>Ee.item&&Pe(Rt,Ee.item))+1;st>=Ee.items.length||(Ne({...Ee,item:Ee.items[st]}),Re(Ee.items[st]),D||xt(Ee.items[st]))},[Ee,Re,O,Ne,xt,Pe,D]),ct=I.useCallback(()=>{if(!Ee||!Ne||O)return;let st=Ee.items.findIndex(bt=>Ee.item&&Pe(bt,Ee.item));if(!D||n!=null&&n(Ee.items[st])){Ct();return}if(Oe.some(bt=>Ee.item&&Pe(bt,Ee.item))){let bt=st+1;const Qe=Ee.items[bt];if(bt>=Ee.items.length)return;Ne({...Ee,item:Qe}),xt(Qe)}else xt(Ee.items[st])},[Ee,Ne,O,Oe,D,Ct,Pe,xt,n]),[ut,et]=I.useState(!1),Se=I.useCallback(()=>et(!0),[]),Ze=I.useCallback(()=>et(!1),[]),at=I.useMemo(()=>n?Qa.map(Te,st=>st).filter(st=>!n(st)):t?Qa.map(Te,st=>st).filter(st=>!t(st)):Qa.map(Te,st=>st),[n,t,Te]),gt=I.useMemo(()=>!g||!C?!1:Oe.length>0&&at.length>Oe.length,[g,C,Oe,at]),Tt=I.useMemo(()=>!g||!C?!1:Oe.length>0&&at.length===Oe.length,[g,C,Oe,at]),je=I.useCallback(()=>{if(!ke||!C||O)return;const st=Oe.filter(Rt=>!(n!=null&&n(Rt))&&!(t!=null&&t(Rt))&&at.some(bt=>Pe(bt,Rt)));if(st.length>0)ke(Oe.filter(Rt=>!st.some(bt=>Pe(Rt,bt))));else{const Rt=at.filter(bt=>!(n!=null&&n(bt))&&!(t!=null&&t(bt))&&!Oe.some(Qe=>Pe(Qe,bt)));Rt.length>0&&ke([...Oe,...Rt])}},[C,O,n,t,ke,Oe,at,Pe]),_t=I.useMemo(()=>{if(!g||!C||O)return"";const st=Oe.filter(Rt=>!(n!=null&&n(Rt))&&!(t!=null&&t(Rt))&&at.some(bt=>Pe(bt,Rt)));if(st.length>0)return Le["deselect n"](st.length);{const Rt=at.filter(bt=>!(n!=null&&n(bt))&&!(t!=null&&t(bt))&&!Oe.some(Qe=>Pe(Qe,bt)));return Le["select n"](Rt.length)}},[n,t,O,Le,g,C,at,Oe,Pe]),[Mt,vr]=I.useState(null),[nr,Zt]=I.useState(null),he=I.useCallback(st=>{!S||O||vr(st)},[O,S]),te=I.useCallback((st,Rt)=>{if(!S||O||!Mt||(st.preventDefault(),st.stopPropagation(),Zt(Rt),!ot))return;const bt=Qa.replace(Te,Mt,Rt,Pe);bt&&ot(bt)},[S,Te,Mt,O,ot,Pe]),Fe=I.useCallback(()=>{if(!S||O||!Mt||!nr||!ot||Pe(Mt,nr))return;const st=Qa.replace(Te,Mt,nr,Pe);st&&(ot(st),vr(null))},[S,ot,Te,Mt,nr,Pe,O]);I.useEffect(()=>{var st;g||(st=We.current)==null||st.scrollTo(0,0)},[g,We]),I.useEffect(()=>{!C&&Oe.length>1&&(ke==null||ke([Oe[Oe.length-1]]))},[C,ke,Oe]),I.useEffect(()=>{A&&(A.current={expandAll:Je,collapseAll:ft})},[A,Je,ft]),I.useEffect(()=>{if(!t||!ke)return;const st=Oe.filter(Rt=>!t(Rt));Oe.length!==st.length&&ke(st)},[t,Oe,ke]),I.useEffect(()=>{if(!n||!ke)return;const st=Oe.filter(Rt=>!n(Rt));Oe.length!==st.length&&ke(st)},[n,Oe,ke]),I.useEffect(()=>{Ne&&Ne(void 0)},[Ne]);const[Xe,Lt]=I.useState(!1);I.useEffect(()=>{Lt(st=>!st)},[Te]);const[vt,wt]=I.useState(null),Gt=I.useCallback((st,Rt)=>{O||(st.stopPropagation(),st.preventDefault(),wt(Rt))},[O]),Ft=I.useCallback((st,Rt)=>{vt===null||O||Pe(Rt,vt)&&(st.stopPropagation(),st.preventDefault(),wt(null))},[vt,O,Pe]),sr=I.useRef(null),[dr,Rr]=I.useState(!1),[ur,xr]=I.useState((Wr=sr.current)==null?void 0:Wr.scrollHeight);return I.useEffect(()=>{if(Ke.length<0)return;const st=We.current,Rt=sr.current,bt=st.clientHeight<Rt.clientHeight;xr(bt?Rt.scrollHeight:st.clientHeight),Rr(bt)},[Ke]),v.jsxs(Ur,{...xe,isDisabled:O,className:qe.clsx(xe.className,fn.AWrap),children:[(!_||ue)&&v.jsxs(si,{className:fn.ATreeHeader,children:[!_&&v.jsx(yN,{isEqual:Pe,searchResult:Ee,initSearch:St,searchUp:It,searchDown:Ct,searchEnter:ct,isLoading:H,isDisabled:O,resources:Le,maxLength:N,autoFocus:re}),!_&&ue&&v.jsx(mn,{w:8}),ue]}),(!_||ue||g&&C||S)&&v.jsx(hm,{isLoading:H&&Te.length!==0}),(g&&C||S)&&v.jsxs("div",{className:qe.clsx(fn.ATreeBodyHeader,"NoSelect"),children:[g&&v.jsx(Uu,{className:fn.CheckBox,useCheck:[+Tt,()=>je()],isIndeterminate:gt,onMouseOver:Se,onMouseOut:Ze,isDisabled:O,tooltip:_t}),Le.Items,v.jsx(Yc,{}),v.jsxs("div",{className:qe.clsx(fn.ATreeBodyHeaderResources,"NoSelect"),style:{marginRight:dr?8:0},children:[v.jsx("span",{children:g&&Le["*Click row for single select"]}),v.jsx("span",{children:S&&Le["*Change order to row drag"]})]})]}),v.jsx("div",{ref:We,className:qe.clsx(xe.className,fn.AContainer),children:v.jsxs("div",{className:fn.ATree,style:{minWidth:me||"fit-content",marginRight:ie&&dr?8:0},children:[v.jsxs("div",{ref:sr,className:fn.ATreeBody,children:[Te.length===0?H?v.jsx(CN,{text:Le["Loading Contents..."]}):b:ee,Te.map((st,Rt)=>v.jsx(G,{isEqual:Pe,indents:[],extIndents:T,item:st,selectDisabled:t,selectUnused:n,isParentDisabled:O,useExpand:[Ke,Ye],useSelect:[Oe,ke],useSearch:[Ee,Ne],onDragStart:he,onDragOver:te,onDragEnd:Fe,showCheckbox:g,icons:M,iconWidth:m,isSelectMulti:C,isDraggable:S,isParentCheckHovered:C&&ut,ContentRenderer:q,TreeItemRenderer:G,RightStickyAddon:Y,resources:Le,containerRef:We,TreeItemStyle:K,TreeItemClassName:ne,hoverdItem:vt,onMouseOver:Gt,onMouseLeave:Ft,searchItemClassName:ae,searchItemStyle:be,height:ge},`${Rt}${Xe}`))]}),ce&&v.jsxs(v.Fragment,{children:[v.jsx("div",{className:fn.CoverBorder}),v.jsx("div",{className:fn.InsertBorder,style:{"--InsertBorder_height":`${ge}px`,height:dr?ur:"100%"}})]})]})})]})},xN=r=>{const{item:e}=r,t={};return Xt.keys(e).forEach(n=>{n!=="children"&&(t[n]=e[n])}),JSON.stringify(t)};function SN(r,e){return Xt.some(e,(t,n)=>{var i;return(i=Xt.stringify(n))==null?void 0:i.toLowerCase().includes(r.toLowerCase())})}const CN=r=>{const{text:e}=r;return v.jsxs(si,{className:qe.clsx(fn.Loader,"NoSelect"),children:[v.jsx(Br,{icon:"Spinner",style:{height:40},height:40,width:40}),v.jsx(z2,{text:e})]})};var $g,Gb;function Qu(){return Gb||(Gb=1,$g=TypeError),$g}const wN={},AN=Object.freeze(Object.defineProperty({__proto__:null,default:wN},Symbol.toStringTag,{value:"Module"})),TN=t4(AN);var Ug,Zb;function _h(){if(Zb)return Ug;Zb=1;var r=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,t=r&&e&&typeof e.get=="function"?e.get:null,n=r&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,l=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=i&&l&&typeof l.get=="function"?l.get:null,h=i&&Set.prototype.forEach,g=typeof WeakMap=="function"&&WeakMap.prototype,m=g?WeakMap.prototype.has:null,M=typeof WeakSet=="function"&&WeakSet.prototype,T=M?WeakSet.prototype.has:null,C=typeof WeakRef=="function"&&WeakRef.prototype,_=C?WeakRef.prototype.deref:null,S=Boolean.prototype.valueOf,D=Object.prototype.toString,A=Function.prototype.toString,b=String.prototype.match,k=String.prototype.slice,O=String.prototype.replace,H=String.prototype.toUpperCase,q=String.prototype.toLowerCase,G=RegExp.prototype.test,Y=Array.prototype.concat,ue=Array.prototype.join,ee=Array.prototype.slice,fe=Math.floor,N=typeof BigInt=="function"?BigInt.prototype.valueOf:null,re=Object.getOwnPropertySymbols,K=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ne=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ie=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ne||!0)?Symbol.toStringTag:null,ce=Object.prototype.propertyIsEnumerable,me=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(he){return he.__proto__}:null);function ae(he,te){if(he===1/0||he===-1/0||he!==he||he&&he>-1e3&&he<1e3||G.call(/e/,te))return te;var Fe=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof he=="number"){var Xe=he<0?-fe(-he):fe(he);if(Xe!==he){var Lt=String(Xe),vt=k.call(te,Lt.length+1);return O.call(Lt,Fe,"$&_")+"."+O.call(O.call(vt,/([0-9]{3})/g,"$&_"),/_$/,"")}}return O.call(te,Fe,"$&_")}var be=TN,ge=be.custom,xe=Re(ge)?ge:null,Le={__proto__:null,double:'"',single:"'"},Pe={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Ug=function he(te,Fe,Xe,Lt){var vt=Fe||{};if(xt(vt,"quoteStyle")&&!xt(Le,vt.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(xt(vt,"maxStringLength")&&(typeof vt.maxStringLength=="number"?vt.maxStringLength<0&&vt.maxStringLength!==1/0:vt.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var wt=xt(vt,"customInspect")?vt.customInspect:!0;if(typeof wt!="boolean"&&wt!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(xt(vt,"indent")&&vt.indent!==null&&vt.indent!==" "&&!(parseInt(vt.indent,10)===vt.indent&&vt.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(xt(vt,"numericSeparator")&&typeof vt.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Gt=vt.numericSeparator;if(typeof te>"u")return"undefined";if(te===null)return"null";if(typeof te=="boolean")return te?"true":"false";if(typeof te=="string")return at(te,vt);if(typeof te=="number"){if(te===0)return 1/0/te>0?"0":"-0";var Ft=String(te);return Gt?ae(te,Ft):Ft}if(typeof te=="bigint"){var sr=String(te)+"n";return Gt?ae(te,sr):sr}var dr=typeof vt.depth>"u"?5:vt.depth;if(typeof Xe>"u"&&(Xe=0),Xe>=dr&&dr>0&&typeof te=="object")return pt(te)?"[Array]":"[Object]";var Rr=vr(vt,Xe);if(typeof Lt>"u")Lt=[];else if(It(Lt,te)>=0)return"[Circular]";function ur(ar,fr,zr){if(fr&&(Lt=ee.call(Lt),Lt.push(fr)),zr){var gr={depth:vt.depth};return xt(vt,"quoteStyle")&&(gr.quoteStyle=vt.quoteStyle),he(ar,gr,Xe+1,Lt)}return he(ar,vt,Xe+1,Lt)}if(typeof te=="function"&&!Ye(te)){var xr=mt(te),Wr=Zt(te,ur);return"[Function"+(xr?": "+xr:" (anonymous)")+"]"+(Wr.length>0?" { "+ue.call(Wr,", ")+" }":"")}if(Re(te)){var st=ne?O.call(String(te),/^(Symbol\(.*\))_[^)]*$/,"$1"):K.call(te);return typeof te=="object"&&!ne?Tt(st):st}if(Ze(te)){for(var Rt="<"+q.call(String(te.nodeName)),bt=te.attributes||[],Qe=0;Qe<bt.length;Qe++)Rt+=" "+bt[Qe].name+"="+We(Te(bt[Qe].value),"double",vt);return Rt+=">",te.childNodes&&te.childNodes.length&&(Rt+="..."),Rt+="</"+q.call(String(te.nodeName))+">",Rt}if(pt(te)){if(te.length===0)return"[]";var Nt=Zt(te,ur);return Rr&&!Mt(Nt)?"["+nr(Nt,Rr)+"]":"[ "+ue.call(Nt,", ")+" ]"}if(Oe(te)){var Q=Zt(te,ur);return!("cause"in Error.prototype)&&"cause"in te&&!ce.call(te,"cause")?"{ ["+String(te)+"] "+ue.call(Y.call("[cause]: "+ur(te.cause),Q),", ")+" }":Q.length===0?"["+String(te)+"]":"{ ["+String(te)+"] "+ue.call(Q,", ")+" }"}if(typeof te=="object"&&wt){if(xe&&typeof te[xe]=="function"&&be)return be(te,{depth:dr-Xe});if(wt!=="symbol"&&typeof te.inspect=="function")return te.inspect()}if(Ct(te)){var He=[];return n&&n.call(te,function(ar,fr){He.push(ur(fr,te,!0)+" => "+ur(ar,te))}),_t("Map",t.call(te),He,Rr)}if(et(te)){var ht=[];return h&&h.call(te,function(ar){ht.push(ur(ar,te))}),_t("Set",u.call(te),ht,Rr)}if(ct(te))return je("WeakMap");if(Se(te))return je("WeakSet");if(ut(te))return je("WeakRef");if(Ee(te))return Tt(ur(Number(te)));if(Je(te))return Tt(ur(N.call(te)));if(Ne(te))return Tt(S.call(te));if(ke(te))return Tt(ur(String(te)));if(typeof window<"u"&&te===window)return"{ [object Window] }";if(typeof globalThis<"u"&&te===globalThis||typeof yi<"u"&&te===yi)return"{ [object globalThis] }";if(!Ke(te)&&!Ye(te)){var Ot=Zt(te,ur),er=me?me(te)===Object.prototype:te instanceof Object||te.constructor===Object,Yt=te instanceof Object?"":"null prototype",Dt=!er&&ie&&Object(te)===te&&ie in te?k.call(St(te),8,-1):Yt?"Object":"",Kt=er||typeof te.constructor!="function"?"":te.constructor.name?te.constructor.name+" ":"",Mr=Kt+(Dt||Yt?"["+ue.call(Y.call([],Dt||[],Yt||[]),": ")+"] ":"");return Ot.length===0?Mr+"{}":Rr?Mr+"{"+nr(Ot,Rr)+"}":Mr+"{ "+ue.call(Ot,", ")+" }"}return String(te)};function We(he,te,Fe){var Xe=Fe.quoteStyle||te,Lt=Le[Xe];return Lt+he+Lt}function Te(he){return O.call(String(he),/"/g,""")}function ot(he){return!ie||!(typeof he=="object"&&(ie in he||typeof he[ie]<"u"))}function pt(he){return St(he)==="[object Array]"&&ot(he)}function Ke(he){return St(he)==="[object Date]"&&ot(he)}function Ye(he){return St(he)==="[object RegExp]"&&ot(he)}function Oe(he){return St(he)==="[object Error]"&&ot(he)}function ke(he){return St(he)==="[object String]"&&ot(he)}function Ee(he){return St(he)==="[object Number]"&&ot(he)}function Ne(he){return St(he)==="[object Boolean]"&&ot(he)}function Re(he){if(ne)return he&&typeof he=="object"&&he instanceof Symbol;if(typeof he=="symbol")return!0;if(!he||typeof he!="object"||!K)return!1;try{return K.call(he),!0}catch{}return!1}function Je(he){if(!he||typeof he!="object"||!N)return!1;try{return N.call(he),!0}catch{}return!1}var ft=Object.prototype.hasOwnProperty||function(he){return he in this};function xt(he,te){return ft.call(he,te)}function St(he){return D.call(he)}function mt(he){if(he.name)return he.name;var te=b.call(A.call(he),/^function\s*([\w$]+)/);return te?te[1]:null}function It(he,te){if(he.indexOf)return he.indexOf(te);for(var Fe=0,Xe=he.length;Fe<Xe;Fe++)if(he[Fe]===te)return Fe;return-1}function Ct(he){if(!t||!he||typeof he!="object")return!1;try{t.call(he);try{u.call(he)}catch{return!0}return he instanceof Map}catch{}return!1}function ct(he){if(!m||!he||typeof he!="object")return!1;try{m.call(he,m);try{T.call(he,T)}catch{return!0}return he instanceof WeakMap}catch{}return!1}function ut(he){if(!_||!he||typeof he!="object")return!1;try{return _.call(he),!0}catch{}return!1}function et(he){if(!u||!he||typeof he!="object")return!1;try{u.call(he);try{t.call(he)}catch{return!0}return he instanceof Set}catch{}return!1}function Se(he){if(!T||!he||typeof he!="object")return!1;try{T.call(he,T);try{m.call(he,m)}catch{return!0}return he instanceof WeakSet}catch{}return!1}function Ze(he){return!he||typeof he!="object"?!1:typeof HTMLElement<"u"&&he instanceof HTMLElement?!0:typeof he.nodeName=="string"&&typeof he.getAttribute=="function"}function at(he,te){if(he.length>te.maxStringLength){var Fe=he.length-te.maxStringLength,Xe="... "+Fe+" more character"+(Fe>1?"s":"");return at(k.call(he,0,te.maxStringLength),te)+Xe}var Lt=Pe[te.quoteStyle||"single"];Lt.lastIndex=0;var vt=O.call(O.call(he,Lt,"\\$1"),/[\x00-\x1f]/g,gt);return We(vt,"single",te)}function gt(he){var te=he.charCodeAt(0),Fe={8:"b",9:"t",10:"n",12:"f",13:"r"}[te];return Fe?"\\"+Fe:"\\x"+(te<16?"0":"")+H.call(te.toString(16))}function Tt(he){return"Object("+he+")"}function je(he){return he+" { ? }"}function _t(he,te,Fe,Xe){var Lt=Xe?nr(Fe,Xe):ue.call(Fe,", ");return he+" ("+te+") {"+Lt+"}"}function Mt(he){for(var te=0;te<he.length;te++)if(It(he[te],`
|
347
|
+
`,"user"),t.index+=1)}}findTableParent(e){let t=e;for(;t;){if(t.domNode&&t.domNode.tagName==="TABLE")return t;t=t.parent}return null}hidePicker(){this.removeTooltip(),this.picker&&(this.picker.remove(),this.picker=null),this.tableButton&&this.tableButton.classList.remove("ql-expanded")}}var Iu={},Wb;function IP(){if(Wb)return Iu;Wb=1;var r=Fs;if(process.env.NODE_ENV==="production")Iu.createRoot=r.createRoot,Iu.hydrateRoot=r.hydrateRoot;else{var e=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Iu.createRoot=function(t,n){e.usingClientEntryPoint=!0;try{return r.createRoot(t,n)}finally{e.usingClientEntryPoint=!1}},Iu.hydrateRoot=function(t,n,i){e.usingClientEntryPoint=!0;try{return r.hydrateRoot(t,n,i)}finally{e.usingClientEntryPoint=!1}}}return Iu}var LP=IP();const Vb=il(LP);class MP{constructor(e,t){it(this,"DEFAULTS",{maxRowCount:-1});it(this,"quill");it(this,"options");it(this,"position",null);it(this,"table");it(this,"selectedCell",null);it(this,"menuRoot",null);it(this,"helperTextElement",null);it(this,"scrollTimeout",null);it(this,"SCROLL_DEBOUNCE_TIME",80);it(this,"lastSelectedCellRef",null);it(this,"boundDocClickHandler",this.hideMenu.bind(this));it(this,"boundEditorChangeHandler",this.editorChangeHandler.bind(this));it(this,"boundContextMenuHandler",this.contextMenuHandler.bind(this));it(this,"boundCopyHandler",this.copyHandler.bind(this));it(this,"boundScrollHandler",this.handleScroll.bind(this));it(this,"boundPasteHandler",this.pasteHandler.bind(this));it(this,"menuItems",[]);it(this,"positionCache",new Map);it(this,"POSITION_CACHE_LIFETIME",1e3);it(this,"reactRoot",null);if(this.quill=e,this.options={...this.DEFAULTS,...t},this.table=e.getModule("table"),!this.table){console.error('"table" module not found');return}this.initializeMenuItems(),this.overrideTableMethods(),this.initializeHelperText(),this.attachEventListeners()}initializeMenuItems(){this.menuItems=[{handler:()=>{(!(this.options.maxRowCount!==void 0&&this.options.maxRowCount>0)||this.getColCount()<(this.options.maxRowCount||0))&&this.table.insertColumnRight()},icon:Os.renderToString(v.jsx(Br,{icon:"AddColRight"})),title:hn.AEditor["Insert Column Right"]},{handler:()=>{(!(this.options.maxRowCount!==void 0&&this.options.maxRowCount>0)||this.getColCount()<(this.options.maxRowCount||0))&&this.table.insertColumnLeft()},icon:Os.renderToString(v.jsx(Br,{icon:"AddColLeft"})),title:hn.AEditor["Insert Column Left"]},{handler:()=>{this.table.insertRowAbove()},icon:Os.renderToString(v.jsx(Br,{icon:"AddRowAbove"})),title:hn.AEditor["Insert Row Top"]},{handler:()=>{this.table.insertRowBelow()},icon:Os.renderToString(v.jsx(Br,{icon:"AddRowBelow"})),title:hn.AEditor["Insert Row Bottom"]},{handler:()=>{this.table.deleteColumn()},icon:Os.renderToString(v.jsx(Br,{icon:"RemoveCol"})),title:hn.AEditor["Delete Column"]},{handler:()=>{this.table.deleteRow()},icon:Os.renderToString(v.jsx(Br,{icon:"RemoveRow"})),title:hn.AEditor["Delete Row"]},{handler:()=>{this.table.deleteTable()},icon:Os.renderToString(v.jsx(Br,{icon:"Trash"})),title:hn.AEditor["Delete Table"]}]}overrideTableMethods(){const e=this.table.insertTable;this.table.insertTable=(...n)=>{const i=e.apply(this.table,n),l=this.quill.getSelection();return l&&(this.quill.focus(),setTimeout(()=>this.detectButton(l),0)),i};const t=this.table.deleteTable;this.table.deleteTable=(...n)=>{const i=t.apply(this.table,n);return this.cleanupTableUI(),i}}initializeHelperText(){this.helperTextElement=document.createElement("div"),this.helperTextElement.className=Wn["ql-tableui-helper"];const e=document.createElement("span");e.className=qe.clsx("Caption1",Wn["ql-tableui-helper__text"],"NoSelect"),e.textContent=hn.AEditor["Right click to open properties"];const t=document.createElement("span");t.className=Wn["ql-tableui-helper__icon"],t.innerHTML=Os.renderToString(v.jsx(Br,{icon:"MoreHorizontal",size:"xs"})),t.addEventListener("click",n=>{n.preventDefault(),n.stopPropagation(),this.menuRoot?this.hideMenu():this.showMenu()}),this.helperTextElement.appendChild(e),this.helperTextElement.appendChild(t),this.helperTextElement.style.display="none",this.quill.container.appendChild(this.helperTextElement)}attachEventListeners(){this.quill.on("editor-change",this.boundEditorChangeHandler),this.quill.root.addEventListener("contextmenu",this.boundContextMenuHandler),this.quill.root.addEventListener("copy",this.boundCopyHandler),this.quill.root.addEventListener("paste",this.boundPasteHandler),window.addEventListener("scroll",this.boundScrollHandler,!0)}removeEventListeners(){this.quill.off("editor-change",this.boundEditorChangeHandler),this.quill.root.removeEventListener("contextmenu",this.boundContextMenuHandler),this.quill.root.removeEventListener("copy",this.boundCopyHandler),this.quill.root.removeEventListener("paste",this.boundPasteHandler),document.removeEventListener("click",this.boundDocClickHandler),window.removeEventListener("scroll",this.boundScrollHandler,!0)}editorChangeHandler(e,t,n,i){e==="selection-change"&&this.detectButton(t)}contextMenuHandler(e){return this.isTable()?(e.preventDefault(),this.showMenu(),!1):!0}copyHandler(e){if(!this.selectedCell||!e.clipboardData)return;e.preventDefault();const t=this.selectedCell.textContent||"";e.clipboardData.setData("text/plain",t)}isTable(e){return e=e||this.quill.getSelection(),e?!!(this.quill.getFormat(e.index).table&&!e.length):!1}getColCount(e){if(e=e||this.quill.getSelection(),!e)return 0;const[t]=this.table.getTable(e);return t?t.rows().reduce((n,i)=>Math.max(i.children.length,n),0):0}showMenu(){if(this.menuRoot){this.hideMenu();return}if(!this.selectedCell)return;this.menuRoot||(this.menuRoot=document.createElement("div"),document.body.appendChild(this.menuRoot));const e=this.getBoundingRectWithCache(this.selectedCell),t=window.innerWidth,n=window.innerHeight,i=I.memo(({item:u,index:h})=>v.jsxs("div",{className:Wn["ql-tableui-options__item"],onClick:this.createItemClickHandler(u),children:[v.jsx("span",{className:Wn["ql-tableui-options__item-icon"],dangerouslySetInnerHTML:{__html:u.icon}}),v.jsx("span",{className:Wn["ql-tableui-options__item-text"],children:u.title})]},h)),l=()=>v.jsx("div",{className:Wn["ql-tableui-options"],style:{position:"fixed",visibility:"hidden",zIndex:1e4},children:this.menuItems.map((u,h)=>v.jsx(i,{item:u,index:h},h))});try{Vb.createRoot?(this.reactRoot=Vb.createRoot(this.menuRoot),this.reactRoot.render(v.jsx(l,{}))):Fs.render(v.jsx(l,{}),this.menuRoot)}catch{Fs.render(v.jsx(l,{}),this.menuRoot)}document.addEventListener("click",this.boundDocClickHandler),requestAnimationFrame(()=>{if(!this.menuRoot)return;const u=this.menuRoot.firstElementChild;if(u){const h=u.getBoundingClientRect();let g=e.bottom+window.scrollY,m=e.left+window.scrollX;m+h.width>t&&(m=e.right-h.width+window.scrollX),g+h.height>n+window.scrollY&&(g=e.top-h.height+window.scrollY),u.style.top=`${g}px`,u.style.left=`${m}px`,u.style.visibility="visible"}})}hideMenu(){this.menuRoot&&(document.removeEventListener("click",this.boundDocClickHandler),this.reactRoot?(this.reactRoot.unmount(),this.reactRoot=null):Fs.unmountComponentAtNode(this.menuRoot),this.menuRoot.remove(),this.menuRoot=null)}detectButton(e){if(e)if(this.isTable(e)){const[t,n]=this.quill.getLine(e.index);if(!t||!t.domNode)return;const i=t.domNode,l=`${i.tagName}-${i.offsetLeft}-${i.offsetTop}`;this.selectedCell===i||this.lastSelectedCellRef===l||(this.clearAllTableCellOutlines(),i.style.outline="2px solid var(--acent-brand)",i.style.outlineOffset="-1px",this.selectedCell=i,this.lastSelectedCellRef=l),this.showHelperText();const h=this.quill.container.getBoundingClientRect(),g=i.getBoundingClientRect(),m={bottom:g.bottom-h.top,height:g.height,left:g.left-h.left,right:g.right-h.left,top:g.top-h.top,width:g.width,x:g.x,y:g.y,toJSON:()=>JSON.stringify(m)};this.position&&(this.position.top!==m.top||this.position.left!==m.left)&&this.hideMenu(),this.position=m}else this.cleanupTableUI()}clearAllTableCellOutlines(){this.selectedCell&&(this.selectedCell.style.removeProperty("outline"),this.selectedCell.style.removeProperty("outline-offset"),this.selectedCell=null),this.quill.root.querySelectorAll("td, th").forEach(t=>{t instanceof HTMLElement&&(t.style.removeProperty("outline"),t.style.removeProperty("outline-offset"))}),this.lastSelectedCellRef=null}showHelperText(){if(!this.selectedCell||!this.helperTextElement)return;const e=this.quill.getSelection();if(!e)return;const[t]=this.table.getTable(e);if(!t||!t.domNode)return;const i=t.domNode.getBoundingClientRect(),l=this.quill.container.getBoundingClientRect();if(!(i.bottom<l.top+5||i.top>l.bottom-5)){let h=i.top-l.top-20;i.top<l.top&&(h=5),this.helperTextElement.style.display="block",this.helperTextElement.style.left=`${i.left-l.left}px`,this.helperTextElement.style.top=`${h}px`}else this.helperTextElement.style.display="none"}removeHelperText(){this.helperTextElement&&(this.helperTextElement.style.display="none")}handleScroll(){this.removeHelperText(),this.hideMenu(),this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{const e=this.quill.getSelection();e&&this.isTable(e)&&this.detectButton(e),this.scrollTimeout=null},this.SCROLL_DEBOUNCE_TIME)}destroy(){this.removeEventListeners(),this.cleanupTableUI(),this.helperTextElement&&this.helperTextElement.remove(),this.scrollTimeout&&(clearTimeout(this.scrollTimeout),this.scrollTimeout=null),this.positionCache.clear(),this.reactRoot=null,this.selectedCell=null,this.helperTextElement=null,this.position=null,this.options=this.DEFAULTS,this.menuRoot=null,this.table=null}createItemClickHandler(e){return t=>{t.preventDefault(),t.stopPropagation(),this.quill.focus(),e.handler(),this.hideMenu(),this.detectButton(this.quill.getSelection())}}getBoundingRectWithCache(e){const t=Date.now(),n=this.positionCache.get(e);if(n&&t-n.timestamp<this.POSITION_CACHE_LIFETIME)return n.rect;const i=e.getBoundingClientRect();return this.positionCache.set(e,{rect:i,timestamp:t}),i}pasteHandler(){this.clearAllTableCellOutlines(),setTimeout(()=>{const e=this.quill.getSelection();e&&this.detectButton(e)},0)}cleanupTableUI(){this.removeHelperText(),this.clearAllTableCellOutlines(),this.hideMenu(),this.lastSelectedCellRef=null}}const lS=[1,2,3,!1,4],cS=$e.import("ui/icons");cS.table=Os.renderToString(v.jsx(Br,{icon:"Table",strokeWidth:2.5}));cS.divider=Os.renderToString(v.jsx(Br,{icon:"Minus",strokeWidth:2.5}));const DP=$e.import("blots/block/embed");class rm extends DP{static create(e){const t=super.create(e);return t.style.border="var(--AEditor_Addon_Primary_border)",t.style.borderBottom="none",t.style.transition="border var(--Transition)",t}}it(rm,"blotName","divider"),it(rm,"tagName","hr");$e.register({"modules/imageCompress":ZD,"modules/resize":JD,"modules/tablePicker":RP,"modules/tableUI":MP,"formats/header":FP(lS),"formats/divider":rm},!0);const OP=["bold","italic","underline","strike","blockquote","table","size","header","color","indent","list","align","image","link","video","divider"],PP=[[{header:lS}],["bold","italic","underline","strike","blockquote","divider","table",{color:[]}],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"},{align:[]}],["link","image","video"],["clean"]],NP=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",editorRef:i,useValue:l,useError:u,placeholder:h,tabIndex:g,autoFocus:m,editorProps:M,wrapProps:T,helperText:C,label:_,labelProps:S,wrapType:D,style:A,minHeight:b="100%",maxHeight:k,contentHeight:O,contentMaxHeight:H=1e3,toolbarSize:q="Med",readOnly:G,...Y}=r,ue=I.useMemo(()=>n==="ReadOnly"||G,[n,G]),ee=I.useMemo(()=>O?20:0,[O]),[fe,N]=I.useState(q==="Med"?40:50),re=I.useMemo(()=>ue?0:fe,[ue,fe]),[K,ne]=I.useMemo(()=>[20,6],[]),ie=I.useMemo(()=>u?K+ne:0,[u,K,ne]),[ce,me]=I.useState(O),[le,be]=I.useState(!1),[ge,xe]=I.useState(!1),Ie=I.useRef(null),Pe=I.useRef(0),Ve=I.useRef(0),Ee=I.useCallback(et=>{if(!le||!O)return;const Se=et.clientY-Ve.current,Ze=Math.min(H,Math.max(O,Pe.current+Se));me(Ze)},[O,le,H]),ot=I.useCallback(()=>{be(!1),xe(!1),window.removeEventListener("mousemove",Ee),window.removeEventListener("mouseup",ot)},[Ee]),ht=I.useCallback(et=>{if(!ce)return;if(et.detail===2){me(O);return}be(!0),xe(!0),Pe.current=ce,Ve.current=et.clientY;const Se=at=>{if(!O)return;const gt=at.clientY-Ve.current,Tt=Math.min(H,Math.max(O,Pe.current+gt));me(Tt)},Ze=()=>{be(!1),xe(!1),window.removeEventListener("mousemove",Se),window.removeEventListener("mouseup",Ze)};window.addEventListener("mousemove",Se),window.addEventListener("mouseup",Ze)},[O,ce,H]),Ke=I.useMemo(()=>{if(O){if(ce)switch(n){case"ReadOnly":return ce;case"Raw":return ce+ie;default:return ce+re+ie}}else return b},[O,ce,n,re,ie,b]),Ye=I.useMemo(()=>{if(!(!k||k<=re+ie))switch(n){case"ReadOnly":return k;case"Raw":return k-ie;default:return k-re-ie}},[n,re,ie,k]),Oe=I.useMemo(()=>jP(t)?"Error":n,[t,n]),[Ne,Ae]=pn(l,""),[Le,ke]=pn(u,!1),[Je,ft]=I.useState(()=>{if(!Ne)return new $t;try{const et=document.createElement("div");return et.innerHTML=Ne,new $e(et,{readOnly:!0}).getContents()}catch(et){return console.warn("Error parsing HTML content:",et),new $t}}),xt=I.useMemo(()=>Math.floor(5e4*.68234)*3,[]),St=I.useCallback(et=>et.ops?et.ops.reduce((Se,Ze)=>{if(typeof Ze.insert=="string"){const at=Ze.insert.replace(/\n/g,"");return Se+at.split("").reduce((gt,Tt)=>gt+(Tt.charCodeAt(0)<=127?1:3),0)}return typeof Ze.insert=="object"&&Ze.insert.image?Se+Ze.insert.image.length:Se},0):0,[]),mt=I.useMemo(()=>({clipboard:{matchVisual:!1},imageCompress:{quality:.5},...!ue&&{resize:{locale:{altTip:hn.AEditor["Image size adjust"],center:hn.AEditor.Center,floatLeft:hn.AEditor.floatLeft,floatRight:hn.AEditor.floatRight,inputTip:hn.AEditor["Input on mouse down"],restore:hn.AEditor.Restore}},table:!0,tablePicker:!0,tableUI:!0,toolbar:{container:PP,handlers:{divider:function(){const et=this.quill,Se=et.getSelection(!0),Ze=et.getModule("table"),at=Ze&&(()=>{try{return!!Ze.getTable(Se)[0]}catch{return!1}})();at||et.insertText(Se.index,`
|
348
|
+
`,$e.sources.USER);const gt=at?0:1;et.insertEmbed(Se.index+gt,"divider",!0,$e.sources.USER),et.setSelection(Se.index+gt+1,0,$e.sources.SILENT)}}}}}),[ue]),It=I.useCallback((et,Se,Ze,at)=>{var _t;if(!Ae||Ze!=="user")return;const gt=at.getContents(),Tt=at.getHTML(),je=((_t=gt.ops)==null?void 0:_t.length)===1&>.ops[0].insert===`
|
349
|
+
`;if(ke){const Mt=St(gt);ke(Mt>xt)}Ae(je?"":Tt),ft(gt)},[St,xt,ke,Ae]),Ct=I.useMemo(()=>q==="Med"?8:12.5,[q]),ct=I.useCallback(et=>{if(!et)return;const Se=et.getEditor();if(!Se)return;const Ze=[],at={input:nr=>{const Zt=nr.target;Zt.value=Zt.value.replace(/[^0-9]/g,"");const he=parseInt(Zt.value);he>100&&(Zt.value="100"),he<1&&(Zt.value="1")},keyDown:nr=>{if(nr.key!=="Delete"&&nr.key!=="Backspace")return;const Zt=document.querySelector("#image-resizer");if(!Zt)return;const he=Zt.getBoundingClientRect(),te=document.querySelectorAll(".ql-editor img"),Fe=Array.from(te).find(Xe=>{const Lt=Xe.getBoundingClientRect();return Math.abs(Lt.left-he.left)<5&&Math.abs(Lt.top-he.top)<5});if(Fe){Zt.style.display="none";const Xe=$e.find(Fe),Lt=Se.getIndex(Xe);Xe.remove(),Se.setSelection(Lt,0,$e.sources.USER)}},formatExpand:nr=>{const Zt=Se.getFormat();nr.forEach(he=>{if(Zt[he]){const te=Zt[he],Fe=`.ql-${he}`,Xe=document.querySelector(`${Fe} .ql-picker-label`),Lt=document.querySelectorAll(`${Fe} .ql-picker-item`),vt=Array.from(Lt).find(wt=>wt.getAttribute("data-value")===te);vt&&(vt.classList.add("ql-selected"),Xe==null||Xe.classList.add("ql-active"))}})},resizeToolbar:nr=>{requestAnimationFrame(()=>{for(const Zt of nr)N(Zt.contentRect.height+Ct*2)})}},gt=Se.root,Tt=document.querySelector(".ql-snow.ql-toolbar"),je=document.querySelector("#image-resizer .input-wrapper input"),_t=new ResizeObserver(at.resizeToolbar),Mt=["header","color"],vr=[];return gt==null||gt.addEventListener("keydown",at.keyDown),je==null||je.addEventListener("input",at.input),_t.observe(Tt),Mt.forEach(nr=>{const Zt=document.querySelector(`.ql-${nr} .ql-picker-label`);Zt&&(Zt.addEventListener("click",()=>at.formatExpand(Mt)),vr.push(Zt))}),Ze.push(()=>{gt==null||gt.removeEventListener("keydown",at.keyDown),je==null||je.removeEventListener("input",at.input),_t.disconnect(),vr.forEach(nr=>nr.removeEventListener("click",()=>at.formatExpand(Mt)))}),()=>Ze.forEach(nr=>nr())},[Ct]),ut=I.useCallback(et=>{i&&(typeof i=="function"?i(et):i.current=et),et&&ct(et)},[i,ct]);return v.jsx(Uc,{helperText:C,label:_,wrapType:D,labelProps:S,errorMessage:t,wrapProps:{...T,style:{...T==null?void 0:T.style,minHeight:"fit-content",height:"100%"}},children:v.jsxs(Ur,{...Y,className:qe.clsx(Y.className,Wn.AEditorContainer),style:{...A,height:Ke},children:[v.jsx(bh,{...M,ref:ut,className:qe.clsx(M==null?void 0:M.className,Wn.AEditor,Wn[Oe]),formats:OP,modules:mt,placeholder:h,readOnly:ue,theme:"snow",value:Je,style:{"--icon-size":`${q==="Med"?18:24}px`,"--toolbar-padding":`${Ct}px`,"--content-height":ce?`${ce-ee}px`:"100%","--max-height":k?`${Ye}px`:void 0,"--default-text":`'${hn.AEditor.Default}'`,"--arrow-background":`url("data:image/svg+xml,${encodeURIComponent(Os.renderToString(v.jsx(Br,{icon:"EditorArrow"})))}`},onChange:It}),O&&v.jsxs(v.Fragment,{children:[v.jsx("div",{ref:Ie,className:Wn.Resizer,style:{height:ee,bottom:u&&!ue?ie:0},onMouseDown:ht}),ge&&v.jsx("div",{className:qe.clsx(Wn.Indicator,"NoSelect","Caption"),style:{bottom:u&&!ue?ie+2:2},children:`${Math.round(ce)}px`})]}),u&&!ue&&v.jsx("div",{className:qe.clsx(Wn.LimitContainer,"NoSelect"),style:{marginTop:ne,minHeight:K},children:v.jsxs(Xl,{className:Wn.Limit,children:["(",v.jsx("span",{className:Le?Wn.Error:void 0,children:nm(St(Je))})," / ",nm(xt),")"]})})]})})};function jP(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}function FP(r){const e=$e.import("formats/header");return e.whitelist=r,e}const nm=r=>{if(!r)return"0 bytes";const e=["bytes","KB","MB","GB","TB","PB","EB","ZB","YB","RB","QB"];let t=0;for(;r>=1024&&t<e.length-1;)r/=1024,t++;return`${t===0?Math.floor(r):r.toFixed(1)} ${e[t]}`};function eh(r,e){Array.isArray(r)||(r=[r]);for(const t of r){if(e(t))return t;if(!t.children||t.children.length<1)continue;const n=eh(t.children,e);if(n)return n}}function sd(r,e){Array.isArray(r)||(r=[r]);for(const t of r)e(t),!(!t.children||t.children.length<1)&&sd(t.children,e)}function uS(r,e){Array.isArray(r)||(r=[r]);const t=[];return sd(r,(n,i)=>t.push(e(n,i))),t}function fS(r,e){Array.isArray(r)||(r=[r]);for(const t of r){if(!e(t))return!1;if(!(!t.children||t.children.length<1)&&!fS(t.children,e))return!1}return!0}function BP(r,e){Array.isArray(r)||(r=[r]);const t=[];return sd(r,(n,i)=>{e(n,i)&&t.push(n)}),t}function qP(r){Array.isArray(r)||(r=[r]);let e=0;return sd(r,()=>e++),e}function HP(r,e,t,n){if(n(e,t))return null;Array.isArray(r)||(r=[r]);const i=eh(r,u=>{var h;return(h=u.children)==null?void 0:h.some(g=>n(g,e))}),l=eh(r,u=>{var h;return(h=u.children)==null?void 0:h.some(g=>n(g,t))});if(i===void 0&&l===void 0){const u=r.findIndex(g=>n(g,e)),h=r.findIndex(g=>n(g,t));return r.splice(u,1),r.splice(h,0,e),[...r]}else if(i!==void 0&&l!==void 0&&n(i,l)&&i.children){const u=i.children.findIndex(g=>n(g,e)),h=i.children.findIndex(g=>n(g,t));return u===void 0||h===void 0?null:(i.children.splice(u,1),i.children.splice(h,0,e),i.children=[...i.children],[...r])}return null}function zP(r,e,t){const n=[],i=[...e];for(;i.length>0;){const l=i.shift();if(l&&!n.find(u=>t(u,l))&&(n.push(l),!(!l.children||l.children.length<1)))for(const u of l.children)i.push(u)}return n}function $P(r,e,t){Array.isArray(r)||(r=[r]);const n=uS(r,u=>u),i=[],l=[...e];for(;l.length>0;){const u=l.shift();if(!u||i.find(g=>t(g,u)))continue;i.push(u);const h=n.find(g=>{var m;return(m=g.children)==null?void 0:m.some(M=>t(M,u))});h&&l.push(h)}return i}const Qa={find:eh,forEach:sd,map:uS,every:fS,filter:BP,length:qP,replace:HP,descendants:zP,ancestors:$P},UP="_AWrap_f5le3_1",WP="_AContainer_f5le3_10",VP="_ATree_f5le3_18",GP="_ATreeBody_f5le3_30",ZP="_CoverBorder_f5le3_36",YP="_InsertBorder_f5le3_45",KP="_ATreeHeader_f5le3_76",XP="_ATreeBodyHeader_f5le3_82",JP="_ATreeBodyHeaderResources_f5le3_92",QP="_ATreeItem_f5le3_98",eN="_IsSelectUsed_f5le3_114",tN="_IsSelected_f5le3_117",rN="_IsSearchSelected_f5le3_122",nN="_IsHovered_f5le3_133",iN="_CheckBox_f5le3_137",oN="_Indents_f5le3_149",sN="_ExpandIcon_f5le3_156",aN="_Content_f5le3_168",lN="_RightSticky_f5le3_177",cN="_SearchInputWrap_f5le3_188",uN="_SearchInput_f5le3_188",fN="_RightAddon_f5le3_200",dN="_RightAddonIcon_f5le3_211",hN="_Loader_f5le3_218",fn={AWrap:UP,AContainer:WP,ATree:VP,ATreeBody:GP,CoverBorder:ZP,InsertBorder:YP,ATreeHeader:KP,ATreeBodyHeader:XP,ATreeBodyHeaderResources:JP,ATreeItem:QP,IsSelectUsed:eN,IsSelected:tN,IsSearchSelected:rN,IsHovered:nN,CheckBox:iN,Indents:oN,ExpandIcon:sN,Content:aN,RightSticky:lN,SearchInputWrap:cN,SearchInput:uN,RightAddon:fN,RightAddonIcon:dN,Loader:hN},pN=r=>{const{isEqual:e,item:t,selectDisabled:n,selectUnused:i,isParentDisabled:l,indents:u,extIndents:h,useExpand:g,useSelect:m,useSearch:M,onDragStart:T,onDragOver:C,onDragEnd:_,showCheckbox:S,icons:D,iconWidth:A,isSelectMulti:b,isDraggable:k,isParentCheckHovered:O,hoverdItem:H,onMouseOver:q,onMouseLeave:G,ContentRenderer:Y,TreeItemRenderer:ue,RightStickyAddon:ee,resources:fe,containerRef:N,TreeItemStyle:re,TreeItemClassName:K,searchItemStyle:ne,searchItemClassName:ie,height:ce}=r,{children:me}=I.useMemo(()=>t,[t]),[le,be]=I.useMemo(()=>g,[g]),[ge,xe]=I.useMemo(()=>m,[m]),[Ie,Pe]=I.useMemo(()=>M,[M]),Ve=I.useMemo(()=>i?i(t):!1,[i,t]),Ee=I.useMemo(()=>!n||l?l:n(t),[n,l,t]),ot=I.useMemo(()=>le.some(je=>e(je,t)),[le,e,t]),ht=I.useMemo(()=>!me||me.length<1?"noChild":ot?"expanded":"collapsed",[me,ot]),Ke=I.useMemo(()=>{const je=D[ht];return am.includes(je)?v.jsx(Br,{style:{width:A,height:A},icon:je}):je},[D,A,ht]),Ye=I.useCallback(je=>{!be||ht==="noChild"||(be(ot?le.filter(_t=>!e(_t,t)):[...le,t]),je.stopPropagation())},[be,le,ot,t,e,ht]),Oe=I.useMemo(()=>ge.some(je=>e(je,t)),[ge,e,t]),Ne=I.useCallback(()=>{!xe||Ee||(xe(b?Oe?ge.filter(je=>!e(je,t)):[...ge,t]:[t]),Ie&&Pe&&Ie.items.some(je=>e(je,t))&&Pe({...Ie,item:t}))},[b,Ee,Oe,Ie,Pe,xe,e,ge,t]),Ae=I.useMemo(()=>Ie==null?void 0:Ie.items.some(je=>e(je,t)),[Ie,e,t]),Le=I.useMemo(()=>Ae&&(Ie==null?void 0:Ie.item)&&e(Ie.item,t),[Ae,Ie,e,t]),ke=I.useRef(null);I.useEffect(()=>{setTimeout(()=>{if(Le&&ke.current&&N.current){const{top:je,bottom:_t}=ke.current.getBoundingClientRect(),{top:Mt,bottom:vr}=N.current.getBoundingClientRect();(je<Mt||_t>vr)&&ke.current.scrollIntoView({behavior:"smooth",block:"center"})}},10)},[N,Le]);const[Je,ft]=I.useState(!1),xt=I.useCallback(()=>!Ee&&ft(!0),[Ee]),St=I.useCallback(()=>!Ee&&ft(!1),[Ee]),mt=I.useMemo(()=>Qa.map(t,je=>je).filter(je=>!(n!=null&&n(je))&&!(i!=null&&i(je))),[n,i,t]),It=I.useMemo(()=>!S||!b?!1:Oe&&mt.some(je=>ge.some(_t=>e(je,_t)))&&mt.some(je=>!ge.some(_t=>e(je,_t))),[S,b,Oe,mt,e,ge]),Ct=I.useMemo(()=>S?b?mt.every(je=>ge.some(_t=>e(je,_t))):ge.some(je=>e(je,t)):!1,[S,b,mt,t,e,ge]),ct=I.useCallback(()=>{if(!(!xe||Ee))if(b)if(Oe){const je=ge.filter(_t=>!(i!=null&&i(_t))&&!(n!=null&&n(_t))&&mt.some(Mt=>e(Mt,_t)));je.length>0&&xe(ge.filter(_t=>!je.some(Mt=>e(_t,Mt))))}else{const je=mt.filter(_t=>!(i!=null&&i(_t))&&!(n!=null&&n(_t))&&!ge.some(Mt=>e(Mt,_t)));je.length>0&&xe([...ge,...je])}else xe([t])},[Ee,n,i,b,xe,e,Oe,ge,mt,t]),ut=I.useCallback(je=>{Ee||ct(),je.stopPropagation()},[Ee,ct]),et=I.useMemo(()=>{if(!S||!b||Ee)return"";if(Oe){const _t=ge.filter(Mt=>!(i!=null&&i(Mt))&&!(n!=null&&n(Mt))&&mt.some(vr=>e(vr,Mt)));if(_t.length>0)return fe["deselect n"](_t.length)}const je=mt.filter(_t=>!(i!=null&&i(_t))&&!(n!=null&&n(_t))&&!ge.some(Mt=>e(Mt,_t)));return fe["select n"](je.length)},[n,i,fe,Ee,S,b,Oe,mt,e,ge]),Se=I.useMemo(()=>kr.getContent(ee,r),[ee,r]),Ze=I.useMemo(()=>kr.getContent(re,r),[r,re]),at=I.useMemo(()=>kr.getContent(K,r),[r,K]),gt=I.useMemo(()=>kr.getContent(ie,r),[r,ie]),Tt=I.useMemo(()=>kr.getContent(ne,r),[r,ne]);return v.jsxs(I.Fragment,{children:[v.jsxs(Ur,{className:qe.clsx(fn.ATreeItem,Oe&&fn.IsSelected,!Ee&&(Je||O)&&fn.IsHovered,Ae&&fn.IsSearched,Le&&(gt||fn.IsSearchSelected),!Ve&&fn.IsSelectUsed,"NoSelect",at),style:{...Ze,...Le&&Tt,"--ATreeItem_height":`${ce}px`},draggable:k,onDragStart:()=>T==null?void 0:T(t),onDragEnter:je=>C==null?void 0:C(je,t),onDragEnd:je=>_==null?void 0:_(je,t),onClick:Ne,abaseRef:ke,isDisabled:Ee,onMouseOver:je=>q==null?void 0:q(je,t),onMouseLeave:je=>G==null?void 0:G(je,t),children:[S&&v.jsx(Uu,{style:{visibility:Ee||Ve?"hidden":"visible",zIndex:Ee||Ve?0:2},className:fn.CheckBox,useCheck:[+Ct,ct],onClick:ut,isIndeterminate:It,onMouseOver:xt,onMouseOut:St,tooltip:et,isDisabled:Ee}),v.jsx("div",{className:fn.Indents,style:{paddingLeft:S?0:r.icons.noChild?12:0},children:u.map((je,_t)=>{const Mt=_t===u.length-1;return v.jsx(I2,{value:je,map:{Collapsed:h?h({iconWidth:A}).collapsed:v.jsx(mN,{iconWidth:A}),Expanded:h?h({iconWidth:A,isLast:Mt}).expanded:v.jsx(gN,{iconWidth:A,isLast:Mt}),IsLast:h?h({iconWidth:A}).isLast:v.jsx(vN,{iconWidth:A})}},_t)})}),Ke&&v.jsx("div",{className:fn.ExpandIcon,style:{width:A,minWidth:A,maxWidth:A},onClick:Ye,children:Ke}),v.jsx("div",{className:qe.clsx(fn.Content,"NoSelect"),children:v.jsx(Y,{isEqual:e,item:t,indents:u,extIndents:h,useExpand:g,useSelect:m,useSearch:M,onDragStart:T,onDragOver:C,onDragEnd:_,showCheckbox:S,icons:D,iconWidth:A,isSelectMulti:b,isDraggable:k,isParentCheckHovered:b&&(Je||O),hoverdItem:H,onMouseOver:q,onMouseLeave:G,ContentRenderer:Y,TreeItemRenderer:ue,RightStickyAddon:ee,resources:fe,containerRef:N,TreeItemStyle:re,TreeItemClassName:K,searchItemClassName:gt,searchItemStyle:ne,height:ce})}),Se&&v.jsx("div",{className:fn.RightSticky,children:Se})]}),ot&&(me==null?void 0:me.map((je,_t)=>v.jsx(ue,{isEqual:e,item:je,selectDisabled:n,selectUnused:i,indents:[...u.map(Mt=>Mt==="IsLast"?"Collapsed":Mt),_t===me.length-1?"IsLast":"Expanded"],extIndents:h,ContentRenderer:Y,useExpand:g,useSelect:m,useSearch:M,onDragStart:T,onDragOver:C,onDragEnd:_,showCheckbox:S,icons:D,iconWidth:A,isSelectMulti:b,isDraggable:k,isParentCheckHovered:b&&(Je||O),hoverdItem:H,onMouseOver:q,onMouseLeave:G,TreeItemRenderer:ue,RightStickyAddon:ee,resources:fe,containerRef:N,TreeItemStyle:re,TreeItemClassName:K,searchItemClassName:gt,searchItemStyle:ne,height:ce},_t)))]})},gN=({iconWidth:r,isLast:e})=>v.jsx("div",{style:{width:r/8*3,height:"100%",borderLeft:"var(--ATree_Indent_border)",marginLeft:r/2,marginRight:r/8,boxSizing:"border-box",transition:"border-color var(--Transition)"},children:e&&v.jsx("div",{style:{borderBottom:"var(--ATree_Indent_border)",height:"50%",transition:"border-color var(--Transition)"}})}),mN=({iconWidth:r})=>v.jsx("div",{style:{width:r,height:"100%",borderLeft:"none",marginLeft:0,transition:"border-color var(--Transition)"}}),vN=({iconWidth:r})=>v.jsx("div",{style:{width:r/8*3,height:"50%",borderLeft:"var(--ATree_Indent_border)",borderBottom:"var(--ATree_Indent_border)",marginLeft:r/2,marginRight:r/8,boxSizing:"border-box",transition:"border-color var(--Transition)"}}),yN=r=>{const{isEqual:e,searchResult:t,initSearch:n,searchUp:i,searchDown:l,searchEnter:u,isDisabled:h,isLoading:g,resources:m,maxLength:M,autoFocus:T}=r,C=I.useCallback(D=>{D.key==="Enter"?u():D.key==="ArrowDown"?l():D.key==="ArrowUp"&&i(),D.preventDefault(),D.stopPropagation()},[l,u,i]),_=I.useCallback(D=>{n(D)},[n]),S=I.useMemo(()=>h||g?-1:void 0,[h,g]);return v.jsx(Jl,{className:fn.SearchInput,wrapProps:{className:fn.SearchInputWrap},isDisabled:h,tabIndex:S,useValue:[(t==null?void 0:t.keyword)??"",_],onKeyDown:C,placeholder:m["Search(Placeholder)"],RightAddon:v.jsx(bN,{isEqual:e,searchResult:t,searchUp:i,searchDown:l,searchEnter:u,resources:m}),maxLength:M,autoFocus:T})},bN=r=>{const{isEqual:e,searchResult:t,searchUp:n,searchDown:i,searchEnter:l,resources:u}=r,h=I.useMemo(()=>!t||t.items.length<1?0:t.items.findIndex(S=>t.item&&e(S,t.item))+1,[t,e]),g=I.useMemo(()=>!t||t.items.length<1?0:t.items.length,[t]),m=I.useMemo(()=>h<2,[h]),M=I.useMemo(()=>h>=g,[h,g]),T=I.useCallback(S=>{S.stopPropagation(),!m&&n()},[n,m]),C=I.useCallback(S=>{S.stopPropagation(),!M&&i()},[i,M]),_=I.useCallback(S=>{S.stopPropagation(),l()},[l]);return v.jsx("div",{className:qe.clsx(fn.RightAddon,"NoSelect"),children:t?v.jsxs(v.Fragment,{children:[h,"/",g,v.jsx(Ur,{onClick:T,isDisabled:m,children:v.jsx(Br,{className:fn.RightAddonIcon,icon:"ArrowUp",mask:""})}),v.jsx(Ur,{onClick:C,isDisabled:M,children:v.jsx(Br,{className:fn.RightAddonIcon,icon:"ArrowDown"})})]}):v.jsx(vo,{type:"Raw",className:fn.RightAddonIcon,style:{marginRight:4},icon:"Search",onClick:_,tooltip:u["Search(Button)"]})})},_N=r=>{var Wr;const{pk:e,selectDisabled:t,selectUnused:n,useItems:i,useExpand:l,useSelect:u,useSearch:h,showCheckbox:g,iconWidth:m=24,icons:M={noChild:"Folder",collapsed:"FolderCopy",expanded:"FolderOpen"},indents:T,isSelectMulti:C=!1,noSearch:_=!1,isDraggable:S,noSyncSearchSelect:D=!1,actionRef:A,placeholder:b,searchPredicate:k=SN,isDisabled:O,isLoading:H,ContentRenderer:q=xN,TreeItemRenderer:G=pN,RightStickyAddon:Y,TopRightAddon:ue,TreeTopAddon:ee,resources:fe,maxLength:N,autoFocus:re,TreeItemStyle:K,TreeItemClassName:ne,OverflowPadding:ie,insertBorder:ce,width:me,searchItemClassName:le,searchItemStyle:be,height:ge=40,...xe}=r,Ie=I.useMemo(()=>({...hn.ATree,...fe}),[fe]),Pe=I.useCallback((st,Rt)=>e!==void 0?Array.isArray(e)?e.every(bt=>el.isEqual(st[bt],Rt[bt])):el.isEqual(st[e],Rt[e]):el.isEqual(st,Rt),[e]),Ve=I.useRef(null),[Ee,ot]=pn(i,[]),ht=I.useMemo(()=>Qa.map(Ee,st=>st),[Ee]),[Ke,Ye]=pn(l,[]),[Oe,Ne]=pn(u,[]),[Ae,Le]=pn(h,void 0),ke=I.useCallback(st=>{if(O||!Ye||Ke.some(Qe=>Pe(Qe,st)))return;const Rt=[];let bt=st;for(;bt;){const Qe=bt;Ke.find(Nt=>Pe(Nt,Qe))||Rt.push(Qe),bt=ht.find(Nt=>{var Q;return(Q=Nt.children)==null?void 0:Q.some(He=>Pe(He,Qe))})}Ye([...Ke,...Rt])},[Ke,O,Pe,Ye,ht]),Je=I.useCallback(()=>{!Ye||O||Ye([...ht])},[ht,O,Ye]),ft=I.useCallback(()=>{!Ye||O||Ye([])},[Ye,O]),xt=I.useCallback(st=>{!Ne||O||n!=null&&n(st)||(Ne([st]),ke(st))},[Ne,O,n,ke]),St=I.useCallback(st=>{if(!Le||O)return;if(!st||_){Le(void 0),D||Ne==null||Ne([]);return}const Rt=Qa.filter(Ee,Qe=>k(st,Qe));let bt;if(Rt.find(Qe=>(Ae==null?void 0:Ae.item)&&Pe(Qe,Ae.item))?bt=Ae==null?void 0:Ae.item:Rt.length>0&&(bt=Rt[0]),Le({keyword:st,items:Rt,item:bt}),bt&&ke(bt),Ne&&!D)if(C)Ne(Rt);else{const Qe=Rt.find(Nt=>bt&&Pe(Nt,bt));Ne(Qe?[Qe]:[])}},[Ee,O,Pe,k,Le,Ne,ke,D,_,C,Ae]),mt=I.useRef(!1);I.useEffect(()=>{mt.current=!0},[Ee]),I.useEffect(()=>{Ae&&mt.current&&(St(Ae.keyword),mt.current=!1)},[St,Ae]);const It=I.useCallback(()=>{if(!Ae||!Le||O)return;let st=Ae.items.findIndex(Rt=>Ae.item&&Pe(Rt,Ae.item))-1;st<0||(Le({...Ae,item:Ae.items[st]}),ke(Ae.items[st]),D||xt(Ae.items[st]))},[Ae,ke,Le,O,xt,Pe,D]),Ct=I.useCallback(()=>{if(!Ae||!Le||O)return;let st=Ae.items.findIndex(Rt=>Ae.item&&Pe(Rt,Ae.item))+1;st>=Ae.items.length||(Le({...Ae,item:Ae.items[st]}),ke(Ae.items[st]),D||xt(Ae.items[st]))},[Ae,ke,O,Le,xt,Pe,D]),ct=I.useCallback(()=>{if(!Ae||!Le||O)return;let st=Ae.items.findIndex(bt=>Ae.item&&Pe(bt,Ae.item));if(!D||n!=null&&n(Ae.items[st])){Ct();return}if(Oe.some(bt=>Ae.item&&Pe(bt,Ae.item))){let bt=st+1;const Qe=Ae.items[bt];if(bt>=Ae.items.length)return;Le({...Ae,item:Qe}),xt(Qe)}else xt(Ae.items[st])},[Ae,Le,O,Oe,D,Ct,Pe,xt,n]),[ut,et]=I.useState(!1),Se=I.useCallback(()=>et(!0),[]),Ze=I.useCallback(()=>et(!1),[]),at=I.useMemo(()=>n?Qa.map(Ee,st=>st).filter(st=>!n(st)):t?Qa.map(Ee,st=>st).filter(st=>!t(st)):Qa.map(Ee,st=>st),[n,t,Ee]),gt=I.useMemo(()=>!g||!C?!1:Oe.length>0&&at.length>Oe.length,[g,C,Oe,at]),Tt=I.useMemo(()=>!g||!C?!1:Oe.length>0&&at.length===Oe.length,[g,C,Oe,at]),je=I.useCallback(()=>{if(!Ne||!C||O)return;const st=Oe.filter(Rt=>!(n!=null&&n(Rt))&&!(t!=null&&t(Rt))&&at.some(bt=>Pe(bt,Rt)));if(st.length>0)Ne(Oe.filter(Rt=>!st.some(bt=>Pe(Rt,bt))));else{const Rt=at.filter(bt=>!(n!=null&&n(bt))&&!(t!=null&&t(bt))&&!Oe.some(Qe=>Pe(Qe,bt)));Rt.length>0&&Ne([...Oe,...Rt])}},[C,O,n,t,Ne,Oe,at,Pe]),_t=I.useMemo(()=>{if(!g||!C||O)return"";const st=Oe.filter(Rt=>!(n!=null&&n(Rt))&&!(t!=null&&t(Rt))&&at.some(bt=>Pe(bt,Rt)));if(st.length>0)return Ie["deselect n"](st.length);{const Rt=at.filter(bt=>!(n!=null&&n(bt))&&!(t!=null&&t(bt))&&!Oe.some(Qe=>Pe(Qe,bt)));return Ie["select n"](Rt.length)}},[n,t,O,Ie,g,C,at,Oe,Pe]),[Mt,vr]=I.useState(null),[nr,Zt]=I.useState(null),he=I.useCallback(st=>{!S||O||vr(st)},[O,S]),te=I.useCallback((st,Rt)=>{if(!S||O||!Mt||(st.preventDefault(),st.stopPropagation(),Zt(Rt),!ot))return;const bt=Qa.replace(Ee,Mt,Rt,Pe);bt&&ot(bt)},[S,Ee,Mt,O,ot,Pe]),Fe=I.useCallback(()=>{if(!S||O||!Mt||!nr||!ot||Pe(Mt,nr))return;const st=Qa.replace(Ee,Mt,nr,Pe);st&&(ot(st),vr(null))},[S,ot,Ee,Mt,nr,Pe,O]);I.useEffect(()=>{var st;g||(st=Ve.current)==null||st.scrollTo(0,0)},[g,Ve]),I.useEffect(()=>{!C&&Oe.length>1&&(Ne==null||Ne([Oe[Oe.length-1]]))},[C,Ne,Oe]),I.useEffect(()=>{A&&(A.current={expandAll:Je,collapseAll:ft})},[A,Je,ft]),I.useEffect(()=>{if(!t||!Ne)return;const st=Oe.filter(Rt=>!t(Rt));Oe.length!==st.length&&Ne(st)},[t,Oe,Ne]),I.useEffect(()=>{if(!n||!Ne)return;const st=Oe.filter(Rt=>!n(Rt));Oe.length!==st.length&&Ne(st)},[n,Oe,Ne]),I.useEffect(()=>{Le&&Le(void 0)},[Le]);const[Xe,Lt]=I.useState(!1);I.useEffect(()=>{Lt(st=>!st)},[Ee]);const[vt,wt]=I.useState(null),Gt=I.useCallback((st,Rt)=>{O||(st.stopPropagation(),st.preventDefault(),wt(Rt))},[O]),Ft=I.useCallback((st,Rt)=>{vt===null||O||Pe(Rt,vt)&&(st.stopPropagation(),st.preventDefault(),wt(null))},[vt,O,Pe]),sr=I.useRef(null),[dr,Rr]=I.useState(!1),[ur,xr]=I.useState((Wr=sr.current)==null?void 0:Wr.scrollHeight);return I.useEffect(()=>{if(Ke.length<0)return;const st=Ve.current,Rt=sr.current,bt=st.clientHeight<Rt.clientHeight;xr(bt?Rt.scrollHeight:st.clientHeight),Rr(bt)},[Ke]),v.jsxs(Ur,{...xe,isDisabled:O,className:qe.clsx(xe.className,fn.AWrap),children:[(!_||ue)&&v.jsxs(si,{className:fn.ATreeHeader,children:[!_&&v.jsx(yN,{isEqual:Pe,searchResult:Ae,initSearch:St,searchUp:It,searchDown:Ct,searchEnter:ct,isLoading:H,isDisabled:O,resources:Ie,maxLength:N,autoFocus:re}),!_&&ue&&v.jsx(mn,{w:8}),ue]}),(!_||ue||g&&C||S)&&v.jsx(hm,{isLoading:H&&Ee.length!==0}),(g&&C||S)&&v.jsxs("div",{className:qe.clsx(fn.ATreeBodyHeader,"NoSelect"),children:[g&&v.jsx(Uu,{className:fn.CheckBox,useCheck:[+Tt,()=>je()],isIndeterminate:gt,onMouseOver:Se,onMouseOut:Ze,isDisabled:O,tooltip:_t}),Ie.Items,v.jsx(Yc,{}),v.jsxs("div",{className:qe.clsx(fn.ATreeBodyHeaderResources,"NoSelect"),style:{marginRight:dr?8:0},children:[v.jsx("span",{children:g&&Ie["*Click row for single select"]}),v.jsx("span",{children:S&&Ie["*Change order to row drag"]})]})]}),v.jsx("div",{ref:Ve,className:qe.clsx(xe.className,fn.AContainer),children:v.jsxs("div",{className:fn.ATree,style:{minWidth:me||"fit-content",marginRight:ie&&dr?8:0},children:[v.jsxs("div",{ref:sr,className:fn.ATreeBody,children:[Ee.length===0?H?v.jsx(CN,{text:Ie["Loading Contents..."]}):b:ee,Ee.map((st,Rt)=>v.jsx(G,{isEqual:Pe,indents:[],extIndents:T,item:st,selectDisabled:t,selectUnused:n,isParentDisabled:O,useExpand:[Ke,Ye],useSelect:[Oe,Ne],useSearch:[Ae,Le],onDragStart:he,onDragOver:te,onDragEnd:Fe,showCheckbox:g,icons:M,iconWidth:m,isSelectMulti:C,isDraggable:S,isParentCheckHovered:C&&ut,ContentRenderer:q,TreeItemRenderer:G,RightStickyAddon:Y,resources:Ie,containerRef:Ve,TreeItemStyle:K,TreeItemClassName:ne,hoverdItem:vt,onMouseOver:Gt,onMouseLeave:Ft,searchItemClassName:le,searchItemStyle:be,height:ge},`${Rt}${Xe}`))]}),ce&&v.jsxs(v.Fragment,{children:[v.jsx("div",{className:fn.CoverBorder}),v.jsx("div",{className:fn.InsertBorder,style:{"--InsertBorder_height":`${ge}px`,height:dr?ur:"100%"}})]})]})})]})},xN=r=>{const{item:e}=r,t={};return Xt.keys(e).forEach(n=>{n!=="children"&&(t[n]=e[n])}),JSON.stringify(t)};function SN(r,e){return Xt.some(e,(t,n)=>{var i;return(i=Xt.stringify(n))==null?void 0:i.toLowerCase().includes(r.toLowerCase())})}const CN=r=>{const{text:e}=r;return v.jsxs(si,{className:qe.clsx(fn.Loader,"NoSelect"),children:[v.jsx(Br,{icon:"Spinner",style:{height:40},height:40,width:40}),v.jsx(z2,{text:e})]})};var $g,Gb;function Qu(){return Gb||(Gb=1,$g=TypeError),$g}const wN={},AN=Object.freeze(Object.defineProperty({__proto__:null,default:wN},Symbol.toStringTag,{value:"Module"})),TN=t4(AN);var Ug,Zb;function _h(){if(Zb)return Ug;Zb=1;var r=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,t=r&&e&&typeof e.get=="function"?e.get:null,n=r&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,l=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=i&&l&&typeof l.get=="function"?l.get:null,h=i&&Set.prototype.forEach,g=typeof WeakMap=="function"&&WeakMap.prototype,m=g?WeakMap.prototype.has:null,M=typeof WeakSet=="function"&&WeakSet.prototype,T=M?WeakSet.prototype.has:null,C=typeof WeakRef=="function"&&WeakRef.prototype,_=C?WeakRef.prototype.deref:null,S=Boolean.prototype.valueOf,D=Object.prototype.toString,A=Function.prototype.toString,b=String.prototype.match,k=String.prototype.slice,O=String.prototype.replace,H=String.prototype.toUpperCase,q=String.prototype.toLowerCase,G=RegExp.prototype.test,Y=Array.prototype.concat,ue=Array.prototype.join,ee=Array.prototype.slice,fe=Math.floor,N=typeof BigInt=="function"?BigInt.prototype.valueOf:null,re=Object.getOwnPropertySymbols,K=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ne=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ie=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ne||!0)?Symbol.toStringTag:null,ce=Object.prototype.propertyIsEnumerable,me=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(he){return he.__proto__}:null);function le(he,te){if(he===1/0||he===-1/0||he!==he||he&&he>-1e3&&he<1e3||G.call(/e/,te))return te;var Fe=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof he=="number"){var Xe=he<0?-fe(-he):fe(he);if(Xe!==he){var Lt=String(Xe),vt=k.call(te,Lt.length+1);return O.call(Lt,Fe,"$&_")+"."+O.call(O.call(vt,/([0-9]{3})/g,"$&_"),/_$/,"")}}return O.call(te,Fe,"$&_")}var be=TN,ge=be.custom,xe=ke(ge)?ge:null,Ie={__proto__:null,double:'"',single:"'"},Pe={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Ug=function he(te,Fe,Xe,Lt){var vt=Fe||{};if(xt(vt,"quoteStyle")&&!xt(Ie,vt.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(xt(vt,"maxStringLength")&&(typeof vt.maxStringLength=="number"?vt.maxStringLength<0&&vt.maxStringLength!==1/0:vt.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var wt=xt(vt,"customInspect")?vt.customInspect:!0;if(typeof wt!="boolean"&&wt!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(xt(vt,"indent")&&vt.indent!==null&&vt.indent!==" "&&!(parseInt(vt.indent,10)===vt.indent&&vt.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(xt(vt,"numericSeparator")&&typeof vt.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Gt=vt.numericSeparator;if(typeof te>"u")return"undefined";if(te===null)return"null";if(typeof te=="boolean")return te?"true":"false";if(typeof te=="string")return at(te,vt);if(typeof te=="number"){if(te===0)return 1/0/te>0?"0":"-0";var Ft=String(te);return Gt?le(te,Ft):Ft}if(typeof te=="bigint"){var sr=String(te)+"n";return Gt?le(te,sr):sr}var dr=typeof vt.depth>"u"?5:vt.depth;if(typeof Xe>"u"&&(Xe=0),Xe>=dr&&dr>0&&typeof te=="object")return ht(te)?"[Array]":"[Object]";var Rr=vr(vt,Xe);if(typeof Lt>"u")Lt=[];else if(It(Lt,te)>=0)return"[Circular]";function ur(ar,fr,zr){if(fr&&(Lt=ee.call(Lt),Lt.push(fr)),zr){var gr={depth:vt.depth};return xt(vt,"quoteStyle")&&(gr.quoteStyle=vt.quoteStyle),he(ar,gr,Xe+1,Lt)}return he(ar,vt,Xe+1,Lt)}if(typeof te=="function"&&!Ye(te)){var xr=mt(te),Wr=Zt(te,ur);return"[Function"+(xr?": "+xr:" (anonymous)")+"]"+(Wr.length>0?" { "+ue.call(Wr,", ")+" }":"")}if(ke(te)){var st=ne?O.call(String(te),/^(Symbol\(.*\))_[^)]*$/,"$1"):K.call(te);return typeof te=="object"&&!ne?Tt(st):st}if(Ze(te)){for(var Rt="<"+q.call(String(te.nodeName)),bt=te.attributes||[],Qe=0;Qe<bt.length;Qe++)Rt+=" "+bt[Qe].name+"="+Ve(Ee(bt[Qe].value),"double",vt);return Rt+=">",te.childNodes&&te.childNodes.length&&(Rt+="..."),Rt+="</"+q.call(String(te.nodeName))+">",Rt}if(ht(te)){if(te.length===0)return"[]";var Nt=Zt(te,ur);return Rr&&!Mt(Nt)?"["+nr(Nt,Rr)+"]":"[ "+ue.call(Nt,", ")+" ]"}if(Oe(te)){var Q=Zt(te,ur);return!("cause"in Error.prototype)&&"cause"in te&&!ce.call(te,"cause")?"{ ["+String(te)+"] "+ue.call(Y.call("[cause]: "+ur(te.cause),Q),", ")+" }":Q.length===0?"["+String(te)+"]":"{ ["+String(te)+"] "+ue.call(Q,", ")+" }"}if(typeof te=="object"&&wt){if(xe&&typeof te[xe]=="function"&&be)return be(te,{depth:dr-Xe});if(wt!=="symbol"&&typeof te.inspect=="function")return te.inspect()}if(Ct(te)){var He=[];return n&&n.call(te,function(ar,fr){He.push(ur(fr,te,!0)+" => "+ur(ar,te))}),_t("Map",t.call(te),He,Rr)}if(et(te)){var pt=[];return h&&h.call(te,function(ar){pt.push(ur(ar,te))}),_t("Set",u.call(te),pt,Rr)}if(ct(te))return je("WeakMap");if(Se(te))return je("WeakSet");if(ut(te))return je("WeakRef");if(Ae(te))return Tt(ur(Number(te)));if(Je(te))return Tt(ur(N.call(te)));if(Le(te))return Tt(S.call(te));if(Ne(te))return Tt(ur(String(te)));if(typeof window<"u"&&te===window)return"{ [object Window] }";if(typeof globalThis<"u"&&te===globalThis||typeof yi<"u"&&te===yi)return"{ [object globalThis] }";if(!Ke(te)&&!Ye(te)){var Ot=Zt(te,ur),er=me?me(te)===Object.prototype:te instanceof Object||te.constructor===Object,Yt=te instanceof Object?"":"null prototype",Dt=!er&&ie&&Object(te)===te&&ie in te?k.call(St(te),8,-1):Yt?"Object":"",Kt=er||typeof te.constructor!="function"?"":te.constructor.name?te.constructor.name+" ":"",Mr=Kt+(Dt||Yt?"["+ue.call(Y.call([],Dt||[],Yt||[]),": ")+"] ":"");return Ot.length===0?Mr+"{}":Rr?Mr+"{"+nr(Ot,Rr)+"}":Mr+"{ "+ue.call(Ot,", ")+" }"}return String(te)};function Ve(he,te,Fe){var Xe=Fe.quoteStyle||te,Lt=Ie[Xe];return Lt+he+Lt}function Ee(he){return O.call(String(he),/"/g,""")}function ot(he){return!ie||!(typeof he=="object"&&(ie in he||typeof he[ie]<"u"))}function ht(he){return St(he)==="[object Array]"&&ot(he)}function Ke(he){return St(he)==="[object Date]"&&ot(he)}function Ye(he){return St(he)==="[object RegExp]"&&ot(he)}function Oe(he){return St(he)==="[object Error]"&&ot(he)}function Ne(he){return St(he)==="[object String]"&&ot(he)}function Ae(he){return St(he)==="[object Number]"&&ot(he)}function Le(he){return St(he)==="[object Boolean]"&&ot(he)}function ke(he){if(ne)return he&&typeof he=="object"&&he instanceof Symbol;if(typeof he=="symbol")return!0;if(!he||typeof he!="object"||!K)return!1;try{return K.call(he),!0}catch{}return!1}function Je(he){if(!he||typeof he!="object"||!N)return!1;try{return N.call(he),!0}catch{}return!1}var ft=Object.prototype.hasOwnProperty||function(he){return he in this};function xt(he,te){return ft.call(he,te)}function St(he){return D.call(he)}function mt(he){if(he.name)return he.name;var te=b.call(A.call(he),/^function\s*([\w$]+)/);return te?te[1]:null}function It(he,te){if(he.indexOf)return he.indexOf(te);for(var Fe=0,Xe=he.length;Fe<Xe;Fe++)if(he[Fe]===te)return Fe;return-1}function Ct(he){if(!t||!he||typeof he!="object")return!1;try{t.call(he);try{u.call(he)}catch{return!0}return he instanceof Map}catch{}return!1}function ct(he){if(!m||!he||typeof he!="object")return!1;try{m.call(he,m);try{T.call(he,T)}catch{return!0}return he instanceof WeakMap}catch{}return!1}function ut(he){if(!_||!he||typeof he!="object")return!1;try{return _.call(he),!0}catch{}return!1}function et(he){if(!u||!he||typeof he!="object")return!1;try{u.call(he);try{t.call(he)}catch{return!0}return he instanceof Set}catch{}return!1}function Se(he){if(!T||!he||typeof he!="object")return!1;try{T.call(he,T);try{m.call(he,m)}catch{return!0}return he instanceof WeakSet}catch{}return!1}function Ze(he){return!he||typeof he!="object"?!1:typeof HTMLElement<"u"&&he instanceof HTMLElement?!0:typeof he.nodeName=="string"&&typeof he.getAttribute=="function"}function at(he,te){if(he.length>te.maxStringLength){var Fe=he.length-te.maxStringLength,Xe="... "+Fe+" more character"+(Fe>1?"s":"");return at(k.call(he,0,te.maxStringLength),te)+Xe}var Lt=Pe[te.quoteStyle||"single"];Lt.lastIndex=0;var vt=O.call(O.call(he,Lt,"\\$1"),/[\x00-\x1f]/g,gt);return Ve(vt,"single",te)}function gt(he){var te=he.charCodeAt(0),Fe={8:"b",9:"t",10:"n",12:"f",13:"r"}[te];return Fe?"\\"+Fe:"\\x"+(te<16?"0":"")+H.call(te.toString(16))}function Tt(he){return"Object("+he+")"}function je(he){return he+" { ? }"}function _t(he,te,Fe,Xe){var Lt=Xe?nr(Fe,Xe):ue.call(Fe,", ");return he+" ("+te+") {"+Lt+"}"}function Mt(he){for(var te=0;te<he.length;te++)if(It(he[te],`
|
350
350
|
`)>=0)return!1;return!0}function vr(he,te){var Fe;if(he.indent===" ")Fe=" ";else if(typeof he.indent=="number"&&he.indent>0)Fe=ue.call(Array(he.indent+1)," ");else return null;return{base:Fe,prev:ue.call(Array(te+1),Fe)}}function nr(he,te){if(he.length===0)return"";var Fe=`
|
351
351
|
`+te.prev+te.base;return Fe+ue.call(he,","+Fe)+`
|
352
|
-
`+te.prev}function Zt(he,te){var Fe=pt(he),Xe=[];if(Fe){Xe.length=he.length;for(var Lt=0;Lt<he.length;Lt++)Xe[Lt]=xt(he,Lt)?te(he[Lt],he):""}var vt=typeof re=="function"?re(he):[],wt;if(ne){wt={};for(var Gt=0;Gt<vt.length;Gt++)wt["$"+vt[Gt]]=vt[Gt]}for(var Ft in he)xt(he,Ft)&&(Fe&&String(Number(Ft))===Ft&&Ft<he.length||ne&&wt["$"+Ft]instanceof Symbol||(G.call(/[^\w$]/,Ft)?Xe.push(te(Ft,he)+": "+te(he[Ft],he)):Xe.push(Ft+": "+te(he[Ft],he))));if(typeof re=="function")for(var sr=0;sr<vt.length;sr++)ce.call(he,vt[sr])&&Xe.push("["+te(vt[sr])+"]: "+te(he[vt[sr]],he));return Xe}return Ug}var Wg,Yb;function EN(){if(Yb)return Wg;Yb=1;var r=_h(),e=Qu(),t=function(h,g,m){for(var M=h,T;(T=M.next)!=null;M=T)if(T.key===g)return M.next=T.next,m||(T.next=h.next,h.next=T),T},n=function(h,g){if(h){var m=t(h,g);return m&&m.value}},i=function(h,g,m){var M=t(h,g);M?M.value=m:h.next={key:g,next:h.next,value:m}},l=function(h,g){return h?!!t(h,g):!1},u=function(h,g){if(h)return t(h,g,!0)};return Wg=function(){var g,m={assert:function(M){if(!m.has(M))throw new e("Side channel does not contain "+r(M))},delete:function(M){var T=g&&g.next,C=u(g,M);return C&&T&&T===C&&(g=void 0),!!C},get:function(M){return n(g,M)},has:function(M){return l(g,M)},set:function(M,T){g||(g={next:void 0}),i(g,M,T)}};return m},Wg}var Vg,Kb;function dS(){return Kb||(Kb=1,Vg=Object),Vg}var Gg,Xb;function kN(){return Xb||(Xb=1,Gg=Error),Gg}var Zg,Jb;function RN(){return Jb||(Jb=1,Zg=EvalError),Zg}var Yg,Qb;function IN(){return Qb||(Qb=1,Yg=RangeError),Yg}var Kg,e_;function LN(){return e_||(e_=1,Kg=ReferenceError),Kg}var Xg,t_;function MN(){return t_||(t_=1,Xg=SyntaxError),Xg}var Jg,r_;function DN(){return r_||(r_=1,Jg=URIError),Jg}var Qg,n_;function ON(){return n_||(n_=1,Qg=Math.abs),Qg}var e1,i_;function PN(){return i_||(i_=1,e1=Math.floor),e1}var t1,o_;function NN(){return o_||(o_=1,t1=Math.max),t1}var r1,s_;function jN(){return s_||(s_=1,r1=Math.min),r1}var n1,a_;function FN(){return a_||(a_=1,n1=Math.pow),n1}var i1,l_;function BN(){return l_||(l_=1,i1=Math.round),i1}var o1,c_;function qN(){return c_||(c_=1,o1=Number.isNaN||function(e){return e!==e}),o1}var s1,u_;function HN(){if(u_)return s1;u_=1;var r=qN();return s1=function(t){return r(t)||t===0?t:t<0?-1:1},s1}var a1,f_;function zN(){return f_||(f_=1,a1=Object.getOwnPropertyDescriptor),a1}var l1,d_;function hS(){if(d_)return l1;d_=1;var r=zN();if(r)try{r([],"length")}catch{r=null}return l1=r,l1}var c1,h_;function $N(){if(h_)return c1;h_=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return c1=r,c1}var u1,p_;function UN(){return p_||(p_=1,u1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[t]=i;for(var l in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var u=Object.getOwnPropertySymbols(e);if(u.length!==1||u[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var h=Object.getOwnPropertyDescriptor(e,t);if(h.value!==i||h.enumerable!==!0)return!1}return!0}),u1}var f1,g_;function WN(){if(g_)return f1;g_=1;var r=typeof Symbol<"u"&&Symbol,e=UN();return f1=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},f1}var d1,m_;function pS(){return m_||(m_=1,d1=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),d1}var h1,v_;function gS(){if(v_)return h1;v_=1;var r=dS();return h1=r.getPrototypeOf||null,h1}var p1,y_;function VN(){if(y_)return p1;y_=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,n="[object Function]",i=function(g,m){for(var M=[],T=0;T<g.length;T+=1)M[T]=g[T];for(var C=0;C<m.length;C+=1)M[C+g.length]=m[C];return M},l=function(g,m){for(var M=[],T=m,C=0;T<g.length;T+=1,C+=1)M[C]=g[T];return M},u=function(h,g){for(var m="",M=0;M<h.length;M+=1)m+=h[M],M+1<h.length&&(m+=g);return m};return p1=function(g){var m=this;if(typeof m!="function"||e.apply(m)!==n)throw new TypeError(r+m);for(var M=l(arguments,1),T,C=function(){if(this instanceof T){var b=m.apply(this,i(M,arguments));return Object(b)===b?b:this}return m.apply(g,i(M,arguments))},_=t(0,m.length-M.length),S=[],D=0;D<_;D++)S[D]="$"+D;if(T=Function("binder","return function ("+u(S,",")+"){ return binder.apply(this,arguments); }")(C),m.prototype){var A=function(){};A.prototype=m.prototype,T.prototype=new A,A.prototype=null}return T},p1}var g1,b_;function xh(){if(b_)return g1;b_=1;var r=VN();return g1=Function.prototype.bind||r,g1}var m1,__;function Bm(){return __||(__=1,m1=Function.prototype.call),m1}var v1,x_;function mS(){return x_||(x_=1,v1=Function.prototype.apply),v1}var y1,S_;function GN(){return S_||(S_=1,y1=typeof Reflect<"u"&&Reflect&&Reflect.apply),y1}var b1,C_;function ZN(){if(C_)return b1;C_=1;var r=xh(),e=mS(),t=Bm(),n=GN();return b1=n||r.call(t,e),b1}var _1,w_;function vS(){if(w_)return _1;w_=1;var r=xh(),e=Qu(),t=Bm(),n=ZN();return _1=function(l){if(l.length<1||typeof l[0]!="function")throw new e("a function is required");return n(r,t,l)},_1}var x1,A_;function YN(){if(A_)return x1;A_=1;var r=vS(),e=hS(),t;try{t=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var n=!!t&&e&&e(Object.prototype,"__proto__"),i=Object,l=i.getPrototypeOf;return x1=n&&typeof n.get=="function"?r([n.get]):typeof l=="function"?function(h){return l(h==null?h:i(h))}:!1,x1}var S1,T_;function KN(){if(T_)return S1;T_=1;var r=pS(),e=gS(),t=YN();return S1=r?function(i){return r(i)}:e?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return e(i)}:t?function(i){return t(i)}:null,S1}var C1,E_;function XN(){if(E_)return C1;E_=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=xh();return C1=t.call(r,e),C1}var w1,k_;function qm(){if(k_)return w1;k_=1;var r,e=dS(),t=kN(),n=RN(),i=IN(),l=LN(),u=MN(),h=Qu(),g=DN(),m=ON(),M=PN(),T=NN(),C=jN(),_=FN(),S=BN(),D=HN(),A=Function,b=function(Ye){try{return A('"use strict"; return ('+Ye+").constructor;")()}catch{}},k=hS(),O=$N(),H=function(){throw new h},q=k?function(){try{return arguments.callee,H}catch{try{return k(arguments,"callee").get}catch{return H}}}():H,G=WN()(),Y=KN(),ue=gS(),ee=pS(),fe=mS(),N=Bm(),re={},K=typeof Uint8Array>"u"||!Y?r:Y(Uint8Array),ne={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":G&&Y?Y([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":re,"%AsyncGenerator%":re,"%AsyncGeneratorFunction%":re,"%AsyncIteratorPrototype%":re,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":A,"%GeneratorFunction%":re,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":G&&Y?Y(Y([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!G||!Y?r:Y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":k,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":i,"%ReferenceError%":l,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!G||!Y?r:Y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":G&&Y?Y(""[Symbol.iterator]()):r,"%Symbol%":G?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":q,"%TypedArray%":K,"%TypeError%":h,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":g,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":N,"%Function.prototype.apply%":fe,"%Object.defineProperty%":O,"%Object.getPrototypeOf%":ue,"%Math.abs%":m,"%Math.floor%":M,"%Math.max%":T,"%Math.min%":C,"%Math.pow%":_,"%Math.round%":S,"%Math.sign%":D,"%Reflect.getPrototypeOf%":ee};if(Y)try{null.error}catch(Ye){var ie=Y(Y(Ye));ne["%Error.prototype%"]=ie}var ce=function Ye(Oe){var ke;if(Oe==="%AsyncFunction%")ke=b("async function () {}");else if(Oe==="%GeneratorFunction%")ke=b("function* () {}");else if(Oe==="%AsyncGeneratorFunction%")ke=b("async function* () {}");else if(Oe==="%AsyncGenerator%"){var Ee=Ye("%AsyncGeneratorFunction%");Ee&&(ke=Ee.prototype)}else if(Oe==="%AsyncIteratorPrototype%"){var Ne=Ye("%AsyncGenerator%");Ne&&Y&&(ke=Y(Ne.prototype))}return ne[Oe]=ke,ke},me={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ae=xh(),be=XN(),ge=ae.call(N,Array.prototype.concat),xe=ae.call(fe,Array.prototype.splice),Le=ae.call(N,String.prototype.replace),Pe=ae.call(N,String.prototype.slice),We=ae.call(N,RegExp.prototype.exec),Te=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ot=/\\(\\)?/g,pt=function(Oe){var ke=Pe(Oe,0,1),Ee=Pe(Oe,-1);if(ke==="%"&&Ee!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(Ee==="%"&&ke!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var Ne=[];return Le(Oe,Te,function(Re,Je,ft,xt){Ne[Ne.length]=ft?Le(xt,ot,"$1"):Je||Re}),Ne},Ke=function(Oe,ke){var Ee=Oe,Ne;if(be(me,Ee)&&(Ne=me[Ee],Ee="%"+Ne[0]+"%"),be(ne,Ee)){var Re=ne[Ee];if(Re===re&&(Re=ce(Ee)),typeof Re>"u"&&!ke)throw new h("intrinsic "+Oe+" exists, but is not available. Please file an issue!");return{alias:Ne,name:Ee,value:Re}}throw new u("intrinsic "+Oe+" does not exist!")};return w1=function(Oe,ke){if(typeof Oe!="string"||Oe.length===0)throw new h("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ke!="boolean")throw new h('"allowMissing" argument must be a boolean');if(We(/^%?[^%]*%?$/,Oe)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Ee=pt(Oe),Ne=Ee.length>0?Ee[0]:"",Re=Ke("%"+Ne+"%",ke),Je=Re.name,ft=Re.value,xt=!1,St=Re.alias;St&&(Ne=St[0],xe(Ee,ge([0,1],St)));for(var mt=1,It=!0;mt<Ee.length;mt+=1){var Ct=Ee[mt],ct=Pe(Ct,0,1),ut=Pe(Ct,-1);if((ct==='"'||ct==="'"||ct==="`"||ut==='"'||ut==="'"||ut==="`")&&ct!==ut)throw new u("property names with quotes must have matching quotes");if((Ct==="constructor"||!It)&&(xt=!0),Ne+="."+Ct,Je="%"+Ne+"%",be(ne,Je))ft=ne[Je];else if(ft!=null){if(!(Ct in ft)){if(!ke)throw new h("base intrinsic for "+Oe+" exists, but the property is not available.");return}if(k&&mt+1>=Ee.length){var et=k(ft,Ct);It=!!et,It&&"get"in et&&!("originalValue"in et.get)?ft=et.get:ft=ft[Ct]}else It=be(ft,Ct),ft=ft[Ct];It&&!xt&&(ne[Je]=ft)}}return ft},w1}var A1,R_;function yS(){if(R_)return A1;R_=1;var r=qm(),e=vS(),t=e([r("%String.prototype.indexOf%")]);return A1=function(i,l){var u=r(i,!!l);return typeof u=="function"&&t(i,".prototype.")>-1?e([u]):u},A1}var T1,I_;function bS(){if(I_)return T1;I_=1;var r=qm(),e=yS(),t=_h(),n=Qu(),i=r("%Map%",!0),l=e("Map.prototype.get",!0),u=e("Map.prototype.set",!0),h=e("Map.prototype.has",!0),g=e("Map.prototype.delete",!0),m=e("Map.prototype.size",!0);return T1=!!i&&function(){var T,C={assert:function(_){if(!C.has(_))throw new n("Side channel does not contain "+t(_))},delete:function(_){if(T){var S=g(T,_);return m(T)===0&&(T=void 0),S}return!1},get:function(_){if(T)return l(T,_)},has:function(_){return T?h(T,_):!1},set:function(_,S){T||(T=new i),u(T,_,S)}};return C},T1}var E1,L_;function JN(){if(L_)return E1;L_=1;var r=qm(),e=yS(),t=_h(),n=bS(),i=Qu(),l=r("%WeakMap%",!0),u=e("WeakMap.prototype.get",!0),h=e("WeakMap.prototype.set",!0),g=e("WeakMap.prototype.has",!0),m=e("WeakMap.prototype.delete",!0);return E1=l?function(){var T,C,_={assert:function(S){if(!_.has(S))throw new i("Side channel does not contain "+t(S))},delete:function(S){if(l&&S&&(typeof S=="object"||typeof S=="function")){if(T)return m(T,S)}else if(n&&C)return C.delete(S);return!1},get:function(S){return l&&S&&(typeof S=="object"||typeof S=="function")&&T?u(T,S):C&&C.get(S)},has:function(S){return l&&S&&(typeof S=="object"||typeof S=="function")&&T?g(T,S):!!C&&C.has(S)},set:function(S,D){l&&S&&(typeof S=="object"||typeof S=="function")?(T||(T=new l),h(T,S,D)):n&&(C||(C=n()),C.set(S,D))}};return _}:n,E1}var k1,M_;function QN(){if(M_)return k1;M_=1;var r=Qu(),e=_h(),t=EN(),n=bS(),i=JN(),l=i||n||t;return k1=function(){var h,g={assert:function(m){if(!g.has(m))throw new r("Side channel does not contain "+e(m))},delete:function(m){return!!h&&h.delete(m)},get:function(m){return h&&h.get(m)},has:function(m){return!!h&&h.has(m)},set:function(m,M){h||(h=l()),h.set(m,M)}};return g},k1}var R1,D_;function Hm(){if(D_)return R1;D_=1;var r=String.prototype.replace,e=/%20/g,t={RFC1738:"RFC1738",RFC3986:"RFC3986"};return R1={default:t.RFC3986,formatters:{RFC1738:function(n){return r.call(n,e,"+")},RFC3986:function(n){return String(n)}},RFC1738:t.RFC1738,RFC3986:t.RFC3986},R1}var I1,O_;function _S(){if(O_)return I1;O_=1;var r=Hm(),e=Object.prototype.hasOwnProperty,t=Array.isArray,n=function(){for(var A=[],b=0;b<256;++b)A.push("%"+((b<16?"0":"")+b.toString(16)).toUpperCase());return A}(),i=function(b){for(;b.length>1;){var k=b.pop(),O=k.obj[k.prop];if(t(O)){for(var H=[],q=0;q<O.length;++q)typeof O[q]<"u"&&H.push(O[q]);k.obj[k.prop]=H}}},l=function(b,k){for(var O=k&&k.plainObjects?{__proto__:null}:{},H=0;H<b.length;++H)typeof b[H]<"u"&&(O[H]=b[H]);return O},u=function A(b,k,O){if(!k)return b;if(typeof k!="object"&&typeof k!="function"){if(t(b))b.push(k);else if(b&&typeof b=="object")(O&&(O.plainObjects||O.allowPrototypes)||!e.call(Object.prototype,k))&&(b[k]=!0);else return[b,k];return b}if(!b||typeof b!="object")return[b].concat(k);var H=b;return t(b)&&!t(k)&&(H=l(b,O)),t(b)&&t(k)?(k.forEach(function(q,G){if(e.call(b,G)){var Y=b[G];Y&&typeof Y=="object"&&q&&typeof q=="object"?b[G]=A(Y,q,O):b.push(q)}else b[G]=q}),b):Object.keys(k).reduce(function(q,G){var Y=k[G];return e.call(q,G)?q[G]=A(q[G],Y,O):q[G]=Y,q},H)},h=function(b,k){return Object.keys(k).reduce(function(O,H){return O[H]=k[H],O},b)},g=function(A,b,k){var O=A.replace(/\+/g," ");if(k==="iso-8859-1")return O.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(O)}catch{return O}},m=1024,M=function(b,k,O,H,q){if(b.length===0)return b;var G=b;if(typeof b=="symbol"?G=Symbol.prototype.toString.call(b):typeof b!="string"&&(G=String(b)),O==="iso-8859-1")return escape(G).replace(/%u[0-9a-f]{4}/gi,function(K){return"%26%23"+parseInt(K.slice(2),16)+"%3B"});for(var Y="",ue=0;ue<G.length;ue+=m){for(var ee=G.length>=m?G.slice(ue,ue+m):G,fe=[],N=0;N<ee.length;++N){var re=ee.charCodeAt(N);if(re===45||re===46||re===95||re===126||re>=48&&re<=57||re>=65&&re<=90||re>=97&&re<=122||q===r.RFC1738&&(re===40||re===41)){fe[fe.length]=ee.charAt(N);continue}if(re<128){fe[fe.length]=n[re];continue}if(re<2048){fe[fe.length]=n[192|re>>6]+n[128|re&63];continue}if(re<55296||re>=57344){fe[fe.length]=n[224|re>>12]+n[128|re>>6&63]+n[128|re&63];continue}N+=1,re=65536+((re&1023)<<10|ee.charCodeAt(N)&1023),fe[fe.length]=n[240|re>>18]+n[128|re>>12&63]+n[128|re>>6&63]+n[128|re&63]}Y+=fe.join("")}return Y},T=function(b){for(var k=[{obj:{o:b},prop:"o"}],O=[],H=0;H<k.length;++H)for(var q=k[H],G=q.obj[q.prop],Y=Object.keys(G),ue=0;ue<Y.length;++ue){var ee=Y[ue],fe=G[ee];typeof fe=="object"&&fe!==null&&O.indexOf(fe)===-1&&(k.push({obj:G,prop:ee}),O.push(fe))}return i(k),b},C=function(b){return Object.prototype.toString.call(b)==="[object RegExp]"},_=function(b){return!b||typeof b!="object"?!1:!!(b.constructor&&b.constructor.isBuffer&&b.constructor.isBuffer(b))},S=function(b,k){return[].concat(b,k)},D=function(b,k){if(t(b)){for(var O=[],H=0;H<b.length;H+=1)O.push(k(b[H]));return O}return k(b)};return I1={arrayToObject:l,assign:h,combine:S,compact:T,decode:g,encode:M,isBuffer:_,isRegExp:C,maybeMap:D,merge:u},I1}var L1,P_;function ej(){if(P_)return L1;P_=1;var r=QN(),e=_S(),t=Hm(),n=Object.prototype.hasOwnProperty,i={brackets:function(A){return A+"[]"},comma:"comma",indices:function(A,b){return A+"["+b+"]"},repeat:function(A){return A}},l=Array.isArray,u=Array.prototype.push,h=function(D,A){u.apply(D,l(A)?A:[A])},g=Date.prototype.toISOString,m=t.default,M={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:e.encode,encodeValuesOnly:!1,filter:void 0,format:m,formatter:t.formatters[m],indices:!1,serializeDate:function(A){return g.call(A)},skipNulls:!1,strictNullHandling:!1},T=function(A){return typeof A=="string"||typeof A=="number"||typeof A=="boolean"||typeof A=="symbol"||typeof A=="bigint"},C={},_=function D(A,b,k,O,H,q,G,Y,ue,ee,fe,N,re,K,ne,ie,ce,me){for(var ae=A,be=me,ge=0,xe=!1;(be=be.get(C))!==void 0&&!xe;){var Le=be.get(A);if(ge+=1,typeof Le<"u"){if(Le===ge)throw new RangeError("Cyclic object value");xe=!0}typeof be.get(C)>"u"&&(ge=0)}if(typeof ee=="function"?ae=ee(b,ae):ae instanceof Date?ae=re(ae):k==="comma"&&l(ae)&&(ae=e.maybeMap(ae,function(Je){return Je instanceof Date?re(Je):Je})),ae===null){if(q)return ue&&!ie?ue(b,M.encoder,ce,"key",K):b;ae=""}if(T(ae)||e.isBuffer(ae)){if(ue){var Pe=ie?b:ue(b,M.encoder,ce,"key",K);return[ne(Pe)+"="+ne(ue(ae,M.encoder,ce,"value",K))]}return[ne(b)+"="+ne(String(ae))]}var We=[];if(typeof ae>"u")return We;var Te;if(k==="comma"&&l(ae))ie&&ue&&(ae=e.maybeMap(ae,ue)),Te=[{value:ae.length>0?ae.join(",")||null:void 0}];else if(l(ee))Te=ee;else{var ot=Object.keys(ae);Te=fe?ot.sort(fe):ot}var pt=Y?String(b).replace(/\./g,"%2E"):String(b),Ke=O&&l(ae)&&ae.length===1?pt+"[]":pt;if(H&&l(ae)&&ae.length===0)return Ke+"[]";for(var Ye=0;Ye<Te.length;++Ye){var Oe=Te[Ye],ke=typeof Oe=="object"&&Oe&&typeof Oe.value<"u"?Oe.value:ae[Oe];if(!(G&&ke===null)){var Ee=N&&Y?String(Oe).replace(/\./g,"%2E"):String(Oe),Ne=l(ae)?typeof k=="function"?k(Ke,Ee):Ke:Ke+(N?"."+Ee:"["+Ee+"]");me.set(A,ge);var Re=r();Re.set(C,me),h(We,D(ke,Ne,k,O,H,q,G,Y,k==="comma"&&ie&&l(ae)?null:ue,ee,fe,N,re,K,ne,ie,ce,Re))}}return We},S=function(A){if(!A)return M;if(typeof A.allowEmptyArrays<"u"&&typeof A.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof A.encodeDotInKeys<"u"&&typeof A.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(A.encoder!==null&&typeof A.encoder<"u"&&typeof A.encoder!="function")throw new TypeError("Encoder has to be a function.");var b=A.charset||M.charset;if(typeof A.charset<"u"&&A.charset!=="utf-8"&&A.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var k=t.default;if(typeof A.format<"u"){if(!n.call(t.formatters,A.format))throw new TypeError("Unknown format option provided.");k=A.format}var O=t.formatters[k],H=M.filter;(typeof A.filter=="function"||l(A.filter))&&(H=A.filter);var q;if(A.arrayFormat in i?q=A.arrayFormat:"indices"in A?q=A.indices?"indices":"repeat":q=M.arrayFormat,"commaRoundTrip"in A&&typeof A.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var G=typeof A.allowDots>"u"?A.encodeDotInKeys===!0?!0:M.allowDots:!!A.allowDots;return{addQueryPrefix:typeof A.addQueryPrefix=="boolean"?A.addQueryPrefix:M.addQueryPrefix,allowDots:G,allowEmptyArrays:typeof A.allowEmptyArrays=="boolean"?!!A.allowEmptyArrays:M.allowEmptyArrays,arrayFormat:q,charset:b,charsetSentinel:typeof A.charsetSentinel=="boolean"?A.charsetSentinel:M.charsetSentinel,commaRoundTrip:!!A.commaRoundTrip,delimiter:typeof A.delimiter>"u"?M.delimiter:A.delimiter,encode:typeof A.encode=="boolean"?A.encode:M.encode,encodeDotInKeys:typeof A.encodeDotInKeys=="boolean"?A.encodeDotInKeys:M.encodeDotInKeys,encoder:typeof A.encoder=="function"?A.encoder:M.encoder,encodeValuesOnly:typeof A.encodeValuesOnly=="boolean"?A.encodeValuesOnly:M.encodeValuesOnly,filter:H,format:k,formatter:O,serializeDate:typeof A.serializeDate=="function"?A.serializeDate:M.serializeDate,skipNulls:typeof A.skipNulls=="boolean"?A.skipNulls:M.skipNulls,sort:typeof A.sort=="function"?A.sort:null,strictNullHandling:typeof A.strictNullHandling=="boolean"?A.strictNullHandling:M.strictNullHandling}};return L1=function(D,A){var b=D,k=S(A),O,H;typeof k.filter=="function"?(H=k.filter,b=H("",b)):l(k.filter)&&(H=k.filter,O=H);var q=[];if(typeof b!="object"||b===null)return"";var G=i[k.arrayFormat],Y=G==="comma"&&k.commaRoundTrip;O||(O=Object.keys(b)),k.sort&&O.sort(k.sort);for(var ue=r(),ee=0;ee<O.length;++ee){var fe=O[ee],N=b[fe];k.skipNulls&&N===null||h(q,_(N,fe,G,Y,k.allowEmptyArrays,k.strictNullHandling,k.skipNulls,k.encodeDotInKeys,k.encode?k.encoder:null,k.filter,k.sort,k.allowDots,k.serializeDate,k.format,k.formatter,k.encodeValuesOnly,k.charset,ue))}var re=q.join(k.delimiter),K=k.addQueryPrefix===!0?"?":"";return k.charsetSentinel&&(k.charset==="iso-8859-1"?K+="utf8=%26%2310003%3B&":K+="utf8=%E2%9C%93&"),re.length>0?K+re:""},L1}var M1,N_;function tj(){if(N_)return M1;N_=1;var r=_S(),e=Object.prototype.hasOwnProperty,t=Array.isArray,n={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},i=function(C){return C.replace(/&#(\d+);/g,function(_,S){return String.fromCharCode(parseInt(S,10))})},l=function(C,_,S){if(C&&typeof C=="string"&&_.comma&&C.indexOf(",")>-1)return C.split(",");if(_.throwOnLimitExceeded&&S>=_.arrayLimit)throw new RangeError("Array limit exceeded. Only "+_.arrayLimit+" element"+(_.arrayLimit===1?"":"s")+" allowed in an array.");return C},u="utf8=%26%2310003%3B",h="utf8=%E2%9C%93",g=function(_,S){var D={__proto__:null},A=S.ignoreQueryPrefix?_.replace(/^\?/,""):_;A=A.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var b=S.parameterLimit===1/0?void 0:S.parameterLimit,k=A.split(S.delimiter,S.throwOnLimitExceeded?b+1:b);if(S.throwOnLimitExceeded&&k.length>b)throw new RangeError("Parameter limit exceeded. Only "+b+" parameter"+(b===1?"":"s")+" allowed.");var O=-1,H,q=S.charset;if(S.charsetSentinel)for(H=0;H<k.length;++H)k[H].indexOf("utf8=")===0&&(k[H]===h?q="utf-8":k[H]===u&&(q="iso-8859-1"),O=H,H=k.length);for(H=0;H<k.length;++H)if(H!==O){var G=k[H],Y=G.indexOf("]="),ue=Y===-1?G.indexOf("="):Y+1,ee,fe;ue===-1?(ee=S.decoder(G,n.decoder,q,"key"),fe=S.strictNullHandling?null:""):(ee=S.decoder(G.slice(0,ue),n.decoder,q,"key"),fe=r.maybeMap(l(G.slice(ue+1),S,t(D[ee])?D[ee].length:0),function(re){return S.decoder(re,n.decoder,q,"value")})),fe&&S.interpretNumericEntities&&q==="iso-8859-1"&&(fe=i(String(fe))),G.indexOf("[]=")>-1&&(fe=t(fe)?[fe]:fe);var N=e.call(D,ee);N&&S.duplicates==="combine"?D[ee]=r.combine(D[ee],fe):(!N||S.duplicates==="last")&&(D[ee]=fe)}return D},m=function(C,_,S,D){var A=0;if(C.length>0&&C[C.length-1]==="[]"){var b=C.slice(0,-1).join("");A=Array.isArray(_)&&_[b]?_[b].length:0}for(var k=D?_:l(_,S,A),O=C.length-1;O>=0;--O){var H,q=C[O];if(q==="[]"&&S.parseArrays)H=S.allowEmptyArrays&&(k===""||S.strictNullHandling&&k===null)?[]:r.combine([],k);else{H=S.plainObjects?{__proto__:null}:{};var G=q.charAt(0)==="["&&q.charAt(q.length-1)==="]"?q.slice(1,-1):q,Y=S.decodeDotInKeys?G.replace(/%2E/g,"."):G,ue=parseInt(Y,10);!S.parseArrays&&Y===""?H={0:k}:!isNaN(ue)&&q!==Y&&String(ue)===Y&&ue>=0&&S.parseArrays&&ue<=S.arrayLimit?(H=[],H[ue]=k):Y!=="__proto__"&&(H[Y]=k)}k=H}return k},M=function(_,S,D,A){if(_){var b=D.allowDots?_.replace(/\.([^.[]+)/g,"[$1]"):_,k=/(\[[^[\]]*])/,O=/(\[[^[\]]*])/g,H=D.depth>0&&k.exec(b),q=H?b.slice(0,H.index):b,G=[];if(q){if(!D.plainObjects&&e.call(Object.prototype,q)&&!D.allowPrototypes)return;G.push(q)}for(var Y=0;D.depth>0&&(H=O.exec(b))!==null&&Y<D.depth;){if(Y+=1,!D.plainObjects&&e.call(Object.prototype,H[1].slice(1,-1))&&!D.allowPrototypes)return;G.push(H[1])}if(H){if(D.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+D.depth+" and strictDepth is true");G.push("["+b.slice(H.index)+"]")}return m(G,S,D,A)}},T=function(_){if(!_)return n;if(typeof _.allowEmptyArrays<"u"&&typeof _.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof _.decodeDotInKeys<"u"&&typeof _.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(_.decoder!==null&&typeof _.decoder<"u"&&typeof _.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof _.charset<"u"&&_.charset!=="utf-8"&&_.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof _.throwOnLimitExceeded<"u"&&typeof _.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var S=typeof _.charset>"u"?n.charset:_.charset,D=typeof _.duplicates>"u"?n.duplicates:_.duplicates;if(D!=="combine"&&D!=="first"&&D!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var A=typeof _.allowDots>"u"?_.decodeDotInKeys===!0?!0:n.allowDots:!!_.allowDots;return{allowDots:A,allowEmptyArrays:typeof _.allowEmptyArrays=="boolean"?!!_.allowEmptyArrays:n.allowEmptyArrays,allowPrototypes:typeof _.allowPrototypes=="boolean"?_.allowPrototypes:n.allowPrototypes,allowSparse:typeof _.allowSparse=="boolean"?_.allowSparse:n.allowSparse,arrayLimit:typeof _.arrayLimit=="number"?_.arrayLimit:n.arrayLimit,charset:S,charsetSentinel:typeof _.charsetSentinel=="boolean"?_.charsetSentinel:n.charsetSentinel,comma:typeof _.comma=="boolean"?_.comma:n.comma,decodeDotInKeys:typeof _.decodeDotInKeys=="boolean"?_.decodeDotInKeys:n.decodeDotInKeys,decoder:typeof _.decoder=="function"?_.decoder:n.decoder,delimiter:typeof _.delimiter=="string"||r.isRegExp(_.delimiter)?_.delimiter:n.delimiter,depth:typeof _.depth=="number"||_.depth===!1?+_.depth:n.depth,duplicates:D,ignoreQueryPrefix:_.ignoreQueryPrefix===!0,interpretNumericEntities:typeof _.interpretNumericEntities=="boolean"?_.interpretNumericEntities:n.interpretNumericEntities,parameterLimit:typeof _.parameterLimit=="number"?_.parameterLimit:n.parameterLimit,parseArrays:_.parseArrays!==!1,plainObjects:typeof _.plainObjects=="boolean"?_.plainObjects:n.plainObjects,strictDepth:typeof _.strictDepth=="boolean"?!!_.strictDepth:n.strictDepth,strictNullHandling:typeof _.strictNullHandling=="boolean"?_.strictNullHandling:n.strictNullHandling,throwOnLimitExceeded:typeof _.throwOnLimitExceeded=="boolean"?_.throwOnLimitExceeded:!1}};return M1=function(C,_){var S=T(_);if(C===""||C===null||typeof C>"u")return S.plainObjects?{__proto__:null}:{};for(var D=typeof C=="string"?g(C,S):C,A=S.plainObjects?{__proto__:null}:{},b=Object.keys(D),k=0;k<b.length;++k){var O=b[k],H=M(O,D[O],S,typeof C=="string");A=r.merge(A,H,S)}return S.allowSparse===!0?A:r.compact(A)},M1}var D1,j_;function rj(){if(j_)return D1;j_=1;var r=ej(),e=tj(),t=Hm();return D1={formats:t,parse:e,stringify:r},D1}var nj=rj();const ij=il(nj),im={StoredContexts:{},defaultHandler:()=>{}},xS={Init:()=>{},Create:r=>{const e=r.method+r.url;return im.StoredContexts[e]=r,oj(r)},FetchBaseUrl:()=>window.location.href,useDefaultHandler:r=>{im.defaultHandler=r}};function oj(r){const e=`[${r.method}] ${r.url}`;return{Call:async n=>{let{url:i,method:l,stream:u,paramType:h}=r;const{po:g,onStream:m,onStreamEnd:M,noDefaultHandle:T=[]}=n??{};(h==="query"||l==="GET")&&g!==void 0&&(i+="?"+ij.stringify(g,{arrayFormat:"comma"}));const C={method:l,headers:{Accept:"application/json;charset=UTF-8","X-Requested-With":"XMLHttpRequest","Cache-Control":"no-cache",Pragma:"no-cache",crossDomain:"true"}};if(h==="form"){const D=new FormData;if(g!==void 0)for(const A in g){const b=g[A];D.append(A,b)}C.body=D}else(h==="body"||h===void 0&&r.method!=="GET")&&(C.body=JSON.stringify(g),C.headers["Content-Type"]="application/json;charset=UTF-8");let _={errorCode:0,message:""};const S=Date.now();i=xS.FetchBaseUrl()+i;try{let D=await fetch(i,C);if(D.ok===!1)return _.errorCode=D.status,_.message=D.statusText,_;{const A=new TextDecoder("utf-8");if(u){if(D.body){let b=D.body.getReader(),k="";for(;;){const O=await b.read();if(O.done)break;const H=A.decode(O.value).trim();k+=H;let q=null;try{const G=H.split("\0");let Y=G[G.length-1];for(let ue=G.length-2;ue>=0;ue--)if(G[ue].trim().length!==0){Y=G[ue];break}q=await JSON.parse(Y)}catch{try{const Y=k.split("\0");let ue=Y[Y.length-1];for(let ee=Y.length-2;ee>=0;ee--)if(Y[ee].trim().length!==0){ue=Y[ee];break}q=await JSON.parse(ue)}catch{}}if(q!=null&&(Object.keys(q).includes("err_code")?_.errorCode=q.err_code:(_.errorCode=0,_.data=q,k="",O.done?M==null||M(_.data):m==null||m(_.data))),O.done)break}}}else if(D.body){const k=await D.body.getReader().read(),O=A.decode(k.value);if(O==="null")return _;{let H=await JSON.parse(O.replaceAll("\0",""));Object.keys(H).includes("err_code")?(_.errorCode=H.err_code,_.message=H.err_msg):_.data=H}}}}catch(D){console.warn(D),_.errorCode=-1,_.message=D.message}return console.debug(`${e} ${Date.now()-S}ms`),T!==!0&&await im.defaultHandler(_,T),_}}}async function sj(r){const e=new Promise((t,n)=>{const i=new FileReader;i.onloadend=()=>{i.result?typeof i.result=="string"?t(i.result):n(new Error("Failed to convert file to Base64: Invalid result type.")):n(new Error("Failed to convert file to Base64: Empty result."))},i.onerror=n,i.readAsDataURL(r)});try{return await e}catch{return}}function aj(r,e){var h,g;const t=r.split(","),n=(g=(h=t[0])==null?void 0:h.match(/:(.*?);/))==null?void 0:g[1],i=atob(t[1]);let l=i.length;const u=new Uint8Array(l);for(;l--;)u[l]=i.charCodeAt(l);return new File([u],e,{type:n})}const lj={toBase64:sj,toFile:aj};exports.ABase=Ur;exports.ABaseStyleKeys=r2;exports.AButton=Bi;exports.AButtonStyleKeys=i2;exports.AButtonTypes=r5;exports.ACheckBox=Uu;exports.ACheckBoxStyleKeys=l2;exports.AChip=L2;exports.AChipKeys=E2;exports.AChips=vT;exports.AClock=IT;exports.AColFrame=R2;exports.ADatePicker=dm;exports.ADatePickerStyleKeys=y2;exports.ADatePickerTypes=n6;exports.ADateRangePicker=um;exports.ADateRangePickerStyleKeys=b2;exports.ADialog=d6;exports.ADialogStyleKeys=c2;exports.ADialogTypes=f6;exports.ADivideFrame=oT;exports.AEditor=NP;exports.AEditorStyleKeys=a2;exports.AFileBox=C6;exports.AFileBoxStyleKeys=g2;exports.AFloatMenu=O2;exports.AFloatMenuKeys=C2;exports.AFrameStyleKeys=S2;exports.AGrow=Yc;exports.AIcon=Br;exports.AIconButton=vo;exports.AIconButtonStyleKeys=_2;exports.AIconButtonTypes=n5;exports.AIconHOC=F4;exports.AIcons=am;exports.AInput=Jl;exports.AInputStyleKeys=o2;exports.AInputTypes=$T;exports.AListView=P6;exports.AListViewStyleKeys=m2;exports.ALoadingBorder=hm;exports.ALoadingBorderKeys=w2;exports.AMultiSelect=c8;exports.AMultiSelectStyleKeys=f2;exports.ANumInput=I6;exports.AOverflowFrame=Xl;exports.ARadioSelect=Z6;exports.ARadioSelectKeys=T2;exports.ARowFrame=si;exports.ASelect=Wc;exports.ASelectStyleKeys=u2;exports.ASelectTypes=iE;exports.ASpace=mn;exports.AStepper=w8;exports.AStepperStyleKeys=v2;exports.ASwitch=Y_;exports.ASwitchFrame=I2;exports.ASwitchStyleKeys=h2;exports.ATab=j2;exports.ATabStyleKeys=p2;exports.ATabTypes=N8;exports.ATable=$k;exports.ATableStyleKeys=x2;exports.AText=z2;exports.ATextArea=eR;exports.ATextAreaStyleKeys=s2;exports.ATextAreaTypes=Qk;exports.AThemeButton=H5;exports.AThemes=Df;exports.ATooltip=Z_;exports.ATooltipStyleKeys=n2;exports.ATree=_N;exports.ATreeStyleKeys=d2;exports.AWrap=Uc;exports.AWrapKeys=A2;exports.AWrapTypes=x5;exports.ApiContext=xS;exports.BodyStyleKeys=t2;exports.CreateADC=y6;exports.DefaultOptionRenderer=N2;exports.EDir12=Ku;exports.EDir4=vi;exports.FileSizeTrans=nm;exports.Icons=th;exports.IsCursorPointer=z_;exports.IsFixedShape=H_;exports.IsInteractive=$_;exports.NoSelect=q_;exports.Resources=hn;exports.SetResources=g5;exports.alphanumericRegex=bT;exports.bound=Mf;exports.cbF=kr;exports.changeSemanticMode=cm;exports.componentStyleKeys=D5;exports.createEvent=$c;exports.dateF=zt;exports.defaultPredicate=B2;exports.dlgF=b6;exports.emailIdRegex=xT;exports.emailRegex=_T;exports.fileF=lj;exports.getMonthsOptions=Wf;exports.getYearsOptions=fm;exports.hangulRegex=CT;exports.hexRegex=ST;exports.noHanguljamoRegex=AT;exports.noSpaceRegex=wT;exports.numF=P2;exports.objF=Xt;exports.paletteKeys=K_;exports.paletteModes=rh;exports.passwordRegex=ET;exports.refinedDesignTokens=bi;exports.sF=qe;exports.semanticKeys=Q_;exports.semanticModes=$u;exports.setDir12Style=lm;exports.setDir12StyleElem=V_;exports.specialCharRegex=TT;exports.strF=D2;exports.tableF=Ja;exports.treeF=Qa;exports.useADialogCore=m6;exports.useADialogCores=g6;exports.useEvent=H2;exports.useInit=F2;exports.useValues=pn;exports.uuidRegex=kT;
|
352
|
+
`+te.prev}function Zt(he,te){var Fe=ht(he),Xe=[];if(Fe){Xe.length=he.length;for(var Lt=0;Lt<he.length;Lt++)Xe[Lt]=xt(he,Lt)?te(he[Lt],he):""}var vt=typeof re=="function"?re(he):[],wt;if(ne){wt={};for(var Gt=0;Gt<vt.length;Gt++)wt["$"+vt[Gt]]=vt[Gt]}for(var Ft in he)xt(he,Ft)&&(Fe&&String(Number(Ft))===Ft&&Ft<he.length||ne&&wt["$"+Ft]instanceof Symbol||(G.call(/[^\w$]/,Ft)?Xe.push(te(Ft,he)+": "+te(he[Ft],he)):Xe.push(Ft+": "+te(he[Ft],he))));if(typeof re=="function")for(var sr=0;sr<vt.length;sr++)ce.call(he,vt[sr])&&Xe.push("["+te(vt[sr])+"]: "+te(he[vt[sr]],he));return Xe}return Ug}var Wg,Yb;function EN(){if(Yb)return Wg;Yb=1;var r=_h(),e=Qu(),t=function(h,g,m){for(var M=h,T;(T=M.next)!=null;M=T)if(T.key===g)return M.next=T.next,m||(T.next=h.next,h.next=T),T},n=function(h,g){if(h){var m=t(h,g);return m&&m.value}},i=function(h,g,m){var M=t(h,g);M?M.value=m:h.next={key:g,next:h.next,value:m}},l=function(h,g){return h?!!t(h,g):!1},u=function(h,g){if(h)return t(h,g,!0)};return Wg=function(){var g,m={assert:function(M){if(!m.has(M))throw new e("Side channel does not contain "+r(M))},delete:function(M){var T=g&&g.next,C=u(g,M);return C&&T&&T===C&&(g=void 0),!!C},get:function(M){return n(g,M)},has:function(M){return l(g,M)},set:function(M,T){g||(g={next:void 0}),i(g,M,T)}};return m},Wg}var Vg,Kb;function dS(){return Kb||(Kb=1,Vg=Object),Vg}var Gg,Xb;function kN(){return Xb||(Xb=1,Gg=Error),Gg}var Zg,Jb;function RN(){return Jb||(Jb=1,Zg=EvalError),Zg}var Yg,Qb;function IN(){return Qb||(Qb=1,Yg=RangeError),Yg}var Kg,e_;function LN(){return e_||(e_=1,Kg=ReferenceError),Kg}var Xg,t_;function MN(){return t_||(t_=1,Xg=SyntaxError),Xg}var Jg,r_;function DN(){return r_||(r_=1,Jg=URIError),Jg}var Qg,n_;function ON(){return n_||(n_=1,Qg=Math.abs),Qg}var e1,i_;function PN(){return i_||(i_=1,e1=Math.floor),e1}var t1,o_;function NN(){return o_||(o_=1,t1=Math.max),t1}var r1,s_;function jN(){return s_||(s_=1,r1=Math.min),r1}var n1,a_;function FN(){return a_||(a_=1,n1=Math.pow),n1}var i1,l_;function BN(){return l_||(l_=1,i1=Math.round),i1}var o1,c_;function qN(){return c_||(c_=1,o1=Number.isNaN||function(e){return e!==e}),o1}var s1,u_;function HN(){if(u_)return s1;u_=1;var r=qN();return s1=function(t){return r(t)||t===0?t:t<0?-1:1},s1}var a1,f_;function zN(){return f_||(f_=1,a1=Object.getOwnPropertyDescriptor),a1}var l1,d_;function hS(){if(d_)return l1;d_=1;var r=zN();if(r)try{r([],"length")}catch{r=null}return l1=r,l1}var c1,h_;function $N(){if(h_)return c1;h_=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return c1=r,c1}var u1,p_;function UN(){return p_||(p_=1,u1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[t]=i;for(var l in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var u=Object.getOwnPropertySymbols(e);if(u.length!==1||u[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var h=Object.getOwnPropertyDescriptor(e,t);if(h.value!==i||h.enumerable!==!0)return!1}return!0}),u1}var f1,g_;function WN(){if(g_)return f1;g_=1;var r=typeof Symbol<"u"&&Symbol,e=UN();return f1=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},f1}var d1,m_;function pS(){return m_||(m_=1,d1=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),d1}var h1,v_;function gS(){if(v_)return h1;v_=1;var r=dS();return h1=r.getPrototypeOf||null,h1}var p1,y_;function VN(){if(y_)return p1;y_=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,n="[object Function]",i=function(g,m){for(var M=[],T=0;T<g.length;T+=1)M[T]=g[T];for(var C=0;C<m.length;C+=1)M[C+g.length]=m[C];return M},l=function(g,m){for(var M=[],T=m,C=0;T<g.length;T+=1,C+=1)M[C]=g[T];return M},u=function(h,g){for(var m="",M=0;M<h.length;M+=1)m+=h[M],M+1<h.length&&(m+=g);return m};return p1=function(g){var m=this;if(typeof m!="function"||e.apply(m)!==n)throw new TypeError(r+m);for(var M=l(arguments,1),T,C=function(){if(this instanceof T){var b=m.apply(this,i(M,arguments));return Object(b)===b?b:this}return m.apply(g,i(M,arguments))},_=t(0,m.length-M.length),S=[],D=0;D<_;D++)S[D]="$"+D;if(T=Function("binder","return function ("+u(S,",")+"){ return binder.apply(this,arguments); }")(C),m.prototype){var A=function(){};A.prototype=m.prototype,T.prototype=new A,A.prototype=null}return T},p1}var g1,b_;function xh(){if(b_)return g1;b_=1;var r=VN();return g1=Function.prototype.bind||r,g1}var m1,__;function Bm(){return __||(__=1,m1=Function.prototype.call),m1}var v1,x_;function mS(){return x_||(x_=1,v1=Function.prototype.apply),v1}var y1,S_;function GN(){return S_||(S_=1,y1=typeof Reflect<"u"&&Reflect&&Reflect.apply),y1}var b1,C_;function ZN(){if(C_)return b1;C_=1;var r=xh(),e=mS(),t=Bm(),n=GN();return b1=n||r.call(t,e),b1}var _1,w_;function vS(){if(w_)return _1;w_=1;var r=xh(),e=Qu(),t=Bm(),n=ZN();return _1=function(l){if(l.length<1||typeof l[0]!="function")throw new e("a function is required");return n(r,t,l)},_1}var x1,A_;function YN(){if(A_)return x1;A_=1;var r=vS(),e=hS(),t;try{t=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var n=!!t&&e&&e(Object.prototype,"__proto__"),i=Object,l=i.getPrototypeOf;return x1=n&&typeof n.get=="function"?r([n.get]):typeof l=="function"?function(h){return l(h==null?h:i(h))}:!1,x1}var S1,T_;function KN(){if(T_)return S1;T_=1;var r=pS(),e=gS(),t=YN();return S1=r?function(i){return r(i)}:e?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return e(i)}:t?function(i){return t(i)}:null,S1}var C1,E_;function XN(){if(E_)return C1;E_=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=xh();return C1=t.call(r,e),C1}var w1,k_;function qm(){if(k_)return w1;k_=1;var r,e=dS(),t=kN(),n=RN(),i=IN(),l=LN(),u=MN(),h=Qu(),g=DN(),m=ON(),M=PN(),T=NN(),C=jN(),_=FN(),S=BN(),D=HN(),A=Function,b=function(Ye){try{return A('"use strict"; return ('+Ye+").constructor;")()}catch{}},k=hS(),O=$N(),H=function(){throw new h},q=k?function(){try{return arguments.callee,H}catch{try{return k(arguments,"callee").get}catch{return H}}}():H,G=WN()(),Y=KN(),ue=gS(),ee=pS(),fe=mS(),N=Bm(),re={},K=typeof Uint8Array>"u"||!Y?r:Y(Uint8Array),ne={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":G&&Y?Y([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":re,"%AsyncGenerator%":re,"%AsyncGeneratorFunction%":re,"%AsyncIteratorPrototype%":re,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":A,"%GeneratorFunction%":re,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":G&&Y?Y(Y([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!G||!Y?r:Y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":k,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":i,"%ReferenceError%":l,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!G||!Y?r:Y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":G&&Y?Y(""[Symbol.iterator]()):r,"%Symbol%":G?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":q,"%TypedArray%":K,"%TypeError%":h,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":g,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":N,"%Function.prototype.apply%":fe,"%Object.defineProperty%":O,"%Object.getPrototypeOf%":ue,"%Math.abs%":m,"%Math.floor%":M,"%Math.max%":T,"%Math.min%":C,"%Math.pow%":_,"%Math.round%":S,"%Math.sign%":D,"%Reflect.getPrototypeOf%":ee};if(Y)try{null.error}catch(Ye){var ie=Y(Y(Ye));ne["%Error.prototype%"]=ie}var ce=function Ye(Oe){var Ne;if(Oe==="%AsyncFunction%")Ne=b("async function () {}");else if(Oe==="%GeneratorFunction%")Ne=b("function* () {}");else if(Oe==="%AsyncGeneratorFunction%")Ne=b("async function* () {}");else if(Oe==="%AsyncGenerator%"){var Ae=Ye("%AsyncGeneratorFunction%");Ae&&(Ne=Ae.prototype)}else if(Oe==="%AsyncIteratorPrototype%"){var Le=Ye("%AsyncGenerator%");Le&&Y&&(Ne=Y(Le.prototype))}return ne[Oe]=Ne,Ne},me={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},le=xh(),be=XN(),ge=le.call(N,Array.prototype.concat),xe=le.call(fe,Array.prototype.splice),Ie=le.call(N,String.prototype.replace),Pe=le.call(N,String.prototype.slice),Ve=le.call(N,RegExp.prototype.exec),Ee=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ot=/\\(\\)?/g,ht=function(Oe){var Ne=Pe(Oe,0,1),Ae=Pe(Oe,-1);if(Ne==="%"&&Ae!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(Ae==="%"&&Ne!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var Le=[];return Ie(Oe,Ee,function(ke,Je,ft,xt){Le[Le.length]=ft?Ie(xt,ot,"$1"):Je||ke}),Le},Ke=function(Oe,Ne){var Ae=Oe,Le;if(be(me,Ae)&&(Le=me[Ae],Ae="%"+Le[0]+"%"),be(ne,Ae)){var ke=ne[Ae];if(ke===re&&(ke=ce(Ae)),typeof ke>"u"&&!Ne)throw new h("intrinsic "+Oe+" exists, but is not available. Please file an issue!");return{alias:Le,name:Ae,value:ke}}throw new u("intrinsic "+Oe+" does not exist!")};return w1=function(Oe,Ne){if(typeof Oe!="string"||Oe.length===0)throw new h("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Ne!="boolean")throw new h('"allowMissing" argument must be a boolean');if(Ve(/^%?[^%]*%?$/,Oe)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Ae=ht(Oe),Le=Ae.length>0?Ae[0]:"",ke=Ke("%"+Le+"%",Ne),Je=ke.name,ft=ke.value,xt=!1,St=ke.alias;St&&(Le=St[0],xe(Ae,ge([0,1],St)));for(var mt=1,It=!0;mt<Ae.length;mt+=1){var Ct=Ae[mt],ct=Pe(Ct,0,1),ut=Pe(Ct,-1);if((ct==='"'||ct==="'"||ct==="`"||ut==='"'||ut==="'"||ut==="`")&&ct!==ut)throw new u("property names with quotes must have matching quotes");if((Ct==="constructor"||!It)&&(xt=!0),Le+="."+Ct,Je="%"+Le+"%",be(ne,Je))ft=ne[Je];else if(ft!=null){if(!(Ct in ft)){if(!Ne)throw new h("base intrinsic for "+Oe+" exists, but the property is not available.");return}if(k&&mt+1>=Ae.length){var et=k(ft,Ct);It=!!et,It&&"get"in et&&!("originalValue"in et.get)?ft=et.get:ft=ft[Ct]}else It=be(ft,Ct),ft=ft[Ct];It&&!xt&&(ne[Je]=ft)}}return ft},w1}var A1,R_;function yS(){if(R_)return A1;R_=1;var r=qm(),e=vS(),t=e([r("%String.prototype.indexOf%")]);return A1=function(i,l){var u=r(i,!!l);return typeof u=="function"&&t(i,".prototype.")>-1?e([u]):u},A1}var T1,I_;function bS(){if(I_)return T1;I_=1;var r=qm(),e=yS(),t=_h(),n=Qu(),i=r("%Map%",!0),l=e("Map.prototype.get",!0),u=e("Map.prototype.set",!0),h=e("Map.prototype.has",!0),g=e("Map.prototype.delete",!0),m=e("Map.prototype.size",!0);return T1=!!i&&function(){var T,C={assert:function(_){if(!C.has(_))throw new n("Side channel does not contain "+t(_))},delete:function(_){if(T){var S=g(T,_);return m(T)===0&&(T=void 0),S}return!1},get:function(_){if(T)return l(T,_)},has:function(_){return T?h(T,_):!1},set:function(_,S){T||(T=new i),u(T,_,S)}};return C},T1}var E1,L_;function JN(){if(L_)return E1;L_=1;var r=qm(),e=yS(),t=_h(),n=bS(),i=Qu(),l=r("%WeakMap%",!0),u=e("WeakMap.prototype.get",!0),h=e("WeakMap.prototype.set",!0),g=e("WeakMap.prototype.has",!0),m=e("WeakMap.prototype.delete",!0);return E1=l?function(){var T,C,_={assert:function(S){if(!_.has(S))throw new i("Side channel does not contain "+t(S))},delete:function(S){if(l&&S&&(typeof S=="object"||typeof S=="function")){if(T)return m(T,S)}else if(n&&C)return C.delete(S);return!1},get:function(S){return l&&S&&(typeof S=="object"||typeof S=="function")&&T?u(T,S):C&&C.get(S)},has:function(S){return l&&S&&(typeof S=="object"||typeof S=="function")&&T?g(T,S):!!C&&C.has(S)},set:function(S,D){l&&S&&(typeof S=="object"||typeof S=="function")?(T||(T=new l),h(T,S,D)):n&&(C||(C=n()),C.set(S,D))}};return _}:n,E1}var k1,M_;function QN(){if(M_)return k1;M_=1;var r=Qu(),e=_h(),t=EN(),n=bS(),i=JN(),l=i||n||t;return k1=function(){var h,g={assert:function(m){if(!g.has(m))throw new r("Side channel does not contain "+e(m))},delete:function(m){return!!h&&h.delete(m)},get:function(m){return h&&h.get(m)},has:function(m){return!!h&&h.has(m)},set:function(m,M){h||(h=l()),h.set(m,M)}};return g},k1}var R1,D_;function Hm(){if(D_)return R1;D_=1;var r=String.prototype.replace,e=/%20/g,t={RFC1738:"RFC1738",RFC3986:"RFC3986"};return R1={default:t.RFC3986,formatters:{RFC1738:function(n){return r.call(n,e,"+")},RFC3986:function(n){return String(n)}},RFC1738:t.RFC1738,RFC3986:t.RFC3986},R1}var I1,O_;function _S(){if(O_)return I1;O_=1;var r=Hm(),e=Object.prototype.hasOwnProperty,t=Array.isArray,n=function(){for(var A=[],b=0;b<256;++b)A.push("%"+((b<16?"0":"")+b.toString(16)).toUpperCase());return A}(),i=function(b){for(;b.length>1;){var k=b.pop(),O=k.obj[k.prop];if(t(O)){for(var H=[],q=0;q<O.length;++q)typeof O[q]<"u"&&H.push(O[q]);k.obj[k.prop]=H}}},l=function(b,k){for(var O=k&&k.plainObjects?{__proto__:null}:{},H=0;H<b.length;++H)typeof b[H]<"u"&&(O[H]=b[H]);return O},u=function A(b,k,O){if(!k)return b;if(typeof k!="object"&&typeof k!="function"){if(t(b))b.push(k);else if(b&&typeof b=="object")(O&&(O.plainObjects||O.allowPrototypes)||!e.call(Object.prototype,k))&&(b[k]=!0);else return[b,k];return b}if(!b||typeof b!="object")return[b].concat(k);var H=b;return t(b)&&!t(k)&&(H=l(b,O)),t(b)&&t(k)?(k.forEach(function(q,G){if(e.call(b,G)){var Y=b[G];Y&&typeof Y=="object"&&q&&typeof q=="object"?b[G]=A(Y,q,O):b.push(q)}else b[G]=q}),b):Object.keys(k).reduce(function(q,G){var Y=k[G];return e.call(q,G)?q[G]=A(q[G],Y,O):q[G]=Y,q},H)},h=function(b,k){return Object.keys(k).reduce(function(O,H){return O[H]=k[H],O},b)},g=function(A,b,k){var O=A.replace(/\+/g," ");if(k==="iso-8859-1")return O.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(O)}catch{return O}},m=1024,M=function(b,k,O,H,q){if(b.length===0)return b;var G=b;if(typeof b=="symbol"?G=Symbol.prototype.toString.call(b):typeof b!="string"&&(G=String(b)),O==="iso-8859-1")return escape(G).replace(/%u[0-9a-f]{4}/gi,function(K){return"%26%23"+parseInt(K.slice(2),16)+"%3B"});for(var Y="",ue=0;ue<G.length;ue+=m){for(var ee=G.length>=m?G.slice(ue,ue+m):G,fe=[],N=0;N<ee.length;++N){var re=ee.charCodeAt(N);if(re===45||re===46||re===95||re===126||re>=48&&re<=57||re>=65&&re<=90||re>=97&&re<=122||q===r.RFC1738&&(re===40||re===41)){fe[fe.length]=ee.charAt(N);continue}if(re<128){fe[fe.length]=n[re];continue}if(re<2048){fe[fe.length]=n[192|re>>6]+n[128|re&63];continue}if(re<55296||re>=57344){fe[fe.length]=n[224|re>>12]+n[128|re>>6&63]+n[128|re&63];continue}N+=1,re=65536+((re&1023)<<10|ee.charCodeAt(N)&1023),fe[fe.length]=n[240|re>>18]+n[128|re>>12&63]+n[128|re>>6&63]+n[128|re&63]}Y+=fe.join("")}return Y},T=function(b){for(var k=[{obj:{o:b},prop:"o"}],O=[],H=0;H<k.length;++H)for(var q=k[H],G=q.obj[q.prop],Y=Object.keys(G),ue=0;ue<Y.length;++ue){var ee=Y[ue],fe=G[ee];typeof fe=="object"&&fe!==null&&O.indexOf(fe)===-1&&(k.push({obj:G,prop:ee}),O.push(fe))}return i(k),b},C=function(b){return Object.prototype.toString.call(b)==="[object RegExp]"},_=function(b){return!b||typeof b!="object"?!1:!!(b.constructor&&b.constructor.isBuffer&&b.constructor.isBuffer(b))},S=function(b,k){return[].concat(b,k)},D=function(b,k){if(t(b)){for(var O=[],H=0;H<b.length;H+=1)O.push(k(b[H]));return O}return k(b)};return I1={arrayToObject:l,assign:h,combine:S,compact:T,decode:g,encode:M,isBuffer:_,isRegExp:C,maybeMap:D,merge:u},I1}var L1,P_;function ej(){if(P_)return L1;P_=1;var r=QN(),e=_S(),t=Hm(),n=Object.prototype.hasOwnProperty,i={brackets:function(A){return A+"[]"},comma:"comma",indices:function(A,b){return A+"["+b+"]"},repeat:function(A){return A}},l=Array.isArray,u=Array.prototype.push,h=function(D,A){u.apply(D,l(A)?A:[A])},g=Date.prototype.toISOString,m=t.default,M={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:e.encode,encodeValuesOnly:!1,filter:void 0,format:m,formatter:t.formatters[m],indices:!1,serializeDate:function(A){return g.call(A)},skipNulls:!1,strictNullHandling:!1},T=function(A){return typeof A=="string"||typeof A=="number"||typeof A=="boolean"||typeof A=="symbol"||typeof A=="bigint"},C={},_=function D(A,b,k,O,H,q,G,Y,ue,ee,fe,N,re,K,ne,ie,ce,me){for(var le=A,be=me,ge=0,xe=!1;(be=be.get(C))!==void 0&&!xe;){var Ie=be.get(A);if(ge+=1,typeof Ie<"u"){if(Ie===ge)throw new RangeError("Cyclic object value");xe=!0}typeof be.get(C)>"u"&&(ge=0)}if(typeof ee=="function"?le=ee(b,le):le instanceof Date?le=re(le):k==="comma"&&l(le)&&(le=e.maybeMap(le,function(Je){return Je instanceof Date?re(Je):Je})),le===null){if(q)return ue&&!ie?ue(b,M.encoder,ce,"key",K):b;le=""}if(T(le)||e.isBuffer(le)){if(ue){var Pe=ie?b:ue(b,M.encoder,ce,"key",K);return[ne(Pe)+"="+ne(ue(le,M.encoder,ce,"value",K))]}return[ne(b)+"="+ne(String(le))]}var Ve=[];if(typeof le>"u")return Ve;var Ee;if(k==="comma"&&l(le))ie&&ue&&(le=e.maybeMap(le,ue)),Ee=[{value:le.length>0?le.join(",")||null:void 0}];else if(l(ee))Ee=ee;else{var ot=Object.keys(le);Ee=fe?ot.sort(fe):ot}var ht=Y?String(b).replace(/\./g,"%2E"):String(b),Ke=O&&l(le)&&le.length===1?ht+"[]":ht;if(H&&l(le)&&le.length===0)return Ke+"[]";for(var Ye=0;Ye<Ee.length;++Ye){var Oe=Ee[Ye],Ne=typeof Oe=="object"&&Oe&&typeof Oe.value<"u"?Oe.value:le[Oe];if(!(G&&Ne===null)){var Ae=N&&Y?String(Oe).replace(/\./g,"%2E"):String(Oe),Le=l(le)?typeof k=="function"?k(Ke,Ae):Ke:Ke+(N?"."+Ae:"["+Ae+"]");me.set(A,ge);var ke=r();ke.set(C,me),h(Ve,D(Ne,Le,k,O,H,q,G,Y,k==="comma"&&ie&&l(le)?null:ue,ee,fe,N,re,K,ne,ie,ce,ke))}}return Ve},S=function(A){if(!A)return M;if(typeof A.allowEmptyArrays<"u"&&typeof A.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof A.encodeDotInKeys<"u"&&typeof A.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(A.encoder!==null&&typeof A.encoder<"u"&&typeof A.encoder!="function")throw new TypeError("Encoder has to be a function.");var b=A.charset||M.charset;if(typeof A.charset<"u"&&A.charset!=="utf-8"&&A.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var k=t.default;if(typeof A.format<"u"){if(!n.call(t.formatters,A.format))throw new TypeError("Unknown format option provided.");k=A.format}var O=t.formatters[k],H=M.filter;(typeof A.filter=="function"||l(A.filter))&&(H=A.filter);var q;if(A.arrayFormat in i?q=A.arrayFormat:"indices"in A?q=A.indices?"indices":"repeat":q=M.arrayFormat,"commaRoundTrip"in A&&typeof A.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var G=typeof A.allowDots>"u"?A.encodeDotInKeys===!0?!0:M.allowDots:!!A.allowDots;return{addQueryPrefix:typeof A.addQueryPrefix=="boolean"?A.addQueryPrefix:M.addQueryPrefix,allowDots:G,allowEmptyArrays:typeof A.allowEmptyArrays=="boolean"?!!A.allowEmptyArrays:M.allowEmptyArrays,arrayFormat:q,charset:b,charsetSentinel:typeof A.charsetSentinel=="boolean"?A.charsetSentinel:M.charsetSentinel,commaRoundTrip:!!A.commaRoundTrip,delimiter:typeof A.delimiter>"u"?M.delimiter:A.delimiter,encode:typeof A.encode=="boolean"?A.encode:M.encode,encodeDotInKeys:typeof A.encodeDotInKeys=="boolean"?A.encodeDotInKeys:M.encodeDotInKeys,encoder:typeof A.encoder=="function"?A.encoder:M.encoder,encodeValuesOnly:typeof A.encodeValuesOnly=="boolean"?A.encodeValuesOnly:M.encodeValuesOnly,filter:H,format:k,formatter:O,serializeDate:typeof A.serializeDate=="function"?A.serializeDate:M.serializeDate,skipNulls:typeof A.skipNulls=="boolean"?A.skipNulls:M.skipNulls,sort:typeof A.sort=="function"?A.sort:null,strictNullHandling:typeof A.strictNullHandling=="boolean"?A.strictNullHandling:M.strictNullHandling}};return L1=function(D,A){var b=D,k=S(A),O,H;typeof k.filter=="function"?(H=k.filter,b=H("",b)):l(k.filter)&&(H=k.filter,O=H);var q=[];if(typeof b!="object"||b===null)return"";var G=i[k.arrayFormat],Y=G==="comma"&&k.commaRoundTrip;O||(O=Object.keys(b)),k.sort&&O.sort(k.sort);for(var ue=r(),ee=0;ee<O.length;++ee){var fe=O[ee],N=b[fe];k.skipNulls&&N===null||h(q,_(N,fe,G,Y,k.allowEmptyArrays,k.strictNullHandling,k.skipNulls,k.encodeDotInKeys,k.encode?k.encoder:null,k.filter,k.sort,k.allowDots,k.serializeDate,k.format,k.formatter,k.encodeValuesOnly,k.charset,ue))}var re=q.join(k.delimiter),K=k.addQueryPrefix===!0?"?":"";return k.charsetSentinel&&(k.charset==="iso-8859-1"?K+="utf8=%26%2310003%3B&":K+="utf8=%E2%9C%93&"),re.length>0?K+re:""},L1}var M1,N_;function tj(){if(N_)return M1;N_=1;var r=_S(),e=Object.prototype.hasOwnProperty,t=Array.isArray,n={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},i=function(C){return C.replace(/&#(\d+);/g,function(_,S){return String.fromCharCode(parseInt(S,10))})},l=function(C,_,S){if(C&&typeof C=="string"&&_.comma&&C.indexOf(",")>-1)return C.split(",");if(_.throwOnLimitExceeded&&S>=_.arrayLimit)throw new RangeError("Array limit exceeded. Only "+_.arrayLimit+" element"+(_.arrayLimit===1?"":"s")+" allowed in an array.");return C},u="utf8=%26%2310003%3B",h="utf8=%E2%9C%93",g=function(_,S){var D={__proto__:null},A=S.ignoreQueryPrefix?_.replace(/^\?/,""):_;A=A.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var b=S.parameterLimit===1/0?void 0:S.parameterLimit,k=A.split(S.delimiter,S.throwOnLimitExceeded?b+1:b);if(S.throwOnLimitExceeded&&k.length>b)throw new RangeError("Parameter limit exceeded. Only "+b+" parameter"+(b===1?"":"s")+" allowed.");var O=-1,H,q=S.charset;if(S.charsetSentinel)for(H=0;H<k.length;++H)k[H].indexOf("utf8=")===0&&(k[H]===h?q="utf-8":k[H]===u&&(q="iso-8859-1"),O=H,H=k.length);for(H=0;H<k.length;++H)if(H!==O){var G=k[H],Y=G.indexOf("]="),ue=Y===-1?G.indexOf("="):Y+1,ee,fe;ue===-1?(ee=S.decoder(G,n.decoder,q,"key"),fe=S.strictNullHandling?null:""):(ee=S.decoder(G.slice(0,ue),n.decoder,q,"key"),fe=r.maybeMap(l(G.slice(ue+1),S,t(D[ee])?D[ee].length:0),function(re){return S.decoder(re,n.decoder,q,"value")})),fe&&S.interpretNumericEntities&&q==="iso-8859-1"&&(fe=i(String(fe))),G.indexOf("[]=")>-1&&(fe=t(fe)?[fe]:fe);var N=e.call(D,ee);N&&S.duplicates==="combine"?D[ee]=r.combine(D[ee],fe):(!N||S.duplicates==="last")&&(D[ee]=fe)}return D},m=function(C,_,S,D){var A=0;if(C.length>0&&C[C.length-1]==="[]"){var b=C.slice(0,-1).join("");A=Array.isArray(_)&&_[b]?_[b].length:0}for(var k=D?_:l(_,S,A),O=C.length-1;O>=0;--O){var H,q=C[O];if(q==="[]"&&S.parseArrays)H=S.allowEmptyArrays&&(k===""||S.strictNullHandling&&k===null)?[]:r.combine([],k);else{H=S.plainObjects?{__proto__:null}:{};var G=q.charAt(0)==="["&&q.charAt(q.length-1)==="]"?q.slice(1,-1):q,Y=S.decodeDotInKeys?G.replace(/%2E/g,"."):G,ue=parseInt(Y,10);!S.parseArrays&&Y===""?H={0:k}:!isNaN(ue)&&q!==Y&&String(ue)===Y&&ue>=0&&S.parseArrays&&ue<=S.arrayLimit?(H=[],H[ue]=k):Y!=="__proto__"&&(H[Y]=k)}k=H}return k},M=function(_,S,D,A){if(_){var b=D.allowDots?_.replace(/\.([^.[]+)/g,"[$1]"):_,k=/(\[[^[\]]*])/,O=/(\[[^[\]]*])/g,H=D.depth>0&&k.exec(b),q=H?b.slice(0,H.index):b,G=[];if(q){if(!D.plainObjects&&e.call(Object.prototype,q)&&!D.allowPrototypes)return;G.push(q)}for(var Y=0;D.depth>0&&(H=O.exec(b))!==null&&Y<D.depth;){if(Y+=1,!D.plainObjects&&e.call(Object.prototype,H[1].slice(1,-1))&&!D.allowPrototypes)return;G.push(H[1])}if(H){if(D.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+D.depth+" and strictDepth is true");G.push("["+b.slice(H.index)+"]")}return m(G,S,D,A)}},T=function(_){if(!_)return n;if(typeof _.allowEmptyArrays<"u"&&typeof _.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof _.decodeDotInKeys<"u"&&typeof _.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(_.decoder!==null&&typeof _.decoder<"u"&&typeof _.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof _.charset<"u"&&_.charset!=="utf-8"&&_.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof _.throwOnLimitExceeded<"u"&&typeof _.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var S=typeof _.charset>"u"?n.charset:_.charset,D=typeof _.duplicates>"u"?n.duplicates:_.duplicates;if(D!=="combine"&&D!=="first"&&D!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var A=typeof _.allowDots>"u"?_.decodeDotInKeys===!0?!0:n.allowDots:!!_.allowDots;return{allowDots:A,allowEmptyArrays:typeof _.allowEmptyArrays=="boolean"?!!_.allowEmptyArrays:n.allowEmptyArrays,allowPrototypes:typeof _.allowPrototypes=="boolean"?_.allowPrototypes:n.allowPrototypes,allowSparse:typeof _.allowSparse=="boolean"?_.allowSparse:n.allowSparse,arrayLimit:typeof _.arrayLimit=="number"?_.arrayLimit:n.arrayLimit,charset:S,charsetSentinel:typeof _.charsetSentinel=="boolean"?_.charsetSentinel:n.charsetSentinel,comma:typeof _.comma=="boolean"?_.comma:n.comma,decodeDotInKeys:typeof _.decodeDotInKeys=="boolean"?_.decodeDotInKeys:n.decodeDotInKeys,decoder:typeof _.decoder=="function"?_.decoder:n.decoder,delimiter:typeof _.delimiter=="string"||r.isRegExp(_.delimiter)?_.delimiter:n.delimiter,depth:typeof _.depth=="number"||_.depth===!1?+_.depth:n.depth,duplicates:D,ignoreQueryPrefix:_.ignoreQueryPrefix===!0,interpretNumericEntities:typeof _.interpretNumericEntities=="boolean"?_.interpretNumericEntities:n.interpretNumericEntities,parameterLimit:typeof _.parameterLimit=="number"?_.parameterLimit:n.parameterLimit,parseArrays:_.parseArrays!==!1,plainObjects:typeof _.plainObjects=="boolean"?_.plainObjects:n.plainObjects,strictDepth:typeof _.strictDepth=="boolean"?!!_.strictDepth:n.strictDepth,strictNullHandling:typeof _.strictNullHandling=="boolean"?_.strictNullHandling:n.strictNullHandling,throwOnLimitExceeded:typeof _.throwOnLimitExceeded=="boolean"?_.throwOnLimitExceeded:!1}};return M1=function(C,_){var S=T(_);if(C===""||C===null||typeof C>"u")return S.plainObjects?{__proto__:null}:{};for(var D=typeof C=="string"?g(C,S):C,A=S.plainObjects?{__proto__:null}:{},b=Object.keys(D),k=0;k<b.length;++k){var O=b[k],H=M(O,D[O],S,typeof C=="string");A=r.merge(A,H,S)}return S.allowSparse===!0?A:r.compact(A)},M1}var D1,j_;function rj(){if(j_)return D1;j_=1;var r=ej(),e=tj(),t=Hm();return D1={formats:t,parse:e,stringify:r},D1}var nj=rj();const ij=il(nj),im={StoredContexts:{},defaultHandler:()=>{}},xS={Init:()=>{},Create:r=>{const e=r.method+r.url;return im.StoredContexts[e]=r,oj(r)},FetchBaseUrl:()=>window.location.href,useDefaultHandler:r=>{im.defaultHandler=r}};function oj(r){const e=`[${r.method}] ${r.url}`;return{Call:async n=>{let{url:i,method:l,stream:u,paramType:h}=r;const{po:g,onStream:m,onStreamEnd:M,noDefaultHandle:T=[]}=n??{};(h==="query"||l==="GET")&&g!==void 0&&(i+="?"+ij.stringify(g,{arrayFormat:"comma"}));const C={method:l,headers:{Accept:"application/json;charset=UTF-8","X-Requested-With":"XMLHttpRequest","Cache-Control":"no-cache",Pragma:"no-cache",crossDomain:"true"}};if(h==="form"){const D=new FormData;if(g!==void 0)for(const A in g){const b=g[A];D.append(A,b)}C.body=D}else(h==="body"||h===void 0&&r.method!=="GET")&&(C.body=JSON.stringify(g),C.headers["Content-Type"]="application/json;charset=UTF-8");let _={errorCode:0,message:""};const S=Date.now();i=xS.FetchBaseUrl()+i;try{let D=await fetch(i,C);if(D.ok===!1)return _.errorCode=D.status,_.message=D.statusText,_;{const A=new TextDecoder("utf-8");if(u){if(D.body){let b=D.body.getReader(),k="";for(;;){const O=await b.read();if(O.done)break;const H=A.decode(O.value).trim();k+=H;let q=null;try{const G=H.split("\0");let Y=G[G.length-1];for(let ue=G.length-2;ue>=0;ue--)if(G[ue].trim().length!==0){Y=G[ue];break}q=await JSON.parse(Y)}catch{try{const Y=k.split("\0");let ue=Y[Y.length-1];for(let ee=Y.length-2;ee>=0;ee--)if(Y[ee].trim().length!==0){ue=Y[ee];break}q=await JSON.parse(ue)}catch{}}if(q!=null&&(Object.keys(q).includes("err_code")?_.errorCode=q.err_code:(_.errorCode=0,_.data=q,k="",O.done?M==null||M(_.data):m==null||m(_.data))),O.done)break}}}else if(D.body){const k=await D.body.getReader().read(),O=A.decode(k.value);if(O==="null")return _;{let H=await JSON.parse(O.replaceAll("\0",""));Object.keys(H).includes("err_code")?(_.errorCode=H.err_code,_.message=H.err_msg):_.data=H}}}}catch(D){console.warn(D),_.errorCode=-1,_.message=D.message}return console.debug(`${e} ${Date.now()-S}ms`),T!==!0&&await im.defaultHandler(_,T),_}}}async function sj(r){const e=new Promise((t,n)=>{const i=new FileReader;i.onloadend=()=>{i.result?typeof i.result=="string"?t(i.result):n(new Error("Failed to convert file to Base64: Invalid result type.")):n(new Error("Failed to convert file to Base64: Empty result."))},i.onerror=n,i.readAsDataURL(r)});try{return await e}catch{return}}function aj(r,e){var h,g;const t=r.split(","),n=(g=(h=t[0])==null?void 0:h.match(/:(.*?);/))==null?void 0:g[1],i=atob(t[1]);let l=i.length;const u=new Uint8Array(l);for(;l--;)u[l]=i.charCodeAt(l);return new File([u],e,{type:n})}const lj={toBase64:sj,toFile:aj};exports.ABase=Ur;exports.ABaseStyleKeys=r2;exports.AButton=Bi;exports.AButtonStyleKeys=i2;exports.AButtonTypes=r5;exports.ACheckBox=Uu;exports.ACheckBoxStyleKeys=l2;exports.AChip=L2;exports.AChipKeys=E2;exports.AChips=vT;exports.AClock=IT;exports.AColFrame=R2;exports.ADatePicker=dm;exports.ADatePickerStyleKeys=y2;exports.ADatePickerTypes=n6;exports.ADateRangePicker=um;exports.ADateRangePickerStyleKeys=b2;exports.ADialog=d6;exports.ADialogStyleKeys=c2;exports.ADialogTypes=f6;exports.ADivideFrame=oT;exports.AEditor=NP;exports.AEditorStyleKeys=a2;exports.AFileBox=C6;exports.AFileBoxStyleKeys=g2;exports.AFloatMenu=O2;exports.AFloatMenuKeys=C2;exports.AFrameStyleKeys=S2;exports.AGrow=Yc;exports.AIcon=Br;exports.AIconButton=vo;exports.AIconButtonStyleKeys=_2;exports.AIconButtonTypes=n5;exports.AIconHOC=F4;exports.AIcons=am;exports.AInput=Jl;exports.AInputStyleKeys=o2;exports.AInputTypes=$T;exports.AListView=P6;exports.AListViewStyleKeys=m2;exports.ALoadingBorder=hm;exports.ALoadingBorderKeys=w2;exports.AMultiSelect=c8;exports.AMultiSelectStyleKeys=f2;exports.ANumInput=I6;exports.AOverflowFrame=Xl;exports.ARadioSelect=Z6;exports.ARadioSelectKeys=T2;exports.ARowFrame=si;exports.ASelect=Wc;exports.ASelectStyleKeys=u2;exports.ASelectTypes=iE;exports.ASpace=mn;exports.AStepper=w8;exports.AStepperStyleKeys=v2;exports.ASwitch=Y_;exports.ASwitchFrame=I2;exports.ASwitchStyleKeys=h2;exports.ATab=j2;exports.ATabStyleKeys=p2;exports.ATabTypes=N8;exports.ATable=$k;exports.ATableStyleKeys=x2;exports.AText=z2;exports.ATextArea=eR;exports.ATextAreaStyleKeys=s2;exports.ATextAreaTypes=Qk;exports.AThemeButton=H5;exports.AThemes=Df;exports.ATooltip=Z_;exports.ATooltipStyleKeys=n2;exports.ATree=_N;exports.ATreeStyleKeys=d2;exports.AWrap=Uc;exports.AWrapKeys=A2;exports.AWrapTypes=x5;exports.ApiContext=xS;exports.BodyStyleKeys=t2;exports.CreateADC=y6;exports.DefaultOptionRenderer=N2;exports.EDir12=Ku;exports.EDir4=vi;exports.FileSizeTrans=nm;exports.Icons=th;exports.IsCursorPointer=z_;exports.IsFixedShape=H_;exports.IsInteractive=$_;exports.NoSelect=q_;exports.Resources=hn;exports.SetResources=g5;exports.alphanumericRegex=bT;exports.bound=Mf;exports.cbF=kr;exports.changeSemanticMode=cm;exports.componentStyleKeys=D5;exports.createEvent=$c;exports.dateF=zt;exports.defaultPredicate=B2;exports.dlgF=b6;exports.emailIdRegex=xT;exports.emailRegex=_T;exports.fileF=lj;exports.getMonthsOptions=Wf;exports.getYearsOptions=fm;exports.hangulRegex=CT;exports.hexRegex=ST;exports.noHanguljamoRegex=AT;exports.noSpaceRegex=wT;exports.numF=P2;exports.objF=Xt;exports.paletteKeys=K_;exports.paletteModes=rh;exports.passwordRegex=ET;exports.refinedDesignTokens=bi;exports.sF=qe;exports.semanticKeys=Q_;exports.semanticModes=$u;exports.setDir12Style=lm;exports.setDir12StyleElem=V_;exports.specialCharRegex=TT;exports.strF=D2;exports.tableF=Ja;exports.treeF=Qa;exports.useADialogCore=m6;exports.useADialogCores=g6;exports.useEvent=H2;exports.useInit=F2;exports.useValues=pn;exports.uuidRegex=kT;
|