ados-rcm 1.1.477 → 1.1.479
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 +43 -43
- package/dist/index.es.js +528 -508
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
@@ -19,20 +19,20 @@
|
|
19
19
|
`+Oe+ne}}var We=!1,Se;{var _e=typeof WeakMap=="function"?WeakMap:Map;Se=new _e}function Ce(ne,He){if(!ne||We)return"";{var xe=Se.get(ne);if(xe!==void 0)return xe}var Ye;We=!0;var xt=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Tt;Tt=we.current,we.current=null,Ie();try{if(He){var kt=function(){throw Error()};if(Object.defineProperty(kt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(kt,[])}catch(zr){Ye=zr}Reflect.construct(ne,[],kt)}else{try{kt.call()}catch(zr){Ye=zr}ne.call(kt.prototype)}}else{try{throw Error()}catch(zr){Ye=zr}ne()}}catch(zr){if(zr&&Ye&&typeof zr.stack=="string"){for(var wt=zr.stack.split(`
|
20
20
|
`),or=Ye.stack.split(`
|
21
21
|
`),Gt=wt.length-1,rr=or.length-1;Gt>=1&&rr>=0&&wt[Gt]!==or[rr];)rr--;for(;Gt>=1&&rr>=0;Gt--,rr--)if(wt[Gt]!==or[rr]){if(Gt!==1||rr!==1)do if(Gt--,rr--,rr<0||wt[Gt]!==or[rr]){var gr=`
|
22
|
-
`+wt[Gt].replace(" at new "," at ");return ne.displayName&&gr.includes("<anonymous>")&&(gr=gr.replace("<anonymous>",ne.displayName)),typeof ne=="function"&&Se.set(ne,gr),gr}while(Gt>=1&&rr>=0);break}}}finally{We=!1,we.current=Tt,oe(),Error.prepareStackTrace=xt}var Kt=ne?ne.displayName||ne.name:"",jr=Kt?Ue(Kt):"";return typeof ne=="function"&&Se.set(ne,jr),jr}function Te(ne,He,xe){return Ce(ne,!1)}function Ne(ne){var He=ne.prototype;return!!(He&&He.isReactComponent)}function ot(ne,He,xe){if(ne==null)return"";if(typeof ne=="function")return Ce(ne,Ne(ne));if(typeof ne=="string")return Ue(ne);switch(ne){case h:return Ue("Suspense");case x:return Ue("SuspenseList")}if(typeof ne=="object")switch(ne.$$typeof){case d:return Te(ne.render);case _:return ot(ne.type,He,xe);case v:{var Ye=ne,xt=Ye._payload,Tt=Ye._init;try{return ot(Tt(xt),He,xe)}catch{}}}return""}var $e=Object.prototype.hasOwnProperty,tt={},at=S.ReactDebugCurrentFrame;function De(ne){if(ne){var He=ne._owner,xe=ot(ne.type,ne._source,He?He.type:null);at.setExtraStackFrame(xe)}else at.setExtraStackFrame(null)}function Ke(ne,He,xe,Ye,xt){{var Tt=Function.call.bind($e);for(var kt in ne)if(Tt(ne,kt)){var wt=void 0;try{if(typeof ne[kt]!="function"){var or=Error((Ye||"React class")+": "+xe+" type `"+kt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof ne[kt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw or.name="Invariant Violation",or}wt=ne[kt](He,kt,Ye,xe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Gt){wt=Gt}wt&&!(wt instanceof Error)&&(De(xt),E("%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).",Ye||"React class",xe,kt,typeof wt),De(null)),wt instanceof Error&&!(wt.message in tt)&&(tt[wt.message]=!0,De(xt),E("Failed %s type: %s",xe,wt.message),De(null))}}}var yt=Array.isArray;function
|
22
|
+
`+wt[Gt].replace(" at new "," at ");return ne.displayName&&gr.includes("<anonymous>")&&(gr=gr.replace("<anonymous>",ne.displayName)),typeof ne=="function"&&Se.set(ne,gr),gr}while(Gt>=1&&rr>=0);break}}}finally{We=!1,we.current=Tt,oe(),Error.prepareStackTrace=xt}var Kt=ne?ne.displayName||ne.name:"",jr=Kt?Ue(Kt):"";return typeof ne=="function"&&Se.set(ne,jr),jr}function Te(ne,He,xe){return Ce(ne,!1)}function Ne(ne){var He=ne.prototype;return!!(He&&He.isReactComponent)}function ot(ne,He,xe){if(ne==null)return"";if(typeof ne=="function")return Ce(ne,Ne(ne));if(typeof ne=="string")return Ue(ne);switch(ne){case h:return Ue("Suspense");case x:return Ue("SuspenseList")}if(typeof ne=="object")switch(ne.$$typeof){case d:return Te(ne.render);case _:return ot(ne.type,He,xe);case v:{var Ye=ne,xt=Ye._payload,Tt=Ye._init;try{return ot(Tt(xt),He,xe)}catch{}}}return""}var $e=Object.prototype.hasOwnProperty,tt={},at=S.ReactDebugCurrentFrame;function De(ne){if(ne){var He=ne._owner,xe=ot(ne.type,ne._source,He?He.type:null);at.setExtraStackFrame(xe)}else at.setExtraStackFrame(null)}function Ke(ne,He,xe,Ye,xt){{var Tt=Function.call.bind($e);for(var kt in ne)if(Tt(ne,kt)){var wt=void 0;try{if(typeof ne[kt]!="function"){var or=Error((Ye||"React class")+": "+xe+" type `"+kt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof ne[kt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw or.name="Invariant Violation",or}wt=ne[kt](He,kt,Ye,xe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Gt){wt=Gt}wt&&!(wt instanceof Error)&&(De(xt),E("%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).",Ye||"React class",xe,kt,typeof wt),De(null)),wt instanceof Error&&!(wt.message in tt)&&(tt[wt.message]=!0,De(xt),E("Failed %s type: %s",xe,wt.message),De(null))}}}var yt=Array.isArray;function bt(ne){return yt(ne)}function _t(ne){{var He=typeof Symbol=="function"&&Symbol.toStringTag,xe=He&&ne[Symbol.toStringTag]||ne.constructor.name||"Object";return xe}}function At(ne){try{return qe(ne),!1}catch{return!0}}function qe(ne){return""+ne}function Qe(ne){if(At(ne))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",_t(ne)),qe(ne)}var St=S.ReactCurrentOwner,Dt={key:!0,ref:!0,__self:!0,__source:!0},Et,Ze;function It(ne){if($e.call(ne,"ref")){var He=Object.getOwnPropertyDescriptor(ne,"ref").get;if(He&&He.isReactWarning)return!1}return ne.ref!==void 0}function Ot(ne){if($e.call(ne,"key")){var He=Object.getOwnPropertyDescriptor(ne,"key").get;if(He&&He.isReactWarning)return!1}return ne.key!==void 0}function pr(ne,He){typeof ne.ref=="string"&&St.current}function br(ne,He){{var xe=function(){Et||(Et=!0,E("%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))};xe.isReactWarning=!0,Object.defineProperty(ne,"key",{get:xe,configurable:!0})}}function Or(ne,He){{var xe=function(){Ze||(Ze=!0,E("%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))};xe.isReactWarning=!0,Object.defineProperty(ne,"ref",{get:xe,configurable:!0})}}var Ee=function(ne,He,xe,Ye,xt,Tt,kt){var wt={$$typeof:e,type:ne,key:He,ref:xe,props:kt,_owner:Tt};return wt._store={},Object.defineProperty(wt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(wt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ye}),Object.defineProperty(wt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:xt}),Object.freeze&&(Object.freeze(wt.props),Object.freeze(wt)),wt};function ae(ne,He,xe,Ye,xt){{var Tt,kt={},wt=null,or=null;xe!==void 0&&(Qe(xe),wt=""+xe),Ot(He)&&(Qe(He.key),wt=""+He.key),It(He)&&(or=He.ref,pr(He,xt));for(Tt in He)$e.call(He,Tt)&&!Dt.hasOwnProperty(Tt)&&(kt[Tt]=He[Tt]);if(ne&&ne.defaultProps){var Gt=ne.defaultProps;for(Tt in Gt)kt[Tt]===void 0&&(kt[Tt]=Gt[Tt])}if(wt||or){var rr=typeof ne=="function"?ne.displayName||ne.name||"Unknown":ne;wt&&br(kt,rr),or&&Or(kt,rr)}return Ee(ne,wt,or,xt,Ye,St.current,kt)}}var st=S.ReactCurrentOwner,mt=S.ReactDebugCurrentFrame;function Ft(ne){if(ne){var He=ne._owner,xe=ot(ne.type,ne._source,He?He.type:null);mt.setExtraStackFrame(xe)}else mt.setExtraStackFrame(null)}var Rt;Rt=!1;function Mt(ne){return typeof ne=="object"&&ne!==null&&ne.$$typeof===e}function Qt(){{if(st.current){var ne=V(st.current.type);if(ne)return`
|
23
23
|
|
24
24
|
Check the render method of \``+ne+"`."}return""}}function qt(ne){return""}var sr={};function er(ne){{var He=Qt();if(!He){var xe=typeof ne=="string"?ne:ne.displayName||ne.name;xe&&(He=`
|
25
25
|
|
26
|
-
Check the top-level render call using <`+xe+">.")}return He}}function _r(ne,He){{if(!ne._store||ne._store.validated||ne.key!=null)return;ne._store.validated=!0;var xe=er(He);if(sr[xe])return;sr[xe]=!0;var Ye="";ne&&ne._owner&&ne._owner!==st.current&&(Ye=" It was passed a child from "+V(ne._owner.type)+"."),Ft(ne),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',xe,Ye),Ft(null)}}function fr(ne,He){{if(typeof ne!="object")return;if(
|
26
|
+
Check the top-level render call using <`+xe+">.")}return He}}function _r(ne,He){{if(!ne._store||ne._store.validated||ne.key!=null)return;ne._store.validated=!0;var xe=er(He);if(sr[xe])return;sr[xe]=!0;var Ye="";ne&&ne._owner&&ne._owner!==st.current&&(Ye=" It was passed a child from "+V(ne._owner.type)+"."),Ft(ne),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',xe,Ye),Ft(null)}}function fr(ne,He){{if(typeof ne!="object")return;if(bt(ne))for(var xe=0;xe<ne.length;xe++){var Ye=ne[xe];Mt(Ye)&&_r(Ye,He)}else if(Mt(ne))ne._store&&(ne._store.validated=!0);else if(ne){var xt=w(ne);if(typeof xt=="function"&&xt!==ne.entries)for(var Tt=xt.call(ne),kt;!(kt=Tt.next()).done;)Mt(kt.value)&&_r(kt.value,He)}}}function lt(ne){{var He=ne.type;if(He==null||typeof He=="string")return;var xe;if(typeof He=="function")xe=He.propTypes;else if(typeof He=="object"&&(He.$$typeof===d||He.$$typeof===_))xe=He.propTypes;else return;if(xe){var Ye=V(He);Ke(xe,ne.props,"prop",Ye,ne)}else if(He.PropTypes!==void 0&&!Rt){Rt=!0;var xt=V(He);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",xt||"Unknown")}typeof He.getDefaultProps=="function"&&!He.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function it(ne){{for(var He=Object.keys(ne.props),xe=0;xe<He.length;xe++){var Ye=He[xe];if(Ye!=="children"&&Ye!=="key"){Ft(ne),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ye),Ft(null);break}}ne.ref!==null&&(Ft(ne),E("Invalid attribute `ref` supplied to `React.Fragment`."),Ft(null))}}function Fe(ne,He,xe,Ye,xt,Tt){{var kt=re(ne);if(!kt){var wt="";(ne===void 0||typeof ne=="object"&&ne!==null&&Object.keys(ne).length===0)&&(wt+=" 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 or=qt();or?wt+=or:wt+=Qt();var Gt;ne===null?Gt="null":bt(ne)?Gt="array":ne!==void 0&&ne.$$typeof===e?(Gt="<"+(V(ne.type)||"Unknown")+" />",wt=" Did you accidentally export a JSX literal instead of a component?"):Gt=typeof ne,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Gt,wt)}var rr=ae(ne,He,xe,xt,Tt);if(rr==null)return rr;if(kt){var gr=He.children;if(gr!==void 0)if(Ye)if(bt(gr)){for(var Kt=0;Kt<gr.length;Kt++)fr(gr[Kt],ne);Object.freeze&&Object.freeze(gr)}else E("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 fr(gr,ne)}return ne===n?it(rr):lt(rr),rr}}function ut(ne,He,xe){return Fe(ne,He,xe,!0)}function nt(ne,He,xe){return Fe(ne,He,xe,!1)}var $t=nt,wr=ut;Df.Fragment=n,Df.jsx=$t,Df.jsxs=wr}()),Df}var Xv;function x4(){return Xv||(Xv=1,process.env.NODE_ENV==="production"?Rd.exports=b4():Rd.exports=_4()),Rd.exports}var C=x4(),Hf={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 S4=Hf.exports,Jv;function C4(){return Jv||(Jv=1,function(r,e){(function(){var t,n="4.17.21",o=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",f="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",h=500,x="__lodash_placeholder__",_=1,v=2,y=4,b=1,T=2,w=1,S=2,E=4,R=8,I=16,P=32,j=64,q=128,$=256,G=512,re=30,F="...",W=800,V=16,ee=1,ue=2,le=3,de=1/0,fe=9007199254740991,ve=17976931348623157e292,te=NaN,ce=4294967295,pe=ce-1,ye=ce>>>1,Ie=[["ary",q],["bind",w],["bindKey",S],["curry",R],["curryRight",I],["flip",G],["partial",P],["partialRight",j],["rearg",$]],oe="[object Arguments]",we="[object Array]",Oe="[object AsyncFunction]",Ue="[object Boolean]",We="[object Date]",Se="[object DOMException]",_e="[object Error]",Ce="[object Function]",Te="[object GeneratorFunction]",Ne="[object Map]",ot="[object Number]",$e="[object Null]",tt="[object Object]",at="[object Promise]",De="[object Proxy]",Ke="[object RegExp]",yt="[object Set]",_t="[object String]",bt="[object Symbol]",At="[object Undefined]",qe="[object WeakMap]",Qe="[object WeakSet]",St="[object ArrayBuffer]",Dt="[object DataView]",Et="[object Float32Array]",Ze="[object Float64Array]",It="[object Int8Array]",Ot="[object Int16Array]",pr="[object Int32Array]",br="[object Uint8Array]",Or="[object Uint8ClampedArray]",Ee="[object Uint16Array]",ae="[object Uint32Array]",st=/\b__p \+= '';/g,mt=/\b(__p \+=) '' \+/g,Ft=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Rt=/&(?:amp|lt|gt|quot|#39);/g,Mt=/[&<>"']/g,Qt=RegExp(Rt.source),qt=RegExp(Mt.source),sr=/<%-([\s\S]+?)%>/g,er=/<%([\s\S]+?)%>/g,_r=/<%=([\s\S]+?)%>/g,fr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lt=/^\w*$/,it=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fe=/[\\^$.*+?()[\]{}|]/g,ut=RegExp(Fe.source),nt=/^\s+/,$t=/\s/,wr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ne=/\{\n\/\* \[wrapped with (.+)\] \*/,He=/,? & /,xe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ye=/[()=,{}\[\]\/\s]/,xt=/\\(\\)?/g,Tt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,kt=/\w*$/,wt=/^[-+]0x[0-9a-f]+$/i,or=/^0b[01]+$/i,Gt=/^\[object .+?Constructor\]$/,rr=/^0o[0-7]+$/i,gr=/^(?:0|[1-9]\d*)$/,Kt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,jr=/($^)/,zr=/['\n\r\u2028\u2029\\]/g,vn="\\ud800-\\udfff",Fr="\\u0300-\\u036f",kn="\\ufe20-\\ufe2f",hn="\\u20d0-\\u20ff",Jn=Fr+kn+hn,Qn="\\u2700-\\u27bf",sn="a-z\\xdf-\\xf6\\xf8-\\xff",Fn="\\xac\\xb1\\xd7\\xf7",Rn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",vo="\\u2000-\\u206f",Ao=" \\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",Eo="A-Z\\xc0-\\xd6\\xd8-\\xde",On="\\ufe0e\\ufe0f",In=Fn+Rn+vo+Ao,pn="['’]",eo="["+vn+"]",an="["+In+"]",yn="["+Jn+"]",L="\\d+",H="["+Qn+"]",X="["+sn+"]",ie="[^"+vn+In+L+Qn+sn+Eo+"]",Pe="\\ud83c[\\udffb-\\udfff]",Re="(?:"+yn+"|"+Pe+")",Ve="[^"+vn+"]",ht="(?:\\ud83c[\\udde6-\\uddff]){2}",Pt="[\\ud800-\\udbff][\\udc00-\\udfff]",Ht="["+Eo+"]",Bt="\\u200d",Sr="(?:"+X+"|"+ie+")",Jr="(?:"+Ht+"|"+ie+")",_n="(?:"+pn+"(?:d|ll|m|re|s|t|ve))?",xn="(?:"+pn+"(?:D|LL|M|RE|S|T|VE))?",uo=Re+"?",$n="["+On+"]?",To="(?:"+Bt+"(?:"+[Ve,ht,Pt].join("|")+")"+$n+uo+")*",en="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",yo="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Un=$n+uo+To,to="(?:"+[H,ht,Pt].join("|")+")"+Un,xi="(?:"+[Ve+yn+"?",yn,ht,Pt,eo].join("|")+")",ii=RegExp(pn,"g"),si=RegExp(yn,"g"),Mn=RegExp(Pe+"(?="+Pe+")|"+xi+Un,"g"),Si=RegExp([Ht+"?"+X+"+"+_n+"(?="+[an,Ht,"$"].join("|")+")",Jr+"+"+xn+"(?="+[an,Ht+Sr,"$"].join("|")+")",Ht+"?"+Sr+"+"+_n,Ht+"+"+xn,yo,en,L,to].join("|"),"g"),ro=RegExp("["+Bt+vn+Jn+On+"]"),no=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Vo=["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"],Pr=-1,Ar={};Ar[Et]=Ar[Ze]=Ar[It]=Ar[Ot]=Ar[pr]=Ar[br]=Ar[Or]=Ar[Ee]=Ar[ae]=!0,Ar[oe]=Ar[we]=Ar[St]=Ar[Ue]=Ar[Dt]=Ar[We]=Ar[_e]=Ar[Ce]=Ar[Ne]=Ar[ot]=Ar[tt]=Ar[Ke]=Ar[yt]=Ar[_t]=Ar[qe]=!1;var Mr={};Mr[oe]=Mr[we]=Mr[St]=Mr[Dt]=Mr[Ue]=Mr[We]=Mr[Et]=Mr[Ze]=Mr[It]=Mr[Ot]=Mr[pr]=Mr[Ne]=Mr[ot]=Mr[tt]=Mr[Ke]=Mr[yt]=Mr[_t]=Mr[bt]=Mr[br]=Mr[Or]=Mr[Ee]=Mr[ae]=!0,Mr[_e]=Mr[Ce]=Mr[qe]=!1;var D={À:"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"},J={"&":"&","<":"<",">":">",'"':""","'":"'"},me={"&":"&","<":"<",">":">",""":'"',"'":"'"},Ge={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Yt=parseFloat,Ut=parseInt,mr=typeof Co=="object"&&Co&&Co.Object===Object&&Co,Cr=typeof self=="object"&&self&&self.Object===Object&&self,dr=mr||Cr||Function("return this")(),Er=e&&!e.nodeType&&e,tn=Er&&!0&&r&&!r.nodeType&&r,Dn=tn&&tn.exports===Er,Yr=Dn&&mr.process,$r=function(){try{var Ae=tn&&tn.require&&tn.require("util").types;return Ae||Yr&&Yr.binding&&Yr.binding("util")}catch{}}(),rn=$r&&$r.isArrayBuffer,fo=$r&&$r.isDate,bo=$r&&$r.isMap,Wn=$r&&$r.isRegExp,Ci=$r&&$r.isSet,Go=$r&&$r.isTypedArray;function ln(Ae,Xe,ze){switch(ze.length){case 0:return Ae.call(Xe);case 1:return Ae.call(Xe,ze[0]);case 2:return Ae.call(Xe,ze[0],ze[1]);case 3:return Ae.call(Xe,ze[0],ze[1],ze[2])}return Ae.apply(Xe,ze)}function ms(Ae,Xe,ze,Nt){for(var ir=-1,Br=Ae==null?0:Ae.length;++ir<Br;){var Sn=Ae[ir];Xe(Nt,Sn,ze(Sn),Ae)}return Nt}function Vn(Ae,Xe){for(var ze=-1,Nt=Ae==null?0:Ae.length;++ze<Nt&&Xe(Ae[ze],ze,Ae)!==!1;);return Ae}function pl(Ae,Xe){for(var ze=Ae==null?0:Ae.length;ze--&&Xe(Ae[ze],ze,Ae)!==!1;);return Ae}function Ia(Ae,Xe){for(var ze=-1,Nt=Ae==null?0:Ae.length;++ze<Nt;)if(!Xe(Ae[ze],ze,Ae))return!1;return!0}function Zo(Ae,Xe){for(var ze=-1,Nt=Ae==null?0:Ae.length,ir=0,Br=[];++ze<Nt;){var Sn=Ae[ze];Xe(Sn,ze,Ae)&&(Br[ir++]=Sn)}return Br}function wi(Ae,Xe){var ze=Ae==null?0:Ae.length;return!!ze&&Ai(Ae,Xe,0)>-1}function Gn(Ae,Xe,ze){for(var Nt=-1,ir=Ae==null?0:Ae.length;++Nt<ir;)if(ze(Xe,Ae[Nt]))return!0;return!1}function Qr(Ae,Xe){for(var ze=-1,Nt=Ae==null?0:Ae.length,ir=Array(Nt);++ze<Nt;)ir[ze]=Xe(Ae[ze],ze,Ae);return ir}function ko(Ae,Xe){for(var ze=-1,Nt=Xe.length,ir=Ae.length;++ze<Nt;)Ae[ir+ze]=Xe[ze];return Ae}function La(Ae,Xe,ze,Nt){var ir=-1,Br=Ae==null?0:Ae.length;for(Nt&&Br&&(ze=Ae[++ir]);++ir<Br;)ze=Xe(ze,Ae[ir],ir,Ae);return ze}function gl(Ae,Xe,ze,Nt){var ir=Ae==null?0:Ae.length;for(Nt&&ir&&(ze=Ae[--ir]);ir--;)ze=Xe(ze,Ae[ir],ir,Ae);return ze}function Ui(Ae,Xe){for(var ze=-1,Nt=Ae==null?0:Ae.length;++ze<Nt;)if(Xe(Ae[ze],ze,Ae))return!0;return!1}var ml=O("length");function vl(Ae){return Ae.split("")}function Ys(Ae){return Ae.match(xe)||[]}function vs(Ae,Xe,ze){var Nt;return ze(Ae,function(ir,Br,Sn){if(Xe(ir,Br,Sn))return Nt=Br,!1}),Nt}function ys(Ae,Xe,ze,Nt){for(var ir=Ae.length,Br=ze+(Nt?1:-1);Nt?Br--:++Br<ir;)if(Xe(Ae[Br],Br,Ae))return Br;return-1}function Ai(Ae,Xe,ze){return Xe===Xe?hf(Ae,Xe,ze):ys(Ae,Xs,ze)}function yl(Ae,Xe,ze,Nt){for(var ir=ze-1,Br=Ae.length;++ir<Br;)if(Nt(Ae[ir],Xe))return ir;return-1}function Xs(Ae){return Ae!==Ae}function Oa(Ae,Xe){var ze=Ae==null?0:Ae.length;return ze?je(Ae,Xe)/ze:te}function O(Ae){return function(Xe){return Xe==null?t:Xe[Ae]}}function B(Ae){return function(Xe){return Ae==null?t:Ae[Xe]}}function Z(Ae,Xe,ze,Nt,ir){return ir(Ae,function(Br,Sn,Kr){ze=Nt?(Nt=!1,Br):Xe(ze,Br,Sn,Kr)}),ze}function se(Ae,Xe){var ze=Ae.length;for(Ae.sort(Xe);ze--;)Ae[ze]=Ae[ze].value;return Ae}function je(Ae,Xe){for(var ze,Nt=-1,ir=Ae.length;++Nt<ir;){var Br=Xe(Ae[Nt]);Br!==t&&(ze=ze===t?Br:ze+Br)}return ze}function Me(Ae,Xe){for(var ze=-1,Nt=Array(Ae);++ze<Ae;)Nt[ze]=Xe(ze);return Nt}function et(Ae,Xe){return Qr(Xe,function(ze){return[ze,Ae[ze]]})}function Ct(Ae){return Ae&&Ae.slice(0,du(Ae)+1).replace(nt,"")}function zt(Ae){return function(Xe){return Ae(Xe)}}function hr(Ae,Xe){return Qr(Xe,function(ze){return Ae[ze]})}function ar(Ae,Xe){return Ae.has(Xe)}function Xr(Ae,Xe){for(var ze=-1,Nt=Ae.length;++ze<Nt&&Ai(Xe,Ae[ze],0)>-1;);return ze}function oo(Ae,Xe){for(var ze=Ae.length;ze--&&Ai(Xe,Ae[ze],0)>-1;);return ze}function Ro(Ae,Xe){for(var ze=Ae.length,Nt=0;ze--;)Ae[ze]===Xe&&++Nt;return Nt}var Io=B(D),Js=B(J);function bl(Ae){return"\\"+Ge[Ae]}function bs(Ae,Xe){return Ae==null?t:Ae[Xe]}function Qs(Ae){return ro.test(Ae)}function ff(Ae){return no.test(Ae)}function fc(Ae){for(var Xe,ze=[];!(Xe=Ae.next()).done;)ze.push(Xe.value);return ze}function dc(Ae){var Xe=-1,ze=Array(Ae.size);return Ae.forEach(function(Nt,ir){ze[++Xe]=[ir,Nt]}),ze}function fu(Ae,Xe){return function(ze){return Ae(Xe(ze))}}function Ei(Ae,Xe){for(var ze=-1,Nt=Ae.length,ir=0,Br=[];++ze<Nt;){var Sn=Ae[ze];(Sn===Xe||Sn===x)&&(Ae[ze]=x,Br[ir++]=ze)}return Br}function Ma(Ae){var Xe=-1,ze=Array(Ae.size);return Ae.forEach(function(Nt){ze[++Xe]=Nt}),ze}function df(Ae){var Xe=-1,ze=Array(Ae.size);return Ae.forEach(function(Nt){ze[++Xe]=[Nt,Nt]}),ze}function hf(Ae,Xe,ze){for(var Nt=ze-1,ir=Ae.length;++Nt<ir;)if(Ae[Nt]===Xe)return Nt;return-1}function pf(Ae,Xe,ze){for(var Nt=ze+1;Nt--;)if(Ae[Nt]===Xe)return Nt;return Nt}function ea(Ae){return Qs(Ae)?_l(Ae):ml(Ae)}function gn(Ae){return Qs(Ae)?Lo(Ae):vl(Ae)}function du(Ae){for(var Xe=Ae.length;Xe--&&$t.test(Ae.charAt(Xe)););return Xe}var hu=B(me);function _l(Ae){for(var Xe=Mn.lastIndex=0;Mn.test(Ae);)++Xe;return Xe}function Lo(Ae){return Ae.match(Mn)||[]}function pu(Ae){return Ae.match(Si)||[]}var xl=function Ae(Xe){Xe=Xe==null?dr:Ti.defaults(dr.Object(),Xe,Ti.pick(dr,Vo));var ze=Xe.Array,Nt=Xe.Date,ir=Xe.Error,Br=Xe.Function,Sn=Xe.Math,Kr=Xe.Object,ta=Xe.RegExp,gu=Xe.String,zo=Xe.TypeError,Sl=ze.prototype,gf=Br.prototype,Wi=Kr.prototype,nn=Xe["__core-js_shared__"],Vi=gf.toString,Gr=Wi.hasOwnProperty,hc=0,cn=function(){var i=/[^.]+$/.exec(nn&&nn.keys&&nn.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),ki=Wi.toString,pc=Vi.call(Kr),gc=dr._,mc=ta("^"+Vi.call(Gr).replace(Fe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ra=Dn?Xe.Buffer:t,Ri=Xe.Symbol,Da=Xe.Uint8Array,Pa=ra?ra.allocUnsafe:t,_s=fu(Kr.getPrototypeOf,Kr),na=Kr.create,Cl=Wi.propertyIsEnumerable,Ii=Sl.splice,wl=Ri?Ri.isConcatSpreadable:t,Ko=Ri?Ri.iterator:t,Li=Ri?Ri.toStringTag:t,Gi=function(){try{var i=Wc(Kr,"defineProperty");return i({},"",{}),i}catch{}}(),mf=Xe.clearTimeout!==dr.clearTimeout&&Xe.clearTimeout,Na=Nt&&Nt.now!==dr.Date.now&&Nt.now,mu=Xe.setTimeout!==dr.setTimeout&&Xe.setTimeout,oa=Sn.ceil,xs=Sn.floor,ia=Kr.getOwnPropertySymbols,Al=ra?ra.isBuffer:t,sa=Xe.isFinite,ja=Sl.join,vu=fu(Kr.keys,Kr),un=Sn.max,Pn=Sn.min,Zi=Nt.now,vc=Xe.parseInt,Ki=Sn.random,El=Sl.reverse,ai=Wc(Xe,"DataView"),Yi=Wc(Xe,"Map"),aa=Wc(Xe,"Promise"),li=Wc(Xe,"Set"),Oi=Wc(Xe,"WeakMap"),la=Wc(Kr,"create"),Fa=Oi&&new Oi,Ss={},Xi=Vc(ai),yc=Vc(Yi),vf=Vc(aa),yu=Vc(li),ca=Vc(Oi),Ji=Ri?Ri.prototype:t,Cs=Ji?Ji.valueOf:t,Ba=Ji?Ji.toString:t;function K(i){if(Hn(i)&&!xr(i)&&!(i instanceof yr)){if(i instanceof io)return i;if(Gr.call(i,"__wrapped__"))return pv(i)}return new io(i)}var Mi=function(){function i(){}return function(l){if(!Nn(l))return{};if(na)return na(l);i.prototype=l;var m=new i;return i.prototype=t,m}}();function Di(){}function io(i,l){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=t}K.templateSettings={escape:sr,evaluate:er,interpolate:_r,variable:"",imports:{_:K}},K.prototype=Di.prototype,K.prototype.constructor=K,io.prototype=Mi(Di.prototype),io.prototype.constructor=io;function yr(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ce,this.__views__=[]}function Tl(){var i=new yr(this.__wrapped__);return i.__actions__=ao(this.__actions__),i.__dir__=this.__dir__,i.__filtered__=this.__filtered__,i.__iteratees__=ao(this.__iteratees__),i.__takeCount__=this.__takeCount__,i.__views__=ao(this.__views__),i}function Ha(){if(this.__filtered__){var i=new yr(this);i.__dir__=-1,i.__filtered__=!0}else i=this.clone(),i.__dir__*=-1;return i}function kl(){var i=this.__wrapped__.value(),l=this.__dir__,m=xr(i),M=l<0,U=m?i.length:0,Q=$S(0,U,this.__views__),ge=Q.start,be=Q.end,ke=be-ge,ct=M?be:ge-1,ft=this.__iteratees__,vt=ft.length,jt=0,Xt=Pn(ke,this.__takeCount__);if(!m||!M&&U==ke&&Xt==ke)return so(i,this.__actions__);var cr=[];e:for(;ke--&&jt<Xt;){ct+=l;for(var Ir=-1,ur=i[ct];++Ir<vt;){var qr=ft[Ir],Wr=qr.iteratee,Hi=qr.type,ri=Wr(ur);if(Hi==ue)ur=ri;else if(!ri){if(Hi==ee)continue e;break e}}cr[jt++]=ur}return cr}yr.prototype=Mi(Di.prototype),yr.prototype.constructor=yr;function ci(i){var l=-1,m=i==null?0:i.length;for(this.clear();++l<m;){var M=i[l];this.set(M[0],M[1])}}function bc(){this.__data__=la?la(null):{},this.size=0}function bu(i){var l=this.has(i)&&delete this.__data__[i];return this.size-=l?1:0,l}function _u(i){var l=this.__data__;if(la){var m=l[i];return m===d?t:m}return Gr.call(l,i)?l[i]:t}function xu(i){var l=this.__data__;return la?l[i]!==t:Gr.call(l,i)}function yf(i,l){var m=this.__data__;return this.size+=this.has(i)?0:1,m[i]=la&&l===t?d:l,this}ci.prototype.clear=bc,ci.prototype.delete=bu,ci.prototype.get=_u,ci.prototype.has=xu,ci.prototype.set=yf;function ui(i){var l=-1,m=i==null?0:i.length;for(this.clear();++l<m;){var M=i[l];this.set(M[0],M[1])}}function bf(){this.__data__=[],this.size=0}function _f(i){var l=this.__data__,m=Yo(l,i);if(m<0)return!1;var M=l.length-1;return m==M?l.pop():Ii.call(l,m,1),--this.size,!0}function _c(i){var l=this.__data__,m=Yo(l,i);return m<0?t:l[m][1]}function qa(i){return Yo(this.__data__,i)>-1}function xf(i,l){var m=this.__data__,M=Yo(m,i);return M<0?(++this.size,m.push([i,l])):m[M][1]=l,this}ui.prototype.clear=bf,ui.prototype.delete=_f,ui.prototype.get=_c,ui.prototype.has=qa,ui.prototype.set=xf;function Pi(i){var l=-1,m=i==null?0:i.length;for(this.clear();++l<m;){var M=i[l];this.set(M[0],M[1])}}function xc(){this.size=0,this.__data__={hash:new ci,map:new(Yi||ui),string:new ci}}function Rl(i){var l=bd(this,i).delete(i);return this.size-=l?1:0,l}function Sf(i){return bd(this,i).get(i)}function Cf(i){return bd(this,i).has(i)}function wf(i,l){var m=bd(this,i),M=m.size;return m.set(i,l),this.size+=m.size==M?0:1,this}Pi.prototype.clear=xc,Pi.prototype.delete=Rl,Pi.prototype.get=Sf,Pi.prototype.has=Cf,Pi.prototype.set=wf;function ho(i){var l=-1,m=i==null?0:i.length;for(this.__data__=new Pi;++l<m;)this.add(i[l])}function Sc(i){return this.__data__.set(i,d),this}function Il(i){return this.__data__.has(i)}ho.prototype.add=ho.prototype.push=Sc,ho.prototype.has=Il;function Rr(i){var l=this.__data__=new ui(i);this.size=l.size}function Oo(){this.__data__=new ui,this.size=0}function ua(i){var l=this.__data__,m=l.delete(i);return this.size=l.size,m}function ws(i){return this.__data__.get(i)}function Hr(i){return this.__data__.has(i)}function Qi(i,l){var m=this.__data__;if(m instanceof ui){var M=m.__data__;if(!Yi||M.length<o-1)return M.push([i,l]),this.size=++m.size,this;m=this.__data__=new Pi(M)}return m.set(i,l),this.size=m.size,this}Rr.prototype.clear=Oo,Rr.prototype.delete=ua,Rr.prototype.get=ws,Rr.prototype.has=Hr,Rr.prototype.set=Qi;function za(i,l){var m=xr(i),M=!m&&Gc(i),U=!m&&!M&&Zl(i),Q=!m&&!M&&!U&&Pu(i),ge=m||M||U||Q,be=ge?Me(i.length,gu):[],ke=be.length;for(var ct in i)(l||Gr.call(i,ct))&&!(ge&&(ct=="length"||U&&(ct=="offset"||ct=="parent")||Q&&(ct=="buffer"||ct=="byteLength"||ct=="byteOffset")||el(ct,ke)))&&be.push(ct);return be}function _o(i){var l=i.length;return l?i[Ls(0,l-1)]:t}function Mo(i,l){return _d(ao(i),Es(l,0,i.length))}function fi(i){return _d(ao(i))}function Cc(i,l,m){(m!==t&&!Ms(i[l],m)||m===t&&!(l in i))&&Do(i,l,m)}function po(i,l,m){var M=i[l];(!(Gr.call(i,l)&&Ms(M,m))||m===t&&!(l in i))&&Do(i,l,m)}function Yo(i,l){for(var m=i.length;m--;)if(Ms(i[m][0],l))return m;return-1}function As(i,l,m,M){return es(i,function(U,Q,ge){l(M,U,m(U),ge)}),M}function Su(i,l){return i&&ei(l,xo(l),i)}function wc(i,l){return i&&ei(l,yi(l),i)}function Do(i,l,m){l=="__proto__"&&Gi?Gi(i,l,{configurable:!0,enumerable:!0,value:m,writable:!0}):i[l]=m}function Ac(i,l){for(var m=-1,M=l.length,U=ze(M),Q=i==null;++m<M;)U[m]=Q?t:Vh(i,l[m]);return U}function Es(i,l,m){return i===i&&(m!==t&&(i=i<=m?i:m),l!==t&&(i=i>=l?i:l)),i}function go(i,l,m,M,U,Q){var ge,be=l&_,ke=l&v,ct=l&y;if(m&&(ge=U?m(i,M,U,Q):m(i)),ge!==t)return ge;if(!Nn(i))return i;var ft=xr(i);if(ft){if(ge=WS(i),!be)return ao(i,ge)}else{var vt=$o(i),jt=vt==Ce||vt==Te;if(Zl(i))return ya(i,be);if(vt==tt||vt==oe||jt&&!U){if(ge=ke||jt?{}:iv(i),!be)return ke?Mu(i,wc(ge,i)):kf(i,Su(ge,i))}else{if(!Mr[vt])return U?i:{};ge=VS(i,vt,be)}}Q||(Q=new Rr);var Xt=Q.get(i);if(Xt)return Xt;Q.set(i,ge),Dv(i)?i.forEach(function(ur){ge.add(go(ur,l,m,ur,i,Q))}):Ov(i)&&i.forEach(function(ur,qr){ge.set(qr,go(ur,l,m,qr,i,Q))});var cr=ct?ke?Oh:Lh:ke?yi:xo,Ir=ft?t:cr(i);return Vn(Ir||i,function(ur,qr){Ir&&(qr=ur,ur=i[qr]),po(ge,qr,go(ur,l,m,qr,i,Q))}),ge}function Ec(i){var l=xo(i);return function(m){return Tc(m,i,l)}}function Tc(i,l,m){var M=m.length;if(i==null)return!M;for(i=Kr(i);M--;){var U=m[M],Q=l[U],ge=i[U];if(ge===t&&!(U in i)||!Q(ge))return!1}return!0}function kc(i,l,m){if(typeof i!="function")throw new zo(u);return Lf(function(){i.apply(t,m)},l)}function Ts(i,l,m,M){var U=-1,Q=wi,ge=!0,be=i.length,ke=[],ct=l.length;if(!be)return ke;m&&(l=Qr(l,zt(m))),M?(Q=Gn,ge=!1):l.length>=o&&(Q=ar,ge=!1,l=new ho(l));e:for(;++U<be;){var ft=i[U],vt=m==null?ft:m(ft);if(ft=M||ft!==0?ft:0,ge&&vt===vt){for(var jt=ct;jt--;)if(l[jt]===vt)continue e;ke.push(ft)}else Q(l,vt,M)||ke.push(ft)}return ke}var es=s(Po),Rc=s(Ol,!0);function Cu(i,l){var m=!0;return es(i,function(M,U,Q){return m=!!l(M,U,Q),m}),m}function Ll(i,l,m){for(var M=-1,U=i.length;++M<U;){var Q=i[M],ge=l(Q);if(ge!=null&&(be===t?ge===ge&&!Bi(ge):m(ge,be)))var be=ge,ke=Q}return ke}function Af(i,l,m,M){var U=i.length;for(m=Tr(m),m<0&&(m=-m>U?0:U+m),M=M===t||M>U?U:Tr(M),M<0&&(M+=U),M=m>M?0:Nv(M);m<M;)i[m++]=l;return i}function wu(i,l){var m=[];return es(i,function(M,U,Q){l(M,U,Q)&&m.push(M)}),m}function Zn(i,l,m,M,U){var Q=-1,ge=i.length;for(m||(m=ZS),U||(U=[]);++Q<ge;){var be=i[Q];l>0&&m(be)?l>1?Zn(be,l-1,m,M,U):ko(U,be):M||(U[U.length]=be)}return U}var Ic=c(),Au=c(!0);function Po(i,l){return i&&Ic(i,l,xo)}function Ol(i,l){return i&&Au(i,l,xo)}function fa(i,l){return Zo(l,function(m){return tl(i[m])})}function ts(i,l){l=Fi(l,i);for(var m=0,M=l.length;i!=null&&m<M;)i=i[ba(l[m++])];return m&&m==M?i:t}function $a(i,l,m){var M=l(i);return xr(i)?M:ko(M,m(i))}function Bn(i){return i==null?i===t?At:$e:Li&&Li in Kr(i)?zS(i):tC(i)}function ks(i,l){return i>l}function Ml(i,l){return i!=null&&Gr.call(i,l)}function da(i,l){return i!=null&&l in Kr(i)}function Dl(i,l,m){return i>=Pn(l,m)&&i<un(l,m)}function ha(i,l,m){for(var M=m?Gn:wi,U=i[0].length,Q=i.length,ge=Q,be=ze(Q),ke=1/0,ct=[];ge--;){var ft=i[ge];ge&&l&&(ft=Qr(ft,zt(l))),ke=Pn(ft.length,ke),be[ge]=!m&&(l||U>=120&&ft.length>=120)?new ho(ge&&ft):t}ft=i[0];var vt=-1,jt=be[0];e:for(;++vt<U&&ct.length<ke;){var Xt=ft[vt],cr=l?l(Xt):Xt;if(Xt=m||Xt!==0?Xt:0,!(jt?ar(jt,cr):M(ct,cr,m))){for(ge=Q;--ge;){var Ir=be[ge];if(!(Ir?ar(Ir,cr):M(i[ge],cr,m)))continue e}jt&&jt.push(cr),ct.push(Xt)}}return ct}function Pl(i,l,m,M){return Po(i,function(U,Q,ge){l(M,m(U),Q,ge)}),M}function di(i,l,m){l=Fi(l,i),i=cv(i,l);var M=i==null?i:i[ba(as(l))];return M==null?t:ln(M,i,m)}function Nl(i){return Hn(i)&&Bn(i)==oe}function Rs(i){return Hn(i)&&Bn(i)==St}function Eu(i){return Hn(i)&&Bn(i)==We}function Ua(i,l,m,M,U){return i===l?!0:i==null||l==null||!Hn(i)&&!Hn(l)?i!==i&&l!==l:pa(i,l,m,M,Ua,U)}function pa(i,l,m,M,U,Q){var ge=xr(i),be=xr(l),ke=ge?we:$o(i),ct=be?we:$o(l);ke=ke==oe?tt:ke,ct=ct==oe?tt:ct;var ft=ke==tt,vt=ct==tt,jt=ke==ct;if(jt&&Zl(i)){if(!Zl(l))return!1;ge=!0,ft=!1}if(jt&&!ft)return Q||(Q=new Rr),ge||Pu(i)?rv(i,l,m,M,U,Q):HS(i,l,ke,m,M,U,Q);if(!(m&b)){var Xt=ft&&Gr.call(i,"__wrapped__"),cr=vt&&Gr.call(l,"__wrapped__");if(Xt||cr){var Ir=Xt?i.value():i,ur=cr?l.value():l;return Q||(Q=new Rr),U(Ir,ur,m,M,Q)}}return jt?(Q||(Q=new Rr),qS(i,l,m,M,U,Q)):!1}function ga(i){return Hn(i)&&$o(i)==Ne}function Lc(i,l,m,M){var U=m.length,Q=U,ge=!M;if(i==null)return!Q;for(i=Kr(i);U--;){var be=m[U];if(ge&&be[2]?be[1]!==i[be[0]]:!(be[0]in i))return!1}for(;++U<Q;){be=m[U];var ke=be[0],ct=i[ke],ft=be[1];if(ge&&be[2]){if(ct===t&&!(ke in i))return!1}else{var vt=new Rr;if(M)var jt=M(ct,ft,ke,i,l,vt);if(!(jt===t?Ua(ft,ct,b|T,M,vt):jt))return!1}}return!0}function Tu(i){if(!Nn(i)||YS(i))return!1;var l=tl(i)?mc:Gt;return l.test(Vc(i))}function Is(i){return Hn(i)&&Bn(i)==Ke}function jl(i){return Hn(i)&&$o(i)==yt}function Ni(i){return Hn(i)&&Ed(i.length)&&!!Ar[Bn(i)]}function Fl(i){return typeof i=="function"?i:i==null?bi:typeof i=="object"?xr(i)?Va(i[0],i[1]):hi(i):Gv(i)}function ji(i){if(!If(i))return vu(i);var l=[];for(var m in Kr(i))Gr.call(i,m)&&m!="constructor"&&l.push(m);return l}function Wa(i){if(!Nn(i))return eC(i);var l=If(i),m=[];for(var M in i)M=="constructor"&&(l||!Gr.call(i,M))||m.push(M);return m}function Xo(i,l){return i<l}function Jo(i,l){var m=-1,M=vi(i)?ze(i.length):[];return es(i,function(U,Q,ge){M[++m]=l(U,Q,ge)}),M}function hi(i){var l=Dh(i);return l.length==1&&l[0][2]?av(l[0][0],l[0][1]):function(m){return m===i||Lc(m,i,l)}}function Va(i,l){return Nh(i)&&sv(l)?av(ba(i),l):function(m){var M=Vh(m,i);return M===t&&M===l?Gh(m,i):Ua(l,M,b|T)}}function rs(i,l,m,M,U){i!==l&&Ic(l,function(Q,ge){if(U||(U=new Rr),Nn(Q))Qo(i,l,ge,m,rs,M,U);else{var be=M?M(Fh(i,ge),Q,ge+"",i,l,U):t;be===t&&(be=Q),Cc(i,ge,be)}},yi)}function Qo(i,l,m,M,U,Q,ge){var be=Fh(i,m),ke=Fh(l,m),ct=ge.get(ke);if(ct){Cc(i,m,ct);return}var ft=Q?Q(be,ke,m+"",i,l,ge):t,vt=ft===t;if(vt){var jt=xr(ke),Xt=!jt&&Zl(ke),cr=!jt&&!Xt&&Pu(ke);ft=ke,jt||Xt||cr?xr(be)?ft=be:Yn(be)?ft=ao(be):Xt?(vt=!1,ft=ya(ke,!0)):cr?(vt=!1,ft=$c(ke,!0)):ft=[]:Of(ke)||Gc(ke)?(ft=be,Gc(be)?ft=jv(be):(!Nn(be)||tl(be))&&(ft=iv(ke))):vt=!1}vt&&(ge.set(ke,ft),U(ft,ke,M,Q,ge),ge.delete(ke)),Cc(i,m,ft)}function ma(i,l){var m=i.length;if(m)return l+=l<0?m:0,el(l,m)?i[l]:t}function Bl(i,l,m){l.length?l=Qr(l,function(Q){return xr(Q)?function(ge){return ts(ge,Q.length===1?Q[0]:Q)}:Q}):l=[bi];var M=-1;l=Qr(l,zt(lr()));var U=Jo(i,function(Q,ge,be){var ke=Qr(l,function(ct){return ct(Q)});return{criteria:ke,index:++M,value:Q}});return se(U,function(Q,ge){return Lu(Q,ge,m)})}function Ga(i,l){return va(i,l,function(m,M){return Gh(i,M)})}function va(i,l,m){for(var M=-1,U=l.length,Q={};++M<U;){var ge=l[M],be=ts(i,ge);m(be,ge)&&Os(Q,Fi(ge,i),be)}return Q}function ku(i){return function(l){return ts(l,i)}}function Oc(i,l,m,M){var U=M?yl:Ai,Q=-1,ge=l.length,be=i;for(i===l&&(l=ao(l)),m&&(be=Qr(i,zt(m)));++Q<ge;)for(var ke=0,ct=l[Q],ft=m?m(ct):ct;(ke=U(be,ft,ke,M))>-1;)be!==i&&Ii.call(be,ke,1),Ii.call(i,ke,1);return i}function Mc(i,l){for(var m=i?l.length:0,M=m-1;m--;){var U=l[m];if(m==M||U!==Q){var Q=U;el(U)?Ii.call(i,U,1):Fc(i,U)}}return i}function Ls(i,l){return i+xs(Ki()*(l-i+1))}function Dc(i,l,m,M){for(var U=-1,Q=un(oa((l-i)/(m||1)),0),ge=ze(Q);Q--;)ge[M?Q:++U]=i,i+=m;return ge}function Hl(i,l){var m="";if(!i||l<1||l>fe)return m;do l%2&&(m+=i),l=xs(l/2),l&&(i+=i);while(l);return m}function vr(i,l){return Bh(lv(i,l,bi),i+"")}function Za(i){return _o(Nu(i))}function Pc(i,l){var m=Nu(i);return _d(m,Es(l,0,m.length))}function Os(i,l,m,M){if(!Nn(i))return i;l=Fi(l,i);for(var U=-1,Q=l.length,ge=Q-1,be=i;be!=null&&++U<Q;){var ke=ba(l[U]),ct=m;if(ke==="__proto__"||ke==="constructor"||ke==="prototype")return i;if(U!=ge){var ft=be[ke];ct=M?M(ft,ke,be):t,ct===t&&(ct=Nn(ft)?ft:el(l[U+1])?[]:{})}po(be,ke,ct),be=be[ke]}return i}var Nc=Fa?function(i,l){return Fa.set(i,l),i}:bi,Ru=Gi?function(i,l){return Gi(i,"toString",{configurable:!0,enumerable:!1,value:Kh(l),writable:!0})}:bi;function jc(i){return _d(Nu(i))}function No(i,l,m){var M=-1,U=i.length;l<0&&(l=-l>U?0:U+l),m=m>U?U:m,m<0&&(m+=U),U=l>m?0:m-l>>>0,l>>>=0;for(var Q=ze(U);++M<U;)Q[M]=i[M+l];return Q}function Ef(i,l){var m;return es(i,function(M,U,Q){return m=l(M,U,Q),!m}),!!m}function ql(i,l,m){var M=0,U=i==null?M:i.length;if(typeof l=="number"&&l===l&&U<=ye){for(;M<U;){var Q=M+U>>>1,ge=i[Q];ge!==null&&!Bi(ge)&&(m?ge<=l:ge<l)?M=Q+1:U=Q}return U}return zl(i,l,bi,m)}function zl(i,l,m,M){var U=0,Q=i==null?0:i.length;if(Q===0)return 0;l=m(l);for(var ge=l!==l,be=l===null,ke=Bi(l),ct=l===t;U<Q;){var ft=xs((U+Q)/2),vt=m(i[ft]),jt=vt!==t,Xt=vt===null,cr=vt===vt,Ir=Bi(vt);if(ge)var ur=M||cr;else ct?ur=cr&&(M||jt):be?ur=cr&&jt&&(M||!Xt):ke?ur=cr&&jt&&!Xt&&(M||!Ir):Xt||Ir?ur=!1:ur=M?vt<=l:vt<l;ur?U=ft+1:Q=ft}return Pn(Q,pe)}function Iu(i,l){for(var m=-1,M=i.length,U=0,Q=[];++m<M;){var ge=i[m],be=l?l(ge):ge;if(!m||!Ms(be,ke)){var ke=be;Q[U++]=ge===0?0:ge}}return Q}function $l(i){return typeof i=="number"?i:Bi(i)?te:+i}function jo(i){if(typeof i=="string")return i;if(xr(i))return Qr(i,jo)+"";if(Bi(i))return Ba?Ba.call(i):"";var l=i+"";return l=="0"&&1/i==-1/0?"-0":l}function Ln(i,l,m){var M=-1,U=wi,Q=i.length,ge=!0,be=[],ke=be;if(m)ge=!1,U=Gn;else if(Q>=o){var ct=l?null:Rf(i);if(ct)return Ma(ct);ge=!1,U=ar,ke=new ho}else ke=l?[]:be;e:for(;++M<Q;){var ft=i[M],vt=l?l(ft):ft;if(ft=m||ft!==0?ft:0,ge&&vt===vt){for(var jt=ke.length;jt--;)if(ke[jt]===vt)continue e;l&&ke.push(vt),be.push(ft)}else U(ke,vt,m)||(ke!==be&&ke.push(vt),be.push(ft))}return be}function Fc(i,l){return l=Fi(l,i),i=cv(i,l),i==null||delete i[ba(as(l))]}function Ka(i,l,m,M){return Os(i,l,m(ts(i,l)),M)}function Ul(i,l,m,M){for(var U=i.length,Q=M?U:-1;(M?Q--:++Q<U)&&l(i[Q],Q,i););return m?No(i,M?0:Q,M?Q+1:U):No(i,M?Q+1:0,M?U:Q)}function so(i,l){var m=i;return m instanceof yr&&(m=m.value()),La(l,function(M,U){return U.func.apply(U.thisArg,ko([M],U.args))},m)}function Bc(i,l,m){var M=i.length;if(M<2)return M?Ln(i[0]):[];for(var U=-1,Q=ze(M);++U<M;)for(var ge=i[U],be=-1;++be<M;)be!=U&&(Q[U]=Ts(Q[U]||ge,i[be],l,m));return Ln(Zn(Q,1),l,m)}function Hc(i,l,m){for(var M=-1,U=i.length,Q=l.length,ge={};++M<U;){var be=M<Q?l[M]:t;m(ge,i[M],be)}return ge}function Wl(i){return Yn(i)?i:[]}function ns(i){return typeof i=="function"?i:bi}function Fi(i,l){return xr(i)?i:Nh(i,l)?[i]:hv(on(i))}var Tf=vr;function pi(i,l,m){var M=i.length;return m=m===t?M:m,!l&&m>=M?i:No(i,l,m)}var os=mf||function(i){return dr.clearTimeout(i)};function ya(i,l){if(l)return i.slice();var m=i.length,M=Pa?Pa(m):new i.constructor(m);return i.copy(M),M}function qc(i){var l=new i.constructor(i.byteLength);return new Da(l).set(new Da(i)),l}function zc(i,l){var m=l?qc(i.buffer):i.buffer;return new i.constructor(m,i.byteOffset,i.byteLength)}function Ya(i){var l=new i.constructor(i.source,kt.exec(i));return l.lastIndex=i.lastIndex,l}function Vl(i){return Cs?Kr(Cs.call(i)):{}}function $c(i,l){var m=l?qc(i.buffer):i.buffer;return new i.constructor(m,i.byteOffset,i.length)}function Xa(i,l){if(i!==l){var m=i!==t,M=i===null,U=i===i,Q=Bi(i),ge=l!==t,be=l===null,ke=l===l,ct=Bi(l);if(!be&&!ct&&!Q&&i>l||Q&&ge&&ke&&!be&&!ct||M&&ge&&ke||!m&&ke||!U)return 1;if(!M&&!Q&&!ct&&i<l||ct&&m&&U&&!M&&!Q||be&&m&&U||!ge&&U||!ke)return-1}return 0}function Lu(i,l,m){for(var M=-1,U=i.criteria,Q=l.criteria,ge=U.length,be=m.length;++M<ge;){var ke=Xa(U[M],Q[M]);if(ke){if(M>=be)return ke;var ct=m[M];return ke*(ct=="desc"?-1:1)}}return i.index-l.index}function Ou(i,l,m,M){for(var U=-1,Q=i.length,ge=m.length,be=-1,ke=l.length,ct=un(Q-ge,0),ft=ze(ke+ct),vt=!M;++be<ke;)ft[be]=l[be];for(;++U<ge;)(vt||U<Q)&&(ft[m[U]]=i[U]);for(;ct--;)ft[be++]=i[U++];return ft}function Uc(i,l,m,M){for(var U=-1,Q=i.length,ge=-1,be=m.length,ke=-1,ct=l.length,ft=un(Q-be,0),vt=ze(ft+ct),jt=!M;++U<ft;)vt[U]=i[U];for(var Xt=U;++ke<ct;)vt[Xt+ke]=l[ke];for(;++ge<be;)(jt||U<Q)&&(vt[Xt+m[ge]]=i[U++]);return vt}function ao(i,l){var m=-1,M=i.length;for(l||(l=ze(M));++m<M;)l[m]=i[m];return l}function ei(i,l,m,M){var U=!m;m||(m={});for(var Q=-1,ge=l.length;++Q<ge;){var be=l[Q],ke=M?M(m[be],i[be],be,m,i):t;ke===t&&(ke=i[be]),U?Do(m,be,ke):po(m,be,ke)}return m}function kf(i,l){return ei(i,Ph(i),l)}function Mu(i,l){return ei(i,nv(i),l)}function Gl(i,l){return function(m,M){var U=xr(m)?ms:As,Q=l?l():{};return U(m,i,lr(M,2),Q)}}function p(i){return vr(function(l,m){var M=-1,U=m.length,Q=U>1?m[U-1]:t,ge=U>2?m[2]:t;for(Q=i.length>3&&typeof Q=="function"?(U--,Q):t,ge&&ti(m[0],m[1],ge)&&(Q=U<3?t:Q,U=1),l=Kr(l);++M<U;){var be=m[M];be&&i(l,be,M,Q)}return l})}function s(i,l){return function(m,M){if(m==null)return m;if(!vi(m))return i(m,M);for(var U=m.length,Q=l?U:-1,ge=Kr(m);(l?Q--:++Q<U)&&M(ge[Q],Q,ge)!==!1;);return m}}function c(i){return function(l,m,M){for(var U=-1,Q=Kr(l),ge=M(l),be=ge.length;be--;){var ke=ge[i?be:++U];if(m(Q[ke],ke,Q)===!1)break}return l}}function g(i,l,m){var M=l&w,U=z(i);function Q(){var ge=this&&this!==dr&&this instanceof Q?U:i;return ge.apply(M?m:this,arguments)}return Q}function A(i){return function(l){l=on(l);var m=Qs(l)?gn(l):t,M=m?m[0]:l.charAt(0),U=m?pi(m,1).join(""):l.slice(1);return M[i]()+U}}function N(i){return function(l){return La(Wv(Uv(l).replace(ii,"")),i,"")}}function z(i){return function(){var l=arguments;switch(l.length){case 0:return new i;case 1:return new i(l[0]);case 2:return new i(l[0],l[1]);case 3:return new i(l[0],l[1],l[2]);case 4:return new i(l[0],l[1],l[2],l[3]);case 5:return new i(l[0],l[1],l[2],l[3],l[4]);case 6:return new i(l[0],l[1],l[2],l[3],l[4],l[5]);case 7:return new i(l[0],l[1],l[2],l[3],l[4],l[5],l[6])}var m=Mi(i.prototype),M=i.apply(m,l);return Nn(M)?M:m}}function Y(i,l,m){var M=z(i);function U(){for(var Q=arguments.length,ge=ze(Q),be=Q,ke=Du(U);be--;)ge[be]=arguments[be];var ct=Q<3&&ge[0]!==ke&&ge[Q-1]!==ke?[]:Ei(ge,ke);if(Q-=ct.length,Q<m)return mi(i,l,rt,U.placeholder,t,ge,ct,t,t,m-Q);var ft=this&&this!==dr&&this instanceof U?M:i;return ln(ft,this,ge)}return U}function he(i){return function(l,m,M){var U=Kr(l);if(!vi(l)){var Q=lr(m,3);l=xo(l),m=function(be){return Q(U[be],be,U)}}var ge=i(l,m,M);return ge>-1?U[Q?l[ge]:ge]:t}}function Le(i){return Qa(function(l){var m=l.length,M=m,U=io.prototype.thru;for(i&&l.reverse();M--;){var Q=l[M];if(typeof Q!="function")throw new zo(u);if(U&&!ge&&yd(Q)=="wrapper")var ge=new io([],!0)}for(M=ge?M:m;++M<m;){Q=l[M];var be=yd(Q),ke=be=="wrapper"?Mh(Q):t;ke&&jh(ke[0])&&ke[1]==(q|R|P|$)&&!ke[4].length&&ke[9]==1?ge=ge[yd(ke[0])].apply(ge,ke[3]):ge=Q.length==1&&jh(Q)?ge[be]():ge.thru(Q)}return function(){var ct=arguments,ft=ct[0];if(ge&&ct.length==1&&xr(ft))return ge.plant(ft).value();for(var vt=0,jt=m?l[vt].apply(this,ct):ft;++vt<m;)jt=l[vt].call(this,jt);return jt}})}function rt(i,l,m,M,U,Q,ge,be,ke,ct){var ft=l&q,vt=l&w,jt=l&S,Xt=l&(R|I),cr=l&G,Ir=jt?t:z(i);function ur(){for(var qr=arguments.length,Wr=ze(qr),Hi=qr;Hi--;)Wr[Hi]=arguments[Hi];if(Xt)var ri=Du(ur),qi=Ro(Wr,ri);if(M&&(Wr=Ou(Wr,M,U,Xt)),Q&&(Wr=Uc(Wr,Q,ge,Xt)),qr-=qi,Xt&&qr<ct){var Xn=Ei(Wr,ri);return mi(i,l,rt,ur.placeholder,m,Wr,Xn,be,ke,ct-qr)}var Ds=vt?m:this,nl=jt?Ds[i]:i;return qr=Wr.length,be?Wr=rC(Wr,be):cr&&qr>1&&Wr.reverse(),ft&&ke<qr&&(Wr.length=ke),this&&this!==dr&&this instanceof ur&&(nl=Ir||z(nl)),nl.apply(Ds,Wr)}return ur}function pt(i,l){return function(m,M){return Pl(m,i,l(M),{})}}function Lt(i,l){return function(m,M){var U;if(m===t&&M===t)return l;if(m!==t&&(U=m),M!==t){if(U===t)return M;typeof m=="string"||typeof M=="string"?(m=jo(m),M=jo(M)):(m=$l(m),M=$l(M)),U=i(m,M)}return U}}function nr(i){return Qa(function(l){return l=Qr(l,zt(lr())),vr(function(m){var M=this;return i(l,function(U){return ln(U,M,m)})})})}function Dr(i,l){l=l===t?" ":jo(l);var m=l.length;if(m<2)return m?Hl(l,i):l;var M=Hl(l,oa(i/ea(l)));return Qs(l)?pi(gn(M),0,i).join(""):M.slice(0,i)}function Kn(i,l,m,M){var U=l&w,Q=z(i);function ge(){for(var be=-1,ke=arguments.length,ct=-1,ft=M.length,vt=ze(ft+ke),jt=this&&this!==dr&&this instanceof ge?Q:i;++ct<ft;)vt[ct]=M[ct];for(;ke--;)vt[ct++]=arguments[++be];return ln(jt,U?m:this,vt)}return ge}function is(i){return function(l,m,M){return M&&typeof M!="number"&&ti(l,m,M)&&(m=M=t),l=rl(l),m===t?(m=l,l=0):m=rl(m),M=M===t?l<m?1:-1:rl(M),Dc(l,m,M,i)}}function gi(i){return function(l,m){return typeof l=="string"&&typeof m=="string"||(l=ls(l),m=ls(m)),i(l,m)}}function mi(i,l,m,M,U,Q,ge,be,ke,ct){var ft=l&R,vt=ft?ge:t,jt=ft?t:ge,Xt=ft?Q:t,cr=ft?t:Q;l|=ft?P:j,l&=~(ft?j:P),l&E||(l&=-4);var Ir=[i,l,U,Xt,vt,cr,jt,be,ke,ct],ur=m.apply(t,Ir);return jh(i)&&uv(ur,Ir),ur.placeholder=M,fv(ur,i,l)}function ss(i){var l=Sn[i];return function(m,M){if(m=ls(m),M=M==null?0:Pn(Tr(M),292),M&&sa(m)){var U=(on(m)+"e").split("e"),Q=l(U[0]+"e"+(+U[1]+M));return U=(on(Q)+"e").split("e"),+(U[0]+"e"+(+U[1]-M))}return l(m)}}var Rf=li&&1/Ma(new li([,-0]))[1]==de?function(i){return new li(i)}:Jh;function vd(i){return function(l){var m=$o(l);return m==Ne?dc(l):m==yt?df(l):et(l,i(l))}}function Ja(i,l,m,M,U,Q,ge,be){var ke=l&S;if(!ke&&typeof i!="function")throw new zo(u);var ct=M?M.length:0;if(ct||(l&=-97,M=U=t),ge=ge===t?ge:un(Tr(ge),0),be=be===t?be:Tr(be),ct-=U?U.length:0,l&j){var ft=M,vt=U;M=U=t}var jt=ke?t:Mh(i),Xt=[i,l,m,M,U,ft,vt,Q,ge,be];if(jt&&QS(Xt,jt),i=Xt[0],l=Xt[1],m=Xt[2],M=Xt[3],U=Xt[4],be=Xt[9]=Xt[9]===t?ke?0:i.length:un(Xt[9]-ct,0),!be&&l&(R|I)&&(l&=-25),!l||l==w)var cr=g(i,l,m);else l==R||l==I?cr=Y(i,l,be):(l==P||l==(w|P))&&!U.length?cr=Kn(i,l,m,M):cr=rt.apply(t,Xt);var Ir=jt?Nc:uv;return fv(Ir(cr,Xt),i,l)}function ev(i,l,m,M){return i===t||Ms(i,Wi[m])&&!Gr.call(M,m)?l:i}function tv(i,l,m,M,U,Q){return Nn(i)&&Nn(l)&&(Q.set(l,i),rs(i,l,t,tv,Q),Q.delete(l)),i}function BS(i){return Of(i)?t:i}function rv(i,l,m,M,U,Q){var ge=m&b,be=i.length,ke=l.length;if(be!=ke&&!(ge&&ke>be))return!1;var ct=Q.get(i),ft=Q.get(l);if(ct&&ft)return ct==l&&ft==i;var vt=-1,jt=!0,Xt=m&T?new ho:t;for(Q.set(i,l),Q.set(l,i);++vt<be;){var cr=i[vt],Ir=l[vt];if(M)var ur=ge?M(Ir,cr,vt,l,i,Q):M(cr,Ir,vt,i,l,Q);if(ur!==t){if(ur)continue;jt=!1;break}if(Xt){if(!Ui(l,function(qr,Wr){if(!ar(Xt,Wr)&&(cr===qr||U(cr,qr,m,M,Q)))return Xt.push(Wr)})){jt=!1;break}}else if(!(cr===Ir||U(cr,Ir,m,M,Q))){jt=!1;break}}return Q.delete(i),Q.delete(l),jt}function HS(i,l,m,M,U,Q,ge){switch(m){case Dt:if(i.byteLength!=l.byteLength||i.byteOffset!=l.byteOffset)return!1;i=i.buffer,l=l.buffer;case St:return!(i.byteLength!=l.byteLength||!Q(new Da(i),new Da(l)));case Ue:case We:case ot:return Ms(+i,+l);case _e:return i.name==l.name&&i.message==l.message;case Ke:case _t:return i==l+"";case Ne:var be=dc;case yt:var ke=M&b;if(be||(be=Ma),i.size!=l.size&&!ke)return!1;var ct=ge.get(i);if(ct)return ct==l;M|=T,ge.set(i,l);var ft=rv(be(i),be(l),M,U,Q,ge);return ge.delete(i),ft;case bt:if(Cs)return Cs.call(i)==Cs.call(l)}return!1}function qS(i,l,m,M,U,Q){var ge=m&b,be=Lh(i),ke=be.length,ct=Lh(l),ft=ct.length;if(ke!=ft&&!ge)return!1;for(var vt=ke;vt--;){var jt=be[vt];if(!(ge?jt in l:Gr.call(l,jt)))return!1}var Xt=Q.get(i),cr=Q.get(l);if(Xt&&cr)return Xt==l&&cr==i;var Ir=!0;Q.set(i,l),Q.set(l,i);for(var ur=ge;++vt<ke;){jt=be[vt];var qr=i[jt],Wr=l[jt];if(M)var Hi=ge?M(Wr,qr,jt,l,i,Q):M(qr,Wr,jt,i,l,Q);if(!(Hi===t?qr===Wr||U(qr,Wr,m,M,Q):Hi)){Ir=!1;break}ur||(ur=jt=="constructor")}if(Ir&&!ur){var ri=i.constructor,qi=l.constructor;ri!=qi&&"constructor"in i&&"constructor"in l&&!(typeof ri=="function"&&ri instanceof ri&&typeof qi=="function"&&qi instanceof qi)&&(Ir=!1)}return Q.delete(i),Q.delete(l),Ir}function Qa(i){return Bh(lv(i,t,vv),i+"")}function Lh(i){return $a(i,xo,Ph)}function Oh(i){return $a(i,yi,nv)}var Mh=Fa?function(i){return Fa.get(i)}:Jh;function yd(i){for(var l=i.name+"",m=Ss[l],M=Gr.call(Ss,l)?m.length:0;M--;){var U=m[M],Q=U.func;if(Q==null||Q==i)return U.name}return l}function Du(i){var l=Gr.call(K,"placeholder")?K:i;return l.placeholder}function lr(){var i=K.iteratee||Yh;return i=i===Yh?Fl:i,arguments.length?i(arguments[0],arguments[1]):i}function bd(i,l){var m=i.__data__;return KS(l)?m[typeof l=="string"?"string":"hash"]:m.map}function Dh(i){for(var l=xo(i),m=l.length;m--;){var M=l[m],U=i[M];l[m]=[M,U,sv(U)]}return l}function Wc(i,l){var m=bs(i,l);return Tu(m)?m:t}function zS(i){var l=Gr.call(i,Li),m=i[Li];try{i[Li]=t;var M=!0}catch{}var U=ki.call(i);return M&&(l?i[Li]=m:delete i[Li]),U}var Ph=ia?function(i){return i==null?[]:(i=Kr(i),Zo(ia(i),function(l){return Cl.call(i,l)}))}:Qh,nv=ia?function(i){for(var l=[];i;)ko(l,Ph(i)),i=_s(i);return l}:Qh,$o=Bn;(ai&&$o(new ai(new ArrayBuffer(1)))!=Dt||Yi&&$o(new Yi)!=Ne||aa&&$o(aa.resolve())!=at||li&&$o(new li)!=yt||Oi&&$o(new Oi)!=qe)&&($o=function(i){var l=Bn(i),m=l==tt?i.constructor:t,M=m?Vc(m):"";if(M)switch(M){case Xi:return Dt;case yc:return Ne;case vf:return at;case yu:return yt;case ca:return qe}return l});function $S(i,l,m){for(var M=-1,U=m.length;++M<U;){var Q=m[M],ge=Q.size;switch(Q.type){case"drop":i+=ge;break;case"dropRight":l-=ge;break;case"take":l=Pn(l,i+ge);break;case"takeRight":i=un(i,l-ge);break}}return{start:i,end:l}}function US(i){var l=i.match(ne);return l?l[1].split(He):[]}function ov(i,l,m){l=Fi(l,i);for(var M=-1,U=l.length,Q=!1;++M<U;){var ge=ba(l[M]);if(!(Q=i!=null&&m(i,ge)))break;i=i[ge]}return Q||++M!=U?Q:(U=i==null?0:i.length,!!U&&Ed(U)&&el(ge,U)&&(xr(i)||Gc(i)))}function WS(i){var l=i.length,m=new i.constructor(l);return l&&typeof i[0]=="string"&&Gr.call(i,"index")&&(m.index=i.index,m.input=i.input),m}function iv(i){return typeof i.constructor=="function"&&!If(i)?Mi(_s(i)):{}}function VS(i,l,m){var M=i.constructor;switch(l){case St:return qc(i);case Ue:case We:return new M(+i);case Dt:return zc(i,m);case Et:case Ze:case It:case Ot:case pr:case br:case Or:case Ee:case ae:return $c(i,m);case Ne:return new M;case ot:case _t:return new M(i);case Ke:return Ya(i);case yt:return new M;case bt:return Vl(i)}}function GS(i,l){var m=l.length;if(!m)return i;var M=m-1;return l[M]=(m>1?"& ":"")+l[M],l=l.join(m>2?", ":" "),i.replace(wr,`{
|
33
|
+
*/var S4=Hf.exports,Jv;function C4(){return Jv||(Jv=1,function(r,e){(function(){var t,n="4.17.21",o=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",f="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",h=500,x="__lodash_placeholder__",_=1,v=2,y=4,b=1,T=2,w=1,S=2,E=4,R=8,I=16,P=32,j=64,q=128,$=256,G=512,re=30,F="...",W=800,V=16,ee=1,ue=2,le=3,de=1/0,fe=9007199254740991,ve=17976931348623157e292,te=NaN,ce=4294967295,pe=ce-1,ye=ce>>>1,Ie=[["ary",q],["bind",w],["bindKey",S],["curry",R],["curryRight",I],["flip",G],["partial",P],["partialRight",j],["rearg",$]],oe="[object Arguments]",we="[object Array]",Oe="[object AsyncFunction]",Ue="[object Boolean]",We="[object Date]",Se="[object DOMException]",_e="[object Error]",Ce="[object Function]",Te="[object GeneratorFunction]",Ne="[object Map]",ot="[object Number]",$e="[object Null]",tt="[object Object]",at="[object Promise]",De="[object Proxy]",Ke="[object RegExp]",yt="[object Set]",bt="[object String]",_t="[object Symbol]",At="[object Undefined]",qe="[object WeakMap]",Qe="[object WeakSet]",St="[object ArrayBuffer]",Dt="[object DataView]",Et="[object Float32Array]",Ze="[object Float64Array]",It="[object Int8Array]",Ot="[object Int16Array]",pr="[object Int32Array]",br="[object Uint8Array]",Or="[object Uint8ClampedArray]",Ee="[object Uint16Array]",ae="[object Uint32Array]",st=/\b__p \+= '';/g,mt=/\b(__p \+=) '' \+/g,Ft=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Rt=/&(?:amp|lt|gt|quot|#39);/g,Mt=/[&<>"']/g,Qt=RegExp(Rt.source),qt=RegExp(Mt.source),sr=/<%-([\s\S]+?)%>/g,er=/<%([\s\S]+?)%>/g,_r=/<%=([\s\S]+?)%>/g,fr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lt=/^\w*$/,it=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fe=/[\\^$.*+?()[\]{}|]/g,ut=RegExp(Fe.source),nt=/^\s+/,$t=/\s/,wr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ne=/\{\n\/\* \[wrapped with (.+)\] \*/,He=/,? & /,xe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ye=/[()=,{}\[\]\/\s]/,xt=/\\(\\)?/g,Tt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,kt=/\w*$/,wt=/^[-+]0x[0-9a-f]+$/i,or=/^0b[01]+$/i,Gt=/^\[object .+?Constructor\]$/,rr=/^0o[0-7]+$/i,gr=/^(?:0|[1-9]\d*)$/,Kt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,jr=/($^)/,zr=/['\n\r\u2028\u2029\\]/g,vn="\\ud800-\\udfff",Fr="\\u0300-\\u036f",kn="\\ufe20-\\ufe2f",hn="\\u20d0-\\u20ff",Jn=Fr+kn+hn,Qn="\\u2700-\\u27bf",sn="a-z\\xdf-\\xf6\\xf8-\\xff",Fn="\\xac\\xb1\\xd7\\xf7",Rn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",vo="\\u2000-\\u206f",Ao=" \\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",Eo="A-Z\\xc0-\\xd6\\xd8-\\xde",On="\\ufe0e\\ufe0f",In=Fn+Rn+vo+Ao,pn="['’]",eo="["+vn+"]",an="["+In+"]",yn="["+Jn+"]",L="\\d+",H="["+Qn+"]",X="["+sn+"]",ie="[^"+vn+In+L+Qn+sn+Eo+"]",Pe="\\ud83c[\\udffb-\\udfff]",Re="(?:"+yn+"|"+Pe+")",Ve="[^"+vn+"]",ht="(?:\\ud83c[\\udde6-\\uddff]){2}",Pt="[\\ud800-\\udbff][\\udc00-\\udfff]",Ht="["+Eo+"]",Bt="\\u200d",Sr="(?:"+X+"|"+ie+")",Jr="(?:"+Ht+"|"+ie+")",xn="(?:"+pn+"(?:d|ll|m|re|s|t|ve))?",Sn="(?:"+pn+"(?:D|LL|M|RE|S|T|VE))?",uo=Re+"?",$n="["+On+"]?",To="(?:"+Bt+"(?:"+[Ve,ht,Pt].join("|")+")"+$n+uo+")*",en="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",yo="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Un=$n+uo+To,to="(?:"+[H,ht,Pt].join("|")+")"+Un,xi="(?:"+[Ve+yn+"?",yn,ht,Pt,eo].join("|")+")",ii=RegExp(pn,"g"),si=RegExp(yn,"g"),Mn=RegExp(Pe+"(?="+Pe+")|"+xi+Un,"g"),Si=RegExp([Ht+"?"+X+"+"+xn+"(?="+[an,Ht,"$"].join("|")+")",Jr+"+"+Sn+"(?="+[an,Ht+Sr,"$"].join("|")+")",Ht+"?"+Sr+"+"+xn,Ht+"+"+Sn,yo,en,L,to].join("|"),"g"),ro=RegExp("["+Bt+vn+Jn+On+"]"),no=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Vo=["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"],Pr=-1,Ar={};Ar[Et]=Ar[Ze]=Ar[It]=Ar[Ot]=Ar[pr]=Ar[br]=Ar[Or]=Ar[Ee]=Ar[ae]=!0,Ar[oe]=Ar[we]=Ar[St]=Ar[Ue]=Ar[Dt]=Ar[We]=Ar[_e]=Ar[Ce]=Ar[Ne]=Ar[ot]=Ar[tt]=Ar[Ke]=Ar[yt]=Ar[bt]=Ar[qe]=!1;var Mr={};Mr[oe]=Mr[we]=Mr[St]=Mr[Dt]=Mr[Ue]=Mr[We]=Mr[Et]=Mr[Ze]=Mr[It]=Mr[Ot]=Mr[pr]=Mr[Ne]=Mr[ot]=Mr[tt]=Mr[Ke]=Mr[yt]=Mr[bt]=Mr[_t]=Mr[br]=Mr[Or]=Mr[Ee]=Mr[ae]=!0,Mr[_e]=Mr[Ce]=Mr[qe]=!1;var D={À:"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"},J={"&":"&","<":"<",">":">",'"':""","'":"'"},me={"&":"&","<":"<",">":">",""":'"',"'":"'"},Ge={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Yt=parseFloat,Ut=parseInt,mr=typeof Co=="object"&&Co&&Co.Object===Object&&Co,Cr=typeof self=="object"&&self&&self.Object===Object&&self,dr=mr||Cr||Function("return this")(),Er=e&&!e.nodeType&&e,tn=Er&&!0&&r&&!r.nodeType&&r,Dn=tn&&tn.exports===Er,Yr=Dn&&mr.process,$r=function(){try{var Ae=tn&&tn.require&&tn.require("util").types;return Ae||Yr&&Yr.binding&&Yr.binding("util")}catch{}}(),rn=$r&&$r.isArrayBuffer,fo=$r&&$r.isDate,bo=$r&&$r.isMap,Wn=$r&&$r.isRegExp,Ci=$r&&$r.isSet,Go=$r&&$r.isTypedArray;function ln(Ae,Xe,ze){switch(ze.length){case 0:return Ae.call(Xe);case 1:return Ae.call(Xe,ze[0]);case 2:return Ae.call(Xe,ze[0],ze[1]);case 3:return Ae.call(Xe,ze[0],ze[1],ze[2])}return Ae.apply(Xe,ze)}function ms(Ae,Xe,ze,Nt){for(var ir=-1,Br=Ae==null?0:Ae.length;++ir<Br;){var Cn=Ae[ir];Xe(Nt,Cn,ze(Cn),Ae)}return Nt}function Vn(Ae,Xe){for(var ze=-1,Nt=Ae==null?0:Ae.length;++ze<Nt&&Xe(Ae[ze],ze,Ae)!==!1;);return Ae}function pl(Ae,Xe){for(var ze=Ae==null?0:Ae.length;ze--&&Xe(Ae[ze],ze,Ae)!==!1;);return Ae}function Ia(Ae,Xe){for(var ze=-1,Nt=Ae==null?0:Ae.length;++ze<Nt;)if(!Xe(Ae[ze],ze,Ae))return!1;return!0}function Zo(Ae,Xe){for(var ze=-1,Nt=Ae==null?0:Ae.length,ir=0,Br=[];++ze<Nt;){var Cn=Ae[ze];Xe(Cn,ze,Ae)&&(Br[ir++]=Cn)}return Br}function wi(Ae,Xe){var ze=Ae==null?0:Ae.length;return!!ze&&Ai(Ae,Xe,0)>-1}function Gn(Ae,Xe,ze){for(var Nt=-1,ir=Ae==null?0:Ae.length;++Nt<ir;)if(ze(Xe,Ae[Nt]))return!0;return!1}function Qr(Ae,Xe){for(var ze=-1,Nt=Ae==null?0:Ae.length,ir=Array(Nt);++ze<Nt;)ir[ze]=Xe(Ae[ze],ze,Ae);return ir}function ko(Ae,Xe){for(var ze=-1,Nt=Xe.length,ir=Ae.length;++ze<Nt;)Ae[ir+ze]=Xe[ze];return Ae}function La(Ae,Xe,ze,Nt){var ir=-1,Br=Ae==null?0:Ae.length;for(Nt&&Br&&(ze=Ae[++ir]);++ir<Br;)ze=Xe(ze,Ae[ir],ir,Ae);return ze}function gl(Ae,Xe,ze,Nt){var ir=Ae==null?0:Ae.length;for(Nt&&ir&&(ze=Ae[--ir]);ir--;)ze=Xe(ze,Ae[ir],ir,Ae);return ze}function Wi(Ae,Xe){for(var ze=-1,Nt=Ae==null?0:Ae.length;++ze<Nt;)if(Xe(Ae[ze],ze,Ae))return!0;return!1}var ml=O("length");function vl(Ae){return Ae.split("")}function Ys(Ae){return Ae.match(xe)||[]}function vs(Ae,Xe,ze){var Nt;return ze(Ae,function(ir,Br,Cn){if(Xe(ir,Br,Cn))return Nt=Br,!1}),Nt}function ys(Ae,Xe,ze,Nt){for(var ir=Ae.length,Br=ze+(Nt?1:-1);Nt?Br--:++Br<ir;)if(Xe(Ae[Br],Br,Ae))return Br;return-1}function Ai(Ae,Xe,ze){return Xe===Xe?hf(Ae,Xe,ze):ys(Ae,Xs,ze)}function yl(Ae,Xe,ze,Nt){for(var ir=ze-1,Br=Ae.length;++ir<Br;)if(Nt(Ae[ir],Xe))return ir;return-1}function Xs(Ae){return Ae!==Ae}function Oa(Ae,Xe){var ze=Ae==null?0:Ae.length;return ze?je(Ae,Xe)/ze:te}function O(Ae){return function(Xe){return Xe==null?t:Xe[Ae]}}function B(Ae){return function(Xe){return Ae==null?t:Ae[Xe]}}function Z(Ae,Xe,ze,Nt,ir){return ir(Ae,function(Br,Cn,Kr){ze=Nt?(Nt=!1,Br):Xe(ze,Br,Cn,Kr)}),ze}function se(Ae,Xe){var ze=Ae.length;for(Ae.sort(Xe);ze--;)Ae[ze]=Ae[ze].value;return Ae}function je(Ae,Xe){for(var ze,Nt=-1,ir=Ae.length;++Nt<ir;){var Br=Xe(Ae[Nt]);Br!==t&&(ze=ze===t?Br:ze+Br)}return ze}function Me(Ae,Xe){for(var ze=-1,Nt=Array(Ae);++ze<Ae;)Nt[ze]=Xe(ze);return Nt}function et(Ae,Xe){return Qr(Xe,function(ze){return[ze,Ae[ze]]})}function Ct(Ae){return Ae&&Ae.slice(0,du(Ae)+1).replace(nt,"")}function zt(Ae){return function(Xe){return Ae(Xe)}}function hr(Ae,Xe){return Qr(Xe,function(ze){return Ae[ze]})}function ar(Ae,Xe){return Ae.has(Xe)}function Xr(Ae,Xe){for(var ze=-1,Nt=Ae.length;++ze<Nt&&Ai(Xe,Ae[ze],0)>-1;);return ze}function oo(Ae,Xe){for(var ze=Ae.length;ze--&&Ai(Xe,Ae[ze],0)>-1;);return ze}function Ro(Ae,Xe){for(var ze=Ae.length,Nt=0;ze--;)Ae[ze]===Xe&&++Nt;return Nt}var Io=B(D),Js=B(J);function bl(Ae){return"\\"+Ge[Ae]}function bs(Ae,Xe){return Ae==null?t:Ae[Xe]}function Qs(Ae){return ro.test(Ae)}function ff(Ae){return no.test(Ae)}function fc(Ae){for(var Xe,ze=[];!(Xe=Ae.next()).done;)ze.push(Xe.value);return ze}function dc(Ae){var Xe=-1,ze=Array(Ae.size);return Ae.forEach(function(Nt,ir){ze[++Xe]=[ir,Nt]}),ze}function fu(Ae,Xe){return function(ze){return Ae(Xe(ze))}}function Ei(Ae,Xe){for(var ze=-1,Nt=Ae.length,ir=0,Br=[];++ze<Nt;){var Cn=Ae[ze];(Cn===Xe||Cn===x)&&(Ae[ze]=x,Br[ir++]=ze)}return Br}function Ma(Ae){var Xe=-1,ze=Array(Ae.size);return Ae.forEach(function(Nt){ze[++Xe]=Nt}),ze}function df(Ae){var Xe=-1,ze=Array(Ae.size);return Ae.forEach(function(Nt){ze[++Xe]=[Nt,Nt]}),ze}function hf(Ae,Xe,ze){for(var Nt=ze-1,ir=Ae.length;++Nt<ir;)if(Ae[Nt]===Xe)return Nt;return-1}function pf(Ae,Xe,ze){for(var Nt=ze+1;Nt--;)if(Ae[Nt]===Xe)return Nt;return Nt}function ea(Ae){return Qs(Ae)?_l(Ae):ml(Ae)}function gn(Ae){return Qs(Ae)?Lo(Ae):vl(Ae)}function du(Ae){for(var Xe=Ae.length;Xe--&&$t.test(Ae.charAt(Xe)););return Xe}var hu=B(me);function _l(Ae){for(var Xe=Mn.lastIndex=0;Mn.test(Ae);)++Xe;return Xe}function Lo(Ae){return Ae.match(Mn)||[]}function pu(Ae){return Ae.match(Si)||[]}var xl=function Ae(Xe){Xe=Xe==null?dr:Ti.defaults(dr.Object(),Xe,Ti.pick(dr,Vo));var ze=Xe.Array,Nt=Xe.Date,ir=Xe.Error,Br=Xe.Function,Cn=Xe.Math,Kr=Xe.Object,ta=Xe.RegExp,gu=Xe.String,zo=Xe.TypeError,Sl=ze.prototype,gf=Br.prototype,Vi=Kr.prototype,nn=Xe["__core-js_shared__"],Gi=gf.toString,Gr=Vi.hasOwnProperty,hc=0,cn=function(){var i=/[^.]+$/.exec(nn&&nn.keys&&nn.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),ki=Vi.toString,pc=Gi.call(Kr),gc=dr._,mc=ta("^"+Gi.call(Gr).replace(Fe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ra=Dn?Xe.Buffer:t,Ri=Xe.Symbol,Da=Xe.Uint8Array,Pa=ra?ra.allocUnsafe:t,_s=fu(Kr.getPrototypeOf,Kr),na=Kr.create,Cl=Vi.propertyIsEnumerable,Ii=Sl.splice,wl=Ri?Ri.isConcatSpreadable:t,Ko=Ri?Ri.iterator:t,Li=Ri?Ri.toStringTag:t,Zi=function(){try{var i=Wc(Kr,"defineProperty");return i({},"",{}),i}catch{}}(),mf=Xe.clearTimeout!==dr.clearTimeout&&Xe.clearTimeout,Na=Nt&&Nt.now!==dr.Date.now&&Nt.now,mu=Xe.setTimeout!==dr.setTimeout&&Xe.setTimeout,oa=Cn.ceil,xs=Cn.floor,ia=Kr.getOwnPropertySymbols,Al=ra?ra.isBuffer:t,sa=Xe.isFinite,ja=Sl.join,vu=fu(Kr.keys,Kr),un=Cn.max,Pn=Cn.min,Ki=Nt.now,vc=Xe.parseInt,Yi=Cn.random,El=Sl.reverse,ai=Wc(Xe,"DataView"),Xi=Wc(Xe,"Map"),aa=Wc(Xe,"Promise"),li=Wc(Xe,"Set"),Oi=Wc(Xe,"WeakMap"),la=Wc(Kr,"create"),Fa=Oi&&new Oi,Ss={},Ji=Vc(ai),yc=Vc(Xi),vf=Vc(aa),yu=Vc(li),ca=Vc(Oi),Qi=Ri?Ri.prototype:t,Cs=Qi?Qi.valueOf:t,Ba=Qi?Qi.toString:t;function K(i){if(Hn(i)&&!xr(i)&&!(i instanceof yr)){if(i instanceof io)return i;if(Gr.call(i,"__wrapped__"))return pv(i)}return new io(i)}var Mi=function(){function i(){}return function(l){if(!Nn(l))return{};if(na)return na(l);i.prototype=l;var m=new i;return i.prototype=t,m}}();function Di(){}function io(i,l){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=t}K.templateSettings={escape:sr,evaluate:er,interpolate:_r,variable:"",imports:{_:K}},K.prototype=Di.prototype,K.prototype.constructor=K,io.prototype=Mi(Di.prototype),io.prototype.constructor=io;function yr(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ce,this.__views__=[]}function Tl(){var i=new yr(this.__wrapped__);return i.__actions__=ao(this.__actions__),i.__dir__=this.__dir__,i.__filtered__=this.__filtered__,i.__iteratees__=ao(this.__iteratees__),i.__takeCount__=this.__takeCount__,i.__views__=ao(this.__views__),i}function Ha(){if(this.__filtered__){var i=new yr(this);i.__dir__=-1,i.__filtered__=!0}else i=this.clone(),i.__dir__*=-1;return i}function kl(){var i=this.__wrapped__.value(),l=this.__dir__,m=xr(i),M=l<0,U=m?i.length:0,Q=$S(0,U,this.__views__),ge=Q.start,be=Q.end,ke=be-ge,ct=M?be:ge-1,ft=this.__iteratees__,vt=ft.length,jt=0,Xt=Pn(ke,this.__takeCount__);if(!m||!M&&U==ke&&Xt==ke)return so(i,this.__actions__);var cr=[];e:for(;ke--&&jt<Xt;){ct+=l;for(var Ir=-1,ur=i[ct];++Ir<vt;){var qr=ft[Ir],Wr=qr.iteratee,Hi=qr.type,ri=Wr(ur);if(Hi==ue)ur=ri;else if(!ri){if(Hi==ee)continue e;break e}}cr[jt++]=ur}return cr}yr.prototype=Mi(Di.prototype),yr.prototype.constructor=yr;function ci(i){var l=-1,m=i==null?0:i.length;for(this.clear();++l<m;){var M=i[l];this.set(M[0],M[1])}}function bc(){this.__data__=la?la(null):{},this.size=0}function bu(i){var l=this.has(i)&&delete this.__data__[i];return this.size-=l?1:0,l}function _u(i){var l=this.__data__;if(la){var m=l[i];return m===d?t:m}return Gr.call(l,i)?l[i]:t}function xu(i){var l=this.__data__;return la?l[i]!==t:Gr.call(l,i)}function yf(i,l){var m=this.__data__;return this.size+=this.has(i)?0:1,m[i]=la&&l===t?d:l,this}ci.prototype.clear=bc,ci.prototype.delete=bu,ci.prototype.get=_u,ci.prototype.has=xu,ci.prototype.set=yf;function ui(i){var l=-1,m=i==null?0:i.length;for(this.clear();++l<m;){var M=i[l];this.set(M[0],M[1])}}function bf(){this.__data__=[],this.size=0}function _f(i){var l=this.__data__,m=Yo(l,i);if(m<0)return!1;var M=l.length-1;return m==M?l.pop():Ii.call(l,m,1),--this.size,!0}function _c(i){var l=this.__data__,m=Yo(l,i);return m<0?t:l[m][1]}function qa(i){return Yo(this.__data__,i)>-1}function xf(i,l){var m=this.__data__,M=Yo(m,i);return M<0?(++this.size,m.push([i,l])):m[M][1]=l,this}ui.prototype.clear=bf,ui.prototype.delete=_f,ui.prototype.get=_c,ui.prototype.has=qa,ui.prototype.set=xf;function Pi(i){var l=-1,m=i==null?0:i.length;for(this.clear();++l<m;){var M=i[l];this.set(M[0],M[1])}}function xc(){this.size=0,this.__data__={hash:new ci,map:new(Xi||ui),string:new ci}}function Rl(i){var l=bd(this,i).delete(i);return this.size-=l?1:0,l}function Sf(i){return bd(this,i).get(i)}function Cf(i){return bd(this,i).has(i)}function wf(i,l){var m=bd(this,i),M=m.size;return m.set(i,l),this.size+=m.size==M?0:1,this}Pi.prototype.clear=xc,Pi.prototype.delete=Rl,Pi.prototype.get=Sf,Pi.prototype.has=Cf,Pi.prototype.set=wf;function ho(i){var l=-1,m=i==null?0:i.length;for(this.__data__=new Pi;++l<m;)this.add(i[l])}function Sc(i){return this.__data__.set(i,d),this}function Il(i){return this.__data__.has(i)}ho.prototype.add=ho.prototype.push=Sc,ho.prototype.has=Il;function Rr(i){var l=this.__data__=new ui(i);this.size=l.size}function Oo(){this.__data__=new ui,this.size=0}function ua(i){var l=this.__data__,m=l.delete(i);return this.size=l.size,m}function ws(i){return this.__data__.get(i)}function Hr(i){return this.__data__.has(i)}function es(i,l){var m=this.__data__;if(m instanceof ui){var M=m.__data__;if(!Xi||M.length<o-1)return M.push([i,l]),this.size=++m.size,this;m=this.__data__=new Pi(M)}return m.set(i,l),this.size=m.size,this}Rr.prototype.clear=Oo,Rr.prototype.delete=ua,Rr.prototype.get=ws,Rr.prototype.has=Hr,Rr.prototype.set=es;function za(i,l){var m=xr(i),M=!m&&Gc(i),U=!m&&!M&&Zl(i),Q=!m&&!M&&!U&&Pu(i),ge=m||M||U||Q,be=ge?Me(i.length,gu):[],ke=be.length;for(var ct in i)(l||Gr.call(i,ct))&&!(ge&&(ct=="length"||U&&(ct=="offset"||ct=="parent")||Q&&(ct=="buffer"||ct=="byteLength"||ct=="byteOffset")||el(ct,ke)))&&be.push(ct);return be}function _o(i){var l=i.length;return l?i[Ls(0,l-1)]:t}function Mo(i,l){return _d(ao(i),Es(l,0,i.length))}function fi(i){return _d(ao(i))}function Cc(i,l,m){(m!==t&&!Ms(i[l],m)||m===t&&!(l in i))&&Do(i,l,m)}function po(i,l,m){var M=i[l];(!(Gr.call(i,l)&&Ms(M,m))||m===t&&!(l in i))&&Do(i,l,m)}function Yo(i,l){for(var m=i.length;m--;)if(Ms(i[m][0],l))return m;return-1}function As(i,l,m,M){return ts(i,function(U,Q,ge){l(M,U,m(U),ge)}),M}function Su(i,l){return i&&ei(l,xo(l),i)}function wc(i,l){return i&&ei(l,yi(l),i)}function Do(i,l,m){l=="__proto__"&&Zi?Zi(i,l,{configurable:!0,enumerable:!0,value:m,writable:!0}):i[l]=m}function Ac(i,l){for(var m=-1,M=l.length,U=ze(M),Q=i==null;++m<M;)U[m]=Q?t:Vh(i,l[m]);return U}function Es(i,l,m){return i===i&&(m!==t&&(i=i<=m?i:m),l!==t&&(i=i>=l?i:l)),i}function go(i,l,m,M,U,Q){var ge,be=l&_,ke=l&v,ct=l&y;if(m&&(ge=U?m(i,M,U,Q):m(i)),ge!==t)return ge;if(!Nn(i))return i;var ft=xr(i);if(ft){if(ge=WS(i),!be)return ao(i,ge)}else{var vt=$o(i),jt=vt==Ce||vt==Te;if(Zl(i))return ya(i,be);if(vt==tt||vt==oe||jt&&!U){if(ge=ke||jt?{}:iv(i),!be)return ke?Mu(i,wc(ge,i)):kf(i,Su(ge,i))}else{if(!Mr[vt])return U?i:{};ge=VS(i,vt,be)}}Q||(Q=new Rr);var Xt=Q.get(i);if(Xt)return Xt;Q.set(i,ge),Dv(i)?i.forEach(function(ur){ge.add(go(ur,l,m,ur,i,Q))}):Ov(i)&&i.forEach(function(ur,qr){ge.set(qr,go(ur,l,m,qr,i,Q))});var cr=ct?ke?Oh:Lh:ke?yi:xo,Ir=ft?t:cr(i);return Vn(Ir||i,function(ur,qr){Ir&&(qr=ur,ur=i[qr]),po(ge,qr,go(ur,l,m,qr,i,Q))}),ge}function Ec(i){var l=xo(i);return function(m){return Tc(m,i,l)}}function Tc(i,l,m){var M=m.length;if(i==null)return!M;for(i=Kr(i);M--;){var U=m[M],Q=l[U],ge=i[U];if(ge===t&&!(U in i)||!Q(ge))return!1}return!0}function kc(i,l,m){if(typeof i!="function")throw new zo(u);return Lf(function(){i.apply(t,m)},l)}function Ts(i,l,m,M){var U=-1,Q=wi,ge=!0,be=i.length,ke=[],ct=l.length;if(!be)return ke;m&&(l=Qr(l,zt(m))),M?(Q=Gn,ge=!1):l.length>=o&&(Q=ar,ge=!1,l=new ho(l));e:for(;++U<be;){var ft=i[U],vt=m==null?ft:m(ft);if(ft=M||ft!==0?ft:0,ge&&vt===vt){for(var jt=ct;jt--;)if(l[jt]===vt)continue e;ke.push(ft)}else Q(l,vt,M)||ke.push(ft)}return ke}var ts=s(Po),Rc=s(Ol,!0);function Cu(i,l){var m=!0;return ts(i,function(M,U,Q){return m=!!l(M,U,Q),m}),m}function Ll(i,l,m){for(var M=-1,U=i.length;++M<U;){var Q=i[M],ge=l(Q);if(ge!=null&&(be===t?ge===ge&&!Bi(ge):m(ge,be)))var be=ge,ke=Q}return ke}function Af(i,l,m,M){var U=i.length;for(m=Tr(m),m<0&&(m=-m>U?0:U+m),M=M===t||M>U?U:Tr(M),M<0&&(M+=U),M=m>M?0:Nv(M);m<M;)i[m++]=l;return i}function wu(i,l){var m=[];return ts(i,function(M,U,Q){l(M,U,Q)&&m.push(M)}),m}function Zn(i,l,m,M,U){var Q=-1,ge=i.length;for(m||(m=ZS),U||(U=[]);++Q<ge;){var be=i[Q];l>0&&m(be)?l>1?Zn(be,l-1,m,M,U):ko(U,be):M||(U[U.length]=be)}return U}var Ic=c(),Au=c(!0);function Po(i,l){return i&&Ic(i,l,xo)}function Ol(i,l){return i&&Au(i,l,xo)}function fa(i,l){return Zo(l,function(m){return tl(i[m])})}function rs(i,l){l=Fi(l,i);for(var m=0,M=l.length;i!=null&&m<M;)i=i[ba(l[m++])];return m&&m==M?i:t}function $a(i,l,m){var M=l(i);return xr(i)?M:ko(M,m(i))}function Bn(i){return i==null?i===t?At:$e:Li&&Li in Kr(i)?zS(i):tC(i)}function ks(i,l){return i>l}function Ml(i,l){return i!=null&&Gr.call(i,l)}function da(i,l){return i!=null&&l in Kr(i)}function Dl(i,l,m){return i>=Pn(l,m)&&i<un(l,m)}function ha(i,l,m){for(var M=m?Gn:wi,U=i[0].length,Q=i.length,ge=Q,be=ze(Q),ke=1/0,ct=[];ge--;){var ft=i[ge];ge&&l&&(ft=Qr(ft,zt(l))),ke=Pn(ft.length,ke),be[ge]=!m&&(l||U>=120&&ft.length>=120)?new ho(ge&&ft):t}ft=i[0];var vt=-1,jt=be[0];e:for(;++vt<U&&ct.length<ke;){var Xt=ft[vt],cr=l?l(Xt):Xt;if(Xt=m||Xt!==0?Xt:0,!(jt?ar(jt,cr):M(ct,cr,m))){for(ge=Q;--ge;){var Ir=be[ge];if(!(Ir?ar(Ir,cr):M(i[ge],cr,m)))continue e}jt&&jt.push(cr),ct.push(Xt)}}return ct}function Pl(i,l,m,M){return Po(i,function(U,Q,ge){l(M,m(U),Q,ge)}),M}function di(i,l,m){l=Fi(l,i),i=cv(i,l);var M=i==null?i:i[ba(ls(l))];return M==null?t:ln(M,i,m)}function Nl(i){return Hn(i)&&Bn(i)==oe}function Rs(i){return Hn(i)&&Bn(i)==St}function Eu(i){return Hn(i)&&Bn(i)==We}function Ua(i,l,m,M,U){return i===l?!0:i==null||l==null||!Hn(i)&&!Hn(l)?i!==i&&l!==l:pa(i,l,m,M,Ua,U)}function pa(i,l,m,M,U,Q){var ge=xr(i),be=xr(l),ke=ge?we:$o(i),ct=be?we:$o(l);ke=ke==oe?tt:ke,ct=ct==oe?tt:ct;var ft=ke==tt,vt=ct==tt,jt=ke==ct;if(jt&&Zl(i)){if(!Zl(l))return!1;ge=!0,ft=!1}if(jt&&!ft)return Q||(Q=new Rr),ge||Pu(i)?rv(i,l,m,M,U,Q):HS(i,l,ke,m,M,U,Q);if(!(m&b)){var Xt=ft&&Gr.call(i,"__wrapped__"),cr=vt&&Gr.call(l,"__wrapped__");if(Xt||cr){var Ir=Xt?i.value():i,ur=cr?l.value():l;return Q||(Q=new Rr),U(Ir,ur,m,M,Q)}}return jt?(Q||(Q=new Rr),qS(i,l,m,M,U,Q)):!1}function ga(i){return Hn(i)&&$o(i)==Ne}function Lc(i,l,m,M){var U=m.length,Q=U,ge=!M;if(i==null)return!Q;for(i=Kr(i);U--;){var be=m[U];if(ge&&be[2]?be[1]!==i[be[0]]:!(be[0]in i))return!1}for(;++U<Q;){be=m[U];var ke=be[0],ct=i[ke],ft=be[1];if(ge&&be[2]){if(ct===t&&!(ke in i))return!1}else{var vt=new Rr;if(M)var jt=M(ct,ft,ke,i,l,vt);if(!(jt===t?Ua(ft,ct,b|T,M,vt):jt))return!1}}return!0}function Tu(i){if(!Nn(i)||YS(i))return!1;var l=tl(i)?mc:Gt;return l.test(Vc(i))}function Is(i){return Hn(i)&&Bn(i)==Ke}function jl(i){return Hn(i)&&$o(i)==yt}function Ni(i){return Hn(i)&&Ed(i.length)&&!!Ar[Bn(i)]}function Fl(i){return typeof i=="function"?i:i==null?bi:typeof i=="object"?xr(i)?Va(i[0],i[1]):hi(i):Gv(i)}function ji(i){if(!If(i))return vu(i);var l=[];for(var m in Kr(i))Gr.call(i,m)&&m!="constructor"&&l.push(m);return l}function Wa(i){if(!Nn(i))return eC(i);var l=If(i),m=[];for(var M in i)M=="constructor"&&(l||!Gr.call(i,M))||m.push(M);return m}function Xo(i,l){return i<l}function Jo(i,l){var m=-1,M=vi(i)?ze(i.length):[];return ts(i,function(U,Q,ge){M[++m]=l(U,Q,ge)}),M}function hi(i){var l=Dh(i);return l.length==1&&l[0][2]?av(l[0][0],l[0][1]):function(m){return m===i||Lc(m,i,l)}}function Va(i,l){return Nh(i)&&sv(l)?av(ba(i),l):function(m){var M=Vh(m,i);return M===t&&M===l?Gh(m,i):Ua(l,M,b|T)}}function ns(i,l,m,M,U){i!==l&&Ic(l,function(Q,ge){if(U||(U=new Rr),Nn(Q))Qo(i,l,ge,m,ns,M,U);else{var be=M?M(Fh(i,ge),Q,ge+"",i,l,U):t;be===t&&(be=Q),Cc(i,ge,be)}},yi)}function Qo(i,l,m,M,U,Q,ge){var be=Fh(i,m),ke=Fh(l,m),ct=ge.get(ke);if(ct){Cc(i,m,ct);return}var ft=Q?Q(be,ke,m+"",i,l,ge):t,vt=ft===t;if(vt){var jt=xr(ke),Xt=!jt&&Zl(ke),cr=!jt&&!Xt&&Pu(ke);ft=ke,jt||Xt||cr?xr(be)?ft=be:Yn(be)?ft=ao(be):Xt?(vt=!1,ft=ya(ke,!0)):cr?(vt=!1,ft=$c(ke,!0)):ft=[]:Of(ke)||Gc(ke)?(ft=be,Gc(be)?ft=jv(be):(!Nn(be)||tl(be))&&(ft=iv(ke))):vt=!1}vt&&(ge.set(ke,ft),U(ft,ke,M,Q,ge),ge.delete(ke)),Cc(i,m,ft)}function ma(i,l){var m=i.length;if(m)return l+=l<0?m:0,el(l,m)?i[l]:t}function Bl(i,l,m){l.length?l=Qr(l,function(Q){return xr(Q)?function(ge){return rs(ge,Q.length===1?Q[0]:Q)}:Q}):l=[bi];var M=-1;l=Qr(l,zt(lr()));var U=Jo(i,function(Q,ge,be){var ke=Qr(l,function(ct){return ct(Q)});return{criteria:ke,index:++M,value:Q}});return se(U,function(Q,ge){return Lu(Q,ge,m)})}function Ga(i,l){return va(i,l,function(m,M){return Gh(i,M)})}function va(i,l,m){for(var M=-1,U=l.length,Q={};++M<U;){var ge=l[M],be=rs(i,ge);m(be,ge)&&Os(Q,Fi(ge,i),be)}return Q}function ku(i){return function(l){return rs(l,i)}}function Oc(i,l,m,M){var U=M?yl:Ai,Q=-1,ge=l.length,be=i;for(i===l&&(l=ao(l)),m&&(be=Qr(i,zt(m)));++Q<ge;)for(var ke=0,ct=l[Q],ft=m?m(ct):ct;(ke=U(be,ft,ke,M))>-1;)be!==i&&Ii.call(be,ke,1),Ii.call(i,ke,1);return i}function Mc(i,l){for(var m=i?l.length:0,M=m-1;m--;){var U=l[m];if(m==M||U!==Q){var Q=U;el(U)?Ii.call(i,U,1):Fc(i,U)}}return i}function Ls(i,l){return i+xs(Yi()*(l-i+1))}function Dc(i,l,m,M){for(var U=-1,Q=un(oa((l-i)/(m||1)),0),ge=ze(Q);Q--;)ge[M?Q:++U]=i,i+=m;return ge}function Hl(i,l){var m="";if(!i||l<1||l>fe)return m;do l%2&&(m+=i),l=xs(l/2),l&&(i+=i);while(l);return m}function vr(i,l){return Bh(lv(i,l,bi),i+"")}function Za(i){return _o(Nu(i))}function Pc(i,l){var m=Nu(i);return _d(m,Es(l,0,m.length))}function Os(i,l,m,M){if(!Nn(i))return i;l=Fi(l,i);for(var U=-1,Q=l.length,ge=Q-1,be=i;be!=null&&++U<Q;){var ke=ba(l[U]),ct=m;if(ke==="__proto__"||ke==="constructor"||ke==="prototype")return i;if(U!=ge){var ft=be[ke];ct=M?M(ft,ke,be):t,ct===t&&(ct=Nn(ft)?ft:el(l[U+1])?[]:{})}po(be,ke,ct),be=be[ke]}return i}var Nc=Fa?function(i,l){return Fa.set(i,l),i}:bi,Ru=Zi?function(i,l){return Zi(i,"toString",{configurable:!0,enumerable:!1,value:Kh(l),writable:!0})}:bi;function jc(i){return _d(Nu(i))}function No(i,l,m){var M=-1,U=i.length;l<0&&(l=-l>U?0:U+l),m=m>U?U:m,m<0&&(m+=U),U=l>m?0:m-l>>>0,l>>>=0;for(var Q=ze(U);++M<U;)Q[M]=i[M+l];return Q}function Ef(i,l){var m;return ts(i,function(M,U,Q){return m=l(M,U,Q),!m}),!!m}function ql(i,l,m){var M=0,U=i==null?M:i.length;if(typeof l=="number"&&l===l&&U<=ye){for(;M<U;){var Q=M+U>>>1,ge=i[Q];ge!==null&&!Bi(ge)&&(m?ge<=l:ge<l)?M=Q+1:U=Q}return U}return zl(i,l,bi,m)}function zl(i,l,m,M){var U=0,Q=i==null?0:i.length;if(Q===0)return 0;l=m(l);for(var ge=l!==l,be=l===null,ke=Bi(l),ct=l===t;U<Q;){var ft=xs((U+Q)/2),vt=m(i[ft]),jt=vt!==t,Xt=vt===null,cr=vt===vt,Ir=Bi(vt);if(ge)var ur=M||cr;else ct?ur=cr&&(M||jt):be?ur=cr&&jt&&(M||!Xt):ke?ur=cr&&jt&&!Xt&&(M||!Ir):Xt||Ir?ur=!1:ur=M?vt<=l:vt<l;ur?U=ft+1:Q=ft}return Pn(Q,pe)}function Iu(i,l){for(var m=-1,M=i.length,U=0,Q=[];++m<M;){var ge=i[m],be=l?l(ge):ge;if(!m||!Ms(be,ke)){var ke=be;Q[U++]=ge===0?0:ge}}return Q}function $l(i){return typeof i=="number"?i:Bi(i)?te:+i}function jo(i){if(typeof i=="string")return i;if(xr(i))return Qr(i,jo)+"";if(Bi(i))return Ba?Ba.call(i):"";var l=i+"";return l=="0"&&1/i==-1/0?"-0":l}function Ln(i,l,m){var M=-1,U=wi,Q=i.length,ge=!0,be=[],ke=be;if(m)ge=!1,U=Gn;else if(Q>=o){var ct=l?null:Rf(i);if(ct)return Ma(ct);ge=!1,U=ar,ke=new ho}else ke=l?[]:be;e:for(;++M<Q;){var ft=i[M],vt=l?l(ft):ft;if(ft=m||ft!==0?ft:0,ge&&vt===vt){for(var jt=ke.length;jt--;)if(ke[jt]===vt)continue e;l&&ke.push(vt),be.push(ft)}else U(ke,vt,m)||(ke!==be&&ke.push(vt),be.push(ft))}return be}function Fc(i,l){return l=Fi(l,i),i=cv(i,l),i==null||delete i[ba(ls(l))]}function Ka(i,l,m,M){return Os(i,l,m(rs(i,l)),M)}function Ul(i,l,m,M){for(var U=i.length,Q=M?U:-1;(M?Q--:++Q<U)&&l(i[Q],Q,i););return m?No(i,M?0:Q,M?Q+1:U):No(i,M?Q+1:0,M?U:Q)}function so(i,l){var m=i;return m instanceof yr&&(m=m.value()),La(l,function(M,U){return U.func.apply(U.thisArg,ko([M],U.args))},m)}function Bc(i,l,m){var M=i.length;if(M<2)return M?Ln(i[0]):[];for(var U=-1,Q=ze(M);++U<M;)for(var ge=i[U],be=-1;++be<M;)be!=U&&(Q[U]=Ts(Q[U]||ge,i[be],l,m));return Ln(Zn(Q,1),l,m)}function Hc(i,l,m){for(var M=-1,U=i.length,Q=l.length,ge={};++M<U;){var be=M<Q?l[M]:t;m(ge,i[M],be)}return ge}function Wl(i){return Yn(i)?i:[]}function os(i){return typeof i=="function"?i:bi}function Fi(i,l){return xr(i)?i:Nh(i,l)?[i]:hv(on(i))}var Tf=vr;function pi(i,l,m){var M=i.length;return m=m===t?M:m,!l&&m>=M?i:No(i,l,m)}var is=mf||function(i){return dr.clearTimeout(i)};function ya(i,l){if(l)return i.slice();var m=i.length,M=Pa?Pa(m):new i.constructor(m);return i.copy(M),M}function qc(i){var l=new i.constructor(i.byteLength);return new Da(l).set(new Da(i)),l}function zc(i,l){var m=l?qc(i.buffer):i.buffer;return new i.constructor(m,i.byteOffset,i.byteLength)}function Ya(i){var l=new i.constructor(i.source,kt.exec(i));return l.lastIndex=i.lastIndex,l}function Vl(i){return Cs?Kr(Cs.call(i)):{}}function $c(i,l){var m=l?qc(i.buffer):i.buffer;return new i.constructor(m,i.byteOffset,i.length)}function Xa(i,l){if(i!==l){var m=i!==t,M=i===null,U=i===i,Q=Bi(i),ge=l!==t,be=l===null,ke=l===l,ct=Bi(l);if(!be&&!ct&&!Q&&i>l||Q&&ge&&ke&&!be&&!ct||M&&ge&&ke||!m&&ke||!U)return 1;if(!M&&!Q&&!ct&&i<l||ct&&m&&U&&!M&&!Q||be&&m&&U||!ge&&U||!ke)return-1}return 0}function Lu(i,l,m){for(var M=-1,U=i.criteria,Q=l.criteria,ge=U.length,be=m.length;++M<ge;){var ke=Xa(U[M],Q[M]);if(ke){if(M>=be)return ke;var ct=m[M];return ke*(ct=="desc"?-1:1)}}return i.index-l.index}function Ou(i,l,m,M){for(var U=-1,Q=i.length,ge=m.length,be=-1,ke=l.length,ct=un(Q-ge,0),ft=ze(ke+ct),vt=!M;++be<ke;)ft[be]=l[be];for(;++U<ge;)(vt||U<Q)&&(ft[m[U]]=i[U]);for(;ct--;)ft[be++]=i[U++];return ft}function Uc(i,l,m,M){for(var U=-1,Q=i.length,ge=-1,be=m.length,ke=-1,ct=l.length,ft=un(Q-be,0),vt=ze(ft+ct),jt=!M;++U<ft;)vt[U]=i[U];for(var Xt=U;++ke<ct;)vt[Xt+ke]=l[ke];for(;++ge<be;)(jt||U<Q)&&(vt[Xt+m[ge]]=i[U++]);return vt}function ao(i,l){var m=-1,M=i.length;for(l||(l=ze(M));++m<M;)l[m]=i[m];return l}function ei(i,l,m,M){var U=!m;m||(m={});for(var Q=-1,ge=l.length;++Q<ge;){var be=l[Q],ke=M?M(m[be],i[be],be,m,i):t;ke===t&&(ke=i[be]),U?Do(m,be,ke):po(m,be,ke)}return m}function kf(i,l){return ei(i,Ph(i),l)}function Mu(i,l){return ei(i,nv(i),l)}function Gl(i,l){return function(m,M){var U=xr(m)?ms:As,Q=l?l():{};return U(m,i,lr(M,2),Q)}}function p(i){return vr(function(l,m){var M=-1,U=m.length,Q=U>1?m[U-1]:t,ge=U>2?m[2]:t;for(Q=i.length>3&&typeof Q=="function"?(U--,Q):t,ge&&ti(m[0],m[1],ge)&&(Q=U<3?t:Q,U=1),l=Kr(l);++M<U;){var be=m[M];be&&i(l,be,M,Q)}return l})}function s(i,l){return function(m,M){if(m==null)return m;if(!vi(m))return i(m,M);for(var U=m.length,Q=l?U:-1,ge=Kr(m);(l?Q--:++Q<U)&&M(ge[Q],Q,ge)!==!1;);return m}}function c(i){return function(l,m,M){for(var U=-1,Q=Kr(l),ge=M(l),be=ge.length;be--;){var ke=ge[i?be:++U];if(m(Q[ke],ke,Q)===!1)break}return l}}function g(i,l,m){var M=l&w,U=z(i);function Q(){var ge=this&&this!==dr&&this instanceof Q?U:i;return ge.apply(M?m:this,arguments)}return Q}function A(i){return function(l){l=on(l);var m=Qs(l)?gn(l):t,M=m?m[0]:l.charAt(0),U=m?pi(m,1).join(""):l.slice(1);return M[i]()+U}}function N(i){return function(l){return La(Wv(Uv(l).replace(ii,"")),i,"")}}function z(i){return function(){var l=arguments;switch(l.length){case 0:return new i;case 1:return new i(l[0]);case 2:return new i(l[0],l[1]);case 3:return new i(l[0],l[1],l[2]);case 4:return new i(l[0],l[1],l[2],l[3]);case 5:return new i(l[0],l[1],l[2],l[3],l[4]);case 6:return new i(l[0],l[1],l[2],l[3],l[4],l[5]);case 7:return new i(l[0],l[1],l[2],l[3],l[4],l[5],l[6])}var m=Mi(i.prototype),M=i.apply(m,l);return Nn(M)?M:m}}function Y(i,l,m){var M=z(i);function U(){for(var Q=arguments.length,ge=ze(Q),be=Q,ke=Du(U);be--;)ge[be]=arguments[be];var ct=Q<3&&ge[0]!==ke&&ge[Q-1]!==ke?[]:Ei(ge,ke);if(Q-=ct.length,Q<m)return mi(i,l,rt,U.placeholder,t,ge,ct,t,t,m-Q);var ft=this&&this!==dr&&this instanceof U?M:i;return ln(ft,this,ge)}return U}function he(i){return function(l,m,M){var U=Kr(l);if(!vi(l)){var Q=lr(m,3);l=xo(l),m=function(be){return Q(U[be],be,U)}}var ge=i(l,m,M);return ge>-1?U[Q?l[ge]:ge]:t}}function Le(i){return Qa(function(l){var m=l.length,M=m,U=io.prototype.thru;for(i&&l.reverse();M--;){var Q=l[M];if(typeof Q!="function")throw new zo(u);if(U&&!ge&&yd(Q)=="wrapper")var ge=new io([],!0)}for(M=ge?M:m;++M<m;){Q=l[M];var be=yd(Q),ke=be=="wrapper"?Mh(Q):t;ke&&jh(ke[0])&&ke[1]==(q|R|P|$)&&!ke[4].length&&ke[9]==1?ge=ge[yd(ke[0])].apply(ge,ke[3]):ge=Q.length==1&&jh(Q)?ge[be]():ge.thru(Q)}return function(){var ct=arguments,ft=ct[0];if(ge&&ct.length==1&&xr(ft))return ge.plant(ft).value();for(var vt=0,jt=m?l[vt].apply(this,ct):ft;++vt<m;)jt=l[vt].call(this,jt);return jt}})}function rt(i,l,m,M,U,Q,ge,be,ke,ct){var ft=l&q,vt=l&w,jt=l&S,Xt=l&(R|I),cr=l&G,Ir=jt?t:z(i);function ur(){for(var qr=arguments.length,Wr=ze(qr),Hi=qr;Hi--;)Wr[Hi]=arguments[Hi];if(Xt)var ri=Du(ur),qi=Ro(Wr,ri);if(M&&(Wr=Ou(Wr,M,U,Xt)),Q&&(Wr=Uc(Wr,Q,ge,Xt)),qr-=qi,Xt&&qr<ct){var Xn=Ei(Wr,ri);return mi(i,l,rt,ur.placeholder,m,Wr,Xn,be,ke,ct-qr)}var Ds=vt?m:this,nl=jt?Ds[i]:i;return qr=Wr.length,be?Wr=rC(Wr,be):cr&&qr>1&&Wr.reverse(),ft&&ke<qr&&(Wr.length=ke),this&&this!==dr&&this instanceof ur&&(nl=Ir||z(nl)),nl.apply(Ds,Wr)}return ur}function pt(i,l){return function(m,M){return Pl(m,i,l(M),{})}}function Lt(i,l){return function(m,M){var U;if(m===t&&M===t)return l;if(m!==t&&(U=m),M!==t){if(U===t)return M;typeof m=="string"||typeof M=="string"?(m=jo(m),M=jo(M)):(m=$l(m),M=$l(M)),U=i(m,M)}return U}}function nr(i){return Qa(function(l){return l=Qr(l,zt(lr())),vr(function(m){var M=this;return i(l,function(U){return ln(U,M,m)})})})}function Dr(i,l){l=l===t?" ":jo(l);var m=l.length;if(m<2)return m?Hl(l,i):l;var M=Hl(l,oa(i/ea(l)));return Qs(l)?pi(gn(M),0,i).join(""):M.slice(0,i)}function Kn(i,l,m,M){var U=l&w,Q=z(i);function ge(){for(var be=-1,ke=arguments.length,ct=-1,ft=M.length,vt=ze(ft+ke),jt=this&&this!==dr&&this instanceof ge?Q:i;++ct<ft;)vt[ct]=M[ct];for(;ke--;)vt[ct++]=arguments[++be];return ln(jt,U?m:this,vt)}return ge}function ss(i){return function(l,m,M){return M&&typeof M!="number"&&ti(l,m,M)&&(m=M=t),l=rl(l),m===t?(m=l,l=0):m=rl(m),M=M===t?l<m?1:-1:rl(M),Dc(l,m,M,i)}}function gi(i){return function(l,m){return typeof l=="string"&&typeof m=="string"||(l=cs(l),m=cs(m)),i(l,m)}}function mi(i,l,m,M,U,Q,ge,be,ke,ct){var ft=l&R,vt=ft?ge:t,jt=ft?t:ge,Xt=ft?Q:t,cr=ft?t:Q;l|=ft?P:j,l&=~(ft?j:P),l&E||(l&=-4);var Ir=[i,l,U,Xt,vt,cr,jt,be,ke,ct],ur=m.apply(t,Ir);return jh(i)&&uv(ur,Ir),ur.placeholder=M,fv(ur,i,l)}function as(i){var l=Cn[i];return function(m,M){if(m=cs(m),M=M==null?0:Pn(Tr(M),292),M&&sa(m)){var U=(on(m)+"e").split("e"),Q=l(U[0]+"e"+(+U[1]+M));return U=(on(Q)+"e").split("e"),+(U[0]+"e"+(+U[1]-M))}return l(m)}}var Rf=li&&1/Ma(new li([,-0]))[1]==de?function(i){return new li(i)}:Jh;function vd(i){return function(l){var m=$o(l);return m==Ne?dc(l):m==yt?df(l):et(l,i(l))}}function Ja(i,l,m,M,U,Q,ge,be){var ke=l&S;if(!ke&&typeof i!="function")throw new zo(u);var ct=M?M.length:0;if(ct||(l&=-97,M=U=t),ge=ge===t?ge:un(Tr(ge),0),be=be===t?be:Tr(be),ct-=U?U.length:0,l&j){var ft=M,vt=U;M=U=t}var jt=ke?t:Mh(i),Xt=[i,l,m,M,U,ft,vt,Q,ge,be];if(jt&&QS(Xt,jt),i=Xt[0],l=Xt[1],m=Xt[2],M=Xt[3],U=Xt[4],be=Xt[9]=Xt[9]===t?ke?0:i.length:un(Xt[9]-ct,0),!be&&l&(R|I)&&(l&=-25),!l||l==w)var cr=g(i,l,m);else l==R||l==I?cr=Y(i,l,be):(l==P||l==(w|P))&&!U.length?cr=Kn(i,l,m,M):cr=rt.apply(t,Xt);var Ir=jt?Nc:uv;return fv(Ir(cr,Xt),i,l)}function ev(i,l,m,M){return i===t||Ms(i,Vi[m])&&!Gr.call(M,m)?l:i}function tv(i,l,m,M,U,Q){return Nn(i)&&Nn(l)&&(Q.set(l,i),ns(i,l,t,tv,Q),Q.delete(l)),i}function BS(i){return Of(i)?t:i}function rv(i,l,m,M,U,Q){var ge=m&b,be=i.length,ke=l.length;if(be!=ke&&!(ge&&ke>be))return!1;var ct=Q.get(i),ft=Q.get(l);if(ct&&ft)return ct==l&&ft==i;var vt=-1,jt=!0,Xt=m&T?new ho:t;for(Q.set(i,l),Q.set(l,i);++vt<be;){var cr=i[vt],Ir=l[vt];if(M)var ur=ge?M(Ir,cr,vt,l,i,Q):M(cr,Ir,vt,i,l,Q);if(ur!==t){if(ur)continue;jt=!1;break}if(Xt){if(!Wi(l,function(qr,Wr){if(!ar(Xt,Wr)&&(cr===qr||U(cr,qr,m,M,Q)))return Xt.push(Wr)})){jt=!1;break}}else if(!(cr===Ir||U(cr,Ir,m,M,Q))){jt=!1;break}}return Q.delete(i),Q.delete(l),jt}function HS(i,l,m,M,U,Q,ge){switch(m){case Dt:if(i.byteLength!=l.byteLength||i.byteOffset!=l.byteOffset)return!1;i=i.buffer,l=l.buffer;case St:return!(i.byteLength!=l.byteLength||!Q(new Da(i),new Da(l)));case Ue:case We:case ot:return Ms(+i,+l);case _e:return i.name==l.name&&i.message==l.message;case Ke:case bt:return i==l+"";case Ne:var be=dc;case yt:var ke=M&b;if(be||(be=Ma),i.size!=l.size&&!ke)return!1;var ct=ge.get(i);if(ct)return ct==l;M|=T,ge.set(i,l);var ft=rv(be(i),be(l),M,U,Q,ge);return ge.delete(i),ft;case _t:if(Cs)return Cs.call(i)==Cs.call(l)}return!1}function qS(i,l,m,M,U,Q){var ge=m&b,be=Lh(i),ke=be.length,ct=Lh(l),ft=ct.length;if(ke!=ft&&!ge)return!1;for(var vt=ke;vt--;){var jt=be[vt];if(!(ge?jt in l:Gr.call(l,jt)))return!1}var Xt=Q.get(i),cr=Q.get(l);if(Xt&&cr)return Xt==l&&cr==i;var Ir=!0;Q.set(i,l),Q.set(l,i);for(var ur=ge;++vt<ke;){jt=be[vt];var qr=i[jt],Wr=l[jt];if(M)var Hi=ge?M(Wr,qr,jt,l,i,Q):M(qr,Wr,jt,i,l,Q);if(!(Hi===t?qr===Wr||U(qr,Wr,m,M,Q):Hi)){Ir=!1;break}ur||(ur=jt=="constructor")}if(Ir&&!ur){var ri=i.constructor,qi=l.constructor;ri!=qi&&"constructor"in i&&"constructor"in l&&!(typeof ri=="function"&&ri instanceof ri&&typeof qi=="function"&&qi instanceof qi)&&(Ir=!1)}return Q.delete(i),Q.delete(l),Ir}function Qa(i){return Bh(lv(i,t,vv),i+"")}function Lh(i){return $a(i,xo,Ph)}function Oh(i){return $a(i,yi,nv)}var Mh=Fa?function(i){return Fa.get(i)}:Jh;function yd(i){for(var l=i.name+"",m=Ss[l],M=Gr.call(Ss,l)?m.length:0;M--;){var U=m[M],Q=U.func;if(Q==null||Q==i)return U.name}return l}function Du(i){var l=Gr.call(K,"placeholder")?K:i;return l.placeholder}function lr(){var i=K.iteratee||Yh;return i=i===Yh?Fl:i,arguments.length?i(arguments[0],arguments[1]):i}function bd(i,l){var m=i.__data__;return KS(l)?m[typeof l=="string"?"string":"hash"]:m.map}function Dh(i){for(var l=xo(i),m=l.length;m--;){var M=l[m],U=i[M];l[m]=[M,U,sv(U)]}return l}function Wc(i,l){var m=bs(i,l);return Tu(m)?m:t}function zS(i){var l=Gr.call(i,Li),m=i[Li];try{i[Li]=t;var M=!0}catch{}var U=ki.call(i);return M&&(l?i[Li]=m:delete i[Li]),U}var Ph=ia?function(i){return i==null?[]:(i=Kr(i),Zo(ia(i),function(l){return Cl.call(i,l)}))}:Qh,nv=ia?function(i){for(var l=[];i;)ko(l,Ph(i)),i=_s(i);return l}:Qh,$o=Bn;(ai&&$o(new ai(new ArrayBuffer(1)))!=Dt||Xi&&$o(new Xi)!=Ne||aa&&$o(aa.resolve())!=at||li&&$o(new li)!=yt||Oi&&$o(new Oi)!=qe)&&($o=function(i){var l=Bn(i),m=l==tt?i.constructor:t,M=m?Vc(m):"";if(M)switch(M){case Ji:return Dt;case yc:return Ne;case vf:return at;case yu:return yt;case ca:return qe}return l});function $S(i,l,m){for(var M=-1,U=m.length;++M<U;){var Q=m[M],ge=Q.size;switch(Q.type){case"drop":i+=ge;break;case"dropRight":l-=ge;break;case"take":l=Pn(l,i+ge);break;case"takeRight":i=un(i,l-ge);break}}return{start:i,end:l}}function US(i){var l=i.match(ne);return l?l[1].split(He):[]}function ov(i,l,m){l=Fi(l,i);for(var M=-1,U=l.length,Q=!1;++M<U;){var ge=ba(l[M]);if(!(Q=i!=null&&m(i,ge)))break;i=i[ge]}return Q||++M!=U?Q:(U=i==null?0:i.length,!!U&&Ed(U)&&el(ge,U)&&(xr(i)||Gc(i)))}function WS(i){var l=i.length,m=new i.constructor(l);return l&&typeof i[0]=="string"&&Gr.call(i,"index")&&(m.index=i.index,m.input=i.input),m}function iv(i){return typeof i.constructor=="function"&&!If(i)?Mi(_s(i)):{}}function VS(i,l,m){var M=i.constructor;switch(l){case St:return qc(i);case Ue:case We:return new M(+i);case Dt:return zc(i,m);case Et:case Ze:case It:case Ot:case pr:case br:case Or:case Ee:case ae:return $c(i,m);case Ne:return new M;case ot:case bt:return new M(i);case Ke:return Ya(i);case yt:return new M;case _t:return Vl(i)}}function GS(i,l){var m=l.length;if(!m)return i;var M=m-1;return l[M]=(m>1?"& ":"")+l[M],l=l.join(m>2?", ":" "),i.replace(wr,`{
|
34
34
|
/* [wrapped with `+l+`] */
|
35
|
-
`)}function ZS(i){return xr(i)||Gc(i)||!!(wl&&i&&i[wl])}function el(i,l){var m=typeof i;return l=l??fe,!!l&&(m=="number"||m!="symbol"&&gr.test(i))&&i>-1&&i%1==0&&i<l}function ti(i,l,m){if(!Nn(m))return!1;var M=typeof l;return(M=="number"?vi(m)&&el(l,m.length):M=="string"&&l in m)?Ms(m[l],i):!1}function Nh(i,l){if(xr(i))return!1;var m=typeof i;return m=="number"||m=="symbol"||m=="boolean"||i==null||Bi(i)?!0:lt.test(i)||!fr.test(i)||l!=null&&i in Kr(l)}function KS(i){var l=typeof i;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?i!=="__proto__":i===null}function jh(i){var l=yd(i),m=K[l];if(typeof m!="function"||!(l in yr.prototype))return!1;if(i===m)return!0;var M=Mh(m);return!!M&&i===M[0]}function YS(i){return!!cn&&cn in i}var XS=nn?tl:ep;function If(i){var l=i&&i.constructor,m=typeof l=="function"&&l.prototype||Wi;return i===m}function sv(i){return i===i&&!Nn(i)}function av(i,l){return function(m){return m==null?!1:m[i]===l&&(l!==t||i in Kr(m))}}function JS(i){var l=wd(i,function(M){return m.size===h&&m.clear(),M}),m=l.cache;return l}function QS(i,l){var m=i[1],M=l[1],U=m|M,Q=U<(w|S|q),ge=M==q&&m==R||M==q&&m==$&&i[7].length<=l[8]||M==(q|$)&&l[7].length<=l[8]&&m==R;if(!(Q||ge))return i;M&w&&(i[2]=l[2],U|=m&w?0:E);var be=l[3];if(be){var ke=i[3];i[3]=ke?Ou(ke,be,l[4]):be,i[4]=ke?Ei(i[3],x):l[4]}return be=l[5],be&&(ke=i[5],i[5]=ke?Uc(ke,be,l[6]):be,i[6]=ke?Ei(i[5],x):l[6]),be=l[7],be&&(i[7]=be),M&q&&(i[8]=i[8]==null?l[8]:Pn(i[8],l[8])),i[9]==null&&(i[9]=l[9]),i[0]=l[0],i[1]=U,i}function eC(i){var l=[];if(i!=null)for(var m in Kr(i))l.push(m);return l}function tC(i){return ki.call(i)}function lv(i,l,m){return l=un(l===t?i.length-1:l,0),function(){for(var M=arguments,U=-1,Q=un(M.length-l,0),ge=ze(Q);++U<Q;)ge[U]=M[l+U];U=-1;for(var be=ze(l+1);++U<l;)be[U]=M[U];return be[l]=m(ge),ln(i,this,be)}}function cv(i,l){return l.length<2?i:ts(i,No(l,0,-1))}function rC(i,l){for(var m=i.length,M=Pn(l.length,m),U=ao(i);M--;){var Q=l[M];i[M]=el(Q,m)?U[Q]:t}return i}function Fh(i,l){if(!(l==="constructor"&&typeof i[l]=="function")&&l!="__proto__")return i[l]}var uv=dv(Nc),Lf=mu||function(i,l){return dr.setTimeout(i,l)},Bh=dv(Ru);function fv(i,l,m){var M=l+"";return Bh(i,GS(M,nC(US(M),m)))}function dv(i){var l=0,m=0;return function(){var M=Zi(),U=V-(M-m);if(m=M,U>0){if(++l>=W)return arguments[0]}else l=0;return i.apply(t,arguments)}}function _d(i,l){var m=-1,M=i.length,U=M-1;for(l=l===t?M:l;++m<l;){var Q=Ls(m,U),ge=i[Q];i[Q]=i[m],i[m]=ge}return i.length=l,i}var hv=JS(function(i){var l=[];return i.charCodeAt(0)===46&&l.push(""),i.replace(it,function(m,M,U,Q){l.push(U?Q.replace(xt,"$1"):M||m)}),l});function ba(i){if(typeof i=="string"||Bi(i))return i;var l=i+"";return l=="0"&&1/i==-1/0?"-0":l}function Vc(i){if(i!=null){try{return Vi.call(i)}catch{}try{return i+""}catch{}}return""}function nC(i,l){return Vn(Ie,function(m){var M="_."+m[0];l&m[1]&&!wi(i,M)&&i.push(M)}),i.sort()}function pv(i){if(i instanceof yr)return i.clone();var l=new io(i.__wrapped__,i.__chain__);return l.__actions__=ao(i.__actions__),l.__index__=i.__index__,l.__values__=i.__values__,l}function oC(i,l,m){(m?ti(i,l,m):l===t)?l=1:l=un(Tr(l),0);var M=i==null?0:i.length;if(!M||l<1)return[];for(var U=0,Q=0,ge=ze(oa(M/l));U<M;)ge[Q++]=No(i,U,U+=l);return ge}function iC(i){for(var l=-1,m=i==null?0:i.length,M=0,U=[];++l<m;){var Q=i[l];Q&&(U[M++]=Q)}return U}function sC(){var i=arguments.length;if(!i)return[];for(var l=ze(i-1),m=arguments[0],M=i;M--;)l[M-1]=arguments[M];return ko(xr(m)?ao(m):[m],Zn(l,1))}var aC=vr(function(i,l){return Yn(i)?Ts(i,Zn(l,1,Yn,!0)):[]}),lC=vr(function(i,l){var m=as(l);return Yn(m)&&(m=t),Yn(i)?Ts(i,Zn(l,1,Yn,!0),lr(m,2)):[]}),cC=vr(function(i,l){var m=as(l);return Yn(m)&&(m=t),Yn(i)?Ts(i,Zn(l,1,Yn,!0),t,m):[]});function uC(i,l,m){var M=i==null?0:i.length;return M?(l=m||l===t?1:Tr(l),No(i,l<0?0:l,M)):[]}function fC(i,l,m){var M=i==null?0:i.length;return M?(l=m||l===t?1:Tr(l),l=M-l,No(i,0,l<0?0:l)):[]}function dC(i,l){return i&&i.length?Ul(i,lr(l,3),!0,!0):[]}function hC(i,l){return i&&i.length?Ul(i,lr(l,3),!0):[]}function pC(i,l,m,M){var U=i==null?0:i.length;return U?(m&&typeof m!="number"&&ti(i,l,m)&&(m=0,M=U),Af(i,l,m,M)):[]}function gv(i,l,m){var M=i==null?0:i.length;if(!M)return-1;var U=m==null?0:Tr(m);return U<0&&(U=un(M+U,0)),ys(i,lr(l,3),U)}function mv(i,l,m){var M=i==null?0:i.length;if(!M)return-1;var U=M-1;return m!==t&&(U=Tr(m),U=m<0?un(M+U,0):Pn(U,M-1)),ys(i,lr(l,3),U,!0)}function vv(i){var l=i==null?0:i.length;return l?Zn(i,1):[]}function gC(i){var l=i==null?0:i.length;return l?Zn(i,de):[]}function mC(i,l){var m=i==null?0:i.length;return m?(l=l===t?1:Tr(l),Zn(i,l)):[]}function vC(i){for(var l=-1,m=i==null?0:i.length,M={};++l<m;){var U=i[l];M[U[0]]=U[1]}return M}function yv(i){return i&&i.length?i[0]:t}function yC(i,l,m){var M=i==null?0:i.length;if(!M)return-1;var U=m==null?0:Tr(m);return U<0&&(U=un(M+U,0)),Ai(i,l,U)}function bC(i){var l=i==null?0:i.length;return l?No(i,0,-1):[]}var _C=vr(function(i){var l=Qr(i,Wl);return l.length&&l[0]===i[0]?ha(l):[]}),xC=vr(function(i){var l=as(i),m=Qr(i,Wl);return l===as(m)?l=t:m.pop(),m.length&&m[0]===i[0]?ha(m,lr(l,2)):[]}),SC=vr(function(i){var l=as(i),m=Qr(i,Wl);return l=typeof l=="function"?l:t,l&&m.pop(),m.length&&m[0]===i[0]?ha(m,t,l):[]});function CC(i,l){return i==null?"":ja.call(i,l)}function as(i){var l=i==null?0:i.length;return l?i[l-1]:t}function wC(i,l,m){var M=i==null?0:i.length;if(!M)return-1;var U=M;return m!==t&&(U=Tr(m),U=U<0?un(M+U,0):Pn(U,M-1)),l===l?pf(i,l,U):ys(i,Xs,U,!0)}function AC(i,l){return i&&i.length?ma(i,Tr(l)):t}var EC=vr(bv);function bv(i,l){return i&&i.length&&l&&l.length?Oc(i,l):i}function TC(i,l,m){return i&&i.length&&l&&l.length?Oc(i,l,lr(m,2)):i}function kC(i,l,m){return i&&i.length&&l&&l.length?Oc(i,l,t,m):i}var RC=Qa(function(i,l){var m=i==null?0:i.length,M=Ac(i,l);return Mc(i,Qr(l,function(U){return el(U,m)?+U:U}).sort(Xa)),M});function IC(i,l){var m=[];if(!(i&&i.length))return m;var M=-1,U=[],Q=i.length;for(l=lr(l,3);++M<Q;){var ge=i[M];l(ge,M,i)&&(m.push(ge),U.push(M))}return Mc(i,U),m}function Hh(i){return i==null?i:El.call(i)}function LC(i,l,m){var M=i==null?0:i.length;return M?(m&&typeof m!="number"&&ti(i,l,m)?(l=0,m=M):(l=l==null?0:Tr(l),m=m===t?M:Tr(m)),No(i,l,m)):[]}function OC(i,l){return ql(i,l)}function MC(i,l,m){return zl(i,l,lr(m,2))}function DC(i,l){var m=i==null?0:i.length;if(m){var M=ql(i,l);if(M<m&&Ms(i[M],l))return M}return-1}function PC(i,l){return ql(i,l,!0)}function NC(i,l,m){return zl(i,l,lr(m,2),!0)}function jC(i,l){var m=i==null?0:i.length;if(m){var M=ql(i,l,!0)-1;if(Ms(i[M],l))return M}return-1}function FC(i){return i&&i.length?Iu(i):[]}function BC(i,l){return i&&i.length?Iu(i,lr(l,2)):[]}function HC(i){var l=i==null?0:i.length;return l?No(i,1,l):[]}function qC(i,l,m){return i&&i.length?(l=m||l===t?1:Tr(l),No(i,0,l<0?0:l)):[]}function zC(i,l,m){var M=i==null?0:i.length;return M?(l=m||l===t?1:Tr(l),l=M-l,No(i,l<0?0:l,M)):[]}function $C(i,l){return i&&i.length?Ul(i,lr(l,3),!1,!0):[]}function UC(i,l){return i&&i.length?Ul(i,lr(l,3)):[]}var WC=vr(function(i){return Ln(Zn(i,1,Yn,!0))}),VC=vr(function(i){var l=as(i);return Yn(l)&&(l=t),Ln(Zn(i,1,Yn,!0),lr(l,2))}),GC=vr(function(i){var l=as(i);return l=typeof l=="function"?l:t,Ln(Zn(i,1,Yn,!0),t,l)});function ZC(i){return i&&i.length?Ln(i):[]}function KC(i,l){return i&&i.length?Ln(i,lr(l,2)):[]}function YC(i,l){return l=typeof l=="function"?l:t,i&&i.length?Ln(i,t,l):[]}function qh(i){if(!(i&&i.length))return[];var l=0;return i=Zo(i,function(m){if(Yn(m))return l=un(m.length,l),!0}),Me(l,function(m){return Qr(i,O(m))})}function _v(i,l){if(!(i&&i.length))return[];var m=qh(i);return l==null?m:Qr(m,function(M){return ln(l,t,M)})}var XC=vr(function(i,l){return Yn(i)?Ts(i,l):[]}),JC=vr(function(i){return Bc(Zo(i,Yn))}),QC=vr(function(i){var l=as(i);return Yn(l)&&(l=t),Bc(Zo(i,Yn),lr(l,2))}),ew=vr(function(i){var l=as(i);return l=typeof l=="function"?l:t,Bc(Zo(i,Yn),t,l)}),tw=vr(qh);function rw(i,l){return Hc(i||[],l||[],po)}function nw(i,l){return Hc(i||[],l||[],Os)}var ow=vr(function(i){var l=i.length,m=l>1?i[l-1]:t;return m=typeof m=="function"?(i.pop(),m):t,_v(i,m)});function xv(i){var l=K(i);return l.__chain__=!0,l}function iw(i,l){return l(i),i}function xd(i,l){return l(i)}var sw=Qa(function(i){var l=i.length,m=l?i[0]:0,M=this.__wrapped__,U=function(Q){return Ac(Q,i)};return l>1||this.__actions__.length||!(M instanceof yr)||!el(m)?this.thru(U):(M=M.slice(m,+m+(l?1:0)),M.__actions__.push({func:xd,args:[U],thisArg:t}),new io(M,this.__chain__).thru(function(Q){return l&&!Q.length&&Q.push(t),Q}))});function aw(){return xv(this)}function lw(){return new io(this.value(),this.__chain__)}function cw(){this.__values__===t&&(this.__values__=Pv(this.value()));var i=this.__index__>=this.__values__.length,l=i?t:this.__values__[this.__index__++];return{done:i,value:l}}function uw(){return this}function fw(i){for(var l,m=this;m instanceof Di;){var M=pv(m);M.__index__=0,M.__values__=t,l?U.__wrapped__=M:l=M;var U=M;m=m.__wrapped__}return U.__wrapped__=i,l}function dw(){var i=this.__wrapped__;if(i instanceof yr){var l=i;return this.__actions__.length&&(l=new yr(this)),l=l.reverse(),l.__actions__.push({func:xd,args:[Hh],thisArg:t}),new io(l,this.__chain__)}return this.thru(Hh)}function hw(){return so(this.__wrapped__,this.__actions__)}var pw=Gl(function(i,l,m){Gr.call(i,m)?++i[m]:Do(i,m,1)});function gw(i,l,m){var M=xr(i)?Ia:Cu;return m&&ti(i,l,m)&&(l=t),M(i,lr(l,3))}function mw(i,l){var m=xr(i)?Zo:wu;return m(i,lr(l,3))}var vw=he(gv),yw=he(mv);function bw(i,l){return Zn(Sd(i,l),1)}function _w(i,l){return Zn(Sd(i,l),de)}function xw(i,l,m){return m=m===t?1:Tr(m),Zn(Sd(i,l),m)}function Sv(i,l){var m=xr(i)?Vn:es;return m(i,lr(l,3))}function Cv(i,l){var m=xr(i)?pl:Rc;return m(i,lr(l,3))}var Sw=Gl(function(i,l,m){Gr.call(i,m)?i[m].push(l):Do(i,m,[l])});function Cw(i,l,m,M){i=vi(i)?i:Nu(i),m=m&&!M?Tr(m):0;var U=i.length;return m<0&&(m=un(U+m,0)),Td(i)?m<=U&&i.indexOf(l,m)>-1:!!U&&Ai(i,l,m)>-1}var ww=vr(function(i,l,m){var M=-1,U=typeof l=="function",Q=vi(i)?ze(i.length):[];return es(i,function(ge){Q[++M]=U?ln(l,ge,m):di(ge,l,m)}),Q}),Aw=Gl(function(i,l,m){Do(i,m,l)});function Sd(i,l){var m=xr(i)?Qr:Jo;return m(i,lr(l,3))}function Ew(i,l,m,M){return i==null?[]:(xr(l)||(l=l==null?[]:[l]),m=M?t:m,xr(m)||(m=m==null?[]:[m]),Bl(i,l,m))}var Tw=Gl(function(i,l,m){i[m?0:1].push(l)},function(){return[[],[]]});function kw(i,l,m){var M=xr(i)?La:Z,U=arguments.length<3;return M(i,lr(l,4),m,U,es)}function Rw(i,l,m){var M=xr(i)?gl:Z,U=arguments.length<3;return M(i,lr(l,4),m,U,Rc)}function Iw(i,l){var m=xr(i)?Zo:wu;return m(i,Ad(lr(l,3)))}function Lw(i){var l=xr(i)?_o:Za;return l(i)}function Ow(i,l,m){(m?ti(i,l,m):l===t)?l=1:l=Tr(l);var M=xr(i)?Mo:Pc;return M(i,l)}function Mw(i){var l=xr(i)?fi:jc;return l(i)}function Dw(i){if(i==null)return 0;if(vi(i))return Td(i)?ea(i):i.length;var l=$o(i);return l==Ne||l==yt?i.size:ji(i).length}function Pw(i,l,m){var M=xr(i)?Ui:Ef;return m&&ti(i,l,m)&&(l=t),M(i,lr(l,3))}var Nw=vr(function(i,l){if(i==null)return[];var m=l.length;return m>1&&ti(i,l[0],l[1])?l=[]:m>2&&ti(l[0],l[1],l[2])&&(l=[l[0]]),Bl(i,Zn(l,1),[])}),Cd=Na||function(){return dr.Date.now()};function jw(i,l){if(typeof l!="function")throw new zo(u);return i=Tr(i),function(){if(--i<1)return l.apply(this,arguments)}}function wv(i,l,m){return l=m?t:l,l=i&&l==null?i.length:l,Ja(i,q,t,t,t,t,l)}function Av(i,l){var m;if(typeof l!="function")throw new zo(u);return i=Tr(i),function(){return--i>0&&(m=l.apply(this,arguments)),i<=1&&(l=t),m}}var zh=vr(function(i,l,m){var M=w;if(m.length){var U=Ei(m,Du(zh));M|=P}return Ja(i,M,l,m,U)}),Ev=vr(function(i,l,m){var M=w|S;if(m.length){var U=Ei(m,Du(Ev));M|=P}return Ja(l,M,i,m,U)});function Tv(i,l,m){l=m?t:l;var M=Ja(i,R,t,t,t,t,t,l);return M.placeholder=Tv.placeholder,M}function kv(i,l,m){l=m?t:l;var M=Ja(i,I,t,t,t,t,t,l);return M.placeholder=kv.placeholder,M}function Rv(i,l,m){var M,U,Q,ge,be,ke,ct=0,ft=!1,vt=!1,jt=!0;if(typeof i!="function")throw new zo(u);l=ls(l)||0,Nn(m)&&(ft=!!m.leading,vt="maxWait"in m,Q=vt?un(ls(m.maxWait)||0,l):Q,jt="trailing"in m?!!m.trailing:jt);function Xt(Xn){var Ds=M,nl=U;return M=U=t,ct=Xn,ge=i.apply(nl,Ds),ge}function cr(Xn){return ct=Xn,be=Lf(qr,l),ft?Xt(Xn):ge}function Ir(Xn){var Ds=Xn-ke,nl=Xn-ct,Zv=l-Ds;return vt?Pn(Zv,Q-nl):Zv}function ur(Xn){var Ds=Xn-ke,nl=Xn-ct;return ke===t||Ds>=l||Ds<0||vt&&nl>=Q}function qr(){var Xn=Cd();if(ur(Xn))return Wr(Xn);be=Lf(qr,Ir(Xn))}function Wr(Xn){return be=t,jt&&M?Xt(Xn):(M=U=t,ge)}function Hi(){be!==t&&os(be),ct=0,M=ke=U=be=t}function ri(){return be===t?ge:Wr(Cd())}function qi(){var Xn=Cd(),Ds=ur(Xn);if(M=arguments,U=this,ke=Xn,Ds){if(be===t)return cr(ke);if(vt)return os(be),be=Lf(qr,l),Xt(ke)}return be===t&&(be=Lf(qr,l)),ge}return qi.cancel=Hi,qi.flush=ri,qi}var Fw=vr(function(i,l){return kc(i,1,l)}),Bw=vr(function(i,l,m){return kc(i,ls(l)||0,m)});function Hw(i){return Ja(i,G)}function wd(i,l){if(typeof i!="function"||l!=null&&typeof l!="function")throw new zo(u);var m=function(){var M=arguments,U=l?l.apply(this,M):M[0],Q=m.cache;if(Q.has(U))return Q.get(U);var ge=i.apply(this,M);return m.cache=Q.set(U,ge)||Q,ge};return m.cache=new(wd.Cache||Pi),m}wd.Cache=Pi;function Ad(i){if(typeof i!="function")throw new zo(u);return function(){var l=arguments;switch(l.length){case 0:return!i.call(this);case 1:return!i.call(this,l[0]);case 2:return!i.call(this,l[0],l[1]);case 3:return!i.call(this,l[0],l[1],l[2])}return!i.apply(this,l)}}function qw(i){return Av(2,i)}var zw=Tf(function(i,l){l=l.length==1&&xr(l[0])?Qr(l[0],zt(lr())):Qr(Zn(l,1),zt(lr()));var m=l.length;return vr(function(M){for(var U=-1,Q=Pn(M.length,m);++U<Q;)M[U]=l[U].call(this,M[U]);return ln(i,this,M)})}),$h=vr(function(i,l){var m=Ei(l,Du($h));return Ja(i,P,t,l,m)}),Iv=vr(function(i,l){var m=Ei(l,Du(Iv));return Ja(i,j,t,l,m)}),$w=Qa(function(i,l){return Ja(i,$,t,t,t,l)});function Uw(i,l){if(typeof i!="function")throw new zo(u);return l=l===t?l:Tr(l),vr(i,l)}function Ww(i,l){if(typeof i!="function")throw new zo(u);return l=l==null?0:un(Tr(l),0),vr(function(m){var M=m[l],U=pi(m,0,l);return M&&ko(U,M),ln(i,this,U)})}function Vw(i,l,m){var M=!0,U=!0;if(typeof i!="function")throw new zo(u);return Nn(m)&&(M="leading"in m?!!m.leading:M,U="trailing"in m?!!m.trailing:U),Rv(i,l,{leading:M,maxWait:l,trailing:U})}function Gw(i){return wv(i,1)}function Zw(i,l){return $h(ns(l),i)}function Kw(){if(!arguments.length)return[];var i=arguments[0];return xr(i)?i:[i]}function Yw(i){return go(i,y)}function Xw(i,l){return l=typeof l=="function"?l:t,go(i,y,l)}function Jw(i){return go(i,_|y)}function Qw(i,l){return l=typeof l=="function"?l:t,go(i,_|y,l)}function eA(i,l){return l==null||Tc(i,l,xo(l))}function Ms(i,l){return i===l||i!==i&&l!==l}var tA=gi(ks),rA=gi(function(i,l){return i>=l}),Gc=Nl(function(){return arguments}())?Nl:function(i){return Hn(i)&&Gr.call(i,"callee")&&!Cl.call(i,"callee")},xr=ze.isArray,nA=rn?zt(rn):Rs;function vi(i){return i!=null&&Ed(i.length)&&!tl(i)}function Yn(i){return Hn(i)&&vi(i)}function oA(i){return i===!0||i===!1||Hn(i)&&Bn(i)==Ue}var Zl=Al||ep,iA=fo?zt(fo):Eu;function sA(i){return Hn(i)&&i.nodeType===1&&!Of(i)}function aA(i){if(i==null)return!0;if(vi(i)&&(xr(i)||typeof i=="string"||typeof i.splice=="function"||Zl(i)||Pu(i)||Gc(i)))return!i.length;var l=$o(i);if(l==Ne||l==yt)return!i.size;if(If(i))return!ji(i).length;for(var m in i)if(Gr.call(i,m))return!1;return!0}function lA(i,l){return Ua(i,l)}function cA(i,l,m){m=typeof m=="function"?m:t;var M=m?m(i,l):t;return M===t?Ua(i,l,t,m):!!M}function Uh(i){if(!Hn(i))return!1;var l=Bn(i);return l==_e||l==Se||typeof i.message=="string"&&typeof i.name=="string"&&!Of(i)}function uA(i){return typeof i=="number"&&sa(i)}function tl(i){if(!Nn(i))return!1;var l=Bn(i);return l==Ce||l==Te||l==Oe||l==De}function Lv(i){return typeof i=="number"&&i==Tr(i)}function Ed(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=fe}function Nn(i){var l=typeof i;return i!=null&&(l=="object"||l=="function")}function Hn(i){return i!=null&&typeof i=="object"}var Ov=bo?zt(bo):ga;function fA(i,l){return i===l||Lc(i,l,Dh(l))}function dA(i,l,m){return m=typeof m=="function"?m:t,Lc(i,l,Dh(l),m)}function hA(i){return Mv(i)&&i!=+i}function pA(i){if(XS(i))throw new ir(a);return Tu(i)}function gA(i){return i===null}function mA(i){return i==null}function Mv(i){return typeof i=="number"||Hn(i)&&Bn(i)==ot}function Of(i){if(!Hn(i)||Bn(i)!=tt)return!1;var l=_s(i);if(l===null)return!0;var m=Gr.call(l,"constructor")&&l.constructor;return typeof m=="function"&&m instanceof m&&Vi.call(m)==pc}var Wh=Wn?zt(Wn):Is;function vA(i){return Lv(i)&&i>=-9007199254740991&&i<=fe}var Dv=Ci?zt(Ci):jl;function Td(i){return typeof i=="string"||!xr(i)&&Hn(i)&&Bn(i)==_t}function Bi(i){return typeof i=="symbol"||Hn(i)&&Bn(i)==bt}var Pu=Go?zt(Go):Ni;function yA(i){return i===t}function bA(i){return Hn(i)&&$o(i)==qe}function _A(i){return Hn(i)&&Bn(i)==Qe}var xA=gi(Xo),SA=gi(function(i,l){return i<=l});function Pv(i){if(!i)return[];if(vi(i))return Td(i)?gn(i):ao(i);if(Ko&&i[Ko])return fc(i[Ko]());var l=$o(i),m=l==Ne?dc:l==yt?Ma:Nu;return m(i)}function rl(i){if(!i)return i===0?i:0;if(i=ls(i),i===de||i===-1/0){var l=i<0?-1:1;return l*ve}return i===i?i:0}function Tr(i){var l=rl(i),m=l%1;return l===l?m?l-m:l:0}function Nv(i){return i?Es(Tr(i),0,ce):0}function ls(i){if(typeof i=="number")return i;if(Bi(i))return te;if(Nn(i)){var l=typeof i.valueOf=="function"?i.valueOf():i;i=Nn(l)?l+"":l}if(typeof i!="string")return i===0?i:+i;i=Ct(i);var m=or.test(i);return m||rr.test(i)?Ut(i.slice(2),m?2:8):wt.test(i)?te:+i}function jv(i){return ei(i,yi(i))}function CA(i){return i?Es(Tr(i),-9007199254740991,fe):i===0?i:0}function on(i){return i==null?"":jo(i)}var wA=p(function(i,l){if(If(l)||vi(l)){ei(l,xo(l),i);return}for(var m in l)Gr.call(l,m)&&po(i,m,l[m])}),Fv=p(function(i,l){ei(l,yi(l),i)}),kd=p(function(i,l,m,M){ei(l,yi(l),i,M)}),AA=p(function(i,l,m,M){ei(l,xo(l),i,M)}),EA=Qa(Ac);function TA(i,l){var m=Mi(i);return l==null?m:Su(m,l)}var kA=vr(function(i,l){i=Kr(i);var m=-1,M=l.length,U=M>2?l[2]:t;for(U&&ti(l[0],l[1],U)&&(M=1);++m<M;)for(var Q=l[m],ge=yi(Q),be=-1,ke=ge.length;++be<ke;){var ct=ge[be],ft=i[ct];(ft===t||Ms(ft,Wi[ct])&&!Gr.call(i,ct))&&(i[ct]=Q[ct])}return i}),RA=vr(function(i){return i.push(t,tv),ln(Bv,t,i)});function IA(i,l){return vs(i,lr(l,3),Po)}function LA(i,l){return vs(i,lr(l,3),Ol)}function OA(i,l){return i==null?i:Ic(i,lr(l,3),yi)}function MA(i,l){return i==null?i:Au(i,lr(l,3),yi)}function DA(i,l){return i&&Po(i,lr(l,3))}function PA(i,l){return i&&Ol(i,lr(l,3))}function NA(i){return i==null?[]:fa(i,xo(i))}function jA(i){return i==null?[]:fa(i,yi(i))}function Vh(i,l,m){var M=i==null?t:ts(i,l);return M===t?m:M}function FA(i,l){return i!=null&&ov(i,l,Ml)}function Gh(i,l){return i!=null&&ov(i,l,da)}var BA=pt(function(i,l,m){l!=null&&typeof l.toString!="function"&&(l=ki.call(l)),i[l]=m},Kh(bi)),HA=pt(function(i,l,m){l!=null&&typeof l.toString!="function"&&(l=ki.call(l)),Gr.call(i,l)?i[l].push(m):i[l]=[m]},lr),qA=vr(di);function xo(i){return vi(i)?za(i):ji(i)}function yi(i){return vi(i)?za(i,!0):Wa(i)}function zA(i,l){var m={};return l=lr(l,3),Po(i,function(M,U,Q){Do(m,l(M,U,Q),M)}),m}function $A(i,l){var m={};return l=lr(l,3),Po(i,function(M,U,Q){Do(m,U,l(M,U,Q))}),m}var UA=p(function(i,l,m){rs(i,l,m)}),Bv=p(function(i,l,m,M){rs(i,l,m,M)}),WA=Qa(function(i,l){var m={};if(i==null)return m;var M=!1;l=Qr(l,function(Q){return Q=Fi(Q,i),M||(M=Q.length>1),Q}),ei(i,Oh(i),m),M&&(m=go(m,_|v|y,BS));for(var U=l.length;U--;)Fc(m,l[U]);return m});function VA(i,l){return Hv(i,Ad(lr(l)))}var GA=Qa(function(i,l){return i==null?{}:Ga(i,l)});function Hv(i,l){if(i==null)return{};var m=Qr(Oh(i),function(M){return[M]});return l=lr(l),va(i,m,function(M,U){return l(M,U[0])})}function ZA(i,l,m){l=Fi(l,i);var M=-1,U=l.length;for(U||(U=1,i=t);++M<U;){var Q=i==null?t:i[ba(l[M])];Q===t&&(M=U,Q=m),i=tl(Q)?Q.call(i):Q}return i}function KA(i,l,m){return i==null?i:Os(i,l,m)}function YA(i,l,m,M){return M=typeof M=="function"?M:t,i==null?i:Os(i,l,m,M)}var qv=vd(xo),zv=vd(yi);function XA(i,l,m){var M=xr(i),U=M||Zl(i)||Pu(i);if(l=lr(l,4),m==null){var Q=i&&i.constructor;U?m=M?new Q:[]:Nn(i)?m=tl(Q)?Mi(_s(i)):{}:m={}}return(U?Vn:Po)(i,function(ge,be,ke){return l(m,ge,be,ke)}),m}function JA(i,l){return i==null?!0:Fc(i,l)}function QA(i,l,m){return i==null?i:Ka(i,l,ns(m))}function e3(i,l,m,M){return M=typeof M=="function"?M:t,i==null?i:Ka(i,l,ns(m),M)}function Nu(i){return i==null?[]:hr(i,xo(i))}function t3(i){return i==null?[]:hr(i,yi(i))}function r3(i,l,m){return m===t&&(m=l,l=t),m!==t&&(m=ls(m),m=m===m?m:0),l!==t&&(l=ls(l),l=l===l?l:0),Es(ls(i),l,m)}function n3(i,l,m){return l=rl(l),m===t?(m=l,l=0):m=rl(m),i=ls(i),Dl(i,l,m)}function o3(i,l,m){if(m&&typeof m!="boolean"&&ti(i,l,m)&&(l=m=t),m===t&&(typeof l=="boolean"?(m=l,l=t):typeof i=="boolean"&&(m=i,i=t)),i===t&&l===t?(i=0,l=1):(i=rl(i),l===t?(l=i,i=0):l=rl(l)),i>l){var M=i;i=l,l=M}if(m||i%1||l%1){var U=Ki();return Pn(i+U*(l-i+Yt("1e-"+((U+"").length-1))),l)}return Ls(i,l)}var i3=N(function(i,l,m){return l=l.toLowerCase(),i+(m?$v(l):l)});function $v(i){return Zh(on(i).toLowerCase())}function Uv(i){return i=on(i),i&&i.replace(Kt,Io).replace(si,"")}function s3(i,l,m){i=on(i),l=jo(l);var M=i.length;m=m===t?M:Es(Tr(m),0,M);var U=m;return m-=l.length,m>=0&&i.slice(m,U)==l}function a3(i){return i=on(i),i&&qt.test(i)?i.replace(Mt,Js):i}function l3(i){return i=on(i),i&&ut.test(i)?i.replace(Fe,"\\$&"):i}var c3=N(function(i,l,m){return i+(m?"-":"")+l.toLowerCase()}),u3=N(function(i,l,m){return i+(m?" ":"")+l.toLowerCase()}),f3=A("toLowerCase");function d3(i,l,m){i=on(i),l=Tr(l);var M=l?ea(i):0;if(!l||M>=l)return i;var U=(l-M)/2;return Dr(xs(U),m)+i+Dr(oa(U),m)}function h3(i,l,m){i=on(i),l=Tr(l);var M=l?ea(i):0;return l&&M<l?i+Dr(l-M,m):i}function p3(i,l,m){i=on(i),l=Tr(l);var M=l?ea(i):0;return l&&M<l?Dr(l-M,m)+i:i}function g3(i,l,m){return m||l==null?l=0:l&&(l=+l),vc(on(i).replace(nt,""),l||0)}function m3(i,l,m){return(m?ti(i,l,m):l===t)?l=1:l=Tr(l),Hl(on(i),l)}function v3(){var i=arguments,l=on(i[0]);return i.length<3?l:l.replace(i[1],i[2])}var y3=N(function(i,l,m){return i+(m?"_":"")+l.toLowerCase()});function b3(i,l,m){return m&&typeof m!="number"&&ti(i,l,m)&&(l=m=t),m=m===t?ce:m>>>0,m?(i=on(i),i&&(typeof l=="string"||l!=null&&!Wh(l))&&(l=jo(l),!l&&Qs(i))?pi(gn(i),0,m):i.split(l,m)):[]}var _3=N(function(i,l,m){return i+(m?" ":"")+Zh(l)});function x3(i,l,m){return i=on(i),m=m==null?0:Es(Tr(m),0,i.length),l=jo(l),i.slice(m,m+l.length)==l}function S3(i,l,m){var M=K.templateSettings;m&&ti(i,l,m)&&(l=t),i=on(i),l=kd({},l,M,ev);var U=kd({},l.imports,M.imports,ev),Q=xo(U),ge=hr(U,Q),be,ke,ct=0,ft=l.interpolate||jr,vt="__p += '",jt=ta((l.escape||jr).source+"|"+ft.source+"|"+(ft===_r?Tt:jr).source+"|"+(l.evaluate||jr).source+"|$","g"),Xt="//# sourceURL="+(Gr.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Pr+"]")+`
|
35
|
+
`)}function ZS(i){return xr(i)||Gc(i)||!!(wl&&i&&i[wl])}function el(i,l){var m=typeof i;return l=l??fe,!!l&&(m=="number"||m!="symbol"&&gr.test(i))&&i>-1&&i%1==0&&i<l}function ti(i,l,m){if(!Nn(m))return!1;var M=typeof l;return(M=="number"?vi(m)&&el(l,m.length):M=="string"&&l in m)?Ms(m[l],i):!1}function Nh(i,l){if(xr(i))return!1;var m=typeof i;return m=="number"||m=="symbol"||m=="boolean"||i==null||Bi(i)?!0:lt.test(i)||!fr.test(i)||l!=null&&i in Kr(l)}function KS(i){var l=typeof i;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?i!=="__proto__":i===null}function jh(i){var l=yd(i),m=K[l];if(typeof m!="function"||!(l in yr.prototype))return!1;if(i===m)return!0;var M=Mh(m);return!!M&&i===M[0]}function YS(i){return!!cn&&cn in i}var XS=nn?tl:ep;function If(i){var l=i&&i.constructor,m=typeof l=="function"&&l.prototype||Vi;return i===m}function sv(i){return i===i&&!Nn(i)}function av(i,l){return function(m){return m==null?!1:m[i]===l&&(l!==t||i in Kr(m))}}function JS(i){var l=wd(i,function(M){return m.size===h&&m.clear(),M}),m=l.cache;return l}function QS(i,l){var m=i[1],M=l[1],U=m|M,Q=U<(w|S|q),ge=M==q&&m==R||M==q&&m==$&&i[7].length<=l[8]||M==(q|$)&&l[7].length<=l[8]&&m==R;if(!(Q||ge))return i;M&w&&(i[2]=l[2],U|=m&w?0:E);var be=l[3];if(be){var ke=i[3];i[3]=ke?Ou(ke,be,l[4]):be,i[4]=ke?Ei(i[3],x):l[4]}return be=l[5],be&&(ke=i[5],i[5]=ke?Uc(ke,be,l[6]):be,i[6]=ke?Ei(i[5],x):l[6]),be=l[7],be&&(i[7]=be),M&q&&(i[8]=i[8]==null?l[8]:Pn(i[8],l[8])),i[9]==null&&(i[9]=l[9]),i[0]=l[0],i[1]=U,i}function eC(i){var l=[];if(i!=null)for(var m in Kr(i))l.push(m);return l}function tC(i){return ki.call(i)}function lv(i,l,m){return l=un(l===t?i.length-1:l,0),function(){for(var M=arguments,U=-1,Q=un(M.length-l,0),ge=ze(Q);++U<Q;)ge[U]=M[l+U];U=-1;for(var be=ze(l+1);++U<l;)be[U]=M[U];return be[l]=m(ge),ln(i,this,be)}}function cv(i,l){return l.length<2?i:rs(i,No(l,0,-1))}function rC(i,l){for(var m=i.length,M=Pn(l.length,m),U=ao(i);M--;){var Q=l[M];i[M]=el(Q,m)?U[Q]:t}return i}function Fh(i,l){if(!(l==="constructor"&&typeof i[l]=="function")&&l!="__proto__")return i[l]}var uv=dv(Nc),Lf=mu||function(i,l){return dr.setTimeout(i,l)},Bh=dv(Ru);function fv(i,l,m){var M=l+"";return Bh(i,GS(M,nC(US(M),m)))}function dv(i){var l=0,m=0;return function(){var M=Ki(),U=V-(M-m);if(m=M,U>0){if(++l>=W)return arguments[0]}else l=0;return i.apply(t,arguments)}}function _d(i,l){var m=-1,M=i.length,U=M-1;for(l=l===t?M:l;++m<l;){var Q=Ls(m,U),ge=i[Q];i[Q]=i[m],i[m]=ge}return i.length=l,i}var hv=JS(function(i){var l=[];return i.charCodeAt(0)===46&&l.push(""),i.replace(it,function(m,M,U,Q){l.push(U?Q.replace(xt,"$1"):M||m)}),l});function ba(i){if(typeof i=="string"||Bi(i))return i;var l=i+"";return l=="0"&&1/i==-1/0?"-0":l}function Vc(i){if(i!=null){try{return Gi.call(i)}catch{}try{return i+""}catch{}}return""}function nC(i,l){return Vn(Ie,function(m){var M="_."+m[0];l&m[1]&&!wi(i,M)&&i.push(M)}),i.sort()}function pv(i){if(i instanceof yr)return i.clone();var l=new io(i.__wrapped__,i.__chain__);return l.__actions__=ao(i.__actions__),l.__index__=i.__index__,l.__values__=i.__values__,l}function oC(i,l,m){(m?ti(i,l,m):l===t)?l=1:l=un(Tr(l),0);var M=i==null?0:i.length;if(!M||l<1)return[];for(var U=0,Q=0,ge=ze(oa(M/l));U<M;)ge[Q++]=No(i,U,U+=l);return ge}function iC(i){for(var l=-1,m=i==null?0:i.length,M=0,U=[];++l<m;){var Q=i[l];Q&&(U[M++]=Q)}return U}function sC(){var i=arguments.length;if(!i)return[];for(var l=ze(i-1),m=arguments[0],M=i;M--;)l[M-1]=arguments[M];return ko(xr(m)?ao(m):[m],Zn(l,1))}var aC=vr(function(i,l){return Yn(i)?Ts(i,Zn(l,1,Yn,!0)):[]}),lC=vr(function(i,l){var m=ls(l);return Yn(m)&&(m=t),Yn(i)?Ts(i,Zn(l,1,Yn,!0),lr(m,2)):[]}),cC=vr(function(i,l){var m=ls(l);return Yn(m)&&(m=t),Yn(i)?Ts(i,Zn(l,1,Yn,!0),t,m):[]});function uC(i,l,m){var M=i==null?0:i.length;return M?(l=m||l===t?1:Tr(l),No(i,l<0?0:l,M)):[]}function fC(i,l,m){var M=i==null?0:i.length;return M?(l=m||l===t?1:Tr(l),l=M-l,No(i,0,l<0?0:l)):[]}function dC(i,l){return i&&i.length?Ul(i,lr(l,3),!0,!0):[]}function hC(i,l){return i&&i.length?Ul(i,lr(l,3),!0):[]}function pC(i,l,m,M){var U=i==null?0:i.length;return U?(m&&typeof m!="number"&&ti(i,l,m)&&(m=0,M=U),Af(i,l,m,M)):[]}function gv(i,l,m){var M=i==null?0:i.length;if(!M)return-1;var U=m==null?0:Tr(m);return U<0&&(U=un(M+U,0)),ys(i,lr(l,3),U)}function mv(i,l,m){var M=i==null?0:i.length;if(!M)return-1;var U=M-1;return m!==t&&(U=Tr(m),U=m<0?un(M+U,0):Pn(U,M-1)),ys(i,lr(l,3),U,!0)}function vv(i){var l=i==null?0:i.length;return l?Zn(i,1):[]}function gC(i){var l=i==null?0:i.length;return l?Zn(i,de):[]}function mC(i,l){var m=i==null?0:i.length;return m?(l=l===t?1:Tr(l),Zn(i,l)):[]}function vC(i){for(var l=-1,m=i==null?0:i.length,M={};++l<m;){var U=i[l];M[U[0]]=U[1]}return M}function yv(i){return i&&i.length?i[0]:t}function yC(i,l,m){var M=i==null?0:i.length;if(!M)return-1;var U=m==null?0:Tr(m);return U<0&&(U=un(M+U,0)),Ai(i,l,U)}function bC(i){var l=i==null?0:i.length;return l?No(i,0,-1):[]}var _C=vr(function(i){var l=Qr(i,Wl);return l.length&&l[0]===i[0]?ha(l):[]}),xC=vr(function(i){var l=ls(i),m=Qr(i,Wl);return l===ls(m)?l=t:m.pop(),m.length&&m[0]===i[0]?ha(m,lr(l,2)):[]}),SC=vr(function(i){var l=ls(i),m=Qr(i,Wl);return l=typeof l=="function"?l:t,l&&m.pop(),m.length&&m[0]===i[0]?ha(m,t,l):[]});function CC(i,l){return i==null?"":ja.call(i,l)}function ls(i){var l=i==null?0:i.length;return l?i[l-1]:t}function wC(i,l,m){var M=i==null?0:i.length;if(!M)return-1;var U=M;return m!==t&&(U=Tr(m),U=U<0?un(M+U,0):Pn(U,M-1)),l===l?pf(i,l,U):ys(i,Xs,U,!0)}function AC(i,l){return i&&i.length?ma(i,Tr(l)):t}var EC=vr(bv);function bv(i,l){return i&&i.length&&l&&l.length?Oc(i,l):i}function TC(i,l,m){return i&&i.length&&l&&l.length?Oc(i,l,lr(m,2)):i}function kC(i,l,m){return i&&i.length&&l&&l.length?Oc(i,l,t,m):i}var RC=Qa(function(i,l){var m=i==null?0:i.length,M=Ac(i,l);return Mc(i,Qr(l,function(U){return el(U,m)?+U:U}).sort(Xa)),M});function IC(i,l){var m=[];if(!(i&&i.length))return m;var M=-1,U=[],Q=i.length;for(l=lr(l,3);++M<Q;){var ge=i[M];l(ge,M,i)&&(m.push(ge),U.push(M))}return Mc(i,U),m}function Hh(i){return i==null?i:El.call(i)}function LC(i,l,m){var M=i==null?0:i.length;return M?(m&&typeof m!="number"&&ti(i,l,m)?(l=0,m=M):(l=l==null?0:Tr(l),m=m===t?M:Tr(m)),No(i,l,m)):[]}function OC(i,l){return ql(i,l)}function MC(i,l,m){return zl(i,l,lr(m,2))}function DC(i,l){var m=i==null?0:i.length;if(m){var M=ql(i,l);if(M<m&&Ms(i[M],l))return M}return-1}function PC(i,l){return ql(i,l,!0)}function NC(i,l,m){return zl(i,l,lr(m,2),!0)}function jC(i,l){var m=i==null?0:i.length;if(m){var M=ql(i,l,!0)-1;if(Ms(i[M],l))return M}return-1}function FC(i){return i&&i.length?Iu(i):[]}function BC(i,l){return i&&i.length?Iu(i,lr(l,2)):[]}function HC(i){var l=i==null?0:i.length;return l?No(i,1,l):[]}function qC(i,l,m){return i&&i.length?(l=m||l===t?1:Tr(l),No(i,0,l<0?0:l)):[]}function zC(i,l,m){var M=i==null?0:i.length;return M?(l=m||l===t?1:Tr(l),l=M-l,No(i,l<0?0:l,M)):[]}function $C(i,l){return i&&i.length?Ul(i,lr(l,3),!1,!0):[]}function UC(i,l){return i&&i.length?Ul(i,lr(l,3)):[]}var WC=vr(function(i){return Ln(Zn(i,1,Yn,!0))}),VC=vr(function(i){var l=ls(i);return Yn(l)&&(l=t),Ln(Zn(i,1,Yn,!0),lr(l,2))}),GC=vr(function(i){var l=ls(i);return l=typeof l=="function"?l:t,Ln(Zn(i,1,Yn,!0),t,l)});function ZC(i){return i&&i.length?Ln(i):[]}function KC(i,l){return i&&i.length?Ln(i,lr(l,2)):[]}function YC(i,l){return l=typeof l=="function"?l:t,i&&i.length?Ln(i,t,l):[]}function qh(i){if(!(i&&i.length))return[];var l=0;return i=Zo(i,function(m){if(Yn(m))return l=un(m.length,l),!0}),Me(l,function(m){return Qr(i,O(m))})}function _v(i,l){if(!(i&&i.length))return[];var m=qh(i);return l==null?m:Qr(m,function(M){return ln(l,t,M)})}var XC=vr(function(i,l){return Yn(i)?Ts(i,l):[]}),JC=vr(function(i){return Bc(Zo(i,Yn))}),QC=vr(function(i){var l=ls(i);return Yn(l)&&(l=t),Bc(Zo(i,Yn),lr(l,2))}),ew=vr(function(i){var l=ls(i);return l=typeof l=="function"?l:t,Bc(Zo(i,Yn),t,l)}),tw=vr(qh);function rw(i,l){return Hc(i||[],l||[],po)}function nw(i,l){return Hc(i||[],l||[],Os)}var ow=vr(function(i){var l=i.length,m=l>1?i[l-1]:t;return m=typeof m=="function"?(i.pop(),m):t,_v(i,m)});function xv(i){var l=K(i);return l.__chain__=!0,l}function iw(i,l){return l(i),i}function xd(i,l){return l(i)}var sw=Qa(function(i){var l=i.length,m=l?i[0]:0,M=this.__wrapped__,U=function(Q){return Ac(Q,i)};return l>1||this.__actions__.length||!(M instanceof yr)||!el(m)?this.thru(U):(M=M.slice(m,+m+(l?1:0)),M.__actions__.push({func:xd,args:[U],thisArg:t}),new io(M,this.__chain__).thru(function(Q){return l&&!Q.length&&Q.push(t),Q}))});function aw(){return xv(this)}function lw(){return new io(this.value(),this.__chain__)}function cw(){this.__values__===t&&(this.__values__=Pv(this.value()));var i=this.__index__>=this.__values__.length,l=i?t:this.__values__[this.__index__++];return{done:i,value:l}}function uw(){return this}function fw(i){for(var l,m=this;m instanceof Di;){var M=pv(m);M.__index__=0,M.__values__=t,l?U.__wrapped__=M:l=M;var U=M;m=m.__wrapped__}return U.__wrapped__=i,l}function dw(){var i=this.__wrapped__;if(i instanceof yr){var l=i;return this.__actions__.length&&(l=new yr(this)),l=l.reverse(),l.__actions__.push({func:xd,args:[Hh],thisArg:t}),new io(l,this.__chain__)}return this.thru(Hh)}function hw(){return so(this.__wrapped__,this.__actions__)}var pw=Gl(function(i,l,m){Gr.call(i,m)?++i[m]:Do(i,m,1)});function gw(i,l,m){var M=xr(i)?Ia:Cu;return m&&ti(i,l,m)&&(l=t),M(i,lr(l,3))}function mw(i,l){var m=xr(i)?Zo:wu;return m(i,lr(l,3))}var vw=he(gv),yw=he(mv);function bw(i,l){return Zn(Sd(i,l),1)}function _w(i,l){return Zn(Sd(i,l),de)}function xw(i,l,m){return m=m===t?1:Tr(m),Zn(Sd(i,l),m)}function Sv(i,l){var m=xr(i)?Vn:ts;return m(i,lr(l,3))}function Cv(i,l){var m=xr(i)?pl:Rc;return m(i,lr(l,3))}var Sw=Gl(function(i,l,m){Gr.call(i,m)?i[m].push(l):Do(i,m,[l])});function Cw(i,l,m,M){i=vi(i)?i:Nu(i),m=m&&!M?Tr(m):0;var U=i.length;return m<0&&(m=un(U+m,0)),Td(i)?m<=U&&i.indexOf(l,m)>-1:!!U&&Ai(i,l,m)>-1}var ww=vr(function(i,l,m){var M=-1,U=typeof l=="function",Q=vi(i)?ze(i.length):[];return ts(i,function(ge){Q[++M]=U?ln(l,ge,m):di(ge,l,m)}),Q}),Aw=Gl(function(i,l,m){Do(i,m,l)});function Sd(i,l){var m=xr(i)?Qr:Jo;return m(i,lr(l,3))}function Ew(i,l,m,M){return i==null?[]:(xr(l)||(l=l==null?[]:[l]),m=M?t:m,xr(m)||(m=m==null?[]:[m]),Bl(i,l,m))}var Tw=Gl(function(i,l,m){i[m?0:1].push(l)},function(){return[[],[]]});function kw(i,l,m){var M=xr(i)?La:Z,U=arguments.length<3;return M(i,lr(l,4),m,U,ts)}function Rw(i,l,m){var M=xr(i)?gl:Z,U=arguments.length<3;return M(i,lr(l,4),m,U,Rc)}function Iw(i,l){var m=xr(i)?Zo:wu;return m(i,Ad(lr(l,3)))}function Lw(i){var l=xr(i)?_o:Za;return l(i)}function Ow(i,l,m){(m?ti(i,l,m):l===t)?l=1:l=Tr(l);var M=xr(i)?Mo:Pc;return M(i,l)}function Mw(i){var l=xr(i)?fi:jc;return l(i)}function Dw(i){if(i==null)return 0;if(vi(i))return Td(i)?ea(i):i.length;var l=$o(i);return l==Ne||l==yt?i.size:ji(i).length}function Pw(i,l,m){var M=xr(i)?Wi:Ef;return m&&ti(i,l,m)&&(l=t),M(i,lr(l,3))}var Nw=vr(function(i,l){if(i==null)return[];var m=l.length;return m>1&&ti(i,l[0],l[1])?l=[]:m>2&&ti(l[0],l[1],l[2])&&(l=[l[0]]),Bl(i,Zn(l,1),[])}),Cd=Na||function(){return dr.Date.now()};function jw(i,l){if(typeof l!="function")throw new zo(u);return i=Tr(i),function(){if(--i<1)return l.apply(this,arguments)}}function wv(i,l,m){return l=m?t:l,l=i&&l==null?i.length:l,Ja(i,q,t,t,t,t,l)}function Av(i,l){var m;if(typeof l!="function")throw new zo(u);return i=Tr(i),function(){return--i>0&&(m=l.apply(this,arguments)),i<=1&&(l=t),m}}var zh=vr(function(i,l,m){var M=w;if(m.length){var U=Ei(m,Du(zh));M|=P}return Ja(i,M,l,m,U)}),Ev=vr(function(i,l,m){var M=w|S;if(m.length){var U=Ei(m,Du(Ev));M|=P}return Ja(l,M,i,m,U)});function Tv(i,l,m){l=m?t:l;var M=Ja(i,R,t,t,t,t,t,l);return M.placeholder=Tv.placeholder,M}function kv(i,l,m){l=m?t:l;var M=Ja(i,I,t,t,t,t,t,l);return M.placeholder=kv.placeholder,M}function Rv(i,l,m){var M,U,Q,ge,be,ke,ct=0,ft=!1,vt=!1,jt=!0;if(typeof i!="function")throw new zo(u);l=cs(l)||0,Nn(m)&&(ft=!!m.leading,vt="maxWait"in m,Q=vt?un(cs(m.maxWait)||0,l):Q,jt="trailing"in m?!!m.trailing:jt);function Xt(Xn){var Ds=M,nl=U;return M=U=t,ct=Xn,ge=i.apply(nl,Ds),ge}function cr(Xn){return ct=Xn,be=Lf(qr,l),ft?Xt(Xn):ge}function Ir(Xn){var Ds=Xn-ke,nl=Xn-ct,Zv=l-Ds;return vt?Pn(Zv,Q-nl):Zv}function ur(Xn){var Ds=Xn-ke,nl=Xn-ct;return ke===t||Ds>=l||Ds<0||vt&&nl>=Q}function qr(){var Xn=Cd();if(ur(Xn))return Wr(Xn);be=Lf(qr,Ir(Xn))}function Wr(Xn){return be=t,jt&&M?Xt(Xn):(M=U=t,ge)}function Hi(){be!==t&&is(be),ct=0,M=ke=U=be=t}function ri(){return be===t?ge:Wr(Cd())}function qi(){var Xn=Cd(),Ds=ur(Xn);if(M=arguments,U=this,ke=Xn,Ds){if(be===t)return cr(ke);if(vt)return is(be),be=Lf(qr,l),Xt(ke)}return be===t&&(be=Lf(qr,l)),ge}return qi.cancel=Hi,qi.flush=ri,qi}var Fw=vr(function(i,l){return kc(i,1,l)}),Bw=vr(function(i,l,m){return kc(i,cs(l)||0,m)});function Hw(i){return Ja(i,G)}function wd(i,l){if(typeof i!="function"||l!=null&&typeof l!="function")throw new zo(u);var m=function(){var M=arguments,U=l?l.apply(this,M):M[0],Q=m.cache;if(Q.has(U))return Q.get(U);var ge=i.apply(this,M);return m.cache=Q.set(U,ge)||Q,ge};return m.cache=new(wd.Cache||Pi),m}wd.Cache=Pi;function Ad(i){if(typeof i!="function")throw new zo(u);return function(){var l=arguments;switch(l.length){case 0:return!i.call(this);case 1:return!i.call(this,l[0]);case 2:return!i.call(this,l[0],l[1]);case 3:return!i.call(this,l[0],l[1],l[2])}return!i.apply(this,l)}}function qw(i){return Av(2,i)}var zw=Tf(function(i,l){l=l.length==1&&xr(l[0])?Qr(l[0],zt(lr())):Qr(Zn(l,1),zt(lr()));var m=l.length;return vr(function(M){for(var U=-1,Q=Pn(M.length,m);++U<Q;)M[U]=l[U].call(this,M[U]);return ln(i,this,M)})}),$h=vr(function(i,l){var m=Ei(l,Du($h));return Ja(i,P,t,l,m)}),Iv=vr(function(i,l){var m=Ei(l,Du(Iv));return Ja(i,j,t,l,m)}),$w=Qa(function(i,l){return Ja(i,$,t,t,t,l)});function Uw(i,l){if(typeof i!="function")throw new zo(u);return l=l===t?l:Tr(l),vr(i,l)}function Ww(i,l){if(typeof i!="function")throw new zo(u);return l=l==null?0:un(Tr(l),0),vr(function(m){var M=m[l],U=pi(m,0,l);return M&&ko(U,M),ln(i,this,U)})}function Vw(i,l,m){var M=!0,U=!0;if(typeof i!="function")throw new zo(u);return Nn(m)&&(M="leading"in m?!!m.leading:M,U="trailing"in m?!!m.trailing:U),Rv(i,l,{leading:M,maxWait:l,trailing:U})}function Gw(i){return wv(i,1)}function Zw(i,l){return $h(os(l),i)}function Kw(){if(!arguments.length)return[];var i=arguments[0];return xr(i)?i:[i]}function Yw(i){return go(i,y)}function Xw(i,l){return l=typeof l=="function"?l:t,go(i,y,l)}function Jw(i){return go(i,_|y)}function Qw(i,l){return l=typeof l=="function"?l:t,go(i,_|y,l)}function eA(i,l){return l==null||Tc(i,l,xo(l))}function Ms(i,l){return i===l||i!==i&&l!==l}var tA=gi(ks),rA=gi(function(i,l){return i>=l}),Gc=Nl(function(){return arguments}())?Nl:function(i){return Hn(i)&&Gr.call(i,"callee")&&!Cl.call(i,"callee")},xr=ze.isArray,nA=rn?zt(rn):Rs;function vi(i){return i!=null&&Ed(i.length)&&!tl(i)}function Yn(i){return Hn(i)&&vi(i)}function oA(i){return i===!0||i===!1||Hn(i)&&Bn(i)==Ue}var Zl=Al||ep,iA=fo?zt(fo):Eu;function sA(i){return Hn(i)&&i.nodeType===1&&!Of(i)}function aA(i){if(i==null)return!0;if(vi(i)&&(xr(i)||typeof i=="string"||typeof i.splice=="function"||Zl(i)||Pu(i)||Gc(i)))return!i.length;var l=$o(i);if(l==Ne||l==yt)return!i.size;if(If(i))return!ji(i).length;for(var m in i)if(Gr.call(i,m))return!1;return!0}function lA(i,l){return Ua(i,l)}function cA(i,l,m){m=typeof m=="function"?m:t;var M=m?m(i,l):t;return M===t?Ua(i,l,t,m):!!M}function Uh(i){if(!Hn(i))return!1;var l=Bn(i);return l==_e||l==Se||typeof i.message=="string"&&typeof i.name=="string"&&!Of(i)}function uA(i){return typeof i=="number"&&sa(i)}function tl(i){if(!Nn(i))return!1;var l=Bn(i);return l==Ce||l==Te||l==Oe||l==De}function Lv(i){return typeof i=="number"&&i==Tr(i)}function Ed(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=fe}function Nn(i){var l=typeof i;return i!=null&&(l=="object"||l=="function")}function Hn(i){return i!=null&&typeof i=="object"}var Ov=bo?zt(bo):ga;function fA(i,l){return i===l||Lc(i,l,Dh(l))}function dA(i,l,m){return m=typeof m=="function"?m:t,Lc(i,l,Dh(l),m)}function hA(i){return Mv(i)&&i!=+i}function pA(i){if(XS(i))throw new ir(a);return Tu(i)}function gA(i){return i===null}function mA(i){return i==null}function Mv(i){return typeof i=="number"||Hn(i)&&Bn(i)==ot}function Of(i){if(!Hn(i)||Bn(i)!=tt)return!1;var l=_s(i);if(l===null)return!0;var m=Gr.call(l,"constructor")&&l.constructor;return typeof m=="function"&&m instanceof m&&Gi.call(m)==pc}var Wh=Wn?zt(Wn):Is;function vA(i){return Lv(i)&&i>=-9007199254740991&&i<=fe}var Dv=Ci?zt(Ci):jl;function Td(i){return typeof i=="string"||!xr(i)&&Hn(i)&&Bn(i)==bt}function Bi(i){return typeof i=="symbol"||Hn(i)&&Bn(i)==_t}var Pu=Go?zt(Go):Ni;function yA(i){return i===t}function bA(i){return Hn(i)&&$o(i)==qe}function _A(i){return Hn(i)&&Bn(i)==Qe}var xA=gi(Xo),SA=gi(function(i,l){return i<=l});function Pv(i){if(!i)return[];if(vi(i))return Td(i)?gn(i):ao(i);if(Ko&&i[Ko])return fc(i[Ko]());var l=$o(i),m=l==Ne?dc:l==yt?Ma:Nu;return m(i)}function rl(i){if(!i)return i===0?i:0;if(i=cs(i),i===de||i===-1/0){var l=i<0?-1:1;return l*ve}return i===i?i:0}function Tr(i){var l=rl(i),m=l%1;return l===l?m?l-m:l:0}function Nv(i){return i?Es(Tr(i),0,ce):0}function cs(i){if(typeof i=="number")return i;if(Bi(i))return te;if(Nn(i)){var l=typeof i.valueOf=="function"?i.valueOf():i;i=Nn(l)?l+"":l}if(typeof i!="string")return i===0?i:+i;i=Ct(i);var m=or.test(i);return m||rr.test(i)?Ut(i.slice(2),m?2:8):wt.test(i)?te:+i}function jv(i){return ei(i,yi(i))}function CA(i){return i?Es(Tr(i),-9007199254740991,fe):i===0?i:0}function on(i){return i==null?"":jo(i)}var wA=p(function(i,l){if(If(l)||vi(l)){ei(l,xo(l),i);return}for(var m in l)Gr.call(l,m)&&po(i,m,l[m])}),Fv=p(function(i,l){ei(l,yi(l),i)}),kd=p(function(i,l,m,M){ei(l,yi(l),i,M)}),AA=p(function(i,l,m,M){ei(l,xo(l),i,M)}),EA=Qa(Ac);function TA(i,l){var m=Mi(i);return l==null?m:Su(m,l)}var kA=vr(function(i,l){i=Kr(i);var m=-1,M=l.length,U=M>2?l[2]:t;for(U&&ti(l[0],l[1],U)&&(M=1);++m<M;)for(var Q=l[m],ge=yi(Q),be=-1,ke=ge.length;++be<ke;){var ct=ge[be],ft=i[ct];(ft===t||Ms(ft,Vi[ct])&&!Gr.call(i,ct))&&(i[ct]=Q[ct])}return i}),RA=vr(function(i){return i.push(t,tv),ln(Bv,t,i)});function IA(i,l){return vs(i,lr(l,3),Po)}function LA(i,l){return vs(i,lr(l,3),Ol)}function OA(i,l){return i==null?i:Ic(i,lr(l,3),yi)}function MA(i,l){return i==null?i:Au(i,lr(l,3),yi)}function DA(i,l){return i&&Po(i,lr(l,3))}function PA(i,l){return i&&Ol(i,lr(l,3))}function NA(i){return i==null?[]:fa(i,xo(i))}function jA(i){return i==null?[]:fa(i,yi(i))}function Vh(i,l,m){var M=i==null?t:rs(i,l);return M===t?m:M}function FA(i,l){return i!=null&&ov(i,l,Ml)}function Gh(i,l){return i!=null&&ov(i,l,da)}var BA=pt(function(i,l,m){l!=null&&typeof l.toString!="function"&&(l=ki.call(l)),i[l]=m},Kh(bi)),HA=pt(function(i,l,m){l!=null&&typeof l.toString!="function"&&(l=ki.call(l)),Gr.call(i,l)?i[l].push(m):i[l]=[m]},lr),qA=vr(di);function xo(i){return vi(i)?za(i):ji(i)}function yi(i){return vi(i)?za(i,!0):Wa(i)}function zA(i,l){var m={};return l=lr(l,3),Po(i,function(M,U,Q){Do(m,l(M,U,Q),M)}),m}function $A(i,l){var m={};return l=lr(l,3),Po(i,function(M,U,Q){Do(m,U,l(M,U,Q))}),m}var UA=p(function(i,l,m){ns(i,l,m)}),Bv=p(function(i,l,m,M){ns(i,l,m,M)}),WA=Qa(function(i,l){var m={};if(i==null)return m;var M=!1;l=Qr(l,function(Q){return Q=Fi(Q,i),M||(M=Q.length>1),Q}),ei(i,Oh(i),m),M&&(m=go(m,_|v|y,BS));for(var U=l.length;U--;)Fc(m,l[U]);return m});function VA(i,l){return Hv(i,Ad(lr(l)))}var GA=Qa(function(i,l){return i==null?{}:Ga(i,l)});function Hv(i,l){if(i==null)return{};var m=Qr(Oh(i),function(M){return[M]});return l=lr(l),va(i,m,function(M,U){return l(M,U[0])})}function ZA(i,l,m){l=Fi(l,i);var M=-1,U=l.length;for(U||(U=1,i=t);++M<U;){var Q=i==null?t:i[ba(l[M])];Q===t&&(M=U,Q=m),i=tl(Q)?Q.call(i):Q}return i}function KA(i,l,m){return i==null?i:Os(i,l,m)}function YA(i,l,m,M){return M=typeof M=="function"?M:t,i==null?i:Os(i,l,m,M)}var qv=vd(xo),zv=vd(yi);function XA(i,l,m){var M=xr(i),U=M||Zl(i)||Pu(i);if(l=lr(l,4),m==null){var Q=i&&i.constructor;U?m=M?new Q:[]:Nn(i)?m=tl(Q)?Mi(_s(i)):{}:m={}}return(U?Vn:Po)(i,function(ge,be,ke){return l(m,ge,be,ke)}),m}function JA(i,l){return i==null?!0:Fc(i,l)}function QA(i,l,m){return i==null?i:Ka(i,l,os(m))}function e3(i,l,m,M){return M=typeof M=="function"?M:t,i==null?i:Ka(i,l,os(m),M)}function Nu(i){return i==null?[]:hr(i,xo(i))}function t3(i){return i==null?[]:hr(i,yi(i))}function r3(i,l,m){return m===t&&(m=l,l=t),m!==t&&(m=cs(m),m=m===m?m:0),l!==t&&(l=cs(l),l=l===l?l:0),Es(cs(i),l,m)}function n3(i,l,m){return l=rl(l),m===t?(m=l,l=0):m=rl(m),i=cs(i),Dl(i,l,m)}function o3(i,l,m){if(m&&typeof m!="boolean"&&ti(i,l,m)&&(l=m=t),m===t&&(typeof l=="boolean"?(m=l,l=t):typeof i=="boolean"&&(m=i,i=t)),i===t&&l===t?(i=0,l=1):(i=rl(i),l===t?(l=i,i=0):l=rl(l)),i>l){var M=i;i=l,l=M}if(m||i%1||l%1){var U=Yi();return Pn(i+U*(l-i+Yt("1e-"+((U+"").length-1))),l)}return Ls(i,l)}var i3=N(function(i,l,m){return l=l.toLowerCase(),i+(m?$v(l):l)});function $v(i){return Zh(on(i).toLowerCase())}function Uv(i){return i=on(i),i&&i.replace(Kt,Io).replace(si,"")}function s3(i,l,m){i=on(i),l=jo(l);var M=i.length;m=m===t?M:Es(Tr(m),0,M);var U=m;return m-=l.length,m>=0&&i.slice(m,U)==l}function a3(i){return i=on(i),i&&qt.test(i)?i.replace(Mt,Js):i}function l3(i){return i=on(i),i&&ut.test(i)?i.replace(Fe,"\\$&"):i}var c3=N(function(i,l,m){return i+(m?"-":"")+l.toLowerCase()}),u3=N(function(i,l,m){return i+(m?" ":"")+l.toLowerCase()}),f3=A("toLowerCase");function d3(i,l,m){i=on(i),l=Tr(l);var M=l?ea(i):0;if(!l||M>=l)return i;var U=(l-M)/2;return Dr(xs(U),m)+i+Dr(oa(U),m)}function h3(i,l,m){i=on(i),l=Tr(l);var M=l?ea(i):0;return l&&M<l?i+Dr(l-M,m):i}function p3(i,l,m){i=on(i),l=Tr(l);var M=l?ea(i):0;return l&&M<l?Dr(l-M,m)+i:i}function g3(i,l,m){return m||l==null?l=0:l&&(l=+l),vc(on(i).replace(nt,""),l||0)}function m3(i,l,m){return(m?ti(i,l,m):l===t)?l=1:l=Tr(l),Hl(on(i),l)}function v3(){var i=arguments,l=on(i[0]);return i.length<3?l:l.replace(i[1],i[2])}var y3=N(function(i,l,m){return i+(m?"_":"")+l.toLowerCase()});function b3(i,l,m){return m&&typeof m!="number"&&ti(i,l,m)&&(l=m=t),m=m===t?ce:m>>>0,m?(i=on(i),i&&(typeof l=="string"||l!=null&&!Wh(l))&&(l=jo(l),!l&&Qs(i))?pi(gn(i),0,m):i.split(l,m)):[]}var _3=N(function(i,l,m){return i+(m?" ":"")+Zh(l)});function x3(i,l,m){return i=on(i),m=m==null?0:Es(Tr(m),0,i.length),l=jo(l),i.slice(m,m+l.length)==l}function S3(i,l,m){var M=K.templateSettings;m&&ti(i,l,m)&&(l=t),i=on(i),l=kd({},l,M,ev);var U=kd({},l.imports,M.imports,ev),Q=xo(U),ge=hr(U,Q),be,ke,ct=0,ft=l.interpolate||jr,vt="__p += '",jt=ta((l.escape||jr).source+"|"+ft.source+"|"+(ft===_r?Tt:jr).source+"|"+(l.evaluate||jr).source+"|$","g"),Xt="//# sourceURL="+(Gr.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Pr+"]")+`
|
36
36
|
`;i.replace(jt,function(ur,qr,Wr,Hi,ri,qi){return Wr||(Wr=Hi),vt+=i.slice(ct,qi).replace(zr,bl),qr&&(be=!0,vt+=`' +
|
37
37
|
__e(`+qr+`) +
|
38
38
|
'`),ri&&(ke=!0,vt+=`';
|
@@ -49,7 +49,7 @@ __p += '`),Wr&&(vt+=`' +
|
|
49
49
|
function print() { __p += __j.call(arguments, '') }
|
50
50
|
`:`;
|
51
51
|
`)+vt+`return __p
|
52
|
-
}`;var Ir=Vv(function(){return Br(Q,Xt+"return "+vt).apply(t,ge)});if(Ir.source=vt,Uh(Ir))throw Ir;return Ir}function C3(i){return on(i).toLowerCase()}function w3(i){return on(i).toUpperCase()}function A3(i,l,m){if(i=on(i),i&&(m||l===t))return Ct(i);if(!i||!(l=jo(l)))return i;var M=gn(i),U=gn(l),Q=Xr(M,U),ge=oo(M,U)+1;return pi(M,Q,ge).join("")}function E3(i,l,m){if(i=on(i),i&&(m||l===t))return i.slice(0,du(i)+1);if(!i||!(l=jo(l)))return i;var M=gn(i),U=oo(M,gn(l))+1;return pi(M,0,U).join("")}function T3(i,l,m){if(i=on(i),i&&(m||l===t))return i.replace(nt,"");if(!i||!(l=jo(l)))return i;var M=gn(i),U=Xr(M,gn(l));return pi(M,U).join("")}function k3(i,l){var m=re,M=F;if(Nn(l)){var U="separator"in l?l.separator:U;m="length"in l?Tr(l.length):m,M="omission"in l?jo(l.omission):M}i=on(i);var Q=i.length;if(Qs(i)){var ge=gn(i);Q=ge.length}if(m>=Q)return i;var be=m-ea(M);if(be<1)return M;var ke=ge?pi(ge,0,be).join(""):i.slice(0,be);if(U===t)return ke+M;if(ge&&(be+=ke.length-be),Wh(U)){if(i.slice(be).search(U)){var ct,ft=ke;for(U.global||(U=ta(U.source,on(kt.exec(U))+"g")),U.lastIndex=0;ct=U.exec(ft);)var vt=ct.index;ke=ke.slice(0,vt===t?be:vt)}}else if(i.indexOf(jo(U),be)!=be){var jt=ke.lastIndexOf(U);jt>-1&&(ke=ke.slice(0,jt))}return ke+M}function R3(i){return i=on(i),i&&Qt.test(i)?i.replace(Rt,hu):i}var I3=N(function(i,l,m){return i+(m?" ":"")+l.toUpperCase()}),Zh=A("toUpperCase");function Wv(i,l,m){return i=on(i),l=m?t:l,l===t?ff(i)?pu(i):Ys(i):i.match(l)||[]}var Vv=vr(function(i,l){try{return ln(i,t,l)}catch(m){return Uh(m)?m:new ir(m)}}),L3=Qa(function(i,l){return Vn(l,function(m){m=ba(m),Do(i,m,zh(i[m],i))}),i});function O3(i){var l=i==null?0:i.length,m=lr();return i=l?Qr(i,function(M){if(typeof M[1]!="function")throw new zo(u);return[m(M[0]),M[1]]}):[],vr(function(M){for(var U=-1;++U<l;){var Q=i[U];if(ln(Q[0],this,M))return ln(Q[1],this,M)}})}function M3(i){return Ec(go(i,_))}function Kh(i){return function(){return i}}function D3(i,l){return i==null||i!==i?l:i}var P3=Le(),N3=Le(!0);function bi(i){return i}function Yh(i){return Fl(typeof i=="function"?i:go(i,_))}function j3(i){return hi(go(i,_))}function F3(i,l){return Va(i,go(l,_))}var B3=vr(function(i,l){return function(m){return di(m,i,l)}}),H3=vr(function(i,l){return function(m){return di(i,m,l)}});function Xh(i,l,m){var M=xo(l),U=fa(l,M);m==null&&!(Nn(l)&&(U.length||!M.length))&&(m=l,l=i,i=this,U=fa(l,xo(l)));var Q=!(Nn(m)&&"chain"in m)||!!m.chain,ge=tl(i);return Vn(U,function(be){var ke=l[be];i[be]=ke,ge&&(i.prototype[be]=function(){var ct=this.__chain__;if(Q||ct){var ft=i(this.__wrapped__),vt=ft.__actions__=ao(this.__actions__);return vt.push({func:ke,args:arguments,thisArg:i}),ft.__chain__=ct,ft}return ke.apply(i,ko([this.value()],arguments))})}),i}function q3(){return dr._===this&&(dr._=gc),this}function Jh(){}function z3(i){return i=Tr(i),vr(function(l){return ma(l,i)})}var $3=nr(Qr),U3=nr(Ia),W3=nr(Ui);function Gv(i){return Nh(i)?O(ba(i)):ku(i)}function V3(i){return function(l){return i==null?t:ts(i,l)}}var G3=is(),Z3=is(!0);function Qh(){return[]}function ep(){return!1}function K3(){return{}}function Y3(){return""}function X3(){return!0}function J3(i,l){if(i=Tr(i),i<1||i>fe)return[];var m=ce,M=Pn(i,ce);l=lr(l),i-=ce;for(var U=Me(M,l);++m<i;)l(m);return U}function Q3(i){return xr(i)?Qr(i,ba):Bi(i)?[i]:ao(hv(on(i)))}function e4(i){var l=++hc;return on(i)+l}var t4=Lt(function(i,l){return i+l},0),r4=ss("ceil"),n4=Lt(function(i,l){return i/l},1),o4=ss("floor");function i4(i){return i&&i.length?Ll(i,bi,ks):t}function s4(i,l){return i&&i.length?Ll(i,lr(l,2),ks):t}function a4(i){return Oa(i,bi)}function l4(i,l){return Oa(i,lr(l,2))}function c4(i){return i&&i.length?Ll(i,bi,Xo):t}function u4(i,l){return i&&i.length?Ll(i,lr(l,2),Xo):t}var f4=Lt(function(i,l){return i*l},1),d4=ss("round"),h4=Lt(function(i,l){return i-l},0);function p4(i){return i&&i.length?je(i,bi):0}function g4(i,l){return i&&i.length?je(i,lr(l,2)):0}return K.after=jw,K.ary=wv,K.assign=wA,K.assignIn=Fv,K.assignInWith=kd,K.assignWith=AA,K.at=EA,K.before=Av,K.bind=zh,K.bindAll=L3,K.bindKey=Ev,K.castArray=Kw,K.chain=xv,K.chunk=oC,K.compact=iC,K.concat=sC,K.cond=O3,K.conforms=M3,K.constant=Kh,K.countBy=pw,K.create=TA,K.curry=Tv,K.curryRight=kv,K.debounce=Rv,K.defaults=kA,K.defaultsDeep=RA,K.defer=Fw,K.delay=Bw,K.difference=aC,K.differenceBy=lC,K.differenceWith=cC,K.drop=uC,K.dropRight=fC,K.dropRightWhile=dC,K.dropWhile=hC,K.fill=pC,K.filter=mw,K.flatMap=bw,K.flatMapDeep=_w,K.flatMapDepth=xw,K.flatten=vv,K.flattenDeep=gC,K.flattenDepth=mC,K.flip=Hw,K.flow=P3,K.flowRight=N3,K.fromPairs=vC,K.functions=NA,K.functionsIn=jA,K.groupBy=Sw,K.initial=bC,K.intersection=_C,K.intersectionBy=xC,K.intersectionWith=SC,K.invert=BA,K.invertBy=HA,K.invokeMap=ww,K.iteratee=Yh,K.keyBy=Aw,K.keys=xo,K.keysIn=yi,K.map=Sd,K.mapKeys=zA,K.mapValues=$A,K.matches=j3,K.matchesProperty=F3,K.memoize=wd,K.merge=UA,K.mergeWith=Bv,K.method=B3,K.methodOf=H3,K.mixin=Xh,K.negate=Ad,K.nthArg=z3,K.omit=WA,K.omitBy=VA,K.once=qw,K.orderBy=Ew,K.over=$3,K.overArgs=zw,K.overEvery=U3,K.overSome=W3,K.partial=$h,K.partialRight=Iv,K.partition=Tw,K.pick=GA,K.pickBy=Hv,K.property=Gv,K.propertyOf=V3,K.pull=EC,K.pullAll=bv,K.pullAllBy=TC,K.pullAllWith=kC,K.pullAt=RC,K.range=G3,K.rangeRight=Z3,K.rearg=$w,K.reject=Iw,K.remove=IC,K.rest=Uw,K.reverse=Hh,K.sampleSize=Ow,K.set=KA,K.setWith=YA,K.shuffle=Mw,K.slice=LC,K.sortBy=Nw,K.sortedUniq=FC,K.sortedUniqBy=BC,K.split=b3,K.spread=Ww,K.tail=HC,K.take=qC,K.takeRight=zC,K.takeRightWhile=$C,K.takeWhile=UC,K.tap=iw,K.throttle=Vw,K.thru=xd,K.toArray=Pv,K.toPairs=qv,K.toPairsIn=zv,K.toPath=Q3,K.toPlainObject=jv,K.transform=XA,K.unary=Gw,K.union=WC,K.unionBy=VC,K.unionWith=GC,K.uniq=ZC,K.uniqBy=KC,K.uniqWith=YC,K.unset=JA,K.unzip=qh,K.unzipWith=_v,K.update=QA,K.updateWith=e3,K.values=Nu,K.valuesIn=t3,K.without=XC,K.words=Wv,K.wrap=Zw,K.xor=JC,K.xorBy=QC,K.xorWith=ew,K.zip=tw,K.zipObject=rw,K.zipObjectDeep=nw,K.zipWith=ow,K.entries=qv,K.entriesIn=zv,K.extend=Fv,K.extendWith=kd,Xh(K,K),K.add=t4,K.attempt=Vv,K.camelCase=i3,K.capitalize=$v,K.ceil=r4,K.clamp=r3,K.clone=Yw,K.cloneDeep=Jw,K.cloneDeepWith=Qw,K.cloneWith=Xw,K.conformsTo=eA,K.deburr=Uv,K.defaultTo=D3,K.divide=n4,K.endsWith=s3,K.eq=Ms,K.escape=a3,K.escapeRegExp=l3,K.every=gw,K.find=vw,K.findIndex=gv,K.findKey=IA,K.findLast=yw,K.findLastIndex=mv,K.findLastKey=LA,K.floor=o4,K.forEach=Sv,K.forEachRight=Cv,K.forIn=OA,K.forInRight=MA,K.forOwn=DA,K.forOwnRight=PA,K.get=Vh,K.gt=tA,K.gte=rA,K.has=FA,K.hasIn=Gh,K.head=yv,K.identity=bi,K.includes=Cw,K.indexOf=yC,K.inRange=n3,K.invoke=qA,K.isArguments=Gc,K.isArray=xr,K.isArrayBuffer=nA,K.isArrayLike=vi,K.isArrayLikeObject=Yn,K.isBoolean=oA,K.isBuffer=Zl,K.isDate=iA,K.isElement=sA,K.isEmpty=aA,K.isEqual=lA,K.isEqualWith=cA,K.isError=Uh,K.isFinite=uA,K.isFunction=tl,K.isInteger=Lv,K.isLength=Ed,K.isMap=Ov,K.isMatch=fA,K.isMatchWith=dA,K.isNaN=hA,K.isNative=pA,K.isNil=mA,K.isNull=gA,K.isNumber=Mv,K.isObject=Nn,K.isObjectLike=Hn,K.isPlainObject=Of,K.isRegExp=Wh,K.isSafeInteger=vA,K.isSet=Dv,K.isString=Td,K.isSymbol=Bi,K.isTypedArray=Pu,K.isUndefined=yA,K.isWeakMap=bA,K.isWeakSet=_A,K.join=CC,K.kebabCase=c3,K.last=as,K.lastIndexOf=wC,K.lowerCase=u3,K.lowerFirst=f3,K.lt=xA,K.lte=SA,K.max=i4,K.maxBy=s4,K.mean=a4,K.meanBy=l4,K.min=c4,K.minBy=u4,K.stubArray=Qh,K.stubFalse=ep,K.stubObject=K3,K.stubString=Y3,K.stubTrue=X3,K.multiply=f4,K.nth=AC,K.noConflict=q3,K.noop=Jh,K.now=Cd,K.pad=d3,K.padEnd=h3,K.padStart=p3,K.parseInt=g3,K.random=o3,K.reduce=kw,K.reduceRight=Rw,K.repeat=m3,K.replace=v3,K.result=ZA,K.round=d4,K.runInContext=Ae,K.sample=Lw,K.size=Dw,K.snakeCase=y3,K.some=Pw,K.sortedIndex=OC,K.sortedIndexBy=MC,K.sortedIndexOf=DC,K.sortedLastIndex=PC,K.sortedLastIndexBy=NC,K.sortedLastIndexOf=jC,K.startCase=_3,K.startsWith=x3,K.subtract=h4,K.sum=p4,K.sumBy=g4,K.template=S3,K.times=J3,K.toFinite=rl,K.toInteger=Tr,K.toLength=Nv,K.toLower=C3,K.toNumber=ls,K.toSafeInteger=CA,K.toString=on,K.toUpper=w3,K.trim=A3,K.trimEnd=E3,K.trimStart=T3,K.truncate=k3,K.unescape=R3,K.uniqueId=e4,K.upperCase=I3,K.upperFirst=Zh,K.each=Sv,K.eachRight=Cv,K.first=yv,Xh(K,function(){var i={};return Po(K,function(l,m){Gr.call(K.prototype,m)||(i[m]=l)}),i}(),{chain:!1}),K.VERSION=n,Vn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){K[i].placeholder=K}),Vn(["drop","take"],function(i,l){yr.prototype[i]=function(m){m=m===t?1:un(Tr(m),0);var M=this.__filtered__&&!l?new yr(this):this.clone();return M.__filtered__?M.__takeCount__=Pn(m,M.__takeCount__):M.__views__.push({size:Pn(m,ce),type:i+(M.__dir__<0?"Right":"")}),M},yr.prototype[i+"Right"]=function(m){return this.reverse()[i](m).reverse()}}),Vn(["filter","map","takeWhile"],function(i,l){var m=l+1,M=m==ee||m==le;yr.prototype[i]=function(U){var Q=this.clone();return Q.__iteratees__.push({iteratee:lr(U,3),type:m}),Q.__filtered__=Q.__filtered__||M,Q}}),Vn(["head","last"],function(i,l){var m="take"+(l?"Right":"");yr.prototype[i]=function(){return this[m](1).value()[0]}}),Vn(["initial","tail"],function(i,l){var m="drop"+(l?"":"Right");yr.prototype[i]=function(){return this.__filtered__?new yr(this):this[m](1)}}),yr.prototype.compact=function(){return this.filter(bi)},yr.prototype.find=function(i){return this.filter(i).head()},yr.prototype.findLast=function(i){return this.reverse().find(i)},yr.prototype.invokeMap=vr(function(i,l){return typeof i=="function"?new yr(this):this.map(function(m){return di(m,i,l)})}),yr.prototype.reject=function(i){return this.filter(Ad(lr(i)))},yr.prototype.slice=function(i,l){i=Tr(i);var m=this;return m.__filtered__&&(i>0||l<0)?new yr(m):(i<0?m=m.takeRight(-i):i&&(m=m.drop(i)),l!==t&&(l=Tr(l),m=l<0?m.dropRight(-l):m.take(l-i)),m)},yr.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},yr.prototype.toArray=function(){return this.take(ce)},Po(yr.prototype,function(i,l){var m=/^(?:filter|find|map|reject)|While$/.test(l),M=/^(?:head|last)$/.test(l),U=K[M?"take"+(l=="last"?"Right":""):l],Q=M||/^find/.test(l);U&&(K.prototype[l]=function(){var ge=this.__wrapped__,be=M?[1]:arguments,ke=ge instanceof yr,ct=be[0],ft=ke||xr(ge),vt=function(qr){var Wr=U.apply(K,ko([qr],be));return M&&jt?Wr[0]:Wr};ft&&m&&typeof ct=="function"&&ct.length!=1&&(ke=ft=!1);var jt=this.__chain__,Xt=!!this.__actions__.length,cr=Q&&!jt,Ir=ke&&!Xt;if(!Q&&ft){ge=Ir?ge:new yr(this);var ur=i.apply(ge,be);return ur.__actions__.push({func:xd,args:[vt],thisArg:t}),new io(ur,jt)}return cr&&Ir?i.apply(this,be):(ur=this.thru(vt),cr?M?ur.value()[0]:ur.value():ur)})}),Vn(["pop","push","shift","sort","splice","unshift"],function(i){var l=Sl[i],m=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",M=/^(?:pop|shift)$/.test(i);K.prototype[i]=function(){var U=arguments;if(M&&!this.__chain__){var Q=this.value();return l.apply(xr(Q)?Q:[],U)}return this[m](function(ge){return l.apply(xr(ge)?ge:[],U)})}}),Po(yr.prototype,function(i,l){var m=K[l];if(m){var M=m.name+"";Gr.call(Ss,M)||(Ss[M]=[]),Ss[M].push({name:l,func:m})}}),Ss[rt(t,S).name]=[{name:"wrapper",func:t}],yr.prototype.clone=Tl,yr.prototype.reverse=Ha,yr.prototype.value=kl,K.prototype.at=sw,K.prototype.chain=aw,K.prototype.commit=lw,K.prototype.next=cw,K.prototype.plant=fw,K.prototype.reverse=dw,K.prototype.toJSON=K.prototype.valueOf=K.prototype.value=hw,K.prototype.first=K.prototype.head,Ko&&(K.prototype[Ko]=uw),K},Ti=xl();tn?((tn.exports=Ti)._=Ti,Er._=Ti):dr._=Ti}).call(S4)}(Hf,Hf.exports)),Hf.exports}var J_=C4();const al=ka(J_),w4=r=>{try{return JSON.parse(r)}catch{return}},A4=(r,e)=>JSON.stringify(r,null,e),E4=r=>Object.keys(r),T4=r=>Object.values(r),k4=r=>Object.entries(r),R4=(r,e)=>{Object.entries(r).forEach(([t,n])=>e(t,n))},I4=(r,e)=>Object.keys(r).includes(e),L4=(r,e)=>Object.entries(r).map((t,n)=>e(t,n)),O4=(r,e)=>Object.entries(r).some(([t,n])=>e(t,n)),M4=(r,e)=>Object.entries(r).find(([t,n])=>e(t,n)),Q_=r=>k.isValidElement(r)||typeof r=="string"||typeof r=="number"||typeof r=="boolean"||r===null||r===void 0||Array.isArray(r)&&r.every(Q_),D4=(r,e)=>al.isEqual(r,e),tr={equal:D4,parse:w4,stringify:A4,keys:E4,values:T4,entries:k4,forEach:R4,hasKey:I4,map:L4,some:O4,find:M4,isReactNode:Q_},e2="_NoSelect_29290_1",t2="_NoTransition_29290_6",r2="_IsFixedShape_29290_10",n2="_IsCursorPointer_29290_15",o2="_IsInteractive_29290_19",Kl={NoSelect:e2,NoTransition:t2,IsFixedShape:r2,IsCursorPointer:n2,IsInteractive:o2},P4="_Display1_11vgm_1",N4="_Display2_11vgm_6",j4="_Title1_11vgm_11",F4="_Title2_11vgm_16",B4="_Title3_11vgm_21",H4="_Headline1_11vgm_26",q4="_Headline2_11vgm_31",z4="_Body1Normal_11vgm_36",$4="_Body1Reading_11vgm_41",U4="_Label1_11vgm_46",W4="_Label2_11vgm_51",V4="_Caption1_11vgm_56",G4="_Caption2_11vgm_61",Z4="_Regular_11vgm_66",K4="_Medium_11vgm_70",Y4="_SemiBold_11vgm_74",X4="_Bold_11vgm_78",Fo={Display1:P4,Display2:N4,Title1:j4,Title2:F4,Title3:B4,Headline1:H4,Headline2:q4,Body1Normal:z4,Body1Reading:$4,Label1:U4,Label2:W4,Caption1:V4,Caption2:G4,Regular:Z4,Medium:K4,SemiBold:Y4,Bold:X4};function Qv(...r){return r.filter(Boolean).join(" ")}const i2={NoSelect:Kl.NoSelect,NoTransition:Kl.NoTransition,IsClickable:Qv(Kl.NoSelect,Kl.IsCursorPointer,Kl.IsFixedShape),IsInteractive:Qv(Kl.NoSelect,Kl.IsCursorPointer,Kl.IsInteractive)},s2={Display1:Fo.Display1,Display2:Fo.Display2,Title1:Fo.Title1,Title2:Fo.Title2,Title3:Fo.Title3,Headline1:Fo.Headline1,Headline2:Fo.Headline2,Body1Normal:Fo.Body1Normal,Body1Reading:Fo.Body1Reading,Label1:Fo.Label1,Label2:Fo.Label2,Caption1:Fo.Caption1,Caption2:Fo.Caption2,Regular:Fo.Regular,Medium:Fo.Medium,SemiBold:Fo.SemiBold,Bold:Fo.Bold};let gm={};const Qf={...i2,...s2,...gm};let mm=tr.keys(Qf);function J4(){Object.assign(Qf,gm),mm=tr.keys(Qf)}function Q4(...r){let e=[];for(let t=0;t<r.length;t++){let n=r[t];mm.includes(n)&&(n=Qf[n]),typeof n=="string"&&n!==""&&e.push(n)}return e.join(" ")}function eE(r,...e){const t=[],n=tr.keys(r);for(let o=0;o<e.length;o++){let a=e[o];mm.includes(a)?a=Qf[a]:n.includes(a)&&(a=r[a]),typeof a=="string"&&a!==""&&t.push(a)}return t.join(" ")}const Be={clsx:Q4,sclsx:eE,classes:i2,typographies:s2,additionalClasses:gm,updateKeys:J4},Bo={"2xs":12,xs:16,sm:20,md:24,lg:32,xl:40,"2xl":48,"3xl":64},gt=(r,e=Bo.md)=>{const t=Bo[r],n=t/e,o={xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:`0 0 ${e} ${e}`};if(n<0){const a=(e-t)/2;return{...o,viewBox:`${a} ${a} ${t} ${t}`,transform:`scale(${n})`}}return o},ju=(r,e=Bo.md)=>{const t=Bo[r],n=40,o=t/e,a={xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:`0 ${-(e*n)} ${e*n} ${e*n}`};if(o<0){const u=(e-t)/2;return{...a,viewBox:`${u} ${-(t*n)} ${t*n} ${t*n}`,transform:`scale(${o})`}}return a},qn=(r,e=2)=>({fill:"none",stroke:r,strokeWidth:e,strokeLinecap:"round",strokeLinejoin:"round"}),Nr=r=>{const{icon:e,style:t,svgRef:n,...o}=r,a=k.useMemo(()=>uh[e],[e]);return C.jsx(a,{...o,style:{...t,flexShrink:0}})},tE=r=>{const e=tr.keys(r);return n=>{const{icon:o,svgRef:a,...u}=n,f=k.useMemo(()=>e.includes(o)?r[o]:uh[o],[o]);return C.jsx(f,{...u})}},uh=Object.freeze({ArrowDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r,u=Bo.xs;return C.jsxs("svg",{...gt(e,u),fill:n,...a,ref:o,children:[C.jsx("rect",{height:"15",rx:"1.5",stroke:t,width:"15",x:"0.5",y:"0.5"}),C.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:o,...a}=r,u=Bo.xs;return C.jsxs("svg",{...gt(e,u),fill:n,...a,ref:o,children:[C.jsx("rect",{height:"15",rx:"1.5",stroke:t,width:"15",x:"0.5",y:"0.5"}),C.jsx("rect",{fill:t,height:"1",width:"10",x:"3",y:"7"})]})},"Check.UnChecked":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:o,...a}=r,u=Bo.xs;return C.jsx("svg",{...gt(e,u),fill:n,...a,ref:o,children:C.jsx("rect",{height:"15",rx:"1.5",stroke:t,width:"15",x:"0.5",y:"0.5"})})},CircleCheck:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.jsx("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"})})},Person:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),C.jsx("circle",{cx:"12",cy:"7",r:"4"})]})},Reset:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r,u=Bo["3xl"];return C.jsxs("svg",{...gt(e,u),fill:"none",strokeWidth:"12",...a,ref:o,children:[C.jsx("circle",{cx:"32",cy:"32",r:"22",stroke:n,style:{...a.style,transition:"stroke var(--Transition)"}}),C.jsx("path",{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,style:{...a.style,transition:"stroke var(--Transition)"},children:C.jsx("animateTransform",{attributeName:"transform",attributeType:"XML",calcMode:"spline",dur:"1s",from:"0 32 32",keySplines:"0.27 0.71 0.78 0.44",keyTimes:"0;1",repeatCount:"indefinite",to:"360 32 32",type:"rotate"})})]})},Stop:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.jsx("path",{d:"M6 6h12v12H6z"})})},TriangleAlert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.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"}),C.jsx("line",{x1:"12",x2:"12",y1:"9",y2:"13"}),C.jsx("line",{x1:"12",x2:"12.01",y1:"17",y2:"17"})]})},Sun:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e,28),...qn(t),strokeWidth:1,...a,ref:o,children:[C.jsx("circle",{cx:"14",cy:"14",r:"3.5"}),C.jsx("path",{d:"M21.1213 21.1213L19 19"}),C.jsx("path",{d:"M24 14L21 14"}),C.jsx("path",{d:"M9.12132 19L7 21.1213"}),C.jsx("path",{d:"M14 21L14 24"}),C.jsx("path",{d:"M6.99977 7.00002L9.12109 9.12134"}),C.jsx("path",{d:"M4 14L7 14"}),C.jsx("path",{d:"M18.9998 9.12132L21.1211 7"}),C.jsx("path",{d:"M14 7L14 4"})]})},Moon:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="white",svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e,28),...a,ref:o,children:[C.jsx("mask",{fill:n,id:"path-1-inside-1_640_3082",children:C.jsx("path",{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",fillRule:"evenodd"})}),C.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:o,...a}=r,u=Bo["2xs"];return C.jsxs("svg",{...gt(e,u),...a,ref:o,children:[C.jsx("rect",{fill:t,height:"5",width:"1",x:"1",y:"5"}),C.jsx("path",{d:"M1.5 7.5H3L5 5.5",stroke:t}),C.jsx("rect",{fill:t,height:"3",transform:"rotate(45 5.12132 2)",width:"5.13925",x:"5.12132",y:"2"}),C.jsx("rect",{fill:t,height:"2.19393",transform:"rotate(45 8.83633 6.28503)",width:"1",x:"8.83633",y:"6.28503"}),C.jsx("clipPath",{id:"clip0_2241_2464",children:C.jsx("rect",{fill:n,height:"12",width:"12"})})]})},Convert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:n,...a,ref:o,children:C.jsxs("g",{clipPath:"url(#clip0_1786_1844)",children:[C.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}),C.jsx("path",{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,style:{...a.style,transition:"fill var(--Transition)"}})]})})},SortUp:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r,u=Bo.xs;return C.jsx("svg",{...gt(e,u),fill:"none",...a,ref:o,children:C.jsx("path",{d:"M6 10L9 7L12 10",stroke:t})})},SortDown:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r,u=Bo.xs;return C.jsx("svg",{...gt(e,u),fill:"none",...a,ref:o,children:C.jsx("path",{d:"M12 7L9 10L6 7",stroke:t})})},SortBoth:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r,u=Bo.xs;return C.jsxs("svg",{...gt(e,u),fill:"none",...a,ref:o,children:[C.jsx("path",{d:"M6 6.75L9 3.75L12 6.75",stroke:t}),C.jsx("path",{d:"M12 11.25L9 14.25L6 11.25",stroke:t})]})},RowSortUp:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r,u=Bo.xs;return C.jsxs("svg",{...gt(e,u),...a,ref:o,children:[C.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),C.jsx("path",{d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t,opacity:"0.2"})]})},RowSortDown:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r,u=Bo.xs;return C.jsxs("svg",{...gt(e,u),...a,ref:o,children:[C.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t,opacity:"0.2"}),C.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:o,...a}=r,u=Bo.xs;return C.jsxs("svg",{...gt(e,u),...a,ref:o,children:[C.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),...qn(t),fill:n,strokeWidth:"1",...a,ref:o,children:C.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,...o}=r;return C.jsxs("svg",{height:"84",viewBox:"0 0 118 84",width:"118",...o,ref:n,children:[C.jsx("path",{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,fillRule:"evenodd"}),C.jsx("path",{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,fillRule:"evenodd"}),C.jsx("path",{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,fillRule:"evenodd"}),C.jsx("path",{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,fillRule:"evenodd"})]})},Frame:(r={})=>{const{primaryColor:e="currentColor",secondaryColor:t="none",svgRef:n,...o}=r;return C.jsx("svg",{fill:t,height:"1112",viewBox:"0 0 1482 1112",width:"1482",...o,ref:n,children:C.jsxs("g",{children:[C.jsx("path",{d:"M1481.33 1111.17L399.091 880.19V231.81L1481.33 0.829102V1111.17Z",opacity:"0.22",stroke:e}),C.jsx("path",{d:"M266.279 880.19V231.81L1348.52 0.829102V1111.17L266.279 880.19Z",opacity:"0.48",stroke:e}),C.jsx("path",{d:"M133.48 880.19V231.81L1215.72 0.829102V1111.17L133.48 880.19Z",opacity:"0.74",stroke:e}),C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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"})})},File2:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("path",{d:"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"}),C.jsx("polyline",{points:"13 2 13 9 20 9"})]})},UnPlug:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r,u=Bo.xs;return C.jsxs("svg",{...gt(e,u),overflow:"hidden",strokeWidth:"0.5",...a,ref:o,children:[C.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",fill:t,stroke:t}),C.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",fill:t,stroke:t})]})},CloudSync:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r,u=Bo.xs;return C.jsxs("svg",{...gt(e,u),overflow:"hidden",strokeWidth:"0.166718",...a,ref:o,children:[C.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",fill:t,stroke:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"}),C.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",fill:t,stroke:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"}),C.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",fill:t,stroke:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"})]})},CalendarDay:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.jsx("path",{d:"M8 5v14l11-7z"})})},Mail:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.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"}),C.jsx("polyline",{points:"22,6 12,13 2,6"})]})},Bell:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("path",{d:"M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"}),C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.jsx("path",{d:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z"})})},Folder:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),fill:t,...a,ref:o,children:[C.jsx("path",{d:"M3 6H1v13c0 1.1.9 2 2 2h17v-2H3V6z"}),C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),fill:t,...a,ref:o,children:[C.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),C.jsx("path",{d:"M24 24H0V0h24v24z",fill:"none"})]})},LastPage:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("polyline",{points:"4 7 4 4 20 4 20 7"}),C.jsx("line",{x1:"9",x2:"15",y1:"20",y2:"20"}),C.jsx("line",{x1:"12",x2:"12",y1:"4",y2:"20"})]})},PersonAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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"})})},Return:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e),fill:t,...a,ref:o,children:[C.jsx("path",{d:"M4 15L3.46967 14.4697C3.17678 14.7626 3.17678 15.2374 3.46967 15.5303L4 15ZM7.53033 12.5303C7.82322 12.2374 7.82322 11.7626 7.53033 11.4697C7.23744 11.1768 6.76256 11.1768 6.46967 11.4697L7.53033 12.5303ZM6.46967 18.5303C6.76256 18.8232 7.23744 18.8232 7.53033 18.5303C7.82322 18.2374 7.82322 17.7626 7.53033 17.4697L6.46967 18.5303ZM6.46967 11.4697L3.46967 14.4697L4.53033 15.5303L7.53033 12.5303L6.46967 11.4697ZM3.46967 15.5303L6.46967 18.5303L7.53033 17.4697L4.53033 14.4697L3.46967 15.5303Z",fill:"#333333"}),C.jsx("path",{d:"M11 5.25C10.5858 5.25 10.25 5.58579 10.25 6C10.25 6.41421 10.5858 6.75 11 6.75V5.25ZM4 14.25C3.58579 14.25 3.25 14.5858 3.25 15C3.25 15.4142 3.58579 15.75 4 15.75V14.25ZM11 6.75H16V5.25H11V6.75ZM16 15.75C17.3742 15.75 18.5687 15.0388 19.3991 14.0651C20.2284 13.0926 20.75 11.7983 20.75 10.5H19.25C19.25 11.4109 18.8762 12.3665 18.2577 13.0918C17.6404 13.8157 16.835 14.25 16 14.25V15.75ZM16 6.75C16.8349 6.75 17.6404 7.18427 18.2577 7.90822C18.8762 8.63348 19.25 9.58913 19.25 10.5H20.75C20.75 9.20173 20.2284 7.90738 19.3991 6.93492C18.5687 5.96116 17.3741 5.25 16 5.25V6.75ZM16 14.25H4V15.75H16V14.25Z",fill:"#333333"})]})},Gear:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),...qn(t),...a,ref:o,children:C.jsx("path",{d:"M18 15 L12 9 L6 15"})})},TriangleDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),...qn(t),...a,ref:o,children:C.jsx("path",{d:"M6 9 12 15 18 9"})})},CircleHelp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.jsx("g",{transform:"scale(0.046875 0.046875)",children:C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("circle",{cx:"12",cy:"12",r:"10"}),C.jsx("line",{x1:"12",x2:"12",y1:"8",y2:"12"}),C.jsx("line",{x1:"12",x2:"12.01",y1:"16",y2:"16"})]})},CircleAlert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),fill:t,...a,ref:o,children:[C.jsx("circle",{cx:"10",cy:"8",r:"4"}),C.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:o,...a}=r;return C.jsxs("svg",{...gt(e,96),...qn(t),...a,ref:o,children:[C.jsxs("g",{clipPath:"url(#clip0_1_3)",children:[C.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"}),C.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"})]}),C.jsx("defs",{children:C.jsx("clipPath",{id:"clip0_1_3",children:C.jsx("rect",{fill:"white",height:"96",width:"96"})})})]})},Admin:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.jsx("path",{d:"M10 20h4V4h-4zm-6 0h4v-8H4zM16 9v11h4V9z"})})},ABC:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"})})},Edit:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.jsx("path",{d:"M19 13H5v-2h14z"})})},Sync:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("line",{x1:"18",x2:"6",y1:"6",y2:"18"}),C.jsx("line",{x1:"6",x2:"18",y1:"6",y2:"18"})]})},MoreVertical:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("circle",{cx:"12",cy:"12",r:"1"}),C.jsx("circle",{cx:"12",cy:"5",r:"1"}),C.jsx("circle",{cx:"12",cy:"19",r:"1"})]})},MoreHorizontal:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("circle",{cx:"12",cy:"12",r:"1"}),C.jsx("circle",{cx:"19",cy:"12",r:"1"}),C.jsx("circle",{cx:"5",cy:"12",r:"1"})]})},Verified:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.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"}),C.jsx("path",{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,fillRule:"evenodd",strokeWidth:0})]})},NonVerified:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("path",{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)",strokeDasharray:"0.75 1.5",strokeLinecap:"round",strokeMiterlimit:"11.4737",strokeWidth:"0.75",style:{...a.style,transition:"stroke var(--Transition)"}}),C.jsx("path",{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,style:{...a.style,transition:"fill var(--Transition)"}})]})},Edit2:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("polyline",{points:"3 6 5 6 21 6"}),C.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"}),C.jsx("line",{x1:"10",x2:"10",y1:"11",y2:"17"}),C.jsx("line",{x1:"14",x2:"14",y1:"11",y2:"17"})]})},AddRowBelow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...ju(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...ju(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...ju(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...ju(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...ju(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsxs("svg",{...ju(e),fill:t,...a,ref:o,children:[C.jsx("path",{d:"M360-440h240v-80H360v80Z"}),C.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,...o}=r;return C.jsx("svg",{...gt(e),...qn(t),...o,ref:n,children:C.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,...o}=r;return C.jsx("svg",{...gt(e),...qn(t),...o,ref:n,children:C.jsx("line",{className:"ql-stroke ql-thick",x1:"5",x2:"19",y1:"12",y2:"12"})})},EditorArrow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="currentColor",svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e),...a,ref:o,children:[C.jsx("path",{d:"M11 5L16.1962 10.25H5.80385L11 5Z",fill:t}),C.jsx("path",{d:"M11 19L16.1962 13.75H5.80385L11 19Z",fill:n})]})},Target:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return C.jsx("svg",{...gt(e),...o,ref:n,children:C.jsx("g",{id:"target",children:C.jsx("path",{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,id:"Vector"})})})},DividerExpand:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return C.jsxs("svg",{...gt(e),...qn(t,1.5),...o,ref:n,children:[C.jsx("path",{d:"M4 6V18"}),C.jsx("path",{d:"M8 12H20"}),C.jsx("path",{d:"M12 8L8 12L12 16"})]})}}),vm=tr.keys(uh),rE={Ok:"Ok",Cancel:"Cancel"},nE={"select n":r=>C.jsxs(C.Fragment,{children:["Select ",r]}),"deselect n":r=>C.jsxs(C.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..."},oE={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"},iE={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"},sE={"drop file to select":"Drop file to select","or Drag & Drop":"or Drag & Drop","Select File":"Select File"},aE={"Checked n items":r=>C.jsxs(C.Fragment,{children:["Checked ",r," items"]}),"Searched n items":r=>C.jsxs(C.Fragment,{children:["Searched ",r," items"]}),"Total n items":r=>C.jsxs(C.Fragment,{children:["Total ",r," items"]}),"Sort by x":r=>C.jsxs(C.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"},lE={"Select(Placeholder)":"Select"},cE={"Select(Placeholder)":"Select"},uE={"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","Enter link:":"Enter link:","Enter video:":"Enter video:","Visit URL:":"Visit URL:",Save:"Save",Remove:"Remove"},fE={Asterisk:"Required field"},dE={Delete:"Delete","Fail Download":"Fail Download",Download:"Download","Drop file to select":"Drop file to select","Insert File":"Insert File","Download All":"Download All","Delete All":"Delete All","Unsupported file format detected.":"Unsupported file format detected.","Invalid file(s)":"Invalid file(s)","Supported file format(s)":"Supported file format(s)",and:"and","more file(s)":"more file(s)"},hE={Progress:"Progress"},pE={Expand:"Expand",Collapse:"Collapse"},Ur={ADialog:rE,ATree:nE,ADatePicker:oE,ADateRangePicker:iE,AFileBox:sE,ATable:aE,ASelect:lE,AMultiSelect:cE,AEditor:uE,AWrap:fE,AFileUploader:dE,AProgressBar:hE,ADivideFrame:pE};function gE(r,e){tr.keys(e).forEach(t=>{r[t]=e[t]})}const mE=(r,e)=>{gE(Ur[r],e)},vE="_AProgressBar_1thcm_1",yE="_Header_1thcm_7",bE="_Percentage_1thcm_13",_E="_BarContainer_1thcm_19",xE="_Bar_1thcm_19",SE="_CustomHeight_1thcm_34",CE="_CustomRadius_1thcm_37",wE="_CustomColor_1thcm_43",Yl={AProgressBar:vE,Header:yE,Percentage:bE,BarContainer:_E,Bar:xE,CustomHeight:SE,CustomRadius:CE,CustomColor:wE},a2=({progress:r=0,backgroundColor:e,color:t,height:n,borderRadius:o,showPercentage:a=!0,style:u,className:f,resources:d,label:h})=>{const x=k.useMemo(()=>({...Ur.AProgressBar,...d}),[d]),_=k.useMemo(()=>h??x.Progress,[h,x]),v=Math.min(Math.max(r,0),100),y=k.useMemo(()=>{const T={};return n&&(T["--progress-bar-height"]=`${n}px`),o&&(T["--progress-bar-radius"]=`${o}px`),e&&(T["--progress-bar-background-custom"]=e),t&&(T["--progress-bar-color-custom"]=t),T},[n,o,e,t]),b=k.useMemo(()=>Be.clsx(Yl.AProgressBar,n&&Yl.CustomHeight,o&&Yl.CustomRadius,(e||t)&&Yl.CustomColor,f),[n,o,e,t,f]);return C.jsxs("div",{className:b,style:{...y,...u},children:[C.jsxs("div",{className:Yl.Header,children:[C.jsx("div",{className:Be.clsx("Label1"),children:_}),a&&C.jsxs("div",{className:Yl.Percentage,children:[v,"%"]})]}),C.jsx("div",{className:Yl.BarContainer,children:C.jsx("div",{className:Yl.Bar,style:{width:`${v}%`}})})]})};var Xl={},Zc={};/**
|
52
|
+
}`;var Ir=Vv(function(){return Br(Q,Xt+"return "+vt).apply(t,ge)});if(Ir.source=vt,Uh(Ir))throw Ir;return Ir}function C3(i){return on(i).toLowerCase()}function w3(i){return on(i).toUpperCase()}function A3(i,l,m){if(i=on(i),i&&(m||l===t))return Ct(i);if(!i||!(l=jo(l)))return i;var M=gn(i),U=gn(l),Q=Xr(M,U),ge=oo(M,U)+1;return pi(M,Q,ge).join("")}function E3(i,l,m){if(i=on(i),i&&(m||l===t))return i.slice(0,du(i)+1);if(!i||!(l=jo(l)))return i;var M=gn(i),U=oo(M,gn(l))+1;return pi(M,0,U).join("")}function T3(i,l,m){if(i=on(i),i&&(m||l===t))return i.replace(nt,"");if(!i||!(l=jo(l)))return i;var M=gn(i),U=Xr(M,gn(l));return pi(M,U).join("")}function k3(i,l){var m=re,M=F;if(Nn(l)){var U="separator"in l?l.separator:U;m="length"in l?Tr(l.length):m,M="omission"in l?jo(l.omission):M}i=on(i);var Q=i.length;if(Qs(i)){var ge=gn(i);Q=ge.length}if(m>=Q)return i;var be=m-ea(M);if(be<1)return M;var ke=ge?pi(ge,0,be).join(""):i.slice(0,be);if(U===t)return ke+M;if(ge&&(be+=ke.length-be),Wh(U)){if(i.slice(be).search(U)){var ct,ft=ke;for(U.global||(U=ta(U.source,on(kt.exec(U))+"g")),U.lastIndex=0;ct=U.exec(ft);)var vt=ct.index;ke=ke.slice(0,vt===t?be:vt)}}else if(i.indexOf(jo(U),be)!=be){var jt=ke.lastIndexOf(U);jt>-1&&(ke=ke.slice(0,jt))}return ke+M}function R3(i){return i=on(i),i&&Qt.test(i)?i.replace(Rt,hu):i}var I3=N(function(i,l,m){return i+(m?" ":"")+l.toUpperCase()}),Zh=A("toUpperCase");function Wv(i,l,m){return i=on(i),l=m?t:l,l===t?ff(i)?pu(i):Ys(i):i.match(l)||[]}var Vv=vr(function(i,l){try{return ln(i,t,l)}catch(m){return Uh(m)?m:new ir(m)}}),L3=Qa(function(i,l){return Vn(l,function(m){m=ba(m),Do(i,m,zh(i[m],i))}),i});function O3(i){var l=i==null?0:i.length,m=lr();return i=l?Qr(i,function(M){if(typeof M[1]!="function")throw new zo(u);return[m(M[0]),M[1]]}):[],vr(function(M){for(var U=-1;++U<l;){var Q=i[U];if(ln(Q[0],this,M))return ln(Q[1],this,M)}})}function M3(i){return Ec(go(i,_))}function Kh(i){return function(){return i}}function D3(i,l){return i==null||i!==i?l:i}var P3=Le(),N3=Le(!0);function bi(i){return i}function Yh(i){return Fl(typeof i=="function"?i:go(i,_))}function j3(i){return hi(go(i,_))}function F3(i,l){return Va(i,go(l,_))}var B3=vr(function(i,l){return function(m){return di(m,i,l)}}),H3=vr(function(i,l){return function(m){return di(i,m,l)}});function Xh(i,l,m){var M=xo(l),U=fa(l,M);m==null&&!(Nn(l)&&(U.length||!M.length))&&(m=l,l=i,i=this,U=fa(l,xo(l)));var Q=!(Nn(m)&&"chain"in m)||!!m.chain,ge=tl(i);return Vn(U,function(be){var ke=l[be];i[be]=ke,ge&&(i.prototype[be]=function(){var ct=this.__chain__;if(Q||ct){var ft=i(this.__wrapped__),vt=ft.__actions__=ao(this.__actions__);return vt.push({func:ke,args:arguments,thisArg:i}),ft.__chain__=ct,ft}return ke.apply(i,ko([this.value()],arguments))})}),i}function q3(){return dr._===this&&(dr._=gc),this}function Jh(){}function z3(i){return i=Tr(i),vr(function(l){return ma(l,i)})}var $3=nr(Qr),U3=nr(Ia),W3=nr(Wi);function Gv(i){return Nh(i)?O(ba(i)):ku(i)}function V3(i){return function(l){return i==null?t:rs(i,l)}}var G3=ss(),Z3=ss(!0);function Qh(){return[]}function ep(){return!1}function K3(){return{}}function Y3(){return""}function X3(){return!0}function J3(i,l){if(i=Tr(i),i<1||i>fe)return[];var m=ce,M=Pn(i,ce);l=lr(l),i-=ce;for(var U=Me(M,l);++m<i;)l(m);return U}function Q3(i){return xr(i)?Qr(i,ba):Bi(i)?[i]:ao(hv(on(i)))}function e4(i){var l=++hc;return on(i)+l}var t4=Lt(function(i,l){return i+l},0),r4=as("ceil"),n4=Lt(function(i,l){return i/l},1),o4=as("floor");function i4(i){return i&&i.length?Ll(i,bi,ks):t}function s4(i,l){return i&&i.length?Ll(i,lr(l,2),ks):t}function a4(i){return Oa(i,bi)}function l4(i,l){return Oa(i,lr(l,2))}function c4(i){return i&&i.length?Ll(i,bi,Xo):t}function u4(i,l){return i&&i.length?Ll(i,lr(l,2),Xo):t}var f4=Lt(function(i,l){return i*l},1),d4=as("round"),h4=Lt(function(i,l){return i-l},0);function p4(i){return i&&i.length?je(i,bi):0}function g4(i,l){return i&&i.length?je(i,lr(l,2)):0}return K.after=jw,K.ary=wv,K.assign=wA,K.assignIn=Fv,K.assignInWith=kd,K.assignWith=AA,K.at=EA,K.before=Av,K.bind=zh,K.bindAll=L3,K.bindKey=Ev,K.castArray=Kw,K.chain=xv,K.chunk=oC,K.compact=iC,K.concat=sC,K.cond=O3,K.conforms=M3,K.constant=Kh,K.countBy=pw,K.create=TA,K.curry=Tv,K.curryRight=kv,K.debounce=Rv,K.defaults=kA,K.defaultsDeep=RA,K.defer=Fw,K.delay=Bw,K.difference=aC,K.differenceBy=lC,K.differenceWith=cC,K.drop=uC,K.dropRight=fC,K.dropRightWhile=dC,K.dropWhile=hC,K.fill=pC,K.filter=mw,K.flatMap=bw,K.flatMapDeep=_w,K.flatMapDepth=xw,K.flatten=vv,K.flattenDeep=gC,K.flattenDepth=mC,K.flip=Hw,K.flow=P3,K.flowRight=N3,K.fromPairs=vC,K.functions=NA,K.functionsIn=jA,K.groupBy=Sw,K.initial=bC,K.intersection=_C,K.intersectionBy=xC,K.intersectionWith=SC,K.invert=BA,K.invertBy=HA,K.invokeMap=ww,K.iteratee=Yh,K.keyBy=Aw,K.keys=xo,K.keysIn=yi,K.map=Sd,K.mapKeys=zA,K.mapValues=$A,K.matches=j3,K.matchesProperty=F3,K.memoize=wd,K.merge=UA,K.mergeWith=Bv,K.method=B3,K.methodOf=H3,K.mixin=Xh,K.negate=Ad,K.nthArg=z3,K.omit=WA,K.omitBy=VA,K.once=qw,K.orderBy=Ew,K.over=$3,K.overArgs=zw,K.overEvery=U3,K.overSome=W3,K.partial=$h,K.partialRight=Iv,K.partition=Tw,K.pick=GA,K.pickBy=Hv,K.property=Gv,K.propertyOf=V3,K.pull=EC,K.pullAll=bv,K.pullAllBy=TC,K.pullAllWith=kC,K.pullAt=RC,K.range=G3,K.rangeRight=Z3,K.rearg=$w,K.reject=Iw,K.remove=IC,K.rest=Uw,K.reverse=Hh,K.sampleSize=Ow,K.set=KA,K.setWith=YA,K.shuffle=Mw,K.slice=LC,K.sortBy=Nw,K.sortedUniq=FC,K.sortedUniqBy=BC,K.split=b3,K.spread=Ww,K.tail=HC,K.take=qC,K.takeRight=zC,K.takeRightWhile=$C,K.takeWhile=UC,K.tap=iw,K.throttle=Vw,K.thru=xd,K.toArray=Pv,K.toPairs=qv,K.toPairsIn=zv,K.toPath=Q3,K.toPlainObject=jv,K.transform=XA,K.unary=Gw,K.union=WC,K.unionBy=VC,K.unionWith=GC,K.uniq=ZC,K.uniqBy=KC,K.uniqWith=YC,K.unset=JA,K.unzip=qh,K.unzipWith=_v,K.update=QA,K.updateWith=e3,K.values=Nu,K.valuesIn=t3,K.without=XC,K.words=Wv,K.wrap=Zw,K.xor=JC,K.xorBy=QC,K.xorWith=ew,K.zip=tw,K.zipObject=rw,K.zipObjectDeep=nw,K.zipWith=ow,K.entries=qv,K.entriesIn=zv,K.extend=Fv,K.extendWith=kd,Xh(K,K),K.add=t4,K.attempt=Vv,K.camelCase=i3,K.capitalize=$v,K.ceil=r4,K.clamp=r3,K.clone=Yw,K.cloneDeep=Jw,K.cloneDeepWith=Qw,K.cloneWith=Xw,K.conformsTo=eA,K.deburr=Uv,K.defaultTo=D3,K.divide=n4,K.endsWith=s3,K.eq=Ms,K.escape=a3,K.escapeRegExp=l3,K.every=gw,K.find=vw,K.findIndex=gv,K.findKey=IA,K.findLast=yw,K.findLastIndex=mv,K.findLastKey=LA,K.floor=o4,K.forEach=Sv,K.forEachRight=Cv,K.forIn=OA,K.forInRight=MA,K.forOwn=DA,K.forOwnRight=PA,K.get=Vh,K.gt=tA,K.gte=rA,K.has=FA,K.hasIn=Gh,K.head=yv,K.identity=bi,K.includes=Cw,K.indexOf=yC,K.inRange=n3,K.invoke=qA,K.isArguments=Gc,K.isArray=xr,K.isArrayBuffer=nA,K.isArrayLike=vi,K.isArrayLikeObject=Yn,K.isBoolean=oA,K.isBuffer=Zl,K.isDate=iA,K.isElement=sA,K.isEmpty=aA,K.isEqual=lA,K.isEqualWith=cA,K.isError=Uh,K.isFinite=uA,K.isFunction=tl,K.isInteger=Lv,K.isLength=Ed,K.isMap=Ov,K.isMatch=fA,K.isMatchWith=dA,K.isNaN=hA,K.isNative=pA,K.isNil=mA,K.isNull=gA,K.isNumber=Mv,K.isObject=Nn,K.isObjectLike=Hn,K.isPlainObject=Of,K.isRegExp=Wh,K.isSafeInteger=vA,K.isSet=Dv,K.isString=Td,K.isSymbol=Bi,K.isTypedArray=Pu,K.isUndefined=yA,K.isWeakMap=bA,K.isWeakSet=_A,K.join=CC,K.kebabCase=c3,K.last=ls,K.lastIndexOf=wC,K.lowerCase=u3,K.lowerFirst=f3,K.lt=xA,K.lte=SA,K.max=i4,K.maxBy=s4,K.mean=a4,K.meanBy=l4,K.min=c4,K.minBy=u4,K.stubArray=Qh,K.stubFalse=ep,K.stubObject=K3,K.stubString=Y3,K.stubTrue=X3,K.multiply=f4,K.nth=AC,K.noConflict=q3,K.noop=Jh,K.now=Cd,K.pad=d3,K.padEnd=h3,K.padStart=p3,K.parseInt=g3,K.random=o3,K.reduce=kw,K.reduceRight=Rw,K.repeat=m3,K.replace=v3,K.result=ZA,K.round=d4,K.runInContext=Ae,K.sample=Lw,K.size=Dw,K.snakeCase=y3,K.some=Pw,K.sortedIndex=OC,K.sortedIndexBy=MC,K.sortedIndexOf=DC,K.sortedLastIndex=PC,K.sortedLastIndexBy=NC,K.sortedLastIndexOf=jC,K.startCase=_3,K.startsWith=x3,K.subtract=h4,K.sum=p4,K.sumBy=g4,K.template=S3,K.times=J3,K.toFinite=rl,K.toInteger=Tr,K.toLength=Nv,K.toLower=C3,K.toNumber=cs,K.toSafeInteger=CA,K.toString=on,K.toUpper=w3,K.trim=A3,K.trimEnd=E3,K.trimStart=T3,K.truncate=k3,K.unescape=R3,K.uniqueId=e4,K.upperCase=I3,K.upperFirst=Zh,K.each=Sv,K.eachRight=Cv,K.first=yv,Xh(K,function(){var i={};return Po(K,function(l,m){Gr.call(K.prototype,m)||(i[m]=l)}),i}(),{chain:!1}),K.VERSION=n,Vn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){K[i].placeholder=K}),Vn(["drop","take"],function(i,l){yr.prototype[i]=function(m){m=m===t?1:un(Tr(m),0);var M=this.__filtered__&&!l?new yr(this):this.clone();return M.__filtered__?M.__takeCount__=Pn(m,M.__takeCount__):M.__views__.push({size:Pn(m,ce),type:i+(M.__dir__<0?"Right":"")}),M},yr.prototype[i+"Right"]=function(m){return this.reverse()[i](m).reverse()}}),Vn(["filter","map","takeWhile"],function(i,l){var m=l+1,M=m==ee||m==le;yr.prototype[i]=function(U){var Q=this.clone();return Q.__iteratees__.push({iteratee:lr(U,3),type:m}),Q.__filtered__=Q.__filtered__||M,Q}}),Vn(["head","last"],function(i,l){var m="take"+(l?"Right":"");yr.prototype[i]=function(){return this[m](1).value()[0]}}),Vn(["initial","tail"],function(i,l){var m="drop"+(l?"":"Right");yr.prototype[i]=function(){return this.__filtered__?new yr(this):this[m](1)}}),yr.prototype.compact=function(){return this.filter(bi)},yr.prototype.find=function(i){return this.filter(i).head()},yr.prototype.findLast=function(i){return this.reverse().find(i)},yr.prototype.invokeMap=vr(function(i,l){return typeof i=="function"?new yr(this):this.map(function(m){return di(m,i,l)})}),yr.prototype.reject=function(i){return this.filter(Ad(lr(i)))},yr.prototype.slice=function(i,l){i=Tr(i);var m=this;return m.__filtered__&&(i>0||l<0)?new yr(m):(i<0?m=m.takeRight(-i):i&&(m=m.drop(i)),l!==t&&(l=Tr(l),m=l<0?m.dropRight(-l):m.take(l-i)),m)},yr.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},yr.prototype.toArray=function(){return this.take(ce)},Po(yr.prototype,function(i,l){var m=/^(?:filter|find|map|reject)|While$/.test(l),M=/^(?:head|last)$/.test(l),U=K[M?"take"+(l=="last"?"Right":""):l],Q=M||/^find/.test(l);U&&(K.prototype[l]=function(){var ge=this.__wrapped__,be=M?[1]:arguments,ke=ge instanceof yr,ct=be[0],ft=ke||xr(ge),vt=function(qr){var Wr=U.apply(K,ko([qr],be));return M&&jt?Wr[0]:Wr};ft&&m&&typeof ct=="function"&&ct.length!=1&&(ke=ft=!1);var jt=this.__chain__,Xt=!!this.__actions__.length,cr=Q&&!jt,Ir=ke&&!Xt;if(!Q&&ft){ge=Ir?ge:new yr(this);var ur=i.apply(ge,be);return ur.__actions__.push({func:xd,args:[vt],thisArg:t}),new io(ur,jt)}return cr&&Ir?i.apply(this,be):(ur=this.thru(vt),cr?M?ur.value()[0]:ur.value():ur)})}),Vn(["pop","push","shift","sort","splice","unshift"],function(i){var l=Sl[i],m=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",M=/^(?:pop|shift)$/.test(i);K.prototype[i]=function(){var U=arguments;if(M&&!this.__chain__){var Q=this.value();return l.apply(xr(Q)?Q:[],U)}return this[m](function(ge){return l.apply(xr(ge)?ge:[],U)})}}),Po(yr.prototype,function(i,l){var m=K[l];if(m){var M=m.name+"";Gr.call(Ss,M)||(Ss[M]=[]),Ss[M].push({name:l,func:m})}}),Ss[rt(t,S).name]=[{name:"wrapper",func:t}],yr.prototype.clone=Tl,yr.prototype.reverse=Ha,yr.prototype.value=kl,K.prototype.at=sw,K.prototype.chain=aw,K.prototype.commit=lw,K.prototype.next=cw,K.prototype.plant=fw,K.prototype.reverse=dw,K.prototype.toJSON=K.prototype.valueOf=K.prototype.value=hw,K.prototype.first=K.prototype.head,Ko&&(K.prototype[Ko]=uw),K},Ti=xl();tn?((tn.exports=Ti)._=Ti,Er._=Ti):dr._=Ti}).call(S4)}(Hf,Hf.exports)),Hf.exports}var J_=C4();const al=ka(J_),w4=r=>{try{return JSON.parse(r)}catch{return}},A4=(r,e)=>JSON.stringify(r,null,e),E4=r=>Object.keys(r),T4=r=>Object.values(r),k4=r=>Object.entries(r),R4=(r,e)=>{Object.entries(r).forEach(([t,n])=>e(t,n))},I4=(r,e)=>Object.keys(r).includes(e),L4=(r,e)=>Object.entries(r).map((t,n)=>e(t,n)),O4=(r,e)=>Object.entries(r).some(([t,n])=>e(t,n)),M4=(r,e)=>Object.entries(r).find(([t,n])=>e(t,n)),Q_=r=>k.isValidElement(r)||typeof r=="string"||typeof r=="number"||typeof r=="boolean"||r===null||r===void 0||Array.isArray(r)&&r.every(Q_),D4=(r,e)=>al.isEqual(r,e),tr={equal:D4,parse:w4,stringify:A4,keys:E4,values:T4,entries:k4,forEach:R4,hasKey:I4,map:L4,some:O4,find:M4,isReactNode:Q_},e2="_NoSelect_29290_1",t2="_NoTransition_29290_6",r2="_IsFixedShape_29290_10",n2="_IsCursorPointer_29290_15",o2="_IsInteractive_29290_19",Kl={NoSelect:e2,NoTransition:t2,IsFixedShape:r2,IsCursorPointer:n2,IsInteractive:o2},P4="_Display1_11vgm_1",N4="_Display2_11vgm_6",j4="_Title1_11vgm_11",F4="_Title2_11vgm_16",B4="_Title3_11vgm_21",H4="_Headline1_11vgm_26",q4="_Headline2_11vgm_31",z4="_Body1Normal_11vgm_36",$4="_Body1Reading_11vgm_41",U4="_Label1_11vgm_46",W4="_Label2_11vgm_51",V4="_Caption1_11vgm_56",G4="_Caption2_11vgm_61",Z4="_Regular_11vgm_66",K4="_Medium_11vgm_70",Y4="_SemiBold_11vgm_74",X4="_Bold_11vgm_78",Fo={Display1:P4,Display2:N4,Title1:j4,Title2:F4,Title3:B4,Headline1:H4,Headline2:q4,Body1Normal:z4,Body1Reading:$4,Label1:U4,Label2:W4,Caption1:V4,Caption2:G4,Regular:Z4,Medium:K4,SemiBold:Y4,Bold:X4};function Qv(...r){return r.filter(Boolean).join(" ")}const i2={NoSelect:Kl.NoSelect,NoTransition:Kl.NoTransition,IsClickable:Qv(Kl.NoSelect,Kl.IsCursorPointer,Kl.IsFixedShape),IsInteractive:Qv(Kl.NoSelect,Kl.IsCursorPointer,Kl.IsInteractive)},s2={Display1:Fo.Display1,Display2:Fo.Display2,Title1:Fo.Title1,Title2:Fo.Title2,Title3:Fo.Title3,Headline1:Fo.Headline1,Headline2:Fo.Headline2,Body1Normal:Fo.Body1Normal,Body1Reading:Fo.Body1Reading,Label1:Fo.Label1,Label2:Fo.Label2,Caption1:Fo.Caption1,Caption2:Fo.Caption2,Regular:Fo.Regular,Medium:Fo.Medium,SemiBold:Fo.SemiBold,Bold:Fo.Bold};let gm={};const Qf={...i2,...s2,...gm};let mm=tr.keys(Qf);function J4(){Object.assign(Qf,gm),mm=tr.keys(Qf)}function Q4(...r){let e=[];for(let t=0;t<r.length;t++){let n=r[t];mm.includes(n)&&(n=Qf[n]),typeof n=="string"&&n!==""&&e.push(n)}return e.join(" ")}function eE(r,...e){const t=[],n=tr.keys(r);for(let o=0;o<e.length;o++){let a=e[o];mm.includes(a)?a=Qf[a]:n.includes(a)&&(a=r[a]),typeof a=="string"&&a!==""&&t.push(a)}return t.join(" ")}const Be={clsx:Q4,sclsx:eE,classes:i2,typographies:s2,additionalClasses:gm,updateKeys:J4},Bo={"2xs":12,xs:16,sm:20,md:24,lg:32,xl:40,"2xl":48,"3xl":64},gt=(r,e=Bo.md)=>{const t=Bo[r],n=t/e,o={xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:`0 0 ${e} ${e}`};if(n<0){const a=(e-t)/2;return{...o,viewBox:`${a} ${a} ${t} ${t}`,transform:`scale(${n})`}}return o},ju=(r,e=Bo.md)=>{const t=Bo[r],n=40,o=t/e,a={xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:`0 ${-(e*n)} ${e*n} ${e*n}`};if(o<0){const u=(e-t)/2;return{...a,viewBox:`${u} ${-(t*n)} ${t*n} ${t*n}`,transform:`scale(${o})`}}return a},qn=(r,e=2)=>({fill:"none",stroke:r,strokeWidth:e,strokeLinecap:"round",strokeLinejoin:"round"}),Nr=r=>{const{icon:e,style:t,svgRef:n,...o}=r,a=k.useMemo(()=>uh[e],[e]);return C.jsx(a,{...o,style:{...t,flexShrink:0}})},tE=r=>{const e=tr.keys(r);return n=>{const{icon:o,svgRef:a,...u}=n,f=k.useMemo(()=>e.includes(o)?r[o]:uh[o],[o]);return C.jsx(f,{...u})}},uh=Object.freeze({ArrowDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r,u=Bo.xs;return C.jsxs("svg",{...gt(e,u),fill:n,...a,ref:o,children:[C.jsx("rect",{height:"15",rx:"1.5",stroke:t,width:"15",x:"0.5",y:"0.5"}),C.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:o,...a}=r,u=Bo.xs;return C.jsxs("svg",{...gt(e,u),fill:n,...a,ref:o,children:[C.jsx("rect",{height:"15",rx:"1.5",stroke:t,width:"15",x:"0.5",y:"0.5"}),C.jsx("rect",{fill:t,height:"1",width:"10",x:"3",y:"7"})]})},"Check.UnChecked":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:o,...a}=r,u=Bo.xs;return C.jsx("svg",{...gt(e,u),fill:n,...a,ref:o,children:C.jsx("rect",{height:"15",rx:"1.5",stroke:t,width:"15",x:"0.5",y:"0.5"})})},CircleCheck:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.jsx("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"})})},Person:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),C.jsx("circle",{cx:"12",cy:"7",r:"4"})]})},Reset:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r,u=Bo["3xl"];return C.jsxs("svg",{...gt(e,u),fill:"none",strokeWidth:"12",...a,ref:o,children:[C.jsx("circle",{cx:"32",cy:"32",r:"22",stroke:n,style:{...a.style,transition:"stroke var(--Transition)"}}),C.jsx("path",{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,style:{...a.style,transition:"stroke var(--Transition)"},children:C.jsx("animateTransform",{attributeName:"transform",attributeType:"XML",calcMode:"spline",dur:"1s",from:"0 32 32",keySplines:"0.27 0.71 0.78 0.44",keyTimes:"0;1",repeatCount:"indefinite",to:"360 32 32",type:"rotate"})})]})},Stop:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.jsx("path",{d:"M6 6h12v12H6z"})})},TriangleAlert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.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"}),C.jsx("line",{x1:"12",x2:"12",y1:"9",y2:"13"}),C.jsx("line",{x1:"12",x2:"12.01",y1:"17",y2:"17"})]})},Sun:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e,28),...qn(t),strokeWidth:1,...a,ref:o,children:[C.jsx("circle",{cx:"14",cy:"14",r:"3.5"}),C.jsx("path",{d:"M21.1213 21.1213L19 19"}),C.jsx("path",{d:"M24 14L21 14"}),C.jsx("path",{d:"M9.12132 19L7 21.1213"}),C.jsx("path",{d:"M14 21L14 24"}),C.jsx("path",{d:"M6.99977 7.00002L9.12109 9.12134"}),C.jsx("path",{d:"M4 14L7 14"}),C.jsx("path",{d:"M18.9998 9.12132L21.1211 7"}),C.jsx("path",{d:"M14 7L14 4"})]})},Moon:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="white",svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e,28),...a,ref:o,children:[C.jsx("mask",{fill:n,id:"path-1-inside-1_640_3082",children:C.jsx("path",{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",fillRule:"evenodd"})}),C.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:o,...a}=r,u=Bo["2xs"];return C.jsxs("svg",{...gt(e,u),...a,ref:o,children:[C.jsx("rect",{fill:t,height:"5",width:"1",x:"1",y:"5"}),C.jsx("path",{d:"M1.5 7.5H3L5 5.5",stroke:t}),C.jsx("rect",{fill:t,height:"3",transform:"rotate(45 5.12132 2)",width:"5.13925",x:"5.12132",y:"2"}),C.jsx("rect",{fill:t,height:"2.19393",transform:"rotate(45 8.83633 6.28503)",width:"1",x:"8.83633",y:"6.28503"}),C.jsx("clipPath",{id:"clip0_2241_2464",children:C.jsx("rect",{fill:n,height:"12",width:"12"})})]})},Convert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:n,...a,ref:o,children:C.jsxs("g",{clipPath:"url(#clip0_1786_1844)",children:[C.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}),C.jsx("path",{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,style:{...a.style,transition:"fill var(--Transition)"}})]})})},SortUp:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r,u=Bo.xs;return C.jsx("svg",{...gt(e,u),fill:"none",...a,ref:o,children:C.jsx("path",{d:"M6 10L9 7L12 10",stroke:t})})},SortDown:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r,u=Bo.xs;return C.jsx("svg",{...gt(e,u),fill:"none",...a,ref:o,children:C.jsx("path",{d:"M12 7L9 10L6 7",stroke:t})})},SortBoth:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r,u=Bo.xs;return C.jsxs("svg",{...gt(e,u),fill:"none",...a,ref:o,children:[C.jsx("path",{d:"M6 6.75L9 3.75L12 6.75",stroke:t}),C.jsx("path",{d:"M12 11.25L9 14.25L6 11.25",stroke:t})]})},RowSortUp:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r,u=Bo.xs;return C.jsxs("svg",{...gt(e,u),...a,ref:o,children:[C.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),C.jsx("path",{d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t,opacity:"0.2"})]})},RowSortDown:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r,u=Bo.xs;return C.jsxs("svg",{...gt(e,u),...a,ref:o,children:[C.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t,opacity:"0.2"}),C.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:o,...a}=r,u=Bo.xs;return C.jsxs("svg",{...gt(e,u),...a,ref:o,children:[C.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),...qn(t),fill:n,strokeWidth:"1",...a,ref:o,children:C.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,...o}=r;return C.jsxs("svg",{height:"84",viewBox:"0 0 118 84",width:"118",...o,ref:n,children:[C.jsx("path",{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,fillRule:"evenodd"}),C.jsx("path",{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,fillRule:"evenodd"}),C.jsx("path",{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,fillRule:"evenodd"}),C.jsx("path",{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,fillRule:"evenodd"})]})},Frame:(r={})=>{const{primaryColor:e="currentColor",secondaryColor:t="none",svgRef:n,...o}=r;return C.jsx("svg",{fill:t,height:"1112",viewBox:"0 0 1482 1112",width:"1482",...o,ref:n,children:C.jsxs("g",{children:[C.jsx("path",{d:"M1481.33 1111.17L399.091 880.19V231.81L1481.33 0.829102V1111.17Z",opacity:"0.22",stroke:e}),C.jsx("path",{d:"M266.279 880.19V231.81L1348.52 0.829102V1111.17L266.279 880.19Z",opacity:"0.48",stroke:e}),C.jsx("path",{d:"M133.48 880.19V231.81L1215.72 0.829102V1111.17L133.48 880.19Z",opacity:"0.74",stroke:e}),C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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"})})},File2:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("path",{d:"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"}),C.jsx("polyline",{points:"13 2 13 9 20 9"})]})},UnPlug:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r,u=Bo.xs;return C.jsxs("svg",{...gt(e,u),overflow:"hidden",strokeWidth:"0.5",...a,ref:o,children:[C.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",fill:t,stroke:t}),C.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",fill:t,stroke:t})]})},CloudSync:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r,u=Bo.xs;return C.jsxs("svg",{...gt(e,u),overflow:"hidden",strokeWidth:"0.166718",...a,ref:o,children:[C.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",fill:t,stroke:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"}),C.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",fill:t,stroke:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"}),C.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",fill:t,stroke:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"})]})},CalendarDay:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.jsx("path",{d:"M8 5v14l11-7z"})})},Mail:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.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"}),C.jsx("polyline",{points:"22,6 12,13 2,6"})]})},Bell:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("path",{d:"M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"}),C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.jsx("path",{d:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z"})})},Folder:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),fill:t,...a,ref:o,children:[C.jsx("path",{d:"M3 6H1v13c0 1.1.9 2 2 2h17v-2H3V6z"}),C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),fill:t,...a,ref:o,children:[C.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),C.jsx("path",{d:"M24 24H0V0h24v24z",fill:"none"})]})},LastPage:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("polyline",{points:"4 7 4 4 20 4 20 7"}),C.jsx("line",{x1:"9",x2:"15",y1:"20",y2:"20"}),C.jsx("line",{x1:"12",x2:"12",y1:"4",y2:"20"})]})},PersonAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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"})})},Return:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e),fill:t,...a,ref:o,children:[C.jsx("path",{d:"M4 15L3.46967 14.4697C3.17678 14.7626 3.17678 15.2374 3.46967 15.5303L4 15ZM7.53033 12.5303C7.82322 12.2374 7.82322 11.7626 7.53033 11.4697C7.23744 11.1768 6.76256 11.1768 6.46967 11.4697L7.53033 12.5303ZM6.46967 18.5303C6.76256 18.8232 7.23744 18.8232 7.53033 18.5303C7.82322 18.2374 7.82322 17.7626 7.53033 17.4697L6.46967 18.5303ZM6.46967 11.4697L3.46967 14.4697L4.53033 15.5303L7.53033 12.5303L6.46967 11.4697ZM3.46967 15.5303L6.46967 18.5303L7.53033 17.4697L4.53033 14.4697L3.46967 15.5303Z",fill:"#333333"}),C.jsx("path",{d:"M11 5.25C10.5858 5.25 10.25 5.58579 10.25 6C10.25 6.41421 10.5858 6.75 11 6.75V5.25ZM4 14.25C3.58579 14.25 3.25 14.5858 3.25 15C3.25 15.4142 3.58579 15.75 4 15.75V14.25ZM11 6.75H16V5.25H11V6.75ZM16 15.75C17.3742 15.75 18.5687 15.0388 19.3991 14.0651C20.2284 13.0926 20.75 11.7983 20.75 10.5H19.25C19.25 11.4109 18.8762 12.3665 18.2577 13.0918C17.6404 13.8157 16.835 14.25 16 14.25V15.75ZM16 6.75C16.8349 6.75 17.6404 7.18427 18.2577 7.90822C18.8762 8.63348 19.25 9.58913 19.25 10.5H20.75C20.75 9.20173 20.2284 7.90738 19.3991 6.93492C18.5687 5.96116 17.3741 5.25 16 5.25V6.75ZM16 14.25H4V15.75H16V14.25Z",fill:"#333333"})]})},Gear:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),...qn(t),...a,ref:o,children:C.jsx("path",{d:"M18 15 L12 9 L6 15"})})},TriangleDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),...qn(t),...a,ref:o,children:C.jsx("path",{d:"M6 9 12 15 18 9"})})},CircleHelp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.jsx("g",{transform:"scale(0.046875 0.046875)",children:C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("circle",{cx:"12",cy:"12",r:"10"}),C.jsx("line",{x1:"12",x2:"12",y1:"8",y2:"12"}),C.jsx("line",{x1:"12",x2:"12.01",y1:"16",y2:"16"})]})},CircleAlert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),fill:t,...a,ref:o,children:[C.jsx("circle",{cx:"10",cy:"8",r:"4"}),C.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:o,...a}=r;return C.jsxs("svg",{...gt(e,96),...qn(t),...a,ref:o,children:[C.jsxs("g",{clipPath:"url(#clip0_1_3)",children:[C.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"}),C.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"})]}),C.jsx("defs",{children:C.jsx("clipPath",{id:"clip0_1_3",children:C.jsx("rect",{fill:"white",height:"96",width:"96"})})})]})},Admin:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.jsx("path",{d:"M10 20h4V4h-4zm-6 0h4v-8H4zM16 9v11h4V9z"})})},ABC:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"})})},Edit:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.jsx("path",{d:"M19 13H5v-2h14z"})})},Sync:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...gt(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("line",{x1:"18",x2:"6",y1:"6",y2:"18"}),C.jsx("line",{x1:"6",x2:"18",y1:"6",y2:"18"})]})},MoreVertical:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("circle",{cx:"12",cy:"12",r:"1"}),C.jsx("circle",{cx:"12",cy:"5",r:"1"}),C.jsx("circle",{cx:"12",cy:"19",r:"1"})]})},MoreHorizontal:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("circle",{cx:"12",cy:"12",r:"1"}),C.jsx("circle",{cx:"19",cy:"12",r:"1"}),C.jsx("circle",{cx:"5",cy:"12",r:"1"})]})},Verified:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.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"}),C.jsx("path",{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,fillRule:"evenodd",strokeWidth:0})]})},NonVerified:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("path",{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)",strokeDasharray:"0.75 1.5",strokeLinecap:"round",strokeMiterlimit:"11.4737",strokeWidth:"0.75",style:{...a.style,transition:"stroke var(--Transition)"}}),C.jsx("path",{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,style:{...a.style,transition:"fill var(--Transition)"}})]})},Edit2:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),C.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:o,...a}=r;return C.jsxs("svg",{...gt(e),...qn(t),...a,ref:o,children:[C.jsx("polyline",{points:"3 6 5 6 21 6"}),C.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"}),C.jsx("line",{x1:"10",x2:"10",y1:"11",y2:"17"}),C.jsx("line",{x1:"14",x2:"14",y1:"11",y2:"17"})]})},AddRowBelow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...a}=r;return C.jsx("svg",{...ju(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...ju(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...ju(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...ju(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsx("svg",{...ju(e),fill:t,...a,ref:o,children:C.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:o,...a}=r;return C.jsxs("svg",{...ju(e),fill:t,...a,ref:o,children:[C.jsx("path",{d:"M360-440h240v-80H360v80Z"}),C.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,...o}=r;return C.jsx("svg",{...gt(e),...qn(t),...o,ref:n,children:C.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,...o}=r;return C.jsx("svg",{...gt(e),...qn(t),...o,ref:n,children:C.jsx("line",{className:"ql-stroke ql-thick",x1:"5",x2:"19",y1:"12",y2:"12"})})},EditorArrow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="currentColor",svgRef:o,...a}=r;return C.jsxs("svg",{...gt(e),...a,ref:o,children:[C.jsx("path",{d:"M11 5L16.1962 10.25H5.80385L11 5Z",fill:t}),C.jsx("path",{d:"M11 19L16.1962 13.75H5.80385L11 19Z",fill:n})]})},Target:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return C.jsx("svg",{...gt(e),...o,ref:n,children:C.jsx("g",{id:"target",children:C.jsx("path",{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,id:"Vector"})})})},DividerExpand:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return C.jsxs("svg",{...gt(e),...qn(t,1.5),...o,ref:n,children:[C.jsx("path",{d:"M4 6V18"}),C.jsx("path",{d:"M8 12H20"}),C.jsx("path",{d:"M12 8L8 12L12 16"})]})}}),vm=tr.keys(uh),rE={Ok:"Ok",Cancel:"Cancel"},nE={"select n":r=>C.jsxs(C.Fragment,{children:["Select ",r]}),"deselect n":r=>C.jsxs(C.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..."},oE={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"},iE={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"},sE={"drop file to select":"Drop file to select","or Drag & Drop":"or Drag & Drop","Select File":"Select File"},aE={"Checked n items":r=>C.jsxs(C.Fragment,{children:["Checked ",r," items"]}),"Searched n items":r=>C.jsxs(C.Fragment,{children:["Searched ",r," items"]}),"Total n items":r=>C.jsxs(C.Fragment,{children:["Total ",r," items"]}),"Sort by x":r=>C.jsxs(C.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"},lE={"Select(Placeholder)":"Select"},cE={"Select(Placeholder)":"Select"},uE={"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","Enter link:":"Enter link:","Enter video:":"Enter video:","Visit URL:":"Visit URL:",Save:"Save",Remove:"Remove"},fE={Asterisk:"Required field"},dE={Delete:"Delete","Fail Download":"Fail Download",Download:"Download","Drop file to select":"Drop file to select","Insert File":"Insert File","Download All":"Download All","Delete All":"Delete All","Unsupported file format detected.":"Unsupported file format detected.","Invalid file(s)":"Invalid file(s)","Supported file format(s)":"Supported file format(s)",and:"and","more file(s)":"more file(s)"},hE={Progress:"Progress"},pE={Expand:"Expand",Collapse:"Collapse"},Ur={ADialog:rE,ATree:nE,ADatePicker:oE,ADateRangePicker:iE,AFileBox:sE,ATable:aE,ASelect:lE,AMultiSelect:cE,AEditor:uE,AWrap:fE,AFileUploader:dE,AProgressBar:hE,ADivideFrame:pE};function gE(r,e){tr.keys(e).forEach(t=>{r[t]=e[t]})}const mE=(r,e)=>{gE(Ur[r],e)},vE="_AProgressBar_1thcm_1",yE="_Header_1thcm_7",bE="_Percentage_1thcm_13",_E="_BarContainer_1thcm_19",xE="_Bar_1thcm_19",SE="_CustomHeight_1thcm_34",CE="_CustomRadius_1thcm_37",wE="_CustomColor_1thcm_43",Yl={AProgressBar:vE,Header:yE,Percentage:bE,BarContainer:_E,Bar:xE,CustomHeight:SE,CustomRadius:CE,CustomColor:wE},a2=({progress:r=0,backgroundColor:e,color:t,height:n,borderRadius:o,showPercentage:a=!0,style:u,className:f,resources:d,label:h})=>{const x=k.useMemo(()=>({...Ur.AProgressBar,...d}),[d]),_=k.useMemo(()=>h??x.Progress,[h,x]),v=Math.min(Math.max(r,0),100),y=k.useMemo(()=>{const T={};return n&&(T["--progress-bar-height"]=`${n}px`),o&&(T["--progress-bar-radius"]=`${o}px`),e&&(T["--progress-bar-background-custom"]=e),t&&(T["--progress-bar-color-custom"]=t),T},[n,o,e,t]),b=k.useMemo(()=>Be.clsx(Yl.AProgressBar,n&&Yl.CustomHeight,o&&Yl.CustomRadius,(e||t)&&Yl.CustomColor,f),[n,o,e,t,f]);return C.jsxs("div",{className:b,style:{...y,...u},children:[C.jsxs("div",{className:Yl.Header,children:[C.jsx("div",{className:Be.clsx("Label1"),children:_}),a&&C.jsxs("div",{className:Yl.Percentage,children:[v,"%"]})]}),C.jsx("div",{className:Yl.BarContainer,children:C.jsx("div",{className:Yl.Bar,style:{width:`${v}%`}})})]})};var Xl={},Zc={};/**
|
53
53
|
* @license React
|
54
54
|
* react-dom-server-legacy.browser.production.min.js
|
55
55
|
*
|
@@ -63,7 +63,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
63
63
|
`?L.push(`
|
64
64
|
`,X):L.push(""+X))}return typeof Re=="string"&&Re[0]===`
|
65
65
|
`&&L.push(`
|
66
|
-
`),Re;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":L.push(W(H));for(var _n in X)if(t.call(X,_n)&&(Re=X[_n],Re!=null))switch(_n){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,H));default:j(L,ie,_n,Re)}return L.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 G(L,X,H,ie);case"html":return Pe.insertionMode===0&&L.push("<!DOCTYPE html>"),G(L,X,H,ie);default:if(H.indexOf("-")===-1&&typeof X.is!="string")return G(L,X,H,ie);L.push(W(H)),Ve=Re=null;for(Ht in X)if(t.call(X,Ht)&&(ht=X[Ht],ht!=null))switch(Ht){case"children":Re=ht;break;case"dangerouslySetInnerHTML":Ve=ht;break;case"style":P(L,ie,ht);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:u(Ht)&&typeof ht!="function"&&typeof ht!="symbol"&&L.push(" ",Ht,'="',b(ht),'"')}return L.push(">"),q(L,Ve,Re),Re}}function ee(L,H,X){if(L.push('<!--$?--><template id="'),X===null)throw Error(e(395));return L.push(X),L.push('"></template>')}function ue(L,H,X,ie){switch(X.insertionMode){case 0:case 1:return L.push('<div hidden id="'),L.push(H.segmentPrefix),H=ie.toString(16),L.push(H),L.push('">');case 2:return L.push('<svg aria-hidden="true" style="display:none" id="'),L.push(H.segmentPrefix),H=ie.toString(16),L.push(H),L.push('">');case 3:return L.push('<math aria-hidden="true" style="display:none" id="'),L.push(H.segmentPrefix),H=ie.toString(16),L.push(H),L.push('">');case 4:return L.push('<table hidden id="'),L.push(H.segmentPrefix),H=ie.toString(16),L.push(H),L.push('">');case 5:return L.push('<table hidden><tbody id="'),L.push(H.segmentPrefix),H=ie.toString(16),L.push(H),L.push('">');case 6:return L.push('<table hidden><tr id="'),L.push(H.segmentPrefix),H=ie.toString(16),L.push(H),L.push('">');case 7:return L.push('<table hidden><colgroup id="'),L.push(H.segmentPrefix),H=ie.toString(16),L.push(H),L.push('">');default:throw Error(e(397))}}function le(L,H){switch(H.insertionMode){case 0:case 1:return L.push("</div>");case 2:return L.push("</svg>");case 3:return L.push("</math>");case 4:return L.push("</table>");case 5:return L.push("</tbody></table>");case 6:return L.push("</tr></table>");case 7:return L.push("</colgroup></table>");default:throw Error(e(397))}}var de=/[<\u2028\u2029]/g;function fe(L){return JSON.stringify(L).replace(de,function(H){switch(H){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 ve(L,H){return H=H===void 0?"":H,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:H+"P:",segmentPrefix:H+"S:",boundaryPrefix:H+"B:",idPrefix:H,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:L}}function te(L,H,X,ie){return X.generateStaticMarkup?(L.push(b(H)),!1):(H===""?L=ie:(ie&&L.push("<!-- -->"),L.push(b(H)),L=!0),L)}var ce=Object.assign,pe=Symbol.for("react.element"),ye=Symbol.for("react.portal"),Ie=Symbol.for("react.fragment"),oe=Symbol.for("react.strict_mode"),we=Symbol.for("react.profiler"),Oe=Symbol.for("react.provider"),Ue=Symbol.for("react.context"),We=Symbol.for("react.forward_ref"),Se=Symbol.for("react.suspense"),_e=Symbol.for("react.suspense_list"),Ce=Symbol.for("react.memo"),Te=Symbol.for("react.lazy"),Ne=Symbol.for("react.scope"),ot=Symbol.for("react.debug_trace_mode"),$e=Symbol.for("react.legacy_hidden"),tt=Symbol.for("react.default_value"),at=Symbol.iterator;function De(L){if(L==null)return null;if(typeof L=="function")return L.displayName||L.name||null;if(typeof L=="string")return L;switch(L){case Ie:return"Fragment";case ye:return"Portal";case we:return"Profiler";case oe:return"StrictMode";case Se:return"Suspense";case _e:return"SuspenseList"}if(typeof L=="object")switch(L.$$typeof){case Ue:return(L.displayName||"Context")+".Consumer";case Oe:return(L._context.displayName||"Context")+".Provider";case We:var H=L.render;return L=L.displayName,L||(L=H.displayName||H.name||"",L=L!==""?"ForwardRef("+L+")":"ForwardRef"),L;case Ce:return H=L.displayName||null,H!==null?H:De(L.type)||"Memo";case Te:H=L._payload,L=L._init;try{return De(L(H))}catch{}}return null}var Ke={};function yt(L,H){if(L=L.contextTypes,!L)return Ke;var X={},ie;for(ie in L)X[ie]=H[ie];return X}var _t=null;function bt(L,H){if(L!==H){L.context._currentValue2=L.parentValue,L=L.parent;var X=H.parent;if(L===null){if(X!==null)throw Error(e(401))}else{if(X===null)throw Error(e(401));bt(L,X)}H.context._currentValue2=H.value}}function At(L){L.context._currentValue2=L.parentValue,L=L.parent,L!==null&&At(L)}function qe(L){var H=L.parent;H!==null&&qe(H),L.context._currentValue2=L.value}function Qe(L,H){if(L.context._currentValue2=L.parentValue,L=L.parent,L===null)throw Error(e(402));L.depth===H.depth?bt(L,H):Qe(L,H)}function St(L,H){var X=H.parent;if(X===null)throw Error(e(402));L.depth===X.depth?bt(L,X):St(L,X),H.context._currentValue2=H.value}function Dt(L){var H=_t;H!==L&&(H===null?qe(L):L===null?At(H):H.depth===L.depth?bt(H,L):H.depth>L.depth?Qe(H,L):St(H,L),_t=L)}var Et={isMounted:function(){return!1},enqueueSetState:function(L,H){L=L._reactInternals,L.queue!==null&&L.queue.push(H)},enqueueReplaceState:function(L,H){L=L._reactInternals,L.replace=!0,L.queue=[H]},enqueueForceUpdate:function(){}};function Ze(L,H,X,ie){var Pe=L.state!==void 0?L.state:null;L.updater=Et,L.props=X,L.state=Pe;var Re={queue:[],replace:!1};L._reactInternals=Re;var Ve=H.contextType;if(L.context=typeof Ve=="object"&&Ve!==null?Ve._currentValue2:ie,Ve=H.getDerivedStateFromProps,typeof Ve=="function"&&(Ve=Ve(X,Pe),Pe=Ve==null?Pe:ce({},Pe,Ve),L.state=Pe),typeof H.getDerivedStateFromProps!="function"&&typeof L.getSnapshotBeforeUpdate!="function"&&(typeof L.UNSAFE_componentWillMount=="function"||typeof L.componentWillMount=="function"))if(H=L.state,typeof L.componentWillMount=="function"&&L.componentWillMount(),typeof L.UNSAFE_componentWillMount=="function"&&L.UNSAFE_componentWillMount(),H!==L.state&&Et.enqueueReplaceState(L,L.state,null),Re.queue!==null&&0<Re.queue.length)if(H=Re.queue,Ve=Re.replace,Re.queue=null,Re.replace=!1,Ve&&H.length===1)L.state=H[0];else{for(Re=Ve?H[0]:L.state,Pe=!0,Ve=Ve?1:0;Ve<H.length;Ve++){var ht=H[Ve];ht=typeof ht=="function"?ht.call(L,Re,X,ie):ht,ht!=null&&(Pe?(Pe=!1,Re=ce({},Re,ht)):ce(Re,ht))}L.state=Re}else Re.queue=null}var It={id:1,overflow:""};function Ot(L,H,X){var ie=L.id;L=L.overflow;var Pe=32-pr(ie)-1;ie&=~(1<<Pe),X+=1;var Re=32-pr(H)+Pe;if(30<Re){var Ve=Pe-Pe%5;return Re=(ie&(1<<Ve)-1).toString(32),ie>>=Ve,Pe-=Ve,{id:1<<32-pr(H)+Pe|X<<Pe|ie,overflow:Re+L}}return{id:1<<Re|X<<Pe|ie,overflow:L}}var pr=Math.clz32?Math.clz32:Ee,br=Math.log,Or=Math.LN2;function Ee(L){return L>>>=0,L===0?32:31-(br(L)/Or|0)|0}function ae(L,H){return L===H&&(L!==0||1/L===1/H)||L!==L&&H!==H}var st=typeof Object.is=="function"?Object.is:ae,mt=null,Ft=null,Rt=null,Mt=null,Qt=!1,qt=!1,sr=0,er=null,_r=0;function fr(){if(mt===null)throw Error(e(321));return mt}function lt(){if(0<_r)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function it(){return Mt===null?Rt===null?(Qt=!1,Rt=Mt=lt()):(Qt=!0,Mt=Rt):Mt.next===null?(Qt=!1,Mt=Mt.next=lt()):(Qt=!0,Mt=Mt.next),Mt}function Fe(){Ft=mt=null,qt=!1,Rt=null,_r=0,Mt=er=null}function ut(L,H){return typeof H=="function"?H(L):H}function nt(L,H,X){if(mt=fr(),Mt=it(),Qt){var ie=Mt.queue;if(H=ie.dispatch,er!==null&&(X=er.get(ie),X!==void 0)){er.delete(ie),ie=Mt.memoizedState;do ie=L(ie,X.action),X=X.next;while(X!==null);return Mt.memoizedState=ie,[ie,H]}return[Mt.memoizedState,H]}return L=L===ut?typeof H=="function"?H():H:X!==void 0?X(H):H,Mt.memoizedState=L,L=Mt.queue={last:null,dispatch:null},L=L.dispatch=wr.bind(null,mt,L),[Mt.memoizedState,L]}function $t(L,H){if(mt=fr(),Mt=it(),H=H===void 0?null:H,Mt!==null){var X=Mt.memoizedState;if(X!==null&&H!==null){var ie=X[1];e:if(ie===null)ie=!1;else{for(var Pe=0;Pe<ie.length&&Pe<H.length;Pe++)if(!st(H[Pe],ie[Pe])){ie=!1;break e}ie=!0}if(ie)return X[0]}}return L=L(),Mt.memoizedState=[L,H],L}function wr(L,H,X){if(25<=_r)throw Error(e(301));if(L===mt)if(qt=!0,L={action:X,next:null},er===null&&(er=new Map),X=er.get(H),X===void 0)er.set(H,L);else{for(H=X;H.next!==null;)H=H.next;H.next=L}}function ne(){throw Error(e(394))}function He(){}var xe={readContext:function(L){return L._currentValue2},useContext:function(L){return fr(),L._currentValue2},useMemo:$t,useReducer:nt,useRef:function(L){mt=fr(),Mt=it();var H=Mt.memoizedState;return H===null?(L={current:L},Mt.memoizedState=L):H},useState:function(L){return nt(ut,L)},useInsertionEffect:He,useLayoutEffect:function(){},useCallback:function(L,H){return $t(function(){return L},H)},useImperativeHandle:He,useEffect:He,useDebugValue:He,useDeferredValue:function(L){return fr(),L},useTransition:function(){return fr(),[!1,ne]},useId:function(){var L=Ft.treeContext,H=L.overflow;L=L.id,L=(L&~(1<<32-pr(L)-1)).toString(32)+H;var X=Ye;if(X===null)throw Error(e(404));return H=sr++,L=":"+X.idPrefix+"R"+L,0<H&&(L+="H"+H.toString(32)),L+":"},useMutableSource:function(L,H){return fr(),H(L._source)},useSyncExternalStore:function(L,H,X){if(X===void 0)throw Error(e(407));return X()}},Ye=null,xt=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Tt(L){return console.error(L),null}function kt(){}function wt(L,H,X,ie,Pe,Re,Ve,ht,Pt){var Ht=[],Bt=new Set;return H={destination:null,responseState:H,progressiveChunkSize:ie===void 0?12800:ie,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Bt,pingedTasks:Ht,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Pe===void 0?Tt:Pe,onAllReady:kt,onShellReady:Ve===void 0?kt:Ve,onShellError:kt,onFatalError:kt},X=Gt(H,0,null,X,!1,!1),X.parentFlushed=!0,L=or(H,L,null,X,Bt,Ke,null,It),Ht.push(L),H}function or(L,H,X,ie,Pe,Re,Ve,ht){L.allPendingTasks++,X===null?L.pendingRootTasks++:X.pendingTasks++;var Pt={node:H,ping:function(){var Ht=L.pingedTasks;Ht.push(Pt),Ht.length===1&&Rn(L)},blockedBoundary:X,blockedSegment:ie,abortSet:Pe,legacyContext:Re,context:Ve,treeContext:ht};return Pe.add(Pt),Pt}function Gt(L,H,X,ie,Pe,Re){return{status:0,id:-1,index:H,parentFlushed:!1,chunks:[],children:[],formatContext:ie,boundary:X,lastPushedText:Pe,textEmbedded:Re}}function rr(L,H){if(L=L.onError(H),L!=null&&typeof L!="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 L+'" instead');return L}function gr(L,H){var X=L.onShellError;X(H),X=L.onFatalError,X(H),L.destination!==null?(L.status=2,L.destination.destroy(H)):(L.status=1,L.fatalError=H)}function Kt(L,H,X,ie,Pe){for(mt={},Ft=H,sr=0,L=X(ie,Pe);qt;)qt=!1,sr=0,_r+=1,Mt=null,L=X(ie,Pe);return Fe(),L}function jr(L,H,X,ie){var Pe=X.render(),Re=ie.childContextTypes;if(Re!=null){var Ve=H.legacyContext;if(typeof X.getChildContext!="function")ie=Ve;else{X=X.getChildContext();for(var ht in X)if(!(ht in Re))throw Error(e(108,De(ie)||"Unknown",ht));ie=ce({},Ve,X)}H.legacyContext=ie,Fr(L,H,Pe),H.legacyContext=Ve}else Fr(L,H,Pe)}function zr(L,H){if(L&&L.defaultProps){H=ce({},H),L=L.defaultProps;for(var X in L)H[X]===void 0&&(H[X]=L[X]);return H}return H}function vn(L,H,X,ie,Pe){if(typeof X=="function")if(X.prototype&&X.prototype.isReactComponent){Pe=yt(X,H.legacyContext);var Re=X.contextType;Re=new X(ie,typeof Re=="object"&&Re!==null?Re._currentValue2:Pe),Ze(Re,X,ie,Pe),jr(L,H,Re,X)}else{Re=yt(X,H.legacyContext),Pe=Kt(L,H,X,ie,Re);var Ve=sr!==0;if(typeof Pe=="object"&&Pe!==null&&typeof Pe.render=="function"&&Pe.$$typeof===void 0)Ze(Pe,X,ie,Re),jr(L,H,Pe,X);else if(Ve){ie=H.treeContext,H.treeContext=Ot(ie,1,0);try{Fr(L,H,Pe)}finally{H.treeContext=ie}}else Fr(L,H,Pe)}else if(typeof X=="string"){switch(Pe=H.blockedSegment,Re=V(Pe.chunks,X,ie,L.responseState,Pe.formatContext),Pe.lastPushedText=!1,Ve=Pe.formatContext,Pe.formatContext=R(Ve,X,ie),hn(L,H,Re),Pe.formatContext=Ve,X){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:Pe.chunks.push("</",X,">")}Pe.lastPushedText=!1}else{switch(X){case $e:case ot:case oe:case we:case Ie:Fr(L,H,ie.children);return;case _e:Fr(L,H,ie.children);return;case Ne:throw Error(e(343));case Se:e:{X=H.blockedBoundary,Pe=H.blockedSegment,Re=ie.fallback,ie=ie.children,Ve=new Set;var ht={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Ve,errorDigest:null},Pt=Gt(L,Pe.chunks.length,ht,Pe.formatContext,!1,!1);Pe.children.push(Pt),Pe.lastPushedText=!1;var Ht=Gt(L,0,null,Pe.formatContext,!1,!1);Ht.parentFlushed=!0,H.blockedBoundary=ht,H.blockedSegment=Ht;try{if(hn(L,H,ie),L.responseState.generateStaticMarkup||Ht.lastPushedText&&Ht.textEmbedded&&Ht.chunks.push("<!-- -->"),Ht.status=1,sn(ht,Ht),ht.pendingTasks===0)break e}catch(Bt){Ht.status=4,ht.forceClientRender=!0,ht.errorDigest=rr(L,Bt)}finally{H.blockedBoundary=X,H.blockedSegment=Pe}H=or(L,Re,X,Pt,Ve,H.legacyContext,H.context,H.treeContext),L.pingedTasks.push(H)}return}if(typeof X=="object"&&X!==null)switch(X.$$typeof){case We:if(ie=Kt(L,H,X.render,ie,Pe),sr!==0){X=H.treeContext,H.treeContext=Ot(X,1,0);try{Fr(L,H,ie)}finally{H.treeContext=X}}else Fr(L,H,ie);return;case Ce:X=X.type,ie=zr(X,ie),vn(L,H,X,ie,Pe);return;case Oe:if(Pe=ie.children,X=X._context,ie=ie.value,Re=X._currentValue2,X._currentValue2=ie,Ve=_t,_t=ie={parent:Ve,depth:Ve===null?0:Ve.depth+1,context:X,parentValue:Re,value:ie},H.context=ie,Fr(L,H,Pe),L=_t,L===null)throw Error(e(403));ie=L.parentValue,L.context._currentValue2=ie===tt?L.context._defaultValue:ie,L=_t=L.parent,H.context=L;return;case Ue:ie=ie.children,ie=ie(X._currentValue2),Fr(L,H,ie);return;case Te:Pe=X._init,X=Pe(X._payload),ie=zr(X,ie),vn(L,H,X,ie,void 0);return}throw Error(e(130,X==null?X:typeof X,""))}}function Fr(L,H,X){if(H.node=X,typeof X=="object"&&X!==null){switch(X.$$typeof){case pe:vn(L,H,X.type,X.props,X.ref);return;case ye:throw Error(e(257));case Te:var ie=X._init;X=ie(X._payload),Fr(L,H,X);return}if(S(X)){kn(L,H,X);return}if(X===null||typeof X!="object"?ie=null:(ie=at&&X[at]||X["@@iterator"],ie=typeof ie=="function"?ie:null),ie&&(ie=ie.call(X))){if(X=ie.next(),!X.done){var Pe=[];do Pe.push(X.value),X=ie.next();while(!X.done);kn(L,H,Pe)}return}throw L=Object.prototype.toString.call(X),Error(e(31,L==="[object Object]"?"object with keys {"+Object.keys(X).join(", ")+"}":L))}typeof X=="string"?(ie=H.blockedSegment,ie.lastPushedText=te(H.blockedSegment.chunks,X,L.responseState,ie.lastPushedText)):typeof X=="number"&&(ie=H.blockedSegment,ie.lastPushedText=te(H.blockedSegment.chunks,""+X,L.responseState,ie.lastPushedText))}function kn(L,H,X){for(var ie=X.length,Pe=0;Pe<ie;Pe++){var Re=H.treeContext;H.treeContext=Ot(Re,ie,Pe);try{hn(L,H,X[Pe])}finally{H.treeContext=Re}}}function hn(L,H,X){var ie=H.blockedSegment.formatContext,Pe=H.legacyContext,Re=H.context;try{return Fr(L,H,X)}catch(Pt){if(Fe(),typeof Pt=="object"&&Pt!==null&&typeof Pt.then=="function"){X=Pt;var Ve=H.blockedSegment,ht=Gt(L,Ve.chunks.length,null,Ve.formatContext,Ve.lastPushedText,!0);Ve.children.push(ht),Ve.lastPushedText=!1,L=or(L,H.node,H.blockedBoundary,ht,H.abortSet,H.legacyContext,H.context,H.treeContext).ping,X.then(L,L),H.blockedSegment.formatContext=ie,H.legacyContext=Pe,H.context=Re,Dt(Re)}else throw H.blockedSegment.formatContext=ie,H.legacyContext=Pe,H.context=Re,Dt(Re),Pt}}function Jn(L){var H=L.blockedBoundary;L=L.blockedSegment,L.status=3,Fn(this,H,L)}function Qn(L,H,X){var ie=L.blockedBoundary;L.blockedSegment.status=3,ie===null?(H.allPendingTasks--,H.status!==2&&(H.status=2,H.destination!==null&&H.destination.push(null))):(ie.pendingTasks--,ie.forceClientRender||(ie.forceClientRender=!0,L=X===void 0?Error(e(432)):X,ie.errorDigest=H.onError(L),ie.parentFlushed&&H.clientRenderedBoundaries.push(ie)),ie.fallbackAbortableTasks.forEach(function(Pe){return Qn(Pe,H,X)}),ie.fallbackAbortableTasks.clear(),H.allPendingTasks--,H.allPendingTasks===0&&(ie=H.onAllReady,ie()))}function sn(L,H){if(H.chunks.length===0&&H.children.length===1&&H.children[0].boundary===null){var X=H.children[0];X.id=H.id,X.parentFlushed=!0,X.status===1&&sn(L,X)}else L.completedSegments.push(H)}function Fn(L,H,X){if(H===null){if(X.parentFlushed){if(L.completedRootSegment!==null)throw Error(e(389));L.completedRootSegment=X}L.pendingRootTasks--,L.pendingRootTasks===0&&(L.onShellError=kt,H=L.onShellReady,H())}else H.pendingTasks--,H.forceClientRender||(H.pendingTasks===0?(X.parentFlushed&&X.status===1&&sn(H,X),H.parentFlushed&&L.completedBoundaries.push(H),H.fallbackAbortableTasks.forEach(Jn,L),H.fallbackAbortableTasks.clear()):X.parentFlushed&&X.status===1&&(sn(H,X),H.completedSegments.length===1&&H.parentFlushed&&L.partialBoundaries.push(H)));L.allPendingTasks--,L.allPendingTasks===0&&(L=L.onAllReady,L())}function Rn(L){if(L.status!==2){var H=_t,X=xt.current;xt.current=xe;var ie=Ye;Ye=L.responseState;try{var Pe=L.pingedTasks,Re;for(Re=0;Re<Pe.length;Re++){var Ve=Pe[Re],ht=L,Pt=Ve.blockedSegment;if(Pt.status===0){Dt(Ve.context);try{Fr(ht,Ve,Ve.node),ht.responseState.generateStaticMarkup||Pt.lastPushedText&&Pt.textEmbedded&&Pt.chunks.push("<!-- -->"),Ve.abortSet.delete(Ve),Pt.status=1,Fn(ht,Ve.blockedBoundary,Pt)}catch(xn){if(Fe(),typeof xn=="object"&&xn!==null&&typeof xn.then=="function"){var Ht=Ve.ping;xn.then(Ht,Ht)}else{Ve.abortSet.delete(Ve),Pt.status=4;var Bt=Ve.blockedBoundary,Sr=xn,Jr=rr(ht,Sr);if(Bt===null?gr(ht,Sr):(Bt.pendingTasks--,Bt.forceClientRender||(Bt.forceClientRender=!0,Bt.errorDigest=Jr,Bt.parentFlushed&&ht.clientRenderedBoundaries.push(Bt))),ht.allPendingTasks--,ht.allPendingTasks===0){var _n=ht.onAllReady;_n()}}}finally{}}}Pe.splice(0,Re),L.destination!==null&&pn(L,L.destination)}catch(xn){rr(L,xn),gr(L,xn)}finally{Ye=ie,xt.current=X,X===xe&&Dt(H)}}}function vo(L,H,X){switch(X.parentFlushed=!0,X.status){case 0:var ie=X.id=L.nextSegmentId++;return X.lastPushedText=!1,X.textEmbedded=!1,L=L.responseState,H.push('<template id="'),H.push(L.placeholderPrefix),L=ie.toString(16),H.push(L),H.push('"></template>');case 1:X.status=2;var Pe=!0;ie=X.chunks;var Re=0;X=X.children;for(var Ve=0;Ve<X.length;Ve++){for(Pe=X[Ve];Re<Pe.index;Re++)H.push(ie[Re]);Pe=Ao(L,H,Pe)}for(;Re<ie.length-1;Re++)H.push(ie[Re]);return Re<ie.length&&(Pe=H.push(ie[Re])),Pe;default:throw Error(e(390))}}function Ao(L,H,X){var ie=X.boundary;if(ie===null)return vo(L,H,X);if(ie.parentFlushed=!0,ie.forceClientRender)return L.responseState.generateStaticMarkup||(ie=ie.errorDigest,H.push("<!--$!-->"),H.push("<template"),ie&&(H.push(' data-dgst="'),ie=b(ie),H.push(ie),H.push('"')),H.push("></template>")),vo(L,H,X),L=L.responseState.generateStaticMarkup?!0:H.push("<!--/$-->"),L;if(0<ie.pendingTasks){ie.rootSegmentID=L.nextSegmentId++,0<ie.completedSegments.length&&L.partialBoundaries.push(ie);var Pe=L.responseState,Re=Pe.nextSuspenseID++;return Pe=Pe.boundaryPrefix+Re.toString(16),ie=ie.id=Pe,ee(H,L.responseState,ie),vo(L,H,X),H.push("<!--/$-->")}if(ie.byteSize>L.progressiveChunkSize)return ie.rootSegmentID=L.nextSegmentId++,L.completedBoundaries.push(ie),ee(H,L.responseState,ie.id),vo(L,H,X),H.push("<!--/$-->");if(L.responseState.generateStaticMarkup||H.push("<!--$-->"),X=ie.completedSegments,X.length!==1)throw Error(e(391));return Ao(L,H,X[0]),L=L.responseState.generateStaticMarkup?!0:H.push("<!--/$-->"),L}function Eo(L,H,X){return ue(H,L.responseState,X.formatContext,X.id),Ao(L,H,X),le(H,X.formatContext)}function On(L,H,X){for(var ie=X.completedSegments,Pe=0;Pe<ie.length;Pe++)In(L,H,X,ie[Pe]);if(ie.length=0,L=L.responseState,ie=X.id,X=X.rootSegmentID,H.push(L.startInlineScript),L.sentCompleteBoundaryFunction?H.push('$RC("'):(L.sentCompleteBoundaryFunction=!0,H.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("')),ie===null)throw Error(e(395));return X=X.toString(16),H.push(ie),H.push('","'),H.push(L.segmentPrefix),H.push(X),H.push('")<\/script>')}function In(L,H,X,ie){if(ie.status===2)return!0;var Pe=ie.id;if(Pe===-1){if((ie.id=X.rootSegmentID)===-1)throw Error(e(392));return Eo(L,H,ie)}return Eo(L,H,ie),L=L.responseState,H.push(L.startInlineScript),L.sentCompleteSegmentFunction?H.push('$RS("'):(L.sentCompleteSegmentFunction=!0,H.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("')),H.push(L.segmentPrefix),Pe=Pe.toString(16),H.push(Pe),H.push('","'),H.push(L.placeholderPrefix),H.push(Pe),H.push('")<\/script>')}function pn(L,H){try{var X=L.completedRootSegment;if(X!==null&&L.pendingRootTasks===0){Ao(L,H,X),L.completedRootSegment=null;var ie=L.responseState.bootstrapChunks;for(X=0;X<ie.length-1;X++)H.push(ie[X]);X<ie.length&&H.push(ie[X])}var Pe=L.clientRenderedBoundaries,Re;for(Re=0;Re<Pe.length;Re++){var Ve=Pe[Re];ie=H;var ht=L.responseState,Pt=Ve.id,Ht=Ve.errorDigest,Bt=Ve.errorMessage,Sr=Ve.errorComponentStack;if(ie.push(ht.startInlineScript),ht.sentClientRenderFunction?ie.push('$RX("'):(ht.sentClientRenderFunction=!0,ie.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("')),Pt===null)throw Error(e(395));if(ie.push(Pt),ie.push('"'),Ht||Bt||Sr){ie.push(",");var Jr=fe(Ht||"");ie.push(Jr)}if(Bt||Sr){ie.push(",");var _n=fe(Bt||"");ie.push(_n)}if(Sr){ie.push(",");var xn=fe(Sr);ie.push(xn)}if(!ie.push(")<\/script>")){L.destination=null,Re++,Pe.splice(0,Re);return}}Pe.splice(0,Re);var uo=L.completedBoundaries;for(Re=0;Re<uo.length;Re++)if(!On(L,H,uo[Re])){L.destination=null,Re++,uo.splice(0,Re);return}uo.splice(0,Re);var $n=L.partialBoundaries;for(Re=0;Re<$n.length;Re++){var To=$n[Re];e:{Pe=L,Ve=H;var en=To.completedSegments;for(ht=0;ht<en.length;ht++)if(!In(Pe,Ve,To,en[ht])){ht++,en.splice(0,ht);var yo=!1;break e}en.splice(0,ht),yo=!0}if(!yo){L.destination=null,Re++,$n.splice(0,Re);return}}$n.splice(0,Re);var Un=L.completedBoundaries;for(Re=0;Re<Un.length;Re++)if(!On(L,H,Un[Re])){L.destination=null,Re++,Un.splice(0,Re);return}Un.splice(0,Re)}finally{L.allPendingTasks===0&&L.pingedTasks.length===0&&L.clientRenderedBoundaries.length===0&&L.completedBoundaries.length===0&&H.push(null)}}function eo(L,H){try{var X=L.abortableTasks;X.forEach(function(ie){return Qn(ie,L,H)}),X.clear(),L.destination!==null&&pn(L,L.destination)}catch(ie){rr(L,ie),gr(L,ie)}}function an(){}function yn(L,H,X,ie){var Pe=!1,Re=null,Ve="",ht={push:function(Ht){return Ht!==null&&(Ve+=Ht),!0},destroy:function(Ht){Pe=!0,Re=Ht}},Pt=!1;if(L=wt(L,ve(X,H?H.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,an,void 0,function(){Pt=!0}),Rn(L),eo(L,ie),L.status===1)L.status=2,ht.destroy(L.fatalError);else if(L.status!==2&&L.destination===null){L.destination=ht;try{pn(L,ht)}catch(Ht){rr(L,Ht),gr(L,Ht)}}if(Pe)throw Re;if(!Pt)throw Error(e(426));return Ve}return Zc.renderToNodeStream=function(){throw Error(e(207))},Zc.renderToStaticMarkup=function(L,H){return yn(L,H,!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')},Zc.renderToStaticNodeStream=function(){throw Error(e(208))},Zc.renderToString=function(L,H){return yn(L,H,!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')},Zc.version="18.2.0",Zc}var Id={};/**
|
66
|
+
`),Re;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":L.push(W(H));for(var xn in X)if(t.call(X,xn)&&(Re=X[xn],Re!=null))switch(xn){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,H));default:j(L,ie,xn,Re)}return L.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 G(L,X,H,ie);case"html":return Pe.insertionMode===0&&L.push("<!DOCTYPE html>"),G(L,X,H,ie);default:if(H.indexOf("-")===-1&&typeof X.is!="string")return G(L,X,H,ie);L.push(W(H)),Ve=Re=null;for(Ht in X)if(t.call(X,Ht)&&(ht=X[Ht],ht!=null))switch(Ht){case"children":Re=ht;break;case"dangerouslySetInnerHTML":Ve=ht;break;case"style":P(L,ie,ht);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:u(Ht)&&typeof ht!="function"&&typeof ht!="symbol"&&L.push(" ",Ht,'="',b(ht),'"')}return L.push(">"),q(L,Ve,Re),Re}}function ee(L,H,X){if(L.push('<!--$?--><template id="'),X===null)throw Error(e(395));return L.push(X),L.push('"></template>')}function ue(L,H,X,ie){switch(X.insertionMode){case 0:case 1:return L.push('<div hidden id="'),L.push(H.segmentPrefix),H=ie.toString(16),L.push(H),L.push('">');case 2:return L.push('<svg aria-hidden="true" style="display:none" id="'),L.push(H.segmentPrefix),H=ie.toString(16),L.push(H),L.push('">');case 3:return L.push('<math aria-hidden="true" style="display:none" id="'),L.push(H.segmentPrefix),H=ie.toString(16),L.push(H),L.push('">');case 4:return L.push('<table hidden id="'),L.push(H.segmentPrefix),H=ie.toString(16),L.push(H),L.push('">');case 5:return L.push('<table hidden><tbody id="'),L.push(H.segmentPrefix),H=ie.toString(16),L.push(H),L.push('">');case 6:return L.push('<table hidden><tr id="'),L.push(H.segmentPrefix),H=ie.toString(16),L.push(H),L.push('">');case 7:return L.push('<table hidden><colgroup id="'),L.push(H.segmentPrefix),H=ie.toString(16),L.push(H),L.push('">');default:throw Error(e(397))}}function le(L,H){switch(H.insertionMode){case 0:case 1:return L.push("</div>");case 2:return L.push("</svg>");case 3:return L.push("</math>");case 4:return L.push("</table>");case 5:return L.push("</tbody></table>");case 6:return L.push("</tr></table>");case 7:return L.push("</colgroup></table>");default:throw Error(e(397))}}var de=/[<\u2028\u2029]/g;function fe(L){return JSON.stringify(L).replace(de,function(H){switch(H){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 ve(L,H){return H=H===void 0?"":H,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:H+"P:",segmentPrefix:H+"S:",boundaryPrefix:H+"B:",idPrefix:H,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:L}}function te(L,H,X,ie){return X.generateStaticMarkup?(L.push(b(H)),!1):(H===""?L=ie:(ie&&L.push("<!-- -->"),L.push(b(H)),L=!0),L)}var ce=Object.assign,pe=Symbol.for("react.element"),ye=Symbol.for("react.portal"),Ie=Symbol.for("react.fragment"),oe=Symbol.for("react.strict_mode"),we=Symbol.for("react.profiler"),Oe=Symbol.for("react.provider"),Ue=Symbol.for("react.context"),We=Symbol.for("react.forward_ref"),Se=Symbol.for("react.suspense"),_e=Symbol.for("react.suspense_list"),Ce=Symbol.for("react.memo"),Te=Symbol.for("react.lazy"),Ne=Symbol.for("react.scope"),ot=Symbol.for("react.debug_trace_mode"),$e=Symbol.for("react.legacy_hidden"),tt=Symbol.for("react.default_value"),at=Symbol.iterator;function De(L){if(L==null)return null;if(typeof L=="function")return L.displayName||L.name||null;if(typeof L=="string")return L;switch(L){case Ie:return"Fragment";case ye:return"Portal";case we:return"Profiler";case oe:return"StrictMode";case Se:return"Suspense";case _e:return"SuspenseList"}if(typeof L=="object")switch(L.$$typeof){case Ue:return(L.displayName||"Context")+".Consumer";case Oe:return(L._context.displayName||"Context")+".Provider";case We:var H=L.render;return L=L.displayName,L||(L=H.displayName||H.name||"",L=L!==""?"ForwardRef("+L+")":"ForwardRef"),L;case Ce:return H=L.displayName||null,H!==null?H:De(L.type)||"Memo";case Te:H=L._payload,L=L._init;try{return De(L(H))}catch{}}return null}var Ke={};function yt(L,H){if(L=L.contextTypes,!L)return Ke;var X={},ie;for(ie in L)X[ie]=H[ie];return X}var bt=null;function _t(L,H){if(L!==H){L.context._currentValue2=L.parentValue,L=L.parent;var X=H.parent;if(L===null){if(X!==null)throw Error(e(401))}else{if(X===null)throw Error(e(401));_t(L,X)}H.context._currentValue2=H.value}}function At(L){L.context._currentValue2=L.parentValue,L=L.parent,L!==null&&At(L)}function qe(L){var H=L.parent;H!==null&&qe(H),L.context._currentValue2=L.value}function Qe(L,H){if(L.context._currentValue2=L.parentValue,L=L.parent,L===null)throw Error(e(402));L.depth===H.depth?_t(L,H):Qe(L,H)}function St(L,H){var X=H.parent;if(X===null)throw Error(e(402));L.depth===X.depth?_t(L,X):St(L,X),H.context._currentValue2=H.value}function Dt(L){var H=bt;H!==L&&(H===null?qe(L):L===null?At(H):H.depth===L.depth?_t(H,L):H.depth>L.depth?Qe(H,L):St(H,L),bt=L)}var Et={isMounted:function(){return!1},enqueueSetState:function(L,H){L=L._reactInternals,L.queue!==null&&L.queue.push(H)},enqueueReplaceState:function(L,H){L=L._reactInternals,L.replace=!0,L.queue=[H]},enqueueForceUpdate:function(){}};function Ze(L,H,X,ie){var Pe=L.state!==void 0?L.state:null;L.updater=Et,L.props=X,L.state=Pe;var Re={queue:[],replace:!1};L._reactInternals=Re;var Ve=H.contextType;if(L.context=typeof Ve=="object"&&Ve!==null?Ve._currentValue2:ie,Ve=H.getDerivedStateFromProps,typeof Ve=="function"&&(Ve=Ve(X,Pe),Pe=Ve==null?Pe:ce({},Pe,Ve),L.state=Pe),typeof H.getDerivedStateFromProps!="function"&&typeof L.getSnapshotBeforeUpdate!="function"&&(typeof L.UNSAFE_componentWillMount=="function"||typeof L.componentWillMount=="function"))if(H=L.state,typeof L.componentWillMount=="function"&&L.componentWillMount(),typeof L.UNSAFE_componentWillMount=="function"&&L.UNSAFE_componentWillMount(),H!==L.state&&Et.enqueueReplaceState(L,L.state,null),Re.queue!==null&&0<Re.queue.length)if(H=Re.queue,Ve=Re.replace,Re.queue=null,Re.replace=!1,Ve&&H.length===1)L.state=H[0];else{for(Re=Ve?H[0]:L.state,Pe=!0,Ve=Ve?1:0;Ve<H.length;Ve++){var ht=H[Ve];ht=typeof ht=="function"?ht.call(L,Re,X,ie):ht,ht!=null&&(Pe?(Pe=!1,Re=ce({},Re,ht)):ce(Re,ht))}L.state=Re}else Re.queue=null}var It={id:1,overflow:""};function Ot(L,H,X){var ie=L.id;L=L.overflow;var Pe=32-pr(ie)-1;ie&=~(1<<Pe),X+=1;var Re=32-pr(H)+Pe;if(30<Re){var Ve=Pe-Pe%5;return Re=(ie&(1<<Ve)-1).toString(32),ie>>=Ve,Pe-=Ve,{id:1<<32-pr(H)+Pe|X<<Pe|ie,overflow:Re+L}}return{id:1<<Re|X<<Pe|ie,overflow:L}}var pr=Math.clz32?Math.clz32:Ee,br=Math.log,Or=Math.LN2;function Ee(L){return L>>>=0,L===0?32:31-(br(L)/Or|0)|0}function ae(L,H){return L===H&&(L!==0||1/L===1/H)||L!==L&&H!==H}var st=typeof Object.is=="function"?Object.is:ae,mt=null,Ft=null,Rt=null,Mt=null,Qt=!1,qt=!1,sr=0,er=null,_r=0;function fr(){if(mt===null)throw Error(e(321));return mt}function lt(){if(0<_r)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function it(){return Mt===null?Rt===null?(Qt=!1,Rt=Mt=lt()):(Qt=!0,Mt=Rt):Mt.next===null?(Qt=!1,Mt=Mt.next=lt()):(Qt=!0,Mt=Mt.next),Mt}function Fe(){Ft=mt=null,qt=!1,Rt=null,_r=0,Mt=er=null}function ut(L,H){return typeof H=="function"?H(L):H}function nt(L,H,X){if(mt=fr(),Mt=it(),Qt){var ie=Mt.queue;if(H=ie.dispatch,er!==null&&(X=er.get(ie),X!==void 0)){er.delete(ie),ie=Mt.memoizedState;do ie=L(ie,X.action),X=X.next;while(X!==null);return Mt.memoizedState=ie,[ie,H]}return[Mt.memoizedState,H]}return L=L===ut?typeof H=="function"?H():H:X!==void 0?X(H):H,Mt.memoizedState=L,L=Mt.queue={last:null,dispatch:null},L=L.dispatch=wr.bind(null,mt,L),[Mt.memoizedState,L]}function $t(L,H){if(mt=fr(),Mt=it(),H=H===void 0?null:H,Mt!==null){var X=Mt.memoizedState;if(X!==null&&H!==null){var ie=X[1];e:if(ie===null)ie=!1;else{for(var Pe=0;Pe<ie.length&&Pe<H.length;Pe++)if(!st(H[Pe],ie[Pe])){ie=!1;break e}ie=!0}if(ie)return X[0]}}return L=L(),Mt.memoizedState=[L,H],L}function wr(L,H,X){if(25<=_r)throw Error(e(301));if(L===mt)if(qt=!0,L={action:X,next:null},er===null&&(er=new Map),X=er.get(H),X===void 0)er.set(H,L);else{for(H=X;H.next!==null;)H=H.next;H.next=L}}function ne(){throw Error(e(394))}function He(){}var xe={readContext:function(L){return L._currentValue2},useContext:function(L){return fr(),L._currentValue2},useMemo:$t,useReducer:nt,useRef:function(L){mt=fr(),Mt=it();var H=Mt.memoizedState;return H===null?(L={current:L},Mt.memoizedState=L):H},useState:function(L){return nt(ut,L)},useInsertionEffect:He,useLayoutEffect:function(){},useCallback:function(L,H){return $t(function(){return L},H)},useImperativeHandle:He,useEffect:He,useDebugValue:He,useDeferredValue:function(L){return fr(),L},useTransition:function(){return fr(),[!1,ne]},useId:function(){var L=Ft.treeContext,H=L.overflow;L=L.id,L=(L&~(1<<32-pr(L)-1)).toString(32)+H;var X=Ye;if(X===null)throw Error(e(404));return H=sr++,L=":"+X.idPrefix+"R"+L,0<H&&(L+="H"+H.toString(32)),L+":"},useMutableSource:function(L,H){return fr(),H(L._source)},useSyncExternalStore:function(L,H,X){if(X===void 0)throw Error(e(407));return X()}},Ye=null,xt=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Tt(L){return console.error(L),null}function kt(){}function wt(L,H,X,ie,Pe,Re,Ve,ht,Pt){var Ht=[],Bt=new Set;return H={destination:null,responseState:H,progressiveChunkSize:ie===void 0?12800:ie,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Bt,pingedTasks:Ht,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Pe===void 0?Tt:Pe,onAllReady:kt,onShellReady:Ve===void 0?kt:Ve,onShellError:kt,onFatalError:kt},X=Gt(H,0,null,X,!1,!1),X.parentFlushed=!0,L=or(H,L,null,X,Bt,Ke,null,It),Ht.push(L),H}function or(L,H,X,ie,Pe,Re,Ve,ht){L.allPendingTasks++,X===null?L.pendingRootTasks++:X.pendingTasks++;var Pt={node:H,ping:function(){var Ht=L.pingedTasks;Ht.push(Pt),Ht.length===1&&Rn(L)},blockedBoundary:X,blockedSegment:ie,abortSet:Pe,legacyContext:Re,context:Ve,treeContext:ht};return Pe.add(Pt),Pt}function Gt(L,H,X,ie,Pe,Re){return{status:0,id:-1,index:H,parentFlushed:!1,chunks:[],children:[],formatContext:ie,boundary:X,lastPushedText:Pe,textEmbedded:Re}}function rr(L,H){if(L=L.onError(H),L!=null&&typeof L!="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 L+'" instead');return L}function gr(L,H){var X=L.onShellError;X(H),X=L.onFatalError,X(H),L.destination!==null?(L.status=2,L.destination.destroy(H)):(L.status=1,L.fatalError=H)}function Kt(L,H,X,ie,Pe){for(mt={},Ft=H,sr=0,L=X(ie,Pe);qt;)qt=!1,sr=0,_r+=1,Mt=null,L=X(ie,Pe);return Fe(),L}function jr(L,H,X,ie){var Pe=X.render(),Re=ie.childContextTypes;if(Re!=null){var Ve=H.legacyContext;if(typeof X.getChildContext!="function")ie=Ve;else{X=X.getChildContext();for(var ht in X)if(!(ht in Re))throw Error(e(108,De(ie)||"Unknown",ht));ie=ce({},Ve,X)}H.legacyContext=ie,Fr(L,H,Pe),H.legacyContext=Ve}else Fr(L,H,Pe)}function zr(L,H){if(L&&L.defaultProps){H=ce({},H),L=L.defaultProps;for(var X in L)H[X]===void 0&&(H[X]=L[X]);return H}return H}function vn(L,H,X,ie,Pe){if(typeof X=="function")if(X.prototype&&X.prototype.isReactComponent){Pe=yt(X,H.legacyContext);var Re=X.contextType;Re=new X(ie,typeof Re=="object"&&Re!==null?Re._currentValue2:Pe),Ze(Re,X,ie,Pe),jr(L,H,Re,X)}else{Re=yt(X,H.legacyContext),Pe=Kt(L,H,X,ie,Re);var Ve=sr!==0;if(typeof Pe=="object"&&Pe!==null&&typeof Pe.render=="function"&&Pe.$$typeof===void 0)Ze(Pe,X,ie,Re),jr(L,H,Pe,X);else if(Ve){ie=H.treeContext,H.treeContext=Ot(ie,1,0);try{Fr(L,H,Pe)}finally{H.treeContext=ie}}else Fr(L,H,Pe)}else if(typeof X=="string"){switch(Pe=H.blockedSegment,Re=V(Pe.chunks,X,ie,L.responseState,Pe.formatContext),Pe.lastPushedText=!1,Ve=Pe.formatContext,Pe.formatContext=R(Ve,X,ie),hn(L,H,Re),Pe.formatContext=Ve,X){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:Pe.chunks.push("</",X,">")}Pe.lastPushedText=!1}else{switch(X){case $e:case ot:case oe:case we:case Ie:Fr(L,H,ie.children);return;case _e:Fr(L,H,ie.children);return;case Ne:throw Error(e(343));case Se:e:{X=H.blockedBoundary,Pe=H.blockedSegment,Re=ie.fallback,ie=ie.children,Ve=new Set;var ht={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Ve,errorDigest:null},Pt=Gt(L,Pe.chunks.length,ht,Pe.formatContext,!1,!1);Pe.children.push(Pt),Pe.lastPushedText=!1;var Ht=Gt(L,0,null,Pe.formatContext,!1,!1);Ht.parentFlushed=!0,H.blockedBoundary=ht,H.blockedSegment=Ht;try{if(hn(L,H,ie),L.responseState.generateStaticMarkup||Ht.lastPushedText&&Ht.textEmbedded&&Ht.chunks.push("<!-- -->"),Ht.status=1,sn(ht,Ht),ht.pendingTasks===0)break e}catch(Bt){Ht.status=4,ht.forceClientRender=!0,ht.errorDigest=rr(L,Bt)}finally{H.blockedBoundary=X,H.blockedSegment=Pe}H=or(L,Re,X,Pt,Ve,H.legacyContext,H.context,H.treeContext),L.pingedTasks.push(H)}return}if(typeof X=="object"&&X!==null)switch(X.$$typeof){case We:if(ie=Kt(L,H,X.render,ie,Pe),sr!==0){X=H.treeContext,H.treeContext=Ot(X,1,0);try{Fr(L,H,ie)}finally{H.treeContext=X}}else Fr(L,H,ie);return;case Ce:X=X.type,ie=zr(X,ie),vn(L,H,X,ie,Pe);return;case Oe:if(Pe=ie.children,X=X._context,ie=ie.value,Re=X._currentValue2,X._currentValue2=ie,Ve=bt,bt=ie={parent:Ve,depth:Ve===null?0:Ve.depth+1,context:X,parentValue:Re,value:ie},H.context=ie,Fr(L,H,Pe),L=bt,L===null)throw Error(e(403));ie=L.parentValue,L.context._currentValue2=ie===tt?L.context._defaultValue:ie,L=bt=L.parent,H.context=L;return;case Ue:ie=ie.children,ie=ie(X._currentValue2),Fr(L,H,ie);return;case Te:Pe=X._init,X=Pe(X._payload),ie=zr(X,ie),vn(L,H,X,ie,void 0);return}throw Error(e(130,X==null?X:typeof X,""))}}function Fr(L,H,X){if(H.node=X,typeof X=="object"&&X!==null){switch(X.$$typeof){case pe:vn(L,H,X.type,X.props,X.ref);return;case ye:throw Error(e(257));case Te:var ie=X._init;X=ie(X._payload),Fr(L,H,X);return}if(S(X)){kn(L,H,X);return}if(X===null||typeof X!="object"?ie=null:(ie=at&&X[at]||X["@@iterator"],ie=typeof ie=="function"?ie:null),ie&&(ie=ie.call(X))){if(X=ie.next(),!X.done){var Pe=[];do Pe.push(X.value),X=ie.next();while(!X.done);kn(L,H,Pe)}return}throw L=Object.prototype.toString.call(X),Error(e(31,L==="[object Object]"?"object with keys {"+Object.keys(X).join(", ")+"}":L))}typeof X=="string"?(ie=H.blockedSegment,ie.lastPushedText=te(H.blockedSegment.chunks,X,L.responseState,ie.lastPushedText)):typeof X=="number"&&(ie=H.blockedSegment,ie.lastPushedText=te(H.blockedSegment.chunks,""+X,L.responseState,ie.lastPushedText))}function kn(L,H,X){for(var ie=X.length,Pe=0;Pe<ie;Pe++){var Re=H.treeContext;H.treeContext=Ot(Re,ie,Pe);try{hn(L,H,X[Pe])}finally{H.treeContext=Re}}}function hn(L,H,X){var ie=H.blockedSegment.formatContext,Pe=H.legacyContext,Re=H.context;try{return Fr(L,H,X)}catch(Pt){if(Fe(),typeof Pt=="object"&&Pt!==null&&typeof Pt.then=="function"){X=Pt;var Ve=H.blockedSegment,ht=Gt(L,Ve.chunks.length,null,Ve.formatContext,Ve.lastPushedText,!0);Ve.children.push(ht),Ve.lastPushedText=!1,L=or(L,H.node,H.blockedBoundary,ht,H.abortSet,H.legacyContext,H.context,H.treeContext).ping,X.then(L,L),H.blockedSegment.formatContext=ie,H.legacyContext=Pe,H.context=Re,Dt(Re)}else throw H.blockedSegment.formatContext=ie,H.legacyContext=Pe,H.context=Re,Dt(Re),Pt}}function Jn(L){var H=L.blockedBoundary;L=L.blockedSegment,L.status=3,Fn(this,H,L)}function Qn(L,H,X){var ie=L.blockedBoundary;L.blockedSegment.status=3,ie===null?(H.allPendingTasks--,H.status!==2&&(H.status=2,H.destination!==null&&H.destination.push(null))):(ie.pendingTasks--,ie.forceClientRender||(ie.forceClientRender=!0,L=X===void 0?Error(e(432)):X,ie.errorDigest=H.onError(L),ie.parentFlushed&&H.clientRenderedBoundaries.push(ie)),ie.fallbackAbortableTasks.forEach(function(Pe){return Qn(Pe,H,X)}),ie.fallbackAbortableTasks.clear(),H.allPendingTasks--,H.allPendingTasks===0&&(ie=H.onAllReady,ie()))}function sn(L,H){if(H.chunks.length===0&&H.children.length===1&&H.children[0].boundary===null){var X=H.children[0];X.id=H.id,X.parentFlushed=!0,X.status===1&&sn(L,X)}else L.completedSegments.push(H)}function Fn(L,H,X){if(H===null){if(X.parentFlushed){if(L.completedRootSegment!==null)throw Error(e(389));L.completedRootSegment=X}L.pendingRootTasks--,L.pendingRootTasks===0&&(L.onShellError=kt,H=L.onShellReady,H())}else H.pendingTasks--,H.forceClientRender||(H.pendingTasks===0?(X.parentFlushed&&X.status===1&&sn(H,X),H.parentFlushed&&L.completedBoundaries.push(H),H.fallbackAbortableTasks.forEach(Jn,L),H.fallbackAbortableTasks.clear()):X.parentFlushed&&X.status===1&&(sn(H,X),H.completedSegments.length===1&&H.parentFlushed&&L.partialBoundaries.push(H)));L.allPendingTasks--,L.allPendingTasks===0&&(L=L.onAllReady,L())}function Rn(L){if(L.status!==2){var H=bt,X=xt.current;xt.current=xe;var ie=Ye;Ye=L.responseState;try{var Pe=L.pingedTasks,Re;for(Re=0;Re<Pe.length;Re++){var Ve=Pe[Re],ht=L,Pt=Ve.blockedSegment;if(Pt.status===0){Dt(Ve.context);try{Fr(ht,Ve,Ve.node),ht.responseState.generateStaticMarkup||Pt.lastPushedText&&Pt.textEmbedded&&Pt.chunks.push("<!-- -->"),Ve.abortSet.delete(Ve),Pt.status=1,Fn(ht,Ve.blockedBoundary,Pt)}catch(Sn){if(Fe(),typeof Sn=="object"&&Sn!==null&&typeof Sn.then=="function"){var Ht=Ve.ping;Sn.then(Ht,Ht)}else{Ve.abortSet.delete(Ve),Pt.status=4;var Bt=Ve.blockedBoundary,Sr=Sn,Jr=rr(ht,Sr);if(Bt===null?gr(ht,Sr):(Bt.pendingTasks--,Bt.forceClientRender||(Bt.forceClientRender=!0,Bt.errorDigest=Jr,Bt.parentFlushed&&ht.clientRenderedBoundaries.push(Bt))),ht.allPendingTasks--,ht.allPendingTasks===0){var xn=ht.onAllReady;xn()}}}finally{}}}Pe.splice(0,Re),L.destination!==null&&pn(L,L.destination)}catch(Sn){rr(L,Sn),gr(L,Sn)}finally{Ye=ie,xt.current=X,X===xe&&Dt(H)}}}function vo(L,H,X){switch(X.parentFlushed=!0,X.status){case 0:var ie=X.id=L.nextSegmentId++;return X.lastPushedText=!1,X.textEmbedded=!1,L=L.responseState,H.push('<template id="'),H.push(L.placeholderPrefix),L=ie.toString(16),H.push(L),H.push('"></template>');case 1:X.status=2;var Pe=!0;ie=X.chunks;var Re=0;X=X.children;for(var Ve=0;Ve<X.length;Ve++){for(Pe=X[Ve];Re<Pe.index;Re++)H.push(ie[Re]);Pe=Ao(L,H,Pe)}for(;Re<ie.length-1;Re++)H.push(ie[Re]);return Re<ie.length&&(Pe=H.push(ie[Re])),Pe;default:throw Error(e(390))}}function Ao(L,H,X){var ie=X.boundary;if(ie===null)return vo(L,H,X);if(ie.parentFlushed=!0,ie.forceClientRender)return L.responseState.generateStaticMarkup||(ie=ie.errorDigest,H.push("<!--$!-->"),H.push("<template"),ie&&(H.push(' data-dgst="'),ie=b(ie),H.push(ie),H.push('"')),H.push("></template>")),vo(L,H,X),L=L.responseState.generateStaticMarkup?!0:H.push("<!--/$-->"),L;if(0<ie.pendingTasks){ie.rootSegmentID=L.nextSegmentId++,0<ie.completedSegments.length&&L.partialBoundaries.push(ie);var Pe=L.responseState,Re=Pe.nextSuspenseID++;return Pe=Pe.boundaryPrefix+Re.toString(16),ie=ie.id=Pe,ee(H,L.responseState,ie),vo(L,H,X),H.push("<!--/$-->")}if(ie.byteSize>L.progressiveChunkSize)return ie.rootSegmentID=L.nextSegmentId++,L.completedBoundaries.push(ie),ee(H,L.responseState,ie.id),vo(L,H,X),H.push("<!--/$-->");if(L.responseState.generateStaticMarkup||H.push("<!--$-->"),X=ie.completedSegments,X.length!==1)throw Error(e(391));return Ao(L,H,X[0]),L=L.responseState.generateStaticMarkup?!0:H.push("<!--/$-->"),L}function Eo(L,H,X){return ue(H,L.responseState,X.formatContext,X.id),Ao(L,H,X),le(H,X.formatContext)}function On(L,H,X){for(var ie=X.completedSegments,Pe=0;Pe<ie.length;Pe++)In(L,H,X,ie[Pe]);if(ie.length=0,L=L.responseState,ie=X.id,X=X.rootSegmentID,H.push(L.startInlineScript),L.sentCompleteBoundaryFunction?H.push('$RC("'):(L.sentCompleteBoundaryFunction=!0,H.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("')),ie===null)throw Error(e(395));return X=X.toString(16),H.push(ie),H.push('","'),H.push(L.segmentPrefix),H.push(X),H.push('")<\/script>')}function In(L,H,X,ie){if(ie.status===2)return!0;var Pe=ie.id;if(Pe===-1){if((ie.id=X.rootSegmentID)===-1)throw Error(e(392));return Eo(L,H,ie)}return Eo(L,H,ie),L=L.responseState,H.push(L.startInlineScript),L.sentCompleteSegmentFunction?H.push('$RS("'):(L.sentCompleteSegmentFunction=!0,H.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("')),H.push(L.segmentPrefix),Pe=Pe.toString(16),H.push(Pe),H.push('","'),H.push(L.placeholderPrefix),H.push(Pe),H.push('")<\/script>')}function pn(L,H){try{var X=L.completedRootSegment;if(X!==null&&L.pendingRootTasks===0){Ao(L,H,X),L.completedRootSegment=null;var ie=L.responseState.bootstrapChunks;for(X=0;X<ie.length-1;X++)H.push(ie[X]);X<ie.length&&H.push(ie[X])}var Pe=L.clientRenderedBoundaries,Re;for(Re=0;Re<Pe.length;Re++){var Ve=Pe[Re];ie=H;var ht=L.responseState,Pt=Ve.id,Ht=Ve.errorDigest,Bt=Ve.errorMessage,Sr=Ve.errorComponentStack;if(ie.push(ht.startInlineScript),ht.sentClientRenderFunction?ie.push('$RX("'):(ht.sentClientRenderFunction=!0,ie.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("')),Pt===null)throw Error(e(395));if(ie.push(Pt),ie.push('"'),Ht||Bt||Sr){ie.push(",");var Jr=fe(Ht||"");ie.push(Jr)}if(Bt||Sr){ie.push(",");var xn=fe(Bt||"");ie.push(xn)}if(Sr){ie.push(",");var Sn=fe(Sr);ie.push(Sn)}if(!ie.push(")<\/script>")){L.destination=null,Re++,Pe.splice(0,Re);return}}Pe.splice(0,Re);var uo=L.completedBoundaries;for(Re=0;Re<uo.length;Re++)if(!On(L,H,uo[Re])){L.destination=null,Re++,uo.splice(0,Re);return}uo.splice(0,Re);var $n=L.partialBoundaries;for(Re=0;Re<$n.length;Re++){var To=$n[Re];e:{Pe=L,Ve=H;var en=To.completedSegments;for(ht=0;ht<en.length;ht++)if(!In(Pe,Ve,To,en[ht])){ht++,en.splice(0,ht);var yo=!1;break e}en.splice(0,ht),yo=!0}if(!yo){L.destination=null,Re++,$n.splice(0,Re);return}}$n.splice(0,Re);var Un=L.completedBoundaries;for(Re=0;Re<Un.length;Re++)if(!On(L,H,Un[Re])){L.destination=null,Re++,Un.splice(0,Re);return}Un.splice(0,Re)}finally{L.allPendingTasks===0&&L.pingedTasks.length===0&&L.clientRenderedBoundaries.length===0&&L.completedBoundaries.length===0&&H.push(null)}}function eo(L,H){try{var X=L.abortableTasks;X.forEach(function(ie){return Qn(ie,L,H)}),X.clear(),L.destination!==null&&pn(L,L.destination)}catch(ie){rr(L,ie),gr(L,ie)}}function an(){}function yn(L,H,X,ie){var Pe=!1,Re=null,Ve="",ht={push:function(Ht){return Ht!==null&&(Ve+=Ht),!0},destroy:function(Ht){Pe=!0,Re=Ht}},Pt=!1;if(L=wt(L,ve(X,H?H.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,an,void 0,function(){Pt=!0}),Rn(L),eo(L,ie),L.status===1)L.status=2,ht.destroy(L.fatalError);else if(L.status!==2&&L.destination===null){L.destination=ht;try{pn(L,ht)}catch(Ht){rr(L,Ht),gr(L,Ht)}}if(Pe)throw Re;if(!Pt)throw Error(e(426));return Ve}return Zc.renderToNodeStream=function(){throw Error(e(207))},Zc.renderToStaticMarkup=function(L,H){return yn(L,H,!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')},Zc.renderToStaticNodeStream=function(){throw Error(e(208))},Zc.renderToString=function(L,H){return yn(L,H,!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')},Zc.version="18.2.0",Zc}var Id={};/**
|
67
67
|
* @license React
|
68
68
|
* react-dom-server.browser.production.min.js
|
69
69
|
*
|
@@ -71,11 +71,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
71
71
|
*
|
72
72
|
* This source code is licensed under the MIT license found in the
|
73
73
|
* LICENSE file in the root directory of this source tree.
|
74
|
-
*/var ty;function EE(){if(ty)return Id;ty=1;var r=k;function e(O){for(var B="https://reactjs.org/docs/error-decoder.html?invariant="+O,Z=1;Z<arguments.length;Z++)B+="&args[]="+encodeURIComponent(arguments[Z]);return"Minified React error #"+O+"; visit "+B+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var t=null,n=0;function o(O,B){if(B.length!==0)if(512<B.length)0<n&&(O.enqueue(new Uint8Array(t.buffer,0,n)),t=new Uint8Array(512),n=0),O.enqueue(B);else{var Z=t.length-n;Z<B.length&&(Z===0?O.enqueue(t):(t.set(B.subarray(0,Z),n),O.enqueue(t),B=B.subarray(Z)),t=new Uint8Array(512),n=0),t.set(B,n),n+=B.length}}function a(O,B){return o(O,B),!0}function u(O){t&&0<n&&(O.enqueue(new Uint8Array(t.buffer,0,n)),t=null,n=0)}var f=new TextEncoder;function d(O){return f.encode(O)}function h(O){return f.encode(O)}function x(O,B){typeof O.error=="function"?O.error(B):O.close()}var _=Object.prototype.hasOwnProperty,v=/^[: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]*$/,y={},b={};function T(O){return _.call(b,O)?!0:_.call(y,O)?!1:v.test(O)?b[O]=!0:(y[O]=!0,!1)}function w(O,B,Z,se,je,Me,et){this.acceptsBooleans=B===2||B===3||B===4,this.attributeName=se,this.attributeNamespace=je,this.mustUseProperty=Z,this.propertyName=O,this.type=B,this.sanitizeURL=Me,this.removeEmptyString=et}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(O){S[O]=new w(O,0,!1,O,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(O){var B=O[0];S[B]=new w(B,1,!1,O[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(O){S[O]=new w(O,2,!1,O.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(O){S[O]=new w(O,2,!1,O,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(O){S[O]=new w(O,3,!1,O.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(O){S[O]=new w(O,3,!0,O,null,!1,!1)}),["capture","download"].forEach(function(O){S[O]=new w(O,4,!1,O,null,!1,!1)}),["cols","rows","size","span"].forEach(function(O){S[O]=new w(O,6,!1,O,null,!1,!1)}),["rowSpan","start"].forEach(function(O){S[O]=new w(O,5,!1,O.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function R(O){return O[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(O){var B=O.replace(E,R);S[B]=new w(B,1,!1,O,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(O){var B=O.replace(E,R);S[B]=new w(B,1,!1,O,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(O){var B=O.replace(E,R);S[B]=new w(B,1,!1,O,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(O){S[O]=new w(O,1,!1,O.toLowerCase(),null,!1,!1)}),S.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(O){S[O]=new w(O,1,!1,O.toLowerCase(),null,!0,!0)});var I={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},P=["Webkit","ms","Moz","O"];Object.keys(I).forEach(function(O){P.forEach(function(B){B=B+O.charAt(0).toUpperCase()+O.substring(1),I[B]=I[O]})});var j=/["'&<>]/;function q(O){if(typeof O=="boolean"||typeof O=="number")return""+O;O=""+O;var B=j.exec(O);if(B){var Z="",se,je=0;for(se=B.index;se<O.length;se++){switch(O.charCodeAt(se)){case 34:B=""";break;case 38:B="&";break;case 39:B="'";break;case 60:B="<";break;case 62:B=">";break;default:continue}je!==se&&(Z+=O.substring(je,se)),je=se+1,Z+=B}O=je!==se?Z+O.substring(je,se):Z}return O}var $=/([A-Z])/g,G=/^ms-/,re=Array.isArray,F=h("<script>"),W=h("<\/script>"),V=h('<script src="'),ee=h('<script type="module" src="'),ue=h('" async=""><\/script>'),le=/(<\/|<)(s)(cript)/gi;function de(O,B,Z,se){return""+B+(Z==="s"?"\\u0073":"\\u0053")+se}function fe(O,B,Z,se,je){O=O===void 0?"":O,B=B===void 0?F:h('<script nonce="'+q(B)+'">');var Me=[];if(Z!==void 0&&Me.push(B,d((""+Z).replace(le,de)),W),se!==void 0)for(Z=0;Z<se.length;Z++)Me.push(V,d(q(se[Z])),ue);if(je!==void 0)for(se=0;se<je.length;se++)Me.push(ee,d(q(je[se])),ue);return{bootstrapChunks:Me,startInlineScript:B,placeholderPrefix:h(O+"P:"),segmentPrefix:h(O+"S:"),boundaryPrefix:O+"B:",idPrefix:O,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function ve(O,B){return{insertionMode:O,selectedValue:B}}function te(O){return ve(O==="http://www.w3.org/2000/svg"?2:O==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function ce(O,B,Z){switch(B){case"select":return ve(1,Z.value!=null?Z.value:Z.defaultValue);case"svg":return ve(2,null);case"math":return ve(3,null);case"foreignObject":return ve(1,null);case"table":return ve(4,null);case"thead":case"tbody":case"tfoot":return ve(5,null);case"colgroup":return ve(7,null);case"tr":return ve(6,null)}return 4<=O.insertionMode||O.insertionMode===0?ve(1,null):O}var pe=h("<!-- -->");function ye(O,B,Z,se){return B===""?se:(se&&O.push(pe),O.push(d(q(B))),!0)}var Ie=new Map,oe=h(' style="'),we=h(":"),Oe=h(";");function Ue(O,B,Z){if(typeof Z!="object")throw Error(e(62));B=!0;for(var se in Z)if(_.call(Z,se)){var je=Z[se];if(je!=null&&typeof je!="boolean"&&je!==""){if(se.indexOf("--")===0){var Me=d(q(se));je=d(q((""+je).trim()))}else{Me=se;var et=Ie.get(Me);et!==void 0||(et=h(q(Me.replace($,"-$1").toLowerCase().replace(G,"-ms-"))),Ie.set(Me,et)),Me=et,je=typeof je=="number"?je===0||_.call(I,se)?d(""+je):d(je+"px"):d(q((""+je).trim()))}B?(B=!1,O.push(oe,Me,we,je)):O.push(Oe,Me,we,je)}}B||O.push(_e)}var We=h(" "),Se=h('="'),_e=h('"'),Ce=h('=""');function Te(O,B,Z,se){switch(Z){case"style":Ue(O,B,se);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(B=S.hasOwnProperty(Z)?S[Z]:null,B!==null){switch(typeof se){case"function":case"symbol":return;case"boolean":if(!B.acceptsBooleans)return}switch(Z=d(B.attributeName),B.type){case 3:se&&O.push(We,Z,Ce);break;case 4:se===!0?O.push(We,Z,Ce):se!==!1&&O.push(We,Z,Se,d(q(se)),_e);break;case 5:isNaN(se)||O.push(We,Z,Se,d(q(se)),_e);break;case 6:!isNaN(se)&&1<=se&&O.push(We,Z,Se,d(q(se)),_e);break;default:B.sanitizeURL&&(se=""+se),O.push(We,Z,Se,d(q(se)),_e)}}else if(T(Z)){switch(typeof se){case"function":case"symbol":return;case"boolean":if(B=Z.toLowerCase().slice(0,5),B!=="data-"&&B!=="aria-")return}O.push(We,d(Z),Se,d(q(se)),_e)}}}var Ne=h(">"),ot=h("/>");function $e(O,B,Z){if(B!=null){if(Z!=null)throw Error(e(60));if(typeof B!="object"||!("__html"in B))throw Error(e(61));B=B.__html,B!=null&&O.push(d(""+B))}}function tt(O){var B="";return r.Children.forEach(O,function(Z){Z!=null&&(B+=Z)}),B}var at=h(' selected=""');function De(O,B,Z,se){O.push(
|
75
|
-
`),yt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,
|
76
|
-
`&&O.push(Ke),Me!==null&&O.push(d(q(""+Me))),null;case"input":O.push(
|
74
|
+
*/var ty;function EE(){if(ty)return Id;ty=1;var r=k;function e(O){for(var B="https://reactjs.org/docs/error-decoder.html?invariant="+O,Z=1;Z<arguments.length;Z++)B+="&args[]="+encodeURIComponent(arguments[Z]);return"Minified React error #"+O+"; visit "+B+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var t=null,n=0;function o(O,B){if(B.length!==0)if(512<B.length)0<n&&(O.enqueue(new Uint8Array(t.buffer,0,n)),t=new Uint8Array(512),n=0),O.enqueue(B);else{var Z=t.length-n;Z<B.length&&(Z===0?O.enqueue(t):(t.set(B.subarray(0,Z),n),O.enqueue(t),B=B.subarray(Z)),t=new Uint8Array(512),n=0),t.set(B,n),n+=B.length}}function a(O,B){return o(O,B),!0}function u(O){t&&0<n&&(O.enqueue(new Uint8Array(t.buffer,0,n)),t=null,n=0)}var f=new TextEncoder;function d(O){return f.encode(O)}function h(O){return f.encode(O)}function x(O,B){typeof O.error=="function"?O.error(B):O.close()}var _=Object.prototype.hasOwnProperty,v=/^[: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]*$/,y={},b={};function T(O){return _.call(b,O)?!0:_.call(y,O)?!1:v.test(O)?b[O]=!0:(y[O]=!0,!1)}function w(O,B,Z,se,je,Me,et){this.acceptsBooleans=B===2||B===3||B===4,this.attributeName=se,this.attributeNamespace=je,this.mustUseProperty=Z,this.propertyName=O,this.type=B,this.sanitizeURL=Me,this.removeEmptyString=et}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(O){S[O]=new w(O,0,!1,O,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(O){var B=O[0];S[B]=new w(B,1,!1,O[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(O){S[O]=new w(O,2,!1,O.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(O){S[O]=new w(O,2,!1,O,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(O){S[O]=new w(O,3,!1,O.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(O){S[O]=new w(O,3,!0,O,null,!1,!1)}),["capture","download"].forEach(function(O){S[O]=new w(O,4,!1,O,null,!1,!1)}),["cols","rows","size","span"].forEach(function(O){S[O]=new w(O,6,!1,O,null,!1,!1)}),["rowSpan","start"].forEach(function(O){S[O]=new w(O,5,!1,O.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function R(O){return O[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(O){var B=O.replace(E,R);S[B]=new w(B,1,!1,O,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(O){var B=O.replace(E,R);S[B]=new w(B,1,!1,O,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(O){var B=O.replace(E,R);S[B]=new w(B,1,!1,O,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(O){S[O]=new w(O,1,!1,O.toLowerCase(),null,!1,!1)}),S.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(O){S[O]=new w(O,1,!1,O.toLowerCase(),null,!0,!0)});var I={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},P=["Webkit","ms","Moz","O"];Object.keys(I).forEach(function(O){P.forEach(function(B){B=B+O.charAt(0).toUpperCase()+O.substring(1),I[B]=I[O]})});var j=/["'&<>]/;function q(O){if(typeof O=="boolean"||typeof O=="number")return""+O;O=""+O;var B=j.exec(O);if(B){var Z="",se,je=0;for(se=B.index;se<O.length;se++){switch(O.charCodeAt(se)){case 34:B=""";break;case 38:B="&";break;case 39:B="'";break;case 60:B="<";break;case 62:B=">";break;default:continue}je!==se&&(Z+=O.substring(je,se)),je=se+1,Z+=B}O=je!==se?Z+O.substring(je,se):Z}return O}var $=/([A-Z])/g,G=/^ms-/,re=Array.isArray,F=h("<script>"),W=h("<\/script>"),V=h('<script src="'),ee=h('<script type="module" src="'),ue=h('" async=""><\/script>'),le=/(<\/|<)(s)(cript)/gi;function de(O,B,Z,se){return""+B+(Z==="s"?"\\u0073":"\\u0053")+se}function fe(O,B,Z,se,je){O=O===void 0?"":O,B=B===void 0?F:h('<script nonce="'+q(B)+'">');var Me=[];if(Z!==void 0&&Me.push(B,d((""+Z).replace(le,de)),W),se!==void 0)for(Z=0;Z<se.length;Z++)Me.push(V,d(q(se[Z])),ue);if(je!==void 0)for(se=0;se<je.length;se++)Me.push(ee,d(q(je[se])),ue);return{bootstrapChunks:Me,startInlineScript:B,placeholderPrefix:h(O+"P:"),segmentPrefix:h(O+"S:"),boundaryPrefix:O+"B:",idPrefix:O,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function ve(O,B){return{insertionMode:O,selectedValue:B}}function te(O){return ve(O==="http://www.w3.org/2000/svg"?2:O==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function ce(O,B,Z){switch(B){case"select":return ve(1,Z.value!=null?Z.value:Z.defaultValue);case"svg":return ve(2,null);case"math":return ve(3,null);case"foreignObject":return ve(1,null);case"table":return ve(4,null);case"thead":case"tbody":case"tfoot":return ve(5,null);case"colgroup":return ve(7,null);case"tr":return ve(6,null)}return 4<=O.insertionMode||O.insertionMode===0?ve(1,null):O}var pe=h("<!-- -->");function ye(O,B,Z,se){return B===""?se:(se&&O.push(pe),O.push(d(q(B))),!0)}var Ie=new Map,oe=h(' style="'),we=h(":"),Oe=h(";");function Ue(O,B,Z){if(typeof Z!="object")throw Error(e(62));B=!0;for(var se in Z)if(_.call(Z,se)){var je=Z[se];if(je!=null&&typeof je!="boolean"&&je!==""){if(se.indexOf("--")===0){var Me=d(q(se));je=d(q((""+je).trim()))}else{Me=se;var et=Ie.get(Me);et!==void 0||(et=h(q(Me.replace($,"-$1").toLowerCase().replace(G,"-ms-"))),Ie.set(Me,et)),Me=et,je=typeof je=="number"?je===0||_.call(I,se)?d(""+je):d(je+"px"):d(q((""+je).trim()))}B?(B=!1,O.push(oe,Me,we,je)):O.push(Oe,Me,we,je)}}B||O.push(_e)}var We=h(" "),Se=h('="'),_e=h('"'),Ce=h('=""');function Te(O,B,Z,se){switch(Z){case"style":Ue(O,B,se);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(B=S.hasOwnProperty(Z)?S[Z]:null,B!==null){switch(typeof se){case"function":case"symbol":return;case"boolean":if(!B.acceptsBooleans)return}switch(Z=d(B.attributeName),B.type){case 3:se&&O.push(We,Z,Ce);break;case 4:se===!0?O.push(We,Z,Ce):se!==!1&&O.push(We,Z,Se,d(q(se)),_e);break;case 5:isNaN(se)||O.push(We,Z,Se,d(q(se)),_e);break;case 6:!isNaN(se)&&1<=se&&O.push(We,Z,Se,d(q(se)),_e);break;default:B.sanitizeURL&&(se=""+se),O.push(We,Z,Se,d(q(se)),_e)}}else if(T(Z)){switch(typeof se){case"function":case"symbol":return;case"boolean":if(B=Z.toLowerCase().slice(0,5),B!=="data-"&&B!=="aria-")return}O.push(We,d(Z),Se,d(q(se)),_e)}}}var Ne=h(">"),ot=h("/>");function $e(O,B,Z){if(B!=null){if(Z!=null)throw Error(e(60));if(typeof B!="object"||!("__html"in B))throw Error(e(61));B=B.__html,B!=null&&O.push(d(""+B))}}function tt(O){var B="";return r.Children.forEach(O,function(Z){Z!=null&&(B+=Z)}),B}var at=h(' selected=""');function De(O,B,Z,se){O.push(_t(Z));var je=Z=null,Me;for(Me in B)if(_.call(B,Me)){var et=B[Me];if(et!=null)switch(Me){case"children":Z=et;break;case"dangerouslySetInnerHTML":je=et;break;default:Te(O,se,Me,et)}}return O.push(Ne),$e(O,je,Z),typeof Z=="string"?(O.push(d(q(Z))),null):Z}var Ke=h(`
|
75
|
+
`),yt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,bt=new Map;function _t(O){var B=bt.get(O);if(B===void 0){if(!yt.test(O))throw Error(e(65,O));B=h("<"+O),bt.set(O,B)}return B}var At=h("<!DOCTYPE html>");function qe(O,B,Z,se,je){switch(B){case"select":O.push(_t("select"));var Me=null,et=null;for(ar in Z)if(_.call(Z,ar)){var Ct=Z[ar];if(Ct!=null)switch(ar){case"children":Me=Ct;break;case"dangerouslySetInnerHTML":et=Ct;break;case"defaultValue":case"value":break;default:Te(O,se,ar,Ct)}}return O.push(Ne),$e(O,et,Me),Me;case"option":et=je.selectedValue,O.push(_t("option"));var zt=Ct=null,hr=null,ar=null;for(Me in Z)if(_.call(Z,Me)){var Xr=Z[Me];if(Xr!=null)switch(Me){case"children":Ct=Xr;break;case"selected":hr=Xr;break;case"dangerouslySetInnerHTML":ar=Xr;break;case"value":zt=Xr;default:Te(O,se,Me,Xr)}}if(et!=null)if(Z=zt!==null?""+zt:tt(Ct),re(et)){for(se=0;se<et.length;se++)if(""+et[se]===Z){O.push(at);break}}else""+et===Z&&O.push(at);else hr&&O.push(at);return O.push(Ne),$e(O,ar,Ct),Ct;case"textarea":O.push(_t("textarea")),ar=et=Me=null;for(Ct in Z)if(_.call(Z,Ct)&&(zt=Z[Ct],zt!=null))switch(Ct){case"children":ar=zt;break;case"value":Me=zt;break;case"defaultValue":et=zt;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:Te(O,se,Ct,zt)}if(Me===null&&et!==null&&(Me=et),O.push(Ne),ar!=null){if(Me!=null)throw Error(e(92));if(re(ar)&&1<ar.length)throw Error(e(93));Me=""+ar}return typeof Me=="string"&&Me[0]===`
|
76
|
+
`&&O.push(Ke),Me!==null&&O.push(d(q(""+Me))),null;case"input":O.push(_t("input")),zt=ar=Ct=Me=null;for(et in Z)if(_.call(Z,et)&&(hr=Z[et],hr!=null))switch(et){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":zt=hr;break;case"defaultValue":Ct=hr;break;case"checked":ar=hr;break;case"value":Me=hr;break;default:Te(O,se,et,hr)}return ar!==null?Te(O,se,"checked",ar):zt!==null&&Te(O,se,"checked",zt),Me!==null?Te(O,se,"value",Me):Ct!==null&&Te(O,se,"value",Ct),O.push(ot),null;case"menuitem":O.push(_t("menuitem"));for(var oo in Z)if(_.call(Z,oo)&&(Me=Z[oo],Me!=null))switch(oo){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:Te(O,se,oo,Me)}return O.push(Ne),null;case"title":O.push(_t("title")),Me=null;for(Xr in Z)if(_.call(Z,Xr)&&(et=Z[Xr],et!=null))switch(Xr){case"children":Me=et;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:Te(O,se,Xr,et)}return O.push(Ne),Me;case"listing":case"pre":O.push(_t(B)),et=Me=null;for(zt in Z)if(_.call(Z,zt)&&(Ct=Z[zt],Ct!=null))switch(zt){case"children":Me=Ct;break;case"dangerouslySetInnerHTML":et=Ct;break;default:Te(O,se,zt,Ct)}if(O.push(Ne),et!=null){if(Me!=null)throw Error(e(60));if(typeof et!="object"||!("__html"in et))throw Error(e(61));Z=et.__html,Z!=null&&(typeof Z=="string"&&0<Z.length&&Z[0]===`
|
77
77
|
`?O.push(Ke,d(Z)):O.push(d(""+Z)))}return typeof Me=="string"&&Me[0]===`
|
78
|
-
`&&O.push(Ke),Me;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":O.push(bt(B));for(var Ro in Z)if(_.call(Z,Ro)&&(Me=Z[Ro],Me!=null))switch(Ro){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,B));default:Te(O,se,Ro,Me)}return O.push(ot),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 De(O,Z,B,se);case"html":return je.insertionMode===0&&O.push(At),De(O,Z,B,se);default:if(B.indexOf("-")===-1&&typeof Z.is!="string")return De(O,Z,B,se);O.push(bt(B)),et=Me=null;for(hr in Z)if(_.call(Z,hr)&&(Ct=Z[hr],Ct!=null))switch(hr){case"children":Me=Ct;break;case"dangerouslySetInnerHTML":et=Ct;break;case"style":Ue(O,se,Ct);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:T(hr)&&typeof Ct!="function"&&typeof Ct!="symbol"&&O.push(We,d(hr),Se,d(q(Ct)),_e)}return O.push(Ne),$e(O,et,Me),Me}}var Qe=h("</"),St=h(">"),Dt=h('<template id="'),Et=h('"></template>'),Ze=h("<!--$-->"),It=h('<!--$?--><template id="'),Ot=h('"></template>'),pr=h("<!--$!-->"),br=h("<!--/$-->"),Or=h("<template"),Ee=h('"'),ae=h(' data-dgst="');h(' data-msg="'),h(' data-stck="');var st=h("></template>");function mt(O,B,Z){if(o(O,It),Z===null)throw Error(e(395));return o(O,Z),a(O,Ot)}var Ft=h('<div hidden id="'),Rt=h('">'),Mt=h("</div>"),Qt=h('<svg aria-hidden="true" style="display:none" id="'),qt=h('">'),sr=h("</svg>"),er=h('<math aria-hidden="true" style="display:none" id="'),_r=h('">'),fr=h("</math>"),lt=h('<table hidden id="'),it=h('">'),Fe=h("</table>"),ut=h('<table hidden><tbody id="'),nt=h('">'),$t=h("</tbody></table>"),wr=h('<table hidden><tr id="'),ne=h('">'),He=h("</tr></table>"),xe=h('<table hidden><colgroup id="'),Ye=h('">'),xt=h("</colgroup></table>");function Tt(O,B,Z,se){switch(Z.insertionMode){case 0:case 1:return o(O,Ft),o(O,B.segmentPrefix),o(O,d(se.toString(16))),a(O,Rt);case 2:return o(O,Qt),o(O,B.segmentPrefix),o(O,d(se.toString(16))),a(O,qt);case 3:return o(O,er),o(O,B.segmentPrefix),o(O,d(se.toString(16))),a(O,_r);case 4:return o(O,lt),o(O,B.segmentPrefix),o(O,d(se.toString(16))),a(O,it);case 5:return o(O,ut),o(O,B.segmentPrefix),o(O,d(se.toString(16))),a(O,nt);case 6:return o(O,wr),o(O,B.segmentPrefix),o(O,d(se.toString(16))),a(O,ne);case 7:return o(O,xe),o(O,B.segmentPrefix),o(O,d(se.toString(16))),a(O,Ye);default:throw Error(e(397))}}function kt(O,B){switch(B.insertionMode){case 0:case 1:return a(O,Mt);case 2:return a(O,sr);case 3:return a(O,fr);case 4:return a(O,Fe);case 5:return a(O,$t);case 6:return a(O,He);case 7:return a(O,xt);default:throw Error(e(397))}}var wt=h('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("'),or=h('$RS("'),Gt=h('","'),rr=h('")<\/script>'),gr=h('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("'),Kt=h('$RC("'),jr=h('","'),zr=h('")<\/script>'),vn=h('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("'),Fr=h('$RX("'),kn=h('"'),hn=h(")<\/script>"),Jn=h(","),Qn=/[<\u2028\u2029]/g;function sn(O){return JSON.stringify(O).replace(Qn,function(B){switch(B){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 Fn=Object.assign,Rn=Symbol.for("react.element"),vo=Symbol.for("react.portal"),Ao=Symbol.for("react.fragment"),Eo=Symbol.for("react.strict_mode"),On=Symbol.for("react.profiler"),In=Symbol.for("react.provider"),pn=Symbol.for("react.context"),eo=Symbol.for("react.forward_ref"),an=Symbol.for("react.suspense"),yn=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),X=Symbol.for("react.scope"),ie=Symbol.for("react.debug_trace_mode"),Pe=Symbol.for("react.legacy_hidden"),Re=Symbol.for("react.default_value"),Ve=Symbol.iterator;function ht(O){if(O==null)return null;if(typeof O=="function")return O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case Ao:return"Fragment";case vo:return"Portal";case On:return"Profiler";case Eo:return"StrictMode";case an:return"Suspense";case yn:return"SuspenseList"}if(typeof O=="object")switch(O.$$typeof){case pn:return(O.displayName||"Context")+".Consumer";case In:return(O._context.displayName||"Context")+".Provider";case eo:var B=O.render;return O=O.displayName,O||(O=B.displayName||B.name||"",O=O!==""?"ForwardRef("+O+")":"ForwardRef"),O;case L:return B=O.displayName||null,B!==null?B:ht(O.type)||"Memo";case H:B=O._payload,O=O._init;try{return ht(O(B))}catch{}}return null}var Pt={};function Ht(O,B){if(O=O.contextTypes,!O)return Pt;var Z={},se;for(se in O)Z[se]=B[se];return Z}var Bt=null;function Sr(O,B){if(O!==B){O.context._currentValue=O.parentValue,O=O.parent;var Z=B.parent;if(O===null){if(Z!==null)throw Error(e(401))}else{if(Z===null)throw Error(e(401));Sr(O,Z)}B.context._currentValue=B.value}}function Jr(O){O.context._currentValue=O.parentValue,O=O.parent,O!==null&&Jr(O)}function _n(O){var B=O.parent;B!==null&&_n(B),O.context._currentValue=O.value}function xn(O,B){if(O.context._currentValue=O.parentValue,O=O.parent,O===null)throw Error(e(402));O.depth===B.depth?Sr(O,B):xn(O,B)}function uo(O,B){var Z=B.parent;if(Z===null)throw Error(e(402));O.depth===Z.depth?Sr(O,Z):uo(O,Z),B.context._currentValue=B.value}function $n(O){var B=Bt;B!==O&&(B===null?_n(O):O===null?Jr(B):B.depth===O.depth?Sr(B,O):B.depth>O.depth?xn(B,O):uo(B,O),Bt=O)}var To={isMounted:function(){return!1},enqueueSetState:function(O,B){O=O._reactInternals,O.queue!==null&&O.queue.push(B)},enqueueReplaceState:function(O,B){O=O._reactInternals,O.replace=!0,O.queue=[B]},enqueueForceUpdate:function(){}};function en(O,B,Z,se){var je=O.state!==void 0?O.state:null;O.updater=To,O.props=Z,O.state=je;var Me={queue:[],replace:!1};O._reactInternals=Me;var et=B.contextType;if(O.context=typeof et=="object"&&et!==null?et._currentValue:se,et=B.getDerivedStateFromProps,typeof et=="function"&&(et=et(Z,je),je=et==null?je:Fn({},je,et),O.state=je),typeof B.getDerivedStateFromProps!="function"&&typeof O.getSnapshotBeforeUpdate!="function"&&(typeof O.UNSAFE_componentWillMount=="function"||typeof O.componentWillMount=="function"))if(B=O.state,typeof O.componentWillMount=="function"&&O.componentWillMount(),typeof O.UNSAFE_componentWillMount=="function"&&O.UNSAFE_componentWillMount(),B!==O.state&&To.enqueueReplaceState(O,O.state,null),Me.queue!==null&&0<Me.queue.length)if(B=Me.queue,et=Me.replace,Me.queue=null,Me.replace=!1,et&&B.length===1)O.state=B[0];else{for(Me=et?B[0]:O.state,je=!0,et=et?1:0;et<B.length;et++){var Ct=B[et];Ct=typeof Ct=="function"?Ct.call(O,Me,Z,se):Ct,Ct!=null&&(je?(je=!1,Me=Fn({},Me,Ct)):Fn(Me,Ct))}O.state=Me}else Me.queue=null}var yo={id:1,overflow:""};function Un(O,B,Z){var se=O.id;O=O.overflow;var je=32-to(se)-1;se&=~(1<<je),Z+=1;var Me=32-to(B)+je;if(30<Me){var et=je-je%5;return Me=(se&(1<<et)-1).toString(32),se>>=et,je-=et,{id:1<<32-to(B)+je|Z<<je|se,overflow:Me+O}}return{id:1<<Me|Z<<je|se,overflow:O}}var to=Math.clz32?Math.clz32:si,xi=Math.log,ii=Math.LN2;function si(O){return O>>>=0,O===0?32:31-(xi(O)/ii|0)|0}function Mn(O,B){return O===B&&(O!==0||1/O===1/B)||O!==O&&B!==B}var Si=typeof Object.is=="function"?Object.is:Mn,ro=null,no=null,Vo=null,Pr=null,Ar=!1,Mr=!1,D=0,J=null,me=0;function Ge(){if(ro===null)throw Error(e(321));return ro}function Yt(){if(0<me)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Ut(){return Pr===null?Vo===null?(Ar=!1,Vo=Pr=Yt()):(Ar=!0,Pr=Vo):Pr.next===null?(Ar=!1,Pr=Pr.next=Yt()):(Ar=!0,Pr=Pr.next),Pr}function mr(){no=ro=null,Mr=!1,Vo=null,me=0,Pr=J=null}function Cr(O,B){return typeof B=="function"?B(O):B}function dr(O,B,Z){if(ro=Ge(),Pr=Ut(),Ar){var se=Pr.queue;if(B=se.dispatch,J!==null&&(Z=J.get(se),Z!==void 0)){J.delete(se),se=Pr.memoizedState;do se=O(se,Z.action),Z=Z.next;while(Z!==null);return Pr.memoizedState=se,[se,B]}return[Pr.memoizedState,B]}return O=O===Cr?typeof B=="function"?B():B:Z!==void 0?Z(B):B,Pr.memoizedState=O,O=Pr.queue={last:null,dispatch:null},O=O.dispatch=tn.bind(null,ro,O),[Pr.memoizedState,O]}function Er(O,B){if(ro=Ge(),Pr=Ut(),B=B===void 0?null:B,Pr!==null){var Z=Pr.memoizedState;if(Z!==null&&B!==null){var se=Z[1];e:if(se===null)se=!1;else{for(var je=0;je<se.length&&je<B.length;je++)if(!Si(B[je],se[je])){se=!1;break e}se=!0}if(se)return Z[0]}}return O=O(),Pr.memoizedState=[O,B],O}function tn(O,B,Z){if(25<=me)throw Error(e(301));if(O===ro)if(Mr=!0,O={action:Z,next:null},J===null&&(J=new Map),Z=J.get(B),Z===void 0)J.set(B,O);else{for(B=Z;B.next!==null;)B=B.next;B.next=O}}function Dn(){throw Error(e(394))}function Yr(){}var $r={readContext:function(O){return O._currentValue},useContext:function(O){return Ge(),O._currentValue},useMemo:Er,useReducer:dr,useRef:function(O){ro=Ge(),Pr=Ut();var B=Pr.memoizedState;return B===null?(O={current:O},Pr.memoizedState=O):B},useState:function(O){return dr(Cr,O)},useInsertionEffect:Yr,useLayoutEffect:function(){},useCallback:function(O,B){return Er(function(){return O},B)},useImperativeHandle:Yr,useEffect:Yr,useDebugValue:Yr,useDeferredValue:function(O){return Ge(),O},useTransition:function(){return Ge(),[!1,Dn]},useId:function(){var O=no.treeContext,B=O.overflow;O=O.id,O=(O&~(1<<32-to(O)-1)).toString(32)+B;var Z=rn;if(Z===null)throw Error(e(404));return B=D++,O=":"+Z.idPrefix+"R"+O,0<B&&(O+="H"+B.toString(32)),O+":"},useMutableSource:function(O,B){return Ge(),B(O._source)},useSyncExternalStore:function(O,B,Z){if(Z===void 0)throw Error(e(407));return Z()}},rn=null,fo=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function bo(O){return console.error(O),null}function Wn(){}function Ci(O,B,Z,se,je,Me,et,Ct,zt){var hr=[],ar=new Set;return B={destination:null,responseState:B,progressiveChunkSize:se===void 0?12800:se,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ar,pingedTasks:hr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:je===void 0?bo:je,onAllReady:Me===void 0?Wn:Me,onShellReady:et===void 0?Wn:et,onShellError:Ct===void 0?Wn:Ct,onFatalError:zt===void 0?Wn:zt},Z=ln(B,0,null,Z,!1,!1),Z.parentFlushed=!0,O=Go(B,O,null,Z,ar,Pt,null,yo),hr.push(O),B}function Go(O,B,Z,se,je,Me,et,Ct){O.allPendingTasks++,Z===null?O.pendingRootTasks++:Z.pendingTasks++;var zt={node:B,ping:function(){var hr=O.pingedTasks;hr.push(zt),hr.length===1&&vl(O)},blockedBoundary:Z,blockedSegment:se,abortSet:je,legacyContext:Me,context:et,treeContext:Ct};return je.add(zt),zt}function ln(O,B,Z,se,je,Me){return{status:0,id:-1,index:B,parentFlushed:!1,chunks:[],children:[],formatContext:se,boundary:Z,lastPushedText:je,textEmbedded:Me}}function ms(O,B){if(O=O.onError(B),O!=null&&typeof O!="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 O+'" instead');return O}function Vn(O,B){var Z=O.onShellError;Z(B),Z=O.onFatalError,Z(B),O.destination!==null?(O.status=2,x(O.destination,B)):(O.status=1,O.fatalError=B)}function pl(O,B,Z,se,je){for(ro={},no=B,D=0,O=Z(se,je);Mr;)Mr=!1,D=0,me+=1,Pr=null,O=Z(se,je);return mr(),O}function Ia(O,B,Z,se){var je=Z.render(),Me=se.childContextTypes;if(Me!=null){var et=B.legacyContext;if(typeof Z.getChildContext!="function")se=et;else{Z=Z.getChildContext();for(var Ct in Z)if(!(Ct in Me))throw Error(e(108,ht(se)||"Unknown",Ct));se=Fn({},et,Z)}B.legacyContext=se,Gn(O,B,je),B.legacyContext=et}else Gn(O,B,je)}function Zo(O,B){if(O&&O.defaultProps){B=Fn({},B),O=O.defaultProps;for(var Z in O)B[Z]===void 0&&(B[Z]=O[Z]);return B}return B}function wi(O,B,Z,se,je){if(typeof Z=="function")if(Z.prototype&&Z.prototype.isReactComponent){je=Ht(Z,B.legacyContext);var Me=Z.contextType;Me=new Z(se,typeof Me=="object"&&Me!==null?Me._currentValue:je),en(Me,Z,se,je),Ia(O,B,Me,Z)}else{Me=Ht(Z,B.legacyContext),je=pl(O,B,Z,se,Me);var et=D!==0;if(typeof je=="object"&&je!==null&&typeof je.render=="function"&&je.$$typeof===void 0)en(je,Z,se,Me),Ia(O,B,je,Z);else if(et){se=B.treeContext,B.treeContext=Un(se,1,0);try{Gn(O,B,je)}finally{B.treeContext=se}}else Gn(O,B,je)}else if(typeof Z=="string"){switch(je=B.blockedSegment,Me=qe(je.chunks,Z,se,O.responseState,je.formatContext),je.lastPushedText=!1,et=je.formatContext,je.formatContext=ce(et,Z,se),ko(O,B,Me),je.formatContext=et,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:je.chunks.push(Qe,d(Z),St)}je.lastPushedText=!1}else{switch(Z){case Pe:case ie:case Eo:case On:case Ao:Gn(O,B,se.children);return;case yn:Gn(O,B,se.children);return;case X:throw Error(e(343));case an:e:{Z=B.blockedBoundary,je=B.blockedSegment,Me=se.fallback,se=se.children,et=new Set;var Ct={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:et,errorDigest:null},zt=ln(O,je.chunks.length,Ct,je.formatContext,!1,!1);je.children.push(zt),je.lastPushedText=!1;var hr=ln(O,0,null,je.formatContext,!1,!1);hr.parentFlushed=!0,B.blockedBoundary=Ct,B.blockedSegment=hr;try{if(ko(O,B,se),hr.lastPushedText&&hr.textEmbedded&&hr.chunks.push(pe),hr.status=1,Ui(Ct,hr),Ct.pendingTasks===0)break e}catch(ar){hr.status=4,Ct.forceClientRender=!0,Ct.errorDigest=ms(O,ar)}finally{B.blockedBoundary=Z,B.blockedSegment=je}B=Go(O,Me,Z,zt,et,B.legacyContext,B.context,B.treeContext),O.pingedTasks.push(B)}return}if(typeof Z=="object"&&Z!==null)switch(Z.$$typeof){case eo:if(se=pl(O,B,Z.render,se,je),D!==0){Z=B.treeContext,B.treeContext=Un(Z,1,0);try{Gn(O,B,se)}finally{B.treeContext=Z}}else Gn(O,B,se);return;case L:Z=Z.type,se=Zo(Z,se),wi(O,B,Z,se,je);return;case In:if(je=se.children,Z=Z._context,se=se.value,Me=Z._currentValue,Z._currentValue=se,et=Bt,Bt=se={parent:et,depth:et===null?0:et.depth+1,context:Z,parentValue:Me,value:se},B.context=se,Gn(O,B,je),O=Bt,O===null)throw Error(e(403));se=O.parentValue,O.context._currentValue=se===Re?O.context._defaultValue:se,O=Bt=O.parent,B.context=O;return;case pn:se=se.children,se=se(Z._currentValue),Gn(O,B,se);return;case H:je=Z._init,Z=je(Z._payload),se=Zo(Z,se),wi(O,B,Z,se,void 0);return}throw Error(e(130,Z==null?Z:typeof Z,""))}}function Gn(O,B,Z){if(B.node=Z,typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case Rn:wi(O,B,Z.type,Z.props,Z.ref);return;case vo:throw Error(e(257));case H:var se=Z._init;Z=se(Z._payload),Gn(O,B,Z);return}if(re(Z)){Qr(O,B,Z);return}if(Z===null||typeof Z!="object"?se=null:(se=Ve&&Z[Ve]||Z["@@iterator"],se=typeof se=="function"?se:null),se&&(se=se.call(Z))){if(Z=se.next(),!Z.done){var je=[];do je.push(Z.value),Z=se.next();while(!Z.done);Qr(O,B,je)}return}throw O=Object.prototype.toString.call(Z),Error(e(31,O==="[object Object]"?"object with keys {"+Object.keys(Z).join(", ")+"}":O))}typeof Z=="string"?(se=B.blockedSegment,se.lastPushedText=ye(B.blockedSegment.chunks,Z,O.responseState,se.lastPushedText)):typeof Z=="number"&&(se=B.blockedSegment,se.lastPushedText=ye(B.blockedSegment.chunks,""+Z,O.responseState,se.lastPushedText))}function Qr(O,B,Z){for(var se=Z.length,je=0;je<se;je++){var Me=B.treeContext;B.treeContext=Un(Me,se,je);try{ko(O,B,Z[je])}finally{B.treeContext=Me}}}function ko(O,B,Z){var se=B.blockedSegment.formatContext,je=B.legacyContext,Me=B.context;try{return Gn(O,B,Z)}catch(zt){if(mr(),typeof zt=="object"&&zt!==null&&typeof zt.then=="function"){Z=zt;var et=B.blockedSegment,Ct=ln(O,et.chunks.length,null,et.formatContext,et.lastPushedText,!0);et.children.push(Ct),et.lastPushedText=!1,O=Go(O,B.node,B.blockedBoundary,Ct,B.abortSet,B.legacyContext,B.context,B.treeContext).ping,Z.then(O,O),B.blockedSegment.formatContext=se,B.legacyContext=je,B.context=Me,$n(Me)}else throw B.blockedSegment.formatContext=se,B.legacyContext=je,B.context=Me,$n(Me),zt}}function La(O){var B=O.blockedBoundary;O=O.blockedSegment,O.status=3,ml(this,B,O)}function gl(O,B,Z){var se=O.blockedBoundary;O.blockedSegment.status=3,se===null?(B.allPendingTasks--,B.status!==2&&(B.status=2,B.destination!==null&&B.destination.close())):(se.pendingTasks--,se.forceClientRender||(se.forceClientRender=!0,O=Z===void 0?Error(e(432)):Z,se.errorDigest=B.onError(O),se.parentFlushed&&B.clientRenderedBoundaries.push(se)),se.fallbackAbortableTasks.forEach(function(je){return gl(je,B,Z)}),se.fallbackAbortableTasks.clear(),B.allPendingTasks--,B.allPendingTasks===0&&(se=B.onAllReady,se()))}function Ui(O,B){if(B.chunks.length===0&&B.children.length===1&&B.children[0].boundary===null){var Z=B.children[0];Z.id=B.id,Z.parentFlushed=!0,Z.status===1&&Ui(O,Z)}else O.completedSegments.push(B)}function ml(O,B,Z){if(B===null){if(Z.parentFlushed){if(O.completedRootSegment!==null)throw Error(e(389));O.completedRootSegment=Z}O.pendingRootTasks--,O.pendingRootTasks===0&&(O.onShellError=Wn,B=O.onShellReady,B())}else B.pendingTasks--,B.forceClientRender||(B.pendingTasks===0?(Z.parentFlushed&&Z.status===1&&Ui(B,Z),B.parentFlushed&&O.completedBoundaries.push(B),B.fallbackAbortableTasks.forEach(La,O),B.fallbackAbortableTasks.clear()):Z.parentFlushed&&Z.status===1&&(Ui(B,Z),B.completedSegments.length===1&&B.parentFlushed&&O.partialBoundaries.push(B)));O.allPendingTasks--,O.allPendingTasks===0&&(O=O.onAllReady,O())}function vl(O){if(O.status!==2){var B=Bt,Z=fo.current;fo.current=$r;var se=rn;rn=O.responseState;try{var je=O.pingedTasks,Me;for(Me=0;Me<je.length;Me++){var et=je[Me],Ct=O,zt=et.blockedSegment;if(zt.status===0){$n(et.context);try{Gn(Ct,et,et.node),zt.lastPushedText&&zt.textEmbedded&&zt.chunks.push(pe),et.abortSet.delete(et),zt.status=1,ml(Ct,et.blockedBoundary,zt)}catch(Io){if(mr(),typeof Io=="object"&&Io!==null&&typeof Io.then=="function"){var hr=et.ping;Io.then(hr,hr)}else{et.abortSet.delete(et),zt.status=4;var ar=et.blockedBoundary,Xr=Io,oo=ms(Ct,Xr);if(ar===null?Vn(Ct,Xr):(ar.pendingTasks--,ar.forceClientRender||(ar.forceClientRender=!0,ar.errorDigest=oo,ar.parentFlushed&&Ct.clientRenderedBoundaries.push(ar))),Ct.allPendingTasks--,Ct.allPendingTasks===0){var Ro=Ct.onAllReady;Ro()}}}finally{}}}je.splice(0,Me),O.destination!==null&&Xs(O,O.destination)}catch(Io){ms(O,Io),Vn(O,Io)}finally{rn=se,fo.current=Z,Z===$r&&$n(B)}}}function Ys(O,B,Z){switch(Z.parentFlushed=!0,Z.status){case 0:var se=Z.id=O.nextSegmentId++;return Z.lastPushedText=!1,Z.textEmbedded=!1,O=O.responseState,o(B,Dt),o(B,O.placeholderPrefix),O=d(se.toString(16)),o(B,O),a(B,Et);case 1:Z.status=2;var je=!0;se=Z.chunks;var Me=0;Z=Z.children;for(var et=0;et<Z.length;et++){for(je=Z[et];Me<je.index;Me++)o(B,se[Me]);je=vs(O,B,je)}for(;Me<se.length-1;Me++)o(B,se[Me]);return Me<se.length&&(je=a(B,se[Me])),je;default:throw Error(e(390))}}function vs(O,B,Z){var se=Z.boundary;if(se===null)return Ys(O,B,Z);if(se.parentFlushed=!0,se.forceClientRender)se=se.errorDigest,a(B,pr),o(B,Or),se&&(o(B,ae),o(B,d(q(se))),o(B,Ee)),a(B,st),Ys(O,B,Z);else if(0<se.pendingTasks){se.rootSegmentID=O.nextSegmentId++,0<se.completedSegments.length&&O.partialBoundaries.push(se);var je=O.responseState,Me=je.nextSuspenseID++;je=h(je.boundaryPrefix+Me.toString(16)),se=se.id=je,mt(B,O.responseState,se),Ys(O,B,Z)}else if(se.byteSize>O.progressiveChunkSize)se.rootSegmentID=O.nextSegmentId++,O.completedBoundaries.push(se),mt(B,O.responseState,se.id),Ys(O,B,Z);else{if(a(B,Ze),Z=se.completedSegments,Z.length!==1)throw Error(e(391));vs(O,B,Z[0])}return a(B,br)}function ys(O,B,Z){return Tt(B,O.responseState,Z.formatContext,Z.id),vs(O,B,Z),kt(B,Z.formatContext)}function Ai(O,B,Z){for(var se=Z.completedSegments,je=0;je<se.length;je++)yl(O,B,Z,se[je]);if(se.length=0,O=O.responseState,se=Z.id,Z=Z.rootSegmentID,o(B,O.startInlineScript),O.sentCompleteBoundaryFunction?o(B,Kt):(O.sentCompleteBoundaryFunction=!0,o(B,gr)),se===null)throw Error(e(395));return Z=d(Z.toString(16)),o(B,se),o(B,jr),o(B,O.segmentPrefix),o(B,Z),a(B,zr)}function yl(O,B,Z,se){if(se.status===2)return!0;var je=se.id;if(je===-1){if((se.id=Z.rootSegmentID)===-1)throw Error(e(392));return ys(O,B,se)}return ys(O,B,se),O=O.responseState,o(B,O.startInlineScript),O.sentCompleteSegmentFunction?o(B,or):(O.sentCompleteSegmentFunction=!0,o(B,wt)),o(B,O.segmentPrefix),je=d(je.toString(16)),o(B,je),o(B,Gt),o(B,O.placeholderPrefix),o(B,je),a(B,rr)}function Xs(O,B){t=new Uint8Array(512),n=0;try{var Z=O.completedRootSegment;if(Z!==null&&O.pendingRootTasks===0){vs(O,B,Z),O.completedRootSegment=null;var se=O.responseState.bootstrapChunks;for(Z=0;Z<se.length-1;Z++)o(B,se[Z]);Z<se.length&&a(B,se[Z])}var je=O.clientRenderedBoundaries,Me;for(Me=0;Me<je.length;Me++){var et=je[Me];se=B;var Ct=O.responseState,zt=et.id,hr=et.errorDigest,ar=et.errorMessage,Xr=et.errorComponentStack;if(o(se,Ct.startInlineScript),Ct.sentClientRenderFunction?o(se,Fr):(Ct.sentClientRenderFunction=!0,o(se,vn)),zt===null)throw Error(e(395));o(se,zt),o(se,kn),(hr||ar||Xr)&&(o(se,Jn),o(se,d(sn(hr||"")))),(ar||Xr)&&(o(se,Jn),o(se,d(sn(ar||"")))),Xr&&(o(se,Jn),o(se,d(sn(Xr)))),a(se,hn)}je.splice(0,Me);var oo=O.completedBoundaries;for(Me=0;Me<oo.length;Me++)Ai(O,B,oo[Me]);oo.splice(0,Me),u(B),t=new Uint8Array(512),n=0;var Ro=O.partialBoundaries;for(Me=0;Me<Ro.length;Me++){var Io=Ro[Me];e:{je=O,et=B;var Js=Io.completedSegments;for(Ct=0;Ct<Js.length;Ct++)if(!yl(je,et,Io,Js[Ct])){Ct++,Js.splice(0,Ct);var bl=!1;break e}Js.splice(0,Ct),bl=!0}if(!bl){O.destination=null,Me++,Ro.splice(0,Me);return}}Ro.splice(0,Me);var bs=O.completedBoundaries;for(Me=0;Me<bs.length;Me++)Ai(O,B,bs[Me]);bs.splice(0,Me)}finally{u(B),O.allPendingTasks===0&&O.pingedTasks.length===0&&O.clientRenderedBoundaries.length===0&&O.completedBoundaries.length===0&&B.close()}}function Oa(O,B){try{var Z=O.abortableTasks;Z.forEach(function(se){return gl(se,O,B)}),Z.clear(),O.destination!==null&&Xs(O,O.destination)}catch(se){ms(O,se),Vn(O,se)}}return Id.renderToReadableStream=function(O,B){return new Promise(function(Z,se){var je,Me,et=new Promise(function(ar,Xr){Me=ar,je=Xr}),Ct=Ci(O,fe(B?B.identifierPrefix:void 0,B?B.nonce:void 0,B?B.bootstrapScriptContent:void 0,B?B.bootstrapScripts:void 0,B?B.bootstrapModules:void 0),te(B?B.namespaceURI:void 0),B?B.progressiveChunkSize:void 0,B?B.onError:void 0,Me,function(){var ar=new ReadableStream({type:"bytes",pull:function(Xr){if(Ct.status===1)Ct.status=2,x(Xr,Ct.fatalError);else if(Ct.status!==2&&Ct.destination===null){Ct.destination=Xr;try{Xs(Ct,Xr)}catch(oo){ms(Ct,oo),Vn(Ct,oo)}}},cancel:function(){Oa(Ct)}},{highWaterMark:0});ar.allReady=et,Z(ar)},function(ar){et.catch(function(){}),se(ar)},je);if(B&&B.signal){var zt=B.signal,hr=function(){Oa(Ct,zt.reason),zt.removeEventListener("abort",hr)};zt.addEventListener("abort",hr)}vl(Ct)})},Id.version="18.2.0",Id}var Kc={};/**
|
78
|
+
`&&O.push(Ke),Me;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":O.push(_t(B));for(var Ro in Z)if(_.call(Z,Ro)&&(Me=Z[Ro],Me!=null))switch(Ro){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,B));default:Te(O,se,Ro,Me)}return O.push(ot),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 De(O,Z,B,se);case"html":return je.insertionMode===0&&O.push(At),De(O,Z,B,se);default:if(B.indexOf("-")===-1&&typeof Z.is!="string")return De(O,Z,B,se);O.push(_t(B)),et=Me=null;for(hr in Z)if(_.call(Z,hr)&&(Ct=Z[hr],Ct!=null))switch(hr){case"children":Me=Ct;break;case"dangerouslySetInnerHTML":et=Ct;break;case"style":Ue(O,se,Ct);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:T(hr)&&typeof Ct!="function"&&typeof Ct!="symbol"&&O.push(We,d(hr),Se,d(q(Ct)),_e)}return O.push(Ne),$e(O,et,Me),Me}}var Qe=h("</"),St=h(">"),Dt=h('<template id="'),Et=h('"></template>'),Ze=h("<!--$-->"),It=h('<!--$?--><template id="'),Ot=h('"></template>'),pr=h("<!--$!-->"),br=h("<!--/$-->"),Or=h("<template"),Ee=h('"'),ae=h(' data-dgst="');h(' data-msg="'),h(' data-stck="');var st=h("></template>");function mt(O,B,Z){if(o(O,It),Z===null)throw Error(e(395));return o(O,Z),a(O,Ot)}var Ft=h('<div hidden id="'),Rt=h('">'),Mt=h("</div>"),Qt=h('<svg aria-hidden="true" style="display:none" id="'),qt=h('">'),sr=h("</svg>"),er=h('<math aria-hidden="true" style="display:none" id="'),_r=h('">'),fr=h("</math>"),lt=h('<table hidden id="'),it=h('">'),Fe=h("</table>"),ut=h('<table hidden><tbody id="'),nt=h('">'),$t=h("</tbody></table>"),wr=h('<table hidden><tr id="'),ne=h('">'),He=h("</tr></table>"),xe=h('<table hidden><colgroup id="'),Ye=h('">'),xt=h("</colgroup></table>");function Tt(O,B,Z,se){switch(Z.insertionMode){case 0:case 1:return o(O,Ft),o(O,B.segmentPrefix),o(O,d(se.toString(16))),a(O,Rt);case 2:return o(O,Qt),o(O,B.segmentPrefix),o(O,d(se.toString(16))),a(O,qt);case 3:return o(O,er),o(O,B.segmentPrefix),o(O,d(se.toString(16))),a(O,_r);case 4:return o(O,lt),o(O,B.segmentPrefix),o(O,d(se.toString(16))),a(O,it);case 5:return o(O,ut),o(O,B.segmentPrefix),o(O,d(se.toString(16))),a(O,nt);case 6:return o(O,wr),o(O,B.segmentPrefix),o(O,d(se.toString(16))),a(O,ne);case 7:return o(O,xe),o(O,B.segmentPrefix),o(O,d(se.toString(16))),a(O,Ye);default:throw Error(e(397))}}function kt(O,B){switch(B.insertionMode){case 0:case 1:return a(O,Mt);case 2:return a(O,sr);case 3:return a(O,fr);case 4:return a(O,Fe);case 5:return a(O,$t);case 6:return a(O,He);case 7:return a(O,xt);default:throw Error(e(397))}}var wt=h('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("'),or=h('$RS("'),Gt=h('","'),rr=h('")<\/script>'),gr=h('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("'),Kt=h('$RC("'),jr=h('","'),zr=h('")<\/script>'),vn=h('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("'),Fr=h('$RX("'),kn=h('"'),hn=h(")<\/script>"),Jn=h(","),Qn=/[<\u2028\u2029]/g;function sn(O){return JSON.stringify(O).replace(Qn,function(B){switch(B){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 Fn=Object.assign,Rn=Symbol.for("react.element"),vo=Symbol.for("react.portal"),Ao=Symbol.for("react.fragment"),Eo=Symbol.for("react.strict_mode"),On=Symbol.for("react.profiler"),In=Symbol.for("react.provider"),pn=Symbol.for("react.context"),eo=Symbol.for("react.forward_ref"),an=Symbol.for("react.suspense"),yn=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),X=Symbol.for("react.scope"),ie=Symbol.for("react.debug_trace_mode"),Pe=Symbol.for("react.legacy_hidden"),Re=Symbol.for("react.default_value"),Ve=Symbol.iterator;function ht(O){if(O==null)return null;if(typeof O=="function")return O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case Ao:return"Fragment";case vo:return"Portal";case On:return"Profiler";case Eo:return"StrictMode";case an:return"Suspense";case yn:return"SuspenseList"}if(typeof O=="object")switch(O.$$typeof){case pn:return(O.displayName||"Context")+".Consumer";case In:return(O._context.displayName||"Context")+".Provider";case eo:var B=O.render;return O=O.displayName,O||(O=B.displayName||B.name||"",O=O!==""?"ForwardRef("+O+")":"ForwardRef"),O;case L:return B=O.displayName||null,B!==null?B:ht(O.type)||"Memo";case H:B=O._payload,O=O._init;try{return ht(O(B))}catch{}}return null}var Pt={};function Ht(O,B){if(O=O.contextTypes,!O)return Pt;var Z={},se;for(se in O)Z[se]=B[se];return Z}var Bt=null;function Sr(O,B){if(O!==B){O.context._currentValue=O.parentValue,O=O.parent;var Z=B.parent;if(O===null){if(Z!==null)throw Error(e(401))}else{if(Z===null)throw Error(e(401));Sr(O,Z)}B.context._currentValue=B.value}}function Jr(O){O.context._currentValue=O.parentValue,O=O.parent,O!==null&&Jr(O)}function xn(O){var B=O.parent;B!==null&&xn(B),O.context._currentValue=O.value}function Sn(O,B){if(O.context._currentValue=O.parentValue,O=O.parent,O===null)throw Error(e(402));O.depth===B.depth?Sr(O,B):Sn(O,B)}function uo(O,B){var Z=B.parent;if(Z===null)throw Error(e(402));O.depth===Z.depth?Sr(O,Z):uo(O,Z),B.context._currentValue=B.value}function $n(O){var B=Bt;B!==O&&(B===null?xn(O):O===null?Jr(B):B.depth===O.depth?Sr(B,O):B.depth>O.depth?Sn(B,O):uo(B,O),Bt=O)}var To={isMounted:function(){return!1},enqueueSetState:function(O,B){O=O._reactInternals,O.queue!==null&&O.queue.push(B)},enqueueReplaceState:function(O,B){O=O._reactInternals,O.replace=!0,O.queue=[B]},enqueueForceUpdate:function(){}};function en(O,B,Z,se){var je=O.state!==void 0?O.state:null;O.updater=To,O.props=Z,O.state=je;var Me={queue:[],replace:!1};O._reactInternals=Me;var et=B.contextType;if(O.context=typeof et=="object"&&et!==null?et._currentValue:se,et=B.getDerivedStateFromProps,typeof et=="function"&&(et=et(Z,je),je=et==null?je:Fn({},je,et),O.state=je),typeof B.getDerivedStateFromProps!="function"&&typeof O.getSnapshotBeforeUpdate!="function"&&(typeof O.UNSAFE_componentWillMount=="function"||typeof O.componentWillMount=="function"))if(B=O.state,typeof O.componentWillMount=="function"&&O.componentWillMount(),typeof O.UNSAFE_componentWillMount=="function"&&O.UNSAFE_componentWillMount(),B!==O.state&&To.enqueueReplaceState(O,O.state,null),Me.queue!==null&&0<Me.queue.length)if(B=Me.queue,et=Me.replace,Me.queue=null,Me.replace=!1,et&&B.length===1)O.state=B[0];else{for(Me=et?B[0]:O.state,je=!0,et=et?1:0;et<B.length;et++){var Ct=B[et];Ct=typeof Ct=="function"?Ct.call(O,Me,Z,se):Ct,Ct!=null&&(je?(je=!1,Me=Fn({},Me,Ct)):Fn(Me,Ct))}O.state=Me}else Me.queue=null}var yo={id:1,overflow:""};function Un(O,B,Z){var se=O.id;O=O.overflow;var je=32-to(se)-1;se&=~(1<<je),Z+=1;var Me=32-to(B)+je;if(30<Me){var et=je-je%5;return Me=(se&(1<<et)-1).toString(32),se>>=et,je-=et,{id:1<<32-to(B)+je|Z<<je|se,overflow:Me+O}}return{id:1<<Me|Z<<je|se,overflow:O}}var to=Math.clz32?Math.clz32:si,xi=Math.log,ii=Math.LN2;function si(O){return O>>>=0,O===0?32:31-(xi(O)/ii|0)|0}function Mn(O,B){return O===B&&(O!==0||1/O===1/B)||O!==O&&B!==B}var Si=typeof Object.is=="function"?Object.is:Mn,ro=null,no=null,Vo=null,Pr=null,Ar=!1,Mr=!1,D=0,J=null,me=0;function Ge(){if(ro===null)throw Error(e(321));return ro}function Yt(){if(0<me)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Ut(){return Pr===null?Vo===null?(Ar=!1,Vo=Pr=Yt()):(Ar=!0,Pr=Vo):Pr.next===null?(Ar=!1,Pr=Pr.next=Yt()):(Ar=!0,Pr=Pr.next),Pr}function mr(){no=ro=null,Mr=!1,Vo=null,me=0,Pr=J=null}function Cr(O,B){return typeof B=="function"?B(O):B}function dr(O,B,Z){if(ro=Ge(),Pr=Ut(),Ar){var se=Pr.queue;if(B=se.dispatch,J!==null&&(Z=J.get(se),Z!==void 0)){J.delete(se),se=Pr.memoizedState;do se=O(se,Z.action),Z=Z.next;while(Z!==null);return Pr.memoizedState=se,[se,B]}return[Pr.memoizedState,B]}return O=O===Cr?typeof B=="function"?B():B:Z!==void 0?Z(B):B,Pr.memoizedState=O,O=Pr.queue={last:null,dispatch:null},O=O.dispatch=tn.bind(null,ro,O),[Pr.memoizedState,O]}function Er(O,B){if(ro=Ge(),Pr=Ut(),B=B===void 0?null:B,Pr!==null){var Z=Pr.memoizedState;if(Z!==null&&B!==null){var se=Z[1];e:if(se===null)se=!1;else{for(var je=0;je<se.length&&je<B.length;je++)if(!Si(B[je],se[je])){se=!1;break e}se=!0}if(se)return Z[0]}}return O=O(),Pr.memoizedState=[O,B],O}function tn(O,B,Z){if(25<=me)throw Error(e(301));if(O===ro)if(Mr=!0,O={action:Z,next:null},J===null&&(J=new Map),Z=J.get(B),Z===void 0)J.set(B,O);else{for(B=Z;B.next!==null;)B=B.next;B.next=O}}function Dn(){throw Error(e(394))}function Yr(){}var $r={readContext:function(O){return O._currentValue},useContext:function(O){return Ge(),O._currentValue},useMemo:Er,useReducer:dr,useRef:function(O){ro=Ge(),Pr=Ut();var B=Pr.memoizedState;return B===null?(O={current:O},Pr.memoizedState=O):B},useState:function(O){return dr(Cr,O)},useInsertionEffect:Yr,useLayoutEffect:function(){},useCallback:function(O,B){return Er(function(){return O},B)},useImperativeHandle:Yr,useEffect:Yr,useDebugValue:Yr,useDeferredValue:function(O){return Ge(),O},useTransition:function(){return Ge(),[!1,Dn]},useId:function(){var O=no.treeContext,B=O.overflow;O=O.id,O=(O&~(1<<32-to(O)-1)).toString(32)+B;var Z=rn;if(Z===null)throw Error(e(404));return B=D++,O=":"+Z.idPrefix+"R"+O,0<B&&(O+="H"+B.toString(32)),O+":"},useMutableSource:function(O,B){return Ge(),B(O._source)},useSyncExternalStore:function(O,B,Z){if(Z===void 0)throw Error(e(407));return Z()}},rn=null,fo=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function bo(O){return console.error(O),null}function Wn(){}function Ci(O,B,Z,se,je,Me,et,Ct,zt){var hr=[],ar=new Set;return B={destination:null,responseState:B,progressiveChunkSize:se===void 0?12800:se,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ar,pingedTasks:hr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:je===void 0?bo:je,onAllReady:Me===void 0?Wn:Me,onShellReady:et===void 0?Wn:et,onShellError:Ct===void 0?Wn:Ct,onFatalError:zt===void 0?Wn:zt},Z=ln(B,0,null,Z,!1,!1),Z.parentFlushed=!0,O=Go(B,O,null,Z,ar,Pt,null,yo),hr.push(O),B}function Go(O,B,Z,se,je,Me,et,Ct){O.allPendingTasks++,Z===null?O.pendingRootTasks++:Z.pendingTasks++;var zt={node:B,ping:function(){var hr=O.pingedTasks;hr.push(zt),hr.length===1&&vl(O)},blockedBoundary:Z,blockedSegment:se,abortSet:je,legacyContext:Me,context:et,treeContext:Ct};return je.add(zt),zt}function ln(O,B,Z,se,je,Me){return{status:0,id:-1,index:B,parentFlushed:!1,chunks:[],children:[],formatContext:se,boundary:Z,lastPushedText:je,textEmbedded:Me}}function ms(O,B){if(O=O.onError(B),O!=null&&typeof O!="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 O+'" instead');return O}function Vn(O,B){var Z=O.onShellError;Z(B),Z=O.onFatalError,Z(B),O.destination!==null?(O.status=2,x(O.destination,B)):(O.status=1,O.fatalError=B)}function pl(O,B,Z,se,je){for(ro={},no=B,D=0,O=Z(se,je);Mr;)Mr=!1,D=0,me+=1,Pr=null,O=Z(se,je);return mr(),O}function Ia(O,B,Z,se){var je=Z.render(),Me=se.childContextTypes;if(Me!=null){var et=B.legacyContext;if(typeof Z.getChildContext!="function")se=et;else{Z=Z.getChildContext();for(var Ct in Z)if(!(Ct in Me))throw Error(e(108,ht(se)||"Unknown",Ct));se=Fn({},et,Z)}B.legacyContext=se,Gn(O,B,je),B.legacyContext=et}else Gn(O,B,je)}function Zo(O,B){if(O&&O.defaultProps){B=Fn({},B),O=O.defaultProps;for(var Z in O)B[Z]===void 0&&(B[Z]=O[Z]);return B}return B}function wi(O,B,Z,se,je){if(typeof Z=="function")if(Z.prototype&&Z.prototype.isReactComponent){je=Ht(Z,B.legacyContext);var Me=Z.contextType;Me=new Z(se,typeof Me=="object"&&Me!==null?Me._currentValue:je),en(Me,Z,se,je),Ia(O,B,Me,Z)}else{Me=Ht(Z,B.legacyContext),je=pl(O,B,Z,se,Me);var et=D!==0;if(typeof je=="object"&&je!==null&&typeof je.render=="function"&&je.$$typeof===void 0)en(je,Z,se,Me),Ia(O,B,je,Z);else if(et){se=B.treeContext,B.treeContext=Un(se,1,0);try{Gn(O,B,je)}finally{B.treeContext=se}}else Gn(O,B,je)}else if(typeof Z=="string"){switch(je=B.blockedSegment,Me=qe(je.chunks,Z,se,O.responseState,je.formatContext),je.lastPushedText=!1,et=je.formatContext,je.formatContext=ce(et,Z,se),ko(O,B,Me),je.formatContext=et,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:je.chunks.push(Qe,d(Z),St)}je.lastPushedText=!1}else{switch(Z){case Pe:case ie:case Eo:case On:case Ao:Gn(O,B,se.children);return;case yn:Gn(O,B,se.children);return;case X:throw Error(e(343));case an:e:{Z=B.blockedBoundary,je=B.blockedSegment,Me=se.fallback,se=se.children,et=new Set;var Ct={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:et,errorDigest:null},zt=ln(O,je.chunks.length,Ct,je.formatContext,!1,!1);je.children.push(zt),je.lastPushedText=!1;var hr=ln(O,0,null,je.formatContext,!1,!1);hr.parentFlushed=!0,B.blockedBoundary=Ct,B.blockedSegment=hr;try{if(ko(O,B,se),hr.lastPushedText&&hr.textEmbedded&&hr.chunks.push(pe),hr.status=1,Wi(Ct,hr),Ct.pendingTasks===0)break e}catch(ar){hr.status=4,Ct.forceClientRender=!0,Ct.errorDigest=ms(O,ar)}finally{B.blockedBoundary=Z,B.blockedSegment=je}B=Go(O,Me,Z,zt,et,B.legacyContext,B.context,B.treeContext),O.pingedTasks.push(B)}return}if(typeof Z=="object"&&Z!==null)switch(Z.$$typeof){case eo:if(se=pl(O,B,Z.render,se,je),D!==0){Z=B.treeContext,B.treeContext=Un(Z,1,0);try{Gn(O,B,se)}finally{B.treeContext=Z}}else Gn(O,B,se);return;case L:Z=Z.type,se=Zo(Z,se),wi(O,B,Z,se,je);return;case In:if(je=se.children,Z=Z._context,se=se.value,Me=Z._currentValue,Z._currentValue=se,et=Bt,Bt=se={parent:et,depth:et===null?0:et.depth+1,context:Z,parentValue:Me,value:se},B.context=se,Gn(O,B,je),O=Bt,O===null)throw Error(e(403));se=O.parentValue,O.context._currentValue=se===Re?O.context._defaultValue:se,O=Bt=O.parent,B.context=O;return;case pn:se=se.children,se=se(Z._currentValue),Gn(O,B,se);return;case H:je=Z._init,Z=je(Z._payload),se=Zo(Z,se),wi(O,B,Z,se,void 0);return}throw Error(e(130,Z==null?Z:typeof Z,""))}}function Gn(O,B,Z){if(B.node=Z,typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case Rn:wi(O,B,Z.type,Z.props,Z.ref);return;case vo:throw Error(e(257));case H:var se=Z._init;Z=se(Z._payload),Gn(O,B,Z);return}if(re(Z)){Qr(O,B,Z);return}if(Z===null||typeof Z!="object"?se=null:(se=Ve&&Z[Ve]||Z["@@iterator"],se=typeof se=="function"?se:null),se&&(se=se.call(Z))){if(Z=se.next(),!Z.done){var je=[];do je.push(Z.value),Z=se.next();while(!Z.done);Qr(O,B,je)}return}throw O=Object.prototype.toString.call(Z),Error(e(31,O==="[object Object]"?"object with keys {"+Object.keys(Z).join(", ")+"}":O))}typeof Z=="string"?(se=B.blockedSegment,se.lastPushedText=ye(B.blockedSegment.chunks,Z,O.responseState,se.lastPushedText)):typeof Z=="number"&&(se=B.blockedSegment,se.lastPushedText=ye(B.blockedSegment.chunks,""+Z,O.responseState,se.lastPushedText))}function Qr(O,B,Z){for(var se=Z.length,je=0;je<se;je++){var Me=B.treeContext;B.treeContext=Un(Me,se,je);try{ko(O,B,Z[je])}finally{B.treeContext=Me}}}function ko(O,B,Z){var se=B.blockedSegment.formatContext,je=B.legacyContext,Me=B.context;try{return Gn(O,B,Z)}catch(zt){if(mr(),typeof zt=="object"&&zt!==null&&typeof zt.then=="function"){Z=zt;var et=B.blockedSegment,Ct=ln(O,et.chunks.length,null,et.formatContext,et.lastPushedText,!0);et.children.push(Ct),et.lastPushedText=!1,O=Go(O,B.node,B.blockedBoundary,Ct,B.abortSet,B.legacyContext,B.context,B.treeContext).ping,Z.then(O,O),B.blockedSegment.formatContext=se,B.legacyContext=je,B.context=Me,$n(Me)}else throw B.blockedSegment.formatContext=se,B.legacyContext=je,B.context=Me,$n(Me),zt}}function La(O){var B=O.blockedBoundary;O=O.blockedSegment,O.status=3,ml(this,B,O)}function gl(O,B,Z){var se=O.blockedBoundary;O.blockedSegment.status=3,se===null?(B.allPendingTasks--,B.status!==2&&(B.status=2,B.destination!==null&&B.destination.close())):(se.pendingTasks--,se.forceClientRender||(se.forceClientRender=!0,O=Z===void 0?Error(e(432)):Z,se.errorDigest=B.onError(O),se.parentFlushed&&B.clientRenderedBoundaries.push(se)),se.fallbackAbortableTasks.forEach(function(je){return gl(je,B,Z)}),se.fallbackAbortableTasks.clear(),B.allPendingTasks--,B.allPendingTasks===0&&(se=B.onAllReady,se()))}function Wi(O,B){if(B.chunks.length===0&&B.children.length===1&&B.children[0].boundary===null){var Z=B.children[0];Z.id=B.id,Z.parentFlushed=!0,Z.status===1&&Wi(O,Z)}else O.completedSegments.push(B)}function ml(O,B,Z){if(B===null){if(Z.parentFlushed){if(O.completedRootSegment!==null)throw Error(e(389));O.completedRootSegment=Z}O.pendingRootTasks--,O.pendingRootTasks===0&&(O.onShellError=Wn,B=O.onShellReady,B())}else B.pendingTasks--,B.forceClientRender||(B.pendingTasks===0?(Z.parentFlushed&&Z.status===1&&Wi(B,Z),B.parentFlushed&&O.completedBoundaries.push(B),B.fallbackAbortableTasks.forEach(La,O),B.fallbackAbortableTasks.clear()):Z.parentFlushed&&Z.status===1&&(Wi(B,Z),B.completedSegments.length===1&&B.parentFlushed&&O.partialBoundaries.push(B)));O.allPendingTasks--,O.allPendingTasks===0&&(O=O.onAllReady,O())}function vl(O){if(O.status!==2){var B=Bt,Z=fo.current;fo.current=$r;var se=rn;rn=O.responseState;try{var je=O.pingedTasks,Me;for(Me=0;Me<je.length;Me++){var et=je[Me],Ct=O,zt=et.blockedSegment;if(zt.status===0){$n(et.context);try{Gn(Ct,et,et.node),zt.lastPushedText&&zt.textEmbedded&&zt.chunks.push(pe),et.abortSet.delete(et),zt.status=1,ml(Ct,et.blockedBoundary,zt)}catch(Io){if(mr(),typeof Io=="object"&&Io!==null&&typeof Io.then=="function"){var hr=et.ping;Io.then(hr,hr)}else{et.abortSet.delete(et),zt.status=4;var ar=et.blockedBoundary,Xr=Io,oo=ms(Ct,Xr);if(ar===null?Vn(Ct,Xr):(ar.pendingTasks--,ar.forceClientRender||(ar.forceClientRender=!0,ar.errorDigest=oo,ar.parentFlushed&&Ct.clientRenderedBoundaries.push(ar))),Ct.allPendingTasks--,Ct.allPendingTasks===0){var Ro=Ct.onAllReady;Ro()}}}finally{}}}je.splice(0,Me),O.destination!==null&&Xs(O,O.destination)}catch(Io){ms(O,Io),Vn(O,Io)}finally{rn=se,fo.current=Z,Z===$r&&$n(B)}}}function Ys(O,B,Z){switch(Z.parentFlushed=!0,Z.status){case 0:var se=Z.id=O.nextSegmentId++;return Z.lastPushedText=!1,Z.textEmbedded=!1,O=O.responseState,o(B,Dt),o(B,O.placeholderPrefix),O=d(se.toString(16)),o(B,O),a(B,Et);case 1:Z.status=2;var je=!0;se=Z.chunks;var Me=0;Z=Z.children;for(var et=0;et<Z.length;et++){for(je=Z[et];Me<je.index;Me++)o(B,se[Me]);je=vs(O,B,je)}for(;Me<se.length-1;Me++)o(B,se[Me]);return Me<se.length&&(je=a(B,se[Me])),je;default:throw Error(e(390))}}function vs(O,B,Z){var se=Z.boundary;if(se===null)return Ys(O,B,Z);if(se.parentFlushed=!0,se.forceClientRender)se=se.errorDigest,a(B,pr),o(B,Or),se&&(o(B,ae),o(B,d(q(se))),o(B,Ee)),a(B,st),Ys(O,B,Z);else if(0<se.pendingTasks){se.rootSegmentID=O.nextSegmentId++,0<se.completedSegments.length&&O.partialBoundaries.push(se);var je=O.responseState,Me=je.nextSuspenseID++;je=h(je.boundaryPrefix+Me.toString(16)),se=se.id=je,mt(B,O.responseState,se),Ys(O,B,Z)}else if(se.byteSize>O.progressiveChunkSize)se.rootSegmentID=O.nextSegmentId++,O.completedBoundaries.push(se),mt(B,O.responseState,se.id),Ys(O,B,Z);else{if(a(B,Ze),Z=se.completedSegments,Z.length!==1)throw Error(e(391));vs(O,B,Z[0])}return a(B,br)}function ys(O,B,Z){return Tt(B,O.responseState,Z.formatContext,Z.id),vs(O,B,Z),kt(B,Z.formatContext)}function Ai(O,B,Z){for(var se=Z.completedSegments,je=0;je<se.length;je++)yl(O,B,Z,se[je]);if(se.length=0,O=O.responseState,se=Z.id,Z=Z.rootSegmentID,o(B,O.startInlineScript),O.sentCompleteBoundaryFunction?o(B,Kt):(O.sentCompleteBoundaryFunction=!0,o(B,gr)),se===null)throw Error(e(395));return Z=d(Z.toString(16)),o(B,se),o(B,jr),o(B,O.segmentPrefix),o(B,Z),a(B,zr)}function yl(O,B,Z,se){if(se.status===2)return!0;var je=se.id;if(je===-1){if((se.id=Z.rootSegmentID)===-1)throw Error(e(392));return ys(O,B,se)}return ys(O,B,se),O=O.responseState,o(B,O.startInlineScript),O.sentCompleteSegmentFunction?o(B,or):(O.sentCompleteSegmentFunction=!0,o(B,wt)),o(B,O.segmentPrefix),je=d(je.toString(16)),o(B,je),o(B,Gt),o(B,O.placeholderPrefix),o(B,je),a(B,rr)}function Xs(O,B){t=new Uint8Array(512),n=0;try{var Z=O.completedRootSegment;if(Z!==null&&O.pendingRootTasks===0){vs(O,B,Z),O.completedRootSegment=null;var se=O.responseState.bootstrapChunks;for(Z=0;Z<se.length-1;Z++)o(B,se[Z]);Z<se.length&&a(B,se[Z])}var je=O.clientRenderedBoundaries,Me;for(Me=0;Me<je.length;Me++){var et=je[Me];se=B;var Ct=O.responseState,zt=et.id,hr=et.errorDigest,ar=et.errorMessage,Xr=et.errorComponentStack;if(o(se,Ct.startInlineScript),Ct.sentClientRenderFunction?o(se,Fr):(Ct.sentClientRenderFunction=!0,o(se,vn)),zt===null)throw Error(e(395));o(se,zt),o(se,kn),(hr||ar||Xr)&&(o(se,Jn),o(se,d(sn(hr||"")))),(ar||Xr)&&(o(se,Jn),o(se,d(sn(ar||"")))),Xr&&(o(se,Jn),o(se,d(sn(Xr)))),a(se,hn)}je.splice(0,Me);var oo=O.completedBoundaries;for(Me=0;Me<oo.length;Me++)Ai(O,B,oo[Me]);oo.splice(0,Me),u(B),t=new Uint8Array(512),n=0;var Ro=O.partialBoundaries;for(Me=0;Me<Ro.length;Me++){var Io=Ro[Me];e:{je=O,et=B;var Js=Io.completedSegments;for(Ct=0;Ct<Js.length;Ct++)if(!yl(je,et,Io,Js[Ct])){Ct++,Js.splice(0,Ct);var bl=!1;break e}Js.splice(0,Ct),bl=!0}if(!bl){O.destination=null,Me++,Ro.splice(0,Me);return}}Ro.splice(0,Me);var bs=O.completedBoundaries;for(Me=0;Me<bs.length;Me++)Ai(O,B,bs[Me]);bs.splice(0,Me)}finally{u(B),O.allPendingTasks===0&&O.pingedTasks.length===0&&O.clientRenderedBoundaries.length===0&&O.completedBoundaries.length===0&&B.close()}}function Oa(O,B){try{var Z=O.abortableTasks;Z.forEach(function(se){return gl(se,O,B)}),Z.clear(),O.destination!==null&&Xs(O,O.destination)}catch(se){ms(O,se),Vn(O,se)}}return Id.renderToReadableStream=function(O,B){return new Promise(function(Z,se){var je,Me,et=new Promise(function(ar,Xr){Me=ar,je=Xr}),Ct=Ci(O,fe(B?B.identifierPrefix:void 0,B?B.nonce:void 0,B?B.bootstrapScriptContent:void 0,B?B.bootstrapScripts:void 0,B?B.bootstrapModules:void 0),te(B?B.namespaceURI:void 0),B?B.progressiveChunkSize:void 0,B?B.onError:void 0,Me,function(){var ar=new ReadableStream({type:"bytes",pull:function(Xr){if(Ct.status===1)Ct.status=2,x(Xr,Ct.fatalError);else if(Ct.status!==2&&Ct.destination===null){Ct.destination=Xr;try{Xs(Ct,Xr)}catch(oo){ms(Ct,oo),Vn(Ct,oo)}}},cancel:function(){Oa(Ct)}},{highWaterMark:0});ar.allReady=et,Z(ar)},function(ar){et.catch(function(){}),se(ar)},je);if(B&&B.signal){var zt=B.signal,hr=function(){Oa(Ct,zt.reason),zt.removeEventListener("abort",hr)};zt.addEventListener("abort",hr)}vl(Ct)})},Id.version="18.2.0",Id}var Kc={};/**
|
79
79
|
* @license React
|
80
80
|
* react-dom-server-legacy.browser.development.js
|
81
81
|
*
|
@@ -83,17 +83,17 @@ function print() { __p += __j.call(arguments, '') }
|
|
83
83
|
*
|
84
84
|
* This source code is licensed under the MIT license found in the
|
85
85
|
* LICENSE file in the root directory of this source tree.
|
86
|
-
*/var ry;function TE(){return ry||(ry=1,process.env.NODE_ENV!=="production"&&function(){var r=k,e="18.2.0",t=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(s){{for(var c=arguments.length,g=new Array(c>1?c-1:0),A=1;A<c;A++)g[A-1]=arguments[A];a("warn",s,g)}}function o(s){{for(var c=arguments.length,g=new Array(c>1?c-1:0),A=1;A<c;A++)g[A-1]=arguments[A];a("error",s,g)}}function a(s,c,g){{var A=t.ReactDebugCurrentFrame,N=A.getStackAddendum();N!==""&&(c+="%s",g=g.concat([N]));var z=g.map(function(Y){return String(Y)});z.unshift("Warning: "+c),Function.prototype.apply.call(console[s],console,z)}}function u(s){s()}function f(s){}function d(s,c){h(s,c)}function h(s,c){return s.push(c)}function x(s){}function _(s){s.push(null)}function v(s){return s}function y(s){return s}function b(s,c){s.destroy(c)}function T(s){{var c=typeof Symbol=="function"&&Symbol.toStringTag,g=c&&s[Symbol.toStringTag]||s.constructor.name||"Object";return g}}function w(s){try{return S(s),!1}catch{return!0}}function S(s){return""+s}function E(s,c){if(w(s))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",c,T(s)),S(s)}function R(s,c){if(w(s))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",c,T(s)),S(s)}function I(s){if(w(s))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",T(s)),S(s)}var P=Object.prototype.hasOwnProperty,j=0,q=1,$=2,G=3,re=4,F=5,W=6,V=":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",ee=V+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ue=new RegExp("^["+V+"]["+ee+"]*$"),le={},de={};function fe(s){return P.call(de,s)?!0:P.call(le,s)?!1:ue.test(s)?(de[s]=!0,!0):(le[s]=!0,o("Invalid attribute name: `%s`",s),!1)}function ve(s,c,g,A){if(g!==null&&g.type===j)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":{if(g!==null)return!g.acceptsBooleans;var N=s.toLowerCase().slice(0,5);return N!=="data-"&&N!=="aria-"}default:return!1}}function te(s){return pe.hasOwnProperty(s)?pe[s]:null}function ce(s,c,g,A,N,z,Y){this.acceptsBooleans=c===$||c===G||c===re,this.attributeName=A,this.attributeNamespace=N,this.mustUseProperty=g,this.propertyName=s,this.type=c,this.sanitizeURL=z,this.removeEmptyString=Y}var pe={},ye=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ye.forEach(function(s){pe[s]=new ce(s,j,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var c=s[0],g=s[1];pe[c]=new ce(c,q,!1,g,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){pe[s]=new ce(s,$,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){pe[s]=new ce(s,$,!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){pe[s]=new ce(s,G,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){pe[s]=new ce(s,G,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){pe[s]=new ce(s,re,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){pe[s]=new ce(s,W,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){pe[s]=new ce(s,F,!1,s.toLowerCase(),null,!1,!1)});var Ie=/[\-\:]([a-z])/g,oe=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(Ie,oe);pe[c]=new ce(c,q,!1,s,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(s){var c=s.replace(Ie,oe);pe[c]=new ce(c,q,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var c=s.replace(Ie,oe);pe[c]=new ce(c,q,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){pe[s]=new ce(s,q,!1,s.toLowerCase(),null,!1,!1)});var we="xlinkHref";pe[we]=new ce("xlinkHref",q,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){pe[s]=new ce(s,q,!1,s.toLowerCase(),null,!0,!0)});var Oe={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 Ue(s,c){return s+c.charAt(0).toUpperCase()+c.substring(1)}var We=["Webkit","ms","Moz","O"];Object.keys(Oe).forEach(function(s){We.forEach(function(c){Oe[Ue(c,s)]=Oe[s]})});var Se={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function _e(s,c){Se[c.type]||c.onChange||c.onInput||c.readOnly||c.disabled||c.value==null||o("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||o("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 Ce(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 Te={"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},Ne={},ot=new RegExp("^(aria)-["+ee+"]*$"),$e=new RegExp("^(aria)[A-Z]["+ee+"]*$");function tt(s,c){{if(P.call(Ne,c)&&Ne[c])return!0;if($e.test(c)){var g="aria-"+c.slice(4).toLowerCase(),A=Te.hasOwnProperty(g)?g:null;if(A==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",c),Ne[c]=!0,!0;if(c!==A)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",c,A),Ne[c]=!0,!0}if(ot.test(c)){var N=c.toLowerCase(),z=Te.hasOwnProperty(N)?N:null;if(z==null)return Ne[c]=!0,!1;if(c!==z)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",c,z),Ne[c]=!0,!0}}return!0}function at(s,c){{var g=[];for(var A in c){var N=tt(s,A);N||g.push(A)}var z=g.map(function(Y){return"`"+Y+"`"}).join(", ");g.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",z,s):g.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",z,s)}}function De(s,c){Ce(s,c)||at(s,c)}var Ke=!1;function yt(s,c){{if(s!=="input"&&s!=="textarea"&&s!=="select")return;c!=null&&c.value===null&&!Ke&&(Ke=!0,s==="select"&&c.multiple?o("`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):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",s))}}var _t={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"},bt=function(){};{var At={},qe=/^on./,Qe=/^on[^A-Z]/,St=new RegExp("^(aria)-["+ee+"]*$"),Dt=new RegExp("^(aria)[A-Z]["+ee+"]*$");bt=function(s,c,g,A){if(P.call(At,c)&&At[c])return!0;var N=c.toLowerCase();if(N==="onfocusin"||N==="onfocusout")return o("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."),At[c]=!0,!0;if(A!=null){var z=A.registrationNameDependencies,Y=A.possibleRegistrationNames;if(z.hasOwnProperty(c))return!0;var he=Y.hasOwnProperty(N)?Y[N]:null;if(he!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",c,he),At[c]=!0,!0;if(qe.test(c))return o("Unknown event handler property `%s`. It will be ignored.",c),At[c]=!0,!0}else if(qe.test(c))return Qe.test(c)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",c),At[c]=!0,!0;if(St.test(c)||Dt.test(c))return!0;if(N==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),At[c]=!0,!0;if(N==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),At[c]=!0,!0;if(N==="is"&&g!==null&&g!==void 0&&typeof g!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof g),At[c]=!0,!0;if(typeof g=="number"&&isNaN(g))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",c),At[c]=!0,!0;var Le=te(c),rt=Le!==null&&Le.type===j;if(_t.hasOwnProperty(N)){var pt=_t[N];if(pt!==c)return o("Invalid DOM property `%s`. Did you mean `%s`?",c,pt),At[c]=!0,!0}else if(!rt&&c!==N)return o("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,N),At[c]=!0,!0;return typeof g=="boolean"&&ve(c,g,Le)?(g?o('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()}.',g,c,c,g,c):o('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.',g,c,c,g,c,c,c),At[c]=!0,!0):rt?!0:ve(c,g,Le)?(At[c]=!0,!1):((g==="false"||g==="true")&&Le!==null&&Le.type===G&&(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",g,c,g==="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,g),At[c]=!0),!0)}}var Et=function(s,c,g){{var A=[];for(var N in c){var z=bt(s,N,c[N],g);z||A.push(N)}var Y=A.map(function(he){return"`"+he+"`"}).join(", ");A.length===1?o("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 ",Y,s):A.length>1&&o("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 ",Y,s)}};function Ze(s,c,g){Ce(s,c)||Et(s,c,g)}var It=function(){};{var Ot=/^(?:webkit|moz|o)[A-Z]/,pr=/^-ms-/,br=/-(.)/g,Or=/;\s*$/,Ee={},ae={},st=!1,mt=!1,Ft=function(s){return s.replace(br,function(c,g){return g.toUpperCase()})},Rt=function(s){Ee.hasOwnProperty(s)&&Ee[s]||(Ee[s]=!0,o("Unsupported style property %s. Did you mean %s?",s,Ft(s.replace(pr,"ms-"))))},Mt=function(s){Ee.hasOwnProperty(s)&&Ee[s]||(Ee[s]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",s,s.charAt(0).toUpperCase()+s.slice(1)))},Qt=function(s,c){ae.hasOwnProperty(c)&&ae[c]||(ae[c]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,s,c.replace(Or,"")))},qt=function(s,c){st||(st=!0,o("`NaN` is an invalid value for the `%s` css style property.",s))},sr=function(s,c){mt||(mt=!0,o("`Infinity` is an invalid value for the `%s` css style property.",s))};It=function(s,c){s.indexOf("-")>-1?Rt(s):Ot.test(s)?Mt(s):Or.test(c)&&Qt(s,c),typeof c=="number"&&(isNaN(c)?qt(s,c):isFinite(c)||sr(s,c))}}var er=It,_r=/["'&<>]/;function fr(s){I(s);var c=""+s,g=_r.exec(c);if(!g)return c;var A,N="",z,Y=0;for(z=g.index;z<c.length;z++){switch(c.charCodeAt(z)){case 34:A=""";break;case 38:A="&";break;case 39:A="'";break;case 60:A="<";break;case 62:A=">";break;default:continue}Y!==z&&(N+=c.substring(Y,z)),Y=z+1,N+=A}return Y!==z?N+c.substring(Y,z):N}function lt(s){return typeof s=="boolean"||typeof s=="number"?""+s:fr(s)}var it=/([A-Z])/g,Fe=/^ms-/;function ut(s){return s.replace(it,"-$1").toLowerCase().replace(Fe,"-ms-")}var nt=/^[\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,$t=!1;function wr(s){!$t&&nt.test(s)&&($t=!0,o("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 ne=Array.isArray;function He(s){return ne(s)}var xe="<script>";function Ye(s,c,g,A,N){var z=s===void 0?"":s,Y=xe,he=[];return{bootstrapChunks:he,startInlineScript:Y,placeholderPrefix:z+"P:",segmentPrefix:z+"S:",boundaryPrefix:z+"B:",idPrefix:z,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var xt=0,Tt=1,kt=2,wt=3,or=4,Gt=5,rr=6,gr=7;function Kt(s,c){return{insertionMode:s,selectedValue:c}}function jr(s,c,g){switch(c){case"select":return Kt(Tt,g.value!=null?g.value:g.defaultValue);case"svg":return Kt(kt,null);case"math":return Kt(wt,null);case"foreignObject":return Kt(Tt,null);case"table":return Kt(or,null);case"thead":case"tbody":case"tfoot":return Kt(Gt,null);case"colgroup":return Kt(gr,null);case"tr":return Kt(rr,null)}return s.insertionMode>=or||s.insertionMode===xt?Kt(Tt,null):s}var zr=null;function vn(s){var c=s.nextSuspenseID++;return s.boundaryPrefix+c.toString(16)}function Fr(s,c,g){var A=s.idPrefix,N=":"+A+"R"+c;return g>0&&(N+="H"+g.toString(32)),N+":"}function kn(s){return lt(s)}var hn="<!-- -->";function Jn(s,c,g,A){return c===""?A:(A&&s.push(hn),s.push(kn(c)),!0)}function Qn(s,c,g,A){g&&A&&s.push(hn)}var sn=new Map;function Fn(s){var c=sn.get(s);if(c!==void 0)return c;var g=lt(ut(s));return sn.set(s,g),g}var Rn=' style="',vo=":",Ao=";";function Eo(s,c,g){if(typeof g!="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 A=!0;for(var N in g)if(P.call(g,N)){var z=g[N];if(!(z==null||typeof z=="boolean"||z==="")){var Y=void 0,he=void 0,Le=N.indexOf("--")===0;Le?(Y=lt(N),R(z,N),he=lt((""+z).trim())):(er(N,z),Y=Fn(N),typeof z=="number"?z!==0&&!P.call(Oe,N)?he=z+"px":he=""+z:(R(z,N),he=lt((""+z).trim()))),A?(A=!1,s.push(Rn,Y,vo,he)):s.push(Ao,Y,vo,he)}}A||s.push(pn)}var On=" ",In='="',pn='"',eo='=""';function an(s,c,g,A){switch(g){case"style":{Eo(s,c,A);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(g.length>2&&(g[0]==="o"||g[0]==="O")&&(g[1]==="n"||g[1]==="N"))){var N=te(g);if(N!==null){switch(typeof A){case"function":case"symbol":return;case"boolean":if(!N.acceptsBooleans)return}var z=N.attributeName,Y=z;switch(N.type){case G:A&&s.push(On,Y,eo);return;case re:A===!0?s.push(On,Y,eo):A===!1||s.push(On,Y,In,lt(A),pn);return;case F:isNaN(A)||s.push(On,Y,In,lt(A),pn);break;case W:!isNaN(A)&&A>=1&&s.push(On,Y,In,lt(A),pn);break;default:N.sanitizeURL&&(E(A,z),A=""+A,wr(A)),s.push(On,Y,In,lt(A),pn)}}else if(fe(g)){switch(typeof A){case"function":case"symbol":return;case"boolean":{var he=g.toLowerCase().slice(0,5);if(he!=="data-"&&he!=="aria-")return}}s.push(On,g,In,lt(A),pn)}}}var yn=">",L="/>";function H(s,c,g){if(c!=null){if(g!=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 A=c.__html;A!=null&&(I(A),s.push(""+A))}}var X=!1,ie=!1,Pe=!1,Re=!1,Ve=!1,ht=!1,Pt=!1;function Ht(s,c){{var g=s[c];if(g!=null){var A=He(g);s.multiple&&!A?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",c):!s.multiple&&A&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",c)}}}function Bt(s,c,g){_e("select",c),Ht(c,"value"),Ht(c,"defaultValue"),c.value!==void 0&&c.defaultValue!==void 0&&!Pe&&(o("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"),Pe=!0),s.push(Mn("select"));var A=null,N=null;for(var z in c)if(P.call(c,z)){var Y=c[z];if(Y==null)continue;switch(z){case"children":A=Y;break;case"dangerouslySetInnerHTML":N=Y;break;case"defaultValue":case"value":break;default:an(s,g,z,Y);break}}return s.push(yn),H(s,N,A),A}function Sr(s){var c="";return r.Children.forEach(s,function(g){g!=null&&(c+=g,!Ve&&typeof g!="string"&&typeof g!="number"&&(Ve=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),c}var Jr=' selected=""';function _n(s,c,g,A){var N=A.selectedValue;s.push(Mn("option"));var z=null,Y=null,he=null,Le=null;for(var rt in c)if(P.call(c,rt)){var pt=c[rt];if(pt==null)continue;switch(rt){case"children":z=pt;break;case"selected":he=pt,Pt||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Pt=!0);break;case"dangerouslySetInnerHTML":Le=pt;break;case"value":Y=pt;default:an(s,g,rt,pt);break}}if(N!=null){var Lt;if(Y!==null?(E(Y,"value"),Lt=""+Y):(Le!==null&&(ht||(ht=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Lt=Sr(z)),He(N))for(var nr=0;nr<N.length;nr++){E(N[nr],"value");var Dr=""+N[nr];if(Dr===Lt){s.push(Jr);break}}else E(N,"select.value"),""+N===Lt&&s.push(Jr)}else he&&s.push(Jr);return s.push(yn),H(s,Le,z),z}function xn(s,c,g){_e("input",c),c.checked!==void 0&&c.defaultChecked!==void 0&&!ie&&(o("%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),ie=!0),c.value!==void 0&&c.defaultValue!==void 0&&!X&&(o("%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),X=!0),s.push(Mn("input"));var A=null,N=null,z=null,Y=null;for(var he in c)if(P.call(c,he)){var Le=c[he];if(Le==null)continue;switch(he){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":Y=Le;break;case"defaultValue":N=Le;break;case"checked":z=Le;break;case"value":A=Le;break;default:an(s,g,he,Le);break}}return z!==null?an(s,g,"checked",z):Y!==null&&an(s,g,"checked",Y),A!==null?an(s,g,"value",A):N!==null&&an(s,g,"value",N),s.push(L),null}function uo(s,c,g){_e("textarea",c),c.value!==void 0&&c.defaultValue!==void 0&&!Re&&(o("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"),Re=!0),s.push(Mn("textarea"));var A=null,N=null,z=null;for(var Y in c)if(P.call(c,Y)){var he=c[Y];if(he==null)continue;switch(Y){case"children":z=he;break;case"value":A=he;break;case"defaultValue":N=he;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:an(s,g,Y,he);break}}if(A===null&&N!==null&&(A=N),s.push(yn),z!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),A!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(He(z)){if(z.length>1)throw new Error("<textarea> can only have at most one child.");I(z[0]),A=""+z[0]}I(z),A=""+z}return typeof A=="string"&&A[0]===`
|
86
|
+
*/var ry;function TE(){return ry||(ry=1,process.env.NODE_ENV!=="production"&&function(){var r=k,e="18.2.0",t=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(s){{for(var c=arguments.length,g=new Array(c>1?c-1:0),A=1;A<c;A++)g[A-1]=arguments[A];a("warn",s,g)}}function o(s){{for(var c=arguments.length,g=new Array(c>1?c-1:0),A=1;A<c;A++)g[A-1]=arguments[A];a("error",s,g)}}function a(s,c,g){{var A=t.ReactDebugCurrentFrame,N=A.getStackAddendum();N!==""&&(c+="%s",g=g.concat([N]));var z=g.map(function(Y){return String(Y)});z.unshift("Warning: "+c),Function.prototype.apply.call(console[s],console,z)}}function u(s){s()}function f(s){}function d(s,c){h(s,c)}function h(s,c){return s.push(c)}function x(s){}function _(s){s.push(null)}function v(s){return s}function y(s){return s}function b(s,c){s.destroy(c)}function T(s){{var c=typeof Symbol=="function"&&Symbol.toStringTag,g=c&&s[Symbol.toStringTag]||s.constructor.name||"Object";return g}}function w(s){try{return S(s),!1}catch{return!0}}function S(s){return""+s}function E(s,c){if(w(s))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",c,T(s)),S(s)}function R(s,c){if(w(s))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",c,T(s)),S(s)}function I(s){if(w(s))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",T(s)),S(s)}var P=Object.prototype.hasOwnProperty,j=0,q=1,$=2,G=3,re=4,F=5,W=6,V=":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",ee=V+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ue=new RegExp("^["+V+"]["+ee+"]*$"),le={},de={};function fe(s){return P.call(de,s)?!0:P.call(le,s)?!1:ue.test(s)?(de[s]=!0,!0):(le[s]=!0,o("Invalid attribute name: `%s`",s),!1)}function ve(s,c,g,A){if(g!==null&&g.type===j)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":{if(g!==null)return!g.acceptsBooleans;var N=s.toLowerCase().slice(0,5);return N!=="data-"&&N!=="aria-"}default:return!1}}function te(s){return pe.hasOwnProperty(s)?pe[s]:null}function ce(s,c,g,A,N,z,Y){this.acceptsBooleans=c===$||c===G||c===re,this.attributeName=A,this.attributeNamespace=N,this.mustUseProperty=g,this.propertyName=s,this.type=c,this.sanitizeURL=z,this.removeEmptyString=Y}var pe={},ye=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ye.forEach(function(s){pe[s]=new ce(s,j,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var c=s[0],g=s[1];pe[c]=new ce(c,q,!1,g,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){pe[s]=new ce(s,$,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){pe[s]=new ce(s,$,!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){pe[s]=new ce(s,G,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){pe[s]=new ce(s,G,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){pe[s]=new ce(s,re,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){pe[s]=new ce(s,W,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){pe[s]=new ce(s,F,!1,s.toLowerCase(),null,!1,!1)});var Ie=/[\-\:]([a-z])/g,oe=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(Ie,oe);pe[c]=new ce(c,q,!1,s,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(s){var c=s.replace(Ie,oe);pe[c]=new ce(c,q,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var c=s.replace(Ie,oe);pe[c]=new ce(c,q,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){pe[s]=new ce(s,q,!1,s.toLowerCase(),null,!1,!1)});var we="xlinkHref";pe[we]=new ce("xlinkHref",q,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){pe[s]=new ce(s,q,!1,s.toLowerCase(),null,!0,!0)});var Oe={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 Ue(s,c){return s+c.charAt(0).toUpperCase()+c.substring(1)}var We=["Webkit","ms","Moz","O"];Object.keys(Oe).forEach(function(s){We.forEach(function(c){Oe[Ue(c,s)]=Oe[s]})});var Se={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function _e(s,c){Se[c.type]||c.onChange||c.onInput||c.readOnly||c.disabled||c.value==null||o("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||o("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 Ce(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 Te={"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},Ne={},ot=new RegExp("^(aria)-["+ee+"]*$"),$e=new RegExp("^(aria)[A-Z]["+ee+"]*$");function tt(s,c){{if(P.call(Ne,c)&&Ne[c])return!0;if($e.test(c)){var g="aria-"+c.slice(4).toLowerCase(),A=Te.hasOwnProperty(g)?g:null;if(A==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",c),Ne[c]=!0,!0;if(c!==A)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",c,A),Ne[c]=!0,!0}if(ot.test(c)){var N=c.toLowerCase(),z=Te.hasOwnProperty(N)?N:null;if(z==null)return Ne[c]=!0,!1;if(c!==z)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",c,z),Ne[c]=!0,!0}}return!0}function at(s,c){{var g=[];for(var A in c){var N=tt(s,A);N||g.push(A)}var z=g.map(function(Y){return"`"+Y+"`"}).join(", ");g.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",z,s):g.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",z,s)}}function De(s,c){Ce(s,c)||at(s,c)}var Ke=!1;function yt(s,c){{if(s!=="input"&&s!=="textarea"&&s!=="select")return;c!=null&&c.value===null&&!Ke&&(Ke=!0,s==="select"&&c.multiple?o("`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):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",s))}}var bt={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"},_t=function(){};{var At={},qe=/^on./,Qe=/^on[^A-Z]/,St=new RegExp("^(aria)-["+ee+"]*$"),Dt=new RegExp("^(aria)[A-Z]["+ee+"]*$");_t=function(s,c,g,A){if(P.call(At,c)&&At[c])return!0;var N=c.toLowerCase();if(N==="onfocusin"||N==="onfocusout")return o("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."),At[c]=!0,!0;if(A!=null){var z=A.registrationNameDependencies,Y=A.possibleRegistrationNames;if(z.hasOwnProperty(c))return!0;var he=Y.hasOwnProperty(N)?Y[N]:null;if(he!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",c,he),At[c]=!0,!0;if(qe.test(c))return o("Unknown event handler property `%s`. It will be ignored.",c),At[c]=!0,!0}else if(qe.test(c))return Qe.test(c)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",c),At[c]=!0,!0;if(St.test(c)||Dt.test(c))return!0;if(N==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),At[c]=!0,!0;if(N==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),At[c]=!0,!0;if(N==="is"&&g!==null&&g!==void 0&&typeof g!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof g),At[c]=!0,!0;if(typeof g=="number"&&isNaN(g))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",c),At[c]=!0,!0;var Le=te(c),rt=Le!==null&&Le.type===j;if(bt.hasOwnProperty(N)){var pt=bt[N];if(pt!==c)return o("Invalid DOM property `%s`. Did you mean `%s`?",c,pt),At[c]=!0,!0}else if(!rt&&c!==N)return o("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,N),At[c]=!0,!0;return typeof g=="boolean"&&ve(c,g,Le)?(g?o('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()}.',g,c,c,g,c):o('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.',g,c,c,g,c,c,c),At[c]=!0,!0):rt?!0:ve(c,g,Le)?(At[c]=!0,!1):((g==="false"||g==="true")&&Le!==null&&Le.type===G&&(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",g,c,g==="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,g),At[c]=!0),!0)}}var Et=function(s,c,g){{var A=[];for(var N in c){var z=_t(s,N,c[N],g);z||A.push(N)}var Y=A.map(function(he){return"`"+he+"`"}).join(", ");A.length===1?o("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 ",Y,s):A.length>1&&o("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 ",Y,s)}};function Ze(s,c,g){Ce(s,c)||Et(s,c,g)}var It=function(){};{var Ot=/^(?:webkit|moz|o)[A-Z]/,pr=/^-ms-/,br=/-(.)/g,Or=/;\s*$/,Ee={},ae={},st=!1,mt=!1,Ft=function(s){return s.replace(br,function(c,g){return g.toUpperCase()})},Rt=function(s){Ee.hasOwnProperty(s)&&Ee[s]||(Ee[s]=!0,o("Unsupported style property %s. Did you mean %s?",s,Ft(s.replace(pr,"ms-"))))},Mt=function(s){Ee.hasOwnProperty(s)&&Ee[s]||(Ee[s]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",s,s.charAt(0).toUpperCase()+s.slice(1)))},Qt=function(s,c){ae.hasOwnProperty(c)&&ae[c]||(ae[c]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,s,c.replace(Or,"")))},qt=function(s,c){st||(st=!0,o("`NaN` is an invalid value for the `%s` css style property.",s))},sr=function(s,c){mt||(mt=!0,o("`Infinity` is an invalid value for the `%s` css style property.",s))};It=function(s,c){s.indexOf("-")>-1?Rt(s):Ot.test(s)?Mt(s):Or.test(c)&&Qt(s,c),typeof c=="number"&&(isNaN(c)?qt(s,c):isFinite(c)||sr(s,c))}}var er=It,_r=/["'&<>]/;function fr(s){I(s);var c=""+s,g=_r.exec(c);if(!g)return c;var A,N="",z,Y=0;for(z=g.index;z<c.length;z++){switch(c.charCodeAt(z)){case 34:A=""";break;case 38:A="&";break;case 39:A="'";break;case 60:A="<";break;case 62:A=">";break;default:continue}Y!==z&&(N+=c.substring(Y,z)),Y=z+1,N+=A}return Y!==z?N+c.substring(Y,z):N}function lt(s){return typeof s=="boolean"||typeof s=="number"?""+s:fr(s)}var it=/([A-Z])/g,Fe=/^ms-/;function ut(s){return s.replace(it,"-$1").toLowerCase().replace(Fe,"-ms-")}var nt=/^[\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,$t=!1;function wr(s){!$t&&nt.test(s)&&($t=!0,o("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 ne=Array.isArray;function He(s){return ne(s)}var xe="<script>";function Ye(s,c,g,A,N){var z=s===void 0?"":s,Y=xe,he=[];return{bootstrapChunks:he,startInlineScript:Y,placeholderPrefix:z+"P:",segmentPrefix:z+"S:",boundaryPrefix:z+"B:",idPrefix:z,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var xt=0,Tt=1,kt=2,wt=3,or=4,Gt=5,rr=6,gr=7;function Kt(s,c){return{insertionMode:s,selectedValue:c}}function jr(s,c,g){switch(c){case"select":return Kt(Tt,g.value!=null?g.value:g.defaultValue);case"svg":return Kt(kt,null);case"math":return Kt(wt,null);case"foreignObject":return Kt(Tt,null);case"table":return Kt(or,null);case"thead":case"tbody":case"tfoot":return Kt(Gt,null);case"colgroup":return Kt(gr,null);case"tr":return Kt(rr,null)}return s.insertionMode>=or||s.insertionMode===xt?Kt(Tt,null):s}var zr=null;function vn(s){var c=s.nextSuspenseID++;return s.boundaryPrefix+c.toString(16)}function Fr(s,c,g){var A=s.idPrefix,N=":"+A+"R"+c;return g>0&&(N+="H"+g.toString(32)),N+":"}function kn(s){return lt(s)}var hn="<!-- -->";function Jn(s,c,g,A){return c===""?A:(A&&s.push(hn),s.push(kn(c)),!0)}function Qn(s,c,g,A){g&&A&&s.push(hn)}var sn=new Map;function Fn(s){var c=sn.get(s);if(c!==void 0)return c;var g=lt(ut(s));return sn.set(s,g),g}var Rn=' style="',vo=":",Ao=";";function Eo(s,c,g){if(typeof g!="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 A=!0;for(var N in g)if(P.call(g,N)){var z=g[N];if(!(z==null||typeof z=="boolean"||z==="")){var Y=void 0,he=void 0,Le=N.indexOf("--")===0;Le?(Y=lt(N),R(z,N),he=lt((""+z).trim())):(er(N,z),Y=Fn(N),typeof z=="number"?z!==0&&!P.call(Oe,N)?he=z+"px":he=""+z:(R(z,N),he=lt((""+z).trim()))),A?(A=!1,s.push(Rn,Y,vo,he)):s.push(Ao,Y,vo,he)}}A||s.push(pn)}var On=" ",In='="',pn='"',eo='=""';function an(s,c,g,A){switch(g){case"style":{Eo(s,c,A);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(g.length>2&&(g[0]==="o"||g[0]==="O")&&(g[1]==="n"||g[1]==="N"))){var N=te(g);if(N!==null){switch(typeof A){case"function":case"symbol":return;case"boolean":if(!N.acceptsBooleans)return}var z=N.attributeName,Y=z;switch(N.type){case G:A&&s.push(On,Y,eo);return;case re:A===!0?s.push(On,Y,eo):A===!1||s.push(On,Y,In,lt(A),pn);return;case F:isNaN(A)||s.push(On,Y,In,lt(A),pn);break;case W:!isNaN(A)&&A>=1&&s.push(On,Y,In,lt(A),pn);break;default:N.sanitizeURL&&(E(A,z),A=""+A,wr(A)),s.push(On,Y,In,lt(A),pn)}}else if(fe(g)){switch(typeof A){case"function":case"symbol":return;case"boolean":{var he=g.toLowerCase().slice(0,5);if(he!=="data-"&&he!=="aria-")return}}s.push(On,g,In,lt(A),pn)}}}var yn=">",L="/>";function H(s,c,g){if(c!=null){if(g!=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 A=c.__html;A!=null&&(I(A),s.push(""+A))}}var X=!1,ie=!1,Pe=!1,Re=!1,Ve=!1,ht=!1,Pt=!1;function Ht(s,c){{var g=s[c];if(g!=null){var A=He(g);s.multiple&&!A?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",c):!s.multiple&&A&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",c)}}}function Bt(s,c,g){_e("select",c),Ht(c,"value"),Ht(c,"defaultValue"),c.value!==void 0&&c.defaultValue!==void 0&&!Pe&&(o("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"),Pe=!0),s.push(Mn("select"));var A=null,N=null;for(var z in c)if(P.call(c,z)){var Y=c[z];if(Y==null)continue;switch(z){case"children":A=Y;break;case"dangerouslySetInnerHTML":N=Y;break;case"defaultValue":case"value":break;default:an(s,g,z,Y);break}}return s.push(yn),H(s,N,A),A}function Sr(s){var c="";return r.Children.forEach(s,function(g){g!=null&&(c+=g,!Ve&&typeof g!="string"&&typeof g!="number"&&(Ve=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),c}var Jr=' selected=""';function xn(s,c,g,A){var N=A.selectedValue;s.push(Mn("option"));var z=null,Y=null,he=null,Le=null;for(var rt in c)if(P.call(c,rt)){var pt=c[rt];if(pt==null)continue;switch(rt){case"children":z=pt;break;case"selected":he=pt,Pt||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Pt=!0);break;case"dangerouslySetInnerHTML":Le=pt;break;case"value":Y=pt;default:an(s,g,rt,pt);break}}if(N!=null){var Lt;if(Y!==null?(E(Y,"value"),Lt=""+Y):(Le!==null&&(ht||(ht=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Lt=Sr(z)),He(N))for(var nr=0;nr<N.length;nr++){E(N[nr],"value");var Dr=""+N[nr];if(Dr===Lt){s.push(Jr);break}}else E(N,"select.value"),""+N===Lt&&s.push(Jr)}else he&&s.push(Jr);return s.push(yn),H(s,Le,z),z}function Sn(s,c,g){_e("input",c),c.checked!==void 0&&c.defaultChecked!==void 0&&!ie&&(o("%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),ie=!0),c.value!==void 0&&c.defaultValue!==void 0&&!X&&(o("%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),X=!0),s.push(Mn("input"));var A=null,N=null,z=null,Y=null;for(var he in c)if(P.call(c,he)){var Le=c[he];if(Le==null)continue;switch(he){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":Y=Le;break;case"defaultValue":N=Le;break;case"checked":z=Le;break;case"value":A=Le;break;default:an(s,g,he,Le);break}}return z!==null?an(s,g,"checked",z):Y!==null&&an(s,g,"checked",Y),A!==null?an(s,g,"value",A):N!==null&&an(s,g,"value",N),s.push(L),null}function uo(s,c,g){_e("textarea",c),c.value!==void 0&&c.defaultValue!==void 0&&!Re&&(o("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"),Re=!0),s.push(Mn("textarea"));var A=null,N=null,z=null;for(var Y in c)if(P.call(c,Y)){var he=c[Y];if(he==null)continue;switch(Y){case"children":z=he;break;case"value":A=he;break;case"defaultValue":N=he;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:an(s,g,Y,he);break}}if(A===null&&N!==null&&(A=N),s.push(yn),z!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),A!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(He(z)){if(z.length>1)throw new Error("<textarea> can only have at most one child.");I(z[0]),A=""+z[0]}I(z),A=""+z}return typeof A=="string"&&A[0]===`
|
87
87
|
`&&s.push(to),A!==null&&(E(A,"value"),s.push(kn(""+A))),null}function $n(s,c,g,A){s.push(Mn(g));for(var N in c)if(P.call(c,N)){var z=c[N];if(z==null)continue;switch(N){case"children":case"dangerouslySetInnerHTML":throw new Error(g+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:an(s,A,N,z);break}}return s.push(L),null}function To(s,c,g){s.push(Mn("menuitem"));for(var A in c)if(P.call(c,A)){var N=c[A];if(N==null)continue;switch(A){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:an(s,g,A,N);break}}return s.push(yn),null}function en(s,c,g){s.push(Mn("title"));var A=null;for(var N in c)if(P.call(c,N)){var z=c[N];if(z==null)continue;switch(N){case"children":A=z;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:an(s,g,N,z);break}}s.push(yn);{var Y=Array.isArray(A)&&A.length<2?A[0]||null:A;Array.isArray(A)&&A.length>1?o("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"):Y!=null&&Y.$$typeof!=null?o("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"):Y!=null&&typeof Y!="string"&&typeof Y!="number"&&o("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 A}function yo(s,c,g,A){s.push(Mn(g));var N=null,z=null;for(var Y in c)if(P.call(c,Y)){var he=c[Y];if(he==null)continue;switch(Y){case"children":N=he;break;case"dangerouslySetInnerHTML":z=he;break;default:an(s,A,Y,he);break}}return s.push(yn),H(s,z,N),typeof N=="string"?(s.push(kn(N)),null):N}function Un(s,c,g,A){s.push(Mn(g));var N=null,z=null;for(var Y in c)if(P.call(c,Y)){var he=c[Y];if(he==null)continue;switch(Y){case"children":N=he;break;case"dangerouslySetInnerHTML":z=he;break;case"style":Eo(s,A,he);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:fe(Y)&&typeof he!="function"&&typeof he!="symbol"&&s.push(On,Y,In,lt(he),pn);break}}return s.push(yn),H(s,z,N),N}var to=`
|
88
88
|
`;function xi(s,c,g,A){s.push(Mn(g));var N=null,z=null;for(var Y in c)if(P.call(c,Y)){var he=c[Y];if(he==null)continue;switch(Y){case"children":N=he;break;case"dangerouslySetInnerHTML":z=he;break;default:an(s,A,Y,he);break}}if(s.push(yn),z!=null){if(N!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof z!="object"||!("__html"in z))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 Le=z.__html;Le!=null&&(typeof Le=="string"&&Le.length>0&&Le[0]===`
|
89
89
|
`?s.push(to,Le):(I(Le),s.push(""+Le)))}return typeof N=="string"&&N[0]===`
|
90
|
-
`&&s.push(to),N}var ii=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,si=new Map;function Mn(s){var c=si.get(s);if(c===void 0){if(!ii.test(s))throw new Error("Invalid tag: "+s);c="<"+s,si.set(s,c)}return c}var Si="<!DOCTYPE html>";function ro(s,c,g,A,N){switch(De(c,g),yt(c,g),Ze(c,g,null),!g.suppressContentEditableWarning&&g.contentEditable&&g.children!=null&&o("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."),N.insertionMode!==kt&&N.insertionMode!==wt&&c.indexOf("-")===-1&&typeof g.is!="string"&&c.toLowerCase()!==c&&o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",c),c){case"select":return Bt(s,g,A);case"option":return
|
90
|
+
`&&s.push(to),N}var ii=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,si=new Map;function Mn(s){var c=si.get(s);if(c===void 0){if(!ii.test(s))throw new Error("Invalid tag: "+s);c="<"+s,si.set(s,c)}return c}var Si="<!DOCTYPE html>";function ro(s,c,g,A,N){switch(De(c,g),yt(c,g),Ze(c,g,null),!g.suppressContentEditableWarning&&g.contentEditable&&g.children!=null&&o("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."),N.insertionMode!==kt&&N.insertionMode!==wt&&c.indexOf("-")===-1&&typeof g.is!="string"&&c.toLowerCase()!==c&&o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",c),c){case"select":return Bt(s,g,A);case"option":return xn(s,g,A,N);case"textarea":return uo(s,g,A);case"input":return Sn(s,g,A);case"menuitem":return To(s,g,A);case"title":return en(s,g,A);case"listing":case"pre":return xi(s,g,c,A);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 $n(s,g,c,A);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 yo(s,g,c,A);case"html":return N.insertionMode===xt&&s.push(Si),yo(s,g,c,A);default:return c.indexOf("-")===-1&&typeof g.is!="string"?yo(s,g,c,A):Un(s,g,c,A)}}var no="</",Vo=">";function Pr(s,c,g){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(no,c,Vo)}}function Ar(s,c){for(var g=c.bootstrapChunks,A=0;A<g.length-1;A++)d(s,g[A]);return A<g.length?h(s,g[A]):!0}var Mr='<template id="',D='"></template>';function J(s,c,g){d(s,Mr),d(s,c.placeholderPrefix);var A=g.toString(16);return d(s,A),h(s,D)}var me="<!--$-->",Ge='<!--$?--><template id="',Yt='"></template>',Ut="<!--$!-->",mr="<!--/$-->",Cr="<template",dr='"',Er=' data-dgst="',tn=' data-msg="',Dn=' data-stck="',Yr="></template>";function $r(s,c){return h(s,me)}function rn(s,c,g){if(d(s,Ge),g===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return d(s,g),h(s,Yt)}function fo(s,c,g,A,N){var z;return z=h(s,Ut),d(s,Cr),g&&(d(s,Er),d(s,lt(g)),d(s,dr)),A&&(d(s,tn),d(s,lt(A)),d(s,dr)),N&&(d(s,Dn),d(s,lt(N)),d(s,dr)),z=h(s,Yr),z}function bo(s,c){return h(s,mr)}function Wn(s,c){return h(s,mr)}function Ci(s,c){return h(s,mr)}var Go='<div hidden id="',ln='">',ms="</div>",Vn='<svg aria-hidden="true" style="display:none" id="',pl='">',Ia="</svg>",Zo='<math aria-hidden="true" style="display:none" id="',wi='">',Gn="</math>",Qr='<table hidden id="',ko='">',La="</table>",gl='<table hidden><tbody id="',Wi='">',ml="</tbody></table>",vl='<table hidden><tr id="',Ys='">',vs="</tr></table>",ys='<table hidden><colgroup id="',Ai='">',yl="</colgroup></table>";function Xs(s,c,g,A){switch(g.insertionMode){case xt:case Tt:return d(s,Go),d(s,c.segmentPrefix),d(s,A.toString(16)),h(s,ln);case kt:return d(s,Vn),d(s,c.segmentPrefix),d(s,A.toString(16)),h(s,pl);case wt:return d(s,Zo),d(s,c.segmentPrefix),d(s,A.toString(16)),h(s,wi);case or:return d(s,Qr),d(s,c.segmentPrefix),d(s,A.toString(16)),h(s,ko);case Gt:return d(s,gl),d(s,c.segmentPrefix),d(s,A.toString(16)),h(s,Wi);case rr:return d(s,vl),d(s,c.segmentPrefix),d(s,A.toString(16)),h(s,Ys);case gr:return d(s,ys),d(s,c.segmentPrefix),d(s,A.toString(16)),h(s,Ai);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Oa(s,c){switch(c.insertionMode){case xt:case Tt:return h(s,ms);case kt:return h(s,Ia);case wt:return h(s,Gn);case or:return h(s,La);case Gt:return h(s,ml);case rr:return h(s,vs);case gr:return h(s,yl);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var O="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)}",B='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())}',se=O+';$RS("',je='$RS("',Me='","',et='")<\/script>';function Ct(s,c,g){d(s,c.startInlineScript),c.sentCompleteSegmentFunction?d(s,je):(c.sentCompleteSegmentFunction=!0,d(s,se)),d(s,c.segmentPrefix);var A=g.toString(16);return d(s,A),d(s,Me),d(s,c.placeholderPrefix),d(s,A),h(s,et)}var zt=B+';$RC("',hr='$RC("',ar='","',Xr='")<\/script>';function oo(s,c,g,A){if(d(s,c.startInlineScript),c.sentCompleteBoundaryFunction?d(s,hr):(c.sentCompleteBoundaryFunction=!0,d(s,zt)),g===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var N=A.toString(16);return d(s,g),d(s,ar),d(s,c.segmentPrefix),d(s,N),h(s,Xr)}var Ro=Z+';$RX("',Io='$RX("',Js='"',bl=")<\/script>",bs=",";function Qs(s,c,g,A,N,z){if(d(s,c.startInlineScript),c.sentClientRenderFunction?d(s,Io):(c.sentClientRenderFunction=!0,d(s,Ro)),g===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return d(s,g),d(s,Js),(A||N||z)&&(d(s,bs),d(s,fc(A||""))),(N||z)&&(d(s,bs),d(s,fc(N||""))),z&&(d(s,bs),d(s,fc(z))),h(s,bl)}var ff=/[<\u2028\u2029]/g;function fc(s){var c=JSON.stringify(s);return c.replace(ff,function(g){switch(g){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 dc(s,c){var g=Ye(c);return{bootstrapChunks:g.bootstrapChunks,startInlineScript:g.startInlineScript,placeholderPrefix:g.placeholderPrefix,segmentPrefix:g.segmentPrefix,boundaryPrefix:g.boundaryPrefix,idPrefix:g.idPrefix,nextSuspenseID:g.nextSuspenseID,sentCompleteSegmentFunction:g.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:g.sentCompleteBoundaryFunction,sentClientRenderFunction:g.sentClientRenderFunction,generateStaticMarkup:s}}function fu(){return{insertionMode:Tt,selectedValue:null}}function Ei(s,c,g,A){return g.generateStaticMarkup?(s.push(lt(c)),!1):Jn(s,c,g,A)}function Ma(s,c,g,A){if(!c.generateStaticMarkup)return Qn(s,c,g,A)}function df(s,c){return c.generateStaticMarkup?!0:$r(s)}function hf(s,c,g,A,N){return c.generateStaticMarkup?!0:fo(s,c,g,A,N)}function pf(s,c){return c.generateStaticMarkup?!0:bo(s)}function ea(s,c){return c.generateStaticMarkup?!0:Ci(s)}var gn=Object.assign,du=Symbol.for("react.element"),hu=Symbol.for("react.portal"),_l=Symbol.for("react.fragment"),Lo=Symbol.for("react.strict_mode"),pu=Symbol.for("react.profiler"),xl=Symbol.for("react.provider"),Ti=Symbol.for("react.context"),Ae=Symbol.for("react.forward_ref"),Xe=Symbol.for("react.suspense"),ze=Symbol.for("react.suspense_list"),Nt=Symbol.for("react.memo"),ir=Symbol.for("react.lazy"),Br=Symbol.for("react.scope"),Cn=Symbol.for("react.debug_trace_mode"),Kr=Symbol.for("react.legacy_hidden"),ta=Symbol.for("react.default_value"),gu=Symbol.iterator,zo="@@iterator";function Sl(s){if(s===null||typeof s!="object")return null;var c=gu&&s[gu]||s[zo];return typeof c=="function"?c:null}function gf(s,c,g){var A=s.displayName;if(A)return A;var N=c.displayName||c.name||"";return N!==""?g+"("+N+")":g}function Vi(s){return s.displayName||"Context"}function nn(s){if(s==null)return null;if(typeof s.tag=="number"&&o("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 _l:return"Fragment";case hu:return"Portal";case pu:return"Profiler";case Lo:return"StrictMode";case Xe:return"Suspense";case ze:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case Ti:var c=s;return Vi(c)+".Consumer";case xl:var g=s;return Vi(g._context)+".Provider";case Ae:return gf(s,s.render,"ForwardRef");case Nt:var A=s.displayName||null;return A!==null?A:nn(s.type)||"Memo";case ir:{var N=s,z=N._payload,Y=N._init;try{return nn(Y(z))}catch{return null}}}return null}var Gi=0,Gr,hc,cn,ki,pc,gc,mc;function ra(){}ra.__reactDisabledLog=!0;function Ri(){{if(Gi===0){Gr=console.log,hc=console.info,cn=console.warn,ki=console.error,pc=console.group,gc=console.groupCollapsed,mc=console.groupEnd;var s={configurable:!0,enumerable:!0,value:ra,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}Gi++}}function Da(){{if(Gi--,Gi===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:gn({},s,{value:Gr}),info:gn({},s,{value:hc}),warn:gn({},s,{value:cn}),error:gn({},s,{value:ki}),group:gn({},s,{value:pc}),groupCollapsed:gn({},s,{value:gc}),groupEnd:gn({},s,{value:mc})})}Gi<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Pa=t.ReactCurrentDispatcher,_s;function na(s,c,g){{if(_s===void 0)try{throw Error()}catch(N){var A=N.stack.trim().match(/\n( *(at )?)/);_s=A&&A[1]||""}return`
|
91
91
|
`+_s+s}}var Cl=!1,Ii;{var wl=typeof WeakMap=="function"?WeakMap:Map;Ii=new wl}function Ko(s,c){if(!s||Cl)return"";{var g=Ii.get(s);if(g!==void 0)return g}var A;Cl=!0;var N=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var z;z=Pa.current,Pa.current=null,Ri();try{if(c){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(Kn){A=Kn}Reflect.construct(s,[],Y)}else{try{Y.call()}catch(Kn){A=Kn}s.call(Y.prototype)}}else{try{throw Error()}catch(Kn){A=Kn}s()}}catch(Kn){if(Kn&&A&&typeof Kn.stack=="string"){for(var he=Kn.stack.split(`
|
92
92
|
`),Le=A.stack.split(`
|
93
93
|
`),rt=he.length-1,pt=Le.length-1;rt>=1&&pt>=0&&he[rt]!==Le[pt];)pt--;for(;rt>=1&&pt>=0;rt--,pt--)if(he[rt]!==Le[pt]){if(rt!==1||pt!==1)do if(rt--,pt--,pt<0||he[rt]!==Le[pt]){var Lt=`
|
94
|
-
`+he[rt].replace(" at new "," at ");return s.displayName&&Lt.includes("<anonymous>")&&(Lt=Lt.replace("<anonymous>",s.displayName)),typeof s=="function"&&Ii.set(s,Lt),Lt}while(rt>=1&&pt>=0);break}}}finally{Cl=!1,Pa.current=z,Da(),Error.prepareStackTrace=N}var nr=s?s.displayName||s.name:"",Dr=nr?na(nr):"";return typeof s=="function"&&Ii.set(s,Dr),Dr}function Li(s,c,g){return Ko(s,!0)}function
|
94
|
+
`+he[rt].replace(" at new "," at ");return s.displayName&&Lt.includes("<anonymous>")&&(Lt=Lt.replace("<anonymous>",s.displayName)),typeof s=="function"&&Ii.set(s,Lt),Lt}while(rt>=1&&pt>=0);break}}}finally{Cl=!1,Pa.current=z,Da(),Error.prepareStackTrace=N}var nr=s?s.displayName||s.name:"",Dr=nr?na(nr):"";return typeof s=="function"&&Ii.set(s,Dr),Dr}function Li(s,c,g){return Ko(s,!0)}function Zi(s,c,g){return Ko(s,!1)}function mf(s){var c=s.prototype;return!!(c&&c.isReactComponent)}function Na(s,c,g){if(s==null)return"";if(typeof s=="function")return Ko(s,mf(s));if(typeof s=="string")return na(s);switch(s){case Xe:return na("Suspense");case ze:return na("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case Ae:return Zi(s.render);case Nt:return Na(s.type,c,g);case ir:{var A=s,N=A._payload,z=A._init;try{return Na(z(N),c,g)}catch{}}}return""}var mu={},oa=t.ReactDebugCurrentFrame;function xs(s){if(s){var c=s._owner,g=Na(s.type,s._source,c?c.type:null);oa.setExtraStackFrame(g)}else oa.setExtraStackFrame(null)}function ia(s,c,g,A,N){{var z=Function.call.bind(P);for(var Y in s)if(z(s,Y)){var he=void 0;try{if(typeof s[Y]!="function"){var Le=Error((A||"React class")+": "+g+" type `"+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[Y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Le.name="Invariant Violation",Le}he=s[Y](c,Y,A,g,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(rt){he=rt}he&&!(he instanceof Error)&&(xs(N),o("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",A||"React class",g,Y,typeof he),xs(null)),he instanceof Error&&!(he.message in mu)&&(mu[he.message]=!0,xs(N),o("Failed %s type: %s",g,he.message),xs(null))}}}var Al;Al={};var sa={};Object.freeze(sa);function ja(s,c){{var g=s.contextTypes;if(!g)return sa;var A={};for(var N in g)A[N]=c[N];{var z=nn(s)||"Unknown";ia(g,A,"context",z)}return A}}function vu(s,c,g,A){{if(typeof s.getChildContext!="function"){{var N=nn(c)||"Unknown";Al[N]||(Al[N]=!0,o("%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.",N,N))}return g}var z=s.getChildContext();for(var Y in z)if(!(Y in A))throw new Error((nn(c)||"Unknown")+'.getChildContext(): key "'+Y+'" is not defined in childContextTypes.');{var he=nn(c)||"Unknown";ia(A,z,"child context",he)}return gn({},g,z)}}var un;un={};var Pn=null,Ki=null;function vc(s){s.context._currentValue2=s.parentValue}function Yi(s){s.context._currentValue2=s.value}function El(s,c){if(s!==c){vc(s);var g=s.parent,A=c.parent;if(g===null){if(A!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(A===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");El(g,A)}Yi(c)}}function ai(s){vc(s);var c=s.parent;c!==null&&ai(c)}function Xi(s){var c=s.parent;c!==null&&Xi(c),Yi(s)}function aa(s,c){vc(s);var g=s.parent;if(g===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");g.depth===c.depth?El(g,c):aa(g,c)}function li(s,c){var g=c.parent;if(g===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");s.depth===g.depth?El(s,g):li(s,g),Yi(c)}function Oi(s){var c=Ki,g=s;c!==g&&(c===null?Xi(g):g===null?ai(c):c.depth===g.depth?El(c,g):c.depth>g.depth?aa(c,g):li(c,g),Ki=g)}function la(s,c){var g;g=s._currentValue2,s._currentValue2=c,s._currentRenderer2!==void 0&&s._currentRenderer2!==null&&s._currentRenderer2!==un&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),s._currentRenderer2=un;var A=Ki,N={parent:A,depth:A===null?0:A.depth+1,context:s,parentValue:g,value:c};return Ki=N,N}function Fa(s){var c=Ki;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&&o("The parent context is not the expected context. This is probably a bug in React.");{var g=c.parentValue;g===ta?c.context._currentValue2=c.context._defaultValue:c.context._currentValue2=g,s._currentRenderer2!==void 0&&s._currentRenderer2!==null&&s._currentRenderer2!==un&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),s._currentRenderer2=un}return Ki=c.parent}function Ss(){return Ki}function Ji(s){var c=s._currentValue2;return c}function yc(s){return s._reactInternals}function vf(s,c){s._reactInternals=c}var yu={},ca={},Qi,Cs,Ba,K,Mi,Di,io,yr,Tl;{Qi=new Set,Cs=new Set,Ba=new Set,io=new Set,K=new Set,yr=new Set,Tl=new Set;var Ha=new Set;Di=function(s,c){if(!(s===null||typeof s=="function")){var g=c+"_"+s;Ha.has(g)||(Ha.add(g),o("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",c,s))}},Mi=function(s,c){if(c===void 0){var g=nn(s)||"Component";K.has(g)||(K.add(g),o("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",g))}}}function kl(s,c){{var g=s.constructor,A=g&&nn(g)||"ReactClass",N=A+"."+c;if(yu[N])return;o(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
|
95
95
|
|
96
|
-
Please check the code for the %s component.`,c,c,A),yu[N]=!0}}var ci={isMounted:function(s){return!1},enqueueSetState:function(s,c,g){var A=yc(s);A.queue===null?kl(s,"setState"):(A.queue.push(c),g!=null&&Di(g,"setState"))},enqueueReplaceState:function(s,c,g){var A=yc(s);A.replace=!0,A.queue=[c],g!=null&&Di(g,"setState")},enqueueForceUpdate:function(s,c){var g=yc(s);g.queue===null?kl(s,"forceUpdate"):c!=null&&Di(c,"setState")}};function bc(s,c,g,A,N){var z=g(N,A);Mi(c,z);var Y=z==null?A:gn({},A,z);return Y}function bu(s,c,g){var A=sa,N=s.contextType;if("contextType"in s){var z=N===null||N!==void 0&&N.$$typeof===Ti&&N._context===void 0;if(!z&&!Tl.has(s)){Tl.add(s);var Y="";N===void 0?Y=" 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 N!="object"?Y=" However, it is set to a "+typeof N+".":N.$$typeof===xl?Y=" Did you accidentally pass the Context.Provider instead?":N._context!==void 0?Y=" Did you accidentally pass the Context.Consumer instead?":Y=" However, it is set to an object with keys {"+Object.keys(N).join(", ")+"}.",o("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",nn(s)||"Component",Y)}}typeof N=="object"&&N!==null?A=
|
96
|
+
Please check the code for the %s component.`,c,c,A),yu[N]=!0}}var ci={isMounted:function(s){return!1},enqueueSetState:function(s,c,g){var A=yc(s);A.queue===null?kl(s,"setState"):(A.queue.push(c),g!=null&&Di(g,"setState"))},enqueueReplaceState:function(s,c,g){var A=yc(s);A.replace=!0,A.queue=[c],g!=null&&Di(g,"setState")},enqueueForceUpdate:function(s,c){var g=yc(s);g.queue===null?kl(s,"forceUpdate"):c!=null&&Di(c,"setState")}};function bc(s,c,g,A,N){var z=g(N,A);Mi(c,z);var Y=z==null?A:gn({},A,z);return Y}function bu(s,c,g){var A=sa,N=s.contextType;if("contextType"in s){var z=N===null||N!==void 0&&N.$$typeof===Ti&&N._context===void 0;if(!z&&!Tl.has(s)){Tl.add(s);var Y="";N===void 0?Y=" 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 N!="object"?Y=" However, it is set to a "+typeof N+".":N.$$typeof===xl?Y=" Did you accidentally pass the Context.Provider instead?":N._context!==void 0?Y=" Did you accidentally pass the Context.Consumer instead?":Y=" However, it is set to an object with keys {"+Object.keys(N).join(", ")+"}.",o("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",nn(s)||"Component",Y)}}typeof N=="object"&&N!==null?A=Ji(N):A=g;var he=new s(c,A);{if(typeof s.getDerivedStateFromProps=="function"&&(he.state===null||he.state===void 0)){var Le=nn(s)||"Component";Qi.has(Le)||(Qi.add(Le),o("`%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.",Le,he.state===null?"null":"undefined",Le))}if(typeof s.getDerivedStateFromProps=="function"||typeof he.getSnapshotBeforeUpdate=="function"){var rt=null,pt=null,Lt=null;if(typeof he.componentWillMount=="function"&&he.componentWillMount.__suppressDeprecationWarning!==!0?rt="componentWillMount":typeof he.UNSAFE_componentWillMount=="function"&&(rt="UNSAFE_componentWillMount"),typeof he.componentWillReceiveProps=="function"&&he.componentWillReceiveProps.__suppressDeprecationWarning!==!0?pt="componentWillReceiveProps":typeof he.UNSAFE_componentWillReceiveProps=="function"&&(pt="UNSAFE_componentWillReceiveProps"),typeof he.componentWillUpdate=="function"&&he.componentWillUpdate.__suppressDeprecationWarning!==!0?Lt="componentWillUpdate":typeof he.UNSAFE_componentWillUpdate=="function"&&(Lt="UNSAFE_componentWillUpdate"),rt!==null||pt!==null||Lt!==null){var nr=nn(s)||"Component",Dr=typeof s.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Ba.has(nr)||(Ba.add(nr),o(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
97
97
|
|
98
98
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
99
99
|
|
@@ -105,16 +105,16 @@ https://reactjs.org/link/unsafe-component-lifecycles`,nr,Dr,rt!==null?`
|
|
105
105
|
|
106
106
|
* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
|
107
107
|
|
108
|
-
Please update the following components: %s`,A),ca[A]=!0)}c.componentWillMount()}typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),g!==c.state&&(o("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",nn(s)||"Component"),ci.enqueueReplaceState(c,c.state,null))}function yf(s,c,g,A){if(s.queue!==null&&s.queue.length>0){var N=s.queue,z=s.replace;if(s.queue=null,s.replace=!1,z&&N.length===1)c.state=N[0];else{for(var Y=z?N[0]:c.state,he=!0,Le=z?1:0;Le<N.length;Le++){var rt=N[Le],pt=typeof rt=="function"?rt.call(c,Y,g,A):rt;pt!=null&&(he?(he=!1,Y=gn({},Y,pt)):gn(Y,pt))}c.state=Y}}else s.queue=null}function ui(s,c,g,A){_u(s,c,g);var N=s.state!==void 0?s.state:null;s.updater=ci,s.props=g,s.state=N;var z={queue:[],replace:!1};vf(s,z);var Y=c.contextType;if(typeof Y=="object"&&Y!==null?s.context=
|
108
|
+
Please update the following components: %s`,A),ca[A]=!0)}c.componentWillMount()}typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),g!==c.state&&(o("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",nn(s)||"Component"),ci.enqueueReplaceState(c,c.state,null))}function yf(s,c,g,A){if(s.queue!==null&&s.queue.length>0){var N=s.queue,z=s.replace;if(s.queue=null,s.replace=!1,z&&N.length===1)c.state=N[0];else{for(var Y=z?N[0]:c.state,he=!0,Le=z?1:0;Le<N.length;Le++){var rt=N[Le],pt=typeof rt=="function"?rt.call(c,Y,g,A):rt;pt!=null&&(he?(he=!1,Y=gn({},Y,pt)):gn(Y,pt))}c.state=Y}}else s.queue=null}function ui(s,c,g,A){_u(s,c,g);var N=s.state!==void 0?s.state:null;s.updater=ci,s.props=g,s.state=N;var z={queue:[],replace:!1};vf(s,z);var Y=c.contextType;if(typeof Y=="object"&&Y!==null?s.context=Ji(Y):s.context=A,s.state===g){var he=nn(c)||"Component";io.has(he)||(io.add(he),o("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",he))}var Le=c.getDerivedStateFromProps;typeof Le=="function"&&(s.state=bc(s,c,Le,N,g)),typeof c.getDerivedStateFromProps!="function"&&typeof s.getSnapshotBeforeUpdate!="function"&&(typeof s.UNSAFE_componentWillMount=="function"||typeof s.componentWillMount=="function")&&(xu(c,s),yf(z,s,g,A))}var bf={id:1,overflow:""};function _f(s){var c=s.overflow,g=s.id,A=g&~xf(g);return A.toString(32)+c}function _c(s,c,g){var A=s.id,N=s.overflow,z=qa(A)-1,Y=A&~(1<<z),he=g+1,Le=qa(c)+z;if(Le>30){var rt=z-z%5,pt=(1<<rt)-1,Lt=(Y&pt).toString(32),nr=Y>>rt,Dr=z-rt,Kn=qa(c)+Dr,ss=he<<Dr,gi=ss|nr,mi=Lt+N;return{id:1<<Kn|gi,overflow:mi}}else{var as=he<<z,Rf=as|Y,vd=N;return{id:1<<Le|Rf,overflow:vd}}}function qa(s){return 32-Pi(s)}function xf(s){return 1<<qa(s)-1}var Pi=Math.clz32?Math.clz32:Sf,xc=Math.log,Rl=Math.LN2;function Sf(s){var c=s>>>0;return c===0?32:31-(xc(c)/Rl|0)|0}function Cf(s,c){return s===c&&(s!==0||1/s===1/c)||s!==s&&c!==c}var wf=typeof Object.is=="function"?Object.is:Cf,ho=null,Sc=null,Il=null,Rr=null,Oo=!1,ua=!1,ws=0,Hr=null,es=0,za=25,_o=!1,Mo;function fi(){if(ho===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
109
109
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
110
110
|
2. You might be breaking the Rules of Hooks
|
111
111
|
3. You might have more than one copy of React in the same app
|
112
112
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return _o&&o("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),ho}function Cc(s,c){if(c===null)return o("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Mo),!1;s.length!==c.length&&o(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
113
113
|
|
114
114
|
Previous: %s
|
115
|
-
Incoming: %s`,Mo,"["+s.join(", ")+"]","["+c.join(", ")+"]");for(var g=0;g<c.length&&g<s.length;g++)if(!wf(s[g],c[g]))return!1;return!0}function po(){if(
|
115
|
+
Incoming: %s`,Mo,"["+s.join(", ")+"]","["+c.join(", ")+"]");for(var g=0;g<c.length&&g<s.length;g++)if(!wf(s[g],c[g]))return!1;return!0}function po(){if(es>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Yo(){return Rr===null?Il===null?(Oo=!1,Il=Rr=po()):(Oo=!0,Rr=Il):Rr.next===null?(Oo=!1,Rr=Rr.next=po()):(Oo=!0,Rr=Rr.next),Rr}function As(s,c){ho=c,Sc=s,_o=!1,ws=0}function Su(s,c,g,A){for(;ua;)ua=!1,ws=0,es+=1,Rr=null,g=s(c,A);return Do(),g}function wc(){var s=ws!==0;return s}function Do(){_o=!1,ho=null,Sc=null,ua=!1,Il=null,es=0,Hr=null,Rr=null}function Ac(s){return _o&&o("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()."),Ji(s)}function Es(s){return Mo="useContext",fi(),Ji(s)}function go(s,c){return typeof c=="function"?c(s):c}function Ec(s){return Mo="useState",Tc(go,s)}function Tc(s,c,g){if(s!==go&&(Mo="useReducer"),ho=fi(),Rr=Yo(),Oo){var A=Rr.queue,N=A.dispatch;if(Hr!==null){var z=Hr.get(A);if(z!==void 0){Hr.delete(A);var Y=Rr.memoizedState,he=z;do{var Le=he.action;_o=!0,Y=s(Y,Le),_o=!1,he=he.next}while(he!==null);return Rr.memoizedState=Y,[Y,N]}}return[Rr.memoizedState,N]}else{_o=!0;var rt;s===go?rt=typeof c=="function"?c():c:rt=g!==void 0?g(c):c,_o=!1,Rr.memoizedState=rt;var pt=Rr.queue={last:null,dispatch:null},Lt=pt.dispatch=Rc.bind(null,ho,pt);return[Rr.memoizedState,Lt]}}function kc(s,c){ho=fi(),Rr=Yo();var g=c===void 0?null:c;if(Rr!==null){var A=Rr.memoizedState;if(A!==null&&g!==null){var N=A[1];if(Cc(g,N))return A[0]}}_o=!0;var z=s();return _o=!1,Rr.memoizedState=[z,g],z}function Ts(s){ho=fi(),Rr=Yo();var c=Rr.memoizedState;if(c===null){var g={current:s};return Object.seal(g),Rr.memoizedState=g,g}else return c}function ts(s,c){Mo="useLayoutEffect",o("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 Rc(s,c,g){if(es>=za)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(s===ho){ua=!0;var A={action:g,next:null};Hr===null&&(Hr=new Map);var N=Hr.get(c);if(N===void 0)Hr.set(c,A);else{for(var z=N;z.next!==null;)z=z.next;z.next=A}}}function Cu(s,c){return kc(function(){return s},c)}function Ll(s,c,g){return fi(),c(s._source)}function Af(s,c,g){if(g===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return g()}function wu(s){return fi(),s}function Zn(){throw new Error("startTransition cannot be called during server rendering.")}function Ic(){return fi(),[!1,Zn]}function Au(){var s=Sc,c=_f(s.treeContext),g=fa;if(g===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var A=ws++;return Fr(g,c,A)}function Po(){}var Ol={readContext:Ac,useContext:Es,useMemo:kc,useReducer:Tc,useRef:Ts,useState:Ec,useInsertionEffect:Po,useLayoutEffect:ts,useCallback:Cu,useImperativeHandle:Po,useEffect:Po,useDebugValue:Po,useDeferredValue:wu,useTransition:Ic,useId:Au,useMutableSource:Ll,useSyncExternalStore:Af},fa=null;function rs(s){fa=s}function $a(s){try{var c="",g=s;do{switch(g.tag){case 0:c+=na(g.type,null,null);break;case 1:c+=Zi(g.type,null,null);break;case 2:c+=Li(g.type,null,null);break}g=g.parent}while(g);return c}catch(A){return`
|
116
116
|
Error generating stack: `+A.message+`
|
117
|
-
`+A.stack}}var Bn=t.ReactCurrentDispatcher,ks=t.ReactDebugCurrentFrame,Ml=0,da=1,Dl=2,ha=3,Pl=4,di=0,Nl=1,Rs=2,Eu=12800;function Ua(s){return console.error(s),null}function pa(){}function ga(s,c,g,A,N,z,Y,he,Le){var rt=[],pt=new Set,Lt={destination:null,responseState:c,progressiveChunkSize:A===void 0?Eu:A,status:di,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:pt,pingedTasks:rt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:N===void 0?Ua:N,onAllReady:pa,onShellReady:Y===void 0?pa:Y,onShellError:pa,onFatalError:pa},nr=jl(Lt,0,null,g,!1,!1);nr.parentFlushed=!0;var Dr=Is(Lt,s,null,nr,pt,sa,Pn,bf);return rt.push(Dr),Lt}function Lc(s,c){var g=s.pingedTasks;g.push(c),g.length===1&&u(function(){return pi(s)})}function Tu(s,c){return{id:zr,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:c,errorDigest:null}}function Is(s,c,g,A,N,z,Y,he){s.allPendingTasks++,g===null?s.pendingRootTasks++:g.pendingTasks++;var Le={node:c,ping:function(){return Lc(s,Le)},blockedBoundary:g,blockedSegment:A,abortSet:N,legacyContext:z,context:Y,treeContext:he};return Le.componentStack=null,N.add(Le),Le}function jl(s,c,g,A,N,z){return{status:Ml,id:-1,index:c,parentFlushed:!1,chunks:[],children:[],formatContext:A,boundary:g,lastPushedText:N,textEmbedded:z}}var Ni=null;function Fl(){return Ni===null||Ni.componentStack===null?"":$a(Ni.componentStack)}function ji(s,c){s.componentStack={tag:0,parent:s.componentStack,type:c}}function Wa(s,c){s.componentStack={tag:1,parent:s.componentStack,type:c}}function Xo(s,c){s.componentStack={tag:2,parent:s.componentStack,type:c}}function Jo(s){s.componentStack===null?o("Unexpectedly popped too many stack frames. This is a bug in React."):s.componentStack=s.componentStack.parent}var hi=null;function Va(s,c){{var g;typeof c=="string"?g=c:c&&typeof c.message=="string"?g=c.message:g=String(c);var A=hi||Fl();hi=null,s.errorMessage=g,s.errorComponentStack=A}}function rs(s,c){var g=s.onError(c);if(g!=null&&typeof g!="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 g+'" instead');return g}function Qo(s,c){var g=s.onShellError;g(c);var A=s.onFatalError;A(c),s.destination!==null?(s.status=Rs,b(s.destination,c)):(s.status=Nl,s.fatalError=c)}function ma(s,c,g){ji(c,"Suspense");var A=c.blockedBoundary,N=c.blockedSegment,z=g.fallback,Y=g.children,he=new Set,Le=Tu(s,he),rt=N.chunks.length,pt=jl(s,rt,Le,N.formatContext,!1,!1);N.children.push(pt),N.lastPushedText=!1;var Lt=jl(s,0,null,N.formatContext,!1,!1);Lt.parentFlushed=!0,c.blockedBoundary=Le,c.blockedSegment=Lt;try{if(so(s,c,Y),Ma(Lt.chunks,s.responseState,Lt.lastPushedText,Lt.textEmbedded),Lt.status=da,ns(Le,Lt),Le.pendingTasks===0){Jo(c);return}}catch(Dr){Lt.status=Pl,Le.forceClientRender=!0,Le.errorDigest=rs(s,Dr),Va(Le,Dr)}finally{c.blockedBoundary=A,c.blockedSegment=N}var nr=Is(s,z,A,pt,he,c.legacyContext,c.context,c.treeContext);nr.componentStack=c.componentStack,s.pingedTasks.push(nr),Jo(c)}function Bl(s,c,g,A){ji(c,g);var N=c.blockedSegment,z=ro(N.chunks,g,A,s.responseState,N.formatContext);N.lastPushedText=!1;var Y=N.formatContext;N.formatContext=jr(Y,g,A),so(s,c,z),N.formatContext=Y,Pr(N.chunks,g),N.lastPushedText=!1,Jo(c)}function Ga(s){return s.prototype&&s.prototype.isReactComponent}function va(s,c,g,A,N){var z={};As(c,z);var Y=g(A,N);return Su(g,A,Y,N)}function ku(s,c,g,A,N){var z=g.render();g.props!==N&&(vr||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",nn(A)||"a component"),vr=!0);{var Y=A.childContextTypes;if(Y!=null){var he=c.legacyContext,Le=vu(g,A,he,Y);c.legacyContext=Le,Ln(s,c,z),c.legacyContext=he;return}}Ln(s,c,z)}function Oc(s,c,g,A){Xo(c,g);var N=ja(g,c.legacyContext),z=bu(g,A,N);ui(z,g,A,N),ku(s,c,z,g,A),Jo(c)}var Mc={},Ls={},Dc={},Hl={},vr=!1,Za=!1,Pc=!1,Os=!1;function Nc(s,c,g,A){var N;if(N=ja(g,c.legacyContext),Wa(c,g),g.prototype&&typeof g.prototype.render=="function"){var z=nn(g)||"Unknown";Mc[z]||(o("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.",z,z),Mc[z]=!0)}var Y=va(s,c,g,A,N),he=wc();if(typeof Y=="object"&&Y!==null&&typeof Y.render=="function"&&Y.$$typeof===void 0){var Le=nn(g)||"Unknown";Ls[Le]||(o("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.",Le,Le,Le),Ls[Le]=!0)}if(typeof Y=="object"&&Y!==null&&typeof Y.render=="function"&&Y.$$typeof===void 0){{var rt=nn(g)||"Unknown";Ls[rt]||(o("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.",rt,rt,rt),Ls[rt]=!0)}ui(Y,g,A,N),ku(s,c,Y,g,A)}else if(Ru(g),he){var pt=c.treeContext,Lt=1,nr=0;c.treeContext=_c(pt,Lt,nr);try{Ln(s,c,Y)}finally{c.treeContext=pt}}else Ln(s,c,Y);Jo(c)}function Ru(s){{if(s&&s.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",s.displayName||s.name||"Component"),typeof s.getDerivedStateFromProps=="function"){var c=nn(s)||"Unknown";Hl[c]||(o("%s: Function components do not support getDerivedStateFromProps.",c),Hl[c]=!0)}if(typeof s.contextType=="object"&&s.contextType!==null){var g=nn(s)||"Unknown";Dc[g]||(o("%s: Function components do not support contextType.",g),Dc[g]=!0)}}}function jc(s,c){if(s&&s.defaultProps){var g=gn({},c),A=s.defaultProps;for(var N in A)g[N]===void 0&&(g[N]=A[N]);return g}return c}function No(s,c,g,A,N){Wa(c,g.render);var z=va(s,c,g.render,A,N),Y=wc();if(Y){var he=c.treeContext,Le=1,rt=0;c.treeContext=_c(he,Le,rt);try{Ln(s,c,z)}finally{c.treeContext=he}}else Ln(s,c,z);Jo(c)}function Ef(s,c,g,A,N){var z=g.type,Y=jc(z,A);$l(s,c,z,Y,N)}function ql(s,c,g,A){g._context===void 0?g!==g.Consumer&&(Os||(Os=!0,o("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):g=g._context;var N=A.children;typeof N!="function"&&o("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 z=Xi(g),Y=N(z);Ln(s,c,Y)}function zl(s,c,g,A){var N=g._context,z=A.value,Y=A.children,he;he=c.context,c.context=la(N,z),Ln(s,c,Y),c.context=Fa(N),he!==c.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Iu(s,c,g,A,N){ji(c,"Lazy");var z=g._payload,Y=g._init,he=Y(z),Le=jc(he,A);$l(s,c,he,Le,N),Jo(c)}function $l(s,c,g,A,N){if(typeof g=="function")if(Ga(g)){Oc(s,c,g,A);return}else{Nc(s,c,g,A);return}if(typeof g=="string"){Bl(s,c,g,A);return}switch(g){case Kr:case Sn:case Lo:case pu:case _l:{Ln(s,c,A.children);return}case ze:{ji(c,"SuspenseList"),Ln(s,c,A.children),Jo(c);return}case Br:throw new Error("ReactDOMServer does not yet support scope components.");case Xe:{ma(s,c,A);return}}if(typeof g=="object"&&g!==null)switch(g.$$typeof){case Ae:{No(s,c,g,A,N);return}case Nt:{Ef(s,c,g,A,N);return}case xl:{zl(s,c,g,A);return}case Ti:{ql(s,c,g,A);return}case ir:{Iu(s,c,g,A);return}}var z="";throw(g===void 0||typeof g=="object"&&g!==null&&Object.keys(g).length===0)&&(z+=" 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: "+(g==null?g:typeof g)+"."+z))}function jo(s,c){typeof Symbol=="function"&&s[Symbol.toStringTag]==="Generator"&&(Za||o("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."),Za=!0),s.entries===c&&(Pc||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Pc=!0)}function Ln(s,c,g){try{return Fc(s,c,g)}catch(A){throw typeof A=="object"&&A!==null&&typeof A.then=="function"||(hi=hi!==null?hi:Fl()),A}}function Fc(s,c,g){if(c.node=g,typeof g=="object"&&g!==null){switch(g.$$typeof){case du:{var A=g,N=A.type,z=A.props,Y=A.ref;$l(s,c,N,z,Y);return}case hu: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 ir:{var he=g,Le=he._payload,rt=he._init,pt;try{pt=rt(Le)}catch(ss){throw typeof ss=="object"&&ss!==null&&typeof ss.then=="function"&&ji(c,"Lazy"),ss}Ln(s,c,pt);return}}if(He(g)){Ka(s,c,g);return}var Lt=Sl(g);if(Lt){jo(g,Lt);var nr=Lt.call(g);if(nr){var Dr=nr.next();if(!Dr.done){var Kn=[];do Kn.push(Dr.value),Dr=nr.next();while(!Dr.done);Ka(s,c,Kn);return}return}}var is=Object.prototype.toString.call(g);throw new Error("Objects are not valid as a React child (found: "+(is==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":is)+"). If you meant to render a collection of children, use an array instead.")}if(typeof g=="string"){var gi=c.blockedSegment;gi.lastPushedText=Ei(c.blockedSegment.chunks,g,s.responseState,gi.lastPushedText);return}if(typeof g=="number"){var mi=c.blockedSegment;mi.lastPushedText=Ei(c.blockedSegment.chunks,""+g,s.responseState,mi.lastPushedText);return}typeof g=="function"&&o("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 Ka(s,c,g){for(var A=g.length,N=0;N<A;N++){var z=c.treeContext;c.treeContext=_c(z,A,N);try{so(s,c,g[N])}finally{c.treeContext=z}}}function Ul(s,c,g){var A=c.blockedSegment,N=A.chunks.length,z=jl(s,N,null,A.formatContext,A.lastPushedText,!0);A.children.push(z),A.lastPushedText=!1;var Y=Is(s,c.node,c.blockedBoundary,z,c.abortSet,c.legacyContext,c.context,c.treeContext);c.componentStack!==null&&(Y.componentStack=c.componentStack.parent);var he=Y.ping;g.then(he,he)}function so(s,c,g){var A=c.blockedSegment.formatContext,N=c.legacyContext,z=c.context,Y=null;Y=c.componentStack;try{return Ln(s,c,g)}catch(he){if(Do(),typeof he=="object"&&he!==null&&typeof he.then=="function"){Ul(s,c,he),c.blockedSegment.formatContext=A,c.legacyContext=N,c.context=z,Oi(z),c.componentStack=Y;return}else throw c.blockedSegment.formatContext=A,c.legacyContext=N,c.context=z,Oi(z),c.componentStack=Y,he}}function Bc(s,c,g,A){var N=rs(s,A);if(c===null?Qo(s,A):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=N,Va(c,A),c.parentFlushed&&s.clientRenderedBoundaries.push(c))),s.allPendingTasks--,s.allPendingTasks===0){var z=s.onAllReady;z()}}function Hc(s){var c=this,g=s.blockedBoundary,A=s.blockedSegment;A.status=ha,Fi(c,g,A)}function Wl(s,c,g){var A=s.blockedBoundary,N=s.blockedSegment;if(N.status=ha,A===null)c.allPendingTasks--,c.status!==Rs&&(c.status=Rs,c.destination!==null&&_(c.destination));else{if(A.pendingTasks--,!A.forceClientRender){A.forceClientRender=!0;var z=g===void 0?new Error("The render was aborted by the server without a reason."):g;A.errorDigest=c.onError(z);{var Y="The server did not finish this Suspense boundary: ";z&&typeof z.message=="string"?z=Y+z.message:z=Y+String(z);var he=Ni;Ni=s;try{Va(A,z)}finally{Ni=he}}A.parentFlushed&&c.clientRenderedBoundaries.push(A)}if(A.fallbackAbortableTasks.forEach(function(rt){return Wl(rt,c,g)}),A.fallbackAbortableTasks.clear(),c.allPendingTasks--,c.allPendingTasks===0){var Le=c.onAllReady;Le()}}}function ns(s,c){if(c.chunks.length===0&&c.children.length===1&&c.children[0].boundary===null){var g=c.children[0];g.id=c.id,g.parentFlushed=!0,g.status===da&&ns(s,g)}else{var A=s.completedSegments;A.push(c)}}function Fi(s,c,g){if(c===null){if(g.parentFlushed){if(s.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");s.completedRootSegment=g}if(s.pendingRootTasks--,s.pendingRootTasks===0){s.onShellError=pa;var A=s.onShellReady;A()}}else if(c.pendingTasks--,!c.forceClientRender){if(c.pendingTasks===0)g.parentFlushed&&g.status===da&&ns(c,g),c.parentFlushed&&s.completedBoundaries.push(c),c.fallbackAbortableTasks.forEach(Hc,s),c.fallbackAbortableTasks.clear();else if(g.parentFlushed&&g.status===da){ns(c,g);var N=c.completedSegments;N.length===1&&c.parentFlushed&&s.partialBoundaries.push(c)}}if(s.allPendingTasks--,s.allPendingTasks===0){var z=s.onAllReady;z()}}function Tf(s,c){var g=c.blockedSegment;if(g.status===Ml){Oi(c.context);var A=null;A=Ni,Ni=c;try{Ln(s,c,c.node),Ma(g.chunks,s.responseState,g.lastPushedText,g.textEmbedded),c.abortSet.delete(c),g.status=da,Fi(s,c.blockedBoundary,g)}catch(z){if(Do(),typeof z=="object"&&z!==null&&typeof z.then=="function"){var N=c.ping;z.then(N,N)}else c.abortSet.delete(c),g.status=Pl,Bc(s,c.blockedBoundary,g,z)}finally{Ni=A}}}function pi(s){if(s.status!==Rs){var c=Ss(),g=Bn.current;Bn.current=Ol;var A;A=ks.getCurrentStack,ks.getCurrentStack=Fl;var N=fa;ts(s.responseState);try{var z=s.pingedTasks,Y;for(Y=0;Y<z.length;Y++){var he=z[Y];Tf(s,he)}z.splice(0,Y),s.destination!==null&&Xa(s,s.destination)}catch(Le){rs(s,Le),Qo(s,Le)}finally{ts(N),Bn.current=g,ks.getCurrentStack=A,g===Ol&&Oi(c)}}}function os(s,c,g){switch(g.parentFlushed=!0,g.status){case Ml:{var A=g.id=s.nextSegmentId++;return g.lastPushedText=!1,g.textEmbedded=!1,J(c,s.responseState,A)}case da:{g.status=Dl;for(var N=!0,z=g.chunks,Y=0,he=g.children,Le=0;Le<he.length;Le++){for(var rt=he[Le];Y<rt.index;Y++)d(c,z[Y]);N=ya(s,c,rt)}for(;Y<z.length-1;Y++)d(c,z[Y]);return Y<z.length&&(N=h(c,z[Y])),N}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ya(s,c,g){var A=g.boundary;if(A===null)return os(s,c,g);if(A.parentFlushed=!0,A.forceClientRender)return hf(c,s.responseState,A.errorDigest,A.errorMessage,A.errorComponentStack),os(s,c,g),ea(c,s.responseState);if(A.pendingTasks>0){A.rootSegmentID=s.nextSegmentId++,A.completedSegments.length>0&&s.partialBoundaries.push(A);var N=A.id=vn(s.responseState);return rn(c,s.responseState,N),os(s,c,g),Wn(c,s.responseState)}else{if(A.byteSize>s.progressiveChunkSize)return A.rootSegmentID=s.nextSegmentId++,s.completedBoundaries.push(A),rn(c,s.responseState,A.id),os(s,c,g),Wn(c,s.responseState);df(c,s.responseState);var z=A.completedSegments;if(z.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var Y=z[0];return ya(s,c,Y),pf(c,s.responseState)}}function qc(s,c,g){return Qs(c,s.responseState,g.id,g.errorDigest,g.errorMessage,g.errorComponentStack)}function zc(s,c,g){return Xs(c,s.responseState,g.formatContext,g.id),ya(s,c,g),Oa(c,g.formatContext)}function Ya(s,c,g){for(var A=g.completedSegments,N=0;N<A.length;N++){var z=A[N];$c(s,c,g,z)}return A.length=0,oo(c,s.responseState,g.id,g.rootSegmentID)}function Vl(s,c,g){for(var A=g.completedSegments,N=0;N<A.length;N++){var z=A[N];if(!$c(s,c,g,z))return N++,A.splice(0,N),!1}return A.splice(0,N),!0}function $c(s,c,g,A){if(A.status===Dl)return!0;var N=A.id;if(N===-1){var z=A.id=g.rootSegmentID;if(z===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return zc(s,c,A)}else return zc(s,c,A),Ct(c,s.responseState,N)}function Xa(s,c){try{var g=s.completedRootSegment;g!==null&&s.pendingRootTasks===0&&(ya(s,c,g),s.completedRootSegment=null,Ar(c,s.responseState));var A=s.clientRenderedBoundaries,N;for(N=0;N<A.length;N++){var z=A[N];if(!qc(s,c,z)){s.destination=null,N++,A.splice(0,N);return}}A.splice(0,N);var Y=s.completedBoundaries;for(N=0;N<Y.length;N++){var he=Y[N];if(!Ya(s,c,he)){s.destination=null,N++,Y.splice(0,N);return}}Y.splice(0,N);var Le=s.partialBoundaries;for(N=0;N<Le.length;N++){var rt=Le[N];if(!Vl(s,c,rt)){s.destination=null,N++,Le.splice(0,N);return}}Le.splice(0,N);var pt=s.completedBoundaries;for(N=0;N<pt.length;N++){var Lt=pt[N];if(!Ya(s,c,Lt)){s.destination=null,N++,pt.splice(0,N);return}}pt.splice(0,N)}finally{s.allPendingTasks===0&&s.pingedTasks.length===0&&s.clientRenderedBoundaries.length===0&&s.completedBoundaries.length===0&&(s.abortableTasks.size!==0&&o("There was still abortable task at the root when we closed. This is a bug in React."),_(c))}}function Lu(s){u(function(){return pi(s)})}function Ou(s,c){if(s.status===Nl){s.status=Rs,b(c,s.fatalError);return}if(s.status!==Rs&&s.destination===null){s.destination=c;try{Xa(s,c)}catch(g){rs(s,g),Qo(s,g)}}}function Uc(s,c){try{var g=s.abortableTasks;g.forEach(function(A){return Wl(A,s,c)}),g.clear(),s.destination!==null&&Xa(s,s.destination)}catch(A){rs(s,A),Qo(s,A)}}function ao(){}function ei(s,c,g,A){var N=!1,z=null,Y="",he={push:function(Lt){return Lt!==null&&(Y+=Lt),!0},destroy:function(Lt){N=!0,z=Lt}},Le=!1;function rt(){Le=!0}var pt=ga(s,dc(g,c?c.identifierPrefix:void 0),fu(),1/0,ao,void 0,rt);if(Lu(pt),Uc(pt,A),Ou(pt,he),N)throw z;if(!Le)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 Y}function kf(s,c){return ei(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 Mu(s,c){return ei(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 Gl(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function p(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}Kc.renderToNodeStream=Gl,Kc.renderToStaticMarkup=Mu,Kc.renderToStaticNodeStream=p,Kc.renderToString=kf,Kc.version=e}()),Kc}var Ld={};/**
|
117
|
+
`+A.stack}}var Bn=t.ReactCurrentDispatcher,ks=t.ReactDebugCurrentFrame,Ml=0,da=1,Dl=2,ha=3,Pl=4,di=0,Nl=1,Rs=2,Eu=12800;function Ua(s){return console.error(s),null}function pa(){}function ga(s,c,g,A,N,z,Y,he,Le){var rt=[],pt=new Set,Lt={destination:null,responseState:c,progressiveChunkSize:A===void 0?Eu:A,status:di,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:pt,pingedTasks:rt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:N===void 0?Ua:N,onAllReady:pa,onShellReady:Y===void 0?pa:Y,onShellError:pa,onFatalError:pa},nr=jl(Lt,0,null,g,!1,!1);nr.parentFlushed=!0;var Dr=Is(Lt,s,null,nr,pt,sa,Pn,bf);return rt.push(Dr),Lt}function Lc(s,c){var g=s.pingedTasks;g.push(c),g.length===1&&u(function(){return pi(s)})}function Tu(s,c){return{id:zr,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:c,errorDigest:null}}function Is(s,c,g,A,N,z,Y,he){s.allPendingTasks++,g===null?s.pendingRootTasks++:g.pendingTasks++;var Le={node:c,ping:function(){return Lc(s,Le)},blockedBoundary:g,blockedSegment:A,abortSet:N,legacyContext:z,context:Y,treeContext:he};return Le.componentStack=null,N.add(Le),Le}function jl(s,c,g,A,N,z){return{status:Ml,id:-1,index:c,parentFlushed:!1,chunks:[],children:[],formatContext:A,boundary:g,lastPushedText:N,textEmbedded:z}}var Ni=null;function Fl(){return Ni===null||Ni.componentStack===null?"":$a(Ni.componentStack)}function ji(s,c){s.componentStack={tag:0,parent:s.componentStack,type:c}}function Wa(s,c){s.componentStack={tag:1,parent:s.componentStack,type:c}}function Xo(s,c){s.componentStack={tag:2,parent:s.componentStack,type:c}}function Jo(s){s.componentStack===null?o("Unexpectedly popped too many stack frames. This is a bug in React."):s.componentStack=s.componentStack.parent}var hi=null;function Va(s,c){{var g;typeof c=="string"?g=c:c&&typeof c.message=="string"?g=c.message:g=String(c);var A=hi||Fl();hi=null,s.errorMessage=g,s.errorComponentStack=A}}function ns(s,c){var g=s.onError(c);if(g!=null&&typeof g!="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 g+'" instead');return g}function Qo(s,c){var g=s.onShellError;g(c);var A=s.onFatalError;A(c),s.destination!==null?(s.status=Rs,b(s.destination,c)):(s.status=Nl,s.fatalError=c)}function ma(s,c,g){ji(c,"Suspense");var A=c.blockedBoundary,N=c.blockedSegment,z=g.fallback,Y=g.children,he=new Set,Le=Tu(s,he),rt=N.chunks.length,pt=jl(s,rt,Le,N.formatContext,!1,!1);N.children.push(pt),N.lastPushedText=!1;var Lt=jl(s,0,null,N.formatContext,!1,!1);Lt.parentFlushed=!0,c.blockedBoundary=Le,c.blockedSegment=Lt;try{if(so(s,c,Y),Ma(Lt.chunks,s.responseState,Lt.lastPushedText,Lt.textEmbedded),Lt.status=da,os(Le,Lt),Le.pendingTasks===0){Jo(c);return}}catch(Dr){Lt.status=Pl,Le.forceClientRender=!0,Le.errorDigest=ns(s,Dr),Va(Le,Dr)}finally{c.blockedBoundary=A,c.blockedSegment=N}var nr=Is(s,z,A,pt,he,c.legacyContext,c.context,c.treeContext);nr.componentStack=c.componentStack,s.pingedTasks.push(nr),Jo(c)}function Bl(s,c,g,A){ji(c,g);var N=c.blockedSegment,z=ro(N.chunks,g,A,s.responseState,N.formatContext);N.lastPushedText=!1;var Y=N.formatContext;N.formatContext=jr(Y,g,A),so(s,c,z),N.formatContext=Y,Pr(N.chunks,g),N.lastPushedText=!1,Jo(c)}function Ga(s){return s.prototype&&s.prototype.isReactComponent}function va(s,c,g,A,N){var z={};As(c,z);var Y=g(A,N);return Su(g,A,Y,N)}function ku(s,c,g,A,N){var z=g.render();g.props!==N&&(vr||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",nn(A)||"a component"),vr=!0);{var Y=A.childContextTypes;if(Y!=null){var he=c.legacyContext,Le=vu(g,A,he,Y);c.legacyContext=Le,Ln(s,c,z),c.legacyContext=he;return}}Ln(s,c,z)}function Oc(s,c,g,A){Xo(c,g);var N=ja(g,c.legacyContext),z=bu(g,A,N);ui(z,g,A,N),ku(s,c,z,g,A),Jo(c)}var Mc={},Ls={},Dc={},Hl={},vr=!1,Za=!1,Pc=!1,Os=!1;function Nc(s,c,g,A){var N;if(N=ja(g,c.legacyContext),Wa(c,g),g.prototype&&typeof g.prototype.render=="function"){var z=nn(g)||"Unknown";Mc[z]||(o("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.",z,z),Mc[z]=!0)}var Y=va(s,c,g,A,N),he=wc();if(typeof Y=="object"&&Y!==null&&typeof Y.render=="function"&&Y.$$typeof===void 0){var Le=nn(g)||"Unknown";Ls[Le]||(o("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.",Le,Le,Le),Ls[Le]=!0)}if(typeof Y=="object"&&Y!==null&&typeof Y.render=="function"&&Y.$$typeof===void 0){{var rt=nn(g)||"Unknown";Ls[rt]||(o("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.",rt,rt,rt),Ls[rt]=!0)}ui(Y,g,A,N),ku(s,c,Y,g,A)}else if(Ru(g),he){var pt=c.treeContext,Lt=1,nr=0;c.treeContext=_c(pt,Lt,nr);try{Ln(s,c,Y)}finally{c.treeContext=pt}}else Ln(s,c,Y);Jo(c)}function Ru(s){{if(s&&s.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",s.displayName||s.name||"Component"),typeof s.getDerivedStateFromProps=="function"){var c=nn(s)||"Unknown";Hl[c]||(o("%s: Function components do not support getDerivedStateFromProps.",c),Hl[c]=!0)}if(typeof s.contextType=="object"&&s.contextType!==null){var g=nn(s)||"Unknown";Dc[g]||(o("%s: Function components do not support contextType.",g),Dc[g]=!0)}}}function jc(s,c){if(s&&s.defaultProps){var g=gn({},c),A=s.defaultProps;for(var N in A)g[N]===void 0&&(g[N]=A[N]);return g}return c}function No(s,c,g,A,N){Wa(c,g.render);var z=va(s,c,g.render,A,N),Y=wc();if(Y){var he=c.treeContext,Le=1,rt=0;c.treeContext=_c(he,Le,rt);try{Ln(s,c,z)}finally{c.treeContext=he}}else Ln(s,c,z);Jo(c)}function Ef(s,c,g,A,N){var z=g.type,Y=jc(z,A);$l(s,c,z,Y,N)}function ql(s,c,g,A){g._context===void 0?g!==g.Consumer&&(Os||(Os=!0,o("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):g=g._context;var N=A.children;typeof N!="function"&&o("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 z=Ji(g),Y=N(z);Ln(s,c,Y)}function zl(s,c,g,A){var N=g._context,z=A.value,Y=A.children,he;he=c.context,c.context=la(N,z),Ln(s,c,Y),c.context=Fa(N),he!==c.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Iu(s,c,g,A,N){ji(c,"Lazy");var z=g._payload,Y=g._init,he=Y(z),Le=jc(he,A);$l(s,c,he,Le,N),Jo(c)}function $l(s,c,g,A,N){if(typeof g=="function")if(Ga(g)){Oc(s,c,g,A);return}else{Nc(s,c,g,A);return}if(typeof g=="string"){Bl(s,c,g,A);return}switch(g){case Kr:case Cn:case Lo:case pu:case _l:{Ln(s,c,A.children);return}case ze:{ji(c,"SuspenseList"),Ln(s,c,A.children),Jo(c);return}case Br:throw new Error("ReactDOMServer does not yet support scope components.");case Xe:{ma(s,c,A);return}}if(typeof g=="object"&&g!==null)switch(g.$$typeof){case Ae:{No(s,c,g,A,N);return}case Nt:{Ef(s,c,g,A,N);return}case xl:{zl(s,c,g,A);return}case Ti:{ql(s,c,g,A);return}case ir:{Iu(s,c,g,A);return}}var z="";throw(g===void 0||typeof g=="object"&&g!==null&&Object.keys(g).length===0)&&(z+=" 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: "+(g==null?g:typeof g)+"."+z))}function jo(s,c){typeof Symbol=="function"&&s[Symbol.toStringTag]==="Generator"&&(Za||o("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."),Za=!0),s.entries===c&&(Pc||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Pc=!0)}function Ln(s,c,g){try{return Fc(s,c,g)}catch(A){throw typeof A=="object"&&A!==null&&typeof A.then=="function"||(hi=hi!==null?hi:Fl()),A}}function Fc(s,c,g){if(c.node=g,typeof g=="object"&&g!==null){switch(g.$$typeof){case du:{var A=g,N=A.type,z=A.props,Y=A.ref;$l(s,c,N,z,Y);return}case hu: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 ir:{var he=g,Le=he._payload,rt=he._init,pt;try{pt=rt(Le)}catch(as){throw typeof as=="object"&&as!==null&&typeof as.then=="function"&&ji(c,"Lazy"),as}Ln(s,c,pt);return}}if(He(g)){Ka(s,c,g);return}var Lt=Sl(g);if(Lt){jo(g,Lt);var nr=Lt.call(g);if(nr){var Dr=nr.next();if(!Dr.done){var Kn=[];do Kn.push(Dr.value),Dr=nr.next();while(!Dr.done);Ka(s,c,Kn);return}return}}var ss=Object.prototype.toString.call(g);throw new Error("Objects are not valid as a React child (found: "+(ss==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":ss)+"). If you meant to render a collection of children, use an array instead.")}if(typeof g=="string"){var gi=c.blockedSegment;gi.lastPushedText=Ei(c.blockedSegment.chunks,g,s.responseState,gi.lastPushedText);return}if(typeof g=="number"){var mi=c.blockedSegment;mi.lastPushedText=Ei(c.blockedSegment.chunks,""+g,s.responseState,mi.lastPushedText);return}typeof g=="function"&&o("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 Ka(s,c,g){for(var A=g.length,N=0;N<A;N++){var z=c.treeContext;c.treeContext=_c(z,A,N);try{so(s,c,g[N])}finally{c.treeContext=z}}}function Ul(s,c,g){var A=c.blockedSegment,N=A.chunks.length,z=jl(s,N,null,A.formatContext,A.lastPushedText,!0);A.children.push(z),A.lastPushedText=!1;var Y=Is(s,c.node,c.blockedBoundary,z,c.abortSet,c.legacyContext,c.context,c.treeContext);c.componentStack!==null&&(Y.componentStack=c.componentStack.parent);var he=Y.ping;g.then(he,he)}function so(s,c,g){var A=c.blockedSegment.formatContext,N=c.legacyContext,z=c.context,Y=null;Y=c.componentStack;try{return Ln(s,c,g)}catch(he){if(Do(),typeof he=="object"&&he!==null&&typeof he.then=="function"){Ul(s,c,he),c.blockedSegment.formatContext=A,c.legacyContext=N,c.context=z,Oi(z),c.componentStack=Y;return}else throw c.blockedSegment.formatContext=A,c.legacyContext=N,c.context=z,Oi(z),c.componentStack=Y,he}}function Bc(s,c,g,A){var N=ns(s,A);if(c===null?Qo(s,A):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=N,Va(c,A),c.parentFlushed&&s.clientRenderedBoundaries.push(c))),s.allPendingTasks--,s.allPendingTasks===0){var z=s.onAllReady;z()}}function Hc(s){var c=this,g=s.blockedBoundary,A=s.blockedSegment;A.status=ha,Fi(c,g,A)}function Wl(s,c,g){var A=s.blockedBoundary,N=s.blockedSegment;if(N.status=ha,A===null)c.allPendingTasks--,c.status!==Rs&&(c.status=Rs,c.destination!==null&&_(c.destination));else{if(A.pendingTasks--,!A.forceClientRender){A.forceClientRender=!0;var z=g===void 0?new Error("The render was aborted by the server without a reason."):g;A.errorDigest=c.onError(z);{var Y="The server did not finish this Suspense boundary: ";z&&typeof z.message=="string"?z=Y+z.message:z=Y+String(z);var he=Ni;Ni=s;try{Va(A,z)}finally{Ni=he}}A.parentFlushed&&c.clientRenderedBoundaries.push(A)}if(A.fallbackAbortableTasks.forEach(function(rt){return Wl(rt,c,g)}),A.fallbackAbortableTasks.clear(),c.allPendingTasks--,c.allPendingTasks===0){var Le=c.onAllReady;Le()}}}function os(s,c){if(c.chunks.length===0&&c.children.length===1&&c.children[0].boundary===null){var g=c.children[0];g.id=c.id,g.parentFlushed=!0,g.status===da&&os(s,g)}else{var A=s.completedSegments;A.push(c)}}function Fi(s,c,g){if(c===null){if(g.parentFlushed){if(s.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");s.completedRootSegment=g}if(s.pendingRootTasks--,s.pendingRootTasks===0){s.onShellError=pa;var A=s.onShellReady;A()}}else if(c.pendingTasks--,!c.forceClientRender){if(c.pendingTasks===0)g.parentFlushed&&g.status===da&&os(c,g),c.parentFlushed&&s.completedBoundaries.push(c),c.fallbackAbortableTasks.forEach(Hc,s),c.fallbackAbortableTasks.clear();else if(g.parentFlushed&&g.status===da){os(c,g);var N=c.completedSegments;N.length===1&&c.parentFlushed&&s.partialBoundaries.push(c)}}if(s.allPendingTasks--,s.allPendingTasks===0){var z=s.onAllReady;z()}}function Tf(s,c){var g=c.blockedSegment;if(g.status===Ml){Oi(c.context);var A=null;A=Ni,Ni=c;try{Ln(s,c,c.node),Ma(g.chunks,s.responseState,g.lastPushedText,g.textEmbedded),c.abortSet.delete(c),g.status=da,Fi(s,c.blockedBoundary,g)}catch(z){if(Do(),typeof z=="object"&&z!==null&&typeof z.then=="function"){var N=c.ping;z.then(N,N)}else c.abortSet.delete(c),g.status=Pl,Bc(s,c.blockedBoundary,g,z)}finally{Ni=A}}}function pi(s){if(s.status!==Rs){var c=Ss(),g=Bn.current;Bn.current=Ol;var A;A=ks.getCurrentStack,ks.getCurrentStack=Fl;var N=fa;rs(s.responseState);try{var z=s.pingedTasks,Y;for(Y=0;Y<z.length;Y++){var he=z[Y];Tf(s,he)}z.splice(0,Y),s.destination!==null&&Xa(s,s.destination)}catch(Le){ns(s,Le),Qo(s,Le)}finally{rs(N),Bn.current=g,ks.getCurrentStack=A,g===Ol&&Oi(c)}}}function is(s,c,g){switch(g.parentFlushed=!0,g.status){case Ml:{var A=g.id=s.nextSegmentId++;return g.lastPushedText=!1,g.textEmbedded=!1,J(c,s.responseState,A)}case da:{g.status=Dl;for(var N=!0,z=g.chunks,Y=0,he=g.children,Le=0;Le<he.length;Le++){for(var rt=he[Le];Y<rt.index;Y++)d(c,z[Y]);N=ya(s,c,rt)}for(;Y<z.length-1;Y++)d(c,z[Y]);return Y<z.length&&(N=h(c,z[Y])),N}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ya(s,c,g){var A=g.boundary;if(A===null)return is(s,c,g);if(A.parentFlushed=!0,A.forceClientRender)return hf(c,s.responseState,A.errorDigest,A.errorMessage,A.errorComponentStack),is(s,c,g),ea(c,s.responseState);if(A.pendingTasks>0){A.rootSegmentID=s.nextSegmentId++,A.completedSegments.length>0&&s.partialBoundaries.push(A);var N=A.id=vn(s.responseState);return rn(c,s.responseState,N),is(s,c,g),Wn(c,s.responseState)}else{if(A.byteSize>s.progressiveChunkSize)return A.rootSegmentID=s.nextSegmentId++,s.completedBoundaries.push(A),rn(c,s.responseState,A.id),is(s,c,g),Wn(c,s.responseState);df(c,s.responseState);var z=A.completedSegments;if(z.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var Y=z[0];return ya(s,c,Y),pf(c,s.responseState)}}function qc(s,c,g){return Qs(c,s.responseState,g.id,g.errorDigest,g.errorMessage,g.errorComponentStack)}function zc(s,c,g){return Xs(c,s.responseState,g.formatContext,g.id),ya(s,c,g),Oa(c,g.formatContext)}function Ya(s,c,g){for(var A=g.completedSegments,N=0;N<A.length;N++){var z=A[N];$c(s,c,g,z)}return A.length=0,oo(c,s.responseState,g.id,g.rootSegmentID)}function Vl(s,c,g){for(var A=g.completedSegments,N=0;N<A.length;N++){var z=A[N];if(!$c(s,c,g,z))return N++,A.splice(0,N),!1}return A.splice(0,N),!0}function $c(s,c,g,A){if(A.status===Dl)return!0;var N=A.id;if(N===-1){var z=A.id=g.rootSegmentID;if(z===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return zc(s,c,A)}else return zc(s,c,A),Ct(c,s.responseState,N)}function Xa(s,c){try{var g=s.completedRootSegment;g!==null&&s.pendingRootTasks===0&&(ya(s,c,g),s.completedRootSegment=null,Ar(c,s.responseState));var A=s.clientRenderedBoundaries,N;for(N=0;N<A.length;N++){var z=A[N];if(!qc(s,c,z)){s.destination=null,N++,A.splice(0,N);return}}A.splice(0,N);var Y=s.completedBoundaries;for(N=0;N<Y.length;N++){var he=Y[N];if(!Ya(s,c,he)){s.destination=null,N++,Y.splice(0,N);return}}Y.splice(0,N);var Le=s.partialBoundaries;for(N=0;N<Le.length;N++){var rt=Le[N];if(!Vl(s,c,rt)){s.destination=null,N++,Le.splice(0,N);return}}Le.splice(0,N);var pt=s.completedBoundaries;for(N=0;N<pt.length;N++){var Lt=pt[N];if(!Ya(s,c,Lt)){s.destination=null,N++,pt.splice(0,N);return}}pt.splice(0,N)}finally{s.allPendingTasks===0&&s.pingedTasks.length===0&&s.clientRenderedBoundaries.length===0&&s.completedBoundaries.length===0&&(s.abortableTasks.size!==0&&o("There was still abortable task at the root when we closed. This is a bug in React."),_(c))}}function Lu(s){u(function(){return pi(s)})}function Ou(s,c){if(s.status===Nl){s.status=Rs,b(c,s.fatalError);return}if(s.status!==Rs&&s.destination===null){s.destination=c;try{Xa(s,c)}catch(g){ns(s,g),Qo(s,g)}}}function Uc(s,c){try{var g=s.abortableTasks;g.forEach(function(A){return Wl(A,s,c)}),g.clear(),s.destination!==null&&Xa(s,s.destination)}catch(A){ns(s,A),Qo(s,A)}}function ao(){}function ei(s,c,g,A){var N=!1,z=null,Y="",he={push:function(Lt){return Lt!==null&&(Y+=Lt),!0},destroy:function(Lt){N=!0,z=Lt}},Le=!1;function rt(){Le=!0}var pt=ga(s,dc(g,c?c.identifierPrefix:void 0),fu(),1/0,ao,void 0,rt);if(Lu(pt),Uc(pt,A),Ou(pt,he),N)throw z;if(!Le)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 Y}function kf(s,c){return ei(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 Mu(s,c){return ei(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 Gl(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function p(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}Kc.renderToNodeStream=Gl,Kc.renderToStaticMarkup=Mu,Kc.renderToStaticNodeStream=p,Kc.renderToString=kf,Kc.version=e}()),Kc}var Ld={};/**
|
118
118
|
* @license React
|
119
119
|
* react-dom-server.browser.development.js
|
120
120
|
*
|
@@ -122,17 +122,17 @@ Error generating stack: `+A.message+`
|
|
122
122
|
*
|
123
123
|
* This source code is licensed under the MIT license found in the
|
124
124
|
* LICENSE file in the root directory of this source tree.
|
125
|
-
*/var ny;function kE(){return ny||(ny=1,process.env.NODE_ENV!=="production"&&function(){var r=k,e="18.2.0",t=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(p){{for(var s=arguments.length,c=new Array(s>1?s-1:0),g=1;g<s;g++)c[g-1]=arguments[g];a("warn",p,c)}}function o(p){{for(var s=arguments.length,c=new Array(s>1?s-1:0),g=1;g<s;g++)c[g-1]=arguments[g];a("error",p,c)}}function a(p,s,c){{var g=t.ReactDebugCurrentFrame,A=g.getStackAddendum();A!==""&&(s+="%s",c=c.concat([A]));var N=c.map(function(z){return String(z)});N.unshift("Warning: "+s),Function.prototype.apply.call(console[p],console,N)}}function u(p){p()}var f=512,d=null,h=0;function x(p){d=new Uint8Array(f),h=0}function _(p,s){if(s.length!==0){if(s.length>f){h>0&&(p.enqueue(new Uint8Array(d.buffer,0,h)),d=new Uint8Array(f),h=0),p.enqueue(s);return}var c=s,g=d.length-h;g<c.length&&(g===0?p.enqueue(d):(d.set(c.subarray(0,g),h),p.enqueue(d),c=c.subarray(g)),d=new Uint8Array(f),h=0),d.set(c,h),h+=c.length}}function v(p,s){return _(p,s),!0}function y(p){d&&h>0&&(p.enqueue(new Uint8Array(d.buffer,0,h)),d=null,h=0)}function b(p){p.close()}var T=new TextEncoder;function w(p){return T.encode(p)}function S(p){return T.encode(p)}function E(p,s){typeof p.error=="function"?p.error(s):p.close()}function R(p){{var s=typeof Symbol=="function"&&Symbol.toStringTag,c=s&&p[Symbol.toStringTag]||p.constructor.name||"Object";return c}}function I(p){try{return P(p),!1}catch{return!0}}function P(p){return""+p}function j(p,s){if(I(p))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",s,R(p)),P(p)}function q(p,s){if(I(p))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",s,R(p)),P(p)}function $(p){if(I(p))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",R(p)),P(p)}var G=Object.prototype.hasOwnProperty,re=0,F=1,W=2,V=3,ee=4,ue=5,le=6,de=":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",fe=de+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ve=new RegExp("^["+de+"]["+fe+"]*$"),te={},ce={};function pe(p){return G.call(ce,p)?!0:G.call(te,p)?!1:ve.test(p)?(ce[p]=!0,!0):(te[p]=!0,o("Invalid attribute name: `%s`",p),!1)}function ye(p,s,c,g){if(c!==null&&c.type===re)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":{if(c!==null)return!c.acceptsBooleans;var A=p.toLowerCase().slice(0,5);return A!=="data-"&&A!=="aria-"}default:return!1}}function Ie(p){return we.hasOwnProperty(p)?we[p]:null}function oe(p,s,c,g,A,N,z){this.acceptsBooleans=s===W||s===V||s===ee,this.attributeName=g,this.attributeNamespace=A,this.mustUseProperty=c,this.propertyName=p,this.type=s,this.sanitizeURL=N,this.removeEmptyString=z}var we={},Oe=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Oe.forEach(function(p){we[p]=new oe(p,re,!1,p,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(p){var s=p[0],c=p[1];we[s]=new oe(s,F,!1,c,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(p){we[p]=new oe(p,W,!1,p.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(p){we[p]=new oe(p,W,!1,p,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(p){we[p]=new oe(p,V,!1,p.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(p){we[p]=new oe(p,V,!0,p,null,!1,!1)}),["capture","download"].forEach(function(p){we[p]=new oe(p,ee,!1,p,null,!1,!1)}),["cols","rows","size","span"].forEach(function(p){we[p]=new oe(p,le,!1,p,null,!1,!1)}),["rowSpan","start"].forEach(function(p){we[p]=new oe(p,ue,!1,p.toLowerCase(),null,!1,!1)});var Ue=/[\-\:]([a-z])/g,We=function(p){return p[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(p){var s=p.replace(Ue,We);we[s]=new oe(s,F,!1,p,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(p){var s=p.replace(Ue,We);we[s]=new oe(s,F,!1,p,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(p){var s=p.replace(Ue,We);we[s]=new oe(s,F,!1,p,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(p){we[p]=new oe(p,F,!1,p.toLowerCase(),null,!1,!1)});var Se="xlinkHref";we[Se]=new oe("xlinkHref",F,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(p){we[p]=new oe(p,F,!1,p.toLowerCase(),null,!0,!0)});var _e={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 Ce(p,s){return p+s.charAt(0).toUpperCase()+s.substring(1)}var Te=["Webkit","ms","Moz","O"];Object.keys(_e).forEach(function(p){Te.forEach(function(s){_e[Ce(s,p)]=_e[p]})});var Ne={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function ot(p,s){Ne[s.type]||s.onChange||s.onInput||s.readOnly||s.disabled||s.value==null||o("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||o("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 $e(p,s){if(p.indexOf("-")===-1)return typeof s.is=="string";switch(p){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 tt={"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},at={},De=new RegExp("^(aria)-["+fe+"]*$"),Ke=new RegExp("^(aria)[A-Z]["+fe+"]*$");function yt(p,s){{if(G.call(at,s)&&at[s])return!0;if(Ke.test(s)){var c="aria-"+s.slice(4).toLowerCase(),g=tt.hasOwnProperty(c)?c:null;if(g==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",s),at[s]=!0,!0;if(s!==g)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",s,g),at[s]=!0,!0}if(De.test(s)){var A=s.toLowerCase(),N=tt.hasOwnProperty(A)?A:null;if(N==null)return at[s]=!0,!1;if(s!==N)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",s,N),at[s]=!0,!0}}return!0}function _t(p,s){{var c=[];for(var g in s){var A=yt(p,g);A||c.push(g)}var N=c.map(function(z){return"`"+z+"`"}).join(", ");c.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",N,p):c.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",N,p)}}function bt(p,s){$e(p,s)||_t(p,s)}var At=!1;function qe(p,s){{if(p!=="input"&&p!=="textarea"&&p!=="select")return;s!=null&&s.value===null&&!At&&(At=!0,p==="select"&&s.multiple?o("`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.",p):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",p))}}var Qe={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"},St=function(){};{var Dt={},Et=/^on./,Ze=/^on[^A-Z]/,It=new RegExp("^(aria)-["+fe+"]*$"),Ot=new RegExp("^(aria)[A-Z]["+fe+"]*$");St=function(p,s,c,g){if(G.call(Dt,s)&&Dt[s])return!0;var A=s.toLowerCase();if(A==="onfocusin"||A==="onfocusout")return o("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."),Dt[s]=!0,!0;if(g!=null){var N=g.registrationNameDependencies,z=g.possibleRegistrationNames;if(N.hasOwnProperty(s))return!0;var Y=z.hasOwnProperty(A)?z[A]:null;if(Y!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",s,Y),Dt[s]=!0,!0;if(Et.test(s))return o("Unknown event handler property `%s`. It will be ignored.",s),Dt[s]=!0,!0}else if(Et.test(s))return Ze.test(s)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",s),Dt[s]=!0,!0;if(It.test(s)||Ot.test(s))return!0;if(A==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Dt[s]=!0,!0;if(A==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Dt[s]=!0,!0;if(A==="is"&&c!==null&&c!==void 0&&typeof c!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof c),Dt[s]=!0,!0;if(typeof c=="number"&&isNaN(c))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",s),Dt[s]=!0,!0;var he=Ie(s),Le=he!==null&&he.type===re;if(Qe.hasOwnProperty(A)){var rt=Qe[A];if(rt!==s)return o("Invalid DOM property `%s`. Did you mean `%s`?",s,rt),Dt[s]=!0,!0}else if(!Le&&s!==A)return o("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,A),Dt[s]=!0,!0;return typeof c=="boolean"&&ye(s,c,he)?(c?o('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):o('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),Dt[s]=!0,!0):Le?!0:ye(s,c,he)?(Dt[s]=!0,!1):((c==="false"||c==="true")&&he!==null&&he.type===V&&(o("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),Dt[s]=!0),!0)}}var pr=function(p,s,c){{var g=[];for(var A in s){var N=St(p,A,s[A],c);N||g.push(A)}var z=g.map(function(Y){return"`"+Y+"`"}).join(", ");g.length===1?o("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 ",z,p):g.length>1&&o("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 ",z,p)}};function br(p,s,c){$e(p,s)||pr(p,s,c)}var Or=function(){};{var Ee=/^(?:webkit|moz|o)[A-Z]/,ae=/^-ms-/,st=/-(.)/g,mt=/;\s*$/,Ft={},Rt={},Mt=!1,Qt=!1,qt=function(p){return p.replace(st,function(s,c){return c.toUpperCase()})},sr=function(p){Ft.hasOwnProperty(p)&&Ft[p]||(Ft[p]=!0,o("Unsupported style property %s. Did you mean %s?",p,qt(p.replace(ae,"ms-"))))},er=function(p){Ft.hasOwnProperty(p)&&Ft[p]||(Ft[p]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",p,p.charAt(0).toUpperCase()+p.slice(1)))},_r=function(p,s){Rt.hasOwnProperty(s)&&Rt[s]||(Rt[s]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,p,s.replace(mt,"")))},fr=function(p,s){Mt||(Mt=!0,o("`NaN` is an invalid value for the `%s` css style property.",p))},lt=function(p,s){Qt||(Qt=!0,o("`Infinity` is an invalid value for the `%s` css style property.",p))};Or=function(p,s){p.indexOf("-")>-1?sr(p):Ee.test(p)?er(p):mt.test(s)&&_r(p,s),typeof s=="number"&&(isNaN(s)?fr(p,s):isFinite(s)||lt(p,s))}}var it=Or,Fe=/["'&<>]/;function ut(p){$(p);var s=""+p,c=Fe.exec(s);if(!c)return s;var g,A="",N,z=0;for(N=c.index;N<s.length;N++){switch(s.charCodeAt(N)){case 34:g=""";break;case 38:g="&";break;case 39:g="'";break;case 60:g="<";break;case 62:g=">";break;default:continue}z!==N&&(A+=s.substring(z,N)),z=N+1,A+=g}return z!==N?A+s.substring(z,N):A}function nt(p){return typeof p=="boolean"||typeof p=="number"?""+p:ut(p)}var $t=/([A-Z])/g,wr=/^ms-/;function ne(p){return p.replace($t,"-$1").toLowerCase().replace(wr,"-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,xe=!1;function Ye(p){!xe&&He.test(p)&&(xe=!0,o("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(p)))}var xt=Array.isArray;function Tt(p){return xt(p)}var kt=S("<script>"),wt=S("<\/script>"),or=S('<script src="'),Gt=S('<script type="module" src="'),rr=S('" async=""><\/script>');function gr(p){return $(p),(""+p).replace(Kt,jr)}var Kt=/(<\/|<)(s)(cript)/gi,jr=function(p,s,c,g){return""+s+(c==="s"?"\\u0073":"\\u0053")+g};function zr(p,s,c,g,A){var N=p===void 0?"":p,z=s===void 0?kt:S('<script nonce="'+nt(s)+'">'),Y=[];if(c!==void 0&&Y.push(z,w(gr(c)),wt),g!==void 0)for(var he=0;he<g.length;he++)Y.push(or,w(nt(g[he])),rr);if(A!==void 0)for(var Le=0;Le<A.length;Le++)Y.push(Gt,w(nt(A[Le])),rr);return{bootstrapChunks:Y,startInlineScript:z,placeholderPrefix:S(N+"P:"),segmentPrefix:S(N+"S:"),boundaryPrefix:N+"B:",idPrefix:N,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var vn=0,Fr=1,kn=2,hn=3,Jn=4,Qn=5,sn=6,Fn=7;function Rn(p,s){return{insertionMode:p,selectedValue:s}}function vo(p){var s=p==="http://www.w3.org/2000/svg"?kn:p==="http://www.w3.org/1998/Math/MathML"?hn:vn;return Rn(s,null)}function Ao(p,s,c){switch(s){case"select":return Rn(Fr,c.value!=null?c.value:c.defaultValue);case"svg":return Rn(kn,null);case"math":return Rn(hn,null);case"foreignObject":return Rn(Fr,null);case"table":return Rn(Jn,null);case"thead":case"tbody":case"tfoot":return Rn(Qn,null);case"colgroup":return Rn(Fn,null);case"tr":return Rn(sn,null)}return p.insertionMode>=Jn||p.insertionMode===vn?Rn(Fr,null):p}var Eo=null;function On(p){var s=p.nextSuspenseID++;return S(p.boundaryPrefix+s.toString(16))}function In(p,s,c){var g=p.idPrefix,A=":"+g+"R"+s;return c>0&&(A+="H"+c.toString(32)),A+":"}function pn(p){return nt(p)}var eo=S("<!-- -->");function an(p,s,c,g){return s===""?g:(g&&p.push(eo),p.push(w(pn(s))),!0)}function yn(p,s,c,g){c&&g&&p.push(eo)}var L=new Map;function H(p){var s=L.get(p);if(s!==void 0)return s;var c=S(nt(ne(p)));return L.set(p,c),c}var X=S(' style="'),ie=S(":"),Pe=S(";");function Re(p,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 g=!0;for(var A in c)if(G.call(c,A)){var N=c[A];if(!(N==null||typeof N=="boolean"||N==="")){var z=void 0,Y=void 0,he=A.indexOf("--")===0;he?(z=w(nt(A)),q(N,A),Y=w(nt((""+N).trim()))):(it(A,N),z=H(A),typeof N=="number"?N!==0&&!G.call(_e,A)?Y=w(N+"px"):Y=w(""+N):(q(N,A),Y=w(nt((""+N).trim())))),g?(g=!1,p.push(X,z,ie,Y)):p.push(Pe,z,ie,Y)}}g||p.push(Pt)}var Ve=S(" "),ht=S('="'),Pt=S('"'),Ht=S('=""');function Bt(p,s,c,g){switch(c){case"style":{Re(p,s,g);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 A=Ie(c);if(A!==null){switch(typeof g){case"function":case"symbol":return;case"boolean":if(!A.acceptsBooleans)return}var N=A.attributeName,z=w(N);switch(A.type){case V:g&&p.push(Ve,z,Ht);return;case ee:g===!0?p.push(Ve,z,Ht):g===!1||p.push(Ve,z,ht,w(nt(g)),Pt);return;case ue:isNaN(g)||p.push(Ve,z,ht,w(nt(g)),Pt);break;case le:!isNaN(g)&&g>=1&&p.push(Ve,z,ht,w(nt(g)),Pt);break;default:A.sanitizeURL&&(j(g,N),g=""+g,Ye(g)),p.push(Ve,z,ht,w(nt(g)),Pt)}}else if(pe(c)){switch(typeof g){case"function":case"symbol":return;case"boolean":{var Y=c.toLowerCase().slice(0,5);if(Y!=="data-"&&Y!=="aria-")return}}p.push(Ve,w(c),ht,w(nt(g)),Pt)}}}var Sr=S(">"),Jr=S("/>");function _n(p,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 g=s.__html;g!=null&&($(g),p.push(w(""+g)))}}var xn=!1,uo=!1,$n=!1,To=!1,en=!1,yo=!1,Un=!1;function to(p,s){{var c=p[s];if(c!=null){var g=Tt(c);p.multiple&&!g?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",s):!p.multiple&&g&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",s)}}}function xi(p,s,c){ot("select",s),to(s,"value"),to(s,"defaultValue"),s.value!==void 0&&s.defaultValue!==void 0&&!$n&&(o("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"),$n=!0),p.push(Yt("select"));var g=null,A=null;for(var N in s)if(G.call(s,N)){var z=s[N];if(z==null)continue;switch(N){case"children":g=z;break;case"dangerouslySetInnerHTML":A=z;break;case"defaultValue":case"value":break;default:Bt(p,c,N,z);break}}return p.push(Sr),_n(p,A,g),g}function ii(p){var s="";return r.Children.forEach(p,function(c){c!=null&&(s+=c,!en&&typeof c!="string"&&typeof c!="number"&&(en=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),s}var si=S(' selected=""');function Mn(p,s,c,g){var A=g.selectedValue;p.push(Yt("option"));var N=null,z=null,Y=null,he=null;for(var Le in s)if(G.call(s,Le)){var rt=s[Le];if(rt==null)continue;switch(Le){case"children":N=rt;break;case"selected":Y=rt,Un||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Un=!0);break;case"dangerouslySetInnerHTML":he=rt;break;case"value":z=rt;default:Bt(p,c,Le,rt);break}}if(A!=null){var pt;if(z!==null?(j(z,"value"),pt=""+z):(he!==null&&(yo||(yo=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),pt=ii(N)),Tt(A))for(var Lt=0;Lt<A.length;Lt++){j(A[Lt],"value");var nr=""+A[Lt];if(nr===pt){p.push(si);break}}else j(A,"select.value"),""+A===pt&&p.push(si)}else Y&&p.push(si);return p.push(Sr),_n(p,he,N),N}function Si(p,s,c){ot("input",s),s.checked!==void 0&&s.defaultChecked!==void 0&&!uo&&(o("%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),uo=!0),s.value!==void 0&&s.defaultValue!==void 0&&!xn&&(o("%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),xn=!0),p.push(Yt("input"));var g=null,A=null,N=null,z=null;for(var Y in s)if(G.call(s,Y)){var he=s[Y];if(he==null)continue;switch(Y){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":z=he;break;case"defaultValue":A=he;break;case"checked":N=he;break;case"value":g=he;break;default:Bt(p,c,Y,he);break}}return N!==null?Bt(p,c,"checked",N):z!==null&&Bt(p,c,"checked",z),g!==null?Bt(p,c,"value",g):A!==null&&Bt(p,c,"value",A),p.push(Jr),null}function ro(p,s,c){ot("textarea",s),s.value!==void 0&&s.defaultValue!==void 0&&!To&&(o("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"),To=!0),p.push(Yt("textarea"));var g=null,A=null,N=null;for(var z in s)if(G.call(s,z)){var Y=s[z];if(Y==null)continue;switch(z){case"children":N=Y;break;case"value":g=Y;break;case"defaultValue":A=Y;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Bt(p,c,z,Y);break}}if(g===null&&A!==null&&(g=A),p.push(Sr),N!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),g!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Tt(N)){if(N.length>1)throw new Error("<textarea> can only have at most one child.");$(N[0]),g=""+N[0]}$(N),g=""+N}return typeof g=="string"&&g[0]===`
|
126
|
-
`&&p.push(D),g!==null&&(j(g,"value"),p.push(w(pn(""+g)))),null}function no(p,s,c,g){p.push(Yt(c));for(var A in s)if(G.call(s,A)){var N=s[A];if(N==null)continue;switch(A){case"children":case"dangerouslySetInnerHTML":throw new Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Bt(p,g,A,N);break}}return p.push(Jr),null}function Vo(p,s,c){p.push(Yt("menuitem"));for(var g in s)if(G.call(s,g)){var A=s[g];if(A==null)continue;switch(g){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:Bt(p,c,g,A);break}}return p.push(Sr),null}function Pr(p,s,c){p.push(Yt("title"));var g=null;for(var A in s)if(G.call(s,A)){var N=s[A];if(N==null)continue;switch(A){case"children":g=N;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:Bt(p,c,A,N);break}}p.push(Sr);{var z=Array.isArray(g)&&g.length<2?g[0]||null:g;Array.isArray(g)&&g.length>1?o("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"):z!=null&&z.$$typeof!=null?o("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"):z!=null&&typeof z!="string"&&typeof z!="number"&&o("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 g}function Ar(p,s,c,g){p.push(Yt(c));var A=null,N=null;for(var z in s)if(G.call(s,z)){var Y=s[z];if(Y==null)continue;switch(z){case"children":A=Y;break;case"dangerouslySetInnerHTML":N=Y;break;default:Bt(p,g,z,Y);break}}return p.push(Sr),
|
125
|
+
*/var ny;function kE(){return ny||(ny=1,process.env.NODE_ENV!=="production"&&function(){var r=k,e="18.2.0",t=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(p){{for(var s=arguments.length,c=new Array(s>1?s-1:0),g=1;g<s;g++)c[g-1]=arguments[g];a("warn",p,c)}}function o(p){{for(var s=arguments.length,c=new Array(s>1?s-1:0),g=1;g<s;g++)c[g-1]=arguments[g];a("error",p,c)}}function a(p,s,c){{var g=t.ReactDebugCurrentFrame,A=g.getStackAddendum();A!==""&&(s+="%s",c=c.concat([A]));var N=c.map(function(z){return String(z)});N.unshift("Warning: "+s),Function.prototype.apply.call(console[p],console,N)}}function u(p){p()}var f=512,d=null,h=0;function x(p){d=new Uint8Array(f),h=0}function _(p,s){if(s.length!==0){if(s.length>f){h>0&&(p.enqueue(new Uint8Array(d.buffer,0,h)),d=new Uint8Array(f),h=0),p.enqueue(s);return}var c=s,g=d.length-h;g<c.length&&(g===0?p.enqueue(d):(d.set(c.subarray(0,g),h),p.enqueue(d),c=c.subarray(g)),d=new Uint8Array(f),h=0),d.set(c,h),h+=c.length}}function v(p,s){return _(p,s),!0}function y(p){d&&h>0&&(p.enqueue(new Uint8Array(d.buffer,0,h)),d=null,h=0)}function b(p){p.close()}var T=new TextEncoder;function w(p){return T.encode(p)}function S(p){return T.encode(p)}function E(p,s){typeof p.error=="function"?p.error(s):p.close()}function R(p){{var s=typeof Symbol=="function"&&Symbol.toStringTag,c=s&&p[Symbol.toStringTag]||p.constructor.name||"Object";return c}}function I(p){try{return P(p),!1}catch{return!0}}function P(p){return""+p}function j(p,s){if(I(p))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",s,R(p)),P(p)}function q(p,s){if(I(p))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",s,R(p)),P(p)}function $(p){if(I(p))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",R(p)),P(p)}var G=Object.prototype.hasOwnProperty,re=0,F=1,W=2,V=3,ee=4,ue=5,le=6,de=":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",fe=de+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ve=new RegExp("^["+de+"]["+fe+"]*$"),te={},ce={};function pe(p){return G.call(ce,p)?!0:G.call(te,p)?!1:ve.test(p)?(ce[p]=!0,!0):(te[p]=!0,o("Invalid attribute name: `%s`",p),!1)}function ye(p,s,c,g){if(c!==null&&c.type===re)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":{if(c!==null)return!c.acceptsBooleans;var A=p.toLowerCase().slice(0,5);return A!=="data-"&&A!=="aria-"}default:return!1}}function Ie(p){return we.hasOwnProperty(p)?we[p]:null}function oe(p,s,c,g,A,N,z){this.acceptsBooleans=s===W||s===V||s===ee,this.attributeName=g,this.attributeNamespace=A,this.mustUseProperty=c,this.propertyName=p,this.type=s,this.sanitizeURL=N,this.removeEmptyString=z}var we={},Oe=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Oe.forEach(function(p){we[p]=new oe(p,re,!1,p,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(p){var s=p[0],c=p[1];we[s]=new oe(s,F,!1,c,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(p){we[p]=new oe(p,W,!1,p.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(p){we[p]=new oe(p,W,!1,p,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(p){we[p]=new oe(p,V,!1,p.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(p){we[p]=new oe(p,V,!0,p,null,!1,!1)}),["capture","download"].forEach(function(p){we[p]=new oe(p,ee,!1,p,null,!1,!1)}),["cols","rows","size","span"].forEach(function(p){we[p]=new oe(p,le,!1,p,null,!1,!1)}),["rowSpan","start"].forEach(function(p){we[p]=new oe(p,ue,!1,p.toLowerCase(),null,!1,!1)});var Ue=/[\-\:]([a-z])/g,We=function(p){return p[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(p){var s=p.replace(Ue,We);we[s]=new oe(s,F,!1,p,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(p){var s=p.replace(Ue,We);we[s]=new oe(s,F,!1,p,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(p){var s=p.replace(Ue,We);we[s]=new oe(s,F,!1,p,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(p){we[p]=new oe(p,F,!1,p.toLowerCase(),null,!1,!1)});var Se="xlinkHref";we[Se]=new oe("xlinkHref",F,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(p){we[p]=new oe(p,F,!1,p.toLowerCase(),null,!0,!0)});var _e={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 Ce(p,s){return p+s.charAt(0).toUpperCase()+s.substring(1)}var Te=["Webkit","ms","Moz","O"];Object.keys(_e).forEach(function(p){Te.forEach(function(s){_e[Ce(s,p)]=_e[p]})});var Ne={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function ot(p,s){Ne[s.type]||s.onChange||s.onInput||s.readOnly||s.disabled||s.value==null||o("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||o("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 $e(p,s){if(p.indexOf("-")===-1)return typeof s.is=="string";switch(p){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 tt={"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},at={},De=new RegExp("^(aria)-["+fe+"]*$"),Ke=new RegExp("^(aria)[A-Z]["+fe+"]*$");function yt(p,s){{if(G.call(at,s)&&at[s])return!0;if(Ke.test(s)){var c="aria-"+s.slice(4).toLowerCase(),g=tt.hasOwnProperty(c)?c:null;if(g==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",s),at[s]=!0,!0;if(s!==g)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",s,g),at[s]=!0,!0}if(De.test(s)){var A=s.toLowerCase(),N=tt.hasOwnProperty(A)?A:null;if(N==null)return at[s]=!0,!1;if(s!==N)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",s,N),at[s]=!0,!0}}return!0}function bt(p,s){{var c=[];for(var g in s){var A=yt(p,g);A||c.push(g)}var N=c.map(function(z){return"`"+z+"`"}).join(", ");c.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",N,p):c.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",N,p)}}function _t(p,s){$e(p,s)||bt(p,s)}var At=!1;function qe(p,s){{if(p!=="input"&&p!=="textarea"&&p!=="select")return;s!=null&&s.value===null&&!At&&(At=!0,p==="select"&&s.multiple?o("`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.",p):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",p))}}var Qe={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"},St=function(){};{var Dt={},Et=/^on./,Ze=/^on[^A-Z]/,It=new RegExp("^(aria)-["+fe+"]*$"),Ot=new RegExp("^(aria)[A-Z]["+fe+"]*$");St=function(p,s,c,g){if(G.call(Dt,s)&&Dt[s])return!0;var A=s.toLowerCase();if(A==="onfocusin"||A==="onfocusout")return o("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."),Dt[s]=!0,!0;if(g!=null){var N=g.registrationNameDependencies,z=g.possibleRegistrationNames;if(N.hasOwnProperty(s))return!0;var Y=z.hasOwnProperty(A)?z[A]:null;if(Y!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",s,Y),Dt[s]=!0,!0;if(Et.test(s))return o("Unknown event handler property `%s`. It will be ignored.",s),Dt[s]=!0,!0}else if(Et.test(s))return Ze.test(s)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",s),Dt[s]=!0,!0;if(It.test(s)||Ot.test(s))return!0;if(A==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Dt[s]=!0,!0;if(A==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Dt[s]=!0,!0;if(A==="is"&&c!==null&&c!==void 0&&typeof c!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof c),Dt[s]=!0,!0;if(typeof c=="number"&&isNaN(c))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",s),Dt[s]=!0,!0;var he=Ie(s),Le=he!==null&&he.type===re;if(Qe.hasOwnProperty(A)){var rt=Qe[A];if(rt!==s)return o("Invalid DOM property `%s`. Did you mean `%s`?",s,rt),Dt[s]=!0,!0}else if(!Le&&s!==A)return o("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,A),Dt[s]=!0,!0;return typeof c=="boolean"&&ye(s,c,he)?(c?o('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):o('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),Dt[s]=!0,!0):Le?!0:ye(s,c,he)?(Dt[s]=!0,!1):((c==="false"||c==="true")&&he!==null&&he.type===V&&(o("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),Dt[s]=!0),!0)}}var pr=function(p,s,c){{var g=[];for(var A in s){var N=St(p,A,s[A],c);N||g.push(A)}var z=g.map(function(Y){return"`"+Y+"`"}).join(", ");g.length===1?o("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 ",z,p):g.length>1&&o("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 ",z,p)}};function br(p,s,c){$e(p,s)||pr(p,s,c)}var Or=function(){};{var Ee=/^(?:webkit|moz|o)[A-Z]/,ae=/^-ms-/,st=/-(.)/g,mt=/;\s*$/,Ft={},Rt={},Mt=!1,Qt=!1,qt=function(p){return p.replace(st,function(s,c){return c.toUpperCase()})},sr=function(p){Ft.hasOwnProperty(p)&&Ft[p]||(Ft[p]=!0,o("Unsupported style property %s. Did you mean %s?",p,qt(p.replace(ae,"ms-"))))},er=function(p){Ft.hasOwnProperty(p)&&Ft[p]||(Ft[p]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",p,p.charAt(0).toUpperCase()+p.slice(1)))},_r=function(p,s){Rt.hasOwnProperty(s)&&Rt[s]||(Rt[s]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,p,s.replace(mt,"")))},fr=function(p,s){Mt||(Mt=!0,o("`NaN` is an invalid value for the `%s` css style property.",p))},lt=function(p,s){Qt||(Qt=!0,o("`Infinity` is an invalid value for the `%s` css style property.",p))};Or=function(p,s){p.indexOf("-")>-1?sr(p):Ee.test(p)?er(p):mt.test(s)&&_r(p,s),typeof s=="number"&&(isNaN(s)?fr(p,s):isFinite(s)||lt(p,s))}}var it=Or,Fe=/["'&<>]/;function ut(p){$(p);var s=""+p,c=Fe.exec(s);if(!c)return s;var g,A="",N,z=0;for(N=c.index;N<s.length;N++){switch(s.charCodeAt(N)){case 34:g=""";break;case 38:g="&";break;case 39:g="'";break;case 60:g="<";break;case 62:g=">";break;default:continue}z!==N&&(A+=s.substring(z,N)),z=N+1,A+=g}return z!==N?A+s.substring(z,N):A}function nt(p){return typeof p=="boolean"||typeof p=="number"?""+p:ut(p)}var $t=/([A-Z])/g,wr=/^ms-/;function ne(p){return p.replace($t,"-$1").toLowerCase().replace(wr,"-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,xe=!1;function Ye(p){!xe&&He.test(p)&&(xe=!0,o("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(p)))}var xt=Array.isArray;function Tt(p){return xt(p)}var kt=S("<script>"),wt=S("<\/script>"),or=S('<script src="'),Gt=S('<script type="module" src="'),rr=S('" async=""><\/script>');function gr(p){return $(p),(""+p).replace(Kt,jr)}var Kt=/(<\/|<)(s)(cript)/gi,jr=function(p,s,c,g){return""+s+(c==="s"?"\\u0073":"\\u0053")+g};function zr(p,s,c,g,A){var N=p===void 0?"":p,z=s===void 0?kt:S('<script nonce="'+nt(s)+'">'),Y=[];if(c!==void 0&&Y.push(z,w(gr(c)),wt),g!==void 0)for(var he=0;he<g.length;he++)Y.push(or,w(nt(g[he])),rr);if(A!==void 0)for(var Le=0;Le<A.length;Le++)Y.push(Gt,w(nt(A[Le])),rr);return{bootstrapChunks:Y,startInlineScript:z,placeholderPrefix:S(N+"P:"),segmentPrefix:S(N+"S:"),boundaryPrefix:N+"B:",idPrefix:N,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var vn=0,Fr=1,kn=2,hn=3,Jn=4,Qn=5,sn=6,Fn=7;function Rn(p,s){return{insertionMode:p,selectedValue:s}}function vo(p){var s=p==="http://www.w3.org/2000/svg"?kn:p==="http://www.w3.org/1998/Math/MathML"?hn:vn;return Rn(s,null)}function Ao(p,s,c){switch(s){case"select":return Rn(Fr,c.value!=null?c.value:c.defaultValue);case"svg":return Rn(kn,null);case"math":return Rn(hn,null);case"foreignObject":return Rn(Fr,null);case"table":return Rn(Jn,null);case"thead":case"tbody":case"tfoot":return Rn(Qn,null);case"colgroup":return Rn(Fn,null);case"tr":return Rn(sn,null)}return p.insertionMode>=Jn||p.insertionMode===vn?Rn(Fr,null):p}var Eo=null;function On(p){var s=p.nextSuspenseID++;return S(p.boundaryPrefix+s.toString(16))}function In(p,s,c){var g=p.idPrefix,A=":"+g+"R"+s;return c>0&&(A+="H"+c.toString(32)),A+":"}function pn(p){return nt(p)}var eo=S("<!-- -->");function an(p,s,c,g){return s===""?g:(g&&p.push(eo),p.push(w(pn(s))),!0)}function yn(p,s,c,g){c&&g&&p.push(eo)}var L=new Map;function H(p){var s=L.get(p);if(s!==void 0)return s;var c=S(nt(ne(p)));return L.set(p,c),c}var X=S(' style="'),ie=S(":"),Pe=S(";");function Re(p,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 g=!0;for(var A in c)if(G.call(c,A)){var N=c[A];if(!(N==null||typeof N=="boolean"||N==="")){var z=void 0,Y=void 0,he=A.indexOf("--")===0;he?(z=w(nt(A)),q(N,A),Y=w(nt((""+N).trim()))):(it(A,N),z=H(A),typeof N=="number"?N!==0&&!G.call(_e,A)?Y=w(N+"px"):Y=w(""+N):(q(N,A),Y=w(nt((""+N).trim())))),g?(g=!1,p.push(X,z,ie,Y)):p.push(Pe,z,ie,Y)}}g||p.push(Pt)}var Ve=S(" "),ht=S('="'),Pt=S('"'),Ht=S('=""');function Bt(p,s,c,g){switch(c){case"style":{Re(p,s,g);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 A=Ie(c);if(A!==null){switch(typeof g){case"function":case"symbol":return;case"boolean":if(!A.acceptsBooleans)return}var N=A.attributeName,z=w(N);switch(A.type){case V:g&&p.push(Ve,z,Ht);return;case ee:g===!0?p.push(Ve,z,Ht):g===!1||p.push(Ve,z,ht,w(nt(g)),Pt);return;case ue:isNaN(g)||p.push(Ve,z,ht,w(nt(g)),Pt);break;case le:!isNaN(g)&&g>=1&&p.push(Ve,z,ht,w(nt(g)),Pt);break;default:A.sanitizeURL&&(j(g,N),g=""+g,Ye(g)),p.push(Ve,z,ht,w(nt(g)),Pt)}}else if(pe(c)){switch(typeof g){case"function":case"symbol":return;case"boolean":{var Y=c.toLowerCase().slice(0,5);if(Y!=="data-"&&Y!=="aria-")return}}p.push(Ve,w(c),ht,w(nt(g)),Pt)}}}var Sr=S(">"),Jr=S("/>");function xn(p,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 g=s.__html;g!=null&&($(g),p.push(w(""+g)))}}var Sn=!1,uo=!1,$n=!1,To=!1,en=!1,yo=!1,Un=!1;function to(p,s){{var c=p[s];if(c!=null){var g=Tt(c);p.multiple&&!g?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",s):!p.multiple&&g&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",s)}}}function xi(p,s,c){ot("select",s),to(s,"value"),to(s,"defaultValue"),s.value!==void 0&&s.defaultValue!==void 0&&!$n&&(o("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"),$n=!0),p.push(Yt("select"));var g=null,A=null;for(var N in s)if(G.call(s,N)){var z=s[N];if(z==null)continue;switch(N){case"children":g=z;break;case"dangerouslySetInnerHTML":A=z;break;case"defaultValue":case"value":break;default:Bt(p,c,N,z);break}}return p.push(Sr),xn(p,A,g),g}function ii(p){var s="";return r.Children.forEach(p,function(c){c!=null&&(s+=c,!en&&typeof c!="string"&&typeof c!="number"&&(en=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),s}var si=S(' selected=""');function Mn(p,s,c,g){var A=g.selectedValue;p.push(Yt("option"));var N=null,z=null,Y=null,he=null;for(var Le in s)if(G.call(s,Le)){var rt=s[Le];if(rt==null)continue;switch(Le){case"children":N=rt;break;case"selected":Y=rt,Un||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Un=!0);break;case"dangerouslySetInnerHTML":he=rt;break;case"value":z=rt;default:Bt(p,c,Le,rt);break}}if(A!=null){var pt;if(z!==null?(j(z,"value"),pt=""+z):(he!==null&&(yo||(yo=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),pt=ii(N)),Tt(A))for(var Lt=0;Lt<A.length;Lt++){j(A[Lt],"value");var nr=""+A[Lt];if(nr===pt){p.push(si);break}}else j(A,"select.value"),""+A===pt&&p.push(si)}else Y&&p.push(si);return p.push(Sr),xn(p,he,N),N}function Si(p,s,c){ot("input",s),s.checked!==void 0&&s.defaultChecked!==void 0&&!uo&&(o("%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),uo=!0),s.value!==void 0&&s.defaultValue!==void 0&&!Sn&&(o("%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),Sn=!0),p.push(Yt("input"));var g=null,A=null,N=null,z=null;for(var Y in s)if(G.call(s,Y)){var he=s[Y];if(he==null)continue;switch(Y){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":z=he;break;case"defaultValue":A=he;break;case"checked":N=he;break;case"value":g=he;break;default:Bt(p,c,Y,he);break}}return N!==null?Bt(p,c,"checked",N):z!==null&&Bt(p,c,"checked",z),g!==null?Bt(p,c,"value",g):A!==null&&Bt(p,c,"value",A),p.push(Jr),null}function ro(p,s,c){ot("textarea",s),s.value!==void 0&&s.defaultValue!==void 0&&!To&&(o("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"),To=!0),p.push(Yt("textarea"));var g=null,A=null,N=null;for(var z in s)if(G.call(s,z)){var Y=s[z];if(Y==null)continue;switch(z){case"children":N=Y;break;case"value":g=Y;break;case"defaultValue":A=Y;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Bt(p,c,z,Y);break}}if(g===null&&A!==null&&(g=A),p.push(Sr),N!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),g!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Tt(N)){if(N.length>1)throw new Error("<textarea> can only have at most one child.");$(N[0]),g=""+N[0]}$(N),g=""+N}return typeof g=="string"&&g[0]===`
|
126
|
+
`&&p.push(D),g!==null&&(j(g,"value"),p.push(w(pn(""+g)))),null}function no(p,s,c,g){p.push(Yt(c));for(var A in s)if(G.call(s,A)){var N=s[A];if(N==null)continue;switch(A){case"children":case"dangerouslySetInnerHTML":throw new Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Bt(p,g,A,N);break}}return p.push(Jr),null}function Vo(p,s,c){p.push(Yt("menuitem"));for(var g in s)if(G.call(s,g)){var A=s[g];if(A==null)continue;switch(g){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:Bt(p,c,g,A);break}}return p.push(Sr),null}function Pr(p,s,c){p.push(Yt("title"));var g=null;for(var A in s)if(G.call(s,A)){var N=s[A];if(N==null)continue;switch(A){case"children":g=N;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:Bt(p,c,A,N);break}}p.push(Sr);{var z=Array.isArray(g)&&g.length<2?g[0]||null:g;Array.isArray(g)&&g.length>1?o("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"):z!=null&&z.$$typeof!=null?o("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"):z!=null&&typeof z!="string"&&typeof z!="number"&&o("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 g}function Ar(p,s,c,g){p.push(Yt(c));var A=null,N=null;for(var z in s)if(G.call(s,z)){var Y=s[z];if(Y==null)continue;switch(z){case"children":A=Y;break;case"dangerouslySetInnerHTML":N=Y;break;default:Bt(p,g,z,Y);break}}return p.push(Sr),xn(p,N,A),typeof A=="string"?(p.push(w(pn(A))),null):A}function Mr(p,s,c,g){p.push(Yt(c));var A=null,N=null;for(var z in s)if(G.call(s,z)){var Y=s[z];if(Y==null)continue;switch(z){case"children":A=Y;break;case"dangerouslySetInnerHTML":N=Y;break;case"style":Re(p,g,Y);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:pe(z)&&typeof Y!="function"&&typeof Y!="symbol"&&p.push(Ve,w(z),ht,w(nt(Y)),Pt);break}}return p.push(Sr),xn(p,N,A),A}var D=S(`
|
127
127
|
`);function J(p,s,c,g){p.push(Yt(c));var A=null,N=null;for(var z in s)if(G.call(s,z)){var Y=s[z];if(Y==null)continue;switch(z){case"children":A=Y;break;case"dangerouslySetInnerHTML":N=Y;break;default:Bt(p,g,z,Y);break}}if(p.push(Sr),N!=null){if(A!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof N!="object"||!("__html"in N))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 he=N.__html;he!=null&&(typeof he=="string"&&he.length>0&&he[0]===`
|
128
128
|
`?p.push(D,w(he)):($(he),p.push(w(""+he))))}return typeof A=="string"&&A[0]===`
|
129
|
-
`&&p.push(D),A}var me=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ge=new Map;function Yt(p){var s=Ge.get(p);if(s===void 0){if(!me.test(p))throw new Error("Invalid tag: "+p);s=S("<"+p),Ge.set(p,s)}return s}var Ut=S("<!DOCTYPE html>");function mr(p,s,c,g,A){switch(
|
130
|
-
`+wl+p}}var Li=!1,
|
129
|
+
`&&p.push(D),A}var me=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ge=new Map;function Yt(p){var s=Ge.get(p);if(s===void 0){if(!me.test(p))throw new Error("Invalid tag: "+p);s=S("<"+p),Ge.set(p,s)}return s}var Ut=S("<!DOCTYPE html>");function mr(p,s,c,g,A){switch(_t(s,c),qe(s,c),br(s,c,null),!c.suppressContentEditableWarning&&c.contentEditable&&c.children!=null&&o("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."),A.insertionMode!==kn&&A.insertionMode!==hn&&s.indexOf("-")===-1&&typeof c.is!="string"&&s.toLowerCase()!==s&&o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",s),s){case"select":return xi(p,c,g);case"option":return Mn(p,c,g,A);case"textarea":return ro(p,c,g);case"input":return Si(p,c,g);case"menuitem":return Vo(p,c,g);case"title":return Pr(p,c,g);case"listing":case"pre":return J(p,c,s,g);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 no(p,c,s,g);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 Ar(p,c,s,g);case"html":return A.insertionMode===vn&&p.push(Ut),Ar(p,c,s,g);default:return s.indexOf("-")===-1&&typeof c.is!="string"?Ar(p,c,s,g):Mr(p,c,s,g)}}var Cr=S("</"),dr=S(">");function Er(p,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:p.push(Cr,w(s),dr)}}function tn(p,s){for(var c=s.bootstrapChunks,g=0;g<c.length-1;g++)_(p,c[g]);return g<c.length?v(p,c[g]):!0}var Dn=S('<template id="'),Yr=S('"></template>');function $r(p,s,c){_(p,Dn),_(p,s.placeholderPrefix);var g=w(c.toString(16));return _(p,g),v(p,Yr)}var rn=S("<!--$-->"),fo=S('<!--$?--><template id="'),bo=S('"></template>'),Wn=S("<!--$!-->"),Ci=S("<!--/$-->"),Go=S("<template"),ln=S('"'),ms=S(' data-dgst="'),Vn=S(' data-msg="'),pl=S(' data-stck="'),Ia=S("></template>");function Zo(p,s){return v(p,rn)}function wi(p,s,c){if(_(p,fo),c===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return _(p,c),v(p,bo)}function Gn(p,s,c,g,A){var N;return N=v(p,Wn),_(p,Go),c&&(_(p,ms),_(p,w(nt(c))),_(p,ln)),g&&(_(p,Vn),_(p,w(nt(g))),_(p,ln)),A&&(_(p,pl),_(p,w(nt(A))),_(p,ln)),N=v(p,Ia),N}function Qr(p,s){return v(p,Ci)}function ko(p,s){return v(p,Ci)}function La(p,s){return v(p,Ci)}var gl=S('<div hidden id="'),Wi=S('">'),ml=S("</div>"),vl=S('<svg aria-hidden="true" style="display:none" id="'),Ys=S('">'),vs=S("</svg>"),ys=S('<math aria-hidden="true" style="display:none" id="'),Ai=S('">'),yl=S("</math>"),Xs=S('<table hidden id="'),Oa=S('">'),O=S("</table>"),B=S('<table hidden><tbody id="'),Z=S('">'),se=S("</tbody></table>"),je=S('<table hidden><tr id="'),Me=S('">'),et=S("</tr></table>"),Ct=S('<table hidden><colgroup id="'),zt=S('">'),hr=S("</colgroup></table>");function ar(p,s,c,g){switch(c.insertionMode){case vn:case Fr:return _(p,gl),_(p,s.segmentPrefix),_(p,w(g.toString(16))),v(p,Wi);case kn:return _(p,vl),_(p,s.segmentPrefix),_(p,w(g.toString(16))),v(p,Ys);case hn:return _(p,ys),_(p,s.segmentPrefix),_(p,w(g.toString(16))),v(p,Ai);case Jn:return _(p,Xs),_(p,s.segmentPrefix),_(p,w(g.toString(16))),v(p,Oa);case Qn:return _(p,B),_(p,s.segmentPrefix),_(p,w(g.toString(16))),v(p,Z);case sn:return _(p,je),_(p,s.segmentPrefix),_(p,w(g.toString(16))),v(p,Me);case Fn:return _(p,Ct),_(p,s.segmentPrefix),_(p,w(g.toString(16))),v(p,zt);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Xr(p,s){switch(s.insertionMode){case vn:case Fr:return v(p,ml);case kn:return v(p,vs);case hn:return v(p,yl);case Jn:return v(p,O);case Qn:return v(p,se);case sn:return v(p,et);case Fn:return v(p,hr);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var oo="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)}",Ro='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()}}',Io='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())}',Js=S(oo+';$RS("'),bl=S('$RS("'),bs=S('","'),Qs=S('")<\/script>');function ff(p,s,c){_(p,s.startInlineScript),s.sentCompleteSegmentFunction?_(p,bl):(s.sentCompleteSegmentFunction=!0,_(p,Js)),_(p,s.segmentPrefix);var g=w(c.toString(16));return _(p,g),_(p,bs),_(p,s.placeholderPrefix),_(p,g),v(p,Qs)}var fc=S(Ro+';$RC("'),dc=S('$RC("'),fu=S('","'),Ei=S('")<\/script>');function Ma(p,s,c,g){if(_(p,s.startInlineScript),s.sentCompleteBoundaryFunction?_(p,dc):(s.sentCompleteBoundaryFunction=!0,_(p,fc)),c===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var A=w(g.toString(16));return _(p,c),_(p,fu),_(p,s.segmentPrefix),_(p,A),v(p,Ei)}var df=S(Io+';$RX("'),hf=S('$RX("'),pf=S('"'),ea=S(")<\/script>"),gn=S(",");function du(p,s,c,g,A,N){if(_(p,s.startInlineScript),s.sentClientRenderFunction?_(p,hf):(s.sentClientRenderFunction=!0,_(p,df)),c===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return _(p,c),_(p,pf),(g||A||N)&&(_(p,gn),_(p,w(_l(g||"")))),(A||N)&&(_(p,gn),_(p,w(_l(A||"")))),N&&(_(p,gn),_(p,w(_l(N)))),v(p,ea)}var hu=/[<\u2028\u2029]/g;function _l(p){var s=JSON.stringify(p);return s.replace(hu,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 Lo=Object.assign,pu=Symbol.for("react.element"),xl=Symbol.for("react.portal"),Ti=Symbol.for("react.fragment"),Ae=Symbol.for("react.strict_mode"),Xe=Symbol.for("react.profiler"),ze=Symbol.for("react.provider"),Nt=Symbol.for("react.context"),ir=Symbol.for("react.forward_ref"),Br=Symbol.for("react.suspense"),Cn=Symbol.for("react.suspense_list"),Kr=Symbol.for("react.memo"),ta=Symbol.for("react.lazy"),gu=Symbol.for("react.scope"),zo=Symbol.for("react.debug_trace_mode"),Sl=Symbol.for("react.legacy_hidden"),gf=Symbol.for("react.default_value"),Vi=Symbol.iterator,nn="@@iterator";function Gi(p){if(p===null||typeof p!="object")return null;var s=Vi&&p[Vi]||p[nn];return typeof s=="function"?s:null}function Gr(p,s,c){var g=p.displayName;if(g)return g;var A=s.displayName||s.name||"";return A!==""?c+"("+A+")":c}function hc(p){return p.displayName||"Context"}function cn(p){if(p==null)return null;if(typeof p.tag=="number"&&o("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof p=="function")return p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case Ti:return"Fragment";case xl:return"Portal";case Xe:return"Profiler";case Ae:return"StrictMode";case Br:return"Suspense";case Cn:return"SuspenseList"}if(typeof p=="object")switch(p.$$typeof){case Nt:var s=p;return hc(s)+".Consumer";case ze:var c=p;return hc(c._context)+".Provider";case ir:return Gr(p,p.render,"ForwardRef");case Kr:var g=p.displayName||null;return g!==null?g:cn(p.type)||"Memo";case ta:{var A=p,N=A._payload,z=A._init;try{return cn(z(N))}catch{return null}}}return null}var ki=0,pc,gc,mc,ra,Ri,Da,Pa;function _s(){}_s.__reactDisabledLog=!0;function na(){{if(ki===0){pc=console.log,gc=console.info,mc=console.warn,ra=console.error,Ri=console.group,Da=console.groupCollapsed,Pa=console.groupEnd;var p={configurable:!0,enumerable:!0,value:_s,writable:!0};Object.defineProperties(console,{info:p,log:p,warn:p,error:p,group:p,groupCollapsed:p,groupEnd:p})}ki++}}function Cl(){{if(ki--,ki===0){var p={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Lo({},p,{value:pc}),info:Lo({},p,{value:gc}),warn:Lo({},p,{value:mc}),error:Lo({},p,{value:ra}),group:Lo({},p,{value:Ri}),groupCollapsed:Lo({},p,{value:Da}),groupEnd:Lo({},p,{value:Pa})})}ki<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ii=t.ReactCurrentDispatcher,wl;function Ko(p,s,c){{if(wl===void 0)try{throw Error()}catch(A){var g=A.stack.trim().match(/\n( *(at )?)/);wl=g&&g[1]||""}return`
|
130
|
+
`+wl+p}}var Li=!1,Zi;{var mf=typeof WeakMap=="function"?WeakMap:Map;Zi=new mf}function Na(p,s){if(!p||Li)return"";{var c=Zi.get(p);if(c!==void 0)return c}var g;Li=!0;var A=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var N;N=Ii.current,Ii.current=null,na();try{if(s){var z=function(){throw Error()};if(Object.defineProperty(z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(z,[])}catch(Dr){g=Dr}Reflect.construct(p,[],z)}else{try{z.call()}catch(Dr){g=Dr}p.call(z.prototype)}}else{try{throw Error()}catch(Dr){g=Dr}p()}}catch(Dr){if(Dr&&g&&typeof Dr.stack=="string"){for(var Y=Dr.stack.split(`
|
131
131
|
`),he=g.stack.split(`
|
132
132
|
`),Le=Y.length-1,rt=he.length-1;Le>=1&&rt>=0&&Y[Le]!==he[rt];)rt--;for(;Le>=1&&rt>=0;Le--,rt--)if(Y[Le]!==he[rt]){if(Le!==1||rt!==1)do if(Le--,rt--,rt<0||Y[Le]!==he[rt]){var pt=`
|
133
|
-
`+Y[Le].replace(" at new "," at ");return p.displayName&&pt.includes("<anonymous>")&&(pt=pt.replace("<anonymous>",p.displayName)),typeof p=="function"&&
|
133
|
+
`+Y[Le].replace(" at new "," at ");return p.displayName&&pt.includes("<anonymous>")&&(pt=pt.replace("<anonymous>",p.displayName)),typeof p=="function"&&Zi.set(p,pt),pt}while(Le>=1&&rt>=0);break}}}finally{Li=!1,Ii.current=N,Cl(),Error.prepareStackTrace=A}var Lt=p?p.displayName||p.name:"",nr=Lt?Ko(Lt):"";return typeof p=="function"&&Zi.set(p,nr),nr}function mu(p,s,c){return Na(p,!0)}function oa(p,s,c){return Na(p,!1)}function xs(p){var s=p.prototype;return!!(s&&s.isReactComponent)}function ia(p,s,c){if(p==null)return"";if(typeof p=="function")return Na(p,xs(p));if(typeof p=="string")return Ko(p);switch(p){case Br:return Ko("Suspense");case Cn:return Ko("SuspenseList")}if(typeof p=="object")switch(p.$$typeof){case ir:return oa(p.render);case Kr:return ia(p.type,s,c);case ta:{var g=p,A=g._payload,N=g._init;try{return ia(N(A),s,c)}catch{}}}return""}var Al={},sa=t.ReactDebugCurrentFrame;function ja(p){if(p){var s=p._owner,c=ia(p.type,p._source,s?s.type:null);sa.setExtraStackFrame(c)}else sa.setExtraStackFrame(null)}function vu(p,s,c,g,A){{var N=Function.call.bind(G);for(var z in p)if(N(p,z)){var Y=void 0;try{if(typeof p[z]!="function"){var he=Error((g||"React class")+": "+c+" type `"+z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof p[z]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw he.name="Invariant Violation",he}Y=p[z](s,z,g,c,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Le){Y=Le}Y&&!(Y instanceof Error)&&(ja(A),o("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",g||"React class",c,z,typeof Y),ja(null)),Y instanceof Error&&!(Y.message in Al)&&(Al[Y.message]=!0,ja(A),o("Failed %s type: %s",c,Y.message),ja(null))}}}var un;un={};var Pn={};Object.freeze(Pn);function Ki(p,s){{var c=p.contextTypes;if(!c)return Pn;var g={};for(var A in c)g[A]=s[A];{var N=cn(p)||"Unknown";vu(c,g,"context",N)}return g}}function vc(p,s,c,g){{if(typeof p.getChildContext!="function"){{var A=cn(s)||"Unknown";un[A]||(un[A]=!0,o("%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.",A,A))}return c}var N=p.getChildContext();for(var z in N)if(!(z in g))throw new Error((cn(s)||"Unknown")+'.getChildContext(): key "'+z+'" is not defined in childContextTypes.');{var Y=cn(s)||"Unknown";vu(g,N,"child context",Y)}return Lo({},c,N)}}var Yi;Yi={};var El=null,ai=null;function Xi(p){p.context._currentValue=p.parentValue}function aa(p){p.context._currentValue=p.value}function li(p,s){if(p!==s){Xi(p);var c=p.parent,g=s.parent;if(c===null){if(g!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(g===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");li(c,g)}aa(s)}}function Oi(p){Xi(p);var s=p.parent;s!==null&&Oi(s)}function la(p){var s=p.parent;s!==null&&la(s),aa(p)}function Fa(p,s){Xi(p);var c=p.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?li(c,s):Fa(c,s)}function Ss(p,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.");p.depth===c.depth?li(p,c):Ss(p,c),aa(s)}function Ji(p){var s=ai,c=p;s!==c&&(s===null?la(c):c===null?Oi(s):s.depth===c.depth?li(s,c):s.depth>c.depth?Fa(s,c):Ss(s,c),ai=c)}function yc(p,s){var c;c=p._currentValue,p._currentValue=s,p._currentRenderer!==void 0&&p._currentRenderer!==null&&p._currentRenderer!==Yi&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),p._currentRenderer=Yi;var g=ai,A={parent:g,depth:g===null?0:g.depth+1,context:p,parentValue:c,value:s};return ai=A,A}function vf(p){var s=ai;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!==p&&o("The parent context is not the expected context. This is probably a bug in React.");{var c=s.parentValue;c===gf?s.context._currentValue=s.context._defaultValue:s.context._currentValue=c,p._currentRenderer!==void 0&&p._currentRenderer!==null&&p._currentRenderer!==Yi&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),p._currentRenderer=Yi}return ai=s.parent}function yu(){return ai}function ca(p){var s=p._currentValue;return s}function Qi(p){return p._reactInternals}function Cs(p,s){p._reactInternals=s}var Ba={},K={},Mi,Di,io,yr,Tl,Ha,kl,ci,bc;{Mi=new Set,Di=new Set,io=new Set,kl=new Set,yr=new Set,ci=new Set,bc=new Set;var bu=new Set;Ha=function(p,s){if(!(p===null||typeof p=="function")){var c=s+"_"+p;bu.has(c)||(bu.add(c),o("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",s,p))}},Tl=function(p,s){if(s===void 0){var c=cn(p)||"Component";yr.has(c)||(yr.add(c),o("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",c))}}}function _u(p,s){{var c=p.constructor,g=c&&cn(c)||"ReactClass",A=g+"."+s;if(Ba[A])return;o(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
|
134
134
|
|
135
|
-
Please check the code for the %s component.`,s,s,g),Ba[A]=!0}}var xu={isMounted:function(p){return!1},enqueueSetState:function(p,s,c){var g=
|
135
|
+
Please check the code for the %s component.`,s,s,g),Ba[A]=!0}}var xu={isMounted:function(p){return!1},enqueueSetState:function(p,s,c){var g=Qi(p);g.queue===null?_u(p,"setState"):(g.queue.push(s),c!=null&&Ha(c,"setState"))},enqueueReplaceState:function(p,s,c){var g=Qi(p);g.replace=!0,g.queue=[s],c!=null&&Ha(c,"setState")},enqueueForceUpdate:function(p,s){var c=Qi(p);c.queue===null?_u(p,"forceUpdate"):s!=null&&Ha(s,"setState")}};function yf(p,s,c,g,A){var N=c(A,g);Tl(s,N);var z=N==null?g:Lo({},g,N);return z}function ui(p,s,c){var g=Pn,A=p.contextType;if("contextType"in p){var N=A===null||A!==void 0&&A.$$typeof===Nt&&A._context===void 0;if(!N&&!bc.has(p)){bc.add(p);var z="";A===void 0?z=" 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 A!="object"?z=" However, it is set to a "+typeof A+".":A.$$typeof===ze?z=" Did you accidentally pass the Context.Provider instead?":A._context!==void 0?z=" Did you accidentally pass the Context.Consumer instead?":z=" However, it is set to an object with keys {"+Object.keys(A).join(", ")+"}.",o("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",cn(p)||"Component",z)}}typeof A=="object"&&A!==null?g=ca(A):g=c;var Y=new p(s,g);{if(typeof p.getDerivedStateFromProps=="function"&&(Y.state===null||Y.state===void 0)){var he=cn(p)||"Component";Mi.has(he)||(Mi.add(he),o("`%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.",he,Y.state===null?"null":"undefined",he))}if(typeof p.getDerivedStateFromProps=="function"||typeof Y.getSnapshotBeforeUpdate=="function"){var Le=null,rt=null,pt=null;if(typeof Y.componentWillMount=="function"&&Y.componentWillMount.__suppressDeprecationWarning!==!0?Le="componentWillMount":typeof Y.UNSAFE_componentWillMount=="function"&&(Le="UNSAFE_componentWillMount"),typeof Y.componentWillReceiveProps=="function"&&Y.componentWillReceiveProps.__suppressDeprecationWarning!==!0?rt="componentWillReceiveProps":typeof Y.UNSAFE_componentWillReceiveProps=="function"&&(rt="UNSAFE_componentWillReceiveProps"),typeof Y.componentWillUpdate=="function"&&Y.componentWillUpdate.__suppressDeprecationWarning!==!0?pt="componentWillUpdate":typeof Y.UNSAFE_componentWillUpdate=="function"&&(pt="UNSAFE_componentWillUpdate"),Le!==null||rt!==null||pt!==null){var Lt=cn(p)||"Component",nr=typeof p.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";io.has(Lt)||(io.add(Lt),o(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
136
136
|
|
137
137
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
138
138
|
|
@@ -144,35 +144,35 @@ https://reactjs.org/link/unsafe-component-lifecycles`,Lt,nr,Le!==null?`
|
|
144
144
|
|
145
145
|
* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
|
146
146
|
|
147
|
-
Please update the following components: %s`,g),K[g]=!0)}s.componentWillMount()}typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),c!==s.state&&(o("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",cn(p)||"Component"),xu.enqueueReplaceState(s,s.state,null))}function _c(p,s,c,g){if(p.queue!==null&&p.queue.length>0){var A=p.queue,N=p.replace;if(p.queue=null,p.replace=!1,N&&A.length===1)s.state=A[0];else{for(var z=N?A[0]:s.state,Y=!0,he=N?1:0;he<A.length;he++){var Le=A[he],rt=typeof Le=="function"?Le.call(s,z,c,g):Le;rt!=null&&(Y?(Y=!1,z=Lo({},z,rt)):Lo(z,rt))}s.state=z}}else p.queue=null}function qa(p,s,c,g){bf(p,s,c);var A=p.state!==void 0?p.state:null;p.updater=xu,p.props=c,p.state=A;var N={queue:[],replace:!1};Cs(p,N);var z=s.contextType;if(typeof z=="object"&&z!==null?p.context=ca(z):p.context=g,p.state===c){var Y=cn(s)||"Component";kl.has(Y)||(kl.add(Y),o("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",Y))}var he=s.getDerivedStateFromProps;typeof he=="function"&&(p.state=yf(p,s,he,A,c)),typeof s.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(_f(s,p),_c(N,p,c,g))}var xf={id:1,overflow:""};function Pi(p){var s=p.overflow,c=p.id,g=c&~Sf(c);return g.toString(32)+s}function xc(p,s,c){var g=p.id,A=p.overflow,N=Rl(g)-1,z=g&~(1<<N),Y=c+1,he=Rl(s)+N;if(he>30){var Le=N-N%5,rt=(1<<Le)-1,pt=(z&rt).toString(32),Lt=z>>Le,nr=N-Le,Dr=Rl(s)+nr,Kn=Y<<nr,
|
147
|
+
Please update the following components: %s`,g),K[g]=!0)}s.componentWillMount()}typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),c!==s.state&&(o("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",cn(p)||"Component"),xu.enqueueReplaceState(s,s.state,null))}function _c(p,s,c,g){if(p.queue!==null&&p.queue.length>0){var A=p.queue,N=p.replace;if(p.queue=null,p.replace=!1,N&&A.length===1)s.state=A[0];else{for(var z=N?A[0]:s.state,Y=!0,he=N?1:0;he<A.length;he++){var Le=A[he],rt=typeof Le=="function"?Le.call(s,z,c,g):Le;rt!=null&&(Y?(Y=!1,z=Lo({},z,rt)):Lo(z,rt))}s.state=z}}else p.queue=null}function qa(p,s,c,g){bf(p,s,c);var A=p.state!==void 0?p.state:null;p.updater=xu,p.props=c,p.state=A;var N={queue:[],replace:!1};Cs(p,N);var z=s.contextType;if(typeof z=="object"&&z!==null?p.context=ca(z):p.context=g,p.state===c){var Y=cn(s)||"Component";kl.has(Y)||(kl.add(Y),o("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",Y))}var he=s.getDerivedStateFromProps;typeof he=="function"&&(p.state=yf(p,s,he,A,c)),typeof s.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(_f(s,p),_c(N,p,c,g))}var xf={id:1,overflow:""};function Pi(p){var s=p.overflow,c=p.id,g=c&~Sf(c);return g.toString(32)+s}function xc(p,s,c){var g=p.id,A=p.overflow,N=Rl(g)-1,z=g&~(1<<N),Y=c+1,he=Rl(s)+N;if(he>30){var Le=N-N%5,rt=(1<<Le)-1,pt=(z&rt).toString(32),Lt=z>>Le,nr=N-Le,Dr=Rl(s)+nr,Kn=Y<<nr,ss=Kn|Lt,gi=pt+A;return{id:1<<Dr|ss,overflow:gi}}else{var mi=Y<<N,as=mi|z,Rf=A;return{id:1<<he|as,overflow:Rf}}}function Rl(p){return 32-Cf(p)}function Sf(p){return 1<<Rl(p)-1}var Cf=Math.clz32?Math.clz32:Sc,wf=Math.log,ho=Math.LN2;function Sc(p){var s=p>>>0;return s===0?32:31-(wf(s)/ho|0)|0}function Il(p,s){return p===s&&(p!==0||1/p===1/s)||p!==p&&s!==s}var Rr=typeof Object.is=="function"?Object.is:Il,Oo=null,ua=null,ws=null,Hr=null,es=!1,za=!1,_o=0,Mo=null,fi=0,Cc=25,po=!1,Yo;function As(){if(Oo===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
148
148
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
149
149
|
2. You might be breaking the Rules of Hooks
|
150
150
|
3. You might have more than one copy of React in the same app
|
151
151
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return po&&o("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Oo}function Su(p,s){if(s===null)return o("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Yo),!1;p.length!==s.length&&o(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
152
152
|
|
153
153
|
Previous: %s
|
154
|
-
Incoming: %s`,Yo,"["+p.join(", ")+"]","["+s.join(", ")+"]");for(var c=0;c<s.length&&c<p.length;c++)if(!Rr(p[c],s[c]))return!1;return!0}function wc(){if(fi>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Do(){return Hr===null?ws===null?(
|
154
|
+
Incoming: %s`,Yo,"["+p.join(", ")+"]","["+s.join(", ")+"]");for(var c=0;c<s.length&&c<p.length;c++)if(!Rr(p[c],s[c]))return!1;return!0}function wc(){if(fi>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Do(){return Hr===null?ws===null?(es=!1,ws=Hr=wc()):(es=!0,Hr=ws):Hr.next===null?(es=!1,Hr=Hr.next=wc()):(es=!0,Hr=Hr.next),Hr}function Ac(p,s){Oo=s,ua=p,po=!1,_o=0}function Es(p,s,c,g){for(;za;)za=!1,_o=0,fi+=1,Hr=null,c=p(s,g);return Ec(),c}function go(){var p=_o!==0;return p}function Ec(){po=!1,Oo=null,ua=null,za=!1,ws=null,fi=0,Mo=null,Hr=null}function Tc(p){return po&&o("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()."),ca(p)}function kc(p){return Yo="useContext",As(),ca(p)}function Ts(p,s){return typeof s=="function"?s(p):s}function ts(p){return Yo="useState",Rc(Ts,p)}function Rc(p,s,c){if(p!==Ts&&(Yo="useReducer"),Oo=As(),Hr=Do(),es){var g=Hr.queue,A=g.dispatch;if(Mo!==null){var N=Mo.get(g);if(N!==void 0){Mo.delete(g);var z=Hr.memoizedState,Y=N;do{var he=Y.action;po=!0,z=p(z,he),po=!1,Y=Y.next}while(Y!==null);return Hr.memoizedState=z,[z,A]}}return[Hr.memoizedState,A]}else{po=!0;var Le;p===Ts?Le=typeof s=="function"?s():s:Le=c!==void 0?c(s):s,po=!1,Hr.memoizedState=Le;var rt=Hr.queue={last:null,dispatch:null},pt=rt.dispatch=wu.bind(null,Oo,rt);return[Hr.memoizedState,pt]}}function Cu(p,s){Oo=As(),Hr=Do();var c=s===void 0?null:s;if(Hr!==null){var g=Hr.memoizedState;if(g!==null&&c!==null){var A=g[1];if(Su(c,A))return g[0]}}po=!0;var N=p();return po=!1,Hr.memoizedState=[N,c],N}function Ll(p){Oo=As(),Hr=Do();var s=Hr.memoizedState;if(s===null){var c={current:p};return Object.seal(c),Hr.memoizedState=c,c}else return s}function Af(p,s){Yo="useLayoutEffect",o("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 wu(p,s,c){if(fi>=Cc)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(p===Oo){za=!0;var g={action:c,next:null};Mo===null&&(Mo=new Map);var A=Mo.get(s);if(A===void 0)Mo.set(s,g);else{for(var N=A;N.next!==null;)N=N.next;N.next=g}}}function Zn(p,s){return Cu(function(){return p},s)}function Ic(p,s,c){return As(),s(p._source)}function Au(p,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 Po(p){return As(),p}function Ol(){throw new Error("startTransition cannot be called during server rendering.")}function fa(){return As(),[!1,Ol]}function rs(){var p=ua,s=Pi(p.treeContext),c=ks;if(c===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var g=_o++;return In(c,s,g)}function $a(){}var Bn={readContext:Tc,useContext:kc,useMemo:Cu,useReducer:Rc,useRef:Ll,useState:ts,useInsertionEffect:$a,useLayoutEffect:Af,useCallback:Zn,useImperativeHandle:$a,useEffect:$a,useDebugValue:$a,useDeferredValue:Po,useTransition:fa,useId:rs,useMutableSource:Ic,useSyncExternalStore:Au},ks=null;function Ml(p){ks=p}function da(p){try{var s="",c=p;do{switch(c.tag){case 0:s+=Ko(c.type,null,null);break;case 1:s+=oa(c.type,null,null);break;case 2:s+=mu(c.type,null,null);break}c=c.parent}while(c);return s}catch(g){return`
|
155
155
|
Error generating stack: `+g.message+`
|
156
|
-
`+g.stack}}var Dl=t.ReactCurrentDispatcher,ha=t.ReactDebugCurrentFrame,Pl=0,di=1,Nl=2,Rs=3,Eu=4,Ua=0,pa=1,ga=2,Lc=12800;function Tu(p){return console.error(p),null}function Is(){}function jl(p,s,c,g,A,N,z,Y,he){var Le=[],rt=new Set,pt={destination:null,responseState:s,progressiveChunkSize:g===void 0?Lc:g,status:Ua,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:rt,pingedTasks:Le,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:A===void 0?Tu:A,onAllReady:N===void 0?Is:N,onShellReady:z===void 0?Is:z,onShellError:Y===void 0?Is:Y,onFatalError:he===void 0?Is:he},Lt=Wa(pt,0,null,c,!1,!1);Lt.parentFlushed=!0;var nr=ji(pt,p,null,Lt,rt,Pn,El,xf);return Le.push(nr),pt}function Ni(p,s){var c=p.pingedTasks;c.push(s),c.length===1&&u(function(){return zc(p)})}function Fl(p,s){return{id:Eo,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s,errorDigest:null}}function ji(p,s,c,g,A,N,z,Y){p.allPendingTasks++,c===null?p.pendingRootTasks++:c.pendingTasks++;var he={node:s,ping:function(){return Ni(p,he)},blockedBoundary:c,blockedSegment:g,abortSet:A,legacyContext:N,context:z,treeContext:Y};return he.componentStack=null,A.add(he),he}function Wa(p,s,c,g,A,N){return{status:Pl,id:-1,index:s,parentFlushed:!1,chunks:[],children:[],formatContext:g,boundary:c,lastPushedText:A,textEmbedded:N}}var Xo=null;function Jo(){return Xo===null||Xo.componentStack===null?"":da(Xo.componentStack)}function hi(p,s){p.componentStack={tag:0,parent:p.componentStack,type:s}}function Va(p,s){p.componentStack={tag:1,parent:p.componentStack,type:s}}function rs(p,s){p.componentStack={tag:2,parent:p.componentStack,type:s}}function Qo(p){p.componentStack===null?o("Unexpectedly popped too many stack frames. This is a bug in React."):p.componentStack=p.componentStack.parent}var ma=null;function Bl(p,s){{var c;typeof s=="string"?c=s:s&&typeof s.message=="string"?c=s.message:c=String(s);var g=ma||Jo();ma=null,p.errorMessage=c,p.errorComponentStack=g}}function Ga(p,s){var c=p.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 va(p,s){var c=p.onShellError;c(s);var g=p.onFatalError;g(s),p.destination!==null?(p.status=ga,E(p.destination,s)):(p.status=pa,p.fatalError=s)}function ku(p,s,c){hi(s,"Suspense");var g=s.blockedBoundary,A=s.blockedSegment,N=c.fallback,z=c.children,Y=new Set,he=Fl(p,Y),Le=A.chunks.length,rt=Wa(p,Le,he,A.formatContext,!1,!1);A.children.push(rt),A.lastPushedText=!1;var pt=Wa(p,0,null,A.formatContext,!1,!1);pt.parentFlushed=!0,s.blockedBoundary=he,s.blockedSegment=pt;try{if(ns(p,s,z),yn(pt.chunks,p.responseState,pt.lastPushedText,pt.textEmbedded),pt.status=di,os(he,pt),he.pendingTasks===0){Qo(s);return}}catch(nr){pt.status=Eu,he.forceClientRender=!0,he.errorDigest=Ga(p,nr),Bl(he,nr)}finally{s.blockedBoundary=g,s.blockedSegment=A}var Lt=ji(p,N,g,rt,Y,s.legacyContext,s.context,s.treeContext);Lt.componentStack=s.componentStack,p.pingedTasks.push(Lt),Qo(s)}function Oc(p,s,c,g){hi(s,c);var A=s.blockedSegment,N=mr(A.chunks,c,g,p.responseState,A.formatContext);A.lastPushedText=!1;var z=A.formatContext;A.formatContext=Ao(z,c,g),ns(p,s,N),A.formatContext=z,Er(A.chunks,c),A.lastPushedText=!1,Qo(s)}function Mc(p){return p.prototype&&p.prototype.isReactComponent}function Ls(p,s,c,g,A){var N={};Ac(s,N);var z=c(g,A);return Es(c,g,z,A)}function Dc(p,s,c,g,A){var N=c.render();c.props!==A&&(Nc||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",cn(g)||"a component"),Nc=!0);{var z=g.childContextTypes;if(z!=null){var Y=s.legacyContext,he=vc(c,g,Y,z);s.legacyContext=he,so(p,s,N),s.legacyContext=Y;return}}so(p,s,N)}function Hl(p,s,c,g){rs(s,c);var A=Zi(c,s.legacyContext),N=ui(c,g,A);qa(N,c,g,A),Dc(p,s,N,c,g),Qo(s)}var vr={},Za={},Pc={},Os={},Nc=!1,Ru=!1,jc=!1,No=!1;function Ef(p,s,c,g){var A;if(A=Zi(c,s.legacyContext),Va(s,c),c.prototype&&typeof c.prototype.render=="function"){var N=cn(c)||"Unknown";vr[N]||(o("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.",N,N),vr[N]=!0)}var z=Ls(p,s,c,g,A),Y=go();if(typeof z=="object"&&z!==null&&typeof z.render=="function"&&z.$$typeof===void 0){var he=cn(c)||"Unknown";Za[he]||(o("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.",he,he,he),Za[he]=!0)}if(typeof z=="object"&&z!==null&&typeof z.render=="function"&&z.$$typeof===void 0){{var Le=cn(c)||"Unknown";Za[Le]||(o("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.",Le,Le,Le),Za[Le]=!0)}qa(z,c,g,A),Dc(p,s,z,c,g)}else if(ql(c),Y){var rt=s.treeContext,pt=1,Lt=0;s.treeContext=xc(rt,pt,Lt);try{so(p,s,z)}finally{s.treeContext=rt}}else so(p,s,z);Qo(s)}function ql(p){{if(p&&p.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",p.displayName||p.name||"Component"),typeof p.getDerivedStateFromProps=="function"){var s=cn(p)||"Unknown";Os[s]||(o("%s: Function components do not support getDerivedStateFromProps.",s),Os[s]=!0)}if(typeof p.contextType=="object"&&p.contextType!==null){var c=cn(p)||"Unknown";Pc[c]||(o("%s: Function components do not support contextType.",c),Pc[c]=!0)}}}function zl(p,s){if(p&&p.defaultProps){var c=Lo({},s),g=p.defaultProps;for(var A in g)c[A]===void 0&&(c[A]=g[A]);return c}return s}function Iu(p,s,c,g,A){Va(s,c.render);var N=Ls(p,s,c.render,g,A),z=go();if(z){var Y=s.treeContext,he=1,Le=0;s.treeContext=xc(Y,he,Le);try{so(p,s,N)}finally{s.treeContext=Y}}else so(p,s,N);Qo(s)}function $l(p,s,c,g,A){var N=c.type,z=zl(N,g);Ka(p,s,N,z,A)}function jo(p,s,c,g){c._context===void 0?c!==c.Consumer&&(No||(No=!0,o("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 A=g.children;typeof A!="function"&&o("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 N=ca(c),z=A(N);so(p,s,z)}function Ln(p,s,c,g){var A=c._context,N=g.value,z=g.children,Y;Y=s.context,s.context=yc(A,N),so(p,s,z),s.context=vf(A),Y!==s.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Fc(p,s,c,g,A){hi(s,"Lazy");var N=c._payload,z=c._init,Y=z(N),he=zl(Y,g);Ka(p,s,Y,he,A),Qo(s)}function Ka(p,s,c,g,A){if(typeof c=="function")if(Mc(c)){Hl(p,s,c,g);return}else{Ef(p,s,c,g);return}if(typeof c=="string"){Oc(p,s,c,g);return}switch(c){case Sl:case zo:case Ae:case Xe:case Ti:{so(p,s,g.children);return}case Sn:{hi(s,"SuspenseList"),so(p,s,g.children),Qo(s);return}case gu:throw new Error("ReactDOMServer does not yet support scope components.");case Br:{ku(p,s,g);return}}if(typeof c=="object"&&c!==null)switch(c.$$typeof){case ir:{Iu(p,s,c,g,A);return}case Kr:{$l(p,s,c,g,A);return}case ze:{Ln(p,s,c,g);return}case Nt:{jo(p,s,c,g);return}case ta:{Fc(p,s,c,g);return}}var N="";throw(c===void 0||typeof c=="object"&&c!==null&&Object.keys(c).length===0)&&(N+=" 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)+"."+N))}function Ul(p,s){typeof Symbol=="function"&&p[Symbol.toStringTag]==="Generator"&&(Ru||o("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."),Ru=!0),p.entries===s&&(jc||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),jc=!0)}function so(p,s,c){try{return Bc(p,s,c)}catch(g){throw typeof g=="object"&&g!==null&&typeof g.then=="function"||(ma=ma!==null?ma:Jo()),g}}function Bc(p,s,c){if(s.node=c,typeof c=="object"&&c!==null){switch(c.$$typeof){case pu:{var g=c,A=g.type,N=g.props,z=g.ref;Ka(p,s,A,N,z);return}case xl: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 ta:{var Y=c,he=Y._payload,Le=Y._init,rt;try{rt=Le(he)}catch(mi){throw typeof mi=="object"&&mi!==null&&typeof mi.then=="function"&&hi(s,"Lazy"),mi}so(p,s,rt);return}}if(Tt(c)){Hc(p,s,c);return}var pt=Vi(c);if(pt){Ul(c,pt);var Lt=pt.call(c);if(Lt){var nr=Lt.next();if(!nr.done){var Dr=[];do Dr.push(nr.value),nr=Lt.next();while(!nr.done);Hc(p,s,Dr);return}return}}var Kn=Object.prototype.toString.call(c);throw new Error("Objects are not valid as a React child (found: "+(Kn==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":Kn)+"). If you meant to render a collection of children, use an array instead.")}if(typeof c=="string"){var is=s.blockedSegment;is.lastPushedText=an(s.blockedSegment.chunks,c,p.responseState,is.lastPushedText);return}if(typeof c=="number"){var gi=s.blockedSegment;gi.lastPushedText=an(s.blockedSegment.chunks,""+c,p.responseState,gi.lastPushedText);return}typeof c=="function"&&o("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 Hc(p,s,c){for(var g=c.length,A=0;A<g;A++){var N=s.treeContext;s.treeContext=xc(N,g,A);try{ns(p,s,c[A])}finally{s.treeContext=N}}}function Wl(p,s,c){var g=s.blockedSegment,A=g.chunks.length,N=Wa(p,A,null,g.formatContext,g.lastPushedText,!0);g.children.push(N),g.lastPushedText=!1;var z=ji(p,s.node,s.blockedBoundary,N,s.abortSet,s.legacyContext,s.context,s.treeContext);s.componentStack!==null&&(z.componentStack=s.componentStack.parent);var Y=z.ping;c.then(Y,Y)}function ns(p,s,c){var g=s.blockedSegment.formatContext,A=s.legacyContext,N=s.context,z=null;z=s.componentStack;try{return so(p,s,c)}catch(Y){if(Ec(),typeof Y=="object"&&Y!==null&&typeof Y.then=="function"){Wl(p,s,Y),s.blockedSegment.formatContext=g,s.legacyContext=A,s.context=N,Xi(N),s.componentStack=z;return}else throw s.blockedSegment.formatContext=g,s.legacyContext=A,s.context=N,Xi(N),s.componentStack=z,Y}}function Fi(p,s,c,g){var A=Ga(p,g);if(s===null?va(p,g):(s.pendingTasks--,s.forceClientRender||(s.forceClientRender=!0,s.errorDigest=A,Bl(s,g),s.parentFlushed&&p.clientRenderedBoundaries.push(s))),p.allPendingTasks--,p.allPendingTasks===0){var N=p.onAllReady;N()}}function Tf(p){var s=this,c=p.blockedBoundary,g=p.blockedSegment;g.status=Rs,ya(s,c,g)}function pi(p,s,c){var g=p.blockedBoundary,A=p.blockedSegment;if(A.status=Rs,g===null)s.allPendingTasks--,s.status!==ga&&(s.status=ga,s.destination!==null&&b(s.destination));else{if(g.pendingTasks--,!g.forceClientRender){g.forceClientRender=!0;var N=c===void 0?new Error("The render was aborted by the server without a reason."):c;g.errorDigest=s.onError(N);{var z="The server did not finish this Suspense boundary: ";N&&typeof N.message=="string"?N=z+N.message:N=z+String(N);var Y=Xo;Xo=p;try{Bl(g,N)}finally{Xo=Y}}g.parentFlushed&&s.clientRenderedBoundaries.push(g)}if(g.fallbackAbortableTasks.forEach(function(Le){return pi(Le,s,c)}),g.fallbackAbortableTasks.clear(),s.allPendingTasks--,s.allPendingTasks===0){var he=s.onAllReady;he()}}}function os(p,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===di&&os(p,c)}else{var g=p.completedSegments;g.push(s)}}function ya(p,s,c){if(s===null){if(c.parentFlushed){if(p.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");p.completedRootSegment=c}if(p.pendingRootTasks--,p.pendingRootTasks===0){p.onShellError=Is;var g=p.onShellReady;g()}}else if(s.pendingTasks--,!s.forceClientRender){if(s.pendingTasks===0)c.parentFlushed&&c.status===di&&os(s,c),s.parentFlushed&&p.completedBoundaries.push(s),s.fallbackAbortableTasks.forEach(Tf,p),s.fallbackAbortableTasks.clear();else if(c.parentFlushed&&c.status===di){os(s,c);var A=s.completedSegments;A.length===1&&s.parentFlushed&&p.partialBoundaries.push(s)}}if(p.allPendingTasks--,p.allPendingTasks===0){var N=p.onAllReady;N()}}function qc(p,s){var c=s.blockedSegment;if(c.status===Pl){Xi(s.context);var g=null;g=Xo,Xo=s;try{so(p,s,s.node),yn(c.chunks,p.responseState,c.lastPushedText,c.textEmbedded),s.abortSet.delete(s),c.status=di,ya(p,s.blockedBoundary,c)}catch(N){if(Ec(),typeof N=="object"&&N!==null&&typeof N.then=="function"){var A=s.ping;N.then(A,A)}else s.abortSet.delete(s),c.status=Eu,Fi(p,s.blockedBoundary,c,N)}finally{Xo=g}}}function zc(p){if(p.status!==ga){var s=yu(),c=Dl.current;Dl.current=Bn;var g;g=ha.getCurrentStack,ha.getCurrentStack=Jo;var A=ks;Ml(p.responseState);try{var N=p.pingedTasks,z;for(z=0;z<N.length;z++){var Y=N[z];qc(p,Y)}N.splice(0,z),p.destination!==null&&ao(p,p.destination)}catch(he){Ga(p,he),va(p,he)}finally{Ml(A),Dl.current=c,ha.getCurrentStack=g,c===Bn&&Xi(s)}}}function Ya(p,s,c){switch(c.parentFlushed=!0,c.status){case Pl:{var g=c.id=p.nextSegmentId++;return c.lastPushedText=!1,c.textEmbedded=!1,$r(s,p.responseState,g)}case di:{c.status=Nl;for(var A=!0,N=c.chunks,z=0,Y=c.children,he=0;he<Y.length;he++){for(var Le=Y[he];z<Le.index;z++)_(s,N[z]);A=Vl(p,s,Le)}for(;z<N.length-1;z++)_(s,N[z]);return z<N.length&&(A=v(s,N[z])),A}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Vl(p,s,c){var g=c.boundary;if(g===null)return Ya(p,s,c);if(g.parentFlushed=!0,g.forceClientRender)return Gn(s,p.responseState,g.errorDigest,g.errorMessage,g.errorComponentStack),Ya(p,s,c),La(s,p.responseState);if(g.pendingTasks>0){g.rootSegmentID=p.nextSegmentId++,g.completedSegments.length>0&&p.partialBoundaries.push(g);var A=g.id=On(p.responseState);return wi(s,p.responseState,A),Ya(p,s,c),ko(s,p.responseState)}else{if(g.byteSize>p.progressiveChunkSize)return g.rootSegmentID=p.nextSegmentId++,p.completedBoundaries.push(g),wi(s,p.responseState,g.id),Ya(p,s,c),ko(s,p.responseState);Zo(s,p.responseState);var N=g.completedSegments;if(N.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var z=N[0];return Vl(p,s,z),Qr(s,p.responseState)}}function $c(p,s,c){return du(s,p.responseState,c.id,c.errorDigest,c.errorMessage,c.errorComponentStack)}function Xa(p,s,c){return ar(s,p.responseState,c.formatContext,c.id),Vl(p,s,c),Xr(s,c.formatContext)}function Lu(p,s,c){for(var g=c.completedSegments,A=0;A<g.length;A++){var N=g[A];Uc(p,s,c,N)}return g.length=0,Ma(s,p.responseState,c.id,c.rootSegmentID)}function Ou(p,s,c){for(var g=c.completedSegments,A=0;A<g.length;A++){var N=g[A];if(!Uc(p,s,c,N))return A++,g.splice(0,A),!1}return g.splice(0,A),!0}function Uc(p,s,c,g){if(g.status===Nl)return!0;var A=g.id;if(A===-1){var N=g.id=c.rootSegmentID;if(N===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Xa(p,s,g)}else return Xa(p,s,g),ff(s,p.responseState,A)}function ao(p,s){x();try{var c=p.completedRootSegment;c!==null&&p.pendingRootTasks===0&&(Vl(p,s,c),p.completedRootSegment=null,tn(s,p.responseState));var g=p.clientRenderedBoundaries,A;for(A=0;A<g.length;A++){var N=g[A];$c(p,s,N)}g.splice(0,A);var z=p.completedBoundaries;for(A=0;A<z.length;A++){var Y=z[A];Lu(p,s,Y)}z.splice(0,A),y(s),x(s);var he=p.partialBoundaries;for(A=0;A<he.length;A++){var Le=he[A];if(!Ou(p,s,Le)){p.destination=null,A++,he.splice(0,A);return}}he.splice(0,A);var rt=p.completedBoundaries;for(A=0;A<rt.length;A++){var pt=rt[A];Lu(p,s,pt)}rt.splice(0,A)}finally{y(s),p.allPendingTasks===0&&p.pingedTasks.length===0&&p.clientRenderedBoundaries.length===0&&p.completedBoundaries.length===0&&(p.abortableTasks.size!==0&&o("There was still abortable task at the root when we closed. This is a bug in React."),b(s))}}function ei(p){u(function(){return zc(p)})}function kf(p,s){if(p.status===pa){p.status=ga,E(s,p.fatalError);return}if(p.status!==ga&&p.destination===null){p.destination=s;try{ao(p,s)}catch(c){Ga(p,c),va(p,c)}}}function Mu(p,s){try{var c=p.abortableTasks;c.forEach(function(g){return pi(g,p,s)}),c.clear(),p.destination!==null&&ao(p,p.destination)}catch(g){Ga(p,g),va(p,g)}}function Gl(p,s){return new Promise(function(c,g){var A,N,z=new Promise(function(Lt,nr){N=Lt,A=nr});function Y(){var Lt=new ReadableStream({type:"bytes",pull:function(nr){kf(Le,nr)},cancel:function(nr){Mu(Le)}},{highWaterMark:0});Lt.allReady=z,c(Lt)}function he(Lt){z.catch(function(){}),g(Lt)}var Le=jl(p,zr(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),vo(s?s.namespaceURI:void 0),s?s.progressiveChunkSize:void 0,s?s.onError:void 0,N,Y,he,A);if(s&&s.signal){var rt=s.signal,pt=function(){Mu(Le,rt.reason),rt.removeEventListener("abort",pt)};rt.addEventListener("abort",pt)}ei(Le)})}Ld.renderToReadableStream=Gl,Ld.version=e}()),Ld}var oy;function RE(){if(oy)return Xl;oy=1;var r,e;return process.env.NODE_ENV==="production"?(r=AE(),e=EE()):(r=TE(),e=kE()),Xl.version=r.version,Xl.renderToString=r.renderToString,Xl.renderToStaticMarkup=r.renderToStaticMarkup,Xl.renderToNodeStream=r.renderToNodeStream,Xl.renderToStaticNodeStream=r.renderToStaticNodeStream,Xl.renderToReadableStream=e.renderToReadableStream,Xl}var l2=RE();const us=ka(l2);function qf(r,e,t){return e!==void 0&&r<e?e:t!==void 0&&r>t?t:r}const Qc={_canvas:null,_cache:new Map,_fontCache:{value:"",timestamp:0},_charWidthMap:new Map,clearCache(){this._cache.clear(),this._canvas=null,this._fontCache={value:"",timestamp:0},this._charWidthMap.clear()},getDefaultFont(){const r=Date.now();if(this._fontCache.value&&r-this._fontCache.timestamp<3e5)return this._fontCache.value;try{const e=getComputedStyle(document.documentElement).getPropertyValue("--Font").trim()||"400 14px pretendard";return this._fontCache={value:e,timestamp:r},e}catch{return"400 14px pretendard"}},measureCharWidth(r,e){var o,a,u,f,d,h;const t=`${r}|${e}`;if(this._charWidthMap.has(t))return this._charWidthMap.get(t);try{this._canvas||(this._canvas=document.createElement("canvas"));const x=this._canvas.getContext("2d");if(x){x.font=e;const _=x.measureText(r).width;return this._charWidthMap.set(t,_),_}}catch{}let n;return r===" "?n=parseInt(((o=e.match(/(\d+)px/))==null?void 0:o[1])||"14")/3:/^[A-Z]$/.test(r)?n=parseInt(((a=e.match(/(\d+)px/))==null?void 0:a[1])||"14")*.67:/^[a-z]$/.test(r)?n=parseInt(((u=e.match(/(\d+)px/))==null?void 0:u[1])||"14")*.5:/^\d$/.test(r)?n=parseInt(((f=e.match(/(\d+)px/))==null?void 0:f[1])||"14")*.6:/^[.,;:!?]$/.test(r)?n=parseInt(((d=e.match(/(\d+)px/))==null?void 0:d[1])||"14")*.25:n=parseInt(((h=e.match(/(\d+)px/))==null?void 0:h[1])||"14")*.67,this._charWidthMap.set(t,n),n},extractTextFromNode(r){if(r==null)return"";if(typeof r=="string")return r;if(typeof r=="number"||typeof r=="boolean")return`${r}`;if(Array.isArray(r))return r.map(e=>this.extractTextFromNode(e)).join("");if(k.isValidElement(r))try{const t=l2.renderToString(r).replace(/<[^>]*>/g,""),n=document.createElement("div");return n.innerHTML=t,n.textContent||""}catch{return r.props&&r.props.children?this.extractTextFromNode(r.props.children):""}return""},measureTextWidth(r,e){var a;if(!r)return 0;const t=e||this.getDefaultFont(),n=`${r}|${t}`,o=this._cache.get(n);if(o!==void 0)return o;try{this._canvas||(this._canvas=document.createElement("canvas"));const u=this._canvas.getContext("2d");if(u){u.font=t;const f=u.measureText(r),d=Math.ceil(f.width);return this._cache.size>=300&&[...this._cache.keys()].slice(0,50).forEach(x=>this._cache.delete(x)),this._cache.set(n,d),d}}catch{}try{const u=document.createElement("span");u.style.font=t,u.style.position="absolute",u.style.visibility="hidden",u.style.whiteSpace="nowrap",u.textContent=r,document.body.appendChild(u);const f=Math.ceil(u.getBoundingClientRect().width);return document.body.removeChild(u),this._cache.set(n,f),f}catch{}try{let u=0;for(let d=0;d<r.length;d++)u+=this.measureCharWidth(r[d],t);u*=.95;const f=Math.ceil(u);return this._cache.set(n,f),f}catch{}try{const u=parseInt(((a=t.match(/(\d+)px/))==null?void 0:a[1])||"14");let f=0;for(let h=0;h<r.length;h++){const x=r[h];x===" "?f+=.33:/^[A-Z]$/.test(x)?f+=.67:/^[a-z]$/.test(x)?f+=.5:/^\d$/.test(x)?f+=.6:/^[.,;:!?]$/.test(x)?f+=.25:f+=.67}const d=Math.ceil(f*u);return this._cache.set(n,d),d}catch{const f=r.length*10;return this._cache.set(n,f),f}},measureTextWithElementStyle(r,e){if(!e)return 0;try{const t=window.getComputedStyle(r),n=t.getPropertyValue("--Font").trim()||`${t.fontWeight} ${t.fontSize} ${t.fontFamily}`;return this.measureTextWidth(e,n)}catch{return this.measureTextWidth(e)}},measureReactNodeWidth(r){const e=this.extractTextFromNode(r);return this.measureTextWidth(e)},measureRenderedOptionWidth(r,e){if(r==null)return 0;const t=e(r),n=this.extractTextFromNode(t);return this.measureTextWidth(n)},calculateOptimalSelectWidth({elementRef:r,options:e=[],selectedOption:t=null,selectedOptions:n=[],placeholder:o="",optionRenderer:a,type:u="Primary",isMulti:f=!1}){if(!r.current)return 200;try{let d=0;if(e&&e.length>0){const y=[...e.length>0?[e[0]]:[],...e.length>1?[e[e.length-1]]:[],...e.length>10?Array.from({length:8},(T,w)=>e[Math.floor(w*e.length/8)]):e,...e.length>20?Array.from({length:5},()=>e[Math.floor(Math.random()*e.length)]):[]],b=Array.from(new Set(y.filter(Boolean)));for(const T of b){if(!T)continue;const w=this.measureRenderedOptionWidth(T,a);d=Math.max(d,w)}}let h=0;if(!f&&t)h=this.measureRenderedOptionWidth(t,a);else if(f&&n&&n.length){if(n.length===1)h=this.measureRenderedOptionWidth(n[0],a);else if(h=this.measureTextWidth(`${n.length} selected`),n.length>0){let y=0;for(const b of n){const T=this.measureRenderedOptionWidth(b,a);y=Math.max(y,T)}h=Math.max(h,y)}}let x=0;o&&(x=this.measureReactNodeWidth(o));const v=Math.max(d,h,x,50);if(r.current){const y=window.getComputedStyle(r.current),b=parseFloat(y.paddingLeft||"0")+parseFloat(y.paddingRight||"0"),T=parseFloat(y.borderLeftWidth||"0")+parseFloat(y.borderRightWidth||"0"),w=u==="Primary"?30:20,S=f?24:0,E=Math.ceil(v*.05)+10;return Math.ceil(v+b+T+w+S+E)}return v+60}catch{return 200}}};var So=(r=>(r.E="East",r.N="North",r.S="South",r.W="West",r))(So||{}),af=(r=>(r.E="East",r.EN="EastNorth",r.ES="EastSouth",r.N="North",r.NE="NorthEast",r.NW="NorthWest",r.S="South",r.SE="SouthEast",r.SW="SouthWest",r.W="West",r.WN="WestNorth",r.WS="WestSouth",r))(af||{});function ym(r,e,t,n){if(!r.current||!e.current)return;const o=r.current.getBoundingClientRect(),a=e.current.getBoundingClientRect();let u={bottom:void 0,left:void 0,right:void 0,top:void 0};switch(t){case"North":u=a?{bottom:window.innerHeight-o.top,left:o.left+o.width/2-a.width/2}:{bottom:window.innerHeight-o.top,left:o.left};break;case"NorthWest":u={bottom:window.innerHeight-o.top,left:o.left};break;case"NorthEast":u={bottom:window.innerHeight-o.top,right:window.innerWidth-o.left-o.width};break;case"South":u=a?{top:o.bottom,left:o.left+o.width/2-a.width/2}:{top:o.bottom,left:o.left};break;case"SouthWest":u={top:o.bottom,left:o.left};break;case"SouthEast":u={top:o.bottom,right:window.innerWidth-o.left-o.width};break;case"East":u=a?{top:o.top+o.height/2-a.height/2,left:o.right}:{top:o.top,left:o.right};break;case"EastNorth":u={bottom:window.innerHeight-o.top-o.height,left:o.right};break;case"EastSouth":u={top:o.top,left:o.right};break;case"West":u=a?{top:o.top+o.height/2-a.height/2,right:window.innerWidth-o.left}:{top:o.top,right:window.innerWidth-o.left};break;case"WestNorth":u={bottom:window.innerHeight-o.top-o.height,right:window.innerWidth-o.left};break;case"WestSouth":u={top:o.top,right:window.innerWidth-o.left};break;default:u={top:o.top,left:o.left}}n&&(n.x&&u.left&&(u.left+=n.x),n.y&&u.top&&(u.top+=n.y)),u=u2(u,a),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 c2(r,e,t,n){if(!r)return;const o=e instanceof HTMLElement?e:e==null?void 0:e.current;if(!o)return;const a=r.getBoundingClientRect(),u=o.getBoundingClientRect();let f={bottom:void 0,left:void 0,right:void 0,top:void 0};switch(t){case"North":f=u?{bottom:window.innerHeight-a.top,left:a.left+a.width/2-u.width/2}:{bottom:window.innerHeight-a.top,left:a.left};break;case"NorthWest":f={bottom:window.innerHeight-a.top,left:a.left};break;case"NorthEast":f={bottom:window.innerHeight-a.top,right:window.innerWidth-a.left-a.width};break;case"South":f=u?{top:a.bottom,left:a.left+a.width/2-u.width/2}:{top:a.bottom,left:a.left};break;case"SouthWest":f={top:a.bottom,left:a.left};break;case"SouthEast":f={top:a.bottom,right:window.innerWidth-a.left-a.width};break;case"East":f=u?{top:a.top+a.height/2-u.height/2,left:a.right}:{top:a.top,left:a.right};break;case"EastNorth":f={bottom:window.innerHeight-a.top-a.height,left:a.right};break;case"EastSouth":f={top:a.top,left:a.right};break;case"West":f=u?{top:a.top+a.height/2-u.height/2,right:window.innerWidth-a.left}:{top:a.top,right:window.innerWidth-a.left};break;case"WestNorth":f={bottom:window.innerHeight-a.top-a.height,right:window.innerWidth-a.left};break;case"WestSouth":f={top:a.top,right:window.innerWidth-a.left};break;default:f={top:a.top,left:a.left}}return n&&(n.x&&f.left&&(f.left+=n.x),n.y&&f.top&&(f.top+=n.y)),f=u2(f,u),o.style.top=f.top+"px",o.style.left=f.left+"px",o.style.bottom=f.bottom+"px",o.style.right=f.right+"px",f}function u2(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 Xc(){const r={preventDefault:!1};return{event:r,e:{preventDefault:()=>r.preventDefault=!0}}}const IE="_Tooltip_1khnz_1",LE="_Arrow_1khnz_17",iy={Tooltip:IE,Arrow:LE},f2=r=>{const{tooltip:e,targetRef:t,delay:n=0,distance:o=10,direction:a=So.S}=r,[u,f]=k.useState(!1),d=k.useRef(null),h=k.useRef(null),x=k.useRef(),_=k.useCallback(()=>{f(!0),x.current&&(clearTimeout(x.current),x.current=void 0);const T=setTimeout(()=>sy(t,d,h,o,a),n);x.current=T},[t,n,o,a]),v=k.useCallback(()=>f(!1),[]);k.useEffect(()=>{const T=t.current;if(T)return T.addEventListener("mouseenter",_),T.addEventListener("mouseleave",v),()=>{T.removeEventListener("mouseenter",_),T.removeEventListener("mouseleave",v)}},[t,v,_]);const y=k.useCallback(()=>{sy(t,d,h,o,a)},[t,o,a]);k.useEffect(()=>{if(!t.current||!d.current||!u)return;const T=t.current.parentElement;let w=T;for(;w;)w.addEventListener("scroll",y),w=w.parentElement;return()=>{let S=T;for(;S;)S.removeEventListener("scroll",y),S=S.parentElement}},[t,y,u]),k.useEffect(()=>{y()},[e,y]);const b=k.useMemo(()=>{switch(typeof e){case"boolean":return!0;case"string":return e==="";case"number":return!1;default:return!e}},[e]);return!u||b?null:$s.createPortal(C.jsxs("div",{ref:d,className:Be.clsx(iy.Tooltip,"NoSelect"),children:[e,C.jsx("div",{ref:h,className:iy.Arrow})]}),document.body)},Od="5px solid var(--ATooltip_background-color)";function sy(r,e,t,n,o=So.S){if(!r.current||!e.current||!t.current)return;const a=OE(r.current,e.current,n,o);if(!a)return;const{left:u,top:f,arrowDir:d,arrow:h}=a;e.current.style.left=`${u}px`,e.current.style.top=`${f}px`,e.current.style.visibility="visible",e.current.style.opacity="1",t.current.style.border="5px solid transparent",d===So.N?(t.current.style.top="-9px",t.current.style.left=`calc(50% - 5px + ${h.left??0}px)`,t.current.style.borderBottom=Od):d===So.S?(t.current.style.top="100%",t.current.style.left=`calc(50% - 5px + ${h.left??0}px)`,t.current.style.borderTop=Od):d===So.W?(t.current.style.top=`calc(50% - 5px + ${h.top??0}px)`,t.current.style.left="-9px",t.current.style.borderRight=Od):d===So.E&&(t.current.style.top=`calc(50% - 5px + ${h.top??0}px)`,t.current.style.left="100%",t.current.style.borderLeft=Od)}const Jl=5;function OE(r,e,t,n){const o=r.getBoundingClientRect(),a=e.getBoundingClientRect();function u(){if(window.innerHeight-o.bottom>a.height+t){const x=o.bottom+t,_=o.left+(o.width-a.width)/2,v=qf(_,Jl,window.innerWidth-Jl-a.width),y=So.N;return{left:v,top:x,arrowDir:y,arrow:{left:_-v}}}}function f(){if(o.top>a.height+t){const x=o.top-a.height-t,_=o.left+(o.width-a.width)/2,v=qf(_,Jl,window.innerWidth-Jl-a.width),y=So.S;return{left:v,top:x,arrowDir:y,arrow:{left:_-v}}}}function d(){if(window.innerWidth-o.right>a.width+t){const x=o.right+t,_=o.top+(o.height-a.height)/2,v=qf(_,Jl,window.innerHeight-Jl-a.height),y=So.W;return{left:x,top:v,arrowDir:y,arrow:{top:_-v}}}}function h(){if(o.left>a.width+t){const x=o.left-a.width-t,_=o.top+(o.height-a.height)/2,v=qf(_,Jl,window.innerHeight-Jl-a.height),y=So.E;return{left:x,top:v,arrowDir:y,arrow:{top:_-v}}}}if(n===So.E)return d()||h()||u()||f();if(n===So.S)return u()||f()||d()||h();if(n===So.W)return h()||d()||u()||f();if(n===So.N)return f()||u()||d()||h()}const ME="_ABase_c7a1t_1",DE="_UseDimming_c7a1t_6",PE="_Dimmer_c7a1t_6",NE="_Spinner_c7a1t_9",jE="_Dimmed_c7a1t_12",FE="_HasProgress_c7a1t_18",BE="_IsDimmed_c7a1t_36",HE="_IsLoading_c7a1t_41",qE="_IsDisabled_c7a1t_46",Fu={ABase:ME,UseDimming:DE,Dimmer:PE,Spinner:NE,Dimmed:jE,HasProgress:FE,IsDimmed:BE,IsLoading:HE,IsDisabled:qE},Zr=r=>{const{children:e,abaseRef:t,isDisabled:n,isLoading:o,isDimmed:a,tooltip:u,tooltipDistance:f=10,tooltipDelay:d=0,tooltipDirection:h=So.S,progress:x,progressProps:_,...v}=r,y=k.useRef(null),b=k.useMemo(()=>t??y,[t]),T=k.useMemo(()=>typeof n=="string"&&n!==""?n:u!==void 0?u:"",[n,u]),w=k.useMemo(()=>n||o||a,[n,o,a]),S=k.useMemo(()=>n!==void 0||o!==void 0||a!==void 0,[n,o,a]),E=typeof x=="number"&&o;return C.jsxs("div",{...v,ref:b,className:Be.clsx(v.className,Fu.ABase,S&&Fu.UseDimming,w&&Fu.Dimmed,E&&Fu.HasProgress),children:[e,S&&C.jsx("div",{className:Be.sclsx(Fu,"Dimmer",n&&"IsDisabled",o&&"IsLoading",a&&"IsDimmed",E&&"HasProgress")}),o&&C.jsxs("div",{className:Be.sclsx(Fu,"Spinner",n&&"IsDisabled",o&&"IsLoading",E&&"HasProgress"),children:[C.jsx(Nr,{icon:"Spinner"}),E&&C.jsx(a2,{progress:x,..._})]}),C.jsx(f2,{delay:d,direction:h,distance:f,targetRef:b,tooltip:T})]})},zE="_AButton_vulhu_1",$E="_Primary_vulhu_14",UE="_Secondary_vulhu_19",WE="_Alter_vulhu_24",VE="_AIconButton_vulhu_30",GE="_AThemeButton_vulhu_71",ed={AButton:zE,Primary:$E,Secondary:UE,Alter:WE,AIconButton:VE,AThemeButton:GE},ZE=["Primary","Secondary","Alter","Raw"],Ho=r=>{const{type:e="Primary",onClick:t,noInteractive:n,...o}=r,a=k.useMemo(()=>o.isDisabled||o.isLoading,[o.isDisabled,o.isLoading]),u=k.useCallback(f=>{a||t==null||t(f)},[a,t]);return C.jsx(Zr,{...o,className:Be.clsx(o.className,ed.AButton,e!=="Raw"&&ed[e],"IsClickable",!a&&!n&&"IsInteractive"),onClick:u})},KE=["Primary","Secondary","Raw"],mo=r=>{const{icon:e,iconSize:t,type:n="Primary",onClick:o,isDisabled:a,isLoading:u,tooltip:f,className:d,...h}=r,x=k.useMemo(()=>a||u,[a,u]),_=k.useCallback(y=>{x||o==null||o(y)},[x,o]),v=k.useMemo(()=>vm.includes(e)?C.jsx(Nr,{icon:e,size:t}):e,[e,t]);return C.jsx(Zr,{className:Be.clsx(ed.AIconButton,!a&&!u&&"IsClickable",n!=="Raw"&&ed[n],d),isDisabled:a,isLoading:u,tooltip:f,onClick:_,...h,children:v})};function dn(r,e){r!==void 0&&r.length===1&&(e=r[0]);const t=k.useState(e);return k.useMemo(()=>r===void 0||r.length===1?t:r,[t,r])}const YE="_AWrap_u1f1h_1",XE="_Label_u1f1h_8",JE="_Asterisk_u1f1h_19",QE="_HelperTextConatiner_u1f1h_23",eT="_HelperText_u1f1h_23",Bu={AWrap:YE,Label:XE,Asterisk:JE,HelperTextConatiner:QE,HelperText:eT,Error:"_Error_u1f1h_38"},tT=["Default","Error"],ic=r=>{const{wrapProps:e,errorMessage:t,helperText:n,wrapType:o="Default",label:a,labelProps:u,children:f}=r,d=k.useRef(null),[h,x]=k.useState({height:0}),_=k.useRef(null),[v,y]=k.useMemo(()=>{let T=n,w=o;if(Array.isArray(t)){const S=t.filter(Boolean);S.length>0&&([T,w]=[S,"Error"])}else t&&([T,w]=[t,"Error"]);return Array.isArray(T)&&(w!=="Error"&&(T=T.filter(Boolean)),T=T.map((S,E)=>C.jsxs(k.Fragment,{children:[S,C.jsx("br",{})]},E))),[T,w]},[n,t,o]);k.useEffect(()=>{if(!v||!d.current)x({height:0});else{const T=d.current.getBoundingClientRect();x({height:T.height,marginTop:T.height===0?0:6})}},[v]);const b=k.useMemo(()=>{switch(typeof(u==null?void 0:u.prefix)){case"string":return C.jsx(Nr,{height:"1rem",icon:u.prefix,width:"1rem"});case"boolean":return C.jsx(Nr,{height:10,icon:"Target",width:10});default:return u==null?void 0:u.prefix}},[u==null?void 0:u.prefix]);return C.jsxs("div",{...e,ref:_,className:Be.clsx(e==null?void 0:e.className,Bu.AWrap),children:[a&&C.jsxs("div",{className:Be.clsx(Bu.Label,"NoSelect",u==null?void 0:u.className),style:u==null?void 0:u.style,children:[b,a,(u==null?void 0:u.asterisk)&&C.jsx(Zr,{className:Bu.Asterisk,tooltip:Ur.AWrap.Asterisk,children:"*"})]}),f,v!==void 0&&C.jsx("div",{className:Be.clsx(Bu.HelperTextConatiner,"NoSelect"),style:h,children:C.jsx("div",{ref:d,className:Be.clsx(Bu.HelperText,Bu[y]),children:v})})]})},rT="_ASwitch_nlcij_1",nT="_Track_nlcij_6",oT="_Truthy_nlcij_13",iT="_Thumb_nlcij_17",Pf={ASwitch:rT,Track:nT,Truthy:oT,Thumb:iT},d2=r=>{const{wrapProps:e,helperText:t,label:n,useCheck:o,...a}=r,[u,f]=dn(o,!1),d=k.useCallback(h=>{var x;a.isDisabled||a.isLoading||(f==null||f(!u),(x=a.onClick)==null||x.call(a,h))},[a,u,f]);return C.jsx(ic,{helperText:t,label:n,wrapProps:{...e},children:C.jsx(Zr,{...a,className:Pf.ASwitch,onClick:d,children:C.jsx("div",{className:Be.clsx(Pf.Track,u&&Pf.Truthy),children:C.jsx("div",{className:Be.clsx(Pf.Thumb,u&&Pf.Truthy)})})})})},sT={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","acent-brand-fill":"blue-95","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","acent-brand-fill":"blue-10","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"}}},wo=J_.cloneDeep(sT);tr.keys(wo.semantic).forEach(r=>{const e=wo.semantic[r];tr.keys(e).forEach(t=>{e[t]=`var(--${e[t]})`})});const fh=tr.keys(wo.palette),h2=tr.keys(wo.palette[fh[0]]);function aT(){return co.paletteMode}function lT(r,e=co.paletteMode){return wo.palette[e][r]}function cT(r){return hh(r)}const eh=[];function p2(r){co.paletteMode=r,h2.forEach(e=>document.documentElement.style.setProperty(`--${e}`,wo.palette[r][e])),eh.forEach(e=>e(r))}function g2(r,e="all"){tr.keys(r).forEach(n=>{const o=r[n];o!==void 0&&(document.documentElement.style.setProperty(`--${n}`,o),e==="all"?fh.forEach(a=>{wo.palette[a][n]=o}):wo.palette[e][n]=o)})}const Qu=tr.keys(wo.semantic),m2=tr.keys(wo.semantic[Qu[0]]);function uT(){return co.semanticMode}function fT(r,e=co.semanticMode){return wo.semantic[e][r]}function dT(r){return hh(r)}const th=[];function bm(r){co.semanticMode=r,document.documentElement.setAttribute("data-theme",r),m2.forEach(e=>document.documentElement.style.setProperty(`--${e}`,wo.semantic[r][e])),th.forEach(e=>e(r)),co.save==="localStorage"?localStorage.setItem("semanticMode",r):co.save==="sessionStorage"&&sessionStorage.setItem("semanticMode",r)}function v2(r,e=co.semanticMode){tr.keys(r).forEach(n=>{const o=r[n];o!==void 0&&(document.documentElement.style.setProperty(`--${n}`,o),e==="all"?Qu.forEach(a=>{wo.semantic[a][n]=o}):wo.semantic[e][n]=o)})}const y2=["Body-background-color","Body-color","Body-transition","Font","Scrollbar-handle","Scrollbar-handle-hover","Scrollbar-handle-active","Scrollbar-track","Scrollbar-border-radius","Scrollbar-width","Transition","Transition-Enabled"],b2=["ABase_Dimming_background-color"],_2=["ATooltip_background-color","ATooltip_color"],x2=["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"],S2=["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"],C2=["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"],w2=["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"],A2=["ACheckBox_color"],E2=["ADialog_Paper_background-color","ADialog_background-color","ADialog_border","ADialog_Action_background-color"],T2=["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_background-color","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"],k2=["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_background-color","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"],R2=["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"],I2=["ASwitch_Track_Falsy_border","ASwitch_Track_Truthy_border","ASwitch_Thumb_border"],L2=["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"],O2=["AFileBox_border","AFileBox_background-color","AFileBox_SelectedFile_color","AFileBox_Dropping_color"],M2=["AListView_border-thin","AListView_border-thick"],D2=["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"],P2=["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"],N2=["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"],j2=["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"],F2=["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"],B2=["ADivideFrame_DividerInner_background-color"],H2=["AFloatMenu_background-color","AFloatMenu_hover_background-color","AFloatMenu_color","AFloatMenu_border"],q2=["ALoadingBorder_background-color","ALoadingBorder_ProgressBar_background-color","ALoadingBorder_Cover_background-color"],z2=["AWrap_Error_color"],$2=["ARadioSelect_RadioButton_border","ARadioSelect_RadioButton_InnerCircle_isChecked_background-color"],U2=["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"],hT=[...y2,...b2,..._2,...x2,...S2,...C2,...w2,...A2,...E2,...T2,...k2,...R2,...I2,...L2,...O2,...M2,...D2,...P2,...N2,...j2,...F2,...B2,...H2,...q2,...z2,...$2,...U2],dh={"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","Transition-Enabled":"1","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(--elevation-10)",ASelect_Secondary_hover_border:"1px solid var(--elevation-10)","ASelect_Secondary_background-color":"var(--elevation-10)",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-10)","ASelect_Secondary_Option_Selected_background-color":"var(--elevation-20)",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(--elevation-10)",AMultiSelect_Secondary_hover_border:"1px solid var(--elevation-10)","AMultiSelect_Secondary_background-color":"var(--elevation-10)",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 pT(r){return dh[r]}function gT(r){return hh(r)}function W2(r){tr.keys(r).forEach(t=>{const n=r[t];n!==void 0&&(document.documentElement.style.setProperty(`--${t}`,n),dh[t]=n)})}function mT(r){tr.keys(r).forEach(t=>{const n=r[t];if(n===void 0)return;const o=wo.semantic[co.semanticMode][n];o!==void 0&&(document.documentElement.style.setProperty(t,o),dh[t]=o)})}const co={paletteMode:fh[0],semanticMode:Qu[0],save:"",followDeviceSetting:!1};function vT({semanticMode:r,save:e,followDeviceSetting:t}){if(t!==void 0&&(co.followDeviceSetting=t,t)){const n=window.matchMedia("(prefers-color-scheme: dark)"),o=u=>{co.semanticMode=u.matches?"dark":"light"};o(n);const a=u=>o(u);n.addEventListener("change",a)}if(e!==void 0){if(co.save=e,e==="localStorage"){const n=localStorage.getItem("semanticMode");Qu.includes(n)&&(co.semanticMode=n)}else if(e==="sessionStorage"){const n=sessionStorage.getItem("semanticMode");Qu.includes(n)&&(co.semanticMode=n)}}r!==void 0&&(co.semanticMode=r),p2(co.paletteMode),bm(co.semanticMode),g2(wo.palette[co.paletteMode]),v2(wo.semantic[co.semanticMode]),W2(dh)}function yT(r){r.type==="semanticModeChange"?th.push(r.listener):r.type==="paletteModeChange"?eh.push(r.listener):console.error("AThemes.addEventListener : parameter is not valid")}function bT(r){if(r.type==="semanticModeChange"){const e=th.indexOf(r.listener);e!==-1&&th.splice(e,1)}else if(r.type==="paletteModeChange"){const e=eh.indexOf(r.listener);e!==-1&&eh.splice(e,1)}else console.error("AThemes.removeEventListener : parameter is not valid")}function hh(r){const e=window.getComputedStyle(document.documentElement);let t=e.getPropertyValue(r);return t===""&&(t=e.getPropertyValue(`--${r}`)),t}function _T(r){Object.assign(Be.additionalClasses,r),Be.updateKeys(),Be.additionalClasses=Be.additionalClasses}const zf={getCurrentPaletteMode:aT,getPaletteValue:lT,getPaletteDeepValue:cT,changePaletteMode:p2,editPalette:g2,getCurrentSemanticMode:uT,getSemanticValue:fT,getSemanticDeepValue:dT,changeSemanticMode:bm,editSemantic:v2,getComponentStyleValue:pT,getComponentStyleDeepValue:gT,editComponentStyle:W2,editComponentStyleWithSemantic:mT,init:vT,addEventListener:yT,removeEventListener:bT,getDeepValue:hh,addClasses:_T},xT=r=>{const{onChange:e,onClick:t,type:n="Icon",...o}=r,[a,u]=k.useState(zf.getCurrentSemanticMode()==="dark"?"Moon":"Sun"),f=k.useCallback(d=>{const h=zf.getCurrentSemanticMode();let x="light";h==="light"?x="dark":h==="dark"&&(x="light"),zf.changeSemanticMode(x),u(ST[x]),e==null||e(x),t==null||t(d)},[e,t]);if(n==="Icon")return C.jsx(mo,{...o,className:Be.clsx(ed.AThemeButton,o.className,"IsInteractive"),icon:a,type:"Raw",onClick:f});if(n==="Switch")return C.jsx(d2,{...o,useCheck:[zf.getCurrentSemanticMode()==="dark",f]})},ST={light:"Sun",dark:"Moon"},CT="_ACheckBoxWrap_1ozuz_1",wT="_ACheckBox_1ozuz_1",ay={ACheckBoxWrap:CT,ACheckBox:wT},ef=r=>{const{useCheck:e,isIndeterminate:t,isDisabled:n,isLoading:o,onClick:a,...u}=r,[f,d]=dn(e,!1),h=k.useCallback(x=>{n||o||(d==null||d(!f),a==null||a(x))},[n,o,a,f,d]);return C.jsx(Zr,{...u,className:Be.clsx(u.className,ay.ACheckBoxWrap),isDisabled:n,isLoading:o,onClick:h,children:C.jsx(Nr,{className:ay.ACheckBox,icon:t?"Check.Indeterminate":f?"Check.Checked":"Check.UnChecked"})})};function AT(r){return typeof r=="function"}function ET(r,e){return AT(r)?r(e):r}const Lr={getContent:ET};class ly{constructor(e){dt(this,"capacity");dt(this,"cache",new Map);this.capacity=e}get(e){if(!this.cache.has(e))return;const t=this.cache.get(e);return this.cache.delete(e),this.cache.set(e,t),t}put(e,t){if(this.cache.has(e))this.cache.delete(e);else if(this.cache.size>=this.capacity){const n=this.cache.keys().next().value;n!==void 0&&this.cache.delete(n)}this.cache.set(e,t)}delete(e){return this.cache.delete(e)}clear(){this.cache.clear()}entries(){return Array.from(this.cache.entries())}}const Jc=class Jc{constructor(){dt(this,"databases",{});dt(this,"caches",{});dt(this,"DEFAULT_CACHE_SIZE",100)}static getInstance(){return Jc.instance||(Jc.instance=new Jc),Jc.instance}getCache(e,t){const n=`${e}_${t}`;return this.caches[n]||(this.caches[n]=new ly(this.DEFAULT_CACHE_SIZE)),this.caches[n]}async getDB(e,t,n=1){return this.databases[e]?this.databases[e]:new Promise((o,a)=>{if(!window.indexedDB){console.error("이 브라우저는 IndexedDB를 지원하지 않습니다."),a(new Error("IndexedDB not supported"));return}const u=window.indexedDB.open(e,n);u.onerror=f=>{console.error("IndexedDB 연결 오류:",f.target.error),a(f.target.error)},u.onsuccess=f=>{const d=f.target.result;this.databases[e]=d,o(d)},u.onupgradeneeded=f=>{const d=f.target.result;d.objectStoreNames.contains(t)||d.createObjectStore(t,{keyPath:"id"}).createIndex("updatedAt_idx","updatedAt",{unique:!1})}})}async save(e,t,n){this.getCache(e,t).put(n.id,{...n});const f=(await this.getDB(e,t)).transaction([t],"readwrite").objectStore(t);return new Promise((d,h)=>{const x=f.put(n);x.onsuccess=()=>d(),x.onerror=_=>{console.error("데이터 저장 오류:",_.target.error),h(_.target.error)}})}async batchSave(e,t,n){if(n.length===0)return;const o=this.getCache(e,t);n.forEach(d=>o.put(d.id,{...d}));const u=(await this.getDB(e,t)).transaction([t],"readwrite"),f=u.objectStore(t);return new Promise((d,h)=>{u.oncomplete=()=>d(),u.onerror=x=>{console.error("배치 저장 오류:",x.target.error),h(x.target.error)},n.forEach(x=>f.put(x))})}async get(e,t,n){const o=this.getCache(e,t),a=o.get(n);if(a)return a;const d=(await this.getDB(e,t)).transaction([t],"readonly").objectStore(t);return new Promise((h,x)=>{const _=d.get(n);_.onsuccess=()=>{const v=_.result;v&&o.put(n,v),h(v||null)},_.onerror=v=>{console.error("데이터 조회 오류:",v.target.error),x(v.target.error)}})}async getByIndex(e,t,n,o){const d=(await this.getDB(e,t)).transaction([t],"readonly").objectStore(t).index(n);return new Promise((h,x)=>{const _=d.getAll(o);_.onsuccess=()=>{const v=_.result,y=this.getCache(e,t);v.forEach(b=>{b&&b.id&&y.put(b.id,b)}),h(v)},_.onerror=v=>{console.error("인덱스 조회 오류:",v.target.error),x(v.target.error)}})}async delete(e,t,n){this.getCache(e,t).delete(n);const f=(await this.getDB(e,t)).transaction([t],"readwrite").objectStore(t);return new Promise((d,h)=>{const x=f.delete(n);x.onsuccess=()=>d(),x.onerror=_=>{console.error("데이터 삭제 오류:",_.target.error),h(_.target.error)}})}async batchDelete(e,t,n){if(n.length===0)return;const o=this.getCache(e,t);n.forEach(d=>o.delete(d));const u=(await this.getDB(e,t)).transaction([t],"readwrite"),f=u.objectStore(t);return new Promise((d,h)=>{u.oncomplete=()=>d(),u.onerror=x=>{console.error("배치 삭제 오류:",x.target.error),h(x.target.error)},n.forEach(x=>f.delete(x))})}async getAll(e,t){const a=(await this.getDB(e,t)).transaction([t],"readonly").objectStore(t);return new Promise((u,f)=>{const d=a.getAll();d.onsuccess=()=>{const h=d.result,x={},_=this.getCache(e,t);h.forEach(v=>{v.id&&(x[v.id]=v,_.put(v.id,v))}),u(x)},d.onerror=h=>{console.error("데이터 전체 조회 오류:",h.target.error),f(h.target.error)}})}async clear(e,t){this.getCache(e,t).clear();const u=(await this.getDB(e,t)).transaction([t],"readwrite").objectStore(t);return new Promise((f,d)=>{const h=u.clear();h.onsuccess=()=>f(),h.onerror=x=>{console.error("데이터 초기화 오류:",x.target.error),d(x.target.error)}})}getCached(e,t,n){return this.getCache(e,t).get(n)||null}clearCached(e,t){this.getCache(e,t).clear()}setCacheSize(e,t,n){const o=`${e}_${t}`,u=this.getCache(e,t).entries();this.caches[o]=new ly(n);for(const[f,d]of u)this.caches[o].get(f)===void 0&&f!==void 0&&this.caches[o].put(f,d)}};dt(Jc,"instance");let W1=Jc;const Ps=W1.getInstance(),Fs={save:(r,e,t)=>Ps.save(r,e,t),get:(r,e,t)=>Ps.get(r,e,t),delete:(r,e,t)=>Ps.delete(r,e,t),getAll:(r,e)=>Ps.getAll(r,e),clear:(r,e)=>Ps.clear(r,e),batchSave:(r,e,t)=>Ps.batchSave(r,e,t),batchDelete:(r,e,t)=>Ps.batchDelete(r,e,t),getByIndex:(r,e,t,n)=>Ps.getByIndex(r,e,t,n),getCached:(r,e,t)=>Ps.getCached(r,e,t),clearCached:(r,e)=>Ps.clearCached(r,e),setCacheSize:(r,e,t)=>Ps.setCacheSize(r,e,t)};function V2(r,e,t={}){const{dataFieldName:n="data"}=t,[o,a]=k.useState(!1),[u,f]=k.useState(null),d=k.useRef(new Map);k.useEffect(()=>{const $=d.current;return()=>{$.forEach(G=>G.abort()),$.clear()}},[]);const h=k.useCallback($=>{const G=d.current,re=G.get($);re&&re.abort();const F=new AbortController;return G.set($,F),F},[]),x=k.useCallback($=>{d.current.delete($)},[]),_=k.useCallback(async($,G)=>{try{a(!0),f(null),h($);const re=await G();return x($),re}catch(re){return re instanceof Error&&re.name==="AbortError"||f(re instanceof Error?re:new Error(String(re))),null}finally{a(!1)}},[h,x]),v=k.useCallback(async($,G)=>$?await _(`save_${$}`,async()=>(await Fs.save(r,e,{id:$,[n]:G,updatedAt:new Date().toISOString()}),!0))===!0:!1,[r,e,n,_]),y=k.useCallback(async $=>$.length?await _(`batch_save_${Date.now()}`,async()=>{const G=$.map(re=>({id:re.id,[n]:re.data,updatedAt:new Date().toISOString()}));return await Fs.batchSave(r,e,G),!0})===!0:!1,[r,e,n,_]),b=k.useCallback(async $=>$?await _(`get_${$}`,async()=>{const G=await Fs.get(r,e,$);return(G==null?void 0:G[n])||null}):null,[r,e,n,_]),T=k.useCallback($=>{if(!$)return null;const G=Fs.getCached(r,e,$);return(G==null?void 0:G[n])||null},[r,e,n]),w=k.useCallback(async $=>$?await _(`delete_${$}`,async()=>(await Fs.delete(r,e,$),!0))===!0:!1,[r,e,_]),S=k.useCallback(async $=>$.length?await _(`batch_delete_${Date.now()}`,async()=>(await Fs.batchDelete(r,e,$),!0))===!0:!1,[r,e,_]),E=k.useCallback(async()=>await _(`get_all_${Date.now()}`,async()=>{const $=await Fs.getAll(r,e);return Object.entries($).reduce((G,[re,F])=>(G[re]=F[n],G),{})})||{},[r,e,n,_]),R=k.useCallback(async()=>await _(`clear_all_${Date.now()}`,async()=>(await Fs.clear(r,e),!0))===!0,[r,e,_]),I=k.useCallback($=>{const G=d.current.get($);G&&(G.abort(),d.current.delete($))},[]),P=k.useCallback(()=>{new Map(d.current).forEach(G=>G.abort()),d.current.clear()},[]),j=k.useCallback($=>{Fs.setCacheSize(r,e,$)},[r,e]),q=k.useCallback(()=>{Fs.clearCached(r,e)},[r,e]);return{save:v,get:b,delete:w,getAll:E,clearAll:R,batchSave:y,batchDelete:S,getCached:T,setCacheSize:j,clearCache:q,cancelOperation:I,cancelAllOperations:P,isLoading:o,error:u}}const TT="LayoutDB",kT="layouts";function G2(){const r=V2(TT,kT,{dataFieldName:"lengths"}),[e,t]=k.useState({}),n=k.useRef({}),o=async(x,_)=>await r.save(x,_),a=async x=>await r.get(x),u=x=>r.getCached(x),f=x=>{const _=u(x);return _?{data:_,isLoaded:!0}:n.current[x]!==void 0?{data:n.current[x],isLoaded:!!e[x]}:(e[x]||(n.current[x]=null,a(x).then(v=>{n.current[x]=v,t(y=>({...y,[x]:!0}))})),{data:null,isLoaded:!1})},d=async x=>(t(_=>{const v={..._};return delete v[x],v}),n.current[x]!==void 0&&delete n.current[x],await r.delete(x)),h=k.useCallback(()=>{t({}),n.current={}},[]);return{save:o,get:a,getCached:u,getSync:f,deleteItem:d,resetSyncState:h,isLoading:r.isLoading,error:r.error}}const RT="_ARowFrame_177u6_1",IT="_AColFrame_177u6_7",LT="_AOverflowFrame_177u6_13",OT="_ADivideFrame_177u6_22",MT="_Row_177u6_30",DT="_Col_177u6_33",PT="_FadeIn_177u6_36",NT="_NoTransition_177u6_39",jT="_ChildFrame_177u6_43",FT="_Divider_177u6_61",BT="_IsMoving_177u6_69",HT="_NoDraggable_177u6_69",qT="_DividerInner_177u6_72",zT="_IsClicked_177u6_97",$T="_RemoteButton_177u6_132",UT="_isExpanded_177u6_137",lo={ARowFrame:RT,AColFrame:IT,AOverflowFrame:LT,ADivideFrame:OT,Row:MT,Col:DT,FadeIn:PT,NoTransition:NT,ChildFrame:jT,Divider:FT,IsMoving:BT,NoDraggable:HT,DividerInner:qT,IsClicked:zT,RemoteButton:$T,isExpanded:UT},En=r=>C.jsx(Zr,{...r,className:Be.clsx(lo.ARowFrame,r.className),children:r.children}),Z2=r=>C.jsx("div",{...r,className:Be.clsx(lo.AColFrame,r.className),children:r.children}),Aa=r=>{const{tooltip:e,children:t,abaseRef:n,isDisabled:o,className:a,noOverflowTooltip:u,...f}=r,d=k.useRef(null),h=k.useMemo(()=>n??d,[n]),[x,_]=k.useState(!1),v=k.useCallback(()=>_(!0),[]),y=k.useCallback(()=>_(!1),[]);k.useEffect(()=>{const T=h.current;if(T)return T.addEventListener("mouseenter",v),T.addEventListener("mouseleave",y),()=>{T.removeEventListener("mouseenter",v),T.removeEventListener("mouseleave",y)}},[h,v,y]);const b=k.useMemo(()=>o?"":u||!x||!h.current?e:h.current.scrollWidth>h.current.clientWidth?t:e,[h,o,t,e,u,x]);return C.jsx(Zr,{...f,children:t,abaseRef:h,className:Be.clsx(lo.AOverflowFrame,a),isDisabled:o,tooltip:b})},K2=r=>{const{value:e,map:t}=r;return t[e]===void 0?t.fallback:C.jsx(k.Suspense,{children:t[e]})},Y2=k.memo(r=>{const{pk:e,direction:t="Row",lefts:n,minLength:o=40,children:a,childStyle:u,childClassName:f,dividerStyle:d,dividerClassName:h,dividerPadding:x,dividerInnerClassName:_,dividerInnerStyle:v,showRemote:y,noDividerDraggable:b,resources:T,remoteButtonClassName:w,...S}=r,E=k.useMemo(()=>({...Ur.ADivideFrame,...T}),[T]),R=k.useRef(null),I=k.useRef(!1),P=k.useRef(!0),j=k.useRef(n),[q,$]=k.useState(),[G,re]=k.useState(n),[F,W]=k.useState("FadeOut"),[V,ee]=k.useState(!1),{save:ue,getSync:le,deleteItem:de}=G2(),fe=k.useCallback(()=>{P.current&&requestAnimationFrame(()=>{P.current=!1,W("FadeIn")})},[]),ve=k.useMemo(()=>{let Se;return Array.isArray(a)?Se=a:Se=[a],Se.filter(Boolean)},[a]),te=k.useMemo(()=>e&&!y,[e,y]),ce=k.useCallback(()=>{if(!te){fe();return}try{const Se=String(e),{data:_e,isLoaded:Ce}=le(Se);_e?(re(_e),Ce&&fe()):Ce?(re(n),ue(String(e),n),fe()):re(n)}catch{re(n),fe()}},[te,fe,e,le,n,ue]);k.useEffect(()=>{if(te){ce();const Se=String(e),_e=()=>{const{isLoaded:Ce}=le(Se);Ce?fe():requestAnimationFrame(_e)};_e()}else fe()},[te,ce,fe,e,le]),k.useEffect(()=>{j.current!==n&&(j.current=n,I.current||(re(n),te&&ue(String(e),n)),I.current=!1)},[te,n,e,ue]);const pe=k.useMemo(()=>{const Se=x??0;return typeof o=="number"?Array(ve.length).fill(o+Se):o.map(_e=>_e+Se)},[o,ve.length,x]),ye=k.useMemo(()=>(q==null?void 0:q.lefts)||G,[q,G]),Ie=k.useRef({x:0,y:0}),oe=k.useCallback((Se,_e,Ce)=>{const Te=ye[Se],Ne=Se===0?0:ye[Se-1],ot=Te-Ne,$e={...u,...WT(t,ot,_e)};return x!==void 0&&(t==="Row"?(Ce||($e.paddingLeft=x),_e||($e.paddingRight=x)):(Ce||($e.paddingTop=x),_e||($e.paddingBottom=x))),$e},[ye,u,t,x]),we=k.useCallback(()=>{if(!(!y||t!=="Row")){if(V)re(n),I.current=!1;else{const Se=ve.length;if(Se<=1)return;const _e=[],Ce=[];for(let Ne=0;Ne<Se;Ne++)typeof o=="number"?Ce.push(o):Ce.push(o[Ne]||o[0]);let Te=0;for(let Ne=0;Ne<Se-1;Ne++)Te+=Ce[Ne],_e.push(Te);re(_e),I.current=!0}ee(Se=>!Se),P.current=!1}},[y,t,V,ve.length,n,o]),Oe=k.useCallback((Se,_e)=>{if(_e)return Ce=>{if(!R.current)return;P.current=!1;const Te=R.current;Ie.current={x:Ce.clientX,y:Ce.clientY},$({idx:Se,lefts:[...G]});let Ne=[...G];const ot=tt=>{const at=Te.getBoundingClientRect(),De=t==="Row"?at.left:at.top,Ke=t==="Row"?at.width:at.height;Ne=GT(G,t,Se,tt,De,Ke,pe),$({idx:Se,lefts:Ne})},$e=()=>{$(void 0),re(Ne),I.current=!0,te&&ue(String(e),Ne),window.removeEventListener("mousemove",ot),window.removeEventListener("mouseup",$e)};window.addEventListener("mousemove",ot),window.addEventListener("mouseup",$e)}},[G,t,pe,te,e,ue]),Ue=k.useCallback(Se=>{if(Se)return()=>{re(n),I.current=!1,$(void 0),te&&de(String(e))}},[n,te,e,de]),We=k.useMemo(()=>ve.map((Se,_e)=>{const Ce=y&&(V||!V&&_e===ve.length-2);return!(b||Ce)}),[ve,y,V,b]);return C.jsx("div",{...S,ref:R,className:Be.clsx(lo.ADivideFrame,r.className,lo[t],lo[F],P.current&&lo.NoTransition),children:ve.map((Se,_e)=>{const Ce=_e===0,Te=_e===ve.length-1,Ne=oe(_e,Te,Ce),ot=ye[_e],$e=We[_e],tt=Oe(_e,$e),at=Ue($e);return C.jsxs(k.Fragment,{children:[C.jsxs("div",{style:Ne,className:Be.clsx(lo.ChildFrame,f,q&&lo.IsMoving,P.current&&lo.NoTransition,lo[t]),children:[Te&&y&&t==="Row"&&C.jsx(mo,{className:Be.clsx(lo.RemoteButton,V&&lo.isExpanded,w),icon:"DividerExpand",iconSize:"md",tabIndex:0,tooltip:V?E.Collapse:E.Expand,type:"Raw",onClick:we}),Se]}),!Te&&C.jsx("div",{"data-nodraggable":$e?void 0:"true",className:Be.clsx(lo.Divider,lo[t],"NoSelect",q&&lo.IsMoving,(q==null?void 0:q.idx)===_e&&lo.IsClicked,P.current&&lo.NoTransition,!$e&&lo.NoDraggable,h),style:{...d,...VT(t,ot)},onDoubleClick:at,onMouseDown:tt,children:C.jsx("div",{className:Be.clsx(lo.DividerInner,_),style:{...v}})})]},_e)})})});Y2.displayName="ADivideFrame";function WT(r,e,t){return t?{}:r==="Col"?{height:e,minHeight:e,maxHeight:e}:{maxWidth:e,width:e,minWidth:e}}function VT(r,e){return r==="Col"?{top:e}:{left:e}}function GT(r,e,t,n,o,a,u){const f=[...r];let d=e==="Row"?n.clientX-o-r[t]:n.clientY-o-r[t];const h=[],x=[];let _=0;for(let y=0;y<=u.length;y++)h[y]=_,y<u.length&&(_+=u[y]);let v=0;for(let y=u.length-2;y>=0;y--)v+=u[y],x[y]=v;if(x[u.length-1]=0,d<0){let y=f[t]+d;if(y<=h[t+1])for(let b=0;b<=t;b++)f[b]=h[b+1];else if(f[t]=y,t>0)for(let b=t-1;b>=0&&y-f[b]<u[b];b--)f[b]=y-u[t],y=f[b]}else if(d>0){let y=f[t]+d;const b=t===u.length-2?u[u.length-1]:0;if(y>=a-x[t]-b)for(let T=t;T<r.length;T++)f[T]=a-x[T]-(T===r.length-1?0:b);else if(f[t]=y,t<r.length-1)for(let T=t+1;T<r.length&&f[T]-y<u[T];T++)f[T]=y+u[T],y=f[T]}return f}const ou=()=>C.jsx("div",{style:{display:"flex",flexGrow:1}}),ZT="_ASpace_1okqf_1",KT={ASpace:ZT},Tn=r=>{const{h:e,w:t,...n}=r;return C.jsx("div",{...n,className:Be.clsx(KT.ASpace,n.className),style:{height:e,minHeight:e,maxHeight:e,width:t,minWidth:t,maxWidth:t,...n.style}})},YT="_AChipsContainer_1ag9v_1",XT="_AChip_1ag9v_1",JT="_Clickable_1ag9v_21",QT="_AChipDelete_1ag9v_26",e5="_IsHover_1ag9v_40",t5="_AChipDeleteIcon_1ag9v_45",Zu={AChipsContainer:YT,AChip:XT,Clickable:JT,AChipDelete:QT,IsHover:e5,AChipDeleteIcon:t5},r5=r=>{const{useLabels:e,alignItems:t="flex-start",ChipStyle:n,ChipClassName:o,ChipOnDelete:a,ChipOnClick:u,ChipIcon:f,className:d,style:h,ButtonRenderer:x=X2,gap:_=8,...v}=r,[y,b]=dn(e,[]),T=k.useCallback(S=>{!b||!a||(a({label:S}),b(y.filter(E=>E!==S)))},[b,a,y]),w=k.useCallback(S=>{const E={label:S};return{label:S,useLabel:[S,()=>{}],style:Lr.getContent(n,E),className:Lr.getContent(o,E),icon:Lr.getContent(f,E),onDelete:()=>T(S),onClick:u?()=>u({label:S}):void 0}},[o,f,u,n,T]);return C.jsx(Zr,{...v,className:Be.clsx(Zu.AChipsContainer,d),style:{...h,alignItems:t,gap:_},children:y.map((S,E)=>C.jsx(_m,{...w(S),ButtonRenderer:x},E))})},_m=r=>{const{label:e,useLabel:t,icon:n,className:o,onDelete:a,onClick:u,ButtonRenderer:f=X2,width:d="fit-content",style:h,...x}=r;return e===void 0?C.jsx(C.Fragment,{}):C.jsxs(Zr,{...x,className:Be.clsx("NoSelect",Zu.AChip,u&&Zu.Clickable,u&&"IsClickable",o),style:{...h,width:d},onClick:u,children:[C.jsx(Aa,{children:e}),f({...r})]})},X2=r=>{const{label:e,icon:t,onDelete:n,useLabel:o}=r,[,a]=dn(o,e),[u,f]=k.useState(!1),d=k.useCallback(_=>{n&&(_.stopPropagation(),a==null||a(void 0),n(r))},[n,r,a]),h=()=>{f(!0)},x=()=>{f(!1)};return C.jsx(C.Fragment,{children:n&&C.jsxs(C.Fragment,{children:[C.jsx(ou,{}),C.jsx(Tn,{w:24}),C.jsx(Zr,{className:Be.clsx(Zu.AChipDelete,"IsClickable",u&&Zu.IsHover)}),C.jsx(mo,{className:Zu.AChipDeleteIcon,icon:t||C.jsx(Nr,{height:14,icon:"Close",stroke:"currentColor",width:14}),type:"Raw",onClick:d,onMouseEnter:h,onMouseLeave:x})]})})},eu=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]}`},n5=r=>{let e="";r<0&&(e+="-",r=-r);const t=Math.floor(r/3600),n=Math.floor(r%3600/60),o=r%60;return t>0&&(e+=t.toString().padStart(2,"0")+":"),e+=n.toString().padStart(2,"0")+":",e+=o.toString().padStart(2,"0"),e},o5=/[a-zA-Z0-9]/,i5=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9]{2,}$/,s5=/^[a-zA-Z0-9._-]+$/,a5=/^[0-9a-fA-F-]+$/i,l5=/[가-힣ㄱ-ㅎㅏ-ㅣ]/,c5=/^\S*$/,u5=/^([^ㄱ-ㅎㅏ-ㅣ])*$/i,f5=/[!@#$%^&*+=;:?/<>\\[\](){}~\-_.(),]/,d5=/^(?=.*[A-Za-z])(?=.*\d)(?=.*[\W_])[A-Za-z\d\W_]{8,}$/,h5=/^[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}$/,p5={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)},J2={secondToTime:n5,validate:p5,FileSizeTrans:eu},g5=r=>{const{maxTicks:e=300,interval:t=1e3,onFinish:n,noStartOnRender:o,actionRef:a,wrapProps:u,helperText:f,label:d,...h}=r,[x,_]=k.useState(0),[v,y]=k.useState(!o);k.useEffect(()=>{if(!v||h.isDisabled||h.isLoading)return;const R=setInterval(()=>_(I=>I+1),t);return()=>clearInterval(R)},[t,v,h.isDisabled,h.isLoading]);const b=k.useCallback(()=>{n==null||n(),y(!1)},[n]);k.useEffect(()=>{x>=e&&!h.isDisabled&&!h.isLoading&&b()},[x,e,b,h.isDisabled,h.isLoading]);const T=k.useCallback(()=>{h.isDisabled||y(!0)},[h.isDisabled]),w=k.useCallback(()=>{h.isDisabled||y(!1)},[h.isDisabled]),S=k.useCallback(()=>{h.isDisabled||(y(!1),_(0))},[h.isDisabled]);k.useEffect(()=>{a&&(a.current={start:T,stop:w,reset:S,setTicks:_})},[a,T,w,S]);const E=e-x;return C.jsx(ic,{wrapProps:u,helperText:f,label:d,children:C.jsx(Zr,{...h,children:J2.secondToTime(E>0?E:0)})})};function Ws(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 m5(r){try{if(!r)return;const e=new Date(r);return isNaN(e.getTime())?void 0:e}catch{return}}function v5(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0)}function y5(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),23,59,59,999)}function cy(r,e){return Ws(r)===Ws(e)}function Ku(r,e){return Ws(r)>Ws(e)}function rh(r,e){return Ws(r)>=Ws(e)}function nh(r,e){return Ws(r)<Ws(e)}function oh(r,e){return Ws(r)<=Ws(e)}function uy(r,e,t){return Ku(r,t)?Ku(e,t)&&nh(e,r):Ku(e,r)&&nh(e,t)}function fy(r,e,t){return Ku(r,t)?rh(e,t)&&oh(e,r):rh(e,r)&&oh(e,t)}const Zt={toString:Ws,toDate:m5,makeSDate:v5,makeEDate:y5,"===":cy,">":Ku,">=":rh,"<":nh,"<=":oh,"s<d<e|e<d<s":uy,"s<=d<=e|e<=d<=s":fy,eq:cy,g:Ku,ge:rh,l:nh,le:oh,b:uy,be:fy},b5="_InputContainer_1lfl7_7",_5="_AInput_1lfl7_21",x5="_LeftAddon_1lfl7_40",S5="_RightAddon_1lfl7_46",C5="_ErrorHelperText_1lfl7_52",w5="_Primary_1lfl7_56",A5="_UnAvailable_1lfl7_61",E5="_Secondary_1lfl7_72",T5="_ReadOnly_1lfl7_87",oi={InputContainer:b5,AInput:_5,LeftAddon:x5,RightAddon:S5,ErrorHelperText:C5,Primary:w5,UnAvailable:A5,Secondary:E5,ReadOnly:T5,Error:"_Error_1lfl7_52"},k5=["Primary","Secondary","ReadOnly","Error"],sc=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",inputRef:o,useValue:a,isReadonly:u,placeholder:f,minLength:d,maxLength:h,tabIndex:x,autoFocus:_,isPassword:v,autoComplete:y="off",inputProps:b,LeftAddon:T,RightAddon:w,wrapProps:S,helperText:E,label:R,wrapType:I,labelProps:P,...j}=r,q=k.useMemo(()=>R5(t)?"Error":n,[t,n]),$=k.useMemo(()=>q==="ReadOnly"?!0:u,[q,u]),G=k.useMemo(()=>j.isDisabled||j.isLoading,[j.isDisabled,j.isLoading]),[re,F]=dn(a,""),W=k.useCallback(ee=>{var ue;G||((ue=b==null?void 0:b.onKeyDown)==null||ue.call(b,ee),["Escape","Enter","ArrowUp","ArrowDown"].includes(ee.key)||ee.stopPropagation(),ee.key==="Enter"&&e&&e(ee.currentTarget.value))},[G,b,e]),V=k.useCallback(ee=>{var ue;G||d&&ee.target.value.length<d||(F==null||F(ee.target.value),(ue=b==null?void 0:b.onChange)==null||ue.call(b,ee))},[G,d,F,b]);return v?C.jsx(ic,{wrapProps:S,label:R,helperText:E,errorMessage:t,wrapType:I,labelProps:P,children:C.jsx("form",{onSubmit:ee=>ee.preventDefault(),children:C.jsxs(Zr,{...j,className:Be.clsx(oi.InputContainer,oi[q],G&&oi.UnAvailable,j.className),children:[T&&C.jsx("div",{className:oi.LeftAddon,children:T}),C.jsx("input",{...b,ref:o,autoComplete:y,autoFocus:_,className:Be.clsx(oi.AInput,q==="Error"&&oi.InputError,b==null?void 0:b.className),maxLength:h,placeholder:f,readOnly:$,tabIndex:j.isDisabled||j.isLoading?-1:x,type:"password",value:re,onChange:V,onKeyDown:W}),w&&C.jsx("div",{className:Be.clsx(oi.RightAddon,"NoSelect"),children:w})]})})}):C.jsx(ic,{wrapProps:S,label:R,helperText:E,errorMessage:t,wrapType:I,labelProps:P,children:C.jsxs(Zr,{...j,className:Be.clsx(oi.InputContainer,oi[q],G&&oi.UnAvailable,j.className),children:[T&&C.jsx("div",{className:oi.LeftAddon,children:T}),C.jsx("input",{...b,ref:o,autoComplete:y,autoFocus:_,className:Be.clsx(oi.AInput,q==="Error"&&oi.InputError,b==null?void 0:b.className),maxLength:h,placeholder:f,readOnly:$,tabIndex:j.isDisabled||j.isLoading?-1:x,value:re,onChange:V,onKeyDown:W}),w&&C.jsx("div",{className:oi.RightAddon,children:w})]})})};function R5(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}const I5="_ASelect_vvzf4_1",L5="_Arrow_vvzf4_14",O5="_Primary_vvzf4_23",M5="_UnAvailable_vvzf4_34",D5="_IsOpen_vvzf4_34",P5="_Secondary_vvzf4_41",N5="_Placeholder_vvzf4_57",j5="_ValuesContainer_vvzf4_61",F5="_Values_vvzf4_61",B5="_Options_vvzf4_80",H5="_Option_vvzf4_80",q5="_Selected_vvzf4_122",z5="_CheckBox_vvzf4_129",zi={ASelect:I5,Arrow:L5,Primary:O5,UnAvailable:M5,IsOpen:D5,Secondary:P5,Placeholder:N5,ValuesContainer:j5,Values:F5,Options:B5,Option:H5,Selected:q5,CheckBox:z5},$5=["Primary","Secondary"],ac=r=>{const{options:e,useSelect:t,type:n="Primary",placeholder:o=Ur.ASelect["Select(Placeholder)"],onClose:a,OptionRenderer:u=W5,SelectedRenderer:f=V5,minShowRows:d=2,maxShowRows:h=6,arrowProps:x,isAutoWidth:_=!1,...v}=r,y=k.useRef(null),b=k.useMemo(()=>v.abaseRef??y,[v.abaseRef]),T=k.useRef(null),[w,S]=dn(t,e[0]),[E,R]=k.useState(void 0),[I,P]=k.useState(!1),[j,q]=k.useState(!1),$=k.useRef(e),G=k.useRef(null),re=k.useCallback(()=>q(!1),[]),F=k.useCallback(()=>{v.isDisabled||v.isLoading||e.length<1||(q(!0),setTimeout(()=>P(!0),0),setTimeout(()=>tp(T,b,e,d,h),0))},[b,v.isDisabled,v.isLoading,e,d,h]),W=k.useCallback(()=>{P(!1),q(!0),a==null||a()},[a]),V=k.useCallback(te=>{var ce;I?W():F(),setTimeout(()=>tp(T,b,e,d,h),0),(ce=v.onClick)==null||ce.call(v,te)},[b,v,e,I,W,F,d,h]),ee=k.useCallback(()=>{tp(T,b,e,d,h)},[b,e,d,h]);k.useEffect(()=>{if(!I||!b.current)return;const te=b.current;let ce=te.parentElement;for(;ce;)ce.addEventListener("scroll",ee),ce=ce.parentElement;return()=>{let pe=te.parentElement;for(;pe;)pe.removeEventListener("scroll",ee),pe=pe.parentElement}},[b,I,ee]),k.useEffect(()=>{if(I)return window.addEventListener("resize",ee),()=>window.removeEventListener("resize",ee)},[I,ee]);const ue=k.useCallback(te=>{te[0].intersectionRatio===0&&W()},[W]);k.useEffect(()=>{if(!I)return;const te=new IntersectionObserver(ue,{threshold:0});return b.current&&te.observe(b.current),()=>te.disconnect()},[b,I,ue]);const le=k.useCallback(te=>{const ce=te.target,pe=b.current,ye=T.current;!pe||!ce||!ye||!pe.contains(ce)&&!ye.contains(ce)&&W()},[b,W]),de=k.useMemo(()=>v.isDisabled||v.isLoading||e.length<1,[v.isDisabled,v.isLoading,e]);k.useEffect(()=>{if(I)return setTimeout(()=>document.addEventListener("mousedown",le),0),()=>document.removeEventListener("mousedown",le)},[I,le]);const fe=k.useCallback((te,ce)=>{te.stopPropagation(),te.preventDefault(),S==null||S(ce),W()},[S,W]),ve=k.useCallback(()=>{if(!_||!b.current)return;const te=Qc.calculateOptimalSelectWidth({elementRef:b,options:e,selectedOption:w,placeholder:o,optionRenderer:ce=>ce===null?null:u({option:ce}),type:n,isMulti:!1});R(te)},[_,b,e,w,o,u,n]);return k.useEffect(()=>_?((e!==$.current||E===void 0)&&(G.current!==null&&cancelAnimationFrame(G.current),G.current=requestAnimationFrame(()=>{ve(),G.current=null,$.current=[...e]})),()=>{G.current!==null&&(cancelAnimationFrame(G.current),G.current=null)}):void 0,[_,e,ve,E]),k.useEffect(()=>()=>{typeof Qc.clearCache=="function"&&Qc.clearCache()},[]),C.jsxs(C.Fragment,{children:[C.jsxs(Zr,{...v,abaseRef:b,isDisabled:v.isDisabled||e.length<1,className:Be.clsx(v.className,zi.ASelect,"NoSelect",I&&zi.IsOpen,de&&zi.UnAvailable,zi[n]),style:{padding:n==="Secondary"?"8px 8px 8px 0":0,width:E?`${E}px`:_?"100px":void 0,...v.style},onClick:V,children:[C.jsx("div",{className:zi.ValuesContainer,children:C.jsx("div",{className:Be.clsx(zi.Values,(w==null||w==="")&&zi.Placeholder),children:C.jsx(f,{OptionRenderer:u,placeholder:o,selectedOption:w})})}),C.jsx("div",{...x,className:Be.clsx(zi.Arrow,x==null?void 0:x.className),children:C.jsx(Nr,{icon:"TriangleDown",style:{transform:I?"rotate(180deg)":"",transition:"var(--Transition)"}})})]}),e.length>0&&(I||j)&&$s.createPortal(C.jsx("div",{ref:T,className:Be.clsx(zi.Options,zi[n]),style:{opacity:+I,visibility:I?"visible":"hidden",pointerEvents:I?void 0:"none",borderRadius:b.current?window.getComputedStyle(b.current).borderRadius:void 0,width:E?`${E}px`:_?"100px":void 0},onTransitionEnd:re,children:e.map((te,ce)=>{const pe=w===te,ye=b.current?window.getComputedStyle(b.current):void 0;return te===null?null:C.jsx("div",{className:Be.clsx(zi.Option,pe&&zi.Selected,"NoSelect",zi[n]),style:{height:ye==null?void 0:ye.height},onClick:Ie=>fe(Ie,te),children:C.jsx(u,{option:te})},ce)})}),document.body)]})};function tp(r,e,t,n,o){if(!e.current||!r.current||!t||t.length<1)return;const a=e.current.getBoundingClientRect(),u=U5(a,t.length,n,o),f=window.getComputedStyle(e.current);r.current.style.top=`calc(${u.top??0}px - ${f.borderTopWidth})`,r.current.style.bottom=u.bottom?u.bottom+"px":"",r.current.style.left=u.left+"px",r.current.style.width||(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 U5(r,e,t,n){const o={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<o.height&&(window.innerHeight-r.bottom-10<o.minHeight?(o.top=r.top-e*r.height,o.top<0&&(o.top=10,o.minHeight=r.top-10,o.height=r.top-10)):o.height=window.innerHeight-r.bottom-10),o}const W5=r=>{const{option:e}=r;return tr.isReactNode(e)?e:null},V5=r=>{const{selectedOption:e,OptionRenderer:t,placeholder:n}=r;return e==null||e===""?n:C.jsx(t,{option:e})},G5="_Anchor_27s50_1",Z5="_Primary_27s50_18",K5="_Secondary_27s50_21",Y5="_Placeholder_27s50_25",X5="_Icon_27s50_30",J5="_ADatePicker_27s50_37",Q5="_StringInputWrap_27s50_48",e6="_StringInputContainer_27s50_53",t6="_StringInput_27s50_48",r6="_IsIdx_27s50_68",n6="_CalendarContainer_27s50_72",o6="_Header_27s50_78",i6="_Prev_27s50_82",s6="_Next_27s50_83",a6="_MonthYear_27s50_116",l6="_Select_27s50_121",c6="_Calendar_27s50_72",u6="_Cell_27s50_131",f6="_IsNotCurrentMonth_27s50_143",d6="_IsSelected_27s50_147",h6="_IsDisabled_27s50_151",p6="_IsHovered_27s50_154",g6="_Week_27s50_158",m6="_WeekDay_27s50_163",fn={Anchor:G5,Primary:Z5,Secondary:K5,Placeholder:Y5,Icon:X5,ADatePicker:J5,StringInputWrap:Q5,StringInputContainer:e6,StringInput:t6,String:"_String_27s50_48",IsIdx:r6,CalendarContainer:n6,Header:o6,Prev:i6,Next:s6,MonthYear:a6,Select:l6,Calendar:c6,Cell:u6,IsNotCurrentMonth:f6,IsSelected:d6,IsDisabled:h6,IsHovered:p6,Week:g6,WeekDay:m6},v6="_Anchor_1x8q1_1",y6="_Primary_1x8q1_18",b6="_Secondary_1x8q1_22",_6="_Placeholder_1x8q1_26",x6="_Icon_1x8q1_31",S6="_ADateRangePicker_1x8q1_38",C6="_StringInputWrap_1x8q1_49",w6="_StringInputContainer_1x8q1_53",A6="_StringInput_1x8q1_49",E6="_IsIdx_1x8q1_69",T6="_CalendarContainer_1x8q1_73",k6="_Header_1x8q1_79",R6="_Prev_1x8q1_83",I6="_Next_1x8q1_84",L6="_MonthYear_1x8q1_117",O6="_Select_1x8q1_122",M6="_Calendar_1x8q1_73",D6="_Cell_1x8q1_132",P6="_IsNotCurrentMonth_1x8q1_144",N6="_IsSelected_1x8q1_148",j6="_IsDisabled_1x8q1_152",F6="_IsHovered_1x8q1_155",B6="_Week_1x8q1_159",H6="_WeekDay_1x8q1_164",q6="_ChoiceButton_1x8q1_168",Vr={Anchor:v6,Primary:y6,Secondary:b6,Placeholder:_6,Icon:x6,ADateRangePicker:S6,StringInputWrap:C6,StringInputContainer:w6,StringInput:A6,String:"_String_1x8q1_49",IsIdx:E6,CalendarContainer:T6,Header:k6,Prev:R6,Next:I6,MonthYear:L6,Select:O6,Calendar:M6,Cell:D6,IsNotCurrentMonth:P6,IsSelected:N6,IsDisabled:j6,IsHovered:F6,Week:B6,WeekDay:H6,ChoiceButton:q6},xm=r=>{const{type:e="Primary",className:t,useDateRange:n,actionRef:o,position:a=af.SE,minDate:u,maxDate:f,isDisabled:d,isLoading:h,yearsOptionSize:x,noDefaultChoices:_,LeftAddon:v,RightAddon:y,placeholder:b,noClearButton:T,resources:w,onClick:S,...E}=r,R=k.useMemo(()=>({...Ur.ADateRangePicker,...w}),[w]),I=k.useMemo(()=>b??R["Select DateRange"],[b,R]),[P,j]=k.useMemo(()=>{let ae,st;if(u&&(ae=Zt.makeSDate(u)),f&&(st=Zt.makeEDate(f)),ae&&st&&Zt["<"](st,ae)){console.warn("ADateRangePicker: maxDate should be greater than minDate. maxDate and minDate are swapped.");const mt=ae;ae=st,st=mt}return[ae,st]},[u,f]),[q,$]=k.useState("sD"),[G,re]=dn(n,void 0),F=k.useCallback(ae=>{re&&(ae===void 0?(re(void 0),Ce(""),ot("")):(re({sDate:Zt.makeSDate(ae.sDate),eDate:Zt.makeEDate(ae.eDate)}),Ce(Zt.toString(ae.sDate)),ot(Zt.toString(ae.eDate))))},[re]);k.useEffect(()=>{G&&(Ce(Zt.toString(G.sDate)),ot(Zt.toString(G.eDate)))},[G]);const W=k.useCallback(ae=>{if(!re)return;let st=G?G.sDate:Zt.makeSDate(ae);ae=Zt.makeEDate(ae),re({sDate:st,eDate:ae}),Ce(Zt.toString(st)),ot(Zt.toString(ae))},[re,G]),[V,ee]=k.useState(),[ue,le]=k.useState(),de=k.useCallback(ae=>{q==="sD"&&F({sDate:ae,eDate:ae}),ee(ae),le(ae)},[q,F,ee]),fe=k.useCallback(ae=>{q==="sD"?V&&(Zt.eq(V,ae)?$("eD"):Zt[">"](ae,V)?(W(ae),ee(void 0)):(F({sDate:ae,eDate:V}),ee(void 0))):(G?Zt["<"](ae,G.sDate)?F({sDate:ae,eDate:G.eDate}):W(ae):F({sDate:ae,eDate:ae}),ee(void 0),$("sD"))},[W,V,$,q,F,G,ee]),ve=k.useCallback(ae=>{V&&le(ae)},[V]),te=k.useCallback(()=>{le(void 0),ee(void 0),$("sD")},[$,ee]),[ce,pe]=k.useState(dy(G,P,j)),ye=k.useMemo(()=>Sm(ce.year,P,j,x),[ce.year,P,j,x]),Ie=k.useMemo(()=>td(ce.year,P,j),[P,j,ce.year]),oe=k.useCallback(ae=>{if(!ye.includes(ae))return;const st={month:ce.month,year:ae},mt=td(st.year,P,j);mt.length<1||(mt.includes(st.month)||(st.month<mt[0]?st.month=mt[0]:st.month>mt[mt.length-1]&&(st.month=mt[mt.length-1])),pe(st))},[P,j,ye,ce.month]),we=k.useCallback(ae=>{Ie.includes(ae)&&pe({month:ae,year:ce.year})},[Ie,ce.year]),Oe=k.useMemo(()=>j?new Date(ce.year,ce.month+1,1)>j:!1,[ce,j]),Ue=k.useCallback(()=>{if(Oe||Ie.length<1)return;const ae=ce.month+1;ae>11?pe({month:Ie[0],year:ce.year+1}):pe({month:ae,year:ce.year})},[Oe,Ie,ce]),We=k.useMemo(()=>P?new Date(ce.year,ce.month,0)<P:!1,[ce,P]),Se=k.useCallback(()=>{if(We||Ie.length<1)return;const ae=ce.month-1;ae<Ie[0]?pe({month:Ie[Ie.length-1],year:ce.year-1}):pe({month:ae,year:ce.year})},[We,Ie,ce]),[_e,Ce]=k.useState(G!=null&&G.sDate?Zt.toString(G.sDate):""),Te=k.useCallback(ae=>{if(ae.length>10||(Ce(ae),ae.length<10)||!re)return;let st=Zt.toDate(ae);if(!st)return;P&&st<P&&(st=P),j&&st>j&&(st=j);let mt=G?G.eDate:st;G&&Zt[">"](st,mt)&&([st,mt]=hy(st,mt)),F({sDate:st,eDate:mt}),pe({month:st.getMonth(),year:st.getFullYear()})},[re,F,G,P,j]),[Ne,ot]=k.useState(G!=null&&G.eDate?Zt.toString(G.eDate):""),$e=k.useCallback(ae=>{if(ae.length>10||(ot(ae),ae.length<10)||!re)return;let st=Zt.toDate(ae);if(!st)return;P&&st<P&&(st=P),j&&st>j&&(st=j);let mt=G?G.sDate:st;G&&Zt[">"](mt,st)&&([mt,st]=hy(mt,st)),F({sDate:mt,eDate:st}),pe({month:st.getMonth(),year:st.getFullYear()})},[re,F,G,P,j]),tt=k.useCallback(()=>{G&&(Ce(Zt.toString(G.sDate)),ot(Zt.toString(G.eDate)))},[G]),at=k.useMemo(()=>{const{month:ae,year:st}=ce,mt=new Date(st,ae,1),Ft=new Date(st,ae+1,0),Rt=[];for(let Qt=0;Qt<mt.getDay();Qt++){const sr=new Date(st,ae,0).getDate()-mt.getDay()+Qt+1,er=new Date(st,ae-1,sr),_r=P&&P>er||j&&j<er,fr=G?Zt.be(G.sDate,er,G.eDate):!1,lt=ue&&G&&Zt.be(G.sDate,er,ue);Rt.push({day:sr,isSelected:fr,isHovered:lt,date:er,isDisabled:_r,isCurrentMonth:!1})}for(let Qt=1;Qt<=Ft.getDate();Qt++){const qt=new Date(st,ae,Qt),sr=P&&P>qt||j&&j<qt,er=G?Zt.be(G.sDate,qt,G.eDate):!1,_r=ue&&G&&Zt.be(G.sDate,qt,ue);Rt.push({day:Qt,isSelected:er,isHovered:_r,date:qt,isDisabled:sr,isCurrentMonth:!0})}for(let Qt=0;Qt<7-Ft.getDay()-1;Qt++){const qt=new Date(st,ae+1,Qt+1),sr=P&&P>qt||j&&j<qt,er=G?Zt.be(G.sDate,qt,G.eDate):!1,_r=ue&&G&&Zt.be(G.sDate,qt,ue);Rt.push({day:Qt+1,isSelected:er,isHovered:_r,date:qt,isDisabled:sr,isCurrentMonth:!1})}const Mt=[];for(let Qt=0;Qt<Rt.length/7;Qt++)Mt.push(C.jsx("div",{className:Vr.Week,children:Rt.slice(Qt*7,Qt*7+7).map((qt,sr)=>C.jsx(Ho,{isDisabled:qt.isDisabled,type:"Raw",className:Be.clsx(Vr.Cell,qt.isDisabled?Vr.IsDisabled:qt.isCurrentMonth?qt.isSelected?Vr.IsSelected:qt.isHovered&&Vr.IsHovered:Vr.IsNotCurrentMonth),onMouseDown:()=>qt.isCurrentMonth&&de(qt.date),onMouseEnter:()=>qt.isCurrentMonth&&ve(qt.date),onMouseUp:()=>qt.isCurrentMonth&&fe(qt.date),children:qt.day},sr))},Qt));return Mt},[ce,ue,G,P,j,de,fe,ve]),De=k.useRef(null),Ke=k.useCallback(()=>{De&&ym(De,qe,a)},[De,a]),[yt,_t]=k.useState(!1),[bt,At]=k.useState(!1),qe=k.useRef(null),Qe=k.useCallback(()=>{d||h||(_t(!0),setTimeout(()=>At(!0),0),setTimeout(()=>Ke(),0),pe(dy(G,P,j)))},[d,h,G,Ke,P,j]),St=k.useCallback(()=>{d||h||(_t(!0),At(!1))},[d,h]),Dt=k.useMemo(()=>bt?St:Qe,[bt,Qe,St]),Et=k.useCallback(()=>_t(!1),[]),Ze=k.useCallback(ae=>{const st=document.getElementById("root"),mt=ae.target,Ft=qe.current,Rt=De.current;!st||!Ft||!mt||!Rt||!Ft.contains(mt)&&st.contains(mt)&&!Rt.contains(mt)&&St()},[St]);k.useEffect(()=>{if(bt)return setTimeout(()=>document.addEventListener("mousedown",Ze),0),()=>document.removeEventListener("mousedown",Ze)},[bt,Ze]);const It=k.useCallback(()=>{Ke()},[Ke]);k.useEffect(()=>{if(!bt||!(De!=null&&De.current))return;const ae=De.current;let st=ae.parentElement;for(;st;)st.addEventListener("scroll",It),st=st.parentElement;return()=>{let mt=ae.parentElement;for(;mt;)mt.removeEventListener("scroll",It),mt=mt.parentElement}},[De,bt,It]),k.useEffect(()=>{if(bt)return window.addEventListener("resize",It),()=>window.removeEventListener("resize",It)},[bt,It]);const Ot=k.useCallback(ae=>{ae[0].intersectionRatio===0&&St()},[St]);k.useEffect(()=>{if(!bt)return;const ae=new IntersectionObserver(Ot,{threshold:0});return qe.current&&ae.observe(qe.current),()=>ae.disconnect()},[qe,bt,Ot]),k.useEffect(()=>{o&&(o.current={open:Qe,close:St,toggle:Dt})},[o,Qe,St,Dt]),k.useEffect(()=>{if(!G)return;let ae={sDate:G.sDate,eDate:G.eDate};P&&(Zt["<"](G.sDate,P)&&(ae.sDate=P),Zt["<"](G.eDate,P)&&(ae.eDate=P)),j&&(Zt[">"](G.sDate,j)&&(ae.sDate=j),Zt[">"](G.eDate,j)&&(ae.eDate=j)),(ae.sDate!==G.sDate||ae.eDate!==G.eDate)&&F(ae)},[P,j,G,F]);const pr=k.useCallback(ae=>{S==null||S(ae),Dt()},[S,Dt]),br=k.useCallback(ae=>{F(void 0),St(),ae.stopPropagation()},[F,St]),Or=k.useCallback(()=>G?C.jsx(mo,{icon:"Close",style:{scale:"0.8"},type:"Raw",onClick:br}):null,[G,br]),Ee=k.useMemo(()=>G?`${Zt.toString(G.sDate)} ~ ${Zt.toString(G.eDate)}`:C.jsx("span",{className:Vr.Placeholder,children:I}),[G,I]);return C.jsxs(C.Fragment,{children:[C.jsxs(Zr,{...E,abaseRef:De,className:Be.clsx(Vr.Anchor,"IsClickable",Vr[e],t),isDisabled:d,isLoading:h,onClick:pr,children:[v,e==="Primary"&&C.jsxs(C.Fragment,{children:[C.jsx(Nr,{className:Be.clsx(Vr.Icon,Vr[e]),icon:"CalendarDay"}),C.jsx(Tn,{w:4})]}),Ee,C.jsx(ou,{}),!T&&C.jsx(Or,{}),e==="Secondary"&&C.jsx(Nr,{className:Be.clsx(Vr.Icon,Vr[e]),icon:"CalendarDay"}),y&&y]}),(bt||yt)&&$s.createPortal(C.jsxs("div",{ref:qe,className:Vr.ADateRangePicker,style:{opacity:+bt,visibility:bt?"visible":"hidden"},onMouseLeave:te,onTransitionEnd:Et,children:[C.jsxs("div",{className:Vr.StringInputContainer,children:[C.jsxs(En,{children:[C.jsx(sc,{className:Be.clsx(Vr.String,q==="sD"&&ue&&Vr.IsIdx),inputProps:{className:Vr.StringInput},maxLength:11,placeholder:"YYYY-MM-DD",useValue:[_e,Te],wrapProps:{className:Vr.StringInputWrap},onBlur:tt}),C.jsx(Tn,{w:8}),C.jsx(sc,{className:Be.clsx(Vr.String,q==="eD"&&ue&&Vr.IsIdx),inputProps:{className:Vr.StringInput},maxLength:11,placeholder:"YYYY-MM-DD",useValue:[Ne,$e],wrapProps:{className:Vr.StringInputWrap},onBlur:tt})]}),!_&&C.jsxs(En,{style:{marginTop:4},children:[C.jsx(Md,{children:R["1일"],onClick:()=>F({sDate:new Date,eDate:new Date})}),C.jsx(Md,{children:R["1주일"],onClick:()=>F({sDate:new Date(new Date().setDate(new Date().getDate()-7)),eDate:new Date})}),C.jsx(Md,{children:R["1개월"],onClick:()=>F({sDate:new Date(new Date().setMonth(new Date().getMonth()-1)),eDate:new Date})}),C.jsx(Md,{children:R["3개월"],onClick:()=>F({sDate:new Date(new Date().setMonth(new Date().getMonth()-3)),eDate:new Date})})]})]}),C.jsxs("div",{className:Vr.CalendarContainer,children:[C.jsxs(En,{className:Vr.Header,children:[C.jsx(Ho,{className:Vr.Prev,isDisabled:We,type:"Raw",onClick:Se}),C.jsxs("div",{className:Vr.MonthYear,children:[C.jsx(ac,{isAutoWidth:!0,className:Vr.Select,OptionRenderer:ae=>R.months(ae.option),options:Ie,SelectedRenderer:ae=>R.months(ae.selectedOption),type:"Secondary",useSelect:[ce.month,we]}),C.jsx(Tn,{w:8}),C.jsx(ac,{isAutoWidth:!0,className:Vr.Select,options:ye,type:"Secondary",useSelect:[ce.year,oe]})]}),C.jsx(Ho,{className:Vr.Next,isDisabled:Oe,type:"Raw",onClick:Ue})]}),C.jsx(Tn,{h:10}),C.jsxs("div",{className:Vr.Calendar,children:[C.jsx("div",{className:Vr.Week,children:[0,1,2,3,4,5,6].map(ae=>C.jsx("div",{className:Be.clsx(Vr.WeekDay,Vr.Cell),children:R.weekDays(ae)},ae))}),at]})]})]}),document.body)]})};function td(r,e,t){let n=0;e&&e.getFullYear()===r&&(n=e.getMonth());let o=11;t&&t.getFullYear()===r&&(o=t.getMonth());const a=[];for(let u=n;u<=o;u++)a.push(u);return a}function Sm(r,e,t,n=5){const o=[];let a=r-n/2+n%2/2;e&&a<e.getFullYear()&&(a=e.getFullYear());let u=a+n-1;t&&u>t.getFullYear()&&(u=t.getFullYear());for(let f=a;f<=u;f++)o.push(f);return o}function dy(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 hy(r,e){return[e,r]}const Md=r=>C.jsx(Ho,{className:Be.clsx(Vr.ChoiceButton,"Headline2"),type:"Secondary",...r}),z6=["Primary","Secondary","Raw"],Cm=r=>{const{type:e="Primary",className:t,useDate:n,actionRef:o,position:a=af.SE,minDate:u,maxDate:f,isDisabled:d,isLoading:h,placeholder:x,LeftAddon:_,RightAddon:v,resources:y,noClearButton:b,onClick:T,...w}=r,S=k.useMemo(()=>({...Ur.ADatePicker,...y}),[y]),E=k.useMemo(()=>x??S["Select Date"],[x,S]),[R,I]=k.useMemo(()=>{let qe,Qe;return u&&(qe=Zt.makeSDate(u)),f&&(Qe=Zt.makeEDate(f)),qe&&Qe&&Zt["<"](Qe,qe)?(console.warn("ADatePicker: maxDate should be greater than minDate. maxDate and minDate are swapped."),[Zt.makeSDate(Qe),Zt.makeEDate(qe)]):[qe,Qe]},[u,f]),[P,j]=dn(n,null),[q,$]=k.useState(P?Zt.toString(P):""),[G,re]=k.useState(()=>{const qe=P??new Date;return R&&qe<R?R.getMonth():I&&qe>I?I.getMonth():(qe??new Date).getMonth()}),[F,W]=k.useState(()=>{const qe=P??new Date;return R&&qe<R?R.getFullYear():I&&qe>I?I.getFullYear():(qe??new Date).getFullYear()}),V=k.useCallback(qe=>{W(qe);const Qe=td(qe,R,I);Qe.includes(G)||(G<Qe[0]?re(Qe[0]):G>Qe[Qe.length-1]&&re(Qe[Qe.length-1]))},[R,I,G]),ee=k.useCallback(qe=>{if(qe.length>10||($(qe),qe.length<10)||!j)return;let Qe=Zt.toDate(qe);Qe&&(R&&Qe<R&&(Qe=R),I&&Qe>I&&(Qe=I),j(Qe),W(Qe.getFullYear()),re(Qe.getMonth()))},[j,R,I]),ue=k.useCallback(qe=>{const Qe=F+qe;Qe<0||W(Qe)},[F]),le=k.useCallback(qe=>{const Qe=G+qe;Qe<0?(re(11),ue(-1)):Qe>11?(re(0),ue(1)):re(Qe)},[G,ue]),de=k.useCallback(qe=>{j&&(qe===void 0?(j(void 0),$("")):(j(qe),$(Zt.toString(qe))))},[j]),fe=k.useMemo(()=>{const qe=new Date(F,G,0);return R&&qe<R},[F,G,R]),ve=k.useMemo(()=>{const qe=new Date(F,G+1,1);return I&&qe>I},[F,G,I]),te=k.useCallback(()=>{fe||le(-1)},[le,fe]),ce=k.useCallback(()=>{ve||le(1)},[le,ve]),[pe,ye]=k.useState(null),Ie=k.useCallback(()=>{j&&ye(null)},[j]),oe=k.useCallback(qe=>{j&&ye(qe)},[j]),we=k.useMemo(()=>{const qe=new Date(F,G,1),Qe=new Date(F,G+1,0),St=[];for(let Et=0;Et<qe.getDay();Et++){const It=new Date(F,G,0).getDate()-qe.getDay()+Et+1,Ot=new Date(F,G-1,It),pr=R&&R>Ot||I&&I<Ot,br=P&&Zt.eq(Ot,P),Or=pe&&Zt.eq(Ot,pe);St.push({day:It,isSelected:br,date:Ot,isDisabled:pr,isHovered:Or,isCurrentMonth:!1})}for(let Et=1;Et<=Qe.getDate();Et++){const Ze=new Date(F,G,Et),It=R&&R>Ze||I&&I<Ze,Ot=P&&Zt.eq(Ze,P),pr=pe&&Zt.eq(Ze,pe);St.push({day:Et,isSelected:Ot,date:Ze,isDisabled:It,isHovered:pr,isCurrentMonth:!0})}for(let Et=0;Et<7-Qe.getDay()-1;Et++){const Ze=new Date(F,G+1,Et+1),It=R&&R>Ze||I&&I<Ze,Ot=P&&Zt.eq(Ze,P),pr=pe&&Zt.eq(Ze,pe);St.push({day:Et+1,isSelected:Ot,date:Ze,isDisabled:It,isHovered:pr,isCurrentMonth:!1})}const Dt=[];for(let Et=0;Et<St.length/7;Et++)Dt.push(C.jsx("div",{className:fn.Week,children:St.slice(Et*7,Et*7+7).map((Ze,It)=>C.jsx(Ho,{isDisabled:Ze.isDisabled,type:"Raw",className:Be.clsx(fn.Cell,Ze.isDisabled?fn.IsDisabled:Ze.isCurrentMonth?Ze.isSelected?fn.IsSelected:Ze.isHovered&&fn.IsHovered:fn.IsNotCurrentMonth),onClick:()=>Ze.isCurrentMonth&&de(Ze.date),onMouseEnter:()=>Ze.isCurrentMonth&&oe(Ze.date),onMouseLeave:()=>Ze.isCurrentMonth&&Ie(),children:Ze.day},It))},Et));return Dt},[G,de,P,F,R,I,pe,Ie,oe]),Oe=k.useRef(null),Ue=k.useCallback(()=>{Oe&&ym(Oe,Te,a)},[Oe,a]),[We,Se]=k.useState(!1),[_e,Ce]=k.useState(!1),Te=k.useRef(null),Ne=k.useCallback(()=>{d||h||(Se(!0),setTimeout(()=>Ce(!0),0),setTimeout(()=>Ue(),0),$(P?Zt.toString(P):""),re(()=>{const qe=P??new Date;return R&&qe<R?R.getMonth():I&&qe>I?I.getMonth():qe.getMonth()}),W(()=>{const qe=P??new Date;return R&&qe<R?R.getFullYear():I&&qe>I?I.getFullYear():qe.getFullYear()}))},[d,h,P,Ue,R,I]),ot=k.useCallback(()=>{d||h||(Se(!0),Ce(!1))},[d,h]),$e=k.useMemo(()=>_e?ot:Ne,[_e,Ne,ot]),tt=k.useCallback(()=>Se(!1),[]),at=k.useCallback(qe=>{const Qe=document.getElementById("root"),St=qe.target,Dt=Te.current,Et=Oe.current;!Qe||!Dt||!St||!Et||!Dt.contains(St)&&Qe.contains(St)&&!Et.contains(St)&&ot()},[ot]);k.useEffect(()=>{if(_e)return setTimeout(()=>document.addEventListener("mousedown",at),0),()=>document.removeEventListener("mousedown",at)},[_e,at]);const De=k.useCallback(()=>{Ue()},[Ue]);k.useEffect(()=>{if(!_e||!(Oe!=null&&Oe.current))return;const qe=Oe.current;let Qe=qe.parentElement;for(;Qe;)Qe.addEventListener("scroll",De),Qe=Qe.parentElement;return()=>{let St=qe.parentElement;for(;St;)St.removeEventListener("scroll",De),St=St.parentElement}},[Oe,_e,De]),k.useEffect(()=>{if(_e)return window.addEventListener("resize",De),()=>window.removeEventListener("resize",De)},[_e,De]);const Ke=k.useCallback(qe=>{qe[0].intersectionRatio===0&&ot()},[ot]);k.useEffect(()=>{if(!_e)return;const qe=new IntersectionObserver(Ke,{threshold:0});return Te.current&&qe.observe(Te.current),()=>qe.disconnect()},[Te,_e,Ke]),k.useEffect(()=>{o&&(o.current={open:Ne,close:ot,toggle:$e})},[o,Ne,ot,$e]);const yt=k.useCallback(qe=>{T==null||T(qe),$e()},[T,$e]),_t=k.useCallback(qe=>{de(void 0),ot(),qe.stopPropagation()},[de,ot]),bt=k.useCallback(()=>P?C.jsx(mo,{icon:"Close",style:{scale:"0.8"},type:"Raw",onClick:_t}):null,[P,_t]),At=k.useMemo(()=>P?Zt.toString(P):C.jsx("span",{className:fn.Placeholder,children:E}),[P,E]);return C.jsxs(C.Fragment,{children:[C.jsxs(Zr,{...w,abaseRef:Oe,className:Be.clsx(fn.Anchor,"IsClickable",fn[e],t),isDisabled:d,isLoading:h,onClick:yt,children:[_,e==="Primary"&&C.jsxs(C.Fragment,{children:[C.jsx(Nr,{className:Be.clsx(fn.Icon,fn[e]),icon:"CalendarDay"}),C.jsx(Tn,{w:4})]}),At,C.jsx(ou,{}),!b&&C.jsx(bt,{}),e==="Secondary"&&C.jsx(Nr,{className:Be.clsx(fn.Icon,fn[e]),icon:"CalendarDay"}),v&&v]}),(_e||We)&&$s.createPortal(C.jsxs("div",{ref:Te,className:fn.ADatePicker,style:{opacity:+_e,visibility:_e?"visible":"hidden"},onTransitionEnd:tt,children:[C.jsx("div",{className:fn.StringInputContainer,children:C.jsx(sc,{className:fn.String,inputProps:{className:fn.StringInput},maxLength:P?30:11,placeholder:"YYYY-MM-DD",useValue:[q,ee],wrapProps:{className:fn.StringInputWrap}})}),C.jsxs("div",{className:fn.CalendarContainer,children:[C.jsxs(En,{className:fn.Header,children:[C.jsx(Ho,{className:fn.Prev,isDisabled:fe,type:"Raw",onClick:te}),C.jsxs("div",{className:fn.MonthYear,children:[C.jsx(ac,{isAutoWidth:!0,className:fn.Select,OptionRenderer:qe=>S.months(qe.option),options:td(F,R,I),SelectedRenderer:qe=>S.months(qe.selectedOption),type:"Secondary",useSelect:[G,re]}),C.jsx(Tn,{w:8}),C.jsx(ac,{isAutoWidth:!0,className:fn.Select,options:Sm(F,R,I),type:"Secondary",useSelect:[F,V]})]}),C.jsx(Ho,{className:fn.Next,isDisabled:ve,type:"Raw",onClick:ce})]}),C.jsx(Tn,{h:10}),C.jsxs("div",{className:fn.Calendar,children:[C.jsx("div",{className:fn.Week,children:[0,1,2,3,4,5,6].map(qe=>C.jsx("div",{className:Be.clsx(fn.WeekDay,fn.Cell),children:S.weekDays(qe)},qe))}),we]})]})]}),document.body)]})},$6="_Paper_e69j5_1",U6="_Card_e69j5_15",W6="_Body_e69j5_26",V6="_Title_e69j5_35",G6="_Content_e69j5_42",Z6="_Action_e69j5_45",K6="_Button_e69j5_58",Sa={Paper:$6,Card:U6,Body:W6,Title:V6,Content:G6,Action:Z6,Button:K6},Y6=["okCancel","cancelOk","ok","cancel","none"],X6=r=>{const{dlgCore:e,type:t="okCancel",title:n,children:o,style:a,titleStyle:u,bodyStyle:f,contentStyle:d,okButtonStyle:h,cancelButtonStyle:x,actionStyle:_,onOk:v,onCancel:y,onClose:b,onEnterPress:T,onEscPress:w,onSpacePress:S,onPaperClick:E,noDim:R=!1,isLoading:I,isOkDisabled:P,isOkLoading:j,isCancelDisabled:q,isCancelLoading:$,buttonNoInteractive:G,okButtonClassName:re,cancelButtonClassName:F,progress:W,progressProps:V,resources:ee}=r,ue=k.useMemo(()=>({...Ur.ADialog,...ee}),[ee]),[le,de]=k.useState(0);k.useEffect(()=>de(1),[]);const fe=k.useCallback(()=>{de(0)},[]),ve=k.useCallback(()=>{if(!le){const[,Te]=e.state.useIsOpen;Te==null||Te(!1),b==null||b()}},[le,b,e]),te=k.useCallback(async()=>{if(!le||t==="cancel"||t==="none"||I||P||j)return;const{event:Te,e:Ne}=Xc();await(v==null?void 0:v(Ne)),!Te.preventDefault&&fe()},[le,t,fe,v,P,I,j]),ce=k.useCallback(async()=>{if(!le||t==="ok"||t==="none"||I||q||$)return;const{event:Te,e:Ne}=Xc();await(y==null?void 0:y(Ne)),!Te.preventDefault&&fe()},[le,t,fe,y,q,I,$]);k.useEffect(()=>{e&&e.state.setAction({close:fe,ok:te,cancel:ce})},[e,fe,te,ce]);const pe=k.useCallback(async()=>{if(I)return;const{event:Te,e:Ne}=Xc();await(T==null?void 0:T(Ne)),!Te.preventDefault&&te()},[T,I,te]),ye=k.useCallback(async()=>{if(I)return;const{event:Te,e:Ne}=Xc();await(S==null?void 0:S(Ne)),!Te.preventDefault&&te()},[S,I,te]),Ie=k.useCallback(async()=>{if(I)return;const{event:Te,e:Ne}=Xc();await(w==null?void 0:w(Ne)),!Te.preventDefault&&ce()},[w,I,ce]),oe=k.useRef(null),we=k.useCallback(Te=>{const Ne=document.body.getElementsByClassName(Sa.Paper);Ne.length===0||Ne[Ne.length-1]!==oe.current||(Te.key==="Enter"&&le?pe():Te.key===" "&&le?ye():Te.key==="Escape"&&le&&Ie())},[le,pe,ye,Ie]);k.useEffect(()=>{if(le)return window.addEventListener("keydown",we),()=>window.removeEventListener("keydown",we)},[le,we]);const Oe=k.useRef(!1),Ue=k.useRef(!1),We=k.useCallback(()=>{Oe.current=!0},[]),Se=k.useCallback(()=>{Oe.current=!1,Ue.current=!1},[]),_e=k.useCallback(()=>{Ue.current=!0},[]),Ce=k.useCallback(async()=>{if(I)return;const Te=!Ue.current||Oe.current;if(Oe.current=!1,Ue.current=!1,Te)return;const{event:Ne,e:ot}=Xc();await(E==null?void 0:E(ot)),!Ne.preventDefault&&ce()},[E,I,ce]);return $s.createPortal(C.jsx("div",{ref:oe,className:Sa.Paper,style:{backgroundColor:R?"transparent":void 0,pointerEvents:le?void 0:"none",opacity:le},onMouseDown:_e,onMouseUp:Ce,onTransitionEnd:ve,children:C.jsxs(Zr,{className:Sa.Card,isLoading:I,progress:W,progressProps:V,style:a,onMouseDown:We,onMouseUp:Se,children:[C.jsxs("div",{className:Sa.Body,style:f,children:[n&&C.jsx(J6,{title:n,titleStyle:u}),o&&C.jsx("div",{className:Sa.Content,style:d,children:o})]}),t!=="none"&&C.jsx(Q6,{type:t,ok:te,cancel:ce,resources:ue,isOkDisabled:P,isOkLoading:j,isCancelDisabled:q,isCancelLoading:$,okButtonStyle:h,cancelButtonStyle:x,actionStyle:_,buttonNoInteractive:G,okButtonClassName:re,cancelButtonClassName:F})]})}),document.body)},J6=r=>{const{title:e,titleStyle:t}=r;return C.jsx("div",{className:Be.clsx(Sa.Title,"NoSelect","Title3"),style:t,children:e})},Q6=r=>{const{type:e,ok:t,cancel:n,resources:o,isOkDisabled:a,isOkLoading:u,isCancelDisabled:f,isCancelLoading:d,okButtonStyle:h,cancelButtonStyle:x,actionStyle:_,buttonNoInteractive:v,okButtonClassName:y,cancelButtonClassName:b}=r,T=k.useMemo(()=>({onClick:t,isDisabled:a,isLoading:u,children:o.Ok,style:h,noInteractive:v,className:Be.clsx(Sa.Button,y)}),[t,a,u,o.Ok,h,v,y]),w=k.useMemo(()=>({type:"Secondary",onClick:n,isDisabled:f,isLoading:d,children:o.Cancel,style:x,noInteractive:v,className:Be.clsx(Sa.Button,b)}),[n,f,d,o.Cancel,x,v,b]);if(e==="okCancel"||e==="ok")return C.jsxs("div",{className:Sa.Action,style:{..._},children:[C.jsx(Ho,{...T}),e==="okCancel"&&C.jsxs(C.Fragment,{children:[C.jsx(Tn,{w:8}),C.jsx(Ho,{...w})]})]},e);if(e==="cancelOk"||e==="cancel")return C.jsxs("div",{className:Sa.Action,children:[C.jsx(Ho,{...w}),e==="cancelOk"&&C.jsxs(C.Fragment,{children:[C.jsx(Tn,{w:8}),C.jsx(Ho,{...T})]})]},e)},ek=r=>{const e=k.useMemo(()=>Math.random().toFixed(32),[]),t=k.useMemo(()=>{const y={};return r.forEach(b=>{y[b]=b+e}),y},[r,e]),n=k.useMemo(()=>[],[]),o=k.useMemo(()=>(n.length=0,n.push(...r),n),[n,r]),[a,u]=k.useState([]),f=k.useRef((()=>{const y={};return o.forEach(b=>{y[b]={open:()=>u(T=>[...T,b]),close:()=>{},ok:()=>{},cancel:()=>{}}}),y})()),d=k.useMemo(()=>{const y={};return o.forEach(b=>{y[b]=T=>{u(w=>!T&&w.includes(b)?w.filter(S=>S!==b):T&&!w.includes(b)?[...w,b]:w)}}),y},[o]),h=k.useMemo(()=>{const y={};return o.forEach(b=>{const w=[a.includes(b),d[b]],S=E=>{f.current[b]={...f.current[b],...E}};y[b]={useIsOpen:w,setAction:S}}),y},[a,d,o]),x=k.useMemo(()=>{const y={};return o.forEach(b=>{const T=()=>f.current[b].open(),w=()=>f.current[b].close(),S=()=>f.current[b].ok(),E=()=>f.current[b].cancel();y[b]={open:T,close:w,ok:S,cancel:E}}),y},[o]),_=k.useMemo(()=>({}),[]),v=k.useMemo(()=>(o.forEach(y=>{_[y]={state:h[y],action:x[y]}}),_),[_,o,h,x]);return k.useEffect(()=>(Object.keys(v).forEach(b=>{const T=v[b],w=t[b],S=qs.find(E=>{E.id});S?S.core=T:qs.push({id:w,core:T})}),()=>{const b=Object.keys(v),T=qs.filter(w=>b.includes(w.id));qs.length=0,qs.push(...T)}),[v,t]),v},tk=()=>{const r=k.useMemo(()=>Math.random().toFixed(32),[]),[e,t]=k.useState(!1),n=k.useRef({open:()=>t(!0),close:()=>{},ok:()=>{},cancel:()=>{}}),o=k.useMemo(()=>({useIsOpen:[e,t],setAction:d=>{n.current={...n.current,...d}}}),[e]),a=k.useMemo(()=>({open:()=>n.current.open(),close:()=>n.current.close(),ok:()=>n.current.ok(),cancel:()=>n.current.cancel()}),[]),u=k.useMemo(()=>({}),[]),f=k.useMemo(()=>(u.state=o,u.action=a,u),[u,o,a]);return k.useEffect(()=>{const d=qs.find(h=>h.id===r);return d?d.core=f:qs.push({id:r,core:f}),()=>{const h=qs.filter(x=>x.id!==r);qs.length=0,qs.push(...h)}},[r,f]),f},rk=r=>{const{dlgCore:e,children:t}=r,[n,o]=k.useMemo(()=>e.state.useIsOpen,[e.state.useIsOpen]);return k.useEffect(()=>()=>o==null?void 0:o(!1),[o]),C.jsx(k.Suspense,{children:n&&t})},nk=r=>e=>{const{dlgCore:t}=e;return C.jsx(rk,{dlgCore:t,children:k.cloneElement(C.jsx(r,{...e}),{dlgCore:t})})},qs=[],ok={closeAllDlgs:()=>{qs.forEach(r=>{r.core.action.close()})}},ik="_AFileBox_1hlo1_1",sk="_SelectedFile_1hlo1_16",ak="_Dropping_1hlo1_26",wm={AFileBox:ik,SelectedFile:sk,Dropping:ak},lk=r=>{const{useFile:e,FileRenderer:t=ck,SelectRenderer:n=uk,DropRenderer:o=fk,resources:a,accept:u="",onInvalidFileFormat:f,fileSelectButtonClassName:d,isDisabled:h,isLoading:x,className:_,...v}=r,y=k.useMemo(()=>({...Ur.AFileBox,...a}),[a]),b=k.useRef(null),T=k.useRef(null),[w,S]=dn(e,null),[E,R]=k.useState(!1),I=k.useMemo(()=>u.split(",").map(ee=>ee.trim()).filter(ee=>ee.length>0&&ee.startsWith(".")),[u]),P=k.useCallback(ee=>{if(I.length===0)return!1;const ue=ee.name.split(".").pop();return ue?!I.includes(`.${ue}`):!0},[I]),j=k.useCallback(ee=>{if(S)if(P(ee)){f==null||f();return}else S(ee);else return},[S,P,f]),q=k.useCallback(ee=>{ee.target.files&&ee.target.files.length>0&&j(ee.target.files[0])},[j]),$=k.useCallback(ee=>{ee.preventDefault(),R(!1),!(h||x)&&ee.dataTransfer.files&&ee.dataTransfer.files.length>0&&j(ee.dataTransfer.files[0])},[j,h,x]),G=k.useCallback(ee=>{ee.preventDefault(),!(h||x)&&R(!0)},[h,x]),re=k.useCallback(ee=>{ee.target===b.current&&ee.relatedTarget.contains(b.current.parentElement)&&(ee.preventDefault(),R(!1))},[]),F=k.useCallback(ee=>ee.preventDefault(),[]),W=k.useCallback(()=>{var ee;(ee=T.current)==null||ee.click()},[]),V=k.useMemo(()=>E?C.jsx(o,{resources:y}):w?C.jsx(t,{file:w,useFile:e}):C.jsx(n,{fileSelectButtonClassName:d,resources:y,onClick:W}),[t,n,o,y,E,w,e,d,W]);return C.jsxs(Zr,{...v,abaseRef:b,className:Be.clsx(wm.AFileBox,_),isDisabled:h,isLoading:x,onDragEnter:G,onDragLeave:re,onDragOver:F,onDrop:$,children:[C.jsx("input",{ref:T,accept:u,style:{display:"none"},type:"file",value:"",onChange:q}),V]})},ck=r=>{const{file:e,useFile:t}=r,[,n]=dn(t,null);return C.jsxs(En,{className:wm.SelectedFile,style:{backgroundColor:""},children:[C.jsx(Nr,{icon:"File"}),C.jsx(Aa,{children:e.name}),C.jsx(mo,{icon:"Close",style:{marginLeft:2,transform:"scale(0.8)"},type:"Raw",onClick:()=>n==null?void 0:n(null)})]})},uk=r=>{const{onClick:e,resources:t,fileSelectButtonClassName:n}=r;return C.jsxs(En,{className:Be.clsx("NoSelect"),style:{gap:4},children:[C.jsx(Ho,{className:n,onClick:e,children:t["Select File"]}),t["or Drag & Drop"]]})},fk=r=>{const{resources:e}=r;return C.jsxs(Z2,{className:Be.clsx(wm.Dropping,"NoSelect","Headline2"),children:[C.jsx(Nr,{icon:"FileDownload"}),e["drop file to select"]]})},dk="_AFileUploader_4niz4_1",hk="_LabelContainer_4niz4_15",pk="_LabelButton_4niz4_24",gk="_Disabled_4niz4_30",mk="_Delete_4niz4_33",vk="_FileSize_4niz4_37",yk="_TotalFileSize_4niz4_44",bk="_FileBox_4niz4_48",_k="_SelectRenderer_4niz4_67",xk="_ChipsContainer_4niz4_78",Sk="_FileChip_4niz4_89",Ck="_FileChipContent_4niz4_101",wk="_FileNameContainer_4niz4_112",Ak="_ButtonRenderer_4niz4_118",Ek="_ErrorBorder_4niz4_129",Tk="_ErrorColor_4niz4_133",kk="_ErrorCursor_4niz4_137",jn={AFileUploader:dk,LabelContainer:hk,LabelButton:pk,Disabled:gk,Delete:mk,FileSize:vk,TotalFileSize:yk,FileBox:bk,SelectRenderer:_k,ChipsContainer:xk,FileChip:Sk,FileChipContent:Ck,FileNameContainer:wk,ButtonRenderer:Ak,ErrorBorder:Ek,ErrorColor:Tk,ErrorCursor:kk},Rk=({file:r,baseClass:e,errorClass:t,errorCursorClass:n,resources:o,onDownload:a})=>{const[u,f]=k.useState(!1);return C.jsx(mo,{className:Be.clsx(e,t,n),icon:u?"FileDownload":"CircleAlertOutline",iconSize:"sm",tooltip:o["Fail Download"],type:"Raw",onClick:()=>a(r),onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1)})},Ik=r=>{const{helperText:e,label:t,labelProps:n,wrapProps:o,wrapType:a,errorMessage:u,useFiles:f,accept:d,onInvalidFileFormat:h,onDownload:x,onDelete:_,type:v,limit:y=1024*1024*1024,maxFileCount:b,useError:T,isLoading:w,resources:S,className:E,...R}=r,I=k.useMemo(()=>({...Ur.AFileUploader,...S}),[S]),[P,j]=dn(f,void 0),[q,$]=dn(T,!1),[G,re]=k.useState({}),[F,W]=k.useState(!1),V=k.useRef(0),ee=k.useRef({}),ue=k.useRef(null),le=k.useRef(null),de=k.useCallback(De=>De.uniqueId||`${De.name}-${De.size}-${De.lastModified||""}-${De.idx||""}`,[]),fe=k.useMemo(()=>(P==null?void 0:P.reduce((De,Ke)=>De+Ke.size,0))||0,[P]);k.useEffect(()=>{$&&$(fe>y)},[fe,y,$]);const ve=k.useCallback(De=>{var _t;if(!d||d==="*"||d==="")return!0;const Ke=d.split(",").map(bt=>bt.trim()),yt=`.${(_t=De.name.split(".").pop())==null?void 0:_t.toLowerCase()}`;return Ke.includes(yt)?!0:Ke.some(bt=>{var At;if(bt.startsWith("."))return!1;if(bt.endsWith("/*")){const qe=bt.split("/")[0];return(At=De.type)==null?void 0:At.startsWith(`${qe}/`)}return De.type===bt})},[d]),te=k.useCallback((De,Ke)=>{const yt={...ee.current};yt[De]=Ke,ee.current=yt,re(yt)},[re]),ce=k.useCallback(De=>{const Ke=de(De);return G[Ke]||"Normal"},[G,de]),pe=k.useCallback(De=>w||ce(De)==="Loading",[w,ce]),ye=k.useCallback(De=>ce(De)==="Error"||v==="Upload"&&De.size>y,[ce,y,v]),Ie=k.useMemo(()=>P!=null&&P.length?v==="Download"?P.every(ye):!1:!0,[P,v,ye]),oe=k.useCallback(()=>{ue.current&&(ue.current.value="")},[]),we=k.useMemo(()=>!b||!(P!=null&&P.length)?!1:P.length>=b,[P,b]),Oe=k.useCallback(De=>{if(!j)return;const Ke=[];let yt=!1,_t=[],bt=b?b-((P==null?void 0:P.length)||0):1/0;if(!(bt<=0)){if(Array.from(De).forEach((At,qe)=>{if(qe>=bt)return;if(!ve(At)){yt=!0,_t.push(At.name);return}const Qe=At;Qe.uniqueId=`file-${Date.now()}-${V.current++}`,Ke.push(Qe)}),yt)if(h)h();else{const At=d?d.replace(/,/g,", "):"",qe=At?`${I["Supported file format(s)"]}: ${At}`:"",Qe=_t.length>3?`${_t.slice(0,3).join(", ")} ${I.and} ${_t.length-3} ${I["more file(s)"]}`:_t.join(", ");alert(`${I["Unsupported file format detected."]}
|
156
|
+
`+g.stack}}var Dl=t.ReactCurrentDispatcher,ha=t.ReactDebugCurrentFrame,Pl=0,di=1,Nl=2,Rs=3,Eu=4,Ua=0,pa=1,ga=2,Lc=12800;function Tu(p){return console.error(p),null}function Is(){}function jl(p,s,c,g,A,N,z,Y,he){var Le=[],rt=new Set,pt={destination:null,responseState:s,progressiveChunkSize:g===void 0?Lc:g,status:Ua,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:rt,pingedTasks:Le,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:A===void 0?Tu:A,onAllReady:N===void 0?Is:N,onShellReady:z===void 0?Is:z,onShellError:Y===void 0?Is:Y,onFatalError:he===void 0?Is:he},Lt=Wa(pt,0,null,c,!1,!1);Lt.parentFlushed=!0;var nr=ji(pt,p,null,Lt,rt,Pn,El,xf);return Le.push(nr),pt}function Ni(p,s){var c=p.pingedTasks;c.push(s),c.length===1&&u(function(){return zc(p)})}function Fl(p,s){return{id:Eo,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s,errorDigest:null}}function ji(p,s,c,g,A,N,z,Y){p.allPendingTasks++,c===null?p.pendingRootTasks++:c.pendingTasks++;var he={node:s,ping:function(){return Ni(p,he)},blockedBoundary:c,blockedSegment:g,abortSet:A,legacyContext:N,context:z,treeContext:Y};return he.componentStack=null,A.add(he),he}function Wa(p,s,c,g,A,N){return{status:Pl,id:-1,index:s,parentFlushed:!1,chunks:[],children:[],formatContext:g,boundary:c,lastPushedText:A,textEmbedded:N}}var Xo=null;function Jo(){return Xo===null||Xo.componentStack===null?"":da(Xo.componentStack)}function hi(p,s){p.componentStack={tag:0,parent:p.componentStack,type:s}}function Va(p,s){p.componentStack={tag:1,parent:p.componentStack,type:s}}function ns(p,s){p.componentStack={tag:2,parent:p.componentStack,type:s}}function Qo(p){p.componentStack===null?o("Unexpectedly popped too many stack frames. This is a bug in React."):p.componentStack=p.componentStack.parent}var ma=null;function Bl(p,s){{var c;typeof s=="string"?c=s:s&&typeof s.message=="string"?c=s.message:c=String(s);var g=ma||Jo();ma=null,p.errorMessage=c,p.errorComponentStack=g}}function Ga(p,s){var c=p.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 va(p,s){var c=p.onShellError;c(s);var g=p.onFatalError;g(s),p.destination!==null?(p.status=ga,E(p.destination,s)):(p.status=pa,p.fatalError=s)}function ku(p,s,c){hi(s,"Suspense");var g=s.blockedBoundary,A=s.blockedSegment,N=c.fallback,z=c.children,Y=new Set,he=Fl(p,Y),Le=A.chunks.length,rt=Wa(p,Le,he,A.formatContext,!1,!1);A.children.push(rt),A.lastPushedText=!1;var pt=Wa(p,0,null,A.formatContext,!1,!1);pt.parentFlushed=!0,s.blockedBoundary=he,s.blockedSegment=pt;try{if(os(p,s,z),yn(pt.chunks,p.responseState,pt.lastPushedText,pt.textEmbedded),pt.status=di,is(he,pt),he.pendingTasks===0){Qo(s);return}}catch(nr){pt.status=Eu,he.forceClientRender=!0,he.errorDigest=Ga(p,nr),Bl(he,nr)}finally{s.blockedBoundary=g,s.blockedSegment=A}var Lt=ji(p,N,g,rt,Y,s.legacyContext,s.context,s.treeContext);Lt.componentStack=s.componentStack,p.pingedTasks.push(Lt),Qo(s)}function Oc(p,s,c,g){hi(s,c);var A=s.blockedSegment,N=mr(A.chunks,c,g,p.responseState,A.formatContext);A.lastPushedText=!1;var z=A.formatContext;A.formatContext=Ao(z,c,g),os(p,s,N),A.formatContext=z,Er(A.chunks,c),A.lastPushedText=!1,Qo(s)}function Mc(p){return p.prototype&&p.prototype.isReactComponent}function Ls(p,s,c,g,A){var N={};Ac(s,N);var z=c(g,A);return Es(c,g,z,A)}function Dc(p,s,c,g,A){var N=c.render();c.props!==A&&(Nc||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",cn(g)||"a component"),Nc=!0);{var z=g.childContextTypes;if(z!=null){var Y=s.legacyContext,he=vc(c,g,Y,z);s.legacyContext=he,so(p,s,N),s.legacyContext=Y;return}}so(p,s,N)}function Hl(p,s,c,g){ns(s,c);var A=Ki(c,s.legacyContext),N=ui(c,g,A);qa(N,c,g,A),Dc(p,s,N,c,g),Qo(s)}var vr={},Za={},Pc={},Os={},Nc=!1,Ru=!1,jc=!1,No=!1;function Ef(p,s,c,g){var A;if(A=Ki(c,s.legacyContext),Va(s,c),c.prototype&&typeof c.prototype.render=="function"){var N=cn(c)||"Unknown";vr[N]||(o("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.",N,N),vr[N]=!0)}var z=Ls(p,s,c,g,A),Y=go();if(typeof z=="object"&&z!==null&&typeof z.render=="function"&&z.$$typeof===void 0){var he=cn(c)||"Unknown";Za[he]||(o("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.",he,he,he),Za[he]=!0)}if(typeof z=="object"&&z!==null&&typeof z.render=="function"&&z.$$typeof===void 0){{var Le=cn(c)||"Unknown";Za[Le]||(o("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.",Le,Le,Le),Za[Le]=!0)}qa(z,c,g,A),Dc(p,s,z,c,g)}else if(ql(c),Y){var rt=s.treeContext,pt=1,Lt=0;s.treeContext=xc(rt,pt,Lt);try{so(p,s,z)}finally{s.treeContext=rt}}else so(p,s,z);Qo(s)}function ql(p){{if(p&&p.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",p.displayName||p.name||"Component"),typeof p.getDerivedStateFromProps=="function"){var s=cn(p)||"Unknown";Os[s]||(o("%s: Function components do not support getDerivedStateFromProps.",s),Os[s]=!0)}if(typeof p.contextType=="object"&&p.contextType!==null){var c=cn(p)||"Unknown";Pc[c]||(o("%s: Function components do not support contextType.",c),Pc[c]=!0)}}}function zl(p,s){if(p&&p.defaultProps){var c=Lo({},s),g=p.defaultProps;for(var A in g)c[A]===void 0&&(c[A]=g[A]);return c}return s}function Iu(p,s,c,g,A){Va(s,c.render);var N=Ls(p,s,c.render,g,A),z=go();if(z){var Y=s.treeContext,he=1,Le=0;s.treeContext=xc(Y,he,Le);try{so(p,s,N)}finally{s.treeContext=Y}}else so(p,s,N);Qo(s)}function $l(p,s,c,g,A){var N=c.type,z=zl(N,g);Ka(p,s,N,z,A)}function jo(p,s,c,g){c._context===void 0?c!==c.Consumer&&(No||(No=!0,o("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 A=g.children;typeof A!="function"&&o("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 N=ca(c),z=A(N);so(p,s,z)}function Ln(p,s,c,g){var A=c._context,N=g.value,z=g.children,Y;Y=s.context,s.context=yc(A,N),so(p,s,z),s.context=vf(A),Y!==s.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Fc(p,s,c,g,A){hi(s,"Lazy");var N=c._payload,z=c._init,Y=z(N),he=zl(Y,g);Ka(p,s,Y,he,A),Qo(s)}function Ka(p,s,c,g,A){if(typeof c=="function")if(Mc(c)){Hl(p,s,c,g);return}else{Ef(p,s,c,g);return}if(typeof c=="string"){Oc(p,s,c,g);return}switch(c){case Sl:case zo:case Ae:case Xe:case Ti:{so(p,s,g.children);return}case Cn:{hi(s,"SuspenseList"),so(p,s,g.children),Qo(s);return}case gu:throw new Error("ReactDOMServer does not yet support scope components.");case Br:{ku(p,s,g);return}}if(typeof c=="object"&&c!==null)switch(c.$$typeof){case ir:{Iu(p,s,c,g,A);return}case Kr:{$l(p,s,c,g,A);return}case ze:{Ln(p,s,c,g);return}case Nt:{jo(p,s,c,g);return}case ta:{Fc(p,s,c,g);return}}var N="";throw(c===void 0||typeof c=="object"&&c!==null&&Object.keys(c).length===0)&&(N+=" 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)+"."+N))}function Ul(p,s){typeof Symbol=="function"&&p[Symbol.toStringTag]==="Generator"&&(Ru||o("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."),Ru=!0),p.entries===s&&(jc||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),jc=!0)}function so(p,s,c){try{return Bc(p,s,c)}catch(g){throw typeof g=="object"&&g!==null&&typeof g.then=="function"||(ma=ma!==null?ma:Jo()),g}}function Bc(p,s,c){if(s.node=c,typeof c=="object"&&c!==null){switch(c.$$typeof){case pu:{var g=c,A=g.type,N=g.props,z=g.ref;Ka(p,s,A,N,z);return}case xl: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 ta:{var Y=c,he=Y._payload,Le=Y._init,rt;try{rt=Le(he)}catch(mi){throw typeof mi=="object"&&mi!==null&&typeof mi.then=="function"&&hi(s,"Lazy"),mi}so(p,s,rt);return}}if(Tt(c)){Hc(p,s,c);return}var pt=Gi(c);if(pt){Ul(c,pt);var Lt=pt.call(c);if(Lt){var nr=Lt.next();if(!nr.done){var Dr=[];do Dr.push(nr.value),nr=Lt.next();while(!nr.done);Hc(p,s,Dr);return}return}}var Kn=Object.prototype.toString.call(c);throw new Error("Objects are not valid as a React child (found: "+(Kn==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":Kn)+"). If you meant to render a collection of children, use an array instead.")}if(typeof c=="string"){var ss=s.blockedSegment;ss.lastPushedText=an(s.blockedSegment.chunks,c,p.responseState,ss.lastPushedText);return}if(typeof c=="number"){var gi=s.blockedSegment;gi.lastPushedText=an(s.blockedSegment.chunks,""+c,p.responseState,gi.lastPushedText);return}typeof c=="function"&&o("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 Hc(p,s,c){for(var g=c.length,A=0;A<g;A++){var N=s.treeContext;s.treeContext=xc(N,g,A);try{os(p,s,c[A])}finally{s.treeContext=N}}}function Wl(p,s,c){var g=s.blockedSegment,A=g.chunks.length,N=Wa(p,A,null,g.formatContext,g.lastPushedText,!0);g.children.push(N),g.lastPushedText=!1;var z=ji(p,s.node,s.blockedBoundary,N,s.abortSet,s.legacyContext,s.context,s.treeContext);s.componentStack!==null&&(z.componentStack=s.componentStack.parent);var Y=z.ping;c.then(Y,Y)}function os(p,s,c){var g=s.blockedSegment.formatContext,A=s.legacyContext,N=s.context,z=null;z=s.componentStack;try{return so(p,s,c)}catch(Y){if(Ec(),typeof Y=="object"&&Y!==null&&typeof Y.then=="function"){Wl(p,s,Y),s.blockedSegment.formatContext=g,s.legacyContext=A,s.context=N,Ji(N),s.componentStack=z;return}else throw s.blockedSegment.formatContext=g,s.legacyContext=A,s.context=N,Ji(N),s.componentStack=z,Y}}function Fi(p,s,c,g){var A=Ga(p,g);if(s===null?va(p,g):(s.pendingTasks--,s.forceClientRender||(s.forceClientRender=!0,s.errorDigest=A,Bl(s,g),s.parentFlushed&&p.clientRenderedBoundaries.push(s))),p.allPendingTasks--,p.allPendingTasks===0){var N=p.onAllReady;N()}}function Tf(p){var s=this,c=p.blockedBoundary,g=p.blockedSegment;g.status=Rs,ya(s,c,g)}function pi(p,s,c){var g=p.blockedBoundary,A=p.blockedSegment;if(A.status=Rs,g===null)s.allPendingTasks--,s.status!==ga&&(s.status=ga,s.destination!==null&&b(s.destination));else{if(g.pendingTasks--,!g.forceClientRender){g.forceClientRender=!0;var N=c===void 0?new Error("The render was aborted by the server without a reason."):c;g.errorDigest=s.onError(N);{var z="The server did not finish this Suspense boundary: ";N&&typeof N.message=="string"?N=z+N.message:N=z+String(N);var Y=Xo;Xo=p;try{Bl(g,N)}finally{Xo=Y}}g.parentFlushed&&s.clientRenderedBoundaries.push(g)}if(g.fallbackAbortableTasks.forEach(function(Le){return pi(Le,s,c)}),g.fallbackAbortableTasks.clear(),s.allPendingTasks--,s.allPendingTasks===0){var he=s.onAllReady;he()}}}function is(p,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===di&&is(p,c)}else{var g=p.completedSegments;g.push(s)}}function ya(p,s,c){if(s===null){if(c.parentFlushed){if(p.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");p.completedRootSegment=c}if(p.pendingRootTasks--,p.pendingRootTasks===0){p.onShellError=Is;var g=p.onShellReady;g()}}else if(s.pendingTasks--,!s.forceClientRender){if(s.pendingTasks===0)c.parentFlushed&&c.status===di&&is(s,c),s.parentFlushed&&p.completedBoundaries.push(s),s.fallbackAbortableTasks.forEach(Tf,p),s.fallbackAbortableTasks.clear();else if(c.parentFlushed&&c.status===di){is(s,c);var A=s.completedSegments;A.length===1&&s.parentFlushed&&p.partialBoundaries.push(s)}}if(p.allPendingTasks--,p.allPendingTasks===0){var N=p.onAllReady;N()}}function qc(p,s){var c=s.blockedSegment;if(c.status===Pl){Ji(s.context);var g=null;g=Xo,Xo=s;try{so(p,s,s.node),yn(c.chunks,p.responseState,c.lastPushedText,c.textEmbedded),s.abortSet.delete(s),c.status=di,ya(p,s.blockedBoundary,c)}catch(N){if(Ec(),typeof N=="object"&&N!==null&&typeof N.then=="function"){var A=s.ping;N.then(A,A)}else s.abortSet.delete(s),c.status=Eu,Fi(p,s.blockedBoundary,c,N)}finally{Xo=g}}}function zc(p){if(p.status!==ga){var s=yu(),c=Dl.current;Dl.current=Bn;var g;g=ha.getCurrentStack,ha.getCurrentStack=Jo;var A=ks;Ml(p.responseState);try{var N=p.pingedTasks,z;for(z=0;z<N.length;z++){var Y=N[z];qc(p,Y)}N.splice(0,z),p.destination!==null&&ao(p,p.destination)}catch(he){Ga(p,he),va(p,he)}finally{Ml(A),Dl.current=c,ha.getCurrentStack=g,c===Bn&&Ji(s)}}}function Ya(p,s,c){switch(c.parentFlushed=!0,c.status){case Pl:{var g=c.id=p.nextSegmentId++;return c.lastPushedText=!1,c.textEmbedded=!1,$r(s,p.responseState,g)}case di:{c.status=Nl;for(var A=!0,N=c.chunks,z=0,Y=c.children,he=0;he<Y.length;he++){for(var Le=Y[he];z<Le.index;z++)_(s,N[z]);A=Vl(p,s,Le)}for(;z<N.length-1;z++)_(s,N[z]);return z<N.length&&(A=v(s,N[z])),A}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Vl(p,s,c){var g=c.boundary;if(g===null)return Ya(p,s,c);if(g.parentFlushed=!0,g.forceClientRender)return Gn(s,p.responseState,g.errorDigest,g.errorMessage,g.errorComponentStack),Ya(p,s,c),La(s,p.responseState);if(g.pendingTasks>0){g.rootSegmentID=p.nextSegmentId++,g.completedSegments.length>0&&p.partialBoundaries.push(g);var A=g.id=On(p.responseState);return wi(s,p.responseState,A),Ya(p,s,c),ko(s,p.responseState)}else{if(g.byteSize>p.progressiveChunkSize)return g.rootSegmentID=p.nextSegmentId++,p.completedBoundaries.push(g),wi(s,p.responseState,g.id),Ya(p,s,c),ko(s,p.responseState);Zo(s,p.responseState);var N=g.completedSegments;if(N.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var z=N[0];return Vl(p,s,z),Qr(s,p.responseState)}}function $c(p,s,c){return du(s,p.responseState,c.id,c.errorDigest,c.errorMessage,c.errorComponentStack)}function Xa(p,s,c){return ar(s,p.responseState,c.formatContext,c.id),Vl(p,s,c),Xr(s,c.formatContext)}function Lu(p,s,c){for(var g=c.completedSegments,A=0;A<g.length;A++){var N=g[A];Uc(p,s,c,N)}return g.length=0,Ma(s,p.responseState,c.id,c.rootSegmentID)}function Ou(p,s,c){for(var g=c.completedSegments,A=0;A<g.length;A++){var N=g[A];if(!Uc(p,s,c,N))return A++,g.splice(0,A),!1}return g.splice(0,A),!0}function Uc(p,s,c,g){if(g.status===Nl)return!0;var A=g.id;if(A===-1){var N=g.id=c.rootSegmentID;if(N===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Xa(p,s,g)}else return Xa(p,s,g),ff(s,p.responseState,A)}function ao(p,s){x();try{var c=p.completedRootSegment;c!==null&&p.pendingRootTasks===0&&(Vl(p,s,c),p.completedRootSegment=null,tn(s,p.responseState));var g=p.clientRenderedBoundaries,A;for(A=0;A<g.length;A++){var N=g[A];$c(p,s,N)}g.splice(0,A);var z=p.completedBoundaries;for(A=0;A<z.length;A++){var Y=z[A];Lu(p,s,Y)}z.splice(0,A),y(s),x(s);var he=p.partialBoundaries;for(A=0;A<he.length;A++){var Le=he[A];if(!Ou(p,s,Le)){p.destination=null,A++,he.splice(0,A);return}}he.splice(0,A);var rt=p.completedBoundaries;for(A=0;A<rt.length;A++){var pt=rt[A];Lu(p,s,pt)}rt.splice(0,A)}finally{y(s),p.allPendingTasks===0&&p.pingedTasks.length===0&&p.clientRenderedBoundaries.length===0&&p.completedBoundaries.length===0&&(p.abortableTasks.size!==0&&o("There was still abortable task at the root when we closed. This is a bug in React."),b(s))}}function ei(p){u(function(){return zc(p)})}function kf(p,s){if(p.status===pa){p.status=ga,E(s,p.fatalError);return}if(p.status!==ga&&p.destination===null){p.destination=s;try{ao(p,s)}catch(c){Ga(p,c),va(p,c)}}}function Mu(p,s){try{var c=p.abortableTasks;c.forEach(function(g){return pi(g,p,s)}),c.clear(),p.destination!==null&&ao(p,p.destination)}catch(g){Ga(p,g),va(p,g)}}function Gl(p,s){return new Promise(function(c,g){var A,N,z=new Promise(function(Lt,nr){N=Lt,A=nr});function Y(){var Lt=new ReadableStream({type:"bytes",pull:function(nr){kf(Le,nr)},cancel:function(nr){Mu(Le)}},{highWaterMark:0});Lt.allReady=z,c(Lt)}function he(Lt){z.catch(function(){}),g(Lt)}var Le=jl(p,zr(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),vo(s?s.namespaceURI:void 0),s?s.progressiveChunkSize:void 0,s?s.onError:void 0,N,Y,he,A);if(s&&s.signal){var rt=s.signal,pt=function(){Mu(Le,rt.reason),rt.removeEventListener("abort",pt)};rt.addEventListener("abort",pt)}ei(Le)})}Ld.renderToReadableStream=Gl,Ld.version=e}()),Ld}var oy;function RE(){if(oy)return Xl;oy=1;var r,e;return process.env.NODE_ENV==="production"?(r=AE(),e=EE()):(r=TE(),e=kE()),Xl.version=r.version,Xl.renderToString=r.renderToString,Xl.renderToStaticMarkup=r.renderToStaticMarkup,Xl.renderToNodeStream=r.renderToNodeStream,Xl.renderToStaticNodeStream=r.renderToStaticNodeStream,Xl.renderToReadableStream=e.renderToReadableStream,Xl}var l2=RE();const fs=ka(l2);function qf(r,e,t){return e!==void 0&&r<e?e:t!==void 0&&r>t?t:r}const Qc={_canvas:null,_cache:new Map,_fontCache:{value:"",timestamp:0},_charWidthMap:new Map,clearCache(){this._cache.clear(),this._canvas=null,this._fontCache={value:"",timestamp:0},this._charWidthMap.clear()},getDefaultFont(){const r=Date.now();if(this._fontCache.value&&r-this._fontCache.timestamp<3e5)return this._fontCache.value;try{const e=getComputedStyle(document.documentElement).getPropertyValue("--Font").trim()||"400 14px pretendard";return this._fontCache={value:e,timestamp:r},e}catch{return"400 14px pretendard"}},measureCharWidth(r,e){var o,a,u,f,d,h;const t=`${r}|${e}`;if(this._charWidthMap.has(t))return this._charWidthMap.get(t);try{this._canvas||(this._canvas=document.createElement("canvas"));const x=this._canvas.getContext("2d");if(x){x.font=e;const _=x.measureText(r).width;return this._charWidthMap.set(t,_),_}}catch{}let n;return r===" "?n=parseInt(((o=e.match(/(\d+)px/))==null?void 0:o[1])||"14")/3:/^[A-Z]$/.test(r)?n=parseInt(((a=e.match(/(\d+)px/))==null?void 0:a[1])||"14")*.67:/^[a-z]$/.test(r)?n=parseInt(((u=e.match(/(\d+)px/))==null?void 0:u[1])||"14")*.5:/^\d$/.test(r)?n=parseInt(((f=e.match(/(\d+)px/))==null?void 0:f[1])||"14")*.6:/^[.,;:!?]$/.test(r)?n=parseInt(((d=e.match(/(\d+)px/))==null?void 0:d[1])||"14")*.25:n=parseInt(((h=e.match(/(\d+)px/))==null?void 0:h[1])||"14")*.67,this._charWidthMap.set(t,n),n},extractTextFromNode(r){if(r==null)return"";if(typeof r=="string")return r;if(typeof r=="number"||typeof r=="boolean")return`${r}`;if(Array.isArray(r))return r.map(e=>this.extractTextFromNode(e)).join("");if(k.isValidElement(r))try{const t=l2.renderToString(r).replace(/<[^>]*>/g,""),n=document.createElement("div");return n.innerHTML=t,n.textContent||""}catch{return r.props&&r.props.children?this.extractTextFromNode(r.props.children):""}return""},measureTextWidth(r,e){var a;if(!r)return 0;const t=e||this.getDefaultFont(),n=`${r}|${t}`,o=this._cache.get(n);if(o!==void 0)return o;try{this._canvas||(this._canvas=document.createElement("canvas"));const u=this._canvas.getContext("2d");if(u){u.font=t;const f=u.measureText(r),d=Math.ceil(f.width);return this._cache.size>=300&&[...this._cache.keys()].slice(0,50).forEach(x=>this._cache.delete(x)),this._cache.set(n,d),d}}catch{}try{const u=document.createElement("span");u.style.font=t,u.style.position="absolute",u.style.visibility="hidden",u.style.whiteSpace="nowrap",u.textContent=r,document.body.appendChild(u);const f=Math.ceil(u.getBoundingClientRect().width);return document.body.removeChild(u),this._cache.set(n,f),f}catch{}try{let u=0;for(let d=0;d<r.length;d++)u+=this.measureCharWidth(r[d],t);u*=.95;const f=Math.ceil(u);return this._cache.set(n,f),f}catch{}try{const u=parseInt(((a=t.match(/(\d+)px/))==null?void 0:a[1])||"14");let f=0;for(let h=0;h<r.length;h++){const x=r[h];x===" "?f+=.33:/^[A-Z]$/.test(x)?f+=.67:/^[a-z]$/.test(x)?f+=.5:/^\d$/.test(x)?f+=.6:/^[.,;:!?]$/.test(x)?f+=.25:f+=.67}const d=Math.ceil(f*u);return this._cache.set(n,d),d}catch{const f=r.length*10;return this._cache.set(n,f),f}},measureTextWithElementStyle(r,e){if(!e)return 0;try{const t=window.getComputedStyle(r),n=t.getPropertyValue("--Font").trim()||`${t.fontWeight} ${t.fontSize} ${t.fontFamily}`;return this.measureTextWidth(e,n)}catch{return this.measureTextWidth(e)}},measureReactNodeWidth(r){const e=this.extractTextFromNode(r);return this.measureTextWidth(e)},measureRenderedOptionWidth(r,e){if(r==null)return 0;const t=e(r),n=this.extractTextFromNode(t);return this.measureTextWidth(n)},calculateOptimalSelectWidth({elementRef:r,options:e=[],selectedOption:t=null,selectedOptions:n=[],placeholder:o="",optionRenderer:a,type:u="Primary",isMulti:f=!1}){if(!r.current)return 200;try{let d=0;if(e&&e.length>0){const y=[...e.length>0?[e[0]]:[],...e.length>1?[e[e.length-1]]:[],...e.length>10?Array.from({length:8},(T,w)=>e[Math.floor(w*e.length/8)]):e,...e.length>20?Array.from({length:5},()=>e[Math.floor(Math.random()*e.length)]):[]],b=Array.from(new Set(y.filter(Boolean)));for(const T of b){if(!T)continue;const w=this.measureRenderedOptionWidth(T,a);d=Math.max(d,w)}}let h=0;if(!f&&t)h=this.measureRenderedOptionWidth(t,a);else if(f&&n&&n.length){if(n.length===1)h=this.measureRenderedOptionWidth(n[0],a);else if(h=this.measureTextWidth(`${n.length} selected`),n.length>0){let y=0;for(const b of n){const T=this.measureRenderedOptionWidth(b,a);y=Math.max(y,T)}h=Math.max(h,y)}}let x=0;o&&(x=this.measureReactNodeWidth(o));const v=Math.max(d,h,x,50);if(r.current){const y=window.getComputedStyle(r.current),b=parseFloat(y.paddingLeft||"0")+parseFloat(y.paddingRight||"0"),T=parseFloat(y.borderLeftWidth||"0")+parseFloat(y.borderRightWidth||"0"),w=u==="Primary"?30:20,S=f?24:0,E=Math.ceil(v*.05)+10;return Math.ceil(v+b+T+w+S+E)}return v+60}catch{return 200}}};var So=(r=>(r.E="East",r.N="North",r.S="South",r.W="West",r))(So||{}),af=(r=>(r.E="East",r.EN="EastNorth",r.ES="EastSouth",r.N="North",r.NE="NorthEast",r.NW="NorthWest",r.S="South",r.SE="SouthEast",r.SW="SouthWest",r.W="West",r.WN="WestNorth",r.WS="WestSouth",r))(af||{});function ym(r,e,t,n){if(!r.current||!e.current)return;const o=r.current.getBoundingClientRect(),a=e.current.getBoundingClientRect();let u={bottom:void 0,left:void 0,right:void 0,top:void 0};switch(t){case"North":u=a?{bottom:window.innerHeight-o.top,left:o.left+o.width/2-a.width/2}:{bottom:window.innerHeight-o.top,left:o.left};break;case"NorthWest":u={bottom:window.innerHeight-o.top,left:o.left};break;case"NorthEast":u={bottom:window.innerHeight-o.top,right:window.innerWidth-o.left-o.width};break;case"South":u=a?{top:o.bottom,left:o.left+o.width/2-a.width/2}:{top:o.bottom,left:o.left};break;case"SouthWest":u={top:o.bottom,left:o.left};break;case"SouthEast":u={top:o.bottom,right:window.innerWidth-o.left-o.width};break;case"East":u=a?{top:o.top+o.height/2-a.height/2,left:o.right}:{top:o.top,left:o.right};break;case"EastNorth":u={bottom:window.innerHeight-o.top-o.height,left:o.right};break;case"EastSouth":u={top:o.top,left:o.right};break;case"West":u=a?{top:o.top+o.height/2-a.height/2,right:window.innerWidth-o.left}:{top:o.top,right:window.innerWidth-o.left};break;case"WestNorth":u={bottom:window.innerHeight-o.top-o.height,right:window.innerWidth-o.left};break;case"WestSouth":u={top:o.top,right:window.innerWidth-o.left};break;default:u={top:o.top,left:o.left}}n&&(n.x&&u.left&&(u.left+=n.x),n.y&&u.top&&(u.top+=n.y)),u=u2(u,a),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 c2(r,e,t,n){if(!r)return;const o=e instanceof HTMLElement?e:e==null?void 0:e.current;if(!o)return;const a=r.getBoundingClientRect(),u=o.getBoundingClientRect();let f={bottom:void 0,left:void 0,right:void 0,top:void 0};switch(t){case"North":f=u?{bottom:window.innerHeight-a.top,left:a.left+a.width/2-u.width/2}:{bottom:window.innerHeight-a.top,left:a.left};break;case"NorthWest":f={bottom:window.innerHeight-a.top,left:a.left};break;case"NorthEast":f={bottom:window.innerHeight-a.top,right:window.innerWidth-a.left-a.width};break;case"South":f=u?{top:a.bottom,left:a.left+a.width/2-u.width/2}:{top:a.bottom,left:a.left};break;case"SouthWest":f={top:a.bottom,left:a.left};break;case"SouthEast":f={top:a.bottom,right:window.innerWidth-a.left-a.width};break;case"East":f=u?{top:a.top+a.height/2-u.height/2,left:a.right}:{top:a.top,left:a.right};break;case"EastNorth":f={bottom:window.innerHeight-a.top-a.height,left:a.right};break;case"EastSouth":f={top:a.top,left:a.right};break;case"West":f=u?{top:a.top+a.height/2-u.height/2,right:window.innerWidth-a.left}:{top:a.top,right:window.innerWidth-a.left};break;case"WestNorth":f={bottom:window.innerHeight-a.top-a.height,right:window.innerWidth-a.left};break;case"WestSouth":f={top:a.top,right:window.innerWidth-a.left};break;default:f={top:a.top,left:a.left}}return n&&(n.x&&f.left&&(f.left+=n.x),n.y&&f.top&&(f.top+=n.y)),f=u2(f,u),o.style.top=f.top+"px",o.style.left=f.left+"px",o.style.bottom=f.bottom+"px",o.style.right=f.right+"px",f}function u2(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 Xc(){const r={preventDefault:!1};return{event:r,e:{preventDefault:()=>r.preventDefault=!0}}}const IE="_Tooltip_1khnz_1",LE="_Arrow_1khnz_17",iy={Tooltip:IE,Arrow:LE},f2=r=>{const{tooltip:e,targetRef:t,delay:n=0,distance:o=10,direction:a=So.S}=r,[u,f]=k.useState(!1),d=k.useRef(null),h=k.useRef(null),x=k.useRef(),_=k.useCallback(()=>{f(!0),x.current&&(clearTimeout(x.current),x.current=void 0);const T=setTimeout(()=>sy(t,d,h,o,a),n);x.current=T},[t,n,o,a]),v=k.useCallback(()=>f(!1),[]);k.useEffect(()=>{const T=t.current;if(T)return T.addEventListener("mouseenter",_),T.addEventListener("mouseleave",v),()=>{T.removeEventListener("mouseenter",_),T.removeEventListener("mouseleave",v)}},[t,v,_]);const y=k.useCallback(()=>{sy(t,d,h,o,a)},[t,o,a]);k.useEffect(()=>{if(!t.current||!d.current||!u)return;const T=t.current.parentElement;let w=T;for(;w;)w.addEventListener("scroll",y),w=w.parentElement;return()=>{let S=T;for(;S;)S.removeEventListener("scroll",y),S=S.parentElement}},[t,y,u]),k.useEffect(()=>{y()},[e,y]);const b=k.useMemo(()=>{switch(typeof e){case"boolean":return!0;case"string":return e==="";case"number":return!1;default:return!e}},[e]);return!u||b?null:$s.createPortal(C.jsxs("div",{ref:d,className:Be.clsx(iy.Tooltip,"NoSelect"),children:[e,C.jsx("div",{ref:h,className:iy.Arrow})]}),document.body)},Od="5px solid var(--ATooltip_background-color)";function sy(r,e,t,n,o=So.S){if(!r.current||!e.current||!t.current)return;const a=OE(r.current,e.current,n,o);if(!a)return;const{left:u,top:f,arrowDir:d,arrow:h}=a;e.current.style.left=`${u}px`,e.current.style.top=`${f}px`,e.current.style.visibility="visible",e.current.style.opacity="1",t.current.style.border="5px solid transparent",d===So.N?(t.current.style.top="-9px",t.current.style.left=`calc(50% - 5px + ${h.left??0}px)`,t.current.style.borderBottom=Od):d===So.S?(t.current.style.top="100%",t.current.style.left=`calc(50% - 5px + ${h.left??0}px)`,t.current.style.borderTop=Od):d===So.W?(t.current.style.top=`calc(50% - 5px + ${h.top??0}px)`,t.current.style.left="-9px",t.current.style.borderRight=Od):d===So.E&&(t.current.style.top=`calc(50% - 5px + ${h.top??0}px)`,t.current.style.left="100%",t.current.style.borderLeft=Od)}const Jl=5;function OE(r,e,t,n){const o=r.getBoundingClientRect(),a=e.getBoundingClientRect();function u(){if(window.innerHeight-o.bottom>a.height+t){const x=o.bottom+t,_=o.left+(o.width-a.width)/2,v=qf(_,Jl,window.innerWidth-Jl-a.width),y=So.N;return{left:v,top:x,arrowDir:y,arrow:{left:_-v}}}}function f(){if(o.top>a.height+t){const x=o.top-a.height-t,_=o.left+(o.width-a.width)/2,v=qf(_,Jl,window.innerWidth-Jl-a.width),y=So.S;return{left:v,top:x,arrowDir:y,arrow:{left:_-v}}}}function d(){if(window.innerWidth-o.right>a.width+t){const x=o.right+t,_=o.top+(o.height-a.height)/2,v=qf(_,Jl,window.innerHeight-Jl-a.height),y=So.W;return{left:x,top:v,arrowDir:y,arrow:{top:_-v}}}}function h(){if(o.left>a.width+t){const x=o.left-a.width-t,_=o.top+(o.height-a.height)/2,v=qf(_,Jl,window.innerHeight-Jl-a.height),y=So.E;return{left:x,top:v,arrowDir:y,arrow:{top:_-v}}}}if(n===So.E)return d()||h()||u()||f();if(n===So.S)return u()||f()||d()||h();if(n===So.W)return h()||d()||u()||f();if(n===So.N)return f()||u()||d()||h()}const ME="_ABase_c7a1t_1",DE="_UseDimming_c7a1t_6",PE="_Dimmer_c7a1t_6",NE="_Spinner_c7a1t_9",jE="_Dimmed_c7a1t_12",FE="_HasProgress_c7a1t_18",BE="_IsDimmed_c7a1t_36",HE="_IsLoading_c7a1t_41",qE="_IsDisabled_c7a1t_46",Fu={ABase:ME,UseDimming:DE,Dimmer:PE,Spinner:NE,Dimmed:jE,HasProgress:FE,IsDimmed:BE,IsLoading:HE,IsDisabled:qE},Zr=r=>{const{children:e,abaseRef:t,isDisabled:n,isLoading:o,isDimmed:a,tooltip:u,tooltipDistance:f=10,tooltipDelay:d=0,tooltipDirection:h=So.S,progress:x,progressProps:_,...v}=r,y=k.useRef(null),b=k.useMemo(()=>t??y,[t]),T=k.useMemo(()=>typeof n=="string"&&n!==""?n:u!==void 0?u:"",[n,u]),w=k.useMemo(()=>n||o||a,[n,o,a]),S=k.useMemo(()=>n!==void 0||o!==void 0||a!==void 0,[n,o,a]),E=typeof x=="number"&&o;return C.jsxs("div",{...v,ref:b,className:Be.clsx(v.className,Fu.ABase,S&&Fu.UseDimming,w&&Fu.Dimmed,E&&Fu.HasProgress),children:[e,S&&C.jsx("div",{className:Be.sclsx(Fu,"Dimmer",n&&"IsDisabled",o&&"IsLoading",a&&"IsDimmed",E&&"HasProgress")}),o&&C.jsxs("div",{className:Be.sclsx(Fu,"Spinner",n&&"IsDisabled",o&&"IsLoading",E&&"HasProgress"),children:[C.jsx(Nr,{icon:"Spinner"}),E&&C.jsx(a2,{progress:x,..._})]}),C.jsx(f2,{delay:d,direction:h,distance:f,targetRef:b,tooltip:T})]})},zE="_AButton_vulhu_1",$E="_Primary_vulhu_14",UE="_Secondary_vulhu_19",WE="_Alter_vulhu_24",VE="_AIconButton_vulhu_30",GE="_AThemeButton_vulhu_71",ed={AButton:zE,Primary:$E,Secondary:UE,Alter:WE,AIconButton:VE,AThemeButton:GE},ZE=["Primary","Secondary","Alter","Raw"],Ho=r=>{const{type:e="Primary",onClick:t,noInteractive:n,...o}=r,a=k.useMemo(()=>o.isDisabled||o.isLoading,[o.isDisabled,o.isLoading]),u=k.useCallback(f=>{a||t==null||t(f)},[a,t]);return C.jsx(Zr,{...o,className:Be.clsx(o.className,ed.AButton,e!=="Raw"&&ed[e],"IsClickable",!a&&!n&&"IsInteractive"),onClick:u})},KE=["Primary","Secondary","Raw"],mo=r=>{const{icon:e,iconSize:t,type:n="Primary",onClick:o,isDisabled:a,isLoading:u,tooltip:f,className:d,...h}=r,x=k.useMemo(()=>a||u,[a,u]),_=k.useCallback(y=>{x||o==null||o(y)},[x,o]),v=k.useMemo(()=>vm.includes(e)?C.jsx(Nr,{icon:e,size:t}):e,[e,t]);return C.jsx(Zr,{className:Be.clsx(ed.AIconButton,!a&&!u&&"IsClickable",n!=="Raw"&&ed[n],d),isDisabled:a,isLoading:u,tooltip:f,onClick:_,...h,children:v})};function dn(r,e){r!==void 0&&r.length===1&&(e=r[0]);const t=k.useState(e);return k.useMemo(()=>r===void 0||r.length===1?t:r,[t,r])}const YE="_AWrap_u1f1h_1",XE="_Label_u1f1h_8",JE="_Asterisk_u1f1h_19",QE="_HelperTextConatiner_u1f1h_23",eT="_HelperText_u1f1h_23",Bu={AWrap:YE,Label:XE,Asterisk:JE,HelperTextConatiner:QE,HelperText:eT,Error:"_Error_u1f1h_38"},tT=["Default","Error"],ic=r=>{const{wrapProps:e,errorMessage:t,helperText:n,wrapType:o="Default",label:a,labelProps:u,children:f}=r,d=k.useRef(null),[h,x]=k.useState({height:0}),_=k.useRef(null),[v,y]=k.useMemo(()=>{let T=n,w=o;if(Array.isArray(t)){const S=t.filter(Boolean);S.length>0&&([T,w]=[S,"Error"])}else t&&([T,w]=[t,"Error"]);return Array.isArray(T)&&(w!=="Error"&&(T=T.filter(Boolean)),T=T.map((S,E)=>C.jsxs(k.Fragment,{children:[S,C.jsx("br",{})]},E))),[T,w]},[n,t,o]);k.useEffect(()=>{if(!v||!d.current)x({height:0});else{const T=d.current.getBoundingClientRect();x({height:T.height,marginTop:T.height===0?0:6})}},[v]);const b=k.useMemo(()=>{switch(typeof(u==null?void 0:u.prefix)){case"string":return C.jsx(Nr,{height:"1rem",icon:u.prefix,width:"1rem"});case"boolean":return C.jsx(Nr,{height:10,icon:"Target",width:10});default:return u==null?void 0:u.prefix}},[u==null?void 0:u.prefix]);return C.jsxs("div",{...e,ref:_,className:Be.clsx(e==null?void 0:e.className,Bu.AWrap),children:[a&&C.jsxs("div",{className:Be.clsx(Bu.Label,"NoSelect",u==null?void 0:u.className),style:u==null?void 0:u.style,children:[b,a,(u==null?void 0:u.asterisk)&&C.jsx(Zr,{className:Bu.Asterisk,tooltip:Ur.AWrap.Asterisk,children:"*"})]}),f,v!==void 0&&C.jsx("div",{className:Be.clsx(Bu.HelperTextConatiner,"NoSelect"),style:h,children:C.jsx("div",{ref:d,className:Be.clsx(Bu.HelperText,Bu[y]),children:v})})]})},rT="_ASwitch_nlcij_1",nT="_Track_nlcij_6",oT="_Truthy_nlcij_13",iT="_Thumb_nlcij_17",Pf={ASwitch:rT,Track:nT,Truthy:oT,Thumb:iT},d2=r=>{const{wrapProps:e,helperText:t,label:n,useCheck:o,...a}=r,[u,f]=dn(o,!1),d=k.useCallback(h=>{var x;a.isDisabled||a.isLoading||(f==null||f(!u),(x=a.onClick)==null||x.call(a,h))},[a,u,f]);return C.jsx(ic,{helperText:t,label:n,wrapProps:{...e},children:C.jsx(Zr,{...a,className:Pf.ASwitch,onClick:d,children:C.jsx("div",{className:Be.clsx(Pf.Track,u&&Pf.Truthy),children:C.jsx("div",{className:Be.clsx(Pf.Thumb,u&&Pf.Truthy)})})})})},sT={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","acent-brand-fill":"blue-95","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","acent-brand-fill":"blue-10","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"}}},wo=J_.cloneDeep(sT);tr.keys(wo.semantic).forEach(r=>{const e=wo.semantic[r];tr.keys(e).forEach(t=>{e[t]=`var(--${e[t]})`})});const fh=tr.keys(wo.palette),h2=tr.keys(wo.palette[fh[0]]);function aT(){return co.paletteMode}function lT(r,e=co.paletteMode){return wo.palette[e][r]}function cT(r){return hh(r)}const eh=[];function p2(r){co.paletteMode=r,h2.forEach(e=>document.documentElement.style.setProperty(`--${e}`,wo.palette[r][e])),eh.forEach(e=>e(r))}function g2(r,e="all"){tr.keys(r).forEach(n=>{const o=r[n];o!==void 0&&(document.documentElement.style.setProperty(`--${n}`,o),e==="all"?fh.forEach(a=>{wo.palette[a][n]=o}):wo.palette[e][n]=o)})}const Qu=tr.keys(wo.semantic),m2=tr.keys(wo.semantic[Qu[0]]);function uT(){return co.semanticMode}function fT(r,e=co.semanticMode){return wo.semantic[e][r]}function dT(r){return hh(r)}const th=[];function bm(r){co.semanticMode=r,document.documentElement.setAttribute("data-theme",r),m2.forEach(e=>document.documentElement.style.setProperty(`--${e}`,wo.semantic[r][e])),th.forEach(e=>e(r)),co.save==="localStorage"?localStorage.setItem("semanticMode",r):co.save==="sessionStorage"&&sessionStorage.setItem("semanticMode",r)}function v2(r,e=co.semanticMode){tr.keys(r).forEach(n=>{const o=r[n];o!==void 0&&(document.documentElement.style.setProperty(`--${n}`,o),e==="all"?Qu.forEach(a=>{wo.semantic[a][n]=o}):wo.semantic[e][n]=o)})}const y2=["Body-background-color","Body-color","Body-transition","Font","Scrollbar-handle","Scrollbar-handle-hover","Scrollbar-handle-active","Scrollbar-track","Scrollbar-border-radius","Scrollbar-width","Transition","Transition-Enabled"],b2=["ABase_Dimming_background-color"],_2=["ATooltip_background-color","ATooltip_color"],x2=["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"],S2=["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"],C2=["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"],w2=["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"],A2=["ACheckBox_color"],E2=["ADialog_Paper_background-color","ADialog_background-color","ADialog_border","ADialog_Action_background-color"],T2=["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_background-color","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"],k2=["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_background-color","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"],R2=["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"],I2=["ASwitch_Track_Falsy_border","ASwitch_Track_Truthy_border","ASwitch_Thumb_border"],L2=["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"],O2=["AFileBox_border","AFileBox_background-color","AFileBox_SelectedFile_color","AFileBox_Dropping_color"],M2=["AListView_border-thin","AListView_border-thick"],D2=["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"],P2=["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"],N2=["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"],j2=["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"],F2=["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"],B2=["ADivideFrame_DividerInner_background-color"],H2=["AFloatMenu_background-color","AFloatMenu_hover_background-color","AFloatMenu_color","AFloatMenu_border"],q2=["ALoadingBorder_background-color","ALoadingBorder_ProgressBar_background-color","ALoadingBorder_Cover_background-color"],z2=["AWrap_Error_color"],$2=["ARadioSelect_RadioButton_border","ARadioSelect_RadioButton_InnerCircle_isChecked_background-color"],U2=["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"],hT=[...y2,...b2,..._2,...x2,...S2,...C2,...w2,...A2,...E2,...T2,...k2,...R2,...I2,...L2,...O2,...M2,...D2,...P2,...N2,...j2,...F2,...B2,...H2,...q2,...z2,...$2,...U2],dh={"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","Transition-Enabled":"1","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(--elevation-10)",ASelect_Secondary_hover_border:"1px solid var(--elevation-10)","ASelect_Secondary_background-color":"var(--elevation-10)",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-10)","ASelect_Secondary_Option_Selected_background-color":"var(--elevation-20)",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(--elevation-10)",AMultiSelect_Secondary_hover_border:"1px solid var(--elevation-10)","AMultiSelect_Secondary_background-color":"var(--elevation-10)",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 pT(r){return dh[r]}function gT(r){return hh(r)}function W2(r){tr.keys(r).forEach(t=>{const n=r[t];n!==void 0&&(document.documentElement.style.setProperty(`--${t}`,n),dh[t]=n)})}function mT(r){tr.keys(r).forEach(t=>{const n=r[t];if(n===void 0)return;const o=wo.semantic[co.semanticMode][n];o!==void 0&&(document.documentElement.style.setProperty(t,o),dh[t]=o)})}const co={paletteMode:fh[0],semanticMode:Qu[0],save:"",followDeviceSetting:!1};function vT({semanticMode:r,save:e,followDeviceSetting:t}){if(t!==void 0&&(co.followDeviceSetting=t,t)){const n=window.matchMedia("(prefers-color-scheme: dark)"),o=u=>{co.semanticMode=u.matches?"dark":"light"};o(n);const a=u=>o(u);n.addEventListener("change",a)}if(e!==void 0){if(co.save=e,e==="localStorage"){const n=localStorage.getItem("semanticMode");Qu.includes(n)&&(co.semanticMode=n)}else if(e==="sessionStorage"){const n=sessionStorage.getItem("semanticMode");Qu.includes(n)&&(co.semanticMode=n)}}r!==void 0&&(co.semanticMode=r),p2(co.paletteMode),bm(co.semanticMode),g2(wo.palette[co.paletteMode]),v2(wo.semantic[co.semanticMode]),W2(dh)}function yT(r){r.type==="semanticModeChange"?th.push(r.listener):r.type==="paletteModeChange"?eh.push(r.listener):console.error("AThemes.addEventListener : parameter is not valid")}function bT(r){if(r.type==="semanticModeChange"){const e=th.indexOf(r.listener);e!==-1&&th.splice(e,1)}else if(r.type==="paletteModeChange"){const e=eh.indexOf(r.listener);e!==-1&&eh.splice(e,1)}else console.error("AThemes.removeEventListener : parameter is not valid")}function hh(r){const e=window.getComputedStyle(document.documentElement);let t=e.getPropertyValue(r);return t===""&&(t=e.getPropertyValue(`--${r}`)),t}function _T(r){Object.assign(Be.additionalClasses,r),Be.updateKeys(),Be.additionalClasses=Be.additionalClasses}const zf={getCurrentPaletteMode:aT,getPaletteValue:lT,getPaletteDeepValue:cT,changePaletteMode:p2,editPalette:g2,getCurrentSemanticMode:uT,getSemanticValue:fT,getSemanticDeepValue:dT,changeSemanticMode:bm,editSemantic:v2,getComponentStyleValue:pT,getComponentStyleDeepValue:gT,editComponentStyle:W2,editComponentStyleWithSemantic:mT,init:vT,addEventListener:yT,removeEventListener:bT,getDeepValue:hh,addClasses:_T},xT=r=>{const{onChange:e,onClick:t,type:n="Icon",...o}=r,[a,u]=k.useState(zf.getCurrentSemanticMode()==="dark"?"Moon":"Sun"),f=k.useCallback(d=>{const h=zf.getCurrentSemanticMode();let x="light";h==="light"?x="dark":h==="dark"&&(x="light"),zf.changeSemanticMode(x),u(ST[x]),e==null||e(x),t==null||t(d)},[e,t]);if(n==="Icon")return C.jsx(mo,{...o,className:Be.clsx(ed.AThemeButton,o.className,"IsInteractive"),icon:a,type:"Raw",onClick:f});if(n==="Switch")return C.jsx(d2,{...o,useCheck:[zf.getCurrentSemanticMode()==="dark",f]})},ST={light:"Sun",dark:"Moon"},CT="_ACheckBoxWrap_1ozuz_1",wT="_ACheckBox_1ozuz_1",ay={ACheckBoxWrap:CT,ACheckBox:wT},ef=r=>{const{useCheck:e,isIndeterminate:t,isDisabled:n,isLoading:o,onClick:a,...u}=r,[f,d]=dn(e,!1),h=k.useCallback(x=>{n||o||(d==null||d(!f),a==null||a(x))},[n,o,a,f,d]);return C.jsx(Zr,{...u,className:Be.clsx(u.className,ay.ACheckBoxWrap),isDisabled:n,isLoading:o,onClick:h,children:C.jsx(Nr,{className:ay.ACheckBox,icon:t?"Check.Indeterminate":f?"Check.Checked":"Check.UnChecked"})})};function AT(r){return typeof r=="function"}function ET(r,e){return AT(r)?r(e):r}const Lr={getContent:ET};class ly{constructor(e){dt(this,"capacity");dt(this,"cache",new Map);this.capacity=e}get(e){if(!this.cache.has(e))return;const t=this.cache.get(e);return this.cache.delete(e),this.cache.set(e,t),t}put(e,t){if(this.cache.has(e))this.cache.delete(e);else if(this.cache.size>=this.capacity){const n=this.cache.keys().next().value;n!==void 0&&this.cache.delete(n)}this.cache.set(e,t)}delete(e){return this.cache.delete(e)}clear(){this.cache.clear()}entries(){return Array.from(this.cache.entries())}}const Jc=class Jc{constructor(){dt(this,"databases",{});dt(this,"caches",{});dt(this,"DEFAULT_CACHE_SIZE",100)}static getInstance(){return Jc.instance||(Jc.instance=new Jc),Jc.instance}getCache(e,t){const n=`${e}_${t}`;return this.caches[n]||(this.caches[n]=new ly(this.DEFAULT_CACHE_SIZE)),this.caches[n]}async getDB(e,t,n=1){return this.databases[e]?this.databases[e]:new Promise((o,a)=>{if(!window.indexedDB){console.error("이 브라우저는 IndexedDB를 지원하지 않습니다."),a(new Error("IndexedDB not supported"));return}const u=window.indexedDB.open(e,n);u.onerror=f=>{console.error("IndexedDB 연결 오류:",f.target.error),a(f.target.error)},u.onsuccess=f=>{const d=f.target.result;this.databases[e]=d,o(d)},u.onupgradeneeded=f=>{const d=f.target.result;d.objectStoreNames.contains(t)||d.createObjectStore(t,{keyPath:"id"}).createIndex("updatedAt_idx","updatedAt",{unique:!1})}})}async save(e,t,n){this.getCache(e,t).put(n.id,{...n});const f=(await this.getDB(e,t)).transaction([t],"readwrite").objectStore(t);return new Promise((d,h)=>{const x=f.put(n);x.onsuccess=()=>d(),x.onerror=_=>{console.error("데이터 저장 오류:",_.target.error),h(_.target.error)}})}async batchSave(e,t,n){if(n.length===0)return;const o=this.getCache(e,t);n.forEach(d=>o.put(d.id,{...d}));const u=(await this.getDB(e,t)).transaction([t],"readwrite"),f=u.objectStore(t);return new Promise((d,h)=>{u.oncomplete=()=>d(),u.onerror=x=>{console.error("배치 저장 오류:",x.target.error),h(x.target.error)},n.forEach(x=>f.put(x))})}async get(e,t,n){const o=this.getCache(e,t),a=o.get(n);if(a)return a;const d=(await this.getDB(e,t)).transaction([t],"readonly").objectStore(t);return new Promise((h,x)=>{const _=d.get(n);_.onsuccess=()=>{const v=_.result;v&&o.put(n,v),h(v||null)},_.onerror=v=>{console.error("데이터 조회 오류:",v.target.error),x(v.target.error)}})}async getByIndex(e,t,n,o){const d=(await this.getDB(e,t)).transaction([t],"readonly").objectStore(t).index(n);return new Promise((h,x)=>{const _=d.getAll(o);_.onsuccess=()=>{const v=_.result,y=this.getCache(e,t);v.forEach(b=>{b&&b.id&&y.put(b.id,b)}),h(v)},_.onerror=v=>{console.error("인덱스 조회 오류:",v.target.error),x(v.target.error)}})}async delete(e,t,n){this.getCache(e,t).delete(n);const f=(await this.getDB(e,t)).transaction([t],"readwrite").objectStore(t);return new Promise((d,h)=>{const x=f.delete(n);x.onsuccess=()=>d(),x.onerror=_=>{console.error("데이터 삭제 오류:",_.target.error),h(_.target.error)}})}async batchDelete(e,t,n){if(n.length===0)return;const o=this.getCache(e,t);n.forEach(d=>o.delete(d));const u=(await this.getDB(e,t)).transaction([t],"readwrite"),f=u.objectStore(t);return new Promise((d,h)=>{u.oncomplete=()=>d(),u.onerror=x=>{console.error("배치 삭제 오류:",x.target.error),h(x.target.error)},n.forEach(x=>f.delete(x))})}async getAll(e,t){const a=(await this.getDB(e,t)).transaction([t],"readonly").objectStore(t);return new Promise((u,f)=>{const d=a.getAll();d.onsuccess=()=>{const h=d.result,x={},_=this.getCache(e,t);h.forEach(v=>{v.id&&(x[v.id]=v,_.put(v.id,v))}),u(x)},d.onerror=h=>{console.error("데이터 전체 조회 오류:",h.target.error),f(h.target.error)}})}async clear(e,t){this.getCache(e,t).clear();const u=(await this.getDB(e,t)).transaction([t],"readwrite").objectStore(t);return new Promise((f,d)=>{const h=u.clear();h.onsuccess=()=>f(),h.onerror=x=>{console.error("데이터 초기화 오류:",x.target.error),d(x.target.error)}})}getCached(e,t,n){return this.getCache(e,t).get(n)||null}clearCached(e,t){this.getCache(e,t).clear()}setCacheSize(e,t,n){const o=`${e}_${t}`,u=this.getCache(e,t).entries();this.caches[o]=new ly(n);for(const[f,d]of u)this.caches[o].get(f)===void 0&&f!==void 0&&this.caches[o].put(f,d)}};dt(Jc,"instance");let W1=Jc;const Ps=W1.getInstance(),Fs={save:(r,e,t)=>Ps.save(r,e,t),get:(r,e,t)=>Ps.get(r,e,t),delete:(r,e,t)=>Ps.delete(r,e,t),getAll:(r,e)=>Ps.getAll(r,e),clear:(r,e)=>Ps.clear(r,e),batchSave:(r,e,t)=>Ps.batchSave(r,e,t),batchDelete:(r,e,t)=>Ps.batchDelete(r,e,t),getByIndex:(r,e,t,n)=>Ps.getByIndex(r,e,t,n),getCached:(r,e,t)=>Ps.getCached(r,e,t),clearCached:(r,e)=>Ps.clearCached(r,e),setCacheSize:(r,e,t)=>Ps.setCacheSize(r,e,t)};function V2(r,e,t={}){const{dataFieldName:n="data"}=t,[o,a]=k.useState(!1),[u,f]=k.useState(null),d=k.useRef(new Map);k.useEffect(()=>{const $=d.current;return()=>{$.forEach(G=>G.abort()),$.clear()}},[]);const h=k.useCallback($=>{const G=d.current,re=G.get($);re&&re.abort();const F=new AbortController;return G.set($,F),F},[]),x=k.useCallback($=>{d.current.delete($)},[]),_=k.useCallback(async($,G)=>{try{a(!0),f(null),h($);const re=await G();return x($),re}catch(re){return re instanceof Error&&re.name==="AbortError"||f(re instanceof Error?re:new Error(String(re))),null}finally{a(!1)}},[h,x]),v=k.useCallback(async($,G)=>$?await _(`save_${$}`,async()=>(await Fs.save(r,e,{id:$,[n]:G,updatedAt:new Date().toISOString()}),!0))===!0:!1,[r,e,n,_]),y=k.useCallback(async $=>$.length?await _(`batch_save_${Date.now()}`,async()=>{const G=$.map(re=>({id:re.id,[n]:re.data,updatedAt:new Date().toISOString()}));return await Fs.batchSave(r,e,G),!0})===!0:!1,[r,e,n,_]),b=k.useCallback(async $=>$?await _(`get_${$}`,async()=>{const G=await Fs.get(r,e,$);return(G==null?void 0:G[n])||null}):null,[r,e,n,_]),T=k.useCallback($=>{if(!$)return null;const G=Fs.getCached(r,e,$);return(G==null?void 0:G[n])||null},[r,e,n]),w=k.useCallback(async $=>$?await _(`delete_${$}`,async()=>(await Fs.delete(r,e,$),!0))===!0:!1,[r,e,_]),S=k.useCallback(async $=>$.length?await _(`batch_delete_${Date.now()}`,async()=>(await Fs.batchDelete(r,e,$),!0))===!0:!1,[r,e,_]),E=k.useCallback(async()=>await _(`get_all_${Date.now()}`,async()=>{const $=await Fs.getAll(r,e);return Object.entries($).reduce((G,[re,F])=>(G[re]=F[n],G),{})})||{},[r,e,n,_]),R=k.useCallback(async()=>await _(`clear_all_${Date.now()}`,async()=>(await Fs.clear(r,e),!0))===!0,[r,e,_]),I=k.useCallback($=>{const G=d.current.get($);G&&(G.abort(),d.current.delete($))},[]),P=k.useCallback(()=>{new Map(d.current).forEach(G=>G.abort()),d.current.clear()},[]),j=k.useCallback($=>{Fs.setCacheSize(r,e,$)},[r,e]),q=k.useCallback(()=>{Fs.clearCached(r,e)},[r,e]);return{save:v,get:b,delete:w,getAll:E,clearAll:R,batchSave:y,batchDelete:S,getCached:T,setCacheSize:j,clearCache:q,cancelOperation:I,cancelAllOperations:P,isLoading:o,error:u}}const TT="LayoutDB",kT="layouts";function G2(){const r=V2(TT,kT,{dataFieldName:"lengths"}),[e,t]=k.useState({}),n=k.useRef({}),o=async(x,_)=>await r.save(x,_),a=async x=>await r.get(x),u=x=>r.getCached(x),f=x=>{const _=u(x);return _?{data:_,isLoaded:!0}:n.current[x]!==void 0?{data:n.current[x],isLoaded:!!e[x]}:(e[x]||(n.current[x]=null,a(x).then(v=>{n.current[x]=v,t(y=>({...y,[x]:!0}))})),{data:null,isLoaded:!1})},d=async x=>(t(_=>{const v={..._};return delete v[x],v}),n.current[x]!==void 0&&delete n.current[x],await r.delete(x)),h=k.useCallback(()=>{t({}),n.current={}},[]);return{save:o,get:a,getCached:u,getSync:f,deleteItem:d,resetSyncState:h,isLoading:r.isLoading,error:r.error}}const RT="_ARowFrame_177u6_1",IT="_AColFrame_177u6_7",LT="_AOverflowFrame_177u6_13",OT="_ADivideFrame_177u6_22",MT="_Row_177u6_30",DT="_Col_177u6_33",PT="_FadeIn_177u6_36",NT="_NoTransition_177u6_39",jT="_ChildFrame_177u6_43",FT="_Divider_177u6_61",BT="_IsMoving_177u6_69",HT="_NoDraggable_177u6_69",qT="_DividerInner_177u6_72",zT="_IsClicked_177u6_97",$T="_RemoteButton_177u6_132",UT="_isExpanded_177u6_137",lo={ARowFrame:RT,AColFrame:IT,AOverflowFrame:LT,ADivideFrame:OT,Row:MT,Col:DT,FadeIn:PT,NoTransition:NT,ChildFrame:jT,Divider:FT,IsMoving:BT,NoDraggable:HT,DividerInner:qT,IsClicked:zT,RemoteButton:$T,isExpanded:UT},En=r=>C.jsx(Zr,{...r,className:Be.clsx(lo.ARowFrame,r.className),children:r.children}),Z2=r=>C.jsx("div",{...r,className:Be.clsx(lo.AColFrame,r.className),children:r.children}),Aa=r=>{const{tooltip:e,children:t,abaseRef:n,isDisabled:o,className:a,noOverflowTooltip:u,...f}=r,d=k.useRef(null),h=k.useMemo(()=>n??d,[n]),[x,_]=k.useState(!1),v=k.useCallback(()=>_(!0),[]),y=k.useCallback(()=>_(!1),[]);k.useEffect(()=>{const T=h.current;if(T)return T.addEventListener("mouseenter",v),T.addEventListener("mouseleave",y),()=>{T.removeEventListener("mouseenter",v),T.removeEventListener("mouseleave",y)}},[h,v,y]);const b=k.useMemo(()=>o?"":u||!x||!h.current?e:h.current.scrollWidth>h.current.clientWidth?t:e,[h,o,t,e,u,x]);return C.jsx(Zr,{...f,children:t,abaseRef:h,className:Be.clsx(lo.AOverflowFrame,a),isDisabled:o,tooltip:b})},K2=r=>{const{value:e,map:t}=r;return t[e]===void 0?t.fallback:C.jsx(k.Suspense,{children:t[e]})},Y2=k.memo(r=>{const{pk:e,direction:t="Row",lefts:n,minLength:o=40,children:a,childStyle:u,childClassName:f,dividerStyle:d,dividerClassName:h,dividerPadding:x,dividerInnerClassName:_,dividerInnerStyle:v,showRemote:y,noDividerDraggable:b,resources:T,remoteButtonClassName:w,...S}=r,E=k.useMemo(()=>({...Ur.ADivideFrame,...T}),[T]),R=k.useRef(null),I=k.useRef(!1),P=k.useRef(!0),j=k.useRef(n),[q,$]=k.useState(),[G,re]=k.useState(n),[F,W]=k.useState("FadeOut"),[V,ee]=k.useState(!1),{save:ue,getSync:le,deleteItem:de}=G2(),fe=k.useCallback(()=>{P.current&&requestAnimationFrame(()=>{P.current=!1,W("FadeIn")})},[]),ve=k.useMemo(()=>{let Se;return Array.isArray(a)?Se=a:Se=[a],Se.filter(Boolean)},[a]),te=k.useMemo(()=>e&&!y,[e,y]),ce=k.useCallback(()=>{if(!te){fe();return}try{const Se=String(e),{data:_e,isLoaded:Ce}=le(Se);_e?(re(_e),Ce&&fe()):Ce?(re(n),ue(String(e),n),fe()):re(n)}catch{re(n),fe()}},[te,fe,e,le,n,ue]);k.useEffect(()=>{if(te){ce();const Se=String(e),_e=()=>{const{isLoaded:Ce}=le(Se);Ce?fe():requestAnimationFrame(_e)};_e()}else fe()},[te,ce,fe,e,le]),k.useEffect(()=>{j.current!==n&&(j.current=n,I.current||(re(n),te&&ue(String(e),n)),I.current=!1)},[te,n,e,ue]);const pe=k.useMemo(()=>{const Se=x??0;return typeof o=="number"?Array(ve.length).fill(o+Se):o.map(_e=>_e+Se)},[o,ve.length,x]),ye=k.useMemo(()=>(q==null?void 0:q.lefts)||G,[q,G]),Ie=k.useRef({x:0,y:0}),oe=k.useCallback((Se,_e,Ce)=>{const Te=ye[Se],Ne=Se===0?0:ye[Se-1],ot=Te-Ne,$e={...u,...WT(t,ot,_e)};return x!==void 0&&(t==="Row"?(Ce||($e.paddingLeft=x),_e||($e.paddingRight=x)):(Ce||($e.paddingTop=x),_e||($e.paddingBottom=x))),$e},[ye,u,t,x]),we=k.useCallback(()=>{if(!(!y||t!=="Row")){if(V)re(n),I.current=!1;else{const Se=ve.length;if(Se<=1)return;const _e=[],Ce=[];for(let Ne=0;Ne<Se;Ne++)typeof o=="number"?Ce.push(o):Ce.push(o[Ne]||o[0]);let Te=0;for(let Ne=0;Ne<Se-1;Ne++)Te+=Ce[Ne],_e.push(Te);re(_e),I.current=!0}ee(Se=>!Se),P.current=!1}},[y,t,V,ve.length,n,o]),Oe=k.useCallback((Se,_e)=>{if(_e)return Ce=>{if(!R.current)return;P.current=!1;const Te=R.current;Ie.current={x:Ce.clientX,y:Ce.clientY},$({idx:Se,lefts:[...G]});let Ne=[...G];const ot=tt=>{const at=Te.getBoundingClientRect(),De=t==="Row"?at.left:at.top,Ke=t==="Row"?at.width:at.height;Ne=GT(G,t,Se,tt,De,Ke,pe),$({idx:Se,lefts:Ne})},$e=()=>{$(void 0),re(Ne),I.current=!0,te&&ue(String(e),Ne),window.removeEventListener("mousemove",ot),window.removeEventListener("mouseup",$e)};window.addEventListener("mousemove",ot),window.addEventListener("mouseup",$e)}},[G,t,pe,te,e,ue]),Ue=k.useCallback(Se=>{if(Se)return()=>{re(n),I.current=!1,$(void 0),te&&de(String(e))}},[n,te,e,de]),We=k.useMemo(()=>ve.map((Se,_e)=>{const Ce=y&&(V||!V&&_e===ve.length-2);return!(b||Ce)}),[ve,y,V,b]);return C.jsx("div",{...S,ref:R,className:Be.clsx(lo.ADivideFrame,r.className,lo[t],lo[F],P.current&&lo.NoTransition),children:ve.map((Se,_e)=>{const Ce=_e===0,Te=_e===ve.length-1,Ne=oe(_e,Te,Ce),ot=ye[_e],$e=We[_e],tt=Oe(_e,$e),at=Ue($e);return C.jsxs(k.Fragment,{children:[C.jsxs("div",{style:Ne,className:Be.clsx(lo.ChildFrame,f,q&&lo.IsMoving,P.current&&lo.NoTransition,lo[t]),children:[Te&&y&&t==="Row"&&C.jsx(mo,{className:Be.clsx(lo.RemoteButton,V&&lo.isExpanded,w),icon:"DividerExpand",iconSize:"md",tabIndex:0,tooltip:V?E.Collapse:E.Expand,type:"Raw",onClick:we}),Se]}),!Te&&C.jsx("div",{"data-nodraggable":$e?void 0:"true",className:Be.clsx(lo.Divider,lo[t],"NoSelect",q&&lo.IsMoving,(q==null?void 0:q.idx)===_e&&lo.IsClicked,P.current&&lo.NoTransition,!$e&&lo.NoDraggable,h),style:{...d,...VT(t,ot)},onDoubleClick:at,onMouseDown:tt,children:C.jsx("div",{className:Be.clsx(lo.DividerInner,_),style:{...v}})})]},_e)})})});Y2.displayName="ADivideFrame";function WT(r,e,t){return t?{}:r==="Col"?{height:e,minHeight:e,maxHeight:e}:{maxWidth:e,width:e,minWidth:e}}function VT(r,e){return r==="Col"?{top:e}:{left:e}}function GT(r,e,t,n,o,a,u){const f=[...r];let d=e==="Row"?n.clientX-o-r[t]:n.clientY-o-r[t];const h=[],x=[];let _=0;for(let y=0;y<=u.length;y++)h[y]=_,y<u.length&&(_+=u[y]);let v=0;for(let y=u.length-2;y>=0;y--)v+=u[y],x[y]=v;if(x[u.length-1]=0,d<0){let y=f[t]+d;if(y<=h[t+1])for(let b=0;b<=t;b++)f[b]=h[b+1];else if(f[t]=y,t>0)for(let b=t-1;b>=0&&y-f[b]<u[b];b--)f[b]=y-u[t],y=f[b]}else if(d>0){let y=f[t]+d;const b=t===u.length-2?u[u.length-1]:0;if(y>=a-x[t]-b)for(let T=t;T<r.length;T++)f[T]=a-x[T]-(T===r.length-1?0:b);else if(f[t]=y,t<r.length-1)for(let T=t+1;T<r.length&&f[T]-y<u[T];T++)f[T]=y+u[T],y=f[T]}return f}const ou=()=>C.jsx("div",{style:{display:"flex",flexGrow:1}}),ZT="_ASpace_1okqf_1",KT={ASpace:ZT},Tn=r=>{const{h:e,w:t,...n}=r;return C.jsx("div",{...n,className:Be.clsx(KT.ASpace,n.className),style:{height:e,minHeight:e,maxHeight:e,width:t,minWidth:t,maxWidth:t,...n.style}})},YT="_AChipsContainer_1ag9v_1",XT="_AChip_1ag9v_1",JT="_Clickable_1ag9v_21",QT="_AChipDelete_1ag9v_26",e5="_IsHover_1ag9v_40",t5="_AChipDeleteIcon_1ag9v_45",Zu={AChipsContainer:YT,AChip:XT,Clickable:JT,AChipDelete:QT,IsHover:e5,AChipDeleteIcon:t5},r5=r=>{const{useLabels:e,alignItems:t="flex-start",ChipStyle:n,ChipClassName:o,ChipOnDelete:a,ChipOnClick:u,ChipIcon:f,className:d,style:h,ButtonRenderer:x=X2,gap:_=8,...v}=r,[y,b]=dn(e,[]),T=k.useCallback(S=>{!b||!a||(a({label:S}),b(y.filter(E=>E!==S)))},[b,a,y]),w=k.useCallback(S=>{const E={label:S};return{label:S,useLabel:[S,()=>{}],style:Lr.getContent(n,E),className:Lr.getContent(o,E),icon:Lr.getContent(f,E),onDelete:()=>T(S),onClick:u?()=>u({label:S}):void 0}},[o,f,u,n,T]);return C.jsx(Zr,{...v,className:Be.clsx(Zu.AChipsContainer,d),style:{...h,alignItems:t,gap:_},children:y.map((S,E)=>C.jsx(_m,{...w(S),ButtonRenderer:x},E))})},_m=r=>{const{label:e,useLabel:t,icon:n,className:o,onDelete:a,onClick:u,ButtonRenderer:f=X2,width:d="fit-content",style:h,...x}=r;return e===void 0?C.jsx(C.Fragment,{}):C.jsxs(Zr,{...x,className:Be.clsx("NoSelect",Zu.AChip,u&&Zu.Clickable,u&&"IsClickable",o),style:{...h,width:d},onClick:u,children:[C.jsx(Aa,{children:e}),f({...r})]})},X2=r=>{const{label:e,icon:t,onDelete:n,useLabel:o}=r,[,a]=dn(o,e),[u,f]=k.useState(!1),d=k.useCallback(_=>{n&&(_.stopPropagation(),a==null||a(void 0),n(r))},[n,r,a]),h=()=>{f(!0)},x=()=>{f(!1)};return C.jsx(C.Fragment,{children:n&&C.jsxs(C.Fragment,{children:[C.jsx(ou,{}),C.jsx(Tn,{w:24}),C.jsx(Zr,{className:Be.clsx(Zu.AChipDelete,"IsClickable",u&&Zu.IsHover)}),C.jsx(mo,{className:Zu.AChipDeleteIcon,icon:t||C.jsx(Nr,{height:14,icon:"Close",stroke:"currentColor",width:14}),type:"Raw",onClick:d,onMouseEnter:h,onMouseLeave:x})]})})},eu=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]}`},n5=r=>{let e="";r<0&&(e+="-",r=-r);const t=Math.floor(r/3600),n=Math.floor(r%3600/60),o=r%60;return t>0&&(e+=t.toString().padStart(2,"0")+":"),e+=n.toString().padStart(2,"0")+":",e+=o.toString().padStart(2,"0"),e},o5=/[a-zA-Z0-9]/,i5=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9]{2,}$/,s5=/^[a-zA-Z0-9._-]+$/,a5=/^[0-9a-fA-F-]+$/i,l5=/[가-힣ㄱ-ㅎㅏ-ㅣ]/,c5=/^\S*$/,u5=/^([^ㄱ-ㅎㅏ-ㅣ])*$/i,f5=/[!@#$%^&*+=;:?/<>\\[\](){}~\-_.(),]/,d5=/^(?=.*[A-Za-z])(?=.*\d)(?=.*[\W_])[A-Za-z\d\W_]{8,}$/,h5=/^[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}$/,p5={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)},J2={secondToTime:n5,validate:p5,FileSizeTrans:eu},g5=r=>{const{maxTicks:e=300,interval:t=1e3,onFinish:n,noStartOnRender:o,actionRef:a,wrapProps:u,helperText:f,label:d,...h}=r,[x,_]=k.useState(0),[v,y]=k.useState(!o);k.useEffect(()=>{if(!v||h.isDisabled||h.isLoading)return;const R=setInterval(()=>_(I=>I+1),t);return()=>clearInterval(R)},[t,v,h.isDisabled,h.isLoading]);const b=k.useCallback(()=>{n==null||n(),y(!1)},[n]);k.useEffect(()=>{x>=e&&!h.isDisabled&&!h.isLoading&&b()},[x,e,b,h.isDisabled,h.isLoading]);const T=k.useCallback(()=>{h.isDisabled||y(!0)},[h.isDisabled]),w=k.useCallback(()=>{h.isDisabled||y(!1)},[h.isDisabled]),S=k.useCallback(()=>{h.isDisabled||(y(!1),_(0))},[h.isDisabled]);k.useEffect(()=>{a&&(a.current={start:T,stop:w,reset:S,setTicks:_})},[a,T,w,S]);const E=e-x;return C.jsx(ic,{wrapProps:u,helperText:f,label:d,children:C.jsx(Zr,{...h,children:J2.secondToTime(E>0?E:0)})})};function Ws(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 m5(r){try{if(!r)return;const e=new Date(r);return isNaN(e.getTime())?void 0:e}catch{return}}function v5(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0)}function y5(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),23,59,59,999)}function cy(r,e){return Ws(r)===Ws(e)}function Ku(r,e){return Ws(r)>Ws(e)}function rh(r,e){return Ws(r)>=Ws(e)}function nh(r,e){return Ws(r)<Ws(e)}function oh(r,e){return Ws(r)<=Ws(e)}function uy(r,e,t){return Ku(r,t)?Ku(e,t)&&nh(e,r):Ku(e,r)&&nh(e,t)}function fy(r,e,t){return Ku(r,t)?rh(e,t)&&oh(e,r):rh(e,r)&&oh(e,t)}const Zt={toString:Ws,toDate:m5,makeSDate:v5,makeEDate:y5,"===":cy,">":Ku,">=":rh,"<":nh,"<=":oh,"s<d<e|e<d<s":uy,"s<=d<=e|e<=d<=s":fy,eq:cy,g:Ku,ge:rh,l:nh,le:oh,b:uy,be:fy},b5="_InputContainer_1lfl7_7",_5="_AInput_1lfl7_21",x5="_LeftAddon_1lfl7_40",S5="_RightAddon_1lfl7_46",C5="_ErrorHelperText_1lfl7_52",w5="_Primary_1lfl7_56",A5="_UnAvailable_1lfl7_61",E5="_Secondary_1lfl7_72",T5="_ReadOnly_1lfl7_87",oi={InputContainer:b5,AInput:_5,LeftAddon:x5,RightAddon:S5,ErrorHelperText:C5,Primary:w5,UnAvailable:A5,Secondary:E5,ReadOnly:T5,Error:"_Error_1lfl7_52"},k5=["Primary","Secondary","ReadOnly","Error"],sc=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",inputRef:o,useValue:a,isReadonly:u,placeholder:f,minLength:d,maxLength:h,tabIndex:x,autoFocus:_,isPassword:v,autoComplete:y="off",inputProps:b,LeftAddon:T,RightAddon:w,wrapProps:S,helperText:E,label:R,wrapType:I,labelProps:P,...j}=r,q=k.useMemo(()=>R5(t)?"Error":n,[t,n]),$=k.useMemo(()=>q==="ReadOnly"?!0:u,[q,u]),G=k.useMemo(()=>j.isDisabled||j.isLoading,[j.isDisabled,j.isLoading]),[re,F]=dn(a,""),W=k.useCallback(ee=>{var ue;G||((ue=b==null?void 0:b.onKeyDown)==null||ue.call(b,ee),["Escape","Enter","ArrowUp","ArrowDown"].includes(ee.key)||ee.stopPropagation(),ee.key==="Enter"&&e&&e(ee.currentTarget.value))},[G,b,e]),V=k.useCallback(ee=>{var ue;G||d&&ee.target.value.length<d||(F==null||F(ee.target.value),(ue=b==null?void 0:b.onChange)==null||ue.call(b,ee))},[G,d,F,b]);return v?C.jsx(ic,{wrapProps:S,label:R,helperText:E,errorMessage:t,wrapType:I,labelProps:P,children:C.jsx("form",{onSubmit:ee=>ee.preventDefault(),children:C.jsxs(Zr,{...j,className:Be.clsx(oi.InputContainer,oi[q],G&&oi.UnAvailable,j.className),children:[T&&C.jsx("div",{className:oi.LeftAddon,children:T}),C.jsx("input",{...b,ref:o,autoComplete:y,autoFocus:_,className:Be.clsx(oi.AInput,q==="Error"&&oi.InputError,b==null?void 0:b.className),maxLength:h,placeholder:f,readOnly:$,tabIndex:j.isDisabled||j.isLoading?-1:x,type:"password",value:re,onChange:V,onKeyDown:W}),w&&C.jsx("div",{className:Be.clsx(oi.RightAddon,"NoSelect"),children:w})]})})}):C.jsx(ic,{wrapProps:S,label:R,helperText:E,errorMessage:t,wrapType:I,labelProps:P,children:C.jsxs(Zr,{...j,className:Be.clsx(oi.InputContainer,oi[q],G&&oi.UnAvailable,j.className),children:[T&&C.jsx("div",{className:oi.LeftAddon,children:T}),C.jsx("input",{...b,ref:o,autoComplete:y,autoFocus:_,className:Be.clsx(oi.AInput,q==="Error"&&oi.InputError,b==null?void 0:b.className),maxLength:h,placeholder:f,readOnly:$,tabIndex:j.isDisabled||j.isLoading?-1:x,value:re,onChange:V,onKeyDown:W}),w&&C.jsx("div",{className:oi.RightAddon,children:w})]})})};function R5(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}const I5="_ASelect_vvzf4_1",L5="_Arrow_vvzf4_14",O5="_Primary_vvzf4_23",M5="_UnAvailable_vvzf4_34",D5="_IsOpen_vvzf4_34",P5="_Secondary_vvzf4_41",N5="_Placeholder_vvzf4_57",j5="_ValuesContainer_vvzf4_61",F5="_Values_vvzf4_61",B5="_Options_vvzf4_80",H5="_Option_vvzf4_80",q5="_Selected_vvzf4_122",z5="_CheckBox_vvzf4_129",zi={ASelect:I5,Arrow:L5,Primary:O5,UnAvailable:M5,IsOpen:D5,Secondary:P5,Placeholder:N5,ValuesContainer:j5,Values:F5,Options:B5,Option:H5,Selected:q5,CheckBox:z5},$5=["Primary","Secondary"],ac=r=>{const{options:e,useSelect:t,type:n="Primary",placeholder:o=Ur.ASelect["Select(Placeholder)"],onClose:a,OptionRenderer:u=W5,SelectedRenderer:f=V5,minShowRows:d=2,maxShowRows:h=6,arrowProps:x,isAutoWidth:_=!1,...v}=r,y=k.useRef(null),b=k.useMemo(()=>v.abaseRef??y,[v.abaseRef]),T=k.useRef(null),[w,S]=dn(t,e[0]),[E,R]=k.useState(void 0),[I,P]=k.useState(!1),[j,q]=k.useState(!1),$=k.useRef(e),G=k.useRef(null),re=k.useCallback(()=>q(!1),[]),F=k.useCallback(()=>{v.isDisabled||v.isLoading||e.length<1||(q(!0),setTimeout(()=>P(!0),0),setTimeout(()=>tp(T,b,e,d,h),0))},[b,v.isDisabled,v.isLoading,e,d,h]),W=k.useCallback(()=>{P(!1),q(!0),a==null||a()},[a]),V=k.useCallback(te=>{var ce;I?W():F(),setTimeout(()=>tp(T,b,e,d,h),0),(ce=v.onClick)==null||ce.call(v,te)},[b,v,e,I,W,F,d,h]),ee=k.useCallback(()=>{tp(T,b,e,d,h)},[b,e,d,h]);k.useEffect(()=>{if(!I||!b.current)return;const te=b.current;let ce=te.parentElement;for(;ce;)ce.addEventListener("scroll",ee),ce=ce.parentElement;return()=>{let pe=te.parentElement;for(;pe;)pe.removeEventListener("scroll",ee),pe=pe.parentElement}},[b,I,ee]),k.useEffect(()=>{if(I)return window.addEventListener("resize",ee),()=>window.removeEventListener("resize",ee)},[I,ee]);const ue=k.useCallback(te=>{te[0].intersectionRatio===0&&W()},[W]);k.useEffect(()=>{if(!I)return;const te=new IntersectionObserver(ue,{threshold:0});return b.current&&te.observe(b.current),()=>te.disconnect()},[b,I,ue]);const le=k.useCallback(te=>{const ce=te.target,pe=b.current,ye=T.current;!pe||!ce||!ye||!pe.contains(ce)&&!ye.contains(ce)&&W()},[b,W]),de=k.useMemo(()=>v.isDisabled||v.isLoading||e.length<1,[v.isDisabled,v.isLoading,e]);k.useEffect(()=>{if(I)return setTimeout(()=>document.addEventListener("mousedown",le),0),()=>document.removeEventListener("mousedown",le)},[I,le]);const fe=k.useCallback((te,ce)=>{te.stopPropagation(),te.preventDefault(),S==null||S(ce),W()},[S,W]),ve=k.useCallback(()=>{if(!_||!b.current)return;const te=Qc.calculateOptimalSelectWidth({elementRef:b,options:e,selectedOption:w,placeholder:o,optionRenderer:ce=>ce===null?null:u({option:ce}),type:n,isMulti:!1});R(te)},[_,b,e,w,o,u,n]);return k.useEffect(()=>_?((e!==$.current||E===void 0)&&(G.current!==null&&cancelAnimationFrame(G.current),G.current=requestAnimationFrame(()=>{ve(),G.current=null,$.current=[...e]})),()=>{G.current!==null&&(cancelAnimationFrame(G.current),G.current=null)}):void 0,[_,e,ve,E]),k.useEffect(()=>()=>{typeof Qc.clearCache=="function"&&Qc.clearCache()},[]),C.jsxs(C.Fragment,{children:[C.jsxs(Zr,{...v,abaseRef:b,isDisabled:v.isDisabled||e.length<1,className:Be.clsx(v.className,zi.ASelect,"NoSelect",I&&zi.IsOpen,de&&zi.UnAvailable,zi[n]),style:{padding:n==="Secondary"?"8px 8px 8px 0":0,width:E?`${E}px`:_?"100px":void 0,...v.style},onClick:V,children:[C.jsx("div",{className:zi.ValuesContainer,children:C.jsx("div",{className:Be.clsx(zi.Values,(w==null||w==="")&&zi.Placeholder),children:C.jsx(f,{OptionRenderer:u,placeholder:o,selectedOption:w})})}),C.jsx("div",{...x,className:Be.clsx(zi.Arrow,x==null?void 0:x.className),children:C.jsx(Nr,{icon:"TriangleDown",style:{transform:I?"rotate(180deg)":"",transition:"var(--Transition)"}})})]}),e.length>0&&(I||j)&&$s.createPortal(C.jsx("div",{ref:T,className:Be.clsx(zi.Options,zi[n]),style:{opacity:+I,visibility:I?"visible":"hidden",pointerEvents:I?void 0:"none",borderRadius:b.current?window.getComputedStyle(b.current).borderRadius:void 0,width:E?`${E}px`:_?"100px":void 0},onTransitionEnd:re,children:e.map((te,ce)=>{const pe=w===te,ye=b.current?window.getComputedStyle(b.current):void 0;return te===null?null:C.jsx("div",{className:Be.clsx(zi.Option,pe&&zi.Selected,"NoSelect",zi[n]),style:{height:ye==null?void 0:ye.height},onClick:Ie=>fe(Ie,te),children:C.jsx(u,{option:te})},ce)})}),document.body)]})};function tp(r,e,t,n,o){if(!e.current||!r.current||!t||t.length<1)return;const a=e.current.getBoundingClientRect(),u=U5(a,t.length,n,o),f=window.getComputedStyle(e.current);r.current.style.top=`calc(${u.top??0}px - ${f.borderTopWidth})`,r.current.style.bottom=u.bottom?u.bottom+"px":"",r.current.style.left=u.left+"px",r.current.style.width||(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 U5(r,e,t,n){const o={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<o.height&&(window.innerHeight-r.bottom-10<o.minHeight?(o.top=r.top-e*r.height,o.top<0&&(o.top=10,o.minHeight=r.top-10,o.height=r.top-10)):o.height=window.innerHeight-r.bottom-10),o}const W5=r=>{const{option:e}=r;return tr.isReactNode(e)?e:null},V5=r=>{const{selectedOption:e,OptionRenderer:t,placeholder:n}=r;return e==null||e===""?n:C.jsx(t,{option:e})},G5="_Anchor_27s50_1",Z5="_Primary_27s50_18",K5="_Secondary_27s50_21",Y5="_Placeholder_27s50_25",X5="_Icon_27s50_30",J5="_ADatePicker_27s50_37",Q5="_StringInputWrap_27s50_48",e6="_StringInputContainer_27s50_53",t6="_StringInput_27s50_48",r6="_IsIdx_27s50_68",n6="_CalendarContainer_27s50_72",o6="_Header_27s50_78",i6="_Prev_27s50_82",s6="_Next_27s50_83",a6="_MonthYear_27s50_116",l6="_Select_27s50_121",c6="_Calendar_27s50_72",u6="_Cell_27s50_131",f6="_IsNotCurrentMonth_27s50_143",d6="_IsSelected_27s50_147",h6="_IsDisabled_27s50_151",p6="_IsHovered_27s50_154",g6="_Week_27s50_158",m6="_WeekDay_27s50_163",fn={Anchor:G5,Primary:Z5,Secondary:K5,Placeholder:Y5,Icon:X5,ADatePicker:J5,StringInputWrap:Q5,StringInputContainer:e6,StringInput:t6,String:"_String_27s50_48",IsIdx:r6,CalendarContainer:n6,Header:o6,Prev:i6,Next:s6,MonthYear:a6,Select:l6,Calendar:c6,Cell:u6,IsNotCurrentMonth:f6,IsSelected:d6,IsDisabled:h6,IsHovered:p6,Week:g6,WeekDay:m6},v6="_Anchor_1x8q1_1",y6="_Primary_1x8q1_18",b6="_Secondary_1x8q1_22",_6="_Placeholder_1x8q1_26",x6="_Icon_1x8q1_31",S6="_ADateRangePicker_1x8q1_38",C6="_StringInputWrap_1x8q1_49",w6="_StringInputContainer_1x8q1_53",A6="_StringInput_1x8q1_49",E6="_IsIdx_1x8q1_69",T6="_CalendarContainer_1x8q1_73",k6="_Header_1x8q1_79",R6="_Prev_1x8q1_83",I6="_Next_1x8q1_84",L6="_MonthYear_1x8q1_117",O6="_Select_1x8q1_122",M6="_Calendar_1x8q1_73",D6="_Cell_1x8q1_132",P6="_IsNotCurrentMonth_1x8q1_144",N6="_IsSelected_1x8q1_148",j6="_IsDisabled_1x8q1_152",F6="_IsHovered_1x8q1_155",B6="_Week_1x8q1_159",H6="_WeekDay_1x8q1_164",q6="_ChoiceButton_1x8q1_168",Vr={Anchor:v6,Primary:y6,Secondary:b6,Placeholder:_6,Icon:x6,ADateRangePicker:S6,StringInputWrap:C6,StringInputContainer:w6,StringInput:A6,String:"_String_1x8q1_49",IsIdx:E6,CalendarContainer:T6,Header:k6,Prev:R6,Next:I6,MonthYear:L6,Select:O6,Calendar:M6,Cell:D6,IsNotCurrentMonth:P6,IsSelected:N6,IsDisabled:j6,IsHovered:F6,Week:B6,WeekDay:H6,ChoiceButton:q6},xm=r=>{const{type:e="Primary",className:t,useDateRange:n,actionRef:o,position:a=af.SE,minDate:u,maxDate:f,isDisabled:d,isLoading:h,yearsOptionSize:x,noDefaultChoices:_,LeftAddon:v,RightAddon:y,placeholder:b,noClearButton:T,resources:w,onClick:S,...E}=r,R=k.useMemo(()=>({...Ur.ADateRangePicker,...w}),[w]),I=k.useMemo(()=>b??R["Select DateRange"],[b,R]),[P,j]=k.useMemo(()=>{let ae,st;if(u&&(ae=Zt.makeSDate(u)),f&&(st=Zt.makeEDate(f)),ae&&st&&Zt["<"](st,ae)){console.warn("ADateRangePicker: maxDate should be greater than minDate. maxDate and minDate are swapped.");const mt=ae;ae=st,st=mt}return[ae,st]},[u,f]),[q,$]=k.useState("sD"),[G,re]=dn(n,void 0),F=k.useCallback(ae=>{re&&(ae===void 0?(re(void 0),Ce(""),ot("")):(re({sDate:Zt.makeSDate(ae.sDate),eDate:Zt.makeEDate(ae.eDate)}),Ce(Zt.toString(ae.sDate)),ot(Zt.toString(ae.eDate))))},[re]);k.useEffect(()=>{G&&(Ce(Zt.toString(G.sDate)),ot(Zt.toString(G.eDate)))},[G]);const W=k.useCallback(ae=>{if(!re)return;let st=G?G.sDate:Zt.makeSDate(ae);ae=Zt.makeEDate(ae),re({sDate:st,eDate:ae}),Ce(Zt.toString(st)),ot(Zt.toString(ae))},[re,G]),[V,ee]=k.useState(),[ue,le]=k.useState(),de=k.useCallback(ae=>{q==="sD"&&F({sDate:ae,eDate:ae}),ee(ae),le(ae)},[q,F,ee]),fe=k.useCallback(ae=>{q==="sD"?V&&(Zt.eq(V,ae)?$("eD"):Zt[">"](ae,V)?(W(ae),ee(void 0)):(F({sDate:ae,eDate:V}),ee(void 0))):(G?Zt["<"](ae,G.sDate)?F({sDate:ae,eDate:G.eDate}):W(ae):F({sDate:ae,eDate:ae}),ee(void 0),$("sD"))},[W,V,$,q,F,G,ee]),ve=k.useCallback(ae=>{V&&le(ae)},[V]),te=k.useCallback(()=>{le(void 0),ee(void 0),$("sD")},[$,ee]),[ce,pe]=k.useState(dy(G,P,j)),ye=k.useMemo(()=>Sm(ce.year,P,j,x),[ce.year,P,j,x]),Ie=k.useMemo(()=>td(ce.year,P,j),[P,j,ce.year]),oe=k.useCallback(ae=>{if(!ye.includes(ae))return;const st={month:ce.month,year:ae},mt=td(st.year,P,j);mt.length<1||(mt.includes(st.month)||(st.month<mt[0]?st.month=mt[0]:st.month>mt[mt.length-1]&&(st.month=mt[mt.length-1])),pe(st))},[P,j,ye,ce.month]),we=k.useCallback(ae=>{Ie.includes(ae)&&pe({month:ae,year:ce.year})},[Ie,ce.year]),Oe=k.useMemo(()=>j?new Date(ce.year,ce.month+1,1)>j:!1,[ce,j]),Ue=k.useCallback(()=>{if(Oe||Ie.length<1)return;const ae=ce.month+1;ae>11?pe({month:Ie[0],year:ce.year+1}):pe({month:ae,year:ce.year})},[Oe,Ie,ce]),We=k.useMemo(()=>P?new Date(ce.year,ce.month,0)<P:!1,[ce,P]),Se=k.useCallback(()=>{if(We||Ie.length<1)return;const ae=ce.month-1;ae<Ie[0]?pe({month:Ie[Ie.length-1],year:ce.year-1}):pe({month:ae,year:ce.year})},[We,Ie,ce]),[_e,Ce]=k.useState(G!=null&&G.sDate?Zt.toString(G.sDate):""),Te=k.useCallback(ae=>{if(ae.length>10||(Ce(ae),ae.length<10)||!re)return;let st=Zt.toDate(ae);if(!st)return;P&&st<P&&(st=P),j&&st>j&&(st=j);let mt=G?G.eDate:st;G&&Zt[">"](st,mt)&&([st,mt]=hy(st,mt)),F({sDate:st,eDate:mt}),pe({month:st.getMonth(),year:st.getFullYear()})},[re,F,G,P,j]),[Ne,ot]=k.useState(G!=null&&G.eDate?Zt.toString(G.eDate):""),$e=k.useCallback(ae=>{if(ae.length>10||(ot(ae),ae.length<10)||!re)return;let st=Zt.toDate(ae);if(!st)return;P&&st<P&&(st=P),j&&st>j&&(st=j);let mt=G?G.sDate:st;G&&Zt[">"](mt,st)&&([mt,st]=hy(mt,st)),F({sDate:mt,eDate:st}),pe({month:st.getMonth(),year:st.getFullYear()})},[re,F,G,P,j]),tt=k.useCallback(()=>{G&&(Ce(Zt.toString(G.sDate)),ot(Zt.toString(G.eDate)))},[G]),at=k.useMemo(()=>{const{month:ae,year:st}=ce,mt=new Date(st,ae,1),Ft=new Date(st,ae+1,0),Rt=[];for(let Qt=0;Qt<mt.getDay();Qt++){const sr=new Date(st,ae,0).getDate()-mt.getDay()+Qt+1,er=new Date(st,ae-1,sr),_r=P&&P>er||j&&j<er,fr=G?Zt.be(G.sDate,er,G.eDate):!1,lt=ue&&G&&Zt.be(G.sDate,er,ue);Rt.push({day:sr,isSelected:fr,isHovered:lt,date:er,isDisabled:_r,isCurrentMonth:!1})}for(let Qt=1;Qt<=Ft.getDate();Qt++){const qt=new Date(st,ae,Qt),sr=P&&P>qt||j&&j<qt,er=G?Zt.be(G.sDate,qt,G.eDate):!1,_r=ue&&G&&Zt.be(G.sDate,qt,ue);Rt.push({day:Qt,isSelected:er,isHovered:_r,date:qt,isDisabled:sr,isCurrentMonth:!0})}for(let Qt=0;Qt<7-Ft.getDay()-1;Qt++){const qt=new Date(st,ae+1,Qt+1),sr=P&&P>qt||j&&j<qt,er=G?Zt.be(G.sDate,qt,G.eDate):!1,_r=ue&&G&&Zt.be(G.sDate,qt,ue);Rt.push({day:Qt+1,isSelected:er,isHovered:_r,date:qt,isDisabled:sr,isCurrentMonth:!1})}const Mt=[];for(let Qt=0;Qt<Rt.length/7;Qt++)Mt.push(C.jsx("div",{className:Vr.Week,children:Rt.slice(Qt*7,Qt*7+7).map((qt,sr)=>C.jsx(Ho,{isDisabled:qt.isDisabled,type:"Raw",className:Be.clsx(Vr.Cell,qt.isDisabled?Vr.IsDisabled:qt.isCurrentMonth?qt.isSelected?Vr.IsSelected:qt.isHovered&&Vr.IsHovered:Vr.IsNotCurrentMonth),onMouseDown:()=>qt.isCurrentMonth&&de(qt.date),onMouseEnter:()=>qt.isCurrentMonth&&ve(qt.date),onMouseUp:()=>qt.isCurrentMonth&&fe(qt.date),children:qt.day},sr))},Qt));return Mt},[ce,ue,G,P,j,de,fe,ve]),De=k.useRef(null),Ke=k.useCallback(()=>{De&&ym(De,qe,a)},[De,a]),[yt,bt]=k.useState(!1),[_t,At]=k.useState(!1),qe=k.useRef(null),Qe=k.useCallback(()=>{d||h||(bt(!0),setTimeout(()=>At(!0),0),setTimeout(()=>Ke(),0),pe(dy(G,P,j)))},[d,h,G,Ke,P,j]),St=k.useCallback(()=>{d||h||(bt(!0),At(!1))},[d,h]),Dt=k.useMemo(()=>_t?St:Qe,[_t,Qe,St]),Et=k.useCallback(()=>bt(!1),[]),Ze=k.useCallback(ae=>{const st=document.getElementById("root"),mt=ae.target,Ft=qe.current,Rt=De.current;!st||!Ft||!mt||!Rt||!Ft.contains(mt)&&st.contains(mt)&&!Rt.contains(mt)&&St()},[St]);k.useEffect(()=>{if(_t)return setTimeout(()=>document.addEventListener("mousedown",Ze),0),()=>document.removeEventListener("mousedown",Ze)},[_t,Ze]);const It=k.useCallback(()=>{Ke()},[Ke]);k.useEffect(()=>{if(!_t||!(De!=null&&De.current))return;const ae=De.current;let st=ae.parentElement;for(;st;)st.addEventListener("scroll",It),st=st.parentElement;return()=>{let mt=ae.parentElement;for(;mt;)mt.removeEventListener("scroll",It),mt=mt.parentElement}},[De,_t,It]),k.useEffect(()=>{if(_t)return window.addEventListener("resize",It),()=>window.removeEventListener("resize",It)},[_t,It]);const Ot=k.useCallback(ae=>{ae[0].intersectionRatio===0&&St()},[St]);k.useEffect(()=>{if(!_t)return;const ae=new IntersectionObserver(Ot,{threshold:0});return qe.current&&ae.observe(qe.current),()=>ae.disconnect()},[qe,_t,Ot]),k.useEffect(()=>{o&&(o.current={open:Qe,close:St,toggle:Dt})},[o,Qe,St,Dt]),k.useEffect(()=>{if(!G)return;let ae={sDate:G.sDate,eDate:G.eDate};P&&(Zt["<"](G.sDate,P)&&(ae.sDate=P),Zt["<"](G.eDate,P)&&(ae.eDate=P)),j&&(Zt[">"](G.sDate,j)&&(ae.sDate=j),Zt[">"](G.eDate,j)&&(ae.eDate=j)),(ae.sDate!==G.sDate||ae.eDate!==G.eDate)&&F(ae)},[P,j,G,F]);const pr=k.useCallback(ae=>{S==null||S(ae),Dt()},[S,Dt]),br=k.useCallback(ae=>{F(void 0),St(),ae.stopPropagation()},[F,St]),Or=k.useCallback(()=>G?C.jsx(mo,{icon:"Close",style:{scale:"0.8"},type:"Raw",onClick:br}):null,[G,br]),Ee=k.useMemo(()=>G?`${Zt.toString(G.sDate)} ~ ${Zt.toString(G.eDate)}`:C.jsx("span",{className:Vr.Placeholder,children:I}),[G,I]);return C.jsxs(C.Fragment,{children:[C.jsxs(Zr,{...E,abaseRef:De,className:Be.clsx(Vr.Anchor,"IsClickable",Vr[e],t),isDisabled:d,isLoading:h,onClick:pr,children:[v,e==="Primary"&&C.jsxs(C.Fragment,{children:[C.jsx(Nr,{className:Be.clsx(Vr.Icon,Vr[e]),icon:"CalendarDay"}),C.jsx(Tn,{w:4})]}),Ee,C.jsx(ou,{}),!T&&C.jsx(Or,{}),e==="Secondary"&&C.jsx(Nr,{className:Be.clsx(Vr.Icon,Vr[e]),icon:"CalendarDay"}),y&&y]}),(_t||yt)&&$s.createPortal(C.jsxs("div",{ref:qe,className:Vr.ADateRangePicker,style:{opacity:+_t,visibility:_t?"visible":"hidden"},onMouseLeave:te,onTransitionEnd:Et,children:[C.jsxs("div",{className:Vr.StringInputContainer,children:[C.jsxs(En,{children:[C.jsx(sc,{className:Be.clsx(Vr.String,q==="sD"&&ue&&Vr.IsIdx),inputProps:{className:Vr.StringInput},maxLength:11,placeholder:"YYYY-MM-DD",useValue:[_e,Te],wrapProps:{className:Vr.StringInputWrap},onBlur:tt}),C.jsx(Tn,{w:8}),C.jsx(sc,{className:Be.clsx(Vr.String,q==="eD"&&ue&&Vr.IsIdx),inputProps:{className:Vr.StringInput},maxLength:11,placeholder:"YYYY-MM-DD",useValue:[Ne,$e],wrapProps:{className:Vr.StringInputWrap},onBlur:tt})]}),!_&&C.jsxs(En,{style:{marginTop:4},children:[C.jsx(Md,{children:R["1일"],onClick:()=>F({sDate:new Date,eDate:new Date})}),C.jsx(Md,{children:R["1주일"],onClick:()=>F({sDate:new Date(new Date().setDate(new Date().getDate()-7)),eDate:new Date})}),C.jsx(Md,{children:R["1개월"],onClick:()=>F({sDate:new Date(new Date().setMonth(new Date().getMonth()-1)),eDate:new Date})}),C.jsx(Md,{children:R["3개월"],onClick:()=>F({sDate:new Date(new Date().setMonth(new Date().getMonth()-3)),eDate:new Date})})]})]}),C.jsxs("div",{className:Vr.CalendarContainer,children:[C.jsxs(En,{className:Vr.Header,children:[C.jsx(Ho,{className:Vr.Prev,isDisabled:We,type:"Raw",onClick:Se}),C.jsxs("div",{className:Vr.MonthYear,children:[C.jsx(ac,{isAutoWidth:!0,className:Vr.Select,OptionRenderer:ae=>R.months(ae.option),options:Ie,SelectedRenderer:ae=>R.months(ae.selectedOption),type:"Secondary",useSelect:[ce.month,we]}),C.jsx(Tn,{w:8}),C.jsx(ac,{isAutoWidth:!0,className:Vr.Select,options:ye,type:"Secondary",useSelect:[ce.year,oe]})]}),C.jsx(Ho,{className:Vr.Next,isDisabled:Oe,type:"Raw",onClick:Ue})]}),C.jsx(Tn,{h:10}),C.jsxs("div",{className:Vr.Calendar,children:[C.jsx("div",{className:Vr.Week,children:[0,1,2,3,4,5,6].map(ae=>C.jsx("div",{className:Be.clsx(Vr.WeekDay,Vr.Cell),children:R.weekDays(ae)},ae))}),at]})]})]}),document.body)]})};function td(r,e,t){let n=0;e&&e.getFullYear()===r&&(n=e.getMonth());let o=11;t&&t.getFullYear()===r&&(o=t.getMonth());const a=[];for(let u=n;u<=o;u++)a.push(u);return a}function Sm(r,e,t,n=5){const o=[];let a=r-n/2+n%2/2;e&&a<e.getFullYear()&&(a=e.getFullYear());let u=a+n-1;t&&u>t.getFullYear()&&(u=t.getFullYear());for(let f=a;f<=u;f++)o.push(f);return o}function dy(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 hy(r,e){return[e,r]}const Md=r=>C.jsx(Ho,{className:Be.clsx(Vr.ChoiceButton,"Headline2"),type:"Secondary",...r}),z6=["Primary","Secondary","Raw"],Cm=r=>{const{type:e="Primary",className:t,useDate:n,actionRef:o,position:a=af.SE,minDate:u,maxDate:f,isDisabled:d,isLoading:h,placeholder:x,LeftAddon:_,RightAddon:v,resources:y,noClearButton:b,onClick:T,...w}=r,S=k.useMemo(()=>({...Ur.ADatePicker,...y}),[y]),E=k.useMemo(()=>x??S["Select Date"],[x,S]),[R,I]=k.useMemo(()=>{let qe,Qe;return u&&(qe=Zt.makeSDate(u)),f&&(Qe=Zt.makeEDate(f)),qe&&Qe&&Zt["<"](Qe,qe)?(console.warn("ADatePicker: maxDate should be greater than minDate. maxDate and minDate are swapped."),[Zt.makeSDate(Qe),Zt.makeEDate(qe)]):[qe,Qe]},[u,f]),[P,j]=dn(n,null),[q,$]=k.useState(P?Zt.toString(P):""),[G,re]=k.useState(()=>{const qe=P??new Date;return R&&qe<R?R.getMonth():I&&qe>I?I.getMonth():(qe??new Date).getMonth()}),[F,W]=k.useState(()=>{const qe=P??new Date;return R&&qe<R?R.getFullYear():I&&qe>I?I.getFullYear():(qe??new Date).getFullYear()}),V=k.useCallback(qe=>{W(qe);const Qe=td(qe,R,I);Qe.includes(G)||(G<Qe[0]?re(Qe[0]):G>Qe[Qe.length-1]&&re(Qe[Qe.length-1]))},[R,I,G]),ee=k.useCallback(qe=>{if(qe.length>10||($(qe),qe.length<10)||!j)return;let Qe=Zt.toDate(qe);Qe&&(R&&Qe<R&&(Qe=R),I&&Qe>I&&(Qe=I),j(Qe),W(Qe.getFullYear()),re(Qe.getMonth()))},[j,R,I]),ue=k.useCallback(qe=>{const Qe=F+qe;Qe<0||W(Qe)},[F]),le=k.useCallback(qe=>{const Qe=G+qe;Qe<0?(re(11),ue(-1)):Qe>11?(re(0),ue(1)):re(Qe)},[G,ue]),de=k.useCallback(qe=>{j&&(qe===void 0?(j(void 0),$("")):(j(qe),$(Zt.toString(qe))))},[j]),fe=k.useMemo(()=>{const qe=new Date(F,G,0);return R&&qe<R},[F,G,R]),ve=k.useMemo(()=>{const qe=new Date(F,G+1,1);return I&&qe>I},[F,G,I]),te=k.useCallback(()=>{fe||le(-1)},[le,fe]),ce=k.useCallback(()=>{ve||le(1)},[le,ve]),[pe,ye]=k.useState(null),Ie=k.useCallback(()=>{j&&ye(null)},[j]),oe=k.useCallback(qe=>{j&&ye(qe)},[j]),we=k.useMemo(()=>{const qe=new Date(F,G,1),Qe=new Date(F,G+1,0),St=[];for(let Et=0;Et<qe.getDay();Et++){const It=new Date(F,G,0).getDate()-qe.getDay()+Et+1,Ot=new Date(F,G-1,It),pr=R&&R>Ot||I&&I<Ot,br=P&&Zt.eq(Ot,P),Or=pe&&Zt.eq(Ot,pe);St.push({day:It,isSelected:br,date:Ot,isDisabled:pr,isHovered:Or,isCurrentMonth:!1})}for(let Et=1;Et<=Qe.getDate();Et++){const Ze=new Date(F,G,Et),It=R&&R>Ze||I&&I<Ze,Ot=P&&Zt.eq(Ze,P),pr=pe&&Zt.eq(Ze,pe);St.push({day:Et,isSelected:Ot,date:Ze,isDisabled:It,isHovered:pr,isCurrentMonth:!0})}for(let Et=0;Et<7-Qe.getDay()-1;Et++){const Ze=new Date(F,G+1,Et+1),It=R&&R>Ze||I&&I<Ze,Ot=P&&Zt.eq(Ze,P),pr=pe&&Zt.eq(Ze,pe);St.push({day:Et+1,isSelected:Ot,date:Ze,isDisabled:It,isHovered:pr,isCurrentMonth:!1})}const Dt=[];for(let Et=0;Et<St.length/7;Et++)Dt.push(C.jsx("div",{className:fn.Week,children:St.slice(Et*7,Et*7+7).map((Ze,It)=>C.jsx(Ho,{isDisabled:Ze.isDisabled,type:"Raw",className:Be.clsx(fn.Cell,Ze.isDisabled?fn.IsDisabled:Ze.isCurrentMonth?Ze.isSelected?fn.IsSelected:Ze.isHovered&&fn.IsHovered:fn.IsNotCurrentMonth),onClick:()=>Ze.isCurrentMonth&&de(Ze.date),onMouseEnter:()=>Ze.isCurrentMonth&&oe(Ze.date),onMouseLeave:()=>Ze.isCurrentMonth&&Ie(),children:Ze.day},It))},Et));return Dt},[G,de,P,F,R,I,pe,Ie,oe]),Oe=k.useRef(null),Ue=k.useCallback(()=>{Oe&&ym(Oe,Te,a)},[Oe,a]),[We,Se]=k.useState(!1),[_e,Ce]=k.useState(!1),Te=k.useRef(null),Ne=k.useCallback(()=>{d||h||(Se(!0),setTimeout(()=>Ce(!0),0),setTimeout(()=>Ue(),0),$(P?Zt.toString(P):""),re(()=>{const qe=P??new Date;return R&&qe<R?R.getMonth():I&&qe>I?I.getMonth():qe.getMonth()}),W(()=>{const qe=P??new Date;return R&&qe<R?R.getFullYear():I&&qe>I?I.getFullYear():qe.getFullYear()}))},[d,h,P,Ue,R,I]),ot=k.useCallback(()=>{d||h||(Se(!0),Ce(!1))},[d,h]),$e=k.useMemo(()=>_e?ot:Ne,[_e,Ne,ot]),tt=k.useCallback(()=>Se(!1),[]),at=k.useCallback(qe=>{const Qe=document.getElementById("root"),St=qe.target,Dt=Te.current,Et=Oe.current;!Qe||!Dt||!St||!Et||!Dt.contains(St)&&Qe.contains(St)&&!Et.contains(St)&&ot()},[ot]);k.useEffect(()=>{if(_e)return setTimeout(()=>document.addEventListener("mousedown",at),0),()=>document.removeEventListener("mousedown",at)},[_e,at]);const De=k.useCallback(()=>{Ue()},[Ue]);k.useEffect(()=>{if(!_e||!(Oe!=null&&Oe.current))return;const qe=Oe.current;let Qe=qe.parentElement;for(;Qe;)Qe.addEventListener("scroll",De),Qe=Qe.parentElement;return()=>{let St=qe.parentElement;for(;St;)St.removeEventListener("scroll",De),St=St.parentElement}},[Oe,_e,De]),k.useEffect(()=>{if(_e)return window.addEventListener("resize",De),()=>window.removeEventListener("resize",De)},[_e,De]);const Ke=k.useCallback(qe=>{qe[0].intersectionRatio===0&&ot()},[ot]);k.useEffect(()=>{if(!_e)return;const qe=new IntersectionObserver(Ke,{threshold:0});return Te.current&&qe.observe(Te.current),()=>qe.disconnect()},[Te,_e,Ke]),k.useEffect(()=>{o&&(o.current={open:Ne,close:ot,toggle:$e})},[o,Ne,ot,$e]);const yt=k.useCallback(qe=>{T==null||T(qe),$e()},[T,$e]),bt=k.useCallback(qe=>{de(void 0),ot(),qe.stopPropagation()},[de,ot]),_t=k.useCallback(()=>P?C.jsx(mo,{icon:"Close",style:{scale:"0.8"},type:"Raw",onClick:bt}):null,[P,bt]),At=k.useMemo(()=>P?Zt.toString(P):C.jsx("span",{className:fn.Placeholder,children:E}),[P,E]);return C.jsxs(C.Fragment,{children:[C.jsxs(Zr,{...w,abaseRef:Oe,className:Be.clsx(fn.Anchor,"IsClickable",fn[e],t),isDisabled:d,isLoading:h,onClick:yt,children:[_,e==="Primary"&&C.jsxs(C.Fragment,{children:[C.jsx(Nr,{className:Be.clsx(fn.Icon,fn[e]),icon:"CalendarDay"}),C.jsx(Tn,{w:4})]}),At,C.jsx(ou,{}),!b&&C.jsx(_t,{}),e==="Secondary"&&C.jsx(Nr,{className:Be.clsx(fn.Icon,fn[e]),icon:"CalendarDay"}),v&&v]}),(_e||We)&&$s.createPortal(C.jsxs("div",{ref:Te,className:fn.ADatePicker,style:{opacity:+_e,visibility:_e?"visible":"hidden"},onTransitionEnd:tt,children:[C.jsx("div",{className:fn.StringInputContainer,children:C.jsx(sc,{className:fn.String,inputProps:{className:fn.StringInput},maxLength:P?30:11,placeholder:"YYYY-MM-DD",useValue:[q,ee],wrapProps:{className:fn.StringInputWrap}})}),C.jsxs("div",{className:fn.CalendarContainer,children:[C.jsxs(En,{className:fn.Header,children:[C.jsx(Ho,{className:fn.Prev,isDisabled:fe,type:"Raw",onClick:te}),C.jsxs("div",{className:fn.MonthYear,children:[C.jsx(ac,{isAutoWidth:!0,className:fn.Select,OptionRenderer:qe=>S.months(qe.option),options:td(F,R,I),SelectedRenderer:qe=>S.months(qe.selectedOption),type:"Secondary",useSelect:[G,re]}),C.jsx(Tn,{w:8}),C.jsx(ac,{isAutoWidth:!0,className:fn.Select,options:Sm(F,R,I),type:"Secondary",useSelect:[F,V]})]}),C.jsx(Ho,{className:fn.Next,isDisabled:ve,type:"Raw",onClick:ce})]}),C.jsx(Tn,{h:10}),C.jsxs("div",{className:fn.Calendar,children:[C.jsx("div",{className:fn.Week,children:[0,1,2,3,4,5,6].map(qe=>C.jsx("div",{className:Be.clsx(fn.WeekDay,fn.Cell),children:S.weekDays(qe)},qe))}),we]})]})]}),document.body)]})},$6="_Paper_e69j5_1",U6="_Card_e69j5_15",W6="_Body_e69j5_26",V6="_Title_e69j5_35",G6="_Content_e69j5_42",Z6="_Action_e69j5_45",K6="_Button_e69j5_58",Sa={Paper:$6,Card:U6,Body:W6,Title:V6,Content:G6,Action:Z6,Button:K6},Y6=["okCancel","cancelOk","ok","cancel","none"],X6=r=>{const{dlgCore:e,type:t="okCancel",title:n,children:o,style:a,titleStyle:u,bodyStyle:f,contentStyle:d,okButtonStyle:h,cancelButtonStyle:x,actionStyle:_,onOk:v,onCancel:y,onClose:b,onEnterPress:T,onEscPress:w,onSpacePress:S,onPaperClick:E,noDim:R=!1,isLoading:I,isOkDisabled:P,isOkLoading:j,isCancelDisabled:q,isCancelLoading:$,buttonNoInteractive:G,okButtonClassName:re,cancelButtonClassName:F,progress:W,progressProps:V,resources:ee}=r,ue=k.useMemo(()=>({...Ur.ADialog,...ee}),[ee]),[le,de]=k.useState(0);k.useEffect(()=>de(1),[]);const fe=k.useCallback(()=>{de(0)},[]),ve=k.useCallback(()=>{if(!le){const[,Te]=e.state.useIsOpen;Te==null||Te(!1),b==null||b()}},[le,b,e]),te=k.useCallback(async()=>{if(!le||t==="cancel"||t==="none"||I||P||j)return;const{event:Te,e:Ne}=Xc();await(v==null?void 0:v(Ne)),!Te.preventDefault&&fe()},[le,t,fe,v,P,I,j]),ce=k.useCallback(async()=>{if(!le||t==="ok"||t==="none"||I||q||$)return;const{event:Te,e:Ne}=Xc();await(y==null?void 0:y(Ne)),!Te.preventDefault&&fe()},[le,t,fe,y,q,I,$]);k.useEffect(()=>{e&&e.state.setAction({close:fe,ok:te,cancel:ce})},[e,fe,te,ce]);const pe=k.useCallback(async()=>{if(I)return;const{event:Te,e:Ne}=Xc();await(T==null?void 0:T(Ne)),!Te.preventDefault&&te()},[T,I,te]),ye=k.useCallback(async()=>{if(I)return;const{event:Te,e:Ne}=Xc();await(S==null?void 0:S(Ne)),!Te.preventDefault&&te()},[S,I,te]),Ie=k.useCallback(async()=>{if(I)return;const{event:Te,e:Ne}=Xc();await(w==null?void 0:w(Ne)),!Te.preventDefault&&ce()},[w,I,ce]),oe=k.useRef(null),we=k.useCallback(Te=>{const Ne=document.body.getElementsByClassName(Sa.Paper);Ne.length===0||Ne[Ne.length-1]!==oe.current||(Te.key==="Enter"&&le?pe():Te.key===" "&&le?ye():Te.key==="Escape"&&le&&Ie())},[le,pe,ye,Ie]);k.useEffect(()=>{if(le)return window.addEventListener("keydown",we),()=>window.removeEventListener("keydown",we)},[le,we]);const Oe=k.useRef(!1),Ue=k.useRef(!1),We=k.useCallback(()=>{Oe.current=!0},[]),Se=k.useCallback(()=>{Oe.current=!1,Ue.current=!1},[]),_e=k.useCallback(()=>{Ue.current=!0},[]),Ce=k.useCallback(async()=>{if(I)return;const Te=!Ue.current||Oe.current;if(Oe.current=!1,Ue.current=!1,Te)return;const{event:Ne,e:ot}=Xc();await(E==null?void 0:E(ot)),!Ne.preventDefault&&ce()},[E,I,ce]);return $s.createPortal(C.jsx("div",{ref:oe,className:Sa.Paper,style:{backgroundColor:R?"transparent":void 0,pointerEvents:le?void 0:"none",opacity:le},onMouseDown:_e,onMouseUp:Ce,onTransitionEnd:ve,children:C.jsxs(Zr,{className:Sa.Card,isLoading:I,progress:W,progressProps:V,style:a,onMouseDown:We,onMouseUp:Se,children:[C.jsxs("div",{className:Sa.Body,style:f,children:[n&&C.jsx(J6,{title:n,titleStyle:u}),o&&C.jsx("div",{className:Sa.Content,style:d,children:o})]}),t!=="none"&&C.jsx(Q6,{type:t,ok:te,cancel:ce,resources:ue,isOkDisabled:P,isOkLoading:j,isCancelDisabled:q,isCancelLoading:$,okButtonStyle:h,cancelButtonStyle:x,actionStyle:_,buttonNoInteractive:G,okButtonClassName:re,cancelButtonClassName:F})]})}),document.body)},J6=r=>{const{title:e,titleStyle:t}=r;return C.jsx("div",{className:Be.clsx(Sa.Title,"NoSelect","Title3"),style:t,children:e})},Q6=r=>{const{type:e,ok:t,cancel:n,resources:o,isOkDisabled:a,isOkLoading:u,isCancelDisabled:f,isCancelLoading:d,okButtonStyle:h,cancelButtonStyle:x,actionStyle:_,buttonNoInteractive:v,okButtonClassName:y,cancelButtonClassName:b}=r,T=k.useMemo(()=>({onClick:t,isDisabled:a,isLoading:u,children:o.Ok,style:h,noInteractive:v,className:Be.clsx(Sa.Button,y)}),[t,a,u,o.Ok,h,v,y]),w=k.useMemo(()=>({type:"Secondary",onClick:n,isDisabled:f,isLoading:d,children:o.Cancel,style:x,noInteractive:v,className:Be.clsx(Sa.Button,b)}),[n,f,d,o.Cancel,x,v,b]);if(e==="okCancel"||e==="ok")return C.jsxs("div",{className:Sa.Action,style:{..._},children:[C.jsx(Ho,{...T}),e==="okCancel"&&C.jsxs(C.Fragment,{children:[C.jsx(Tn,{w:8}),C.jsx(Ho,{...w})]})]},e);if(e==="cancelOk"||e==="cancel")return C.jsxs("div",{className:Sa.Action,children:[C.jsx(Ho,{...w}),e==="cancelOk"&&C.jsxs(C.Fragment,{children:[C.jsx(Tn,{w:8}),C.jsx(Ho,{...T})]})]},e)},ek=r=>{const e=k.useMemo(()=>Math.random().toFixed(32),[]),t=k.useMemo(()=>{const y={};return r.forEach(b=>{y[b]=b+e}),y},[r,e]),n=k.useMemo(()=>[],[]),o=k.useMemo(()=>(n.length=0,n.push(...r),n),[n,r]),[a,u]=k.useState([]),f=k.useRef((()=>{const y={};return o.forEach(b=>{y[b]={open:()=>u(T=>[...T,b]),close:()=>{},ok:()=>{},cancel:()=>{}}}),y})()),d=k.useMemo(()=>{const y={};return o.forEach(b=>{y[b]=T=>{u(w=>!T&&w.includes(b)?w.filter(S=>S!==b):T&&!w.includes(b)?[...w,b]:w)}}),y},[o]),h=k.useMemo(()=>{const y={};return o.forEach(b=>{const w=[a.includes(b),d[b]],S=E=>{f.current[b]={...f.current[b],...E}};y[b]={useIsOpen:w,setAction:S}}),y},[a,d,o]),x=k.useMemo(()=>{const y={};return o.forEach(b=>{const T=()=>f.current[b].open(),w=()=>f.current[b].close(),S=()=>f.current[b].ok(),E=()=>f.current[b].cancel();y[b]={open:T,close:w,ok:S,cancel:E}}),y},[o]),_=k.useMemo(()=>({}),[]),v=k.useMemo(()=>(o.forEach(y=>{_[y]={state:h[y],action:x[y]}}),_),[_,o,h,x]);return k.useEffect(()=>(Object.keys(v).forEach(b=>{const T=v[b],w=t[b],S=qs.find(E=>{E.id});S?S.core=T:qs.push({id:w,core:T})}),()=>{const b=Object.keys(v),T=qs.filter(w=>b.includes(w.id));qs.length=0,qs.push(...T)}),[v,t]),v},tk=()=>{const r=k.useMemo(()=>Math.random().toFixed(32),[]),[e,t]=k.useState(!1),n=k.useRef({open:()=>t(!0),close:()=>{},ok:()=>{},cancel:()=>{}}),o=k.useMemo(()=>({useIsOpen:[e,t],setAction:d=>{n.current={...n.current,...d}}}),[e]),a=k.useMemo(()=>({open:()=>n.current.open(),close:()=>n.current.close(),ok:()=>n.current.ok(),cancel:()=>n.current.cancel()}),[]),u=k.useMemo(()=>({}),[]),f=k.useMemo(()=>(u.state=o,u.action=a,u),[u,o,a]);return k.useEffect(()=>{const d=qs.find(h=>h.id===r);return d?d.core=f:qs.push({id:r,core:f}),()=>{const h=qs.filter(x=>x.id!==r);qs.length=0,qs.push(...h)}},[r,f]),f},rk=r=>{const{dlgCore:e,children:t}=r,[n,o]=k.useMemo(()=>e.state.useIsOpen,[e.state.useIsOpen]);return k.useEffect(()=>()=>o==null?void 0:o(!1),[o]),C.jsx(k.Suspense,{children:n&&t})},nk=r=>e=>{const{dlgCore:t}=e;return C.jsx(rk,{dlgCore:t,children:k.cloneElement(C.jsx(r,{...e}),{dlgCore:t})})},qs=[],ok={closeAllDlgs:()=>{qs.forEach(r=>{r.core.action.close()})}},ik="_AFileBox_1hlo1_1",sk="_SelectedFile_1hlo1_16",ak="_Dropping_1hlo1_26",wm={AFileBox:ik,SelectedFile:sk,Dropping:ak},lk=r=>{const{useFile:e,FileRenderer:t=ck,SelectRenderer:n=uk,DropRenderer:o=fk,resources:a,accept:u="",onInvalidFileFormat:f,fileSelectButtonClassName:d,isDisabled:h,isLoading:x,className:_,...v}=r,y=k.useMemo(()=>({...Ur.AFileBox,...a}),[a]),b=k.useRef(null),T=k.useRef(null),[w,S]=dn(e,null),[E,R]=k.useState(!1),I=k.useMemo(()=>u.split(",").map(ee=>ee.trim()).filter(ee=>ee.length>0&&ee.startsWith(".")),[u]),P=k.useCallback(ee=>{if(I.length===0)return!1;const ue=ee.name.split(".").pop();return ue?!I.includes(`.${ue}`):!0},[I]),j=k.useCallback(ee=>{if(S)if(P(ee)){f==null||f();return}else S(ee);else return},[S,P,f]),q=k.useCallback(ee=>{ee.target.files&&ee.target.files.length>0&&j(ee.target.files[0])},[j]),$=k.useCallback(ee=>{ee.preventDefault(),R(!1),!(h||x)&&ee.dataTransfer.files&&ee.dataTransfer.files.length>0&&j(ee.dataTransfer.files[0])},[j,h,x]),G=k.useCallback(ee=>{ee.preventDefault(),!(h||x)&&R(!0)},[h,x]),re=k.useCallback(ee=>{ee.target===b.current&&ee.relatedTarget.contains(b.current.parentElement)&&(ee.preventDefault(),R(!1))},[]),F=k.useCallback(ee=>ee.preventDefault(),[]),W=k.useCallback(()=>{var ee;(ee=T.current)==null||ee.click()},[]),V=k.useMemo(()=>E?C.jsx(o,{resources:y}):w?C.jsx(t,{file:w,useFile:e}):C.jsx(n,{fileSelectButtonClassName:d,resources:y,onClick:W}),[t,n,o,y,E,w,e,d,W]);return C.jsxs(Zr,{...v,abaseRef:b,className:Be.clsx(wm.AFileBox,_),isDisabled:h,isLoading:x,onDragEnter:G,onDragLeave:re,onDragOver:F,onDrop:$,children:[C.jsx("input",{ref:T,accept:u,style:{display:"none"},type:"file",value:"",onChange:q}),V]})},ck=r=>{const{file:e,useFile:t}=r,[,n]=dn(t,null);return C.jsxs(En,{className:wm.SelectedFile,style:{backgroundColor:""},children:[C.jsx(Nr,{icon:"File"}),C.jsx(Aa,{children:e.name}),C.jsx(mo,{icon:"Close",style:{marginLeft:2,transform:"scale(0.8)"},type:"Raw",onClick:()=>n==null?void 0:n(null)})]})},uk=r=>{const{onClick:e,resources:t,fileSelectButtonClassName:n}=r;return C.jsxs(En,{className:Be.clsx("NoSelect"),style:{gap:4},children:[C.jsx(Ho,{className:n,onClick:e,children:t["Select File"]}),t["or Drag & Drop"]]})},fk=r=>{const{resources:e}=r;return C.jsxs(Z2,{className:Be.clsx(wm.Dropping,"NoSelect","Headline2"),children:[C.jsx(Nr,{icon:"FileDownload"}),e["drop file to select"]]})},dk="_AFileUploader_4niz4_1",hk="_LabelContainer_4niz4_15",pk="_LabelButton_4niz4_24",gk="_Disabled_4niz4_30",mk="_Delete_4niz4_33",vk="_FileSize_4niz4_37",yk="_TotalFileSize_4niz4_44",bk="_FileBox_4niz4_48",_k="_SelectRenderer_4niz4_67",xk="_ChipsContainer_4niz4_78",Sk="_FileChip_4niz4_89",Ck="_FileChipContent_4niz4_101",wk="_FileNameContainer_4niz4_112",Ak="_ButtonRenderer_4niz4_118",Ek="_ErrorBorder_4niz4_129",Tk="_ErrorColor_4niz4_133",kk="_ErrorCursor_4niz4_137",jn={AFileUploader:dk,LabelContainer:hk,LabelButton:pk,Disabled:gk,Delete:mk,FileSize:vk,TotalFileSize:yk,FileBox:bk,SelectRenderer:_k,ChipsContainer:xk,FileChip:Sk,FileChipContent:Ck,FileNameContainer:wk,ButtonRenderer:Ak,ErrorBorder:Ek,ErrorColor:Tk,ErrorCursor:kk},Rk=({file:r,baseClass:e,errorClass:t,errorCursorClass:n,resources:o,onDownload:a})=>{const[u,f]=k.useState(!1);return C.jsx(mo,{className:Be.clsx(e,t,n),icon:u?"FileDownload":"CircleAlertOutline",iconSize:"sm",tooltip:o["Fail Download"],type:"Raw",onClick:()=>a(r),onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1)})},Ik=r=>{const{helperText:e,label:t,labelProps:n,wrapProps:o,wrapType:a,errorMessage:u,useFiles:f,accept:d,onInvalidFileFormat:h,onDownload:x,onDelete:_,type:v,limit:y=1024*1024*1024,maxFileCount:b,useError:T,isLoading:w,resources:S,className:E,...R}=r,I=k.useMemo(()=>({...Ur.AFileUploader,...S}),[S]),[P,j]=dn(f,void 0),[q,$]=dn(T,!1),[G,re]=k.useState({}),[F,W]=k.useState(!1),V=k.useRef(0),ee=k.useRef({}),ue=k.useRef(null),le=k.useRef(null),de=k.useCallback(De=>De.uniqueId||`${De.name}-${De.size}-${De.lastModified||""}-${De.idx||""}`,[]),fe=k.useMemo(()=>(P==null?void 0:P.reduce((De,Ke)=>De+Ke.size,0))||0,[P]);k.useEffect(()=>{$&&$(fe>y)},[fe,y,$]);const ve=k.useCallback(De=>{var bt;if(!d||d==="*"||d==="")return!0;const Ke=d.split(",").map(_t=>_t.trim()),yt=`.${(bt=De.name.split(".").pop())==null?void 0:bt.toLowerCase()}`;return Ke.includes(yt)?!0:Ke.some(_t=>{var At;if(_t.startsWith("."))return!1;if(_t.endsWith("/*")){const qe=_t.split("/")[0];return(At=De.type)==null?void 0:At.startsWith(`${qe}/`)}return De.type===_t})},[d]),te=k.useCallback((De,Ke)=>{const yt={...ee.current};yt[De]=Ke,ee.current=yt,re(yt)},[re]),ce=k.useCallback(De=>{const Ke=de(De);return G[Ke]||"Normal"},[G,de]),pe=k.useCallback(De=>w||ce(De)==="Loading",[w,ce]),ye=k.useCallback(De=>ce(De)==="Error"||v==="Upload"&&De.size>y,[ce,y,v]),Ie=k.useMemo(()=>P!=null&&P.length?v==="Download"?P.every(ye):!1:!0,[P,v,ye]),oe=k.useCallback(()=>{ue.current&&(ue.current.value="")},[]),we=k.useMemo(()=>!b||!(P!=null&&P.length)?!1:P.length>=b,[P,b]),Oe=k.useCallback(De=>{if(!j)return;const Ke=[];let yt=!1,bt=[],_t=b?b-((P==null?void 0:P.length)||0):1/0;if(!(_t<=0)){if(Array.from(De).forEach((At,qe)=>{if(qe>=_t)return;if(!ve(At)){yt=!0,bt.push(At.name);return}const Qe=At;Qe.uniqueId=`file-${Date.now()}-${V.current++}`,Ke.push(Qe)}),yt)if(h)h();else{const At=d?d.replace(/,/g,", "):"",qe=At?`${I["Supported file format(s)"]}: ${At}`:"",Qe=bt.length>3?`${bt.slice(0,3).join(", ")} ${I.and} ${bt.length-3} ${I["more file(s)"]}`:bt.join(", ");alert(`${I["Unsupported file format detected."]}
|
157
157
|
|
158
158
|
${I["Invalid file(s)"]}: ${Qe}${qe?`
|
159
159
|
|
160
|
-
`+qe:""}`)}Ke.length>0&&j([...P||[],...Ke])}},[j,ve,h,d,I,P,b]),Ue=k.useCallback(()=>{var De;return(De=ue.current)==null?void 0:De.click()},[]),We=k.useCallback(De=>{const Ke=De.target.files;Ke!=null&&Ke.length&&(Oe(Ke),oe())},[Oe,oe]),Se=k.useCallback(De=>{if(_==null||_(De),!j||!P)return;const Ke=de(De),yt=P.filter(_t=>de(_t)!==Ke);j(yt),oe()},[_,j,P,oe,de]),_e=k.useCallback(()=>{j&&(j([]),oe())},[j,oe]),Ce=k.useCallback(De=>{if(!x)return Promise.resolve();const Ke=de(De);return ee.current[Ke]==="Loading"?Promise.resolve():(te(Ke,"Loading"),new Promise(yt=>{x(De,_t=>{te(Ke,_t),yt()})}))},[x,de,te]),Te=k.useCallback(async()=>{if(P!=null&&P.length){if(re){const De={...ee.current};P.forEach(Ke=>{De[de(Ke)]="Loading"}),ee.current=De,re(De)}for(const De of P){if(!x)continue;const Ke=de(De);await new Promise(yt=>{x(De,_t=>{if(re){const bt={...ee.current};bt[Ke]=_t,ee.current=bt,re(bt)}yt()})})}}},[P,de,x,re]),Ne=k.useMemo(()=>{const De=Ke=>(Ke.preventDefault(),Ke.stopPropagation(),Ke);return{onDragEnter:Ke=>{De(Ke),!q&&!w&&W(!0)},onDragOver:Ke=>{De(Ke),!q&&!w&&Ke.dataTransfer&&(Ke.dataTransfer.dropEffect="copy")},onDragLeave:Ke=>{var _t;De(Ke);const yt=(_t=le.current)==null?void 0:_t.contains(Ke.relatedTarget);(!Ke.relatedTarget||!yt)&&W(!1)},onDrop:Ke=>{var yt;De(Ke),W(!1),!q&&!w&&((yt=Ke.dataTransfer.files)!=null&&yt.length)&&Oe(Ke.dataTransfer.files)}}},[q,w,Oe]),ot=k.useMemo(()=>{const De=Be.clsx(jn.ButtonRenderer,"NoSelect");return{upload:Ke=>C.jsx(mo,{className:De,icon:"X",iconSize:"sm",style:{color:"var(--label-neutral)"},tooltip:I.Delete,type:"Raw",onClick:()=>Se(Ke)}),loading:()=>C.jsx(mo,{className:De,icon:"Spinner",iconSize:"sm",type:"Raw"}),error:Ke=>C.jsx(Rk,{baseClass:De,errorClass:jn.ErrorColor,errorCursorClass:jn.ErrorCursor,file:Ke,resources:I,onDownload:Ce}),download:Ke=>C.jsx(mo,{className:De,icon:"FileDownload",iconSize:"sm",style:{color:"var(--acent-brand)"},tooltip:I.Download,type:"Raw",onClick:()=>Ce(Ke)})}},[I,Se,Ce]),$e=k.useCallback((De,Ke)=>{const yt=pe(De),_t=ye(De),bt=()=>v==="Upload"?ot.upload(De):yt?ot.loading():_t?ot.error(De):ot.download(De);return C.jsx(_m,{ButtonRenderer:bt,className:Be.clsx(jn.FileChip,_t&&jn.ErrorBorder),label:C.jsx("div",{className:jn.FileChipContent,children:C.jsxs(En,{className:jn.FileNameContainer,children:[C.jsx(Aa,{children:De.name,className:Be.clsx(_t&&jn.ErrorColor)}),C.jsx("span",{children:eu(De.size),className:jn.FileSize})]})})},Ke)},[pe,ye,v,ot]),tt=k.useCallback(()=>C.jsx("div",{className:Be.clsx(jn.FileBox,q&&jn.ErrorBorder,q&&jn.ErrorColor,q&&jn.ErrorCursor,we&&jn.Disabled),...Ne,ref:le,children:F?C.jsxs(En,{className:Be.clsx("NoSelect"),style:{gap:4},children:[C.jsx(Nr,{icon:"FileDownload"}),C.jsx("span",{children:I["Drop file to select"]})]}):C.jsxs(Ho,{className:Be.clsx(jn.SelectRenderer,"NoSelect"),isDisabled:q||w||we,type:"Raw",onClick:Ue,children:[I["Insert File"],b&&` ${(P==null?void 0:P.length)||0} / ${b}`]})}),[q,F,I,Ue,w,Ne,P,b,we]),at=k.useMemo(()=>{const De=v==="Upload",Ke=De?I["Delete All"]:I["Download All"],yt=De?_e:Te;return C.jsxs(En,{className:jn.LabelContainer,children:[t,v==="Upload"&&C.jsxs(Aa,{className:Be.clsx(jn.TotalFileSize,"NoSelect"),children:["(",C.jsx("span",{className:Be.clsx(q&&jn.ErrorColor),children:eu(fe)})," / ",eu(y),")"]}),C.jsx("span",{children:Ke,className:Be.clsx(jn.LabelButton,"Label1",Ie&&jn.Disabled,De&&jn.Delete),onClick:Ie?void 0:yt})]})},[v,I,_e,Te,t,q,fe,y,Ie]);return v==="Download"&&!(P!=null&&P.length)?null:C.jsxs(ic,{errorMessage:u,helperText:e,label:at,labelProps:n,wrapProps:o,wrapType:a,children:[C.jsx("input",{ref:ue,multiple:!0,accept:d||"",style:{display:"none"},type:"file",onChange:We}),C.jsx(Zr,{...R,className:Be.clsx(jn.AFileUploader,E),children:C.jsxs(En,{className:jn.ChipsContainer,children:[v==="Upload"&&tt(),P==null?void 0:P.map($e)]})})]})},Lk="_AFloatMenu_xco8u_1",Ok="_Content_xco8u_10",py={AFloatMenu:Lk,Content:Ok},Q2=r=>{const{defs:e,defaultDef:t,actionRef:n,offset:o,onClose:a,onClick:u,onPaperClick:f,position:d=af.ES,width:h=137}=r,x=k.useMemo(()=>({content:Mk,...t}),[t]),_=k.useMemo(()=>{const F={};return tr.keys(e).forEach(W=>{const V=e[W],ee={...x,...V};ee.noDisplay||(F[W]=ee)}),F},[x,e]),[v,y]=k.useState(null),b=k.useCallback(F=>{c2(F,R,d,o),y(F)},[d,o]),[T,w]=k.useState(!1),[S,E]=k.useState(!1),R=k.useRef(null),I=k.useCallback(F=>{E(!0),setTimeout(()=>w(!0),0),setTimeout(()=>b(F),0)},[b]),P=k.useCallback(()=>{w(!1),E(!0),a==null||a()},[a]),j=k.useCallback(()=>E(!1),[]),q=k.useCallback(async F=>{const W=document.getElementById("root"),V=F.target,ee=R.current;!W||!ee||!V||!ee.contains(V)&&W.contains(V)&&(await(f==null?void 0:f(F)),P())},[P,f]);k.useEffect(()=>{if(T)return setTimeout(()=>document.addEventListener("mousedown",q),0),()=>document.removeEventListener("mousedown",q)},[T,q]);const $=k.useCallback(()=>{v&&b(v)},[b,v]);k.useEffect(()=>{if(!T||!v)return;let F=v.parentElement;for(;F;)F.addEventListener("scroll",$),F=F.parentElement;return()=>{let W=v.parentElement;for(;W;)W.removeEventListener("scroll",$),W=W.parentElement}},[v,T,$]),k.useEffect(()=>{if(T)return window.addEventListener("resize",$),()=>window.removeEventListener("resize",$)},[T,$]);const G=k.useCallback(F=>{F[0].intersectionRatio===0&&P()},[P]);k.useEffect(()=>{if(!T)return;const F=new IntersectionObserver(G,{threshold:0});return R.current&&F.observe(R.current),()=>F.disconnect()},[R,T,G]),k.useEffect(()=>{n&&(n.current={open:I,close:P})},[n,I,P]);const re=k.useCallback(F=>{var W;if(T){if((W=_[F])!=null&&W.isDisabled)return}else return;u==null||u(F),P()},[T,u,P,_]);return!T&&!S?null:$s.createPortal(C.jsx("div",{ref:R,className:py.AFloatMenu,style:{opacity:+T,visibility:T&&Object.keys(_).length>0?"visible":"hidden",minWidth:h},onTransitionEnd:j,children:tr.map(_,([F],W)=>{const V={...x,..._[F]};let{content:ee,noDisplay:ue,tooltipDirection:le=So.E,...de}=V;return ue?null:(ee=Lr.getContent(V.content,{defKey:F,def:V}),k.createElement(Zr,{...de,key:W,className:Be.clsx(py.Content,"Label2","IsClickable",de.className),tooltipDirection:le,onClick:fe=>{var ve;re==null||re(F),(ve=de.onClick)==null||ve.call(de,fe)}},ee))})}),document.body)},Mk=r=>r.defKey;function Dk(r){try{const e=Number.parseInt(r);return isNaN(e)?void 0:e}catch{return}}const ex={parseInt:Dk},Pk=`${Number.MAX_SAFE_INTEGER}`.length-1,Nk=r=>{const{unit:e,type:t="Secondary",min:n,max:o,useValue:a,onEnterPress:u,canAsterisk:f=!1,onFocus:d,...h}=r,x=k.useMemo(()=>o!==void 0&&n!==void 0?Math.max(`${o}`.length+1,`${n}`.length+1):Pk,[n,o]),[_,v]=dn(a,""),y=k.useCallback(S=>{if(v)if(f&&S.startsWith("*"))v("*");else if(S==="")v("");else if(S==="-")v("-");else{S=S.replace(/[^0-9-]/g,"");try{const E=ex.parseInt(S);E!==void 0&&(n!==void 0&&E<n?v(`${n}`):o!==void 0&&E>o?v(`${o}`):v(`${E}`))}catch(E){console.error("ANumInput : ",E)}}},[v,f,n,o]),b=k.useRef(null),T=k.useCallback(S=>{var E;(E=b.current)==null||E.blur(),u==null||u(S)},[u]),w=k.useMemo(()=>n===void 0&&o===void 0?e??"number":`${n??""}~${o??""}`,[n,o,e]);return C.jsx(sc,{...h,autoComplete:"off",className:Be.clsx(oi.ANumInput,r.className),inputRef:b,maxLength:x,placeholder:w,RightAddon:r.unit&&C.jsx("span",{style:{marginRight:4},children:r.unit}),type:t,useValue:[_,y],onEnterPress:T})},jk="_AListView_k7t2d_1",Fk="_Row_k7t2d_10",Bk="_Label_k7t2d_20",Hk="_Content_k7t2d_30",Dd={AListView:jk,Row:Fk,Label:Bk,Content:Hk},qk=r=>{const{defs:e,defaultDef:t,item:n,rowHeight:o,labelWidth:a,noBorder:u,style:f,...d}=r,h=u?"":"var(--AListView_border-thin)",x=u?"":"var(--AListView_border-thick)",_=k.useMemo(()=>({content:$k,label:zk,...t}),[t]),v=k.useMemo(()=>{const y={};return tr.keys(e).forEach(b=>{const T=e[b],w={..._,...T};y[b]=w}),y},[_,e]);return C.jsx(Zr,{...d,className:Be.clsx(Dd.AListView,d.className),style:{...f,borderTop:h},children:tr.map(v,([y])=>{const b={..._,...v[y]},T=Lr.getContent(b.label,{defKey:y,item:n,def:b}),w=Lr.getContent(b.content,{defKey:y,item:n||{[y]:""},def:b}),S=Lr.getContent(b.bold||"label",{defKey:y,item:n,def:b});return C.jsxs("div",{className:Dd.Row,style:{height:o,borderBottom:h},children:[C.jsx("div",{className:Be.clsx(Dd.Label,"NoSelect",S!=="content"&&"Bold"),style:{width:a,minWidth:a,maxWidth:a,borderLeft:x,paddingLeft:u?0:10},children:C.jsx(Aa,{children:T})}),C.jsx("div",{className:Be.clsx(Dd.Content,S!=="label"&&"Bold"),style:{borderLeft:x,borderRight:x},children:C.jsx(Aa,{style:{width:"100%",padding:u?0:10},children:w})})]},y)})})},zk=r=>r.defKey,$k=r=>{const{defKey:e,item:t}=r;if(t)if(tr.hasKey(t,e)){const n=t[e];return tr.isReactNode(n)?n:null}else return null;else return null},Uk="_ALoadingBorder_kwc1g_1",Wk="_ProgressBar_kwc1g_9",Vk="_IsLoading_kwc1g_15",Gk="_load_kwc1g_1",Zk="_Cover_kwc1g_19",Nf={ALoadingBorder:Uk,ProgressBar:Wk,IsLoading:Vk,load:Gk,Cover:Zk},Am=r=>{const{isLoading:e}=r,[t,n]=k.useState(!1),o=k.useRef(null);return k.useEffect(()=>{e?(n(!0),o.current&&clearTimeout(o.current)):o.current=setTimeout(()=>n(!1),300)},[e]),C.jsxs("div",{className:Nf.ALoadingBorder,children:[C.jsx("div",{className:Be.clsx(Nf.ProgressBar,t&&Nf.IsLoading)}),C.jsx("div",{className:Be.clsx(Nf.Cover,e&&Nf.IsLoading),style:{transition:"all 300ms"}})]})},Kk="_Container_ez8dc_1",Yk="_Option_ez8dc_7",Xk="_RadioButton_ez8dc_14",Jk="_InnerCircle_ez8dc_24",Qk="_isChecked_ez8dc_29",Gu={Container:Kk,Option:Yk,RadioButton:Xk,InnerCircle:Jk,isChecked:Qk},e8=r=>{const{options:e,useSelect:t,selectDisabled:n,radius:o=23,innerRadius:a=o*.6,OptionRenderer:u=tx}=r,[f,d]=dn(t,e[0]);return C.jsx("div",{className:Gu.Container,children:e.map((h,x)=>{const _=n==null?void 0:n(h),v=()=>_?null:d==null?void 0:d(h);return C.jsxs(En,{className:Be.clsx(Gu.Option,"IsClickable"),isDisabled:_,onClick:v,children:[C.jsx(t8,{innerRadius:a,isChecked:f===h,radius:o},x),C.jsx(u,{option:h})]},x)})})},tx=({option:r})=>r,t8=({isChecked:r,radius:e,innerRadius:t})=>C.jsx(Zr,{className:Be.clsx(Gu.RadioButton,r&&Gu.isChecked),style:{width:e,height:e},children:C.jsx(Zr,{className:Be.clsx(Gu.InnerCircle,r&&Gu.isChecked),style:{width:t,height:t}})}),r8="_AMultiSelect_19uuu_1",n8="_Arrow_19uuu_15",o8="_Primary_19uuu_24",i8="_UnAvailable_19uuu_35",s8="_IsOpen_19uuu_35",a8="_Secondary_19uuu_42",l8="_Placeholder_19uuu_58",c8="_ValuesContainer_19uuu_63",u8="_Values_19uuu_63",f8="_Options_19uuu_82",d8="_Option_19uuu_82",h8="_Selected_19uuu_124",p8="_CheckBox_19uuu_131",_i={AMultiSelect:r8,Arrow:n8,Primary:o8,UnAvailable:i8,IsOpen:s8,Secondary:a8,Placeholder:l8,ValuesContainer:c8,Values:u8,Options:f8,Option:d8,Selected:h8,CheckBox:p8},g8=r=>{const{options:e,useSelect:t,type:n="Primary",placeholder:o=Ur.AMultiSelect["Select(Placeholder)"],onClose:a,SelectedRenderer:u=v8,OptionRenderer:f=y8,minShowRows:d=2,maxShowRows:h=6,arrowProps:x,isAutoWidth:_=!1,...v}=r,y=k.useRef(null),b=k.useMemo(()=>v.abaseRef??y,[v.abaseRef]),T=k.useRef(null),[w,S]=dn(t,[]),[E,R]=k.useState(void 0),I=k.useRef(e),P=k.useRef(null),[j,q]=k.useState(!1),[$,G]=k.useState(!1),re=k.useCallback(()=>G(!1),[]),F=k.useCallback(()=>{v.isDisabled||v.isLoading||e.length<1||(G(!0),setTimeout(()=>q(!0),0),setTimeout(()=>rp(T,b,e,d,h),0))},[b,v.isDisabled,v.isLoading,e,d,h]),W=k.useCallback(()=>{q(!1),G(!0),a==null||a()},[a]),V=k.useCallback(te=>{var ce;j?W():F(),setTimeout(()=>rp(T,b,e,d,h),0),(ce=v.onClick)==null||ce.call(v,te)},[b,v,e,j,W,F,d,h]),ee=k.useCallback(()=>{rp(T,b,e,d,h)},[b,e,d,h]);k.useEffect(()=>{if(!j||!b.current)return;const te=b.current;let ce=te.parentElement;for(;ce;)ce.addEventListener("scroll",ee),ce=ce.parentElement;return()=>{let pe=te.parentElement;for(;pe;)pe.removeEventListener("scroll",ee),pe=pe.parentElement}},[b,j,ee]),k.useEffect(()=>{if(j)return window.addEventListener("resize",ee),()=>window.removeEventListener("resize",ee)},[j,ee]);const ue=k.useCallback(te=>{te[0].intersectionRatio===0&&W()},[W]);k.useEffect(()=>{if(!j)return;const te=new IntersectionObserver(ue,{threshold:0});return b.current&&te.observe(b.current),()=>te.disconnect()},[b,j,ue]);const le=k.useCallback(te=>{const ce=te.target,pe=b.current,ye=T.current;!pe||!ce||!ye||!pe.contains(ce)&&!ye.contains(ce)&&W()},[b,W]),de=k.useMemo(()=>v.isDisabled||v.isLoading||e.length<1,[v.isDisabled,v.isLoading,e]);k.useEffect(()=>{if(j)return setTimeout(()=>document.addEventListener("mousedown",le),0),()=>document.removeEventListener("mousedown",le)},[j,le]);const fe=k.useCallback((te,ce)=>{te.stopPropagation(),te.preventDefault();let pe=[...w];pe.includes(ce)?pe=pe.filter(ye=>ye!==ce):pe.push(ce),S==null||S(pe)},[w,S]),ve=k.useCallback(()=>{if(!_||!b.current)return;const te=Qc.calculateOptimalSelectWidth({elementRef:b,options:e,selectedOptions:w,placeholder:o,optionRenderer:ce=>f({option:ce}),type:n,isMulti:!0});R(te)},[_,b,e,w,o,f,n]);return k.useEffect(()=>_?((e!==I.current||E===void 0)&&(P.current!==null&&cancelAnimationFrame(P.current),P.current=requestAnimationFrame(()=>{ve(),P.current=null,I.current=[...e]})),()=>{P.current!==null&&(cancelAnimationFrame(P.current),P.current=null)}):void 0,[_,e,ve,E]),k.useEffect(()=>()=>{typeof Qc.clearCache=="function"&&Qc.clearCache()},[]),C.jsxs(C.Fragment,{children:[C.jsxs(Zr,{...v,abaseRef:b,isDisabled:v.isDisabled||e.length<1,className:Be.clsx(v.className,_i.AMultiSelect,"NoSelect",j&&_i.IsOpen,de&&_i.UnAvailable,_i[n]),style:{padding:n==="Secondary"?"8px 8px 8px 0":0,width:E?`${E}px`:_?"100px":void 0,...v.style},onClick:V,children:[C.jsx("div",{className:_i.ValuesContainer,children:C.jsx("div",{className:Be.clsx(_i.Values,w.length<1&&_i.Placeholder),children:C.jsx(u,{OptionRenderer:f,placeholder:o,selectedOptions:w})})}),C.jsx("div",{...x,className:Be.clsx(_i.Arrow,x==null?void 0:x.className),children:C.jsx(Nr,{icon:"TriangleDown",style:{transform:j?"rotate(180deg)":"",transition:"var(--Transition)"}})})]}),e.length>0&&(j||$)&&$s.createPortal(C.jsx("div",{ref:T,className:Be.clsx(_i.Options,_i[n]),style:{opacity:+j,visibility:j?"visible":"hidden",pointerEvents:j?void 0:"none",width:E?`${E}px`:_?"100px":void 0,borderRadius:b.current?window.getComputedStyle(b.current).borderRadius:void 0},onTransitionEnd:re,children:e.map((te,ce)=>{var ye;const pe=w.includes(te);return C.jsxs("div",{className:Be.clsx(_i.Option,pe&&_i.Selected,"NoSelect",_i[n]),style:{height:(ye=b.current)==null?void 0:ye.getBoundingClientRect().height},onClick:Ie=>fe(Ie,te),children:[C.jsx(ef,{className:_i.CheckBox,useCheck:[+pe,void 0]}),C.jsx(f,{option:te})]},ce)})}),document.body)]})};function rp(r,e,t,n,o){if(!e.current||!r.current||!t||t.length<1)return;const a=e.current.getBoundingClientRect(),u=m8(a,t.length,n,o),f=window.getComputedStyle(e.current);r.current.style.top=`calc(${u.top??0}px - ${f.borderTopWidth})`,r.current.style.bottom=u.bottom?u.bottom+"px":"",r.current.style.left=u.left+"px",r.current.style.width||(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 m8(r,e,t,n){const o={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<o.height&&(window.innerHeight-r.bottom-10<o.minHeight?(o.top=r.top-e*r.height,o.top<0&&(o.top=10,o.minHeight=r.top-10,o.height=r.top-10)):o.height=window.innerHeight-r.bottom-10),o}const v8=r=>{const{OptionRenderer:e,selectedOptions:t,placeholder:n}=r;return t.length<1?n:t.length===1?C.jsx(e,{option:t[0]}):`${t.length} selected`},y8=r=>{const{option:e}=r;return tr.isReactNode(e)?e:null},b8="_Container_10ion_1",_8="_Steps_10ion_9",x8="_Step_10ion_9",S8="_OutCircle_10ion_26",C8="_IsOver_10ion_37",w8="_InCircle_10ion_41",A8="_Line_10ion_54",E8="_Left_10ion_66",T8="_Right_10ion_69",k8="_ContentContainer_10ion_73",R8="_Content_10ion_73",ni={Container:b8,Steps:_8,Step:x8,OutCircle:S8,IsOver:C8,InCircle:w8,Line:A8,Left:E8,Right:T8,ContentContainer:k8,Content:R8},I8=r=>{const{useSelect:e,steps:t,StepRenderer:n=gy,ContentRenderer:o=gy}=r;if(t.length===0)throw new Error("steps should have at least one element");const a=k.useRef(null),[u,f]=dn(e,t[0]),d=k.useCallback(x=>f==null?void 0:f(x),[f]),h=k.useMemo(()=>t.indexOf(u),[u,t]);return k.useEffect(()=>{h<0&&d(t[0])},[h,t,d]),C.jsxs("div",{className:ni.Container,children:[C.jsx("div",{className:ni.Steps,children:t.map((x,_)=>{const v=t.indexOf(x),y=h>=_,b=h>_;return C.jsxs("div",{className:ni.Step,children:[_!==0&&C.jsx("div",{className:Be.clsx(ni.Line,ni.Left,y&&ni.IsOver)}),_!==t.length-1&&C.jsx("div",{className:Be.clsx(ni.Line,ni.Right,b&&ni.IsOver)}),C.jsx(Ho,{className:Be.clsx(ni.OutCircle,y&&ni.IsOver),type:"Raw",onClick:()=>d(x),children:C.jsx("div",{className:Be.clsx(ni.InCircle,y&&ni.IsOver)})}),C.jsx(n,{step:x,stepIdx:v})]},_)})}),C.jsx("div",{ref:a,className:ni.ContentContainer,children:t.map((x,_)=>{const v=t.indexOf(x);return C.jsx("div",{className:ni.Content,style:_===0?{marginLeft:`${h*-100}%`}:{},children:C.jsx(o,{step:x,stepIdx:v})},_)})})]})},gy=r=>{const{step:e}=r;return typeof e=="object"?tr.stringify(e):e},L8="_ATab_2c2d2_1",O8="_Option_2c2d2_9",M8="_Underline_2c2d2_23",D8="_IsSelected_2c2d2_23",P8="_IndicatorTrack_2c2d2_34",N8="_Indicator_2c2d2_34",j8="_Primary_2c2d2_50",F8="_Secondary_2c2d2_57",B8="_IsDisabled_2c2d2_67",H8="_Tertiary_2c2d2_81",q8="_Quaternary_2c2d2_111",Ql={ATab:L8,Option:O8,Underline:M8,IsSelected:D8,IndicatorTrack:P8,Indicator:N8,Primary:j8,Secondary:F8,IsDisabled:B8,Tertiary:H8,Quaternary:q8},z8=["Primary","Secondary","Tertiary","Quaternary"],rx=r=>{const{options:e,useSelect:t,selectDisabled:n,type:o="Primary",tabProps:a,optionProps:u,optionWidth:f,OptionRenderer:d=$8,RightAddon:h,color:x,selectedColor:_,underline:v,indicatorProps:y,indicatorTrackProps:b}=r;if(e.length===0)throw new Error("options should have at least one element");const T=k.useMemo(()=>e.findIndex(ce=>!(n!=null&&n(ce))),[e,n]),w=o==="Tertiary"?2:0,S=o==="Secondary"?8:0,E=k.useMemo(()=>w+S,[w,S]),R=o==="Tertiary"?2:0,I=k.useMemo(()=>(S-w-R-R)/e.length,[e.length,w,S,R]),[P,j]=dn(t,e[T]),q=k.useRef([]),$=k.useCallback(ce=>j==null?void 0:j(ce),[j]),G=k.useMemo(()=>typeof f=="number"?f+"px":f,[f]),re=k.useMemo(()=>e.indexOf(P),[e,P]),F=k.useMemo(()=>`calc(${100/e.length}% + ${I}px)`,[e.length,I]),W=k.useMemo(()=>G||`calc(${F} - ${E}px)`,[F,E,G]),[V,ee]=k.useState(0),[ue,le]=k.useState(0),[de,fe]=k.useState(W),ve=k.useMemo(()=>{let ce;switch(G){case void 0:ce=`calc(${F} * ${re})`;break;case"fit-content":ce=`calc(${V}px)`;break;default:ce=`calc((${G} + ${E}px) * ${re})`;break}return`calc(${ce} + ${R}px)`},[G,R,F,re,V,E]),te=k.useMemo(()=>{switch(G){case void 0:return;case"fit-content":return`calc(${ue}px)`;default:return`calc((${G} + ${E}px - ${I}px) * ${e.length})`}},[G,I,E,e,ue]);return k.useEffect(()=>{var pe,ye;if(e.includes(P)||j==null||j(e[T]),G!=="fit-content"){fe(W);return}let ce=0;q.current.forEach((Ie,oe)=>{oe<re&&Ie.current&&(ce+=Ie.current.offsetWidth+E)}),ee(ce),fe(`calc(${((ye=(pe=q.current[re])==null?void 0:pe.current)==null?void 0:ye.offsetWidth)||0}px)`),le(q.current.reduce((Ie,oe)=>{var we;return Ie+((((we=oe.current)==null?void 0:we.offsetWidth)||0)+E-I)},0))},[G,q,e,P,j,T,I,E,re,W]),C.jsxs("div",{...a,className:Be.clsx(Ql.ATab,"Headline2",Ql[o],a==null?void 0:a.className),children:[C.jsx("div",{...y,className:Be.clsx(Ql.Indicator,y==null?void 0:y.className),style:{minWidth:de,left:ve,marginLeft:w,...y==null?void 0:y.style}}),C.jsx("div",{...b,className:Be.clsx(Ql.IndicatorTrack,b==null?void 0:b.className),style:{width:te,...b==null?void 0:b.style}}),C.jsx(Tn,{w:R}),e.map((ce,pe)=>{const ye=n==null?void 0:n(ce);return q.current[pe]||(q.current[pe]=k.createRef()),C.jsx(Zr,{abaseRef:q.current[pe],...u,isDisabled:ye,className:Be.clsx(Ql.Option,ye&&Ql.IsDiabled,ce===P&&Ql.IsSelected,"IsClickable",v&&Ql.Underline,u==null?void 0:u.className),style:{minWidth:W,maxWidth:W,marginLeft:w,marginRight:S,"--color":ce===P&&_||x,...u==null?void 0:u.style},onClick:Ie=>{!ye&&$(ce),u&&u.onClick&&u.onClick(Ie)},children:C.jsx(d,{option:ce})},pe)}),C.jsx(Tn,{w:R+R+w}),h&&C.jsxs(C.Fragment,{children:[C.jsx(ou,{}),h]})]})},$8=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=tr.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 nx(...r){const e=k.useRef(!1);k.useEffect(()=>{e.current||(e.current=!0,r.forEach(t=>t()))},[r])}const ox={String:(r,e,t,n)=>{const{value:o}=n;if(o===void 0)return!1;if(t==="")return tr.keys(e).some(x=>{const _=e[x],v=Lr.getContent(_.asText,{defKey:x,def:_,item:r});if(v!==void 0)return v.toString().toLowerCase().includes(o.toLowerCase());const y=Lr.getContent(_.content,{defKey:x,def:_,item:r});return["string","number"].includes(typeof y)&&y!==void 0&&y!==null?y.toString().toLowerCase().includes(o.toLowerCase()):!1});const a=tr.keys(e),u=t;if(!a.includes(u))return!1;const f=e[u],d=Lr.getContent(f.asText,{defKey:u,def:f,item:r});if(d!==void 0)return d.toString().toLowerCase().includes(o.toLowerCase());const h=Lr.getContent(f.content,{defKey:u,def:f,item:r});return["string","number"].includes(typeof h)&&h!==void 0&&h!==null?h.toString().toLowerCase().includes(o.toLowerCase()):!1},Select:(r,e,t,n)=>{const{value:o}=n;if(o==null)return!1;const a=tr.keys(e),u=t;if(!a.includes(u))return!1;const f=e[u],d=Lr.getContent(f.asText,{defKey:u,def:f,item:r});if(d!==void 0)return o.toString().toLowerCase()===d.toString().toLowerCase();const h=Lr.getContent(f.content,{defKey:u,def:f,item:r});return["string","number"].includes(typeof h)&&h!==void 0&&h!==null?o.toString().toLowerCase()===h.toString().toLowerCase():!1},Date:(r,e,t,n)=>{const{value:o}=n;if(o===void 0)return!1;const a=tr.keys(e),u=t;if(!a.includes(u))return!1;const f=e[u],d=Lr.getContent(f.asText,{defKey:u,def:f,item:r});if(d!==void 0){const x=Zt.toDate(d.toString());return x&&Zt.eq(x,o)}const h=Lr.getContent(f.content,{defKey:u,def:f,item:r});if(["string","number"].includes(typeof h)&&h!==void 0&&h!==null){const x=Zt.toDate(h.toString());return x&&Zt.eq(x,o)}return!1},DateRange:(r,e,t,n)=>{const{value:o}=n;if(o===void 0)return!1;const a=tr.keys(e),u=t;if(!a.includes(u))return!1;const f=e[u],d=Lr.getContent(f.asText,{defKey:u,def:f,item:r});if(d!==void 0){const x=Zt.toDate(d.toString());return x&&Zt.be(o.sDate,x,o.eDate)}const h=Lr.getContent(f.content,{defKey:u,def:f,item:r});if(["string","number"].includes(typeof h)&&h!==void 0&&h!==null){const x=Zt.toDate(h.toString());return x&&Zt.be(o.sDate,x,o.eDate)}return!1}},U8=(r,e,t)=>{let n=r;return tr.keys(t).forEach(a=>{const u=t[a];u.value===void 0||u.value===null||u.value===""||(n=n.filter(f=>{var d;return(d=u.predicate??ox[u.type])==null?void 0:d(f,e,a,u)}))}),n},W8=(r,e,t)=>{if(!t)return r;const n=t.defKey,o=e[n];if(n===void 0)return r;const a=t.sortF??((u,f)=>{const d=Lr.getContent(o.content,{defKey:n,def:o,item:u}),h=Lr.getContent(o.content,{defKey:n,def:o,item:f});return typeof d=="string"&&typeof h=="string"?d<h?-1:d>h?1:0:typeof d=="number"&&typeof h=="number"?d-h:typeof d=="string"&&typeof h=="number"?-1:typeof d=="number"&&typeof h=="string"||d===void 0&&h!==void 0?1:d!==void 0&&h===void 0?-1:0});return typeof a=="function"&&a.length>=3?r.slice().sort((u,f)=>a(u,f,t.isAsc)):r.slice().sort((u,f)=>{const d=a(u,f);return t.isAsc?d:-d})},V8=(r,e,t)=>r.slice((e-1)*t,e*t),ix=(r,e)=>{const t=Math.max(Math.ceil(r/e),1);return Array.from({length:t},(n,o)=>o+1)},G8=(r,e,t,n)=>{const o=ix(e,t),a=Math.floor((r-1)/n),u=a*n+1,f=(a+1)*n,d=o.slice(u-1,f);return{pages:o,rangedPages:d}},Z8=(r,e,t)=>{const n=[],o=Object.keys(t),a=[];o.forEach(v=>{const y=t[v],b=Lr.getContent(y.hContent,{defKey:v,def:y});if(b!==void 0){if(typeof b=="string"){a.push(b);return}else if(typeof b=="number"){a.push(b.toString());return}}const T=Lr.getContent(y.name,{defKey:v,def:y});if(T!==void 0&&typeof T=="string"){a.push(T);return}a.push(v)});const u=a.map(v=>`"${v.replaceAll('"','""')}"`);n.push(u.join(",")),e.forEach(v=>{const y=[];o.forEach(T=>{const w=t[T],S=Lr.getContent(w.content,{defKey:T,def:w,item:v});if(S!==void 0){if(typeof S=="string"){y.push(S);return}else if(typeof S=="number"){y.push(S.toString());return}}const E=v[T];typeof E=="string"?y.push(E):typeof E=="number"?y.push(E.toString()):y.push("")});const b=y.map(T=>`"${T.replaceAll('"','""')}"`);n.push(b.join(","))});const f=`${r}.csv`,d="\uFEFF"+n.join(`
|
161
|
-
`),h=new Blob([d],{type:"text/csv;charset=UTF-8"}),x=URL.createObjectURL(h),_=document.createElement("a");_.href=x,_.download=f,_.click(),URL.revokeObjectURL(x)},K8=r=>{const e=tr.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},Y8=r=>{const e=Object.entries(r);let t={};return e.forEach(([n,o])=>{!o||o.value===void 0||o.value===null||o.value===""||(o.type==="DateRange"?(t[o.sFilterKey]=o.value.sDate,t[o.eFilterKey]=o.value.eDate):t[o.filterKey??n]=o.value)}),t},X8=r=>{const e=tr.keys(r).filter(o=>o!=="");if(e.length!==1)return;const t=e[0],n=r[t];return!n||n.value===void 0||n.value===null||n.value===""?{selectedKey:t,value:void 0}:{selectedKey:t,value:n.value}},il={applyFilteration:U8,applySortation:W8,applyPagination:V8,getPages:ix,getRangedPages:G8,downloadCsv:Z8,getSingleFilterValue:K8,getMultiFilterValues:Y8,getSelectFilterValue:X8},J8="_ATable_12zow_1",Q8={ATable:J8};function sx(r,e,t,n){k.useEffect(()=>{if(r)return r.addEventListener(e,t,n),()=>{r.removeEventListener(e,t,n)}},[r,e,t,n])}const eR="_BodyHeader_ys4y0_1",tR="_TRow_ys4y0_7",rR="_OverflowSpace_ys4y0_11",nR="_BodyBody_ys4y0_16",oR="_IsSelected_ys4y0_35",iR="_IsSelectable_ys4y0_39",sR="_IsRowMarked_ys4y0_47",aR="_TH_ys4y0_52",lR="_TD_ys4y0_57",cR="_IsMarked_ys4y0_57",uR="_Resizer_ys4y0_76",fR="_IsMoving_ys4y0_88",dR="_IsResizable_ys4y0_91",hR="_ResizerCenter_ys4y0_94",pR="_ResizerOut_ys4y0_100",gR="_ResizerIn_ys4y0_104",mR="_IsClicked_ys4y0_139",vR="_NoItems_ys4y0_146",yR="_Content_ys4y0_152",Cn={BodyHeader:eR,TRow:tR,OverflowSpace:rR,BodyBody:nR,IsSelected:oR,IsSelectable:iR,IsRowMarked:sR,TH:aR,TD:lR,IsMarked:cR,Resizer:uR,IsMoving:fR,IsResizable:dR,ResizerCenter:hR,ResizerOut:pR,ResizerIn:gR,IsClicked:mR,NoItems:vR,Content:yR},tc=25,np=50,bR=r=>{const{defs:e,isEqual:t,rProps:n,useSelect:o,isTableDisabled:a,isSelectMulti:u,selectDisabled:f,appliedFilteration:d,useSortation:h,pagination:x,pagedItems:_,noMarking:v,noDefHeader:y,isLoading:b,showRows:T,RowRenderer:w=SR,isRowRendered:S,rowHeight:E,resources:R}=r,[I,P]=k.useMemo(()=>o??[],[o]),j=k.useCallback($e=>{a||!P||!I||f!=null&&f($e)||(u?I.some(tt=>t(tt,$e))?P(I.filter(tt=>!t(tt,$e))):P([...I,$e]):P([$e]))},[I,f,P,t,a,u]);k.useEffect(()=>{u||!I||!P||I.length>1&&P([I[I.length-1]])},[I,P,u]),k.useEffect(()=>{if(!I||!P)return;I.filter(tt=>f==null?void 0:f(tt)).length>0&&P(I.filter(tt=>!(f!=null&&f(tt))))},[I,P,f]);const[q,$]=h,G=k.useCallback(($e,tt)=>{$&&((q==null?void 0:q.defKey)===$e?q.isAsc===!0?$({defKey:$e,isAsc:!1,sortF:tt}):q.isAsc===!1?$(void 0):$({defKey:$e,isAsc:!0,sortF:tt}):$({defKey:$e,isAsc:!0,sortF:tt}))},[q,$]),[re,F]=k.useState({elem:null,row:null}),W=k.useRef(null),V=k.useRef(null),ee=k.useCallback(()=>F({elem:W.current,row:V.current}),[]);k.useEffect(()=>ee(),[_.length,ee]),sx(window,"resize",ee);const[ue,le]=k.useState(E);k.useEffect(()=>{const{row:$e}=re;$e!=null&&le($e.clientHeight)},[re,ue]);const de=k.useMemo(()=>{const{elem:$e}=re;return $e?Math.floor($e.clientHeight/ue):0},[re,ue]),fe=k.useMemo(()=>T||(_.length<=de?de:_.length),[de,T,_]),ve=k.useMemo(()=>{if(T!==void 0)return T*ue},[T,ue]),te=k.useMemo(()=>ve,[ve]),ce=k.useMemo(()=>{const{elem:$e}=re;return $e?$e.getBoundingClientRect().height/ue<_.length:!1},[re,ue,_.length]),[pe,ye]=k.useState(),Ie=k.useMemo(()=>{const{elem:$e}=re;return!pe||!$e?"100%":$e.clientHeight+(S?0:50)},[pe,S,re]),oe=k.useRef(null),[we,Oe]=k.useState({}),Ue=k.useRef({x:0,y:0}),We=k.useRef({}),Se=k.useMemo(()=>tr.keys(we),[we]),_e=k.useCallback(($e,tt)=>{const at=oe.current;if(!at)return;const De=[];at.childNodes.forEach(bt=>{bt.classList.contains(Cn.TH)&&De.push(bt)});const Ke={};tr.keys(e).forEach((bt,At)=>{const qe=De[At];if(!qe)return;const Qe=qe.getBoundingClientRect().width;Ke[bt]=Qe}),We.current=Ke,ye(tt),Ue.current={x:$e.clientX,y:$e.clientY};const yt=bt=>{if(!oe.current)return;const qe=bt.clientX-Ue.current.x,Qe=xR(e,tt,We.current,qe);Oe(Qe)};document.addEventListener("mousemove",yt);const _t=()=>{ye(void 0),document.removeEventListener("mousemove",yt),document.removeEventListener("mouseup",_t)};document.addEventListener("mouseup",_t)},[e]),Ce=k.useCallback(()=>{ye(void 0),Oe({})},[]),Te=k.useMemo(()=>{if(Se.length===0){const at={},De=tr.keys(e);for(let Ke=0;Ke<De.length;Ke++){const yt=De[Ke],_t=e[yt],bt=Lr.getContent(_t.colSpan,{defKey:yt,def:_t}),At=_t.width??80,qe=_t.minWidth??tc,Qe=_t.maxWidth,St={width:At,minWidth:qe,maxWidth:Qe,flexGrow:bt??1};if(at[yt]=St,bt!==void 0){for(let Dt=1;Dt<Math.min(bt,De.length-Ke);Dt++){const Et=e[De[Ke+Dt]],Ze=Et.width??80,It=Et.minWidth??tc,Ot=Et.maxWidth;St.width+=Ze,St.minWidth+=It,St.maxWidth!==void 0&&(Ot!==void 0?St.maxWidth+=Ot:St.maxWidth=void 0)}Ke+=bt-1}}return at}const $e={},tt=tr.keys(e);for(let at=0;at<tt.length;at++){let De=tt[at];const Ke=e[De];let yt=we[De];const _t=Lr.getContent(Ke.colSpan,{defKey:De,def:Ke}),bt=Ke.minWidth??tc,At=Ke.maxWidth,qe={width:yt,minWidth:bt,maxWidth:At,flexGrow:_t??1};if($e[De]=qe,_t!==void 0){for(let Qe=1;Qe<Math.min(_t,tt.length-at);Qe++){const St=e[tt[at+Qe]],Dt=we[tt[at+Qe]],Et=St.minWidth??tc,Ze=St.maxWidth;qe.width+=Dt,qe.minWidth+=Et,qe.maxWidth!==void 0&&(Ze!==void 0?qe.maxWidth+=Ze:qe.maxWidth=void 0)}at+=_t-1}}return $e},[e,Se,we]),Ne=k.useRef(null),ot=k.useMemo(()=>il.getSingleFilterValue(d),[d]);return k.useEffect(()=>{W.current&&W.current.scrollTo({top:0})},[x.page]),k.useEffect(()=>{S&&V.current&&V.current.scrollIntoView({behavior:"smooth",block:"center"})},[I,_,S]),C.jsxs(C.Fragment,{children:[C.jsx(Am,{isLoading:b}),C.jsx("div",{ref:Ne,className:Be.clsx(Cn.BodyHeader,pe!==void 0&&Cn.IsClicked),style:{display:y||S?"none":"flex"},onResizeCapture:ee,children:C.jsx("div",{ref:oe,className:Cn.TRow,style:{minHeight:np,maxHeight:np},children:tr.map(e,([$e],tt)=>{const at=e[$e],De=Lr.getContent(at.hContent,{defKey:$e,def:at}),Ke=at.name,yt=tt===tr.keys(e).length-1,_t=at.width??80,bt=at.minWidth??tc,At=at.maxWidth,qe={width:_t,minWidth:bt,maxWidth:At,justifyContent:Lr.getContent(at.hAlign,{defKey:$e,def:at})??"flex-start",...Lr.getContent(at.hStyle,{defKey:$e,def:at})};Se.includes($e)&&(qe.width=we[$e]);const Qe=at.isSortable,St=(q==null?void 0:q.defKey)===$e,Dt=q==null?void 0:q.isAsc;return C.jsxs(k.Fragment,{children:[C.jsxs("div",{className:Be.clsx(Cn.TH,"Label1",Qe?"IsClickable":"NoSelect"),style:qe,onClick:()=>Qe&&G($e,at.sortF),children:[C.jsx(Aa,{children:De??Ke,className:Cn.Content}),Qe&&C.jsx(Nr,{icon:St?Dt?"SortUp":"SortDown":"SortBoth",style:{width:16,height:16}})]}),!yt&&C.jsxs("div",{className:Be.sclsx(Cn,"Resizer","IsResizable","NoSelect",pe!==void 0&&"IsMoving"),onDoubleClick:Ce,onMouseDown:Et=>_e(Et,$e),children:[C.jsx("div",{className:Cn.ResizerOut}),C.jsx("div",{className:Cn.ResizerIn}),C.jsx("div",{className:Cn.ResizerCenter,style:{height:Ie}}),C.jsx("div",{className:Cn.ResizerIn}),C.jsx("div",{className:Cn.ResizerOut})]}),yt&&C.jsx(Tn,{className:Cn.OverflowSpace,h:np,style:{color:qe.color,backgroundColor:qe.backgroundColor,transition:qe.transition},w:"var(--Scrollbar-width)"})]},$e)})})}),C.jsxs("div",{ref:W,className:Be.clsx(Cn.BodyBody,pe!==void 0&&Cn.IsClicked),style:{overflowY:ce?"scroll":"hidden",minHeight:ve,maxHeight:te},children:[_.map(($e,tt)=>{const at=Lr.getContent(n,{item:$e}),De=P&&!a,Ke=I==null?void 0:I.some(At=>t(At,$e)),yt=I&&(f==null?void 0:f($e)),_t=typeof yt=="string"?yt:void 0,bt={...$e};return S&&tr.keys(e).forEach(At=>{const qe=e[At],Qe=Lr.getContent(qe.content,{defKey:At,def:qe,item:$e});let St=!1;if(ot&&!v){const Dt=Lr.getContent(qe.asText,{defKey:At,def:qe,item:$e});Dt!==void 0?St=Dt.toString().toLowerCase().includes(ot.toLowerCase()):["string","number"].includes(typeof Qe)&&Qe!==void 0&&Qe!==null&&(St=Qe.toString().toLowerCase().includes(ot.toLowerCase()))}bt[At]=C.jsx("span",{className:Be.clsx(St&&Cn.IsRowMarked),children:bt[At]})}),C.jsx(Zr,{isDisabled:yt,tooltip:_t,...at,abaseRef:Ke?V:void 0,className:Be.clsx(at==null?void 0:at.className,De&&Cn.IsSelectable,Ke&&Cn.IsSelected),onClick:At=>{var qe;j($e),(qe=at==null?void 0:at.onClick)==null||qe.call(at,At)},children:C.jsx(w,{defs:e,isBodyBodyOverflowed:ce,item:$e,markedItem:bt,noMarking:v,rowHeight:E,singleFilterValue:ot,spanWidths:Te})},tt)}),C.jsx(_R,{isRowRendered:S,itemsLength:_.length,resources:R,rowHeight:ue,showRows:fe})]})]})},_R=r=>{const{showRows:e,itemsLength:t,resources:n,isRowRendered:o,rowHeight:a}=r,u=k.useMemo(()=>t===0?e:e-t,[e,t]);return Array.from({length:u},(f,d)=>C.jsx("div",{className:Be.clsx(Cn.TRow,"NoSelect"),style:{minHeight:a,maxHeight:a,...o&&{border:"none"}},children:t===0&&d===Math.floor(e/2)&&C.jsx(En,{className:Cn.NoItems,children:n["No Items"]})},d))};function xR(r,e,t,n){const o={...t},a=tr.keys(r).findIndex(h=>h===e)+1,u=Object.entries(r);let f=a-1,d=a;if(n<0){for(;n<0&&!(f<0||d>=u.length);){const[h,x]=[u[f][0],u[f][1]],[_,v]=[u[d][0],u[d][1]],y=x.minWidth??tc,b=v.maxWidth,T=o[h],w=o[_];let S=T-y;b!==void 0&&(S=Math.min(S,b-w));let E=-n;E=Math.min(E,S),T-E<=y&&f--,b!==void 0&&w+E>=b&&d++,o[h]=T-E,o[_]=w+E,n+=E}return o}else if(n>0){for(;n>0&&!(f<0||d>=u.length);){const[h,x]=[u[f][0],u[f][1]],[_,v]=[u[d][0],u[d][1]],y=v.minWidth??tc,b=x.maxWidth,T=o[_],w=o[h];let S=T-y;b!==void 0&&(S=Math.min(S,b-w));let E=n;E=Math.min(E,S),T-E<=y&&d++,b!==void 0&&w+E>=b&&f--,o[_]=T-E,o[h]=w+E,n-=E}return o}return o}const SR=r=>{const{defs:e,item:t,noMarking:n,spanWidths:o,singleFilterValue:a,isBodyBodyOverflowed:u,rowHeight:f}=r;return C.jsx("div",{className:Be.clsx(Cn.TRow),style:{minHeight:f,maxHeight:f},children:tr.map(e,([d],h)=>{const x=o[d];if(x===void 0)return null;const _=h===tr.keys(e).length-1,v=e[d],y=Lr.getContent(v.content,{defKey:d,def:v,item:t}),b={width:x.width,minWidth:x.minWidth,maxWidth:x.maxWidth,flexGrow:x.flexGrow,justifyContent:Lr.getContent(v.align,{defKey:d,def:v,item:t})??"flex-start",...Lr.getContent(v.style,{defKey:d,def:v,item:t})};let T=!1;if(a&&!n){const w=Lr.getContent(v.asText,{defKey:d,def:v,item:t});w!==void 0?T=w.toString().toLowerCase().includes(a.toLowerCase()):["string","number"].includes(typeof y)&&y!==void 0&&y!==null&&(T=y.toString().toLowerCase().includes(a.toLowerCase()))}return C.jsxs(k.Fragment,{children:[C.jsx("div",{className:Be.clsx(Cn.TD,"Label1",T&&Cn.IsMarked),style:b,children:C.jsx(Aa,{children:y,className:Cn.Content})}),!u&&_&&C.jsx(Tn,{className:Cn.OverflowSpace,h:f,style:{color:b.color,backgroundColor:b.backgroundColor},w:"var(--Scrollbar-width)"})]},d)})})},CR="_ATableFooter_w090q_1",wR="_Button_w090q_10",AR="_IsSelected_w090q_26",ER="_IsDisabled_w090q_31",Ns={ATableFooter:CR,Button:wR,IsSelected:AR,IsDisabled:ER},TR=r=>{const{pages:e,rangedPages:t,pageF:n,pagination:o}=r,a=k.useMemo(()=>e[e.length-1],[e]);return C.jsxs(En,{className:Ns.ATableFooter,children:[C.jsx(Nr,{className:Be.clsx(Ns.Button,o.page===1&&Ns.IsDisabled),icon:"FirstPage",onClick:n.moveFirst}),C.jsx(Nr,{className:Be.clsx(Ns.Button,o.page===1&&Ns.IsDisabled),icon:"NavigateBefore",onClick:n.movePrev}),t.map(u=>C.jsx("div",{className:Be.clsx(Ns.Button,"NoSelect",o.page===u&&Ns.IsSelected),onClick:()=>n.move(u),children:u},u)),C.jsx(Nr,{className:Be.clsx(Ns.Button,o.page===a&&Ns.IsDisabled),icon:"NavigateNext",onClick:n.moveNext}),C.jsx(Nr,{className:Be.clsx(Ns.Button,o.page===a&&Ns.IsDisabled),icon:"LastPage",onClick:n.moveLast})]})},kR="_Filter_1b9j0_1",RR="_SelectFilter_1b9j0_11",IR="_MainFilter_1b9j0_15",LR="_IsOpen_1b9j0_26",OR="_SubFilters_1b9j0_30",MR="_Input_1b9j0_44",DR="_Main_1b9j0_15",PR="_Sub_1b9j0_30",NR="_Actions_1b9j0_62",jR="_Icon_1b9j0_67",FR="_LeftIcon_1b9j0_74",BR="_CircleAlertOutline_1b9j0_79",HR="_Rotate_1b9j0_87",qR="_rotate_1b9j0_1",kr={Filter:kR,SelectFilter:RR,MainFilter:IR,IsOpen:LR,SubFilters:OR,Input:MR,Main:DR,Sub:PR,Actions:NR,Icon:jR,LeftIcon:FR,CircleAlertOutline:BR,Rotate:HR,rotate:qR},zR=r=>{const{defs:e,useFilteration:t,hasToggleFilteration:n,filterF:o,isRowRendered:a,isFilterSort:u,filterType:f,resources:d,placeholder:h}=r,[x,_]=k.useState([]),[v,y]=k.useMemo(()=>t,[t]),b=k.useMemo(()=>f==="Select",[f]),T=k.useMemo(()=>tr.keys(v).map(oe=>String(oe)),[v]),[w,S]=k.useState(b&&T.length>0?T[0]:null),E=k.useCallback((oe,we,Oe)=>{if(!y)return;const Ue={...v};oe.value=we,y(Ue),_(We=>We.map((Se,_e)=>_e===(Oe?Oe+1:0)?"":Se))},[v,y]),R=k.useMemo(()=>{let oe=[],we=tr.keys(v);b&&w&&(we=we.filter(Oe=>Oe===w));for(const Oe of we)oe.push({key:Oe,def:e[Oe],filter:v[Oe]});return oe},[v,e,b,w]),I=k.useMemo(()=>R.length>0?R[0]:null,[R]),P=k.useMemo(()=>x.length>0?x[0]:"",[x]),j=k.useMemo(()=>R.length>1?R.slice(1):[],[R]),q=k.useMemo(()=>x.length>1?x.slice(1):[],[x]),$=k.useMemo(()=>j.length>0,[j]),[G,re]=k.useState(!1),[F,W]=k.useState(!1),V=k.useRef(null),ee=k.useCallback(()=>re(!1),[]),ue=k.useRef(null),le=k.useCallback(()=>{W(!1),re(!0),ue.current&&(document.removeEventListener("mousedown",ue.current),ue.current=null)},[]),de=k.useCallback(()=>{const oe=we=>{const Oe=document.getElementById("root"),Ue=we.target,We=V.current;!Oe||!We||!Ue||!We.contains(Ue)&&Oe.contains(Ue)&&le()};return ue.current=oe,oe},[le]),fe=k.useCallback(()=>{re(!0),W(!0),setTimeout(()=>{const oe=de();document.addEventListener("mousedown",oe)},0)},[de]),ve=k.useMemo(()=>F?le:fe,[F,fe,le]),te=k.useCallback(()=>{const oe=R.map((we,Oe)=>we.filter.type==="String"&&we.filter.validation?we.filter.validation(we.filter.value||""):we.filter.type==="Date"&&we.filter.validation||we.filter.type==="DateRange"&&we.filter.validation?we.filter.validation(we.filter.value):x[Oe]);return _(oe),oe.every(we=>!we)},[x,R]),ce=k.useCallback(oe=>{oe.key==="Enter"?(te()&&o.apply(),oe.stopPropagation()):oe.key==="Escape"&&(W(!1),oe.currentTarget.focus(),oe.currentTarget.blur(),oe.stopPropagation())},[te,W,o]),pe=k.useMemo(()=>({open:fe,close:le,toggle:ve,validate:te}),[fe,le,ve,te]),ye=k.useCallback(()=>{o.clear()},[o]),Ie=k.useCallback(oe=>{if(!y||!oe)return;S(oe);const we={...v};tr.keys(we).forEach(Oe=>{if(Oe!==oe&&we[Oe])switch(we[Oe].type){case"String":we[Oe].value="";break;case"Select":we[Oe].value=null;break;case"Date":we[Oe].value=void 0;break;case"DateRange":we[Oe].value=void 0;break}}),_([]),y(we),o.clear(),setTimeout(()=>{var Ue;const Oe=(Ue=V.current)==null?void 0:Ue.querySelector("input");Oe&&Oe.focus()},0)},[v,y,_,o]);return I?C.jsxs(C.Fragment,{children:[b&&C.jsx(ac,{isAutoWidth:!0,className:Be.clsx(kr.SelectFilter),options:T,type:"Secondary",useSelect:[w,Ie],OptionRenderer:({option:oe})=>{const we=e[oe];let Oe;if(we!=null&&we.hContent){const Ue={defKey:oe,def:we};Oe=typeof we.hContent=="function"?we.hContent(Ue):we.hContent}else{const Ue=v[oe],We=(we==null?void 0:we.name)||(Ue==null?void 0:Ue.placeholder)||String(oe);Oe=C.jsx("span",{children:We})}return Oe}}),C.jsxs("div",{ref:V,className:Be.clsx(kr.Filter),tabIndex:-1,style:{minWidth:a?u?180:void 0:180,maxWidth:a?u?300:void 0:300},onKeyDown:ce,onClick:oe=>{oe.preventDefault(),oe.stopPropagation()},children:[C.jsx($R,{errorMessage:P,filterF:o,filterSet:I,hasSelectFilterType:b,hasSubFilters:$,hasToggleFilteration:n,isOpen:F,placeholder:h,popupF:pe,resources:d,onChange:E}),!b&&C.jsx(UR,{errorMessages:q,filterF:o,isOpen:F,isTransitioning:G,placeholder:h,resources:d,subFilterSets:j,validate:te,onChange:E,onClearClick:ye,onTransitionEnd:ee})]})]}):null},$R=r=>{var v,y,b,T;const{filterSet:e,hasToggleFilteration:t,hasSelectFilterType:n,onChange:o,filterF:a,hasSubFilters:u,popupF:f,isOpen:d,resources:h,errorMessage:x,placeholder:_}=r;if(e.filter.type==="String"){const w=[e.filter.value??"",I=>o(e.filter,I)],S=_??e.filter.placeholder??((v=e.def)==null?void 0:v.name),E=e.filter.icon,R=e.filter.iconTooltip??S;return C.jsxs("div",{className:Be.clsx(kr.MainFilter,d&&kr.IsOpen),children:[C.jsx(xa,{icon:E??"Type",isOpen:d,tooltip:R}),C.jsx(sc,{autoFocus:e.filter.autoFocus,className:Be.clsx(kr.Input,kr.Main),LeftAddon:t&&C.jsx(Pd,{isOpen:d,filterF:a,popupF:f,resources:h}),maxLength:e.filter.maxLength,placeholder:S??h["Search(Placeholder)"],type:x?"Error":"Primary",useValue:w,wrapProps:{style:{width:"100%",boxSizing:"border-box"}},RightAddon:C.jsx(Nd,{errorMessage:x,filterF:a,hasSelectFilterType:n,hasSubFilters:u,isOpen:d,popupF:f,resources:h})})]})}else if(e.filter.type==="Select"){const w=[e.filter.value??null,I=>{o(e.filter,I),n&&setTimeout(()=>{f.validate()&&a.apply()},0)}],S=_??e.filter.placeholder??((y=e.def)==null?void 0:y.name),E=e.filter.icon,R=e.filter.iconTooltip??S;return C.jsxs("div",{className:Be.clsx(kr.MainFilter,d&&kr.IsOpen),children:[C.jsx(xa,{icon:E??"Menu",isOpen:d,tooltip:R}),C.jsx(ac,{className:Be.clsx(kr.Input,kr.Main),OptionRenderer:e.filter.OptionRenderer,options:e.filter.options,placeholder:S,useSelect:w,SelectedRenderer:({OptionRenderer:I,selectedOption:P})=>P===null?S||e.filter.placeholder:C.jsxs(C.Fragment,{children:[t&&C.jsx(Pd,{isOpen:d,filterF:a,popupF:f,resources:h}),C.jsx(I,{option:P}),C.jsx(Nd,{filterF:a,hasSelectFilterType:n,hasSubFilters:u,hideSearchButton:!0,isOpen:d,popupF:f,resources:h})]})})]})}else if(e.filter.type==="Date"){const w=[e.filter.value,I=>o(e.filter,I)],S=_??e.filter.placeholder??((b=e.def)==null?void 0:b.name),E=e.filter.icon,R=e.filter.iconTooltip??S;return C.jsxs("div",{className:Be.clsx(kr.MainFilter,d&&kr.IsOpen),children:[C.jsx(xa,{icon:E??"CalendarDay",isOpen:d,tooltip:R}),C.jsx(Cm,{className:Be.clsx(kr.DatePicker,kr.Input,kr.Main),maxDate:e.filter.maxDate,minDate:e.filter.minDate,placeholder:S,type:"Raw",useDate:w,LeftAddon:C.jsxs(C.Fragment,{children:[t&&C.jsx(Pd,{isOpen:d,filterF:a,popupF:f,resources:h}),!t&&C.jsx(Tn,{w:d?0:6}),C.jsx(xa,{icon:E??"CalendarDay",isOpen:!d,tooltip:R}),C.jsx(Tn,{w:d?8:0})]}),RightAddon:C.jsx(Nd,{filterF:a,hasSelectFilterType:n,hasSubFilters:u,isOpen:d,popupF:f,resources:h})})]})}else if(e.filter.type==="DateRange"){const w=[e.filter.value,P=>o(e.filter,P)],{noDefaultChoices:S}=e.filter,E=_??e.filter.placeholder??((T=e.def)==null?void 0:T.name),R=e.filter.icon,I=e.filter.iconTooltip??E;return C.jsxs("div",{className:Be.clsx(kr.MainFilter,d&&kr.IsOpen),children:[C.jsx(xa,{icon:R??"CalendarDay",isOpen:d,tooltip:I}),C.jsx(xm,{className:Be.clsx(kr.DatePicker,kr.Input,kr.Main),maxDate:e.filter.maxDate,minDate:e.filter.minDate,noDefaultChoices:S,placeholder:E,type:"Raw",useDateRange:w,LeftAddon:C.jsxs(C.Fragment,{children:[t&&C.jsx(Pd,{isOpen:d,filterF:a,popupF:f,resources:h}),!t&&C.jsx(Tn,{w:d?0:6}),C.jsx(xa,{icon:R??"CalendarDay",isOpen:!d,tooltip:I}),C.jsx(Tn,{w:d?8:0})]}),RightAddon:C.jsx(Nd,{filterF:a,hasSelectFilterType:n,hasSubFilters:u,isOpen:d,popupF:f,resources:h})})]})}return null},Pd=r=>{const{filterF:e,popupF:t,resources:n,isOpen:o}=r;return C.jsx(mo,{className:kr.Icon,icon:"Convert",style:{width:o?0:24,marginLeft:o?0:8},tooltip:n["Toggle Filter"],type:"Raw",onMouseDown:a=>a.currentTarget.classList.remove(kr.Rotate),onClick:a=>{a.currentTarget.classList.add(kr.Rotate),e.toggle(),t.close(),a.stopPropagation()}})},Nd=r=>{const{hasSubFilters:e,popupF:t,isOpen:n,resources:o,errorMessage:a,hideSearchButton:u,hasSelectFilterType:f,filterF:d}=r,h=k.useCallback(v=>{v.stopPropagation(),t.open()},[t]),x=k.useCallback(v=>{v.stopPropagation(),t.close()},[t]),_=k.useCallback(v=>{v.stopPropagation(),t.validate()&&d.apply()},[t,d]);return C.jsxs(k.Fragment,{children:[a&&C.jsx(mo,{className:kr.CircleAlertOutline,icon:"CircleAlertOutline",iconSize:"xs",tooltip:a,type:"Raw"}),e&&!f&&C.jsx(mo,{className:kr.Icon,icon:"ListAdd",type:"Raw",style:{opacity:+!n,visibility:+!n?"visible":"hidden",marginRight:-24,pointerEvents:n?"none":void 0},onClick:h}),e&&!f&&C.jsx(mo,{className:kr.Icon,icon:"ListRemove",type:"Raw",style:{opacity:+n,visibility:+n?"visible":"hidden",marginRight:n?-24:0,pointerEvents:n?void 0:"none"},onClick:x}),!u&&C.jsx(mo,{className:kr.Icon,icon:"Search",tooltip:o["Search(Button)"],type:"Raw",style:{opacity:+!n,visibility:+!n?"visible":"hidden",pointerEvents:n?"none":void 0,marginRight:4},onClick:_})]})},UR=r=>{const{subFilterSets:e,onChange:t,onClearClick:n,isOpen:o,isTransitioning:a,onTransitionEnd:u,resources:f,errorMessages:d,placeholder:h,filterF:x,validate:_}=r;return!o&&!a?null:C.jsxs("div",{className:kr.SubFilters,style:{opacity:+o,visibility:+o?"visible":"hidden"},onTransitionEnd:u,children:[e.map((v,y)=>{var b,T,w,S;if(v.filter.type==="String"){const E=[v.filter.value??"",q=>t(v.filter,q,y)],R=d[y],I=h??v.filter.placeholder??((b=v.def)==null?void 0:b.name),P=v.filter.icon,j=v.filter.iconTooltip??I;return C.jsxs(En,{style:{marginBottom:6},children:[C.jsx(xa,{icon:P??"Type",tooltip:j}),C.jsx(sc,{autoFocus:v.filter.autoFocus,className:Be.clsx(kr.Input,kr.Sub),maxLength:v.filter.maxLength,placeholder:I??f["Search(Placeholder)"],type:R?"Error":"Secondary",useValue:E,wrapProps:{style:{width:"100%"}},RightAddon:R&&C.jsx(mo,{className:kr.CircleAlertOutline,icon:"CircleAlertOutline",iconSize:"xs",tooltip:R,type:"Raw"})}),C.jsx(Tn,{h:8})]},y)}else if(v.filter.type==="Select"){const E=[v.filter.value??null,j=>t(v.filter,j)],R=h??v.filter.placeholder??((T=v.def)==null?void 0:T.name),I=v.filter.icon,P=v.filter.iconTooltip??R;return C.jsxs(En,{style:{marginBottom:6},children:[C.jsx(xa,{icon:I??"Menu",tooltip:P}),C.jsx(ac,{arrowProps:{style:{marginRight:4}},className:Be.clsx(kr.Input,kr.Sub),OptionRenderer:v.filter.OptionRenderer,options:v.filter.options,placeholder:R,type:"Secondary",useSelect:E}),C.jsx(Tn,{h:8})]},y)}else if(v.filter.type==="Date"){const E=[v.filter.value,j=>t(v.filter,j)],R=h??v.filter.placeholder??((w=v.def)==null?void 0:w.name),I=v.filter.icon,P=v.filter.iconTooltip??R;return C.jsxs(En,{style:{marginBottom:6},children:[C.jsx(xa,{icon:I??"CalendarDay",tooltip:P}),C.jsx(Cm,{className:Be.clsx(kr.DatePicker,kr.Input,kr.Sub),LeftAddon:C.jsx(Tn,{w:12}),maxDate:v.filter.maxDate,minDate:v.filter.minDate,placeholder:R,type:"Raw",useDate:E}),C.jsx(Tn,{h:8})]},y)}else if(v.filter.type==="DateRange"){const E=[v.filter.value,q=>t(v.filter,q)],{noDefaultChoices:R}=v.filter,I=h??v.filter.placeholder??((S=v.def)==null?void 0:S.name),P=v.filter.icon,j=v.filter.iconTooltip??I;return C.jsxs(En,{style:{marginBottom:6},children:[C.jsx(xa,{icon:P??"CalendarDay",tooltip:j}),C.jsx(xm,{className:Be.clsx(kr.DatePicker,kr.Input,kr.Sub),LeftAddon:C.jsx(Tn,{w:12}),maxDate:v.filter.maxDate,minDate:v.filter.minDate,noDefaultChoices:R,placeholder:I,type:"Raw",useDateRange:E})]},y)}else return null}),C.jsxs(En,{className:kr.Actions,children:[C.jsx(Ho,{type:"Secondary",onClick:n,children:f["Clear(Button)"]}),C.jsx(Ho,{onClick:()=>{_()&&x.apply()},children:f["Search(Button)"]})]})]})},xa=r=>{const{icon:e,tooltip:t,isOpen:n=!0}=r;return C.jsx(mo,{className:kr.LeftIcon,icon:e,tooltip:t,type:"Raw",style:{width:n?24:0,marginRight:n?4:0,opacity:+n}})},WR="_ATableHeader_1hzfz_1",VR="_LeftHeaderContent_1hzfz_11",GR="_RightHeaderContent_1hzfz_19",ZR="_TopRightAddon_1hzfz_27",KR="_HItem_1hzfz_32",Yc={ATableHeader:WR,LeftHeaderContent:VR,RightHeaderContent:GR,TopRightAddon:ZR,HItem:KR},YR=r=>{const{defs:e,title:t,totalCount:n,useCheck:o,useFilteration:a,hasToggleFilteration:u,filterF:f,noFilter:d,noCount:h,isFiltered:x,TopLeftAddon:_,TopRightAddon:v,useSortation:y,resources:b=Ur.ATable,filterType:T,placeholder:w}=r,[S]=k.useMemo(()=>o||[],[o]),E=k.useMemo(()=>x?b["Searched n items"](n):b["Total n items"](n),[b,x,n]),[R]=a,[I,P]=y,[j,q]=k.useState(!1),$=k.useMemo(()=>{const de=tr.values(R).filter(te=>te.type==="DateRange"),fe=tr.keys(R).filter(te=>de.includes(R[te])),ve=tr.keys(e).filter(te=>e[te].isSortable);return fe.length>0?(fe.length>1&&q(!0),ve.map(ce=>fe.includes(ce)?[ce+"_Asc",ce+"_Desc"]:ce).flat()):ve},[e,R]),G=k.useMemo(()=>r.isRowRendered&&$.length>0,[$.length,r.isRowRendered]),re=k.useCallback((de,fe)=>{P&&(I==null?void 0:I.defKey)===de&&(I.isAsc===!0?P({defKey:de,isAsc:!1,sortF:fe}):P({defKey:de,isAsc:!0,sortF:fe}))},[I,P]),F=k.useRef(),[W,V]=k.useState(),[ee,ue]=k.useState(I?I.defKey:$[0]),le=k.useMemo(()=>{if(!W)return{};const de=e[W];return{SortUp:{onClick:()=>{P==null||P({defKey:W,isAsc:!0,sortF:de.sortF}),ue(W)},content:()=>b["Sort up"]},SortDown:{onClick:()=>{P==null||P({defKey:W,isAsc:!1,sortF:de.sortF}),ue(W)},content:()=>b["Sort down"]}}},[P,W,e,b]);return C.jsxs(C.Fragment,{children:[C.jsxs("div",{className:Be.clsx(Yc.ATableHeader),children:[C.jsxs("div",{className:Be.clsx(Yc.LeftHeaderContent,"NoSelect"),children:[C.jsxs(En,{style:{marginBottom:G?8:0},children:[_&&C.jsx("div",{className:Be.clsx(Yc.HItem),children:_}),t&&C.jsx("div",{className:Be.clsx(Yc.HItem),style:{whiteSpace:"nowrap"},children:t}),!h&&C.jsxs("div",{className:Be.clsx(Yc.HItem),style:{maxHeight:14,...G&&{minHeight:14,color:"var(--label-neutral)"}},children:[E,S&&S.length>0&&C.jsxs(C.Fragment,{children:[" / ",b["Checked n items"](S.length)]})]})]}),G&&C.jsx(rx,{options:$,optionWidth:"fit-content",tabProps:{style:{marginRight:8}},type:"Tertiary",useSelect:[ee,()=>{}],optionProps:{style:{cursor:"default"},onClick:de=>{var te;const fe=de.currentTarget.textContent;if(fe===b[fe])return;de.currentTarget.querySelector("svg")===null&&((te=F.current)==null||te.open(de.currentTarget))}},OptionRenderer:de=>{const fe=/_Asc|_Desc/.test(de.option),ve=(I==null?void 0:I.defKey)===de.option,te=ee===de.option,ce=I==null?void 0:I.isAsc,pe=()=>{if(fe){V(void 0),ue(de.option);const[oe,we]=de.option.split("_"),Oe=we==="Asc";P==null||P({defKey:oe,isAsc:Oe,sortF:e[oe].sortF})}else te?re(de.option,e[de.option].sortF):V(de.option)},Ie=fe?(oe=>{const[we,Oe]=oe.split("_");return(j?we+" ":"")+b[Oe]})(de.option):b["Sort by x"](de.option);return C.jsxs(En,{className:Be.clsx(!(fe&&te)&&"IsClickable"),style:{height:"100%"},onClick:pe,children:[Ie,te&&!fe&&C.jsx(Nr,{icon:ve?ce?"RowSortUp":"RowSortDown":"RowSortBoth",style:{marginRight:-5,marginLeft:4}})]},de.option)}})]}),C.jsx(ou,{}),C.jsxs("div",{className:Be.clsx(Yc.RightHeaderContent,"NoSelect"),children:[!d&&C.jsx(zR,{defs:e,filterF:f,filterType:T,hasToggleFilteration:u,isFilterSort:$.length>0,isRowRendered:r.isRowRendered,placeholder:w,resources:b,useFilteration:a}),v&&C.jsx(En,{children:v,className:Be.clsx(Yc.TopRightAddon)})]})]}),C.jsx(Q2,{actionRef:F,defs:le,position:af.S,width:100,onClose:()=>V(void 0)})]})},XR=r=>{const{defs:e,pk:t,defaultDef:n,rProps:o,useSelect:a,isSelectMulti:u,selectDisabled:f,useCheck:d,checkDisabled:h,isLoading:x,isDisabled:_,title:v,entireItems:y,onStateChange:b,pagedItems:T,totalCount:w,useFilteration:S,useToggleFilteration:E,filterType:R="Default",placeholder:I,rowHeight:P=40,usePagination:j,useSortation:q,showRows:$,noHeader:G,noDefHeader:re,noFooter:F,noFilter:W,noCount:V,noMarking:ee,noStateChangeOnMount:ue,TopLeftAddon:le,TopRightAddon:de,actionRef:fe,RowRenderer:ve,resources:te}=r,ce=k.useMemo(()=>({...Ur.ATable,...te}),[te]),pe=k.useCallback((xe,Ye)=>t!==void 0?Array.isArray(t)?t.every(xt=>al.isEqual(xe[xt],Ye[xt])):al.isEqual(xe[t],Ye[t]):al.isEqual(xe,Ye),[t]),ye=k.useMemo(()=>({content:JR,...n}),[n]),Ie=k.useMemo(()=>{const xe={};return tr.keys(e).forEach(Ye=>{const xt=e[Ye],Tt={...ye,...xt};xe[Ye]=Tt}),xe},[ye,e]),[oe,we]=dn(al.cloneDeep(S),{"":{type:"String",placeholder:ce["Search(Placeholder)"],value:""}}),[Oe,Ue]=dn(al.cloneDeep(E),void 0),[We,Se]=k.useState(!1),[_e,Ce]=k.useMemo(()=>We&&Oe?[Oe,Ue]:[oe,we],[oe,We,we,Ue,Oe]),[Te,Ne]=k.useState(_e),ot=k.useMemo(()=>y?il.applyFilteration(y,Ie,Te):[],[y,Ie,Te]),$e=k.useMemo(()=>{for(const xe in Te){const Ye=Te[xe];if(Ye.value!==void 0&&Ye.value!==null&&Ye.value!=="")return!0}return!1},[Te]),[tt,at]=dn(q,void 0),De=k.useMemo(()=>il.applySortation(ot,Ie,tt),[ot,Ie,tt]),Ke=k.useMemo(()=>{if(T!==void 0)return il.applySortation(T,Ie,tt)},[T,Ie,tt]),[yt,_t]=dn(j,{page:1,pageSize:50,pageRange:10}),bt=k.useMemo(()=>({pageSize:50,page:1,pageRange:10,...yt}),[yt]),{pagedItems:At,totalCount:qe,pagination:Qe}=k.useMemo(()=>{const xe={...bt};if(Ke!==void 0){let Ye=w??Ke.length;const xt=il.getPages(Ye,xe.pageSize);return xe.page>xt.length?xe.page=xt.length:xe.page<1&&(xe.page=1),{pagedItems:Ke,totalCount:Ye,pagination:xe}}else if(y!==void 0){const Ye=w??De.length,xt=il.getPages(Ye,xe.pageSize);return xe.page>xt.length?xe.page=xt.length:xe.page<1&&(xe.page=1),{pagedItems:il.applyPagination(De,xe.page,xe.pageSize),totalCount:Ye,pagination:xe}}else return{pagedItems:[],totalCount:w??0,pagination:bt}},[y,Ke,w,bt,De]),{pages:St,rangedPages:Dt}=k.useMemo(()=>il.getRangedPages(Qe.page,qe,Qe.pageSize,Qe.pageRange),[qe,Qe.pageSize,Qe.page,Qe.pageRange]),[Et,Ze]=k.useMemo(()=>d??[],[d]),It=k.useMemo(()=>At.filter(xe=>Et==null?void 0:Et.some(Ye=>pe(Ye,xe))),[At,Et,pe]),Ot=k.useMemo(()=>At.filter(xe=>!(h!=null&&h(xe))),[At,h]),pr=k.useMemo(()=>Ot.length>0&&Ot.every(xe=>It.some(Ye=>pe(Ye,xe))),[It,Ot,pe]),br=k.useMemo(()=>pr?!1:Ot.some(xe=>It.some(Ye=>pe(Ye,xe))),[It,Ot,pr,pe]),Or=k.useCallback(()=>{!Et||!Ze||_||Ze(pr||br?Et.filter(xe=>!Ot.some(Ye=>pe(Ye,xe))):[...Et,...Ot])},[Et,Ze,pr,br,Ot,_,pe]),Ee=k.useCallback(xe=>{!Et||!Ze||_||(Et.some(Ye=>pe(Ye,xe))?Ze(Et.filter(Ye=>!pe(Ye,xe))):Ze([...Et,xe]))},[Et,Ze,_,pe]);k.useEffect(()=>{if(!Ze||!Et||!h)return;Et.filter(Ye=>h(Ye)).length>0&&Ze(Et.filter(Ye=>!h(Ye)))},[h,Et,Ze]);const ae=k.useMemo(()=>({hContent:Et&&C.jsx(ef,{isIndeterminate:br,useCheck:[pr,Or]}),content:xe=>{const{item:Ye}=xe,xt=h==null?void 0:h(Ye),Tt=typeof xt=="string"?xt:void 0,kt=Et==null?void 0:Et.some(wt=>pe(wt,Ye));return C.jsx(ef,{isDisabled:xt,style:{zIndex:1},tooltip:Tt,useCheck:[kt,()=>Ee(Ye)],onClick:wt=>wt.stopPropagation()})},minWidth:32,maxWidth:32}),[Et,pr,br,pe,Or,h,Ee]),st=k.useMemo(()=>d?{checkDef:ae,...Ie}:Ie,[Ie,ae,d]),[mt,Ft]=k.useState(!1),Rt=k.useMemo(()=>x??mt,[x,mt]),Mt=k.useCallback(async xe=>{b&&(Ft(!0),await b(xe),Ft(!1)),_t==null||_t(xe.pagination),at==null||at(xe.sortation),Ne(xe.filteration)},[b,_t,at]);k.useEffect(()=>{if(!fe)return;const xe=xt=>{const Tt={entireItems:y,filteration:_e,pagination:Qe,sortation:tt},kt=xt?xt(Tt):Tt;Mt(kt)},Ye=xt=>{const Tt={...Qe,page:1},kt=xt?xt(_e):_e;Mt({entireItems:y,filteration:kt,pagination:Tt,sortation:tt}),Ce==null||Ce(kt)};fe.current={fireOnStateChange:xe,applyFilteration:Ye}},[fe,Mt,y,Ce,_e,Qe,tt]);const Qt=k.useCallback(xe=>{xe.page===Qe.page&&xe.pageSize===Qe.pageSize||(xe.page<1?xe.page=1:xe.page>St[St.length-1]&&(xe.page=St[St.length-1]),Mt({entireItems:y,filteration:Te,pagination:xe,sortation:tt}))},[Qe,St,Mt,y,Te,tt]),qt=k.useCallback(xe=>{Ce&&Ce(xe)},[Ce]),sr=k.useCallback(xe=>{Mt({entireItems:y,filteration:Te,pagination:Qe,sortation:xe})},[Mt,y,Te,Qe]),er=k.useCallback(xe=>{Qt({...Qe,page:xe})},[Qt,Qe]),_r=k.useCallback(()=>{er(Qe.page-1)},[er,Qe.page]),fr=k.useCallback(()=>{er(Qe.page+1)},[er,Qe.page]),lt=k.useCallback(()=>{er(1)},[er]),it=k.useCallback(()=>{er(St[St.length-1])},[er,St]),Fe=k.useMemo(()=>({move:er,movePrev:_r,moveNext:fr,moveFirst:lt,moveLast:it}),[er,_r,fr,lt,it]),ut=k.useCallback(()=>{const xe={...Qe,page:1};Mt({entireItems:y,filteration:_e,pagination:xe,sortation:tt})},[_e,Qe,Mt,y,tt]),nt=k.useCallback(()=>{Se(!We)},[We]),$t=k.useCallback(()=>{We&&Oe?Ue==null||Ue(my(Oe)):Ce==null||Ce(my(oe))},[We,Oe,Ue,oe,Ce]),wr=k.useMemo(()=>({apply:ut,toggle:nt,clear:$t}),[ut,nt,$t]);nx(()=>{ue||Mt({entireItems:y,filteration:_e,pagination:Qe,sortation:tt})});const ne=k.useMemo(()=>tr.map(Ie,([Ye])=>Ie[Ye].minWidth??tc).reduce((Ye,xt)=>Ye+xt,0),[Ie]),He=k.useMemo(()=>ve!==void 0,[ve]);return C.jsxs(Zr,{className:Q8.ATable,isDisabled:_,style:{minWidth:ne},children:[!G&&C.jsx(YR,{defs:Ie,filterF:wr,filterType:R,hasToggleFilteration:Oe!==void 0,isFiltered:$e,isRowRendered:He,noCount:V,noFilter:W,placeholder:I,resources:ce,title:v,TopLeftAddon:le,TopRightAddon:de,totalCount:qe,useCheck:d&&Et?[Et,Ze]:void 0,useFilteration:[_e,qt],useSortation:[tt,sr]}),C.jsx(bR,{appliedFilteration:Te,defs:st,isEqual:pe,isLoading:Rt,isRowRendered:He,isSelectMulti:u,isTableDisabled:_,noDefHeader:re,noMarking:ee,pagedItems:At,pagination:Qe,resources:ce,rowHeight:P,RowRenderer:ve,rProps:o,selectDisabled:f,showRows:$,useSelect:a,useSortation:[tt,sr]}),!F&&C.jsx(TR,{pageF:Fe,pages:St,pagination:Qe,rangedPages:Dt})]})},JR=r=>{const{defKey:e,item:t}=r;if(tr.hasKey(t,e)){const n=t[e];return tr.isReactNode(n)?n:null}else return null};function my(r){const e={...r};for(const t in e)e[t].value=void 0;return e}const QR="_AText_1asz6_1",e9={AText:QR},ax=r=>{const{text:e,styled:t,style:n}=r,o=k.useMemo(()=>{if(e)if(t)if(n){if(t===!0)return n==="bold"?C.jsx("b",{children:e}):C.jsx("span",{style:n,children:e});if(typeof t=="string"){const a=e.split(t);return n==="bold"?a.map((u,f)=>C.jsxs(k.Fragment,{children:[jd(u),f<a.length-1?C.jsx("b",{children:jd(t)}):""]},f)):a.map((u,f)=>C.jsxs(k.Fragment,{children:[jd(u),f<a.length-1&&C.jsx("span",{style:n,children:jd(t)})]},f))}}else return e;else return e;else return""},[e,n,t]);return C.jsx("div",{className:Be.clsx("Body1Reading",e9.AText,"NoSelect"),children:o})};function jd(r){const e=r.split(`
|
162
|
-
`);return e.map((t,n)=>C.jsxs(k.Fragment,{children:[t,n!==e.length-1&&C.jsx("br",{})]},n))}const t9="_Base_cpm4t_7",r9="_ATextArea_cpm4t_11",n9="_Primary_cpm4t_34",o9="_UnAvailable_cpm4t_39",i9="_Secondary_cpm4t_47",s9="_ReadOnly_cpm4t_59",Fd={Base:t9,ATextArea:r9,Primary:n9,UnAvailable:o9,Secondary:i9,ReadOnly:s9,Error:"_Error_cpm4t_66"},a9=["Primary","Secondary","ReadOnly","Error"],l9=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",textAreaRef:o,useValue:a,rows:u,isReadonly:f,placeholder:d,maxLength:h,tabIndex:x,autoFocus:_,textAreaProps:v,wrapProps:y,helperText:b,label:T,wrapType:w,labelProps:S,...E}=r,R=k.useMemo(()=>c9(t)?"Error":n,[t,n]),I=k.useMemo(()=>R==="ReadOnly"?!0:f,[R,f]),P=k.useMemo(()=>E.isDisabled||E.isLoading,[E.isDisabled,E.isLoading]),[j,q]=dn(a,""),$=k.useCallback(F=>{q&&q(F)},[q]),G=k.useCallback(F=>{var W;P||($(F.target.value),(W=v==null?void 0:v.onChange)==null||W.call(v,F))},[P,$,v]),re=k.useCallback(F=>{var W;if(!P){if((W=v==null?void 0:v.onKeyDown)==null||W.call(v,F),F.key==="Tab"){const V=F.currentTarget.selectionStart,ee=F.currentTarget.selectionEnd;F.currentTarget.value=F.currentTarget.value.substring(0,V)+" "+F.currentTarget.value.substring(ee),F.currentTarget.selectionStart=F.currentTarget.selectionEnd=V+1,F.preventDefault()}else F.key==="Enter"&&(e==null||e(F.currentTarget.value),F.stopPropagation());F.key!=="Escape"&&F.stopPropagation()}},[P,e,v]);return C.jsx(ic,{wrapProps:y,label:T,helperText:b,errorMessage:t,labelProps:S,wrapType:w??R==="Error"?"Error":"Default",children:C.jsx(Zr,{...E,className:Be.clsx(Fd.Base,E.className),children:C.jsx("textarea",{...v,ref:o,autoFocus:_,className:Be.clsx(Fd.ATextArea,Fd[R],P&&Fd.UnAvailable,v==null?void 0:v.className),maxLength:h,placeholder:d,readOnly:I,rows:u,tabIndex:E.isDisabled||E.isLoading?-1:x,value:j,onChange:G,onKeyDown:re})})})};function c9(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}var lx=typeof global=="object"&&global&&global.Object===Object&&global,u9=typeof self=="object"&&self&&self.Object===Object&&self,Ra=lx||u9||Function("return this")(),lc=Ra.Symbol,cx=Object.prototype,f9=cx.hasOwnProperty,d9=cx.toString,jf=lc?lc.toStringTag:void 0;function h9(r){var e=f9.call(r,jf),t=r[jf];try{r[jf]=void 0;var n=!0}catch{}var o=d9.call(r);return n&&(e?r[jf]=t:delete r[jf]),o}var p9=Object.prototype,g9=p9.toString;function m9(r){return g9.call(r)}var v9="[object Null]",y9="[object Undefined]",vy=lc?lc.toStringTag:void 0;function lf(r){return r==null?r===void 0?y9:v9:vy&&vy in Object(r)?h9(r):m9(r)}function ll(r){return r!=null&&typeof r=="object"}var tu=Array.isArray;function cc(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}function ux(r){return r}var b9="[object AsyncFunction]",_9="[object Function]",x9="[object GeneratorFunction]",S9="[object Proxy]";function Em(r){if(!cc(r))return!1;var e=lf(r);return e==_9||e==x9||e==b9||e==S9}var op=Ra["__core-js_shared__"],yy=function(){var r=/[^.]+$/.exec(op&&op.keys&&op.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function C9(r){return!!yy&&yy in r}var w9=Function.prototype,A9=w9.toString;function iu(r){if(r!=null){try{return A9.call(r)}catch{}try{return r+""}catch{}}return""}var E9=/[\\^$.*+?()[\]{}|]/g,T9=/^\[object .+?Constructor\]$/,k9=Function.prototype,R9=Object.prototype,I9=k9.toString,L9=R9.hasOwnProperty,O9=RegExp("^"+I9.call(L9).replace(E9,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function M9(r){if(!cc(r)||C9(r))return!1;var e=Em(r)?O9:T9;return e.test(iu(r))}function D9(r,e){return r==null?void 0:r[e]}function su(r,e){var t=D9(r,e);return M9(t)?t:void 0}var V1=su(Ra,"WeakMap"),by=Object.create,P9=function(){function r(){}return function(e){if(!cc(e))return{};if(by)return by(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}}();function N9(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 fx(r,e){var t=-1,n=r.length;for(e||(e=Array(n));++t<n;)e[t]=r[t];return e}var j9=800,F9=16,B9=Date.now;function H9(r){var e=0,t=0;return function(){var n=B9(),o=F9-(n-t);if(t=n,o>0){if(++e>=j9)return arguments[0]}else e=0;return r.apply(void 0,arguments)}}function q9(r){return function(){return r}}var ih=function(){try{var r=su(Object,"defineProperty");return r({},"",{}),r}catch{}}(),z9=ih?function(r,e){return ih(r,"toString",{configurable:!0,enumerable:!1,value:q9(e),writable:!0})}:ux,$9=H9(z9);function U9(r,e){for(var t=-1,n=r==null?0:r.length;++t<n&&e(r[t],t,r)!==!1;);return r}var W9=9007199254740991,V9=/^(?:0|[1-9]\d*)$/;function dx(r,e){var t=typeof r;return e=e??W9,!!e&&(t=="number"||t!="symbol"&&V9.test(r))&&r>-1&&r%1==0&&r<e}function Tm(r,e,t){e=="__proto__"&&ih?ih(r,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):r[e]=t}function cd(r,e){return r===e||r!==r&&e!==e}var G9=Object.prototype,Z9=G9.hasOwnProperty;function hx(r,e,t){var n=r[e];(!(Z9.call(r,e)&&cd(n,t))||t===void 0&&!(e in r))&&Tm(r,e,t)}function ud(r,e,t,n){var o=!t;t||(t={});for(var a=-1,u=e.length;++a<u;){var f=e[a],d=void 0;d===void 0&&(d=r[f]),o?Tm(t,f,d):hx(t,f,d)}return t}var _y=Math.max;function K9(r,e,t){return e=_y(e===void 0?r.length-1:e,0),function(){for(var n=arguments,o=-1,a=_y(n.length-e,0),u=Array(a);++o<a;)u[o]=n[e+o];o=-1;for(var f=Array(e+1);++o<e;)f[o]=n[o];return f[e]=t(u),N9(r,this,f)}}function Y9(r,e){return $9(K9(r,e,ux),r+"")}var X9=9007199254740991;function px(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=X9}function ph(r){return r!=null&&px(r.length)&&!Em(r)}function J9(r,e,t){if(!cc(t))return!1;var n=typeof e;return(n=="number"?ph(t)&&dx(e,t.length):n=="string"&&e in t)?cd(t[e],r):!1}function Q9(r){return Y9(function(e,t){var n=-1,o=t.length,a=o>1?t[o-1]:void 0,u=o>2?t[2]:void 0;for(a=r.length>3&&typeof a=="function"?(o--,a):void 0,u&&J9(t[0],t[1],u)&&(a=o<3?void 0:a,o=1),e=Object(e);++n<o;){var f=t[n];f&&r(e,f,n,a)}return e})}var e7=Object.prototype;function km(r){var e=r&&r.constructor,t=typeof e=="function"&&e.prototype||e7;return r===t}function t7(r,e){for(var t=-1,n=Array(r);++t<r;)n[t]=e(t);return n}var r7="[object Arguments]";function xy(r){return ll(r)&&lf(r)==r7}var gx=Object.prototype,n7=gx.hasOwnProperty,o7=gx.propertyIsEnumerable,G1=xy(function(){return arguments}())?xy:function(r){return ll(r)&&n7.call(r,"callee")&&!o7.call(r,"callee")};function i7(){return!1}var mx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Sy=mx&&typeof module=="object"&&module&&!module.nodeType&&module,s7=Sy&&Sy.exports===mx,Cy=s7?Ra.Buffer:void 0,a7=Cy?Cy.isBuffer:void 0,rd=a7||i7,l7="[object Arguments]",c7="[object Array]",u7="[object Boolean]",f7="[object Date]",d7="[object Error]",h7="[object Function]",p7="[object Map]",g7="[object Number]",m7="[object Object]",v7="[object RegExp]",y7="[object Set]",b7="[object String]",_7="[object WeakMap]",x7="[object ArrayBuffer]",S7="[object DataView]",C7="[object Float32Array]",w7="[object Float64Array]",A7="[object Int8Array]",E7="[object Int16Array]",T7="[object Int32Array]",k7="[object Uint8Array]",R7="[object Uint8ClampedArray]",I7="[object Uint16Array]",L7="[object Uint32Array]",An={};An[C7]=An[w7]=An[A7]=An[E7]=An[T7]=An[k7]=An[R7]=An[I7]=An[L7]=!0;An[l7]=An[c7]=An[x7]=An[u7]=An[S7]=An[f7]=An[d7]=An[h7]=An[p7]=An[g7]=An[m7]=An[v7]=An[y7]=An[b7]=An[_7]=!1;function O7(r){return ll(r)&&px(r.length)&&!!An[lf(r)]}function Rm(r){return function(e){return r(e)}}var vx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Zf=vx&&typeof module=="object"&&module&&!module.nodeType&&module,M7=Zf&&Zf.exports===vx,ip=M7&&lx.process,tf=function(){try{var r=Zf&&Zf.require&&Zf.require("util").types;return r||ip&&ip.binding&&ip.binding("util")}catch{}}(),wy=tf&&tf.isTypedArray,Im=wy?Rm(wy):O7,D7=Object.prototype,P7=D7.hasOwnProperty;function yx(r,e){var t=tu(r),n=!t&&G1(r),o=!t&&!n&&rd(r),a=!t&&!n&&!o&&Im(r),u=t||n||o||a,f=u?t7(r.length,String):[],d=f.length;for(var h in r)(e||P7.call(r,h))&&!(u&&(h=="length"||o&&(h=="offset"||h=="parent")||a&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||dx(h,d)))&&f.push(h);return f}function bx(r,e){return function(t){return r(e(t))}}var N7=bx(Object.keys,Object),j7=Object.prototype,F7=j7.hasOwnProperty;function B7(r){if(!km(r))return N7(r);var e=[];for(var t in Object(r))F7.call(r,t)&&t!="constructor"&&e.push(t);return e}function Lm(r){return ph(r)?yx(r):B7(r)}function H7(r){var e=[];if(r!=null)for(var t in Object(r))e.push(t);return e}var q7=Object.prototype,z7=q7.hasOwnProperty;function $7(r){if(!cc(r))return H7(r);var e=km(r),t=[];for(var n in r)n=="constructor"&&(e||!z7.call(r,n))||t.push(n);return t}function fd(r){return ph(r)?yx(r,!0):$7(r)}var nd=su(Object,"create");function U7(){this.__data__=nd?nd(null):{},this.size=0}function W7(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}var V7="__lodash_hash_undefined__",G7=Object.prototype,Z7=G7.hasOwnProperty;function K7(r){var e=this.__data__;if(nd){var t=e[r];return t===V7?void 0:t}return Z7.call(e,r)?e[r]:void 0}var Y7=Object.prototype,X7=Y7.hasOwnProperty;function J7(r){var e=this.__data__;return nd?e[r]!==void 0:X7.call(e,r)}var Q7="__lodash_hash_undefined__";function eI(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=nd&&e===void 0?Q7:e,this}function ru(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])}}ru.prototype.clear=U7;ru.prototype.delete=W7;ru.prototype.get=K7;ru.prototype.has=J7;ru.prototype.set=eI;function tI(){this.__data__=[],this.size=0}function gh(r,e){for(var t=r.length;t--;)if(cd(r[t][0],e))return t;return-1}var rI=Array.prototype,nI=rI.splice;function oI(r){var e=this.__data__,t=gh(e,r);if(t<0)return!1;var n=e.length-1;return t==n?e.pop():nI.call(e,t,1),--this.size,!0}function iI(r){var e=this.__data__,t=gh(e,r);return t<0?void 0:e[t][1]}function sI(r){return gh(this.__data__,r)>-1}function aI(r,e){var t=this.__data__,n=gh(t,r);return n<0?(++this.size,t.push([r,e])):t[n][1]=e,this}function fl(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])}}fl.prototype.clear=tI;fl.prototype.delete=oI;fl.prototype.get=iI;fl.prototype.has=sI;fl.prototype.set=aI;var od=su(Ra,"Map");function lI(){this.size=0,this.__data__={hash:new ru,map:new(od||fl),string:new ru}}function cI(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}function mh(r,e){var t=r.__data__;return cI(e)?t[typeof e=="string"?"string":"hash"]:t.map}function uI(r){var e=mh(this,r).delete(r);return this.size-=e?1:0,e}function fI(r){return mh(this,r).get(r)}function dI(r){return mh(this,r).has(r)}function hI(r,e){var t=mh(this,r),n=t.size;return t.set(r,e),this.size+=t.size==n?0:1,this}function au(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])}}au.prototype.clear=lI;au.prototype.delete=uI;au.prototype.get=fI;au.prototype.has=dI;au.prototype.set=hI;function _x(r,e){for(var t=-1,n=e.length,o=r.length;++t<n;)r[o+t]=e[t];return r}var Om=bx(Object.getPrototypeOf,Object),pI="[object Object]",gI=Function.prototype,mI=Object.prototype,xx=gI.toString,vI=mI.hasOwnProperty,yI=xx.call(Object);function bI(r){if(!ll(r)||lf(r)!=pI)return!1;var e=Om(r);if(e===null)return!0;var t=vI.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&xx.call(t)==yI}function _I(){this.__data__=new fl,this.size=0}function xI(r){var e=this.__data__,t=e.delete(r);return this.size=e.size,t}function SI(r){return this.__data__.get(r)}function CI(r){return this.__data__.has(r)}var wI=200;function AI(r,e){var t=this.__data__;if(t instanceof fl){var n=t.__data__;if(!od||n.length<wI-1)return n.push([r,e]),this.size=++t.size,this;t=this.__data__=new au(n)}return t.set(r,e),this.size=t.size,this}function Ca(r){var e=this.__data__=new fl(r);this.size=e.size}Ca.prototype.clear=_I;Ca.prototype.delete=xI;Ca.prototype.get=SI;Ca.prototype.has=CI;Ca.prototype.set=AI;function EI(r,e){return r&&ud(e,Lm(e),r)}function TI(r,e){return r&&ud(e,fd(e),r)}var Sx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ay=Sx&&typeof module=="object"&&module&&!module.nodeType&&module,kI=Ay&&Ay.exports===Sx,Ey=kI?Ra.Buffer:void 0,Ty=Ey?Ey.allocUnsafe:void 0;function Cx(r,e){if(e)return r.slice();var t=r.length,n=Ty?Ty(t):new r.constructor(t);return r.copy(n),n}function RI(r,e){for(var t=-1,n=r==null?0:r.length,o=0,a=[];++t<n;){var u=r[t];e(u,t,r)&&(a[o++]=u)}return a}function wx(){return[]}var II=Object.prototype,LI=II.propertyIsEnumerable,ky=Object.getOwnPropertySymbols,Mm=ky?function(r){return r==null?[]:(r=Object(r),RI(ky(r),function(e){return LI.call(r,e)}))}:wx;function OI(r,e){return ud(r,Mm(r),e)}var MI=Object.getOwnPropertySymbols,Ax=MI?function(r){for(var e=[];r;)_x(e,Mm(r)),r=Om(r);return e}:wx;function DI(r,e){return ud(r,Ax(r),e)}function Ex(r,e,t){var n=e(r);return tu(r)?n:_x(n,t(r))}function Z1(r){return Ex(r,Lm,Mm)}function PI(r){return Ex(r,fd,Ax)}var K1=su(Ra,"DataView"),Y1=su(Ra,"Promise"),X1=su(Ra,"Set"),Ry="[object Map]",NI="[object Object]",Iy="[object Promise]",Ly="[object Set]",Oy="[object WeakMap]",My="[object DataView]",jI=iu(K1),FI=iu(od),BI=iu(Y1),HI=iu(X1),qI=iu(V1),Hs=lf;(K1&&Hs(new K1(new ArrayBuffer(1)))!=My||od&&Hs(new od)!=Ry||Y1&&Hs(Y1.resolve())!=Iy||X1&&Hs(new X1)!=Ly||V1&&Hs(new V1)!=Oy)&&(Hs=function(r){var e=lf(r),t=e==NI?r.constructor:void 0,n=t?iu(t):"";if(n)switch(n){case jI:return My;case FI:return Ry;case BI:return Iy;case HI:return Ly;case qI:return Oy}return e});var zI=Object.prototype,$I=zI.hasOwnProperty;function UI(r){var e=r.length,t=new r.constructor(e);return e&&typeof r[0]=="string"&&$I.call(r,"index")&&(t.index=r.index,t.input=r.input),t}var sh=Ra.Uint8Array;function Dm(r){var e=new r.constructor(r.byteLength);return new sh(e).set(new sh(r)),e}function WI(r,e){var t=e?Dm(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.byteLength)}var VI=/\w*$/;function GI(r){var e=new r.constructor(r.source,VI.exec(r));return e.lastIndex=r.lastIndex,e}var Dy=lc?lc.prototype:void 0,Py=Dy?Dy.valueOf:void 0;function ZI(r){return Py?Object(Py.call(r)):{}}function Tx(r,e){var t=e?Dm(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}var KI="[object Boolean]",YI="[object Date]",XI="[object Map]",JI="[object Number]",QI="[object RegExp]",eL="[object Set]",tL="[object String]",rL="[object Symbol]",nL="[object ArrayBuffer]",oL="[object DataView]",iL="[object Float32Array]",sL="[object Float64Array]",aL="[object Int8Array]",lL="[object Int16Array]",cL="[object Int32Array]",uL="[object Uint8Array]",fL="[object Uint8ClampedArray]",dL="[object Uint16Array]",hL="[object Uint32Array]";function pL(r,e,t){var n=r.constructor;switch(e){case nL:return Dm(r);case KI:case YI:return new n(+r);case oL:return WI(r,t);case iL:case sL:case aL:case lL:case cL:case uL:case fL:case dL:case hL:return Tx(r,t);case XI:return new n;case JI:case tL:return new n(r);case QI:return GI(r);case eL:return new n;case rL:return ZI(r)}}function kx(r){return typeof r.constructor=="function"&&!km(r)?P9(Om(r)):{}}var gL="[object Map]";function mL(r){return ll(r)&&Hs(r)==gL}var Ny=tf&&tf.isMap,vL=Ny?Rm(Ny):mL,yL="[object Set]";function bL(r){return ll(r)&&Hs(r)==yL}var jy=tf&&tf.isSet,_L=jy?Rm(jy):bL,xL=1,SL=2,CL=4,Rx="[object Arguments]",wL="[object Array]",AL="[object Boolean]",EL="[object Date]",TL="[object Error]",Ix="[object Function]",kL="[object GeneratorFunction]",RL="[object Map]",IL="[object Number]",Lx="[object Object]",LL="[object RegExp]",OL="[object Set]",ML="[object String]",DL="[object Symbol]",PL="[object WeakMap]",NL="[object ArrayBuffer]",jL="[object DataView]",FL="[object Float32Array]",BL="[object Float64Array]",HL="[object Int8Array]",qL="[object Int16Array]",zL="[object Int32Array]",$L="[object Uint8Array]",UL="[object Uint8ClampedArray]",WL="[object Uint16Array]",VL="[object Uint32Array]",bn={};bn[Rx]=bn[wL]=bn[NL]=bn[jL]=bn[AL]=bn[EL]=bn[FL]=bn[BL]=bn[HL]=bn[qL]=bn[zL]=bn[RL]=bn[IL]=bn[Lx]=bn[LL]=bn[OL]=bn[ML]=bn[DL]=bn[$L]=bn[UL]=bn[WL]=bn[VL]=!0;bn[TL]=bn[Ix]=bn[PL]=!1;function Yd(r,e,t,n,o,a){var u,f=e&xL,d=e&SL,h=e&CL;if(u!==void 0)return u;if(!cc(r))return r;var x=tu(r);if(x){if(u=UI(r),!f)return fx(r,u)}else{var _=Hs(r),v=_==Ix||_==kL;if(rd(r))return Cx(r,f);if(_==Lx||_==Rx||v&&!o){if(u=d||v?{}:kx(r),!f)return d?DI(r,TI(u,r)):OI(r,EI(u,r))}else{if(!bn[_])return o?r:{};u=pL(r,_,f)}}a||(a=new Ca);var y=a.get(r);if(y)return y;a.set(r,u),_L(r)?r.forEach(function(w){u.add(Yd(w,e,t,w,r,a))}):vL(r)&&r.forEach(function(w,S){u.set(S,Yd(w,e,t,S,r,a))});var b=h?d?PI:Z1:d?fd:Lm,T=x?void 0:b(r);return U9(T||r,function(w,S){T&&(S=w,w=r[S]),hx(u,S,Yd(w,e,t,S,r,a))}),u}var GL=1,ZL=4;function Yu(r){return Yd(r,GL|ZL)}var KL="__lodash_hash_undefined__";function YL(r){return this.__data__.set(r,KL),this}function XL(r){return this.__data__.has(r)}function ah(r){var e=-1,t=r==null?0:r.length;for(this.__data__=new au;++e<t;)this.add(r[e])}ah.prototype.add=ah.prototype.push=YL;ah.prototype.has=XL;function JL(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 QL(r,e){return r.has(e)}var eO=1,tO=2;function Ox(r,e,t,n,o,a){var u=t&eO,f=r.length,d=e.length;if(f!=d&&!(u&&d>f))return!1;var h=a.get(r),x=a.get(e);if(h&&x)return h==e&&x==r;var _=-1,v=!0,y=t&tO?new ah:void 0;for(a.set(r,e),a.set(e,r);++_<f;){var b=r[_],T=e[_];if(n)var w=u?n(T,b,_,e,r,a):n(b,T,_,r,e,a);if(w!==void 0){if(w)continue;v=!1;break}if(y){if(!JL(e,function(S,E){if(!QL(y,E)&&(b===S||o(b,S,t,n,a)))return y.push(E)})){v=!1;break}}else if(!(b===T||o(b,T,t,n,a))){v=!1;break}}return a.delete(r),a.delete(e),v}function rO(r){var e=-1,t=Array(r.size);return r.forEach(function(n,o){t[++e]=[o,n]}),t}function nO(r){var e=-1,t=Array(r.size);return r.forEach(function(n){t[++e]=n}),t}var oO=1,iO=2,sO="[object Boolean]",aO="[object Date]",lO="[object Error]",cO="[object Map]",uO="[object Number]",fO="[object RegExp]",dO="[object Set]",hO="[object String]",pO="[object Symbol]",gO="[object ArrayBuffer]",mO="[object DataView]",Fy=lc?lc.prototype:void 0,sp=Fy?Fy.valueOf:void 0;function vO(r,e,t,n,o,a,u){switch(t){case mO:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset)return!1;r=r.buffer,e=e.buffer;case gO:return!(r.byteLength!=e.byteLength||!a(new sh(r),new sh(e)));case sO:case aO:case uO:return cd(+r,+e);case lO:return r.name==e.name&&r.message==e.message;case fO:case hO:return r==e+"";case cO:var f=rO;case dO:var d=n&oO;if(f||(f=nO),r.size!=e.size&&!d)return!1;var h=u.get(r);if(h)return h==e;n|=iO,u.set(r,e);var x=Ox(f(r),f(e),n,o,a,u);return u.delete(r),x;case pO:if(sp)return sp.call(r)==sp.call(e)}return!1}var yO=1,bO=Object.prototype,_O=bO.hasOwnProperty;function xO(r,e,t,n,o,a){var u=t&yO,f=Z1(r),d=f.length,h=Z1(e),x=h.length;if(d!=x&&!u)return!1;for(var _=d;_--;){var v=f[_];if(!(u?v in e:_O.call(e,v)))return!1}var y=a.get(r),b=a.get(e);if(y&&b)return y==e&&b==r;var T=!0;a.set(r,e),a.set(e,r);for(var w=u;++_<d;){v=f[_];var S=r[v],E=e[v];if(n)var R=u?n(E,S,v,e,r,a):n(S,E,v,r,e,a);if(!(R===void 0?S===E||o(S,E,t,n,a):R)){T=!1;break}w||(w=v=="constructor")}if(T&&!w){var I=r.constructor,P=e.constructor;I!=P&&"constructor"in r&&"constructor"in e&&!(typeof I=="function"&&I instanceof I&&typeof P=="function"&&P instanceof P)&&(T=!1)}return a.delete(r),a.delete(e),T}var SO=1,By="[object Arguments]",Hy="[object Array]",Bd="[object Object]",CO=Object.prototype,qy=CO.hasOwnProperty;function wO(r,e,t,n,o,a){var u=tu(r),f=tu(e),d=u?Hy:Hs(r),h=f?Hy:Hs(e);d=d==By?Bd:d,h=h==By?Bd:h;var x=d==Bd,_=h==Bd,v=d==h;if(v&&rd(r)){if(!rd(e))return!1;u=!0,x=!1}if(v&&!x)return a||(a=new Ca),u||Im(r)?Ox(r,e,t,n,o,a):vO(r,e,d,t,n,o,a);if(!(t&SO)){var y=x&&qy.call(r,"__wrapped__"),b=_&&qy.call(e,"__wrapped__");if(y||b){var T=y?r.value():r,w=b?e.value():e;return a||(a=new Ca),o(T,w,t,n,a)}}return v?(a||(a=new Ca),xO(r,e,t,n,o,a)):!1}function Mx(r,e,t,n,o){return r===e?!0:r==null||e==null||!ll(r)&&!ll(e)?r!==r&&e!==e:wO(r,e,t,n,Mx,o)}function AO(r){return function(e,t,n){for(var o=-1,a=Object(e),u=n(e),f=u.length;f--;){var d=u[++o];if(t(a[d],d,a)===!1)break}return e}}var EO=AO();function J1(r,e,t){(t!==void 0&&!cd(r[e],t)||t===void 0&&!(e in r))&&Tm(r,e,t)}function TO(r){return ll(r)&&ph(r)}function Q1(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}function kO(r){return ud(r,fd(r))}function RO(r,e,t,n,o,a,u){var f=Q1(r,t),d=Q1(e,t),h=u.get(d);if(h){J1(r,t,h);return}var x=a?a(f,d,t+"",r,e,u):void 0,_=x===void 0;if(_){var v=tu(d),y=!v&&rd(d),b=!v&&!y&&Im(d);x=d,v||y||b?tu(f)?x=f:TO(f)?x=fx(f):y?(_=!1,x=Cx(d,!0)):b?(_=!1,x=Tx(d,!0)):x=[]:bI(d)||G1(d)?(x=f,G1(f)?x=kO(f):(!cc(f)||Em(f))&&(x=kx(d))):_=!1}_&&(u.set(d,x),o(x,d,n,a,u),u.delete(d)),J1(r,t,x)}function Dx(r,e,t,n,o){r!==e&&EO(e,function(a,u){if(o||(o=new Ca),cc(a))RO(r,e,u,t,Dx,n,o);else{var f=n?n(Q1(r,u),a,u+"",r,e,o):void 0;f===void 0&&(f=a),J1(r,u,f)}},fd)}function Pm(r,e){return Mx(r,e)}var oc=Q9(function(r,e,t){Dx(r,e,t)}),Jt=(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))(Jt||{});class Ea{constructor(e,t,n={}){this.attrName=e,this.keyName=t;const o=Jt.TYPE&Jt.ATTRIBUTE;this.scope=n.scope!=null?n.scope&Jt.LEVEL|o:Jt.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 Xu extends Error{constructor(e){e="[Parchment] "+e,super(e),this.message=e,this.name=this.constructor.name}}const Px=class em{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 o=this.query(t);if(o==null)throw new Xu(`Unable to create ${t} blot`);const a=o,u=t instanceof Node||t.nodeType===Node.TEXT_NODE?t:a.create(n),f=new a(e,u,n);return em.blots.set(f.domNode,f),f}find(e,t=!1){return em.find(e,t)}query(e,t=Jt.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&Jt.LEVEL&Jt.BLOCK?n=this.types.block:e&Jt.LEVEL&Jt.INLINE&&(n=this.types.inline):e instanceof Element&&((e.getAttribute("class")||"").split(/\s+/).some(o=>(n=this.classes[o],!!n)),n=n||this.tags[e.tagName]),n==null?null:"scope"in n&&t&Jt.LEVEL&n.scope&&t&Jt.TYPE&n.scope?n:null}register(...e){return e.map(t=>{const n="blotName"in t,o="attrName"in t;if(!n&&!o)throw new Xu("Invalid definition");if(n&&t.blotName==="abstract")throw new Xu("Cannot register abstract class");const a=n?t.blotName:o?t.attrName:void 0;return this.types[a]=t,o?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})}};Px.blots=new WeakMap;let rf=Px;function zy(r,e){return(r.getAttribute("class")||"").split(/\s+/).filter(t=>t.indexOf(`${e}-`)===0)}class IO extends Ea{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){zy(e,this.keyName).forEach(t=>{e.classList.remove(t)}),e.classList.length===0&&e.removeAttribute("class")}value(e){const t=(zy(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""}}const Gs=IO;function ap(r){const e=r.split("-"),t=e.slice(1).map(n=>n[0].toUpperCase()+n.slice(1)).join("");return e[0]+t}class LO extends Ea{static keys(e){return(e.getAttribute("style")||"").split(";").map(t=>t.split(":")[0].trim())}add(e,t){return this.canAdd(e,t)?(e.style[ap(this.keyName)]=t,!0):!1}remove(e){e.style[ap(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")}value(e){const t=e.style[ap(this.keyName)];return this.canAdd(e,t)?t:""}}const uc=LO;class OO{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=rf.find(this.domNode);if(e==null)return;const t=Ea.keys(this.domNode),n=Gs.keys(this.domNode),o=uc.keys(this.domNode);t.concat(n).concat(o).forEach(a=>{const u=e.scroll.query(a,Jt.ATTRIBUTE);u instanceof Ea&&(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 vh=OO,Nx=class{constructor(e,t){this.scroll=e,this.domNode=t,rf.blots.set(t,this),this.prev=null,this.next=null}static create(e){if(this.tagName==null)throw new Xu("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),rf.blots.delete(this.domNode)}deleteAt(e,t){this.isolate(e,t).remove()}formatAt(e,t,n,o){const a=this.isolate(e,t);if(this.scroll.query(n,Jt.BLOT)!=null&&o)a.wrap(n,o);else if(this.scroll.query(n,Jt.ATTRIBUTE)!=null){const u=this.scroll.create(this.statics.scope);a.wrap(u),u.format(n,o)}}insertAt(e,t,n){const o=n==null?this.scroll.create("text",t):this.scroll.create(t,n),a=this.split(e);this.parent.insertBefore(o,a||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 Xu(`Cannot wrap ${e}`);return n.appendChild(this),n}};Nx.blotName="abstract";let jx=Nx;const Fx=class extends jx{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}}};Fx.scope=Jt.INLINE_BLOT;let MO=Fx;const Uo=MO;class DO{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(),o=0;for(;n;){if(n===e)return o;o+=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 o=n();for(;o;){const a=o.length();if(e<a||t&&e===a&&(o.next==null||o.next.length()!==0))return[o,e];e-=a,o=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[o,a]=this.find(e);let u=e-a;const f=this.iterator(o);let d=f();for(;d&&u<e+t;){const h=d.length();e>u?n(d,e-u,Math.min(t,u+h-e)):n(d,0,Math.min(h,e+t-u)),u+=h,d=f()}}map(e){return this.reduce((t,n)=>(t.push(e(n)),t),[])}reduce(e,t){const n=this.iterator();let o=n();for(;o;)t=e(t,o),o=n();return t}}function $y(r,e){const t=e.find(r);if(t)return t;try{return e.create(r)}catch{const n=e.create(Jt.INLINE);return Array.from(r.childNodes).forEach(o=>{n.domNode.appendChild(o)}),r.parentNode&&r.parentNode.replaceChild(n.domNode,r),n.attach(),n}}const Bx=class ec extends jx{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,ec.uiClass&&this.uiNode.classList.add(ec.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new DO,Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode).reverse().forEach(e=>{try{const t=$y(e,this.scroll);this.insertBefore(t,this.children.head||void 0)}catch(t){if(t instanceof Xu)return;throw t}})}deleteAt(e,t){if(e===0&&t===this.length())return this.remove();this.children.forEachAt(e,t,(n,o,a)=>{n.deleteAt(o,a)})}descendant(e,t=0){const[n,o]=this.children.find(t);return e.blotName==null&&e(n)||e.blotName!=null&&n instanceof e?[n,o]:n instanceof ec?n.descendant(e,o):[null,-1]}descendants(e,t=0,n=Number.MAX_VALUE){let o=[],a=n;return this.children.forEachAt(t,n,(u,f,d)=>{(e.blotName==null&&e(u)||e.blotName!=null&&u instanceof e)&&o.push(u),u instanceof ec&&(o=o.concat(u.descendants(e,f,a))),a-=d}),o}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===Jt.BLOCK_BLOT?(t.next!=null&&this.splitAfter(t),t.prev!=null&&this.splitAfter(t.prev),t.parent.unwrap(),e=!0):t instanceof ec?t.unwrap():t.remove())})}formatAt(e,t,n,o){this.children.forEachAt(e,t,(a,u,f)=>{a.formatAt(u,f,n,o)})}insertAt(e,t,n){const[o,a]=this.children.find(e);if(o)o.insertAt(a,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,o]=this.children.find(e,t),a=[[this,e]];return n instanceof ec?a.concat(n.path(o,t)):(n!=null&&a.push([n,o]),a)}removeChild(e){this.children.remove(e)}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return n instanceof ec&&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(),(o,a,u)=>{const f=o.split(a,t);f!=null&&n.appendChild(f)}),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=[],o=[];e.forEach(a=>{a.target===this.domNode&&a.type==="childList"&&(n.push(...a.addedNodes),o.push(...a.removedNodes))}),o.forEach(a=>{if(a.parentNode!=null&&a.tagName!=="IFRAME"&&document.body.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const u=this.scroll.find(a);u!=null&&(u.domNode.parentNode==null||u.domNode.parentNode===this.domNode)&&u.detach()}),n.filter(a=>a.parentNode===this.domNode&&a!==this.uiNode).sort((a,u)=>a===u?0:a.compareDocumentPosition(u)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(a=>{let u=null;a.nextSibling!=null&&(u=this.scroll.find(a.nextSibling));const f=$y(a,this.scroll);(f.next!==u||f.next==null)&&(f.parent!=null&&f.parent.removeChild(this),this.insertBefore(f,u||void 0))}),this.enforceAllowedChildren()}};Bx.uiClass="";let PO=Bx;const Us=PO;function NO(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 qu=class zu extends Us{static create(e){return super.create(e)}static formats(e,t){const n=t.query(zu.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 vh(this.domNode)}format(e,t){if(e===this.statics.blotName&&!t)this.children.forEach(n=>{n instanceof zu||(n=n.wrap(zu.blotName,!0)),this.attributes.copy(n)}),this.unwrap();else{const n=this.scroll.query(e,Jt.INLINE);if(n==null)return;n instanceof Ea?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,o){this.formats()[n]!=null||this.scroll.query(n,Jt.ATTRIBUTE)?this.isolate(e,t).format(n,o):super.formatAt(e,t,n,o)}optimize(e){super.optimize(e);const t=this.formats();if(Object.keys(t).length===0)return this.unwrap();const n=this.next;n instanceof zu&&n.prev===this&&NO(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 zu&&this.attributes.move(n),n}};qu.allowedChildren=[qu,Uo],qu.blotName="inline",qu.scope=Jt.INLINE_BLOT,qu.tagName="SPAN";let jO=qu;const Nm=jO,$u=class tm extends Us{static create(e){return super.create(e)}static formats(e,t){const n=t.query(tm.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 vh(this.domNode)}format(e,t){const n=this.scroll.query(e,Jt.BLOCK);n!=null&&(n instanceof Ea?this.attributes.attribute(n,t):e===this.statics.blotName&&!t?this.replaceWith(tm.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,o){this.scroll.query(n,Jt.BLOCK)!=null?this.format(n,o):super.formatAt(e,t,n,o)}insertAt(e,t,n){if(n==null||this.scroll.query(t,Jt.INLINE)!=null)super.insertAt(e,t,n);else{const o=this.split(e);if(o!=null){const a=this.scroll.create(t,n);o.parent.insertBefore(a,o)}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()}};$u.blotName="block",$u.scope=Jt.BLOCK_BLOT,$u.tagName="P",$u.allowedChildren=[Nm,$u,Uo];let FO=$u;const id=FO,rm=class extends Us{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,o){super.formatAt(e,t,n,o),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())}};rm.blotName="container",rm.scope=Jt.BLOCK_BLOT;let BO=rm;const yh=BO;class HO extends Uo{static formats(e,t){}format(e,t){super.formatAt(0,this.length(),e,t)}formatAt(e,t,n,o){e===0&&t===this.length()?this.format(n,o):super.formatAt(e,t,n,o)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const $i=HO,qO={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},zO=100,Uu=class extends Us{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,qO),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=Jt.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,o){this.update(),super.formatAt(e,t,n,o)}insertAt(e,t,n){this.update(),super.insertAt(e,t,n)}optimize(e=[],t={}){super.optimize(t);const n=t.mutationsMap||new WeakMap;let o=Array.from(this.observer.takeRecords());for(;o.length>0;)e.push(o.pop());const a=(d,h=!0)=>{d==null||d===this||d.domNode.parentNode!=null&&(n.has(d.domNode)||n.set(d.domNode,[]),h&&a(d.parent))},u=d=>{n.has(d.domNode)&&(d instanceof Us&&d.children.forEach(u),n.delete(d.domNode),d.optimize(t))};let f=e;for(let d=0;f.length>0;d+=1){if(d>=zO)throw new Error("[Parchment] Maximum optimize iterations reached");for(f.forEach(h=>{const x=this.find(h.target,!0);x!=null&&(x.domNode===h.target&&(h.type==="childList"?(a(this.find(h.previousSibling,!1)),Array.from(h.addedNodes).forEach(_=>{const v=this.find(_,!1);a(v,!1),v instanceof Us&&v.children.forEach(y=>{a(y,!1)})})):h.type==="attributes"&&a(x.prev)),a(x))}),this.children.forEach(u),f=Array.from(this.observer.takeRecords()),o=f.slice();o.length>0;)e.push(o.pop())}}update(e,t={}){e=e||this.observer.takeRecords();const n=new WeakMap;e.map(o=>{const a=this.find(o.target,!0);return a==null?null:n.has(a.domNode)?(n.get(a.domNode).push(o),null):(n.set(a.domNode,[o]),a)}).forEach(o=>{o!=null&&o!==this&&n.has(o.domNode)&&o.update(n.get(o.domNode)||[],t)}),t.mutationsMap=n,n.has(this.domNode)&&super.update(n.get(this.domNode),t),this.optimize(e,t)}};Uu.blotName="scroll",Uu.defaultChild=id,Uu.allowedChildren=[id,yh],Uu.scope=Jt.BLOCK_BLOT,Uu.tagName="DIV";let $O=Uu;const jm=$O,nm=class Hx extends Uo{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 Hx&&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}};nm.blotName="text",nm.scope=Jt.INLINE_BLOT;let UO=nm;const lh=UO,WO=Object.freeze(Object.defineProperty({__proto__:null,Attributor:Ea,AttributorStore:vh,BlockBlot:id,ClassAttributor:Gs,ContainerBlot:yh,EmbedBlot:$i,InlineBlot:Nm,LeafBlot:Uo,ParentBlot:Us,Registry:rf,Scope:Jt,ScrollBlot:jm,StyleAttributor:uc,TextBlot:lh},Symbol.toStringTag,{value:"Module"}));var Hd={exports:{}},lp,Uy;function VO(){if(Uy)return lp;Uy=1;var r=-1,e=1,t=0;function n(F,W,V,ee,ue){if(F===W)return F?[[t,F]]:[];if(V!=null){var le=G(F,W,V);if(le)return le}var de=f(F,W),fe=F.substring(0,de);F=F.substring(de),W=W.substring(de),de=h(F,W);var ve=F.substring(F.length-de);F=F.substring(0,F.length-de),W=W.substring(0,W.length-de);var te=o(F,W);return fe&&te.unshift([t,fe]),ve&&te.push([t,ve]),E(te,ue),ee&&_(te),te}function o(F,W){var V;if(!F)return[[e,W]];if(!W)return[[r,F]];var ee=F.length>W.length?F:W,ue=F.length>W.length?W:F,le=ee.indexOf(ue);if(le!==-1)return V=[[e,ee.substring(0,le)],[t,ue],[e,ee.substring(le+ue.length)]],F.length>W.length&&(V[0][0]=V[2][0]=r),V;if(ue.length===1)return[[r,F],[e,W]];var de=x(F,W);if(de){var fe=de[0],ve=de[1],te=de[2],ce=de[3],pe=de[4],ye=n(fe,te),Ie=n(ve,ce);return ye.concat([[t,pe]],Ie)}return a(F,W)}function a(F,W){for(var V=F.length,ee=W.length,ue=Math.ceil((V+ee)/2),le=ue,de=2*ue,fe=new Array(de),ve=new Array(de),te=0;te<de;te++)fe[te]=-1,ve[te]=-1;fe[le+1]=0,ve[le+1]=0;for(var ce=V-ee,pe=ce%2!==0,ye=0,Ie=0,oe=0,we=0,Oe=0;Oe<ue;Oe++){for(var Ue=-Oe+ye;Ue<=Oe-Ie;Ue+=2){var We=le+Ue,Se;Ue===-Oe||Ue!==Oe&&fe[We-1]<fe[We+1]?Se=fe[We+1]:Se=fe[We-1]+1;for(var _e=Se-Ue;Se<V&&_e<ee&&F.charAt(Se)===W.charAt(_e);)Se++,_e++;if(fe[We]=Se,Se>V)Ie+=2;else if(_e>ee)ye+=2;else if(pe){var Ce=le+ce-Ue;if(Ce>=0&&Ce<de&&ve[Ce]!==-1){var Te=V-ve[Ce];if(Se>=Te)return u(F,W,Se,_e)}}}for(var Ne=-Oe+oe;Ne<=Oe-we;Ne+=2){var Ce=le+Ne,Te;Ne===-Oe||Ne!==Oe&&ve[Ce-1]<ve[Ce+1]?Te=ve[Ce+1]:Te=ve[Ce-1]+1;for(var ot=Te-Ne;Te<V&&ot<ee&&F.charAt(V-Te-1)===W.charAt(ee-ot-1);)Te++,ot++;if(ve[Ce]=Te,Te>V)we+=2;else if(ot>ee)oe+=2;else if(!pe){var We=le+ce-Ne;if(We>=0&&We<de&&fe[We]!==-1){var Se=fe[We],_e=le+Se-We;if(Te=V-Te,Se>=Te)return u(F,W,Se,_e)}}}}return[[r,F],[e,W]]}function u(F,W,V,ee){var ue=F.substring(0,V),le=W.substring(0,ee),de=F.substring(V),fe=W.substring(ee),ve=n(ue,le),te=n(de,fe);return ve.concat(te)}function f(F,W){if(!F||!W||F.charAt(0)!==W.charAt(0))return 0;for(var V=0,ee=Math.min(F.length,W.length),ue=ee,le=0;V<ue;)F.substring(le,ue)==W.substring(le,ue)?(V=ue,le=V):ee=ue,ue=Math.floor((ee-V)/2+V);return R(F.charCodeAt(ue-1))&&ue--,ue}function d(F,W){var V=F.length,ee=W.length;if(V==0||ee==0)return 0;V>ee?F=F.substring(V-ee):V<ee&&(W=W.substring(0,V));var ue=Math.min(V,ee);if(F==W)return ue;for(var le=0,de=1;;){var fe=F.substring(ue-de),ve=W.indexOf(fe);if(ve==-1)return le;de+=ve,(ve==0||F.substring(ue-de)==W.substring(0,de))&&(le=de,de++)}}function h(F,W){if(!F||!W||F.slice(-1)!==W.slice(-1))return 0;for(var V=0,ee=Math.min(F.length,W.length),ue=ee,le=0;V<ue;)F.substring(F.length-ue,F.length-le)==W.substring(W.length-ue,W.length-le)?(V=ue,le=V):ee=ue,ue=Math.floor((ee-V)/2+V);return I(F.charCodeAt(F.length-ue))&&ue--,ue}function x(F,W){var V=F.length>W.length?F:W,ee=F.length>W.length?W:F;if(V.length<4||ee.length*2<V.length)return null;function ue(Ie,oe,we){for(var Oe=Ie.substring(we,we+Math.floor(Ie.length/4)),Ue=-1,We="",Se,_e,Ce,Te;(Ue=oe.indexOf(Oe,Ue+1))!==-1;){var Ne=f(Ie.substring(we),oe.substring(Ue)),ot=h(Ie.substring(0,we),oe.substring(0,Ue));We.length<ot+Ne&&(We=oe.substring(Ue-ot,Ue)+oe.substring(Ue,Ue+Ne),Se=Ie.substring(0,we-ot),_e=Ie.substring(we+Ne),Ce=oe.substring(0,Ue-ot),Te=oe.substring(Ue+Ne))}return We.length*2>=Ie.length?[Se,_e,Ce,Te,We]:null}var le=ue(V,ee,Math.ceil(V.length/4)),de=ue(V,ee,Math.ceil(V.length/2)),fe;if(!le&&!de)return null;de?le?fe=le[4].length>de[4].length?le:de:fe=de:fe=le;var ve,te,ce,pe;F.length>W.length?(ve=fe[0],te=fe[1],ce=fe[2],pe=fe[3]):(ce=fe[0],pe=fe[1],ve=fe[2],te=fe[3]);var ye=fe[4];return[ve,te,ce,pe,ye]}function _(F){for(var W=!1,V=[],ee=0,ue=null,le=0,de=0,fe=0,ve=0,te=0;le<F.length;)F[le][0]==t?(V[ee++]=le,de=ve,fe=te,ve=0,te=0,ue=F[le][1]):(F[le][0]==e?ve+=F[le][1].length:te+=F[le][1].length,ue&&ue.length<=Math.max(de,fe)&&ue.length<=Math.max(ve,te)&&(F.splice(V[ee-1],0,[r,ue]),F[V[ee-1]+1][0]=e,ee--,ee--,le=ee>0?V[ee-1]:-1,de=0,fe=0,ve=0,te=0,ue=null,W=!0)),le++;for(W&&E(F),S(F),le=1;le<F.length;){if(F[le-1][0]==r&&F[le][0]==e){var ce=F[le-1][1],pe=F[le][1],ye=d(ce,pe),Ie=d(pe,ce);ye>=Ie?(ye>=ce.length/2||ye>=pe.length/2)&&(F.splice(le,0,[t,pe.substring(0,ye)]),F[le-1][1]=ce.substring(0,ce.length-ye),F[le+1][1]=pe.substring(ye),le++):(Ie>=ce.length/2||Ie>=pe.length/2)&&(F.splice(le,0,[t,ce.substring(0,Ie)]),F[le-1][0]=e,F[le-1][1]=pe.substring(0,pe.length-Ie),F[le+1][0]=r,F[le+1][1]=ce.substring(Ie),le++),le++}le++}}var v=/[^a-zA-Z0-9]/,y=/\s/,b=/[\r\n]/,T=/\n\r?\n$/,w=/^\r?\n\r?\n/;function S(F){function W(Ie,oe){if(!Ie||!oe)return 6;var we=Ie.charAt(Ie.length-1),Oe=oe.charAt(0),Ue=we.match(v),We=Oe.match(v),Se=Ue&&we.match(y),_e=We&&Oe.match(y),Ce=Se&&we.match(b),Te=_e&&Oe.match(b),Ne=Ce&&Ie.match(T),ot=Te&&oe.match(w);return Ne||ot?5:Ce||Te?4:Ue&&!Se&&_e?3:Se||_e?2:Ue||We?1:0}for(var V=1;V<F.length-1;){if(F[V-1][0]==t&&F[V+1][0]==t){var ee=F[V-1][1],ue=F[V][1],le=F[V+1][1],de=h(ee,ue);if(de){var fe=ue.substring(ue.length-de);ee=ee.substring(0,ee.length-de),ue=fe+ue.substring(0,ue.length-de),le=fe+le}for(var ve=ee,te=ue,ce=le,pe=W(ee,ue)+W(ue,le);ue.charAt(0)===le.charAt(0);){ee+=ue.charAt(0),ue=ue.substring(1)+le.charAt(0),le=le.substring(1);var ye=W(ee,ue)+W(ue,le);ye>=pe&&(pe=ye,ve=ee,te=ue,ce=le)}F[V-1][1]!=ve&&(ve?F[V-1][1]=ve:(F.splice(V-1,1),V--),F[V][1]=te,ce?F[V+1][1]=ce:(F.splice(V+1,1),V--))}V++}}function E(F,W){F.push([t,""]);for(var V=0,ee=0,ue=0,le="",de="",fe;V<F.length;){if(V<F.length-1&&!F[V][1]){F.splice(V,1);continue}switch(F[V][0]){case e:ue++,de+=F[V][1],V++;break;case r:ee++,le+=F[V][1],V++;break;case t:var ve=V-ue-ee-1;if(W){if(ve>=0&&j(F[ve][1])){var te=F[ve][1].slice(-1);if(F[ve][1]=F[ve][1].slice(0,-1),le=te+le,de=te+de,!F[ve][1]){F.splice(ve,1),V--;var ce=ve-1;F[ce]&&F[ce][0]===e&&(ue++,de=F[ce][1]+de,ce--),F[ce]&&F[ce][0]===r&&(ee++,le=F[ce][1]+le,ce--),ve=ce}}if(P(F[V][1])){var te=F[V][1].charAt(0);F[V][1]=F[V][1].slice(1),le+=te,de+=te}}if(V<F.length-1&&!F[V][1]){F.splice(V,1);break}if(le.length>0||de.length>0){le.length>0&&de.length>0&&(fe=f(de,le),fe!==0&&(ve>=0?F[ve][1]+=de.substring(0,fe):(F.splice(0,0,[t,de.substring(0,fe)]),V++),de=de.substring(fe),le=le.substring(fe)),fe=h(de,le),fe!==0&&(F[V][1]=de.substring(de.length-fe)+F[V][1],de=de.substring(0,de.length-fe),le=le.substring(0,le.length-fe)));var pe=ue+ee;le.length===0&&de.length===0?(F.splice(V-pe,pe),V=V-pe):le.length===0?(F.splice(V-pe,pe,[e,de]),V=V-pe+1):de.length===0?(F.splice(V-pe,pe,[r,le]),V=V-pe+1):(F.splice(V-pe,pe,[r,le],[e,de]),V=V-pe+2)}V!==0&&F[V-1][0]===t?(F[V-1][1]+=F[V][1],F.splice(V,1)):V++,ue=0,ee=0,le="",de="";break}}F[F.length-1][1]===""&&F.pop();var ye=!1;for(V=1;V<F.length-1;)F[V-1][0]===t&&F[V+1][0]===t&&(F[V][1].substring(F[V][1].length-F[V-1][1].length)===F[V-1][1]?(F[V][1]=F[V-1][1]+F[V][1].substring(0,F[V][1].length-F[V-1][1].length),F[V+1][1]=F[V-1][1]+F[V+1][1],F.splice(V-1,1),ye=!0):F[V][1].substring(0,F[V+1][1].length)==F[V+1][1]&&(F[V-1][1]+=F[V+1][1],F[V][1]=F[V][1].substring(F[V+1][1].length)+F[V+1][1],F.splice(V+1,1),ye=!0)),V++;ye&&E(F,W)}function R(F){return F>=55296&&F<=56319}function I(F){return F>=56320&&F<=57343}function P(F){return I(F.charCodeAt(0))}function j(F){return R(F.charCodeAt(F.length-1))}function q(F){for(var W=[],V=0;V<F.length;V++)F[V][1].length>0&&W.push(F[V]);return W}function $(F,W,V,ee){return j(F)||P(ee)?null:q([[t,F],[r,W],[e,V],[t,ee]])}function G(F,W,V){var ee=typeof V=="number"?{index:V,length:0}:V.oldRange,ue=typeof V=="number"?null:V.newRange,le=F.length,de=W.length;if(ee.length===0&&(ue===null||ue.length===0)){var fe=ee.index,ve=F.slice(0,fe),te=F.slice(fe),ce=ue?ue.index:null;e:{var pe=fe+de-le;if(ce!==null&&ce!==pe||pe<0||pe>de)break e;var ye=W.slice(0,pe),Ie=W.slice(pe);if(Ie!==te)break e;var oe=Math.min(fe,pe),we=ve.slice(0,oe),Oe=ye.slice(0,oe);if(we!==Oe)break e;var Ue=ve.slice(oe),We=ye.slice(oe);return $(we,Ue,We,te)}e:{if(ce!==null&&ce!==fe)break e;var Se=fe,ye=W.slice(0,Se),Ie=W.slice(Se);if(ye!==ve)break e;var _e=Math.min(le-Se,de-Se),Ce=te.slice(te.length-_e),Te=Ie.slice(Ie.length-_e);if(Ce!==Te)break e;var Ue=te.slice(0,te.length-_e),We=Ie.slice(0,Ie.length-_e);return $(ve,Ue,We,Ce)}}if(ee.length>0&&ue&&ue.length===0)e:{var we=F.slice(0,ee.index),Ce=F.slice(ee.index+ee.length),oe=we.length,_e=Ce.length;if(de<oe+_e)break e;var Oe=W.slice(0,oe),Te=W.slice(de-_e);if(we!==Oe||Ce!==Te)break e;var Ue=F.slice(oe,le-_e),We=W.slice(oe,de-_e);return $(we,Ue,We,Ce)}return null}function re(F,W,V,ee){return n(F,W,V,ee,!0)}return re.INSERT=e,re.DELETE=r,re.EQUAL=t,lp=re,lp}var $f={exports:{}};$f.exports;var Wy;function qx(){return Wy||(Wy=1,function(r,e){var t=200,n="__lodash_hash_undefined__",o=9007199254740991,a="[object Arguments]",u="[object Array]",f="[object Boolean]",d="[object Date]",h="[object Error]",x="[object Function]",_="[object GeneratorFunction]",v="[object Map]",y="[object Number]",b="[object Object]",T="[object Promise]",w="[object RegExp]",S="[object Set]",E="[object String]",R="[object Symbol]",I="[object WeakMap]",P="[object ArrayBuffer]",j="[object DataView]",q="[object Float32Array]",$="[object Float64Array]",G="[object Int8Array]",re="[object Int16Array]",F="[object Int32Array]",W="[object Uint8Array]",V="[object Uint8ClampedArray]",ee="[object Uint16Array]",ue="[object Uint32Array]",le=/[\\^$.*+?()[\]{}|]/g,de=/\w*$/,fe=/^\[object .+?Constructor\]$/,ve=/^(?:0|[1-9]\d*)$/,te={};te[a]=te[u]=te[P]=te[j]=te[f]=te[d]=te[q]=te[$]=te[G]=te[re]=te[F]=te[v]=te[y]=te[b]=te[w]=te[S]=te[E]=te[R]=te[W]=te[V]=te[ee]=te[ue]=!0,te[h]=te[x]=te[I]=!1;var ce=typeof Co=="object"&&Co&&Co.Object===Object&&Co,pe=typeof self=="object"&&self&&self.Object===Object&&self,ye=ce||pe||Function("return this")(),Ie=e&&!e.nodeType&&e,oe=Ie&&!0&&r&&!r.nodeType&&r,we=oe&&oe.exports===Ie;function Oe(D,J){return D.set(J[0],J[1]),D}function Ue(D,J){return D.add(J),D}function We(D,J){for(var me=-1,Ge=D?D.length:0;++me<Ge&&J(D[me],me,D)!==!1;);return D}function Se(D,J){for(var me=-1,Ge=J.length,Yt=D.length;++me<Ge;)D[Yt+me]=J[me];return D}function _e(D,J,me,Ge){for(var Yt=-1,Ut=D?D.length:0;++Yt<Ut;)me=J(me,D[Yt],Yt,D);return me}function Ce(D,J){for(var me=-1,Ge=Array(D);++me<D;)Ge[me]=J(me);return Ge}function Te(D,J){return D==null?void 0:D[J]}function Ne(D){var J=!1;if(D!=null&&typeof D.toString!="function")try{J=!!(D+"")}catch{}return J}function ot(D){var J=-1,me=Array(D.size);return D.forEach(function(Ge,Yt){me[++J]=[Yt,Ge]}),me}function $e(D,J){return function(me){return D(J(me))}}function tt(D){var J=-1,me=Array(D.size);return D.forEach(function(Ge){me[++J]=Ge}),me}var at=Array.prototype,De=Function.prototype,Ke=Object.prototype,yt=ye["__core-js_shared__"],_t=function(){var D=/[^.]+$/.exec(yt&&yt.keys&&yt.keys.IE_PROTO||"");return D?"Symbol(src)_1."+D:""}(),bt=De.toString,At=Ke.hasOwnProperty,qe=Ke.toString,Qe=RegExp("^"+bt.call(At).replace(le,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),St=we?ye.Buffer:void 0,Dt=ye.Symbol,Et=ye.Uint8Array,Ze=$e(Object.getPrototypeOf,Object),It=Object.create,Ot=Ke.propertyIsEnumerable,pr=at.splice,br=Object.getOwnPropertySymbols,Or=St?St.isBuffer:void 0,Ee=$e(Object.keys,Object),ae=Pt(ye,"DataView"),st=Pt(ye,"Map"),mt=Pt(ye,"Promise"),Ft=Pt(ye,"Set"),Rt=Pt(ye,"WeakMap"),Mt=Pt(Object,"create"),Qt=en(ae),qt=en(st),sr=en(mt),er=en(Ft),_r=en(Rt),fr=Dt?Dt.prototype:void 0,lt=fr?fr.valueOf:void 0;function it(D){var J=-1,me=D?D.length:0;for(this.clear();++J<me;){var Ge=D[J];this.set(Ge[0],Ge[1])}}function Fe(){this.__data__=Mt?Mt(null):{}}function ut(D){return this.has(D)&&delete this.__data__[D]}function nt(D){var J=this.__data__;if(Mt){var me=J[D];return me===n?void 0:me}return At.call(J,D)?J[D]:void 0}function $t(D){var J=this.__data__;return Mt?J[D]!==void 0:At.call(J,D)}function wr(D,J){var me=this.__data__;return me[D]=Mt&&J===void 0?n:J,this}it.prototype.clear=Fe,it.prototype.delete=ut,it.prototype.get=nt,it.prototype.has=$t,it.prototype.set=wr;function ne(D){var J=-1,me=D?D.length:0;for(this.clear();++J<me;){var Ge=D[J];this.set(Ge[0],Ge[1])}}function He(){this.__data__=[]}function xe(D){var J=this.__data__,me=Qn(J,D);if(me<0)return!1;var Ge=J.length-1;return me==Ge?J.pop():pr.call(J,me,1),!0}function Ye(D){var J=this.__data__,me=Qn(J,D);return me<0?void 0:J[me][1]}function xt(D){return Qn(this.__data__,D)>-1}function Tt(D,J){var me=this.__data__,Ge=Qn(me,D);return Ge<0?me.push([D,J]):me[Ge][1]=J,this}ne.prototype.clear=He,ne.prototype.delete=xe,ne.prototype.get=Ye,ne.prototype.has=xt,ne.prototype.set=Tt;function kt(D){var J=-1,me=D?D.length:0;for(this.clear();++J<me;){var Ge=D[J];this.set(Ge[0],Ge[1])}}function wt(){this.__data__={hash:new it,map:new(st||ne),string:new it}}function or(D){return ht(this,D).delete(D)}function Gt(D){return ht(this,D).get(D)}function rr(D){return ht(this,D).has(D)}function gr(D,J){return ht(this,D).set(D,J),this}kt.prototype.clear=wt,kt.prototype.delete=or,kt.prototype.get=Gt,kt.prototype.has=rr,kt.prototype.set=gr;function Kt(D){this.__data__=new ne(D)}function jr(){this.__data__=new ne}function zr(D){return this.__data__.delete(D)}function vn(D){return this.__data__.get(D)}function Fr(D){return this.__data__.has(D)}function kn(D,J){var me=this.__data__;if(me instanceof ne){var Ge=me.__data__;if(!st||Ge.length<t-1)return Ge.push([D,J]),this;me=this.__data__=new kt(Ge)}return me.set(D,J),this}Kt.prototype.clear=jr,Kt.prototype.delete=zr,Kt.prototype.get=vn,Kt.prototype.has=Fr,Kt.prototype.set=kn;function hn(D,J){var me=xi(D)||to(D)?Ce(D.length,String):[],Ge=me.length,Yt=!!Ge;for(var Ut in D)At.call(D,Ut)&&!(Yt&&(Ut=="length"||xn(Ut,Ge)))&&me.push(Ut);return me}function Jn(D,J,me){var Ge=D[J];(!(At.call(D,J)&&Un(Ge,me))||me===void 0&&!(J in D))&&(D[J]=me)}function Qn(D,J){for(var me=D.length;me--;)if(Un(D[me][0],J))return me;return-1}function sn(D,J){return D&&Pe(J,Pr(J),D)}function Fn(D,J,me,Ge,Yt,Ut,mr){var Cr;if(Ge&&(Cr=Ut?Ge(D,Yt,Ut,mr):Ge(D)),Cr!==void 0)return Cr;if(!no(D))return D;var dr=xi(D);if(dr){if(Cr=Sr(D),!J)return ie(D,Cr)}else{var Er=Bt(D),tn=Er==x||Er==_;if(Mn(D))return In(D,J);if(Er==b||Er==a||tn&&!Ut){if(Ne(D))return Ut?D:{};if(Cr=Jr(tn?{}:D),!J)return Re(D,sn(Cr,D))}else{if(!te[Er])return Ut?D:{};Cr=_n(D,Er,Fn,J)}}mr||(mr=new Kt);var Dn=mr.get(D);if(Dn)return Dn;if(mr.set(D,Cr),!dr)var Yr=me?Ve(D):Pr(D);return We(Yr||D,function($r,rn){Yr&&(rn=$r,$r=D[rn]),Jn(Cr,rn,Fn($r,J,me,Ge,rn,D,mr))}),Cr}function Rn(D){return no(D)?It(D):{}}function vo(D,J,me){var Ge=J(D);return xi(D)?Ge:Se(Ge,me(D))}function Ao(D){return qe.call(D)}function Eo(D){if(!no(D)||$n(D))return!1;var J=Si(D)||Ne(D)?Qe:fe;return J.test(en(D))}function On(D){if(!To(D))return Ee(D);var J=[];for(var me in Object(D))At.call(D,me)&&me!="constructor"&&J.push(me);return J}function In(D,J){if(J)return D.slice();var me=new D.constructor(D.length);return D.copy(me),me}function pn(D){var J=new D.constructor(D.byteLength);return new Et(J).set(new Et(D)),J}function eo(D,J){var me=J?pn(D.buffer):D.buffer;return new D.constructor(me,D.byteOffset,D.byteLength)}function an(D,J,me){var Ge=J?me(ot(D),!0):ot(D);return _e(Ge,Oe,new D.constructor)}function yn(D){var J=new D.constructor(D.source,de.exec(D));return J.lastIndex=D.lastIndex,J}function L(D,J,me){var Ge=J?me(tt(D),!0):tt(D);return _e(Ge,Ue,new D.constructor)}function H(D){return lt?Object(lt.call(D)):{}}function X(D,J){var me=J?pn(D.buffer):D.buffer;return new D.constructor(me,D.byteOffset,D.length)}function ie(D,J){var me=-1,Ge=D.length;for(J||(J=Array(Ge));++me<Ge;)J[me]=D[me];return J}function Pe(D,J,me,Ge){me||(me={});for(var Yt=-1,Ut=J.length;++Yt<Ut;){var mr=J[Yt],Cr=void 0;Jn(me,mr,Cr===void 0?D[mr]:Cr)}return me}function Re(D,J){return Pe(D,Ht(D),J)}function Ve(D){return vo(D,Pr,Ht)}function ht(D,J){var me=D.__data__;return uo(J)?me[typeof J=="string"?"string":"hash"]:me.map}function Pt(D,J){var me=Te(D,J);return Eo(me)?me:void 0}var Ht=br?$e(br,Object):Ar,Bt=Ao;(ae&&Bt(new ae(new ArrayBuffer(1)))!=j||st&&Bt(new st)!=v||mt&&Bt(mt.resolve())!=T||Ft&&Bt(new Ft)!=S||Rt&&Bt(new Rt)!=I)&&(Bt=function(D){var J=qe.call(D),me=J==b?D.constructor:void 0,Ge=me?en(me):void 0;if(Ge)switch(Ge){case Qt:return j;case qt:return v;case sr:return T;case er:return S;case _r:return I}return J});function Sr(D){var J=D.length,me=D.constructor(J);return J&&typeof D[0]=="string"&&At.call(D,"index")&&(me.index=D.index,me.input=D.input),me}function Jr(D){return typeof D.constructor=="function"&&!To(D)?Rn(Ze(D)):{}}function _n(D,J,me,Ge){var Yt=D.constructor;switch(J){case P:return pn(D);case f:case d:return new Yt(+D);case j:return eo(D,Ge);case q:case $:case G:case re:case F:case W:case V:case ee:case ue:return X(D,Ge);case v:return an(D,Ge,me);case y:case E:return new Yt(D);case w:return yn(D);case S:return L(D,Ge,me);case R:return H(D)}}function xn(D,J){return J=J??o,!!J&&(typeof D=="number"||ve.test(D))&&D>-1&&D%1==0&&D<J}function uo(D){var J=typeof D;return J=="string"||J=="number"||J=="symbol"||J=="boolean"?D!=="__proto__":D===null}function $n(D){return!!_t&&_t in D}function To(D){var J=D&&D.constructor,me=typeof J=="function"&&J.prototype||Ke;return D===me}function en(D){if(D!=null){try{return bt.call(D)}catch{}try{return D+""}catch{}}return""}function yo(D){return Fn(D,!0,!0)}function Un(D,J){return D===J||D!==D&&J!==J}function to(D){return si(D)&&At.call(D,"callee")&&(!Ot.call(D,"callee")||qe.call(D)==a)}var xi=Array.isArray;function ii(D){return D!=null&&ro(D.length)&&!Si(D)}function si(D){return Vo(D)&&ii(D)}var Mn=Or||Mr;function Si(D){var J=no(D)?qe.call(D):"";return J==x||J==_}function ro(D){return typeof D=="number"&&D>-1&&D%1==0&&D<=o}function no(D){var J=typeof D;return!!D&&(J=="object"||J=="function")}function Vo(D){return!!D&&typeof D=="object"}function Pr(D){return ii(D)?hn(D):On(D)}function Ar(){return[]}function Mr(){return!1}r.exports=yo}($f,$f.exports)),$f.exports}var Uf={exports:{}};Uf.exports;var Vy;function zx(){return Vy||(Vy=1,function(r,e){var t=200,n="__lodash_hash_undefined__",o=1,a=2,u=9007199254740991,f="[object Arguments]",d="[object Array]",h="[object AsyncFunction]",x="[object Boolean]",_="[object Date]",v="[object Error]",y="[object Function]",b="[object GeneratorFunction]",T="[object Map]",w="[object Number]",S="[object Null]",E="[object Object]",R="[object Promise]",I="[object Proxy]",P="[object RegExp]",j="[object Set]",q="[object String]",$="[object Symbol]",G="[object Undefined]",re="[object WeakMap]",F="[object ArrayBuffer]",W="[object DataView]",V="[object Float32Array]",ee="[object Float64Array]",ue="[object Int8Array]",le="[object Int16Array]",de="[object Int32Array]",fe="[object Uint8Array]",ve="[object Uint8ClampedArray]",te="[object Uint16Array]",ce="[object Uint32Array]",pe=/[\\^$.*+?()[\]{}|]/g,ye=/^\[object .+?Constructor\]$/,Ie=/^(?:0|[1-9]\d*)$/,oe={};oe[V]=oe[ee]=oe[ue]=oe[le]=oe[de]=oe[fe]=oe[ve]=oe[te]=oe[ce]=!0,oe[f]=oe[d]=oe[F]=oe[x]=oe[W]=oe[_]=oe[v]=oe[y]=oe[T]=oe[w]=oe[E]=oe[P]=oe[j]=oe[q]=oe[re]=!1;var we=typeof Co=="object"&&Co&&Co.Object===Object&&Co,Oe=typeof self=="object"&&self&&self.Object===Object&&self,Ue=we||Oe||Function("return this")(),We=e&&!e.nodeType&&e,Se=We&&!0&&r&&!r.nodeType&&r,_e=Se&&Se.exports===We,Ce=_e&&we.process,Te=function(){try{return Ce&&Ce.binding&&Ce.binding("util")}catch{}}(),Ne=Te&&Te.isTypedArray;function ot(D,J){for(var me=-1,Ge=D==null?0:D.length,Yt=0,Ut=[];++me<Ge;){var mr=D[me];J(mr,me,D)&&(Ut[Yt++]=mr)}return Ut}function $e(D,J){for(var me=-1,Ge=J.length,Yt=D.length;++me<Ge;)D[Yt+me]=J[me];return D}function tt(D,J){for(var me=-1,Ge=D==null?0:D.length;++me<Ge;)if(J(D[me],me,D))return!0;return!1}function at(D,J){for(var me=-1,Ge=Array(D);++me<D;)Ge[me]=J(me);return Ge}function De(D){return function(J){return D(J)}}function Ke(D,J){return D.has(J)}function yt(D,J){return D==null?void 0:D[J]}function _t(D){var J=-1,me=Array(D.size);return D.forEach(function(Ge,Yt){me[++J]=[Yt,Ge]}),me}function bt(D,J){return function(me){return D(J(me))}}function At(D){var J=-1,me=Array(D.size);return D.forEach(function(Ge){me[++J]=Ge}),me}var qe=Array.prototype,Qe=Function.prototype,St=Object.prototype,Dt=Ue["__core-js_shared__"],Et=Qe.toString,Ze=St.hasOwnProperty,It=function(){var D=/[^.]+$/.exec(Dt&&Dt.keys&&Dt.keys.IE_PROTO||"");return D?"Symbol(src)_1."+D:""}(),Ot=St.toString,pr=RegExp("^"+Et.call(Ze).replace(pe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),br=_e?Ue.Buffer:void 0,Or=Ue.Symbol,Ee=Ue.Uint8Array,ae=St.propertyIsEnumerable,st=qe.splice,mt=Or?Or.toStringTag:void 0,Ft=Object.getOwnPropertySymbols,Rt=br?br.isBuffer:void 0,Mt=bt(Object.keys,Object),Qt=Ht(Ue,"DataView"),qt=Ht(Ue,"Map"),sr=Ht(Ue,"Promise"),er=Ht(Ue,"Set"),_r=Ht(Ue,"WeakMap"),fr=Ht(Object,"create"),lt=en(Qt),it=en(qt),Fe=en(sr),ut=en(er),nt=en(_r),$t=Or?Or.prototype:void 0,wr=$t?$t.valueOf:void 0;function ne(D){var J=-1,me=D==null?0:D.length;for(this.clear();++J<me;){var Ge=D[J];this.set(Ge[0],Ge[1])}}function He(){this.__data__=fr?fr(null):{},this.size=0}function xe(D){var J=this.has(D)&&delete this.__data__[D];return this.size-=J?1:0,J}function Ye(D){var J=this.__data__;if(fr){var me=J[D];return me===n?void 0:me}return Ze.call(J,D)?J[D]:void 0}function xt(D){var J=this.__data__;return fr?J[D]!==void 0:Ze.call(J,D)}function Tt(D,J){var me=this.__data__;return this.size+=this.has(D)?0:1,me[D]=fr&&J===void 0?n:J,this}ne.prototype.clear=He,ne.prototype.delete=xe,ne.prototype.get=Ye,ne.prototype.has=xt,ne.prototype.set=Tt;function kt(D){var J=-1,me=D==null?0:D.length;for(this.clear();++J<me;){var Ge=D[J];this.set(Ge[0],Ge[1])}}function wt(){this.__data__=[],this.size=0}function or(D){var J=this.__data__,me=In(J,D);if(me<0)return!1;var Ge=J.length-1;return me==Ge?J.pop():st.call(J,me,1),--this.size,!0}function Gt(D){var J=this.__data__,me=In(J,D);return me<0?void 0:J[me][1]}function rr(D){return In(this.__data__,D)>-1}function gr(D,J){var me=this.__data__,Ge=In(me,D);return Ge<0?(++this.size,me.push([D,J])):me[Ge][1]=J,this}kt.prototype.clear=wt,kt.prototype.delete=or,kt.prototype.get=Gt,kt.prototype.has=rr,kt.prototype.set=gr;function Kt(D){var J=-1,me=D==null?0:D.length;for(this.clear();++J<me;){var Ge=D[J];this.set(Ge[0],Ge[1])}}function jr(){this.size=0,this.__data__={hash:new ne,map:new(qt||kt),string:new ne}}function zr(D){var J=Pt(this,D).delete(D);return this.size-=J?1:0,J}function vn(D){return Pt(this,D).get(D)}function Fr(D){return Pt(this,D).has(D)}function kn(D,J){var me=Pt(this,D),Ge=me.size;return me.set(D,J),this.size+=me.size==Ge?0:1,this}Kt.prototype.clear=jr,Kt.prototype.delete=zr,Kt.prototype.get=vn,Kt.prototype.has=Fr,Kt.prototype.set=kn;function hn(D){var J=-1,me=D==null?0:D.length;for(this.__data__=new Kt;++J<me;)this.add(D[J])}function Jn(D){return this.__data__.set(D,n),this}function Qn(D){return this.__data__.has(D)}hn.prototype.add=hn.prototype.push=Jn,hn.prototype.has=Qn;function sn(D){var J=this.__data__=new kt(D);this.size=J.size}function Fn(){this.__data__=new kt,this.size=0}function Rn(D){var J=this.__data__,me=J.delete(D);return this.size=J.size,me}function vo(D){return this.__data__.get(D)}function Ao(D){return this.__data__.has(D)}function Eo(D,J){var me=this.__data__;if(me instanceof kt){var Ge=me.__data__;if(!qt||Ge.length<t-1)return Ge.push([D,J]),this.size=++me.size,this;me=this.__data__=new Kt(Ge)}return me.set(D,J),this.size=me.size,this}sn.prototype.clear=Fn,sn.prototype.delete=Rn,sn.prototype.get=vo,sn.prototype.has=Ao,sn.prototype.set=Eo;function On(D,J){var me=to(D),Ge=!me&&Un(D),Yt=!me&&!Ge&&ii(D),Ut=!me&&!Ge&&!Yt&&Vo(D),mr=me||Ge||Yt||Ut,Cr=mr?at(D.length,String):[],dr=Cr.length;for(var Er in D)Ze.call(D,Er)&&!(mr&&(Er=="length"||Yt&&(Er=="offset"||Er=="parent")||Ut&&(Er=="buffer"||Er=="byteLength"||Er=="byteOffset")||_n(Er,dr)))&&Cr.push(Er);return Cr}function In(D,J){for(var me=D.length;me--;)if(yo(D[me][0],J))return me;return-1}function pn(D,J,me){var Ge=J(D);return to(D)?Ge:$e(Ge,me(D))}function eo(D){return D==null?D===void 0?G:S:mt&&mt in Object(D)?Bt(D):To(D)}function an(D){return no(D)&&eo(D)==f}function yn(D,J,me,Ge,Yt){return D===J?!0:D==null||J==null||!no(D)&&!no(J)?D!==D&&J!==J:L(D,J,me,Ge,yn,Yt)}function L(D,J,me,Ge,Yt,Ut){var mr=to(D),Cr=to(J),dr=mr?d:Jr(D),Er=Cr?d:Jr(J);dr=dr==f?E:dr,Er=Er==f?E:Er;var tn=dr==E,Dn=Er==E,Yr=dr==Er;if(Yr&&ii(D)){if(!ii(J))return!1;mr=!0,tn=!1}if(Yr&&!tn)return Ut||(Ut=new sn),mr||Vo(D)?Pe(D,J,me,Ge,Yt,Ut):Re(D,J,dr,me,Ge,Yt,Ut);if(!(me&o)){var $r=tn&&Ze.call(D,"__wrapped__"),rn=Dn&&Ze.call(J,"__wrapped__");if($r||rn){var fo=$r?D.value():D,bo=rn?J.value():J;return Ut||(Ut=new sn),Yt(fo,bo,me,Ge,Ut)}}return Yr?(Ut||(Ut=new sn),Ve(D,J,me,Ge,Yt,Ut)):!1}function H(D){if(!ro(D)||uo(D))return!1;var J=Mn(D)?pr:ye;return J.test(en(D))}function X(D){return no(D)&&Si(D.length)&&!!oe[eo(D)]}function ie(D){if(!$n(D))return Mt(D);var J=[];for(var me in Object(D))Ze.call(D,me)&&me!="constructor"&&J.push(me);return J}function Pe(D,J,me,Ge,Yt,Ut){var mr=me&o,Cr=D.length,dr=J.length;if(Cr!=dr&&!(mr&&dr>Cr))return!1;var Er=Ut.get(D);if(Er&&Ut.get(J))return Er==J;var tn=-1,Dn=!0,Yr=me&a?new hn:void 0;for(Ut.set(D,J),Ut.set(J,D);++tn<Cr;){var $r=D[tn],rn=J[tn];if(Ge)var fo=mr?Ge(rn,$r,tn,J,D,Ut):Ge($r,rn,tn,D,J,Ut);if(fo!==void 0){if(fo)continue;Dn=!1;break}if(Yr){if(!tt(J,function(bo,Wn){if(!Ke(Yr,Wn)&&($r===bo||Yt($r,bo,me,Ge,Ut)))return Yr.push(Wn)})){Dn=!1;break}}else if(!($r===rn||Yt($r,rn,me,Ge,Ut))){Dn=!1;break}}return Ut.delete(D),Ut.delete(J),Dn}function Re(D,J,me,Ge,Yt,Ut,mr){switch(me){case W:if(D.byteLength!=J.byteLength||D.byteOffset!=J.byteOffset)return!1;D=D.buffer,J=J.buffer;case F:return!(D.byteLength!=J.byteLength||!Ut(new Ee(D),new Ee(J)));case x:case _:case w:return yo(+D,+J);case v:return D.name==J.name&&D.message==J.message;case P:case q:return D==J+"";case T:var Cr=_t;case j:var dr=Ge&o;if(Cr||(Cr=At),D.size!=J.size&&!dr)return!1;var Er=mr.get(D);if(Er)return Er==J;Ge|=a,mr.set(D,J);var tn=Pe(Cr(D),Cr(J),Ge,Yt,Ut,mr);return mr.delete(D),tn;case $:if(wr)return wr.call(D)==wr.call(J)}return!1}function Ve(D,J,me,Ge,Yt,Ut){var mr=me&o,Cr=ht(D),dr=Cr.length,Er=ht(J),tn=Er.length;if(dr!=tn&&!mr)return!1;for(var Dn=dr;Dn--;){var Yr=Cr[Dn];if(!(mr?Yr in J:Ze.call(J,Yr)))return!1}var $r=Ut.get(D);if($r&&Ut.get(J))return $r==J;var rn=!0;Ut.set(D,J),Ut.set(J,D);for(var fo=mr;++Dn<dr;){Yr=Cr[Dn];var bo=D[Yr],Wn=J[Yr];if(Ge)var Ci=mr?Ge(Wn,bo,Yr,J,D,Ut):Ge(bo,Wn,Yr,D,J,Ut);if(!(Ci===void 0?bo===Wn||Yt(bo,Wn,me,Ge,Ut):Ci)){rn=!1;break}fo||(fo=Yr=="constructor")}if(rn&&!fo){var Go=D.constructor,ln=J.constructor;Go!=ln&&"constructor"in D&&"constructor"in J&&!(typeof Go=="function"&&Go instanceof Go&&typeof ln=="function"&&ln instanceof ln)&&(rn=!1)}return Ut.delete(D),Ut.delete(J),rn}function ht(D){return pn(D,Pr,Sr)}function Pt(D,J){var me=D.__data__;return xn(J)?me[typeof J=="string"?"string":"hash"]:me.map}function Ht(D,J){var me=yt(D,J);return H(me)?me:void 0}function Bt(D){var J=Ze.call(D,mt),me=D[mt];try{D[mt]=void 0;var Ge=!0}catch{}var Yt=Ot.call(D);return Ge&&(J?D[mt]=me:delete D[mt]),Yt}var Sr=Ft?function(D){return D==null?[]:(D=Object(D),ot(Ft(D),function(J){return ae.call(D,J)}))}:Ar,Jr=eo;(Qt&&Jr(new Qt(new ArrayBuffer(1)))!=W||qt&&Jr(new qt)!=T||sr&&Jr(sr.resolve())!=R||er&&Jr(new er)!=j||_r&&Jr(new _r)!=re)&&(Jr=function(D){var J=eo(D),me=J==E?D.constructor:void 0,Ge=me?en(me):"";if(Ge)switch(Ge){case lt:return W;case it:return T;case Fe:return R;case ut:return j;case nt:return re}return J});function _n(D,J){return J=J??u,!!J&&(typeof D=="number"||Ie.test(D))&&D>-1&&D%1==0&&D<J}function xn(D){var J=typeof D;return J=="string"||J=="number"||J=="symbol"||J=="boolean"?D!=="__proto__":D===null}function uo(D){return!!It&&It in D}function $n(D){var J=D&&D.constructor,me=typeof J=="function"&&J.prototype||St;return D===me}function To(D){return Ot.call(D)}function en(D){if(D!=null){try{return Et.call(D)}catch{}try{return D+""}catch{}}return""}function yo(D,J){return D===J||D!==D&&J!==J}var Un=an(function(){return arguments}())?an:function(D){return no(D)&&Ze.call(D,"callee")&&!ae.call(D,"callee")},to=Array.isArray;function xi(D){return D!=null&&Si(D.length)&&!Mn(D)}var ii=Rt||Mr;function si(D,J){return yn(D,J)}function Mn(D){if(!ro(D))return!1;var J=eo(D);return J==y||J==b||J==h||J==I}function Si(D){return typeof D=="number"&&D>-1&&D%1==0&&D<=u}function ro(D){var J=typeof D;return D!=null&&(J=="object"||J=="function")}function no(D){return D!=null&&typeof D=="object"}var Vo=Ne?De(Ne):X;function Pr(D){return xi(D)?On(D):ie(D)}function Ar(){return[]}function Mr(){return!1}r.exports=si}(Uf,Uf.exports)),Uf.exports}var qd={},Gy;function GO(){if(Gy)return qd;Gy=1,Object.defineProperty(qd,"__esModule",{value:!0});const r=qx(),e=zx();var t;return function(n){function o(d={},h={},x=!1){typeof d!="object"&&(d={}),typeof h!="object"&&(h={});let _=r(h);x||(_=Object.keys(_).reduce((v,y)=>(_[y]!=null&&(v[y]=_[y]),v),{}));for(const v in d)d[v]!==void 0&&h[v]===void 0&&(_[v]=d[v]);return Object.keys(_).length>0?_:void 0}n.compose=o;function a(d={},h={}){typeof d!="object"&&(d={}),typeof h!="object"&&(h={});const x=Object.keys(d).concat(Object.keys(h)).reduce((_,v)=>(e(d[v],h[v])||(_[v]=h[v]===void 0?null:h[v]),_),{});return Object.keys(x).length>0?x:void 0}n.diff=a;function u(d={},h={}){d=d||{};const x=Object.keys(h).reduce((_,v)=>(h[v]!==d[v]&&d[v]!==void 0&&(_[v]=h[v]),_),{});return Object.keys(d).reduce((_,v)=>(d[v]!==h[v]&&h[v]===void 0&&(_[v]=null),_),x)}n.invert=u;function f(d,h,x=!1){if(typeof d!="object")return h;if(typeof h!="object")return;if(!x)return h;const _=Object.keys(h).reduce((v,y)=>(d[y]===void 0&&(v[y]=h[y]),v),{});return Object.keys(_).length>0?_:void 0}n.transform=f}(t||(t={})),qd.default=t,qd}var zd={},Zy;function $x(){if(Zy)return zd;Zy=1,Object.defineProperty(zd,"__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={})),zd.default=r,zd}var $d={},Ky;function ZO(){if(Ky)return $d;Ky=1,Object.defineProperty($d,"__esModule",{value:!0});const r=$x();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 o=this.ops[this.index];if(o){const a=this.offset,u=r.default.length(o);if(n>=u-a?(n=u-a,this.index+=1,this.offset=0):this.offset+=n,typeof o.delete=="number")return{delete:n};{const f={};return o.attributes&&(f.attributes=o.attributes),typeof o.retain=="number"?f.retain=n:typeof o.retain=="object"&&o.retain!==null?f.retain=o.retain:typeof o.insert=="string"?f.insert=o.insert.substr(a,n):f.insert=o.insert,f}}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,o=this.index,a=this.next(),u=this.ops.slice(this.index);return this.offset=n,this.index=o,[a].concat(u)}}else return[]}}return $d.default=e,$d}var Yy;function KO(){return Yy||(Yy=1,function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.AttributeMap=e.OpIterator=e.Op=void 0;const t=VO(),n=qx(),o=zx(),a=GO();e.AttributeMap=a.default;const u=$x();e.Op=u.default;const f=ZO();e.OpIterator=f.default;const d="\0",h=(_,v)=>{if(typeof _!="object"||_===null)throw new Error(`cannot retain a ${typeof _}`);if(typeof v!="object"||v===null)throw new Error(`cannot retain a ${typeof v}`);const y=Object.keys(_)[0];if(!y||y!==Object.keys(v)[0])throw new Error(`embed types not matched: ${y} != ${Object.keys(v)[0]}`);return[y,_[y],v[y]]};class x{constructor(v){Array.isArray(v)?this.ops=v:v!=null&&Array.isArray(v.ops)?this.ops=v.ops:this.ops=[]}static registerEmbed(v,y){this.handlers[v]=y}static unregisterEmbed(v){delete this.handlers[v]}static getHandler(v){const y=this.handlers[v];if(!y)throw new Error(`no handlers for embed type "${v}"`);return y}insert(v,y){const b={};return typeof v=="string"&&v.length===0?this:(b.insert=v,y!=null&&typeof y=="object"&&Object.keys(y).length>0&&(b.attributes=y),this.push(b))}delete(v){return v<=0?this:this.push({delete:v})}retain(v,y){if(typeof v=="number"&&v<=0)return this;const b={retain:v};return y!=null&&typeof y=="object"&&Object.keys(y).length>0&&(b.attributes=y),this.push(b)}push(v){let y=this.ops.length,b=this.ops[y-1];if(v=n(v),typeof b=="object"){if(typeof v.delete=="number"&&typeof b.delete=="number")return this.ops[y-1]={delete:b.delete+v.delete},this;if(typeof b.delete=="number"&&v.insert!=null&&(y-=1,b=this.ops[y-1],typeof b!="object"))return this.ops.unshift(v),this;if(o(v.attributes,b.attributes)){if(typeof v.insert=="string"&&typeof b.insert=="string")return this.ops[y-1]={insert:b.insert+v.insert},typeof v.attributes=="object"&&(this.ops[y-1].attributes=v.attributes),this;if(typeof v.retain=="number"&&typeof b.retain=="number")return this.ops[y-1]={retain:b.retain+v.retain},typeof v.attributes=="object"&&(this.ops[y-1].attributes=v.attributes),this}}return y===this.ops.length?this.ops.push(v):this.ops.splice(y,0,v),this}chop(){const v=this.ops[this.ops.length-1];return v&&typeof v.retain=="number"&&!v.attributes&&this.ops.pop(),this}filter(v){return this.ops.filter(v)}forEach(v){this.ops.forEach(v)}map(v){return this.ops.map(v)}partition(v){const y=[],b=[];return this.forEach(T=>{(v(T)?y:b).push(T)}),[y,b]}reduce(v,y){return this.ops.reduce(v,y)}changeLength(){return this.reduce((v,y)=>y.insert?v+u.default.length(y):y.delete?v-y.delete:v,0)}length(){return this.reduce((v,y)=>v+u.default.length(y),0)}slice(v=0,y=1/0){const b=[],T=new f.default(this.ops);let w=0;for(;w<y&&T.hasNext();){let S;w<v?S=T.next(v-w):(S=T.next(y-w),b.push(S)),w+=u.default.length(S)}return new x(b)}compose(v){const y=new f.default(this.ops),b=new f.default(v.ops),T=[],w=b.peek();if(w!=null&&typeof w.retain=="number"&&w.attributes==null){let E=w.retain;for(;y.peekType()==="insert"&&y.peekLength()<=E;)E-=y.peekLength(),T.push(y.next());w.retain-E>0&&b.next(w.retain-E)}const S=new x(T);for(;y.hasNext()||b.hasNext();)if(b.peekType()==="insert")S.push(b.next());else if(y.peekType()==="delete")S.push(y.next());else{const E=Math.min(y.peekLength(),b.peekLength()),R=y.next(E),I=b.next(E);if(I.retain){const P={};if(typeof R.retain=="number")P.retain=typeof I.retain=="number"?E:I.retain;else if(typeof I.retain=="number")R.retain==null?P.insert=R.insert:P.retain=R.retain;else{const q=R.retain==null?"insert":"retain",[$,G,re]=h(R[q],I.retain),F=x.getHandler($);P[q]={[$]:F.compose(G,re,q==="retain")}}const j=a.default.compose(R.attributes,I.attributes,typeof R.retain=="number");if(j&&(P.attributes=j),S.push(P),!b.hasNext()&&o(S.ops[S.ops.length-1],P)){const q=new x(y.rest());return S.concat(q).chop()}}else typeof I.delete=="number"&&(typeof R.retain=="number"||typeof R.retain=="object"&&R.retain!==null)&&S.push(I)}return S.chop()}concat(v){const y=new x(this.ops.slice());return v.ops.length>0&&(y.push(v.ops[0]),y.ops=y.ops.concat(v.ops.slice(1))),y}diff(v,y){if(this.ops===v.ops)return new x;const b=[this,v].map(R=>R.map(I=>{if(I.insert!=null)return typeof I.insert=="string"?I.insert:d;const P=R===v?"on":"with";throw new Error("diff() called "+P+" non-document")}).join("")),T=new x,w=t(b[0],b[1],y,!0),S=new f.default(this.ops),E=new f.default(v.ops);return w.forEach(R=>{let I=R[1].length;for(;I>0;){let P=0;switch(R[0]){case t.INSERT:P=Math.min(E.peekLength(),I),T.push(E.next(P));break;case t.DELETE:P=Math.min(I,S.peekLength()),S.next(P),T.delete(P);break;case t.EQUAL:P=Math.min(S.peekLength(),E.peekLength(),I);const j=S.next(P),q=E.next(P);o(j.insert,q.insert)?T.retain(P,a.default.diff(j.attributes,q.attributes)):T.push(q).delete(P);break}I-=P}}),T.chop()}eachLine(v,y=`
|
163
|
-
`){const b=new f.default(this.ops);let T=new x,w=0;for(;b.hasNext();){if(b.peekType()!=="insert")return;const S=b.peek(),E=u.default.length(S)-b.peekLength(),R=typeof S.insert=="string"?S.insert.indexOf(y,E)-E:-1;if(R<0)T.push(b.next());else if(R>0)T.push(b.next(R));else{if(v(T,b.next(1).attributes||{},w)===!1)return;w+=1,T=new x}}T.length()>0&&v(T,{},w)}invert(v){const y=new x;return this.reduce((b,T)=>{if(T.insert)y.delete(u.default.length(T));else{if(typeof T.retain=="number"&&T.attributes==null)return y.retain(T.retain),b+T.retain;if(T.delete||typeof T.retain=="number"){const w=T.delete||T.retain;return v.slice(b,b+w).forEach(E=>{T.delete?y.push(E):T.retain&&T.attributes&&y.retain(u.default.length(E),a.default.invert(T.attributes,E.attributes))}),b+w}else if(typeof T.retain=="object"&&T.retain!==null){const w=v.slice(b,b+1),S=new f.default(w.ops).next(),[E,R,I]=h(T.retain,S.insert),P=x.getHandler(E);return y.retain({[E]:P.invert(R,I)},a.default.invert(T.attributes,S.attributes)),b+1}}return b},0),y.chop()}transform(v,y=!1){if(y=!!y,typeof v=="number")return this.transformPosition(v,y);const b=v,T=new f.default(this.ops),w=new f.default(b.ops),S=new x;for(;T.hasNext()||w.hasNext();)if(T.peekType()==="insert"&&(y||w.peekType()!=="insert"))S.retain(u.default.length(T.next()));else if(w.peekType()==="insert")S.push(w.next());else{const E=Math.min(T.peekLength(),w.peekLength()),R=T.next(E),I=w.next(E);if(R.delete)continue;if(I.delete)S.push(I);else{const P=R.retain,j=I.retain;let q=typeof j=="object"&&j!==null?j:E;if(typeof P=="object"&&P!==null&&typeof j=="object"&&j!==null){const $=Object.keys(P)[0];if($===Object.keys(j)[0]){const G=x.getHandler($);G&&(q={[$]:G.transform(P[$],j[$],y)})}}S.retain(q,a.default.transform(R.attributes,I.attributes,y))}}return S.chop()}transformPosition(v,y=!1){y=!!y;const b=new f.default(this.ops);let T=0;for(;b.hasNext()&&T<=v;){const w=b.peekLength(),S=b.peekType();if(b.next(),S==="delete"){v-=Math.min(w,v-T);continue}else S==="insert"&&(T<v||!y)&&(v+=w);T+=w}return v}}x.Op=u.default,x.OpIterator=f.default,x.AttributeMap=a.default,x.handlers={},e.default=x,r.exports=x,r.exports.default=x}(Hd,Hd.exports)),Hd.exports}var gs=KO();const Wt=ka(gs);class Zs extends
|
164
|
-
`),u=a.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 f=this;a.reduce((d,h)=>(f=f.split(d,!0),f.insertAt(0,h),h.length),t+u.length)}insertBefore(t,n){const{head:o}=this.children;super.insertBefore(t,n),o instanceof Zs&&o.remove(),this.cache={}}length(){return this.cache.length==null&&(this.cache.length=super.length()+Xy),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()-Xy)){const a=this.clone();return t===0?(this.parent.insertBefore(a,this),this):(this.parent.insertBefore(a,this.next),a)}const o=super.split(t,n);return this.cache={},o}}qo.blotName="block";qo.tagName="P";qo.defaultChild=Zs;qo.allowedChildren=[Zs,Ta
|
160
|
+
`+qe:""}`)}Ke.length>0&&j([...P||[],...Ke])}},[j,ve,h,d,I,P,b]),Ue=k.useCallback(()=>{var De;return(De=ue.current)==null?void 0:De.click()},[]),We=k.useCallback(De=>{const Ke=De.target.files;Ke!=null&&Ke.length&&(Oe(Ke),oe())},[Oe,oe]),Se=k.useCallback(De=>{if(_==null||_(De),!j||!P)return;const Ke=de(De),yt=P.filter(bt=>de(bt)!==Ke);j(yt),oe()},[_,j,P,oe,de]),_e=k.useCallback(()=>{j&&(j([]),oe())},[j,oe]),Ce=k.useCallback(De=>{if(!x)return Promise.resolve();const Ke=de(De);return ee.current[Ke]==="Loading"?Promise.resolve():(te(Ke,"Loading"),new Promise(yt=>{x(De,bt=>{te(Ke,bt),yt()})}))},[x,de,te]),Te=k.useCallback(async()=>{if(P!=null&&P.length){if(re){const De={...ee.current};P.forEach(Ke=>{De[de(Ke)]="Loading"}),ee.current=De,re(De)}for(const De of P){if(!x)continue;const Ke=de(De);await new Promise(yt=>{x(De,bt=>{if(re){const _t={...ee.current};_t[Ke]=bt,ee.current=_t,re(_t)}yt()})})}}},[P,de,x,re]),Ne=k.useMemo(()=>{const De=Ke=>(Ke.preventDefault(),Ke.stopPropagation(),Ke);return{onDragEnter:Ke=>{De(Ke),!q&&!w&&W(!0)},onDragOver:Ke=>{De(Ke),!q&&!w&&Ke.dataTransfer&&(Ke.dataTransfer.dropEffect="copy")},onDragLeave:Ke=>{var bt;De(Ke);const yt=(bt=le.current)==null?void 0:bt.contains(Ke.relatedTarget);(!Ke.relatedTarget||!yt)&&W(!1)},onDrop:Ke=>{var yt;De(Ke),W(!1),!q&&!w&&((yt=Ke.dataTransfer.files)!=null&&yt.length)&&Oe(Ke.dataTransfer.files)}}},[q,w,Oe]),ot=k.useMemo(()=>{const De=Be.clsx(jn.ButtonRenderer,"NoSelect");return{upload:Ke=>C.jsx(mo,{className:De,icon:"X",iconSize:"sm",style:{color:"var(--label-neutral)"},tooltip:I.Delete,type:"Raw",onClick:()=>Se(Ke)}),loading:()=>C.jsx(mo,{className:De,icon:"Spinner",iconSize:"sm",type:"Raw"}),error:Ke=>C.jsx(Rk,{baseClass:De,errorClass:jn.ErrorColor,errorCursorClass:jn.ErrorCursor,file:Ke,resources:I,onDownload:Ce}),download:Ke=>C.jsx(mo,{className:De,icon:"FileDownload",iconSize:"sm",style:{color:"var(--acent-brand)"},tooltip:I.Download,type:"Raw",onClick:()=>Ce(Ke)})}},[I,Se,Ce]),$e=k.useCallback((De,Ke)=>{const yt=pe(De),bt=ye(De),_t=()=>v==="Upload"?ot.upload(De):yt?ot.loading():bt?ot.error(De):ot.download(De);return C.jsx(_m,{ButtonRenderer:_t,className:Be.clsx(jn.FileChip,bt&&jn.ErrorBorder),label:C.jsx("div",{className:jn.FileChipContent,children:C.jsxs(En,{className:jn.FileNameContainer,children:[C.jsx(Aa,{children:De.name,className:Be.clsx(bt&&jn.ErrorColor)}),C.jsx("span",{children:eu(De.size),className:jn.FileSize})]})})},Ke)},[pe,ye,v,ot]),tt=k.useCallback(()=>C.jsx("div",{className:Be.clsx(jn.FileBox,q&&jn.ErrorBorder,q&&jn.ErrorColor,q&&jn.ErrorCursor,we&&jn.Disabled),...Ne,ref:le,children:F?C.jsxs(En,{className:Be.clsx("NoSelect"),style:{gap:4},children:[C.jsx(Nr,{icon:"FileDownload"}),C.jsx("span",{children:I["Drop file to select"]})]}):C.jsxs(Ho,{className:Be.clsx(jn.SelectRenderer,"NoSelect"),isDisabled:q||w||we,type:"Raw",onClick:Ue,children:[I["Insert File"],b&&` ${(P==null?void 0:P.length)||0} / ${b}`]})}),[q,F,I,Ue,w,Ne,P,b,we]),at=k.useMemo(()=>{const De=v==="Upload",Ke=De?I["Delete All"]:I["Download All"],yt=De?_e:Te;return C.jsxs(En,{className:jn.LabelContainer,children:[t,v==="Upload"&&C.jsxs(Aa,{className:Be.clsx(jn.TotalFileSize,"NoSelect"),children:["(",C.jsx("span",{className:Be.clsx(q&&jn.ErrorColor),children:eu(fe)})," / ",eu(y),")"]}),C.jsx("span",{children:Ke,className:Be.clsx(jn.LabelButton,"Label1",Ie&&jn.Disabled,De&&jn.Delete),onClick:Ie?void 0:yt})]})},[v,I,_e,Te,t,q,fe,y,Ie]);return v==="Download"&&!(P!=null&&P.length)?null:C.jsxs(ic,{errorMessage:u,helperText:e,label:at,labelProps:n,wrapProps:o,wrapType:a,children:[C.jsx("input",{ref:ue,multiple:!0,accept:d||"",style:{display:"none"},type:"file",onChange:We}),C.jsx(Zr,{...R,className:Be.clsx(jn.AFileUploader,E),children:C.jsxs(En,{className:jn.ChipsContainer,children:[v==="Upload"&&tt(),P==null?void 0:P.map($e)]})})]})},Lk="_AFloatMenu_xco8u_1",Ok="_Content_xco8u_10",py={AFloatMenu:Lk,Content:Ok},Q2=r=>{const{defs:e,defaultDef:t,actionRef:n,offset:o,onClose:a,onClick:u,onPaperClick:f,position:d=af.ES,width:h=137}=r,x=k.useMemo(()=>({content:Mk,...t}),[t]),_=k.useMemo(()=>{const F={};return tr.keys(e).forEach(W=>{const V=e[W],ee={...x,...V};ee.noDisplay||(F[W]=ee)}),F},[x,e]),[v,y]=k.useState(null),b=k.useCallback(F=>{c2(F,R,d,o),y(F)},[d,o]),[T,w]=k.useState(!1),[S,E]=k.useState(!1),R=k.useRef(null),I=k.useCallback(F=>{E(!0),setTimeout(()=>w(!0),0),setTimeout(()=>b(F),0)},[b]),P=k.useCallback(()=>{w(!1),E(!0),a==null||a()},[a]),j=k.useCallback(()=>E(!1),[]),q=k.useCallback(async F=>{const W=document.getElementById("root"),V=F.target,ee=R.current;!W||!ee||!V||!ee.contains(V)&&W.contains(V)&&(await(f==null?void 0:f(F)),P())},[P,f]);k.useEffect(()=>{if(T)return setTimeout(()=>document.addEventListener("mousedown",q),0),()=>document.removeEventListener("mousedown",q)},[T,q]);const $=k.useCallback(()=>{v&&b(v)},[b,v]);k.useEffect(()=>{if(!T||!v)return;let F=v.parentElement;for(;F;)F.addEventListener("scroll",$),F=F.parentElement;return()=>{let W=v.parentElement;for(;W;)W.removeEventListener("scroll",$),W=W.parentElement}},[v,T,$]),k.useEffect(()=>{if(T)return window.addEventListener("resize",$),()=>window.removeEventListener("resize",$)},[T,$]);const G=k.useCallback(F=>{F[0].intersectionRatio===0&&P()},[P]);k.useEffect(()=>{if(!T)return;const F=new IntersectionObserver(G,{threshold:0});return R.current&&F.observe(R.current),()=>F.disconnect()},[R,T,G]),k.useEffect(()=>{n&&(n.current={open:I,close:P})},[n,I,P]);const re=k.useCallback(F=>{var W;if(T){if((W=_[F])!=null&&W.isDisabled)return}else return;u==null||u(F),P()},[T,u,P,_]);return!T&&!S?null:$s.createPortal(C.jsx("div",{ref:R,className:py.AFloatMenu,style:{opacity:+T,visibility:T&&Object.keys(_).length>0?"visible":"hidden",minWidth:h},onTransitionEnd:j,children:tr.map(_,([F],W)=>{const V={...x,..._[F]};let{content:ee,noDisplay:ue,tooltipDirection:le=So.E,...de}=V;return ue?null:(ee=Lr.getContent(V.content,{defKey:F,def:V}),k.createElement(Zr,{...de,key:W,className:Be.clsx(py.Content,"Label2","IsClickable",de.className),tooltipDirection:le,onClick:fe=>{var ve;re==null||re(F),(ve=de.onClick)==null||ve.call(de,fe)}},ee))})}),document.body)},Mk=r=>r.defKey;function Dk(r){try{const e=Number.parseInt(r);return isNaN(e)?void 0:e}catch{return}}const ex={parseInt:Dk},Pk=`${Number.MAX_SAFE_INTEGER}`.length-1,Nk=r=>{const{unit:e,type:t="Secondary",min:n,max:o,useValue:a,onEnterPress:u,canAsterisk:f=!1,onFocus:d,...h}=r,x=k.useMemo(()=>o!==void 0&&n!==void 0?Math.max(`${o}`.length+1,`${n}`.length+1):Pk,[n,o]),[_,v]=dn(a,""),y=k.useCallback(S=>{if(v)if(f&&S.startsWith("*"))v("*");else if(S==="")v("");else if(S==="-")v("-");else{S=S.replace(/[^0-9-]/g,"");try{const E=ex.parseInt(S);E!==void 0&&(n!==void 0&&E<n?v(`${n}`):o!==void 0&&E>o?v(`${o}`):v(`${E}`))}catch(E){console.error("ANumInput : ",E)}}},[v,f,n,o]),b=k.useRef(null),T=k.useCallback(S=>{var E;(E=b.current)==null||E.blur(),u==null||u(S)},[u]),w=k.useMemo(()=>n===void 0&&o===void 0?e??"number":`${n??""}~${o??""}`,[n,o,e]);return C.jsx(sc,{...h,autoComplete:"off",className:Be.clsx(oi.ANumInput,r.className),inputRef:b,maxLength:x,placeholder:w,RightAddon:r.unit&&C.jsx("span",{style:{marginRight:4},children:r.unit}),type:t,useValue:[_,y],onEnterPress:T})},jk="_AListView_k7t2d_1",Fk="_Row_k7t2d_10",Bk="_Label_k7t2d_20",Hk="_Content_k7t2d_30",Dd={AListView:jk,Row:Fk,Label:Bk,Content:Hk},qk=r=>{const{defs:e,defaultDef:t,item:n,rowHeight:o,labelWidth:a,noBorder:u,style:f,...d}=r,h=u?"":"var(--AListView_border-thin)",x=u?"":"var(--AListView_border-thick)",_=k.useMemo(()=>({content:$k,label:zk,...t}),[t]),v=k.useMemo(()=>{const y={};return tr.keys(e).forEach(b=>{const T=e[b],w={..._,...T};y[b]=w}),y},[_,e]);return C.jsx(Zr,{...d,className:Be.clsx(Dd.AListView,d.className),style:{...f,borderTop:h},children:tr.map(v,([y])=>{const b={..._,...v[y]},T=Lr.getContent(b.label,{defKey:y,item:n,def:b}),w=Lr.getContent(b.content,{defKey:y,item:n||{[y]:""},def:b}),S=Lr.getContent(b.bold||"label",{defKey:y,item:n,def:b});return C.jsxs("div",{className:Dd.Row,style:{height:o,borderBottom:h},children:[C.jsx("div",{className:Be.clsx(Dd.Label,"NoSelect",S!=="content"&&"Bold"),style:{width:a,minWidth:a,maxWidth:a,borderLeft:x,paddingLeft:u?0:10},children:C.jsx(Aa,{children:T})}),C.jsx("div",{className:Be.clsx(Dd.Content,S!=="label"&&"Bold"),style:{borderLeft:x,borderRight:x},children:C.jsx(Aa,{style:{width:"100%",padding:u?0:10},children:w})})]},y)})})},zk=r=>r.defKey,$k=r=>{const{defKey:e,item:t}=r;if(t)if(tr.hasKey(t,e)){const n=t[e];return tr.isReactNode(n)?n:null}else return null;else return null},Uk="_ALoadingBorder_kwc1g_1",Wk="_ProgressBar_kwc1g_9",Vk="_IsLoading_kwc1g_15",Gk="_load_kwc1g_1",Zk="_Cover_kwc1g_19",Nf={ALoadingBorder:Uk,ProgressBar:Wk,IsLoading:Vk,load:Gk,Cover:Zk},Am=r=>{const{isLoading:e}=r,[t,n]=k.useState(!1),o=k.useRef(null);return k.useEffect(()=>{e?(n(!0),o.current&&clearTimeout(o.current)):o.current=setTimeout(()=>n(!1),300)},[e]),C.jsxs("div",{className:Nf.ALoadingBorder,children:[C.jsx("div",{className:Be.clsx(Nf.ProgressBar,t&&Nf.IsLoading)}),C.jsx("div",{className:Be.clsx(Nf.Cover,e&&Nf.IsLoading),style:{transition:"all 300ms"}})]})},Kk="_Container_ez8dc_1",Yk="_Option_ez8dc_7",Xk="_RadioButton_ez8dc_14",Jk="_InnerCircle_ez8dc_24",Qk="_isChecked_ez8dc_29",Gu={Container:Kk,Option:Yk,RadioButton:Xk,InnerCircle:Jk,isChecked:Qk},e8=r=>{const{options:e,useSelect:t,selectDisabled:n,radius:o=23,innerRadius:a=o*.6,OptionRenderer:u=tx}=r,[f,d]=dn(t,e[0]);return C.jsx("div",{className:Gu.Container,children:e.map((h,x)=>{const _=n==null?void 0:n(h),v=()=>_?null:d==null?void 0:d(h);return C.jsxs(En,{className:Be.clsx(Gu.Option,"IsClickable"),isDisabled:_,onClick:v,children:[C.jsx(t8,{innerRadius:a,isChecked:f===h,radius:o},x),C.jsx(u,{option:h})]},x)})})},tx=({option:r})=>r,t8=({isChecked:r,radius:e,innerRadius:t})=>C.jsx(Zr,{className:Be.clsx(Gu.RadioButton,r&&Gu.isChecked),style:{width:e,height:e},children:C.jsx(Zr,{className:Be.clsx(Gu.InnerCircle,r&&Gu.isChecked),style:{width:t,height:t}})}),r8="_AMultiSelect_19uuu_1",n8="_Arrow_19uuu_15",o8="_Primary_19uuu_24",i8="_UnAvailable_19uuu_35",s8="_IsOpen_19uuu_35",a8="_Secondary_19uuu_42",l8="_Placeholder_19uuu_58",c8="_ValuesContainer_19uuu_63",u8="_Values_19uuu_63",f8="_Options_19uuu_82",d8="_Option_19uuu_82",h8="_Selected_19uuu_124",p8="_CheckBox_19uuu_131",_i={AMultiSelect:r8,Arrow:n8,Primary:o8,UnAvailable:i8,IsOpen:s8,Secondary:a8,Placeholder:l8,ValuesContainer:c8,Values:u8,Options:f8,Option:d8,Selected:h8,CheckBox:p8},g8=r=>{const{options:e,useSelect:t,type:n="Primary",placeholder:o=Ur.AMultiSelect["Select(Placeholder)"],onClose:a,SelectedRenderer:u=v8,OptionRenderer:f=y8,minShowRows:d=2,maxShowRows:h=6,arrowProps:x,isAutoWidth:_=!1,...v}=r,y=k.useRef(null),b=k.useMemo(()=>v.abaseRef??y,[v.abaseRef]),T=k.useRef(null),[w,S]=dn(t,[]),[E,R]=k.useState(void 0),I=k.useRef(e),P=k.useRef(null),[j,q]=k.useState(!1),[$,G]=k.useState(!1),re=k.useCallback(()=>G(!1),[]),F=k.useCallback(()=>{v.isDisabled||v.isLoading||e.length<1||(G(!0),setTimeout(()=>q(!0),0),setTimeout(()=>rp(T,b,e,d,h),0))},[b,v.isDisabled,v.isLoading,e,d,h]),W=k.useCallback(()=>{q(!1),G(!0),a==null||a()},[a]),V=k.useCallback(te=>{var ce;j?W():F(),setTimeout(()=>rp(T,b,e,d,h),0),(ce=v.onClick)==null||ce.call(v,te)},[b,v,e,j,W,F,d,h]),ee=k.useCallback(()=>{rp(T,b,e,d,h)},[b,e,d,h]);k.useEffect(()=>{if(!j||!b.current)return;const te=b.current;let ce=te.parentElement;for(;ce;)ce.addEventListener("scroll",ee),ce=ce.parentElement;return()=>{let pe=te.parentElement;for(;pe;)pe.removeEventListener("scroll",ee),pe=pe.parentElement}},[b,j,ee]),k.useEffect(()=>{if(j)return window.addEventListener("resize",ee),()=>window.removeEventListener("resize",ee)},[j,ee]);const ue=k.useCallback(te=>{te[0].intersectionRatio===0&&W()},[W]);k.useEffect(()=>{if(!j)return;const te=new IntersectionObserver(ue,{threshold:0});return b.current&&te.observe(b.current),()=>te.disconnect()},[b,j,ue]);const le=k.useCallback(te=>{const ce=te.target,pe=b.current,ye=T.current;!pe||!ce||!ye||!pe.contains(ce)&&!ye.contains(ce)&&W()},[b,W]),de=k.useMemo(()=>v.isDisabled||v.isLoading||e.length<1,[v.isDisabled,v.isLoading,e]);k.useEffect(()=>{if(j)return setTimeout(()=>document.addEventListener("mousedown",le),0),()=>document.removeEventListener("mousedown",le)},[j,le]);const fe=k.useCallback((te,ce)=>{te.stopPropagation(),te.preventDefault();let pe=[...w];pe.includes(ce)?pe=pe.filter(ye=>ye!==ce):pe.push(ce),S==null||S(pe)},[w,S]),ve=k.useCallback(()=>{if(!_||!b.current)return;const te=Qc.calculateOptimalSelectWidth({elementRef:b,options:e,selectedOptions:w,placeholder:o,optionRenderer:ce=>f({option:ce}),type:n,isMulti:!0});R(te)},[_,b,e,w,o,f,n]);return k.useEffect(()=>_?((e!==I.current||E===void 0)&&(P.current!==null&&cancelAnimationFrame(P.current),P.current=requestAnimationFrame(()=>{ve(),P.current=null,I.current=[...e]})),()=>{P.current!==null&&(cancelAnimationFrame(P.current),P.current=null)}):void 0,[_,e,ve,E]),k.useEffect(()=>()=>{typeof Qc.clearCache=="function"&&Qc.clearCache()},[]),C.jsxs(C.Fragment,{children:[C.jsxs(Zr,{...v,abaseRef:b,isDisabled:v.isDisabled||e.length<1,className:Be.clsx(v.className,_i.AMultiSelect,"NoSelect",j&&_i.IsOpen,de&&_i.UnAvailable,_i[n]),style:{padding:n==="Secondary"?"8px 8px 8px 0":0,width:E?`${E}px`:_?"100px":void 0,...v.style},onClick:V,children:[C.jsx("div",{className:_i.ValuesContainer,children:C.jsx("div",{className:Be.clsx(_i.Values,w.length<1&&_i.Placeholder),children:C.jsx(u,{OptionRenderer:f,placeholder:o,selectedOptions:w})})}),C.jsx("div",{...x,className:Be.clsx(_i.Arrow,x==null?void 0:x.className),children:C.jsx(Nr,{icon:"TriangleDown",style:{transform:j?"rotate(180deg)":"",transition:"var(--Transition)"}})})]}),e.length>0&&(j||$)&&$s.createPortal(C.jsx("div",{ref:T,className:Be.clsx(_i.Options,_i[n]),style:{opacity:+j,visibility:j?"visible":"hidden",pointerEvents:j?void 0:"none",width:E?`${E}px`:_?"100px":void 0,borderRadius:b.current?window.getComputedStyle(b.current).borderRadius:void 0},onTransitionEnd:re,children:e.map((te,ce)=>{var ye;const pe=w.includes(te);return C.jsxs("div",{className:Be.clsx(_i.Option,pe&&_i.Selected,"NoSelect",_i[n]),style:{height:(ye=b.current)==null?void 0:ye.getBoundingClientRect().height},onClick:Ie=>fe(Ie,te),children:[C.jsx(ef,{className:_i.CheckBox,useCheck:[+pe,void 0]}),C.jsx(f,{option:te})]},ce)})}),document.body)]})};function rp(r,e,t,n,o){if(!e.current||!r.current||!t||t.length<1)return;const a=e.current.getBoundingClientRect(),u=m8(a,t.length,n,o),f=window.getComputedStyle(e.current);r.current.style.top=`calc(${u.top??0}px - ${f.borderTopWidth})`,r.current.style.bottom=u.bottom?u.bottom+"px":"",r.current.style.left=u.left+"px",r.current.style.width||(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 m8(r,e,t,n){const o={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<o.height&&(window.innerHeight-r.bottom-10<o.minHeight?(o.top=r.top-e*r.height,o.top<0&&(o.top=10,o.minHeight=r.top-10,o.height=r.top-10)):o.height=window.innerHeight-r.bottom-10),o}const v8=r=>{const{OptionRenderer:e,selectedOptions:t,placeholder:n}=r;return t.length<1?n:t.length===1?C.jsx(e,{option:t[0]}):`${t.length} selected`},y8=r=>{const{option:e}=r;return tr.isReactNode(e)?e:null},b8="_Container_10ion_1",_8="_Steps_10ion_9",x8="_Step_10ion_9",S8="_OutCircle_10ion_26",C8="_IsOver_10ion_37",w8="_InCircle_10ion_41",A8="_Line_10ion_54",E8="_Left_10ion_66",T8="_Right_10ion_69",k8="_ContentContainer_10ion_73",R8="_Content_10ion_73",ni={Container:b8,Steps:_8,Step:x8,OutCircle:S8,IsOver:C8,InCircle:w8,Line:A8,Left:E8,Right:T8,ContentContainer:k8,Content:R8},I8=r=>{const{useSelect:e,steps:t,StepRenderer:n=gy,ContentRenderer:o=gy}=r;if(t.length===0)throw new Error("steps should have at least one element");const a=k.useRef(null),[u,f]=dn(e,t[0]),d=k.useCallback(x=>f==null?void 0:f(x),[f]),h=k.useMemo(()=>t.indexOf(u),[u,t]);return k.useEffect(()=>{h<0&&d(t[0])},[h,t,d]),C.jsxs("div",{className:ni.Container,children:[C.jsx("div",{className:ni.Steps,children:t.map((x,_)=>{const v=t.indexOf(x),y=h>=_,b=h>_;return C.jsxs("div",{className:ni.Step,children:[_!==0&&C.jsx("div",{className:Be.clsx(ni.Line,ni.Left,y&&ni.IsOver)}),_!==t.length-1&&C.jsx("div",{className:Be.clsx(ni.Line,ni.Right,b&&ni.IsOver)}),C.jsx(Ho,{className:Be.clsx(ni.OutCircle,y&&ni.IsOver),type:"Raw",onClick:()=>d(x),children:C.jsx("div",{className:Be.clsx(ni.InCircle,y&&ni.IsOver)})}),C.jsx(n,{step:x,stepIdx:v})]},_)})}),C.jsx("div",{ref:a,className:ni.ContentContainer,children:t.map((x,_)=>{const v=t.indexOf(x);return C.jsx("div",{className:ni.Content,style:_===0?{marginLeft:`${h*-100}%`}:{},children:C.jsx(o,{step:x,stepIdx:v})},_)})})]})},gy=r=>{const{step:e}=r;return typeof e=="object"?tr.stringify(e):e},L8="_ATab_2c2d2_1",O8="_Option_2c2d2_9",M8="_Underline_2c2d2_23",D8="_IsSelected_2c2d2_23",P8="_IndicatorTrack_2c2d2_34",N8="_Indicator_2c2d2_34",j8="_Primary_2c2d2_50",F8="_Secondary_2c2d2_57",B8="_IsDisabled_2c2d2_67",H8="_Tertiary_2c2d2_81",q8="_Quaternary_2c2d2_111",Ql={ATab:L8,Option:O8,Underline:M8,IsSelected:D8,IndicatorTrack:P8,Indicator:N8,Primary:j8,Secondary:F8,IsDisabled:B8,Tertiary:H8,Quaternary:q8},z8=["Primary","Secondary","Tertiary","Quaternary"],rx=r=>{const{options:e,useSelect:t,selectDisabled:n,type:o="Primary",tabProps:a,optionProps:u,optionWidth:f,OptionRenderer:d=$8,RightAddon:h,color:x,selectedColor:_,underline:v,indicatorProps:y,indicatorTrackProps:b}=r;if(e.length===0)throw new Error("options should have at least one element");const T=k.useMemo(()=>e.findIndex(ce=>!(n!=null&&n(ce))),[e,n]),w=o==="Tertiary"?2:0,S=o==="Secondary"?8:0,E=k.useMemo(()=>w+S,[w,S]),R=o==="Tertiary"?2:0,I=k.useMemo(()=>(S-w-R-R)/e.length,[e.length,w,S,R]),[P,j]=dn(t,e[T]),q=k.useRef([]),$=k.useCallback(ce=>j==null?void 0:j(ce),[j]),G=k.useMemo(()=>typeof f=="number"?f+"px":f,[f]),re=k.useMemo(()=>e.indexOf(P),[e,P]),F=k.useMemo(()=>`calc(${100/e.length}% + ${I}px)`,[e.length,I]),W=k.useMemo(()=>G||`calc(${F} - ${E}px)`,[F,E,G]),[V,ee]=k.useState(0),[ue,le]=k.useState(0),[de,fe]=k.useState(W),ve=k.useMemo(()=>{let ce;switch(G){case void 0:ce=`calc(${F} * ${re})`;break;case"fit-content":ce=`calc(${V}px)`;break;default:ce=`calc((${G} + ${E}px) * ${re})`;break}return`calc(${ce} + ${R}px)`},[G,R,F,re,V,E]),te=k.useMemo(()=>{switch(G){case void 0:return;case"fit-content":return`calc(${ue}px)`;default:return`calc((${G} + ${E}px - ${I}px) * ${e.length})`}},[G,I,E,e,ue]);return k.useEffect(()=>{var pe,ye;if(e.includes(P)||j==null||j(e[T]),G!=="fit-content"){fe(W);return}let ce=0;q.current.forEach((Ie,oe)=>{oe<re&&Ie.current&&(ce+=Ie.current.offsetWidth+E)}),ee(ce),fe(`calc(${((ye=(pe=q.current[re])==null?void 0:pe.current)==null?void 0:ye.offsetWidth)||0}px)`),le(q.current.reduce((Ie,oe)=>{var we;return Ie+((((we=oe.current)==null?void 0:we.offsetWidth)||0)+E-I)},0))},[G,q,e,P,j,T,I,E,re,W]),C.jsxs("div",{...a,className:Be.clsx(Ql.ATab,"Headline2",Ql[o],a==null?void 0:a.className),children:[C.jsx("div",{...y,className:Be.clsx(Ql.Indicator,y==null?void 0:y.className),style:{minWidth:de,left:ve,marginLeft:w,...y==null?void 0:y.style}}),C.jsx("div",{...b,className:Be.clsx(Ql.IndicatorTrack,b==null?void 0:b.className),style:{width:te,...b==null?void 0:b.style}}),C.jsx(Tn,{w:R}),e.map((ce,pe)=>{const ye=n==null?void 0:n(ce);return q.current[pe]||(q.current[pe]=k.createRef()),C.jsx(Zr,{abaseRef:q.current[pe],...u,isDisabled:ye,className:Be.clsx(Ql.Option,ye&&Ql.IsDiabled,ce===P&&Ql.IsSelected,"IsClickable",v&&Ql.Underline,u==null?void 0:u.className),style:{minWidth:W,maxWidth:W,marginLeft:w,marginRight:S,"--color":ce===P&&_||x,...u==null?void 0:u.style},onClick:Ie=>{!ye&&$(ce),u&&u.onClick&&u.onClick(Ie)},children:C.jsx(d,{option:ce})},pe)}),C.jsx(Tn,{w:R+R+w}),h&&C.jsxs(C.Fragment,{children:[C.jsx(ou,{}),h]})]})},$8=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=tr.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 nx(...r){const e=k.useRef(!1);k.useEffect(()=>{e.current||(e.current=!0,r.forEach(t=>t()))},[r])}const ox={String:(r,e,t,n)=>{const{value:o}=n;if(o===void 0)return!1;if(t==="")return tr.keys(e).some(x=>{const _=e[x],v=Lr.getContent(_.asText,{defKey:x,def:_,item:r});if(v!==void 0)return v.toString().toLowerCase().includes(o.toLowerCase());const y=Lr.getContent(_.content,{defKey:x,def:_,item:r});return["string","number"].includes(typeof y)&&y!==void 0&&y!==null?y.toString().toLowerCase().includes(o.toLowerCase()):!1});const a=tr.keys(e),u=t;if(!a.includes(u))return!1;const f=e[u],d=Lr.getContent(f.asText,{defKey:u,def:f,item:r});if(d!==void 0)return d.toString().toLowerCase().includes(o.toLowerCase());const h=Lr.getContent(f.content,{defKey:u,def:f,item:r});return["string","number"].includes(typeof h)&&h!==void 0&&h!==null?h.toString().toLowerCase().includes(o.toLowerCase()):!1},Select:(r,e,t,n)=>{const{value:o}=n;if(o==null)return!1;const a=tr.keys(e),u=t;if(!a.includes(u))return!1;const f=e[u],d=Lr.getContent(f.asText,{defKey:u,def:f,item:r});if(d!==void 0)return o.toString().toLowerCase()===d.toString().toLowerCase();const h=Lr.getContent(f.content,{defKey:u,def:f,item:r});return["string","number"].includes(typeof h)&&h!==void 0&&h!==null?o.toString().toLowerCase()===h.toString().toLowerCase():!1},Date:(r,e,t,n)=>{const{value:o}=n;if(o===void 0)return!1;const a=tr.keys(e),u=t;if(!a.includes(u))return!1;const f=e[u],d=Lr.getContent(f.asText,{defKey:u,def:f,item:r});if(d!==void 0){const x=Zt.toDate(d.toString());return x&&Zt.eq(x,o)}const h=Lr.getContent(f.content,{defKey:u,def:f,item:r});if(["string","number"].includes(typeof h)&&h!==void 0&&h!==null){const x=Zt.toDate(h.toString());return x&&Zt.eq(x,o)}return!1},DateRange:(r,e,t,n)=>{const{value:o}=n;if(o===void 0)return!1;const a=tr.keys(e),u=t;if(!a.includes(u))return!1;const f=e[u],d=Lr.getContent(f.asText,{defKey:u,def:f,item:r});if(d!==void 0){const x=Zt.toDate(d.toString());return x&&Zt.be(o.sDate,x,o.eDate)}const h=Lr.getContent(f.content,{defKey:u,def:f,item:r});if(["string","number"].includes(typeof h)&&h!==void 0&&h!==null){const x=Zt.toDate(h.toString());return x&&Zt.be(o.sDate,x,o.eDate)}return!1}},U8=(r,e,t)=>{let n=r;return tr.keys(t).forEach(a=>{const u=t[a];u.value===void 0||u.value===null||u.value===""||(n=n.filter(f=>{var d;return(d=u.predicate??ox[u.type])==null?void 0:d(f,e,a,u)}))}),n},W8=(r,e,t)=>{if(!t)return r;const n=t.defKey,o=e[n];if(n===void 0)return r;const a=t.sortF??((u,f)=>{const d=Lr.getContent(o.content,{defKey:n,def:o,item:u}),h=Lr.getContent(o.content,{defKey:n,def:o,item:f});return typeof d=="string"&&typeof h=="string"?d<h?-1:d>h?1:0:typeof d=="number"&&typeof h=="number"?d-h:typeof d=="string"&&typeof h=="number"?-1:typeof d=="number"&&typeof h=="string"||d===void 0&&h!==void 0?1:d!==void 0&&h===void 0?-1:0});return typeof a=="function"&&a.length>=3?r.slice().sort((u,f)=>a(u,f,t.isAsc)):r.slice().sort((u,f)=>{const d=a(u,f);return t.isAsc?d:-d})},V8=(r,e,t)=>r.slice((e-1)*t,e*t),ix=(r,e)=>{const t=Math.max(Math.ceil(r/e),1);return Array.from({length:t},(n,o)=>o+1)},G8=(r,e,t,n)=>{const o=ix(e,t),a=Math.floor((r-1)/n),u=a*n+1,f=(a+1)*n,d=o.slice(u-1,f);return{pages:o,rangedPages:d}},Z8=(r,e,t)=>{const n=[],o=Object.keys(t),a=[];o.forEach(v=>{const y=t[v],b=Lr.getContent(y.hContent,{defKey:v,def:y});if(b!==void 0){if(typeof b=="string"){a.push(b);return}else if(typeof b=="number"){a.push(b.toString());return}}const T=Lr.getContent(y.name,{defKey:v,def:y});if(T!==void 0&&typeof T=="string"){a.push(T);return}a.push(v)});const u=a.map(v=>`"${v.replaceAll('"','""')}"`);n.push(u.join(",")),e.forEach(v=>{const y=[];o.forEach(T=>{const w=t[T],S=Lr.getContent(w.content,{defKey:T,def:w,item:v});if(S!==void 0){if(typeof S=="string"){y.push(S);return}else if(typeof S=="number"){y.push(S.toString());return}}const E=v[T];typeof E=="string"?y.push(E):typeof E=="number"?y.push(E.toString()):y.push("")});const b=y.map(T=>`"${T.replaceAll('"','""')}"`);n.push(b.join(","))});const f=`${r}.csv`,d="\uFEFF"+n.join(`
|
161
|
+
`),h=new Blob([d],{type:"text/csv;charset=UTF-8"}),x=URL.createObjectURL(h),_=document.createElement("a");_.href=x,_.download=f,_.click(),URL.revokeObjectURL(x)},K8=r=>{const e=tr.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},Y8=r=>{const e=Object.entries(r);let t={};return e.forEach(([n,o])=>{!o||o.value===void 0||o.value===null||o.value===""||(o.type==="DateRange"?(t[o.sFilterKey]=o.value.sDate,t[o.eFilterKey]=o.value.eDate):t[o.filterKey??n]=o.value)}),t},X8=r=>{const e=tr.keys(r).filter(o=>o!=="");if(e.length!==1)return;const t=e[0],n=r[t];return!n||n.value===void 0||n.value===null||n.value===""?{selectedKey:t,value:void 0}:{selectedKey:t,value:n.value}},il={applyFilteration:U8,applySortation:W8,applyPagination:V8,getPages:ix,getRangedPages:G8,downloadCsv:Z8,getSingleFilterValue:K8,getMultiFilterValues:Y8,getSelectFilterValue:X8},J8="_ATable_12zow_1",Q8={ATable:J8};function sx(r,e,t,n){k.useEffect(()=>{if(r)return r.addEventListener(e,t,n),()=>{r.removeEventListener(e,t,n)}},[r,e,t,n])}const eR="_BodyHeader_ys4y0_1",tR="_TRow_ys4y0_7",rR="_OverflowSpace_ys4y0_11",nR="_BodyBody_ys4y0_16",oR="_IsSelected_ys4y0_35",iR="_IsSelectable_ys4y0_39",sR="_IsRowMarked_ys4y0_47",aR="_TH_ys4y0_52",lR="_TD_ys4y0_57",cR="_IsMarked_ys4y0_57",uR="_Resizer_ys4y0_76",fR="_IsMoving_ys4y0_88",dR="_IsResizable_ys4y0_91",hR="_ResizerCenter_ys4y0_94",pR="_ResizerOut_ys4y0_100",gR="_ResizerIn_ys4y0_104",mR="_IsClicked_ys4y0_139",vR="_NoItems_ys4y0_146",yR="_Content_ys4y0_152",wn={BodyHeader:eR,TRow:tR,OverflowSpace:rR,BodyBody:nR,IsSelected:oR,IsSelectable:iR,IsRowMarked:sR,TH:aR,TD:lR,IsMarked:cR,Resizer:uR,IsMoving:fR,IsResizable:dR,ResizerCenter:hR,ResizerOut:pR,ResizerIn:gR,IsClicked:mR,NoItems:vR,Content:yR},tc=25,np=50,bR=r=>{const{defs:e,isEqual:t,rProps:n,useSelect:o,isTableDisabled:a,isSelectMulti:u,selectDisabled:f,appliedFilteration:d,useSortation:h,pagination:x,pagedItems:_,noMarking:v,noDefHeader:y,isLoading:b,showRows:T,RowRenderer:w=SR,isRowRendered:S,rowHeight:E,resources:R}=r,[I,P]=k.useMemo(()=>o??[],[o]),j=k.useCallback($e=>{a||!P||!I||f!=null&&f($e)||(u?I.some(tt=>t(tt,$e))?P(I.filter(tt=>!t(tt,$e))):P([...I,$e]):P([$e]))},[I,f,P,t,a,u]);k.useEffect(()=>{u||!I||!P||I.length>1&&P([I[I.length-1]])},[I,P,u]),k.useEffect(()=>{if(!I||!P)return;I.filter(tt=>f==null?void 0:f(tt)).length>0&&P(I.filter(tt=>!(f!=null&&f(tt))))},[I,P,f]);const[q,$]=h,G=k.useCallback(($e,tt)=>{$&&((q==null?void 0:q.defKey)===$e?q.isAsc===!0?$({defKey:$e,isAsc:!1,sortF:tt}):q.isAsc===!1?$(void 0):$({defKey:$e,isAsc:!0,sortF:tt}):$({defKey:$e,isAsc:!0,sortF:tt}))},[q,$]),[re,F]=k.useState({elem:null,row:null}),W=k.useRef(null),V=k.useRef(null),ee=k.useCallback(()=>F({elem:W.current,row:V.current}),[]);k.useEffect(()=>ee(),[_.length,ee]),sx(window,"resize",ee);const[ue,le]=k.useState(E);k.useEffect(()=>{const{row:$e}=re;$e!=null&&le($e.clientHeight)},[re,ue]);const de=k.useMemo(()=>{const{elem:$e}=re;return $e?Math.floor($e.clientHeight/ue):0},[re,ue]),fe=k.useMemo(()=>T||(_.length<=de?de:_.length),[de,T,_]),ve=k.useMemo(()=>{if(T!==void 0)return T*ue},[T,ue]),te=k.useMemo(()=>ve,[ve]),ce=k.useMemo(()=>{const{elem:$e}=re;return $e?$e.getBoundingClientRect().height/ue<_.length:!1},[re,ue,_.length]),[pe,ye]=k.useState(),Ie=k.useMemo(()=>{const{elem:$e}=re;return!pe||!$e?"100%":$e.clientHeight+(S?0:50)},[pe,S,re]),oe=k.useRef(null),[we,Oe]=k.useState({}),Ue=k.useRef({x:0,y:0}),We=k.useRef({}),Se=k.useMemo(()=>tr.keys(we),[we]),_e=k.useCallback(($e,tt)=>{const at=oe.current;if(!at)return;const De=[];at.childNodes.forEach(_t=>{_t.classList.contains(wn.TH)&&De.push(_t)});const Ke={};tr.keys(e).forEach((_t,At)=>{const qe=De[At];if(!qe)return;const Qe=qe.getBoundingClientRect().width;Ke[_t]=Qe}),We.current=Ke,ye(tt),Ue.current={x:$e.clientX,y:$e.clientY};const yt=_t=>{if(!oe.current)return;const qe=_t.clientX-Ue.current.x,Qe=xR(e,tt,We.current,qe);Oe(Qe)};document.addEventListener("mousemove",yt);const bt=()=>{ye(void 0),document.removeEventListener("mousemove",yt),document.removeEventListener("mouseup",bt)};document.addEventListener("mouseup",bt)},[e]),Ce=k.useCallback(()=>{ye(void 0),Oe({})},[]),Te=k.useMemo(()=>{if(Se.length===0){const at={},De=tr.keys(e);for(let Ke=0;Ke<De.length;Ke++){const yt=De[Ke],bt=e[yt],_t=Lr.getContent(bt.colSpan,{defKey:yt,def:bt}),At=bt.width??80,qe=bt.minWidth??tc,Qe=bt.maxWidth,St={width:At,minWidth:qe,maxWidth:Qe,flexGrow:_t??1};if(at[yt]=St,_t!==void 0){for(let Dt=1;Dt<Math.min(_t,De.length-Ke);Dt++){const Et=e[De[Ke+Dt]],Ze=Et.width??80,It=Et.minWidth??tc,Ot=Et.maxWidth;St.width+=Ze,St.minWidth+=It,St.maxWidth!==void 0&&(Ot!==void 0?St.maxWidth+=Ot:St.maxWidth=void 0)}Ke+=_t-1}}return at}const $e={},tt=tr.keys(e);for(let at=0;at<tt.length;at++){let De=tt[at];const Ke=e[De];let yt=we[De];const bt=Lr.getContent(Ke.colSpan,{defKey:De,def:Ke}),_t=Ke.minWidth??tc,At=Ke.maxWidth,qe={width:yt,minWidth:_t,maxWidth:At,flexGrow:bt??1};if($e[De]=qe,bt!==void 0){for(let Qe=1;Qe<Math.min(bt,tt.length-at);Qe++){const St=e[tt[at+Qe]],Dt=we[tt[at+Qe]],Et=St.minWidth??tc,Ze=St.maxWidth;qe.width+=Dt,qe.minWidth+=Et,qe.maxWidth!==void 0&&(Ze!==void 0?qe.maxWidth+=Ze:qe.maxWidth=void 0)}at+=bt-1}}return $e},[e,Se,we]),Ne=k.useRef(null),ot=k.useMemo(()=>il.getSingleFilterValue(d),[d]);return k.useEffect(()=>{W.current&&W.current.scrollTo({top:0})},[x.page]),k.useEffect(()=>{S&&V.current&&V.current.scrollIntoView({behavior:"smooth",block:"center"})},[I,_,S]),C.jsxs(C.Fragment,{children:[C.jsx(Am,{isLoading:b}),C.jsx("div",{ref:Ne,className:Be.clsx(wn.BodyHeader,pe!==void 0&&wn.IsClicked),style:{display:y||S?"none":"flex"},onResizeCapture:ee,children:C.jsx("div",{ref:oe,className:wn.TRow,style:{minHeight:np,maxHeight:np},children:tr.map(e,([$e],tt)=>{const at=e[$e],De=Lr.getContent(at.hContent,{defKey:$e,def:at}),Ke=at.name,yt=tt===tr.keys(e).length-1,bt=at.width??80,_t=at.minWidth??tc,At=at.maxWidth,qe={width:bt,minWidth:_t,maxWidth:At,justifyContent:Lr.getContent(at.hAlign,{defKey:$e,def:at})??"flex-start",...Lr.getContent(at.hStyle,{defKey:$e,def:at})};Se.includes($e)&&(qe.width=we[$e]);const Qe=at.isSortable,St=(q==null?void 0:q.defKey)===$e,Dt=q==null?void 0:q.isAsc;return C.jsxs(k.Fragment,{children:[C.jsxs("div",{className:Be.clsx(wn.TH,"Label1",Qe?"IsClickable":"NoSelect"),style:qe,onClick:()=>Qe&&G($e,at.sortF),children:[C.jsx(Aa,{children:De??Ke,className:wn.Content}),Qe&&C.jsx(Nr,{icon:St?Dt?"SortUp":"SortDown":"SortBoth",style:{width:16,height:16}})]}),!yt&&C.jsxs("div",{className:Be.sclsx(wn,"Resizer","IsResizable","NoSelect",pe!==void 0&&"IsMoving"),onDoubleClick:Ce,onMouseDown:Et=>_e(Et,$e),children:[C.jsx("div",{className:wn.ResizerOut}),C.jsx("div",{className:wn.ResizerIn}),C.jsx("div",{className:wn.ResizerCenter,style:{height:Ie}}),C.jsx("div",{className:wn.ResizerIn}),C.jsx("div",{className:wn.ResizerOut})]}),yt&&C.jsx(Tn,{className:wn.OverflowSpace,h:np,style:{color:qe.color,backgroundColor:qe.backgroundColor,transition:qe.transition},w:"var(--Scrollbar-width)"})]},$e)})})}),C.jsxs("div",{ref:W,className:Be.clsx(wn.BodyBody,pe!==void 0&&wn.IsClicked),style:{overflowY:ce?"scroll":"hidden",minHeight:ve,maxHeight:te},children:[_.map(($e,tt)=>{const at=Lr.getContent(n,{item:$e}),De=P&&!a,Ke=I==null?void 0:I.some(At=>t(At,$e)),yt=I&&(f==null?void 0:f($e)),bt=typeof yt=="string"?yt:void 0,_t={...$e};return S&&tr.keys(e).forEach(At=>{const qe=e[At],Qe=Lr.getContent(qe.content,{defKey:At,def:qe,item:$e});let St=!1;if(ot&&!v){const Dt=Lr.getContent(qe.asText,{defKey:At,def:qe,item:$e});Dt!==void 0?St=Dt.toString().toLowerCase().includes(ot.toLowerCase()):["string","number"].includes(typeof Qe)&&Qe!==void 0&&Qe!==null&&(St=Qe.toString().toLowerCase().includes(ot.toLowerCase()))}_t[At]=C.jsx("span",{className:Be.clsx(St&&wn.IsRowMarked),children:_t[At]})}),C.jsx(Zr,{isDisabled:yt,tooltip:bt,...at,abaseRef:Ke?V:void 0,className:Be.clsx(at==null?void 0:at.className,De&&wn.IsSelectable,Ke&&wn.IsSelected),onClick:At=>{var qe;j($e),(qe=at==null?void 0:at.onClick)==null||qe.call(at,At)},children:C.jsx(w,{defs:e,isBodyBodyOverflowed:ce,item:$e,markedItem:_t,noMarking:v,rowHeight:E,singleFilterValue:ot,spanWidths:Te})},tt)}),C.jsx(_R,{isRowRendered:S,itemsLength:_.length,resources:R,rowHeight:ue,showRows:fe})]})]})},_R=r=>{const{showRows:e,itemsLength:t,resources:n,isRowRendered:o,rowHeight:a}=r,u=k.useMemo(()=>t===0?e:e-t,[e,t]);return Array.from({length:u},(f,d)=>C.jsx("div",{className:Be.clsx(wn.TRow,"NoSelect"),style:{minHeight:a,maxHeight:a,...o&&{border:"none"}},children:t===0&&d===Math.floor(e/2)&&C.jsx(En,{className:wn.NoItems,children:n["No Items"]})},d))};function xR(r,e,t,n){const o={...t},a=tr.keys(r).findIndex(h=>h===e)+1,u=Object.entries(r);let f=a-1,d=a;if(n<0){for(;n<0&&!(f<0||d>=u.length);){const[h,x]=[u[f][0],u[f][1]],[_,v]=[u[d][0],u[d][1]],y=x.minWidth??tc,b=v.maxWidth,T=o[h],w=o[_];let S=T-y;b!==void 0&&(S=Math.min(S,b-w));let E=-n;E=Math.min(E,S),T-E<=y&&f--,b!==void 0&&w+E>=b&&d++,o[h]=T-E,o[_]=w+E,n+=E}return o}else if(n>0){for(;n>0&&!(f<0||d>=u.length);){const[h,x]=[u[f][0],u[f][1]],[_,v]=[u[d][0],u[d][1]],y=v.minWidth??tc,b=x.maxWidth,T=o[_],w=o[h];let S=T-y;b!==void 0&&(S=Math.min(S,b-w));let E=n;E=Math.min(E,S),T-E<=y&&d++,b!==void 0&&w+E>=b&&f--,o[_]=T-E,o[h]=w+E,n-=E}return o}return o}const SR=r=>{const{defs:e,item:t,noMarking:n,spanWidths:o,singleFilterValue:a,isBodyBodyOverflowed:u,rowHeight:f}=r;return C.jsx("div",{className:Be.clsx(wn.TRow),style:{minHeight:f,maxHeight:f},children:tr.map(e,([d],h)=>{const x=o[d];if(x===void 0)return null;const _=h===tr.keys(e).length-1,v=e[d],y=Lr.getContent(v.content,{defKey:d,def:v,item:t}),b={width:x.width,minWidth:x.minWidth,maxWidth:x.maxWidth,flexGrow:x.flexGrow,justifyContent:Lr.getContent(v.align,{defKey:d,def:v,item:t})??"flex-start",...Lr.getContent(v.style,{defKey:d,def:v,item:t})};let T=!1;if(a&&!n){const w=Lr.getContent(v.asText,{defKey:d,def:v,item:t});w!==void 0?T=w.toString().toLowerCase().includes(a.toLowerCase()):["string","number"].includes(typeof y)&&y!==void 0&&y!==null&&(T=y.toString().toLowerCase().includes(a.toLowerCase()))}return C.jsxs(k.Fragment,{children:[C.jsx("div",{className:Be.clsx(wn.TD,"Label1",T&&wn.IsMarked),style:b,children:C.jsx(Aa,{children:y,className:wn.Content})}),!u&&_&&C.jsx(Tn,{className:wn.OverflowSpace,h:f,style:{color:b.color,backgroundColor:b.backgroundColor},w:"var(--Scrollbar-width)"})]},d)})})},CR="_ATableFooter_w090q_1",wR="_Button_w090q_10",AR="_IsSelected_w090q_26",ER="_IsDisabled_w090q_31",Ns={ATableFooter:CR,Button:wR,IsSelected:AR,IsDisabled:ER},TR=r=>{const{pages:e,rangedPages:t,pageF:n,pagination:o}=r,a=k.useMemo(()=>e[e.length-1],[e]);return C.jsxs(En,{className:Ns.ATableFooter,children:[C.jsx(Nr,{className:Be.clsx(Ns.Button,o.page===1&&Ns.IsDisabled),icon:"FirstPage",onClick:n.moveFirst}),C.jsx(Nr,{className:Be.clsx(Ns.Button,o.page===1&&Ns.IsDisabled),icon:"NavigateBefore",onClick:n.movePrev}),t.map(u=>C.jsx("div",{className:Be.clsx(Ns.Button,"NoSelect",o.page===u&&Ns.IsSelected),onClick:()=>n.move(u),children:u},u)),C.jsx(Nr,{className:Be.clsx(Ns.Button,o.page===a&&Ns.IsDisabled),icon:"NavigateNext",onClick:n.moveNext}),C.jsx(Nr,{className:Be.clsx(Ns.Button,o.page===a&&Ns.IsDisabled),icon:"LastPage",onClick:n.moveLast})]})},kR="_Filter_1b9j0_1",RR="_SelectFilter_1b9j0_11",IR="_MainFilter_1b9j0_15",LR="_IsOpen_1b9j0_26",OR="_SubFilters_1b9j0_30",MR="_Input_1b9j0_44",DR="_Main_1b9j0_15",PR="_Sub_1b9j0_30",NR="_Actions_1b9j0_62",jR="_Icon_1b9j0_67",FR="_LeftIcon_1b9j0_74",BR="_CircleAlertOutline_1b9j0_79",HR="_Rotate_1b9j0_87",qR="_rotate_1b9j0_1",kr={Filter:kR,SelectFilter:RR,MainFilter:IR,IsOpen:LR,SubFilters:OR,Input:MR,Main:DR,Sub:PR,Actions:NR,Icon:jR,LeftIcon:FR,CircleAlertOutline:BR,Rotate:HR,rotate:qR},zR=r=>{const{defs:e,useFilteration:t,hasToggleFilteration:n,filterF:o,isRowRendered:a,isFilterSort:u,filterType:f,resources:d,placeholder:h}=r,[x,_]=k.useState([]),[v,y]=k.useMemo(()=>t,[t]),b=k.useMemo(()=>f==="Select",[f]),T=k.useMemo(()=>tr.keys(v).map(oe=>String(oe)),[v]),[w,S]=k.useState(b&&T.length>0?T[0]:null),E=k.useCallback((oe,we,Oe)=>{if(!y)return;const Ue={...v};oe.value=we,y(Ue),_(We=>We.map((Se,_e)=>_e===(Oe?Oe+1:0)?"":Se))},[v,y]),R=k.useMemo(()=>{let oe=[],we=tr.keys(v);b&&w&&(we=we.filter(Oe=>Oe===w));for(const Oe of we)oe.push({key:Oe,def:e[Oe],filter:v[Oe]});return oe},[v,e,b,w]),I=k.useMemo(()=>R.length>0?R[0]:null,[R]),P=k.useMemo(()=>x.length>0?x[0]:"",[x]),j=k.useMemo(()=>R.length>1?R.slice(1):[],[R]),q=k.useMemo(()=>x.length>1?x.slice(1):[],[x]),$=k.useMemo(()=>j.length>0,[j]),[G,re]=k.useState(!1),[F,W]=k.useState(!1),V=k.useRef(null),ee=k.useCallback(()=>re(!1),[]),ue=k.useRef(null),le=k.useCallback(()=>{W(!1),re(!0),ue.current&&(document.removeEventListener("mousedown",ue.current),ue.current=null)},[]),de=k.useCallback(()=>{const oe=we=>{const Oe=document.getElementById("root"),Ue=we.target,We=V.current;!Oe||!We||!Ue||!We.contains(Ue)&&Oe.contains(Ue)&&le()};return ue.current=oe,oe},[le]),fe=k.useCallback(()=>{re(!0),W(!0),setTimeout(()=>{const oe=de();document.addEventListener("mousedown",oe)},0)},[de]),ve=k.useMemo(()=>F?le:fe,[F,fe,le]),te=k.useCallback(()=>{const oe=R.map((we,Oe)=>we.filter.type==="String"&&we.filter.validation?we.filter.validation(we.filter.value||""):we.filter.type==="Date"&&we.filter.validation||we.filter.type==="DateRange"&&we.filter.validation?we.filter.validation(we.filter.value):x[Oe]);return _(oe),oe.every(we=>!we)},[x,R]),ce=k.useCallback(oe=>{oe.key==="Enter"?(te()&&o.apply(),oe.stopPropagation()):oe.key==="Escape"&&(W(!1),oe.currentTarget.focus(),oe.currentTarget.blur(),oe.stopPropagation())},[te,W,o]),pe=k.useMemo(()=>({open:fe,close:le,toggle:ve,validate:te}),[fe,le,ve,te]),ye=k.useCallback(()=>{o.clear()},[o]),Ie=k.useCallback(oe=>{if(!y||!oe)return;S(oe);const we={...v};tr.keys(we).forEach(Oe=>{if(Oe!==oe&&we[Oe])switch(we[Oe].type){case"String":we[Oe].value="";break;case"Select":we[Oe].value=null;break;case"Date":we[Oe].value=void 0;break;case"DateRange":we[Oe].value=void 0;break}}),_([]),y(we),o.clear(),setTimeout(()=>{var Ue;const Oe=(Ue=V.current)==null?void 0:Ue.querySelector("input");Oe&&Oe.focus()},0)},[v,y,_,o]);return I?C.jsxs(C.Fragment,{children:[b&&C.jsx(ac,{isAutoWidth:!0,className:Be.clsx(kr.SelectFilter),options:T,type:"Secondary",useSelect:[w,Ie],OptionRenderer:({option:oe})=>{const we=e[oe];let Oe;if(we!=null&&we.hContent){const Ue={defKey:oe,def:we};Oe=typeof we.hContent=="function"?we.hContent(Ue):we.hContent}else{const Ue=v[oe],We=(we==null?void 0:we.name)||(Ue==null?void 0:Ue.placeholder)||String(oe);Oe=C.jsx("span",{children:We})}return Oe}}),C.jsxs("div",{ref:V,className:Be.clsx(kr.Filter),tabIndex:-1,style:{minWidth:a?u?180:void 0:180,maxWidth:a?u?300:void 0:300},onKeyDown:ce,onClick:oe=>{oe.preventDefault(),oe.stopPropagation()},children:[C.jsx($R,{errorMessage:P,filterF:o,filterSet:I,hasSelectFilterType:b,hasSubFilters:$,hasToggleFilteration:n,isOpen:F,placeholder:h,popupF:pe,resources:d,onChange:E}),!b&&C.jsx(UR,{errorMessages:q,filterF:o,isOpen:F,isTransitioning:G,placeholder:h,resources:d,subFilterSets:j,validate:te,onChange:E,onClearClick:ye,onTransitionEnd:ee})]})]}):null},$R=r=>{var v,y,b,T;const{filterSet:e,hasToggleFilteration:t,hasSelectFilterType:n,onChange:o,filterF:a,hasSubFilters:u,popupF:f,isOpen:d,resources:h,errorMessage:x,placeholder:_}=r;if(e.filter.type==="String"){const w=[e.filter.value??"",I=>o(e.filter,I)],S=_??e.filter.placeholder??((v=e.def)==null?void 0:v.name),E=e.filter.icon,R=e.filter.iconTooltip??S;return C.jsxs("div",{className:Be.clsx(kr.MainFilter,d&&kr.IsOpen),children:[C.jsx(xa,{icon:E??"Type",isOpen:d,tooltip:R}),C.jsx(sc,{autoFocus:e.filter.autoFocus,className:Be.clsx(kr.Input,kr.Main),LeftAddon:t&&C.jsx(Pd,{isOpen:d,filterF:a,popupF:f,resources:h}),maxLength:e.filter.maxLength,placeholder:S??h["Search(Placeholder)"],type:x?"Error":"Primary",useValue:w,wrapProps:{style:{width:"100%",boxSizing:"border-box"}},RightAddon:C.jsx(Nd,{errorMessage:x,filterF:a,hasSelectFilterType:n,hasSubFilters:u,isOpen:d,popupF:f,resources:h})})]})}else if(e.filter.type==="Select"){const w=[e.filter.value??null,I=>{o(e.filter,I),n&&setTimeout(()=>{f.validate()&&a.apply()},0)}],S=_??e.filter.placeholder??((y=e.def)==null?void 0:y.name),E=e.filter.icon,R=e.filter.iconTooltip??S;return C.jsxs("div",{className:Be.clsx(kr.MainFilter,d&&kr.IsOpen),children:[C.jsx(xa,{icon:E??"Menu",isOpen:d,tooltip:R}),C.jsx(ac,{className:Be.clsx(kr.Input,kr.Main),OptionRenderer:e.filter.OptionRenderer,options:e.filter.options,placeholder:S,useSelect:w,SelectedRenderer:({OptionRenderer:I,selectedOption:P})=>P===null?S||e.filter.placeholder:C.jsxs(C.Fragment,{children:[t&&C.jsx(Pd,{isOpen:d,filterF:a,popupF:f,resources:h}),C.jsx(I,{option:P}),C.jsx(Nd,{filterF:a,hasSelectFilterType:n,hasSubFilters:u,hideSearchButton:!0,isOpen:d,popupF:f,resources:h})]})})]})}else if(e.filter.type==="Date"){const w=[e.filter.value,I=>o(e.filter,I)],S=_??e.filter.placeholder??((b=e.def)==null?void 0:b.name),E=e.filter.icon,R=e.filter.iconTooltip??S;return C.jsxs("div",{className:Be.clsx(kr.MainFilter,d&&kr.IsOpen),children:[C.jsx(xa,{icon:E??"CalendarDay",isOpen:d,tooltip:R}),C.jsx(Cm,{className:Be.clsx(kr.DatePicker,kr.Input,kr.Main),maxDate:e.filter.maxDate,minDate:e.filter.minDate,placeholder:S,type:"Raw",useDate:w,LeftAddon:C.jsxs(C.Fragment,{children:[t&&C.jsx(Pd,{isOpen:d,filterF:a,popupF:f,resources:h}),!t&&C.jsx(Tn,{w:d?0:6}),C.jsx(xa,{icon:E??"CalendarDay",isOpen:!d,tooltip:R}),C.jsx(Tn,{w:d?8:0})]}),RightAddon:C.jsx(Nd,{filterF:a,hasSelectFilterType:n,hasSubFilters:u,isOpen:d,popupF:f,resources:h})})]})}else if(e.filter.type==="DateRange"){const w=[e.filter.value,P=>o(e.filter,P)],{noDefaultChoices:S}=e.filter,E=_??e.filter.placeholder??((T=e.def)==null?void 0:T.name),R=e.filter.icon,I=e.filter.iconTooltip??E;return C.jsxs("div",{className:Be.clsx(kr.MainFilter,d&&kr.IsOpen),children:[C.jsx(xa,{icon:R??"CalendarDay",isOpen:d,tooltip:I}),C.jsx(xm,{className:Be.clsx(kr.DatePicker,kr.Input,kr.Main),maxDate:e.filter.maxDate,minDate:e.filter.minDate,noDefaultChoices:S,placeholder:E,type:"Raw",useDateRange:w,LeftAddon:C.jsxs(C.Fragment,{children:[t&&C.jsx(Pd,{isOpen:d,filterF:a,popupF:f,resources:h}),!t&&C.jsx(Tn,{w:d?0:6}),C.jsx(xa,{icon:R??"CalendarDay",isOpen:!d,tooltip:I}),C.jsx(Tn,{w:d?8:0})]}),RightAddon:C.jsx(Nd,{filterF:a,hasSelectFilterType:n,hasSubFilters:u,isOpen:d,popupF:f,resources:h})})]})}return null},Pd=r=>{const{filterF:e,popupF:t,resources:n,isOpen:o}=r;return C.jsx(mo,{className:kr.Icon,icon:"Convert",style:{width:o?0:24,marginLeft:o?0:8},tooltip:n["Toggle Filter"],type:"Raw",onMouseDown:a=>a.currentTarget.classList.remove(kr.Rotate),onClick:a=>{a.currentTarget.classList.add(kr.Rotate),e.toggle(),t.close(),a.stopPropagation()}})},Nd=r=>{const{hasSubFilters:e,popupF:t,isOpen:n,resources:o,errorMessage:a,hideSearchButton:u,hasSelectFilterType:f,filterF:d}=r,h=k.useCallback(v=>{v.stopPropagation(),t.open()},[t]),x=k.useCallback(v=>{v.stopPropagation(),t.close()},[t]),_=k.useCallback(v=>{v.stopPropagation(),t.validate()&&d.apply()},[t,d]);return C.jsxs(k.Fragment,{children:[a&&C.jsx(mo,{className:kr.CircleAlertOutline,icon:"CircleAlertOutline",iconSize:"xs",tooltip:a,type:"Raw"}),e&&!f&&C.jsx(mo,{className:kr.Icon,icon:"ListAdd",type:"Raw",style:{opacity:+!n,visibility:+!n?"visible":"hidden",marginRight:-24,pointerEvents:n?"none":void 0},onClick:h}),e&&!f&&C.jsx(mo,{className:kr.Icon,icon:"ListRemove",type:"Raw",style:{opacity:+n,visibility:+n?"visible":"hidden",marginRight:n?-24:0,pointerEvents:n?void 0:"none"},onClick:x}),!u&&C.jsx(mo,{className:kr.Icon,icon:"Search",tooltip:o["Search(Button)"],type:"Raw",style:{opacity:+!n,visibility:+!n?"visible":"hidden",pointerEvents:n?"none":void 0,marginRight:4},onClick:_})]})},UR=r=>{const{subFilterSets:e,onChange:t,onClearClick:n,isOpen:o,isTransitioning:a,onTransitionEnd:u,resources:f,errorMessages:d,placeholder:h,filterF:x,validate:_}=r;return!o&&!a?null:C.jsxs("div",{className:kr.SubFilters,style:{opacity:+o,visibility:+o?"visible":"hidden"},onTransitionEnd:u,children:[e.map((v,y)=>{var b,T,w,S;if(v.filter.type==="String"){const E=[v.filter.value??"",q=>t(v.filter,q,y)],R=d[y],I=h??v.filter.placeholder??((b=v.def)==null?void 0:b.name),P=v.filter.icon,j=v.filter.iconTooltip??I;return C.jsxs(En,{style:{marginBottom:6},children:[C.jsx(xa,{icon:P??"Type",tooltip:j}),C.jsx(sc,{autoFocus:v.filter.autoFocus,className:Be.clsx(kr.Input,kr.Sub),maxLength:v.filter.maxLength,placeholder:I??f["Search(Placeholder)"],type:R?"Error":"Secondary",useValue:E,wrapProps:{style:{width:"100%"}},RightAddon:R&&C.jsx(mo,{className:kr.CircleAlertOutline,icon:"CircleAlertOutline",iconSize:"xs",tooltip:R,type:"Raw"})}),C.jsx(Tn,{h:8})]},y)}else if(v.filter.type==="Select"){const E=[v.filter.value??null,j=>t(v.filter,j)],R=h??v.filter.placeholder??((T=v.def)==null?void 0:T.name),I=v.filter.icon,P=v.filter.iconTooltip??R;return C.jsxs(En,{style:{marginBottom:6},children:[C.jsx(xa,{icon:I??"Menu",tooltip:P}),C.jsx(ac,{arrowProps:{style:{marginRight:4}},className:Be.clsx(kr.Input,kr.Sub),OptionRenderer:v.filter.OptionRenderer,options:v.filter.options,placeholder:R,type:"Secondary",useSelect:E}),C.jsx(Tn,{h:8})]},y)}else if(v.filter.type==="Date"){const E=[v.filter.value,j=>t(v.filter,j)],R=h??v.filter.placeholder??((w=v.def)==null?void 0:w.name),I=v.filter.icon,P=v.filter.iconTooltip??R;return C.jsxs(En,{style:{marginBottom:6},children:[C.jsx(xa,{icon:I??"CalendarDay",tooltip:P}),C.jsx(Cm,{className:Be.clsx(kr.DatePicker,kr.Input,kr.Sub),LeftAddon:C.jsx(Tn,{w:12}),maxDate:v.filter.maxDate,minDate:v.filter.minDate,placeholder:R,type:"Raw",useDate:E}),C.jsx(Tn,{h:8})]},y)}else if(v.filter.type==="DateRange"){const E=[v.filter.value,q=>t(v.filter,q)],{noDefaultChoices:R}=v.filter,I=h??v.filter.placeholder??((S=v.def)==null?void 0:S.name),P=v.filter.icon,j=v.filter.iconTooltip??I;return C.jsxs(En,{style:{marginBottom:6},children:[C.jsx(xa,{icon:P??"CalendarDay",tooltip:j}),C.jsx(xm,{className:Be.clsx(kr.DatePicker,kr.Input,kr.Sub),LeftAddon:C.jsx(Tn,{w:12}),maxDate:v.filter.maxDate,minDate:v.filter.minDate,noDefaultChoices:R,placeholder:I,type:"Raw",useDateRange:E})]},y)}else return null}),C.jsxs(En,{className:kr.Actions,children:[C.jsx(Ho,{type:"Secondary",onClick:n,children:f["Clear(Button)"]}),C.jsx(Ho,{onClick:()=>{_()&&x.apply()},children:f["Search(Button)"]})]})]})},xa=r=>{const{icon:e,tooltip:t,isOpen:n=!0}=r;return C.jsx(mo,{className:kr.LeftIcon,icon:e,tooltip:t,type:"Raw",style:{width:n?24:0,marginRight:n?4:0,opacity:+n}})},WR="_ATableHeader_1hzfz_1",VR="_LeftHeaderContent_1hzfz_11",GR="_RightHeaderContent_1hzfz_19",ZR="_TopRightAddon_1hzfz_27",KR="_HItem_1hzfz_32",Yc={ATableHeader:WR,LeftHeaderContent:VR,RightHeaderContent:GR,TopRightAddon:ZR,HItem:KR},YR=r=>{const{defs:e,title:t,totalCount:n,useCheck:o,useFilteration:a,hasToggleFilteration:u,filterF:f,noFilter:d,noCount:h,isFiltered:x,TopLeftAddon:_,TopRightAddon:v,useSortation:y,resources:b=Ur.ATable,filterType:T,placeholder:w}=r,[S]=k.useMemo(()=>o||[],[o]),E=k.useMemo(()=>x?b["Searched n items"](n):b["Total n items"](n),[b,x,n]),[R]=a,[I,P]=y,[j,q]=k.useState(!1),$=k.useMemo(()=>{const de=tr.values(R).filter(te=>te.type==="DateRange"),fe=tr.keys(R).filter(te=>de.includes(R[te])),ve=tr.keys(e).filter(te=>e[te].isSortable);return fe.length>0?(fe.length>1&&q(!0),ve.map(ce=>fe.includes(ce)?[ce+"_Asc",ce+"_Desc"]:ce).flat()):ve},[e,R]),G=k.useMemo(()=>r.isRowRendered&&$.length>0,[$.length,r.isRowRendered]),re=k.useCallback((de,fe)=>{P&&(I==null?void 0:I.defKey)===de&&(I.isAsc===!0?P({defKey:de,isAsc:!1,sortF:fe}):P({defKey:de,isAsc:!0,sortF:fe}))},[I,P]),F=k.useRef(),[W,V]=k.useState(),[ee,ue]=k.useState(I?I.defKey:$[0]),le=k.useMemo(()=>{if(!W)return{};const de=e[W];return{SortUp:{onClick:()=>{P==null||P({defKey:W,isAsc:!0,sortF:de.sortF}),ue(W)},content:()=>b["Sort up"]},SortDown:{onClick:()=>{P==null||P({defKey:W,isAsc:!1,sortF:de.sortF}),ue(W)},content:()=>b["Sort down"]}}},[P,W,e,b]);return C.jsxs(C.Fragment,{children:[C.jsxs("div",{className:Be.clsx(Yc.ATableHeader),children:[C.jsxs("div",{className:Be.clsx(Yc.LeftHeaderContent,"NoSelect"),children:[C.jsxs(En,{style:{marginBottom:G?8:0},children:[_&&C.jsx("div",{className:Be.clsx(Yc.HItem),children:_}),t&&C.jsx("div",{className:Be.clsx(Yc.HItem),style:{whiteSpace:"nowrap"},children:t}),!h&&C.jsxs("div",{className:Be.clsx(Yc.HItem),style:{maxHeight:14,...G&&{minHeight:14,color:"var(--label-neutral)"}},children:[E,S&&S.length>0&&C.jsxs(C.Fragment,{children:[" / ",b["Checked n items"](S.length)]})]})]}),G&&C.jsx(rx,{options:$,optionWidth:"fit-content",tabProps:{style:{marginRight:8}},type:"Tertiary",useSelect:[ee,()=>{}],optionProps:{style:{cursor:"default"},onClick:de=>{var te;const fe=de.currentTarget.textContent;if(fe===b[fe])return;de.currentTarget.querySelector("svg")===null&&((te=F.current)==null||te.open(de.currentTarget))}},OptionRenderer:de=>{const fe=/_Asc|_Desc/.test(de.option),ve=(I==null?void 0:I.defKey)===de.option,te=ee===de.option,ce=I==null?void 0:I.isAsc,pe=()=>{if(fe){V(void 0),ue(de.option);const[oe,we]=de.option.split("_"),Oe=we==="Asc";P==null||P({defKey:oe,isAsc:Oe,sortF:e[oe].sortF})}else te?re(de.option,e[de.option].sortF):V(de.option)},Ie=fe?(oe=>{const[we,Oe]=oe.split("_");return(j?we+" ":"")+b[Oe]})(de.option):b["Sort by x"](de.option);return C.jsxs(En,{className:Be.clsx(!(fe&&te)&&"IsClickable"),style:{height:"100%"},onClick:pe,children:[Ie,te&&!fe&&C.jsx(Nr,{icon:ve?ce?"RowSortUp":"RowSortDown":"RowSortBoth",style:{marginRight:-5,marginLeft:4}})]},de.option)}})]}),C.jsx(ou,{}),C.jsxs("div",{className:Be.clsx(Yc.RightHeaderContent,"NoSelect"),children:[!d&&C.jsx(zR,{defs:e,filterF:f,filterType:T,hasToggleFilteration:u,isFilterSort:$.length>0,isRowRendered:r.isRowRendered,placeholder:w,resources:b,useFilteration:a}),v&&C.jsx(En,{children:v,className:Be.clsx(Yc.TopRightAddon)})]})]}),C.jsx(Q2,{actionRef:F,defs:le,position:af.S,width:100,onClose:()=>V(void 0)})]})},XR=r=>{const{defs:e,pk:t,defaultDef:n,rProps:o,useSelect:a,isSelectMulti:u,selectDisabled:f,useCheck:d,checkDisabled:h,isLoading:x,isDisabled:_,title:v,entireItems:y,onStateChange:b,pagedItems:T,totalCount:w,useFilteration:S,useToggleFilteration:E,filterType:R="Default",placeholder:I,rowHeight:P=40,usePagination:j,useSortation:q,showRows:$,noHeader:G,noDefHeader:re,noFooter:F,noFilter:W,noCount:V,noMarking:ee,noStateChangeOnMount:ue,TopLeftAddon:le,TopRightAddon:de,actionRef:fe,RowRenderer:ve,resources:te}=r,ce=k.useMemo(()=>({...Ur.ATable,...te}),[te]),pe=k.useCallback((xe,Ye)=>t!==void 0?Array.isArray(t)?t.every(xt=>al.isEqual(xe[xt],Ye[xt])):al.isEqual(xe[t],Ye[t]):al.isEqual(xe,Ye),[t]),ye=k.useMemo(()=>({content:JR,...n}),[n]),Ie=k.useMemo(()=>{const xe={};return tr.keys(e).forEach(Ye=>{const xt=e[Ye],Tt={...ye,...xt};xe[Ye]=Tt}),xe},[ye,e]),[oe,we]=dn(al.cloneDeep(S),{"":{type:"String",placeholder:ce["Search(Placeholder)"],value:""}}),[Oe,Ue]=dn(al.cloneDeep(E),void 0),[We,Se]=k.useState(!1),[_e,Ce]=k.useMemo(()=>We&&Oe?[Oe,Ue]:[oe,we],[oe,We,we,Ue,Oe]),[Te,Ne]=k.useState(_e),ot=k.useMemo(()=>y?il.applyFilteration(y,Ie,Te):[],[y,Ie,Te]),$e=k.useMemo(()=>{for(const xe in Te){const Ye=Te[xe];if(Ye.value!==void 0&&Ye.value!==null&&Ye.value!=="")return!0}return!1},[Te]),[tt,at]=dn(q,void 0),De=k.useMemo(()=>il.applySortation(ot,Ie,tt),[ot,Ie,tt]),Ke=k.useMemo(()=>{if(T!==void 0)return il.applySortation(T,Ie,tt)},[T,Ie,tt]),[yt,bt]=dn(j,{page:1,pageSize:50,pageRange:10}),_t=k.useMemo(()=>({pageSize:50,page:1,pageRange:10,...yt}),[yt]),{pagedItems:At,totalCount:qe,pagination:Qe}=k.useMemo(()=>{const xe={..._t};if(Ke!==void 0){let Ye=w??Ke.length;const xt=il.getPages(Ye,xe.pageSize);return xe.page>xt.length?xe.page=xt.length:xe.page<1&&(xe.page=1),{pagedItems:Ke,totalCount:Ye,pagination:xe}}else if(y!==void 0){const Ye=w??De.length,xt=il.getPages(Ye,xe.pageSize);return xe.page>xt.length?xe.page=xt.length:xe.page<1&&(xe.page=1),{pagedItems:il.applyPagination(De,xe.page,xe.pageSize),totalCount:Ye,pagination:xe}}else return{pagedItems:[],totalCount:w??0,pagination:_t}},[y,Ke,w,_t,De]),{pages:St,rangedPages:Dt}=k.useMemo(()=>il.getRangedPages(Qe.page,qe,Qe.pageSize,Qe.pageRange),[qe,Qe.pageSize,Qe.page,Qe.pageRange]),[Et,Ze]=k.useMemo(()=>d??[],[d]),It=k.useMemo(()=>At.filter(xe=>Et==null?void 0:Et.some(Ye=>pe(Ye,xe))),[At,Et,pe]),Ot=k.useMemo(()=>At.filter(xe=>!(h!=null&&h(xe))),[At,h]),pr=k.useMemo(()=>Ot.length>0&&Ot.every(xe=>It.some(Ye=>pe(Ye,xe))),[It,Ot,pe]),br=k.useMemo(()=>pr?!1:Ot.some(xe=>It.some(Ye=>pe(Ye,xe))),[It,Ot,pr,pe]),Or=k.useCallback(()=>{!Et||!Ze||_||Ze(pr||br?Et.filter(xe=>!Ot.some(Ye=>pe(Ye,xe))):[...Et,...Ot])},[Et,Ze,pr,br,Ot,_,pe]),Ee=k.useCallback(xe=>{!Et||!Ze||_||(Et.some(Ye=>pe(Ye,xe))?Ze(Et.filter(Ye=>!pe(Ye,xe))):Ze([...Et,xe]))},[Et,Ze,_,pe]);k.useEffect(()=>{if(!Ze||!Et||!h)return;Et.filter(Ye=>h(Ye)).length>0&&Ze(Et.filter(Ye=>!h(Ye)))},[h,Et,Ze]);const ae=k.useMemo(()=>({hContent:Et&&C.jsx(ef,{isIndeterminate:br,useCheck:[pr,Or]}),content:xe=>{const{item:Ye}=xe,xt=h==null?void 0:h(Ye),Tt=typeof xt=="string"?xt:void 0,kt=Et==null?void 0:Et.some(wt=>pe(wt,Ye));return C.jsx(ef,{isDisabled:xt,style:{zIndex:1},tooltip:Tt,useCheck:[kt,()=>Ee(Ye)],onClick:wt=>wt.stopPropagation()})},minWidth:32,maxWidth:32}),[Et,pr,br,pe,Or,h,Ee]),st=k.useMemo(()=>d?{checkDef:ae,...Ie}:Ie,[Ie,ae,d]),[mt,Ft]=k.useState(!1),Rt=k.useMemo(()=>x??mt,[x,mt]),Mt=k.useCallback(async xe=>{b&&(Ft(!0),await b(xe),Ft(!1)),bt==null||bt(xe.pagination),at==null||at(xe.sortation),Ne(xe.filteration)},[b,bt,at]);k.useEffect(()=>{if(!fe)return;const xe=xt=>{const Tt={entireItems:y,filteration:_e,pagination:Qe,sortation:tt},kt=xt?xt(Tt):Tt;Mt(kt)},Ye=xt=>{const Tt={...Qe,page:1},kt=xt?xt(_e):_e;Mt({entireItems:y,filteration:kt,pagination:Tt,sortation:tt}),Ce==null||Ce(kt)};fe.current={fireOnStateChange:xe,applyFilteration:Ye}},[fe,Mt,y,Ce,_e,Qe,tt]);const Qt=k.useCallback(xe=>{xe.page===Qe.page&&xe.pageSize===Qe.pageSize||(xe.page<1?xe.page=1:xe.page>St[St.length-1]&&(xe.page=St[St.length-1]),Mt({entireItems:y,filteration:Te,pagination:xe,sortation:tt}))},[Qe,St,Mt,y,Te,tt]),qt=k.useCallback(xe=>{Ce&&Ce(xe)},[Ce]),sr=k.useCallback(xe=>{Mt({entireItems:y,filteration:Te,pagination:Qe,sortation:xe})},[Mt,y,Te,Qe]),er=k.useCallback(xe=>{Qt({...Qe,page:xe})},[Qt,Qe]),_r=k.useCallback(()=>{er(Qe.page-1)},[er,Qe.page]),fr=k.useCallback(()=>{er(Qe.page+1)},[er,Qe.page]),lt=k.useCallback(()=>{er(1)},[er]),it=k.useCallback(()=>{er(St[St.length-1])},[er,St]),Fe=k.useMemo(()=>({move:er,movePrev:_r,moveNext:fr,moveFirst:lt,moveLast:it}),[er,_r,fr,lt,it]),ut=k.useCallback(()=>{const xe={...Qe,page:1};Mt({entireItems:y,filteration:_e,pagination:xe,sortation:tt})},[_e,Qe,Mt,y,tt]),nt=k.useCallback(()=>{Se(!We)},[We]),$t=k.useCallback(()=>{We&&Oe?Ue==null||Ue(my(Oe)):Ce==null||Ce(my(oe))},[We,Oe,Ue,oe,Ce]),wr=k.useMemo(()=>({apply:ut,toggle:nt,clear:$t}),[ut,nt,$t]);nx(()=>{ue||Mt({entireItems:y,filteration:_e,pagination:Qe,sortation:tt})});const ne=k.useMemo(()=>tr.map(Ie,([Ye])=>Ie[Ye].minWidth??tc).reduce((Ye,xt)=>Ye+xt,0),[Ie]),He=k.useMemo(()=>ve!==void 0,[ve]);return C.jsxs(Zr,{className:Q8.ATable,isDisabled:_,style:{minWidth:ne},children:[!G&&C.jsx(YR,{defs:Ie,filterF:wr,filterType:R,hasToggleFilteration:Oe!==void 0,isFiltered:$e,isRowRendered:He,noCount:V,noFilter:W,placeholder:I,resources:ce,title:v,TopLeftAddon:le,TopRightAddon:de,totalCount:qe,useCheck:d&&Et?[Et,Ze]:void 0,useFilteration:[_e,qt],useSortation:[tt,sr]}),C.jsx(bR,{appliedFilteration:Te,defs:st,isEqual:pe,isLoading:Rt,isRowRendered:He,isSelectMulti:u,isTableDisabled:_,noDefHeader:re,noMarking:ee,pagedItems:At,pagination:Qe,resources:ce,rowHeight:P,RowRenderer:ve,rProps:o,selectDisabled:f,showRows:$,useSelect:a,useSortation:[tt,sr]}),!F&&C.jsx(TR,{pageF:Fe,pages:St,pagination:Qe,rangedPages:Dt})]})},JR=r=>{const{defKey:e,item:t}=r;if(tr.hasKey(t,e)){const n=t[e];return tr.isReactNode(n)?n:null}else return null};function my(r){const e={...r};for(const t in e)e[t].value=void 0;return e}const QR="_AText_1asz6_1",e9={AText:QR},ax=r=>{const{text:e,styled:t,style:n}=r,o=k.useMemo(()=>{if(e)if(t)if(n){if(t===!0)return n==="bold"?C.jsx("b",{children:e}):C.jsx("span",{style:n,children:e});if(typeof t=="string"){const a=e.split(t);return n==="bold"?a.map((u,f)=>C.jsxs(k.Fragment,{children:[jd(u),f<a.length-1?C.jsx("b",{children:jd(t)}):""]},f)):a.map((u,f)=>C.jsxs(k.Fragment,{children:[jd(u),f<a.length-1&&C.jsx("span",{style:n,children:jd(t)})]},f))}}else return e;else return e;else return""},[e,n,t]);return C.jsx("div",{className:Be.clsx("Body1Reading",e9.AText,"NoSelect"),children:o})};function jd(r){const e=r.split(`
|
162
|
+
`);return e.map((t,n)=>C.jsxs(k.Fragment,{children:[t,n!==e.length-1&&C.jsx("br",{})]},n))}const t9="_Base_cpm4t_7",r9="_ATextArea_cpm4t_11",n9="_Primary_cpm4t_34",o9="_UnAvailable_cpm4t_39",i9="_Secondary_cpm4t_47",s9="_ReadOnly_cpm4t_59",Fd={Base:t9,ATextArea:r9,Primary:n9,UnAvailable:o9,Secondary:i9,ReadOnly:s9,Error:"_Error_cpm4t_66"},a9=["Primary","Secondary","ReadOnly","Error"],l9=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",textAreaRef:o,useValue:a,rows:u,isReadonly:f,placeholder:d,maxLength:h,tabIndex:x,autoFocus:_,textAreaProps:v,wrapProps:y,helperText:b,label:T,wrapType:w,labelProps:S,...E}=r,R=k.useMemo(()=>c9(t)?"Error":n,[t,n]),I=k.useMemo(()=>R==="ReadOnly"?!0:f,[R,f]),P=k.useMemo(()=>E.isDisabled||E.isLoading,[E.isDisabled,E.isLoading]),[j,q]=dn(a,""),$=k.useCallback(F=>{q&&q(F)},[q]),G=k.useCallback(F=>{var W;P||($(F.target.value),(W=v==null?void 0:v.onChange)==null||W.call(v,F))},[P,$,v]),re=k.useCallback(F=>{var W;if(!P){if((W=v==null?void 0:v.onKeyDown)==null||W.call(v,F),F.key==="Tab"){const V=F.currentTarget.selectionStart,ee=F.currentTarget.selectionEnd;F.currentTarget.value=F.currentTarget.value.substring(0,V)+" "+F.currentTarget.value.substring(ee),F.currentTarget.selectionStart=F.currentTarget.selectionEnd=V+1,F.preventDefault()}else F.key==="Enter"&&(e==null||e(F.currentTarget.value),F.stopPropagation());F.key!=="Escape"&&F.stopPropagation()}},[P,e,v]);return C.jsx(ic,{wrapProps:y,label:T,helperText:b,errorMessage:t,labelProps:S,wrapType:w??R==="Error"?"Error":"Default",children:C.jsx(Zr,{...E,className:Be.clsx(Fd.Base,E.className),children:C.jsx("textarea",{...v,ref:o,autoFocus:_,className:Be.clsx(Fd.ATextArea,Fd[R],P&&Fd.UnAvailable,v==null?void 0:v.className),maxLength:h,placeholder:d,readOnly:I,rows:u,tabIndex:E.isDisabled||E.isLoading?-1:x,value:j,onChange:G,onKeyDown:re})})})};function c9(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}var lx=typeof global=="object"&&global&&global.Object===Object&&global,u9=typeof self=="object"&&self&&self.Object===Object&&self,Ra=lx||u9||Function("return this")(),lc=Ra.Symbol,cx=Object.prototype,f9=cx.hasOwnProperty,d9=cx.toString,jf=lc?lc.toStringTag:void 0;function h9(r){var e=f9.call(r,jf),t=r[jf];try{r[jf]=void 0;var n=!0}catch{}var o=d9.call(r);return n&&(e?r[jf]=t:delete r[jf]),o}var p9=Object.prototype,g9=p9.toString;function m9(r){return g9.call(r)}var v9="[object Null]",y9="[object Undefined]",vy=lc?lc.toStringTag:void 0;function lf(r){return r==null?r===void 0?y9:v9:vy&&vy in Object(r)?h9(r):m9(r)}function ll(r){return r!=null&&typeof r=="object"}var tu=Array.isArray;function cc(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}function ux(r){return r}var b9="[object AsyncFunction]",_9="[object Function]",x9="[object GeneratorFunction]",S9="[object Proxy]";function Em(r){if(!cc(r))return!1;var e=lf(r);return e==_9||e==x9||e==b9||e==S9}var op=Ra["__core-js_shared__"],yy=function(){var r=/[^.]+$/.exec(op&&op.keys&&op.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function C9(r){return!!yy&&yy in r}var w9=Function.prototype,A9=w9.toString;function iu(r){if(r!=null){try{return A9.call(r)}catch{}try{return r+""}catch{}}return""}var E9=/[\\^$.*+?()[\]{}|]/g,T9=/^\[object .+?Constructor\]$/,k9=Function.prototype,R9=Object.prototype,I9=k9.toString,L9=R9.hasOwnProperty,O9=RegExp("^"+I9.call(L9).replace(E9,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function M9(r){if(!cc(r)||C9(r))return!1;var e=Em(r)?O9:T9;return e.test(iu(r))}function D9(r,e){return r==null?void 0:r[e]}function su(r,e){var t=D9(r,e);return M9(t)?t:void 0}var V1=su(Ra,"WeakMap"),by=Object.create,P9=function(){function r(){}return function(e){if(!cc(e))return{};if(by)return by(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}}();function N9(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 fx(r,e){var t=-1,n=r.length;for(e||(e=Array(n));++t<n;)e[t]=r[t];return e}var j9=800,F9=16,B9=Date.now;function H9(r){var e=0,t=0;return function(){var n=B9(),o=F9-(n-t);if(t=n,o>0){if(++e>=j9)return arguments[0]}else e=0;return r.apply(void 0,arguments)}}function q9(r){return function(){return r}}var ih=function(){try{var r=su(Object,"defineProperty");return r({},"",{}),r}catch{}}(),z9=ih?function(r,e){return ih(r,"toString",{configurable:!0,enumerable:!1,value:q9(e),writable:!0})}:ux,$9=H9(z9);function U9(r,e){for(var t=-1,n=r==null?0:r.length;++t<n&&e(r[t],t,r)!==!1;);return r}var W9=9007199254740991,V9=/^(?:0|[1-9]\d*)$/;function dx(r,e){var t=typeof r;return e=e??W9,!!e&&(t=="number"||t!="symbol"&&V9.test(r))&&r>-1&&r%1==0&&r<e}function Tm(r,e,t){e=="__proto__"&&ih?ih(r,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):r[e]=t}function cd(r,e){return r===e||r!==r&&e!==e}var G9=Object.prototype,Z9=G9.hasOwnProperty;function hx(r,e,t){var n=r[e];(!(Z9.call(r,e)&&cd(n,t))||t===void 0&&!(e in r))&&Tm(r,e,t)}function ud(r,e,t,n){var o=!t;t||(t={});for(var a=-1,u=e.length;++a<u;){var f=e[a],d=void 0;d===void 0&&(d=r[f]),o?Tm(t,f,d):hx(t,f,d)}return t}var _y=Math.max;function K9(r,e,t){return e=_y(e===void 0?r.length-1:e,0),function(){for(var n=arguments,o=-1,a=_y(n.length-e,0),u=Array(a);++o<a;)u[o]=n[e+o];o=-1;for(var f=Array(e+1);++o<e;)f[o]=n[o];return f[e]=t(u),N9(r,this,f)}}function Y9(r,e){return $9(K9(r,e,ux),r+"")}var X9=9007199254740991;function px(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=X9}function ph(r){return r!=null&&px(r.length)&&!Em(r)}function J9(r,e,t){if(!cc(t))return!1;var n=typeof e;return(n=="number"?ph(t)&&dx(e,t.length):n=="string"&&e in t)?cd(t[e],r):!1}function Q9(r){return Y9(function(e,t){var n=-1,o=t.length,a=o>1?t[o-1]:void 0,u=o>2?t[2]:void 0;for(a=r.length>3&&typeof a=="function"?(o--,a):void 0,u&&J9(t[0],t[1],u)&&(a=o<3?void 0:a,o=1),e=Object(e);++n<o;){var f=t[n];f&&r(e,f,n,a)}return e})}var e7=Object.prototype;function km(r){var e=r&&r.constructor,t=typeof e=="function"&&e.prototype||e7;return r===t}function t7(r,e){for(var t=-1,n=Array(r);++t<r;)n[t]=e(t);return n}var r7="[object Arguments]";function xy(r){return ll(r)&&lf(r)==r7}var gx=Object.prototype,n7=gx.hasOwnProperty,o7=gx.propertyIsEnumerable,G1=xy(function(){return arguments}())?xy:function(r){return ll(r)&&n7.call(r,"callee")&&!o7.call(r,"callee")};function i7(){return!1}var mx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Sy=mx&&typeof module=="object"&&module&&!module.nodeType&&module,s7=Sy&&Sy.exports===mx,Cy=s7?Ra.Buffer:void 0,a7=Cy?Cy.isBuffer:void 0,rd=a7||i7,l7="[object Arguments]",c7="[object Array]",u7="[object Boolean]",f7="[object Date]",d7="[object Error]",h7="[object Function]",p7="[object Map]",g7="[object Number]",m7="[object Object]",v7="[object RegExp]",y7="[object Set]",b7="[object String]",_7="[object WeakMap]",x7="[object ArrayBuffer]",S7="[object DataView]",C7="[object Float32Array]",w7="[object Float64Array]",A7="[object Int8Array]",E7="[object Int16Array]",T7="[object Int32Array]",k7="[object Uint8Array]",R7="[object Uint8ClampedArray]",I7="[object Uint16Array]",L7="[object Uint32Array]",An={};An[C7]=An[w7]=An[A7]=An[E7]=An[T7]=An[k7]=An[R7]=An[I7]=An[L7]=!0;An[l7]=An[c7]=An[x7]=An[u7]=An[S7]=An[f7]=An[d7]=An[h7]=An[p7]=An[g7]=An[m7]=An[v7]=An[y7]=An[b7]=An[_7]=!1;function O7(r){return ll(r)&&px(r.length)&&!!An[lf(r)]}function Rm(r){return function(e){return r(e)}}var vx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Zf=vx&&typeof module=="object"&&module&&!module.nodeType&&module,M7=Zf&&Zf.exports===vx,ip=M7&&lx.process,tf=function(){try{var r=Zf&&Zf.require&&Zf.require("util").types;return r||ip&&ip.binding&&ip.binding("util")}catch{}}(),wy=tf&&tf.isTypedArray,Im=wy?Rm(wy):O7,D7=Object.prototype,P7=D7.hasOwnProperty;function yx(r,e){var t=tu(r),n=!t&&G1(r),o=!t&&!n&&rd(r),a=!t&&!n&&!o&&Im(r),u=t||n||o||a,f=u?t7(r.length,String):[],d=f.length;for(var h in r)(e||P7.call(r,h))&&!(u&&(h=="length"||o&&(h=="offset"||h=="parent")||a&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||dx(h,d)))&&f.push(h);return f}function bx(r,e){return function(t){return r(e(t))}}var N7=bx(Object.keys,Object),j7=Object.prototype,F7=j7.hasOwnProperty;function B7(r){if(!km(r))return N7(r);var e=[];for(var t in Object(r))F7.call(r,t)&&t!="constructor"&&e.push(t);return e}function Lm(r){return ph(r)?yx(r):B7(r)}function H7(r){var e=[];if(r!=null)for(var t in Object(r))e.push(t);return e}var q7=Object.prototype,z7=q7.hasOwnProperty;function $7(r){if(!cc(r))return H7(r);var e=km(r),t=[];for(var n in r)n=="constructor"&&(e||!z7.call(r,n))||t.push(n);return t}function fd(r){return ph(r)?yx(r,!0):$7(r)}var nd=su(Object,"create");function U7(){this.__data__=nd?nd(null):{},this.size=0}function W7(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}var V7="__lodash_hash_undefined__",G7=Object.prototype,Z7=G7.hasOwnProperty;function K7(r){var e=this.__data__;if(nd){var t=e[r];return t===V7?void 0:t}return Z7.call(e,r)?e[r]:void 0}var Y7=Object.prototype,X7=Y7.hasOwnProperty;function J7(r){var e=this.__data__;return nd?e[r]!==void 0:X7.call(e,r)}var Q7="__lodash_hash_undefined__";function eI(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=nd&&e===void 0?Q7:e,this}function ru(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])}}ru.prototype.clear=U7;ru.prototype.delete=W7;ru.prototype.get=K7;ru.prototype.has=J7;ru.prototype.set=eI;function tI(){this.__data__=[],this.size=0}function gh(r,e){for(var t=r.length;t--;)if(cd(r[t][0],e))return t;return-1}var rI=Array.prototype,nI=rI.splice;function oI(r){var e=this.__data__,t=gh(e,r);if(t<0)return!1;var n=e.length-1;return t==n?e.pop():nI.call(e,t,1),--this.size,!0}function iI(r){var e=this.__data__,t=gh(e,r);return t<0?void 0:e[t][1]}function sI(r){return gh(this.__data__,r)>-1}function aI(r,e){var t=this.__data__,n=gh(t,r);return n<0?(++this.size,t.push([r,e])):t[n][1]=e,this}function fl(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])}}fl.prototype.clear=tI;fl.prototype.delete=oI;fl.prototype.get=iI;fl.prototype.has=sI;fl.prototype.set=aI;var od=su(Ra,"Map");function lI(){this.size=0,this.__data__={hash:new ru,map:new(od||fl),string:new ru}}function cI(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}function mh(r,e){var t=r.__data__;return cI(e)?t[typeof e=="string"?"string":"hash"]:t.map}function uI(r){var e=mh(this,r).delete(r);return this.size-=e?1:0,e}function fI(r){return mh(this,r).get(r)}function dI(r){return mh(this,r).has(r)}function hI(r,e){var t=mh(this,r),n=t.size;return t.set(r,e),this.size+=t.size==n?0:1,this}function au(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])}}au.prototype.clear=lI;au.prototype.delete=uI;au.prototype.get=fI;au.prototype.has=dI;au.prototype.set=hI;function _x(r,e){for(var t=-1,n=e.length,o=r.length;++t<n;)r[o+t]=e[t];return r}var Om=bx(Object.getPrototypeOf,Object),pI="[object Object]",gI=Function.prototype,mI=Object.prototype,xx=gI.toString,vI=mI.hasOwnProperty,yI=xx.call(Object);function bI(r){if(!ll(r)||lf(r)!=pI)return!1;var e=Om(r);if(e===null)return!0;var t=vI.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&xx.call(t)==yI}function _I(){this.__data__=new fl,this.size=0}function xI(r){var e=this.__data__,t=e.delete(r);return this.size=e.size,t}function SI(r){return this.__data__.get(r)}function CI(r){return this.__data__.has(r)}var wI=200;function AI(r,e){var t=this.__data__;if(t instanceof fl){var n=t.__data__;if(!od||n.length<wI-1)return n.push([r,e]),this.size=++t.size,this;t=this.__data__=new au(n)}return t.set(r,e),this.size=t.size,this}function Ca(r){var e=this.__data__=new fl(r);this.size=e.size}Ca.prototype.clear=_I;Ca.prototype.delete=xI;Ca.prototype.get=SI;Ca.prototype.has=CI;Ca.prototype.set=AI;function EI(r,e){return r&&ud(e,Lm(e),r)}function TI(r,e){return r&&ud(e,fd(e),r)}var Sx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ay=Sx&&typeof module=="object"&&module&&!module.nodeType&&module,kI=Ay&&Ay.exports===Sx,Ey=kI?Ra.Buffer:void 0,Ty=Ey?Ey.allocUnsafe:void 0;function Cx(r,e){if(e)return r.slice();var t=r.length,n=Ty?Ty(t):new r.constructor(t);return r.copy(n),n}function RI(r,e){for(var t=-1,n=r==null?0:r.length,o=0,a=[];++t<n;){var u=r[t];e(u,t,r)&&(a[o++]=u)}return a}function wx(){return[]}var II=Object.prototype,LI=II.propertyIsEnumerable,ky=Object.getOwnPropertySymbols,Mm=ky?function(r){return r==null?[]:(r=Object(r),RI(ky(r),function(e){return LI.call(r,e)}))}:wx;function OI(r,e){return ud(r,Mm(r),e)}var MI=Object.getOwnPropertySymbols,Ax=MI?function(r){for(var e=[];r;)_x(e,Mm(r)),r=Om(r);return e}:wx;function DI(r,e){return ud(r,Ax(r),e)}function Ex(r,e,t){var n=e(r);return tu(r)?n:_x(n,t(r))}function Z1(r){return Ex(r,Lm,Mm)}function PI(r){return Ex(r,fd,Ax)}var K1=su(Ra,"DataView"),Y1=su(Ra,"Promise"),X1=su(Ra,"Set"),Ry="[object Map]",NI="[object Object]",Iy="[object Promise]",Ly="[object Set]",Oy="[object WeakMap]",My="[object DataView]",jI=iu(K1),FI=iu(od),BI=iu(Y1),HI=iu(X1),qI=iu(V1),Hs=lf;(K1&&Hs(new K1(new ArrayBuffer(1)))!=My||od&&Hs(new od)!=Ry||Y1&&Hs(Y1.resolve())!=Iy||X1&&Hs(new X1)!=Ly||V1&&Hs(new V1)!=Oy)&&(Hs=function(r){var e=lf(r),t=e==NI?r.constructor:void 0,n=t?iu(t):"";if(n)switch(n){case jI:return My;case FI:return Ry;case BI:return Iy;case HI:return Ly;case qI:return Oy}return e});var zI=Object.prototype,$I=zI.hasOwnProperty;function UI(r){var e=r.length,t=new r.constructor(e);return e&&typeof r[0]=="string"&&$I.call(r,"index")&&(t.index=r.index,t.input=r.input),t}var sh=Ra.Uint8Array;function Dm(r){var e=new r.constructor(r.byteLength);return new sh(e).set(new sh(r)),e}function WI(r,e){var t=e?Dm(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.byteLength)}var VI=/\w*$/;function GI(r){var e=new r.constructor(r.source,VI.exec(r));return e.lastIndex=r.lastIndex,e}var Dy=lc?lc.prototype:void 0,Py=Dy?Dy.valueOf:void 0;function ZI(r){return Py?Object(Py.call(r)):{}}function Tx(r,e){var t=e?Dm(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}var KI="[object Boolean]",YI="[object Date]",XI="[object Map]",JI="[object Number]",QI="[object RegExp]",eL="[object Set]",tL="[object String]",rL="[object Symbol]",nL="[object ArrayBuffer]",oL="[object DataView]",iL="[object Float32Array]",sL="[object Float64Array]",aL="[object Int8Array]",lL="[object Int16Array]",cL="[object Int32Array]",uL="[object Uint8Array]",fL="[object Uint8ClampedArray]",dL="[object Uint16Array]",hL="[object Uint32Array]";function pL(r,e,t){var n=r.constructor;switch(e){case nL:return Dm(r);case KI:case YI:return new n(+r);case oL:return WI(r,t);case iL:case sL:case aL:case lL:case cL:case uL:case fL:case dL:case hL:return Tx(r,t);case XI:return new n;case JI:case tL:return new n(r);case QI:return GI(r);case eL:return new n;case rL:return ZI(r)}}function kx(r){return typeof r.constructor=="function"&&!km(r)?P9(Om(r)):{}}var gL="[object Map]";function mL(r){return ll(r)&&Hs(r)==gL}var Ny=tf&&tf.isMap,vL=Ny?Rm(Ny):mL,yL="[object Set]";function bL(r){return ll(r)&&Hs(r)==yL}var jy=tf&&tf.isSet,_L=jy?Rm(jy):bL,xL=1,SL=2,CL=4,Rx="[object Arguments]",wL="[object Array]",AL="[object Boolean]",EL="[object Date]",TL="[object Error]",Ix="[object Function]",kL="[object GeneratorFunction]",RL="[object Map]",IL="[object Number]",Lx="[object Object]",LL="[object RegExp]",OL="[object Set]",ML="[object String]",DL="[object Symbol]",PL="[object WeakMap]",NL="[object ArrayBuffer]",jL="[object DataView]",FL="[object Float32Array]",BL="[object Float64Array]",HL="[object Int8Array]",qL="[object Int16Array]",zL="[object Int32Array]",$L="[object Uint8Array]",UL="[object Uint8ClampedArray]",WL="[object Uint16Array]",VL="[object Uint32Array]",_n={};_n[Rx]=_n[wL]=_n[NL]=_n[jL]=_n[AL]=_n[EL]=_n[FL]=_n[BL]=_n[HL]=_n[qL]=_n[zL]=_n[RL]=_n[IL]=_n[Lx]=_n[LL]=_n[OL]=_n[ML]=_n[DL]=_n[$L]=_n[UL]=_n[WL]=_n[VL]=!0;_n[TL]=_n[Ix]=_n[PL]=!1;function Yd(r,e,t,n,o,a){var u,f=e&xL,d=e&SL,h=e&CL;if(u!==void 0)return u;if(!cc(r))return r;var x=tu(r);if(x){if(u=UI(r),!f)return fx(r,u)}else{var _=Hs(r),v=_==Ix||_==kL;if(rd(r))return Cx(r,f);if(_==Lx||_==Rx||v&&!o){if(u=d||v?{}:kx(r),!f)return d?DI(r,TI(u,r)):OI(r,EI(u,r))}else{if(!_n[_])return o?r:{};u=pL(r,_,f)}}a||(a=new Ca);var y=a.get(r);if(y)return y;a.set(r,u),_L(r)?r.forEach(function(w){u.add(Yd(w,e,t,w,r,a))}):vL(r)&&r.forEach(function(w,S){u.set(S,Yd(w,e,t,S,r,a))});var b=h?d?PI:Z1:d?fd:Lm,T=x?void 0:b(r);return U9(T||r,function(w,S){T&&(S=w,w=r[S]),hx(u,S,Yd(w,e,t,S,r,a))}),u}var GL=1,ZL=4;function Yu(r){return Yd(r,GL|ZL)}var KL="__lodash_hash_undefined__";function YL(r){return this.__data__.set(r,KL),this}function XL(r){return this.__data__.has(r)}function ah(r){var e=-1,t=r==null?0:r.length;for(this.__data__=new au;++e<t;)this.add(r[e])}ah.prototype.add=ah.prototype.push=YL;ah.prototype.has=XL;function JL(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 QL(r,e){return r.has(e)}var eO=1,tO=2;function Ox(r,e,t,n,o,a){var u=t&eO,f=r.length,d=e.length;if(f!=d&&!(u&&d>f))return!1;var h=a.get(r),x=a.get(e);if(h&&x)return h==e&&x==r;var _=-1,v=!0,y=t&tO?new ah:void 0;for(a.set(r,e),a.set(e,r);++_<f;){var b=r[_],T=e[_];if(n)var w=u?n(T,b,_,e,r,a):n(b,T,_,r,e,a);if(w!==void 0){if(w)continue;v=!1;break}if(y){if(!JL(e,function(S,E){if(!QL(y,E)&&(b===S||o(b,S,t,n,a)))return y.push(E)})){v=!1;break}}else if(!(b===T||o(b,T,t,n,a))){v=!1;break}}return a.delete(r),a.delete(e),v}function rO(r){var e=-1,t=Array(r.size);return r.forEach(function(n,o){t[++e]=[o,n]}),t}function nO(r){var e=-1,t=Array(r.size);return r.forEach(function(n){t[++e]=n}),t}var oO=1,iO=2,sO="[object Boolean]",aO="[object Date]",lO="[object Error]",cO="[object Map]",uO="[object Number]",fO="[object RegExp]",dO="[object Set]",hO="[object String]",pO="[object Symbol]",gO="[object ArrayBuffer]",mO="[object DataView]",Fy=lc?lc.prototype:void 0,sp=Fy?Fy.valueOf:void 0;function vO(r,e,t,n,o,a,u){switch(t){case mO:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset)return!1;r=r.buffer,e=e.buffer;case gO:return!(r.byteLength!=e.byteLength||!a(new sh(r),new sh(e)));case sO:case aO:case uO:return cd(+r,+e);case lO:return r.name==e.name&&r.message==e.message;case fO:case hO:return r==e+"";case cO:var f=rO;case dO:var d=n&oO;if(f||(f=nO),r.size!=e.size&&!d)return!1;var h=u.get(r);if(h)return h==e;n|=iO,u.set(r,e);var x=Ox(f(r),f(e),n,o,a,u);return u.delete(r),x;case pO:if(sp)return sp.call(r)==sp.call(e)}return!1}var yO=1,bO=Object.prototype,_O=bO.hasOwnProperty;function xO(r,e,t,n,o,a){var u=t&yO,f=Z1(r),d=f.length,h=Z1(e),x=h.length;if(d!=x&&!u)return!1;for(var _=d;_--;){var v=f[_];if(!(u?v in e:_O.call(e,v)))return!1}var y=a.get(r),b=a.get(e);if(y&&b)return y==e&&b==r;var T=!0;a.set(r,e),a.set(e,r);for(var w=u;++_<d;){v=f[_];var S=r[v],E=e[v];if(n)var R=u?n(E,S,v,e,r,a):n(S,E,v,r,e,a);if(!(R===void 0?S===E||o(S,E,t,n,a):R)){T=!1;break}w||(w=v=="constructor")}if(T&&!w){var I=r.constructor,P=e.constructor;I!=P&&"constructor"in r&&"constructor"in e&&!(typeof I=="function"&&I instanceof I&&typeof P=="function"&&P instanceof P)&&(T=!1)}return a.delete(r),a.delete(e),T}var SO=1,By="[object Arguments]",Hy="[object Array]",Bd="[object Object]",CO=Object.prototype,qy=CO.hasOwnProperty;function wO(r,e,t,n,o,a){var u=tu(r),f=tu(e),d=u?Hy:Hs(r),h=f?Hy:Hs(e);d=d==By?Bd:d,h=h==By?Bd:h;var x=d==Bd,_=h==Bd,v=d==h;if(v&&rd(r)){if(!rd(e))return!1;u=!0,x=!1}if(v&&!x)return a||(a=new Ca),u||Im(r)?Ox(r,e,t,n,o,a):vO(r,e,d,t,n,o,a);if(!(t&SO)){var y=x&&qy.call(r,"__wrapped__"),b=_&&qy.call(e,"__wrapped__");if(y||b){var T=y?r.value():r,w=b?e.value():e;return a||(a=new Ca),o(T,w,t,n,a)}}return v?(a||(a=new Ca),xO(r,e,t,n,o,a)):!1}function Mx(r,e,t,n,o){return r===e?!0:r==null||e==null||!ll(r)&&!ll(e)?r!==r&&e!==e:wO(r,e,t,n,Mx,o)}function AO(r){return function(e,t,n){for(var o=-1,a=Object(e),u=n(e),f=u.length;f--;){var d=u[++o];if(t(a[d],d,a)===!1)break}return e}}var EO=AO();function J1(r,e,t){(t!==void 0&&!cd(r[e],t)||t===void 0&&!(e in r))&&Tm(r,e,t)}function TO(r){return ll(r)&&ph(r)}function Q1(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}function kO(r){return ud(r,fd(r))}function RO(r,e,t,n,o,a,u){var f=Q1(r,t),d=Q1(e,t),h=u.get(d);if(h){J1(r,t,h);return}var x=a?a(f,d,t+"",r,e,u):void 0,_=x===void 0;if(_){var v=tu(d),y=!v&&rd(d),b=!v&&!y&&Im(d);x=d,v||y||b?tu(f)?x=f:TO(f)?x=fx(f):y?(_=!1,x=Cx(d,!0)):b?(_=!1,x=Tx(d,!0)):x=[]:bI(d)||G1(d)?(x=f,G1(f)?x=kO(f):(!cc(f)||Em(f))&&(x=kx(d))):_=!1}_&&(u.set(d,x),o(x,d,n,a,u),u.delete(d)),J1(r,t,x)}function Dx(r,e,t,n,o){r!==e&&EO(e,function(a,u){if(o||(o=new Ca),cc(a))RO(r,e,u,t,Dx,n,o);else{var f=n?n(Q1(r,u),a,u+"",r,e,o):void 0;f===void 0&&(f=a),J1(r,u,f)}},fd)}function Pm(r,e){return Mx(r,e)}var oc=Q9(function(r,e,t){Dx(r,e,t)}),Jt=(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))(Jt||{});class Ea{constructor(e,t,n={}){this.attrName=e,this.keyName=t;const o=Jt.TYPE&Jt.ATTRIBUTE;this.scope=n.scope!=null?n.scope&Jt.LEVEL|o:Jt.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 Xu extends Error{constructor(e){e="[Parchment] "+e,super(e),this.message=e,this.name=this.constructor.name}}const Px=class em{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 o=this.query(t);if(o==null)throw new Xu(`Unable to create ${t} blot`);const a=o,u=t instanceof Node||t.nodeType===Node.TEXT_NODE?t:a.create(n),f=new a(e,u,n);return em.blots.set(f.domNode,f),f}find(e,t=!1){return em.find(e,t)}query(e,t=Jt.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&Jt.LEVEL&Jt.BLOCK?n=this.types.block:e&Jt.LEVEL&Jt.INLINE&&(n=this.types.inline):e instanceof Element&&((e.getAttribute("class")||"").split(/\s+/).some(o=>(n=this.classes[o],!!n)),n=n||this.tags[e.tagName]),n==null?null:"scope"in n&&t&Jt.LEVEL&n.scope&&t&Jt.TYPE&n.scope?n:null}register(...e){return e.map(t=>{const n="blotName"in t,o="attrName"in t;if(!n&&!o)throw new Xu("Invalid definition");if(n&&t.blotName==="abstract")throw new Xu("Cannot register abstract class");const a=n?t.blotName:o?t.attrName:void 0;return this.types[a]=t,o?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})}};Px.blots=new WeakMap;let rf=Px;function zy(r,e){return(r.getAttribute("class")||"").split(/\s+/).filter(t=>t.indexOf(`${e}-`)===0)}class IO extends Ea{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){zy(e,this.keyName).forEach(t=>{e.classList.remove(t)}),e.classList.length===0&&e.removeAttribute("class")}value(e){const t=(zy(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""}}const Gs=IO;function ap(r){const e=r.split("-"),t=e.slice(1).map(n=>n[0].toUpperCase()+n.slice(1)).join("");return e[0]+t}class LO extends Ea{static keys(e){return(e.getAttribute("style")||"").split(";").map(t=>t.split(":")[0].trim())}add(e,t){return this.canAdd(e,t)?(e.style[ap(this.keyName)]=t,!0):!1}remove(e){e.style[ap(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")}value(e){const t=e.style[ap(this.keyName)];return this.canAdd(e,t)?t:""}}const uc=LO;class OO{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=rf.find(this.domNode);if(e==null)return;const t=Ea.keys(this.domNode),n=Gs.keys(this.domNode),o=uc.keys(this.domNode);t.concat(n).concat(o).forEach(a=>{const u=e.scroll.query(a,Jt.ATTRIBUTE);u instanceof Ea&&(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 vh=OO,Nx=class{constructor(e,t){this.scroll=e,this.domNode=t,rf.blots.set(t,this),this.prev=null,this.next=null}static create(e){if(this.tagName==null)throw new Xu("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),rf.blots.delete(this.domNode)}deleteAt(e,t){this.isolate(e,t).remove()}formatAt(e,t,n,o){const a=this.isolate(e,t);if(this.scroll.query(n,Jt.BLOT)!=null&&o)a.wrap(n,o);else if(this.scroll.query(n,Jt.ATTRIBUTE)!=null){const u=this.scroll.create(this.statics.scope);a.wrap(u),u.format(n,o)}}insertAt(e,t,n){const o=n==null?this.scroll.create("text",t):this.scroll.create(t,n),a=this.split(e);this.parent.insertBefore(o,a||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 Xu(`Cannot wrap ${e}`);return n.appendChild(this),n}};Nx.blotName="abstract";let jx=Nx;const Fx=class extends jx{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}}};Fx.scope=Jt.INLINE_BLOT;let MO=Fx;const Uo=MO;class DO{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(),o=0;for(;n;){if(n===e)return o;o+=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 o=n();for(;o;){const a=o.length();if(e<a||t&&e===a&&(o.next==null||o.next.length()!==0))return[o,e];e-=a,o=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[o,a]=this.find(e);let u=e-a;const f=this.iterator(o);let d=f();for(;d&&u<e+t;){const h=d.length();e>u?n(d,e-u,Math.min(t,u+h-e)):n(d,0,Math.min(h,e+t-u)),u+=h,d=f()}}map(e){return this.reduce((t,n)=>(t.push(e(n)),t),[])}reduce(e,t){const n=this.iterator();let o=n();for(;o;)t=e(t,o),o=n();return t}}function $y(r,e){const t=e.find(r);if(t)return t;try{return e.create(r)}catch{const n=e.create(Jt.INLINE);return Array.from(r.childNodes).forEach(o=>{n.domNode.appendChild(o)}),r.parentNode&&r.parentNode.replaceChild(n.domNode,r),n.attach(),n}}const Bx=class ec extends jx{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,ec.uiClass&&this.uiNode.classList.add(ec.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new DO,Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode).reverse().forEach(e=>{try{const t=$y(e,this.scroll);this.insertBefore(t,this.children.head||void 0)}catch(t){if(t instanceof Xu)return;throw t}})}deleteAt(e,t){if(e===0&&t===this.length())return this.remove();this.children.forEachAt(e,t,(n,o,a)=>{n.deleteAt(o,a)})}descendant(e,t=0){const[n,o]=this.children.find(t);return e.blotName==null&&e(n)||e.blotName!=null&&n instanceof e?[n,o]:n instanceof ec?n.descendant(e,o):[null,-1]}descendants(e,t=0,n=Number.MAX_VALUE){let o=[],a=n;return this.children.forEachAt(t,n,(u,f,d)=>{(e.blotName==null&&e(u)||e.blotName!=null&&u instanceof e)&&o.push(u),u instanceof ec&&(o=o.concat(u.descendants(e,f,a))),a-=d}),o}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===Jt.BLOCK_BLOT?(t.next!=null&&this.splitAfter(t),t.prev!=null&&this.splitAfter(t.prev),t.parent.unwrap(),e=!0):t instanceof ec?t.unwrap():t.remove())})}formatAt(e,t,n,o){this.children.forEachAt(e,t,(a,u,f)=>{a.formatAt(u,f,n,o)})}insertAt(e,t,n){const[o,a]=this.children.find(e);if(o)o.insertAt(a,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,o]=this.children.find(e,t),a=[[this,e]];return n instanceof ec?a.concat(n.path(o,t)):(n!=null&&a.push([n,o]),a)}removeChild(e){this.children.remove(e)}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return n instanceof ec&&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(),(o,a,u)=>{const f=o.split(a,t);f!=null&&n.appendChild(f)}),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=[],o=[];e.forEach(a=>{a.target===this.domNode&&a.type==="childList"&&(n.push(...a.addedNodes),o.push(...a.removedNodes))}),o.forEach(a=>{if(a.parentNode!=null&&a.tagName!=="IFRAME"&&document.body.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const u=this.scroll.find(a);u!=null&&(u.domNode.parentNode==null||u.domNode.parentNode===this.domNode)&&u.detach()}),n.filter(a=>a.parentNode===this.domNode&&a!==this.uiNode).sort((a,u)=>a===u?0:a.compareDocumentPosition(u)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(a=>{let u=null;a.nextSibling!=null&&(u=this.scroll.find(a.nextSibling));const f=$y(a,this.scroll);(f.next!==u||f.next==null)&&(f.parent!=null&&f.parent.removeChild(this),this.insertBefore(f,u||void 0))}),this.enforceAllowedChildren()}};Bx.uiClass="";let PO=Bx;const Us=PO;function NO(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 qu=class zu extends Us{static create(e){return super.create(e)}static formats(e,t){const n=t.query(zu.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 vh(this.domNode)}format(e,t){if(e===this.statics.blotName&&!t)this.children.forEach(n=>{n instanceof zu||(n=n.wrap(zu.blotName,!0)),this.attributes.copy(n)}),this.unwrap();else{const n=this.scroll.query(e,Jt.INLINE);if(n==null)return;n instanceof Ea?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,o){this.formats()[n]!=null||this.scroll.query(n,Jt.ATTRIBUTE)?this.isolate(e,t).format(n,o):super.formatAt(e,t,n,o)}optimize(e){super.optimize(e);const t=this.formats();if(Object.keys(t).length===0)return this.unwrap();const n=this.next;n instanceof zu&&n.prev===this&&NO(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 zu&&this.attributes.move(n),n}};qu.allowedChildren=[qu,Uo],qu.blotName="inline",qu.scope=Jt.INLINE_BLOT,qu.tagName="SPAN";let jO=qu;const Nm=jO,$u=class tm extends Us{static create(e){return super.create(e)}static formats(e,t){const n=t.query(tm.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 vh(this.domNode)}format(e,t){const n=this.scroll.query(e,Jt.BLOCK);n!=null&&(n instanceof Ea?this.attributes.attribute(n,t):e===this.statics.blotName&&!t?this.replaceWith(tm.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,o){this.scroll.query(n,Jt.BLOCK)!=null?this.format(n,o):super.formatAt(e,t,n,o)}insertAt(e,t,n){if(n==null||this.scroll.query(t,Jt.INLINE)!=null)super.insertAt(e,t,n);else{const o=this.split(e);if(o!=null){const a=this.scroll.create(t,n);o.parent.insertBefore(a,o)}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()}};$u.blotName="block",$u.scope=Jt.BLOCK_BLOT,$u.tagName="P",$u.allowedChildren=[Nm,$u,Uo];let FO=$u;const id=FO,rm=class extends Us{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,o){super.formatAt(e,t,n,o),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())}};rm.blotName="container",rm.scope=Jt.BLOCK_BLOT;let BO=rm;const yh=BO;class HO extends Uo{static formats(e,t){}format(e,t){super.formatAt(0,this.length(),e,t)}formatAt(e,t,n,o){e===0&&t===this.length()?this.format(n,o):super.formatAt(e,t,n,o)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const Ui=HO,qO={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},zO=100,Uu=class extends Us{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,qO),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=Jt.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,o){this.update(),super.formatAt(e,t,n,o)}insertAt(e,t,n){this.update(),super.insertAt(e,t,n)}optimize(e=[],t={}){super.optimize(t);const n=t.mutationsMap||new WeakMap;let o=Array.from(this.observer.takeRecords());for(;o.length>0;)e.push(o.pop());const a=(d,h=!0)=>{d==null||d===this||d.domNode.parentNode!=null&&(n.has(d.domNode)||n.set(d.domNode,[]),h&&a(d.parent))},u=d=>{n.has(d.domNode)&&(d instanceof Us&&d.children.forEach(u),n.delete(d.domNode),d.optimize(t))};let f=e;for(let d=0;f.length>0;d+=1){if(d>=zO)throw new Error("[Parchment] Maximum optimize iterations reached");for(f.forEach(h=>{const x=this.find(h.target,!0);x!=null&&(x.domNode===h.target&&(h.type==="childList"?(a(this.find(h.previousSibling,!1)),Array.from(h.addedNodes).forEach(_=>{const v=this.find(_,!1);a(v,!1),v instanceof Us&&v.children.forEach(y=>{a(y,!1)})})):h.type==="attributes"&&a(x.prev)),a(x))}),this.children.forEach(u),f=Array.from(this.observer.takeRecords()),o=f.slice();o.length>0;)e.push(o.pop())}}update(e,t={}){e=e||this.observer.takeRecords();const n=new WeakMap;e.map(o=>{const a=this.find(o.target,!0);return a==null?null:n.has(a.domNode)?(n.get(a.domNode).push(o),null):(n.set(a.domNode,[o]),a)}).forEach(o=>{o!=null&&o!==this&&n.has(o.domNode)&&o.update(n.get(o.domNode)||[],t)}),t.mutationsMap=n,n.has(this.domNode)&&super.update(n.get(this.domNode),t),this.optimize(e,t)}};Uu.blotName="scroll",Uu.defaultChild=id,Uu.allowedChildren=[id,yh],Uu.scope=Jt.BLOCK_BLOT,Uu.tagName="DIV";let $O=Uu;const jm=$O,nm=class Hx extends Uo{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 Hx&&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}};nm.blotName="text",nm.scope=Jt.INLINE_BLOT;let UO=nm;const lh=UO,WO=Object.freeze(Object.defineProperty({__proto__:null,Attributor:Ea,AttributorStore:vh,BlockBlot:id,ClassAttributor:Gs,ContainerBlot:yh,EmbedBlot:Ui,InlineBlot:Nm,LeafBlot:Uo,ParentBlot:Us,Registry:rf,Scope:Jt,ScrollBlot:jm,StyleAttributor:uc,TextBlot:lh},Symbol.toStringTag,{value:"Module"}));var Hd={exports:{}},lp,Uy;function VO(){if(Uy)return lp;Uy=1;var r=-1,e=1,t=0;function n(F,W,V,ee,ue){if(F===W)return F?[[t,F]]:[];if(V!=null){var le=G(F,W,V);if(le)return le}var de=f(F,W),fe=F.substring(0,de);F=F.substring(de),W=W.substring(de),de=h(F,W);var ve=F.substring(F.length-de);F=F.substring(0,F.length-de),W=W.substring(0,W.length-de);var te=o(F,W);return fe&&te.unshift([t,fe]),ve&&te.push([t,ve]),E(te,ue),ee&&_(te),te}function o(F,W){var V;if(!F)return[[e,W]];if(!W)return[[r,F]];var ee=F.length>W.length?F:W,ue=F.length>W.length?W:F,le=ee.indexOf(ue);if(le!==-1)return V=[[e,ee.substring(0,le)],[t,ue],[e,ee.substring(le+ue.length)]],F.length>W.length&&(V[0][0]=V[2][0]=r),V;if(ue.length===1)return[[r,F],[e,W]];var de=x(F,W);if(de){var fe=de[0],ve=de[1],te=de[2],ce=de[3],pe=de[4],ye=n(fe,te),Ie=n(ve,ce);return ye.concat([[t,pe]],Ie)}return a(F,W)}function a(F,W){for(var V=F.length,ee=W.length,ue=Math.ceil((V+ee)/2),le=ue,de=2*ue,fe=new Array(de),ve=new Array(de),te=0;te<de;te++)fe[te]=-1,ve[te]=-1;fe[le+1]=0,ve[le+1]=0;for(var ce=V-ee,pe=ce%2!==0,ye=0,Ie=0,oe=0,we=0,Oe=0;Oe<ue;Oe++){for(var Ue=-Oe+ye;Ue<=Oe-Ie;Ue+=2){var We=le+Ue,Se;Ue===-Oe||Ue!==Oe&&fe[We-1]<fe[We+1]?Se=fe[We+1]:Se=fe[We-1]+1;for(var _e=Se-Ue;Se<V&&_e<ee&&F.charAt(Se)===W.charAt(_e);)Se++,_e++;if(fe[We]=Se,Se>V)Ie+=2;else if(_e>ee)ye+=2;else if(pe){var Ce=le+ce-Ue;if(Ce>=0&&Ce<de&&ve[Ce]!==-1){var Te=V-ve[Ce];if(Se>=Te)return u(F,W,Se,_e)}}}for(var Ne=-Oe+oe;Ne<=Oe-we;Ne+=2){var Ce=le+Ne,Te;Ne===-Oe||Ne!==Oe&&ve[Ce-1]<ve[Ce+1]?Te=ve[Ce+1]:Te=ve[Ce-1]+1;for(var ot=Te-Ne;Te<V&&ot<ee&&F.charAt(V-Te-1)===W.charAt(ee-ot-1);)Te++,ot++;if(ve[Ce]=Te,Te>V)we+=2;else if(ot>ee)oe+=2;else if(!pe){var We=le+ce-Ne;if(We>=0&&We<de&&fe[We]!==-1){var Se=fe[We],_e=le+Se-We;if(Te=V-Te,Se>=Te)return u(F,W,Se,_e)}}}}return[[r,F],[e,W]]}function u(F,W,V,ee){var ue=F.substring(0,V),le=W.substring(0,ee),de=F.substring(V),fe=W.substring(ee),ve=n(ue,le),te=n(de,fe);return ve.concat(te)}function f(F,W){if(!F||!W||F.charAt(0)!==W.charAt(0))return 0;for(var V=0,ee=Math.min(F.length,W.length),ue=ee,le=0;V<ue;)F.substring(le,ue)==W.substring(le,ue)?(V=ue,le=V):ee=ue,ue=Math.floor((ee-V)/2+V);return R(F.charCodeAt(ue-1))&&ue--,ue}function d(F,W){var V=F.length,ee=W.length;if(V==0||ee==0)return 0;V>ee?F=F.substring(V-ee):V<ee&&(W=W.substring(0,V));var ue=Math.min(V,ee);if(F==W)return ue;for(var le=0,de=1;;){var fe=F.substring(ue-de),ve=W.indexOf(fe);if(ve==-1)return le;de+=ve,(ve==0||F.substring(ue-de)==W.substring(0,de))&&(le=de,de++)}}function h(F,W){if(!F||!W||F.slice(-1)!==W.slice(-1))return 0;for(var V=0,ee=Math.min(F.length,W.length),ue=ee,le=0;V<ue;)F.substring(F.length-ue,F.length-le)==W.substring(W.length-ue,W.length-le)?(V=ue,le=V):ee=ue,ue=Math.floor((ee-V)/2+V);return I(F.charCodeAt(F.length-ue))&&ue--,ue}function x(F,W){var V=F.length>W.length?F:W,ee=F.length>W.length?W:F;if(V.length<4||ee.length*2<V.length)return null;function ue(Ie,oe,we){for(var Oe=Ie.substring(we,we+Math.floor(Ie.length/4)),Ue=-1,We="",Se,_e,Ce,Te;(Ue=oe.indexOf(Oe,Ue+1))!==-1;){var Ne=f(Ie.substring(we),oe.substring(Ue)),ot=h(Ie.substring(0,we),oe.substring(0,Ue));We.length<ot+Ne&&(We=oe.substring(Ue-ot,Ue)+oe.substring(Ue,Ue+Ne),Se=Ie.substring(0,we-ot),_e=Ie.substring(we+Ne),Ce=oe.substring(0,Ue-ot),Te=oe.substring(Ue+Ne))}return We.length*2>=Ie.length?[Se,_e,Ce,Te,We]:null}var le=ue(V,ee,Math.ceil(V.length/4)),de=ue(V,ee,Math.ceil(V.length/2)),fe;if(!le&&!de)return null;de?le?fe=le[4].length>de[4].length?le:de:fe=de:fe=le;var ve,te,ce,pe;F.length>W.length?(ve=fe[0],te=fe[1],ce=fe[2],pe=fe[3]):(ce=fe[0],pe=fe[1],ve=fe[2],te=fe[3]);var ye=fe[4];return[ve,te,ce,pe,ye]}function _(F){for(var W=!1,V=[],ee=0,ue=null,le=0,de=0,fe=0,ve=0,te=0;le<F.length;)F[le][0]==t?(V[ee++]=le,de=ve,fe=te,ve=0,te=0,ue=F[le][1]):(F[le][0]==e?ve+=F[le][1].length:te+=F[le][1].length,ue&&ue.length<=Math.max(de,fe)&&ue.length<=Math.max(ve,te)&&(F.splice(V[ee-1],0,[r,ue]),F[V[ee-1]+1][0]=e,ee--,ee--,le=ee>0?V[ee-1]:-1,de=0,fe=0,ve=0,te=0,ue=null,W=!0)),le++;for(W&&E(F),S(F),le=1;le<F.length;){if(F[le-1][0]==r&&F[le][0]==e){var ce=F[le-1][1],pe=F[le][1],ye=d(ce,pe),Ie=d(pe,ce);ye>=Ie?(ye>=ce.length/2||ye>=pe.length/2)&&(F.splice(le,0,[t,pe.substring(0,ye)]),F[le-1][1]=ce.substring(0,ce.length-ye),F[le+1][1]=pe.substring(ye),le++):(Ie>=ce.length/2||Ie>=pe.length/2)&&(F.splice(le,0,[t,ce.substring(0,Ie)]),F[le-1][0]=e,F[le-1][1]=pe.substring(0,pe.length-Ie),F[le+1][0]=r,F[le+1][1]=ce.substring(Ie),le++),le++}le++}}var v=/[^a-zA-Z0-9]/,y=/\s/,b=/[\r\n]/,T=/\n\r?\n$/,w=/^\r?\n\r?\n/;function S(F){function W(Ie,oe){if(!Ie||!oe)return 6;var we=Ie.charAt(Ie.length-1),Oe=oe.charAt(0),Ue=we.match(v),We=Oe.match(v),Se=Ue&&we.match(y),_e=We&&Oe.match(y),Ce=Se&&we.match(b),Te=_e&&Oe.match(b),Ne=Ce&&Ie.match(T),ot=Te&&oe.match(w);return Ne||ot?5:Ce||Te?4:Ue&&!Se&&_e?3:Se||_e?2:Ue||We?1:0}for(var V=1;V<F.length-1;){if(F[V-1][0]==t&&F[V+1][0]==t){var ee=F[V-1][1],ue=F[V][1],le=F[V+1][1],de=h(ee,ue);if(de){var fe=ue.substring(ue.length-de);ee=ee.substring(0,ee.length-de),ue=fe+ue.substring(0,ue.length-de),le=fe+le}for(var ve=ee,te=ue,ce=le,pe=W(ee,ue)+W(ue,le);ue.charAt(0)===le.charAt(0);){ee+=ue.charAt(0),ue=ue.substring(1)+le.charAt(0),le=le.substring(1);var ye=W(ee,ue)+W(ue,le);ye>=pe&&(pe=ye,ve=ee,te=ue,ce=le)}F[V-1][1]!=ve&&(ve?F[V-1][1]=ve:(F.splice(V-1,1),V--),F[V][1]=te,ce?F[V+1][1]=ce:(F.splice(V+1,1),V--))}V++}}function E(F,W){F.push([t,""]);for(var V=0,ee=0,ue=0,le="",de="",fe;V<F.length;){if(V<F.length-1&&!F[V][1]){F.splice(V,1);continue}switch(F[V][0]){case e:ue++,de+=F[V][1],V++;break;case r:ee++,le+=F[V][1],V++;break;case t:var ve=V-ue-ee-1;if(W){if(ve>=0&&j(F[ve][1])){var te=F[ve][1].slice(-1);if(F[ve][1]=F[ve][1].slice(0,-1),le=te+le,de=te+de,!F[ve][1]){F.splice(ve,1),V--;var ce=ve-1;F[ce]&&F[ce][0]===e&&(ue++,de=F[ce][1]+de,ce--),F[ce]&&F[ce][0]===r&&(ee++,le=F[ce][1]+le,ce--),ve=ce}}if(P(F[V][1])){var te=F[V][1].charAt(0);F[V][1]=F[V][1].slice(1),le+=te,de+=te}}if(V<F.length-1&&!F[V][1]){F.splice(V,1);break}if(le.length>0||de.length>0){le.length>0&&de.length>0&&(fe=f(de,le),fe!==0&&(ve>=0?F[ve][1]+=de.substring(0,fe):(F.splice(0,0,[t,de.substring(0,fe)]),V++),de=de.substring(fe),le=le.substring(fe)),fe=h(de,le),fe!==0&&(F[V][1]=de.substring(de.length-fe)+F[V][1],de=de.substring(0,de.length-fe),le=le.substring(0,le.length-fe)));var pe=ue+ee;le.length===0&&de.length===0?(F.splice(V-pe,pe),V=V-pe):le.length===0?(F.splice(V-pe,pe,[e,de]),V=V-pe+1):de.length===0?(F.splice(V-pe,pe,[r,le]),V=V-pe+1):(F.splice(V-pe,pe,[r,le],[e,de]),V=V-pe+2)}V!==0&&F[V-1][0]===t?(F[V-1][1]+=F[V][1],F.splice(V,1)):V++,ue=0,ee=0,le="",de="";break}}F[F.length-1][1]===""&&F.pop();var ye=!1;for(V=1;V<F.length-1;)F[V-1][0]===t&&F[V+1][0]===t&&(F[V][1].substring(F[V][1].length-F[V-1][1].length)===F[V-1][1]?(F[V][1]=F[V-1][1]+F[V][1].substring(0,F[V][1].length-F[V-1][1].length),F[V+1][1]=F[V-1][1]+F[V+1][1],F.splice(V-1,1),ye=!0):F[V][1].substring(0,F[V+1][1].length)==F[V+1][1]&&(F[V-1][1]+=F[V+1][1],F[V][1]=F[V][1].substring(F[V+1][1].length)+F[V+1][1],F.splice(V+1,1),ye=!0)),V++;ye&&E(F,W)}function R(F){return F>=55296&&F<=56319}function I(F){return F>=56320&&F<=57343}function P(F){return I(F.charCodeAt(0))}function j(F){return R(F.charCodeAt(F.length-1))}function q(F){for(var W=[],V=0;V<F.length;V++)F[V][1].length>0&&W.push(F[V]);return W}function $(F,W,V,ee){return j(F)||P(ee)?null:q([[t,F],[r,W],[e,V],[t,ee]])}function G(F,W,V){var ee=typeof V=="number"?{index:V,length:0}:V.oldRange,ue=typeof V=="number"?null:V.newRange,le=F.length,de=W.length;if(ee.length===0&&(ue===null||ue.length===0)){var fe=ee.index,ve=F.slice(0,fe),te=F.slice(fe),ce=ue?ue.index:null;e:{var pe=fe+de-le;if(ce!==null&&ce!==pe||pe<0||pe>de)break e;var ye=W.slice(0,pe),Ie=W.slice(pe);if(Ie!==te)break e;var oe=Math.min(fe,pe),we=ve.slice(0,oe),Oe=ye.slice(0,oe);if(we!==Oe)break e;var Ue=ve.slice(oe),We=ye.slice(oe);return $(we,Ue,We,te)}e:{if(ce!==null&&ce!==fe)break e;var Se=fe,ye=W.slice(0,Se),Ie=W.slice(Se);if(ye!==ve)break e;var _e=Math.min(le-Se,de-Se),Ce=te.slice(te.length-_e),Te=Ie.slice(Ie.length-_e);if(Ce!==Te)break e;var Ue=te.slice(0,te.length-_e),We=Ie.slice(0,Ie.length-_e);return $(ve,Ue,We,Ce)}}if(ee.length>0&&ue&&ue.length===0)e:{var we=F.slice(0,ee.index),Ce=F.slice(ee.index+ee.length),oe=we.length,_e=Ce.length;if(de<oe+_e)break e;var Oe=W.slice(0,oe),Te=W.slice(de-_e);if(we!==Oe||Ce!==Te)break e;var Ue=F.slice(oe,le-_e),We=W.slice(oe,de-_e);return $(we,Ue,We,Ce)}return null}function re(F,W,V,ee){return n(F,W,V,ee,!0)}return re.INSERT=e,re.DELETE=r,re.EQUAL=t,lp=re,lp}var $f={exports:{}};$f.exports;var Wy;function qx(){return Wy||(Wy=1,function(r,e){var t=200,n="__lodash_hash_undefined__",o=9007199254740991,a="[object Arguments]",u="[object Array]",f="[object Boolean]",d="[object Date]",h="[object Error]",x="[object Function]",_="[object GeneratorFunction]",v="[object Map]",y="[object Number]",b="[object Object]",T="[object Promise]",w="[object RegExp]",S="[object Set]",E="[object String]",R="[object Symbol]",I="[object WeakMap]",P="[object ArrayBuffer]",j="[object DataView]",q="[object Float32Array]",$="[object Float64Array]",G="[object Int8Array]",re="[object Int16Array]",F="[object Int32Array]",W="[object Uint8Array]",V="[object Uint8ClampedArray]",ee="[object Uint16Array]",ue="[object Uint32Array]",le=/[\\^$.*+?()[\]{}|]/g,de=/\w*$/,fe=/^\[object .+?Constructor\]$/,ve=/^(?:0|[1-9]\d*)$/,te={};te[a]=te[u]=te[P]=te[j]=te[f]=te[d]=te[q]=te[$]=te[G]=te[re]=te[F]=te[v]=te[y]=te[b]=te[w]=te[S]=te[E]=te[R]=te[W]=te[V]=te[ee]=te[ue]=!0,te[h]=te[x]=te[I]=!1;var ce=typeof Co=="object"&&Co&&Co.Object===Object&&Co,pe=typeof self=="object"&&self&&self.Object===Object&&self,ye=ce||pe||Function("return this")(),Ie=e&&!e.nodeType&&e,oe=Ie&&!0&&r&&!r.nodeType&&r,we=oe&&oe.exports===Ie;function Oe(D,J){return D.set(J[0],J[1]),D}function Ue(D,J){return D.add(J),D}function We(D,J){for(var me=-1,Ge=D?D.length:0;++me<Ge&&J(D[me],me,D)!==!1;);return D}function Se(D,J){for(var me=-1,Ge=J.length,Yt=D.length;++me<Ge;)D[Yt+me]=J[me];return D}function _e(D,J,me,Ge){for(var Yt=-1,Ut=D?D.length:0;++Yt<Ut;)me=J(me,D[Yt],Yt,D);return me}function Ce(D,J){for(var me=-1,Ge=Array(D);++me<D;)Ge[me]=J(me);return Ge}function Te(D,J){return D==null?void 0:D[J]}function Ne(D){var J=!1;if(D!=null&&typeof D.toString!="function")try{J=!!(D+"")}catch{}return J}function ot(D){var J=-1,me=Array(D.size);return D.forEach(function(Ge,Yt){me[++J]=[Yt,Ge]}),me}function $e(D,J){return function(me){return D(J(me))}}function tt(D){var J=-1,me=Array(D.size);return D.forEach(function(Ge){me[++J]=Ge}),me}var at=Array.prototype,De=Function.prototype,Ke=Object.prototype,yt=ye["__core-js_shared__"],bt=function(){var D=/[^.]+$/.exec(yt&&yt.keys&&yt.keys.IE_PROTO||"");return D?"Symbol(src)_1."+D:""}(),_t=De.toString,At=Ke.hasOwnProperty,qe=Ke.toString,Qe=RegExp("^"+_t.call(At).replace(le,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),St=we?ye.Buffer:void 0,Dt=ye.Symbol,Et=ye.Uint8Array,Ze=$e(Object.getPrototypeOf,Object),It=Object.create,Ot=Ke.propertyIsEnumerable,pr=at.splice,br=Object.getOwnPropertySymbols,Or=St?St.isBuffer:void 0,Ee=$e(Object.keys,Object),ae=Pt(ye,"DataView"),st=Pt(ye,"Map"),mt=Pt(ye,"Promise"),Ft=Pt(ye,"Set"),Rt=Pt(ye,"WeakMap"),Mt=Pt(Object,"create"),Qt=en(ae),qt=en(st),sr=en(mt),er=en(Ft),_r=en(Rt),fr=Dt?Dt.prototype:void 0,lt=fr?fr.valueOf:void 0;function it(D){var J=-1,me=D?D.length:0;for(this.clear();++J<me;){var Ge=D[J];this.set(Ge[0],Ge[1])}}function Fe(){this.__data__=Mt?Mt(null):{}}function ut(D){return this.has(D)&&delete this.__data__[D]}function nt(D){var J=this.__data__;if(Mt){var me=J[D];return me===n?void 0:me}return At.call(J,D)?J[D]:void 0}function $t(D){var J=this.__data__;return Mt?J[D]!==void 0:At.call(J,D)}function wr(D,J){var me=this.__data__;return me[D]=Mt&&J===void 0?n:J,this}it.prototype.clear=Fe,it.prototype.delete=ut,it.prototype.get=nt,it.prototype.has=$t,it.prototype.set=wr;function ne(D){var J=-1,me=D?D.length:0;for(this.clear();++J<me;){var Ge=D[J];this.set(Ge[0],Ge[1])}}function He(){this.__data__=[]}function xe(D){var J=this.__data__,me=Qn(J,D);if(me<0)return!1;var Ge=J.length-1;return me==Ge?J.pop():pr.call(J,me,1),!0}function Ye(D){var J=this.__data__,me=Qn(J,D);return me<0?void 0:J[me][1]}function xt(D){return Qn(this.__data__,D)>-1}function Tt(D,J){var me=this.__data__,Ge=Qn(me,D);return Ge<0?me.push([D,J]):me[Ge][1]=J,this}ne.prototype.clear=He,ne.prototype.delete=xe,ne.prototype.get=Ye,ne.prototype.has=xt,ne.prototype.set=Tt;function kt(D){var J=-1,me=D?D.length:0;for(this.clear();++J<me;){var Ge=D[J];this.set(Ge[0],Ge[1])}}function wt(){this.__data__={hash:new it,map:new(st||ne),string:new it}}function or(D){return ht(this,D).delete(D)}function Gt(D){return ht(this,D).get(D)}function rr(D){return ht(this,D).has(D)}function gr(D,J){return ht(this,D).set(D,J),this}kt.prototype.clear=wt,kt.prototype.delete=or,kt.prototype.get=Gt,kt.prototype.has=rr,kt.prototype.set=gr;function Kt(D){this.__data__=new ne(D)}function jr(){this.__data__=new ne}function zr(D){return this.__data__.delete(D)}function vn(D){return this.__data__.get(D)}function Fr(D){return this.__data__.has(D)}function kn(D,J){var me=this.__data__;if(me instanceof ne){var Ge=me.__data__;if(!st||Ge.length<t-1)return Ge.push([D,J]),this;me=this.__data__=new kt(Ge)}return me.set(D,J),this}Kt.prototype.clear=jr,Kt.prototype.delete=zr,Kt.prototype.get=vn,Kt.prototype.has=Fr,Kt.prototype.set=kn;function hn(D,J){var me=xi(D)||to(D)?Ce(D.length,String):[],Ge=me.length,Yt=!!Ge;for(var Ut in D)At.call(D,Ut)&&!(Yt&&(Ut=="length"||Sn(Ut,Ge)))&&me.push(Ut);return me}function Jn(D,J,me){var Ge=D[J];(!(At.call(D,J)&&Un(Ge,me))||me===void 0&&!(J in D))&&(D[J]=me)}function Qn(D,J){for(var me=D.length;me--;)if(Un(D[me][0],J))return me;return-1}function sn(D,J){return D&&Pe(J,Pr(J),D)}function Fn(D,J,me,Ge,Yt,Ut,mr){var Cr;if(Ge&&(Cr=Ut?Ge(D,Yt,Ut,mr):Ge(D)),Cr!==void 0)return Cr;if(!no(D))return D;var dr=xi(D);if(dr){if(Cr=Sr(D),!J)return ie(D,Cr)}else{var Er=Bt(D),tn=Er==x||Er==_;if(Mn(D))return In(D,J);if(Er==b||Er==a||tn&&!Ut){if(Ne(D))return Ut?D:{};if(Cr=Jr(tn?{}:D),!J)return Re(D,sn(Cr,D))}else{if(!te[Er])return Ut?D:{};Cr=xn(D,Er,Fn,J)}}mr||(mr=new Kt);var Dn=mr.get(D);if(Dn)return Dn;if(mr.set(D,Cr),!dr)var Yr=me?Ve(D):Pr(D);return We(Yr||D,function($r,rn){Yr&&(rn=$r,$r=D[rn]),Jn(Cr,rn,Fn($r,J,me,Ge,rn,D,mr))}),Cr}function Rn(D){return no(D)?It(D):{}}function vo(D,J,me){var Ge=J(D);return xi(D)?Ge:Se(Ge,me(D))}function Ao(D){return qe.call(D)}function Eo(D){if(!no(D)||$n(D))return!1;var J=Si(D)||Ne(D)?Qe:fe;return J.test(en(D))}function On(D){if(!To(D))return Ee(D);var J=[];for(var me in Object(D))At.call(D,me)&&me!="constructor"&&J.push(me);return J}function In(D,J){if(J)return D.slice();var me=new D.constructor(D.length);return D.copy(me),me}function pn(D){var J=new D.constructor(D.byteLength);return new Et(J).set(new Et(D)),J}function eo(D,J){var me=J?pn(D.buffer):D.buffer;return new D.constructor(me,D.byteOffset,D.byteLength)}function an(D,J,me){var Ge=J?me(ot(D),!0):ot(D);return _e(Ge,Oe,new D.constructor)}function yn(D){var J=new D.constructor(D.source,de.exec(D));return J.lastIndex=D.lastIndex,J}function L(D,J,me){var Ge=J?me(tt(D),!0):tt(D);return _e(Ge,Ue,new D.constructor)}function H(D){return lt?Object(lt.call(D)):{}}function X(D,J){var me=J?pn(D.buffer):D.buffer;return new D.constructor(me,D.byteOffset,D.length)}function ie(D,J){var me=-1,Ge=D.length;for(J||(J=Array(Ge));++me<Ge;)J[me]=D[me];return J}function Pe(D,J,me,Ge){me||(me={});for(var Yt=-1,Ut=J.length;++Yt<Ut;){var mr=J[Yt],Cr=void 0;Jn(me,mr,Cr===void 0?D[mr]:Cr)}return me}function Re(D,J){return Pe(D,Ht(D),J)}function Ve(D){return vo(D,Pr,Ht)}function ht(D,J){var me=D.__data__;return uo(J)?me[typeof J=="string"?"string":"hash"]:me.map}function Pt(D,J){var me=Te(D,J);return Eo(me)?me:void 0}var Ht=br?$e(br,Object):Ar,Bt=Ao;(ae&&Bt(new ae(new ArrayBuffer(1)))!=j||st&&Bt(new st)!=v||mt&&Bt(mt.resolve())!=T||Ft&&Bt(new Ft)!=S||Rt&&Bt(new Rt)!=I)&&(Bt=function(D){var J=qe.call(D),me=J==b?D.constructor:void 0,Ge=me?en(me):void 0;if(Ge)switch(Ge){case Qt:return j;case qt:return v;case sr:return T;case er:return S;case _r:return I}return J});function Sr(D){var J=D.length,me=D.constructor(J);return J&&typeof D[0]=="string"&&At.call(D,"index")&&(me.index=D.index,me.input=D.input),me}function Jr(D){return typeof D.constructor=="function"&&!To(D)?Rn(Ze(D)):{}}function xn(D,J,me,Ge){var Yt=D.constructor;switch(J){case P:return pn(D);case f:case d:return new Yt(+D);case j:return eo(D,Ge);case q:case $:case G:case re:case F:case W:case V:case ee:case ue:return X(D,Ge);case v:return an(D,Ge,me);case y:case E:return new Yt(D);case w:return yn(D);case S:return L(D,Ge,me);case R:return H(D)}}function Sn(D,J){return J=J??o,!!J&&(typeof D=="number"||ve.test(D))&&D>-1&&D%1==0&&D<J}function uo(D){var J=typeof D;return J=="string"||J=="number"||J=="symbol"||J=="boolean"?D!=="__proto__":D===null}function $n(D){return!!bt&&bt in D}function To(D){var J=D&&D.constructor,me=typeof J=="function"&&J.prototype||Ke;return D===me}function en(D){if(D!=null){try{return _t.call(D)}catch{}try{return D+""}catch{}}return""}function yo(D){return Fn(D,!0,!0)}function Un(D,J){return D===J||D!==D&&J!==J}function to(D){return si(D)&&At.call(D,"callee")&&(!Ot.call(D,"callee")||qe.call(D)==a)}var xi=Array.isArray;function ii(D){return D!=null&&ro(D.length)&&!Si(D)}function si(D){return Vo(D)&&ii(D)}var Mn=Or||Mr;function Si(D){var J=no(D)?qe.call(D):"";return J==x||J==_}function ro(D){return typeof D=="number"&&D>-1&&D%1==0&&D<=o}function no(D){var J=typeof D;return!!D&&(J=="object"||J=="function")}function Vo(D){return!!D&&typeof D=="object"}function Pr(D){return ii(D)?hn(D):On(D)}function Ar(){return[]}function Mr(){return!1}r.exports=yo}($f,$f.exports)),$f.exports}var Uf={exports:{}};Uf.exports;var Vy;function zx(){return Vy||(Vy=1,function(r,e){var t=200,n="__lodash_hash_undefined__",o=1,a=2,u=9007199254740991,f="[object Arguments]",d="[object Array]",h="[object AsyncFunction]",x="[object Boolean]",_="[object Date]",v="[object Error]",y="[object Function]",b="[object GeneratorFunction]",T="[object Map]",w="[object Number]",S="[object Null]",E="[object Object]",R="[object Promise]",I="[object Proxy]",P="[object RegExp]",j="[object Set]",q="[object String]",$="[object Symbol]",G="[object Undefined]",re="[object WeakMap]",F="[object ArrayBuffer]",W="[object DataView]",V="[object Float32Array]",ee="[object Float64Array]",ue="[object Int8Array]",le="[object Int16Array]",de="[object Int32Array]",fe="[object Uint8Array]",ve="[object Uint8ClampedArray]",te="[object Uint16Array]",ce="[object Uint32Array]",pe=/[\\^$.*+?()[\]{}|]/g,ye=/^\[object .+?Constructor\]$/,Ie=/^(?:0|[1-9]\d*)$/,oe={};oe[V]=oe[ee]=oe[ue]=oe[le]=oe[de]=oe[fe]=oe[ve]=oe[te]=oe[ce]=!0,oe[f]=oe[d]=oe[F]=oe[x]=oe[W]=oe[_]=oe[v]=oe[y]=oe[T]=oe[w]=oe[E]=oe[P]=oe[j]=oe[q]=oe[re]=!1;var we=typeof Co=="object"&&Co&&Co.Object===Object&&Co,Oe=typeof self=="object"&&self&&self.Object===Object&&self,Ue=we||Oe||Function("return this")(),We=e&&!e.nodeType&&e,Se=We&&!0&&r&&!r.nodeType&&r,_e=Se&&Se.exports===We,Ce=_e&&we.process,Te=function(){try{return Ce&&Ce.binding&&Ce.binding("util")}catch{}}(),Ne=Te&&Te.isTypedArray;function ot(D,J){for(var me=-1,Ge=D==null?0:D.length,Yt=0,Ut=[];++me<Ge;){var mr=D[me];J(mr,me,D)&&(Ut[Yt++]=mr)}return Ut}function $e(D,J){for(var me=-1,Ge=J.length,Yt=D.length;++me<Ge;)D[Yt+me]=J[me];return D}function tt(D,J){for(var me=-1,Ge=D==null?0:D.length;++me<Ge;)if(J(D[me],me,D))return!0;return!1}function at(D,J){for(var me=-1,Ge=Array(D);++me<D;)Ge[me]=J(me);return Ge}function De(D){return function(J){return D(J)}}function Ke(D,J){return D.has(J)}function yt(D,J){return D==null?void 0:D[J]}function bt(D){var J=-1,me=Array(D.size);return D.forEach(function(Ge,Yt){me[++J]=[Yt,Ge]}),me}function _t(D,J){return function(me){return D(J(me))}}function At(D){var J=-1,me=Array(D.size);return D.forEach(function(Ge){me[++J]=Ge}),me}var qe=Array.prototype,Qe=Function.prototype,St=Object.prototype,Dt=Ue["__core-js_shared__"],Et=Qe.toString,Ze=St.hasOwnProperty,It=function(){var D=/[^.]+$/.exec(Dt&&Dt.keys&&Dt.keys.IE_PROTO||"");return D?"Symbol(src)_1."+D:""}(),Ot=St.toString,pr=RegExp("^"+Et.call(Ze).replace(pe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),br=_e?Ue.Buffer:void 0,Or=Ue.Symbol,Ee=Ue.Uint8Array,ae=St.propertyIsEnumerable,st=qe.splice,mt=Or?Or.toStringTag:void 0,Ft=Object.getOwnPropertySymbols,Rt=br?br.isBuffer:void 0,Mt=_t(Object.keys,Object),Qt=Ht(Ue,"DataView"),qt=Ht(Ue,"Map"),sr=Ht(Ue,"Promise"),er=Ht(Ue,"Set"),_r=Ht(Ue,"WeakMap"),fr=Ht(Object,"create"),lt=en(Qt),it=en(qt),Fe=en(sr),ut=en(er),nt=en(_r),$t=Or?Or.prototype:void 0,wr=$t?$t.valueOf:void 0;function ne(D){var J=-1,me=D==null?0:D.length;for(this.clear();++J<me;){var Ge=D[J];this.set(Ge[0],Ge[1])}}function He(){this.__data__=fr?fr(null):{},this.size=0}function xe(D){var J=this.has(D)&&delete this.__data__[D];return this.size-=J?1:0,J}function Ye(D){var J=this.__data__;if(fr){var me=J[D];return me===n?void 0:me}return Ze.call(J,D)?J[D]:void 0}function xt(D){var J=this.__data__;return fr?J[D]!==void 0:Ze.call(J,D)}function Tt(D,J){var me=this.__data__;return this.size+=this.has(D)?0:1,me[D]=fr&&J===void 0?n:J,this}ne.prototype.clear=He,ne.prototype.delete=xe,ne.prototype.get=Ye,ne.prototype.has=xt,ne.prototype.set=Tt;function kt(D){var J=-1,me=D==null?0:D.length;for(this.clear();++J<me;){var Ge=D[J];this.set(Ge[0],Ge[1])}}function wt(){this.__data__=[],this.size=0}function or(D){var J=this.__data__,me=In(J,D);if(me<0)return!1;var Ge=J.length-1;return me==Ge?J.pop():st.call(J,me,1),--this.size,!0}function Gt(D){var J=this.__data__,me=In(J,D);return me<0?void 0:J[me][1]}function rr(D){return In(this.__data__,D)>-1}function gr(D,J){var me=this.__data__,Ge=In(me,D);return Ge<0?(++this.size,me.push([D,J])):me[Ge][1]=J,this}kt.prototype.clear=wt,kt.prototype.delete=or,kt.prototype.get=Gt,kt.prototype.has=rr,kt.prototype.set=gr;function Kt(D){var J=-1,me=D==null?0:D.length;for(this.clear();++J<me;){var Ge=D[J];this.set(Ge[0],Ge[1])}}function jr(){this.size=0,this.__data__={hash:new ne,map:new(qt||kt),string:new ne}}function zr(D){var J=Pt(this,D).delete(D);return this.size-=J?1:0,J}function vn(D){return Pt(this,D).get(D)}function Fr(D){return Pt(this,D).has(D)}function kn(D,J){var me=Pt(this,D),Ge=me.size;return me.set(D,J),this.size+=me.size==Ge?0:1,this}Kt.prototype.clear=jr,Kt.prototype.delete=zr,Kt.prototype.get=vn,Kt.prototype.has=Fr,Kt.prototype.set=kn;function hn(D){var J=-1,me=D==null?0:D.length;for(this.__data__=new Kt;++J<me;)this.add(D[J])}function Jn(D){return this.__data__.set(D,n),this}function Qn(D){return this.__data__.has(D)}hn.prototype.add=hn.prototype.push=Jn,hn.prototype.has=Qn;function sn(D){var J=this.__data__=new kt(D);this.size=J.size}function Fn(){this.__data__=new kt,this.size=0}function Rn(D){var J=this.__data__,me=J.delete(D);return this.size=J.size,me}function vo(D){return this.__data__.get(D)}function Ao(D){return this.__data__.has(D)}function Eo(D,J){var me=this.__data__;if(me instanceof kt){var Ge=me.__data__;if(!qt||Ge.length<t-1)return Ge.push([D,J]),this.size=++me.size,this;me=this.__data__=new Kt(Ge)}return me.set(D,J),this.size=me.size,this}sn.prototype.clear=Fn,sn.prototype.delete=Rn,sn.prototype.get=vo,sn.prototype.has=Ao,sn.prototype.set=Eo;function On(D,J){var me=to(D),Ge=!me&&Un(D),Yt=!me&&!Ge&&ii(D),Ut=!me&&!Ge&&!Yt&&Vo(D),mr=me||Ge||Yt||Ut,Cr=mr?at(D.length,String):[],dr=Cr.length;for(var Er in D)Ze.call(D,Er)&&!(mr&&(Er=="length"||Yt&&(Er=="offset"||Er=="parent")||Ut&&(Er=="buffer"||Er=="byteLength"||Er=="byteOffset")||xn(Er,dr)))&&Cr.push(Er);return Cr}function In(D,J){for(var me=D.length;me--;)if(yo(D[me][0],J))return me;return-1}function pn(D,J,me){var Ge=J(D);return to(D)?Ge:$e(Ge,me(D))}function eo(D){return D==null?D===void 0?G:S:mt&&mt in Object(D)?Bt(D):To(D)}function an(D){return no(D)&&eo(D)==f}function yn(D,J,me,Ge,Yt){return D===J?!0:D==null||J==null||!no(D)&&!no(J)?D!==D&&J!==J:L(D,J,me,Ge,yn,Yt)}function L(D,J,me,Ge,Yt,Ut){var mr=to(D),Cr=to(J),dr=mr?d:Jr(D),Er=Cr?d:Jr(J);dr=dr==f?E:dr,Er=Er==f?E:Er;var tn=dr==E,Dn=Er==E,Yr=dr==Er;if(Yr&&ii(D)){if(!ii(J))return!1;mr=!0,tn=!1}if(Yr&&!tn)return Ut||(Ut=new sn),mr||Vo(D)?Pe(D,J,me,Ge,Yt,Ut):Re(D,J,dr,me,Ge,Yt,Ut);if(!(me&o)){var $r=tn&&Ze.call(D,"__wrapped__"),rn=Dn&&Ze.call(J,"__wrapped__");if($r||rn){var fo=$r?D.value():D,bo=rn?J.value():J;return Ut||(Ut=new sn),Yt(fo,bo,me,Ge,Ut)}}return Yr?(Ut||(Ut=new sn),Ve(D,J,me,Ge,Yt,Ut)):!1}function H(D){if(!ro(D)||uo(D))return!1;var J=Mn(D)?pr:ye;return J.test(en(D))}function X(D){return no(D)&&Si(D.length)&&!!oe[eo(D)]}function ie(D){if(!$n(D))return Mt(D);var J=[];for(var me in Object(D))Ze.call(D,me)&&me!="constructor"&&J.push(me);return J}function Pe(D,J,me,Ge,Yt,Ut){var mr=me&o,Cr=D.length,dr=J.length;if(Cr!=dr&&!(mr&&dr>Cr))return!1;var Er=Ut.get(D);if(Er&&Ut.get(J))return Er==J;var tn=-1,Dn=!0,Yr=me&a?new hn:void 0;for(Ut.set(D,J),Ut.set(J,D);++tn<Cr;){var $r=D[tn],rn=J[tn];if(Ge)var fo=mr?Ge(rn,$r,tn,J,D,Ut):Ge($r,rn,tn,D,J,Ut);if(fo!==void 0){if(fo)continue;Dn=!1;break}if(Yr){if(!tt(J,function(bo,Wn){if(!Ke(Yr,Wn)&&($r===bo||Yt($r,bo,me,Ge,Ut)))return Yr.push(Wn)})){Dn=!1;break}}else if(!($r===rn||Yt($r,rn,me,Ge,Ut))){Dn=!1;break}}return Ut.delete(D),Ut.delete(J),Dn}function Re(D,J,me,Ge,Yt,Ut,mr){switch(me){case W:if(D.byteLength!=J.byteLength||D.byteOffset!=J.byteOffset)return!1;D=D.buffer,J=J.buffer;case F:return!(D.byteLength!=J.byteLength||!Ut(new Ee(D),new Ee(J)));case x:case _:case w:return yo(+D,+J);case v:return D.name==J.name&&D.message==J.message;case P:case q:return D==J+"";case T:var Cr=bt;case j:var dr=Ge&o;if(Cr||(Cr=At),D.size!=J.size&&!dr)return!1;var Er=mr.get(D);if(Er)return Er==J;Ge|=a,mr.set(D,J);var tn=Pe(Cr(D),Cr(J),Ge,Yt,Ut,mr);return mr.delete(D),tn;case $:if(wr)return wr.call(D)==wr.call(J)}return!1}function Ve(D,J,me,Ge,Yt,Ut){var mr=me&o,Cr=ht(D),dr=Cr.length,Er=ht(J),tn=Er.length;if(dr!=tn&&!mr)return!1;for(var Dn=dr;Dn--;){var Yr=Cr[Dn];if(!(mr?Yr in J:Ze.call(J,Yr)))return!1}var $r=Ut.get(D);if($r&&Ut.get(J))return $r==J;var rn=!0;Ut.set(D,J),Ut.set(J,D);for(var fo=mr;++Dn<dr;){Yr=Cr[Dn];var bo=D[Yr],Wn=J[Yr];if(Ge)var Ci=mr?Ge(Wn,bo,Yr,J,D,Ut):Ge(bo,Wn,Yr,D,J,Ut);if(!(Ci===void 0?bo===Wn||Yt(bo,Wn,me,Ge,Ut):Ci)){rn=!1;break}fo||(fo=Yr=="constructor")}if(rn&&!fo){var Go=D.constructor,ln=J.constructor;Go!=ln&&"constructor"in D&&"constructor"in J&&!(typeof Go=="function"&&Go instanceof Go&&typeof ln=="function"&&ln instanceof ln)&&(rn=!1)}return Ut.delete(D),Ut.delete(J),rn}function ht(D){return pn(D,Pr,Sr)}function Pt(D,J){var me=D.__data__;return Sn(J)?me[typeof J=="string"?"string":"hash"]:me.map}function Ht(D,J){var me=yt(D,J);return H(me)?me:void 0}function Bt(D){var J=Ze.call(D,mt),me=D[mt];try{D[mt]=void 0;var Ge=!0}catch{}var Yt=Ot.call(D);return Ge&&(J?D[mt]=me:delete D[mt]),Yt}var Sr=Ft?function(D){return D==null?[]:(D=Object(D),ot(Ft(D),function(J){return ae.call(D,J)}))}:Ar,Jr=eo;(Qt&&Jr(new Qt(new ArrayBuffer(1)))!=W||qt&&Jr(new qt)!=T||sr&&Jr(sr.resolve())!=R||er&&Jr(new er)!=j||_r&&Jr(new _r)!=re)&&(Jr=function(D){var J=eo(D),me=J==E?D.constructor:void 0,Ge=me?en(me):"";if(Ge)switch(Ge){case lt:return W;case it:return T;case Fe:return R;case ut:return j;case nt:return re}return J});function xn(D,J){return J=J??u,!!J&&(typeof D=="number"||Ie.test(D))&&D>-1&&D%1==0&&D<J}function Sn(D){var J=typeof D;return J=="string"||J=="number"||J=="symbol"||J=="boolean"?D!=="__proto__":D===null}function uo(D){return!!It&&It in D}function $n(D){var J=D&&D.constructor,me=typeof J=="function"&&J.prototype||St;return D===me}function To(D){return Ot.call(D)}function en(D){if(D!=null){try{return Et.call(D)}catch{}try{return D+""}catch{}}return""}function yo(D,J){return D===J||D!==D&&J!==J}var Un=an(function(){return arguments}())?an:function(D){return no(D)&&Ze.call(D,"callee")&&!ae.call(D,"callee")},to=Array.isArray;function xi(D){return D!=null&&Si(D.length)&&!Mn(D)}var ii=Rt||Mr;function si(D,J){return yn(D,J)}function Mn(D){if(!ro(D))return!1;var J=eo(D);return J==y||J==b||J==h||J==I}function Si(D){return typeof D=="number"&&D>-1&&D%1==0&&D<=u}function ro(D){var J=typeof D;return D!=null&&(J=="object"||J=="function")}function no(D){return D!=null&&typeof D=="object"}var Vo=Ne?De(Ne):X;function Pr(D){return xi(D)?On(D):ie(D)}function Ar(){return[]}function Mr(){return!1}r.exports=si}(Uf,Uf.exports)),Uf.exports}var qd={},Gy;function GO(){if(Gy)return qd;Gy=1,Object.defineProperty(qd,"__esModule",{value:!0});const r=qx(),e=zx();var t;return function(n){function o(d={},h={},x=!1){typeof d!="object"&&(d={}),typeof h!="object"&&(h={});let _=r(h);x||(_=Object.keys(_).reduce((v,y)=>(_[y]!=null&&(v[y]=_[y]),v),{}));for(const v in d)d[v]!==void 0&&h[v]===void 0&&(_[v]=d[v]);return Object.keys(_).length>0?_:void 0}n.compose=o;function a(d={},h={}){typeof d!="object"&&(d={}),typeof h!="object"&&(h={});const x=Object.keys(d).concat(Object.keys(h)).reduce((_,v)=>(e(d[v],h[v])||(_[v]=h[v]===void 0?null:h[v]),_),{});return Object.keys(x).length>0?x:void 0}n.diff=a;function u(d={},h={}){d=d||{};const x=Object.keys(h).reduce((_,v)=>(h[v]!==d[v]&&d[v]!==void 0&&(_[v]=h[v]),_),{});return Object.keys(d).reduce((_,v)=>(d[v]!==h[v]&&h[v]===void 0&&(_[v]=null),_),x)}n.invert=u;function f(d,h,x=!1){if(typeof d!="object")return h;if(typeof h!="object")return;if(!x)return h;const _=Object.keys(h).reduce((v,y)=>(d[y]===void 0&&(v[y]=h[y]),v),{});return Object.keys(_).length>0?_:void 0}n.transform=f}(t||(t={})),qd.default=t,qd}var zd={},Zy;function $x(){if(Zy)return zd;Zy=1,Object.defineProperty(zd,"__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={})),zd.default=r,zd}var $d={},Ky;function ZO(){if(Ky)return $d;Ky=1,Object.defineProperty($d,"__esModule",{value:!0});const r=$x();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 o=this.ops[this.index];if(o){const a=this.offset,u=r.default.length(o);if(n>=u-a?(n=u-a,this.index+=1,this.offset=0):this.offset+=n,typeof o.delete=="number")return{delete:n};{const f={};return o.attributes&&(f.attributes=o.attributes),typeof o.retain=="number"?f.retain=n:typeof o.retain=="object"&&o.retain!==null?f.retain=o.retain:typeof o.insert=="string"?f.insert=o.insert.substr(a,n):f.insert=o.insert,f}}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,o=this.index,a=this.next(),u=this.ops.slice(this.index);return this.offset=n,this.index=o,[a].concat(u)}}else return[]}}return $d.default=e,$d}var Yy;function KO(){return Yy||(Yy=1,function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.AttributeMap=e.OpIterator=e.Op=void 0;const t=VO(),n=qx(),o=zx(),a=GO();e.AttributeMap=a.default;const u=$x();e.Op=u.default;const f=ZO();e.OpIterator=f.default;const d="\0",h=(_,v)=>{if(typeof _!="object"||_===null)throw new Error(`cannot retain a ${typeof _}`);if(typeof v!="object"||v===null)throw new Error(`cannot retain a ${typeof v}`);const y=Object.keys(_)[0];if(!y||y!==Object.keys(v)[0])throw new Error(`embed types not matched: ${y} != ${Object.keys(v)[0]}`);return[y,_[y],v[y]]};class x{constructor(v){Array.isArray(v)?this.ops=v:v!=null&&Array.isArray(v.ops)?this.ops=v.ops:this.ops=[]}static registerEmbed(v,y){this.handlers[v]=y}static unregisterEmbed(v){delete this.handlers[v]}static getHandler(v){const y=this.handlers[v];if(!y)throw new Error(`no handlers for embed type "${v}"`);return y}insert(v,y){const b={};return typeof v=="string"&&v.length===0?this:(b.insert=v,y!=null&&typeof y=="object"&&Object.keys(y).length>0&&(b.attributes=y),this.push(b))}delete(v){return v<=0?this:this.push({delete:v})}retain(v,y){if(typeof v=="number"&&v<=0)return this;const b={retain:v};return y!=null&&typeof y=="object"&&Object.keys(y).length>0&&(b.attributes=y),this.push(b)}push(v){let y=this.ops.length,b=this.ops[y-1];if(v=n(v),typeof b=="object"){if(typeof v.delete=="number"&&typeof b.delete=="number")return this.ops[y-1]={delete:b.delete+v.delete},this;if(typeof b.delete=="number"&&v.insert!=null&&(y-=1,b=this.ops[y-1],typeof b!="object"))return this.ops.unshift(v),this;if(o(v.attributes,b.attributes)){if(typeof v.insert=="string"&&typeof b.insert=="string")return this.ops[y-1]={insert:b.insert+v.insert},typeof v.attributes=="object"&&(this.ops[y-1].attributes=v.attributes),this;if(typeof v.retain=="number"&&typeof b.retain=="number")return this.ops[y-1]={retain:b.retain+v.retain},typeof v.attributes=="object"&&(this.ops[y-1].attributes=v.attributes),this}}return y===this.ops.length?this.ops.push(v):this.ops.splice(y,0,v),this}chop(){const v=this.ops[this.ops.length-1];return v&&typeof v.retain=="number"&&!v.attributes&&this.ops.pop(),this}filter(v){return this.ops.filter(v)}forEach(v){this.ops.forEach(v)}map(v){return this.ops.map(v)}partition(v){const y=[],b=[];return this.forEach(T=>{(v(T)?y:b).push(T)}),[y,b]}reduce(v,y){return this.ops.reduce(v,y)}changeLength(){return this.reduce((v,y)=>y.insert?v+u.default.length(y):y.delete?v-y.delete:v,0)}length(){return this.reduce((v,y)=>v+u.default.length(y),0)}slice(v=0,y=1/0){const b=[],T=new f.default(this.ops);let w=0;for(;w<y&&T.hasNext();){let S;w<v?S=T.next(v-w):(S=T.next(y-w),b.push(S)),w+=u.default.length(S)}return new x(b)}compose(v){const y=new f.default(this.ops),b=new f.default(v.ops),T=[],w=b.peek();if(w!=null&&typeof w.retain=="number"&&w.attributes==null){let E=w.retain;for(;y.peekType()==="insert"&&y.peekLength()<=E;)E-=y.peekLength(),T.push(y.next());w.retain-E>0&&b.next(w.retain-E)}const S=new x(T);for(;y.hasNext()||b.hasNext();)if(b.peekType()==="insert")S.push(b.next());else if(y.peekType()==="delete")S.push(y.next());else{const E=Math.min(y.peekLength(),b.peekLength()),R=y.next(E),I=b.next(E);if(I.retain){const P={};if(typeof R.retain=="number")P.retain=typeof I.retain=="number"?E:I.retain;else if(typeof I.retain=="number")R.retain==null?P.insert=R.insert:P.retain=R.retain;else{const q=R.retain==null?"insert":"retain",[$,G,re]=h(R[q],I.retain),F=x.getHandler($);P[q]={[$]:F.compose(G,re,q==="retain")}}const j=a.default.compose(R.attributes,I.attributes,typeof R.retain=="number");if(j&&(P.attributes=j),S.push(P),!b.hasNext()&&o(S.ops[S.ops.length-1],P)){const q=new x(y.rest());return S.concat(q).chop()}}else typeof I.delete=="number"&&(typeof R.retain=="number"||typeof R.retain=="object"&&R.retain!==null)&&S.push(I)}return S.chop()}concat(v){const y=new x(this.ops.slice());return v.ops.length>0&&(y.push(v.ops[0]),y.ops=y.ops.concat(v.ops.slice(1))),y}diff(v,y){if(this.ops===v.ops)return new x;const b=[this,v].map(R=>R.map(I=>{if(I.insert!=null)return typeof I.insert=="string"?I.insert:d;const P=R===v?"on":"with";throw new Error("diff() called "+P+" non-document")}).join("")),T=new x,w=t(b[0],b[1],y,!0),S=new f.default(this.ops),E=new f.default(v.ops);return w.forEach(R=>{let I=R[1].length;for(;I>0;){let P=0;switch(R[0]){case t.INSERT:P=Math.min(E.peekLength(),I),T.push(E.next(P));break;case t.DELETE:P=Math.min(I,S.peekLength()),S.next(P),T.delete(P);break;case t.EQUAL:P=Math.min(S.peekLength(),E.peekLength(),I);const j=S.next(P),q=E.next(P);o(j.insert,q.insert)?T.retain(P,a.default.diff(j.attributes,q.attributes)):T.push(q).delete(P);break}I-=P}}),T.chop()}eachLine(v,y=`
|
163
|
+
`){const b=new f.default(this.ops);let T=new x,w=0;for(;b.hasNext();){if(b.peekType()!=="insert")return;const S=b.peek(),E=u.default.length(S)-b.peekLength(),R=typeof S.insert=="string"?S.insert.indexOf(y,E)-E:-1;if(R<0)T.push(b.next());else if(R>0)T.push(b.next(R));else{if(v(T,b.next(1).attributes||{},w)===!1)return;w+=1,T=new x}}T.length()>0&&v(T,{},w)}invert(v){const y=new x;return this.reduce((b,T)=>{if(T.insert)y.delete(u.default.length(T));else{if(typeof T.retain=="number"&&T.attributes==null)return y.retain(T.retain),b+T.retain;if(T.delete||typeof T.retain=="number"){const w=T.delete||T.retain;return v.slice(b,b+w).forEach(E=>{T.delete?y.push(E):T.retain&&T.attributes&&y.retain(u.default.length(E),a.default.invert(T.attributes,E.attributes))}),b+w}else if(typeof T.retain=="object"&&T.retain!==null){const w=v.slice(b,b+1),S=new f.default(w.ops).next(),[E,R,I]=h(T.retain,S.insert),P=x.getHandler(E);return y.retain({[E]:P.invert(R,I)},a.default.invert(T.attributes,S.attributes)),b+1}}return b},0),y.chop()}transform(v,y=!1){if(y=!!y,typeof v=="number")return this.transformPosition(v,y);const b=v,T=new f.default(this.ops),w=new f.default(b.ops),S=new x;for(;T.hasNext()||w.hasNext();)if(T.peekType()==="insert"&&(y||w.peekType()!=="insert"))S.retain(u.default.length(T.next()));else if(w.peekType()==="insert")S.push(w.next());else{const E=Math.min(T.peekLength(),w.peekLength()),R=T.next(E),I=w.next(E);if(R.delete)continue;if(I.delete)S.push(I);else{const P=R.retain,j=I.retain;let q=typeof j=="object"&&j!==null?j:E;if(typeof P=="object"&&P!==null&&typeof j=="object"&&j!==null){const $=Object.keys(P)[0];if($===Object.keys(j)[0]){const G=x.getHandler($);G&&(q={[$]:G.transform(P[$],j[$],y)})}}S.retain(q,a.default.transform(R.attributes,I.attributes,y))}}return S.chop()}transformPosition(v,y=!1){y=!!y;const b=new f.default(this.ops);let T=0;for(;b.hasNext()&&T<=v;){const w=b.peekLength(),S=b.peekType();if(b.next(),S==="delete"){v-=Math.min(w,v-T);continue}else S==="insert"&&(T<v||!y)&&(v+=w);T+=w}return v}}x.Op=u.default,x.OpIterator=f.default,x.AttributeMap=a.default,x.handlers={},e.default=x,r.exports=x,r.exports.default=x}(Hd,Hd.exports)),Hd.exports}var gs=KO();const Wt=ka(gs);class Zs extends Ui{static value(){}optimize(){(this.prev||this.next)&&this.remove()}length(){return 0}value(){return""}}Zs.blotName="break";Zs.tagName="BR";let Vs=class extends lh{};const YO={"&":"&","<":"<",">":">",'"':""","'":"'"};function bh(r){return r.replace(/[&<>"']/g,e=>YO[e])}const _a=class _a extends Nm{static compare(e,t){const n=_a.order.indexOf(e),o=_a.order.indexOf(t);return n>=0||o>=0?n-o:e===t?0:e<t?-1:1}formatAt(e,t,n,o){if(_a.compare(this.statics.blotName,n)<0&&this.scroll.query(n,Jt.BLOT)){const a=this.isolate(e,t);o&&a.wrap(n,o)}else super.formatAt(e,t,n,o)}optimize(e){if(super.optimize(e),this.parent instanceof _a&&_a.compare(this.statics.blotName,this.parent.statics.blotName)>0){const t=this.parent.isolate(this.offset(),this.length());this.moveChildren(t),t.wrap(this)}}};dt(_a,"allowedChildren",[_a,Zs,Ui,Vs]),dt(_a,"order",["cursor","inline","link","underline","strike","italic","bold","script","code"]);let Ta=_a;const Xy=1;class qo extends id{constructor(){super(...arguments);dt(this,"cache",{})}delta(){return this.cache.delta==null&&(this.cache.delta=Ux(this)),this.cache.delta}deleteAt(t,n){super.deleteAt(t,n),this.cache={}}formatAt(t,n,o,a){n<=0||(this.scroll.query(o,Jt.BLOCK)?t+n===this.length()&&this.format(o,a):super.formatAt(t,Math.min(n,this.length()-t-1),o,a),this.cache={})}insertAt(t,n,o){if(o!=null){super.insertAt(t,n,o),this.cache={};return}if(n.length===0)return;const a=n.split(`
|
164
|
+
`),u=a.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 f=this;a.reduce((d,h)=>(f=f.split(d,!0),f.insertAt(0,h),h.length),t+u.length)}insertBefore(t,n){const{head:o}=this.children;super.insertBefore(t,n),o instanceof Zs&&o.remove(),this.cache={}}length(){return this.cache.length==null&&(this.cache.length=super.length()+Xy),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()-Xy)){const a=this.clone();return t===0?(this.parent.insertBefore(a,this),this):(this.parent.insertBefore(a,this.next),a)}const o=super.split(t,n);return this.cache={},o}}qo.blotName="block";qo.tagName="P";qo.defaultChild=Zs;qo.allowedChildren=[Zs,Ta,Ui,Vs];class ps extends Ui{attach(){super.attach(),this.attributes=new vh(this.domNode)}delta(){return new Wt().insert(this.value(),{...this.formats(),...this.attributes.values()})}format(e,t){const n=this.scroll.query(e,Jt.BLOCK_ATTRIBUTE);n!=null&&this.attributes.attribute(n,t)}formatAt(e,t,n,o){this.format(n,o)}insertAt(e,t,n){if(n!=null){super.insertAt(e,t,n);return}const o=t.split(`
|
165
165
|
`),a=o.pop(),u=o.map(d=>{const h=this.scroll.create(qo.blotName);return h.insertAt(0,d),h}),f=this.split(e);u.forEach(d=>{this.parent.insertBefore(d,f)}),a&&this.parent.insertBefore(this.scroll.create("text",a),f)}}ps.scope=Jt.BLOCK_BLOT;function Ux(r){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return r.descendants(Uo).reduce((t,n)=>n.length()===0?t:t.insert(n.value(),ds(n,{},e)),new Wt).insert(`
|
166
|
-
`,ds(r))}function ds(r){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return r==null||("formats"in r&&typeof r.formats=="function"&&(e={...e,...r.formats()},t&&delete e["code-token"]),r.parent==null||r.parent.statics.blotName==="scroll"||r.parent.statics.scope!==r.statics.scope)?e:ds(r.parent,e,t)}const cs=class cs extends $i{static value(){}constructor(e,t,n){super(e,t),this.selection=n,this.textNode=document.createTextNode(cs.CONTENTS),this.domNode.appendChild(this.textNode),this.savedLength=0}detach(){this.parent!=null&&this.parent.removeChild(this)}format(e,t){if(this.savedLength!==0){super.format(e,t);return}let n=this,o=0;for(;n!=null&&n.statics.scope!==Jt.BLOCK_BLOT;)o+=n.offset(n.parent),n=n.parent;n!=null&&(this.savedLength=cs.CONTENTS.length,n.optimize(),n.formatAt(o,cs.CONTENTS.length,e,t),this.savedLength=0)}index(e,t){return e===this.textNode?0:super.index(e,t)}length(){return this.savedLength}position(){return[this.textNode,this.textNode.data.length]}remove(){super.remove(),this.parent=null}restore(){if(this.selection.composing||this.parent==null)return null;const e=this.selection.getNativeRange();for(;this.domNode.lastChild!=null&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);const t=this.prev instanceof Vs?this.prev:null,n=t?t.length():0,o=this.next instanceof Vs?this.next:null,a=o?o.text:"",{textNode:u}=this,f=u.data.split(cs.CONTENTS).join("");u.data=cs.CONTENTS;let d;if(t)d=t,(f||o)&&(t.insertAt(t.length(),f+a),o&&o.remove());else if(o)d=o,o.insertAt(0,f);else{const h=document.createTextNode(f);d=this.scroll.create(h),this.parent.insertBefore(d,this)}if(this.remove(),e){const h=(v,y)=>t&&v===t.domNode?y:v===u?n+y-1:o&&v===o.domNode?n+f.length+y:null,x=h(e.start.node,e.start.offset),_=h(e.end.node,e.end.offset);if(x!==null&&_!==null)return{startNode:d.domNode,startOffset:x,endNode:d.domNode,endOffset:_}}return null}update(e,t){if(e.some(n=>n.type==="characterData"&&n.target===this.textNode)){const n=this.restore();n&&(t.range=n)}}optimize(e){super.optimize(e);let{parent:t}=this;for(;t;){if(t.domNode.tagName==="A"){this.savedLength=cs.CONTENTS.length,t.isolate(this.offset(t),this.length()).unwrap(),this.savedLength=0;break}t=t.parent}}value(){return""}};dt(cs,"blotName","cursor"),dt(cs,"className","ql-cursor"),dt(cs,"tagName","span"),dt(cs,"CONTENTS","\uFEFF");let nf=cs;var cp={exports:{}},Jy;function XO(){return Jy||(Jy=1,function(r){var e=Object.prototype.hasOwnProperty,t="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(t=!1));function o(d,h,x){this.fn=d,this.context=h,this.once=x||!1}function a(d,h,x,_,v){if(typeof x!="function")throw new TypeError("The listener must be a function");var y=new o(x,_||d,v),b=t?t+h:h;return d._events[b]?d._events[b].fn?d._events[b]=[d._events[b],y]:d._events[b].push(y):(d._events[b]=y,d._eventsCount++),d}function u(d,h){--d._eventsCount===0?d._events=new n:delete d._events[h]}function f(){this._events=new n,this._eventsCount=0}f.prototype.eventNames=function(){var h=[],x,_;if(this._eventsCount===0)return h;for(_ in x=this._events)e.call(x,_)&&h.push(t?_.slice(1):_);return Object.getOwnPropertySymbols?h.concat(Object.getOwnPropertySymbols(x)):h},f.prototype.listeners=function(h){var x=t?t+h:h,_=this._events[x];if(!_)return[];if(_.fn)return[_.fn];for(var v=0,y=_.length,b=new Array(y);v<y;v++)b[v]=_[v].fn;return b},f.prototype.listenerCount=function(h){var x=t?t+h:h,_=this._events[x];return _?_.fn?1:_.length:0},f.prototype.emit=function(h,x,_,v,y,b){var T=t?t+h:h;if(!this._events[T])return!1;var w=this._events[T],S=arguments.length,E,R;if(w.fn){switch(w.once&&this.removeListener(h,w.fn,void 0,!0),S){case 1:return w.fn.call(w.context),!0;case 2:return w.fn.call(w.context,x),!0;case 3:return w.fn.call(w.context,x,_),!0;case 4:return w.fn.call(w.context,x,_,v),!0;case 5:return w.fn.call(w.context,x,_,v,y),!0;case 6:return w.fn.call(w.context,x,_,v,y,b),!0}for(R=1,E=new Array(S-1);R<S;R++)E[R-1]=arguments[R];w.fn.apply(w.context,E)}else{var I=w.length,P;for(R=0;R<I;R++)switch(w[R].once&&this.removeListener(h,w[R].fn,void 0,!0),S){case 1:w[R].fn.call(w[R].context);break;case 2:w[R].fn.call(w[R].context,x);break;case 3:w[R].fn.call(w[R].context,x,_);break;case 4:w[R].fn.call(w[R].context,x,_,v);break;default:if(!E)for(P=1,E=new Array(S-1);P<S;P++)E[P-1]=arguments[P];w[R].fn.apply(w[R].context,E)}}return!0},f.prototype.on=function(h,x,_){return a(this,h,x,_,!1)},f.prototype.once=function(h,x,_){return a(this,h,x,_,!0)},f.prototype.removeListener=function(h,x,_,v){var y=t?t+h:h;if(!this._events[y])return this;if(!x)return u(this,y),this;var b=this._events[y];if(b.fn)b.fn===x&&(!v||b.once)&&(!_||b.context===_)&&u(this,y);else{for(var T=0,w=[],S=b.length;T<S;T++)(b[T].fn!==x||v&&!b[T].once||_&&b[T].context!==_)&&w.push(b[T]);w.length?this._events[y]=w.length===1?w[0]:w:u(this,y)}return this},f.prototype.removeAllListeners=function(h){var x;return h?(x=t?t+h:h,this._events[x]&&u(this,x)):(this._events=new n,this._eventsCount=0),this},f.prototype.off=f.prototype.removeListener,f.prototype.addListener=f.prototype.on,f.prefixed=t,f.EventEmitter=f,r.exports=f}(cp)),cp.exports}var JO=XO();const QO=ka(JO),om=new WeakMap,im=["error","warn","log","info"];let sm="warn";function Wx(r){if(sm&&im.indexOf(r)<=im.indexOf(sm)){for(var e=arguments.length,t=new Array(e>1?e-1:0),n=1;n<e;n++)t[n-1]=arguments[n];console[r](...t)}}function dl(r){return im.reduce((e,t)=>(e[t]=Wx.bind(console,t,r),e),{})}dl.level=r=>{sm=r};Wx.level=dl.level;const up=dl("quill:events"),eM=["selectionchange","mousedown","mouseup","click"];eM.forEach(r=>{document.addEventListener(r,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Array.from(document.querySelectorAll(".ql-container")).forEach(o=>{const a=om.get(o);a&&a.emitter&&a.emitter.handleDOM(...t)})})});class Vt extends QO{constructor(){super(),this.domListeners={},this.on("error",up.error)}emit(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return up.log.call(up,...t),super.emit(...t)}handleDOM(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];(this.domListeners[e.type]||[]).forEach(a=>{let{node:u,handler:f}=a;(e.target===u||u.contains(e.target))&&f(e,...n)})}listenDOM(e,t,n){this.domListeners[e]||(this.domListeners[e]=[]),this.domListeners[e].push({node:t,handler:n})}}dt(Vt,"events",{EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_BLOT_MOUNT:"scroll-blot-mount",SCROLL_BLOT_UNMOUNT:"scroll-blot-unmount",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SCROLL_EMBED_UPDATE:"scroll-embed-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change",COMPOSITION_BEFORE_START:"composition-before-start",COMPOSITION_START:"composition-start",COMPOSITION_BEFORE_END:"composition-before-end",COMPOSITION_END:"composition-end"}),dt(Vt,"sources",{API:"api",SILENT:"silent",USER:"user"});const fp=dl("quill:selection");class nu{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this.index=e,this.length=t}}class tM{constructor(e,t){this.emitter=t,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=this.scroll.create("cursor",this),this.savedRange=new nu(0,0),this.lastRange=this.savedRange,this.lastNative=null,this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,()=>{!this.mouseDown&&!this.composing&&setTimeout(this.update.bind(this,Vt.sources.USER),1)}),this.emitter.on(Vt.events.SCROLL_BEFORE_UPDATE,()=>{if(!this.hasFocus())return;const n=this.getNativeRange();n!=null&&n.start.node!==this.cursor.textNode&&this.emitter.once(Vt.events.SCROLL_UPDATE,(o,a)=>{try{this.root.contains(n.start.node)&&this.root.contains(n.end.node)&&this.setNativeRange(n.start.node,n.start.offset,n.end.node,n.end.offset);const u=a.some(f=>f.type==="characterData"||f.type==="childList"||f.type==="attributes"&&f.target===this.root);this.update(u?Vt.sources.SILENT:o)}catch{}})}),this.emitter.on(Vt.events.SCROLL_OPTIMIZE,(n,o)=>{if(o.range){const{startNode:a,startOffset:u,endNode:f,endOffset:d}=o.range;this.setNativeRange(a,u,f,d),this.update(Vt.sources.SILENT)}}),this.update(Vt.sources.SILENT)}handleComposition(){this.emitter.on(Vt.events.COMPOSITION_BEFORE_START,()=>{this.composing=!0}),this.emitter.on(Vt.events.COMPOSITION_END,()=>{if(this.composing=!1,this.cursor.parent){const e=this.cursor.restore();if(!e)return;setTimeout(()=>{this.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)},1)}})}handleDragging(){this.emitter.listenDOM("mousedown",document.body,()=>{this.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,()=>{this.mouseDown=!1,this.update(Vt.sources.USER)})}focus(){this.hasFocus()||(this.root.focus({preventScroll:!0}),this.setRange(this.savedRange))}format(e,t){this.scroll.update();const n=this.getNativeRange();if(!(n==null||!n.native.collapsed||this.scroll.query(e,Jt.BLOCK))){if(n.start.node!==this.cursor.textNode){const o=this.scroll.find(n.start.node,!1);if(o==null)return;if(o instanceof Uo){const a=o.split(n.start.offset);o.parent.insertBefore(this.cursor,a)}else o.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}getBounds(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;const n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;let o,[a,u]=this.scroll.leaf(e);if(a==null)return null;if(t>0&&u===a.length()){const[x]=this.scroll.leaf(e+1);if(x){const[_]=this.scroll.line(e),[v]=this.scroll.line(e+1);_===v&&(a=x,u=0)}}[o,u]=a.position(u,!0);const f=document.createRange();if(t>0)return f.setStart(o,u),[a,u]=this.scroll.leaf(e+t),a==null?null:([o,u]=a.position(u,!0),f.setEnd(o,u),f.getBoundingClientRect());let d="left",h;if(o instanceof Text){if(!o.data.length)return null;u<o.data.length?(f.setStart(o,u),f.setEnd(o,u+1)):(f.setStart(o,u-1),f.setEnd(o,u),d="right"),h=f.getBoundingClientRect()}else{if(!(a.domNode instanceof Element))return null;h=a.domNode.getBoundingClientRect(),u>0&&(d="right")}return{bottom:h.top+h.height,height:h.height,left:h[d],right:h[d],top:h.top,width:0}}getNativeRange(){const e=document.getSelection();if(e==null||e.rangeCount<=0)return null;const t=e.getRangeAt(0);if(t==null)return null;const n=this.normalizeNative(t);return fp.info("getNativeRange",n),n}getRange(){const e=this.scroll.domNode;if("isConnected"in e&&!e.isConnected)return[null,null];const t=this.getNativeRange();return t==null?[null,null]:[this.normalizedToRange(t),t]}hasFocus(){return document.activeElement===this.root||document.activeElement!=null&&dp(this.root,document.activeElement)}normalizedToRange(e){const t=[[e.start.node,e.start.offset]];e.native.collapsed||t.push([e.end.node,e.end.offset]);const n=t.map(u=>{const[f,d]=u,h=this.scroll.find(f,!0),x=h.offset(this.scroll);return d===0?x:h instanceof Uo?x+h.index(f,d):x+h.length()}),o=Math.min(Math.max(...n),this.scroll.length()-1),a=Math.min(o,...n);return new nu(a,o-a)}normalizeNative(e){if(!dp(this.root,e.startContainer)||!e.collapsed&&!dp(this.root,e.endContainer))return null;const t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach(n=>{let{node:o,offset:a}=n;for(;!(o instanceof Text)&&o.childNodes.length>0;)if(o.childNodes.length>a)o=o.childNodes[a],a=0;else if(o.childNodes.length===a)o=o.lastChild,o instanceof Text?a=o.data.length:o.childNodes.length>0?a=o.childNodes.length:a=o.childNodes.length+1;else break;n.node=o,n.offset=a}),t}rangeToNative(e){const t=this.scroll.length(),n=(o,a)=>{o=Math.min(t-1,o);const[u,f]=this.scroll.leaf(o);return u?u.position(f,a):[null,-1]};return[...n(e.index,!1),...n(e.index+e.length,!0)]}setNativeRange(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:t,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(fp.info("setNativeRange",e,t,n,o),e!=null&&(this.root.parentNode==null||e.parentNode==null||n.parentNode==null))return;const u=document.getSelection();if(u!=null)if(e!=null){this.hasFocus()||this.root.focus({preventScroll:!0});const{native:f}=this.getNativeRange()||{};if(f==null||a||e!==f.startContainer||t!==f.startOffset||n!==f.endContainer||o!==f.endOffset){e instanceof Element&&e.tagName==="BR"&&(t=Array.from(e.parentNode.childNodes).indexOf(e),e=e.parentNode),n instanceof Element&&n.tagName==="BR"&&(o=Array.from(n.parentNode.childNodes).indexOf(n),n=n.parentNode);const d=document.createRange();d.setStart(e,t),d.setEnd(n,o),u.removeAllRanges(),u.addRange(d)}}else u.removeAllRanges(),this.root.blur()}setRange(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Vt.sources.API;if(typeof t=="string"&&(n=t,t=!1),fp.info("setRange",e),e!=null){const o=this.rangeToNative(e);this.setNativeRange(...o,t)}else this.setNativeRange(null);this.update(n)}update(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Vt.sources.USER;const t=this.lastRange,[n,o]=this.getRange();if(this.lastRange=n,this.lastNative=o,this.lastRange!=null&&(this.savedRange=this.lastRange),!Pm(t,this.lastRange)){if(!this.composing&&o!=null&&o.native.collapsed&&o.start.node!==this.cursor.textNode){const u=this.cursor.restore();u&&this.setNativeRange(u.startNode,u.startOffset,u.endNode,u.endOffset)}const a=[Vt.events.SELECTION_CHANGE,Yu(this.lastRange),Yu(t),e];this.emitter.emit(Vt.events.EDITOR_CHANGE,...a),e!==Vt.sources.SILENT&&this.emitter.emit(...a)}}}function dp(r,e){try{e.parentNode}catch{return!1}return r.contains(e)}const rM=/^[ -~]*$/;class nM{constructor(e){this.scroll=e,this.delta=this.getDelta()}applyDelta(e){this.scroll.update();let t=this.scroll.length();this.scroll.batchStart();const n=Qy(e),o=new Wt;return iM(n.ops.slice()).reduce((u,f)=>{const d=gs.Op.length(f);let h=f.attributes||{},x=!1,_=!1;if(f.insert!=null){if(o.retain(d),typeof f.insert=="string"){const b=f.insert;_=!b.endsWith(`
|
166
|
+
`,ds(r))}function ds(r){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return r==null||("formats"in r&&typeof r.formats=="function"&&(e={...e,...r.formats()},t&&delete e["code-token"]),r.parent==null||r.parent.statics.blotName==="scroll"||r.parent.statics.scope!==r.statics.scope)?e:ds(r.parent,e,t)}const us=class us extends Ui{static value(){}constructor(e,t,n){super(e,t),this.selection=n,this.textNode=document.createTextNode(us.CONTENTS),this.domNode.appendChild(this.textNode),this.savedLength=0}detach(){this.parent!=null&&this.parent.removeChild(this)}format(e,t){if(this.savedLength!==0){super.format(e,t);return}let n=this,o=0;for(;n!=null&&n.statics.scope!==Jt.BLOCK_BLOT;)o+=n.offset(n.parent),n=n.parent;n!=null&&(this.savedLength=us.CONTENTS.length,n.optimize(),n.formatAt(o,us.CONTENTS.length,e,t),this.savedLength=0)}index(e,t){return e===this.textNode?0:super.index(e,t)}length(){return this.savedLength}position(){return[this.textNode,this.textNode.data.length]}remove(){super.remove(),this.parent=null}restore(){if(this.selection.composing||this.parent==null)return null;const e=this.selection.getNativeRange();for(;this.domNode.lastChild!=null&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);const t=this.prev instanceof Vs?this.prev:null,n=t?t.length():0,o=this.next instanceof Vs?this.next:null,a=o?o.text:"",{textNode:u}=this,f=u.data.split(us.CONTENTS).join("");u.data=us.CONTENTS;let d;if(t)d=t,(f||o)&&(t.insertAt(t.length(),f+a),o&&o.remove());else if(o)d=o,o.insertAt(0,f);else{const h=document.createTextNode(f);d=this.scroll.create(h),this.parent.insertBefore(d,this)}if(this.remove(),e){const h=(v,y)=>t&&v===t.domNode?y:v===u?n+y-1:o&&v===o.domNode?n+f.length+y:null,x=h(e.start.node,e.start.offset),_=h(e.end.node,e.end.offset);if(x!==null&&_!==null)return{startNode:d.domNode,startOffset:x,endNode:d.domNode,endOffset:_}}return null}update(e,t){if(e.some(n=>n.type==="characterData"&&n.target===this.textNode)){const n=this.restore();n&&(t.range=n)}}optimize(e){super.optimize(e);let{parent:t}=this;for(;t;){if(t.domNode.tagName==="A"){this.savedLength=us.CONTENTS.length,t.isolate(this.offset(t),this.length()).unwrap(),this.savedLength=0;break}t=t.parent}}value(){return""}};dt(us,"blotName","cursor"),dt(us,"className","ql-cursor"),dt(us,"tagName","span"),dt(us,"CONTENTS","\uFEFF");let nf=us;var cp={exports:{}},Jy;function XO(){return Jy||(Jy=1,function(r){var e=Object.prototype.hasOwnProperty,t="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(t=!1));function o(d,h,x){this.fn=d,this.context=h,this.once=x||!1}function a(d,h,x,_,v){if(typeof x!="function")throw new TypeError("The listener must be a function");var y=new o(x,_||d,v),b=t?t+h:h;return d._events[b]?d._events[b].fn?d._events[b]=[d._events[b],y]:d._events[b].push(y):(d._events[b]=y,d._eventsCount++),d}function u(d,h){--d._eventsCount===0?d._events=new n:delete d._events[h]}function f(){this._events=new n,this._eventsCount=0}f.prototype.eventNames=function(){var h=[],x,_;if(this._eventsCount===0)return h;for(_ in x=this._events)e.call(x,_)&&h.push(t?_.slice(1):_);return Object.getOwnPropertySymbols?h.concat(Object.getOwnPropertySymbols(x)):h},f.prototype.listeners=function(h){var x=t?t+h:h,_=this._events[x];if(!_)return[];if(_.fn)return[_.fn];for(var v=0,y=_.length,b=new Array(y);v<y;v++)b[v]=_[v].fn;return b},f.prototype.listenerCount=function(h){var x=t?t+h:h,_=this._events[x];return _?_.fn?1:_.length:0},f.prototype.emit=function(h,x,_,v,y,b){var T=t?t+h:h;if(!this._events[T])return!1;var w=this._events[T],S=arguments.length,E,R;if(w.fn){switch(w.once&&this.removeListener(h,w.fn,void 0,!0),S){case 1:return w.fn.call(w.context),!0;case 2:return w.fn.call(w.context,x),!0;case 3:return w.fn.call(w.context,x,_),!0;case 4:return w.fn.call(w.context,x,_,v),!0;case 5:return w.fn.call(w.context,x,_,v,y),!0;case 6:return w.fn.call(w.context,x,_,v,y,b),!0}for(R=1,E=new Array(S-1);R<S;R++)E[R-1]=arguments[R];w.fn.apply(w.context,E)}else{var I=w.length,P;for(R=0;R<I;R++)switch(w[R].once&&this.removeListener(h,w[R].fn,void 0,!0),S){case 1:w[R].fn.call(w[R].context);break;case 2:w[R].fn.call(w[R].context,x);break;case 3:w[R].fn.call(w[R].context,x,_);break;case 4:w[R].fn.call(w[R].context,x,_,v);break;default:if(!E)for(P=1,E=new Array(S-1);P<S;P++)E[P-1]=arguments[P];w[R].fn.apply(w[R].context,E)}}return!0},f.prototype.on=function(h,x,_){return a(this,h,x,_,!1)},f.prototype.once=function(h,x,_){return a(this,h,x,_,!0)},f.prototype.removeListener=function(h,x,_,v){var y=t?t+h:h;if(!this._events[y])return this;if(!x)return u(this,y),this;var b=this._events[y];if(b.fn)b.fn===x&&(!v||b.once)&&(!_||b.context===_)&&u(this,y);else{for(var T=0,w=[],S=b.length;T<S;T++)(b[T].fn!==x||v&&!b[T].once||_&&b[T].context!==_)&&w.push(b[T]);w.length?this._events[y]=w.length===1?w[0]:w:u(this,y)}return this},f.prototype.removeAllListeners=function(h){var x;return h?(x=t?t+h:h,this._events[x]&&u(this,x)):(this._events=new n,this._eventsCount=0),this},f.prototype.off=f.prototype.removeListener,f.prototype.addListener=f.prototype.on,f.prefixed=t,f.EventEmitter=f,r.exports=f}(cp)),cp.exports}var JO=XO();const QO=ka(JO),om=new WeakMap,im=["error","warn","log","info"];let sm="warn";function Wx(r){if(sm&&im.indexOf(r)<=im.indexOf(sm)){for(var e=arguments.length,t=new Array(e>1?e-1:0),n=1;n<e;n++)t[n-1]=arguments[n];console[r](...t)}}function dl(r){return im.reduce((e,t)=>(e[t]=Wx.bind(console,t,r),e),{})}dl.level=r=>{sm=r};Wx.level=dl.level;const up=dl("quill:events"),eM=["selectionchange","mousedown","mouseup","click"];eM.forEach(r=>{document.addEventListener(r,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Array.from(document.querySelectorAll(".ql-container")).forEach(o=>{const a=om.get(o);a&&a.emitter&&a.emitter.handleDOM(...t)})})});class Vt extends QO{constructor(){super(),this.domListeners={},this.on("error",up.error)}emit(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return up.log.call(up,...t),super.emit(...t)}handleDOM(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];(this.domListeners[e.type]||[]).forEach(a=>{let{node:u,handler:f}=a;(e.target===u||u.contains(e.target))&&f(e,...n)})}listenDOM(e,t,n){this.domListeners[e]||(this.domListeners[e]=[]),this.domListeners[e].push({node:t,handler:n})}}dt(Vt,"events",{EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_BLOT_MOUNT:"scroll-blot-mount",SCROLL_BLOT_UNMOUNT:"scroll-blot-unmount",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SCROLL_EMBED_UPDATE:"scroll-embed-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change",COMPOSITION_BEFORE_START:"composition-before-start",COMPOSITION_START:"composition-start",COMPOSITION_BEFORE_END:"composition-before-end",COMPOSITION_END:"composition-end"}),dt(Vt,"sources",{API:"api",SILENT:"silent",USER:"user"});const fp=dl("quill:selection");class nu{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this.index=e,this.length=t}}class tM{constructor(e,t){this.emitter=t,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=this.scroll.create("cursor",this),this.savedRange=new nu(0,0),this.lastRange=this.savedRange,this.lastNative=null,this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,()=>{!this.mouseDown&&!this.composing&&setTimeout(this.update.bind(this,Vt.sources.USER),1)}),this.emitter.on(Vt.events.SCROLL_BEFORE_UPDATE,()=>{if(!this.hasFocus())return;const n=this.getNativeRange();n!=null&&n.start.node!==this.cursor.textNode&&this.emitter.once(Vt.events.SCROLL_UPDATE,(o,a)=>{try{this.root.contains(n.start.node)&&this.root.contains(n.end.node)&&this.setNativeRange(n.start.node,n.start.offset,n.end.node,n.end.offset);const u=a.some(f=>f.type==="characterData"||f.type==="childList"||f.type==="attributes"&&f.target===this.root);this.update(u?Vt.sources.SILENT:o)}catch{}})}),this.emitter.on(Vt.events.SCROLL_OPTIMIZE,(n,o)=>{if(o.range){const{startNode:a,startOffset:u,endNode:f,endOffset:d}=o.range;this.setNativeRange(a,u,f,d),this.update(Vt.sources.SILENT)}}),this.update(Vt.sources.SILENT)}handleComposition(){this.emitter.on(Vt.events.COMPOSITION_BEFORE_START,()=>{this.composing=!0}),this.emitter.on(Vt.events.COMPOSITION_END,()=>{if(this.composing=!1,this.cursor.parent){const e=this.cursor.restore();if(!e)return;setTimeout(()=>{this.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)},1)}})}handleDragging(){this.emitter.listenDOM("mousedown",document.body,()=>{this.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,()=>{this.mouseDown=!1,this.update(Vt.sources.USER)})}focus(){this.hasFocus()||(this.root.focus({preventScroll:!0}),this.setRange(this.savedRange))}format(e,t){this.scroll.update();const n=this.getNativeRange();if(!(n==null||!n.native.collapsed||this.scroll.query(e,Jt.BLOCK))){if(n.start.node!==this.cursor.textNode){const o=this.scroll.find(n.start.node,!1);if(o==null)return;if(o instanceof Uo){const a=o.split(n.start.offset);o.parent.insertBefore(this.cursor,a)}else o.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}getBounds(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;const n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;let o,[a,u]=this.scroll.leaf(e);if(a==null)return null;if(t>0&&u===a.length()){const[x]=this.scroll.leaf(e+1);if(x){const[_]=this.scroll.line(e),[v]=this.scroll.line(e+1);_===v&&(a=x,u=0)}}[o,u]=a.position(u,!0);const f=document.createRange();if(t>0)return f.setStart(o,u),[a,u]=this.scroll.leaf(e+t),a==null?null:([o,u]=a.position(u,!0),f.setEnd(o,u),f.getBoundingClientRect());let d="left",h;if(o instanceof Text){if(!o.data.length)return null;u<o.data.length?(f.setStart(o,u),f.setEnd(o,u+1)):(f.setStart(o,u-1),f.setEnd(o,u),d="right"),h=f.getBoundingClientRect()}else{if(!(a.domNode instanceof Element))return null;h=a.domNode.getBoundingClientRect(),u>0&&(d="right")}return{bottom:h.top+h.height,height:h.height,left:h[d],right:h[d],top:h.top,width:0}}getNativeRange(){const e=document.getSelection();if(e==null||e.rangeCount<=0)return null;const t=e.getRangeAt(0);if(t==null)return null;const n=this.normalizeNative(t);return fp.info("getNativeRange",n),n}getRange(){const e=this.scroll.domNode;if("isConnected"in e&&!e.isConnected)return[null,null];const t=this.getNativeRange();return t==null?[null,null]:[this.normalizedToRange(t),t]}hasFocus(){return document.activeElement===this.root||document.activeElement!=null&&dp(this.root,document.activeElement)}normalizedToRange(e){const t=[[e.start.node,e.start.offset]];e.native.collapsed||t.push([e.end.node,e.end.offset]);const n=t.map(u=>{const[f,d]=u,h=this.scroll.find(f,!0),x=h.offset(this.scroll);return d===0?x:h instanceof Uo?x+h.index(f,d):x+h.length()}),o=Math.min(Math.max(...n),this.scroll.length()-1),a=Math.min(o,...n);return new nu(a,o-a)}normalizeNative(e){if(!dp(this.root,e.startContainer)||!e.collapsed&&!dp(this.root,e.endContainer))return null;const t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach(n=>{let{node:o,offset:a}=n;for(;!(o instanceof Text)&&o.childNodes.length>0;)if(o.childNodes.length>a)o=o.childNodes[a],a=0;else if(o.childNodes.length===a)o=o.lastChild,o instanceof Text?a=o.data.length:o.childNodes.length>0?a=o.childNodes.length:a=o.childNodes.length+1;else break;n.node=o,n.offset=a}),t}rangeToNative(e){const t=this.scroll.length(),n=(o,a)=>{o=Math.min(t-1,o);const[u,f]=this.scroll.leaf(o);return u?u.position(f,a):[null,-1]};return[...n(e.index,!1),...n(e.index+e.length,!0)]}setNativeRange(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:t,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(fp.info("setNativeRange",e,t,n,o),e!=null&&(this.root.parentNode==null||e.parentNode==null||n.parentNode==null))return;const u=document.getSelection();if(u!=null)if(e!=null){this.hasFocus()||this.root.focus({preventScroll:!0});const{native:f}=this.getNativeRange()||{};if(f==null||a||e!==f.startContainer||t!==f.startOffset||n!==f.endContainer||o!==f.endOffset){e instanceof Element&&e.tagName==="BR"&&(t=Array.from(e.parentNode.childNodes).indexOf(e),e=e.parentNode),n instanceof Element&&n.tagName==="BR"&&(o=Array.from(n.parentNode.childNodes).indexOf(n),n=n.parentNode);const d=document.createRange();d.setStart(e,t),d.setEnd(n,o),u.removeAllRanges(),u.addRange(d)}}else u.removeAllRanges(),this.root.blur()}setRange(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Vt.sources.API;if(typeof t=="string"&&(n=t,t=!1),fp.info("setRange",e),e!=null){const o=this.rangeToNative(e);this.setNativeRange(...o,t)}else this.setNativeRange(null);this.update(n)}update(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Vt.sources.USER;const t=this.lastRange,[n,o]=this.getRange();if(this.lastRange=n,this.lastNative=o,this.lastRange!=null&&(this.savedRange=this.lastRange),!Pm(t,this.lastRange)){if(!this.composing&&o!=null&&o.native.collapsed&&o.start.node!==this.cursor.textNode){const u=this.cursor.restore();u&&this.setNativeRange(u.startNode,u.startOffset,u.endNode,u.endOffset)}const a=[Vt.events.SELECTION_CHANGE,Yu(this.lastRange),Yu(t),e];this.emitter.emit(Vt.events.EDITOR_CHANGE,...a),e!==Vt.sources.SILENT&&this.emitter.emit(...a)}}}function dp(r,e){try{e.parentNode}catch{return!1}return r.contains(e)}const rM=/^[ -~]*$/;class nM{constructor(e){this.scroll=e,this.delta=this.getDelta()}applyDelta(e){this.scroll.update();let t=this.scroll.length();this.scroll.batchStart();const n=Qy(e),o=new Wt;return iM(n.ops.slice()).reduce((u,f)=>{const d=gs.Op.length(f);let h=f.attributes||{},x=!1,_=!1;if(f.insert!=null){if(o.retain(d),typeof f.insert=="string"){const b=f.insert;_=!b.endsWith(`
|
167
167
|
`)&&(t<=u||!!this.scroll.descendant(ps,u)[0]),this.scroll.insertAt(u,b);const[T,w]=this.scroll.line(u);let S=oc({},ds(T));if(T instanceof qo){const[E]=T.descendant(Uo,w);E&&(S=oc(S,ds(E)))}h=gs.AttributeMap.diff(S,h)||{}}else if(typeof f.insert=="object"){const b=Object.keys(f.insert)[0];if(b==null)return u;const T=this.scroll.query(b,Jt.INLINE)!=null;if(T)(t<=u||this.scroll.descendant(ps,u)[0])&&(_=!0);else if(u>0){const[w,S]=this.scroll.descendant(Uo,u-1);w instanceof Vs?w.value()[S]!==`
|
168
|
-
`&&(x=!0):w instanceof
|
168
|
+
`&&(x=!0):w instanceof Ui&&w.statics.scope===Jt.INLINE_BLOT&&(x=!0)}if(this.scroll.insertAt(u,b,f.insert[b]),T){const[w]=this.scroll.descendant(Uo,u);if(w){const S=oc({},ds(w));h=gs.AttributeMap.diff(S,h)||{}}}}t+=d}else if(o.push(f),f.retain!==null&&typeof f.retain=="object"){const b=Object.keys(f.retain)[0];if(b==null)return u;this.scroll.updateEmbedAt(u,b,f.retain[b])}Object.keys(h).forEach(b=>{this.scroll.formatAt(u,d,b,h[b])});const v=x?1:0,y=_?1:0;return t+=v+y,o.retain(v),o.delete(y),u+d+v+y},0),o.reduce((u,f)=>typeof f.delete=="number"?(this.scroll.deleteAt(u,f.delete),u):u+gs.Op.length(f),0),this.scroll.batchEnd(),this.scroll.optimize(),this.update(n)}deleteText(e,t){return this.scroll.deleteAt(e,t),this.update(new Wt().retain(e).delete(t))}formatLine(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.scroll.update(),Object.keys(n).forEach(a=>{this.scroll.lines(e,Math.max(t,1)).forEach(u=>{u.format(a,n[a])})}),this.scroll.optimize();const o=new Wt().retain(e).retain(t,Yu(n));return this.update(o)}formatText(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Object.keys(n).forEach(a=>{this.scroll.formatAt(e,t,a,n[a])});const o=new Wt().retain(e).retain(t,Yu(n));return this.update(o)}getContents(e,t){return this.delta.slice(e,e+t)}getDelta(){return this.scroll.lines().reduce((e,t)=>e.concat(t.delta()),new Wt)}getFormat(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=[],o=[];t===0?this.scroll.path(e).forEach(f=>{const[d]=f;d instanceof qo?n.push(d):d instanceof Uo&&o.push(d)}):(n=this.scroll.lines(e,t),o=this.scroll.descendants(Uo,e,t));const[a,u]=[n,o].map(f=>{const d=f.shift();if(d==null)return{};let h=ds(d);for(;Object.keys(h).length>0;){const x=f.shift();if(x==null)return h;h=oM(ds(x),h)}return h});return{...a,...u}}getHTML(e,t){const[n,o]=this.scroll.line(e);if(n){const a=n.length();return n.length()>=o+t&&!(o===0&&t===a)?sd(n,o,t,!0):sd(this.scroll,e,t,!0)}return""}getText(e,t){return this.getContents(e,t).filter(n=>typeof n.insert=="string").map(n=>n.insert).join("")}insertContents(e,t){const n=Qy(t),o=new Wt().retain(e).concat(n);return this.scroll.insertContents(e,n),this.update(o)}insertEmbed(e,t,n){return this.scroll.insertAt(e,t,n),this.update(new Wt().retain(e).insert({[t]:n}))}insertText(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return t=t.replace(/\r\n/g,`
|
169
169
|
`).replace(/\r/g,`
|
170
170
|
`),this.scroll.insertAt(e,t),Object.keys(n).forEach(o=>{this.scroll.formatAt(e,t.length,o,n[o])}),this.update(new Wt().retain(e).insert(t,Yu(n)))}isBlank(){if(this.scroll.children.length===0)return!0;if(this.scroll.children.length>1)return!1;const e=this.scroll.children.head;if((e==null?void 0:e.statics.blotName)!==qo.blotName)return!1;const t=e;return t.children.length>1?!1:t.children.head instanceof Zs}removeFormat(e,t){const n=this.getText(e,t),[o,a]=this.scroll.line(e+t);let u=0,f=new Wt;o!=null&&(u=o.length()-a,f=o.delta().slice(a,a+u-1).insert(`
|
171
171
|
`));const h=this.getContents(e,t+u).diff(new Wt().insert(n).concat(f)),x=new Wt().retain(e).concat(h);return this.applyDelta(x)}update(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;const o=this.delta;if(t.length===1&&t[0].type==="characterData"&&t[0].target.data.match(rM)&&this.scroll.find(t[0].target)){const a=this.scroll.find(t[0].target),u=ds(a),f=a.offset(this.scroll),d=t[0].oldValue.replace(nf.CONTENTS,""),h=new Wt().insert(d),x=new Wt().insert(a.value()),_=n&&{oldRange:e0(n.oldRange,-f),newRange:e0(n.newRange,-f)};e=new Wt().retain(f).concat(h.diff(x,_)).reduce((y,b)=>b.insert?y.insert(b.insert,u):y.push(b),new Wt),this.delta=o.compose(e)}else this.delta=this.getDelta(),(!e||!Pm(o.compose(e),this.delta))&&(e=o.diff(this.delta,n));return e}}function Wu(r,e,t){if(r.length===0){const[y]=hp(t.pop());return e<=0?`</li></${y}>`:`</li></${y}>${Wu([],e-1,t)}`}const[{child:n,offset:o,length:a,indent:u,type:f},...d]=r,[h,x]=hp(f);if(u>e)return t.push(f),u===e+1?`<${h}><li${x}>${sd(n,o,a)}${Wu(d,u,t)}`:`<${h}><li>${Wu(r,e+1,t)}`;const _=t[t.length-1];if(u===e&&f===_)return`</li><li${x}>${sd(n,o,a)}${Wu(d,u,t)}`;const[v]=hp(t.pop());return`</li></${v}>${Wu(r,e-1,t)}`}function sd(r,e,t){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if("html"in r&&typeof r.html=="function")return r.html(e,t);if(r instanceof Vs)return bh(r.value().slice(e,e+t)).replaceAll(" "," ");if(r instanceof Us){if(r.statics.blotName==="list-container"){const h=[];return r.children.forEachAt(e,t,(x,_,v)=>{const y="formats"in x&&typeof x.formats=="function"?x.formats():{};h.push({child:x,offset:_,length:v,indent:y.indent||0,type:y.list})}),Wu(h,-1,[])}const o=[];if(r.children.forEachAt(e,t,(h,x,_)=>{o.push(sd(h,x,_))}),n||r.statics.blotName==="list")return o.join("");const{outerHTML:a,innerHTML:u}=r.domNode,[f,d]=a.split(`>${u}<`);return f==="<table"?`<table style="border: 1px solid #000;">${o.join("")}<${d}`:`${f}>${o.join("")}<${d}`}return r.domNode instanceof Element?r.domNode.outerHTML:""}function oM(r,e){return Object.keys(e).reduce((t,n)=>{if(r[n]==null)return t;const o=e[n];return o===r[n]?t[n]=o:Array.isArray(o)?o.indexOf(r[n])<0?t[n]=o.concat([r[n]]):t[n]=o:t[n]=[o,r[n]],t},{})}function hp(r){const e=r==="ordered"?"ol":"ul";switch(r){case"checked":return[e,' data-list="checked"'];case"unchecked":return[e,' data-list="unchecked"'];default:return[e,""]}}function Qy(r){return r.reduce((e,t)=>{if(typeof t.insert=="string"){const n=t.insert.replace(/\r\n/g,`
|
172
172
|
`).replace(/\r/g,`
|
173
173
|
`);return e.insert(n,t.attributes)}return e.push(t)},new Wt)}function e0(r,e){let{index:t,length:n}=r;return new nu(t+e,n)}function iM(r){const e=[];return r.forEach(t=>{typeof t.insert=="string"?t.insert.split(`
|
174
174
|
`).forEach((o,a)=>{a&&e.push({insert:`
|
175
|
-
`,attributes:t.attributes}),o&&e.push({insert:o,attributes:t.attributes})}):e.push(t)}),e}class Ks{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.quill=e,this.options=t}}dt(Ks,"DEFAULTS",{});const Ud="\uFEFF";class Fm extends
|
175
|
+
`,attributes:t.attributes}),o&&e.push({insert:o,attributes:t.attributes})}):e.push(t)}),e}class Ks{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.quill=e,this.options=t}}dt(Ks,"DEFAULTS",{});const Ud="\uFEFF";class Fm extends Ui{constructor(e,t){super(e,t),this.contentNode=document.createElement("span"),this.contentNode.setAttribute("contenteditable","false"),Array.from(this.domNode.childNodes).forEach(n=>{this.contentNode.appendChild(n)}),this.leftGuard=document.createTextNode(Ud),this.rightGuard=document.createTextNode(Ud),this.domNode.appendChild(this.leftGuard),this.domNode.appendChild(this.contentNode),this.domNode.appendChild(this.rightGuard)}index(e,t){return e===this.leftGuard?0:e===this.rightGuard?1:super.index(e,t)}restore(e){let t=null,n;const o=e.data.split(Ud).join("");if(e===this.leftGuard)if(this.prev instanceof Vs){const a=this.prev.length();this.prev.insertAt(a,o),t={startNode:this.prev.domNode,startOffset:a+o.length}}else n=document.createTextNode(o),this.parent.insertBefore(this.scroll.create(n),this),t={startNode:n,startOffset:o.length};else e===this.rightGuard&&(this.next instanceof Vs?(this.next.insertAt(0,o),t={startNode:this.next.domNode,startOffset:o.length}):(n=document.createTextNode(o),this.parent.insertBefore(this.scroll.create(n),this.next),t={startNode:n,startOffset:o.length}));return e.data=Ud,t}update(e,t){e.forEach(n=>{if(n.type==="characterData"&&(n.target===this.leftGuard||n.target===this.rightGuard)){const o=this.restore(n.target);o&&(t.range=o)}})}}class sM{constructor(e,t){dt(this,"isComposing",!1);this.scroll=e,this.emitter=t,this.setupListeners()}setupListeners(){this.scroll.domNode.addEventListener("compositionstart",e=>{this.isComposing||this.handleCompositionStart(e)}),this.scroll.domNode.addEventListener("compositionend",e=>{this.isComposing&&queueMicrotask(()=>{this.handleCompositionEnd(e)})})}handleCompositionStart(e){const t=e.target instanceof Node?this.scroll.find(e.target,!0):null;t&&!(t instanceof Fm)&&(this.emitter.emit(Vt.events.COMPOSITION_BEFORE_START,e),this.scroll.batchStart(),this.emitter.emit(Vt.events.COMPOSITION_START,e),this.isComposing=!0)}handleCompositionEnd(e){this.emitter.emit(Vt.events.COMPOSITION_BEFORE_END,e),this.scroll.batchEnd(),this.emitter.emit(Vt.events.COMPOSITION_END,e),this.isComposing=!1}}const Xf=class Xf{constructor(e,t){dt(this,"modules",{});this.quill=e,this.options=t}init(){Object.keys(this.options.modules).forEach(e=>{this.modules[e]==null&&this.addModule(e)})}addModule(e){const t=this.quill.constructor.import(`modules/${e}`);return this.modules[e]=new t(this.quill,this.options.modules[e]||{}),this.modules[e]}};dt(Xf,"DEFAULTS",{modules:{}}),dt(Xf,"themes",{default:Xf});let of=Xf;const aM=r=>r.parentElement||r.getRootNode().host||null,lM=r=>{const e=r.getBoundingClientRect(),t="offsetWidth"in r&&Math.abs(e.width)/r.offsetWidth||1,n="offsetHeight"in r&&Math.abs(e.height)/r.offsetHeight||1;return{top:e.top,right:e.left+r.clientWidth*t,bottom:e.top+r.clientHeight*n,left:e.left}},Wd=r=>{const e=parseInt(r,10);return Number.isNaN(e)?0:e},t0=(r,e,t,n,o,a)=>r<t&&e>n?0:r<t?-(t-r+o):e>n?e-r>n-t?r+o-t:e-n+a:0,cM=(r,e)=>{var a,u,f;const t=r.ownerDocument;let n=e,o=r;for(;o;){const d=o===t.body,h=d?{top:0,right:((a=window.visualViewport)==null?void 0:a.width)??t.documentElement.clientWidth,bottom:((u=window.visualViewport)==null?void 0:u.height)??t.documentElement.clientHeight,left:0}:lM(o),x=getComputedStyle(o),_=t0(n.left,n.right,h.left,h.right,Wd(x.scrollPaddingLeft),Wd(x.scrollPaddingRight)),v=t0(n.top,n.bottom,h.top,h.bottom,Wd(x.scrollPaddingTop),Wd(x.scrollPaddingBottom));if(_||v)if(d)(f=t.defaultView)==null||f.scrollBy(_,v);else{const{scrollLeft:y,scrollTop:b}=o;v&&(o.scrollTop+=v),_&&(o.scrollLeft+=_);const T=o.scrollLeft-y,w=o.scrollTop-b;n={left:n.left-T,top:n.top-w,right:n.right-T,bottom:n.bottom-w}}o=d||x.position==="fixed"?null:aM(o)}},uM=100,fM=["block","break","cursor","inline","scroll","text"],dM=(r,e,t)=>{const n=new rf;return fM.forEach(o=>{const a=e.query(o);a&&n.register(a)}),r.forEach(o=>{let a=e.query(o);a||t.error(`Cannot register "${o}" specified in "formats" config. Are you sure it was registered?`);let u=0;for(;a;)if(n.register(a),a="blotName"in a?a.requiredContainer??null:null,u+=1,u>uM){t.error(`Cycle detected in registering blot requiredContainer: "${o}"`);break}}),n},Ju=dl("quill"),Vd=new rf;Us.uiClass="ql-ui";const Bs=class Bs{static debug(e){e===!0&&(e="log"),dl.level(e)}static find(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return om.get(e)||Vd.find(e,t)}static import(e){return this.imports[e]==null&&Ju.error(`Cannot import ${e}. Are you sure it was registered?`),this.imports[e]}static register(){if(typeof(arguments.length<=0?void 0:arguments[0])!="string"){const e=arguments.length<=0?void 0:arguments[0],t=!!(!(arguments.length<=1)&&arguments[1]),n="attrName"in e?e.attrName:e.blotName;typeof n=="string"?this.register(`formats/${n}`,e,t):Object.keys(e).forEach(o=>{this.register(o,e[o],t)})}else{const e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=!!(!(arguments.length<=2)&&arguments[2]);this.imports[e]!=null&&!n&&Ju.warn(`Overwriting ${e} with`,t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&t&&typeof t!="boolean"&&t.blotName!=="abstract"&&Vd.register(t),typeof t.register=="function"&&t.register(Vd)}}constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.options=hM(e,t),this.container=this.options.container,this.container==null){Ju.error("Invalid Quill container",e);return}this.options.debug&&Bs.debug(this.options.debug);const n=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",om.set(this.container,this),this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.emitter=new Vt;const o=jm.blotName,a=this.options.registry.query(o);if(!a||!("blotName"in a))throw new Error(`Cannot initialize Quill without "${o}" blot`);if(this.scroll=new a(this.options.registry,this.root,{emitter:this.emitter}),this.editor=new nM(this.scroll),this.selection=new tM(this.scroll,this.emitter),this.composition=new sM(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.uploader=this.theme.addModule("uploader"),this.theme.addModule("input"),this.theme.addModule("uiNode"),this.theme.init(),this.emitter.on(Vt.events.EDITOR_CHANGE,u=>{u===Vt.events.TEXT_CHANGE&&this.root.classList.toggle("ql-blank",this.editor.isBlank())}),this.emitter.on(Vt.events.SCROLL_UPDATE,(u,f)=>{const d=this.selection.lastRange,[h]=this.selection.getRange(),x=d&&h?{oldRange:d,newRange:h}:void 0;js.call(this,()=>this.editor.update(null,f,x),u)}),this.emitter.on(Vt.events.SCROLL_EMBED_UPDATE,(u,f)=>{const d=this.selection.lastRange,[h]=this.selection.getRange(),x=d&&h?{oldRange:d,newRange:h}:void 0;js.call(this,()=>{const _=new Wt().retain(u.offset(this)).retain({[u.statics.blotName]:f});return this.editor.update(_,[],x)},Bs.sources.USER)}),n){const u=this.clipboard.convert({html:`${n}<p><br></p>`,text:`
|
176
176
|
`});this.setContents(u)}this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable(),this.allowReadOnlyEdits=!1}addContainer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(typeof e=="string"){const n=e;e=document.createElement("div"),e.classList.add(n)}return this.container.insertBefore(e,t),e}blur(){this.selection.setRange(null)}deleteText(e,t,n){return[e,t,,n]=ol(e,t,n),js.call(this,()=>this.editor.deleteText(e,t),n,e,-1*t)}disable(){this.enable(!1)}editReadOnly(e){this.allowReadOnlyEdits=!0;const t=e();return this.allowReadOnlyEdits=!1,t}enable(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}focus(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.selection.focus(),e.preventScroll||this.scrollSelectionIntoView()}format(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Vt.sources.API;return js.call(this,()=>{const o=this.getSelection(!0);let a=new Wt;if(o==null)return a;if(this.scroll.query(e,Jt.BLOCK))a=this.editor.formatLine(o.index,o.length,{[e]:t});else{if(o.length===0)return this.selection.format(e,t),a;a=this.editor.formatText(o.index,o.length,{[e]:t})}return this.setSelection(o,Vt.sources.SILENT),a},n)}formatLine(e,t,n,o,a){let u;return[e,t,u,a]=ol(e,t,n,o,a),js.call(this,()=>this.editor.formatLine(e,t,u),a,e,0)}formatText(e,t,n,o,a){let u;return[e,t,u,a]=ol(e,t,n,o,a),js.call(this,()=>this.editor.formatText(e,t,u),a,e,0)}getBounds(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=null;if(typeof e=="number"?n=this.selection.getBounds(e,t):n=this.selection.getBounds(e.index,e.length),!n)return null;const o=this.container.getBoundingClientRect();return{bottom:n.bottom-o.top,height:n.height,left:n.left-o.left,right:n.right-o.left,top:n.top-o.top,width:n.width}}getContents(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.getLength()-e;return[e,t]=ol(e,t),this.editor.getContents(e,t)}getFormat(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.getSelection(!0),t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof e=="number"?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}getIndex(e){return e.offset(this.scroll)}getLength(){return this.scroll.length()}getLeaf(e){return this.scroll.leaf(e)}getLine(e){return this.scroll.line(e)}getLines(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE;return typeof e!="number"?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}getModule(e){return this.theme.modules[e]}getSelection(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)&&this.focus(),this.update(),this.selection.getRange()[0]}getSemanticHTML(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return typeof e=="number"&&(t=t??this.getLength()-e),[e,t]=ol(e,t),this.editor.getHTML(e,t)}getText(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return typeof e=="number"&&(t=t??this.getLength()-e),[e,t]=ol(e,t),this.editor.getText(e,t)}hasFocus(){return this.selection.hasFocus()}insertEmbed(e,t,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Bs.sources.API;return js.call(this,()=>this.editor.insertEmbed(e,t,n),o,e)}insertText(e,t,n,o,a){let u;return[e,,u,a]=ol(e,0,n,o,a),js.call(this,()=>this.editor.insertText(e,t,u),a,e,t.length)}isEnabled(){return this.scroll.isEnabled()}off(){return this.emitter.off(...arguments)}on(){return this.emitter.on(...arguments)}once(){return this.emitter.once(...arguments)}removeFormat(e,t,n){return[e,t,,n]=ol(e,t,n),js.call(this,()=>this.editor.removeFormat(e,t),n,e)}scrollRectIntoView(e){cM(this.root,e)}scrollIntoView(){console.warn("Quill#scrollIntoView() has been deprecated and will be removed in the near future. Please use Quill#scrollSelectionIntoView() instead."),this.scrollSelectionIntoView()}scrollSelectionIntoView(){const e=this.selection.lastRange,t=e&&this.selection.getBounds(e.index,e.length);t&&this.scrollRectIntoView(t)}setContents(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Vt.sources.API;return js.call(this,()=>{e=new Wt(e);const n=this.getLength(),o=this.editor.deleteText(0,n),a=this.editor.insertContents(0,e),u=this.editor.deleteText(this.getLength()-1,1);return o.compose(a).compose(u)},t)}setSelection(e,t,n){e==null?this.selection.setRange(null,t||Bs.sources.API):([e,t,,n]=ol(e,t,n),this.selection.setRange(new nu(Math.max(0,e),t),n),n!==Vt.sources.SILENT&&this.scrollSelectionIntoView())}setText(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Vt.sources.API;const n=new Wt().insert(e);return this.setContents(n,t)}update(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Vt.sources.USER;const t=this.scroll.update(e);return this.selection.update(e),t}updateContents(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Vt.sources.API;return js.call(this,()=>(e=new Wt(e),this.editor.applyDelta(e)),t,!0)}};dt(Bs,"DEFAULTS",{bounds:null,modules:{clipboard:!0,keyboard:!0,history:!0,uploader:!0},placeholder:"",readOnly:!1,registry:Vd,theme:"default"}),dt(Bs,"events",Vt.events),dt(Bs,"sources",Vt.sources),dt(Bs,"version","2.0.3"),dt(Bs,"imports",{delta:Wt,parchment:WO,"core/module":Ks,"core/theme":of});let Je=Bs;function r0(r){return typeof r=="string"?document.querySelector(r):r}function pp(r){return Object.entries(r??{}).reduce((e,t)=>{let[n,o]=t;return{...e,[n]:o===!0?{}:o}},{})}function n0(r){return Object.fromEntries(Object.entries(r).filter(e=>e[1]!==void 0))}function hM(r,e){const t=r0(r);if(!t)throw new Error("Invalid Quill container");const o=!e.theme||e.theme===Je.DEFAULTS.theme?of:Je.import(`themes/${e.theme}`);if(!o)throw new Error(`Invalid theme ${e.theme}. Did you register it?`);const{modules:a,...u}=Je.DEFAULTS,{modules:f,...d}=o.DEFAULTS;let h=pp(e.modules);h!=null&&h.toolbar&&h.toolbar.constructor!==Object&&(h={...h,toolbar:{container:h.toolbar}});const x=oc({},pp(a),pp(f),h),_={...u,...n0(d),...n0(e)};let v=e.registry;return v?e.formats&&Ju.warn('Ignoring "formats" option because "registry" is specified'):v=e.formats?dM(e.formats,_.registry,Ju):_.registry,{..._,registry:v,container:t,theme:o,modules:Object.entries(x).reduce((y,b)=>{let[T,w]=b;if(!w)return y;const S=Je.import(`modules/${T}`);return S==null?(Ju.error(`Cannot load ${T} module. Are you sure you registered it?`),y):{...y,[T]:oc({},S.DEFAULTS||{},w)}},{}),bounds:r0(_.bounds)}}function js(r,e,t,n){if(!this.isEnabled()&&e===Vt.sources.USER&&!this.allowReadOnlyEdits)return new Wt;let o=t==null?null:this.getSelection();const a=this.editor.delta,u=r();if(o!=null&&(t===!0&&(t=o.index),n==null?o=o0(o,u,e):n!==0&&(o=o0(o,t,n,e)),this.setSelection(o,Vt.sources.SILENT)),u.length()>0){const f=[Vt.events.TEXT_CHANGE,u,a,e];this.emitter.emit(Vt.events.EDITOR_CHANGE,...f),e!==Vt.sources.SILENT&&this.emitter.emit(...f)}return u}function ol(r,e,t,n,o){let a={};return typeof r.index=="number"&&typeof r.length=="number"?typeof e!="number"?(o=n,n=t,t=e,e=r.length,r=r.index):(e=r.length,r=r.index):typeof e!="number"&&(o=n,n=t,t=e,e=0),typeof t=="object"?(a=t,o=n):typeof t=="string"&&(n!=null?a[t]=n:o=t),o=o||Vt.sources.API,[r,e,a,o]}function o0(r,e,t,n){const o=typeof t=="number"?t:0;if(r==null)return null;let a,u;return e&&typeof e.transformPosition=="function"?[a,u]=[r.index,r.index+r.length].map(f=>e.transformPosition(f,n!==Vt.sources.USER)):[a,u]=[r.index,r.index+r.length].map(f=>f<e||f===e&&n===Vt.sources.USER?f:o>=0?f+o:Math.max(e,f+o)),new nu(a,u-a)}class lu extends yh{}function i0(r){return r instanceof qo||r instanceof ps}function s0(r){return typeof r.updateContent=="function"}class Vu extends jm{constructor(e,t,n){let{emitter:o}=n;super(e,t),this.emitter=o,this.batch=!1,this.optimize(),this.enable(),this.domNode.addEventListener("dragstart",a=>this.handleDragStart(a))}batchStart(){Array.isArray(this.batch)||(this.batch=[])}batchEnd(){if(!this.batch)return;const e=this.batch;this.batch=!1,this.update(e)}emitMount(e){this.emitter.emit(Vt.events.SCROLL_BLOT_MOUNT,e)}emitUnmount(e){this.emitter.emit(Vt.events.SCROLL_BLOT_UNMOUNT,e)}emitEmbedUpdate(e,t){this.emitter.emit(Vt.events.SCROLL_EMBED_UPDATE,e,t)}deleteAt(e,t){const[n,o]=this.line(e),[a]=this.line(e+t);if(super.deleteAt(e,t),a!=null&&n!==a&&o>0){if(n instanceof ps||a instanceof ps){this.optimize();return}const u=a.children.head instanceof Zs?null:a.children.head;n.moveChildren(a,u),n.remove()}this.optimize()}enable(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.domNode.setAttribute("contenteditable",e?"true":"false")}formatAt(e,t,n,o){super.formatAt(e,t,n,o),this.optimize()}insertAt(e,t,n){if(e>=this.length())if(n==null||this.scroll.query(t,Jt.BLOCK)==null){const o=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(o),n==null&&t.endsWith(`
|
177
177
|
`)?o.insertAt(0,t.slice(0,-1),n):o.insertAt(0,t,n)}else{const o=this.scroll.create(t,n);this.appendChild(o)}else super.insertAt(e,t,n);this.optimize()}insertBefore(e,t){if(e.statics.scope===Jt.INLINE_BLOT){const n=this.scroll.create(this.statics.defaultChild.blotName);n.appendChild(e),super.insertBefore(n,t)}else super.insertBefore(e,t)}insertContents(e,t){const n=this.deltaToRenderBlocks(t.concat(new Wt().insert(`
|
178
178
|
`))),o=n.pop();if(o==null)return;this.batchStart();const a=n.shift();if(a){const d=a.type==="block"&&(a.delta.length()===0||!this.descendant(ps,e)[0]&&e<this.length()),h=a.type==="block"?a.delta:new Wt().insert({[a.key]:a.value});gp(this,e,h);const x=a.type==="block"?1:0,_=e+h.length()+x;d&&this.insertAt(_-1,`
|
@@ -185,9 +185,9 @@ ${bh(this.code(e,t))}
|
|
185
185
|
`,n).retain(e.length()-t-1).retain(1,{list:"unchecked"});this.quill.updateContents(o,Je.sources.USER),this.quill.setSelection(r.index+1,Je.sources.SILENT),this.quill.scrollSelectionIntoView()}},"header enter":{key:"Enter",collapsed:!0,format:["header"],suffix:/^$/,handler(r,e){const[t,n]=this.quill.getLine(r.index),o=new Wt().retain(r.index).insert(`
|
186
186
|
`,e.format).retain(t.length()-n-1).retain(1,{header:null});this.quill.updateContents(o,Je.sources.USER),this.quill.setSelection(r.index+1,Je.sources.SILENT),this.quill.scrollSelectionIntoView()}},"table backspace":{key:"Backspace",format:["table"],collapsed:!0,offset:0,handler(){}},"table delete":{key:"Delete",format:["table"],collapsed:!0,suffix:/^$/,handler(){}},"table enter":{key:"Enter",shiftKey:null,format:["table"],handler(r){const e=this.quill.getModule("table");if(e){const[t,n,o,a]=e.getTable(r),u=SM(t,n,o,a);if(u==null)return;let f=t.offset();if(u<0){const d=new Wt().retain(f).insert(`
|
187
187
|
`);this.quill.updateContents(d,Je.sources.USER),this.quill.setSelection(r.index+1,r.length,Je.sources.SILENT)}else if(u>0){f+=t.length();const d=new Wt().retain(f).insert(`
|
188
|
-
`);this.quill.updateContents(d,Je.sources.USER),this.quill.setSelection(f,Je.sources.USER)}}}},"table tab":{key:"Tab",shiftKey:null,format:["table"],handler(r,e){const{event:t,line:n}=e,o=n.offset(this.quill.scroll);t.shiftKey?this.quill.setSelection(o-1,Je.sources.USER):this.quill.setSelection(o+n.length(),Je.sources.USER)}},"list autofill":{key:" ",shiftKey:null,collapsed:!0,format:{"code-block":!1,blockquote:!1,table:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler(r,e){if(this.quill.scroll.query("list")==null)return!0;const{length:t}=e.prefix,[n,o]=this.quill.getLine(r.index);if(o>t)return!0;let a;switch(e.prefix.trim()){case"[]":case"[ ]":a="unchecked";break;case"[x]":a="checked";break;case"-":case"*":a="bullet";break;default:a="ordered"}this.quill.insertText(r.index," ",Je.sources.USER),this.quill.history.cutoff();const u=new Wt().retain(r.index-o).delete(t+1).retain(n.length()-2-o).retain(1,{list:a});return this.quill.updateContents(u,Je.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(r.index-t,Je.sources.SILENT),!1}},"code exit":{key:"Enter",collapsed:!0,format:["code-block"],prefix:/^$/,suffix:/^\s*$/,handler(r){const[e,t]=this.quill.getLine(r.index);let n=2,o=e;for(;o!=null&&o.length()<=1&&o.formats()["code-block"];)if(o=o.prev,n-=1,n<=0){const a=new Wt().retain(r.index+e.length()-t-2).retain(1,{"code-block":null}).delete(1);return this.quill.updateContents(a,Je.sources.USER),this.quill.setSelection(r.index-1,Je.sources.SILENT),!1}return!0}},"embed left":Gd("ArrowLeft",!1),"embed left shift":Gd("ArrowLeft",!0),"embed right":Gd("ArrowRight",!1),"embed right shift":Gd("ArrowRight",!0),"table down":l0(!1),"table up":l0(!0)}};_h.DEFAULTS=_M;function a0(r){return{key:"Tab",shiftKey:!r,format:{"code-block":!0},handler(e,t){let{event:n}=t;const o=this.quill.scroll.query("code-block"),{TAB:a}=o;if(e.length===0&&!n.shiftKey){this.quill.insertText(e.index,a,Je.sources.USER),this.quill.setSelection(e.index+a.length,Je.sources.SILENT);return}const u=e.length===0?this.quill.getLines(e.index,1):this.quill.getLines(e);let{index:f,length:d}=e;u.forEach((h,x)=>{r?(h.insertAt(0,a),x===0?f+=a.length:d+=a.length):h.domNode.textContent.startsWith(a)&&(h.deleteAt(0,a.length),x===0?f-=a.length:d-=a.length)}),this.quill.update(Je.sources.USER),this.quill.setSelection(f,d,Je.sources.SILENT)}}}function Gd(r,e){return{key:r,shiftKey:e,altKey:null,[r==="ArrowLeft"?"prefix":"suffix"]:/^$/,handler(n){let{index:o}=n;r==="ArrowRight"&&(o+=n.length+1);const[a]=this.quill.getLeaf(o);return a instanceof
|
188
|
+
`);this.quill.updateContents(d,Je.sources.USER),this.quill.setSelection(f,Je.sources.USER)}}}},"table tab":{key:"Tab",shiftKey:null,format:["table"],handler(r,e){const{event:t,line:n}=e,o=n.offset(this.quill.scroll);t.shiftKey?this.quill.setSelection(o-1,Je.sources.USER):this.quill.setSelection(o+n.length(),Je.sources.USER)}},"list autofill":{key:" ",shiftKey:null,collapsed:!0,format:{"code-block":!1,blockquote:!1,table:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler(r,e){if(this.quill.scroll.query("list")==null)return!0;const{length:t}=e.prefix,[n,o]=this.quill.getLine(r.index);if(o>t)return!0;let a;switch(e.prefix.trim()){case"[]":case"[ ]":a="unchecked";break;case"[x]":a="checked";break;case"-":case"*":a="bullet";break;default:a="ordered"}this.quill.insertText(r.index," ",Je.sources.USER),this.quill.history.cutoff();const u=new Wt().retain(r.index-o).delete(t+1).retain(n.length()-2-o).retain(1,{list:a});return this.quill.updateContents(u,Je.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(r.index-t,Je.sources.SILENT),!1}},"code exit":{key:"Enter",collapsed:!0,format:["code-block"],prefix:/^$/,suffix:/^\s*$/,handler(r){const[e,t]=this.quill.getLine(r.index);let n=2,o=e;for(;o!=null&&o.length()<=1&&o.formats()["code-block"];)if(o=o.prev,n-=1,n<=0){const a=new Wt().retain(r.index+e.length()-t-2).retain(1,{"code-block":null}).delete(1);return this.quill.updateContents(a,Je.sources.USER),this.quill.setSelection(r.index-1,Je.sources.SILENT),!1}return!0}},"embed left":Gd("ArrowLeft",!1),"embed left shift":Gd("ArrowLeft",!0),"embed right":Gd("ArrowRight",!1),"embed right shift":Gd("ArrowRight",!0),"table down":l0(!1),"table up":l0(!0)}};_h.DEFAULTS=_M;function a0(r){return{key:"Tab",shiftKey:!r,format:{"code-block":!0},handler(e,t){let{event:n}=t;const o=this.quill.scroll.query("code-block"),{TAB:a}=o;if(e.length===0&&!n.shiftKey){this.quill.insertText(e.index,a,Je.sources.USER),this.quill.setSelection(e.index+a.length,Je.sources.SILENT);return}const u=e.length===0?this.quill.getLines(e.index,1):this.quill.getLines(e);let{index:f,length:d}=e;u.forEach((h,x)=>{r?(h.insertAt(0,a),x===0?f+=a.length:d+=a.length):h.domNode.textContent.startsWith(a)&&(h.deleteAt(0,a.length),x===0?f-=a.length:d-=a.length)}),this.quill.update(Je.sources.USER),this.quill.setSelection(f,d,Je.sources.SILENT)}}}function Gd(r,e){return{key:r,shiftKey:e,altKey:null,[r==="ArrowLeft"?"prefix":"suffix"]:/^$/,handler(n){let{index:o}=n;r==="ArrowRight"&&(o+=n.length+1);const[a]=this.quill.getLeaf(o);return a instanceof Ui?(r==="ArrowLeft"?e?this.quill.setSelection(n.index-1,n.length+1,Je.sources.USER):this.quill.setSelection(n.index-1,Je.sources.USER):e?this.quill.setSelection(n.index,n.length+1,Je.sources.USER):this.quill.setSelection(n.index+n.length+1,Je.sources.USER),!1):!0}}}function mp(r){return{key:r[0],shortKey:!0,handler(e,t){this.quill.format(r,!t.format[r],Je.sources.USER)}}}function l0(r){return{key:r?"ArrowUp":"ArrowDown",collapsed:!0,format:["table"],handler(e,t){const n=r?"prev":"next",o=t.line,a=o.parent[n];if(a!=null){if(a.statics.blotName==="table-row"){let u=a.children.head,f=o;for(;f.prev!=null;)f=f.prev,u=u.next;const d=u.offset(this.quill.scroll)+Math.min(t.offset,u.length()-1);this.quill.setSelection(d,0,Je.sources.USER)}}else{const u=o.table()[n];u!=null&&(r?this.quill.setSelection(u.offset(this.quill.scroll)+u.length()-1,0,Je.sources.USER):this.quill.setSelection(u.offset(this.quill.scroll),0,Je.sources.USER))}return!1}}}function xM(r){if(typeof r=="string"||typeof r=="number")r={key:r};else if(typeof r=="object")r=Yu(r);else return null;return r.shortKey&&(r[bM]=r.shortKey,delete r.shortKey),r}function Um(r){let{quill:e,range:t}=r;const n=e.getLines(t);let o={};if(n.length>1){const a=n[0].formats(),u=n[n.length-1].formats();o=gs.AttributeMap.diff(u,a)||{}}e.deleteText(t,Je.sources.USER),Object.keys(o).length>0&&e.formatLine(t.index,1,o,Je.sources.USER),e.setSelection(t.index,Je.sources.SILENT)}function SM(r,e,t,n){return e.prev==null&&e.next==null?t.prev==null&&t.next==null?n===0?-1:1:t.prev==null?-1:1:e.prev==null?-1:e.next==null?1:null}const CM=/font-weight:\s*normal/,wM=["P","OL","UL"],c0=r=>r&&wM.includes(r.tagName),AM=r=>{Array.from(r.querySelectorAll("br")).filter(e=>c0(e.previousElementSibling)&&c0(e.nextElementSibling)).forEach(e=>{var t;(t=e.parentNode)==null||t.removeChild(e)})},EM=r=>{Array.from(r.querySelectorAll('b[style*="font-weight"]')).filter(e=>{var t;return(t=e.getAttribute("style"))==null?void 0:t.match(CM)}).forEach(e=>{var n;const t=r.createDocumentFragment();t.append(...e.childNodes),(n=e.parentNode)==null||n.replaceChild(t,e)})};function TM(r){r.querySelector('[id^="docs-internal-guid-"]')&&(EM(r),AM(r))}const kM=/\bmso-list:[^;]*ignore/i,RM=/\bmso-list:[^;]*\bl(\d+)/i,IM=/\bmso-list:[^;]*\blevel(\d+)/i,LM=(r,e)=>{const t=r.getAttribute("style"),n=t==null?void 0:t.match(RM);if(!n)return null;const o=Number(n[1]),a=t==null?void 0:t.match(IM),u=a?Number(a[1]):1,f=new RegExp(`@list l${o}:level${u}\\s*\\{[^\\}]*mso-level-number-format:\\s*([\\w-]+)`,"i"),d=e.match(f),h=d&&d[1]==="bullet"?"bullet":"ordered";return{id:o,indent:u,type:h,element:r}},OM=r=>{var u,f;const e=Array.from(r.querySelectorAll("[style*=mso-list]")),t=[],n=[];e.forEach(d=>{(d.getAttribute("style")||"").match(kM)?t.push(d):n.push(d)}),t.forEach(d=>{var h;return(h=d.parentNode)==null?void 0:h.removeChild(d)});const o=r.documentElement.innerHTML,a=n.map(d=>LM(d,o)).filter(d=>d);for(;a.length;){const d=[];let h=a.shift();for(;h;)d.push(h),h=a.length&&((u=a[0])==null?void 0:u.element)===h.element.nextElementSibling&&a[0].id===h.id?a.shift():null;const x=document.createElement("ul");d.forEach(y=>{const b=document.createElement("li");b.setAttribute("data-list",y.type),y.indent>1&&b.setAttribute("class",`ql-indent-${y.indent-1}`),b.innerHTML=y.element.innerHTML,x.appendChild(b)});const _=(f=d[0])==null?void 0:f.element,{parentNode:v}=_??{};_&&(v==null||v.replaceChild(x,_)),d.slice(1).forEach(y=>{let{element:b}=y;v==null||v.removeChild(b)})}};function MM(r){r.documentElement.getAttribute("xmlns:w")==="urn:schemas-microsoft-com:office:word"&&OM(r)}const DM=[MM,TM],PM=r=>{r.documentElement&&DM.forEach(e=>{e(r)})},NM=dl("quill:clipboard"),jM=[[Node.TEXT_NODE,KM],[Node.TEXT_NODE,f0],["br",zM],[Node.ELEMENT_NODE,f0],[Node.ELEMENT_NODE,qM],[Node.ELEMENT_NODE,HM],[Node.ELEMENT_NODE,GM],["li",WM],["ol, ul",VM],["pre",$M],["tr",ZM],["b",vp("bold")],["i",vp("italic")],["strike",vp("strike")],["style",UM]],FM=[pM,Kx].reduce((r,e)=>(r[e.keyName]=e,r),{}),u0=[Gx,qm,Hm,Xx,eS,rS].reduce((r,e)=>(r[e.keyName]=e,r),{});class nS extends Ks{constructor(e,t){super(e,t),this.quill.root.addEventListener("copy",n=>this.onCaptureCopy(n,!1)),this.quill.root.addEventListener("cut",n=>this.onCaptureCopy(n,!0)),this.quill.root.addEventListener("paste",this.onCapturePaste.bind(this)),this.matchers=[],jM.concat(this.options.matchers??[]).forEach(n=>{let[o,a]=n;this.addMatcher(o,a)})}addMatcher(e,t){this.matchers.push([e,t])}convert(e){let{html:t,text:n}=e,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(o[Wo.blotName])return new Wt().insert(n||"",{[Wo.blotName]:o[Wo.blotName]});if(!t)return new Wt().insert(n||"",o);const a=this.convertHTML(t);return dd(a,`
|
189
189
|
`)&&(a.ops[a.ops.length-1].attributes==null||o.table)?a.compose(new Wt().retain(a.length()-1).delete(1)):a}normalizeHTML(e){PM(e)}convertHTML(e){const t=new DOMParser().parseFromString(e,"text/html");this.normalizeHTML(t);const n=t.body,o=new WeakMap,[a,u]=this.prepareMatching(n,o);return Wm(this.quill.scroll,n,a,u,o)}dangerouslyPasteHTML(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Je.sources.API;if(typeof e=="string"){const o=this.convert({html:e,text:""});this.quill.setContents(o,t),this.quill.setSelection(0,Je.sources.SILENT)}else{const o=this.convert({html:t,text:""});this.quill.updateContents(new Wt().retain(e).concat(o),n),this.quill.setSelection(e+o.length(),Je.sources.SILENT)}}onCaptureCopy(e){var u,f;let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(e.defaultPrevented)return;e.preventDefault();const[n]=this.quill.selection.getRange();if(n==null)return;const{html:o,text:a}=this.onCopy(n,t);(u=e.clipboardData)==null||u.setData("text/plain",a),(f=e.clipboardData)==null||f.setData("text/html",o),t&&Um({range:n,quill:this.quill})}normalizeURIList(e){return e.split(/\r?\n/).filter(t=>t[0]!=="#").join(`
|
190
|
-
`)}onCapturePaste(e){var u,f,d,h,x;if(e.defaultPrevented||!this.quill.isEnabled())return;e.preventDefault();const t=this.quill.getSelection(!0);if(t==null)return;const n=(u=e.clipboardData)==null?void 0:u.getData("text/html");let o=(f=e.clipboardData)==null?void 0:f.getData("text/plain");if(!n&&!o){const _=(d=e.clipboardData)==null?void 0:d.getData("text/uri-list");_&&(o=this.normalizeURIList(_))}const a=Array.from(((h=e.clipboardData)==null?void 0:h.files)||[]);if(!n&&a.length>0){this.quill.uploader.upload(t,a);return}if(n&&a.length>0){const _=new DOMParser().parseFromString(n,"text/html");if(_.body.childElementCount===1&&((x=_.body.firstElementChild)==null?void 0:x.tagName)==="IMG"){this.quill.uploader.upload(t,a);return}}this.onPaste(t,{html:n,text:o})}onCopy(e){const t=this.quill.getText(e);return{html:this.quill.getSemanticHTML(e),text:t}}onPaste(e,t){let{text:n,html:o}=t;const a=this.quill.getFormat(e.index),u=this.convert({text:n,html:o},a);NM.log("onPaste",u,{text:n,html:o});const f=new Wt().retain(e.index).delete(e.length).concat(u);this.quill.updateContents(f,Je.sources.USER),this.quill.setSelection(f.length()-e.length,Je.sources.SILENT),this.quill.scrollSelectionIntoView()}prepareMatching(e,t){const n=[],o=[];return this.matchers.forEach(a=>{const[u,f]=a;switch(u){case Node.TEXT_NODE:o.push(f);break;case Node.ELEMENT_NODE:n.push(f);break;default:Array.from(e.querySelectorAll(u)).forEach(d=>{if(t.has(d)){const h=t.get(d);h==null||h.push(f)}else t.set(d,[f])});break}}),[n,o]}}dt(nS,"DEFAULTS",{matchers:[]});function uu(r,e,t,n){return n.query(e)?r.reduce((o,a)=>{if(!a.insert)return o;if(a.attributes&&a.attributes[e])return o.push(a);const u=t?{[e]:t}:{};return o.insert(a.insert,{...u,...a.attributes})},new Wt):r}function dd(r,e){let t="";for(let n=r.ops.length-1;n>=0&&t.length<e.length;--n){const o=r.ops[n];if(typeof o.insert!="string")break;t=o.insert+t}return t.slice(-1*e.length)===e}function rc(r,e){if(!(r instanceof Element))return!1;const t=e.query(r);return t&&t.prototype instanceof
|
190
|
+
`)}onCapturePaste(e){var u,f,d,h,x;if(e.defaultPrevented||!this.quill.isEnabled())return;e.preventDefault();const t=this.quill.getSelection(!0);if(t==null)return;const n=(u=e.clipboardData)==null?void 0:u.getData("text/html");let o=(f=e.clipboardData)==null?void 0:f.getData("text/plain");if(!n&&!o){const _=(d=e.clipboardData)==null?void 0:d.getData("text/uri-list");_&&(o=this.normalizeURIList(_))}const a=Array.from(((h=e.clipboardData)==null?void 0:h.files)||[]);if(!n&&a.length>0){this.quill.uploader.upload(t,a);return}if(n&&a.length>0){const _=new DOMParser().parseFromString(n,"text/html");if(_.body.childElementCount===1&&((x=_.body.firstElementChild)==null?void 0:x.tagName)==="IMG"){this.quill.uploader.upload(t,a);return}}this.onPaste(t,{html:n,text:o})}onCopy(e){const t=this.quill.getText(e);return{html:this.quill.getSemanticHTML(e),text:t}}onPaste(e,t){let{text:n,html:o}=t;const a=this.quill.getFormat(e.index),u=this.convert({text:n,html:o},a);NM.log("onPaste",u,{text:n,html:o});const f=new Wt().retain(e.index).delete(e.length).concat(u);this.quill.updateContents(f,Je.sources.USER),this.quill.setSelection(f.length()-e.length,Je.sources.SILENT),this.quill.scrollSelectionIntoView()}prepareMatching(e,t){const n=[],o=[];return this.matchers.forEach(a=>{const[u,f]=a;switch(u){case Node.TEXT_NODE:o.push(f);break;case Node.ELEMENT_NODE:n.push(f);break;default:Array.from(e.querySelectorAll(u)).forEach(d=>{if(t.has(d)){const h=t.get(d);h==null||h.push(f)}else t.set(d,[f])});break}}),[n,o]}}dt(nS,"DEFAULTS",{matchers:[]});function uu(r,e,t,n){return n.query(e)?r.reduce((o,a)=>{if(!a.insert)return o;if(a.attributes&&a.attributes[e])return o.push(a);const u=t?{[e]:t}:{};return o.insert(a.insert,{...u,...a.attributes})},new Wt):r}function dd(r,e){let t="";for(let n=r.ops.length-1;n>=0&&t.length<e.length;--n){const o=r.ops[n];if(typeof o.insert!="string")break;t=o.insert+t}return t.slice(-1*e.length)===e}function rc(r,e){if(!(r instanceof Element))return!1;const t=e.query(r);return t&&t.prototype instanceof Ui?!1:["address","article","blockquote","canvas","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","iframe","li","main","nav","ol","output","p","pre","section","table","td","tr","ul","video"].includes(r.tagName.toLowerCase())}function BM(r,e){return r.previousElementSibling&&r.nextElementSibling&&!rc(r.previousElementSibling,e)&&!rc(r.nextElementSibling,e)}const Zd=new WeakMap;function oS(r){return r==null?!1:(Zd.has(r)||(r.tagName==="PRE"?Zd.set(r,!0):Zd.set(r,oS(r.parentNode))),Zd.get(r))}function Wm(r,e,t,n,o){return e.nodeType===e.TEXT_NODE?n.reduce((a,u)=>u(e,a,r),new Wt):e.nodeType===e.ELEMENT_NODE?Array.from(e.childNodes||[]).reduce((a,u)=>{let f=Wm(r,u,t,n,o);return u.nodeType===e.ELEMENT_NODE&&(f=t.reduce((d,h)=>h(u,d,r),f),f=(o.get(u)||[]).reduce((d,h)=>h(u,d,r),f)),a.concat(f)},new Wt):new Wt}function vp(r){return(e,t,n)=>uu(t,r,!0,n)}function HM(r,e,t){const n=Ea.keys(r),o=Gs.keys(r),a=uc.keys(r),u={};return n.concat(o).concat(a).forEach(f=>{let d=t.query(f,Jt.ATTRIBUTE);d!=null&&(u[d.attrName]=d.value(r),u[d.attrName])||(d=FM[f],d!=null&&(d.attrName===f||d.keyName===f)&&(u[d.attrName]=d.value(r)||void 0),d=u0[f],d!=null&&(d.attrName===f||d.keyName===f)&&(d=u0[f],u[d.attrName]=d.value(r)||void 0))}),Object.entries(u).reduce((f,d)=>{let[h,x]=d;return uu(f,h,x,t)},e)}function qM(r,e,t){const n=t.query(r);if(n==null)return e;if(n.prototype instanceof Ui){const o={},a=n.value(r);if(a!=null)return o[n.blotName]=a,new Wt().insert(o,n.formats(r,t))}else if(n.prototype instanceof id&&!dd(e,`
|
191
191
|
`)&&e.insert(`
|
192
192
|
`),"blotName"in n&&"formats"in n&&typeof n.formats=="function")return uu(e,n.blotName,n.formats(r,t),t);return e}function zM(r,e){return dd(e,`
|
193
193
|
`)||e.insert(`
|
@@ -198,7 +198,7 @@ ${bh(this.code(e,t))}
|
|
198
198
|
`);const o=t.query(n);if(o&&o.prototype instanceof ps)return e.insert(`
|
199
199
|
`);n=n.firstChild}}}return e}function GM(r,e,t){var a;const n={},o=r.style||{};return o.fontStyle==="italic"&&(n.italic=!0),o.textDecoration==="underline"&&(n.underline=!0),o.textDecoration==="line-through"&&(n.strike=!0),((a=o.fontWeight)!=null&&a.startsWith("bold")||parseInt(o.fontWeight,10)>=700)&&(n.bold=!0),e=Object.entries(n).reduce((u,f)=>{let[d,h]=f;return uu(u,d,h,t)},e),parseFloat(o.textIndent||0)>0?new Wt().insert(" ").concat(e):e}function ZM(r,e,t){var o,a;const n=((o=r.parentElement)==null?void 0:o.tagName)==="TABLE"?r.parentElement:(a=r.parentElement)==null?void 0:a.parentElement;if(n!=null){const f=Array.from(n.querySelectorAll("tr")).indexOf(r)+1;return uu(e,"table",f,t)}return e}function KM(r,e,t){var o;let n=r.data;if(((o=r.parentElement)==null?void 0:o.tagName)==="O:P")return e.insert(n.trim());if(!oS(r)){if(n.trim().length===0&&n.includes(`
|
200
200
|
`)&&!BM(r,t))return e;n=n.replace(/[^\S\u00a0]/g," "),n=n.replace(/ {2,}/g," "),(r.previousSibling==null&&r.parentElement!=null&&rc(r.parentElement,t)||r.previousSibling instanceof Element&&rc(r.previousSibling,t))&&(n=n.replace(/^ /,"")),(r.nextSibling==null&&r.parentElement!=null&&rc(r.parentElement,t)||r.nextSibling instanceof Element&&rc(r.nextSibling,t))&&(n=n.replace(/ $/,"")),n=n.replaceAll(" "," ")}return e.insert(n)}class iS extends Ks{constructor(t,n){super(t,n);dt(this,"lastRecorded",0);dt(this,"ignoreChange",!1);dt(this,"stack",{undo:[],redo:[]});dt(this,"currentRange",null);this.quill.on(Je.events.EDITOR_CHANGE,(o,a,u,f)=>{o===Je.events.SELECTION_CHANGE?a&&f!==Je.sources.SILENT&&(this.currentRange=a):o===Je.events.TEXT_CHANGE&&(this.ignoreChange||(!this.options.userOnly||f===Je.sources.USER?this.record(a,u):this.transform(a)),this.currentRange=am(this.currentRange,a))}),this.quill.keyboard.addBinding({key:"z",shortKey:!0},this.undo.bind(this)),this.quill.keyboard.addBinding({key:["z","Z"],shortKey:!0,shiftKey:!0},this.redo.bind(this)),/Win/i.test(navigator.platform)&&this.quill.keyboard.addBinding({key:"y",shortKey:!0},this.redo.bind(this)),this.quill.root.addEventListener("beforeinput",o=>{o.inputType==="historyUndo"?(this.undo(),o.preventDefault()):o.inputType==="historyRedo"&&(this.redo(),o.preventDefault())})}change(t,n){if(this.stack[t].length===0)return;const o=this.stack[t].pop();if(!o)return;const a=this.quill.getContents(),u=o.delta.invert(a);this.stack[n].push({delta:u,range:am(o.range,u)}),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(o.delta,Je.sources.USER),this.ignoreChange=!1,this.restoreSelection(o)}clear(){this.stack={undo:[],redo:[]}}cutoff(){this.lastRecorded=0}record(t,n){if(t.ops.length===0)return;this.stack.redo=[];let o=t.invert(n),a=this.currentRange;const u=Date.now();if(this.lastRecorded+this.options.delay>u&&this.stack.undo.length>0){const f=this.stack.undo.pop();f&&(o=o.compose(f.delta),a=f.range)}else this.lastRecorded=u;o.length()!==0&&(this.stack.undo.push({delta:o,range:a}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift())}redo(){this.change("redo","undo")}transform(t){d0(this.stack.undo,t),d0(this.stack.redo,t)}undo(){this.change("undo","redo")}restoreSelection(t){if(t.range)this.quill.setSelection(t.range,Je.sources.USER);else{const n=XM(this.quill.scroll,t.delta);this.quill.setSelection(n,Je.sources.USER)}}}dt(iS,"DEFAULTS",{delay:1e3,maxStack:100,userOnly:!1});function d0(r,e){let t=e;for(let n=r.length-1;n>=0;n-=1){const o=r[n];r[n]={delta:t.transform(o.delta,!0),range:o.range&&am(o.range,t)},t=o.delta.transform(t),r[n].delta.length()===0&&r.splice(n,1)}}function YM(r,e){const t=e.ops[e.ops.length-1];return t==null?!1:t.insert!=null?typeof t.insert=="string"&&t.insert.endsWith(`
|
201
|
-
`):t.attributes!=null?Object.keys(t.attributes).some(n=>r.query(n,Jt.BLOCK)!=null):!1}function XM(r,e){const t=e.reduce((o,a)=>o+(a.delete||0),0);let n=e.length()-t;return YM(r,e)&&(n-=1),n}function am(r,e){if(!r)return r;const t=e.transformPosition(r.index),n=e.transformPosition(r.index+r.length);return{index:t,length:n-t}}class sS extends Ks{constructor(e,t){super(e,t),e.root.addEventListener("drop",n=>{var u;n.preventDefault();let o=null;if(document.caretRangeFromPoint)o=document.caretRangeFromPoint(n.clientX,n.clientY);else if(document.caretPositionFromPoint){const f=document.caretPositionFromPoint(n.clientX,n.clientY);o=document.createRange(),o.setStart(f.offsetNode,f.offset),o.setEnd(f.offsetNode,f.offset)}const a=o&&e.selection.normalizeNative(o);if(a){const f=e.selection.normalizedToRange(a);(u=n.dataTransfer)!=null&&u.files&&this.upload(f,n.dataTransfer.files)}})}upload(e,t){const n=[];Array.from(t).forEach(o=>{var a;o&&((a=this.options.mimetypes)!=null&&a.includes(o.type))&&n.push(o)}),n.length>0&&this.options.handler.call(this,e,n)}}sS.DEFAULTS={mimetypes:["image/png","image/jpeg"],handler(r,e){if(!this.quill.scroll.query("image"))return;const t=e.map(n=>new Promise(o=>{const a=new FileReader;a.onload=()=>{o(a.result)},a.readAsDataURL(n)}));Promise.all(t).then(n=>{const o=n.reduce((a,u)=>a.insert({image:u}),new Wt().retain(r.index).delete(r.length));this.quill.updateContents(o,Vt.sources.USER),this.quill.setSelection(r.index+n.length,Vt.sources.SILENT)})}};const JM=["insertText","insertReplacementText"];class QM extends Ks{constructor(e,t){super(e,t),e.root.addEventListener("beforeinput",n=>{this.handleBeforeInput(n)}),/Android/i.test(navigator.userAgent)||e.on(Je.events.COMPOSITION_BEFORE_START,()=>{this.handleCompositionStart()})}deleteRange(e){Um({range:e,quill:this.quill})}replaceText(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if(e.length===0)return!1;if(t){const n=this.quill.getFormat(e.index,1);this.deleteRange(e),this.quill.updateContents(new Wt().retain(e.index).insert(t,n),Je.sources.USER)}else this.deleteRange(e);return this.quill.setSelection(e.index+t.length,0,Je.sources.SILENT),!0}handleBeforeInput(e){if(this.quill.composition.isComposing||e.defaultPrevented||!JM.includes(e.inputType))return;const t=e.getTargetRanges?e.getTargetRanges()[0]:null;if(!t||t.collapsed===!0)return;const n=eD(e);if(n==null)return;const o=this.quill.selection.normalizeNative(t),a=o?this.quill.selection.normalizedToRange(o):null;a&&this.replaceText(a,n)&&e.preventDefault()}handleCompositionStart(){const e=this.quill.getSelection();e&&this.replaceText(e)}}function eD(r){var e;return typeof r.data=="string"?r.data:(e=r.dataTransfer)!=null&&e.types.includes("text/plain")?r.dataTransfer.getData("text/plain"):null}const tD=/Mac/i.test(navigator.platform),rD=100,nD=r=>!!(r.key==="ArrowLeft"||r.key==="ArrowRight"||r.key==="ArrowUp"||r.key==="ArrowDown"||r.key==="Home"||tD&&r.key==="a"&&r.ctrlKey===!0);class oD extends Ks{constructor(t,n){super(t,n);dt(this,"isListening",!1);dt(this,"selectionChangeDeadline",0);this.handleArrowKeys(),this.handleNavigationShortcuts()}handleArrowKeys(){this.quill.keyboard.addBinding({key:["ArrowLeft","ArrowRight"],offset:0,shiftKey:null,handler(t,n){let{line:o,event:a}=n;if(!(o instanceof Us)||!o.uiNode)return!0;const u=getComputedStyle(o.domNode).direction==="rtl";return u&&a.key!=="ArrowRight"||!u&&a.key!=="ArrowLeft"?!0:(this.quill.setSelection(t.index-1,t.length+(a.shiftKey?1:0),Je.sources.USER),!1)}})}handleNavigationShortcuts(){this.quill.root.addEventListener("keydown",t=>{!t.defaultPrevented&&nD(t)&&this.ensureListeningToSelectionChange()})}ensureListeningToSelectionChange(){if(this.selectionChangeDeadline=Date.now()+rD,this.isListening)return;this.isListening=!0;const t=()=>{this.isListening=!1,Date.now()<=this.selectionChangeDeadline&&this.handleSelectionChange()};document.addEventListener("selectionchange",t,{once:!0})}handleSelectionChange(){const t=document.getSelection();if(!t)return;const n=t.getRangeAt(0);if(n.collapsed!==!0||n.startOffset!==0)return;const o=this.quill.scroll.find(n.startContainer);if(!(o instanceof Us)||!o.uiNode)return;const a=document.createRange();a.setStartAfter(o.uiNode),a.setEndAfter(o.uiNode),t.removeAllRanges(),t.addRange(a)}}Je.register({"blots/block":qo,"blots/block/embed":ps,"blots/break":Zs,"blots/container":lu,"blots/cursor":nf,"blots/embed":Fm,"blots/inline":Ta,"blots/scroll":Vu,"blots/text":Vs,"modules/clipboard":nS,"modules/history":iS,"modules/keyboard":_h,"modules/uploader":sS,"modules/input":QM,"modules/uiNode":oD});class iD extends Gs{add(e,t){let n=0;if(t==="+1"||t==="-1"){const o=this.value(e)||0;n=t==="+1"?o+1:o-1}else typeof t=="number"&&(n=t);return n===0?(this.remove(e),!0):super.add(e,n.toString())}canAdd(e,t){return super.canAdd(e,t)||super.canAdd(e,parseInt(t,10))}value(e){return parseInt(super.value(e),10)||void 0}}const sD=new iD("indent","ql-indent",{scope:Jt.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});class lm extends qo{}dt(lm,"blotName","blockquote"),dt(lm,"tagName","blockquote");class cm extends qo{static formats(e){return this.tagName.indexOf(e.tagName)+1}}dt(cm,"blotName","header"),dt(cm,"tagName",["H1","H2","H3","H4","H5","H6"]);class hd extends lu{}hd.blotName="list-container";hd.tagName="OL";class pd extends qo{static create(e){const t=super.create();return t.setAttribute("data-list",e),t}static formats(e){return e.getAttribute("data-list")||void 0}static register(){Je.register(hd)}constructor(e,t){super(e,t);const n=t.ownerDocument.createElement("span"),o=a=>{if(!e.isEnabled())return;const u=this.statics.formats(t,e);u==="checked"?(this.format("list","unchecked"),a.preventDefault()):u==="unchecked"&&(this.format("list","checked"),a.preventDefault())};n.addEventListener("mousedown",o),n.addEventListener("touchstart",o),this.attachUI(n)}format(e,t){e===this.statics.blotName&&t?this.domNode.setAttribute("data-list",t):super.format(e,t)}}pd.blotName="list";pd.tagName="LI";hd.allowedChildren=[pd];pd.requiredContainer=hd;class ad extends Ta{static create(){return super.create()}static formats(){return!0}optimize(e){super.optimize(e),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}dt(ad,"blotName","bold"),dt(ad,"tagName",["STRONG","B"]);class um extends ad{}dt(um,"blotName","italic"),dt(um,"tagName",["EM","I"]);class nc extends Ta{static create(e){const t=super.create(e);return t.setAttribute("href",this.sanitize(e)),t.setAttribute("rel","noopener noreferrer"),t.setAttribute("target","_blank"),t}static formats(e){return e.getAttribute("href")}static sanitize(e){return aS(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}format(e,t){e!==this.statics.blotName||!t?super.format(e,t):this.domNode.setAttribute("href",this.constructor.sanitize(t))}}dt(nc,"blotName","link"),dt(nc,"tagName","A"),dt(nc,"SANITIZED_URL","about:blank"),dt(nc,"PROTOCOL_WHITELIST",["http","https","mailto","tel","sms"]);function aS(r,e){const t=document.createElement("a");t.href=r;const n=t.href.slice(0,t.href.indexOf(":"));return e.indexOf(n)>-1}class fm extends Ta{static create(e){return e==="super"?document.createElement("sup"):e==="sub"?document.createElement("sub"):super.create(e)}static formats(e){if(e.tagName==="SUB")return"sub";if(e.tagName==="SUP")return"super"}}dt(fm,"blotName","script"),dt(fm,"tagName",["SUB","SUP"]);class dm extends ad{}dt(dm,"blotName","strike"),dt(dm,"tagName",["S","STRIKE"]);class hm extends Ta{}dt(hm,"blotName","underline"),dt(hm,"tagName","U");class Xd extends Fm{static create(e){if(window.katex==null)throw new Error("Formula module requires KaTeX.");const t=super.create(e);return typeof e=="string"&&(window.katex.render(e,t,{throwOnError:!1,errorColor:"#f00"}),t.setAttribute("data-value",e)),t}static value(e){return e.getAttribute("data-value")}html(){const{formula:e}=this.value();return`<span>${e}</span>`}}dt(Xd,"blotName","formula"),dt(Xd,"className","ql-formula"),dt(Xd,"tagName","SPAN");const h0=["alt","height","width"];var Kd;let aD=(Kd=class extends $i{static create(e){const t=super.create(e);return typeof e=="string"&&t.setAttribute("src",this.sanitize(e)),t}static formats(e){return h0.reduce((t,n)=>(e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t),{})}static match(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}static sanitize(e){return aS(e,["http","https","data"])?e:"//:0"}static value(e){return e.getAttribute("src")}format(e,t){h0.indexOf(e)>-1?t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e):super.format(e,t)}},dt(Kd,"blotName","image"),dt(Kd,"tagName","IMG"),Kd);const p0=["height","width"];class Jd extends ps{static create(e){const t=super.create(e);return t.setAttribute("frameborder","0"),t.setAttribute("allowfullscreen","true"),t.setAttribute("src",this.sanitize(e)),t}static formats(e){return p0.reduce((t,n)=>(e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t),{})}static sanitize(e){return nc.sanitize(e)}static value(e){return e.getAttribute("src")}format(e,t){p0.indexOf(e)>-1?t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e):super.format(e,t)}html(){const{video:e}=this.value();return`<a href="${e}">${e}</a>`}}dt(Jd,"blotName","video"),dt(Jd,"className","ql-video"),dt(Jd,"tagName","IFRAME");const Wf=new Gs("code-token","hljs",{scope:Jt.INLINE});class cl extends Ta{static formats(e,t){for(;e!=null&&e!==t.domNode;){if(e.classList&&e.classList.contains(Wo.className))return super.formats(e,t);e=e.parentNode}}constructor(e,t,n){super(e,t,n),Wf.add(this.domNode,n)}format(e,t){e!==cl.blotName?super.format(e,t):t?Wf.add(this.domNode,t):(Wf.remove(this.domNode),this.domNode.classList.remove(this.statics.className))}optimize(){super.optimize(...arguments),Wf.value(this.domNode)||this.unwrap()}}cl.blotName="code-token";cl.className="ql-token";class hs extends Wo{static create(e){const t=super.create(e);return typeof e=="string"&&t.setAttribute("data-language",e),t}static formats(e){return e.getAttribute("data-language")||"plain"}static register(){}format(e,t){e===this.statics.blotName&&t?this.domNode.setAttribute("data-language",t):super.format(e,t)}replaceWith(e,t){return this.formatAt(0,this.length(),cl.blotName,!1),super.replaceWith(e,t)}}class Kf extends cu{attach(){super.attach(),this.forceNext=!1,this.scroll.emitMount(this)}format(e,t){e===hs.blotName&&(this.forceNext=!0,this.children.forEach(n=>{n.format(e,t)}))}formatAt(e,t,n,o){n===hs.blotName&&(this.forceNext=!0),super.formatAt(e,t,n,o)}highlight(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(this.children.head==null)return;const o=`${Array.from(this.domNode.childNodes).filter(u=>u!==this.uiNode).map(u=>u.textContent).join(`
|
201
|
+
`):t.attributes!=null?Object.keys(t.attributes).some(n=>r.query(n,Jt.BLOCK)!=null):!1}function XM(r,e){const t=e.reduce((o,a)=>o+(a.delete||0),0);let n=e.length()-t;return YM(r,e)&&(n-=1),n}function am(r,e){if(!r)return r;const t=e.transformPosition(r.index),n=e.transformPosition(r.index+r.length);return{index:t,length:n-t}}class sS extends Ks{constructor(e,t){super(e,t),e.root.addEventListener("drop",n=>{var u;n.preventDefault();let o=null;if(document.caretRangeFromPoint)o=document.caretRangeFromPoint(n.clientX,n.clientY);else if(document.caretPositionFromPoint){const f=document.caretPositionFromPoint(n.clientX,n.clientY);o=document.createRange(),o.setStart(f.offsetNode,f.offset),o.setEnd(f.offsetNode,f.offset)}const a=o&&e.selection.normalizeNative(o);if(a){const f=e.selection.normalizedToRange(a);(u=n.dataTransfer)!=null&&u.files&&this.upload(f,n.dataTransfer.files)}})}upload(e,t){const n=[];Array.from(t).forEach(o=>{var a;o&&((a=this.options.mimetypes)!=null&&a.includes(o.type))&&n.push(o)}),n.length>0&&this.options.handler.call(this,e,n)}}sS.DEFAULTS={mimetypes:["image/png","image/jpeg"],handler(r,e){if(!this.quill.scroll.query("image"))return;const t=e.map(n=>new Promise(o=>{const a=new FileReader;a.onload=()=>{o(a.result)},a.readAsDataURL(n)}));Promise.all(t).then(n=>{const o=n.reduce((a,u)=>a.insert({image:u}),new Wt().retain(r.index).delete(r.length));this.quill.updateContents(o,Vt.sources.USER),this.quill.setSelection(r.index+n.length,Vt.sources.SILENT)})}};const JM=["insertText","insertReplacementText"];class QM extends Ks{constructor(e,t){super(e,t),e.root.addEventListener("beforeinput",n=>{this.handleBeforeInput(n)}),/Android/i.test(navigator.userAgent)||e.on(Je.events.COMPOSITION_BEFORE_START,()=>{this.handleCompositionStart()})}deleteRange(e){Um({range:e,quill:this.quill})}replaceText(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if(e.length===0)return!1;if(t){const n=this.quill.getFormat(e.index,1);this.deleteRange(e),this.quill.updateContents(new Wt().retain(e.index).insert(t,n),Je.sources.USER)}else this.deleteRange(e);return this.quill.setSelection(e.index+t.length,0,Je.sources.SILENT),!0}handleBeforeInput(e){if(this.quill.composition.isComposing||e.defaultPrevented||!JM.includes(e.inputType))return;const t=e.getTargetRanges?e.getTargetRanges()[0]:null;if(!t||t.collapsed===!0)return;const n=eD(e);if(n==null)return;const o=this.quill.selection.normalizeNative(t),a=o?this.quill.selection.normalizedToRange(o):null;a&&this.replaceText(a,n)&&e.preventDefault()}handleCompositionStart(){const e=this.quill.getSelection();e&&this.replaceText(e)}}function eD(r){var e;return typeof r.data=="string"?r.data:(e=r.dataTransfer)!=null&&e.types.includes("text/plain")?r.dataTransfer.getData("text/plain"):null}const tD=/Mac/i.test(navigator.platform),rD=100,nD=r=>!!(r.key==="ArrowLeft"||r.key==="ArrowRight"||r.key==="ArrowUp"||r.key==="ArrowDown"||r.key==="Home"||tD&&r.key==="a"&&r.ctrlKey===!0);class oD extends Ks{constructor(t,n){super(t,n);dt(this,"isListening",!1);dt(this,"selectionChangeDeadline",0);this.handleArrowKeys(),this.handleNavigationShortcuts()}handleArrowKeys(){this.quill.keyboard.addBinding({key:["ArrowLeft","ArrowRight"],offset:0,shiftKey:null,handler(t,n){let{line:o,event:a}=n;if(!(o instanceof Us)||!o.uiNode)return!0;const u=getComputedStyle(o.domNode).direction==="rtl";return u&&a.key!=="ArrowRight"||!u&&a.key!=="ArrowLeft"?!0:(this.quill.setSelection(t.index-1,t.length+(a.shiftKey?1:0),Je.sources.USER),!1)}})}handleNavigationShortcuts(){this.quill.root.addEventListener("keydown",t=>{!t.defaultPrevented&&nD(t)&&this.ensureListeningToSelectionChange()})}ensureListeningToSelectionChange(){if(this.selectionChangeDeadline=Date.now()+rD,this.isListening)return;this.isListening=!0;const t=()=>{this.isListening=!1,Date.now()<=this.selectionChangeDeadline&&this.handleSelectionChange()};document.addEventListener("selectionchange",t,{once:!0})}handleSelectionChange(){const t=document.getSelection();if(!t)return;const n=t.getRangeAt(0);if(n.collapsed!==!0||n.startOffset!==0)return;const o=this.quill.scroll.find(n.startContainer);if(!(o instanceof Us)||!o.uiNode)return;const a=document.createRange();a.setStartAfter(o.uiNode),a.setEndAfter(o.uiNode),t.removeAllRanges(),t.addRange(a)}}Je.register({"blots/block":qo,"blots/block/embed":ps,"blots/break":Zs,"blots/container":lu,"blots/cursor":nf,"blots/embed":Fm,"blots/inline":Ta,"blots/scroll":Vu,"blots/text":Vs,"modules/clipboard":nS,"modules/history":iS,"modules/keyboard":_h,"modules/uploader":sS,"modules/input":QM,"modules/uiNode":oD});class iD extends Gs{add(e,t){let n=0;if(t==="+1"||t==="-1"){const o=this.value(e)||0;n=t==="+1"?o+1:o-1}else typeof t=="number"&&(n=t);return n===0?(this.remove(e),!0):super.add(e,n.toString())}canAdd(e,t){return super.canAdd(e,t)||super.canAdd(e,parseInt(t,10))}value(e){return parseInt(super.value(e),10)||void 0}}const sD=new iD("indent","ql-indent",{scope:Jt.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});class lm extends qo{}dt(lm,"blotName","blockquote"),dt(lm,"tagName","blockquote");class cm extends qo{static formats(e){return this.tagName.indexOf(e.tagName)+1}}dt(cm,"blotName","header"),dt(cm,"tagName",["H1","H2","H3","H4","H5","H6"]);class hd extends lu{}hd.blotName="list-container";hd.tagName="OL";class pd extends qo{static create(e){const t=super.create();return t.setAttribute("data-list",e),t}static formats(e){return e.getAttribute("data-list")||void 0}static register(){Je.register(hd)}constructor(e,t){super(e,t);const n=t.ownerDocument.createElement("span"),o=a=>{if(!e.isEnabled())return;const u=this.statics.formats(t,e);u==="checked"?(this.format("list","unchecked"),a.preventDefault()):u==="unchecked"&&(this.format("list","checked"),a.preventDefault())};n.addEventListener("mousedown",o),n.addEventListener("touchstart",o),this.attachUI(n)}format(e,t){e===this.statics.blotName&&t?this.domNode.setAttribute("data-list",t):super.format(e,t)}}pd.blotName="list";pd.tagName="LI";hd.allowedChildren=[pd];pd.requiredContainer=hd;class ad extends Ta{static create(){return super.create()}static formats(){return!0}optimize(e){super.optimize(e),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}dt(ad,"blotName","bold"),dt(ad,"tagName",["STRONG","B"]);class um extends ad{}dt(um,"blotName","italic"),dt(um,"tagName",["EM","I"]);class nc extends Ta{static create(e){const t=super.create(e);return t.setAttribute("href",this.sanitize(e)),t.setAttribute("rel","noopener noreferrer"),t.setAttribute("target","_blank"),t}static formats(e){return e.getAttribute("href")}static sanitize(e){return aS(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}format(e,t){e!==this.statics.blotName||!t?super.format(e,t):this.domNode.setAttribute("href",this.constructor.sanitize(t))}}dt(nc,"blotName","link"),dt(nc,"tagName","A"),dt(nc,"SANITIZED_URL","about:blank"),dt(nc,"PROTOCOL_WHITELIST",["http","https","mailto","tel","sms"]);function aS(r,e){const t=document.createElement("a");t.href=r;const n=t.href.slice(0,t.href.indexOf(":"));return e.indexOf(n)>-1}class fm extends Ta{static create(e){return e==="super"?document.createElement("sup"):e==="sub"?document.createElement("sub"):super.create(e)}static formats(e){if(e.tagName==="SUB")return"sub";if(e.tagName==="SUP")return"super"}}dt(fm,"blotName","script"),dt(fm,"tagName",["SUB","SUP"]);class dm extends ad{}dt(dm,"blotName","strike"),dt(dm,"tagName",["S","STRIKE"]);class hm extends Ta{}dt(hm,"blotName","underline"),dt(hm,"tagName","U");class Xd extends Fm{static create(e){if(window.katex==null)throw new Error("Formula module requires KaTeX.");const t=super.create(e);return typeof e=="string"&&(window.katex.render(e,t,{throwOnError:!1,errorColor:"#f00"}),t.setAttribute("data-value",e)),t}static value(e){return e.getAttribute("data-value")}html(){const{formula:e}=this.value();return`<span>${e}</span>`}}dt(Xd,"blotName","formula"),dt(Xd,"className","ql-formula"),dt(Xd,"tagName","SPAN");const h0=["alt","height","width"];var Kd;let aD=(Kd=class extends Ui{static create(e){const t=super.create(e);return typeof e=="string"&&t.setAttribute("src",this.sanitize(e)),t}static formats(e){return h0.reduce((t,n)=>(e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t),{})}static match(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}static sanitize(e){return aS(e,["http","https","data"])?e:"//:0"}static value(e){return e.getAttribute("src")}format(e,t){h0.indexOf(e)>-1?t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e):super.format(e,t)}},dt(Kd,"blotName","image"),dt(Kd,"tagName","IMG"),Kd);const p0=["height","width"];class Jd extends ps{static create(e){const t=super.create(e);return t.setAttribute("frameborder","0"),t.setAttribute("allowfullscreen","true"),t.setAttribute("src",this.sanitize(e)),t}static formats(e){return p0.reduce((t,n)=>(e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t),{})}static sanitize(e){return nc.sanitize(e)}static value(e){return e.getAttribute("src")}format(e,t){p0.indexOf(e)>-1?t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e):super.format(e,t)}html(){const{video:e}=this.value();return`<a href="${e}">${e}</a>`}}dt(Jd,"blotName","video"),dt(Jd,"className","ql-video"),dt(Jd,"tagName","IFRAME");const Wf=new Gs("code-token","hljs",{scope:Jt.INLINE});class cl extends Ta{static formats(e,t){for(;e!=null&&e!==t.domNode;){if(e.classList&&e.classList.contains(Wo.className))return super.formats(e,t);e=e.parentNode}}constructor(e,t,n){super(e,t,n),Wf.add(this.domNode,n)}format(e,t){e!==cl.blotName?super.format(e,t):t?Wf.add(this.domNode,t):(Wf.remove(this.domNode),this.domNode.classList.remove(this.statics.className))}optimize(){super.optimize(...arguments),Wf.value(this.domNode)||this.unwrap()}}cl.blotName="code-token";cl.className="ql-token";class hs extends Wo{static create(e){const t=super.create(e);return typeof e=="string"&&t.setAttribute("data-language",e),t}static formats(e){return e.getAttribute("data-language")||"plain"}static register(){}format(e,t){e===this.statics.blotName&&t?this.domNode.setAttribute("data-language",t):super.format(e,t)}replaceWith(e,t){return this.formatAt(0,this.length(),cl.blotName,!1),super.replaceWith(e,t)}}class Kf extends cu{attach(){super.attach(),this.forceNext=!1,this.scroll.emitMount(this)}format(e,t){e===hs.blotName&&(this.forceNext=!0,this.children.forEach(n=>{n.format(e,t)}))}formatAt(e,t,n,o){n===hs.blotName&&(this.forceNext=!0),super.formatAt(e,t,n,o)}highlight(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(this.children.head==null)return;const o=`${Array.from(this.domNode.childNodes).filter(u=>u!==this.uiNode).map(u=>u.textContent).join(`
|
202
202
|
`)}
|
203
203
|
`,a=hs.formats(this.children.head.domNode);if(t||this.forceNext||this.cachedText!==o){if(o.trim().length>0||this.cachedText==null){const u=this.children.reduce((d,h)=>d.concat(Ux(h,!1)),new Wt),f=e(o,a);u.diff(f).reduce((d,h)=>{let{retain:x,attributes:_}=h;return x?(_&&Object.keys(_).forEach(v=>{[hs.blotName,cl.blotName].includes(v)&&this.formatAt(d,x,v,_[v])}),d+x):d},0)}this.cachedText=o,this.forceNext=!1}}html(e,t){const[n]=this.children.find(e);return`<pre data-language="${n?hs.formats(n.domNode):"plain"}">
|
204
204
|
${bh(this.code(e,t))}
|
@@ -207,7 +207,7 @@ ${bh(this.code(e,t))}
|
|
207
207
|
`,{[Wo.blotName]:t}),o.insert(a)),new Wt);const n=this.quill.root.ownerDocument.createElement("div");return n.classList.add(Wo.className),n.innerHTML=lD(this.options.hljs,t,e),Wm(this.quill.scroll,n,[(o,a)=>{const u=Wf.value(o);return u?a.compose(new Wt().retain(a.length(),{[cl.blotName]:u})):a}],[(o,a)=>o.data.split(`
|
208
208
|
`).reduce((u,f,d)=>(d!==0&&u.insert(`
|
209
209
|
`,{[Wo.blotName]:t}),u.insert(f)),a)],new WeakMap)}}lS.DEFAULTS={hljs:window.hljs,interval:1e3,languages:[{key:"plain",label:"Plain"},{key:"bash",label:"Bash"},{key:"cpp",label:"C++"},{key:"cs",label:"C#"},{key:"css",label:"CSS"},{key:"diff",label:"Diff"},{key:"xml",label:"HTML/XML"},{key:"java",label:"Java"},{key:"javascript",label:"JavaScript"},{key:"markdown",label:"Markdown"},{key:"php",label:"PHP"},{key:"python",label:"Python"},{key:"ruby",label:"Ruby"},{key:"sql",label:"SQL"}]};const Jf=class Jf extends qo{static create(e){const t=super.create();return e?t.setAttribute("data-row",e):t.setAttribute("data-row",Vm()),t}static formats(e){if(e.hasAttribute("data-row"))return e.getAttribute("data-row")}cellOffset(){return this.parent?this.parent.children.indexOf(this):-1}format(e,t){e===Jf.blotName&&t?this.domNode.setAttribute("data-row",t):super.format(e,t)}row(){return this.parent}rowOffset(){return this.row()?this.row().rowOffset():-1}table(){return this.row()&&this.row().table()}};dt(Jf,"blotName","table"),dt(Jf,"tagName","TD");let zs=Jf;class ul extends lu{checkMerge(){if(super.checkMerge()&&this.next.children.head!=null){const e=this.children.head.formats(),t=this.children.tail.formats(),n=this.next.children.head.formats(),o=this.next.children.tail.formats();return e.table===t.table&&e.table===n.table&&e.table===o.table}return!1}optimize(e){super.optimize(e),this.children.forEach(t=>{if(t.next==null)return;const n=t.formats(),o=t.next.formats();if(n.table!==o.table){const a=this.splitAfter(t);a&&a.optimize(),this.prev&&this.prev.optimize()}})}rowOffset(){return this.parent?this.parent.children.indexOf(this):-1}table(){return this.parent&&this.parent.parent}}dt(ul,"blotName","table-row"),dt(ul,"tagName","TR");class wa extends lu{}dt(wa,"blotName","table-body"),dt(wa,"tagName","TBODY");class sf extends lu{balanceCells(){const e=this.descendants(ul),t=e.reduce((n,o)=>Math.max(o.children.length,n),0);e.forEach(n=>{new Array(t-n.children.length).fill(0).forEach(()=>{let o;n.children.head!=null&&(o=zs.formats(n.children.head.domNode));const a=this.scroll.create(zs.blotName,o);n.appendChild(a),a.optimize()})})}cells(e){return this.rows().map(t=>t.children.at(e))}deleteColumn(e){const[t]=this.descendant(wa);t==null||t.children.head==null||t.children.forEach(n=>{const o=n.children.at(e);o!=null&&o.remove()})}insertColumn(e){const[t]=this.descendant(wa);t==null||t.children.head==null||t.children.forEach(n=>{const o=n.children.at(e),a=zs.formats(n.children.head.domNode),u=this.scroll.create(zs.blotName,a);n.insertBefore(u,o)})}insertRow(e){const[t]=this.descendant(wa);if(t==null||t.children.head==null)return;const n=Vm(),o=this.scroll.create(ul.blotName);t.children.head.children.forEach(()=>{const u=this.scroll.create(zs.blotName,n);o.appendChild(u)});const a=t.children.at(e);t.insertBefore(o,a)}rows(){const e=this.children.head;return e==null?[]:e.children.map(t=>t)}}dt(sf,"blotName","table-container"),dt(sf,"tagName","TABLE");sf.allowedChildren=[wa];wa.requiredContainer=sf;wa.allowedChildren=[ul];ul.requiredContainer=wa;ul.allowedChildren=[zs];zs.requiredContainer=ul;function Vm(){return`row-${Math.random().toString(36).slice(2,6)}`}class cD extends Ks{static register(){Je.register(zs),Je.register(ul),Je.register(wa),Je.register(sf)}constructor(){super(...arguments),this.listenBalanceCells()}balanceTables(){this.quill.scroll.descendants(sf).forEach(e=>{e.balanceCells()})}deleteColumn(){const[e,,t]=this.getTable();t!=null&&(e.deleteColumn(t.cellOffset()),this.quill.update(Je.sources.USER))}deleteRow(){const[,e]=this.getTable();e!=null&&(e.remove(),this.quill.update(Je.sources.USER))}deleteTable(){const[e]=this.getTable();if(e==null)return;const t=e.offset();e.remove(),this.quill.update(Je.sources.USER),this.quill.setSelection(t,Je.sources.SILENT)}getTable(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.quill.getSelection();if(e==null)return[null,null,null,-1];const[t,n]=this.quill.getLine(e.index);if(t==null||t.statics.blotName!==zs.blotName)return[null,null,null,-1];const o=t.parent;return[o.parent.parent,o,t,n]}insertColumn(e){const t=this.quill.getSelection();if(!t)return;const[n,o,a]=this.getTable(t);if(a==null)return;const u=a.cellOffset();n.insertColumn(u+e),this.quill.update(Je.sources.USER);let f=o.rowOffset();e===0&&(f+=1),this.quill.setSelection(t.index+f,t.length,Je.sources.SILENT)}insertColumnLeft(){this.insertColumn(0)}insertColumnRight(){this.insertColumn(1)}insertRow(e){const t=this.quill.getSelection();if(!t)return;const[n,o,a]=this.getTable(t);if(a==null)return;const u=o.rowOffset();n.insertRow(u+e),this.quill.update(Je.sources.USER),e>0?this.quill.setSelection(t,Je.sources.SILENT):this.quill.setSelection(t.index+o.children.length,t.length,Je.sources.SILENT)}insertRowAbove(){this.insertRow(0)}insertRowBelow(){this.insertRow(1)}insertTable(e,t){const n=this.quill.getSelection();if(n==null)return;const o=new Array(e).fill(0).reduce(a=>{const u=new Array(t).fill(`
|
210
|
-
`).join("");return a.insert(u,{table:Vm()})},new Wt().retain(n.index));this.quill.updateContents(o,Je.sources.USER),this.quill.setSelection(n.index,Je.sources.SILENT),this.balanceTables()}listenBalanceCells(){this.quill.on(Je.events.SCROLL_OPTIMIZE,e=>{e.some(t=>["TD","TR","TBODY","TABLE"].includes(t.target.tagName)?(this.quill.once(Je.events.TEXT_CHANGE,(n,o,a)=>{a===Je.sources.USER&&this.balanceTables()}),!0):!1)})}}const g0=dl("quill:toolbar");class Gm extends Ks{constructor(e,t){var n,o;if(super(e,t),Array.isArray(this.options.container)){const a=document.createElement("div");a.setAttribute("role","toolbar"),uD(a,this.options.container),(o=(n=e.container)==null?void 0:n.parentNode)==null||o.insertBefore(a,e.container),this.container=a}else typeof this.options.container=="string"?this.container=document.querySelector(this.options.container):this.container=this.options.container;if(!(this.container instanceof HTMLElement)){g0.error("Container required for toolbar",this.options);return}this.container.classList.add("ql-toolbar"),this.controls=[],this.handlers={},this.options.handlers&&Object.keys(this.options.handlers).forEach(a=>{var f;const u=(f=this.options.handlers)==null?void 0:f[a];u&&this.addHandler(a,u)}),Array.from(this.container.querySelectorAll("button, select")).forEach(a=>{this.attach(a)}),this.quill.on(Je.events.EDITOR_CHANGE,()=>{const[a]=this.quill.selection.getRange();this.update(a)})}addHandler(e,t){this.handlers[e]=t}attach(e){let t=Array.from(e.classList).find(o=>o.indexOf("ql-")===0);if(!t)return;if(t=t.slice(3),e.tagName==="BUTTON"&&e.setAttribute("type","button"),this.handlers[t]==null&&this.quill.scroll.query(t)==null){g0.warn("ignoring attaching to nonexistent format",t,e);return}const n=e.tagName==="SELECT"?"change":"click";e.addEventListener(n,o=>{let a;if(e.tagName==="SELECT"){if(e.selectedIndex<0)return;const f=e.options[e.selectedIndex];f.hasAttribute("selected")?a=!1:a=f.value||!1}else e.classList.contains("ql-active")?a=!1:a=e.value||!e.hasAttribute("value"),o.preventDefault();this.quill.focus();const[u]=this.quill.selection.getRange();if(this.handlers[t]!=null)this.handlers[t].call(this,a);else if(this.quill.scroll.query(t).prototype instanceof $i){if(a=prompt(`Enter ${t}`),!a)return;this.quill.updateContents(new Wt().retain(u.index).delete(u.length).insert({[t]:a}),Je.sources.USER)}else this.quill.format(t,a,Je.sources.USER);this.update(u)}),this.controls.push([t,e])}update(e){const t=e==null?{}:this.quill.getFormat(e);this.controls.forEach(n=>{const[o,a]=n;if(a.tagName==="SELECT"){let u=null;if(e==null)u=null;else if(t[o]==null)u=a.querySelector("option[selected]");else if(!Array.isArray(t[o])){let f=t[o];typeof f=="string"&&(f=f.replace(/"/g,'\\"')),u=a.querySelector(`option[value="${f}"]`)}u==null?(a.value="",a.selectedIndex=-1):u.selected=!0}else if(e==null)a.classList.remove("ql-active"),a.setAttribute("aria-pressed","false");else if(a.hasAttribute("value")){const u=t[o],f=u===a.getAttribute("value")||u!=null&&u.toString()===a.getAttribute("value")||u==null&&!a.getAttribute("value");a.classList.toggle("ql-active",f),a.setAttribute("aria-pressed",f.toString())}else{const u=t[o]!=null;a.classList.toggle("ql-active",u),a.setAttribute("aria-pressed",u.toString())}})}}Gm.DEFAULTS={};function m0(r,e,t){const n=document.createElement("button");n.setAttribute("type","button"),n.classList.add(`ql-${e}`),n.setAttribute("aria-pressed","false"),t!=null?(n.value=t,n.setAttribute("aria-label",`${e}: ${t}`)):n.setAttribute("aria-label",e),r.appendChild(n)}function uD(r,e){Array.isArray(e[0])||(e=[e]),e.forEach(t=>{const n=document.createElement("span");n.classList.add("ql-formats"),t.forEach(o=>{if(typeof o=="string")m0(n,o);else{const a=Object.keys(o)[0],u=o[a];Array.isArray(u)?fD(n,a,u):m0(n,a,u)}}),r.appendChild(n)})}function fD(r,e,t){const n=document.createElement("select");n.classList.add(`ql-${e}`),t.forEach(o=>{const a=document.createElement("option");o!==!1?a.setAttribute("value",String(o)):a.setAttribute("selected","selected"),n.appendChild(a)}),r.appendChild(n)}Gm.DEFAULTS={container:null,handlers:{clean(){const r=this.quill.getSelection();if(r!=null)if(r.length===0){const e=this.quill.getFormat();Object.keys(e).forEach(t=>{this.quill.scroll.query(t,Jt.INLINE)!=null&&this.quill.format(t,!1,Je.sources.USER)})}else this.quill.removeFormat(r.index,r.length,Je.sources.USER)},direction(r){const{align:e}=this.quill.getFormat();r==="rtl"&&e==null?this.quill.format("align","right",Je.sources.USER):!r&&e==="right"&&this.quill.format("align",!1,Je.sources.USER),this.quill.format("direction",r,Je.sources.USER)},indent(r){const e=this.quill.getSelection(),t=this.quill.getFormat(e),n=parseInt(t.indent||0,10);if(r==="+1"||r==="-1"){let o=r==="+1"?1:-1;t.direction==="rtl"&&(o*=-1),this.quill.format("indent",n+o,Je.sources.USER)}},link(r){r===!0&&(r=prompt("Enter link URL:")),this.quill.format("link",r,Je.sources.USER)},list(r){const e=this.quill.getSelection(),t=this.quill.getFormat(e);r==="check"?t.list==="checked"||t.list==="unchecked"?this.quill.format("list",!1,Je.sources.USER):this.quill.format("list","unchecked",Je.sources.USER):this.quill.format("list",r,Je.sources.USER)}}};const dD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"/></svg>',hD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"/><line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"/></svg>',pD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"/></svg>',gD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>',mD='<svg viewbox="0 0 18 18"><g class="ql-fill ql-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"/><rect height="1" width="1" x="4" y="4"/><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"/><rect height="1" width="1" x="2" y="6"/><rect height="1" width="1" x="3" y="5"/><rect height="1" width="1" x="4" y="7"/><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"/><rect height="1" width="1" x="2" y="12"/><rect height="1" width="1" x="2" y="9"/><rect height="1" width="1" x="2" y="15"/><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"/><rect height="1" width="1" x="3" y="8"/><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"/><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"/><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"/><rect height="1" width="1" x="12" y="2"/><rect height="1" width="1" x="11" y="3"/><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"/><rect height="1" width="1" x="2" y="3"/><rect height="1" width="1" x="6" y="2"/><rect height="1" width="1" x="3" y="2"/><rect height="1" width="1" x="5" y="3"/><rect height="1" width="1" x="9" y="2"/><rect height="1" width="1" x="15" y="14"/><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"/><rect height="1" width="1" x="13" y="7"/><rect height="1" width="1" x="15" y="5"/><rect height="1" width="1" x="14" y="6"/><rect height="1" width="1" x="15" y="8"/><rect height="1" width="1" x="14" y="9"/><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"/><rect height="1" width="1" x="14" y="3"/><polygon points="12 6.868 12 6 11.62 6 12 6.868"/><rect height="1" width="1" x="15" y="2"/><rect height="1" width="1" x="12" y="5"/><rect height="1" width="1" x="13" y="4"/><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"/><rect height="1" width="1" x="9" y="14"/><rect height="1" width="1" x="8" y="15"/><path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"/><rect height="1" width="1" x="5" y="15"/><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"/><rect height="1" width="1" x="11" y="15"/><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"/><rect height="1" width="1" x="14" y="15"/><rect height="1" width="1" x="15" y="11"/></g><polyline class="ql-stroke" points="5.5 13 9 5 12.5 13"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="11" y2="11"/></svg>',vD='<svg viewbox="0 0 18 18"><rect class="ql-fill ql-stroke" height="3" width="3" x="4" y="5"/><rect class="ql-fill ql-stroke" height="3" width="3" x="11" y="5"/><path class="ql-even ql-fill ql-stroke" d="M7,8c0,4.031-3,5-3,5"/><path class="ql-even ql-fill ql-stroke" d="M14,8c0,4.031-3,5-3,5"/></svg>',yD='<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"/><path class="ql-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"/></svg>',bD='<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>',v0='<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>',_D='<svg viewbox="0 0 18 18"><line class="ql-color-label ql-stroke ql-transparent" x1="3" x2="15" y1="15" y2="15"/><polyline class="ql-stroke" points="5.5 11 9 3 12.5 11"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="9" y2="9"/></svg>',xD='<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"/><line class="ql-stroke ql-fill" x1="15" x2="11" y1="4" y2="4"/><path class="ql-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"/><rect class="ql-fill" height="11" width="1" x="11" y="4"/><rect class="ql-fill" height="11" width="1" x="13" y="4"/></svg>',SD='<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"/><line class="ql-stroke ql-fill" x1="9" x2="5" y1="4" y2="4"/><path class="ql-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"/><rect class="ql-fill" height="11" width="1" x="5" y="4"/><rect class="ql-fill" height="11" width="1" x="7" y="4"/></svg>',CD='<svg viewbox="0 0 18 18"><path class="ql-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"/><rect class="ql-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"/><path class="ql-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"/></svg>',wD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"/></svg>',AD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',ED='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',TD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>',kD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',RD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M14.51758,9.64453a1.85627,1.85627,0,0,0-1.24316.38477H13.252a1.73532,1.73532,0,0,1,1.72754-1.4082,2.66491,2.66491,0,0,1,.5498.06641c.35254.05469.57227.01074.70508-.40723l.16406-.5166a.53393.53393,0,0,0-.373-.75977,4.83723,4.83723,0,0,0-1.17773-.14258c-2.43164,0-3.7627,2.17773-3.7627,4.43359,0,2.47559,1.60645,3.69629,3.19043,3.69629A2.70585,2.70585,0,0,0,16.96,12.19727,2.43861,2.43861,0,0,0,14.51758,9.64453Zm-.23047,3.58691c-.67187,0-1.22168-.81445-1.22168-1.45215,0-.47363.30762-.583.72559-.583.96875,0,1.27734.59375,1.27734,1.12207A.82182.82182,0,0,1,14.28711,13.23145ZM10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Z"/></svg>',ID='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="13" y1="4" y2="4"/><line class="ql-stroke" x1="5" x2="11" y1="14" y2="14"/><line class="ql-stroke" x1="8" x2="10" y1="14" y2="4"/></svg>',LD='<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="10" width="12" x="3" y="4"/><circle class="ql-fill" cx="6" cy="7" r="1"/><polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"/></svg>',OD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"/></svg>',MD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>',DD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="11" y1="7" y2="11"/><path class="ql-even ql-stroke" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"/><path class="ql-even ql-stroke" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"/></svg>',PD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="6" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="6" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="6" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="3" y1="4" y2="4"/><line class="ql-stroke" x1="3" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="3" y1="14" y2="14"/></svg>',ND='<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="9" x2="15" y1="4" y2="4"/><polyline class="ql-stroke" points="3 4 4 5 6 3"/><line class="ql-stroke" x1="9" x2="15" y1="14" y2="14"/><polyline class="ql-stroke" points="3 14 4 15 6 13"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="3 9 4 10 6 8"/></svg>',jD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="7" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="7" x2="15" y1="14" y2="14"/><line class="ql-stroke ql-thin" x1="2.5" x2="4.5" y1="5.5" y2="5.5"/><path class="ql-fill" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"/><path class="ql-stroke ql-thin" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"/><path class="ql-stroke ql-thin" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"/></svg>',FD='<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z"/><path class="ql-fill" d="M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z"/></svg>',BD='<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z"/><path class="ql-fill" d="M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z"/></svg>',HD='<svg viewbox="0 0 18 18"><line class="ql-stroke ql-thin" x1="15.5" x2="2.5" y1="8.5" y2="9.5"/><path class="ql-fill" d="M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z"/><path class="ql-fill" d="M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z"/></svg>',qD='<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="2" width="3" x="5" y="5"/><rect class="ql-fill" height="2" width="4" x="9" y="5"/><g class="ql-fill ql-transparent"><rect height="2" width="3" x="5" y="8"/><rect height="2" width="4" x="9" y="8"/><rect height="2" width="3" x="5" y="11"/><rect height="2" width="4" x="9" y="11"/></g></svg>',zD='<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="12" x="3" y="15"/></svg>',$D='<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="12" width="1" x="5" y="3"/><rect class="ql-fill" height="12" width="1" x="12" y="3"/><rect class="ql-fill" height="2" width="8" x="5" y="8"/><rect class="ql-fill" height="1" width="3" x="3" y="5"/><rect class="ql-fill" height="1" width="3" x="3" y="7"/><rect class="ql-fill" height="1" width="3" x="3" y="10"/><rect class="ql-fill" height="1" width="3" x="3" y="12"/><rect class="ql-fill" height="1" width="3" x="12" y="5"/><rect class="ql-fill" height="1" width="3" x="12" y="7"/><rect class="ql-fill" height="1" width="3" x="12" y="10"/><rect class="ql-fill" height="1" width="3" x="12" y="12"/></svg>',ld={align:{"":dD,center:hD,right:pD,justify:gD},background:mD,blockquote:vD,bold:yD,clean:bD,code:v0,"code-block":v0,color:_D,direction:{"":xD,rtl:SD},formula:CD,header:{1:wD,2:AD,3:ED,4:TD,5:kD,6:RD},italic:ID,image:LD,indent:{"+1":OD,"-1":MD},link:DD,list:{bullet:PD,check:ND,ordered:jD},script:{sub:FD,super:BD},strike:HD,table:qD,underline:zD,video:$D},UD='<svg viewbox="0 0 18 18"><polygon class="ql-stroke" points="7 11 9 13 11 11 7 11"/><polygon class="ql-stroke" points="7 7 9 5 11 7 7 7"/></svg>';let y0=0;function b0(r,e){r.setAttribute(e,`${r.getAttribute(e)!=="true"}`)}class xh{constructor(e){this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",()=>{this.togglePicker()}),this.label.addEventListener("keydown",t=>{switch(t.key){case"Enter":this.togglePicker();break;case"Escape":this.escape(),t.preventDefault();break}}),this.select.addEventListener("change",this.update.bind(this))}togglePicker(){this.container.classList.toggle("ql-expanded"),b0(this.label,"aria-expanded"),b0(this.options,"aria-hidden")}buildItem(e){const t=document.createElement("span");t.tabIndex="0",t.setAttribute("role","button"),t.classList.add("ql-picker-item");const n=e.getAttribute("value");return n&&t.setAttribute("data-value",n),e.textContent&&t.setAttribute("data-label",e.textContent),t.addEventListener("click",()=>{this.selectItem(t,!0)}),t.addEventListener("keydown",o=>{switch(o.key){case"Enter":this.selectItem(t,!0),o.preventDefault();break;case"Escape":this.escape(),o.preventDefault();break}}),t}buildLabel(){const e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=UD,e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}buildOptions(){const e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id=`ql-picker-options-${y0}`,y0+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,Array.from(this.select.options).forEach(t=>{const n=this.buildItem(t);e.appendChild(n),t.selected===!0&&this.selectItem(n)}),this.container.appendChild(e)}buildPicker(){Array.from(this.select.attributes).forEach(e=>{this.container.setAttribute(e.name,e.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}escape(){this.close(),setTimeout(()=>this.label.focus(),1)}close(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}selectItem(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=this.container.querySelector(".ql-selected");e!==n&&(n!=null&&n.classList.remove("ql-selected"),e!=null&&(e.classList.add("ql-selected"),this.select.selectedIndex=Array.from(e.parentNode.children).indexOf(e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t&&(this.select.dispatchEvent(new Event("change")),this.close())))}update(){let e;if(this.select.selectedIndex>-1){const n=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(n)}else this.selectItem(null);const t=e!=null&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",t)}}class cS extends xh{constructor(e,t){super(e),this.label.innerHTML=t,this.container.classList.add("ql-color-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).slice(0,7).forEach(n=>{n.classList.add("ql-primary")})}buildItem(e){const t=super.buildItem(e);return t.style.backgroundColor=e.getAttribute("value")||"",t}selectItem(e,t){super.selectItem(e,t);const n=this.label.querySelector(".ql-color-label"),o=e&&e.getAttribute("data-value")||"";n&&(n.tagName==="line"?n.style.stroke=o:n.style.fill=o)}}class uS extends xh{constructor(e,t){super(e),this.container.classList.add("ql-icon-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).forEach(n=>{n.innerHTML=t[n.getAttribute("data-value")||""]}),this.defaultItem=this.container.querySelector(".ql-selected"),this.selectItem(this.defaultItem)}selectItem(e,t){super.selectItem(e,t);const n=e||this.defaultItem;if(n!=null){if(this.label.innerHTML===n.innerHTML)return;this.label.innerHTML=n.innerHTML}}}const WD=r=>{const{overflowY:e}=getComputedStyle(r,null);return e!=="visible"&&e!=="clip"};class fS{constructor(e,t){this.quill=e,this.boundsContainer=t||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,WD(this.quill.root)&&this.quill.root.addEventListener("scroll",()=>{this.root.style.marginTop=`${-1*this.quill.root.scrollTop}px`}),this.hide()}hide(){this.root.classList.add("ql-hidden")}position(e){const t=e.left+e.width/2-this.root.offsetWidth/2,n=e.bottom+this.quill.root.scrollTop;this.root.style.left=`${t}px`,this.root.style.top=`${n}px`,this.root.classList.remove("ql-flip");const o=this.boundsContainer.getBoundingClientRect(),a=this.root.getBoundingClientRect();let u=0;if(a.right>o.right&&(u=o.right-a.right,this.root.style.left=`${t+u}px`),a.left<o.left&&(u=o.left-a.left,this.root.style.left=`${t+u}px`),a.bottom>o.bottom){const f=a.bottom-a.top,d=e.bottom-e.top+f;this.root.style.top=`${n-d}px`,this.root.classList.add("ql-flip")}return u}show(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}const VD=[!1,"center","right","justify"],GD=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],ZD=[!1,"serif","monospace"],KD=["1","2","3",!1],YD=["small",!1,"large","huge"];class gd extends of{constructor(e,t){super(e,t);const n=o=>{if(!document.body.contains(e.root)){document.body.removeEventListener("click",n);return}this.tooltip!=null&&!this.tooltip.root.contains(o.target)&&document.activeElement!==this.tooltip.textbox&&!this.quill.hasFocus()&&this.tooltip.hide(),this.pickers!=null&&this.pickers.forEach(a=>{a.container.contains(o.target)||a.close()})};e.emitter.listenDOM("click",document.body,n)}addModule(e){const t=super.addModule(e);return e==="toolbar"&&this.extendToolbar(t),t}buildButtons(e,t){Array.from(e).forEach(n=>{(n.getAttribute("class")||"").split(/\s+/).forEach(a=>{if(a.startsWith("ql-")&&(a=a.slice(3),t[a]!=null))if(a==="direction")n.innerHTML=t[a][""]+t[a].rtl;else if(typeof t[a]=="string")n.innerHTML=t[a];else{const u=n.value||"";u!=null&&t[a][u]&&(n.innerHTML=t[a][u])}})})}buildPickers(e,t){this.pickers=Array.from(e).map(o=>{if(o.classList.contains("ql-align")&&(o.querySelector("option")==null&&Ff(o,VD),typeof t.align=="object"))return new uS(o,t.align);if(o.classList.contains("ql-background")||o.classList.contains("ql-color")){const a=o.classList.contains("ql-background")?"background":"color";return o.querySelector("option")==null&&Ff(o,GD,a==="background"?"#ffffff":"#000000"),new cS(o,t[a])}return o.querySelector("option")==null&&(o.classList.contains("ql-font")?Ff(o,ZD):o.classList.contains("ql-header")?Ff(o,KD):o.classList.contains("ql-size")&&Ff(o,YD)),new xh(o)});const n=()=>{this.pickers.forEach(o=>{o.update()})};this.quill.on(Vt.events.EDITOR_CHANGE,n)}}gd.DEFAULTS=oc({},of.DEFAULTS,{modules:{toolbar:{handlers:{formula(){this.quill.theme.tooltip.edit("formula")},image(){let r=this.container.querySelector("input.ql-image[type=file]");r==null&&(r=document.createElement("input"),r.setAttribute("type","file"),r.setAttribute("accept",this.quill.uploader.options.mimetypes.join(", ")),r.classList.add("ql-image"),r.addEventListener("change",()=>{const e=this.quill.getSelection(!0);this.quill.uploader.upload(e,r.files),r.value=""}),this.container.appendChild(r)),r.click()},video(){this.quill.theme.tooltip.edit("video")}}}}});class dS extends fS{constructor(e,t){super(e,t),this.textbox=this.root.querySelector('input[type="text"]'),this.listen()}listen(){this.textbox.addEventListener("keydown",e=>{e.key==="Enter"?(this.save(),e.preventDefault()):e.key==="Escape"&&(this.cancel(),e.preventDefault())})}cancel(){this.hide(),this.restoreFocus()}edit(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"link",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),this.textbox==null)return;t!=null?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value="");const n=this.quill.getBounds(this.quill.selection.savedRange);n!=null&&this.position(n),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute(`data-${e}`)||""),this.root.setAttribute("data-mode",e)}restoreFocus(){this.quill.focus({preventScroll:!0})}save(){let{value:e}=this.textbox;switch(this.root.getAttribute("data-mode")){case"link":{const{scrollTop:t}=this.quill.root;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,Vt.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,Vt.sources.USER)),this.quill.root.scrollTop=t;break}case"video":e=XD(e);case"formula":{if(!e)break;const t=this.quill.getSelection(!0);if(t!=null){const n=t.index+t.length;this.quill.insertEmbed(n,this.root.getAttribute("data-mode"),e,Vt.sources.USER),this.root.getAttribute("data-mode")==="formula"&&this.quill.insertText(n+1," ",Vt.sources.USER),this.quill.setSelection(n+2,Vt.sources.USER)}break}}this.textbox.value="",this.hide()}}function XD(r){let e=r.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||r.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?`${e[1]||"https"}://www.youtube.com/embed/${e[2]}?showinfo=0`:(e=r.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?`${e[1]||"https"}://player.vimeo.com/video/${e[2]}/`:r}function Ff(r,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;e.forEach(n=>{const o=document.createElement("option");n===t?o.setAttribute("selected","selected"):o.setAttribute("value",String(n)),r.appendChild(o)})}const JD=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]];class hS extends dS{constructor(e,t){super(e,t),this.quill.on(Vt.events.EDITOR_CHANGE,(n,o,a,u)=>{if(n===Vt.events.SELECTION_CHANGE)if(o!=null&&o.length>0&&u===Vt.sources.USER){this.show(),this.root.style.left="0px",this.root.style.width="",this.root.style.width=`${this.root.offsetWidth}px`;const f=this.quill.getLines(o.index,o.length);if(f.length===1){const d=this.quill.getBounds(o);d!=null&&this.position(d)}else{const d=f[f.length-1],h=this.quill.getIndex(d),x=Math.min(d.length()-1,o.index+o.length-h),_=this.quill.getBounds(new nu(h,x));_!=null&&this.position(_)}}else document.activeElement!==this.textbox&&this.quill.hasFocus()&&this.hide()})}listen(){super.listen(),this.root.querySelector(".ql-close").addEventListener("click",()=>{this.root.classList.remove("ql-editing")}),this.quill.on(Vt.events.SCROLL_OPTIMIZE,()=>{setTimeout(()=>{if(this.root.classList.contains("ql-hidden"))return;const e=this.quill.getSelection();if(e!=null){const t=this.quill.getBounds(e);t!=null&&this.position(t)}},1)})}cancel(){this.show()}position(e){const t=super.position(e),n=this.root.querySelector(".ql-tooltip-arrow");return n.style.marginLeft="",t!==0&&(n.style.marginLeft=`${-1*t-n.offsetWidth/2}px`),t}}dt(hS,"TEMPLATE",['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""));class pS extends gd{constructor(e,t){t.modules.toolbar!=null&&t.modules.toolbar.container==null&&(t.modules.toolbar.container=JD),super(e,t),this.quill.container.classList.add("ql-bubble")}extendToolbar(e){this.tooltip=new hS(this.quill,this.options.bounds),e.container!=null&&(this.tooltip.root.appendChild(e.container),this.buildButtons(e.container.querySelectorAll("button"),ld),this.buildPickers(e.container.querySelectorAll("select"),ld))}}pS.DEFAULTS=oc({},gd.DEFAULTS,{modules:{toolbar:{handlers:{link(r){r?this.quill.theme.tooltip.edit():this.quill.format("link",!1,Je.sources.USER)}}}}});const QD=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]];class gS extends dS{constructor(){super(...arguments);dt(this,"preview",this.root.querySelector("a.ql-preview"))}listen(){super.listen(),this.root.querySelector("a.ql-action").addEventListener("click",t=>{this.root.classList.contains("ql-editing")?this.save():this.edit("link",this.preview.textContent),t.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",t=>{if(this.linkRange!=null){const n=this.linkRange;this.restoreFocus(),this.quill.formatText(n,"link",!1,Vt.sources.USER),delete this.linkRange}t.preventDefault(),this.hide()}),this.quill.on(Vt.events.SELECTION_CHANGE,(t,n,o)=>{if(t!=null){if(t.length===0&&o===Vt.sources.USER){const[a,u]=this.quill.scroll.descendant(nc,t.index);if(a!=null){this.linkRange=new nu(t.index-u,a.length());const f=nc.formats(a.domNode);this.preview.textContent=f,this.preview.setAttribute("href",f),this.show();const d=this.quill.getBounds(this.linkRange);d!=null&&this.position(d);return}}else delete this.linkRange;this.hide()}})}show(){super.show(),this.root.removeAttribute("data-mode")}}dt(gS,"TEMPLATE",['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""));class mS extends gd{constructor(e,t){t.modules.toolbar!=null&&t.modules.toolbar.container==null&&(t.modules.toolbar.container=QD),super(e,t),this.quill.container.classList.add("ql-snow")}extendToolbar(e){e.container!=null&&(e.container.classList.add("ql-snow"),this.buildButtons(e.container.querySelectorAll("button"),ld),this.buildPickers(e.container.querySelectorAll("select"),ld),this.tooltip=new gS(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"k",shortKey:!0},(t,n)=>{e.handlers.link.call(e,!n.format.link)}))}}mS.DEFAULTS=oc({},gd.DEFAULTS,{modules:{toolbar:{handlers:{link(r){if(r){const e=this.quill.getSelection();if(e==null||e.length===0)return;let t=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(t)&&t.indexOf("mailto:")!==0&&(t=`mailto:${t}`);const{tooltip:n}=this.quill.theme;n.edit("link",t)}else this.quill.format("link",!1,Je.sources.USER)}}}}});Je.register({"attributors/attribute/direction":Kx,"attributors/class/align":Vx,"attributors/class/background":mM,"attributors/class/color":gM,"attributors/class/direction":Yx,"attributors/class/font":Qx,"attributors/class/size":tS,"attributors/style/align":Gx,"attributors/style/background":qm,"attributors/style/color":Hm,"attributors/style/direction":Xx,"attributors/style/font":eS,"attributors/style/size":rS},!0);Je.register({"formats/align":Vx,"formats/direction":Yx,"formats/indent":sD,"formats/background":qm,"formats/color":Hm,"formats/font":Qx,"formats/size":tS,"formats/blockquote":lm,"formats/code-block":Wo,"formats/header":cm,"formats/list":pd,"formats/bold":ad,"formats/code":zm,"formats/italic":um,"formats/link":nc,"formats/script":fm,"formats/strike":dm,"formats/underline":hm,"formats/formula":Xd,"formats/image":aD,"formats/video":Jd,"modules/syntax":lS,"modules/table":cD,"modules/toolbar":Gm,"themes/bubble":pS,"themes/snow":mS,"ui/icons":ld,"ui/picker":xh,"ui/icon-picker":uS,"ui/color-picker":cS,"ui/tooltip":fS},!0);var yp={exports:{}},_0;function eP(){return _0||(_0=1,function(r,e){(function(t,n){r.exports=n()})(self,()=>(()=>{var t={321:(a,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.ConsoleLogger=void 0;var f=function(){function d(h,x){this.debug=h,this.suppressErrorLogging=x}return d.prototype.prefixString=function(){return"</> quill-image-compress: "},Object.defineProperty(d.prototype,"log",{get:function(){return this.debug?console.log.bind(console,this.prefixString()):function(){}},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"error",{get:function(){return this.suppressErrorLogging?function(){}:console.error.bind(console,this.prefixString())},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"warn",{get:function(){return this.suppressErrorLogging?function(){}:console.warn.bind(console,this.prefixString())},enumerable:!1,configurable:!0}),d}();u.ConsoleLogger=f},337:function(a,u){var f=this&&this.__awaiter||function(h,x,_,v){return new(_||(_=Promise))(function(y,b){function T(E){try{S(v.next(E))}catch(R){b(R)}}function w(E){try{S(v.throw(E))}catch(R){b(R)}}function S(E){var R;E.done?y(E.value):(R=E.value,R instanceof _?R:new _(function(I){I(R)})).then(T,w)}S((v=v.apply(h,x||[])).next())})},d=this&&this.__generator||function(h,x){var _,v,y,b={label:0,sent:function(){if(1&y[0])throw y[1];return y[1]},trys:[],ops:[]},T=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return T.next=w(0),T.throw=w(1),T.return=w(2),typeof Symbol=="function"&&(T[Symbol.iterator]=function(){return this}),T;function w(S){return function(E){return function(R){if(_)throw new TypeError("Generator is already executing.");for(;T&&(T=0,R[0]&&(b=0)),b;)try{if(_=1,v&&(y=2&R[0]?v.return:R[0]?v.throw||((y=v.return)&&y.call(v),0):v.next)&&!(y=y.call(v,R[1])).done)return y;switch(v=0,y&&(R=[2&R[0],y.value]),R[0]){case 0:case 1:y=R;break;case 4:return b.label++,{value:R[1],done:!1};case 5:b.label++,v=R[1],R=[0];continue;case 7:R=b.ops.pop(),b.trys.pop();continue;default:if(y=b.trys,!((y=y.length>0&&y[y.length-1])||R[0]!==6&&R[0]!==2)){b=0;continue}if(R[0]===3&&(!y||R[1]>y[0]&&R[1]<y[3])){b.label=R[1];break}if(R[0]===6&&b.label<y[1]){b.label=y[1],y=R;break}if(y&&b.label<y[2]){b.label=y[2],b.ops.push(R);break}y[2]&&b.ops.pop(),b.trys.pop();continue}R=x.call(h,b)}catch(I){R=[6,I],v=0}finally{_=y=0}if(5&R[0])throw R[1];return{value:R[0]?R[1]:void 0,done:!0}}([S,E])}}};Object.defineProperty(u,"__esModule",{value:!0}),u.downscaleImage=function(h,x,_,v,y,b,T,w){return f(this,void 0,void 0,function(){var S,E,R,I,P,j,q,$;return d(this,function(G){switch(G.label){case 0:return S=x.split(";")[0].split(":")[1],y=y||"image/jpeg",w=w||.7,(E=new Image).src=x,[4,new Promise(function(re){E.onload=function(){re()}})];case 1:return G.sent(),R=function(re,F,W,V){if(W&&V&&re<=W&&F<=V)return[re,F];if(W&&re>W){var ee=W,ue=Math.floor(F/re*ee);if(V&&ue>V){var le=V;return[Math.floor(re/F*le),le]}return[ee,ue]}return V&&F>V?(ue=V,[ee=Math.floor(re/F*ue),ue]):[F,re]}(E.width,E.height,_,v),I=R[0],P=R[1],(j=document.createElement("canvas")).width=I,j.height=P,q=j.getContext("2d"),y==="image/jpeg"&&(q.fillStyle="#FFFFFF",q.fillRect(0,0,E.width,E.height)),T!=null&&T.includes(S)?[2,x]:(b!=null&&b.includes(S)&&(y=S),q.drawImage(E,0,0,I,P),$=j.toDataURL(y,w),h.log("downscaling image...",{args:{dataUrl:x,maxWidth:_,maxHeight:v,imageType:y,ignoreImageTypes:T,keepImageTypes:b,imageQuality:w},newHeight:P,newWidth:I}),[2,$])}})})}},922:function(a,u){var f=this&&this.__awaiter||function(h,x,_,v){return new(_||(_=Promise))(function(y,b){function T(E){try{S(v.next(E))}catch(R){b(R)}}function w(E){try{S(v.throw(E))}catch(R){b(R)}}function S(E){var R;E.done?y(E.value):(R=E.value,R instanceof _?R:new _(function(I){I(R)})).then(T,w)}S((v=v.apply(h,x||[])).next())})},d=this&&this.__generator||function(h,x){var _,v,y,b={label:0,sent:function(){if(1&y[0])throw y[1];return y[1]},trys:[],ops:[]},T=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return T.next=w(0),T.throw=w(1),T.return=w(2),typeof Symbol=="function"&&(T[Symbol.iterator]=function(){return this}),T;function w(S){return function(E){return function(R){if(_)throw new TypeError("Generator is already executing.");for(;T&&(T=0,R[0]&&(b=0)),b;)try{if(_=1,v&&(y=2&R[0]?v.return:R[0]?v.throw||((y=v.return)&&y.call(v),0):v.next)&&!(y=y.call(v,R[1])).done)return y;switch(v=0,y&&(R=[2&R[0],y.value]),R[0]){case 0:case 1:y=R;break;case 4:return b.label++,{value:R[1],done:!1};case 5:b.label++,v=R[1],R=[0];continue;case 7:R=b.ops.pop(),b.trys.pop();continue;default:if(y=b.trys,!((y=y.length>0&&y[y.length-1])||R[0]!==6&&R[0]!==2)){b=0;continue}if(R[0]===3&&(!y||R[1]>y[0]&&R[1]<y[3])){b.label=R[1];break}if(R[0]===6&&b.label<y[1]){b.label=y[1],y=R;break}if(y&&b.label<y[2]){b.label=y[2],b.ops.push(R);break}y[2]&&b.ops.pop(),b.trys.pop();continue}R=x.call(h,b)}catch(I){R=[6,I],v=0}finally{_=y=0}if(5&R[0])throw R[1];return{value:R[0]?R[1]:void 0,done:!0}}([S,E])}}};Object.defineProperty(u,"__esModule",{value:!0}),u.file2b64=function(h){return f(this,void 0,void 0,function(){var x,_;return d(this,function(v){return x=new FileReader,_=new Promise(function(y,b){x.addEventListener("load",function(){var T,w=(T=x.result)===null||T===void 0?void 0:T.toString();w?y(w):b("could not convert file to base64")},!1)}),x.readAsDataURL(h),[2,_]})})}},457:(a,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.warnAboutOptions=function(f,d){f.maxWidth=f.maxWidth||1e3,f.maxHeight=f.maxHeight||1e3,f.maxWidth&&typeof f.maxWidth!="number"&&(d.warn(`[config error] 'maxWidth' is required to be a "number" (in pixels),
|
210
|
+
`).join("");return a.insert(u,{table:Vm()})},new Wt().retain(n.index));this.quill.updateContents(o,Je.sources.USER),this.quill.setSelection(n.index,Je.sources.SILENT),this.balanceTables()}listenBalanceCells(){this.quill.on(Je.events.SCROLL_OPTIMIZE,e=>{e.some(t=>["TD","TR","TBODY","TABLE"].includes(t.target.tagName)?(this.quill.once(Je.events.TEXT_CHANGE,(n,o,a)=>{a===Je.sources.USER&&this.balanceTables()}),!0):!1)})}}const g0=dl("quill:toolbar");class Gm extends Ks{constructor(e,t){var n,o;if(super(e,t),Array.isArray(this.options.container)){const a=document.createElement("div");a.setAttribute("role","toolbar"),uD(a,this.options.container),(o=(n=e.container)==null?void 0:n.parentNode)==null||o.insertBefore(a,e.container),this.container=a}else typeof this.options.container=="string"?this.container=document.querySelector(this.options.container):this.container=this.options.container;if(!(this.container instanceof HTMLElement)){g0.error("Container required for toolbar",this.options);return}this.container.classList.add("ql-toolbar"),this.controls=[],this.handlers={},this.options.handlers&&Object.keys(this.options.handlers).forEach(a=>{var f;const u=(f=this.options.handlers)==null?void 0:f[a];u&&this.addHandler(a,u)}),Array.from(this.container.querySelectorAll("button, select")).forEach(a=>{this.attach(a)}),this.quill.on(Je.events.EDITOR_CHANGE,()=>{const[a]=this.quill.selection.getRange();this.update(a)})}addHandler(e,t){this.handlers[e]=t}attach(e){let t=Array.from(e.classList).find(o=>o.indexOf("ql-")===0);if(!t)return;if(t=t.slice(3),e.tagName==="BUTTON"&&e.setAttribute("type","button"),this.handlers[t]==null&&this.quill.scroll.query(t)==null){g0.warn("ignoring attaching to nonexistent format",t,e);return}const n=e.tagName==="SELECT"?"change":"click";e.addEventListener(n,o=>{let a;if(e.tagName==="SELECT"){if(e.selectedIndex<0)return;const f=e.options[e.selectedIndex];f.hasAttribute("selected")?a=!1:a=f.value||!1}else e.classList.contains("ql-active")?a=!1:a=e.value||!e.hasAttribute("value"),o.preventDefault();this.quill.focus();const[u]=this.quill.selection.getRange();if(this.handlers[t]!=null)this.handlers[t].call(this,a);else if(this.quill.scroll.query(t).prototype instanceof Ui){if(a=prompt(`Enter ${t}`),!a)return;this.quill.updateContents(new Wt().retain(u.index).delete(u.length).insert({[t]:a}),Je.sources.USER)}else this.quill.format(t,a,Je.sources.USER);this.update(u)}),this.controls.push([t,e])}update(e){const t=e==null?{}:this.quill.getFormat(e);this.controls.forEach(n=>{const[o,a]=n;if(a.tagName==="SELECT"){let u=null;if(e==null)u=null;else if(t[o]==null)u=a.querySelector("option[selected]");else if(!Array.isArray(t[o])){let f=t[o];typeof f=="string"&&(f=f.replace(/"/g,'\\"')),u=a.querySelector(`option[value="${f}"]`)}u==null?(a.value="",a.selectedIndex=-1):u.selected=!0}else if(e==null)a.classList.remove("ql-active"),a.setAttribute("aria-pressed","false");else if(a.hasAttribute("value")){const u=t[o],f=u===a.getAttribute("value")||u!=null&&u.toString()===a.getAttribute("value")||u==null&&!a.getAttribute("value");a.classList.toggle("ql-active",f),a.setAttribute("aria-pressed",f.toString())}else{const u=t[o]!=null;a.classList.toggle("ql-active",u),a.setAttribute("aria-pressed",u.toString())}})}}Gm.DEFAULTS={};function m0(r,e,t){const n=document.createElement("button");n.setAttribute("type","button"),n.classList.add(`ql-${e}`),n.setAttribute("aria-pressed","false"),t!=null?(n.value=t,n.setAttribute("aria-label",`${e}: ${t}`)):n.setAttribute("aria-label",e),r.appendChild(n)}function uD(r,e){Array.isArray(e[0])||(e=[e]),e.forEach(t=>{const n=document.createElement("span");n.classList.add("ql-formats"),t.forEach(o=>{if(typeof o=="string")m0(n,o);else{const a=Object.keys(o)[0],u=o[a];Array.isArray(u)?fD(n,a,u):m0(n,a,u)}}),r.appendChild(n)})}function fD(r,e,t){const n=document.createElement("select");n.classList.add(`ql-${e}`),t.forEach(o=>{const a=document.createElement("option");o!==!1?a.setAttribute("value",String(o)):a.setAttribute("selected","selected"),n.appendChild(a)}),r.appendChild(n)}Gm.DEFAULTS={container:null,handlers:{clean(){const r=this.quill.getSelection();if(r!=null)if(r.length===0){const e=this.quill.getFormat();Object.keys(e).forEach(t=>{this.quill.scroll.query(t,Jt.INLINE)!=null&&this.quill.format(t,!1,Je.sources.USER)})}else this.quill.removeFormat(r.index,r.length,Je.sources.USER)},direction(r){const{align:e}=this.quill.getFormat();r==="rtl"&&e==null?this.quill.format("align","right",Je.sources.USER):!r&&e==="right"&&this.quill.format("align",!1,Je.sources.USER),this.quill.format("direction",r,Je.sources.USER)},indent(r){const e=this.quill.getSelection(),t=this.quill.getFormat(e),n=parseInt(t.indent||0,10);if(r==="+1"||r==="-1"){let o=r==="+1"?1:-1;t.direction==="rtl"&&(o*=-1),this.quill.format("indent",n+o,Je.sources.USER)}},link(r){r===!0&&(r=prompt("Enter link URL:")),this.quill.format("link",r,Je.sources.USER)},list(r){const e=this.quill.getSelection(),t=this.quill.getFormat(e);r==="check"?t.list==="checked"||t.list==="unchecked"?this.quill.format("list",!1,Je.sources.USER):this.quill.format("list","unchecked",Je.sources.USER):this.quill.format("list",r,Je.sources.USER)}}};const dD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"/></svg>',hD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"/><line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"/></svg>',pD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"/></svg>',gD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>',mD='<svg viewbox="0 0 18 18"><g class="ql-fill ql-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"/><rect height="1" width="1" x="4" y="4"/><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"/><rect height="1" width="1" x="2" y="6"/><rect height="1" width="1" x="3" y="5"/><rect height="1" width="1" x="4" y="7"/><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"/><rect height="1" width="1" x="2" y="12"/><rect height="1" width="1" x="2" y="9"/><rect height="1" width="1" x="2" y="15"/><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"/><rect height="1" width="1" x="3" y="8"/><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"/><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"/><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"/><rect height="1" width="1" x="12" y="2"/><rect height="1" width="1" x="11" y="3"/><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"/><rect height="1" width="1" x="2" y="3"/><rect height="1" width="1" x="6" y="2"/><rect height="1" width="1" x="3" y="2"/><rect height="1" width="1" x="5" y="3"/><rect height="1" width="1" x="9" y="2"/><rect height="1" width="1" x="15" y="14"/><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"/><rect height="1" width="1" x="13" y="7"/><rect height="1" width="1" x="15" y="5"/><rect height="1" width="1" x="14" y="6"/><rect height="1" width="1" x="15" y="8"/><rect height="1" width="1" x="14" y="9"/><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"/><rect height="1" width="1" x="14" y="3"/><polygon points="12 6.868 12 6 11.62 6 12 6.868"/><rect height="1" width="1" x="15" y="2"/><rect height="1" width="1" x="12" y="5"/><rect height="1" width="1" x="13" y="4"/><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"/><rect height="1" width="1" x="9" y="14"/><rect height="1" width="1" x="8" y="15"/><path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"/><rect height="1" width="1" x="5" y="15"/><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"/><rect height="1" width="1" x="11" y="15"/><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"/><rect height="1" width="1" x="14" y="15"/><rect height="1" width="1" x="15" y="11"/></g><polyline class="ql-stroke" points="5.5 13 9 5 12.5 13"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="11" y2="11"/></svg>',vD='<svg viewbox="0 0 18 18"><rect class="ql-fill ql-stroke" height="3" width="3" x="4" y="5"/><rect class="ql-fill ql-stroke" height="3" width="3" x="11" y="5"/><path class="ql-even ql-fill ql-stroke" d="M7,8c0,4.031-3,5-3,5"/><path class="ql-even ql-fill ql-stroke" d="M14,8c0,4.031-3,5-3,5"/></svg>',yD='<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"/><path class="ql-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"/></svg>',bD='<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>',v0='<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>',_D='<svg viewbox="0 0 18 18"><line class="ql-color-label ql-stroke ql-transparent" x1="3" x2="15" y1="15" y2="15"/><polyline class="ql-stroke" points="5.5 11 9 3 12.5 11"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="9" y2="9"/></svg>',xD='<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"/><line class="ql-stroke ql-fill" x1="15" x2="11" y1="4" y2="4"/><path class="ql-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"/><rect class="ql-fill" height="11" width="1" x="11" y="4"/><rect class="ql-fill" height="11" width="1" x="13" y="4"/></svg>',SD='<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"/><line class="ql-stroke ql-fill" x1="9" x2="5" y1="4" y2="4"/><path class="ql-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"/><rect class="ql-fill" height="11" width="1" x="5" y="4"/><rect class="ql-fill" height="11" width="1" x="7" y="4"/></svg>',CD='<svg viewbox="0 0 18 18"><path class="ql-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"/><rect class="ql-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"/><path class="ql-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"/></svg>',wD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"/></svg>',AD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',ED='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',TD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>',kD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',RD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M14.51758,9.64453a1.85627,1.85627,0,0,0-1.24316.38477H13.252a1.73532,1.73532,0,0,1,1.72754-1.4082,2.66491,2.66491,0,0,1,.5498.06641c.35254.05469.57227.01074.70508-.40723l.16406-.5166a.53393.53393,0,0,0-.373-.75977,4.83723,4.83723,0,0,0-1.17773-.14258c-2.43164,0-3.7627,2.17773-3.7627,4.43359,0,2.47559,1.60645,3.69629,3.19043,3.69629A2.70585,2.70585,0,0,0,16.96,12.19727,2.43861,2.43861,0,0,0,14.51758,9.64453Zm-.23047,3.58691c-.67187,0-1.22168-.81445-1.22168-1.45215,0-.47363.30762-.583.72559-.583.96875,0,1.27734.59375,1.27734,1.12207A.82182.82182,0,0,1,14.28711,13.23145ZM10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Z"/></svg>',ID='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="13" y1="4" y2="4"/><line class="ql-stroke" x1="5" x2="11" y1="14" y2="14"/><line class="ql-stroke" x1="8" x2="10" y1="14" y2="4"/></svg>',LD='<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="10" width="12" x="3" y="4"/><circle class="ql-fill" cx="6" cy="7" r="1"/><polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"/></svg>',OD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"/></svg>',MD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>',DD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="11" y1="7" y2="11"/><path class="ql-even ql-stroke" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"/><path class="ql-even ql-stroke" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"/></svg>',PD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="6" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="6" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="6" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="3" y1="4" y2="4"/><line class="ql-stroke" x1="3" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="3" y1="14" y2="14"/></svg>',ND='<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="9" x2="15" y1="4" y2="4"/><polyline class="ql-stroke" points="3 4 4 5 6 3"/><line class="ql-stroke" x1="9" x2="15" y1="14" y2="14"/><polyline class="ql-stroke" points="3 14 4 15 6 13"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="3 9 4 10 6 8"/></svg>',jD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="7" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="7" x2="15" y1="14" y2="14"/><line class="ql-stroke ql-thin" x1="2.5" x2="4.5" y1="5.5" y2="5.5"/><path class="ql-fill" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"/><path class="ql-stroke ql-thin" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"/><path class="ql-stroke ql-thin" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"/></svg>',FD='<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z"/><path class="ql-fill" d="M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z"/></svg>',BD='<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z"/><path class="ql-fill" d="M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z"/></svg>',HD='<svg viewbox="0 0 18 18"><line class="ql-stroke ql-thin" x1="15.5" x2="2.5" y1="8.5" y2="9.5"/><path class="ql-fill" d="M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z"/><path class="ql-fill" d="M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z"/></svg>',qD='<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="2" width="3" x="5" y="5"/><rect class="ql-fill" height="2" width="4" x="9" y="5"/><g class="ql-fill ql-transparent"><rect height="2" width="3" x="5" y="8"/><rect height="2" width="4" x="9" y="8"/><rect height="2" width="3" x="5" y="11"/><rect height="2" width="4" x="9" y="11"/></g></svg>',zD='<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="12" x="3" y="15"/></svg>',$D='<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="12" width="1" x="5" y="3"/><rect class="ql-fill" height="12" width="1" x="12" y="3"/><rect class="ql-fill" height="2" width="8" x="5" y="8"/><rect class="ql-fill" height="1" width="3" x="3" y="5"/><rect class="ql-fill" height="1" width="3" x="3" y="7"/><rect class="ql-fill" height="1" width="3" x="3" y="10"/><rect class="ql-fill" height="1" width="3" x="3" y="12"/><rect class="ql-fill" height="1" width="3" x="12" y="5"/><rect class="ql-fill" height="1" width="3" x="12" y="7"/><rect class="ql-fill" height="1" width="3" x="12" y="10"/><rect class="ql-fill" height="1" width="3" x="12" y="12"/></svg>',ld={align:{"":dD,center:hD,right:pD,justify:gD},background:mD,blockquote:vD,bold:yD,clean:bD,code:v0,"code-block":v0,color:_D,direction:{"":xD,rtl:SD},formula:CD,header:{1:wD,2:AD,3:ED,4:TD,5:kD,6:RD},italic:ID,image:LD,indent:{"+1":OD,"-1":MD},link:DD,list:{bullet:PD,check:ND,ordered:jD},script:{sub:FD,super:BD},strike:HD,table:qD,underline:zD,video:$D},UD='<svg viewbox="0 0 18 18"><polygon class="ql-stroke" points="7 11 9 13 11 11 7 11"/><polygon class="ql-stroke" points="7 7 9 5 11 7 7 7"/></svg>';let y0=0;function b0(r,e){r.setAttribute(e,`${r.getAttribute(e)!=="true"}`)}class xh{constructor(e){this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",()=>{this.togglePicker()}),this.label.addEventListener("keydown",t=>{switch(t.key){case"Enter":this.togglePicker();break;case"Escape":this.escape(),t.preventDefault();break}}),this.select.addEventListener("change",this.update.bind(this))}togglePicker(){this.container.classList.toggle("ql-expanded"),b0(this.label,"aria-expanded"),b0(this.options,"aria-hidden")}buildItem(e){const t=document.createElement("span");t.tabIndex="0",t.setAttribute("role","button"),t.classList.add("ql-picker-item");const n=e.getAttribute("value");return n&&t.setAttribute("data-value",n),e.textContent&&t.setAttribute("data-label",e.textContent),t.addEventListener("click",()=>{this.selectItem(t,!0)}),t.addEventListener("keydown",o=>{switch(o.key){case"Enter":this.selectItem(t,!0),o.preventDefault();break;case"Escape":this.escape(),o.preventDefault();break}}),t}buildLabel(){const e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=UD,e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}buildOptions(){const e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id=`ql-picker-options-${y0}`,y0+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,Array.from(this.select.options).forEach(t=>{const n=this.buildItem(t);e.appendChild(n),t.selected===!0&&this.selectItem(n)}),this.container.appendChild(e)}buildPicker(){Array.from(this.select.attributes).forEach(e=>{this.container.setAttribute(e.name,e.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}escape(){this.close(),setTimeout(()=>this.label.focus(),1)}close(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}selectItem(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=this.container.querySelector(".ql-selected");e!==n&&(n!=null&&n.classList.remove("ql-selected"),e!=null&&(e.classList.add("ql-selected"),this.select.selectedIndex=Array.from(e.parentNode.children).indexOf(e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t&&(this.select.dispatchEvent(new Event("change")),this.close())))}update(){let e;if(this.select.selectedIndex>-1){const n=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(n)}else this.selectItem(null);const t=e!=null&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",t)}}class cS extends xh{constructor(e,t){super(e),this.label.innerHTML=t,this.container.classList.add("ql-color-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).slice(0,7).forEach(n=>{n.classList.add("ql-primary")})}buildItem(e){const t=super.buildItem(e);return t.style.backgroundColor=e.getAttribute("value")||"",t}selectItem(e,t){super.selectItem(e,t);const n=this.label.querySelector(".ql-color-label"),o=e&&e.getAttribute("data-value")||"";n&&(n.tagName==="line"?n.style.stroke=o:n.style.fill=o)}}class uS extends xh{constructor(e,t){super(e),this.container.classList.add("ql-icon-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).forEach(n=>{n.innerHTML=t[n.getAttribute("data-value")||""]}),this.defaultItem=this.container.querySelector(".ql-selected"),this.selectItem(this.defaultItem)}selectItem(e,t){super.selectItem(e,t);const n=e||this.defaultItem;if(n!=null){if(this.label.innerHTML===n.innerHTML)return;this.label.innerHTML=n.innerHTML}}}const WD=r=>{const{overflowY:e}=getComputedStyle(r,null);return e!=="visible"&&e!=="clip"};class fS{constructor(e,t){this.quill=e,this.boundsContainer=t||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,WD(this.quill.root)&&this.quill.root.addEventListener("scroll",()=>{this.root.style.marginTop=`${-1*this.quill.root.scrollTop}px`}),this.hide()}hide(){this.root.classList.add("ql-hidden")}position(e){const t=e.left+e.width/2-this.root.offsetWidth/2,n=e.bottom+this.quill.root.scrollTop;this.root.style.left=`${t}px`,this.root.style.top=`${n}px`,this.root.classList.remove("ql-flip");const o=this.boundsContainer.getBoundingClientRect(),a=this.root.getBoundingClientRect();let u=0;if(a.right>o.right&&(u=o.right-a.right,this.root.style.left=`${t+u}px`),a.left<o.left&&(u=o.left-a.left,this.root.style.left=`${t+u}px`),a.bottom>o.bottom){const f=a.bottom-a.top,d=e.bottom-e.top+f;this.root.style.top=`${n-d}px`,this.root.classList.add("ql-flip")}return u}show(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}const VD=[!1,"center","right","justify"],GD=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],ZD=[!1,"serif","monospace"],KD=["1","2","3",!1],YD=["small",!1,"large","huge"];class gd extends of{constructor(e,t){super(e,t);const n=o=>{if(!document.body.contains(e.root)){document.body.removeEventListener("click",n);return}this.tooltip!=null&&!this.tooltip.root.contains(o.target)&&document.activeElement!==this.tooltip.textbox&&!this.quill.hasFocus()&&this.tooltip.hide(),this.pickers!=null&&this.pickers.forEach(a=>{a.container.contains(o.target)||a.close()})};e.emitter.listenDOM("click",document.body,n)}addModule(e){const t=super.addModule(e);return e==="toolbar"&&this.extendToolbar(t),t}buildButtons(e,t){Array.from(e).forEach(n=>{(n.getAttribute("class")||"").split(/\s+/).forEach(a=>{if(a.startsWith("ql-")&&(a=a.slice(3),t[a]!=null))if(a==="direction")n.innerHTML=t[a][""]+t[a].rtl;else if(typeof t[a]=="string")n.innerHTML=t[a];else{const u=n.value||"";u!=null&&t[a][u]&&(n.innerHTML=t[a][u])}})})}buildPickers(e,t){this.pickers=Array.from(e).map(o=>{if(o.classList.contains("ql-align")&&(o.querySelector("option")==null&&Ff(o,VD),typeof t.align=="object"))return new uS(o,t.align);if(o.classList.contains("ql-background")||o.classList.contains("ql-color")){const a=o.classList.contains("ql-background")?"background":"color";return o.querySelector("option")==null&&Ff(o,GD,a==="background"?"#ffffff":"#000000"),new cS(o,t[a])}return o.querySelector("option")==null&&(o.classList.contains("ql-font")?Ff(o,ZD):o.classList.contains("ql-header")?Ff(o,KD):o.classList.contains("ql-size")&&Ff(o,YD)),new xh(o)});const n=()=>{this.pickers.forEach(o=>{o.update()})};this.quill.on(Vt.events.EDITOR_CHANGE,n)}}gd.DEFAULTS=oc({},of.DEFAULTS,{modules:{toolbar:{handlers:{formula(){this.quill.theme.tooltip.edit("formula")},image(){let r=this.container.querySelector("input.ql-image[type=file]");r==null&&(r=document.createElement("input"),r.setAttribute("type","file"),r.setAttribute("accept",this.quill.uploader.options.mimetypes.join(", ")),r.classList.add("ql-image"),r.addEventListener("change",()=>{const e=this.quill.getSelection(!0);this.quill.uploader.upload(e,r.files),r.value=""}),this.container.appendChild(r)),r.click()},video(){this.quill.theme.tooltip.edit("video")}}}}});class dS extends fS{constructor(e,t){super(e,t),this.textbox=this.root.querySelector('input[type="text"]'),this.listen()}listen(){this.textbox.addEventListener("keydown",e=>{e.key==="Enter"?(this.save(),e.preventDefault()):e.key==="Escape"&&(this.cancel(),e.preventDefault())})}cancel(){this.hide(),this.restoreFocus()}edit(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"link",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),this.textbox==null)return;t!=null?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value="");const n=this.quill.getBounds(this.quill.selection.savedRange);n!=null&&this.position(n),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute(`data-${e}`)||""),this.root.setAttribute("data-mode",e)}restoreFocus(){this.quill.focus({preventScroll:!0})}save(){let{value:e}=this.textbox;switch(this.root.getAttribute("data-mode")){case"link":{const{scrollTop:t}=this.quill.root;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,Vt.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,Vt.sources.USER)),this.quill.root.scrollTop=t;break}case"video":e=XD(e);case"formula":{if(!e)break;const t=this.quill.getSelection(!0);if(t!=null){const n=t.index+t.length;this.quill.insertEmbed(n,this.root.getAttribute("data-mode"),e,Vt.sources.USER),this.root.getAttribute("data-mode")==="formula"&&this.quill.insertText(n+1," ",Vt.sources.USER),this.quill.setSelection(n+2,Vt.sources.USER)}break}}this.textbox.value="",this.hide()}}function XD(r){let e=r.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||r.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?`${e[1]||"https"}://www.youtube.com/embed/${e[2]}?showinfo=0`:(e=r.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?`${e[1]||"https"}://player.vimeo.com/video/${e[2]}/`:r}function Ff(r,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;e.forEach(n=>{const o=document.createElement("option");n===t?o.setAttribute("selected","selected"):o.setAttribute("value",String(n)),r.appendChild(o)})}const JD=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]];class hS extends dS{constructor(e,t){super(e,t),this.quill.on(Vt.events.EDITOR_CHANGE,(n,o,a,u)=>{if(n===Vt.events.SELECTION_CHANGE)if(o!=null&&o.length>0&&u===Vt.sources.USER){this.show(),this.root.style.left="0px",this.root.style.width="",this.root.style.width=`${this.root.offsetWidth}px`;const f=this.quill.getLines(o.index,o.length);if(f.length===1){const d=this.quill.getBounds(o);d!=null&&this.position(d)}else{const d=f[f.length-1],h=this.quill.getIndex(d),x=Math.min(d.length()-1,o.index+o.length-h),_=this.quill.getBounds(new nu(h,x));_!=null&&this.position(_)}}else document.activeElement!==this.textbox&&this.quill.hasFocus()&&this.hide()})}listen(){super.listen(),this.root.querySelector(".ql-close").addEventListener("click",()=>{this.root.classList.remove("ql-editing")}),this.quill.on(Vt.events.SCROLL_OPTIMIZE,()=>{setTimeout(()=>{if(this.root.classList.contains("ql-hidden"))return;const e=this.quill.getSelection();if(e!=null){const t=this.quill.getBounds(e);t!=null&&this.position(t)}},1)})}cancel(){this.show()}position(e){const t=super.position(e),n=this.root.querySelector(".ql-tooltip-arrow");return n.style.marginLeft="",t!==0&&(n.style.marginLeft=`${-1*t-n.offsetWidth/2}px`),t}}dt(hS,"TEMPLATE",['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""));class pS extends gd{constructor(e,t){t.modules.toolbar!=null&&t.modules.toolbar.container==null&&(t.modules.toolbar.container=JD),super(e,t),this.quill.container.classList.add("ql-bubble")}extendToolbar(e){this.tooltip=new hS(this.quill,this.options.bounds),e.container!=null&&(this.tooltip.root.appendChild(e.container),this.buildButtons(e.container.querySelectorAll("button"),ld),this.buildPickers(e.container.querySelectorAll("select"),ld))}}pS.DEFAULTS=oc({},gd.DEFAULTS,{modules:{toolbar:{handlers:{link(r){r?this.quill.theme.tooltip.edit():this.quill.format("link",!1,Je.sources.USER)}}}}});const QD=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]];class gS extends dS{constructor(){super(...arguments);dt(this,"preview",this.root.querySelector("a.ql-preview"))}listen(){super.listen(),this.root.querySelector("a.ql-action").addEventListener("click",t=>{this.root.classList.contains("ql-editing")?this.save():this.edit("link",this.preview.textContent),t.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",t=>{if(this.linkRange!=null){const n=this.linkRange;this.restoreFocus(),this.quill.formatText(n,"link",!1,Vt.sources.USER),delete this.linkRange}t.preventDefault(),this.hide()}),this.quill.on(Vt.events.SELECTION_CHANGE,(t,n,o)=>{if(t!=null){if(t.length===0&&o===Vt.sources.USER){const[a,u]=this.quill.scroll.descendant(nc,t.index);if(a!=null){this.linkRange=new nu(t.index-u,a.length());const f=nc.formats(a.domNode);this.preview.textContent=f,this.preview.setAttribute("href",f),this.show();const d=this.quill.getBounds(this.linkRange);d!=null&&this.position(d);return}}else delete this.linkRange;this.hide()}})}show(){super.show(),this.root.removeAttribute("data-mode")}}dt(gS,"TEMPLATE",['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""));class mS extends gd{constructor(e,t){t.modules.toolbar!=null&&t.modules.toolbar.container==null&&(t.modules.toolbar.container=QD),super(e,t),this.quill.container.classList.add("ql-snow")}extendToolbar(e){e.container!=null&&(e.container.classList.add("ql-snow"),this.buildButtons(e.container.querySelectorAll("button"),ld),this.buildPickers(e.container.querySelectorAll("select"),ld),this.tooltip=new gS(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"k",shortKey:!0},(t,n)=>{e.handlers.link.call(e,!n.format.link)}))}}mS.DEFAULTS=oc({},gd.DEFAULTS,{modules:{toolbar:{handlers:{link(r){if(r){const e=this.quill.getSelection();if(e==null||e.length===0)return;let t=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(t)&&t.indexOf("mailto:")!==0&&(t=`mailto:${t}`);const{tooltip:n}=this.quill.theme;n.edit("link",t)}else this.quill.format("link",!1,Je.sources.USER)}}}}});Je.register({"attributors/attribute/direction":Kx,"attributors/class/align":Vx,"attributors/class/background":mM,"attributors/class/color":gM,"attributors/class/direction":Yx,"attributors/class/font":Qx,"attributors/class/size":tS,"attributors/style/align":Gx,"attributors/style/background":qm,"attributors/style/color":Hm,"attributors/style/direction":Xx,"attributors/style/font":eS,"attributors/style/size":rS},!0);Je.register({"formats/align":Vx,"formats/direction":Yx,"formats/indent":sD,"formats/background":qm,"formats/color":Hm,"formats/font":Qx,"formats/size":tS,"formats/blockquote":lm,"formats/code-block":Wo,"formats/header":cm,"formats/list":pd,"formats/bold":ad,"formats/code":zm,"formats/italic":um,"formats/link":nc,"formats/script":fm,"formats/strike":dm,"formats/underline":hm,"formats/formula":Xd,"formats/image":aD,"formats/video":Jd,"modules/syntax":lS,"modules/table":cD,"modules/toolbar":Gm,"themes/bubble":pS,"themes/snow":mS,"ui/icons":ld,"ui/picker":xh,"ui/icon-picker":uS,"ui/color-picker":cS,"ui/tooltip":fS},!0);var yp={exports:{}},_0;function eP(){return _0||(_0=1,function(r,e){(function(t,n){r.exports=n()})(self,()=>(()=>{var t={321:(a,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.ConsoleLogger=void 0;var f=function(){function d(h,x){this.debug=h,this.suppressErrorLogging=x}return d.prototype.prefixString=function(){return"</> quill-image-compress: "},Object.defineProperty(d.prototype,"log",{get:function(){return this.debug?console.log.bind(console,this.prefixString()):function(){}},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"error",{get:function(){return this.suppressErrorLogging?function(){}:console.error.bind(console,this.prefixString())},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"warn",{get:function(){return this.suppressErrorLogging?function(){}:console.warn.bind(console,this.prefixString())},enumerable:!1,configurable:!0}),d}();u.ConsoleLogger=f},337:function(a,u){var f=this&&this.__awaiter||function(h,x,_,v){return new(_||(_=Promise))(function(y,b){function T(E){try{S(v.next(E))}catch(R){b(R)}}function w(E){try{S(v.throw(E))}catch(R){b(R)}}function S(E){var R;E.done?y(E.value):(R=E.value,R instanceof _?R:new _(function(I){I(R)})).then(T,w)}S((v=v.apply(h,x||[])).next())})},d=this&&this.__generator||function(h,x){var _,v,y,b={label:0,sent:function(){if(1&y[0])throw y[1];return y[1]},trys:[],ops:[]},T=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return T.next=w(0),T.throw=w(1),T.return=w(2),typeof Symbol=="function"&&(T[Symbol.iterator]=function(){return this}),T;function w(S){return function(E){return function(R){if(_)throw new TypeError("Generator is already executing.");for(;T&&(T=0,R[0]&&(b=0)),b;)try{if(_=1,v&&(y=2&R[0]?v.return:R[0]?v.throw||((y=v.return)&&y.call(v),0):v.next)&&!(y=y.call(v,R[1])).done)return y;switch(v=0,y&&(R=[2&R[0],y.value]),R[0]){case 0:case 1:y=R;break;case 4:return b.label++,{value:R[1],done:!1};case 5:b.label++,v=R[1],R=[0];continue;case 7:R=b.ops.pop(),b.trys.pop();continue;default:if(y=b.trys,!((y=y.length>0&&y[y.length-1])||R[0]!==6&&R[0]!==2)){b=0;continue}if(R[0]===3&&(!y||R[1]>y[0]&&R[1]<y[3])){b.label=R[1];break}if(R[0]===6&&b.label<y[1]){b.label=y[1],y=R;break}if(y&&b.label<y[2]){b.label=y[2],b.ops.push(R);break}y[2]&&b.ops.pop(),b.trys.pop();continue}R=x.call(h,b)}catch(I){R=[6,I],v=0}finally{_=y=0}if(5&R[0])throw R[1];return{value:R[0]?R[1]:void 0,done:!0}}([S,E])}}};Object.defineProperty(u,"__esModule",{value:!0}),u.downscaleImage=function(h,x,_,v,y,b,T,w){return f(this,void 0,void 0,function(){var S,E,R,I,P,j,q,$;return d(this,function(G){switch(G.label){case 0:return S=x.split(";")[0].split(":")[1],y=y||"image/jpeg",w=w||.7,(E=new Image).src=x,[4,new Promise(function(re){E.onload=function(){re()}})];case 1:return G.sent(),R=function(re,F,W,V){if(W&&V&&re<=W&&F<=V)return[re,F];if(W&&re>W){var ee=W,ue=Math.floor(F/re*ee);if(V&&ue>V){var le=V;return[Math.floor(re/F*le),le]}return[ee,ue]}return V&&F>V?(ue=V,[ee=Math.floor(re/F*ue),ue]):[F,re]}(E.width,E.height,_,v),I=R[0],P=R[1],(j=document.createElement("canvas")).width=I,j.height=P,q=j.getContext("2d"),y==="image/jpeg"&&(q.fillStyle="#FFFFFF",q.fillRect(0,0,E.width,E.height)),T!=null&&T.includes(S)?[2,x]:(b!=null&&b.includes(S)&&(y=S),q.drawImage(E,0,0,I,P),$=j.toDataURL(y,w),h.log("downscaling image...",{args:{dataUrl:x,maxWidth:_,maxHeight:v,imageType:y,ignoreImageTypes:T,keepImageTypes:b,imageQuality:w},newHeight:P,newWidth:I}),[2,$])}})})}},922:function(a,u){var f=this&&this.__awaiter||function(h,x,_,v){return new(_||(_=Promise))(function(y,b){function T(E){try{S(v.next(E))}catch(R){b(R)}}function w(E){try{S(v.throw(E))}catch(R){b(R)}}function S(E){var R;E.done?y(E.value):(R=E.value,R instanceof _?R:new _(function(I){I(R)})).then(T,w)}S((v=v.apply(h,x||[])).next())})},d=this&&this.__generator||function(h,x){var _,v,y,b={label:0,sent:function(){if(1&y[0])throw y[1];return y[1]},trys:[],ops:[]},T=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return T.next=w(0),T.throw=w(1),T.return=w(2),typeof Symbol=="function"&&(T[Symbol.iterator]=function(){return this}),T;function w(S){return function(E){return function(R){if(_)throw new TypeError("Generator is already executing.");for(;T&&(T=0,R[0]&&(b=0)),b;)try{if(_=1,v&&(y=2&R[0]?v.return:R[0]?v.throw||((y=v.return)&&y.call(v),0):v.next)&&!(y=y.call(v,R[1])).done)return y;switch(v=0,y&&(R=[2&R[0],y.value]),R[0]){case 0:case 1:y=R;break;case 4:return b.label++,{value:R[1],done:!1};case 5:b.label++,v=R[1],R=[0];continue;case 7:R=b.ops.pop(),b.trys.pop();continue;default:if(y=b.trys,!((y=y.length>0&&y[y.length-1])||R[0]!==6&&R[0]!==2)){b=0;continue}if(R[0]===3&&(!y||R[1]>y[0]&&R[1]<y[3])){b.label=R[1];break}if(R[0]===6&&b.label<y[1]){b.label=y[1],y=R;break}if(y&&b.label<y[2]){b.label=y[2],b.ops.push(R);break}y[2]&&b.ops.pop(),b.trys.pop();continue}R=x.call(h,b)}catch(I){R=[6,I],v=0}finally{_=y=0}if(5&R[0])throw R[1];return{value:R[0]?R[1]:void 0,done:!0}}([S,E])}}};Object.defineProperty(u,"__esModule",{value:!0}),u.file2b64=function(h){return f(this,void 0,void 0,function(){var x,_;return d(this,function(v){return x=new FileReader,_=new Promise(function(y,b){x.addEventListener("load",function(){var T,w=(T=x.result)===null||T===void 0?void 0:T.toString();w?y(w):b("could not convert file to base64")},!1)}),x.readAsDataURL(h),[2,_]})})}},457:(a,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.warnAboutOptions=function(f,d){f.maxWidth=f.maxWidth||1e3,f.maxHeight=f.maxHeight||1e3,f.maxWidth&&typeof f.maxWidth!="number"&&(d.warn(`[config error] 'maxWidth' is required to be a "number" (in pixels),
|
211
211
|
received: `.concat(f.maxWidth,`
|
212
212
|
-> using default 1000`)),f.maxWidth=1e3),f.maxHeight&&typeof f.maxHeight!="number"&&(d.warn(`[config error] 'maxHeight' is required to be a "number" (in pixels),
|
213
213
|
received: `.concat(f.maxHeight,`
|
@@ -351,10 +351,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
351
351
|
`,"user"),this.quill.setSelection(o+1,0),t.index=o+1}else{const a=this.quill.getLine(t.index)[0];a&&a.length()>1?(this.quill.insertText(t.index,`
|
352
352
|
|
353
353
|
`,"user"),t.index+=2):(this.quill.insertText(t.index,`
|
354
|
-
`,"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 Hu={},i_;function NN(){if(i_)return Hu;i_=1;var r=$s;if(process.env.NODE_ENV==="production")Hu.createRoot=r.createRoot,Hu.hydrateRoot=r.hydrateRoot;else{var e=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Hu.createRoot=function(t,n){e.usingClientEntryPoint=!0;try{return r.createRoot(t,n)}finally{e.usingClientEntryPoint=!1}},Hu.hydrateRoot=function(t,n,o){e.usingClientEntryPoint=!0;try{return r.hydrateRoot(t,n,o)}finally{e.usingClientEntryPoint=!1}}}return Hu}var jN=NN();const s_=ka(jN);class FN{constructor(e,t){dt(this,"DEFAULTS",{maxRowCount:-1});dt(this,"quill");dt(this,"options");dt(this,"position",null);dt(this,"table");dt(this,"selectedCell",null);dt(this,"menuRoot",null);dt(this,"helperTextElement",null);dt(this,"scrollTimeout",null);dt(this,"SCROLL_DEBOUNCE_TIME",80);dt(this,"lastSelectedCellRef",null);dt(this,"boundDocClickHandler",this.hideMenu.bind(this));dt(this,"boundEditorChangeHandler",this.editorChangeHandler.bind(this));dt(this,"boundContextMenuHandler",this.contextMenuHandler.bind(this));dt(this,"boundCopyHandler",this.copyHandler.bind(this));dt(this,"boundScrollHandler",this.handleScroll.bind(this));dt(this,"boundPasteHandler",this.pasteHandler.bind(this));dt(this,"menuItems",[]);dt(this,"positionCache",new Map);dt(this,"POSITION_CACHE_LIFETIME",1e3);dt(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:us.renderToString(C.jsx(Nr,{icon:"AddColRight"})),title:Ur.AEditor["Insert Column Right"]},{handler:()=>{(!(this.options.maxRowCount!==void 0&&this.options.maxRowCount>0)||this.getColCount()<(this.options.maxRowCount||0))&&this.table.insertColumnLeft()},icon:us.renderToString(C.jsx(Nr,{icon:"AddColLeft"})),title:Ur.AEditor["Insert Column Left"]},{handler:()=>{this.table.insertRowAbove()},icon:us.renderToString(C.jsx(Nr,{icon:"AddRowAbove"})),title:Ur.AEditor["Insert Row Top"]},{handler:()=>{this.table.insertRowBelow()},icon:us.renderToString(C.jsx(Nr,{icon:"AddRowBelow"})),title:Ur.AEditor["Insert Row Bottom"]},{handler:()=>{this.table.deleteColumn()},icon:us.renderToString(C.jsx(Nr,{icon:"RemoveCol"})),title:Ur.AEditor["Delete Column"]},{handler:()=>{this.table.deleteRow()},icon:us.renderToString(C.jsx(Nr,{icon:"RemoveRow"})),title:Ur.AEditor["Delete Row"]},{handler:()=>{this.table.deleteTable()},icon:us.renderToString(C.jsx(Nr,{icon:"Trash"})),title:Ur.AEditor["Delete Table"]}]}overrideTableMethods(){const e=this.table.insertTable;this.table.insertTable=(...n)=>{const o=e.apply(this.table,n),a=this.quill.getSelection();return a&&(this.quill.focus(),setTimeout(()=>this.detectButton(a),0)),o};const t=this.table.deleteTable;this.table.deleteTable=(...n)=>{const o=t.apply(this.table,n);return this.cleanupTableUI(),o}}initializeHelperText(){this.helperTextElement=document.createElement("div"),this.helperTextElement.className=zn["ql-tableui-helper"];const e=document.createElement("span");e.className=Be.clsx("Caption1",zn["ql-tableui-helper__text"],"NoSelect"),e.textContent=Ur.AEditor["Right click to open properties"];const t=document.createElement("span");t.className=zn["ql-tableui-helper__icon"],t.innerHTML=us.renderToString(C.jsx(Nr,{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,o){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,o)=>Math.max(o.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,o=k.memo(({item:u,index:f})=>C.jsxs("div",{className:zn["ql-tableui-options__item"],onClick:this.createItemClickHandler(u),children:[C.jsx("span",{className:zn["ql-tableui-options__item-icon"],dangerouslySetInnerHTML:{__html:u.icon}}),C.jsx("span",{className:zn["ql-tableui-options__item-text"],children:u.title})]},f)),a=()=>C.jsx("div",{className:zn["ql-tableui-options"],style:{position:"fixed",visibility:"hidden",zIndex:1e4},children:this.menuItems.map((u,f)=>C.jsx(o,{index:f,item:u},f))});try{s_.createRoot?(this.reactRoot=s_.createRoot(this.menuRoot),this.reactRoot.render(C.jsx(a,{}))):$s.render(C.jsx(a,{}),this.menuRoot)}catch{$s.render(C.jsx(a,{}),this.menuRoot)}document.addEventListener("click",this.boundDocClickHandler),requestAnimationFrame(()=>{if(!this.menuRoot)return;const u=this.menuRoot.firstElementChild;if(u){const f=u.getBoundingClientRect();let d=e.bottom+window.scrollY,h=e.left+window.scrollX;h+f.width>t&&(h=e.right-f.width+window.scrollX),d+f.height>n+window.scrollY&&(d=e.top-f.height+window.scrollY),u.style.top=`${d}px`,u.style.left=`${h}px`,u.style.visibility="visible"}})}hideMenu(){this.menuRoot&&(document.removeEventListener("click",this.boundDocClickHandler),this.reactRoot?(this.reactRoot.unmount(),this.reactRoot=null):$s.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 o=t.domNode,a=`${o.tagName}-${o.offsetLeft}-${o.offsetTop}`;this.selectedCell===o||this.lastSelectedCellRef===a||(this.clearAllTableCellOutlines(),o.style.outline="2px solid var(--acent-brand)",o.style.outlineOffset="-1px",this.selectedCell=o,this.lastSelectedCellRef=a),this.showHelperText();const f=this.quill.container.getBoundingClientRect(),d=o.getBoundingClientRect(),h={bottom:d.bottom-f.top,height:d.height,left:d.left-f.left,right:d.right-f.left,top:d.top-f.top,width:d.width,x:d.x,y:d.y,toJSON:()=>JSON.stringify(h)};this.position&&(this.position.top!==h.top||this.position.left!==h.left)&&this.hideMenu(),this.position=h}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 o=t.domNode.getBoundingClientRect(),a=this.quill.container.getBoundingClientRect();if(!(o.bottom<a.top+5||o.top>a.bottom-5)){let f=o.top-a.top-20;o.top<a.top&&(f=5),this.helperTextElement.style.display="block",this.helperTextElement.style.left=`${o.left-a.left}px`,this.helperTextElement.style.top=`${f}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 o=e.getBoundingClientRect();return this.positionCache.set(e,{rect:o,timestamp:t}),o}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 BN=()=>{const r=[1,2,3,!1,4],e=Je.import("ui/icons");e.table=us.renderToString(C.jsx(Nr,{icon:"Table",strokeWidth:2.5})),e.divider=us.renderToString(C.jsx(Nr,{icon:"Minus",strokeWidth:2.5}));const t=Je.import("blots/block/embed");class n extends t{static create(a){const u=super.create(a);return u.style.border="var(--AEditor_Addon_Primary_border)",u.style.borderBottom="none",u.style.transition="border var(--Transition)",u}}return dt(n,"blotName","divider"),dt(n,"tagName","hr"),Je.register({"modules/imageCompress":rP,"modules/resize":sP,"modules/tablePicker":PN,"modules/tableUI":FN,"modules/magicUrl":wN,"formats/header":zN(r),"formats/divider":n},!0),{header:r,FORMAT_DEFAULT:["bold","italic","underline","strike","blockquote","table","size","header","color","background","indent","list","align","image","link","video","divider"],FORMAT_TITLE:["bold","italic","underline","strike","color","background"],TOOLBAR_DEFAULT:[[{header:r}],["bold","italic","underline","strike","blockquote","divider","table",{color:[]},{background:[]}],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"},{align:[]}],["link","image","video"],["clean"]],TOOLBAR_TITLE:[["bold","italic","underline","strike",{color:[]},{background:[]},"clean"]]}};let Qg=null;const HN=()=>(Qg||(Qg=BN()),Qg),Yf={LINE_BREAK:/[\r\n\u2028\u2029]/,LINE_BREAKS:/[\r\n\u2028\u2029]+/g,WHITESPACES:/\s+/g,ASCII:/[^\x20-\x7F]/},wn={KB:1024,QUALITY:.7,DELTA_HASH:"",TEXT_CACHE:new Map,IMAGE_CACHE:new Map,MAX_CACHE:1e3,CACHE:100,LAST_CACHE:0},fs={getCharLength:r=>!r||r.length===0?0:Yf.ASCII.test(r)?Array.from(r).length:r.length,hashDelta:r=>{const e=r.ops.length;if(!r.ops||e===0)return"";const t=n=>n.reduce((o,a)=>typeof a.insert=="string"?o+a.insert.length:o+1,0);if(e<=wn.CACHE)return`${t(r.ops)}_${e}`;{const n=r.ops.slice(0,wn.CACHE),o=Math.max(0,Math.floor(e/2)-Math.floor(wn.CACHE/2)),a=r.ops.slice(o,o+wn.CACHE),u=r.ops.slice(Math.max(0,e-wn.CACHE)),f=t(n),d=t(a),h=t(u);return`${f}_${d}_${h}_${e}`}},updateTextCache:(r,e)=>{if(wn.TEXT_CACHE.size>wn.MAX_CACHE){const t=wn.TEXT_CACHE.keys().next().value;t!==void 0&&wn.TEXT_CACHE.delete(t)}return wn.TEXT_CACHE.set(r,e),wn.DELTA_HASH=r,wn.LAST_CACHE=e,e},calculateOpSize:(r,e=!0)=>{let t=0;const n=new TextEncoder;for(const o of r)if(typeof o.insert=="string"){const a=o.insert||"",u=e?a.replace(/\n/g,""):a;t+=n.encode(u).length}else if(typeof o.insert=="object"&&o.insert.image){const a=o.insert.image;if(a){const u=wn.IMAGE_CACHE.get(a);u?t+=u.compressedSize:console.error("Invalid image data",a.substring(0,30)+"...")}}return t},calculateTextSize:r=>{const e=r.ops.length;if(!r.ops||e===0)return 0;const t=fs.hashDelta(r);if(t===wn.DELTA_HASH)return wn.LAST_CACHE;if(wn.TEXT_CACHE.has(t))return fs.updateTextCache(t,wn.TEXT_CACHE.get(t));const n=fs.calculateOpSize(r.ops,!0);return fs.updateTextCache(t,n)},cleanTextContent:r=>r.replace(Yf.LINE_BREAKS," ").replace(Yf.WHITESPACES," ")};function qN(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}function zN(r){const e=Je.import("formats/header");return e.whitelist=r,e}const $N=k.memo(r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",editorRef:o,useValue:a,useError:u,placeholder:f,tabIndex:d,autoFocus:h,editorProps:x,wrapProps:_,helperText:v,label:y,labelProps:b,wrapType:T,style:w,minHeight:S,maxHeight:E,contentHeight:R,contentMaxHeight:I=1e3,toolbarSize:P="Med",toolbarType:j="Default",readOnly:q,limitPosition:$="Bottom",maxLength:G=1e6,size:re=100,editorClassName:F,editorStyle:W,noImageResize:V,...ee}=r,ue=k.useMemo(()=>HN(),[]),le=k.useMemo(()=>n==="ReadOnly"||q,[n,q]),de=k.useMemo(()=>R?20:0,[R]),[fe,ve]=k.useState(P==="Med"?40:50),te=k.useMemo(()=>le?0:fe,[le,fe]),[ce,pe]=k.useMemo(()=>!u||le||$==="Top"?[0,0]:[20,6],[u,le,$]),ye=k.useMemo(()=>ce+pe,[ce,pe]),[Ie,oe]=k.useState(R),[we,Oe]=k.useState(!1),[Ue,We]=k.useState(!1),Se=k.useRef(null),_e=k.useRef(0),Ce=k.useRef(0),Te=k.useMemo(()=>y?24:0,[y]),Ne=k.useMemo(()=>j==="Title"?!0:void 0,[j]),ot=k.useMemo(()=>R||S||Ne,[R,S,Ne]),$e=k.useMemo(()=>ot?"fit-content":E?E+Te:`calc(100% - ${Te}px)`,[ot,E,Te]),tt=k.useMemo(()=>{if(R){if(Ie)switch(n){case"ReadOnly":return Ie;case"Raw":return Ie+ye;default:return Ie+te+ye}}else return},[R,Ie,n,te,ye]),at=k.useMemo(()=>{if(!(!E||E<=te+ye))switch(n){case"ReadOnly":return E;case"Raw":return E-ye;default:return E-te-ye}},[n,te,ye,E]),De=k.useMemo(()=>{if(S&&R){const lt=Math.min(S-te-ye,R);return le?lt:lt+te+ye}else return S||(R?void 0:`calc(100% - ${Te}px)`)},[S,R,Te,te,ye,le]),Ke=k.useMemo(()=>qN(t)?"Error":n,[t,n]),[yt,_t]=dn(a,""),[bt,At]=dn(u,!1),qe=k.useCallback(lt=>{if(!lt)return new Wt;const it=document.createElement("div");return it.innerHTML=lt,new Je(it,{readOnly:!0}).getContents()},[]),Qe=k.useMemo(()=>qe(yt),[yt,qe]),St=k.useCallback(lt=>fs.calculateTextSize(lt),[]),Dt=k.useMemo(()=>re*wn.KB,[re]),Et=k.useMemo(()=>C.jsx(UN,{calculateSize:St,error:bt,htmlDelta:Qe,isReadonly:le,limit:Dt,useError:u}),[St,bt,Qe,le,Dt,u]),Ze=k.useMemo(()=>({clipboard:{matchVisual:!1,...Ne&&{matchers:[["img",()=>!1],["table",()=>!1],["iframe",()=>!1],["video",()=>!1],["h1, h2, h3, h4, h5, h6",()=>!1],["blockquote",()=>!1],["a",lt=>{const it=lt.textContent||"";return new Wt().insert(it)}],["*",(lt,it)=>{if(!it||!it.ops||!Array.isArray(it.ops)){const Fe=lt.textContent||"";return new Wt().insert(Fe)}return it}]]}},keyboard:Ne?{bindings:{Enter:{key:"Enter",handler:lt=>{if(e&&_t){const it=lt.root.innerHTML;e(it)}return!1}}}}:{bindings:{}},magicUrl:!0,imageCompress:{quality:wn.QUALITY,debug:!1,insertIntoEditor:(lt,it,Fe)=>{try{if(Ne){console.warn("title mode cannot insert image");return}if(wn.IMAGE_CACHE.size>=wn.MAX_CACHE){const nt=wn.IMAGE_CACHE.keys().next().value;nt&&wn.IMAGE_CACHE.delete(nt)}wn.IMAGE_CACHE.set(lt,{compressedSize:it.size,compressionQuality:wn.QUALITY});const ut=Fe.getSelection();ut&&Fe.insertEmbed(ut.index,"image",lt,Je.sources.USER)}catch(ut){console.warn("image insert error:",ut)}}},...!le&&{...!V&&{resize:{locale:{altTip:Ur.AEditor["Image size adjust"],center:Ur.AEditor.Center,floatLeft:Ur.AEditor.floatLeft,floatRight:Ur.AEditor.floatRight,inputTip:Ur.AEditor["Input on mouse down"],restore:Ur.AEditor.Restore}}},...!Ne&&{table:!0,tablePicker:!0,tableUI:!0},toolbar:{container:Ne?ue.TOOLBAR_TITLE:ue.TOOLBAR_DEFAULT,handlers:{divider:function(){const lt=this.quill,it=lt.getSelection(!0);if(!it||Ne)return;const Fe=lt.getModule("table"),ut=Fe&&!!Fe.getTable(it)[0];ut||lt.insertText(it.index,`
|
355
|
-
`,Je.sources.USER);const nt=ut?0:1,$t=Math.min(it.index+nt,lt.getLength()-1);lt.insertEmbed($t,"divider",!0,Je.sources.USER),setTimeout(()=>lt.setSelection(Math.min($t+1,lt.getLength()-1),0,Je.sources.SILENT),0)}}}}}),[le,Ne,e,
|
356
|
-
`;if(At){const He=St(nt);At(He>Dt)}
|
357
|
-
`);it.setContents(jr),Object.keys(gr).length>0&&it.formatText(0,Kt.length,gr);const zr=Math.min($t,Kt.length);it.setSelection(zr,0)}ut=Kt}else ut=wt},xt=wt=>{(wt.inputType==="insertLineBreak"||wt.inputType==="insertText"&&wt.data&&Yf.LINE_BREAK.test(wt.data))&&wt.preventDefault()},Tt=()=>ne(Ye),kt=Mt(it.root,[{type:"keydown",handler:xe},{type:"beforeinput",handler:xt}]);it.on("text-change",Tt),He.push(()=>{it.off("text-change",Tt),nt&&window.cancelAnimationFrame(nt),kt()}),ne(Ye)}else{const xe=()=>{const wt=it.getText();if(fs.getCharLength(wt)-1<=G)return;const Gt=it.getSelection(),rr=it.getContents();$t=Gt?Gt.index:0;let gr=0,Kt=0;for(const zr of rr.ops||[])if(typeof zr.insert=="string"){const vn=Array.from(zr.insert);for(const Fr of vn){if(gr>=G)break;gr++,Kt+=Fr.length}if(gr>=G)break}else zr.insert&&(gr+=1);const jr=wt.substring(0,Kt);it.setText(jr),it.setSelection(Math.min($t,jr.length),0)},Ye=(wt,or)=>{const Gt=it.getSelection();if(!Gt)return!0;const rr=it.getText(),gr=fs.getCharLength(rr)-1,Kt=Gt.length>0?fs.getCharLength(rr.substring(Gt.index,Gt.index+Gt.length)):0,jr=G-(gr-Kt);return fs.getCharLength(or)<=jr?!0:(wt.preventDefault(),!1)},xt=()=>ne(xe),Tt=wt=>{wt.inputType.startsWith("insert")&&Ye(wt,wt.data||"")},kt=Mt(it.root,[{type:"beforeinput",handler:Tt,options:{capture:!0}}]);it.on("text-change",xt),He.push(()=>{it.off("text-change",xt),nt&&window.cancelAnimationFrame(nt),kt()})}return()=>He.forEach(xe=>xe())},[G,Ne,e,Mt]),sr=k.useRef(null),er=k.useCallback(async(lt,it,Fe)=>{var ne,He;const ut=async()=>{if(!navigator.clipboard||!it||!window.ClipboardItem||!window.isSecureContext)return!1;try{return await navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([it],{type:"text/html"}),"text/plain":new Blob([lt],{type:"text/plain"})})]),!0}catch{return!1}},nt=async()=>{if(!navigator.clipboard||!window.isSecureContext)return!1;try{return await navigator.clipboard.writeText(lt),!0}catch{return!1}},$t=()=>{if(it)try{const xe=document.createElement("div");xe.style.cssText="position:fixed;left:-9999px;top:-9999px;opacity:0;",xe.innerHTML=it,document.body.appendChild(xe);const Ye=document.createRange();Ye.selectNodeContents(xe);const xt=window.getSelection();if(xt){xt.removeAllRanges(),xt.addRange(Ye);const Tt=document.execCommand("copy");if(xt.removeAllRanges(),document.body.removeChild(xe),Tt)return!0}document.body.removeChild(xe)}catch(xe){console.error("Failed to copy to clipboard",xe)}try{const xe=document.createElement("textarea");xe.value=lt,xe.style.cssText="position:fixed;left:-9999px;top:-9999px;opacity:0;",document.body.appendChild(xe),xe.focus(),xe.select();const Ye=document.execCommand("copy");return document.body.removeChild(xe),Ye}catch(xe){return console.error("Failed to copy to clipboard",xe),!1}};let wr=!1;return await ut()||await nt()?wr=!0:wr=$t(),wr?(ne=Fe==null?void 0:Fe.onSuccess)==null||ne.call(Fe):(He=Fe==null?void 0:Fe.onError)==null||He.call(Fe),wr},[]),_r=k.useCallback(lt=>{if(!sr.current){yt&&er(yt,void 0,lt);return}const it=sr.current;if(it.getEditor){const Fe=it.getEditor(),ut=Fe.getText()||yt,nt=Fe.root.innerHTML;er(ut,nt,lt)}else yt&&er(yt,void 0,lt)},[yt,er]),fr=k.useCallback(lt=>{if(sr.current=lt,lt){const it=lt;it.copyContent=_r,typeof o=="function"?o(it):o&&(o.current=it),Qt(lt),qt(lt)}else typeof o=="function"?o(null):o&&(o.current=null)},[o,Qt,qt,_r]);return C.jsx(ic,{helperText:v,wrapType:T,labelProps:{...b,style:{minHeight:y?20:void 0,marginBottom:y?4:0,...b==null?void 0:b.style}},errorMessage:t,label:C.jsxs(En,{style:{gap:4},children:[y,$==="Top"&&Et]}),wrapProps:{..._,className:Be.clsx(_==null?void 0:_.className,!ot&&zn.AEditorWrapper),style:{..._==null?void 0:_.style,height:$e}},children:C.jsxs(Zr,{...ee,className:Be.clsx(ee.className,zn.AEditorContainer,Ot&&"NoTransition"),style:{...w,height:tt,minHeight:De},children:[C.jsx(kh,{...x,ref:fr,formats:Ne?ue.FORMAT_TITLE:ue.FORMAT_DEFAULT,modules:Ze,placeholder:f,readOnly:le,theme:"snow",value:Qe,className:Be.clsx(x==null?void 0:x.className,zn.AEditor,zn[Ke],Ne&&"Title",Ot&&"NoTransition"),style:{...x==null?void 0:x.style,maxHeight:at?at+te:void 0,"--icon-size":`${P==="Med"?18:24}px`,"--editor-padding":Ne?"8px 12px":"12px","--toolbar-padding":`${mt}px`,"--content-height":Ne?"fit-content":Ie?`${Ie}px`:"100%","--content-max-height":at?`${at}px`:"100%","--default-text":`'${Ur.AEditor.Default}'`,"--visit-url-text":`'${Ur.AEditor["Visit URL:"]}'`,"--enter-link-text":`'${Ur.AEditor["Enter link:"]}'`,"--enter-video-text":`'${Ur.AEditor["Enter video:"]}'`,"--save-text":`'${Ur.AEditor.Save}'`,"--remove-text":`'${Ur.AEditor.Remove}'`,"--arrow-background":`url("data:image/svg+xml,${encodeURIComponent(us.renderToString(C.jsx(Nr,{icon:"EditorArrow"})))}`,"--title-color-picker-width":Ne?"780px":"142px"},onChange:st}),R&&C.jsxs(C.Fragment,{children:[C.jsx("div",{ref:Se,className:Be.clsx(zn.Resizer,Ot&&"NoTransition"),style:{height:de,bottom:u&&!le?ye:0},onMouseDown:ae}),Ue&&C.jsx("div",{className:Be.clsx(zn.Indicator,"NoSelect","Label1",Ot&&"NoTransition"),style:{height:de,bottom:u&&!le?ye:0},children:`${Math.round(Ie)}px`})]}),C.jsx("div",{className:Be.clsx(zn.LimitContainer,"NoSelect",Ot&&"NoTransition"),style:{marginTop:pe,minHeight:ce,display:$==="Bottom"?"flex":"none"},children:Et})]})})},(r,e)=>r.errorMessage===e.errorMessage&&r.type===e.type&&r.useValue===e.useValue&&r.useError===e.useError&&r.placeholder===e.placeholder&&r.readOnly===e.readOnly&&r.maxLength===e.maxLength&&r.size===e.size&&r.contentHeight===e.contentHeight&&r.minHeight===e.minHeight&&r.maxHeight===e.maxHeight&&r.toolbarSize===e.toolbarSize&&r.toolbarType===e.toolbarType&&r.limitPosition===e.limitPosition&&r.editorClassName===e.editorClassName&&r.editorStyle===e.editorStyle&&r.noImageResize===e.noImageResize),UN=k.memo(({calculateSize:r,error:e,htmlDelta:t,limit:n,useError:o,isReadonly:a})=>{const u=k.useRef(0),f=k.useRef(""),d=fs.hashDelta(t),h=d!==f.current,x=k.useMemo(()=>{if(h){const v=r(t);return u.current=v,f.current=d,v}return u.current},[r,t,d,h]);if(!o||a)return null;const _=e||x>n;return C.jsxs(Aa,{className:zn.Limit,children:["(",C.jsx("span",{className:Be.clsx(_&&zn.Error),children:eu(x)})," / ",eu(n),")"]})});function ch(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=ch(t.children,e);if(n)return n}}function md(r,e){Array.isArray(r)||(r=[r]);for(const t of r)e(t),!(!t.children||t.children.length<1)&&md(t.children,e)}function TS(r,e){Array.isArray(r)||(r=[r]);const t=[];return md(r,(n,o)=>t.push(e(n,o))),t}function kS(r,e){Array.isArray(r)||(r=[r]);for(const t of r){if(!e(t))return!1;if(!(!t.children||t.children.length<1)&&!kS(t.children,e))return!1}return!0}function WN(r,e){Array.isArray(r)||(r=[r]);const t=[];return md(r,(n,o)=>{e(n,o)&&t.push(n)}),t}function VN(r){Array.isArray(r)||(r=[r]);let e=0;return md(r,()=>e++),e}function GN(r,e,t,n){if(n(e,t))return null;Array.isArray(r)||(r=[r]);const o=ch(r,u=>{var f;return(f=u.children)==null?void 0:f.some(d=>n(d,e))}),a=ch(r,u=>{var f;return(f=u.children)==null?void 0:f.some(d=>n(d,t))});if(o===void 0&&a===void 0){const u=r.findIndex(d=>n(d,e)),f=r.findIndex(d=>n(d,t));return r.splice(u,1),r.splice(f,0,e),[...r]}else if(o!==void 0&&a!==void 0&&n(o,a)&&o.children){const u=o.children.findIndex(d=>n(d,e)),f=o.children.findIndex(d=>n(d,t));return u===void 0||f===void 0?null:(o.children.splice(u,1),o.children.splice(f,0,e),o.children=[...o.children],[...r])}return null}function ZN(r,e,t){const n=[],o=[...e];for(;o.length>0;){const a=o.shift();if(a&&!n.find(u=>t(u,a))&&(n.push(a),!(!a.children||a.children.length<1)))for(const u of a.children)o.push(u)}return n}function KN(r,e,t){Array.isArray(r)||(r=[r]);const n=TS(r,u=>u),o=[],a=[...e];for(;a.length>0;){const u=a.shift();if(!u||o.find(d=>t(d,u)))continue;o.push(u);const f=n.find(d=>{var h;return(h=d.children)==null?void 0:h.some(x=>t(x,u))});f&&a.push(f)}return o}const sl={find:ch,forEach:md,map:TS,every:kS,filter:WN,length:VN,replace:GN,descendants:ZN,ancestors:KN},YN="_AWrap_1qho8_1",XN="_AContainer_1qho8_10",JN="_ATree_1qho8_18",QN="_ATreeBody_1qho8_30",ej="_CoverBorder_1qho8_36",tj="_InsertBorder_1qho8_45",rj="_ATreeHeader_1qho8_76",nj="_ATreeBodyHeader_1qho8_82",oj="_ATreeBodyHeaderResources_1qho8_92",ij="_ATreeItem_1qho8_98",sj="_IsSelectUsed_1qho8_114",aj="_IsSelected_1qho8_117",lj="_IsSearchSelected_1qho8_122",cj="_IsHovered_1qho8_133",uj="_CheckBox_1qho8_137",fj="_Indents_1qho8_149",dj="_ExpandIcon_1qho8_156",hj="_Content_1qho8_168",pj="_RightSticky_1qho8_177",gj="_SearchInputWrap_1qho8_187",mj="_SearchInput_1qho8_187",vj="_RightAddon_1qho8_199",yj="_RightAddonIcon_1qho8_210",bj="_Loader_1qho8_217",mn={AWrap:YN,AContainer:XN,ATree:JN,ATreeBody:QN,CoverBorder:ej,InsertBorder:tj,ATreeHeader:rj,ATreeBodyHeader:nj,ATreeBodyHeaderResources:oj,ATreeItem:ij,IsSelectUsed:sj,IsSelected:aj,IsSearchSelected:lj,IsHovered:cj,CheckBox:uj,Indents:fj,ExpandIcon:dj,Content:hj,RightSticky:pj,SearchInputWrap:gj,SearchInput:mj,RightAddon:vj,RightAddonIcon:yj,Loader:bj},_j=r=>{const{isEqual:e,item:t,selectDisabled:n,selectUnused:o,isParentDisabled:a,indents:u,extIndents:f,useExpand:d,useSelect:h,useSearch:x,onDragStart:_,onDragOver:v,onDragEnd:y,showCheckbox:b,icons:T,iconWidth:w,isSelectMulti:S,isDraggable:E,isParentCheckHovered:R,hoverdItem:I,onMouseOver:P,onMouseLeave:j,ContentRenderer:q,TreeItemRenderer:$,RightStickyAddon:G,resources:re,containerRef:F,TreeItemStyle:W,TreeItemClassName:V,searchItemStyle:ee,searchItemClassName:ue,height:le}=r,{children:de}=k.useMemo(()=>t,[t]),[fe,ve]=k.useMemo(()=>d,[d]),[te,ce]=k.useMemo(()=>h,[h]),[pe,ye]=k.useMemo(()=>x,[x]),Ie=k.useMemo(()=>o?o(t):!1,[o,t]),oe=k.useMemo(()=>!n||a?a:n(t),[n,a,t]),we=k.useMemo(()=>fe.some(Ze=>e(Ze,t)),[fe,e,t]),Oe=k.useMemo(()=>!de||de.length<1?"noChild":we?"expanded":"collapsed",[de,we]),Ue=k.useMemo(()=>{const Ze=T[Oe];return vm.includes(Ze)?C.jsx(Nr,{icon:Ze,style:{width:w,height:w}}):Ze},[T,w,Oe]),We=k.useCallback(Ze=>{!ve||Oe==="noChild"||(ve(we?fe.filter(It=>!e(It,t)):[...fe,t]),Ze.stopPropagation())},[ve,fe,we,t,e,Oe]),Se=k.useMemo(()=>te.some(Ze=>e(Ze,t)),[te,e,t]),_e=k.useCallback(()=>{!ce||oe||(ce(S?Se?te.filter(Ze=>!e(Ze,t)):[...te,t]:[t]),pe&&ye&&pe.items.some(Ze=>e(Ze,t))&&ye({...pe,item:t}))},[S,oe,Se,pe,ye,ce,e,te,t]),Ce=k.useMemo(()=>pe==null?void 0:pe.items.some(Ze=>e(Ze,t)),[pe,e,t]),Te=k.useMemo(()=>Ce&&(pe==null?void 0:pe.item)&&e(pe.item,t),[Ce,pe,e,t]),Ne=k.useRef(null);k.useEffect(()=>{setTimeout(()=>{if(Te&&Ne.current&&F.current){const{top:Ze,bottom:It}=Ne.current.getBoundingClientRect(),{top:Ot,bottom:pr}=F.current.getBoundingClientRect();(Ze<Ot||It>pr)&&Ne.current.scrollIntoView({behavior:"smooth",block:"center"})}},10)},[F,Te]);const[ot,$e]=k.useState(!1),tt=k.useCallback(()=>!oe&&$e(!0),[oe]),at=k.useCallback(()=>!oe&&$e(!1),[oe]),De=k.useMemo(()=>sl.map(t,Ze=>Ze).filter(Ze=>!(n!=null&&n(Ze))&&!(o!=null&&o(Ze))),[n,o,t]),Ke=k.useMemo(()=>!b||!S?!1:Se&&De.some(Ze=>te.some(It=>e(Ze,It)))&&De.some(Ze=>!te.some(It=>e(Ze,It))),[b,S,Se,De,e,te]),yt=k.useMemo(()=>b?S?De.every(Ze=>te.some(It=>e(Ze,It))):te.some(Ze=>e(Ze,t)):!1,[b,S,De,t,e,te]),_t=k.useCallback(()=>{if(!(!ce||oe))if(S)if(Se){const Ze=te.filter(It=>!(o!=null&&o(It))&&!(n!=null&&n(It))&&De.some(Ot=>e(Ot,It)));Ze.length>0&&ce(te.filter(It=>!Ze.some(Ot=>e(It,Ot))))}else{const Ze=De.filter(It=>!(o!=null&&o(It))&&!(n!=null&&n(It))&&!te.some(Ot=>e(Ot,It)));Ze.length>0&&ce([...te,...Ze])}else ce([t])},[oe,n,o,S,ce,e,Se,te,De,t]),bt=k.useCallback(Ze=>{oe||_t(),Ze.stopPropagation()},[oe,_t]),At=k.useMemo(()=>{if(!b||!S||oe)return"";if(Se){const It=te.filter(Ot=>!(o!=null&&o(Ot))&&!(n!=null&&n(Ot))&&De.some(pr=>e(pr,Ot)));if(It.length>0)return re["deselect n"](It.length)}const Ze=De.filter(It=>!(o!=null&&o(It))&&!(n!=null&&n(It))&&!te.some(Ot=>e(Ot,It)));return re["select n"](Ze.length)},[n,o,re,oe,b,S,Se,De,e,te]),qe=k.useMemo(()=>Lr.getContent(G,r),[G,r]),Qe=k.useMemo(()=>Lr.getContent(W,r),[r,W]),St=k.useMemo(()=>Lr.getContent(V,r),[r,V]),Dt=k.useMemo(()=>Lr.getContent(ue,r),[r,ue]),Et=k.useMemo(()=>Lr.getContent(ee,r),[r,ee]);return C.jsxs(k.Fragment,{children:[C.jsxs(Zr,{abaseRef:Ne,draggable:E,isDisabled:oe,className:Be.clsx(mn.ATreeItem,Se&&mn.IsSelected,!oe&&(ot||R)&&mn.IsHovered,Ce&&mn.IsSearched,Te&&(Dt||mn.IsSearchSelected),!Ie&&mn.IsSelectUsed,"NoSelect",St),style:{...Qe,...Te&&Et,"--ATreeItem_height":`${le}px`},onClick:_e,onDragEnd:Ze=>y==null?void 0:y(Ze,t),onDragEnter:Ze=>v==null?void 0:v(Ze,t),onDragStart:()=>_==null?void 0:_(t),onMouseLeave:Ze=>j==null?void 0:j(Ze,t),onMouseOver:Ze=>P==null?void 0:P(Ze,t),children:[b&&C.jsx(ef,{className:mn.CheckBox,isDisabled:oe,isIndeterminate:Ke,tooltip:At,useCheck:[+yt,_t],style:{visibility:oe||Ie?"hidden":"visible",zIndex:oe||Ie?0:2},onClick:bt,onMouseOut:at,onMouseOver:tt}),C.jsx("div",{className:mn.Indents,style:{paddingLeft:b?0:r.icons.noChild?12:0},children:u.map((Ze,It)=>{const Ot=It===u.length-1;return C.jsx(K2,{value:Ze,map:{Collapsed:f?f({iconWidth:w}).collapsed:C.jsx(Sj,{iconWidth:w}),Expanded:f?f({iconWidth:w,isLast:Ot}).expanded:C.jsx(xj,{iconWidth:w,isLast:Ot}),IsLast:f?f({iconWidth:w}).isLast:C.jsx(Cj,{iconWidth:w})}},It)})}),Ue&&C.jsx("div",{className:mn.ExpandIcon,style:{width:w,minWidth:w,maxWidth:w},onClick:We,children:Ue}),C.jsx("div",{className:Be.clsx(mn.Content,"NoSelect"),children:C.jsx(q,{containerRef:F,ContentRenderer:q,extIndents:f,height:le,hoverdItem:I,icons:T,iconWidth:w,indents:u,isDraggable:E,isEqual:e,isParentCheckHovered:S&&(ot||R),isSelectMulti:S,item:t,resources:re,RightStickyAddon:G,searchItemClassName:Dt,searchItemStyle:ee,showCheckbox:b,TreeItemClassName:V,TreeItemRenderer:$,TreeItemStyle:W,useExpand:d,useSearch:x,useSelect:h,onDragEnd:y,onDragOver:v,onDragStart:_,onMouseLeave:j,onMouseOver:P})}),qe&&C.jsx("div",{className:mn.RightSticky,children:qe})]}),we&&(de==null?void 0:de.map((Ze,It)=>C.jsx($,{containerRef:F,ContentRenderer:q,extIndents:f,height:le,hoverdItem:I,icons:T,iconWidth:w,isDraggable:E,isEqual:e,isParentCheckHovered:S&&(ot||R),isSelectMulti:S,item:Ze,resources:re,RightStickyAddon:G,searchItemClassName:Dt,searchItemStyle:ee,selectDisabled:n,selectUnused:o,showCheckbox:b,TreeItemClassName:V,TreeItemRenderer:$,TreeItemStyle:W,useExpand:d,useSearch:x,useSelect:h,indents:[...u.map(Ot=>Ot==="IsLast"?"Collapsed":Ot),It===de.length-1?"IsLast":"Expanded"],onDragEnd:y,onDragOver:v,onDragStart:_,onMouseLeave:j,onMouseOver:P},It)))]})},xj=({iconWidth:r,isLast:e})=>C.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&&C.jsx("div",{style:{borderBottom:"var(--ATree_Indent_border)",height:"50%",transition:"border-color var(--Transition)"}})}),Sj=({iconWidth:r})=>C.jsx("div",{style:{width:r,height:"100%",borderLeft:"none",marginLeft:0,transition:"border-color var(--Transition)"}}),Cj=({iconWidth:r})=>C.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)"}}),wj=r=>{const{isEqual:e,searchResult:t,initSearch:n,searchUp:o,searchDown:a,searchEnter:u,isDisabled:f,isLoading:d,resources:h,maxLength:x,autoFocus:_}=r,v=k.useCallback(T=>{T.key==="Enter"?u():T.key==="ArrowDown"?a():T.key==="ArrowUp"&&o(),T.preventDefault(),T.stopPropagation()},[a,u,o]),y=k.useCallback(T=>{n(T)},[n]),b=k.useMemo(()=>f||d?-1:void 0,[f,d]);return C.jsx(sc,{autoFocus:_,className:mn.SearchInput,isDisabled:f,maxLength:x,placeholder:h["Search(Placeholder)"],tabIndex:b,useValue:[(t==null?void 0:t.keyword)??"",y],RightAddon:C.jsx(Aj,{isEqual:e,resources:h,searchDown:a,searchEnter:u,searchResult:t,searchUp:o}),wrapProps:{className:mn.SearchInputWrap},onKeyDown:v})},Aj=r=>{const{isEqual:e,searchResult:t,searchUp:n,searchDown:o,searchEnter:a,resources:u}=r,f=k.useMemo(()=>!t||t.items.length<1?0:t.items.findIndex(b=>t.item&&e(b,t.item))+1,[t,e]),d=k.useMemo(()=>!t||t.items.length<1?0:t.items.length,[t]),h=k.useMemo(()=>f<2,[f]),x=k.useMemo(()=>f>=d,[f,d]),_=k.useCallback(b=>{b.stopPropagation(),!h&&n()},[n,h]),v=k.useCallback(b=>{b.stopPropagation(),!x&&o()},[o,x]),y=k.useCallback(b=>{b.stopPropagation(),a()},[a]);return C.jsx("div",{className:Be.clsx(mn.RightAddon,"NoSelect"),children:t?C.jsxs(C.Fragment,{children:[f,"/",d,C.jsx(Zr,{isDisabled:h,onClick:_,children:C.jsx(Nr,{className:mn.RightAddonIcon,icon:"ArrowUp",mask:""})}),C.jsx(Zr,{isDisabled:x,onClick:v,children:C.jsx(Nr,{className:mn.RightAddonIcon,icon:"ArrowDown"})})]}):C.jsx(mo,{className:mn.RightAddonIcon,icon:"Search",style:{marginRight:4},tooltip:u["Search(Button)"],type:"Raw",onClick:y})})},Ej=r=>{var it;const{pk:e,selectDisabled:t,selectUnused:n,useItems:o,useExpand:a,useSelect:u,useSearch:f,showCheckbox:d,iconWidth:h=24,icons:x={noChild:"Folder",collapsed:"FolderCopy",expanded:"FolderOpen"},indents:_,isSelectMulti:v=!1,noSearch:y=!1,isDraggable:b,noSyncSearchSelect:T=!1,actionRef:w,placeholder:S,searchPredicate:E=kj,isDisabled:R,isLoading:I,ContentRenderer:P=Tj,TreeItemRenderer:j=_j,RightStickyAddon:q,TopRightAddon:$,TreeTopAddon:G,resources:re,maxLength:F,autoFocus:W,TreeItemStyle:V,TreeItemClassName:ee,OverflowPadding:ue,insertBorder:le,width:de,searchItemClassName:fe,searchItemStyle:ve,height:te=40,...ce}=r,pe=k.useMemo(()=>({...Ur.ATree,...re}),[re]),ye=k.useCallback((Fe,ut)=>e!==void 0?Array.isArray(e)?e.every(nt=>al.isEqual(Fe[nt],ut[nt])):al.isEqual(Fe[e],ut[e]):al.isEqual(Fe,ut),[e]),Ie=k.useRef(null),[oe,we]=dn(o,[]),Oe=k.useMemo(()=>sl.map(oe,Fe=>Fe),[oe]),[Ue,We]=dn(a,[]),[Se,_e]=dn(u,[]),[Ce,Te]=dn(f,void 0),Ne=k.useCallback(Fe=>{if(R||!We||Ue.some($t=>ye($t,Fe)))return;const ut=[];let nt=Fe;for(;nt;){const $t=nt;Ue.find(wr=>ye(wr,$t))||ut.push($t),nt=Oe.find(wr=>{var ne;return(ne=wr.children)==null?void 0:ne.some(He=>ye(He,$t))})}We([...Ue,...ut])},[Ue,R,ye,We,Oe]),ot=k.useCallback(()=>{!We||R||We([...Oe])},[Oe,R,We]),$e=k.useCallback(()=>{!We||R||We([])},[We,R]),tt=k.useCallback(Fe=>{!_e||R||n!=null&&n(Fe)||(_e([Fe]),Ne(Fe))},[_e,R,n,Ne]),at=k.useCallback(Fe=>{if(!Te||R)return;if(!Fe||y){Te(void 0),T||_e==null||_e([]);return}const ut=sl.filter(oe,$t=>E(Fe,$t));let nt;if(ut.find($t=>(Ce==null?void 0:Ce.item)&&ye($t,Ce.item))?nt=Ce==null?void 0:Ce.item:ut.length>0&&(nt=ut[0]),Te({keyword:Fe,items:ut,item:nt}),nt&&Ne(nt),_e&&!T)if(v)_e(ut);else{const $t=ut.find(wr=>nt&&ye(wr,nt));_e($t?[$t]:[])}},[oe,R,ye,E,Te,_e,Ne,T,y,v,Ce]),De=k.useRef(!1);k.useEffect(()=>{De.current=!0},[oe]),k.useEffect(()=>{Ce&&De.current&&(at(Ce.keyword),De.current=!1)},[at,Ce]);const Ke=k.useCallback(()=>{if(!Ce||!Te||R)return;let Fe=Ce.items.findIndex(ut=>Ce.item&&ye(ut,Ce.item))-1;Fe<0||(Te({...Ce,item:Ce.items[Fe]}),Ne(Ce.items[Fe]),T||tt(Ce.items[Fe]))},[Ce,Ne,Te,R,tt,ye,T]),yt=k.useCallback(()=>{if(!Ce||!Te||R)return;let Fe=Ce.items.findIndex(ut=>Ce.item&&ye(ut,Ce.item))+1;Fe>=Ce.items.length||(Te({...Ce,item:Ce.items[Fe]}),Ne(Ce.items[Fe]),T||tt(Ce.items[Fe]))},[Ce,Ne,R,Te,tt,ye,T]),_t=k.useCallback(()=>{if(!Ce||!Te||R)return;let Fe=Ce.items.findIndex(nt=>Ce.item&&ye(nt,Ce.item));if(!T||n!=null&&n(Ce.items[Fe])){yt();return}if(Se.some(nt=>Ce.item&&ye(nt,Ce.item))){let nt=Fe+1;const $t=Ce.items[nt];if(nt>=Ce.items.length)return;Te({...Ce,item:$t}),tt($t)}else tt(Ce.items[Fe])},[Ce,Te,R,Se,T,yt,ye,tt,n]),[bt,At]=k.useState(!1),qe=k.useCallback(()=>At(!0),[]),Qe=k.useCallback(()=>At(!1),[]),St=k.useMemo(()=>n?sl.map(oe,Fe=>Fe).filter(Fe=>!n(Fe)):t?sl.map(oe,Fe=>Fe).filter(Fe=>!t(Fe)):sl.map(oe,Fe=>Fe),[n,t,oe]),Dt=k.useMemo(()=>!d||!v?!1:Se.length>0&&St.length>Se.length,[d,v,Se,St]),Et=k.useMemo(()=>!d||!v?!1:Se.length>0&&St.length===Se.length,[d,v,Se,St]),Ze=k.useCallback(()=>{if(!_e||!v||R)return;const Fe=Se.filter(ut=>!(n!=null&&n(ut))&&!(t!=null&&t(ut))&&St.some(nt=>ye(nt,ut)));if(Fe.length>0)_e(Se.filter(ut=>!Fe.some(nt=>ye(ut,nt))));else{const ut=St.filter(nt=>!(n!=null&&n(nt))&&!(t!=null&&t(nt))&&!Se.some($t=>ye($t,nt)));ut.length>0&&_e([...Se,...ut])}},[v,R,n,t,_e,Se,St,ye]),It=k.useMemo(()=>{if(!d||!v||R)return"";const Fe=Se.filter(ut=>!(n!=null&&n(ut))&&!(t!=null&&t(ut))&&St.some(nt=>ye(nt,ut)));if(Fe.length>0)return pe["deselect n"](Fe.length);{const ut=St.filter(nt=>!(n!=null&&n(nt))&&!(t!=null&&t(nt))&&!Se.some($t=>ye($t,nt)));return pe["select n"](ut.length)}},[n,t,R,pe,d,v,St,Se,ye]),[Ot,pr]=k.useState(null),[br,Or]=k.useState(null),Ee=k.useCallback(Fe=>{!b||R||pr(Fe)},[R,b]),ae=k.useCallback((Fe,ut)=>{if(!b||R||!Ot||(Fe.preventDefault(),Fe.stopPropagation(),Or(ut),!we))return;const nt=sl.replace(oe,Ot,ut,ye);nt&&we(nt)},[b,oe,Ot,R,we,ye]),st=k.useCallback(()=>{if(!b||R||!Ot||!br||!we||ye(Ot,br))return;const Fe=sl.replace(oe,Ot,br,ye);Fe&&(we(Fe),pr(null))},[b,we,oe,Ot,br,ye,R]);k.useEffect(()=>{var Fe;d||(Fe=Ie.current)==null||Fe.scrollTo(0,0)},[d,Ie]),k.useEffect(()=>{!v&&Se.length>1&&(_e==null||_e([Se[Se.length-1]]))},[v,_e,Se]),k.useEffect(()=>{w&&(w.current={expandAll:ot,collapseAll:$e})},[w,ot,$e]),k.useEffect(()=>{if(!t||!_e)return;const Fe=Se.filter(ut=>!t(ut));Se.length!==Fe.length&&_e(Fe)},[t,Se,_e]),k.useEffect(()=>{if(!n||!_e)return;const Fe=Se.filter(ut=>!n(ut));Se.length!==Fe.length&&_e(Fe)},[n,Se,_e]),k.useEffect(()=>{Te&&Te(void 0)},[Te]);const[mt,Ft]=k.useState(!1);k.useEffect(()=>{Ft(Fe=>!Fe)},[oe]);const[Rt,Mt]=k.useState(null),Qt=k.useCallback((Fe,ut)=>{R||(Fe.stopPropagation(),Fe.preventDefault(),Mt(ut))},[R]),qt=k.useCallback((Fe,ut)=>{Rt===null||R||ye(ut,Rt)&&(Fe.stopPropagation(),Fe.preventDefault(),Mt(null))},[Rt,R,ye]),sr=k.useRef(null),[er,_r]=k.useState(!1),[fr,lt]=k.useState((it=sr.current)==null?void 0:it.scrollHeight);return k.useEffect(()=>{if(Ue.length<0)return;const Fe=Ie.current,ut=sr.current,nt=Fe.clientHeight<ut.clientHeight;lt(nt?ut.scrollHeight:Fe.clientHeight),_r(nt)},[Ue]),C.jsxs(Zr,{...ce,className:Be.clsx(ce.className,mn.AWrap),isDisabled:R,children:[(!y||$)&&C.jsxs(En,{className:mn.ATreeHeader,children:[!y&&C.jsx(wj,{autoFocus:W,initSearch:at,isDisabled:R,isEqual:ye,isLoading:I,maxLength:F,resources:pe,searchDown:yt,searchEnter:_t,searchResult:Ce,searchUp:Ke}),!y&&$&&C.jsx(Tn,{w:8}),$]}),(!y||$||d&&v||b)&&C.jsx(Am,{isLoading:I&&oe.length!==0}),(d&&v||b)&&C.jsxs("div",{className:Be.clsx(mn.ATreeBodyHeader,"NoSelect"),children:[d&&C.jsx(ef,{className:mn.CheckBox,isDisabled:R,isIndeterminate:Dt,tooltip:It,useCheck:[+Et,()=>Ze()],onMouseOut:Qe,onMouseOver:qe}),pe.Items,C.jsx(ou,{}),C.jsxs("div",{className:Be.clsx(mn.ATreeBodyHeaderResources,"NoSelect"),style:{marginRight:er?8:0},children:[C.jsx("span",{children:d&&pe["*Click row for single select"]}),C.jsx("span",{children:b&&pe["*Change order to row drag"]})]})]}),C.jsx("div",{ref:Ie,className:Be.clsx(ce.className,mn.AContainer),children:C.jsxs("div",{className:mn.ATree,style:{minWidth:de||"fit-content",marginRight:ue&&er?8:0},children:[C.jsxs("div",{ref:sr,className:mn.ATreeBody,children:[oe.length===0?I?C.jsx(Rj,{text:pe["Loading Contents..."]}):S:G,oe.map((Fe,ut)=>C.jsx(j,{containerRef:Ie,ContentRenderer:P,extIndents:_,height:te,hoverdItem:Rt,icons:x,iconWidth:h,indents:[],isDraggable:b,isEqual:ye,isParentCheckHovered:v&&bt,isParentDisabled:R,isSelectMulti:v,item:Fe,resources:pe,RightStickyAddon:q,searchItemClassName:fe,searchItemStyle:ve,selectDisabled:t,selectUnused:n,showCheckbox:d,TreeItemClassName:ee,TreeItemRenderer:j,TreeItemStyle:V,useExpand:[Ue,We],useSearch:[Ce,Te],useSelect:[Se,_e],onDragEnd:st,onDragOver:ae,onDragStart:Ee,onMouseLeave:qt,onMouseOver:Qt},`${ut}${mt}`))]}),le&&C.jsxs(C.Fragment,{children:[C.jsx("div",{className:mn.CoverBorder}),C.jsx("div",{className:mn.InsertBorder,style:{"--InsertBorder_height":`${te}px`,height:er?fr:"100%"}})]})]})})]})},Tj=r=>{const{item:e}=r,t={};return tr.keys(e).forEach(n=>{n!=="children"&&(t[n]=e[n])}),JSON.stringify(t)};function kj(r,e){return tr.some(e,(t,n)=>{var o;return(o=tr.stringify(n))==null?void 0:o.toLowerCase().includes(r.toLowerCase())})}const Rj=r=>{const{text:e}=r;return C.jsxs(En,{className:Be.clsx(mn.Loader,"NoSelect"),children:[C.jsx(Nr,{height:40,icon:"Spinner",style:{height:40},width:40}),C.jsx(ax,{text:e})]})};var e1,a_;function uf(){return a_||(a_=1,e1=TypeError),e1}const Ij={},Lj=Object.freeze(Object.defineProperty({__proto__:null,default:Ij},Symbol.toStringTag,{value:"Module"})),Oj=y4(Lj);var t1,l_;function Rh(){if(l_)return t1;l_=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,o=typeof Set=="function"&&Set.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=o&&a&&typeof a.get=="function"?a.get:null,f=o&&Set.prototype.forEach,d=typeof WeakMap=="function"&&WeakMap.prototype,h=d?WeakMap.prototype.has:null,x=typeof WeakSet=="function"&&WeakSet.prototype,_=x?WeakSet.prototype.has:null,v=typeof WeakRef=="function"&&WeakRef.prototype,y=v?WeakRef.prototype.deref:null,b=Boolean.prototype.valueOf,T=Object.prototype.toString,w=Function.prototype.toString,S=String.prototype.match,E=String.prototype.slice,R=String.prototype.replace,I=String.prototype.toUpperCase,P=String.prototype.toLowerCase,j=RegExp.prototype.test,q=Array.prototype.concat,$=Array.prototype.join,G=Array.prototype.slice,re=Math.floor,F=typeof BigInt=="function"?BigInt.prototype.valueOf:null,W=Object.getOwnPropertySymbols,V=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ee=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ue=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ee||!0)?Symbol.toStringTag:null,le=Object.prototype.propertyIsEnumerable,de=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Ee){return Ee.__proto__}:null);function fe(Ee,ae){if(Ee===1/0||Ee===-1/0||Ee!==Ee||Ee&&Ee>-1e3&&Ee<1e3||j.call(/e/,ae))return ae;var st=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof Ee=="number"){var mt=Ee<0?-re(-Ee):re(Ee);if(mt!==Ee){var Ft=String(mt),Rt=E.call(ae,Ft.length+1);return R.call(Ft,st,"$&_")+"."+R.call(R.call(Rt,/([0-9]{3})/g,"$&_"),/_$/,"")}}return R.call(ae,st,"$&_")}var ve=Oj,te=ve.custom,ce=Ne(te)?te:null,pe={__proto__:null,double:'"',single:"'"},ye={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};t1=function Ee(ae,st,mt,Ft){var Rt=st||{};if(tt(Rt,"quoteStyle")&&!tt(pe,Rt.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(tt(Rt,"maxStringLength")&&(typeof Rt.maxStringLength=="number"?Rt.maxStringLength<0&&Rt.maxStringLength!==1/0:Rt.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Mt=tt(Rt,"customInspect")?Rt.customInspect:!0;if(typeof Mt!="boolean"&&Mt!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(tt(Rt,"indent")&&Rt.indent!==null&&Rt.indent!==" "&&!(parseInt(Rt.indent,10)===Rt.indent&&Rt.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(tt(Rt,"numericSeparator")&&typeof Rt.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Qt=Rt.numericSeparator;if(typeof ae>"u")return"undefined";if(ae===null)return"null";if(typeof ae=="boolean")return ae?"true":"false";if(typeof ae=="string")return St(ae,Rt);if(typeof ae=="number"){if(ae===0)return 1/0/ae>0?"0":"-0";var qt=String(ae);return Qt?fe(ae,qt):qt}if(typeof ae=="bigint"){var sr=String(ae)+"n";return Qt?fe(ae,sr):sr}var er=typeof Rt.depth>"u"?5:Rt.depth;if(typeof mt>"u"&&(mt=0),mt>=er&&er>0&&typeof ae=="object")return Oe(ae)?"[Array]":"[Object]";var _r=pr(Rt,mt);if(typeof Ft>"u")Ft=[];else if(Ke(Ft,ae)>=0)return"[Circular]";function fr(Gt,rr,gr){if(rr&&(Ft=G.call(Ft),Ft.push(rr)),gr){var Kt={depth:Rt.depth};return tt(Rt,"quoteStyle")&&(Kt.quoteStyle=Rt.quoteStyle),Ee(Gt,Kt,mt+1,Ft)}return Ee(Gt,Rt,mt+1,Ft)}if(typeof ae=="function"&&!We(ae)){var lt=De(ae),it=Or(ae,fr);return"[Function"+(lt?": "+lt:" (anonymous)")+"]"+(it.length>0?" { "+$.call(it,", ")+" }":"")}if(Ne(ae)){var Fe=ee?R.call(String(ae),/^(Symbol\(.*\))_[^)]*$/,"$1"):V.call(ae);return typeof ae=="object"&&!ee?Et(Fe):Fe}if(Qe(ae)){for(var ut="<"+P.call(String(ae.nodeName)),nt=ae.attributes||[],$t=0;$t<nt.length;$t++)ut+=" "+nt[$t].name+"="+Ie(oe(nt[$t].value),"double",Rt);return ut+=">",ae.childNodes&&ae.childNodes.length&&(ut+="..."),ut+="</"+P.call(String(ae.nodeName))+">",ut}if(Oe(ae)){if(ae.length===0)return"[]";var wr=Or(ae,fr);return _r&&!Ot(wr)?"["+br(wr,_r)+"]":"[ "+$.call(wr,", ")+" ]"}if(Se(ae)){var ne=Or(ae,fr);return!("cause"in Error.prototype)&&"cause"in ae&&!le.call(ae,"cause")?"{ ["+String(ae)+"] "+$.call(q.call("[cause]: "+fr(ae.cause),ne),", ")+" }":ne.length===0?"["+String(ae)+"]":"{ ["+String(ae)+"] "+$.call(ne,", ")+" }"}if(typeof ae=="object"&&Mt){if(ce&&typeof ae[ce]=="function"&&ve)return ve(ae,{depth:er-mt});if(Mt!=="symbol"&&typeof ae.inspect=="function")return ae.inspect()}if(yt(ae)){var He=[];return n&&n.call(ae,function(Gt,rr){He.push(fr(rr,ae,!0)+" => "+fr(Gt,ae))}),It("Map",t.call(ae),He,_r)}if(At(ae)){var xe=[];return f&&f.call(ae,function(Gt){xe.push(fr(Gt,ae))}),It("Set",u.call(ae),xe,_r)}if(_t(ae))return Ze("WeakMap");if(qe(ae))return Ze("WeakSet");if(bt(ae))return Ze("WeakRef");if(Ce(ae))return Et(fr(Number(ae)));if(ot(ae))return Et(fr(F.call(ae)));if(Te(ae))return Et(b.call(ae));if(_e(ae))return Et(fr(String(ae)));if(typeof window<"u"&&ae===window)return"{ [object Window] }";if(typeof globalThis<"u"&&ae===globalThis||typeof Co<"u"&&ae===Co)return"{ [object globalThis] }";if(!Ue(ae)&&!We(ae)){var Ye=Or(ae,fr),xt=de?de(ae)===Object.prototype:ae instanceof Object||ae.constructor===Object,Tt=ae instanceof Object?"":"null prototype",kt=!xt&&ue&&Object(ae)===ae&&ue in ae?E.call(at(ae),8,-1):Tt?"Object":"",wt=xt||typeof ae.constructor!="function"?"":ae.constructor.name?ae.constructor.name+" ":"",or=wt+(kt||Tt?"["+$.call(q.call([],kt||[],Tt||[]),": ")+"] ":"");return Ye.length===0?or+"{}":_r?or+"{"+br(Ye,_r)+"}":or+"{ "+$.call(Ye,", ")+" }"}return String(ae)};function Ie(Ee,ae,st){var mt=st.quoteStyle||ae,Ft=pe[mt];return Ft+Ee+Ft}function oe(Ee){return R.call(String(Ee),/"/g,""")}function we(Ee){return!ue||!(typeof Ee=="object"&&(ue in Ee||typeof Ee[ue]<"u"))}function Oe(Ee){return at(Ee)==="[object Array]"&&we(Ee)}function Ue(Ee){return at(Ee)==="[object Date]"&&we(Ee)}function We(Ee){return at(Ee)==="[object RegExp]"&&we(Ee)}function Se(Ee){return at(Ee)==="[object Error]"&&we(Ee)}function _e(Ee){return at(Ee)==="[object String]"&&we(Ee)}function Ce(Ee){return at(Ee)==="[object Number]"&&we(Ee)}function Te(Ee){return at(Ee)==="[object Boolean]"&&we(Ee)}function Ne(Ee){if(ee)return Ee&&typeof Ee=="object"&&Ee instanceof Symbol;if(typeof Ee=="symbol")return!0;if(!Ee||typeof Ee!="object"||!V)return!1;try{return V.call(Ee),!0}catch{}return!1}function ot(Ee){if(!Ee||typeof Ee!="object"||!F)return!1;try{return F.call(Ee),!0}catch{}return!1}var $e=Object.prototype.hasOwnProperty||function(Ee){return Ee in this};function tt(Ee,ae){return $e.call(Ee,ae)}function at(Ee){return T.call(Ee)}function De(Ee){if(Ee.name)return Ee.name;var ae=S.call(w.call(Ee),/^function\s*([\w$]+)/);return ae?ae[1]:null}function Ke(Ee,ae){if(Ee.indexOf)return Ee.indexOf(ae);for(var st=0,mt=Ee.length;st<mt;st++)if(Ee[st]===ae)return st;return-1}function yt(Ee){if(!t||!Ee||typeof Ee!="object")return!1;try{t.call(Ee);try{u.call(Ee)}catch{return!0}return Ee instanceof Map}catch{}return!1}function _t(Ee){if(!h||!Ee||typeof Ee!="object")return!1;try{h.call(Ee,h);try{_.call(Ee,_)}catch{return!0}return Ee instanceof WeakMap}catch{}return!1}function bt(Ee){if(!y||!Ee||typeof Ee!="object")return!1;try{return y.call(Ee),!0}catch{}return!1}function At(Ee){if(!u||!Ee||typeof Ee!="object")return!1;try{u.call(Ee);try{t.call(Ee)}catch{return!0}return Ee instanceof Set}catch{}return!1}function qe(Ee){if(!_||!Ee||typeof Ee!="object")return!1;try{_.call(Ee,_);try{h.call(Ee,h)}catch{return!0}return Ee instanceof WeakSet}catch{}return!1}function Qe(Ee){return!Ee||typeof Ee!="object"?!1:typeof HTMLElement<"u"&&Ee instanceof HTMLElement?!0:typeof Ee.nodeName=="string"&&typeof Ee.getAttribute=="function"}function St(Ee,ae){if(Ee.length>ae.maxStringLength){var st=Ee.length-ae.maxStringLength,mt="... "+st+" more character"+(st>1?"s":"");return St(E.call(Ee,0,ae.maxStringLength),ae)+mt}var Ft=ye[ae.quoteStyle||"single"];Ft.lastIndex=0;var Rt=R.call(R.call(Ee,Ft,"\\$1"),/[\x00-\x1f]/g,Dt);return Ie(Rt,"single",ae)}function Dt(Ee){var ae=Ee.charCodeAt(0),st={8:"b",9:"t",10:"n",12:"f",13:"r"}[ae];return st?"\\"+st:"\\x"+(ae<16?"0":"")+I.call(ae.toString(16))}function Et(Ee){return"Object("+Ee+")"}function Ze(Ee){return Ee+" { ? }"}function It(Ee,ae,st,mt){var Ft=mt?br(st,mt):$.call(st,", ");return Ee+" ("+ae+") {"+Ft+"}"}function Ot(Ee){for(var ae=0;ae<Ee.length;ae++)if(Ke(Ee[ae],`
|
354
|
+
`,"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 Hu={},i_;function NN(){if(i_)return Hu;i_=1;var r=$s;if(process.env.NODE_ENV==="production")Hu.createRoot=r.createRoot,Hu.hydrateRoot=r.hydrateRoot;else{var e=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Hu.createRoot=function(t,n){e.usingClientEntryPoint=!0;try{return r.createRoot(t,n)}finally{e.usingClientEntryPoint=!1}},Hu.hydrateRoot=function(t,n,o){e.usingClientEntryPoint=!0;try{return r.hydrateRoot(t,n,o)}finally{e.usingClientEntryPoint=!1}}}return Hu}var jN=NN();const s_=ka(jN);class FN{constructor(e,t){dt(this,"DEFAULTS",{maxRowCount:-1});dt(this,"quill");dt(this,"options");dt(this,"position",null);dt(this,"table");dt(this,"selectedCell",null);dt(this,"menuRoot",null);dt(this,"helperTextElement",null);dt(this,"scrollTimeout",null);dt(this,"SCROLL_DEBOUNCE_TIME",80);dt(this,"lastSelectedCellRef",null);dt(this,"boundDocClickHandler",this.hideMenu.bind(this));dt(this,"boundEditorChangeHandler",this.editorChangeHandler.bind(this));dt(this,"boundContextMenuHandler",this.contextMenuHandler.bind(this));dt(this,"boundCopyHandler",this.copyHandler.bind(this));dt(this,"boundScrollHandler",this.handleScroll.bind(this));dt(this,"boundPasteHandler",this.pasteHandler.bind(this));dt(this,"menuItems",[]);dt(this,"positionCache",new Map);dt(this,"POSITION_CACHE_LIFETIME",1e3);dt(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:fs.renderToString(C.jsx(Nr,{icon:"AddColRight"})),title:Ur.AEditor["Insert Column Right"]},{handler:()=>{(!(this.options.maxRowCount!==void 0&&this.options.maxRowCount>0)||this.getColCount()<(this.options.maxRowCount||0))&&this.table.insertColumnLeft()},icon:fs.renderToString(C.jsx(Nr,{icon:"AddColLeft"})),title:Ur.AEditor["Insert Column Left"]},{handler:()=>{this.table.insertRowAbove()},icon:fs.renderToString(C.jsx(Nr,{icon:"AddRowAbove"})),title:Ur.AEditor["Insert Row Top"]},{handler:()=>{this.table.insertRowBelow()},icon:fs.renderToString(C.jsx(Nr,{icon:"AddRowBelow"})),title:Ur.AEditor["Insert Row Bottom"]},{handler:()=>{this.table.deleteColumn()},icon:fs.renderToString(C.jsx(Nr,{icon:"RemoveCol"})),title:Ur.AEditor["Delete Column"]},{handler:()=>{this.table.deleteRow()},icon:fs.renderToString(C.jsx(Nr,{icon:"RemoveRow"})),title:Ur.AEditor["Delete Row"]},{handler:()=>{this.table.deleteTable()},icon:fs.renderToString(C.jsx(Nr,{icon:"Trash"})),title:Ur.AEditor["Delete Table"]}]}overrideTableMethods(){const e=this.table.insertTable;this.table.insertTable=(...n)=>{const o=e.apply(this.table,n),a=this.quill.getSelection();return a&&(this.quill.focus(),setTimeout(()=>this.detectButton(a),0)),o};const t=this.table.deleteTable;this.table.deleteTable=(...n)=>{const o=t.apply(this.table,n);return this.cleanupTableUI(),o}}initializeHelperText(){this.helperTextElement=document.createElement("div"),this.helperTextElement.className=zn["ql-tableui-helper"];const e=document.createElement("span");e.className=Be.clsx("Caption1",zn["ql-tableui-helper__text"],"NoSelect"),e.textContent=Ur.AEditor["Right click to open properties"];const t=document.createElement("span");t.className=zn["ql-tableui-helper__icon"],t.innerHTML=fs.renderToString(C.jsx(Nr,{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,o){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,o)=>Math.max(o.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,o=k.memo(({item:u,index:f})=>C.jsxs("div",{className:zn["ql-tableui-options__item"],onClick:this.createItemClickHandler(u),children:[C.jsx("span",{className:zn["ql-tableui-options__item-icon"],dangerouslySetInnerHTML:{__html:u.icon}}),C.jsx("span",{className:zn["ql-tableui-options__item-text"],children:u.title})]},f)),a=()=>C.jsx("div",{className:zn["ql-tableui-options"],style:{position:"fixed",visibility:"hidden",zIndex:1e4},children:this.menuItems.map((u,f)=>C.jsx(o,{index:f,item:u},f))});try{s_.createRoot?(this.reactRoot=s_.createRoot(this.menuRoot),this.reactRoot.render(C.jsx(a,{}))):$s.render(C.jsx(a,{}),this.menuRoot)}catch{$s.render(C.jsx(a,{}),this.menuRoot)}document.addEventListener("click",this.boundDocClickHandler),requestAnimationFrame(()=>{if(!this.menuRoot)return;const u=this.menuRoot.firstElementChild;if(u){const f=u.getBoundingClientRect();let d=e.bottom+window.scrollY,h=e.left+window.scrollX;h+f.width>t&&(h=e.right-f.width+window.scrollX),d+f.height>n+window.scrollY&&(d=e.top-f.height+window.scrollY),u.style.top=`${d}px`,u.style.left=`${h}px`,u.style.visibility="visible"}})}hideMenu(){this.menuRoot&&(document.removeEventListener("click",this.boundDocClickHandler),this.reactRoot?(this.reactRoot.unmount(),this.reactRoot=null):$s.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 o=t.domNode,a=`${o.tagName}-${o.offsetLeft}-${o.offsetTop}`;this.selectedCell===o||this.lastSelectedCellRef===a||(this.clearAllTableCellOutlines(),o.style.outline="2px solid var(--acent-brand)",o.style.outlineOffset="-1px",this.selectedCell=o,this.lastSelectedCellRef=a),this.showHelperText();const f=this.quill.container.getBoundingClientRect(),d=o.getBoundingClientRect(),h={bottom:d.bottom-f.top,height:d.height,left:d.left-f.left,right:d.right-f.left,top:d.top-f.top,width:d.width,x:d.x,y:d.y,toJSON:()=>JSON.stringify(h)};this.position&&(this.position.top!==h.top||this.position.left!==h.left)&&this.hideMenu(),this.position=h}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 o=t.domNode.getBoundingClientRect(),a=this.quill.container.getBoundingClientRect();if(!(o.bottom<a.top+5||o.top>a.bottom-5)){let f=o.top-a.top-20;o.top<a.top&&(f=5),this.helperTextElement.style.display="block",this.helperTextElement.style.left=`${o.left-a.left}px`,this.helperTextElement.style.top=`${f}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 o=e.getBoundingClientRect();return this.positionCache.set(e,{rect:o,timestamp:t}),o}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 BN=()=>{const r=[1,2,3,!1,4],e=Je.import("ui/icons");e.table=fs.renderToString(C.jsx(Nr,{icon:"Table",strokeWidth:2.5})),e.divider=fs.renderToString(C.jsx(Nr,{icon:"Minus",strokeWidth:2.5}));const t=Je.import("blots/block/embed");class n extends t{static create(a){const u=super.create(a);return u.style.border="var(--AEditor_Addon_Primary_border)",u.style.borderBottom="none",u.style.transition="border var(--Transition)",u}}return dt(n,"blotName","divider"),dt(n,"tagName","hr"),Je.register({"modules/imageCompress":rP,"modules/resize":sP,"modules/tablePicker":PN,"modules/tableUI":FN,"modules/magicUrl":wN,"formats/header":zN(r),"formats/divider":n},!0),{header:r,FORMAT_DEFAULT:["bold","italic","underline","strike","blockquote","table","size","header","color","background","indent","list","align","image","link","video","divider"],FORMAT_TITLE:["bold","italic","underline","strike","color","background"],TOOLBAR_DEFAULT:[[{header:r}],["bold","italic","underline","strike","blockquote","divider","table",{color:[]},{background:[]}],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"},{align:[]}],["link","image","video"],["clean"]],TOOLBAR_TITLE:[["bold","italic","underline","strike",{color:[]},{background:[]},"clean"]]}};let Qg=null;const HN=()=>(Qg||(Qg=BN()),Qg),Yf={LINE_BREAK:/[\r\n\u2028\u2029]/,LINE_BREAKS:/[\r\n\u2028\u2029]+/g,WHITESPACES:/\s+/g,ASCII:/[^\x20-\x7F]/},bn={KB:1024,QUALITY:.7,DELTA_HASH:"",TEXT_CACHE:new Map,IMAGE_CACHE:new Map,MAX_CACHE:1e3,CACHE:100,LAST_CACHE:0},$i={getCharLength:r=>!r||r.length===0?0:Yf.ASCII.test(r)?Array.from(r).length:r.length,hashDelta:r=>{const e=r.ops.length;if(!r.ops||e===0)return"";const t=n=>n.reduce((o,a)=>typeof a.insert=="string"?o+a.insert.length:o+1,0);if(e<=bn.CACHE)return`${t(r.ops)}_${e}`;{const n=r.ops.slice(0,bn.CACHE),o=Math.max(0,Math.floor(e/2)-Math.floor(bn.CACHE/2)),a=r.ops.slice(o,o+bn.CACHE),u=r.ops.slice(Math.max(0,e-bn.CACHE)),f=t(n),d=t(a),h=t(u);return`${f}_${d}_${h}_${e}`}},updateTextCache:(r,e)=>{if(bn.TEXT_CACHE.size>bn.MAX_CACHE){const t=bn.TEXT_CACHE.keys().next().value;t!==void 0&&bn.TEXT_CACHE.delete(t)}return bn.TEXT_CACHE.set(r,e),bn.DELTA_HASH=r,bn.LAST_CACHE=e,e},estimateImageSize:r=>{try{if(r.startsWith("data:image/")){const e=r.split(",")[1];return e?Math.ceil(e.length*3/4):0}return 20*1024}catch{return 10*1024}},calculateOpSize:(r,e=!0)=>{let t=0;const n=new TextEncoder;for(const o of r)if(typeof o.insert=="string"){const a=o.insert||"",u=e?a.replace(/\n/g,""):a;t+=n.encode(u).length}else if(typeof o.insert=="object"&&o.insert.image){const a=o.insert.image;if(!a)continue;const u=bn.IMAGE_CACHE.get(a);if(u)t+=u.compressedSize;else try{const f=$i.estimateImageSize(a);bn.IMAGE_CACHE.set(a,{compressedSize:f,compressionQuality:bn.QUALITY}),t+=f}catch(f){console.warn("Invalid image data:",a.substring(0,30)+"...",f),t+=5*1024}}return t},calculateTextSize:r=>{const e=r.ops.length;if(!r.ops||e===0)return 0;const t=$i.hashDelta(r);if(t===bn.DELTA_HASH)return bn.LAST_CACHE;if(bn.TEXT_CACHE.has(t))return $i.updateTextCache(t,bn.TEXT_CACHE.get(t));const n=$i.calculateOpSize(r.ops,!0);return $i.updateTextCache(t,n)},cleanTextContent:r=>r.replace(Yf.LINE_BREAKS," ").replace(Yf.WHITESPACES," ")};function qN(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}function zN(r){const e=Je.import("formats/header");return e.whitelist=r,e}const $N=k.memo(r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",editorRef:o,useValue:a,useError:u,placeholder:f,tabIndex:d,autoFocus:h,editorProps:x,wrapProps:_,helperText:v,label:y,labelProps:b,wrapType:T,style:w,minHeight:S,maxHeight:E,contentHeight:R,contentMaxHeight:I=1e3,toolbarSize:P="Med",toolbarType:j="Default",readOnly:q,limitPosition:$="Bottom",maxLength:G=1e6,size:re=100,editorClassName:F,editorStyle:W,noImageResize:V,...ee}=r,ue=k.useMemo(()=>HN(),[]),le=k.useMemo(()=>n==="ReadOnly"||q,[n,q]),de=k.useMemo(()=>R?20:0,[R]),[fe,ve]=k.useState(P==="Med"?40:50),te=k.useMemo(()=>le?0:fe,[le,fe]),[ce,pe]=k.useMemo(()=>!u||le||$==="Top"?[0,0]:[20,6],[u,le,$]),ye=k.useMemo(()=>ce+pe,[ce,pe]),[Ie,oe]=k.useState(R),[we,Oe]=k.useState(!1),[Ue,We]=k.useState(!1),Se=k.useRef(null),_e=k.useRef(0),Ce=k.useRef(0),Te=k.useMemo(()=>y?24:0,[y]),Ne=k.useMemo(()=>j==="Title"?!0:void 0,[j]),ot=k.useMemo(()=>R||S||Ne,[R,S,Ne]),$e=k.useMemo(()=>ot?"fit-content":E?E+Te:`calc(100% - ${Te}px)`,[ot,E,Te]),tt=k.useMemo(()=>{if(R){if(Ie)switch(n){case"ReadOnly":return Ie;case"Raw":return Ie+ye;default:return Ie+te+ye}}else return},[R,Ie,n,te,ye]),at=k.useMemo(()=>{if(!(!E||E<=te+ye))switch(n){case"ReadOnly":return E;case"Raw":return E-ye;default:return E-te-ye}},[n,te,ye,E]),De=k.useMemo(()=>{if(S&&R){const lt=Math.min(S-te-ye,R);return le?lt:lt+te+ye}else return S||(R?void 0:`calc(100% - ${Te}px)`)},[S,R,Te,te,ye,le]),Ke=k.useMemo(()=>qN(t)?"Error":n,[t,n]),[yt,bt]=dn(a,""),[_t,At]=dn(u,!1),qe=k.useCallback(lt=>{if(!lt)return new Wt;const it=document.createElement("div");return it.innerHTML=lt,new Je(it,{readOnly:!0}).getContents()},[]),Qe=k.useMemo(()=>qe(yt),[yt,qe]),St=k.useCallback(lt=>$i.calculateTextSize(lt),[]),Dt=k.useMemo(()=>re*bn.KB,[re]),Et=k.useMemo(()=>C.jsx(UN,{calculateSize:St,error:_t,htmlDelta:Qe,isReadonly:le,limit:Dt,useError:u}),[St,_t,Qe,le,Dt,u]),Ze=k.useMemo(()=>({clipboard:{matchVisual:!1,...Ne&&{matchers:[["img",()=>!1],["table",()=>!1],["iframe",()=>!1],["video",()=>!1],["h1, h2, h3, h4, h5, h6",()=>!1],["blockquote",()=>!1],["a",lt=>{const it=lt.textContent||"";return new Wt().insert(it)}],["*",(lt,it)=>{if(!it||!it.ops||!Array.isArray(it.ops)){const Fe=lt.textContent||"";return new Wt().insert(Fe)}return it}]]}},keyboard:Ne?{bindings:{Enter:{key:"Enter",handler:lt=>{if(e&&bt){const it=lt.root.innerHTML;e(it)}return!1}}}}:{bindings:{}},magicUrl:!0,imageCompress:{quality:bn.QUALITY,debug:!1,insertIntoEditor:(lt,it,Fe)=>{try{if(Ne){console.warn("title mode cannot insert image");return}if(bn.IMAGE_CACHE.size>=bn.MAX_CACHE){const nt=bn.IMAGE_CACHE.keys().next().value;nt&&bn.IMAGE_CACHE.delete(nt)}bn.IMAGE_CACHE.set(lt,{compressedSize:it.size,compressionQuality:bn.QUALITY});const ut=Fe.getSelection();ut&&Fe.insertEmbed(ut.index,"image",lt,Je.sources.USER)}catch(ut){console.warn("image insert error:",ut)}}},...!le&&{...!V&&{resize:{locale:{altTip:Ur.AEditor["Image size adjust"],center:Ur.AEditor.Center,floatLeft:Ur.AEditor.floatLeft,floatRight:Ur.AEditor.floatRight,inputTip:Ur.AEditor["Input on mouse down"],restore:Ur.AEditor.Restore}}},...!Ne&&{table:!0,tablePicker:!0,tableUI:!0},toolbar:{container:Ne?ue.TOOLBAR_TITLE:ue.TOOLBAR_DEFAULT,handlers:{divider:function(){const lt=this.quill,it=lt.getSelection(!0);if(!it||Ne)return;const Fe=lt.getModule("table"),ut=Fe&&!!Fe.getTable(it)[0];ut||lt.insertText(it.index,`
|
355
|
+
`,Je.sources.USER);const nt=ut?0:1,$t=Math.min(it.index+nt,lt.getLength()-1);lt.insertEmbed($t,"divider",!0,Je.sources.USER),setTimeout(()=>lt.setSelection(Math.min($t+1,lt.getLength()-1),0,Je.sources.SILENT),0)}}}}}),[le,Ne,e,bt,ue,V]),It=k.useRef([]),[Ot,pr]=k.useState(!0);k.useEffect(()=>{const lt=setTimeout(()=>pr(!1),0);return()=>{clearTimeout(lt),It.current.forEach(it=>it()),It.current=[]}},[]);const br=k.useCallback((lt,it)=>{if(!R)return it;const Fe=S?S-te-ye:R,ut=Math.max(Fe,0),nt=E?E-te-ye:I;return Math.min(nt,Math.max(ut,it+lt))},[R,S,E,te,ye,I]),Or=k.useCallback(lt=>{if(!we||!R)return;const it=lt.clientY-Ce.current,Fe=br(it,_e.current);Ie!==Fe&&oe(Fe),lt.preventDefault(),lt.stopPropagation()},[we,R,br,Ie]),Ee=k.useCallback(lt=>{Oe(!1),We(!1),document.removeEventListener("mousemove",Or),document.removeEventListener("mouseup",Ee),lt.preventDefault(),lt.stopPropagation()},[Or]),ae=k.useCallback(lt=>{if(!R)return;if(lt.detail===2){oe(R);return}Ie===void 0?(oe(R),_e.current=R):_e.current=Ie,Oe(!0),We(!0),Ce.current=lt.clientY;const it=ut=>{if(!R)return;const nt=ut.clientY-Ce.current,$t=br(nt,_e.current);oe($t),ut.preventDefault(),ut.stopPropagation()},Fe=ut=>{Oe(!1),We(!1),document.removeEventListener("mousemove",it),document.removeEventListener("mouseup",Fe),ut.preventDefault(),ut.stopPropagation()};document.addEventListener("mousemove",it),document.addEventListener("mouseup",Fe),lt.preventDefault(),lt.stopPropagation()},[R,Ie,br]),st=k.useCallback((lt,it,Fe,ut)=>{var ne;const nt=ut.getContents(),$t=ut.getHTML(),wr=((ne=nt.ops)==null?void 0:ne.length)===1&&nt.ops[0].insert===`
|
356
|
+
`;if(At){const He=St(nt);At(He>Dt)}bt==null||bt(wr?"":$t)},[St,Dt,At,bt]),mt=k.useMemo(()=>P==="Med"?7.5:12.5,[P]),Ft=k.useCallback(lt=>{var nt,$t;const it=lt.getEditor().container;if(!it)return null;const Fe=(nt=it.closest(".AEditorContainer"))==null?void 0:nt.querySelector(".ql-toolbar");return Fe||(($t=it.parentElement)==null?void 0:$t.querySelector(".ql-toolbar"))||null},[]),Rt=k.useCallback((lt,it,Fe,ut)=>{if(!lt)return;const nt=Fe;lt.addEventListener(it,nt,ut),It.current.push(()=>lt.removeEventListener(it,nt,ut))},[]),Mt=k.useCallback((lt,it)=>lt?(it.forEach(({type:Fe,handler:ut,options:nt})=>Rt(lt,Fe,ut,nt)),()=>{}):()=>{},[Rt]),Qt=k.useCallback(lt=>{if(!lt)return;const it=lt.getEditor();if(!it)return;const Fe=it.root;Fe&&F&&Fe.classList.add(...F.split(" ")),Fe&&W&&Object.entries(W).forEach(([ne,He])=>{const xe=ne.replace(/([A-Z])/g,Ye=>`-${Ye[0].toLowerCase()}`);Fe.style[xe]=He});const ut={input:ne=>{const He=ne.target;if(!He)return;const xe=parseInt(He.value,10);isNaN(xe)},formatExpand:ne=>{const He=it.getFormat(),xe=Ft(lt);xe&&ne.forEach(Ye=>{if(He[Ye]){const xt=He[Ye],Tt=`.ql-${Ye}`,kt=xe.querySelector(`${Tt} .ql-picker-label`),wt=xe.querySelectorAll(`${Tt} .ql-picker-item`),or=Array.from(wt).find(Gt=>Gt.getAttribute("data-value")===xt);or&&(or.classList.add("ql-selected"),kt==null||kt.classList.add("ql-active"))}})},resizeToolbar:ne=>{if(!ne.length)return;const Ye=ne[0].target.getBoundingClientRect(),xt=Math.ceil(Ye.height);ve(Tt=>Math.abs(Tt-xt)<.1?Tt:xt)},linkRemove:ne=>{if(ne.key!=="Backspace")return;const He=it.getSelection(!1);if(!He||He.length>0)return;const xe=He.index;if(xe<=0)return;const[Ye]=it.getLine(xe);if(Ye&&xe===it.getIndex(Ye)||it.getFormat(xe,1).link)return;const xt=it.getFormat(xe-1,1);if(xt.link){ne.preventDefault();let Tt=xe-1;for(;Tt>0&&it.getFormat(Tt-1,1).link===xt.link;)Tt--;const[kt]=it.scroll.descendant(wt=>{var or;return((or=wt==null?void 0:wt.statics)==null?void 0:or.blotName)==="link"},Tt);if(kt!=null&&kt.domNode){const wt=(kt.domNode.textContent||"").length;it.removeFormat(Tt,wt)}}},imageFocus:ne=>{const He=ne.target;if(He.tagName==="IMG"){const xe=Je.find(He);if(xe){const Ye=it.getIndex(xe);queueMicrotask(()=>it.setSelection(Ye,1,Je.sources.SILENT));const xt=document.querySelector("#editor-resizer");if(xt){const Tt=xt.querySelector(".toolbar"),kt=()=>{xt&&(xt.style.display="none")},wt=()=>{Tt&&(Tt.style.display="none")},or=(jr,zr)=>{if(Tt){Tt.style.top=`${zr}px`,Tt.style.left=`${jr}px`,Tt.style.display="block";const vn=Tt.querySelector(".helper");vn&&vn.remove();const Fr=document.createElement("div");Fr.className=Be.clsx("Caption1","helper","NoSelect");const kn=document.createElement("span");kn.className="helper-text",kn.textContent=Ur.AEditor["Right click to open properties"],Fr.appendChild(kn);const hn=document.createElement("span");hn.className="helper-icon",hn.innerHTML=fs.renderToString(C.jsx(Nr,{icon:"X",size:"sm",strokeWidth:2.5})),Fr.appendChild(hn),Rt(hn,"click",wt),Tt.appendChild(Fr)}};or(ne.clientX,ne.clientY);const Gt=jr=>{jr.preventDefault(),or(jr.clientX,jr.clientY)},rr=jr=>{jr.preventDefault(),jr.stopPropagation();const zr=it.root.closest(".ql-editor");zr&&zr.scrollBy({top:jr.deltaY,behavior:"smooth"})},gr=()=>{wt()},Kt=()=>{kt(),wt()};Rt(xt,"contextmenu",Gt),Rt(xt,"wheel",rr,{passive:!1}),Rt(window,"scroll",gr),Rt(Fe,"keydown",Kt)}}}}};Rt(Fe,"click",ut.imageFocus),Rt(Fe,"keydown",ut.linkRemove);const nt=Ft(lt),$t=new ResizeObserver(ut.resizeToolbar);nt&&($t.observe(nt),It.current.push(()=>$t.disconnect()));const wr=["header","color","background"];return wr.forEach(ne=>{const He=nt==null?void 0:nt.querySelector(`.ql-${ne} .ql-picker-label`);He&&Rt(He,"click",()=>ut.formatExpand(wr))}),()=>{}},[Ft,Rt,F,W]),qt=k.useCallback(lt=>{if(!lt)return;const it=lt.getEditor();if(!it)return;let Fe=!1,ut="",nt=null,$t=0;const ne=xe=>{Fe||(nt&&window.cancelAnimationFrame(nt),nt=window.requestAnimationFrame(()=>{Fe=!0;try{xe()}finally{Fe=!1,nt=null}}))},He=[];if(Ne){const xe=wt=>{if(wt.key==="Enter")return wt.preventDefault(),e&&e(it.root.innerHTML),!1},Ye=()=>{const wt=it.getText().slice(0,-1);if(wt===ut)return;const or=Yf.LINE_BREAK.test(wt),Gt=$i.getCharLength(wt)>G;if(or||Gt){const rr=it.getSelection(),gr=it.getFormat();$t=rr?rr.index:0;let Kt=wt;if(or&&(Kt=$i.cleanTextContent(Kt)),Gt&&(Kt=Array.from(Kt).slice(0,G).join("")),Kt!==wt){const jr=new Wt().insert(Kt+`
|
357
|
+
`);it.setContents(jr),Object.keys(gr).length>0&&it.formatText(0,Kt.length,gr);const zr=Math.min($t,Kt.length);it.setSelection(zr,0)}ut=Kt}else ut=wt},xt=wt=>{(wt.inputType==="insertLineBreak"||wt.inputType==="insertText"&&wt.data&&Yf.LINE_BREAK.test(wt.data))&&wt.preventDefault()},Tt=()=>ne(Ye),kt=Mt(it.root,[{type:"keydown",handler:xe},{type:"beforeinput",handler:xt}]);it.on("text-change",Tt),He.push(()=>{it.off("text-change",Tt),nt&&window.cancelAnimationFrame(nt),kt()}),ne(Ye)}else{const xe=()=>{const wt=it.getText();if($i.getCharLength(wt)-1<=G)return;const Gt=it.getSelection(),rr=it.getContents();$t=Gt?Gt.index:0;let gr=0,Kt=0;for(const zr of rr.ops||[])if(typeof zr.insert=="string"){const vn=Array.from(zr.insert);for(const Fr of vn){if(gr>=G)break;gr++,Kt+=Fr.length}if(gr>=G)break}else zr.insert&&(gr+=1);const jr=wt.substring(0,Kt);it.setText(jr),it.setSelection(Math.min($t,jr.length),0)},Ye=(wt,or)=>{const Gt=it.getSelection();if(!Gt)return!0;const rr=it.getText(),gr=$i.getCharLength(rr)-1,Kt=Gt.length>0?$i.getCharLength(rr.substring(Gt.index,Gt.index+Gt.length)):0,jr=G-(gr-Kt);return $i.getCharLength(or)<=jr?!0:(wt.preventDefault(),!1)},xt=()=>ne(xe),Tt=wt=>{wt.inputType.startsWith("insert")&&Ye(wt,wt.data||"")},kt=Mt(it.root,[{type:"beforeinput",handler:Tt,options:{capture:!0}}]);it.on("text-change",xt),He.push(()=>{it.off("text-change",xt),nt&&window.cancelAnimationFrame(nt),kt()})}return()=>He.forEach(xe=>xe())},[G,Ne,e,Mt]),sr=k.useRef(null),er=k.useCallback(async(lt,it,Fe)=>{var ne,He;const ut=async()=>{if(!navigator.clipboard||!it||!window.ClipboardItem||!window.isSecureContext)return!1;try{return await navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([it],{type:"text/html"}),"text/plain":new Blob([lt],{type:"text/plain"})})]),!0}catch{return!1}},nt=async()=>{if(!navigator.clipboard||!window.isSecureContext)return!1;try{return await navigator.clipboard.writeText(lt),!0}catch{return!1}},$t=()=>{if(it)try{const xe=document.createElement("div");xe.style.cssText="position:fixed;left:-9999px;top:-9999px;opacity:0;",xe.innerHTML=it,document.body.appendChild(xe);const Ye=document.createRange();Ye.selectNodeContents(xe);const xt=window.getSelection();if(xt){xt.removeAllRanges(),xt.addRange(Ye);const Tt=document.execCommand("copy");if(xt.removeAllRanges(),document.body.removeChild(xe),Tt)return!0}document.body.removeChild(xe)}catch(xe){console.error("Failed to copy to clipboard",xe)}try{const xe=document.createElement("textarea");xe.value=lt,xe.style.cssText="position:fixed;left:-9999px;top:-9999px;opacity:0;",document.body.appendChild(xe),xe.focus(),xe.select();const Ye=document.execCommand("copy");return document.body.removeChild(xe),Ye}catch(xe){return console.error("Failed to copy to clipboard",xe),!1}};let wr=!1;return await ut()||await nt()?wr=!0:wr=$t(),wr?(ne=Fe==null?void 0:Fe.onSuccess)==null||ne.call(Fe):(He=Fe==null?void 0:Fe.onError)==null||He.call(Fe),wr},[]),_r=k.useCallback(lt=>{if(!sr.current){yt&&er(yt,void 0,lt);return}const it=sr.current;if(it.getEditor){const Fe=it.getEditor(),ut=Fe.getText()||yt,nt=Fe.root.innerHTML;er(ut,nt,lt)}else yt&&er(yt,void 0,lt)},[yt,er]),fr=k.useCallback(lt=>{if(sr.current=lt,lt){const it=lt;it.copyContent=_r,typeof o=="function"?o(it):o&&(o.current=it),Qt(lt),qt(lt)}else typeof o=="function"?o(null):o&&(o.current=null)},[o,Qt,qt,_r]);return C.jsx(ic,{helperText:v,wrapType:T,labelProps:{...b,style:{minHeight:y?20:void 0,marginBottom:y?4:0,...b==null?void 0:b.style}},errorMessage:t,label:C.jsxs(En,{style:{gap:4},children:[y,$==="Top"&&Et]}),wrapProps:{..._,className:Be.clsx(_==null?void 0:_.className,!ot&&zn.AEditorWrapper),style:{..._==null?void 0:_.style,height:$e}},children:C.jsxs(Zr,{...ee,className:Be.clsx(ee.className,zn.AEditorContainer,Ot&&"NoTransition"),style:{...w,height:tt,minHeight:De},children:[C.jsx(kh,{...x,ref:fr,formats:Ne?ue.FORMAT_TITLE:ue.FORMAT_DEFAULT,modules:Ze,placeholder:f,readOnly:le,theme:"snow",value:Qe,className:Be.clsx(x==null?void 0:x.className,zn.AEditor,zn[Ke],Ne&&"Title",Ot&&"NoTransition"),style:{...x==null?void 0:x.style,maxHeight:at?at+te:void 0,"--icon-size":`${P==="Med"?18:24}px`,"--editor-padding":Ne?"8px 12px":"12px","--toolbar-padding":`${mt}px`,"--content-height":Ne?"fit-content":Ie?`${Ie}px`:"100%","--content-max-height":at?`${at}px`:"100%","--default-text":`'${Ur.AEditor.Default}'`,"--visit-url-text":`'${Ur.AEditor["Visit URL:"]}'`,"--enter-link-text":`'${Ur.AEditor["Enter link:"]}'`,"--enter-video-text":`'${Ur.AEditor["Enter video:"]}'`,"--save-text":`'${Ur.AEditor.Save}'`,"--remove-text":`'${Ur.AEditor.Remove}'`,"--arrow-background":`url("data:image/svg+xml,${encodeURIComponent(fs.renderToString(C.jsx(Nr,{icon:"EditorArrow"})))}`,"--title-color-picker-width":Ne?"780px":"142px"},onChange:st}),R&&C.jsxs(C.Fragment,{children:[C.jsx("div",{ref:Se,className:Be.clsx(zn.Resizer,Ot&&"NoTransition"),style:{height:de,bottom:u&&!le?ye:0},onMouseDown:ae}),Ue&&C.jsx("div",{className:Be.clsx(zn.Indicator,"NoSelect","Label1",Ot&&"NoTransition"),style:{height:de,bottom:u&&!le?ye:0},children:`${Math.round(Ie)}px`})]}),C.jsx("div",{className:Be.clsx(zn.LimitContainer,"NoSelect",Ot&&"NoTransition"),style:{marginTop:pe,minHeight:ce,display:$==="Bottom"?"flex":"none"},children:Et})]})})},(r,e)=>r.errorMessage===e.errorMessage&&r.type===e.type&&r.useValue===e.useValue&&r.useError===e.useError&&r.placeholder===e.placeholder&&r.readOnly===e.readOnly&&r.maxLength===e.maxLength&&r.size===e.size&&r.contentHeight===e.contentHeight&&r.minHeight===e.minHeight&&r.maxHeight===e.maxHeight&&r.toolbarSize===e.toolbarSize&&r.toolbarType===e.toolbarType&&r.limitPosition===e.limitPosition&&r.editorClassName===e.editorClassName&&r.editorStyle===e.editorStyle&&r.noImageResize===e.noImageResize),UN=k.memo(({calculateSize:r,error:e,htmlDelta:t,limit:n,useError:o,isReadonly:a})=>{const u=k.useRef(0),f=k.useRef(""),d=$i.hashDelta(t),h=d!==f.current,x=k.useMemo(()=>{if(h){const v=r(t);return u.current=v,f.current=d,v}return u.current},[r,t,d,h]);if(!o||a)return null;const _=e||x>n;return C.jsxs(Aa,{className:zn.Limit,children:["(",C.jsx("span",{className:Be.clsx(_&&zn.Error),children:eu(x)})," / ",eu(n),")"]})});function ch(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=ch(t.children,e);if(n)return n}}function md(r,e){Array.isArray(r)||(r=[r]);for(const t of r)e(t),!(!t.children||t.children.length<1)&&md(t.children,e)}function TS(r,e){Array.isArray(r)||(r=[r]);const t=[];return md(r,(n,o)=>t.push(e(n,o))),t}function kS(r,e){Array.isArray(r)||(r=[r]);for(const t of r){if(!e(t))return!1;if(!(!t.children||t.children.length<1)&&!kS(t.children,e))return!1}return!0}function WN(r,e){Array.isArray(r)||(r=[r]);const t=[];return md(r,(n,o)=>{e(n,o)&&t.push(n)}),t}function VN(r){Array.isArray(r)||(r=[r]);let e=0;return md(r,()=>e++),e}function GN(r,e,t,n){if(n(e,t))return null;Array.isArray(r)||(r=[r]);const o=ch(r,u=>{var f;return(f=u.children)==null?void 0:f.some(d=>n(d,e))}),a=ch(r,u=>{var f;return(f=u.children)==null?void 0:f.some(d=>n(d,t))});if(o===void 0&&a===void 0){const u=r.findIndex(d=>n(d,e)),f=r.findIndex(d=>n(d,t));return r.splice(u,1),r.splice(f,0,e),[...r]}else if(o!==void 0&&a!==void 0&&n(o,a)&&o.children){const u=o.children.findIndex(d=>n(d,e)),f=o.children.findIndex(d=>n(d,t));return u===void 0||f===void 0?null:(o.children.splice(u,1),o.children.splice(f,0,e),o.children=[...o.children],[...r])}return null}function ZN(r,e,t){const n=[],o=[...e];for(;o.length>0;){const a=o.shift();if(a&&!n.find(u=>t(u,a))&&(n.push(a),!(!a.children||a.children.length<1)))for(const u of a.children)o.push(u)}return n}function KN(r,e,t){Array.isArray(r)||(r=[r]);const n=TS(r,u=>u),o=[],a=[...e];for(;a.length>0;){const u=a.shift();if(!u||o.find(d=>t(d,u)))continue;o.push(u);const f=n.find(d=>{var h;return(h=d.children)==null?void 0:h.some(x=>t(x,u))});f&&a.push(f)}return o}const sl={find:ch,forEach:md,map:TS,every:kS,filter:WN,length:VN,replace:GN,descendants:ZN,ancestors:KN},YN="_AWrap_1qho8_1",XN="_AContainer_1qho8_10",JN="_ATree_1qho8_18",QN="_ATreeBody_1qho8_30",ej="_CoverBorder_1qho8_36",tj="_InsertBorder_1qho8_45",rj="_ATreeHeader_1qho8_76",nj="_ATreeBodyHeader_1qho8_82",oj="_ATreeBodyHeaderResources_1qho8_92",ij="_ATreeItem_1qho8_98",sj="_IsSelectUsed_1qho8_114",aj="_IsSelected_1qho8_117",lj="_IsSearchSelected_1qho8_122",cj="_IsHovered_1qho8_133",uj="_CheckBox_1qho8_137",fj="_Indents_1qho8_149",dj="_ExpandIcon_1qho8_156",hj="_Content_1qho8_168",pj="_RightSticky_1qho8_177",gj="_SearchInputWrap_1qho8_187",mj="_SearchInput_1qho8_187",vj="_RightAddon_1qho8_199",yj="_RightAddonIcon_1qho8_210",bj="_Loader_1qho8_217",mn={AWrap:YN,AContainer:XN,ATree:JN,ATreeBody:QN,CoverBorder:ej,InsertBorder:tj,ATreeHeader:rj,ATreeBodyHeader:nj,ATreeBodyHeaderResources:oj,ATreeItem:ij,IsSelectUsed:sj,IsSelected:aj,IsSearchSelected:lj,IsHovered:cj,CheckBox:uj,Indents:fj,ExpandIcon:dj,Content:hj,RightSticky:pj,SearchInputWrap:gj,SearchInput:mj,RightAddon:vj,RightAddonIcon:yj,Loader:bj},_j=r=>{const{isEqual:e,item:t,selectDisabled:n,selectUnused:o,isParentDisabled:a,indents:u,extIndents:f,useExpand:d,useSelect:h,useSearch:x,onDragStart:_,onDragOver:v,onDragEnd:y,showCheckbox:b,icons:T,iconWidth:w,isSelectMulti:S,isDraggable:E,isParentCheckHovered:R,hoverdItem:I,onMouseOver:P,onMouseLeave:j,ContentRenderer:q,TreeItemRenderer:$,RightStickyAddon:G,resources:re,containerRef:F,TreeItemStyle:W,TreeItemClassName:V,searchItemStyle:ee,searchItemClassName:ue,height:le}=r,{children:de}=k.useMemo(()=>t,[t]),[fe,ve]=k.useMemo(()=>d,[d]),[te,ce]=k.useMemo(()=>h,[h]),[pe,ye]=k.useMemo(()=>x,[x]),Ie=k.useMemo(()=>o?o(t):!1,[o,t]),oe=k.useMemo(()=>!n||a?a:n(t),[n,a,t]),we=k.useMemo(()=>fe.some(Ze=>e(Ze,t)),[fe,e,t]),Oe=k.useMemo(()=>!de||de.length<1?"noChild":we?"expanded":"collapsed",[de,we]),Ue=k.useMemo(()=>{const Ze=T[Oe];return vm.includes(Ze)?C.jsx(Nr,{icon:Ze,style:{width:w,height:w}}):Ze},[T,w,Oe]),We=k.useCallback(Ze=>{!ve||Oe==="noChild"||(ve(we?fe.filter(It=>!e(It,t)):[...fe,t]),Ze.stopPropagation())},[ve,fe,we,t,e,Oe]),Se=k.useMemo(()=>te.some(Ze=>e(Ze,t)),[te,e,t]),_e=k.useCallback(()=>{!ce||oe||(ce(S?Se?te.filter(Ze=>!e(Ze,t)):[...te,t]:[t]),pe&&ye&&pe.items.some(Ze=>e(Ze,t))&&ye({...pe,item:t}))},[S,oe,Se,pe,ye,ce,e,te,t]),Ce=k.useMemo(()=>pe==null?void 0:pe.items.some(Ze=>e(Ze,t)),[pe,e,t]),Te=k.useMemo(()=>Ce&&(pe==null?void 0:pe.item)&&e(pe.item,t),[Ce,pe,e,t]),Ne=k.useRef(null);k.useEffect(()=>{setTimeout(()=>{if(Te&&Ne.current&&F.current){const{top:Ze,bottom:It}=Ne.current.getBoundingClientRect(),{top:Ot,bottom:pr}=F.current.getBoundingClientRect();(Ze<Ot||It>pr)&&Ne.current.scrollIntoView({behavior:"smooth",block:"center"})}},10)},[F,Te]);const[ot,$e]=k.useState(!1),tt=k.useCallback(()=>!oe&&$e(!0),[oe]),at=k.useCallback(()=>!oe&&$e(!1),[oe]),De=k.useMemo(()=>sl.map(t,Ze=>Ze).filter(Ze=>!(n!=null&&n(Ze))&&!(o!=null&&o(Ze))),[n,o,t]),Ke=k.useMemo(()=>!b||!S?!1:Se&&De.some(Ze=>te.some(It=>e(Ze,It)))&&De.some(Ze=>!te.some(It=>e(Ze,It))),[b,S,Se,De,e,te]),yt=k.useMemo(()=>b?S?De.every(Ze=>te.some(It=>e(Ze,It))):te.some(Ze=>e(Ze,t)):!1,[b,S,De,t,e,te]),bt=k.useCallback(()=>{if(!(!ce||oe))if(S)if(Se){const Ze=te.filter(It=>!(o!=null&&o(It))&&!(n!=null&&n(It))&&De.some(Ot=>e(Ot,It)));Ze.length>0&&ce(te.filter(It=>!Ze.some(Ot=>e(It,Ot))))}else{const Ze=De.filter(It=>!(o!=null&&o(It))&&!(n!=null&&n(It))&&!te.some(Ot=>e(Ot,It)));Ze.length>0&&ce([...te,...Ze])}else ce([t])},[oe,n,o,S,ce,e,Se,te,De,t]),_t=k.useCallback(Ze=>{oe||bt(),Ze.stopPropagation()},[oe,bt]),At=k.useMemo(()=>{if(!b||!S||oe)return"";if(Se){const It=te.filter(Ot=>!(o!=null&&o(Ot))&&!(n!=null&&n(Ot))&&De.some(pr=>e(pr,Ot)));if(It.length>0)return re["deselect n"](It.length)}const Ze=De.filter(It=>!(o!=null&&o(It))&&!(n!=null&&n(It))&&!te.some(Ot=>e(Ot,It)));return re["select n"](Ze.length)},[n,o,re,oe,b,S,Se,De,e,te]),qe=k.useMemo(()=>Lr.getContent(G,r),[G,r]),Qe=k.useMemo(()=>Lr.getContent(W,r),[r,W]),St=k.useMemo(()=>Lr.getContent(V,r),[r,V]),Dt=k.useMemo(()=>Lr.getContent(ue,r),[r,ue]),Et=k.useMemo(()=>Lr.getContent(ee,r),[r,ee]);return C.jsxs(k.Fragment,{children:[C.jsxs(Zr,{abaseRef:Ne,draggable:E,isDisabled:oe,className:Be.clsx(mn.ATreeItem,Se&&mn.IsSelected,!oe&&(ot||R)&&mn.IsHovered,Ce&&mn.IsSearched,Te&&(Dt||mn.IsSearchSelected),!Ie&&mn.IsSelectUsed,"NoSelect",St),style:{...Qe,...Te&&Et,"--ATreeItem_height":`${le}px`},onClick:_e,onDragEnd:Ze=>y==null?void 0:y(Ze,t),onDragEnter:Ze=>v==null?void 0:v(Ze,t),onDragStart:()=>_==null?void 0:_(t),onMouseLeave:Ze=>j==null?void 0:j(Ze,t),onMouseOver:Ze=>P==null?void 0:P(Ze,t),children:[b&&C.jsx(ef,{className:mn.CheckBox,isDisabled:oe,isIndeterminate:Ke,tooltip:At,useCheck:[+yt,bt],style:{visibility:oe||Ie?"hidden":"visible",zIndex:oe||Ie?0:2},onClick:_t,onMouseOut:at,onMouseOver:tt}),C.jsx("div",{className:mn.Indents,style:{paddingLeft:b?0:r.icons.noChild?12:0},children:u.map((Ze,It)=>{const Ot=It===u.length-1;return C.jsx(K2,{value:Ze,map:{Collapsed:f?f({iconWidth:w}).collapsed:C.jsx(Sj,{iconWidth:w}),Expanded:f?f({iconWidth:w,isLast:Ot}).expanded:C.jsx(xj,{iconWidth:w,isLast:Ot}),IsLast:f?f({iconWidth:w}).isLast:C.jsx(Cj,{iconWidth:w})}},It)})}),Ue&&C.jsx("div",{className:mn.ExpandIcon,style:{width:w,minWidth:w,maxWidth:w},onClick:We,children:Ue}),C.jsx("div",{className:Be.clsx(mn.Content,"NoSelect"),children:C.jsx(q,{containerRef:F,ContentRenderer:q,extIndents:f,height:le,hoverdItem:I,icons:T,iconWidth:w,indents:u,isDraggable:E,isEqual:e,isParentCheckHovered:S&&(ot||R),isSelectMulti:S,item:t,resources:re,RightStickyAddon:G,searchItemClassName:Dt,searchItemStyle:ee,showCheckbox:b,TreeItemClassName:V,TreeItemRenderer:$,TreeItemStyle:W,useExpand:d,useSearch:x,useSelect:h,onDragEnd:y,onDragOver:v,onDragStart:_,onMouseLeave:j,onMouseOver:P})}),qe&&C.jsx("div",{className:mn.RightSticky,children:qe})]}),we&&(de==null?void 0:de.map((Ze,It)=>C.jsx($,{containerRef:F,ContentRenderer:q,extIndents:f,height:le,hoverdItem:I,icons:T,iconWidth:w,isDraggable:E,isEqual:e,isParentCheckHovered:S&&(ot||R),isSelectMulti:S,item:Ze,resources:re,RightStickyAddon:G,searchItemClassName:Dt,searchItemStyle:ee,selectDisabled:n,selectUnused:o,showCheckbox:b,TreeItemClassName:V,TreeItemRenderer:$,TreeItemStyle:W,useExpand:d,useSearch:x,useSelect:h,indents:[...u.map(Ot=>Ot==="IsLast"?"Collapsed":Ot),It===de.length-1?"IsLast":"Expanded"],onDragEnd:y,onDragOver:v,onDragStart:_,onMouseLeave:j,onMouseOver:P},It)))]})},xj=({iconWidth:r,isLast:e})=>C.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&&C.jsx("div",{style:{borderBottom:"var(--ATree_Indent_border)",height:"50%",transition:"border-color var(--Transition)"}})}),Sj=({iconWidth:r})=>C.jsx("div",{style:{width:r,height:"100%",borderLeft:"none",marginLeft:0,transition:"border-color var(--Transition)"}}),Cj=({iconWidth:r})=>C.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)"}}),wj=r=>{const{isEqual:e,searchResult:t,initSearch:n,searchUp:o,searchDown:a,searchEnter:u,isDisabled:f,isLoading:d,resources:h,maxLength:x,autoFocus:_}=r,v=k.useCallback(T=>{T.key==="Enter"?u():T.key==="ArrowDown"?a():T.key==="ArrowUp"&&o(),T.preventDefault(),T.stopPropagation()},[a,u,o]),y=k.useCallback(T=>{n(T)},[n]),b=k.useMemo(()=>f||d?-1:void 0,[f,d]);return C.jsx(sc,{autoFocus:_,className:mn.SearchInput,isDisabled:f,maxLength:x,placeholder:h["Search(Placeholder)"],tabIndex:b,useValue:[(t==null?void 0:t.keyword)??"",y],RightAddon:C.jsx(Aj,{isEqual:e,resources:h,searchDown:a,searchEnter:u,searchResult:t,searchUp:o}),wrapProps:{className:mn.SearchInputWrap},onKeyDown:v})},Aj=r=>{const{isEqual:e,searchResult:t,searchUp:n,searchDown:o,searchEnter:a,resources:u}=r,f=k.useMemo(()=>!t||t.items.length<1?0:t.items.findIndex(b=>t.item&&e(b,t.item))+1,[t,e]),d=k.useMemo(()=>!t||t.items.length<1?0:t.items.length,[t]),h=k.useMemo(()=>f<2,[f]),x=k.useMemo(()=>f>=d,[f,d]),_=k.useCallback(b=>{b.stopPropagation(),!h&&n()},[n,h]),v=k.useCallback(b=>{b.stopPropagation(),!x&&o()},[o,x]),y=k.useCallback(b=>{b.stopPropagation(),a()},[a]);return C.jsx("div",{className:Be.clsx(mn.RightAddon,"NoSelect"),children:t?C.jsxs(C.Fragment,{children:[f,"/",d,C.jsx(Zr,{isDisabled:h,onClick:_,children:C.jsx(Nr,{className:mn.RightAddonIcon,icon:"ArrowUp",mask:""})}),C.jsx(Zr,{isDisabled:x,onClick:v,children:C.jsx(Nr,{className:mn.RightAddonIcon,icon:"ArrowDown"})})]}):C.jsx(mo,{className:mn.RightAddonIcon,icon:"Search",style:{marginRight:4},tooltip:u["Search(Button)"],type:"Raw",onClick:y})})},Ej=r=>{var it;const{pk:e,selectDisabled:t,selectUnused:n,useItems:o,useExpand:a,useSelect:u,useSearch:f,showCheckbox:d,iconWidth:h=24,icons:x={noChild:"Folder",collapsed:"FolderCopy",expanded:"FolderOpen"},indents:_,isSelectMulti:v=!1,noSearch:y=!1,isDraggable:b,noSyncSearchSelect:T=!1,actionRef:w,placeholder:S,searchPredicate:E=kj,isDisabled:R,isLoading:I,ContentRenderer:P=Tj,TreeItemRenderer:j=_j,RightStickyAddon:q,TopRightAddon:$,TreeTopAddon:G,resources:re,maxLength:F,autoFocus:W,TreeItemStyle:V,TreeItemClassName:ee,OverflowPadding:ue,insertBorder:le,width:de,searchItemClassName:fe,searchItemStyle:ve,height:te=40,...ce}=r,pe=k.useMemo(()=>({...Ur.ATree,...re}),[re]),ye=k.useCallback((Fe,ut)=>e!==void 0?Array.isArray(e)?e.every(nt=>al.isEqual(Fe[nt],ut[nt])):al.isEqual(Fe[e],ut[e]):al.isEqual(Fe,ut),[e]),Ie=k.useRef(null),[oe,we]=dn(o,[]),Oe=k.useMemo(()=>sl.map(oe,Fe=>Fe),[oe]),[Ue,We]=dn(a,[]),[Se,_e]=dn(u,[]),[Ce,Te]=dn(f,void 0),Ne=k.useCallback(Fe=>{if(R||!We||Ue.some($t=>ye($t,Fe)))return;const ut=[];let nt=Fe;for(;nt;){const $t=nt;Ue.find(wr=>ye(wr,$t))||ut.push($t),nt=Oe.find(wr=>{var ne;return(ne=wr.children)==null?void 0:ne.some(He=>ye(He,$t))})}We([...Ue,...ut])},[Ue,R,ye,We,Oe]),ot=k.useCallback(()=>{!We||R||We([...Oe])},[Oe,R,We]),$e=k.useCallback(()=>{!We||R||We([])},[We,R]),tt=k.useCallback(Fe=>{!_e||R||n!=null&&n(Fe)||(_e([Fe]),Ne(Fe))},[_e,R,n,Ne]),at=k.useCallback(Fe=>{if(!Te||R)return;if(!Fe||y){Te(void 0),T||_e==null||_e([]);return}const ut=sl.filter(oe,$t=>E(Fe,$t));let nt;if(ut.find($t=>(Ce==null?void 0:Ce.item)&&ye($t,Ce.item))?nt=Ce==null?void 0:Ce.item:ut.length>0&&(nt=ut[0]),Te({keyword:Fe,items:ut,item:nt}),nt&&Ne(nt),_e&&!T)if(v)_e(ut);else{const $t=ut.find(wr=>nt&&ye(wr,nt));_e($t?[$t]:[])}},[oe,R,ye,E,Te,_e,Ne,T,y,v,Ce]),De=k.useRef(!1);k.useEffect(()=>{De.current=!0},[oe]),k.useEffect(()=>{Ce&&De.current&&(at(Ce.keyword),De.current=!1)},[at,Ce]);const Ke=k.useCallback(()=>{if(!Ce||!Te||R)return;let Fe=Ce.items.findIndex(ut=>Ce.item&&ye(ut,Ce.item))-1;Fe<0||(Te({...Ce,item:Ce.items[Fe]}),Ne(Ce.items[Fe]),T||tt(Ce.items[Fe]))},[Ce,Ne,Te,R,tt,ye,T]),yt=k.useCallback(()=>{if(!Ce||!Te||R)return;let Fe=Ce.items.findIndex(ut=>Ce.item&&ye(ut,Ce.item))+1;Fe>=Ce.items.length||(Te({...Ce,item:Ce.items[Fe]}),Ne(Ce.items[Fe]),T||tt(Ce.items[Fe]))},[Ce,Ne,R,Te,tt,ye,T]),bt=k.useCallback(()=>{if(!Ce||!Te||R)return;let Fe=Ce.items.findIndex(nt=>Ce.item&&ye(nt,Ce.item));if(!T||n!=null&&n(Ce.items[Fe])){yt();return}if(Se.some(nt=>Ce.item&&ye(nt,Ce.item))){let nt=Fe+1;const $t=Ce.items[nt];if(nt>=Ce.items.length)return;Te({...Ce,item:$t}),tt($t)}else tt(Ce.items[Fe])},[Ce,Te,R,Se,T,yt,ye,tt,n]),[_t,At]=k.useState(!1),qe=k.useCallback(()=>At(!0),[]),Qe=k.useCallback(()=>At(!1),[]),St=k.useMemo(()=>n?sl.map(oe,Fe=>Fe).filter(Fe=>!n(Fe)):t?sl.map(oe,Fe=>Fe).filter(Fe=>!t(Fe)):sl.map(oe,Fe=>Fe),[n,t,oe]),Dt=k.useMemo(()=>!d||!v?!1:Se.length>0&&St.length>Se.length,[d,v,Se,St]),Et=k.useMemo(()=>!d||!v?!1:Se.length>0&&St.length===Se.length,[d,v,Se,St]),Ze=k.useCallback(()=>{if(!_e||!v||R)return;const Fe=Se.filter(ut=>!(n!=null&&n(ut))&&!(t!=null&&t(ut))&&St.some(nt=>ye(nt,ut)));if(Fe.length>0)_e(Se.filter(ut=>!Fe.some(nt=>ye(ut,nt))));else{const ut=St.filter(nt=>!(n!=null&&n(nt))&&!(t!=null&&t(nt))&&!Se.some($t=>ye($t,nt)));ut.length>0&&_e([...Se,...ut])}},[v,R,n,t,_e,Se,St,ye]),It=k.useMemo(()=>{if(!d||!v||R)return"";const Fe=Se.filter(ut=>!(n!=null&&n(ut))&&!(t!=null&&t(ut))&&St.some(nt=>ye(nt,ut)));if(Fe.length>0)return pe["deselect n"](Fe.length);{const ut=St.filter(nt=>!(n!=null&&n(nt))&&!(t!=null&&t(nt))&&!Se.some($t=>ye($t,nt)));return pe["select n"](ut.length)}},[n,t,R,pe,d,v,St,Se,ye]),[Ot,pr]=k.useState(null),[br,Or]=k.useState(null),Ee=k.useCallback(Fe=>{!b||R||pr(Fe)},[R,b]),ae=k.useCallback((Fe,ut)=>{if(!b||R||!Ot||(Fe.preventDefault(),Fe.stopPropagation(),Or(ut),!we))return;const nt=sl.replace(oe,Ot,ut,ye);nt&&we(nt)},[b,oe,Ot,R,we,ye]),st=k.useCallback(()=>{if(!b||R||!Ot||!br||!we||ye(Ot,br))return;const Fe=sl.replace(oe,Ot,br,ye);Fe&&(we(Fe),pr(null))},[b,we,oe,Ot,br,ye,R]);k.useEffect(()=>{var Fe;d||(Fe=Ie.current)==null||Fe.scrollTo(0,0)},[d,Ie]),k.useEffect(()=>{!v&&Se.length>1&&(_e==null||_e([Se[Se.length-1]]))},[v,_e,Se]),k.useEffect(()=>{w&&(w.current={expandAll:ot,collapseAll:$e})},[w,ot,$e]),k.useEffect(()=>{if(!t||!_e)return;const Fe=Se.filter(ut=>!t(ut));Se.length!==Fe.length&&_e(Fe)},[t,Se,_e]),k.useEffect(()=>{if(!n||!_e)return;const Fe=Se.filter(ut=>!n(ut));Se.length!==Fe.length&&_e(Fe)},[n,Se,_e]),k.useEffect(()=>{Te&&Te(void 0)},[Te]);const[mt,Ft]=k.useState(!1);k.useEffect(()=>{Ft(Fe=>!Fe)},[oe]);const[Rt,Mt]=k.useState(null),Qt=k.useCallback((Fe,ut)=>{R||(Fe.stopPropagation(),Fe.preventDefault(),Mt(ut))},[R]),qt=k.useCallback((Fe,ut)=>{Rt===null||R||ye(ut,Rt)&&(Fe.stopPropagation(),Fe.preventDefault(),Mt(null))},[Rt,R,ye]),sr=k.useRef(null),[er,_r]=k.useState(!1),[fr,lt]=k.useState((it=sr.current)==null?void 0:it.scrollHeight);return k.useEffect(()=>{if(Ue.length<0)return;const Fe=Ie.current,ut=sr.current,nt=Fe.clientHeight<ut.clientHeight;lt(nt?ut.scrollHeight:Fe.clientHeight),_r(nt)},[Ue]),C.jsxs(Zr,{...ce,className:Be.clsx(ce.className,mn.AWrap),isDisabled:R,children:[(!y||$)&&C.jsxs(En,{className:mn.ATreeHeader,children:[!y&&C.jsx(wj,{autoFocus:W,initSearch:at,isDisabled:R,isEqual:ye,isLoading:I,maxLength:F,resources:pe,searchDown:yt,searchEnter:bt,searchResult:Ce,searchUp:Ke}),!y&&$&&C.jsx(Tn,{w:8}),$]}),(!y||$||d&&v||b)&&C.jsx(Am,{isLoading:I&&oe.length!==0}),(d&&v||b)&&C.jsxs("div",{className:Be.clsx(mn.ATreeBodyHeader,"NoSelect"),children:[d&&C.jsx(ef,{className:mn.CheckBox,isDisabled:R,isIndeterminate:Dt,tooltip:It,useCheck:[+Et,()=>Ze()],onMouseOut:Qe,onMouseOver:qe}),pe.Items,C.jsx(ou,{}),C.jsxs("div",{className:Be.clsx(mn.ATreeBodyHeaderResources,"NoSelect"),style:{marginRight:er?8:0},children:[C.jsx("span",{children:d&&pe["*Click row for single select"]}),C.jsx("span",{children:b&&pe["*Change order to row drag"]})]})]}),C.jsx("div",{ref:Ie,className:Be.clsx(ce.className,mn.AContainer),children:C.jsxs("div",{className:mn.ATree,style:{minWidth:de||"fit-content",marginRight:ue&&er?8:0},children:[C.jsxs("div",{ref:sr,className:mn.ATreeBody,children:[oe.length===0?I?C.jsx(Rj,{text:pe["Loading Contents..."]}):S:G,oe.map((Fe,ut)=>C.jsx(j,{containerRef:Ie,ContentRenderer:P,extIndents:_,height:te,hoverdItem:Rt,icons:x,iconWidth:h,indents:[],isDraggable:b,isEqual:ye,isParentCheckHovered:v&&_t,isParentDisabled:R,isSelectMulti:v,item:Fe,resources:pe,RightStickyAddon:q,searchItemClassName:fe,searchItemStyle:ve,selectDisabled:t,selectUnused:n,showCheckbox:d,TreeItemClassName:ee,TreeItemRenderer:j,TreeItemStyle:V,useExpand:[Ue,We],useSearch:[Ce,Te],useSelect:[Se,_e],onDragEnd:st,onDragOver:ae,onDragStart:Ee,onMouseLeave:qt,onMouseOver:Qt},`${ut}${mt}`))]}),le&&C.jsxs(C.Fragment,{children:[C.jsx("div",{className:mn.CoverBorder}),C.jsx("div",{className:mn.InsertBorder,style:{"--InsertBorder_height":`${te}px`,height:er?fr:"100%"}})]})]})})]})},Tj=r=>{const{item:e}=r,t={};return tr.keys(e).forEach(n=>{n!=="children"&&(t[n]=e[n])}),JSON.stringify(t)};function kj(r,e){return tr.some(e,(t,n)=>{var o;return(o=tr.stringify(n))==null?void 0:o.toLowerCase().includes(r.toLowerCase())})}const Rj=r=>{const{text:e}=r;return C.jsxs(En,{className:Be.clsx(mn.Loader,"NoSelect"),children:[C.jsx(Nr,{height:40,icon:"Spinner",style:{height:40},width:40}),C.jsx(ax,{text:e})]})};var e1,a_;function uf(){return a_||(a_=1,e1=TypeError),e1}const Ij={},Lj=Object.freeze(Object.defineProperty({__proto__:null,default:Ij},Symbol.toStringTag,{value:"Module"})),Oj=y4(Lj);var t1,l_;function Rh(){if(l_)return t1;l_=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,o=typeof Set=="function"&&Set.prototype,a=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=o&&a&&typeof a.get=="function"?a.get:null,f=o&&Set.prototype.forEach,d=typeof WeakMap=="function"&&WeakMap.prototype,h=d?WeakMap.prototype.has:null,x=typeof WeakSet=="function"&&WeakSet.prototype,_=x?WeakSet.prototype.has:null,v=typeof WeakRef=="function"&&WeakRef.prototype,y=v?WeakRef.prototype.deref:null,b=Boolean.prototype.valueOf,T=Object.prototype.toString,w=Function.prototype.toString,S=String.prototype.match,E=String.prototype.slice,R=String.prototype.replace,I=String.prototype.toUpperCase,P=String.prototype.toLowerCase,j=RegExp.prototype.test,q=Array.prototype.concat,$=Array.prototype.join,G=Array.prototype.slice,re=Math.floor,F=typeof BigInt=="function"?BigInt.prototype.valueOf:null,W=Object.getOwnPropertySymbols,V=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ee=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ue=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ee||!0)?Symbol.toStringTag:null,le=Object.prototype.propertyIsEnumerable,de=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Ee){return Ee.__proto__}:null);function fe(Ee,ae){if(Ee===1/0||Ee===-1/0||Ee!==Ee||Ee&&Ee>-1e3&&Ee<1e3||j.call(/e/,ae))return ae;var st=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof Ee=="number"){var mt=Ee<0?-re(-Ee):re(Ee);if(mt!==Ee){var Ft=String(mt),Rt=E.call(ae,Ft.length+1);return R.call(Ft,st,"$&_")+"."+R.call(R.call(Rt,/([0-9]{3})/g,"$&_"),/_$/,"")}}return R.call(ae,st,"$&_")}var ve=Oj,te=ve.custom,ce=Ne(te)?te:null,pe={__proto__:null,double:'"',single:"'"},ye={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};t1=function Ee(ae,st,mt,Ft){var Rt=st||{};if(tt(Rt,"quoteStyle")&&!tt(pe,Rt.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(tt(Rt,"maxStringLength")&&(typeof Rt.maxStringLength=="number"?Rt.maxStringLength<0&&Rt.maxStringLength!==1/0:Rt.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Mt=tt(Rt,"customInspect")?Rt.customInspect:!0;if(typeof Mt!="boolean"&&Mt!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(tt(Rt,"indent")&&Rt.indent!==null&&Rt.indent!==" "&&!(parseInt(Rt.indent,10)===Rt.indent&&Rt.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(tt(Rt,"numericSeparator")&&typeof Rt.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Qt=Rt.numericSeparator;if(typeof ae>"u")return"undefined";if(ae===null)return"null";if(typeof ae=="boolean")return ae?"true":"false";if(typeof ae=="string")return St(ae,Rt);if(typeof ae=="number"){if(ae===0)return 1/0/ae>0?"0":"-0";var qt=String(ae);return Qt?fe(ae,qt):qt}if(typeof ae=="bigint"){var sr=String(ae)+"n";return Qt?fe(ae,sr):sr}var er=typeof Rt.depth>"u"?5:Rt.depth;if(typeof mt>"u"&&(mt=0),mt>=er&&er>0&&typeof ae=="object")return Oe(ae)?"[Array]":"[Object]";var _r=pr(Rt,mt);if(typeof Ft>"u")Ft=[];else if(Ke(Ft,ae)>=0)return"[Circular]";function fr(Gt,rr,gr){if(rr&&(Ft=G.call(Ft),Ft.push(rr)),gr){var Kt={depth:Rt.depth};return tt(Rt,"quoteStyle")&&(Kt.quoteStyle=Rt.quoteStyle),Ee(Gt,Kt,mt+1,Ft)}return Ee(Gt,Rt,mt+1,Ft)}if(typeof ae=="function"&&!We(ae)){var lt=De(ae),it=Or(ae,fr);return"[Function"+(lt?": "+lt:" (anonymous)")+"]"+(it.length>0?" { "+$.call(it,", ")+" }":"")}if(Ne(ae)){var Fe=ee?R.call(String(ae),/^(Symbol\(.*\))_[^)]*$/,"$1"):V.call(ae);return typeof ae=="object"&&!ee?Et(Fe):Fe}if(Qe(ae)){for(var ut="<"+P.call(String(ae.nodeName)),nt=ae.attributes||[],$t=0;$t<nt.length;$t++)ut+=" "+nt[$t].name+"="+Ie(oe(nt[$t].value),"double",Rt);return ut+=">",ae.childNodes&&ae.childNodes.length&&(ut+="..."),ut+="</"+P.call(String(ae.nodeName))+">",ut}if(Oe(ae)){if(ae.length===0)return"[]";var wr=Or(ae,fr);return _r&&!Ot(wr)?"["+br(wr,_r)+"]":"[ "+$.call(wr,", ")+" ]"}if(Se(ae)){var ne=Or(ae,fr);return!("cause"in Error.prototype)&&"cause"in ae&&!le.call(ae,"cause")?"{ ["+String(ae)+"] "+$.call(q.call("[cause]: "+fr(ae.cause),ne),", ")+" }":ne.length===0?"["+String(ae)+"]":"{ ["+String(ae)+"] "+$.call(ne,", ")+" }"}if(typeof ae=="object"&&Mt){if(ce&&typeof ae[ce]=="function"&&ve)return ve(ae,{depth:er-mt});if(Mt!=="symbol"&&typeof ae.inspect=="function")return ae.inspect()}if(yt(ae)){var He=[];return n&&n.call(ae,function(Gt,rr){He.push(fr(rr,ae,!0)+" => "+fr(Gt,ae))}),It("Map",t.call(ae),He,_r)}if(At(ae)){var xe=[];return f&&f.call(ae,function(Gt){xe.push(fr(Gt,ae))}),It("Set",u.call(ae),xe,_r)}if(bt(ae))return Ze("WeakMap");if(qe(ae))return Ze("WeakSet");if(_t(ae))return Ze("WeakRef");if(Ce(ae))return Et(fr(Number(ae)));if(ot(ae))return Et(fr(F.call(ae)));if(Te(ae))return Et(b.call(ae));if(_e(ae))return Et(fr(String(ae)));if(typeof window<"u"&&ae===window)return"{ [object Window] }";if(typeof globalThis<"u"&&ae===globalThis||typeof Co<"u"&&ae===Co)return"{ [object globalThis] }";if(!Ue(ae)&&!We(ae)){var Ye=Or(ae,fr),xt=de?de(ae)===Object.prototype:ae instanceof Object||ae.constructor===Object,Tt=ae instanceof Object?"":"null prototype",kt=!xt&&ue&&Object(ae)===ae&&ue in ae?E.call(at(ae),8,-1):Tt?"Object":"",wt=xt||typeof ae.constructor!="function"?"":ae.constructor.name?ae.constructor.name+" ":"",or=wt+(kt||Tt?"["+$.call(q.call([],kt||[],Tt||[]),": ")+"] ":"");return Ye.length===0?or+"{}":_r?or+"{"+br(Ye,_r)+"}":or+"{ "+$.call(Ye,", ")+" }"}return String(ae)};function Ie(Ee,ae,st){var mt=st.quoteStyle||ae,Ft=pe[mt];return Ft+Ee+Ft}function oe(Ee){return R.call(String(Ee),/"/g,""")}function we(Ee){return!ue||!(typeof Ee=="object"&&(ue in Ee||typeof Ee[ue]<"u"))}function Oe(Ee){return at(Ee)==="[object Array]"&&we(Ee)}function Ue(Ee){return at(Ee)==="[object Date]"&&we(Ee)}function We(Ee){return at(Ee)==="[object RegExp]"&&we(Ee)}function Se(Ee){return at(Ee)==="[object Error]"&&we(Ee)}function _e(Ee){return at(Ee)==="[object String]"&&we(Ee)}function Ce(Ee){return at(Ee)==="[object Number]"&&we(Ee)}function Te(Ee){return at(Ee)==="[object Boolean]"&&we(Ee)}function Ne(Ee){if(ee)return Ee&&typeof Ee=="object"&&Ee instanceof Symbol;if(typeof Ee=="symbol")return!0;if(!Ee||typeof Ee!="object"||!V)return!1;try{return V.call(Ee),!0}catch{}return!1}function ot(Ee){if(!Ee||typeof Ee!="object"||!F)return!1;try{return F.call(Ee),!0}catch{}return!1}var $e=Object.prototype.hasOwnProperty||function(Ee){return Ee in this};function tt(Ee,ae){return $e.call(Ee,ae)}function at(Ee){return T.call(Ee)}function De(Ee){if(Ee.name)return Ee.name;var ae=S.call(w.call(Ee),/^function\s*([\w$]+)/);return ae?ae[1]:null}function Ke(Ee,ae){if(Ee.indexOf)return Ee.indexOf(ae);for(var st=0,mt=Ee.length;st<mt;st++)if(Ee[st]===ae)return st;return-1}function yt(Ee){if(!t||!Ee||typeof Ee!="object")return!1;try{t.call(Ee);try{u.call(Ee)}catch{return!0}return Ee instanceof Map}catch{}return!1}function bt(Ee){if(!h||!Ee||typeof Ee!="object")return!1;try{h.call(Ee,h);try{_.call(Ee,_)}catch{return!0}return Ee instanceof WeakMap}catch{}return!1}function _t(Ee){if(!y||!Ee||typeof Ee!="object")return!1;try{return y.call(Ee),!0}catch{}return!1}function At(Ee){if(!u||!Ee||typeof Ee!="object")return!1;try{u.call(Ee);try{t.call(Ee)}catch{return!0}return Ee instanceof Set}catch{}return!1}function qe(Ee){if(!_||!Ee||typeof Ee!="object")return!1;try{_.call(Ee,_);try{h.call(Ee,h)}catch{return!0}return Ee instanceof WeakSet}catch{}return!1}function Qe(Ee){return!Ee||typeof Ee!="object"?!1:typeof HTMLElement<"u"&&Ee instanceof HTMLElement?!0:typeof Ee.nodeName=="string"&&typeof Ee.getAttribute=="function"}function St(Ee,ae){if(Ee.length>ae.maxStringLength){var st=Ee.length-ae.maxStringLength,mt="... "+st+" more character"+(st>1?"s":"");return St(E.call(Ee,0,ae.maxStringLength),ae)+mt}var Ft=ye[ae.quoteStyle||"single"];Ft.lastIndex=0;var Rt=R.call(R.call(Ee,Ft,"\\$1"),/[\x00-\x1f]/g,Dt);return Ie(Rt,"single",ae)}function Dt(Ee){var ae=Ee.charCodeAt(0),st={8:"b",9:"t",10:"n",12:"f",13:"r"}[ae];return st?"\\"+st:"\\x"+(ae<16?"0":"")+I.call(ae.toString(16))}function Et(Ee){return"Object("+Ee+")"}function Ze(Ee){return Ee+" { ? }"}function It(Ee,ae,st,mt){var Ft=mt?br(st,mt):$.call(st,", ");return Ee+" ("+ae+") {"+Ft+"}"}function Ot(Ee){for(var ae=0;ae<Ee.length;ae++)if(Ke(Ee[ae],`
|
358
358
|
`)>=0)return!1;return!0}function pr(Ee,ae){var st;if(Ee.indent===" ")st=" ";else if(typeof Ee.indent=="number"&&Ee.indent>0)st=$.call(Array(Ee.indent+1)," ");else return null;return{base:st,prev:$.call(Array(ae+1),st)}}function br(Ee,ae){if(Ee.length===0)return"";var st=`
|
359
359
|
`+ae.prev+ae.base;return st+$.call(Ee,","+st)+`
|
360
|
-
`+ae.prev}function Or(Ee,ae){var st=Oe(Ee),mt=[];if(st){mt.length=Ee.length;for(var Ft=0;Ft<Ee.length;Ft++)mt[Ft]=tt(Ee,Ft)?ae(Ee[Ft],Ee):""}var Rt=typeof W=="function"?W(Ee):[],Mt;if(ee){Mt={};for(var Qt=0;Qt<Rt.length;Qt++)Mt["$"+Rt[Qt]]=Rt[Qt]}for(var qt in Ee)tt(Ee,qt)&&(st&&String(Number(qt))===qt&&qt<Ee.length||ee&&Mt["$"+qt]instanceof Symbol||(j.call(/[^\w$]/,qt)?mt.push(ae(qt,Ee)+": "+ae(Ee[qt],Ee)):mt.push(qt+": "+ae(Ee[qt],Ee))));if(typeof W=="function")for(var sr=0;sr<Rt.length;sr++)le.call(Ee,Rt[sr])&&mt.push("["+ae(Rt[sr])+"]: "+ae(Ee[Rt[sr]],Ee));return mt}return t1}var r1,c_;function Mj(){if(c_)return r1;c_=1;var r=Rh(),e=uf(),t=function(f,d,h){for(var x=f,_;(_=x.next)!=null;x=_)if(_.key===d)return x.next=_.next,h||(_.next=f.next,f.next=_),_},n=function(f,d){if(f){var h=t(f,d);return h&&h.value}},o=function(f,d,h){var x=t(f,d);x?x.value=h:f.next={key:d,next:f.next,value:h}},a=function(f,d){return f?!!t(f,d):!1},u=function(f,d){if(f)return t(f,d,!0)};return r1=function(){var d,h={assert:function(x){if(!h.has(x))throw new e("Side channel does not contain "+r(x))},delete:function(x){var _=d&&d.next,v=u(d,x);return v&&_&&_===v&&(d=void 0),!!v},get:function(x){return n(d,x)},has:function(x){return a(d,x)},set:function(x,_){d||(d={next:void 0}),o(d,x,_)}};return h},r1}var n1,u_;function RS(){return u_||(u_=1,n1=Object),n1}var o1,f_;function Dj(){return f_||(f_=1,o1=Error),o1}var i1,d_;function Pj(){return d_||(d_=1,i1=EvalError),i1}var s1,h_;function Nj(){return h_||(h_=1,s1=RangeError),s1}var a1,p_;function jj(){return p_||(p_=1,a1=ReferenceError),a1}var l1,g_;function Fj(){return g_||(g_=1,l1=SyntaxError),l1}var c1,m_;function Bj(){return m_||(m_=1,c1=URIError),c1}var u1,v_;function Hj(){return v_||(v_=1,u1=Math.abs),u1}var f1,y_;function qj(){return y_||(y_=1,f1=Math.floor),f1}var d1,b_;function zj(){return b_||(b_=1,d1=Math.max),d1}var h1,__;function $j(){return __||(__=1,h1=Math.min),h1}var p1,x_;function Uj(){return x_||(x_=1,p1=Math.pow),p1}var g1,S_;function Wj(){return S_||(S_=1,g1=Math.round),g1}var m1,C_;function Vj(){return C_||(C_=1,m1=Number.isNaN||function(e){return e!==e}),m1}var v1,w_;function Gj(){if(w_)return v1;w_=1;var r=Vj();return v1=function(t){return r(t)||t===0?t:t<0?-1:1},v1}var y1,A_;function Zj(){return A_||(A_=1,y1=Object.getOwnPropertyDescriptor),y1}var b1,E_;function IS(){if(E_)return b1;E_=1;var r=Zj();if(r)try{r([],"length")}catch{r=null}return b1=r,b1}var _1,T_;function Kj(){if(T_)return _1;T_=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return _1=r,_1}var x1,k_;function Yj(){return k_||(k_=1,x1=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 o=42;e[t]=o;for(var a 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 f=Object.getOwnPropertyDescriptor(e,t);if(f.value!==o||f.enumerable!==!0)return!1}return!0}),x1}var S1,R_;function Xj(){if(R_)return S1;R_=1;var r=typeof Symbol<"u"&&Symbol,e=Yj();return S1=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},S1}var C1,I_;function LS(){return I_||(I_=1,C1=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),C1}var w1,L_;function OS(){if(L_)return w1;L_=1;var r=RS();return w1=r.getPrototypeOf||null,w1}var A1,O_;function Jj(){if(O_)return A1;O_=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,n="[object Function]",o=function(d,h){for(var x=[],_=0;_<d.length;_+=1)x[_]=d[_];for(var v=0;v<h.length;v+=1)x[v+d.length]=h[v];return x},a=function(d,h){for(var x=[],_=h,v=0;_<d.length;_+=1,v+=1)x[v]=d[_];return x},u=function(f,d){for(var h="",x=0;x<f.length;x+=1)h+=f[x],x+1<f.length&&(h+=d);return h};return A1=function(d){var h=this;if(typeof h!="function"||e.apply(h)!==n)throw new TypeError(r+h);for(var x=a(arguments,1),_,v=function(){if(this instanceof _){var S=h.apply(this,o(x,arguments));return Object(S)===S?S:this}return h.apply(d,o(x,arguments))},y=t(0,h.length-x.length),b=[],T=0;T<y;T++)b[T]="$"+T;if(_=Function("binder","return function ("+u(b,",")+"){ return binder.apply(this,arguments); }")(v),h.prototype){var w=function(){};w.prototype=h.prototype,_.prototype=new w,w.prototype=null}return _},A1}var E1,M_;function Ih(){if(M_)return E1;M_=1;var r=Jj();return E1=Function.prototype.bind||r,E1}var T1,D_;function Xm(){return D_||(D_=1,T1=Function.prototype.call),T1}var k1,P_;function MS(){return P_||(P_=1,k1=Function.prototype.apply),k1}var R1,N_;function Qj(){return N_||(N_=1,R1=typeof Reflect<"u"&&Reflect&&Reflect.apply),R1}var I1,j_;function eF(){if(j_)return I1;j_=1;var r=Ih(),e=MS(),t=Xm(),n=Qj();return I1=n||r.call(t,e),I1}var L1,F_;function DS(){if(F_)return L1;F_=1;var r=Ih(),e=uf(),t=Xm(),n=eF();return L1=function(a){if(a.length<1||typeof a[0]!="function")throw new e("a function is required");return n(r,t,a)},L1}var O1,B_;function tF(){if(B_)return O1;B_=1;var r=DS(),e=IS(),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__"),o=Object,a=o.getPrototypeOf;return O1=n&&typeof n.get=="function"?r([n.get]):typeof a=="function"?function(f){return a(f==null?f:o(f))}:!1,O1}var M1,H_;function rF(){if(H_)return M1;H_=1;var r=LS(),e=OS(),t=tF();return M1=r?function(o){return r(o)}:e?function(o){if(!o||typeof o!="object"&&typeof o!="function")throw new TypeError("getProto: not an object");return e(o)}:t?function(o){return t(o)}:null,M1}var D1,q_;function nF(){if(q_)return D1;q_=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=Ih();return D1=t.call(r,e),D1}var P1,z_;function Jm(){if(z_)return P1;z_=1;var r,e=RS(),t=Dj(),n=Pj(),o=Nj(),a=jj(),u=Fj(),f=uf(),d=Bj(),h=Hj(),x=qj(),_=zj(),v=$j(),y=Uj(),b=Wj(),T=Gj(),w=Function,S=function(We){try{return w('"use strict"; return ('+We+").constructor;")()}catch{}},E=IS(),R=Kj(),I=function(){throw new f},P=E?function(){try{return arguments.callee,I}catch{try{return E(arguments,"callee").get}catch{return I}}}():I,j=Xj()(),q=rF(),$=OS(),G=LS(),re=MS(),F=Xm(),W={},V=typeof Uint8Array>"u"||!q?r:q(Uint8Array),ee={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":j&&q?q([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":W,"%AsyncGenerator%":W,"%AsyncGeneratorFunction%":W,"%AsyncIteratorPrototype%":W,"%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%":w,"%GeneratorFunction%":W,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":j&&q?q(q([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!j||!q?r:q(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":E,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":o,"%ReferenceError%":a,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!j||!q?r:q(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":j&&q?q(""[Symbol.iterator]()):r,"%Symbol%":j?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":P,"%TypedArray%":V,"%TypeError%":f,"%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%":d,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":F,"%Function.prototype.apply%":re,"%Object.defineProperty%":R,"%Object.getPrototypeOf%":$,"%Math.abs%":h,"%Math.floor%":x,"%Math.max%":_,"%Math.min%":v,"%Math.pow%":y,"%Math.round%":b,"%Math.sign%":T,"%Reflect.getPrototypeOf%":G};if(q)try{null.error}catch(We){var ue=q(q(We));ee["%Error.prototype%"]=ue}var le=function We(Se){var _e;if(Se==="%AsyncFunction%")_e=S("async function () {}");else if(Se==="%GeneratorFunction%")_e=S("function* () {}");else if(Se==="%AsyncGeneratorFunction%")_e=S("async function* () {}");else if(Se==="%AsyncGenerator%"){var Ce=We("%AsyncGeneratorFunction%");Ce&&(_e=Ce.prototype)}else if(Se==="%AsyncIteratorPrototype%"){var Te=We("%AsyncGenerator%");Te&&q&&(_e=q(Te.prototype))}return ee[Se]=_e,_e},de={__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"]},fe=Ih(),ve=nF(),te=fe.call(F,Array.prototype.concat),ce=fe.call(re,Array.prototype.splice),pe=fe.call(F,String.prototype.replace),ye=fe.call(F,String.prototype.slice),Ie=fe.call(F,RegExp.prototype.exec),oe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,we=/\\(\\)?/g,Oe=function(Se){var _e=ye(Se,0,1),Ce=ye(Se,-1);if(_e==="%"&&Ce!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(Ce==="%"&&_e!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var Te=[];return pe(Se,oe,function(Ne,ot,$e,tt){Te[Te.length]=$e?pe(tt,we,"$1"):ot||Ne}),Te},Ue=function(Se,_e){var Ce=Se,Te;if(ve(de,Ce)&&(Te=de[Ce],Ce="%"+Te[0]+"%"),ve(ee,Ce)){var Ne=ee[Ce];if(Ne===W&&(Ne=le(Ce)),typeof Ne>"u"&&!_e)throw new f("intrinsic "+Se+" exists, but is not available. Please file an issue!");return{alias:Te,name:Ce,value:Ne}}throw new u("intrinsic "+Se+" does not exist!")};return P1=function(Se,_e){if(typeof Se!="string"||Se.length===0)throw new f("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof _e!="boolean")throw new f('"allowMissing" argument must be a boolean');if(Ie(/^%?[^%]*%?$/,Se)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Ce=Oe(Se),Te=Ce.length>0?Ce[0]:"",Ne=Ue("%"+Te+"%",_e),ot=Ne.name,$e=Ne.value,tt=!1,at=Ne.alias;at&&(Te=at[0],ce(Ce,te([0,1],at)));for(var De=1,Ke=!0;De<Ce.length;De+=1){var yt=Ce[De],_t=ye(yt,0,1),bt=ye(yt,-1);if((_t==='"'||_t==="'"||_t==="`"||bt==='"'||bt==="'"||bt==="`")&&_t!==bt)throw new u("property names with quotes must have matching quotes");if((yt==="constructor"||!Ke)&&(tt=!0),Te+="."+yt,ot="%"+Te+"%",ve(ee,ot))$e=ee[ot];else if($e!=null){if(!(yt in $e)){if(!_e)throw new f("base intrinsic for "+Se+" exists, but the property is not available.");return}if(E&&De+1>=Ce.length){var At=E($e,yt);Ke=!!At,Ke&&"get"in At&&!("originalValue"in At.get)?$e=At.get:$e=$e[yt]}else Ke=ve($e,yt),$e=$e[yt];Ke&&!tt&&(ee[ot]=$e)}}return $e},P1}var N1,$_;function PS(){if($_)return N1;$_=1;var r=Jm(),e=DS(),t=e([r("%String.prototype.indexOf%")]);return N1=function(o,a){var u=r(o,!!a);return typeof u=="function"&&t(o,".prototype.")>-1?e([u]):u},N1}var j1,U_;function NS(){if(U_)return j1;U_=1;var r=Jm(),e=PS(),t=Rh(),n=uf(),o=r("%Map%",!0),a=e("Map.prototype.get",!0),u=e("Map.prototype.set",!0),f=e("Map.prototype.has",!0),d=e("Map.prototype.delete",!0),h=e("Map.prototype.size",!0);return j1=!!o&&function(){var _,v={assert:function(y){if(!v.has(y))throw new n("Side channel does not contain "+t(y))},delete:function(y){if(_){var b=d(_,y);return h(_)===0&&(_=void 0),b}return!1},get:function(y){if(_)return a(_,y)},has:function(y){return _?f(_,y):!1},set:function(y,b){_||(_=new o),u(_,y,b)}};return v},j1}var F1,W_;function oF(){if(W_)return F1;W_=1;var r=Jm(),e=PS(),t=Rh(),n=NS(),o=uf(),a=r("%WeakMap%",!0),u=e("WeakMap.prototype.get",!0),f=e("WeakMap.prototype.set",!0),d=e("WeakMap.prototype.has",!0),h=e("WeakMap.prototype.delete",!0);return F1=a?function(){var _,v,y={assert:function(b){if(!y.has(b))throw new o("Side channel does not contain "+t(b))},delete:function(b){if(a&&b&&(typeof b=="object"||typeof b=="function")){if(_)return h(_,b)}else if(n&&v)return v.delete(b);return!1},get:function(b){return a&&b&&(typeof b=="object"||typeof b=="function")&&_?u(_,b):v&&v.get(b)},has:function(b){return a&&b&&(typeof b=="object"||typeof b=="function")&&_?d(_,b):!!v&&v.has(b)},set:function(b,T){a&&b&&(typeof b=="object"||typeof b=="function")?(_||(_=new a),f(_,b,T)):n&&(v||(v=n()),v.set(b,T))}};return y}:n,F1}var B1,V_;function iF(){if(V_)return B1;V_=1;var r=uf(),e=Rh(),t=Mj(),n=NS(),o=oF(),a=o||n||t;return B1=function(){var f,d={assert:function(h){if(!d.has(h))throw new r("Side channel does not contain "+e(h))},delete:function(h){return!!f&&f.delete(h)},get:function(h){return f&&f.get(h)},has:function(h){return!!f&&f.has(h)},set:function(h,x){f||(f=a()),f.set(h,x)}};return d},B1}var H1,G_;function Qm(){if(G_)return H1;G_=1;var r=String.prototype.replace,e=/%20/g,t={RFC1738:"RFC1738",RFC3986:"RFC3986"};return H1={default:t.RFC3986,formatters:{RFC1738:function(n){return r.call(n,e,"+")},RFC3986:function(n){return String(n)}},RFC1738:t.RFC1738,RFC3986:t.RFC3986},H1}var q1,Z_;function jS(){if(Z_)return q1;Z_=1;var r=Qm(),e=Object.prototype.hasOwnProperty,t=Array.isArray,n=function(){for(var w=[],S=0;S<256;++S)w.push("%"+((S<16?"0":"")+S.toString(16)).toUpperCase());return w}(),o=function(S){for(;S.length>1;){var E=S.pop(),R=E.obj[E.prop];if(t(R)){for(var I=[],P=0;P<R.length;++P)typeof R[P]<"u"&&I.push(R[P]);E.obj[E.prop]=I}}},a=function(S,E){for(var R=E&&E.plainObjects?{__proto__:null}:{},I=0;I<S.length;++I)typeof S[I]<"u"&&(R[I]=S[I]);return R},u=function w(S,E,R){if(!E)return S;if(typeof E!="object"&&typeof E!="function"){if(t(S))S.push(E);else if(S&&typeof S=="object")(R&&(R.plainObjects||R.allowPrototypes)||!e.call(Object.prototype,E))&&(S[E]=!0);else return[S,E];return S}if(!S||typeof S!="object")return[S].concat(E);var I=S;return t(S)&&!t(E)&&(I=a(S,R)),t(S)&&t(E)?(E.forEach(function(P,j){if(e.call(S,j)){var q=S[j];q&&typeof q=="object"&&P&&typeof P=="object"?S[j]=w(q,P,R):S.push(P)}else S[j]=P}),S):Object.keys(E).reduce(function(P,j){var q=E[j];return e.call(P,j)?P[j]=w(P[j],q,R):P[j]=q,P},I)},f=function(S,E){return Object.keys(E).reduce(function(R,I){return R[I]=E[I],R},S)},d=function(w,S,E){var R=w.replace(/\+/g," ");if(E==="iso-8859-1")return R.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(R)}catch{return R}},h=1024,x=function(S,E,R,I,P){if(S.length===0)return S;var j=S;if(typeof S=="symbol"?j=Symbol.prototype.toString.call(S):typeof S!="string"&&(j=String(S)),R==="iso-8859-1")return escape(j).replace(/%u[0-9a-f]{4}/gi,function(V){return"%26%23"+parseInt(V.slice(2),16)+"%3B"});for(var q="",$=0;$<j.length;$+=h){for(var G=j.length>=h?j.slice($,$+h):j,re=[],F=0;F<G.length;++F){var W=G.charCodeAt(F);if(W===45||W===46||W===95||W===126||W>=48&&W<=57||W>=65&&W<=90||W>=97&&W<=122||P===r.RFC1738&&(W===40||W===41)){re[re.length]=G.charAt(F);continue}if(W<128){re[re.length]=n[W];continue}if(W<2048){re[re.length]=n[192|W>>6]+n[128|W&63];continue}if(W<55296||W>=57344){re[re.length]=n[224|W>>12]+n[128|W>>6&63]+n[128|W&63];continue}F+=1,W=65536+((W&1023)<<10|G.charCodeAt(F)&1023),re[re.length]=n[240|W>>18]+n[128|W>>12&63]+n[128|W>>6&63]+n[128|W&63]}q+=re.join("")}return q},_=function(S){for(var E=[{obj:{o:S},prop:"o"}],R=[],I=0;I<E.length;++I)for(var P=E[I],j=P.obj[P.prop],q=Object.keys(j),$=0;$<q.length;++$){var G=q[$],re=j[G];typeof re=="object"&&re!==null&&R.indexOf(re)===-1&&(E.push({obj:j,prop:G}),R.push(re))}return o(E),S},v=function(S){return Object.prototype.toString.call(S)==="[object RegExp]"},y=function(S){return!S||typeof S!="object"?!1:!!(S.constructor&&S.constructor.isBuffer&&S.constructor.isBuffer(S))},b=function(S,E){return[].concat(S,E)},T=function(S,E){if(t(S)){for(var R=[],I=0;I<S.length;I+=1)R.push(E(S[I]));return R}return E(S)};return q1={arrayToObject:a,assign:f,combine:b,compact:_,decode:d,encode:x,isBuffer:y,isRegExp:v,maybeMap:T,merge:u},q1}var z1,K_;function sF(){if(K_)return z1;K_=1;var r=iF(),e=jS(),t=Qm(),n=Object.prototype.hasOwnProperty,o={brackets:function(w){return w+"[]"},comma:"comma",indices:function(w,S){return w+"["+S+"]"},repeat:function(w){return w}},a=Array.isArray,u=Array.prototype.push,f=function(T,w){u.apply(T,a(w)?w:[w])},d=Date.prototype.toISOString,h=t.default,x={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:h,formatter:t.formatters[h],indices:!1,serializeDate:function(w){return d.call(w)},skipNulls:!1,strictNullHandling:!1},_=function(w){return typeof w=="string"||typeof w=="number"||typeof w=="boolean"||typeof w=="symbol"||typeof w=="bigint"},v={},y=function T(w,S,E,R,I,P,j,q,$,G,re,F,W,V,ee,ue,le,de){for(var fe=w,ve=de,te=0,ce=!1;(ve=ve.get(v))!==void 0&&!ce;){var pe=ve.get(w);if(te+=1,typeof pe<"u"){if(pe===te)throw new RangeError("Cyclic object value");ce=!0}typeof ve.get(v)>"u"&&(te=0)}if(typeof G=="function"?fe=G(S,fe):fe instanceof Date?fe=W(fe):E==="comma"&&a(fe)&&(fe=e.maybeMap(fe,function(ot){return ot instanceof Date?W(ot):ot})),fe===null){if(P)return $&&!ue?$(S,x.encoder,le,"key",V):S;fe=""}if(_(fe)||e.isBuffer(fe)){if($){var ye=ue?S:$(S,x.encoder,le,"key",V);return[ee(ye)+"="+ee($(fe,x.encoder,le,"value",V))]}return[ee(S)+"="+ee(String(fe))]}var Ie=[];if(typeof fe>"u")return Ie;var oe;if(E==="comma"&&a(fe))ue&&$&&(fe=e.maybeMap(fe,$)),oe=[{value:fe.length>0?fe.join(",")||null:void 0}];else if(a(G))oe=G;else{var we=Object.keys(fe);oe=re?we.sort(re):we}var Oe=q?String(S).replace(/\./g,"%2E"):String(S),Ue=R&&a(fe)&&fe.length===1?Oe+"[]":Oe;if(I&&a(fe)&&fe.length===0)return Ue+"[]";for(var We=0;We<oe.length;++We){var Se=oe[We],_e=typeof Se=="object"&&Se&&typeof Se.value<"u"?Se.value:fe[Se];if(!(j&&_e===null)){var Ce=F&&q?String(Se).replace(/\./g,"%2E"):String(Se),Te=a(fe)?typeof E=="function"?E(Ue,Ce):Ue:Ue+(F?"."+Ce:"["+Ce+"]");de.set(w,te);var Ne=r();Ne.set(v,de),f(Ie,T(_e,Te,E,R,I,P,j,q,E==="comma"&&ue&&a(fe)?null:$,G,re,F,W,V,ee,ue,le,Ne))}}return Ie},b=function(w){if(!w)return x;if(typeof w.allowEmptyArrays<"u"&&typeof w.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof w.encodeDotInKeys<"u"&&typeof w.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(w.encoder!==null&&typeof w.encoder<"u"&&typeof w.encoder!="function")throw new TypeError("Encoder has to be a function.");var S=w.charset||x.charset;if(typeof w.charset<"u"&&w.charset!=="utf-8"&&w.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var E=t.default;if(typeof w.format<"u"){if(!n.call(t.formatters,w.format))throw new TypeError("Unknown format option provided.");E=w.format}var R=t.formatters[E],I=x.filter;(typeof w.filter=="function"||a(w.filter))&&(I=w.filter);var P;if(w.arrayFormat in o?P=w.arrayFormat:"indices"in w?P=w.indices?"indices":"repeat":P=x.arrayFormat,"commaRoundTrip"in w&&typeof w.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var j=typeof w.allowDots>"u"?w.encodeDotInKeys===!0?!0:x.allowDots:!!w.allowDots;return{addQueryPrefix:typeof w.addQueryPrefix=="boolean"?w.addQueryPrefix:x.addQueryPrefix,allowDots:j,allowEmptyArrays:typeof w.allowEmptyArrays=="boolean"?!!w.allowEmptyArrays:x.allowEmptyArrays,arrayFormat:P,charset:S,charsetSentinel:typeof w.charsetSentinel=="boolean"?w.charsetSentinel:x.charsetSentinel,commaRoundTrip:!!w.commaRoundTrip,delimiter:typeof w.delimiter>"u"?x.delimiter:w.delimiter,encode:typeof w.encode=="boolean"?w.encode:x.encode,encodeDotInKeys:typeof w.encodeDotInKeys=="boolean"?w.encodeDotInKeys:x.encodeDotInKeys,encoder:typeof w.encoder=="function"?w.encoder:x.encoder,encodeValuesOnly:typeof w.encodeValuesOnly=="boolean"?w.encodeValuesOnly:x.encodeValuesOnly,filter:I,format:E,formatter:R,serializeDate:typeof w.serializeDate=="function"?w.serializeDate:x.serializeDate,skipNulls:typeof w.skipNulls=="boolean"?w.skipNulls:x.skipNulls,sort:typeof w.sort=="function"?w.sort:null,strictNullHandling:typeof w.strictNullHandling=="boolean"?w.strictNullHandling:x.strictNullHandling}};return z1=function(T,w){var S=T,E=b(w),R,I;typeof E.filter=="function"?(I=E.filter,S=I("",S)):a(E.filter)&&(I=E.filter,R=I);var P=[];if(typeof S!="object"||S===null)return"";var j=o[E.arrayFormat],q=j==="comma"&&E.commaRoundTrip;R||(R=Object.keys(S)),E.sort&&R.sort(E.sort);for(var $=r(),G=0;G<R.length;++G){var re=R[G],F=S[re];E.skipNulls&&F===null||f(P,y(F,re,j,q,E.allowEmptyArrays,E.strictNullHandling,E.skipNulls,E.encodeDotInKeys,E.encode?E.encoder:null,E.filter,E.sort,E.allowDots,E.serializeDate,E.format,E.formatter,E.encodeValuesOnly,E.charset,$))}var W=P.join(E.delimiter),V=E.addQueryPrefix===!0?"?":"";return E.charsetSentinel&&(E.charset==="iso-8859-1"?V+="utf8=%26%2310003%3B&":V+="utf8=%E2%9C%93&"),W.length>0?V+W:""},z1}var $1,Y_;function aF(){if(Y_)return $1;Y_=1;var r=jS(),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},o=function(v){return v.replace(/&#(\d+);/g,function(y,b){return String.fromCharCode(parseInt(b,10))})},a=function(v,y,b){if(v&&typeof v=="string"&&y.comma&&v.indexOf(",")>-1)return v.split(",");if(y.throwOnLimitExceeded&&b>=y.arrayLimit)throw new RangeError("Array limit exceeded. Only "+y.arrayLimit+" element"+(y.arrayLimit===1?"":"s")+" allowed in an array.");return v},u="utf8=%26%2310003%3B",f="utf8=%E2%9C%93",d=function(y,b){var T={__proto__:null},w=b.ignoreQueryPrefix?y.replace(/^\?/,""):y;w=w.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var S=b.parameterLimit===1/0?void 0:b.parameterLimit,E=w.split(b.delimiter,b.throwOnLimitExceeded?S+1:S);if(b.throwOnLimitExceeded&&E.length>S)throw new RangeError("Parameter limit exceeded. Only "+S+" parameter"+(S===1?"":"s")+" allowed.");var R=-1,I,P=b.charset;if(b.charsetSentinel)for(I=0;I<E.length;++I)E[I].indexOf("utf8=")===0&&(E[I]===f?P="utf-8":E[I]===u&&(P="iso-8859-1"),R=I,I=E.length);for(I=0;I<E.length;++I)if(I!==R){var j=E[I],q=j.indexOf("]="),$=q===-1?j.indexOf("="):q+1,G,re;$===-1?(G=b.decoder(j,n.decoder,P,"key"),re=b.strictNullHandling?null:""):(G=b.decoder(j.slice(0,$),n.decoder,P,"key"),re=r.maybeMap(a(j.slice($+1),b,t(T[G])?T[G].length:0),function(W){return b.decoder(W,n.decoder,P,"value")})),re&&b.interpretNumericEntities&&P==="iso-8859-1"&&(re=o(String(re))),j.indexOf("[]=")>-1&&(re=t(re)?[re]:re);var F=e.call(T,G);F&&b.duplicates==="combine"?T[G]=r.combine(T[G],re):(!F||b.duplicates==="last")&&(T[G]=re)}return T},h=function(v,y,b,T){var w=0;if(v.length>0&&v[v.length-1]==="[]"){var S=v.slice(0,-1).join("");w=Array.isArray(y)&&y[S]?y[S].length:0}for(var E=T?y:a(y,b,w),R=v.length-1;R>=0;--R){var I,P=v[R];if(P==="[]"&&b.parseArrays)I=b.allowEmptyArrays&&(E===""||b.strictNullHandling&&E===null)?[]:r.combine([],E);else{I=b.plainObjects?{__proto__:null}:{};var j=P.charAt(0)==="["&&P.charAt(P.length-1)==="]"?P.slice(1,-1):P,q=b.decodeDotInKeys?j.replace(/%2E/g,"."):j,$=parseInt(q,10);!b.parseArrays&&q===""?I={0:E}:!isNaN($)&&P!==q&&String($)===q&&$>=0&&b.parseArrays&&$<=b.arrayLimit?(I=[],I[$]=E):q!=="__proto__"&&(I[q]=E)}E=I}return E},x=function(y,b,T,w){if(y){var S=T.allowDots?y.replace(/\.([^.[]+)/g,"[$1]"):y,E=/(\[[^[\]]*])/,R=/(\[[^[\]]*])/g,I=T.depth>0&&E.exec(S),P=I?S.slice(0,I.index):S,j=[];if(P){if(!T.plainObjects&&e.call(Object.prototype,P)&&!T.allowPrototypes)return;j.push(P)}for(var q=0;T.depth>0&&(I=R.exec(S))!==null&&q<T.depth;){if(q+=1,!T.plainObjects&&e.call(Object.prototype,I[1].slice(1,-1))&&!T.allowPrototypes)return;j.push(I[1])}if(I){if(T.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+T.depth+" and strictDepth is true");j.push("["+S.slice(I.index)+"]")}return h(j,b,T,w)}},_=function(y){if(!y)return n;if(typeof y.allowEmptyArrays<"u"&&typeof y.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof y.decodeDotInKeys<"u"&&typeof y.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(y.decoder!==null&&typeof y.decoder<"u"&&typeof y.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof y.charset<"u"&&y.charset!=="utf-8"&&y.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof y.throwOnLimitExceeded<"u"&&typeof y.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var b=typeof y.charset>"u"?n.charset:y.charset,T=typeof y.duplicates>"u"?n.duplicates:y.duplicates;if(T!=="combine"&&T!=="first"&&T!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var w=typeof y.allowDots>"u"?y.decodeDotInKeys===!0?!0:n.allowDots:!!y.allowDots;return{allowDots:w,allowEmptyArrays:typeof y.allowEmptyArrays=="boolean"?!!y.allowEmptyArrays:n.allowEmptyArrays,allowPrototypes:typeof y.allowPrototypes=="boolean"?y.allowPrototypes:n.allowPrototypes,allowSparse:typeof y.allowSparse=="boolean"?y.allowSparse:n.allowSparse,arrayLimit:typeof y.arrayLimit=="number"?y.arrayLimit:n.arrayLimit,charset:b,charsetSentinel:typeof y.charsetSentinel=="boolean"?y.charsetSentinel:n.charsetSentinel,comma:typeof y.comma=="boolean"?y.comma:n.comma,decodeDotInKeys:typeof y.decodeDotInKeys=="boolean"?y.decodeDotInKeys:n.decodeDotInKeys,decoder:typeof y.decoder=="function"?y.decoder:n.decoder,delimiter:typeof y.delimiter=="string"||r.isRegExp(y.delimiter)?y.delimiter:n.delimiter,depth:typeof y.depth=="number"||y.depth===!1?+y.depth:n.depth,duplicates:T,ignoreQueryPrefix:y.ignoreQueryPrefix===!0,interpretNumericEntities:typeof y.interpretNumericEntities=="boolean"?y.interpretNumericEntities:n.interpretNumericEntities,parameterLimit:typeof y.parameterLimit=="number"?y.parameterLimit:n.parameterLimit,parseArrays:y.parseArrays!==!1,plainObjects:typeof y.plainObjects=="boolean"?y.plainObjects:n.plainObjects,strictDepth:typeof y.strictDepth=="boolean"?!!y.strictDepth:n.strictDepth,strictNullHandling:typeof y.strictNullHandling=="boolean"?y.strictNullHandling:n.strictNullHandling,throwOnLimitExceeded:typeof y.throwOnLimitExceeded=="boolean"?y.throwOnLimitExceeded:!1}};return $1=function(v,y){var b=_(y);if(v===""||v===null||typeof v>"u")return b.plainObjects?{__proto__:null}:{};for(var T=typeof v=="string"?d(v,b):v,w=b.plainObjects?{__proto__:null}:{},S=Object.keys(T),E=0;E<S.length;++E){var R=S[E],I=x(R,T[R],b,typeof v=="string");w=r.merge(w,I,b)}return b.allowSparse===!0?w:r.compact(w)},$1}var U1,X_;function lF(){if(X_)return U1;X_=1;var r=sF(),e=aF(),t=Qm();return U1={formats:t,parse:e,stringify:r},U1}var cF=lF();const uF=ka(cF),pm={StoredContexts:{},defaultHandler:()=>{}},FS={Init:()=>{},Create:r=>{const e=r.method+r.url;return pm.StoredContexts[e]=r,fF(r)},FetchBaseUrl:()=>window.location.href,useDefaultHandler:r=>{pm.defaultHandler=r}};function fF(r){const e=`[${r.method}] ${r.url}`;return{Call:async n=>{let{url:o,method:a,stream:u,paramType:f}=r;const{po:d,onStream:h,onStreamEnd:x,noDefaultHandle:_=[]}=n??{};(f==="query"||a==="GET")&&d!==void 0&&(o+="?"+uF.stringify(d,{arrayFormat:"comma"}));const v={method:a,headers:{Accept:"application/json;charset=UTF-8","X-Requested-With":"XMLHttpRequest","Cache-Control":"no-cache",Pragma:"no-cache",crossDomain:"true"}};if(f==="form"){const T=new FormData;if(d!==void 0)for(const w in d){const S=d[w];T.append(w,S)}v.body=T}else(f==="body"||f===void 0&&r.method!=="GET")&&(v.body=JSON.stringify(d),v.headers["Content-Type"]="application/json;charset=UTF-8");let y={errorCode:0,message:""};const b=Date.now();o=FS.FetchBaseUrl()+o;try{let T=await fetch(o,v);if(T.ok===!1)return y.errorCode=T.status,y.message=T.statusText,y;{const w=new TextDecoder("utf-8");if(u){if(T.body){let S=T.body.getReader(),E="";for(;;){const R=await S.read();if(R.done)break;const I=w.decode(R.value).trim();E+=I;let P=null;try{const j=I.split("\0");let q=j[j.length-1];for(let $=j.length-2;$>=0;$--)if(j[$].trim().length!==0){q=j[$];break}P=await JSON.parse(q)}catch{try{const q=E.split("\0");let $=q[q.length-1];for(let G=q.length-2;G>=0;G--)if(q[G].trim().length!==0){$=q[G];break}P=await JSON.parse($)}catch{}}if(P!=null&&(Object.keys(P).includes("err_code")?y.errorCode=P.err_code:(y.errorCode=0,y.data=P,E="",R.done?x==null||x(y.data):h==null||h(y.data))),R.done)break}}}else if(T.body){const E=await T.body.getReader().read(),R=w.decode(E.value);if(R==="null")return y;{let I=await JSON.parse(R.replaceAll("\0",""));Object.keys(I).includes("err_code")?(y.errorCode=I.err_code,y.message=I.err_msg):y.data=I}}}}catch(T){console.warn(T),y.errorCode=-1,y.message=T.message}return console.debug(`${e} ${Date.now()-b}ms`),_!==!0&&await pm.defaultHandler(y,_),y}}}async function dF(r){const e=new Promise((t,n)=>{const o=new FileReader;o.onloadend=()=>{o.result?typeof o.result=="string"?t(o.result):n(new Error("Failed to convert file to Base64: Invalid result type.")):n(new Error("Failed to convert file to Base64: Empty result."))},o.onerror=n,o.readAsDataURL(r)});try{return await e}catch{return}}function hF(r,e){var f,d;const t=r.split(","),n=(d=(f=t[0])==null?void 0:f.match(/:(.*?);/))==null?void 0:d[1],o=atob(t[1]);let a=o.length;const u=new Uint8Array(a);for(;a--;)u[a]=o.charCodeAt(a);return new File([u],e,{type:n})}const pF={toBase64:dF,toFile:hF};exports.ABase=Zr;exports.ABaseStyleKeys=b2;exports.AButton=Ho;exports.AButtonStyleKeys=x2;exports.AButtonTypes=ZE;exports.ACheckBox=ef;exports.ACheckBoxStyleKeys=A2;exports.AChip=_m;exports.AChipKeys=U2;exports.AChips=r5;exports.AClock=g5;exports.AColFrame=Z2;exports.ADatePicker=Cm;exports.ADatePickerStyleKeys=P2;exports.ADatePickerTypes=z6;exports.ADateRangePicker=xm;exports.ADateRangePickerStyleKeys=N2;exports.ADialog=X6;exports.ADialogStyleKeys=E2;exports.ADialogTypes=Y6;exports.ADivideFrame=Y2;exports.AEditor=$N;exports.AEditorStyleKeys=w2;exports.AFileBox=lk;exports.AFileBoxStyleKeys=O2;exports.AFileUploader=Ik;exports.AFloatMenu=Q2;exports.AFloatMenuKeys=H2;exports.AFrameStyleKeys=B2;exports.AGrow=ou;exports.AIcon=Nr;exports.AIconButton=mo;exports.AIconButtonStyleKeys=j2;exports.AIconButtonTypes=KE;exports.AIconHOC=tE;exports.AIcons=vm;exports.AInput=sc;exports.AInputStyleKeys=S2;exports.AInputTypes=k5;exports.AListView=qk;exports.AListViewStyleKeys=M2;exports.ALoadingBorder=Am;exports.ALoadingBorderKeys=q2;exports.AMultiSelect=g8;exports.AMultiSelectStyleKeys=k2;exports.ANumInput=Nk;exports.AOverflowFrame=Aa;exports.AProgressBar=a2;exports.ARadioSelect=e8;exports.ARadioSelectKeys=$2;exports.ARowFrame=En;exports.ASelect=ac;exports.ASelectStyleKeys=T2;exports.ASelectTypes=$5;exports.ASpace=Tn;exports.AStepper=I8;exports.AStepperStyleKeys=D2;exports.ASwitch=d2;exports.ASwitchFrame=K2;exports.ASwitchStyleKeys=I2;exports.ATab=rx;exports.ATabStyleKeys=L2;exports.ATabTypes=z8;exports.ATable=XR;exports.ATableStyleKeys=F2;exports.AText=ax;exports.ATextArea=l9;exports.ATextAreaStyleKeys=C2;exports.ATextAreaTypes=a9;exports.AThemeButton=xT;exports.AThemes=zf;exports.ATooltip=f2;exports.ATooltipStyleKeys=_2;exports.ATree=Ej;exports.ATreeStyleKeys=R2;exports.AWrap=ic;exports.AWrapKeys=z2;exports.AWrapTypes=tT;exports.ApiContext=FS;exports.BodyStyleKeys=y2;exports.CreateADC=nk;exports.DefaultOptionRenderer=tx;exports.EDir12=af;exports.EDir4=So;exports.FileSizeTrans=eu;exports.Icons=uh;exports.IsCursorPointer=n2;exports.IsFixedShape=r2;exports.IsInteractive=o2;exports.NoSelect=e2;exports.NoTransition=t2;exports.Resources=Ur;exports.SetResources=mE;exports.alphanumericRegex=o5;exports.bound=qf;exports.cbF=Lr;exports.changeSemanticMode=bm;exports.componentStyleKeys=hT;exports.createEvent=Xc;exports.dateF=Zt;exports.dbF=Fs;exports.defaultPredicate=ox;exports.dlgF=ok;exports.emailIdRegex=s5;exports.emailRegex=i5;exports.fileF=pF;exports.getMonthsOptions=td;exports.getYearsOptions=Sm;exports.hangulRegex=l5;exports.hexRegex=a5;exports.noHanguljamoRegex=u5;exports.noSpaceRegex=c5;exports.numF=ex;exports.objF=tr;exports.paletteKeys=h2;exports.paletteModes=fh;exports.passwordRegex=d5;exports.refinedDesignTokens=wo;exports.sF=Be;exports.semanticKeys=m2;exports.semanticModes=Qu;exports.setDir12Style=ym;exports.setDir12StyleElem=c2;exports.specialCharRegex=f5;exports.strF=J2;exports.tableF=il;exports.textMeasurement=Qc;exports.treeF=sl;exports.useADialogCore=tk;exports.useADialogCores=ek;exports.useDB=V2;exports.useEvent=sx;exports.useInit=nx;exports.useLayoutDB=G2;exports.useValues=dn;exports.uuidRegex=h5;
|
360
|
+
`+ae.prev}function Or(Ee,ae){var st=Oe(Ee),mt=[];if(st){mt.length=Ee.length;for(var Ft=0;Ft<Ee.length;Ft++)mt[Ft]=tt(Ee,Ft)?ae(Ee[Ft],Ee):""}var Rt=typeof W=="function"?W(Ee):[],Mt;if(ee){Mt={};for(var Qt=0;Qt<Rt.length;Qt++)Mt["$"+Rt[Qt]]=Rt[Qt]}for(var qt in Ee)tt(Ee,qt)&&(st&&String(Number(qt))===qt&&qt<Ee.length||ee&&Mt["$"+qt]instanceof Symbol||(j.call(/[^\w$]/,qt)?mt.push(ae(qt,Ee)+": "+ae(Ee[qt],Ee)):mt.push(qt+": "+ae(Ee[qt],Ee))));if(typeof W=="function")for(var sr=0;sr<Rt.length;sr++)le.call(Ee,Rt[sr])&&mt.push("["+ae(Rt[sr])+"]: "+ae(Ee[Rt[sr]],Ee));return mt}return t1}var r1,c_;function Mj(){if(c_)return r1;c_=1;var r=Rh(),e=uf(),t=function(f,d,h){for(var x=f,_;(_=x.next)!=null;x=_)if(_.key===d)return x.next=_.next,h||(_.next=f.next,f.next=_),_},n=function(f,d){if(f){var h=t(f,d);return h&&h.value}},o=function(f,d,h){var x=t(f,d);x?x.value=h:f.next={key:d,next:f.next,value:h}},a=function(f,d){return f?!!t(f,d):!1},u=function(f,d){if(f)return t(f,d,!0)};return r1=function(){var d,h={assert:function(x){if(!h.has(x))throw new e("Side channel does not contain "+r(x))},delete:function(x){var _=d&&d.next,v=u(d,x);return v&&_&&_===v&&(d=void 0),!!v},get:function(x){return n(d,x)},has:function(x){return a(d,x)},set:function(x,_){d||(d={next:void 0}),o(d,x,_)}};return h},r1}var n1,u_;function RS(){return u_||(u_=1,n1=Object),n1}var o1,f_;function Dj(){return f_||(f_=1,o1=Error),o1}var i1,d_;function Pj(){return d_||(d_=1,i1=EvalError),i1}var s1,h_;function Nj(){return h_||(h_=1,s1=RangeError),s1}var a1,p_;function jj(){return p_||(p_=1,a1=ReferenceError),a1}var l1,g_;function Fj(){return g_||(g_=1,l1=SyntaxError),l1}var c1,m_;function Bj(){return m_||(m_=1,c1=URIError),c1}var u1,v_;function Hj(){return v_||(v_=1,u1=Math.abs),u1}var f1,y_;function qj(){return y_||(y_=1,f1=Math.floor),f1}var d1,b_;function zj(){return b_||(b_=1,d1=Math.max),d1}var h1,__;function $j(){return __||(__=1,h1=Math.min),h1}var p1,x_;function Uj(){return x_||(x_=1,p1=Math.pow),p1}var g1,S_;function Wj(){return S_||(S_=1,g1=Math.round),g1}var m1,C_;function Vj(){return C_||(C_=1,m1=Number.isNaN||function(e){return e!==e}),m1}var v1,w_;function Gj(){if(w_)return v1;w_=1;var r=Vj();return v1=function(t){return r(t)||t===0?t:t<0?-1:1},v1}var y1,A_;function Zj(){return A_||(A_=1,y1=Object.getOwnPropertyDescriptor),y1}var b1,E_;function IS(){if(E_)return b1;E_=1;var r=Zj();if(r)try{r([],"length")}catch{r=null}return b1=r,b1}var _1,T_;function Kj(){if(T_)return _1;T_=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return _1=r,_1}var x1,k_;function Yj(){return k_||(k_=1,x1=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 o=42;e[t]=o;for(var a 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 f=Object.getOwnPropertyDescriptor(e,t);if(f.value!==o||f.enumerable!==!0)return!1}return!0}),x1}var S1,R_;function Xj(){if(R_)return S1;R_=1;var r=typeof Symbol<"u"&&Symbol,e=Yj();return S1=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},S1}var C1,I_;function LS(){return I_||(I_=1,C1=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),C1}var w1,L_;function OS(){if(L_)return w1;L_=1;var r=RS();return w1=r.getPrototypeOf||null,w1}var A1,O_;function Jj(){if(O_)return A1;O_=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,n="[object Function]",o=function(d,h){for(var x=[],_=0;_<d.length;_+=1)x[_]=d[_];for(var v=0;v<h.length;v+=1)x[v+d.length]=h[v];return x},a=function(d,h){for(var x=[],_=h,v=0;_<d.length;_+=1,v+=1)x[v]=d[_];return x},u=function(f,d){for(var h="",x=0;x<f.length;x+=1)h+=f[x],x+1<f.length&&(h+=d);return h};return A1=function(d){var h=this;if(typeof h!="function"||e.apply(h)!==n)throw new TypeError(r+h);for(var x=a(arguments,1),_,v=function(){if(this instanceof _){var S=h.apply(this,o(x,arguments));return Object(S)===S?S:this}return h.apply(d,o(x,arguments))},y=t(0,h.length-x.length),b=[],T=0;T<y;T++)b[T]="$"+T;if(_=Function("binder","return function ("+u(b,",")+"){ return binder.apply(this,arguments); }")(v),h.prototype){var w=function(){};w.prototype=h.prototype,_.prototype=new w,w.prototype=null}return _},A1}var E1,M_;function Ih(){if(M_)return E1;M_=1;var r=Jj();return E1=Function.prototype.bind||r,E1}var T1,D_;function Xm(){return D_||(D_=1,T1=Function.prototype.call),T1}var k1,P_;function MS(){return P_||(P_=1,k1=Function.prototype.apply),k1}var R1,N_;function Qj(){return N_||(N_=1,R1=typeof Reflect<"u"&&Reflect&&Reflect.apply),R1}var I1,j_;function eF(){if(j_)return I1;j_=1;var r=Ih(),e=MS(),t=Xm(),n=Qj();return I1=n||r.call(t,e),I1}var L1,F_;function DS(){if(F_)return L1;F_=1;var r=Ih(),e=uf(),t=Xm(),n=eF();return L1=function(a){if(a.length<1||typeof a[0]!="function")throw new e("a function is required");return n(r,t,a)},L1}var O1,B_;function tF(){if(B_)return O1;B_=1;var r=DS(),e=IS(),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__"),o=Object,a=o.getPrototypeOf;return O1=n&&typeof n.get=="function"?r([n.get]):typeof a=="function"?function(f){return a(f==null?f:o(f))}:!1,O1}var M1,H_;function rF(){if(H_)return M1;H_=1;var r=LS(),e=OS(),t=tF();return M1=r?function(o){return r(o)}:e?function(o){if(!o||typeof o!="object"&&typeof o!="function")throw new TypeError("getProto: not an object");return e(o)}:t?function(o){return t(o)}:null,M1}var D1,q_;function nF(){if(q_)return D1;q_=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=Ih();return D1=t.call(r,e),D1}var P1,z_;function Jm(){if(z_)return P1;z_=1;var r,e=RS(),t=Dj(),n=Pj(),o=Nj(),a=jj(),u=Fj(),f=uf(),d=Bj(),h=Hj(),x=qj(),_=zj(),v=$j(),y=Uj(),b=Wj(),T=Gj(),w=Function,S=function(We){try{return w('"use strict"; return ('+We+").constructor;")()}catch{}},E=IS(),R=Kj(),I=function(){throw new f},P=E?function(){try{return arguments.callee,I}catch{try{return E(arguments,"callee").get}catch{return I}}}():I,j=Xj()(),q=rF(),$=OS(),G=LS(),re=MS(),F=Xm(),W={},V=typeof Uint8Array>"u"||!q?r:q(Uint8Array),ee={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":j&&q?q([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":W,"%AsyncGenerator%":W,"%AsyncGeneratorFunction%":W,"%AsyncIteratorPrototype%":W,"%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%":w,"%GeneratorFunction%":W,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":j&&q?q(q([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!j||!q?r:q(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":E,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":o,"%ReferenceError%":a,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!j||!q?r:q(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":j&&q?q(""[Symbol.iterator]()):r,"%Symbol%":j?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":P,"%TypedArray%":V,"%TypeError%":f,"%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%":d,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":F,"%Function.prototype.apply%":re,"%Object.defineProperty%":R,"%Object.getPrototypeOf%":$,"%Math.abs%":h,"%Math.floor%":x,"%Math.max%":_,"%Math.min%":v,"%Math.pow%":y,"%Math.round%":b,"%Math.sign%":T,"%Reflect.getPrototypeOf%":G};if(q)try{null.error}catch(We){var ue=q(q(We));ee["%Error.prototype%"]=ue}var le=function We(Se){var _e;if(Se==="%AsyncFunction%")_e=S("async function () {}");else if(Se==="%GeneratorFunction%")_e=S("function* () {}");else if(Se==="%AsyncGeneratorFunction%")_e=S("async function* () {}");else if(Se==="%AsyncGenerator%"){var Ce=We("%AsyncGeneratorFunction%");Ce&&(_e=Ce.prototype)}else if(Se==="%AsyncIteratorPrototype%"){var Te=We("%AsyncGenerator%");Te&&q&&(_e=q(Te.prototype))}return ee[Se]=_e,_e},de={__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"]},fe=Ih(),ve=nF(),te=fe.call(F,Array.prototype.concat),ce=fe.call(re,Array.prototype.splice),pe=fe.call(F,String.prototype.replace),ye=fe.call(F,String.prototype.slice),Ie=fe.call(F,RegExp.prototype.exec),oe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,we=/\\(\\)?/g,Oe=function(Se){var _e=ye(Se,0,1),Ce=ye(Se,-1);if(_e==="%"&&Ce!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(Ce==="%"&&_e!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var Te=[];return pe(Se,oe,function(Ne,ot,$e,tt){Te[Te.length]=$e?pe(tt,we,"$1"):ot||Ne}),Te},Ue=function(Se,_e){var Ce=Se,Te;if(ve(de,Ce)&&(Te=de[Ce],Ce="%"+Te[0]+"%"),ve(ee,Ce)){var Ne=ee[Ce];if(Ne===W&&(Ne=le(Ce)),typeof Ne>"u"&&!_e)throw new f("intrinsic "+Se+" exists, but is not available. Please file an issue!");return{alias:Te,name:Ce,value:Ne}}throw new u("intrinsic "+Se+" does not exist!")};return P1=function(Se,_e){if(typeof Se!="string"||Se.length===0)throw new f("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof _e!="boolean")throw new f('"allowMissing" argument must be a boolean');if(Ie(/^%?[^%]*%?$/,Se)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Ce=Oe(Se),Te=Ce.length>0?Ce[0]:"",Ne=Ue("%"+Te+"%",_e),ot=Ne.name,$e=Ne.value,tt=!1,at=Ne.alias;at&&(Te=at[0],ce(Ce,te([0,1],at)));for(var De=1,Ke=!0;De<Ce.length;De+=1){var yt=Ce[De],bt=ye(yt,0,1),_t=ye(yt,-1);if((bt==='"'||bt==="'"||bt==="`"||_t==='"'||_t==="'"||_t==="`")&&bt!==_t)throw new u("property names with quotes must have matching quotes");if((yt==="constructor"||!Ke)&&(tt=!0),Te+="."+yt,ot="%"+Te+"%",ve(ee,ot))$e=ee[ot];else if($e!=null){if(!(yt in $e)){if(!_e)throw new f("base intrinsic for "+Se+" exists, but the property is not available.");return}if(E&&De+1>=Ce.length){var At=E($e,yt);Ke=!!At,Ke&&"get"in At&&!("originalValue"in At.get)?$e=At.get:$e=$e[yt]}else Ke=ve($e,yt),$e=$e[yt];Ke&&!tt&&(ee[ot]=$e)}}return $e},P1}var N1,$_;function PS(){if($_)return N1;$_=1;var r=Jm(),e=DS(),t=e([r("%String.prototype.indexOf%")]);return N1=function(o,a){var u=r(o,!!a);return typeof u=="function"&&t(o,".prototype.")>-1?e([u]):u},N1}var j1,U_;function NS(){if(U_)return j1;U_=1;var r=Jm(),e=PS(),t=Rh(),n=uf(),o=r("%Map%",!0),a=e("Map.prototype.get",!0),u=e("Map.prototype.set",!0),f=e("Map.prototype.has",!0),d=e("Map.prototype.delete",!0),h=e("Map.prototype.size",!0);return j1=!!o&&function(){var _,v={assert:function(y){if(!v.has(y))throw new n("Side channel does not contain "+t(y))},delete:function(y){if(_){var b=d(_,y);return h(_)===0&&(_=void 0),b}return!1},get:function(y){if(_)return a(_,y)},has:function(y){return _?f(_,y):!1},set:function(y,b){_||(_=new o),u(_,y,b)}};return v},j1}var F1,W_;function oF(){if(W_)return F1;W_=1;var r=Jm(),e=PS(),t=Rh(),n=NS(),o=uf(),a=r("%WeakMap%",!0),u=e("WeakMap.prototype.get",!0),f=e("WeakMap.prototype.set",!0),d=e("WeakMap.prototype.has",!0),h=e("WeakMap.prototype.delete",!0);return F1=a?function(){var _,v,y={assert:function(b){if(!y.has(b))throw new o("Side channel does not contain "+t(b))},delete:function(b){if(a&&b&&(typeof b=="object"||typeof b=="function")){if(_)return h(_,b)}else if(n&&v)return v.delete(b);return!1},get:function(b){return a&&b&&(typeof b=="object"||typeof b=="function")&&_?u(_,b):v&&v.get(b)},has:function(b){return a&&b&&(typeof b=="object"||typeof b=="function")&&_?d(_,b):!!v&&v.has(b)},set:function(b,T){a&&b&&(typeof b=="object"||typeof b=="function")?(_||(_=new a),f(_,b,T)):n&&(v||(v=n()),v.set(b,T))}};return y}:n,F1}var B1,V_;function iF(){if(V_)return B1;V_=1;var r=uf(),e=Rh(),t=Mj(),n=NS(),o=oF(),a=o||n||t;return B1=function(){var f,d={assert:function(h){if(!d.has(h))throw new r("Side channel does not contain "+e(h))},delete:function(h){return!!f&&f.delete(h)},get:function(h){return f&&f.get(h)},has:function(h){return!!f&&f.has(h)},set:function(h,x){f||(f=a()),f.set(h,x)}};return d},B1}var H1,G_;function Qm(){if(G_)return H1;G_=1;var r=String.prototype.replace,e=/%20/g,t={RFC1738:"RFC1738",RFC3986:"RFC3986"};return H1={default:t.RFC3986,formatters:{RFC1738:function(n){return r.call(n,e,"+")},RFC3986:function(n){return String(n)}},RFC1738:t.RFC1738,RFC3986:t.RFC3986},H1}var q1,Z_;function jS(){if(Z_)return q1;Z_=1;var r=Qm(),e=Object.prototype.hasOwnProperty,t=Array.isArray,n=function(){for(var w=[],S=0;S<256;++S)w.push("%"+((S<16?"0":"")+S.toString(16)).toUpperCase());return w}(),o=function(S){for(;S.length>1;){var E=S.pop(),R=E.obj[E.prop];if(t(R)){for(var I=[],P=0;P<R.length;++P)typeof R[P]<"u"&&I.push(R[P]);E.obj[E.prop]=I}}},a=function(S,E){for(var R=E&&E.plainObjects?{__proto__:null}:{},I=0;I<S.length;++I)typeof S[I]<"u"&&(R[I]=S[I]);return R},u=function w(S,E,R){if(!E)return S;if(typeof E!="object"&&typeof E!="function"){if(t(S))S.push(E);else if(S&&typeof S=="object")(R&&(R.plainObjects||R.allowPrototypes)||!e.call(Object.prototype,E))&&(S[E]=!0);else return[S,E];return S}if(!S||typeof S!="object")return[S].concat(E);var I=S;return t(S)&&!t(E)&&(I=a(S,R)),t(S)&&t(E)?(E.forEach(function(P,j){if(e.call(S,j)){var q=S[j];q&&typeof q=="object"&&P&&typeof P=="object"?S[j]=w(q,P,R):S.push(P)}else S[j]=P}),S):Object.keys(E).reduce(function(P,j){var q=E[j];return e.call(P,j)?P[j]=w(P[j],q,R):P[j]=q,P},I)},f=function(S,E){return Object.keys(E).reduce(function(R,I){return R[I]=E[I],R},S)},d=function(w,S,E){var R=w.replace(/\+/g," ");if(E==="iso-8859-1")return R.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(R)}catch{return R}},h=1024,x=function(S,E,R,I,P){if(S.length===0)return S;var j=S;if(typeof S=="symbol"?j=Symbol.prototype.toString.call(S):typeof S!="string"&&(j=String(S)),R==="iso-8859-1")return escape(j).replace(/%u[0-9a-f]{4}/gi,function(V){return"%26%23"+parseInt(V.slice(2),16)+"%3B"});for(var q="",$=0;$<j.length;$+=h){for(var G=j.length>=h?j.slice($,$+h):j,re=[],F=0;F<G.length;++F){var W=G.charCodeAt(F);if(W===45||W===46||W===95||W===126||W>=48&&W<=57||W>=65&&W<=90||W>=97&&W<=122||P===r.RFC1738&&(W===40||W===41)){re[re.length]=G.charAt(F);continue}if(W<128){re[re.length]=n[W];continue}if(W<2048){re[re.length]=n[192|W>>6]+n[128|W&63];continue}if(W<55296||W>=57344){re[re.length]=n[224|W>>12]+n[128|W>>6&63]+n[128|W&63];continue}F+=1,W=65536+((W&1023)<<10|G.charCodeAt(F)&1023),re[re.length]=n[240|W>>18]+n[128|W>>12&63]+n[128|W>>6&63]+n[128|W&63]}q+=re.join("")}return q},_=function(S){for(var E=[{obj:{o:S},prop:"o"}],R=[],I=0;I<E.length;++I)for(var P=E[I],j=P.obj[P.prop],q=Object.keys(j),$=0;$<q.length;++$){var G=q[$],re=j[G];typeof re=="object"&&re!==null&&R.indexOf(re)===-1&&(E.push({obj:j,prop:G}),R.push(re))}return o(E),S},v=function(S){return Object.prototype.toString.call(S)==="[object RegExp]"},y=function(S){return!S||typeof S!="object"?!1:!!(S.constructor&&S.constructor.isBuffer&&S.constructor.isBuffer(S))},b=function(S,E){return[].concat(S,E)},T=function(S,E){if(t(S)){for(var R=[],I=0;I<S.length;I+=1)R.push(E(S[I]));return R}return E(S)};return q1={arrayToObject:a,assign:f,combine:b,compact:_,decode:d,encode:x,isBuffer:y,isRegExp:v,maybeMap:T,merge:u},q1}var z1,K_;function sF(){if(K_)return z1;K_=1;var r=iF(),e=jS(),t=Qm(),n=Object.prototype.hasOwnProperty,o={brackets:function(w){return w+"[]"},comma:"comma",indices:function(w,S){return w+"["+S+"]"},repeat:function(w){return w}},a=Array.isArray,u=Array.prototype.push,f=function(T,w){u.apply(T,a(w)?w:[w])},d=Date.prototype.toISOString,h=t.default,x={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:h,formatter:t.formatters[h],indices:!1,serializeDate:function(w){return d.call(w)},skipNulls:!1,strictNullHandling:!1},_=function(w){return typeof w=="string"||typeof w=="number"||typeof w=="boolean"||typeof w=="symbol"||typeof w=="bigint"},v={},y=function T(w,S,E,R,I,P,j,q,$,G,re,F,W,V,ee,ue,le,de){for(var fe=w,ve=de,te=0,ce=!1;(ve=ve.get(v))!==void 0&&!ce;){var pe=ve.get(w);if(te+=1,typeof pe<"u"){if(pe===te)throw new RangeError("Cyclic object value");ce=!0}typeof ve.get(v)>"u"&&(te=0)}if(typeof G=="function"?fe=G(S,fe):fe instanceof Date?fe=W(fe):E==="comma"&&a(fe)&&(fe=e.maybeMap(fe,function(ot){return ot instanceof Date?W(ot):ot})),fe===null){if(P)return $&&!ue?$(S,x.encoder,le,"key",V):S;fe=""}if(_(fe)||e.isBuffer(fe)){if($){var ye=ue?S:$(S,x.encoder,le,"key",V);return[ee(ye)+"="+ee($(fe,x.encoder,le,"value",V))]}return[ee(S)+"="+ee(String(fe))]}var Ie=[];if(typeof fe>"u")return Ie;var oe;if(E==="comma"&&a(fe))ue&&$&&(fe=e.maybeMap(fe,$)),oe=[{value:fe.length>0?fe.join(",")||null:void 0}];else if(a(G))oe=G;else{var we=Object.keys(fe);oe=re?we.sort(re):we}var Oe=q?String(S).replace(/\./g,"%2E"):String(S),Ue=R&&a(fe)&&fe.length===1?Oe+"[]":Oe;if(I&&a(fe)&&fe.length===0)return Ue+"[]";for(var We=0;We<oe.length;++We){var Se=oe[We],_e=typeof Se=="object"&&Se&&typeof Se.value<"u"?Se.value:fe[Se];if(!(j&&_e===null)){var Ce=F&&q?String(Se).replace(/\./g,"%2E"):String(Se),Te=a(fe)?typeof E=="function"?E(Ue,Ce):Ue:Ue+(F?"."+Ce:"["+Ce+"]");de.set(w,te);var Ne=r();Ne.set(v,de),f(Ie,T(_e,Te,E,R,I,P,j,q,E==="comma"&&ue&&a(fe)?null:$,G,re,F,W,V,ee,ue,le,Ne))}}return Ie},b=function(w){if(!w)return x;if(typeof w.allowEmptyArrays<"u"&&typeof w.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof w.encodeDotInKeys<"u"&&typeof w.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(w.encoder!==null&&typeof w.encoder<"u"&&typeof w.encoder!="function")throw new TypeError("Encoder has to be a function.");var S=w.charset||x.charset;if(typeof w.charset<"u"&&w.charset!=="utf-8"&&w.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var E=t.default;if(typeof w.format<"u"){if(!n.call(t.formatters,w.format))throw new TypeError("Unknown format option provided.");E=w.format}var R=t.formatters[E],I=x.filter;(typeof w.filter=="function"||a(w.filter))&&(I=w.filter);var P;if(w.arrayFormat in o?P=w.arrayFormat:"indices"in w?P=w.indices?"indices":"repeat":P=x.arrayFormat,"commaRoundTrip"in w&&typeof w.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var j=typeof w.allowDots>"u"?w.encodeDotInKeys===!0?!0:x.allowDots:!!w.allowDots;return{addQueryPrefix:typeof w.addQueryPrefix=="boolean"?w.addQueryPrefix:x.addQueryPrefix,allowDots:j,allowEmptyArrays:typeof w.allowEmptyArrays=="boolean"?!!w.allowEmptyArrays:x.allowEmptyArrays,arrayFormat:P,charset:S,charsetSentinel:typeof w.charsetSentinel=="boolean"?w.charsetSentinel:x.charsetSentinel,commaRoundTrip:!!w.commaRoundTrip,delimiter:typeof w.delimiter>"u"?x.delimiter:w.delimiter,encode:typeof w.encode=="boolean"?w.encode:x.encode,encodeDotInKeys:typeof w.encodeDotInKeys=="boolean"?w.encodeDotInKeys:x.encodeDotInKeys,encoder:typeof w.encoder=="function"?w.encoder:x.encoder,encodeValuesOnly:typeof w.encodeValuesOnly=="boolean"?w.encodeValuesOnly:x.encodeValuesOnly,filter:I,format:E,formatter:R,serializeDate:typeof w.serializeDate=="function"?w.serializeDate:x.serializeDate,skipNulls:typeof w.skipNulls=="boolean"?w.skipNulls:x.skipNulls,sort:typeof w.sort=="function"?w.sort:null,strictNullHandling:typeof w.strictNullHandling=="boolean"?w.strictNullHandling:x.strictNullHandling}};return z1=function(T,w){var S=T,E=b(w),R,I;typeof E.filter=="function"?(I=E.filter,S=I("",S)):a(E.filter)&&(I=E.filter,R=I);var P=[];if(typeof S!="object"||S===null)return"";var j=o[E.arrayFormat],q=j==="comma"&&E.commaRoundTrip;R||(R=Object.keys(S)),E.sort&&R.sort(E.sort);for(var $=r(),G=0;G<R.length;++G){var re=R[G],F=S[re];E.skipNulls&&F===null||f(P,y(F,re,j,q,E.allowEmptyArrays,E.strictNullHandling,E.skipNulls,E.encodeDotInKeys,E.encode?E.encoder:null,E.filter,E.sort,E.allowDots,E.serializeDate,E.format,E.formatter,E.encodeValuesOnly,E.charset,$))}var W=P.join(E.delimiter),V=E.addQueryPrefix===!0?"?":"";return E.charsetSentinel&&(E.charset==="iso-8859-1"?V+="utf8=%26%2310003%3B&":V+="utf8=%E2%9C%93&"),W.length>0?V+W:""},z1}var $1,Y_;function aF(){if(Y_)return $1;Y_=1;var r=jS(),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},o=function(v){return v.replace(/&#(\d+);/g,function(y,b){return String.fromCharCode(parseInt(b,10))})},a=function(v,y,b){if(v&&typeof v=="string"&&y.comma&&v.indexOf(",")>-1)return v.split(",");if(y.throwOnLimitExceeded&&b>=y.arrayLimit)throw new RangeError("Array limit exceeded. Only "+y.arrayLimit+" element"+(y.arrayLimit===1?"":"s")+" allowed in an array.");return v},u="utf8=%26%2310003%3B",f="utf8=%E2%9C%93",d=function(y,b){var T={__proto__:null},w=b.ignoreQueryPrefix?y.replace(/^\?/,""):y;w=w.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var S=b.parameterLimit===1/0?void 0:b.parameterLimit,E=w.split(b.delimiter,b.throwOnLimitExceeded?S+1:S);if(b.throwOnLimitExceeded&&E.length>S)throw new RangeError("Parameter limit exceeded. Only "+S+" parameter"+(S===1?"":"s")+" allowed.");var R=-1,I,P=b.charset;if(b.charsetSentinel)for(I=0;I<E.length;++I)E[I].indexOf("utf8=")===0&&(E[I]===f?P="utf-8":E[I]===u&&(P="iso-8859-1"),R=I,I=E.length);for(I=0;I<E.length;++I)if(I!==R){var j=E[I],q=j.indexOf("]="),$=q===-1?j.indexOf("="):q+1,G,re;$===-1?(G=b.decoder(j,n.decoder,P,"key"),re=b.strictNullHandling?null:""):(G=b.decoder(j.slice(0,$),n.decoder,P,"key"),re=r.maybeMap(a(j.slice($+1),b,t(T[G])?T[G].length:0),function(W){return b.decoder(W,n.decoder,P,"value")})),re&&b.interpretNumericEntities&&P==="iso-8859-1"&&(re=o(String(re))),j.indexOf("[]=")>-1&&(re=t(re)?[re]:re);var F=e.call(T,G);F&&b.duplicates==="combine"?T[G]=r.combine(T[G],re):(!F||b.duplicates==="last")&&(T[G]=re)}return T},h=function(v,y,b,T){var w=0;if(v.length>0&&v[v.length-1]==="[]"){var S=v.slice(0,-1).join("");w=Array.isArray(y)&&y[S]?y[S].length:0}for(var E=T?y:a(y,b,w),R=v.length-1;R>=0;--R){var I,P=v[R];if(P==="[]"&&b.parseArrays)I=b.allowEmptyArrays&&(E===""||b.strictNullHandling&&E===null)?[]:r.combine([],E);else{I=b.plainObjects?{__proto__:null}:{};var j=P.charAt(0)==="["&&P.charAt(P.length-1)==="]"?P.slice(1,-1):P,q=b.decodeDotInKeys?j.replace(/%2E/g,"."):j,$=parseInt(q,10);!b.parseArrays&&q===""?I={0:E}:!isNaN($)&&P!==q&&String($)===q&&$>=0&&b.parseArrays&&$<=b.arrayLimit?(I=[],I[$]=E):q!=="__proto__"&&(I[q]=E)}E=I}return E},x=function(y,b,T,w){if(y){var S=T.allowDots?y.replace(/\.([^.[]+)/g,"[$1]"):y,E=/(\[[^[\]]*])/,R=/(\[[^[\]]*])/g,I=T.depth>0&&E.exec(S),P=I?S.slice(0,I.index):S,j=[];if(P){if(!T.plainObjects&&e.call(Object.prototype,P)&&!T.allowPrototypes)return;j.push(P)}for(var q=0;T.depth>0&&(I=R.exec(S))!==null&&q<T.depth;){if(q+=1,!T.plainObjects&&e.call(Object.prototype,I[1].slice(1,-1))&&!T.allowPrototypes)return;j.push(I[1])}if(I){if(T.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+T.depth+" and strictDepth is true");j.push("["+S.slice(I.index)+"]")}return h(j,b,T,w)}},_=function(y){if(!y)return n;if(typeof y.allowEmptyArrays<"u"&&typeof y.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof y.decodeDotInKeys<"u"&&typeof y.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(y.decoder!==null&&typeof y.decoder<"u"&&typeof y.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof y.charset<"u"&&y.charset!=="utf-8"&&y.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof y.throwOnLimitExceeded<"u"&&typeof y.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var b=typeof y.charset>"u"?n.charset:y.charset,T=typeof y.duplicates>"u"?n.duplicates:y.duplicates;if(T!=="combine"&&T!=="first"&&T!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var w=typeof y.allowDots>"u"?y.decodeDotInKeys===!0?!0:n.allowDots:!!y.allowDots;return{allowDots:w,allowEmptyArrays:typeof y.allowEmptyArrays=="boolean"?!!y.allowEmptyArrays:n.allowEmptyArrays,allowPrototypes:typeof y.allowPrototypes=="boolean"?y.allowPrototypes:n.allowPrototypes,allowSparse:typeof y.allowSparse=="boolean"?y.allowSparse:n.allowSparse,arrayLimit:typeof y.arrayLimit=="number"?y.arrayLimit:n.arrayLimit,charset:b,charsetSentinel:typeof y.charsetSentinel=="boolean"?y.charsetSentinel:n.charsetSentinel,comma:typeof y.comma=="boolean"?y.comma:n.comma,decodeDotInKeys:typeof y.decodeDotInKeys=="boolean"?y.decodeDotInKeys:n.decodeDotInKeys,decoder:typeof y.decoder=="function"?y.decoder:n.decoder,delimiter:typeof y.delimiter=="string"||r.isRegExp(y.delimiter)?y.delimiter:n.delimiter,depth:typeof y.depth=="number"||y.depth===!1?+y.depth:n.depth,duplicates:T,ignoreQueryPrefix:y.ignoreQueryPrefix===!0,interpretNumericEntities:typeof y.interpretNumericEntities=="boolean"?y.interpretNumericEntities:n.interpretNumericEntities,parameterLimit:typeof y.parameterLimit=="number"?y.parameterLimit:n.parameterLimit,parseArrays:y.parseArrays!==!1,plainObjects:typeof y.plainObjects=="boolean"?y.plainObjects:n.plainObjects,strictDepth:typeof y.strictDepth=="boolean"?!!y.strictDepth:n.strictDepth,strictNullHandling:typeof y.strictNullHandling=="boolean"?y.strictNullHandling:n.strictNullHandling,throwOnLimitExceeded:typeof y.throwOnLimitExceeded=="boolean"?y.throwOnLimitExceeded:!1}};return $1=function(v,y){var b=_(y);if(v===""||v===null||typeof v>"u")return b.plainObjects?{__proto__:null}:{};for(var T=typeof v=="string"?d(v,b):v,w=b.plainObjects?{__proto__:null}:{},S=Object.keys(T),E=0;E<S.length;++E){var R=S[E],I=x(R,T[R],b,typeof v=="string");w=r.merge(w,I,b)}return b.allowSparse===!0?w:r.compact(w)},$1}var U1,X_;function lF(){if(X_)return U1;X_=1;var r=sF(),e=aF(),t=Qm();return U1={formats:t,parse:e,stringify:r},U1}var cF=lF();const uF=ka(cF),pm={StoredContexts:{},defaultHandler:()=>{}},FS={Init:()=>{},Create:r=>{const e=r.method+r.url;return pm.StoredContexts[e]=r,fF(r)},FetchBaseUrl:()=>window.location.href,useDefaultHandler:r=>{pm.defaultHandler=r}};function fF(r){const e=`[${r.method}] ${r.url}`;return{Call:async n=>{let{url:o,method:a,stream:u,paramType:f}=r;const{po:d,onStream:h,onStreamEnd:x,noDefaultHandle:_=[]}=n??{};(f==="query"||a==="GET")&&d!==void 0&&(o+="?"+uF.stringify(d,{arrayFormat:"comma"}));const v={method:a,headers:{Accept:"application/json;charset=UTF-8","X-Requested-With":"XMLHttpRequest","Cache-Control":"no-cache",Pragma:"no-cache",crossDomain:"true"}};if(f==="form"){const T=new FormData;if(d!==void 0)for(const w in d){const S=d[w];T.append(w,S)}v.body=T}else(f==="body"||f===void 0&&r.method!=="GET")&&(v.body=JSON.stringify(d),v.headers["Content-Type"]="application/json;charset=UTF-8");let y={errorCode:0,message:""};const b=Date.now();o=FS.FetchBaseUrl()+o;try{let T=await fetch(o,v);if(T.ok===!1)return y.errorCode=T.status,y.message=T.statusText,y;{const w=new TextDecoder("utf-8");if(u){if(T.body){let S=T.body.getReader(),E="";for(;;){const R=await S.read();if(R.done)break;const I=w.decode(R.value).trim();E+=I;let P=null;try{const j=I.split("\0");let q=j[j.length-1];for(let $=j.length-2;$>=0;$--)if(j[$].trim().length!==0){q=j[$];break}P=await JSON.parse(q)}catch{try{const q=E.split("\0");let $=q[q.length-1];for(let G=q.length-2;G>=0;G--)if(q[G].trim().length!==0){$=q[G];break}P=await JSON.parse($)}catch{}}if(P!=null&&(Object.keys(P).includes("err_code")?y.errorCode=P.err_code:(y.errorCode=0,y.data=P,E="",R.done?x==null||x(y.data):h==null||h(y.data))),R.done)break}}}else if(T.body){const E=await T.body.getReader().read(),R=w.decode(E.value);if(R==="null")return y;{let I=await JSON.parse(R.replaceAll("\0",""));Object.keys(I).includes("err_code")?(y.errorCode=I.err_code,y.message=I.err_msg):y.data=I}}}}catch(T){console.warn(T),y.errorCode=-1,y.message=T.message}return console.debug(`${e} ${Date.now()-b}ms`),_!==!0&&await pm.defaultHandler(y,_),y}}}async function dF(r){const e=new Promise((t,n)=>{const o=new FileReader;o.onloadend=()=>{o.result?typeof o.result=="string"?t(o.result):n(new Error("Failed to convert file to Base64: Invalid result type.")):n(new Error("Failed to convert file to Base64: Empty result."))},o.onerror=n,o.readAsDataURL(r)});try{return await e}catch{return}}function hF(r,e){var f,d;const t=r.split(","),n=(d=(f=t[0])==null?void 0:f.match(/:(.*?);/))==null?void 0:d[1],o=atob(t[1]);let a=o.length;const u=new Uint8Array(a);for(;a--;)u[a]=o.charCodeAt(a);return new File([u],e,{type:n})}const pF={toBase64:dF,toFile:hF};exports.ABase=Zr;exports.ABaseStyleKeys=b2;exports.AButton=Ho;exports.AButtonStyleKeys=x2;exports.AButtonTypes=ZE;exports.ACheckBox=ef;exports.ACheckBoxStyleKeys=A2;exports.AChip=_m;exports.AChipKeys=U2;exports.AChips=r5;exports.AClock=g5;exports.AColFrame=Z2;exports.ADatePicker=Cm;exports.ADatePickerStyleKeys=P2;exports.ADatePickerTypes=z6;exports.ADateRangePicker=xm;exports.ADateRangePickerStyleKeys=N2;exports.ADialog=X6;exports.ADialogStyleKeys=E2;exports.ADialogTypes=Y6;exports.ADivideFrame=Y2;exports.AEditor=$N;exports.AEditorStyleKeys=w2;exports.AFileBox=lk;exports.AFileBoxStyleKeys=O2;exports.AFileUploader=Ik;exports.AFloatMenu=Q2;exports.AFloatMenuKeys=H2;exports.AFrameStyleKeys=B2;exports.AGrow=ou;exports.AIcon=Nr;exports.AIconButton=mo;exports.AIconButtonStyleKeys=j2;exports.AIconButtonTypes=KE;exports.AIconHOC=tE;exports.AIcons=vm;exports.AInput=sc;exports.AInputStyleKeys=S2;exports.AInputTypes=k5;exports.AListView=qk;exports.AListViewStyleKeys=M2;exports.ALoadingBorder=Am;exports.ALoadingBorderKeys=q2;exports.AMultiSelect=g8;exports.AMultiSelectStyleKeys=k2;exports.ANumInput=Nk;exports.AOverflowFrame=Aa;exports.AProgressBar=a2;exports.ARadioSelect=e8;exports.ARadioSelectKeys=$2;exports.ARowFrame=En;exports.ASelect=ac;exports.ASelectStyleKeys=T2;exports.ASelectTypes=$5;exports.ASpace=Tn;exports.AStepper=I8;exports.AStepperStyleKeys=D2;exports.ASwitch=d2;exports.ASwitchFrame=K2;exports.ASwitchStyleKeys=I2;exports.ATab=rx;exports.ATabStyleKeys=L2;exports.ATabTypes=z8;exports.ATable=XR;exports.ATableStyleKeys=F2;exports.AText=ax;exports.ATextArea=l9;exports.ATextAreaStyleKeys=C2;exports.ATextAreaTypes=a9;exports.AThemeButton=xT;exports.AThemes=zf;exports.ATooltip=f2;exports.ATooltipStyleKeys=_2;exports.ATree=Ej;exports.ATreeStyleKeys=R2;exports.AWrap=ic;exports.AWrapKeys=z2;exports.AWrapTypes=tT;exports.ApiContext=FS;exports.BodyStyleKeys=y2;exports.CreateADC=nk;exports.DefaultOptionRenderer=tx;exports.EDir12=af;exports.EDir4=So;exports.FileSizeTrans=eu;exports.Icons=uh;exports.IsCursorPointer=n2;exports.IsFixedShape=r2;exports.IsInteractive=o2;exports.NoSelect=e2;exports.NoTransition=t2;exports.Resources=Ur;exports.SetResources=mE;exports.alphanumericRegex=o5;exports.bound=qf;exports.cbF=Lr;exports.changeSemanticMode=bm;exports.componentStyleKeys=hT;exports.createEvent=Xc;exports.dateF=Zt;exports.dbF=Fs;exports.defaultPredicate=ox;exports.dlgF=ok;exports.emailIdRegex=s5;exports.emailRegex=i5;exports.fileF=pF;exports.getMonthsOptions=td;exports.getYearsOptions=Sm;exports.hangulRegex=l5;exports.hexRegex=a5;exports.noHanguljamoRegex=u5;exports.noSpaceRegex=c5;exports.numF=ex;exports.objF=tr;exports.paletteKeys=h2;exports.paletteModes=fh;exports.passwordRegex=d5;exports.refinedDesignTokens=wo;exports.sF=Be;exports.semanticKeys=m2;exports.semanticModes=Qu;exports.setDir12Style=ym;exports.setDir12StyleElem=c2;exports.specialCharRegex=f5;exports.strF=J2;exports.tableF=il;exports.textMeasurement=Qc;exports.treeF=sl;exports.useADialogCore=tk;exports.useADialogCores=ek;exports.useDB=V2;exports.useEvent=sx;exports.useInit=nx;exports.useLayoutDB=G2;exports.useValues=dn;exports.uuidRegex=h5;
|