ados-rcm 1.1.384 → 1.1.385

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.
@@ -0,0 +1,353 @@
1
+ "use strict";var JA=Object.defineProperty;var QA=(r,e,t)=>e in r?JA(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var at=(r,e,t)=>QA(r,typeof e!="symbol"?e+"":e,t);const k=require("react"),Bs=require("react-dom");var yi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ol(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function e4(r){if(r.__esModule)return r;var e=r.default;if(typeof e=="function"){var t=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return r[n]}})}),t}var _d={exports:{}},wf={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var Fv;function t4(){if(Fv)return wf;Fv=1;var r=k,e=Symbol.for("react.element"),t=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(h,g,m){var M,T={},C=null,_=null;m!==void 0&&(C=""+m),g.key!==void 0&&(C=""+g.key),g.ref!==void 0&&(_=g.ref);for(M in g)n.call(g,M)&&!l.hasOwnProperty(M)&&(T[M]=g[M]);if(h&&h.defaultProps)for(M in g=h.defaultProps,g)T[M]===void 0&&(T[M]=g[M]);return{$$typeof:e,type:h,key:C,ref:_,props:T,_owner:i.current}}return wf.Fragment=t,wf.jsx=u,wf.jsxs=u,wf}var Af={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var Bv;function r4(){return Bv||(Bv=1,process.env.NODE_ENV!=="production"&&function(){var r=k,e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),h=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),S=Symbol.iterator,D="@@iterator";function A(K){if(K===null||typeof K!="object")return null;var Pe=S&&K[S]||K[D];return typeof Pe=="function"?Pe:null}var b=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(K){{for(var Pe=arguments.length,tt=new Array(Pe>1?Pe-1:0),It=1;It<Pe;It++)tt[It-1]=arguments[It];O("error",K,tt)}}function O(K,Pe,tt){{var It=b.ReactDebugCurrentFrame,Yt=It.getStackAddendum();Yt!==""&&(Pe+="%s",tt=tt.concat([Yt]));var zt=tt.map(function(yt){return String(yt)});zt.unshift("Warning: "+Pe),Function.prototype.apply.call(console[K],console,zt)}}var q=!1,H=!1,G=!1,Y=!1,de=!1,X;X=Symbol.for("react.module.reference");function ue(K){return!!(typeof K=="string"||typeof K=="function"||K===n||K===l||de||K===i||K===m||K===M||Y||K===_||q||H||G||typeof K=="object"&&K!==null&&(K.$$typeof===C||K.$$typeof===T||K.$$typeof===u||K.$$typeof===h||K.$$typeof===g||K.$$typeof===X||K.getModuleId!==void 0))}function P(K,Pe,tt){var It=K.displayName;if(It)return It;var Yt=Pe.displayName||Pe.name||"";return Yt!==""?tt+"("+Yt+")":tt}function re(K){return K.displayName||"Context"}function J(K){if(K==null)return null;if(typeof K.tag=="number"&&R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof K=="function")return K.displayName||K.name||null;if(typeof K=="string")return K;switch(K){case n:return"Fragment";case t:return"Portal";case l:return"Profiler";case i:return"StrictMode";case m:return"Suspense";case M:return"SuspenseList"}if(typeof K=="object")switch(K.$$typeof){case h:var Pe=K;return re(Pe)+".Consumer";case u:var tt=K;return re(tt._context)+".Provider";case g:return P(K,K.render,"ForwardRef");case T:var It=K.displayName||null;return It!==null?It:J(K.type)||"Memo";case C:{var Yt=K,zt=Yt._payload,yt=Yt._init;try{return J(yt(zt))}catch{return null}}}return null}var ne=Object.assign,oe=0,ce,ve,ae,ge,he,Se,Oe;function Be(){}Be.__reactDisabledLog=!0;function Ke(){{if(oe===0){ce=console.log,ve=console.info,ae=console.warn,ge=console.error,he=console.group,Se=console.groupCollapsed,Oe=console.groupEnd;var K={configurable:!0,enumerable:!0,value:Be,writable:!0};Object.defineProperties(console,{info:K,log:K,warn:K,error:K,group:K,groupCollapsed:K,groupEnd:K})}oe++}}function Te(){{if(oe--,oe===0){var K={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ne({},K,{value:ce}),info:ne({},K,{value:ve}),warn:ne({},K,{value:ae}),error:ne({},K,{value:ge}),group:ne({},K,{value:he}),groupCollapsed:ne({},K,{value:Se}),groupEnd:ne({},K,{value:Oe})})}oe<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var lt=b.ReactCurrentDispatcher,gt;function Xe(K,Pe,tt){{if(gt===void 0)try{throw Error()}catch(Yt){var It=Yt.stack.trim().match(/\n( *(at )?)/);gt=It&&It[1]||""}return`
18
+ `+gt+K}}var Ge=!1,Le;{var Re=typeof WeakMap=="function"?WeakMap:Map;Le=new Re}function ke(K,Pe){if(!K||Ge)return"";{var tt=Le.get(K);if(tt!==void 0)return tt}var It;Ge=!0;var Yt=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var zt;zt=lt.current,lt.current=null,Ke();try{if(Pe){var yt=function(){throw Error()};if(Object.defineProperty(yt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(yt,[])}catch(Sn){It=Sn}Reflect.construct(K,[],yt)}else{try{yt.call()}catch(Sn){It=Sn}K.call(yt.prototype)}}else{try{throw Error()}catch(Sn){It=Sn}K()}}catch(Sn){if(Sn&&It&&typeof Sn.stack=="string"){for(var Kt=Sn.stack.split(`
19
+ `),Tr=It.stack.split(`
20
+ `),ur=Kt.length-1,hr=Tr.length-1;ur>=1&&hr>=0&&Kt[ur]!==Tr[hr];)hr--;for(;ur>=1&&hr>=0;ur--,hr--)if(Kt[ur]!==Tr[hr]){if(ur!==1||hr!==1)do if(ur--,hr--,hr<0||Kt[ur]!==Tr[hr]){var $r=`
21
+ `+Kt[ur].replace(" at new "," at ");return K.displayName&&$r.includes("<anonymous>")&&($r=$r.replace("<anonymous>",K.displayName)),typeof K=="function"&&Le.set(K,$r),$r}while(ur>=1&&hr>=0);break}}}finally{Ge=!1,lt.current=zt,Te(),Error.prepareStackTrace=Yt}var vr=K?K.displayName||K.name:"",Gn=vr?Xe(vr):"";return typeof K=="function"&&Le.set(K,Gn),Gn}function He(K,Pe,tt){return ke(K,!1)}function Ie(K){var Pe=K.prototype;return!!(Pe&&Pe.isReactComponent)}function rt(K,Pe,tt){if(K==null)return"";if(typeof K=="function")return ke(K,Ie(K));if(typeof K=="string")return Xe(K);switch(K){case m:return Xe("Suspense");case M:return Xe("SuspenseList")}if(typeof K=="object")switch(K.$$typeof){case g:return He(K.render);case T:return rt(K.type,Pe,tt);case C:{var It=K,Yt=It._payload,zt=It._init;try{return rt(zt(Yt),Pe,tt)}catch{}}}return""}var ft=Object.prototype.hasOwnProperty,kt={},wt=b.ReactDebugCurrentFrame;function bt(K){if(K){var Pe=K._owner,tt=rt(K.type,K._source,Pe?Pe.type:null);wt.setExtraStackFrame(tt)}else wt.setExtraStackFrame(null)}function Mt(K,Pe,tt,It,Yt){{var zt=Function.call.bind(ft);for(var yt in K)if(zt(K,yt)){var Kt=void 0;try{if(typeof K[yt]!="function"){var Tr=Error((It||"React class")+": "+tt+" type `"+yt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof K[yt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Tr.name="Invariant Violation",Tr}Kt=K[yt](Pe,yt,It,tt,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ur){Kt=ur}Kt&&!(Kt instanceof Error)&&(bt(Yt),R("%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).",It||"React class",tt,yt,typeof Kt),bt(null)),Kt instanceof Error&&!(Kt.message in kt)&&(kt[Kt.message]=!0,bt(Yt),R("Failed %s type: %s",tt,Kt.message),bt(null))}}}var Rt=Array.isArray;function dt(K){return Rt(K)}function ct(K){{var Pe=typeof Symbol=="function"&&Symbol.toStringTag,tt=Pe&&K[Symbol.toStringTag]||K.constructor.name||"Object";return tt}}function Ct(K){try{return Me(K),!1}catch{return!0}}function Me(K){return""+K}function mt(K){if(Ct(K))return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ct(K)),Me(K)}var _t=b.ReactCurrentOwner,Dt={key:!0,ref:!0,__self:!0,__source:!0},Bt,$e;function Tt(K){if(ft.call(K,"ref")){var Pe=Object.getOwnPropertyDescriptor(K,"ref").get;if(Pe&&Pe.isReactWarning)return!1}return K.ref!==void 0}function jt(K){if(ft.call(K,"key")){var Pe=Object.getOwnPropertyDescriptor(K,"key").get;if(Pe&&Pe.isReactWarning)return!1}return K.key!==void 0}function pr(K,Pe){typeof K.ref=="string"&&_t.current}function or(K,Pe){{var tt=function(){Bt||(Bt=!0,R("%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)",Pe))};tt.isReactWarning=!0,Object.defineProperty(K,"key",{get:tt,configurable:!0})}}function Lr(K,Pe){{var tt=function(){$e||($e=!0,R("%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)",Pe))};tt.isReactWarning=!0,Object.defineProperty(K,"ref",{get:tt,configurable:!0})}}var me=function(K,Pe,tt,It,Yt,zt,yt){var Kt={$$typeof:e,type:K,key:Pe,ref:tt,props:yt,_owner:zt};return Kt._store={},Object.defineProperty(Kt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Kt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:It}),Object.defineProperty(Kt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Yt}),Object.freeze&&(Object.freeze(Kt.props),Object.freeze(Kt)),Kt};function te(K,Pe,tt,It,Yt){{var zt,yt={},Kt=null,Tr=null;tt!==void 0&&(mt(tt),Kt=""+tt),jt(Pe)&&(mt(Pe.key),Kt=""+Pe.key),Tt(Pe)&&(Tr=Pe.ref,pr(Pe,Yt));for(zt in Pe)ft.call(Pe,zt)&&!Dt.hasOwnProperty(zt)&&(yt[zt]=Pe[zt]);if(K&&K.defaultProps){var ur=K.defaultProps;for(zt in ur)yt[zt]===void 0&&(yt[zt]=ur[zt])}if(Kt||Tr){var hr=typeof K=="function"?K.displayName||K.name||"Unknown":K;Kt&&or(yt,hr),Tr&&Lr(yt,hr)}return me(K,Kt,Tr,Yt,It,_t.current,yt)}}var ye=b.ReactCurrentOwner,xe=b.ReactDebugCurrentFrame;function vt(K){if(K){var Pe=K._owner,tt=rt(K.type,K._source,Pe?Pe.type:null);xe.setExtraStackFrame(tt)}else xe.setExtraStackFrame(null)}var et;et=!1;function ot(K){return typeof K=="object"&&K!==null&&K.$$typeof===e}function Et(){{if(ye.current){var K=J(ye.current.type);if(K)return`
22
+
23
+ Check the render method of \``+K+"`."}return""}}function At(K){return""}var Jt={};function Ht(K){{var Pe=Et();if(!Pe){var tt=typeof K=="string"?K:K.displayName||K.name;tt&&(Pe=`
24
+
25
+ Check the top-level render call using <`+tt+">.")}return Pe}}function Ut(K,Pe){{if(!K._store||K._store.validated||K.key!=null)return;K._store.validated=!0;var tt=Ht(Pe);if(Jt[tt])return;Jt[tt]=!0;var It="";K&&K._owner&&K._owner!==ye.current&&(It=" It was passed a child from "+J(K._owner.type)+"."),vt(K),R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',tt,It),vt(null)}}function qt(K,Pe){{if(typeof K!="object")return;if(dt(K))for(var tt=0;tt<K.length;tt++){var It=K[tt];ot(It)&&Ut(It,Pe)}else if(ot(K))K._store&&(K._store.validated=!0);else if(K){var Yt=A(K);if(typeof Yt=="function"&&Yt!==K.entries)for(var zt=Yt.call(K),yt;!(yt=zt.next()).done;)ot(yt.value)&&Ut(yt.value,Pe)}}}function tr(K){{var Pe=K.type;if(Pe==null||typeof Pe=="string")return;var tt;if(typeof Pe=="function")tt=Pe.propTypes;else if(typeof Pe=="object"&&(Pe.$$typeof===g||Pe.$$typeof===T))tt=Pe.propTypes;else return;if(tt){var It=J(Pe);Mt(tt,K.props,"prop",It,K)}else if(Pe.PropTypes!==void 0&&!et){et=!0;var Yt=J(Pe);R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Yt||"Unknown")}typeof Pe.getDefaultProps=="function"&&!Pe.getDefaultProps.isReactClassApproved&&R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ar(K){{for(var Pe=Object.keys(K.props),tt=0;tt<Pe.length;tt++){var It=Pe[tt];if(It!=="children"&&It!=="key"){vt(K),R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",It),vt(null);break}}K.ref!==null&&(vt(K),R("Invalid attribute `ref` supplied to `React.Fragment`."),vt(null))}}function Je(K,Pe,tt,It,Yt,zt){{var yt=ue(K);if(!yt){var Kt="";(K===void 0||typeof K=="object"&&K!==null&&Object.keys(K).length===0)&&(Kt+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Tr=At();Tr?Kt+=Tr:Kt+=Et();var ur;K===null?ur="null":dt(K)?ur="array":K!==void 0&&K.$$typeof===e?(ur="<"+(J(K.type)||"Unknown")+" />",Kt=" Did you accidentally export a JSX literal instead of a component?"):ur=typeof K,R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ur,Kt)}var hr=te(K,Pe,tt,Yt,zt);if(hr==null)return hr;if(yt){var $r=Pe.children;if($r!==void 0)if(It)if(dt($r)){for(var vr=0;vr<$r.length;vr++)qt($r[vr],K);Object.freeze&&Object.freeze($r)}else R("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 qt($r,K)}return K===n?Ar(hr):tr(hr),hr}}function Qe(K,Pe,tt){return Je(K,Pe,tt,!0)}function ht(K,Pe,tt){return Je(K,Pe,tt,!1)}var Ne=ht,xt=Qe;Af.Fragment=n,Af.jsx=Ne,Af.jsxs=xt}()),Af}var Hv;function n4(){return Hv||(Hv=1,process.env.NODE_ENV==="production"?_d.exports=t4():_d.exports=r4()),_d.exports}var v=n4(),Mf={exports:{}};/**
26
+ * @license
27
+ * Lodash <https://lodash.com/>
28
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
29
+ * Released under MIT license <https://lodash.com/license>
30
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
31
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
32
+ */var i4=Mf.exports,qv;function o4(){return qv||(qv=1,function(r,e){(function(){var t,n="4.17.21",i=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",h="Invalid `variable` option passed into `_.template`",g="__lodash_hash_undefined__",m=500,M="__lodash_placeholder__",T=1,C=2,_=4,S=1,D=2,A=1,b=2,R=4,O=8,q=16,H=32,G=64,Y=128,de=256,X=512,ue=30,P="...",re=800,J=16,ne=1,oe=2,ce=3,ve=1/0,ae=9007199254740991,ge=17976931348623157e292,he=NaN,Se=4294967295,Oe=Se-1,Be=Se>>>1,Ke=[["ary",Y],["bind",A],["bindKey",b],["curry",O],["curryRight",q],["flip",X],["partial",H],["partialRight",G],["rearg",de]],Te="[object Arguments]",lt="[object Array]",gt="[object AsyncFunction]",Xe="[object Boolean]",Ge="[object Date]",Le="[object DOMException]",Re="[object Error]",ke="[object Function]",He="[object GeneratorFunction]",Ie="[object Map]",rt="[object Number]",ft="[object Null]",kt="[object Object]",wt="[object Promise]",bt="[object Proxy]",Mt="[object RegExp]",Rt="[object Set]",dt="[object String]",ct="[object Symbol]",Ct="[object Undefined]",Me="[object WeakMap]",mt="[object WeakSet]",_t="[object ArrayBuffer]",Dt="[object DataView]",Bt="[object Float32Array]",$e="[object Float64Array]",Tt="[object Int8Array]",jt="[object Int16Array]",pr="[object Int32Array]",or="[object Uint8Array]",Lr="[object Uint8ClampedArray]",me="[object Uint16Array]",te="[object Uint32Array]",ye=/\b__p \+= '';/g,xe=/\b(__p \+=) '' \+/g,vt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,et=/&(?:amp|lt|gt|quot|#39);/g,ot=/[&<>"']/g,Et=RegExp(et.source),At=RegExp(ot.source),Jt=/<%-([\s\S]+?)%>/g,Ht=/<%([\s\S]+?)%>/g,Ut=/<%=([\s\S]+?)%>/g,qt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,tr=/^\w*$/,Ar=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Je=/[\\^$.*+?()[\]{}|]/g,Qe=RegExp(Je.source),ht=/^\s+/,Ne=/\s/,xt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,K=/\{\n\/\* \[wrapped with (.+)\] \*/,Pe=/,? & /,tt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,It=/[()=,{}\[\]\/\s]/,Yt=/\\(\\)?/g,zt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,yt=/\w*$/,Kt=/^[-+]0x[0-9a-f]+$/i,Tr=/^0b[01]+$/i,ur=/^\[object .+?Constructor\]$/,hr=/^0o[0-7]+$/i,$r=/^(?:0|[1-9]\d*)$/,vr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Gn=/($^)/,Sn=/['\n\r\u2028\u2029\\]/g,Mn="\\ud800-\\udfff",Kr="\\u0300-\\u036f",Zn="\\ufe20-\\ufe2f",Tn="\\u20d0-\\u20ff",Yn=Kr+Zn+Tn,Kn="\\u2700-\\u27bf",nn="a-z\\xdf-\\xf6\\xf8-\\xff",Dn="\\xac\\xb1\\xd7\\xf7",Cn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",di="\\u2000-\\u206f",_i=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",xi="A-Z\\xc0-\\xd6\\xd8-\\xde",En="\\ufe0e\\ufe0f",wn=Dn+Cn+di+_i,cn="['’]",Xn="["+Mn+"]",on="["+wn+"]",dn="["+Yn+"]",x="\\d+",j="["+Kn+"]",W="["+nn+"]",Q="[^"+Mn+wn+x+Kn+nn+xi+"]",Ae="\\ud83c[\\udffb-\\udfff]",_e="(?:"+dn+"|"+Ae+")",je="[^"+Mn+"]",nt="(?:\\ud83c[\\udde6-\\uddff]){2}",Lt="[\\ud800-\\udbff][\\udc00-\\udfff]",Ft="["+xi+"]",Nt="\\u200d",_r="(?:"+W+"|"+Q+")",Zr="(?:"+Ft+"|"+Q+")",vn="(?:"+cn+"(?:d|ll|m|re|s|t|ve))?",yn="(?:"+cn+"(?:D|LL|M|RE|S|T|VE))?",ai=_e+"?",jn="["+En+"]?",Si="(?:"+Nt+"(?:"+[je,nt,Lt].join("|")+")"+jn+ai+")*",Xr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",hi="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Fn=jn+ai+Si,Jn="(?:"+[j,nt,Lt].join("|")+")"+Fn,yo="(?:"+[je+dn+"?",dn,nt,Lt,Xn].join("|")+")",eo=RegExp(cn,"g"),to=RegExp(dn,"g"),kn=RegExp(Ae+"(?="+Ae+")|"+yo+Fn,"g"),bo=RegExp([Ft+"?"+W+"+"+vn+"(?="+[on,Ft,"$"].join("|")+")",Zr+"+"+yn+"(?="+[on,Ft+_r,"$"].join("|")+")",Ft+"?"+_r+"+"+vn,Ft+"+"+yn,hi,Xr,x,Jn].join("|"),"g"),Qn=RegExp("["+Nt+Mn+Yn+En+"]"),ei=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,qi=["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"],Or=-1,Sr={};Sr[Bt]=Sr[$e]=Sr[Tt]=Sr[jt]=Sr[pr]=Sr[or]=Sr[Lr]=Sr[me]=Sr[te]=!0,Sr[Te]=Sr[lt]=Sr[_t]=Sr[Xe]=Sr[Dt]=Sr[Ge]=Sr[Re]=Sr[ke]=Sr[Ie]=Sr[rt]=Sr[kt]=Sr[Mt]=Sr[Rt]=Sr[dt]=Sr[Me]=!1;var Mr={};Mr[Te]=Mr[lt]=Mr[_t]=Mr[Dt]=Mr[Xe]=Mr[Ge]=Mr[Bt]=Mr[$e]=Mr[Tt]=Mr[jt]=Mr[pr]=Mr[Ie]=Mr[rt]=Mr[kt]=Mr[Mt]=Mr[Rt]=Mr[dt]=Mr[ct]=Mr[or]=Mr[Lr]=Mr[me]=Mr[te]=!0,Mr[Re]=Mr[ke]=Mr[Me]=!1;var I={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},V={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},le={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Fe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Xt=parseFloat,Wt=parseInt,gr=typeof yi=="object"&&yi&&yi.Object===Object&&yi,xr=typeof self=="object"&&self&&self.Object===Object&&self,fr=gr||xr||Function("return this")(),Cr=e&&!e.nodeType&&e,Jr=Cr&&!0&&r&&!r.nodeType&&r,Rn=Jr&&Jr.exports===Cr,Vr=Rn&&gr.process,Br=function(){try{var pe=Jr&&Jr.require&&Jr.require("util").types;return pe||Vr&&Vr.binding&&Vr.binding("util")}catch{}}(),Qr=Br&&Br.isArrayBuffer,li=Br&&Br.isDate,pi=Br&&Br.isMap,Bn=Br&&Br.isRegExp,_o=Br&&Br.isSet,zi=Br&&Br.isTypedArray;function sn(pe,ze,De){switch(De.length){case 0:return pe.call(ze);case 1:return pe.call(ze,De[0]);case 2:return pe.call(ze,De[0],De[1]);case 3:return pe.call(ze,De[0],De[1],De[2])}return pe.apply(ze,De)}function hs(pe,ze,De,Ot){for(var ir=-1,Pr=pe==null?0:pe.length;++ir<Pr;){var bn=pe[ir];ze(Ot,bn,De(bn),pe)}return Ot}function Hn(pe,ze){for(var De=-1,Ot=pe==null?0:pe.length;++De<Ot&&ze(pe[De],De,pe)!==!1;);return pe}function cl(pe,ze){for(var De=pe==null?0:pe.length;De--&&ze(pe[De],De,pe)!==!1;);return pe}function wa(pe,ze){for(var De=-1,Ot=pe==null?0:pe.length;++De<Ot;)if(!ze(pe[De],De,pe))return!1;return!0}function $i(pe,ze){for(var De=-1,Ot=pe==null?0:pe.length,ir=0,Pr=[];++De<Ot;){var bn=pe[De];ze(bn,De,pe)&&(Pr[ir++]=bn)}return Pr}function xo(pe,ze){var De=pe==null?0:pe.length;return!!De&&So(pe,ze,0)>-1}function qn(pe,ze,De){for(var Ot=-1,ir=pe==null?0:pe.length;++Ot<ir;)if(De(ze,pe[Ot]))return!0;return!1}function Yr(pe,ze){for(var De=-1,Ot=pe==null?0:pe.length,ir=Array(Ot);++De<Ot;)ir[De]=ze(pe[De],De,pe);return ir}function Ci(pe,ze){for(var De=-1,Ot=ze.length,ir=pe.length;++De<Ot;)pe[ir+De]=ze[De];return pe}function Aa(pe,ze,De,Ot){var ir=-1,Pr=pe==null?0:pe.length;for(Ot&&Pr&&(De=pe[++ir]);++ir<Pr;)De=ze(De,pe[ir],ir,pe);return De}function ul(pe,ze,De,Ot){var ir=pe==null?0:pe.length;for(Ot&&ir&&(De=pe[--ir]);ir--;)De=ze(De,pe[ir],ir,pe);return De}function zo(pe,ze){for(var De=-1,Ot=pe==null?0:pe.length;++De<Ot;)if(ze(pe[De],De,pe))return!0;return!1}var fl=w("length");function dl(pe){return pe.split("")}function Vs(pe){return pe.match(tt)||[]}function ps(pe,ze,De){var Ot;return De(pe,function(ir,Pr,bn){if(ze(ir,Pr,bn))return Ot=Pr,!1}),Ot}function gs(pe,ze,De,Ot){for(var ir=pe.length,Pr=De+(Ot?1:-1);Ot?Pr--:++Pr<ir;)if(ze(pe[Pr],Pr,pe))return Pr;return-1}function So(pe,ze,De){return ze===ze?nf(pe,ze,De):gs(pe,Gs,De)}function hl(pe,ze,De,Ot){for(var ir=De-1,Pr=pe.length;++ir<Pr;)if(Ot(pe[ir],ze))return ir;return-1}function Gs(pe){return pe!==pe}function Ta(pe,ze){var De=pe==null?0:pe.length;return De?Ee(pe,ze)/De:he}function w(pe){return function(ze){return ze==null?t:ze[pe]}}function N(pe){return function(ze){return pe==null?t:pe[ze]}}function z(pe,ze,De,Ot,ir){return ir(pe,function(Pr,bn,Ur){De=Ot?(Ot=!1,Pr):ze(De,Pr,bn,Ur)}),De}function ee(pe,ze){var De=pe.length;for(pe.sort(ze);De--;)pe[De]=pe[De].value;return pe}function Ee(pe,ze){for(var De,Ot=-1,ir=pe.length;++Ot<ir;){var Pr=ze(pe[Ot]);Pr!==t&&(De=De===t?Pr:De+Pr)}return De}function we(pe,ze){for(var De=-1,Ot=Array(pe);++De<pe;)Ot[De]=ze(De);return Ot}function We(pe,ze){return Yr(ze,function(De){return[De,pe[De]]})}function pt(pe){return pe&&pe.slice(0,iu(pe)+1).replace(ht,"")}function $t(pe){return function(ze){return pe(ze)}}function dr(pe,ze){return Yr(ze,function(De){return pe[De]})}function sr(pe,ze){return pe.has(ze)}function Gr(pe,ze){for(var De=-1,Ot=pe.length;++De<Ot&&So(ze,pe[De],0)>-1;);return De}function ti(pe,ze){for(var De=pe.length;De--&&So(ze,pe[De],0)>-1;);return De}function wi(pe,ze){for(var De=pe.length,Ot=0;De--;)pe[De]===ze&&++Ot;return Ot}var Ai=N(I),Zs=N(V);function pl(pe){return"\\"+Fe[pe]}function ms(pe,ze){return pe==null?t:pe[ze]}function Ys(pe){return Qn.test(pe)}function tf(pe){return ei.test(pe)}function nc(pe){for(var ze,De=[];!(ze=pe.next()).done;)De.push(ze.value);return De}function ic(pe){var ze=-1,De=Array(pe.size);return pe.forEach(function(Ot,ir){De[++ze]=[ir,Ot]}),De}function nu(pe,ze){return function(De){return pe(ze(De))}}function Co(pe,ze){for(var De=-1,Ot=pe.length,ir=0,Pr=[];++De<Ot;){var bn=pe[De];(bn===ze||bn===M)&&(pe[De]=M,Pr[ir++]=De)}return Pr}function Ea(pe){var ze=-1,De=Array(pe.size);return pe.forEach(function(Ot){De[++ze]=Ot}),De}function rf(pe){var ze=-1,De=Array(pe.size);return pe.forEach(function(Ot){De[++ze]=[Ot,Ot]}),De}function nf(pe,ze,De){for(var Ot=De-1,ir=pe.length;++Ot<ir;)if(pe[Ot]===ze)return Ot;return-1}function of(pe,ze,De){for(var Ot=De+1;Ot--;)if(pe[Ot]===ze)return Ot;return Ot}function Ks(pe){return Ys(pe)?gl(pe):fl(pe)}function un(pe){return Ys(pe)?Ti(pe):dl(pe)}function iu(pe){for(var ze=pe.length;ze--&&Ne.test(pe.charAt(ze)););return ze}var ou=N(le);function gl(pe){for(var ze=kn.lastIndex=0;kn.test(pe);)++ze;return ze}function Ti(pe){return pe.match(kn)||[]}function su(pe){return pe.match(bo)||[]}var ml=function pe(ze){ze=ze==null?fr:wo.defaults(fr.Object(),ze,wo.pick(fr,qi));var De=ze.Array,Ot=ze.Date,ir=ze.Error,Pr=ze.Function,bn=ze.Math,Ur=ze.Object,Xs=ze.RegExp,au=ze.String,Ni=ze.TypeError,vl=De.prototype,sf=Pr.prototype,$o=Ur.prototype,en=ze["__core-js_shared__"],Uo=sf.toString,zr=$o.hasOwnProperty,oc=0,an=function(){var o=/[^.]+$/.exec(en&&en.keys&&en.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),Ao=$o.toString,sc=Uo.call(Ur),ac=fr._,lc=Xs("^"+Uo.call(zr).replace(Je,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Js=Rn?ze.Buffer:t,To=ze.Symbol,ka=ze.Uint8Array,Ra=Js?Js.allocUnsafe:t,vs=nu(Ur.getPrototypeOf,Ur),Qs=Ur.create,yl=$o.propertyIsEnumerable,Eo=vl.splice,bl=To?To.isConcatSpreadable:t,Ui=To?To.iterator:t,ko=To?To.toStringTag:t,Wo=function(){try{var o=jc(Ur,"defineProperty");return o({},"",{}),o}catch{}}(),af=ze.clearTimeout!==fr.clearTimeout&&ze.clearTimeout,Ia=Ot&&Ot.now!==fr.Date.now&&Ot.now,lu=ze.setTimeout!==fr.setTimeout&&ze.setTimeout,ea=bn.ceil,ys=bn.floor,ta=Ur.getOwnPropertySymbols,_l=Js?Js.isBuffer:t,ra=ze.isFinite,La=vl.join,cu=nu(Ur.keys,Ur),ln=bn.max,In=bn.min,Vo=Ot.now,cc=ze.parseInt,Go=bn.random,xl=vl.reverse,ro=jc(ze,"DataView"),Zo=jc(ze,"Map"),na=jc(ze,"Promise"),no=jc(ze,"Set"),Ro=jc(ze,"WeakMap"),ia=jc(Ur,"create"),Ma=Ro&&new Ro,bs={},Yo=Fc(ro),uc=Fc(Zo),lf=Fc(na),uu=Fc(no),oa=Fc(Ro),Ko=To?To.prototype:t,_s=Ko?Ko.valueOf:t,Da=Ko?Ko.toString:t;function $(o){if(Pn(o)&&!br(o)&&!(o instanceof yr)){if(o instanceof ri)return o;if(zr.call(o,"__wrapped__"))return nv(o)}return new ri(o)}var Io=function(){function o(){}return function(a){if(!Ln(a))return{};if(Qs)return Qs(a);o.prototype=a;var p=new o;return o.prototype=t,p}}();function Lo(){}function ri(o,a){this.__wrapped__=o,this.__actions__=[],this.__chain__=!!a,this.__index__=0,this.__values__=t}$.templateSettings={escape:Jt,evaluate:Ht,interpolate:Ut,variable:"",imports:{_:$}},$.prototype=Lo.prototype,$.prototype.constructor=$,ri.prototype=Io(Lo.prototype),ri.prototype.constructor=ri;function yr(o){this.__wrapped__=o,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Se,this.__views__=[]}function Sl(){var o=new yr(this.__wrapped__);return o.__actions__=ii(this.__actions__),o.__dir__=this.__dir__,o.__filtered__=this.__filtered__,o.__iteratees__=ii(this.__iteratees__),o.__takeCount__=this.__takeCount__,o.__views__=ii(this.__views__),o}function Oa(){if(this.__filtered__){var o=new yr(this);o.__dir__=-1,o.__filtered__=!0}else o=this.clone(),o.__dir__*=-1;return o}function Cl(){var o=this.__wrapped__.value(),a=this.__dir__,p=br(o),E=a<0,B=p?o.length:0,Z=AS(0,B,this.__views__),se=Z.start,fe=Z.end,be=fe-se,Ze=E?fe:se-1,Ye=this.__iteratees__,st=Ye.length,Pt=0,Qt=In(be,this.__takeCount__);if(!p||!E&&B==be&&Qt==be)return ni(o,this.__actions__);var lr=[];e:for(;be--&&Pt<Qt;){Ze+=a;for(var kr=-1,cr=o[Ze];++kr<st;){var jr=Ye[kr],qr=jr.iteratee,jo=jr.type,Xi=qr(cr);if(jo==oe)cr=Xi;else if(!Xi){if(jo==ne)continue e;break e}}lr[Pt++]=cr}return lr}yr.prototype=Io(Lo.prototype),yr.prototype.constructor=yr;function io(o){var a=-1,p=o==null?0:o.length;for(this.clear();++a<p;){var E=o[a];this.set(E[0],E[1])}}function fc(){this.__data__=ia?ia(null):{},this.size=0}function fu(o){var a=this.has(o)&&delete this.__data__[o];return this.size-=a?1:0,a}function du(o){var a=this.__data__;if(ia){var p=a[o];return p===g?t:p}return zr.call(a,o)?a[o]:t}function hu(o){var a=this.__data__;return ia?a[o]!==t:zr.call(a,o)}function cf(o,a){var p=this.__data__;return this.size+=this.has(o)?0:1,p[o]=ia&&a===t?g:a,this}io.prototype.clear=fc,io.prototype.delete=fu,io.prototype.get=du,io.prototype.has=hu,io.prototype.set=cf;function oo(o){var a=-1,p=o==null?0:o.length;for(this.clear();++a<p;){var E=o[a];this.set(E[0],E[1])}}function uf(){this.__data__=[],this.size=0}function ff(o){var a=this.__data__,p=Wi(a,o);if(p<0)return!1;var E=a.length-1;return p==E?a.pop():Eo.call(a,p,1),--this.size,!0}function dc(o){var a=this.__data__,p=Wi(a,o);return p<0?t:a[p][1]}function Pa(o){return Wi(this.__data__,o)>-1}function df(o,a){var p=this.__data__,E=Wi(p,o);return E<0?(++this.size,p.push([o,a])):p[E][1]=a,this}oo.prototype.clear=uf,oo.prototype.delete=ff,oo.prototype.get=dc,oo.prototype.has=Pa,oo.prototype.set=df;function Mo(o){var a=-1,p=o==null?0:o.length;for(this.clear();++a<p;){var E=o[a];this.set(E[0],E[1])}}function hc(){this.size=0,this.__data__={hash:new io,map:new(Zo||oo),string:new io}}function wl(o){var a=ud(this,o).delete(o);return this.size-=a?1:0,a}function hf(o){return ud(this,o).get(o)}function pf(o){return ud(this,o).has(o)}function gf(o,a){var p=ud(this,o),E=p.size;return p.set(o,a),this.size+=p.size==E?0:1,this}Mo.prototype.clear=hc,Mo.prototype.delete=wl,Mo.prototype.get=hf,Mo.prototype.has=pf,Mo.prototype.set=gf;function ci(o){var a=-1,p=o==null?0:o.length;for(this.__data__=new Mo;++a<p;)this.add(o[a])}function pc(o){return this.__data__.set(o,g),this}function Al(o){return this.__data__.has(o)}ci.prototype.add=ci.prototype.push=pc,ci.prototype.has=Al;function Er(o){var a=this.__data__=new oo(o);this.size=a.size}function Ei(){this.__data__=new oo,this.size=0}function sa(o){var a=this.__data__,p=a.delete(o);return this.size=a.size,p}function xs(o){return this.__data__.get(o)}function Nr(o){return this.__data__.has(o)}function Xo(o,a){var p=this.__data__;if(p instanceof oo){var E=p.__data__;if(!Zo||E.length<i-1)return E.push([o,a]),this.size=++p.size,this;p=this.__data__=new Mo(E)}return p.set(o,a),this.size=p.size,this}Er.prototype.clear=Ei,Er.prototype.delete=sa,Er.prototype.get=xs,Er.prototype.has=Nr,Er.prototype.set=Xo;function Na(o,a){var p=br(o),E=!p&&Bc(o),B=!p&&!E&&$l(o),Z=!p&&!E&&!B&&Eu(o),se=p||E||B||Z,fe=se?we(o.length,au):[],be=fe.length;for(var Ze in o)(a||zr.call(o,Ze))&&!(se&&(Ze=="length"||B&&(Ze=="offset"||Ze=="parent")||Z&&(Ze=="buffer"||Ze=="byteLength"||Ze=="byteOffset")||Za(Ze,be)))&&fe.push(Ze);return fe}function gi(o){var a=o.length;return a?o[ks(0,a-1)]:t}function ki(o,a){return fd(ii(o),Cs(a,0,o.length))}function so(o){return fd(ii(o))}function gc(o,a,p){(p!==t&&!Is(o[a],p)||p===t&&!(a in o))&&Ri(o,a,p)}function ui(o,a,p){var E=o[a];(!(zr.call(o,a)&&Is(E,p))||p===t&&!(a in o))&&Ri(o,a,p)}function Wi(o,a){for(var p=o.length;p--;)if(Is(o[p][0],a))return p;return-1}function Ss(o,a,p,E){return Jo(o,function(B,Z,se){a(E,B,p(B),se)}),E}function pu(o,a){return o&&Yi(a,mi(a),o)}function mc(o,a){return o&&Yi(a,po(a),o)}function Ri(o,a,p){a=="__proto__"&&Wo?Wo(o,a,{configurable:!0,enumerable:!0,value:p,writable:!0}):o[a]=p}function vc(o,a){for(var p=-1,E=a.length,B=De(E),Z=o==null;++p<E;)B[p]=Z?t:Fh(o,a[p]);return B}function Cs(o,a,p){return o===o&&(p!==t&&(o=o<=p?o:p),a!==t&&(o=o>=a?o:a)),o}function fi(o,a,p,E,B,Z){var se,fe=a&T,be=a&C,Ze=a&_;if(p&&(se=B?p(o,E,B,Z):p(o)),se!==t)return se;if(!Ln(o))return o;var Ye=br(o);if(Ye){if(se=ES(o),!fe)return ii(o,se)}else{var st=ji(o),Pt=st==ke||st==He;if($l(o))return pa(o,fe);if(st==kt||st==Te||Pt&&!B){if(se=be||Pt?{}:Zm(o),!fe)return be?Au(o,mc(se,o)):bf(o,pu(se,o))}else{if(!Mr[st])return B?o:{};se=kS(o,st,fe)}}Z||(Z=new Er);var Qt=Z.get(o);if(Qt)return Qt;Z.set(o,se),Cv(o)?o.forEach(function(cr){se.add(fi(cr,a,p,cr,o,Z))}):xv(o)&&o.forEach(function(cr,jr){se.set(jr,fi(cr,a,p,jr,o,Z))});var lr=Ze?be?wh:Ch:be?po:mi,kr=Ye?t:lr(o);return Hn(kr||o,function(cr,jr){kr&&(jr=cr,cr=o[jr]),ui(se,jr,fi(cr,a,p,jr,o,Z))}),se}function yc(o){var a=mi(o);return function(p){return bc(p,o,a)}}function bc(o,a,p){var E=p.length;if(o==null)return!E;for(o=Ur(o);E--;){var B=p[E],Z=a[B],se=o[B];if(se===t&&!(B in o)||!Z(se))return!1}return!0}function _c(o,a,p){if(typeof o!="function")throw new Ni(u);return Sf(function(){o.apply(t,p)},a)}function ws(o,a,p,E){var B=-1,Z=xo,se=!0,fe=o.length,be=[],Ze=a.length;if(!fe)return be;p&&(a=Yr(a,$t(p))),E?(Z=qn,se=!1):a.length>=i&&(Z=sr,se=!1,a=new ci(a));e:for(;++B<fe;){var Ye=o[B],st=p==null?Ye:p(Ye);if(Ye=E||Ye!==0?Ye:0,se&&st===st){for(var Pt=Ze;Pt--;)if(a[Pt]===st)continue e;be.push(Ye)}else Z(a,st,E)||be.push(Ye)}return be}var Jo=s(Ii),xc=s(El,!0);function gu(o,a){var p=!0;return Jo(o,function(E,B,Z){return p=!!a(E,B,Z),p}),p}function Tl(o,a,p){for(var E=-1,B=o.length;++E<B;){var Z=o[E],se=a(Z);if(se!=null&&(fe===t?se===se&&!No(se):p(se,fe)))var fe=se,be=Z}return be}function mf(o,a,p,E){var B=o.length;for(p=wr(p),p<0&&(p=-p>B?0:B+p),E=E===t||E>B?B:wr(E),E<0&&(E+=B),E=p>E?0:Av(E);p<E;)o[p++]=a;return o}function mu(o,a){var p=[];return Jo(o,function(E,B,Z){a(E,B,Z)&&p.push(E)}),p}function zn(o,a,p,E,B){var Z=-1,se=o.length;for(p||(p=IS),B||(B=[]);++Z<se;){var fe=o[Z];a>0&&p(fe)?a>1?zn(fe,a-1,p,E,B):Ci(B,fe):E||(B[B.length]=fe)}return B}var Sc=c(),vu=c(!0);function Ii(o,a){return o&&Sc(o,a,mi)}function El(o,a){return o&&vu(o,a,mi)}function aa(o,a){return $i(a,function(p){return Ya(o[p])})}function Qo(o,a){a=Po(a,o);for(var p=0,E=a.length;o!=null&&p<E;)o=o[ga(a[p++])];return p&&p==E?o:t}function ja(o,a,p){var E=a(o);return br(o)?E:Ci(E,p(o))}function On(o){return o==null?o===t?Ct:ft:ko&&ko in Ur(o)?wS(o):jS(o)}function As(o,a){return o>a}function kl(o,a){return o!=null&&zr.call(o,a)}function la(o,a){return o!=null&&a in Ur(o)}function Rl(o,a,p){return o>=In(a,p)&&o<ln(a,p)}function ca(o,a,p){for(var E=p?qn:xo,B=o[0].length,Z=o.length,se=Z,fe=De(Z),be=1/0,Ze=[];se--;){var Ye=o[se];se&&a&&(Ye=Yr(Ye,$t(a))),be=In(Ye.length,be),fe[se]=!p&&(a||B>=120&&Ye.length>=120)?new ci(se&&Ye):t}Ye=o[0];var st=-1,Pt=fe[0];e:for(;++st<B&&Ze.length<be;){var Qt=Ye[st],lr=a?a(Qt):Qt;if(Qt=p||Qt!==0?Qt:0,!(Pt?sr(Pt,lr):E(Ze,lr,p))){for(se=Z;--se;){var kr=fe[se];if(!(kr?sr(kr,lr):E(o[se],lr,p)))continue e}Pt&&Pt.push(lr),Ze.push(Qt)}}return Ze}function Il(o,a,p,E){return Ii(o,function(B,Z,se){a(E,p(B),Z,se)}),E}function ao(o,a,p){a=Po(a,o),o=Jm(o,a);var E=o==null?o:o[ga(os(a))];return E==null?t:sn(E,o,p)}function Ll(o){return Pn(o)&&On(o)==Te}function Ts(o){return Pn(o)&&On(o)==_t}function yu(o){return Pn(o)&&On(o)==Ge}function Fa(o,a,p,E,B){return o===a?!0:o==null||a==null||!Pn(o)&&!Pn(a)?o!==o&&a!==a:ua(o,a,p,E,Fa,B)}function ua(o,a,p,E,B,Z){var se=br(o),fe=br(a),be=se?lt:ji(o),Ze=fe?lt:ji(a);be=be==Te?kt:be,Ze=Ze==Te?kt:Ze;var Ye=be==kt,st=Ze==kt,Pt=be==Ze;if(Pt&&$l(o)){if(!$l(a))return!1;se=!0,Ye=!1}if(Pt&&!Ye)return Z||(Z=new Er),se||Eu(o)?Wm(o,a,p,E,B,Z):SS(o,a,be,p,E,B,Z);if(!(p&S)){var Qt=Ye&&zr.call(o,"__wrapped__"),lr=st&&zr.call(a,"__wrapped__");if(Qt||lr){var kr=Qt?o.value():o,cr=lr?a.value():a;return Z||(Z=new Er),B(kr,cr,p,E,Z)}}return Pt?(Z||(Z=new Er),CS(o,a,p,E,B,Z)):!1}function fa(o){return Pn(o)&&ji(o)==Ie}function Cc(o,a,p,E){var B=p.length,Z=B,se=!E;if(o==null)return!Z;for(o=Ur(o);B--;){var fe=p[B];if(se&&fe[2]?fe[1]!==o[fe[0]]:!(fe[0]in o))return!1}for(;++B<Z;){fe=p[B];var be=fe[0],Ze=o[be],Ye=fe[1];if(se&&fe[2]){if(Ze===t&&!(be in o))return!1}else{var st=new Er;if(E)var Pt=E(Ze,Ye,be,o,a,st);if(!(Pt===t?Fa(Ye,Ze,S|D,E,st):Pt))return!1}}return!0}function bu(o){if(!Ln(o)||MS(o))return!1;var a=Ya(o)?lc:ur;return a.test(Fc(o))}function Es(o){return Pn(o)&&On(o)==Mt}function Ml(o){return Pn(o)&&ji(o)==Rt}function Do(o){return Pn(o)&&vd(o.length)&&!!Sr[On(o)]}function Dl(o){return typeof o=="function"?o:o==null?go:typeof o=="object"?br(o)?Ha(o[0],o[1]):lo(o):Nv(o)}function Oo(o){if(!xf(o))return cu(o);var a=[];for(var p in Ur(o))zr.call(o,p)&&p!="constructor"&&a.push(p);return a}function Ba(o){if(!Ln(o))return NS(o);var a=xf(o),p=[];for(var E in o)E=="constructor"&&(a||!zr.call(o,E))||p.push(E);return p}function Vi(o,a){return o<a}function Gi(o,a){var p=-1,E=ho(o)?De(o.length):[];return Jo(o,function(B,Z,se){E[++p]=a(B,Z,se)}),E}function lo(o){var a=Th(o);return a.length==1&&a[0][2]?Km(a[0][0],a[0][1]):function(p){return p===o||Cc(p,o,a)}}function Ha(o,a){return kh(o)&&Ym(a)?Km(ga(o),a):function(p){var E=Fh(p,o);return E===t&&E===a?Bh(p,o):Fa(a,E,S|D)}}function es(o,a,p,E,B){o!==a&&Sc(a,function(Z,se){if(B||(B=new Er),Ln(Z))Zi(o,a,se,p,es,E,B);else{var fe=E?E(Ih(o,se),Z,se+"",o,a,B):t;fe===t&&(fe=Z),gc(o,se,fe)}},po)}function Zi(o,a,p,E,B,Z,se){var fe=Ih(o,p),be=Ih(a,p),Ze=se.get(be);if(Ze){gc(o,p,Ze);return}var Ye=Z?Z(fe,be,p+"",o,a,se):t,st=Ye===t;if(st){var Pt=br(be),Qt=!Pt&&$l(be),lr=!Pt&&!Qt&&Eu(be);Ye=be,Pt||Qt||lr?br(fe)?Ye=fe:Un(fe)?Ye=ii(fe):Qt?(st=!1,Ye=pa(be,!0)):lr?(st=!1,Ye=Pc(be,!0)):Ye=[]:Cf(be)||Bc(be)?(Ye=fe,Bc(fe)?Ye=Tv(fe):(!Ln(fe)||Ya(fe))&&(Ye=Zm(be))):st=!1}st&&(se.set(be,Ye),B(Ye,be,E,Z,se),se.delete(be)),gc(o,p,Ye)}function da(o,a){var p=o.length;if(p)return a+=a<0?p:0,Za(a,p)?o[a]:t}function Ol(o,a,p){a.length?a=Yr(a,function(Z){return br(Z)?function(se){return Qo(se,Z.length===1?Z[0]:Z)}:Z}):a=[go];var E=-1;a=Yr(a,$t(ar()));var B=Gi(o,function(Z,se,fe){var be=Yr(a,function(Ze){return Ze(Z)});return{criteria:be,index:++E,value:Z}});return ee(B,function(Z,se){return Cu(Z,se,p)})}function qa(o,a){return ha(o,a,function(p,E){return Bh(o,E)})}function ha(o,a,p){for(var E=-1,B=a.length,Z={};++E<B;){var se=a[E],fe=Qo(o,se);p(fe,se)&&Rs(Z,Po(se,o),fe)}return Z}function _u(o){return function(a){return Qo(a,o)}}function wc(o,a,p,E){var B=E?hl:So,Z=-1,se=a.length,fe=o;for(o===a&&(a=ii(a)),p&&(fe=Yr(o,$t(p)));++Z<se;)for(var be=0,Ze=a[Z],Ye=p?p(Ze):Ze;(be=B(fe,Ye,be,E))>-1;)fe!==o&&Eo.call(fe,be,1),Eo.call(o,be,1);return o}function Ac(o,a){for(var p=o?a.length:0,E=p-1;p--;){var B=a[p];if(p==E||B!==Z){var Z=B;Za(B)?Eo.call(o,B,1):Ic(o,B)}}return o}function ks(o,a){return o+ys(Go()*(a-o+1))}function Tc(o,a,p,E){for(var B=-1,Z=ln(ea((a-o)/(p||1)),0),se=De(Z);Z--;)se[E?Z:++B]=o,o+=p;return se}function Pl(o,a){var p="";if(!o||a<1||a>ae)return p;do a%2&&(p+=o),a=ys(a/2),a&&(o+=o);while(a);return p}function mr(o,a){return Lh(Xm(o,a,go),o+"")}function za(o){return gi(ku(o))}function Ec(o,a){var p=ku(o);return fd(p,Cs(a,0,p.length))}function Rs(o,a,p,E){if(!Ln(o))return o;a=Po(a,o);for(var B=-1,Z=a.length,se=Z-1,fe=o;fe!=null&&++B<Z;){var be=ga(a[B]),Ze=p;if(be==="__proto__"||be==="constructor"||be==="prototype")return o;if(B!=se){var Ye=fe[be];Ze=E?E(Ye,be,fe):t,Ze===t&&(Ze=Ln(Ye)?Ye:Za(a[B+1])?[]:{})}ui(fe,be,Ze),fe=fe[be]}return o}var kc=Ma?function(o,a){return Ma.set(o,a),o}:go,xu=Wo?function(o,a){return Wo(o,"toString",{configurable:!0,enumerable:!1,value:qh(a),writable:!0})}:go;function Rc(o){return fd(ku(o))}function Li(o,a,p){var E=-1,B=o.length;a<0&&(a=-a>B?0:B+a),p=p>B?B:p,p<0&&(p+=B),B=a>p?0:p-a>>>0,a>>>=0;for(var Z=De(B);++E<B;)Z[E]=o[E+a];return Z}function vf(o,a){var p;return Jo(o,function(E,B,Z){return p=a(E,B,Z),!p}),!!p}function Nl(o,a,p){var E=0,B=o==null?E:o.length;if(typeof a=="number"&&a===a&&B<=Be){for(;E<B;){var Z=E+B>>>1,se=o[Z];se!==null&&!No(se)&&(p?se<=a:se<a)?E=Z+1:B=Z}return B}return jl(o,a,go,p)}function jl(o,a,p,E){var B=0,Z=o==null?0:o.length;if(Z===0)return 0;a=p(a);for(var se=a!==a,fe=a===null,be=No(a),Ze=a===t;B<Z;){var Ye=ys((B+Z)/2),st=p(o[Ye]),Pt=st!==t,Qt=st===null,lr=st===st,kr=No(st);if(se)var cr=E||lr;else Ze?cr=lr&&(E||Pt):fe?cr=lr&&Pt&&(E||!Qt):be?cr=lr&&Pt&&!Qt&&(E||!kr):Qt||kr?cr=!1:cr=E?st<=a:st<a;cr?B=Ye+1:Z=Ye}return In(Z,Oe)}function Su(o,a){for(var p=-1,E=o.length,B=0,Z=[];++p<E;){var se=o[p],fe=a?a(se):se;if(!p||!Is(fe,be)){var be=fe;Z[B++]=se===0?0:se}}return Z}function Fl(o){return typeof o=="number"?o:No(o)?he:+o}function Mi(o){if(typeof o=="string")return o;if(br(o))return Yr(o,Mi)+"";if(No(o))return Da?Da.call(o):"";var a=o+"";return a=="0"&&1/o==-1/0?"-0":a}function An(o,a,p){var E=-1,B=xo,Z=o.length,se=!0,fe=[],be=fe;if(p)se=!1,B=qn;else if(Z>=i){var Ze=a?null:_f(o);if(Ze)return Ea(Ze);se=!1,B=sr,be=new ci}else be=a?[]:fe;e:for(;++E<Z;){var Ye=o[E],st=a?a(Ye):Ye;if(Ye=p||Ye!==0?Ye:0,se&&st===st){for(var Pt=be.length;Pt--;)if(be[Pt]===st)continue e;a&&be.push(st),fe.push(Ye)}else B(be,st,p)||(be!==fe&&be.push(st),fe.push(Ye))}return fe}function Ic(o,a){return a=Po(a,o),o=Jm(o,a),o==null||delete o[ga(os(a))]}function $a(o,a,p,E){return Rs(o,a,p(Qo(o,a)),E)}function Bl(o,a,p,E){for(var B=o.length,Z=E?B:-1;(E?Z--:++Z<B)&&a(o[Z],Z,o););return p?Li(o,E?0:Z,E?Z+1:B):Li(o,E?Z+1:0,E?B:Z)}function ni(o,a){var p=o;return p instanceof yr&&(p=p.value()),Aa(a,function(E,B){return B.func.apply(B.thisArg,Ci([E],B.args))},p)}function Lc(o,a,p){var E=o.length;if(E<2)return E?An(o[0]):[];for(var B=-1,Z=De(E);++B<E;)for(var se=o[B],fe=-1;++fe<E;)fe!=B&&(Z[B]=ws(Z[B]||se,o[fe],a,p));return An(zn(Z,1),a,p)}function Mc(o,a,p){for(var E=-1,B=o.length,Z=a.length,se={};++E<B;){var fe=E<Z?a[E]:t;p(se,o[E],fe)}return se}function Hl(o){return Un(o)?o:[]}function ts(o){return typeof o=="function"?o:go}function Po(o,a){return br(o)?o:kh(o,a)?[o]:rv(tn(o))}var yf=mr;function co(o,a,p){var E=o.length;return p=p===t?E:p,!a&&p>=E?o:Li(o,a,p)}var rs=af||function(o){return fr.clearTimeout(o)};function pa(o,a){if(a)return o.slice();var p=o.length,E=Ra?Ra(p):new o.constructor(p);return o.copy(E),E}function Dc(o){var a=new o.constructor(o.byteLength);return new ka(a).set(new ka(o)),a}function Oc(o,a){var p=a?Dc(o.buffer):o.buffer;return new o.constructor(p,o.byteOffset,o.byteLength)}function Ua(o){var a=new o.constructor(o.source,yt.exec(o));return a.lastIndex=o.lastIndex,a}function ql(o){return _s?Ur(_s.call(o)):{}}function Pc(o,a){var p=a?Dc(o.buffer):o.buffer;return new o.constructor(p,o.byteOffset,o.length)}function Wa(o,a){if(o!==a){var p=o!==t,E=o===null,B=o===o,Z=No(o),se=a!==t,fe=a===null,be=a===a,Ze=No(a);if(!fe&&!Ze&&!Z&&o>a||Z&&se&&be&&!fe&&!Ze||E&&se&&be||!p&&be||!B)return 1;if(!E&&!Z&&!Ze&&o<a||Ze&&p&&B&&!E&&!Z||fe&&p&&B||!se&&B||!be)return-1}return 0}function Cu(o,a,p){for(var E=-1,B=o.criteria,Z=a.criteria,se=B.length,fe=p.length;++E<se;){var be=Wa(B[E],Z[E]);if(be){if(E>=fe)return be;var Ze=p[E];return be*(Ze=="desc"?-1:1)}}return o.index-a.index}function wu(o,a,p,E){for(var B=-1,Z=o.length,se=p.length,fe=-1,be=a.length,Ze=ln(Z-se,0),Ye=De(be+Ze),st=!E;++fe<be;)Ye[fe]=a[fe];for(;++B<se;)(st||B<Z)&&(Ye[p[B]]=o[B]);for(;Ze--;)Ye[fe++]=o[B++];return Ye}function Nc(o,a,p,E){for(var B=-1,Z=o.length,se=-1,fe=p.length,be=-1,Ze=a.length,Ye=ln(Z-fe,0),st=De(Ye+Ze),Pt=!E;++B<Ye;)st[B]=o[B];for(var Qt=B;++be<Ze;)st[Qt+be]=a[be];for(;++se<fe;)(Pt||B<Z)&&(st[Qt+p[se]]=o[B++]);return st}function ii(o,a){var p=-1,E=o.length;for(a||(a=De(E));++p<E;)a[p]=o[p];return a}function Yi(o,a,p,E){var B=!p;p||(p={});for(var Z=-1,se=a.length;++Z<se;){var fe=a[Z],be=E?E(p[fe],o[fe],fe,p,o):t;be===t&&(be=o[fe]),B?Ri(p,fe,be):ui(p,fe,be)}return p}function bf(o,a){return Yi(o,Eh(o),a)}function Au(o,a){return Yi(o,Vm(o),a)}function zl(o,a){return function(p,E){var B=br(p)?hs:Ss,Z=a?a():{};return B(p,o,ar(E,2),Z)}}function f(o){return mr(function(a,p){var E=-1,B=p.length,Z=B>1?p[B-1]:t,se=B>2?p[2]:t;for(Z=o.length>3&&typeof Z=="function"?(B--,Z):t,se&&Ki(p[0],p[1],se)&&(Z=B<3?t:Z,B=1),a=Ur(a);++E<B;){var fe=p[E];fe&&o(a,fe,E,Z)}return a})}function s(o,a){return function(p,E){if(p==null)return p;if(!ho(p))return o(p,E);for(var B=p.length,Z=a?B:-1,se=Ur(p);(a?Z--:++Z<B)&&E(se[Z],Z,se)!==!1;);return p}}function c(o){return function(a,p,E){for(var B=-1,Z=Ur(a),se=E(a),fe=se.length;fe--;){var be=se[o?fe:++B];if(p(Z[be],be,Z)===!1)break}return a}}function d(o,a,p){var E=a&A,B=F(o);function Z(){var se=this&&this!==fr&&this instanceof Z?B:o;return se.apply(E?p:this,arguments)}return Z}function y(o){return function(a){a=tn(a);var p=Ys(a)?un(a):t,E=p?p[0]:a.charAt(0),B=p?co(p,1).join(""):a.slice(1);return E[o]()+B}}function L(o){return function(a){return Aa(Ov(Dv(a).replace(eo,"")),o,"")}}function F(o){return function(){var a=arguments;switch(a.length){case 0:return new o;case 1:return new o(a[0]);case 2:return new o(a[0],a[1]);case 3:return new o(a[0],a[1],a[2]);case 4:return new o(a[0],a[1],a[2],a[3]);case 5:return new o(a[0],a[1],a[2],a[3],a[4]);case 6:return new o(a[0],a[1],a[2],a[3],a[4],a[5]);case 7:return new o(a[0],a[1],a[2],a[3],a[4],a[5],a[6])}var p=Io(o.prototype),E=o.apply(p,a);return Ln(E)?E:p}}function U(o,a,p){var E=F(o);function B(){for(var Z=arguments.length,se=De(Z),fe=Z,be=Tu(B);fe--;)se[fe]=arguments[fe];var Ze=Z<3&&se[0]!==be&&se[Z-1]!==be?[]:Co(se,be);if(Z-=Ze.length,Z<p)return fo(o,a,Ve,B.placeholder,t,se,Ze,t,t,p-Z);var Ye=this&&this!==fr&&this instanceof B?E:o;return sn(Ye,this,se)}return B}function ie(o){return function(a,p,E){var B=Ur(a);if(!ho(a)){var Z=ar(p,3);a=mi(a),p=function(fe){return Z(B[fe],fe,B)}}var se=o(a,p,E);return se>-1?B[Z?a[se]:se]:t}}function Ce(o){return Ga(function(a){var p=a.length,E=p,B=ri.prototype.thru;for(o&&a.reverse();E--;){var Z=a[E];if(typeof Z!="function")throw new Ni(u);if(B&&!se&&cd(Z)=="wrapper")var se=new ri([],!0)}for(E=se?E:p;++E<p;){Z=a[E];var fe=cd(Z),be=fe=="wrapper"?Ah(Z):t;be&&Rh(be[0])&&be[1]==(Y|O|H|de)&&!be[4].length&&be[9]==1?se=se[cd(be[0])].apply(se,be[3]):se=Z.length==1&&Rh(Z)?se[fe]():se.thru(Z)}return function(){var Ze=arguments,Ye=Ze[0];if(se&&Ze.length==1&&br(Ye))return se.plant(Ye).value();for(var st=0,Pt=p?a[st].apply(this,Ze):Ye;++st<p;)Pt=a[st].call(this,Pt);return Pt}})}function Ve(o,a,p,E,B,Z,se,fe,be,Ze){var Ye=a&Y,st=a&A,Pt=a&b,Qt=a&(O|q),lr=a&X,kr=Pt?t:F(o);function cr(){for(var jr=arguments.length,qr=De(jr),jo=jr;jo--;)qr[jo]=arguments[jo];if(Qt)var Xi=Tu(cr),Fo=wi(qr,Xi);if(E&&(qr=wu(qr,E,B,Qt)),Z&&(qr=Nc(qr,Z,se,Qt)),jr-=Fo,Qt&&jr<Ze){var Wn=Co(qr,Xi);return fo(o,a,Ve,cr.placeholder,p,qr,Wn,fe,be,Ze-jr)}var Ls=st?p:this,Xa=Pt?Ls[o]:o;return jr=qr.length,fe?qr=FS(qr,fe):lr&&jr>1&&qr.reverse(),Ye&&be<jr&&(qr.length=be),this&&this!==fr&&this instanceof cr&&(Xa=kr||F(Xa)),Xa.apply(Ls,qr)}return cr}function it(o,a){return function(p,E){return Il(p,o,a(E),{})}}function St(o,a){return function(p,E){var B;if(p===t&&E===t)return a;if(p!==t&&(B=p),E!==t){if(B===t)return E;typeof p=="string"||typeof E=="string"?(p=Mi(p),E=Mi(E)):(p=Fl(p),E=Fl(E)),B=o(p,E)}return B}}function nr(o){return Ga(function(a){return a=Yr(a,$t(ar())),mr(function(p){var E=this;return o(a,function(B){return sn(B,E,p)})})})}function Dr(o,a){a=a===t?" ":Mi(a);var p=a.length;if(p<2)return p?Pl(a,o):a;var E=Pl(a,ea(o/Ks(a)));return Ys(a)?co(un(E),0,o).join(""):E.slice(0,o)}function $n(o,a,p,E){var B=a&A,Z=F(o);function se(){for(var fe=-1,be=arguments.length,Ze=-1,Ye=E.length,st=De(Ye+be),Pt=this&&this!==fr&&this instanceof se?Z:o;++Ze<Ye;)st[Ze]=E[Ze];for(;be--;)st[Ze++]=arguments[++fe];return sn(Pt,B?p:this,st)}return se}function ns(o){return function(a,p,E){return E&&typeof E!="number"&&Ki(a,p,E)&&(p=E=t),a=Ka(a),p===t?(p=a,a=0):p=Ka(p),E=E===t?a<p?1:-1:Ka(E),Tc(a,p,E,o)}}function uo(o){return function(a,p){return typeof a=="string"&&typeof p=="string"||(a=ss(a),p=ss(p)),o(a,p)}}function fo(o,a,p,E,B,Z,se,fe,be,Ze){var Ye=a&O,st=Ye?se:t,Pt=Ye?t:se,Qt=Ye?Z:t,lr=Ye?t:Z;a|=Ye?H:G,a&=~(Ye?G:H),a&R||(a&=-4);var kr=[o,a,B,Qt,st,lr,Pt,fe,be,Ze],cr=p.apply(t,kr);return Rh(o)&&Qm(cr,kr),cr.placeholder=E,ev(cr,o,a)}function is(o){var a=bn[o];return function(p,E){if(p=ss(p),E=E==null?0:In(wr(E),292),E&&ra(p)){var B=(tn(p)+"e").split("e"),Z=a(B[0]+"e"+(+B[1]+E));return B=(tn(Z)+"e").split("e"),+(B[0]+"e"+(+B[1]-E))}return a(p)}}var _f=no&&1/Ea(new no([,-0]))[1]==ve?function(o){return new no(o)}:Uh;function ld(o){return function(a){var p=ji(a);return p==Ie?ic(a):p==Rt?rf(a):We(a,o(a))}}function Va(o,a,p,E,B,Z,se,fe){var be=a&b;if(!be&&typeof o!="function")throw new Ni(u);var Ze=E?E.length:0;if(Ze||(a&=-97,E=B=t),se=se===t?se:ln(wr(se),0),fe=fe===t?fe:wr(fe),Ze-=B?B.length:0,a&G){var Ye=E,st=B;E=B=t}var Pt=be?t:Ah(o),Qt=[o,a,p,E,B,Ye,st,Z,se,fe];if(Pt&&PS(Qt,Pt),o=Qt[0],a=Qt[1],p=Qt[2],E=Qt[3],B=Qt[4],fe=Qt[9]=Qt[9]===t?be?0:o.length:ln(Qt[9]-Ze,0),!fe&&a&(O|q)&&(a&=-25),!a||a==A)var lr=d(o,a,p);else a==O||a==q?lr=U(o,a,fe):(a==H||a==(A|H))&&!B.length?lr=$n(o,a,p,E):lr=Ve.apply(t,Qt);var kr=Pt?kc:Qm;return ev(kr(lr,Qt),o,a)}function $m(o,a,p,E){return o===t||Is(o,$o[p])&&!zr.call(E,p)?a:o}function Um(o,a,p,E,B,Z){return Ln(o)&&Ln(a)&&(Z.set(a,o),es(o,a,t,Um,Z),Z.delete(a)),o}function xS(o){return Cf(o)?t:o}function Wm(o,a,p,E,B,Z){var se=p&S,fe=o.length,be=a.length;if(fe!=be&&!(se&&be>fe))return!1;var Ze=Z.get(o),Ye=Z.get(a);if(Ze&&Ye)return Ze==a&&Ye==o;var st=-1,Pt=!0,Qt=p&D?new ci:t;for(Z.set(o,a),Z.set(a,o);++st<fe;){var lr=o[st],kr=a[st];if(E)var cr=se?E(kr,lr,st,a,o,Z):E(lr,kr,st,o,a,Z);if(cr!==t){if(cr)continue;Pt=!1;break}if(Qt){if(!zo(a,function(jr,qr){if(!sr(Qt,qr)&&(lr===jr||B(lr,jr,p,E,Z)))return Qt.push(qr)})){Pt=!1;break}}else if(!(lr===kr||B(lr,kr,p,E,Z))){Pt=!1;break}}return Z.delete(o),Z.delete(a),Pt}function SS(o,a,p,E,B,Z,se){switch(p){case Dt:if(o.byteLength!=a.byteLength||o.byteOffset!=a.byteOffset)return!1;o=o.buffer,a=a.buffer;case _t:return!(o.byteLength!=a.byteLength||!Z(new ka(o),new ka(a)));case Xe:case Ge:case rt:return Is(+o,+a);case Re:return o.name==a.name&&o.message==a.message;case Mt:case dt:return o==a+"";case Ie:var fe=ic;case Rt:var be=E&S;if(fe||(fe=Ea),o.size!=a.size&&!be)return!1;var Ze=se.get(o);if(Ze)return Ze==a;E|=D,se.set(o,a);var Ye=Wm(fe(o),fe(a),E,B,Z,se);return se.delete(o),Ye;case ct:if(_s)return _s.call(o)==_s.call(a)}return!1}function CS(o,a,p,E,B,Z){var se=p&S,fe=Ch(o),be=fe.length,Ze=Ch(a),Ye=Ze.length;if(be!=Ye&&!se)return!1;for(var st=be;st--;){var Pt=fe[st];if(!(se?Pt in a:zr.call(a,Pt)))return!1}var Qt=Z.get(o),lr=Z.get(a);if(Qt&&lr)return Qt==a&&lr==o;var kr=!0;Z.set(o,a),Z.set(a,o);for(var cr=se;++st<be;){Pt=fe[st];var jr=o[Pt],qr=a[Pt];if(E)var jo=se?E(qr,jr,Pt,a,o,Z):E(jr,qr,Pt,o,a,Z);if(!(jo===t?jr===qr||B(jr,qr,p,E,Z):jo)){kr=!1;break}cr||(cr=Pt=="constructor")}if(kr&&!cr){var Xi=o.constructor,Fo=a.constructor;Xi!=Fo&&"constructor"in o&&"constructor"in a&&!(typeof Xi=="function"&&Xi instanceof Xi&&typeof Fo=="function"&&Fo instanceof Fo)&&(kr=!1)}return Z.delete(o),Z.delete(a),kr}function Ga(o){return Lh(Xm(o,t,sv),o+"")}function Ch(o){return ja(o,mi,Eh)}function wh(o){return ja(o,po,Vm)}var Ah=Ma?function(o){return Ma.get(o)}:Uh;function cd(o){for(var a=o.name+"",p=bs[a],E=zr.call(bs,a)?p.length:0;E--;){var B=p[E],Z=B.func;if(Z==null||Z==o)return B.name}return a}function Tu(o){var a=zr.call($,"placeholder")?$:o;return a.placeholder}function ar(){var o=$.iteratee||zh;return o=o===zh?Dl:o,arguments.length?o(arguments[0],arguments[1]):o}function ud(o,a){var p=o.__data__;return LS(a)?p[typeof a=="string"?"string":"hash"]:p.map}function Th(o){for(var a=mi(o),p=a.length;p--;){var E=a[p],B=o[E];a[p]=[E,B,Ym(B)]}return a}function jc(o,a){var p=ms(o,a);return bu(p)?p:t}function wS(o){var a=zr.call(o,ko),p=o[ko];try{o[ko]=t;var E=!0}catch{}var B=Ao.call(o);return E&&(a?o[ko]=p:delete o[ko]),B}var Eh=ta?function(o){return o==null?[]:(o=Ur(o),$i(ta(o),function(a){return yl.call(o,a)}))}:Wh,Vm=ta?function(o){for(var a=[];o;)Ci(a,Eh(o)),o=vs(o);return a}:Wh,ji=On;(ro&&ji(new ro(new ArrayBuffer(1)))!=Dt||Zo&&ji(new Zo)!=Ie||na&&ji(na.resolve())!=wt||no&&ji(new no)!=Rt||Ro&&ji(new Ro)!=Me)&&(ji=function(o){var a=On(o),p=a==kt?o.constructor:t,E=p?Fc(p):"";if(E)switch(E){case Yo:return Dt;case uc:return Ie;case lf:return wt;case uu:return Rt;case oa:return Me}return a});function AS(o,a,p){for(var E=-1,B=p.length;++E<B;){var Z=p[E],se=Z.size;switch(Z.type){case"drop":o+=se;break;case"dropRight":a-=se;break;case"take":a=In(a,o+se);break;case"takeRight":o=ln(o,a-se);break}}return{start:o,end:a}}function TS(o){var a=o.match(K);return a?a[1].split(Pe):[]}function Gm(o,a,p){a=Po(a,o);for(var E=-1,B=a.length,Z=!1;++E<B;){var se=ga(a[E]);if(!(Z=o!=null&&p(o,se)))break;o=o[se]}return Z||++E!=B?Z:(B=o==null?0:o.length,!!B&&vd(B)&&Za(se,B)&&(br(o)||Bc(o)))}function ES(o){var a=o.length,p=new o.constructor(a);return a&&typeof o[0]=="string"&&zr.call(o,"index")&&(p.index=o.index,p.input=o.input),p}function Zm(o){return typeof o.constructor=="function"&&!xf(o)?Io(vs(o)):{}}function kS(o,a,p){var E=o.constructor;switch(a){case _t:return Dc(o);case Xe:case Ge:return new E(+o);case Dt:return Oc(o,p);case Bt:case $e:case Tt:case jt:case pr:case or:case Lr:case me:case te:return Pc(o,p);case Ie:return new E;case rt:case dt:return new E(o);case Mt:return Ua(o);case Rt:return new E;case ct:return ql(o)}}function RS(o,a){var p=a.length;if(!p)return o;var E=p-1;return a[E]=(p>1?"& ":"")+a[E],a=a.join(p>2?", ":" "),o.replace(xt,`{
33
+ /* [wrapped with `+a+`] */
34
+ `)}function IS(o){return br(o)||Bc(o)||!!(bl&&o&&o[bl])}function Za(o,a){var p=typeof o;return a=a??ae,!!a&&(p=="number"||p!="symbol"&&$r.test(o))&&o>-1&&o%1==0&&o<a}function Ki(o,a,p){if(!Ln(p))return!1;var E=typeof a;return(E=="number"?ho(p)&&Za(a,p.length):E=="string"&&a in p)?Is(p[a],o):!1}function kh(o,a){if(br(o))return!1;var p=typeof o;return p=="number"||p=="symbol"||p=="boolean"||o==null||No(o)?!0:tr.test(o)||!qt.test(o)||a!=null&&o in Ur(a)}function LS(o){var a=typeof o;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?o!=="__proto__":o===null}function Rh(o){var a=cd(o),p=$[a];if(typeof p!="function"||!(a in yr.prototype))return!1;if(o===p)return!0;var E=Ah(p);return!!E&&o===E[0]}function MS(o){return!!an&&an in o}var DS=en?Ya:Vh;function xf(o){var a=o&&o.constructor,p=typeof a=="function"&&a.prototype||$o;return o===p}function Ym(o){return o===o&&!Ln(o)}function Km(o,a){return function(p){return p==null?!1:p[o]===a&&(a!==t||o in Ur(p))}}function OS(o){var a=gd(o,function(E){return p.size===m&&p.clear(),E}),p=a.cache;return a}function PS(o,a){var p=o[1],E=a[1],B=p|E,Z=B<(A|b|Y),se=E==Y&&p==O||E==Y&&p==de&&o[7].length<=a[8]||E==(Y|de)&&a[7].length<=a[8]&&p==O;if(!(Z||se))return o;E&A&&(o[2]=a[2],B|=p&A?0:R);var fe=a[3];if(fe){var be=o[3];o[3]=be?wu(be,fe,a[4]):fe,o[4]=be?Co(o[3],M):a[4]}return fe=a[5],fe&&(be=o[5],o[5]=be?Nc(be,fe,a[6]):fe,o[6]=be?Co(o[5],M):a[6]),fe=a[7],fe&&(o[7]=fe),E&Y&&(o[8]=o[8]==null?a[8]:In(o[8],a[8])),o[9]==null&&(o[9]=a[9]),o[0]=a[0],o[1]=B,o}function NS(o){var a=[];if(o!=null)for(var p in Ur(o))a.push(p);return a}function jS(o){return Ao.call(o)}function Xm(o,a,p){return a=ln(a===t?o.length-1:a,0),function(){for(var E=arguments,B=-1,Z=ln(E.length-a,0),se=De(Z);++B<Z;)se[B]=E[a+B];B=-1;for(var fe=De(a+1);++B<a;)fe[B]=E[B];return fe[a]=p(se),sn(o,this,fe)}}function Jm(o,a){return a.length<2?o:Qo(o,Li(a,0,-1))}function FS(o,a){for(var p=o.length,E=In(a.length,p),B=ii(o);E--;){var Z=a[E];o[E]=Za(Z,p)?B[Z]:t}return o}function Ih(o,a){if(!(a==="constructor"&&typeof o[a]=="function")&&a!="__proto__")return o[a]}var Qm=tv(kc),Sf=lu||function(o,a){return fr.setTimeout(o,a)},Lh=tv(xu);function ev(o,a,p){var E=a+"";return Lh(o,RS(E,BS(TS(E),p)))}function tv(o){var a=0,p=0;return function(){var E=Vo(),B=J-(E-p);if(p=E,B>0){if(++a>=re)return arguments[0]}else a=0;return o.apply(t,arguments)}}function fd(o,a){var p=-1,E=o.length,B=E-1;for(a=a===t?E:a;++p<a;){var Z=ks(p,B),se=o[Z];o[Z]=o[p],o[p]=se}return o.length=a,o}var rv=OS(function(o){var a=[];return o.charCodeAt(0)===46&&a.push(""),o.replace(Ar,function(p,E,B,Z){a.push(B?Z.replace(Yt,"$1"):E||p)}),a});function ga(o){if(typeof o=="string"||No(o))return o;var a=o+"";return a=="0"&&1/o==-1/0?"-0":a}function Fc(o){if(o!=null){try{return Uo.call(o)}catch{}try{return o+""}catch{}}return""}function BS(o,a){return Hn(Ke,function(p){var E="_."+p[0];a&p[1]&&!xo(o,E)&&o.push(E)}),o.sort()}function nv(o){if(o instanceof yr)return o.clone();var a=new ri(o.__wrapped__,o.__chain__);return a.__actions__=ii(o.__actions__),a.__index__=o.__index__,a.__values__=o.__values__,a}function HS(o,a,p){(p?Ki(o,a,p):a===t)?a=1:a=ln(wr(a),0);var E=o==null?0:o.length;if(!E||a<1)return[];for(var B=0,Z=0,se=De(ea(E/a));B<E;)se[Z++]=Li(o,B,B+=a);return se}function qS(o){for(var a=-1,p=o==null?0:o.length,E=0,B=[];++a<p;){var Z=o[a];Z&&(B[E++]=Z)}return B}function zS(){var o=arguments.length;if(!o)return[];for(var a=De(o-1),p=arguments[0],E=o;E--;)a[E-1]=arguments[E];return Ci(br(p)?ii(p):[p],zn(a,1))}var $S=mr(function(o,a){return Un(o)?ws(o,zn(a,1,Un,!0)):[]}),US=mr(function(o,a){var p=os(a);return Un(p)&&(p=t),Un(o)?ws(o,zn(a,1,Un,!0),ar(p,2)):[]}),WS=mr(function(o,a){var p=os(a);return Un(p)&&(p=t),Un(o)?ws(o,zn(a,1,Un,!0),t,p):[]});function VS(o,a,p){var E=o==null?0:o.length;return E?(a=p||a===t?1:wr(a),Li(o,a<0?0:a,E)):[]}function GS(o,a,p){var E=o==null?0:o.length;return E?(a=p||a===t?1:wr(a),a=E-a,Li(o,0,a<0?0:a)):[]}function ZS(o,a){return o&&o.length?Bl(o,ar(a,3),!0,!0):[]}function YS(o,a){return o&&o.length?Bl(o,ar(a,3),!0):[]}function KS(o,a,p,E){var B=o==null?0:o.length;return B?(p&&typeof p!="number"&&Ki(o,a,p)&&(p=0,E=B),mf(o,a,p,E)):[]}function iv(o,a,p){var E=o==null?0:o.length;if(!E)return-1;var B=p==null?0:wr(p);return B<0&&(B=ln(E+B,0)),gs(o,ar(a,3),B)}function ov(o,a,p){var E=o==null?0:o.length;if(!E)return-1;var B=E-1;return p!==t&&(B=wr(p),B=p<0?ln(E+B,0):In(B,E-1)),gs(o,ar(a,3),B,!0)}function sv(o){var a=o==null?0:o.length;return a?zn(o,1):[]}function XS(o){var a=o==null?0:o.length;return a?zn(o,ve):[]}function JS(o,a){var p=o==null?0:o.length;return p?(a=a===t?1:wr(a),zn(o,a)):[]}function QS(o){for(var a=-1,p=o==null?0:o.length,E={};++a<p;){var B=o[a];E[B[0]]=B[1]}return E}function av(o){return o&&o.length?o[0]:t}function eC(o,a,p){var E=o==null?0:o.length;if(!E)return-1;var B=p==null?0:wr(p);return B<0&&(B=ln(E+B,0)),So(o,a,B)}function tC(o){var a=o==null?0:o.length;return a?Li(o,0,-1):[]}var rC=mr(function(o){var a=Yr(o,Hl);return a.length&&a[0]===o[0]?ca(a):[]}),nC=mr(function(o){var a=os(o),p=Yr(o,Hl);return a===os(p)?a=t:p.pop(),p.length&&p[0]===o[0]?ca(p,ar(a,2)):[]}),iC=mr(function(o){var a=os(o),p=Yr(o,Hl);return a=typeof a=="function"?a:t,a&&p.pop(),p.length&&p[0]===o[0]?ca(p,t,a):[]});function oC(o,a){return o==null?"":La.call(o,a)}function os(o){var a=o==null?0:o.length;return a?o[a-1]:t}function sC(o,a,p){var E=o==null?0:o.length;if(!E)return-1;var B=E;return p!==t&&(B=wr(p),B=B<0?ln(E+B,0):In(B,E-1)),a===a?of(o,a,B):gs(o,Gs,B,!0)}function aC(o,a){return o&&o.length?da(o,wr(a)):t}var lC=mr(lv);function lv(o,a){return o&&o.length&&a&&a.length?wc(o,a):o}function cC(o,a,p){return o&&o.length&&a&&a.length?wc(o,a,ar(p,2)):o}function uC(o,a,p){return o&&o.length&&a&&a.length?wc(o,a,t,p):o}var fC=Ga(function(o,a){var p=o==null?0:o.length,E=vc(o,a);return Ac(o,Yr(a,function(B){return Za(B,p)?+B:B}).sort(Wa)),E});function dC(o,a){var p=[];if(!(o&&o.length))return p;var E=-1,B=[],Z=o.length;for(a=ar(a,3);++E<Z;){var se=o[E];a(se,E,o)&&(p.push(se),B.push(E))}return Ac(o,B),p}function Mh(o){return o==null?o:xl.call(o)}function hC(o,a,p){var E=o==null?0:o.length;return E?(p&&typeof p!="number"&&Ki(o,a,p)?(a=0,p=E):(a=a==null?0:wr(a),p=p===t?E:wr(p)),Li(o,a,p)):[]}function pC(o,a){return Nl(o,a)}function gC(o,a,p){return jl(o,a,ar(p,2))}function mC(o,a){var p=o==null?0:o.length;if(p){var E=Nl(o,a);if(E<p&&Is(o[E],a))return E}return-1}function vC(o,a){return Nl(o,a,!0)}function yC(o,a,p){return jl(o,a,ar(p,2),!0)}function bC(o,a){var p=o==null?0:o.length;if(p){var E=Nl(o,a,!0)-1;if(Is(o[E],a))return E}return-1}function _C(o){return o&&o.length?Su(o):[]}function xC(o,a){return o&&o.length?Su(o,ar(a,2)):[]}function SC(o){var a=o==null?0:o.length;return a?Li(o,1,a):[]}function CC(o,a,p){return o&&o.length?(a=p||a===t?1:wr(a),Li(o,0,a<0?0:a)):[]}function wC(o,a,p){var E=o==null?0:o.length;return E?(a=p||a===t?1:wr(a),a=E-a,Li(o,a<0?0:a,E)):[]}function AC(o,a){return o&&o.length?Bl(o,ar(a,3),!1,!0):[]}function TC(o,a){return o&&o.length?Bl(o,ar(a,3)):[]}var EC=mr(function(o){return An(zn(o,1,Un,!0))}),kC=mr(function(o){var a=os(o);return Un(a)&&(a=t),An(zn(o,1,Un,!0),ar(a,2))}),RC=mr(function(o){var a=os(o);return a=typeof a=="function"?a:t,An(zn(o,1,Un,!0),t,a)});function IC(o){return o&&o.length?An(o):[]}function LC(o,a){return o&&o.length?An(o,ar(a,2)):[]}function MC(o,a){return a=typeof a=="function"?a:t,o&&o.length?An(o,t,a):[]}function Dh(o){if(!(o&&o.length))return[];var a=0;return o=$i(o,function(p){if(Un(p))return a=ln(p.length,a),!0}),we(a,function(p){return Yr(o,w(p))})}function cv(o,a){if(!(o&&o.length))return[];var p=Dh(o);return a==null?p:Yr(p,function(E){return sn(a,t,E)})}var DC=mr(function(o,a){return Un(o)?ws(o,a):[]}),OC=mr(function(o){return Lc($i(o,Un))}),PC=mr(function(o){var a=os(o);return Un(a)&&(a=t),Lc($i(o,Un),ar(a,2))}),NC=mr(function(o){var a=os(o);return a=typeof a=="function"?a:t,Lc($i(o,Un),t,a)}),jC=mr(Dh);function FC(o,a){return Mc(o||[],a||[],ui)}function BC(o,a){return Mc(o||[],a||[],Rs)}var HC=mr(function(o){var a=o.length,p=a>1?o[a-1]:t;return p=typeof p=="function"?(o.pop(),p):t,cv(o,p)});function uv(o){var a=$(o);return a.__chain__=!0,a}function qC(o,a){return a(o),o}function dd(o,a){return a(o)}var zC=Ga(function(o){var a=o.length,p=a?o[0]:0,E=this.__wrapped__,B=function(Z){return vc(Z,o)};return a>1||this.__actions__.length||!(E instanceof yr)||!Za(p)?this.thru(B):(E=E.slice(p,+p+(a?1:0)),E.__actions__.push({func:dd,args:[B],thisArg:t}),new ri(E,this.__chain__).thru(function(Z){return a&&!Z.length&&Z.push(t),Z}))});function $C(){return uv(this)}function UC(){return new ri(this.value(),this.__chain__)}function WC(){this.__values__===t&&(this.__values__=wv(this.value()));var o=this.__index__>=this.__values__.length,a=o?t:this.__values__[this.__index__++];return{done:o,value:a}}function VC(){return this}function GC(o){for(var a,p=this;p instanceof Lo;){var E=nv(p);E.__index__=0,E.__values__=t,a?B.__wrapped__=E:a=E;var B=E;p=p.__wrapped__}return B.__wrapped__=o,a}function ZC(){var o=this.__wrapped__;if(o instanceof yr){var a=o;return this.__actions__.length&&(a=new yr(this)),a=a.reverse(),a.__actions__.push({func:dd,args:[Mh],thisArg:t}),new ri(a,this.__chain__)}return this.thru(Mh)}function YC(){return ni(this.__wrapped__,this.__actions__)}var KC=zl(function(o,a,p){zr.call(o,p)?++o[p]:Ri(o,p,1)});function XC(o,a,p){var E=br(o)?wa:gu;return p&&Ki(o,a,p)&&(a=t),E(o,ar(a,3))}function JC(o,a){var p=br(o)?$i:mu;return p(o,ar(a,3))}var QC=ie(iv),ew=ie(ov);function tw(o,a){return zn(hd(o,a),1)}function rw(o,a){return zn(hd(o,a),ve)}function nw(o,a,p){return p=p===t?1:wr(p),zn(hd(o,a),p)}function fv(o,a){var p=br(o)?Hn:Jo;return p(o,ar(a,3))}function dv(o,a){var p=br(o)?cl:xc;return p(o,ar(a,3))}var iw=zl(function(o,a,p){zr.call(o,p)?o[p].push(a):Ri(o,p,[a])});function ow(o,a,p,E){o=ho(o)?o:ku(o),p=p&&!E?wr(p):0;var B=o.length;return p<0&&(p=ln(B+p,0)),yd(o)?p<=B&&o.indexOf(a,p)>-1:!!B&&So(o,a,p)>-1}var sw=mr(function(o,a,p){var E=-1,B=typeof a=="function",Z=ho(o)?De(o.length):[];return Jo(o,function(se){Z[++E]=B?sn(a,se,p):ao(se,a,p)}),Z}),aw=zl(function(o,a,p){Ri(o,p,a)});function hd(o,a){var p=br(o)?Yr:Gi;return p(o,ar(a,3))}function lw(o,a,p,E){return o==null?[]:(br(a)||(a=a==null?[]:[a]),p=E?t:p,br(p)||(p=p==null?[]:[p]),Ol(o,a,p))}var cw=zl(function(o,a,p){o[p?0:1].push(a)},function(){return[[],[]]});function uw(o,a,p){var E=br(o)?Aa:z,B=arguments.length<3;return E(o,ar(a,4),p,B,Jo)}function fw(o,a,p){var E=br(o)?ul:z,B=arguments.length<3;return E(o,ar(a,4),p,B,xc)}function dw(o,a){var p=br(o)?$i:mu;return p(o,md(ar(a,3)))}function hw(o){var a=br(o)?gi:za;return a(o)}function pw(o,a,p){(p?Ki(o,a,p):a===t)?a=1:a=wr(a);var E=br(o)?ki:Ec;return E(o,a)}function gw(o){var a=br(o)?so:Rc;return a(o)}function mw(o){if(o==null)return 0;if(ho(o))return yd(o)?Ks(o):o.length;var a=ji(o);return a==Ie||a==Rt?o.size:Oo(o).length}function vw(o,a,p){var E=br(o)?zo:vf;return p&&Ki(o,a,p)&&(a=t),E(o,ar(a,3))}var yw=mr(function(o,a){if(o==null)return[];var p=a.length;return p>1&&Ki(o,a[0],a[1])?a=[]:p>2&&Ki(a[0],a[1],a[2])&&(a=[a[0]]),Ol(o,zn(a,1),[])}),pd=Ia||function(){return fr.Date.now()};function bw(o,a){if(typeof a!="function")throw new Ni(u);return o=wr(o),function(){if(--o<1)return a.apply(this,arguments)}}function hv(o,a,p){return a=p?t:a,a=o&&a==null?o.length:a,Va(o,Y,t,t,t,t,a)}function pv(o,a){var p;if(typeof a!="function")throw new Ni(u);return o=wr(o),function(){return--o>0&&(p=a.apply(this,arguments)),o<=1&&(a=t),p}}var Oh=mr(function(o,a,p){var E=A;if(p.length){var B=Co(p,Tu(Oh));E|=H}return Va(o,E,a,p,B)}),gv=mr(function(o,a,p){var E=A|b;if(p.length){var B=Co(p,Tu(gv));E|=H}return Va(a,E,o,p,B)});function mv(o,a,p){a=p?t:a;var E=Va(o,O,t,t,t,t,t,a);return E.placeholder=mv.placeholder,E}function vv(o,a,p){a=p?t:a;var E=Va(o,q,t,t,t,t,t,a);return E.placeholder=vv.placeholder,E}function yv(o,a,p){var E,B,Z,se,fe,be,Ze=0,Ye=!1,st=!1,Pt=!0;if(typeof o!="function")throw new Ni(u);a=ss(a)||0,Ln(p)&&(Ye=!!p.leading,st="maxWait"in p,Z=st?ln(ss(p.maxWait)||0,a):Z,Pt="trailing"in p?!!p.trailing:Pt);function Qt(Wn){var Ls=E,Xa=B;return E=B=t,Ze=Wn,se=o.apply(Xa,Ls),se}function lr(Wn){return Ze=Wn,fe=Sf(jr,a),Ye?Qt(Wn):se}function kr(Wn){var Ls=Wn-be,Xa=Wn-Ze,jv=a-Ls;return st?In(jv,Z-Xa):jv}function cr(Wn){var Ls=Wn-be,Xa=Wn-Ze;return be===t||Ls>=a||Ls<0||st&&Xa>=Z}function jr(){var Wn=pd();if(cr(Wn))return qr(Wn);fe=Sf(jr,kr(Wn))}function qr(Wn){return fe=t,Pt&&E?Qt(Wn):(E=B=t,se)}function jo(){fe!==t&&rs(fe),Ze=0,E=be=B=fe=t}function Xi(){return fe===t?se:qr(pd())}function Fo(){var Wn=pd(),Ls=cr(Wn);if(E=arguments,B=this,be=Wn,Ls){if(fe===t)return lr(be);if(st)return rs(fe),fe=Sf(jr,a),Qt(be)}return fe===t&&(fe=Sf(jr,a)),se}return Fo.cancel=jo,Fo.flush=Xi,Fo}var _w=mr(function(o,a){return _c(o,1,a)}),xw=mr(function(o,a,p){return _c(o,ss(a)||0,p)});function Sw(o){return Va(o,X)}function gd(o,a){if(typeof o!="function"||a!=null&&typeof a!="function")throw new Ni(u);var p=function(){var E=arguments,B=a?a.apply(this,E):E[0],Z=p.cache;if(Z.has(B))return Z.get(B);var se=o.apply(this,E);return p.cache=Z.set(B,se)||Z,se};return p.cache=new(gd.Cache||Mo),p}gd.Cache=Mo;function md(o){if(typeof o!="function")throw new Ni(u);return function(){var a=arguments;switch(a.length){case 0:return!o.call(this);case 1:return!o.call(this,a[0]);case 2:return!o.call(this,a[0],a[1]);case 3:return!o.call(this,a[0],a[1],a[2])}return!o.apply(this,a)}}function Cw(o){return pv(2,o)}var ww=yf(function(o,a){a=a.length==1&&br(a[0])?Yr(a[0],$t(ar())):Yr(zn(a,1),$t(ar()));var p=a.length;return mr(function(E){for(var B=-1,Z=In(E.length,p);++B<Z;)E[B]=a[B].call(this,E[B]);return sn(o,this,E)})}),Ph=mr(function(o,a){var p=Co(a,Tu(Ph));return Va(o,H,t,a,p)}),bv=mr(function(o,a){var p=Co(a,Tu(bv));return Va(o,G,t,a,p)}),Aw=Ga(function(o,a){return Va(o,de,t,t,t,a)});function Tw(o,a){if(typeof o!="function")throw new Ni(u);return a=a===t?a:wr(a),mr(o,a)}function Ew(o,a){if(typeof o!="function")throw new Ni(u);return a=a==null?0:ln(wr(a),0),mr(function(p){var E=p[a],B=co(p,0,a);return E&&Ci(B,E),sn(o,this,B)})}function kw(o,a,p){var E=!0,B=!0;if(typeof o!="function")throw new Ni(u);return Ln(p)&&(E="leading"in p?!!p.leading:E,B="trailing"in p?!!p.trailing:B),yv(o,a,{leading:E,maxWait:a,trailing:B})}function Rw(o){return hv(o,1)}function Iw(o,a){return Ph(ts(a),o)}function Lw(){if(!arguments.length)return[];var o=arguments[0];return br(o)?o:[o]}function Mw(o){return fi(o,_)}function Dw(o,a){return a=typeof a=="function"?a:t,fi(o,_,a)}function Ow(o){return fi(o,T|_)}function Pw(o,a){return a=typeof a=="function"?a:t,fi(o,T|_,a)}function Nw(o,a){return a==null||bc(o,a,mi(a))}function Is(o,a){return o===a||o!==o&&a!==a}var jw=uo(As),Fw=uo(function(o,a){return o>=a}),Bc=Ll(function(){return arguments}())?Ll:function(o){return Pn(o)&&zr.call(o,"callee")&&!yl.call(o,"callee")},br=De.isArray,Bw=Qr?$t(Qr):Ts;function ho(o){return o!=null&&vd(o.length)&&!Ya(o)}function Un(o){return Pn(o)&&ho(o)}function Hw(o){return o===!0||o===!1||Pn(o)&&On(o)==Xe}var $l=_l||Vh,qw=li?$t(li):yu;function zw(o){return Pn(o)&&o.nodeType===1&&!Cf(o)}function $w(o){if(o==null)return!0;if(ho(o)&&(br(o)||typeof o=="string"||typeof o.splice=="function"||$l(o)||Eu(o)||Bc(o)))return!o.length;var a=ji(o);if(a==Ie||a==Rt)return!o.size;if(xf(o))return!Oo(o).length;for(var p in o)if(zr.call(o,p))return!1;return!0}function Uw(o,a){return Fa(o,a)}function Ww(o,a,p){p=typeof p=="function"?p:t;var E=p?p(o,a):t;return E===t?Fa(o,a,t,p):!!E}function Nh(o){if(!Pn(o))return!1;var a=On(o);return a==Re||a==Le||typeof o.message=="string"&&typeof o.name=="string"&&!Cf(o)}function Vw(o){return typeof o=="number"&&ra(o)}function Ya(o){if(!Ln(o))return!1;var a=On(o);return a==ke||a==He||a==gt||a==bt}function _v(o){return typeof o=="number"&&o==wr(o)}function vd(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=ae}function Ln(o){var a=typeof o;return o!=null&&(a=="object"||a=="function")}function Pn(o){return o!=null&&typeof o=="object"}var xv=pi?$t(pi):fa;function Gw(o,a){return o===a||Cc(o,a,Th(a))}function Zw(o,a,p){return p=typeof p=="function"?p:t,Cc(o,a,Th(a),p)}function Yw(o){return Sv(o)&&o!=+o}function Kw(o){if(DS(o))throw new ir(l);return bu(o)}function Xw(o){return o===null}function Jw(o){return o==null}function Sv(o){return typeof o=="number"||Pn(o)&&On(o)==rt}function Cf(o){if(!Pn(o)||On(o)!=kt)return!1;var a=vs(o);if(a===null)return!0;var p=zr.call(a,"constructor")&&a.constructor;return typeof p=="function"&&p instanceof p&&Uo.call(p)==sc}var jh=Bn?$t(Bn):Es;function Qw(o){return _v(o)&&o>=-9007199254740991&&o<=ae}var Cv=_o?$t(_o):Ml;function yd(o){return typeof o=="string"||!br(o)&&Pn(o)&&On(o)==dt}function No(o){return typeof o=="symbol"||Pn(o)&&On(o)==ct}var Eu=zi?$t(zi):Do;function e3(o){return o===t}function t3(o){return Pn(o)&&ji(o)==Me}function r3(o){return Pn(o)&&On(o)==mt}var n3=uo(Vi),i3=uo(function(o,a){return o<=a});function wv(o){if(!o)return[];if(ho(o))return yd(o)?un(o):ii(o);if(Ui&&o[Ui])return nc(o[Ui]());var a=ji(o),p=a==Ie?ic:a==Rt?Ea:ku;return p(o)}function Ka(o){if(!o)return o===0?o:0;if(o=ss(o),o===ve||o===-1/0){var a=o<0?-1:1;return a*ge}return o===o?o:0}function wr(o){var a=Ka(o),p=a%1;return a===a?p?a-p:a:0}function Av(o){return o?Cs(wr(o),0,Se):0}function ss(o){if(typeof o=="number")return o;if(No(o))return he;if(Ln(o)){var a=typeof o.valueOf=="function"?o.valueOf():o;o=Ln(a)?a+"":a}if(typeof o!="string")return o===0?o:+o;o=pt(o);var p=Tr.test(o);return p||hr.test(o)?Wt(o.slice(2),p?2:8):Kt.test(o)?he:+o}function Tv(o){return Yi(o,po(o))}function o3(o){return o?Cs(wr(o),-9007199254740991,ae):o===0?o:0}function tn(o){return o==null?"":Mi(o)}var s3=f(function(o,a){if(xf(a)||ho(a)){Yi(a,mi(a),o);return}for(var p in a)zr.call(a,p)&&ui(o,p,a[p])}),Ev=f(function(o,a){Yi(a,po(a),o)}),bd=f(function(o,a,p,E){Yi(a,po(a),o,E)}),a3=f(function(o,a,p,E){Yi(a,mi(a),o,E)}),l3=Ga(vc);function c3(o,a){var p=Io(o);return a==null?p:pu(p,a)}var u3=mr(function(o,a){o=Ur(o);var p=-1,E=a.length,B=E>2?a[2]:t;for(B&&Ki(a[0],a[1],B)&&(E=1);++p<E;)for(var Z=a[p],se=po(Z),fe=-1,be=se.length;++fe<be;){var Ze=se[fe],Ye=o[Ze];(Ye===t||Is(Ye,$o[Ze])&&!zr.call(o,Ze))&&(o[Ze]=Z[Ze])}return o}),f3=mr(function(o){return o.push(t,Um),sn(kv,t,o)});function d3(o,a){return ps(o,ar(a,3),Ii)}function h3(o,a){return ps(o,ar(a,3),El)}function p3(o,a){return o==null?o:Sc(o,ar(a,3),po)}function g3(o,a){return o==null?o:vu(o,ar(a,3),po)}function m3(o,a){return o&&Ii(o,ar(a,3))}function v3(o,a){return o&&El(o,ar(a,3))}function y3(o){return o==null?[]:aa(o,mi(o))}function b3(o){return o==null?[]:aa(o,po(o))}function Fh(o,a,p){var E=o==null?t:Qo(o,a);return E===t?p:E}function _3(o,a){return o!=null&&Gm(o,a,kl)}function Bh(o,a){return o!=null&&Gm(o,a,la)}var x3=it(function(o,a,p){a!=null&&typeof a.toString!="function"&&(a=Ao.call(a)),o[a]=p},qh(go)),S3=it(function(o,a,p){a!=null&&typeof a.toString!="function"&&(a=Ao.call(a)),zr.call(o,a)?o[a].push(p):o[a]=[p]},ar),C3=mr(ao);function mi(o){return ho(o)?Na(o):Oo(o)}function po(o){return ho(o)?Na(o,!0):Ba(o)}function w3(o,a){var p={};return a=ar(a,3),Ii(o,function(E,B,Z){Ri(p,a(E,B,Z),E)}),p}function A3(o,a){var p={};return a=ar(a,3),Ii(o,function(E,B,Z){Ri(p,B,a(E,B,Z))}),p}var T3=f(function(o,a,p){es(o,a,p)}),kv=f(function(o,a,p,E){es(o,a,p,E)}),E3=Ga(function(o,a){var p={};if(o==null)return p;var E=!1;a=Yr(a,function(Z){return Z=Po(Z,o),E||(E=Z.length>1),Z}),Yi(o,wh(o),p),E&&(p=fi(p,T|C|_,xS));for(var B=a.length;B--;)Ic(p,a[B]);return p});function k3(o,a){return Rv(o,md(ar(a)))}var R3=Ga(function(o,a){return o==null?{}:qa(o,a)});function Rv(o,a){if(o==null)return{};var p=Yr(wh(o),function(E){return[E]});return a=ar(a),ha(o,p,function(E,B){return a(E,B[0])})}function I3(o,a,p){a=Po(a,o);var E=-1,B=a.length;for(B||(B=1,o=t);++E<B;){var Z=o==null?t:o[ga(a[E])];Z===t&&(E=B,Z=p),o=Ya(Z)?Z.call(o):Z}return o}function L3(o,a,p){return o==null?o:Rs(o,a,p)}function M3(o,a,p,E){return E=typeof E=="function"?E:t,o==null?o:Rs(o,a,p,E)}var Iv=ld(mi),Lv=ld(po);function D3(o,a,p){var E=br(o),B=E||$l(o)||Eu(o);if(a=ar(a,4),p==null){var Z=o&&o.constructor;B?p=E?new Z:[]:Ln(o)?p=Ya(Z)?Io(vs(o)):{}:p={}}return(B?Hn:Ii)(o,function(se,fe,be){return a(p,se,fe,be)}),p}function O3(o,a){return o==null?!0:Ic(o,a)}function P3(o,a,p){return o==null?o:$a(o,a,ts(p))}function N3(o,a,p,E){return E=typeof E=="function"?E:t,o==null?o:$a(o,a,ts(p),E)}function ku(o){return o==null?[]:dr(o,mi(o))}function j3(o){return o==null?[]:dr(o,po(o))}function F3(o,a,p){return p===t&&(p=a,a=t),p!==t&&(p=ss(p),p=p===p?p:0),a!==t&&(a=ss(a),a=a===a?a:0),Cs(ss(o),a,p)}function B3(o,a,p){return a=Ka(a),p===t?(p=a,a=0):p=Ka(p),o=ss(o),Rl(o,a,p)}function H3(o,a,p){if(p&&typeof p!="boolean"&&Ki(o,a,p)&&(a=p=t),p===t&&(typeof a=="boolean"?(p=a,a=t):typeof o=="boolean"&&(p=o,o=t)),o===t&&a===t?(o=0,a=1):(o=Ka(o),a===t?(a=o,o=0):a=Ka(a)),o>a){var E=o;o=a,a=E}if(p||o%1||a%1){var B=Go();return In(o+B*(a-o+Xt("1e-"+((B+"").length-1))),a)}return ks(o,a)}var q3=L(function(o,a,p){return a=a.toLowerCase(),o+(p?Mv(a):a)});function Mv(o){return Hh(tn(o).toLowerCase())}function Dv(o){return o=tn(o),o&&o.replace(vr,Ai).replace(to,"")}function z3(o,a,p){o=tn(o),a=Mi(a);var E=o.length;p=p===t?E:Cs(wr(p),0,E);var B=p;return p-=a.length,p>=0&&o.slice(p,B)==a}function $3(o){return o=tn(o),o&&At.test(o)?o.replace(ot,Zs):o}function U3(o){return o=tn(o),o&&Qe.test(o)?o.replace(Je,"\\$&"):o}var W3=L(function(o,a,p){return o+(p?"-":"")+a.toLowerCase()}),V3=L(function(o,a,p){return o+(p?" ":"")+a.toLowerCase()}),G3=y("toLowerCase");function Z3(o,a,p){o=tn(o),a=wr(a);var E=a?Ks(o):0;if(!a||E>=a)return o;var B=(a-E)/2;return Dr(ys(B),p)+o+Dr(ea(B),p)}function Y3(o,a,p){o=tn(o),a=wr(a);var E=a?Ks(o):0;return a&&E<a?o+Dr(a-E,p):o}function K3(o,a,p){o=tn(o),a=wr(a);var E=a?Ks(o):0;return a&&E<a?Dr(a-E,p)+o:o}function X3(o,a,p){return p||a==null?a=0:a&&(a=+a),cc(tn(o).replace(ht,""),a||0)}function J3(o,a,p){return(p?Ki(o,a,p):a===t)?a=1:a=wr(a),Pl(tn(o),a)}function Q3(){var o=arguments,a=tn(o[0]);return o.length<3?a:a.replace(o[1],o[2])}var eA=L(function(o,a,p){return o+(p?"_":"")+a.toLowerCase()});function tA(o,a,p){return p&&typeof p!="number"&&Ki(o,a,p)&&(a=p=t),p=p===t?Se:p>>>0,p?(o=tn(o),o&&(typeof a=="string"||a!=null&&!jh(a))&&(a=Mi(a),!a&&Ys(o))?co(un(o),0,p):o.split(a,p)):[]}var rA=L(function(o,a,p){return o+(p?" ":"")+Hh(a)});function nA(o,a,p){return o=tn(o),p=p==null?0:Cs(wr(p),0,o.length),a=Mi(a),o.slice(p,p+a.length)==a}function iA(o,a,p){var E=$.templateSettings;p&&Ki(o,a,p)&&(a=t),o=tn(o),a=bd({},a,E,$m);var B=bd({},a.imports,E.imports,$m),Z=mi(B),se=dr(B,Z),fe,be,Ze=0,Ye=a.interpolate||Gn,st="__p += '",Pt=Xs((a.escape||Gn).source+"|"+Ye.source+"|"+(Ye===Ut?zt:Gn).source+"|"+(a.evaluate||Gn).source+"|$","g"),Qt="//# sourceURL="+(zr.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Or+"]")+`
35
+ `;o.replace(Pt,function(cr,jr,qr,jo,Xi,Fo){return qr||(qr=jo),st+=o.slice(Ze,Fo).replace(Sn,pl),jr&&(fe=!0,st+=`' +
36
+ __e(`+jr+`) +
37
+ '`),Xi&&(be=!0,st+=`';
38
+ `+Xi+`;
39
+ __p += '`),qr&&(st+=`' +
40
+ ((__t = (`+qr+`)) == null ? '' : __t) +
41
+ '`),Ze=Fo+cr.length,cr}),st+=`';
42
+ `;var lr=zr.call(a,"variable")&&a.variable;if(!lr)st=`with (obj) {
43
+ `+st+`
44
+ }
45
+ `;else if(It.test(lr))throw new ir(h);st=(be?st.replace(ye,""):st).replace(xe,"$1").replace(vt,"$1;"),st="function("+(lr||"obj")+`) {
46
+ `+(lr?"":`obj || (obj = {});
47
+ `)+"var __t, __p = ''"+(fe?", __e = _.escape":"")+(be?`, __j = Array.prototype.join;
48
+ function print() { __p += __j.call(arguments, '') }
49
+ `:`;
50
+ `)+st+`return __p
51
+ }`;var kr=Pv(function(){return Pr(Z,Qt+"return "+st).apply(t,se)});if(kr.source=st,Nh(kr))throw kr;return kr}function oA(o){return tn(o).toLowerCase()}function sA(o){return tn(o).toUpperCase()}function aA(o,a,p){if(o=tn(o),o&&(p||a===t))return pt(o);if(!o||!(a=Mi(a)))return o;var E=un(o),B=un(a),Z=Gr(E,B),se=ti(E,B)+1;return co(E,Z,se).join("")}function lA(o,a,p){if(o=tn(o),o&&(p||a===t))return o.slice(0,iu(o)+1);if(!o||!(a=Mi(a)))return o;var E=un(o),B=ti(E,un(a))+1;return co(E,0,B).join("")}function cA(o,a,p){if(o=tn(o),o&&(p||a===t))return o.replace(ht,"");if(!o||!(a=Mi(a)))return o;var E=un(o),B=Gr(E,un(a));return co(E,B).join("")}function uA(o,a){var p=ue,E=P;if(Ln(a)){var B="separator"in a?a.separator:B;p="length"in a?wr(a.length):p,E="omission"in a?Mi(a.omission):E}o=tn(o);var Z=o.length;if(Ys(o)){var se=un(o);Z=se.length}if(p>=Z)return o;var fe=p-Ks(E);if(fe<1)return E;var be=se?co(se,0,fe).join(""):o.slice(0,fe);if(B===t)return be+E;if(se&&(fe+=be.length-fe),jh(B)){if(o.slice(fe).search(B)){var Ze,Ye=be;for(B.global||(B=Xs(B.source,tn(yt.exec(B))+"g")),B.lastIndex=0;Ze=B.exec(Ye);)var st=Ze.index;be=be.slice(0,st===t?fe:st)}}else if(o.indexOf(Mi(B),fe)!=fe){var Pt=be.lastIndexOf(B);Pt>-1&&(be=be.slice(0,Pt))}return be+E}function fA(o){return o=tn(o),o&&Et.test(o)?o.replace(et,ou):o}var dA=L(function(o,a,p){return o+(p?" ":"")+a.toUpperCase()}),Hh=y("toUpperCase");function Ov(o,a,p){return o=tn(o),a=p?t:a,a===t?tf(o)?su(o):Vs(o):o.match(a)||[]}var Pv=mr(function(o,a){try{return sn(o,t,a)}catch(p){return Nh(p)?p:new ir(p)}}),hA=Ga(function(o,a){return Hn(a,function(p){p=ga(p),Ri(o,p,Oh(o[p],o))}),o});function pA(o){var a=o==null?0:o.length,p=ar();return o=a?Yr(o,function(E){if(typeof E[1]!="function")throw new Ni(u);return[p(E[0]),E[1]]}):[],mr(function(E){for(var B=-1;++B<a;){var Z=o[B];if(sn(Z[0],this,E))return sn(Z[1],this,E)}})}function gA(o){return yc(fi(o,T))}function qh(o){return function(){return o}}function mA(o,a){return o==null||o!==o?a:o}var vA=Ce(),yA=Ce(!0);function go(o){return o}function zh(o){return Dl(typeof o=="function"?o:fi(o,T))}function bA(o){return lo(fi(o,T))}function _A(o,a){return Ha(o,fi(a,T))}var xA=mr(function(o,a){return function(p){return ao(p,o,a)}}),SA=mr(function(o,a){return function(p){return ao(o,p,a)}});function $h(o,a,p){var E=mi(a),B=aa(a,E);p==null&&!(Ln(a)&&(B.length||!E.length))&&(p=a,a=o,o=this,B=aa(a,mi(a)));var Z=!(Ln(p)&&"chain"in p)||!!p.chain,se=Ya(o);return Hn(B,function(fe){var be=a[fe];o[fe]=be,se&&(o.prototype[fe]=function(){var Ze=this.__chain__;if(Z||Ze){var Ye=o(this.__wrapped__),st=Ye.__actions__=ii(this.__actions__);return st.push({func:be,args:arguments,thisArg:o}),Ye.__chain__=Ze,Ye}return be.apply(o,Ci([this.value()],arguments))})}),o}function CA(){return fr._===this&&(fr._=ac),this}function Uh(){}function wA(o){return o=wr(o),mr(function(a){return da(a,o)})}var AA=nr(Yr),TA=nr(wa),EA=nr(zo);function Nv(o){return kh(o)?w(ga(o)):_u(o)}function kA(o){return function(a){return o==null?t:Qo(o,a)}}var RA=ns(),IA=ns(!0);function Wh(){return[]}function Vh(){return!1}function LA(){return{}}function MA(){return""}function DA(){return!0}function OA(o,a){if(o=wr(o),o<1||o>ae)return[];var p=Se,E=In(o,Se);a=ar(a),o-=Se;for(var B=we(E,a);++p<o;)a(p);return B}function PA(o){return br(o)?Yr(o,ga):No(o)?[o]:ii(rv(tn(o)))}function NA(o){var a=++oc;return tn(o)+a}var jA=St(function(o,a){return o+a},0),FA=is("ceil"),BA=St(function(o,a){return o/a},1),HA=is("floor");function qA(o){return o&&o.length?Tl(o,go,As):t}function zA(o,a){return o&&o.length?Tl(o,ar(a,2),As):t}function $A(o){return Ta(o,go)}function UA(o,a){return Ta(o,ar(a,2))}function WA(o){return o&&o.length?Tl(o,go,Vi):t}function VA(o,a){return o&&o.length?Tl(o,ar(a,2),Vi):t}var GA=St(function(o,a){return o*a},1),ZA=is("round"),YA=St(function(o,a){return o-a},0);function KA(o){return o&&o.length?Ee(o,go):0}function XA(o,a){return o&&o.length?Ee(o,ar(a,2)):0}return $.after=bw,$.ary=hv,$.assign=s3,$.assignIn=Ev,$.assignInWith=bd,$.assignWith=a3,$.at=l3,$.before=pv,$.bind=Oh,$.bindAll=hA,$.bindKey=gv,$.castArray=Lw,$.chain=uv,$.chunk=HS,$.compact=qS,$.concat=zS,$.cond=pA,$.conforms=gA,$.constant=qh,$.countBy=KC,$.create=c3,$.curry=mv,$.curryRight=vv,$.debounce=yv,$.defaults=u3,$.defaultsDeep=f3,$.defer=_w,$.delay=xw,$.difference=$S,$.differenceBy=US,$.differenceWith=WS,$.drop=VS,$.dropRight=GS,$.dropRightWhile=ZS,$.dropWhile=YS,$.fill=KS,$.filter=JC,$.flatMap=tw,$.flatMapDeep=rw,$.flatMapDepth=nw,$.flatten=sv,$.flattenDeep=XS,$.flattenDepth=JS,$.flip=Sw,$.flow=vA,$.flowRight=yA,$.fromPairs=QS,$.functions=y3,$.functionsIn=b3,$.groupBy=iw,$.initial=tC,$.intersection=rC,$.intersectionBy=nC,$.intersectionWith=iC,$.invert=x3,$.invertBy=S3,$.invokeMap=sw,$.iteratee=zh,$.keyBy=aw,$.keys=mi,$.keysIn=po,$.map=hd,$.mapKeys=w3,$.mapValues=A3,$.matches=bA,$.matchesProperty=_A,$.memoize=gd,$.merge=T3,$.mergeWith=kv,$.method=xA,$.methodOf=SA,$.mixin=$h,$.negate=md,$.nthArg=wA,$.omit=E3,$.omitBy=k3,$.once=Cw,$.orderBy=lw,$.over=AA,$.overArgs=ww,$.overEvery=TA,$.overSome=EA,$.partial=Ph,$.partialRight=bv,$.partition=cw,$.pick=R3,$.pickBy=Rv,$.property=Nv,$.propertyOf=kA,$.pull=lC,$.pullAll=lv,$.pullAllBy=cC,$.pullAllWith=uC,$.pullAt=fC,$.range=RA,$.rangeRight=IA,$.rearg=Aw,$.reject=dw,$.remove=dC,$.rest=Tw,$.reverse=Mh,$.sampleSize=pw,$.set=L3,$.setWith=M3,$.shuffle=gw,$.slice=hC,$.sortBy=yw,$.sortedUniq=_C,$.sortedUniqBy=xC,$.split=tA,$.spread=Ew,$.tail=SC,$.take=CC,$.takeRight=wC,$.takeRightWhile=AC,$.takeWhile=TC,$.tap=qC,$.throttle=kw,$.thru=dd,$.toArray=wv,$.toPairs=Iv,$.toPairsIn=Lv,$.toPath=PA,$.toPlainObject=Tv,$.transform=D3,$.unary=Rw,$.union=EC,$.unionBy=kC,$.unionWith=RC,$.uniq=IC,$.uniqBy=LC,$.uniqWith=MC,$.unset=O3,$.unzip=Dh,$.unzipWith=cv,$.update=P3,$.updateWith=N3,$.values=ku,$.valuesIn=j3,$.without=DC,$.words=Ov,$.wrap=Iw,$.xor=OC,$.xorBy=PC,$.xorWith=NC,$.zip=jC,$.zipObject=FC,$.zipObjectDeep=BC,$.zipWith=HC,$.entries=Iv,$.entriesIn=Lv,$.extend=Ev,$.extendWith=bd,$h($,$),$.add=jA,$.attempt=Pv,$.camelCase=q3,$.capitalize=Mv,$.ceil=FA,$.clamp=F3,$.clone=Mw,$.cloneDeep=Ow,$.cloneDeepWith=Pw,$.cloneWith=Dw,$.conformsTo=Nw,$.deburr=Dv,$.defaultTo=mA,$.divide=BA,$.endsWith=z3,$.eq=Is,$.escape=$3,$.escapeRegExp=U3,$.every=XC,$.find=QC,$.findIndex=iv,$.findKey=d3,$.findLast=ew,$.findLastIndex=ov,$.findLastKey=h3,$.floor=HA,$.forEach=fv,$.forEachRight=dv,$.forIn=p3,$.forInRight=g3,$.forOwn=m3,$.forOwnRight=v3,$.get=Fh,$.gt=jw,$.gte=Fw,$.has=_3,$.hasIn=Bh,$.head=av,$.identity=go,$.includes=ow,$.indexOf=eC,$.inRange=B3,$.invoke=C3,$.isArguments=Bc,$.isArray=br,$.isArrayBuffer=Bw,$.isArrayLike=ho,$.isArrayLikeObject=Un,$.isBoolean=Hw,$.isBuffer=$l,$.isDate=qw,$.isElement=zw,$.isEmpty=$w,$.isEqual=Uw,$.isEqualWith=Ww,$.isError=Nh,$.isFinite=Vw,$.isFunction=Ya,$.isInteger=_v,$.isLength=vd,$.isMap=xv,$.isMatch=Gw,$.isMatchWith=Zw,$.isNaN=Yw,$.isNative=Kw,$.isNil=Jw,$.isNull=Xw,$.isNumber=Sv,$.isObject=Ln,$.isObjectLike=Pn,$.isPlainObject=Cf,$.isRegExp=jh,$.isSafeInteger=Qw,$.isSet=Cv,$.isString=yd,$.isSymbol=No,$.isTypedArray=Eu,$.isUndefined=e3,$.isWeakMap=t3,$.isWeakSet=r3,$.join=oC,$.kebabCase=W3,$.last=os,$.lastIndexOf=sC,$.lowerCase=V3,$.lowerFirst=G3,$.lt=n3,$.lte=i3,$.max=qA,$.maxBy=zA,$.mean=$A,$.meanBy=UA,$.min=WA,$.minBy=VA,$.stubArray=Wh,$.stubFalse=Vh,$.stubObject=LA,$.stubString=MA,$.stubTrue=DA,$.multiply=GA,$.nth=aC,$.noConflict=CA,$.noop=Uh,$.now=pd,$.pad=Z3,$.padEnd=Y3,$.padStart=K3,$.parseInt=X3,$.random=H3,$.reduce=uw,$.reduceRight=fw,$.repeat=J3,$.replace=Q3,$.result=I3,$.round=ZA,$.runInContext=pe,$.sample=hw,$.size=mw,$.snakeCase=eA,$.some=vw,$.sortedIndex=pC,$.sortedIndexBy=gC,$.sortedIndexOf=mC,$.sortedLastIndex=vC,$.sortedLastIndexBy=yC,$.sortedLastIndexOf=bC,$.startCase=rA,$.startsWith=nA,$.subtract=YA,$.sum=KA,$.sumBy=XA,$.template=iA,$.times=OA,$.toFinite=Ka,$.toInteger=wr,$.toLength=Av,$.toLower=oA,$.toNumber=ss,$.toSafeInteger=o3,$.toString=tn,$.toUpper=sA,$.trim=aA,$.trimEnd=lA,$.trimStart=cA,$.truncate=uA,$.unescape=fA,$.uniqueId=NA,$.upperCase=dA,$.upperFirst=Hh,$.each=fv,$.eachRight=dv,$.first=av,$h($,function(){var o={};return Ii($,function(a,p){zr.call($.prototype,p)||(o[p]=a)}),o}(),{chain:!1}),$.VERSION=n,Hn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(o){$[o].placeholder=$}),Hn(["drop","take"],function(o,a){yr.prototype[o]=function(p){p=p===t?1:ln(wr(p),0);var E=this.__filtered__&&!a?new yr(this):this.clone();return E.__filtered__?E.__takeCount__=In(p,E.__takeCount__):E.__views__.push({size:In(p,Se),type:o+(E.__dir__<0?"Right":"")}),E},yr.prototype[o+"Right"]=function(p){return this.reverse()[o](p).reverse()}}),Hn(["filter","map","takeWhile"],function(o,a){var p=a+1,E=p==ne||p==ce;yr.prototype[o]=function(B){var Z=this.clone();return Z.__iteratees__.push({iteratee:ar(B,3),type:p}),Z.__filtered__=Z.__filtered__||E,Z}}),Hn(["head","last"],function(o,a){var p="take"+(a?"Right":"");yr.prototype[o]=function(){return this[p](1).value()[0]}}),Hn(["initial","tail"],function(o,a){var p="drop"+(a?"":"Right");yr.prototype[o]=function(){return this.__filtered__?new yr(this):this[p](1)}}),yr.prototype.compact=function(){return this.filter(go)},yr.prototype.find=function(o){return this.filter(o).head()},yr.prototype.findLast=function(o){return this.reverse().find(o)},yr.prototype.invokeMap=mr(function(o,a){return typeof o=="function"?new yr(this):this.map(function(p){return ao(p,o,a)})}),yr.prototype.reject=function(o){return this.filter(md(ar(o)))},yr.prototype.slice=function(o,a){o=wr(o);var p=this;return p.__filtered__&&(o>0||a<0)?new yr(p):(o<0?p=p.takeRight(-o):o&&(p=p.drop(o)),a!==t&&(a=wr(a),p=a<0?p.dropRight(-a):p.take(a-o)),p)},yr.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},yr.prototype.toArray=function(){return this.take(Se)},Ii(yr.prototype,function(o,a){var p=/^(?:filter|find|map|reject)|While$/.test(a),E=/^(?:head|last)$/.test(a),B=$[E?"take"+(a=="last"?"Right":""):a],Z=E||/^find/.test(a);B&&($.prototype[a]=function(){var se=this.__wrapped__,fe=E?[1]:arguments,be=se instanceof yr,Ze=fe[0],Ye=be||br(se),st=function(jr){var qr=B.apply($,Ci([jr],fe));return E&&Pt?qr[0]:qr};Ye&&p&&typeof Ze=="function"&&Ze.length!=1&&(be=Ye=!1);var Pt=this.__chain__,Qt=!!this.__actions__.length,lr=Z&&!Pt,kr=be&&!Qt;if(!Z&&Ye){se=kr?se:new yr(this);var cr=o.apply(se,fe);return cr.__actions__.push({func:dd,args:[st],thisArg:t}),new ri(cr,Pt)}return lr&&kr?o.apply(this,fe):(cr=this.thru(st),lr?E?cr.value()[0]:cr.value():cr)})}),Hn(["pop","push","shift","sort","splice","unshift"],function(o){var a=vl[o],p=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",E=/^(?:pop|shift)$/.test(o);$.prototype[o]=function(){var B=arguments;if(E&&!this.__chain__){var Z=this.value();return a.apply(br(Z)?Z:[],B)}return this[p](function(se){return a.apply(br(se)?se:[],B)})}}),Ii(yr.prototype,function(o,a){var p=$[a];if(p){var E=p.name+"";zr.call(bs,E)||(bs[E]=[]),bs[E].push({name:a,func:p})}}),bs[Ve(t,b).name]=[{name:"wrapper",func:t}],yr.prototype.clone=Sl,yr.prototype.reverse=Oa,yr.prototype.value=Cl,$.prototype.at=zC,$.prototype.chain=$C,$.prototype.commit=UC,$.prototype.next=WC,$.prototype.plant=GC,$.prototype.reverse=ZC,$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=YC,$.prototype.first=$.prototype.head,Ui&&($.prototype[Ui]=VC),$},wo=ml();Jr?((Jr.exports=wo)._=wo,Cr._=wo):fr._=wo}).call(i4)}(Mf,Mf.exports)),Mf.exports}var B_=o4();const tl=ol(B_),s4=r=>{try{return JSON.parse(r)}catch{return}},a4=(r,e)=>JSON.stringify(r,null,e),l4=r=>Object.keys(r),c4=r=>Object.values(r),u4=r=>Object.entries(r),f4=(r,e)=>{Object.entries(r).forEach(([t,n])=>e(t,n))},d4=(r,e)=>Object.keys(r).includes(e),h4=(r,e)=>Object.entries(r).map((t,n)=>e(t,n)),p4=(r,e)=>Object.entries(r).some(([t,n])=>e(t,n)),g4=(r,e)=>Object.entries(r).find(([t,n])=>e(t,n)),H_=r=>k.isValidElement(r)||typeof r=="string"||typeof r=="number"||typeof r=="boolean"||r===null||r===void 0||Array.isArray(r)&&r.every(H_),m4=(r,e)=>tl.isEqual(r,e),rr={equal:m4,parse:s4,stringify:a4,keys:l4,values:c4,entries:u4,forEach:f4,hasKey:d4,map:h4,some:p4,find:g4,isReactNode:H_},q_="_NoSelect_1wchx_1",z_="_IsFixedShape_1wchx_6",$_="_IsCursorPointer_1wchx_11",U_="_IsInteractive_1wchx_15",Hc={NoSelect:q_,IsFixedShape:z_,IsCursorPointer:$_,IsInteractive:U_},v4="_Display1_11vgm_1",y4="_Display2_11vgm_6",b4="_Title1_11vgm_11",_4="_Title2_11vgm_16",x4="_Title3_11vgm_21",S4="_Headline1_11vgm_26",C4="_Headline2_11vgm_31",w4="_Body1Normal_11vgm_36",A4="_Body1Reading_11vgm_41",T4="_Label1_11vgm_46",E4="_Label2_11vgm_51",k4="_Caption1_11vgm_56",R4="_Caption2_11vgm_61",I4="_Regular_11vgm_66",L4="_Medium_11vgm_70",M4="_SemiBold_11vgm_74",D4="_Bold_11vgm_78",Di={Display1:v4,Display2:y4,Title1:b4,Title2:_4,Title3:x4,Headline1:S4,Headline2:C4,Body1Normal:w4,Body1Reading:A4,Label1:T4,Label2:E4,Caption1:k4,Caption2:R4,Regular:I4,Medium:L4,SemiBold:M4,Bold:D4};function zv(...r){return r.filter(Boolean).join(" ")}const W_={NoSelect:Hc.NoSelect,IsClickable:zv(Hc.NoSelect,Hc.IsCursorPointer,Hc.IsFixedShape),IsInteractive:zv(Hc.NoSelect,Hc.IsCursorPointer,Hc.IsInteractive)},V_={Display1:Di.Display1,Display2:Di.Display2,Title1:Di.Title1,Title2:Di.Title2,Title3:Di.Title3,Headline1:Di.Headline1,Headline2:Di.Headline2,Body1Normal:Di.Body1Normal,Body1Reading:Di.Body1Reading,Label1:Di.Label1,Label2:Di.Label2,Caption1:Di.Caption1,Caption2:Di.Caption2,Regular:Di.Regular,Medium:Di.Medium,SemiBold:Di.SemiBold,Bold:Di.Bold};let sm={};const Uf={...W_,...V_,...sm};let am=rr.keys(Uf);function O4(){Object.assign(Uf,sm),am=rr.keys(Uf)}function P4(...r){let e=[];for(let t=0;t<r.length;t++){let n=r[t];am.includes(n)&&(n=Uf[n]),typeof n=="string"&&n!==""&&e.push(n)}return e.join(" ")}function N4(r,...e){const t=[],n=rr.keys(r);for(let i=0;i<e.length;i++){let l=e[i];am.includes(l)?l=Uf[l]:n.includes(l)&&(l=r[l]),typeof l=="string"&&l!==""&&t.push(l)}return t.join(" ")}const qe={clsx:P4,sclsx:N4,classes:W_,typographies:V_,additionalClasses:sm,updateKeys:O4},Oi={"2xs":12,xs:16,sm:20,md:24,lg:32,xl:40,"2xl":48,"3xl":64},ut=(r,e=Oi.md)=>{const t=Oi[r],n=t/e,i={xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:`0 0 ${e} ${e}`};if(n<0){const l=(e-t)/2;return{...i,viewBox:`${l} ${l} ${t} ${t}`,transform:`scale(${n})`}}return i},Ru=(r,e=Oi.md)=>{const t=Oi[r],n=40,i=t/e,l={xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:`0 ${-(e*n)} ${e*n} ${e*n}`};if(i<0){const u=(e-t)/2;return{...l,viewBox:`${u} ${-(t*n)} ${t*n} ${t*n}`,transform:`scale(${i})`}}return l},oi=r=>({fill:"none",stroke:r,strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),Fr=r=>{const{icon:e,style:t,svgRef:n,...i}=r,l=k.useMemo(()=>rh[e],[e]);return v.jsx(l,{...i,style:{...t,flexShrink:0}})},j4=r=>{const e=rr.keys(r);return n=>{const{icon:i,svgRef:l,...u}=n,h=k.useMemo(()=>e.includes(i)?r[i]:rh[i],[i]);return v.jsx(h,{...u})}},rh=Object.freeze({ArrowDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"})})},ArrowUp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"})})},Chat:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M20 17.17 18.83 16H4V4h16v13.17zM20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"})})},"Check.Checked":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...ut(e,u),fill:n,...l,ref:i,children:[v.jsx("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"1.5",stroke:t}),v.jsx("path",{d:"M6.25009 10.4324L4.22884 8.41116C4.00148 8.1838 3.63305 8.18315 3.40489 8.40971V8.40971C3.17558 8.6374 3.17492 9.00808 3.40343 9.23658L5.54298 11.3761C5.93351 11.7667 6.56667 11.7667 6.9572 11.3761L12.8387 5.49459C13.0659 5.26741 13.0659 4.89908 12.8387 4.6719V4.6719C12.6116 4.44479 12.2435 4.4447 12.0162 4.6717L6.25009 10.4324Z",fill:t})]})},"Check.Indeterminate":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...ut(e,u),fill:n,...l,ref:i,children:[v.jsx("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"1.5",stroke:t}),v.jsx("rect",{x:"3",y:"7",width:"10",height:"1",fill:t})]})},"Check.UnChecked":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:i,...l}=r,u=Oi.xs;return v.jsx("svg",{...ut(e,u),fill:n,...l,ref:i,children:v.jsx("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"1.5",stroke:t})})},CircleCheck:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})})},ClipBoard:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"})})},Close:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})})},Document:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"})})},Menu:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"})})},Person:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})})},PersonOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e),...oi(t),...l,ref:i,children:[v.jsx("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),v.jsx("circle",{cx:"12",cy:"7",r:"4"})]})},Reset:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"})})},Search:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"})})},Send:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"})})},Spinner:(r={})=>{const{size:e="3xl",primaryColor:t="var(--label-strong)",secondaryColor:n="var(--elevation-10)",svgRef:i,...l}=r,u=Oi["3xl"];return v.jsxs("svg",{...ut(e,u),fill:"none",strokeWidth:"12",...l,ref:i,children:[v.jsx("circle",{cx:"32",cy:"32",r:"22",style:{...l.style,transition:"stroke var(--Transition)"},stroke:n}),v.jsx("path",{style:{...l.style,transition:"stroke var(--Transition)"},d:"M10 32C10 29.1109 10.569 26.2501 11.6746 23.581C12.7803 20.9118 14.4008 18.4865 16.4437 16.4436C18.4865 14.4008 20.9118 12.7803 23.581 11.6747C26.2501 10.569 29.1109 10 32 10",stroke:t,children:v.jsx("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 32 32",to:"360 32 32",dur:"1s",repeatCount:"indefinite",calcMode:"spline",keySplines:"0.27 0.71 0.78 0.44",keyTimes:"0;1"})})]})},Stop:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M6 6h12v12H6z"})})},TriangleAlert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 5.99 19.53 19H4.47L12 5.99M2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zm0 5h2v2h-2z"})})},TriangleAlert2:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e),...oi(t),...l,ref:i,children:[v.jsx("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}),v.jsx("line",{x1:"12",y1:"9",x2:"12",y2:"13"}),v.jsx("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})]})},Sun:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e,28),...oi(t),strokeWidth:1,...l,ref:i,children:[v.jsx("circle",{cx:"14",cy:"14",r:"3.5"}),v.jsx("path",{d:"M21.1213 21.1213L19 19"}),v.jsx("path",{d:"M24 14L21 14"}),v.jsx("path",{d:"M9.12132 19L7 21.1213"}),v.jsx("path",{d:"M14 21L14 24"}),v.jsx("path",{d:"M6.99977 7.00002L9.12109 9.12134"}),v.jsx("path",{d:"M4 14L7 14"}),v.jsx("path",{d:"M18.9998 9.12132L21.1211 7"}),v.jsx("path",{d:"M14 7L14 4"})]})},Moon:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="white",svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e,28),...l,ref:i,children:[v.jsx("mask",{id:"path-1-inside-1_640_3082",fill:n,children:v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 14.9271C21.7297 16.1977 19.9746 16.9836 18.036 16.9836C14.1593 16.9836 11.0167 13.841 11.0167 9.96435C11.0167 8.02554 11.8027 6.27032 13.0735 5C8.53643 5.47528 5 9.31228 5 13.9753C5 18.9595 9.04054 23 14.0248 23C18.6876 23 22.5244 19.4639 23 14.9271Z"})}),v.jsx("path",{d:"M23 14.9271L23.9945 15.0313L24.2889 12.2235L22.2928 14.2201L23 14.9271ZM13.0735 5L13.7805 5.70724L15.7772 3.71131L12.9694 4.00544L13.0735 5ZM22.2928 14.2201C21.2024 15.3108 19.6987 15.9836 18.036 15.9836V17.9836C20.2505 17.9836 22.257 17.0846 23.7072 15.6341L22.2928 14.2201ZM18.036 15.9836C14.7116 15.9836 12.0167 13.2887 12.0167 9.96435H10.0167C10.0167 14.3933 13.607 17.9836 18.036 17.9836V15.9836ZM12.0167 9.96435C12.0167 8.30147 12.6897 6.79768 13.7805 5.70724L12.3666 4.29276C10.9158 5.74295 10.0167 7.7496 10.0167 9.96435H12.0167ZM6 13.9753C6 9.8296 9.14442 6.41706 13.1777 5.99456L12.9694 4.00544C7.92844 4.5335 4 8.79496 4 13.9753H6ZM14.0248 22C9.59282 22 6 18.4072 6 13.9753H4C4 19.5118 8.48825 24 14.0248 24V22ZM22.0054 14.8228C21.5827 18.8559 18.1703 22 14.0248 22V24C19.2049 24 23.4662 20.0719 23.9945 15.0313L22.0054 14.8228Z",fill:t,mask:"url(#path-1-inside-1_640_3082)"})]})},CCTV:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="white",svgRef:i,...l}=r,u=Oi["2xs"];return v.jsxs("svg",{...ut(e,u),...l,ref:i,children:[v.jsx("rect",{x:"1",y:"5",width:"1",height:"5",fill:t}),v.jsx("path",{d:"M1.5 7.5H3L5 5.5",stroke:t}),v.jsx("rect",{x:"5.12132",y:"2",width:"5.13925",height:"3",transform:"rotate(45 5.12132 2)",fill:t}),v.jsx("rect",{x:"8.83633",y:"6.28503",width:"1",height:"2.19393",transform:"rotate(45 8.83633 6.28503)",fill:t}),v.jsx("clipPath",{id:"clip0_2241_2464",children:v.jsx("rect",{width:"12",height:"12",fill:n})})]})},Convert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"})})},KeyboardArrowUp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"})})},KeyboardArrowDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"})})},Alert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="var(--background-normal)",svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:n,...l,ref:i,children:v.jsxs("g",{clipPath:"url(#clip0_1786_1844)",children:[v.jsx("path",{d:"M11.1238 2.59312C11.5037 1.90234 12.4963 1.90234 12.8762 2.59312L22.1849 19.5181C22.5515 20.1845 22.0693 21 21.3087 21H2.69127C1.93067 21 1.44851 20.1845 1.81506 19.5181L11.1238 2.59312Z",fill:t}),v.jsx("path",{style:{...l.style,transition:"fill var(--Transition)"},d:"M12.8169 8H11.1691L11.2958 15.0451H12.6902L12.8169 8ZM11.0001 17.0287C10.993 17.5622 11.4508 17.9932 12 18C12.5423 17.9932 12.993 17.5622 13 17.0287C12.993 16.4952 12.5423 16.0575 12 16.0575C11.4508 16.0575 10.993 16.4952 11.0001 17.0287Z",fill:n})]})})},SortUp:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsx("svg",{...ut(e,u),fill:"none",...l,ref:i,children:v.jsx("path",{d:"M6 10L9 7L12 10",stroke:t})})},SortDown:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsx("svg",{...ut(e,u),fill:"none",...l,ref:i,children:v.jsx("path",{d:"M12 7L9 10L6 7",stroke:t})})},SortBoth:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...ut(e,u),fill:"none",...l,ref:i,children:[v.jsx("path",{d:"M6 6.75L9 3.75L12 6.75",stroke:t}),v.jsx("path",{d:"M12 11.25L9 14.25L6 11.25",stroke:t})]})},RowSortUp:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...ut(e,u),...l,ref:i,children:[v.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),v.jsx("path",{opacity:"0.2",d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t})]})},RowSortDown:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...ut(e,u),...l,ref:i,children:[v.jsx("path",{opacity:"0.2",d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),v.jsx("path",{d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t})]})},RowSortBoth:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...ut(e,u),...l,ref:i,children:[v.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),v.jsx("path",{d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t})]})},Favorite:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 4L13.7961 9.52786H19.6085L14.9062 12.9443L16.7023 18.4721L12 15.0557L7.29772 18.4721L9.09383 12.9443L4.39155 9.52786H10.2039L12 4Z"})})},FavoriteDisabled:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),...oi(t),fill:n,strokeWidth:"1",...l,ref:i,children:v.jsx("path",{d:"M12 4L13.7961 9.52786H19.6085L14.9062 12.9443L16.7023 18.4721L12 15.0557L7.29772 18.4721L9.09383 12.9443L4.39155 9.52786H10.2039L12 4Z"})})},Main:(r={})=>{const{primaryColor:e="currentColor",secondaryColor:t,svgRef:n,...i}=r;return v.jsxs("svg",{viewBox:"0 0 118 84",width:"118",height:"84",...i,ref:n,children:[v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.0843 0.94382H8.51123C4.34117 0.94382 0.960666 4.32432 0.960666 8.49438V49.0787C0.960666 53.77 4.76373 57.573 9.45505 57.573H66.0843C70.7756 57.573 74.5787 53.77 74.5787 49.0787V9.4382C74.5787 4.74688 70.7756 0.94382 66.0843 0.94382ZM8.51123 0C3.81991 0 0.0168457 3.80306 0.0168457 8.49438V49.0787C0.0168457 54.2912 4.24247 58.5169 9.45505 58.5169H66.0843C71.2968 58.5169 75.5225 54.2912 75.5225 49.0787V9.4382C75.5225 4.22563 71.2968 0 66.0843 0H8.51123Z",fill:e}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M108.556 26.4272H51.927C47.2357 26.4272 43.4326 30.2302 43.4326 34.9216V74.562C43.4326 79.2533 47.2357 83.0564 51.927 83.0564H108.556C113.248 83.0564 117.051 79.2533 117.051 74.562V34.9216C117.051 30.2302 113.248 26.4272 108.556 26.4272ZM51.927 25.4834C46.7144 25.4834 42.4888 29.709 42.4888 34.9216V74.562C42.4888 79.7746 46.7144 84.0002 51.927 84.0002H108.556C113.769 84.0002 117.994 79.7746 117.994 74.562V34.9216C117.994 29.709 113.769 25.4834 108.556 25.4834H51.927Z",fill:e}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.0843 1.88764H8.51123C4.86243 1.88764 1.90449 4.84558 1.90449 8.49438V49.0787C1.90449 53.2487 5.28499 56.6292 9.45505 56.6292H66.0843C70.2543 56.6292 73.6348 53.2487 73.6348 49.0787V9.4382C73.6348 5.26814 70.2543 1.88764 66.0843 1.88764ZM8.51123 0C3.81991 0 0.0168457 3.80306 0.0168457 8.49438V49.0787C0.0168457 54.2912 4.24247 58.5169 9.45505 58.5169H66.0843C71.2968 58.5169 75.5225 54.2912 75.5225 49.0787V9.4382C75.5225 4.22563 71.2968 0 66.0843 0H8.51123Z",fill:e}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M108.556 27.371H51.927C47.7569 27.371 44.3764 30.7515 44.3764 34.9216V74.562C44.3764 78.7321 47.7569 82.1126 51.927 82.1126H108.556C112.726 82.1126 116.107 78.7321 116.107 74.562V34.9216C116.107 30.7515 112.726 27.371 108.556 27.371ZM51.927 25.4834C46.7144 25.4834 42.4888 29.709 42.4888 34.9216V74.562C42.4888 79.7746 46.7144 84.0002 51.927 84.0002H108.556C113.769 84.0002 117.994 79.7746 117.994 74.562V34.9216C117.994 29.709 113.769 25.4834 108.556 25.4834H51.927Z",fill:e})]})},Frame:(r={})=>{const{primaryColor:e="currentColor",secondaryColor:t="none",svgRef:n,...i}=r;return v.jsx("svg",{viewBox:"0 0 1482 1112",width:"1482",height:"1112",fill:t,...i,ref:n,children:v.jsxs("g",{children:[v.jsx("path",{opacity:"0.22",d:"M1481.33 1111.17L399.091 880.19V231.81L1481.33 0.829102V1111.17Z",stroke:e}),v.jsx("path",{opacity:"0.48",d:"M266.279 880.19V231.81L1348.52 0.829102V1111.17L266.279 880.19Z",stroke:e}),v.jsx("path",{opacity:"0.74",d:"M133.48 880.19V231.81L1215.72 0.829102V1111.17L133.48 880.19Z",stroke:e}),v.jsx("path",{d:"M1082.91 1111.17L0.667969 880.19V231.81L1082.91 0.829102V1111.17Z",stroke:e})]})})},FileDownload:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3zm-1-4-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59 7 11l5 5z"})})},File:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M15 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V7L15 2ZM6 20V4H14V8H18V20H6ZM16 10V15C16 17.21 14.21 19 12 19C9.79 19 8 17.21 8 15V8.5C8 7.03 9.26 5.86 10.76 6.01C12.06 6.14 13 7.33 13 8.64V15H11V8.5C11 8.22 10.78 8 10.5 8C10.22 8 10 8.22 10 8.5V15C10 16.1 10.9 17 12 17C13.1 17 14 16.1 14 15V10H16Z"})})},UnPlug:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...ut(e,u),overflow:"hidden",strokeWidth:"0.5",...l,ref:i,children:[v.jsx("path",{d:"M7.85 9.679C7.92 9.747 8.03 9.745 8.1 9.674 8.17 9.606 8.17 9.497 8.1 9.428L6.84 8.17 8.17 6.844 9.43 8.103C9.5 8.171 9.61 8.169 9.68 8.098 9.75 8.03 9.75 7.921 9.68 7.852L8.42 6.594 9.39 5.629 8.13 4.377C7.15 3.389 5.56 3.335 4.51 4.254L4.13 3.857C3.29 2.997 2.15 2.511 0.95 2.508L0.35 2.508 0.35 2.862 0.95 2.862C2.05 2.865 3.11 3.312 3.87 4.104L4.26 4.504C3.34 5.555 3.39 7.143 4.38 8.133L5.63 9.385 6.59 8.42ZM4.63 7.883C3.73 6.984 3.73 5.526 4.63 4.627 5.53 3.728 6.98 3.728 7.88 4.627L8.88 5.629 5.63 8.885Z",stroke:t,fill:t}),v.jsx("path",{d:"M16.06 14.167C15.01 14.169 13.99 13.758 13.23 13.021L12.78 12.58C13.69 11.529 13.64 9.946 12.65 8.959L11.4 7.707 7.64 11.464 8.9 12.716C9.89 13.707 11.47 13.757 12.52 12.831L12.99 13.276C13.81 14.076 14.91 14.523 16.06 14.521L16.65 14.521 16.65 14.167ZM9.15 12.465 8.14 11.464 11.4 8.208 12.4 9.21C13.31 10.104 13.31 11.562 12.42 12.466 11.53 13.369 10.07 13.377 9.16 12.483 9.16 12.477 9.15 12.471 9.15 12.465Z",stroke:t,fill:t})]})},CloudSync:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Oi.xs;return v.jsxs("svg",{...ut(e,u),overflow:"hidden",strokeWidth:"0.166718",...l,ref:i,children:[v.jsx("path",{d:"M9.81667 8.6C9.81667 8.6 9.81667 8.6 9.81667 8.6 9.81667 8.6 9.81667 8.6 9.81667 8.6 9.68333 7.41667 8.61667 6.55 7.43333 6.66667 6.65 6.75 5.98333 7.23333 5.66667 7.95L5.96667 8.08333C6.36667 7.15 7.45 6.73333 8.38333 7.13333 8.96667 7.38333 9.36667 7.91667 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55L9.1 8.18333 8.86667 8.41667 9.65 9.2 10.4333 8.41667 10.2 8.18333 9.81667 8.6Z",stroke:t,fill:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"}),v.jsx("path",{d:"M7.66667 10.6667C6.75 10.6667 5.98333 10 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1L6.21667 9.46667 6.45 9.23333 5.66667 8.43333 4.88333 9.21667 5.11667 9.45 5.5 9.06667C5.5 9.06667 5.5 9.06667 5.5 9.06667 5.5 9.06667 5.5 9.06667 5.5 9.06667 5.63333 10.25 6.68333 11.1167 7.88333 11 8.66667 10.9167 9.33333 10.4333 9.65 9.71667L9.35 9.58333C9.05 10.2333 8.4 10.6667 7.66667 10.6667Z",stroke:t,fill:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"}),v.jsx("path",{d:"M13.4333 7.48333C13.3 6.66667 12.85 5.93333 12.1833 5.45 11.4833 4.96667 10.6333 4.78333 9.8 4.95 9.13333 3.95 8.03333 3.33333 6.83333 3.33333 6.56667 3.33333 6.28333 3.36667 6.01667 3.43333 4.6 3.8 3.53333 4.98333 3.31667 6.43333 2.36667 6.46667 1.5 6.91667 0.933333 7.66667 0.266667 8.6 0.15 9.81667 0.616667 10.8667 1.1 11.9 2.1 12.5833 3.23333 12.65L4.45 12.65 11.3667 12.6667 13.1333 12.6667C14.5667 12.6333 15.7 11.4333 15.6667 10 15.6333 8.71667 14.6833 7.66667 13.4333 7.48333 13.4333 7.48333 13.4333 7.48333 13.4333 7.48333ZM15.3333 10.2C15.25 11.3667 14.3 12.3 13.1333 12.3333L11.3667 12.3333 4.45 12.3167 3.25 12.3167C2.25 12.25 1.35 11.65 0.933333 10.7333 0.5 9.8 0.6 8.7 1.2 7.86667 1.71667 7.2 2.48333 6.8 3.33333 6.76667L3.61667 6.75 3.65 6.48333C3.85 5.16667 4.81667 4.1 6.1 3.75 6.33333 3.7 6.58333 3.66667 6.83333 3.66667 7.91667 3.66667 8.93333 4.21667 9.51667 5.13333L9.63333 5.31667 9.85 5.26667C10.5833 5.11667 11.35 5.28333 11.9667 5.71667 12.5667 6.15 12.9667 6.8 13.0833 7.53333L13.1167 7.76667 13.35 7.8C14.55 7.98333 15.3833 9.01667 15.3333 10.2L15.3333 10.2Z",stroke:t,fill:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"})]})},CalendarDay:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"})})},DateRange:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"})})},PlayArrow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M8 5v14l11-7z"})})},Mail:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z"})})},MailOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e),...oi(t),...l,ref:i,children:[v.jsx("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"}),v.jsx("polyline",{points:"22,6 12,13 2,6"})]})},Bell:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e),...oi(t),...l,ref:i,children:[v.jsx("path",{d:"M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"}),v.jsx("path",{d:"M13.73 21a2 2 0 0 1-3.46 0"})]})},Download:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z"})})},Folder:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"})})},FolderPost:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9H9V9h10v2zm-4 4H9v-2h6v2zm4-8H9V5h10v2z"})})},FolderOpen:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V8h16v10z"})})},FolderCopy:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e),fill:t,...l,ref:i,children:[v.jsx("path",{d:"M3 6H1v13c0 1.1.9 2 2 2h17v-2H3V6z"}),v.jsx("path",{d:"M21 4h-7l-2-2H7c-1.1 0-1.99.9-1.99 2L5 15c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2z"})]})},FolderAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M20 6h-8l-2-2H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-1 8h-3v3h-2v-3h-3v-2h3V9h2v3h3v2z"})})},FolderMove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-6 12v-3h-4v-4h4V8l5 5z"})})},FirstPage:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e),fill:t,...l,ref:i,children:[v.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),v.jsx("path",{d:"M24 24H0V0h24v24z",fill:"none"})]})},LastPage:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"})})},NavigateBefore:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})})},NavigateNext:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})})},ListAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M14,10H3v2h11V10z M14,6H3v2h11V6z M18,14v-4h-2v4h-4v2h4v4h2v-4h4v-2H18z M3,16h7v-2H3V16z"})})},ListRemove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M14 10H3v2h11v-2zm0-4H3v2h11V6zM3 16h7v-2H3v2zm11.41 6L17 19.41 19.59 22 21 20.59 18.41 18 21 15.41 19.59 14 17 16.59 14.41 14 13 15.41 15.59 18 13 20.59 14.41 22z"})})},Cancel:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"})})},Article:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"})})},Info:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M11,7h2v2h-2V7z M11,11h2v6h-2V11z M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z M12,20 c-4.41,0-8-3.59-8-8s3.59-8,8-8s8,3.59,8,8S16.41,20,12,20z"})})},Type:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e),...oi(t),...l,ref:i,children:[v.jsx("polyline",{points:"4 7 4 4 20 4 20 7"}),v.jsx("line",{x1:"9",y1:"20",x2:"15",y2:"20"}),v.jsx("line",{x1:"12",y1:"4",x2:"12",y2:"20"})]})},PersonAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M13 8c0-2.21-1.79-4-4-4S5 5.79 5 8s1.79 4 4 4 4-1.79 4-4m2 2v2h3v3h2v-3h3v-2h-3V7h-2v3zM1 18v2h16v-2c0-2.66-5.33-4-8-4s-8 1.34-8 4"})})},CheckNormal:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",fill:t})})},Create:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"})})},PersonRemove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M14 8c0-2.21-1.79-4-4-4S6 5.79 6 8s1.79 4 4 4 4-1.79 4-4m3 2v2h6v-2zM2 18v2h16v-2c0-2.66-5.33-4-8-4s-8 1.34-8 4"})})},Refresh:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"})})},Undo:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"})})},Return:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e),fill:t,...l,ref:i,children:[v.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"}),v.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:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"})})},TriangleUp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),...oi(t),...l,ref:i,children:v.jsx("path",{d:"M18 15 L12 9 L6 15"})})},TriangleDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),...oi(t),...l,ref:i,children:v.jsx("path",{d:"M6 9 12 15 18 9"})})},CircleHelp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"})})},Cow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("g",{transform:"scale(0.046875 0.046875)",children:v.jsx("path",{d:"M510.256,187.787c-2.16-7.414-6.118-13.725-11.079-18.567c-7.477-7.3-16.818-11.393-26.211-13.777 c-9.43-2.386-19.109-3.114-28.034-3.124c-7.732,0-14.89,0.562-20.744,1.219h0.016c-4.732,0.531-9.07,1.426-12.788,2.103 c-3.697,0.708-6.821,1.156-8.597,1.136l-0.557-0.042c-0.031-0.167-0.063-0.261-0.094-0.48c-2.63-18.598-4.03-36.864-9.06-55.494 c-5.004-18.619-13.976-37.457-30.986-55.826c-8.07-8.83-17.973-13.454-27.476-13.403c-8.43-0.01-15.98,3.489-21.312,8.779 c-5.337,5.279-8.763,12.517-8.784,20.504c-0.005,3.686,0.88,7.466,2.484,11.028l-0.067,0.031c4.992,13.434,7.794,25.784,7.768,35.719 c0,5.935-0.948,10.955-2.754,15.141c-2.77,6.227-7.196,11.111-15.923,15.193c-8.695,4.019-21.816,6.685-40.06,6.664 c-24.388,0.042-39.4-4.759-47.454-11.039c-4.082-3.155-6.697-6.623-8.529-10.819c-1.807-4.186-2.754-9.206-2.754-15.141 c-0.026-9.935,2.77-22.285,7.768-35.719l-0.068-0.02c1.604-3.582,2.489-7.352,2.485-11.028c-0.021-7.997-3.448-15.235-8.784-20.514 c-5.332-5.29-12.882-8.789-21.311-8.789c-9.502-0.042-19.406,4.571-27.476,13.412c-17.01,18.359-25.982,37.207-30.985,55.826 c-5.035,18.63-6.431,36.896-9.06,55.494c-0.032,0.229-0.063,0.312-0.099,0.48l-0.552,0.042c-1.77,0.02-4.894-0.428-8.596-1.136 c-3.718-0.687-8.055-1.572-12.793-2.103h0.01c-5.836-0.646-13.001-1.208-20.733-1.219c-11.892,0.031-25.143,1.25-37.338,6.134 c-6.087,2.458-11.939,5.904-16.906,10.768c-4.962,4.842-8.919,11.153-11.08,18.567C0.563,191.806,0,196.014,0,200.282 c0.099,18.276,9.836,37.583,27.684,53.817c16.844,15.245,41.243,27.617,72.728,33.24c0.114,0.489,0.223,0.896,0.344,1.458 c1.874,8.664,4.102,25.242,8.247,44.591c6.285,29.115,16.896,65.167,39.16,94.835c11.142,14.798,25.31,27.981,43.201,37.364 c17.879,9.404,39.378,14.902,64.636,14.892c37.978,0.083,67.422-12.58,88.905-31.667c32.281-28.669,47.173-70.136,55.613-104.562 c4.186-17.234,6.706-32.854,8.654-44.225c0.912-5.353,1.708-9.748,2.4-12.674c31.496-5.624,55.9-17.994,72.744-33.25 c17.848-16.234,27.58-35.541,27.684-53.817C512,196.014,511.438,191.806,510.256,187.787z M165.549,59.409 c5.118-5.456,9.022-6.508,11.804-6.55c2.499,0,4.665,1,6.316,2.615c1.651,1.624,2.473,3.696,2.453,5.352l-0.625,2.572 l-0.261,0.522l-0.198,0.541c-5.508,14.923-9.076,29.376-9.101,43.133c0,8.195,1.312,16.192,4.498,23.586 c2.526,5.946,6.404,11.288,11.32,15.912c-7.967-0.167-16.605-0.292-24.993-0.396c-13.745-0.168-26.596-0.25-34.136-0.303 c1.818-14.35,3.453-27.606,6.847-40.05C143.884,90.254,150.908,75.321,165.549,59.409z M318.981,441.844 c-16.234,10.59-36.442,17.276-62.98,17.307c-33.38-0.083-56.795-10.528-74.784-26.315c-12.834-11.267-22.712-25.689-30.455-41.195 c0.901-4.78,3.015-9.133,6.436-13.392c6.935-8.612,19.78-16.308,36.791-21.514c16.974-5.258,37.921-8.122,60.576-8.122 c30.204-0.031,57.394,5.144,76.138,14.1c9.383,4.456,16.584,9.809,21.234,15.536c4.483,5.581,6.706,11.33,6.893,17.994 c-0.625,1.156-1.15,2.364-1.801,3.499C347.508,416.477,335.189,431.243,318.981,441.844z M470.002,238.292 c-14.417,13.058-36.708,24.524-67.495,29.033l-2.374,0.344l-1.994,1.333c-2.578,1.79-3.583,3.53-4.39,4.904 c-1.431,2.708-2.014,4.927-2.702,7.571c-1.203,4.864-2.213,10.954-3.473,18.26c-1.524,8.625-3.428,19.124-6.134,30.576 c-7.247,29.665-20.215,66.061-48.03,91.907c-16.028,14.232-36.169,24.516-64.055,24.466c-21.776,0-40.292-4.969-55.129-12.732 c-14.839-7.742-27.058-18.692-36.544-30.747c-19.038-25.604-28.956-57.424-34.635-85.312c-1.642-8.429-2.642-14.843-3.494-19.853 c-0.693-3.697-1.256-5.834-1.943-7.519c-0.688-1.698-1.743-3.24-4.323-5.03l-1.989-1.333l-2.374-0.344 c-30.788-4.509-53.083-15.975-67.5-29.033c-15.05-13.646-22.688-28.674-22.749-38.01c0-1.625,0.396-3.859,1.057-6.283 c1.261-4.849,3.597-10.709,6.665-16.755c5.97-12.085,14.748-24.971,25.422-36.775c2.188,1.828,4.64,3.501,7.441,4.98 c9.854,5.132,22.406,8.838,35.833,9.723c12.073,0.823,24.653-0.057,35.493-3.755c10.859-3.666,20.146-9.648,26.908-17.71 c6.767-8.081,10.94-18.221,11.255-29.685c0-2.073-0.26-3.948-0.64-5.901c-0.26-1.203-0.484-2.452-0.641-3.667 c-1.78-12.632-5.748-24.661-11.853-37.393c-3.062-6.173-6.634-12.165-9.359-17.301c-0.932-1.801-1.776-3.414-2.552-5.155 c4.911-5.416,10.209-10.13,15.51-14.678c12.045-10.674,23.606-19.829,33.336-26.128c7.47,6.566,14.801,14.498,21.238,23.858 c12.843,18.226,20.273,37.197,25.055,55.19c4.794,17.983,6.636,34.864,9.055,50.801c0.78,4.584,1.35,8.114,2.373,11.554 c0.98,3.229,2.306,6.316,4.664,9.208c2.396,2.892,5.74,5.532,10.96,6.409c1.296,0.219,3.84-0.5,7.683-1.187 c3.838-0.641,8.727-1.448,14.168-1.948c5.423-0.625,11.573-1.036,18.168-1.057c8.92,0,18.659,0.667,28.086,2.807 c9.426,2.141,17.48,6.104,23.654,12.281c3.177,3.093,5.784,6.775,7.579,10.938c1.778,4.141,2.74,8.704,2.74,13.314 C492.688,209.625,485.052,224.646,470.002,238.292z"})})})},CircleAlertOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e),...oi(t),...l,ref:i,children:[v.jsx("circle",{cx:"12",cy:"12",r:"10"}),v.jsx("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),v.jsx("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]})},CircleAlert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"})})},Manager:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e),fill:t,...l,ref:i,children:[v.jsx("circle",{cx:"10",cy:"8",r:"4"}),v.jsx("path",{d:"M10.67 13.02c-.22-.01-.44-.02-.67-.02-2.42 0-4.68.67-6.61 1.82-.88.52-1.39 1.5-1.39 2.53V20h9.26c-.79-1.13-1.26-2.51-1.26-4 0-1.07.25-2.07.67-2.98M20.75 16c0-.22-.03-.42-.06-.63l1.14-1.01-1-1.73-1.45.49q-.48-.405-1.08-.63L18 11h-2l-.3 1.49q-.6.225-1.08.63l-1.45-.49-1 1.73 1.14 1.01c-.03.21-.06.41-.06.63s.03.42.06.63l-1.14 1.01 1 1.73 1.45-.49q.48.405 1.08.63L16 21h2l.3-1.49q.6-.225 1.08-.63l1.45.49 1-1.73-1.14-1.01c.03-.21.06-.41.06-.63M17 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"})]})},ManagerOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e,96),...oi(t),...l,ref:i,children:[v.jsxs("g",{clipPath:"url(#clip0_1_3)",children:[v.jsx("path",{d:"M80 84V76C80 71.7565 78.3143 67.6869 75.3137 64.6863C72.3131 61.6857 68.2435 60 64 60V70L48 60L32 70V60C27.7565 60 23.6869 61.6857 20.6863 64.6863C17.6857 67.6869 16 71.7565 16 76V84",strokeWidth:"8"}),v.jsx("path",{d:"M48 44C56.8366 44 64 36.8366 64 28C64 19.1634 56.8366 12 48 12C39.1634 12 32 19.1634 32 28C32 36.8366 39.1634 44 48 44Z",strokeWidth:"8"})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"clip0_1_3",children:v.jsx("rect",{width:"96",height:"96",fill:"white"})})})]})},Admin:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4m13.1-8.16c.01-.11.02-.22.02-.34s-.01-.23-.03-.34l.74-.58c.07-.05.08-.15.04-.22l-.7-1.21c-.04-.08-.14-.1-.21-.08l-.86.35c-.18-.14-.38-.25-.59-.34l-.13-.93c-.02-.09-.09-.15-.18-.15h-1.4c-.09 0-.16.06-.17.15l-.13.93c-.21.09-.41.21-.59.34l-.87-.35c-.08-.03-.17 0-.21.08l-.7 1.21c-.04.08-.03.17.04.22l.74.58c-.02.11-.03.23-.03.34s.01.23.03.34l-.74.58c-.07.05-.08.15-.04.22l.7 1.21c.04.08.14.1.21.08l.87-.35c.18.14.38.25.59.34l.13.93c.01.09.08.15.17.15h1.4c.09 0 .16-.06.17-.15l.13-.93c.21-.09.41-.21.59-.34l.87.35c.08.03.17 0 .21-.08l.7-1.21c.04-.08.03-.17-.04-.22zm-2.6.91c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25m.42 3.93-.5-.87c-.03-.06-.1-.08-.15-.06l-.62.25q-.195-.15-.42-.24l-.09-.66c-.02-.06-.08-.1-.14-.1h-1c-.06 0-.11.04-.12.11l-.09.66c-.15.06-.29.15-.42.24l-.62-.25c-.06-.02-.12 0-.15.06l-.5.87c-.03.06-.02.12.03.16l.53.41c-.01.08-.02.16-.02.24s.01.17.02.24l-.53.41c-.05.04-.06.11-.03.16l.5.87c.03.06.1.08.15.06l.62-.25q.195.15.42.24l.09.66c.01.07.06.11.12.11h1c.06 0 .12-.04.12-.11l.09-.66c.15-.06.29-.15.42-.24l.62.25c.06.02.12 0 .15-.06l.5-.87c.03-.06.02-.12-.03-.16l-.52-.41c.01-.08.02-.16.02-.24s-.01-.17-.02-.24l.53-.41c.05-.04.06-.11.04-.17m-2.42 1.65c-.46 0-.83-.38-.83-.83 0-.46.38-.83.83-.83s.83.38.83.83c0 .46-.37.83-.83.83M4.74 9h8.53c.27 0 .49-.22.49-.49v-.02c0-.27-.22-.49-.49-.49H13c0-1.48-.81-2.75-2-3.45v.95c0 .28-.22.5-.5.5s-.5-.22-.5-.5V4.14C9.68 4.06 9.35 4 9 4s-.68.06-1 .14V5.5c0 .28-.22.5-.5.5S7 5.78 7 5.5v-.95C5.81 5.25 5 6.52 5 8h-.26c-.27 0-.49.22-.49.49v.03c0 .26.22.48.49.48M9 13c1.86 0 3.41-1.28 3.86-3H5.14c.45 1.72 2 3 3.86 3"})})},Equalizer:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M10 20h4V4h-4zm-6 0h4v-8H4zM16 9v11h4V9z"})})},ABC:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M21 11h-1.5v-.5h-2v3h2V13H21v1c0 .55-.45 1-1 1h-3c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1zM8 10v5H6.5v-1.5h-2V15H3v-5c0-.55.45-1 1-1h3c.55 0 1 .45 1 1m-1.5.5h-2V12h2zm7 1.5c.55 0 1 .45 1 1v1c0 .55-.45 1-1 1h-4V9h4c.55 0 1 .45 1 1v1c0 .55-.45 1-1 1M11 10.5v.75h2v-.75zm2 2.25h-2v.75h2z"})})},Auth:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5zm-1.06 13.54L7.4 12l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41z"})})},AuthAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M13.22 22.61c-.4.15-.8.29-1.22.39-5.16-1.26-9-6.45-9-12V5l9-4 9 4v6c0 .9-.11 1.78-.3 2.65-.81-.41-1.73-.65-2.7-.65-3.31 0-6 2.69-6 6 0 1.36.46 2.61 1.22 3.61M19 20v2.99s-1.99.01-2 0V20h-3v-2h3v-3h2v3h3v2z"})})},Switch:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"m18 12 4-4-4-4v3H3v2h15zM6 12l-4 4 4 4v-3h15v-2H6z"})})},Add:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"})})},Edit:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM5.92 19H5v-.92l9.06-9.06.92.92zM20.71 5.63l-2.34-2.34c-.2-.2-.45-.29-.71-.29s-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41"})})},EditOff:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"m14.06 9.02.92.92-1.11 1.11 1.41 1.41 2.52-2.52-3.75-3.75-2.52 2.52 1.41 1.41zm6.65-1.98c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29s-.51.1-.7.29l-1.83 1.83 3.75 3.75zM2.81 2.81 1.39 4.22l7.32 7.32L3 17.25V21h3.75l5.71-5.71 7.32 7.32 1.41-1.41zM5.92 19H5v-.92l5.13-5.13.92.92z"})})},Delete:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"})})},Save:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"})})},Remove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 13H5v-2h14z"})})},Sync:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...ut(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"})})},X:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e),...oi(t),...l,ref:i,children:[v.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),v.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})},MoreVertical:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e),...oi(t),...l,ref:i,children:[v.jsx("circle",{cx:"12",cy:"12",r:"1"}),v.jsx("circle",{cx:"12",cy:"5",r:"1"}),v.jsx("circle",{cx:"12",cy:"19",r:"1"})]})},MoreHorizontal:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e),...oi(t),...l,ref:i,children:[v.jsx("circle",{cx:"12",cy:"12",r:"1"}),v.jsx("circle",{cx:"19",cy:"12",r:"1"}),v.jsx("circle",{cx:"5",cy:"12",r:"1"})]})},Verified:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e),...oi(t),...l,ref:i,children:[v.jsx("path",{d:"M10.708 4.03551C11.4008 3.27361 12.5992 3.27361 13.292 4.03551C14.0105 4.82555 15.0715 5.21174 16.1297 5.06835C17.1502 4.93006 18.0682 5.70033 18.1092 6.72935C18.1518 7.79637 18.7163 8.77423 19.6191 9.34458C20.4898 9.89462 20.6979 11.0747 20.0678 11.8894C19.4146 12.7341 19.2185 13.8461 19.5435 14.8633C19.8569 15.8443 19.2577 16.8821 18.2514 17.1012C17.208 17.3284 16.343 18.0542 15.9381 19.0423C15.5476 19.9952 14.4216 20.4051 13.5099 19.9261C12.5646 19.4294 11.4354 19.4294 10.4901 19.9261C9.57843 20.4051 8.45237 19.9952 8.06187 19.0423C7.65695 18.0542 6.79199 17.3284 5.74857 17.1012C4.7423 16.8821 4.14314 15.8443 4.45654 14.8633C4.7815 13.8461 4.58543 12.7341 3.93215 11.8894C3.30214 11.0747 3.51023 9.89462 4.38087 9.34458C5.28366 8.77423 5.84823 7.79637 5.89077 6.72935C5.9318 5.70033 6.84977 4.93006 7.87028 5.06835C8.92848 5.21174 9.98951 4.82555 10.708 4.03551Z",strokeWidth:"1.5"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.5682 10.0607L15.5076 9.00002L11.0719 13.4357L8.56068 10.9244L7.50002 11.9851L11.0719 15.557L12.1326 14.4963L12.1326 14.4963L16.5682 10.0607Z",fill:t,strokeWidth:0})]})},NonVerified:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e),...oi(t),...l,ref:i,children:[v.jsx("path",{style:{...l.style,transition:"stroke var(--Transition)"},d:"M10.1531 3.53092C11.1435 2.44181 12.8565 2.44181 13.8469 3.53092V3.53092C14.3994 4.13844 15.2153 4.4354 16.029 4.32514V4.32514C17.4878 4.12747 18.8 5.22853 18.8586 6.69947V6.69947C18.8913 7.51998 19.3255 8.27193 20.0197 8.71052V8.71052C21.2643 9.49677 21.5617 11.1837 20.6611 12.3482V12.3482C20.1588 12.9978 20.008 13.8529 20.2579 14.6351V14.6351C20.7059 16.0374 19.8494 17.5208 18.411 17.834V17.834C17.6086 18.0087 16.9435 18.5668 16.6321 19.3267V19.3267C16.0739 20.6888 14.4643 21.2747 13.1611 20.59V20.59C12.4341 20.2081 11.5659 20.2081 10.8389 20.59V20.59C9.53573 21.2747 7.92608 20.6888 7.36788 19.3267V19.3267C7.05651 18.5668 6.39137 18.0087 5.58901 17.834V17.834C4.1506 17.5208 3.29413 16.0374 3.74211 14.6351V14.6351C3.992 13.8529 3.84122 12.9978 3.33887 12.3482V12.3482C2.43829 11.1837 2.73574 9.49677 3.98029 8.71052V8.71052C4.67452 8.27193 5.10865 7.51998 5.14137 6.69947V6.69947C5.20002 5.22853 6.51221 4.12747 7.97099 4.32514V4.32514C8.78471 4.4354 9.60062 4.13844 10.1531 3.53092V3.53092Z",stroke:"var(--line-normal)",strokeWidth:"0.75",strokeMiterlimit:"11.4737",strokeLinecap:"round",strokeDasharray:"0.75 1.5"}),v.jsx("path",{style:{...l.style,transition:"fill var(--Transition)"},d:"M16.2224 8.5837L16.4875 8.31854C16.3411 8.17209 16.1037 8.17209 15.9572 8.31854L16.2224 8.5837ZM17.5013 9.86264L17.7665 10.1278C17.9129 9.98136 17.9129 9.74392 17.7665 9.59747L17.5013 9.86264ZM10.8739 13.9322L10.6087 14.1974C10.679 14.2677 10.7744 14.3072 10.8739 14.3072C10.9733 14.3072 11.0687 14.2677 11.139 14.1974L10.8739 13.9322ZM7.84584 10.9042L8.111 10.639C8.04068 10.5687 7.9453 10.5292 7.84584 10.5292C7.74638 10.5292 7.651 10.5687 7.58067 10.639L7.84584 10.9042ZM6.5669 12.1831L6.30174 11.9179C6.15529 12.0644 6.15529 12.3018 6.30174 12.4483L6.5669 12.1831ZM10.8739 16.4901L10.6087 16.7553C10.7552 16.9017 10.9926 16.9017 11.1391 16.7553L10.8739 16.4901ZM12.1528 15.2112L12.418 15.4763C12.5644 15.3299 12.5644 15.0924 12.418 14.946L12.1528 15.2112ZM12.1528 15.2111L11.8876 14.946C11.7412 15.0924 11.7412 15.3299 11.8876 15.4763L12.1528 15.2111ZM15.6601 8.61568C15.5136 8.76212 15.5136 8.99956 15.6601 9.14601C15.8065 9.29245 16.044 9.29245 16.1904 9.14601L15.6601 8.61568ZM15.0018 10.3346C15.1483 10.1881 15.1483 9.95068 15.0018 9.80423C14.8554 9.65778 14.618 9.65778 14.4715 9.80423L15.0018 10.3346ZM13.8772 10.3985C13.7308 10.545 13.7308 10.7824 13.8772 10.9288C14.0237 11.0753 14.2611 11.0753 14.4076 10.9288L13.8772 10.3985ZM13.219 12.1174C13.3655 11.9709 13.3655 11.7335 13.219 11.5871C13.0726 11.4406 12.8351 11.4406 12.6887 11.5871L13.219 12.1174ZM12.0944 12.1813C11.948 12.3278 11.948 12.5652 12.0944 12.7117C12.2409 12.8581 12.4783 12.8581 12.6247 12.7117L12.0944 12.1813ZM11.4362 13.9002C11.5826 13.7538 11.5826 13.5163 11.4362 13.3699C11.2897 13.2234 11.0523 13.2234 10.9059 13.3699L11.4362 13.9002ZM10.8867 13.4147C10.7403 13.2683 10.5028 13.2683 10.3564 13.4147C10.2099 13.5611 10.2099 13.7986 10.3564 13.945L10.8867 13.4147ZM9.34703 12.9357C9.49348 13.0821 9.73091 13.0821 9.87736 12.9357C10.0238 12.7892 10.0238 12.5518 9.87736 12.4054L9.34703 12.9357ZM9.37269 11.9007C9.22624 11.7542 8.9888 11.7542 8.84236 11.9007C8.69591 12.0471 8.69591 12.2846 8.84236 12.431L9.37269 11.9007ZM7.83301 11.4217C7.97946 11.5681 8.21689 11.5681 8.36334 11.4217C8.50979 11.2752 8.50979 11.0378 8.36334 10.8913L7.83301 11.4217ZM7.36752 10.8522C7.22107 10.9986 7.22107 11.236 7.36752 11.3825C7.51396 11.5289 7.7514 11.5289 7.89785 11.3825L7.36752 10.8522ZM7.04522 12.2351C7.19167 12.0887 7.19167 11.8512 7.04522 11.7048C6.89878 11.5583 6.66134 11.5583 6.51489 11.7048L7.04522 12.2351ZM6.54101 12.6875C6.68746 12.834 6.9249 12.834 7.07134 12.6875C7.21779 12.5411 7.21779 12.3037 7.07134 12.1572L6.54101 12.6875ZM8.02845 13.1143C7.88201 12.9679 7.64457 12.9679 7.49812 13.1143C7.35168 13.2608 7.35168 13.4982 7.49812 13.6446L8.02845 13.1143ZM7.97668 14.1232C8.12312 14.2697 8.36056 14.2697 8.50701 14.1232C8.65345 13.9768 8.65345 13.7393 8.50701 13.5929L7.97668 14.1232ZM9.46412 14.55C9.31767 14.4035 9.08023 14.4035 8.93379 14.55C8.78734 14.6964 8.78734 14.9339 8.93379 15.0803L9.46412 14.55ZM9.41234 15.5589C9.55879 15.7053 9.79623 15.7053 9.94267 15.5589C10.0891 15.4124 10.0891 15.175 9.94267 15.0285L9.41234 15.5589ZM10.8998 15.9856C10.7533 15.8392 10.5159 15.8392 10.3695 15.9856C10.223 16.1321 10.223 16.3695 10.3695 16.516L10.8998 15.9856ZM11.3522 16.5421C11.4987 16.3957 11.4987 16.1582 11.3522 16.0118C11.2058 15.8653 10.9683 15.8653 10.8219 16.0118L11.3522 16.5421ZM11.6745 15.1591C11.5281 15.3056 11.5281 15.543 11.6745 15.6895C11.821 15.8359 12.0584 15.8359 12.2048 15.6895L11.6745 15.1591ZM12.418 14.946C12.2715 14.7995 12.0341 14.7995 11.8877 14.946C11.7412 15.0924 11.7412 15.3299 11.8877 15.4763L12.418 14.946ZM11.8877 15.4763C12.0341 15.6228 12.2715 15.6228 12.418 15.4763C12.5644 15.3299 12.5644 15.0924 12.418 14.946L11.8877 15.4763ZM12.7151 15.1792C12.8616 15.0327 12.8616 14.7953 12.7151 14.6488C12.5687 14.5024 12.3312 14.5024 12.1848 14.6488L12.7151 15.1792ZM13.3733 13.4603C13.2269 13.6067 13.2269 13.8442 13.3733 13.9906C13.5198 14.1371 13.7572 14.1371 13.9037 13.9906L13.3733 13.4603ZM14.498 13.3963C14.6444 13.2499 14.6444 13.0124 14.498 12.866C14.3515 12.7196 14.1141 12.7196 13.9676 12.866L14.498 13.3963ZM15.1562 11.6774C15.0097 11.8239 15.0097 12.0613 15.1562 12.2078C15.3026 12.3542 15.5401 12.3542 15.6865 12.2078L15.1562 11.6774ZM16.2808 11.6135C16.4272 11.4671 16.4272 11.2296 16.2808 11.0832C16.1343 10.9367 15.8969 10.9367 15.7505 11.0832L16.2808 11.6135ZM16.939 9.89461C16.7926 10.0411 16.7926 10.2785 16.939 10.4249C17.0855 10.5714 17.3229 10.5714 17.4693 10.4249L16.939 9.89461ZM17.5533 9.38432C17.4069 9.23787 17.1694 9.23787 17.023 9.38432C16.8765 9.53076 16.8765 9.7682 17.023 9.91465L17.5533 9.38432ZM16.1704 9.06202C16.3168 9.20847 16.5542 9.20847 16.7007 9.06202C16.8471 8.91558 16.8471 8.67814 16.7007 8.53169L16.1704 9.06202ZM15.9572 8.31854L15.6601 8.61568L16.1904 9.14601L16.4875 8.84887L15.9572 8.31854ZM14.4715 9.80423L13.8772 10.3985L14.4076 10.9288L15.0018 10.3346L14.4715 9.80423ZM12.6887 11.5871L12.0944 12.1813L12.6247 12.7117L13.219 12.1174L12.6887 11.5871ZM10.9059 13.3699L10.6087 13.667L11.139 14.1974L11.4362 13.9002L10.9059 13.3699ZM11.139 13.667L10.8867 13.4147L10.3564 13.945L10.6087 14.1974L11.139 13.667ZM9.87736 12.4054L9.37269 11.9007L8.84236 12.431L9.34703 12.9357L9.87736 12.4054ZM8.36334 10.8913L8.111 10.639L7.58067 11.1693L7.83301 11.4217L8.36334 10.8913ZM7.58067 10.639L7.36752 10.8522L7.89785 11.3825L8.111 11.1693L7.58067 10.639ZM6.51489 11.7048L6.30174 11.9179L6.83207 12.4483L7.04522 12.2351L6.51489 11.7048ZM6.30174 12.4483L6.54101 12.6875L7.07134 12.1572L6.83207 11.9179L6.30174 12.4483ZM7.49812 13.6446L7.97668 14.1232L8.50701 13.5929L8.02845 13.1143L7.49812 13.6446ZM8.93379 15.0803L9.41234 15.5589L9.94267 15.0285L9.46412 14.55L8.93379 15.0803ZM10.3695 16.516L10.6087 16.7553L11.1391 16.2249L10.8998 15.9856L10.3695 16.516ZM11.1391 16.7553L11.3522 16.5421L10.8219 16.0118L10.6087 16.2249L11.1391 16.7553ZM12.2048 15.6895L12.418 15.4763L11.8877 14.946L11.6745 15.1591L12.2048 15.6895ZM12.418 14.946L12.418 14.946L11.8877 15.4763L11.8877 15.4763L12.418 14.946ZM12.418 14.946L12.418 14.946L11.8876 15.4763L11.8877 15.4763L12.418 14.946ZM12.418 15.4763L12.7151 15.1792L12.1848 14.6488L11.8876 14.946L12.418 15.4763ZM13.9037 13.9906L14.498 13.3963L13.9676 12.866L13.3733 13.4603L13.9037 13.9906ZM15.6865 12.2078L16.2808 11.6135L15.7505 11.0832L15.1562 11.6774L15.6865 12.2078ZM17.4693 10.4249L17.7665 10.1278L17.2361 9.59747L16.939 9.89461L17.4693 10.4249ZM17.7665 9.59747L17.5533 9.38432L17.023 9.91465L17.2361 10.1278L17.7665 9.59747ZM16.7007 8.53169L16.4875 8.31854L15.9572 8.84887L16.1704 9.06202L16.7007 8.53169Z",fill:"var(--line-normal)",strokeWidth:0})]})},Edit2:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e),...oi(t),...l,ref:i,children:[v.jsx("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),v.jsx("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"})]})},Trash:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e),...oi(t),...l,ref:i,children:[v.jsx("polyline",{points:"3 6 5 6 21 6"}),v.jsx("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),v.jsx("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),v.jsx("line",{x1:"14",y1:"11",x2:"14",y2:"17"})]})},AddRowBelow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...Ru(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M200-560h560v-240H200v240Zm-80 400v-720h720v720H680v-80h80v-240H200v240h80v80H120Zm360-320Zm0-80v80-80Zm0 0ZM440-80v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},AddRowAbove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...Ru(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M200-160h560v-240H200v240Zm640 80H120v-720h160v80h-80v240h560v-240h-80v-80h160v720ZM480-480Zm0 80v-80 80Zm0 0Zm-40-240v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},AddColRight:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...Ru(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M160-760v560h240v-560H160ZM80-120v-720h720v160h-80v-80H480v560h240v-80h80v160H80Zm400-360Zm-80 0h80-80Zm0 0Zm320 120v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},AddColLeft:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...Ru(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M800-200v-560H560v560h240Zm-640 80v-160h80v80h240v-560H240v80h-80v-160h720v720H160Zm320-360Zm80 0h-80 80Zm0 0ZM160-360v-80H80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},RemoveCol:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...Ru(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M360-440h240v-80H360v80Zm-80-120Zm240 0ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h160q33 0 56.5 23.5T440-760v80h-80v-80H200v560h160v-80h80v80q0 33-23.5 56.5T360-120H200Zm400 0q-33 0-56.5-23.5T520-200v-80h80v80h160v-560H600v80h-80v-80q0-33 23.5-56.5T600-840h160q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H600Z"})})},RemoveRow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...Ru(e),fill:t,...l,ref:i,children:[v.jsx("path",{d:"M360-440h240v-80H360v80Z"}),v.jsx("path",{d:"M-80-120Zm240 0ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h160q33 0 56.5 23.5T440-760v80h-80v-80H200v560h160v-80h80v80q0 33-23.5 56.5T360-120H200Zm400 0q-33 0-56.5-23.5T520-200v-80h80v80h160v-560H600v80h-80v-80q0-33 23.5-56.5T600-840h160q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H600Z",transform:"rotate(90 480 -480)"})]})},Table:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...i}=r;return v.jsx("svg",{...ut(e),...oi(t),...i,ref:n,children:v.jsx("path",{className:"ql-stroke ql-thick",d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18"})})},Minus:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...i}=r;return v.jsx("svg",{...ut(e),...oi(t),...i,ref:n,children:v.jsx("line",{className:"ql-stroke ql-thick",x1:"5",y1:"12",x2:"19",y2:"12"})})},EditorArrow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="currentColor",svgRef:i,...l}=r;return v.jsxs("svg",{...ut(e),...l,ref:i,children:[v.jsx("path",{d:"M11 5L16.1962 10.25H5.80385L11 5Z",fill:t}),v.jsx("path",{d:"M11 19L16.1962 13.75H5.80385L11 19Z",fill:n})]})},Target:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...i}=r;return v.jsx("svg",{...ut(e),...i,ref:n,children:v.jsx("g",{id:"target",children:v.jsx("path",{id:"Vector",d:"M12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19Z",fill:t})})})}}),lm=rr.keys(rh);function Df(r,e,t){return e!==void 0&&r<e?e:t!==void 0&&r>t?t:r}var vi=(r=>(r.N="North",r.S="South",r.E="East",r.W="West",r))(vi||{}),Xu=(r=>(r.N="North",r.NW="NorthWest",r.NE="NorthEast",r.S="South",r.SW="SouthWest",r.SE="SouthEast",r.E="East",r.EN="EastNorth",r.ES="EastSouth",r.W="West",r.WN="WestNorth",r.WS="WestSouth",r))(Xu||{});function cm(r,e,t,n){if(!r.current||!e.current)return;const i=r.current.getBoundingClientRect(),l=e.current.getBoundingClientRect();let u={bottom:void 0,left:void 0,right:void 0,top:void 0};switch(t){case"North":u=l?{bottom:window.innerHeight-i.top,left:i.left+i.width/2-l.width/2}:{bottom:window.innerHeight-i.top,left:i.left};break;case"NorthWest":u={bottom:window.innerHeight-i.top,left:i.left};break;case"NorthEast":u={bottom:window.innerHeight-i.top,right:window.innerWidth-i.left-i.width};break;case"South":u=l?{top:i.bottom,left:i.left+i.width/2-l.width/2}:{top:i.bottom,left:i.left};break;case"SouthWest":u={top:i.bottom,left:i.left};break;case"SouthEast":u={top:i.bottom,right:window.innerWidth-i.left-i.width};break;case"East":u=l?{top:i.top+i.height/2-l.height/2,left:i.right}:{top:i.top,left:i.right};break;case"EastNorth":u={bottom:window.innerHeight-i.top-i.height,left:i.right};break;case"EastSouth":u={top:i.top,left:i.right};break;case"West":u=l?{top:i.top+i.height/2-l.height/2,right:window.innerWidth-i.left}:{top:i.top,right:window.innerWidth-i.left};break;case"WestNorth":u={bottom:window.innerHeight-i.top-i.height,right:window.innerWidth-i.left};break;case"WestSouth":u={top:i.top,right:window.innerWidth-i.left};break;default:u={top:i.top,left:i.left}}n&&(n.x&&u.left&&(u.left+=n.x),n.y&&u.top&&(u.top+=n.y)),u=Z_(u,l),e.current.style.top=u.top+"px",e.current.style.left=u.left+"px",e.current.style.bottom=u.bottom+"px",e.current.style.right=u.right+"px"}function G_(r,e,t,n){if(!r)return;const i=e instanceof HTMLElement?e:e==null?void 0:e.current;if(!i)return;const l=r.getBoundingClientRect(),u=i.getBoundingClientRect();let h={bottom:void 0,left:void 0,right:void 0,top:void 0};switch(t){case"North":h=u?{bottom:window.innerHeight-l.top,left:l.left+l.width/2-u.width/2}:{bottom:window.innerHeight-l.top,left:l.left};break;case"NorthWest":h={bottom:window.innerHeight-l.top,left:l.left};break;case"NorthEast":h={bottom:window.innerHeight-l.top,right:window.innerWidth-l.left-l.width};break;case"South":h=u?{top:l.bottom,left:l.left+l.width/2-u.width/2}:{top:l.bottom,left:l.left};break;case"SouthWest":h={top:l.bottom,left:l.left};break;case"SouthEast":h={top:l.bottom,right:window.innerWidth-l.left-l.width};break;case"East":h=u?{top:l.top+l.height/2-u.height/2,left:l.right}:{top:l.top,left:l.right};break;case"EastNorth":h={bottom:window.innerHeight-l.top-l.height,left:l.right};break;case"EastSouth":h={top:l.top,left:l.right};break;case"West":h=u?{top:l.top+l.height/2-u.height/2,right:window.innerWidth-l.left}:{top:l.top,right:window.innerWidth-l.left};break;case"WestNorth":h={bottom:window.innerHeight-l.top-l.height,right:window.innerWidth-l.left};break;case"WestSouth":h={top:l.top,right:window.innerWidth-l.left};break;default:h={top:l.top,left:l.left}}return n&&(n.x&&h.left&&(h.left+=n.x),n.y&&h.top&&(h.top+=n.y)),h=Z_(h,u),i.style.top=h.top+"px",i.style.left=h.left+"px",i.style.bottom=h.bottom+"px",i.style.right=h.right+"px",h}function Z_(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 Uc(){const r={preventDefault:!1};return{event:r,e:{preventDefault:()=>r.preventDefault=!0}}}const F4="_Tooltip_3l8se_1",B4="_Arrow_3l8se_17",$v={Tooltip:F4,Arrow:B4},Y_=r=>{const{tooltip:e,targetRef:t,delay:n=0,distance:i=10,direction:l=vi.S}=r,[u,h]=k.useState(!1),g=k.useRef(null),m=k.useRef(null),M=k.useRef(),T=k.useCallback(()=>{h(!0),M.current&&(clearTimeout(M.current),M.current=void 0);const D=setTimeout(()=>Uv(t,g,m,i,l),n);M.current=D},[t,n,i,l]),C=k.useCallback(()=>h(!1),[]);k.useEffect(()=>{const D=t.current;if(D)return D.addEventListener("mouseenter",T),D.addEventListener("mouseleave",C),()=>{D.removeEventListener("mouseenter",T),D.removeEventListener("mouseleave",C)}},[t,C,T]);const _=k.useCallback(()=>{Uv(t,g,m,i,l)},[t,i,l]);k.useEffect(()=>{if(!t.current||!g.current||!u)return;const D=t.current.parentElement;let A=D;for(;A;)A.addEventListener("scroll",_),A=A.parentElement;return()=>{let b=D;for(;b;)b.removeEventListener("scroll",_),b=b.parentElement}},[t,_,u]),k.useEffect(()=>{_()},[e,_]);const S=k.useMemo(()=>{switch(typeof e){case"boolean":return!0;case"string":return e==="";case"number":return!1;default:return!e}},[e]);return!u||S?null:Bs.createPortal(v.jsxs("div",{className:qe.clsx($v.Tooltip,"NoSelect"),ref:g,children:[e,v.jsx("div",{ref:m,className:$v.Arrow})]}),document.body)},xd="5px solid var(--ATooltip_background-color)";function Uv(r,e,t,n,i=vi.S){if(!r.current||!e.current||!t.current)return;const l=H4(r.current,e.current,n,i);if(!l)return;const{left:u,top:h,arrowDir:g,arrow:m}=l;e.current.style.left=`${u}px`,e.current.style.top=`${h}px`,e.current.style.visibility="visible",e.current.style.opacity="1",t.current.style.border="5px solid transparent",g===vi.N?(t.current.style.top="-9px",t.current.style.left=`calc(50% - 5px + ${m.left??0}px)`,t.current.style.borderBottom=xd):g===vi.S?(t.current.style.top="100%",t.current.style.left=`calc(50% - 5px + ${m.left??0}px)`,t.current.style.borderTop=xd):g===vi.W?(t.current.style.top=`calc(50% - 5px + ${m.top??0}px)`,t.current.style.left="-9px",t.current.style.borderRight=xd):g===vi.E&&(t.current.style.top=`calc(50% - 5px + ${m.top??0}px)`,t.current.style.left="100%",t.current.style.borderLeft=xd)}const Ul=5;function H4(r,e,t,n){const i=r.getBoundingClientRect(),l=e.getBoundingClientRect();function u(){if(window.innerHeight-i.bottom>l.height+t){const M=i.bottom+t,T=i.left+(i.width-l.width)/2,C=Df(T,Ul,window.innerWidth-Ul-l.width),_=vi.N;return{left:C,top:M,arrowDir:_,arrow:{left:T-C}}}}function h(){if(i.top>l.height+t){const M=i.top-l.height-t,T=i.left+(i.width-l.width)/2,C=Df(T,Ul,window.innerWidth-Ul-l.width),_=vi.S;return{left:C,top:M,arrowDir:_,arrow:{left:T-C}}}}function g(){if(window.innerWidth-i.right>l.width+t){const M=i.right+t,T=i.top+(i.height-l.height)/2,C=Df(T,Ul,window.innerHeight-Ul-l.height),_=vi.W;return{left:M,top:C,arrowDir:_,arrow:{top:T-C}}}}function m(){if(i.left>l.width+t){const M=i.left-l.width-t,T=i.top+(i.height-l.height)/2,C=Df(T,Ul,window.innerHeight-Ul-l.height),_=vi.E;return{left:M,top:C,arrowDir:_,arrow:{top:T-C}}}}if(n===vi.E)return g()||m()||u()||h();if(n===vi.S)return u()||h()||g()||m();if(n===vi.W)return m()||g()||u()||h();if(n===vi.N)return h()||u()||g()||m()}const q4="_ABase_xbi52_1",z4="_UseDimming_xbi52_6",$4="_Dimmer_xbi52_6",U4="_Spinner_xbi52_9",W4="_Dimmed_xbi52_12",V4="_IsDimmed_xbi52_33",G4="_IsLoading_xbi52_38",Z4="_IsDisabled_xbi52_43",Tf={ABase:q4,UseDimming:z4,Dimmer:$4,Spinner:U4,Dimmed:W4,IsDimmed:V4,IsLoading:G4,IsDisabled:Z4},Wr=r=>{const{children:e,abaseRef:t,isDisabled:n,isLoading:i,isDimmed:l,tooltip:u,tooltipDistance:h=10,tooltipDelay:g=0,tooltipDirection:m=vi.S,...M}=r,T=k.useRef(null),C=k.useMemo(()=>t??T,[t]),_=k.useMemo(()=>typeof n=="string"&&n!==""?n:u!==void 0?u:"",[n,u]),S=k.useMemo(()=>n||i||l,[n,i,l]),D=k.useMemo(()=>n!==void 0||i!==void 0||l!==void 0,[n,i,l]);return v.jsxs("div",{...M,className:qe.clsx(M.className,Tf.ABase,D&&Tf.UseDimming,S&&Tf.Dimmed),ref:C,children:[e,D&&v.jsx("div",{className:qe.sclsx(Tf,"Dimmer",n&&"IsDisabled",i&&"IsLoading",l&&"IsDimmed")}),i&&v.jsx("div",{className:qe.sclsx(Tf,"Spinner",n&&"IsDisabled",i&&"IsLoading"),children:v.jsx(Fr,{icon:"Spinner"})}),v.jsx(Y_,{tooltip:_,delay:g,distance:h,direction:m,targetRef:C})]})},Y4="_AButton_vulhu_1",K4="_Primary_vulhu_14",X4="_Secondary_vulhu_19",J4="_Alter_vulhu_24",Q4="_AIconButton_vulhu_30",e5="_AThemeButton_vulhu_71",Wf={AButton:Y4,Primary:K4,Secondary:X4,Alter:J4,AIconButton:Q4,AThemeButton:e5},t5=["Primary","Secondary","Alter","Raw"],Bi=r=>{const{type:e="Primary",onClick:t,noInteractive:n,...i}=r,l=k.useMemo(()=>i.isDisabled||i.isLoading,[i.isDisabled,i.isLoading]),u=k.useCallback(h=>{l||t==null||t(h)},[l,t]);return v.jsx(Wr,{...i,className:qe.clsx(i.className,Wf.AButton,e!=="Raw"&&Wf[e],"IsClickable",!l&&!n&&"IsInteractive"),onClick:u})},r5=["Primary","Secondary","Raw"],vo=r=>{const{icon:e,iconSize:t,type:n="Primary",onClick:i,isDisabled:l,isLoading:u,tooltip:h,className:g,...m}=r,M=k.useMemo(()=>l||u,[l,u]),T=k.useCallback(_=>{M||i==null||i(_)},[M,i]),C=k.useMemo(()=>lm.includes(e)?v.jsx(Fr,{icon:e,size:t}):e,[e,t]);return v.jsx(Wr,{className:qe.clsx(Wf.AIconButton,!l&&!u&&"IsClickable",n!=="Raw"&&Wf[n],g),onClick:T,isDisabled:l,isLoading:u,tooltip:h,...m,children:C})};function pn(r,e){r!==void 0&&r.length===1&&(e=r[0]);const t=k.useState(e);return k.useMemo(()=>r===void 0||r.length===1?t:r,[t,r])}const n5={Ok:"Ok",Cancel:"Cancel"},i5={"select n":r=>v.jsxs(v.Fragment,{children:["Select ",r]}),"deselect n":r=>v.jsxs(v.Fragment,{children:["Deselect ",r]}),"Search(Placeholder)":"Search","Search(Button)":"Search",Items:"Items","*Click row for single select":"*Click row for single select","*Change order to row drag":"*Change order to row drag","Loading Contents...":"Loading Contents..."},o5={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"},s5={weekDays:r=>["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][r],months:r=>["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][r],"Select DateRange":"Select DateRange","1일":"1 Day","1주일":"1 Week","1개월":"1 Month","3개월":"3 Months"},a5={"drop file to select":"Drop file to select","or Drag & Drop":"or Drag & Drop","Select File":"Select File"},l5={"Checked n items":r=>v.jsxs(v.Fragment,{children:["Checked ",r," items"]}),"Searched n items":r=>v.jsxs(v.Fragment,{children:["Searched ",r," items"]}),"Total n items":r=>v.jsxs(v.Fragment,{children:["Total ",r," items"]}),"Sort by x":r=>v.jsxs(v.Fragment,{children:["Sort by ",r]}),"Sort up":"Sort up","Sort down":"Sort down",Asc:"Asc",Desc:"Desc","Search(Placeholder)":"Search","Search(Button)":"Search","Clear(Button)":"Clear",Select:"Select","Toggle Filter":"Toggle Filter","No Items":"No Items"},c5={"Select(Placeholder)":"Select"},u5={"Select(Placeholder)":"Select"},f5={"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"},d5={Asterisk:"Required field"},hn={ADialog:n5,ATree:i5,ADatePicker:o5,ADateRangePicker:s5,AFileBox:a5,ATable:l5,ASelect:c5,AMultiSelect:u5,AEditor:f5,AWrap:d5};function h5(r,e){rr.keys(e).forEach(t=>{r[t]=e[t]})}const p5=(r,e)=>{h5(hn[r],e)},g5="_AWrap_16uyn_1",m5="_Label_16uyn_8",v5="_Asterisk_16uyn_19",y5="_HelperTextConatiner_16uyn_23",b5="_HelperText_16uyn_23",Iu={AWrap:g5,Label:m5,Asterisk:v5,HelperTextConatiner:y5,HelperText:b5,Error:"_Error_16uyn_38"},_5=["Default","Error"],Wc=r=>{const{wrapProps:e,errorMessage:t,helperText:n,wrapType:i="Default",label:l,labelProps:u,children:h}=r,g=k.useRef(null),[m,M]=k.useState({height:0}),T=k.useRef(null),[C,_]=k.useMemo(()=>{let D=n,A=i;if(Array.isArray(t)){const b=t.filter(Boolean);b.length>0&&([D,A]=[b,"Error"])}else t&&([D,A]=[t,"Error"]);return Array.isArray(D)&&(A!=="Error"&&(D=D.filter(Boolean)),D=D.map((b,R)=>v.jsxs(k.Fragment,{children:[b,v.jsx("br",{})]},R))),[D,A]},[n,t,i]);k.useEffect(()=>{if(!C||!g.current)M({height:0});else{const D=g.current.getBoundingClientRect();M({height:D.height,marginTop:D.height===0?0:6})}},[C]);const S=k.useMemo(()=>{switch(typeof(u==null?void 0:u.prefix)){case"string":return v.jsx(Fr,{width:"1rem",height:"1rem",icon:u.prefix});case"boolean":return v.jsx(Fr,{width:10,height:10,icon:"Target"});default:return u==null?void 0:u.prefix}},[u==null?void 0:u.prefix]);return v.jsxs("div",{...e,className:qe.clsx(e==null?void 0:e.className,Iu.AWrap),ref:T,children:[l&&v.jsxs("div",{className:qe.clsx(Iu.Label,"NoSelect",u==null?void 0:u.className),style:u==null?void 0:u.style,children:[S,l,(u==null?void 0:u.asterisk)&&v.jsx(Wr,{tooltip:hn.AWrap.Asterisk,className:Iu.Asterisk,children:"*"})]}),h,C!==void 0&&v.jsx("div",{className:qe.clsx(Iu.HelperTextConatiner,"NoSelect"),style:m,children:v.jsx("div",{className:qe.clsx(Iu.HelperText,Iu[_]),ref:g,children:C})})]})},x5="_ASwitch_1uv2e_1",S5="_Track_1uv2e_6",C5="_Truthy_1uv2e_13",w5="_Thumb_1uv2e_17",Ef={ASwitch:x5,Track:S5,Truthy:C5,Thumb:w5},K_=r=>{const{wrapProps:e,helperText:t,label:n,useCheck:i,...l}=r,[u,h]=pn(i,!1),g=k.useCallback(m=>{var M;l.isDisabled||l.isLoading||(h==null||h(!u),(M=l.onClick)==null||M.call(l,m))},[l,u,h]);return v.jsx(Wc,{helperText:t,label:n,wrapProps:{...e},children:v.jsx(Wr,{...l,className:Ef.ASwitch,onClick:g,children:v.jsx("div",{className:qe.clsx(Ef.Track,u&&Ef.Truthy),children:v.jsx("div",{className:qe.clsx(Ef.Thumb,u&&Ef.Truthy)})})})})},A5={palette:{"mode-1":{"common-100":"#ffffff","common-0":"#000000","neutral-99":"#fcfcfc","neutral-94":"#efefef","neutral-89":"#e2e2e2","neutral-84":"#d6d6d6","neutral-79":"#c9c9c9","neutral-73":"#bababa","neutral-65":"#a5a5a5","neutral-54":"#898989","neutral-42":"#6b6b6b","neutral-30":"#4c4c4c","neutral-20":"#333333","neutral-15":"#2c2c2c","neutral-10":"#191919","neutral-5":"#0c0c0c","cool-neutral-99":"#fcfcfc","cool-neutral-94":"#efeff0","cool-neutral-89":"#e1e2e4","cool-neutral-84":"#d4d5d7","cool-neutral-79":"#c7c8cb","cool-neutral-73":"#b7b9bc","cool-neutral-65":"#a2a4a9","cool-neutral-54":"#85888e","cool-neutral-42":"#66696f","cool-neutral-30":"#494b4f","cool-neutral-20":"#303235","cool-neutral-10":"#18191a","cool-neutral-5":"#0c0c0c","red-99":"#fff9f9","red-95":"#ffe5e5","red-90":"#ffcccc","red-84":"#ffadad","red-76":"#ff8484","red-66":"#ff5151","red-53":"#ff0f0f","red-45":"#e50000","red-34":"#a80000","red-30":"#990000","red-24":"#7a0000","red-10":"#330000","green-99":"#fafffa","green-95":"#e5ffe8","green-90":"#ccffd1","green-84":"#adffb6","green-76":"#84ff90","green-66":"#51ff62","green-48":"#00f418","green-45":"#00e517","green-34":"#00a810","green-30":"#00990f","green-24":"#007a0c","green-10":"#003305","blue-99":"#fafdff","blue-95":"#e5f3ff","blue-90":"#cce6ff","blue-84":"#add7ff","blue-76":"#84c3ff","blue-66":"#51abff","blue-53":"#0f8bff","blue-45":"#0077e5","blue-34":"#0056a8","blue-30":"#004f99","blue-24":"#003f7a","blue-10":"#001a33","orange-99":"#fffcfa","orange-95":"#ffefe5","orange-90":"#ffdecc","orange-84":"#ffcbad","orange-76":"#ffb184","orange-66":"#ff9151","orange-53":"#ff670f","orange-45":"#e55400","orange-34":"#a83d00","orange-30":"#993800","orange-24":"#7a2c00","orange-10":"#331200","violet-99":"#fcfaff","violet-95":"#eee5ff","violet-90":"#dcccff","violet-84":"#c7adff","violet-76":"#ab84ff","violet-66":"#8852ff","violet-53":"#5b0fff","violet-45":"#4900e5","violet-34":"#3500a8","violet-28":"#2d008e","violet-24":"#26007a","violet-10":"#100033","cyan-99":"#faffff","cyan-95":"#e5fdff","cyan-90":"#ccfbff","cyan-84":"#adf9ff","cyan-76":"#84f6ff","cyan-66":"#51f3ff","cyan-50":"#00edff","cyan-45":"#00d6e5","cyan-40":"#00becc","cyan-30":"#008e99","cyan-21":"#00636b","cyan-10":"#002f33","pink-99":"#fffefa","pink-95":"#ffe5f5","pink-90":"#ffccea","pink-84":"#ffadde","pink-76":"#ff84ce","pink-66":"#ff51b9","pink-53":"#ff0f9f","pink-45":"#e5008a","pink-40":"#cc007a","pink-30":"#99005b","pink-21":"#6b0040","pink-10":"#33001e","lime-99":"#fcfffa","lime-95":"#eeffe5","lime-90":"#ddffcc","lime-84":"#c8ffad","lime-76":"#adff84","lime-66":"#8bff51","lime-49":"#53f900","lime-45":"#4ce500","lime-40":"#44cc00","lime-30":"#339900","lime-21":"#236b00","lime-10":"#113300","brand-b-color":"#386fff"}},semantic:{light:{"static-white":"common-100","static-black":"common-0","acent-brand":"brand-b-color","label-normal":"neutral-20","label-strong":"neutral-5","label-neutral":"neutral-73","line-normal":"neutral-79","line-strong":"neutral-65","line-neutral":"neutral-89","background-normal":"common-100","elevation-0":"common-100","elevation-10":"neutral-94","elevation-20":"neutral-73","alert-warning":"orange-53","alert-success":"green-45","alert-danger":"red-45","inverse-label-normal":"neutral-84","inverse-label-strong":"neutral-99","inverse-label-neutral":"neutral-30","inverse-line-normal":"neutral-30","inverse-line-strong":"neutral-54","inverse-line-neutral":"neutral-20","inverse-elevation-0":"neutral-5","inverse-elevation-10":"neutral-10","inverse-elevation-20":"neutral-15"},dark:{"static-white":"common-100","static-black":"common-0","acent-brand":"brand-b-color","label-normal":"neutral-84","label-strong":"neutral-99","label-neutral":"neutral-30","line-normal":"neutral-30","line-strong":"neutral-54","line-neutral":"neutral-20","background-normal":"neutral-5","elevation-0":"neutral-5","elevation-10":"neutral-10","elevation-20":"neutral-15","alert-warning":"orange-53","alert-success":"green-45","alert-danger":"red-45","inverse-label-normal":"neutral-20","inverse-label-strong":"neutral-5","inverse-label-neutral":"neutral-73","inverse-line-normal":"neutral-79","inverse-line-strong":"neutral-65","inverse-line-neutral":"neutral-89","inverse-elevation-0":"common-100","inverse-elevation-10":"neutral-94","inverse-elevation-20":"neutral-73"}}},bi=B_.cloneDeep(A5);rr.keys(bi.semantic).forEach(r=>{const e=bi.semantic[r];rr.keys(e).forEach(t=>{e[t]=`var(--${e[t]})`})});const nh=rr.keys(bi.palette),X_=rr.keys(bi.palette[nh[0]]);function T5(){return si.paletteMode}function E5(r,e=si.paletteMode){return bi.palette[e][r]}function k5(r){return oh(r)}const Vd=[];function J_(r){si.paletteMode=r,X_.forEach(e=>document.documentElement.style.setProperty(`--${e}`,bi.palette[r][e])),Vd.forEach(e=>e(r))}function Q_(r,e="all"){rr.keys(r).forEach(n=>{const i=r[n];i!==void 0&&(document.documentElement.style.setProperty(`--${n}`,i),e==="all"?nh.forEach(l=>{bi.palette[l][n]=i}):bi.palette[e][n]=i)})}const Uu=rr.keys(bi.semantic),e2=rr.keys(bi.semantic[Uu[0]]);function R5(){return si.semanticMode}function I5(r,e=si.semanticMode){return bi.semantic[e][r]}function L5(r){return oh(r)}const Gd=[];function um(r){si.semanticMode=r,document.documentElement.setAttribute("data-theme",r),e2.forEach(e=>document.documentElement.style.setProperty(`--${e}`,bi.semantic[r][e])),Gd.forEach(e=>e(r)),si.save==="localStorage"?localStorage.setItem("semanticMode",r):si.save==="sessionStorage"&&sessionStorage.setItem("semanticMode",r)}function t2(r,e=si.semanticMode){rr.keys(r).forEach(n=>{const i=r[n];i!==void 0&&(document.documentElement.style.setProperty(`--${n}`,i),e==="all"?Uu.forEach(l=>{bi.semantic[l][n]=i}):bi.semantic[e][n]=i)})}const r2=["Body-background-color","Body-color","Body-transition","Font","Scrollbar-handle","Scrollbar-handle-hover","Scrollbar-handle-active","Scrollbar-track","Scrollbar-border-radius","Scrollbar-width","Transition"],n2=["ABase_Dimming_background-color"],i2=["ATooltip_background-color","ATooltip_color"],o2=["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"],a2=["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"],l2=["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"],c2=["ACheckBox_color"],u2=["ADialog_Paper_background-color","ADialog_background-color","ADialog_border","ADialog_Action_background-color"],f2=["ASelect_Placeholder_color","ASelect_Primary_border","ASelect_Primary_hover_border","ASelect_Primary_Arrow_color","ASelect_Primary_Options_background-color","ASelect_Primary_Options_border","ASelect_Primary_Option_hover_background-color","ASelect_Primary_Option_active_background-color","ASelect_Primary_Option_Selected_background-color","ASelect_Secondary_border","ASelect_Secondary_hover_border","ASelect_Secondary_Arrow_color","ASelect_Secondary_Options_background-color","ASelect_Secondary_Options_border","ASelect_Secondary_Option_hover_background-color","ASelect_Secondary_Option_active_background-color","ASelect_Secondary_Option_Selected_background-color"],d2=["AMultiSelect_Placeholder_color","AMultiSelect_Primary_border","AMultiSelect_Primary_hover_border","AMultiSelect_Primary_Arrow_color","AMultiSelect_Primary_Options_background-color","AMultiSelect_Primary_Options_border","AMultiSelect_Primary_Option_hover_background-color","AMultiSelect_Primary_Option_active_background-color","AMultiSelect_Primary_Option_Selected_background-color","AMultiSelect_Secondary_border","AMultiSelect_Secondary_hover_border","AMultiSelect_Secondary_Arrow_color","AMultiSelect_Secondary_Options_background-color","AMultiSelect_Secondary_Options_border","AMultiSelect_Secondary_Option_hover_background-color","AMultiSelect_Secondary_Option_active_background-color","AMultiSelect_Secondary_Option_Selected_background-color"],h2=["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"],p2=["ASwitch_Track_Falsy_border","ASwitch_Track_Truthy_border","ASwitch_Thumb_border"],g2=["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"],m2=["AFileBox_border","AFileBox_background-color","AFileBox_SelectedFile_color","AFileBox_Dropping_color"],v2=["AListView_border-thin","AListView_border-thick"],y2=["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"],b2=["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"],_2=["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"],x2=["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"],S2=["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"],C2=["ADivideFrame_DividerInner_background-color"],w2=["AFloatMenu_background-color","AFloatMenu_hover_background-color","AFloatMenu_color","AFloatMenu_border"],A2=["ALoadingBorder_background-color","ALoadingBorder_ProgressBar_background-color","ALoadingBorder_Cover_background-color"],T2=["AWrap_Error_color"],E2=["ARadioSelect_RadioButton_border","ARadioSelect_RadioButton_InnerCircle_isChecked_background-color"],k2=["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"],M5=[...r2,...n2,...i2,...o2,...s2,...a2,...l2,...c2,...u2,...f2,...d2,...h2,...p2,...g2,...m2,...v2,...y2,...b2,..._2,...x2,...S2,...C2,...w2,...A2,...T2,...E2,...k2],ih={"Body-background-color":"var(--background-normal)","Body-color":"var(--label-normal)","Body-transition":"background-color var(--Transition), color var(--Transition)",Font:"400 16px pretendard","Scrollbar-handle":"var(--label-neutral)","Scrollbar-handle-hover":"var(--label-normal)","Scrollbar-handle-active":"var(--label-strong)","Scrollbar-track":"var(--elevation-10)","Scrollbar-border-radius":"6px","Scrollbar-width":"12px",Transition:"300ms","ABase_Dimming_background-color":"var(--elevation-0)","ATooltip_background-color":"var(--inverse-elevation-0)",ATooltip_color:"var(--inverse-label-strong)",AButton_Primary_border:"none","AButton_Primary_background-color":"var(--acent-brand)",AButton_Primary_color:"var(--static-white)",AButton_Secondary_border:"1px solid var(--elevation-10)","AButton_Secondary_background-color":"var(--elevation-10)",AButton_Secondary_color:"var(--label-normal)",AButton_Alter_border:"1px solid var(--line-normal)","AButton_Alter_background-color":"var(--elevation-0)",AButton_Alter_color:"var(--label-normal)","AInput_Primary_background-color":"var(--elevation-0)",AInput_Primary_border:"1px solid var(--line-normal)",AInput_Primary_color:"var(--label-normal)",AInput_Primary_hover_border:"1px solid var(--line-strong)","AInput_Primary_focus_background-color":"var(--elevation-10)",AInput_Primary_focus_border:"1px solid var(--line-strong)",AInput_Primary_placeholder_color:"var(--label-neutral)","AInput_Secondary_background-color":"var(--elevation-0)",AInput_Secondary_border:"1px solid var(--line-normal)",AInput_Secondary_color:"var(--label-normal)",AInput_Secondary_hover_border:"1px solid var(--line-strong)",AInput_Secondary_focus_border:"1px solid var(--line-strong)",AInput_Secondary_placeholder_color:"var(--label-neutral)","AInput_ReadOnly_background-color":"var(--elevation-10)",AInput_ReadOnly_border:"none",AInput_ReadOnly_color:"var(--label-normal)",AInput_Error_HelperText_color:"var(--alert-danger)","AInput_Error_background-color":"inherit",AInput_Error_border:"1px solid var(--line-normal)",AInput_Error_color:"var(--label-normal)",AInput_Error_placeholder_color:"var(--label-neutral)","ATextArea_Primary_background-color":"var(--elevation-0)",ATextArea_Primary_border:"1px solid var(--line-normal)",ATextArea_Primary_color:"var(--label-normal)",ATextArea_Primary_hover_border:"1px solid var(--line-strong)","ATextArea_Primary_focus_background-color":"var(--elevation-10)",ATextArea_Primary_focus_border:"1px solid var(--line-strong)","ATextArea_Secondary_background-color":"var(--elevation-0)",ATextArea_Secondary_border:"1px solid var(--line-normal)",ATextArea_Secondary_color:"var(--label-normal)",ATextArea_Secondary_hover_border:"1px solid var(--line-strong)",ATextArea_Secondary_focus_border:"1px solid var(--line-strong)","ATextArea_ReadOnly_background-color":"var(--elevation-10)",ATextArea_ReadOnly_border:"none",ATextArea_ReadOnly_color:"var(--label-normal)","ATextArea_Error_background-color":"inherit",ATextArea_Error_border:"1px solid var(--line-normal)",ATextArea_Error_color:"var(--label-normal)",ATextArea_Error_placeholder_color:"var(--label-neutral)","AEditor_Primary_background-color":"var(--elevation-0)",AEditor_Primary_border:"1px solid var(--line-normal)",AEditor_Primary_color:"var(--label-normal)",AEditor_Primary_hover_border:"1px solid var(--line-strong)","AEditor_Primary_focus_background-color":"var(--elevation-0)",AEditor_Primary_focus_border:"1px solid var(--line-strong)","AEditor_ReadOnly_background-color":"var(--elevation-0)",AEditor_ReadOnly_border:"1px solid var(--line-normal)",AEditor_ReadOnly_hover_border:"1px solid var(--line-strong)",AEditor_ReadOnly_focus_border:"1px solid var(--line-strong)",AEditor_ReadOnly_color:"var(--label-normal)","AEditor_Error_background-color":"inherit",AEditor_Error_border:"1px solid var(--alert-danger)",AEditor_Error_color:"var(--alert-danger)",AEditor_Error_placeholder_color:"var(--alert-danger)","AEditor_Addon_Primary_background-color":"var(--background-normal)",AEditor_Addon_Primary_border:"1px solid var(--line-normal)",AEditor_Addon_Primary_color:"var(--label-normal)","AEditor_Addon_Secondary_background-color":"var(--background-normal)",AEditor_Addon_Secondary_border:"1px solid var(--line-strong)",AEditor_Addon_Secondary_color:"var(--label-neutral)","AEditor_Addon_hover_background-color":"var(--elevation-10)",AEditor_Addon_hover_color:"var(--acent-brand)",AEditor_Addon_focus_border:"1px solid var(--line-strong)","AEditor_border-radius":"2px","AEditor_Select_border-radius":"6px","AEditor_Option_border-radius":"6px",ACheckBox_color:"var(--label-normal)","ADialog_Paper_background-color":"#00000060","ADialog_background-color":"var(--elevation-0)",ADialog_border:"1px solid var(--line-neutral)","ADialog_Action_background-color":"var(--elevation-0)",ASelect_Placeholder_color:"var(--label-neutral)",ASelect_Primary_border:"1px solid var(--line-normal)",ASelect_Primary_hover_border:"1px solid var(--line-strong)",ASelect_Primary_Arrow_color:"var(--label-normal)","ASelect_Primary_Options_background-color":"var(--elevation-0)",ASelect_Primary_Options_border:"1px solid var(--line-normal)","ASelect_Primary_Option_hover_background-color":"var(--elevation-10)","ASelect_Primary_Option_active_background-color":"var(--elevation-10)","ASelect_Primary_Option_Selected_background-color":"var(--elevation-20)",ASelect_Secondary_border:"1px solid var(--line-neutral)",ASelect_Secondary_hover_border:"1px solid var(--line-normal)",ASelect_Secondary_Arrow_color:"var(--label-normal)","ASelect_Secondary_Options_background-color":"var(--elevation-0)",ASelect_Secondary_Options_border:"var(--line-normal)","ASelect_Secondary_Option_hover_background-color":"var(--elevation-10)","ASelect_Secondary_Option_active_background-color":"var(--elevation-20)","ASelect_Secondary_Option_Selected_background-color":"var(--elevation-0)",AMultiSelect_Placeholder_color:"var(--label-neutral)",AMultiSelect_Primary_border:"1px solid var(--line-normal)",AMultiSelect_Primary_hover_border:"1px solid var(--line-strong)",AMultiSelect_Primary_Arrow_color:"var(--label-normal)","AMultiSelect_Primary_Options_background-color":"var(--elevation-0)",AMultiSelect_Primary_Options_border:"1px solid var(--line-normal)","AMultiSelect_Primary_Option_hover_background-color":"var(--elevation-10)","AMultiSelect_Primary_Option_active_background-color":"var(--elevation-10)","AMultiSelect_Primary_Option_Selected_background-color":"var(--elevation-20)",AMultiSelect_Secondary_border:"1px solid var(--line-neutral)",AMultiSelect_Secondary_hover_border:"1px solid var(--line-normal)",AMultiSelect_Secondary_Arrow_color:"var(--label-normal)","AMultiSelect_Secondary_Options_background-color":"var(--elevation-0)",AMultiSelect_Secondary_Options_border:"1px solid var(--line-normal)","AMultiSelect_Secondary_Option_hover_background-color":"var(--elevation-10)","AMultiSelect_Secondary_Option_active_background-color":"var(--elevation-10)","AMultiSelect_Secondary_Option_Selected_background-color":"var(--elevation-20)","ATree_background-color":"var(--elevation-0)",ATree_Indent_border:"1px solid var(--line-normal)","ATreeBodyHeader_border-bottom":"1px solid var(--line-normal)","ATreeItem_hover_background-color":"var(--elevation-10)","ATreeItem_active_background-color":"var(--elevation-10)","ATreeItem_select_background-color":"var(--elevation-10)","ATreeItem_search_background-color":"yellow","ATreeItem_search_border-top":"1px dashed var(--label-normal)","ATreeItem_search_border-bottom":"1px dashed var(--label-normal)",ATreeItem_select_color:"var(--label-normal)",ASwitch_Track_Falsy_border:"12px solid var(--elevation-20)",ASwitch_Track_Truthy_border:"12px solid var(--acent-brand)",ASwitch_Thumb_border:"9px solid var(--static-white)","ATab_IndicatorTrack_Primary_border-bottom":"1px solid var(--line-normal)","ATab_Indicator_Primary_background-color":"var(--label-normal)",ATab_Option_Secondary_border:"2px solid var(--label-normal)","ATab_Option_Secondary_IsSelected_border-bottom":"2px solid var(--elevation-0)",ATab_Option_Secondary_IsDisabled_border:"2px solid var(--line-neutral)","ATab_IndicatorTrack_Tertiary_background-color":"var(--line-normal)","ATab_Indicator_Tertiary_background-color":"var(--elevation-0)",ATab_Option_Tertiary_color:"var(--line-strong)",ATab_Option_Tertiary_IsSelected_color:"var(--label-strong)",ATab_Option_Quaternary_color:"var(--label-neutral)",ATab_Option_Quaternary_IsSelected_color:"var(--label-normal)",AFileBox_border:"1px dashed var(--label-normal)","AFileBox_background-color":"var(--elevation-10)",AFileBox_SelectedFile_color:"var(--label-normal)",AFileBox_Dropping_color:"var(--label-normal)","AListView_border-thin":"1px solid var(--line-neutral)","AListView_border-thick":"3px solid var(--line-neutral)","AStepper_OutCircle_background-color":"transparent","AStepper_OutCircle_IsOver_background-color":"var(--elevation-10)","AStepper_InCircle_background-color":"var(--elevation-20)","AStepper_InCircle_IsOver_background-color":"var(--label-normal)","AStepper_Line_background-color":"var(--line-neutral)","AStepper_Line_IsOver_background-color":"var(--label-normal)",ADatePicker_Anchor_border:"1px solid var(--line-normal)",ADatePicker_Anchor_color:"var(--label-normal)",ADatePicker_Anchor_Placeholder_color:"var(--label-neutral)",ADatePicker_Anchor_hover_border:"1px solid var(--line-strong)",ADatePicker_Anchor_focus_border:"1px solid var(--line-strong)",ADatePicker_Anchor_Icon_Primary_color:"var(--label-normal)",ADatePicker_Anchor_Icon_Secondary_color:"var(--label-normal)","ADatePicker_background-color":"var(--elevation-0)",ADatePicker_border:"1px solid var(--line-neutral)","ADatePicker_StringInputContainer_background-color":"var(--label-neutral)",ADatePicker_String_border:"1px solid var(--label-normal)","ADatePicker_Prev_background-color":"var(--elevation-10)","ADatePicker_Prev_border-right":"6px solid var(--label-normal)","ADatePicker_Next_background-color":"var(--elevation-10)","ADatePicker_Next_border-left":"6px solid var(--label-normal)",ADatePicker_Cell_color:"var(--label-normal)",ADatePicker_Cell_IsNotCurrentMonth_color:"var(--label-neutral)",ADatePicker_Cell_IsDisabled_color:"var(--label-neutral)","ADatePicker_Cell_IsSelected_background-color":"var(--elevation-20)",ADatePicker_Cell_IsSelected_color:"var(--label-normal)","ADatePicker_Cell_IsHovered_background-color":"var(--elevation-10)",ADateRangePicker_Anchor_border:"1px solid var(--line-normal)",ADateRangePicker_Anchor_color:"var(--label-normal)",ADateRangePicker_Anchor_Placeholder_color:"var(--label-neutral)",ADateRangePicker_Anchor_hover_border:"1px solid var(--line-strong)",ADateRangePicker_Anchor_focus_border:"1px solid var(--line-strong)",ADateRangePicker_Anchor_Icon_Primary_color:"var(--label-normal)",ADateRangePicker_Anchor_Icon_Secondary_color:"var(--label-normal)","ADateRangePicker_background-color":"var(--elevation-0)",ADateRangePicker_border:"1px solid var(--line-neutral)","ADateRangePicker_StringInputContainer_background-color":"var(--label-neutral)",ADateRangePicker_String_border:"1px solid var(--label-normal)","ADateRangePicker_Prev_background-color":"var(--elevation-10)","ADateRangePicker_Prev_border-right":"6px solid var(--label-normal)","ADateRangePicker_Next_background-color":"var(--elevation-10)","ADateRangePicker_Next_border-left":"6px solid var(--label-normal)",ADateRangePicker_Cell_color:"var(--label-normal)",ADateRangePicker_Cell_IsNotCurrentMonth_color:"var(--label-neutral)",ADateRangePicker_Cell_IsDisabled_color:"var(--label-neutral)","ADateRangePicker_Cell_IsSelected_background-color":"var(--elevation-20)",ADateRangePicker_Cell_IsSelected_color:"var(--label-normal)","ADateRangePicker_Cell_IsHovered_background-color":"var(--elevation-10)",AIconButton_Primary_color:"var(--label-normal)",AIconButton_Primary_border:"1px solid var(--line-normal)","AIconButton_Primary_background-color":"var(--elevation-0)","AIconButton_Primary_hover_background-color":"var(--elevation-10)","AIconButton_Primary_active_background-color":"var(--elevation-20)",AIconButton_Secondary_color:"var(--label-normal)","AIconButton_Secondary_background-color":"var(--elevation-0)","AIconButton_Secondary_hover_background-color":"var(--elevation-10)","AIconButton_Secondary_active_background-color":"var(--elevation-20)","ATableBody_TRow_border-bottom":"1px solid var(--line-normal)","ATableBody_TRow_IsSelected_background-color":"var(--elevation-10)","ATableBody_TRow_IsSelectable_hover_background-color":"var(--elevation-10)",ATableBody_TH_color:"var(--label-neutral)","ATableBody_TD_IsMarked_background-color":"yellow",ATableBody_TD_IsMarked_color:"var(--label-normal)","ATableBody_Resizer_hover_ResizerCenter_background-color":"var(--line-neutral)","ATableBody_Resizer_active_ResizerCenter_background-color":"var(--line-neutral)","ATableBody_Resizer_active_ResizerOut_background-color":"var(--line-neutral)","ATableBody_Resizer_active_ResizerIn_background-color":"var(--line-neutral)","ATableFooter_Button_IsSelected_background-color":"var(--elevation-10)",ATableFooter_Button_IsSelected_color:"var(--label-normal)",ATableFooter_Button_IsDisabled_color:"var(--label-neutral)","ATableFilter_SubFilters_background-color":"var(--elevation-0)",ATableFilter_SubFilters_border:"1px solid var(--line-normal)",ATableFilter_Icon_color:"var(--label-normal)",ATableFilter_Alert_color:"var(--alert-danger)","ADivideFrame_DividerInner_background-color":"var(--line-normal)","AFloatMenu_background-color":"var(--elevation-0)","AFloatMenu_hover_background-color":"var(--elevation-10)",AFloatMenu_color:"var(--label-normal)",AFloatMenu_border:"1px solid var(--line-neutral)","ALoadingBorder_background-color":"var(--label-normal)","ALoadingBorder_ProgressBar_background-color":"var(--elevation-0)","ALoadingBorder_Cover_background-color":"var(--label-normal)",AWrap_Error_color:"var(--alert-danger)",ARadioSelect_RadioButton_border:"1px solid var(--line-normal)","ARadioSelect_RadioButton_InnerCircle_isChecked_background-color":"var(--acent-brand)","AChip_background-color":"var(--elevation-10)",AChip_color:"var(--label-normal)",AChip_border:"1px solid var(--line-normal)","AChip_hover_background-color":"var(--elevation-20)",AChip_hover_color:"var(--label-normal)",AChip_DeleteButton_border:"9px solid var(--line-normal)",AChip_DeleteButton_color:"var(--label-normal)",AChip_DeleteButton_hover_border:"9px solid var(--line-strong)",AChip_DeleteButton_hover_color:"var(--label-normal)"};function D5(r){return ih[r]}function O5(r){return oh(r)}function R2(r){rr.keys(r).forEach(t=>{const n=r[t];n!==void 0&&(document.documentElement.style.setProperty(`--${t}`,n),ih[t]=n)})}function P5(r){rr.keys(r).forEach(t=>{const n=r[t];if(n===void 0)return;const i=bi.semantic[si.semanticMode][n];i!==void 0&&(document.documentElement.style.setProperty(t,i),ih[t]=i)})}const si={paletteMode:nh[0],semanticMode:Uu[0],save:"",followDeviceSetting:!1};function N5({semanticMode:r,save:e,followDeviceSetting:t}){if(t!==void 0&&(si.followDeviceSetting=t,t)){const n=window.matchMedia("(prefers-color-scheme: dark)"),i=u=>{si.semanticMode=u.matches?"dark":"light"};i(n);const l=u=>i(u);n.addEventListener("change",l)}if(e!==void 0){if(si.save=e,e==="localStorage"){const n=localStorage.getItem("semanticMode");Uu.includes(n)&&(si.semanticMode=n)}else if(e==="sessionStorage"){const n=sessionStorage.getItem("semanticMode");Uu.includes(n)&&(si.semanticMode=n)}}r!==void 0&&(si.semanticMode=r),J_(si.paletteMode),um(si.semanticMode),Q_(bi.palette[si.paletteMode]),t2(bi.semantic[si.semanticMode]),R2(ih)}function j5(r){r.type==="semanticModeChange"?Gd.push(r.listener):r.type==="paletteModeChange"?Vd.push(r.listener):console.error("AThemes.addEventListener : parameter is not valid")}function F5(r){if(r.type==="semanticModeChange"){const e=Gd.indexOf(r.listener);e!==-1&&Gd.splice(e,1)}else if(r.type==="paletteModeChange"){const e=Vd.indexOf(r.listener);e!==-1&&Vd.splice(e,1)}else console.error("AThemes.removeEventListener : parameter is not valid")}function oh(r){const e=window.getComputedStyle(document.documentElement);let t=e.getPropertyValue(r);return t===""&&(t=e.getPropertyValue(`--${r}`)),t}function B5(r){Object.assign(qe.additionalClasses,r),qe.updateKeys(),qe.additionalClasses=qe.additionalClasses}const Of={getCurrentPaletteMode:T5,getPaletteValue:E5,getPaletteDeepValue:k5,changePaletteMode:J_,editPalette:Q_,getCurrentSemanticMode:R5,getSemanticValue:I5,getSemanticDeepValue:L5,changeSemanticMode:um,editSemantic:t2,getComponentStyleValue:D5,getComponentStyleDeepValue:O5,editComponentStyle:R2,editComponentStyleWithSemantic:P5,init:N5,addEventListener:j5,removeEventListener:F5,getDeepValue:oh,addClasses:B5},H5=r=>{const{onChange:e,onClick:t,type:n="Icon",...i}=r,[l,u]=k.useState(Of.getCurrentSemanticMode()==="dark"?"Moon":"Sun"),h=k.useCallback(g=>{const m=Of.getCurrentSemanticMode();let M="light";m==="light"?M="dark":m==="dark"&&(M="light"),Of.changeSemanticMode(M),u(q5[M]),e==null||e(M),t==null||t(g)},[e,t]);if(n==="Icon")return v.jsx(vo,{...i,className:qe.clsx(Wf.AThemeButton,i.className,"IsInteractive"),type:"Raw",icon:l,onClick:h});if(n==="Switch")return v.jsx(K_,{...i,useCheck:[Of.getCurrentSemanticMode()==="dark",h]})},q5={light:"Sun",dark:"Moon"},z5="_ACheckBoxWrap_1ozuz_1",$5="_ACheckBox_1ozuz_1",Wv={ACheckBoxWrap:z5,ACheckBox:$5},Wu=r=>{const{useCheck:e,isIndeterminate:t,isDisabled:n,isLoading:i,onClick:l,...u}=r,[h,g]=pn(e,!1),m=k.useCallback(M=>{n||i||(g==null||g(!h),l==null||l(M))},[n,i,l,h,g]);return v.jsx(Wr,{...u,className:qe.clsx(u.className,Wv.ACheckBoxWrap),isDisabled:n,isLoading:i,onClick:m,children:v.jsx(Fr,{className:Wv.ACheckBox,icon:t?"Check.Indeterminate":h?"Check.Checked":"Check.UnChecked"})})};function U5(r){return typeof r=="function"}function W5(r,e){return U5(r)?r(e):r}const Ir={getContent:W5},V5="_ARowFrame_1586b_1",G5="_AColFrame_1586b_7",Z5="_AOverflowFrame_1586b_13",Y5="_ADivideFrame_1586b_22",K5="_Row_1586b_28",X5="_Col_1586b_31",J5="_ChildFrame_1586b_35",Q5="_IsReturning_1586b_48",e6="_Divider_1586b_52",t6="_IsMoving_1586b_60",r6="_DividerInner_1586b_66",n6="_IsClicked_1586b_91",Ho={ARowFrame:V5,AColFrame:G5,AOverflowFrame:Z5,ADivideFrame:Y5,Row:K5,Col:X5,ChildFrame:J5,IsReturning:Q5,Divider:e6,IsMoving:t6,DividerInner:r6,IsClicked:n6},Vn=r=>v.jsx(Wr,{...r,className:qe.clsx(Ho.ARowFrame,r.className),children:r.children}),I2=r=>v.jsx("div",{...r,className:qe.clsx(Ho.AColFrame,r.className),children:r.children}),Jl=r=>{const{tooltip:e,children:t,abaseRef:n,isDisabled:i,className:l,noOverflowTooltip:u,...h}=r,g=k.useRef(null),m=k.useMemo(()=>n??g,[n]),[M,T]=k.useState(!1),C=k.useCallback(()=>T(!0),[]),_=k.useCallback(()=>T(!1),[]);k.useEffect(()=>{const D=m.current;if(D)return D.addEventListener("mouseenter",C),D.addEventListener("mouseleave",_),()=>{D.removeEventListener("mouseenter",C),D.removeEventListener("mouseleave",_)}},[m,C,_]);const S=k.useMemo(()=>i?"":u||!M||!m.current?e:m.current.scrollWidth>m.current.clientWidth?t:e,[m,i,t,e,u,M]);return v.jsx(Wr,{...h,isDisabled:i,children:t,abaseRef:m,tooltip:S,className:qe.clsx(Ho.AOverflowFrame,l)})},L2=r=>{const{value:e,map:t}=r;return t[e]===void 0?t.fallback:v.jsx(k.Suspense,{children:t[e]})},Gh={},i6=r=>{const{pk:e,direction:t="Row",lefts:n,minLength:i=40,children:l,childStyle:u,childClassName:h,dividerStyle:g,dividerClassName:m,dividerPadding:M,dividerInnerClassName:T,dividerInnerStyle:C,..._}=r,S=k.useMemo(()=>{let ne;return typeof l=="object"&&Array.isArray(l)?ne=l:ne=[l],ne=ne.filter(oe=>oe!=null&&oe!==!1),ne},[l]),[D,A]=k.useState(e===void 0?n:Gh[e]??n),b=k.useMemo(()=>typeof i=="number"?Array(S.length).fill(i+(M??0)):i.map(ne=>ne+(M??0)),[i,S.length,M]),[R,O]=k.useState(),q=k.useMemo(()=>R!==void 0?R:D,[R,D]),H=k.useRef(null),G=k.useRef({x:0,y:0}),[Y,de]=k.useState(),X=k.useCallback((ne,oe)=>{if(H.current===null)return;const ce=H.current;G.current={x:ne.clientX,y:ne.clientY},O(D),de(oe);let ve=[...D];const ae=he=>{const Se=ce.getBoundingClientRect(),Oe=t==="Row"?Se.left:Se.top,Be=t==="Row"?Se.width:Se.height;ve=a6(D,t,oe,he,Oe,Be,b),O(ve)},ge=()=>{de(void 0),O(void 0),A(ve),e!==void 0&&(Gh[e]=ve),window.removeEventListener("mousemove",ae),window.removeEventListener("mouseup",ge)};window.addEventListener("mousemove",ae),window.addEventListener("mouseup",ge)},[D,e,t,b]),[ue,P]=k.useState(!1),re=k.useCallback(()=>{A(n),e!==void 0&&(Gh[e]=n),P(!0)},[n,e]),J=k.useMemo(()=>S.map((ne,oe)=>{const ce=q[oe],ve=ce-(oe===0?0:q[oe-1]),ae=oe===0,ge=oe===S.length-1,he={...u,...o6(t,ve,ge)};return M!==void 0&&(t==="Row"?(ae||(he.paddingLeft=M),ge||(he.paddingRight=M)):(ae||(he.paddingTop=M),ge||(he.paddingBottom=M))),v.jsxs(k.Fragment,{children:[v.jsx("div",{className:qe.clsx(Ho.ChildFrame,h,ue&&Ho.IsReturning,Ho[t]),onTransitionEnd:()=>P(!1),style:he,children:ne}),!ge&&v.jsx("div",{className:qe.clsx(Ho.Divider,Ho[t],"NoSelect",Y!==void 0&&Ho.IsMoving,Y===oe&&Ho.IsClicked,m),style:{...g,...s6(t,ce)},onMouseDown:Se=>X(Se,oe),onDoubleClick:re,children:v.jsx("div",{className:qe.clsx(Ho.DividerInner,T),style:C})})]},oe)}),[S,q,u,t,M,h,ue,Y,m,g,re,T,C,X]);return v.jsx("div",{..._,className:qe.clsx(Ho.ADivideFrame,r.className,Ho[t]),ref:H,children:J})};function o6(r,e,t){return t?{}:r==="Col"?{height:e,minHeight:e,maxHeight:e}:{maxWidth:e,width:e,minWidth:e}}function s6(r,e){return r==="Col"?{top:e}:{left:e}}function a6(r,e,t,n,i,l,u){const h=[...r];let g=n.clientX-i-r[t];e==="Col"&&(g=n.clientY-i-r[t]);const m=T=>u.slice(0,T+1).reduce((C,_)=>C+_,0),M=T=>u.slice(T+1).reduce((C,_)=>C+_,0);if(g<0){let T=h[t]+g;if(T<=m(t))for(let C=0;C<=t;C++)h[C]=m(C);else if(h[t]=T,t>0)for(let C=t-1;C>=0&&T-h[C]<u[C];C--)h[C]=T-u[t],T=h[C]}else if(g>0){let T=h[t]+g;if(T>=l-M(t))for(let C=t;C<r.length;C++)h[C]=l-M(C);else if(h[t]=T,t<r.length-1)for(let C=t+1;C<r.length&&h[C]-T<u[C];C++)h[C]=T+u[C],T=h[C]}return h}const Kc=()=>v.jsx("div",{style:{display:"flex",flexGrow:1}}),l6="_ASpace_1okqf_1",c6={ASpace:l6},mn=r=>{const{h:e,w:t,...n}=r;return v.jsx("div",{...n,className:qe.clsx(c6.ASpace,n.className),style:{height:e,minHeight:e,maxHeight:e,width:t,minWidth:t,maxWidth:t,...n.style}})},u6="_AChipsContainer_1ag9v_1",f6="_AChip_1ag9v_1",d6="_Clickable_1ag9v_21",h6="_AChipDelete_1ag9v_26",p6="_IsHover_1ag9v_40",g6="_AChipDeleteIcon_1ag9v_45",Bu={AChipsContainer:u6,AChip:f6,Clickable:d6,AChipDelete:h6,IsHover:p6,AChipDeleteIcon:g6},m6=r=>{const{useLabels:e,alignItems:t="flex-start",ChipStyle:n,ChipClassName:i,ChipOnDelete:l,ChipOnClick:u,ChipIcon:h,className:g,style:m,ButtonRenderer:M=D2,gap:T=8,...C}=r,[_,S]=pn(e,[]),D=k.useCallback(b=>{!S||!l||(l({label:b}),S(_.filter(R=>R!==b)))},[S,l,_]),A=k.useCallback(b=>{const R={label:b};return{label:b,useLabel:[b,()=>{}],style:Ir.getContent(n,R),className:Ir.getContent(i,R),icon:Ir.getContent(h,R),onDelete:()=>D(b),onClick:u?()=>u({label:b}):void 0}},[i,h,u,n,D]);return v.jsx(Wr,{...C,style:{...m,alignItems:t,gap:T},className:qe.clsx(Bu.AChipsContainer,g),children:_.map((b,R)=>v.jsx(M2,{...A(b),ButtonRenderer:M},R))})},M2=r=>{const{label:e,useLabel:t,icon:n,className:i,onDelete:l,onClick:u,ButtonRenderer:h=D2,width:g="fit-content",style:m,...M}=r;return e===void 0?v.jsx(v.Fragment,{}):v.jsxs(Wr,{...M,style:{...m,width:g},onClick:u,className:qe.clsx("NoSelect",Bu.AChip,u&&Bu.Clickable,u&&"IsClickable",i),children:[v.jsx(Jl,{children:e}),h({...r})]})},D2=r=>{const{label:e,icon:t,onDelete:n,useLabel:i}=r,[,l]=pn(i,e),[u,h]=k.useState(!1),g=k.useCallback(T=>{n&&(T.stopPropagation(),l==null||l(void 0),n(r))},[n,r,l]),m=()=>{h(!0)},M=()=>{h(!1)};return v.jsx(v.Fragment,{children:n&&v.jsxs(v.Fragment,{children:[v.jsx(Kc,{}),v.jsx(mn,{w:24}),v.jsx(Wr,{className:qe.clsx(Bu.AChipDelete,"IsClickable",u&&Bu.IsHover)}),v.jsx(vo,{type:"Raw",onClick:g,onMouseEnter:m,onMouseLeave:M,icon:t||v.jsx(Fr,{icon:"Close",stroke:"currentColor",width:14,height:14}),className:Bu.AChipDeleteIcon})]})})},v6=r=>{let e="";r<0&&(e+="-",r=-r);const t=Math.floor(r/3600),n=Math.floor(r%3600/60),i=r%60;return t>0&&(e+=t.toString().padStart(2,"0")+":"),e+=n.toString().padStart(2,"0")+":",e+=i.toString().padStart(2,"0"),e},y6=/[a-zA-Z0-9]/,b6=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9]{2,}$/,_6=/^[a-zA-Z0-9._-]+$/,x6=/^[0-9a-fA-F-]+$/i,S6=/[가-힣ㄱ-ㅎㅏ-ㅣ]/,C6=/^\S*$/,w6=/^([^ㄱ-ㅎㅏ-ㅣ])*$/i,A6=/[!@#$%^&*+=;:?/<>\\[\](){}~\-_.(),]/,T6=/^(?=.*[A-Za-z])(?=.*\d)(?=.*[\W_])[A-Za-z\d\W_]{8,}$/,E6=/^[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}$/,k6={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)},O2={secondToTime:v6,validate:k6},R6=r=>{const{maxTicks:e=300,interval:t=1e3,onFinish:n,noStartOnRender:i,actionRef:l,wrapProps:u,helperText:h,label:g,...m}=r,[M,T]=k.useState(0),[C,_]=k.useState(!i);k.useEffect(()=>{if(!C||m.isDisabled||m.isLoading)return;const O=setInterval(()=>T(q=>q+1),t);return()=>clearInterval(O)},[t,C,m.isDisabled,m.isLoading]);const S=k.useCallback(()=>{n==null||n(),_(!1)},[n]);k.useEffect(()=>{M>=e&&!m.isDisabled&&!m.isLoading&&S()},[M,e,S,m.isDisabled,m.isLoading]);const D=k.useCallback(()=>{m.isDisabled||_(!0)},[m.isDisabled]),A=k.useCallback(()=>{m.isDisabled||_(!1)},[m.isDisabled]),b=k.useCallback(()=>{m.isDisabled||(_(!1),T(0))},[m.isDisabled]);k.useEffect(()=>{l&&(l.current={start:D,stop:A,reset:b,setTicks:T})},[l,D,A,b]);const R=e-M;return v.jsx(Wc,{wrapProps:u,helperText:h,label:g,children:v.jsx(Wr,{...m,children:O2.secondToTime(R>0?R:0)})})};function qs(r){const e=r.getFullYear(),t=r.getMonth()+1,n=r.getDate();return`${e}-${t<10?"0"+t:t}-${n<10?"0"+n:n}`}function I6(r){try{if(!r)return;const e=new Date(r);return isNaN(e.getTime())?void 0:e}catch{return}}function L6(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0)}function M6(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),23,59,59,999)}function Vv(r,e){return qs(r)===qs(e)}function Hu(r,e){return qs(r)>qs(e)}function Zd(r,e){return qs(r)>=qs(e)}function Yd(r,e){return qs(r)<qs(e)}function Kd(r,e){return qs(r)<=qs(e)}function Gv(r,e,t){return Hu(r,t)?Hu(e,t)&&Yd(e,r):Hu(e,r)&&Yd(e,t)}function Zv(r,e,t){return Hu(r,t)?Zd(e,t)&&Kd(e,r):Zd(e,r)&&Kd(e,t)}const Zt={toString:qs,toDate:I6,makeSDate:L6,makeEDate:M6,"===":Vv,">":Hu,">=":Zd,"<":Yd,"<=":Kd,"s<d<e|e<d<s":Gv,"s<=d<=e|e<=d<=s":Zv,eq:Vv,g:Hu,ge:Zd,l:Yd,le:Kd,b:Gv,be:Zv},D6="_InputContainer_gsbiq_7",O6="_AInput_gsbiq_21",P6="_LeftAddon_gsbiq_40",N6="_RightAddon_gsbiq_46",j6="_ErrorHelperText_gsbiq_52",F6="_Primary_gsbiq_56",B6="_UnAvailable_gsbiq_61",H6="_Secondary_gsbiq_72",q6="_ReadOnly_gsbiq_87",Qi={InputContainer:D6,AInput:O6,LeftAddon:P6,RightAddon:N6,ErrorHelperText:j6,Primary:F6,UnAvailable:B6,Secondary:H6,ReadOnly:q6,Error:"_Error_gsbiq_52"},z6=["Primary","Secondary","ReadOnly","Error"],Ql=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",inputRef:i,useValue:l,isReadonly:u,placeholder:h,minLength:g,maxLength:m,tabIndex:M,autoFocus:T,isPassword:C,autoComplete:_="off",inputProps:S,LeftAddon:D,RightAddon:A,wrapProps:b,helperText:R,label:O,wrapType:q,labelProps:H,...G}=r,Y=k.useMemo(()=>$6(t)?"Error":n,[t,n]),de=k.useMemo(()=>Y==="ReadOnly"?!0:u,[Y,u]),X=k.useMemo(()=>G.isDisabled||G.isLoading,[G.isDisabled,G.isLoading]),[ue,P]=pn(l,""),re=k.useCallback(ne=>{var oe;X||((oe=S==null?void 0:S.onKeyDown)==null||oe.call(S,ne),["Escape","Enter","ArrowUp","ArrowDown"].includes(ne.key)||ne.stopPropagation(),ne.key==="Enter"&&e&&e(ne.currentTarget.value))},[X,S,e]),J=k.useCallback(ne=>{var oe;X||g&&ne.target.value.length<g||(P==null||P(ne.target.value),(oe=S==null?void 0:S.onChange)==null||oe.call(S,ne))},[X,g,P,S]);return C?v.jsx(Wc,{wrapProps:b,label:O,helperText:R,errorMessage:t,wrapType:q,labelProps:H,children:v.jsx("form",{onSubmit:ne=>ne.preventDefault(),children:v.jsxs(Wr,{...G,className:qe.clsx(Qi.InputContainer,Qi[Y],X&&Qi.UnAvailable,G.className),children:[D&&v.jsx("div",{className:Qi.LeftAddon,children:D}),v.jsx("input",{...S,className:qe.clsx(Qi.AInput,Y==="Error"&&Qi.InputError,S==null?void 0:S.className),value:ue,type:"password",readOnly:de,onChange:J,onKeyDown:re,placeholder:h,maxLength:m,tabIndex:G.isDisabled||G.isLoading?-1:M,autoFocus:T,autoComplete:_,ref:i}),A&&v.jsx("div",{className:qe.clsx(Qi.RightAddon,"NoSelect"),children:A})]})})}):v.jsx(Wc,{wrapProps:b,label:O,helperText:R,errorMessage:t,wrapType:q,labelProps:H,children:v.jsxs(Wr,{...G,className:qe.clsx(Qi.InputContainer,Qi[Y],X&&Qi.UnAvailable,G.className),children:[D&&v.jsx("div",{className:Qi.LeftAddon,children:D}),v.jsx("input",{...S,className:qe.clsx(Qi.AInput,Y==="Error"&&Qi.InputError,S==null?void 0:S.className),value:ue,readOnly:de,onChange:J,onKeyDown:re,placeholder:h,maxLength:m,tabIndex:G.isDisabled||G.isLoading?-1:M,autoFocus:T,autoComplete:_,ref:i}),A&&v.jsx("div",{className:Qi.RightAddon,children:A})]})})};function $6(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}const U6="_ASelect_spf0a_1",W6="_Arrow_spf0a_14",V6="_Primary_spf0a_23",G6="_UnAvailable_spf0a_34",Z6="_IsOpen_spf0a_34",Y6="_Secondary_spf0a_41",K6="_Placeholder_spf0a_56",X6="_ValuesContainer_spf0a_60",J6="_Values_spf0a_60",Q6="_Options_spf0a_79",eT="_Option_spf0a_79",tT="_Selected_spf0a_121",rT="_CheckBox_spf0a_128",Bo={ASelect:U6,Arrow:W6,Primary:V6,UnAvailable:G6,IsOpen:Z6,Secondary:Y6,Placeholder:K6,ValuesContainer:X6,Values:J6,Options:Q6,Option:eT,Selected:tT,CheckBox:rT},nT=["Primary","Secondary"],Vc=r=>{const{options:e,useSelect:t,type:n="Primary",placeholder:i=hn.ASelect["Select(Placeholder)"],onClose:l,OptionRenderer:u=oT,SelectedRenderer:h=sT,minShowRows:g=2,maxShowRows:m=6,arrowProps:M,...T}=r,C=k.useRef(null),_=k.useMemo(()=>T.abaseRef??C,[T.abaseRef]),S=k.useRef(null),[D,A]=pn(t,e[0]),[b,R]=k.useState(!1),[O,q]=k.useState(!1),H=k.useCallback(()=>q(!1),[]),G=k.useCallback(()=>{T.isDisabled||T.isLoading||e.length<1||(q(!0),setTimeout(()=>R(!0),0),setTimeout(()=>Zh(S,_,e,g,m),0))},[_,T.isDisabled,T.isLoading,e,g,m]),Y=k.useCallback(()=>{R(!1),q(!0),l==null||l()},[l]),de=k.useCallback(ne=>{var oe;b?Y():G(),setTimeout(()=>Zh(S,_,e,g,m),0),(oe=T.onClick)==null||oe.call(T,ne)},[_,T,e,b,Y,G,g,m]),X=k.useCallback(()=>{Zh(S,_,e,g,m)},[_,e,g,m]);k.useEffect(()=>{if(!b||!_.current)return;const ne=_.current;let oe=ne.parentElement;for(;oe;)oe.addEventListener("scroll",X),oe=oe.parentElement;return()=>{let ce=ne.parentElement;for(;ce;)ce.removeEventListener("scroll",X),ce=ce.parentElement}},[_,b,X]),k.useEffect(()=>{if(b)return window.addEventListener("resize",X),()=>window.removeEventListener("resize",X)},[b,X]);const ue=k.useCallback(ne=>{ne[0].intersectionRatio===0&&Y()},[Y]);k.useEffect(()=>{if(!b)return;const ne=new IntersectionObserver(ue,{threshold:0});return _.current&&ne.observe(_.current),()=>ne.disconnect()},[_,b,ue]);const P=k.useCallback(ne=>{const oe=ne.target,ce=_.current,ve=S.current;!ce||!oe||!ve||!ce.contains(oe)&&!ve.contains(oe)&&Y()},[_,Y]),re=k.useMemo(()=>T.isDisabled||T.isLoading||e.length<1,[T.isDisabled,T.isLoading,e]);k.useEffect(()=>{if(b)return setTimeout(()=>document.addEventListener("mousedown",P),0),()=>document.removeEventListener("mousedown",P)},[b,P]);const J=k.useCallback((ne,oe)=>{ne.stopPropagation(),ne.preventDefault(),A==null||A(oe),Y()},[A,Y]);return v.jsxs(v.Fragment,{children:[v.jsxs(Wr,{...T,isDisabled:T.isDisabled||e.length<1,className:qe.clsx(T.className,Bo.ASelect,"NoSelect",b&&Bo.IsOpen,re&&Bo.UnAvailable,Bo[n]),abaseRef:_,onClick:de,children:[v.jsx("div",{className:Bo.ValuesContainer,children:v.jsx("div",{className:qe.clsx(Bo.Values,(D==null||D==="")&&Bo.Placeholder),children:v.jsx(h,{selectedOption:D,OptionRenderer:u,placeholder:i})})}),v.jsx("div",{...M,className:qe.clsx(Bo.Arrow,M==null?void 0:M.className),children:v.jsx(Fr,{style:{transform:b?"rotate(180deg)":"",transition:"var(--Transition)"},icon:"TriangleDown"})})]}),e.length>0&&(b||O)&&Bs.createPortal(v.jsx("div",{className:qe.clsx(Bo.Options,Bo[n]),onTransitionEnd:H,style:{opacity:+b,visibility:b?"visible":"hidden",pointerEvents:b?void 0:"none",borderRadius:_.current?window.getComputedStyle(_.current).borderRadius:void 0},ref:S,children:e.map((ne,oe)=>{const ce=D===ne,ve=_.current?window.getComputedStyle(_.current):void 0;return ne===null?null:v.jsx("div",{className:qe.clsx(Bo.Option,ce&&Bo.Selected,"NoSelect",Bo[n]),style:{height:ve==null?void 0:ve.height},onClick:ae=>J(ae,ne),children:v.jsx(u,{option:ne})},oe)})}),document.body)]})};function Zh(r,e,t,n,i){if(!e.current||!r.current||!t||t.length<1)return;const l=e.current.getBoundingClientRect(),u=iT(l,t.length,n,i),h=window.getComputedStyle(e.current);r.current.style.top=`calc(${u.top??0}px - ${h.borderTopWidth})`,r.current.style.bottom=u.bottom?u.bottom+"px":"",r.current.style.left=u.left+"px",r.current.style.minWidth=u.minWidth+"px",r.current.style.minHeight=u.minHeight+"px",r.current.style.maxHeight=u.maxHeight+"px",r.current.style.visibility="visible"}function iT(r,e,t,n){const i={top:r.bottom,bottom:void 0,left:r.left,height:"fit-content",minWidth:r.width,minHeight:r.height*Math.min(t,e),maxHeight:r.height*n>window.innerHeight-r.bottom-10?window.innerHeight-r.bottom-10:r.height*n};return window.innerHeight-r.bottom-10<i.height&&(window.innerHeight-r.bottom-10<i.minHeight?(i.top=r.top-e*r.height,i.top<0&&(i.top=10,i.minHeight=r.top-10,i.height=r.top-10)):i.height=window.innerHeight-r.bottom-10),i}const oT=r=>{const{option:e}=r;return rr.isReactNode(e)?e:null},sT=r=>{const{selectedOption:e,OptionRenderer:t,placeholder:n}=r;return e==null||e===""?n:v.jsx(t,{option:e})},aT="_Anchor_502n9_1",lT="_Primary_502n9_18",cT="_Secondary_502n9_21",uT="_Placeholder_502n9_25",fT="_Icon_502n9_30",dT="_ADatePicker_502n9_37",hT="_StringInputWrap_502n9_48",pT="_StringInputContainer_502n9_53",gT="_StringInput_502n9_48",mT="_IsIdx_502n9_68",vT="_CalendarContainer_502n9_72",yT="_Header_502n9_78",bT="_Prev_502n9_82",_T="_Next_502n9_83",xT="_MonthYear_502n9_116",ST="_Select_502n9_121",CT="_Calendar_502n9_72",wT="_Cell_502n9_132",AT="_IsNotCurrentMonth_502n9_144",TT="_IsSelected_502n9_148",ET="_IsDisabled_502n9_152",kT="_IsHovered_502n9_155",RT="_Week_502n9_159",IT="_WeekDay_502n9_164",rn={Anchor:aT,Primary:lT,Secondary:cT,Placeholder:uT,Icon:fT,ADatePicker:dT,StringInputWrap:hT,StringInputContainer:pT,StringInput:gT,String:"_String_502n9_48",IsIdx:mT,CalendarContainer:vT,Header:yT,Prev:bT,Next:_T,MonthYear:xT,Select:ST,Calendar:CT,Cell:wT,IsNotCurrentMonth:AT,IsSelected:TT,IsDisabled:ET,IsHovered:kT,Week:RT,WeekDay:IT},LT="_Anchor_iz4hf_1",MT="_Primary_iz4hf_18",DT="_Secondary_iz4hf_22",OT="_Placeholder_iz4hf_26",PT="_Icon_iz4hf_31",NT="_ADateRangePicker_iz4hf_38",jT="_StringInputWrap_iz4hf_49",FT="_StringInputContainer_iz4hf_53",BT="_StringInput_iz4hf_49",HT="_IsIdx_iz4hf_69",qT="_CalendarContainer_iz4hf_73",zT="_Header_iz4hf_79",$T="_Prev_iz4hf_83",UT="_Next_iz4hf_84",WT="_MonthYear_iz4hf_117",VT="_Select_iz4hf_122",GT="_Calendar_iz4hf_73",ZT="_Cell_iz4hf_133",YT="_IsNotCurrentMonth_iz4hf_145",KT="_IsSelected_iz4hf_149",XT="_IsDisabled_iz4hf_153",JT="_IsHovered_iz4hf_156",QT="_Week_iz4hf_160",eE="_WeekDay_iz4hf_165",tE="_ChoiceButton_iz4hf_169",Hr={Anchor:LT,Primary:MT,Secondary:DT,Placeholder:OT,Icon:PT,ADateRangePicker:NT,StringInputWrap:jT,StringInputContainer:FT,StringInput:BT,String:"_String_iz4hf_49",IsIdx:HT,CalendarContainer:qT,Header:zT,Prev:$T,Next:UT,MonthYear:WT,Select:VT,Calendar:GT,Cell:ZT,IsNotCurrentMonth:YT,IsSelected:KT,IsDisabled:XT,IsHovered:JT,Week:QT,WeekDay:eE,ChoiceButton:tE},fm=r=>{const{type:e="Primary",className:t,useDateRange:n,actionRef:i,position:l=Xu.SE,minDate:u,maxDate:h,isDisabled:g,isLoading:m,yearsOptionSize:M,noDefaultChoices:T,LeftAddon:C,RightAddon:_,placeholder:S,noClearButton:D,resources:A,onClick:b,...R}=r,O=k.useMemo(()=>({...hn.ADateRangePicker,...A}),[A]),q=k.useMemo(()=>S??O["Select DateRange"],[S,O]),[H,G]=k.useMemo(()=>{let te,ye;if(u&&(te=Zt.makeSDate(u)),h&&(ye=Zt.makeEDate(h)),te&&ye&&Zt["<"](ye,te)){console.warn("ADateRangePicker: maxDate should be greater than minDate. maxDate and minDate are swapped.");const xe=te;te=ye,ye=xe}return[te,ye]},[u,h]),[Y,de]=k.useState("sD"),[X,ue]=pn(n,void 0),P=k.useCallback(te=>{ue&&(te===void 0?(ue(void 0),ke(""),rt("")):(ue({sDate:Zt.makeSDate(te.sDate),eDate:Zt.makeEDate(te.eDate)}),ke(Zt.toString(te.sDate)),rt(Zt.toString(te.eDate))))},[ue]);k.useEffect(()=>{X&&(ke(Zt.toString(X.sDate)),rt(Zt.toString(X.eDate)))},[X]);const re=k.useCallback(te=>{if(!ue)return;let ye=X?X.sDate:Zt.makeSDate(te);te=Zt.makeEDate(te),ue({sDate:ye,eDate:te}),ke(Zt.toString(ye)),rt(Zt.toString(te))},[ue,X]),[J,ne]=k.useState(),[oe,ce]=k.useState(),ve=k.useCallback(te=>{Y==="sD"&&P({sDate:te,eDate:te}),ne(te),ce(te)},[Y,P,ne]),ae=k.useCallback(te=>{Y==="sD"?J&&(Zt.eq(J,te)?de("eD"):Zt[">"](te,J)?(re(te),ne(void 0)):(P({sDate:te,eDate:J}),ne(void 0))):(X?Zt["<"](te,X.sDate)?P({sDate:te,eDate:X.eDate}):re(te):P({sDate:te,eDate:te}),ne(void 0),de("sD"))},[re,J,de,Y,P,X,ne]),ge=k.useCallback(te=>{J&&ce(te)},[J]),he=k.useCallback(()=>{ce(void 0),ne(void 0),de("sD")},[de,ne]),[Se,Oe]=k.useState(Yv(X,H,G)),Be=k.useMemo(()=>dm(Se.year,H,G,M),[Se.year,H,G,M]),Ke=k.useMemo(()=>Vf(Se.year,H,G),[H,G,Se.year]),Te=k.useCallback(te=>{if(!Be.includes(te))return;const ye={month:Se.month,year:te},xe=Vf(ye.year,H,G);xe.length<1||(xe.includes(ye.month)||(ye.month<xe[0]?ye.month=xe[0]:ye.month>xe[xe.length-1]&&(ye.month=xe[xe.length-1])),Oe(ye))},[H,G,Be,Se.month]),lt=k.useCallback(te=>{Ke.includes(te)&&Oe({month:te,year:Se.year})},[Ke,Se.year]),gt=k.useMemo(()=>G?new Date(Se.year,Se.month+1,1)>G:!1,[Se,G]),Xe=k.useCallback(()=>{if(gt||Ke.length<1)return;const te=Se.month+1;te>11?Oe({month:Ke[0],year:Se.year+1}):Oe({month:te,year:Se.year})},[gt,Ke,Se]),Ge=k.useMemo(()=>H?new Date(Se.year,Se.month,0)<H:!1,[Se,H]),Le=k.useCallback(()=>{if(Ge||Ke.length<1)return;const te=Se.month-1;te<Ke[0]?Oe({month:Ke[Ke.length-1],year:Se.year-1}):Oe({month:te,year:Se.year})},[Ge,Ke,Se]),[Re,ke]=k.useState(X!=null&&X.sDate?Zt.toString(X.sDate):""),He=k.useCallback(te=>{if(te.length>10||(ke(te),te.length<10)||!ue)return;let ye=Zt.toDate(te);if(!ye)return;H&&ye<H&&(ye=H),G&&ye>G&&(ye=G);let xe=X?X.eDate:ye;X&&Zt[">"](ye,xe)&&([ye,xe]=Kv(ye,xe)),P({sDate:ye,eDate:xe}),Oe({month:ye.getMonth(),year:ye.getFullYear()})},[ue,P,X,H,G]),[Ie,rt]=k.useState(X!=null&&X.eDate?Zt.toString(X.eDate):""),ft=k.useCallback(te=>{if(te.length>10||(rt(te),te.length<10)||!ue)return;let ye=Zt.toDate(te);if(!ye)return;H&&ye<H&&(ye=H),G&&ye>G&&(ye=G);let xe=X?X.sDate:ye;X&&Zt[">"](xe,ye)&&([xe,ye]=Kv(xe,ye)),P({sDate:xe,eDate:ye}),Oe({month:ye.getMonth(),year:ye.getFullYear()})},[ue,P,X,H,G]),kt=k.useCallback(()=>{X&&(ke(Zt.toString(X.sDate)),rt(Zt.toString(X.eDate)))},[X]),wt=k.useMemo(()=>{const{month:te,year:ye}=Se,xe=new Date(ye,te,1),vt=new Date(ye,te+1,0),et=[];for(let Et=0;Et<xe.getDay();Et++){const Jt=new Date(ye,te,0).getDate()-xe.getDay()+Et+1,Ht=new Date(ye,te-1,Jt),Ut=H&&H>Ht||G&&G<Ht,qt=X?Zt.be(X.sDate,Ht,X.eDate):!1,tr=oe&&X&&Zt.be(X.sDate,Ht,oe);et.push({day:Jt,isSelected:qt,isHovered:tr,date:Ht,isDisabled:Ut,isCurrentMonth:!1})}for(let Et=1;Et<=vt.getDate();Et++){const At=new Date(ye,te,Et),Jt=H&&H>At||G&&G<At,Ht=X?Zt.be(X.sDate,At,X.eDate):!1,Ut=oe&&X&&Zt.be(X.sDate,At,oe);et.push({day:Et,isSelected:Ht,isHovered:Ut,date:At,isDisabled:Jt,isCurrentMonth:!0})}for(let Et=0;Et<7-vt.getDay()-1;Et++){const At=new Date(ye,te+1,Et+1),Jt=H&&H>At||G&&G<At,Ht=X?Zt.be(X.sDate,At,X.eDate):!1,Ut=oe&&X&&Zt.be(X.sDate,At,oe);et.push({day:Et+1,isSelected:Ht,isHovered:Ut,date:At,isDisabled:Jt,isCurrentMonth:!1})}const ot=[];for(let Et=0;Et<et.length/7;Et++)ot.push(v.jsx("div",{className:Hr.Week,children:et.slice(Et*7,Et*7+7).map((At,Jt)=>v.jsx(Bi,{type:"Raw",className:qe.clsx(Hr.Day,Hr.Cell,At.isDisabled?Hr.IsDisabled:At.isCurrentMonth?At.isSelected?Hr.IsSelected:At.isHovered&&Hr.IsHovered:Hr.IsNotCurrentMonth),isDisabled:At.isDisabled,onMouseDown:()=>At.isCurrentMonth&&ve(At.date),onMouseUp:()=>At.isCurrentMonth&&ae(At.date),onMouseEnter:()=>At.isCurrentMonth&&ge(At.date),children:At.day},Jt))},Et));return ot},[Se,oe,X,H,G,ve,ae,ge]),bt=k.useRef(null),Mt=k.useCallback(()=>{bt&&cm(bt,Me,l)},[bt,l]),[Rt,dt]=k.useState(!1),[ct,Ct]=k.useState(!1),Me=k.useRef(null),mt=k.useCallback(()=>{g||m||(dt(!0),setTimeout(()=>Ct(!0),0),setTimeout(()=>Mt(),0),Oe(Yv(X,H,G)))},[g,m,X,Mt,H,G]),_t=k.useCallback(()=>{g||m||(dt(!0),Ct(!1))},[g,m]),Dt=k.useMemo(()=>ct?_t:mt,[ct,mt,_t]),Bt=k.useCallback(()=>dt(!1),[]),$e=k.useCallback(te=>{const ye=document.getElementById("root"),xe=te.target,vt=Me.current,et=bt.current;!ye||!vt||!xe||!et||!vt.contains(xe)&&ye.contains(xe)&&!et.contains(xe)&&_t()},[_t]);k.useEffect(()=>{if(ct)return setTimeout(()=>document.addEventListener("mousedown",$e),0),()=>document.removeEventListener("mousedown",$e)},[ct,$e]);const Tt=k.useCallback(()=>{Mt()},[Mt]);k.useEffect(()=>{if(!ct||!(bt!=null&&bt.current))return;const te=bt.current;let ye=te.parentElement;for(;ye;)ye.addEventListener("scroll",Tt),ye=ye.parentElement;return()=>{let xe=te.parentElement;for(;xe;)xe.removeEventListener("scroll",Tt),xe=xe.parentElement}},[bt,ct,Tt]),k.useEffect(()=>{if(ct)return window.addEventListener("resize",Tt),()=>window.removeEventListener("resize",Tt)},[ct,Tt]);const jt=k.useCallback(te=>{te[0].intersectionRatio===0&&_t()},[_t]);k.useEffect(()=>{if(!ct)return;const te=new IntersectionObserver(jt,{threshold:0});return Me.current&&te.observe(Me.current),()=>te.disconnect()},[Me,ct,jt]),k.useEffect(()=>{i&&(i.current={open:mt,close:_t,toggle:Dt})},[i,mt,_t,Dt]),k.useEffect(()=>{if(!X)return;let te={sDate:X.sDate,eDate:X.eDate};H&&(Zt["<"](X.sDate,H)&&(te.sDate=H),Zt["<"](X.eDate,H)&&(te.eDate=H)),G&&(Zt[">"](X.sDate,G)&&(te.sDate=G),Zt[">"](X.eDate,G)&&(te.eDate=G)),(te.sDate!==X.sDate||te.eDate!==X.eDate)&&P(te)},[H,G,X,P]);const pr=k.useCallback(te=>{b==null||b(te),Dt()},[b,Dt]),or=k.useCallback(te=>{P(void 0),_t(),te.stopPropagation()},[P,_t]),Lr=k.useCallback(()=>X?v.jsx(vo,{style:{scale:"0.8"},type:"Raw",icon:"Close",onClick:or}):null,[X,or]),me=k.useMemo(()=>X?`${Zt.toString(X.sDate)} ~ ${Zt.toString(X.eDate)}`:v.jsx("span",{className:Hr.Placeholder,children:q}),[X,q]);return v.jsxs(v.Fragment,{children:[v.jsxs(Wr,{...R,isLoading:m,isDisabled:g,className:qe.clsx(Hr.Anchor,"IsClickable",Hr[e],t),onClick:pr,abaseRef:bt,children:[C,e==="Primary"&&v.jsxs(v.Fragment,{children:[v.jsx(Fr,{icon:"CalendarDay",className:qe.clsx(Hr.Icon,Hr[e])}),v.jsx(mn,{w:4})]}),me,v.jsx(Kc,{}),!D&&v.jsx(Lr,{}),e==="Secondary"&&v.jsx(Fr,{icon:"CalendarDay",className:qe.clsx(Hr.Icon,Hr[e])}),_&&_]}),(ct||Rt)&&Bs.createPortal(v.jsxs("div",{className:Hr.ADateRangePicker,onTransitionEnd:Bt,onMouseLeave:he,style:{opacity:+ct,visibility:ct?"visible":"hidden"},ref:Me,children:[v.jsxs("div",{className:Hr.StringInputContainer,children:[v.jsxs(Vn,{children:[v.jsx(Ql,{maxLength:11,wrapProps:{className:Hr.StringInputWrap},inputProps:{className:Hr.StringInput},className:qe.clsx(Hr.String,Y==="sD"&&oe&&Hr.IsIdx),useValue:[Re,He],placeholder:"YYYY-MM-DD",onBlur:kt}),v.jsx(mn,{w:8}),v.jsx(Ql,{maxLength:11,wrapProps:{className:Hr.StringInputWrap},inputProps:{className:Hr.StringInput},className:qe.clsx(Hr.String,Y==="eD"&&oe&&Hr.IsIdx),useValue:[Ie,ft],placeholder:"YYYY-MM-DD",onBlur:kt})]}),!T&&v.jsxs(Vn,{style:{marginTop:4},children:[v.jsx(Sd,{children:O["1일"],onClick:()=>P({sDate:new Date,eDate:new Date})}),v.jsx(Sd,{children:O["1주일"],onClick:()=>P({sDate:new Date(new Date().setDate(new Date().getDate()-7)),eDate:new Date})}),v.jsx(Sd,{children:O["1개월"],onClick:()=>P({sDate:new Date(new Date().setMonth(new Date().getMonth()-1)),eDate:new Date})}),v.jsx(Sd,{children:O["3개월"],onClick:()=>P({sDate:new Date(new Date().setMonth(new Date().getMonth()-3)),eDate:new Date})})]})]}),v.jsxs("div",{className:Hr.CalendarContainer,children:[v.jsxs(Vn,{className:Hr.Header,children:[v.jsx(Bi,{type:"Raw",className:Hr.Prev,onClick:Le,isDisabled:Ge}),v.jsxs("div",{className:Hr.MonthYear,children:[v.jsx(Vc,{type:"Secondary",useSelect:[Se.month,lt],className:Hr.Select,options:Ke,OptionRenderer:te=>O.months(te.option),SelectedRenderer:te=>O.months(te.selectedOption)}),v.jsx(mn,{w:8}),v.jsx(Vc,{type:"Secondary",useSelect:[Se.year,Te],className:Hr.Select,options:Be})]}),v.jsx(Bi,{type:"Raw",className:Hr.Next,onClick:Xe,isDisabled:gt})]}),v.jsx(mn,{h:10}),v.jsxs("div",{className:Hr.Calendar,children:[v.jsx("div",{className:Hr.Week,children:[0,1,2,3,4,5,6].map(te=>v.jsx("div",{className:qe.clsx(Hr.WeekDay,Hr.Cell),children:O.weekDays(te)},te))}),wt]})]})]}),document.body)]})};function Vf(r,e,t){let n=0;e&&e.getFullYear()===r&&(n=e.getMonth());let i=11;t&&t.getFullYear()===r&&(i=t.getMonth());const l=[];for(let u=n;u<=i;u++)l.push(u);return l}function dm(r,e,t,n=5){const i=[];let l=r-n/2+n%2/2;e&&l<e.getFullYear()&&(l=e.getFullYear());let u=l+n-1;t&&u>t.getFullYear()&&(u=t.getFullYear());for(let h=l;h<=u;h++)i.push(h);return i}function Yv(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 Kv(r,e){return[e,r]}const Sd=r=>v.jsx(Bi,{className:qe.clsx(Hr.ChoiceButton,"Headline2"),type:"Secondary",...r}),rE=["Primary","Secondary","Raw"],hm=r=>{const{type:e="Primary",className:t,useDate:n,actionRef:i,position:l=Xu.SE,minDate:u,maxDate:h,isDisabled:g,isLoading:m,placeholder:M,LeftAddon:T,RightAddon:C,resources:_,noClearButton:S,onClick:D,...A}=r,b=k.useMemo(()=>({...hn.ADatePicker,..._}),[_]),R=k.useMemo(()=>M??b["Select Date"],[M,b]),[O,q]=k.useMemo(()=>{let Me,mt;return u&&(Me=Zt.makeSDate(u)),h&&(mt=Zt.makeEDate(h)),Me&&mt&&Zt["<"](mt,Me)?(console.warn("ADatePicker: maxDate should be greater than minDate. maxDate and minDate are swapped."),[Zt.makeSDate(mt),Zt.makeEDate(Me)]):[Me,mt]},[u,h]),[H,G]=pn(n,null),[Y,de]=k.useState(H?Zt.toString(H):""),[X,ue]=k.useState(()=>{const Me=H??new Date;return O&&Me<O?O.getMonth():q&&Me>q?q.getMonth():(Me??new Date).getMonth()}),[P,re]=k.useState(()=>{const Me=H??new Date;return O&&Me<O?O.getFullYear():q&&Me>q?q.getFullYear():(Me??new Date).getFullYear()}),J=k.useCallback(Me=>{re(Me);const mt=Vf(Me,O,q);mt.includes(X)||(X<mt[0]?ue(mt[0]):X>mt[mt.length-1]&&ue(mt[mt.length-1]))},[O,q,X]),ne=k.useCallback(Me=>{if(Me.length>10||(de(Me),Me.length<10)||!G)return;let mt=Zt.toDate(Me);mt&&(O&&mt<O&&(mt=O),q&&mt>q&&(mt=q),G(mt),re(mt.getFullYear()),ue(mt.getMonth()))},[G,O,q]),oe=k.useCallback(Me=>{const mt=P+Me;mt<0||re(mt)},[P]),ce=k.useCallback(Me=>{const mt=X+Me;mt<0?(ue(11),oe(-1)):mt>11?(ue(0),oe(1)):ue(mt)},[X,oe]),ve=k.useCallback(Me=>{G&&(Me===void 0?(G(void 0),de("")):(G(Me),de(Zt.toString(Me))))},[G]),ae=k.useMemo(()=>{const Me=new Date(P,X,0);return O&&Me<O},[P,X,O]),ge=k.useMemo(()=>{const Me=new Date(P,X+1,1);return q&&Me>q},[P,X,q]),he=k.useCallback(()=>{ae||ce(-1)},[ce,ae]),Se=k.useCallback(()=>{ge||ce(1)},[ce,ge]),[Oe,Be]=k.useState(null),Ke=k.useCallback(()=>{G&&Be(null)},[G]),Te=k.useCallback(Me=>{G&&Be(Me)},[G]),lt=k.useMemo(()=>{const Me=new Date(P,X,1),mt=new Date(P,X+1,0),_t=[];for(let Bt=0;Bt<Me.getDay();Bt++){const Tt=new Date(P,X,0).getDate()-Me.getDay()+Bt+1,jt=new Date(P,X-1,Tt),pr=O&&O>jt||q&&q<jt,or=H&&Zt.eq(jt,H),Lr=Oe&&Zt.eq(jt,Oe);_t.push({day:Tt,isSelected:or,date:jt,isDisabled:pr,isHovered:Lr,isCurrentMonth:!1})}for(let Bt=1;Bt<=mt.getDate();Bt++){const $e=new Date(P,X,Bt),Tt=O&&O>$e||q&&q<$e,jt=H&&Zt.eq($e,H),pr=Oe&&Zt.eq($e,Oe);_t.push({day:Bt,isSelected:jt,date:$e,isDisabled:Tt,isHovered:pr,isCurrentMonth:!0})}for(let Bt=0;Bt<7-mt.getDay()-1;Bt++){const $e=new Date(P,X+1,Bt+1),Tt=O&&O>$e||q&&q<$e,jt=H&&Zt.eq($e,H),pr=Oe&&Zt.eq($e,Oe);_t.push({day:Bt+1,isSelected:jt,date:$e,isDisabled:Tt,isHovered:pr,isCurrentMonth:!1})}const Dt=[];for(let Bt=0;Bt<_t.length/7;Bt++)Dt.push(v.jsx("div",{className:rn.Week,children:_t.slice(Bt*7,Bt*7+7).map(($e,Tt)=>v.jsx(Bi,{type:"Raw",className:qe.clsx(rn.Day,rn.Cell,$e.isDisabled?rn.IsDisabled:$e.isCurrentMonth?$e.isSelected?rn.IsSelected:$e.isHovered&&rn.IsHovered:rn.IsNotCurrentMonth),isDisabled:$e.isDisabled,onClick:()=>$e.isCurrentMonth&&ve($e.date),onMouseLeave:()=>$e.isCurrentMonth&&Ke(),onMouseEnter:()=>$e.isCurrentMonth&&Te($e.date),children:$e.day},Tt))},Bt));return Dt},[X,ve,H,P,O,q,Oe,Ke,Te]),gt=k.useRef(null),Xe=k.useCallback(()=>{gt&&cm(gt,He,l)},[gt,l]),[Ge,Le]=k.useState(!1),[Re,ke]=k.useState(!1),He=k.useRef(null),Ie=k.useCallback(()=>{g||m||(Le(!0),setTimeout(()=>ke(!0),0),setTimeout(()=>Xe(),0),de(H?Zt.toString(H):""),ue(()=>{const Me=H??new Date;return O&&Me<O?O.getMonth():q&&Me>q?q.getMonth():Me.getMonth()}),re(()=>{const Me=H??new Date;return O&&Me<O?O.getFullYear():q&&Me>q?q.getFullYear():Me.getFullYear()}))},[g,m,H,Xe,O,q]),rt=k.useCallback(()=>{g||m||(Le(!0),ke(!1))},[g,m]),ft=k.useMemo(()=>Re?rt:Ie,[Re,Ie,rt]),kt=k.useCallback(()=>Le(!1),[]),wt=k.useCallback(Me=>{const mt=document.getElementById("root"),_t=Me.target,Dt=He.current,Bt=gt.current;!mt||!Dt||!_t||!Bt||!Dt.contains(_t)&&mt.contains(_t)&&!Bt.contains(_t)&&rt()},[rt]);k.useEffect(()=>{if(Re)return setTimeout(()=>document.addEventListener("mousedown",wt),0),()=>document.removeEventListener("mousedown",wt)},[Re,wt]);const bt=k.useCallback(()=>{Xe()},[Xe]);k.useEffect(()=>{if(!Re||!(gt!=null&&gt.current))return;const Me=gt.current;let mt=Me.parentElement;for(;mt;)mt.addEventListener("scroll",bt),mt=mt.parentElement;return()=>{let _t=Me.parentElement;for(;_t;)_t.removeEventListener("scroll",bt),_t=_t.parentElement}},[gt,Re,bt]),k.useEffect(()=>{if(Re)return window.addEventListener("resize",bt),()=>window.removeEventListener("resize",bt)},[Re,bt]);const Mt=k.useCallback(Me=>{Me[0].intersectionRatio===0&&rt()},[rt]);k.useEffect(()=>{if(!Re)return;const Me=new IntersectionObserver(Mt,{threshold:0});return He.current&&Me.observe(He.current),()=>Me.disconnect()},[He,Re,Mt]),k.useEffect(()=>{i&&(i.current={open:Ie,close:rt,toggle:ft})},[i,Ie,rt,ft]);const Rt=k.useCallback(Me=>{D==null||D(Me),ft()},[D,ft]),dt=k.useCallback(Me=>{ve(void 0),rt(),Me.stopPropagation()},[ve,rt]),ct=k.useCallback(()=>H?v.jsx(vo,{style:{scale:"0.8"},type:"Raw",icon:"Close",onClick:dt}):null,[H,dt]),Ct=k.useMemo(()=>H?Zt.toString(H):v.jsx("span",{className:rn.Placeholder,children:R}),[H,R]);return v.jsxs(v.Fragment,{children:[v.jsxs(Wr,{...A,isLoading:m,isDisabled:g,className:qe.clsx(rn.Anchor,"IsClickable",rn[e],t),onClick:Rt,abaseRef:gt,children:[T,e==="Primary"&&v.jsxs(v.Fragment,{children:[v.jsx(Fr,{icon:"CalendarDay",className:qe.clsx(rn.Icon,rn[e])}),v.jsx(mn,{w:4})]}),Ct,v.jsx(Kc,{}),!S&&v.jsx(ct,{}),e==="Secondary"&&v.jsx(Fr,{icon:"CalendarDay",className:qe.clsx(rn.Icon,rn[e])}),C&&C]}),(Re||Ge)&&Bs.createPortal(v.jsxs("div",{className:rn.ADatePicker,onTransitionEnd:kt,style:{opacity:+Re,visibility:Re?"visible":"hidden"},ref:He,children:[v.jsx("div",{className:rn.StringInputContainer,children:v.jsx(Ql,{maxLength:H?30:11,wrapProps:{className:rn.StringInputWrap},inputProps:{className:rn.StringInput},className:rn.String,useValue:[Y,ne],placeholder:"YYYY-MM-DD"})}),v.jsxs("div",{className:rn.CalendarContainer,children:[v.jsxs(Vn,{className:rn.Header,children:[v.jsx(Bi,{type:"Raw",className:rn.Prev,onClick:he,isDisabled:ae}),v.jsxs("div",{className:rn.MonthYear,children:[v.jsx(Vc,{type:"Secondary",useSelect:[X,ue],className:rn.Select,options:Vf(P,O,q),OptionRenderer:Me=>b.months(Me.option),SelectedRenderer:Me=>b.months(Me.selectedOption)}),v.jsx(mn,{w:8}),v.jsx(Vc,{type:"Secondary",useSelect:[P,J],className:rn.Select,options:dm(P,O,q)})]}),v.jsx(Bi,{type:"Raw",className:rn.Next,onClick:Se,isDisabled:ge})]}),v.jsx(mn,{h:10}),v.jsxs("div",{className:rn.Calendar,children:[v.jsx("div",{className:rn.Week,children:[0,1,2,3,4,5,6].map(Me=>v.jsx("div",{className:qe.clsx(rn.WeekDay,rn.Cell),children:b.weekDays(Me)},Me))}),lt]})]})]}),document.body)]})},nE="_Paper_e69j5_1",iE="_Card_e69j5_15",oE="_Body_e69j5_26",sE="_Title_e69j5_35",aE="_Content_e69j5_42",lE="_Action_e69j5_45",cE="_Button_e69j5_58",ya={Paper:nE,Card:iE,Body:oE,Title:sE,Content:aE,Action:lE,Button:cE},uE=["okCancel","cancelOk","ok","cancel","none"],fE=r=>{const{dlgCore:e,type:t="okCancel",title:n,children:i,style:l,titleStyle:u,bodyStyle:h,contentStyle:g,okButtonStyle:m,cancelButtonStyle:M,actionStyle:T,onOk:C,onCancel:_,onClose:S,onEnterPress:D,onEscPress:A,onSpacePress:b,onPaperClick:R,noDim:O=!1,isLoading:q,isOkDisabled:H,isOkLoading:G,isCancelDisabled:Y,isCancelLoading:de,buttonNoInteractive:X,okButtonClassName:ue,cancelButtonClassName:P,resources:re}=r,J=k.useMemo(()=>({...hn.ADialog,...re}),[re]),[ne,oe]=k.useState(0);k.useEffect(()=>oe(1),[]);const ce=k.useCallback(()=>{oe(0)},[]),ve=k.useCallback(()=>{if(!ne){const[,Re]=e.state.useIsOpen;Re==null||Re(!1),S==null||S()}},[ne,S,e]),ae=k.useCallback(async()=>{if(!ne||t==="cancel"||t==="none"||q||H||G)return;const{event:Re,e:ke}=Uc();await(C==null?void 0:C(ke)),!Re.preventDefault&&ce()},[ne,t,ce,C,H,q,G]),ge=k.useCallback(async()=>{if(!ne||t==="ok"||t==="none"||q||Y||de)return;const{event:Re,e:ke}=Uc();await(_==null?void 0:_(ke)),!Re.preventDefault&&ce()},[ne,t,ce,_,Y,q,de]);k.useEffect(()=>{e&&e.state.setAction({close:ce,ok:ae,cancel:ge})},[e,ce,ae,ge]);const he=k.useCallback(async()=>{const{event:Re,e:ke}=Uc();await(D==null?void 0:D(ke)),!Re.preventDefault&&ae()},[D,ae]),Se=k.useCallback(async()=>{const{event:Re,e:ke}=Uc();await(b==null?void 0:b(ke)),!Re.preventDefault&&ae()},[b,ae]),Oe=k.useCallback(async()=>{const{event:Re,e:ke}=Uc();await(A==null?void 0:A(ke)),!Re.preventDefault&&ge()},[A,ge]),Be=k.useRef(null),Ke=k.useCallback(Re=>{const ke=document.body.getElementsByClassName(ya.Paper);ke.length===0||ke[ke.length-1]!==Be.current||(Re.key==="Enter"&&ne?he():Re.key===" "&&ne?Se():Re.key==="Escape"&&ne&&Oe())},[ne,he,Se,Oe]);k.useEffect(()=>{if(ne)return window.addEventListener("keydown",Ke),()=>window.removeEventListener("keydown",Ke)},[ne,Ke]);const Te=k.useRef(!1),lt=k.useRef(!1),gt=k.useCallback(()=>{Te.current=!0},[]),Xe=k.useCallback(()=>{Te.current=!1,lt.current=!1},[]),Ge=k.useCallback(()=>{lt.current=!0},[]),Le=k.useCallback(async()=>{const Re=!lt.current||Te.current;if(Te.current=!1,lt.current=!1,Re)return;const{event:ke,e:He}=Uc();await(R==null?void 0:R(He)),!ke.preventDefault&&ge()},[R,ge]);return Bs.createPortal(v.jsx("div",{className:ya.Paper,style:{backgroundColor:O?"transparent":void 0,pointerEvents:ne?void 0:"none",opacity:ne},onMouseUp:Le,onMouseDown:Ge,onTransitionEnd:ve,ref:Be,children:v.jsxs(Wr,{className:ya.Card,onMouseDown:gt,onMouseUp:Xe,style:l,isLoading:q,children:[v.jsxs("div",{className:ya.Body,style:h,children:[n&&v.jsx(dE,{title:n,titleStyle:u}),i&&v.jsx("div",{className:ya.Content,style:g,children:i})]}),t!=="none"&&v.jsx(hE,{type:t,ok:ae,cancel:ge,resources:J,isOkDisabled:H,isOkLoading:G,isCancelDisabled:Y,isCancelLoading:de,okButtonStyle:m,cancelButtonStyle:M,actionStyle:T,buttonNoInteractive:X,okButtonClassName:ue,cancelButtonClassName:P})]})}),document.body)},dE=r=>{const{title:e,titleStyle:t}=r;return v.jsx("div",{className:qe.clsx(ya.Title,"NoSelect","Title3"),style:t,children:e})},hE=r=>{const{type:e,ok:t,cancel:n,resources:i,isOkDisabled:l,isOkLoading:u,isCancelDisabled:h,isCancelLoading:g,okButtonStyle:m,cancelButtonStyle:M,actionStyle:T,buttonNoInteractive:C,okButtonClassName:_,cancelButtonClassName:S}=r,D=k.useMemo(()=>({onClick:t,isDisabled:l,isLoading:u,children:i.Ok,style:m,noInteractive:C,className:qe.clsx(ya.Button,_)}),[t,l,u,i.Ok,m,C,_]),A=k.useMemo(()=>({type:"Secondary",onClick:n,isDisabled:h,isLoading:g,children:i.Cancel,style:M,noInteractive:C,className:qe.clsx(ya.Button,S)}),[n,h,g,i.Cancel,M,C,S]);if(e==="okCancel"||e==="ok")return v.jsxs("div",{className:ya.Action,style:{...T},children:[v.jsx(Bi,{...D}),e==="okCancel"&&v.jsxs(v.Fragment,{children:[v.jsx(mn,{w:8}),v.jsx(Bi,{...A})]})]},e);if(e==="cancelOk"||e==="cancel")return v.jsxs("div",{className:ya.Action,children:[v.jsx(Bi,{...A}),e==="cancelOk"&&v.jsxs(v.Fragment,{children:[v.jsx(mn,{w:8}),v.jsx(Bi,{...D})]})]},e)},pE=r=>{const e=k.useMemo(()=>Math.random().toFixed(32),[]),t=k.useMemo(()=>{const _={};return r.forEach(S=>{_[S]=S+e}),_},[r,e]),n=k.useMemo(()=>[],[]),i=k.useMemo(()=>(n.length=0,n.push(...r),n),[n,r]),[l,u]=k.useState([]),h=k.useRef((()=>{const _={};return i.forEach(S=>{_[S]={open:()=>u(D=>[...D,S]),close:()=>{},ok:()=>{},cancel:()=>{}}}),_})()),g=k.useMemo(()=>{const _={};return i.forEach(S=>{_[S]=D=>{u(A=>!D&&A.includes(S)?A.filter(b=>b!==S):D&&!A.includes(S)?[...A,S]:A)}}),_},[i]),m=k.useMemo(()=>{const _={};return i.forEach(S=>{const A=[l.includes(S),g[S]],b=R=>{h.current[S]={...h.current[S],...R}};_[S]={useIsOpen:A,setAction:b}}),_},[l,g,i]),M=k.useMemo(()=>{const _={};return i.forEach(S=>{const D=()=>h.current[S].open(),A=()=>h.current[S].close(),b=()=>h.current[S].ok(),R=()=>h.current[S].cancel();_[S]={open:D,close:A,ok:b,cancel:R}}),_},[i]),T=k.useMemo(()=>({}),[]),C=k.useMemo(()=>(i.forEach(_=>{T[_]={state:m[_],action:M[_]}}),T),[T,i,m,M]);return k.useEffect(()=>(Object.keys(C).forEach(S=>{const D=C[S],A=t[S],b=js.find(R=>{R.id});b?b.core=D:js.push({id:A,core:D})}),()=>{const S=Object.keys(C),D=js.filter(A=>S.includes(A.id));js.length=0,js.push(...D)}),[C,t]),C},gE=()=>{const r=k.useMemo(()=>Math.random().toFixed(32),[]),[e,t]=k.useState(!1),n=k.useRef({open:()=>t(!0),close:()=>{},ok:()=>{},cancel:()=>{}}),i=k.useMemo(()=>({useIsOpen:[e,t],setAction:g=>{n.current={...n.current,...g}}}),[e]),l=k.useMemo(()=>({open:()=>n.current.open(),close:()=>n.current.close(),ok:()=>n.current.ok(),cancel:()=>n.current.cancel()}),[]),u=k.useMemo(()=>({}),[]),h=k.useMemo(()=>(u.state=i,u.action=l,u),[u,i,l]);return k.useEffect(()=>{const g=js.find(m=>m.id===r);return g?g.core=h:js.push({id:r,core:h}),()=>{const m=js.filter(M=>M.id!==r);js.length=0,js.push(...m)}},[r,h]),h},mE=r=>{const{dlgCore:e,children:t}=r,[n,i]=k.useMemo(()=>e.state.useIsOpen,[e.state.useIsOpen]);return k.useEffect(()=>()=>i==null?void 0:i(!1),[i]),v.jsx(k.Suspense,{children:n&&t})},vE=r=>e=>{const{dlgCore:t}=e;return v.jsx(mE,{dlgCore:t,children:k.cloneElement(v.jsx(r,{...e}),{dlgCore:t})})},js=[],yE={closeAllDlgs:()=>{js.forEach(r=>{r.core.action.close()})}},bE="_AFileBox_1hlo1_1",_E="_SelectedFile_1hlo1_16",xE="_Dropping_1hlo1_26",qd={AFileBox:bE,SelectedFile:_E,Dropping:xE},SE=r=>{const{useFile:e,FileRenderer:t=CE,resources:n,accept:i="",onInvalidFileFormat:l,fileSelectButtonClassName:u,isDisabled:h,isLoading:g,className:m,...M}=r,T=k.useMemo(()=>({...hn.AFileBox,...n}),[n]),C=k.useRef(null),_=k.useRef(null),[S,D]=pn(e,null),[A,b]=k.useState(!1),R=k.useMemo(()=>i.split(",").map(P=>P.trim()).filter(P=>P.length>0&&P.startsWith(".")),[i]),O=k.useCallback(P=>{if(R.length===0)return!1;const re=P.name.split(".").pop();return re?!R.includes(`.${re}`):!0},[R]),q=k.useCallback(P=>{if(D)if(O(P)){l==null||l();return}else D(P);else return},[D,O,l]),H=k.useCallback(P=>{P.target.files&&P.target.files.length>0&&q(P.target.files[0])},[q]),G=k.useCallback(P=>{P.preventDefault(),b(!1),!(h||g)&&P.dataTransfer.files&&P.dataTransfer.files.length>0&&q(P.dataTransfer.files[0])},[q,h,g]),Y=k.useCallback(P=>{P.preventDefault(),!(h||g)&&b(!0)},[h,g]),de=k.useCallback(P=>{P.target===C.current&&P.relatedTarget.contains(C.current.parentElement)&&(P.preventDefault(),b(!1))},[]),X=k.useCallback(P=>P.preventDefault(),[]),ue=k.useMemo(()=>A?v.jsxs(I2,{className:qe.clsx(qd.Dropping,"NoSelect","Headline2"),children:[v.jsx(Fr,{icon:"FileDownload"})," ",T["drop file to select"]]}):S?v.jsx(t,{file:S,useFile:e}):v.jsxs(Vn,{className:qe.clsx(qd.SelectFile,"NoSelect"),children:[v.jsx(Bi,{className:u,onClick:()=>{var P;return(P=_.current)==null?void 0:P.click()},children:T["Select File"]}),v.jsx(mn,{w:4}),T["or Drag & Drop"]]}),[t,T,A,S,e,u]);return v.jsxs(Wr,{...M,isDisabled:h,isLoading:g,className:qe.clsx(qd.AFileBox,m),onDrop:G,onDragEnter:Y,onDragLeave:de,onDragOver:X,abaseRef:C,children:[v.jsx("input",{style:{display:"none"},ref:_,type:"file",onChange:H,value:"",accept:i}),ue]})},CE=r=>{const{file:e,useFile:t}=r,[,n]=pn(t,null);return v.jsxs(Vn,{className:qd.SelectedFile,style:{backgroundColor:""},children:[v.jsx(Fr,{icon:"File"}),v.jsx(Jl,{children:e.name}),v.jsx(vo,{type:"Raw",icon:"Close",style:{marginLeft:2,transform:"scale(0.8)"},onClick:()=>n==null?void 0:n(null)})]})},wE="_AFloatMenu_xco8u_1",AE="_Content_xco8u_10",Xv={AFloatMenu:wE,Content:AE},P2=r=>{const{defs:e,defaultDef:t,actionRef:n,offset:i,onClose:l,onClick:u,onPaperClick:h,position:g=Xu.ES,width:m=137}=r,M=k.useMemo(()=>({content:TE,...t}),[t]),T=k.useMemo(()=>{const P={};return rr.keys(e).forEach(re=>{const J=e[re],ne={...M,...J};ne.noDisplay||(P[re]=ne)}),P},[M,e]),[C,_]=k.useState(null),S=k.useCallback(P=>{G_(P,O,g,i),_(P)},[g,i]),[D,A]=k.useState(!1),[b,R]=k.useState(!1),O=k.useRef(null),q=k.useCallback(P=>{R(!0),setTimeout(()=>A(!0),0),setTimeout(()=>S(P),0)},[S]),H=k.useCallback(()=>{A(!1),R(!0),l==null||l()},[l]),G=k.useCallback(()=>R(!1),[]),Y=k.useCallback(async P=>{const re=document.getElementById("root"),J=P.target,ne=O.current;!re||!ne||!J||!ne.contains(J)&&re.contains(J)&&(await(h==null?void 0:h(P)),H())},[H,h]);k.useEffect(()=>{if(D)return setTimeout(()=>document.addEventListener("mousedown",Y),0),()=>document.removeEventListener("mousedown",Y)},[D,Y]);const de=k.useCallback(()=>{C&&S(C)},[S,C]);k.useEffect(()=>{if(!D||!C)return;let P=C.parentElement;for(;P;)P.addEventListener("scroll",de),P=P.parentElement;return()=>{let re=C.parentElement;for(;re;)re.removeEventListener("scroll",de),re=re.parentElement}},[C,D,de]),k.useEffect(()=>{if(D)return window.addEventListener("resize",de),()=>window.removeEventListener("resize",de)},[D,de]);const X=k.useCallback(P=>{P[0].intersectionRatio===0&&H()},[H]);k.useEffect(()=>{if(!D)return;const P=new IntersectionObserver(X,{threshold:0});return O.current&&P.observe(O.current),()=>P.disconnect()},[O,D,X]),k.useEffect(()=>{n&&(n.current={open:q,close:H})},[n,q,H]);const ue=k.useCallback(P=>{var re;if(D){if((re=T[P])!=null&&re.isDisabled)return}else return;u==null||u(P),H()},[D,u,H,T]);return!D&&!b?null:Bs.createPortal(v.jsx("div",{className:Xv.AFloatMenu,style:{opacity:+D,visibility:D&&Object.keys(T).length>0?"visible":"hidden",minWidth:m},onTransitionEnd:G,ref:O,children:rr.map(T,([P],re)=>{const J={...M,...T[P]};let{content:ne,noDisplay:oe,tooltipDirection:ce=vi.E,...ve}=J;return oe?null:(ne=Ir.getContent(J.content,{defKey:P,def:J}),k.createElement(Wr,{...ve,key:re,className:qe.clsx(Xv.Content,"Label2","IsClickable",ve.className),onClick:ae=>{var ge;ue==null||ue(P),(ge=ve.onClick)==null||ge.call(ve,ae)},tooltipDirection:ce},ne))})}),document.body)},TE=r=>r.defKey;function EE(r){try{const e=Number.parseInt(r);return isNaN(e)?void 0:e}catch{return}}const N2={parseInt:EE},kE=`${Number.MAX_SAFE_INTEGER}`.length-1,RE=r=>{const{unit:e,type:t="Secondary",min:n,max:i,useValue:l,onEnterPress:u,canAsterisk:h=!1,onFocus:g,...m}=r,M=k.useMemo(()=>i!==void 0&&n!==void 0?Math.max(`${i}`.length+1,`${n}`.length+1):kE,[n,i]),[T,C]=pn(l,""),_=k.useCallback(b=>{if(C)if(h&&b.startsWith("*"))C("*");else if(b==="")C("");else if(b==="-")C("-");else{b=b.replace(/[^0-9-]/g,"");try{const R=N2.parseInt(b);R!==void 0&&(n!==void 0&&R<n?C(`${n}`):i!==void 0&&R>i?C(`${i}`):C(`${R}`))}catch(R){console.error("ANumInput : ",R)}}},[C,h,n,i]),S=k.useRef(null),D=k.useCallback(b=>{var R;(R=S.current)==null||R.blur(),u==null||u(b)},[u]),A=k.useMemo(()=>n===void 0&&i===void 0?e??"number":`${n??""}~${i??""}`,[n,i,e]);return v.jsx(Ql,{...m,type:t,className:qe.clsx(Qi.ANumInput,r.className),autoComplete:"off",onEnterPress:D,useValue:[T,_],maxLength:M,placeholder:A,RightAddon:r.unit&&v.jsx("span",{style:{marginRight:4},children:r.unit}),inputRef:S})},IE="_AListView_k7t2d_1",LE="_Row_k7t2d_10",ME="_Label_k7t2d_20",DE="_Content_k7t2d_30",Cd={AListView:IE,Row:LE,Label:ME,Content:DE},OE=r=>{const{defs:e,defaultDef:t,item:n,rowHeight:i,labelWidth:l,noBorder:u,style:h,...g}=r,m=u?"":"var(--AListView_border-thin)",M=u?"":"var(--AListView_border-thick)",T=k.useMemo(()=>({content:NE,label:PE,...t}),[t]),C=k.useMemo(()=>{const _={};return rr.keys(e).forEach(S=>{const D=e[S],A={...T,...D};_[S]=A}),_},[T,e]);return v.jsx(Wr,{...g,className:qe.clsx(Cd.AListView,g.className),style:{...h,borderTop:m},children:rr.map(C,([_])=>{const S={...T,...C[_]},D=Ir.getContent(S.label,{defKey:_,item:n,def:S}),A=Ir.getContent(S.content,{defKey:_,item:n||{[_]:""},def:S}),b=Ir.getContent(S.bold||"label",{defKey:_,item:n,def:S});return v.jsxs("div",{className:Cd.Row,style:{height:i,borderBottom:m},children:[v.jsx("div",{className:qe.clsx(Cd.Label,"NoSelect",b!=="content"&&"Bold"),style:{width:l,minWidth:l,maxWidth:l,borderLeft:M,paddingLeft:u?0:10},children:v.jsx(Jl,{children:D})}),v.jsx("div",{className:qe.clsx(Cd.Content,b!=="label"&&"Bold"),style:{borderLeft:M,borderRight:M},children:v.jsx(Jl,{style:{width:"100%",padding:u?0:10},children:A})})]},_)})})},PE=r=>r.defKey,NE=r=>{const{defKey:e,item:t}=r;if(t)if(rr.hasKey(t,e)){const n=t[e];return rr.isReactNode(n)?n:null}else return null;else return null},jE="_ALoadingBorder_kwc1g_1",FE="_ProgressBar_kwc1g_9",BE="_IsLoading_kwc1g_15",HE="_load_kwc1g_1",qE="_Cover_kwc1g_19",kf={ALoadingBorder:jE,ProgressBar:FE,IsLoading:BE,load:HE,Cover:qE},pm=r=>{const{isLoading:e}=r,[t,n]=k.useState(!1),i=k.useRef(null);return k.useEffect(()=>{e?(n(!0),i.current&&clearTimeout(i.current)):i.current=setTimeout(()=>n(!1),300)},[e]),v.jsxs("div",{className:kf.ALoadingBorder,children:[v.jsx("div",{className:qe.clsx(kf.ProgressBar,t&&kf.IsLoading)}),v.jsx("div",{className:qe.clsx(kf.Cover,e&&kf.IsLoading),style:{transition:"all 300ms"}})]})},zE="_Container_i37fx_1",$E="_Option_i37fx_7",UE="_RadioButton_i37fx_14",WE="_InnerCircle_i37fx_23",VE="_isChecked_i37fx_28",Fu={Container:zE,Option:$E,RadioButton:UE,InnerCircle:WE,isChecked:VE},GE=r=>{const{options:e,useSelect:t,selectDisabled:n,radius:i=23,innerRadius:l=i*.6,OptionRenderer:u=j2}=r,[h,g]=pn(t,e[0]);return v.jsx("div",{className:Fu.Container,children:e.map((m,M)=>{const T=n==null?void 0:n(m),C=()=>T?null:g==null?void 0:g(m);return v.jsxs(Vn,{className:qe.clsx(Fu.Option,"IsClickable"),isDisabled:T,onClick:C,children:[v.jsx(ZE,{isChecked:h===m,radius:i,innerRadius:l},M),v.jsx(u,{option:m})]},M)})})},j2=({option:r})=>r,ZE=({isChecked:r,radius:e,innerRadius:t})=>v.jsx(Wr,{className:qe.clsx(Fu.RadioButton,r&&Fu.isChecked),style:{width:e,height:e},children:v.jsx(Wr,{className:qe.clsx(Fu.InnerCircle,r&&Fu.isChecked),style:{width:t,height:t}})}),YE="_AMultiSelect_ma2iq_1",KE="_Arrow_ma2iq_15",XE="_Primary_ma2iq_24",JE="_UnAvailable_ma2iq_35",QE="_IsOpen_ma2iq_35",ek="_Secondary_ma2iq_42",tk="_Placeholder_ma2iq_57",rk="_ValuesContainer_ma2iq_62",nk="_Values_ma2iq_62",ik="_Options_ma2iq_81",ok="_Option_ma2iq_81",sk="_Selected_ma2iq_123",ak="_CheckBox_ma2iq_130",mo={AMultiSelect:YE,Arrow:KE,Primary:XE,UnAvailable:JE,IsOpen:QE,Secondary:ek,Placeholder:tk,ValuesContainer:rk,Values:nk,Options:ik,Option:ok,Selected:sk,CheckBox:ak},lk=r=>{const{options:e,useSelect:t,type:n="Primary",placeholder:i=hn.AMultiSelect["Select(Placeholder)"],onClose:l,SelectedRenderer:u=uk,OptionRenderer:h=fk,minShowRows:g=2,maxShowRows:m=6,arrowProps:M,...T}=r,C=k.useRef(null),_=k.useMemo(()=>T.abaseRef??C,[T.abaseRef]),S=k.useRef(null),[D,A]=pn(t,[]),[b,R]=k.useState(!1),[O,q]=k.useState(!1),H=k.useCallback(()=>q(!1),[]),G=k.useCallback(()=>{T.isDisabled||T.isLoading||e.length<1||(q(!0),setTimeout(()=>R(!0),0),setTimeout(()=>Yh(S,_,e,g,m),0))},[_,T.isDisabled,T.isLoading,e,g,m]),Y=k.useCallback(()=>{R(!1),q(!0),l==null||l()},[l]),de=k.useCallback(ne=>{var oe;b?Y():G(),setTimeout(()=>Yh(S,_,e,g,m),0),(oe=T.onClick)==null||oe.call(T,ne)},[_,T,e,b,Y,G,g,m]),X=k.useCallback(()=>{Yh(S,_,e,g,m)},[_,e,g,m]);k.useEffect(()=>{if(!b||!_.current)return;const ne=_.current;let oe=ne.parentElement;for(;oe;)oe.addEventListener("scroll",X),oe=oe.parentElement;return()=>{let ce=ne.parentElement;for(;ce;)ce.removeEventListener("scroll",X),ce=ce.parentElement}},[_,b,X]),k.useEffect(()=>{if(b)return window.addEventListener("resize",X),()=>window.removeEventListener("resize",X)},[b,X]);const ue=k.useCallback(ne=>{ne[0].intersectionRatio===0&&Y()},[Y]);k.useEffect(()=>{if(!b)return;const ne=new IntersectionObserver(ue,{threshold:0});return _.current&&ne.observe(_.current),()=>ne.disconnect()},[_,b,ue]);const P=k.useCallback(ne=>{const oe=ne.target,ce=_.current,ve=S.current;!ce||!oe||!ve||!ce.contains(oe)&&!ve.contains(oe)&&Y()},[_,Y]),re=k.useMemo(()=>T.isDisabled||T.isLoading||e.length<1,[T.isDisabled,T.isLoading,e]);k.useEffect(()=>{if(b)return setTimeout(()=>document.addEventListener("mousedown",P),0),()=>document.removeEventListener("mousedown",P)},[b,P]);const J=k.useCallback((ne,oe)=>{ne.stopPropagation(),ne.preventDefault();let ce=[...D];ce.includes(oe)?ce=ce.filter(ve=>ve!==oe):ce.push(oe),A==null||A(ce)},[D,A]);return v.jsxs(v.Fragment,{children:[v.jsxs(Wr,{...T,isDisabled:T.isDisabled||e.length<1,className:qe.clsx(T.className,mo.AMultiSelect,"NoSelect",b&&mo.IsOpen,re&&mo.UnAvailable,mo[n]),abaseRef:_,onClick:de,children:[v.jsx("div",{className:mo.ValuesContainer,children:v.jsx("div",{className:qe.clsx(mo.Values,D.length<1&&mo.Placeholder),children:v.jsx(u,{OptionRenderer:h,selectedOptions:D,placeholder:i})})}),v.jsx("div",{...M,className:qe.clsx(mo.Arrow,M==null?void 0:M.className),children:v.jsx(Fr,{style:{transform:b?"rotate(180deg)":"",transition:"var(--Transition)"},icon:"TriangleDown"})})]}),e.length>0&&(b||O)&&Bs.createPortal(v.jsx("div",{className:qe.clsx(mo.Options,mo[n]),onTransitionEnd:H,style:{opacity:+b,visibility:b?"visible":"hidden",pointerEvents:b?void 0:"none"},ref:S,children:e.map((ne,oe)=>{var ve;const ce=D.includes(ne);return v.jsxs("div",{className:qe.clsx(mo.Option,ce&&mo.Selected,"NoSelect",mo[n]),style:{height:(ve=_.current)==null?void 0:ve.getBoundingClientRect().height},onClick:ae=>J(ae,ne),children:[v.jsx(Wu,{className:mo.CheckBox,useCheck:[+ce,void 0]}),v.jsx(h,{option:ne})]},oe)})}),document.body)]})};function Yh(r,e,t,n,i){if(!e.current||!r.current||!t||t.length<1)return;const l=e.current.getBoundingClientRect(),u=ck(l,t.length,n,i),h=window.getComputedStyle(e.current);r.current.style.top=`calc(${u.top??0}px - ${h.borderTopWidth})`,r.current.style.bottom=u.bottom?u.bottom+"px":"",r.current.style.left=u.left+"px",r.current.style.minWidth=u.minWidth+"px",r.current.style.minHeight=u.minHeight+"px",r.current.style.maxHeight=u.maxHeight+"px",r.current.style.visibility="visible"}function ck(r,e,t,n){const i={top:r.bottom,bottom:void 0,left:r.left,height:"fit-content",minWidth:r.width,minHeight:r.height*Math.min(t,e),maxHeight:r.height*n>window.innerHeight-r.bottom-10?window.innerHeight-r.bottom-10:r.height*n};return window.innerHeight-r.bottom-10<i.height&&(window.innerHeight-r.bottom-10<i.minHeight?(i.top=r.top-e*r.height,i.top<0&&(i.top=10,i.minHeight=r.top-10,i.height=r.top-10)):i.height=window.innerHeight-r.bottom-10),i}const uk=r=>{const{OptionRenderer:e,selectedOptions:t,placeholder:n}=r;return t.length<1?n:t.length===1?v.jsx(e,{option:t[0]}):`${t.length} selected`},fk=r=>{const{option:e}=r;return rr.isReactNode(e)?e:null},dk="_Container_10ion_1",hk="_Steps_10ion_9",pk="_Step_10ion_9",gk="_OutCircle_10ion_26",mk="_IsOver_10ion_37",vk="_InCircle_10ion_41",yk="_Line_10ion_54",bk="_Left_10ion_66",_k="_Right_10ion_69",xk="_ContentContainer_10ion_73",Sk="_Content_10ion_73",Ji={Container:dk,Steps:hk,Step:pk,OutCircle:gk,IsOver:mk,InCircle:vk,Line:yk,Left:bk,Right:_k,ContentContainer:xk,Content:Sk},Ck=r=>{const{useSelect:e,steps:t,StepRenderer:n=Jv,ContentRenderer:i=Jv}=r;if(t.length===0)throw new Error("steps should have at least one element");const l=k.useRef(null),[u,h]=pn(e,t[0]),g=k.useCallback(M=>h==null?void 0:h(M),[h]),m=k.useMemo(()=>t.indexOf(u),[u,t]);return k.useEffect(()=>{m<0&&g(t[0])},[m,t,g]),v.jsxs("div",{className:Ji.Container,children:[v.jsx("div",{className:Ji.Steps,children:t.map((M,T)=>{const C=t.indexOf(M),_=m>=T,S=m>T;return v.jsxs("div",{className:Ji.Step,children:[T!==0&&v.jsx("div",{className:qe.clsx(Ji.Line,Ji.Left,_&&Ji.IsOver)}),T!==t.length-1&&v.jsx("div",{className:qe.clsx(Ji.Line,Ji.Right,S&&Ji.IsOver)}),v.jsx(Bi,{type:"Raw",className:qe.clsx(Ji.OutCircle,_&&Ji.IsOver),onClick:()=>g(M),children:v.jsx("div",{className:qe.clsx(Ji.InCircle,_&&Ji.IsOver)})}),v.jsx(n,{step:M,stepIdx:C})]},T)})}),v.jsx("div",{className:Ji.ContentContainer,ref:l,children:t.map((M,T)=>{const C=t.indexOf(M);return v.jsx("div",{className:Ji.Content,style:T===0?{marginLeft:`${m*-100}%`}:{},children:v.jsx(i,{step:M,stepIdx:C})},T)})})]})},Jv=r=>{const{step:e}=r;return typeof e=="object"?rr.stringify(e):e},wk="_ATab_1ikea_1",Ak="_Option_1ikea_9",Tk="_Underline_1ikea_22",Ek="_IsSelected_1ikea_22",kk="_IndicatorTrack_1ikea_33",Rk="_Indicator_1ikea_33",Ik="_Primary_1ikea_49",Lk="_Secondary_1ikea_56",Mk="_IsDisabled_1ikea_66",Dk="_Tertiary_1ikea_80",Ok="_Quaternary_1ikea_110",Wl={ATab:wk,Option:Ak,Underline:Tk,IsSelected:Ek,IndicatorTrack:kk,Indicator:Rk,Primary:Ik,Secondary:Lk,IsDisabled:Mk,Tertiary:Dk,Quaternary:Ok},Pk=["Primary","Secondary","Tertiary","Quaternary"],F2=r=>{const{options:e,useSelect:t,selectDisabled:n,type:i="Primary",tabProps:l,optionProps:u,optionWidth:h,OptionRenderer:g=Nk,RightAddon:m,color:M,underline:T}=r;if(e.length===0)throw new Error("options should have at least one element");const C=k.useMemo(()=>e.findIndex(ae=>!(n!=null&&n(ae))),[e,n]),_=i==="Tertiary"?2:0,S=i==="Secondary"?8:0,D=k.useMemo(()=>_+S,[_,S]),A=i==="Tertiary"?2:0,b=k.useMemo(()=>(S-_-A-A)/e.length,[e.length,_,S,A]),[R,O]=pn(t,e[C]),q=k.useRef([]),H=k.useCallback(ae=>O==null?void 0:O(ae),[O]),G=k.useMemo(()=>typeof h=="number"?h+"px":h,[h]),Y=k.useMemo(()=>e.indexOf(R),[e,R]),de=k.useMemo(()=>`calc(${100/e.length}% + ${b}px)`,[e.length,b]),X=k.useMemo(()=>G||`calc(${de} - ${D}px)`,[de,D,G]),[ue,P]=k.useState(0),[re,J]=k.useState(0),[ne,oe]=k.useState(X),ce=k.useMemo(()=>{let ae;switch(G){case void 0:ae=`calc(${de} * ${Y})`;break;case"fit-content":ae=`calc(${ue}px)`;break;default:ae=`calc((${G} + ${D}px) * ${Y})`;break}return`calc(${ae} + ${A}px)`},[G,A,de,Y,ue,D]),ve=k.useMemo(()=>{switch(G){case void 0:return;case"fit-content":return`calc(${re}px)`;default:return`calc((${G} + ${D}px - ${b}px) * ${e.length})`}},[G,b,D,e,re]);return k.useEffect(()=>{var ge,he;if(e.includes(R)||O==null||O(e[C]),G!=="fit-content"){oe(X);return}let ae=0;q.current.forEach((Se,Oe)=>{Oe<Y&&Se.current&&(ae+=Se.current.offsetWidth+D)}),P(ae),oe(`calc(${((he=(ge=q.current[Y])==null?void 0:ge.current)==null?void 0:he.offsetWidth)||0}px)`),J(q.current.reduce((Se,Oe)=>{var Be;return Se+((((Be=Oe.current)==null?void 0:Be.offsetWidth)||0)+D-b)},0))},[G,q,e,R,O,C,b,D,Y,X]),v.jsxs("div",{...l,className:qe.clsx(Wl.ATab,"Headline2",Wl[i],l==null?void 0:l.className),children:[v.jsx("div",{className:Wl.Indicator,style:{minWidth:ne,left:ce,marginLeft:_}}),v.jsx("div",{className:Wl.IndicatorTrack,style:{width:ve}}),v.jsx(mn,{w:A}),e.map((ae,ge)=>{const he=n==null?void 0:n(ae);return q.current[ge]||(q.current[ge]=k.createRef()),v.jsx(Wr,{abaseRef:q.current[ge],...u,style:{minWidth:X,maxWidth:X,marginLeft:_,marginRight:S,"--color":M,...u==null?void 0:u.style},className:qe.clsx(Wl.Option,he&&Wl.IsDiabled,ae===R&&Wl.IsSelected,"IsClickable",T&&Wl.Underline,u==null?void 0:u.className),onClick:Se=>{!he&&H(ae),u&&u.onClick&&u.onClick(Se)},isDisabled:he,children:v.jsx(g,{option:ae})},ge)}),v.jsx(mn,{w:A+_}),m&&v.jsxs(v.Fragment,{children:[v.jsx(Kc,{}),m]})]})},Nk=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=rr.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 B2(...r){const e=k.useRef(!1);k.useEffect(()=>{e.current||(e.current=!0,r.forEach(t=>t()))},[r])}const H2={String:(r,e,t,n)=>{const{value:i}=n;if(i===void 0)return!1;if(t==="")return rr.keys(e).some(M=>{const T=e[M],C=Ir.getContent(T.asText,{defKey:M,def:T,item:r});if(C!==void 0)return C.toString().toLowerCase().includes(i.toLowerCase());const _=Ir.getContent(T.content,{defKey:M,def:T,item:r});return["string","number"].includes(typeof _)&&_!==void 0&&_!==null?_.toString().toLowerCase().includes(i.toLowerCase()):!1});const l=rr.keys(e),u=t;if(!l.includes(u))return!1;const h=e[u],g=Ir.getContent(h.asText,{defKey:u,def:h,item:r});if(g!==void 0)return g.toString().toLowerCase().includes(i.toLowerCase());const m=Ir.getContent(h.content,{defKey:u,def:h,item:r});return["string","number"].includes(typeof m)&&m!==void 0&&m!==null?m.toString().toLowerCase().includes(i.toLowerCase()):!1},Select:(r,e,t,n)=>{const{value:i}=n;if(i==null)return!1;const l=rr.keys(e),u=t;if(!l.includes(u))return!1;const h=e[u],g=Ir.getContent(h.asText,{defKey:u,def:h,item:r});if(g!==void 0)return i.toString().toLowerCase()===g.toString().toLowerCase();const m=Ir.getContent(h.content,{defKey:u,def:h,item:r});return["string","number"].includes(typeof m)&&m!==void 0&&m!==null?i.toString().toLowerCase()===m.toString().toLowerCase():!1},Date:(r,e,t,n)=>{const{value:i}=n;if(i===void 0)return!1;const l=rr.keys(e),u=t;if(!l.includes(u))return!1;const h=e[u],g=Ir.getContent(h.asText,{defKey:u,def:h,item:r});if(g!==void 0){const M=Zt.toDate(g.toString());return M&&Zt.eq(M,i)}const m=Ir.getContent(h.content,{defKey:u,def:h,item:r});if(["string","number"].includes(typeof m)&&m!==void 0&&m!==null){const M=Zt.toDate(m.toString());return M&&Zt.eq(M,i)}return!1},DateRange:(r,e,t,n)=>{const{value:i}=n;if(i===void 0)return!1;const l=rr.keys(e),u=t;if(!l.includes(u))return!1;const h=e[u],g=Ir.getContent(h.asText,{defKey:u,def:h,item:r});if(g!==void 0){const M=Zt.toDate(g.toString());return M&&Zt.be(i.sDate,M,i.eDate)}const m=Ir.getContent(h.content,{defKey:u,def:h,item:r});if(["string","number"].includes(typeof m)&&m!==void 0&&m!==null){const M=Zt.toDate(m.toString());return M&&Zt.be(i.sDate,M,i.eDate)}return!1}},jk=(r,e,t)=>{let n=r;return rr.keys(t).forEach(l=>{const u=t[l];u.value===void 0||u.value===null||u.value===""||(n=n.filter(h=>{var g;return(g=u.predicate??H2[u.type])==null?void 0:g(h,e,l,u)}))}),n},Fk=(r,e,t)=>{if(!t)return r;const n=t.defKey,i=e[n];if(n===void 0)return r;const l=t.sortF??((u,h)=>{const g=Ir.getContent(i.content,{defKey:n,def:i,item:u}),m=Ir.getContent(i.content,{defKey:n,def:i,item:h});return typeof g=="string"&&typeof m=="string"?g<m?-1:g>m?1:0:typeof g=="number"&&typeof m=="number"?g-m:typeof g=="string"&&typeof m=="number"?-1:typeof g=="number"&&typeof m=="string"||g===void 0&&m!==void 0?1:g!==void 0&&m===void 0?-1:0});return r.slice().sort((u,h)=>t.isAsc?l(u,h):l(h,u))},Bk=(r,e,t)=>r.slice((e-1)*t,e*t),q2=(r,e)=>{const t=Math.max(Math.ceil(r/e),1);return Array.from({length:t},(n,i)=>i+1)},Hk=(r,e,t,n)=>{const i=q2(e,t),l=Math.floor((r-1)/n),u=l*n+1,h=(l+1)*n,g=i.slice(u-1,h);return{pages:i,rangedPages:g}},qk=(r,e,t)=>{const n=[],i=Object.keys(t),l=[];i.forEach(C=>{const _=t[C],S=Ir.getContent(_.hContent,{defKey:C,def:_});if(S!==void 0){if(typeof S=="string"){l.push(S);return}else if(typeof S=="number"){l.push(S.toString());return}}const D=Ir.getContent(_.name,{defKey:C,def:_});if(D!==void 0&&typeof D=="string"){l.push(D);return}l.push(C)});const u=l.map(C=>`"${C.replaceAll('"','""')}"`);n.push(u.join(",")),e.forEach(C=>{const _=[];i.forEach(D=>{const A=t[D],b=Ir.getContent(A.content,{defKey:D,def:A,item:C});if(b!==void 0){if(typeof b=="string"){_.push(b);return}else if(typeof b=="number"){_.push(b.toString());return}}const R=C[D];typeof R=="string"?_.push(R):typeof R=="number"?_.push(R.toString()):_.push("")});const S=_.map(D=>`"${D.replaceAll('"','""')}"`);n.push(S.join(","))});const h=`${r}.csv`,g="\uFEFF"+n.join(`
52
+ `),m=new Blob([g],{type:"text/csv;charset=UTF-8"}),M=URL.createObjectURL(m),T=document.createElement("a");T.href=M,T.download=h,T.click(),URL.revokeObjectURL(M)},zk=r=>{const e=rr.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},$k=r=>{const e=Object.entries(r);let t={};return e.forEach(([n,i])=>{!i||i.value===void 0||i.value===null||i.value===""||(i.type==="DateRange"?(t[i.sFilterKey]=i.value.sDate,t[i.eFilterKey]=i.value.eDate):t[i.filterKey??n]=i.value)}),t},Qa={applyFilteration:jk,applySortation:Fk,applyPagination:Bk,getPages:q2,getRangedPages:Hk,downloadCsv:qk,getSingleFilterValue:zk,getMultiFilterValues:$k},Uk="_ATable_12zow_1",Wk={ATable:Uk};function z2(r,e,t,n){k.useEffect(()=>{if(r)return r.addEventListener(e,t,n),()=>{r.removeEventListener(e,t,n)}},[r,e,t,n])}const Vk="_BodyHeader_43b3m_1",Gk="_TRow_43b3m_7",Zk="_OverflowSpace_43b3m_13",Yk="_BodyBody_43b3m_19",Kk="_IsSelected_43b3m_40",Xk="_IsSelectable_43b3m_44",Jk="_IsRowMarked_43b3m_52",Qk="_TH_43b3m_57",e8="_TD_43b3m_62",t8="_IsMarked_43b3m_62",r8="_Resizer_43b3m_81",n8="_IsMoving_43b3m_93",i8="_IsResizable_43b3m_96",o8="_ResizerCenter_43b3m_99",s8="_ResizerOut_43b3m_105",a8="_ResizerIn_43b3m_109",l8="_IsClicked_43b3m_144",c8="_NoItems_43b3m_151",u8="_Content_43b3m_157",_n={BodyHeader:Vk,TRow:Gk,OverflowSpace:Zk,BodyBody:Yk,IsSelected:Kk,IsSelectable:Xk,IsRowMarked:Jk,TH:Qk,TD:e8,IsMarked:t8,Resizer:r8,IsMoving:n8,IsResizable:i8,ResizerCenter:o8,ResizerOut:s8,ResizerIn:a8,IsClicked:l8,NoItems:c8,Content:u8},Zl=25,f8=r=>{const{defs:e,isEqual:t,rProps:n,useSelect:i,isTableDisabled:l,isSelectMulti:u,selectDisabled:h,appliedFilteration:g,useSortation:m,pagination:M,pagedItems:T,noMarking:C,isLoading:_,showRows:S,RowRenderer:D=p8,isRowRendered:A,resources:b}=r,[R,O]=k.useMemo(()=>i??[],[i]),q=k.useCallback(Ie=>{l||!O||!R||h!=null&&h(Ie)||(u?R.some(rt=>t(rt,Ie))?O(R.filter(rt=>!t(rt,Ie))):O([...R,Ie]):O([Ie]))},[R,h,O,t,l,u]);k.useEffect(()=>{u||!R||!O||R.length>1&&O([R[R.length-1]])},[R,O,u]),k.useEffect(()=>{if(!R||!O)return;R.filter(rt=>h==null?void 0:h(rt)).length>0&&O(R.filter(rt=>!(h!=null&&h(rt))))},[R,O,h]);const[H,G]=m,Y=k.useCallback((Ie,rt)=>{G&&((H==null?void 0:H.defKey)===Ie?H.isAsc===!0?G({defKey:Ie,isAsc:!1,sortF:rt}):H.isAsc===!1?G(void 0):G({defKey:Ie,isAsc:!0,sortF:rt}):G({defKey:Ie,isAsc:!0,sortF:rt}))},[H,G]),[de,X]=k.useState({elem:null,row:null}),ue=k.useRef(null),P=k.useRef(null),re=k.useCallback(()=>X({elem:ue.current,row:P.current}),[]);k.useEffect(()=>re(),[T.length,re]),z2(window,"resize",re);const[J,ne]=k.useState(40);k.useEffect(()=>{const{row:Ie}=de;Ie!=null&&ne(Ie.clientHeight)},[de,J]);const oe=k.useMemo(()=>{const{elem:Ie}=de;return Ie?Math.floor(Ie.clientHeight/J):0},[de,J]),ce=k.useMemo(()=>S||(T.length<=oe?oe:T.length),[oe,S,T]),ve=k.useMemo(()=>{if(S!==void 0)return S*J},[S,J]),ae=k.useMemo(()=>ve,[ve]),ge=k.useMemo(()=>{const{elem:Ie}=de;return Ie?Ie.getBoundingClientRect().height/J<T.length:!1},[de,J,T.length]),[he,Se]=k.useState(),Oe=k.useMemo(()=>{const{elem:Ie}=de;return!he||!Ie?"100%":Ie.clientHeight+(A?0:50)},[he,A,de]),Be=k.useRef(null),[Ke,Te]=k.useState({}),lt=k.useRef({x:0,y:0}),gt=k.useRef({}),Xe=k.useMemo(()=>rr.keys(Ke),[Ke]),Ge=k.useCallback((Ie,rt)=>{const ft=Be.current;if(!ft)return;const kt=[];ft.childNodes.forEach(Rt=>{Rt.classList.contains(_n.TH)&&kt.push(Rt)});const wt={};rr.keys(e).forEach((Rt,dt)=>{const ct=kt[dt];if(!ct)return;const Ct=ct.getBoundingClientRect().width;wt[Rt]=Ct}),gt.current=wt,Se(rt),lt.current={x:Ie.clientX,y:Ie.clientY};const bt=Rt=>{if(!Be.current)return;const ct=Rt.clientX-lt.current.x,Ct=h8(e,rt,gt.current,ct);Te(Ct)};document.addEventListener("mousemove",bt);const Mt=()=>{Se(void 0),document.removeEventListener("mousemove",bt),document.removeEventListener("mouseup",Mt)};document.addEventListener("mouseup",Mt)},[e]),Le=k.useCallback(()=>{Se(void 0),Te({})},[]),Re=k.useMemo(()=>{if(Xe.length===0){const ft={},kt=rr.keys(e);for(let wt=0;wt<kt.length;wt++){const bt=kt[wt],Mt=e[bt],Rt=Ir.getContent(Mt.colSpan,{defKey:bt,def:Mt}),dt=Mt.width??80,ct=Mt.minWidth??Zl,Ct=Mt.maxWidth,Me={width:dt,minWidth:ct,maxWidth:Ct,flexGrow:Rt??1};if(ft[bt]=Me,Rt!==void 0){for(let mt=1;mt<Math.min(Rt,kt.length-wt);mt++){const _t=e[kt[wt+mt]],Dt=_t.width??80,Bt=_t.minWidth??Zl,$e=_t.maxWidth;Me.width+=Dt,Me.minWidth+=Bt,Me.maxWidth!==void 0&&($e!==void 0?Me.maxWidth+=$e:Me.maxWidth=void 0)}wt+=Rt-1}}return ft}const Ie={},rt=rr.keys(e);for(let ft=0;ft<rt.length;ft++){let kt=rt[ft];const wt=e[kt];let bt=Ke[kt];const Mt=Ir.getContent(wt.colSpan,{defKey:kt,def:wt}),Rt=wt.minWidth??Zl,dt=wt.maxWidth,ct={width:bt,minWidth:Rt,maxWidth:dt,flexGrow:Mt??1};if(Ie[kt]=ct,Mt!==void 0){for(let Ct=1;Ct<Math.min(Mt,rt.length-ft);Ct++){const Me=e[rt[ft+Ct]],mt=Ke[rt[ft+Ct]],_t=Me.minWidth??Zl,Dt=Me.maxWidth;ct.width+=mt,ct.minWidth+=_t,ct.maxWidth!==void 0&&(Dt!==void 0?ct.maxWidth+=Dt:ct.maxWidth=void 0)}ft+=Mt-1}}return Ie},[e,Xe,Ke]),ke=k.useRef(null),He=k.useMemo(()=>Qa.getSingleFilterValue(g),[g]);return k.useEffect(()=>{ue.current&&ue.current.scrollTo({top:0})},[M.page]),k.useEffect(()=>{A&&P.current&&P.current.scrollIntoView({behavior:"smooth",block:"center"})},[R,T,A]),v.jsxs(v.Fragment,{children:[v.jsx(pm,{isLoading:_}),v.jsx("div",{className:qe.clsx(_n.BodyHeader,he!==void 0&&_n.IsClicked),onResizeCapture:re,ref:ke,style:{display:A?"none":"flex"},children:v.jsx("div",{className:_n.TRow,ref:Be,children:rr.map(e,([Ie],rt)=>{const ft=e[Ie],kt=Ir.getContent(ft.hContent,{defKey:Ie,def:ft}),wt=ft.name,bt=rt===rr.keys(e).length-1,Mt=ft.width??80,Rt=ft.minWidth??Zl,dt=ft.maxWidth,ct={width:Mt,minWidth:Rt,maxWidth:dt,justifyContent:Ir.getContent(ft.hAlign,{defKey:Ie,def:ft})??"flex-start",...Ir.getContent(ft.hStyle,{defKey:Ie,def:ft})};Xe.includes(Ie)&&(ct.width=Ke[Ie]);const Ct=ft.isSortable,Me=(H==null?void 0:H.defKey)===Ie,mt=H==null?void 0:H.isAsc;return v.jsxs(k.Fragment,{children:[v.jsxs("div",{style:ct,onClick:()=>Ct&&Y(Ie,ft.sortF),className:qe.clsx(_n.TH,"Label1",Ct?"IsClickable":"NoSelect"),children:[v.jsx(Jl,{className:_n.Content,children:kt??wt}),Ct&&v.jsx(Fr,{icon:Me?mt?"SortUp":"SortDown":"SortBoth",style:{width:16,height:16}})]}),!bt&&v.jsxs("div",{className:qe.sclsx(_n,"Resizer","IsResizable","NoSelect",he!==void 0&&"IsMoving"),onMouseDown:_t=>Ge(_t,Ie),onDoubleClick:Le,children:[v.jsx("div",{className:_n.ResizerOut}),v.jsx("div",{className:_n.ResizerIn}),v.jsx("div",{className:_n.ResizerCenter,style:{height:Oe}}),v.jsx("div",{className:_n.ResizerIn}),v.jsx("div",{className:_n.ResizerOut})]}),bt&&v.jsx(mn,{className:_n.OverflowSpace,w:"var(--Scrollbar-width)",h:50,style:{color:ct.color,backgroundColor:ct.backgroundColor,transition:ct.transition}})]},Ie)})})}),v.jsxs("div",{className:qe.clsx(_n.BodyBody,he!==void 0&&_n.IsClicked),ref:ue,style:{overflowY:ge?"scroll":"hidden",minHeight:ve,maxHeight:ae},children:[T.map((Ie,rt)=>{const ft=Ir.getContent(n,{item:Ie}),kt=O&&!l,wt=R==null?void 0:R.some(dt=>t(dt,Ie)),bt=R&&(h==null?void 0:h(Ie)),Mt=typeof bt=="string"?bt:void 0,Rt={...Ie};return A&&rr.keys(e).forEach(dt=>{const ct=e[dt],Ct=Ir.getContent(ct.content,{defKey:dt,def:ct,item:Ie});let Me=!1;if(He&&!C){const mt=Ir.getContent(ct.asText,{defKey:dt,def:ct,item:Ie});mt!==void 0?Me=mt.toString().toLowerCase().includes(He.toLowerCase()):["string","number"].includes(typeof Ct)&&Ct!==void 0&&Ct!==null&&(Me=Ct.toString().toLowerCase().includes(He.toLowerCase()))}Rt[dt]=v.jsx("span",{className:qe.clsx(Me&&_n.IsRowMarked),children:Rt[dt]})}),v.jsx(Wr,{isDisabled:bt,tooltip:Mt,...ft,onClick:dt=>{var ct;q(Ie),(ct=ft==null?void 0:ft.onClick)==null||ct.call(ft,dt)},className:qe.clsx(ft==null?void 0:ft.className,kt&&_n.IsSelectable,wt&&_n.IsSelected),abaseRef:wt?P:void 0,children:v.jsx(D,{defs:e,item:Ie,markedItem:Rt,noMarking:C,spanWidths:Re,singleFilterValue:He,isBodyBodyOverflowed:ge})},rt)}),v.jsx(d8,{showRows:ce,itemsLength:T.length,isRowRendered:A,rowHeight:J,resources:b})]})]})},d8=r=>{const{showRows:e,itemsLength:t,resources:n,isRowRendered:i,rowHeight:l}=r,u=k.useMemo(()=>t===0?e:e-t,[e,t]);return Array.from({length:u},(h,g)=>v.jsx("div",{className:qe.clsx(_n.TRow,"NoSelect"),...i&&{style:{border:"none",minHeight:l,maxHeight:l}},children:t===0&&g===Math.floor(e/2)&&v.jsx(Vn,{className:_n.NoItems,children:n["No Items"]})},g))};function h8(r,e,t,n){const i={...t},l=rr.keys(r).findIndex(m=>m===e)+1,u=Object.entries(r);let h=l-1,g=l;if(n<0){for(;n<0&&!(h<0||g>=u.length);){const[m,M]=[u[h][0],u[h][1]],[T,C]=[u[g][0],u[g][1]],_=M.minWidth??Zl,S=C.maxWidth,D=i[m],A=i[T];let b=D-_;S!==void 0&&(b=Math.min(b,S-A));let R=-n;R=Math.min(R,b),D-R<=_&&h--,S!==void 0&&A+R>=S&&g++,i[m]=D-R,i[T]=A+R,n+=R}return i}else if(n>0){for(;n>0&&!(h<0||g>=u.length);){const[m,M]=[u[h][0],u[h][1]],[T,C]=[u[g][0],u[g][1]],_=C.minWidth??Zl,S=M.maxWidth,D=i[T],A=i[m];let b=D-_;S!==void 0&&(b=Math.min(b,S-A));let R=n;R=Math.min(R,b),D-R<=_&&g++,S!==void 0&&A+R>=S&&h--,i[T]=D-R,i[m]=A+R,n-=R}return i}return i}const p8=r=>{const{defs:e,item:t,noMarking:n,spanWidths:i,singleFilterValue:l,isBodyBodyOverflowed:u}=r;return v.jsx("div",{className:qe.clsx(_n.TRow),children:rr.map(e,([h],g)=>{const m=i[h];if(m===void 0)return null;const M=g===rr.keys(e).length-1,T=e[h],C=Ir.getContent(T.content,{defKey:h,def:T,item:t}),_={width:m.width,minWidth:m.minWidth,maxWidth:m.maxWidth,flexGrow:m.flexGrow,justifyContent:Ir.getContent(T.align,{defKey:h,def:T,item:t})??"flex-start",...Ir.getContent(T.style,{defKey:h,def:T,item:t})};let S=!1;if(l&&!n){const D=Ir.getContent(T.asText,{defKey:h,def:T,item:t});D!==void 0?S=D.toString().toLowerCase().includes(l.toLowerCase()):["string","number"].includes(typeof C)&&C!==void 0&&C!==null&&(S=C.toString().toLowerCase().includes(l.toLowerCase()))}return v.jsxs(k.Fragment,{children:[v.jsx("div",{style:_,className:qe.clsx(_n.TD,"Label1",S&&_n.IsMarked),children:v.jsx(Jl,{className:_n.Content,children:C})}),!u&&M&&v.jsx(mn,{className:_n.OverflowSpace,w:"var(--Scrollbar-width)",h:40,style:{color:_.color,backgroundColor:_.backgroundColor}})]},h)})})},g8="_ATableFooter_w090q_1",m8="_Button_w090q_10",v8="_IsSelected_w090q_26",y8="_IsDisabled_w090q_31",Ms={ATableFooter:g8,Button:m8,IsSelected:v8,IsDisabled:y8},b8=r=>{const{pages:e,rangedPages:t,pageF:n,pagination:i}=r,l=k.useMemo(()=>e[e.length-1],[e]);return v.jsxs(Vn,{className:Ms.ATableFooter,children:[v.jsx(Fr,{icon:"FirstPage",className:qe.clsx(Ms.Button,i.page===1&&Ms.IsDisabled),onClick:n.moveFirst}),v.jsx(Fr,{icon:"NavigateBefore",className:qe.clsx(Ms.Button,i.page===1&&Ms.IsDisabled),onClick:n.movePrev}),t.map(u=>v.jsx("div",{className:qe.clsx(Ms.Button,"NoSelect",i.page===u&&Ms.IsSelected),onClick:()=>n.move(u),children:u},u)),v.jsx(Fr,{icon:"NavigateNext",className:qe.clsx(Ms.Button,i.page===l&&Ms.IsDisabled),onClick:n.moveNext}),v.jsx(Fr,{icon:"LastPage",className:qe.clsx(Ms.Button,i.page===l&&Ms.IsDisabled),onClick:n.moveLast})]})},_8="_Filter_1nzzz_1",x8="_MainFilter_1nzzz_11",S8="_IsOpen_1nzzz_22",C8="_SubFilters_1nzzz_26",w8="_Input_1nzzz_40",A8="_Main_1nzzz_11",T8="_Sub_1nzzz_26",E8="_Actions_1nzzz_58",k8="_Icon_1nzzz_63",R8="_LeftIcon_1nzzz_70",I8="_CircleAlertOutline_1nzzz_75",L8="_Rotate_1nzzz_85",M8="_rotate_1nzzz_1",Rr={Filter:_8,MainFilter:x8,IsOpen:S8,SubFilters:C8,Input:w8,Main:A8,Sub:T8,Actions:E8,Icon:k8,LeftIcon:R8,CircleAlertOutline:I8,Rotate:L8,rotate:M8},D8=r=>{const{defs:e,useFilteration:t,hasToggleFilteration:n,filterF:i,isRowRendered:l,isFilterSort:u,resources:h}=r,[g,m]=k.useState([]),[M,T]=k.useMemo(()=>t,[t]),C=k.useCallback((ae,ge,he)=>{if(!T)return;const Se={...M};ae.value=ge,T(Se),m(Oe=>Oe.map((Be,Ke)=>Ke===(he?he+1:0)?"":Be))},[M,T]),_=k.useMemo(()=>{let ae=[];const ge=rr.keys(M);for(const he of ge)ae.push({key:he,def:e[he],filter:M[he]});return ae},[M,e]),S=k.useMemo(()=>_.length>0?_[0]:null,[_]),D=k.useMemo(()=>g.length>0?g[0]:"",[g]),A=k.useMemo(()=>_.length>1?_.slice(1):[],[_]),b=k.useMemo(()=>g.length>1?g.slice(1):[],[g]),R=k.useMemo(()=>A.length>0,[A]),[O,q]=k.useState(!1),[H,G]=k.useState(!1),Y=k.useRef(null),de=k.useCallback(()=>{q(!0),setTimeout(()=>G(!0),0)},[]),X=k.useCallback(()=>{G(!1),q(!0)},[]),ue=k.useMemo(()=>H?X:de,[H,de,X]),P=k.useCallback(()=>q(!1),[]),re=k.useCallback(ae=>{const ge=document.getElementById("root"),he=ae.target,Se=Y.current;!ge||!Se||!he||!Se.contains(he)&&ge.contains(he)&&X()},[X]);k.useEffect(()=>{if(H)return setTimeout(()=>document.addEventListener("mousedown",re),0),()=>document.removeEventListener("mousedown",re)},[H,re]);const J=k.useCallback(()=>{const ae=_.map((ge,he)=>ge.filter.type==="String"&&ge.filter.validation?ge.filter.validation(ge.filter.value||""):ge.filter.type==="Date"&&ge.filter.validation||ge.filter.type==="DateRange"&&ge.filter.validation?ge.filter.validation(ge.filter.value):g[he]);m(ae),ae.every(ge=>!ge)&&i.apply()},[g,i,_]),ne=k.useMemo(()=>({open:de,close:X,toggle:ue,validate:J}),[de,X,ue,J]),oe=k.useCallback(()=>i.clear(),[i]),ce=k.useCallback(()=>J(),[J]),ve=k.useCallback(ae=>{ae.key==="Enter"?(J(),ae.stopPropagation()):ae.key==="Escape"&&(G(!1),ae.currentTarget.focus(),ae.currentTarget.blur(),ae.stopPropagation())},[J]);return S?v.jsxs("div",{className:qe.clsx(Rr.Filter),ref:Y,onKeyDown:ve,onClick:ae=>{ae.preventDefault(),ae.stopPropagation()},style:{minWidth:l?u?180:void 0:180,maxWidth:l?u?300:void 0:300},tabIndex:-1,children:[v.jsx(O8,{filterSet:S,hasToggleFilteration:n,onChange:C,filterF:i,hasSubFilters:R,popupF:ne,isOpen:H,resources:h,errorMessage:D}),v.jsx(P8,{subFilterSets:A,onChange:C,onClearClick:oe,onSearchClick:ce,isOpen:H,isTransitioning:O,onTransitionEnd:P,resources:h,errorMessages:b})]}):null},O8=r=>{var M,T,C,_;const{filterSet:e,hasToggleFilteration:t,onChange:n,filterF:i,hasSubFilters:l,popupF:u,isOpen:h,resources:g,errorMessage:m}=r;if(e.filter.type==="String"){const S=[e.filter.value??"",R=>n(e.filter,R)],{placeholder:D=(M=e.def)==null?void 0:M.name,icon:A,iconTooltip:b=D}=e.filter;return v.jsxs("div",{className:qe.clsx(Rr.MainFilter,h&&Rr.IsOpen),children:[v.jsx(va,{icon:A??"Type",tooltip:b,isOpen:h}),v.jsx(Ql,{className:qe.clsx(Rr.Input,Rr.Main),useValue:S,placeholder:D??g["Search(Placeholder)"],wrapProps:{style:{width:"100%",boxSizing:"border-box"}},LeftAddon:t&&v.jsx(wd,{isOpen:h,filterF:i,popupF:u,resources:g}),RightAddon:v.jsx(Ad,{hasSubFilters:l,popupF:u,isOpen:h,resources:g,errorMessage:m}),autoFocus:e.filter.autoFocus,maxLength:e.filter.maxLength,type:m?"Error":"Primary"})]})}else if(e.filter.type==="Select"){const S=[e.filter.value??null,R=>n(e.filter,R)],{placeholder:D=(T=e.def)==null?void 0:T.name,icon:A,iconTooltip:b=D}=e.filter;return v.jsxs("div",{className:qe.clsx(Rr.MainFilter,h&&Rr.IsOpen),children:[v.jsx(va,{icon:A??"Menu",tooltip:b,isOpen:h}),v.jsx(Vc,{className:qe.clsx(Rr.Input,Rr.Main),options:e.filter.options,useSelect:S,placeholder:D,OptionRenderer:e.filter.OptionRenderer,SelectedRenderer:({OptionRenderer:R,selectedOption:O})=>O===null?e.filter.placeholder&&g.Select:v.jsxs(v.Fragment,{children:[t&&v.jsx(wd,{isOpen:h,filterF:i,popupF:u,resources:g}),v.jsx(R,{option:O}),v.jsx(Ad,{hasSubFilters:l,popupF:u,isOpen:h,resources:g})]})})]})}else if(e.filter.type==="Date"){const S=[e.filter.value,R=>n(e.filter,R)],{placeholder:D=(C=e.def)==null?void 0:C.name,icon:A,iconTooltip:b=D}=e.filter;return v.jsxs("div",{className:qe.clsx(Rr.MainFilter,h&&Rr.IsOpen),children:[v.jsx(va,{icon:A??"CalendarDay",tooltip:b,isOpen:h}),v.jsx(hm,{type:"Raw",className:qe.clsx(Rr.DatePicker,Rr.Input,Rr.Main),useDate:S,minDate:e.filter.minDate,maxDate:e.filter.maxDate,placeholder:D,LeftAddon:v.jsxs(v.Fragment,{children:[t&&v.jsx(wd,{isOpen:h,filterF:i,popupF:u,resources:g}),!t&&v.jsx(mn,{w:h?0:6}),v.jsx(va,{icon:A??"CalendarDay",tooltip:b,isOpen:!h}),v.jsx(mn,{w:h?8:0})]}),RightAddon:v.jsx(Ad,{hasSubFilters:l,popupF:u,isOpen:h,resources:g})})]})}else if(e.filter.type==="DateRange"){const S=[e.filter.value,O=>n(e.filter,O)],{placeholder:D=(_=e.def)==null?void 0:_.name,icon:A,iconTooltip:b=D,noDefaultChoices:R}=e.filter;return v.jsxs("div",{className:qe.clsx(Rr.MainFilter,h&&Rr.IsOpen),children:[v.jsx(va,{icon:A??"CalendarDay",tooltip:b,isOpen:h}),v.jsx(fm,{type:"Raw",className:qe.clsx(Rr.DatePicker,Rr.Input,Rr.Main),useDateRange:S,minDate:e.filter.minDate,maxDate:e.filter.maxDate,placeholder:D,noDefaultChoices:R,LeftAddon:v.jsxs(v.Fragment,{children:[t&&v.jsx(wd,{isOpen:h,filterF:i,popupF:u,resources:g}),!t&&v.jsx(mn,{w:h?0:6}),v.jsx(va,{icon:A??"CalendarDay",tooltip:b,isOpen:!h}),v.jsx(mn,{w:h?8:0})]}),RightAddon:v.jsx(Ad,{hasSubFilters:l,popupF:u,isOpen:h,resources:g})})]})}return null},wd=r=>{const{filterF:e,popupF:t,resources:n,isOpen:i}=r;return v.jsx(vo,{type:"Raw",className:Rr.Icon,icon:"Convert",tooltip:n["Toggle Filter"],onMouseDown:l=>l.currentTarget.classList.remove(Rr.Rotate),style:{width:i?0:24,marginLeft:i?0:8},onClick:l=>{l.currentTarget.classList.add(Rr.Rotate),e.toggle(),t.close(),l.stopPropagation()}})},Ad=r=>{const{hasSubFilters:e,popupF:t,isOpen:n,resources:i,errorMessage:l}=r,u=k.useCallback(m=>{m.stopPropagation(),t.open()},[t]),h=k.useCallback(m=>{m.stopPropagation(),t.close()},[t]),g=k.useCallback(m=>{m.stopPropagation(),t.validate()},[t]);return v.jsxs(k.Fragment,{children:[l&&v.jsx(vo,{type:"Raw",className:Rr.CircleAlertOutline,icon:"CircleAlertOutline",tooltip:l}),e&&v.jsx(vo,{type:"Raw",className:Rr.Icon,icon:"ListAdd",onClick:u,style:{opacity:+!n,visibility:+!n?"visible":"hidden",marginRight:-24,pointerEvents:n?"none":void 0}}),e&&v.jsx(vo,{type:"Raw",className:Rr.Icon,icon:"ListRemove",onClick:h,style:{opacity:+n,visibility:+n?"visible":"hidden",marginRight:n?-24:0,pointerEvents:n?void 0:"none"}}),v.jsx(vo,{type:"Raw",className:Rr.Icon,icon:"Search",tooltip:i["Search(Button)"],onClick:g,style:{opacity:+!n,visibility:+!n?"visible":"hidden",pointerEvents:n?"none":void 0,marginRight:4}})]})},P8=r=>{const{subFilterSets:e,onChange:t,onClearClick:n,onSearchClick:i,isOpen:l,isTransitioning:u,onTransitionEnd:h,resources:g,errorMessages:m}=r;return!l&&!u?null:v.jsxs("div",{className:Rr.SubFilters,onTransitionEnd:h,style:{opacity:+l,visibility:+l?"visible":"hidden"},children:[e.map((M,T)=>{var C,_,S,D;if(M.filter.type==="String"){const A=[M.filter.value??"",H=>t(M.filter,H,T)],b=m[T],{placeholder:R=(C=M.def)==null?void 0:C.name,icon:O,iconTooltip:q=R}=M.filter;return v.jsxs(Vn,{style:{marginBottom:6},children:[v.jsx(va,{tooltip:q,icon:O??"Type"}),v.jsx(Ql,{className:qe.clsx(Rr.Input,Rr.Sub),wrapProps:{style:{width:"100%"}},useValue:A,placeholder:R??g["Search(Placeholder)"],type:b?"Error":"Secondary",RightAddon:b&&v.jsx(vo,{type:"Raw",className:Rr.CircleAlertOutline,icon:"CircleAlertOutline",tooltip:b}),autoFocus:M.filter.autoFocus,maxLength:M.filter.maxLength}),v.jsx(mn,{h:8})]},T)}else if(M.filter.type==="Select"){const A=[M.filter.value??null,q=>t(M.filter,q)],{placeholder:b=(_=M.def)==null?void 0:_.name,icon:R,iconTooltip:O=b}=M.filter;return v.jsxs(Vn,{style:{marginBottom:6},children:[v.jsx(va,{tooltip:O,icon:R??"Menu"}),v.jsx(Vc,{className:qe.clsx(Rr.Input,Rr.Sub),options:M.filter.options,placeholder:b,OptionRenderer:M.filter.OptionRenderer,useSelect:A,arrowProps:{style:{marginRight:4}},type:"Secondary"}),v.jsx(mn,{h:8})]},T)}else if(M.filter.type==="Date"){const A=[M.filter.value,q=>t(M.filter,q)],{placeholder:b=(S=M.def)==null?void 0:S.name,icon:R,iconTooltip:O=b}=M.filter;return v.jsxs(Vn,{style:{marginBottom:6},children:[v.jsx(va,{tooltip:O,icon:R??"CalendarDay"}),v.jsx(hm,{type:"Raw",LeftAddon:v.jsx(mn,{w:12}),placeholder:b,className:qe.clsx(Rr.DatePicker,Rr.Input,Rr.Sub),useDate:A,minDate:M.filter.minDate,maxDate:M.filter.maxDate}),v.jsx(mn,{h:8})]},T)}else if(M.filter.type==="DateRange"){const A=[M.filter.value,q=>t(M.filter,q)],{placeholder:b=(D=M.def)==null?void 0:D.name,icon:R,iconTooltip:O=b}=M.filter;return v.jsxs(Vn,{style:{marginBottom:6},children:[v.jsx(va,{tooltip:O,icon:R??"CalendarDay"}),v.jsx(fm,{type:"Raw",LeftAddon:v.jsx(mn,{w:12}),className:qe.clsx(Rr.DatePicker,Rr.Input,Rr.Sub),useDateRange:A,placeholder:b,minDate:M.filter.minDate,maxDate:M.filter.maxDate})]},T)}else return null}),v.jsxs(Vn,{className:Rr.Actions,children:[v.jsx(Bi,{type:"Secondary",onClick:n,children:g["Clear(Button)"]}),v.jsx(Bi,{onClick:i,children:g["Search(Button)"]})]})]})},va=r=>{const{icon:e,tooltip:t,isOpen:n=!0}=r;return v.jsx(vo,{type:"Raw",className:Rr.LeftIcon,tooltip:t,icon:e,style:{width:n?24:0,marginRight:n?4:0,opacity:+n}})},N8="_ATableHeader_1hzfz_1",j8="_LeftHeaderContent_1hzfz_11",F8="_RightHeaderContent_1hzfz_19",B8="_TopRightAddon_1hzfz_27",H8="_HItem_1hzfz_32",qc={ATableHeader:N8,LeftHeaderContent:j8,RightHeaderContent:F8,TopRightAddon:B8,HItem:H8},q8=r=>{const{defs:e,title:t,totalCount:n,useCheck:i,useFilteration:l,hasToggleFilteration:u,filterF:h,noFilter:g,noCount:m,isFiltered:M,TopLeftAddon:T,TopRightAddon:C,useSortation:_,resources:S=hn.ATable}=r,[D]=k.useMemo(()=>i||[],[i]),A=k.useMemo(()=>M?S["Searched n items"](n):S["Total n items"](n),[S,M,n]),[b]=l,[R,O]=_,[q,H]=k.useState(!1),G=k.useMemo(()=>{const oe=rr.values(b).filter(ae=>ae.type==="DateRange"),ce=rr.keys(b).filter(ae=>oe.includes(b[ae])),ve=rr.keys(e).filter(ae=>e[ae].isSortable);return ce.length>0?(ce.length>1&&H(!0),ve.map(ge=>ce.includes(ge)?[ge+"_Asc",ge+"_Desc"]:ge).flat()):ve},[e,b]),Y=k.useMemo(()=>r.isRowRendered&&G.length>0,[G.length,r.isRowRendered]),de=k.useCallback((oe,ce)=>{O&&(R==null?void 0:R.defKey)===oe&&(R.isAsc===!0?O({defKey:oe,isAsc:!1,sortF:ce}):O({defKey:oe,isAsc:!0,sortF:ce}))},[R,O]),X=k.useRef(),[ue,P]=k.useState(),[re,J]=k.useState(R?R.defKey:G[0]),ne=k.useMemo(()=>{if(!ue)return{};const oe=e[ue];return{SortUp:{onClick:()=>{O==null||O({defKey:ue,isAsc:!0,sortF:oe.sortF}),J(ue)},content:()=>S["Sort up"]},SortDown:{onClick:()=>{O==null||O({defKey:ue,isAsc:!1,sortF:oe.sortF}),J(ue)},content:()=>S["Sort down"]}}},[O,ue,e,S]);return v.jsxs(v.Fragment,{children:[v.jsxs("div",{className:qe.clsx(qc.ATableHeader),children:[v.jsxs("div",{className:qe.clsx(qc.LeftHeaderContent,"NoSelect"),children:[v.jsxs(Vn,{style:{marginBottom:Y?8:0},children:[T&&v.jsx("div",{className:qe.clsx(qc.HItem),children:T}),t&&v.jsx("div",{className:qe.clsx(qc.HItem),style:{whiteSpace:"nowrap"},children:t}),!m&&v.jsxs("div",{className:qe.clsx(qc.HItem),style:{maxHeight:14,...Y&&{minHeight:14,color:"var(--label-neutral)"}},children:[A,D&&D.length>0&&v.jsxs(v.Fragment,{children:[" / ",S["Checked n items"](D.length)]})]})]}),Y&&v.jsx(F2,{type:"Tertiary",options:G,useSelect:[re,()=>{}],optionWidth:"fit-content",tabProps:{style:{marginRight:8}},optionProps:{style:{cursor:"default"},onClick:oe=>{var ae;const ce=oe.currentTarget.textContent;if(ce===S[ce])return;oe.currentTarget.querySelector("svg")===null&&((ae=X.current)==null||ae.open(oe.currentTarget))}},OptionRenderer:oe=>{const ce=/_Asc|_Desc/.test(oe.option),ve=(R==null?void 0:R.defKey)===oe.option,ae=re===oe.option,ge=R==null?void 0:R.isAsc,he=()=>{if(ce){P(void 0),J(oe.option);const[Be,Ke]=oe.option.split("_"),Te=Ke==="Asc";O==null||O({defKey:Be,isAsc:Te,sortF:e[Be].sortF})}else ae?de(oe.option,e[oe.option].sortF):P(oe.option)},Oe=ce?(Be=>{const[Ke,Te]=Be.split("_");return(q?Ke+" ":"")+S[Te]})(oe.option):S["Sort by x"](oe.option);return v.jsxs(Vn,{style:{height:"100%"},className:qe.clsx(!(ce&&ae)&&"IsClickable"),onClick:he,children:[Oe,ae&&!ce&&v.jsx(Fr,{style:{marginRight:-5,marginLeft:4},icon:ve?ge?"RowSortUp":"RowSortDown":"RowSortBoth"})]},oe.option)}})]}),v.jsx(Kc,{}),v.jsxs("div",{className:qe.clsx(qc.RightHeaderContent,"NoSelect"),children:[!g&&v.jsx(D8,{defs:e,useFilteration:l,hasToggleFilteration:u,filterF:h,isRowRendered:r.isRowRendered,isFilterSort:G.length>0,resources:S}),C&&v.jsx(Vn,{className:qe.clsx(qc.TopRightAddon),children:C})]})]}),v.jsx(P2,{defs:ne,actionRef:X,onClose:()=>P(void 0),width:100,position:Xu.S})]})},z8=r=>{const{defs:e,pk:t,defaultDef:n,rProps:i,useSelect:l,isSelectMulti:u,selectDisabled:h,useCheck:g,checkDisabled:m,isLoading:M,isDisabled:T,title:C,entireItems:_,onStateChange:S,pagedItems:D,totalCount:A,useFilteration:b,useToggleFilteration:R,usePagination:O,useSortation:q,showRows:H,noHeader:G,noFooter:Y,noFilter:de,noCount:X,noMarking:ue,noStateChangeOnMount:P,TopLeftAddon:re,TopRightAddon:J,actionRef:ne,RowRenderer:oe,resources:ce}=r,ve=k.useMemo(()=>({...hn.ATable,...ce}),[ce]),ae=k.useCallback((Ne,xt)=>t!==void 0?Array.isArray(t)?t.every(K=>tl.isEqual(Ne[K],xt[K])):tl.isEqual(Ne[t],xt[t]):tl.isEqual(Ne,xt),[t]),ge=k.useMemo(()=>({content:$8,...n}),[n]),he=k.useMemo(()=>{const Ne={};return rr.keys(e).forEach(xt=>{const K=e[xt],Pe={...ge,...K};Ne[xt]=Pe}),Ne},[ge,e]),[Se,Oe]=pn(tl.cloneDeep(b),{"":{type:"String",placeholder:ve["Search(Placeholder)"],value:""}}),[Be,Ke]=pn(tl.cloneDeep(R),void 0),[Te,lt]=k.useState(!1),[gt,Xe]=k.useMemo(()=>Te&&Be?[Be,Ke]:[Se,Oe],[Se,Te,Oe,Ke,Be]),[Ge,Le]=k.useState(gt),Re=k.useMemo(()=>_?Qa.applyFilteration(_,he,Ge):[],[_,he,Ge]),ke=k.useMemo(()=>{for(const Ne in Ge){const xt=Ge[Ne];if(xt.value!==void 0&&xt.value!==null&&xt.value!=="")return!0}return!1},[Ge]),[He,Ie]=pn(q,void 0),rt=k.useMemo(()=>Qa.applySortation(Re,he,He),[Re,he,He]),ft=k.useMemo(()=>{if(D!==void 0)return Qa.applySortation(D,he,He)},[D,he,He]),[kt,wt]=pn(O,{page:1,pageSize:50,pageRange:10}),bt=k.useMemo(()=>({pageSize:50,page:1,pageRange:10,...kt}),[kt]),{pagedItems:Mt,totalCount:Rt,pagination:dt}=k.useMemo(()=>{const Ne={...bt};if(ft!==void 0){let xt=A??ft.length;const K=Qa.getPages(xt,Ne.pageSize);return Ne.page>K.length?Ne.page=K.length:Ne.page<1&&(Ne.page=1),{pagedItems:ft,totalCount:xt,pagination:Ne}}else if(_!==void 0){const xt=A??rt.length,K=Qa.getPages(xt,Ne.pageSize);return Ne.page>K.length?Ne.page=K.length:Ne.page<1&&(Ne.page=1),{pagedItems:Qa.applyPagination(rt,Ne.page,Ne.pageSize),totalCount:xt,pagination:Ne}}else return{pagedItems:[],totalCount:A??0,pagination:bt}},[_,ft,A,bt,rt]),{pages:ct,rangedPages:Ct}=k.useMemo(()=>Qa.getRangedPages(dt.page,Rt,dt.pageSize,dt.pageRange),[Rt,dt.pageSize,dt.page,dt.pageRange]),[Me,mt]=k.useMemo(()=>g??[],[g]),_t=k.useMemo(()=>Mt.filter(Ne=>Me==null?void 0:Me.some(xt=>ae(xt,Ne))),[Mt,Me,ae]),Dt=k.useMemo(()=>Mt.filter(Ne=>!(m!=null&&m(Ne))),[Mt,m]),Bt=k.useMemo(()=>Dt.length>0&&Dt.every(Ne=>_t.some(xt=>ae(xt,Ne))),[_t,Dt,ae]),$e=k.useMemo(()=>Bt?!1:Dt.some(Ne=>_t.some(xt=>ae(xt,Ne))),[_t,Dt,Bt,ae]),Tt=k.useCallback(()=>{!Me||!mt||T||mt(Bt||$e?Me.filter(Ne=>!Dt.some(xt=>ae(xt,Ne))):[...Me,...Dt])},[Me,mt,Bt,$e,Dt,T,ae]),jt=k.useCallback(Ne=>{!Me||!mt||T||(Me.some(xt=>ae(xt,Ne))?mt(Me.filter(xt=>!ae(xt,Ne))):mt([...Me,Ne]))},[Me,mt,T,ae]);k.useEffect(()=>{if(!mt||!Me||!m)return;Me.filter(xt=>m(xt)).length>0&&mt(Me.filter(xt=>!m(xt)))},[m,Me,mt]);const pr=k.useMemo(()=>({hContent:Me&&v.jsx(Wu,{useCheck:[Bt,Tt],isIndeterminate:$e}),content:Ne=>{const{item:xt}=Ne,K=m==null?void 0:m(xt),Pe=typeof K=="string"?K:void 0,tt=Me==null?void 0:Me.some(It=>ae(It,xt));return v.jsx(Wu,{style:{zIndex:1},isDisabled:K,tooltip:Pe,onClick:It=>It.stopPropagation(),useCheck:[tt,()=>jt(xt)]})},minWidth:32,maxWidth:32}),[Me,Bt,$e,ae,Tt,m,jt]),or=k.useMemo(()=>g?{checkDef:pr,...he}:he,[he,pr,g]),[Lr,me]=k.useState(!1),te=k.useMemo(()=>M??Lr,[M,Lr]),ye=k.useCallback(async Ne=>{S&&(me(!0),await S(Ne),me(!1)),wt==null||wt(Ne.pagination),Ie==null||Ie(Ne.sortation),Le(Ne.filteration)},[S,wt,Ie]);k.useEffect(()=>{if(!ne)return;const Ne=K=>{const Pe={entireItems:_,filteration:gt,pagination:dt,sortation:He},tt=K?K(Pe):Pe;ye(tt)},xt=K=>{const Pe={...dt,page:1},tt=K?K(gt):gt;ye({entireItems:_,filteration:tt,pagination:Pe,sortation:He}),Xe==null||Xe(tt)};ne.current={fireOnStateChange:Ne,applyFilteration:xt}},[ne,ye,_,Xe,gt,dt,He]);const xe=k.useCallback(Ne=>{Ne.page===dt.page&&Ne.pageSize===dt.pageSize||(Ne.page<1?Ne.page=1:Ne.page>ct[ct.length-1]&&(Ne.page=ct[ct.length-1]),ye({entireItems:_,filteration:Ge,pagination:Ne,sortation:He}))},[dt,ct,ye,_,Ge,He]),vt=k.useCallback(Ne=>{Xe&&Xe(Ne)},[Xe]),et=k.useCallback(Ne=>{ye({entireItems:_,filteration:Ge,pagination:dt,sortation:Ne})},[ye,_,Ge,dt]),ot=k.useCallback(Ne=>{xe({...dt,page:Ne})},[xe,dt]),Et=k.useCallback(()=>{ot(dt.page-1)},[ot,dt.page]),At=k.useCallback(()=>{ot(dt.page+1)},[ot,dt.page]),Jt=k.useCallback(()=>{ot(1)},[ot]),Ht=k.useCallback(()=>{ot(ct[ct.length-1])},[ot,ct]),Ut=k.useMemo(()=>({move:ot,movePrev:Et,moveNext:At,moveFirst:Jt,moveLast:Ht}),[ot,Et,At,Jt,Ht]),qt=k.useCallback(()=>{const Ne={...dt,page:1};ye({entireItems:_,filteration:gt,pagination:Ne,sortation:He})},[gt,dt,ye,_,He]),tr=k.useCallback(()=>{lt(!Te)},[Te]),Ar=k.useCallback(()=>{Te&&Be?Ke==null||Ke(Qv(Be)):Xe==null||Xe(Qv(Se))},[Te,Be,Ke,Se,Xe]),Je=k.useMemo(()=>({apply:qt,toggle:tr,clear:Ar}),[qt,tr,Ar]);B2(()=>{P||ye({entireItems:_,filteration:gt,pagination:dt,sortation:He})});const Qe=k.useMemo(()=>rr.map(he,([xt])=>he[xt].minWidth??Zl).reduce((xt,K)=>xt+K,0),[he]),ht=k.useMemo(()=>oe!==void 0,[oe]);return v.jsxs(Wr,{className:Wk.ATable,isDisabled:T,style:{minWidth:Qe},children:[!G&&v.jsx(q8,{defs:he,title:C,totalCount:Rt,useCheck:g&&Me?[Me,mt]:void 0,useFilteration:[gt,vt],useSortation:[He,et],isRowRendered:ht,hasToggleFilteration:Be!==void 0,filterF:Je,noFilter:de,noCount:X,isFiltered:ke,TopLeftAddon:re,TopRightAddon:J,resources:ve}),v.jsx(f8,{defs:or,isEqual:ae,rProps:i,useSelect:l,isSelectMulti:u,selectDisabled:h,isTableDisabled:T,appliedFilteration:Ge,useSortation:[He,et],pagination:dt,pagedItems:Mt,showRows:H,isLoading:te,noMarking:ue,resources:ve,RowRenderer:oe,isRowRendered:ht}),!Y&&v.jsx(b8,{pages:ct,rangedPages:Ct,pageF:Ut,pagination:dt})]})},$8=r=>{const{defKey:e,item:t}=r;if(rr.hasKey(t,e)){const n=t[e];return rr.isReactNode(n)?n:null}else return null};function Qv(r){const e={...r};for(const t in e)e[t].value=void 0;return e}const U8="_AText_1asz6_1",W8={AText:U8},$2=r=>{const{text:e,styled:t,style:n}=r,i=k.useMemo(()=>{if(e)if(t)if(n){if(t===!0)return n==="bold"?v.jsx("b",{children:e}):v.jsx("span",{style:n,children:e});if(typeof t=="string"){const l=e.split(t);return n==="bold"?l.map((u,h)=>v.jsxs(k.Fragment,{children:[Td(u),h<l.length-1?v.jsx("b",{children:Td(t)}):""]},h)):l.map((u,h)=>v.jsxs(k.Fragment,{children:[Td(u),h<l.length-1&&v.jsx("span",{style:n,children:Td(t)})]},h))}}else return e;else return e;else return""},[e,n,t]);return v.jsx("div",{className:qe.clsx("Body1Reading",W8.AText,"NoSelect"),children:i})};function Td(r){const e=r.split(`
53
+ `);return e.map((t,n)=>v.jsxs(k.Fragment,{children:[t,n!==e.length-1&&v.jsx("br",{})]},n))}const V8="_Base_sw5fu_7",G8="_ATextArea_sw5fu_11",Z8="_Primary_sw5fu_34",Y8="_UnAvailable_sw5fu_39",K8="_Secondary_sw5fu_47",X8="_ReadOnly_sw5fu_59",Ed={Base:V8,ATextArea:G8,Primary:Z8,UnAvailable:Y8,Secondary:K8,ReadOnly:X8,Error:"_Error_sw5fu_66"},J8=["Primary","Secondary","ReadOnly","Error"],Q8=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",textAreaRef:i,useValue:l,rows:u,isReadonly:h,placeholder:g,maxLength:m,tabIndex:M,autoFocus:T,textAreaProps:C,wrapProps:_,helperText:S,label:D,wrapType:A,labelProps:b,...R}=r,O=k.useMemo(()=>eR(t)?"Error":n,[t,n]),q=k.useMemo(()=>O==="ReadOnly"?!0:h,[O,h]),H=k.useMemo(()=>R.isDisabled||R.isLoading,[R.isDisabled,R.isLoading]),[G,Y]=pn(l,""),de=k.useCallback(P=>{Y&&Y(P)},[Y]),X=k.useCallback(P=>{var re;H||(de(P.target.value),(re=C==null?void 0:C.onChange)==null||re.call(C,P))},[H,de,C]),ue=k.useCallback(P=>{var re;if(!H){if((re=C==null?void 0:C.onKeyDown)==null||re.call(C,P),P.key==="Tab"){const J=P.currentTarget.selectionStart,ne=P.currentTarget.selectionEnd;P.currentTarget.value=P.currentTarget.value.substring(0,J)+" "+P.currentTarget.value.substring(ne),P.currentTarget.selectionStart=P.currentTarget.selectionEnd=J+1,P.preventDefault()}else P.key==="Enter"&&(e==null||e(P.currentTarget.value),P.stopPropagation());P.key!=="Escape"&&P.stopPropagation()}},[H,e,C]);return v.jsx(Wc,{wrapProps:_,label:D,helperText:S,errorMessage:t,labelProps:b,wrapType:A??O==="Error"?"Error":"Default",children:v.jsx(Wr,{...R,className:qe.clsx(Ed.Base,R.className),children:v.jsx("textarea",{...C,className:qe.clsx(Ed.ATextArea,Ed[O],H&&Ed.UnAvailable,C==null?void 0:C.className),value:G,rows:u,readOnly:q,onChange:X,onKeyDown:ue,placeholder:g,maxLength:m,tabIndex:R.isDisabled||R.isLoading?-1:M,autoFocus:T,ref:i})})})};function eR(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}var U2=typeof global=="object"&&global&&global.Object===Object&&global,tR=typeof self=="object"&&self&&self.Object===Object&&self,Ca=U2||tR||Function("return this")(),ec=Ca.Symbol,W2=Object.prototype,rR=W2.hasOwnProperty,nR=W2.toString,Rf=ec?ec.toStringTag:void 0;function iR(r){var e=rR.call(r,Rf),t=r[Rf];try{r[Rf]=void 0;var n=!0}catch{}var i=nR.call(r);return n&&(e?r[Rf]=t:delete r[Rf]),i}var oR=Object.prototype,sR=oR.toString;function aR(r){return sR.call(r)}var lR="[object Null]",cR="[object Undefined]",e0=ec?ec.toStringTag:void 0;function Ju(r){return r==null?r===void 0?cR:lR:e0&&e0 in Object(r)?iR(r):aR(r)}function rl(r){return r!=null&&typeof r=="object"}var Gc=Array.isArray;function tc(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}function V2(r){return r}var uR="[object AsyncFunction]",fR="[object Function]",dR="[object GeneratorFunction]",hR="[object Proxy]";function gm(r){if(!tc(r))return!1;var e=Ju(r);return e==fR||e==dR||e==uR||e==hR}var Kh=Ca["__core-js_shared__"],t0=function(){var r=/[^.]+$/.exec(Kh&&Kh.keys&&Kh.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function pR(r){return!!t0&&t0 in r}var gR=Function.prototype,mR=gR.toString;function Xc(r){if(r!=null){try{return mR.call(r)}catch{}try{return r+""}catch{}}return""}var vR=/[\\^$.*+?()[\]{}|]/g,yR=/^\[object .+?Constructor\]$/,bR=Function.prototype,_R=Object.prototype,xR=bR.toString,SR=_R.hasOwnProperty,CR=RegExp("^"+xR.call(SR).replace(vR,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function wR(r){if(!tc(r)||pR(r))return!1;var e=gm(r)?CR:yR;return e.test(Xc(r))}function AR(r,e){return r==null?void 0:r[e]}function Jc(r,e){var t=AR(r,e);return wR(t)?t:void 0}var N1=Jc(Ca,"WeakMap"),r0=Object.create,TR=function(){function r(){}return function(e){if(!tc(e))return{};if(r0)return r0(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}}();function ER(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 G2(r,e){var t=-1,n=r.length;for(e||(e=Array(n));++t<n;)e[t]=r[t];return e}var kR=800,RR=16,IR=Date.now;function LR(r){var e=0,t=0;return function(){var n=IR(),i=RR-(n-t);if(t=n,i>0){if(++e>=kR)return arguments[0]}else e=0;return r.apply(void 0,arguments)}}function MR(r){return function(){return r}}var Xd=function(){try{var r=Jc(Object,"defineProperty");return r({},"",{}),r}catch{}}(),DR=Xd?function(r,e){return Xd(r,"toString",{configurable:!0,enumerable:!1,value:MR(e),writable:!0})}:V2,OR=LR(DR);function PR(r,e){for(var t=-1,n=r==null?0:r.length;++t<n&&e(r[t],t,r)!==!1;);return r}var NR=9007199254740991,jR=/^(?:0|[1-9]\d*)$/;function Z2(r,e){var t=typeof r;return e=e??NR,!!e&&(t=="number"||t!="symbol"&&jR.test(r))&&r>-1&&r%1==0&&r<e}function mm(r,e,t){e=="__proto__"&&Xd?Xd(r,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):r[e]=t}function ed(r,e){return r===e||r!==r&&e!==e}var FR=Object.prototype,BR=FR.hasOwnProperty;function Y2(r,e,t){var n=r[e];(!(BR.call(r,e)&&ed(n,t))||t===void 0&&!(e in r))&&mm(r,e,t)}function td(r,e,t,n){var i=!t;t||(t={});for(var l=-1,u=e.length;++l<u;){var h=e[l],g=void 0;g===void 0&&(g=r[h]),i?mm(t,h,g):Y2(t,h,g)}return t}var n0=Math.max;function HR(r,e,t){return e=n0(e===void 0?r.length-1:e,0),function(){for(var n=arguments,i=-1,l=n0(n.length-e,0),u=Array(l);++i<l;)u[i]=n[e+i];i=-1;for(var h=Array(e+1);++i<e;)h[i]=n[i];return h[e]=t(u),ER(r,this,h)}}function qR(r,e){return OR(HR(r,e,V2),r+"")}var zR=9007199254740991;function K2(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=zR}function sh(r){return r!=null&&K2(r.length)&&!gm(r)}function $R(r,e,t){if(!tc(t))return!1;var n=typeof e;return(n=="number"?sh(t)&&Z2(e,t.length):n=="string"&&e in t)?ed(t[e],r):!1}function UR(r){return qR(function(e,t){var n=-1,i=t.length,l=i>1?t[i-1]:void 0,u=i>2?t[2]:void 0;for(l=r.length>3&&typeof l=="function"?(i--,l):void 0,u&&$R(t[0],t[1],u)&&(l=i<3?void 0:l,i=1),e=Object(e);++n<i;){var h=t[n];h&&r(e,h,n,l)}return e})}var WR=Object.prototype;function vm(r){var e=r&&r.constructor,t=typeof e=="function"&&e.prototype||WR;return r===t}function VR(r,e){for(var t=-1,n=Array(r);++t<r;)n[t]=e(t);return n}var GR="[object Arguments]";function i0(r){return rl(r)&&Ju(r)==GR}var X2=Object.prototype,ZR=X2.hasOwnProperty,YR=X2.propertyIsEnumerable,j1=i0(function(){return arguments}())?i0:function(r){return rl(r)&&ZR.call(r,"callee")&&!YR.call(r,"callee")};function KR(){return!1}var J2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,o0=J2&&typeof module=="object"&&module&&!module.nodeType&&module,XR=o0&&o0.exports===J2,s0=XR?Ca.Buffer:void 0,JR=s0?s0.isBuffer:void 0,Gf=JR||KR,QR="[object Arguments]",e9="[object Array]",t9="[object Boolean]",r9="[object Date]",n9="[object Error]",i9="[object Function]",o9="[object Map]",s9="[object Number]",a9="[object Object]",l9="[object RegExp]",c9="[object Set]",u9="[object String]",f9="[object WeakMap]",d9="[object ArrayBuffer]",h9="[object DataView]",p9="[object Float32Array]",g9="[object Float64Array]",m9="[object Int8Array]",v9="[object Int16Array]",y9="[object Int32Array]",b9="[object Uint8Array]",_9="[object Uint8ClampedArray]",x9="[object Uint16Array]",S9="[object Uint32Array]",xn={};xn[p9]=xn[g9]=xn[m9]=xn[v9]=xn[y9]=xn[b9]=xn[_9]=xn[x9]=xn[S9]=!0;xn[QR]=xn[e9]=xn[d9]=xn[t9]=xn[h9]=xn[r9]=xn[n9]=xn[i9]=xn[o9]=xn[s9]=xn[a9]=xn[l9]=xn[c9]=xn[u9]=xn[f9]=!1;function C9(r){return rl(r)&&K2(r.length)&&!!xn[Ju(r)]}function ym(r){return function(e){return r(e)}}var Q2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Hf=Q2&&typeof module=="object"&&module&&!module.nodeType&&module,w9=Hf&&Hf.exports===Q2,Xh=w9&&U2.process,Vu=function(){try{var r=Hf&&Hf.require&&Hf.require("util").types;return r||Xh&&Xh.binding&&Xh.binding("util")}catch{}}(),a0=Vu&&Vu.isTypedArray,bm=a0?ym(a0):C9,A9=Object.prototype,T9=A9.hasOwnProperty;function ex(r,e){var t=Gc(r),n=!t&&j1(r),i=!t&&!n&&Gf(r),l=!t&&!n&&!i&&bm(r),u=t||n||i||l,h=u?VR(r.length,String):[],g=h.length;for(var m in r)(e||T9.call(r,m))&&!(u&&(m=="length"||i&&(m=="offset"||m=="parent")||l&&(m=="buffer"||m=="byteLength"||m=="byteOffset")||Z2(m,g)))&&h.push(m);return h}function tx(r,e){return function(t){return r(e(t))}}var E9=tx(Object.keys,Object),k9=Object.prototype,R9=k9.hasOwnProperty;function I9(r){if(!vm(r))return E9(r);var e=[];for(var t in Object(r))R9.call(r,t)&&t!="constructor"&&e.push(t);return e}function _m(r){return sh(r)?ex(r):I9(r)}function L9(r){var e=[];if(r!=null)for(var t in Object(r))e.push(t);return e}var M9=Object.prototype,D9=M9.hasOwnProperty;function O9(r){if(!tc(r))return L9(r);var e=vm(r),t=[];for(var n in r)n=="constructor"&&(e||!D9.call(r,n))||t.push(n);return t}function rd(r){return sh(r)?ex(r,!0):O9(r)}var Zf=Jc(Object,"create");function P9(){this.__data__=Zf?Zf(null):{},this.size=0}function N9(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}var j9="__lodash_hash_undefined__",F9=Object.prototype,B9=F9.hasOwnProperty;function H9(r){var e=this.__data__;if(Zf){var t=e[r];return t===j9?void 0:t}return B9.call(e,r)?e[r]:void 0}var q9=Object.prototype,z9=q9.hasOwnProperty;function $9(r){var e=this.__data__;return Zf?e[r]!==void 0:z9.call(e,r)}var U9="__lodash_hash_undefined__";function W9(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=Zf&&e===void 0?U9:e,this}function Zc(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])}}Zc.prototype.clear=P9;Zc.prototype.delete=N9;Zc.prototype.get=H9;Zc.prototype.has=$9;Zc.prototype.set=W9;function V9(){this.__data__=[],this.size=0}function ah(r,e){for(var t=r.length;t--;)if(ed(r[t][0],e))return t;return-1}var G9=Array.prototype,Z9=G9.splice;function Y9(r){var e=this.__data__,t=ah(e,r);if(t<0)return!1;var n=e.length-1;return t==n?e.pop():Z9.call(e,t,1),--this.size,!0}function K9(r){var e=this.__data__,t=ah(e,r);return t<0?void 0:e[t][1]}function X9(r){return ah(this.__data__,r)>-1}function J9(r,e){var t=this.__data__,n=ah(t,r);return n<0?(++this.size,t.push([r,e])):t[n][1]=e,this}function sl(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])}}sl.prototype.clear=V9;sl.prototype.delete=Y9;sl.prototype.get=K9;sl.prototype.has=X9;sl.prototype.set=J9;var Yf=Jc(Ca,"Map");function Q9(){this.size=0,this.__data__={hash:new Zc,map:new(Yf||sl),string:new Zc}}function e7(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}function lh(r,e){var t=r.__data__;return e7(e)?t[typeof e=="string"?"string":"hash"]:t.map}function t7(r){var e=lh(this,r).delete(r);return this.size-=e?1:0,e}function r7(r){return lh(this,r).get(r)}function n7(r){return lh(this,r).has(r)}function i7(r,e){var t=lh(this,r),n=t.size;return t.set(r,e),this.size+=t.size==n?0:1,this}function Qc(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])}}Qc.prototype.clear=Q9;Qc.prototype.delete=t7;Qc.prototype.get=r7;Qc.prototype.has=n7;Qc.prototype.set=i7;function rx(r,e){for(var t=-1,n=e.length,i=r.length;++t<n;)r[i+t]=e[t];return r}var xm=tx(Object.getPrototypeOf,Object),o7="[object Object]",s7=Function.prototype,a7=Object.prototype,nx=s7.toString,l7=a7.hasOwnProperty,c7=nx.call(Object);function u7(r){if(!rl(r)||Ju(r)!=o7)return!1;var e=xm(r);if(e===null)return!0;var t=l7.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&nx.call(t)==c7}function f7(){this.__data__=new sl,this.size=0}function d7(r){var e=this.__data__,t=e.delete(r);return this.size=e.size,t}function h7(r){return this.__data__.get(r)}function p7(r){return this.__data__.has(r)}var g7=200;function m7(r,e){var t=this.__data__;if(t instanceof sl){var n=t.__data__;if(!Yf||n.length<g7-1)return n.push([r,e]),this.size=++t.size,this;t=this.__data__=new Qc(n)}return t.set(r,e),this.size=t.size,this}function ba(r){var e=this.__data__=new sl(r);this.size=e.size}ba.prototype.clear=f7;ba.prototype.delete=d7;ba.prototype.get=h7;ba.prototype.has=p7;ba.prototype.set=m7;function v7(r,e){return r&&td(e,_m(e),r)}function y7(r,e){return r&&td(e,rd(e),r)}var ix=typeof exports=="object"&&exports&&!exports.nodeType&&exports,l0=ix&&typeof module=="object"&&module&&!module.nodeType&&module,b7=l0&&l0.exports===ix,c0=b7?Ca.Buffer:void 0,u0=c0?c0.allocUnsafe:void 0;function ox(r,e){if(e)return r.slice();var t=r.length,n=u0?u0(t):new r.constructor(t);return r.copy(n),n}function _7(r,e){for(var t=-1,n=r==null?0:r.length,i=0,l=[];++t<n;){var u=r[t];e(u,t,r)&&(l[i++]=u)}return l}function sx(){return[]}var x7=Object.prototype,S7=x7.propertyIsEnumerable,f0=Object.getOwnPropertySymbols,Sm=f0?function(r){return r==null?[]:(r=Object(r),_7(f0(r),function(e){return S7.call(r,e)}))}:sx;function C7(r,e){return td(r,Sm(r),e)}var w7=Object.getOwnPropertySymbols,ax=w7?function(r){for(var e=[];r;)rx(e,Sm(r)),r=xm(r);return e}:sx;function A7(r,e){return td(r,ax(r),e)}function lx(r,e,t){var n=e(r);return Gc(r)?n:rx(n,t(r))}function F1(r){return lx(r,_m,Sm)}function T7(r){return lx(r,rd,ax)}var B1=Jc(Ca,"DataView"),H1=Jc(Ca,"Promise"),q1=Jc(Ca,"Set"),d0="[object Map]",E7="[object Object]",h0="[object Promise]",p0="[object Set]",g0="[object WeakMap]",m0="[object DataView]",k7=Xc(B1),R7=Xc(Yf),I7=Xc(H1),L7=Xc(q1),M7=Xc(N1),Ns=Ju;(B1&&Ns(new B1(new ArrayBuffer(1)))!=m0||Yf&&Ns(new Yf)!=d0||H1&&Ns(H1.resolve())!=h0||q1&&Ns(new q1)!=p0||N1&&Ns(new N1)!=g0)&&(Ns=function(r){var e=Ju(r),t=e==E7?r.constructor:void 0,n=t?Xc(t):"";if(n)switch(n){case k7:return m0;case R7:return d0;case I7:return h0;case L7:return p0;case M7:return g0}return e});var D7=Object.prototype,O7=D7.hasOwnProperty;function P7(r){var e=r.length,t=new r.constructor(e);return e&&typeof r[0]=="string"&&O7.call(r,"index")&&(t.index=r.index,t.input=r.input),t}var Jd=Ca.Uint8Array;function Cm(r){var e=new r.constructor(r.byteLength);return new Jd(e).set(new Jd(r)),e}function N7(r,e){var t=e?Cm(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.byteLength)}var j7=/\w*$/;function F7(r){var e=new r.constructor(r.source,j7.exec(r));return e.lastIndex=r.lastIndex,e}var v0=ec?ec.prototype:void 0,y0=v0?v0.valueOf:void 0;function B7(r){return y0?Object(y0.call(r)):{}}function cx(r,e){var t=e?Cm(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}var H7="[object Boolean]",q7="[object Date]",z7="[object Map]",$7="[object Number]",U7="[object RegExp]",W7="[object Set]",V7="[object String]",G7="[object Symbol]",Z7="[object ArrayBuffer]",Y7="[object DataView]",K7="[object Float32Array]",X7="[object Float64Array]",J7="[object Int8Array]",Q7="[object Int16Array]",eI="[object Int32Array]",tI="[object Uint8Array]",rI="[object Uint8ClampedArray]",nI="[object Uint16Array]",iI="[object Uint32Array]";function oI(r,e,t){var n=r.constructor;switch(e){case Z7:return Cm(r);case H7:case q7:return new n(+r);case Y7:return N7(r,t);case K7:case X7:case J7:case Q7:case eI:case tI:case rI:case nI:case iI:return cx(r,t);case z7:return new n;case $7:case V7:return new n(r);case U7:return F7(r);case W7:return new n;case G7:return B7(r)}}function ux(r){return typeof r.constructor=="function"&&!vm(r)?TR(xm(r)):{}}var sI="[object Map]";function aI(r){return rl(r)&&Ns(r)==sI}var b0=Vu&&Vu.isMap,lI=b0?ym(b0):aI,cI="[object Set]";function uI(r){return rl(r)&&Ns(r)==cI}var _0=Vu&&Vu.isSet,fI=_0?ym(_0):uI,dI=1,hI=2,pI=4,fx="[object Arguments]",gI="[object Array]",mI="[object Boolean]",vI="[object Date]",yI="[object Error]",dx="[object Function]",bI="[object GeneratorFunction]",_I="[object Map]",xI="[object Number]",hx="[object Object]",SI="[object RegExp]",CI="[object Set]",wI="[object String]",AI="[object Symbol]",TI="[object WeakMap]",EI="[object ArrayBuffer]",kI="[object DataView]",RI="[object Float32Array]",II="[object Float64Array]",LI="[object Int8Array]",MI="[object Int16Array]",DI="[object Int32Array]",OI="[object Uint8Array]",PI="[object Uint8ClampedArray]",NI="[object Uint16Array]",jI="[object Uint32Array]",gn={};gn[fx]=gn[gI]=gn[EI]=gn[kI]=gn[mI]=gn[vI]=gn[RI]=gn[II]=gn[LI]=gn[MI]=gn[DI]=gn[_I]=gn[xI]=gn[hx]=gn[SI]=gn[CI]=gn[wI]=gn[AI]=gn[OI]=gn[PI]=gn[NI]=gn[jI]=!0;gn[yI]=gn[dx]=gn[TI]=!1;function zd(r,e,t,n,i,l){var u,h=e&dI,g=e&hI,m=e&pI;if(u!==void 0)return u;if(!tc(r))return r;var M=Gc(r);if(M){if(u=P7(r),!h)return G2(r,u)}else{var T=Ns(r),C=T==dx||T==bI;if(Gf(r))return ox(r,h);if(T==hx||T==fx||C&&!i){if(u=g||C?{}:ux(r),!h)return g?A7(r,y7(u,r)):C7(r,v7(u,r))}else{if(!gn[T])return i?r:{};u=oI(r,T,h)}}l||(l=new ba);var _=l.get(r);if(_)return _;l.set(r,u),fI(r)?r.forEach(function(A){u.add(zd(A,e,t,A,r,l))}):lI(r)&&r.forEach(function(A,b){u.set(b,zd(A,e,t,b,r,l))});var S=m?g?T7:F1:g?rd:_m,D=M?void 0:S(r);return PR(D||r,function(A,b){D&&(b=A,A=r[b]),Y2(u,b,zd(A,e,t,b,r,l))}),u}var FI=1,BI=4;function qu(r){return zd(r,FI|BI)}var HI="__lodash_hash_undefined__";function qI(r){return this.__data__.set(r,HI),this}function zI(r){return this.__data__.has(r)}function Qd(r){var e=-1,t=r==null?0:r.length;for(this.__data__=new Qc;++e<t;)this.add(r[e])}Qd.prototype.add=Qd.prototype.push=qI;Qd.prototype.has=zI;function $I(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 UI(r,e){return r.has(e)}var WI=1,VI=2;function px(r,e,t,n,i,l){var u=t&WI,h=r.length,g=e.length;if(h!=g&&!(u&&g>h))return!1;var m=l.get(r),M=l.get(e);if(m&&M)return m==e&&M==r;var T=-1,C=!0,_=t&VI?new Qd:void 0;for(l.set(r,e),l.set(e,r);++T<h;){var S=r[T],D=e[T];if(n)var A=u?n(D,S,T,e,r,l):n(S,D,T,r,e,l);if(A!==void 0){if(A)continue;C=!1;break}if(_){if(!$I(e,function(b,R){if(!UI(_,R)&&(S===b||i(S,b,t,n,l)))return _.push(R)})){C=!1;break}}else if(!(S===D||i(S,D,t,n,l))){C=!1;break}}return l.delete(r),l.delete(e),C}function GI(r){var e=-1,t=Array(r.size);return r.forEach(function(n,i){t[++e]=[i,n]}),t}function ZI(r){var e=-1,t=Array(r.size);return r.forEach(function(n){t[++e]=n}),t}var YI=1,KI=2,XI="[object Boolean]",JI="[object Date]",QI="[object Error]",eL="[object Map]",tL="[object Number]",rL="[object RegExp]",nL="[object Set]",iL="[object String]",oL="[object Symbol]",sL="[object ArrayBuffer]",aL="[object DataView]",x0=ec?ec.prototype:void 0,Jh=x0?x0.valueOf:void 0;function lL(r,e,t,n,i,l,u){switch(t){case aL:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset)return!1;r=r.buffer,e=e.buffer;case sL:return!(r.byteLength!=e.byteLength||!l(new Jd(r),new Jd(e)));case XI:case JI:case tL:return ed(+r,+e);case QI:return r.name==e.name&&r.message==e.message;case rL:case iL:return r==e+"";case eL:var h=GI;case nL:var g=n&YI;if(h||(h=ZI),r.size!=e.size&&!g)return!1;var m=u.get(r);if(m)return m==e;n|=KI,u.set(r,e);var M=px(h(r),h(e),n,i,l,u);return u.delete(r),M;case oL:if(Jh)return Jh.call(r)==Jh.call(e)}return!1}var cL=1,uL=Object.prototype,fL=uL.hasOwnProperty;function dL(r,e,t,n,i,l){var u=t&cL,h=F1(r),g=h.length,m=F1(e),M=m.length;if(g!=M&&!u)return!1;for(var T=g;T--;){var C=h[T];if(!(u?C in e:fL.call(e,C)))return!1}var _=l.get(r),S=l.get(e);if(_&&S)return _==e&&S==r;var D=!0;l.set(r,e),l.set(e,r);for(var A=u;++T<g;){C=h[T];var b=r[C],R=e[C];if(n)var O=u?n(R,b,C,e,r,l):n(b,R,C,r,e,l);if(!(O===void 0?b===R||i(b,R,t,n,l):O)){D=!1;break}A||(A=C=="constructor")}if(D&&!A){var q=r.constructor,H=e.constructor;q!=H&&"constructor"in r&&"constructor"in e&&!(typeof q=="function"&&q instanceof q&&typeof H=="function"&&H instanceof H)&&(D=!1)}return l.delete(r),l.delete(e),D}var hL=1,S0="[object Arguments]",C0="[object Array]",kd="[object Object]",pL=Object.prototype,w0=pL.hasOwnProperty;function gL(r,e,t,n,i,l){var u=Gc(r),h=Gc(e),g=u?C0:Ns(r),m=h?C0:Ns(e);g=g==S0?kd:g,m=m==S0?kd:m;var M=g==kd,T=m==kd,C=g==m;if(C&&Gf(r)){if(!Gf(e))return!1;u=!0,M=!1}if(C&&!M)return l||(l=new ba),u||bm(r)?px(r,e,t,n,i,l):lL(r,e,g,t,n,i,l);if(!(t&hL)){var _=M&&w0.call(r,"__wrapped__"),S=T&&w0.call(e,"__wrapped__");if(_||S){var D=_?r.value():r,A=S?e.value():e;return l||(l=new ba),i(D,A,t,n,l)}}return C?(l||(l=new ba),dL(r,e,t,n,i,l)):!1}function gx(r,e,t,n,i){return r===e?!0:r==null||e==null||!rl(r)&&!rl(e)?r!==r&&e!==e:gL(r,e,t,n,gx,i)}function mL(r){return function(e,t,n){for(var i=-1,l=Object(e),u=n(e),h=u.length;h--;){var g=u[++i];if(t(l[g],g,l)===!1)break}return e}}var vL=mL();function z1(r,e,t){(t!==void 0&&!ed(r[e],t)||t===void 0&&!(e in r))&&mm(r,e,t)}function yL(r){return rl(r)&&sh(r)}function $1(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}function bL(r){return td(r,rd(r))}function _L(r,e,t,n,i,l,u){var h=$1(r,t),g=$1(e,t),m=u.get(g);if(m){z1(r,t,m);return}var M=l?l(h,g,t+"",r,e,u):void 0,T=M===void 0;if(T){var C=Gc(g),_=!C&&Gf(g),S=!C&&!_&&bm(g);M=g,C||_||S?Gc(h)?M=h:yL(h)?M=G2(h):_?(T=!1,M=ox(g,!0)):S?(T=!1,M=cx(g,!0)):M=[]:u7(g)||j1(g)?(M=h,j1(h)?M=bL(h):(!tc(h)||gm(h))&&(M=ux(g))):T=!1}T&&(u.set(g,M),i(M,g,n,l,u),u.delete(g)),z1(r,t,M)}function mx(r,e,t,n,i){r!==e&&vL(e,function(l,u){if(i||(i=new ba),tc(l))_L(r,e,u,t,mx,n,i);else{var h=n?n($1(r,u),l,u+"",r,e,i):void 0;h===void 0&&(h=l),z1(r,u,h)}},rd)}function wm(r,e){return gx(r,e)}var Xl=UR(function(r,e,t){mx(r,e,t)}),er=(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))(er||{});class xa{constructor(e,t,n={}){this.attrName=e,this.keyName=t;const i=er.TYPE&er.ATTRIBUTE;this.scope=n.scope!=null?n.scope&er.LEVEL|i:er.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 zu extends Error{constructor(e){e="[Parchment] "+e,super(e),this.message=e,this.name=this.constructor.name}}const vx=class U1{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(e,t=!1){if(e==null)return null;if(this.blots.has(e))return this.blots.get(e)||null;if(t){let n=null;try{n=e.parentNode}catch{return null}return this.find(n,t)}return null}create(e,t,n){const i=this.query(t);if(i==null)throw new zu(`Unable to create ${t} blot`);const l=i,u=t instanceof Node||t.nodeType===Node.TEXT_NODE?t:l.create(n),h=new l(e,u,n);return U1.blots.set(h.domNode,h),h}find(e,t=!1){return U1.find(e,t)}query(e,t=er.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&er.LEVEL&er.BLOCK?n=this.types.block:e&er.LEVEL&er.INLINE&&(n=this.types.inline):e instanceof Element&&((e.getAttribute("class")||"").split(/\s+/).some(i=>(n=this.classes[i],!!n)),n=n||this.tags[e.tagName]),n==null?null:"scope"in n&&t&er.LEVEL&n.scope&&t&er.TYPE&n.scope?n:null}register(...e){return e.map(t=>{const n="blotName"in t,i="attrName"in t;if(!n&&!i)throw new zu("Invalid definition");if(n&&t.blotName==="abstract")throw new zu("Cannot register abstract class");const l=n?t.blotName:i?t.attrName:void 0;return this.types[l]=t,i?typeof t.keyName=="string"&&(this.attributes[t.keyName]=t):n&&(t.className&&(this.classes[t.className]=t),t.tagName&&(Array.isArray(t.tagName)?t.tagName=t.tagName.map(u=>u.toUpperCase()):t.tagName=t.tagName.toUpperCase(),(Array.isArray(t.tagName)?t.tagName:[t.tagName]).forEach(u=>{(this.tags[u]==null||t.className==null)&&(this.tags[u]=t)}))),t})}};vx.blots=new WeakMap;let Gu=vx;function A0(r,e){return(r.getAttribute("class")||"").split(/\s+/).filter(t=>t.indexOf(`${e}-`)===0)}class xL extends xa{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){A0(e,this.keyName).forEach(t=>{e.classList.remove(t)}),e.classList.length===0&&e.removeAttribute("class")}value(e){const t=(A0(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""}}const $s=xL;function Qh(r){const e=r.split("-"),t=e.slice(1).map(n=>n[0].toUpperCase()+n.slice(1)).join("");return e[0]+t}class SL extends xa{static keys(e){return(e.getAttribute("style")||"").split(";").map(t=>t.split(":")[0].trim())}add(e,t){return this.canAdd(e,t)?(e.style[Qh(this.keyName)]=t,!0):!1}remove(e){e.style[Qh(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")}value(e){const t=e.style[Qh(this.keyName)];return this.canAdd(e,t)?t:""}}const rc=SL;class CL{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=Gu.find(this.domNode);if(e==null)return;const t=xa.keys(this.domNode),n=$s.keys(this.domNode),i=rc.keys(this.domNode);t.concat(n).concat(i).forEach(l=>{const u=e.scroll.query(l,er.ATTRIBUTE);u instanceof xa&&(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 ch=CL,yx=class{constructor(e,t){this.scroll=e,this.domNode=t,Gu.blots.set(t,this),this.prev=null,this.next=null}static create(e){if(this.tagName==null)throw new zu("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),Gu.blots.delete(this.domNode)}deleteAt(e,t){this.isolate(e,t).remove()}formatAt(e,t,n,i){const l=this.isolate(e,t);if(this.scroll.query(n,er.BLOT)!=null&&i)l.wrap(n,i);else if(this.scroll.query(n,er.ATTRIBUTE)!=null){const u=this.scroll.create(this.statics.scope);l.wrap(u),u.format(n,i)}}insertAt(e,t,n){const i=n==null?this.scroll.create("text",t):this.scroll.create(t,n),l=this.split(e);this.parent.insertBefore(i,l||void 0)}isolate(e,t){const n=this.split(e);if(n==null)throw new Error("Attempt to isolate at end");return n.split(t),n}length(){return 1}offset(e=this.parent){return this.parent==null||this===e?0:this.parent.children.offset(this)+this.parent.offset(e)}optimize(e){this.statics.requiredContainer&&!(this.parent instanceof this.statics.requiredContainer)&&this.wrap(this.statics.requiredContainer.blotName)}remove(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return this.parent!=null&&(this.parent.insertBefore(n,this.next||void 0),this.remove()),n}split(e,t){return e===0?this:this.next}update(e,t){}wrap(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;if(this.parent!=null&&this.parent.insertBefore(n,this.next||void 0),typeof n.appendChild!="function")throw new zu(`Cannot wrap ${e}`);return n.appendChild(this),n}};yx.blotName="abstract";let bx=yx;const _x=class extends bx{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}}};_x.scope=er.INLINE_BLOT;let wL=_x;const Fi=wL;class AL{constructor(){this.head=null,this.tail=null,this.length=0}append(...e){if(this.insertBefore(e[0],null),e.length>1){const t=e.slice(1);this.append(...t)}}at(e){const t=this.iterator();let n=t();for(;n&&e>0;)e-=1,n=t();return n}contains(e){const t=this.iterator();let n=t();for(;n;){if(n===e)return!0;n=t()}return!1}indexOf(e){const t=this.iterator();let n=t(),i=0;for(;n;){if(n===e)return i;i+=1,n=t()}return-1}insertBefore(e,t){e!=null&&(this.remove(e),e.next=t,t!=null?(e.prev=t.prev,t.prev!=null&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):this.tail!=null?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)}offset(e){let t=0,n=this.head;for(;n!=null;){if(n===e)return t;t+=n.length(),n=n.next}return-1}remove(e){this.contains(e)&&(e.prev!=null&&(e.prev.next=e.next),e.next!=null&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)}iterator(e=this.head){return()=>{const t=e;return e!=null&&(e=e.next),t}}find(e,t=!1){const n=this.iterator();let i=n();for(;i;){const l=i.length();if(e<l||t&&e===l&&(i.next==null||i.next.length()!==0))return[i,e];e-=l,i=n()}return[null,0]}forEach(e){const t=this.iterator();let n=t();for(;n;)e(n),n=t()}forEachAt(e,t,n){if(t<=0)return;const[i,l]=this.find(e);let u=e-l;const h=this.iterator(i);let g=h();for(;g&&u<e+t;){const m=g.length();e>u?n(g,e-u,Math.min(t,u+m-e)):n(g,0,Math.min(m,e+t-u)),u+=m,g=h()}}map(e){return this.reduce((t,n)=>(t.push(e(n)),t),[])}reduce(e,t){const n=this.iterator();let i=n();for(;i;)t=e(t,i),i=n();return t}}function T0(r,e){const t=e.find(r);if(t)return t;try{return e.create(r)}catch{const n=e.create(er.INLINE);return Array.from(r.childNodes).forEach(i=>{n.domNode.appendChild(i)}),r.parentNode&&r.parentNode.replaceChild(n.domNode,r),n.attach(),n}}const xx=class Gl extends bx{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,Gl.uiClass&&this.uiNode.classList.add(Gl.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new AL,Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode).reverse().forEach(e=>{try{const t=T0(e,this.scroll);this.insertBefore(t,this.children.head||void 0)}catch(t){if(t instanceof zu)return;throw t}})}deleteAt(e,t){if(e===0&&t===this.length())return this.remove();this.children.forEachAt(e,t,(n,i,l)=>{n.deleteAt(i,l)})}descendant(e,t=0){const[n,i]=this.children.find(t);return e.blotName==null&&e(n)||e.blotName!=null&&n instanceof e?[n,i]:n instanceof Gl?n.descendant(e,i):[null,-1]}descendants(e,t=0,n=Number.MAX_VALUE){let i=[],l=n;return this.children.forEachAt(t,n,(u,h,g)=>{(e.blotName==null&&e(u)||e.blotName!=null&&u instanceof e)&&i.push(u),u instanceof Gl&&(i=i.concat(u.descendants(e,h,l))),l-=g}),i}detach(){this.children.forEach(e=>{e.detach()}),super.detach()}enforceAllowedChildren(){let e=!1;this.children.forEach(t=>{e||this.statics.allowedChildren.some(n=>t instanceof n)||(t.statics.scope===er.BLOCK_BLOT?(t.next!=null&&this.splitAfter(t),t.prev!=null&&this.splitAfter(t.prev),t.parent.unwrap(),e=!0):t instanceof Gl?t.unwrap():t.remove())})}formatAt(e,t,n,i){this.children.forEachAt(e,t,(l,u,h)=>{l.formatAt(u,h,n,i)})}insertAt(e,t,n){const[i,l]=this.children.find(e);if(i)i.insertAt(l,t,n);else{const u=n==null?this.scroll.create("text",t):this.scroll.create(t,n);this.appendChild(u)}}insertBefore(e,t){e.parent!=null&&e.parent.children.remove(e);let n=null;this.children.insertBefore(e,t||null),e.parent=this,t!=null&&(n=t.domNode),(this.domNode.parentNode!==e.domNode||this.domNode.nextSibling!==n)&&this.domNode.insertBefore(e.domNode,n),e.attach()}length(){return this.children.reduce((e,t)=>e+t.length(),0)}moveChildren(e,t){this.children.forEach(n=>{e.insertBefore(n,t)})}optimize(e){if(super.optimize(e),this.enforceAllowedChildren(),this.uiNode!=null&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),this.children.length===0)if(this.statics.defaultChild!=null){const t=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(t)}else this.remove()}path(e,t=!1){const[n,i]=this.children.find(e,t),l=[[this,e]];return n instanceof Gl?l.concat(n.path(i,t)):(n!=null&&l.push([n,i]),l)}removeChild(e){this.children.remove(e)}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return n instanceof Gl&&this.moveChildren(n),super.replaceWith(n)}split(e,t=!1){if(!t){if(e===0)return this;if(e===this.length())return this.next}const n=this.clone();return this.parent&&this.parent.insertBefore(n,this.next||void 0),this.children.forEachAt(e,this.length(),(i,l,u)=>{const h=i.split(l,t);h!=null&&n.appendChild(h)}),n}splitAfter(e){const t=this.clone();for(;e.next!=null;)t.appendChild(e.next);return this.parent&&this.parent.insertBefore(t,this.next||void 0),t}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(e,t){const n=[],i=[];e.forEach(l=>{l.target===this.domNode&&l.type==="childList"&&(n.push(...l.addedNodes),i.push(...l.removedNodes))}),i.forEach(l=>{if(l.parentNode!=null&&l.tagName!=="IFRAME"&&document.body.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const u=this.scroll.find(l);u!=null&&(u.domNode.parentNode==null||u.domNode.parentNode===this.domNode)&&u.detach()}),n.filter(l=>l.parentNode===this.domNode&&l!==this.uiNode).sort((l,u)=>l===u?0:l.compareDocumentPosition(u)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(l=>{let u=null;l.nextSibling!=null&&(u=this.scroll.find(l.nextSibling));const h=T0(l,this.scroll);(h.next!==u||h.next==null)&&(h.parent!=null&&h.parent.removeChild(this),this.insertBefore(h,u||void 0))}),this.enforceAllowedChildren()}};xx.uiClass="";let TL=xx;const Hs=TL;function EL(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 Mu=class Du extends Hs{static create(e){return super.create(e)}static formats(e,t){const n=t.query(Du.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 ch(this.domNode)}format(e,t){if(e===this.statics.blotName&&!t)this.children.forEach(n=>{n instanceof Du||(n=n.wrap(Du.blotName,!0)),this.attributes.copy(n)}),this.unwrap();else{const n=this.scroll.query(e,er.INLINE);if(n==null)return;n instanceof xa?this.attributes.attribute(n,t):t&&(e!==this.statics.blotName||this.formats()[e]!==t)&&this.replaceWith(e,t)}}formats(){const e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return t!=null&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,i){this.formats()[n]!=null||this.scroll.query(n,er.ATTRIBUTE)?this.isolate(e,t).format(n,i):super.formatAt(e,t,n,i)}optimize(e){super.optimize(e);const t=this.formats();if(Object.keys(t).length===0)return this.unwrap();const n=this.next;n instanceof Du&&n.prev===this&&EL(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 Du&&this.attributes.move(n),n}};Mu.allowedChildren=[Mu,Fi],Mu.blotName="inline",Mu.scope=er.INLINE_BLOT,Mu.tagName="SPAN";let kL=Mu;const Am=kL,Ou=class W1 extends Hs{static create(e){return super.create(e)}static formats(e,t){const n=t.query(W1.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 ch(this.domNode)}format(e,t){const n=this.scroll.query(e,er.BLOCK);n!=null&&(n instanceof xa?this.attributes.attribute(n,t):e===this.statics.blotName&&!t?this.replaceWith(W1.blotName):t&&(e!==this.statics.blotName||this.formats()[e]!==t)&&this.replaceWith(e,t))}formats(){const e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return t!=null&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,i){this.scroll.query(n,er.BLOCK)!=null?this.format(n,i):super.formatAt(e,t,n,i)}insertAt(e,t,n){if(n==null||this.scroll.query(t,er.INLINE)!=null)super.insertAt(e,t,n);else{const i=this.split(e);if(i!=null){const l=this.scroll.create(t,n);i.parent.insertBefore(l,i)}else throw new Error("Attempt to insertAt after block boundaries")}}replaceWith(e,t){const n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(n=>n.target===this.domNode&&n.type==="attributes")&&this.attributes.build()}};Ou.blotName="block",Ou.scope=er.BLOCK_BLOT,Ou.tagName="P",Ou.allowedChildren=[Am,Ou,Fi];let RL=Ou;const Kf=RL,V1=class extends Hs{checkMerge(){return this.next!==null&&this.next.statics.blotName===this.statics.blotName}deleteAt(e,t){super.deleteAt(e,t),this.enforceAllowedChildren()}formatAt(e,t,n,i){super.formatAt(e,t,n,i),this.enforceAllowedChildren()}insertAt(e,t,n){super.insertAt(e,t,n),this.enforceAllowedChildren()}optimize(e){super.optimize(e),this.children.length>0&&this.next!=null&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};V1.blotName="container",V1.scope=er.BLOCK_BLOT;let IL=V1;const uh=IL;class LL extends Fi{static formats(e,t){}format(e,t){super.formatAt(0,this.length(),e,t)}formatAt(e,t,n,i){e===0&&t===this.length()?this.format(n,i):super.formatAt(e,t,n,i)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const qo=LL,ML={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},DL=100,Pu=class extends Hs{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,ML),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=er.ANY){return this.registry.query(e,t)}register(...e){return this.registry.register(...e)}build(){this.scroll!=null&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(e,t){this.update(),e===0&&t===this.length()?this.children.forEach(n=>{n.remove()}):super.deleteAt(e,t)}formatAt(e,t,n,i){this.update(),super.formatAt(e,t,n,i)}insertAt(e,t,n){this.update(),super.insertAt(e,t,n)}optimize(e=[],t={}){super.optimize(t);const n=t.mutationsMap||new WeakMap;let i=Array.from(this.observer.takeRecords());for(;i.length>0;)e.push(i.pop());const l=(g,m=!0)=>{g==null||g===this||g.domNode.parentNode!=null&&(n.has(g.domNode)||n.set(g.domNode,[]),m&&l(g.parent))},u=g=>{n.has(g.domNode)&&(g instanceof Hs&&g.children.forEach(u),n.delete(g.domNode),g.optimize(t))};let h=e;for(let g=0;h.length>0;g+=1){if(g>=DL)throw new Error("[Parchment] Maximum optimize iterations reached");for(h.forEach(m=>{const M=this.find(m.target,!0);M!=null&&(M.domNode===m.target&&(m.type==="childList"?(l(this.find(m.previousSibling,!1)),Array.from(m.addedNodes).forEach(T=>{const C=this.find(T,!1);l(C,!1),C instanceof Hs&&C.children.forEach(_=>{l(_,!1)})})):m.type==="attributes"&&l(M.prev)),l(M))}),this.children.forEach(u),h=Array.from(this.observer.takeRecords()),i=h.slice();i.length>0;)e.push(i.pop())}}update(e,t={}){e=e||this.observer.takeRecords();const n=new WeakMap;e.map(i=>{const l=this.find(i.target,!0);return l==null?null:n.has(l.domNode)?(n.get(l.domNode).push(i),null):(n.set(l.domNode,[i]),l)}).forEach(i=>{i!=null&&i!==this&&n.has(i.domNode)&&i.update(n.get(i.domNode)||[],t)}),t.mutationsMap=n,n.has(this.domNode)&&super.update(n.get(this.domNode),t),this.optimize(e,t)}};Pu.blotName="scroll",Pu.defaultChild=Kf,Pu.allowedChildren=[Kf,uh],Pu.scope=er.BLOCK_BLOT,Pu.tagName="DIV";let OL=Pu;const Tm=OL,G1=class Sx extends Fi{static create(e){return document.createTextNode(e)}static value(e){return e.data}constructor(e,t){super(e,t),this.text=this.statics.value(this.domNode)}deleteAt(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)}index(e,t){return this.domNode===e?t:-1}insertAt(e,t,n){n==null?(this.text=this.text.slice(0,e)+t+this.text.slice(e),this.domNode.data=this.text):super.insertAt(e,t,n)}length(){return this.text.length}optimize(e){super.optimize(e),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof Sx&&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}};G1.blotName="text",G1.scope=er.INLINE_BLOT;let PL=G1;const eh=PL,NL=Object.freeze(Object.defineProperty({__proto__:null,Attributor:xa,AttributorStore:ch,BlockBlot:Kf,ClassAttributor:$s,ContainerBlot:uh,EmbedBlot:qo,InlineBlot:Am,LeafBlot:Fi,ParentBlot:Hs,Registry:Gu,Scope:er,ScrollBlot:Tm,StyleAttributor:rc,TextBlot:eh},Symbol.toStringTag,{value:"Module"}));var Rd={exports:{}},ep,E0;function jL(){if(E0)return ep;E0=1;var r=-1,e=1,t=0;function n(P,re,J,ne,oe){if(P===re)return P?[[t,P]]:[];if(J!=null){var ce=X(P,re,J);if(ce)return ce}var ve=h(P,re),ae=P.substring(0,ve);P=P.substring(ve),re=re.substring(ve),ve=m(P,re);var ge=P.substring(P.length-ve);P=P.substring(0,P.length-ve),re=re.substring(0,re.length-ve);var he=i(P,re);return ae&&he.unshift([t,ae]),ge&&he.push([t,ge]),R(he,oe),ne&&T(he),he}function i(P,re){var J;if(!P)return[[e,re]];if(!re)return[[r,P]];var ne=P.length>re.length?P:re,oe=P.length>re.length?re:P,ce=ne.indexOf(oe);if(ce!==-1)return J=[[e,ne.substring(0,ce)],[t,oe],[e,ne.substring(ce+oe.length)]],P.length>re.length&&(J[0][0]=J[2][0]=r),J;if(oe.length===1)return[[r,P],[e,re]];var ve=M(P,re);if(ve){var ae=ve[0],ge=ve[1],he=ve[2],Se=ve[3],Oe=ve[4],Be=n(ae,he),Ke=n(ge,Se);return Be.concat([[t,Oe]],Ke)}return l(P,re)}function l(P,re){for(var J=P.length,ne=re.length,oe=Math.ceil((J+ne)/2),ce=oe,ve=2*oe,ae=new Array(ve),ge=new Array(ve),he=0;he<ve;he++)ae[he]=-1,ge[he]=-1;ae[ce+1]=0,ge[ce+1]=0;for(var Se=J-ne,Oe=Se%2!==0,Be=0,Ke=0,Te=0,lt=0,gt=0;gt<oe;gt++){for(var Xe=-gt+Be;Xe<=gt-Ke;Xe+=2){var Ge=ce+Xe,Le;Xe===-gt||Xe!==gt&&ae[Ge-1]<ae[Ge+1]?Le=ae[Ge+1]:Le=ae[Ge-1]+1;for(var Re=Le-Xe;Le<J&&Re<ne&&P.charAt(Le)===re.charAt(Re);)Le++,Re++;if(ae[Ge]=Le,Le>J)Ke+=2;else if(Re>ne)Be+=2;else if(Oe){var ke=ce+Se-Xe;if(ke>=0&&ke<ve&&ge[ke]!==-1){var He=J-ge[ke];if(Le>=He)return u(P,re,Le,Re)}}}for(var Ie=-gt+Te;Ie<=gt-lt;Ie+=2){var ke=ce+Ie,He;Ie===-gt||Ie!==gt&&ge[ke-1]<ge[ke+1]?He=ge[ke+1]:He=ge[ke-1]+1;for(var rt=He-Ie;He<J&&rt<ne&&P.charAt(J-He-1)===re.charAt(ne-rt-1);)He++,rt++;if(ge[ke]=He,He>J)lt+=2;else if(rt>ne)Te+=2;else if(!Oe){var Ge=ce+Se-Ie;if(Ge>=0&&Ge<ve&&ae[Ge]!==-1){var Le=ae[Ge],Re=ce+Le-Ge;if(He=J-He,Le>=He)return u(P,re,Le,Re)}}}}return[[r,P],[e,re]]}function u(P,re,J,ne){var oe=P.substring(0,J),ce=re.substring(0,ne),ve=P.substring(J),ae=re.substring(ne),ge=n(oe,ce),he=n(ve,ae);return ge.concat(he)}function h(P,re){if(!P||!re||P.charAt(0)!==re.charAt(0))return 0;for(var J=0,ne=Math.min(P.length,re.length),oe=ne,ce=0;J<oe;)P.substring(ce,oe)==re.substring(ce,oe)?(J=oe,ce=J):ne=oe,oe=Math.floor((ne-J)/2+J);return O(P.charCodeAt(oe-1))&&oe--,oe}function g(P,re){var J=P.length,ne=re.length;if(J==0||ne==0)return 0;J>ne?P=P.substring(J-ne):J<ne&&(re=re.substring(0,J));var oe=Math.min(J,ne);if(P==re)return oe;for(var ce=0,ve=1;;){var ae=P.substring(oe-ve),ge=re.indexOf(ae);if(ge==-1)return ce;ve+=ge,(ge==0||P.substring(oe-ve)==re.substring(0,ve))&&(ce=ve,ve++)}}function m(P,re){if(!P||!re||P.slice(-1)!==re.slice(-1))return 0;for(var J=0,ne=Math.min(P.length,re.length),oe=ne,ce=0;J<oe;)P.substring(P.length-oe,P.length-ce)==re.substring(re.length-oe,re.length-ce)?(J=oe,ce=J):ne=oe,oe=Math.floor((ne-J)/2+J);return q(P.charCodeAt(P.length-oe))&&oe--,oe}function M(P,re){var J=P.length>re.length?P:re,ne=P.length>re.length?re:P;if(J.length<4||ne.length*2<J.length)return null;function oe(Ke,Te,lt){for(var gt=Ke.substring(lt,lt+Math.floor(Ke.length/4)),Xe=-1,Ge="",Le,Re,ke,He;(Xe=Te.indexOf(gt,Xe+1))!==-1;){var Ie=h(Ke.substring(lt),Te.substring(Xe)),rt=m(Ke.substring(0,lt),Te.substring(0,Xe));Ge.length<rt+Ie&&(Ge=Te.substring(Xe-rt,Xe)+Te.substring(Xe,Xe+Ie),Le=Ke.substring(0,lt-rt),Re=Ke.substring(lt+Ie),ke=Te.substring(0,Xe-rt),He=Te.substring(Xe+Ie))}return Ge.length*2>=Ke.length?[Le,Re,ke,He,Ge]:null}var ce=oe(J,ne,Math.ceil(J.length/4)),ve=oe(J,ne,Math.ceil(J.length/2)),ae;if(!ce&&!ve)return null;ve?ce?ae=ce[4].length>ve[4].length?ce:ve:ae=ve:ae=ce;var ge,he,Se,Oe;P.length>re.length?(ge=ae[0],he=ae[1],Se=ae[2],Oe=ae[3]):(Se=ae[0],Oe=ae[1],ge=ae[2],he=ae[3]);var Be=ae[4];return[ge,he,Se,Oe,Be]}function T(P){for(var re=!1,J=[],ne=0,oe=null,ce=0,ve=0,ae=0,ge=0,he=0;ce<P.length;)P[ce][0]==t?(J[ne++]=ce,ve=ge,ae=he,ge=0,he=0,oe=P[ce][1]):(P[ce][0]==e?ge+=P[ce][1].length:he+=P[ce][1].length,oe&&oe.length<=Math.max(ve,ae)&&oe.length<=Math.max(ge,he)&&(P.splice(J[ne-1],0,[r,oe]),P[J[ne-1]+1][0]=e,ne--,ne--,ce=ne>0?J[ne-1]:-1,ve=0,ae=0,ge=0,he=0,oe=null,re=!0)),ce++;for(re&&R(P),b(P),ce=1;ce<P.length;){if(P[ce-1][0]==r&&P[ce][0]==e){var Se=P[ce-1][1],Oe=P[ce][1],Be=g(Se,Oe),Ke=g(Oe,Se);Be>=Ke?(Be>=Se.length/2||Be>=Oe.length/2)&&(P.splice(ce,0,[t,Oe.substring(0,Be)]),P[ce-1][1]=Se.substring(0,Se.length-Be),P[ce+1][1]=Oe.substring(Be),ce++):(Ke>=Se.length/2||Ke>=Oe.length/2)&&(P.splice(ce,0,[t,Se.substring(0,Ke)]),P[ce-1][0]=e,P[ce-1][1]=Oe.substring(0,Oe.length-Ke),P[ce+1][0]=r,P[ce+1][1]=Se.substring(Ke),ce++),ce++}ce++}}var C=/[^a-zA-Z0-9]/,_=/\s/,S=/[\r\n]/,D=/\n\r?\n$/,A=/^\r?\n\r?\n/;function b(P){function re(Ke,Te){if(!Ke||!Te)return 6;var lt=Ke.charAt(Ke.length-1),gt=Te.charAt(0),Xe=lt.match(C),Ge=gt.match(C),Le=Xe&&lt.match(_),Re=Ge&&gt.match(_),ke=Le&&lt.match(S),He=Re&&gt.match(S),Ie=ke&&Ke.match(D),rt=He&&Te.match(A);return Ie||rt?5:ke||He?4:Xe&&!Le&&Re?3:Le||Re?2:Xe||Ge?1:0}for(var J=1;J<P.length-1;){if(P[J-1][0]==t&&P[J+1][0]==t){var ne=P[J-1][1],oe=P[J][1],ce=P[J+1][1],ve=m(ne,oe);if(ve){var ae=oe.substring(oe.length-ve);ne=ne.substring(0,ne.length-ve),oe=ae+oe.substring(0,oe.length-ve),ce=ae+ce}for(var ge=ne,he=oe,Se=ce,Oe=re(ne,oe)+re(oe,ce);oe.charAt(0)===ce.charAt(0);){ne+=oe.charAt(0),oe=oe.substring(1)+ce.charAt(0),ce=ce.substring(1);var Be=re(ne,oe)+re(oe,ce);Be>=Oe&&(Oe=Be,ge=ne,he=oe,Se=ce)}P[J-1][1]!=ge&&(ge?P[J-1][1]=ge:(P.splice(J-1,1),J--),P[J][1]=he,Se?P[J+1][1]=Se:(P.splice(J+1,1),J--))}J++}}function R(P,re){P.push([t,""]);for(var J=0,ne=0,oe=0,ce="",ve="",ae;J<P.length;){if(J<P.length-1&&!P[J][1]){P.splice(J,1);continue}switch(P[J][0]){case e:oe++,ve+=P[J][1],J++;break;case r:ne++,ce+=P[J][1],J++;break;case t:var ge=J-oe-ne-1;if(re){if(ge>=0&&G(P[ge][1])){var he=P[ge][1].slice(-1);if(P[ge][1]=P[ge][1].slice(0,-1),ce=he+ce,ve=he+ve,!P[ge][1]){P.splice(ge,1),J--;var Se=ge-1;P[Se]&&P[Se][0]===e&&(oe++,ve=P[Se][1]+ve,Se--),P[Se]&&P[Se][0]===r&&(ne++,ce=P[Se][1]+ce,Se--),ge=Se}}if(H(P[J][1])){var he=P[J][1].charAt(0);P[J][1]=P[J][1].slice(1),ce+=he,ve+=he}}if(J<P.length-1&&!P[J][1]){P.splice(J,1);break}if(ce.length>0||ve.length>0){ce.length>0&&ve.length>0&&(ae=h(ve,ce),ae!==0&&(ge>=0?P[ge][1]+=ve.substring(0,ae):(P.splice(0,0,[t,ve.substring(0,ae)]),J++),ve=ve.substring(ae),ce=ce.substring(ae)),ae=m(ve,ce),ae!==0&&(P[J][1]=ve.substring(ve.length-ae)+P[J][1],ve=ve.substring(0,ve.length-ae),ce=ce.substring(0,ce.length-ae)));var Oe=oe+ne;ce.length===0&&ve.length===0?(P.splice(J-Oe,Oe),J=J-Oe):ce.length===0?(P.splice(J-Oe,Oe,[e,ve]),J=J-Oe+1):ve.length===0?(P.splice(J-Oe,Oe,[r,ce]),J=J-Oe+1):(P.splice(J-Oe,Oe,[r,ce],[e,ve]),J=J-Oe+2)}J!==0&&P[J-1][0]===t?(P[J-1][1]+=P[J][1],P.splice(J,1)):J++,oe=0,ne=0,ce="",ve="";break}}P[P.length-1][1]===""&&P.pop();var Be=!1;for(J=1;J<P.length-1;)P[J-1][0]===t&&P[J+1][0]===t&&(P[J][1].substring(P[J][1].length-P[J-1][1].length)===P[J-1][1]?(P[J][1]=P[J-1][1]+P[J][1].substring(0,P[J][1].length-P[J-1][1].length),P[J+1][1]=P[J-1][1]+P[J+1][1],P.splice(J-1,1),Be=!0):P[J][1].substring(0,P[J+1][1].length)==P[J+1][1]&&(P[J-1][1]+=P[J+1][1],P[J][1]=P[J][1].substring(P[J+1][1].length)+P[J+1][1],P.splice(J+1,1),Be=!0)),J++;Be&&R(P,re)}function O(P){return P>=55296&&P<=56319}function q(P){return P>=56320&&P<=57343}function H(P){return q(P.charCodeAt(0))}function G(P){return O(P.charCodeAt(P.length-1))}function Y(P){for(var re=[],J=0;J<P.length;J++)P[J][1].length>0&&re.push(P[J]);return re}function de(P,re,J,ne){return G(P)||H(ne)?null:Y([[t,P],[r,re],[e,J],[t,ne]])}function X(P,re,J){var ne=typeof J=="number"?{index:J,length:0}:J.oldRange,oe=typeof J=="number"?null:J.newRange,ce=P.length,ve=re.length;if(ne.length===0&&(oe===null||oe.length===0)){var ae=ne.index,ge=P.slice(0,ae),he=P.slice(ae),Se=oe?oe.index:null;e:{var Oe=ae+ve-ce;if(Se!==null&&Se!==Oe||Oe<0||Oe>ve)break e;var Be=re.slice(0,Oe),Ke=re.slice(Oe);if(Ke!==he)break e;var Te=Math.min(ae,Oe),lt=ge.slice(0,Te),gt=Be.slice(0,Te);if(lt!==gt)break e;var Xe=ge.slice(Te),Ge=Be.slice(Te);return de(lt,Xe,Ge,he)}e:{if(Se!==null&&Se!==ae)break e;var Le=ae,Be=re.slice(0,Le),Ke=re.slice(Le);if(Be!==ge)break e;var Re=Math.min(ce-Le,ve-Le),ke=he.slice(he.length-Re),He=Ke.slice(Ke.length-Re);if(ke!==He)break e;var Xe=he.slice(0,he.length-Re),Ge=Ke.slice(0,Ke.length-Re);return de(ge,Xe,Ge,ke)}}if(ne.length>0&&oe&&oe.length===0)e:{var lt=P.slice(0,ne.index),ke=P.slice(ne.index+ne.length),Te=lt.length,Re=ke.length;if(ve<Te+Re)break e;var gt=re.slice(0,Te),He=re.slice(ve-Re);if(lt!==gt||ke!==He)break e;var Xe=P.slice(Te,ce-Re),Ge=re.slice(Te,ve-Re);return de(lt,Xe,Ge,ke)}return null}function ue(P,re,J,ne){return n(P,re,J,ne,!0)}return ue.INSERT=e,ue.DELETE=r,ue.EQUAL=t,ep=ue,ep}var Pf={exports:{}};Pf.exports;var k0;function Cx(){return k0||(k0=1,function(r,e){var t=200,n="__lodash_hash_undefined__",i=9007199254740991,l="[object Arguments]",u="[object Array]",h="[object Boolean]",g="[object Date]",m="[object Error]",M="[object Function]",T="[object GeneratorFunction]",C="[object Map]",_="[object Number]",S="[object Object]",D="[object Promise]",A="[object RegExp]",b="[object Set]",R="[object String]",O="[object Symbol]",q="[object WeakMap]",H="[object ArrayBuffer]",G="[object DataView]",Y="[object Float32Array]",de="[object Float64Array]",X="[object Int8Array]",ue="[object Int16Array]",P="[object Int32Array]",re="[object Uint8Array]",J="[object Uint8ClampedArray]",ne="[object Uint16Array]",oe="[object Uint32Array]",ce=/[\\^$.*+?()[\]{}|]/g,ve=/\w*$/,ae=/^\[object .+?Constructor\]$/,ge=/^(?:0|[1-9]\d*)$/,he={};he[l]=he[u]=he[H]=he[G]=he[h]=he[g]=he[Y]=he[de]=he[X]=he[ue]=he[P]=he[C]=he[_]=he[S]=he[A]=he[b]=he[R]=he[O]=he[re]=he[J]=he[ne]=he[oe]=!0,he[m]=he[M]=he[q]=!1;var Se=typeof yi=="object"&&yi&&yi.Object===Object&&yi,Oe=typeof self=="object"&&self&&self.Object===Object&&self,Be=Se||Oe||Function("return this")(),Ke=e&&!e.nodeType&&e,Te=Ke&&!0&&r&&!r.nodeType&&r,lt=Te&&Te.exports===Ke;function gt(I,V){return I.set(V[0],V[1]),I}function Xe(I,V){return I.add(V),I}function Ge(I,V){for(var le=-1,Fe=I?I.length:0;++le<Fe&&V(I[le],le,I)!==!1;);return I}function Le(I,V){for(var le=-1,Fe=V.length,Xt=I.length;++le<Fe;)I[Xt+le]=V[le];return I}function Re(I,V,le,Fe){for(var Xt=-1,Wt=I?I.length:0;++Xt<Wt;)le=V(le,I[Xt],Xt,I);return le}function ke(I,V){for(var le=-1,Fe=Array(I);++le<I;)Fe[le]=V(le);return Fe}function He(I,V){return I==null?void 0:I[V]}function Ie(I){var V=!1;if(I!=null&&typeof I.toString!="function")try{V=!!(I+"")}catch{}return V}function rt(I){var V=-1,le=Array(I.size);return I.forEach(function(Fe,Xt){le[++V]=[Xt,Fe]}),le}function ft(I,V){return function(le){return I(V(le))}}function kt(I){var V=-1,le=Array(I.size);return I.forEach(function(Fe){le[++V]=Fe}),le}var wt=Array.prototype,bt=Function.prototype,Mt=Object.prototype,Rt=Be["__core-js_shared__"],dt=function(){var I=/[^.]+$/.exec(Rt&&Rt.keys&&Rt.keys.IE_PROTO||"");return I?"Symbol(src)_1."+I:""}(),ct=bt.toString,Ct=Mt.hasOwnProperty,Me=Mt.toString,mt=RegExp("^"+ct.call(Ct).replace(ce,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_t=lt?Be.Buffer:void 0,Dt=Be.Symbol,Bt=Be.Uint8Array,$e=ft(Object.getPrototypeOf,Object),Tt=Object.create,jt=Mt.propertyIsEnumerable,pr=wt.splice,or=Object.getOwnPropertySymbols,Lr=_t?_t.isBuffer:void 0,me=ft(Object.keys,Object),te=Lt(Be,"DataView"),ye=Lt(Be,"Map"),xe=Lt(Be,"Promise"),vt=Lt(Be,"Set"),et=Lt(Be,"WeakMap"),ot=Lt(Object,"create"),Et=Xr(te),At=Xr(ye),Jt=Xr(xe),Ht=Xr(vt),Ut=Xr(et),qt=Dt?Dt.prototype:void 0,tr=qt?qt.valueOf:void 0;function Ar(I){var V=-1,le=I?I.length:0;for(this.clear();++V<le;){var Fe=I[V];this.set(Fe[0],Fe[1])}}function Je(){this.__data__=ot?ot(null):{}}function Qe(I){return this.has(I)&&delete this.__data__[I]}function ht(I){var V=this.__data__;if(ot){var le=V[I];return le===n?void 0:le}return Ct.call(V,I)?V[I]:void 0}function Ne(I){var V=this.__data__;return ot?V[I]!==void 0:Ct.call(V,I)}function xt(I,V){var le=this.__data__;return le[I]=ot&&V===void 0?n:V,this}Ar.prototype.clear=Je,Ar.prototype.delete=Qe,Ar.prototype.get=ht,Ar.prototype.has=Ne,Ar.prototype.set=xt;function K(I){var V=-1,le=I?I.length:0;for(this.clear();++V<le;){var Fe=I[V];this.set(Fe[0],Fe[1])}}function Pe(){this.__data__=[]}function tt(I){var V=this.__data__,le=Kn(V,I);if(le<0)return!1;var Fe=V.length-1;return le==Fe?V.pop():pr.call(V,le,1),!0}function It(I){var V=this.__data__,le=Kn(V,I);return le<0?void 0:V[le][1]}function Yt(I){return Kn(this.__data__,I)>-1}function zt(I,V){var le=this.__data__,Fe=Kn(le,I);return Fe<0?le.push([I,V]):le[Fe][1]=V,this}K.prototype.clear=Pe,K.prototype.delete=tt,K.prototype.get=It,K.prototype.has=Yt,K.prototype.set=zt;function yt(I){var V=-1,le=I?I.length:0;for(this.clear();++V<le;){var Fe=I[V];this.set(Fe[0],Fe[1])}}function Kt(){this.__data__={hash:new Ar,map:new(ye||K),string:new Ar}}function Tr(I){return nt(this,I).delete(I)}function ur(I){return nt(this,I).get(I)}function hr(I){return nt(this,I).has(I)}function $r(I,V){return nt(this,I).set(I,V),this}yt.prototype.clear=Kt,yt.prototype.delete=Tr,yt.prototype.get=ur,yt.prototype.has=hr,yt.prototype.set=$r;function vr(I){this.__data__=new K(I)}function Gn(){this.__data__=new K}function Sn(I){return this.__data__.delete(I)}function Mn(I){return this.__data__.get(I)}function Kr(I){return this.__data__.has(I)}function Zn(I,V){var le=this.__data__;if(le instanceof K){var Fe=le.__data__;if(!ye||Fe.length<t-1)return Fe.push([I,V]),this;le=this.__data__=new yt(Fe)}return le.set(I,V),this}vr.prototype.clear=Gn,vr.prototype.delete=Sn,vr.prototype.get=Mn,vr.prototype.has=Kr,vr.prototype.set=Zn;function Tn(I,V){var le=yo(I)||Jn(I)?ke(I.length,String):[],Fe=le.length,Xt=!!Fe;for(var Wt in I)Ct.call(I,Wt)&&!(Xt&&(Wt=="length"||yn(Wt,Fe)))&&le.push(Wt);return le}function Yn(I,V,le){var Fe=I[V];(!(Ct.call(I,V)&&Fn(Fe,le))||le===void 0&&!(V in I))&&(I[V]=le)}function Kn(I,V){for(var le=I.length;le--;)if(Fn(I[le][0],V))return le;return-1}function nn(I,V){return I&&Ae(V,Or(V),I)}function Dn(I,V,le,Fe,Xt,Wt,gr){var xr;if(Fe&&(xr=Wt?Fe(I,Xt,Wt,gr):Fe(I)),xr!==void 0)return xr;if(!ei(I))return I;var fr=yo(I);if(fr){if(xr=_r(I),!V)return Q(I,xr)}else{var Cr=Nt(I),Jr=Cr==M||Cr==T;if(kn(I))return wn(I,V);if(Cr==S||Cr==l||Jr&&!Wt){if(Ie(I))return Wt?I:{};if(xr=Zr(Jr?{}:I),!V)return _e(I,nn(xr,I))}else{if(!he[Cr])return Wt?I:{};xr=vn(I,Cr,Dn,V)}}gr||(gr=new vr);var Rn=gr.get(I);if(Rn)return Rn;if(gr.set(I,xr),!fr)var Vr=le?je(I):Or(I);return Ge(Vr||I,function(Br,Qr){Vr&&(Qr=Br,Br=I[Qr]),Yn(xr,Qr,Dn(Br,V,le,Fe,Qr,I,gr))}),xr}function Cn(I){return ei(I)?Tt(I):{}}function di(I,V,le){var Fe=V(I);return yo(I)?Fe:Le(Fe,le(I))}function _i(I){return Me.call(I)}function xi(I){if(!ei(I)||jn(I))return!1;var V=bo(I)||Ie(I)?mt:ae;return V.test(Xr(I))}function En(I){if(!Si(I))return me(I);var V=[];for(var le in Object(I))Ct.call(I,le)&&le!="constructor"&&V.push(le);return V}function wn(I,V){if(V)return I.slice();var le=new I.constructor(I.length);return I.copy(le),le}function cn(I){var V=new I.constructor(I.byteLength);return new Bt(V).set(new Bt(I)),V}function Xn(I,V){var le=V?cn(I.buffer):I.buffer;return new I.constructor(le,I.byteOffset,I.byteLength)}function on(I,V,le){var Fe=V?le(rt(I),!0):rt(I);return Re(Fe,gt,new I.constructor)}function dn(I){var V=new I.constructor(I.source,ve.exec(I));return V.lastIndex=I.lastIndex,V}function x(I,V,le){var Fe=V?le(kt(I),!0):kt(I);return Re(Fe,Xe,new I.constructor)}function j(I){return tr?Object(tr.call(I)):{}}function W(I,V){var le=V?cn(I.buffer):I.buffer;return new I.constructor(le,I.byteOffset,I.length)}function Q(I,V){var le=-1,Fe=I.length;for(V||(V=Array(Fe));++le<Fe;)V[le]=I[le];return V}function Ae(I,V,le,Fe){le||(le={});for(var Xt=-1,Wt=V.length;++Xt<Wt;){var gr=V[Xt],xr=void 0;Yn(le,gr,xr===void 0?I[gr]:xr)}return le}function _e(I,V){return Ae(I,Ft(I),V)}function je(I){return di(I,Or,Ft)}function nt(I,V){var le=I.__data__;return ai(V)?le[typeof V=="string"?"string":"hash"]:le.map}function Lt(I,V){var le=He(I,V);return xi(le)?le:void 0}var Ft=or?ft(or,Object):Sr,Nt=_i;(te&&Nt(new te(new ArrayBuffer(1)))!=G||ye&&Nt(new ye)!=C||xe&&Nt(xe.resolve())!=D||vt&&Nt(new vt)!=b||et&&Nt(new et)!=q)&&(Nt=function(I){var V=Me.call(I),le=V==S?I.constructor:void 0,Fe=le?Xr(le):void 0;if(Fe)switch(Fe){case Et:return G;case At:return C;case Jt:return D;case Ht:return b;case Ut:return q}return V});function _r(I){var V=I.length,le=I.constructor(V);return V&&typeof I[0]=="string"&&Ct.call(I,"index")&&(le.index=I.index,le.input=I.input),le}function Zr(I){return typeof I.constructor=="function"&&!Si(I)?Cn($e(I)):{}}function vn(I,V,le,Fe){var Xt=I.constructor;switch(V){case H:return cn(I);case h:case g:return new Xt(+I);case G:return Xn(I,Fe);case Y:case de:case X:case ue:case P:case re:case J:case ne:case oe:return W(I,Fe);case C:return on(I,Fe,le);case _:case R:return new Xt(I);case A:return dn(I);case b:return x(I,Fe,le);case O:return j(I)}}function yn(I,V){return V=V??i,!!V&&(typeof I=="number"||ge.test(I))&&I>-1&&I%1==0&&I<V}function ai(I){var V=typeof I;return V=="string"||V=="number"||V=="symbol"||V=="boolean"?I!=="__proto__":I===null}function jn(I){return!!dt&&dt in I}function Si(I){var V=I&&I.constructor,le=typeof V=="function"&&V.prototype||Mt;return I===le}function Xr(I){if(I!=null){try{return ct.call(I)}catch{}try{return I+""}catch{}}return""}function hi(I){return Dn(I,!0,!0)}function Fn(I,V){return I===V||I!==I&&V!==V}function Jn(I){return to(I)&&Ct.call(I,"callee")&&(!jt.call(I,"callee")||Me.call(I)==l)}var yo=Array.isArray;function eo(I){return I!=null&&Qn(I.length)&&!bo(I)}function to(I){return qi(I)&&eo(I)}var kn=Lr||Mr;function bo(I){var V=ei(I)?Me.call(I):"";return V==M||V==T}function Qn(I){return typeof I=="number"&&I>-1&&I%1==0&&I<=i}function ei(I){var V=typeof I;return!!I&&(V=="object"||V=="function")}function qi(I){return!!I&&typeof I=="object"}function Or(I){return eo(I)?Tn(I):En(I)}function Sr(){return[]}function Mr(){return!1}r.exports=hi}(Pf,Pf.exports)),Pf.exports}var Nf={exports:{}};Nf.exports;var R0;function wx(){return R0||(R0=1,function(r,e){var t=200,n="__lodash_hash_undefined__",i=1,l=2,u=9007199254740991,h="[object Arguments]",g="[object Array]",m="[object AsyncFunction]",M="[object Boolean]",T="[object Date]",C="[object Error]",_="[object Function]",S="[object GeneratorFunction]",D="[object Map]",A="[object Number]",b="[object Null]",R="[object Object]",O="[object Promise]",q="[object Proxy]",H="[object RegExp]",G="[object Set]",Y="[object String]",de="[object Symbol]",X="[object Undefined]",ue="[object WeakMap]",P="[object ArrayBuffer]",re="[object DataView]",J="[object Float32Array]",ne="[object Float64Array]",oe="[object Int8Array]",ce="[object Int16Array]",ve="[object Int32Array]",ae="[object Uint8Array]",ge="[object Uint8ClampedArray]",he="[object Uint16Array]",Se="[object Uint32Array]",Oe=/[\\^$.*+?()[\]{}|]/g,Be=/^\[object .+?Constructor\]$/,Ke=/^(?:0|[1-9]\d*)$/,Te={};Te[J]=Te[ne]=Te[oe]=Te[ce]=Te[ve]=Te[ae]=Te[ge]=Te[he]=Te[Se]=!0,Te[h]=Te[g]=Te[P]=Te[M]=Te[re]=Te[T]=Te[C]=Te[_]=Te[D]=Te[A]=Te[R]=Te[H]=Te[G]=Te[Y]=Te[ue]=!1;var lt=typeof yi=="object"&&yi&&yi.Object===Object&&yi,gt=typeof self=="object"&&self&&self.Object===Object&&self,Xe=lt||gt||Function("return this")(),Ge=e&&!e.nodeType&&e,Le=Ge&&!0&&r&&!r.nodeType&&r,Re=Le&&Le.exports===Ge,ke=Re&&lt.process,He=function(){try{return ke&&ke.binding&&ke.binding("util")}catch{}}(),Ie=He&&He.isTypedArray;function rt(I,V){for(var le=-1,Fe=I==null?0:I.length,Xt=0,Wt=[];++le<Fe;){var gr=I[le];V(gr,le,I)&&(Wt[Xt++]=gr)}return Wt}function ft(I,V){for(var le=-1,Fe=V.length,Xt=I.length;++le<Fe;)I[Xt+le]=V[le];return I}function kt(I,V){for(var le=-1,Fe=I==null?0:I.length;++le<Fe;)if(V(I[le],le,I))return!0;return!1}function wt(I,V){for(var le=-1,Fe=Array(I);++le<I;)Fe[le]=V(le);return Fe}function bt(I){return function(V){return I(V)}}function Mt(I,V){return I.has(V)}function Rt(I,V){return I==null?void 0:I[V]}function dt(I){var V=-1,le=Array(I.size);return I.forEach(function(Fe,Xt){le[++V]=[Xt,Fe]}),le}function ct(I,V){return function(le){return I(V(le))}}function Ct(I){var V=-1,le=Array(I.size);return I.forEach(function(Fe){le[++V]=Fe}),le}var Me=Array.prototype,mt=Function.prototype,_t=Object.prototype,Dt=Xe["__core-js_shared__"],Bt=mt.toString,$e=_t.hasOwnProperty,Tt=function(){var I=/[^.]+$/.exec(Dt&&Dt.keys&&Dt.keys.IE_PROTO||"");return I?"Symbol(src)_1."+I:""}(),jt=_t.toString,pr=RegExp("^"+Bt.call($e).replace(Oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),or=Re?Xe.Buffer:void 0,Lr=Xe.Symbol,me=Xe.Uint8Array,te=_t.propertyIsEnumerable,ye=Me.splice,xe=Lr?Lr.toStringTag:void 0,vt=Object.getOwnPropertySymbols,et=or?or.isBuffer:void 0,ot=ct(Object.keys,Object),Et=Ft(Xe,"DataView"),At=Ft(Xe,"Map"),Jt=Ft(Xe,"Promise"),Ht=Ft(Xe,"Set"),Ut=Ft(Xe,"WeakMap"),qt=Ft(Object,"create"),tr=Xr(Et),Ar=Xr(At),Je=Xr(Jt),Qe=Xr(Ht),ht=Xr(Ut),Ne=Lr?Lr.prototype:void 0,xt=Ne?Ne.valueOf:void 0;function K(I){var V=-1,le=I==null?0:I.length;for(this.clear();++V<le;){var Fe=I[V];this.set(Fe[0],Fe[1])}}function Pe(){this.__data__=qt?qt(null):{},this.size=0}function tt(I){var V=this.has(I)&&delete this.__data__[I];return this.size-=V?1:0,V}function It(I){var V=this.__data__;if(qt){var le=V[I];return le===n?void 0:le}return $e.call(V,I)?V[I]:void 0}function Yt(I){var V=this.__data__;return qt?V[I]!==void 0:$e.call(V,I)}function zt(I,V){var le=this.__data__;return this.size+=this.has(I)?0:1,le[I]=qt&&V===void 0?n:V,this}K.prototype.clear=Pe,K.prototype.delete=tt,K.prototype.get=It,K.prototype.has=Yt,K.prototype.set=zt;function yt(I){var V=-1,le=I==null?0:I.length;for(this.clear();++V<le;){var Fe=I[V];this.set(Fe[0],Fe[1])}}function Kt(){this.__data__=[],this.size=0}function Tr(I){var V=this.__data__,le=wn(V,I);if(le<0)return!1;var Fe=V.length-1;return le==Fe?V.pop():ye.call(V,le,1),--this.size,!0}function ur(I){var V=this.__data__,le=wn(V,I);return le<0?void 0:V[le][1]}function hr(I){return wn(this.__data__,I)>-1}function $r(I,V){var le=this.__data__,Fe=wn(le,I);return Fe<0?(++this.size,le.push([I,V])):le[Fe][1]=V,this}yt.prototype.clear=Kt,yt.prototype.delete=Tr,yt.prototype.get=ur,yt.prototype.has=hr,yt.prototype.set=$r;function vr(I){var V=-1,le=I==null?0:I.length;for(this.clear();++V<le;){var Fe=I[V];this.set(Fe[0],Fe[1])}}function Gn(){this.size=0,this.__data__={hash:new K,map:new(At||yt),string:new K}}function Sn(I){var V=Lt(this,I).delete(I);return this.size-=V?1:0,V}function Mn(I){return Lt(this,I).get(I)}function Kr(I){return Lt(this,I).has(I)}function Zn(I,V){var le=Lt(this,I),Fe=le.size;return le.set(I,V),this.size+=le.size==Fe?0:1,this}vr.prototype.clear=Gn,vr.prototype.delete=Sn,vr.prototype.get=Mn,vr.prototype.has=Kr,vr.prototype.set=Zn;function Tn(I){var V=-1,le=I==null?0:I.length;for(this.__data__=new vr;++V<le;)this.add(I[V])}function Yn(I){return this.__data__.set(I,n),this}function Kn(I){return this.__data__.has(I)}Tn.prototype.add=Tn.prototype.push=Yn,Tn.prototype.has=Kn;function nn(I){var V=this.__data__=new yt(I);this.size=V.size}function Dn(){this.__data__=new yt,this.size=0}function Cn(I){var V=this.__data__,le=V.delete(I);return this.size=V.size,le}function di(I){return this.__data__.get(I)}function _i(I){return this.__data__.has(I)}function xi(I,V){var le=this.__data__;if(le instanceof yt){var Fe=le.__data__;if(!At||Fe.length<t-1)return Fe.push([I,V]),this.size=++le.size,this;le=this.__data__=new vr(Fe)}return le.set(I,V),this.size=le.size,this}nn.prototype.clear=Dn,nn.prototype.delete=Cn,nn.prototype.get=di,nn.prototype.has=_i,nn.prototype.set=xi;function En(I,V){var le=Jn(I),Fe=!le&&Fn(I),Xt=!le&&!Fe&&eo(I),Wt=!le&&!Fe&&!Xt&&qi(I),gr=le||Fe||Xt||Wt,xr=gr?wt(I.length,String):[],fr=xr.length;for(var Cr in I)$e.call(I,Cr)&&!(gr&&(Cr=="length"||Xt&&(Cr=="offset"||Cr=="parent")||Wt&&(Cr=="buffer"||Cr=="byteLength"||Cr=="byteOffset")||vn(Cr,fr)))&&xr.push(Cr);return xr}function wn(I,V){for(var le=I.length;le--;)if(hi(I[le][0],V))return le;return-1}function cn(I,V,le){var Fe=V(I);return Jn(I)?Fe:ft(Fe,le(I))}function Xn(I){return I==null?I===void 0?X:b:xe&&xe in Object(I)?Nt(I):Si(I)}function on(I){return ei(I)&&Xn(I)==h}function dn(I,V,le,Fe,Xt){return I===V?!0:I==null||V==null||!ei(I)&&!ei(V)?I!==I&&V!==V:x(I,V,le,Fe,dn,Xt)}function x(I,V,le,Fe,Xt,Wt){var gr=Jn(I),xr=Jn(V),fr=gr?g:Zr(I),Cr=xr?g:Zr(V);fr=fr==h?R:fr,Cr=Cr==h?R:Cr;var Jr=fr==R,Rn=Cr==R,Vr=fr==Cr;if(Vr&&eo(I)){if(!eo(V))return!1;gr=!0,Jr=!1}if(Vr&&!Jr)return Wt||(Wt=new nn),gr||qi(I)?Ae(I,V,le,Fe,Xt,Wt):_e(I,V,fr,le,Fe,Xt,Wt);if(!(le&i)){var Br=Jr&&$e.call(I,"__wrapped__"),Qr=Rn&&$e.call(V,"__wrapped__");if(Br||Qr){var li=Br?I.value():I,pi=Qr?V.value():V;return Wt||(Wt=new nn),Xt(li,pi,le,Fe,Wt)}}return Vr?(Wt||(Wt=new nn),je(I,V,le,Fe,Xt,Wt)):!1}function j(I){if(!Qn(I)||ai(I))return!1;var V=kn(I)?pr:Be;return V.test(Xr(I))}function W(I){return ei(I)&&bo(I.length)&&!!Te[Xn(I)]}function Q(I){if(!jn(I))return ot(I);var V=[];for(var le in Object(I))$e.call(I,le)&&le!="constructor"&&V.push(le);return V}function Ae(I,V,le,Fe,Xt,Wt){var gr=le&i,xr=I.length,fr=V.length;if(xr!=fr&&!(gr&&fr>xr))return!1;var Cr=Wt.get(I);if(Cr&&Wt.get(V))return Cr==V;var Jr=-1,Rn=!0,Vr=le&l?new Tn:void 0;for(Wt.set(I,V),Wt.set(V,I);++Jr<xr;){var Br=I[Jr],Qr=V[Jr];if(Fe)var li=gr?Fe(Qr,Br,Jr,V,I,Wt):Fe(Br,Qr,Jr,I,V,Wt);if(li!==void 0){if(li)continue;Rn=!1;break}if(Vr){if(!kt(V,function(pi,Bn){if(!Mt(Vr,Bn)&&(Br===pi||Xt(Br,pi,le,Fe,Wt)))return Vr.push(Bn)})){Rn=!1;break}}else if(!(Br===Qr||Xt(Br,Qr,le,Fe,Wt))){Rn=!1;break}}return Wt.delete(I),Wt.delete(V),Rn}function _e(I,V,le,Fe,Xt,Wt,gr){switch(le){case re:if(I.byteLength!=V.byteLength||I.byteOffset!=V.byteOffset)return!1;I=I.buffer,V=V.buffer;case P:return!(I.byteLength!=V.byteLength||!Wt(new me(I),new me(V)));case M:case T:case A:return hi(+I,+V);case C:return I.name==V.name&&I.message==V.message;case H:case Y:return I==V+"";case D:var xr=dt;case G:var fr=Fe&i;if(xr||(xr=Ct),I.size!=V.size&&!fr)return!1;var Cr=gr.get(I);if(Cr)return Cr==V;Fe|=l,gr.set(I,V);var Jr=Ae(xr(I),xr(V),Fe,Xt,Wt,gr);return gr.delete(I),Jr;case de:if(xt)return xt.call(I)==xt.call(V)}return!1}function je(I,V,le,Fe,Xt,Wt){var gr=le&i,xr=nt(I),fr=xr.length,Cr=nt(V),Jr=Cr.length;if(fr!=Jr&&!gr)return!1;for(var Rn=fr;Rn--;){var Vr=xr[Rn];if(!(gr?Vr in V:$e.call(V,Vr)))return!1}var Br=Wt.get(I);if(Br&&Wt.get(V))return Br==V;var Qr=!0;Wt.set(I,V),Wt.set(V,I);for(var li=gr;++Rn<fr;){Vr=xr[Rn];var pi=I[Vr],Bn=V[Vr];if(Fe)var _o=gr?Fe(Bn,pi,Vr,V,I,Wt):Fe(pi,Bn,Vr,I,V,Wt);if(!(_o===void 0?pi===Bn||Xt(pi,Bn,le,Fe,Wt):_o)){Qr=!1;break}li||(li=Vr=="constructor")}if(Qr&&!li){var zi=I.constructor,sn=V.constructor;zi!=sn&&"constructor"in I&&"constructor"in V&&!(typeof zi=="function"&&zi instanceof zi&&typeof sn=="function"&&sn instanceof sn)&&(Qr=!1)}return Wt.delete(I),Wt.delete(V),Qr}function nt(I){return cn(I,Or,_r)}function Lt(I,V){var le=I.__data__;return yn(V)?le[typeof V=="string"?"string":"hash"]:le.map}function Ft(I,V){var le=Rt(I,V);return j(le)?le:void 0}function Nt(I){var V=$e.call(I,xe),le=I[xe];try{I[xe]=void 0;var Fe=!0}catch{}var Xt=jt.call(I);return Fe&&(V?I[xe]=le:delete I[xe]),Xt}var _r=vt?function(I){return I==null?[]:(I=Object(I),rt(vt(I),function(V){return te.call(I,V)}))}:Sr,Zr=Xn;(Et&&Zr(new Et(new ArrayBuffer(1)))!=re||At&&Zr(new At)!=D||Jt&&Zr(Jt.resolve())!=O||Ht&&Zr(new Ht)!=G||Ut&&Zr(new Ut)!=ue)&&(Zr=function(I){var V=Xn(I),le=V==R?I.constructor:void 0,Fe=le?Xr(le):"";if(Fe)switch(Fe){case tr:return re;case Ar:return D;case Je:return O;case Qe:return G;case ht:return ue}return V});function vn(I,V){return V=V??u,!!V&&(typeof I=="number"||Ke.test(I))&&I>-1&&I%1==0&&I<V}function yn(I){var V=typeof I;return V=="string"||V=="number"||V=="symbol"||V=="boolean"?I!=="__proto__":I===null}function ai(I){return!!Tt&&Tt in I}function jn(I){var V=I&&I.constructor,le=typeof V=="function"&&V.prototype||_t;return I===le}function Si(I){return jt.call(I)}function Xr(I){if(I!=null){try{return Bt.call(I)}catch{}try{return I+""}catch{}}return""}function hi(I,V){return I===V||I!==I&&V!==V}var Fn=on(function(){return arguments}())?on:function(I){return ei(I)&&$e.call(I,"callee")&&!te.call(I,"callee")},Jn=Array.isArray;function yo(I){return I!=null&&bo(I.length)&&!kn(I)}var eo=et||Mr;function to(I,V){return dn(I,V)}function kn(I){if(!Qn(I))return!1;var V=Xn(I);return V==_||V==S||V==m||V==q}function bo(I){return typeof I=="number"&&I>-1&&I%1==0&&I<=u}function Qn(I){var V=typeof I;return I!=null&&(V=="object"||V=="function")}function ei(I){return I!=null&&typeof I=="object"}var qi=Ie?bt(Ie):W;function Or(I){return yo(I)?En(I):Q(I)}function Sr(){return[]}function Mr(){return!1}r.exports=to}(Nf,Nf.exports)),Nf.exports}var Id={},I0;function FL(){if(I0)return Id;I0=1,Object.defineProperty(Id,"__esModule",{value:!0});const r=Cx(),e=wx();var t;return function(n){function i(g={},m={},M=!1){typeof g!="object"&&(g={}),typeof m!="object"&&(m={});let T=r(m);M||(T=Object.keys(T).reduce((C,_)=>(T[_]!=null&&(C[_]=T[_]),C),{}));for(const C in g)g[C]!==void 0&&m[C]===void 0&&(T[C]=g[C]);return Object.keys(T).length>0?T:void 0}n.compose=i;function l(g={},m={}){typeof g!="object"&&(g={}),typeof m!="object"&&(m={});const M=Object.keys(g).concat(Object.keys(m)).reduce((T,C)=>(e(g[C],m[C])||(T[C]=m[C]===void 0?null:m[C]),T),{});return Object.keys(M).length>0?M:void 0}n.diff=l;function u(g={},m={}){g=g||{};const M=Object.keys(m).reduce((T,C)=>(m[C]!==g[C]&&g[C]!==void 0&&(T[C]=m[C]),T),{});return Object.keys(g).reduce((T,C)=>(g[C]!==m[C]&&m[C]===void 0&&(T[C]=null),T),M)}n.invert=u;function h(g,m,M=!1){if(typeof g!="object")return m;if(typeof m!="object")return;if(!M)return m;const T=Object.keys(m).reduce((C,_)=>(g[_]===void 0&&(C[_]=m[_]),C),{});return Object.keys(T).length>0?T:void 0}n.transform=h}(t||(t={})),Id.default=t,Id}var Ld={},L0;function Ax(){if(L0)return Ld;L0=1,Object.defineProperty(Ld,"__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={})),Ld.default=r,Ld}var Md={},M0;function BL(){if(M0)return Md;M0=1,Object.defineProperty(Md,"__esModule",{value:!0});const r=Ax();class e{constructor(n){this.ops=n,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(n){n||(n=1/0);const i=this.ops[this.index];if(i){const l=this.offset,u=r.default.length(i);if(n>=u-l?(n=u-l,this.index+=1,this.offset=0):this.offset+=n,typeof i.delete=="number")return{delete:n};{const h={};return i.attributes&&(h.attributes=i.attributes),typeof i.retain=="number"?h.retain=n:typeof i.retain=="object"&&i.retain!==null?h.retain=i.retain:typeof i.insert=="string"?h.insert=i.insert.substr(l,n):h.insert=i.insert,h}}else return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?r.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const n=this.ops[this.index];return n?typeof n.delete=="number"?"delete":typeof n.retain=="number"||typeof n.retain=="object"&&n.retain!==null?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);{const n=this.offset,i=this.index,l=this.next(),u=this.ops.slice(this.index);return this.offset=n,this.index=i,[l].concat(u)}}else return[]}}return Md.default=e,Md}var D0;function HL(){return D0||(D0=1,function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.AttributeMap=e.OpIterator=e.Op=void 0;const t=jL(),n=Cx(),i=wx(),l=FL();e.AttributeMap=l.default;const u=Ax();e.Op=u.default;const h=BL();e.OpIterator=h.default;const g="\0",m=(T,C)=>{if(typeof T!="object"||T===null)throw new Error(`cannot retain a ${typeof T}`);if(typeof C!="object"||C===null)throw new Error(`cannot retain a ${typeof C}`);const _=Object.keys(T)[0];if(!_||_!==Object.keys(C)[0])throw new Error(`embed types not matched: ${_} != ${Object.keys(C)[0]}`);return[_,T[_],C[_]]};class M{constructor(C){Array.isArray(C)?this.ops=C:C!=null&&Array.isArray(C.ops)?this.ops=C.ops:this.ops=[]}static registerEmbed(C,_){this.handlers[C]=_}static unregisterEmbed(C){delete this.handlers[C]}static getHandler(C){const _=this.handlers[C];if(!_)throw new Error(`no handlers for embed type "${C}"`);return _}insert(C,_){const S={};return typeof C=="string"&&C.length===0?this:(S.insert=C,_!=null&&typeof _=="object"&&Object.keys(_).length>0&&(S.attributes=_),this.push(S))}delete(C){return C<=0?this:this.push({delete:C})}retain(C,_){if(typeof C=="number"&&C<=0)return this;const S={retain:C};return _!=null&&typeof _=="object"&&Object.keys(_).length>0&&(S.attributes=_),this.push(S)}push(C){let _=this.ops.length,S=this.ops[_-1];if(C=n(C),typeof S=="object"){if(typeof C.delete=="number"&&typeof S.delete=="number")return this.ops[_-1]={delete:S.delete+C.delete},this;if(typeof S.delete=="number"&&C.insert!=null&&(_-=1,S=this.ops[_-1],typeof S!="object"))return this.ops.unshift(C),this;if(i(C.attributes,S.attributes)){if(typeof C.insert=="string"&&typeof S.insert=="string")return this.ops[_-1]={insert:S.insert+C.insert},typeof C.attributes=="object"&&(this.ops[_-1].attributes=C.attributes),this;if(typeof C.retain=="number"&&typeof S.retain=="number")return this.ops[_-1]={retain:S.retain+C.retain},typeof C.attributes=="object"&&(this.ops[_-1].attributes=C.attributes),this}}return _===this.ops.length?this.ops.push(C):this.ops.splice(_,0,C),this}chop(){const C=this.ops[this.ops.length-1];return C&&typeof C.retain=="number"&&!C.attributes&&this.ops.pop(),this}filter(C){return this.ops.filter(C)}forEach(C){this.ops.forEach(C)}map(C){return this.ops.map(C)}partition(C){const _=[],S=[];return this.forEach(D=>{(C(D)?_:S).push(D)}),[_,S]}reduce(C,_){return this.ops.reduce(C,_)}changeLength(){return this.reduce((C,_)=>_.insert?C+u.default.length(_):_.delete?C-_.delete:C,0)}length(){return this.reduce((C,_)=>C+u.default.length(_),0)}slice(C=0,_=1/0){const S=[],D=new h.default(this.ops);let A=0;for(;A<_&&D.hasNext();){let b;A<C?b=D.next(C-A):(b=D.next(_-A),S.push(b)),A+=u.default.length(b)}return new M(S)}compose(C){const _=new h.default(this.ops),S=new h.default(C.ops),D=[],A=S.peek();if(A!=null&&typeof A.retain=="number"&&A.attributes==null){let R=A.retain;for(;_.peekType()==="insert"&&_.peekLength()<=R;)R-=_.peekLength(),D.push(_.next());A.retain-R>0&&S.next(A.retain-R)}const b=new M(D);for(;_.hasNext()||S.hasNext();)if(S.peekType()==="insert")b.push(S.next());else if(_.peekType()==="delete")b.push(_.next());else{const R=Math.min(_.peekLength(),S.peekLength()),O=_.next(R),q=S.next(R);if(q.retain){const H={};if(typeof O.retain=="number")H.retain=typeof q.retain=="number"?R:q.retain;else if(typeof q.retain=="number")O.retain==null?H.insert=O.insert:H.retain=O.retain;else{const Y=O.retain==null?"insert":"retain",[de,X,ue]=m(O[Y],q.retain),P=M.getHandler(de);H[Y]={[de]:P.compose(X,ue,Y==="retain")}}const G=l.default.compose(O.attributes,q.attributes,typeof O.retain=="number");if(G&&(H.attributes=G),b.push(H),!S.hasNext()&&i(b.ops[b.ops.length-1],H)){const Y=new M(_.rest());return b.concat(Y).chop()}}else typeof q.delete=="number"&&(typeof O.retain=="number"||typeof O.retain=="object"&&O.retain!==null)&&b.push(q)}return b.chop()}concat(C){const _=new M(this.ops.slice());return C.ops.length>0&&(_.push(C.ops[0]),_.ops=_.ops.concat(C.ops.slice(1))),_}diff(C,_){if(this.ops===C.ops)return new M;const S=[this,C].map(O=>O.map(q=>{if(q.insert!=null)return typeof q.insert=="string"?q.insert:g;const H=O===C?"on":"with";throw new Error("diff() called "+H+" non-document")}).join("")),D=new M,A=t(S[0],S[1],_,!0),b=new h.default(this.ops),R=new h.default(C.ops);return A.forEach(O=>{let q=O[1].length;for(;q>0;){let H=0;switch(O[0]){case t.INSERT:H=Math.min(R.peekLength(),q),D.push(R.next(H));break;case t.DELETE:H=Math.min(q,b.peekLength()),b.next(H),D.delete(H);break;case t.EQUAL:H=Math.min(b.peekLength(),R.peekLength(),q);const G=b.next(H),Y=R.next(H);i(G.insert,Y.insert)?D.retain(H,l.default.diff(G.attributes,Y.attributes)):D.push(Y).delete(H);break}q-=H}}),D.chop()}eachLine(C,_=`
54
+ `){const S=new h.default(this.ops);let D=new M,A=0;for(;S.hasNext();){if(S.peekType()!=="insert")return;const b=S.peek(),R=u.default.length(b)-S.peekLength(),O=typeof b.insert=="string"?b.insert.indexOf(_,R)-R:-1;if(O<0)D.push(S.next());else if(O>0)D.push(S.next(O));else{if(C(D,S.next(1).attributes||{},A)===!1)return;A+=1,D=new M}}D.length()>0&&C(D,{},A)}invert(C){const _=new M;return this.reduce((S,D)=>{if(D.insert)_.delete(u.default.length(D));else{if(typeof D.retain=="number"&&D.attributes==null)return _.retain(D.retain),S+D.retain;if(D.delete||typeof D.retain=="number"){const A=D.delete||D.retain;return C.slice(S,S+A).forEach(R=>{D.delete?_.push(R):D.retain&&D.attributes&&_.retain(u.default.length(R),l.default.invert(D.attributes,R.attributes))}),S+A}else if(typeof D.retain=="object"&&D.retain!==null){const A=C.slice(S,S+1),b=new h.default(A.ops).next(),[R,O,q]=m(D.retain,b.insert),H=M.getHandler(R);return _.retain({[R]:H.invert(O,q)},l.default.invert(D.attributes,b.attributes)),S+1}}return S},0),_.chop()}transform(C,_=!1){if(_=!!_,typeof C=="number")return this.transformPosition(C,_);const S=C,D=new h.default(this.ops),A=new h.default(S.ops),b=new M;for(;D.hasNext()||A.hasNext();)if(D.peekType()==="insert"&&(_||A.peekType()!=="insert"))b.retain(u.default.length(D.next()));else if(A.peekType()==="insert")b.push(A.next());else{const R=Math.min(D.peekLength(),A.peekLength()),O=D.next(R),q=A.next(R);if(O.delete)continue;if(q.delete)b.push(q);else{const H=O.retain,G=q.retain;let Y=typeof G=="object"&&G!==null?G:R;if(typeof H=="object"&&H!==null&&typeof G=="object"&&G!==null){const de=Object.keys(H)[0];if(de===Object.keys(G)[0]){const X=M.getHandler(de);X&&(Y={[de]:X.transform(H[de],G[de],_)})}}b.retain(Y,l.default.transform(O.attributes,q.attributes,_))}}return b.chop()}transformPosition(C,_=!1){_=!!_;const S=new h.default(this.ops);let D=0;for(;S.hasNext()&&D<=C;){const A=S.peekLength(),b=S.peekType();if(S.next(),b==="delete"){C-=Math.min(A,C-D);continue}else b==="insert"&&(D<C||!_)&&(C+=A);D+=A}return C}}M.Op=u.default,M.OpIterator=h.default,M.AttributeMap=l.default,M.handlers={},e.default=M,r.exports=M,r.exports.default=M}(Rd,Rd.exports)),Rd.exports}var ds=HL();const Vt=ol(ds);class Us extends qo{static value(){}optimize(){(this.prev||this.next)&&this.remove()}length(){return 0}value(){return""}}Us.blotName="break";Us.tagName="BR";let zs=class extends eh{};const qL={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function fh(r){return r.replace(/[&<>"']/g,e=>qL[e])}const ma=class ma extends Am{static compare(e,t){const n=ma.order.indexOf(e),i=ma.order.indexOf(t);return n>=0||i>=0?n-i:e===t?0:e<t?-1:1}formatAt(e,t,n,i){if(ma.compare(this.statics.blotName,n)<0&&this.scroll.query(n,er.BLOT)){const l=this.isolate(e,t);i&&l.wrap(n,i)}else super.formatAt(e,t,n,i)}optimize(e){if(super.optimize(e),this.parent instanceof ma&&ma.compare(this.statics.blotName,this.parent.statics.blotName)>0){const t=this.parent.isolate(this.offset(),this.length());this.moveChildren(t),t.wrap(this)}}};at(ma,"allowedChildren",[ma,Us,qo,zs]),at(ma,"order",["cursor","inline","link","underline","strike","italic","bold","script","code"]);let Sa=ma;const O0=1;class Pi extends Kf{constructor(){super(...arguments);at(this,"cache",{})}delta(){return this.cache.delta==null&&(this.cache.delta=Tx(this)),this.cache.delta}deleteAt(t,n){super.deleteAt(t,n),this.cache={}}formatAt(t,n,i,l){n<=0||(this.scroll.query(i,er.BLOCK)?t+n===this.length()&&this.format(i,l):super.formatAt(t,Math.min(n,this.length()-t-1),i,l),this.cache={})}insertAt(t,n,i){if(i!=null){super.insertAt(t,n,i),this.cache={};return}if(n.length===0)return;const l=n.split(`
55
+ `),u=l.shift();u.length>0&&(t<this.length()-1||this.children.tail==null?super.insertAt(Math.min(t,this.length()-1),u):this.children.tail.insertAt(this.children.tail.length(),u),this.cache={});let h=this;l.reduce((g,m)=>(h=h.split(g,!0),h.insertAt(0,m),m.length),t+u.length)}insertBefore(t,n){const{head:i}=this.children;super.insertBefore(t,n),i instanceof Us&&i.remove(),this.cache={}}length(){return this.cache.length==null&&(this.cache.length=super.length()+O0),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()-O0)){const l=this.clone();return t===0?(this.parent.insertBefore(l,this),this):(this.parent.insertBefore(l,this.next),l)}const i=super.split(t,n);return this.cache={},i}}Pi.blotName="block";Pi.tagName="P";Pi.defaultChild=Us;Pi.allowedChildren=[Us,Sa,qo,zs];class fs extends qo{attach(){super.attach(),this.attributes=new ch(this.domNode)}delta(){return new Vt().insert(this.value(),{...this.formats(),...this.attributes.values()})}format(e,t){const n=this.scroll.query(e,er.BLOCK_ATTRIBUTE);n!=null&&this.attributes.attribute(n,t)}formatAt(e,t,n,i){this.format(n,i)}insertAt(e,t,n){if(n!=null){super.insertAt(e,t,n);return}const i=t.split(`
56
+ `),l=i.pop(),u=i.map(g=>{const m=this.scroll.create(Pi.blotName);return m.insertAt(0,g),m}),h=this.split(e);u.forEach(g=>{this.parent.insertBefore(g,h)}),l&&this.parent.insertBefore(this.scroll.create("text",l),h)}}fs.scope=er.BLOCK_BLOT;function Tx(r){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return r.descendants(Fi).reduce((t,n)=>n.length()===0?t:t.insert(n.value(),cs(n,{},e)),new Vt).insert(`
57
+ `,cs(r))}function cs(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:cs(r.parent,e,t)}const ls=class ls extends qo{static value(){}constructor(e,t,n){super(e,t),this.selection=n,this.textNode=document.createTextNode(ls.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,i=0;for(;n!=null&&n.statics.scope!==er.BLOCK_BLOT;)i+=n.offset(n.parent),n=n.parent;n!=null&&(this.savedLength=ls.CONTENTS.length,n.optimize(),n.formatAt(i,ls.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 zs?this.prev:null,n=t?t.length():0,i=this.next instanceof zs?this.next:null,l=i?i.text:"",{textNode:u}=this,h=u.data.split(ls.CONTENTS).join("");u.data=ls.CONTENTS;let g;if(t)g=t,(h||i)&&(t.insertAt(t.length(),h+l),i&&i.remove());else if(i)g=i,i.insertAt(0,h);else{const m=document.createTextNode(h);g=this.scroll.create(m),this.parent.insertBefore(g,this)}if(this.remove(),e){const m=(C,_)=>t&&C===t.domNode?_:C===u?n+_-1:i&&C===i.domNode?n+h.length+_:null,M=m(e.start.node,e.start.offset),T=m(e.end.node,e.end.offset);if(M!==null&&T!==null)return{startNode:g.domNode,startOffset:M,endNode:g.domNode,endOffset:T}}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=ls.CONTENTS.length,t.isolate(this.offset(t),this.length()).unwrap(),this.savedLength=0;break}t=t.parent}}value(){return""}};at(ls,"blotName","cursor"),at(ls,"className","ql-cursor"),at(ls,"tagName","span"),at(ls,"CONTENTS","\uFEFF");let Zu=ls;var tp={exports:{}},P0;function zL(){return P0||(P0=1,function(r){var e=Object.prototype.hasOwnProperty,t="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(t=!1));function i(g,m,M){this.fn=g,this.context=m,this.once=M||!1}function l(g,m,M,T,C){if(typeof M!="function")throw new TypeError("The listener must be a function");var _=new i(M,T||g,C),S=t?t+m:m;return g._events[S]?g._events[S].fn?g._events[S]=[g._events[S],_]:g._events[S].push(_):(g._events[S]=_,g._eventsCount++),g}function u(g,m){--g._eventsCount===0?g._events=new n:delete g._events[m]}function h(){this._events=new n,this._eventsCount=0}h.prototype.eventNames=function(){var m=[],M,T;if(this._eventsCount===0)return m;for(T in M=this._events)e.call(M,T)&&m.push(t?T.slice(1):T);return Object.getOwnPropertySymbols?m.concat(Object.getOwnPropertySymbols(M)):m},h.prototype.listeners=function(m){var M=t?t+m:m,T=this._events[M];if(!T)return[];if(T.fn)return[T.fn];for(var C=0,_=T.length,S=new Array(_);C<_;C++)S[C]=T[C].fn;return S},h.prototype.listenerCount=function(m){var M=t?t+m:m,T=this._events[M];return T?T.fn?1:T.length:0},h.prototype.emit=function(m,M,T,C,_,S){var D=t?t+m:m;if(!this._events[D])return!1;var A=this._events[D],b=arguments.length,R,O;if(A.fn){switch(A.once&&this.removeListener(m,A.fn,void 0,!0),b){case 1:return A.fn.call(A.context),!0;case 2:return A.fn.call(A.context,M),!0;case 3:return A.fn.call(A.context,M,T),!0;case 4:return A.fn.call(A.context,M,T,C),!0;case 5:return A.fn.call(A.context,M,T,C,_),!0;case 6:return A.fn.call(A.context,M,T,C,_,S),!0}for(O=1,R=new Array(b-1);O<b;O++)R[O-1]=arguments[O];A.fn.apply(A.context,R)}else{var q=A.length,H;for(O=0;O<q;O++)switch(A[O].once&&this.removeListener(m,A[O].fn,void 0,!0),b){case 1:A[O].fn.call(A[O].context);break;case 2:A[O].fn.call(A[O].context,M);break;case 3:A[O].fn.call(A[O].context,M,T);break;case 4:A[O].fn.call(A[O].context,M,T,C);break;default:if(!R)for(H=1,R=new Array(b-1);H<b;H++)R[H-1]=arguments[H];A[O].fn.apply(A[O].context,R)}}return!0},h.prototype.on=function(m,M,T){return l(this,m,M,T,!1)},h.prototype.once=function(m,M,T){return l(this,m,M,T,!0)},h.prototype.removeListener=function(m,M,T,C){var _=t?t+m:m;if(!this._events[_])return this;if(!M)return u(this,_),this;var S=this._events[_];if(S.fn)S.fn===M&&(!C||S.once)&&(!T||S.context===T)&&u(this,_);else{for(var D=0,A=[],b=S.length;D<b;D++)(S[D].fn!==M||C&&!S[D].once||T&&S[D].context!==T)&&A.push(S[D]);A.length?this._events[_]=A.length===1?A[0]:A:u(this,_)}return this},h.prototype.removeAllListeners=function(m){var M;return m?(M=t?t+m:m,this._events[M]&&u(this,M)):(this._events=new n,this._eventsCount=0),this},h.prototype.off=h.prototype.removeListener,h.prototype.addListener=h.prototype.on,h.prefixed=t,h.EventEmitter=h,r.exports=h}(tp)),tp.exports}var $L=zL();const UL=ol($L),Z1=new WeakMap,Y1=["error","warn","log","info"];let K1="warn";function Ex(r){if(K1&&Y1.indexOf(r)<=Y1.indexOf(K1)){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 al(r){return Y1.reduce((e,t)=>(e[t]=Ex.bind(console,t,r),e),{})}al.level=r=>{K1=r};Ex.level=al.level;const rp=al("quill:events"),WL=["selectionchange","mousedown","mouseup","click"];WL.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(i=>{const l=Z1.get(i);l&&l.emitter&&l.emitter.handleDOM(...t)})})});class Gt extends UL{constructor(){super(),this.domListeners={},this.on("error",rp.error)}emit(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return rp.log.call(rp,...t),super.emit(...t)}handleDOM(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];(this.domListeners[e.type]||[]).forEach(l=>{let{node:u,handler:h}=l;(e.target===u||u.contains(e.target))&&h(e,...n)})}listenDOM(e,t,n){this.domListeners[e]||(this.domListeners[e]=[]),this.domListeners[e].push({node:t,handler:n})}}at(Gt,"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"}),at(Gt,"sources",{API:"api",SILENT:"silent",USER:"user"});const np=al("quill:selection");class Yc{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this.index=e,this.length=t}}class VL{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 Yc(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,Gt.sources.USER),1)}),this.emitter.on(Gt.events.SCROLL_BEFORE_UPDATE,()=>{if(!this.hasFocus())return;const n=this.getNativeRange();n!=null&&n.start.node!==this.cursor.textNode&&this.emitter.once(Gt.events.SCROLL_UPDATE,(i,l)=>{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=l.some(h=>h.type==="characterData"||h.type==="childList"||h.type==="attributes"&&h.target===this.root);this.update(u?Gt.sources.SILENT:i)}catch{}})}),this.emitter.on(Gt.events.SCROLL_OPTIMIZE,(n,i)=>{if(i.range){const{startNode:l,startOffset:u,endNode:h,endOffset:g}=i.range;this.setNativeRange(l,u,h,g),this.update(Gt.sources.SILENT)}}),this.update(Gt.sources.SILENT)}handleComposition(){this.emitter.on(Gt.events.COMPOSITION_BEFORE_START,()=>{this.composing=!0}),this.emitter.on(Gt.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(Gt.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,er.BLOCK))){if(n.start.node!==this.cursor.textNode){const i=this.scroll.find(n.start.node,!1);if(i==null)return;if(i instanceof Fi){const l=i.split(n.start.offset);i.parent.insertBefore(this.cursor,l)}else i.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 i,[l,u]=this.scroll.leaf(e);if(l==null)return null;if(t>0&&u===l.length()){const[M]=this.scroll.leaf(e+1);if(M){const[T]=this.scroll.line(e),[C]=this.scroll.line(e+1);T===C&&(l=M,u=0)}}[i,u]=l.position(u,!0);const h=document.createRange();if(t>0)return h.setStart(i,u),[l,u]=this.scroll.leaf(e+t),l==null?null:([i,u]=l.position(u,!0),h.setEnd(i,u),h.getBoundingClientRect());let g="left",m;if(i instanceof Text){if(!i.data.length)return null;u<i.data.length?(h.setStart(i,u),h.setEnd(i,u+1)):(h.setStart(i,u-1),h.setEnd(i,u),g="right"),m=h.getBoundingClientRect()}else{if(!(l.domNode instanceof Element))return null;m=l.domNode.getBoundingClientRect(),u>0&&(g="right")}return{bottom:m.top+m.height,height:m.height,left:m[g],right:m[g],top:m.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 np.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&&ip(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[h,g]=u,m=this.scroll.find(h,!0),M=m.offset(this.scroll);return g===0?M:m instanceof Fi?M+m.index(h,g):M+m.length()}),i=Math.min(Math.max(...n),this.scroll.length()-1),l=Math.min(i,...n);return new Yc(l,i-l)}normalizeNative(e){if(!ip(this.root,e.startContainer)||!e.collapsed&&!ip(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:i,offset:l}=n;for(;!(i instanceof Text)&&i.childNodes.length>0;)if(i.childNodes.length>l)i=i.childNodes[l],l=0;else if(i.childNodes.length===l)i=i.lastChild,i instanceof Text?l=i.data.length:i.childNodes.length>0?l=i.childNodes.length:l=i.childNodes.length+1;else break;n.node=i,n.offset=l}),t}rangeToNative(e){const t=this.scroll.length(),n=(i,l)=>{i=Math.min(t-1,i);const[u,h]=this.scroll.leaf(i);return u?u.position(h,l):[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,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:t,l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(np.info("setNativeRange",e,t,n,i),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:h}=this.getNativeRange()||{};if(h==null||l||e!==h.startContainer||t!==h.startOffset||n!==h.endContainer||i!==h.endOffset){e instanceof Element&&e.tagName==="BR"&&(t=Array.from(e.parentNode.childNodes).indexOf(e),e=e.parentNode),n instanceof Element&&n.tagName==="BR"&&(i=Array.from(n.parentNode.childNodes).indexOf(n),n=n.parentNode);const g=document.createRange();g.setStart(e,t),g.setEnd(n,i),u.removeAllRanges(),u.addRange(g)}}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]:Gt.sources.API;if(typeof t=="string"&&(n=t,t=!1),np.info("setRange",e),e!=null){const i=this.rangeToNative(e);this.setNativeRange(...i,t)}else this.setNativeRange(null);this.update(n)}update(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Gt.sources.USER;const t=this.lastRange,[n,i]=this.getRange();if(this.lastRange=n,this.lastNative=i,this.lastRange!=null&&(this.savedRange=this.lastRange),!wm(t,this.lastRange)){if(!this.composing&&i!=null&&i.native.collapsed&&i.start.node!==this.cursor.textNode){const u=this.cursor.restore();u&&this.setNativeRange(u.startNode,u.startOffset,u.endNode,u.endOffset)}const l=[Gt.events.SELECTION_CHANGE,qu(this.lastRange),qu(t),e];this.emitter.emit(Gt.events.EDITOR_CHANGE,...l),e!==Gt.sources.SILENT&&this.emitter.emit(...l)}}}function ip(r,e){try{e.parentNode}catch{return!1}return r.contains(e)}const GL=/^[ -~]*$/;class ZL{constructor(e){this.scroll=e,this.delta=this.getDelta()}applyDelta(e){this.scroll.update();let t=this.scroll.length();this.scroll.batchStart();const n=N0(e),i=new Vt;return KL(n.ops.slice()).reduce((u,h)=>{const g=ds.Op.length(h);let m=h.attributes||{},M=!1,T=!1;if(h.insert!=null){if(i.retain(g),typeof h.insert=="string"){const S=h.insert;T=!S.endsWith(`
58
+ `)&&(t<=u||!!this.scroll.descendant(fs,u)[0]),this.scroll.insertAt(u,S);const[D,A]=this.scroll.line(u);let b=Xl({},cs(D));if(D instanceof Pi){const[R]=D.descendant(Fi,A);R&&(b=Xl(b,cs(R)))}m=ds.AttributeMap.diff(b,m)||{}}else if(typeof h.insert=="object"){const S=Object.keys(h.insert)[0];if(S==null)return u;const D=this.scroll.query(S,er.INLINE)!=null;if(D)(t<=u||this.scroll.descendant(fs,u)[0])&&(T=!0);else if(u>0){const[A,b]=this.scroll.descendant(Fi,u-1);A instanceof zs?A.value()[b]!==`
59
+ `&&(M=!0):A instanceof qo&&A.statics.scope===er.INLINE_BLOT&&(M=!0)}if(this.scroll.insertAt(u,S,h.insert[S]),D){const[A]=this.scroll.descendant(Fi,u);if(A){const b=Xl({},cs(A));m=ds.AttributeMap.diff(b,m)||{}}}}t+=g}else if(i.push(h),h.retain!==null&&typeof h.retain=="object"){const S=Object.keys(h.retain)[0];if(S==null)return u;this.scroll.updateEmbedAt(u,S,h.retain[S])}Object.keys(m).forEach(S=>{this.scroll.formatAt(u,g,S,m[S])});const C=M?1:0,_=T?1:0;return t+=C+_,i.retain(C),i.delete(_),u+g+C+_},0),i.reduce((u,h)=>typeof h.delete=="number"?(this.scroll.deleteAt(u,h.delete),u):u+ds.Op.length(h),0),this.scroll.batchEnd(),this.scroll.optimize(),this.update(n)}deleteText(e,t){return this.scroll.deleteAt(e,t),this.update(new Vt().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(l=>{this.scroll.lines(e,Math.max(t,1)).forEach(u=>{u.format(l,n[l])})}),this.scroll.optimize();const i=new Vt().retain(e).retain(t,qu(n));return this.update(i)}formatText(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Object.keys(n).forEach(l=>{this.scroll.formatAt(e,t,l,n[l])});const i=new Vt().retain(e).retain(t,qu(n));return this.update(i)}getContents(e,t){return this.delta.slice(e,e+t)}getDelta(){return this.scroll.lines().reduce((e,t)=>e.concat(t.delta()),new Vt)}getFormat(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=[],i=[];t===0?this.scroll.path(e).forEach(h=>{const[g]=h;g instanceof Pi?n.push(g):g instanceof Fi&&i.push(g)}):(n=this.scroll.lines(e,t),i=this.scroll.descendants(Fi,e,t));const[l,u]=[n,i].map(h=>{const g=h.shift();if(g==null)return{};let m=cs(g);for(;Object.keys(m).length>0;){const M=h.shift();if(M==null)return m;m=YL(cs(M),m)}return m});return{...l,...u}}getHTML(e,t){const[n,i]=this.scroll.line(e);if(n){const l=n.length();return n.length()>=i+t&&!(i===0&&t===l)?Xf(n,i,t,!0):Xf(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=N0(t),i=new Vt().retain(e).concat(n);return this.scroll.insertContents(e,n),this.update(i)}insertEmbed(e,t,n){return this.scroll.insertAt(e,t,n),this.update(new Vt().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,`
60
+ `).replace(/\r/g,`
61
+ `),this.scroll.insertAt(e,t),Object.keys(n).forEach(i=>{this.scroll.formatAt(e,t.length,i,n[i])}),this.update(new Vt().retain(e).insert(t,qu(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)!==Pi.blotName)return!1;const t=e;return t.children.length>1?!1:t.children.head instanceof Us}removeFormat(e,t){const n=this.getText(e,t),[i,l]=this.scroll.line(e+t);let u=0,h=new Vt;i!=null&&(u=i.length()-l,h=i.delta().slice(l,l+u-1).insert(`
62
+ `));const m=this.getContents(e,t+u).diff(new Vt().insert(n).concat(h)),M=new Vt().retain(e).concat(m);return this.applyDelta(M)}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 i=this.delta;if(t.length===1&&t[0].type==="characterData"&&t[0].target.data.match(GL)&&this.scroll.find(t[0].target)){const l=this.scroll.find(t[0].target),u=cs(l),h=l.offset(this.scroll),g=t[0].oldValue.replace(Zu.CONTENTS,""),m=new Vt().insert(g),M=new Vt().insert(l.value()),T=n&&{oldRange:j0(n.oldRange,-h),newRange:j0(n.newRange,-h)};e=new Vt().retain(h).concat(m.diff(M,T)).reduce((_,S)=>S.insert?_.insert(S.insert,u):_.push(S),new Vt),this.delta=i.compose(e)}else this.delta=this.getDelta(),(!e||!wm(i.compose(e),this.delta))&&(e=i.diff(this.delta,n));return e}}function Nu(r,e,t){if(r.length===0){const[_]=op(t.pop());return e<=0?`</li></${_}>`:`</li></${_}>${Nu([],e-1,t)}`}const[{child:n,offset:i,length:l,indent:u,type:h},...g]=r,[m,M]=op(h);if(u>e)return t.push(h),u===e+1?`<${m}><li${M}>${Xf(n,i,l)}${Nu(g,u,t)}`:`<${m}><li>${Nu(r,e+1,t)}`;const T=t[t.length-1];if(u===e&&h===T)return`</li><li${M}>${Xf(n,i,l)}${Nu(g,u,t)}`;const[C]=op(t.pop());return`</li></${C}>${Nu(r,e-1,t)}`}function Xf(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 zs)return fh(r.value().slice(e,e+t)).replaceAll(" ","&nbsp;");if(r instanceof Hs){if(r.statics.blotName==="list-container"){const m=[];return r.children.forEachAt(e,t,(M,T,C)=>{const _="formats"in M&&typeof M.formats=="function"?M.formats():{};m.push({child:M,offset:T,length:C,indent:_.indent||0,type:_.list})}),Nu(m,-1,[])}const i=[];if(r.children.forEachAt(e,t,(m,M,T)=>{i.push(Xf(m,M,T))}),n||r.statics.blotName==="list")return i.join("");const{outerHTML:l,innerHTML:u}=r.domNode,[h,g]=l.split(`>${u}<`);return h==="<table"?`<table style="border: 1px solid #000;">${i.join("")}<${g}`:`${h}>${i.join("")}<${g}`}return r.domNode instanceof Element?r.domNode.outerHTML:""}function YL(r,e){return Object.keys(e).reduce((t,n)=>{if(r[n]==null)return t;const i=e[n];return i===r[n]?t[n]=i:Array.isArray(i)?i.indexOf(r[n])<0?t[n]=i.concat([r[n]]):t[n]=i:t[n]=[i,r[n]],t},{})}function op(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 N0(r){return r.reduce((e,t)=>{if(typeof t.insert=="string"){const n=t.insert.replace(/\r\n/g,`
63
+ `).replace(/\r/g,`
64
+ `);return e.insert(n,t.attributes)}return e.push(t)},new Vt)}function j0(r,e){let{index:t,length:n}=r;return new Yc(t+e,n)}function KL(r){const e=[];return r.forEach(t=>{typeof t.insert=="string"?t.insert.split(`
65
+ `).forEach((i,l)=>{l&&e.push({insert:`
66
+ `,attributes:t.attributes}),i&&e.push({insert:i,attributes:t.attributes})}):e.push(t)}),e}class Ws{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.quill=e,this.options=t}}at(Ws,"DEFAULTS",{});const Dd="\uFEFF";class Em extends qo{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(Dd),this.rightGuard=document.createTextNode(Dd),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 i=e.data.split(Dd).join("");if(e===this.leftGuard)if(this.prev instanceof zs){const l=this.prev.length();this.prev.insertAt(l,i),t={startNode:this.prev.domNode,startOffset:l+i.length}}else n=document.createTextNode(i),this.parent.insertBefore(this.scroll.create(n),this),t={startNode:n,startOffset:i.length};else e===this.rightGuard&&(this.next instanceof zs?(this.next.insertAt(0,i),t={startNode:this.next.domNode,startOffset:i.length}):(n=document.createTextNode(i),this.parent.insertBefore(this.scroll.create(n),this.next),t={startNode:n,startOffset:i.length}));return e.data=Dd,t}update(e,t){e.forEach(n=>{if(n.type==="characterData"&&(n.target===this.leftGuard||n.target===this.rightGuard)){const i=this.restore(n.target);i&&(t.range=i)}})}}class XL{constructor(e,t){at(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 Em)&&(this.emitter.emit(Gt.events.COMPOSITION_BEFORE_START,e),this.scroll.batchStart(),this.emitter.emit(Gt.events.COMPOSITION_START,e),this.isComposing=!0)}handleCompositionEnd(e){this.emitter.emit(Gt.events.COMPOSITION_BEFORE_END,e),this.scroll.batchEnd(),this.emitter.emit(Gt.events.COMPOSITION_END,e),this.isComposing=!1}}const zf=class zf{constructor(e,t){at(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]}};at(zf,"DEFAULTS",{modules:{}}),at(zf,"themes",{default:zf});let Yu=zf;const JL=r=>r.parentElement||r.getRootNode().host||null,QL=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}},Od=r=>{const e=parseInt(r,10);return Number.isNaN(e)?0:e},F0=(r,e,t,n,i,l)=>r<t&&e>n?0:r<t?-(t-r+i):e>n?e-r>n-t?r+i-t:e-n+l:0,eM=(r,e)=>{var l,u,h;const t=r.ownerDocument;let n=e,i=r;for(;i;){const g=i===t.body,m=g?{top:0,right:((l=window.visualViewport)==null?void 0:l.width)??t.documentElement.clientWidth,bottom:((u=window.visualViewport)==null?void 0:u.height)??t.documentElement.clientHeight,left:0}:QL(i),M=getComputedStyle(i),T=F0(n.left,n.right,m.left,m.right,Od(M.scrollPaddingLeft),Od(M.scrollPaddingRight)),C=F0(n.top,n.bottom,m.top,m.bottom,Od(M.scrollPaddingTop),Od(M.scrollPaddingBottom));if(T||C)if(g)(h=t.defaultView)==null||h.scrollBy(T,C);else{const{scrollLeft:_,scrollTop:S}=i;C&&(i.scrollTop+=C),T&&(i.scrollLeft+=T);const D=i.scrollLeft-_,A=i.scrollTop-S;n={left:n.left-D,top:n.top-A,right:n.right-D,bottom:n.bottom-A}}i=g||M.position==="fixed"?null:JL(i)}},tM=100,rM=["block","break","cursor","inline","scroll","text"],nM=(r,e,t)=>{const n=new Gu;return rM.forEach(i=>{const l=e.query(i);l&&n.register(l)}),r.forEach(i=>{let l=e.query(i);l||t.error(`Cannot register "${i}" specified in "formats" config. Are you sure it was registered?`);let u=0;for(;l;)if(n.register(l),l="blotName"in l?l.requiredContainer??null:null,u+=1,u>tM){t.error(`Cycle detected in registering blot requiredContainer: "${i}"`);break}}),n},$u=al("quill"),Pd=new Gu;Hs.uiClass="ql-ui";const Os=class Os{static debug(e){e===!0&&(e="log"),al.level(e)}static find(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Z1.get(e)||Pd.find(e,t)}static import(e){return this.imports[e]==null&&$u.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(i=>{this.register(i,e[i],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&&$u.warn(`Overwriting ${e} with`,t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&t&&typeof t!="boolean"&&t.blotName!=="abstract"&&Pd.register(t),typeof t.register=="function"&&t.register(Pd)}}constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.options=iM(e,t),this.container=this.options.container,this.container==null){$u.error("Invalid Quill container",e);return}this.options.debug&&Os.debug(this.options.debug);const n=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",Z1.set(this.container,this),this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.emitter=new Gt;const i=Tm.blotName,l=this.options.registry.query(i);if(!l||!("blotName"in l))throw new Error(`Cannot initialize Quill without "${i}" blot`);if(this.scroll=new l(this.options.registry,this.root,{emitter:this.emitter}),this.editor=new ZL(this.scroll),this.selection=new VL(this.scroll,this.emitter),this.composition=new XL(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(Gt.events.EDITOR_CHANGE,u=>{u===Gt.events.TEXT_CHANGE&&this.root.classList.toggle("ql-blank",this.editor.isBlank())}),this.emitter.on(Gt.events.SCROLL_UPDATE,(u,h)=>{const g=this.selection.lastRange,[m]=this.selection.getRange(),M=g&&m?{oldRange:g,newRange:m}:void 0;Ds.call(this,()=>this.editor.update(null,h,M),u)}),this.emitter.on(Gt.events.SCROLL_EMBED_UPDATE,(u,h)=>{const g=this.selection.lastRange,[m]=this.selection.getRange(),M=g&&m?{oldRange:g,newRange:m}:void 0;Ds.call(this,()=>{const T=new Vt().retain(u.offset(this)).retain({[u.statics.blotName]:h});return this.editor.update(T,[],M)},Os.sources.USER)}),n){const u=this.clipboard.convert({html:`${n}<p><br></p>`,text:`
67
+ `});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]=Ja(e,t,n),Ds.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]:Gt.sources.API;return Ds.call(this,()=>{const i=this.getSelection(!0);let l=new Vt;if(i==null)return l;if(this.scroll.query(e,er.BLOCK))l=this.editor.formatLine(i.index,i.length,{[e]:t});else{if(i.length===0)return this.selection.format(e,t),l;l=this.editor.formatText(i.index,i.length,{[e]:t})}return this.setSelection(i,Gt.sources.SILENT),l},n)}formatLine(e,t,n,i,l){let u;return[e,t,u,l]=Ja(e,t,n,i,l),Ds.call(this,()=>this.editor.formatLine(e,t,u),l,e,0)}formatText(e,t,n,i,l){let u;return[e,t,u,l]=Ja(e,t,n,i,l),Ds.call(this,()=>this.editor.formatText(e,t,u),l,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 i=this.container.getBoundingClientRect();return{bottom:n.bottom-i.top,height:n.height,left:n.left-i.left,right:n.right-i.left,top:n.top-i.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]=Ja(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]=Ja(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]=Ja(e,t),this.editor.getText(e,t)}hasFocus(){return this.selection.hasFocus()}insertEmbed(e,t,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Os.sources.API;return Ds.call(this,()=>this.editor.insertEmbed(e,t,n),i,e)}insertText(e,t,n,i,l){let u;return[e,,u,l]=Ja(e,0,n,i,l),Ds.call(this,()=>this.editor.insertText(e,t,u),l,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]=Ja(e,t,n),Ds.call(this,()=>this.editor.removeFormat(e,t),n,e)}scrollRectIntoView(e){eM(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]:Gt.sources.API;return Ds.call(this,()=>{e=new Vt(e);const n=this.getLength(),i=this.editor.deleteText(0,n),l=this.editor.insertContents(0,e),u=this.editor.deleteText(this.getLength()-1,1);return i.compose(l).compose(u)},t)}setSelection(e,t,n){e==null?this.selection.setRange(null,t||Os.sources.API):([e,t,,n]=Ja(e,t,n),this.selection.setRange(new Yc(Math.max(0,e),t),n),n!==Gt.sources.SILENT&&this.scrollSelectionIntoView())}setText(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gt.sources.API;const n=new Vt().insert(e);return this.setContents(n,t)}update(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Gt.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]:Gt.sources.API;return Ds.call(this,()=>(e=new Vt(e),this.editor.applyDelta(e)),t,!0)}};at(Os,"DEFAULTS",{bounds:null,modules:{clipboard:!0,keyboard:!0,history:!0,uploader:!0},placeholder:"",readOnly:!1,registry:Pd,theme:"default"}),at(Os,"events",Gt.events),at(Os,"sources",Gt.sources),at(Os,"version","2.0.3"),at(Os,"imports",{delta:Vt,parchment:NL,"core/module":Ws,"core/theme":Yu});let Ue=Os;function B0(r){return typeof r=="string"?document.querySelector(r):r}function sp(r){return Object.entries(r??{}).reduce((e,t)=>{let[n,i]=t;return{...e,[n]:i===!0?{}:i}},{})}function H0(r){return Object.fromEntries(Object.entries(r).filter(e=>e[1]!==void 0))}function iM(r,e){const t=B0(r);if(!t)throw new Error("Invalid Quill container");const i=!e.theme||e.theme===Ue.DEFAULTS.theme?Yu:Ue.import(`themes/${e.theme}`);if(!i)throw new Error(`Invalid theme ${e.theme}. Did you register it?`);const{modules:l,...u}=Ue.DEFAULTS,{modules:h,...g}=i.DEFAULTS;let m=sp(e.modules);m!=null&&m.toolbar&&m.toolbar.constructor!==Object&&(m={...m,toolbar:{container:m.toolbar}});const M=Xl({},sp(l),sp(h),m),T={...u,...H0(g),...H0(e)};let C=e.registry;return C?e.formats&&$u.warn('Ignoring "formats" option because "registry" is specified'):C=e.formats?nM(e.formats,T.registry,$u):T.registry,{...T,registry:C,container:t,theme:i,modules:Object.entries(M).reduce((_,S)=>{let[D,A]=S;if(!A)return _;const b=Ue.import(`modules/${D}`);return b==null?($u.error(`Cannot load ${D} module. Are you sure you registered it?`),_):{..._,[D]:Xl({},b.DEFAULTS||{},A)}},{}),bounds:B0(T.bounds)}}function Ds(r,e,t,n){if(!this.isEnabled()&&e===Gt.sources.USER&&!this.allowReadOnlyEdits)return new Vt;let i=t==null?null:this.getSelection();const l=this.editor.delta,u=r();if(i!=null&&(t===!0&&(t=i.index),n==null?i=q0(i,u,e):n!==0&&(i=q0(i,t,n,e)),this.setSelection(i,Gt.sources.SILENT)),u.length()>0){const h=[Gt.events.TEXT_CHANGE,u,l,e];this.emitter.emit(Gt.events.EDITOR_CHANGE,...h),e!==Gt.sources.SILENT&&this.emitter.emit(...h)}return u}function Ja(r,e,t,n,i){let l={};return typeof r.index=="number"&&typeof r.length=="number"?typeof e!="number"?(i=n,n=t,t=e,e=r.length,r=r.index):(e=r.length,r=r.index):typeof e!="number"&&(i=n,n=t,t=e,e=0),typeof t=="object"?(l=t,i=n):typeof t=="string"&&(n!=null?l[t]=n:i=t),i=i||Gt.sources.API,[r,e,l,i]}function q0(r,e,t,n){const i=typeof t=="number"?t:0;if(r==null)return null;let l,u;return e&&typeof e.transformPosition=="function"?[l,u]=[r.index,r.index+r.length].map(h=>e.transformPosition(h,n!==Gt.sources.USER)):[l,u]=[r.index,r.index+r.length].map(h=>h<e||h===e&&n===Gt.sources.USER?h:i>=0?h+i:Math.max(e,h+i)),new Yc(l,u-l)}class eu extends uh{}function z0(r){return r instanceof Pi||r instanceof fs}function $0(r){return typeof r.updateContent=="function"}class ju extends Tm{constructor(e,t,n){let{emitter:i}=n;super(e,t),this.emitter=i,this.batch=!1,this.optimize(),this.enable(),this.domNode.addEventListener("dragstart",l=>this.handleDragStart(l))}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(Gt.events.SCROLL_BLOT_MOUNT,e)}emitUnmount(e){this.emitter.emit(Gt.events.SCROLL_BLOT_UNMOUNT,e)}emitEmbedUpdate(e,t){this.emitter.emit(Gt.events.SCROLL_EMBED_UPDATE,e,t)}deleteAt(e,t){const[n,i]=this.line(e),[l]=this.line(e+t);if(super.deleteAt(e,t),l!=null&&n!==l&&i>0){if(n instanceof fs||l instanceof fs){this.optimize();return}const u=l.children.head instanceof Us?null:l.children.head;n.moveChildren(l,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,i){super.formatAt(e,t,n,i),this.optimize()}insertAt(e,t,n){if(e>=this.length())if(n==null||this.scroll.query(t,er.BLOCK)==null){const i=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(i),n==null&&t.endsWith(`
68
+ `)?i.insertAt(0,t.slice(0,-1),n):i.insertAt(0,t,n)}else{const i=this.scroll.create(t,n);this.appendChild(i)}else super.insertAt(e,t,n);this.optimize()}insertBefore(e,t){if(e.statics.scope===er.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 Vt().insert(`
69
+ `))),i=n.pop();if(i==null)return;this.batchStart();const l=n.shift();if(l){const g=l.type==="block"&&(l.delta.length()===0||!this.descendant(fs,e)[0]&&e<this.length()),m=l.type==="block"?l.delta:new Vt().insert({[l.key]:l.value});ap(this,e,m);const M=l.type==="block"?1:0,T=e+m.length()+M;g&&this.insertAt(T-1,`
70
+ `);const C=cs(this.line(e)[0]),_=ds.AttributeMap.diff(C,l.attributes)||{};Object.keys(_).forEach(S=>{this.formatAt(T-1,1,S,_[S])}),e=T}let[u,h]=this.children.find(e);if(n.length&&(u&&(u=u.split(h),h=0),n.forEach(g=>{if(g.type==="block"){const m=this.createBlock(g.attributes,u||void 0);ap(m,0,g.delta)}else{const m=this.create(g.key,g.value);this.insertBefore(m,u||void 0),Object.keys(g.attributes).forEach(M=>{m.format(M,g.attributes[M])})}})),i.type==="block"&&i.delta.length()){const g=u?u.offset(u.scroll)+h:this.length();ap(this,g,i.delta)}this.batchEnd(),this.optimize()}isEnabled(){return this.domNode.getAttribute("contenteditable")==="true"}leaf(e){const t=this.path(e).pop();if(!t)return[null,-1];const[n,i]=t;return n instanceof Fi?[n,i]:[null,-1]}line(e){return e===this.length()?this.line(e-1):this.descendant(z0,e)}lines(){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;const n=(i,l,u)=>{let h=[],g=u;return i.children.forEachAt(l,u,(m,M,T)=>{z0(m)?h.push(m):m instanceof uh&&(h=h.concat(n(m,M,g))),g-=T}),h};return n(this,e,t)}optimize(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.batch||(super.optimize(e,t),e.length>0&&this.emitter.emit(Gt.events.SCROLL_OPTIMIZE,e,t))}path(e){return super.path(e).slice(1)}remove(){}update(e){if(this.batch){Array.isArray(e)&&(this.batch=this.batch.concat(e));return}let t=Gt.sources.USER;typeof e=="string"&&(t=e),Array.isArray(e)||(e=this.observer.takeRecords()),e=e.filter(n=>{let{target:i}=n;const l=this.find(i,!0);return l&&!$0(l)}),e.length>0&&this.emitter.emit(Gt.events.SCROLL_BEFORE_UPDATE,t,e),super.update(e.concat([])),e.length>0&&this.emitter.emit(Gt.events.SCROLL_UPDATE,t,e)}updateEmbedAt(e,t,n){const[i]=this.descendant(l=>l instanceof fs,e);i&&i.statics.blotName===t&&$0(i)&&i.updateContent(n)}handleDragStart(e){e.preventDefault()}deltaToRenderBlocks(e){const t=[];let n=new Vt;return e.forEach(i=>{const l=i==null?void 0:i.insert;if(l)if(typeof l=="string"){const u=l.split(`
71
+ `);u.slice(0,-1).forEach(g=>{n.insert(g,i.attributes),t.push({type:"block",delta:n,attributes:i.attributes??{}}),n=new Vt});const h=u[u.length-1];h&&n.insert(h,i.attributes)}else{const u=Object.keys(l)[0];if(!u)return;this.query(u,er.INLINE)?n.push(i):(n.length()&&t.push({type:"block",delta:n,attributes:{}}),n=new Vt,t.push({type:"blockEmbed",key:u,value:l[u],attributes:i.attributes??{}}))}}),n.length()&&t.push({type:"block",delta:n,attributes:{}}),t}createBlock(e,t){let n;const i={};Object.entries(e).forEach(h=>{let[g,m]=h;this.query(g,er.BLOCK&er.BLOT)!=null?n=g:i[g]=m});const l=this.create(n||this.statics.defaultChild.blotName,n?e[n]:void 0);this.insertBefore(l,t||void 0);const u=l.length();return Object.entries(i).forEach(h=>{let[g,m]=h;l.formatAt(0,u,g,m)}),l}}at(ju,"blotName","scroll"),at(ju,"className","ql-editor"),at(ju,"tagName","DIV"),at(ju,"defaultChild",Pi),at(ju,"allowedChildren",[Pi,fs,eu]);function ap(r,e,t){t.reduce((n,i)=>{const l=ds.Op.length(i);let u=i.attributes||{};if(i.insert!=null){if(typeof i.insert=="string"){const h=i.insert;r.insertAt(n,h);const[g]=r.descendant(Fi,n),m=cs(g);u=ds.AttributeMap.diff(m,u)||{}}else if(typeof i.insert=="object"){const h=Object.keys(i.insert)[0];if(h==null)return n;if(r.insertAt(n,h,i.insert[h]),r.scroll.query(h,er.INLINE)!=null){const[m]=r.descendant(Fi,n),M=cs(m);u=ds.AttributeMap.diff(M,u)||{}}}}return Object.keys(u).forEach(h=>{r.formatAt(n,l,h,u[h])}),n+l},e)}const km={scope:er.BLOCK,whitelist:["right","center","justify"]},oM=new xa("align","align",km),kx=new $s("align","ql-align",km),Rx=new rc("align","text-align",km);class Ix extends rc{value(e){let t=super.value(e);return t.startsWith("rgb(")?(t=t.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),`#${t.split(",").map(i=>`00${parseInt(i,10).toString(16)}`.slice(-2)).join("")}`):t}}const sM=new $s("color","ql-color",{scope:er.INLINE}),Rm=new Ix("color","color",{scope:er.INLINE}),aM=new $s("background","ql-bg",{scope:er.INLINE}),Im=new Ix("background","background-color",{scope:er.INLINE});class tu extends eu{static create(e){const t=super.create(e);return t.setAttribute("spellcheck","false"),t}code(e,t){return this.children.map(n=>n.length()<=1?"":n.domNode.innerText).join(`
72
+ `).slice(e,e+t)}html(e,t){return`<pre>
73
+ ${fh(this.code(e,t))}
74
+ </pre>`}}class Hi extends Pi{static register(){Ue.register(tu)}}at(Hi,"TAB"," ");class Lm extends Sa{}Lm.blotName="code";Lm.tagName="CODE";Hi.blotName="code-block";Hi.className="ql-code-block";Hi.tagName="DIV";tu.blotName="code-block-container";tu.className="ql-code-block-container";tu.tagName="DIV";tu.allowedChildren=[Hi];Hi.allowedChildren=[zs,Us,Zu];Hi.requiredContainer=tu;const Mm={scope:er.BLOCK,whitelist:["rtl"]},Lx=new xa("direction","dir",Mm),Mx=new $s("direction","ql-direction",Mm),Dx=new rc("direction","direction",Mm),Ox={scope:er.INLINE,whitelist:["serif","monospace"]},Px=new $s("font","ql-font",Ox);class lM extends rc{value(e){return super.value(e).replace(/["']/g,"")}}const Nx=new lM("font","font-family",Ox),jx=new $s("size","ql-size",{scope:er.INLINE,whitelist:["small","large","huge"]}),Fx=new rc("size","font-size",{scope:er.INLINE,whitelist:["10px","18px","32px"]}),cM=al("quill:keyboard"),uM=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey";class dh extends Ws{static match(e,t){return["altKey","ctrlKey","metaKey","shiftKey"].some(n=>!!t[n]!==e[n]&&t[n]!==null)?!1:t.key===e.key||t.key===e.which}constructor(e,t){super(e,t),this.bindings={},Object.keys(this.options.bindings).forEach(n=>{this.options.bindings[n]&&this.addBinding(this.options.bindings[n])}),this.addBinding({key:"Enter",shiftKey:null},this.handleEnter),this.addBinding({key:"Enter",metaKey:null,ctrlKey:null,altKey:null},()=>{}),/Firefox/i.test(navigator.userAgent)?(this.addBinding({key:"Backspace"},{collapsed:!0},this.handleBackspace),this.addBinding({key:"Delete"},{collapsed:!0},this.handleDelete)):(this.addBinding({key:"Backspace"},{collapsed:!0,prefix:/^.?$/},this.handleBackspace),this.addBinding({key:"Delete"},{collapsed:!0,suffix:/^.?$/},this.handleDelete)),this.addBinding({key:"Backspace"},{collapsed:!1},this.handleDeleteRange),this.addBinding({key:"Delete"},{collapsed:!1},this.handleDeleteRange),this.addBinding({key:"Backspace",altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},this.handleBackspace),this.listen()}addBinding(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=dM(e);if(i==null){cM.warn("Attempted to add invalid keyboard binding",i);return}typeof t=="function"&&(t={handler:t}),typeof n=="function"&&(n={handler:n}),(Array.isArray(i.key)?i.key:[i.key]).forEach(u=>{const h={...i,key:u,...t,...n};this.bindings[h.key]=this.bindings[h.key]||[],this.bindings[h.key].push(h)})}listen(){this.quill.root.addEventListener("keydown",e=>{if(e.defaultPrevented||e.isComposing||e.keyCode===229&&(e.key==="Enter"||e.key==="Backspace"))return;const i=(this.bindings[e.key]||[]).concat(this.bindings[e.which]||[]).filter(b=>dh.match(e,b));if(i.length===0)return;const l=Ue.find(e.target,!0);if(l&&l.scroll!==this.quill.scroll)return;const u=this.quill.getSelection();if(u==null||!this.quill.hasFocus())return;const[h,g]=this.quill.getLine(u.index),[m,M]=this.quill.getLeaf(u.index),[T,C]=u.length===0?[m,M]:this.quill.getLeaf(u.index+u.length),_=m instanceof eh?m.value().slice(0,M):"",S=T instanceof eh?T.value().slice(C):"",D={collapsed:u.length===0,empty:u.length===0&&h.length()<=1,format:this.quill.getFormat(u),line:h,offset:g,prefix:_,suffix:S,event:e};i.some(b=>{if(b.collapsed!=null&&b.collapsed!==D.collapsed||b.empty!=null&&b.empty!==D.empty||b.offset!=null&&b.offset!==D.offset)return!1;if(Array.isArray(b.format)){if(b.format.every(R=>D.format[R]==null))return!1}else if(typeof b.format=="object"&&!Object.keys(b.format).every(R=>b.format[R]===!0?D.format[R]!=null:b.format[R]===!1?D.format[R]==null:wm(b.format[R],D.format[R])))return!1;return b.prefix!=null&&!b.prefix.test(D.prefix)||b.suffix!=null&&!b.suffix.test(D.suffix)?!1:b.handler.call(this,u,D,b)!==!0})&&e.preventDefault()})}handleBackspace(e,t){const n=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;if(e.index===0||this.quill.getLength()<=1)return;let i={};const[l]=this.quill.getLine(e.index);let u=new Vt().retain(e.index-n).delete(n);if(t.offset===0){const[h]=this.quill.getLine(e.index-1);if(h&&!(h.statics.blotName==="block"&&h.length()<=1)){const m=l.formats(),M=this.quill.getFormat(e.index-1,1);if(i=ds.AttributeMap.diff(m,M)||{},Object.keys(i).length>0){const T=new Vt().retain(e.index+l.length()-2).retain(1,i);u=u.compose(T)}}}this.quill.updateContents(u,Ue.sources.USER),this.quill.focus()}handleDelete(e,t){const n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(e.index>=this.quill.getLength()-n)return;let i={};const[l]=this.quill.getLine(e.index);let u=new Vt().retain(e.index).delete(n);if(t.offset>=l.length()-1){const[h]=this.quill.getLine(e.index+1);if(h){const g=l.formats(),m=this.quill.getFormat(e.index,1);i=ds.AttributeMap.diff(g,m)||{},Object.keys(i).length>0&&(u=u.retain(h.length()-1).retain(1,i))}}this.quill.updateContents(u,Ue.sources.USER),this.quill.focus()}handleDeleteRange(e){Dm({range:e,quill:this.quill}),this.quill.focus()}handleEnter(e,t){const n=Object.keys(t.format).reduce((l,u)=>(this.quill.scroll.query(u,er.BLOCK)&&!Array.isArray(t.format[u])&&(l[u]=t.format[u]),l),{}),i=new Vt().retain(e.index).delete(e.length).insert(`
75
+ `,n);this.quill.updateContents(i,Ue.sources.USER),this.quill.setSelection(e.index+1,Ue.sources.SILENT),this.quill.focus()}}const fM={bindings:{bold:lp("bold"),italic:lp("italic"),underline:lp("underline"),indent:{key:"Tab",format:["blockquote","indent","list"],handler(r,e){return e.collapsed&&e.offset!==0?!0:(this.quill.format("indent","+1",Ue.sources.USER),!1)}},outdent:{key:"Tab",shiftKey:!0,format:["blockquote","indent","list"],handler(r,e){return e.collapsed&&e.offset!==0?!0:(this.quill.format("indent","-1",Ue.sources.USER),!1)}},"outdent backspace":{key:"Backspace",collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler(r,e){e.format.indent!=null?this.quill.format("indent","-1",Ue.sources.USER):e.format.list!=null&&this.quill.format("list",!1,Ue.sources.USER)}},"indent code-block":U0(!0),"outdent code-block":U0(!1),"remove tab":{key:"Tab",shiftKey:!0,collapsed:!0,prefix:/\t$/,handler(r){this.quill.deleteText(r.index-1,1,Ue.sources.USER)}},tab:{key:"Tab",handler(r,e){if(e.format.table)return!0;this.quill.history.cutoff();const t=new Vt().retain(r.index).delete(r.length).insert(" ");return this.quill.updateContents(t,Ue.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(r.index+1,Ue.sources.SILENT),!1}},"blockquote empty enter":{key:"Enter",collapsed:!0,format:["blockquote"],empty:!0,handler(){this.quill.format("blockquote",!1,Ue.sources.USER)}},"list empty enter":{key:"Enter",collapsed:!0,format:["list"],empty:!0,handler(r,e){const t={list:!1};e.format.indent&&(t.indent=!1),this.quill.formatLine(r.index,r.length,t,Ue.sources.USER)}},"checklist enter":{key:"Enter",collapsed:!0,format:{list:"checked"},handler(r){const[e,t]=this.quill.getLine(r.index),n={...e.formats(),list:"checked"},i=new Vt().retain(r.index).insert(`
76
+ `,n).retain(e.length()-t-1).retain(1,{list:"unchecked"});this.quill.updateContents(i,Ue.sources.USER),this.quill.setSelection(r.index+1,Ue.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),i=new Vt().retain(r.index).insert(`
77
+ `,e.format).retain(t.length()-n-1).retain(1,{header:null});this.quill.updateContents(i,Ue.sources.USER),this.quill.setSelection(r.index+1,Ue.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,i,l]=e.getTable(r),u=hM(t,n,i,l);if(u==null)return;let h=t.offset();if(u<0){const g=new Vt().retain(h).insert(`
78
+ `);this.quill.updateContents(g,Ue.sources.USER),this.quill.setSelection(r.index+1,r.length,Ue.sources.SILENT)}else if(u>0){h+=t.length();const g=new Vt().retain(h).insert(`
79
+ `);this.quill.updateContents(g,Ue.sources.USER),this.quill.setSelection(h,Ue.sources.USER)}}}},"table tab":{key:"Tab",shiftKey:null,format:["table"],handler(r,e){const{event:t,line:n}=e,i=n.offset(this.quill.scroll);t.shiftKey?this.quill.setSelection(i-1,Ue.sources.USER):this.quill.setSelection(i+n.length(),Ue.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,i]=this.quill.getLine(r.index);if(i>t)return!0;let l;switch(e.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(r.index," ",Ue.sources.USER),this.quill.history.cutoff();const u=new Vt().retain(r.index-i).delete(t+1).retain(n.length()-2-i).retain(1,{list:l});return this.quill.updateContents(u,Ue.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(r.index-t,Ue.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,i=e;for(;i!=null&&i.length()<=1&&i.formats()["code-block"];)if(i=i.prev,n-=1,n<=0){const l=new Vt().retain(r.index+e.length()-t-2).retain(1,{"code-block":null}).delete(1);return this.quill.updateContents(l,Ue.sources.USER),this.quill.setSelection(r.index-1,Ue.sources.SILENT),!1}return!0}},"embed left":Nd("ArrowLeft",!1),"embed left shift":Nd("ArrowLeft",!0),"embed right":Nd("ArrowRight",!1),"embed right shift":Nd("ArrowRight",!0),"table down":W0(!1),"table up":W0(!0)}};dh.DEFAULTS=fM;function U0(r){return{key:"Tab",shiftKey:!r,format:{"code-block":!0},handler(e,t){let{event:n}=t;const i=this.quill.scroll.query("code-block"),{TAB:l}=i;if(e.length===0&&!n.shiftKey){this.quill.insertText(e.index,l,Ue.sources.USER),this.quill.setSelection(e.index+l.length,Ue.sources.SILENT);return}const u=e.length===0?this.quill.getLines(e.index,1):this.quill.getLines(e);let{index:h,length:g}=e;u.forEach((m,M)=>{r?(m.insertAt(0,l),M===0?h+=l.length:g+=l.length):m.domNode.textContent.startsWith(l)&&(m.deleteAt(0,l.length),M===0?h-=l.length:g-=l.length)}),this.quill.update(Ue.sources.USER),this.quill.setSelection(h,g,Ue.sources.SILENT)}}}function Nd(r,e){return{key:r,shiftKey:e,altKey:null,[r==="ArrowLeft"?"prefix":"suffix"]:/^$/,handler(n){let{index:i}=n;r==="ArrowRight"&&(i+=n.length+1);const[l]=this.quill.getLeaf(i);return l instanceof qo?(r==="ArrowLeft"?e?this.quill.setSelection(n.index-1,n.length+1,Ue.sources.USER):this.quill.setSelection(n.index-1,Ue.sources.USER):e?this.quill.setSelection(n.index,n.length+1,Ue.sources.USER):this.quill.setSelection(n.index+n.length+1,Ue.sources.USER),!1):!0}}}function lp(r){return{key:r[0],shortKey:!0,handler(e,t){this.quill.format(r,!t.format[r],Ue.sources.USER)}}}function W0(r){return{key:r?"ArrowUp":"ArrowDown",collapsed:!0,format:["table"],handler(e,t){const n=r?"prev":"next",i=t.line,l=i.parent[n];if(l!=null){if(l.statics.blotName==="table-row"){let u=l.children.head,h=i;for(;h.prev!=null;)h=h.prev,u=u.next;const g=u.offset(this.quill.scroll)+Math.min(t.offset,u.length()-1);this.quill.setSelection(g,0,Ue.sources.USER)}}else{const u=i.table()[n];u!=null&&(r?this.quill.setSelection(u.offset(this.quill.scroll)+u.length()-1,0,Ue.sources.USER):this.quill.setSelection(u.offset(this.quill.scroll),0,Ue.sources.USER))}return!1}}}function dM(r){if(typeof r=="string"||typeof r=="number")r={key:r};else if(typeof r=="object")r=qu(r);else return null;return r.shortKey&&(r[uM]=r.shortKey,delete r.shortKey),r}function Dm(r){let{quill:e,range:t}=r;const n=e.getLines(t);let i={};if(n.length>1){const l=n[0].formats(),u=n[n.length-1].formats();i=ds.AttributeMap.diff(u,l)||{}}e.deleteText(t,Ue.sources.USER),Object.keys(i).length>0&&e.formatLine(t.index,1,i,Ue.sources.USER),e.setSelection(t.index,Ue.sources.SILENT)}function hM(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 pM=/font-weight:\s*normal/,gM=["P","OL","UL"],V0=r=>r&&gM.includes(r.tagName),mM=r=>{Array.from(r.querySelectorAll("br")).filter(e=>V0(e.previousElementSibling)&&V0(e.nextElementSibling)).forEach(e=>{var t;(t=e.parentNode)==null||t.removeChild(e)})},vM=r=>{Array.from(r.querySelectorAll('b[style*="font-weight"]')).filter(e=>{var t;return(t=e.getAttribute("style"))==null?void 0:t.match(pM)}).forEach(e=>{var n;const t=r.createDocumentFragment();t.append(...e.childNodes),(n=e.parentNode)==null||n.replaceChild(t,e)})};function yM(r){r.querySelector('[id^="docs-internal-guid-"]')&&(vM(r),mM(r))}const bM=/\bmso-list:[^;]*ignore/i,_M=/\bmso-list:[^;]*\bl(\d+)/i,xM=/\bmso-list:[^;]*\blevel(\d+)/i,SM=(r,e)=>{const t=r.getAttribute("style"),n=t==null?void 0:t.match(_M);if(!n)return null;const i=Number(n[1]),l=t==null?void 0:t.match(xM),u=l?Number(l[1]):1,h=new RegExp(`@list l${i}:level${u}\\s*\\{[^\\}]*mso-level-number-format:\\s*([\\w-]+)`,"i"),g=e.match(h),m=g&&g[1]==="bullet"?"bullet":"ordered";return{id:i,indent:u,type:m,element:r}},CM=r=>{var u,h;const e=Array.from(r.querySelectorAll("[style*=mso-list]")),t=[],n=[];e.forEach(g=>{(g.getAttribute("style")||"").match(bM)?t.push(g):n.push(g)}),t.forEach(g=>{var m;return(m=g.parentNode)==null?void 0:m.removeChild(g)});const i=r.documentElement.innerHTML,l=n.map(g=>SM(g,i)).filter(g=>g);for(;l.length;){const g=[];let m=l.shift();for(;m;)g.push(m),m=l.length&&((u=l[0])==null?void 0:u.element)===m.element.nextElementSibling&&l[0].id===m.id?l.shift():null;const M=document.createElement("ul");g.forEach(_=>{const S=document.createElement("li");S.setAttribute("data-list",_.type),_.indent>1&&S.setAttribute("class",`ql-indent-${_.indent-1}`),S.innerHTML=_.element.innerHTML,M.appendChild(S)});const T=(h=g[0])==null?void 0:h.element,{parentNode:C}=T??{};T&&(C==null||C.replaceChild(M,T)),g.slice(1).forEach(_=>{let{element:S}=_;C==null||C.removeChild(S)})}};function wM(r){r.documentElement.getAttribute("xmlns:w")==="urn:schemas-microsoft-com:office:word"&&CM(r)}const AM=[wM,yM],TM=r=>{r.documentElement&&AM.forEach(e=>{e(r)})},EM=al("quill:clipboard"),kM=[[Node.TEXT_NODE,HM],[Node.TEXT_NODE,Z0],["br",DM],[Node.ELEMENT_NODE,Z0],[Node.ELEMENT_NODE,MM],[Node.ELEMENT_NODE,LM],[Node.ELEMENT_NODE,FM],["li",NM],["ol, ul",jM],["pre",OM],["tr",BM],["b",cp("bold")],["i",cp("italic")],["strike",cp("strike")],["style",PM]],RM=[oM,Lx].reduce((r,e)=>(r[e.keyName]=e,r),{}),G0=[Rx,Im,Rm,Dx,Nx,Fx].reduce((r,e)=>(r[e.keyName]=e,r),{});class Bx extends Ws{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=[],kM.concat(this.options.matchers??[]).forEach(n=>{let[i,l]=n;this.addMatcher(i,l)})}addMatcher(e,t){this.matchers.push([e,t])}convert(e){let{html:t,text:n}=e,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(i[Hi.blotName])return new Vt().insert(n||"",{[Hi.blotName]:i[Hi.blotName]});if(!t)return new Vt().insert(n||"",i);const l=this.convertHTML(t);return nd(l,`
80
+ `)&&(l.ops[l.ops.length-1].attributes==null||i.table)?l.compose(new Vt().retain(l.length()-1).delete(1)):l}normalizeHTML(e){TM(e)}convertHTML(e){const t=new DOMParser().parseFromString(e,"text/html");this.normalizeHTML(t);const n=t.body,i=new WeakMap,[l,u]=this.prepareMatching(n,i);return Om(this.quill.scroll,n,l,u,i)}dangerouslyPasteHTML(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ue.sources.API;if(typeof e=="string"){const i=this.convert({html:e,text:""});this.quill.setContents(i,t),this.quill.setSelection(0,Ue.sources.SILENT)}else{const i=this.convert({html:t,text:""});this.quill.updateContents(new Vt().retain(e).concat(i),n),this.quill.setSelection(e+i.length(),Ue.sources.SILENT)}}onCaptureCopy(e){var u,h;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:i,text:l}=this.onCopy(n,t);(u=e.clipboardData)==null||u.setData("text/plain",l),(h=e.clipboardData)==null||h.setData("text/html",i),t&&Dm({range:n,quill:this.quill})}normalizeURIList(e){return e.split(/\r?\n/).filter(t=>t[0]!=="#").join(`
81
+ `)}onCapturePaste(e){var u,h,g,m,M;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 i=(h=e.clipboardData)==null?void 0:h.getData("text/plain");if(!n&&!i){const T=(g=e.clipboardData)==null?void 0:g.getData("text/uri-list");T&&(i=this.normalizeURIList(T))}const l=Array.from(((m=e.clipboardData)==null?void 0:m.files)||[]);if(!n&&l.length>0){this.quill.uploader.upload(t,l);return}if(n&&l.length>0){const T=new DOMParser().parseFromString(n,"text/html");if(T.body.childElementCount===1&&((M=T.body.firstElementChild)==null?void 0:M.tagName)==="IMG"){this.quill.uploader.upload(t,l);return}}this.onPaste(t,{html:n,text:i})}onCopy(e){const t=this.quill.getText(e);return{html:this.quill.getSemanticHTML(e),text:t}}onPaste(e,t){let{text:n,html:i}=t;const l=this.quill.getFormat(e.index),u=this.convert({text:n,html:i},l);EM.log("onPaste",u,{text:n,html:i});const h=new Vt().retain(e.index).delete(e.length).concat(u);this.quill.updateContents(h,Ue.sources.USER),this.quill.setSelection(h.length()-e.length,Ue.sources.SILENT),this.quill.scrollSelectionIntoView()}prepareMatching(e,t){const n=[],i=[];return this.matchers.forEach(l=>{const[u,h]=l;switch(u){case Node.TEXT_NODE:i.push(h);break;case Node.ELEMENT_NODE:n.push(h);break;default:Array.from(e.querySelectorAll(u)).forEach(g=>{if(t.has(g)){const m=t.get(g);m==null||m.push(h)}else t.set(g,[h])});break}}),[n,i]}}at(Bx,"DEFAULTS",{matchers:[]});function ru(r,e,t,n){return n.query(e)?r.reduce((i,l)=>{if(!l.insert)return i;if(l.attributes&&l.attributes[e])return i.push(l);const u=t?{[e]:t}:{};return i.insert(l.insert,{...u,...l.attributes})},new Vt):r}function nd(r,e){let t="";for(let n=r.ops.length-1;n>=0&&t.length<e.length;--n){const i=r.ops[n];if(typeof i.insert!="string")break;t=i.insert+t}return t.slice(-1*e.length)===e}function Yl(r,e){if(!(r instanceof Element))return!1;const t=e.query(r);return t&&t.prototype instanceof qo?!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 IM(r,e){return r.previousElementSibling&&r.nextElementSibling&&!Yl(r.previousElementSibling,e)&&!Yl(r.nextElementSibling,e)}const jd=new WeakMap;function Hx(r){return r==null?!1:(jd.has(r)||(r.tagName==="PRE"?jd.set(r,!0):jd.set(r,Hx(r.parentNode))),jd.get(r))}function Om(r,e,t,n,i){return e.nodeType===e.TEXT_NODE?n.reduce((l,u)=>u(e,l,r),new Vt):e.nodeType===e.ELEMENT_NODE?Array.from(e.childNodes||[]).reduce((l,u)=>{let h=Om(r,u,t,n,i);return u.nodeType===e.ELEMENT_NODE&&(h=t.reduce((g,m)=>m(u,g,r),h),h=(i.get(u)||[]).reduce((g,m)=>m(u,g,r),h)),l.concat(h)},new Vt):new Vt}function cp(r){return(e,t,n)=>ru(t,r,!0,n)}function LM(r,e,t){const n=xa.keys(r),i=$s.keys(r),l=rc.keys(r),u={};return n.concat(i).concat(l).forEach(h=>{let g=t.query(h,er.ATTRIBUTE);g!=null&&(u[g.attrName]=g.value(r),u[g.attrName])||(g=RM[h],g!=null&&(g.attrName===h||g.keyName===h)&&(u[g.attrName]=g.value(r)||void 0),g=G0[h],g!=null&&(g.attrName===h||g.keyName===h)&&(g=G0[h],u[g.attrName]=g.value(r)||void 0))}),Object.entries(u).reduce((h,g)=>{let[m,M]=g;return ru(h,m,M,t)},e)}function MM(r,e,t){const n=t.query(r);if(n==null)return e;if(n.prototype instanceof qo){const i={},l=n.value(r);if(l!=null)return i[n.blotName]=l,new Vt().insert(i,n.formats(r,t))}else if(n.prototype instanceof Kf&&!nd(e,`
82
+ `)&&e.insert(`
83
+ `),"blotName"in n&&"formats"in n&&typeof n.formats=="function")return ru(e,n.blotName,n.formats(r,t),t);return e}function DM(r,e){return nd(e,`
84
+ `)||e.insert(`
85
+ `),e}function OM(r,e,t){const n=t.query("code-block"),i=n&&"formats"in n&&typeof n.formats=="function"?n.formats(r,t):!0;return ru(e,"code-block",i,t)}function PM(){return new Vt}function NM(r,e,t){const n=t.query(r);if(n==null||n.blotName!=="list"||!nd(e,`
86
+ `))return e;let i=-1,l=r.parentNode;for(;l!=null;)["OL","UL"].includes(l.tagName)&&(i+=1),l=l.parentNode;return i<=0?e:e.reduce((u,h)=>h.insert?h.attributes&&typeof h.attributes.indent=="number"?u.push(h):u.insert(h.insert,{indent:i,...h.attributes||{}}):u,new Vt)}function jM(r,e,t){const n=r;let i=n.tagName==="OL"?"ordered":"bullet";const l=n.getAttribute("data-checked");return l&&(i=l==="true"?"checked":"unchecked"),ru(e,"list",i,t)}function Z0(r,e,t){if(!nd(e,`
87
+ `)){if(Yl(r,t)&&(r.childNodes.length>0||r instanceof HTMLParagraphElement))return e.insert(`
88
+ `);if(e.length()>0&&r.nextSibling){let n=r.nextSibling;for(;n!=null;){if(Yl(n,t))return e.insert(`
89
+ `);const i=t.query(n);if(i&&i.prototype instanceof fs)return e.insert(`
90
+ `);n=n.firstChild}}}return e}function FM(r,e,t){var l;const n={},i=r.style||{};return i.fontStyle==="italic"&&(n.italic=!0),i.textDecoration==="underline"&&(n.underline=!0),i.textDecoration==="line-through"&&(n.strike=!0),((l=i.fontWeight)!=null&&l.startsWith("bold")||parseInt(i.fontWeight,10)>=700)&&(n.bold=!0),e=Object.entries(n).reduce((u,h)=>{let[g,m]=h;return ru(u,g,m,t)},e),parseFloat(i.textIndent||0)>0?new Vt().insert(" ").concat(e):e}function BM(r,e,t){var i,l;const n=((i=r.parentElement)==null?void 0:i.tagName)==="TABLE"?r.parentElement:(l=r.parentElement)==null?void 0:l.parentElement;if(n!=null){const h=Array.from(n.querySelectorAll("tr")).indexOf(r)+1;return ru(e,"table",h,t)}return e}function HM(r,e,t){var i;let n=r.data;if(((i=r.parentElement)==null?void 0:i.tagName)==="O:P")return e.insert(n.trim());if(!Hx(r)){if(n.trim().length===0&&n.includes(`
91
+ `)&&!IM(r,t))return e;n=n.replace(/[^\S\u00a0]/g," "),n=n.replace(/ {2,}/g," "),(r.previousSibling==null&&r.parentElement!=null&&Yl(r.parentElement,t)||r.previousSibling instanceof Element&&Yl(r.previousSibling,t))&&(n=n.replace(/^ /,"")),(r.nextSibling==null&&r.parentElement!=null&&Yl(r.parentElement,t)||r.nextSibling instanceof Element&&Yl(r.nextSibling,t))&&(n=n.replace(/ $/,"")),n=n.replaceAll(" "," ")}return e.insert(n)}class qx extends Ws{constructor(t,n){super(t,n);at(this,"lastRecorded",0);at(this,"ignoreChange",!1);at(this,"stack",{undo:[],redo:[]});at(this,"currentRange",null);this.quill.on(Ue.events.EDITOR_CHANGE,(i,l,u,h)=>{i===Ue.events.SELECTION_CHANGE?l&&h!==Ue.sources.SILENT&&(this.currentRange=l):i===Ue.events.TEXT_CHANGE&&(this.ignoreChange||(!this.options.userOnly||h===Ue.sources.USER?this.record(l,u):this.transform(l)),this.currentRange=X1(this.currentRange,l))}),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",i=>{i.inputType==="historyUndo"?(this.undo(),i.preventDefault()):i.inputType==="historyRedo"&&(this.redo(),i.preventDefault())})}change(t,n){if(this.stack[t].length===0)return;const i=this.stack[t].pop();if(!i)return;const l=this.quill.getContents(),u=i.delta.invert(l);this.stack[n].push({delta:u,range:X1(i.range,u)}),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(i.delta,Ue.sources.USER),this.ignoreChange=!1,this.restoreSelection(i)}clear(){this.stack={undo:[],redo:[]}}cutoff(){this.lastRecorded=0}record(t,n){if(t.ops.length===0)return;this.stack.redo=[];let i=t.invert(n),l=this.currentRange;const u=Date.now();if(this.lastRecorded+this.options.delay>u&&this.stack.undo.length>0){const h=this.stack.undo.pop();h&&(i=i.compose(h.delta),l=h.range)}else this.lastRecorded=u;i.length()!==0&&(this.stack.undo.push({delta:i,range:l}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift())}redo(){this.change("redo","undo")}transform(t){Y0(this.stack.undo,t),Y0(this.stack.redo,t)}undo(){this.change("undo","redo")}restoreSelection(t){if(t.range)this.quill.setSelection(t.range,Ue.sources.USER);else{const n=zM(this.quill.scroll,t.delta);this.quill.setSelection(n,Ue.sources.USER)}}}at(qx,"DEFAULTS",{delay:1e3,maxStack:100,userOnly:!1});function Y0(r,e){let t=e;for(let n=r.length-1;n>=0;n-=1){const i=r[n];r[n]={delta:t.transform(i.delta,!0),range:i.range&&X1(i.range,t)},t=i.delta.transform(t),r[n].delta.length()===0&&r.splice(n,1)}}function qM(r,e){const t=e.ops[e.ops.length-1];return t==null?!1:t.insert!=null?typeof t.insert=="string"&&t.insert.endsWith(`
92
+ `):t.attributes!=null?Object.keys(t.attributes).some(n=>r.query(n,er.BLOCK)!=null):!1}function zM(r,e){const t=e.reduce((i,l)=>i+(l.delete||0),0);let n=e.length()-t;return qM(r,e)&&(n-=1),n}function X1(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 zx extends Ws{constructor(e,t){super(e,t),e.root.addEventListener("drop",n=>{var u;n.preventDefault();let i=null;if(document.caretRangeFromPoint)i=document.caretRangeFromPoint(n.clientX,n.clientY);else if(document.caretPositionFromPoint){const h=document.caretPositionFromPoint(n.clientX,n.clientY);i=document.createRange(),i.setStart(h.offsetNode,h.offset),i.setEnd(h.offsetNode,h.offset)}const l=i&&e.selection.normalizeNative(i);if(l){const h=e.selection.normalizedToRange(l);(u=n.dataTransfer)!=null&&u.files&&this.upload(h,n.dataTransfer.files)}})}upload(e,t){const n=[];Array.from(t).forEach(i=>{var l;i&&((l=this.options.mimetypes)!=null&&l.includes(i.type))&&n.push(i)}),n.length>0&&this.options.handler.call(this,e,n)}}zx.DEFAULTS={mimetypes:["image/png","image/jpeg"],handler(r,e){if(!this.quill.scroll.query("image"))return;const t=e.map(n=>new Promise(i=>{const l=new FileReader;l.onload=()=>{i(l.result)},l.readAsDataURL(n)}));Promise.all(t).then(n=>{const i=n.reduce((l,u)=>l.insert({image:u}),new Vt().retain(r.index).delete(r.length));this.quill.updateContents(i,Gt.sources.USER),this.quill.setSelection(r.index+n.length,Gt.sources.SILENT)})}};const $M=["insertText","insertReplacementText"];class UM extends Ws{constructor(e,t){super(e,t),e.root.addEventListener("beforeinput",n=>{this.handleBeforeInput(n)}),/Android/i.test(navigator.userAgent)||e.on(Ue.events.COMPOSITION_BEFORE_START,()=>{this.handleCompositionStart()})}deleteRange(e){Dm({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 Vt().retain(e.index).insert(t,n),Ue.sources.USER)}else this.deleteRange(e);return this.quill.setSelection(e.index+t.length,0,Ue.sources.SILENT),!0}handleBeforeInput(e){if(this.quill.composition.isComposing||e.defaultPrevented||!$M.includes(e.inputType))return;const t=e.getTargetRanges?e.getTargetRanges()[0]:null;if(!t||t.collapsed===!0)return;const n=WM(e);if(n==null)return;const i=this.quill.selection.normalizeNative(t),l=i?this.quill.selection.normalizedToRange(i):null;l&&this.replaceText(l,n)&&e.preventDefault()}handleCompositionStart(){const e=this.quill.getSelection();e&&this.replaceText(e)}}function WM(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 VM=/Mac/i.test(navigator.platform),GM=100,ZM=r=>!!(r.key==="ArrowLeft"||r.key==="ArrowRight"||r.key==="ArrowUp"||r.key==="ArrowDown"||r.key==="Home"||VM&&r.key==="a"&&r.ctrlKey===!0);class YM extends Ws{constructor(t,n){super(t,n);at(this,"isListening",!1);at(this,"selectionChangeDeadline",0);this.handleArrowKeys(),this.handleNavigationShortcuts()}handleArrowKeys(){this.quill.keyboard.addBinding({key:["ArrowLeft","ArrowRight"],offset:0,shiftKey:null,handler(t,n){let{line:i,event:l}=n;if(!(i instanceof Hs)||!i.uiNode)return!0;const u=getComputedStyle(i.domNode).direction==="rtl";return u&&l.key!=="ArrowRight"||!u&&l.key!=="ArrowLeft"?!0:(this.quill.setSelection(t.index-1,t.length+(l.shiftKey?1:0),Ue.sources.USER),!1)}})}handleNavigationShortcuts(){this.quill.root.addEventListener("keydown",t=>{!t.defaultPrevented&&ZM(t)&&this.ensureListeningToSelectionChange()})}ensureListeningToSelectionChange(){if(this.selectionChangeDeadline=Date.now()+GM,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 i=this.quill.scroll.find(n.startContainer);if(!(i instanceof Hs)||!i.uiNode)return;const l=document.createRange();l.setStartAfter(i.uiNode),l.setEndAfter(i.uiNode),t.removeAllRanges(),t.addRange(l)}}Ue.register({"blots/block":Pi,"blots/block/embed":fs,"blots/break":Us,"blots/container":eu,"blots/cursor":Zu,"blots/embed":Em,"blots/inline":Sa,"blots/scroll":ju,"blots/text":zs,"modules/clipboard":Bx,"modules/history":qx,"modules/keyboard":dh,"modules/uploader":zx,"modules/input":UM,"modules/uiNode":YM});class KM extends $s{add(e,t){let n=0;if(t==="+1"||t==="-1"){const i=this.value(e)||0;n=t==="+1"?i+1:i-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 XM=new KM("indent","ql-indent",{scope:er.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});class J1 extends Pi{}at(J1,"blotName","blockquote"),at(J1,"tagName","blockquote");class Q1 extends Pi{static formats(e){return this.tagName.indexOf(e.tagName)+1}}at(Q1,"blotName","header"),at(Q1,"tagName",["H1","H2","H3","H4","H5","H6"]);class id extends eu{}id.blotName="list-container";id.tagName="OL";class od extends Pi{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(){Ue.register(id)}constructor(e,t){super(e,t);const n=t.ownerDocument.createElement("span"),i=l=>{if(!e.isEnabled())return;const u=this.statics.formats(t,e);u==="checked"?(this.format("list","unchecked"),l.preventDefault()):u==="unchecked"&&(this.format("list","checked"),l.preventDefault())};n.addEventListener("mousedown",i),n.addEventListener("touchstart",i),this.attachUI(n)}format(e,t){e===this.statics.blotName&&t?this.domNode.setAttribute("data-list",t):super.format(e,t)}}od.blotName="list";od.tagName="LI";id.allowedChildren=[od];od.requiredContainer=id;class Jf extends Sa{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)}}at(Jf,"blotName","bold"),at(Jf,"tagName",["STRONG","B"]);class em extends Jf{}at(em,"blotName","italic"),at(em,"tagName",["EM","I"]);class Kl extends Sa{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 $x(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))}}at(Kl,"blotName","link"),at(Kl,"tagName","A"),at(Kl,"SANITIZED_URL","about:blank"),at(Kl,"PROTOCOL_WHITELIST",["http","https","mailto","tel","sms"]);function $x(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 tm extends Sa{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"}}at(tm,"blotName","script"),at(tm,"tagName",["SUB","SUP"]);class rm extends Jf{}at(rm,"blotName","strike"),at(rm,"tagName",["S","STRIKE"]);class nm extends Sa{}at(nm,"blotName","underline"),at(nm,"tagName","U");class $d extends Em{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>`}}at($d,"blotName","formula"),at($d,"className","ql-formula"),at($d,"tagName","SPAN");const K0=["alt","height","width"];var Hd;let JM=(Hd=class extends qo{static create(e){const t=super.create(e);return typeof e=="string"&&t.setAttribute("src",this.sanitize(e)),t}static formats(e){return K0.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 $x(e,["http","https","data"])?e:"//:0"}static value(e){return e.getAttribute("src")}format(e,t){K0.indexOf(e)>-1?t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e):super.format(e,t)}},at(Hd,"blotName","image"),at(Hd,"tagName","IMG"),Hd);const X0=["height","width"];class Ud extends fs{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 X0.reduce((t,n)=>(e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t),{})}static sanitize(e){return Kl.sanitize(e)}static value(e){return e.getAttribute("src")}format(e,t){X0.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>`}}at(Ud,"blotName","video"),at(Ud,"className","ql-video"),at(Ud,"tagName","IFRAME");const jf=new $s("code-token","hljs",{scope:er.INLINE});class nl extends Sa{static formats(e,t){for(;e!=null&&e!==t.domNode;){if(e.classList&&e.classList.contains(Hi.className))return super.formats(e,t);e=e.parentNode}}constructor(e,t,n){super(e,t,n),jf.add(this.domNode,n)}format(e,t){e!==nl.blotName?super.format(e,t):t?jf.add(this.domNode,t):(jf.remove(this.domNode),this.domNode.classList.remove(this.statics.className))}optimize(){super.optimize(...arguments),jf.value(this.domNode)||this.unwrap()}}nl.blotName="code-token";nl.className="ql-token";class us extends Hi{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(),nl.blotName,!1),super.replaceWith(e,t)}}class qf extends tu{attach(){super.attach(),this.forceNext=!1,this.scroll.emitMount(this)}format(e,t){e===us.blotName&&(this.forceNext=!0,this.children.forEach(n=>{n.format(e,t)}))}formatAt(e,t,n,i){n===us.blotName&&(this.forceNext=!0),super.formatAt(e,t,n,i)}highlight(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(this.children.head==null)return;const i=`${Array.from(this.domNode.childNodes).filter(u=>u!==this.uiNode).map(u=>u.textContent).join(`
93
+ `)}
94
+ `,l=us.formats(this.children.head.domNode);if(t||this.forceNext||this.cachedText!==i){if(i.trim().length>0||this.cachedText==null){const u=this.children.reduce((g,m)=>g.concat(Tx(m,!1)),new Vt),h=e(i,l);u.diff(h).reduce((g,m)=>{let{retain:M,attributes:T}=m;return M?(T&&Object.keys(T).forEach(C=>{[us.blotName,nl.blotName].includes(C)&&this.formatAt(g,M,C,T[C])}),g+M):g},0)}this.cachedText=i,this.forceNext=!1}}html(e,t){const[n]=this.children.find(e);return`<pre data-language="${n?us.formats(n.domNode):"plain"}">
95
+ ${fh(this.code(e,t))}
96
+ </pre>`}optimize(e){if(super.optimize(e),this.parent!=null&&this.children.head!=null&&this.uiNode!=null){const t=us.formats(this.children.head.domNode);t!==this.uiNode.value&&(this.uiNode.value=t)}}}qf.allowedChildren=[us];us.requiredContainer=qf;us.allowedChildren=[nl,Zu,zs,Us];const QM=(r,e,t)=>{if(typeof r.versionString=="string"){const n=r.versionString.split(".")[0];if(parseInt(n,10)>=11)return r.highlight(t,{language:e}).value}return r.highlight(e,t).value};class Ux extends Ws{static register(){Ue.register(nl,!0),Ue.register(us,!0),Ue.register(qf,!0)}constructor(e,t){if(super(e,t),this.options.hljs==null)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");this.languages=this.options.languages.reduce((n,i)=>{let{key:l}=i;return n[l]=!0,n},{}),this.highlightBlot=this.highlightBlot.bind(this),this.initListener(),this.initTimer()}initListener(){this.quill.on(Ue.events.SCROLL_BLOT_MOUNT,e=>{if(!(e instanceof qf))return;const t=this.quill.root.ownerDocument.createElement("select");this.options.languages.forEach(n=>{let{key:i,label:l}=n;const u=t.ownerDocument.createElement("option");u.textContent=l,u.setAttribute("value",i),t.appendChild(u)}),t.addEventListener("change",()=>{e.format(us.blotName,t.value),this.quill.root.focus(),this.highlight(e,!0)}),e.uiNode==null&&(e.attachUI(t),e.children.head&&(t.value=us.formats(e.children.head.domNode)))})}initTimer(){let e=null;this.quill.on(Ue.events.SCROLL_OPTIMIZE,()=>{e&&clearTimeout(e),e=setTimeout(()=>{this.highlight(),e=null},this.options.interval)})}highlight(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(this.quill.selection.composing)return;this.quill.update(Ue.sources.USER);const n=this.quill.getSelection();(e==null?this.quill.scroll.descendants(qf):[e]).forEach(l=>{l.highlight(this.highlightBlot,t)}),this.quill.update(Ue.sources.SILENT),n!=null&&this.quill.setSelection(n,Ue.sources.SILENT)}highlightBlot(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"plain";if(t=this.languages[t]?t:"plain",t==="plain")return fh(e).split(`
97
+ `).reduce((i,l,u)=>(u!==0&&i.insert(`
98
+ `,{[Hi.blotName]:t}),i.insert(l)),new Vt);const n=this.quill.root.ownerDocument.createElement("div");return n.classList.add(Hi.className),n.innerHTML=QM(this.options.hljs,t,e),Om(this.quill.scroll,n,[(i,l)=>{const u=jf.value(i);return u?l.compose(new Vt().retain(l.length(),{[nl.blotName]:u})):l}],[(i,l)=>i.data.split(`
99
+ `).reduce((u,h,g)=>(g!==0&&u.insert(`
100
+ `,{[Hi.blotName]:t}),u.insert(h)),l)],new WeakMap)}}Ux.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 $f=class $f extends Pi{static create(e){const t=super.create();return e?t.setAttribute("data-row",e):t.setAttribute("data-row",Pm()),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===$f.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()}};at($f,"blotName","table"),at($f,"tagName","TD");let Fs=$f;class il extends eu{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(),i=this.next.children.tail.formats();return e.table===t.table&&e.table===n.table&&e.table===i.table}return!1}optimize(e){super.optimize(e),this.children.forEach(t=>{if(t.next==null)return;const n=t.formats(),i=t.next.formats();if(n.table!==i.table){const l=this.splitAfter(t);l&&l.optimize(),this.prev&&this.prev.optimize()}})}rowOffset(){return this.parent?this.parent.children.indexOf(this):-1}table(){return this.parent&&this.parent.parent}}at(il,"blotName","table-row"),at(il,"tagName","TR");class _a extends eu{}at(_a,"blotName","table-body"),at(_a,"tagName","TBODY");class Ku extends eu{balanceCells(){const e=this.descendants(il),t=e.reduce((n,i)=>Math.max(i.children.length,n),0);e.forEach(n=>{new Array(t-n.children.length).fill(0).forEach(()=>{let i;n.children.head!=null&&(i=Fs.formats(n.children.head.domNode));const l=this.scroll.create(Fs.blotName,i);n.appendChild(l),l.optimize()})})}cells(e){return this.rows().map(t=>t.children.at(e))}deleteColumn(e){const[t]=this.descendant(_a);t==null||t.children.head==null||t.children.forEach(n=>{const i=n.children.at(e);i!=null&&i.remove()})}insertColumn(e){const[t]=this.descendant(_a);t==null||t.children.head==null||t.children.forEach(n=>{const i=n.children.at(e),l=Fs.formats(n.children.head.domNode),u=this.scroll.create(Fs.blotName,l);n.insertBefore(u,i)})}insertRow(e){const[t]=this.descendant(_a);if(t==null||t.children.head==null)return;const n=Pm(),i=this.scroll.create(il.blotName);t.children.head.children.forEach(()=>{const u=this.scroll.create(Fs.blotName,n);i.appendChild(u)});const l=t.children.at(e);t.insertBefore(i,l)}rows(){const e=this.children.head;return e==null?[]:e.children.map(t=>t)}}at(Ku,"blotName","table-container"),at(Ku,"tagName","TABLE");Ku.allowedChildren=[_a];_a.requiredContainer=Ku;_a.allowedChildren=[il];il.requiredContainer=_a;il.allowedChildren=[Fs];Fs.requiredContainer=il;function Pm(){return`row-${Math.random().toString(36).slice(2,6)}`}class eD extends Ws{static register(){Ue.register(Fs),Ue.register(il),Ue.register(_a),Ue.register(Ku)}constructor(){super(...arguments),this.listenBalanceCells()}balanceTables(){this.quill.scroll.descendants(Ku).forEach(e=>{e.balanceCells()})}deleteColumn(){const[e,,t]=this.getTable();t!=null&&(e.deleteColumn(t.cellOffset()),this.quill.update(Ue.sources.USER))}deleteRow(){const[,e]=this.getTable();e!=null&&(e.remove(),this.quill.update(Ue.sources.USER))}deleteTable(){const[e]=this.getTable();if(e==null)return;const t=e.offset();e.remove(),this.quill.update(Ue.sources.USER),this.quill.setSelection(t,Ue.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!==Fs.blotName)return[null,null,null,-1];const i=t.parent;return[i.parent.parent,i,t,n]}insertColumn(e){const t=this.quill.getSelection();if(!t)return;const[n,i,l]=this.getTable(t);if(l==null)return;const u=l.cellOffset();n.insertColumn(u+e),this.quill.update(Ue.sources.USER);let h=i.rowOffset();e===0&&(h+=1),this.quill.setSelection(t.index+h,t.length,Ue.sources.SILENT)}insertColumnLeft(){this.insertColumn(0)}insertColumnRight(){this.insertColumn(1)}insertRow(e){const t=this.quill.getSelection();if(!t)return;const[n,i,l]=this.getTable(t);if(l==null)return;const u=i.rowOffset();n.insertRow(u+e),this.quill.update(Ue.sources.USER),e>0?this.quill.setSelection(t,Ue.sources.SILENT):this.quill.setSelection(t.index+i.children.length,t.length,Ue.sources.SILENT)}insertRowAbove(){this.insertRow(0)}insertRowBelow(){this.insertRow(1)}insertTable(e,t){const n=this.quill.getSelection();if(n==null)return;const i=new Array(e).fill(0).reduce(l=>{const u=new Array(t).fill(`
101
+ `).join("");return l.insert(u,{table:Pm()})},new Vt().retain(n.index));this.quill.updateContents(i,Ue.sources.USER),this.quill.setSelection(n.index,Ue.sources.SILENT),this.balanceTables()}listenBalanceCells(){this.quill.on(Ue.events.SCROLL_OPTIMIZE,e=>{e.some(t=>["TD","TR","TBODY","TABLE"].includes(t.target.tagName)?(this.quill.once(Ue.events.TEXT_CHANGE,(n,i,l)=>{l===Ue.sources.USER&&this.balanceTables()}),!0):!1)})}}const J0=al("quill:toolbar");class Nm extends Ws{constructor(e,t){var n,i;if(super(e,t),Array.isArray(this.options.container)){const l=document.createElement("div");l.setAttribute("role","toolbar"),tD(l,this.options.container),(i=(n=e.container)==null?void 0:n.parentNode)==null||i.insertBefore(l,e.container),this.container=l}else typeof this.options.container=="string"?this.container=document.querySelector(this.options.container):this.container=this.options.container;if(!(this.container instanceof HTMLElement)){J0.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(l=>{var h;const u=(h=this.options.handlers)==null?void 0:h[l];u&&this.addHandler(l,u)}),Array.from(this.container.querySelectorAll("button, select")).forEach(l=>{this.attach(l)}),this.quill.on(Ue.events.EDITOR_CHANGE,()=>{const[l]=this.quill.selection.getRange();this.update(l)})}addHandler(e,t){this.handlers[e]=t}attach(e){let t=Array.from(e.classList).find(i=>i.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){J0.warn("ignoring attaching to nonexistent format",t,e);return}const n=e.tagName==="SELECT"?"change":"click";e.addEventListener(n,i=>{let l;if(e.tagName==="SELECT"){if(e.selectedIndex<0)return;const h=e.options[e.selectedIndex];h.hasAttribute("selected")?l=!1:l=h.value||!1}else e.classList.contains("ql-active")?l=!1:l=e.value||!e.hasAttribute("value"),i.preventDefault();this.quill.focus();const[u]=this.quill.selection.getRange();if(this.handlers[t]!=null)this.handlers[t].call(this,l);else if(this.quill.scroll.query(t).prototype instanceof qo){if(l=prompt(`Enter ${t}`),!l)return;this.quill.updateContents(new Vt().retain(u.index).delete(u.length).insert({[t]:l}),Ue.sources.USER)}else this.quill.format(t,l,Ue.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[i,l]=n;if(l.tagName==="SELECT"){let u=null;if(e==null)u=null;else if(t[i]==null)u=l.querySelector("option[selected]");else if(!Array.isArray(t[i])){let h=t[i];typeof h=="string"&&(h=h.replace(/"/g,'\\"')),u=l.querySelector(`option[value="${h}"]`)}u==null?(l.value="",l.selectedIndex=-1):u.selected=!0}else if(e==null)l.classList.remove("ql-active"),l.setAttribute("aria-pressed","false");else if(l.hasAttribute("value")){const u=t[i],h=u===l.getAttribute("value")||u!=null&&u.toString()===l.getAttribute("value")||u==null&&!l.getAttribute("value");l.classList.toggle("ql-active",h),l.setAttribute("aria-pressed",h.toString())}else{const u=t[i]!=null;l.classList.toggle("ql-active",u),l.setAttribute("aria-pressed",u.toString())}})}}Nm.DEFAULTS={};function Q0(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 tD(r,e){Array.isArray(e[0])||(e=[e]),e.forEach(t=>{const n=document.createElement("span");n.classList.add("ql-formats"),t.forEach(i=>{if(typeof i=="string")Q0(n,i);else{const l=Object.keys(i)[0],u=i[l];Array.isArray(u)?rD(n,l,u):Q0(n,l,u)}}),r.appendChild(n)})}function rD(r,e,t){const n=document.createElement("select");n.classList.add(`ql-${e}`),t.forEach(i=>{const l=document.createElement("option");i!==!1?l.setAttribute("value",String(i)):l.setAttribute("selected","selected"),n.appendChild(l)}),r.appendChild(n)}Nm.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,er.INLINE)!=null&&this.quill.format(t,!1,Ue.sources.USER)})}else this.quill.removeFormat(r.index,r.length,Ue.sources.USER)},direction(r){const{align:e}=this.quill.getFormat();r==="rtl"&&e==null?this.quill.format("align","right",Ue.sources.USER):!r&&e==="right"&&this.quill.format("align",!1,Ue.sources.USER),this.quill.format("direction",r,Ue.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 i=r==="+1"?1:-1;t.direction==="rtl"&&(i*=-1),this.quill.format("indent",n+i,Ue.sources.USER)}},link(r){r===!0&&(r=prompt("Enter link URL:")),this.quill.format("link",r,Ue.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,Ue.sources.USER):this.quill.format("list","unchecked",Ue.sources.USER):this.quill.format("list",r,Ue.sources.USER)}}};const nD='<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>',iD='<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>',oD='<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>',sD='<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>',aD='<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>',lD='<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>',cD='<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>',uD='<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>',ey='<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>',fD='<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>',dD='<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>',hD='<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>',pD='<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>',gD='<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>',mD='<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>',vD='<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>',yD='<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>',bD='<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>',_D='<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>',xD='<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>',SD='<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>',CD='<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>',wD='<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>',AD='<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>',TD='<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>',ED='<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>',kD='<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>',RD='<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>',ID='<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>',LD='<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>',MD='<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>',DD='<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>',OD='<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>',Qf={align:{"":nD,center:iD,right:oD,justify:sD},background:aD,blockquote:lD,bold:cD,clean:uD,code:ey,"code-block":ey,color:fD,direction:{"":dD,rtl:hD},formula:pD,header:{1:gD,2:mD,3:vD,4:yD,5:bD,6:_D},italic:xD,image:SD,indent:{"+1":CD,"-1":wD},link:AD,list:{bullet:TD,check:ED,ordered:kD},script:{sub:RD,super:ID},strike:LD,table:MD,underline:DD,video:OD},PD='<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 ty=0;function ry(r,e){r.setAttribute(e,`${r.getAttribute(e)!=="true"}`)}class hh{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"),ry(this.label,"aria-expanded"),ry(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",i=>{switch(i.key){case"Enter":this.selectItem(t,!0),i.preventDefault();break;case"Escape":this.escape(),i.preventDefault();break}}),t}buildLabel(){const e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=PD,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-${ty}`,ty+=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 Wx extends hh{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"),i=e&&e.getAttribute("data-value")||"";n&&(n.tagName==="line"?n.style.stroke=i:n.style.fill=i)}}class Vx extends hh{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 ND=r=>{const{overflowY:e}=getComputedStyle(r,null);return e!=="visible"&&e!=="clip"};class Gx{constructor(e,t){this.quill=e,this.boundsContainer=t||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,ND(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 i=this.boundsContainer.getBoundingClientRect(),l=this.root.getBoundingClientRect();let u=0;if(l.right>i.right&&(u=i.right-l.right,this.root.style.left=`${t+u}px`),l.left<i.left&&(u=i.left-l.left,this.root.style.left=`${t+u}px`),l.bottom>i.bottom){const h=l.bottom-l.top,g=e.bottom-e.top+h;this.root.style.top=`${n-g}px`,this.root.classList.add("ql-flip")}return u}show(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}const jD=[!1,"center","right","justify"],FD=["#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"],BD=[!1,"serif","monospace"],HD=["1","2","3",!1],qD=["small",!1,"large","huge"];class sd extends Yu{constructor(e,t){super(e,t);const n=i=>{if(!document.body.contains(e.root)){document.body.removeEventListener("click",n);return}this.tooltip!=null&&!this.tooltip.root.contains(i.target)&&document.activeElement!==this.tooltip.textbox&&!this.quill.hasFocus()&&this.tooltip.hide(),this.pickers!=null&&this.pickers.forEach(l=>{l.container.contains(i.target)||l.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(l=>{if(l.startsWith("ql-")&&(l=l.slice(3),t[l]!=null))if(l==="direction")n.innerHTML=t[l][""]+t[l].rtl;else if(typeof t[l]=="string")n.innerHTML=t[l];else{const u=n.value||"";u!=null&&t[l][u]&&(n.innerHTML=t[l][u])}})})}buildPickers(e,t){this.pickers=Array.from(e).map(i=>{if(i.classList.contains("ql-align")&&(i.querySelector("option")==null&&If(i,jD),typeof t.align=="object"))return new Vx(i,t.align);if(i.classList.contains("ql-background")||i.classList.contains("ql-color")){const l=i.classList.contains("ql-background")?"background":"color";return i.querySelector("option")==null&&If(i,FD,l==="background"?"#ffffff":"#000000"),new Wx(i,t[l])}return i.querySelector("option")==null&&(i.classList.contains("ql-font")?If(i,BD):i.classList.contains("ql-header")?If(i,HD):i.classList.contains("ql-size")&&If(i,qD)),new hh(i)});const n=()=>{this.pickers.forEach(i=>{i.update()})};this.quill.on(Gt.events.EDITOR_CHANGE,n)}}sd.DEFAULTS=Xl({},Yu.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 Zx extends Gx{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,Gt.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,Gt.sources.USER)),this.quill.root.scrollTop=t;break}case"video":e=zD(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,Gt.sources.USER),this.root.getAttribute("data-mode")==="formula"&&this.quill.insertText(n+1," ",Gt.sources.USER),this.quill.setSelection(n+2,Gt.sources.USER)}break}}this.textbox.value="",this.hide()}}function zD(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 If(r,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;e.forEach(n=>{const i=document.createElement("option");n===t?i.setAttribute("selected","selected"):i.setAttribute("value",String(n)),r.appendChild(i)})}const $D=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]];class Yx extends Zx{constructor(e,t){super(e,t),this.quill.on(Gt.events.EDITOR_CHANGE,(n,i,l,u)=>{if(n===Gt.events.SELECTION_CHANGE)if(i!=null&&i.length>0&&u===Gt.sources.USER){this.show(),this.root.style.left="0px",this.root.style.width="",this.root.style.width=`${this.root.offsetWidth}px`;const h=this.quill.getLines(i.index,i.length);if(h.length===1){const g=this.quill.getBounds(i);g!=null&&this.position(g)}else{const g=h[h.length-1],m=this.quill.getIndex(g),M=Math.min(g.length()-1,i.index+i.length-m),T=this.quill.getBounds(new Yc(m,M));T!=null&&this.position(T)}}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(Gt.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}}at(Yx,"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 Kx extends sd{constructor(e,t){t.modules.toolbar!=null&&t.modules.toolbar.container==null&&(t.modules.toolbar.container=$D),super(e,t),this.quill.container.classList.add("ql-bubble")}extendToolbar(e){this.tooltip=new Yx(this.quill,this.options.bounds),e.container!=null&&(this.tooltip.root.appendChild(e.container),this.buildButtons(e.container.querySelectorAll("button"),Qf),this.buildPickers(e.container.querySelectorAll("select"),Qf))}}Kx.DEFAULTS=Xl({},sd.DEFAULTS,{modules:{toolbar:{handlers:{link(r){r?this.quill.theme.tooltip.edit():this.quill.format("link",!1,Ue.sources.USER)}}}}});const UD=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]];class Xx extends Zx{constructor(){super(...arguments);at(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,Gt.sources.USER),delete this.linkRange}t.preventDefault(),this.hide()}),this.quill.on(Gt.events.SELECTION_CHANGE,(t,n,i)=>{if(t!=null){if(t.length===0&&i===Gt.sources.USER){const[l,u]=this.quill.scroll.descendant(Kl,t.index);if(l!=null){this.linkRange=new Yc(t.index-u,l.length());const h=Kl.formats(l.domNode);this.preview.textContent=h,this.preview.setAttribute("href",h),this.show();const g=this.quill.getBounds(this.linkRange);g!=null&&this.position(g);return}}else delete this.linkRange;this.hide()}})}show(){super.show(),this.root.removeAttribute("data-mode")}}at(Xx,"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 Jx extends sd{constructor(e,t){t.modules.toolbar!=null&&t.modules.toolbar.container==null&&(t.modules.toolbar.container=UD),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"),Qf),this.buildPickers(e.container.querySelectorAll("select"),Qf),this.tooltip=new Xx(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)}))}}Jx.DEFAULTS=Xl({},sd.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,Ue.sources.USER)}}}}});Ue.register({"attributors/attribute/direction":Lx,"attributors/class/align":kx,"attributors/class/background":aM,"attributors/class/color":sM,"attributors/class/direction":Mx,"attributors/class/font":Px,"attributors/class/size":jx,"attributors/style/align":Rx,"attributors/style/background":Im,"attributors/style/color":Rm,"attributors/style/direction":Dx,"attributors/style/font":Nx,"attributors/style/size":Fx},!0);Ue.register({"formats/align":kx,"formats/direction":Mx,"formats/indent":XM,"formats/background":Im,"formats/color":Rm,"formats/font":Px,"formats/size":jx,"formats/blockquote":J1,"formats/code-block":Hi,"formats/header":Q1,"formats/list":od,"formats/bold":Jf,"formats/code":Lm,"formats/italic":em,"formats/link":Kl,"formats/script":tm,"formats/strike":rm,"formats/underline":nm,"formats/formula":$d,"formats/image":JM,"formats/video":Ud,"modules/syntax":Ux,"modules/table":eD,"modules/toolbar":Nm,"themes/bubble":Kx,"themes/snow":Jx,"ui/icons":Qf,"ui/picker":hh,"ui/icon-picker":Vx,"ui/color-picker":Wx,"ui/tooltip":Gx},!0);var up={exports:{}},ny;function WD(){return ny||(ny=1,function(r,e){(function(t,n){r.exports=n()})(self,()=>(()=>{var t={321:(l,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.ConsoleLogger=void 0;var h=function(){function g(m,M){this.debug=m,this.suppressErrorLogging=M}return g.prototype.prefixString=function(){return"</> quill-image-compress: "},Object.defineProperty(g.prototype,"log",{get:function(){return this.debug?console.log.bind(console,this.prefixString()):function(){}},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"error",{get:function(){return this.suppressErrorLogging?function(){}:console.error.bind(console,this.prefixString())},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"warn",{get:function(){return this.suppressErrorLogging?function(){}:console.warn.bind(console,this.prefixString())},enumerable:!1,configurable:!0}),g}();u.ConsoleLogger=h},337:function(l,u){var h=this&&this.__awaiter||function(m,M,T,C){return new(T||(T=Promise))(function(_,S){function D(R){try{b(C.next(R))}catch(O){S(O)}}function A(R){try{b(C.throw(R))}catch(O){S(O)}}function b(R){var O;R.done?_(R.value):(O=R.value,O instanceof T?O:new T(function(q){q(O)})).then(D,A)}b((C=C.apply(m,M||[])).next())})},g=this&&this.__generator||function(m,M){var T,C,_,S={label:0,sent:function(){if(1&_[0])throw _[1];return _[1]},trys:[],ops:[]},D=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return D.next=A(0),D.throw=A(1),D.return=A(2),typeof Symbol=="function"&&(D[Symbol.iterator]=function(){return this}),D;function A(b){return function(R){return function(O){if(T)throw new TypeError("Generator is already executing.");for(;D&&(D=0,O[0]&&(S=0)),S;)try{if(T=1,C&&(_=2&O[0]?C.return:O[0]?C.throw||((_=C.return)&&_.call(C),0):C.next)&&!(_=_.call(C,O[1])).done)return _;switch(C=0,_&&(O=[2&O[0],_.value]),O[0]){case 0:case 1:_=O;break;case 4:return S.label++,{value:O[1],done:!1};case 5:S.label++,C=O[1],O=[0];continue;case 7:O=S.ops.pop(),S.trys.pop();continue;default:if(_=S.trys,!((_=_.length>0&&_[_.length-1])||O[0]!==6&&O[0]!==2)){S=0;continue}if(O[0]===3&&(!_||O[1]>_[0]&&O[1]<_[3])){S.label=O[1];break}if(O[0]===6&&S.label<_[1]){S.label=_[1],_=O;break}if(_&&S.label<_[2]){S.label=_[2],S.ops.push(O);break}_[2]&&S.ops.pop(),S.trys.pop();continue}O=M.call(m,S)}catch(q){O=[6,q],C=0}finally{T=_=0}if(5&O[0])throw O[1];return{value:O[0]?O[1]:void 0,done:!0}}([b,R])}}};Object.defineProperty(u,"__esModule",{value:!0}),u.downscaleImage=function(m,M,T,C,_,S,D,A){return h(this,void 0,void 0,function(){var b,R,O,q,H,G,Y,de;return g(this,function(X){switch(X.label){case 0:return b=M.split(";")[0].split(":")[1],_=_||"image/jpeg",A=A||.7,(R=new Image).src=M,[4,new Promise(function(ue){R.onload=function(){ue()}})];case 1:return X.sent(),O=function(ue,P,re,J){if(re&&J&&ue<=re&&P<=J)return[ue,P];if(re&&ue>re){var ne=re,oe=Math.floor(P/ue*ne);if(J&&oe>J){var ce=J;return[Math.floor(ue/P*ce),ce]}return[ne,oe]}return J&&P>J?(oe=J,[ne=Math.floor(ue/P*oe),oe]):[P,ue]}(R.width,R.height,T,C),q=O[0],H=O[1],(G=document.createElement("canvas")).width=q,G.height=H,Y=G.getContext("2d"),_==="image/jpeg"&&(Y.fillStyle="#FFFFFF",Y.fillRect(0,0,R.width,R.height)),D!=null&&D.includes(b)?[2,M]:(S!=null&&S.includes(b)&&(_=b),Y.drawImage(R,0,0,q,H),de=G.toDataURL(_,A),m.log("downscaling image...",{args:{dataUrl:M,maxWidth:T,maxHeight:C,imageType:_,ignoreImageTypes:D,keepImageTypes:S,imageQuality:A},newHeight:H,newWidth:q}),[2,de])}})})}},922:function(l,u){var h=this&&this.__awaiter||function(m,M,T,C){return new(T||(T=Promise))(function(_,S){function D(R){try{b(C.next(R))}catch(O){S(O)}}function A(R){try{b(C.throw(R))}catch(O){S(O)}}function b(R){var O;R.done?_(R.value):(O=R.value,O instanceof T?O:new T(function(q){q(O)})).then(D,A)}b((C=C.apply(m,M||[])).next())})},g=this&&this.__generator||function(m,M){var T,C,_,S={label:0,sent:function(){if(1&_[0])throw _[1];return _[1]},trys:[],ops:[]},D=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return D.next=A(0),D.throw=A(1),D.return=A(2),typeof Symbol=="function"&&(D[Symbol.iterator]=function(){return this}),D;function A(b){return function(R){return function(O){if(T)throw new TypeError("Generator is already executing.");for(;D&&(D=0,O[0]&&(S=0)),S;)try{if(T=1,C&&(_=2&O[0]?C.return:O[0]?C.throw||((_=C.return)&&_.call(C),0):C.next)&&!(_=_.call(C,O[1])).done)return _;switch(C=0,_&&(O=[2&O[0],_.value]),O[0]){case 0:case 1:_=O;break;case 4:return S.label++,{value:O[1],done:!1};case 5:S.label++,C=O[1],O=[0];continue;case 7:O=S.ops.pop(),S.trys.pop();continue;default:if(_=S.trys,!((_=_.length>0&&_[_.length-1])||O[0]!==6&&O[0]!==2)){S=0;continue}if(O[0]===3&&(!_||O[1]>_[0]&&O[1]<_[3])){S.label=O[1];break}if(O[0]===6&&S.label<_[1]){S.label=_[1],_=O;break}if(_&&S.label<_[2]){S.label=_[2],S.ops.push(O);break}_[2]&&S.ops.pop(),S.trys.pop();continue}O=M.call(m,S)}catch(q){O=[6,q],C=0}finally{T=_=0}if(5&O[0])throw O[1];return{value:O[0]?O[1]:void 0,done:!0}}([b,R])}}};Object.defineProperty(u,"__esModule",{value:!0}),u.file2b64=function(m){return h(this,void 0,void 0,function(){var M,T;return g(this,function(C){return M=new FileReader,T=new Promise(function(_,S){M.addEventListener("load",function(){var D,A=(D=M.result)===null||D===void 0?void 0:D.toString();A?_(A):S("could not convert file to base64")},!1)}),M.readAsDataURL(m),[2,T]})})}},457:(l,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.warnAboutOptions=function(h,g){h.maxWidth=h.maxWidth||1e3,h.maxHeight=h.maxHeight||1e3,h.maxWidth&&typeof h.maxWidth!="number"&&(g.warn(`[config error] 'maxWidth' is required to be a "number" (in pixels),
102
+ received: `.concat(h.maxWidth,`
103
+ -> using default 1000`)),h.maxWidth=1e3),h.maxHeight&&typeof h.maxHeight!="number"&&(g.warn(`[config error] 'maxHeight' is required to be a "number" (in pixels),
104
+ received: `.concat(h.maxHeight,`
105
+ -> using default 1000`)),h.maxHeight=1e3),h.quality&&typeof h.quality!="number"&&(g.warn(`quill.imageCompressor: [config error] 'quality' is required to be a "number",
106
+ received: `.concat(h.quality,`
107
+ -> using default 0.7`)),h.quality=.7),!h.imageType||typeof h.imageType=="string"&&h.imageType.startsWith("image/")||(g.warn(`quill.imageCompressor: [config error] 'imageType' is required be in the form of "image/png" or "image/jpeg" etc ...,
108
+ received: `.concat(h.imageType,`
109
+ -> using default image/jpeg`)),h.imageType="image/jpeg"),h.keepImageTypes||(h.keepImageTypes=[]),h.keepImageTypes&&!Array.isArray(h.keepImageTypes)&&(g.warn(`quill.imageCompressor: [config error] 'keepImageTypes' is required to be a "array", received: `.concat(h.keepImageTypes," -> using default []")),h.keepImageTypes=[]),h.ignoreImageTypes||(h.ignoreImageTypes=[]),h.ignoreImageTypes&&!Array.isArray(h.ignoreImageTypes)&&(g.warn(`quill.imageCompressor: [config error] 'ignoreImageTypes' is required to be a "array", received: `.concat(h.ignoreImageTypes," -> using default []")),h.ignoreImageTypes=[]),h.handleOnPaste&&typeof h.handleOnPaste!="boolean"&&(g.warn(`quill.imageCompressor: [config error] 'handlePaste' is required to be a "boolean", received: `.concat(h.ignoreImageTypes," -> using default true")),h.handleOnPaste=!0),h.insertIntoEditor&&typeof h.insertIntoEditor!="function"&&(g.warn(`quill.imageCompressor: [config error] 'insertIntoEditor' is required to be a "function", received: `.concat(h.insertIntoEditor," -> using default undefined")),h.insertIntoEditor=void 0)}},423:function(l,u,h){var g=this&&this.__awaiter||function(A,b,R,O){return new(R||(R=Promise))(function(q,H){function G(X){try{de(O.next(X))}catch(ue){H(ue)}}function Y(X){try{de(O.throw(X))}catch(ue){H(ue)}}function de(X){var ue;X.done?q(X.value):(ue=X.value,ue instanceof R?ue:new R(function(P){P(ue)})).then(G,Y)}de((O=O.apply(A,b||[])).next())})},m=this&&this.__generator||function(A,b){var R,O,q,H={label:0,sent:function(){if(1&q[0])throw q[1];return q[1]},trys:[],ops:[]},G=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return G.next=Y(0),G.throw=Y(1),G.return=Y(2),typeof Symbol=="function"&&(G[Symbol.iterator]=function(){return this}),G;function Y(de){return function(X){return function(ue){if(R)throw new TypeError("Generator is already executing.");for(;G&&(G=0,ue[0]&&(H=0)),H;)try{if(R=1,O&&(q=2&ue[0]?O.return:ue[0]?O.throw||((q=O.return)&&q.call(O),0):O.next)&&!(q=q.call(O,ue[1])).done)return q;switch(O=0,q&&(ue=[2&ue[0],q.value]),ue[0]){case 0:case 1:q=ue;break;case 4:return H.label++,{value:ue[1],done:!1};case 5:H.label++,O=ue[1],ue=[0];continue;case 7:ue=H.ops.pop(),H.trys.pop();continue;default:if(q=H.trys,!((q=q.length>0&&q[q.length-1])||ue[0]!==6&&ue[0]!==2)){H=0;continue}if(ue[0]===3&&(!q||ue[1]>q[0]&&ue[1]<q[3])){H.label=ue[1];break}if(ue[0]===6&&H.label<q[1]){H.label=q[1],q=ue;break}if(q&&H.label<q[2]){H.label=q[2],H.ops.push(ue);break}q[2]&&H.ops.pop(),H.trys.pop();continue}ue=b.call(A,H)}catch(P){ue=[6,P],O=0}finally{R=q=0}if(5&ue[0])throw ue[1];return{value:ue[0]?ue[1]:void 0,done:!0}}([de,X])}}};Object.defineProperty(u,"__esModule",{value:!0}),u.imageCompressor=void 0;var M=h(379),T=h(457),C=h(922),_=h(337),S=h(321),D=function(){function A(b,R){var O=this;this.quill=b,this.options=R||{};var q=!!R.debug,H=!!R.suppressErrorLogging;this.Logger=new S.ConsoleLogger(q,H),(0,T.warnAboutOptions)(R,this.Logger),this.imageDrop=new M.ImageDrop(b,function(Y){return g(O,void 0,void 0,function(){var de;return m(this,function(X){switch(X.label){case 0:return this.Logger.log("onImageDrop",{dataUrl:Y}),[4,this.downscaleImageFromUrl(Y)];case 1:return de=X.sent(),this.insertToEditor(de,A.b64toBlob(de)),[2]}})})},this.Logger,this.options.handleOnPaste!==!1),this.Logger.log("fileChanged",{options:R,quill:b,debug:q});var G=this.quill.getModule("toolbar");G?G.addHandler("image",function(){return O.selectLocalImage()}):this.Logger.error("Quill toolbar module not found! need { toolbar: // options } in Quill.modules for image icon to sit in")}return A.b64toBlob=function(b){for(var R=atob(b.split(",")[1]),O=b.slice(5).split(";")[0],q=new ArrayBuffer(R.length),H=new Uint8Array(q),G=0;G<R.length;G++)H[G]=R.charCodeAt(G);return new Blob([q],{type:O})},A.prototype.selectLocalImage=function(b){var R=this;this.range=this.quill.getSelection(),this.fileHolder=document.createElement("input"),this.fileHolder.setAttribute("type","file"),this.fileHolder.setAttribute("accept","image/*"),this.fileHolder.setAttribute("style","visibility:hidden"),this.fileHolder.onchange=function(){return R.fileChanged().then(function(){return b&&b()})},document.body.appendChild(this.fileHolder),this.fileHolder.click(),window.requestAnimationFrame(function(){R.fileHolder&&document.body.removeChild(R.fileHolder)})},A.prototype.fileChanged=function(b){return g(this,void 0,void 0,function(){var R,O,q,H,G;return m(this,function(Y){switch(Y.label){case 0:return(R=b||((G=this.fileHolder)===null||G===void 0?void 0:G.files))&&R.length?(O=R[0],this.Logger.log("fileChanged",{file:O}),O?[4,(0,C.file2b64)(O)]:[2]):[2];case 1:return q=Y.sent(),[4,this.downscaleImageFromUrl(q)];case 2:return H=Y.sent(),this.insertToEditor(H,A.b64toBlob(H)),[2]}})})},A.prototype.downscaleImageFromUrl=function(b){return g(this,void 0,void 0,function(){var R;return m(this,function(O){switch(O.label){case 0:return[4,(0,_.downscaleImage)(this.Logger,b,this.options.maxWidth,this.options.maxHeight,this.options.imageType,this.options.keepImageTypes,this.options.ignoreImageTypes,this.options.quality)];case 1:return R=O.sent(),this.Logger.log("downscaleImageFromUrl",{dataUrl:b,dataUrlCompressed:R}),[2,R]}})})},A.prototype.insertToEditor=function(b,R){if(this.options.insertIntoEditor)this.options.insertIntoEditor(b,R,this.quill);else{this.Logger.log("insertToEditor",{url:b}),this.range=this.quill.getSelection();var O=this.range;if(!O)return;this.logFileSize(b),this.quill.insertEmbed(O.index,"image","".concat(b),"user"),O.index++,this.quill.setSelection(O,"api")}},A.prototype.logFileSize=function(b){var R=(Math.round(3*(b.length-22)/4)/1024).toFixed(0);this.Logger.log("estimated img size: "+R+" kb")},A}();u.imageCompressor=D,window.imageCompressor=D,u.default=D},379:function(l,u,h){var g=this&&this.__awaiter||function(_,S,D,A){return new(D||(D=Promise))(function(b,R){function O(G){try{H(A.next(G))}catch(Y){R(Y)}}function q(G){try{H(A.throw(G))}catch(Y){R(Y)}}function H(G){var Y;G.done?b(G.value):(Y=G.value,Y instanceof D?Y:new D(function(de){de(Y)})).then(O,q)}H((A=A.apply(_,S||[])).next())})},m=this&&this.__generator||function(_,S){var D,A,b,R={label:0,sent:function(){if(1&b[0])throw b[1];return b[1]},trys:[],ops:[]},O=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return O.next=q(0),O.throw=q(1),O.return=q(2),typeof Symbol=="function"&&(O[Symbol.iterator]=function(){return this}),O;function q(H){return function(G){return function(Y){if(D)throw new TypeError("Generator is already executing.");for(;O&&(O=0,Y[0]&&(R=0)),R;)try{if(D=1,A&&(b=2&Y[0]?A.return:Y[0]?A.throw||((b=A.return)&&b.call(A),0):A.next)&&!(b=b.call(A,Y[1])).done)return b;switch(A=0,b&&(Y=[2&Y[0],b.value]),Y[0]){case 0:case 1:b=Y;break;case 4:return R.label++,{value:Y[1],done:!1};case 5:R.label++,A=Y[1],Y=[0];continue;case 7:Y=R.ops.pop(),R.trys.pop();continue;default:if(b=R.trys,!((b=b.length>0&&b[b.length-1])||Y[0]!==6&&Y[0]!==2)){R=0;continue}if(Y[0]===3&&(!b||Y[1]>b[0]&&Y[1]<b[3])){R.label=Y[1];break}if(Y[0]===6&&R.label<b[1]){R.label=b[1],b=Y;break}if(b&&R.label<b[2]){R.label=b[2],R.ops.push(Y);break}b[2]&&R.ops.pop(),R.trys.pop();continue}Y=S.call(_,R)}catch(de){Y=[6,de],A=0}finally{D=b=0}if(5&Y[0])throw Y[1];return{value:Y[0]?Y[1]:void 0,done:!0}}([H,G])}}};Object.defineProperty(u,"__esModule",{value:!0}),u.ImageDrop=void 0;var M=h(922),T=function(){function _(S,D,A,b){var R=this;this.quill=S,this.onNewDataUrl=D,this.logger=A,this.handleOnPaste=b,this.localDrag=!1,this.quill.root.addEventListener("dragstart",function(O){return R.handleDragStart(O)},!1),this.quill.root.addEventListener("dragend",function(O){return R.handleDragEnd(O)},!1),this.quill.root.addEventListener("drop",function(O){return R.handleDrop(O)},!0),this.handleOnPaste&&this.quill.root.addEventListener("paste",function(O){return R.handlePaste(O)},!0)}return _.prototype.handleDragStart=function(S){this.localDrag=!0},_.prototype.handleDragEnd=function(S){this.localDrag=!1},_.prototype.handleDrop=function(S){return g(this,void 0,void 0,function(){var D,A,b,R,O,q,H,G,Y,de;return m(this,function(X){switch(X.label){case 0:return this.localDrag?[2]:(S.preventDefault(),document.caretRangeFromPoint&&(D=document.getSelection(),A=document.caretRangeFromPoint(S.clientX,S.clientY),D&&A&&D.setBaseAndExtent(A.startContainer,A.startOffset,A.startContainer,A.startOffset)),this.logger.log("handleDrop",{evt:S}),b=(H=S.dataTransfer)===null||H===void 0?void 0:H.files,(R=Array.from(b||[]).filter(function(ue){return C(ue.type)})).length>0?(S.stopPropagation(),this.logger.log("handleDrop","found files",{evt:S,files:b,imageFiles:R}),[4,this.pasteFilesIntoQuill(R)]):[3,2]);case 1:return X.sent(),[2];case 2:return!((G=S.dataTransfer)===null||G===void 0)&&G.items?(S.stopPropagation(),this.logger.log("handleDrop","found items",{evt:S,files:b,imageFiles:R}),[4,this.handleDataTransferList((Y=S.dataTransfer)===null||Y===void 0?void 0:Y.items,S)]):[3,4];case 3:return X.sent(),[2];case 4:return O=(de=S.dataTransfer)===null||de===void 0?void 0:de.getData("URL"),this.logger.log("handleDrop","trying getData('URL')",{draggedUrl:O}),O?[4,fetch(O)]:[3,8];case 5:return[4,X.sent().blob()];case 6:return q=X.sent(),this.logger.log("handleDrop","blob from drag event",{evt:S,files:b,imageFiles:R}),[4,this.pasteFilesIntoQuill([q])];case 7:X.sent(),X.label=8;case 8:return[2]}})})},_.prototype.handlePaste=function(S){return g(this,void 0,void 0,function(){var D;return m(this,function(A){switch(A.label){case 0:return[4,this.handleDataTransferList((D=S.clipboardData)===null||D===void 0?void 0:D.items,S)];case 1:return A.sent(),[2]}})})},_.prototype.handleDataTransferList=function(S,D){return g(this,void 0,void 0,function(){var A,b,R,O;return m(this,function(q){switch(q.label){case 0:return A=Array.from(S||[]),b=A.filter(function(H){return H.kind==="file"&&C(H.type)}),R=A.map(function(H){return{type:H.type,kind:H.kind}}),this.logger.log("handleDataTransferList",{fileTypes:R,imageCount:b.length}),b.length?(D.preventDefault(),D.stopPropagation(),O=b.map(function(H){return H.getAsFile()}),[4,this.pasteFilesIntoQuill(O)]):[2];case 1:return q.sent(),[2]}})})},_.prototype.pasteFilesIntoQuill=function(S){return g(this,void 0,void 0,function(){var D=this;return m(this,function(A){switch(A.label){case 0:return this.logger.log(" pasteFilesIntoQuill","pasting ".concat(S.length," images...")),[4,Promise.all(S.map(function(b,R){return g(D,void 0,void 0,function(){var O;return m(this,function(q){switch(q.label){case 0:return b?[4,(0,M.file2b64)(b)]:[2];case 1:return O=q.sent(),this.logger.log(" pasteFilesIntoQuill","pasting image (".concat(R,")")),this.onNewDataUrl(O),[2]}})})}))];case 1:return A.sent(),this.logger.log(" pasteFilesIntoQuill","done"),[2]}})})},_}();function C(_){return!!_.match(/^image\/(gif|jpe?g|a?png|svg|webp|bmp)/i)}u.ImageDrop=T}},n={},i=function l(u){var h=n[u];if(h!==void 0)return h.exports;var g=n[u]={exports:{}};return t[u].call(g.exports,g,g.exports,l),g.exports}(423);return i})())}(up)),up.exports}var VD=WD();const GD=ol(VD);var Wd={exports:{}},ZD=Wd.exports,iy;function YD(){return iy||(iy=1,function(r,e){(function(t,n){r.exports=n()})(ZD,function(){function t(S){if(!(typeof window>"u")){var D=document.createElement("style");return D.setAttribute("media","screen"),D.innerHTML=S,document.head.appendChild(D),S}}/*! *****************************************************************************
110
+ Copyright (c) Microsoft Corporation.
111
+
112
+ Permission to use, copy, modify, and/or distribute this software for any
113
+ purpose with or without fee is hereby granted.
114
+
115
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
116
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
117
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
118
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
119
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
120
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
121
+ PERFORMANCE OF THIS SOFTWARE.
122
+ ***************************************************************************** */var n=function(S,D){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,b){A.__proto__=b}||function(A,b){for(var R in b)b.hasOwnProperty(R)&&(A[R]=b[R])},n(S,D)};function i(S,D){n(S,D);function A(){this.constructor=S}S.prototype=D===null?Object.create(D):(A.prototype=D.prototype,new A)}var l=function(){return l=Object.assign||function(D){for(var A,b=1,R=arguments.length;b<R;b++){A=arguments[b];for(var O in A)Object.prototype.hasOwnProperty.call(A,O)&&(D[O]=A[O])}return D},l.apply(this,arguments)};t(`#editor-resizer {
123
+ position: absolute;
124
+ border: 1px dashed #fff;
125
+ background-color: rgba(0, 0, 0, 0.5);
126
+ }
127
+ #editor-resizer .handler {
128
+ position: absolute;
129
+ right: -5px;
130
+ bottom: -5px;
131
+ width: 10px;
132
+ height: 10px;
133
+ border: 1px solid #333;
134
+ background-color: rgba(255, 255, 255, 0.8);
135
+ cursor: nwse-resize;
136
+ user-select: none;
137
+ }
138
+ #editor-resizer .toolbar {
139
+ position: absolute;
140
+ top: -5em;
141
+ left: 50%;
142
+ padding: 0.5em;
143
+ border: 1px solid #fff;
144
+ border-radius: 3px;
145
+ background-color: #fff;
146
+ box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
147
+ transform: translateX(-50%);
148
+ width: 20em;
149
+ }
150
+ #editor-resizer .toolbar .group {
151
+ display: flex;
152
+ border: 1px solid #aaa;
153
+ border-radius: 6px;
154
+ white-space: nowrap;
155
+ text-align: center;
156
+ line-height: 2;
157
+ color: rgba(0, 0, 0, 0.65);
158
+ }
159
+ #editor-resizer .toolbar .group:not(:first-child) {
160
+ margin-top: 0.5em;
161
+ }
162
+ #editor-resizer .toolbar .group .btn {
163
+ flex: 1 0 0;
164
+ text-align: center;
165
+ width: 25%;
166
+ padding: 0 0.5rem;
167
+ display: inline-block;
168
+ vertical-align: top;
169
+ user-select: none;
170
+ color: inherit;
171
+ }
172
+ #editor-resizer .toolbar .group .btn:not(:last-child) {
173
+ border-right: 1px solid #bbb;
174
+ }
175
+ #editor-resizer .toolbar .group .btn:not(.btn-group):active {
176
+ background-color: rgba(0, 0, 0, 0.1);
177
+ }
178
+ #editor-resizer .toolbar .group .input-wrapper {
179
+ width: 25%;
180
+ border: 1px solid #eee;
181
+ position: relative;
182
+ border-right: 1px solid #bbb;
183
+ min-width: 4em;
184
+ }
185
+ #editor-resizer .toolbar .group .input-wrapper::after {
186
+ content: " ";
187
+ position: absolute;
188
+ height: 1px;
189
+ background-color: #333;
190
+ left: 0.5em;
191
+ right: 1em;
192
+ bottom: 0.2em;
193
+ }
194
+ #editor-resizer .toolbar .group .input-wrapper input {
195
+ color: inherit;
196
+ text-align: center;
197
+ width: 100%;
198
+ border: none;
199
+ outline: none;
200
+ padding: 0 0.5em;
201
+ padding-right: 1.5em;
202
+ }
203
+ #editor-resizer .toolbar .group .input-wrapper input:focus ~ .tooltip {
204
+ display: block;
205
+ }
206
+ #editor-resizer .toolbar .group .input-wrapper .suffix {
207
+ position: absolute;
208
+ right: 0.5em;
209
+ }
210
+ #editor-resizer .toolbar .group .input-wrapper .tooltip {
211
+ display: none;
212
+ position: absolute;
213
+ top: 100%;
214
+ left: 0;
215
+ font-size: small;
216
+ background-color: #fff;
217
+ box-shadow: 0 0 3px #a7a7a7;
218
+ padding: 0 0.6em;
219
+ border-radius: 5px;
220
+ zoom: 0.85;
221
+ }
222
+ `);var u=function(){function S(D){this.config=l(l({},h),D)}return S.prototype.findLabel=function(D){return this.config?Reflect.get(this.config,D):null},S}(),h={floatLeft:"left",floatRight:"right",center:"center",restore:"restore",altTip:"Press and hold alt to lock ratio!",inputTip:"Press enter key to apply change!"};function g(S){for(var D=[],A=1;A<arguments.length;A++)D[A-1]=arguments[A];return S.replace(/\{(\d+)\}/g,function(b,R){return D.length>R?D[R]:""})}(function(S){i(D,S);function D(){var A=S!==null&&S.apply(this,arguments)||this;return A.originSize=null,A}return D})(HTMLElement);var m=`
223
+ <div class="handler" title="{0}"></div>
224
+ <div class="toolbar">
225
+ <div class="group">
226
+ <a class="btn" data-type="width" data-styles="width:100%">100%</a>
227
+ <a class="btn" data-type="width" data-styles="width:50%">50%</a>
228
+ <span class="input-wrapper"><input data-type="width" maxlength="3" /><span class="suffix">%</span><span class="tooltip">{5}</span></span>
229
+ <a class="btn" data-type="width" data-styles="width:auto">{4}</a>
230
+ </div>
231
+ <div class="group">
232
+ <a class="btn" data-type="align" data-styles="float:left">{1}</a>
233
+ <a class="btn" data-type="align" data-styles="display:block;margin:auto;">{2}</a>
234
+ <a class="btn" data-type="align" data-styles="float:right;">{3}</a>
235
+ <a class="btn" data-type="align" data-styles="">{4}</a>
236
+ </div>
237
+ </div>
238
+ `,M=function(){function S(D,A,b,R){this.resizer=null,this.startResizePosition=null,this.i18n=new u((R==null?void 0:R.locale)||h),this.options=R,this.resizeTarget=D,D.originSize||(D.originSize={width:D.clientWidth,height:D.clientHeight}),this.editor=b,this.container=A,this.initResizer(),this.positionResizerToTarget(D),this.resizing=this.resizing.bind(this),this.endResize=this.endResize.bind(this),this.startResize=this.startResize.bind(this),this.toolbarClick=this.toolbarClick.bind(this),this.toolbarInputChange=this.toolbarInputChange.bind(this),this.onScroll=this.onScroll.bind(this),this.bindEvents()}return S.prototype.initResizer=function(){var D=this.container.querySelector("#editor-resizer");D||(D=document.createElement("div"),D.setAttribute("id","editor-resizer"),D.innerHTML=g(m,this.i18n.findLabel("altTip"),this.i18n.findLabel("floatLeft"),this.i18n.findLabel("center"),this.i18n.findLabel("floatRight"),this.i18n.findLabel("restore"),this.i18n.findLabel("inputTip")),this.container.appendChild(D)),this.resizer=D},S.prototype.positionResizerToTarget=function(D){this.resizer!==null&&(this.resizer.style.setProperty("left",D.offsetLeft+"px"),this.resizer.style.setProperty("top",D.offsetTop-this.editor.scrollTop+"px"),this.resizer.style.setProperty("width",D.clientWidth+"px"),this.resizer.style.setProperty("height",D.clientHeight+"px"))},S.prototype.bindEvents=function(){this.resizer!==null&&(this.resizer.addEventListener("mousedown",this.startResize),this.resizer.addEventListener("click",this.toolbarClick),this.resizer.addEventListener("change",this.toolbarInputChange)),window.addEventListener("mouseup",this.endResize),window.addEventListener("mousemove",this.resizing),this.editor.addEventListener("scroll",this.onScroll)},S.prototype.onScroll=function(){this.positionResizerToTarget(this.resizeTarget)},S.prototype._setStylesForToolbar=function(D,A){var b,R="_styles_"+D,O=this.resizeTarget.style,q=this.resizeTarget[R];O.cssText=O.cssText.replaceAll(" ","").replace(q,"")+(";"+A),this.resizeTarget[R]=A,this.positionResizerToTarget(this.resizeTarget),(b=this.options)===null||b===void 0||b.onChange(this.resizeTarget)},S.prototype.toolbarInputChange=function(D){var A,b=D.target,R=(A=b==null?void 0:b.dataset)===null||A===void 0?void 0:A.type,O=b.value;R&&Number(O)&&this._setStylesForToolbar(R,"width: "+Number(O)+"%;")},S.prototype.toolbarClick=function(D){var A,b,R=D.target,O=(A=R==null?void 0:R.dataset)===null||A===void 0?void 0:A.type;O&&R.classList.contains("btn")&&this._setStylesForToolbar(O,(b=R==null?void 0:R.dataset)===null||b===void 0?void 0:b.styles)},S.prototype.startResize=function(D){var A=D.target;A.classList.contains("handler")&&D.which===1&&(this.startResizePosition={left:D.clientX,top:D.clientY,width:this.resizeTarget.clientWidth,height:this.resizeTarget.clientHeight})},S.prototype.endResize=function(){var D;this.startResizePosition=null,(D=this.options)===null||D===void 0||D.onChange(this.resizeTarget)},S.prototype.resizing=function(D){if(this.startResizePosition){var A=D.clientX-this.startResizePosition.left,b=D.clientY-this.startResizePosition.top,R=this.startResizePosition.width,O=this.startResizePosition.height;if(R+=A,O+=b,D.altKey){var q=this.resizeTarget.originSize,H=q.height/q.width;O=H*R}this.resizeTarget.style.setProperty("width",Math.max(R,30)+"px"),this.resizeTarget.style.setProperty("height",Math.max(O,30)+"px"),this.positionResizerToTarget(this.resizeTarget)}},S.prototype.destory=function(){this.container.removeChild(this.resizer),window.removeEventListener("mouseup",this.endResize),window.removeEventListener("mousemove",this.resizing),this.editor.removeEventListener("scroll",this.onScroll),this.resizer=null},S}(),T=function(){function S(D,A){this.element=D,this.cb=A,this.hasTracked=!1}return S}(),C=function(){function S(){}return S.track=function(D,A){this.iframes.push(new T(D,A)),this.interval||(this.interval=setInterval(function(){S.checkClick()},this.resolution))},S.checkClick=function(){if(document.activeElement){var D=document.activeElement;for(var A in this.iframes)D===this.iframes[A].element?this.iframes[A].hasTracked==!1&&(this.iframes[A].cb.apply(window,[]),this.iframes[A].hasTracked=!0):this.iframes[A].hasTracked=!1}},S.resolution=200,S.iframes=[],S.interval=null,S}();function _(S,D){var A=S.root,b,R;function O(){var q=S.getContents().constructor,H=new q().retain(1);S.updateContents(H)}A.addEventListener("click",function(q){var H=q.target;q.target&&["img","video"].includes(H.tagName.toLowerCase())&&(b=H,R=new M(H,A.parentElement,A,l(l({},D),{onChange:O})))}),S.on("text-change",function(q,H){A.querySelectorAll("iframe").forEach(function(G){C.track(G,function(){b=G,R=new M(G,A.parentElement,A,l(l({},D),{onChange:O}))})})}),document.addEventListener("mousedown",function(q){var H,G,Y,de=q.target;de!==b&&!(!((G=(H=R==null?void 0:R.resizer)===null||H===void 0?void 0:H.contains)===null||G===void 0)&&G.call(H,de))&&((Y=R==null?void 0:R.destory)===null||Y===void 0||Y.call(R),R=null,b=null)},{capture:!0})}return _})}(Wd)),Wd.exports}var KD=YD();const XD=ol(KD);var Vl={},zc={};/**
239
+ * @license React
240
+ * react-dom-server-legacy.browser.production.min.js
241
+ *
242
+ * Copyright (c) Facebook, Inc. and its affiliates.
243
+ *
244
+ * This source code is licensed under the MIT license found in the
245
+ * LICENSE file in the root directory of this source tree.
246
+ */var oy;function JD(){if(oy)return zc;oy=1;var r=k;function e(x){for(var j="https://reactjs.org/docs/error-decoder.html?invariant="+x,W=1;W<arguments.length;W++)j+="&args[]="+encodeURIComponent(arguments[W]);return"Minified React error #"+x+"; visit "+j+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var t=Object.prototype.hasOwnProperty,n=/^[: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]*$/,i={},l={};function u(x){return t.call(l,x)?!0:t.call(i,x)?!1:n.test(x)?l[x]=!0:(i[x]=!0,!1)}function h(x,j,W,Q,Ae,_e,je){this.acceptsBooleans=j===2||j===3||j===4,this.attributeName=Q,this.attributeNamespace=Ae,this.mustUseProperty=W,this.propertyName=x,this.type=j,this.sanitizeURL=_e,this.removeEmptyString=je}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(x){g[x]=new h(x,0,!1,x,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(x){var j=x[0];g[j]=new h(j,1,!1,x[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(x){g[x]=new h(x,2,!1,x.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(x){g[x]=new h(x,2,!1,x,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(x){g[x]=new h(x,3,!1,x.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(x){g[x]=new h(x,3,!0,x,null,!1,!1)}),["capture","download"].forEach(function(x){g[x]=new h(x,4,!1,x,null,!1,!1)}),["cols","rows","size","span"].forEach(function(x){g[x]=new h(x,6,!1,x,null,!1,!1)}),["rowSpan","start"].forEach(function(x){g[x]=new h(x,5,!1,x.toLowerCase(),null,!1,!1)});var m=/[\-:]([a-z])/g;function M(x){return x[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(x){var j=x.replace(m,M);g[j]=new h(j,1,!1,x,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(x){var j=x.replace(m,M);g[j]=new h(j,1,!1,x,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(x){var j=x.replace(m,M);g[j]=new h(j,1,!1,x,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(x){g[x]=new h(x,1,!1,x.toLowerCase(),null,!1,!1)}),g.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(x){g[x]=new h(x,1,!1,x.toLowerCase(),null,!0,!0)});var T={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},C=["Webkit","ms","Moz","O"];Object.keys(T).forEach(function(x){C.forEach(function(j){j=j+x.charAt(0).toUpperCase()+x.substring(1),T[j]=T[x]})});var _=/["'&<>]/;function S(x){if(typeof x=="boolean"||typeof x=="number")return""+x;x=""+x;var j=_.exec(x);if(j){var W="",Q,Ae=0;for(Q=j.index;Q<x.length;Q++){switch(x.charCodeAt(Q)){case 34:j="&quot;";break;case 38:j="&amp;";break;case 39:j="&#x27;";break;case 60:j="&lt;";break;case 62:j="&gt;";break;default:continue}Ae!==Q&&(W+=x.substring(Ae,Q)),Ae=Q+1,W+=j}x=Ae!==Q?W+x.substring(Ae,Q):W}return x}var D=/([A-Z])/g,A=/^ms-/,b=Array.isArray;function R(x,j){return{insertionMode:x,selectedValue:j}}function O(x,j,W){switch(j){case"select":return R(1,W.value!=null?W.value:W.defaultValue);case"svg":return R(2,null);case"math":return R(3,null);case"foreignObject":return R(1,null);case"table":return R(4,null);case"thead":case"tbody":case"tfoot":return R(5,null);case"colgroup":return R(7,null);case"tr":return R(6,null)}return 4<=x.insertionMode||x.insertionMode===0?R(1,null):x}var q=new Map;function H(x,j,W){if(typeof W!="object")throw Error(e(62));j=!0;for(var Q in W)if(t.call(W,Q)){var Ae=W[Q];if(Ae!=null&&typeof Ae!="boolean"&&Ae!==""){if(Q.indexOf("--")===0){var _e=S(Q);Ae=S((""+Ae).trim())}else{_e=Q;var je=q.get(_e);je!==void 0||(je=S(_e.replace(D,"-$1").toLowerCase().replace(A,"-ms-")),q.set(_e,je)),_e=je,Ae=typeof Ae=="number"?Ae===0||t.call(T,Q)?""+Ae:Ae+"px":S((""+Ae).trim())}j?(j=!1,x.push(' style="',_e,":",Ae)):x.push(";",_e,":",Ae)}}j||x.push('"')}function G(x,j,W,Q){switch(W){case"style":H(x,j,Q);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<W.length)||W[0]!=="o"&&W[0]!=="O"||W[1]!=="n"&&W[1]!=="N"){if(j=g.hasOwnProperty(W)?g[W]:null,j!==null){switch(typeof Q){case"function":case"symbol":return;case"boolean":if(!j.acceptsBooleans)return}switch(W=j.attributeName,j.type){case 3:Q&&x.push(" ",W,'=""');break;case 4:Q===!0?x.push(" ",W,'=""'):Q!==!1&&x.push(" ",W,'="',S(Q),'"');break;case 5:isNaN(Q)||x.push(" ",W,'="',S(Q),'"');break;case 6:!isNaN(Q)&&1<=Q&&x.push(" ",W,'="',S(Q),'"');break;default:j.sanitizeURL&&(Q=""+Q),x.push(" ",W,'="',S(Q),'"')}}else if(u(W)){switch(typeof Q){case"function":case"symbol":return;case"boolean":if(j=W.toLowerCase().slice(0,5),j!=="data-"&&j!=="aria-")return}x.push(" ",W,'="',S(Q),'"')}}}function Y(x,j,W){if(j!=null){if(W!=null)throw Error(e(60));if(typeof j!="object"||!("__html"in j))throw Error(e(61));j=j.__html,j!=null&&x.push(""+j)}}function de(x){var j="";return r.Children.forEach(x,function(W){W!=null&&(j+=W)}),j}function X(x,j,W,Q){x.push(re(W));var Ae=W=null,_e;for(_e in j)if(t.call(j,_e)){var je=j[_e];if(je!=null)switch(_e){case"children":W=je;break;case"dangerouslySetInnerHTML":Ae=je;break;default:G(x,Q,_e,je)}}return x.push(">"),Y(x,Ae,W),typeof W=="string"?(x.push(S(W)),null):W}var ue=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,P=new Map;function re(x){var j=P.get(x);if(j===void 0){if(!ue.test(x))throw Error(e(65,x));j="<"+x,P.set(x,j)}return j}function J(x,j,W,Q,Ae){switch(j){case"select":x.push(re("select"));var _e=null,je=null;for(Nt in W)if(t.call(W,Nt)){var nt=W[Nt];if(nt!=null)switch(Nt){case"children":_e=nt;break;case"dangerouslySetInnerHTML":je=nt;break;case"defaultValue":case"value":break;default:G(x,Q,Nt,nt)}}return x.push(">"),Y(x,je,_e),_e;case"option":je=Ae.selectedValue,x.push(re("option"));var Lt=nt=null,Ft=null,Nt=null;for(_e in W)if(t.call(W,_e)){var _r=W[_e];if(_r!=null)switch(_e){case"children":nt=_r;break;case"selected":Ft=_r;break;case"dangerouslySetInnerHTML":Nt=_r;break;case"value":Lt=_r;default:G(x,Q,_e,_r)}}if(je!=null)if(W=Lt!==null?""+Lt:de(nt),b(je)){for(Q=0;Q<je.length;Q++)if(""+je[Q]===W){x.push(' selected=""');break}}else""+je===W&&x.push(' selected=""');else Ft&&x.push(' selected=""');return x.push(">"),Y(x,Nt,nt),nt;case"textarea":x.push(re("textarea")),Nt=je=_e=null;for(nt in W)if(t.call(W,nt)&&(Lt=W[nt],Lt!=null))switch(nt){case"children":Nt=Lt;break;case"value":_e=Lt;break;case"defaultValue":je=Lt;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:G(x,Q,nt,Lt)}if(_e===null&&je!==null&&(_e=je),x.push(">"),Nt!=null){if(_e!=null)throw Error(e(92));if(b(Nt)&&1<Nt.length)throw Error(e(93));_e=""+Nt}return typeof _e=="string"&&_e[0]===`
247
+ `&&x.push(`
248
+ `),_e!==null&&x.push(S(""+_e)),null;case"input":x.push(re("input")),Lt=Nt=nt=_e=null;for(je in W)if(t.call(W,je)&&(Ft=W[je],Ft!=null))switch(je){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":Lt=Ft;break;case"defaultValue":nt=Ft;break;case"checked":Nt=Ft;break;case"value":_e=Ft;break;default:G(x,Q,je,Ft)}return Nt!==null?G(x,Q,"checked",Nt):Lt!==null&&G(x,Q,"checked",Lt),_e!==null?G(x,Q,"value",_e):nt!==null&&G(x,Q,"value",nt),x.push("/>"),null;case"menuitem":x.push(re("menuitem"));for(var Zr in W)if(t.call(W,Zr)&&(_e=W[Zr],_e!=null))switch(Zr){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:G(x,Q,Zr,_e)}return x.push(">"),null;case"title":x.push(re("title")),_e=null;for(_r in W)if(t.call(W,_r)&&(je=W[_r],je!=null))switch(_r){case"children":_e=je;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:G(x,Q,_r,je)}return x.push(">"),_e;case"listing":case"pre":x.push(re(j)),je=_e=null;for(Lt in W)if(t.call(W,Lt)&&(nt=W[Lt],nt!=null))switch(Lt){case"children":_e=nt;break;case"dangerouslySetInnerHTML":je=nt;break;default:G(x,Q,Lt,nt)}if(x.push(">"),je!=null){if(_e!=null)throw Error(e(60));if(typeof je!="object"||!("__html"in je))throw Error(e(61));W=je.__html,W!=null&&(typeof W=="string"&&0<W.length&&W[0]===`
249
+ `?x.push(`
250
+ `,W):x.push(""+W))}return typeof _e=="string"&&_e[0]===`
251
+ `&&x.push(`
252
+ `),_e;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":x.push(re(j));for(var vn in W)if(t.call(W,vn)&&(_e=W[vn],_e!=null))switch(vn){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,j));default:G(x,Q,vn,_e)}return x.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return X(x,W,j,Q);case"html":return Ae.insertionMode===0&&x.push("<!DOCTYPE html>"),X(x,W,j,Q);default:if(j.indexOf("-")===-1&&typeof W.is!="string")return X(x,W,j,Q);x.push(re(j)),je=_e=null;for(Ft in W)if(t.call(W,Ft)&&(nt=W[Ft],nt!=null))switch(Ft){case"children":_e=nt;break;case"dangerouslySetInnerHTML":je=nt;break;case"style":H(x,Q,nt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:u(Ft)&&typeof nt!="function"&&typeof nt!="symbol"&&x.push(" ",Ft,'="',S(nt),'"')}return x.push(">"),Y(x,je,_e),_e}}function ne(x,j,W){if(x.push('<!--$?--><template id="'),W===null)throw Error(e(395));return x.push(W),x.push('"></template>')}function oe(x,j,W,Q){switch(W.insertionMode){case 0:case 1:return x.push('<div hidden id="'),x.push(j.segmentPrefix),j=Q.toString(16),x.push(j),x.push('">');case 2:return x.push('<svg aria-hidden="true" style="display:none" id="'),x.push(j.segmentPrefix),j=Q.toString(16),x.push(j),x.push('">');case 3:return x.push('<math aria-hidden="true" style="display:none" id="'),x.push(j.segmentPrefix),j=Q.toString(16),x.push(j),x.push('">');case 4:return x.push('<table hidden id="'),x.push(j.segmentPrefix),j=Q.toString(16),x.push(j),x.push('">');case 5:return x.push('<table hidden><tbody id="'),x.push(j.segmentPrefix),j=Q.toString(16),x.push(j),x.push('">');case 6:return x.push('<table hidden><tr id="'),x.push(j.segmentPrefix),j=Q.toString(16),x.push(j),x.push('">');case 7:return x.push('<table hidden><colgroup id="'),x.push(j.segmentPrefix),j=Q.toString(16),x.push(j),x.push('">');default:throw Error(e(397))}}function ce(x,j){switch(j.insertionMode){case 0:case 1:return x.push("</div>");case 2:return x.push("</svg>");case 3:return x.push("</math>");case 4:return x.push("</table>");case 5:return x.push("</tbody></table>");case 6:return x.push("</tr></table>");case 7:return x.push("</colgroup></table>");default:throw Error(e(397))}}var ve=/[<\u2028\u2029]/g;function ae(x){return JSON.stringify(x).replace(ve,function(j){switch(j){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function ge(x,j){return j=j===void 0?"":j,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:j+"P:",segmentPrefix:j+"S:",boundaryPrefix:j+"B:",idPrefix:j,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:x}}function he(x,j,W,Q){return W.generateStaticMarkup?(x.push(S(j)),!1):(j===""?x=Q:(Q&&x.push("<!-- -->"),x.push(S(j)),x=!0),x)}var Se=Object.assign,Oe=Symbol.for("react.element"),Be=Symbol.for("react.portal"),Ke=Symbol.for("react.fragment"),Te=Symbol.for("react.strict_mode"),lt=Symbol.for("react.profiler"),gt=Symbol.for("react.provider"),Xe=Symbol.for("react.context"),Ge=Symbol.for("react.forward_ref"),Le=Symbol.for("react.suspense"),Re=Symbol.for("react.suspense_list"),ke=Symbol.for("react.memo"),He=Symbol.for("react.lazy"),Ie=Symbol.for("react.scope"),rt=Symbol.for("react.debug_trace_mode"),ft=Symbol.for("react.legacy_hidden"),kt=Symbol.for("react.default_value"),wt=Symbol.iterator;function bt(x){if(x==null)return null;if(typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case Ke:return"Fragment";case Be:return"Portal";case lt:return"Profiler";case Te:return"StrictMode";case Le:return"Suspense";case Re:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case Xe:return(x.displayName||"Context")+".Consumer";case gt:return(x._context.displayName||"Context")+".Provider";case Ge:var j=x.render;return x=x.displayName,x||(x=j.displayName||j.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case ke:return j=x.displayName||null,j!==null?j:bt(x.type)||"Memo";case He:j=x._payload,x=x._init;try{return bt(x(j))}catch{}}return null}var Mt={};function Rt(x,j){if(x=x.contextTypes,!x)return Mt;var W={},Q;for(Q in x)W[Q]=j[Q];return W}var dt=null;function ct(x,j){if(x!==j){x.context._currentValue2=x.parentValue,x=x.parent;var W=j.parent;if(x===null){if(W!==null)throw Error(e(401))}else{if(W===null)throw Error(e(401));ct(x,W)}j.context._currentValue2=j.value}}function Ct(x){x.context._currentValue2=x.parentValue,x=x.parent,x!==null&&Ct(x)}function Me(x){var j=x.parent;j!==null&&Me(j),x.context._currentValue2=x.value}function mt(x,j){if(x.context._currentValue2=x.parentValue,x=x.parent,x===null)throw Error(e(402));x.depth===j.depth?ct(x,j):mt(x,j)}function _t(x,j){var W=j.parent;if(W===null)throw Error(e(402));x.depth===W.depth?ct(x,W):_t(x,W),j.context._currentValue2=j.value}function Dt(x){var j=dt;j!==x&&(j===null?Me(x):x===null?Ct(j):j.depth===x.depth?ct(j,x):j.depth>x.depth?mt(j,x):_t(j,x),dt=x)}var Bt={isMounted:function(){return!1},enqueueSetState:function(x,j){x=x._reactInternals,x.queue!==null&&x.queue.push(j)},enqueueReplaceState:function(x,j){x=x._reactInternals,x.replace=!0,x.queue=[j]},enqueueForceUpdate:function(){}};function $e(x,j,W,Q){var Ae=x.state!==void 0?x.state:null;x.updater=Bt,x.props=W,x.state=Ae;var _e={queue:[],replace:!1};x._reactInternals=_e;var je=j.contextType;if(x.context=typeof je=="object"&&je!==null?je._currentValue2:Q,je=j.getDerivedStateFromProps,typeof je=="function"&&(je=je(W,Ae),Ae=je==null?Ae:Se({},Ae,je),x.state=Ae),typeof j.getDerivedStateFromProps!="function"&&typeof x.getSnapshotBeforeUpdate!="function"&&(typeof x.UNSAFE_componentWillMount=="function"||typeof x.componentWillMount=="function"))if(j=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),j!==x.state&&Bt.enqueueReplaceState(x,x.state,null),_e.queue!==null&&0<_e.queue.length)if(j=_e.queue,je=_e.replace,_e.queue=null,_e.replace=!1,je&&j.length===1)x.state=j[0];else{for(_e=je?j[0]:x.state,Ae=!0,je=je?1:0;je<j.length;je++){var nt=j[je];nt=typeof nt=="function"?nt.call(x,_e,W,Q):nt,nt!=null&&(Ae?(Ae=!1,_e=Se({},_e,nt)):Se(_e,nt))}x.state=_e}else _e.queue=null}var Tt={id:1,overflow:""};function jt(x,j,W){var Q=x.id;x=x.overflow;var Ae=32-pr(Q)-1;Q&=~(1<<Ae),W+=1;var _e=32-pr(j)+Ae;if(30<_e){var je=Ae-Ae%5;return _e=(Q&(1<<je)-1).toString(32),Q>>=je,Ae-=je,{id:1<<32-pr(j)+Ae|W<<Ae|Q,overflow:_e+x}}return{id:1<<_e|W<<Ae|Q,overflow:x}}var pr=Math.clz32?Math.clz32:me,or=Math.log,Lr=Math.LN2;function me(x){return x>>>=0,x===0?32:31-(or(x)/Lr|0)|0}function te(x,j){return x===j&&(x!==0||1/x===1/j)||x!==x&&j!==j}var ye=typeof Object.is=="function"?Object.is:te,xe=null,vt=null,et=null,ot=null,Et=!1,At=!1,Jt=0,Ht=null,Ut=0;function qt(){if(xe===null)throw Error(e(321));return xe}function tr(){if(0<Ut)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Ar(){return ot===null?et===null?(Et=!1,et=ot=tr()):(Et=!0,ot=et):ot.next===null?(Et=!1,ot=ot.next=tr()):(Et=!0,ot=ot.next),ot}function Je(){vt=xe=null,At=!1,et=null,Ut=0,ot=Ht=null}function Qe(x,j){return typeof j=="function"?j(x):j}function ht(x,j,W){if(xe=qt(),ot=Ar(),Et){var Q=ot.queue;if(j=Q.dispatch,Ht!==null&&(W=Ht.get(Q),W!==void 0)){Ht.delete(Q),Q=ot.memoizedState;do Q=x(Q,W.action),W=W.next;while(W!==null);return ot.memoizedState=Q,[Q,j]}return[ot.memoizedState,j]}return x=x===Qe?typeof j=="function"?j():j:W!==void 0?W(j):j,ot.memoizedState=x,x=ot.queue={last:null,dispatch:null},x=x.dispatch=xt.bind(null,xe,x),[ot.memoizedState,x]}function Ne(x,j){if(xe=qt(),ot=Ar(),j=j===void 0?null:j,ot!==null){var W=ot.memoizedState;if(W!==null&&j!==null){var Q=W[1];e:if(Q===null)Q=!1;else{for(var Ae=0;Ae<Q.length&&Ae<j.length;Ae++)if(!ye(j[Ae],Q[Ae])){Q=!1;break e}Q=!0}if(Q)return W[0]}}return x=x(),ot.memoizedState=[x,j],x}function xt(x,j,W){if(25<=Ut)throw Error(e(301));if(x===xe)if(At=!0,x={action:W,next:null},Ht===null&&(Ht=new Map),W=Ht.get(j),W===void 0)Ht.set(j,x);else{for(j=W;j.next!==null;)j=j.next;j.next=x}}function K(){throw Error(e(394))}function Pe(){}var tt={readContext:function(x){return x._currentValue2},useContext:function(x){return qt(),x._currentValue2},useMemo:Ne,useReducer:ht,useRef:function(x){xe=qt(),ot=Ar();var j=ot.memoizedState;return j===null?(x={current:x},ot.memoizedState=x):j},useState:function(x){return ht(Qe,x)},useInsertionEffect:Pe,useLayoutEffect:function(){},useCallback:function(x,j){return Ne(function(){return x},j)},useImperativeHandle:Pe,useEffect:Pe,useDebugValue:Pe,useDeferredValue:function(x){return qt(),x},useTransition:function(){return qt(),[!1,K]},useId:function(){var x=vt.treeContext,j=x.overflow;x=x.id,x=(x&~(1<<32-pr(x)-1)).toString(32)+j;var W=It;if(W===null)throw Error(e(404));return j=Jt++,x=":"+W.idPrefix+"R"+x,0<j&&(x+="H"+j.toString(32)),x+":"},useMutableSource:function(x,j){return qt(),j(x._source)},useSyncExternalStore:function(x,j,W){if(W===void 0)throw Error(e(407));return W()}},It=null,Yt=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function zt(x){return console.error(x),null}function yt(){}function Kt(x,j,W,Q,Ae,_e,je,nt,Lt){var Ft=[],Nt=new Set;return j={destination:null,responseState:j,progressiveChunkSize:Q===void 0?12800:Q,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Nt,pingedTasks:Ft,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Ae===void 0?zt:Ae,onAllReady:yt,onShellReady:je===void 0?yt:je,onShellError:yt,onFatalError:yt},W=ur(j,0,null,W,!1,!1),W.parentFlushed=!0,x=Tr(j,x,null,W,Nt,Mt,null,Tt),Ft.push(x),j}function Tr(x,j,W,Q,Ae,_e,je,nt){x.allPendingTasks++,W===null?x.pendingRootTasks++:W.pendingTasks++;var Lt={node:j,ping:function(){var Ft=x.pingedTasks;Ft.push(Lt),Ft.length===1&&Cn(x)},blockedBoundary:W,blockedSegment:Q,abortSet:Ae,legacyContext:_e,context:je,treeContext:nt};return Ae.add(Lt),Lt}function ur(x,j,W,Q,Ae,_e){return{status:0,id:-1,index:j,parentFlushed:!1,chunks:[],children:[],formatContext:Q,boundary:W,lastPushedText:Ae,textEmbedded:_e}}function hr(x,j){if(x=x.onError(j),x!=null&&typeof x!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof x+'" instead');return x}function $r(x,j){var W=x.onShellError;W(j),W=x.onFatalError,W(j),x.destination!==null?(x.status=2,x.destination.destroy(j)):(x.status=1,x.fatalError=j)}function vr(x,j,W,Q,Ae){for(xe={},vt=j,Jt=0,x=W(Q,Ae);At;)At=!1,Jt=0,Ut+=1,ot=null,x=W(Q,Ae);return Je(),x}function Gn(x,j,W,Q){var Ae=W.render(),_e=Q.childContextTypes;if(_e!=null){var je=j.legacyContext;if(typeof W.getChildContext!="function")Q=je;else{W=W.getChildContext();for(var nt in W)if(!(nt in _e))throw Error(e(108,bt(Q)||"Unknown",nt));Q=Se({},je,W)}j.legacyContext=Q,Kr(x,j,Ae),j.legacyContext=je}else Kr(x,j,Ae)}function Sn(x,j){if(x&&x.defaultProps){j=Se({},j),x=x.defaultProps;for(var W in x)j[W]===void 0&&(j[W]=x[W]);return j}return j}function Mn(x,j,W,Q,Ae){if(typeof W=="function")if(W.prototype&&W.prototype.isReactComponent){Ae=Rt(W,j.legacyContext);var _e=W.contextType;_e=new W(Q,typeof _e=="object"&&_e!==null?_e._currentValue2:Ae),$e(_e,W,Q,Ae),Gn(x,j,_e,W)}else{_e=Rt(W,j.legacyContext),Ae=vr(x,j,W,Q,_e);var je=Jt!==0;if(typeof Ae=="object"&&Ae!==null&&typeof Ae.render=="function"&&Ae.$$typeof===void 0)$e(Ae,W,Q,_e),Gn(x,j,Ae,W);else if(je){Q=j.treeContext,j.treeContext=jt(Q,1,0);try{Kr(x,j,Ae)}finally{j.treeContext=Q}}else Kr(x,j,Ae)}else if(typeof W=="string"){switch(Ae=j.blockedSegment,_e=J(Ae.chunks,W,Q,x.responseState,Ae.formatContext),Ae.lastPushedText=!1,je=Ae.formatContext,Ae.formatContext=O(je,W,Q),Tn(x,j,_e),Ae.formatContext=je,W){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Ae.chunks.push("</",W,">")}Ae.lastPushedText=!1}else{switch(W){case ft:case rt:case Te:case lt:case Ke:Kr(x,j,Q.children);return;case Re:Kr(x,j,Q.children);return;case Ie:throw Error(e(343));case Le:e:{W=j.blockedBoundary,Ae=j.blockedSegment,_e=Q.fallback,Q=Q.children,je=new Set;var nt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:je,errorDigest:null},Lt=ur(x,Ae.chunks.length,nt,Ae.formatContext,!1,!1);Ae.children.push(Lt),Ae.lastPushedText=!1;var Ft=ur(x,0,null,Ae.formatContext,!1,!1);Ft.parentFlushed=!0,j.blockedBoundary=nt,j.blockedSegment=Ft;try{if(Tn(x,j,Q),x.responseState.generateStaticMarkup||Ft.lastPushedText&&Ft.textEmbedded&&Ft.chunks.push("<!-- -->"),Ft.status=1,nn(nt,Ft),nt.pendingTasks===0)break e}catch(Nt){Ft.status=4,nt.forceClientRender=!0,nt.errorDigest=hr(x,Nt)}finally{j.blockedBoundary=W,j.blockedSegment=Ae}j=Tr(x,_e,W,Lt,je,j.legacyContext,j.context,j.treeContext),x.pingedTasks.push(j)}return}if(typeof W=="object"&&W!==null)switch(W.$$typeof){case Ge:if(Q=vr(x,j,W.render,Q,Ae),Jt!==0){W=j.treeContext,j.treeContext=jt(W,1,0);try{Kr(x,j,Q)}finally{j.treeContext=W}}else Kr(x,j,Q);return;case ke:W=W.type,Q=Sn(W,Q),Mn(x,j,W,Q,Ae);return;case gt:if(Ae=Q.children,W=W._context,Q=Q.value,_e=W._currentValue2,W._currentValue2=Q,je=dt,dt=Q={parent:je,depth:je===null?0:je.depth+1,context:W,parentValue:_e,value:Q},j.context=Q,Kr(x,j,Ae),x=dt,x===null)throw Error(e(403));Q=x.parentValue,x.context._currentValue2=Q===kt?x.context._defaultValue:Q,x=dt=x.parent,j.context=x;return;case Xe:Q=Q.children,Q=Q(W._currentValue2),Kr(x,j,Q);return;case He:Ae=W._init,W=Ae(W._payload),Q=Sn(W,Q),Mn(x,j,W,Q,void 0);return}throw Error(e(130,W==null?W:typeof W,""))}}function Kr(x,j,W){if(j.node=W,typeof W=="object"&&W!==null){switch(W.$$typeof){case Oe:Mn(x,j,W.type,W.props,W.ref);return;case Be:throw Error(e(257));case He:var Q=W._init;W=Q(W._payload),Kr(x,j,W);return}if(b(W)){Zn(x,j,W);return}if(W===null||typeof W!="object"?Q=null:(Q=wt&&W[wt]||W["@@iterator"],Q=typeof Q=="function"?Q:null),Q&&(Q=Q.call(W))){if(W=Q.next(),!W.done){var Ae=[];do Ae.push(W.value),W=Q.next();while(!W.done);Zn(x,j,Ae)}return}throw x=Object.prototype.toString.call(W),Error(e(31,x==="[object Object]"?"object with keys {"+Object.keys(W).join(", ")+"}":x))}typeof W=="string"?(Q=j.blockedSegment,Q.lastPushedText=he(j.blockedSegment.chunks,W,x.responseState,Q.lastPushedText)):typeof W=="number"&&(Q=j.blockedSegment,Q.lastPushedText=he(j.blockedSegment.chunks,""+W,x.responseState,Q.lastPushedText))}function Zn(x,j,W){for(var Q=W.length,Ae=0;Ae<Q;Ae++){var _e=j.treeContext;j.treeContext=jt(_e,Q,Ae);try{Tn(x,j,W[Ae])}finally{j.treeContext=_e}}}function Tn(x,j,W){var Q=j.blockedSegment.formatContext,Ae=j.legacyContext,_e=j.context;try{return Kr(x,j,W)}catch(Lt){if(Je(),typeof Lt=="object"&&Lt!==null&&typeof Lt.then=="function"){W=Lt;var je=j.blockedSegment,nt=ur(x,je.chunks.length,null,je.formatContext,je.lastPushedText,!0);je.children.push(nt),je.lastPushedText=!1,x=Tr(x,j.node,j.blockedBoundary,nt,j.abortSet,j.legacyContext,j.context,j.treeContext).ping,W.then(x,x),j.blockedSegment.formatContext=Q,j.legacyContext=Ae,j.context=_e,Dt(_e)}else throw j.blockedSegment.formatContext=Q,j.legacyContext=Ae,j.context=_e,Dt(_e),Lt}}function Yn(x){var j=x.blockedBoundary;x=x.blockedSegment,x.status=3,Dn(this,j,x)}function Kn(x,j,W){var Q=x.blockedBoundary;x.blockedSegment.status=3,Q===null?(j.allPendingTasks--,j.status!==2&&(j.status=2,j.destination!==null&&j.destination.push(null))):(Q.pendingTasks--,Q.forceClientRender||(Q.forceClientRender=!0,x=W===void 0?Error(e(432)):W,Q.errorDigest=j.onError(x),Q.parentFlushed&&j.clientRenderedBoundaries.push(Q)),Q.fallbackAbortableTasks.forEach(function(Ae){return Kn(Ae,j,W)}),Q.fallbackAbortableTasks.clear(),j.allPendingTasks--,j.allPendingTasks===0&&(Q=j.onAllReady,Q()))}function nn(x,j){if(j.chunks.length===0&&j.children.length===1&&j.children[0].boundary===null){var W=j.children[0];W.id=j.id,W.parentFlushed=!0,W.status===1&&nn(x,W)}else x.completedSegments.push(j)}function Dn(x,j,W){if(j===null){if(W.parentFlushed){if(x.completedRootSegment!==null)throw Error(e(389));x.completedRootSegment=W}x.pendingRootTasks--,x.pendingRootTasks===0&&(x.onShellError=yt,j=x.onShellReady,j())}else j.pendingTasks--,j.forceClientRender||(j.pendingTasks===0?(W.parentFlushed&&W.status===1&&nn(j,W),j.parentFlushed&&x.completedBoundaries.push(j),j.fallbackAbortableTasks.forEach(Yn,x),j.fallbackAbortableTasks.clear()):W.parentFlushed&&W.status===1&&(nn(j,W),j.completedSegments.length===1&&j.parentFlushed&&x.partialBoundaries.push(j)));x.allPendingTasks--,x.allPendingTasks===0&&(x=x.onAllReady,x())}function Cn(x){if(x.status!==2){var j=dt,W=Yt.current;Yt.current=tt;var Q=It;It=x.responseState;try{var Ae=x.pingedTasks,_e;for(_e=0;_e<Ae.length;_e++){var je=Ae[_e],nt=x,Lt=je.blockedSegment;if(Lt.status===0){Dt(je.context);try{Kr(nt,je,je.node),nt.responseState.generateStaticMarkup||Lt.lastPushedText&&Lt.textEmbedded&&Lt.chunks.push("<!-- -->"),je.abortSet.delete(je),Lt.status=1,Dn(nt,je.blockedBoundary,Lt)}catch(yn){if(Je(),typeof yn=="object"&&yn!==null&&typeof yn.then=="function"){var Ft=je.ping;yn.then(Ft,Ft)}else{je.abortSet.delete(je),Lt.status=4;var Nt=je.blockedBoundary,_r=yn,Zr=hr(nt,_r);if(Nt===null?$r(nt,_r):(Nt.pendingTasks--,Nt.forceClientRender||(Nt.forceClientRender=!0,Nt.errorDigest=Zr,Nt.parentFlushed&&nt.clientRenderedBoundaries.push(Nt))),nt.allPendingTasks--,nt.allPendingTasks===0){var vn=nt.onAllReady;vn()}}}finally{}}}Ae.splice(0,_e),x.destination!==null&&cn(x,x.destination)}catch(yn){hr(x,yn),$r(x,yn)}finally{It=Q,Yt.current=W,W===tt&&Dt(j)}}}function di(x,j,W){switch(W.parentFlushed=!0,W.status){case 0:var Q=W.id=x.nextSegmentId++;return W.lastPushedText=!1,W.textEmbedded=!1,x=x.responseState,j.push('<template id="'),j.push(x.placeholderPrefix),x=Q.toString(16),j.push(x),j.push('"></template>');case 1:W.status=2;var Ae=!0;Q=W.chunks;var _e=0;W=W.children;for(var je=0;je<W.length;je++){for(Ae=W[je];_e<Ae.index;_e++)j.push(Q[_e]);Ae=_i(x,j,Ae)}for(;_e<Q.length-1;_e++)j.push(Q[_e]);return _e<Q.length&&(Ae=j.push(Q[_e])),Ae;default:throw Error(e(390))}}function _i(x,j,W){var Q=W.boundary;if(Q===null)return di(x,j,W);if(Q.parentFlushed=!0,Q.forceClientRender)return x.responseState.generateStaticMarkup||(Q=Q.errorDigest,j.push("<!--$!-->"),j.push("<template"),Q&&(j.push(' data-dgst="'),Q=S(Q),j.push(Q),j.push('"')),j.push("></template>")),di(x,j,W),x=x.responseState.generateStaticMarkup?!0:j.push("<!--/$-->"),x;if(0<Q.pendingTasks){Q.rootSegmentID=x.nextSegmentId++,0<Q.completedSegments.length&&x.partialBoundaries.push(Q);var Ae=x.responseState,_e=Ae.nextSuspenseID++;return Ae=Ae.boundaryPrefix+_e.toString(16),Q=Q.id=Ae,ne(j,x.responseState,Q),di(x,j,W),j.push("<!--/$-->")}if(Q.byteSize>x.progressiveChunkSize)return Q.rootSegmentID=x.nextSegmentId++,x.completedBoundaries.push(Q),ne(j,x.responseState,Q.id),di(x,j,W),j.push("<!--/$-->");if(x.responseState.generateStaticMarkup||j.push("<!--$-->"),W=Q.completedSegments,W.length!==1)throw Error(e(391));return _i(x,j,W[0]),x=x.responseState.generateStaticMarkup?!0:j.push("<!--/$-->"),x}function xi(x,j,W){return oe(j,x.responseState,W.formatContext,W.id),_i(x,j,W),ce(j,W.formatContext)}function En(x,j,W){for(var Q=W.completedSegments,Ae=0;Ae<Q.length;Ae++)wn(x,j,W,Q[Ae]);if(Q.length=0,x=x.responseState,Q=W.id,W=W.rootSegmentID,j.push(x.startInlineScript),x.sentCompleteBoundaryFunction?j.push('$RC("'):(x.sentCompleteBoundaryFunction=!0,j.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),Q===null)throw Error(e(395));return W=W.toString(16),j.push(Q),j.push('","'),j.push(x.segmentPrefix),j.push(W),j.push('")<\/script>')}function wn(x,j,W,Q){if(Q.status===2)return!0;var Ae=Q.id;if(Ae===-1){if((Q.id=W.rootSegmentID)===-1)throw Error(e(392));return xi(x,j,Q)}return xi(x,j,Q),x=x.responseState,j.push(x.startInlineScript),x.sentCompleteSegmentFunction?j.push('$RS("'):(x.sentCompleteSegmentFunction=!0,j.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),j.push(x.segmentPrefix),Ae=Ae.toString(16),j.push(Ae),j.push('","'),j.push(x.placeholderPrefix),j.push(Ae),j.push('")<\/script>')}function cn(x,j){try{var W=x.completedRootSegment;if(W!==null&&x.pendingRootTasks===0){_i(x,j,W),x.completedRootSegment=null;var Q=x.responseState.bootstrapChunks;for(W=0;W<Q.length-1;W++)j.push(Q[W]);W<Q.length&&j.push(Q[W])}var Ae=x.clientRenderedBoundaries,_e;for(_e=0;_e<Ae.length;_e++){var je=Ae[_e];Q=j;var nt=x.responseState,Lt=je.id,Ft=je.errorDigest,Nt=je.errorMessage,_r=je.errorComponentStack;if(Q.push(nt.startInlineScript),nt.sentClientRenderFunction?Q.push('$RX("'):(nt.sentClientRenderFunction=!0,Q.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("')),Lt===null)throw Error(e(395));if(Q.push(Lt),Q.push('"'),Ft||Nt||_r){Q.push(",");var Zr=ae(Ft||"");Q.push(Zr)}if(Nt||_r){Q.push(",");var vn=ae(Nt||"");Q.push(vn)}if(_r){Q.push(",");var yn=ae(_r);Q.push(yn)}if(!Q.push(")<\/script>")){x.destination=null,_e++,Ae.splice(0,_e);return}}Ae.splice(0,_e);var ai=x.completedBoundaries;for(_e=0;_e<ai.length;_e++)if(!En(x,j,ai[_e])){x.destination=null,_e++,ai.splice(0,_e);return}ai.splice(0,_e);var jn=x.partialBoundaries;for(_e=0;_e<jn.length;_e++){var Si=jn[_e];e:{Ae=x,je=j;var Xr=Si.completedSegments;for(nt=0;nt<Xr.length;nt++)if(!wn(Ae,je,Si,Xr[nt])){nt++,Xr.splice(0,nt);var hi=!1;break e}Xr.splice(0,nt),hi=!0}if(!hi){x.destination=null,_e++,jn.splice(0,_e);return}}jn.splice(0,_e);var Fn=x.completedBoundaries;for(_e=0;_e<Fn.length;_e++)if(!En(x,j,Fn[_e])){x.destination=null,_e++,Fn.splice(0,_e);return}Fn.splice(0,_e)}finally{x.allPendingTasks===0&&x.pingedTasks.length===0&&x.clientRenderedBoundaries.length===0&&x.completedBoundaries.length===0&&j.push(null)}}function Xn(x,j){try{var W=x.abortableTasks;W.forEach(function(Q){return Kn(Q,x,j)}),W.clear(),x.destination!==null&&cn(x,x.destination)}catch(Q){hr(x,Q),$r(x,Q)}}function on(){}function dn(x,j,W,Q){var Ae=!1,_e=null,je="",nt={push:function(Ft){return Ft!==null&&(je+=Ft),!0},destroy:function(Ft){Ae=!0,_e=Ft}},Lt=!1;if(x=Kt(x,ge(W,j?j.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,on,void 0,function(){Lt=!0}),Cn(x),Xn(x,Q),x.status===1)x.status=2,nt.destroy(x.fatalError);else if(x.status!==2&&x.destination===null){x.destination=nt;try{cn(x,nt)}catch(Ft){hr(x,Ft),$r(x,Ft)}}if(Ae)throw _e;if(!Lt)throw Error(e(426));return je}return zc.renderToNodeStream=function(){throw Error(e(207))},zc.renderToStaticMarkup=function(x,j){return dn(x,j,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},zc.renderToStaticNodeStream=function(){throw Error(e(208))},zc.renderToString=function(x,j){return dn(x,j,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},zc.version="18.2.0",zc}var Fd={};/**
253
+ * @license React
254
+ * react-dom-server.browser.production.min.js
255
+ *
256
+ * Copyright (c) Facebook, Inc. and its affiliates.
257
+ *
258
+ * This source code is licensed under the MIT license found in the
259
+ * LICENSE file in the root directory of this source tree.
260
+ */var sy;function QD(){if(sy)return Fd;sy=1;var r=k;function e(w){for(var N="https://reactjs.org/docs/error-decoder.html?invariant="+w,z=1;z<arguments.length;z++)N+="&args[]="+encodeURIComponent(arguments[z]);return"Minified React error #"+w+"; visit "+N+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var t=null,n=0;function i(w,N){if(N.length!==0)if(512<N.length)0<n&&(w.enqueue(new Uint8Array(t.buffer,0,n)),t=new Uint8Array(512),n=0),w.enqueue(N);else{var z=t.length-n;z<N.length&&(z===0?w.enqueue(t):(t.set(N.subarray(0,z),n),w.enqueue(t),N=N.subarray(z)),t=new Uint8Array(512),n=0),t.set(N,n),n+=N.length}}function l(w,N){return i(w,N),!0}function u(w){t&&0<n&&(w.enqueue(new Uint8Array(t.buffer,0,n)),t=null,n=0)}var h=new TextEncoder;function g(w){return h.encode(w)}function m(w){return h.encode(w)}function M(w,N){typeof w.error=="function"?w.error(N):w.close()}var T=Object.prototype.hasOwnProperty,C=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,_={},S={};function D(w){return T.call(S,w)?!0:T.call(_,w)?!1:C.test(w)?S[w]=!0:(_[w]=!0,!1)}function A(w,N,z,ee,Ee,we,We){this.acceptsBooleans=N===2||N===3||N===4,this.attributeName=ee,this.attributeNamespace=Ee,this.mustUseProperty=z,this.propertyName=w,this.type=N,this.sanitizeURL=we,this.removeEmptyString=We}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(w){b[w]=new A(w,0,!1,w,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(w){var N=w[0];b[N]=new A(N,1,!1,w[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(w){b[w]=new A(w,2,!1,w.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(w){b[w]=new A(w,2,!1,w,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(w){b[w]=new A(w,3,!1,w.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(w){b[w]=new A(w,3,!0,w,null,!1,!1)}),["capture","download"].forEach(function(w){b[w]=new A(w,4,!1,w,null,!1,!1)}),["cols","rows","size","span"].forEach(function(w){b[w]=new A(w,6,!1,w,null,!1,!1)}),["rowSpan","start"].forEach(function(w){b[w]=new A(w,5,!1,w.toLowerCase(),null,!1,!1)});var R=/[\-:]([a-z])/g;function O(w){return w[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(w){var N=w.replace(R,O);b[N]=new A(N,1,!1,w,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(w){var N=w.replace(R,O);b[N]=new A(N,1,!1,w,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(w){var N=w.replace(R,O);b[N]=new A(N,1,!1,w,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(w){b[w]=new A(w,1,!1,w.toLowerCase(),null,!1,!1)}),b.xlinkHref=new A("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(w){b[w]=new A(w,1,!1,w.toLowerCase(),null,!0,!0)});var q={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},H=["Webkit","ms","Moz","O"];Object.keys(q).forEach(function(w){H.forEach(function(N){N=N+w.charAt(0).toUpperCase()+w.substring(1),q[N]=q[w]})});var G=/["'&<>]/;function Y(w){if(typeof w=="boolean"||typeof w=="number")return""+w;w=""+w;var N=G.exec(w);if(N){var z="",ee,Ee=0;for(ee=N.index;ee<w.length;ee++){switch(w.charCodeAt(ee)){case 34:N="&quot;";break;case 38:N="&amp;";break;case 39:N="&#x27;";break;case 60:N="&lt;";break;case 62:N="&gt;";break;default:continue}Ee!==ee&&(z+=w.substring(Ee,ee)),Ee=ee+1,z+=N}w=Ee!==ee?z+w.substring(Ee,ee):z}return w}var de=/([A-Z])/g,X=/^ms-/,ue=Array.isArray,P=m("<script>"),re=m("<\/script>"),J=m('<script src="'),ne=m('<script type="module" src="'),oe=m('" async=""><\/script>'),ce=/(<\/|<)(s)(cript)/gi;function ve(w,N,z,ee){return""+N+(z==="s"?"\\u0073":"\\u0053")+ee}function ae(w,N,z,ee,Ee){w=w===void 0?"":w,N=N===void 0?P:m('<script nonce="'+Y(N)+'">');var we=[];if(z!==void 0&&we.push(N,g((""+z).replace(ce,ve)),re),ee!==void 0)for(z=0;z<ee.length;z++)we.push(J,g(Y(ee[z])),oe);if(Ee!==void 0)for(ee=0;ee<Ee.length;ee++)we.push(ne,g(Y(Ee[ee])),oe);return{bootstrapChunks:we,startInlineScript:N,placeholderPrefix:m(w+"P:"),segmentPrefix:m(w+"S:"),boundaryPrefix:w+"B:",idPrefix:w,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function ge(w,N){return{insertionMode:w,selectedValue:N}}function he(w){return ge(w==="http://www.w3.org/2000/svg"?2:w==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function Se(w,N,z){switch(N){case"select":return ge(1,z.value!=null?z.value:z.defaultValue);case"svg":return ge(2,null);case"math":return ge(3,null);case"foreignObject":return ge(1,null);case"table":return ge(4,null);case"thead":case"tbody":case"tfoot":return ge(5,null);case"colgroup":return ge(7,null);case"tr":return ge(6,null)}return 4<=w.insertionMode||w.insertionMode===0?ge(1,null):w}var Oe=m("<!-- -->");function Be(w,N,z,ee){return N===""?ee:(ee&&w.push(Oe),w.push(g(Y(N))),!0)}var Ke=new Map,Te=m(' style="'),lt=m(":"),gt=m(";");function Xe(w,N,z){if(typeof z!="object")throw Error(e(62));N=!0;for(var ee in z)if(T.call(z,ee)){var Ee=z[ee];if(Ee!=null&&typeof Ee!="boolean"&&Ee!==""){if(ee.indexOf("--")===0){var we=g(Y(ee));Ee=g(Y((""+Ee).trim()))}else{we=ee;var We=Ke.get(we);We!==void 0||(We=m(Y(we.replace(de,"-$1").toLowerCase().replace(X,"-ms-"))),Ke.set(we,We)),we=We,Ee=typeof Ee=="number"?Ee===0||T.call(q,ee)?g(""+Ee):g(Ee+"px"):g(Y((""+Ee).trim()))}N?(N=!1,w.push(Te,we,lt,Ee)):w.push(gt,we,lt,Ee)}}N||w.push(Re)}var Ge=m(" "),Le=m('="'),Re=m('"'),ke=m('=""');function He(w,N,z,ee){switch(z){case"style":Xe(w,N,ee);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(N=b.hasOwnProperty(z)?b[z]:null,N!==null){switch(typeof ee){case"function":case"symbol":return;case"boolean":if(!N.acceptsBooleans)return}switch(z=g(N.attributeName),N.type){case 3:ee&&w.push(Ge,z,ke);break;case 4:ee===!0?w.push(Ge,z,ke):ee!==!1&&w.push(Ge,z,Le,g(Y(ee)),Re);break;case 5:isNaN(ee)||w.push(Ge,z,Le,g(Y(ee)),Re);break;case 6:!isNaN(ee)&&1<=ee&&w.push(Ge,z,Le,g(Y(ee)),Re);break;default:N.sanitizeURL&&(ee=""+ee),w.push(Ge,z,Le,g(Y(ee)),Re)}}else if(D(z)){switch(typeof ee){case"function":case"symbol":return;case"boolean":if(N=z.toLowerCase().slice(0,5),N!=="data-"&&N!=="aria-")return}w.push(Ge,g(z),Le,g(Y(ee)),Re)}}}var Ie=m(">"),rt=m("/>");function ft(w,N,z){if(N!=null){if(z!=null)throw Error(e(60));if(typeof N!="object"||!("__html"in N))throw Error(e(61));N=N.__html,N!=null&&w.push(g(""+N))}}function kt(w){var N="";return r.Children.forEach(w,function(z){z!=null&&(N+=z)}),N}var wt=m(' selected=""');function bt(w,N,z,ee){w.push(ct(z));var Ee=z=null,we;for(we in N)if(T.call(N,we)){var We=N[we];if(We!=null)switch(we){case"children":z=We;break;case"dangerouslySetInnerHTML":Ee=We;break;default:He(w,ee,we,We)}}return w.push(Ie),ft(w,Ee,z),typeof z=="string"?(w.push(g(Y(z))),null):z}var Mt=m(`
261
+ `),Rt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,dt=new Map;function ct(w){var N=dt.get(w);if(N===void 0){if(!Rt.test(w))throw Error(e(65,w));N=m("<"+w),dt.set(w,N)}return N}var Ct=m("<!DOCTYPE html>");function Me(w,N,z,ee,Ee){switch(N){case"select":w.push(ct("select"));var we=null,We=null;for(sr in z)if(T.call(z,sr)){var pt=z[sr];if(pt!=null)switch(sr){case"children":we=pt;break;case"dangerouslySetInnerHTML":We=pt;break;case"defaultValue":case"value":break;default:He(w,ee,sr,pt)}}return w.push(Ie),ft(w,We,we),we;case"option":We=Ee.selectedValue,w.push(ct("option"));var $t=pt=null,dr=null,sr=null;for(we in z)if(T.call(z,we)){var Gr=z[we];if(Gr!=null)switch(we){case"children":pt=Gr;break;case"selected":dr=Gr;break;case"dangerouslySetInnerHTML":sr=Gr;break;case"value":$t=Gr;default:He(w,ee,we,Gr)}}if(We!=null)if(z=$t!==null?""+$t:kt(pt),ue(We)){for(ee=0;ee<We.length;ee++)if(""+We[ee]===z){w.push(wt);break}}else""+We===z&&w.push(wt);else dr&&w.push(wt);return w.push(Ie),ft(w,sr,pt),pt;case"textarea":w.push(ct("textarea")),sr=We=we=null;for(pt in z)if(T.call(z,pt)&&($t=z[pt],$t!=null))switch(pt){case"children":sr=$t;break;case"value":we=$t;break;case"defaultValue":We=$t;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:He(w,ee,pt,$t)}if(we===null&&We!==null&&(we=We),w.push(Ie),sr!=null){if(we!=null)throw Error(e(92));if(ue(sr)&&1<sr.length)throw Error(e(93));we=""+sr}return typeof we=="string"&&we[0]===`
262
+ `&&w.push(Mt),we!==null&&w.push(g(Y(""+we))),null;case"input":w.push(ct("input")),$t=sr=pt=we=null;for(We in z)if(T.call(z,We)&&(dr=z[We],dr!=null))switch(We){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":$t=dr;break;case"defaultValue":pt=dr;break;case"checked":sr=dr;break;case"value":we=dr;break;default:He(w,ee,We,dr)}return sr!==null?He(w,ee,"checked",sr):$t!==null&&He(w,ee,"checked",$t),we!==null?He(w,ee,"value",we):pt!==null&&He(w,ee,"value",pt),w.push(rt),null;case"menuitem":w.push(ct("menuitem"));for(var ti in z)if(T.call(z,ti)&&(we=z[ti],we!=null))switch(ti){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:He(w,ee,ti,we)}return w.push(Ie),null;case"title":w.push(ct("title")),we=null;for(Gr in z)if(T.call(z,Gr)&&(We=z[Gr],We!=null))switch(Gr){case"children":we=We;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:He(w,ee,Gr,We)}return w.push(Ie),we;case"listing":case"pre":w.push(ct(N)),We=we=null;for($t in z)if(T.call(z,$t)&&(pt=z[$t],pt!=null))switch($t){case"children":we=pt;break;case"dangerouslySetInnerHTML":We=pt;break;default:He(w,ee,$t,pt)}if(w.push(Ie),We!=null){if(we!=null)throw Error(e(60));if(typeof We!="object"||!("__html"in We))throw Error(e(61));z=We.__html,z!=null&&(typeof z=="string"&&0<z.length&&z[0]===`
263
+ `?w.push(Mt,g(z)):w.push(g(""+z)))}return typeof we=="string"&&we[0]===`
264
+ `&&w.push(Mt),we;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":w.push(ct(N));for(var wi in z)if(T.call(z,wi)&&(we=z[wi],we!=null))switch(wi){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,N));default:He(w,ee,wi,we)}return w.push(rt),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 bt(w,z,N,ee);case"html":return Ee.insertionMode===0&&w.push(Ct),bt(w,z,N,ee);default:if(N.indexOf("-")===-1&&typeof z.is!="string")return bt(w,z,N,ee);w.push(ct(N)),We=we=null;for(dr in z)if(T.call(z,dr)&&(pt=z[dr],pt!=null))switch(dr){case"children":we=pt;break;case"dangerouslySetInnerHTML":We=pt;break;case"style":Xe(w,ee,pt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:D(dr)&&typeof pt!="function"&&typeof pt!="symbol"&&w.push(Ge,g(dr),Le,g(Y(pt)),Re)}return w.push(Ie),ft(w,We,we),we}}var mt=m("</"),_t=m(">"),Dt=m('<template id="'),Bt=m('"></template>'),$e=m("<!--$-->"),Tt=m('<!--$?--><template id="'),jt=m('"></template>'),pr=m("<!--$!-->"),or=m("<!--/$-->"),Lr=m("<template"),me=m('"'),te=m(' data-dgst="');m(' data-msg="'),m(' data-stck="');var ye=m("></template>");function xe(w,N,z){if(i(w,Tt),z===null)throw Error(e(395));return i(w,z),l(w,jt)}var vt=m('<div hidden id="'),et=m('">'),ot=m("</div>"),Et=m('<svg aria-hidden="true" style="display:none" id="'),At=m('">'),Jt=m("</svg>"),Ht=m('<math aria-hidden="true" style="display:none" id="'),Ut=m('">'),qt=m("</math>"),tr=m('<table hidden id="'),Ar=m('">'),Je=m("</table>"),Qe=m('<table hidden><tbody id="'),ht=m('">'),Ne=m("</tbody></table>"),xt=m('<table hidden><tr id="'),K=m('">'),Pe=m("</tr></table>"),tt=m('<table hidden><colgroup id="'),It=m('">'),Yt=m("</colgroup></table>");function zt(w,N,z,ee){switch(z.insertionMode){case 0:case 1:return i(w,vt),i(w,N.segmentPrefix),i(w,g(ee.toString(16))),l(w,et);case 2:return i(w,Et),i(w,N.segmentPrefix),i(w,g(ee.toString(16))),l(w,At);case 3:return i(w,Ht),i(w,N.segmentPrefix),i(w,g(ee.toString(16))),l(w,Ut);case 4:return i(w,tr),i(w,N.segmentPrefix),i(w,g(ee.toString(16))),l(w,Ar);case 5:return i(w,Qe),i(w,N.segmentPrefix),i(w,g(ee.toString(16))),l(w,ht);case 6:return i(w,xt),i(w,N.segmentPrefix),i(w,g(ee.toString(16))),l(w,K);case 7:return i(w,tt),i(w,N.segmentPrefix),i(w,g(ee.toString(16))),l(w,It);default:throw Error(e(397))}}function yt(w,N){switch(N.insertionMode){case 0:case 1:return l(w,ot);case 2:return l(w,Jt);case 3:return l(w,qt);case 4:return l(w,Je);case 5:return l(w,Ne);case 6:return l(w,Pe);case 7:return l(w,Yt);default:throw Error(e(397))}}var Kt=m('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Tr=m('$RS("'),ur=m('","'),hr=m('")<\/script>'),$r=m('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),vr=m('$RC("'),Gn=m('","'),Sn=m('")<\/script>'),Mn=m('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Kr=m('$RX("'),Zn=m('"'),Tn=m(")<\/script>"),Yn=m(","),Kn=/[<\u2028\u2029]/g;function nn(w){return JSON.stringify(w).replace(Kn,function(N){switch(N){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Dn=Object.assign,Cn=Symbol.for("react.element"),di=Symbol.for("react.portal"),_i=Symbol.for("react.fragment"),xi=Symbol.for("react.strict_mode"),En=Symbol.for("react.profiler"),wn=Symbol.for("react.provider"),cn=Symbol.for("react.context"),Xn=Symbol.for("react.forward_ref"),on=Symbol.for("react.suspense"),dn=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),W=Symbol.for("react.scope"),Q=Symbol.for("react.debug_trace_mode"),Ae=Symbol.for("react.legacy_hidden"),_e=Symbol.for("react.default_value"),je=Symbol.iterator;function nt(w){if(w==null)return null;if(typeof w=="function")return w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case _i:return"Fragment";case di:return"Portal";case En:return"Profiler";case xi:return"StrictMode";case on:return"Suspense";case dn:return"SuspenseList"}if(typeof w=="object")switch(w.$$typeof){case cn:return(w.displayName||"Context")+".Consumer";case wn:return(w._context.displayName||"Context")+".Provider";case Xn:var N=w.render;return w=w.displayName,w||(w=N.displayName||N.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case x:return N=w.displayName||null,N!==null?N:nt(w.type)||"Memo";case j:N=w._payload,w=w._init;try{return nt(w(N))}catch{}}return null}var Lt={};function Ft(w,N){if(w=w.contextTypes,!w)return Lt;var z={},ee;for(ee in w)z[ee]=N[ee];return z}var Nt=null;function _r(w,N){if(w!==N){w.context._currentValue=w.parentValue,w=w.parent;var z=N.parent;if(w===null){if(z!==null)throw Error(e(401))}else{if(z===null)throw Error(e(401));_r(w,z)}N.context._currentValue=N.value}}function Zr(w){w.context._currentValue=w.parentValue,w=w.parent,w!==null&&Zr(w)}function vn(w){var N=w.parent;N!==null&&vn(N),w.context._currentValue=w.value}function yn(w,N){if(w.context._currentValue=w.parentValue,w=w.parent,w===null)throw Error(e(402));w.depth===N.depth?_r(w,N):yn(w,N)}function ai(w,N){var z=N.parent;if(z===null)throw Error(e(402));w.depth===z.depth?_r(w,z):ai(w,z),N.context._currentValue=N.value}function jn(w){var N=Nt;N!==w&&(N===null?vn(w):w===null?Zr(N):N.depth===w.depth?_r(N,w):N.depth>w.depth?yn(N,w):ai(N,w),Nt=w)}var Si={isMounted:function(){return!1},enqueueSetState:function(w,N){w=w._reactInternals,w.queue!==null&&w.queue.push(N)},enqueueReplaceState:function(w,N){w=w._reactInternals,w.replace=!0,w.queue=[N]},enqueueForceUpdate:function(){}};function Xr(w,N,z,ee){var Ee=w.state!==void 0?w.state:null;w.updater=Si,w.props=z,w.state=Ee;var we={queue:[],replace:!1};w._reactInternals=we;var We=N.contextType;if(w.context=typeof We=="object"&&We!==null?We._currentValue:ee,We=N.getDerivedStateFromProps,typeof We=="function"&&(We=We(z,Ee),Ee=We==null?Ee:Dn({},Ee,We),w.state=Ee),typeof N.getDerivedStateFromProps!="function"&&typeof w.getSnapshotBeforeUpdate!="function"&&(typeof w.UNSAFE_componentWillMount=="function"||typeof w.componentWillMount=="function"))if(N=w.state,typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount(),N!==w.state&&Si.enqueueReplaceState(w,w.state,null),we.queue!==null&&0<we.queue.length)if(N=we.queue,We=we.replace,we.queue=null,we.replace=!1,We&&N.length===1)w.state=N[0];else{for(we=We?N[0]:w.state,Ee=!0,We=We?1:0;We<N.length;We++){var pt=N[We];pt=typeof pt=="function"?pt.call(w,we,z,ee):pt,pt!=null&&(Ee?(Ee=!1,we=Dn({},we,pt)):Dn(we,pt))}w.state=we}else we.queue=null}var hi={id:1,overflow:""};function Fn(w,N,z){var ee=w.id;w=w.overflow;var Ee=32-Jn(ee)-1;ee&=~(1<<Ee),z+=1;var we=32-Jn(N)+Ee;if(30<we){var We=Ee-Ee%5;return we=(ee&(1<<We)-1).toString(32),ee>>=We,Ee-=We,{id:1<<32-Jn(N)+Ee|z<<Ee|ee,overflow:we+w}}return{id:1<<we|z<<Ee|ee,overflow:w}}var Jn=Math.clz32?Math.clz32:to,yo=Math.log,eo=Math.LN2;function to(w){return w>>>=0,w===0?32:31-(yo(w)/eo|0)|0}function kn(w,N){return w===N&&(w!==0||1/w===1/N)||w!==w&&N!==N}var bo=typeof Object.is=="function"?Object.is:kn,Qn=null,ei=null,qi=null,Or=null,Sr=!1,Mr=!1,I=0,V=null,le=0;function Fe(){if(Qn===null)throw Error(e(321));return Qn}function Xt(){if(0<le)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Wt(){return Or===null?qi===null?(Sr=!1,qi=Or=Xt()):(Sr=!0,Or=qi):Or.next===null?(Sr=!1,Or=Or.next=Xt()):(Sr=!0,Or=Or.next),Or}function gr(){ei=Qn=null,Mr=!1,qi=null,le=0,Or=V=null}function xr(w,N){return typeof N=="function"?N(w):N}function fr(w,N,z){if(Qn=Fe(),Or=Wt(),Sr){var ee=Or.queue;if(N=ee.dispatch,V!==null&&(z=V.get(ee),z!==void 0)){V.delete(ee),ee=Or.memoizedState;do ee=w(ee,z.action),z=z.next;while(z!==null);return Or.memoizedState=ee,[ee,N]}return[Or.memoizedState,N]}return w=w===xr?typeof N=="function"?N():N:z!==void 0?z(N):N,Or.memoizedState=w,w=Or.queue={last:null,dispatch:null},w=w.dispatch=Jr.bind(null,Qn,w),[Or.memoizedState,w]}function Cr(w,N){if(Qn=Fe(),Or=Wt(),N=N===void 0?null:N,Or!==null){var z=Or.memoizedState;if(z!==null&&N!==null){var ee=z[1];e:if(ee===null)ee=!1;else{for(var Ee=0;Ee<ee.length&&Ee<N.length;Ee++)if(!bo(N[Ee],ee[Ee])){ee=!1;break e}ee=!0}if(ee)return z[0]}}return w=w(),Or.memoizedState=[w,N],w}function Jr(w,N,z){if(25<=le)throw Error(e(301));if(w===Qn)if(Mr=!0,w={action:z,next:null},V===null&&(V=new Map),z=V.get(N),z===void 0)V.set(N,w);else{for(N=z;N.next!==null;)N=N.next;N.next=w}}function Rn(){throw Error(e(394))}function Vr(){}var Br={readContext:function(w){return w._currentValue},useContext:function(w){return Fe(),w._currentValue},useMemo:Cr,useReducer:fr,useRef:function(w){Qn=Fe(),Or=Wt();var N=Or.memoizedState;return N===null?(w={current:w},Or.memoizedState=w):N},useState:function(w){return fr(xr,w)},useInsertionEffect:Vr,useLayoutEffect:function(){},useCallback:function(w,N){return Cr(function(){return w},N)},useImperativeHandle:Vr,useEffect:Vr,useDebugValue:Vr,useDeferredValue:function(w){return Fe(),w},useTransition:function(){return Fe(),[!1,Rn]},useId:function(){var w=ei.treeContext,N=w.overflow;w=w.id,w=(w&~(1<<32-Jn(w)-1)).toString(32)+N;var z=Qr;if(z===null)throw Error(e(404));return N=I++,w=":"+z.idPrefix+"R"+w,0<N&&(w+="H"+N.toString(32)),w+":"},useMutableSource:function(w,N){return Fe(),N(w._source)},useSyncExternalStore:function(w,N,z){if(z===void 0)throw Error(e(407));return z()}},Qr=null,li=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function pi(w){return console.error(w),null}function Bn(){}function _o(w,N,z,ee,Ee,we,We,pt,$t){var dr=[],sr=new Set;return N={destination:null,responseState:N,progressiveChunkSize:ee===void 0?12800:ee,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:sr,pingedTasks:dr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Ee===void 0?pi:Ee,onAllReady:we===void 0?Bn:we,onShellReady:We===void 0?Bn:We,onShellError:pt===void 0?Bn:pt,onFatalError:$t===void 0?Bn:$t},z=sn(N,0,null,z,!1,!1),z.parentFlushed=!0,w=zi(N,w,null,z,sr,Lt,null,hi),dr.push(w),N}function zi(w,N,z,ee,Ee,we,We,pt){w.allPendingTasks++,z===null?w.pendingRootTasks++:z.pendingTasks++;var $t={node:N,ping:function(){var dr=w.pingedTasks;dr.push($t),dr.length===1&&dl(w)},blockedBoundary:z,blockedSegment:ee,abortSet:Ee,legacyContext:we,context:We,treeContext:pt};return Ee.add($t),$t}function sn(w,N,z,ee,Ee,we){return{status:0,id:-1,index:N,parentFlushed:!1,chunks:[],children:[],formatContext:ee,boundary:z,lastPushedText:Ee,textEmbedded:we}}function hs(w,N){if(w=w.onError(N),w!=null&&typeof w!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof w+'" instead');return w}function Hn(w,N){var z=w.onShellError;z(N),z=w.onFatalError,z(N),w.destination!==null?(w.status=2,M(w.destination,N)):(w.status=1,w.fatalError=N)}function cl(w,N,z,ee,Ee){for(Qn={},ei=N,I=0,w=z(ee,Ee);Mr;)Mr=!1,I=0,le+=1,Or=null,w=z(ee,Ee);return gr(),w}function wa(w,N,z,ee){var Ee=z.render(),we=ee.childContextTypes;if(we!=null){var We=N.legacyContext;if(typeof z.getChildContext!="function")ee=We;else{z=z.getChildContext();for(var pt in z)if(!(pt in we))throw Error(e(108,nt(ee)||"Unknown",pt));ee=Dn({},We,z)}N.legacyContext=ee,qn(w,N,Ee),N.legacyContext=We}else qn(w,N,Ee)}function $i(w,N){if(w&&w.defaultProps){N=Dn({},N),w=w.defaultProps;for(var z in w)N[z]===void 0&&(N[z]=w[z]);return N}return N}function xo(w,N,z,ee,Ee){if(typeof z=="function")if(z.prototype&&z.prototype.isReactComponent){Ee=Ft(z,N.legacyContext);var we=z.contextType;we=new z(ee,typeof we=="object"&&we!==null?we._currentValue:Ee),Xr(we,z,ee,Ee),wa(w,N,we,z)}else{we=Ft(z,N.legacyContext),Ee=cl(w,N,z,ee,we);var We=I!==0;if(typeof Ee=="object"&&Ee!==null&&typeof Ee.render=="function"&&Ee.$$typeof===void 0)Xr(Ee,z,ee,we),wa(w,N,Ee,z);else if(We){ee=N.treeContext,N.treeContext=Fn(ee,1,0);try{qn(w,N,Ee)}finally{N.treeContext=ee}}else qn(w,N,Ee)}else if(typeof z=="string"){switch(Ee=N.blockedSegment,we=Me(Ee.chunks,z,ee,w.responseState,Ee.formatContext),Ee.lastPushedText=!1,We=Ee.formatContext,Ee.formatContext=Se(We,z,ee),Ci(w,N,we),Ee.formatContext=We,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:Ee.chunks.push(mt,g(z),_t)}Ee.lastPushedText=!1}else{switch(z){case Ae:case Q:case xi:case En:case _i:qn(w,N,ee.children);return;case dn:qn(w,N,ee.children);return;case W:throw Error(e(343));case on:e:{z=N.blockedBoundary,Ee=N.blockedSegment,we=ee.fallback,ee=ee.children,We=new Set;var pt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:We,errorDigest:null},$t=sn(w,Ee.chunks.length,pt,Ee.formatContext,!1,!1);Ee.children.push($t),Ee.lastPushedText=!1;var dr=sn(w,0,null,Ee.formatContext,!1,!1);dr.parentFlushed=!0,N.blockedBoundary=pt,N.blockedSegment=dr;try{if(Ci(w,N,ee),dr.lastPushedText&&dr.textEmbedded&&dr.chunks.push(Oe),dr.status=1,zo(pt,dr),pt.pendingTasks===0)break e}catch(sr){dr.status=4,pt.forceClientRender=!0,pt.errorDigest=hs(w,sr)}finally{N.blockedBoundary=z,N.blockedSegment=Ee}N=zi(w,we,z,$t,We,N.legacyContext,N.context,N.treeContext),w.pingedTasks.push(N)}return}if(typeof z=="object"&&z!==null)switch(z.$$typeof){case Xn:if(ee=cl(w,N,z.render,ee,Ee),I!==0){z=N.treeContext,N.treeContext=Fn(z,1,0);try{qn(w,N,ee)}finally{N.treeContext=z}}else qn(w,N,ee);return;case x:z=z.type,ee=$i(z,ee),xo(w,N,z,ee,Ee);return;case wn:if(Ee=ee.children,z=z._context,ee=ee.value,we=z._currentValue,z._currentValue=ee,We=Nt,Nt=ee={parent:We,depth:We===null?0:We.depth+1,context:z,parentValue:we,value:ee},N.context=ee,qn(w,N,Ee),w=Nt,w===null)throw Error(e(403));ee=w.parentValue,w.context._currentValue=ee===_e?w.context._defaultValue:ee,w=Nt=w.parent,N.context=w;return;case cn:ee=ee.children,ee=ee(z._currentValue),qn(w,N,ee);return;case j:Ee=z._init,z=Ee(z._payload),ee=$i(z,ee),xo(w,N,z,ee,void 0);return}throw Error(e(130,z==null?z:typeof z,""))}}function qn(w,N,z){if(N.node=z,typeof z=="object"&&z!==null){switch(z.$$typeof){case Cn:xo(w,N,z.type,z.props,z.ref);return;case di:throw Error(e(257));case j:var ee=z._init;z=ee(z._payload),qn(w,N,z);return}if(ue(z)){Yr(w,N,z);return}if(z===null||typeof z!="object"?ee=null:(ee=je&&z[je]||z["@@iterator"],ee=typeof ee=="function"?ee:null),ee&&(ee=ee.call(z))){if(z=ee.next(),!z.done){var Ee=[];do Ee.push(z.value),z=ee.next();while(!z.done);Yr(w,N,Ee)}return}throw w=Object.prototype.toString.call(z),Error(e(31,w==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":w))}typeof z=="string"?(ee=N.blockedSegment,ee.lastPushedText=Be(N.blockedSegment.chunks,z,w.responseState,ee.lastPushedText)):typeof z=="number"&&(ee=N.blockedSegment,ee.lastPushedText=Be(N.blockedSegment.chunks,""+z,w.responseState,ee.lastPushedText))}function Yr(w,N,z){for(var ee=z.length,Ee=0;Ee<ee;Ee++){var we=N.treeContext;N.treeContext=Fn(we,ee,Ee);try{Ci(w,N,z[Ee])}finally{N.treeContext=we}}}function Ci(w,N,z){var ee=N.blockedSegment.formatContext,Ee=N.legacyContext,we=N.context;try{return qn(w,N,z)}catch($t){if(gr(),typeof $t=="object"&&$t!==null&&typeof $t.then=="function"){z=$t;var We=N.blockedSegment,pt=sn(w,We.chunks.length,null,We.formatContext,We.lastPushedText,!0);We.children.push(pt),We.lastPushedText=!1,w=zi(w,N.node,N.blockedBoundary,pt,N.abortSet,N.legacyContext,N.context,N.treeContext).ping,z.then(w,w),N.blockedSegment.formatContext=ee,N.legacyContext=Ee,N.context=we,jn(we)}else throw N.blockedSegment.formatContext=ee,N.legacyContext=Ee,N.context=we,jn(we),$t}}function Aa(w){var N=w.blockedBoundary;w=w.blockedSegment,w.status=3,fl(this,N,w)}function ul(w,N,z){var ee=w.blockedBoundary;w.blockedSegment.status=3,ee===null?(N.allPendingTasks--,N.status!==2&&(N.status=2,N.destination!==null&&N.destination.close())):(ee.pendingTasks--,ee.forceClientRender||(ee.forceClientRender=!0,w=z===void 0?Error(e(432)):z,ee.errorDigest=N.onError(w),ee.parentFlushed&&N.clientRenderedBoundaries.push(ee)),ee.fallbackAbortableTasks.forEach(function(Ee){return ul(Ee,N,z)}),ee.fallbackAbortableTasks.clear(),N.allPendingTasks--,N.allPendingTasks===0&&(ee=N.onAllReady,ee()))}function zo(w,N){if(N.chunks.length===0&&N.children.length===1&&N.children[0].boundary===null){var z=N.children[0];z.id=N.id,z.parentFlushed=!0,z.status===1&&zo(w,z)}else w.completedSegments.push(N)}function fl(w,N,z){if(N===null){if(z.parentFlushed){if(w.completedRootSegment!==null)throw Error(e(389));w.completedRootSegment=z}w.pendingRootTasks--,w.pendingRootTasks===0&&(w.onShellError=Bn,N=w.onShellReady,N())}else N.pendingTasks--,N.forceClientRender||(N.pendingTasks===0?(z.parentFlushed&&z.status===1&&zo(N,z),N.parentFlushed&&w.completedBoundaries.push(N),N.fallbackAbortableTasks.forEach(Aa,w),N.fallbackAbortableTasks.clear()):z.parentFlushed&&z.status===1&&(zo(N,z),N.completedSegments.length===1&&N.parentFlushed&&w.partialBoundaries.push(N)));w.allPendingTasks--,w.allPendingTasks===0&&(w=w.onAllReady,w())}function dl(w){if(w.status!==2){var N=Nt,z=li.current;li.current=Br;var ee=Qr;Qr=w.responseState;try{var Ee=w.pingedTasks,we;for(we=0;we<Ee.length;we++){var We=Ee[we],pt=w,$t=We.blockedSegment;if($t.status===0){jn(We.context);try{qn(pt,We,We.node),$t.lastPushedText&&$t.textEmbedded&&$t.chunks.push(Oe),We.abortSet.delete(We),$t.status=1,fl(pt,We.blockedBoundary,$t)}catch(Ai){if(gr(),typeof Ai=="object"&&Ai!==null&&typeof Ai.then=="function"){var dr=We.ping;Ai.then(dr,dr)}else{We.abortSet.delete(We),$t.status=4;var sr=We.blockedBoundary,Gr=Ai,ti=hs(pt,Gr);if(sr===null?Hn(pt,Gr):(sr.pendingTasks--,sr.forceClientRender||(sr.forceClientRender=!0,sr.errorDigest=ti,sr.parentFlushed&&pt.clientRenderedBoundaries.push(sr))),pt.allPendingTasks--,pt.allPendingTasks===0){var wi=pt.onAllReady;wi()}}}finally{}}}Ee.splice(0,we),w.destination!==null&&Gs(w,w.destination)}catch(Ai){hs(w,Ai),Hn(w,Ai)}finally{Qr=ee,li.current=z,z===Br&&jn(N)}}}function Vs(w,N,z){switch(z.parentFlushed=!0,z.status){case 0:var ee=z.id=w.nextSegmentId++;return z.lastPushedText=!1,z.textEmbedded=!1,w=w.responseState,i(N,Dt),i(N,w.placeholderPrefix),w=g(ee.toString(16)),i(N,w),l(N,Bt);case 1:z.status=2;var Ee=!0;ee=z.chunks;var we=0;z=z.children;for(var We=0;We<z.length;We++){for(Ee=z[We];we<Ee.index;we++)i(N,ee[we]);Ee=ps(w,N,Ee)}for(;we<ee.length-1;we++)i(N,ee[we]);return we<ee.length&&(Ee=l(N,ee[we])),Ee;default:throw Error(e(390))}}function ps(w,N,z){var ee=z.boundary;if(ee===null)return Vs(w,N,z);if(ee.parentFlushed=!0,ee.forceClientRender)ee=ee.errorDigest,l(N,pr),i(N,Lr),ee&&(i(N,te),i(N,g(Y(ee))),i(N,me)),l(N,ye),Vs(w,N,z);else if(0<ee.pendingTasks){ee.rootSegmentID=w.nextSegmentId++,0<ee.completedSegments.length&&w.partialBoundaries.push(ee);var Ee=w.responseState,we=Ee.nextSuspenseID++;Ee=m(Ee.boundaryPrefix+we.toString(16)),ee=ee.id=Ee,xe(N,w.responseState,ee),Vs(w,N,z)}else if(ee.byteSize>w.progressiveChunkSize)ee.rootSegmentID=w.nextSegmentId++,w.completedBoundaries.push(ee),xe(N,w.responseState,ee.id),Vs(w,N,z);else{if(l(N,$e),z=ee.completedSegments,z.length!==1)throw Error(e(391));ps(w,N,z[0])}return l(N,or)}function gs(w,N,z){return zt(N,w.responseState,z.formatContext,z.id),ps(w,N,z),yt(N,z.formatContext)}function So(w,N,z){for(var ee=z.completedSegments,Ee=0;Ee<ee.length;Ee++)hl(w,N,z,ee[Ee]);if(ee.length=0,w=w.responseState,ee=z.id,z=z.rootSegmentID,i(N,w.startInlineScript),w.sentCompleteBoundaryFunction?i(N,vr):(w.sentCompleteBoundaryFunction=!0,i(N,$r)),ee===null)throw Error(e(395));return z=g(z.toString(16)),i(N,ee),i(N,Gn),i(N,w.segmentPrefix),i(N,z),l(N,Sn)}function hl(w,N,z,ee){if(ee.status===2)return!0;var Ee=ee.id;if(Ee===-1){if((ee.id=z.rootSegmentID)===-1)throw Error(e(392));return gs(w,N,ee)}return gs(w,N,ee),w=w.responseState,i(N,w.startInlineScript),w.sentCompleteSegmentFunction?i(N,Tr):(w.sentCompleteSegmentFunction=!0,i(N,Kt)),i(N,w.segmentPrefix),Ee=g(Ee.toString(16)),i(N,Ee),i(N,ur),i(N,w.placeholderPrefix),i(N,Ee),l(N,hr)}function Gs(w,N){t=new Uint8Array(512),n=0;try{var z=w.completedRootSegment;if(z!==null&&w.pendingRootTasks===0){ps(w,N,z),w.completedRootSegment=null;var ee=w.responseState.bootstrapChunks;for(z=0;z<ee.length-1;z++)i(N,ee[z]);z<ee.length&&l(N,ee[z])}var Ee=w.clientRenderedBoundaries,we;for(we=0;we<Ee.length;we++){var We=Ee[we];ee=N;var pt=w.responseState,$t=We.id,dr=We.errorDigest,sr=We.errorMessage,Gr=We.errorComponentStack;if(i(ee,pt.startInlineScript),pt.sentClientRenderFunction?i(ee,Kr):(pt.sentClientRenderFunction=!0,i(ee,Mn)),$t===null)throw Error(e(395));i(ee,$t),i(ee,Zn),(dr||sr||Gr)&&(i(ee,Yn),i(ee,g(nn(dr||"")))),(sr||Gr)&&(i(ee,Yn),i(ee,g(nn(sr||"")))),Gr&&(i(ee,Yn),i(ee,g(nn(Gr)))),l(ee,Tn)}Ee.splice(0,we);var ti=w.completedBoundaries;for(we=0;we<ti.length;we++)So(w,N,ti[we]);ti.splice(0,we),u(N),t=new Uint8Array(512),n=0;var wi=w.partialBoundaries;for(we=0;we<wi.length;we++){var Ai=wi[we];e:{Ee=w,We=N;var Zs=Ai.completedSegments;for(pt=0;pt<Zs.length;pt++)if(!hl(Ee,We,Ai,Zs[pt])){pt++,Zs.splice(0,pt);var pl=!1;break e}Zs.splice(0,pt),pl=!0}if(!pl){w.destination=null,we++,wi.splice(0,we);return}}wi.splice(0,we);var ms=w.completedBoundaries;for(we=0;we<ms.length;we++)So(w,N,ms[we]);ms.splice(0,we)}finally{u(N),w.allPendingTasks===0&&w.pingedTasks.length===0&&w.clientRenderedBoundaries.length===0&&w.completedBoundaries.length===0&&N.close()}}function Ta(w,N){try{var z=w.abortableTasks;z.forEach(function(ee){return ul(ee,w,N)}),z.clear(),w.destination!==null&&Gs(w,w.destination)}catch(ee){hs(w,ee),Hn(w,ee)}}return Fd.renderToReadableStream=function(w,N){return new Promise(function(z,ee){var Ee,we,We=new Promise(function(sr,Gr){we=sr,Ee=Gr}),pt=_o(w,ae(N?N.identifierPrefix:void 0,N?N.nonce:void 0,N?N.bootstrapScriptContent:void 0,N?N.bootstrapScripts:void 0,N?N.bootstrapModules:void 0),he(N?N.namespaceURI:void 0),N?N.progressiveChunkSize:void 0,N?N.onError:void 0,we,function(){var sr=new ReadableStream({type:"bytes",pull:function(Gr){if(pt.status===1)pt.status=2,M(Gr,pt.fatalError);else if(pt.status!==2&&pt.destination===null){pt.destination=Gr;try{Gs(pt,Gr)}catch(ti){hs(pt,ti),Hn(pt,ti)}}},cancel:function(){Ta(pt)}},{highWaterMark:0});sr.allReady=We,z(sr)},function(sr){We.catch(function(){}),ee(sr)},Ee);if(N&&N.signal){var $t=N.signal,dr=function(){Ta(pt,$t.reason),$t.removeEventListener("abort",dr)};$t.addEventListener("abort",dr)}dl(pt)})},Fd.version="18.2.0",Fd}var $c={};/**
265
+ * @license React
266
+ * react-dom-server-legacy.browser.development.js
267
+ *
268
+ * Copyright (c) Facebook, Inc. and its affiliates.
269
+ *
270
+ * This source code is licensed under the MIT license found in the
271
+ * LICENSE file in the root directory of this source tree.
272
+ */var ay;function eO(){return ay||(ay=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,d=new Array(c>1?c-1:0),y=1;y<c;y++)d[y-1]=arguments[y];l("warn",s,d)}}function i(s){{for(var c=arguments.length,d=new Array(c>1?c-1:0),y=1;y<c;y++)d[y-1]=arguments[y];l("error",s,d)}}function l(s,c,d){{var y=t.ReactDebugCurrentFrame,L=y.getStackAddendum();L!==""&&(c+="%s",d=d.concat([L]));var F=d.map(function(U){return String(U)});F.unshift("Warning: "+c),Function.prototype.apply.call(console[s],console,F)}}function u(s){s()}function h(s){}function g(s,c){m(s,c)}function m(s,c){return s.push(c)}function M(s){}function T(s){s.push(null)}function C(s){return s}function _(s){return s}function S(s,c){s.destroy(c)}function D(s){{var c=typeof Symbol=="function"&&Symbol.toStringTag,d=c&&s[Symbol.toStringTag]||s.constructor.name||"Object";return d}}function A(s){try{return b(s),!1}catch{return!0}}function b(s){return""+s}function R(s,c){if(A(s))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",c,D(s)),b(s)}function O(s,c){if(A(s))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",c,D(s)),b(s)}function q(s){if(A(s))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",D(s)),b(s)}var H=Object.prototype.hasOwnProperty,G=0,Y=1,de=2,X=3,ue=4,P=5,re=6,J=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ne=J+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",oe=new RegExp("^["+J+"]["+ne+"]*$"),ce={},ve={};function ae(s){return H.call(ve,s)?!0:H.call(ce,s)?!1:oe.test(s)?(ve[s]=!0,!0):(ce[s]=!0,i("Invalid attribute name: `%s`",s),!1)}function ge(s,c,d,y){if(d!==null&&d.type===G)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":{if(d!==null)return!d.acceptsBooleans;var L=s.toLowerCase().slice(0,5);return L!=="data-"&&L!=="aria-"}default:return!1}}function he(s){return Oe.hasOwnProperty(s)?Oe[s]:null}function Se(s,c,d,y,L,F,U){this.acceptsBooleans=c===de||c===X||c===ue,this.attributeName=y,this.attributeNamespace=L,this.mustUseProperty=d,this.propertyName=s,this.type=c,this.sanitizeURL=F,this.removeEmptyString=U}var Oe={},Be=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Be.forEach(function(s){Oe[s]=new Se(s,G,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var c=s[0],d=s[1];Oe[c]=new Se(c,Y,!1,d,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){Oe[s]=new Se(s,de,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){Oe[s]=new Se(s,de,!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){Oe[s]=new Se(s,X,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){Oe[s]=new Se(s,X,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){Oe[s]=new Se(s,ue,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){Oe[s]=new Se(s,re,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){Oe[s]=new Se(s,P,!1,s.toLowerCase(),null,!1,!1)});var Ke=/[\-\:]([a-z])/g,Te=function(s){return s[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(s){var c=s.replace(Ke,Te);Oe[c]=new Se(c,Y,!1,s,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(s){var c=s.replace(Ke,Te);Oe[c]=new Se(c,Y,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var c=s.replace(Ke,Te);Oe[c]=new Se(c,Y,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){Oe[s]=new Se(s,Y,!1,s.toLowerCase(),null,!1,!1)});var lt="xlinkHref";Oe[lt]=new Se("xlinkHref",Y,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){Oe[s]=new Se(s,Y,!1,s.toLowerCase(),null,!0,!0)});var gt={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 Xe(s,c){return s+c.charAt(0).toUpperCase()+c.substring(1)}var Ge=["Webkit","ms","Moz","O"];Object.keys(gt).forEach(function(s){Ge.forEach(function(c){gt[Xe(c,s)]=gt[s]})});var Le={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Re(s,c){Le[c.type]||c.onChange||c.onInput||c.readOnly||c.disabled||c.value==null||i("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),c.onChange||c.readOnly||c.disabled||c.checked==null||i("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function ke(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 He={"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},Ie={},rt=new RegExp("^(aria)-["+ne+"]*$"),ft=new RegExp("^(aria)[A-Z]["+ne+"]*$");function kt(s,c){{if(H.call(Ie,c)&&Ie[c])return!0;if(ft.test(c)){var d="aria-"+c.slice(4).toLowerCase(),y=He.hasOwnProperty(d)?d:null;if(y==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",c),Ie[c]=!0,!0;if(c!==y)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",c,y),Ie[c]=!0,!0}if(rt.test(c)){var L=c.toLowerCase(),F=He.hasOwnProperty(L)?L:null;if(F==null)return Ie[c]=!0,!1;if(c!==F)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",c,F),Ie[c]=!0,!0}}return!0}function wt(s,c){{var d=[];for(var y in c){var L=kt(s,y);L||d.push(y)}var F=d.map(function(U){return"`"+U+"`"}).join(", ");d.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",F,s):d.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",F,s)}}function bt(s,c){ke(s,c)||wt(s,c)}var Mt=!1;function Rt(s,c){{if(s!=="input"&&s!=="textarea"&&s!=="select")return;c!=null&&c.value===null&&!Mt&&(Mt=!0,s==="select"&&c.multiple?i("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",s):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",s))}}var dt={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"},ct=function(){};{var Ct={},Me=/^on./,mt=/^on[^A-Z]/,_t=new RegExp("^(aria)-["+ne+"]*$"),Dt=new RegExp("^(aria)[A-Z]["+ne+"]*$");ct=function(s,c,d,y){if(H.call(Ct,c)&&Ct[c])return!0;var L=c.toLowerCase();if(L==="onfocusin"||L==="onfocusout")return i("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Ct[c]=!0,!0;if(y!=null){var F=y.registrationNameDependencies,U=y.possibleRegistrationNames;if(F.hasOwnProperty(c))return!0;var ie=U.hasOwnProperty(L)?U[L]:null;if(ie!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",c,ie),Ct[c]=!0,!0;if(Me.test(c))return i("Unknown event handler property `%s`. It will be ignored.",c),Ct[c]=!0,!0}else if(Me.test(c))return mt.test(c)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",c),Ct[c]=!0,!0;if(_t.test(c)||Dt.test(c))return!0;if(L==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ct[c]=!0,!0;if(L==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ct[c]=!0,!0;if(L==="is"&&d!==null&&d!==void 0&&typeof d!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof d),Ct[c]=!0,!0;if(typeof d=="number"&&isNaN(d))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",c),Ct[c]=!0,!0;var Ce=he(c),Ve=Ce!==null&&Ce.type===G;if(dt.hasOwnProperty(L)){var it=dt[L];if(it!==c)return i("Invalid DOM property `%s`. Did you mean `%s`?",c,it),Ct[c]=!0,!0}else if(!Ve&&c!==L)return i("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",c,L),Ct[c]=!0,!0;return typeof d=="boolean"&&ge(c,d,Ce)?(d?i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',d,c,c,d,c):i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',d,c,c,d,c,c,c),Ct[c]=!0,!0):Ve?!0:ge(c,d,Ce)?(Ct[c]=!0,!1):((d==="false"||d==="true")&&Ce!==null&&Ce.type===X&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",d,c,d==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',c,d),Ct[c]=!0),!0)}}var Bt=function(s,c,d){{var y=[];for(var L in c){var F=ct(s,L,c[L],d);F||y.push(L)}var U=y.map(function(ie){return"`"+ie+"`"}).join(", ");y.length===1?i("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",U,s):y.length>1&&i("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",U,s)}};function $e(s,c,d){ke(s,c)||Bt(s,c,d)}var Tt=function(){};{var jt=/^(?:webkit|moz|o)[A-Z]/,pr=/^-ms-/,or=/-(.)/g,Lr=/;\s*$/,me={},te={},ye=!1,xe=!1,vt=function(s){return s.replace(or,function(c,d){return d.toUpperCase()})},et=function(s){me.hasOwnProperty(s)&&me[s]||(me[s]=!0,i("Unsupported style property %s. Did you mean %s?",s,vt(s.replace(pr,"ms-"))))},ot=function(s){me.hasOwnProperty(s)&&me[s]||(me[s]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",s,s.charAt(0).toUpperCase()+s.slice(1)))},Et=function(s,c){te.hasOwnProperty(c)&&te[c]||(te[c]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,s,c.replace(Lr,"")))},At=function(s,c){ye||(ye=!0,i("`NaN` is an invalid value for the `%s` css style property.",s))},Jt=function(s,c){xe||(xe=!0,i("`Infinity` is an invalid value for the `%s` css style property.",s))};Tt=function(s,c){s.indexOf("-")>-1?et(s):jt.test(s)?ot(s):Lr.test(c)&&Et(s,c),typeof c=="number"&&(isNaN(c)?At(s,c):isFinite(c)||Jt(s,c))}}var Ht=Tt,Ut=/["'&<>]/;function qt(s){q(s);var c=""+s,d=Ut.exec(c);if(!d)return c;var y,L="",F,U=0;for(F=d.index;F<c.length;F++){switch(c.charCodeAt(F)){case 34:y="&quot;";break;case 38:y="&amp;";break;case 39:y="&#x27;";break;case 60:y="&lt;";break;case 62:y="&gt;";break;default:continue}U!==F&&(L+=c.substring(U,F)),U=F+1,L+=y}return U!==F?L+c.substring(U,F):L}function tr(s){return typeof s=="boolean"||typeof s=="number"?""+s:qt(s)}var Ar=/([A-Z])/g,Je=/^ms-/;function Qe(s){return s.replace(Ar,"-$1").toLowerCase().replace(Je,"-ms-")}var ht=/^[\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,Ne=!1;function xt(s){!Ne&&ht.test(s)&&(Ne=!0,i("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(s)))}var K=Array.isArray;function Pe(s){return K(s)}var tt="<script>";function It(s,c,d,y,L){var F=s===void 0?"":s,U=tt,ie=[];return{bootstrapChunks:ie,startInlineScript:U,placeholderPrefix:F+"P:",segmentPrefix:F+"S:",boundaryPrefix:F+"B:",idPrefix:F,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Yt=0,zt=1,yt=2,Kt=3,Tr=4,ur=5,hr=6,$r=7;function vr(s,c){return{insertionMode:s,selectedValue:c}}function Gn(s,c,d){switch(c){case"select":return vr(zt,d.value!=null?d.value:d.defaultValue);case"svg":return vr(yt,null);case"math":return vr(Kt,null);case"foreignObject":return vr(zt,null);case"table":return vr(Tr,null);case"thead":case"tbody":case"tfoot":return vr(ur,null);case"colgroup":return vr($r,null);case"tr":return vr(hr,null)}return s.insertionMode>=Tr||s.insertionMode===Yt?vr(zt,null):s}var Sn=null;function Mn(s){var c=s.nextSuspenseID++;return s.boundaryPrefix+c.toString(16)}function Kr(s,c,d){var y=s.idPrefix,L=":"+y+"R"+c;return d>0&&(L+="H"+d.toString(32)),L+":"}function Zn(s){return tr(s)}var Tn="<!-- -->";function Yn(s,c,d,y){return c===""?y:(y&&s.push(Tn),s.push(Zn(c)),!0)}function Kn(s,c,d,y){d&&y&&s.push(Tn)}var nn=new Map;function Dn(s){var c=nn.get(s);if(c!==void 0)return c;var d=tr(Qe(s));return nn.set(s,d),d}var Cn=' style="',di=":",_i=";";function xi(s,c,d){if(typeof d!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var y=!0;for(var L in d)if(H.call(d,L)){var F=d[L];if(!(F==null||typeof F=="boolean"||F==="")){var U=void 0,ie=void 0,Ce=L.indexOf("--")===0;Ce?(U=tr(L),O(F,L),ie=tr((""+F).trim())):(Ht(L,F),U=Dn(L),typeof F=="number"?F!==0&&!H.call(gt,L)?ie=F+"px":ie=""+F:(O(F,L),ie=tr((""+F).trim()))),y?(y=!1,s.push(Cn,U,di,ie)):s.push(_i,U,di,ie)}}y||s.push(cn)}var En=" ",wn='="',cn='"',Xn='=""';function on(s,c,d,y){switch(d){case"style":{xi(s,c,y);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(d.length>2&&(d[0]==="o"||d[0]==="O")&&(d[1]==="n"||d[1]==="N"))){var L=he(d);if(L!==null){switch(typeof y){case"function":case"symbol":return;case"boolean":if(!L.acceptsBooleans)return}var F=L.attributeName,U=F;switch(L.type){case X:y&&s.push(En,U,Xn);return;case ue:y===!0?s.push(En,U,Xn):y===!1||s.push(En,U,wn,tr(y),cn);return;case P:isNaN(y)||s.push(En,U,wn,tr(y),cn);break;case re:!isNaN(y)&&y>=1&&s.push(En,U,wn,tr(y),cn);break;default:L.sanitizeURL&&(R(y,F),y=""+y,xt(y)),s.push(En,U,wn,tr(y),cn)}}else if(ae(d)){switch(typeof y){case"function":case"symbol":return;case"boolean":{var ie=d.toLowerCase().slice(0,5);if(ie!=="data-"&&ie!=="aria-")return}}s.push(En,d,wn,tr(y),cn)}}}var dn=">",x="/>";function j(s,c,d){if(c!=null){if(d!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof c!="object"||!("__html"in c))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var y=c.__html;y!=null&&(q(y),s.push(""+y))}}var W=!1,Q=!1,Ae=!1,_e=!1,je=!1,nt=!1,Lt=!1;function Ft(s,c){{var d=s[c];if(d!=null){var y=Pe(d);s.multiple&&!y?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",c):!s.multiple&&y&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",c)}}}function Nt(s,c,d){Re("select",c),Ft(c,"value"),Ft(c,"defaultValue"),c.value!==void 0&&c.defaultValue!==void 0&&!Ae&&(i("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Ae=!0),s.push(kn("select"));var y=null,L=null;for(var F in c)if(H.call(c,F)){var U=c[F];if(U==null)continue;switch(F){case"children":y=U;break;case"dangerouslySetInnerHTML":L=U;break;case"defaultValue":case"value":break;default:on(s,d,F,U);break}}return s.push(dn),j(s,L,y),y}function _r(s){var c="";return r.Children.forEach(s,function(d){d!=null&&(c+=d,!je&&typeof d!="string"&&typeof d!="number"&&(je=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),c}var Zr=' selected=""';function vn(s,c,d,y){var L=y.selectedValue;s.push(kn("option"));var F=null,U=null,ie=null,Ce=null;for(var Ve in c)if(H.call(c,Ve)){var it=c[Ve];if(it==null)continue;switch(Ve){case"children":F=it;break;case"selected":ie=it,Lt||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Lt=!0);break;case"dangerouslySetInnerHTML":Ce=it;break;case"value":U=it;default:on(s,d,Ve,it);break}}if(L!=null){var St;if(U!==null?(R(U,"value"),St=""+U):(Ce!==null&&(nt||(nt=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),St=_r(F)),Pe(L))for(var nr=0;nr<L.length;nr++){R(L[nr],"value");var Dr=""+L[nr];if(Dr===St){s.push(Zr);break}}else R(L,"select.value"),""+L===St&&s.push(Zr)}else ie&&s.push(Zr);return s.push(dn),j(s,Ce,F),F}function yn(s,c,d){Re("input",c),c.checked!==void 0&&c.defaultChecked!==void 0&&!Q&&(i("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",c.type),Q=!0),c.value!==void 0&&c.defaultValue!==void 0&&!W&&(i("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",c.type),W=!0),s.push(kn("input"));var y=null,L=null,F=null,U=null;for(var ie in c)if(H.call(c,ie)){var Ce=c[ie];if(Ce==null)continue;switch(ie){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":U=Ce;break;case"defaultValue":L=Ce;break;case"checked":F=Ce;break;case"value":y=Ce;break;default:on(s,d,ie,Ce);break}}return F!==null?on(s,d,"checked",F):U!==null&&on(s,d,"checked",U),y!==null?on(s,d,"value",y):L!==null&&on(s,d,"value",L),s.push(x),null}function ai(s,c,d){Re("textarea",c),c.value!==void 0&&c.defaultValue!==void 0&&!_e&&(i("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),_e=!0),s.push(kn("textarea"));var y=null,L=null,F=null;for(var U in c)if(H.call(c,U)){var ie=c[U];if(ie==null)continue;switch(U){case"children":F=ie;break;case"value":y=ie;break;case"defaultValue":L=ie;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:on(s,d,U,ie);break}}if(y===null&&L!==null&&(y=L),s.push(dn),F!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Pe(F)){if(F.length>1)throw new Error("<textarea> can only have at most one child.");q(F[0]),y=""+F[0]}q(F),y=""+F}return typeof y=="string"&&y[0]===`
273
+ `&&s.push(Jn),y!==null&&(R(y,"value"),s.push(Zn(""+y))),null}function jn(s,c,d,y){s.push(kn(d));for(var L in c)if(H.call(c,L)){var F=c[L];if(F==null)continue;switch(L){case"children":case"dangerouslySetInnerHTML":throw new Error(d+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:on(s,y,L,F);break}}return s.push(x),null}function Si(s,c,d){s.push(kn("menuitem"));for(var y in c)if(H.call(c,y)){var L=c[y];if(L==null)continue;switch(y){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:on(s,d,y,L);break}}return s.push(dn),null}function Xr(s,c,d){s.push(kn("title"));var y=null;for(var L in c)if(H.call(c,L)){var F=c[L];if(F==null)continue;switch(L){case"children":y=F;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:on(s,d,L,F);break}}s.push(dn);{var U=Array.isArray(y)&&y.length<2?y[0]||null:y;Array.isArray(y)&&y.length>1?i("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):U!=null&&U.$$typeof!=null?i("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):U!=null&&typeof U!="string"&&typeof U!="number"&&i("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return y}function hi(s,c,d,y){s.push(kn(d));var L=null,F=null;for(var U in c)if(H.call(c,U)){var ie=c[U];if(ie==null)continue;switch(U){case"children":L=ie;break;case"dangerouslySetInnerHTML":F=ie;break;default:on(s,y,U,ie);break}}return s.push(dn),j(s,F,L),typeof L=="string"?(s.push(Zn(L)),null):L}function Fn(s,c,d,y){s.push(kn(d));var L=null,F=null;for(var U in c)if(H.call(c,U)){var ie=c[U];if(ie==null)continue;switch(U){case"children":L=ie;break;case"dangerouslySetInnerHTML":F=ie;break;case"style":xi(s,y,ie);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ae(U)&&typeof ie!="function"&&typeof ie!="symbol"&&s.push(En,U,wn,tr(ie),cn);break}}return s.push(dn),j(s,F,L),L}var Jn=`
274
+ `;function yo(s,c,d,y){s.push(kn(d));var L=null,F=null;for(var U in c)if(H.call(c,U)){var ie=c[U];if(ie==null)continue;switch(U){case"children":L=ie;break;case"dangerouslySetInnerHTML":F=ie;break;default:on(s,y,U,ie);break}}if(s.push(dn),F!=null){if(L!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof F!="object"||!("__html"in F))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var Ce=F.__html;Ce!=null&&(typeof Ce=="string"&&Ce.length>0&&Ce[0]===`
275
+ `?s.push(Jn,Ce):(q(Ce),s.push(""+Ce)))}return typeof L=="string"&&L[0]===`
276
+ `&&s.push(Jn),L}var eo=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,to=new Map;function kn(s){var c=to.get(s);if(c===void 0){if(!eo.test(s))throw new Error("Invalid tag: "+s);c="<"+s,to.set(s,c)}return c}var bo="<!DOCTYPE html>";function Qn(s,c,d,y,L){switch(bt(c,d),Rt(c,d),$e(c,d,null),!d.suppressContentEditableWarning&&d.contentEditable&&d.children!=null&&i("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),L.insertionMode!==yt&&L.insertionMode!==Kt&&c.indexOf("-")===-1&&typeof d.is!="string"&&c.toLowerCase()!==c&&i("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",c),c){case"select":return Nt(s,d,y);case"option":return vn(s,d,y,L);case"textarea":return ai(s,d,y);case"input":return yn(s,d,y);case"menuitem":return Si(s,d,y);case"title":return Xr(s,d,y);case"listing":case"pre":return yo(s,d,c,y);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return jn(s,d,c,y);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return hi(s,d,c,y);case"html":return L.insertionMode===Yt&&s.push(bo),hi(s,d,c,y);default:return c.indexOf("-")===-1&&typeof d.is!="string"?hi(s,d,c,y):Fn(s,d,c,y)}}var ei="</",qi=">";function Or(s,c,d){switch(c){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:s.push(ei,c,qi)}}function Sr(s,c){for(var d=c.bootstrapChunks,y=0;y<d.length-1;y++)g(s,d[y]);return y<d.length?m(s,d[y]):!0}var Mr='<template id="',I='"></template>';function V(s,c,d){g(s,Mr),g(s,c.placeholderPrefix);var y=d.toString(16);return g(s,y),m(s,I)}var le="<!--$-->",Fe='<!--$?--><template id="',Xt='"></template>',Wt="<!--$!-->",gr="<!--/$-->",xr="<template",fr='"',Cr=' data-dgst="',Jr=' data-msg="',Rn=' data-stck="',Vr="></template>";function Br(s,c){return m(s,le)}function Qr(s,c,d){if(g(s,Fe),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return g(s,d),m(s,Xt)}function li(s,c,d,y,L){var F;return F=m(s,Wt),g(s,xr),d&&(g(s,Cr),g(s,tr(d)),g(s,fr)),y&&(g(s,Jr),g(s,tr(y)),g(s,fr)),L&&(g(s,Rn),g(s,tr(L)),g(s,fr)),F=m(s,Vr),F}function pi(s,c){return m(s,gr)}function Bn(s,c){return m(s,gr)}function _o(s,c){return m(s,gr)}var zi='<div hidden id="',sn='">',hs="</div>",Hn='<svg aria-hidden="true" style="display:none" id="',cl='">',wa="</svg>",$i='<math aria-hidden="true" style="display:none" id="',xo='">',qn="</math>",Yr='<table hidden id="',Ci='">',Aa="</table>",ul='<table hidden><tbody id="',zo='">',fl="</tbody></table>",dl='<table hidden><tr id="',Vs='">',ps="</tr></table>",gs='<table hidden><colgroup id="',So='">',hl="</colgroup></table>";function Gs(s,c,d,y){switch(d.insertionMode){case Yt:case zt:return g(s,zi),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,sn);case yt:return g(s,Hn),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,cl);case Kt:return g(s,$i),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,xo);case Tr:return g(s,Yr),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,Ci);case ur:return g(s,ul),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,zo);case hr:return g(s,dl),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,Vs);case $r:return g(s,gs),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,So);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Ta(s,c){switch(c.insertionMode){case Yt:case zt:return m(s,hs);case yt:return m(s,wa);case Kt:return m(s,qn);case Tr:return m(s,Aa);case ur:return m(s,fl);case hr:return m(s,ps);case $r:return m(s,hl);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var w="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",N='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())}',ee=w+';$RS("',Ee='$RS("',we='","',We='")<\/script>';function pt(s,c,d){g(s,c.startInlineScript),c.sentCompleteSegmentFunction?g(s,Ee):(c.sentCompleteSegmentFunction=!0,g(s,ee)),g(s,c.segmentPrefix);var y=d.toString(16);return g(s,y),g(s,we),g(s,c.placeholderPrefix),g(s,y),m(s,We)}var $t=N+';$RC("',dr='$RC("',sr='","',Gr='")<\/script>';function ti(s,c,d,y){if(g(s,c.startInlineScript),c.sentCompleteBoundaryFunction?g(s,dr):(c.sentCompleteBoundaryFunction=!0,g(s,$t)),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var L=y.toString(16);return g(s,d),g(s,sr),g(s,c.segmentPrefix),g(s,L),m(s,Gr)}var wi=z+';$RX("',Ai='$RX("',Zs='"',pl=")<\/script>",ms=",";function Ys(s,c,d,y,L,F){if(g(s,c.startInlineScript),c.sentClientRenderFunction?g(s,Ai):(c.sentClientRenderFunction=!0,g(s,wi)),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return g(s,d),g(s,Zs),(y||L||F)&&(g(s,ms),g(s,nc(y||""))),(L||F)&&(g(s,ms),g(s,nc(L||""))),F&&(g(s,ms),g(s,nc(F))),m(s,pl)}var tf=/[<\u2028\u2029]/g;function nc(s){var c=JSON.stringify(s);return c.replace(tf,function(d){switch(d){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function ic(s,c){var d=It(c);return{bootstrapChunks:d.bootstrapChunks,startInlineScript:d.startInlineScript,placeholderPrefix:d.placeholderPrefix,segmentPrefix:d.segmentPrefix,boundaryPrefix:d.boundaryPrefix,idPrefix:d.idPrefix,nextSuspenseID:d.nextSuspenseID,sentCompleteSegmentFunction:d.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:d.sentCompleteBoundaryFunction,sentClientRenderFunction:d.sentClientRenderFunction,generateStaticMarkup:s}}function nu(){return{insertionMode:zt,selectedValue:null}}function Co(s,c,d,y){return d.generateStaticMarkup?(s.push(tr(c)),!1):Yn(s,c,d,y)}function Ea(s,c,d,y){if(!c.generateStaticMarkup)return Kn(s,c,d,y)}function rf(s,c){return c.generateStaticMarkup?!0:Br(s)}function nf(s,c,d,y,L){return c.generateStaticMarkup?!0:li(s,c,d,y,L)}function of(s,c){return c.generateStaticMarkup?!0:pi(s)}function Ks(s,c){return c.generateStaticMarkup?!0:_o(s)}var un=Object.assign,iu=Symbol.for("react.element"),ou=Symbol.for("react.portal"),gl=Symbol.for("react.fragment"),Ti=Symbol.for("react.strict_mode"),su=Symbol.for("react.profiler"),ml=Symbol.for("react.provider"),wo=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),ze=Symbol.for("react.suspense"),De=Symbol.for("react.suspense_list"),Ot=Symbol.for("react.memo"),ir=Symbol.for("react.lazy"),Pr=Symbol.for("react.scope"),bn=Symbol.for("react.debug_trace_mode"),Ur=Symbol.for("react.legacy_hidden"),Xs=Symbol.for("react.default_value"),au=Symbol.iterator,Ni="@@iterator";function vl(s){if(s===null||typeof s!="object")return null;var c=au&&s[au]||s[Ni];return typeof c=="function"?c:null}function sf(s,c,d){var y=s.displayName;if(y)return y;var L=c.displayName||c.name||"";return L!==""?d+"("+L+")":d}function $o(s){return s.displayName||"Context"}function en(s){if(s==null)return null;if(typeof s.tag=="number"&&i("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case gl:return"Fragment";case ou:return"Portal";case su:return"Profiler";case Ti:return"StrictMode";case ze:return"Suspense";case De:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case wo:var c=s;return $o(c)+".Consumer";case ml:var d=s;return $o(d._context)+".Provider";case pe:return sf(s,s.render,"ForwardRef");case Ot:var y=s.displayName||null;return y!==null?y:en(s.type)||"Memo";case ir:{var L=s,F=L._payload,U=L._init;try{return en(U(F))}catch{return null}}}return null}var Uo=0,zr,oc,an,Ao,sc,ac,lc;function Js(){}Js.__reactDisabledLog=!0;function To(){{if(Uo===0){zr=console.log,oc=console.info,an=console.warn,Ao=console.error,sc=console.group,ac=console.groupCollapsed,lc=console.groupEnd;var s={configurable:!0,enumerable:!0,value:Js,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}Uo++}}function ka(){{if(Uo--,Uo===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:un({},s,{value:zr}),info:un({},s,{value:oc}),warn:un({},s,{value:an}),error:un({},s,{value:Ao}),group:un({},s,{value:sc}),groupCollapsed:un({},s,{value:ac}),groupEnd:un({},s,{value:lc})})}Uo<0&&i("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ra=t.ReactCurrentDispatcher,vs;function Qs(s,c,d){{if(vs===void 0)try{throw Error()}catch(L){var y=L.stack.trim().match(/\n( *(at )?)/);vs=y&&y[1]||""}return`
277
+ `+vs+s}}var yl=!1,Eo;{var bl=typeof WeakMap=="function"?WeakMap:Map;Eo=new bl}function Ui(s,c){if(!s||yl)return"";{var d=Eo.get(s);if(d!==void 0)return d}var y;yl=!0;var L=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var F;F=Ra.current,Ra.current=null,To();try{if(c){var U=function(){throw Error()};if(Object.defineProperty(U.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(U,[])}catch($n){y=$n}Reflect.construct(s,[],U)}else{try{U.call()}catch($n){y=$n}s.call(U.prototype)}}else{try{throw Error()}catch($n){y=$n}s()}}catch($n){if($n&&y&&typeof $n.stack=="string"){for(var ie=$n.stack.split(`
278
+ `),Ce=y.stack.split(`
279
+ `),Ve=ie.length-1,it=Ce.length-1;Ve>=1&&it>=0&&ie[Ve]!==Ce[it];)it--;for(;Ve>=1&&it>=0;Ve--,it--)if(ie[Ve]!==Ce[it]){if(Ve!==1||it!==1)do if(Ve--,it--,it<0||ie[Ve]!==Ce[it]){var St=`
280
+ `+ie[Ve].replace(" at new "," at ");return s.displayName&&St.includes("<anonymous>")&&(St=St.replace("<anonymous>",s.displayName)),typeof s=="function"&&Eo.set(s,St),St}while(Ve>=1&&it>=0);break}}}finally{yl=!1,Ra.current=F,ka(),Error.prepareStackTrace=L}var nr=s?s.displayName||s.name:"",Dr=nr?Qs(nr):"";return typeof s=="function"&&Eo.set(s,Dr),Dr}function ko(s,c,d){return Ui(s,!0)}function Wo(s,c,d){return Ui(s,!1)}function af(s){var c=s.prototype;return!!(c&&c.isReactComponent)}function Ia(s,c,d){if(s==null)return"";if(typeof s=="function")return Ui(s,af(s));if(typeof s=="string")return Qs(s);switch(s){case ze:return Qs("Suspense");case De:return Qs("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case pe:return Wo(s.render);case Ot:return Ia(s.type,c,d);case ir:{var y=s,L=y._payload,F=y._init;try{return Ia(F(L),c,d)}catch{}}}return""}var lu={},ea=t.ReactDebugCurrentFrame;function ys(s){if(s){var c=s._owner,d=Ia(s.type,s._source,c?c.type:null);ea.setExtraStackFrame(d)}else ea.setExtraStackFrame(null)}function ta(s,c,d,y,L){{var F=Function.call.bind(H);for(var U in s)if(F(s,U)){var ie=void 0;try{if(typeof s[U]!="function"){var Ce=Error((y||"React class")+": "+d+" type `"+U+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[U]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ce.name="Invariant Violation",Ce}ie=s[U](c,U,y,d,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ve){ie=Ve}ie&&!(ie instanceof Error)&&(ys(L),i("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",y||"React class",d,U,typeof ie),ys(null)),ie instanceof Error&&!(ie.message in lu)&&(lu[ie.message]=!0,ys(L),i("Failed %s type: %s",d,ie.message),ys(null))}}}var _l;_l={};var ra={};Object.freeze(ra);function La(s,c){{var d=s.contextTypes;if(!d)return ra;var y={};for(var L in d)y[L]=c[L];{var F=en(s)||"Unknown";ta(d,y,"context",F)}return y}}function cu(s,c,d,y){{if(typeof s.getChildContext!="function"){{var L=en(c)||"Unknown";_l[L]||(_l[L]=!0,i("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",L,L))}return d}var F=s.getChildContext();for(var U in F)if(!(U in y))throw new Error((en(c)||"Unknown")+'.getChildContext(): key "'+U+'" is not defined in childContextTypes.');{var ie=en(c)||"Unknown";ta(y,F,"child context",ie)}return un({},d,F)}}var ln;ln={};var In=null,Vo=null;function cc(s){s.context._currentValue2=s.parentValue}function Go(s){s.context._currentValue2=s.value}function xl(s,c){if(s!==c){cc(s);var d=s.parent,y=c.parent;if(d===null){if(y!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(y===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");xl(d,y)}Go(c)}}function ro(s){cc(s);var c=s.parent;c!==null&&ro(c)}function Zo(s){var c=s.parent;c!==null&&Zo(c),Go(s)}function na(s,c){cc(s);var d=s.parent;if(d===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");d.depth===c.depth?xl(d,c):na(d,c)}function no(s,c){var d=c.parent;if(d===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");s.depth===d.depth?xl(s,d):no(s,d),Go(c)}function Ro(s){var c=Vo,d=s;c!==d&&(c===null?Zo(d):d===null?ro(c):c.depth===d.depth?xl(c,d):c.depth>d.depth?na(c,d):no(c,d),Vo=d)}function ia(s,c){var d;d=s._currentValue2,s._currentValue2=c,s._currentRenderer2!==void 0&&s._currentRenderer2!==null&&s._currentRenderer2!==ln&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),s._currentRenderer2=ln;var y=Vo,L={parent:y,depth:y===null?0:y.depth+1,context:s,parentValue:d,value:c};return Vo=L,L}function Ma(s){var c=Vo;if(c===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");c.context!==s&&i("The parent context is not the expected context. This is probably a bug in React.");{var d=c.parentValue;d===Xs?c.context._currentValue2=c.context._defaultValue:c.context._currentValue2=d,s._currentRenderer2!==void 0&&s._currentRenderer2!==null&&s._currentRenderer2!==ln&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),s._currentRenderer2=ln}return Vo=c.parent}function bs(){return Vo}function Yo(s){var c=s._currentValue2;return c}function uc(s){return s._reactInternals}function lf(s,c){s._reactInternals=c}var uu={},oa={},Ko,_s,Da,$,Io,Lo,ri,yr,Sl;{Ko=new Set,_s=new Set,Da=new Set,ri=new Set,$=new Set,yr=new Set,Sl=new Set;var Oa=new Set;Lo=function(s,c){if(!(s===null||typeof s=="function")){var d=c+"_"+s;Oa.has(d)||(Oa.add(d),i("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",c,s))}},Io=function(s,c){if(c===void 0){var d=en(s)||"Component";$.has(d)||($.add(d),i("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",d))}}}function Cl(s,c){{var d=s.constructor,y=d&&en(d)||"ReactClass",L=y+"."+c;if(uu[L])return;i(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
281
+
282
+ Please check the code for the %s component.`,c,c,y),uu[L]=!0}}var io={isMounted:function(s){return!1},enqueueSetState:function(s,c,d){var y=uc(s);y.queue===null?Cl(s,"setState"):(y.queue.push(c),d!=null&&Lo(d,"setState"))},enqueueReplaceState:function(s,c,d){var y=uc(s);y.replace=!0,y.queue=[c],d!=null&&Lo(d,"setState")},enqueueForceUpdate:function(s,c){var d=uc(s);d.queue===null?Cl(s,"forceUpdate"):c!=null&&Lo(c,"setState")}};function fc(s,c,d,y,L){var F=d(L,y);Io(c,F);var U=F==null?y:un({},y,F);return U}function fu(s,c,d){var y=ra,L=s.contextType;if("contextType"in s){var F=L===null||L!==void 0&&L.$$typeof===wo&&L._context===void 0;if(!F&&!Sl.has(s)){Sl.add(s);var U="";L===void 0?U=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof L!="object"?U=" However, it is set to a "+typeof L+".":L.$$typeof===ml?U=" Did you accidentally pass the Context.Provider instead?":L._context!==void 0?U=" Did you accidentally pass the Context.Consumer instead?":U=" However, it is set to an object with keys {"+Object.keys(L).join(", ")+"}.",i("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",en(s)||"Component",U)}}typeof L=="object"&&L!==null?y=Yo(L):y=d;var ie=new s(c,y);{if(typeof s.getDerivedStateFromProps=="function"&&(ie.state===null||ie.state===void 0)){var Ce=en(s)||"Component";Ko.has(Ce)||(Ko.add(Ce),i("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",Ce,ie.state===null?"null":"undefined",Ce))}if(typeof s.getDerivedStateFromProps=="function"||typeof ie.getSnapshotBeforeUpdate=="function"){var Ve=null,it=null,St=null;if(typeof ie.componentWillMount=="function"&&ie.componentWillMount.__suppressDeprecationWarning!==!0?Ve="componentWillMount":typeof ie.UNSAFE_componentWillMount=="function"&&(Ve="UNSAFE_componentWillMount"),typeof ie.componentWillReceiveProps=="function"&&ie.componentWillReceiveProps.__suppressDeprecationWarning!==!0?it="componentWillReceiveProps":typeof ie.UNSAFE_componentWillReceiveProps=="function"&&(it="UNSAFE_componentWillReceiveProps"),typeof ie.componentWillUpdate=="function"&&ie.componentWillUpdate.__suppressDeprecationWarning!==!0?St="componentWillUpdate":typeof ie.UNSAFE_componentWillUpdate=="function"&&(St="UNSAFE_componentWillUpdate"),Ve!==null||it!==null||St!==null){var nr=en(s)||"Component",Dr=typeof s.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Da.has(nr)||(Da.add(nr),i(`Unsafe legacy lifecycles will not be called for components using new component APIs.
283
+
284
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
285
+
286
+ The above lifecycles should be removed. Learn more about this warning here:
287
+ https://reactjs.org/link/unsafe-component-lifecycles`,nr,Dr,Ve!==null?`
288
+ `+Ve:"",it!==null?`
289
+ `+it:"",St!==null?`
290
+ `+St:""))}}}return ie}function du(s,c,d){{var y=en(c)||"Component",L=s.render;L||(c.prototype&&typeof c.prototype.render=="function"?i("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",y):i("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",y)),s.getInitialState&&!s.getInitialState.isReactClassApproved&&!s.state&&i("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",y),s.getDefaultProps&&!s.getDefaultProps.isReactClassApproved&&i("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",y),s.propTypes&&i("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",y),s.contextType&&i("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",y),s.contextTypes&&i("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",y),c.contextType&&c.contextTypes&&!yr.has(c)&&(yr.add(c),i("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",y)),typeof s.componentShouldUpdate=="function"&&i("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",y),c.prototype&&c.prototype.isPureReactComponent&&typeof s.shouldComponentUpdate<"u"&&i("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",en(c)||"A pure component"),typeof s.componentDidUnmount=="function"&&i("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",y),typeof s.componentDidReceiveProps=="function"&&i("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",y),typeof s.componentWillRecieveProps=="function"&&i("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",y),typeof s.UNSAFE_componentWillRecieveProps=="function"&&i("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",y);var F=s.props!==d;s.props!==void 0&&F&&i("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",y,y),s.defaultProps&&i("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",y,y),typeof s.getSnapshotBeforeUpdate=="function"&&typeof s.componentDidUpdate!="function"&&!_s.has(c)&&(_s.add(c),i("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",en(c))),typeof s.getDerivedStateFromProps=="function"&&i("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",y),typeof s.getDerivedStateFromError=="function"&&i("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",y),typeof c.getSnapshotBeforeUpdate=="function"&&i("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",y);var U=s.state;U&&(typeof U!="object"||Pe(U))&&i("%s.state: must be set to an object or null",y),typeof s.getChildContext=="function"&&typeof c.childContextTypes!="object"&&i("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",y)}}function hu(s,c){var d=c.state;if(typeof c.componentWillMount=="function"){if(c.componentWillMount.__suppressDeprecationWarning!==!0){var y=en(s)||"Unknown";oa[y]||(n(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
291
+
292
+ * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
293
+
294
+ Please update the following components: %s`,y),oa[y]=!0)}c.componentWillMount()}typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),d!==c.state&&(i("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",en(s)||"Component"),io.enqueueReplaceState(c,c.state,null))}function cf(s,c,d,y){if(s.queue!==null&&s.queue.length>0){var L=s.queue,F=s.replace;if(s.queue=null,s.replace=!1,F&&L.length===1)c.state=L[0];else{for(var U=F?L[0]:c.state,ie=!0,Ce=F?1:0;Ce<L.length;Ce++){var Ve=L[Ce],it=typeof Ve=="function"?Ve.call(c,U,d,y):Ve;it!=null&&(ie?(ie=!1,U=un({},U,it)):un(U,it))}c.state=U}}else s.queue=null}function oo(s,c,d,y){du(s,c,d);var L=s.state!==void 0?s.state:null;s.updater=io,s.props=d,s.state=L;var F={queue:[],replace:!1};lf(s,F);var U=c.contextType;if(typeof U=="object"&&U!==null?s.context=Yo(U):s.context=y,s.state===d){var ie=en(c)||"Component";ri.has(ie)||(ri.add(ie),i("%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.",ie))}var Ce=c.getDerivedStateFromProps;typeof Ce=="function"&&(s.state=fc(s,c,Ce,L,d)),typeof c.getDerivedStateFromProps!="function"&&typeof s.getSnapshotBeforeUpdate!="function"&&(typeof s.UNSAFE_componentWillMount=="function"||typeof s.componentWillMount=="function")&&(hu(c,s),cf(F,s,d,y))}var uf={id:1,overflow:""};function ff(s){var c=s.overflow,d=s.id,y=d&~df(d);return y.toString(32)+c}function dc(s,c,d){var y=s.id,L=s.overflow,F=Pa(y)-1,U=y&~(1<<F),ie=d+1,Ce=Pa(c)+F;if(Ce>30){var Ve=F-F%5,it=(1<<Ve)-1,St=(U&it).toString(32),nr=U>>Ve,Dr=F-Ve,$n=Pa(c)+Dr,ns=ie<<Dr,uo=ns|nr,fo=St+L;return{id:1<<$n|uo,overflow:fo}}else{var is=ie<<F,_f=is|U,ld=L;return{id:1<<Ce|_f,overflow:ld}}}function Pa(s){return 32-Mo(s)}function df(s){return 1<<Pa(s)-1}var Mo=Math.clz32?Math.clz32:hf,hc=Math.log,wl=Math.LN2;function hf(s){var c=s>>>0;return c===0?32:31-(hc(c)/wl|0)|0}function pf(s,c){return s===c&&(s!==0||1/s===1/c)||s!==s&&c!==c}var gf=typeof Object.is=="function"?Object.is:pf,ci=null,pc=null,Al=null,Er=null,Ei=!1,sa=!1,xs=0,Nr=null,Xo=0,Na=25,gi=!1,ki;function so(){if(ci===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:
295
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
296
+ 2. You might be breaking the Rules of Hooks
297
+ 3. You might have more than one copy of React in the same app
298
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return gi&&i("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"),ci}function gc(s,c){if(c===null)return i("%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.",ki),!1;s.length!==c.length&&i(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
299
+
300
+ Previous: %s
301
+ Incoming: %s`,ki,"["+s.join(", ")+"]","["+c.join(", ")+"]");for(var d=0;d<c.length&&d<s.length;d++)if(!gf(s[d],c[d]))return!1;return!0}function ui(){if(Xo>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Wi(){return Er===null?Al===null?(Ei=!1,Al=Er=ui()):(Ei=!0,Er=Al):Er.next===null?(Ei=!1,Er=Er.next=ui()):(Ei=!0,Er=Er.next),Er}function Ss(s,c){ci=c,pc=s,gi=!1,xs=0}function pu(s,c,d,y){for(;sa;)sa=!1,xs=0,Xo+=1,Er=null,d=s(c,y);return Ri(),d}function mc(){var s=xs!==0;return s}function Ri(){gi=!1,ci=null,pc=null,sa=!1,Al=null,Xo=0,Nr=null,Er=null}function vc(s){return gi&&i("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Yo(s)}function Cs(s){return ki="useContext",so(),Yo(s)}function fi(s,c){return typeof c=="function"?c(s):c}function yc(s){return ki="useState",bc(fi,s)}function bc(s,c,d){if(s!==fi&&(ki="useReducer"),ci=so(),Er=Wi(),Ei){var y=Er.queue,L=y.dispatch;if(Nr!==null){var F=Nr.get(y);if(F!==void 0){Nr.delete(y);var U=Er.memoizedState,ie=F;do{var Ce=ie.action;gi=!0,U=s(U,Ce),gi=!1,ie=ie.next}while(ie!==null);return Er.memoizedState=U,[U,L]}}return[Er.memoizedState,L]}else{gi=!0;var Ve;s===fi?Ve=typeof c=="function"?c():c:Ve=d!==void 0?d(c):c,gi=!1,Er.memoizedState=Ve;var it=Er.queue={last:null,dispatch:null},St=it.dispatch=xc.bind(null,ci,it);return[Er.memoizedState,St]}}function _c(s,c){ci=so(),Er=Wi();var d=c===void 0?null:c;if(Er!==null){var y=Er.memoizedState;if(y!==null&&d!==null){var L=y[1];if(gc(d,L))return y[0]}}gi=!0;var F=s();return gi=!1,Er.memoizedState=[F,d],F}function ws(s){ci=so(),Er=Wi();var c=Er.memoizedState;if(c===null){var d={current:s};return Object.seal(d),Er.memoizedState=d,d}else return c}function Jo(s,c){ki="useLayoutEffect",i("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function xc(s,c,d){if(Xo>=Na)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(s===ci){sa=!0;var y={action:d,next:null};Nr===null&&(Nr=new Map);var L=Nr.get(c);if(L===void 0)Nr.set(c,y);else{for(var F=L;F.next!==null;)F=F.next;F.next=y}}}function gu(s,c){return _c(function(){return s},c)}function Tl(s,c,d){return so(),c(s._source)}function mf(s,c,d){if(d===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return d()}function mu(s){return so(),s}function zn(){throw new Error("startTransition cannot be called during server rendering.")}function Sc(){return so(),[!1,zn]}function vu(){var s=pc,c=ff(s.treeContext),d=aa;if(d===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var y=xs++;return Kr(d,c,y)}function Ii(){}var El={readContext:vc,useContext:Cs,useMemo:_c,useReducer:bc,useRef:ws,useState:yc,useInsertionEffect:Ii,useLayoutEffect:Jo,useCallback:gu,useImperativeHandle:Ii,useEffect:Ii,useDebugValue:Ii,useDeferredValue:mu,useTransition:Sc,useId:vu,useMutableSource:Tl,useSyncExternalStore:mf},aa=null;function Qo(s){aa=s}function ja(s){try{var c="",d=s;do{switch(d.tag){case 0:c+=Qs(d.type,null,null);break;case 1:c+=Wo(d.type,null,null);break;case 2:c+=ko(d.type,null,null);break}d=d.parent}while(d);return c}catch(y){return`
302
+ Error generating stack: `+y.message+`
303
+ `+y.stack}}var On=t.ReactCurrentDispatcher,As=t.ReactDebugCurrentFrame,kl=0,la=1,Rl=2,ca=3,Il=4,ao=0,Ll=1,Ts=2,yu=12800;function Fa(s){return console.error(s),null}function ua(){}function fa(s,c,d,y,L,F,U,ie,Ce){var Ve=[],it=new Set,St={destination:null,responseState:c,progressiveChunkSize:y===void 0?yu:y,status:ao,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:it,pingedTasks:Ve,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:L===void 0?Fa:L,onAllReady:ua,onShellReady:U===void 0?ua:U,onShellError:ua,onFatalError:ua},nr=Ml(St,0,null,d,!1,!1);nr.parentFlushed=!0;var Dr=Es(St,s,null,nr,it,ra,In,uf);return Ve.push(Dr),St}function Cc(s,c){var d=s.pingedTasks;d.push(c),d.length===1&&u(function(){return co(s)})}function bu(s,c){return{id:Sn,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:c,errorDigest:null}}function Es(s,c,d,y,L,F,U,ie){s.allPendingTasks++,d===null?s.pendingRootTasks++:d.pendingTasks++;var Ce={node:c,ping:function(){return Cc(s,Ce)},blockedBoundary:d,blockedSegment:y,abortSet:L,legacyContext:F,context:U,treeContext:ie};return Ce.componentStack=null,L.add(Ce),Ce}function Ml(s,c,d,y,L,F){return{status:kl,id:-1,index:c,parentFlushed:!1,chunks:[],children:[],formatContext:y,boundary:d,lastPushedText:L,textEmbedded:F}}var Do=null;function Dl(){return Do===null||Do.componentStack===null?"":ja(Do.componentStack)}function Oo(s,c){s.componentStack={tag:0,parent:s.componentStack,type:c}}function Ba(s,c){s.componentStack={tag:1,parent:s.componentStack,type:c}}function Vi(s,c){s.componentStack={tag:2,parent:s.componentStack,type:c}}function Gi(s){s.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):s.componentStack=s.componentStack.parent}var lo=null;function Ha(s,c){{var d;typeof c=="string"?d=c:c&&typeof c.message=="string"?d=c.message:d=String(c);var y=lo||Dl();lo=null,s.errorMessage=d,s.errorComponentStack=y}}function es(s,c){var d=s.onError(c);if(d!=null&&typeof d!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d}function Zi(s,c){var d=s.onShellError;d(c);var y=s.onFatalError;y(c),s.destination!==null?(s.status=Ts,S(s.destination,c)):(s.status=Ll,s.fatalError=c)}function da(s,c,d){Oo(c,"Suspense");var y=c.blockedBoundary,L=c.blockedSegment,F=d.fallback,U=d.children,ie=new Set,Ce=bu(s,ie),Ve=L.chunks.length,it=Ml(s,Ve,Ce,L.formatContext,!1,!1);L.children.push(it),L.lastPushedText=!1;var St=Ml(s,0,null,L.formatContext,!1,!1);St.parentFlushed=!0,c.blockedBoundary=Ce,c.blockedSegment=St;try{if(ni(s,c,U),Ea(St.chunks,s.responseState,St.lastPushedText,St.textEmbedded),St.status=la,ts(Ce,St),Ce.pendingTasks===0){Gi(c);return}}catch(Dr){St.status=Il,Ce.forceClientRender=!0,Ce.errorDigest=es(s,Dr),Ha(Ce,Dr)}finally{c.blockedBoundary=y,c.blockedSegment=L}var nr=Es(s,F,y,it,ie,c.legacyContext,c.context,c.treeContext);nr.componentStack=c.componentStack,s.pingedTasks.push(nr),Gi(c)}function Ol(s,c,d,y){Oo(c,d);var L=c.blockedSegment,F=Qn(L.chunks,d,y,s.responseState,L.formatContext);L.lastPushedText=!1;var U=L.formatContext;L.formatContext=Gn(U,d,y),ni(s,c,F),L.formatContext=U,Or(L.chunks,d),L.lastPushedText=!1,Gi(c)}function qa(s){return s.prototype&&s.prototype.isReactComponent}function ha(s,c,d,y,L){var F={};Ss(c,F);var U=d(y,L);return pu(d,y,U,L)}function _u(s,c,d,y,L){var F=d.render();d.props!==L&&(mr||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",en(y)||"a component"),mr=!0);{var U=y.childContextTypes;if(U!=null){var ie=c.legacyContext,Ce=cu(d,y,ie,U);c.legacyContext=Ce,An(s,c,F),c.legacyContext=ie;return}}An(s,c,F)}function wc(s,c,d,y){Vi(c,d);var L=La(d,c.legacyContext),F=fu(d,y,L);oo(F,d,y,L),_u(s,c,F,d,y),Gi(c)}var Ac={},ks={},Tc={},Pl={},mr=!1,za=!1,Ec=!1,Rs=!1;function kc(s,c,d,y){var L;if(L=La(d,c.legacyContext),Ba(c,d),d.prototype&&typeof d.prototype.render=="function"){var F=en(d)||"Unknown";Ac[F]||(i("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",F,F),Ac[F]=!0)}var U=ha(s,c,d,y,L),ie=mc();if(typeof U=="object"&&U!==null&&typeof U.render=="function"&&U.$$typeof===void 0){var Ce=en(d)||"Unknown";ks[Ce]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Ce,Ce,Ce),ks[Ce]=!0)}if(typeof U=="object"&&U!==null&&typeof U.render=="function"&&U.$$typeof===void 0){{var Ve=en(d)||"Unknown";ks[Ve]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Ve,Ve,Ve),ks[Ve]=!0)}oo(U,d,y,L),_u(s,c,U,d,y)}else if(xu(d),ie){var it=c.treeContext,St=1,nr=0;c.treeContext=dc(it,St,nr);try{An(s,c,U)}finally{c.treeContext=it}}else An(s,c,U);Gi(c)}function xu(s){{if(s&&s.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",s.displayName||s.name||"Component"),typeof s.getDerivedStateFromProps=="function"){var c=en(s)||"Unknown";Pl[c]||(i("%s: Function components do not support getDerivedStateFromProps.",c),Pl[c]=!0)}if(typeof s.contextType=="object"&&s.contextType!==null){var d=en(s)||"Unknown";Tc[d]||(i("%s: Function components do not support contextType.",d),Tc[d]=!0)}}}function Rc(s,c){if(s&&s.defaultProps){var d=un({},c),y=s.defaultProps;for(var L in y)d[L]===void 0&&(d[L]=y[L]);return d}return c}function Li(s,c,d,y,L){Ba(c,d.render);var F=ha(s,c,d.render,y,L),U=mc();if(U){var ie=c.treeContext,Ce=1,Ve=0;c.treeContext=dc(ie,Ce,Ve);try{An(s,c,F)}finally{c.treeContext=ie}}else An(s,c,F);Gi(c)}function vf(s,c,d,y,L){var F=d.type,U=Rc(F,y);Fl(s,c,F,U,L)}function Nl(s,c,d,y){d._context===void 0?d!==d.Consumer&&(Rs||(Rs=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):d=d._context;var L=y.children;typeof L!="function"&&i("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var F=Yo(d),U=L(F);An(s,c,U)}function jl(s,c,d,y){var L=d._context,F=y.value,U=y.children,ie;ie=c.context,c.context=ia(L,F),An(s,c,U),c.context=Ma(L),ie!==c.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Su(s,c,d,y,L){Oo(c,"Lazy");var F=d._payload,U=d._init,ie=U(F),Ce=Rc(ie,y);Fl(s,c,ie,Ce,L),Gi(c)}function Fl(s,c,d,y,L){if(typeof d=="function")if(qa(d)){wc(s,c,d,y);return}else{kc(s,c,d,y);return}if(typeof d=="string"){Ol(s,c,d,y);return}switch(d){case Ur:case bn:case Ti:case su:case gl:{An(s,c,y.children);return}case De:{Oo(c,"SuspenseList"),An(s,c,y.children),Gi(c);return}case Pr:throw new Error("ReactDOMServer does not yet support scope components.");case ze:{da(s,c,y);return}}if(typeof d=="object"&&d!==null)switch(d.$$typeof){case pe:{Li(s,c,d,y,L);return}case Ot:{vf(s,c,d,y,L);return}case ml:{jl(s,c,d,y);return}case wo:{Nl(s,c,d,y);return}case ir:{Su(s,c,d,y);return}}var F="";throw(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(F+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(d==null?d:typeof d)+"."+F))}function Mi(s,c){typeof Symbol=="function"&&s[Symbol.toStringTag]==="Generator"&&(za||i("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),za=!0),s.entries===c&&(Ec||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ec=!0)}function An(s,c,d){try{return Ic(s,c,d)}catch(y){throw typeof y=="object"&&y!==null&&typeof y.then=="function"||(lo=lo!==null?lo:Dl()),y}}function Ic(s,c,d){if(c.node=d,typeof d=="object"&&d!==null){switch(d.$$typeof){case iu:{var y=d,L=y.type,F=y.props,U=y.ref;Fl(s,c,L,F,U);return}case ou: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 ie=d,Ce=ie._payload,Ve=ie._init,it;try{it=Ve(Ce)}catch(is){throw typeof is=="object"&&is!==null&&typeof is.then=="function"&&Oo(c,"Lazy"),is}An(s,c,it);return}}if(Pe(d)){$a(s,c,d);return}var St=vl(d);if(St){Mi(d,St);var nr=St.call(d);if(nr){var Dr=nr.next();if(!Dr.done){var $n=[];do $n.push(Dr.value),Dr=nr.next();while(!Dr.done);$a(s,c,$n);return}return}}var ns=Object.prototype.toString.call(d);throw new Error("Objects are not valid as a React child (found: "+(ns==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":ns)+"). If you meant to render a collection of children, use an array instead.")}if(typeof d=="string"){var uo=c.blockedSegment;uo.lastPushedText=Co(c.blockedSegment.chunks,d,s.responseState,uo.lastPushedText);return}if(typeof d=="number"){var fo=c.blockedSegment;fo.lastPushedText=Co(c.blockedSegment.chunks,""+d,s.responseState,fo.lastPushedText);return}typeof d=="function"&&i("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function $a(s,c,d){for(var y=d.length,L=0;L<y;L++){var F=c.treeContext;c.treeContext=dc(F,y,L);try{ni(s,c,d[L])}finally{c.treeContext=F}}}function Bl(s,c,d){var y=c.blockedSegment,L=y.chunks.length,F=Ml(s,L,null,y.formatContext,y.lastPushedText,!0);y.children.push(F),y.lastPushedText=!1;var U=Es(s,c.node,c.blockedBoundary,F,c.abortSet,c.legacyContext,c.context,c.treeContext);c.componentStack!==null&&(U.componentStack=c.componentStack.parent);var ie=U.ping;d.then(ie,ie)}function ni(s,c,d){var y=c.blockedSegment.formatContext,L=c.legacyContext,F=c.context,U=null;U=c.componentStack;try{return An(s,c,d)}catch(ie){if(Ri(),typeof ie=="object"&&ie!==null&&typeof ie.then=="function"){Bl(s,c,ie),c.blockedSegment.formatContext=y,c.legacyContext=L,c.context=F,Ro(F),c.componentStack=U;return}else throw c.blockedSegment.formatContext=y,c.legacyContext=L,c.context=F,Ro(F),c.componentStack=U,ie}}function Lc(s,c,d,y){var L=es(s,y);if(c===null?Zi(s,y):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=L,Ha(c,y),c.parentFlushed&&s.clientRenderedBoundaries.push(c))),s.allPendingTasks--,s.allPendingTasks===0){var F=s.onAllReady;F()}}function Mc(s){var c=this,d=s.blockedBoundary,y=s.blockedSegment;y.status=ca,Po(c,d,y)}function Hl(s,c,d){var y=s.blockedBoundary,L=s.blockedSegment;if(L.status=ca,y===null)c.allPendingTasks--,c.status!==Ts&&(c.status=Ts,c.destination!==null&&T(c.destination));else{if(y.pendingTasks--,!y.forceClientRender){y.forceClientRender=!0;var F=d===void 0?new Error("The render was aborted by the server without a reason."):d;y.errorDigest=c.onError(F);{var U="The server did not finish this Suspense boundary: ";F&&typeof F.message=="string"?F=U+F.message:F=U+String(F);var ie=Do;Do=s;try{Ha(y,F)}finally{Do=ie}}y.parentFlushed&&c.clientRenderedBoundaries.push(y)}if(y.fallbackAbortableTasks.forEach(function(Ve){return Hl(Ve,c,d)}),y.fallbackAbortableTasks.clear(),c.allPendingTasks--,c.allPendingTasks===0){var Ce=c.onAllReady;Ce()}}}function ts(s,c){if(c.chunks.length===0&&c.children.length===1&&c.children[0].boundary===null){var d=c.children[0];d.id=c.id,d.parentFlushed=!0,d.status===la&&ts(s,d)}else{var y=s.completedSegments;y.push(c)}}function Po(s,c,d){if(c===null){if(d.parentFlushed){if(s.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");s.completedRootSegment=d}if(s.pendingRootTasks--,s.pendingRootTasks===0){s.onShellError=ua;var y=s.onShellReady;y()}}else if(c.pendingTasks--,!c.forceClientRender){if(c.pendingTasks===0)d.parentFlushed&&d.status===la&&ts(c,d),c.parentFlushed&&s.completedBoundaries.push(c),c.fallbackAbortableTasks.forEach(Mc,s),c.fallbackAbortableTasks.clear();else if(d.parentFlushed&&d.status===la){ts(c,d);var L=c.completedSegments;L.length===1&&c.parentFlushed&&s.partialBoundaries.push(c)}}if(s.allPendingTasks--,s.allPendingTasks===0){var F=s.onAllReady;F()}}function yf(s,c){var d=c.blockedSegment;if(d.status===kl){Ro(c.context);var y=null;y=Do,Do=c;try{An(s,c,c.node),Ea(d.chunks,s.responseState,d.lastPushedText,d.textEmbedded),c.abortSet.delete(c),d.status=la,Po(s,c.blockedBoundary,d)}catch(F){if(Ri(),typeof F=="object"&&F!==null&&typeof F.then=="function"){var L=c.ping;F.then(L,L)}else c.abortSet.delete(c),d.status=Il,Lc(s,c.blockedBoundary,d,F)}finally{Do=y}}}function co(s){if(s.status!==Ts){var c=bs(),d=On.current;On.current=El;var y;y=As.getCurrentStack,As.getCurrentStack=Dl;var L=aa;Qo(s.responseState);try{var F=s.pingedTasks,U;for(U=0;U<F.length;U++){var ie=F[U];yf(s,ie)}F.splice(0,U),s.destination!==null&&Wa(s,s.destination)}catch(Ce){es(s,Ce),Zi(s,Ce)}finally{Qo(L),On.current=d,As.getCurrentStack=y,d===El&&Ro(c)}}}function rs(s,c,d){switch(d.parentFlushed=!0,d.status){case kl:{var y=d.id=s.nextSegmentId++;return d.lastPushedText=!1,d.textEmbedded=!1,V(c,s.responseState,y)}case la:{d.status=Rl;for(var L=!0,F=d.chunks,U=0,ie=d.children,Ce=0;Ce<ie.length;Ce++){for(var Ve=ie[Ce];U<Ve.index;U++)g(c,F[U]);L=pa(s,c,Ve)}for(;U<F.length-1;U++)g(c,F[U]);return U<F.length&&(L=m(c,F[U])),L}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function pa(s,c,d){var y=d.boundary;if(y===null)return rs(s,c,d);if(y.parentFlushed=!0,y.forceClientRender)return nf(c,s.responseState,y.errorDigest,y.errorMessage,y.errorComponentStack),rs(s,c,d),Ks(c,s.responseState);if(y.pendingTasks>0){y.rootSegmentID=s.nextSegmentId++,y.completedSegments.length>0&&s.partialBoundaries.push(y);var L=y.id=Mn(s.responseState);return Qr(c,s.responseState,L),rs(s,c,d),Bn(c,s.responseState)}else{if(y.byteSize>s.progressiveChunkSize)return y.rootSegmentID=s.nextSegmentId++,s.completedBoundaries.push(y),Qr(c,s.responseState,y.id),rs(s,c,d),Bn(c,s.responseState);rf(c,s.responseState);var F=y.completedSegments;if(F.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var U=F[0];return pa(s,c,U),of(c,s.responseState)}}function Dc(s,c,d){return Ys(c,s.responseState,d.id,d.errorDigest,d.errorMessage,d.errorComponentStack)}function Oc(s,c,d){return Gs(c,s.responseState,d.formatContext,d.id),pa(s,c,d),Ta(c,d.formatContext)}function Ua(s,c,d){for(var y=d.completedSegments,L=0;L<y.length;L++){var F=y[L];Pc(s,c,d,F)}return y.length=0,ti(c,s.responseState,d.id,d.rootSegmentID)}function ql(s,c,d){for(var y=d.completedSegments,L=0;L<y.length;L++){var F=y[L];if(!Pc(s,c,d,F))return L++,y.splice(0,L),!1}return y.splice(0,L),!0}function Pc(s,c,d,y){if(y.status===Rl)return!0;var L=y.id;if(L===-1){var F=y.id=d.rootSegmentID;if(F===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Oc(s,c,y)}else return Oc(s,c,y),pt(c,s.responseState,L)}function Wa(s,c){try{var d=s.completedRootSegment;d!==null&&s.pendingRootTasks===0&&(pa(s,c,d),s.completedRootSegment=null,Sr(c,s.responseState));var y=s.clientRenderedBoundaries,L;for(L=0;L<y.length;L++){var F=y[L];if(!Dc(s,c,F)){s.destination=null,L++,y.splice(0,L);return}}y.splice(0,L);var U=s.completedBoundaries;for(L=0;L<U.length;L++){var ie=U[L];if(!Ua(s,c,ie)){s.destination=null,L++,U.splice(0,L);return}}U.splice(0,L);var Ce=s.partialBoundaries;for(L=0;L<Ce.length;L++){var Ve=Ce[L];if(!ql(s,c,Ve)){s.destination=null,L++,Ce.splice(0,L);return}}Ce.splice(0,L);var it=s.completedBoundaries;for(L=0;L<it.length;L++){var St=it[L];if(!Ua(s,c,St)){s.destination=null,L++,it.splice(0,L);return}}it.splice(0,L)}finally{s.allPendingTasks===0&&s.pingedTasks.length===0&&s.clientRenderedBoundaries.length===0&&s.completedBoundaries.length===0&&(s.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),T(c))}}function Cu(s){u(function(){return co(s)})}function wu(s,c){if(s.status===Ll){s.status=Ts,S(c,s.fatalError);return}if(s.status!==Ts&&s.destination===null){s.destination=c;try{Wa(s,c)}catch(d){es(s,d),Zi(s,d)}}}function Nc(s,c){try{var d=s.abortableTasks;d.forEach(function(y){return Hl(y,s,c)}),d.clear(),s.destination!==null&&Wa(s,s.destination)}catch(y){es(s,y),Zi(s,y)}}function ii(){}function Yi(s,c,d,y){var L=!1,F=null,U="",ie={push:function(St){return St!==null&&(U+=St),!0},destroy:function(St){L=!0,F=St}},Ce=!1;function Ve(){Ce=!0}var it=fa(s,ic(d,c?c.identifierPrefix:void 0),nu(),1/0,ii,void 0,Ve);if(Cu(it),Nc(it,y),wu(it,ie),L)throw F;if(!Ce)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return U}function bf(s,c){return Yi(s,c,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function Au(s,c){return Yi(s,c,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function zl(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function f(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}$c.renderToNodeStream=zl,$c.renderToStaticMarkup=Au,$c.renderToStaticNodeStream=f,$c.renderToString=bf,$c.version=e}()),$c}var Bd={};/**
304
+ * @license React
305
+ * react-dom-server.browser.development.js
306
+ *
307
+ * Copyright (c) Facebook, Inc. and its affiliates.
308
+ *
309
+ * This source code is licensed under the MIT license found in the
310
+ * LICENSE file in the root directory of this source tree.
311
+ */var ly;function tO(){return ly||(ly=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(f){{for(var s=arguments.length,c=new Array(s>1?s-1:0),d=1;d<s;d++)c[d-1]=arguments[d];l("warn",f,c)}}function i(f){{for(var s=arguments.length,c=new Array(s>1?s-1:0),d=1;d<s;d++)c[d-1]=arguments[d];l("error",f,c)}}function l(f,s,c){{var d=t.ReactDebugCurrentFrame,y=d.getStackAddendum();y!==""&&(s+="%s",c=c.concat([y]));var L=c.map(function(F){return String(F)});L.unshift("Warning: "+s),Function.prototype.apply.call(console[f],console,L)}}function u(f){f()}var h=512,g=null,m=0;function M(f){g=new Uint8Array(h),m=0}function T(f,s){if(s.length!==0){if(s.length>h){m>0&&(f.enqueue(new Uint8Array(g.buffer,0,m)),g=new Uint8Array(h),m=0),f.enqueue(s);return}var c=s,d=g.length-m;d<c.length&&(d===0?f.enqueue(g):(g.set(c.subarray(0,d),m),f.enqueue(g),c=c.subarray(d)),g=new Uint8Array(h),m=0),g.set(c,m),m+=c.length}}function C(f,s){return T(f,s),!0}function _(f){g&&m>0&&(f.enqueue(new Uint8Array(g.buffer,0,m)),g=null,m=0)}function S(f){f.close()}var D=new TextEncoder;function A(f){return D.encode(f)}function b(f){return D.encode(f)}function R(f,s){typeof f.error=="function"?f.error(s):f.close()}function O(f){{var s=typeof Symbol=="function"&&Symbol.toStringTag,c=s&&f[Symbol.toStringTag]||f.constructor.name||"Object";return c}}function q(f){try{return H(f),!1}catch{return!0}}function H(f){return""+f}function G(f,s){if(q(f))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",s,O(f)),H(f)}function Y(f,s){if(q(f))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",s,O(f)),H(f)}function de(f){if(q(f))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",O(f)),H(f)}var X=Object.prototype.hasOwnProperty,ue=0,P=1,re=2,J=3,ne=4,oe=5,ce=6,ve=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ae=ve+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ge=new RegExp("^["+ve+"]["+ae+"]*$"),he={},Se={};function Oe(f){return X.call(Se,f)?!0:X.call(he,f)?!1:ge.test(f)?(Se[f]=!0,!0):(he[f]=!0,i("Invalid attribute name: `%s`",f),!1)}function Be(f,s,c,d){if(c!==null&&c.type===ue)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":{if(c!==null)return!c.acceptsBooleans;var y=f.toLowerCase().slice(0,5);return y!=="data-"&&y!=="aria-"}default:return!1}}function Ke(f){return lt.hasOwnProperty(f)?lt[f]:null}function Te(f,s,c,d,y,L,F){this.acceptsBooleans=s===re||s===J||s===ne,this.attributeName=d,this.attributeNamespace=y,this.mustUseProperty=c,this.propertyName=f,this.type=s,this.sanitizeURL=L,this.removeEmptyString=F}var lt={},gt=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];gt.forEach(function(f){lt[f]=new Te(f,ue,!1,f,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(f){var s=f[0],c=f[1];lt[s]=new Te(s,P,!1,c,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(f){lt[f]=new Te(f,re,!1,f.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(f){lt[f]=new Te(f,re,!1,f,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(f){lt[f]=new Te(f,J,!1,f.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(f){lt[f]=new Te(f,J,!0,f,null,!1,!1)}),["capture","download"].forEach(function(f){lt[f]=new Te(f,ne,!1,f,null,!1,!1)}),["cols","rows","size","span"].forEach(function(f){lt[f]=new Te(f,ce,!1,f,null,!1,!1)}),["rowSpan","start"].forEach(function(f){lt[f]=new Te(f,oe,!1,f.toLowerCase(),null,!1,!1)});var Xe=/[\-\:]([a-z])/g,Ge=function(f){return f[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(f){var s=f.replace(Xe,Ge);lt[s]=new Te(s,P,!1,f,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(f){var s=f.replace(Xe,Ge);lt[s]=new Te(s,P,!1,f,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(f){var s=f.replace(Xe,Ge);lt[s]=new Te(s,P,!1,f,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(f){lt[f]=new Te(f,P,!1,f.toLowerCase(),null,!1,!1)});var Le="xlinkHref";lt[Le]=new Te("xlinkHref",P,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(f){lt[f]=new Te(f,P,!1,f.toLowerCase(),null,!0,!0)});var Re={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function ke(f,s){return f+s.charAt(0).toUpperCase()+s.substring(1)}var He=["Webkit","ms","Moz","O"];Object.keys(Re).forEach(function(f){He.forEach(function(s){Re[ke(s,f)]=Re[f]})});var Ie={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function rt(f,s){Ie[s.type]||s.onChange||s.onInput||s.readOnly||s.disabled||s.value==null||i("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),s.onChange||s.readOnly||s.disabled||s.checked==null||i("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function ft(f,s){if(f.indexOf("-")===-1)return typeof s.is=="string";switch(f){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var kt={"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},wt={},bt=new RegExp("^(aria)-["+ae+"]*$"),Mt=new RegExp("^(aria)[A-Z]["+ae+"]*$");function Rt(f,s){{if(X.call(wt,s)&&wt[s])return!0;if(Mt.test(s)){var c="aria-"+s.slice(4).toLowerCase(),d=kt.hasOwnProperty(c)?c:null;if(d==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",s),wt[s]=!0,!0;if(s!==d)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",s,d),wt[s]=!0,!0}if(bt.test(s)){var y=s.toLowerCase(),L=kt.hasOwnProperty(y)?y:null;if(L==null)return wt[s]=!0,!1;if(s!==L)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",s,L),wt[s]=!0,!0}}return!0}function dt(f,s){{var c=[];for(var d in s){var y=Rt(f,d);y||c.push(d)}var L=c.map(function(F){return"`"+F+"`"}).join(", ");c.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",L,f):c.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",L,f)}}function ct(f,s){ft(f,s)||dt(f,s)}var Ct=!1;function Me(f,s){{if(f!=="input"&&f!=="textarea"&&f!=="select")return;s!=null&&s.value===null&&!Ct&&(Ct=!0,f==="select"&&s.multiple?i("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",f):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",f))}}var mt={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 Dt={},Bt=/^on./,$e=/^on[^A-Z]/,Tt=new RegExp("^(aria)-["+ae+"]*$"),jt=new RegExp("^(aria)[A-Z]["+ae+"]*$");_t=function(f,s,c,d){if(X.call(Dt,s)&&Dt[s])return!0;var y=s.toLowerCase();if(y==="onfocusin"||y==="onfocusout")return i("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Dt[s]=!0,!0;if(d!=null){var L=d.registrationNameDependencies,F=d.possibleRegistrationNames;if(L.hasOwnProperty(s))return!0;var U=F.hasOwnProperty(y)?F[y]:null;if(U!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",s,U),Dt[s]=!0,!0;if(Bt.test(s))return i("Unknown event handler property `%s`. It will be ignored.",s),Dt[s]=!0,!0}else if(Bt.test(s))return $e.test(s)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",s),Dt[s]=!0,!0;if(Tt.test(s)||jt.test(s))return!0;if(y==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Dt[s]=!0,!0;if(y==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Dt[s]=!0,!0;if(y==="is"&&c!==null&&c!==void 0&&typeof c!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof c),Dt[s]=!0,!0;if(typeof c=="number"&&isNaN(c))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",s),Dt[s]=!0,!0;var ie=Ke(s),Ce=ie!==null&&ie.type===ue;if(mt.hasOwnProperty(y)){var Ve=mt[y];if(Ve!==s)return i("Invalid DOM property `%s`. Did you mean `%s`?",s,Ve),Dt[s]=!0,!0}else if(!Ce&&s!==y)return i("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",s,y),Dt[s]=!0,!0;return typeof c=="boolean"&&Be(s,c,ie)?(c?i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',c,s,s,c,s):i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',c,s,s,c,s,s,s),Dt[s]=!0,!0):Ce?!0:Be(s,c,ie)?(Dt[s]=!0,!1):((c==="false"||c==="true")&&ie!==null&&ie.type===J&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",c,s,c==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',s,c),Dt[s]=!0),!0)}}var pr=function(f,s,c){{var d=[];for(var y in s){var L=_t(f,y,s[y],c);L||d.push(y)}var F=d.map(function(U){return"`"+U+"`"}).join(", ");d.length===1?i("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",F,f):d.length>1&&i("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",F,f)}};function or(f,s,c){ft(f,s)||pr(f,s,c)}var Lr=function(){};{var me=/^(?:webkit|moz|o)[A-Z]/,te=/^-ms-/,ye=/-(.)/g,xe=/;\s*$/,vt={},et={},ot=!1,Et=!1,At=function(f){return f.replace(ye,function(s,c){return c.toUpperCase()})},Jt=function(f){vt.hasOwnProperty(f)&&vt[f]||(vt[f]=!0,i("Unsupported style property %s. Did you mean %s?",f,At(f.replace(te,"ms-"))))},Ht=function(f){vt.hasOwnProperty(f)&&vt[f]||(vt[f]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",f,f.charAt(0).toUpperCase()+f.slice(1)))},Ut=function(f,s){et.hasOwnProperty(s)&&et[s]||(et[s]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,f,s.replace(xe,"")))},qt=function(f,s){ot||(ot=!0,i("`NaN` is an invalid value for the `%s` css style property.",f))},tr=function(f,s){Et||(Et=!0,i("`Infinity` is an invalid value for the `%s` css style property.",f))};Lr=function(f,s){f.indexOf("-")>-1?Jt(f):me.test(f)?Ht(f):xe.test(s)&&Ut(f,s),typeof s=="number"&&(isNaN(s)?qt(f,s):isFinite(s)||tr(f,s))}}var Ar=Lr,Je=/["'&<>]/;function Qe(f){de(f);var s=""+f,c=Je.exec(s);if(!c)return s;var d,y="",L,F=0;for(L=c.index;L<s.length;L++){switch(s.charCodeAt(L)){case 34:d="&quot;";break;case 38:d="&amp;";break;case 39:d="&#x27;";break;case 60:d="&lt;";break;case 62:d="&gt;";break;default:continue}F!==L&&(y+=s.substring(F,L)),F=L+1,y+=d}return F!==L?y+s.substring(F,L):y}function ht(f){return typeof f=="boolean"||typeof f=="number"?""+f:Qe(f)}var Ne=/([A-Z])/g,xt=/^ms-/;function K(f){return f.replace(Ne,"-$1").toLowerCase().replace(xt,"-ms-")}var Pe=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,tt=!1;function It(f){!tt&&Pe.test(f)&&(tt=!0,i("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(f)))}var Yt=Array.isArray;function zt(f){return Yt(f)}var yt=b("<script>"),Kt=b("<\/script>"),Tr=b('<script src="'),ur=b('<script type="module" src="'),hr=b('" async=""><\/script>');function $r(f){return de(f),(""+f).replace(vr,Gn)}var vr=/(<\/|<)(s)(cript)/gi,Gn=function(f,s,c,d){return""+s+(c==="s"?"\\u0073":"\\u0053")+d};function Sn(f,s,c,d,y){var L=f===void 0?"":f,F=s===void 0?yt:b('<script nonce="'+ht(s)+'">'),U=[];if(c!==void 0&&U.push(F,A($r(c)),Kt),d!==void 0)for(var ie=0;ie<d.length;ie++)U.push(Tr,A(ht(d[ie])),hr);if(y!==void 0)for(var Ce=0;Ce<y.length;Ce++)U.push(ur,A(ht(y[Ce])),hr);return{bootstrapChunks:U,startInlineScript:F,placeholderPrefix:b(L+"P:"),segmentPrefix:b(L+"S:"),boundaryPrefix:L+"B:",idPrefix:L,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Mn=0,Kr=1,Zn=2,Tn=3,Yn=4,Kn=5,nn=6,Dn=7;function Cn(f,s){return{insertionMode:f,selectedValue:s}}function di(f){var s=f==="http://www.w3.org/2000/svg"?Zn:f==="http://www.w3.org/1998/Math/MathML"?Tn:Mn;return Cn(s,null)}function _i(f,s,c){switch(s){case"select":return Cn(Kr,c.value!=null?c.value:c.defaultValue);case"svg":return Cn(Zn,null);case"math":return Cn(Tn,null);case"foreignObject":return Cn(Kr,null);case"table":return Cn(Yn,null);case"thead":case"tbody":case"tfoot":return Cn(Kn,null);case"colgroup":return Cn(Dn,null);case"tr":return Cn(nn,null)}return f.insertionMode>=Yn||f.insertionMode===Mn?Cn(Kr,null):f}var xi=null;function En(f){var s=f.nextSuspenseID++;return b(f.boundaryPrefix+s.toString(16))}function wn(f,s,c){var d=f.idPrefix,y=":"+d+"R"+s;return c>0&&(y+="H"+c.toString(32)),y+":"}function cn(f){return ht(f)}var Xn=b("<!-- -->");function on(f,s,c,d){return s===""?d:(d&&f.push(Xn),f.push(A(cn(s))),!0)}function dn(f,s,c,d){c&&d&&f.push(Xn)}var x=new Map;function j(f){var s=x.get(f);if(s!==void 0)return s;var c=b(ht(K(f)));return x.set(f,c),c}var W=b(' style="'),Q=b(":"),Ae=b(";");function _e(f,s,c){if(typeof c!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var d=!0;for(var y in c)if(X.call(c,y)){var L=c[y];if(!(L==null||typeof L=="boolean"||L==="")){var F=void 0,U=void 0,ie=y.indexOf("--")===0;ie?(F=A(ht(y)),Y(L,y),U=A(ht((""+L).trim()))):(Ar(y,L),F=j(y),typeof L=="number"?L!==0&&!X.call(Re,y)?U=A(L+"px"):U=A(""+L):(Y(L,y),U=A(ht((""+L).trim())))),d?(d=!1,f.push(W,F,Q,U)):f.push(Ae,F,Q,U)}}d||f.push(Lt)}var je=b(" "),nt=b('="'),Lt=b('"'),Ft=b('=""');function Nt(f,s,c,d){switch(c){case"style":{_e(f,s,d);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(c.length>2&&(c[0]==="o"||c[0]==="O")&&(c[1]==="n"||c[1]==="N"))){var y=Ke(c);if(y!==null){switch(typeof d){case"function":case"symbol":return;case"boolean":if(!y.acceptsBooleans)return}var L=y.attributeName,F=A(L);switch(y.type){case J:d&&f.push(je,F,Ft);return;case ne:d===!0?f.push(je,F,Ft):d===!1||f.push(je,F,nt,A(ht(d)),Lt);return;case oe:isNaN(d)||f.push(je,F,nt,A(ht(d)),Lt);break;case ce:!isNaN(d)&&d>=1&&f.push(je,F,nt,A(ht(d)),Lt);break;default:y.sanitizeURL&&(G(d,L),d=""+d,It(d)),f.push(je,F,nt,A(ht(d)),Lt)}}else if(Oe(c)){switch(typeof d){case"function":case"symbol":return;case"boolean":{var U=c.toLowerCase().slice(0,5);if(U!=="data-"&&U!=="aria-")return}}f.push(je,A(c),nt,A(ht(d)),Lt)}}}var _r=b(">"),Zr=b("/>");function vn(f,s,c){if(s!=null){if(c!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof s!="object"||!("__html"in s))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var d=s.__html;d!=null&&(de(d),f.push(A(""+d)))}}var yn=!1,ai=!1,jn=!1,Si=!1,Xr=!1,hi=!1,Fn=!1;function Jn(f,s){{var c=f[s];if(c!=null){var d=zt(c);f.multiple&&!d?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",s):!f.multiple&&d&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",s)}}}function yo(f,s,c){rt("select",s),Jn(s,"value"),Jn(s,"defaultValue"),s.value!==void 0&&s.defaultValue!==void 0&&!jn&&(i("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),jn=!0),f.push(Xt("select"));var d=null,y=null;for(var L in s)if(X.call(s,L)){var F=s[L];if(F==null)continue;switch(L){case"children":d=F;break;case"dangerouslySetInnerHTML":y=F;break;case"defaultValue":case"value":break;default:Nt(f,c,L,F);break}}return f.push(_r),vn(f,y,d),d}function eo(f){var s="";return r.Children.forEach(f,function(c){c!=null&&(s+=c,!Xr&&typeof c!="string"&&typeof c!="number"&&(Xr=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),s}var to=b(' selected=""');function kn(f,s,c,d){var y=d.selectedValue;f.push(Xt("option"));var L=null,F=null,U=null,ie=null;for(var Ce in s)if(X.call(s,Ce)){var Ve=s[Ce];if(Ve==null)continue;switch(Ce){case"children":L=Ve;break;case"selected":U=Ve,Fn||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Fn=!0);break;case"dangerouslySetInnerHTML":ie=Ve;break;case"value":F=Ve;default:Nt(f,c,Ce,Ve);break}}if(y!=null){var it;if(F!==null?(G(F,"value"),it=""+F):(ie!==null&&(hi||(hi=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),it=eo(L)),zt(y))for(var St=0;St<y.length;St++){G(y[St],"value");var nr=""+y[St];if(nr===it){f.push(to);break}}else G(y,"select.value"),""+y===it&&f.push(to)}else U&&f.push(to);return f.push(_r),vn(f,ie,L),L}function bo(f,s,c){rt("input",s),s.checked!==void 0&&s.defaultChecked!==void 0&&!ai&&(i("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",s.type),ai=!0),s.value!==void 0&&s.defaultValue!==void 0&&!yn&&(i("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",s.type),yn=!0),f.push(Xt("input"));var d=null,y=null,L=null,F=null;for(var U in s)if(X.call(s,U)){var ie=s[U];if(ie==null)continue;switch(U){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":F=ie;break;case"defaultValue":y=ie;break;case"checked":L=ie;break;case"value":d=ie;break;default:Nt(f,c,U,ie);break}}return L!==null?Nt(f,c,"checked",L):F!==null&&Nt(f,c,"checked",F),d!==null?Nt(f,c,"value",d):y!==null&&Nt(f,c,"value",y),f.push(Zr),null}function Qn(f,s,c){rt("textarea",s),s.value!==void 0&&s.defaultValue!==void 0&&!Si&&(i("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Si=!0),f.push(Xt("textarea"));var d=null,y=null,L=null;for(var F in s)if(X.call(s,F)){var U=s[F];if(U==null)continue;switch(F){case"children":L=U;break;case"value":d=U;break;case"defaultValue":y=U;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Nt(f,c,F,U);break}}if(d===null&&y!==null&&(d=y),f.push(_r),L!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),d!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(zt(L)){if(L.length>1)throw new Error("<textarea> can only have at most one child.");de(L[0]),d=""+L[0]}de(L),d=""+L}return typeof d=="string"&&d[0]===`
312
+ `&&f.push(I),d!==null&&(G(d,"value"),f.push(A(cn(""+d)))),null}function ei(f,s,c,d){f.push(Xt(c));for(var y in s)if(X.call(s,y)){var L=s[y];if(L==null)continue;switch(y){case"children":case"dangerouslySetInnerHTML":throw new Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Nt(f,d,y,L);break}}return f.push(Zr),null}function qi(f,s,c){f.push(Xt("menuitem"));for(var d in s)if(X.call(s,d)){var y=s[d];if(y==null)continue;switch(d){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:Nt(f,c,d,y);break}}return f.push(_r),null}function Or(f,s,c){f.push(Xt("title"));var d=null;for(var y in s)if(X.call(s,y)){var L=s[y];if(L==null)continue;switch(y){case"children":d=L;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:Nt(f,c,y,L);break}}f.push(_r);{var F=Array.isArray(d)&&d.length<2?d[0]||null:d;Array.isArray(d)&&d.length>1?i("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):F!=null&&F.$$typeof!=null?i("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):F!=null&&typeof F!="string"&&typeof F!="number"&&i("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return d}function Sr(f,s,c,d){f.push(Xt(c));var y=null,L=null;for(var F in s)if(X.call(s,F)){var U=s[F];if(U==null)continue;switch(F){case"children":y=U;break;case"dangerouslySetInnerHTML":L=U;break;default:Nt(f,d,F,U);break}}return f.push(_r),vn(f,L,y),typeof y=="string"?(f.push(A(cn(y))),null):y}function Mr(f,s,c,d){f.push(Xt(c));var y=null,L=null;for(var F in s)if(X.call(s,F)){var U=s[F];if(U==null)continue;switch(F){case"children":y=U;break;case"dangerouslySetInnerHTML":L=U;break;case"style":_e(f,d,U);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Oe(F)&&typeof U!="function"&&typeof U!="symbol"&&f.push(je,A(F),nt,A(ht(U)),Lt);break}}return f.push(_r),vn(f,L,y),y}var I=b(`
313
+ `);function V(f,s,c,d){f.push(Xt(c));var y=null,L=null;for(var F in s)if(X.call(s,F)){var U=s[F];if(U==null)continue;switch(F){case"children":y=U;break;case"dangerouslySetInnerHTML":L=U;break;default:Nt(f,d,F,U);break}}if(f.push(_r),L!=null){if(y!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof L!="object"||!("__html"in L))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var ie=L.__html;ie!=null&&(typeof ie=="string"&&ie.length>0&&ie[0]===`
314
+ `?f.push(I,A(ie)):(de(ie),f.push(A(""+ie))))}return typeof y=="string"&&y[0]===`
315
+ `&&f.push(I),y}var le=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Fe=new Map;function Xt(f){var s=Fe.get(f);if(s===void 0){if(!le.test(f))throw new Error("Invalid tag: "+f);s=b("<"+f),Fe.set(f,s)}return s}var Wt=b("<!DOCTYPE html>");function gr(f,s,c,d,y){switch(ct(s,c),Me(s,c),or(s,c,null),!c.suppressContentEditableWarning&&c.contentEditable&&c.children!=null&&i("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),y.insertionMode!==Zn&&y.insertionMode!==Tn&&s.indexOf("-")===-1&&typeof c.is!="string"&&s.toLowerCase()!==s&&i("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",s),s){case"select":return yo(f,c,d);case"option":return kn(f,c,d,y);case"textarea":return Qn(f,c,d);case"input":return bo(f,c,d);case"menuitem":return qi(f,c,d);case"title":return Or(f,c,d);case"listing":case"pre":return V(f,c,s,d);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return ei(f,c,s,d);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Sr(f,c,s,d);case"html":return y.insertionMode===Mn&&f.push(Wt),Sr(f,c,s,d);default:return s.indexOf("-")===-1&&typeof c.is!="string"?Sr(f,c,s,d):Mr(f,c,s,d)}}var xr=b("</"),fr=b(">");function Cr(f,s,c){switch(s){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:f.push(xr,A(s),fr)}}function Jr(f,s){for(var c=s.bootstrapChunks,d=0;d<c.length-1;d++)T(f,c[d]);return d<c.length?C(f,c[d]):!0}var Rn=b('<template id="'),Vr=b('"></template>');function Br(f,s,c){T(f,Rn),T(f,s.placeholderPrefix);var d=A(c.toString(16));return T(f,d),C(f,Vr)}var Qr=b("<!--$-->"),li=b('<!--$?--><template id="'),pi=b('"></template>'),Bn=b("<!--$!-->"),_o=b("<!--/$-->"),zi=b("<template"),sn=b('"'),hs=b(' data-dgst="'),Hn=b(' data-msg="'),cl=b(' data-stck="'),wa=b("></template>");function $i(f,s){return C(f,Qr)}function xo(f,s,c){if(T(f,li),c===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return T(f,c),C(f,pi)}function qn(f,s,c,d,y){var L;return L=C(f,Bn),T(f,zi),c&&(T(f,hs),T(f,A(ht(c))),T(f,sn)),d&&(T(f,Hn),T(f,A(ht(d))),T(f,sn)),y&&(T(f,cl),T(f,A(ht(y))),T(f,sn)),L=C(f,wa),L}function Yr(f,s){return C(f,_o)}function Ci(f,s){return C(f,_o)}function Aa(f,s){return C(f,_o)}var ul=b('<div hidden id="'),zo=b('">'),fl=b("</div>"),dl=b('<svg aria-hidden="true" style="display:none" id="'),Vs=b('">'),ps=b("</svg>"),gs=b('<math aria-hidden="true" style="display:none" id="'),So=b('">'),hl=b("</math>"),Gs=b('<table hidden id="'),Ta=b('">'),w=b("</table>"),N=b('<table hidden><tbody id="'),z=b('">'),ee=b("</tbody></table>"),Ee=b('<table hidden><tr id="'),we=b('">'),We=b("</tr></table>"),pt=b('<table hidden><colgroup id="'),$t=b('">'),dr=b("</colgroup></table>");function sr(f,s,c,d){switch(c.insertionMode){case Mn:case Kr:return T(f,ul),T(f,s.segmentPrefix),T(f,A(d.toString(16))),C(f,zo);case Zn:return T(f,dl),T(f,s.segmentPrefix),T(f,A(d.toString(16))),C(f,Vs);case Tn:return T(f,gs),T(f,s.segmentPrefix),T(f,A(d.toString(16))),C(f,So);case Yn:return T(f,Gs),T(f,s.segmentPrefix),T(f,A(d.toString(16))),C(f,Ta);case Kn:return T(f,N),T(f,s.segmentPrefix),T(f,A(d.toString(16))),C(f,z);case nn:return T(f,Ee),T(f,s.segmentPrefix),T(f,A(d.toString(16))),C(f,we);case Dn:return T(f,pt),T(f,s.segmentPrefix),T(f,A(d.toString(16))),C(f,$t);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Gr(f,s){switch(s.insertionMode){case Mn:case Kr:return C(f,fl);case Zn:return C(f,ps);case Tn:return C(f,hl);case Yn:return C(f,w);case Kn:return C(f,ee);case nn:return C(f,We);case Dn:return C(f,dr);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var ti="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",wi='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',Ai='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',Zs=b(ti+';$RS("'),pl=b('$RS("'),ms=b('","'),Ys=b('")<\/script>');function tf(f,s,c){T(f,s.startInlineScript),s.sentCompleteSegmentFunction?T(f,pl):(s.sentCompleteSegmentFunction=!0,T(f,Zs)),T(f,s.segmentPrefix);var d=A(c.toString(16));return T(f,d),T(f,ms),T(f,s.placeholderPrefix),T(f,d),C(f,Ys)}var nc=b(wi+';$RC("'),ic=b('$RC("'),nu=b('","'),Co=b('")<\/script>');function Ea(f,s,c,d){if(T(f,s.startInlineScript),s.sentCompleteBoundaryFunction?T(f,ic):(s.sentCompleteBoundaryFunction=!0,T(f,nc)),c===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var y=A(d.toString(16));return T(f,c),T(f,nu),T(f,s.segmentPrefix),T(f,y),C(f,Co)}var rf=b(Ai+';$RX("'),nf=b('$RX("'),of=b('"'),Ks=b(")<\/script>"),un=b(",");function iu(f,s,c,d,y,L){if(T(f,s.startInlineScript),s.sentClientRenderFunction?T(f,nf):(s.sentClientRenderFunction=!0,T(f,rf)),c===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return T(f,c),T(f,of),(d||y||L)&&(T(f,un),T(f,A(gl(d||"")))),(y||L)&&(T(f,un),T(f,A(gl(y||"")))),L&&(T(f,un),T(f,A(gl(L)))),C(f,Ks)}var ou=/[<\u2028\u2029]/g;function gl(f){var s=JSON.stringify(f);return s.replace(ou,function(c){switch(c){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Ti=Object.assign,su=Symbol.for("react.element"),ml=Symbol.for("react.portal"),wo=Symbol.for("react.fragment"),pe=Symbol.for("react.strict_mode"),ze=Symbol.for("react.profiler"),De=Symbol.for("react.provider"),Ot=Symbol.for("react.context"),ir=Symbol.for("react.forward_ref"),Pr=Symbol.for("react.suspense"),bn=Symbol.for("react.suspense_list"),Ur=Symbol.for("react.memo"),Xs=Symbol.for("react.lazy"),au=Symbol.for("react.scope"),Ni=Symbol.for("react.debug_trace_mode"),vl=Symbol.for("react.legacy_hidden"),sf=Symbol.for("react.default_value"),$o=Symbol.iterator,en="@@iterator";function Uo(f){if(f===null||typeof f!="object")return null;var s=$o&&f[$o]||f[en];return typeof s=="function"?s:null}function zr(f,s,c){var d=f.displayName;if(d)return d;var y=s.displayName||s.name||"";return y!==""?c+"("+y+")":c}function oc(f){return f.displayName||"Context"}function an(f){if(f==null)return null;if(typeof f.tag=="number"&&i("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case wo:return"Fragment";case ml:return"Portal";case ze:return"Profiler";case pe:return"StrictMode";case Pr:return"Suspense";case bn:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case Ot:var s=f;return oc(s)+".Consumer";case De:var c=f;return oc(c._context)+".Provider";case ir:return zr(f,f.render,"ForwardRef");case Ur:var d=f.displayName||null;return d!==null?d:an(f.type)||"Memo";case Xs:{var y=f,L=y._payload,F=y._init;try{return an(F(L))}catch{return null}}}return null}var Ao=0,sc,ac,lc,Js,To,ka,Ra;function vs(){}vs.__reactDisabledLog=!0;function Qs(){{if(Ao===0){sc=console.log,ac=console.info,lc=console.warn,Js=console.error,To=console.group,ka=console.groupCollapsed,Ra=console.groupEnd;var f={configurable:!0,enumerable:!0,value:vs,writable:!0};Object.defineProperties(console,{info:f,log:f,warn:f,error:f,group:f,groupCollapsed:f,groupEnd:f})}Ao++}}function yl(){{if(Ao--,Ao===0){var f={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ti({},f,{value:sc}),info:Ti({},f,{value:ac}),warn:Ti({},f,{value:lc}),error:Ti({},f,{value:Js}),group:Ti({},f,{value:To}),groupCollapsed:Ti({},f,{value:ka}),groupEnd:Ti({},f,{value:Ra})})}Ao<0&&i("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Eo=t.ReactCurrentDispatcher,bl;function Ui(f,s,c){{if(bl===void 0)try{throw Error()}catch(y){var d=y.stack.trim().match(/\n( *(at )?)/);bl=d&&d[1]||""}return`
316
+ `+bl+f}}var ko=!1,Wo;{var af=typeof WeakMap=="function"?WeakMap:Map;Wo=new af}function Ia(f,s){if(!f||ko)return"";{var c=Wo.get(f);if(c!==void 0)return c}var d;ko=!0;var y=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var L;L=Eo.current,Eo.current=null,Qs();try{if(s){var F=function(){throw Error()};if(Object.defineProperty(F.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(F,[])}catch(Dr){d=Dr}Reflect.construct(f,[],F)}else{try{F.call()}catch(Dr){d=Dr}f.call(F.prototype)}}else{try{throw Error()}catch(Dr){d=Dr}f()}}catch(Dr){if(Dr&&d&&typeof Dr.stack=="string"){for(var U=Dr.stack.split(`
317
+ `),ie=d.stack.split(`
318
+ `),Ce=U.length-1,Ve=ie.length-1;Ce>=1&&Ve>=0&&U[Ce]!==ie[Ve];)Ve--;for(;Ce>=1&&Ve>=0;Ce--,Ve--)if(U[Ce]!==ie[Ve]){if(Ce!==1||Ve!==1)do if(Ce--,Ve--,Ve<0||U[Ce]!==ie[Ve]){var it=`
319
+ `+U[Ce].replace(" at new "," at ");return f.displayName&&it.includes("<anonymous>")&&(it=it.replace("<anonymous>",f.displayName)),typeof f=="function"&&Wo.set(f,it),it}while(Ce>=1&&Ve>=0);break}}}finally{ko=!1,Eo.current=L,yl(),Error.prepareStackTrace=y}var St=f?f.displayName||f.name:"",nr=St?Ui(St):"";return typeof f=="function"&&Wo.set(f,nr),nr}function lu(f,s,c){return Ia(f,!0)}function ea(f,s,c){return Ia(f,!1)}function ys(f){var s=f.prototype;return!!(s&&s.isReactComponent)}function ta(f,s,c){if(f==null)return"";if(typeof f=="function")return Ia(f,ys(f));if(typeof f=="string")return Ui(f);switch(f){case Pr:return Ui("Suspense");case bn:return Ui("SuspenseList")}if(typeof f=="object")switch(f.$$typeof){case ir:return ea(f.render);case Ur:return ta(f.type,s,c);case Xs:{var d=f,y=d._payload,L=d._init;try{return ta(L(y),s,c)}catch{}}}return""}var _l={},ra=t.ReactDebugCurrentFrame;function La(f){if(f){var s=f._owner,c=ta(f.type,f._source,s?s.type:null);ra.setExtraStackFrame(c)}else ra.setExtraStackFrame(null)}function cu(f,s,c,d,y){{var L=Function.call.bind(X);for(var F in f)if(L(f,F)){var U=void 0;try{if(typeof f[F]!="function"){var ie=Error((d||"React class")+": "+c+" type `"+F+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof f[F]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ie.name="Invariant Violation",ie}U=f[F](s,F,d,c,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ce){U=Ce}U&&!(U instanceof Error)&&(La(y),i("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",d||"React class",c,F,typeof U),La(null)),U instanceof Error&&!(U.message in _l)&&(_l[U.message]=!0,La(y),i("Failed %s type: %s",c,U.message),La(null))}}}var ln;ln={};var In={};Object.freeze(In);function Vo(f,s){{var c=f.contextTypes;if(!c)return In;var d={};for(var y in c)d[y]=s[y];{var L=an(f)||"Unknown";cu(c,d,"context",L)}return d}}function cc(f,s,c,d){{if(typeof f.getChildContext!="function"){{var y=an(s)||"Unknown";ln[y]||(ln[y]=!0,i("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",y,y))}return c}var L=f.getChildContext();for(var F in L)if(!(F in d))throw new Error((an(s)||"Unknown")+'.getChildContext(): key "'+F+'" is not defined in childContextTypes.');{var U=an(s)||"Unknown";cu(d,L,"child context",U)}return Ti({},c,L)}}var Go;Go={};var xl=null,ro=null;function Zo(f){f.context._currentValue=f.parentValue}function na(f){f.context._currentValue=f.value}function no(f,s){if(f!==s){Zo(f);var c=f.parent,d=s.parent;if(c===null){if(d!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(d===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");no(c,d)}na(s)}}function Ro(f){Zo(f);var s=f.parent;s!==null&&Ro(s)}function ia(f){var s=f.parent;s!==null&&ia(s),na(f)}function Ma(f,s){Zo(f);var c=f.parent;if(c===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");c.depth===s.depth?no(c,s):Ma(c,s)}function bs(f,s){var c=s.parent;if(c===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");f.depth===c.depth?no(f,c):bs(f,c),na(s)}function Yo(f){var s=ro,c=f;s!==c&&(s===null?ia(c):c===null?Ro(s):s.depth===c.depth?no(s,c):s.depth>c.depth?Ma(s,c):bs(s,c),ro=c)}function uc(f,s){var c;c=f._currentValue,f._currentValue=s,f._currentRenderer!==void 0&&f._currentRenderer!==null&&f._currentRenderer!==Go&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),f._currentRenderer=Go;var d=ro,y={parent:d,depth:d===null?0:d.depth+1,context:f,parentValue:c,value:s};return ro=y,y}function lf(f){var s=ro;if(s===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");s.context!==f&&i("The parent context is not the expected context. This is probably a bug in React.");{var c=s.parentValue;c===sf?s.context._currentValue=s.context._defaultValue:s.context._currentValue=c,f._currentRenderer!==void 0&&f._currentRenderer!==null&&f._currentRenderer!==Go&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),f._currentRenderer=Go}return ro=s.parent}function uu(){return ro}function oa(f){var s=f._currentValue;return s}function Ko(f){return f._reactInternals}function _s(f,s){f._reactInternals=s}var Da={},$={},Io,Lo,ri,yr,Sl,Oa,Cl,io,fc;{Io=new Set,Lo=new Set,ri=new Set,Cl=new Set,yr=new Set,io=new Set,fc=new Set;var fu=new Set;Oa=function(f,s){if(!(f===null||typeof f=="function")){var c=s+"_"+f;fu.has(c)||(fu.add(c),i("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",s,f))}},Sl=function(f,s){if(s===void 0){var c=an(f)||"Component";yr.has(c)||(yr.add(c),i("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",c))}}}function du(f,s){{var c=f.constructor,d=c&&an(c)||"ReactClass",y=d+"."+s;if(Da[y])return;i(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
320
+
321
+ Please check the code for the %s component.`,s,s,d),Da[y]=!0}}var hu={isMounted:function(f){return!1},enqueueSetState:function(f,s,c){var d=Ko(f);d.queue===null?du(f,"setState"):(d.queue.push(s),c!=null&&Oa(c,"setState"))},enqueueReplaceState:function(f,s,c){var d=Ko(f);d.replace=!0,d.queue=[s],c!=null&&Oa(c,"setState")},enqueueForceUpdate:function(f,s){var c=Ko(f);c.queue===null?du(f,"forceUpdate"):s!=null&&Oa(s,"setState")}};function cf(f,s,c,d,y){var L=c(y,d);Sl(s,L);var F=L==null?d:Ti({},d,L);return F}function oo(f,s,c){var d=In,y=f.contextType;if("contextType"in f){var L=y===null||y!==void 0&&y.$$typeof===Ot&&y._context===void 0;if(!L&&!fc.has(f)){fc.add(f);var F="";y===void 0?F=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof y!="object"?F=" However, it is set to a "+typeof y+".":y.$$typeof===De?F=" Did you accidentally pass the Context.Provider instead?":y._context!==void 0?F=" Did you accidentally pass the Context.Consumer instead?":F=" However, it is set to an object with keys {"+Object.keys(y).join(", ")+"}.",i("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",an(f)||"Component",F)}}typeof y=="object"&&y!==null?d=oa(y):d=c;var U=new f(s,d);{if(typeof f.getDerivedStateFromProps=="function"&&(U.state===null||U.state===void 0)){var ie=an(f)||"Component";Io.has(ie)||(Io.add(ie),i("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",ie,U.state===null?"null":"undefined",ie))}if(typeof f.getDerivedStateFromProps=="function"||typeof U.getSnapshotBeforeUpdate=="function"){var Ce=null,Ve=null,it=null;if(typeof U.componentWillMount=="function"&&U.componentWillMount.__suppressDeprecationWarning!==!0?Ce="componentWillMount":typeof U.UNSAFE_componentWillMount=="function"&&(Ce="UNSAFE_componentWillMount"),typeof U.componentWillReceiveProps=="function"&&U.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Ve="componentWillReceiveProps":typeof U.UNSAFE_componentWillReceiveProps=="function"&&(Ve="UNSAFE_componentWillReceiveProps"),typeof U.componentWillUpdate=="function"&&U.componentWillUpdate.__suppressDeprecationWarning!==!0?it="componentWillUpdate":typeof U.UNSAFE_componentWillUpdate=="function"&&(it="UNSAFE_componentWillUpdate"),Ce!==null||Ve!==null||it!==null){var St=an(f)||"Component",nr=typeof f.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";ri.has(St)||(ri.add(St),i(`Unsafe legacy lifecycles will not be called for components using new component APIs.
322
+
323
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
324
+
325
+ The above lifecycles should be removed. Learn more about this warning here:
326
+ https://reactjs.org/link/unsafe-component-lifecycles`,St,nr,Ce!==null?`
327
+ `+Ce:"",Ve!==null?`
328
+ `+Ve:"",it!==null?`
329
+ `+it:""))}}}return U}function uf(f,s,c){{var d=an(s)||"Component",y=f.render;y||(s.prototype&&typeof s.prototype.render=="function"?i("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",d):i("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",d)),f.getInitialState&&!f.getInitialState.isReactClassApproved&&!f.state&&i("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",d),f.getDefaultProps&&!f.getDefaultProps.isReactClassApproved&&i("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",d),f.propTypes&&i("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",d),f.contextType&&i("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",d),f.contextTypes&&i("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",d),s.contextType&&s.contextTypes&&!io.has(s)&&(io.add(s),i("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",d)),typeof f.componentShouldUpdate=="function"&&i("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",d),s.prototype&&s.prototype.isPureReactComponent&&typeof f.shouldComponentUpdate<"u"&&i("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",an(s)||"A pure component"),typeof f.componentDidUnmount=="function"&&i("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",d),typeof f.componentDidReceiveProps=="function"&&i("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",d),typeof f.componentWillRecieveProps=="function"&&i("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",d),typeof f.UNSAFE_componentWillRecieveProps=="function"&&i("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",d);var L=f.props!==c;f.props!==void 0&&L&&i("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",d,d),f.defaultProps&&i("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",d,d),typeof f.getSnapshotBeforeUpdate=="function"&&typeof f.componentDidUpdate!="function"&&!Lo.has(s)&&(Lo.add(s),i("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",an(s))),typeof f.getDerivedStateFromProps=="function"&&i("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof f.getDerivedStateFromError=="function"&&i("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof s.getSnapshotBeforeUpdate=="function"&&i("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",d);var F=f.state;F&&(typeof F!="object"||zt(F))&&i("%s.state: must be set to an object or null",d),typeof f.getChildContext=="function"&&typeof s.childContextTypes!="object"&&i("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",d)}}function ff(f,s){var c=s.state;if(typeof s.componentWillMount=="function"){if(s.componentWillMount.__suppressDeprecationWarning!==!0){var d=an(f)||"Unknown";$[d]||(n(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
330
+
331
+ * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
332
+
333
+ Please update the following components: %s`,d),$[d]=!0)}s.componentWillMount()}typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),c!==s.state&&(i("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",an(f)||"Component"),hu.enqueueReplaceState(s,s.state,null))}function dc(f,s,c,d){if(f.queue!==null&&f.queue.length>0){var y=f.queue,L=f.replace;if(f.queue=null,f.replace=!1,L&&y.length===1)s.state=y[0];else{for(var F=L?y[0]:s.state,U=!0,ie=L?1:0;ie<y.length;ie++){var Ce=y[ie],Ve=typeof Ce=="function"?Ce.call(s,F,c,d):Ce;Ve!=null&&(U?(U=!1,F=Ti({},F,Ve)):Ti(F,Ve))}s.state=F}}else f.queue=null}function Pa(f,s,c,d){uf(f,s,c);var y=f.state!==void 0?f.state:null;f.updater=hu,f.props=c,f.state=y;var L={queue:[],replace:!1};_s(f,L);var F=s.contextType;if(typeof F=="object"&&F!==null?f.context=oa(F):f.context=d,f.state===c){var U=an(s)||"Component";Cl.has(U)||(Cl.add(U),i("%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.",U))}var ie=s.getDerivedStateFromProps;typeof ie=="function"&&(f.state=cf(f,s,ie,y,c)),typeof s.getDerivedStateFromProps!="function"&&typeof f.getSnapshotBeforeUpdate!="function"&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function")&&(ff(s,f),dc(L,f,c,d))}var df={id:1,overflow:""};function Mo(f){var s=f.overflow,c=f.id,d=c&~hf(c);return d.toString(32)+s}function hc(f,s,c){var d=f.id,y=f.overflow,L=wl(d)-1,F=d&~(1<<L),U=c+1,ie=wl(s)+L;if(ie>30){var Ce=L-L%5,Ve=(1<<Ce)-1,it=(F&Ve).toString(32),St=F>>Ce,nr=L-Ce,Dr=wl(s)+nr,$n=U<<nr,ns=$n|St,uo=it+y;return{id:1<<Dr|ns,overflow:uo}}else{var fo=U<<L,is=fo|F,_f=y;return{id:1<<ie|is,overflow:_f}}}function wl(f){return 32-pf(f)}function hf(f){return 1<<wl(f)-1}var pf=Math.clz32?Math.clz32:pc,gf=Math.log,ci=Math.LN2;function pc(f){var s=f>>>0;return s===0?32:31-(gf(s)/ci|0)|0}function Al(f,s){return f===s&&(f!==0||1/f===1/s)||f!==f&&s!==s}var Er=typeof Object.is=="function"?Object.is:Al,Ei=null,sa=null,xs=null,Nr=null,Xo=!1,Na=!1,gi=0,ki=null,so=0,gc=25,ui=!1,Wi;function Ss(){if(Ei===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:
334
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
335
+ 2. You might be breaking the Rules of Hooks
336
+ 3. You might have more than one copy of React in the same app
337
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return ui&&i("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"),Ei}function pu(f,s){if(s===null)return i("%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.",Wi),!1;f.length!==s.length&&i(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
338
+
339
+ Previous: %s
340
+ Incoming: %s`,Wi,"["+f.join(", ")+"]","["+s.join(", ")+"]");for(var c=0;c<s.length&&c<f.length;c++)if(!Er(f[c],s[c]))return!1;return!0}function mc(){if(so>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Ri(){return Nr===null?xs===null?(Xo=!1,xs=Nr=mc()):(Xo=!0,Nr=xs):Nr.next===null?(Xo=!1,Nr=Nr.next=mc()):(Xo=!0,Nr=Nr.next),Nr}function vc(f,s){Ei=s,sa=f,ui=!1,gi=0}function Cs(f,s,c,d){for(;Na;)Na=!1,gi=0,so+=1,Nr=null,c=f(s,d);return yc(),c}function fi(){var f=gi!==0;return f}function yc(){ui=!1,Ei=null,sa=null,Na=!1,xs=null,so=0,ki=null,Nr=null}function bc(f){return ui&&i("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),oa(f)}function _c(f){return Wi="useContext",Ss(),oa(f)}function ws(f,s){return typeof s=="function"?s(f):s}function Jo(f){return Wi="useState",xc(ws,f)}function xc(f,s,c){if(f!==ws&&(Wi="useReducer"),Ei=Ss(),Nr=Ri(),Xo){var d=Nr.queue,y=d.dispatch;if(ki!==null){var L=ki.get(d);if(L!==void 0){ki.delete(d);var F=Nr.memoizedState,U=L;do{var ie=U.action;ui=!0,F=f(F,ie),ui=!1,U=U.next}while(U!==null);return Nr.memoizedState=F,[F,y]}}return[Nr.memoizedState,y]}else{ui=!0;var Ce;f===ws?Ce=typeof s=="function"?s():s:Ce=c!==void 0?c(s):s,ui=!1,Nr.memoizedState=Ce;var Ve=Nr.queue={last:null,dispatch:null},it=Ve.dispatch=mu.bind(null,Ei,Ve);return[Nr.memoizedState,it]}}function gu(f,s){Ei=Ss(),Nr=Ri();var c=s===void 0?null:s;if(Nr!==null){var d=Nr.memoizedState;if(d!==null&&c!==null){var y=d[1];if(pu(c,y))return d[0]}}ui=!0;var L=f();return ui=!1,Nr.memoizedState=[L,c],L}function Tl(f){Ei=Ss(),Nr=Ri();var s=Nr.memoizedState;if(s===null){var c={current:f};return Object.seal(c),Nr.memoizedState=c,c}else return s}function mf(f,s){Wi="useLayoutEffect",i("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function mu(f,s,c){if(so>=gc)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(f===Ei){Na=!0;var d={action:c,next:null};ki===null&&(ki=new Map);var y=ki.get(s);if(y===void 0)ki.set(s,d);else{for(var L=y;L.next!==null;)L=L.next;L.next=d}}}function zn(f,s){return gu(function(){return f},s)}function Sc(f,s,c){return Ss(),s(f._source)}function vu(f,s,c){if(c===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return c()}function Ii(f){return Ss(),f}function El(){throw new Error("startTransition cannot be called during server rendering.")}function aa(){return Ss(),[!1,El]}function Qo(){var f=sa,s=Mo(f.treeContext),c=As;if(c===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var d=gi++;return wn(c,s,d)}function ja(){}var On={readContext:bc,useContext:_c,useMemo:gu,useReducer:xc,useRef:Tl,useState:Jo,useInsertionEffect:ja,useLayoutEffect:mf,useCallback:zn,useImperativeHandle:ja,useEffect:ja,useDebugValue:ja,useDeferredValue:Ii,useTransition:aa,useId:Qo,useMutableSource:Sc,useSyncExternalStore:vu},As=null;function kl(f){As=f}function la(f){try{var s="",c=f;do{switch(c.tag){case 0:s+=Ui(c.type,null,null);break;case 1:s+=ea(c.type,null,null);break;case 2:s+=lu(c.type,null,null);break}c=c.parent}while(c);return s}catch(d){return`
341
+ Error generating stack: `+d.message+`
342
+ `+d.stack}}var Rl=t.ReactCurrentDispatcher,ca=t.ReactDebugCurrentFrame,Il=0,ao=1,Ll=2,Ts=3,yu=4,Fa=0,ua=1,fa=2,Cc=12800;function bu(f){return console.error(f),null}function Es(){}function Ml(f,s,c,d,y,L,F,U,ie){var Ce=[],Ve=new Set,it={destination:null,responseState:s,progressiveChunkSize:d===void 0?Cc:d,status:Fa,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ve,pingedTasks:Ce,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:y===void 0?bu:y,onAllReady:L===void 0?Es:L,onShellReady:F===void 0?Es:F,onShellError:U===void 0?Es:U,onFatalError:ie===void 0?Es:ie},St=Ba(it,0,null,c,!1,!1);St.parentFlushed=!0;var nr=Oo(it,f,null,St,Ve,In,xl,df);return Ce.push(nr),it}function Do(f,s){var c=f.pingedTasks;c.push(s),c.length===1&&u(function(){return Oc(f)})}function Dl(f,s){return{id:xi,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s,errorDigest:null}}function Oo(f,s,c,d,y,L,F,U){f.allPendingTasks++,c===null?f.pendingRootTasks++:c.pendingTasks++;var ie={node:s,ping:function(){return Do(f,ie)},blockedBoundary:c,blockedSegment:d,abortSet:y,legacyContext:L,context:F,treeContext:U};return ie.componentStack=null,y.add(ie),ie}function Ba(f,s,c,d,y,L){return{status:Il,id:-1,index:s,parentFlushed:!1,chunks:[],children:[],formatContext:d,boundary:c,lastPushedText:y,textEmbedded:L}}var Vi=null;function Gi(){return Vi===null||Vi.componentStack===null?"":la(Vi.componentStack)}function lo(f,s){f.componentStack={tag:0,parent:f.componentStack,type:s}}function Ha(f,s){f.componentStack={tag:1,parent:f.componentStack,type:s}}function es(f,s){f.componentStack={tag:2,parent:f.componentStack,type:s}}function Zi(f){f.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):f.componentStack=f.componentStack.parent}var da=null;function Ol(f,s){{var c;typeof s=="string"?c=s:s&&typeof s.message=="string"?c=s.message:c=String(s);var d=da||Gi();da=null,f.errorMessage=c,f.errorComponentStack=d}}function qa(f,s){var c=f.onError(s);if(c!=null&&typeof c!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof c+'" instead');return c}function ha(f,s){var c=f.onShellError;c(s);var d=f.onFatalError;d(s),f.destination!==null?(f.status=fa,R(f.destination,s)):(f.status=ua,f.fatalError=s)}function _u(f,s,c){lo(s,"Suspense");var d=s.blockedBoundary,y=s.blockedSegment,L=c.fallback,F=c.children,U=new Set,ie=Dl(f,U),Ce=y.chunks.length,Ve=Ba(f,Ce,ie,y.formatContext,!1,!1);y.children.push(Ve),y.lastPushedText=!1;var it=Ba(f,0,null,y.formatContext,!1,!1);it.parentFlushed=!0,s.blockedBoundary=ie,s.blockedSegment=it;try{if(ts(f,s,F),dn(it.chunks,f.responseState,it.lastPushedText,it.textEmbedded),it.status=ao,rs(ie,it),ie.pendingTasks===0){Zi(s);return}}catch(nr){it.status=yu,ie.forceClientRender=!0,ie.errorDigest=qa(f,nr),Ol(ie,nr)}finally{s.blockedBoundary=d,s.blockedSegment=y}var St=Oo(f,L,d,Ve,U,s.legacyContext,s.context,s.treeContext);St.componentStack=s.componentStack,f.pingedTasks.push(St),Zi(s)}function wc(f,s,c,d){lo(s,c);var y=s.blockedSegment,L=gr(y.chunks,c,d,f.responseState,y.formatContext);y.lastPushedText=!1;var F=y.formatContext;y.formatContext=_i(F,c,d),ts(f,s,L),y.formatContext=F,Cr(y.chunks,c),y.lastPushedText=!1,Zi(s)}function Ac(f){return f.prototype&&f.prototype.isReactComponent}function ks(f,s,c,d,y){var L={};vc(s,L);var F=c(d,y);return Cs(c,d,F,y)}function Tc(f,s,c,d,y){var L=c.render();c.props!==y&&(kc||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",an(d)||"a component"),kc=!0);{var F=d.childContextTypes;if(F!=null){var U=s.legacyContext,ie=cc(c,d,U,F);s.legacyContext=ie,ni(f,s,L),s.legacyContext=U;return}}ni(f,s,L)}function Pl(f,s,c,d){es(s,c);var y=Vo(c,s.legacyContext),L=oo(c,d,y);Pa(L,c,d,y),Tc(f,s,L,c,d),Zi(s)}var mr={},za={},Ec={},Rs={},kc=!1,xu=!1,Rc=!1,Li=!1;function vf(f,s,c,d){var y;if(y=Vo(c,s.legacyContext),Ha(s,c),c.prototype&&typeof c.prototype.render=="function"){var L=an(c)||"Unknown";mr[L]||(i("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",L,L),mr[L]=!0)}var F=ks(f,s,c,d,y),U=fi();if(typeof F=="object"&&F!==null&&typeof F.render=="function"&&F.$$typeof===void 0){var ie=an(c)||"Unknown";za[ie]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",ie,ie,ie),za[ie]=!0)}if(typeof F=="object"&&F!==null&&typeof F.render=="function"&&F.$$typeof===void 0){{var Ce=an(c)||"Unknown";za[Ce]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Ce,Ce,Ce),za[Ce]=!0)}Pa(F,c,d,y),Tc(f,s,F,c,d)}else if(Nl(c),U){var Ve=s.treeContext,it=1,St=0;s.treeContext=hc(Ve,it,St);try{ni(f,s,F)}finally{s.treeContext=Ve}}else ni(f,s,F);Zi(s)}function Nl(f){{if(f&&f.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",f.displayName||f.name||"Component"),typeof f.getDerivedStateFromProps=="function"){var s=an(f)||"Unknown";Rs[s]||(i("%s: Function components do not support getDerivedStateFromProps.",s),Rs[s]=!0)}if(typeof f.contextType=="object"&&f.contextType!==null){var c=an(f)||"Unknown";Ec[c]||(i("%s: Function components do not support contextType.",c),Ec[c]=!0)}}}function jl(f,s){if(f&&f.defaultProps){var c=Ti({},s),d=f.defaultProps;for(var y in d)c[y]===void 0&&(c[y]=d[y]);return c}return s}function Su(f,s,c,d,y){Ha(s,c.render);var L=ks(f,s,c.render,d,y),F=fi();if(F){var U=s.treeContext,ie=1,Ce=0;s.treeContext=hc(U,ie,Ce);try{ni(f,s,L)}finally{s.treeContext=U}}else ni(f,s,L);Zi(s)}function Fl(f,s,c,d,y){var L=c.type,F=jl(L,d);$a(f,s,L,F,y)}function Mi(f,s,c,d){c._context===void 0?c!==c.Consumer&&(Li||(Li=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):c=c._context;var y=d.children;typeof y!="function"&&i("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var L=oa(c),F=y(L);ni(f,s,F)}function An(f,s,c,d){var y=c._context,L=d.value,F=d.children,U;U=s.context,s.context=uc(y,L),ni(f,s,F),s.context=lf(y),U!==s.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Ic(f,s,c,d,y){lo(s,"Lazy");var L=c._payload,F=c._init,U=F(L),ie=jl(U,d);$a(f,s,U,ie,y),Zi(s)}function $a(f,s,c,d,y){if(typeof c=="function")if(Ac(c)){Pl(f,s,c,d);return}else{vf(f,s,c,d);return}if(typeof c=="string"){wc(f,s,c,d);return}switch(c){case vl:case Ni:case pe:case ze:case wo:{ni(f,s,d.children);return}case bn:{lo(s,"SuspenseList"),ni(f,s,d.children),Zi(s);return}case au:throw new Error("ReactDOMServer does not yet support scope components.");case Pr:{_u(f,s,d);return}}if(typeof c=="object"&&c!==null)switch(c.$$typeof){case ir:{Su(f,s,c,d,y);return}case Ur:{Fl(f,s,c,d,y);return}case De:{An(f,s,c,d);return}case Ot:{Mi(f,s,c,d);return}case Xs:{Ic(f,s,c,d);return}}var L="";throw(c===void 0||typeof c=="object"&&c!==null&&Object.keys(c).length===0)&&(L+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(c==null?c:typeof c)+"."+L))}function Bl(f,s){typeof Symbol=="function"&&f[Symbol.toStringTag]==="Generator"&&(xu||i("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),xu=!0),f.entries===s&&(Rc||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Rc=!0)}function ni(f,s,c){try{return Lc(f,s,c)}catch(d){throw typeof d=="object"&&d!==null&&typeof d.then=="function"||(da=da!==null?da:Gi()),d}}function Lc(f,s,c){if(s.node=c,typeof c=="object"&&c!==null){switch(c.$$typeof){case su:{var d=c,y=d.type,L=d.props,F=d.ref;$a(f,s,y,L,F);return}case ml: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 Xs:{var U=c,ie=U._payload,Ce=U._init,Ve;try{Ve=Ce(ie)}catch(fo){throw typeof fo=="object"&&fo!==null&&typeof fo.then=="function"&&lo(s,"Lazy"),fo}ni(f,s,Ve);return}}if(zt(c)){Mc(f,s,c);return}var it=Uo(c);if(it){Bl(c,it);var St=it.call(c);if(St){var nr=St.next();if(!nr.done){var Dr=[];do Dr.push(nr.value),nr=St.next();while(!nr.done);Mc(f,s,Dr);return}return}}var $n=Object.prototype.toString.call(c);throw new Error("Objects are not valid as a React child (found: "+($n==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":$n)+"). If you meant to render a collection of children, use an array instead.")}if(typeof c=="string"){var ns=s.blockedSegment;ns.lastPushedText=on(s.blockedSegment.chunks,c,f.responseState,ns.lastPushedText);return}if(typeof c=="number"){var uo=s.blockedSegment;uo.lastPushedText=on(s.blockedSegment.chunks,""+c,f.responseState,uo.lastPushedText);return}typeof c=="function"&&i("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function Mc(f,s,c){for(var d=c.length,y=0;y<d;y++){var L=s.treeContext;s.treeContext=hc(L,d,y);try{ts(f,s,c[y])}finally{s.treeContext=L}}}function Hl(f,s,c){var d=s.blockedSegment,y=d.chunks.length,L=Ba(f,y,null,d.formatContext,d.lastPushedText,!0);d.children.push(L),d.lastPushedText=!1;var F=Oo(f,s.node,s.blockedBoundary,L,s.abortSet,s.legacyContext,s.context,s.treeContext);s.componentStack!==null&&(F.componentStack=s.componentStack.parent);var U=F.ping;c.then(U,U)}function ts(f,s,c){var d=s.blockedSegment.formatContext,y=s.legacyContext,L=s.context,F=null;F=s.componentStack;try{return ni(f,s,c)}catch(U){if(yc(),typeof U=="object"&&U!==null&&typeof U.then=="function"){Hl(f,s,U),s.blockedSegment.formatContext=d,s.legacyContext=y,s.context=L,Yo(L),s.componentStack=F;return}else throw s.blockedSegment.formatContext=d,s.legacyContext=y,s.context=L,Yo(L),s.componentStack=F,U}}function Po(f,s,c,d){var y=qa(f,d);if(s===null?ha(f,d):(s.pendingTasks--,s.forceClientRender||(s.forceClientRender=!0,s.errorDigest=y,Ol(s,d),s.parentFlushed&&f.clientRenderedBoundaries.push(s))),f.allPendingTasks--,f.allPendingTasks===0){var L=f.onAllReady;L()}}function yf(f){var s=this,c=f.blockedBoundary,d=f.blockedSegment;d.status=Ts,pa(s,c,d)}function co(f,s,c){var d=f.blockedBoundary,y=f.blockedSegment;if(y.status=Ts,d===null)s.allPendingTasks--,s.status!==fa&&(s.status=fa,s.destination!==null&&S(s.destination));else{if(d.pendingTasks--,!d.forceClientRender){d.forceClientRender=!0;var L=c===void 0?new Error("The render was aborted by the server without a reason."):c;d.errorDigest=s.onError(L);{var F="The server did not finish this Suspense boundary: ";L&&typeof L.message=="string"?L=F+L.message:L=F+String(L);var U=Vi;Vi=f;try{Ol(d,L)}finally{Vi=U}}d.parentFlushed&&s.clientRenderedBoundaries.push(d)}if(d.fallbackAbortableTasks.forEach(function(Ce){return co(Ce,s,c)}),d.fallbackAbortableTasks.clear(),s.allPendingTasks--,s.allPendingTasks===0){var ie=s.onAllReady;ie()}}}function rs(f,s){if(s.chunks.length===0&&s.children.length===1&&s.children[0].boundary===null){var c=s.children[0];c.id=s.id,c.parentFlushed=!0,c.status===ao&&rs(f,c)}else{var d=f.completedSegments;d.push(s)}}function pa(f,s,c){if(s===null){if(c.parentFlushed){if(f.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");f.completedRootSegment=c}if(f.pendingRootTasks--,f.pendingRootTasks===0){f.onShellError=Es;var d=f.onShellReady;d()}}else if(s.pendingTasks--,!s.forceClientRender){if(s.pendingTasks===0)c.parentFlushed&&c.status===ao&&rs(s,c),s.parentFlushed&&f.completedBoundaries.push(s),s.fallbackAbortableTasks.forEach(yf,f),s.fallbackAbortableTasks.clear();else if(c.parentFlushed&&c.status===ao){rs(s,c);var y=s.completedSegments;y.length===1&&s.parentFlushed&&f.partialBoundaries.push(s)}}if(f.allPendingTasks--,f.allPendingTasks===0){var L=f.onAllReady;L()}}function Dc(f,s){var c=s.blockedSegment;if(c.status===Il){Yo(s.context);var d=null;d=Vi,Vi=s;try{ni(f,s,s.node),dn(c.chunks,f.responseState,c.lastPushedText,c.textEmbedded),s.abortSet.delete(s),c.status=ao,pa(f,s.blockedBoundary,c)}catch(L){if(yc(),typeof L=="object"&&L!==null&&typeof L.then=="function"){var y=s.ping;L.then(y,y)}else s.abortSet.delete(s),c.status=yu,Po(f,s.blockedBoundary,c,L)}finally{Vi=d}}}function Oc(f){if(f.status!==fa){var s=uu(),c=Rl.current;Rl.current=On;var d;d=ca.getCurrentStack,ca.getCurrentStack=Gi;var y=As;kl(f.responseState);try{var L=f.pingedTasks,F;for(F=0;F<L.length;F++){var U=L[F];Dc(f,U)}L.splice(0,F),f.destination!==null&&ii(f,f.destination)}catch(ie){qa(f,ie),ha(f,ie)}finally{kl(y),Rl.current=c,ca.getCurrentStack=d,c===On&&Yo(s)}}}function Ua(f,s,c){switch(c.parentFlushed=!0,c.status){case Il:{var d=c.id=f.nextSegmentId++;return c.lastPushedText=!1,c.textEmbedded=!1,Br(s,f.responseState,d)}case ao:{c.status=Ll;for(var y=!0,L=c.chunks,F=0,U=c.children,ie=0;ie<U.length;ie++){for(var Ce=U[ie];F<Ce.index;F++)T(s,L[F]);y=ql(f,s,Ce)}for(;F<L.length-1;F++)T(s,L[F]);return F<L.length&&(y=C(s,L[F])),y}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ql(f,s,c){var d=c.boundary;if(d===null)return Ua(f,s,c);if(d.parentFlushed=!0,d.forceClientRender)return qn(s,f.responseState,d.errorDigest,d.errorMessage,d.errorComponentStack),Ua(f,s,c),Aa(s,f.responseState);if(d.pendingTasks>0){d.rootSegmentID=f.nextSegmentId++,d.completedSegments.length>0&&f.partialBoundaries.push(d);var y=d.id=En(f.responseState);return xo(s,f.responseState,y),Ua(f,s,c),Ci(s,f.responseState)}else{if(d.byteSize>f.progressiveChunkSize)return d.rootSegmentID=f.nextSegmentId++,f.completedBoundaries.push(d),xo(s,f.responseState,d.id),Ua(f,s,c),Ci(s,f.responseState);$i(s,f.responseState);var L=d.completedSegments;if(L.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var F=L[0];return ql(f,s,F),Yr(s,f.responseState)}}function Pc(f,s,c){return iu(s,f.responseState,c.id,c.errorDigest,c.errorMessage,c.errorComponentStack)}function Wa(f,s,c){return sr(s,f.responseState,c.formatContext,c.id),ql(f,s,c),Gr(s,c.formatContext)}function Cu(f,s,c){for(var d=c.completedSegments,y=0;y<d.length;y++){var L=d[y];Nc(f,s,c,L)}return d.length=0,Ea(s,f.responseState,c.id,c.rootSegmentID)}function wu(f,s,c){for(var d=c.completedSegments,y=0;y<d.length;y++){var L=d[y];if(!Nc(f,s,c,L))return y++,d.splice(0,y),!1}return d.splice(0,y),!0}function Nc(f,s,c,d){if(d.status===Ll)return!0;var y=d.id;if(y===-1){var L=d.id=c.rootSegmentID;if(L===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Wa(f,s,d)}else return Wa(f,s,d),tf(s,f.responseState,y)}function ii(f,s){M();try{var c=f.completedRootSegment;c!==null&&f.pendingRootTasks===0&&(ql(f,s,c),f.completedRootSegment=null,Jr(s,f.responseState));var d=f.clientRenderedBoundaries,y;for(y=0;y<d.length;y++){var L=d[y];Pc(f,s,L)}d.splice(0,y);var F=f.completedBoundaries;for(y=0;y<F.length;y++){var U=F[y];Cu(f,s,U)}F.splice(0,y),_(s),M(s);var ie=f.partialBoundaries;for(y=0;y<ie.length;y++){var Ce=ie[y];if(!wu(f,s,Ce)){f.destination=null,y++,ie.splice(0,y);return}}ie.splice(0,y);var Ve=f.completedBoundaries;for(y=0;y<Ve.length;y++){var it=Ve[y];Cu(f,s,it)}Ve.splice(0,y)}finally{_(s),f.allPendingTasks===0&&f.pingedTasks.length===0&&f.clientRenderedBoundaries.length===0&&f.completedBoundaries.length===0&&(f.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),S(s))}}function Yi(f){u(function(){return Oc(f)})}function bf(f,s){if(f.status===ua){f.status=fa,R(s,f.fatalError);return}if(f.status!==fa&&f.destination===null){f.destination=s;try{ii(f,s)}catch(c){qa(f,c),ha(f,c)}}}function Au(f,s){try{var c=f.abortableTasks;c.forEach(function(d){return co(d,f,s)}),c.clear(),f.destination!==null&&ii(f,f.destination)}catch(d){qa(f,d),ha(f,d)}}function zl(f,s){return new Promise(function(c,d){var y,L,F=new Promise(function(St,nr){L=St,y=nr});function U(){var St=new ReadableStream({type:"bytes",pull:function(nr){bf(Ce,nr)},cancel:function(nr){Au(Ce)}},{highWaterMark:0});St.allReady=F,c(St)}function ie(St){F.catch(function(){}),d(St)}var Ce=Ml(f,Sn(s?s.identifierPrefix:void 0,s?s.nonce:void 0,s?s.bootstrapScriptContent:void 0,s?s.bootstrapScripts:void 0,s?s.bootstrapModules:void 0),di(s?s.namespaceURI:void 0),s?s.progressiveChunkSize:void 0,s?s.onError:void 0,L,U,ie,y);if(s&&s.signal){var Ve=s.signal,it=function(){Au(Ce,Ve.reason),Ve.removeEventListener("abort",it)};Ve.addEventListener("abort",it)}Yi(Ce)})}Bd.renderToReadableStream=zl,Bd.version=e}()),Bd}var cy;function rO(){if(cy)return Vl;cy=1;var r,e;return process.env.NODE_ENV==="production"?(r=JD(),e=QD()):(r=eO(),e=tO()),Vl.version=r.version,Vl.renderToString=r.renderToString,Vl.renderToStaticMarkup=r.renderToStaticMarkup,Vl.renderToNodeStream=r.renderToNodeStream,Vl.renderToStaticNodeStream=r.renderToStaticNodeStream,Vl.renderToReadableStream=e.renderToReadableStream,Vl}var nO=rO();const Ps=ol(nO);var fp,uy;function iO(){if(uy)return fp;uy=1;function r(){this.__data__=[],this.size=0}return fp=r,fp}var dp,fy;function Qx(){if(fy)return dp;fy=1;function r(e,t){return e===t||e!==e&&t!==t}return dp=r,dp}var hp,dy;function ph(){if(dy)return hp;dy=1;var r=Qx();function e(t,n){for(var i=t.length;i--;)if(r(t[i][0],n))return i;return-1}return hp=e,hp}var pp,hy;function oO(){if(hy)return pp;hy=1;var r=ph(),e=Array.prototype,t=e.splice;function n(i){var l=this.__data__,u=r(l,i);if(u<0)return!1;var h=l.length-1;return u==h?l.pop():t.call(l,u,1),--this.size,!0}return pp=n,pp}var gp,py;function sO(){if(py)return gp;py=1;var r=ph();function e(t){var n=this.__data__,i=r(n,t);return i<0?void 0:n[i][1]}return gp=e,gp}var mp,gy;function aO(){if(gy)return mp;gy=1;var r=ph();function e(t){return r(this.__data__,t)>-1}return mp=e,mp}var vp,my;function lO(){if(my)return vp;my=1;var r=ph();function e(t,n){var i=this.__data__,l=r(i,t);return l<0?(++this.size,i.push([t,n])):i[l][1]=n,this}return vp=e,vp}var yp,vy;function gh(){if(vy)return yp;vy=1;var r=iO(),e=oO(),t=sO(),n=aO(),i=lO();function l(u){var h=-1,g=u==null?0:u.length;for(this.clear();++h<g;){var m=u[h];this.set(m[0],m[1])}}return l.prototype.clear=r,l.prototype.delete=e,l.prototype.get=t,l.prototype.has=n,l.prototype.set=i,yp=l,yp}var bp,yy;function cO(){if(yy)return bp;yy=1;var r=gh();function e(){this.__data__=new r,this.size=0}return bp=e,bp}var _p,by;function uO(){if(by)return _p;by=1;function r(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}return _p=r,_p}var xp,_y;function fO(){if(_y)return xp;_y=1;function r(e){return this.__data__.get(e)}return xp=r,xp}var Sp,xy;function dO(){if(xy)return Sp;xy=1;function r(e){return this.__data__.has(e)}return Sp=r,Sp}var Cp,Sy;function eS(){if(Sy)return Cp;Sy=1;var r=typeof yi=="object"&&yi&&yi.Object===Object&&yi;return Cp=r,Cp}var wp,Cy;function ll(){if(Cy)return wp;Cy=1;var r=eS(),e=typeof self=="object"&&self&&self.Object===Object&&self,t=r||e||Function("return this")();return wp=t,wp}var Ap,wy;function jm(){if(wy)return Ap;wy=1;var r=ll(),e=r.Symbol;return Ap=e,Ap}var Tp,Ay;function hO(){if(Ay)return Tp;Ay=1;var r=jm(),e=Object.prototype,t=e.hasOwnProperty,n=e.toString,i=r?r.toStringTag:void 0;function l(u){var h=t.call(u,i),g=u[i];try{u[i]=void 0;var m=!0}catch{}var M=n.call(u);return m&&(h?u[i]=g:delete u[i]),M}return Tp=l,Tp}var Ep,Ty;function pO(){if(Ty)return Ep;Ty=1;var r=Object.prototype,e=r.toString;function t(n){return e.call(n)}return Ep=t,Ep}var kp,Ey;function mh(){if(Ey)return kp;Ey=1;var r=jm(),e=hO(),t=pO(),n="[object Null]",i="[object Undefined]",l=r?r.toStringTag:void 0;function u(h){return h==null?h===void 0?i:n:l&&l in Object(h)?e(h):t(h)}return kp=u,kp}var Rp,ky;function tS(){if(ky)return Rp;ky=1;function r(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}return Rp=r,Rp}var Ip,Ry;function rS(){if(Ry)return Ip;Ry=1;var r=mh(),e=tS(),t="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",l="[object Proxy]";function u(h){if(!e(h))return!1;var g=r(h);return g==n||g==i||g==t||g==l}return Ip=u,Ip}var Lp,Iy;function gO(){if(Iy)return Lp;Iy=1;var r=ll(),e=r["__core-js_shared__"];return Lp=e,Lp}var Mp,Ly;function mO(){if(Ly)return Mp;Ly=1;var r=gO(),e=function(){var n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function t(n){return!!e&&e in n}return Mp=t,Mp}var Dp,My;function nS(){if(My)return Dp;My=1;var r=Function.prototype,e=r.toString;function t(n){if(n!=null){try{return e.call(n)}catch{}try{return n+""}catch{}}return""}return Dp=t,Dp}var Op,Dy;function vO(){if(Dy)return Op;Dy=1;var r=rS(),e=mO(),t=tS(),n=nS(),i=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,h=Object.prototype,g=u.toString,m=h.hasOwnProperty,M=RegExp("^"+g.call(m).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function T(C){if(!t(C)||e(C))return!1;var _=r(C)?M:l;return _.test(n(C))}return Op=T,Op}var Pp,Oy;function yO(){if(Oy)return Pp;Oy=1;function r(e,t){return e==null?void 0:e[t]}return Pp=r,Pp}var Np,Py;function Qu(){if(Py)return Np;Py=1;var r=vO(),e=yO();function t(n,i){var l=e(n,i);return r(l)?l:void 0}return Np=t,Np}var jp,Ny;function Fm(){if(Ny)return jp;Ny=1;var r=Qu(),e=ll(),t=r(e,"Map");return jp=t,jp}var Fp,jy;function vh(){if(jy)return Fp;jy=1;var r=Qu(),e=r(Object,"create");return Fp=e,Fp}var Bp,Fy;function bO(){if(Fy)return Bp;Fy=1;var r=vh();function e(){this.__data__=r?r(null):{},this.size=0}return Bp=e,Bp}var Hp,By;function _O(){if(By)return Hp;By=1;function r(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}return Hp=r,Hp}var qp,Hy;function xO(){if(Hy)return qp;Hy=1;var r=vh(),e="__lodash_hash_undefined__",t=Object.prototype,n=t.hasOwnProperty;function i(l){var u=this.__data__;if(r){var h=u[l];return h===e?void 0:h}return n.call(u,l)?u[l]:void 0}return qp=i,qp}var zp,qy;function SO(){if(qy)return zp;qy=1;var r=vh(),e=Object.prototype,t=e.hasOwnProperty;function n(i){var l=this.__data__;return r?l[i]!==void 0:t.call(l,i)}return zp=n,zp}var $p,zy;function CO(){if(zy)return $p;zy=1;var r=vh(),e="__lodash_hash_undefined__";function t(n,i){var l=this.__data__;return this.size+=this.has(n)?0:1,l[n]=r&&i===void 0?e:i,this}return $p=t,$p}var Up,$y;function wO(){if($y)return Up;$y=1;var r=bO(),e=_O(),t=xO(),n=SO(),i=CO();function l(u){var h=-1,g=u==null?0:u.length;for(this.clear();++h<g;){var m=u[h];this.set(m[0],m[1])}}return l.prototype.clear=r,l.prototype.delete=e,l.prototype.get=t,l.prototype.has=n,l.prototype.set=i,Up=l,Up}var Wp,Uy;function AO(){if(Uy)return Wp;Uy=1;var r=wO(),e=gh(),t=Fm();function n(){this.size=0,this.__data__={hash:new r,map:new(t||e),string:new r}}return Wp=n,Wp}var Vp,Wy;function TO(){if(Wy)return Vp;Wy=1;function r(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}return Vp=r,Vp}var Gp,Vy;function yh(){if(Vy)return Gp;Vy=1;var r=TO();function e(t,n){var i=t.__data__;return r(n)?i[typeof n=="string"?"string":"hash"]:i.map}return Gp=e,Gp}var Zp,Gy;function EO(){if(Gy)return Zp;Gy=1;var r=yh();function e(t){var n=r(this,t).delete(t);return this.size-=n?1:0,n}return Zp=e,Zp}var Yp,Zy;function kO(){if(Zy)return Yp;Zy=1;var r=yh();function e(t){return r(this,t).get(t)}return Yp=e,Yp}var Kp,Yy;function RO(){if(Yy)return Kp;Yy=1;var r=yh();function e(t){return r(this,t).has(t)}return Kp=e,Kp}var Xp,Ky;function IO(){if(Ky)return Xp;Ky=1;var r=yh();function e(t,n){var i=r(this,t),l=i.size;return i.set(t,n),this.size+=i.size==l?0:1,this}return Xp=e,Xp}var Jp,Xy;function iS(){if(Xy)return Jp;Xy=1;var r=AO(),e=EO(),t=kO(),n=RO(),i=IO();function l(u){var h=-1,g=u==null?0:u.length;for(this.clear();++h<g;){var m=u[h];this.set(m[0],m[1])}}return l.prototype.clear=r,l.prototype.delete=e,l.prototype.get=t,l.prototype.has=n,l.prototype.set=i,Jp=l,Jp}var Qp,Jy;function LO(){if(Jy)return Qp;Jy=1;var r=gh(),e=Fm(),t=iS(),n=200;function i(l,u){var h=this.__data__;if(h instanceof r){var g=h.__data__;if(!e||g.length<n-1)return g.push([l,u]),this.size=++h.size,this;h=this.__data__=new t(g)}return h.set(l,u),this.size=h.size,this}return Qp=i,Qp}var eg,Qy;function MO(){if(Qy)return eg;Qy=1;var r=gh(),e=cO(),t=uO(),n=fO(),i=dO(),l=LO();function u(h){var g=this.__data__=new r(h);this.size=g.size}return u.prototype.clear=e,u.prototype.delete=t,u.prototype.get=n,u.prototype.has=i,u.prototype.set=l,eg=u,eg}var tg,eb;function DO(){if(eb)return tg;eb=1;var r="__lodash_hash_undefined__";function e(t){return this.__data__.set(t,r),this}return tg=e,tg}var rg,tb;function OO(){if(tb)return rg;tb=1;function r(e){return this.__data__.has(e)}return rg=r,rg}var ng,rb;function PO(){if(rb)return ng;rb=1;var r=iS(),e=DO(),t=OO();function n(i){var l=-1,u=i==null?0:i.length;for(this.__data__=new r;++l<u;)this.add(i[l])}return n.prototype.add=n.prototype.push=e,n.prototype.has=t,ng=n,ng}var ig,nb;function NO(){if(nb)return ig;nb=1;function r(e,t){for(var n=-1,i=e==null?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}return ig=r,ig}var og,ib;function jO(){if(ib)return og;ib=1;function r(e,t){return e.has(t)}return og=r,og}var sg,ob;function oS(){if(ob)return sg;ob=1;var r=PO(),e=NO(),t=jO(),n=1,i=2;function l(u,h,g,m,M,T){var C=g&n,_=u.length,S=h.length;if(_!=S&&!(C&&S>_))return!1;var D=T.get(u),A=T.get(h);if(D&&A)return D==h&&A==u;var b=-1,R=!0,O=g&i?new r:void 0;for(T.set(u,h),T.set(h,u);++b<_;){var q=u[b],H=h[b];if(m)var G=C?m(H,q,b,h,u,T):m(q,H,b,u,h,T);if(G!==void 0){if(G)continue;R=!1;break}if(O){if(!e(h,function(Y,de){if(!t(O,de)&&(q===Y||M(q,Y,g,m,T)))return O.push(de)})){R=!1;break}}else if(!(q===H||M(q,H,g,m,T))){R=!1;break}}return T.delete(u),T.delete(h),R}return sg=l,sg}var ag,sb;function FO(){if(sb)return ag;sb=1;var r=ll(),e=r.Uint8Array;return ag=e,ag}var lg,ab;function BO(){if(ab)return lg;ab=1;function r(e){var t=-1,n=Array(e.size);return e.forEach(function(i,l){n[++t]=[l,i]}),n}return lg=r,lg}var cg,lb;function HO(){if(lb)return cg;lb=1;function r(e){var t=-1,n=Array(e.size);return e.forEach(function(i){n[++t]=i}),n}return cg=r,cg}var ug,cb;function qO(){if(cb)return ug;cb=1;var r=jm(),e=FO(),t=Qx(),n=oS(),i=BO(),l=HO(),u=1,h=2,g="[object Boolean]",m="[object Date]",M="[object Error]",T="[object Map]",C="[object Number]",_="[object RegExp]",S="[object Set]",D="[object String]",A="[object Symbol]",b="[object ArrayBuffer]",R="[object DataView]",O=r?r.prototype:void 0,q=O?O.valueOf:void 0;function H(G,Y,de,X,ue,P,re){switch(de){case R:if(G.byteLength!=Y.byteLength||G.byteOffset!=Y.byteOffset)return!1;G=G.buffer,Y=Y.buffer;case b:return!(G.byteLength!=Y.byteLength||!P(new e(G),new e(Y)));case g:case m:case C:return t(+G,+Y);case M:return G.name==Y.name&&G.message==Y.message;case _:case D:return G==Y+"";case T:var J=i;case S:var ne=X&u;if(J||(J=l),G.size!=Y.size&&!ne)return!1;var oe=re.get(G);if(oe)return oe==Y;X|=h,re.set(G,Y);var ce=n(J(G),J(Y),X,ue,P,re);return re.delete(G),ce;case A:if(q)return q.call(G)==q.call(Y)}return!1}return ug=H,ug}var fg,ub;function zO(){if(ub)return fg;ub=1;function r(e,t){for(var n=-1,i=t.length,l=e.length;++n<i;)e[l+n]=t[n];return e}return fg=r,fg}var dg,fb;function Bm(){if(fb)return dg;fb=1;var r=Array.isArray;return dg=r,dg}var hg,db;function $O(){if(db)return hg;db=1;var r=zO(),e=Bm();function t(n,i,l){var u=i(n);return e(n)?u:r(u,l(n))}return hg=t,hg}var pg,hb;function UO(){if(hb)return pg;hb=1;function r(e,t){for(var n=-1,i=e==null?0:e.length,l=0,u=[];++n<i;){var h=e[n];t(h,n,e)&&(u[l++]=h)}return u}return pg=r,pg}var gg,pb;function WO(){if(pb)return gg;pb=1;function r(){return[]}return gg=r,gg}var mg,gb;function VO(){if(gb)return mg;gb=1;var r=UO(),e=WO(),t=Object.prototype,n=t.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(u){return u==null?[]:(u=Object(u),r(i(u),function(h){return n.call(u,h)}))}:e;return mg=l,mg}var vg,mb;function GO(){if(mb)return vg;mb=1;function r(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}return vg=r,vg}var yg,vb;function bh(){if(vb)return yg;vb=1;function r(e){return e!=null&&typeof e=="object"}return yg=r,yg}var bg,yb;function ZO(){if(yb)return bg;yb=1;var r=mh(),e=bh(),t="[object Arguments]";function n(i){return e(i)&&r(i)==t}return bg=n,bg}var _g,bb;function YO(){if(bb)return _g;bb=1;var r=ZO(),e=bh(),t=Object.prototype,n=t.hasOwnProperty,i=t.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(u){return e(u)&&n.call(u,"callee")&&!i.call(u,"callee")};return _g=l,_g}var Ff={exports:{}},xg,_b;function KO(){if(_b)return xg;_b=1;function r(){return!1}return xg=r,xg}Ff.exports;var xb;function sS(){return xb||(xb=1,function(r,e){var t=ll(),n=KO(),i=e&&!e.nodeType&&e,l=i&&!0&&r&&!r.nodeType&&r,u=l&&l.exports===i,h=u?t.Buffer:void 0,g=h?h.isBuffer:void 0,m=g||n;r.exports=m}(Ff,Ff.exports)),Ff.exports}var Sg,Sb;function XO(){if(Sb)return Sg;Sb=1;var r=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function t(n,i){var l=typeof n;return i=i??r,!!i&&(l=="number"||l!="symbol"&&e.test(n))&&n>-1&&n%1==0&&n<i}return Sg=t,Sg}var Cg,Cb;function aS(){if(Cb)return Cg;Cb=1;var r=9007199254740991;function e(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=r}return Cg=e,Cg}var wg,wb;function JO(){if(wb)return wg;wb=1;var r=mh(),e=aS(),t=bh(),n="[object Arguments]",i="[object Array]",l="[object Boolean]",u="[object Date]",h="[object Error]",g="[object Function]",m="[object Map]",M="[object Number]",T="[object Object]",C="[object RegExp]",_="[object Set]",S="[object String]",D="[object WeakMap]",A="[object ArrayBuffer]",b="[object DataView]",R="[object Float32Array]",O="[object Float64Array]",q="[object Int8Array]",H="[object Int16Array]",G="[object Int32Array]",Y="[object Uint8Array]",de="[object Uint8ClampedArray]",X="[object Uint16Array]",ue="[object Uint32Array]",P={};P[R]=P[O]=P[q]=P[H]=P[G]=P[Y]=P[de]=P[X]=P[ue]=!0,P[n]=P[i]=P[A]=P[l]=P[b]=P[u]=P[h]=P[g]=P[m]=P[M]=P[T]=P[C]=P[_]=P[S]=P[D]=!1;function re(J){return t(J)&&e(J.length)&&!!P[r(J)]}return wg=re,wg}var Ag,Ab;function QO(){if(Ab)return Ag;Ab=1;function r(e){return function(t){return e(t)}}return Ag=r,Ag}var Bf={exports:{}};Bf.exports;var Tb;function eP(){return Tb||(Tb=1,function(r,e){var t=eS(),n=e&&!e.nodeType&&e,i=n&&!0&&r&&!r.nodeType&&r,l=i&&i.exports===n,u=l&&t.process,h=function(){try{var g=i&&i.require&&i.require("util").types;return g||u&&u.binding&&u.binding("util")}catch{}}();r.exports=h}(Bf,Bf.exports)),Bf.exports}var Tg,Eb;function lS(){if(Eb)return Tg;Eb=1;var r=JO(),e=QO(),t=eP(),n=t&&t.isTypedArray,i=n?e(n):r;return Tg=i,Tg}var Eg,kb;function tP(){if(kb)return Eg;kb=1;var r=GO(),e=YO(),t=Bm(),n=sS(),i=XO(),l=lS(),u=Object.prototype,h=u.hasOwnProperty;function g(m,M){var T=t(m),C=!T&&e(m),_=!T&&!C&&n(m),S=!T&&!C&&!_&&l(m),D=T||C||_||S,A=D?r(m.length,String):[],b=A.length;for(var R in m)(M||h.call(m,R))&&!(D&&(R=="length"||_&&(R=="offset"||R=="parent")||S&&(R=="buffer"||R=="byteLength"||R=="byteOffset")||i(R,b)))&&A.push(R);return A}return Eg=g,Eg}var kg,Rb;function rP(){if(Rb)return kg;Rb=1;var r=Object.prototype;function e(t){var n=t&&t.constructor,i=typeof n=="function"&&n.prototype||r;return t===i}return kg=e,kg}var Rg,Ib;function nP(){if(Ib)return Rg;Ib=1;function r(e,t){return function(n){return e(t(n))}}return Rg=r,Rg}var Ig,Lb;function iP(){if(Lb)return Ig;Lb=1;var r=nP(),e=r(Object.keys,Object);return Ig=e,Ig}var Lg,Mb;function oP(){if(Mb)return Lg;Mb=1;var r=rP(),e=iP(),t=Object.prototype,n=t.hasOwnProperty;function i(l){if(!r(l))return e(l);var u=[];for(var h in Object(l))n.call(l,h)&&h!="constructor"&&u.push(h);return u}return Lg=i,Lg}var Mg,Db;function sP(){if(Db)return Mg;Db=1;var r=rS(),e=aS();function t(n){return n!=null&&e(n.length)&&!r(n)}return Mg=t,Mg}var Dg,Ob;function aP(){if(Ob)return Dg;Ob=1;var r=tP(),e=oP(),t=sP();function n(i){return t(i)?r(i):e(i)}return Dg=n,Dg}var Og,Pb;function lP(){if(Pb)return Og;Pb=1;var r=$O(),e=VO(),t=aP();function n(i){return r(i,t,e)}return Og=n,Og}var Pg,Nb;function cP(){if(Nb)return Pg;Nb=1;var r=lP(),e=1,t=Object.prototype,n=t.hasOwnProperty;function i(l,u,h,g,m,M){var T=h&e,C=r(l),_=C.length,S=r(u),D=S.length;if(_!=D&&!T)return!1;for(var A=_;A--;){var b=C[A];if(!(T?b in u:n.call(u,b)))return!1}var R=M.get(l),O=M.get(u);if(R&&O)return R==u&&O==l;var q=!0;M.set(l,u),M.set(u,l);for(var H=T;++A<_;){b=C[A];var G=l[b],Y=u[b];if(g)var de=T?g(Y,G,b,u,l,M):g(G,Y,b,l,u,M);if(!(de===void 0?G===Y||m(G,Y,h,g,M):de)){q=!1;break}H||(H=b=="constructor")}if(q&&!H){var X=l.constructor,ue=u.constructor;X!=ue&&"constructor"in l&&"constructor"in u&&!(typeof X=="function"&&X instanceof X&&typeof ue=="function"&&ue instanceof ue)&&(q=!1)}return M.delete(l),M.delete(u),q}return Pg=i,Pg}var Ng,jb;function uP(){if(jb)return Ng;jb=1;var r=Qu(),e=ll(),t=r(e,"DataView");return Ng=t,Ng}var jg,Fb;function fP(){if(Fb)return jg;Fb=1;var r=Qu(),e=ll(),t=r(e,"Promise");return jg=t,jg}var Fg,Bb;function dP(){if(Bb)return Fg;Bb=1;var r=Qu(),e=ll(),t=r(e,"Set");return Fg=t,Fg}var Bg,Hb;function hP(){if(Hb)return Bg;Hb=1;var r=Qu(),e=ll(),t=r(e,"WeakMap");return Bg=t,Bg}var Hg,qb;function pP(){if(qb)return Hg;qb=1;var r=uP(),e=Fm(),t=fP(),n=dP(),i=hP(),l=mh(),u=nS(),h="[object Map]",g="[object Object]",m="[object Promise]",M="[object Set]",T="[object WeakMap]",C="[object DataView]",_=u(r),S=u(e),D=u(t),A=u(n),b=u(i),R=l;return(r&&R(new r(new ArrayBuffer(1)))!=C||e&&R(new e)!=h||t&&R(t.resolve())!=m||n&&R(new n)!=M||i&&R(new i)!=T)&&(R=function(O){var q=l(O),H=q==g?O.constructor:void 0,G=H?u(H):"";if(G)switch(G){case _:return C;case S:return h;case D:return m;case A:return M;case b:return T}return q}),Hg=R,Hg}var qg,zb;function gP(){if(zb)return qg;zb=1;var r=MO(),e=oS(),t=qO(),n=cP(),i=pP(),l=Bm(),u=sS(),h=lS(),g=1,m="[object Arguments]",M="[object Array]",T="[object Object]",C=Object.prototype,_=C.hasOwnProperty;function S(D,A,b,R,O,q){var H=l(D),G=l(A),Y=H?M:i(D),de=G?M:i(A);Y=Y==m?T:Y,de=de==m?T:de;var X=Y==T,ue=de==T,P=Y==de;if(P&&u(D)){if(!u(A))return!1;H=!0,X=!1}if(P&&!X)return q||(q=new r),H||h(D)?e(D,A,b,R,O,q):t(D,A,Y,b,R,O,q);if(!(b&g)){var re=X&&_.call(D,"__wrapped__"),J=ue&&_.call(A,"__wrapped__");if(re||J){var ne=re?D.value():D,oe=J?A.value():A;return q||(q=new r),O(ne,oe,b,R,q)}}return P?(q||(q=new r),n(D,A,b,R,O,q)):!1}return qg=S,qg}var zg,$b;function mP(){if($b)return zg;$b=1;var r=gP(),e=bh();function t(n,i,l,u,h){return n===i?!0:n==null||i==null||!e(n)&&!e(i)?n!==n&&i!==i:r(n,i,l,u,t,h)}return zg=t,zg}var $g,Ub;function vP(){if(Ub)return $g;Ub=1;var r=mP();function e(t,n){return r(t,n)}return $g=e,$g}var yP=vP();const Lf=ol(yP);class _h extends k.Component{constructor(e){super(e),this.editingAreaRef=k.createRef(),this.dirtyProps=["modules","formats","bounds","theme","children"],this.cleanProps=["id","className","style","placeholder","tabIndex","onChange","onChangeSelection","onFocus","onBlur","onKeyPress","onKeyDown","onKeyUp"],this.state={generation:0},this.selection=null,this.onEditorChange=(n,i,l,u)=>{var h,g;n==="text-change"?(h=this.onEditorChangeText)==null||h.call(this,this.editor.root.innerHTML,i,u,this.unprivilegedEditor):n==="selection-change"&&((g=this.onEditorChangeSelection)==null||g.call(this,i,u,this.unprivilegedEditor))};const t=this.isControlled()?e.value:e.defaultValue;this.value=t??""}validateProps(e){if(k.Children.count(e.children)>1)throw new Error("The Quill editing area can only be composed of a single React element.");if(k.Children.count(e.children)){const t=k.Children.only(e.children);if((t==null?void 0:t.type)==="textarea")throw new Error("Quill does not support editing on a <textarea>. Use a <div> instead.")}if(this.lastDeltaChangeSet&&e.value===this.lastDeltaChangeSet)throw new Error("You are passing the `delta` object from the `onChange` event back as `value`. You most probably want `editor.getContents()` instead. See: https://github.com/zenoamaro/react-quill#using-deltas")}shouldComponentUpdate(e,t){if(this.validateProps(e),!this.editor||this.state.generation!==t.generation)return!0;if("value"in e){const n=this.getEditorContents(),i=e.value??"";this.isEqualValue(i,n)||this.setEditorContents(this.editor,i)}return e.readOnly!==this.props.readOnly&&this.setEditorReadOnly(this.editor,e.readOnly),[...this.cleanProps,...this.dirtyProps].some(n=>!Lf(e[n],this.props[n]))}shouldComponentRegenerate(e){return this.dirtyProps.some(t=>!Lf(e[t],this.props[t]))}componentDidMount(){this.instantiateEditor(),this.setEditorContents(this.editor,this.getEditorContents())}componentWillUnmount(){this.destroyEditor()}componentDidUpdate(e,t){if(this.editor&&this.shouldComponentRegenerate(e)){const n=this.editor.getContents(),i=this.editor.getSelection();this.regenerationSnapshot={delta:n,selection:i},this.setState({generation:this.state.generation+1}),this.destroyEditor()}if(this.state.generation!==t.generation){const{delta:n,selection:i}=this.regenerationSnapshot;delete this.regenerationSnapshot,this.instantiateEditor();const l=this.editor;l.setContents(n),Wb(()=>this.setEditorSelection(l,i))}}instantiateEditor(){this.editor?this.hookEditor(this.editor):this.editor=this.createEditor(this.getEditingArea(),this.getEditorConfig())}destroyEditor(){this.editor&&this.unhookEditor(this.editor)}isControlled(){return"value"in this.props}getEditorConfig(){return{bounds:this.props.bounds,formats:this.props.formats,modules:this.props.modules,placeholder:this.props.placeholder,readOnly:this.props.readOnly,tabIndex:this.props.tabIndex,theme:this.props.theme}}getEditor(){if(!this.editor)throw new Error("Accessing non-instantiated editor");return this.editor}createEditor(e,t){const n=new Ue(e,t);return t.tabIndex!=null&&this.setEditorTabIndex(n,t.tabIndex),this.hookEditor(n),n}hookEditor(e){this.unprivilegedEditor=this.makeUnprivilegedEditor(e),e.on("editor-change",this.onEditorChange)}unhookEditor(e){e.off("editor-change",this.onEditorChange)}getEditorContents(){return this.value}getEditorSelection(){return this.selection}isDelta(e){return e&&e.ops}isEqualValue(e,t){return this.isDelta(e)&&this.isDelta(t)?Lf(e.ops,t.ops):Lf(e,t)}setEditorContents(e,t){this.value=t;const n=this.getEditorSelection();typeof t=="string"?e.setContents(e.clipboard.convert({html:t})):e.setContents(t),Wb(()=>this.setEditorSelection(e,n))}setEditorSelection(e,t){if(this.selection=t,t){const n=e.getLength();t.index=Math.max(0,Math.min(t.index,n-1)),t.length=Math.max(0,Math.min(t.length,n-1-t.index)),e.setSelection(t)}}setEditorTabIndex(e,t){var n;(n=e==null?void 0:e.scroll)!=null&&n.domNode&&(e.scroll.domNode.tabIndex=t)}setEditorReadOnly(e,t){t?e.disable():e.enable()}makeUnprivilegedEditor(e){const t=e;return{getHTML:()=>t.root.innerHTML,getSemanticHTML:t.getSemanticHTML.bind(t),getLength:t.getLength.bind(t),getText:t.getText.bind(t),getContents:t.getContents.bind(t),getSelection:t.getSelection.bind(t),getBounds:t.getBounds.bind(t)}}getEditingArea(){const e=this.editingAreaRef.current;if(!e)throw new Error("Cannot find element for editing area");if(e.nodeType===3)throw new Error("Editing area cannot be a text node");return e}renderEditingArea(){const{children:e,preserveWhitespace:t}=this.props,{generation:n}=this.state,i={key:n,ref:this.editingAreaRef};return k.Children.count(e)?k.cloneElement(k.Children.only(e),i):t?k.createElement("pre",{...i}):k.createElement("div",{...i})}render(){return k.createElement("div",{id:this.props.id,style:this.props.style,key:this.state.generation,className:`quill ${this.props.className??""}`,onKeyPress:this.props.onKeyPress,onKeyDown:this.props.onKeyDown,onKeyUp:this.props.onKeyUp},this.renderEditingArea())}onEditorChangeText(e,t,n,i){var u,h;if(!this.editor)return;const l=this.isDelta(this.value)?i.getContents():i.getHTML();l!==this.getEditorContents()&&(this.lastDeltaChangeSet=t,this.value=l,(h=(u=this.props).onChange)==null||h.call(u,e,t,n,i))}onEditorChangeSelection(e,t,n){var h,g,m,M,T,C;if(!this.editor)return;const i=this.getEditorSelection(),l=!i&&e,u=i&&!e;Lf(e,i)||(this.selection=e,(g=(h=this.props).onChangeSelection)==null||g.call(h,e,t,n),l?(M=(m=this.props).onFocus)==null||M.call(m,e,t,n):u&&((C=(T=this.props).onBlur)==null||C.call(T,i,t,n)))}focus(){this.editor&&this.editor.focus()}blur(){this.editor&&(this.selection=null,this.editor.blur())}}_h.displayName="React Quill";_h.Quill=Ue;_h.defaultProps={theme:"snow",modules:{},readOnly:!1};function Wb(r){Promise.resolve().then(r)}const bP="_AEditorWrapper_m0zwk_1",_P="_AEditorContainer_m0zwk_7",xP="_AEditor_m0zwk_1",SP="_Primary_m0zwk_466",CP="_ReadOnly_m0zwk_536",wP="_Raw_m0zwk_683",AP="_LimitContainer_m0zwk_697",TP="_Limit_m0zwk_697",EP="_Indicator_m0zwk_713",kP="_Resizer_m0zwk_719",Nn={AEditorWrapper:bP,AEditorContainer:_P,AEditor:xP,Primary:SP,ReadOnly:CP,Error:"_Error_m0zwk_613",Raw:wP,LimitContainer:AP,Limit:TP,Indicator:EP,Resizer:kP,"ql-tablepicker-row":"_ql-tablepicker-row_m0zwk_754","ql-tablepicker-cell":"_ql-tablepicker-cell_m0zwk_757","ql-tablepicker-grid":"_ql-tablepicker-grid_m0zwk_765","ql-tablepicker-inner-cell":"_ql-tablepicker-inner-cell_m0zwk_769","ql-tablepicker-options":"_ql-tablepicker-options_m0zwk_778","ql-tablepicker-tooltip":"_ql-tablepicker-tooltip_m0zwk_789","ql-tableui-options":"_ql-tableui-options_m0zwk_808","ql-tableui-options__item":"_ql-tableui-options__item_m0zwk_820","ql-tableui-options__item-icon":"_ql-tableui-options__item-icon_m0zwk_839","ql-tableui-options__item-text":"_ql-tableui-options__item-text_m0zwk_844","ql-tableui-helper":"_ql-tableui-helper_m0zwk_848","ql-tableui-helper__icon":"_ql-tableui-helper__icon_m0zwk_860","ql-tableui-helper__text":"_ql-tableui-helper__text_m0zwk_870"};class RP{constructor(e){at(this,"quill");at(this,"picker",null);at(this,"tooltip",null);at(this,"toolbar",null);at(this,"tableButton",null);at(this,"CONSTANTS",{MAX_ROWS:10,MAX_COLS:10,CELL_SIZE:18,SPACING:5,PICKER_PADDING:20});at(this,"CLASSNAMES",{tooltip:Nn["ql-tablepicker-tooltip"],grid:Nn["ql-tablepicker-grid"],row:Nn["ql-tablepicker-row"],cell:Nn["ql-tablepicker-cell"],innerCell:Nn["ql-tablepicker-inner-cell"],options:Nn["ql-tablepicker-options"]});at(this,"COLORS",{highlight:"var(--AEditor_Addon_hover_color)",normal:"var(--AEditor_Addon_Primary_background-color)",border:"1px solid var(--AEditor_Addon_Primary_color)"});at(this,"boundHandlers",{globalClick:this.handleGlobalClick.bind(this),tableButtonClick:this.handleTableButtonClick.bind(this),gridMouseOver:this.handleGridMouseOver.bind(this),gridMouseOut:this.handleGridMouseOut.bind(this),gridClick:this.handleGridClick.bind(this),highlightReset:()=>this.highlightCells(0,0)});this.quill=e,this.initializeTablePicker(),document.addEventListener("click",this.boundHandlers.globalClick)}destroy(){document.removeEventListener("click",this.boundHandlers.globalClick),this.tableButton&&this.tableButton.removeEventListener("click",this.boundHandlers.tableButtonClick),this.hidePicker()}handleGlobalClick(e){if(!this.picker)return;const t=e.target;this.isTableButtonOrPicker(t)||this.hidePicker()}isTableButtonOrPicker(e){return!!e.closest("button.ql-table")||!!e.closest(`.${this.CLASSNAMES.options}`)}initializeTablePicker(){if(this.toolbar=this.quill.getModule("toolbar"),this.tableButton=this.toolbar.container.querySelector("button.ql-table"),!this.tableButton){console.warn("Table button not found");return}this.toolbar.handlers.table=()=>{},this.tableButton.addEventListener("click",this.boundHandlers.tableButtonClick)}handleTableButtonClick(e){if(e.preventDefault(),e.stopPropagation(),this.picker&&document.body.contains(this.picker)){this.hidePicker();return}this.showTablePicker(e.target)}createElement(e,t){const n=document.createElement("div");return n.className=e,t&&(n.textContent=t),n}showTablePicker(e){this.hidePicker(),this.closeOtherOptions();const t=e.closest("button.ql-table");t&&t.classList.add("ql-expanded"),this.createPicker(e)}closeOtherOptions(){document.querySelectorAll(".ql-picker.ql-expanded").forEach(e=>{e.classList.remove("ql-expanded")})}createPicker(e){const t=document.createDocumentFragment();this.picker=this.createElement(this.CLASSNAMES.options);const n=this.createGrid();t.appendChild(n),this.picker.appendChild(t),this.positionPicker(e),document.body.appendChild(this.picker),this.picker.addEventListener("mouseover",this.boundHandlers.gridMouseOver),this.picker.addEventListener("mouseout",this.boundHandlers.gridMouseOut),this.picker.addEventListener("click",this.boundHandlers.gridClick),this.picker.addEventListener("mouseleave",this.boundHandlers.highlightReset)}handleGridMouseOver(e){const t=this.findTargetCell(e);if(!t)return;const[n,i]=this.getCellCoordinates(t);this.highlightCells(n+1,i+1),this.showTooltip(t,n+1,i+1)}handleGridMouseOut(e){var t;(t=this.picker)!=null&&t.contains(e.relatedTarget)||this.removeTooltip()}handleGridClick(e){const t=this.findTargetCell(e);if(!t)return;const[n,i]=this.getCellCoordinates(t);this.insertTable(n+1,i+1),this.removeTooltip(),this.hidePicker()}findTargetCell(e){return e.target.closest(`.${this.CLASSNAMES.cell}`)}getCellCoordinates(e){const t=parseInt(e.getAttribute("data-row")||"0",10),n=parseInt(e.getAttribute("data-col")||"0",10);return[t,n]}createGrid(){const e=this.createElement(this.CLASSNAMES.grid),t=document.createDocumentFragment(),{MAX_ROWS:n,MAX_COLS:i}=this.CONSTANTS;for(let l=0;l<n;l++){const u=this.createElement(this.CLASSNAMES.row);for(let h=0;h<i;h++){const g=this.createElement(this.CLASSNAMES.cell),m=this.createElement(this.CLASSNAMES.innerCell);g.setAttribute("data-row",l.toString()),g.setAttribute("data-col",h.toString()),g.appendChild(m),u.appendChild(g)}t.appendChild(u)}return e.appendChild(t),e}showTooltip(e,t,n){this.removeTooltip(),this.tooltip=this.createElement(this.CLASSNAMES.tooltip,`${t}×${n}`),document.body.appendChild(this.tooltip);const{top:i,left:l}=this.calculateTooltipPosition(e,this.tooltip);this.tooltip.style.top=`${i}px`,this.tooltip.style.left=`${l}px`}calculateTooltipPosition(e,t){const{SPACING:n}=this.CONSTANTS,i=e.getBoundingClientRect(),l=t.getBoundingClientRect(),u=this.getViewportMetrics();let h=i.top-l.height-n,g=i.left;return h<0&&(h=i.bottom+n),g+l.width>u.width&&(g=u.width-l.width-n),{top:h,left:g}}getViewportMetrics(){return{width:window.innerWidth,height:window.innerHeight,scrollTop:window.scrollY||document.documentElement.scrollTop,scrollLeft:window.scrollX||document.documentElement.scrollLeft}}removeTooltip(){this.tooltip&&(this.tooltip.remove(),this.tooltip=null)}positionPicker(e){if(!this.picker)return;const{CELL_SIZE:t,MAX_ROWS:n,MAX_COLS:i,PICKER_PADDING:l}=this.CONSTANTS,u=e.getBoundingClientRect(),h=this.getViewportMetrics(),g=t*n+l,m=t*i+l,M=this.isElementInViewport(u),{top:T,left:C}=this.calculatePickerPosition(u,M,{pickerWidth:m,pickerHeight:g,viewport:h});this.picker.style.top=`${T}px`,this.picker.style.left=`${C}px`}isElementInViewport(e){const t=this.getViewportMetrics();return e.top>=0&&e.left>=0&&e.bottom<=t.height&&e.right<=t.width}calculatePickerPosition(e,t,n){const{pickerWidth:i,pickerHeight:l,viewport:u}=n,{width:h,height:g,scrollTop:m,scrollLeft:M}=u;let T,C;if(t)T=e.bottom+m,C=e.left+M;else{const _=this.quill.getSelection();if(_){const S=this.quill.getBounds(_.index),D=this.quill.container.getBoundingClientRect();T=D.top+S.bottom+m,C=D.left+S.left+M}else T=(g-l)/2+m,C=(h-i)/2+M}return T+l>g+m&&(T=Math.max(m,T-l-(t?e.height:0))),C+i>h+M&&(C=Math.max(M,h+M-i)),{top:T,left:C}}highlightCells(e,t){if(!this.picker)return;const n=this.picker.querySelectorAll(`.${this.CLASSNAMES.innerCell}`),{NORMAL:i,HIGHLIGHT:l}={NORMAL:this.COLORS.normal,HIGHLIGHT:this.COLORS.highlight};for(let u=0;u<n.length;u++){const h=n[u],g=h.parentElement;if(!g)continue;const[m,M]=this.getCellCoordinates(g);h.style.backgroundColor=m<e&&M<t?l:i}}insertTable(e,t){const n=this.quill.getSelection(!0);if(!n)return;const[i]=this.quill.getLeaf(n.index);if(!i)return;this.prepareInsertionPoint(i,n);const l=this.quill.getModule("table");this.quill.setSelection(n.index,0),l.insertTable(e,t);const u=this.quill.root.querySelector("table:last-of-type");if(u){const h=u.querySelectorAll("td, th");for(let m=0;m<h.length;m++)h[m].style.border=this.COLORS.border;const g=this.quill.getSelection();g&&this.quill.setSelection(g.index,0)}}prepareInsertionPoint(e,t){const n=this.findTableParent(e.parent);if(n){const i=this.quill.getIndex(n)+n.length();this.quill.insertText(i,`
343
+ `,"user"),this.quill.setSelection(i+1,0),t.index=i+1}else{const l=this.quill.getLine(t.index)[0];l&&l.length()>1?(this.quill.insertText(t.index,`
344
+
345
+ `,"user"),t.index+=2):(this.quill.insertText(t.index,`
346
+ `,"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 Lu={},Vb;function IP(){if(Vb)return Lu;Vb=1;var r=Bs;if(process.env.NODE_ENV==="production")Lu.createRoot=r.createRoot,Lu.hydrateRoot=r.hydrateRoot;else{var e=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Lu.createRoot=function(t,n){e.usingClientEntryPoint=!0;try{return r.createRoot(t,n)}finally{e.usingClientEntryPoint=!1}},Lu.hydrateRoot=function(t,n,i){e.usingClientEntryPoint=!0;try{return r.hydrateRoot(t,n,i)}finally{e.usingClientEntryPoint=!1}}}return Lu}var LP=IP();const Gb=ol(LP);class MP{constructor(e,t){at(this,"DEFAULTS",{maxRowCount:-1});at(this,"quill");at(this,"options");at(this,"position",null);at(this,"table");at(this,"selectedCell",null);at(this,"menuRoot",null);at(this,"helperTextElement",null);at(this,"scrollTimeout",null);at(this,"SCROLL_DEBOUNCE_TIME",80);at(this,"lastSelectedCellRef",null);at(this,"boundDocClickHandler",this.hideMenu.bind(this));at(this,"boundEditorChangeHandler",this.editorChangeHandler.bind(this));at(this,"boundContextMenuHandler",this.contextMenuHandler.bind(this));at(this,"boundCopyHandler",this.copyHandler.bind(this));at(this,"boundScrollHandler",this.handleScroll.bind(this));at(this,"boundPasteHandler",this.pasteHandler.bind(this));at(this,"menuItems",[]);at(this,"positionCache",new Map);at(this,"POSITION_CACHE_LIFETIME",1e3);at(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:Ps.renderToString(v.jsx(Fr,{icon:"AddColRight"})),title:hn.AEditor["Insert Column Right"]},{handler:()=>{(!(this.options.maxRowCount!==void 0&&this.options.maxRowCount>0)||this.getColCount()<(this.options.maxRowCount||0))&&this.table.insertColumnLeft()},icon:Ps.renderToString(v.jsx(Fr,{icon:"AddColLeft"})),title:hn.AEditor["Insert Column Left"]},{handler:()=>{this.table.insertRowAbove()},icon:Ps.renderToString(v.jsx(Fr,{icon:"AddRowAbove"})),title:hn.AEditor["Insert Row Top"]},{handler:()=>{this.table.insertRowBelow()},icon:Ps.renderToString(v.jsx(Fr,{icon:"AddRowBelow"})),title:hn.AEditor["Insert Row Bottom"]},{handler:()=>{this.table.deleteColumn()},icon:Ps.renderToString(v.jsx(Fr,{icon:"RemoveCol"})),title:hn.AEditor["Delete Column"]},{handler:()=>{this.table.deleteRow()},icon:Ps.renderToString(v.jsx(Fr,{icon:"RemoveRow"})),title:hn.AEditor["Delete Row"]},{handler:()=>{this.table.deleteTable()},icon:Ps.renderToString(v.jsx(Fr,{icon:"Trash"})),title:hn.AEditor["Delete Table"]}]}overrideTableMethods(){const e=this.table.insertTable;this.table.insertTable=(...n)=>{const i=e.apply(this.table,n),l=this.quill.getSelection();return l&&(this.quill.focus(),setTimeout(()=>this.detectButton(l),0)),i};const t=this.table.deleteTable;this.table.deleteTable=(...n)=>{const i=t.apply(this.table,n);return this.cleanupTableUI(),i}}initializeHelperText(){this.helperTextElement=document.createElement("div"),this.helperTextElement.className=Nn["ql-tableui-helper"];const e=document.createElement("span");e.className=qe.clsx("Caption1",Nn["ql-tableui-helper__text"],"NoSelect"),e.textContent=hn.AEditor["Right click to open properties"];const t=document.createElement("span");t.className=Nn["ql-tableui-helper__icon"],t.innerHTML=Ps.renderToString(v.jsx(Fr,{icon:"MoreHorizontal",size:"xs"})),t.addEventListener("click",n=>{n.preventDefault(),n.stopPropagation(),this.menuRoot?this.hideMenu():this.showMenu()}),this.helperTextElement.appendChild(e),this.helperTextElement.appendChild(t),this.helperTextElement.style.display="none",this.quill.container.appendChild(this.helperTextElement)}attachEventListeners(){this.quill.on("editor-change",this.boundEditorChangeHandler),this.quill.root.addEventListener("contextmenu",this.boundContextMenuHandler),this.quill.root.addEventListener("copy",this.boundCopyHandler),this.quill.root.addEventListener("paste",this.boundPasteHandler),window.addEventListener("scroll",this.boundScrollHandler,!0)}removeEventListeners(){this.quill.off("editor-change",this.boundEditorChangeHandler),this.quill.root.removeEventListener("contextmenu",this.boundContextMenuHandler),this.quill.root.removeEventListener("copy",this.boundCopyHandler),this.quill.root.removeEventListener("paste",this.boundPasteHandler),document.removeEventListener("click",this.boundDocClickHandler),window.removeEventListener("scroll",this.boundScrollHandler,!0)}editorChangeHandler(e,t,n,i){e==="selection-change"&&this.detectButton(t)}contextMenuHandler(e){return this.isTable()?(e.preventDefault(),this.showMenu(),!1):!0}copyHandler(e){if(!this.selectedCell||!e.clipboardData)return;e.preventDefault();const t=this.selectedCell.textContent||"";e.clipboardData.setData("text/plain",t)}isTable(e){return e=e||this.quill.getSelection(),e?!!(this.quill.getFormat(e.index).table&&!e.length):!1}getColCount(e){if(e=e||this.quill.getSelection(),!e)return 0;const[t]=this.table.getTable(e);return t?t.rows().reduce((n,i)=>Math.max(i.children.length,n),0):0}showMenu(){if(this.menuRoot){this.hideMenu();return}if(!this.selectedCell)return;this.menuRoot||(this.menuRoot=document.createElement("div"),document.body.appendChild(this.menuRoot));const e=this.getBoundingRectWithCache(this.selectedCell),t=window.innerWidth,n=window.innerHeight,i=k.memo(({item:u,index:h})=>v.jsxs("div",{className:Nn["ql-tableui-options__item"],onClick:this.createItemClickHandler(u),children:[v.jsx("span",{className:Nn["ql-tableui-options__item-icon"],dangerouslySetInnerHTML:{__html:u.icon}}),v.jsx("span",{className:Nn["ql-tableui-options__item-text"],children:u.title})]},h)),l=()=>v.jsx("div",{className:Nn["ql-tableui-options"],style:{position:"fixed",visibility:"hidden",zIndex:1e4},children:this.menuItems.map((u,h)=>v.jsx(i,{item:u,index:h},h))});try{Gb.createRoot?(this.reactRoot=Gb.createRoot(this.menuRoot),this.reactRoot.render(v.jsx(l,{}))):Bs.render(v.jsx(l,{}),this.menuRoot)}catch{Bs.render(v.jsx(l,{}),this.menuRoot)}document.addEventListener("click",this.boundDocClickHandler),requestAnimationFrame(()=>{if(!this.menuRoot)return;const u=this.menuRoot.firstElementChild;if(u){const h=u.getBoundingClientRect();let g=e.bottom+window.scrollY,m=e.left+window.scrollX;m+h.width>t&&(m=e.right-h.width+window.scrollX),g+h.height>n+window.scrollY&&(g=e.top-h.height+window.scrollY),u.style.top=`${g}px`,u.style.left=`${m}px`,u.style.visibility="visible"}})}hideMenu(){this.menuRoot&&(document.removeEventListener("click",this.boundDocClickHandler),this.reactRoot?(this.reactRoot.unmount(),this.reactRoot=null):Bs.unmountComponentAtNode(this.menuRoot),this.menuRoot.remove(),this.menuRoot=null)}detectButton(e){if(e)if(this.isTable(e)){const[t,n]=this.quill.getLine(e.index);if(!t||!t.domNode)return;const i=t.domNode,l=`${i.tagName}-${i.offsetLeft}-${i.offsetTop}`;this.selectedCell===i||this.lastSelectedCellRef===l||(this.clearAllTableCellOutlines(),i.style.outline="2px solid var(--acent-brand)",i.style.outlineOffset="-1px",this.selectedCell=i,this.lastSelectedCellRef=l),this.showHelperText();const h=this.quill.container.getBoundingClientRect(),g=i.getBoundingClientRect(),m={bottom:g.bottom-h.top,height:g.height,left:g.left-h.left,right:g.right-h.left,top:g.top-h.top,width:g.width,x:g.x,y:g.y,toJSON:()=>JSON.stringify(m)};this.position&&(this.position.top!==m.top||this.position.left!==m.left)&&this.hideMenu(),this.position=m}else this.cleanupTableUI()}clearAllTableCellOutlines(){this.selectedCell&&(this.selectedCell.style.removeProperty("outline"),this.selectedCell.style.removeProperty("outline-offset"),this.selectedCell=null),this.quill.root.querySelectorAll("td, th").forEach(t=>{t instanceof HTMLElement&&(t.style.removeProperty("outline"),t.style.removeProperty("outline-offset"))}),this.lastSelectedCellRef=null}showHelperText(){if(!this.selectedCell||!this.helperTextElement)return;const e=this.quill.getSelection();if(!e)return;const[t]=this.table.getTable(e);if(!t||!t.domNode)return;const i=t.domNode.getBoundingClientRect(),l=this.quill.container.getBoundingClientRect();if(!(i.bottom<l.top+5||i.top>l.bottom-5)){let h=i.top-l.top-20;i.top<l.top&&(h=5),this.helperTextElement.style.display="block",this.helperTextElement.style.left=`${i.left-l.left}px`,this.helperTextElement.style.top=`${h}px`}else this.helperTextElement.style.display="none"}removeHelperText(){this.helperTextElement&&(this.helperTextElement.style.display="none")}handleScroll(){this.removeHelperText(),this.hideMenu(),this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{const e=this.quill.getSelection();e&&this.isTable(e)&&this.detectButton(e),this.scrollTimeout=null},this.SCROLL_DEBOUNCE_TIME)}destroy(){this.removeEventListeners(),this.cleanupTableUI(),this.helperTextElement&&this.helperTextElement.remove(),this.scrollTimeout&&(clearTimeout(this.scrollTimeout),this.scrollTimeout=null),this.positionCache.clear(),this.reactRoot=null,this.selectedCell=null,this.helperTextElement=null,this.position=null,this.options=this.DEFAULTS,this.menuRoot=null,this.table=null}createItemClickHandler(e){return t=>{t.preventDefault(),t.stopPropagation(),this.quill.focus(),e.handler(),this.hideMenu(),this.detectButton(this.quill.getSelection())}}getBoundingRectWithCache(e){const t=Date.now(),n=this.positionCache.get(e);if(n&&t-n.timestamp<this.POSITION_CACHE_LIFETIME)return n.rect;const i=e.getBoundingClientRect();return this.positionCache.set(e,{rect:i,timestamp:t}),i}pasteHandler(){this.clearAllTableCellOutlines(),setTimeout(()=>{const e=this.quill.getSelection();e&&this.detectButton(e)},0)}cleanupTableUI(){this.removeHelperText(),this.clearAllTableCellOutlines(),this.hideMenu(),this.lastSelectedCellRef=null}}const DP=k.lazy(()=>Promise.resolve().then(()=>require("./AEditorLazy-DsCbms9k.cjs")).then(r=>({default:r.AEditorLazy}))),OP=()=>{const r=[1,2,3,!1,4],e=Ue.import("ui/icons");e.table=Ps.renderToString(v.jsx(Fr,{icon:"Table",strokeWidth:2.5})),e.divider=Ps.renderToString(v.jsx(Fr,{icon:"Minus",strokeWidth:2.5}));const t=Ue.import("blots/block/embed");class n extends t{static create(l){const u=super.create(l);return u.style.border="var(--AEditor_Addon_Primary_border)",u.style.borderBottom="none",u.style.transition="border var(--Transition)",u}}return at(n,"blotName","divider"),at(n,"tagName","hr"),Ue.register({"modules/imageCompress":GD,"modules/resize":XD,"modules/tablePicker":RP,"modules/tableUI":MP,"formats/header":FP(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 Ug=null;const PP=()=>(Ug||(Ug=OP()),Ug),as=r=>Array.from(r).length,NP=r=>r.ops?r.ops.reduce((e,t)=>typeof t.insert=="string"?e+t.insert.replace(/\n/g,"").split("").reduce((n,i)=>n+(i.charCodeAt(0)<=127?1:3),0):typeof t.insert=="object"&&t.insert.image?e+t.insert.image.length:e,0):0;function jP(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}function FP(r){const e=Ue.import("formats/header");return e.whitelist=r,e}const im=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]}`},BP=k.memo(r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",editorRef:i,useValue:l,useError:u,placeholder:h,tabIndex:g,autoFocus:m,editorProps:M,wrapProps:T,helperText:C,label:_,labelProps:S,wrapType:D,style:A,minHeight:b,maxHeight:R,contentHeight:O,contentMaxHeight:q=1e3,toolbarSize:H="Med",toolbarType:G="Default",readOnly:Y,limitPosition:de="Bottom",maxLength:X,...ue}=r,P=k.useMemo(()=>PP(),[]),re=k.useMemo(()=>n==="ReadOnly"||Y,[n,Y]),J=k.useMemo(()=>O?20:0,[O]),[ne,oe]=k.useState(H==="Med"?40:50),ce=k.useMemo(()=>re?0:ne,[re,ne]),[ve,ae]=k.useMemo(()=>[20,6],[]),ge=k.useMemo(()=>X||!u?0:de==="Bottom"?ve+ae:0,[u,X,de,ve,ae]),[he,Se]=k.useState(O),[Oe,Be]=k.useState(!1),[Ke,Te]=k.useState(!1),lt=k.useRef(null),gt=k.useRef(0),Xe=k.useRef(0),Ge=k.useMemo(()=>_?24:0,[_]),Le=k.useMemo(()=>G==="Title"?!0:void 0,[G]),Re=k.useMemo(()=>O||b||Le,[O,b,Le]),ke=k.useMemo(()=>Re?"fit-content":R?R+Ge:`calc(100% - ${Ge}px)`,[Re,R,Ge]),He=k.useMemo(()=>{if(O){if(he)switch(n){case"ReadOnly":return he;case"Raw":return he+ge;default:return he+ce+ge}}else return},[O,he,n,ce,ge]),Ie=k.useMemo(()=>{if(!(!R||R<=ce+ge))switch(n){case"ReadOnly":return R;case"Raw":return R-ge;default:return R-ce-ge}},[n,ce,ge,R]),rt=k.useMemo(()=>{if(b&&O){const ye=Math.min(b-ce-ge,O);return re?ye:ye+ce+ge}else return b||(O?void 0:`calc(100% - ${Ge}px)`)},[b,O,Ge,ce,ge,re]),ft=k.useMemo(()=>jP(t)?"Error":n,[t,n]),[kt,wt]=pn(l,""),[bt,Mt]=pn(u,!1),[Rt,dt]=k.useState(()=>{if(!kt)return new Vt;const ye=document.createElement("div");return ye.innerHTML=kt,new Ue(ye,{readOnly:!0}).getContents()}),ct=k.useCallback(NP,[]),Ct=k.useMemo(()=>Math.floor(5e4*.68234)*3,[]),Me=k.useMemo(()=>v.jsx(HP,{calculateSize:ct,error:bt,htmlDelta:Rt,limit:Ct,useError:u,isReadonly:re}),[ct,bt,Rt,re,Ct,u]),mt=k.useMemo(()=>({clipboard:{matchVisual:!1,...Le&&{matchers:[["img",()=>!1],["table",()=>!1],["iframe",()=>!1],["video",()=>!1],["h1, h2, h3, h4, h5, h6",()=>({})],["blockquote",()=>({})]]}},keyboard:Le?{bindings:{Enter:{key:"Enter",handler:ye=>{if(e&&wt){const xe=ye.root.innerHTML;e(xe)}return!1}}}}:{bindings:{}},imageCompress:{quality:.5},...!re&&{resize:{locale:{altTip:hn.AEditor["Image size adjust"],center:hn.AEditor.Center,floatLeft:hn.AEditor.floatLeft,floatRight:hn.AEditor.floatRight,inputTip:hn.AEditor["Input on mouse down"],restore:hn.AEditor.Restore}},...!Le&&{table:!0,tablePicker:!0,tableUI:!0},toolbar:{container:Le?P.TOOLBAR_TITLE:P.TOOLBAR_DEFAULT,handlers:{divider:function(){const ye=this.quill,xe=ye.getSelection(!0);if(!xe||Le)return;const vt=ye.getModule("table"),et=vt&&!!vt.getTable(xe)[0];et||ye.insertText(xe.index,`
347
+ `,Ue.sources.USER);const ot=et?0:1,Et=Math.min(xe.index+ot,ye.getLength()-1);ye.insertEmbed(Et,"divider",!0,Ue.sources.USER),setTimeout(()=>{const At=Math.min(Et+1,ye.getLength()-1);ye.setSelection(At,0,Ue.sources.SILENT)},0)}}}}}),[re,Le,e,wt,P]),_t=k.useCallback(ye=>{if(!Oe||!O)return;const xe=ye.clientY-Xe.current,vt=b?b-ce-ge:O,et=Math.max(vt,0),ot=R?R-ce-ge:q,Et=Math.min(ot,Math.max(et,gt.current+xe));he!==Et&&Se(Et),ye.preventDefault(),ye.stopPropagation()},[Oe,O,q,b,R,ce,ge,he]),Dt=k.useCallback(ye=>{Be(!1),Te(!1),document.removeEventListener("mousemove",_t),document.removeEventListener("mouseup",Dt),ye.preventDefault(),ye.stopPropagation()},[_t]),Bt=k.useCallback(ye=>{if(!O)return;if(ye.detail===2){Se(O);return}he===void 0?(Se(O),gt.current=O):gt.current=he,Be(!0),Te(!0),Xe.current=ye.clientY;const xe=et=>{if(!O)return;const ot=et.clientY-Xe.current,Et=b?b-ce-ge:O,At=Math.max(Et,0),Jt=R?R-ce-ge:q,Ht=Math.min(Jt,Math.max(At,gt.current+ot));Se(Ht),et.preventDefault(),et.stopPropagation()},vt=et=>{Be(!1),Te(!1),document.removeEventListener("mousemove",xe),document.removeEventListener("mouseup",vt),et.preventDefault(),et.stopPropagation()};document.addEventListener("mousemove",xe),document.addEventListener("mouseup",vt),ye.preventDefault(),ye.stopPropagation()},[O,he,b,R,ce,ge,q]),$e=k.useCallback((ye,xe,vt,et)=>{var Jt;if(!wt)return;const ot=et.getContents(),Et=et.getHTML(),At=((Jt=ot.ops)==null?void 0:Jt.length)===1&&ot.ops[0].insert===`
348
+ `;Mt&&Mt(ct(ot)>Ct),wt(At?"":Et),dt(ot)},[ct,Ct,Mt,wt]),Tt=k.useMemo(()=>H==="Med"?8:12.5,[H]),jt=k.useCallback(ye=>{var ot,Et;const xe=ye.getEditor().container;if(!xe)return null;const vt=(ot=xe.closest(".AEditorContainer"))==null?void 0:ot.querySelector(".ql-toolbar");return vt||((Et=xe.parentElement)==null?void 0:Et.querySelector(".ql-toolbar"))||null},[]),pr=k.useRef([]);k.useEffect(()=>()=>{pr.current.forEach(ye=>ye()),pr.current=[]},[]);const or=k.useCallback((ye,xe,vt,et)=>{if(!ye)return;const ot=vt;ye.addEventListener(xe,ot,et),pr.current.push(()=>{ye.removeEventListener(xe,ot,et)})},[]),Lr=k.useCallback(ye=>{if(!ye)return;const xe=ye.getEditor();if(!xe)return;const vt={input:Ht=>{const Ut=Ht.target;if(!Ut)return;const qt=parseInt(Ut.value,10);isNaN(qt)},keyDown:Ht=>{if(Ht.key!=="Delete"&&Ht.key!=="Backspace"&&Ht.key!=="Enter")return;const Ut=document.querySelector("#editor-resizer");Ut&&(Ut.style.display="none")},formatExpand:Ht=>{const Ut=xe.getFormat(),qt=jt(ye);qt&&Ht.forEach(tr=>{if(Ut[tr]){const Ar=Ut[tr],Je=`.ql-${tr}`,Qe=qt.querySelector(`${Je} .ql-picker-label`),ht=qt.querySelectorAll(`${Je} .ql-picker-item`),Ne=Array.from(ht).find(xt=>xt.getAttribute("data-value")===Ar);Ne&&(Ne.classList.add("ql-selected"),Qe==null||Qe.classList.add("ql-active"))}})},resizeToolbar:Ht=>{if(!Ht.length)return;const qt=Ht[0].contentRect.height+Tt*2;oe(tr=>Math.abs(tr-qt)<1?tr:qt)}},et=Ht=>{const Ut=Ht.target;if(Ut.tagName==="IMG")try{const qt=Ue.find(Ut);if(qt){const tr=xe.getIndex(qt);queueMicrotask(()=>{xe.setSelection(tr,1,Ue.sources.USER)}),Ht.preventDefault(),Ht.stopPropagation()}}catch(qt){console.error("이미지 선택 중 오류:",qt)}},ot=xe.root,Et=jt(ye),At=new ResizeObserver(vt.resizeToolbar);Et&&(At.observe(Et),pr.current.push(()=>At.disconnect()));const Jt=["header","color","background"];return Jt.forEach(Ht=>{const Ut=Et==null?void 0:Et.querySelector(`.ql-${Ht} .ql-picker-label`);Ut&&or(Ut,"click",()=>vt.formatExpand(Jt))}),ot&&(or(ot,"keydown",vt.keyDown),or(ot,"click",et)),()=>{}},[Tt,jt,or]),me=k.useCallback(ye=>{if(!ye||!X)return;const xe=ye.getEditor();if(!xe)return;let vt=!1,et="",ot=null,Et=0;const At=Ut=>Ut.replace(/[\r\n\u2028\u2029]+/g," ").replace(/\s+/g," "),Jt=Ut=>{vt||(ot&&window.cancelAnimationFrame(ot),ot=window.requestAnimationFrame(()=>{vt=!0;try{Ut()}finally{vt=!1,ot=null}}))},Ht=[];if(Le){const Ut=Qe=>{if(Qe.key==="Enter")return Qe.preventDefault(),e&&e(xe.root.innerHTML),!1},qt=()=>{const Qe=xe.getText().slice(0,-1);if(Qe===et)return;const ht=/[\r\n\u2028\u2029]/.test(Qe),Ne=as(Qe)>X;if(ht||Ne){const xt=xe.getSelection(),K=xe.getFormat();Et=xt?xt.index:0;let Pe=Qe;if(ht&&(Pe=At(Pe)),Ne&&(Pe=Array.from(Pe).slice(0,X).join("")),Pe!==Qe){const tt=new Vt().insert(Pe+`
349
+ `);xe.setContents(tt),Object.keys(K).length>0&&xe.formatText(0,Pe.length,K);const It=Math.min(Et,Pe.length);xe.setSelection(It,0)}et=Pe}else et=Qe},tr=Qe=>{Qe.preventDefault();const ht=Qe.clipboardData;if(!ht)return;const Ne=xe.getSelection();if(!Ne)return;const xt=xe.getText().slice(0,-1),K=Ne.index>0?xt.substring(0,Ne.index):"",Pe=Ne.index+Ne.length<xt.length?xt.substring(Ne.index+Ne.length):"",tt=At(ht.getData("text/plain")),It=K+tt+Pe;if(as(It)<=X)Ne.length>0&&xe.deleteText(Ne.index,Ne.length),xe.insertText(Ne.index,tt),xe.setSelection(Ne.index+as(tt),0);else{const zt=X-(as(K)+as(Pe));if(zt<=0)return;const yt=Array.from(tt).slice(0,zt).join("");xe.updateContents(new Vt().retain(Ne.index).delete(Ne.length).insert(yt)),xe.setSelection(Ne.index+as(yt),0)}Jt(()=>{const zt=xe.getText().slice(0,-1);if(/[\r\n\u2028\u2029]/.test(zt)){const yt=At(zt),Kt=xe.getFormat();xe.setContents(new Vt().insert(yt+`
350
+ `)),Object.keys(Kt).length>0&&xe.formatText(0,yt.length,Kt);const Tr=Math.min(Ne.index+as(tt),yt.length);xe.setSelection(Tr,0),et=yt}else et=zt})},Ar=Qe=>{(Qe.inputType==="insertLineBreak"||Qe.inputType==="insertText"&&Qe.data&&/[\r\n\u2028\u2029]/.test(Qe.data))&&Qe.preventDefault()},Je=()=>{Jt(qt)};or(xe.root,"keydown",Ut),or(xe.root,"paste",tr),or(xe.root,"beforeinput",Ar),xe.on("text-change",Je),Ht.push(()=>{or(xe.root,"keydown",Ut),or(xe.root,"paste",tr),or(xe.root,"beforeinput",Ar),xe.off("text-change",Je),ot&&window.cancelAnimationFrame(ot)}),Jt(qt)}else{const Ut=()=>{const Qe=xe.getText();if(as(Qe)-1<=X)return;const Ne=xe.getSelection(),xt=xe.getContents();Et=Ne?Ne.index:0;let K=0,Pe=0;for(const Yt of xt.ops||[])if(typeof Yt.insert=="string"){const zt=Array.from(Yt.insert);for(const yt of zt){if(K>=X)break;K++,Pe+=yt.length}if(K>=X)break}else Yt.insert&&(K+=1);const tt=Qe.substring(0,Pe);xe.setText(tt);const It=Math.min(Et,tt.length);xe.setSelection(It,0)},qt=(Qe,ht)=>{const Ne=xe.getSelection();if(!Ne)return!0;const xt=xe.getText(),K=as(xt)-1,Pe=Ne.length>0?as(xt.substring(Ne.index,Ne.index+Ne.length)):0,tt=X-(K-Pe);if(as(ht)<=tt)return!0;if(Qe.preventDefault(),Qe.type==="paste"){const Yt=Ne.index,zt=Array.from(ht).slice(0,tt).join(""),yt=new Vt;Ne.length?yt.retain(Yt).delete(Ne.length):yt.retain(Yt),yt.insert(zt),xe.updateContents(yt,Ue.sources.USER),requestAnimationFrame(()=>{const Kt=Yt+as(zt);Kt<=xe.getLength()&&xe.setSelection(Kt,0)})}return!1},tr=()=>{Jt(Ut)},Ar=Qe=>{Qe.inputType.startsWith("insert")&&qt(Qe,Qe.data||"")},Je=Qe=>{const ht=Qe.clipboardData;if(ht){const Ne=At(ht.getData("text/plain"));qt(Qe,Ne)}};xe.on("text-change",tr),or(xe.root,"beforeinput",Ar,{capture:!0}),or(xe.root,"paste",Je,{capture:!0}),Ht.push(()=>{xe.off("text-change",tr),or(xe.root,"beforeinput",Ar,{capture:!0}),or(xe.root,"paste",Je,{capture:!0}),ot&&window.cancelAnimationFrame(ot)})}return()=>Ht.forEach(Ut=>Ut())},[X,Le,e,or]),te=k.useCallback(ye=>{typeof i=="function"?i(ye):i&&(i.current=ye),ye&&(Lr(ye),me(ye))},[i,Lr,me]);return v.jsx(Wc,{helperText:C,wrapType:D,labelProps:{...S,style:{minHeight:20}},errorMessage:t,label:v.jsxs(Vn,{style:{gap:4},children:[_,!X&&de==="Top"&&Me]}),wrapProps:{...T,className:qe.clsx(T==null?void 0:T.className,!Re&&Nn.AEditorWrapper),style:{...T==null?void 0:T.style,height:ke}},children:v.jsxs(Wr,{...ue,className:qe.clsx(ue.className,Nn.AEditorContainer),style:{...A,height:He,minHeight:rt},children:[v.jsx(k.Suspense,{fallback:v.jsx(Fr,{icon:"Spinner",size:"sm"}),children:v.jsx(DP,{...M,ref:te,className:qe.clsx(M==null?void 0:M.className,Nn.AEditor,Nn[ft],Le&&"Title"),formats:Le?P.FORMAT_TITLE:P.FORMAT_DEFAULT,modules:mt,placeholder:h,readOnly:re,theme:"snow",value:Rt,style:{maxHeight:Ie?Ie+ce:void 0,"--icon-size":`${H==="Med"?18:24}px`,"--editor-padding":Le?"8px 12px":"12px","--toolbar-padding":`${Tt}px`,"--content-height":Le?"34px":he?`${he}px`:"100%","--content-max-height":Ie?`${Ie}px`:"100%","--default-text":`'${hn.AEditor.Default}'`,"--arrow-background":`url("data:image/svg+xml,${encodeURIComponent(Ps.renderToString(v.jsx(Fr,{icon:"EditorArrow"})))}`,"--title-color-picker-width":Le?"780px":"142px"},onChange:$e})}),O&&v.jsxs(v.Fragment,{children:[v.jsx("div",{ref:lt,className:Nn.Resizer,style:{height:J,bottom:u&&!re?ge:0},onMouseDown:Bt}),Ke&&v.jsx("div",{className:qe.clsx(Nn.Indicator,"NoSelect","Caption"),style:{bottom:u&&!re?ge:0},children:`${Math.round(he)}px`})]}),v.jsx("div",{className:qe.clsx(Nn.LimitContainer,"NoSelect"),style:{marginTop:ae,minHeight:ve,display:!X&&de==="Bottom"?"flex":"none"},children:Me})]})})},(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.contentHeight===e.contentHeight&&r.minHeight===e.minHeight&&r.maxHeight===e.maxHeight&&r.toolbarSize===e.toolbarSize&&r.toolbarType===e.toolbarType&&r.limitPosition===e.limitPosition),HP=k.memo(({calculateSize:r,error:e,htmlDelta:t,limit:n,useError:i,isReadonly:l})=>!i||l?null:v.jsxs(Jl,{className:Nn.Limit,children:["(",v.jsx("span",{className:e?Nn.Error:void 0,children:im(r(t))})," / ",im(n),")"]}));function th(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=th(t.children,e);if(n)return n}}function ad(r,e){Array.isArray(r)||(r=[r]);for(const t of r)e(t),!(!t.children||t.children.length<1)&&ad(t.children,e)}function cS(r,e){Array.isArray(r)||(r=[r]);const t=[];return ad(r,(n,i)=>t.push(e(n,i))),t}function uS(r,e){Array.isArray(r)||(r=[r]);for(const t of r){if(!e(t))return!1;if(!(!t.children||t.children.length<1)&&!uS(t.children,e))return!1}return!0}function qP(r,e){Array.isArray(r)||(r=[r]);const t=[];return ad(r,(n,i)=>{e(n,i)&&t.push(n)}),t}function zP(r){Array.isArray(r)||(r=[r]);let e=0;return ad(r,()=>e++),e}function $P(r,e,t,n){if(n(e,t))return null;Array.isArray(r)||(r=[r]);const i=th(r,u=>{var h;return(h=u.children)==null?void 0:h.some(g=>n(g,e))}),l=th(r,u=>{var h;return(h=u.children)==null?void 0:h.some(g=>n(g,t))});if(i===void 0&&l===void 0){const u=r.findIndex(g=>n(g,e)),h=r.findIndex(g=>n(g,t));return r.splice(u,1),r.splice(h,0,e),[...r]}else if(i!==void 0&&l!==void 0&&n(i,l)&&i.children){const u=i.children.findIndex(g=>n(g,e)),h=i.children.findIndex(g=>n(g,t));return u===void 0||h===void 0?null:(i.children.splice(u,1),i.children.splice(h,0,e),i.children=[...i.children],[...r])}return null}function UP(r,e,t){const n=[],i=[...e];for(;i.length>0;){const l=i.shift();if(l&&!n.find(u=>t(u,l))&&(n.push(l),!(!l.children||l.children.length<1)))for(const u of l.children)i.push(u)}return n}function WP(r,e,t){Array.isArray(r)||(r=[r]);const n=cS(r,u=>u),i=[],l=[...e];for(;l.length>0;){const u=l.shift();if(!u||i.find(g=>t(g,u)))continue;i.push(u);const h=n.find(g=>{var m;return(m=g.children)==null?void 0:m.some(M=>t(M,u))});h&&l.push(h)}return i}const el={find:th,forEach:ad,map:cS,every:uS,filter:qP,length:zP,replace:$P,descendants:UP,ancestors:WP},VP="_AWrap_f5le3_1",GP="_AContainer_f5le3_10",ZP="_ATree_f5le3_18",YP="_ATreeBody_f5le3_30",KP="_CoverBorder_f5le3_36",XP="_InsertBorder_f5le3_45",JP="_ATreeHeader_f5le3_76",QP="_ATreeBodyHeader_f5le3_82",eN="_ATreeBodyHeaderResources_f5le3_92",tN="_ATreeItem_f5le3_98",rN="_IsSelectUsed_f5le3_114",nN="_IsSelected_f5le3_117",iN="_IsSearchSelected_f5le3_122",oN="_IsHovered_f5le3_133",sN="_CheckBox_f5le3_137",aN="_Indents_f5le3_149",lN="_ExpandIcon_f5le3_156",cN="_Content_f5le3_168",uN="_RightSticky_f5le3_177",fN="_SearchInputWrap_f5le3_188",dN="_SearchInput_f5le3_188",hN="_RightAddon_f5le3_200",pN="_RightAddonIcon_f5le3_211",gN="_Loader_f5le3_218",fn={AWrap:VP,AContainer:GP,ATree:ZP,ATreeBody:YP,CoverBorder:KP,InsertBorder:XP,ATreeHeader:JP,ATreeBodyHeader:QP,ATreeBodyHeaderResources:eN,ATreeItem:tN,IsSelectUsed:rN,IsSelected:nN,IsSearchSelected:iN,IsHovered:oN,CheckBox:sN,Indents:aN,ExpandIcon:lN,Content:cN,RightSticky:uN,SearchInputWrap:fN,SearchInput:dN,RightAddon:hN,RightAddonIcon:pN,Loader:gN},mN=r=>{const{isEqual:e,item:t,selectDisabled:n,selectUnused:i,isParentDisabled:l,indents:u,extIndents:h,useExpand:g,useSelect:m,useSearch:M,onDragStart:T,onDragOver:C,onDragEnd:_,showCheckbox:S,icons:D,iconWidth:A,isSelectMulti:b,isDraggable:R,isParentCheckHovered:O,hoverdItem:q,onMouseOver:H,onMouseLeave:G,ContentRenderer:Y,TreeItemRenderer:de,RightStickyAddon:X,resources:ue,containerRef:P,TreeItemStyle:re,TreeItemClassName:J,searchItemStyle:ne,searchItemClassName:oe,height:ce}=r,{children:ve}=k.useMemo(()=>t,[t]),[ae,ge]=k.useMemo(()=>g,[g]),[he,Se]=k.useMemo(()=>m,[m]),[Oe,Be]=k.useMemo(()=>M,[M]),Ke=k.useMemo(()=>i?i(t):!1,[i,t]),Te=k.useMemo(()=>!n||l?l:n(t),[n,l,t]),lt=k.useMemo(()=>ae.some($e=>e($e,t)),[ae,e,t]),gt=k.useMemo(()=>!ve||ve.length<1?"noChild":lt?"expanded":"collapsed",[ve,lt]),Xe=k.useMemo(()=>{const $e=D[gt];return lm.includes($e)?v.jsx(Fr,{style:{width:A,height:A},icon:$e}):$e},[D,A,gt]),Ge=k.useCallback($e=>{!ge||gt==="noChild"||(ge(lt?ae.filter(Tt=>!e(Tt,t)):[...ae,t]),$e.stopPropagation())},[ge,ae,lt,t,e,gt]),Le=k.useMemo(()=>he.some($e=>e($e,t)),[he,e,t]),Re=k.useCallback(()=>{!Se||Te||(Se(b?Le?he.filter($e=>!e($e,t)):[...he,t]:[t]),Oe&&Be&&Oe.items.some($e=>e($e,t))&&Be({...Oe,item:t}))},[b,Te,Le,Oe,Be,Se,e,he,t]),ke=k.useMemo(()=>Oe==null?void 0:Oe.items.some($e=>e($e,t)),[Oe,e,t]),He=k.useMemo(()=>ke&&(Oe==null?void 0:Oe.item)&&e(Oe.item,t),[ke,Oe,e,t]),Ie=k.useRef(null);k.useEffect(()=>{setTimeout(()=>{if(He&&Ie.current&&P.current){const{top:$e,bottom:Tt}=Ie.current.getBoundingClientRect(),{top:jt,bottom:pr}=P.current.getBoundingClientRect();($e<jt||Tt>pr)&&Ie.current.scrollIntoView({behavior:"smooth",block:"center"})}},10)},[P,He]);const[rt,ft]=k.useState(!1),kt=k.useCallback(()=>!Te&&ft(!0),[Te]),wt=k.useCallback(()=>!Te&&ft(!1),[Te]),bt=k.useMemo(()=>el.map(t,$e=>$e).filter($e=>!(n!=null&&n($e))&&!(i!=null&&i($e))),[n,i,t]),Mt=k.useMemo(()=>!S||!b?!1:Le&&bt.some($e=>he.some(Tt=>e($e,Tt)))&&bt.some($e=>!he.some(Tt=>e($e,Tt))),[S,b,Le,bt,e,he]),Rt=k.useMemo(()=>S?b?bt.every($e=>he.some(Tt=>e($e,Tt))):he.some($e=>e($e,t)):!1,[S,b,bt,t,e,he]),dt=k.useCallback(()=>{if(!(!Se||Te))if(b)if(Le){const $e=he.filter(Tt=>!(i!=null&&i(Tt))&&!(n!=null&&n(Tt))&&bt.some(jt=>e(jt,Tt)));$e.length>0&&Se(he.filter(Tt=>!$e.some(jt=>e(Tt,jt))))}else{const $e=bt.filter(Tt=>!(i!=null&&i(Tt))&&!(n!=null&&n(Tt))&&!he.some(jt=>e(jt,Tt)));$e.length>0&&Se([...he,...$e])}else Se([t])},[Te,n,i,b,Se,e,Le,he,bt,t]),ct=k.useCallback($e=>{Te||dt(),$e.stopPropagation()},[Te,dt]),Ct=k.useMemo(()=>{if(!S||!b||Te)return"";if(Le){const Tt=he.filter(jt=>!(i!=null&&i(jt))&&!(n!=null&&n(jt))&&bt.some(pr=>e(pr,jt)));if(Tt.length>0)return ue["deselect n"](Tt.length)}const $e=bt.filter(Tt=>!(i!=null&&i(Tt))&&!(n!=null&&n(Tt))&&!he.some(jt=>e(jt,Tt)));return ue["select n"]($e.length)},[n,i,ue,Te,S,b,Le,bt,e,he]),Me=k.useMemo(()=>Ir.getContent(X,r),[X,r]),mt=k.useMemo(()=>Ir.getContent(re,r),[r,re]),_t=k.useMemo(()=>Ir.getContent(J,r),[r,J]),Dt=k.useMemo(()=>Ir.getContent(oe,r),[r,oe]),Bt=k.useMemo(()=>Ir.getContent(ne,r),[r,ne]);return v.jsxs(k.Fragment,{children:[v.jsxs(Wr,{className:qe.clsx(fn.ATreeItem,Le&&fn.IsSelected,!Te&&(rt||O)&&fn.IsHovered,ke&&fn.IsSearched,He&&(Dt||fn.IsSearchSelected),!Ke&&fn.IsSelectUsed,"NoSelect",_t),style:{...mt,...He&&Bt,"--ATreeItem_height":`${ce}px`},draggable:R,onDragStart:()=>T==null?void 0:T(t),onDragEnter:$e=>C==null?void 0:C($e,t),onDragEnd:$e=>_==null?void 0:_($e,t),onClick:Re,abaseRef:Ie,isDisabled:Te,onMouseOver:$e=>H==null?void 0:H($e,t),onMouseLeave:$e=>G==null?void 0:G($e,t),children:[S&&v.jsx(Wu,{style:{visibility:Te||Ke?"hidden":"visible",zIndex:Te||Ke?0:2},className:fn.CheckBox,useCheck:[+Rt,dt],onClick:ct,isIndeterminate:Mt,onMouseOver:kt,onMouseOut:wt,tooltip:Ct,isDisabled:Te}),v.jsx("div",{className:fn.Indents,style:{paddingLeft:S?0:r.icons.noChild?12:0},children:u.map(($e,Tt)=>{const jt=Tt===u.length-1;return v.jsx(L2,{value:$e,map:{Collapsed:h?h({iconWidth:A}).collapsed:v.jsx(yN,{iconWidth:A}),Expanded:h?h({iconWidth:A,isLast:jt}).expanded:v.jsx(vN,{iconWidth:A,isLast:jt}),IsLast:h?h({iconWidth:A}).isLast:v.jsx(bN,{iconWidth:A})}},Tt)})}),Xe&&v.jsx("div",{className:fn.ExpandIcon,style:{width:A,minWidth:A,maxWidth:A},onClick:Ge,children:Xe}),v.jsx("div",{className:qe.clsx(fn.Content,"NoSelect"),children:v.jsx(Y,{isEqual:e,item:t,indents:u,extIndents:h,useExpand:g,useSelect:m,useSearch:M,onDragStart:T,onDragOver:C,onDragEnd:_,showCheckbox:S,icons:D,iconWidth:A,isSelectMulti:b,isDraggable:R,isParentCheckHovered:b&&(rt||O),hoverdItem:q,onMouseOver:H,onMouseLeave:G,ContentRenderer:Y,TreeItemRenderer:de,RightStickyAddon:X,resources:ue,containerRef:P,TreeItemStyle:re,TreeItemClassName:J,searchItemClassName:Dt,searchItemStyle:ne,height:ce})}),Me&&v.jsx("div",{className:fn.RightSticky,children:Me})]}),lt&&(ve==null?void 0:ve.map(($e,Tt)=>v.jsx(de,{isEqual:e,item:$e,selectDisabled:n,selectUnused:i,indents:[...u.map(jt=>jt==="IsLast"?"Collapsed":jt),Tt===ve.length-1?"IsLast":"Expanded"],extIndents:h,ContentRenderer:Y,useExpand:g,useSelect:m,useSearch:M,onDragStart:T,onDragOver:C,onDragEnd:_,showCheckbox:S,icons:D,iconWidth:A,isSelectMulti:b,isDraggable:R,isParentCheckHovered:b&&(rt||O),hoverdItem:q,onMouseOver:H,onMouseLeave:G,TreeItemRenderer:de,RightStickyAddon:X,resources:ue,containerRef:P,TreeItemStyle:re,TreeItemClassName:J,searchItemClassName:Dt,searchItemStyle:ne,height:ce},Tt)))]})},vN=({iconWidth:r,isLast:e})=>v.jsx("div",{style:{width:r/8*3,height:"100%",borderLeft:"var(--ATree_Indent_border)",marginLeft:r/2,marginRight:r/8,boxSizing:"border-box",transition:"border-color var(--Transition)"},children:e&&v.jsx("div",{style:{borderBottom:"var(--ATree_Indent_border)",height:"50%",transition:"border-color var(--Transition)"}})}),yN=({iconWidth:r})=>v.jsx("div",{style:{width:r,height:"100%",borderLeft:"none",marginLeft:0,transition:"border-color var(--Transition)"}}),bN=({iconWidth:r})=>v.jsx("div",{style:{width:r/8*3,height:"50%",borderLeft:"var(--ATree_Indent_border)",borderBottom:"var(--ATree_Indent_border)",marginLeft:r/2,marginRight:r/8,boxSizing:"border-box",transition:"border-color var(--Transition)"}}),_N=r=>{const{isEqual:e,searchResult:t,initSearch:n,searchUp:i,searchDown:l,searchEnter:u,isDisabled:h,isLoading:g,resources:m,maxLength:M,autoFocus:T}=r,C=k.useCallback(D=>{D.key==="Enter"?u():D.key==="ArrowDown"?l():D.key==="ArrowUp"&&i(),D.preventDefault(),D.stopPropagation()},[l,u,i]),_=k.useCallback(D=>{n(D)},[n]),S=k.useMemo(()=>h||g?-1:void 0,[h,g]);return v.jsx(Ql,{className:fn.SearchInput,wrapProps:{className:fn.SearchInputWrap},isDisabled:h,tabIndex:S,useValue:[(t==null?void 0:t.keyword)??"",_],onKeyDown:C,placeholder:m["Search(Placeholder)"],RightAddon:v.jsx(xN,{isEqual:e,searchResult:t,searchUp:i,searchDown:l,searchEnter:u,resources:m}),maxLength:M,autoFocus:T})},xN=r=>{const{isEqual:e,searchResult:t,searchUp:n,searchDown:i,searchEnter:l,resources:u}=r,h=k.useMemo(()=>!t||t.items.length<1?0:t.items.findIndex(S=>t.item&&e(S,t.item))+1,[t,e]),g=k.useMemo(()=>!t||t.items.length<1?0:t.items.length,[t]),m=k.useMemo(()=>h<2,[h]),M=k.useMemo(()=>h>=g,[h,g]),T=k.useCallback(S=>{S.stopPropagation(),!m&&n()},[n,m]),C=k.useCallback(S=>{S.stopPropagation(),!M&&i()},[i,M]),_=k.useCallback(S=>{S.stopPropagation(),l()},[l]);return v.jsx("div",{className:qe.clsx(fn.RightAddon,"NoSelect"),children:t?v.jsxs(v.Fragment,{children:[h,"/",g,v.jsx(Wr,{onClick:T,isDisabled:m,children:v.jsx(Fr,{className:fn.RightAddonIcon,icon:"ArrowUp",mask:""})}),v.jsx(Wr,{onClick:C,isDisabled:M,children:v.jsx(Fr,{className:fn.RightAddonIcon,icon:"ArrowDown"})})]}):v.jsx(vo,{type:"Raw",className:fn.RightAddonIcon,style:{marginRight:4},icon:"Search",onClick:_,tooltip:u["Search(Button)"]})})},SN=r=>{var Ar;const{pk:e,selectDisabled:t,selectUnused:n,useItems:i,useExpand:l,useSelect:u,useSearch:h,showCheckbox:g,iconWidth:m=24,icons:M={noChild:"Folder",collapsed:"FolderCopy",expanded:"FolderOpen"},indents:T,isSelectMulti:C=!1,noSearch:_=!1,isDraggable:S,noSyncSearchSelect:D=!1,actionRef:A,placeholder:b,searchPredicate:R=wN,isDisabled:O,isLoading:q,ContentRenderer:H=CN,TreeItemRenderer:G=mN,RightStickyAddon:Y,TopRightAddon:de,TreeTopAddon:X,resources:ue,maxLength:P,autoFocus:re,TreeItemStyle:J,TreeItemClassName:ne,OverflowPadding:oe,insertBorder:ce,width:ve,searchItemClassName:ae,searchItemStyle:ge,height:he=40,...Se}=r,Oe=k.useMemo(()=>({...hn.ATree,...ue}),[ue]),Be=k.useCallback((Je,Qe)=>e!==void 0?Array.isArray(e)?e.every(ht=>tl.isEqual(Je[ht],Qe[ht])):tl.isEqual(Je[e],Qe[e]):tl.isEqual(Je,Qe),[e]),Ke=k.useRef(null),[Te,lt]=pn(i,[]),gt=k.useMemo(()=>el.map(Te,Je=>Je),[Te]),[Xe,Ge]=pn(l,[]),[Le,Re]=pn(u,[]),[ke,He]=pn(h,void 0),Ie=k.useCallback(Je=>{if(O||!Ge||Xe.some(Ne=>Be(Ne,Je)))return;const Qe=[];let ht=Je;for(;ht;){const Ne=ht;Xe.find(xt=>Be(xt,Ne))||Qe.push(Ne),ht=gt.find(xt=>{var K;return(K=xt.children)==null?void 0:K.some(Pe=>Be(Pe,Ne))})}Ge([...Xe,...Qe])},[Xe,O,Be,Ge,gt]),rt=k.useCallback(()=>{!Ge||O||Ge([...gt])},[gt,O,Ge]),ft=k.useCallback(()=>{!Ge||O||Ge([])},[Ge,O]),kt=k.useCallback(Je=>{!Re||O||n!=null&&n(Je)||(Re([Je]),Ie(Je))},[Re,O,n,Ie]),wt=k.useCallback(Je=>{if(!He||O)return;if(!Je||_){He(void 0),D||Re==null||Re([]);return}const Qe=el.filter(Te,Ne=>R(Je,Ne));let ht;if(Qe.find(Ne=>(ke==null?void 0:ke.item)&&Be(Ne,ke.item))?ht=ke==null?void 0:ke.item:Qe.length>0&&(ht=Qe[0]),He({keyword:Je,items:Qe,item:ht}),ht&&Ie(ht),Re&&!D)if(C)Re(Qe);else{const Ne=Qe.find(xt=>ht&&Be(xt,ht));Re(Ne?[Ne]:[])}},[Te,O,Be,R,He,Re,Ie,D,_,C,ke]),bt=k.useRef(!1);k.useEffect(()=>{bt.current=!0},[Te]),k.useEffect(()=>{ke&&bt.current&&(wt(ke.keyword),bt.current=!1)},[wt,ke]);const Mt=k.useCallback(()=>{if(!ke||!He||O)return;let Je=ke.items.findIndex(Qe=>ke.item&&Be(Qe,ke.item))-1;Je<0||(He({...ke,item:ke.items[Je]}),Ie(ke.items[Je]),D||kt(ke.items[Je]))},[ke,Ie,He,O,kt,Be,D]),Rt=k.useCallback(()=>{if(!ke||!He||O)return;let Je=ke.items.findIndex(Qe=>ke.item&&Be(Qe,ke.item))+1;Je>=ke.items.length||(He({...ke,item:ke.items[Je]}),Ie(ke.items[Je]),D||kt(ke.items[Je]))},[ke,Ie,O,He,kt,Be,D]),dt=k.useCallback(()=>{if(!ke||!He||O)return;let Je=ke.items.findIndex(ht=>ke.item&&Be(ht,ke.item));if(!D||n!=null&&n(ke.items[Je])){Rt();return}if(Le.some(ht=>ke.item&&Be(ht,ke.item))){let ht=Je+1;const Ne=ke.items[ht];if(ht>=ke.items.length)return;He({...ke,item:Ne}),kt(Ne)}else kt(ke.items[Je])},[ke,He,O,Le,D,Rt,Be,kt,n]),[ct,Ct]=k.useState(!1),Me=k.useCallback(()=>Ct(!0),[]),mt=k.useCallback(()=>Ct(!1),[]),_t=k.useMemo(()=>n?el.map(Te,Je=>Je).filter(Je=>!n(Je)):t?el.map(Te,Je=>Je).filter(Je=>!t(Je)):el.map(Te,Je=>Je),[n,t,Te]),Dt=k.useMemo(()=>!g||!C?!1:Le.length>0&&_t.length>Le.length,[g,C,Le,_t]),Bt=k.useMemo(()=>!g||!C?!1:Le.length>0&&_t.length===Le.length,[g,C,Le,_t]),$e=k.useCallback(()=>{if(!Re||!C||O)return;const Je=Le.filter(Qe=>!(n!=null&&n(Qe))&&!(t!=null&&t(Qe))&&_t.some(ht=>Be(ht,Qe)));if(Je.length>0)Re(Le.filter(Qe=>!Je.some(ht=>Be(Qe,ht))));else{const Qe=_t.filter(ht=>!(n!=null&&n(ht))&&!(t!=null&&t(ht))&&!Le.some(Ne=>Be(Ne,ht)));Qe.length>0&&Re([...Le,...Qe])}},[C,O,n,t,Re,Le,_t,Be]),Tt=k.useMemo(()=>{if(!g||!C||O)return"";const Je=Le.filter(Qe=>!(n!=null&&n(Qe))&&!(t!=null&&t(Qe))&&_t.some(ht=>Be(ht,Qe)));if(Je.length>0)return Oe["deselect n"](Je.length);{const Qe=_t.filter(ht=>!(n!=null&&n(ht))&&!(t!=null&&t(ht))&&!Le.some(Ne=>Be(Ne,ht)));return Oe["select n"](Qe.length)}},[n,t,O,Oe,g,C,_t,Le,Be]),[jt,pr]=k.useState(null),[or,Lr]=k.useState(null),me=k.useCallback(Je=>{!S||O||pr(Je)},[O,S]),te=k.useCallback((Je,Qe)=>{if(!S||O||!jt||(Je.preventDefault(),Je.stopPropagation(),Lr(Qe),!lt))return;const ht=el.replace(Te,jt,Qe,Be);ht&&lt(ht)},[S,Te,jt,O,lt,Be]),ye=k.useCallback(()=>{if(!S||O||!jt||!or||!lt||Be(jt,or))return;const Je=el.replace(Te,jt,or,Be);Je&&(lt(Je),pr(null))},[S,lt,Te,jt,or,Be,O]);k.useEffect(()=>{var Je;g||(Je=Ke.current)==null||Je.scrollTo(0,0)},[g,Ke]),k.useEffect(()=>{!C&&Le.length>1&&(Re==null||Re([Le[Le.length-1]]))},[C,Re,Le]),k.useEffect(()=>{A&&(A.current={expandAll:rt,collapseAll:ft})},[A,rt,ft]),k.useEffect(()=>{if(!t||!Re)return;const Je=Le.filter(Qe=>!t(Qe));Le.length!==Je.length&&Re(Je)},[t,Le,Re]),k.useEffect(()=>{if(!n||!Re)return;const Je=Le.filter(Qe=>!n(Qe));Le.length!==Je.length&&Re(Je)},[n,Le,Re]),k.useEffect(()=>{He&&He(void 0)},[He]);const[xe,vt]=k.useState(!1);k.useEffect(()=>{vt(Je=>!Je)},[Te]);const[et,ot]=k.useState(null),Et=k.useCallback((Je,Qe)=>{O||(Je.stopPropagation(),Je.preventDefault(),ot(Qe))},[O]),At=k.useCallback((Je,Qe)=>{et===null||O||Be(Qe,et)&&(Je.stopPropagation(),Je.preventDefault(),ot(null))},[et,O,Be]),Jt=k.useRef(null),[Ht,Ut]=k.useState(!1),[qt,tr]=k.useState((Ar=Jt.current)==null?void 0:Ar.scrollHeight);return k.useEffect(()=>{if(Xe.length<0)return;const Je=Ke.current,Qe=Jt.current,ht=Je.clientHeight<Qe.clientHeight;tr(ht?Qe.scrollHeight:Je.clientHeight),Ut(ht)},[Xe]),v.jsxs(Wr,{...Se,isDisabled:O,className:qe.clsx(Se.className,fn.AWrap),children:[(!_||de)&&v.jsxs(Vn,{className:fn.ATreeHeader,children:[!_&&v.jsx(_N,{isEqual:Be,searchResult:ke,initSearch:wt,searchUp:Mt,searchDown:Rt,searchEnter:dt,isLoading:q,isDisabled:O,resources:Oe,maxLength:P,autoFocus:re}),!_&&de&&v.jsx(mn,{w:8}),de]}),(!_||de||g&&C||S)&&v.jsx(pm,{isLoading:q&&Te.length!==0}),(g&&C||S)&&v.jsxs("div",{className:qe.clsx(fn.ATreeBodyHeader,"NoSelect"),children:[g&&v.jsx(Wu,{className:fn.CheckBox,useCheck:[+Bt,()=>$e()],isIndeterminate:Dt,onMouseOver:Me,onMouseOut:mt,isDisabled:O,tooltip:Tt}),Oe.Items,v.jsx(Kc,{}),v.jsxs("div",{className:qe.clsx(fn.ATreeBodyHeaderResources,"NoSelect"),style:{marginRight:Ht?8:0},children:[v.jsx("span",{children:g&&Oe["*Click row for single select"]}),v.jsx("span",{children:S&&Oe["*Change order to row drag"]})]})]}),v.jsx("div",{ref:Ke,className:qe.clsx(Se.className,fn.AContainer),children:v.jsxs("div",{className:fn.ATree,style:{minWidth:ve||"fit-content",marginRight:oe&&Ht?8:0},children:[v.jsxs("div",{ref:Jt,className:fn.ATreeBody,children:[Te.length===0?q?v.jsx(AN,{text:Oe["Loading Contents..."]}):b:X,Te.map((Je,Qe)=>v.jsx(G,{isEqual:Be,indents:[],extIndents:T,item:Je,selectDisabled:t,selectUnused:n,isParentDisabled:O,useExpand:[Xe,Ge],useSelect:[Le,Re],useSearch:[ke,He],onDragStart:me,onDragOver:te,onDragEnd:ye,showCheckbox:g,icons:M,iconWidth:m,isSelectMulti:C,isDraggable:S,isParentCheckHovered:C&&ct,ContentRenderer:H,TreeItemRenderer:G,RightStickyAddon:Y,resources:Oe,containerRef:Ke,TreeItemStyle:J,TreeItemClassName:ne,hoverdItem:et,onMouseOver:Et,onMouseLeave:At,searchItemClassName:ae,searchItemStyle:ge,height:he},`${Qe}${xe}`))]}),ce&&v.jsxs(v.Fragment,{children:[v.jsx("div",{className:fn.CoverBorder}),v.jsx("div",{className:fn.InsertBorder,style:{"--InsertBorder_height":`${he}px`,height:Ht?qt:"100%"}})]})]})})]})},CN=r=>{const{item:e}=r,t={};return rr.keys(e).forEach(n=>{n!=="children"&&(t[n]=e[n])}),JSON.stringify(t)};function wN(r,e){return rr.some(e,(t,n)=>{var i;return(i=rr.stringify(n))==null?void 0:i.toLowerCase().includes(r.toLowerCase())})}const AN=r=>{const{text:e}=r;return v.jsxs(Vn,{className:qe.clsx(fn.Loader,"NoSelect"),children:[v.jsx(Fr,{icon:"Spinner",style:{height:40},height:40,width:40}),v.jsx($2,{text:e})]})};var Wg,Zb;function ef(){return Zb||(Zb=1,Wg=TypeError),Wg}const TN={},EN=Object.freeze(Object.defineProperty({__proto__:null,default:TN},Symbol.toStringTag,{value:"Module"})),kN=e4(EN);var Vg,Yb;function xh(){if(Yb)return Vg;Yb=1;var r=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,t=r&&e&&typeof e.get=="function"?e.get:null,n=r&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,l=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=i&&l&&typeof l.get=="function"?l.get:null,h=i&&Set.prototype.forEach,g=typeof WeakMap=="function"&&WeakMap.prototype,m=g?WeakMap.prototype.has:null,M=typeof WeakSet=="function"&&WeakSet.prototype,T=M?WeakSet.prototype.has:null,C=typeof WeakRef=="function"&&WeakRef.prototype,_=C?WeakRef.prototype.deref:null,S=Boolean.prototype.valueOf,D=Object.prototype.toString,A=Function.prototype.toString,b=String.prototype.match,R=String.prototype.slice,O=String.prototype.replace,q=String.prototype.toUpperCase,H=String.prototype.toLowerCase,G=RegExp.prototype.test,Y=Array.prototype.concat,de=Array.prototype.join,X=Array.prototype.slice,ue=Math.floor,P=typeof BigInt=="function"?BigInt.prototype.valueOf:null,re=Object.getOwnPropertySymbols,J=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ne=typeof Symbol=="function"&&typeof Symbol.iterator=="object",oe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ne||!0)?Symbol.toStringTag:null,ce=Object.prototype.propertyIsEnumerable,ve=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(me){return me.__proto__}:null);function ae(me,te){if(me===1/0||me===-1/0||me!==me||me&&me>-1e3&&me<1e3||G.call(/e/,te))return te;var ye=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof me=="number"){var xe=me<0?-ue(-me):ue(me);if(xe!==me){var vt=String(xe),et=R.call(te,vt.length+1);return O.call(vt,ye,"$&_")+"."+O.call(O.call(et,/([0-9]{3})/g,"$&_"),/_$/,"")}}return O.call(te,ye,"$&_")}var ge=kN,he=ge.custom,Se=Ie(he)?he:null,Oe={__proto__:null,double:'"',single:"'"},Be={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Vg=function me(te,ye,xe,vt){var et=ye||{};if(kt(et,"quoteStyle")&&!kt(Oe,et.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(kt(et,"maxStringLength")&&(typeof et.maxStringLength=="number"?et.maxStringLength<0&&et.maxStringLength!==1/0:et.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var ot=kt(et,"customInspect")?et.customInspect:!0;if(typeof ot!="boolean"&&ot!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(kt(et,"indent")&&et.indent!==null&&et.indent!==" "&&!(parseInt(et.indent,10)===et.indent&&et.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(kt(et,"numericSeparator")&&typeof et.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Et=et.numericSeparator;if(typeof te>"u")return"undefined";if(te===null)return"null";if(typeof te=="boolean")return te?"true":"false";if(typeof te=="string")return _t(te,et);if(typeof te=="number"){if(te===0)return 1/0/te>0?"0":"-0";var At=String(te);return Et?ae(te,At):At}if(typeof te=="bigint"){var Jt=String(te)+"n";return Et?ae(te,Jt):Jt}var Ht=typeof et.depth>"u"?5:et.depth;if(typeof xe>"u"&&(xe=0),xe>=Ht&&Ht>0&&typeof te=="object")return gt(te)?"[Array]":"[Object]";var Ut=pr(et,xe);if(typeof vt>"u")vt=[];else if(Mt(vt,te)>=0)return"[Circular]";function qt(ur,hr,$r){if(hr&&(vt=X.call(vt),vt.push(hr)),$r){var vr={depth:et.depth};return kt(et,"quoteStyle")&&(vr.quoteStyle=et.quoteStyle),me(ur,vr,xe+1,vt)}return me(ur,et,xe+1,vt)}if(typeof te=="function"&&!Ge(te)){var tr=bt(te),Ar=Lr(te,qt);return"[Function"+(tr?": "+tr:" (anonymous)")+"]"+(Ar.length>0?" { "+de.call(Ar,", ")+" }":"")}if(Ie(te)){var Je=ne?O.call(String(te),/^(Symbol\(.*\))_[^)]*$/,"$1"):J.call(te);return typeof te=="object"&&!ne?Bt(Je):Je}if(mt(te)){for(var Qe="<"+H.call(String(te.nodeName)),ht=te.attributes||[],Ne=0;Ne<ht.length;Ne++)Qe+=" "+ht[Ne].name+"="+Ke(Te(ht[Ne].value),"double",et);return Qe+=">",te.childNodes&&te.childNodes.length&&(Qe+="..."),Qe+="</"+H.call(String(te.nodeName))+">",Qe}if(gt(te)){if(te.length===0)return"[]";var xt=Lr(te,qt);return Ut&&!jt(xt)?"["+or(xt,Ut)+"]":"[ "+de.call(xt,", ")+" ]"}if(Le(te)){var K=Lr(te,qt);return!("cause"in Error.prototype)&&"cause"in te&&!ce.call(te,"cause")?"{ ["+String(te)+"] "+de.call(Y.call("[cause]: "+qt(te.cause),K),", ")+" }":K.length===0?"["+String(te)+"]":"{ ["+String(te)+"] "+de.call(K,", ")+" }"}if(typeof te=="object"&&ot){if(Se&&typeof te[Se]=="function"&&ge)return ge(te,{depth:Ht-xe});if(ot!=="symbol"&&typeof te.inspect=="function")return te.inspect()}if(Rt(te)){var Pe=[];return n&&n.call(te,function(ur,hr){Pe.push(qt(hr,te,!0)+" => "+qt(ur,te))}),Tt("Map",t.call(te),Pe,Ut)}if(Ct(te)){var tt=[];return h&&h.call(te,function(ur){tt.push(qt(ur,te))}),Tt("Set",u.call(te),tt,Ut)}if(dt(te))return $e("WeakMap");if(Me(te))return $e("WeakSet");if(ct(te))return $e("WeakRef");if(ke(te))return Bt(qt(Number(te)));if(rt(te))return Bt(qt(P.call(te)));if(He(te))return Bt(S.call(te));if(Re(te))return Bt(qt(String(te)));if(typeof window<"u"&&te===window)return"{ [object Window] }";if(typeof globalThis<"u"&&te===globalThis||typeof yi<"u"&&te===yi)return"{ [object globalThis] }";if(!Xe(te)&&!Ge(te)){var It=Lr(te,qt),Yt=ve?ve(te)===Object.prototype:te instanceof Object||te.constructor===Object,zt=te instanceof Object?"":"null prototype",yt=!Yt&&oe&&Object(te)===te&&oe in te?R.call(wt(te),8,-1):zt?"Object":"",Kt=Yt||typeof te.constructor!="function"?"":te.constructor.name?te.constructor.name+" ":"",Tr=Kt+(yt||zt?"["+de.call(Y.call([],yt||[],zt||[]),": ")+"] ":"");return It.length===0?Tr+"{}":Ut?Tr+"{"+or(It,Ut)+"}":Tr+"{ "+de.call(It,", ")+" }"}return String(te)};function Ke(me,te,ye){var xe=ye.quoteStyle||te,vt=Oe[xe];return vt+me+vt}function Te(me){return O.call(String(me),/"/g,"&quot;")}function lt(me){return!oe||!(typeof me=="object"&&(oe in me||typeof me[oe]<"u"))}function gt(me){return wt(me)==="[object Array]"&&lt(me)}function Xe(me){return wt(me)==="[object Date]"&&lt(me)}function Ge(me){return wt(me)==="[object RegExp]"&&lt(me)}function Le(me){return wt(me)==="[object Error]"&&lt(me)}function Re(me){return wt(me)==="[object String]"&&lt(me)}function ke(me){return wt(me)==="[object Number]"&&lt(me)}function He(me){return wt(me)==="[object Boolean]"&&lt(me)}function Ie(me){if(ne)return me&&typeof me=="object"&&me instanceof Symbol;if(typeof me=="symbol")return!0;if(!me||typeof me!="object"||!J)return!1;try{return J.call(me),!0}catch{}return!1}function rt(me){if(!me||typeof me!="object"||!P)return!1;try{return P.call(me),!0}catch{}return!1}var ft=Object.prototype.hasOwnProperty||function(me){return me in this};function kt(me,te){return ft.call(me,te)}function wt(me){return D.call(me)}function bt(me){if(me.name)return me.name;var te=b.call(A.call(me),/^function\s*([\w$]+)/);return te?te[1]:null}function Mt(me,te){if(me.indexOf)return me.indexOf(te);for(var ye=0,xe=me.length;ye<xe;ye++)if(me[ye]===te)return ye;return-1}function Rt(me){if(!t||!me||typeof me!="object")return!1;try{t.call(me);try{u.call(me)}catch{return!0}return me instanceof Map}catch{}return!1}function dt(me){if(!m||!me||typeof me!="object")return!1;try{m.call(me,m);try{T.call(me,T)}catch{return!0}return me instanceof WeakMap}catch{}return!1}function ct(me){if(!_||!me||typeof me!="object")return!1;try{return _.call(me),!0}catch{}return!1}function Ct(me){if(!u||!me||typeof me!="object")return!1;try{u.call(me);try{t.call(me)}catch{return!0}return me instanceof Set}catch{}return!1}function Me(me){if(!T||!me||typeof me!="object")return!1;try{T.call(me,T);try{m.call(me,m)}catch{return!0}return me instanceof WeakSet}catch{}return!1}function mt(me){return!me||typeof me!="object"?!1:typeof HTMLElement<"u"&&me instanceof HTMLElement?!0:typeof me.nodeName=="string"&&typeof me.getAttribute=="function"}function _t(me,te){if(me.length>te.maxStringLength){var ye=me.length-te.maxStringLength,xe="... "+ye+" more character"+(ye>1?"s":"");return _t(R.call(me,0,te.maxStringLength),te)+xe}var vt=Be[te.quoteStyle||"single"];vt.lastIndex=0;var et=O.call(O.call(me,vt,"\\$1"),/[\x00-\x1f]/g,Dt);return Ke(et,"single",te)}function Dt(me){var te=me.charCodeAt(0),ye={8:"b",9:"t",10:"n",12:"f",13:"r"}[te];return ye?"\\"+ye:"\\x"+(te<16?"0":"")+q.call(te.toString(16))}function Bt(me){return"Object("+me+")"}function $e(me){return me+" { ? }"}function Tt(me,te,ye,xe){var vt=xe?or(ye,xe):de.call(ye,", ");return me+" ("+te+") {"+vt+"}"}function jt(me){for(var te=0;te<me.length;te++)if(Mt(me[te],`
351
+ `)>=0)return!1;return!0}function pr(me,te){var ye;if(me.indent===" ")ye=" ";else if(typeof me.indent=="number"&&me.indent>0)ye=de.call(Array(me.indent+1)," ");else return null;return{base:ye,prev:de.call(Array(te+1),ye)}}function or(me,te){if(me.length===0)return"";var ye=`
352
+ `+te.prev+te.base;return ye+de.call(me,","+ye)+`
353
+ `+te.prev}function Lr(me,te){var ye=gt(me),xe=[];if(ye){xe.length=me.length;for(var vt=0;vt<me.length;vt++)xe[vt]=kt(me,vt)?te(me[vt],me):""}var et=typeof re=="function"?re(me):[],ot;if(ne){ot={};for(var Et=0;Et<et.length;Et++)ot["$"+et[Et]]=et[Et]}for(var At in me)kt(me,At)&&(ye&&String(Number(At))===At&&At<me.length||ne&&ot["$"+At]instanceof Symbol||(G.call(/[^\w$]/,At)?xe.push(te(At,me)+": "+te(me[At],me)):xe.push(At+": "+te(me[At],me))));if(typeof re=="function")for(var Jt=0;Jt<et.length;Jt++)ce.call(me,et[Jt])&&xe.push("["+te(et[Jt])+"]: "+te(me[et[Jt]],me));return xe}return Vg}var Gg,Kb;function RN(){if(Kb)return Gg;Kb=1;var r=xh(),e=ef(),t=function(h,g,m){for(var M=h,T;(T=M.next)!=null;M=T)if(T.key===g)return M.next=T.next,m||(T.next=h.next,h.next=T),T},n=function(h,g){if(h){var m=t(h,g);return m&&m.value}},i=function(h,g,m){var M=t(h,g);M?M.value=m:h.next={key:g,next:h.next,value:m}},l=function(h,g){return h?!!t(h,g):!1},u=function(h,g){if(h)return t(h,g,!0)};return Gg=function(){var g,m={assert:function(M){if(!m.has(M))throw new e("Side channel does not contain "+r(M))},delete:function(M){var T=g&&g.next,C=u(g,M);return C&&T&&T===C&&(g=void 0),!!C},get:function(M){return n(g,M)},has:function(M){return l(g,M)},set:function(M,T){g||(g={next:void 0}),i(g,M,T)}};return m},Gg}var Zg,Xb;function fS(){return Xb||(Xb=1,Zg=Object),Zg}var Yg,Jb;function IN(){return Jb||(Jb=1,Yg=Error),Yg}var Kg,Qb;function LN(){return Qb||(Qb=1,Kg=EvalError),Kg}var Xg,e_;function MN(){return e_||(e_=1,Xg=RangeError),Xg}var Jg,t_;function DN(){return t_||(t_=1,Jg=ReferenceError),Jg}var Qg,r_;function ON(){return r_||(r_=1,Qg=SyntaxError),Qg}var e1,n_;function PN(){return n_||(n_=1,e1=URIError),e1}var t1,i_;function NN(){return i_||(i_=1,t1=Math.abs),t1}var r1,o_;function jN(){return o_||(o_=1,r1=Math.floor),r1}var n1,s_;function FN(){return s_||(s_=1,n1=Math.max),n1}var i1,a_;function BN(){return a_||(a_=1,i1=Math.min),i1}var o1,l_;function HN(){return l_||(l_=1,o1=Math.pow),o1}var s1,c_;function qN(){return c_||(c_=1,s1=Math.round),s1}var a1,u_;function zN(){return u_||(u_=1,a1=Number.isNaN||function(e){return e!==e}),a1}var l1,f_;function $N(){if(f_)return l1;f_=1;var r=zN();return l1=function(t){return r(t)||t===0?t:t<0?-1:1},l1}var c1,d_;function UN(){return d_||(d_=1,c1=Object.getOwnPropertyDescriptor),c1}var u1,h_;function dS(){if(h_)return u1;h_=1;var r=UN();if(r)try{r([],"length")}catch{r=null}return u1=r,u1}var f1,p_;function WN(){if(p_)return f1;p_=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return f1=r,f1}var d1,g_;function VN(){return g_||(g_=1,d1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[t]=i;for(var l in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var u=Object.getOwnPropertySymbols(e);if(u.length!==1||u[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var h=Object.getOwnPropertyDescriptor(e,t);if(h.value!==i||h.enumerable!==!0)return!1}return!0}),d1}var h1,m_;function GN(){if(m_)return h1;m_=1;var r=typeof Symbol<"u"&&Symbol,e=VN();return h1=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},h1}var p1,v_;function hS(){return v_||(v_=1,p1=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),p1}var g1,y_;function pS(){if(y_)return g1;y_=1;var r=fS();return g1=r.getPrototypeOf||null,g1}var m1,b_;function ZN(){if(b_)return m1;b_=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,n="[object Function]",i=function(g,m){for(var M=[],T=0;T<g.length;T+=1)M[T]=g[T];for(var C=0;C<m.length;C+=1)M[C+g.length]=m[C];return M},l=function(g,m){for(var M=[],T=m,C=0;T<g.length;T+=1,C+=1)M[C]=g[T];return M},u=function(h,g){for(var m="",M=0;M<h.length;M+=1)m+=h[M],M+1<h.length&&(m+=g);return m};return m1=function(g){var m=this;if(typeof m!="function"||e.apply(m)!==n)throw new TypeError(r+m);for(var M=l(arguments,1),T,C=function(){if(this instanceof T){var b=m.apply(this,i(M,arguments));return Object(b)===b?b:this}return m.apply(g,i(M,arguments))},_=t(0,m.length-M.length),S=[],D=0;D<_;D++)S[D]="$"+D;if(T=Function("binder","return function ("+u(S,",")+"){ return binder.apply(this,arguments); }")(C),m.prototype){var A=function(){};A.prototype=m.prototype,T.prototype=new A,A.prototype=null}return T},m1}var v1,__;function Sh(){if(__)return v1;__=1;var r=ZN();return v1=Function.prototype.bind||r,v1}var y1,x_;function Hm(){return x_||(x_=1,y1=Function.prototype.call),y1}var b1,S_;function gS(){return S_||(S_=1,b1=Function.prototype.apply),b1}var _1,C_;function YN(){return C_||(C_=1,_1=typeof Reflect<"u"&&Reflect&&Reflect.apply),_1}var x1,w_;function KN(){if(w_)return x1;w_=1;var r=Sh(),e=gS(),t=Hm(),n=YN();return x1=n||r.call(t,e),x1}var S1,A_;function mS(){if(A_)return S1;A_=1;var r=Sh(),e=ef(),t=Hm(),n=KN();return S1=function(l){if(l.length<1||typeof l[0]!="function")throw new e("a function is required");return n(r,t,l)},S1}var C1,T_;function XN(){if(T_)return C1;T_=1;var r=mS(),e=dS(),t;try{t=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var n=!!t&&e&&e(Object.prototype,"__proto__"),i=Object,l=i.getPrototypeOf;return C1=n&&typeof n.get=="function"?r([n.get]):typeof l=="function"?function(h){return l(h==null?h:i(h))}:!1,C1}var w1,E_;function JN(){if(E_)return w1;E_=1;var r=hS(),e=pS(),t=XN();return w1=r?function(i){return r(i)}:e?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return e(i)}:t?function(i){return t(i)}:null,w1}var A1,k_;function QN(){if(k_)return A1;k_=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=Sh();return A1=t.call(r,e),A1}var T1,R_;function qm(){if(R_)return T1;R_=1;var r,e=fS(),t=IN(),n=LN(),i=MN(),l=DN(),u=ON(),h=ef(),g=PN(),m=NN(),M=jN(),T=FN(),C=BN(),_=HN(),S=qN(),D=$N(),A=Function,b=function(Ge){try{return A('"use strict"; return ('+Ge+").constructor;")()}catch{}},R=dS(),O=WN(),q=function(){throw new h},H=R?function(){try{return arguments.callee,q}catch{try{return R(arguments,"callee").get}catch{return q}}}():q,G=GN()(),Y=JN(),de=pS(),X=hS(),ue=gS(),P=Hm(),re={},J=typeof Uint8Array>"u"||!Y?r:Y(Uint8Array),ne={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":G&&Y?Y([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":re,"%AsyncGenerator%":re,"%AsyncGeneratorFunction%":re,"%AsyncIteratorPrototype%":re,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":A,"%GeneratorFunction%":re,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":G&&Y?Y(Y([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!G||!Y?r:Y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":R,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":i,"%ReferenceError%":l,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!G||!Y?r:Y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":G&&Y?Y(""[Symbol.iterator]()):r,"%Symbol%":G?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":H,"%TypedArray%":J,"%TypeError%":h,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":g,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":P,"%Function.prototype.apply%":ue,"%Object.defineProperty%":O,"%Object.getPrototypeOf%":de,"%Math.abs%":m,"%Math.floor%":M,"%Math.max%":T,"%Math.min%":C,"%Math.pow%":_,"%Math.round%":S,"%Math.sign%":D,"%Reflect.getPrototypeOf%":X};if(Y)try{null.error}catch(Ge){var oe=Y(Y(Ge));ne["%Error.prototype%"]=oe}var ce=function Ge(Le){var Re;if(Le==="%AsyncFunction%")Re=b("async function () {}");else if(Le==="%GeneratorFunction%")Re=b("function* () {}");else if(Le==="%AsyncGeneratorFunction%")Re=b("async function* () {}");else if(Le==="%AsyncGenerator%"){var ke=Ge("%AsyncGeneratorFunction%");ke&&(Re=ke.prototype)}else if(Le==="%AsyncIteratorPrototype%"){var He=Ge("%AsyncGenerator%");He&&Y&&(Re=Y(He.prototype))}return ne[Le]=Re,Re},ve={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ae=Sh(),ge=QN(),he=ae.call(P,Array.prototype.concat),Se=ae.call(ue,Array.prototype.splice),Oe=ae.call(P,String.prototype.replace),Be=ae.call(P,String.prototype.slice),Ke=ae.call(P,RegExp.prototype.exec),Te=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,lt=/\\(\\)?/g,gt=function(Le){var Re=Be(Le,0,1),ke=Be(Le,-1);if(Re==="%"&&ke!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(ke==="%"&&Re!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var He=[];return Oe(Le,Te,function(Ie,rt,ft,kt){He[He.length]=ft?Oe(kt,lt,"$1"):rt||Ie}),He},Xe=function(Le,Re){var ke=Le,He;if(ge(ve,ke)&&(He=ve[ke],ke="%"+He[0]+"%"),ge(ne,ke)){var Ie=ne[ke];if(Ie===re&&(Ie=ce(ke)),typeof Ie>"u"&&!Re)throw new h("intrinsic "+Le+" exists, but is not available. Please file an issue!");return{alias:He,name:ke,value:Ie}}throw new u("intrinsic "+Le+" does not exist!")};return T1=function(Le,Re){if(typeof Le!="string"||Le.length===0)throw new h("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Re!="boolean")throw new h('"allowMissing" argument must be a boolean');if(Ke(/^%?[^%]*%?$/,Le)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ke=gt(Le),He=ke.length>0?ke[0]:"",Ie=Xe("%"+He+"%",Re),rt=Ie.name,ft=Ie.value,kt=!1,wt=Ie.alias;wt&&(He=wt[0],Se(ke,he([0,1],wt)));for(var bt=1,Mt=!0;bt<ke.length;bt+=1){var Rt=ke[bt],dt=Be(Rt,0,1),ct=Be(Rt,-1);if((dt==='"'||dt==="'"||dt==="`"||ct==='"'||ct==="'"||ct==="`")&&dt!==ct)throw new u("property names with quotes must have matching quotes");if((Rt==="constructor"||!Mt)&&(kt=!0),He+="."+Rt,rt="%"+He+"%",ge(ne,rt))ft=ne[rt];else if(ft!=null){if(!(Rt in ft)){if(!Re)throw new h("base intrinsic for "+Le+" exists, but the property is not available.");return}if(R&&bt+1>=ke.length){var Ct=R(ft,Rt);Mt=!!Ct,Mt&&"get"in Ct&&!("originalValue"in Ct.get)?ft=Ct.get:ft=ft[Rt]}else Mt=ge(ft,Rt),ft=ft[Rt];Mt&&!kt&&(ne[rt]=ft)}}return ft},T1}var E1,I_;function vS(){if(I_)return E1;I_=1;var r=qm(),e=mS(),t=e([r("%String.prototype.indexOf%")]);return E1=function(i,l){var u=r(i,!!l);return typeof u=="function"&&t(i,".prototype.")>-1?e([u]):u},E1}var k1,L_;function yS(){if(L_)return k1;L_=1;var r=qm(),e=vS(),t=xh(),n=ef(),i=r("%Map%",!0),l=e("Map.prototype.get",!0),u=e("Map.prototype.set",!0),h=e("Map.prototype.has",!0),g=e("Map.prototype.delete",!0),m=e("Map.prototype.size",!0);return k1=!!i&&function(){var T,C={assert:function(_){if(!C.has(_))throw new n("Side channel does not contain "+t(_))},delete:function(_){if(T){var S=g(T,_);return m(T)===0&&(T=void 0),S}return!1},get:function(_){if(T)return l(T,_)},has:function(_){return T?h(T,_):!1},set:function(_,S){T||(T=new i),u(T,_,S)}};return C},k1}var R1,M_;function ej(){if(M_)return R1;M_=1;var r=qm(),e=vS(),t=xh(),n=yS(),i=ef(),l=r("%WeakMap%",!0),u=e("WeakMap.prototype.get",!0),h=e("WeakMap.prototype.set",!0),g=e("WeakMap.prototype.has",!0),m=e("WeakMap.prototype.delete",!0);return R1=l?function(){var T,C,_={assert:function(S){if(!_.has(S))throw new i("Side channel does not contain "+t(S))},delete:function(S){if(l&&S&&(typeof S=="object"||typeof S=="function")){if(T)return m(T,S)}else if(n&&C)return C.delete(S);return!1},get:function(S){return l&&S&&(typeof S=="object"||typeof S=="function")&&T?u(T,S):C&&C.get(S)},has:function(S){return l&&S&&(typeof S=="object"||typeof S=="function")&&T?g(T,S):!!C&&C.has(S)},set:function(S,D){l&&S&&(typeof S=="object"||typeof S=="function")?(T||(T=new l),h(T,S,D)):n&&(C||(C=n()),C.set(S,D))}};return _}:n,R1}var I1,D_;function tj(){if(D_)return I1;D_=1;var r=ef(),e=xh(),t=RN(),n=yS(),i=ej(),l=i||n||t;return I1=function(){var h,g={assert:function(m){if(!g.has(m))throw new r("Side channel does not contain "+e(m))},delete:function(m){return!!h&&h.delete(m)},get:function(m){return h&&h.get(m)},has:function(m){return!!h&&h.has(m)},set:function(m,M){h||(h=l()),h.set(m,M)}};return g},I1}var L1,O_;function zm(){if(O_)return L1;O_=1;var r=String.prototype.replace,e=/%20/g,t={RFC1738:"RFC1738",RFC3986:"RFC3986"};return L1={default:t.RFC3986,formatters:{RFC1738:function(n){return r.call(n,e,"+")},RFC3986:function(n){return String(n)}},RFC1738:t.RFC1738,RFC3986:t.RFC3986},L1}var M1,P_;function bS(){if(P_)return M1;P_=1;var r=zm(),e=Object.prototype.hasOwnProperty,t=Array.isArray,n=function(){for(var A=[],b=0;b<256;++b)A.push("%"+((b<16?"0":"")+b.toString(16)).toUpperCase());return A}(),i=function(b){for(;b.length>1;){var R=b.pop(),O=R.obj[R.prop];if(t(O)){for(var q=[],H=0;H<O.length;++H)typeof O[H]<"u"&&q.push(O[H]);R.obj[R.prop]=q}}},l=function(b,R){for(var O=R&&R.plainObjects?{__proto__:null}:{},q=0;q<b.length;++q)typeof b[q]<"u"&&(O[q]=b[q]);return O},u=function A(b,R,O){if(!R)return b;if(typeof R!="object"&&typeof R!="function"){if(t(b))b.push(R);else if(b&&typeof b=="object")(O&&(O.plainObjects||O.allowPrototypes)||!e.call(Object.prototype,R))&&(b[R]=!0);else return[b,R];return b}if(!b||typeof b!="object")return[b].concat(R);var q=b;return t(b)&&!t(R)&&(q=l(b,O)),t(b)&&t(R)?(R.forEach(function(H,G){if(e.call(b,G)){var Y=b[G];Y&&typeof Y=="object"&&H&&typeof H=="object"?b[G]=A(Y,H,O):b.push(H)}else b[G]=H}),b):Object.keys(R).reduce(function(H,G){var Y=R[G];return e.call(H,G)?H[G]=A(H[G],Y,O):H[G]=Y,H},q)},h=function(b,R){return Object.keys(R).reduce(function(O,q){return O[q]=R[q],O},b)},g=function(A,b,R){var O=A.replace(/\+/g," ");if(R==="iso-8859-1")return O.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(O)}catch{return O}},m=1024,M=function(b,R,O,q,H){if(b.length===0)return b;var G=b;if(typeof b=="symbol"?G=Symbol.prototype.toString.call(b):typeof b!="string"&&(G=String(b)),O==="iso-8859-1")return escape(G).replace(/%u[0-9a-f]{4}/gi,function(J){return"%26%23"+parseInt(J.slice(2),16)+"%3B"});for(var Y="",de=0;de<G.length;de+=m){for(var X=G.length>=m?G.slice(de,de+m):G,ue=[],P=0;P<X.length;++P){var re=X.charCodeAt(P);if(re===45||re===46||re===95||re===126||re>=48&&re<=57||re>=65&&re<=90||re>=97&&re<=122||H===r.RFC1738&&(re===40||re===41)){ue[ue.length]=X.charAt(P);continue}if(re<128){ue[ue.length]=n[re];continue}if(re<2048){ue[ue.length]=n[192|re>>6]+n[128|re&63];continue}if(re<55296||re>=57344){ue[ue.length]=n[224|re>>12]+n[128|re>>6&63]+n[128|re&63];continue}P+=1,re=65536+((re&1023)<<10|X.charCodeAt(P)&1023),ue[ue.length]=n[240|re>>18]+n[128|re>>12&63]+n[128|re>>6&63]+n[128|re&63]}Y+=ue.join("")}return Y},T=function(b){for(var R=[{obj:{o:b},prop:"o"}],O=[],q=0;q<R.length;++q)for(var H=R[q],G=H.obj[H.prop],Y=Object.keys(G),de=0;de<Y.length;++de){var X=Y[de],ue=G[X];typeof ue=="object"&&ue!==null&&O.indexOf(ue)===-1&&(R.push({obj:G,prop:X}),O.push(ue))}return i(R),b},C=function(b){return Object.prototype.toString.call(b)==="[object RegExp]"},_=function(b){return!b||typeof b!="object"?!1:!!(b.constructor&&b.constructor.isBuffer&&b.constructor.isBuffer(b))},S=function(b,R){return[].concat(b,R)},D=function(b,R){if(t(b)){for(var O=[],q=0;q<b.length;q+=1)O.push(R(b[q]));return O}return R(b)};return M1={arrayToObject:l,assign:h,combine:S,compact:T,decode:g,encode:M,isBuffer:_,isRegExp:C,maybeMap:D,merge:u},M1}var D1,N_;function rj(){if(N_)return D1;N_=1;var r=tj(),e=bS(),t=zm(),n=Object.prototype.hasOwnProperty,i={brackets:function(A){return A+"[]"},comma:"comma",indices:function(A,b){return A+"["+b+"]"},repeat:function(A){return A}},l=Array.isArray,u=Array.prototype.push,h=function(D,A){u.apply(D,l(A)?A:[A])},g=Date.prototype.toISOString,m=t.default,M={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:e.encode,encodeValuesOnly:!1,filter:void 0,format:m,formatter:t.formatters[m],indices:!1,serializeDate:function(A){return g.call(A)},skipNulls:!1,strictNullHandling:!1},T=function(A){return typeof A=="string"||typeof A=="number"||typeof A=="boolean"||typeof A=="symbol"||typeof A=="bigint"},C={},_=function D(A,b,R,O,q,H,G,Y,de,X,ue,P,re,J,ne,oe,ce,ve){for(var ae=A,ge=ve,he=0,Se=!1;(ge=ge.get(C))!==void 0&&!Se;){var Oe=ge.get(A);if(he+=1,typeof Oe<"u"){if(Oe===he)throw new RangeError("Cyclic object value");Se=!0}typeof ge.get(C)>"u"&&(he=0)}if(typeof X=="function"?ae=X(b,ae):ae instanceof Date?ae=re(ae):R==="comma"&&l(ae)&&(ae=e.maybeMap(ae,function(rt){return rt instanceof Date?re(rt):rt})),ae===null){if(H)return de&&!oe?de(b,M.encoder,ce,"key",J):b;ae=""}if(T(ae)||e.isBuffer(ae)){if(de){var Be=oe?b:de(b,M.encoder,ce,"key",J);return[ne(Be)+"="+ne(de(ae,M.encoder,ce,"value",J))]}return[ne(b)+"="+ne(String(ae))]}var Ke=[];if(typeof ae>"u")return Ke;var Te;if(R==="comma"&&l(ae))oe&&de&&(ae=e.maybeMap(ae,de)),Te=[{value:ae.length>0?ae.join(",")||null:void 0}];else if(l(X))Te=X;else{var lt=Object.keys(ae);Te=ue?lt.sort(ue):lt}var gt=Y?String(b).replace(/\./g,"%2E"):String(b),Xe=O&&l(ae)&&ae.length===1?gt+"[]":gt;if(q&&l(ae)&&ae.length===0)return Xe+"[]";for(var Ge=0;Ge<Te.length;++Ge){var Le=Te[Ge],Re=typeof Le=="object"&&Le&&typeof Le.value<"u"?Le.value:ae[Le];if(!(G&&Re===null)){var ke=P&&Y?String(Le).replace(/\./g,"%2E"):String(Le),He=l(ae)?typeof R=="function"?R(Xe,ke):Xe:Xe+(P?"."+ke:"["+ke+"]");ve.set(A,he);var Ie=r();Ie.set(C,ve),h(Ke,D(Re,He,R,O,q,H,G,Y,R==="comma"&&oe&&l(ae)?null:de,X,ue,P,re,J,ne,oe,ce,Ie))}}return Ke},S=function(A){if(!A)return M;if(typeof A.allowEmptyArrays<"u"&&typeof A.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof A.encodeDotInKeys<"u"&&typeof A.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(A.encoder!==null&&typeof A.encoder<"u"&&typeof A.encoder!="function")throw new TypeError("Encoder has to be a function.");var b=A.charset||M.charset;if(typeof A.charset<"u"&&A.charset!=="utf-8"&&A.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var R=t.default;if(typeof A.format<"u"){if(!n.call(t.formatters,A.format))throw new TypeError("Unknown format option provided.");R=A.format}var O=t.formatters[R],q=M.filter;(typeof A.filter=="function"||l(A.filter))&&(q=A.filter);var H;if(A.arrayFormat in i?H=A.arrayFormat:"indices"in A?H=A.indices?"indices":"repeat":H=M.arrayFormat,"commaRoundTrip"in A&&typeof A.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var G=typeof A.allowDots>"u"?A.encodeDotInKeys===!0?!0:M.allowDots:!!A.allowDots;return{addQueryPrefix:typeof A.addQueryPrefix=="boolean"?A.addQueryPrefix:M.addQueryPrefix,allowDots:G,allowEmptyArrays:typeof A.allowEmptyArrays=="boolean"?!!A.allowEmptyArrays:M.allowEmptyArrays,arrayFormat:H,charset:b,charsetSentinel:typeof A.charsetSentinel=="boolean"?A.charsetSentinel:M.charsetSentinel,commaRoundTrip:!!A.commaRoundTrip,delimiter:typeof A.delimiter>"u"?M.delimiter:A.delimiter,encode:typeof A.encode=="boolean"?A.encode:M.encode,encodeDotInKeys:typeof A.encodeDotInKeys=="boolean"?A.encodeDotInKeys:M.encodeDotInKeys,encoder:typeof A.encoder=="function"?A.encoder:M.encoder,encodeValuesOnly:typeof A.encodeValuesOnly=="boolean"?A.encodeValuesOnly:M.encodeValuesOnly,filter:q,format:R,formatter:O,serializeDate:typeof A.serializeDate=="function"?A.serializeDate:M.serializeDate,skipNulls:typeof A.skipNulls=="boolean"?A.skipNulls:M.skipNulls,sort:typeof A.sort=="function"?A.sort:null,strictNullHandling:typeof A.strictNullHandling=="boolean"?A.strictNullHandling:M.strictNullHandling}};return D1=function(D,A){var b=D,R=S(A),O,q;typeof R.filter=="function"?(q=R.filter,b=q("",b)):l(R.filter)&&(q=R.filter,O=q);var H=[];if(typeof b!="object"||b===null)return"";var G=i[R.arrayFormat],Y=G==="comma"&&R.commaRoundTrip;O||(O=Object.keys(b)),R.sort&&O.sort(R.sort);for(var de=r(),X=0;X<O.length;++X){var ue=O[X],P=b[ue];R.skipNulls&&P===null||h(H,_(P,ue,G,Y,R.allowEmptyArrays,R.strictNullHandling,R.skipNulls,R.encodeDotInKeys,R.encode?R.encoder:null,R.filter,R.sort,R.allowDots,R.serializeDate,R.format,R.formatter,R.encodeValuesOnly,R.charset,de))}var re=H.join(R.delimiter),J=R.addQueryPrefix===!0?"?":"";return R.charsetSentinel&&(R.charset==="iso-8859-1"?J+="utf8=%26%2310003%3B&":J+="utf8=%E2%9C%93&"),re.length>0?J+re:""},D1}var O1,j_;function nj(){if(j_)return O1;j_=1;var r=bS(),e=Object.prototype.hasOwnProperty,t=Array.isArray,n={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},i=function(C){return C.replace(/&#(\d+);/g,function(_,S){return String.fromCharCode(parseInt(S,10))})},l=function(C,_,S){if(C&&typeof C=="string"&&_.comma&&C.indexOf(",")>-1)return C.split(",");if(_.throwOnLimitExceeded&&S>=_.arrayLimit)throw new RangeError("Array limit exceeded. Only "+_.arrayLimit+" element"+(_.arrayLimit===1?"":"s")+" allowed in an array.");return C},u="utf8=%26%2310003%3B",h="utf8=%E2%9C%93",g=function(_,S){var D={__proto__:null},A=S.ignoreQueryPrefix?_.replace(/^\?/,""):_;A=A.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var b=S.parameterLimit===1/0?void 0:S.parameterLimit,R=A.split(S.delimiter,S.throwOnLimitExceeded?b+1:b);if(S.throwOnLimitExceeded&&R.length>b)throw new RangeError("Parameter limit exceeded. Only "+b+" parameter"+(b===1?"":"s")+" allowed.");var O=-1,q,H=S.charset;if(S.charsetSentinel)for(q=0;q<R.length;++q)R[q].indexOf("utf8=")===0&&(R[q]===h?H="utf-8":R[q]===u&&(H="iso-8859-1"),O=q,q=R.length);for(q=0;q<R.length;++q)if(q!==O){var G=R[q],Y=G.indexOf("]="),de=Y===-1?G.indexOf("="):Y+1,X,ue;de===-1?(X=S.decoder(G,n.decoder,H,"key"),ue=S.strictNullHandling?null:""):(X=S.decoder(G.slice(0,de),n.decoder,H,"key"),ue=r.maybeMap(l(G.slice(de+1),S,t(D[X])?D[X].length:0),function(re){return S.decoder(re,n.decoder,H,"value")})),ue&&S.interpretNumericEntities&&H==="iso-8859-1"&&(ue=i(String(ue))),G.indexOf("[]=")>-1&&(ue=t(ue)?[ue]:ue);var P=e.call(D,X);P&&S.duplicates==="combine"?D[X]=r.combine(D[X],ue):(!P||S.duplicates==="last")&&(D[X]=ue)}return D},m=function(C,_,S,D){var A=0;if(C.length>0&&C[C.length-1]==="[]"){var b=C.slice(0,-1).join("");A=Array.isArray(_)&&_[b]?_[b].length:0}for(var R=D?_:l(_,S,A),O=C.length-1;O>=0;--O){var q,H=C[O];if(H==="[]"&&S.parseArrays)q=S.allowEmptyArrays&&(R===""||S.strictNullHandling&&R===null)?[]:r.combine([],R);else{q=S.plainObjects?{__proto__:null}:{};var G=H.charAt(0)==="["&&H.charAt(H.length-1)==="]"?H.slice(1,-1):H,Y=S.decodeDotInKeys?G.replace(/%2E/g,"."):G,de=parseInt(Y,10);!S.parseArrays&&Y===""?q={0:R}:!isNaN(de)&&H!==Y&&String(de)===Y&&de>=0&&S.parseArrays&&de<=S.arrayLimit?(q=[],q[de]=R):Y!=="__proto__"&&(q[Y]=R)}R=q}return R},M=function(_,S,D,A){if(_){var b=D.allowDots?_.replace(/\.([^.[]+)/g,"[$1]"):_,R=/(\[[^[\]]*])/,O=/(\[[^[\]]*])/g,q=D.depth>0&&R.exec(b),H=q?b.slice(0,q.index):b,G=[];if(H){if(!D.plainObjects&&e.call(Object.prototype,H)&&!D.allowPrototypes)return;G.push(H)}for(var Y=0;D.depth>0&&(q=O.exec(b))!==null&&Y<D.depth;){if(Y+=1,!D.plainObjects&&e.call(Object.prototype,q[1].slice(1,-1))&&!D.allowPrototypes)return;G.push(q[1])}if(q){if(D.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+D.depth+" and strictDepth is true");G.push("["+b.slice(q.index)+"]")}return m(G,S,D,A)}},T=function(_){if(!_)return n;if(typeof _.allowEmptyArrays<"u"&&typeof _.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof _.decodeDotInKeys<"u"&&typeof _.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(_.decoder!==null&&typeof _.decoder<"u"&&typeof _.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof _.charset<"u"&&_.charset!=="utf-8"&&_.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof _.throwOnLimitExceeded<"u"&&typeof _.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var S=typeof _.charset>"u"?n.charset:_.charset,D=typeof _.duplicates>"u"?n.duplicates:_.duplicates;if(D!=="combine"&&D!=="first"&&D!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var A=typeof _.allowDots>"u"?_.decodeDotInKeys===!0?!0:n.allowDots:!!_.allowDots;return{allowDots:A,allowEmptyArrays:typeof _.allowEmptyArrays=="boolean"?!!_.allowEmptyArrays:n.allowEmptyArrays,allowPrototypes:typeof _.allowPrototypes=="boolean"?_.allowPrototypes:n.allowPrototypes,allowSparse:typeof _.allowSparse=="boolean"?_.allowSparse:n.allowSparse,arrayLimit:typeof _.arrayLimit=="number"?_.arrayLimit:n.arrayLimit,charset:S,charsetSentinel:typeof _.charsetSentinel=="boolean"?_.charsetSentinel:n.charsetSentinel,comma:typeof _.comma=="boolean"?_.comma:n.comma,decodeDotInKeys:typeof _.decodeDotInKeys=="boolean"?_.decodeDotInKeys:n.decodeDotInKeys,decoder:typeof _.decoder=="function"?_.decoder:n.decoder,delimiter:typeof _.delimiter=="string"||r.isRegExp(_.delimiter)?_.delimiter:n.delimiter,depth:typeof _.depth=="number"||_.depth===!1?+_.depth:n.depth,duplicates:D,ignoreQueryPrefix:_.ignoreQueryPrefix===!0,interpretNumericEntities:typeof _.interpretNumericEntities=="boolean"?_.interpretNumericEntities:n.interpretNumericEntities,parameterLimit:typeof _.parameterLimit=="number"?_.parameterLimit:n.parameterLimit,parseArrays:_.parseArrays!==!1,plainObjects:typeof _.plainObjects=="boolean"?_.plainObjects:n.plainObjects,strictDepth:typeof _.strictDepth=="boolean"?!!_.strictDepth:n.strictDepth,strictNullHandling:typeof _.strictNullHandling=="boolean"?_.strictNullHandling:n.strictNullHandling,throwOnLimitExceeded:typeof _.throwOnLimitExceeded=="boolean"?_.throwOnLimitExceeded:!1}};return O1=function(C,_){var S=T(_);if(C===""||C===null||typeof C>"u")return S.plainObjects?{__proto__:null}:{};for(var D=typeof C=="string"?g(C,S):C,A=S.plainObjects?{__proto__:null}:{},b=Object.keys(D),R=0;R<b.length;++R){var O=b[R],q=M(O,D[O],S,typeof C=="string");A=r.merge(A,q,S)}return S.allowSparse===!0?A:r.compact(A)},O1}var P1,F_;function ij(){if(F_)return P1;F_=1;var r=rj(),e=nj(),t=zm();return P1={formats:t,parse:e,stringify:r},P1}var oj=ij();const sj=ol(oj),om={StoredContexts:{},defaultHandler:()=>{}},_S={Init:()=>{},Create:r=>{const e=r.method+r.url;return om.StoredContexts[e]=r,aj(r)},FetchBaseUrl:()=>window.location.href,useDefaultHandler:r=>{om.defaultHandler=r}};function aj(r){const e=`[${r.method}] ${r.url}`;return{Call:async n=>{let{url:i,method:l,stream:u,paramType:h}=r;const{po:g,onStream:m,onStreamEnd:M,noDefaultHandle:T=[]}=n??{};(h==="query"||l==="GET")&&g!==void 0&&(i+="?"+sj.stringify(g,{arrayFormat:"comma"}));const C={method:l,headers:{Accept:"application/json;charset=UTF-8","X-Requested-With":"XMLHttpRequest","Cache-Control":"no-cache",Pragma:"no-cache",crossDomain:"true"}};if(h==="form"){const D=new FormData;if(g!==void 0)for(const A in g){const b=g[A];D.append(A,b)}C.body=D}else(h==="body"||h===void 0&&r.method!=="GET")&&(C.body=JSON.stringify(g),C.headers["Content-Type"]="application/json;charset=UTF-8");let _={errorCode:0,message:""};const S=Date.now();i=_S.FetchBaseUrl()+i;try{let D=await fetch(i,C);if(D.ok===!1)return _.errorCode=D.status,_.message=D.statusText,_;{const A=new TextDecoder("utf-8");if(u){if(D.body){let b=D.body.getReader(),R="";for(;;){const O=await b.read();if(O.done)break;const q=A.decode(O.value).trim();R+=q;let H=null;try{const G=q.split("\0");let Y=G[G.length-1];for(let de=G.length-2;de>=0;de--)if(G[de].trim().length!==0){Y=G[de];break}H=await JSON.parse(Y)}catch{try{const Y=R.split("\0");let de=Y[Y.length-1];for(let X=Y.length-2;X>=0;X--)if(Y[X].trim().length!==0){de=Y[X];break}H=await JSON.parse(de)}catch{}}if(H!=null&&(Object.keys(H).includes("err_code")?_.errorCode=H.err_code:(_.errorCode=0,_.data=H,R="",O.done?M==null||M(_.data):m==null||m(_.data))),O.done)break}}}else if(D.body){const R=await D.body.getReader().read(),O=A.decode(R.value);if(O==="null")return _;{let q=await JSON.parse(O.replaceAll("\0",""));Object.keys(q).includes("err_code")?(_.errorCode=q.err_code,_.message=q.err_msg):_.data=q}}}}catch(D){console.warn(D),_.errorCode=-1,_.message=D.message}return console.debug(`${e} ${Date.now()-S}ms`),T!==!0&&await om.defaultHandler(_,T),_}}}async function lj(r){const e=new Promise((t,n)=>{const i=new FileReader;i.onloadend=()=>{i.result?typeof i.result=="string"?t(i.result):n(new Error("Failed to convert file to Base64: Invalid result type.")):n(new Error("Failed to convert file to Base64: Empty result."))},i.onerror=n,i.readAsDataURL(r)});try{return await e}catch{return}}function cj(r,e){var h,g;const t=r.split(","),n=(g=(h=t[0])==null?void 0:h.match(/:(.*?);/))==null?void 0:g[1],i=atob(t[1]);let l=i.length;const u=new Uint8Array(l);for(;l--;)u[l]=i.charCodeAt(l);return new File([u],e,{type:n})}const uj={toBase64:lj,toFile:cj};exports.ABase=Wr;exports.ABaseStyleKeys=n2;exports.AButton=Bi;exports.AButtonStyleKeys=o2;exports.AButtonTypes=t5;exports.ACheckBox=Wu;exports.ACheckBoxStyleKeys=c2;exports.AChip=M2;exports.AChipKeys=k2;exports.AChips=m6;exports.AClock=R6;exports.AColFrame=I2;exports.ADatePicker=hm;exports.ADatePickerStyleKeys=b2;exports.ADatePickerTypes=rE;exports.ADateRangePicker=fm;exports.ADateRangePickerStyleKeys=_2;exports.ADialog=fE;exports.ADialogStyleKeys=u2;exports.ADialogTypes=uE;exports.ADivideFrame=i6;exports.AEditor=BP;exports.AEditorStyleKeys=l2;exports.AFileBox=SE;exports.AFileBoxStyleKeys=m2;exports.AFloatMenu=P2;exports.AFloatMenuKeys=w2;exports.AFrameStyleKeys=C2;exports.AGrow=Kc;exports.AIcon=Fr;exports.AIconButton=vo;exports.AIconButtonStyleKeys=x2;exports.AIconButtonTypes=r5;exports.AIconHOC=j4;exports.AIcons=lm;exports.AInput=Ql;exports.AInputStyleKeys=s2;exports.AInputTypes=z6;exports.AListView=OE;exports.AListViewStyleKeys=v2;exports.ALoadingBorder=pm;exports.ALoadingBorderKeys=A2;exports.AMultiSelect=lk;exports.AMultiSelectStyleKeys=d2;exports.ANumInput=RE;exports.AOverflowFrame=Jl;exports.ARadioSelect=GE;exports.ARadioSelectKeys=E2;exports.ARowFrame=Vn;exports.ASelect=Vc;exports.ASelectStyleKeys=f2;exports.ASelectTypes=nT;exports.ASpace=mn;exports.AStepper=Ck;exports.AStepperStyleKeys=y2;exports.ASwitch=K_;exports.ASwitchFrame=L2;exports.ASwitchStyleKeys=p2;exports.ATab=F2;exports.ATabStyleKeys=g2;exports.ATabTypes=Pk;exports.ATable=z8;exports.ATableStyleKeys=S2;exports.AText=$2;exports.ATextArea=Q8;exports.ATextAreaStyleKeys=a2;exports.ATextAreaTypes=J8;exports.AThemeButton=H5;exports.AThemes=Of;exports.ATooltip=Y_;exports.ATooltipStyleKeys=i2;exports.ATree=SN;exports.ATreeStyleKeys=h2;exports.AWrap=Wc;exports.AWrapKeys=T2;exports.AWrapTypes=_5;exports.ApiContext=_S;exports.BodyStyleKeys=r2;exports.CreateADC=vE;exports.DefaultOptionRenderer=j2;exports.EDir12=Xu;exports.EDir4=vi;exports.FileSizeTrans=im;exports.Icons=rh;exports.IsCursorPointer=$_;exports.IsFixedShape=z_;exports.IsInteractive=U_;exports.NoSelect=q_;exports.ReactQuill=_h;exports.Resources=hn;exports.SetResources=p5;exports.alphanumericRegex=y6;exports.bound=Df;exports.cbF=Ir;exports.changeSemanticMode=um;exports.componentStyleKeys=M5;exports.createEvent=Uc;exports.dateF=Zt;exports.defaultPredicate=H2;exports.dlgF=yE;exports.emailIdRegex=_6;exports.emailRegex=b6;exports.fileF=uj;exports.getMonthsOptions=Vf;exports.getYearsOptions=dm;exports.hangulRegex=S6;exports.hexRegex=x6;exports.jsxRuntimeExports=v;exports.noHanguljamoRegex=w6;exports.noSpaceRegex=C6;exports.numF=N2;exports.objF=rr;exports.paletteKeys=X_;exports.paletteModes=nh;exports.passwordRegex=T6;exports.refinedDesignTokens=bi;exports.sF=qe;exports.semanticKeys=e2;exports.semanticModes=Uu;exports.setDir12Style=cm;exports.setDir12StyleElem=G_;exports.specialCharRegex=A6;exports.strF=O2;exports.tableF=Qa;exports.treeF=el;exports.useADialogCore=gE;exports.useADialogCores=pE;exports.useEvent=z2;exports.useInit=B2;exports.useValues=pn;exports.uuidRegex=E6;