@opengov/form-renderer 0.2.10-beta → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib.js +8117 -8274
- package/dist/lib.umd.cjs +55 -55
- package/package.json +3 -3
package/dist/lib.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(Se,Xe){typeof exports=="object"&&typeof module<"u"?Xe(exports,require("react"),require("@mui/x-date-pickers"),require("react-hook-form"),require("@mui/material"),require("@opengov/capital-mui-theme")):typeof define=="function"&&define.amd?define(["exports","react","@mui/x-date-pickers","react-hook-form","@mui/material","@opengov/capital-mui-theme"],Xe):(Se=typeof globalThis<"u"?globalThis:Se||self,Xe(Se.Lib={},Se.React,Se.MuiDatePickers,Se.ReactHookForm,Se.MaterialUI,Se.CapitalMuiTheme))})(this,function(Se,Xe,Ur,Jt,qe,on){"use strict";var a8=Object.defineProperty;var s8=(Se,Xe,Ur)=>Xe in Se?a8(Se,Xe,{enumerable:!0,configurable:!0,writable:!0,value:Ur}):Se[Xe]=Ur;var ae=(Se,Xe,Ur)=>s8(Se,typeof Xe!="symbol"?Xe+"":Xe,Ur);function np(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const At=np(Xe);var gu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function bu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function up(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,u.get?u:{enumerable:!0,get:function(){return e[n]}})}),r}var yu={exports:{}},Bn={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var Mc;function ip(){if(Mc)return Bn;Mc=1;var e=Xe,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,u=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(s,l,c){var f,p={},o=null,d=null;c!==void 0&&(o=""+c),l.key!==void 0&&(o=""+l.key),l.ref!==void 0&&(d=l.ref);for(f in l)n.call(l,f)&&!i.hasOwnProperty(f)&&(p[f]=l[f]);if(s&&s.defaultProps)for(f in l=s.defaultProps,l)p[f]===void 0&&(p[f]=l[f]);return{$$typeof:t,type:s,key:o,ref:d,props:p,_owner:u.current}}return Bn.Fragment=r,Bn.jsx=a,Bn.jsxs=a,Bn}var In={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,80 +14,80 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
18
|
-
`+oe+O}}var ye=!1,ve;{var L=typeof WeakMap=="function"?WeakMap:Map;ve=new L}function
|
|
17
|
+
*/var Pc;function ap(){return Pc||(Pc=1,process.env.NODE_ENV!=="production"&&function(){var e=Xe,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),o=Symbol.for("react.lazy"),d=Symbol.for("react.offscreen"),m=Symbol.iterator,h="@@iterator";function b(O){if(O===null||typeof O!="object")return null;var G=m&&O[m]||O[h];return typeof G=="function"?G:null}var g=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(O){{for(var G=arguments.length,ue=new Array(G>1?G-1:0),we=1;we<G;we++)ue[we-1]=arguments[we];v("error",O,ue)}}function v(O,G,ue){{var we=g.ReactDebugCurrentFrame,Me=we.getStackAddendum();Me!==""&&(G+="%s",ue=ue.concat([Me]));var Ue=ue.map(function(_e){return String(_e)});Ue.unshift("Warning: "+G),Function.prototype.apply.call(console[O],console,Ue)}}var D=!1,y=!1,E=!1,A=!1,C=!1,T;T=Symbol.for("react.module.reference");function x(O){return!!(typeof O=="string"||typeof O=="function"||O===n||O===i||C||O===u||O===c||O===f||A||O===d||D||y||E||typeof O=="object"&&O!==null&&(O.$$typeof===o||O.$$typeof===p||O.$$typeof===a||O.$$typeof===s||O.$$typeof===l||O.$$typeof===T||O.getModuleId!==void 0))}function _(O,G,ue){var we=O.displayName;if(we)return we;var Me=G.displayName||G.name||"";return Me!==""?ue+"("+Me+")":ue}function F(O){return O.displayName||"Context"}function M(O){if(O==null)return null;if(typeof O.tag=="number"&&w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof O=="function")return O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case u:return"StrictMode";case c:return"Suspense";case f:return"SuspenseList"}if(typeof O=="object")switch(O.$$typeof){case s:var G=O;return F(G)+".Consumer";case a:var ue=O;return F(ue._context)+".Provider";case l:return _(O,O.render,"ForwardRef");case p:var we=O.displayName||null;return we!==null?we:M(O.type)||"Memo";case o:{var Me=O,Ue=Me._payload,_e=Me._init;try{return M(_e(Ue))}catch{return null}}}return null}var B=Object.assign,N=0,I,Z,re,ie,q,K,ce;function Y(){}Y.__reactDisabledLog=!0;function se(){{if(N===0){I=console.log,Z=console.info,re=console.warn,ie=console.error,q=console.group,K=console.groupCollapsed,ce=console.groupEnd;var O={configurable:!0,enumerable:!0,value:Y,writable:!0};Object.defineProperties(console,{info:O,log:O,warn:O,error:O,group:O,groupCollapsed:O,groupEnd:O})}N++}}function de(){{if(N--,N===0){var O={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:B({},O,{value:I}),info:B({},O,{value:Z}),warn:B({},O,{value:re}),error:B({},O,{value:ie}),group:B({},O,{value:q}),groupCollapsed:B({},O,{value:K}),groupEnd:B({},O,{value:ce})})}N<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var he=g.ReactCurrentDispatcher,oe;function be(O,G,ue){{if(oe===void 0)try{throw Error()}catch(Me){var we=Me.stack.trim().match(/\n( *(at )?)/);oe=we&&we[1]||""}return`
|
|
18
|
+
`+oe+O}}var ye=!1,ve;{var L=typeof WeakMap=="function"?WeakMap:Map;ve=new L}function k(O,G){if(!O||ye)return"";{var ue=ve.get(O);if(ue!==void 0)return ue}var we;ye=!0;var Me=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ue;Ue=he.current,he.current=null,se();try{if(G){var _e=function(){throw Error()};if(Object.defineProperty(_e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_e,[])}catch(Ve){we=Ve}Reflect.construct(O,[],_e)}else{try{_e.call()}catch(Ve){we=Ve}O.call(_e.prototype)}}else{try{throw Error()}catch(Ve){we=Ve}O()}}catch(Ve){if(Ve&&we&&typeof Ve.stack=="string"){for(var Ae=Ve.stack.split(`
|
|
19
19
|
`),St=we.stack.split(`
|
|
20
|
-
`),
|
|
21
|
-
`+
|
|
20
|
+
`),at=Ae.length-1,dt=St.length-1;at>=1&&dt>=0&&Ae[at]!==St[dt];)dt--;for(;at>=1&&dt>=0;at--,dt--)if(Ae[at]!==St[dt]){if(at!==1||dt!==1)do if(at--,dt--,dt<0||Ae[at]!==St[dt]){var jt=`
|
|
21
|
+
`+Ae[at].replace(" at new "," at ");return O.displayName&&jt.includes("<anonymous>")&&(jt=jt.replace("<anonymous>",O.displayName)),typeof O=="function"&&ve.set(O,jt),jt}while(at>=1&&dt>=0);break}}}finally{ye=!1,he.current=Ue,de(),Error.prepareStackTrace=Me}var Zt=O?O.displayName||O.name:"",Ce=Zt?be(Zt):"";return typeof O=="function"&&ve.set(O,Ce),Ce}function W(O,G,ue){return k(O,!1)}function me(O){var G=O.prototype;return!!(G&&G.isReactComponent)}function tt(O,G,ue){if(O==null)return"";if(typeof O=="function")return k(O,me(O));if(typeof O=="string")return be(O);switch(O){case c:return be("Suspense");case f:return be("SuspenseList")}if(typeof O=="object")switch(O.$$typeof){case l:return W(O.render);case p:return tt(O.type,G,ue);case o:{var we=O,Me=we._payload,Ue=we._init;try{return tt(Ue(Me),G,ue)}catch{}}}return""}var ut=Object.prototype.hasOwnProperty,ke={},Te=g.ReactDebugCurrentFrame;function vr(O){if(O){var G=O._owner,ue=tt(O.type,O._source,G?G.type:null);Te.setExtraStackFrame(ue)}else Te.setExtraStackFrame(null)}function Fe(O,G,ue,we,Me){{var Ue=Function.call.bind(ut);for(var _e in O)if(Ue(O,_e)){var Ae=void 0;try{if(typeof O[_e]!="function"){var St=Error((we||"React class")+": "+ue+" type `"+_e+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof O[_e]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw St.name="Invariant Violation",St}Ae=O[_e](G,_e,we,ue,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(at){Ae=at}Ae&&!(Ae instanceof Error)&&(vr(Me),w("%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).",we||"React class",ue,_e,typeof Ae),vr(null)),Ae instanceof Error&&!(Ae.message in ke)&&(ke[Ae.message]=!0,vr(Me),w("Failed %s type: %s",ue,Ae.message),vr(null))}}}var Oe=Array.isArray;function Lt(O){return Oe(O)}function S(O){{var G=typeof Symbol=="function"&&Symbol.toStringTag,ue=G&&O[Symbol.toStringTag]||O.constructor.name||"Object";return ue}}function P(O){try{return R(O),!1}catch{return!0}}function R(O){return""+O}function z(O){if(P(O))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",S(O)),R(O)}var H=g.ReactCurrentOwner,U={key:!0,ref:!0,__self:!0,__source:!0},ne,Q,te;te={};function X(O){if(ut.call(O,"ref")){var G=Object.getOwnPropertyDescriptor(O,"ref").get;if(G&&G.isReactWarning)return!1}return O.ref!==void 0}function ze(O){if(ut.call(O,"key")){var G=Object.getOwnPropertyDescriptor(O,"key").get;if(G&&G.isReactWarning)return!1}return O.key!==void 0}function Ge(O,G){if(typeof O.ref=="string"&&H.current&&G&&H.current.stateNode!==G){var ue=M(H.current.type);te[ue]||(w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',M(H.current.type),O.ref),te[ue]=!0)}}function lt(O,G){{var ue=function(){ne||(ne=!0,w("%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)",G))};ue.isReactWarning=!0,Object.defineProperty(O,"key",{get:ue,configurable:!0})}}function Mt(O,G){{var ue=function(){Q||(Q=!0,w("%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)",G))};ue.isReactWarning=!0,Object.defineProperty(O,"ref",{get:ue,configurable:!0})}}var Tt=function(O,G,ue,we,Me,Ue,_e){var Ae={$$typeof:t,type:O,key:G,ref:ue,props:_e,_owner:Ue};return Ae._store={},Object.defineProperty(Ae._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ae,"_self",{configurable:!1,enumerable:!1,writable:!1,value:we}),Object.defineProperty(Ae,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Me}),Object.freeze&&(Object.freeze(Ae.props),Object.freeze(Ae)),Ae};function Vt(O,G,ue,we,Me){{var Ue,_e={},Ae=null,St=null;ue!==void 0&&(z(ue),Ae=""+ue),ze(G)&&(z(G.key),Ae=""+G.key),X(G)&&(St=G.ref,Ge(G,Me));for(Ue in G)ut.call(G,Ue)&&!U.hasOwnProperty(Ue)&&(_e[Ue]=G[Ue]);if(O&&O.defaultProps){var at=O.defaultProps;for(Ue in at)_e[Ue]===void 0&&(_e[Ue]=at[Ue])}if(Ae||St){var dt=typeof O=="function"?O.displayName||O.name||"Unknown":O;Ae&<(_e,dt),St&&Mt(_e,dt)}return Tt(O,Ae,St,Me,we,H.current,_e)}}var Pt=g.ReactCurrentOwner,Nr=g.ReactDebugCurrentFrame;function or(O){if(O){var G=O._owner,ue=tt(O.type,O._source,G?G.type:null);Nr.setExtraStackFrame(ue)}else Nr.setExtraStackFrame(null)}var hu;hu=!1;function pu(O){return typeof O=="object"&&O!==null&&O.$$typeof===t}function ki(){{if(Pt.current){var O=M(Pt.current.type);if(O)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+O+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+O+"`."}return""}}function Ac(O){return""}var qi={};function Cc(O){{var G=ki();if(!G){var ue=typeof O=="string"?O:O.displayName||O.name;ue&&(G=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+
|
|
25
|
+
Check the top-level render call using <`+ue+">.")}return G}}function Li(O,G){{if(!O._store||O._store.validated||O.key!=null)return;O._store.validated=!0;var ue=Cc(G);if(qi[ue])return;qi[ue]=!0;var we="";O&&O._owner&&O._owner!==Pt.current&&(we=" It was passed a child from "+M(O._owner.type)+"."),or(O),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ue,we),or(null)}}function ji(O,G){{if(typeof O!="object")return;if(Lt(O))for(var ue=0;ue<O.length;ue++){var we=O[ue];pu(we)&&Li(we,G)}else if(pu(O))O._store&&(O._store.validated=!0);else if(O){var Me=b(O);if(typeof Me=="function"&&Me!==O.entries)for(var Ue=Me.call(O),_e;!(_e=Ue.next()).done;)pu(_e.value)&&Li(_e.value,G)}}}function _c(O){{var G=O.type;if(G==null||typeof G=="string")return;var ue;if(typeof G=="function")ue=G.propTypes;else if(typeof G=="object"&&(G.$$typeof===l||G.$$typeof===p))ue=G.propTypes;else return;if(ue){var we=M(G);Fe(ue,O.props,"prop",we,O)}else if(G.PropTypes!==void 0&&!hu){hu=!0;var Me=M(G);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Me||"Unknown")}typeof G.getDefaultProps=="function"&&!G.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Tc(O){{for(var G=Object.keys(O.props),ue=0;ue<G.length;ue++){var we=G[ue];if(we!=="children"&&we!=="key"){or(O),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",we),or(null);break}}O.ref!==null&&(or(O),w("Invalid attribute `ref` supplied to `React.Fragment`."),or(null))}}var $i={};function zi(O,G,ue,we,Me,Ue){{var _e=x(O);if(!_e){var Ae="";(O===void 0||typeof O=="object"&&O!==null&&Object.keys(O).length===0)&&(Ae+=" 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 St=Ac();St?Ae+=St:Ae+=ki();var at;O===null?at="null":Lt(O)?at="array":O!==void 0&&O.$$typeof===t?(at="<"+(M(O.type)||"Unknown")+" />",Ae=" Did you accidentally export a JSX literal instead of a component?"):at=typeof O,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",at,Ae)}var dt=Vt(O,G,ue,Me,Ue);if(dt==null)return dt;if(_e){var jt=G.children;if(jt!==void 0)if(we)if(Lt(jt)){for(var Zt=0;Zt<jt.length;Zt++)ji(jt[Zt],O);Object.freeze&&Object.freeze(jt)}else w("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 ji(jt,O)}if(ut.call(G,"key")){var Ce=M(O),Ve=Object.keys(G).filter(function(sn){return sn!=="key"}),mu=Ve.length>0?"{key: someKey, "+Ve.join(": ..., ")+": ...}":"{key: someKey}";if(!$i[Ce+mu]){var Pn=Ve.length>0?"{"+Ve.join(": ..., ")+": ...}":"{}";w(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,At,Vt,qc,Vt),Yi[Vt+At]=!0}}return O===n?Nc(ft):Mc(ft),ft}}function Pc(O,X,ae){return Gi(O,X,ae,!0)}function Ic(O,X,ae){return Gi(O,X,ae,!1)}var Bc=Ic,Rc=Pc;$n.Fragment=n,$n.jsx=Bc,$n.jsxs=Rc})()),$n}var jc;function mp(){return jc||(jc=1,process.env.NODE_ENV==="production"?xu.exports=hp():xu.exports=pp()),xu.exports}var ee=mp();const $c=6048e5,gp=864e5,zc=6e4,Hc=36e5,bp=1e3,Uc=Symbol.for("constructDateFrom");function Ze(e,r){return typeof e=="function"?e(r):e&&typeof e=="object"&&Uc in e?e[Uc](r):e instanceof Date?new e.constructor(r):new Date(r)}function me(e,r){return Ze(r||e,e)}function zr(e,r,t){const n=me(e,t==null?void 0:t.in);return isNaN(r)?Ze((t==null?void 0:t.in)||e,NaN):(r&&n.setDate(n.getDate()+r),n)}function Au(e,r,t){const n=me(e,t==null?void 0:t.in);if(isNaN(r))return Ze(e,NaN);if(!r)return n;const u=n.getDate(),i=Ze(e,n.getTime());i.setMonth(n.getMonth()+r+1,0);const a=i.getDate();return u>=a?i:(n.setFullYear(i.getFullYear(),i.getMonth(),u),n)}function yp(e,r,t){const{years:n=0,months:u=0,weeks:i=0,days:a=0,hours:s=0,minutes:l=0,seconds:c=0}=r,f=me(e,t==null?void 0:t.in),p=u||n?Au(f,u+n*12):f,o=a||i?zr(p,a+i*7):p,d=l+s*60,h=(c+d*60)*1e3;return Ze(e,+o+h)}function Vc(e,r,t){return Ze(e,+me(e)+r)}function vp(e,r,t){return Vc(e,r*Hc)}let wp={};function Hr(){return wp}function br(e,r){var s,l,c,f;const t=Hr(),n=(r==null?void 0:r.weekStartsOn)??((l=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??t.weekStartsOn??((f=(c=t.locale)==null?void 0:c.options)==null?void 0:f.weekStartsOn)??0,u=me(e,r==null?void 0:r.in),i=u.getDay(),a=(i<n?7:0)+i-n;return u.setDate(u.getDate()-a),u.setHours(0,0,0,0),u}function fn(e,r){return br(e,{...r,weekStartsOn:1})}function Wc(e,r){const t=me(e,r==null?void 0:r.in),n=t.getFullYear(),u=Ze(t,0);u.setFullYear(n+1,0,4),u.setHours(0,0,0,0);const i=fn(u),a=Ze(t,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);const s=fn(a);return t.getTime()>=i.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}function Cu(e){const r=me(e),t=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return t.setUTCFullYear(r.getFullYear()),+e-+t}function zn(e,...r){const t=Ze.bind(null,r.find(n=>typeof n=="object"));return r.map(t)}function Ur(e,r){const t=me(e,r==null?void 0:r.in);return t.setHours(0,0,0,0),t}function Dp(e,r,t){const[n,u]=zn(t==null?void 0:t.in,e,r),i=Ur(n),a=Ur(u),s=+i-Cu(i),l=+a-Cu(a);return Math.round((s-l)/gp)}function Ep(e,r){const t=Wc(e,r),n=Ze(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),fn(n)}function xp(e,r,t){const n=me(e,t==null?void 0:t.in);return n.setTime(n.getTime()+r*zc),n}function Ap(e,r,t){return Vc(e,r*1e3)}function Cp(e,r,t){return zr(e,r*7,t)}function _p(e,r,t){return Au(e,r*12,t)}function Tp(e,r,t){const[n,u]=zn(t==null?void 0:t.in,e,r);return+Ur(n)==+Ur(u)}function Sp(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Yc(e){return!(!Sp(e)&&typeof e!="number"||isNaN(+me(e)))}function Gc(e,r){const t=me(e,r==null?void 0:r.in);return t.setHours(23,59,59,999),t}function Fp(e,r){const t=me(e,r==null?void 0:r.in),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function Op(e,r){const t=me(e,r==null?void 0:r.in);return t.setDate(1),t.setHours(0,0,0,0),t}function Xc(e,r){const t=me(e,r==null?void 0:r.in),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}function Qc(e,r){const t=me(e,r==null?void 0:r.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}function Mp(e,r){var s,l,c,f;const t=Hr(),n=(r==null?void 0:r.weekStartsOn)??((l=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??t.weekStartsOn??((f=(c=t.locale)==null?void 0:c.options)==null?void 0:f.weekStartsOn)??0,u=me(e,r==null?void 0:r.in),i=u.getDay(),a=(i<n?-7:0)+6-(i-n);return u.setDate(u.getDate()+a),u.setHours(23,59,59,999),u}const Np={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Pp=(e,r,t)=>{let n;const u=Np[e];return typeof u=="string"?n=u:r===1?n=u.one:n=u.other.replace("{{count}}",r.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+n:n+" ago":n};function Xi(e){return(r={})=>{const t=r.width?String(r.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const Ip={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Bp={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Rp={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},qp={date:Xi({formats:Ip,defaultWidth:"full"}),time:Xi({formats:Bp,defaultWidth:"full"}),dateTime:Xi({formats:Rp,defaultWidth:"full"})},kp={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Lp=(e,r,t,n)=>kp[e];function Hn(e){return(r,t)=>{const n=t!=null&&t.context?String(t.context):"standalone";let u;if(n==="formatting"&&e.formattingValues){const a=e.defaultFormattingWidth||e.defaultWidth,s=t!=null&&t.width?String(t.width):a;u=e.formattingValues[s]||e.formattingValues[a]}else{const a=e.defaultWidth,s=t!=null&&t.width?String(t.width):e.defaultWidth;u=e.values[s]||e.values[a]}const i=e.argumentCallback?e.argumentCallback(r):r;return u[i]}}const jp={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},$p={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},zp={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Hp={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Up={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Vp={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Wp={ordinalNumber:(e,r)=>{const t=Number(e),n=t%100;if(n>20||n<10)switch(n%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},era:Hn({values:jp,defaultWidth:"wide"}),quarter:Hn({values:$p,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Hn({values:zp,defaultWidth:"wide"}),day:Hn({values:Hp,defaultWidth:"wide"}),dayPeriod:Hn({values:Up,defaultWidth:"wide",formattingValues:Vp,defaultFormattingWidth:"wide"})};function Un(e){return(r,t={})=>{const n=t.width,u=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=r.match(u);if(!i)return null;const a=i[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?Gp(s,p=>p.test(a)):Yp(s,p=>p.test(a));let c;c=e.valueCallback?e.valueCallback(l):l,c=t.valueCallback?t.valueCallback(c):c;const f=r.slice(a.length);return{value:c,rest:f}}}function Yp(e,r){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&r(e[t]))return t}function Gp(e,r){for(let t=0;t<e.length;t++)if(r(e[t]))return t}function Xp(e){return(r,t={})=>{const n=r.match(e.matchPattern);if(!n)return null;const u=n[0],i=r.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];a=t.valueCallback?t.valueCallback(a):a;const s=r.slice(u.length);return{value:a,rest:s}}}const Qp=/^(\d+)(th|st|nd|rd)?/i,Kp=/\d+/i,Zp={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Jp={any:[/^b/i,/^(a|c)/i]},em={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},tm={any:[/1/i,/2/i,/3/i,/4/i]},rm={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},nm={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},um={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},im={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},am={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},sm={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},om={ordinalNumber:Xp({matchPattern:Qp,parsePattern:Kp,valueCallback:e=>parseInt(e,10)}),era:Un({matchPatterns:Zp,defaultMatchWidth:"wide",parsePatterns:Jp,defaultParseWidth:"any"}),quarter:Un({matchPatterns:em,defaultMatchWidth:"wide",parsePatterns:tm,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Un({matchPatterns:rm,defaultMatchWidth:"wide",parsePatterns:nm,defaultParseWidth:"any"}),day:Un({matchPatterns:um,defaultMatchWidth:"wide",parsePatterns:im,defaultParseWidth:"any"}),dayPeriod:Un({matchPatterns:am,defaultMatchWidth:"any",parsePatterns:sm,defaultParseWidth:"any"})},Qi={code:"en-US",formatDistance:Pp,formatLong:qp,formatRelative:Lp,localize:Wp,match:om,options:{weekStartsOn:0,firstWeekContainsDate:1}};function cm(e,r){const t=me(e,r==null?void 0:r.in);return Dp(t,Qc(t))+1}function Kc(e,r){const t=me(e,r==null?void 0:r.in),n=+fn(t)-+Ep(t);return Math.round(n/$c)+1}function Ki(e,r){var f,p,o,d;const t=me(e,r==null?void 0:r.in),n=t.getFullYear(),u=Hr(),i=(r==null?void 0:r.firstWeekContainsDate)??((p=(f=r==null?void 0:r.locale)==null?void 0:f.options)==null?void 0:p.firstWeekContainsDate)??u.firstWeekContainsDate??((d=(o=u.locale)==null?void 0:o.options)==null?void 0:d.firstWeekContainsDate)??1,a=Ze((r==null?void 0:r.in)||e,0);a.setFullYear(n+1,0,i),a.setHours(0,0,0,0);const s=br(a,r),l=Ze((r==null?void 0:r.in)||e,0);l.setFullYear(n,0,i),l.setHours(0,0,0,0);const c=br(l,r);return+t>=+s?n+1:+t>=+c?n:n-1}function fm(e,r){var s,l,c,f;const t=Hr(),n=(r==null?void 0:r.firstWeekContainsDate)??((l=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??t.firstWeekContainsDate??((f=(c=t.locale)==null?void 0:c.options)==null?void 0:f.firstWeekContainsDate)??1,u=Ki(e,r),i=Ze((r==null?void 0:r.in)||e,0);return i.setFullYear(u,0,n),i.setHours(0,0,0,0),br(i,r)}function Zi(e,r){const t=me(e,r==null?void 0:r.in),n=+br(t,r)-+fm(t,r);return Math.round(n/$c)+1}function ze(e,r){const t=e<0?"-":"",n=Math.abs(e).toString().padStart(r,"0");return t+n}const Tr={y(e,r){const t=e.getFullYear(),n=t>0?t:1-t;return ze(r==="yy"?n%100:n,r.length)},M(e,r){const t=e.getMonth();return r==="M"?String(t+1):ze(t+1,2)},d(e,r){return ze(e.getDate(),r.length)},a(e,r){const t=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(e,r){return ze(e.getHours()%12||12,r.length)},H(e,r){return ze(e.getHours(),r.length)},m(e,r){return ze(e.getMinutes(),r.length)},s(e,r){return ze(e.getSeconds(),r.length)},S(e,r){const t=r.length,n=e.getMilliseconds(),u=Math.trunc(n*Math.pow(10,t-3));return ze(u,r.length)}},ln={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Zc={G:function(e,r,t){const n=e.getFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return t.era(n,{width:"abbreviated"});case"GGGGG":return t.era(n,{width:"narrow"});case"GGGG":default:return t.era(n,{width:"wide"})}},y:function(e,r,t){if(r==="yo"){const n=e.getFullYear(),u=n>0?n:1-n;return t.ordinalNumber(u,{unit:"year"})}return Tr.y(e,r)},Y:function(e,r,t,n){const u=Ki(e,n),i=u>0?u:1-u;if(r==="YY"){const a=i%100;return ze(a,2)}return r==="Yo"?t.ordinalNumber(i,{unit:"year"}):ze(i,r.length)},R:function(e,r){const t=Wc(e);return ze(t,r.length)},u:function(e,r){const t=e.getFullYear();return ze(t,r.length)},Q:function(e,r,t){const n=Math.ceil((e.getMonth()+1)/3);switch(r){case"Q":return String(n);case"QQ":return ze(n,2);case"Qo":return t.ordinalNumber(n,{unit:"quarter"});case"QQQ":return t.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,r,t){const n=Math.ceil((e.getMonth()+1)/3);switch(r){case"q":return String(n);case"qq":return ze(n,2);case"qo":return t.ordinalNumber(n,{unit:"quarter"});case"qqq":return t.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,r,t){const n=e.getMonth();switch(r){case"M":case"MM":return Tr.M(e,r);case"Mo":return t.ordinalNumber(n+1,{unit:"month"});case"MMM":return t.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(n,{width:"wide",context:"formatting"})}},L:function(e,r,t){const n=e.getMonth();switch(r){case"L":return String(n+1);case"LL":return ze(n+1,2);case"Lo":return t.ordinalNumber(n+1,{unit:"month"});case"LLL":return t.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(n,{width:"wide",context:"standalone"})}},w:function(e,r,t,n){const u=Zi(e,n);return r==="wo"?t.ordinalNumber(u,{unit:"week"}):ze(u,r.length)},I:function(e,r,t){const n=Kc(e);return r==="Io"?t.ordinalNumber(n,{unit:"week"}):ze(n,r.length)},d:function(e,r,t){return r==="do"?t.ordinalNumber(e.getDate(),{unit:"date"}):Tr.d(e,r)},D:function(e,r,t){const n=cm(e);return r==="Do"?t.ordinalNumber(n,{unit:"dayOfYear"}):ze(n,r.length)},E:function(e,r,t){const n=e.getDay();switch(r){case"E":case"EE":case"EEE":return t.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(n,{width:"short",context:"formatting"});case"EEEE":default:return t.day(n,{width:"wide",context:"formatting"})}},e:function(e,r,t,n){const u=e.getDay(),i=(u-n.weekStartsOn+8)%7||7;switch(r){case"e":return String(i);case"ee":return ze(i,2);case"eo":return t.ordinalNumber(i,{unit:"day"});case"eee":return t.day(u,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(u,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(u,{width:"short",context:"formatting"});case"eeee":default:return t.day(u,{width:"wide",context:"formatting"})}},c:function(e,r,t,n){const u=e.getDay(),i=(u-n.weekStartsOn+8)%7||7;switch(r){case"c":return String(i);case"cc":return ze(i,r.length);case"co":return t.ordinalNumber(i,{unit:"day"});case"ccc":return t.day(u,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(u,{width:"narrow",context:"standalone"});case"cccccc":return t.day(u,{width:"short",context:"standalone"});case"cccc":default:return t.day(u,{width:"wide",context:"standalone"})}},i:function(e,r,t){const n=e.getDay(),u=n===0?7:n;switch(r){case"i":return String(u);case"ii":return ze(u,r.length);case"io":return t.ordinalNumber(u,{unit:"day"});case"iii":return t.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(n,{width:"short",context:"formatting"});case"iiii":default:return t.day(n,{width:"wide",context:"formatting"})}},a:function(e,r,t){const u=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return t.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(u,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(u,{width:"wide",context:"formatting"})}},b:function(e,r,t){const n=e.getHours();let u;switch(n===12?u=ln.noon:n===0?u=ln.midnight:u=n/12>=1?"pm":"am",r){case"b":case"bb":return t.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(u,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(u,{width:"wide",context:"formatting"})}},B:function(e,r,t){const n=e.getHours();let u;switch(n>=17?u=ln.evening:n>=12?u=ln.afternoon:n>=4?u=ln.morning:u=ln.night,r){case"B":case"BB":case"BBB":return t.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(u,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(u,{width:"wide",context:"formatting"})}},h:function(e,r,t){if(r==="ho"){let n=e.getHours()%12;return n===0&&(n=12),t.ordinalNumber(n,{unit:"hour"})}return Tr.h(e,r)},H:function(e,r,t){return r==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):Tr.H(e,r)},K:function(e,r,t){const n=e.getHours()%12;return r==="Ko"?t.ordinalNumber(n,{unit:"hour"}):ze(n,r.length)},k:function(e,r,t){let n=e.getHours();return n===0&&(n=24),r==="ko"?t.ordinalNumber(n,{unit:"hour"}):ze(n,r.length)},m:function(e,r,t){return r==="mo"?t.ordinalNumber(e.getMinutes(),{unit:"minute"}):Tr.m(e,r)},s:function(e,r,t){return r==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):Tr.s(e,r)},S:function(e,r){return Tr.S(e,r)},X:function(e,r,t){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(r){case"X":return e0(n);case"XXXX":case"XX":return Vr(n);case"XXXXX":case"XXX":default:return Vr(n,":")}},x:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"x":return e0(n);case"xxxx":case"xx":return Vr(n);case"xxxxx":case"xxx":default:return Vr(n,":")}},O:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+Jc(n,":");case"OOOO":default:return"GMT"+Vr(n,":")}},z:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+Jc(n,":");case"zzzz":default:return"GMT"+Vr(n,":")}},t:function(e,r,t){const n=Math.trunc(+e/1e3);return ze(n,r.length)},T:function(e,r,t){return ze(+e,r.length)}};function Jc(e,r=""){const t=e>0?"-":"+",n=Math.abs(e),u=Math.trunc(n/60),i=n%60;return i===0?t+String(u):t+String(u)+r+ze(i,2)}function e0(e,r){return e%60===0?(e>0?"-":"+")+ze(Math.abs(e)/60,2):Vr(e,r)}function Vr(e,r=""){const t=e>0?"-":"+",n=Math.abs(e),u=ze(Math.trunc(n/60),2),i=ze(n%60,2);return t+u+r+i}const t0=(e,r)=>{switch(e){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},r0=(e,r)=>{switch(e){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},Vn={p:r0,P:(e,r)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],u=t[2];if(!u)return t0(e,r);let i;switch(n){case"P":i=r.dateTime({width:"short"});break;case"PP":i=r.dateTime({width:"medium"});break;case"PPP":i=r.dateTime({width:"long"});break;case"PPPP":default:i=r.dateTime({width:"full"});break}return i.replace("{{date}}",t0(n,r)).replace("{{time}}",r0(u,r))}},lm=/^D+$/,dm=/^Y+$/,hm=["D","DD","YY","YYYY"];function n0(e){return lm.test(e)}function u0(e){return dm.test(e)}function Ji(e,r,t){const n=pm(e,r,t);if(console.warn(n),hm.includes(e))throw new RangeError(n)}function pm(e,r,t){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${r}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const mm=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,gm=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,bm=/^'([^]*?)'?$/,ym=/''/g,vm=/[a-zA-Z]/;function ea(e,r,t){var f,p,o,d,m,h,b,g;const n=Hr(),u=(t==null?void 0:t.locale)??n.locale??Qi,i=(t==null?void 0:t.firstWeekContainsDate)??((p=(f=t==null?void 0:t.locale)==null?void 0:f.options)==null?void 0:p.firstWeekContainsDate)??n.firstWeekContainsDate??((d=(o=n.locale)==null?void 0:o.options)==null?void 0:d.firstWeekContainsDate)??1,a=(t==null?void 0:t.weekStartsOn)??((h=(m=t==null?void 0:t.locale)==null?void 0:m.options)==null?void 0:h.weekStartsOn)??n.weekStartsOn??((g=(b=n.locale)==null?void 0:b.options)==null?void 0:g.weekStartsOn)??0,s=me(e,t==null?void 0:t.in);if(!Yc(s))throw new RangeError("Invalid time value");let l=r.match(gm).map(w=>{const y=w[0];if(y==="p"||y==="P"){const D=Vn[y];return D(w,u.formatLong)}return w}).join("").match(mm).map(w=>{if(w==="''")return{isToken:!1,value:"'"};const y=w[0];if(y==="'")return{isToken:!1,value:wm(w)};if(Zc[y])return{isToken:!0,value:w};if(y.match(vm))throw new RangeError("Format string contains an unescaped latin alphabet character `"+y+"`");return{isToken:!1,value:w}});u.localize.preprocessor&&(l=u.localize.preprocessor(s,l));const c={firstWeekContainsDate:i,weekStartsOn:a,locale:u};return l.map(w=>{if(!w.isToken)return w.value;const y=w.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&u0(y)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&n0(y))&&Ji(y,r,String(e));const D=Zc[y[0]];return D(s,y,u.localize,c)}).join("")}function wm(e){const r=e.match(bm);return r?r[1].replace(ym,"'"):e}function Dm(e,r){return me(e,r==null?void 0:r.in).getDate()}function i0(e,r){const t=me(e,r==null?void 0:r.in),n=t.getFullYear(),u=t.getMonth(),i=Ze(t,0);return i.setFullYear(n,u+1,0),i.setHours(0,0,0,0),i.getDate()}function Em(){return Object.assign({},Hr())}function xm(e,r){return me(e,r==null?void 0:r.in).getHours()}function Am(e,r){const t=me(e,r==null?void 0:r.in).getDay();return t===0?7:t}function Cm(e){return me(e).getMilliseconds()}function _m(e,r){return me(e,r==null?void 0:r.in).getMinutes()}function Tm(e,r){return me(e,r==null?void 0:r.in).getMonth()}function Sm(e){return me(e).getSeconds()}function Fm(e,r){return me(e,r==null?void 0:r.in).getFullYear()}function _u(e,r){return+me(e)>+me(r)}function Tu(e,r){return+me(e)<+me(r)}function Om(e,r){return+me(e)==+me(r)}function Mm(e,r){const t=Nm(r)?new r(0):Ze(r,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}function Nm(e){var r;return typeof e=="function"&&((r=e.prototype)==null?void 0:r.constructor)===e}const Pm=10;class a0{constructor(){j(this,"subPriority",0)}validate(r,t){return!0}}class Im extends a0{constructor(r,t,n,u,i){super(),this.value=r,this.validateValue=t,this.setValue=n,this.priority=u,i&&(this.subPriority=i)}validate(r,t){return this.validateValue(r,this.value,t)}set(r,t,n){return this.setValue(r,t,this.value,n)}}class Bm extends a0{constructor(t,n){super();j(this,"priority",Pm);j(this,"subPriority",-1);this.context=t||(u=>Ze(n,u))}set(t,n){return n.timestampIsSet?t:Ze(t,Mm(t,this.context))}}let Pe=class{run(r,t,n,u){const i=this.parse(r,t,n,u);return i?{setter:new Im(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(r,t,n){return!0}};class Rm extends Pe{constructor(){super(...arguments);j(this,"priority",140);j(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,u){switch(n){case"G":case"GG":case"GGG":return u.era(t,{width:"abbreviated"})||u.era(t,{width:"narrow"});case"GGGGG":return u.era(t,{width:"narrow"});case"GGGG":default:return u.era(t,{width:"wide"})||u.era(t,{width:"abbreviated"})||u.era(t,{width:"narrow"})}}set(t,n,u){return n.era=u,t.setFullYear(u,0,1),t.setHours(0,0,0,0),t}}const lt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},sr={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function dt(e,r){return e&&{value:r(e.value),rest:e.rest}}function nt(e,r){const t=r.match(e);return t?{value:parseInt(t[0],10),rest:r.slice(t[0].length)}:null}function or(e,r){const t=r.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:r.slice(1)};const n=t[1]==="+"?1:-1,u=t[2]?parseInt(t[2],10):0,i=t[3]?parseInt(t[3],10):0,a=t[5]?parseInt(t[5],10):0;return{value:n*(u*Hc+i*zc+a*bp),rest:r.slice(t[0].length)}}function s0(e){return nt(lt.anyDigitsSigned,e)}function it(e,r){switch(e){case 1:return nt(lt.singleDigit,r);case 2:return nt(lt.twoDigits,r);case 3:return nt(lt.threeDigits,r);case 4:return nt(lt.fourDigits,r);default:return nt(new RegExp("^\\d{1,"+e+"}"),r)}}function Su(e,r){switch(e){case 1:return nt(lt.singleDigitSigned,r);case 2:return nt(lt.twoDigitsSigned,r);case 3:return nt(lt.threeDigitsSigned,r);case 4:return nt(lt.fourDigitsSigned,r);default:return nt(new RegExp("^-?\\d{1,"+e+"}"),r)}}function ta(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function o0(e,r){const t=r>0,n=t?r:1-r;let u;if(n<=50)u=e||100;else{const i=n+50,a=Math.trunc(i/100)*100,s=e>=i%100;u=e+a-(s?100:0)}return t?u:1-u}function c0(e){return e%400===0||e%4===0&&e%100!==0}class qm extends Pe{constructor(){super(...arguments);j(this,"priority",130);j(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,u){const i=a=>({year:a,isTwoDigitYear:n==="yy"});switch(n){case"y":return dt(it(4,t),i);case"yo":return dt(u.ordinalNumber(t,{unit:"year"}),i);default:return dt(it(n.length,t),i)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,u){const i=t.getFullYear();if(u.isTwoDigitYear){const s=o0(u.year,i);return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}const a=!("era"in n)||n.era===1?u.year:1-u.year;return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}}class km extends Pe{constructor(){super(...arguments);j(this,"priority",130);j(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,u){const i=a=>({year:a,isTwoDigitYear:n==="YY"});switch(n){case"Y":return dt(it(4,t),i);case"Yo":return dt(u.ordinalNumber(t,{unit:"year"}),i);default:return dt(it(n.length,t),i)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,u,i){const a=Ki(t,i);if(u.isTwoDigitYear){const l=o0(u.year,a);return t.setFullYear(l,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),br(t,i)}const s=!("era"in n)||n.era===1?u.year:1-u.year;return t.setFullYear(s,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),br(t,i)}}class Lm extends Pe{constructor(){super(...arguments);j(this,"priority",130);j(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Su(n==="R"?4:n.length,t)}set(t,n,u){const i=Ze(t,0);return i.setFullYear(u,0,4),i.setHours(0,0,0,0),fn(i)}}class jm extends Pe{constructor(){super(...arguments);j(this,"priority",130);j(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Su(n==="u"?4:n.length,t)}set(t,n,u){return t.setFullYear(u,0,1),t.setHours(0,0,0,0),t}}class $m extends Pe{constructor(){super(...arguments);j(this,"priority",120);j(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,u){switch(n){case"Q":case"QQ":return it(n.length,t);case"Qo":return u.ordinalNumber(t,{unit:"quarter"});case"QQQ":return u.quarter(t,{width:"abbreviated",context:"formatting"})||u.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return u.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return u.quarter(t,{width:"wide",context:"formatting"})||u.quarter(t,{width:"abbreviated",context:"formatting"})||u.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,u){return t.setMonth((u-1)*3,1),t.setHours(0,0,0,0),t}}class zm extends Pe{constructor(){super(...arguments);j(this,"priority",120);j(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,u){switch(n){case"q":case"qq":return it(n.length,t);case"qo":return u.ordinalNumber(t,{unit:"quarter"});case"qqq":return u.quarter(t,{width:"abbreviated",context:"standalone"})||u.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return u.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return u.quarter(t,{width:"wide",context:"standalone"})||u.quarter(t,{width:"abbreviated",context:"standalone"})||u.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,u){return t.setMonth((u-1)*3,1),t.setHours(0,0,0,0),t}}class Hm extends Pe{constructor(){super(...arguments);j(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);j(this,"priority",110)}parse(t,n,u){const i=a=>a-1;switch(n){case"M":return dt(nt(lt.month,t),i);case"MM":return dt(it(2,t),i);case"Mo":return dt(u.ordinalNumber(t,{unit:"month"}),i);case"MMM":return u.month(t,{width:"abbreviated",context:"formatting"})||u.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return u.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return u.month(t,{width:"wide",context:"formatting"})||u.month(t,{width:"abbreviated",context:"formatting"})||u.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,u){return t.setMonth(u,1),t.setHours(0,0,0,0),t}}class Um extends Pe{constructor(){super(...arguments);j(this,"priority",110);j(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,u){const i=a=>a-1;switch(n){case"L":return dt(nt(lt.month,t),i);case"LL":return dt(it(2,t),i);case"Lo":return dt(u.ordinalNumber(t,{unit:"month"}),i);case"LLL":return u.month(t,{width:"abbreviated",context:"standalone"})||u.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return u.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return u.month(t,{width:"wide",context:"standalone"})||u.month(t,{width:"abbreviated",context:"standalone"})||u.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,u){return t.setMonth(u,1),t.setHours(0,0,0,0),t}}function Vm(e,r,t){const n=me(e,t==null?void 0:t.in),u=Zi(n,t)-r;return n.setDate(n.getDate()-u*7),me(n,t==null?void 0:t.in)}class Wm extends Pe{constructor(){super(...arguments);j(this,"priority",100);j(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,u){switch(n){case"w":return nt(lt.week,t);case"wo":return u.ordinalNumber(t,{unit:"week"});default:return it(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,u,i){return br(Vm(t,u,i),i)}}function Ym(e,r,t){const n=me(e,t==null?void 0:t.in),u=Kc(n,t)-r;return n.setDate(n.getDate()-u*7),n}class Gm extends Pe{constructor(){super(...arguments);j(this,"priority",100);j(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,u){switch(n){case"I":return nt(lt.week,t);case"Io":return u.ordinalNumber(t,{unit:"week"});default:return it(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,u){return fn(Ym(t,u))}}const Xm=[31,28,31,30,31,30,31,31,30,31,30,31],Qm=[31,29,31,30,31,30,31,31,30,31,30,31];class Km extends Pe{constructor(){super(...arguments);j(this,"priority",90);j(this,"subPriority",1);j(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,u){switch(n){case"d":return nt(lt.date,t);case"do":return u.ordinalNumber(t,{unit:"date"});default:return it(n.length,t)}}validate(t,n){const u=t.getFullYear(),i=c0(u),a=t.getMonth();return i?n>=1&&n<=Qm[a]:n>=1&&n<=Xm[a]}set(t,n,u){return t.setDate(u),t.setHours(0,0,0,0),t}}class Zm extends Pe{constructor(){super(...arguments);j(this,"priority",90);j(this,"subpriority",1);j(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,u){switch(n){case"D":case"DD":return nt(lt.dayOfYear,t);case"Do":return u.ordinalNumber(t,{unit:"date"});default:return it(n.length,t)}}validate(t,n){const u=t.getFullYear();return c0(u)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,u){return t.setMonth(0,u),t.setHours(0,0,0,0),t}}function ra(e,r,t){var p,o,d,m;const n=Hr(),u=(t==null?void 0:t.weekStartsOn)??((o=(p=t==null?void 0:t.locale)==null?void 0:p.options)==null?void 0:o.weekStartsOn)??n.weekStartsOn??((m=(d=n.locale)==null?void 0:d.options)==null?void 0:m.weekStartsOn)??0,i=me(e,t==null?void 0:t.in),a=i.getDay(),l=(r%7+7)%7,c=7-u,f=r<0||r>6?r-(a+c)%7:(l+c)%7-(a+c)%7;return zr(i,f,t)}class Jm extends Pe{constructor(){super(...arguments);j(this,"priority",90);j(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,u){switch(n){case"E":case"EE":case"EEE":return u.day(t,{width:"abbreviated",context:"formatting"})||u.day(t,{width:"short",context:"formatting"})||u.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return u.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return u.day(t,{width:"short",context:"formatting"})||u.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return u.day(t,{width:"wide",context:"formatting"})||u.day(t,{width:"abbreviated",context:"formatting"})||u.day(t,{width:"short",context:"formatting"})||u.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,u,i){return t=ra(t,u,i),t.setHours(0,0,0,0),t}}class eg extends Pe{constructor(){super(...arguments);j(this,"priority",90);j(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,u,i){const a=s=>{const l=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+l};switch(n){case"e":case"ee":return dt(it(n.length,t),a);case"eo":return dt(u.ordinalNumber(t,{unit:"day"}),a);case"eee":return u.day(t,{width:"abbreviated",context:"formatting"})||u.day(t,{width:"short",context:"formatting"})||u.day(t,{width:"narrow",context:"formatting"});case"eeeee":return u.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return u.day(t,{width:"short",context:"formatting"})||u.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return u.day(t,{width:"wide",context:"formatting"})||u.day(t,{width:"abbreviated",context:"formatting"})||u.day(t,{width:"short",context:"formatting"})||u.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,u,i){return t=ra(t,u,i),t.setHours(0,0,0,0),t}}class tg extends Pe{constructor(){super(...arguments);j(this,"priority",90);j(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,u,i){const a=s=>{const l=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+l};switch(n){case"c":case"cc":return dt(it(n.length,t),a);case"co":return dt(u.ordinalNumber(t,{unit:"day"}),a);case"ccc":return u.day(t,{width:"abbreviated",context:"standalone"})||u.day(t,{width:"short",context:"standalone"})||u.day(t,{width:"narrow",context:"standalone"});case"ccccc":return u.day(t,{width:"narrow",context:"standalone"});case"cccccc":return u.day(t,{width:"short",context:"standalone"})||u.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return u.day(t,{width:"wide",context:"standalone"})||u.day(t,{width:"abbreviated",context:"standalone"})||u.day(t,{width:"short",context:"standalone"})||u.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,u,i){return t=ra(t,u,i),t.setHours(0,0,0,0),t}}function rg(e,r,t){const n=me(e,t==null?void 0:t.in),u=Am(n,t),i=r-u;return zr(n,i,t)}class ng extends Pe{constructor(){super(...arguments);j(this,"priority",90);j(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,u){const i=a=>a===0?7:a;switch(n){case"i":case"ii":return it(n.length,t);case"io":return u.ordinalNumber(t,{unit:"day"});case"iii":return dt(u.day(t,{width:"abbreviated",context:"formatting"})||u.day(t,{width:"short",context:"formatting"})||u.day(t,{width:"narrow",context:"formatting"}),i);case"iiiii":return dt(u.day(t,{width:"narrow",context:"formatting"}),i);case"iiiiii":return dt(u.day(t,{width:"short",context:"formatting"})||u.day(t,{width:"narrow",context:"formatting"}),i);case"iiii":default:return dt(u.day(t,{width:"wide",context:"formatting"})||u.day(t,{width:"abbreviated",context:"formatting"})||u.day(t,{width:"short",context:"formatting"})||u.day(t,{width:"narrow",context:"formatting"}),i)}}validate(t,n){return n>=1&&n<=7}set(t,n,u){return t=rg(t,u),t.setHours(0,0,0,0),t}}class ug extends Pe{constructor(){super(...arguments);j(this,"priority",80);j(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,u){switch(n){case"a":case"aa":case"aaa":return u.dayPeriod(t,{width:"abbreviated",context:"formatting"})||u.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return u.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return u.dayPeriod(t,{width:"wide",context:"formatting"})||u.dayPeriod(t,{width:"abbreviated",context:"formatting"})||u.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,u){return t.setHours(ta(u),0,0,0),t}}class ig extends Pe{constructor(){super(...arguments);j(this,"priority",80);j(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,u){switch(n){case"b":case"bb":case"bbb":return u.dayPeriod(t,{width:"abbreviated",context:"formatting"})||u.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return u.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return u.dayPeriod(t,{width:"wide",context:"formatting"})||u.dayPeriod(t,{width:"abbreviated",context:"formatting"})||u.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,u){return t.setHours(ta(u),0,0,0),t}}class ag extends Pe{constructor(){super(...arguments);j(this,"priority",80);j(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,u){switch(n){case"B":case"BB":case"BBB":return u.dayPeriod(t,{width:"abbreviated",context:"formatting"})||u.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return u.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return u.dayPeriod(t,{width:"wide",context:"formatting"})||u.dayPeriod(t,{width:"abbreviated",context:"formatting"})||u.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,u){return t.setHours(ta(u),0,0,0),t}}class sg extends Pe{constructor(){super(...arguments);j(this,"priority",70);j(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,u){switch(n){case"h":return nt(lt.hour12h,t);case"ho":return u.ordinalNumber(t,{unit:"hour"});default:return it(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,u){const i=t.getHours()>=12;return i&&u<12?t.setHours(u+12,0,0,0):!i&&u===12?t.setHours(0,0,0,0):t.setHours(u,0,0,0),t}}class og extends Pe{constructor(){super(...arguments);j(this,"priority",70);j(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,u){switch(n){case"H":return nt(lt.hour23h,t);case"Ho":return u.ordinalNumber(t,{unit:"hour"});default:return it(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,u){return t.setHours(u,0,0,0),t}}class cg extends Pe{constructor(){super(...arguments);j(this,"priority",70);j(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,u){switch(n){case"K":return nt(lt.hour11h,t);case"Ko":return u.ordinalNumber(t,{unit:"hour"});default:return it(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,u){return t.getHours()>=12&&u<12?t.setHours(u+12,0,0,0):t.setHours(u,0,0,0),t}}class fg extends Pe{constructor(){super(...arguments);j(this,"priority",70);j(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,u){switch(n){case"k":return nt(lt.hour24h,t);case"ko":return u.ordinalNumber(t,{unit:"hour"});default:return it(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,u){const i=u<=24?u%24:u;return t.setHours(i,0,0,0),t}}class lg extends Pe{constructor(){super(...arguments);j(this,"priority",60);j(this,"incompatibleTokens",["t","T"])}parse(t,n,u){switch(n){case"m":return nt(lt.minute,t);case"mo":return u.ordinalNumber(t,{unit:"minute"});default:return it(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,u){return t.setMinutes(u,0,0),t}}class dg extends Pe{constructor(){super(...arguments);j(this,"priority",50);j(this,"incompatibleTokens",["t","T"])}parse(t,n,u){switch(n){case"s":return nt(lt.second,t);case"so":return u.ordinalNumber(t,{unit:"second"});default:return it(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,u){return t.setSeconds(u,0),t}}class hg extends Pe{constructor(){super(...arguments);j(this,"priority",30);j(this,"incompatibleTokens",["t","T"])}parse(t,n){const u=i=>Math.trunc(i*Math.pow(10,-n.length+3));return dt(it(n.length,t),u)}set(t,n,u){return t.setMilliseconds(u),t}}class pg extends Pe{constructor(){super(...arguments);j(this,"priority",10);j(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return or(sr.basicOptionalMinutes,t);case"XX":return or(sr.basic,t);case"XXXX":return or(sr.basicOptionalSeconds,t);case"XXXXX":return or(sr.extendedOptionalSeconds,t);case"XXX":default:return or(sr.extended,t)}}set(t,n,u){return n.timestampIsSet?t:Ze(t,t.getTime()-Cu(t)-u)}}class mg extends Pe{constructor(){super(...arguments);j(this,"priority",10);j(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return or(sr.basicOptionalMinutes,t);case"xx":return or(sr.basic,t);case"xxxx":return or(sr.basicOptionalSeconds,t);case"xxxxx":return or(sr.extendedOptionalSeconds,t);case"xxx":default:return or(sr.extended,t)}}set(t,n,u){return n.timestampIsSet?t:Ze(t,t.getTime()-Cu(t)-u)}}class gg extends Pe{constructor(){super(...arguments);j(this,"priority",40);j(this,"incompatibleTokens","*")}parse(t){return s0(t)}set(t,n,u){return[Ze(t,u*1e3),{timestampIsSet:!0}]}}class bg extends Pe{constructor(){super(...arguments);j(this,"priority",20);j(this,"incompatibleTokens","*")}parse(t){return s0(t)}set(t,n,u){return[Ze(t,u),{timestampIsSet:!0}]}}const yg={G:new Rm,y:new qm,Y:new km,R:new Lm,u:new jm,Q:new $m,q:new zm,M:new Hm,L:new Um,w:new Wm,I:new Gm,d:new Km,D:new Zm,E:new Jm,e:new eg,c:new tg,i:new ng,a:new ug,b:new ig,B:new ag,h:new sg,H:new og,K:new cg,k:new fg,m:new lg,s:new dg,S:new hg,X:new pg,x:new mg,t:new gg,T:new bg},vg=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,wg=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Dg=/^'([^]*?)'?$/,Eg=/''/g,xg=/\S/,Ag=/[a-zA-Z]/;function Cg(e,r,t,n){var b,g,w,y,D,v,E,A;const u=()=>Ze((n==null?void 0:n.in)||t,NaN),i=Em(),a=(n==null?void 0:n.locale)??i.locale??Qi,s=(n==null?void 0:n.firstWeekContainsDate)??((g=(b=n==null?void 0:n.locale)==null?void 0:b.options)==null?void 0:g.firstWeekContainsDate)??i.firstWeekContainsDate??((y=(w=i.locale)==null?void 0:w.options)==null?void 0:y.firstWeekContainsDate)??1,l=(n==null?void 0:n.weekStartsOn)??((v=(D=n==null?void 0:n.locale)==null?void 0:D.options)==null?void 0:v.weekStartsOn)??i.weekStartsOn??((A=(E=i.locale)==null?void 0:E.options)==null?void 0:A.weekStartsOn)??0;if(!r)return e?u():me(t,n==null?void 0:n.in);const c={firstWeekContainsDate:s,weekStartsOn:l,locale:a},f=[new Bm(n==null?void 0:n.in,t)],p=r.match(wg).map(C=>{const T=C[0];if(T in Vn){const x=Vn[T];return x(C,a.formatLong)}return C}).join("").match(vg),o=[];for(let C of p){!(n!=null&&n.useAdditionalWeekYearTokens)&&u0(C)&&Ji(C,r,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&n0(C)&&Ji(C,r,e);const T=C[0],x=yg[T];if(x){const{incompatibleTokens:_}=x;if(Array.isArray(_)){const N=o.find(I=>_.includes(I.token)||I.token===T);if(N)throw new RangeError(`The format string mustn't contain \`${N.fullToken}\` and \`${C}\` at the same time`)}else if(x.incompatibleTokens==="*"&&o.length>0)throw new RangeError(`The format string mustn't contain \`${C}\` and any other token at the same time`);o.push({token:T,fullToken:C});const F=x.run(e,C,a.match,c);if(!F)return u();f.push(F.setter),e=F.rest}else{if(T.match(Ag))throw new RangeError("Format string contains an unescaped latin alphabet character `"+T+"`");if(C==="''"?C="'":T==="'"&&(C=_g(C)),e.indexOf(C)===0)e=e.slice(C.length);else return u()}}if(e.length>0&&xg.test(e))return u();const d=f.map(C=>C.priority).sort((C,T)=>T-C).filter((C,T,x)=>x.indexOf(C)===T).map(C=>f.filter(T=>T.priority===C).sort((T,x)=>x.subPriority-T.subPriority)).map(C=>C[0]);let m=me(t,n==null?void 0:n.in);if(isNaN(+m))return u();const h={};for(const C of d){if(!C.validate(m,c))return u();const T=C.set(m,h,c);Array.isArray(T)?(m=T[0],Object.assign(h,T[1])):m=T}return m}function _g(e){return e.match(Dg)[1].replace(Eg,"'")}function f0(e,r){const t=me(e,r==null?void 0:r.in);return t.setMinutes(0,0,0),t}function Tg(e,r,t){const[n,u]=zn(t==null?void 0:t.in,e,r);return+f0(n)==+f0(u)}function Sg(e,r,t){const[n,u]=zn(t==null?void 0:t.in,e,r);return n.getFullYear()===u.getFullYear()&&n.getMonth()===u.getMonth()}function Fg(e,r,t){const[n,u]=zn(t==null?void 0:t.in,e,r);return n.getFullYear()===u.getFullYear()}function Og(e,r,t){const n=+me(e,t==null?void 0:t.in),[u,i]=[+me(r.start,t==null?void 0:t.in),+me(r.end,t==null?void 0:t.in)].sort((a,s)=>a-s);return n>=u&&n<=i}function Mg(e,r,t){return zr(e,-r,t)}function Ng(e,r,t){const n=me(e,t==null?void 0:t.in),u=n.getFullYear(),i=n.getDate(),a=Ze(e,0);a.setFullYear(u,r,15),a.setHours(0,0,0,0);const s=i0(a);return n.setMonth(r,Math.min(i,s)),n}function Pg(e,r,t){const n=me(e,t==null?void 0:t.in);return n.setDate(r),n}function Ig(e,r,t){const n=me(e,t==null?void 0:t.in);return n.setHours(r),n}function Bg(e,r,t){const n=me(e,t==null?void 0:t.in);return n.setMilliseconds(r),n}function Rg(e,r,t){const n=me(e,t==null?void 0:t.in);return n.setMinutes(r),n}function qg(e,r,t){const n=me(e,t==null?void 0:t.in);return n.setSeconds(r),n}function kg(e,r,t){const n=me(e,t==null?void 0:t.in);return isNaN(+n)?Ze(e,NaN):(n.setFullYear(r),n)}function Lg(e,r,t){return Au(e,-r,t)}function jg(e,r,t){const{years:n=0,months:u=0,weeks:i=0,days:a=0,hours:s=0,minutes:l=0,seconds:c=0}=r,f=Lg(e,u+n*12,t),p=Mg(f,a+i*7,t),o=l+s*60,m=(c+o*60)*1e3;return Ze(e,+p-m)}var Wn=(e=>(e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH",e.YEAR="YEAR",e))(Wn||{});function dn({error:e,id:r}){return ee.jsxs(qe.FormHelperText,{id:r,"data-testid":"form-field-error-message",error:!0,children:[cn.getTextFieldIconByStatus("error"),e]})}var Jt={},er={},na={},tr={},Fu={},l0;function $g(){return l0||(l0=1,Object.defineProperty(Fu,"__esModule",{value:!0}),Fu.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(e){return e.charCodeAt(0)}))),Fu}var Ou={},d0;function zg(){return d0||(d0=1,Object.defineProperty(Ou,"__esModule",{value:!0}),Ou.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(e){return e.charCodeAt(0)}))),Ou}var ua={},h0;function p0(){return h0||(h0=1,(function(e){var r;Object.defineProperty(e,"__esModule",{value:!0}),e.replaceCodePoint=e.fromCodePoint=void 0;var t=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);e.fromCodePoint=(r=String.fromCodePoint)!==null&&r!==void 0?r:function(i){var a="";return i>65535&&(i-=65536,a+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),a+=String.fromCharCode(i),a};function n(i){var a;return i>=55296&&i<=57343||i>1114111?65533:(a=t.get(i))!==null&&a!==void 0?a:i}e.replaceCodePoint=n;function u(i){return(0,e.fromCodePoint)(n(i))}e.default=u})(ua)),ua}var m0;function Mu(){return m0||(m0=1,(function(e){var r=tr&&tr.__createBinding||(Object.create?(function(_,F,N,I){I===void 0&&(I=N);var M=Object.getOwnPropertyDescriptor(F,N);(!M||("get"in M?!F.__esModule:M.writable||M.configurable))&&(M={enumerable:!0,get:function(){return F[N]}}),Object.defineProperty(_,I,M)}):(function(_,F,N,I){I===void 0&&(I=N),_[I]=F[N]})),t=tr&&tr.__setModuleDefault||(Object.create?(function(_,F){Object.defineProperty(_,"default",{enumerable:!0,value:F})}):function(_,F){_.default=F}),n=tr&&tr.__importStar||function(_){if(_&&_.__esModule)return _;var F={};if(_!=null)for(var N in _)N!=="default"&&Object.prototype.hasOwnProperty.call(_,N)&&r(F,_,N);return t(F,_),F},u=tr&&tr.__importDefault||function(_){return _&&_.__esModule?_:{default:_}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXML=e.decodeHTMLStrict=e.decodeHTMLAttribute=e.decodeHTML=e.determineBranch=e.EntityDecoder=e.DecodingMode=e.BinTrieFlags=e.fromCodePoint=e.replaceCodePoint=e.decodeCodePoint=e.xmlDecodeTree=e.htmlDecodeTree=void 0;var i=u($g());e.htmlDecodeTree=i.default;var a=u(zg());e.xmlDecodeTree=a.default;var s=n(p0());e.decodeCodePoint=s.default;var l=p0();Object.defineProperty(e,"replaceCodePoint",{enumerable:!0,get:function(){return l.replaceCodePoint}}),Object.defineProperty(e,"fromCodePoint",{enumerable:!0,get:function(){return l.fromCodePoint}});var c;(function(_){_[_.NUM=35]="NUM",_[_.SEMI=59]="SEMI",_[_.EQUALS=61]="EQUALS",_[_.ZERO=48]="ZERO",_[_.NINE=57]="NINE",_[_.LOWER_A=97]="LOWER_A",_[_.LOWER_F=102]="LOWER_F",_[_.LOWER_X=120]="LOWER_X",_[_.LOWER_Z=122]="LOWER_Z",_[_.UPPER_A=65]="UPPER_A",_[_.UPPER_F=70]="UPPER_F",_[_.UPPER_Z=90]="UPPER_Z"})(c||(c={}));var f=32,p;(function(_){_[_.VALUE_LENGTH=49152]="VALUE_LENGTH",_[_.BRANCH_LENGTH=16256]="BRANCH_LENGTH",_[_.JUMP_TABLE=127]="JUMP_TABLE"})(p=e.BinTrieFlags||(e.BinTrieFlags={}));function o(_){return _>=c.ZERO&&_<=c.NINE}function d(_){return _>=c.UPPER_A&&_<=c.UPPER_F||_>=c.LOWER_A&&_<=c.LOWER_F}function m(_){return _>=c.UPPER_A&&_<=c.UPPER_Z||_>=c.LOWER_A&&_<=c.LOWER_Z||o(_)}function h(_){return _===c.EQUALS||m(_)}var b;(function(_){_[_.EntityStart=0]="EntityStart",_[_.NumericStart=1]="NumericStart",_[_.NumericDecimal=2]="NumericDecimal",_[_.NumericHex=3]="NumericHex",_[_.NamedEntity=4]="NamedEntity"})(b||(b={}));var g;(function(_){_[_.Legacy=0]="Legacy",_[_.Strict=1]="Strict",_[_.Attribute=2]="Attribute"})(g=e.DecodingMode||(e.DecodingMode={}));var w=(function(){function _(F,N,I){this.decodeTree=F,this.emitCodePoint=N,this.errors=I,this.state=b.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=g.Strict}return _.prototype.startEntity=function(F){this.decodeMode=F,this.state=b.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},_.prototype.write=function(F,N){switch(this.state){case b.EntityStart:return F.charCodeAt(N)===c.NUM?(this.state=b.NumericStart,this.consumed+=1,this.stateNumericStart(F,N+1)):(this.state=b.NamedEntity,this.stateNamedEntity(F,N));case b.NumericStart:return this.stateNumericStart(F,N);case b.NumericDecimal:return this.stateNumericDecimal(F,N);case b.NumericHex:return this.stateNumericHex(F,N);case b.NamedEntity:return this.stateNamedEntity(F,N)}},_.prototype.stateNumericStart=function(F,N){return N>=F.length?-1:(F.charCodeAt(N)|f)===c.LOWER_X?(this.state=b.NumericHex,this.consumed+=1,this.stateNumericHex(F,N+1)):(this.state=b.NumericDecimal,this.stateNumericDecimal(F,N))},_.prototype.addToNumericResult=function(F,N,I,M){if(N!==I){var R=I-N;this.result=this.result*Math.pow(M,R)+parseInt(F.substr(N,R),M),this.consumed+=R}},_.prototype.stateNumericHex=function(F,N){for(var I=N;N<F.length;){var M=F.charCodeAt(N);if(o(M)||d(M))N+=1;else return this.addToNumericResult(F,I,N,16),this.emitNumericEntity(M,3)}return this.addToNumericResult(F,I,N,16),-1},_.prototype.stateNumericDecimal=function(F,N){for(var I=N;N<F.length;){var M=F.charCodeAt(N);if(o(M))N+=1;else return this.addToNumericResult(F,I,N,10),this.emitNumericEntity(M,2)}return this.addToNumericResult(F,I,N,10),-1},_.prototype.emitNumericEntity=function(F,N){var I;if(this.consumed<=N)return(I=this.errors)===null||I===void 0||I.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(F===c.SEMI)this.consumed+=1;else if(this.decodeMode===g.Strict)return 0;return this.emitCodePoint((0,s.replaceCodePoint)(this.result),this.consumed),this.errors&&(F!==c.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},_.prototype.stateNamedEntity=function(F,N){for(var I=this.decodeTree,M=I[this.treeIndex],R=(M&p.VALUE_LENGTH)>>14;N<F.length;N++,this.excess++){var J=F.charCodeAt(N);if(this.treeIndex=D(I,M,this.treeIndex+Math.max(1,R),J),this.treeIndex<0)return this.result===0||this.decodeMode===g.Attribute&&(R===0||h(J))?0:this.emitNotTerminatedNamedEntity();if(M=I[this.treeIndex],R=(M&p.VALUE_LENGTH)>>14,R!==0){if(J===c.SEMI)return this.emitNamedEntityData(this.treeIndex,R,this.consumed+this.excess);this.decodeMode!==g.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},_.prototype.emitNotTerminatedNamedEntity=function(){var F,N=this,I=N.result,M=N.decodeTree,R=(M[I]&p.VALUE_LENGTH)>>14;return this.emitNamedEntityData(I,R,this.consumed),(F=this.errors)===null||F===void 0||F.missingSemicolonAfterCharacterReference(),this.consumed},_.prototype.emitNamedEntityData=function(F,N,I){var M=this.decodeTree;return this.emitCodePoint(N===1?M[F]&~p.VALUE_LENGTH:M[F+1],I),N===3&&this.emitCodePoint(M[F+2],I),I},_.prototype.end=function(){var F;switch(this.state){case b.NamedEntity:return this.result!==0&&(this.decodeMode!==g.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case b.NumericDecimal:return this.emitNumericEntity(0,2);case b.NumericHex:return this.emitNumericEntity(0,3);case b.NumericStart:return(F=this.errors)===null||F===void 0||F.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case b.EntityStart:return 0}},_})();e.EntityDecoder=w;function y(_){var F="",N=new w(_,function(I){return F+=(0,s.fromCodePoint)(I)});return function(M,R){for(var J=0,ne=0;(ne=M.indexOf("&",ne))>=0;){F+=M.slice(J,ne),N.startEntity(R);var ie=N.write(M,ne+1);if(ie<0){J=ne+N.end();break}J=ne+ie,ne=ie===0?J+1:J}var k=F+M.slice(J);return F="",k}}function D(_,F,N,I){var M=(F&p.BRANCH_LENGTH)>>7,R=F&p.JUMP_TABLE;if(M===0)return R!==0&&I===R?N:-1;if(R){var J=I-R;return J<0||J>=M?-1:_[N+J]-1}for(var ne=N,ie=ne+M-1;ne<=ie;){var k=ne+ie>>>1,Z=_[k];if(Z<I)ne=k+1;else if(Z>I)ie=k-1;else return _[k+M]}return-1}e.determineBranch=D;var v=y(i.default),E=y(a.default);function A(_,F){return F===void 0&&(F=g.Legacy),v(_,F)}e.decodeHTML=A;function C(_){return v(_,g.Attribute)}e.decodeHTMLAttribute=C;function T(_){return v(_,g.Strict)}e.decodeHTMLStrict=T;function x(_){return E(_,g.Strict)}e.decodeXML=x})(tr)),tr}var g0;function b0(){return g0||(g0=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.QuoteType=void 0;var r=Mu(),t;(function(o){o[o.Tab=9]="Tab",o[o.NewLine=10]="NewLine",o[o.FormFeed=12]="FormFeed",o[o.CarriageReturn=13]="CarriageReturn",o[o.Space=32]="Space",o[o.ExclamationMark=33]="ExclamationMark",o[o.Number=35]="Number",o[o.Amp=38]="Amp",o[o.SingleQuote=39]="SingleQuote",o[o.DoubleQuote=34]="DoubleQuote",o[o.Dash=45]="Dash",o[o.Slash=47]="Slash",o[o.Zero=48]="Zero",o[o.Nine=57]="Nine",o[o.Semi=59]="Semi",o[o.Lt=60]="Lt",o[o.Eq=61]="Eq",o[o.Gt=62]="Gt",o[o.Questionmark=63]="Questionmark",o[o.UpperA=65]="UpperA",o[o.LowerA=97]="LowerA",o[o.UpperF=70]="UpperF",o[o.LowerF=102]="LowerF",o[o.UpperZ=90]="UpperZ",o[o.LowerZ=122]="LowerZ",o[o.LowerX=120]="LowerX",o[o.OpeningSquareBracket=91]="OpeningSquareBracket"})(t||(t={}));var n;(function(o){o[o.Text=1]="Text",o[o.BeforeTagName=2]="BeforeTagName",o[o.InTagName=3]="InTagName",o[o.InSelfClosingTag=4]="InSelfClosingTag",o[o.BeforeClosingTagName=5]="BeforeClosingTagName",o[o.InClosingTagName=6]="InClosingTagName",o[o.AfterClosingTagName=7]="AfterClosingTagName",o[o.BeforeAttributeName=8]="BeforeAttributeName",o[o.InAttributeName=9]="InAttributeName",o[o.AfterAttributeName=10]="AfterAttributeName",o[o.BeforeAttributeValue=11]="BeforeAttributeValue",o[o.InAttributeValueDq=12]="InAttributeValueDq",o[o.InAttributeValueSq=13]="InAttributeValueSq",o[o.InAttributeValueNq=14]="InAttributeValueNq",o[o.BeforeDeclaration=15]="BeforeDeclaration",o[o.InDeclaration=16]="InDeclaration",o[o.InProcessingInstruction=17]="InProcessingInstruction",o[o.BeforeComment=18]="BeforeComment",o[o.CDATASequence=19]="CDATASequence",o[o.InSpecialComment=20]="InSpecialComment",o[o.InCommentLike=21]="InCommentLike",o[o.BeforeSpecialS=22]="BeforeSpecialS",o[o.SpecialStartSequence=23]="SpecialStartSequence",o[o.InSpecialTag=24]="InSpecialTag",o[o.BeforeEntity=25]="BeforeEntity",o[o.BeforeNumericEntity=26]="BeforeNumericEntity",o[o.InNamedEntity=27]="InNamedEntity",o[o.InNumericEntity=28]="InNumericEntity",o[o.InHexEntity=29]="InHexEntity"})(n||(n={}));function u(o){return o===t.Space||o===t.NewLine||o===t.Tab||o===t.FormFeed||o===t.CarriageReturn}function i(o){return o===t.Slash||o===t.Gt||u(o)}function a(o){return o>=t.Zero&&o<=t.Nine}function s(o){return o>=t.LowerA&&o<=t.LowerZ||o>=t.UpperA&&o<=t.UpperZ}function l(o){return o>=t.UpperA&&o<=t.UpperF||o>=t.LowerA&&o<=t.LowerF}var c;(function(o){o[o.NoValue=0]="NoValue",o[o.Unquoted=1]="Unquoted",o[o.Single=2]="Single",o[o.Double=3]="Double"})(c=e.QuoteType||(e.QuoteType={}));var f={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},p=(function(){function o(d,m){var h=d.xmlMode,b=h===void 0?!1:h,g=d.decodeEntities,w=g===void 0?!0:g;this.cbs=m,this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=b,this.decodeEntities=w,this.entityTrie=b?r.xmlDecodeTree:r.htmlDecodeTree}return o.prototype.reset=function(){this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},o.prototype.write=function(d){this.offset+=this.buffer.length,this.buffer=d,this.parse()},o.prototype.end=function(){this.running&&this.finish()},o.prototype.pause=function(){this.running=!1},o.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},o.prototype.getIndex=function(){return this.index},o.prototype.getSectionStart=function(){return this.sectionStart},o.prototype.stateText=function(d){d===t.Lt||!this.decodeEntities&&this.fastForwardTo(t.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=n.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&d===t.Amp&&(this.state=n.BeforeEntity)},o.prototype.stateSpecialStartSequence=function(d){var m=this.sequenceIndex===this.currentSequence.length,h=m?i(d):(d|32)===this.currentSequence[this.sequenceIndex];if(!h)this.isSpecial=!1;else if(!m){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=n.InTagName,this.stateInTagName(d)},o.prototype.stateInSpecialTag=function(d){if(this.sequenceIndex===this.currentSequence.length){if(d===t.Gt||u(d)){var m=this.index-this.currentSequence.length;if(this.sectionStart<m){var h=this.index;this.index=m,this.cbs.ontext(this.sectionStart,m),this.index=h}this.isSpecial=!1,this.sectionStart=m+2,this.stateInClosingTagName(d);return}this.sequenceIndex=0}(d|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===f.TitleEnd?this.decodeEntities&&d===t.Amp&&(this.state=n.BeforeEntity):this.fastForwardTo(t.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(d===t.Lt)},o.prototype.stateCDATASequence=function(d){d===f.Cdata[this.sequenceIndex]?++this.sequenceIndex===f.Cdata.length&&(this.state=n.InCommentLike,this.currentSequence=f.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=n.InDeclaration,this.stateInDeclaration(d))},o.prototype.fastForwardTo=function(d){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===d)return!0;return this.index=this.buffer.length+this.offset-1,!1},o.prototype.stateInCommentLike=function(d){d===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===f.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=n.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):d!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},o.prototype.isTagStartChar=function(d){return this.xmlMode?!i(d):s(d)},o.prototype.startSpecial=function(d,m){this.isSpecial=!0,this.currentSequence=d,this.sequenceIndex=m,this.state=n.SpecialStartSequence},o.prototype.stateBeforeTagName=function(d){if(d===t.ExclamationMark)this.state=n.BeforeDeclaration,this.sectionStart=this.index+1;else if(d===t.Questionmark)this.state=n.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(d)){var m=d|32;this.sectionStart=this.index,!this.xmlMode&&m===f.TitleEnd[2]?this.startSpecial(f.TitleEnd,3):this.state=!this.xmlMode&&m===f.ScriptEnd[2]?n.BeforeSpecialS:n.InTagName}else d===t.Slash?this.state=n.BeforeClosingTagName:(this.state=n.Text,this.stateText(d))},o.prototype.stateInTagName=function(d){i(d)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d))},o.prototype.stateBeforeClosingTagName=function(d){u(d)||(d===t.Gt?this.state=n.Text:(this.state=this.isTagStartChar(d)?n.InClosingTagName:n.InSpecialComment,this.sectionStart=this.index))},o.prototype.stateInClosingTagName=function(d){(d===t.Gt||u(d))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.AfterClosingTagName,this.stateAfterClosingTagName(d))},o.prototype.stateAfterClosingTagName=function(d){(d===t.Gt||this.fastForwardTo(t.Gt))&&(this.state=n.Text,this.baseState=n.Text,this.sectionStart=this.index+1)},o.prototype.stateBeforeAttributeName=function(d){d===t.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=n.InSpecialTag,this.sequenceIndex=0):this.state=n.Text,this.baseState=this.state,this.sectionStart=this.index+1):d===t.Slash?this.state=n.InSelfClosingTag:u(d)||(this.state=n.InAttributeName,this.sectionStart=this.index)},o.prototype.stateInSelfClosingTag=function(d){d===t.Gt?(this.cbs.onselfclosingtag(this.index),this.state=n.Text,this.baseState=n.Text,this.sectionStart=this.index+1,this.isSpecial=!1):u(d)||(this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d))},o.prototype.stateInAttributeName=function(d){(d===t.Eq||i(d))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.AfterAttributeName,this.stateAfterAttributeName(d))},o.prototype.stateAfterAttributeName=function(d){d===t.Eq?this.state=n.BeforeAttributeValue:d===t.Slash||d===t.Gt?(this.cbs.onattribend(c.NoValue,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d)):u(d)||(this.cbs.onattribend(c.NoValue,this.index),this.state=n.InAttributeName,this.sectionStart=this.index)},o.prototype.stateBeforeAttributeValue=function(d){d===t.DoubleQuote?(this.state=n.InAttributeValueDq,this.sectionStart=this.index+1):d===t.SingleQuote?(this.state=n.InAttributeValueSq,this.sectionStart=this.index+1):u(d)||(this.sectionStart=this.index,this.state=n.InAttributeValueNq,this.stateInAttributeValueNoQuotes(d))},o.prototype.handleInAttributeValue=function(d,m){d===m||!this.decodeEntities&&this.fastForwardTo(m)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(m===t.DoubleQuote?c.Double:c.Single,this.index),this.state=n.BeforeAttributeName):this.decodeEntities&&d===t.Amp&&(this.baseState=this.state,this.state=n.BeforeEntity)},o.prototype.stateInAttributeValueDoubleQuotes=function(d){this.handleInAttributeValue(d,t.DoubleQuote)},o.prototype.stateInAttributeValueSingleQuotes=function(d){this.handleInAttributeValue(d,t.SingleQuote)},o.prototype.stateInAttributeValueNoQuotes=function(d){u(d)||d===t.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(c.Unquoted,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d)):this.decodeEntities&&d===t.Amp&&(this.baseState=this.state,this.state=n.BeforeEntity)},o.prototype.stateBeforeDeclaration=function(d){d===t.OpeningSquareBracket?(this.state=n.CDATASequence,this.sequenceIndex=0):this.state=d===t.Dash?n.BeforeComment:n.InDeclaration},o.prototype.stateInDeclaration=function(d){(d===t.Gt||this.fastForwardTo(t.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=n.Text,this.sectionStart=this.index+1)},o.prototype.stateInProcessingInstruction=function(d){(d===t.Gt||this.fastForwardTo(t.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=n.Text,this.sectionStart=this.index+1)},o.prototype.stateBeforeComment=function(d){d===t.Dash?(this.state=n.InCommentLike,this.currentSequence=f.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=n.InDeclaration},o.prototype.stateInSpecialComment=function(d){(d===t.Gt||this.fastForwardTo(t.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=n.Text,this.sectionStart=this.index+1)},o.prototype.stateBeforeSpecialS=function(d){var m=d|32;m===f.ScriptEnd[3]?this.startSpecial(f.ScriptEnd,4):m===f.StyleEnd[3]?this.startSpecial(f.StyleEnd,4):(this.state=n.InTagName,this.stateInTagName(d))},o.prototype.stateBeforeEntity=function(d){this.entityExcess=1,this.entityResult=0,d===t.Number?this.state=n.BeforeNumericEntity:d===t.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=n.InNamedEntity,this.stateInNamedEntity(d))},o.prototype.stateInNamedEntity=function(d){if(this.entityExcess+=1,this.trieIndex=(0,r.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,d),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var m=this.trieCurrent&r.BinTrieFlags.VALUE_LENGTH;if(m){var h=(m>>14)-1;if(!this.allowLegacyEntity()&&d!==t.Semi)this.trieIndex+=h;else{var b=this.index-this.entityExcess+1;b>this.sectionStart&&this.emitPartial(this.sectionStart,b),this.entityResult=this.trieIndex,this.trieIndex+=h,this.entityExcess=0,this.sectionStart=this.index+1,h===0&&this.emitNamedEntity()}}},o.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var d=(this.entityTrie[this.entityResult]&r.BinTrieFlags.VALUE_LENGTH)>>14;switch(d){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~r.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},o.prototype.stateBeforeNumericEntity=function(d){(d|32)===t.LowerX?(this.entityExcess++,this.state=n.InHexEntity):(this.state=n.InNumericEntity,this.stateInNumericEntity(d))},o.prototype.emitNumericEntity=function(d){var m=this.index-this.entityExcess-1,h=m+2+ +(this.state===n.InHexEntity);h!==this.index&&(m>this.sectionStart&&this.emitPartial(this.sectionStart,m),this.sectionStart=this.index+Number(d),this.emitCodePoint((0,r.replaceCodePoint)(this.entityResult))),this.state=this.baseState},o.prototype.stateInNumericEntity=function(d){d===t.Semi?this.emitNumericEntity(!0):a(d)?(this.entityResult=this.entityResult*10+(d-t.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},o.prototype.stateInHexEntity=function(d){d===t.Semi?this.emitNumericEntity(!0):a(d)?(this.entityResult=this.entityResult*16+(d-t.Zero),this.entityExcess++):l(d)?(this.entityResult=this.entityResult*16+((d|32)-t.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},o.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===n.Text||this.baseState===n.InSpecialTag)},o.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===n.Text||this.state===n.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===n.InAttributeValueDq||this.state===n.InAttributeValueSq||this.state===n.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},o.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},o.prototype.parse=function(){for(;this.shouldContinue();){var d=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case n.Text:{this.stateText(d);break}case n.SpecialStartSequence:{this.stateSpecialStartSequence(d);break}case n.InSpecialTag:{this.stateInSpecialTag(d);break}case n.CDATASequence:{this.stateCDATASequence(d);break}case n.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(d);break}case n.InAttributeName:{this.stateInAttributeName(d);break}case n.InCommentLike:{this.stateInCommentLike(d);break}case n.InSpecialComment:{this.stateInSpecialComment(d);break}case n.BeforeAttributeName:{this.stateBeforeAttributeName(d);break}case n.InTagName:{this.stateInTagName(d);break}case n.InClosingTagName:{this.stateInClosingTagName(d);break}case n.BeforeTagName:{this.stateBeforeTagName(d);break}case n.AfterAttributeName:{this.stateAfterAttributeName(d);break}case n.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(d);break}case n.BeforeAttributeValue:{this.stateBeforeAttributeValue(d);break}case n.BeforeClosingTagName:{this.stateBeforeClosingTagName(d);break}case n.AfterClosingTagName:{this.stateAfterClosingTagName(d);break}case n.BeforeSpecialS:{this.stateBeforeSpecialS(d);break}case n.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(d);break}case n.InSelfClosingTag:{this.stateInSelfClosingTag(d);break}case n.InDeclaration:{this.stateInDeclaration(d);break}case n.BeforeDeclaration:{this.stateBeforeDeclaration(d);break}case n.BeforeComment:{this.stateBeforeComment(d);break}case n.InProcessingInstruction:{this.stateInProcessingInstruction(d);break}case n.InNamedEntity:{this.stateInNamedEntity(d);break}case n.BeforeEntity:{this.stateBeforeEntity(d);break}case n.InHexEntity:{this.stateInHexEntity(d);break}case n.InNumericEntity:{this.stateInNumericEntity(d);break}default:this.stateBeforeNumericEntity(d)}this.index++}this.cleanup()},o.prototype.finish=function(){this.state===n.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},o.prototype.handleTrailingData=function(){var d=this.buffer.length+this.offset;this.state===n.InCommentLike?this.currentSequence===f.CdataEnd?this.cbs.oncdata(this.sectionStart,d,0):this.cbs.oncomment(this.sectionStart,d,0):this.state===n.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===n.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===n.InTagName||this.state===n.BeforeAttributeName||this.state===n.BeforeAttributeValue||this.state===n.AfterAttributeName||this.state===n.InAttributeName||this.state===n.InAttributeValueSq||this.state===n.InAttributeValueDq||this.state===n.InAttributeValueNq||this.state===n.InClosingTagName||this.cbs.ontext(this.sectionStart,d)},o.prototype.emitPartial=function(d,m){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?this.cbs.onattribdata(d,m):this.cbs.ontext(d,m)},o.prototype.emitCodePoint=function(d){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?this.cbs.onattribentity(d):this.cbs.ontextentity(d)},o})();e.default=p})(na)),na}var y0;function v0(){if(y0)return er;y0=1;var e=er&&er.__createBinding||(Object.create?(function(b,g,w,y){y===void 0&&(y=w);var D=Object.getOwnPropertyDescriptor(g,w);(!D||("get"in D?!g.__esModule:D.writable||D.configurable))&&(D={enumerable:!0,get:function(){return g[w]}}),Object.defineProperty(b,y,D)}):(function(b,g,w,y){y===void 0&&(y=w),b[y]=g[w]})),r=er&&er.__setModuleDefault||(Object.create?(function(b,g){Object.defineProperty(b,"default",{enumerable:!0,value:g})}):function(b,g){b.default=g}),t=er&&er.__importStar||function(b){if(b&&b.__esModule)return b;var g={};if(b!=null)for(var w in b)w!=="default"&&Object.prototype.hasOwnProperty.call(b,w)&&e(g,b,w);return r(g,b),g};Object.defineProperty(er,"__esModule",{value:!0}),er.Parser=void 0;var n=t(b0()),u=Mu(),i=new Set(["input","option","optgroup","select","button","datalist","textarea"]),a=new Set(["p"]),s=new Set(["thead","tbody"]),l=new Set(["dd","dt"]),c=new Set(["rt","rp"]),f=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",a],["h1",a],["h2",a],["h3",a],["h4",a],["h5",a],["h6",a],["select",i],["input",i],["output",i],["button",i],["datalist",i],["textarea",i],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",l],["dt",l],["address",a],["article",a],["aside",a],["blockquote",a],["details",a],["div",a],["dl",a],["fieldset",a],["figcaption",a],["figure",a],["footer",a],["form",a],["header",a],["hr",a],["main",a],["nav",a],["ol",a],["pre",a],["section",a],["table",a],["ul",a],["rt",c],["rp",c],["tbody",s],["tfoot",s]]),p=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),o=new Set(["math","svg"]),d=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),m=/\s|\//,h=(function(){function b(g,w){w===void 0&&(w={});var y,D,v,E,A;this.options=w,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=g??{},this.lowerCaseTagNames=(y=w.lowerCaseTags)!==null&&y!==void 0?y:!w.xmlMode,this.lowerCaseAttributeNames=(D=w.lowerCaseAttributeNames)!==null&&D!==void 0?D:!w.xmlMode,this.tokenizer=new((v=w.Tokenizer)!==null&&v!==void 0?v:n.default)(this.options,this),(A=(E=this.cbs).onparserinit)===null||A===void 0||A.call(E,this)}return b.prototype.ontext=function(g,w){var y,D,v=this.getSlice(g,w);this.endIndex=w-1,(D=(y=this.cbs).ontext)===null||D===void 0||D.call(y,v),this.startIndex=w},b.prototype.ontextentity=function(g){var w,y,D=this.tokenizer.getSectionStart();this.endIndex=D-1,(y=(w=this.cbs).ontext)===null||y===void 0||y.call(w,(0,u.fromCodePoint)(g)),this.startIndex=D},b.prototype.isVoidElement=function(g){return!this.options.xmlMode&&p.has(g)},b.prototype.onopentagname=function(g,w){this.endIndex=w;var y=this.getSlice(g,w);this.lowerCaseTagNames&&(y=y.toLowerCase()),this.emitOpenTag(y)},b.prototype.emitOpenTag=function(g){var w,y,D,v;this.openTagStart=this.startIndex,this.tagname=g;var E=!this.options.xmlMode&&f.get(g);if(E)for(;this.stack.length>0&&E.has(this.stack[this.stack.length-1]);){var A=this.stack.pop();(y=(w=this.cbs).onclosetag)===null||y===void 0||y.call(w,A,!0)}this.isVoidElement(g)||(this.stack.push(g),o.has(g)?this.foreignContext.push(!0):d.has(g)&&this.foreignContext.push(!1)),(v=(D=this.cbs).onopentagname)===null||v===void 0||v.call(D,g),this.cbs.onopentag&&(this.attribs={})},b.prototype.endOpenTag=function(g){var w,y;this.startIndex=this.openTagStart,this.attribs&&((y=(w=this.cbs).onopentag)===null||y===void 0||y.call(w,this.tagname,this.attribs,g),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},b.prototype.onopentagend=function(g){this.endIndex=g,this.endOpenTag(!1),this.startIndex=g+1},b.prototype.onclosetag=function(g,w){var y,D,v,E,A,C;this.endIndex=w;var T=this.getSlice(g,w);if(this.lowerCaseTagNames&&(T=T.toLowerCase()),(o.has(T)||d.has(T))&&this.foreignContext.pop(),this.isVoidElement(T))!this.options.xmlMode&&T==="br"&&((D=(y=this.cbs).onopentagname)===null||D===void 0||D.call(y,"br"),(E=(v=this.cbs).onopentag)===null||E===void 0||E.call(v,"br",{},!0),(C=(A=this.cbs).onclosetag)===null||C===void 0||C.call(A,"br",!1));else{var x=this.stack.lastIndexOf(T);if(x!==-1)if(this.cbs.onclosetag)for(var _=this.stack.length-x;_--;)this.cbs.onclosetag(this.stack.pop(),_!==0);else this.stack.length=x;else!this.options.xmlMode&&T==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=w+1},b.prototype.onselfclosingtag=function(g){this.endIndex=g,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=g+1):this.onopentagend(g)},b.prototype.closeCurrentTag=function(g){var w,y,D=this.tagname;this.endOpenTag(g),this.stack[this.stack.length-1]===D&&((y=(w=this.cbs).onclosetag)===null||y===void 0||y.call(w,D,!g),this.stack.pop())},b.prototype.onattribname=function(g,w){this.startIndex=g;var y=this.getSlice(g,w);this.attribname=this.lowerCaseAttributeNames?y.toLowerCase():y},b.prototype.onattribdata=function(g,w){this.attribvalue+=this.getSlice(g,w)},b.prototype.onattribentity=function(g){this.attribvalue+=(0,u.fromCodePoint)(g)},b.prototype.onattribend=function(g,w){var y,D;this.endIndex=w,(D=(y=this.cbs).onattribute)===null||D===void 0||D.call(y,this.attribname,this.attribvalue,g===n.QuoteType.Double?'"':g===n.QuoteType.Single?"'":g===n.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},b.prototype.getInstructionName=function(g){var w=g.search(m),y=w<0?g:g.substr(0,w);return this.lowerCaseTagNames&&(y=y.toLowerCase()),y},b.prototype.ondeclaration=function(g,w){this.endIndex=w;var y=this.getSlice(g,w);if(this.cbs.onprocessinginstruction){var D=this.getInstructionName(y);this.cbs.onprocessinginstruction("!".concat(D),"!".concat(y))}this.startIndex=w+1},b.prototype.onprocessinginstruction=function(g,w){this.endIndex=w;var y=this.getSlice(g,w);if(this.cbs.onprocessinginstruction){var D=this.getInstructionName(y);this.cbs.onprocessinginstruction("?".concat(D),"?".concat(y))}this.startIndex=w+1},b.prototype.oncomment=function(g,w,y){var D,v,E,A;this.endIndex=w,(v=(D=this.cbs).oncomment)===null||v===void 0||v.call(D,this.getSlice(g,w-y)),(A=(E=this.cbs).oncommentend)===null||A===void 0||A.call(E),this.startIndex=w+1},b.prototype.oncdata=function(g,w,y){var D,v,E,A,C,T,x,_,F,N;this.endIndex=w;var I=this.getSlice(g,w-y);this.options.xmlMode||this.options.recognizeCDATA?((v=(D=this.cbs).oncdatastart)===null||v===void 0||v.call(D),(A=(E=this.cbs).ontext)===null||A===void 0||A.call(E,I),(T=(C=this.cbs).oncdataend)===null||T===void 0||T.call(C)):((_=(x=this.cbs).oncomment)===null||_===void 0||_.call(x,"[CDATA[".concat(I,"]]")),(N=(F=this.cbs).oncommentend)===null||N===void 0||N.call(F)),this.startIndex=w+1},b.prototype.onend=function(){var g,w;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var y=this.stack.length;y>0;this.cbs.onclosetag(this.stack[--y],!0));}(w=(g=this.cbs).onend)===null||w===void 0||w.call(g)},b.prototype.reset=function(){var g,w,y,D;(w=(g=this.cbs).onreset)===null||w===void 0||w.call(g),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(D=(y=this.cbs).onparserinit)===null||D===void 0||D.call(y,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},b.prototype.parseComplete=function(g){this.reset(),this.end(g)},b.prototype.getSlice=function(g,w){for(;g-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var y=this.buffers[0].slice(g-this.bufferOffset,w-this.bufferOffset);w-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),y+=this.buffers[0].slice(0,w-this.bufferOffset);return y},b.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},b.prototype.write=function(g){var w,y;if(this.ended){(y=(w=this.cbs).onerror)===null||y===void 0||y.call(w,new Error(".write() after done!"));return}this.buffers.push(g),this.tokenizer.running&&(this.tokenizer.write(g),this.writeIndex++)},b.prototype.end=function(g){var w,y;if(this.ended){(y=(w=this.cbs).onerror)===null||y===void 0||y.call(w,new Error(".end() after done!"));return}g&&this.write(g),this.ended=!0,this.tokenizer.end()},b.prototype.pause=function(){this.tokenizer.pause()},b.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},b.prototype.parseChunk=function(g){this.write(g)},b.prototype.done=function(g){this.end(g)},b})();return er.Parser=h,er}var Wr={},ia={},w0;function Yn(){return w0||(w0=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var r;(function(n){n.Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype"})(r=e.ElementType||(e.ElementType={}));function t(n){return n.type===r.Tag||n.type===r.Script||n.type===r.Style}e.isTag=t,e.Root=r.Root,e.Text=r.Text,e.Directive=r.Directive,e.Comment=r.Comment,e.Script=r.Script,e.Style=r.Style,e.Tag=r.Tag,e.CDATA=r.CDATA,e.Doctype=r.Doctype})(ia)),ia}var xe={},D0;function E0(){if(D0)return xe;D0=1;var e=xe&&xe.__extends||(function(){var v=function(E,A){return v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,T){C.__proto__=T}||function(C,T){for(var x in T)Object.prototype.hasOwnProperty.call(T,x)&&(C[x]=T[x])},v(E,A)};return function(E,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");v(E,A);function C(){this.constructor=E}E.prototype=A===null?Object.create(A):(C.prototype=A.prototype,new C)}})(),r=xe&&xe.__assign||function(){return r=Object.assign||function(v){for(var E,A=1,C=arguments.length;A<C;A++){E=arguments[A];for(var T in E)Object.prototype.hasOwnProperty.call(E,T)&&(v[T]=E[T])}return v},r.apply(this,arguments)};Object.defineProperty(xe,"__esModule",{value:!0}),xe.cloneNode=xe.hasChildren=xe.isDocument=xe.isDirective=xe.isComment=xe.isText=xe.isCDATA=xe.isTag=xe.Element=xe.Document=xe.CDATA=xe.NodeWithChildren=xe.ProcessingInstruction=xe.Comment=xe.Text=xe.DataNode=xe.Node=void 0;var t=Yn(),n=(function(){function v(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(v.prototype,"parentNode",{get:function(){return this.parent},set:function(E){this.parent=E},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"previousSibling",{get:function(){return this.prev},set:function(E){this.prev=E},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"nextSibling",{get:function(){return this.next},set:function(E){this.next=E},enumerable:!1,configurable:!0}),v.prototype.cloneNode=function(E){return E===void 0&&(E=!1),y(this,E)},v})();xe.Node=n;var u=(function(v){e(E,v);function E(A){var C=v.call(this)||this;return C.data=A,C}return Object.defineProperty(E.prototype,"nodeValue",{get:function(){return this.data},set:function(A){this.data=A},enumerable:!1,configurable:!0}),E})(n);xe.DataNode=u;var i=(function(v){e(E,v);function E(){var A=v!==null&&v.apply(this,arguments)||this;return A.type=t.ElementType.Text,A}return Object.defineProperty(E.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),E})(u);xe.Text=i;var a=(function(v){e(E,v);function E(){var A=v!==null&&v.apply(this,arguments)||this;return A.type=t.ElementType.Comment,A}return Object.defineProperty(E.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),E})(u);xe.Comment=a;var s=(function(v){e(E,v);function E(A,C){var T=v.call(this,C)||this;return T.name=A,T.type=t.ElementType.Directive,T}return Object.defineProperty(E.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),E})(u);xe.ProcessingInstruction=s;var l=(function(v){e(E,v);function E(A){var C=v.call(this)||this;return C.children=A,C}return Object.defineProperty(E.prototype,"firstChild",{get:function(){var A;return(A=this.children[0])!==null&&A!==void 0?A:null},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"childNodes",{get:function(){return this.children},set:function(A){this.children=A},enumerable:!1,configurable:!0}),E})(n);xe.NodeWithChildren=l;var c=(function(v){e(E,v);function E(){var A=v!==null&&v.apply(this,arguments)||this;return A.type=t.ElementType.CDATA,A}return Object.defineProperty(E.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),E})(l);xe.CDATA=c;var f=(function(v){e(E,v);function E(){var A=v!==null&&v.apply(this,arguments)||this;return A.type=t.ElementType.Root,A}return Object.defineProperty(E.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),E})(l);xe.Document=f;var p=(function(v){e(E,v);function E(A,C,T,x){T===void 0&&(T=[]),x===void 0&&(x=A==="script"?t.ElementType.Script:A==="style"?t.ElementType.Style:t.ElementType.Tag);var _=v.call(this,T)||this;return _.name=A,_.attribs=C,_.type=x,_}return Object.defineProperty(E.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"tagName",{get:function(){return this.name},set:function(A){this.name=A},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"attributes",{get:function(){var A=this;return Object.keys(this.attribs).map(function(C){var T,x;return{name:C,value:A.attribs[C],namespace:(T=A["x-attribsNamespace"])===null||T===void 0?void 0:T[C],prefix:(x=A["x-attribsPrefix"])===null||x===void 0?void 0:x[C]}})},enumerable:!1,configurable:!0}),E})(l);xe.Element=p;function o(v){return(0,t.isTag)(v)}xe.isTag=o;function d(v){return v.type===t.ElementType.CDATA}xe.isCDATA=d;function m(v){return v.type===t.ElementType.Text}xe.isText=m;function h(v){return v.type===t.ElementType.Comment}xe.isComment=h;function b(v){return v.type===t.ElementType.Directive}xe.isDirective=b;function g(v){return v.type===t.ElementType.Root}xe.isDocument=g;function w(v){return Object.prototype.hasOwnProperty.call(v,"children")}xe.hasChildren=w;function y(v,E){E===void 0&&(E=!1);var A;if(m(v))A=new i(v.data);else if(h(v))A=new a(v.data);else if(o(v)){var C=E?D(v.children):[],T=new p(v.name,r({},v.attribs),C);C.forEach(function(N){return N.parent=T}),v.namespace!=null&&(T.namespace=v.namespace),v["x-attribsNamespace"]&&(T["x-attribsNamespace"]=r({},v["x-attribsNamespace"])),v["x-attribsPrefix"]&&(T["x-attribsPrefix"]=r({},v["x-attribsPrefix"])),A=T}else if(d(v)){var C=E?D(v.children):[],x=new c(C);C.forEach(function(I){return I.parent=x}),A=x}else if(g(v)){var C=E?D(v.children):[],_=new f(C);C.forEach(function(I){return I.parent=_}),v["x-mode"]&&(_["x-mode"]=v["x-mode"]),A=_}else if(b(v)){var F=new s(v.name,v.data);v["x-name"]!=null&&(F["x-name"]=v["x-name"],F["x-publicId"]=v["x-publicId"],F["x-systemId"]=v["x-systemId"]),A=F}else throw new Error("Not implemented yet: ".concat(v.type));return A.startIndex=v.startIndex,A.endIndex=v.endIndex,v.sourceCodeLocation!=null&&(A.sourceCodeLocation=v.sourceCodeLocation),A}xe.cloneNode=y;function D(v){for(var E=v.map(function(C){return y(C,!0)}),A=1;A<E.length;A++)E[A].prev=E[A-1],E[A-1].next=E[A];return E}return xe}var x0;function Sr(){return x0||(x0=1,(function(e){var r=Wr&&Wr.__createBinding||(Object.create?(function(s,l,c,f){f===void 0&&(f=c);var p=Object.getOwnPropertyDescriptor(l,c);(!p||("get"in p?!l.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return l[c]}}),Object.defineProperty(s,f,p)}):(function(s,l,c,f){f===void 0&&(f=c),s[f]=l[c]})),t=Wr&&Wr.__exportStar||function(s,l){for(var c in s)c!=="default"&&!Object.prototype.hasOwnProperty.call(l,c)&&r(l,s,c)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var n=Yn(),u=E0();t(E0(),e);var i={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},a=(function(){function s(l,c,f){this.dom=[],this.root=new u.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof c=="function"&&(f=c,c=i),typeof l=="object"&&(c=l,l=void 0),this.callback=l??null,this.options=c??i,this.elementCB=f??null}return s.prototype.onparserinit=function(l){this.parser=l},s.prototype.onreset=function(){this.dom=[],this.root=new u.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},s.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},s.prototype.onerror=function(l){this.handleCallback(l)},s.prototype.onclosetag=function(){this.lastNode=null;var l=this.tagStack.pop();this.options.withEndIndices&&(l.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(l)},s.prototype.onopentag=function(l,c){var f=this.options.xmlMode?n.ElementType.Tag:void 0,p=new u.Element(l,c,void 0,f);this.addNode(p),this.tagStack.push(p)},s.prototype.ontext=function(l){var c=this.lastNode;if(c&&c.type===n.ElementType.Text)c.data+=l,this.options.withEndIndices&&(c.endIndex=this.parser.endIndex);else{var f=new u.Text(l);this.addNode(f),this.lastNode=f}},s.prototype.oncomment=function(l){if(this.lastNode&&this.lastNode.type===n.ElementType.Comment){this.lastNode.data+=l;return}var c=new u.Comment(l);this.addNode(c),this.lastNode=c},s.prototype.oncommentend=function(){this.lastNode=null},s.prototype.oncdatastart=function(){var l=new u.Text(""),c=new u.CDATA([l]);this.addNode(c),l.parent=c,this.lastNode=l},s.prototype.oncdataend=function(){this.lastNode=null},s.prototype.onprocessinginstruction=function(l,c){var f=new u.ProcessingInstruction(l,c);this.addNode(f)},s.prototype.handleCallback=function(l){if(typeof this.callback=="function")this.callback(l,this.dom);else if(l)throw l},s.prototype.addNode=function(l){var c=this.tagStack[this.tagStack.length-1],f=c.children[c.children.length-1];this.options.withStartIndices&&(l.startIndex=this.parser.startIndex),this.options.withEndIndices&&(l.endIndex=this.parser.endIndex),c.children.push(l),f&&(l.prev=f,f.next=l),l.parent=c,this.lastNode=null},s})();e.DomHandler=a,e.default=a})(Wr)),Wr}var Yr={},cr={},It={},aa={},yr={},Nu={},A0;function Hg(){if(A0)return Nu;A0=1,Object.defineProperty(Nu,"__esModule",{value:!0});function e(r){for(var t=1;t<r.length;t++)r[t][0]+=r[t-1][0]+1;return r}return Nu.default=new Map(e([[9,"	"],[0,"
"],[22,"!"],[0,"""],[0,"#"],[0,"$"],[0,"%"],[0,"&"],[0,"'"],[0,"("],[0,")"],[0,"*"],[0,"+"],[0,","],[1,"."],[0,"/"],[10,":"],[0,";"],[0,{v:"<",n:8402,o:"<⃒"}],[0,{v:"=",n:8421,o:"=⃥"}],[0,{v:">",n:8402,o:">⃒"}],[0,"?"],[0,"@"],[26,"["],[0,"\"],[0,"]"],[0,"^"],[0,"_"],[0,"`"],[5,{n:106,o:"fj"}],[20,"{"],[0,"|"],[0,"}"],[34," "],[0,"¡"],[0,"¢"],[0,"£"],[0,"¤"],[0,"¥"],[0,"¦"],[0,"§"],[0,"¨"],[0,"©"],[0,"ª"],[0,"«"],[0,"¬"],[0,"­"],[0,"®"],[0,"¯"],[0,"°"],[0,"±"],[0,"²"],[0,"³"],[0,"´"],[0,"µ"],[0,"¶"],[0,"·"],[0,"¸"],[0,"¹"],[0,"º"],[0,"»"],[0,"¼"],[0,"½"],[0,"¾"],[0,"¿"],[0,"À"],[0,"Á"],[0,"Â"],[0,"Ã"],[0,"Ä"],[0,"Å"],[0,"Æ"],[0,"Ç"],[0,"È"],[0,"É"],[0,"Ê"],[0,"Ë"],[0,"Ì"],[0,"Í"],[0,"Î"],[0,"Ï"],[0,"Ð"],[0,"Ñ"],[0,"Ò"],[0,"Ó"],[0,"Ô"],[0,"Õ"],[0,"Ö"],[0,"×"],[0,"Ø"],[0,"Ù"],[0,"Ú"],[0,"Û"],[0,"Ü"],[0,"Ý"],[0,"Þ"],[0,"ß"],[0,"à"],[0,"á"],[0,"â"],[0,"ã"],[0,"ä"],[0,"å"],[0,"æ"],[0,"ç"],[0,"è"],[0,"é"],[0,"ê"],[0,"ë"],[0,"ì"],[0,"í"],[0,"î"],[0,"ï"],[0,"ð"],[0,"ñ"],[0,"ò"],[0,"ó"],[0,"ô"],[0,"õ"],[0,"ö"],[0,"÷"],[0,"ø"],[0,"ù"],[0,"ú"],[0,"û"],[0,"ü"],[0,"ý"],[0,"þ"],[0,"ÿ"],[0,"Ā"],[0,"ā"],[0,"Ă"],[0,"ă"],[0,"Ą"],[0,"ą"],[0,"Ć"],[0,"ć"],[0,"Ĉ"],[0,"ĉ"],[0,"Ċ"],[0,"ċ"],[0,"Č"],[0,"č"],[0,"Ď"],[0,"ď"],[0,"Đ"],[0,"đ"],[0,"Ē"],[0,"ē"],[2,"Ė"],[0,"ė"],[0,"Ę"],[0,"ę"],[0,"Ě"],[0,"ě"],[0,"Ĝ"],[0,"ĝ"],[0,"Ğ"],[0,"ğ"],[0,"Ġ"],[0,"ġ"],[0,"Ģ"],[1,"Ĥ"],[0,"ĥ"],[0,"Ħ"],[0,"ħ"],[0,"Ĩ"],[0,"ĩ"],[0,"Ī"],[0,"ī"],[2,"Į"],[0,"į"],[0,"İ"],[0,"ı"],[0,"IJ"],[0,"ij"],[0,"Ĵ"],[0,"ĵ"],[0,"Ķ"],[0,"ķ"],[0,"ĸ"],[0,"Ĺ"],[0,"ĺ"],[0,"Ļ"],[0,"ļ"],[0,"Ľ"],[0,"ľ"],[0,"Ŀ"],[0,"ŀ"],[0,"Ł"],[0,"ł"],[0,"Ń"],[0,"ń"],[0,"Ņ"],[0,"ņ"],[0,"Ň"],[0,"ň"],[0,"ʼn"],[0,"Ŋ"],[0,"ŋ"],[0,"Ō"],[0,"ō"],[2,"Ő"],[0,"ő"],[0,"Œ"],[0,"œ"],[0,"Ŕ"],[0,"ŕ"],[0,"Ŗ"],[0,"ŗ"],[0,"Ř"],[0,"ř"],[0,"Ś"],[0,"ś"],[0,"Ŝ"],[0,"ŝ"],[0,"Ş"],[0,"ş"],[0,"Š"],[0,"š"],[0,"Ţ"],[0,"ţ"],[0,"Ť"],[0,"ť"],[0,"Ŧ"],[0,"ŧ"],[0,"Ũ"],[0,"ũ"],[0,"Ū"],[0,"ū"],[0,"Ŭ"],[0,"ŭ"],[0,"Ů"],[0,"ů"],[0,"Ű"],[0,"ű"],[0,"Ų"],[0,"ų"],[0,"Ŵ"],[0,"ŵ"],[0,"Ŷ"],[0,"ŷ"],[0,"Ÿ"],[0,"Ź"],[0,"ź"],[0,"Ż"],[0,"ż"],[0,"Ž"],[0,"ž"],[19,"ƒ"],[34,"Ƶ"],[63,"ǵ"],[65,"ȷ"],[142,"ˆ"],[0,"ˇ"],[16,"˘"],[0,"˙"],[0,"˚"],[0,"˛"],[0,"˜"],[0,"˝"],[51,"̑"],[127,"Α"],[0,"Β"],[0,"Γ"],[0,"Δ"],[0,"Ε"],[0,"Ζ"],[0,"Η"],[0,"Θ"],[0,"Ι"],[0,"Κ"],[0,"Λ"],[0,"Μ"],[0,"Ν"],[0,"Ξ"],[0,"Ο"],[0,"Π"],[0,"Ρ"],[1,"Σ"],[0,"Τ"],[0,"Υ"],[0,"Φ"],[0,"Χ"],[0,"Ψ"],[0,"Ω"],[7,"α"],[0,"β"],[0,"γ"],[0,"δ"],[0,"ε"],[0,"ζ"],[0,"η"],[0,"θ"],[0,"ι"],[0,"κ"],[0,"λ"],[0,"μ"],[0,"ν"],[0,"ξ"],[0,"ο"],[0,"π"],[0,"ρ"],[0,"ς"],[0,"σ"],[0,"τ"],[0,"υ"],[0,"φ"],[0,"χ"],[0,"ψ"],[0,"ω"],[7,"ϑ"],[0,"ϒ"],[2,"ϕ"],[0,"ϖ"],[5,"Ϝ"],[0,"ϝ"],[18,"ϰ"],[0,"ϱ"],[3,"ϵ"],[0,"϶"],[10,"Ё"],[0,"Ђ"],[0,"Ѓ"],[0,"Є"],[0,"Ѕ"],[0,"І"],[0,"Ї"],[0,"Ј"],[0,"Љ"],[0,"Њ"],[0,"Ћ"],[0,"Ќ"],[1,"Ў"],[0,"Џ"],[0,"А"],[0,"Б"],[0,"В"],[0,"Г"],[0,"Д"],[0,"Е"],[0,"Ж"],[0,"З"],[0,"И"],[0,"Й"],[0,"К"],[0,"Л"],[0,"М"],[0,"Н"],[0,"О"],[0,"П"],[0,"Р"],[0,"С"],[0,"Т"],[0,"У"],[0,"Ф"],[0,"Х"],[0,"Ц"],[0,"Ч"],[0,"Ш"],[0,"Щ"],[0,"Ъ"],[0,"Ы"],[0,"Ь"],[0,"Э"],[0,"Ю"],[0,"Я"],[0,"а"],[0,"б"],[0,"в"],[0,"г"],[0,"д"],[0,"е"],[0,"ж"],[0,"з"],[0,"и"],[0,"й"],[0,"к"],[0,"л"],[0,"м"],[0,"н"],[0,"о"],[0,"п"],[0,"р"],[0,"с"],[0,"т"],[0,"у"],[0,"ф"],[0,"х"],[0,"ц"],[0,"ч"],[0,"ш"],[0,"щ"],[0,"ъ"],[0,"ы"],[0,"ь"],[0,"э"],[0,"ю"],[0,"я"],[1,"ё"],[0,"ђ"],[0,"ѓ"],[0,"є"],[0,"ѕ"],[0,"і"],[0,"ї"],[0,"ј"],[0,"љ"],[0,"њ"],[0,"ћ"],[0,"ќ"],[1,"ў"],[0,"џ"],[7074," "],[0," "],[0," "],[0," "],[1," "],[0," "],[0," "],[0," "],[0,"​"],[0,"‌"],[0,"‍"],[0,"‎"],[0,"‏"],[0,"‐"],[2,"–"],[0,"—"],[0,"―"],[0,"‖"],[1,"‘"],[0,"’"],[0,"‚"],[1,"“"],[0,"”"],[0,"„"],[1,"†"],[0,"‡"],[0,"•"],[2,"‥"],[0,"…"],[9,"‰"],[0,"‱"],[0,"′"],[0,"″"],[0,"‴"],[0,"‵"],[3,"‹"],[0,"›"],[3,"‾"],[2,"⁁"],[1,"⁃"],[0,"⁄"],[10,"⁏"],[7,"⁗"],[7,{v:" ",n:8202,o:"  "}],[0,"⁠"],[0,"⁡"],[0,"⁢"],[0,"⁣"],[72,"€"],[46,"⃛"],[0,"⃜"],[37,"ℂ"],[2,"℅"],[4,"ℊ"],[0,"ℋ"],[0,"ℌ"],[0,"ℍ"],[0,"ℎ"],[0,"ℏ"],[0,"ℐ"],[0,"ℑ"],[0,"ℒ"],[0,"ℓ"],[1,"ℕ"],[0,"№"],[0,"℗"],[0,"℘"],[0,"ℙ"],[0,"ℚ"],[0,"ℛ"],[0,"ℜ"],[0,"ℝ"],[0,"℞"],[3,"™"],[1,"ℤ"],[2,"℧"],[0,"ℨ"],[0,"℩"],[2,"ℬ"],[0,"ℭ"],[1,"ℯ"],[0,"ℰ"],[0,"ℱ"],[1,"ℳ"],[0,"ℴ"],[0,"ℵ"],[0,"ℶ"],[0,"ℷ"],[0,"ℸ"],[12,"ⅅ"],[0,"ⅆ"],[0,"ⅇ"],[0,"ⅈ"],[10,"⅓"],[0,"⅔"],[0,"⅕"],[0,"⅖"],[0,"⅗"],[0,"⅘"],[0,"⅙"],[0,"⅚"],[0,"⅛"],[0,"⅜"],[0,"⅝"],[0,"⅞"],[49,"←"],[0,"↑"],[0,"→"],[0,"↓"],[0,"↔"],[0,"↕"],[0,"↖"],[0,"↗"],[0,"↘"],[0,"↙"],[0,"↚"],[0,"↛"],[1,{v:"↝",n:824,o:"↝̸"}],[0,"↞"],[0,"↟"],[0,"↠"],[0,"↡"],[0,"↢"],[0,"↣"],[0,"↤"],[0,"↥"],[0,"↦"],[0,"↧"],[1,"↩"],[0,"↪"],[0,"↫"],[0,"↬"],[0,"↭"],[0,"↮"],[1,"↰"],[0,"↱"],[0,"↲"],[0,"↳"],[1,"↵"],[0,"↶"],[0,"↷"],[2,"↺"],[0,"↻"],[0,"↼"],[0,"↽"],[0,"↾"],[0,"↿"],[0,"⇀"],[0,"⇁"],[0,"⇂"],[0,"⇃"],[0,"⇄"],[0,"⇅"],[0,"⇆"],[0,"⇇"],[0,"⇈"],[0,"⇉"],[0,"⇊"],[0,"⇋"],[0,"⇌"],[0,"⇍"],[0,"⇎"],[0,"⇏"],[0,"⇐"],[0,"⇑"],[0,"⇒"],[0,"⇓"],[0,"⇔"],[0,"⇕"],[0,"⇖"],[0,"⇗"],[0,"⇘"],[0,"⇙"],[0,"⇚"],[0,"⇛"],[1,"⇝"],[6,"⇤"],[0,"⇥"],[15,"⇵"],[7,"⇽"],[0,"⇾"],[0,"⇿"],[0,"∀"],[0,"∁"],[0,{v:"∂",n:824,o:"∂̸"}],[0,"∃"],[0,"∄"],[0,"∅"],[1,"∇"],[0,"∈"],[0,"∉"],[1,"∋"],[0,"∌"],[2,"∏"],[0,"∐"],[0,"∑"],[0,"−"],[0,"∓"],[0,"∔"],[1,"∖"],[0,"∗"],[0,"∘"],[1,"√"],[2,"∝"],[0,"∞"],[0,"∟"],[0,{v:"∠",n:8402,o:"∠⃒"}],[0,"∡"],[0,"∢"],[0,"∣"],[0,"∤"],[0,"∥"],[0,"∦"],[0,"∧"],[0,"∨"],[0,{v:"∩",n:65024,o:"∩︀"}],[0,{v:"∪",n:65024,o:"∪︀"}],[0,"∫"],[0,"∬"],[0,"∭"],[0,"∮"],[0,"∯"],[0,"∰"],[0,"∱"],[0,"∲"],[0,"∳"],[0,"∴"],[0,"∵"],[0,"∶"],[0,"∷"],[0,"∸"],[1,"∺"],[0,"∻"],[0,{v:"∼",n:8402,o:"∼⃒"}],[0,{v:"∽",n:817,o:"∽̱"}],[0,{v:"∾",n:819,o:"∾̳"}],[0,"∿"],[0,"≀"],[0,"≁"],[0,{v:"≂",n:824,o:"≂̸"}],[0,"≃"],[0,"≄"],[0,"≅"],[0,"≆"],[0,"≇"],[0,"≈"],[0,"≉"],[0,"≊"],[0,{v:"≋",n:824,o:"≋̸"}],[0,"≌"],[0,{v:"≍",n:8402,o:"≍⃒"}],[0,{v:"≎",n:824,o:"≎̸"}],[0,{v:"≏",n:824,o:"≏̸"}],[0,{v:"≐",n:824,o:"≐̸"}],[0,"≑"],[0,"≒"],[0,"≓"],[0,"≔"],[0,"≕"],[0,"≖"],[0,"≗"],[1,"≙"],[0,"≚"],[1,"≜"],[2,"≟"],[0,"≠"],[0,{v:"≡",n:8421,o:"≡⃥"}],[0,"≢"],[1,{v:"≤",n:8402,o:"≤⃒"}],[0,{v:"≥",n:8402,o:"≥⃒"}],[0,{v:"≦",n:824,o:"≦̸"}],[0,{v:"≧",n:824,o:"≧̸"}],[0,{v:"≨",n:65024,o:"≨︀"}],[0,{v:"≩",n:65024,o:"≩︀"}],[0,{v:"≪",n:new Map(e([[824,"≪̸"],[7577,"≪⃒"]]))}],[0,{v:"≫",n:new Map(e([[824,"≫̸"],[7577,"≫⃒"]]))}],[0,"≬"],[0,"≭"],[0,"≮"],[0,"≯"],[0,"≰"],[0,"≱"],[0,"≲"],[0,"≳"],[0,"≴"],[0,"≵"],[0,"≶"],[0,"≷"],[0,"≸"],[0,"≹"],[0,"≺"],[0,"≻"],[0,"≼"],[0,"≽"],[0,"≾"],[0,{v:"≿",n:824,o:"≿̸"}],[0,"⊀"],[0,"⊁"],[0,{v:"⊂",n:8402,o:"⊂⃒"}],[0,{v:"⊃",n:8402,o:"⊃⃒"}],[0,"⊄"],[0,"⊅"],[0,"⊆"],[0,"⊇"],[0,"⊈"],[0,"⊉"],[0,{v:"⊊",n:65024,o:"⊊︀"}],[0,{v:"⊋",n:65024,o:"⊋︀"}],[1,"⊍"],[0,"⊎"],[0,{v:"⊏",n:824,o:"⊏̸"}],[0,{v:"⊐",n:824,o:"⊐̸"}],[0,"⊑"],[0,"⊒"],[0,{v:"⊓",n:65024,o:"⊓︀"}],[0,{v:"⊔",n:65024,o:"⊔︀"}],[0,"⊕"],[0,"⊖"],[0,"⊗"],[0,"⊘"],[0,"⊙"],[0,"⊚"],[0,"⊛"],[1,"⊝"],[0,"⊞"],[0,"⊟"],[0,"⊠"],[0,"⊡"],[0,"⊢"],[0,"⊣"],[0,"⊤"],[0,"⊥"],[1,"⊧"],[0,"⊨"],[0,"⊩"],[0,"⊪"],[0,"⊫"],[0,"⊬"],[0,"⊭"],[0,"⊮"],[0,"⊯"],[0,"⊰"],[1,"⊲"],[0,"⊳"],[0,{v:"⊴",n:8402,o:"⊴⃒"}],[0,{v:"⊵",n:8402,o:"⊵⃒"}],[0,"⊶"],[0,"⊷"],[0,"⊸"],[0,"⊹"],[0,"⊺"],[0,"⊻"],[1,"⊽"],[0,"⊾"],[0,"⊿"],[0,"⋀"],[0,"⋁"],[0,"⋂"],[0,"⋃"],[0,"⋄"],[0,"⋅"],[0,"⋆"],[0,"⋇"],[0,"⋈"],[0,"⋉"],[0,"⋊"],[0,"⋋"],[0,"⋌"],[0,"⋍"],[0,"⋎"],[0,"⋏"],[0,"⋐"],[0,"⋑"],[0,"⋒"],[0,"⋓"],[0,"⋔"],[0,"⋕"],[0,"⋖"],[0,"⋗"],[0,{v:"⋘",n:824,o:"⋘̸"}],[0,{v:"⋙",n:824,o:"⋙̸"}],[0,{v:"⋚",n:65024,o:"⋚︀"}],[0,{v:"⋛",n:65024,o:"⋛︀"}],[2,"⋞"],[0,"⋟"],[0,"⋠"],[0,"⋡"],[0,"⋢"],[0,"⋣"],[2,"⋦"],[0,"⋧"],[0,"⋨"],[0,"⋩"],[0,"⋪"],[0,"⋫"],[0,"⋬"],[0,"⋭"],[0,"⋮"],[0,"⋯"],[0,"⋰"],[0,"⋱"],[0,"⋲"],[0,"⋳"],[0,"⋴"],[0,{v:"⋵",n:824,o:"⋵̸"}],[0,"⋶"],[0,"⋷"],[1,{v:"⋹",n:824,o:"⋹̸"}],[0,"⋺"],[0,"⋻"],[0,"⋼"],[0,"⋽"],[0,"⋾"],[6,"⌅"],[0,"⌆"],[1,"⌈"],[0,"⌉"],[0,"⌊"],[0,"⌋"],[0,"⌌"],[0,"⌍"],[0,"⌎"],[0,"⌏"],[0,"⌐"],[1,"⌒"],[0,"⌓"],[1,"⌕"],[0,"⌖"],[5,"⌜"],[0,"⌝"],[0,"⌞"],[0,"⌟"],[2,"⌢"],[0,"⌣"],[9,"⌭"],[0,"⌮"],[7,"⌶"],[6,"⌽"],[1,"⌿"],[60,"⍼"],[51,"⎰"],[0,"⎱"],[2,"⎴"],[0,"⎵"],[0,"⎶"],[37,"⏜"],[0,"⏝"],[0,"⏞"],[0,"⏟"],[2,"⏢"],[4,"⏧"],[59,"␣"],[164,"Ⓢ"],[55,"─"],[1,"│"],[9,"┌"],[3,"┐"],[3,"└"],[3,"┘"],[3,"├"],[7,"┤"],[7,"┬"],[7,"┴"],[7,"┼"],[19,"═"],[0,"║"],[0,"╒"],[0,"╓"],[0,"╔"],[0,"╕"],[0,"╖"],[0,"╗"],[0,"╘"],[0,"╙"],[0,"╚"],[0,"╛"],[0,"╜"],[0,"╝"],[0,"╞"],[0,"╟"],[0,"╠"],[0,"╡"],[0,"╢"],[0,"╣"],[0,"╤"],[0,"╥"],[0,"╦"],[0,"╧"],[0,"╨"],[0,"╩"],[0,"╪"],[0,"╫"],[0,"╬"],[19,"▀"],[3,"▄"],[3,"█"],[8,"░"],[0,"▒"],[0,"▓"],[13,"□"],[8,"▪"],[0,"▫"],[1,"▭"],[0,"▮"],[2,"▱"],[1,"△"],[0,"▴"],[0,"▵"],[2,"▸"],[0,"▹"],[3,"▽"],[0,"▾"],[0,"▿"],[2,"◂"],[0,"◃"],[6,"◊"],[0,"○"],[32,"◬"],[2,"◯"],[8,"◸"],[0,"◹"],[0,"◺"],[0,"◻"],[0,"◼"],[8,"★"],[0,"☆"],[7,"☎"],[49,"♀"],[1,"♂"],[29,"♠"],[2,"♣"],[1,"♥"],[0,"♦"],[3,"♪"],[2,"♭"],[0,"♮"],[0,"♯"],[163,"✓"],[3,"✗"],[8,"✠"],[21,"✶"],[33,"❘"],[25,"❲"],[0,"❳"],[84,"⟈"],[0,"⟉"],[28,"⟦"],[0,"⟧"],[0,"⟨"],[0,"⟩"],[0,"⟪"],[0,"⟫"],[0,"⟬"],[0,"⟭"],[7,"⟵"],[0,"⟶"],[0,"⟷"],[0,"⟸"],[0,"⟹"],[0,"⟺"],[1,"⟼"],[2,"⟿"],[258,"⤂"],[0,"⤃"],[0,"⤄"],[0,"⤅"],[6,"⤌"],[0,"⤍"],[0,"⤎"],[0,"⤏"],[0,"⤐"],[0,"⤑"],[0,"⤒"],[0,"⤓"],[2,"⤖"],[2,"⤙"],[0,"⤚"],[0,"⤛"],[0,"⤜"],[0,"⤝"],[0,"⤞"],[0,"⤟"],[0,"⤠"],[2,"⤣"],[0,"⤤"],[0,"⤥"],[0,"⤦"],[0,"⤧"],[0,"⤨"],[0,"⤩"],[0,"⤪"],[8,{v:"⤳",n:824,o:"⤳̸"}],[1,"⤵"],[0,"⤶"],[0,"⤷"],[0,"⤸"],[0,"⤹"],[2,"⤼"],[0,"⤽"],[7,"⥅"],[2,"⥈"],[0,"⥉"],[0,"⥊"],[0,"⥋"],[2,"⥎"],[0,"⥏"],[0,"⥐"],[0,"⥑"],[0,"⥒"],[0,"⥓"],[0,"⥔"],[0,"⥕"],[0,"⥖"],[0,"⥗"],[0,"⥘"],[0,"⥙"],[0,"⥚"],[0,"⥛"],[0,"⥜"],[0,"⥝"],[0,"⥞"],[0,"⥟"],[0,"⥠"],[0,"⥡"],[0,"⥢"],[0,"⥣"],[0,"⥤"],[0,"⥥"],[0,"⥦"],[0,"⥧"],[0,"⥨"],[0,"⥩"],[0,"⥪"],[0,"⥫"],[0,"⥬"],[0,"⥭"],[0,"⥮"],[0,"⥯"],[0,"⥰"],[0,"⥱"],[0,"⥲"],[0,"⥳"],[0,"⥴"],[0,"⥵"],[0,"⥶"],[1,"⥸"],[0,"⥹"],[1,"⥻"],[0,"⥼"],[0,"⥽"],[0,"⥾"],[0,"⥿"],[5,"⦅"],[0,"⦆"],[4,"⦋"],[0,"⦌"],[0,"⦍"],[0,"⦎"],[0,"⦏"],[0,"⦐"],[0,"⦑"],[0,"⦒"],[0,"⦓"],[0,"⦔"],[0,"⦕"],[0,"⦖"],[3,"⦚"],[1,"⦜"],[0,"⦝"],[6,"⦤"],[0,"⦥"],[0,"⦦"],[0,"⦧"],[0,"⦨"],[0,"⦩"],[0,"⦪"],[0,"⦫"],[0,"⦬"],[0,"⦭"],[0,"⦮"],[0,"⦯"],[0,"⦰"],[0,"⦱"],[0,"⦲"],[0,"⦳"],[0,"⦴"],[0,"⦵"],[0,"⦶"],[0,"⦷"],[1,"⦹"],[1,"⦻"],[0,"⦼"],[1,"⦾"],[0,"⦿"],[0,"⧀"],[0,"⧁"],[0,"⧂"],[0,"⧃"],[0,"⧄"],[0,"⧅"],[3,"⧉"],[3,"⧍"],[0,"⧎"],[0,{v:"⧏",n:824,o:"⧏̸"}],[0,{v:"⧐",n:824,o:"⧐̸"}],[11,"⧜"],[0,"⧝"],[0,"⧞"],[4,"⧣"],[0,"⧤"],[0,"⧥"],[5,"⧫"],[8,"⧴"],[1,"⧶"],[9,"⨀"],[0,"⨁"],[0,"⨂"],[1,"⨄"],[1,"⨆"],[5,"⨌"],[0,"⨍"],[2,"⨐"],[0,"⨑"],[0,"⨒"],[0,"⨓"],[0,"⨔"],[0,"⨕"],[0,"⨖"],[0,"⨗"],[10,"⨢"],[0,"⨣"],[0,"⨤"],[0,"⨥"],[0,"⨦"],[0,"⨧"],[1,"⨩"],[0,"⨪"],[2,"⨭"],[0,"⨮"],[0,"⨯"],[0,"⨰"],[0,"⨱"],[1,"⨳"],[0,"⨴"],[0,"⨵"],[0,"⨶"],[0,"⨷"],[0,"⨸"],[0,"⨹"],[0,"⨺"],[0,"⨻"],[0,"⨼"],[2,"⨿"],[0,"⩀"],[1,"⩂"],[0,"⩃"],[0,"⩄"],[0,"⩅"],[0,"⩆"],[0,"⩇"],[0,"⩈"],[0,"⩉"],[0,"⩊"],[0,"⩋"],[0,"⩌"],[0,"⩍"],[2,"⩐"],[2,"⩓"],[0,"⩔"],[0,"⩕"],[0,"⩖"],[0,"⩗"],[0,"⩘"],[1,"⩚"],[0,"⩛"],[0,"⩜"],[0,"⩝"],[1,"⩟"],[6,"⩦"],[3,"⩪"],[2,{v:"⩭",n:824,o:"⩭̸"}],[0,"⩮"],[0,"⩯"],[0,{v:"⩰",n:824,o:"⩰̸"}],[0,"⩱"],[0,"⩲"],[0,"⩳"],[0,"⩴"],[0,"⩵"],[1,"⩷"],[0,"⩸"],[0,"⩹"],[0,"⩺"],[0,"⩻"],[0,"⩼"],[0,{v:"⩽",n:824,o:"⩽̸"}],[0,{v:"⩾",n:824,o:"⩾̸"}],[0,"⩿"],[0,"⪀"],[0,"⪁"],[0,"⪂"],[0,"⪃"],[0,"⪄"],[0,"⪅"],[0,"⪆"],[0,"⪇"],[0,"⪈"],[0,"⪉"],[0,"⪊"],[0,"⪋"],[0,"⪌"],[0,"⪍"],[0,"⪎"],[0,"⪏"],[0,"⪐"],[0,"⪑"],[0,"⪒"],[0,"⪓"],[0,"⪔"],[0,"⪕"],[0,"⪖"],[0,"⪗"],[0,"⪘"],[0,"⪙"],[0,"⪚"],[2,"⪝"],[0,"⪞"],[0,"⪟"],[0,"⪠"],[0,{v:"⪡",n:824,o:"⪡̸"}],[0,{v:"⪢",n:824,o:"⪢̸"}],[1,"⪤"],[0,"⪥"],[0,"⪦"],[0,"⪧"],[0,"⪨"],[0,"⪩"],[0,"⪪"],[0,"⪫"],[0,{v:"⪬",n:65024,o:"⪬︀"}],[0,{v:"⪭",n:65024,o:"⪭︀"}],[0,"⪮"],[0,{v:"⪯",n:824,o:"⪯̸"}],[0,{v:"⪰",n:824,o:"⪰̸"}],[2,"⪳"],[0,"⪴"],[0,"⪵"],[0,"⪶"],[0,"⪷"],[0,"⪸"],[0,"⪹"],[0,"⪺"],[0,"⪻"],[0,"⪼"],[0,"⪽"],[0,"⪾"],[0,"⪿"],[0,"⫀"],[0,"⫁"],[0,"⫂"],[0,"⫃"],[0,"⫄"],[0,{v:"⫅",n:824,o:"⫅̸"}],[0,{v:"⫆",n:824,o:"⫆̸"}],[0,"⫇"],[0,"⫈"],[2,{v:"⫋",n:65024,o:"⫋︀"}],[0,{v:"⫌",n:65024,o:"⫌︀"}],[2,"⫏"],[0,"⫐"],[0,"⫑"],[0,"⫒"],[0,"⫓"],[0,"⫔"],[0,"⫕"],[0,"⫖"],[0,"⫗"],[0,"⫘"],[0,"⫙"],[0,"⫚"],[0,"⫛"],[8,"⫤"],[1,"⫦"],[0,"⫧"],[0,"⫨"],[0,"⫩"],[1,"⫫"],[0,"⫬"],[0,"⫭"],[0,"⫮"],[0,"⫯"],[0,"⫰"],[0,"⫱"],[0,"⫲"],[0,"⫳"],[9,{v:"⫽",n:8421,o:"⫽⃥"}],[44343,{n:new Map(e([[56476,"𝒜"],[1,"𝒞"],[0,"𝒟"],[2,"𝒢"],[2,"𝒥"],[0,"𝒦"],[2,"𝒩"],[0,"𝒪"],[0,"𝒫"],[0,"𝒬"],[1,"𝒮"],[0,"𝒯"],[0,"𝒰"],[0,"𝒱"],[0,"𝒲"],[0,"𝒳"],[0,"𝒴"],[0,"𝒵"],[0,"𝒶"],[0,"𝒷"],[0,"𝒸"],[0,"𝒹"],[1,"𝒻"],[1,"𝒽"],[0,"𝒾"],[0,"𝒿"],[0,"𝓀"],[0,"𝓁"],[0,"𝓂"],[0,"𝓃"],[1,"𝓅"],[0,"𝓆"],[0,"𝓇"],[0,"𝓈"],[0,"𝓉"],[0,"𝓊"],[0,"𝓋"],[0,"𝓌"],[0,"𝓍"],[0,"𝓎"],[0,"𝓏"],[52,"𝔄"],[0,"𝔅"],[1,"𝔇"],[0,"𝔈"],[0,"𝔉"],[0,"𝔊"],[2,"𝔍"],[0,"𝔎"],[0,"𝔏"],[0,"𝔐"],[0,"𝔑"],[0,"𝔒"],[0,"𝔓"],[0,"𝔔"],[1,"𝔖"],[0,"𝔗"],[0,"𝔘"],[0,"𝔙"],[0,"𝔚"],[0,"𝔛"],[0,"𝔜"],[1,"𝔞"],[0,"𝔟"],[0,"𝔠"],[0,"𝔡"],[0,"𝔢"],[0,"𝔣"],[0,"𝔤"],[0,"𝔥"],[0,"𝔦"],[0,"𝔧"],[0,"𝔨"],[0,"𝔩"],[0,"𝔪"],[0,"𝔫"],[0,"𝔬"],[0,"𝔭"],[0,"𝔮"],[0,"𝔯"],[0,"𝔰"],[0,"𝔱"],[0,"𝔲"],[0,"𝔳"],[0,"𝔴"],[0,"𝔵"],[0,"𝔶"],[0,"𝔷"],[0,"𝔸"],[0,"𝔹"],[1,"𝔻"],[0,"𝔼"],[0,"𝔽"],[0,"𝔾"],[1,"𝕀"],[0,"𝕁"],[0,"𝕂"],[0,"𝕃"],[0,"𝕄"],[1,"𝕆"],[3,"𝕊"],[0,"𝕋"],[0,"𝕌"],[0,"𝕍"],[0,"𝕎"],[0,"𝕏"],[0,"𝕐"],[1,"𝕒"],[0,"𝕓"],[0,"𝕔"],[0,"𝕕"],[0,"𝕖"],[0,"𝕗"],[0,"𝕘"],[0,"𝕙"],[0,"𝕚"],[0,"𝕛"],[0,"𝕜"],[0,"𝕝"],[0,"𝕞"],[0,"𝕟"],[0,"𝕠"],[0,"𝕡"],[0,"𝕢"],[0,"𝕣"],[0,"𝕤"],[0,"𝕥"],[0,"𝕦"],[0,"𝕧"],[0,"𝕨"],[0,"𝕩"],[0,"𝕪"],[0,"𝕫"]]))}],[8906,"ff"],[0,"fi"],[0,"fl"],[0,"ffi"],[0,"ffl"]])),Nu}var sa={},C0;function oa(){return C0||(C0=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.escapeText=e.escapeAttribute=e.escapeUTF8=e.escape=e.encodeXML=e.getCodePoint=e.xmlReplacer=void 0,e.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var r=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);e.getCodePoint=String.prototype.codePointAt!=null?function(u,i){return u.codePointAt(i)}:function(u,i){return(u.charCodeAt(i)&64512)===55296?(u.charCodeAt(i)-55296)*1024+u.charCodeAt(i+1)-56320+65536:u.charCodeAt(i)};function t(u){for(var i="",a=0,s;(s=e.xmlReplacer.exec(u))!==null;){var l=s.index,c=u.charCodeAt(l),f=r.get(c);f!==void 0?(i+=u.substring(a,l)+f,a=l+1):(i+="".concat(u.substring(a,l),"&#x").concat((0,e.getCodePoint)(u,l).toString(16),";"),a=e.xmlReplacer.lastIndex+=+((c&64512)===55296))}return i+u.substr(a)}e.encodeXML=t,e.escape=t;function n(u,i){return function(s){for(var l,c=0,f="";l=u.exec(s);)c!==l.index&&(f+=s.substring(c,l.index)),f+=i.get(l[0].charCodeAt(0)),c=l.index+1;return f+s.substring(c)}}e.escapeUTF8=n(/[&<>'"]/g,r),e.escapeAttribute=n(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),e.escapeText=n(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))})(sa)),sa}var _0;function T0(){if(_0)return yr;_0=1;var e=yr&&yr.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(yr,"__esModule",{value:!0}),yr.encodeNonAsciiHTML=yr.encodeHTML=void 0;var r=e(Hg()),t=oa(),n=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function u(s){return a(n,s)}yr.encodeHTML=u;function i(s){return a(t.xmlReplacer,s)}yr.encodeNonAsciiHTML=i;function a(s,l){for(var c="",f=0,p;(p=s.exec(l))!==null;){var o=p.index;c+=l.substring(f,o);var d=l.charCodeAt(o),m=r.default.get(d);if(typeof m=="object"){if(o+1<l.length){var h=l.charCodeAt(o+1),b=typeof m.n=="number"?m.n===h?m.o:void 0:m.n.get(h);if(b!==void 0){c+=b,f=s.lastIndex+=1;continue}}m=m.v}if(m!==void 0)c+=m,f=o+1;else{var g=(0,t.getCodePoint)(l,o);c+="&#x".concat(g.toString(16),";"),f=s.lastIndex+=+(g!==d)}}return c+l.substr(f)}return yr}var S0;function Ug(){return S0||(S0=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLAttribute=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.DecodingMode=e.EntityDecoder=e.encodeHTML5=e.encodeHTML4=e.encodeNonAsciiHTML=e.encodeHTML=e.escapeText=e.escapeAttribute=e.escapeUTF8=e.escape=e.encodeXML=e.encode=e.decodeStrict=e.decode=e.EncodingMode=e.EntityLevel=void 0;var r=Mu(),t=T0(),n=oa(),u;(function(o){o[o.XML=0]="XML",o[o.HTML=1]="HTML"})(u=e.EntityLevel||(e.EntityLevel={}));var i;(function(o){o[o.UTF8=0]="UTF8",o[o.ASCII=1]="ASCII",o[o.Extensive=2]="Extensive",o[o.Attribute=3]="Attribute",o[o.Text=4]="Text"})(i=e.EncodingMode||(e.EncodingMode={}));function a(o,d){d===void 0&&(d=u.XML);var m=typeof d=="number"?d:d.level;if(m===u.HTML){var h=typeof d=="object"?d.mode:void 0;return(0,r.decodeHTML)(o,h)}return(0,r.decodeXML)(o)}e.decode=a;function s(o,d){var m;d===void 0&&(d=u.XML);var h=typeof d=="number"?{level:d}:d;return(m=h.mode)!==null&&m!==void 0||(h.mode=r.DecodingMode.Strict),a(o,h)}e.decodeStrict=s;function l(o,d){d===void 0&&(d=u.XML);var m=typeof d=="number"?{level:d}:d;return m.mode===i.UTF8?(0,n.escapeUTF8)(o):m.mode===i.Attribute?(0,n.escapeAttribute)(o):m.mode===i.Text?(0,n.escapeText)(o):m.level===u.HTML?m.mode===i.ASCII?(0,t.encodeNonAsciiHTML)(o):(0,t.encodeHTML)(o):(0,n.encodeXML)(o)}e.encode=l;var c=oa();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return c.encodeXML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return c.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return c.escapeUTF8}}),Object.defineProperty(e,"escapeAttribute",{enumerable:!0,get:function(){return c.escapeAttribute}}),Object.defineProperty(e,"escapeText",{enumerable:!0,get:function(){return c.escapeText}});var f=T0();Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return f.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return f.encodeNonAsciiHTML}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return f.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return f.encodeHTML}});var p=Mu();Object.defineProperty(e,"EntityDecoder",{enumerable:!0,get:function(){return p.EntityDecoder}}),Object.defineProperty(e,"DecodingMode",{enumerable:!0,get:function(){return p.DecodingMode}}),Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return p.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return p.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return p.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTMLAttribute",{enumerable:!0,get:function(){return p.decodeHTMLAttribute}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return p.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return p.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return p.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return p.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return p.decodeXML}})})(aa)),aa}var Gr={},F0;function Vg(){return F0||(F0=1,Object.defineProperty(Gr,"__esModule",{value:!0}),Gr.attributeNames=Gr.elementNames=void 0,Gr.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(e){return[e.toLowerCase(),e]})),Gr.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(e){return[e.toLowerCase(),e]}))),Gr}var O0;function Wg(){if(O0)return It;O0=1;var e=It&&It.__assign||function(){return e=Object.assign||function(D){for(var v,E=1,A=arguments.length;E<A;E++){v=arguments[E];for(var C in v)Object.prototype.hasOwnProperty.call(v,C)&&(D[C]=v[C])}return D},e.apply(this,arguments)},r=It&&It.__createBinding||(Object.create?(function(D,v,E,A){A===void 0&&(A=E);var C=Object.getOwnPropertyDescriptor(v,E);(!C||("get"in C?!v.__esModule:C.writable||C.configurable))&&(C={enumerable:!0,get:function(){return v[E]}}),Object.defineProperty(D,A,C)}):(function(D,v,E,A){A===void 0&&(A=E),D[A]=v[E]})),t=It&&It.__setModuleDefault||(Object.create?(function(D,v){Object.defineProperty(D,"default",{enumerable:!0,value:v})}):function(D,v){D.default=v}),n=It&&It.__importStar||function(D){if(D&&D.__esModule)return D;var v={};if(D!=null)for(var E in D)E!=="default"&&Object.prototype.hasOwnProperty.call(D,E)&&r(v,D,E);return t(v,D),v};Object.defineProperty(It,"__esModule",{value:!0}),It.render=void 0;var u=n(Yn()),i=Ug(),a=Vg(),s=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function l(D){return D.replace(/"/g,""")}function c(D,v){var E;if(D){var A=((E=v.encodeEntities)!==null&&E!==void 0?E:v.decodeEntities)===!1?l:v.xmlMode||v.encodeEntities!=="utf8"?i.encodeXML:i.escapeAttribute;return Object.keys(D).map(function(C){var T,x,_=(T=D[C])!==null&&T!==void 0?T:"";return v.xmlMode==="foreign"&&(C=(x=a.attributeNames.get(C))!==null&&x!==void 0?x:C),!v.emptyAttrs&&!v.xmlMode&&_===""?C:"".concat(C,'="').concat(A(_),'"')}).join(" ")}}var f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function p(D,v){v===void 0&&(v={});for(var E=("length"in D)?D:[D],A="",C=0;C<E.length;C++)A+=o(E[C],v);return A}It.render=p,It.default=p;function o(D,v){switch(D.type){case u.Root:return p(D.children,v);case u.Doctype:case u.Directive:return b(D);case u.Comment:return y(D);case u.CDATA:return w(D);case u.Script:case u.Style:case u.Tag:return h(D,v);case u.Text:return g(D,v)}}var d=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m=new Set(["svg","math"]);function h(D,v){var E;v.xmlMode==="foreign"&&(D.name=(E=a.elementNames.get(D.name))!==null&&E!==void 0?E:D.name,D.parent&&d.has(D.parent.name)&&(v=e(e({},v),{xmlMode:!1}))),!v.xmlMode&&m.has(D.name)&&(v=e(e({},v),{xmlMode:"foreign"}));var A="<".concat(D.name),C=c(D.attribs,v);return C&&(A+=" ".concat(C)),D.children.length===0&&(v.xmlMode?v.selfClosingTags!==!1:v.selfClosingTags&&f.has(D.name))?(v.xmlMode||(A+=" "),A+="/>"):(A+=">",D.children.length>0&&(A+=p(D.children,v)),(v.xmlMode||!f.has(D.name))&&(A+="</".concat(D.name,">"))),A}function b(D){return"<".concat(D.data,">")}function g(D,v){var E,A=D.data||"";return((E=v.encodeEntities)!==null&&E!==void 0?E:v.decodeEntities)!==!1&&!(!v.xmlMode&&D.parent&&s.has(D.parent.name))&&(A=v.xmlMode||v.encodeEntities!=="utf8"?(0,i.encodeXML)(A):(0,i.escapeText)(A)),A}function w(D){return"<![CDATA[".concat(D.children[0].data,"]]>")}function y(D){return"<!--".concat(D.data,"-->")}return It}var M0;function N0(){if(M0)return cr;M0=1;var e=cr&&cr.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(cr,"__esModule",{value:!0}),cr.getOuterHTML=u,cr.getInnerHTML=i,cr.getText=a,cr.textContent=s,cr.innerText=l;var r=Sr(),t=e(Wg()),n=Yn();function u(c,f){return(0,t.default)(c,f)}function i(c,f){return(0,r.hasChildren)(c)?c.children.map(function(p){return u(p,f)}).join(""):""}function a(c){return Array.isArray(c)?c.map(a).join(""):(0,r.isTag)(c)?c.name==="br"?`
|
|
31
|
-
`:a(c.children):(0,r.isCDATA)(c)?a(c.children):(0,r.isText)(c)?c.data:""}function s(c){return Array.isArray(c)?c.map(s).join(""):(0,r.hasChildren)(c)&&!(0,r.isComment)(c)?s(c.children):(0,r.isText)(c)?c.data:""}function l(c){return Array.isArray(c)?c.map(l).join(""):(0,r.hasChildren)(c)&&(c.type===n.ElementType.Tag||(0,r.isCDATA)(c))?l(c.children):(0,r.isText)(c)?c.data:""}return cr}var rr={},P0;function Yg(){if(P0)return rr;P0=1,Object.defineProperty(rr,"__esModule",{value:!0}),rr.getChildren=r,rr.getParent=t,rr.getSiblings=n,rr.getAttributeValue=u,rr.hasAttrib=i,rr.getName=a,rr.nextElementSibling=s,rr.prevElementSibling=l;var e=Sr();function r(c){return(0,e.hasChildren)(c)?c.children:[]}function t(c){return c.parent||null}function n(c){var f,p,o=t(c);if(o!=null)return r(o);for(var d=[c],m=c.prev,h=c.next;m!=null;)d.unshift(m),f=m,m=f.prev;for(;h!=null;)d.push(h),p=h,h=p.next;return d}function u(c,f){var p;return(p=c.attribs)===null||p===void 0?void 0:p[f]}function i(c,f){return c.attribs!=null&&Object.prototype.hasOwnProperty.call(c.attribs,f)&&c.attribs[f]!=null}function a(c){return c.name}function s(c){for(var f,p=c.next;p!==null&&!(0,e.isTag)(p);)f=p,p=f.next;return p}function l(c){for(var f,p=c.prev;p!==null&&!(0,e.isTag)(p);)f=p,p=f.prev;return p}return rr}var vr={},I0;function Gg(){if(I0)return vr;I0=1,Object.defineProperty(vr,"__esModule",{value:!0}),vr.removeElement=e,vr.replaceElement=r,vr.appendChild=t,vr.append=n,vr.prependChild=u,vr.prepend=i;function e(a){if(a.prev&&(a.prev.next=a.next),a.next&&(a.next.prev=a.prev),a.parent){var s=a.parent.children,l=s.lastIndexOf(a);l>=0&&s.splice(l,1)}a.next=null,a.prev=null,a.parent=null}function r(a,s){var l=s.prev=a.prev;l&&(l.next=s);var c=s.next=a.next;c&&(c.prev=s);var f=s.parent=a.parent;if(f){var p=f.children;p[p.lastIndexOf(a)]=s,a.parent=null}}function t(a,s){if(e(s),s.next=null,s.parent=a,a.children.push(s)>1){var l=a.children[a.children.length-2];l.next=s,s.prev=l}else s.prev=null}function n(a,s){e(s);var l=a.parent,c=a.next;if(s.next=c,s.prev=a,a.next=s,s.parent=l,c){if(c.prev=s,l){var f=l.children;f.splice(f.lastIndexOf(c),0,s)}}else l&&l.children.push(s)}function u(a,s){if(e(s),s.parent=a,s.prev=null,a.children.unshift(s)!==1){var l=a.children[1];l.prev=s,s.next=l}else s.next=null}function i(a,s){e(s);var l=a.parent;if(l){var c=l.children;c.splice(c.indexOf(a),0,s)}a.prev&&(a.prev.next=s),s.parent=l,s.prev=a.prev,s.next=a,a.prev=s}return vr}var wr={},B0;function R0(){if(B0)return wr;B0=1,Object.defineProperty(wr,"__esModule",{value:!0}),wr.filter=r,wr.find=t,wr.findOneChild=n,wr.findOne=u,wr.existsOne=i,wr.findAll=a;var e=Sr();function r(s,l,c,f){return c===void 0&&(c=!0),f===void 0&&(f=1/0),t(s,Array.isArray(l)?l:[l],c,f)}function t(s,l,c,f){for(var p=[],o=[Array.isArray(l)?l:[l]],d=[0];;){if(d[0]>=o[0].length){if(d.length===1)return p;o.shift(),d.shift();continue}var m=o[0][d[0]++];if(s(m)&&(p.push(m),--f<=0))return p;c&&(0,e.hasChildren)(m)&&m.children.length>0&&(d.unshift(0),o.unshift(m.children))}}function n(s,l){return l.find(s)}function u(s,l,c){c===void 0&&(c=!0);for(var f=Array.isArray(l)?l:[l],p=0;p<f.length;p++){var o=f[p];if((0,e.isTag)(o)&&s(o))return o;if(c&&(0,e.hasChildren)(o)&&o.children.length>0){var d=u(s,o.children,!0);if(d)return d}}return null}function i(s,l){return(Array.isArray(l)?l:[l]).some(function(c){return(0,e.isTag)(c)&&s(c)||(0,e.hasChildren)(c)&&i(s,c.children)})}function a(s,l){for(var c=[],f=[Array.isArray(l)?l:[l]],p=[0];;){if(p[0]>=f[0].length){if(f.length===1)return c;f.shift(),p.shift();continue}var o=f[0][p[0]++];(0,e.isTag)(o)&&s(o)&&c.push(o),(0,e.hasChildren)(o)&&o.children.length>0&&(p.unshift(0),f.unshift(o.children))}}return wr}var Dr={},q0;function k0(){if(q0)return Dr;q0=1,Object.defineProperty(Dr,"__esModule",{value:!0}),Dr.testElement=a,Dr.getElements=s,Dr.getElementById=l,Dr.getElementsByTagName=c,Dr.getElementsByClassName=f,Dr.getElementsByTagType=p;var e=Sr(),r=R0(),t={tag_name:function(o){return typeof o=="function"?function(d){return(0,e.isTag)(d)&&o(d.name)}:o==="*"?e.isTag:function(d){return(0,e.isTag)(d)&&d.name===o}},tag_type:function(o){return typeof o=="function"?function(d){return o(d.type)}:function(d){return d.type===o}},tag_contains:function(o){return typeof o=="function"?function(d){return(0,e.isText)(d)&&o(d.data)}:function(d){return(0,e.isText)(d)&&d.data===o}}};function n(o,d){return typeof d=="function"?function(m){return(0,e.isTag)(m)&&d(m.attribs[o])}:function(m){return(0,e.isTag)(m)&&m.attribs[o]===d}}function u(o,d){return function(m){return o(m)||d(m)}}function i(o){var d=Object.keys(o).map(function(m){var h=o[m];return Object.prototype.hasOwnProperty.call(t,m)?t[m](h):n(m,h)});return d.length===0?null:d.reduce(u)}function a(o,d){var m=i(o);return m?m(d):!0}function s(o,d,m,h){h===void 0&&(h=1/0);var b=i(o);return b?(0,r.filter)(b,d,m,h):[]}function l(o,d,m){return m===void 0&&(m=!0),Array.isArray(d)||(d=[d]),(0,r.findOne)(n("id",o),d,m)}function c(o,d,m,h){return m===void 0&&(m=!0),h===void 0&&(h=1/0),(0,r.filter)(t.tag_name(o),d,m,h)}function f(o,d,m,h){return m===void 0&&(m=!0),h===void 0&&(h=1/0),(0,r.filter)(n("class",o),d,m,h)}function p(o,d,m,h){return m===void 0&&(m=!0),h===void 0&&(h=1/0),(0,r.filter)(t.tag_type(o),d,m,h)}return Dr}var Fr={},L0;function Xg(){if(L0)return Fr;L0=1,Object.defineProperty(Fr,"__esModule",{value:!0}),Fr.DocumentPosition=void 0,Fr.removeSubsets=r,Fr.compareDocumentPosition=n,Fr.uniqueSort=u;var e=Sr();function r(i){for(var a=i.length;--a>=0;){var s=i[a];if(a>0&&i.lastIndexOf(s,a-1)>=0){i.splice(a,1);continue}for(var l=s.parent;l;l=l.parent)if(i.includes(l)){i.splice(a,1);break}}return i}var t;(function(i){i[i.DISCONNECTED=1]="DISCONNECTED",i[i.PRECEDING=2]="PRECEDING",i[i.FOLLOWING=4]="FOLLOWING",i[i.CONTAINS=8]="CONTAINS",i[i.CONTAINED_BY=16]="CONTAINED_BY"})(t||(Fr.DocumentPosition=t={}));function n(i,a){var s=[],l=[];if(i===a)return 0;for(var c=(0,e.hasChildren)(i)?i:i.parent;c;)s.unshift(c),c=c.parent;for(c=(0,e.hasChildren)(a)?a:a.parent;c;)l.unshift(c),c=c.parent;for(var f=Math.min(s.length,l.length),p=0;p<f&&s[p]===l[p];)p++;if(p===0)return t.DISCONNECTED;var o=s[p-1],d=o.children,m=s[p],h=l[p];return d.indexOf(m)>d.indexOf(h)?o===a?t.FOLLOWING|t.CONTAINED_BY:t.FOLLOWING:o===i?t.PRECEDING|t.CONTAINS:t.PRECEDING}function u(i){return i=i.filter(function(a,s,l){return!l.includes(a,s+1)}),i.sort(function(a,s){var l=n(a,s);return l&t.PRECEDING?-1:l&t.FOLLOWING?1:0}),i}return Fr}var Pu={},j0;function Qg(){if(j0)return Pu;j0=1,Object.defineProperty(Pu,"__esModule",{value:!0}),Pu.getFeed=t;var e=N0(),r=k0();function t(o){var d=l(p,o);return d?d.name==="feed"?n(d):u(d):null}function n(o){var d,m=o.children,h={type:"atom",items:(0,r.getElementsByTagName)("entry",m).map(function(w){var y,D=w.children,v={media:s(D)};f(v,"id","id",D),f(v,"title","title",D);var E=(y=l("link",D))===null||y===void 0?void 0:y.attribs.href;E&&(v.link=E);var A=c("summary",D)||c("content",D);A&&(v.description=A);var C=c("updated",D);return C&&(v.pubDate=new Date(C)),v})};f(h,"id","id",m),f(h,"title","title",m);var b=(d=l("link",m))===null||d===void 0?void 0:d.attribs.href;b&&(h.link=b),f(h,"description","subtitle",m);var g=c("updated",m);return g&&(h.updated=new Date(g)),f(h,"author","email",m,!0),h}function u(o){var d,m,h=(m=(d=l("channel",o.children))===null||d===void 0?void 0:d.children)!==null&&m!==void 0?m:[],b={type:o.name.substr(0,3),id:"",items:(0,r.getElementsByTagName)("item",o.children).map(function(w){var y=w.children,D={media:s(y)};f(D,"id","guid",y),f(D,"title","title",y),f(D,"link","link",y),f(D,"description","description",y);var v=c("pubDate",y)||c("dc:date",y);return v&&(D.pubDate=new Date(v)),D})};f(b,"title","title",h),f(b,"link","link",h),f(b,"description","description",h);var g=c("lastBuildDate",h);return g&&(b.updated=new Date(g)),f(b,"author","managingEditor",h,!0),b}var i=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(o){return(0,r.getElementsByTagName)("media:content",o).map(function(d){for(var m=d.attribs,h={medium:m.medium,isDefault:!!m.isDefault},b=0,g=i;b<g.length;b++){var w=g[b];m[w]&&(h[w]=m[w])}for(var y=0,D=a;y<D.length;y++){var w=D[y];m[w]&&(h[w]=parseInt(m[w],10))}return m.expression&&(h.expression=m.expression),h})}function l(o,d){return(0,r.getElementsByTagName)(o,d,!0,1)[0]}function c(o,d,m){return m===void 0&&(m=!1),(0,e.textContent)((0,r.getElementsByTagName)(o,d,m,1)).trim()}function f(o,d,m,h,b){b===void 0&&(b=!1);var g=c(m,h,b);g&&(o[d]=g)}function p(o){return o==="rss"||o==="feed"||o==="rdf:RDF"}return Pu}var $0;function ca(){return $0||($0=1,(function(e){var r=Yr&&Yr.__createBinding||(Object.create?(function(u,i,a,s){s===void 0&&(s=a);var l=Object.getOwnPropertyDescriptor(i,a);(!l||("get"in l?!i.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return i[a]}}),Object.defineProperty(u,s,l)}):(function(u,i,a,s){s===void 0&&(s=a),u[s]=i[a]})),t=Yr&&Yr.__exportStar||function(u,i){for(var a in u)a!=="default"&&!Object.prototype.hasOwnProperty.call(i,a)&&r(i,u,a)};Object.defineProperty(e,"__esModule",{value:!0}),e.hasChildren=e.isDocument=e.isComment=e.isText=e.isCDATA=e.isTag=void 0,t(N0(),e),t(Yg(),e),t(Gg(),e),t(R0(),e),t(k0(),e),t(Xg(),e),t(Qg(),e);var n=Sr();Object.defineProperty(e,"isTag",{enumerable:!0,get:function(){return n.isTag}}),Object.defineProperty(e,"isCDATA",{enumerable:!0,get:function(){return n.isCDATA}}),Object.defineProperty(e,"isText",{enumerable:!0,get:function(){return n.isText}}),Object.defineProperty(e,"isComment",{enumerable:!0,get:function(){return n.isComment}}),Object.defineProperty(e,"isDocument",{enumerable:!0,get:function(){return n.isDocument}}),Object.defineProperty(e,"hasChildren",{enumerable:!0,get:function(){return n.hasChildren}})})(Yr)),Yr}var z0;function Kg(){return z0||(z0=1,(function(e){var r=Jt&&Jt.__createBinding||(Object.create?(function(g,w,y,D){D===void 0&&(D=y);var v=Object.getOwnPropertyDescriptor(w,y);(!v||("get"in v?!w.__esModule:v.writable||v.configurable))&&(v={enumerable:!0,get:function(){return w[y]}}),Object.defineProperty(g,D,v)}):(function(g,w,y,D){D===void 0&&(D=y),g[D]=w[y]})),t=Jt&&Jt.__setModuleDefault||(Object.create?(function(g,w){Object.defineProperty(g,"default",{enumerable:!0,value:w})}):function(g,w){g.default=w}),n=Jt&&Jt.__importStar||function(g){if(g&&g.__esModule)return g;var w={};if(g!=null)for(var y in g)y!=="default"&&Object.prototype.hasOwnProperty.call(g,y)&&r(w,g,y);return t(w,g),w},u=Jt&&Jt.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(e,"__esModule",{value:!0}),e.DomUtils=e.parseFeed=e.getFeed=e.ElementType=e.Tokenizer=e.createDomStream=e.parseDOM=e.parseDocument=e.DefaultHandler=e.DomHandler=e.Parser=void 0;var i=v0(),a=v0();Object.defineProperty(e,"Parser",{enumerable:!0,get:function(){return a.Parser}});var s=Sr(),l=Sr();Object.defineProperty(e,"DomHandler",{enumerable:!0,get:function(){return l.DomHandler}}),Object.defineProperty(e,"DefaultHandler",{enumerable:!0,get:function(){return l.DomHandler}});function c(g,w){var y=new s.DomHandler(void 0,w);return new i.Parser(y,w).end(g),y.root}e.parseDocument=c;function f(g,w){return c(g,w).children}e.parseDOM=f;function p(g,w,y){var D=new s.DomHandler(g,w,y);return new i.Parser(D,w)}e.createDomStream=p;var o=b0();Object.defineProperty(e,"Tokenizer",{enumerable:!0,get:function(){return u(o).default}}),e.ElementType=n(Yn());var d=ca(),m=ca();Object.defineProperty(e,"getFeed",{enumerable:!0,get:function(){return m.getFeed}});var h={xmlMode:!0};function b(g,w){return w===void 0&&(w=h),(0,d.getFeed)(f(g,w))}e.parseFeed=b,e.DomUtils=n(ca())})(Jt)),Jt}var fa,H0;function Zg(){return H0||(H0=1,fa=e=>{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),fa}var Iu={},U0;function Jg(){if(U0)return Iu;U0=1,Object.defineProperty(Iu,"__esModule",{value:!0});/*!
|
|
30
|
+
<%s key={someKey} {...props} />`,mu,Ce,Pn,Ce),$i[Ce+mu]=!0}}return O===n?Tc(dt):_c(dt),dt}}function Sc(O,G,ue){return zi(O,G,ue,!0)}function Fc(O,G,ue){return zi(O,G,ue,!1)}var Oc=Fc,Nc=Sc;In.Fragment=n,In.jsx=Oc,In.jsxs=Nc}()),In}var Bc;function sp(){return Bc||(Bc=1,process.env.NODE_ENV==="production"?yu.exports=ip():yu.exports=ap()),yu.exports}var J=sp();const Ic=6048e5,op=864e5,Rc=6e4,kc=36e5,cp=1e3,qc=Symbol.for("constructDateFrom");function Je(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&qc in e?e[qc](t):e instanceof Date?new e.constructor(t):new Date(t)}function pe(e,t){return Je(t||e,e)}function Vr(e,t,r){const n=pe(e,r==null?void 0:r.in);return isNaN(t)?Je((r==null?void 0:r.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}function vu(e,t,r){const n=pe(e,r==null?void 0:r.in);if(isNaN(t))return Je(e,NaN);if(!t)return n;const u=n.getDate(),i=Je(e,n.getTime());i.setMonth(n.getMonth()+t+1,0);const a=i.getDate();return u>=a?i:(n.setFullYear(i.getFullYear(),i.getMonth(),u),n)}function fp(e,t,r){const{years:n=0,months:u=0,weeks:i=0,days:a=0,hours:s=0,minutes:l=0,seconds:c=0}=t,f=pe(e,r==null?void 0:r.in),p=u||n?vu(f,u+n*12):f,o=a||i?Vr(p,a+i*7):p,d=l+s*60,h=(c+d*60)*1e3;return Je(e,+o+h)}function Lc(e,t,r){return Je(e,+pe(e)+t)}function lp(e,t,r){return Lc(e,t*kc)}let dp={};function Wr(){return dp}function wr(e,t){var s,l,c,f;const r=Wr(),n=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??r.weekStartsOn??((f=(c=r.locale)==null?void 0:c.options)==null?void 0:f.weekStartsOn)??0,u=pe(e,t==null?void 0:t.in),i=u.getDay(),a=(i<n?7:0)+i-n;return u.setDate(u.getDate()-a),u.setHours(0,0,0,0),u}function cn(e,t){return wr(e,{...t,weekStartsOn:1})}function jc(e,t){const r=pe(e,t==null?void 0:t.in),n=r.getFullYear(),u=Je(r,0);u.setFullYear(n+1,0,4),u.setHours(0,0,0,0);const i=cn(u),a=Je(r,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);const s=cn(a);return r.getTime()>=i.getTime()?n+1:r.getTime()>=s.getTime()?n:n-1}function wu(e){const t=pe(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function Rn(e,...t){const r=Je.bind(null,t.find(n=>typeof n=="object"));return t.map(r)}function Yr(e,t){const r=pe(e,t==null?void 0:t.in);return r.setHours(0,0,0,0),r}function hp(e,t,r){const[n,u]=Rn(r==null?void 0:r.in,e,t),i=Yr(n),a=Yr(u),s=+i-wu(i),l=+a-wu(a);return Math.round((s-l)/op)}function pp(e,t){const r=jc(e,t),n=Je(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),cn(n)}function mp(e,t,r){const n=pe(e,r==null?void 0:r.in);return n.setTime(n.getTime()+t*Rc),n}function gp(e,t,r){return Lc(e,t*1e3)}function bp(e,t,r){return Vr(e,t*7,r)}function yp(e,t,r){return vu(e,t*12,r)}function vp(e,t,r){const[n,u]=Rn(r==null?void 0:r.in,e,t);return+Yr(n)==+Yr(u)}function wp(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function $c(e){return!(!wp(e)&&typeof e!="number"||isNaN(+pe(e)))}function zc(e,t){const r=pe(e,t==null?void 0:t.in);return r.setHours(23,59,59,999),r}function Dp(e,t){const r=pe(e,t==null?void 0:t.in),n=r.getMonth();return r.setFullYear(r.getFullYear(),n+1,0),r.setHours(23,59,59,999),r}function Ep(e,t){const r=pe(e,t==null?void 0:t.in);return r.setDate(1),r.setHours(0,0,0,0),r}function Hc(e,t){const r=pe(e,t==null?void 0:t.in),n=r.getFullYear();return r.setFullYear(n+1,0,0),r.setHours(23,59,59,999),r}function Uc(e,t){const r=pe(e,t==null?void 0:t.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}function xp(e,t){var s,l,c,f;const r=Wr(),n=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??r.weekStartsOn??((f=(c=r.locale)==null?void 0:c.options)==null?void 0:f.weekStartsOn)??0,u=pe(e,t==null?void 0:t.in),i=u.getDay(),a=(i<n?-7:0)+6-(i-n);return u.setDate(u.getDate()+a),u.setHours(23,59,59,999),u}const Ap={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Cp=(e,t,r)=>{let n;const u=Ap[e];return typeof u=="string"?n=u:t===1?n=u.one:n=u.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function Hi(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const _p={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Tp={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Sp={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Fp={date:Hi({formats:_p,defaultWidth:"full"}),time:Hi({formats:Tp,defaultWidth:"full"}),dateTime:Hi({formats:Sp,defaultWidth:"full"})},Op={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Np=(e,t,r,n)=>Op[e];function kn(e){return(t,r)=>{const n=r!=null&&r.context?String(r.context):"standalone";let u;if(n==="formatting"&&e.formattingValues){const a=e.defaultFormattingWidth||e.defaultWidth,s=r!=null&&r.width?String(r.width):a;u=e.formattingValues[s]||e.formattingValues[a]}else{const a=e.defaultWidth,s=r!=null&&r.width?String(r.width):e.defaultWidth;u=e.values[s]||e.values[a]}const i=e.argumentCallback?e.argumentCallback(t):t;return u[i]}}const Mp={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Pp={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Bp={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ip={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Rp={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},kp={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},qp={ordinalNumber:(e,t)=>{const r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:kn({values:Mp,defaultWidth:"wide"}),quarter:kn({values:Pp,defaultWidth:"wide",argumentCallback:e=>e-1}),month:kn({values:Bp,defaultWidth:"wide"}),day:kn({values:Ip,defaultWidth:"wide"}),dayPeriod:kn({values:Rp,defaultWidth:"wide",formattingValues:kp,defaultFormattingWidth:"wide"})};function qn(e){return(t,r={})=>{const n=r.width,u=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(u);if(!i)return null;const a=i[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?jp(s,p=>p.test(a)):Lp(s,p=>p.test(a));let c;c=e.valueCallback?e.valueCallback(l):l,c=r.valueCallback?r.valueCallback(c):c;const f=t.slice(a.length);return{value:c,rest:f}}}function Lp(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function jp(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function $p(e){return(t,r={})=>{const n=t.match(e.matchPattern);if(!n)return null;const u=n[0],i=t.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];a=r.valueCallback?r.valueCallback(a):a;const s=t.slice(u.length);return{value:a,rest:s}}}const zp=/^(\d+)(th|st|nd|rd)?/i,Hp=/\d+/i,Up={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Vp={any:[/^b/i,/^(a|c)/i]},Wp={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Yp={any:[/1/i,/2/i,/3/i,/4/i]},Gp={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Xp={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Qp={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Kp={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Zp={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Jp={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},em={ordinalNumber:$p({matchPattern:zp,parsePattern:Hp,valueCallback:e=>parseInt(e,10)}),era:qn({matchPatterns:Up,defaultMatchWidth:"wide",parsePatterns:Vp,defaultParseWidth:"any"}),quarter:qn({matchPatterns:Wp,defaultMatchWidth:"wide",parsePatterns:Yp,defaultParseWidth:"any",valueCallback:e=>e+1}),month:qn({matchPatterns:Gp,defaultMatchWidth:"wide",parsePatterns:Xp,defaultParseWidth:"any"}),day:qn({matchPatterns:Qp,defaultMatchWidth:"wide",parsePatterns:Kp,defaultParseWidth:"any"}),dayPeriod:qn({matchPatterns:Zp,defaultMatchWidth:"any",parsePatterns:Jp,defaultParseWidth:"any"})},Ui={code:"en-US",formatDistance:Cp,formatLong:Fp,formatRelative:Np,localize:qp,match:em,options:{weekStartsOn:0,firstWeekContainsDate:1}};function tm(e,t){const r=pe(e,t==null?void 0:t.in);return hp(r,Uc(r))+1}function Vc(e,t){const r=pe(e,t==null?void 0:t.in),n=+cn(r)-+pp(r);return Math.round(n/Ic)+1}function Vi(e,t){var f,p,o,d;const r=pe(e,t==null?void 0:t.in),n=r.getFullYear(),u=Wr(),i=(t==null?void 0:t.firstWeekContainsDate)??((p=(f=t==null?void 0:t.locale)==null?void 0:f.options)==null?void 0:p.firstWeekContainsDate)??u.firstWeekContainsDate??((d=(o=u.locale)==null?void 0:o.options)==null?void 0:d.firstWeekContainsDate)??1,a=Je((t==null?void 0:t.in)||e,0);a.setFullYear(n+1,0,i),a.setHours(0,0,0,0);const s=wr(a,t),l=Je((t==null?void 0:t.in)||e,0);l.setFullYear(n,0,i),l.setHours(0,0,0,0);const c=wr(l,t);return+r>=+s?n+1:+r>=+c?n:n-1}function rm(e,t){var s,l,c,f;const r=Wr(),n=(t==null?void 0:t.firstWeekContainsDate)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??r.firstWeekContainsDate??((f=(c=r.locale)==null?void 0:c.options)==null?void 0:f.firstWeekContainsDate)??1,u=Vi(e,t),i=Je((t==null?void 0:t.in)||e,0);return i.setFullYear(u,0,n),i.setHours(0,0,0,0),wr(i,t)}function Wi(e,t){const r=pe(e,t==null?void 0:t.in),n=+wr(r,t)-+rm(r,t);return Math.round(n/Ic)+1}function He(e,t){const r=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return r+n}const Mr={y(e,t){const r=e.getFullYear(),n=r>0?r:1-r;return He(t==="yy"?n%100:n,t.length)},M(e,t){const r=e.getMonth();return t==="M"?String(r+1):He(r+1,2)},d(e,t){return He(e.getDate(),t.length)},a(e,t){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return He(e.getHours()%12||12,t.length)},H(e,t){return He(e.getHours(),t.length)},m(e,t){return He(e.getMinutes(),t.length)},s(e,t){return He(e.getSeconds(),t.length)},S(e,t){const r=t.length,n=e.getMilliseconds(),u=Math.trunc(n*Math.pow(10,r-3));return He(u,t.length)}},fn={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Wc={G:function(e,t,r){const n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){const n=e.getFullYear(),u=n>0?n:1-n;return r.ordinalNumber(u,{unit:"year"})}return Mr.y(e,t)},Y:function(e,t,r,n){const u=Vi(e,n),i=u>0?u:1-u;if(t==="YY"){const a=i%100;return He(a,2)}return t==="Yo"?r.ordinalNumber(i,{unit:"year"}):He(i,t.length)},R:function(e,t){const r=jc(e);return He(r,t.length)},u:function(e,t){const r=e.getFullYear();return He(r,t.length)},Q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return He(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return He(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){const n=e.getMonth();switch(t){case"M":case"MM":return Mr.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){const n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return He(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){const u=Wi(e,n);return t==="wo"?r.ordinalNumber(u,{unit:"week"}):He(u,t.length)},I:function(e,t,r){const n=Vc(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):He(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):Mr.d(e,t)},D:function(e,t,r){const n=tm(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):He(n,t.length)},E:function(e,t,r){const n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){const u=e.getDay(),i=(u-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return He(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(u,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(u,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(u,{width:"short",context:"formatting"});case"eeee":default:return r.day(u,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){const u=e.getDay(),i=(u-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return He(i,t.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(u,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(u,{width:"narrow",context:"standalone"});case"cccccc":return r.day(u,{width:"short",context:"standalone"});case"cccc":default:return r.day(u,{width:"wide",context:"standalone"})}},i:function(e,t,r){const n=e.getDay(),u=n===0?7:n;switch(t){case"i":return String(u);case"ii":return He(u,t.length);case"io":return r.ordinalNumber(u,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){const u=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(u,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(u,{width:"wide",context:"formatting"})}},b:function(e,t,r){const n=e.getHours();let u;switch(n===12?u=fn.noon:n===0?u=fn.midnight:u=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(u,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(u,{width:"wide",context:"formatting"})}},B:function(e,t,r){const n=e.getHours();let u;switch(n>=17?u=fn.evening:n>=12?u=fn.afternoon:n>=4?u=fn.morning:u=fn.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(u,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(u,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return Mr.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):Mr.H(e,t)},K:function(e,t,r){const n=e.getHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):He(n,t.length)},k:function(e,t,r){let n=e.getHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):He(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):Mr.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):Mr.s(e,t)},S:function(e,t){return Mr.S(e,t)},X:function(e,t,r){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return Gc(n);case"XXXX":case"XX":return Gr(n);case"XXXXX":case"XXX":default:return Gr(n,":")}},x:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"x":return Gc(n);case"xxxx":case"xx":return Gr(n);case"xxxxx":case"xxx":default:return Gr(n,":")}},O:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Yc(n,":");case"OOOO":default:return"GMT"+Gr(n,":")}},z:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Yc(n,":");case"zzzz":default:return"GMT"+Gr(n,":")}},t:function(e,t,r){const n=Math.trunc(+e/1e3);return He(n,t.length)},T:function(e,t,r){return He(+e,t.length)}};function Yc(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),u=Math.trunc(n/60),i=n%60;return i===0?r+String(u):r+String(u)+t+He(i,2)}function Gc(e,t){return e%60===0?(e>0?"-":"+")+He(Math.abs(e)/60,2):Gr(e,t)}function Gr(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),u=He(Math.trunc(n/60),2),i=He(n%60,2);return r+u+t+i}const Xc=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Qc=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Ln={p:Qc,P:(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],n=r[1],u=r[2];if(!u)return Xc(e,t);let i;switch(n){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",Xc(n,t)).replace("{{time}}",Qc(u,t))}},nm=/^D+$/,um=/^Y+$/,im=["D","DD","YY","YYYY"];function Kc(e){return nm.test(e)}function Zc(e){return um.test(e)}function Yi(e,t,r){const n=am(e,t,r);if(console.warn(n),im.includes(e))throw new RangeError(n)}function am(e,t,r){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const sm=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,om=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,cm=/^'([^]*?)'?$/,fm=/''/g,lm=/[a-zA-Z]/;function Gi(e,t,r){var f,p,o,d,m,h,b,g;const n=Wr(),u=(r==null?void 0:r.locale)??n.locale??Ui,i=(r==null?void 0:r.firstWeekContainsDate)??((p=(f=r==null?void 0:r.locale)==null?void 0:f.options)==null?void 0:p.firstWeekContainsDate)??n.firstWeekContainsDate??((d=(o=n.locale)==null?void 0:o.options)==null?void 0:d.firstWeekContainsDate)??1,a=(r==null?void 0:r.weekStartsOn)??((h=(m=r==null?void 0:r.locale)==null?void 0:m.options)==null?void 0:h.weekStartsOn)??n.weekStartsOn??((g=(b=n.locale)==null?void 0:b.options)==null?void 0:g.weekStartsOn)??0,s=pe(e,r==null?void 0:r.in);if(!$c(s))throw new RangeError("Invalid time value");let l=t.match(om).map(w=>{const v=w[0];if(v==="p"||v==="P"){const D=Ln[v];return D(w,u.formatLong)}return w}).join("").match(sm).map(w=>{if(w==="''")return{isToken:!1,value:"'"};const v=w[0];if(v==="'")return{isToken:!1,value:dm(w)};if(Wc[v])return{isToken:!0,value:w};if(v.match(lm))throw new RangeError("Format string contains an unescaped latin alphabet character `"+v+"`");return{isToken:!1,value:w}});u.localize.preprocessor&&(l=u.localize.preprocessor(s,l));const c={firstWeekContainsDate:i,weekStartsOn:a,locale:u};return l.map(w=>{if(!w.isToken)return w.value;const v=w.value;(!(r!=null&&r.useAdditionalWeekYearTokens)&&Zc(v)||!(r!=null&&r.useAdditionalDayOfYearTokens)&&Kc(v))&&Yi(v,t,String(e));const D=Wc[v[0]];return D(s,v,u.localize,c)}).join("")}function dm(e){const t=e.match(cm);return t?t[1].replace(fm,"'"):e}function hm(e,t){return pe(e,t==null?void 0:t.in).getDate()}function Jc(e,t){const r=pe(e,t==null?void 0:t.in),n=r.getFullYear(),u=r.getMonth(),i=Je(r,0);return i.setFullYear(n,u+1,0),i.setHours(0,0,0,0),i.getDate()}function pm(){return Object.assign({},Wr())}function mm(e,t){return pe(e,t==null?void 0:t.in).getHours()}function gm(e,t){const r=pe(e,t==null?void 0:t.in).getDay();return r===0?7:r}function bm(e){return pe(e).getMilliseconds()}function ym(e,t){return pe(e,t==null?void 0:t.in).getMinutes()}function vm(e,t){return pe(e,t==null?void 0:t.in).getMonth()}function wm(e){return pe(e).getSeconds()}function Dm(e,t){return pe(e,t==null?void 0:t.in).getFullYear()}function Du(e,t){return+pe(e)>+pe(t)}function Eu(e,t){return+pe(e)<+pe(t)}function Em(e,t){return+pe(e)==+pe(t)}function xm(e,t){const r=Am(t)?new t(0):Je(t,0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}function Am(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}const Cm=10;class e0{constructor(){ae(this,"subPriority",0)}validate(t,r){return!0}}class _m extends e0{constructor(t,r,n,u,i){super(),this.value=t,this.validateValue=r,this.setValue=n,this.priority=u,i&&(this.subPriority=i)}validate(t,r){return this.validateValue(t,this.value,r)}set(t,r,n){return this.setValue(t,r,this.value,n)}}class Tm extends e0{constructor(r,n){super();ae(this,"priority",Cm);ae(this,"subPriority",-1);this.context=r||(u=>Je(n,u))}set(r,n){return n.timestampIsSet?r:Je(r,xm(r,this.context))}}let Pe=class{run(t,r,n,u){const i=this.parse(t,r,n,u);return i?{setter:new _m(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(t,r,n){return!0}};class Sm extends Pe{constructor(){super(...arguments);ae(this,"priority",140);ae(this,"incompatibleTokens",["R","u","t","T"])}parse(r,n,u){switch(n){case"G":case"GG":case"GGG":return u.era(r,{width:"abbreviated"})||u.era(r,{width:"narrow"});case"GGGGG":return u.era(r,{width:"narrow"});case"GGGG":default:return u.era(r,{width:"wide"})||u.era(r,{width:"abbreviated"})||u.era(r,{width:"narrow"})}}set(r,n,u){return n.era=u,r.setFullYear(u,0,1),r.setHours(0,0,0,0),r}}const ht={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},cr={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function pt(e,t){return e&&{value:t(e.value),rest:e.rest}}function it(e,t){const r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function fr(e,t){const r=t.match(e);if(!r)return null;if(r[0]==="Z")return{value:0,rest:t.slice(1)};const n=r[1]==="+"?1:-1,u=r[2]?parseInt(r[2],10):0,i=r[3]?parseInt(r[3],10):0,a=r[5]?parseInt(r[5],10):0;return{value:n*(u*kc+i*Rc+a*cp),rest:t.slice(r[0].length)}}function t0(e){return it(ht.anyDigitsSigned,e)}function st(e,t){switch(e){case 1:return it(ht.singleDigit,t);case 2:return it(ht.twoDigits,t);case 3:return it(ht.threeDigits,t);case 4:return it(ht.fourDigits,t);default:return it(new RegExp("^\\d{1,"+e+"}"),t)}}function xu(e,t){switch(e){case 1:return it(ht.singleDigitSigned,t);case 2:return it(ht.twoDigitsSigned,t);case 3:return it(ht.threeDigitsSigned,t);case 4:return it(ht.fourDigitsSigned,t);default:return it(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Xi(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function r0(e,t){const r=t>0,n=r?t:1-t;let u;if(n<=50)u=e||100;else{const i=n+50,a=Math.trunc(i/100)*100,s=e>=i%100;u=e+a-(s?100:0)}return r?u:1-u}function n0(e){return e%400===0||e%4===0&&e%100!==0}class Fm extends Pe{constructor(){super(...arguments);ae(this,"priority",130);ae(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(r,n,u){const i=a=>({year:a,isTwoDigitYear:n==="yy"});switch(n){case"y":return pt(st(4,r),i);case"yo":return pt(u.ordinalNumber(r,{unit:"year"}),i);default:return pt(st(n.length,r),i)}}validate(r,n){return n.isTwoDigitYear||n.year>0}set(r,n,u){const i=r.getFullYear();if(u.isTwoDigitYear){const s=r0(u.year,i);return r.setFullYear(s,0,1),r.setHours(0,0,0,0),r}const a=!("era"in n)||n.era===1?u.year:1-u.year;return r.setFullYear(a,0,1),r.setHours(0,0,0,0),r}}class Om extends Pe{constructor(){super(...arguments);ae(this,"priority",130);ae(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(r,n,u){const i=a=>({year:a,isTwoDigitYear:n==="YY"});switch(n){case"Y":return pt(st(4,r),i);case"Yo":return pt(u.ordinalNumber(r,{unit:"year"}),i);default:return pt(st(n.length,r),i)}}validate(r,n){return n.isTwoDigitYear||n.year>0}set(r,n,u,i){const a=Vi(r,i);if(u.isTwoDigitYear){const l=r0(u.year,a);return r.setFullYear(l,0,i.firstWeekContainsDate),r.setHours(0,0,0,0),wr(r,i)}const s=!("era"in n)||n.era===1?u.year:1-u.year;return r.setFullYear(s,0,i.firstWeekContainsDate),r.setHours(0,0,0,0),wr(r,i)}}class Nm extends Pe{constructor(){super(...arguments);ae(this,"priority",130);ae(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(r,n){return xu(n==="R"?4:n.length,r)}set(r,n,u){const i=Je(r,0);return i.setFullYear(u,0,4),i.setHours(0,0,0,0),cn(i)}}class Mm extends Pe{constructor(){super(...arguments);ae(this,"priority",130);ae(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(r,n){return xu(n==="u"?4:n.length,r)}set(r,n,u){return r.setFullYear(u,0,1),r.setHours(0,0,0,0),r}}class Pm extends Pe{constructor(){super(...arguments);ae(this,"priority",120);ae(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(r,n,u){switch(n){case"Q":case"QQ":return st(n.length,r);case"Qo":return u.ordinalNumber(r,{unit:"quarter"});case"QQQ":return u.quarter(r,{width:"abbreviated",context:"formatting"})||u.quarter(r,{width:"narrow",context:"formatting"});case"QQQQQ":return u.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return u.quarter(r,{width:"wide",context:"formatting"})||u.quarter(r,{width:"abbreviated",context:"formatting"})||u.quarter(r,{width:"narrow",context:"formatting"})}}validate(r,n){return n>=1&&n<=4}set(r,n,u){return r.setMonth((u-1)*3,1),r.setHours(0,0,0,0),r}}class Bm extends Pe{constructor(){super(...arguments);ae(this,"priority",120);ae(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(r,n,u){switch(n){case"q":case"qq":return st(n.length,r);case"qo":return u.ordinalNumber(r,{unit:"quarter"});case"qqq":return u.quarter(r,{width:"abbreviated",context:"standalone"})||u.quarter(r,{width:"narrow",context:"standalone"});case"qqqqq":return u.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return u.quarter(r,{width:"wide",context:"standalone"})||u.quarter(r,{width:"abbreviated",context:"standalone"})||u.quarter(r,{width:"narrow",context:"standalone"})}}validate(r,n){return n>=1&&n<=4}set(r,n,u){return r.setMonth((u-1)*3,1),r.setHours(0,0,0,0),r}}class Im extends Pe{constructor(){super(...arguments);ae(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ae(this,"priority",110)}parse(r,n,u){const i=a=>a-1;switch(n){case"M":return pt(it(ht.month,r),i);case"MM":return pt(st(2,r),i);case"Mo":return pt(u.ordinalNumber(r,{unit:"month"}),i);case"MMM":return u.month(r,{width:"abbreviated",context:"formatting"})||u.month(r,{width:"narrow",context:"formatting"});case"MMMMM":return u.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return u.month(r,{width:"wide",context:"formatting"})||u.month(r,{width:"abbreviated",context:"formatting"})||u.month(r,{width:"narrow",context:"formatting"})}}validate(r,n){return n>=0&&n<=11}set(r,n,u){return r.setMonth(u,1),r.setHours(0,0,0,0),r}}class Rm extends Pe{constructor(){super(...arguments);ae(this,"priority",110);ae(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(r,n,u){const i=a=>a-1;switch(n){case"L":return pt(it(ht.month,r),i);case"LL":return pt(st(2,r),i);case"Lo":return pt(u.ordinalNumber(r,{unit:"month"}),i);case"LLL":return u.month(r,{width:"abbreviated",context:"standalone"})||u.month(r,{width:"narrow",context:"standalone"});case"LLLLL":return u.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return u.month(r,{width:"wide",context:"standalone"})||u.month(r,{width:"abbreviated",context:"standalone"})||u.month(r,{width:"narrow",context:"standalone"})}}validate(r,n){return n>=0&&n<=11}set(r,n,u){return r.setMonth(u,1),r.setHours(0,0,0,0),r}}function km(e,t,r){const n=pe(e,r==null?void 0:r.in),u=Wi(n,r)-t;return n.setDate(n.getDate()-u*7),pe(n,r==null?void 0:r.in)}class qm extends Pe{constructor(){super(...arguments);ae(this,"priority",100);ae(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(r,n,u){switch(n){case"w":return it(ht.week,r);case"wo":return u.ordinalNumber(r,{unit:"week"});default:return st(n.length,r)}}validate(r,n){return n>=1&&n<=53}set(r,n,u,i){return wr(km(r,u,i),i)}}function Lm(e,t,r){const n=pe(e,r==null?void 0:r.in),u=Vc(n,r)-t;return n.setDate(n.getDate()-u*7),n}class jm extends Pe{constructor(){super(...arguments);ae(this,"priority",100);ae(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(r,n,u){switch(n){case"I":return it(ht.week,r);case"Io":return u.ordinalNumber(r,{unit:"week"});default:return st(n.length,r)}}validate(r,n){return n>=1&&n<=53}set(r,n,u){return cn(Lm(r,u))}}const $m=[31,28,31,30,31,30,31,31,30,31,30,31],zm=[31,29,31,30,31,30,31,31,30,31,30,31];class Hm extends Pe{constructor(){super(...arguments);ae(this,"priority",90);ae(this,"subPriority",1);ae(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(r,n,u){switch(n){case"d":return it(ht.date,r);case"do":return u.ordinalNumber(r,{unit:"date"});default:return st(n.length,r)}}validate(r,n){const u=r.getFullYear(),i=n0(u),a=r.getMonth();return i?n>=1&&n<=zm[a]:n>=1&&n<=$m[a]}set(r,n,u){return r.setDate(u),r.setHours(0,0,0,0),r}}class Um extends Pe{constructor(){super(...arguments);ae(this,"priority",90);ae(this,"subpriority",1);ae(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(r,n,u){switch(n){case"D":case"DD":return it(ht.dayOfYear,r);case"Do":return u.ordinalNumber(r,{unit:"date"});default:return st(n.length,r)}}validate(r,n){const u=r.getFullYear();return n0(u)?n>=1&&n<=366:n>=1&&n<=365}set(r,n,u){return r.setMonth(0,u),r.setHours(0,0,0,0),r}}function Qi(e,t,r){var p,o,d,m;const n=Wr(),u=(r==null?void 0:r.weekStartsOn)??((o=(p=r==null?void 0:r.locale)==null?void 0:p.options)==null?void 0:o.weekStartsOn)??n.weekStartsOn??((m=(d=n.locale)==null?void 0:d.options)==null?void 0:m.weekStartsOn)??0,i=pe(e,r==null?void 0:r.in),a=i.getDay(),l=(t%7+7)%7,c=7-u,f=t<0||t>6?t-(a+c)%7:(l+c)%7-(a+c)%7;return Vr(i,f,r)}class Vm extends Pe{constructor(){super(...arguments);ae(this,"priority",90);ae(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(r,n,u){switch(n){case"E":case"EE":case"EEE":return u.day(r,{width:"abbreviated",context:"formatting"})||u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"});case"EEEEE":return u.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"});case"EEEE":default:return u.day(r,{width:"wide",context:"formatting"})||u.day(r,{width:"abbreviated",context:"formatting"})||u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"})}}validate(r,n){return n>=0&&n<=6}set(r,n,u,i){return r=Qi(r,u,i),r.setHours(0,0,0,0),r}}class Wm extends Pe{constructor(){super(...arguments);ae(this,"priority",90);ae(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(r,n,u,i){const a=s=>{const l=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+l};switch(n){case"e":case"ee":return pt(st(n.length,r),a);case"eo":return pt(u.ordinalNumber(r,{unit:"day"}),a);case"eee":return u.day(r,{width:"abbreviated",context:"formatting"})||u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"});case"eeeee":return u.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"});case"eeee":default:return u.day(r,{width:"wide",context:"formatting"})||u.day(r,{width:"abbreviated",context:"formatting"})||u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"})}}validate(r,n){return n>=0&&n<=6}set(r,n,u,i){return r=Qi(r,u,i),r.setHours(0,0,0,0),r}}class Ym extends Pe{constructor(){super(...arguments);ae(this,"priority",90);ae(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(r,n,u,i){const a=s=>{const l=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+l};switch(n){case"c":case"cc":return pt(st(n.length,r),a);case"co":return pt(u.ordinalNumber(r,{unit:"day"}),a);case"ccc":return u.day(r,{width:"abbreviated",context:"standalone"})||u.day(r,{width:"short",context:"standalone"})||u.day(r,{width:"narrow",context:"standalone"});case"ccccc":return u.day(r,{width:"narrow",context:"standalone"});case"cccccc":return u.day(r,{width:"short",context:"standalone"})||u.day(r,{width:"narrow",context:"standalone"});case"cccc":default:return u.day(r,{width:"wide",context:"standalone"})||u.day(r,{width:"abbreviated",context:"standalone"})||u.day(r,{width:"short",context:"standalone"})||u.day(r,{width:"narrow",context:"standalone"})}}validate(r,n){return n>=0&&n<=6}set(r,n,u,i){return r=Qi(r,u,i),r.setHours(0,0,0,0),r}}function Gm(e,t,r){const n=pe(e,r==null?void 0:r.in),u=gm(n,r),i=t-u;return Vr(n,i,r)}class Xm extends Pe{constructor(){super(...arguments);ae(this,"priority",90);ae(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(r,n,u){const i=a=>a===0?7:a;switch(n){case"i":case"ii":return st(n.length,r);case"io":return u.ordinalNumber(r,{unit:"day"});case"iii":return pt(u.day(r,{width:"abbreviated",context:"formatting"})||u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"}),i);case"iiiii":return pt(u.day(r,{width:"narrow",context:"formatting"}),i);case"iiiiii":return pt(u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"}),i);case"iiii":default:return pt(u.day(r,{width:"wide",context:"formatting"})||u.day(r,{width:"abbreviated",context:"formatting"})||u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"}),i)}}validate(r,n){return n>=1&&n<=7}set(r,n,u){return r=Gm(r,u),r.setHours(0,0,0,0),r}}class Qm extends Pe{constructor(){super(...arguments);ae(this,"priority",80);ae(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(r,n,u){switch(n){case"a":case"aa":case"aaa":return u.dayPeriod(r,{width:"abbreviated",context:"formatting"})||u.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaaa":return u.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return u.dayPeriod(r,{width:"wide",context:"formatting"})||u.dayPeriod(r,{width:"abbreviated",context:"formatting"})||u.dayPeriod(r,{width:"narrow",context:"formatting"})}}set(r,n,u){return r.setHours(Xi(u),0,0,0),r}}class Km extends Pe{constructor(){super(...arguments);ae(this,"priority",80);ae(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(r,n,u){switch(n){case"b":case"bb":case"bbb":return u.dayPeriod(r,{width:"abbreviated",context:"formatting"})||u.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbbb":return u.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return u.dayPeriod(r,{width:"wide",context:"formatting"})||u.dayPeriod(r,{width:"abbreviated",context:"formatting"})||u.dayPeriod(r,{width:"narrow",context:"formatting"})}}set(r,n,u){return r.setHours(Xi(u),0,0,0),r}}class Zm extends Pe{constructor(){super(...arguments);ae(this,"priority",80);ae(this,"incompatibleTokens",["a","b","t","T"])}parse(r,n,u){switch(n){case"B":case"BB":case"BBB":return u.dayPeriod(r,{width:"abbreviated",context:"formatting"})||u.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBBB":return u.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return u.dayPeriod(r,{width:"wide",context:"formatting"})||u.dayPeriod(r,{width:"abbreviated",context:"formatting"})||u.dayPeriod(r,{width:"narrow",context:"formatting"})}}set(r,n,u){return r.setHours(Xi(u),0,0,0),r}}class Jm extends Pe{constructor(){super(...arguments);ae(this,"priority",70);ae(this,"incompatibleTokens",["H","K","k","t","T"])}parse(r,n,u){switch(n){case"h":return it(ht.hour12h,r);case"ho":return u.ordinalNumber(r,{unit:"hour"});default:return st(n.length,r)}}validate(r,n){return n>=1&&n<=12}set(r,n,u){const i=r.getHours()>=12;return i&&u<12?r.setHours(u+12,0,0,0):!i&&u===12?r.setHours(0,0,0,0):r.setHours(u,0,0,0),r}}class eg extends Pe{constructor(){super(...arguments);ae(this,"priority",70);ae(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(r,n,u){switch(n){case"H":return it(ht.hour23h,r);case"Ho":return u.ordinalNumber(r,{unit:"hour"});default:return st(n.length,r)}}validate(r,n){return n>=0&&n<=23}set(r,n,u){return r.setHours(u,0,0,0),r}}class tg extends Pe{constructor(){super(...arguments);ae(this,"priority",70);ae(this,"incompatibleTokens",["h","H","k","t","T"])}parse(r,n,u){switch(n){case"K":return it(ht.hour11h,r);case"Ko":return u.ordinalNumber(r,{unit:"hour"});default:return st(n.length,r)}}validate(r,n){return n>=0&&n<=11}set(r,n,u){return r.getHours()>=12&&u<12?r.setHours(u+12,0,0,0):r.setHours(u,0,0,0),r}}class rg extends Pe{constructor(){super(...arguments);ae(this,"priority",70);ae(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(r,n,u){switch(n){case"k":return it(ht.hour24h,r);case"ko":return u.ordinalNumber(r,{unit:"hour"});default:return st(n.length,r)}}validate(r,n){return n>=1&&n<=24}set(r,n,u){const i=u<=24?u%24:u;return r.setHours(i,0,0,0),r}}class ng extends Pe{constructor(){super(...arguments);ae(this,"priority",60);ae(this,"incompatibleTokens",["t","T"])}parse(r,n,u){switch(n){case"m":return it(ht.minute,r);case"mo":return u.ordinalNumber(r,{unit:"minute"});default:return st(n.length,r)}}validate(r,n){return n>=0&&n<=59}set(r,n,u){return r.setMinutes(u,0,0),r}}class ug extends Pe{constructor(){super(...arguments);ae(this,"priority",50);ae(this,"incompatibleTokens",["t","T"])}parse(r,n,u){switch(n){case"s":return it(ht.second,r);case"so":return u.ordinalNumber(r,{unit:"second"});default:return st(n.length,r)}}validate(r,n){return n>=0&&n<=59}set(r,n,u){return r.setSeconds(u,0),r}}class ig extends Pe{constructor(){super(...arguments);ae(this,"priority",30);ae(this,"incompatibleTokens",["t","T"])}parse(r,n){const u=i=>Math.trunc(i*Math.pow(10,-n.length+3));return pt(st(n.length,r),u)}set(r,n,u){return r.setMilliseconds(u),r}}class ag extends Pe{constructor(){super(...arguments);ae(this,"priority",10);ae(this,"incompatibleTokens",["t","T","x"])}parse(r,n){switch(n){case"X":return fr(cr.basicOptionalMinutes,r);case"XX":return fr(cr.basic,r);case"XXXX":return fr(cr.basicOptionalSeconds,r);case"XXXXX":return fr(cr.extendedOptionalSeconds,r);case"XXX":default:return fr(cr.extended,r)}}set(r,n,u){return n.timestampIsSet?r:Je(r,r.getTime()-wu(r)-u)}}class sg extends Pe{constructor(){super(...arguments);ae(this,"priority",10);ae(this,"incompatibleTokens",["t","T","X"])}parse(r,n){switch(n){case"x":return fr(cr.basicOptionalMinutes,r);case"xx":return fr(cr.basic,r);case"xxxx":return fr(cr.basicOptionalSeconds,r);case"xxxxx":return fr(cr.extendedOptionalSeconds,r);case"xxx":default:return fr(cr.extended,r)}}set(r,n,u){return n.timestampIsSet?r:Je(r,r.getTime()-wu(r)-u)}}class og extends Pe{constructor(){super(...arguments);ae(this,"priority",40);ae(this,"incompatibleTokens","*")}parse(r){return t0(r)}set(r,n,u){return[Je(r,u*1e3),{timestampIsSet:!0}]}}class cg extends Pe{constructor(){super(...arguments);ae(this,"priority",20);ae(this,"incompatibleTokens","*")}parse(r){return t0(r)}set(r,n,u){return[Je(r,u),{timestampIsSet:!0}]}}const fg={G:new Sm,y:new Fm,Y:new Om,R:new Nm,u:new Mm,Q:new Pm,q:new Bm,M:new Im,L:new Rm,w:new qm,I:new jm,d:new Hm,D:new Um,E:new Vm,e:new Wm,c:new Ym,i:new Xm,a:new Qm,b:new Km,B:new Zm,h:new Jm,H:new eg,K:new tg,k:new rg,m:new ng,s:new ug,S:new ig,X:new ag,x:new sg,t:new og,T:new cg},lg=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,dg=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,hg=/^'([^]*?)'?$/,pg=/''/g,mg=/\S/,gg=/[a-zA-Z]/;function bg(e,t,r,n){var b,g,w,v,D,y,E,A;const u=()=>Je((n==null?void 0:n.in)||r,NaN),i=pm(),a=(n==null?void 0:n.locale)??i.locale??Ui,s=(n==null?void 0:n.firstWeekContainsDate)??((g=(b=n==null?void 0:n.locale)==null?void 0:b.options)==null?void 0:g.firstWeekContainsDate)??i.firstWeekContainsDate??((v=(w=i.locale)==null?void 0:w.options)==null?void 0:v.firstWeekContainsDate)??1,l=(n==null?void 0:n.weekStartsOn)??((y=(D=n==null?void 0:n.locale)==null?void 0:D.options)==null?void 0:y.weekStartsOn)??i.weekStartsOn??((A=(E=i.locale)==null?void 0:E.options)==null?void 0:A.weekStartsOn)??0;if(!t)return e?u():pe(r,n==null?void 0:n.in);const c={firstWeekContainsDate:s,weekStartsOn:l,locale:a},f=[new Tm(n==null?void 0:n.in,r)],p=t.match(dg).map(C=>{const T=C[0];if(T in Ln){const x=Ln[T];return x(C,a.formatLong)}return C}).join("").match(lg),o=[];for(let C of p){!(n!=null&&n.useAdditionalWeekYearTokens)&&Zc(C)&&Yi(C,t,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&Kc(C)&&Yi(C,t,e);const T=C[0],x=fg[T];if(x){const{incompatibleTokens:_}=x;if(Array.isArray(_)){const M=o.find(B=>_.includes(B.token)||B.token===T);if(M)throw new RangeError(`The format string mustn't contain \`${M.fullToken}\` and \`${C}\` at the same time`)}else if(x.incompatibleTokens==="*"&&o.length>0)throw new RangeError(`The format string mustn't contain \`${C}\` and any other token at the same time`);o.push({token:T,fullToken:C});const F=x.run(e,C,a.match,c);if(!F)return u();f.push(F.setter),e=F.rest}else{if(T.match(gg))throw new RangeError("Format string contains an unescaped latin alphabet character `"+T+"`");if(C==="''"?C="'":T==="'"&&(C=yg(C)),e.indexOf(C)===0)e=e.slice(C.length);else return u()}}if(e.length>0&&mg.test(e))return u();const d=f.map(C=>C.priority).sort((C,T)=>T-C).filter((C,T,x)=>x.indexOf(C)===T).map(C=>f.filter(T=>T.priority===C).sort((T,x)=>x.subPriority-T.subPriority)).map(C=>C[0]);let m=pe(r,n==null?void 0:n.in);if(isNaN(+m))return u();const h={};for(const C of d){if(!C.validate(m,c))return u();const T=C.set(m,h,c);Array.isArray(T)?(m=T[0],Object.assign(h,T[1])):m=T}return m}function yg(e){return e.match(hg)[1].replace(pg,"'")}function u0(e,t){const r=pe(e,t==null?void 0:t.in);return r.setMinutes(0,0,0),r}function vg(e,t,r){const[n,u]=Rn(r==null?void 0:r.in,e,t);return+u0(n)==+u0(u)}function wg(e,t,r){const[n,u]=Rn(r==null?void 0:r.in,e,t);return n.getFullYear()===u.getFullYear()&&n.getMonth()===u.getMonth()}function Dg(e,t,r){const[n,u]=Rn(r==null?void 0:r.in,e,t);return n.getFullYear()===u.getFullYear()}function Eg(e,t,r){const n=+pe(e,r==null?void 0:r.in),[u,i]=[+pe(t.start,r==null?void 0:r.in),+pe(t.end,r==null?void 0:r.in)].sort((a,s)=>a-s);return n>=u&&n<=i}function xg(e,t,r){return Vr(e,-t,r)}function Ag(e,t,r){const n=pe(e,r==null?void 0:r.in),u=n.getFullYear(),i=n.getDate(),a=Je(e,0);a.setFullYear(u,t,15),a.setHours(0,0,0,0);const s=Jc(a);return n.setMonth(t,Math.min(i,s)),n}function Cg(e,t,r){const n=pe(e,r==null?void 0:r.in);return n.setDate(t),n}function _g(e,t,r){const n=pe(e,r==null?void 0:r.in);return n.setHours(t),n}function Tg(e,t,r){const n=pe(e,r==null?void 0:r.in);return n.setMilliseconds(t),n}function Sg(e,t,r){const n=pe(e,r==null?void 0:r.in);return n.setMinutes(t),n}function Fg(e,t,r){const n=pe(e,r==null?void 0:r.in);return n.setSeconds(t),n}function Og(e,t,r){const n=pe(e,r==null?void 0:r.in);return isNaN(+n)?Je(e,NaN):(n.setFullYear(t),n)}function Ng(e,t,r){return vu(e,-t,r)}function Mg(e,t,r){const{years:n=0,months:u=0,weeks:i=0,days:a=0,hours:s=0,minutes:l=0,seconds:c=0}=t,f=Ng(e,u+n*12,r),p=xg(f,a+i*7,r),o=l+s*60,m=(c+o*60)*1e3;return Je(e,+p-m)}var jn=(e=>(e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH",e.YEAR="YEAR",e))(jn||{});function ln({error:e,id:t}){return J.jsxs(qe.FormHelperText,{id:t,"data-testid":"form-field-error-message",error:!0,children:[on.getTextFieldIconByStatus("error"),e]})}var er={},tr={},Ki={},rr={},Au={},i0;function Pg(){return i0||(i0=1,Object.defineProperty(Au,"__esModule",{value:!0}),Au.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(e){return e.charCodeAt(0)}))),Au}var Cu={},a0;function Bg(){return a0||(a0=1,Object.defineProperty(Cu,"__esModule",{value:!0}),Cu.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(e){return e.charCodeAt(0)}))),Cu}var Zi={},s0;function o0(){return s0||(s0=1,function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.replaceCodePoint=e.fromCodePoint=void 0;var r=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);e.fromCodePoint=(t=String.fromCodePoint)!==null&&t!==void 0?t:function(i){var a="";return i>65535&&(i-=65536,a+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),a+=String.fromCharCode(i),a};function n(i){var a;return i>=55296&&i<=57343||i>1114111?65533:(a=r.get(i))!==null&&a!==void 0?a:i}e.replaceCodePoint=n;function u(i){return(0,e.fromCodePoint)(n(i))}e.default=u}(Zi)),Zi}var c0;function _u(){return c0||(c0=1,function(e){var t=rr&&rr.__createBinding||(Object.create?function(_,F,M,B){B===void 0&&(B=M);var N=Object.getOwnPropertyDescriptor(F,M);(!N||("get"in N?!F.__esModule:N.writable||N.configurable))&&(N={enumerable:!0,get:function(){return F[M]}}),Object.defineProperty(_,B,N)}:function(_,F,M,B){B===void 0&&(B=M),_[B]=F[M]}),r=rr&&rr.__setModuleDefault||(Object.create?function(_,F){Object.defineProperty(_,"default",{enumerable:!0,value:F})}:function(_,F){_.default=F}),n=rr&&rr.__importStar||function(_){if(_&&_.__esModule)return _;var F={};if(_!=null)for(var M in _)M!=="default"&&Object.prototype.hasOwnProperty.call(_,M)&&t(F,_,M);return r(F,_),F},u=rr&&rr.__importDefault||function(_){return _&&_.__esModule?_:{default:_}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXML=e.decodeHTMLStrict=e.decodeHTMLAttribute=e.decodeHTML=e.determineBranch=e.EntityDecoder=e.DecodingMode=e.BinTrieFlags=e.fromCodePoint=e.replaceCodePoint=e.decodeCodePoint=e.xmlDecodeTree=e.htmlDecodeTree=void 0;var i=u(Pg());e.htmlDecodeTree=i.default;var a=u(Bg());e.xmlDecodeTree=a.default;var s=n(o0());e.decodeCodePoint=s.default;var l=o0();Object.defineProperty(e,"replaceCodePoint",{enumerable:!0,get:function(){return l.replaceCodePoint}}),Object.defineProperty(e,"fromCodePoint",{enumerable:!0,get:function(){return l.fromCodePoint}});var c;(function(_){_[_.NUM=35]="NUM",_[_.SEMI=59]="SEMI",_[_.EQUALS=61]="EQUALS",_[_.ZERO=48]="ZERO",_[_.NINE=57]="NINE",_[_.LOWER_A=97]="LOWER_A",_[_.LOWER_F=102]="LOWER_F",_[_.LOWER_X=120]="LOWER_X",_[_.LOWER_Z=122]="LOWER_Z",_[_.UPPER_A=65]="UPPER_A",_[_.UPPER_F=70]="UPPER_F",_[_.UPPER_Z=90]="UPPER_Z"})(c||(c={}));var f=32,p;(function(_){_[_.VALUE_LENGTH=49152]="VALUE_LENGTH",_[_.BRANCH_LENGTH=16256]="BRANCH_LENGTH",_[_.JUMP_TABLE=127]="JUMP_TABLE"})(p=e.BinTrieFlags||(e.BinTrieFlags={}));function o(_){return _>=c.ZERO&&_<=c.NINE}function d(_){return _>=c.UPPER_A&&_<=c.UPPER_F||_>=c.LOWER_A&&_<=c.LOWER_F}function m(_){return _>=c.UPPER_A&&_<=c.UPPER_Z||_>=c.LOWER_A&&_<=c.LOWER_Z||o(_)}function h(_){return _===c.EQUALS||m(_)}var b;(function(_){_[_.EntityStart=0]="EntityStart",_[_.NumericStart=1]="NumericStart",_[_.NumericDecimal=2]="NumericDecimal",_[_.NumericHex=3]="NumericHex",_[_.NamedEntity=4]="NamedEntity"})(b||(b={}));var g;(function(_){_[_.Legacy=0]="Legacy",_[_.Strict=1]="Strict",_[_.Attribute=2]="Attribute"})(g=e.DecodingMode||(e.DecodingMode={}));var w=function(){function _(F,M,B){this.decodeTree=F,this.emitCodePoint=M,this.errors=B,this.state=b.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=g.Strict}return _.prototype.startEntity=function(F){this.decodeMode=F,this.state=b.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},_.prototype.write=function(F,M){switch(this.state){case b.EntityStart:return F.charCodeAt(M)===c.NUM?(this.state=b.NumericStart,this.consumed+=1,this.stateNumericStart(F,M+1)):(this.state=b.NamedEntity,this.stateNamedEntity(F,M));case b.NumericStart:return this.stateNumericStart(F,M);case b.NumericDecimal:return this.stateNumericDecimal(F,M);case b.NumericHex:return this.stateNumericHex(F,M);case b.NamedEntity:return this.stateNamedEntity(F,M)}},_.prototype.stateNumericStart=function(F,M){return M>=F.length?-1:(F.charCodeAt(M)|f)===c.LOWER_X?(this.state=b.NumericHex,this.consumed+=1,this.stateNumericHex(F,M+1)):(this.state=b.NumericDecimal,this.stateNumericDecimal(F,M))},_.prototype.addToNumericResult=function(F,M,B,N){if(M!==B){var I=B-M;this.result=this.result*Math.pow(N,I)+parseInt(F.substr(M,I),N),this.consumed+=I}},_.prototype.stateNumericHex=function(F,M){for(var B=M;M<F.length;){var N=F.charCodeAt(M);if(o(N)||d(N))M+=1;else return this.addToNumericResult(F,B,M,16),this.emitNumericEntity(N,3)}return this.addToNumericResult(F,B,M,16),-1},_.prototype.stateNumericDecimal=function(F,M){for(var B=M;M<F.length;){var N=F.charCodeAt(M);if(o(N))M+=1;else return this.addToNumericResult(F,B,M,10),this.emitNumericEntity(N,2)}return this.addToNumericResult(F,B,M,10),-1},_.prototype.emitNumericEntity=function(F,M){var B;if(this.consumed<=M)return(B=this.errors)===null||B===void 0||B.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(F===c.SEMI)this.consumed+=1;else if(this.decodeMode===g.Strict)return 0;return this.emitCodePoint((0,s.replaceCodePoint)(this.result),this.consumed),this.errors&&(F!==c.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},_.prototype.stateNamedEntity=function(F,M){for(var B=this.decodeTree,N=B[this.treeIndex],I=(N&p.VALUE_LENGTH)>>14;M<F.length;M++,this.excess++){var Z=F.charCodeAt(M);if(this.treeIndex=D(B,N,this.treeIndex+Math.max(1,I),Z),this.treeIndex<0)return this.result===0||this.decodeMode===g.Attribute&&(I===0||h(Z))?0:this.emitNotTerminatedNamedEntity();if(N=B[this.treeIndex],I=(N&p.VALUE_LENGTH)>>14,I!==0){if(Z===c.SEMI)return this.emitNamedEntityData(this.treeIndex,I,this.consumed+this.excess);this.decodeMode!==g.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},_.prototype.emitNotTerminatedNamedEntity=function(){var F,M=this,B=M.result,N=M.decodeTree,I=(N[B]&p.VALUE_LENGTH)>>14;return this.emitNamedEntityData(B,I,this.consumed),(F=this.errors)===null||F===void 0||F.missingSemicolonAfterCharacterReference(),this.consumed},_.prototype.emitNamedEntityData=function(F,M,B){var N=this.decodeTree;return this.emitCodePoint(M===1?N[F]&~p.VALUE_LENGTH:N[F+1],B),M===3&&this.emitCodePoint(N[F+2],B),B},_.prototype.end=function(){var F;switch(this.state){case b.NamedEntity:return this.result!==0&&(this.decodeMode!==g.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case b.NumericDecimal:return this.emitNumericEntity(0,2);case b.NumericHex:return this.emitNumericEntity(0,3);case b.NumericStart:return(F=this.errors)===null||F===void 0||F.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case b.EntityStart:return 0}},_}();e.EntityDecoder=w;function v(_){var F="",M=new w(_,function(B){return F+=(0,s.fromCodePoint)(B)});return function(N,I){for(var Z=0,re=0;(re=N.indexOf("&",re))>=0;){F+=N.slice(Z,re),M.startEntity(I);var ie=M.write(N,re+1);if(ie<0){Z=re+M.end();break}Z=re+ie,re=ie===0?Z+1:Z}var q=F+N.slice(Z);return F="",q}}function D(_,F,M,B){var N=(F&p.BRANCH_LENGTH)>>7,I=F&p.JUMP_TABLE;if(N===0)return I!==0&&B===I?M:-1;if(I){var Z=B-I;return Z<0||Z>=N?-1:_[M+Z]-1}for(var re=M,ie=re+N-1;re<=ie;){var q=re+ie>>>1,K=_[q];if(K<B)re=q+1;else if(K>B)ie=q-1;else return _[q+N]}return-1}e.determineBranch=D;var y=v(i.default),E=v(a.default);function A(_,F){return F===void 0&&(F=g.Legacy),y(_,F)}e.decodeHTML=A;function C(_){return y(_,g.Attribute)}e.decodeHTMLAttribute=C;function T(_){return y(_,g.Strict)}e.decodeHTMLStrict=T;function x(_){return E(_,g.Strict)}e.decodeXML=x}(rr)),rr}var f0;function l0(){return f0||(f0=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.QuoteType=void 0;var t=_u(),r;(function(o){o[o.Tab=9]="Tab",o[o.NewLine=10]="NewLine",o[o.FormFeed=12]="FormFeed",o[o.CarriageReturn=13]="CarriageReturn",o[o.Space=32]="Space",o[o.ExclamationMark=33]="ExclamationMark",o[o.Number=35]="Number",o[o.Amp=38]="Amp",o[o.SingleQuote=39]="SingleQuote",o[o.DoubleQuote=34]="DoubleQuote",o[o.Dash=45]="Dash",o[o.Slash=47]="Slash",o[o.Zero=48]="Zero",o[o.Nine=57]="Nine",o[o.Semi=59]="Semi",o[o.Lt=60]="Lt",o[o.Eq=61]="Eq",o[o.Gt=62]="Gt",o[o.Questionmark=63]="Questionmark",o[o.UpperA=65]="UpperA",o[o.LowerA=97]="LowerA",o[o.UpperF=70]="UpperF",o[o.LowerF=102]="LowerF",o[o.UpperZ=90]="UpperZ",o[o.LowerZ=122]="LowerZ",o[o.LowerX=120]="LowerX",o[o.OpeningSquareBracket=91]="OpeningSquareBracket"})(r||(r={}));var n;(function(o){o[o.Text=1]="Text",o[o.BeforeTagName=2]="BeforeTagName",o[o.InTagName=3]="InTagName",o[o.InSelfClosingTag=4]="InSelfClosingTag",o[o.BeforeClosingTagName=5]="BeforeClosingTagName",o[o.InClosingTagName=6]="InClosingTagName",o[o.AfterClosingTagName=7]="AfterClosingTagName",o[o.BeforeAttributeName=8]="BeforeAttributeName",o[o.InAttributeName=9]="InAttributeName",o[o.AfterAttributeName=10]="AfterAttributeName",o[o.BeforeAttributeValue=11]="BeforeAttributeValue",o[o.InAttributeValueDq=12]="InAttributeValueDq",o[o.InAttributeValueSq=13]="InAttributeValueSq",o[o.InAttributeValueNq=14]="InAttributeValueNq",o[o.BeforeDeclaration=15]="BeforeDeclaration",o[o.InDeclaration=16]="InDeclaration",o[o.InProcessingInstruction=17]="InProcessingInstruction",o[o.BeforeComment=18]="BeforeComment",o[o.CDATASequence=19]="CDATASequence",o[o.InSpecialComment=20]="InSpecialComment",o[o.InCommentLike=21]="InCommentLike",o[o.BeforeSpecialS=22]="BeforeSpecialS",o[o.SpecialStartSequence=23]="SpecialStartSequence",o[o.InSpecialTag=24]="InSpecialTag",o[o.BeforeEntity=25]="BeforeEntity",o[o.BeforeNumericEntity=26]="BeforeNumericEntity",o[o.InNamedEntity=27]="InNamedEntity",o[o.InNumericEntity=28]="InNumericEntity",o[o.InHexEntity=29]="InHexEntity"})(n||(n={}));function u(o){return o===r.Space||o===r.NewLine||o===r.Tab||o===r.FormFeed||o===r.CarriageReturn}function i(o){return o===r.Slash||o===r.Gt||u(o)}function a(o){return o>=r.Zero&&o<=r.Nine}function s(o){return o>=r.LowerA&&o<=r.LowerZ||o>=r.UpperA&&o<=r.UpperZ}function l(o){return o>=r.UpperA&&o<=r.UpperF||o>=r.LowerA&&o<=r.LowerF}var c;(function(o){o[o.NoValue=0]="NoValue",o[o.Unquoted=1]="Unquoted",o[o.Single=2]="Single",o[o.Double=3]="Double"})(c=e.QuoteType||(e.QuoteType={}));var f={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},p=function(){function o(d,m){var h=d.xmlMode,b=h===void 0?!1:h,g=d.decodeEntities,w=g===void 0?!0:g;this.cbs=m,this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=b,this.decodeEntities=w,this.entityTrie=b?t.xmlDecodeTree:t.htmlDecodeTree}return o.prototype.reset=function(){this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},o.prototype.write=function(d){this.offset+=this.buffer.length,this.buffer=d,this.parse()},o.prototype.end=function(){this.running&&this.finish()},o.prototype.pause=function(){this.running=!1},o.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},o.prototype.getIndex=function(){return this.index},o.prototype.getSectionStart=function(){return this.sectionStart},o.prototype.stateText=function(d){d===r.Lt||!this.decodeEntities&&this.fastForwardTo(r.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=n.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&d===r.Amp&&(this.state=n.BeforeEntity)},o.prototype.stateSpecialStartSequence=function(d){var m=this.sequenceIndex===this.currentSequence.length,h=m?i(d):(d|32)===this.currentSequence[this.sequenceIndex];if(!h)this.isSpecial=!1;else if(!m){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=n.InTagName,this.stateInTagName(d)},o.prototype.stateInSpecialTag=function(d){if(this.sequenceIndex===this.currentSequence.length){if(d===r.Gt||u(d)){var m=this.index-this.currentSequence.length;if(this.sectionStart<m){var h=this.index;this.index=m,this.cbs.ontext(this.sectionStart,m),this.index=h}this.isSpecial=!1,this.sectionStart=m+2,this.stateInClosingTagName(d);return}this.sequenceIndex=0}(d|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===f.TitleEnd?this.decodeEntities&&d===r.Amp&&(this.state=n.BeforeEntity):this.fastForwardTo(r.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(d===r.Lt)},o.prototype.stateCDATASequence=function(d){d===f.Cdata[this.sequenceIndex]?++this.sequenceIndex===f.Cdata.length&&(this.state=n.InCommentLike,this.currentSequence=f.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=n.InDeclaration,this.stateInDeclaration(d))},o.prototype.fastForwardTo=function(d){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===d)return!0;return this.index=this.buffer.length+this.offset-1,!1},o.prototype.stateInCommentLike=function(d){d===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===f.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=n.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):d!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},o.prototype.isTagStartChar=function(d){return this.xmlMode?!i(d):s(d)},o.prototype.startSpecial=function(d,m){this.isSpecial=!0,this.currentSequence=d,this.sequenceIndex=m,this.state=n.SpecialStartSequence},o.prototype.stateBeforeTagName=function(d){if(d===r.ExclamationMark)this.state=n.BeforeDeclaration,this.sectionStart=this.index+1;else if(d===r.Questionmark)this.state=n.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(d)){var m=d|32;this.sectionStart=this.index,!this.xmlMode&&m===f.TitleEnd[2]?this.startSpecial(f.TitleEnd,3):this.state=!this.xmlMode&&m===f.ScriptEnd[2]?n.BeforeSpecialS:n.InTagName}else d===r.Slash?this.state=n.BeforeClosingTagName:(this.state=n.Text,this.stateText(d))},o.prototype.stateInTagName=function(d){i(d)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d))},o.prototype.stateBeforeClosingTagName=function(d){u(d)||(d===r.Gt?this.state=n.Text:(this.state=this.isTagStartChar(d)?n.InClosingTagName:n.InSpecialComment,this.sectionStart=this.index))},o.prototype.stateInClosingTagName=function(d){(d===r.Gt||u(d))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.AfterClosingTagName,this.stateAfterClosingTagName(d))},o.prototype.stateAfterClosingTagName=function(d){(d===r.Gt||this.fastForwardTo(r.Gt))&&(this.state=n.Text,this.baseState=n.Text,this.sectionStart=this.index+1)},o.prototype.stateBeforeAttributeName=function(d){d===r.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=n.InSpecialTag,this.sequenceIndex=0):this.state=n.Text,this.baseState=this.state,this.sectionStart=this.index+1):d===r.Slash?this.state=n.InSelfClosingTag:u(d)||(this.state=n.InAttributeName,this.sectionStart=this.index)},o.prototype.stateInSelfClosingTag=function(d){d===r.Gt?(this.cbs.onselfclosingtag(this.index),this.state=n.Text,this.baseState=n.Text,this.sectionStart=this.index+1,this.isSpecial=!1):u(d)||(this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d))},o.prototype.stateInAttributeName=function(d){(d===r.Eq||i(d))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.AfterAttributeName,this.stateAfterAttributeName(d))},o.prototype.stateAfterAttributeName=function(d){d===r.Eq?this.state=n.BeforeAttributeValue:d===r.Slash||d===r.Gt?(this.cbs.onattribend(c.NoValue,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d)):u(d)||(this.cbs.onattribend(c.NoValue,this.index),this.state=n.InAttributeName,this.sectionStart=this.index)},o.prototype.stateBeforeAttributeValue=function(d){d===r.DoubleQuote?(this.state=n.InAttributeValueDq,this.sectionStart=this.index+1):d===r.SingleQuote?(this.state=n.InAttributeValueSq,this.sectionStart=this.index+1):u(d)||(this.sectionStart=this.index,this.state=n.InAttributeValueNq,this.stateInAttributeValueNoQuotes(d))},o.prototype.handleInAttributeValue=function(d,m){d===m||!this.decodeEntities&&this.fastForwardTo(m)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(m===r.DoubleQuote?c.Double:c.Single,this.index),this.state=n.BeforeAttributeName):this.decodeEntities&&d===r.Amp&&(this.baseState=this.state,this.state=n.BeforeEntity)},o.prototype.stateInAttributeValueDoubleQuotes=function(d){this.handleInAttributeValue(d,r.DoubleQuote)},o.prototype.stateInAttributeValueSingleQuotes=function(d){this.handleInAttributeValue(d,r.SingleQuote)},o.prototype.stateInAttributeValueNoQuotes=function(d){u(d)||d===r.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(c.Unquoted,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d)):this.decodeEntities&&d===r.Amp&&(this.baseState=this.state,this.state=n.BeforeEntity)},o.prototype.stateBeforeDeclaration=function(d){d===r.OpeningSquareBracket?(this.state=n.CDATASequence,this.sequenceIndex=0):this.state=d===r.Dash?n.BeforeComment:n.InDeclaration},o.prototype.stateInDeclaration=function(d){(d===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=n.Text,this.sectionStart=this.index+1)},o.prototype.stateInProcessingInstruction=function(d){(d===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=n.Text,this.sectionStart=this.index+1)},o.prototype.stateBeforeComment=function(d){d===r.Dash?(this.state=n.InCommentLike,this.currentSequence=f.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=n.InDeclaration},o.prototype.stateInSpecialComment=function(d){(d===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=n.Text,this.sectionStart=this.index+1)},o.prototype.stateBeforeSpecialS=function(d){var m=d|32;m===f.ScriptEnd[3]?this.startSpecial(f.ScriptEnd,4):m===f.StyleEnd[3]?this.startSpecial(f.StyleEnd,4):(this.state=n.InTagName,this.stateInTagName(d))},o.prototype.stateBeforeEntity=function(d){this.entityExcess=1,this.entityResult=0,d===r.Number?this.state=n.BeforeNumericEntity:d===r.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=n.InNamedEntity,this.stateInNamedEntity(d))},o.prototype.stateInNamedEntity=function(d){if(this.entityExcess+=1,this.trieIndex=(0,t.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,d),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var m=this.trieCurrent&t.BinTrieFlags.VALUE_LENGTH;if(m){var h=(m>>14)-1;if(!this.allowLegacyEntity()&&d!==r.Semi)this.trieIndex+=h;else{var b=this.index-this.entityExcess+1;b>this.sectionStart&&this.emitPartial(this.sectionStart,b),this.entityResult=this.trieIndex,this.trieIndex+=h,this.entityExcess=0,this.sectionStart=this.index+1,h===0&&this.emitNamedEntity()}}},o.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var d=(this.entityTrie[this.entityResult]&t.BinTrieFlags.VALUE_LENGTH)>>14;switch(d){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~t.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},o.prototype.stateBeforeNumericEntity=function(d){(d|32)===r.LowerX?(this.entityExcess++,this.state=n.InHexEntity):(this.state=n.InNumericEntity,this.stateInNumericEntity(d))},o.prototype.emitNumericEntity=function(d){var m=this.index-this.entityExcess-1,h=m+2+ +(this.state===n.InHexEntity);h!==this.index&&(m>this.sectionStart&&this.emitPartial(this.sectionStart,m),this.sectionStart=this.index+Number(d),this.emitCodePoint((0,t.replaceCodePoint)(this.entityResult))),this.state=this.baseState},o.prototype.stateInNumericEntity=function(d){d===r.Semi?this.emitNumericEntity(!0):a(d)?(this.entityResult=this.entityResult*10+(d-r.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},o.prototype.stateInHexEntity=function(d){d===r.Semi?this.emitNumericEntity(!0):a(d)?(this.entityResult=this.entityResult*16+(d-r.Zero),this.entityExcess++):l(d)?(this.entityResult=this.entityResult*16+((d|32)-r.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},o.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===n.Text||this.baseState===n.InSpecialTag)},o.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===n.Text||this.state===n.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===n.InAttributeValueDq||this.state===n.InAttributeValueSq||this.state===n.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},o.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},o.prototype.parse=function(){for(;this.shouldContinue();){var d=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case n.Text:{this.stateText(d);break}case n.SpecialStartSequence:{this.stateSpecialStartSequence(d);break}case n.InSpecialTag:{this.stateInSpecialTag(d);break}case n.CDATASequence:{this.stateCDATASequence(d);break}case n.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(d);break}case n.InAttributeName:{this.stateInAttributeName(d);break}case n.InCommentLike:{this.stateInCommentLike(d);break}case n.InSpecialComment:{this.stateInSpecialComment(d);break}case n.BeforeAttributeName:{this.stateBeforeAttributeName(d);break}case n.InTagName:{this.stateInTagName(d);break}case n.InClosingTagName:{this.stateInClosingTagName(d);break}case n.BeforeTagName:{this.stateBeforeTagName(d);break}case n.AfterAttributeName:{this.stateAfterAttributeName(d);break}case n.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(d);break}case n.BeforeAttributeValue:{this.stateBeforeAttributeValue(d);break}case n.BeforeClosingTagName:{this.stateBeforeClosingTagName(d);break}case n.AfterClosingTagName:{this.stateAfterClosingTagName(d);break}case n.BeforeSpecialS:{this.stateBeforeSpecialS(d);break}case n.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(d);break}case n.InSelfClosingTag:{this.stateInSelfClosingTag(d);break}case n.InDeclaration:{this.stateInDeclaration(d);break}case n.BeforeDeclaration:{this.stateBeforeDeclaration(d);break}case n.BeforeComment:{this.stateBeforeComment(d);break}case n.InProcessingInstruction:{this.stateInProcessingInstruction(d);break}case n.InNamedEntity:{this.stateInNamedEntity(d);break}case n.BeforeEntity:{this.stateBeforeEntity(d);break}case n.InHexEntity:{this.stateInHexEntity(d);break}case n.InNumericEntity:{this.stateInNumericEntity(d);break}default:this.stateBeforeNumericEntity(d)}this.index++}this.cleanup()},o.prototype.finish=function(){this.state===n.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},o.prototype.handleTrailingData=function(){var d=this.buffer.length+this.offset;this.state===n.InCommentLike?this.currentSequence===f.CdataEnd?this.cbs.oncdata(this.sectionStart,d,0):this.cbs.oncomment(this.sectionStart,d,0):this.state===n.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===n.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===n.InTagName||this.state===n.BeforeAttributeName||this.state===n.BeforeAttributeValue||this.state===n.AfterAttributeName||this.state===n.InAttributeName||this.state===n.InAttributeValueSq||this.state===n.InAttributeValueDq||this.state===n.InAttributeValueNq||this.state===n.InClosingTagName||this.cbs.ontext(this.sectionStart,d)},o.prototype.emitPartial=function(d,m){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?this.cbs.onattribdata(d,m):this.cbs.ontext(d,m)},o.prototype.emitCodePoint=function(d){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?this.cbs.onattribentity(d):this.cbs.ontextentity(d)},o}();e.default=p}(Ki)),Ki}var d0;function h0(){if(d0)return tr;d0=1;var e=tr&&tr.__createBinding||(Object.create?function(b,g,w,v){v===void 0&&(v=w);var D=Object.getOwnPropertyDescriptor(g,w);(!D||("get"in D?!g.__esModule:D.writable||D.configurable))&&(D={enumerable:!0,get:function(){return g[w]}}),Object.defineProperty(b,v,D)}:function(b,g,w,v){v===void 0&&(v=w),b[v]=g[w]}),t=tr&&tr.__setModuleDefault||(Object.create?function(b,g){Object.defineProperty(b,"default",{enumerable:!0,value:g})}:function(b,g){b.default=g}),r=tr&&tr.__importStar||function(b){if(b&&b.__esModule)return b;var g={};if(b!=null)for(var w in b)w!=="default"&&Object.prototype.hasOwnProperty.call(b,w)&&e(g,b,w);return t(g,b),g};Object.defineProperty(tr,"__esModule",{value:!0}),tr.Parser=void 0;var n=r(l0()),u=_u(),i=new Set(["input","option","optgroup","select","button","datalist","textarea"]),a=new Set(["p"]),s=new Set(["thead","tbody"]),l=new Set(["dd","dt"]),c=new Set(["rt","rp"]),f=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",a],["h1",a],["h2",a],["h3",a],["h4",a],["h5",a],["h6",a],["select",i],["input",i],["output",i],["button",i],["datalist",i],["textarea",i],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",l],["dt",l],["address",a],["article",a],["aside",a],["blockquote",a],["details",a],["div",a],["dl",a],["fieldset",a],["figcaption",a],["figure",a],["footer",a],["form",a],["header",a],["hr",a],["main",a],["nav",a],["ol",a],["pre",a],["section",a],["table",a],["ul",a],["rt",c],["rp",c],["tbody",s],["tfoot",s]]),p=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),o=new Set(["math","svg"]),d=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),m=/\s|\//,h=function(){function b(g,w){w===void 0&&(w={});var v,D,y,E,A;this.options=w,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=g??{},this.lowerCaseTagNames=(v=w.lowerCaseTags)!==null&&v!==void 0?v:!w.xmlMode,this.lowerCaseAttributeNames=(D=w.lowerCaseAttributeNames)!==null&&D!==void 0?D:!w.xmlMode,this.tokenizer=new((y=w.Tokenizer)!==null&&y!==void 0?y:n.default)(this.options,this),(A=(E=this.cbs).onparserinit)===null||A===void 0||A.call(E,this)}return b.prototype.ontext=function(g,w){var v,D,y=this.getSlice(g,w);this.endIndex=w-1,(D=(v=this.cbs).ontext)===null||D===void 0||D.call(v,y),this.startIndex=w},b.prototype.ontextentity=function(g){var w,v,D=this.tokenizer.getSectionStart();this.endIndex=D-1,(v=(w=this.cbs).ontext)===null||v===void 0||v.call(w,(0,u.fromCodePoint)(g)),this.startIndex=D},b.prototype.isVoidElement=function(g){return!this.options.xmlMode&&p.has(g)},b.prototype.onopentagname=function(g,w){this.endIndex=w;var v=this.getSlice(g,w);this.lowerCaseTagNames&&(v=v.toLowerCase()),this.emitOpenTag(v)},b.prototype.emitOpenTag=function(g){var w,v,D,y;this.openTagStart=this.startIndex,this.tagname=g;var E=!this.options.xmlMode&&f.get(g);if(E)for(;this.stack.length>0&&E.has(this.stack[this.stack.length-1]);){var A=this.stack.pop();(v=(w=this.cbs).onclosetag)===null||v===void 0||v.call(w,A,!0)}this.isVoidElement(g)||(this.stack.push(g),o.has(g)?this.foreignContext.push(!0):d.has(g)&&this.foreignContext.push(!1)),(y=(D=this.cbs).onopentagname)===null||y===void 0||y.call(D,g),this.cbs.onopentag&&(this.attribs={})},b.prototype.endOpenTag=function(g){var w,v;this.startIndex=this.openTagStart,this.attribs&&((v=(w=this.cbs).onopentag)===null||v===void 0||v.call(w,this.tagname,this.attribs,g),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},b.prototype.onopentagend=function(g){this.endIndex=g,this.endOpenTag(!1),this.startIndex=g+1},b.prototype.onclosetag=function(g,w){var v,D,y,E,A,C;this.endIndex=w;var T=this.getSlice(g,w);if(this.lowerCaseTagNames&&(T=T.toLowerCase()),(o.has(T)||d.has(T))&&this.foreignContext.pop(),this.isVoidElement(T))!this.options.xmlMode&&T==="br"&&((D=(v=this.cbs).onopentagname)===null||D===void 0||D.call(v,"br"),(E=(y=this.cbs).onopentag)===null||E===void 0||E.call(y,"br",{},!0),(C=(A=this.cbs).onclosetag)===null||C===void 0||C.call(A,"br",!1));else{var x=this.stack.lastIndexOf(T);if(x!==-1)if(this.cbs.onclosetag)for(var _=this.stack.length-x;_--;)this.cbs.onclosetag(this.stack.pop(),_!==0);else this.stack.length=x;else!this.options.xmlMode&&T==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=w+1},b.prototype.onselfclosingtag=function(g){this.endIndex=g,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=g+1):this.onopentagend(g)},b.prototype.closeCurrentTag=function(g){var w,v,D=this.tagname;this.endOpenTag(g),this.stack[this.stack.length-1]===D&&((v=(w=this.cbs).onclosetag)===null||v===void 0||v.call(w,D,!g),this.stack.pop())},b.prototype.onattribname=function(g,w){this.startIndex=g;var v=this.getSlice(g,w);this.attribname=this.lowerCaseAttributeNames?v.toLowerCase():v},b.prototype.onattribdata=function(g,w){this.attribvalue+=this.getSlice(g,w)},b.prototype.onattribentity=function(g){this.attribvalue+=(0,u.fromCodePoint)(g)},b.prototype.onattribend=function(g,w){var v,D;this.endIndex=w,(D=(v=this.cbs).onattribute)===null||D===void 0||D.call(v,this.attribname,this.attribvalue,g===n.QuoteType.Double?'"':g===n.QuoteType.Single?"'":g===n.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},b.prototype.getInstructionName=function(g){var w=g.search(m),v=w<0?g:g.substr(0,w);return this.lowerCaseTagNames&&(v=v.toLowerCase()),v},b.prototype.ondeclaration=function(g,w){this.endIndex=w;var v=this.getSlice(g,w);if(this.cbs.onprocessinginstruction){var D=this.getInstructionName(v);this.cbs.onprocessinginstruction("!".concat(D),"!".concat(v))}this.startIndex=w+1},b.prototype.onprocessinginstruction=function(g,w){this.endIndex=w;var v=this.getSlice(g,w);if(this.cbs.onprocessinginstruction){var D=this.getInstructionName(v);this.cbs.onprocessinginstruction("?".concat(D),"?".concat(v))}this.startIndex=w+1},b.prototype.oncomment=function(g,w,v){var D,y,E,A;this.endIndex=w,(y=(D=this.cbs).oncomment)===null||y===void 0||y.call(D,this.getSlice(g,w-v)),(A=(E=this.cbs).oncommentend)===null||A===void 0||A.call(E),this.startIndex=w+1},b.prototype.oncdata=function(g,w,v){var D,y,E,A,C,T,x,_,F,M;this.endIndex=w;var B=this.getSlice(g,w-v);this.options.xmlMode||this.options.recognizeCDATA?((y=(D=this.cbs).oncdatastart)===null||y===void 0||y.call(D),(A=(E=this.cbs).ontext)===null||A===void 0||A.call(E,B),(T=(C=this.cbs).oncdataend)===null||T===void 0||T.call(C)):((_=(x=this.cbs).oncomment)===null||_===void 0||_.call(x,"[CDATA[".concat(B,"]]")),(M=(F=this.cbs).oncommentend)===null||M===void 0||M.call(F)),this.startIndex=w+1},b.prototype.onend=function(){var g,w;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var v=this.stack.length;v>0;this.cbs.onclosetag(this.stack[--v],!0));}(w=(g=this.cbs).onend)===null||w===void 0||w.call(g)},b.prototype.reset=function(){var g,w,v,D;(w=(g=this.cbs).onreset)===null||w===void 0||w.call(g),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(D=(v=this.cbs).onparserinit)===null||D===void 0||D.call(v,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},b.prototype.parseComplete=function(g){this.reset(),this.end(g)},b.prototype.getSlice=function(g,w){for(;g-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var v=this.buffers[0].slice(g-this.bufferOffset,w-this.bufferOffset);w-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),v+=this.buffers[0].slice(0,w-this.bufferOffset);return v},b.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},b.prototype.write=function(g){var w,v;if(this.ended){(v=(w=this.cbs).onerror)===null||v===void 0||v.call(w,new Error(".write() after done!"));return}this.buffers.push(g),this.tokenizer.running&&(this.tokenizer.write(g),this.writeIndex++)},b.prototype.end=function(g){var w,v;if(this.ended){(v=(w=this.cbs).onerror)===null||v===void 0||v.call(w,new Error(".end() after done!"));return}g&&this.write(g),this.ended=!0,this.tokenizer.end()},b.prototype.pause=function(){this.tokenizer.pause()},b.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},b.prototype.parseChunk=function(g){this.write(g)},b.prototype.done=function(g){this.end(g)},b}();return tr.Parser=h,tr}var Xr={},Ji={},p0;function $n(){return p0||(p0=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(function(n){n.Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype"})(t=e.ElementType||(e.ElementType={}));function r(n){return n.type===t.Tag||n.type===t.Script||n.type===t.Style}e.isTag=r,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype}(Ji)),Ji}var xe={},m0;function g0(){if(m0)return xe;m0=1;var e=xe&&xe.__extends||function(){var y=function(E,A){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,T){C.__proto__=T}||function(C,T){for(var x in T)Object.prototype.hasOwnProperty.call(T,x)&&(C[x]=T[x])},y(E,A)};return function(E,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");y(E,A);function C(){this.constructor=E}E.prototype=A===null?Object.create(A):(C.prototype=A.prototype,new C)}}(),t=xe&&xe.__assign||function(){return t=Object.assign||function(y){for(var E,A=1,C=arguments.length;A<C;A++){E=arguments[A];for(var T in E)Object.prototype.hasOwnProperty.call(E,T)&&(y[T]=E[T])}return y},t.apply(this,arguments)};Object.defineProperty(xe,"__esModule",{value:!0}),xe.cloneNode=xe.hasChildren=xe.isDocument=xe.isDirective=xe.isComment=xe.isText=xe.isCDATA=xe.isTag=xe.Element=xe.Document=xe.CDATA=xe.NodeWithChildren=xe.ProcessingInstruction=xe.Comment=xe.Text=xe.DataNode=xe.Node=void 0;var r=$n(),n=function(){function y(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(y.prototype,"parentNode",{get:function(){return this.parent},set:function(E){this.parent=E},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"previousSibling",{get:function(){return this.prev},set:function(E){this.prev=E},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"nextSibling",{get:function(){return this.next},set:function(E){this.next=E},enumerable:!1,configurable:!0}),y.prototype.cloneNode=function(E){return E===void 0&&(E=!1),v(this,E)},y}();xe.Node=n;var u=function(y){e(E,y);function E(A){var C=y.call(this)||this;return C.data=A,C}return Object.defineProperty(E.prototype,"nodeValue",{get:function(){return this.data},set:function(A){this.data=A},enumerable:!1,configurable:!0}),E}(n);xe.DataNode=u;var i=function(y){e(E,y);function E(){var A=y!==null&&y.apply(this,arguments)||this;return A.type=r.ElementType.Text,A}return Object.defineProperty(E.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),E}(u);xe.Text=i;var a=function(y){e(E,y);function E(){var A=y!==null&&y.apply(this,arguments)||this;return A.type=r.ElementType.Comment,A}return Object.defineProperty(E.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),E}(u);xe.Comment=a;var s=function(y){e(E,y);function E(A,C){var T=y.call(this,C)||this;return T.name=A,T.type=r.ElementType.Directive,T}return Object.defineProperty(E.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),E}(u);xe.ProcessingInstruction=s;var l=function(y){e(E,y);function E(A){var C=y.call(this)||this;return C.children=A,C}return Object.defineProperty(E.prototype,"firstChild",{get:function(){var A;return(A=this.children[0])!==null&&A!==void 0?A:null},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"childNodes",{get:function(){return this.children},set:function(A){this.children=A},enumerable:!1,configurable:!0}),E}(n);xe.NodeWithChildren=l;var c=function(y){e(E,y);function E(){var A=y!==null&&y.apply(this,arguments)||this;return A.type=r.ElementType.CDATA,A}return Object.defineProperty(E.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),E}(l);xe.CDATA=c;var f=function(y){e(E,y);function E(){var A=y!==null&&y.apply(this,arguments)||this;return A.type=r.ElementType.Root,A}return Object.defineProperty(E.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),E}(l);xe.Document=f;var p=function(y){e(E,y);function E(A,C,T,x){T===void 0&&(T=[]),x===void 0&&(x=A==="script"?r.ElementType.Script:A==="style"?r.ElementType.Style:r.ElementType.Tag);var _=y.call(this,T)||this;return _.name=A,_.attribs=C,_.type=x,_}return Object.defineProperty(E.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"tagName",{get:function(){return this.name},set:function(A){this.name=A},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"attributes",{get:function(){var A=this;return Object.keys(this.attribs).map(function(C){var T,x;return{name:C,value:A.attribs[C],namespace:(T=A["x-attribsNamespace"])===null||T===void 0?void 0:T[C],prefix:(x=A["x-attribsPrefix"])===null||x===void 0?void 0:x[C]}})},enumerable:!1,configurable:!0}),E}(l);xe.Element=p;function o(y){return(0,r.isTag)(y)}xe.isTag=o;function d(y){return y.type===r.ElementType.CDATA}xe.isCDATA=d;function m(y){return y.type===r.ElementType.Text}xe.isText=m;function h(y){return y.type===r.ElementType.Comment}xe.isComment=h;function b(y){return y.type===r.ElementType.Directive}xe.isDirective=b;function g(y){return y.type===r.ElementType.Root}xe.isDocument=g;function w(y){return Object.prototype.hasOwnProperty.call(y,"children")}xe.hasChildren=w;function v(y,E){E===void 0&&(E=!1);var A;if(m(y))A=new i(y.data);else if(h(y))A=new a(y.data);else if(o(y)){var C=E?D(y.children):[],T=new p(y.name,t({},y.attribs),C);C.forEach(function(M){return M.parent=T}),y.namespace!=null&&(T.namespace=y.namespace),y["x-attribsNamespace"]&&(T["x-attribsNamespace"]=t({},y["x-attribsNamespace"])),y["x-attribsPrefix"]&&(T["x-attribsPrefix"]=t({},y["x-attribsPrefix"])),A=T}else if(d(y)){var C=E?D(y.children):[],x=new c(C);C.forEach(function(B){return B.parent=x}),A=x}else if(g(y)){var C=E?D(y.children):[],_=new f(C);C.forEach(function(B){return B.parent=_}),y["x-mode"]&&(_["x-mode"]=y["x-mode"]),A=_}else if(b(y)){var F=new s(y.name,y.data);y["x-name"]!=null&&(F["x-name"]=y["x-name"],F["x-publicId"]=y["x-publicId"],F["x-systemId"]=y["x-systemId"]),A=F}else throw new Error("Not implemented yet: ".concat(y.type));return A.startIndex=y.startIndex,A.endIndex=y.endIndex,y.sourceCodeLocation!=null&&(A.sourceCodeLocation=y.sourceCodeLocation),A}xe.cloneNode=v;function D(y){for(var E=y.map(function(C){return v(C,!0)}),A=1;A<E.length;A++)E[A].prev=E[A-1],E[A-1].next=E[A];return E}return xe}var b0;function Pr(){return b0||(b0=1,function(e){var t=Xr&&Xr.__createBinding||(Object.create?function(s,l,c,f){f===void 0&&(f=c);var p=Object.getOwnPropertyDescriptor(l,c);(!p||("get"in p?!l.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return l[c]}}),Object.defineProperty(s,f,p)}:function(s,l,c,f){f===void 0&&(f=c),s[f]=l[c]}),r=Xr&&Xr.__exportStar||function(s,l){for(var c in s)c!=="default"&&!Object.prototype.hasOwnProperty.call(l,c)&&t(l,s,c)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var n=$n(),u=g0();r(g0(),e);var i={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},a=function(){function s(l,c,f){this.dom=[],this.root=new u.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof c=="function"&&(f=c,c=i),typeof l=="object"&&(c=l,l=void 0),this.callback=l??null,this.options=c??i,this.elementCB=f??null}return s.prototype.onparserinit=function(l){this.parser=l},s.prototype.onreset=function(){this.dom=[],this.root=new u.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},s.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},s.prototype.onerror=function(l){this.handleCallback(l)},s.prototype.onclosetag=function(){this.lastNode=null;var l=this.tagStack.pop();this.options.withEndIndices&&(l.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(l)},s.prototype.onopentag=function(l,c){var f=this.options.xmlMode?n.ElementType.Tag:void 0,p=new u.Element(l,c,void 0,f);this.addNode(p),this.tagStack.push(p)},s.prototype.ontext=function(l){var c=this.lastNode;if(c&&c.type===n.ElementType.Text)c.data+=l,this.options.withEndIndices&&(c.endIndex=this.parser.endIndex);else{var f=new u.Text(l);this.addNode(f),this.lastNode=f}},s.prototype.oncomment=function(l){if(this.lastNode&&this.lastNode.type===n.ElementType.Comment){this.lastNode.data+=l;return}var c=new u.Comment(l);this.addNode(c),this.lastNode=c},s.prototype.oncommentend=function(){this.lastNode=null},s.prototype.oncdatastart=function(){var l=new u.Text(""),c=new u.CDATA([l]);this.addNode(c),l.parent=c,this.lastNode=l},s.prototype.oncdataend=function(){this.lastNode=null},s.prototype.onprocessinginstruction=function(l,c){var f=new u.ProcessingInstruction(l,c);this.addNode(f)},s.prototype.handleCallback=function(l){if(typeof this.callback=="function")this.callback(l,this.dom);else if(l)throw l},s.prototype.addNode=function(l){var c=this.tagStack[this.tagStack.length-1],f=c.children[c.children.length-1];this.options.withStartIndices&&(l.startIndex=this.parser.startIndex),this.options.withEndIndices&&(l.endIndex=this.parser.endIndex),c.children.push(l),f&&(l.prev=f,f.next=l),l.parent=c,this.lastNode=null},s}();e.DomHandler=a,e.default=a}(Xr)),Xr}var Qr={},lr={},Bt={},ea={},Dr={},Tu={},y0;function Ig(){if(y0)return Tu;y0=1,Object.defineProperty(Tu,"__esModule",{value:!0});function e(t){for(var r=1;r<t.length;r++)t[r][0]+=t[r-1][0]+1;return t}return Tu.default=new Map(e([[9,"	"],[0,"
"],[22,"!"],[0,"""],[0,"#"],[0,"$"],[0,"%"],[0,"&"],[0,"'"],[0,"("],[0,")"],[0,"*"],[0,"+"],[0,","],[1,"."],[0,"/"],[10,":"],[0,";"],[0,{v:"<",n:8402,o:"<⃒"}],[0,{v:"=",n:8421,o:"=⃥"}],[0,{v:">",n:8402,o:">⃒"}],[0,"?"],[0,"@"],[26,"["],[0,"\"],[0,"]"],[0,"^"],[0,"_"],[0,"`"],[5,{n:106,o:"fj"}],[20,"{"],[0,"|"],[0,"}"],[34," "],[0,"¡"],[0,"¢"],[0,"£"],[0,"¤"],[0,"¥"],[0,"¦"],[0,"§"],[0,"¨"],[0,"©"],[0,"ª"],[0,"«"],[0,"¬"],[0,"­"],[0,"®"],[0,"¯"],[0,"°"],[0,"±"],[0,"²"],[0,"³"],[0,"´"],[0,"µ"],[0,"¶"],[0,"·"],[0,"¸"],[0,"¹"],[0,"º"],[0,"»"],[0,"¼"],[0,"½"],[0,"¾"],[0,"¿"],[0,"À"],[0,"Á"],[0,"Â"],[0,"Ã"],[0,"Ä"],[0,"Å"],[0,"Æ"],[0,"Ç"],[0,"È"],[0,"É"],[0,"Ê"],[0,"Ë"],[0,"Ì"],[0,"Í"],[0,"Î"],[0,"Ï"],[0,"Ð"],[0,"Ñ"],[0,"Ò"],[0,"Ó"],[0,"Ô"],[0,"Õ"],[0,"Ö"],[0,"×"],[0,"Ø"],[0,"Ù"],[0,"Ú"],[0,"Û"],[0,"Ü"],[0,"Ý"],[0,"Þ"],[0,"ß"],[0,"à"],[0,"á"],[0,"â"],[0,"ã"],[0,"ä"],[0,"å"],[0,"æ"],[0,"ç"],[0,"è"],[0,"é"],[0,"ê"],[0,"ë"],[0,"ì"],[0,"í"],[0,"î"],[0,"ï"],[0,"ð"],[0,"ñ"],[0,"ò"],[0,"ó"],[0,"ô"],[0,"õ"],[0,"ö"],[0,"÷"],[0,"ø"],[0,"ù"],[0,"ú"],[0,"û"],[0,"ü"],[0,"ý"],[0,"þ"],[0,"ÿ"],[0,"Ā"],[0,"ā"],[0,"Ă"],[0,"ă"],[0,"Ą"],[0,"ą"],[0,"Ć"],[0,"ć"],[0,"Ĉ"],[0,"ĉ"],[0,"Ċ"],[0,"ċ"],[0,"Č"],[0,"č"],[0,"Ď"],[0,"ď"],[0,"Đ"],[0,"đ"],[0,"Ē"],[0,"ē"],[2,"Ė"],[0,"ė"],[0,"Ę"],[0,"ę"],[0,"Ě"],[0,"ě"],[0,"Ĝ"],[0,"ĝ"],[0,"Ğ"],[0,"ğ"],[0,"Ġ"],[0,"ġ"],[0,"Ģ"],[1,"Ĥ"],[0,"ĥ"],[0,"Ħ"],[0,"ħ"],[0,"Ĩ"],[0,"ĩ"],[0,"Ī"],[0,"ī"],[2,"Į"],[0,"į"],[0,"İ"],[0,"ı"],[0,"IJ"],[0,"ij"],[0,"Ĵ"],[0,"ĵ"],[0,"Ķ"],[0,"ķ"],[0,"ĸ"],[0,"Ĺ"],[0,"ĺ"],[0,"Ļ"],[0,"ļ"],[0,"Ľ"],[0,"ľ"],[0,"Ŀ"],[0,"ŀ"],[0,"Ł"],[0,"ł"],[0,"Ń"],[0,"ń"],[0,"Ņ"],[0,"ņ"],[0,"Ň"],[0,"ň"],[0,"ʼn"],[0,"Ŋ"],[0,"ŋ"],[0,"Ō"],[0,"ō"],[2,"Ő"],[0,"ő"],[0,"Œ"],[0,"œ"],[0,"Ŕ"],[0,"ŕ"],[0,"Ŗ"],[0,"ŗ"],[0,"Ř"],[0,"ř"],[0,"Ś"],[0,"ś"],[0,"Ŝ"],[0,"ŝ"],[0,"Ş"],[0,"ş"],[0,"Š"],[0,"š"],[0,"Ţ"],[0,"ţ"],[0,"Ť"],[0,"ť"],[0,"Ŧ"],[0,"ŧ"],[0,"Ũ"],[0,"ũ"],[0,"Ū"],[0,"ū"],[0,"Ŭ"],[0,"ŭ"],[0,"Ů"],[0,"ů"],[0,"Ű"],[0,"ű"],[0,"Ų"],[0,"ų"],[0,"Ŵ"],[0,"ŵ"],[0,"Ŷ"],[0,"ŷ"],[0,"Ÿ"],[0,"Ź"],[0,"ź"],[0,"Ż"],[0,"ż"],[0,"Ž"],[0,"ž"],[19,"ƒ"],[34,"Ƶ"],[63,"ǵ"],[65,"ȷ"],[142,"ˆ"],[0,"ˇ"],[16,"˘"],[0,"˙"],[0,"˚"],[0,"˛"],[0,"˜"],[0,"˝"],[51,"̑"],[127,"Α"],[0,"Β"],[0,"Γ"],[0,"Δ"],[0,"Ε"],[0,"Ζ"],[0,"Η"],[0,"Θ"],[0,"Ι"],[0,"Κ"],[0,"Λ"],[0,"Μ"],[0,"Ν"],[0,"Ξ"],[0,"Ο"],[0,"Π"],[0,"Ρ"],[1,"Σ"],[0,"Τ"],[0,"Υ"],[0,"Φ"],[0,"Χ"],[0,"Ψ"],[0,"Ω"],[7,"α"],[0,"β"],[0,"γ"],[0,"δ"],[0,"ε"],[0,"ζ"],[0,"η"],[0,"θ"],[0,"ι"],[0,"κ"],[0,"λ"],[0,"μ"],[0,"ν"],[0,"ξ"],[0,"ο"],[0,"π"],[0,"ρ"],[0,"ς"],[0,"σ"],[0,"τ"],[0,"υ"],[0,"φ"],[0,"χ"],[0,"ψ"],[0,"ω"],[7,"ϑ"],[0,"ϒ"],[2,"ϕ"],[0,"ϖ"],[5,"Ϝ"],[0,"ϝ"],[18,"ϰ"],[0,"ϱ"],[3,"ϵ"],[0,"϶"],[10,"Ё"],[0,"Ђ"],[0,"Ѓ"],[0,"Є"],[0,"Ѕ"],[0,"І"],[0,"Ї"],[0,"Ј"],[0,"Љ"],[0,"Њ"],[0,"Ћ"],[0,"Ќ"],[1,"Ў"],[0,"Џ"],[0,"А"],[0,"Б"],[0,"В"],[0,"Г"],[0,"Д"],[0,"Е"],[0,"Ж"],[0,"З"],[0,"И"],[0,"Й"],[0,"К"],[0,"Л"],[0,"М"],[0,"Н"],[0,"О"],[0,"П"],[0,"Р"],[0,"С"],[0,"Т"],[0,"У"],[0,"Ф"],[0,"Х"],[0,"Ц"],[0,"Ч"],[0,"Ш"],[0,"Щ"],[0,"Ъ"],[0,"Ы"],[0,"Ь"],[0,"Э"],[0,"Ю"],[0,"Я"],[0,"а"],[0,"б"],[0,"в"],[0,"г"],[0,"д"],[0,"е"],[0,"ж"],[0,"з"],[0,"и"],[0,"й"],[0,"к"],[0,"л"],[0,"м"],[0,"н"],[0,"о"],[0,"п"],[0,"р"],[0,"с"],[0,"т"],[0,"у"],[0,"ф"],[0,"х"],[0,"ц"],[0,"ч"],[0,"ш"],[0,"щ"],[0,"ъ"],[0,"ы"],[0,"ь"],[0,"э"],[0,"ю"],[0,"я"],[1,"ё"],[0,"ђ"],[0,"ѓ"],[0,"є"],[0,"ѕ"],[0,"і"],[0,"ї"],[0,"ј"],[0,"љ"],[0,"њ"],[0,"ћ"],[0,"ќ"],[1,"ў"],[0,"џ"],[7074," "],[0," "],[0," "],[0," "],[1," "],[0," "],[0," "],[0," "],[0,"​"],[0,"‌"],[0,"‍"],[0,"‎"],[0,"‏"],[0,"‐"],[2,"–"],[0,"—"],[0,"―"],[0,"‖"],[1,"‘"],[0,"’"],[0,"‚"],[1,"“"],[0,"”"],[0,"„"],[1,"†"],[0,"‡"],[0,"•"],[2,"‥"],[0,"…"],[9,"‰"],[0,"‱"],[0,"′"],[0,"″"],[0,"‴"],[0,"‵"],[3,"‹"],[0,"›"],[3,"‾"],[2,"⁁"],[1,"⁃"],[0,"⁄"],[10,"⁏"],[7,"⁗"],[7,{v:" ",n:8202,o:"  "}],[0,"⁠"],[0,"⁡"],[0,"⁢"],[0,"⁣"],[72,"€"],[46,"⃛"],[0,"⃜"],[37,"ℂ"],[2,"℅"],[4,"ℊ"],[0,"ℋ"],[0,"ℌ"],[0,"ℍ"],[0,"ℎ"],[0,"ℏ"],[0,"ℐ"],[0,"ℑ"],[0,"ℒ"],[0,"ℓ"],[1,"ℕ"],[0,"№"],[0,"℗"],[0,"℘"],[0,"ℙ"],[0,"ℚ"],[0,"ℛ"],[0,"ℜ"],[0,"ℝ"],[0,"℞"],[3,"™"],[1,"ℤ"],[2,"℧"],[0,"ℨ"],[0,"℩"],[2,"ℬ"],[0,"ℭ"],[1,"ℯ"],[0,"ℰ"],[0,"ℱ"],[1,"ℳ"],[0,"ℴ"],[0,"ℵ"],[0,"ℶ"],[0,"ℷ"],[0,"ℸ"],[12,"ⅅ"],[0,"ⅆ"],[0,"ⅇ"],[0,"ⅈ"],[10,"⅓"],[0,"⅔"],[0,"⅕"],[0,"⅖"],[0,"⅗"],[0,"⅘"],[0,"⅙"],[0,"⅚"],[0,"⅛"],[0,"⅜"],[0,"⅝"],[0,"⅞"],[49,"←"],[0,"↑"],[0,"→"],[0,"↓"],[0,"↔"],[0,"↕"],[0,"↖"],[0,"↗"],[0,"↘"],[0,"↙"],[0,"↚"],[0,"↛"],[1,{v:"↝",n:824,o:"↝̸"}],[0,"↞"],[0,"↟"],[0,"↠"],[0,"↡"],[0,"↢"],[0,"↣"],[0,"↤"],[0,"↥"],[0,"↦"],[0,"↧"],[1,"↩"],[0,"↪"],[0,"↫"],[0,"↬"],[0,"↭"],[0,"↮"],[1,"↰"],[0,"↱"],[0,"↲"],[0,"↳"],[1,"↵"],[0,"↶"],[0,"↷"],[2,"↺"],[0,"↻"],[0,"↼"],[0,"↽"],[0,"↾"],[0,"↿"],[0,"⇀"],[0,"⇁"],[0,"⇂"],[0,"⇃"],[0,"⇄"],[0,"⇅"],[0,"⇆"],[0,"⇇"],[0,"⇈"],[0,"⇉"],[0,"⇊"],[0,"⇋"],[0,"⇌"],[0,"⇍"],[0,"⇎"],[0,"⇏"],[0,"⇐"],[0,"⇑"],[0,"⇒"],[0,"⇓"],[0,"⇔"],[0,"⇕"],[0,"⇖"],[0,"⇗"],[0,"⇘"],[0,"⇙"],[0,"⇚"],[0,"⇛"],[1,"⇝"],[6,"⇤"],[0,"⇥"],[15,"⇵"],[7,"⇽"],[0,"⇾"],[0,"⇿"],[0,"∀"],[0,"∁"],[0,{v:"∂",n:824,o:"∂̸"}],[0,"∃"],[0,"∄"],[0,"∅"],[1,"∇"],[0,"∈"],[0,"∉"],[1,"∋"],[0,"∌"],[2,"∏"],[0,"∐"],[0,"∑"],[0,"−"],[0,"∓"],[0,"∔"],[1,"∖"],[0,"∗"],[0,"∘"],[1,"√"],[2,"∝"],[0,"∞"],[0,"∟"],[0,{v:"∠",n:8402,o:"∠⃒"}],[0,"∡"],[0,"∢"],[0,"∣"],[0,"∤"],[0,"∥"],[0,"∦"],[0,"∧"],[0,"∨"],[0,{v:"∩",n:65024,o:"∩︀"}],[0,{v:"∪",n:65024,o:"∪︀"}],[0,"∫"],[0,"∬"],[0,"∭"],[0,"∮"],[0,"∯"],[0,"∰"],[0,"∱"],[0,"∲"],[0,"∳"],[0,"∴"],[0,"∵"],[0,"∶"],[0,"∷"],[0,"∸"],[1,"∺"],[0,"∻"],[0,{v:"∼",n:8402,o:"∼⃒"}],[0,{v:"∽",n:817,o:"∽̱"}],[0,{v:"∾",n:819,o:"∾̳"}],[0,"∿"],[0,"≀"],[0,"≁"],[0,{v:"≂",n:824,o:"≂̸"}],[0,"≃"],[0,"≄"],[0,"≅"],[0,"≆"],[0,"≇"],[0,"≈"],[0,"≉"],[0,"≊"],[0,{v:"≋",n:824,o:"≋̸"}],[0,"≌"],[0,{v:"≍",n:8402,o:"≍⃒"}],[0,{v:"≎",n:824,o:"≎̸"}],[0,{v:"≏",n:824,o:"≏̸"}],[0,{v:"≐",n:824,o:"≐̸"}],[0,"≑"],[0,"≒"],[0,"≓"],[0,"≔"],[0,"≕"],[0,"≖"],[0,"≗"],[1,"≙"],[0,"≚"],[1,"≜"],[2,"≟"],[0,"≠"],[0,{v:"≡",n:8421,o:"≡⃥"}],[0,"≢"],[1,{v:"≤",n:8402,o:"≤⃒"}],[0,{v:"≥",n:8402,o:"≥⃒"}],[0,{v:"≦",n:824,o:"≦̸"}],[0,{v:"≧",n:824,o:"≧̸"}],[0,{v:"≨",n:65024,o:"≨︀"}],[0,{v:"≩",n:65024,o:"≩︀"}],[0,{v:"≪",n:new Map(e([[824,"≪̸"],[7577,"≪⃒"]]))}],[0,{v:"≫",n:new Map(e([[824,"≫̸"],[7577,"≫⃒"]]))}],[0,"≬"],[0,"≭"],[0,"≮"],[0,"≯"],[0,"≰"],[0,"≱"],[0,"≲"],[0,"≳"],[0,"≴"],[0,"≵"],[0,"≶"],[0,"≷"],[0,"≸"],[0,"≹"],[0,"≺"],[0,"≻"],[0,"≼"],[0,"≽"],[0,"≾"],[0,{v:"≿",n:824,o:"≿̸"}],[0,"⊀"],[0,"⊁"],[0,{v:"⊂",n:8402,o:"⊂⃒"}],[0,{v:"⊃",n:8402,o:"⊃⃒"}],[0,"⊄"],[0,"⊅"],[0,"⊆"],[0,"⊇"],[0,"⊈"],[0,"⊉"],[0,{v:"⊊",n:65024,o:"⊊︀"}],[0,{v:"⊋",n:65024,o:"⊋︀"}],[1,"⊍"],[0,"⊎"],[0,{v:"⊏",n:824,o:"⊏̸"}],[0,{v:"⊐",n:824,o:"⊐̸"}],[0,"⊑"],[0,"⊒"],[0,{v:"⊓",n:65024,o:"⊓︀"}],[0,{v:"⊔",n:65024,o:"⊔︀"}],[0,"⊕"],[0,"⊖"],[0,"⊗"],[0,"⊘"],[0,"⊙"],[0,"⊚"],[0,"⊛"],[1,"⊝"],[0,"⊞"],[0,"⊟"],[0,"⊠"],[0,"⊡"],[0,"⊢"],[0,"⊣"],[0,"⊤"],[0,"⊥"],[1,"⊧"],[0,"⊨"],[0,"⊩"],[0,"⊪"],[0,"⊫"],[0,"⊬"],[0,"⊭"],[0,"⊮"],[0,"⊯"],[0,"⊰"],[1,"⊲"],[0,"⊳"],[0,{v:"⊴",n:8402,o:"⊴⃒"}],[0,{v:"⊵",n:8402,o:"⊵⃒"}],[0,"⊶"],[0,"⊷"],[0,"⊸"],[0,"⊹"],[0,"⊺"],[0,"⊻"],[1,"⊽"],[0,"⊾"],[0,"⊿"],[0,"⋀"],[0,"⋁"],[0,"⋂"],[0,"⋃"],[0,"⋄"],[0,"⋅"],[0,"⋆"],[0,"⋇"],[0,"⋈"],[0,"⋉"],[0,"⋊"],[0,"⋋"],[0,"⋌"],[0,"⋍"],[0,"⋎"],[0,"⋏"],[0,"⋐"],[0,"⋑"],[0,"⋒"],[0,"⋓"],[0,"⋔"],[0,"⋕"],[0,"⋖"],[0,"⋗"],[0,{v:"⋘",n:824,o:"⋘̸"}],[0,{v:"⋙",n:824,o:"⋙̸"}],[0,{v:"⋚",n:65024,o:"⋚︀"}],[0,{v:"⋛",n:65024,o:"⋛︀"}],[2,"⋞"],[0,"⋟"],[0,"⋠"],[0,"⋡"],[0,"⋢"],[0,"⋣"],[2,"⋦"],[0,"⋧"],[0,"⋨"],[0,"⋩"],[0,"⋪"],[0,"⋫"],[0,"⋬"],[0,"⋭"],[0,"⋮"],[0,"⋯"],[0,"⋰"],[0,"⋱"],[0,"⋲"],[0,"⋳"],[0,"⋴"],[0,{v:"⋵",n:824,o:"⋵̸"}],[0,"⋶"],[0,"⋷"],[1,{v:"⋹",n:824,o:"⋹̸"}],[0,"⋺"],[0,"⋻"],[0,"⋼"],[0,"⋽"],[0,"⋾"],[6,"⌅"],[0,"⌆"],[1,"⌈"],[0,"⌉"],[0,"⌊"],[0,"⌋"],[0,"⌌"],[0,"⌍"],[0,"⌎"],[0,"⌏"],[0,"⌐"],[1,"⌒"],[0,"⌓"],[1,"⌕"],[0,"⌖"],[5,"⌜"],[0,"⌝"],[0,"⌞"],[0,"⌟"],[2,"⌢"],[0,"⌣"],[9,"⌭"],[0,"⌮"],[7,"⌶"],[6,"⌽"],[1,"⌿"],[60,"⍼"],[51,"⎰"],[0,"⎱"],[2,"⎴"],[0,"⎵"],[0,"⎶"],[37,"⏜"],[0,"⏝"],[0,"⏞"],[0,"⏟"],[2,"⏢"],[4,"⏧"],[59,"␣"],[164,"Ⓢ"],[55,"─"],[1,"│"],[9,"┌"],[3,"┐"],[3,"└"],[3,"┘"],[3,"├"],[7,"┤"],[7,"┬"],[7,"┴"],[7,"┼"],[19,"═"],[0,"║"],[0,"╒"],[0,"╓"],[0,"╔"],[0,"╕"],[0,"╖"],[0,"╗"],[0,"╘"],[0,"╙"],[0,"╚"],[0,"╛"],[0,"╜"],[0,"╝"],[0,"╞"],[0,"╟"],[0,"╠"],[0,"╡"],[0,"╢"],[0,"╣"],[0,"╤"],[0,"╥"],[0,"╦"],[0,"╧"],[0,"╨"],[0,"╩"],[0,"╪"],[0,"╫"],[0,"╬"],[19,"▀"],[3,"▄"],[3,"█"],[8,"░"],[0,"▒"],[0,"▓"],[13,"□"],[8,"▪"],[0,"▫"],[1,"▭"],[0,"▮"],[2,"▱"],[1,"△"],[0,"▴"],[0,"▵"],[2,"▸"],[0,"▹"],[3,"▽"],[0,"▾"],[0,"▿"],[2,"◂"],[0,"◃"],[6,"◊"],[0,"○"],[32,"◬"],[2,"◯"],[8,"◸"],[0,"◹"],[0,"◺"],[0,"◻"],[0,"◼"],[8,"★"],[0,"☆"],[7,"☎"],[49,"♀"],[1,"♂"],[29,"♠"],[2,"♣"],[1,"♥"],[0,"♦"],[3,"♪"],[2,"♭"],[0,"♮"],[0,"♯"],[163,"✓"],[3,"✗"],[8,"✠"],[21,"✶"],[33,"❘"],[25,"❲"],[0,"❳"],[84,"⟈"],[0,"⟉"],[28,"⟦"],[0,"⟧"],[0,"⟨"],[0,"⟩"],[0,"⟪"],[0,"⟫"],[0,"⟬"],[0,"⟭"],[7,"⟵"],[0,"⟶"],[0,"⟷"],[0,"⟸"],[0,"⟹"],[0,"⟺"],[1,"⟼"],[2,"⟿"],[258,"⤂"],[0,"⤃"],[0,"⤄"],[0,"⤅"],[6,"⤌"],[0,"⤍"],[0,"⤎"],[0,"⤏"],[0,"⤐"],[0,"⤑"],[0,"⤒"],[0,"⤓"],[2,"⤖"],[2,"⤙"],[0,"⤚"],[0,"⤛"],[0,"⤜"],[0,"⤝"],[0,"⤞"],[0,"⤟"],[0,"⤠"],[2,"⤣"],[0,"⤤"],[0,"⤥"],[0,"⤦"],[0,"⤧"],[0,"⤨"],[0,"⤩"],[0,"⤪"],[8,{v:"⤳",n:824,o:"⤳̸"}],[1,"⤵"],[0,"⤶"],[0,"⤷"],[0,"⤸"],[0,"⤹"],[2,"⤼"],[0,"⤽"],[7,"⥅"],[2,"⥈"],[0,"⥉"],[0,"⥊"],[0,"⥋"],[2,"⥎"],[0,"⥏"],[0,"⥐"],[0,"⥑"],[0,"⥒"],[0,"⥓"],[0,"⥔"],[0,"⥕"],[0,"⥖"],[0,"⥗"],[0,"⥘"],[0,"⥙"],[0,"⥚"],[0,"⥛"],[0,"⥜"],[0,"⥝"],[0,"⥞"],[0,"⥟"],[0,"⥠"],[0,"⥡"],[0,"⥢"],[0,"⥣"],[0,"⥤"],[0,"⥥"],[0,"⥦"],[0,"⥧"],[0,"⥨"],[0,"⥩"],[0,"⥪"],[0,"⥫"],[0,"⥬"],[0,"⥭"],[0,"⥮"],[0,"⥯"],[0,"⥰"],[0,"⥱"],[0,"⥲"],[0,"⥳"],[0,"⥴"],[0,"⥵"],[0,"⥶"],[1,"⥸"],[0,"⥹"],[1,"⥻"],[0,"⥼"],[0,"⥽"],[0,"⥾"],[0,"⥿"],[5,"⦅"],[0,"⦆"],[4,"⦋"],[0,"⦌"],[0,"⦍"],[0,"⦎"],[0,"⦏"],[0,"⦐"],[0,"⦑"],[0,"⦒"],[0,"⦓"],[0,"⦔"],[0,"⦕"],[0,"⦖"],[3,"⦚"],[1,"⦜"],[0,"⦝"],[6,"⦤"],[0,"⦥"],[0,"⦦"],[0,"⦧"],[0,"⦨"],[0,"⦩"],[0,"⦪"],[0,"⦫"],[0,"⦬"],[0,"⦭"],[0,"⦮"],[0,"⦯"],[0,"⦰"],[0,"⦱"],[0,"⦲"],[0,"⦳"],[0,"⦴"],[0,"⦵"],[0,"⦶"],[0,"⦷"],[1,"⦹"],[1,"⦻"],[0,"⦼"],[1,"⦾"],[0,"⦿"],[0,"⧀"],[0,"⧁"],[0,"⧂"],[0,"⧃"],[0,"⧄"],[0,"⧅"],[3,"⧉"],[3,"⧍"],[0,"⧎"],[0,{v:"⧏",n:824,o:"⧏̸"}],[0,{v:"⧐",n:824,o:"⧐̸"}],[11,"⧜"],[0,"⧝"],[0,"⧞"],[4,"⧣"],[0,"⧤"],[0,"⧥"],[5,"⧫"],[8,"⧴"],[1,"⧶"],[9,"⨀"],[0,"⨁"],[0,"⨂"],[1,"⨄"],[1,"⨆"],[5,"⨌"],[0,"⨍"],[2,"⨐"],[0,"⨑"],[0,"⨒"],[0,"⨓"],[0,"⨔"],[0,"⨕"],[0,"⨖"],[0,"⨗"],[10,"⨢"],[0,"⨣"],[0,"⨤"],[0,"⨥"],[0,"⨦"],[0,"⨧"],[1,"⨩"],[0,"⨪"],[2,"⨭"],[0,"⨮"],[0,"⨯"],[0,"⨰"],[0,"⨱"],[1,"⨳"],[0,"⨴"],[0,"⨵"],[0,"⨶"],[0,"⨷"],[0,"⨸"],[0,"⨹"],[0,"⨺"],[0,"⨻"],[0,"⨼"],[2,"⨿"],[0,"⩀"],[1,"⩂"],[0,"⩃"],[0,"⩄"],[0,"⩅"],[0,"⩆"],[0,"⩇"],[0,"⩈"],[0,"⩉"],[0,"⩊"],[0,"⩋"],[0,"⩌"],[0,"⩍"],[2,"⩐"],[2,"⩓"],[0,"⩔"],[0,"⩕"],[0,"⩖"],[0,"⩗"],[0,"⩘"],[1,"⩚"],[0,"⩛"],[0,"⩜"],[0,"⩝"],[1,"⩟"],[6,"⩦"],[3,"⩪"],[2,{v:"⩭",n:824,o:"⩭̸"}],[0,"⩮"],[0,"⩯"],[0,{v:"⩰",n:824,o:"⩰̸"}],[0,"⩱"],[0,"⩲"],[0,"⩳"],[0,"⩴"],[0,"⩵"],[1,"⩷"],[0,"⩸"],[0,"⩹"],[0,"⩺"],[0,"⩻"],[0,"⩼"],[0,{v:"⩽",n:824,o:"⩽̸"}],[0,{v:"⩾",n:824,o:"⩾̸"}],[0,"⩿"],[0,"⪀"],[0,"⪁"],[0,"⪂"],[0,"⪃"],[0,"⪄"],[0,"⪅"],[0,"⪆"],[0,"⪇"],[0,"⪈"],[0,"⪉"],[0,"⪊"],[0,"⪋"],[0,"⪌"],[0,"⪍"],[0,"⪎"],[0,"⪏"],[0,"⪐"],[0,"⪑"],[0,"⪒"],[0,"⪓"],[0,"⪔"],[0,"⪕"],[0,"⪖"],[0,"⪗"],[0,"⪘"],[0,"⪙"],[0,"⪚"],[2,"⪝"],[0,"⪞"],[0,"⪟"],[0,"⪠"],[0,{v:"⪡",n:824,o:"⪡̸"}],[0,{v:"⪢",n:824,o:"⪢̸"}],[1,"⪤"],[0,"⪥"],[0,"⪦"],[0,"⪧"],[0,"⪨"],[0,"⪩"],[0,"⪪"],[0,"⪫"],[0,{v:"⪬",n:65024,o:"⪬︀"}],[0,{v:"⪭",n:65024,o:"⪭︀"}],[0,"⪮"],[0,{v:"⪯",n:824,o:"⪯̸"}],[0,{v:"⪰",n:824,o:"⪰̸"}],[2,"⪳"],[0,"⪴"],[0,"⪵"],[0,"⪶"],[0,"⪷"],[0,"⪸"],[0,"⪹"],[0,"⪺"],[0,"⪻"],[0,"⪼"],[0,"⪽"],[0,"⪾"],[0,"⪿"],[0,"⫀"],[0,"⫁"],[0,"⫂"],[0,"⫃"],[0,"⫄"],[0,{v:"⫅",n:824,o:"⫅̸"}],[0,{v:"⫆",n:824,o:"⫆̸"}],[0,"⫇"],[0,"⫈"],[2,{v:"⫋",n:65024,o:"⫋︀"}],[0,{v:"⫌",n:65024,o:"⫌︀"}],[2,"⫏"],[0,"⫐"],[0,"⫑"],[0,"⫒"],[0,"⫓"],[0,"⫔"],[0,"⫕"],[0,"⫖"],[0,"⫗"],[0,"⫘"],[0,"⫙"],[0,"⫚"],[0,"⫛"],[8,"⫤"],[1,"⫦"],[0,"⫧"],[0,"⫨"],[0,"⫩"],[1,"⫫"],[0,"⫬"],[0,"⫭"],[0,"⫮"],[0,"⫯"],[0,"⫰"],[0,"⫱"],[0,"⫲"],[0,"⫳"],[9,{v:"⫽",n:8421,o:"⫽⃥"}],[44343,{n:new Map(e([[56476,"𝒜"],[1,"𝒞"],[0,"𝒟"],[2,"𝒢"],[2,"𝒥"],[0,"𝒦"],[2,"𝒩"],[0,"𝒪"],[0,"𝒫"],[0,"𝒬"],[1,"𝒮"],[0,"𝒯"],[0,"𝒰"],[0,"𝒱"],[0,"𝒲"],[0,"𝒳"],[0,"𝒴"],[0,"𝒵"],[0,"𝒶"],[0,"𝒷"],[0,"𝒸"],[0,"𝒹"],[1,"𝒻"],[1,"𝒽"],[0,"𝒾"],[0,"𝒿"],[0,"𝓀"],[0,"𝓁"],[0,"𝓂"],[0,"𝓃"],[1,"𝓅"],[0,"𝓆"],[0,"𝓇"],[0,"𝓈"],[0,"𝓉"],[0,"𝓊"],[0,"𝓋"],[0,"𝓌"],[0,"𝓍"],[0,"𝓎"],[0,"𝓏"],[52,"𝔄"],[0,"𝔅"],[1,"𝔇"],[0,"𝔈"],[0,"𝔉"],[0,"𝔊"],[2,"𝔍"],[0,"𝔎"],[0,"𝔏"],[0,"𝔐"],[0,"𝔑"],[0,"𝔒"],[0,"𝔓"],[0,"𝔔"],[1,"𝔖"],[0,"𝔗"],[0,"𝔘"],[0,"𝔙"],[0,"𝔚"],[0,"𝔛"],[0,"𝔜"],[1,"𝔞"],[0,"𝔟"],[0,"𝔠"],[0,"𝔡"],[0,"𝔢"],[0,"𝔣"],[0,"𝔤"],[0,"𝔥"],[0,"𝔦"],[0,"𝔧"],[0,"𝔨"],[0,"𝔩"],[0,"𝔪"],[0,"𝔫"],[0,"𝔬"],[0,"𝔭"],[0,"𝔮"],[0,"𝔯"],[0,"𝔰"],[0,"𝔱"],[0,"𝔲"],[0,"𝔳"],[0,"𝔴"],[0,"𝔵"],[0,"𝔶"],[0,"𝔷"],[0,"𝔸"],[0,"𝔹"],[1,"𝔻"],[0,"𝔼"],[0,"𝔽"],[0,"𝔾"],[1,"𝕀"],[0,"𝕁"],[0,"𝕂"],[0,"𝕃"],[0,"𝕄"],[1,"𝕆"],[3,"𝕊"],[0,"𝕋"],[0,"𝕌"],[0,"𝕍"],[0,"𝕎"],[0,"𝕏"],[0,"𝕐"],[1,"𝕒"],[0,"𝕓"],[0,"𝕔"],[0,"𝕕"],[0,"𝕖"],[0,"𝕗"],[0,"𝕘"],[0,"𝕙"],[0,"𝕚"],[0,"𝕛"],[0,"𝕜"],[0,"𝕝"],[0,"𝕞"],[0,"𝕟"],[0,"𝕠"],[0,"𝕡"],[0,"𝕢"],[0,"𝕣"],[0,"𝕤"],[0,"𝕥"],[0,"𝕦"],[0,"𝕧"],[0,"𝕨"],[0,"𝕩"],[0,"𝕪"],[0,"𝕫"]]))}],[8906,"ff"],[0,"fi"],[0,"fl"],[0,"ffi"],[0,"ffl"]])),Tu}var ta={},v0;function ra(){return v0||(v0=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.escapeText=e.escapeAttribute=e.escapeUTF8=e.escape=e.encodeXML=e.getCodePoint=e.xmlReplacer=void 0,e.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var t=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);e.getCodePoint=String.prototype.codePointAt!=null?function(u,i){return u.codePointAt(i)}:function(u,i){return(u.charCodeAt(i)&64512)===55296?(u.charCodeAt(i)-55296)*1024+u.charCodeAt(i+1)-56320+65536:u.charCodeAt(i)};function r(u){for(var i="",a=0,s;(s=e.xmlReplacer.exec(u))!==null;){var l=s.index,c=u.charCodeAt(l),f=t.get(c);f!==void 0?(i+=u.substring(a,l)+f,a=l+1):(i+="".concat(u.substring(a,l),"&#x").concat((0,e.getCodePoint)(u,l).toString(16),";"),a=e.xmlReplacer.lastIndex+=+((c&64512)===55296))}return i+u.substr(a)}e.encodeXML=r,e.escape=r;function n(u,i){return function(s){for(var l,c=0,f="";l=u.exec(s);)c!==l.index&&(f+=s.substring(c,l.index)),f+=i.get(l[0].charCodeAt(0)),c=l.index+1;return f+s.substring(c)}}e.escapeUTF8=n(/[&<>'"]/g,t),e.escapeAttribute=n(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),e.escapeText=n(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))}(ta)),ta}var w0;function D0(){if(w0)return Dr;w0=1;var e=Dr&&Dr.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(Dr,"__esModule",{value:!0}),Dr.encodeNonAsciiHTML=Dr.encodeHTML=void 0;var t=e(Ig()),r=ra(),n=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function u(s){return a(n,s)}Dr.encodeHTML=u;function i(s){return a(r.xmlReplacer,s)}Dr.encodeNonAsciiHTML=i;function a(s,l){for(var c="",f=0,p;(p=s.exec(l))!==null;){var o=p.index;c+=l.substring(f,o);var d=l.charCodeAt(o),m=t.default.get(d);if(typeof m=="object"){if(o+1<l.length){var h=l.charCodeAt(o+1),b=typeof m.n=="number"?m.n===h?m.o:void 0:m.n.get(h);if(b!==void 0){c+=b,f=s.lastIndex+=1;continue}}m=m.v}if(m!==void 0)c+=m,f=o+1;else{var g=(0,r.getCodePoint)(l,o);c+="&#x".concat(g.toString(16),";"),f=s.lastIndex+=+(g!==d)}}return c+l.substr(f)}return Dr}var E0;function Rg(){return E0||(E0=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLAttribute=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.DecodingMode=e.EntityDecoder=e.encodeHTML5=e.encodeHTML4=e.encodeNonAsciiHTML=e.encodeHTML=e.escapeText=e.escapeAttribute=e.escapeUTF8=e.escape=e.encodeXML=e.encode=e.decodeStrict=e.decode=e.EncodingMode=e.EntityLevel=void 0;var t=_u(),r=D0(),n=ra(),u;(function(o){o[o.XML=0]="XML",o[o.HTML=1]="HTML"})(u=e.EntityLevel||(e.EntityLevel={}));var i;(function(o){o[o.UTF8=0]="UTF8",o[o.ASCII=1]="ASCII",o[o.Extensive=2]="Extensive",o[o.Attribute=3]="Attribute",o[o.Text=4]="Text"})(i=e.EncodingMode||(e.EncodingMode={}));function a(o,d){d===void 0&&(d=u.XML);var m=typeof d=="number"?d:d.level;if(m===u.HTML){var h=typeof d=="object"?d.mode:void 0;return(0,t.decodeHTML)(o,h)}return(0,t.decodeXML)(o)}e.decode=a;function s(o,d){var m;d===void 0&&(d=u.XML);var h=typeof d=="number"?{level:d}:d;return(m=h.mode)!==null&&m!==void 0||(h.mode=t.DecodingMode.Strict),a(o,h)}e.decodeStrict=s;function l(o,d){d===void 0&&(d=u.XML);var m=typeof d=="number"?{level:d}:d;return m.mode===i.UTF8?(0,n.escapeUTF8)(o):m.mode===i.Attribute?(0,n.escapeAttribute)(o):m.mode===i.Text?(0,n.escapeText)(o):m.level===u.HTML?m.mode===i.ASCII?(0,r.encodeNonAsciiHTML)(o):(0,r.encodeHTML)(o):(0,n.encodeXML)(o)}e.encode=l;var c=ra();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return c.encodeXML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return c.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return c.escapeUTF8}}),Object.defineProperty(e,"escapeAttribute",{enumerable:!0,get:function(){return c.escapeAttribute}}),Object.defineProperty(e,"escapeText",{enumerable:!0,get:function(){return c.escapeText}});var f=D0();Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return f.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return f.encodeNonAsciiHTML}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return f.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return f.encodeHTML}});var p=_u();Object.defineProperty(e,"EntityDecoder",{enumerable:!0,get:function(){return p.EntityDecoder}}),Object.defineProperty(e,"DecodingMode",{enumerable:!0,get:function(){return p.DecodingMode}}),Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return p.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return p.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return p.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTMLAttribute",{enumerable:!0,get:function(){return p.decodeHTMLAttribute}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return p.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return p.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return p.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return p.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return p.decodeXML}})}(ea)),ea}var Kr={},x0;function kg(){return x0||(x0=1,Object.defineProperty(Kr,"__esModule",{value:!0}),Kr.attributeNames=Kr.elementNames=void 0,Kr.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(e){return[e.toLowerCase(),e]})),Kr.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(e){return[e.toLowerCase(),e]}))),Kr}var A0;function qg(){if(A0)return Bt;A0=1;var e=Bt&&Bt.__assign||function(){return e=Object.assign||function(D){for(var y,E=1,A=arguments.length;E<A;E++){y=arguments[E];for(var C in y)Object.prototype.hasOwnProperty.call(y,C)&&(D[C]=y[C])}return D},e.apply(this,arguments)},t=Bt&&Bt.__createBinding||(Object.create?function(D,y,E,A){A===void 0&&(A=E);var C=Object.getOwnPropertyDescriptor(y,E);(!C||("get"in C?!y.__esModule:C.writable||C.configurable))&&(C={enumerable:!0,get:function(){return y[E]}}),Object.defineProperty(D,A,C)}:function(D,y,E,A){A===void 0&&(A=E),D[A]=y[E]}),r=Bt&&Bt.__setModuleDefault||(Object.create?function(D,y){Object.defineProperty(D,"default",{enumerable:!0,value:y})}:function(D,y){D.default=y}),n=Bt&&Bt.__importStar||function(D){if(D&&D.__esModule)return D;var y={};if(D!=null)for(var E in D)E!=="default"&&Object.prototype.hasOwnProperty.call(D,E)&&t(y,D,E);return r(y,D),y};Object.defineProperty(Bt,"__esModule",{value:!0}),Bt.render=void 0;var u=n($n()),i=Rg(),a=kg(),s=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function l(D){return D.replace(/"/g,""")}function c(D,y){var E;if(D){var A=((E=y.encodeEntities)!==null&&E!==void 0?E:y.decodeEntities)===!1?l:y.xmlMode||y.encodeEntities!=="utf8"?i.encodeXML:i.escapeAttribute;return Object.keys(D).map(function(C){var T,x,_=(T=D[C])!==null&&T!==void 0?T:"";return y.xmlMode==="foreign"&&(C=(x=a.attributeNames.get(C))!==null&&x!==void 0?x:C),!y.emptyAttrs&&!y.xmlMode&&_===""?C:"".concat(C,'="').concat(A(_),'"')}).join(" ")}}var f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function p(D,y){y===void 0&&(y={});for(var E=("length"in D)?D:[D],A="",C=0;C<E.length;C++)A+=o(E[C],y);return A}Bt.render=p,Bt.default=p;function o(D,y){switch(D.type){case u.Root:return p(D.children,y);case u.Doctype:case u.Directive:return b(D);case u.Comment:return v(D);case u.CDATA:return w(D);case u.Script:case u.Style:case u.Tag:return h(D,y);case u.Text:return g(D,y)}}var d=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m=new Set(["svg","math"]);function h(D,y){var E;y.xmlMode==="foreign"&&(D.name=(E=a.elementNames.get(D.name))!==null&&E!==void 0?E:D.name,D.parent&&d.has(D.parent.name)&&(y=e(e({},y),{xmlMode:!1}))),!y.xmlMode&&m.has(D.name)&&(y=e(e({},y),{xmlMode:"foreign"}));var A="<".concat(D.name),C=c(D.attribs,y);return C&&(A+=" ".concat(C)),D.children.length===0&&(y.xmlMode?y.selfClosingTags!==!1:y.selfClosingTags&&f.has(D.name))?(y.xmlMode||(A+=" "),A+="/>"):(A+=">",D.children.length>0&&(A+=p(D.children,y)),(y.xmlMode||!f.has(D.name))&&(A+="</".concat(D.name,">"))),A}function b(D){return"<".concat(D.data,">")}function g(D,y){var E,A=D.data||"";return((E=y.encodeEntities)!==null&&E!==void 0?E:y.decodeEntities)!==!1&&!(!y.xmlMode&&D.parent&&s.has(D.parent.name))&&(A=y.xmlMode||y.encodeEntities!=="utf8"?(0,i.encodeXML)(A):(0,i.escapeText)(A)),A}function w(D){return"<![CDATA[".concat(D.children[0].data,"]]>")}function v(D){return"<!--".concat(D.data,"-->")}return Bt}var C0;function _0(){if(C0)return lr;C0=1;var e=lr&&lr.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(lr,"__esModule",{value:!0}),lr.getOuterHTML=u,lr.getInnerHTML=i,lr.getText=a,lr.textContent=s,lr.innerText=l;var t=Pr(),r=e(qg()),n=$n();function u(c,f){return(0,r.default)(c,f)}function i(c,f){return(0,t.hasChildren)(c)?c.children.map(function(p){return u(p,f)}).join(""):""}function a(c){return Array.isArray(c)?c.map(a).join(""):(0,t.isTag)(c)?c.name==="br"?`
|
|
31
|
+
`:a(c.children):(0,t.isCDATA)(c)?a(c.children):(0,t.isText)(c)?c.data:""}function s(c){return Array.isArray(c)?c.map(s).join(""):(0,t.hasChildren)(c)&&!(0,t.isComment)(c)?s(c.children):(0,t.isText)(c)?c.data:""}function l(c){return Array.isArray(c)?c.map(l).join(""):(0,t.hasChildren)(c)&&(c.type===n.ElementType.Tag||(0,t.isCDATA)(c))?l(c.children):(0,t.isText)(c)?c.data:""}return lr}var nr={},T0;function Lg(){if(T0)return nr;T0=1,Object.defineProperty(nr,"__esModule",{value:!0}),nr.getChildren=t,nr.getParent=r,nr.getSiblings=n,nr.getAttributeValue=u,nr.hasAttrib=i,nr.getName=a,nr.nextElementSibling=s,nr.prevElementSibling=l;var e=Pr();function t(c){return(0,e.hasChildren)(c)?c.children:[]}function r(c){return c.parent||null}function n(c){var f,p,o=r(c);if(o!=null)return t(o);for(var d=[c],m=c.prev,h=c.next;m!=null;)d.unshift(m),f=m,m=f.prev;for(;h!=null;)d.push(h),p=h,h=p.next;return d}function u(c,f){var p;return(p=c.attribs)===null||p===void 0?void 0:p[f]}function i(c,f){return c.attribs!=null&&Object.prototype.hasOwnProperty.call(c.attribs,f)&&c.attribs[f]!=null}function a(c){return c.name}function s(c){for(var f,p=c.next;p!==null&&!(0,e.isTag)(p);)f=p,p=f.next;return p}function l(c){for(var f,p=c.prev;p!==null&&!(0,e.isTag)(p);)f=p,p=f.prev;return p}return nr}var Er={},S0;function jg(){if(S0)return Er;S0=1,Object.defineProperty(Er,"__esModule",{value:!0}),Er.removeElement=e,Er.replaceElement=t,Er.appendChild=r,Er.append=n,Er.prependChild=u,Er.prepend=i;function e(a){if(a.prev&&(a.prev.next=a.next),a.next&&(a.next.prev=a.prev),a.parent){var s=a.parent.children,l=s.lastIndexOf(a);l>=0&&s.splice(l,1)}a.next=null,a.prev=null,a.parent=null}function t(a,s){var l=s.prev=a.prev;l&&(l.next=s);var c=s.next=a.next;c&&(c.prev=s);var f=s.parent=a.parent;if(f){var p=f.children;p[p.lastIndexOf(a)]=s,a.parent=null}}function r(a,s){if(e(s),s.next=null,s.parent=a,a.children.push(s)>1){var l=a.children[a.children.length-2];l.next=s,s.prev=l}else s.prev=null}function n(a,s){e(s);var l=a.parent,c=a.next;if(s.next=c,s.prev=a,a.next=s,s.parent=l,c){if(c.prev=s,l){var f=l.children;f.splice(f.lastIndexOf(c),0,s)}}else l&&l.children.push(s)}function u(a,s){if(e(s),s.parent=a,s.prev=null,a.children.unshift(s)!==1){var l=a.children[1];l.prev=s,s.next=l}else s.next=null}function i(a,s){e(s);var l=a.parent;if(l){var c=l.children;c.splice(c.indexOf(a),0,s)}a.prev&&(a.prev.next=s),s.parent=l,s.prev=a.prev,s.next=a,a.prev=s}return Er}var xr={},F0;function O0(){if(F0)return xr;F0=1,Object.defineProperty(xr,"__esModule",{value:!0}),xr.filter=t,xr.find=r,xr.findOneChild=n,xr.findOne=u,xr.existsOne=i,xr.findAll=a;var e=Pr();function t(s,l,c,f){return c===void 0&&(c=!0),f===void 0&&(f=1/0),r(s,Array.isArray(l)?l:[l],c,f)}function r(s,l,c,f){for(var p=[],o=[Array.isArray(l)?l:[l]],d=[0];;){if(d[0]>=o[0].length){if(d.length===1)return p;o.shift(),d.shift();continue}var m=o[0][d[0]++];if(s(m)&&(p.push(m),--f<=0))return p;c&&(0,e.hasChildren)(m)&&m.children.length>0&&(d.unshift(0),o.unshift(m.children))}}function n(s,l){return l.find(s)}function u(s,l,c){c===void 0&&(c=!0);for(var f=Array.isArray(l)?l:[l],p=0;p<f.length;p++){var o=f[p];if((0,e.isTag)(o)&&s(o))return o;if(c&&(0,e.hasChildren)(o)&&o.children.length>0){var d=u(s,o.children,!0);if(d)return d}}return null}function i(s,l){return(Array.isArray(l)?l:[l]).some(function(c){return(0,e.isTag)(c)&&s(c)||(0,e.hasChildren)(c)&&i(s,c.children)})}function a(s,l){for(var c=[],f=[Array.isArray(l)?l:[l]],p=[0];;){if(p[0]>=f[0].length){if(f.length===1)return c;f.shift(),p.shift();continue}var o=f[0][p[0]++];(0,e.isTag)(o)&&s(o)&&c.push(o),(0,e.hasChildren)(o)&&o.children.length>0&&(p.unshift(0),f.unshift(o.children))}}return xr}var Ar={},N0;function M0(){if(N0)return Ar;N0=1,Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.testElement=a,Ar.getElements=s,Ar.getElementById=l,Ar.getElementsByTagName=c,Ar.getElementsByClassName=f,Ar.getElementsByTagType=p;var e=Pr(),t=O0(),r={tag_name:function(o){return typeof o=="function"?function(d){return(0,e.isTag)(d)&&o(d.name)}:o==="*"?e.isTag:function(d){return(0,e.isTag)(d)&&d.name===o}},tag_type:function(o){return typeof o=="function"?function(d){return o(d.type)}:function(d){return d.type===o}},tag_contains:function(o){return typeof o=="function"?function(d){return(0,e.isText)(d)&&o(d.data)}:function(d){return(0,e.isText)(d)&&d.data===o}}};function n(o,d){return typeof d=="function"?function(m){return(0,e.isTag)(m)&&d(m.attribs[o])}:function(m){return(0,e.isTag)(m)&&m.attribs[o]===d}}function u(o,d){return function(m){return o(m)||d(m)}}function i(o){var d=Object.keys(o).map(function(m){var h=o[m];return Object.prototype.hasOwnProperty.call(r,m)?r[m](h):n(m,h)});return d.length===0?null:d.reduce(u)}function a(o,d){var m=i(o);return m?m(d):!0}function s(o,d,m,h){h===void 0&&(h=1/0);var b=i(o);return b?(0,t.filter)(b,d,m,h):[]}function l(o,d,m){return m===void 0&&(m=!0),Array.isArray(d)||(d=[d]),(0,t.findOne)(n("id",o),d,m)}function c(o,d,m,h){return m===void 0&&(m=!0),h===void 0&&(h=1/0),(0,t.filter)(r.tag_name(o),d,m,h)}function f(o,d,m,h){return m===void 0&&(m=!0),h===void 0&&(h=1/0),(0,t.filter)(n("class",o),d,m,h)}function p(o,d,m,h){return m===void 0&&(m=!0),h===void 0&&(h=1/0),(0,t.filter)(r.tag_type(o),d,m,h)}return Ar}var Br={},P0;function $g(){if(P0)return Br;P0=1,Object.defineProperty(Br,"__esModule",{value:!0}),Br.DocumentPosition=void 0,Br.removeSubsets=t,Br.compareDocumentPosition=n,Br.uniqueSort=u;var e=Pr();function t(i){for(var a=i.length;--a>=0;){var s=i[a];if(a>0&&i.lastIndexOf(s,a-1)>=0){i.splice(a,1);continue}for(var l=s.parent;l;l=l.parent)if(i.includes(l)){i.splice(a,1);break}}return i}var r;(function(i){i[i.DISCONNECTED=1]="DISCONNECTED",i[i.PRECEDING=2]="PRECEDING",i[i.FOLLOWING=4]="FOLLOWING",i[i.CONTAINS=8]="CONTAINS",i[i.CONTAINED_BY=16]="CONTAINED_BY"})(r||(Br.DocumentPosition=r={}));function n(i,a){var s=[],l=[];if(i===a)return 0;for(var c=(0,e.hasChildren)(i)?i:i.parent;c;)s.unshift(c),c=c.parent;for(c=(0,e.hasChildren)(a)?a:a.parent;c;)l.unshift(c),c=c.parent;for(var f=Math.min(s.length,l.length),p=0;p<f&&s[p]===l[p];)p++;if(p===0)return r.DISCONNECTED;var o=s[p-1],d=o.children,m=s[p],h=l[p];return d.indexOf(m)>d.indexOf(h)?o===a?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:o===i?r.PRECEDING|r.CONTAINS:r.PRECEDING}function u(i){return i=i.filter(function(a,s,l){return!l.includes(a,s+1)}),i.sort(function(a,s){var l=n(a,s);return l&r.PRECEDING?-1:l&r.FOLLOWING?1:0}),i}return Br}var Su={},B0;function zg(){if(B0)return Su;B0=1,Object.defineProperty(Su,"__esModule",{value:!0}),Su.getFeed=r;var e=_0(),t=M0();function r(o){var d=l(p,o);return d?d.name==="feed"?n(d):u(d):null}function n(o){var d,m=o.children,h={type:"atom",items:(0,t.getElementsByTagName)("entry",m).map(function(w){var v,D=w.children,y={media:s(D)};f(y,"id","id",D),f(y,"title","title",D);var E=(v=l("link",D))===null||v===void 0?void 0:v.attribs.href;E&&(y.link=E);var A=c("summary",D)||c("content",D);A&&(y.description=A);var C=c("updated",D);return C&&(y.pubDate=new Date(C)),y})};f(h,"id","id",m),f(h,"title","title",m);var b=(d=l("link",m))===null||d===void 0?void 0:d.attribs.href;b&&(h.link=b),f(h,"description","subtitle",m);var g=c("updated",m);return g&&(h.updated=new Date(g)),f(h,"author","email",m,!0),h}function u(o){var d,m,h=(m=(d=l("channel",o.children))===null||d===void 0?void 0:d.children)!==null&&m!==void 0?m:[],b={type:o.name.substr(0,3),id:"",items:(0,t.getElementsByTagName)("item",o.children).map(function(w){var v=w.children,D={media:s(v)};f(D,"id","guid",v),f(D,"title","title",v),f(D,"link","link",v),f(D,"description","description",v);var y=c("pubDate",v)||c("dc:date",v);return y&&(D.pubDate=new Date(y)),D})};f(b,"title","title",h),f(b,"link","link",h),f(b,"description","description",h);var g=c("lastBuildDate",h);return g&&(b.updated=new Date(g)),f(b,"author","managingEditor",h,!0),b}var i=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(o){return(0,t.getElementsByTagName)("media:content",o).map(function(d){for(var m=d.attribs,h={medium:m.medium,isDefault:!!m.isDefault},b=0,g=i;b<g.length;b++){var w=g[b];m[w]&&(h[w]=m[w])}for(var v=0,D=a;v<D.length;v++){var w=D[v];m[w]&&(h[w]=parseInt(m[w],10))}return m.expression&&(h.expression=m.expression),h})}function l(o,d){return(0,t.getElementsByTagName)(o,d,!0,1)[0]}function c(o,d,m){return m===void 0&&(m=!1),(0,e.textContent)((0,t.getElementsByTagName)(o,d,m,1)).trim()}function f(o,d,m,h,b){b===void 0&&(b=!1);var g=c(m,h,b);g&&(o[d]=g)}function p(o){return o==="rss"||o==="feed"||o==="rdf:RDF"}return Su}var I0;function na(){return I0||(I0=1,function(e){var t=Qr&&Qr.__createBinding||(Object.create?function(u,i,a,s){s===void 0&&(s=a);var l=Object.getOwnPropertyDescriptor(i,a);(!l||("get"in l?!i.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return i[a]}}),Object.defineProperty(u,s,l)}:function(u,i,a,s){s===void 0&&(s=a),u[s]=i[a]}),r=Qr&&Qr.__exportStar||function(u,i){for(var a in u)a!=="default"&&!Object.prototype.hasOwnProperty.call(i,a)&&t(i,u,a)};Object.defineProperty(e,"__esModule",{value:!0}),e.hasChildren=e.isDocument=e.isComment=e.isText=e.isCDATA=e.isTag=void 0,r(_0(),e),r(Lg(),e),r(jg(),e),r(O0(),e),r(M0(),e),r($g(),e),r(zg(),e);var n=Pr();Object.defineProperty(e,"isTag",{enumerable:!0,get:function(){return n.isTag}}),Object.defineProperty(e,"isCDATA",{enumerable:!0,get:function(){return n.isCDATA}}),Object.defineProperty(e,"isText",{enumerable:!0,get:function(){return n.isText}}),Object.defineProperty(e,"isComment",{enumerable:!0,get:function(){return n.isComment}}),Object.defineProperty(e,"isDocument",{enumerable:!0,get:function(){return n.isDocument}}),Object.defineProperty(e,"hasChildren",{enumerable:!0,get:function(){return n.hasChildren}})}(Qr)),Qr}var R0;function Hg(){return R0||(R0=1,function(e){var t=er&&er.__createBinding||(Object.create?function(g,w,v,D){D===void 0&&(D=v);var y=Object.getOwnPropertyDescriptor(w,v);(!y||("get"in y?!w.__esModule:y.writable||y.configurable))&&(y={enumerable:!0,get:function(){return w[v]}}),Object.defineProperty(g,D,y)}:function(g,w,v,D){D===void 0&&(D=v),g[D]=w[v]}),r=er&&er.__setModuleDefault||(Object.create?function(g,w){Object.defineProperty(g,"default",{enumerable:!0,value:w})}:function(g,w){g.default=w}),n=er&&er.__importStar||function(g){if(g&&g.__esModule)return g;var w={};if(g!=null)for(var v in g)v!=="default"&&Object.prototype.hasOwnProperty.call(g,v)&&t(w,g,v);return r(w,g),w},u=er&&er.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(e,"__esModule",{value:!0}),e.DomUtils=e.parseFeed=e.getFeed=e.ElementType=e.Tokenizer=e.createDomStream=e.parseDOM=e.parseDocument=e.DefaultHandler=e.DomHandler=e.Parser=void 0;var i=h0(),a=h0();Object.defineProperty(e,"Parser",{enumerable:!0,get:function(){return a.Parser}});var s=Pr(),l=Pr();Object.defineProperty(e,"DomHandler",{enumerable:!0,get:function(){return l.DomHandler}}),Object.defineProperty(e,"DefaultHandler",{enumerable:!0,get:function(){return l.DomHandler}});function c(g,w){var v=new s.DomHandler(void 0,w);return new i.Parser(v,w).end(g),v.root}e.parseDocument=c;function f(g,w){return c(g,w).children}e.parseDOM=f;function p(g,w,v){var D=new s.DomHandler(g,w,v);return new i.Parser(D,w)}e.createDomStream=p;var o=l0();Object.defineProperty(e,"Tokenizer",{enumerable:!0,get:function(){return u(o).default}}),e.ElementType=n($n());var d=na(),m=na();Object.defineProperty(e,"getFeed",{enumerable:!0,get:function(){return m.getFeed}});var h={xmlMode:!0};function b(g,w){return w===void 0&&(w=h),(0,d.getFeed)(f(g,w))}e.parseFeed=b,e.DomUtils=n(na())}(er)),er}var ua,k0;function Ug(){return k0||(k0=1,ua=e=>{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),ua}var Fu={},q0;function Vg(){if(q0)return Fu;q0=1,Object.defineProperty(Fu,"__esModule",{value:!0});/*!
|
|
32
32
|
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|
33
33
|
*
|
|
34
34
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
35
35
|
* Released under the MIT License.
|
|
36
|
-
*/function e(
|
|
37
|
-
`||D==="\f"||D==="\r"}function n(D){var
|
|
36
|
+
*/function e(r){return Object.prototype.toString.call(r)==="[object Object]"}function t(r){var n,u;return e(r)===!1?!1:(n=r.constructor,n===void 0?!0:(u=n.prototype,!(e(u)===!1||u.hasOwnProperty("isPrototypeOf")===!1)))}return Fu.isPlainObject=t,Fu}var ia,L0;function Wg(){if(L0)return ia;L0=1;var e=function(w){return t(w)&&!r(w)};function t(g){return!!g&&typeof g=="object"}function r(g){var w=Object.prototype.toString.call(g);return w==="[object RegExp]"||w==="[object Date]"||i(g)}var n=typeof Symbol=="function"&&Symbol.for,u=n?Symbol.for("react.element"):60103;function i(g){return g.$$typeof===u}function a(g){return Array.isArray(g)?[]:{}}function s(g,w){return w.clone!==!1&&w.isMergeableObject(g)?h(a(g),g,w):g}function l(g,w,v){return g.concat(w).map(function(D){return s(D,v)})}function c(g,w){if(!w.customMerge)return h;var v=w.customMerge(g);return typeof v=="function"?v:h}function f(g){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(g).filter(function(w){return Object.propertyIsEnumerable.call(g,w)}):[]}function p(g){return Object.keys(g).concat(f(g))}function o(g,w){try{return w in g}catch{return!1}}function d(g,w){return o(g,w)&&!(Object.hasOwnProperty.call(g,w)&&Object.propertyIsEnumerable.call(g,w))}function m(g,w,v){var D={};return v.isMergeableObject(g)&&p(g).forEach(function(y){D[y]=s(g[y],v)}),p(w).forEach(function(y){d(g,y)||(o(g,y)&&v.isMergeableObject(w[y])?D[y]=c(y,v)(g[y],w[y],v):D[y]=s(w[y],v))}),D}function h(g,w,v){v=v||{},v.arrayMerge=v.arrayMerge||l,v.isMergeableObject=v.isMergeableObject||e,v.cloneUnlessOtherwiseSpecified=s;var D=Array.isArray(w),y=Array.isArray(g),E=D===y;return E?D?v.arrayMerge(g,w,v):m(g,w,v):s(w,v)}h.all=function(w,v){if(!Array.isArray(w))throw new Error("first argument should be an array");return w.reduce(function(D,y){return h(D,y,v)},{})};var b=h;return ia=b,ia}var Ou={exports:{}},Yg=Ou.exports,j0;function Gg(){return j0||(j0=1,function(e){(function(t,r){e.exports?e.exports=r():t.parseSrcset=r()})(Yg,function(){return function(t){function r(D){return D===" "||D===" "||D===`
|
|
37
|
+
`||D==="\f"||D==="\r"}function n(D){var y,E=D.exec(t.substring(b));if(E)return y=E[0],b+=y.length,y}for(var u=t.length,i=/^[ \t\n\r\u000c]+/,a=/^[, \t\n\r\u000c]+/,s=/^[^ \t\n\r\u000c]+/,l=/[,]+$/,c=/^\d+$/,f=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,p,o,d,m,h,b=0,g=[];;){if(n(a),b>=u)return g;p=n(s),o=[],p.slice(-1)===","?(p=p.replace(l,""),v()):w()}function w(){for(n(i),d="",m="in descriptor";;){if(h=t.charAt(b),m==="in descriptor")if(r(h))d&&(o.push(d),d="",m="after descriptor");else if(h===","){b+=1,d&&o.push(d),v();return}else if(h==="(")d=d+h,m="in parens";else if(h===""){d&&o.push(d),v();return}else d=d+h;else if(m==="in parens")if(h===")")d=d+h,m="in descriptor";else if(h===""){o.push(d),v();return}else d=d+h;else if(m==="after descriptor"&&!r(h))if(h===""){v();return}else m="in descriptor",b-=1;b+=1}}function v(){var D=!1,y,E,A,C,T={},x,_,F,M,B;for(C=0;C<o.length;C++)x=o[C],_=x[x.length-1],F=x.substring(0,x.length-1),M=parseInt(F,10),B=parseFloat(F),c.test(F)&&_==="w"?((y||E)&&(D=!0),M===0?D=!0:y=M):f.test(F)&&_==="x"?((y||E||A)&&(D=!0),B<0?D=!0:E=B):c.test(F)&&_==="h"?((A||E)&&(D=!0),M===0?D=!0:A=M):D=!0;D?console&&console.log&&console.log("Invalid srcset descriptor found in '"+t+"' at '"+x+"'."):(T.url=p,y&&(T.w=y),E&&(T.d=E),A&&(T.h=A),g.push(T))}}})}(Ou)),Ou.exports}var Nu={exports:{}},$0;function Xg(){if($0)return Nu.exports;$0=1;var e=String,t=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e,blackBright:e,redBright:e,greenBright:e,yellowBright:e,blueBright:e,magentaBright:e,cyanBright:e,whiteBright:e,bgBlackBright:e,bgRedBright:e,bgGreenBright:e,bgYellowBright:e,bgBlueBright:e,bgMagentaBright:e,bgCyanBright:e,bgWhiteBright:e}};return Nu.exports=t(),Nu.exports.createColors=t,Nu.exports}const ur=up(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var aa,z0;function sa(){if(z0)return aa;z0=1;let e=Xg(),t=ur;class r extends Error{constructor(u,i,a,s,l,c){super(u),this.name="CssSyntaxError",this.reason=u,l&&(this.file=l),s&&(this.source=s),c&&(this.plugin=c),typeof i<"u"&&typeof a<"u"&&(typeof i=="number"?(this.line=i,this.column=a):(this.line=i.line,this.column=i.column,this.endLine=a.line,this.endColumn=a.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,r)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(u){if(!this.source)return"";let i=this.source;u==null&&(u=e.isColorSupported);let a=d=>d,s=d=>d,l=d=>d;if(u){let{bold:d,gray:m,red:h}=e.createColors(!0);s=b=>d(h(b)),a=b=>m(b),t&&(l=b=>t(b))}let c=i.split(/\r?\n/),f=Math.max(this.line-3,0),p=Math.min(this.line+2,c.length),o=String(p).length;return c.slice(f,p).map((d,m)=>{let h=f+1+m,b=" "+(" "+h).slice(-o)+" | ";if(h===this.line){if(d.length>160){let w=20,v=Math.max(0,this.column-w),D=Math.max(this.column+w,this.endColumn+w),y=d.slice(v,D),E=a(b.replace(/\d/g," "))+d.slice(0,Math.min(this.column-1,w-1)).replace(/[^\t]/g," ");return s(">")+a(b)+l(y)+`
|
|
38
38
|
`+E+s("^")}let g=a(b.replace(/\d/g," "))+d.slice(0,this.column-1).replace(/[^\t]/g," ");return s(">")+a(b)+l(d)+`
|
|
39
39
|
`+g+s("^")}return" "+a(b)+l(d)}).join(`
|
|
40
40
|
`)}toString(){let u=this.showSourceCode();return u&&(u=`
|
|
41
41
|
|
|
42
42
|
`+u+`
|
|
43
|
-
`),this.name+": "+this.message+u}}return
|
|
43
|
+
`),this.name+": "+this.message+u}}return aa=r,r.default=r,aa}var oa,H0;function U0(){if(H0)return oa;H0=1;const e={after:`
|
|
44
44
|
`,beforeClose:`
|
|
45
45
|
`,beforeComment:`
|
|
46
46
|
`,beforeDecl:`
|
|
47
47
|
`,beforeOpen:" ",beforeRule:`
|
|
48
|
-
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function
|
|
49
|
-
`)){let c=this.raw(u,null,"indent");if(c.length)for(let f=0;f<l;f++)a+=c}return a}block(u,i){let a=this.raw(u,"between","beforeOpen");this.builder(i+a+"{",u,"start");let s;u.nodes&&u.nodes.length?(this.body(u),s=this.raw(u,"after")):s=this.raw(u,"after","emptyBody"),s&&this.builder(s),this.builder("}",u,"end")}body(u){let i=u.nodes.length-1;for(;i>0&&u.nodes[i].type==="comment";)i-=1;let a=this.raw(u,"semicolon");for(let s=0;s<u.nodes.length;s++){let l=u.nodes[s],c=this.raw(l,"before");c&&this.builder(c),this.stringify(l,i!==s||a)}}comment(u){let i=this.raw(u,"left","commentLeft"),a=this.raw(u,"right","commentRight");this.builder("/*"+i+u.text+a+"*/",u)}decl(u,i){let a=this.raw(u,"between","colon"),s=u.prop+a+this.rawValue(u,"value");u.important&&(s+=u.raws.important||" !important"),i&&(s+=";"),this.builder(s,u)}document(u){this.body(u)}raw(u,i,a){let s;if(a||(a=i),i&&(s=u.raws[i],typeof s<"u"))return s;let l=u.parent;if(a==="before"&&(!l||l.type==="root"&&l.first===u||l&&l.type==="document"))return"";if(!l)return e[a];let c=u.root();if(c.rawCache||(c.rawCache={}),typeof c.rawCache[a]<"u")return c.rawCache[a];if(a==="before"||a==="after")return this.beforeAfter(u,a);{let f="raw"+
|
|
48
|
+
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function t(n){return n[0].toUpperCase()+n.slice(1)}class r{constructor(u){this.builder=u}atrule(u,i){let a="@"+u.name,s=u.params?this.rawValue(u,"params"):"";if(typeof u.raws.afterName<"u"?a+=u.raws.afterName:s&&(a+=" "),u.nodes)this.block(u,a+s);else{let l=(u.raws.between||"")+(i?";":"");this.builder(a+s+l,u)}}beforeAfter(u,i){let a;u.type==="decl"?a=this.raw(u,null,"beforeDecl"):u.type==="comment"?a=this.raw(u,null,"beforeComment"):i==="before"?a=this.raw(u,null,"beforeRule"):a=this.raw(u,null,"beforeClose");let s=u.parent,l=0;for(;s&&s.type!=="root";)l+=1,s=s.parent;if(a.includes(`
|
|
49
|
+
`)){let c=this.raw(u,null,"indent");if(c.length)for(let f=0;f<l;f++)a+=c}return a}block(u,i){let a=this.raw(u,"between","beforeOpen");this.builder(i+a+"{",u,"start");let s;u.nodes&&u.nodes.length?(this.body(u),s=this.raw(u,"after")):s=this.raw(u,"after","emptyBody"),s&&this.builder(s),this.builder("}",u,"end")}body(u){let i=u.nodes.length-1;for(;i>0&&u.nodes[i].type==="comment";)i-=1;let a=this.raw(u,"semicolon");for(let s=0;s<u.nodes.length;s++){let l=u.nodes[s],c=this.raw(l,"before");c&&this.builder(c),this.stringify(l,i!==s||a)}}comment(u){let i=this.raw(u,"left","commentLeft"),a=this.raw(u,"right","commentRight");this.builder("/*"+i+u.text+a+"*/",u)}decl(u,i){let a=this.raw(u,"between","colon"),s=u.prop+a+this.rawValue(u,"value");u.important&&(s+=u.raws.important||" !important"),i&&(s+=";"),this.builder(s,u)}document(u){this.body(u)}raw(u,i,a){let s;if(a||(a=i),i&&(s=u.raws[i],typeof s<"u"))return s;let l=u.parent;if(a==="before"&&(!l||l.type==="root"&&l.first===u||l&&l.type==="document"))return"";if(!l)return e[a];let c=u.root();if(c.rawCache||(c.rawCache={}),typeof c.rawCache[a]<"u")return c.rawCache[a];if(a==="before"||a==="after")return this.beforeAfter(u,a);{let f="raw"+t(a);this[f]?s=this[f](c,u):c.walk(p=>{if(s=p.raws[i],typeof s<"u")return!1})}return typeof s>"u"&&(s=e[a]),c.rawCache[a]=s,s}rawBeforeClose(u){let i;return u.walk(a=>{if(a.nodes&&a.nodes.length>0&&typeof a.raws.after<"u")return i=a.raws.after,i.includes(`
|
|
50
50
|
`)&&(i=i.replace(/[^\n]+$/,"")),!1}),i&&(i=i.replace(/\S/g,"")),i}rawBeforeComment(u,i){let a;return u.walkComments(s=>{if(typeof s.raws.before<"u")return a=s.raws.before,a.includes(`
|
|
51
51
|
`)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a>"u"?a=this.raw(i,null,"beforeDecl"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeDecl(u,i){let a;return u.walkDecls(s=>{if(typeof s.raws.before<"u")return a=s.raws.before,a.includes(`
|
|
52
52
|
`)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a>"u"?a=this.raw(i,null,"beforeRule"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeOpen(u){let i;return u.walk(a=>{if(a.type!=="decl"&&(i=a.raws.between,typeof i<"u"))return!1}),i}rawBeforeRule(u){let i;return u.walk(a=>{if(a.nodes&&(a.parent!==u||u.first!==a)&&typeof a.raws.before<"u")return i=a.raws.before,i.includes(`
|
|
53
53
|
`)&&(i=i.replace(/[^\n]+$/,"")),!1}),i&&(i=i.replace(/\S/g,"")),i}rawColon(u){let i;return u.walkDecls(a=>{if(typeof a.raws.between<"u")return i=a.raws.between.replace(/[^\s:]/g,""),!1}),i}rawEmptyBody(u){let i;return u.walk(a=>{if(a.nodes&&a.nodes.length===0&&(i=a.raws.after,typeof i<"u"))return!1}),i}rawIndent(u){if(u.raws.indent)return u.raws.indent;let i;return u.walk(a=>{let s=a.parent;if(s&&s!==u&&s.parent&&s.parent===u&&typeof a.raws.before<"u"){let l=a.raws.before.split(`
|
|
54
|
-
`);return i=l[l.length-1],i=i.replace(/\S/g,""),!1}}),i}rawSemicolon(u){let i;return u.walk(a=>{if(a.nodes&&a.nodes.length&&a.last.type==="decl"&&(i=a.raws.semicolon,typeof i<"u"))return!1}),i}rawValue(u,i){let a=u[i],s=u.raws[i];return s&&s.value===a?s.raw:a}root(u){this.body(u),u.raws.after&&this.builder(u.raws.after)}rule(u){this.block(u,this.rawValue(u,"selector")),u.raws.ownSemicolon&&this.builder(u.raws.ownSemicolon,u,"end")}stringify(u,i){if(!this[u.type])throw new Error("Unknown AST node type "+u.type+". Maybe you need to change PostCSS stringifier.");this[u.type](u,i)}}return
|
|
55
|
-
`?(f=1,p+=1):f+=1}return o}class s{get proxyOf(){return this}constructor(c={}){this.raws={},this[n]=!1,this[u]=!0;for(let f in c)if(f==="nodes"){this.nodes=[];for(let p of c[f])typeof p.clone=="function"?this.append(p.clone()):this.append(p)}else this[f]=c[f]}addToError(c){if(c.postcssNode=this,c.stack&&this.source&&/\n\s{4}at /.test(c.stack)){let f=this.source;c.stack=c.stack.replace(/\n\s{4}at /,`$&${f.input.from}:${f.start.line}:${f.start.column}$&`)}return c}after(c){return this.parent.insertAfter(this,c),this}assign(c={}){for(let f in c)this[f]=c[f];return this}before(c){return this.parent.insertBefore(this,c),this}cleanRaws(c){delete this.raws.before,delete this.raws.after,c||delete this.raws.between}clone(c={}){let f=i(this);for(let p in c)f[p]=c[p];return f}cloneAfter(c={}){let f=this.clone(c);return this.parent.insertAfter(this,f),f}cloneBefore(c={}){let f=this.clone(c);return this.parent.insertBefore(this,f),f}error(c,f={}){if(this.source){let{end:p,start:o}=this.rangeBy(f);return this.source.input.error(c,{column:o.column,line:o.line},{column:p.column,line:p.line},f)}return new e(c)}getProxyProcessor(){return{get(c,f){return f==="proxyOf"?c:f==="root"?()=>c.root().toProxy():c[f]},set(c,f,p){return c[f]===p||(c[f]=p,(f==="prop"||f==="value"||f==="name"||f==="params"||f==="important"||f==="text")&&c.markDirty()),!0}}}markClean(){this[n]=!0}markDirty(){if(this[n]){this[n]=!1;let c=this;for(;c=c.parent;)c[n]=!1}}next(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c+1]}positionBy(c
|
|
56
|
-
`?(f=1,p+=1):f+=1;return{column:f,line:p,offset:m}}prev(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c-1]}rangeBy(c={}){let f="document"in this.source.input?this.source.input.document:this.source.input.css,p={column:this.source.start.column,line:this.source.start.line,offset:a(f,this.source.start)},o=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:a(f,this.source.end)+1}:{column:p.column+1,line:p.line,offset:p.offset+1};if(c.word){let m=f.slice(a(f,this.source.start),a(f,this.source.end)).indexOf(c.word);m!==-1&&(p=this.positionInside(m),o=this.positionInside(m+c.word.length))}else c.start?p={column:c.start.column,line:c.start.line,offset:a(f,c.start)}:c.index&&(p=this.positionInside(c.index)),c.end?o={column:c.end.column,line:c.end.line,offset:a(f,c.end)}:typeof c.endIndex=="number"?o=this.positionInside(c.endIndex):c.index&&(o=this.positionInside(c.index+1));return(o.line<p.line||o.line===p.line&&o.column<=p.column)&&(o={column:p.column+1,line:p.line,offset:p.offset+1}),{end:o,start:p}}raw(c,f){return new r().raw(this,c,f)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...c){if(this.parent){let f=this,p=!1;for(let o of c)o===this?p=!0:p?(this.parent.insertAfter(f,o),f=o):this.parent.insertBefore(f,o);p||this.remove()}return this}root(){let c=this;for(;c.parent&&c.parent.type!=="document";)c=c.parent;return c}toJSON(c,f){let p={},o=f==null;f=f||new Map;let d=0;for(let m in this){if(!Object.prototype.hasOwnProperty.call(this,m)||m==="parent"||m==="proxyCache")continue;let h=this[m];if(Array.isArray(h))p[m]=h.map(b=>typeof b=="object"&&b.toJSON?b.toJSON(null,f):b);else if(typeof h=="object"&&h.toJSON)p[m]=h.toJSON(null,f);else if(m==="source"){if(h==null)continue;let b=f.get(h.input);b==null&&(b=d,f.set(h.input,d),d++),p[m]={end:h.end,inputId:b,start:h.start}}else p[m]=h}return o&&(p.inputs=[...f.keys()].map(m=>m.toJSON())),p}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(c=t){c.stringify&&(c=c.stringify);let f="";return c(this,p=>{f+=p}),f}warn(c,f,p={}){let o={node:this};for(let d in p)o[d]=p[d];return c.warn(f,o)}}return ba=s,s.default=s,ba}var ya,ef;function ju(){if(ef)return ya;ef=1;let e=Lu();class r extends e{constructor(n){super(n),this.type="comment"}}return ya=r,r.default=r,ya}var va,tf;function $u(){if(tf)return va;tf=1;let e=Lu();class r extends e{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(n){n&&typeof n.value<"u"&&typeof n.value!="string"&&(n={...n,value:String(n.value)}),super(n),this.type="decl"}}return va=r,r.default=r,va}var wa,rf;function Xr(){if(rf)return wa;rf=1;let e=ju(),r=$u(),t=Lu(),{isClean:n,my:u}=ga(),i,a,s,l;function c(o){return o.map(d=>(d.nodes&&(d.nodes=c(d.nodes)),delete d.source,d))}function f(o){if(o[n]=!1,o.proxyOf.nodes)for(let d of o.proxyOf.nodes)f(d)}class p extends t{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...d){for(let m of d){let h=this.normalize(m,this.last);for(let b of h)this.proxyOf.nodes.push(b)}return this.markDirty(),this}cleanRaws(d){if(super.cleanRaws(d),this.nodes)for(let m of this.nodes)m.cleanRaws(d)}each(d){if(!this.proxyOf.nodes)return;let m=this.getIterator(),h,b;for(;this.indexes[m]<this.proxyOf.nodes.length&&(h=this.indexes[m],b=d(this.proxyOf.nodes[h],h),b!==!1);)this.indexes[m]+=1;return delete this.indexes[m],b}every(d){return this.nodes.every(d)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let d=this.lastEach;return this.indexes[d]=0,d}getProxyProcessor(){return{get(d,m){return m==="proxyOf"?d:d[m]?m==="each"||typeof m=="string"&&m.startsWith("walk")?(...h)=>d[m](...h.map(b=>typeof b=="function"?(g,w)=>b(g.toProxy(),w):b)):m==="every"||m==="some"?h=>d[m]((b,...g)=>h(b.toProxy(),...g)):m==="root"?()=>d.root().toProxy():m==="nodes"?d.nodes.map(h=>h.toProxy()):m==="first"||m==="last"?d[m].toProxy():d[m]:d[m]},set(d,m,h){return d[m]===h||(d[m]=h,(m==="name"||m==="params"||m==="selector")&&d.markDirty()),!0}}}index(d){return typeof d=="number"?d:(d.proxyOf&&(d=d.proxyOf),this.proxyOf.nodes.indexOf(d))}insertAfter(d,m){let h=this.index(d),b=this.normalize(m,this.proxyOf.nodes[h]).reverse();h=this.index(d);for(let w of b)this.proxyOf.nodes.splice(h+1,0,w);let g;for(let w in this.indexes)g=this.indexes[w],h<g&&(this.indexes[w]=g+b.length);return this.markDirty(),this}insertBefore(d,m){let h=this.index(d),b=h===0?"prepend":!1,g=this.normalize(m,this.proxyOf.nodes[h],b).reverse();h=this.index(d);for(let y of g)this.proxyOf.nodes.splice(h,0,y);let w;for(let y in this.indexes)w=this.indexes[y],h<=w&&(this.indexes[y]=w+g.length);return this.markDirty(),this}normalize(d,m){if(typeof d=="string")d=c(a(d).nodes);else if(typeof d>"u")d=[];else if(Array.isArray(d)){d=d.slice(0);for(let b of d)b.parent&&b.parent.removeChild(b,"ignore")}else if(d.type==="root"&&this.type!=="document"){d=d.nodes.slice(0);for(let b of d)b.parent&&b.parent.removeChild(b,"ignore")}else if(d.type)d=[d];else if(d.prop){if(typeof d.value>"u")throw new Error("Value field is missed in node creation");typeof d.value!="string"&&(d.value=String(d.value)),d=[new r(d)]}else if(d.selector||d.selectors)d=[new l(d)];else if(d.name)d=[new i(d)];else if(d.text)d=[new e(d)];else throw new Error("Unknown node type in node creation");return d.map(b=>(b[u]||p.rebuild(b),b=b.proxyOf,b.parent&&b.parent.removeChild(b),b[n]&&f(b),b.raws||(b.raws={}),typeof b.raws.before>"u"&&m&&typeof m.raws.before<"u"&&(b.raws.before=m.raws.before.replace(/\S/g,"")),b.parent=this.proxyOf,b))}prepend(...d){d=d.reverse();for(let m of d){let h=this.normalize(m,this.first,"prepend").reverse();for(let b of h)this.proxyOf.nodes.unshift(b);for(let b in this.indexes)this.indexes[b]=this.indexes[b]+h.length}return this.markDirty(),this}push(d){return d.parent=this,this.proxyOf.nodes.push(d),this}removeAll(){for(let d of this.proxyOf.nodes)d.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(d){d=this.index(d),this.proxyOf.nodes[d].parent=void 0,this.proxyOf.nodes.splice(d,1);let m;for(let h in this.indexes)m=this.indexes[h],m>=d&&(this.indexes[h]=m-1);return this.markDirty(),this}replaceValues(d,m,h){return h||(h=m,m={}),this.walkDecls(b=>{m.props&&!m.props.includes(b.prop)||m.fast&&!b.value.includes(m.fast)||(b.value=b.value.replace(d,h))}),this.markDirty(),this}some(d){return this.nodes.some(d)}walk(d){return this.each((m,h)=>{let b;try{b=d(m,h)}catch(g){throw m.addToError(g)}return b!==!1&&m.walk&&(b=m.walk(d)),b})}walkAtRules(d,m){return m?d instanceof RegExp?this.walk((h,b)=>{if(h.type==="atrule"&&d.test(h.name))return m(h,b)}):this.walk((h,b)=>{if(h.type==="atrule"&&h.name===d)return m(h,b)}):(m=d,this.walk((h,b)=>{if(h.type==="atrule")return m(h,b)}))}walkComments(d){return this.walk((m,h)=>{if(m.type==="comment")return d(m,h)})}walkDecls(d,m){return m?d instanceof RegExp?this.walk((h,b)=>{if(h.type==="decl"&&d.test(h.prop))return m(h,b)}):this.walk((h,b)=>{if(h.type==="decl"&&h.prop===d)return m(h,b)}):(m=d,this.walk((h,b)=>{if(h.type==="decl")return m(h,b)}))}walkRules(d,m){return m?d instanceof RegExp?this.walk((h,b)=>{if(h.type==="rule"&&d.test(h.selector))return m(h,b)}):this.walk((h,b)=>{if(h.type==="rule"&&h.selector===d)return m(h,b)}):(m=d,this.walk((h,b)=>{if(h.type==="rule")return m(h,b)}))}}return p.registerParse=o=>{a=o},p.registerRule=o=>{l=o},p.registerAtRule=o=>{i=o},p.registerRoot=o=>{s=o},wa=p,p.default=p,p.rebuild=o=>{o.type==="atrule"?Object.setPrototypeOf(o,i.prototype):o.type==="rule"?Object.setPrototypeOf(o,l.prototype):o.type==="decl"?Object.setPrototypeOf(o,r.prototype):o.type==="comment"?Object.setPrototypeOf(o,e.prototype):o.type==="root"&&Object.setPrototypeOf(o,s.prototype),o[u]=!0,o.nodes&&o.nodes.forEach(d=>{p.rebuild(d)})},wa}var Da,nf;function Ea(){if(nf)return Da;nf=1;let e=Xr();class r extends e{constructor(n){super(n),this.type="atrule"}append(...n){return this.proxyOf.nodes||(this.nodes=[]),super.append(...n)}prepend(...n){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...n)}}return Da=r,r.default=r,e.registerAtRule(r),Da}var xa,uf;function Aa(){if(uf)return xa;uf=1;let e=Xr(),r,t;class n extends e{constructor(i){super({type:"document",...i}),this.nodes||(this.nodes=[])}toResult(i={}){return new r(new t,this,i).stringify()}}return n.registerLazyResult=u=>{r=u},n.registerProcessor=u=>{t=u},xa=n,n.default=n,xa}var Ca,af;function ub(){if(af)return Ca;af=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return Ca={nanoid:(n=21)=>{let u="",i=n|0;for(;i--;)u+=e[Math.random()*64|0];return u},customAlphabet:(n,u=21)=>(i=u)=>{let a="",s=i|0;for(;s--;)a+=n[Math.random()*n.length|0];return a}},Ca}var _a,sf;function of(){if(sf)return _a;sf=1;let{existsSync:e,readFileSync:r}=nr,{dirname:t,join:n}=nr,{SourceMapConsumer:u,SourceMapGenerator:i}=nr;function a(l){return Buffer?Buffer.from(l,"base64").toString():window.atob(l)}class s{constructor(c,f){if(f.map===!1)return;this.loadAnnotation(c),this.inline=this.startWith(this.annotation,"data:");let p=f.map?f.map.prev:void 0,o=this.loadMap(f.from,p);!this.mapFile&&f.from&&(this.mapFile=f.from),this.mapFile&&(this.root=t(this.mapFile)),o&&(this.text=o)}consumer(){return this.consumerCache||(this.consumerCache=new u(this.text)),this.consumerCache}decodeInline(c){let f=/^data:application\/json;charset=utf-?8;base64,/,p=/^data:application\/json;base64,/,o=/^data:application\/json;charset=utf-?8,/,d=/^data:application\/json,/,m=c.match(o)||c.match(d);if(m)return decodeURIComponent(c.substr(m[0].length));let h=c.match(f)||c.match(p);if(h)return a(c.substr(h[0].length));let b=c.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+b)}getAnnotationURL(c){return c.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(c){return typeof c!="object"?!1:typeof c.mappings=="string"||typeof c._mappings=="string"||Array.isArray(c.sections)}loadAnnotation(c){let f=c.match(/\/\*\s*# sourceMappingURL=/g);if(!f)return;let p=c.lastIndexOf(f.pop()),o=c.indexOf("*/",p);p>-1&&o>-1&&(this.annotation=this.getAnnotationURL(c.substring(p,o)))}loadFile(c){if(this.root=t(c),e(c))return this.mapFile=c,r(c,"utf-8").toString().trim()}loadMap(c,f){if(f===!1)return!1;if(f){if(typeof f=="string")return f;if(typeof f=="function"){let p=f(c);if(p){let o=this.loadFile(p);if(!o)throw new Error("Unable to load previous source map: "+p.toString());return o}}else{if(f instanceof u)return i.fromSourceMap(f).toString();if(f instanceof i)return f.toString();if(this.isMap(f))return JSON.stringify(f);throw new Error("Unsupported previous source map format: "+f.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let p=this.annotation;return c&&(p=n(t(c),p)),this.loadFile(p)}}}startWith(c,f){return c?c.substr(0,f.length)===f:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return _a=s,s.default=s,_a}var Ta,cf;function zu(){if(cf)return Ta;cf=1;let{nanoid:e}=ub(),{isAbsolute:r,resolve:t}=nr,{SourceMapConsumer:n,SourceMapGenerator:u}=nr,{fileURLToPath:i,pathToFileURL:a}=nr,s=ha(),l=of(),c=nr,f=Symbol("lineToIndexCache"),p=!!(n&&u),o=!!(t&&r);function d(h){if(h[f])return h[f];let b=h.css.split(`
|
|
57
|
-
`)
|
|
58
|
-
`," "];return e.split(r
|
|
54
|
+
`);return i=l[l.length-1],i=i.replace(/\S/g,""),!1}}),i}rawSemicolon(u){let i;return u.walk(a=>{if(a.nodes&&a.nodes.length&&a.last.type==="decl"&&(i=a.raws.semicolon,typeof i<"u"))return!1}),i}rawValue(u,i){let a=u[i],s=u.raws[i];return s&&s.value===a?s.raw:a}root(u){this.body(u),u.raws.after&&this.builder(u.raws.after)}rule(u){this.block(u,this.rawValue(u,"selector")),u.raws.ownSemicolon&&this.builder(u.raws.ownSemicolon,u,"end")}stringify(u,i){if(!this[u.type])throw new Error("Unknown AST node type "+u.type+". Maybe you need to change PostCSS stringifier.");this[u.type](u,i)}}return oa=r,r.default=r,oa}var ca,V0;function Mu(){if(V0)return ca;V0=1;let e=U0();function t(r,n){new e(n).stringify(r)}return ca=t,t.default=t,ca}var Pu={},W0;function fa(){return W0||(W0=1,Pu.isClean=Symbol("isClean"),Pu.my=Symbol("my")),Pu}var la,Y0;function Bu(){if(Y0)return la;Y0=1;let e=sa(),t=U0(),r=Mu(),{isClean:n,my:u}=fa();function i(l,c){let f=new l.constructor;for(let p in l){if(!Object.prototype.hasOwnProperty.call(l,p)||p==="proxyCache")continue;let o=l[p],d=typeof o;p==="parent"&&d==="object"?c&&(f[p]=c):p==="source"?f[p]=o:Array.isArray(o)?f[p]=o.map(m=>i(m,f)):(d==="object"&&o!==null&&(o=i(o)),f[p]=o)}return f}function a(l,c){if(c&&typeof c.offset<"u")return c.offset;let f=1,p=1,o=0;for(let d=0;d<l.length;d++){if(p===c.line&&f===c.column){o=d;break}l[d]===`
|
|
55
|
+
`?(f=1,p+=1):f+=1}return o}class s{get proxyOf(){return this}constructor(c={}){this.raws={},this[n]=!1,this[u]=!0;for(let f in c)if(f==="nodes"){this.nodes=[];for(let p of c[f])typeof p.clone=="function"?this.append(p.clone()):this.append(p)}else this[f]=c[f]}addToError(c){if(c.postcssNode=this,c.stack&&this.source&&/\n\s{4}at /.test(c.stack)){let f=this.source;c.stack=c.stack.replace(/\n\s{4}at /,`$&${f.input.from}:${f.start.line}:${f.start.column}$&`)}return c}after(c){return this.parent.insertAfter(this,c),this}assign(c={}){for(let f in c)this[f]=c[f];return this}before(c){return this.parent.insertBefore(this,c),this}cleanRaws(c){delete this.raws.before,delete this.raws.after,c||delete this.raws.between}clone(c={}){let f=i(this);for(let p in c)f[p]=c[p];return f}cloneAfter(c={}){let f=this.clone(c);return this.parent.insertAfter(this,f),f}cloneBefore(c={}){let f=this.clone(c);return this.parent.insertBefore(this,f),f}error(c,f={}){if(this.source){let{end:p,start:o}=this.rangeBy(f);return this.source.input.error(c,{column:o.column,line:o.line},{column:p.column,line:p.line},f)}return new e(c)}getProxyProcessor(){return{get(c,f){return f==="proxyOf"?c:f==="root"?()=>c.root().toProxy():c[f]},set(c,f,p){return c[f]===p||(c[f]=p,(f==="prop"||f==="value"||f==="name"||f==="params"||f==="important"||f==="text")&&c.markDirty()),!0}}}markClean(){this[n]=!0}markDirty(){if(this[n]){this[n]=!1;let c=this;for(;c=c.parent;)c[n]=!1}}next(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c+1]}positionBy(c){let f=this.source.start;if(c.index)f=this.positionInside(c.index);else if(c.word){let p="document"in this.source.input?this.source.input.document:this.source.input.css,d=p.slice(a(p,this.source.start),a(p,this.source.end)).indexOf(c.word);d!==-1&&(f=this.positionInside(d))}return f}positionInside(c){let f=this.source.start.column,p=this.source.start.line,o="document"in this.source.input?this.source.input.document:this.source.input.css,d=a(o,this.source.start),m=d+c;for(let h=d;h<m;h++)o[h]===`
|
|
56
|
+
`?(f=1,p+=1):f+=1;return{column:f,line:p}}prev(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c-1]}rangeBy(c){let f={column:this.source.start.column,line:this.source.start.line},p=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:f.column+1,line:f.line};if(c.word){let o="document"in this.source.input?this.source.input.document:this.source.input.css,m=o.slice(a(o,this.source.start),a(o,this.source.end)).indexOf(c.word);m!==-1&&(f=this.positionInside(m),p=this.positionInside(m+c.word.length))}else c.start?f={column:c.start.column,line:c.start.line}:c.index&&(f=this.positionInside(c.index)),c.end?p={column:c.end.column,line:c.end.line}:typeof c.endIndex=="number"?p=this.positionInside(c.endIndex):c.index&&(p=this.positionInside(c.index+1));return(p.line<f.line||p.line===f.line&&p.column<=f.column)&&(p={column:f.column+1,line:f.line}),{end:p,start:f}}raw(c,f){return new t().raw(this,c,f)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...c){if(this.parent){let f=this,p=!1;for(let o of c)o===this?p=!0:p?(this.parent.insertAfter(f,o),f=o):this.parent.insertBefore(f,o);p||this.remove()}return this}root(){let c=this;for(;c.parent&&c.parent.type!=="document";)c=c.parent;return c}toJSON(c,f){let p={},o=f==null;f=f||new Map;let d=0;for(let m in this){if(!Object.prototype.hasOwnProperty.call(this,m)||m==="parent"||m==="proxyCache")continue;let h=this[m];if(Array.isArray(h))p[m]=h.map(b=>typeof b=="object"&&b.toJSON?b.toJSON(null,f):b);else if(typeof h=="object"&&h.toJSON)p[m]=h.toJSON(null,f);else if(m==="source"){let b=f.get(h.input);b==null&&(b=d,f.set(h.input,d),d++),p[m]={end:h.end,inputId:b,start:h.start}}else p[m]=h}return o&&(p.inputs=[...f.keys()].map(m=>m.toJSON())),p}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(c=r){c.stringify&&(c=c.stringify);let f="";return c(this,p=>{f+=p}),f}warn(c,f,p){let o={node:this};for(let d in p)o[d]=p[d];return c.warn(f,o)}}return la=s,s.default=s,la}var da,G0;function Iu(){if(G0)return da;G0=1;let e=Bu();class t extends e{constructor(n){super(n),this.type="comment"}}return da=t,t.default=t,da}var ha,X0;function Ru(){if(X0)return ha;X0=1;let e=Bu();class t extends e{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(n){n&&typeof n.value<"u"&&typeof n.value!="string"&&(n={...n,value:String(n.value)}),super(n),this.type="decl"}}return ha=t,t.default=t,ha}var pa,Q0;function Zr(){if(Q0)return pa;Q0=1;let e=Iu(),t=Ru(),r=Bu(),{isClean:n,my:u}=fa(),i,a,s,l;function c(o){return o.map(d=>(d.nodes&&(d.nodes=c(d.nodes)),delete d.source,d))}function f(o){if(o[n]=!1,o.proxyOf.nodes)for(let d of o.proxyOf.nodes)f(d)}class p extends r{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...d){for(let m of d){let h=this.normalize(m,this.last);for(let b of h)this.proxyOf.nodes.push(b)}return this.markDirty(),this}cleanRaws(d){if(super.cleanRaws(d),this.nodes)for(let m of this.nodes)m.cleanRaws(d)}each(d){if(!this.proxyOf.nodes)return;let m=this.getIterator(),h,b;for(;this.indexes[m]<this.proxyOf.nodes.length&&(h=this.indexes[m],b=d(this.proxyOf.nodes[h],h),b!==!1);)this.indexes[m]+=1;return delete this.indexes[m],b}every(d){return this.nodes.every(d)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let d=this.lastEach;return this.indexes[d]=0,d}getProxyProcessor(){return{get(d,m){return m==="proxyOf"?d:d[m]?m==="each"||typeof m=="string"&&m.startsWith("walk")?(...h)=>d[m](...h.map(b=>typeof b=="function"?(g,w)=>b(g.toProxy(),w):b)):m==="every"||m==="some"?h=>d[m]((b,...g)=>h(b.toProxy(),...g)):m==="root"?()=>d.root().toProxy():m==="nodes"?d.nodes.map(h=>h.toProxy()):m==="first"||m==="last"?d[m].toProxy():d[m]:d[m]},set(d,m,h){return d[m]===h||(d[m]=h,(m==="name"||m==="params"||m==="selector")&&d.markDirty()),!0}}}index(d){return typeof d=="number"?d:(d.proxyOf&&(d=d.proxyOf),this.proxyOf.nodes.indexOf(d))}insertAfter(d,m){let h=this.index(d),b=this.normalize(m,this.proxyOf.nodes[h]).reverse();h=this.index(d);for(let w of b)this.proxyOf.nodes.splice(h+1,0,w);let g;for(let w in this.indexes)g=this.indexes[w],h<g&&(this.indexes[w]=g+b.length);return this.markDirty(),this}insertBefore(d,m){let h=this.index(d),b=h===0?"prepend":!1,g=this.normalize(m,this.proxyOf.nodes[h],b).reverse();h=this.index(d);for(let v of g)this.proxyOf.nodes.splice(h,0,v);let w;for(let v in this.indexes)w=this.indexes[v],h<=w&&(this.indexes[v]=w+g.length);return this.markDirty(),this}normalize(d,m){if(typeof d=="string")d=c(a(d).nodes);else if(typeof d>"u")d=[];else if(Array.isArray(d)){d=d.slice(0);for(let b of d)b.parent&&b.parent.removeChild(b,"ignore")}else if(d.type==="root"&&this.type!=="document"){d=d.nodes.slice(0);for(let b of d)b.parent&&b.parent.removeChild(b,"ignore")}else if(d.type)d=[d];else if(d.prop){if(typeof d.value>"u")throw new Error("Value field is missed in node creation");typeof d.value!="string"&&(d.value=String(d.value)),d=[new t(d)]}else if(d.selector||d.selectors)d=[new l(d)];else if(d.name)d=[new i(d)];else if(d.text)d=[new e(d)];else throw new Error("Unknown node type in node creation");return d.map(b=>(b[u]||p.rebuild(b),b=b.proxyOf,b.parent&&b.parent.removeChild(b),b[n]&&f(b),b.raws||(b.raws={}),typeof b.raws.before>"u"&&m&&typeof m.raws.before<"u"&&(b.raws.before=m.raws.before.replace(/\S/g,"")),b.parent=this.proxyOf,b))}prepend(...d){d=d.reverse();for(let m of d){let h=this.normalize(m,this.first,"prepend").reverse();for(let b of h)this.proxyOf.nodes.unshift(b);for(let b in this.indexes)this.indexes[b]=this.indexes[b]+h.length}return this.markDirty(),this}push(d){return d.parent=this,this.proxyOf.nodes.push(d),this}removeAll(){for(let d of this.proxyOf.nodes)d.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(d){d=this.index(d),this.proxyOf.nodes[d].parent=void 0,this.proxyOf.nodes.splice(d,1);let m;for(let h in this.indexes)m=this.indexes[h],m>=d&&(this.indexes[h]=m-1);return this.markDirty(),this}replaceValues(d,m,h){return h||(h=m,m={}),this.walkDecls(b=>{m.props&&!m.props.includes(b.prop)||m.fast&&!b.value.includes(m.fast)||(b.value=b.value.replace(d,h))}),this.markDirty(),this}some(d){return this.nodes.some(d)}walk(d){return this.each((m,h)=>{let b;try{b=d(m,h)}catch(g){throw m.addToError(g)}return b!==!1&&m.walk&&(b=m.walk(d)),b})}walkAtRules(d,m){return m?d instanceof RegExp?this.walk((h,b)=>{if(h.type==="atrule"&&d.test(h.name))return m(h,b)}):this.walk((h,b)=>{if(h.type==="atrule"&&h.name===d)return m(h,b)}):(m=d,this.walk((h,b)=>{if(h.type==="atrule")return m(h,b)}))}walkComments(d){return this.walk((m,h)=>{if(m.type==="comment")return d(m,h)})}walkDecls(d,m){return m?d instanceof RegExp?this.walk((h,b)=>{if(h.type==="decl"&&d.test(h.prop))return m(h,b)}):this.walk((h,b)=>{if(h.type==="decl"&&h.prop===d)return m(h,b)}):(m=d,this.walk((h,b)=>{if(h.type==="decl")return m(h,b)}))}walkRules(d,m){return m?d instanceof RegExp?this.walk((h,b)=>{if(h.type==="rule"&&d.test(h.selector))return m(h,b)}):this.walk((h,b)=>{if(h.type==="rule"&&h.selector===d)return m(h,b)}):(m=d,this.walk((h,b)=>{if(h.type==="rule")return m(h,b)}))}}return p.registerParse=o=>{a=o},p.registerRule=o=>{l=o},p.registerAtRule=o=>{i=o},p.registerRoot=o=>{s=o},pa=p,p.default=p,p.rebuild=o=>{o.type==="atrule"?Object.setPrototypeOf(o,i.prototype):o.type==="rule"?Object.setPrototypeOf(o,l.prototype):o.type==="decl"?Object.setPrototypeOf(o,t.prototype):o.type==="comment"?Object.setPrototypeOf(o,e.prototype):o.type==="root"&&Object.setPrototypeOf(o,s.prototype),o[u]=!0,o.nodes&&o.nodes.forEach(d=>{p.rebuild(d)})},pa}var ma,K0;function ga(){if(K0)return ma;K0=1;let e=Zr();class t extends e{constructor(n){super(n),this.type="atrule"}append(...n){return this.proxyOf.nodes||(this.nodes=[]),super.append(...n)}prepend(...n){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...n)}}return ma=t,t.default=t,e.registerAtRule(t),ma}var ba,Z0;function ya(){if(Z0)return ba;Z0=1;let e=Zr(),t,r;class n extends e{constructor(i){super({type:"document",...i}),this.nodes||(this.nodes=[])}toResult(i={}){return new t(new r,this,i).stringify()}}return n.registerLazyResult=u=>{t=u},n.registerProcessor=u=>{r=u},ba=n,n.default=n,ba}var va,J0;function Qg(){if(J0)return va;J0=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return va={nanoid:(n=21)=>{let u="",i=n|0;for(;i--;)u+=e[Math.random()*64|0];return u},customAlphabet:(n,u=21)=>(i=u)=>{let a="",s=i|0;for(;s--;)a+=n[Math.random()*n.length|0];return a}},va}var wa,ef;function tf(){if(ef)return wa;ef=1;let{existsSync:e,readFileSync:t}=ur,{dirname:r,join:n}=ur,{SourceMapConsumer:u,SourceMapGenerator:i}=ur;function a(l){return Buffer?Buffer.from(l,"base64").toString():window.atob(l)}class s{constructor(c,f){if(f.map===!1)return;this.loadAnnotation(c),this.inline=this.startWith(this.annotation,"data:");let p=f.map?f.map.prev:void 0,o=this.loadMap(f.from,p);!this.mapFile&&f.from&&(this.mapFile=f.from),this.mapFile&&(this.root=r(this.mapFile)),o&&(this.text=o)}consumer(){return this.consumerCache||(this.consumerCache=new u(this.text)),this.consumerCache}decodeInline(c){let f=/^data:application\/json;charset=utf-?8;base64,/,p=/^data:application\/json;base64,/,o=/^data:application\/json;charset=utf-?8,/,d=/^data:application\/json,/,m=c.match(o)||c.match(d);if(m)return decodeURIComponent(c.substr(m[0].length));let h=c.match(f)||c.match(p);if(h)return a(c.substr(h[0].length));let b=c.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+b)}getAnnotationURL(c){return c.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(c){return typeof c!="object"?!1:typeof c.mappings=="string"||typeof c._mappings=="string"||Array.isArray(c.sections)}loadAnnotation(c){let f=c.match(/\/\*\s*# sourceMappingURL=/g);if(!f)return;let p=c.lastIndexOf(f.pop()),o=c.indexOf("*/",p);p>-1&&o>-1&&(this.annotation=this.getAnnotationURL(c.substring(p,o)))}loadFile(c){if(this.root=r(c),e(c))return this.mapFile=c,t(c,"utf-8").toString().trim()}loadMap(c,f){if(f===!1)return!1;if(f){if(typeof f=="string")return f;if(typeof f=="function"){let p=f(c);if(p){let o=this.loadFile(p);if(!o)throw new Error("Unable to load previous source map: "+p.toString());return o}}else{if(f instanceof u)return i.fromSourceMap(f).toString();if(f instanceof i)return f.toString();if(this.isMap(f))return JSON.stringify(f);throw new Error("Unsupported previous source map format: "+f.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let p=this.annotation;return c&&(p=n(r(c),p)),this.loadFile(p)}}}startWith(c,f){return c?c.substr(0,f.length)===f:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return wa=s,s.default=s,wa}var Da,rf;function ku(){if(rf)return Da;rf=1;let{nanoid:e}=Qg(),{isAbsolute:t,resolve:r}=ur,{SourceMapConsumer:n,SourceMapGenerator:u}=ur,{fileURLToPath:i,pathToFileURL:a}=ur,s=sa(),l=tf(),c=ur,f=Symbol("fromOffsetCache"),p=!!(n&&u),o=!!(r&&t);class d{get from(){return this.file||this.id}constructor(h,b={}){if(h===null||typeof h>"u"||typeof h=="object"&&!h.toString)throw new Error(`PostCSS received ${h} instead of CSS string`);if(this.css=h.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,b.document&&(this.document=b.document.toString()),b.from&&(!o||/^\w+:\/\//.test(b.from)||t(b.from)?this.file=b.from:this.file=r(b.from)),o&&p){let g=new l(this.css,b);if(g.text){this.map=g;let w=g.consumer().file;!this.file&&w&&(this.file=this.mapResolve(w))}}this.file||(this.id="<input css "+e(6)+">"),this.map&&(this.map.file=this.from)}error(h,b,g,w={}){let v,D,y;if(b&&typeof b=="object"){let A=b,C=g;if(typeof A.offset=="number"){let T=this.fromOffset(A.offset);b=T.line,g=T.col}else b=A.line,g=A.column;if(typeof C.offset=="number"){let T=this.fromOffset(C.offset);D=T.line,v=T.col}else D=C.line,v=C.column}else if(!g){let A=this.fromOffset(b);b=A.line,g=A.col}let E=this.origin(b,g,D,v);return E?y=new s(h,E.endLine===void 0?E.line:{column:E.column,line:E.line},E.endLine===void 0?E.column:{column:E.endColumn,line:E.endLine},E.source,E.file,w.plugin):y=new s(h,D===void 0?b:{column:g,line:b},D===void 0?g:{column:v,line:D},this.css,this.file,w.plugin),y.input={column:g,endColumn:v,endLine:D,line:b,source:this.css},this.file&&(a&&(y.input.url=a(this.file).toString()),y.input.file=this.file),y}fromOffset(h){let b,g;if(this[f])g=this[f];else{let v=this.css.split(`
|
|
57
|
+
`);g=new Array(v.length);let D=0;for(let y=0,E=v.length;y<E;y++)g[y]=D,D+=v[y].length+1;this[f]=g}b=g[g.length-1];let w=0;if(h>=b)w=g.length-1;else{let v=g.length-2,D;for(;w<v;)if(D=w+(v-w>>1),h<g[D])v=D-1;else if(h>=g[D+1])w=D+1;else{w=D;break}}return{col:h-g[w]+1,line:w+1}}mapResolve(h){return/^\w+:\/\//.test(h)?h:r(this.map.consumer().sourceRoot||this.map.root||".",h)}origin(h,b,g,w){if(!this.map)return!1;let v=this.map.consumer(),D=v.originalPositionFor({column:b,line:h});if(!D.source)return!1;let y;typeof g=="number"&&(y=v.originalPositionFor({column:w,line:g}));let E;t(D.source)?E=a(D.source):E=new URL(D.source,this.map.consumer().sourceRoot||a(this.map.mapFile));let A={column:D.column,endColumn:y&&y.column,endLine:y&&y.line,line:D.line,url:E.toString()};if(E.protocol==="file:")if(i)A.file=i(E);else throw new Error("file: protocol is not available in this PostCSS build");let C=v.sourceContentFor(D.source);return C&&(A.source=C),A}toJSON(){let h={};for(let b of["hasBOM","css","file","id"])this[b]!=null&&(h[b]=this[b]);return this.map&&(h.map={...this.map},h.map.consumerCache&&(h.map.consumerCache=void 0)),h}}return Da=d,d.default=d,c&&c.registerInput&&c.registerInput(d),Da}var Ea,nf;function zn(){if(nf)return Ea;nf=1;let e=Zr(),t,r;class n extends e{constructor(i){super(i),this.type="root",this.nodes||(this.nodes=[])}normalize(i,a,s){let l=super.normalize(i);if(a){if(s==="prepend")this.nodes.length>1?a.raws.before=this.nodes[1].raws.before:delete a.raws.before;else if(this.first!==a)for(let c of l)c.raws.before=a.raws.before}return l}removeChild(i,a){let s=this.index(i);return!a&&s===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),super.removeChild(i)}toResult(i={}){return new t(new r,this,i).stringify()}}return n.registerLazyResult=u=>{t=u},n.registerProcessor=u=>{r=u},Ea=n,n.default=n,e.registerRoot(n),Ea}var xa,uf;function af(){if(uf)return xa;uf=1;let e={comma(t){return e.split(t,[","],!0)},space(t){let r=[" ",`
|
|
58
|
+
`," "];return e.split(t,r)},split(t,r,n){let u=[],i="",a=!1,s=0,l=!1,c="",f=!1;for(let p of t)f?f=!1:p==="\\"?f=!0:l?p===c&&(l=!1):p==='"'||p==="'"?(l=!0,c=p):p==="("?s+=1:p===")"?s>0&&(s-=1):s===0&&r.includes(p)&&(a=!0),a?(i!==""&&u.push(i.trim()),i="",a=!1):i+=p;return(n||i!=="")&&u.push(i.trim()),u}};return xa=e,e.default=e,xa}var Aa,sf;function Ca(){if(sf)return Aa;sf=1;let e=Zr(),t=af();class r extends e{get selectors(){return t.comma(this.selector)}set selectors(u){let i=this.selector?this.selector.match(/,\s*/):null,a=i?i[0]:","+this.raw("between","beforeOpen");this.selector=u.join(a)}constructor(u){super(u),this.type="rule",this.nodes||(this.nodes=[])}}return Aa=r,r.default=r,e.registerRule(r),Aa}var _a,of;function Kg(){if(of)return _a;of=1;let e=ga(),t=Iu(),r=Ru(),n=ku(),u=tf(),i=zn(),a=Ca();function s(l,c){if(Array.isArray(l))return l.map(o=>s(o));let{inputs:f,...p}=l;if(f){c=[];for(let o of f){let d={...o,__proto__:n.prototype};d.map&&(d.map={...d.map,__proto__:u.prototype}),c.push(d)}}if(p.nodes&&(p.nodes=l.nodes.map(o=>s(o,c))),p.source){let{inputId:o,...d}=p.source;p.source=d,o!=null&&(p.source.input=c[o])}if(p.type==="root")return new i(p);if(p.type==="decl")return new r(p);if(p.type==="rule")return new a(p);if(p.type==="comment")return new t(p);if(p.type==="atrule")return new e(p);throw new Error("Unknown node type: "+l.type)}return _a=s,s.default=s,_a}var Ta,cf;function ff(){if(cf)return Ta;cf=1;let{dirname:e,relative:t,resolve:r,sep:n}=ur,{SourceMapConsumer:u,SourceMapGenerator:i}=ur,{pathToFileURL:a}=ur,s=ku(),l=!!(u&&i),c=!!(e&&r&&t&&n);class f{constructor(o,d,m,h){this.stringify=o,this.mapOpts=m.map||{},this.root=d,this.opts=m,this.css=h,this.originalCSS=h,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let o;this.isInline()?o="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?o=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?o=this.mapOpts.annotation(this.opts.to,this.root):o=this.outputFile()+".map";let d=`
|
|
59
59
|
`;this.css.includes(`\r
|
|
60
60
|
`)&&(d=`\r
|
|
61
|
-
`),this.css+=d+"/*# sourceMappingURL="+o+" */"}applyPrevMaps(){for(let o of this.previous()){let d=this.toUrl(this.path(o.file)),m=o.root||e(o.file),h;this.mapOpts.sourcesContent===!1?(h=new u(o.text),h.sourcesContent&&(h.sourcesContent=null)):h=o.consumer(),this.map.applySourceMap(h,d,this.toUrl(this.path(m)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let o;for(let d=this.root.nodes.length-1;d>=0;d--)o=this.root.nodes[d],o.type==="comment"&&o.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(d)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),c&&l&&this.isMap())return this.generateMap();{let o="";return this.stringify(this.root,d=>{o+=d}),[o]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let o=this.previous()[0].consumer();o.file=this.outputFile(),this.map=i.fromSourceMap(o,{ignoreInvalidMapping:!0})}else this.map=new i({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new i({file:this.outputFile(),ignoreInvalidMapping:!0});let o=1,d=1,m="<no source>",h={generated:{column:0,line:0},original:{column:0,line:0},source:""},b,g;this.stringify(this.root,(w,
|
|
62
|
-
`),d=w.length-b):d+=w.length,y&&D!=="start"){let v=y.parent||{raws:{}};(!(y.type==="decl"||y.type==="atrule"&&!y.nodes)||y!==v.last||v.raws.semicolon)&&(y.source&&y.source.end?(h.source=this.sourcePath(y),h.original.line=y.source.end.line,h.original.column=y.source.end.column-1,h.generated.line=o,h.generated.column=d-2,this.map.addMapping(h)):(h.source=m,h.original.line=1,h.original.column=0,h.generated.line=o,h.generated.column=d-1,this.map.addMapping(h)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(o=>o.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let o=this.mapOpts.annotation;return typeof o<"u"&&o!==!0?!1:this.previous().length?this.previous().some(d=>d.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(o=>o.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(o){if(this.mapOpts.absolute||o.charCodeAt(0)===60||/^\w+:\/\//.test(o))return o;let d=this.memoizedPaths.get(o);if(d)return d;let m=this.opts.to?e(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(m=e(t(m,this.mapOpts.annotation)));let h=r(m,o);return this.memoizedPaths.set(o,h),h}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(o=>{if(o.source&&o.source.input.map){let d=o.source.input.map;this.previousMaps.includes(d)||this.previousMaps.push(d)}});else{let o=new s(this.originalCSS,this.opts);o.map&&this.previousMaps.push(o.map)}return this.previousMaps}setSourcesContent(){let o={};if(this.root)this.root.walk(d=>{if(d.source){let m=d.source.input.from;if(m&&!o[m]){o[m]=!0;let h=this.usesFileUrls?this.toFileUrl(m):this.toUrl(this.path(m));this.map.setSourceContent(h,d.source.input.css)}}});else if(this.css){let d=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(d,this.css)}}sourcePath(o){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(o.source.input.from):this.toUrl(this.path(o.source.input.from))}toBase64(o){return Buffer?Buffer.from(o).toString("base64"):window.btoa(unescape(encodeURIComponent(o)))}toFileUrl(o){let d=this.memoizedFileURLs.get(o);if(d)return d;if(a){let m=a(o).toString();return this.memoizedFileURLs.set(o,m),m}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(o){let d=this.memoizedURLs.get(o);if(d)return d;n==="\\"&&(o=o.replace(/\\/g,"/"));let m=encodeURI(o).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(o,m),m}}return Pa=f,Pa}var Ia,bf;function ab(){if(bf)return Ia;bf=1;const e=39,r=34,t=92,n=47,u=10,i=32,a=12,s=9,l=13,c=91,f=93,p=40,o=41,d=123,m=125,h=59,b=42,g=58,w=64,y=/[\t\n\f\r "#'()/;[\\\]{}]/g,D=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,v=/.[\r\n"'(/\\]/,E=/[\da-f]/i;return Ia=function(C,T={}){let x=C.css.valueOf(),_=T.ignoreErrors,F,N,I,M,R,J,ne,ie,k,Z,fe=x.length,G=0,se=[],de=[];function he(){return G}function oe(L){throw C.error("Unclosed "+L,G)}function be(){return de.length===0&&G>=fe}function ye(L){if(de.length)return de.pop();if(G>=fe)return;let q=L?L.ignoreUnclosed:!1;switch(F=x.charCodeAt(G),F){case u:case i:case s:case l:case a:{M=G;do M+=1,F=x.charCodeAt(M);while(F===i||F===u||F===s||F===l||F===a);J=["space",x.slice(G,M)],G=M-1;break}case c:case f:case d:case m:case g:case h:case o:{let W=String.fromCharCode(F);J=[W,W,G];break}case p:{if(Z=se.length?se.pop()[1]:"",k=x.charCodeAt(G+1),Z==="url"&&k!==e&&k!==r&&k!==i&&k!==u&&k!==s&&k!==a&&k!==l){M=G;do{if(ne=!1,M=x.indexOf(")",M+1),M===-1)if(_||q){M=G;break}else oe("bracket");for(ie=M;x.charCodeAt(ie-1)===t;)ie-=1,ne=!ne}while(ne);J=["brackets",x.slice(G,M+1),G,M],G=M}else M=x.indexOf(")",G+1),N=x.slice(G,M+1),M===-1||v.test(N)?J=["(","(",G]:(J=["brackets",N,G,M],G=M);break}case e:case r:{R=F===e?"'":'"',M=G;do{if(ne=!1,M=x.indexOf(R,M+1),M===-1)if(_||q){M=G+1;break}else oe("string");for(ie=M;x.charCodeAt(ie-1)===t;)ie-=1,ne=!ne}while(ne);J=["string",x.slice(G,M+1),G,M],G=M;break}case w:{y.lastIndex=G+1,y.test(x),y.lastIndex===0?M=x.length-1:M=y.lastIndex-2,J=["at-word",x.slice(G,M+1),G,M],G=M;break}case t:{for(M=G,I=!0;x.charCodeAt(M+1)===t;)M+=1,I=!I;if(F=x.charCodeAt(M+1),I&&F!==n&&F!==i&&F!==u&&F!==s&&F!==l&&F!==a&&(M+=1,E.test(x.charAt(M)))){for(;E.test(x.charAt(M+1));)M+=1;x.charCodeAt(M+1)===i&&(M+=1)}J=["word",x.slice(G,M+1),G,M],G=M;break}default:{F===n&&x.charCodeAt(G+1)===b?(M=x.indexOf("*/",G+2)+1,M===0&&(_||q?M=x.length:oe("comment")),J=["comment",x.slice(G,M+1),G,M],G=M):(D.lastIndex=G+1,D.test(x),D.lastIndex===0?M=x.length-1:M=D.lastIndex-2,J=["word",x.slice(G,M+1),G,M],se.push(J),G=M);break}}return G++,J}function ve(L){de.push(L)}return{back:ve,endOfFile:be,nextToken:ye,position:he}},Ia}var Ba,yf;function sb(){if(yf)return Ba;yf=1;let e=Ea(),r=ju(),t=$u(),n=Gn(),u=Ma(),i=ab();const a={empty:!0,space:!0};function s(c){for(let f=c.length-1;f>=0;f--){let p=c[f],o=p[3]||p[2];if(o)return o}}class l{constructor(f){this.input=f,this.root=new n,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:f,start:{column:1,line:1,offset:0}}}atrule(f){let p=new e;p.name=f[1].slice(1),p.name===""&&this.unnamedAtrule(p,f),this.init(p,f[2]);let o,d,m,h=!1,b=!1,g=[],w=[];for(;!this.tokenizer.endOfFile();){if(f=this.tokenizer.nextToken(),o=f[0],o==="("||o==="["?w.push(o==="("?")":"]"):o==="{"&&w.length>0?w.push("}"):o===w[w.length-1]&&w.pop(),w.length===0)if(o===";"){p.source.end=this.getPosition(f[2]),p.source.end.offset++,this.semicolon=!0;break}else if(o==="{"){b=!0;break}else if(o==="}"){if(g.length>0){for(m=g.length-1,d=g[m];d&&d[0]==="space";)d=g[--m];d&&(p.source.end=this.getPosition(d[3]||d[2]),p.source.end.offset++)}this.end(f);break}else g.push(f);else g.push(f);if(this.tokenizer.endOfFile()){h=!0;break}}p.raws.between=this.spacesAndCommentsFromEnd(g),g.length?(p.raws.afterName=this.spacesAndCommentsFromStart(g),this.raw(p,"params",g),h&&(f=g[g.length-1],p.source.end=this.getPosition(f[3]||f[2]),p.source.end.offset++,this.spaces=p.raws.between,p.raws.between="")):(p.raws.afterName="",p.params=""),b&&(p.nodes=[],this.current=p)}checkMissedSemicolon(f){let p=this.colon(f);if(p===!1)return;let o=0,d;for(let m=p-1;m>=0&&(d=f[m],!(d[0]!=="space"&&(o+=1,o===2)));m--);throw this.input.error("Missed semicolon",d[0]==="word"?d[3]+1:d[2])}colon(f){let p=0,o,d,m;for(let[h,b]of f.entries()){if(d=b,m=d[0],m==="("&&(p+=1),m===")"&&(p-=1),p===0&&m===":")if(!o)this.doubleColon(d);else{if(o[0]==="word"&&o[1]==="progid")continue;return h}o=d}return!1}comment(f){let p=new r;this.init(p,f[2]),p.source.end=this.getPosition(f[3]||f[2]),p.source.end.offset++;let o=f[1].slice(2,-2);if(/^\s*$/.test(o))p.text="",p.raws.left=o,p.raws.right="";else{let d=o.match(/^(\s*)([^]*\S)(\s*)$/);p.text=d[2],p.raws.left=d[1],p.raws.right=d[3]}}createTokenizer(){this.tokenizer=i(this.input)}decl(f,p){let o=new t;this.init(o,f[0][2]);let d=f[f.length-1];for(d[0]===";"&&(this.semicolon=!0,f.pop()),o.source.end=this.getPosition(d[3]||d[2]||s(f)),o.source.end.offset++;f[0][0]!=="word";)f.length===1&&this.unknownWord(f),o.raws.before+=f.shift()[1];for(o.source.start=this.getPosition(f[0][2]),o.prop="";f.length;){let w=f[0][0];if(w===":"||w==="space"||w==="comment")break;o.prop+=f.shift()[1]}o.raws.between="";let m;for(;f.length;)if(m=f.shift(),m[0]===":"){o.raws.between+=m[1];break}else m[0]==="word"&&/\w/.test(m[1])&&this.unknownWord([m]),o.raws.between+=m[1];(o.prop[0]==="_"||o.prop[0]==="*")&&(o.raws.before+=o.prop[0],o.prop=o.prop.slice(1));let h=[],b;for(;f.length&&(b=f[0][0],!(b!=="space"&&b!=="comment"));)h.push(f.shift());this.precheckMissedSemicolon(f);for(let w=f.length-1;w>=0;w--){if(m=f[w],m[1].toLowerCase()==="!important"){o.important=!0;let y=this.stringFrom(f,w);y=this.spacesFromEnd(f)+y,y!==" !important"&&(o.raws.important=y);break}else if(m[1].toLowerCase()==="important"){let y=f.slice(0),D="";for(let v=w;v>0;v--){let E=y[v][0];if(D.trim().startsWith("!")&&E!=="space")break;D=y.pop()[1]+D}D.trim().startsWith("!")&&(o.important=!0,o.raws.important=D,f=y)}if(m[0]!=="space"&&m[0]!=="comment")break}f.some(w=>w[0]!=="space"&&w[0]!=="comment")&&(o.raws.between+=h.map(w=>w[1]).join(""),h=[]),this.raw(o,"value",h.concat(f),p),o.value.includes(":")&&!p&&this.checkMissedSemicolon(f)}doubleColon(f){throw this.input.error("Double colon",{offset:f[2]},{offset:f[2]+f[1].length})}emptyRule(f){let p=new u;this.init(p,f[2]),p.selector="",p.raws.between="",this.current=p}end(f){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(f[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(f)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(f){if(this.spaces+=f[1],this.current.nodes){let p=this.current.nodes[this.current.nodes.length-1];p&&p.type==="rule"&&!p.raws.ownSemicolon&&(p.raws.ownSemicolon=this.spaces,this.spaces="",p.source.end=this.getPosition(f[2]),p.source.end.offset+=p.raws.ownSemicolon.length)}}getPosition(f){let p=this.input.fromOffset(f);return{column:p.col,line:p.line,offset:f}}init(f,p){this.current.push(f),f.source={input:this.input,start:this.getPosition(p)},f.raws.before=this.spaces,this.spaces="",f.type!=="comment"&&(this.semicolon=!1)}other(f){let p=!1,o=null,d=!1,m=null,h=[],b=f[1].startsWith("--"),g=[],w=f;for(;w;){if(o=w[0],g.push(w),o==="("||o==="[")m||(m=w),h.push(o==="("?")":"]");else if(b&&d&&o==="{")m||(m=w),h.push("}");else if(h.length===0)if(o===";")if(d){this.decl(g,b);return}else break;else if(o==="{"){this.rule(g);return}else if(o==="}"){this.tokenizer.back(g.pop()),p=!0;break}else o===":"&&(d=!0);else o===h[h.length-1]&&(h.pop(),h.length===0&&(m=null));w=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(p=!0),h.length>0&&this.unclosedBracket(m),p&&d){if(!b)for(;g.length&&(w=g[g.length-1][0],!(w!=="space"&&w!=="comment"));)this.tokenizer.back(g.pop());this.decl(g,b)}else this.unknownWord(g)}parse(){let f;for(;!this.tokenizer.endOfFile();)switch(f=this.tokenizer.nextToken(),f[0]){case"space":this.spaces+=f[1];break;case";":this.freeSemicolon(f);break;case"}":this.end(f);break;case"comment":this.comment(f);break;case"at-word":this.atrule(f);break;case"{":this.emptyRule(f);break;default:this.other(f);break}this.endFile()}precheckMissedSemicolon(){}raw(f,p,o,d){let m,h,b=o.length,g="",w=!0,y,D;for(let v=0;v<b;v+=1)m=o[v],h=m[0],h==="space"&&v===b-1&&!d?w=!1:h==="comment"?(D=o[v-1]?o[v-1][0]:"empty",y=o[v+1]?o[v+1][0]:"empty",!a[D]&&!a[y]?g.slice(-1)===","?w=!1:g+=m[1]:w=!1):g+=m[1];if(!w){let v=o.reduce((E,A)=>E+A[1],"");f.raws[p]={raw:v,value:g}}f[p]=g}rule(f){f.pop();let p=new u;this.init(p,f[0][2]),p.raws.between=this.spacesAndCommentsFromEnd(f),this.raw(p,"selector",f),this.current=p}spacesAndCommentsFromEnd(f){let p,o="";for(;f.length&&(p=f[f.length-1][0],!(p!=="space"&&p!=="comment"));)o=f.pop()[1]+o;return o}spacesAndCommentsFromStart(f){let p,o="";for(;f.length&&(p=f[0][0],!(p!=="space"&&p!=="comment"));)o+=f.shift()[1];return o}spacesFromEnd(f){let p,o="";for(;f.length&&(p=f[f.length-1][0],p==="space");)o=f.pop()[1]+o;return o}stringFrom(f,p){let o="";for(let d=p;d<f.length;d++)o+=f[d][1];return f.splice(p,f.length-p),o}unclosedBlock(){let f=this.current.source.start;throw this.input.error("Unclosed block",f.line,f.column)}unclosedBracket(f){throw this.input.error("Unclosed bracket",{offset:f[2]},{offset:f[2]+1})}unexpectedClose(f){throw this.input.error("Unexpected }",{offset:f[2]},{offset:f[2]+1})}unknownWord(f){throw this.input.error("Unknown word "+f[0][1],{offset:f[0][2]},{offset:f[0][2]+f[0][1].length})}unnamedAtrule(f,p){throw this.input.error("At-rule without name",{offset:p[2]},{offset:p[2]+p[1].length})}}return Ba=l,Ba}var Ra,vf;function qa(){if(vf)return Ra;vf=1;let e=Xr(),r=zu(),t=sb();function n(u,i){let a=new r(u,i),s=new t(a);try{s.parse()}catch(l){throw process.env.NODE_ENV!=="production"&&l.name==="CssSyntaxError"&&i&&i.from&&(/\.scss$/i.test(i.from)?l.message+=`
|
|
61
|
+
`),this.css+=d+"/*# sourceMappingURL="+o+" */"}applyPrevMaps(){for(let o of this.previous()){let d=this.toUrl(this.path(o.file)),m=o.root||e(o.file),h;this.mapOpts.sourcesContent===!1?(h=new u(o.text),h.sourcesContent&&(h.sourcesContent=null)):h=o.consumer(),this.map.applySourceMap(h,d,this.toUrl(this.path(m)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let o;for(let d=this.root.nodes.length-1;d>=0;d--)o=this.root.nodes[d],o.type==="comment"&&o.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(d)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),c&&l&&this.isMap())return this.generateMap();{let o="";return this.stringify(this.root,d=>{o+=d}),[o]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let o=this.previous()[0].consumer();o.file=this.outputFile(),this.map=i.fromSourceMap(o,{ignoreInvalidMapping:!0})}else this.map=new i({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new i({file:this.outputFile(),ignoreInvalidMapping:!0});let o=1,d=1,m="<no source>",h={generated:{column:0,line:0},original:{column:0,line:0},source:""},b,g;this.stringify(this.root,(w,v,D)=>{if(this.css+=w,v&&D!=="end"&&(h.generated.line=o,h.generated.column=d-1,v.source&&v.source.start?(h.source=this.sourcePath(v),h.original.line=v.source.start.line,h.original.column=v.source.start.column-1,this.map.addMapping(h)):(h.source=m,h.original.line=1,h.original.column=0,this.map.addMapping(h))),g=w.match(/\n/g),g?(o+=g.length,b=w.lastIndexOf(`
|
|
62
|
+
`),d=w.length-b):d+=w.length,v&&D!=="start"){let y=v.parent||{raws:{}};(!(v.type==="decl"||v.type==="atrule"&&!v.nodes)||v!==y.last||y.raws.semicolon)&&(v.source&&v.source.end?(h.source=this.sourcePath(v),h.original.line=v.source.end.line,h.original.column=v.source.end.column-1,h.generated.line=o,h.generated.column=d-2,this.map.addMapping(h)):(h.source=m,h.original.line=1,h.original.column=0,h.generated.line=o,h.generated.column=d-1,this.map.addMapping(h)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(o=>o.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let o=this.mapOpts.annotation;return typeof o<"u"&&o!==!0?!1:this.previous().length?this.previous().some(d=>d.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(o=>o.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(o){if(this.mapOpts.absolute||o.charCodeAt(0)===60||/^\w+:\/\//.test(o))return o;let d=this.memoizedPaths.get(o);if(d)return d;let m=this.opts.to?e(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(m=e(r(m,this.mapOpts.annotation)));let h=t(m,o);return this.memoizedPaths.set(o,h),h}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(o=>{if(o.source&&o.source.input.map){let d=o.source.input.map;this.previousMaps.includes(d)||this.previousMaps.push(d)}});else{let o=new s(this.originalCSS,this.opts);o.map&&this.previousMaps.push(o.map)}return this.previousMaps}setSourcesContent(){let o={};if(this.root)this.root.walk(d=>{if(d.source){let m=d.source.input.from;if(m&&!o[m]){o[m]=!0;let h=this.usesFileUrls?this.toFileUrl(m):this.toUrl(this.path(m));this.map.setSourceContent(h,d.source.input.css)}}});else if(this.css){let d=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(d,this.css)}}sourcePath(o){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(o.source.input.from):this.toUrl(this.path(o.source.input.from))}toBase64(o){return Buffer?Buffer.from(o).toString("base64"):window.btoa(unescape(encodeURIComponent(o)))}toFileUrl(o){let d=this.memoizedFileURLs.get(o);if(d)return d;if(a){let m=a(o).toString();return this.memoizedFileURLs.set(o,m),m}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(o){let d=this.memoizedURLs.get(o);if(d)return d;n==="\\"&&(o=o.replace(/\\/g,"/"));let m=encodeURI(o).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(o,m),m}}return Ta=f,Ta}var Sa,lf;function Zg(){if(lf)return Sa;lf=1;const e=39,t=34,r=92,n=47,u=10,i=32,a=12,s=9,l=13,c=91,f=93,p=40,o=41,d=123,m=125,h=59,b=42,g=58,w=64,v=/[\t\n\f\r "#'()/;[\\\]{}]/g,D=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,y=/.[\r\n"'(/\\]/,E=/[\da-f]/i;return Sa=function(C,T={}){let x=C.css.valueOf(),_=T.ignoreErrors,F,M,B,N,I,Z,re,ie,q,K,ce=x.length,Y=0,se=[],de=[];function he(){return Y}function oe(L){throw C.error("Unclosed "+L,Y)}function be(){return de.length===0&&Y>=ce}function ye(L){if(de.length)return de.pop();if(Y>=ce)return;let k=L?L.ignoreUnclosed:!1;switch(F=x.charCodeAt(Y),F){case u:case i:case s:case l:case a:{N=Y;do N+=1,F=x.charCodeAt(N);while(F===i||F===u||F===s||F===l||F===a);Z=["space",x.slice(Y,N)],Y=N-1;break}case c:case f:case d:case m:case g:case h:case o:{let W=String.fromCharCode(F);Z=[W,W,Y];break}case p:{if(K=se.length?se.pop()[1]:"",q=x.charCodeAt(Y+1),K==="url"&&q!==e&&q!==t&&q!==i&&q!==u&&q!==s&&q!==a&&q!==l){N=Y;do{if(re=!1,N=x.indexOf(")",N+1),N===-1)if(_||k){N=Y;break}else oe("bracket");for(ie=N;x.charCodeAt(ie-1)===r;)ie-=1,re=!re}while(re);Z=["brackets",x.slice(Y,N+1),Y,N],Y=N}else N=x.indexOf(")",Y+1),M=x.slice(Y,N+1),N===-1||y.test(M)?Z=["(","(",Y]:(Z=["brackets",M,Y,N],Y=N);break}case e:case t:{I=F===e?"'":'"',N=Y;do{if(re=!1,N=x.indexOf(I,N+1),N===-1)if(_||k){N=Y+1;break}else oe("string");for(ie=N;x.charCodeAt(ie-1)===r;)ie-=1,re=!re}while(re);Z=["string",x.slice(Y,N+1),Y,N],Y=N;break}case w:{v.lastIndex=Y+1,v.test(x),v.lastIndex===0?N=x.length-1:N=v.lastIndex-2,Z=["at-word",x.slice(Y,N+1),Y,N],Y=N;break}case r:{for(N=Y,B=!0;x.charCodeAt(N+1)===r;)N+=1,B=!B;if(F=x.charCodeAt(N+1),B&&F!==n&&F!==i&&F!==u&&F!==s&&F!==l&&F!==a&&(N+=1,E.test(x.charAt(N)))){for(;E.test(x.charAt(N+1));)N+=1;x.charCodeAt(N+1)===i&&(N+=1)}Z=["word",x.slice(Y,N+1),Y,N],Y=N;break}default:{F===n&&x.charCodeAt(Y+1)===b?(N=x.indexOf("*/",Y+2)+1,N===0&&(_||k?N=x.length:oe("comment")),Z=["comment",x.slice(Y,N+1),Y,N],Y=N):(D.lastIndex=Y+1,D.test(x),D.lastIndex===0?N=x.length-1:N=D.lastIndex-2,Z=["word",x.slice(Y,N+1),Y,N],se.push(Z),Y=N);break}}return Y++,Z}function ve(L){de.push(L)}return{back:ve,endOfFile:be,nextToken:ye,position:he}},Sa}var Fa,df;function Jg(){if(df)return Fa;df=1;let e=ga(),t=Iu(),r=Ru(),n=zn(),u=Ca(),i=Zg();const a={empty:!0,space:!0};function s(c){for(let f=c.length-1;f>=0;f--){let p=c[f],o=p[3]||p[2];if(o)return o}}class l{constructor(f){this.input=f,this.root=new n,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:f,start:{column:1,line:1,offset:0}}}atrule(f){let p=new e;p.name=f[1].slice(1),p.name===""&&this.unnamedAtrule(p,f),this.init(p,f[2]);let o,d,m,h=!1,b=!1,g=[],w=[];for(;!this.tokenizer.endOfFile();){if(f=this.tokenizer.nextToken(),o=f[0],o==="("||o==="["?w.push(o==="("?")":"]"):o==="{"&&w.length>0?w.push("}"):o===w[w.length-1]&&w.pop(),w.length===0)if(o===";"){p.source.end=this.getPosition(f[2]),p.source.end.offset++,this.semicolon=!0;break}else if(o==="{"){b=!0;break}else if(o==="}"){if(g.length>0){for(m=g.length-1,d=g[m];d&&d[0]==="space";)d=g[--m];d&&(p.source.end=this.getPosition(d[3]||d[2]),p.source.end.offset++)}this.end(f);break}else g.push(f);else g.push(f);if(this.tokenizer.endOfFile()){h=!0;break}}p.raws.between=this.spacesAndCommentsFromEnd(g),g.length?(p.raws.afterName=this.spacesAndCommentsFromStart(g),this.raw(p,"params",g),h&&(f=g[g.length-1],p.source.end=this.getPosition(f[3]||f[2]),p.source.end.offset++,this.spaces=p.raws.between,p.raws.between="")):(p.raws.afterName="",p.params=""),b&&(p.nodes=[],this.current=p)}checkMissedSemicolon(f){let p=this.colon(f);if(p===!1)return;let o=0,d;for(let m=p-1;m>=0&&(d=f[m],!(d[0]!=="space"&&(o+=1,o===2)));m--);throw this.input.error("Missed semicolon",d[0]==="word"?d[3]+1:d[2])}colon(f){let p=0,o,d,m;for(let[h,b]of f.entries()){if(d=b,m=d[0],m==="("&&(p+=1),m===")"&&(p-=1),p===0&&m===":")if(!o)this.doubleColon(d);else{if(o[0]==="word"&&o[1]==="progid")continue;return h}o=d}return!1}comment(f){let p=new t;this.init(p,f[2]),p.source.end=this.getPosition(f[3]||f[2]),p.source.end.offset++;let o=f[1].slice(2,-2);if(/^\s*$/.test(o))p.text="",p.raws.left=o,p.raws.right="";else{let d=o.match(/^(\s*)([^]*\S)(\s*)$/);p.text=d[2],p.raws.left=d[1],p.raws.right=d[3]}}createTokenizer(){this.tokenizer=i(this.input)}decl(f,p){let o=new r;this.init(o,f[0][2]);let d=f[f.length-1];for(d[0]===";"&&(this.semicolon=!0,f.pop()),o.source.end=this.getPosition(d[3]||d[2]||s(f)),o.source.end.offset++;f[0][0]!=="word";)f.length===1&&this.unknownWord(f),o.raws.before+=f.shift()[1];for(o.source.start=this.getPosition(f[0][2]),o.prop="";f.length;){let w=f[0][0];if(w===":"||w==="space"||w==="comment")break;o.prop+=f.shift()[1]}o.raws.between="";let m;for(;f.length;)if(m=f.shift(),m[0]===":"){o.raws.between+=m[1];break}else m[0]==="word"&&/\w/.test(m[1])&&this.unknownWord([m]),o.raws.between+=m[1];(o.prop[0]==="_"||o.prop[0]==="*")&&(o.raws.before+=o.prop[0],o.prop=o.prop.slice(1));let h=[],b;for(;f.length&&(b=f[0][0],!(b!=="space"&&b!=="comment"));)h.push(f.shift());this.precheckMissedSemicolon(f);for(let w=f.length-1;w>=0;w--){if(m=f[w],m[1].toLowerCase()==="!important"){o.important=!0;let v=this.stringFrom(f,w);v=this.spacesFromEnd(f)+v,v!==" !important"&&(o.raws.important=v);break}else if(m[1].toLowerCase()==="important"){let v=f.slice(0),D="";for(let y=w;y>0;y--){let E=v[y][0];if(D.trim().startsWith("!")&&E!=="space")break;D=v.pop()[1]+D}D.trim().startsWith("!")&&(o.important=!0,o.raws.important=D,f=v)}if(m[0]!=="space"&&m[0]!=="comment")break}f.some(w=>w[0]!=="space"&&w[0]!=="comment")&&(o.raws.between+=h.map(w=>w[1]).join(""),h=[]),this.raw(o,"value",h.concat(f),p),o.value.includes(":")&&!p&&this.checkMissedSemicolon(f)}doubleColon(f){throw this.input.error("Double colon",{offset:f[2]},{offset:f[2]+f[1].length})}emptyRule(f){let p=new u;this.init(p,f[2]),p.selector="",p.raws.between="",this.current=p}end(f){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(f[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(f)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(f){if(this.spaces+=f[1],this.current.nodes){let p=this.current.nodes[this.current.nodes.length-1];p&&p.type==="rule"&&!p.raws.ownSemicolon&&(p.raws.ownSemicolon=this.spaces,this.spaces="",p.source.end=this.getPosition(f[2]),p.source.end.offset+=p.raws.ownSemicolon.length)}}getPosition(f){let p=this.input.fromOffset(f);return{column:p.col,line:p.line,offset:f}}init(f,p){this.current.push(f),f.source={input:this.input,start:this.getPosition(p)},f.raws.before=this.spaces,this.spaces="",f.type!=="comment"&&(this.semicolon=!1)}other(f){let p=!1,o=null,d=!1,m=null,h=[],b=f[1].startsWith("--"),g=[],w=f;for(;w;){if(o=w[0],g.push(w),o==="("||o==="[")m||(m=w),h.push(o==="("?")":"]");else if(b&&d&&o==="{")m||(m=w),h.push("}");else if(h.length===0)if(o===";")if(d){this.decl(g,b);return}else break;else if(o==="{"){this.rule(g);return}else if(o==="}"){this.tokenizer.back(g.pop()),p=!0;break}else o===":"&&(d=!0);else o===h[h.length-1]&&(h.pop(),h.length===0&&(m=null));w=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(p=!0),h.length>0&&this.unclosedBracket(m),p&&d){if(!b)for(;g.length&&(w=g[g.length-1][0],!(w!=="space"&&w!=="comment"));)this.tokenizer.back(g.pop());this.decl(g,b)}else this.unknownWord(g)}parse(){let f;for(;!this.tokenizer.endOfFile();)switch(f=this.tokenizer.nextToken(),f[0]){case"space":this.spaces+=f[1];break;case";":this.freeSemicolon(f);break;case"}":this.end(f);break;case"comment":this.comment(f);break;case"at-word":this.atrule(f);break;case"{":this.emptyRule(f);break;default:this.other(f);break}this.endFile()}precheckMissedSemicolon(){}raw(f,p,o,d){let m,h,b=o.length,g="",w=!0,v,D;for(let y=0;y<b;y+=1)m=o[y],h=m[0],h==="space"&&y===b-1&&!d?w=!1:h==="comment"?(D=o[y-1]?o[y-1][0]:"empty",v=o[y+1]?o[y+1][0]:"empty",!a[D]&&!a[v]?g.slice(-1)===","?w=!1:g+=m[1]:w=!1):g+=m[1];if(!w){let y=o.reduce((E,A)=>E+A[1],"");f.raws[p]={raw:y,value:g}}f[p]=g}rule(f){f.pop();let p=new u;this.init(p,f[0][2]),p.raws.between=this.spacesAndCommentsFromEnd(f),this.raw(p,"selector",f),this.current=p}spacesAndCommentsFromEnd(f){let p,o="";for(;f.length&&(p=f[f.length-1][0],!(p!=="space"&&p!=="comment"));)o=f.pop()[1]+o;return o}spacesAndCommentsFromStart(f){let p,o="";for(;f.length&&(p=f[0][0],!(p!=="space"&&p!=="comment"));)o+=f.shift()[1];return o}spacesFromEnd(f){let p,o="";for(;f.length&&(p=f[f.length-1][0],p==="space");)o=f.pop()[1]+o;return o}stringFrom(f,p){let o="";for(let d=p;d<f.length;d++)o+=f[d][1];return f.splice(p,f.length-p),o}unclosedBlock(){let f=this.current.source.start;throw this.input.error("Unclosed block",f.line,f.column)}unclosedBracket(f){throw this.input.error("Unclosed bracket",{offset:f[2]},{offset:f[2]+1})}unexpectedClose(f){throw this.input.error("Unexpected }",{offset:f[2]},{offset:f[2]+1})}unknownWord(f){throw this.input.error("Unknown word "+f[0][1],{offset:f[0][2]},{offset:f[0][2]+f[0][1].length})}unnamedAtrule(f,p){throw this.input.error("At-rule without name",{offset:p[2]},{offset:p[2]+p[1].length})}}return Fa=l,Fa}var Oa,hf;function Na(){if(hf)return Oa;hf=1;let e=Zr(),t=ku(),r=Jg();function n(u,i){let a=new t(u,i),s=new r(a);try{s.parse()}catch(l){throw process.env.NODE_ENV!=="production"&&l.name==="CssSyntaxError"&&i&&i.from&&(/\.scss$/i.test(i.from)?l.message+=`
|
|
63
63
|
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(i.from)?l.message+=`
|
|
64
64
|
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(i.from)&&(l.message+=`
|
|
65
|
-
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),l}return s.root}return Ra=n,n.default=n,e.registerParse(n),Ra}var ka,wf;function Df(){if(wf)return ka;wf=1;class e{constructor(t,n={}){if(this.type="warning",this.text=t,n.node&&n.node.source){let u=n.node.rangeBy(n);this.line=u.start.line,this.column=u.start.column,this.endLine=u.end.line,this.endColumn=u.end.column}for(let u in n)this[u]=n[u]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return ka=e,e.default=e,ka}var La,Ef;function ja(){if(Ef)return La;Ef=1;let e=Df();class r{get content(){return this.css}constructor(n,u,i){this.processor=n,this.messages=[],this.root=u,this.opts=i,this.css="",this.map=void 0}toString(){return this.css}warn(n,u={}){u.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(u.plugin=this.lastPlugin.postcssPlugin);let i=new e(n,u);return this.messages.push(i),i}warnings(){return this.messages.filter(n=>n.type==="warning")}}return La=r,r.default=r,La}var $a,xf;function Af(){if(xf)return $a;xf=1;let e={};return $a=function(t){e[t]||(e[t]=!0,typeof console<"u"&&console.warn&&console.warn(t))},$a}var za,Cf;function _f(){if(Cf)return za;Cf=1;let e=Xr(),r=Aa(),t=gf(),n=qa(),u=ja(),i=Gn(),a=qu(),{isClean:s,my:l}=ga(),c=Af();const f={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},p={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},o={Once:!0,postcssPlugin:!0,prepare:!0},d=0;function m(D){return typeof D=="object"&&typeof D.then=="function"}function h(D){let v=!1,E=f[D.type];return D.type==="decl"?v=D.prop.toLowerCase():D.type==="atrule"&&(v=D.name.toLowerCase()),v&&D.append?[E,E+"-"+v,d,E+"Exit",E+"Exit-"+v]:v?[E,E+"-"+v,E+"Exit",E+"Exit-"+v]:D.append?[E,d,E+"Exit"]:[E,E+"Exit"]}function b(D){let v;return D.type==="document"?v=["Document",d,"DocumentExit"]:D.type==="root"?v=["Root",d,"RootExit"]:v=h(D),{eventIndex:0,events:v,iterator:0,node:D,visitorIndex:0,visitors:[]}}function g(D){return D[s]=!1,D.nodes&&D.nodes.forEach(v=>g(v)),D}let w={};class y{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(v,E,A){this.stringified=!1,this.processed=!1;let C;if(typeof E=="object"&&E!==null&&(E.type==="root"||E.type==="document"))C=g(E);else if(E instanceof y||E instanceof u)C=g(E.root),E.map&&(typeof A.map>"u"&&(A.map={}),A.map.inline||(A.map.inline=!1),A.map.prev=E.map);else{let T=n;A.syntax&&(T=A.syntax.parse),A.parser&&(T=A.parser),T.parse&&(T=T.parse);try{C=T(E,A)}catch(x){this.processed=!0,this.error=x}C&&!C[l]&&e.rebuild(C)}this.result=new u(v,C,A),this.helpers={...w,postcss:w,result:this.result},this.plugins=this.processor.plugins.map(T=>typeof T=="object"&&T.prepare?{...T,...T.prepare(this.result)}:T)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(v){return this.async().catch(v)}finally(v){return this.async().then(v,v)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(v,E){let A=this.result.lastPlugin;try{if(E&&E.addToError(v),this.error=v,v.name==="CssSyntaxError"&&!v.plugin)v.plugin=A.postcssPlugin,v.setMessage();else if(A.postcssVersion&&process.env.NODE_ENV!=="production"){let C=A.postcssPlugin,T=A.postcssVersion,x=this.result.processor.version,_=T.split("."),F=x.split(".");(_[0]!==F[0]||parseInt(_[1])>parseInt(F[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+x+", but "+C+" uses "+T+". Perhaps this is the source of the error below.")}}catch(C){console&&console.error&&console.error(C)}return v}prepareVisitors(){this.listeners={};let v=(E,A,C)=>{this.listeners[A]||(this.listeners[A]=[]),this.listeners[A].push([E,C])};for(let E of this.plugins)if(typeof E=="object")for(let A in E){if(!p[A]&&/^[A-Z]/.test(A))throw new Error(`Unknown event ${A} in ${E.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!o[A])if(typeof E[A]=="object")for(let C in E[A])C==="*"?v(E,A,E[A][C]):v(E,A+"-"+C.toLowerCase(),E[A][C]);else typeof E[A]=="function"&&v(E,A,E[A])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let v=0;v<this.plugins.length;v++){let E=this.plugins[v],A=this.runOnRoot(E);if(m(A))try{await A}catch(C){throw this.handleError(C)}}if(this.prepareVisitors(),this.hasListener){let v=this.result.root;for(;!v[s];){v[s]=!0;let E=[b(v)];for(;E.length>0;){let A=this.visitTick(E);if(m(A))try{await A}catch(C){let T=E[E.length-1].node;throw this.handleError(C,T)}}}if(this.listeners.OnceExit)for(let[E,A]of this.listeners.OnceExit){this.result.lastPlugin=E;try{if(v.type==="document"){let C=v.nodes.map(T=>A(T,this.helpers));await Promise.all(C)}else await A(v,this.helpers)}catch(C){throw this.handleError(C)}}}return this.processed=!0,this.stringify()}runOnRoot(v){this.result.lastPlugin=v;try{if(typeof v=="object"&&v.Once){if(this.result.root.type==="document"){let E=this.result.root.nodes.map(A=>v.Once(A,this.helpers));return m(E[0])?Promise.all(E):E}return v.Once(this.result.root,this.helpers)}else if(typeof v=="function")return v(this.result.root,this.result)}catch(E){throw this.handleError(E)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let v=this.result.opts,E=a;v.syntax&&(E=v.syntax.stringify),v.stringifier&&(E=v.stringifier),E.stringify&&(E=E.stringify);let C=new t(E,this.result.root,this.result.opts).generate();return this.result.css=C[0],this.result.map=C[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let v of this.plugins){let E=this.runOnRoot(v);if(m(E))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let v=this.result.root;for(;!v[s];)v[s]=!0,this.walkSync(v);if(this.listeners.OnceExit)if(v.type==="document")for(let E of v.nodes)this.visitSync(this.listeners.OnceExit,E);else this.visitSync(this.listeners.OnceExit,v)}return this.result}then(v,E){return process.env.NODE_ENV!=="production"&&("from"in this.opts||c("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(v,E)}toString(){return this.css}visitSync(v,E){for(let[A,C]of v){this.result.lastPlugin=A;let T;try{T=C(E,this.helpers)}catch(x){throw this.handleError(x,E.proxyOf)}if(E.type!=="root"&&E.type!=="document"&&!E.parent)return!0;if(m(T))throw this.getAsyncError()}}visitTick(v){let E=v[v.length-1],{node:A,visitors:C}=E;if(A.type!=="root"&&A.type!=="document"&&!A.parent){v.pop();return}if(C.length>0&&E.visitorIndex<C.length){let[x,_]=C[E.visitorIndex];E.visitorIndex+=1,E.visitorIndex===C.length&&(E.visitors=[],E.visitorIndex=0),this.result.lastPlugin=x;try{return _(A.toProxy(),this.helpers)}catch(F){throw this.handleError(F,A)}}if(E.iterator!==0){let x=E.iterator,_;for(;_=A.nodes[A.indexes[x]];)if(A.indexes[x]+=1,!_[s]){_[s]=!0,v.push(b(_));return}E.iterator=0,delete A.indexes[x]}let T=E.events;for(;E.eventIndex<T.length;){let x=T[E.eventIndex];if(E.eventIndex+=1,x===d){A.nodes&&A.nodes.length&&(A[s]=!0,E.iterator=A.getIterator());return}else if(this.listeners[x]){E.visitors=this.listeners[x];return}}v.pop()}walkSync(v){v[s]=!0;let E=h(v);for(let A of E)if(A===d)v.nodes&&v.each(C=>{C[s]||this.walkSync(C)});else{let C=this.listeners[A];if(C&&this.visitSync(C,v.toProxy()))return}}warnings(){return this.sync().warnings()}}return y.registerPostcss=D=>{w=D},za=y,y.default=y,i.registerLazyResult(y),r.registerLazyResult(y),za}var Ha,Tf;function ob(){if(Tf)return Ha;Tf=1;let e=gf(),r=qa();const t=ja();let n=qu(),u=Af();class i{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let s,l=r;try{s=l(this._css,this._opts)}catch(c){this.error=c}if(this.error)throw this.error;return this._root=s,s}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(s,l,c){l=l.toString(),this.stringified=!1,this._processor=s,this._css=l,this._opts=c,this._map=void 0;let f,p=n;this.result=new t(this._processor,f,this._opts),this.result.css=l;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let d=new e(p,f,this._opts,l);if(d.isMap()){let[m,h]=d.generate();m&&(this.result.css=m),h&&(this.result.map=h)}else d.clearAnnotation(),this.result.css=d.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(s){return this.async().catch(s)}finally(s){return this.async().then(s,s)}sync(){if(this.error)throw this.error;return this.result}then(s,l){return process.env.NODE_ENV!=="production"&&("from"in this._opts||u("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(s,l)}toString(){return this._css}warnings(){return[]}}return Ha=i,i.default=i,Ha}var Ua,Sf;function cb(){if(Sf)return Ua;Sf=1;let e=Aa(),r=_f(),t=ob(),n=Gn();class u{constructor(a=[]){this.version="8.5.6",this.plugins=this.normalize(a)}normalize(a){let s=[];for(let l of a)if(l.postcss===!0?l=l():l.postcss&&(l=l.postcss),typeof l=="object"&&Array.isArray(l.plugins))s=s.concat(l.plugins);else if(typeof l=="object"&&l.postcssPlugin)s.push(l);else if(typeof l=="function")s.push(l);else if(typeof l=="object"&&(l.parse||l.stringify)){if(process.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(l+" is not a PostCSS plugin");return s}process(a,s={}){return!this.plugins.length&&!s.parser&&!s.stringifier&&!s.syntax?new t(this,a,s):new r(this,a,s)}use(a){return this.plugins=this.plugins.concat(this.normalize([a])),this}}return Ua=u,u.default=u,n.registerProcessor(u),e.registerProcessor(u),Ua}var Va,Ff;function fb(){if(Ff)return Va;Ff=1;let e=Ea(),r=ju(),t=Xr(),n=ha(),u=$u(),i=Aa(),a=ib(),s=zu(),l=_f(),c=df(),f=Lu(),p=qa(),o=cb(),d=ja(),m=Gn(),h=Ma(),b=qu(),g=Df();function w(...y){return y.length===1&&Array.isArray(y[0])&&(y=y[0]),new o(y)}return w.plugin=function(D,v){let E=!1;function A(...T){console&&console.warn&&!E&&(E=!0,console.warn(D+`: postcss.plugin was deprecated. Migration guide:
|
|
65
|
+
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),l}return s.root}return Oa=n,n.default=n,e.registerParse(n),Oa}var Ma,pf;function mf(){if(pf)return Ma;pf=1;class e{constructor(r,n={}){if(this.type="warning",this.text=r,n.node&&n.node.source){let u=n.node.rangeBy(n);this.line=u.start.line,this.column=u.start.column,this.endLine=u.end.line,this.endColumn=u.end.column}for(let u in n)this[u]=n[u]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return Ma=e,e.default=e,Ma}var Pa,gf;function Ba(){if(gf)return Pa;gf=1;let e=mf();class t{get content(){return this.css}constructor(n,u,i){this.processor=n,this.messages=[],this.root=u,this.opts=i,this.css=void 0,this.map=void 0}toString(){return this.css}warn(n,u={}){u.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(u.plugin=this.lastPlugin.postcssPlugin);let i=new e(n,u);return this.messages.push(i),i}warnings(){return this.messages.filter(n=>n.type==="warning")}}return Pa=t,t.default=t,Pa}var Ia,bf;function yf(){if(bf)return Ia;bf=1;let e={};return Ia=function(r){e[r]||(e[r]=!0,typeof console<"u"&&console.warn&&console.warn(r))},Ia}var Ra,vf;function wf(){if(vf)return Ra;vf=1;let e=Zr(),t=ya(),r=ff(),n=Na(),u=Ba(),i=zn(),a=Mu(),{isClean:s,my:l}=fa(),c=yf();const f={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},p={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},o={Once:!0,postcssPlugin:!0,prepare:!0},d=0;function m(D){return typeof D=="object"&&typeof D.then=="function"}function h(D){let y=!1,E=f[D.type];return D.type==="decl"?y=D.prop.toLowerCase():D.type==="atrule"&&(y=D.name.toLowerCase()),y&&D.append?[E,E+"-"+y,d,E+"Exit",E+"Exit-"+y]:y?[E,E+"-"+y,E+"Exit",E+"Exit-"+y]:D.append?[E,d,E+"Exit"]:[E,E+"Exit"]}function b(D){let y;return D.type==="document"?y=["Document",d,"DocumentExit"]:D.type==="root"?y=["Root",d,"RootExit"]:y=h(D),{eventIndex:0,events:y,iterator:0,node:D,visitorIndex:0,visitors:[]}}function g(D){return D[s]=!1,D.nodes&&D.nodes.forEach(y=>g(y)),D}let w={};class v{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(y,E,A){this.stringified=!1,this.processed=!1;let C;if(typeof E=="object"&&E!==null&&(E.type==="root"||E.type==="document"))C=g(E);else if(E instanceof v||E instanceof u)C=g(E.root),E.map&&(typeof A.map>"u"&&(A.map={}),A.map.inline||(A.map.inline=!1),A.map.prev=E.map);else{let T=n;A.syntax&&(T=A.syntax.parse),A.parser&&(T=A.parser),T.parse&&(T=T.parse);try{C=T(E,A)}catch(x){this.processed=!0,this.error=x}C&&!C[l]&&e.rebuild(C)}this.result=new u(y,C,A),this.helpers={...w,postcss:w,result:this.result},this.plugins=this.processor.plugins.map(T=>typeof T=="object"&&T.prepare?{...T,...T.prepare(this.result)}:T)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(y){return this.async().catch(y)}finally(y){return this.async().then(y,y)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(y,E){let A=this.result.lastPlugin;try{if(E&&E.addToError(y),this.error=y,y.name==="CssSyntaxError"&&!y.plugin)y.plugin=A.postcssPlugin,y.setMessage();else if(A.postcssVersion&&process.env.NODE_ENV!=="production"){let C=A.postcssPlugin,T=A.postcssVersion,x=this.result.processor.version,_=T.split("."),F=x.split(".");(_[0]!==F[0]||parseInt(_[1])>parseInt(F[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+x+", but "+C+" uses "+T+". Perhaps this is the source of the error below.")}}catch(C){console&&console.error&&console.error(C)}return y}prepareVisitors(){this.listeners={};let y=(E,A,C)=>{this.listeners[A]||(this.listeners[A]=[]),this.listeners[A].push([E,C])};for(let E of this.plugins)if(typeof E=="object")for(let A in E){if(!p[A]&&/^[A-Z]/.test(A))throw new Error(`Unknown event ${A} in ${E.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!o[A])if(typeof E[A]=="object")for(let C in E[A])C==="*"?y(E,A,E[A][C]):y(E,A+"-"+C.toLowerCase(),E[A][C]);else typeof E[A]=="function"&&y(E,A,E[A])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let y=0;y<this.plugins.length;y++){let E=this.plugins[y],A=this.runOnRoot(E);if(m(A))try{await A}catch(C){throw this.handleError(C)}}if(this.prepareVisitors(),this.hasListener){let y=this.result.root;for(;!y[s];){y[s]=!0;let E=[b(y)];for(;E.length>0;){let A=this.visitTick(E);if(m(A))try{await A}catch(C){let T=E[E.length-1].node;throw this.handleError(C,T)}}}if(this.listeners.OnceExit)for(let[E,A]of this.listeners.OnceExit){this.result.lastPlugin=E;try{if(y.type==="document"){let C=y.nodes.map(T=>A(T,this.helpers));await Promise.all(C)}else await A(y,this.helpers)}catch(C){throw this.handleError(C)}}}return this.processed=!0,this.stringify()}runOnRoot(y){this.result.lastPlugin=y;try{if(typeof y=="object"&&y.Once){if(this.result.root.type==="document"){let E=this.result.root.nodes.map(A=>y.Once(A,this.helpers));return m(E[0])?Promise.all(E):E}return y.Once(this.result.root,this.helpers)}else if(typeof y=="function")return y(this.result.root,this.result)}catch(E){throw this.handleError(E)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let y=this.result.opts,E=a;y.syntax&&(E=y.syntax.stringify),y.stringifier&&(E=y.stringifier),E.stringify&&(E=E.stringify);let C=new r(E,this.result.root,this.result.opts).generate();return this.result.css=C[0],this.result.map=C[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let y of this.plugins){let E=this.runOnRoot(y);if(m(E))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let y=this.result.root;for(;!y[s];)y[s]=!0,this.walkSync(y);if(this.listeners.OnceExit)if(y.type==="document")for(let E of y.nodes)this.visitSync(this.listeners.OnceExit,E);else this.visitSync(this.listeners.OnceExit,y)}return this.result}then(y,E){return process.env.NODE_ENV!=="production"&&("from"in this.opts||c("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(y,E)}toString(){return this.css}visitSync(y,E){for(let[A,C]of y){this.result.lastPlugin=A;let T;try{T=C(E,this.helpers)}catch(x){throw this.handleError(x,E.proxyOf)}if(E.type!=="root"&&E.type!=="document"&&!E.parent)return!0;if(m(T))throw this.getAsyncError()}}visitTick(y){let E=y[y.length-1],{node:A,visitors:C}=E;if(A.type!=="root"&&A.type!=="document"&&!A.parent){y.pop();return}if(C.length>0&&E.visitorIndex<C.length){let[x,_]=C[E.visitorIndex];E.visitorIndex+=1,E.visitorIndex===C.length&&(E.visitors=[],E.visitorIndex=0),this.result.lastPlugin=x;try{return _(A.toProxy(),this.helpers)}catch(F){throw this.handleError(F,A)}}if(E.iterator!==0){let x=E.iterator,_;for(;_=A.nodes[A.indexes[x]];)if(A.indexes[x]+=1,!_[s]){_[s]=!0,y.push(b(_));return}E.iterator=0,delete A.indexes[x]}let T=E.events;for(;E.eventIndex<T.length;){let x=T[E.eventIndex];if(E.eventIndex+=1,x===d){A.nodes&&A.nodes.length&&(A[s]=!0,E.iterator=A.getIterator());return}else if(this.listeners[x]){E.visitors=this.listeners[x];return}}y.pop()}walkSync(y){y[s]=!0;let E=h(y);for(let A of E)if(A===d)y.nodes&&y.each(C=>{C[s]||this.walkSync(C)});else{let C=this.listeners[A];if(C&&this.visitSync(C,y.toProxy()))return}}warnings(){return this.sync().warnings()}}return v.registerPostcss=D=>{w=D},Ra=v,v.default=v,i.registerLazyResult(v),t.registerLazyResult(v),Ra}var ka,Df;function eb(){if(Df)return ka;Df=1;let e=ff(),t=Na();const r=Ba();let n=Mu(),u=yf();class i{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let s,l=t;try{s=l(this._css,this._opts)}catch(c){this.error=c}if(this.error)throw this.error;return this._root=s,s}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(s,l,c){l=l.toString(),this.stringified=!1,this._processor=s,this._css=l,this._opts=c,this._map=void 0;let f,p=n;this.result=new r(this._processor,f,this._opts),this.result.css=l;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let d=new e(p,f,this._opts,l);if(d.isMap()){let[m,h]=d.generate();m&&(this.result.css=m),h&&(this.result.map=h)}else d.clearAnnotation(),this.result.css=d.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(s){return this.async().catch(s)}finally(s){return this.async().then(s,s)}sync(){if(this.error)throw this.error;return this.result}then(s,l){return process.env.NODE_ENV!=="production"&&("from"in this._opts||u("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(s,l)}toString(){return this._css}warnings(){return[]}}return ka=i,i.default=i,ka}var qa,Ef;function tb(){if(Ef)return qa;Ef=1;let e=ya(),t=wf(),r=eb(),n=zn();class u{constructor(a=[]){this.version="8.5.3",this.plugins=this.normalize(a)}normalize(a){let s=[];for(let l of a)if(l.postcss===!0?l=l():l.postcss&&(l=l.postcss),typeof l=="object"&&Array.isArray(l.plugins))s=s.concat(l.plugins);else if(typeof l=="object"&&l.postcssPlugin)s.push(l);else if(typeof l=="function")s.push(l);else if(typeof l=="object"&&(l.parse||l.stringify)){if(process.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(l+" is not a PostCSS plugin");return s}process(a,s={}){return!this.plugins.length&&!s.parser&&!s.stringifier&&!s.syntax?new r(this,a,s):new t(this,a,s)}use(a){return this.plugins=this.plugins.concat(this.normalize([a])),this}}return qa=u,u.default=u,n.registerProcessor(u),e.registerProcessor(u),qa}var La,xf;function rb(){if(xf)return La;xf=1;let e=ga(),t=Iu(),r=Zr(),n=sa(),u=Ru(),i=ya(),a=Kg(),s=ku(),l=wf(),c=af(),f=Bu(),p=Na(),o=tb(),d=Ba(),m=zn(),h=Ca(),b=Mu(),g=mf();function w(...v){return v.length===1&&Array.isArray(v[0])&&(v=v[0]),new o(v)}return w.plugin=function(D,y){let E=!1;function A(...T){console&&console.warn&&!E&&(E=!0,console.warn(D+`: postcss.plugin was deprecated. Migration guide:
|
|
66
66
|
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(D+`: 里面 postcss.plugin 被弃用. 迁移指南:
|
|
67
|
-
https://www.w3ctech.com/topic/2226`));let x=
|
|
67
|
+
https://www.w3ctech.com/topic/2226`));let x=y(...T);return x.postcssPlugin=D,x.postcssVersion=new o().version,x}let C;return Object.defineProperty(A,"postcss",{get(){return C||(C=A()),C}}),A.process=function(T,x,_){return w([A(_)]).process(T,x)},A},w.stringify=b,w.parse=p,w.fromJSON=a,w.list=c,w.comment=v=>new t(v),w.atRule=v=>new e(v),w.decl=v=>new u(v),w.rule=v=>new h(v),w.root=v=>new m(v),w.document=v=>new i(v),w.CssSyntaxError=n,w.Declaration=u,w.Container=r,w.Processor=o,w.Document=i,w.Comment=t,w.Warning=g,w.AtRule=e,w.Result=d,w.Input=s,w.Rule=h,w.Root=m,w.Node=f,l.registerPostcss(w),La=w,w.default=w,La}var ja,Af;function nb(){if(Af)return ja;Af=1;const e=Hg(),t=Ug(),{isPlainObject:r}=Vg(),n=Wg(),u=Gg(),{parse:i}=rb(),a=["img","audio","video","picture","svg","object","map","iframe","embed"],s=["script","style"];function l(b,g){b&&Object.keys(b).forEach(function(w){g(b[w],w)})}function c(b,g){return{}.hasOwnProperty.call(b,g)}function f(b,g){const w=[];return l(b,function(v){g(v)&&w.push(v)}),w}function p(b){for(const g in b)if(c(b,g))return!1;return!0}function o(b){return b.map(function(g){if(!g.url)throw new Error("URL missing");return g.url+(g.w?` ${g.w}w`:"")+(g.h?` ${g.h}h`:"")+(g.d?` ${g.d}x`:"")}).join(", ")}ja=m;const d=/^[^\0\t\n\f\r /<=>]+$/;function m(b,g,w){if(b==null)return"";typeof b=="number"&&(b=b.toString());let v="",D="";function y(L,k){const W=this;this.tag=L,this.attribs=k||{},this.tagPosition=v.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(I.length){const me=I[I.length-1];me.text+=W.text}},this.updateParentNodeMediaChildren=function(){I.length&&a.includes(this.tag)&&I[I.length-1].mediaChildren.push(this.tag)}}g=Object.assign({},m.defaults,g),g.parser=Object.assign({},h,g.parser);const E=function(L){return g.allowedTags===!1||(g.allowedTags||[]).indexOf(L)>-1};s.forEach(function(L){E(L)&&!g.allowVulnerableTags&&console.warn(`
|
|
68
68
|
|
|
69
69
|
⚠️ Your \`allowedTags\` option includes, \`${L}\`, which is inherently
|
|
70
70
|
vulnerable to XSS attacks. Please remove it from \`allowedTags\`.
|
|
71
71
|
Or, to disable this warning, add the \`allowVulnerableTags\` option
|
|
72
72
|
and ensure you are accounting for this risk.
|
|
73
73
|
|
|
74
|
-
`)});const A=g.nonTextTags||["script","style","textarea","option"];let C,T;g.allowedAttributes&&(C={},T={},l(g.allowedAttributes,function(L,q){C[q]=[];const W=[];L.forEach(function(pe){typeof pe=="string"&&pe.indexOf("*")>=0?W.push(r(pe).replace(/\\\*/g,".*")):C[q].push(pe)}),W.length&&(T[q]=new RegExp("^("+W.join("|")+")$"))}));const x={},_={},F={};l(g.allowedClasses,function(L,q){if(C&&(c(C,q)||(C[q]=[]),C[q].push("class")),x[q]=L,Array.isArray(L)){const W=[];x[q]=[],F[q]=[],L.forEach(function(pe){typeof pe=="string"&&pe.indexOf("*")>=0?W.push(r(pe).replace(/\\\*/g,".*")):pe instanceof RegExp?F[q].push(pe):x[q].push(pe)}),W.length&&(_[q]=new RegExp("^("+W.join("|")+")$"))}});const N={};let I;l(g.transformTags,function(L,q){let W;typeof L=="function"?W=L:typeof L=="string"&&(W=m.simpleTransform(L)),q==="*"?I=W:N[q]=W});let M,R,J,ne,ie,k,Z=!1;G();const fe=new e.Parser({onopentag:function(L,q){if(g.onOpenTag&&g.onOpenTag(L,q),g.enforceHtmlBoundary&&L==="html"&&G(),ie){k++;return}const W=new v(L,q);R.push(W);let pe=!1;const We=!!W.text;let rt;if(c(N,L)&&(rt=N[L](L,q),W.attribs=q=rt.attribs,rt.text!==void 0&&(W.innerText=rt.text),L!==rt.tagName&&(W.name=L=rt.tagName,ne[M]=rt.tagName)),I&&(rt=I(L,q),W.attribs=q=rt.attribs,L!==rt.tagName&&(W.name=L=rt.tagName,ne[M]=rt.tagName)),(!E(L)||g.disallowedTagsMode==="recursiveEscape"&&!p(J)||g.nestingLimit!=null&&M>=g.nestingLimit)&&(pe=!0,J[M]=!0,(g.disallowedTagsMode==="discard"||g.disallowedTagsMode==="completelyDiscard")&&A.indexOf(L)!==-1&&(ie=!0,k=1)),M++,pe){if(g.disallowedTagsMode==="discard"||g.disallowedTagsMode==="completelyDiscard"){if(W.innerText&&!We){const Se=se(W.innerText);g.textFilter?y+=g.textFilter(Se,L):y+=Se,Z=!0}return}D=y,y=""}y+="<"+L,L==="script"&&(g.allowedScriptHostnames||g.allowedScriptDomains)&&(W.innerText=""),pe&&(g.disallowedTagsMode==="escape"||g.disallowedTagsMode==="recursiveEscape")&&g.preserveEscapedAttributes?l(q,function(Se,Fe){y+=" "+Fe+'="'+se(Se||"",!0)+'"'}):(!C||c(C,L)||C["*"])&&l(q,function(Se,Fe){if(!d.test(Fe)){delete W.attribs[Fe];return}if(Se===""&&!g.allowedEmptyAttributes.includes(Fe)&&(g.nonBooleanAttributes.includes(Fe)||g.nonBooleanAttributes.includes("*"))){delete W.attribs[Fe];return}let on=!1;if(!C||c(C,L)&&C[L].indexOf(Fe)!==-1||C["*"]&&C["*"].indexOf(Fe)!==-1||c(T,L)&&T[L].test(Fe)||T["*"]&&T["*"].test(Fe))on=!0;else if(C&&C[L]){for(const _e of C[L])if(t(_e)&&_e.name&&_e.name===Fe){on=!0;let S="";if(_e.multiple===!0){const P=Se.split(" ");for(const B of P)_e.values.indexOf(B)!==-1&&(S===""?S=B:S+=" "+B)}else _e.values.indexOf(Se)>=0&&(S=Se);Se=S}}if(on){if(g.allowedSchemesAppliedToAttributes.indexOf(Fe)!==-1&&de(L,Se)){delete W.attribs[Fe];return}if(L==="script"&&Fe==="src"){let _e=!0;try{const S=he(Se);if(g.allowedScriptHostnames||g.allowedScriptDomains){const P=(g.allowedScriptHostnames||[]).find(function($){return $===S.url.hostname}),B=(g.allowedScriptDomains||[]).find(function($){return S.url.hostname===$||S.url.hostname.endsWith(`.${$}`)});_e=P||B}}catch{_e=!1}if(!_e){delete W.attribs[Fe];return}}if(L==="iframe"&&Fe==="src"){let _e=!0;try{const S=he(Se);if(S.isRelativeUrl)_e=c(g,"allowIframeRelativeUrls")?g.allowIframeRelativeUrls:!g.allowedIframeHostnames&&!g.allowedIframeDomains;else if(g.allowedIframeHostnames||g.allowedIframeDomains){const P=(g.allowedIframeHostnames||[]).find(function($){return $===S.url.hostname}),B=(g.allowedIframeDomains||[]).find(function($){return S.url.hostname===$||S.url.hostname.endsWith(`.${$}`)});_e=P||B}}catch{_e=!1}if(!_e){delete W.attribs[Fe];return}}if(Fe==="srcset")try{let _e=u(Se);if(_e.forEach(function(S){de("srcset",S.url)&&(S.evil=!0)}),_e=f(_e,function(S){return!S.evil}),_e.length)Se=o(f(_e,function(S){return!S.evil})),W.attribs[Fe]=Se;else{delete W.attribs[Fe];return}}catch{delete W.attribs[Fe];return}if(Fe==="class"){const _e=x[L],S=x["*"],P=_[L],B=F[L],$=F["*"],Y=_["*"],U=[P,Y].concat(B,$).filter(function(te){return te});if(_e&&S?Se=ve(Se,n(_e,S),U):Se=ve(Se,_e||S,U),!Se.length){delete W.attribs[Fe];return}}if(Fe==="style"){if(g.parseStyleAttributes)try{const _e=i(L+" {"+Se+"}",{map:!1}),S=oe(_e,g.allowedStyles);if(Se=be(S),Se.length===0){delete W.attribs[Fe];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+L+" {"+Se+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete W.attribs[Fe];return}else if(g.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}y+=" "+Fe,Se&&Se.length?y+='="'+se(Se,!0)+'"':g.allowedEmptyAttributes.includes(Fe)&&(y+='=""')}else delete W.attribs[Fe]}),g.selfClosing.indexOf(L)!==-1?y+=" />":(y+=">",W.innerText&&!We&&!g.textFilter&&(y+=se(W.innerText),Z=!0)),pe&&(y=D+se(y),D=""),W.openingTagLength=y.length-W.tagPosition},ontext:function(L){if(ie)return;const q=R[R.length-1];let W;if(q&&(W=q.tag,L=q.innerText!==void 0?q.innerText:L),g.disallowedTagsMode==="completelyDiscard"&&!E(W))L="";else if((g.disallowedTagsMode==="discard"||g.disallowedTagsMode==="completelyDiscard")&&(W==="script"||W==="style"))y+=L;else if(!Z){const pe=se(L,!1);g.textFilter?y+=g.textFilter(pe,W):y+=pe}if(R.length){const pe=R[R.length-1];pe.text+=L}},onclosetag:function(L,q){if(g.onCloseTag&&g.onCloseTag(L,q),ie)if(k--,!k)ie=!1;else return;const W=R.pop();if(!W)return;if(W.tag!==L){R.push(W);return}ie=g.enforceHtmlBoundary?L==="html":!1,M--;const pe=J[M];if(pe){if(delete J[M],g.disallowedTagsMode==="discard"||g.disallowedTagsMode==="completelyDiscard"){W.updateParentNodeText();return}D=y,y=""}if(ne[M]&&(L=ne[M],delete ne[M]),g.exclusiveFilter){const We=g.exclusiveFilter(W);if(We==="excludeTag"){pe&&(y=D,D=""),y=y.substring(0,W.tagPosition)+y.substring(W.tagPosition+W.openingTagLength);return}else if(We){y=y.substring(0,W.tagPosition);return}}if(W.updateParentNodeMediaChildren(),W.updateParentNodeText(),g.selfClosing.indexOf(L)!==-1||q&&!E(L)&&["escape","recursiveEscape"].indexOf(g.disallowedTagsMode)>=0){pe&&(y=D,D="");return}y+="</"+L+">",pe&&(y=D+se(y),D=""),Z=!1}},g.parser);return fe.write(b),fe.end(),y;function G(){y="",M=0,R=[],J={},ne={},ie=!1,k=0}function se(L,q){return typeof L!="string"&&(L=L+""),g.parser.decodeEntities&&(L=L.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),q&&(L=L.replace(/"/g,"""))),L=L.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),q&&(L=L.replace(/"/g,""")),L}function de(L,q){for(q=q.replace(/[\x00-\x20]+/g,"");;){const We=q.indexOf("<!--");if(We===-1)break;const rt=q.indexOf("-->",We+4);if(rt===-1)break;q=q.substring(0,We)+q.substring(rt+3)}const W=q.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!W)return q.match(/^[/\\]{2}/)?!g.allowProtocolRelative:!1;const pe=W[1].toLowerCase();return c(g.allowedSchemesByTag,L)?g.allowedSchemesByTag[L].indexOf(pe)===-1:!g.allowedSchemes||g.allowedSchemes.indexOf(pe)===-1}function he(L){if(L=L.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),L.startsWith("relative:"))throw new Error("relative: exploit attempt");let q="relative://relative-site";for(let We=0;We<100;We++)q+=`/${We}`;const W=new URL(L,q);return{isRelativeUrl:W&&W.hostname==="relative-site"&&W.protocol==="relative:",url:W}}function oe(L,q){if(!q)return L;const W=L.nodes[0];let pe;return q[W.selector]&&q["*"]?pe=n(q[W.selector],q["*"]):pe=q[W.selector]||q["*"],pe&&(L.nodes[0].nodes=W.nodes.reduce(ye(pe),[])),L}function be(L){return L.nodes[0].nodes.reduce(function(q,W){return q.push(`${W.prop}:${W.value}${W.important?" !important":""}`),q},[]).join(";")}function ye(L){return function(q,W){return c(L,W.prop)&&L[W.prop].some(function(We){return We.test(W.value)})&&q.push(W),q}}function ve(L,q,W){return q?(L=L.split(/\s+/),L.filter(function(pe){return q.indexOf(pe)!==-1||W.some(function(We){return We.test(pe)})}).join(" ")):L}}const h={decodeEntities:!0};return m.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1},m.simpleTransform=function(b,g,w){return w=w===void 0?!0:w,g=g||{},function(y,D){let v;if(w)for(v in g)D[v]=g[v];else D=g;return{tagName:b,attribs:D}}},Wa}var db=lb();const Mf=Eu(db);function Ya({label:e,error:r,childId:t,dataTestId:n,sx:u,children:i,isFormControl:a}){const s=Ge.useId(),l=t??s;return ee.jsxs(qe.FormControl,{fullWidth:!0,sx:u,error:!!r,"data-testid":n,id:l,children:[a?ee.jsx(qe.FormLabel,{id:`${l}-label`,htmlFor:l,sx:{pointerEvents:"none"},children:e}):ee.jsx(qe.Typography,{id:`${l}-label`,component:"span",children:e}),ee.jsx(qe.Box,{sx:{display:"flex",alignItems:"center",minHeight:cn.capitalMuiTheme.spacing(4)},children:i}),r&&ee.jsx(dn,{error:r,id:`${l}-error`})]})}function hb({html:e,...r}){return ee.jsx(qe.Typography,{...r,dangerouslySetInnerHTML:{__html:Mf(e,{disallowedTagsMode:"recursiveEscape",allowedTags:Mf.defaults.allowedTags.concat(["img","br","p"])})}})}function Qr({label:e,text:r,asHTML:t=!1,sx:n={},error:u,startAdornment:i,endAdornment:a}){const s=Ge.useId(),l={tabIndex:0,id:s,"aria-readonly":!0,"aria-labelledby":`${s}-label`,"aria-describedby":`${s}-error`,"aria-invalid":!!u,"data-testid":"read-only-value"};return ee.jsx(Ya,{label:e,sx:n,dataTestId:"read-only-field",error:u,childId:s,children:ee.jsxs(qe.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[ee.jsxs(qe.Box,{sx:{display:"flex",alignItems:"center"},children:[i,t&&r?ee.jsx(hb,{html:r,...l}):ee.jsx(qe.Typography,{...l,children:r})]}),a]})})}const Nf=(e,r)=>({[{[Wn.DAY]:"days",[Wn.WEEK]:"weeks",[Wn.MONTH]:"months",[Wn.YEAR]:"years"}[r]]:e}),Pf=(e,r)=>{var u,i,a,s,l;const t=Ur(new Date),n=Ur(e);if((u=r.disableDaysOfWeek)!=null&&u.length){const c=r.disableDaysOfWeek.map(({value:p})=>p),f=ea(n,"EEEE").toUpperCase();if(c.includes(f))return!0}if(((i=r.disablePastDates)==null?void 0:i.number)!==void 0&&((a=r.disablePastDates)!=null&&a.unit)){const c=Nf(r.disablePastDates.number,r.disablePastDates.unit),f=jg(t,c);if(Tu(n,f))return!0}if(((s=r.disableFutureDates)==null?void 0:s.number)!==void 0&&((l=r.disableFutureDates)!=null&&l.unit)){const c=Nf(r.disableFutureDates.number,r.disableFutureDates.unit),f=yp(t,c);if(_u(n,f))return!0}return!1};function If({name:e,rules:r={},sx:t={},constraints:n={},dateFormat:u="MM/dd/yyyy",...i}){const{field:a,fieldState:{error:s}}=Zt.useController({name:e,rules:{...r,validate:l=>Number.isNaN(l==null?void 0:l.getTime())?"Please enter a valid date.":l&&n&&Pf(l,n)?"Selected date is not allowed.":!0}});if(i.readonly){const l=a.value&&!Number.isNaN(a.value.getTime())?ea(a.value,u):"";return ee.jsx(Qr,{label:i.label,text:l,sx:t,error:s==null?void 0:s.message})}return ee.jsx($r.DatePicker,{...a,...i,format:u,sx:{...t,m:0},slotProps:{textField:{onBlur:a.onBlur,helperText:!!s&&ee.jsx(dn,{error:s.message}),error:!!s,fullWidth:!0}},shouldDisableDate:l=>n?Pf(l,n):!1})}function Bf({name:e,label:r,sx:t={},disabled:n,rules:u={},readonly:i,...a}){const{field:s,fieldState:{error:l}}=Zt.useController({name:e,rules:u}),c=s.value?"Yes":"No";return i?ee.jsx(Qr,{label:r,text:c,sx:t,error:l==null?void 0:l.message,startAdornment:ee.jsx(qe.Checkbox,{disabled:!0,checked:s.value})}):ee.jsxs(Ya,{label:r,sx:t,error:l==null?void 0:l.message,childId:e,isFormControl:!0,children:[ee.jsx(qe.Checkbox,{id:e,checked:s.value,disabled:n,...s,...a,inputProps:{"aria-labelledby":`${e}-label`,"aria-describedby":`${e}-error`,"aria-invalid":!!l},color:l?"error":"primary","data-testid":"form-field-checkbox"}),!n&&ee.jsx(qe.Typography,{children:c})]})}function Rf({name:e,label:r,rules:t={},sx:n={},readonly:u,maxLength:i,filter:a,...s}){const{field:l,fieldState:{error:c}}=Zt.useController({name:e,rules:t}),f=p=>{let o=p.target.value;a&&(o=a(o)),l.onChange(o)};return u?ee.jsx(Qr,{label:r,text:l.value,sx:n,error:c==null?void 0:c.message}):ee.jsx(qe.TextField,{"data-test-id":"form-field-input",...l,label:r,fullWidth:!0,...s,error:!!c,helperText:!!c&&ee.jsx(dn,{error:c.message}),onChange:f,sx:{...n,m:0},slotProps:{input:{inputProps:{maxLength:i}}}})}function hn(){return hn=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},hn.apply(null,arguments)}var qf={relTol:1e-12,absTol:1e-15,matrix:"Matrix",number:"number",numberFallback:"number",precision:64,predictable:!1,randomSeed:null};function pb(e,r){if(Hu(e,r))return e[r];throw typeof e[r]=="function"&&gb(e,r)?new Error('Cannot access method "'+r+'" as a property'):new Error('No access to property "'+r+'"')}function mb(e,r,t){if(Hu(e,r))return e[r]=t,t;throw new Error('No access to property "'+r+'"')}function Hu(e,r){return!bb(e)&&!Array.isArray(e)?!1:Xn(yb,r)?!0:!(r in Object.prototype||r in Function.prototype)}function gb(e,r){return e==null||typeof e[r]!="function"||Xn(e,r)&&Object.getPrototypeOf&&r in Object.getPrototypeOf(e)?!1:Xn(vb,r)?!0:!(r in Object.prototype||r in Function.prototype)}function bb(e){return typeof e=="object"&&e&&e.constructor===Object}var yb={length:!0,name:!0},vb={toString:!0,valueOf:!0,toLocaleString:!0};class wb{constructor(r){this.wrappedObject=r,this[Symbol.iterator]=this.entries}keys(){return Object.keys(this.wrappedObject).filter(r=>this.has(r)).values()}get(r){return pb(this.wrappedObject,r)}set(r,t){return mb(this.wrappedObject,r,t),this}has(r){return Hu(this.wrappedObject,r)&&r in this.wrappedObject}entries(){return Db(this.keys(),r=>[r,this.get(r)])}forEach(r){for(var t of this.keys())r(this.get(t),t,this)}delete(r){Hu(this.wrappedObject,r)&&delete this.wrappedObject[r]}clear(){for(var r of this.keys())this.delete(r)}get size(){return Object.keys(this.wrappedObject).length}}function Db(e,r){return{next:()=>{var t=e.next();return t.done?t:{value:r(t.value),done:!1}}}}function Je(e){return typeof e=="number"}function vt(e){return!e||typeof e!="object"||typeof e.constructor!="function"?!1:e.isBigNumber===!0&&typeof e.constructor.prototype=="object"&&e.constructor.prototype.isBigNumber===!0||typeof e.constructor.isDecimal=="function"&&e.constructor.isDecimal(e)===!0}function Eb(e){return typeof e=="bigint"}function kf(e){return e&&typeof e=="object"&&Object.getPrototypeOf(e).isComplex===!0||!1}function Lf(e){return e&&typeof e=="object"&&Object.getPrototypeOf(e).isFraction===!0||!1}function jf(e){return e&&e.constructor.prototype.isUnit===!0||!1}function fr(e){return typeof e=="string"}var bt=Array.isArray;function Wt(e){return e&&e.constructor.prototype.isMatrix===!0||!1}function Uu(e){return Array.isArray(e)||Wt(e)}function xb(e){return e&&e.isDenseMatrix&&e.constructor.prototype.isMatrix===!0||!1}function Ab(e){return e&&e.isSparseMatrix&&e.constructor.prototype.isMatrix===!0||!1}function Cb(e){return e&&e.constructor.prototype.isRange===!0||!1}function Ga(e){return e&&e.constructor.prototype.isIndex===!0||!1}function _b(e){return typeof e=="boolean"}function Tb(e){return e&&e.constructor.prototype.isResultSet===!0||!1}function Sb(e){return e&&e.constructor.prototype.isHelp===!0||!1}function Fb(e){return typeof e=="function"}function Ob(e){return e instanceof Date}function Mb(e){return e instanceof RegExp}function Xa(e){return!!(e&&typeof e=="object"&&e.constructor===Object&&!kf(e)&&!Lf(e))}function Nb(e){return e?e instanceof Map||e instanceof wb||typeof e.set=="function"&&typeof e.get=="function"&&typeof e.keys=="function"&&typeof e.has=="function":!1}function Pb(e){return e===null}function Ib(e){return e===void 0}function Bb(e){return e&&e.isAccessorNode===!0&&e.constructor.prototype.isNode===!0||!1}function Rb(e){return e&&e.isArrayNode===!0&&e.constructor.prototype.isNode===!0||!1}function qb(e){return e&&e.isAssignmentNode===!0&&e.constructor.prototype.isNode===!0||!1}function kb(e){return e&&e.isBlockNode===!0&&e.constructor.prototype.isNode===!0||!1}function Lb(e){return e&&e.isConditionalNode===!0&&e.constructor.prototype.isNode===!0||!1}function jb(e){return e&&e.isConstantNode===!0&&e.constructor.prototype.isNode===!0||!1}function $b(e){return e&&e.isFunctionAssignmentNode===!0&&e.constructor.prototype.isNode===!0||!1}function zb(e){return e&&e.isFunctionNode===!0&&e.constructor.prototype.isNode===!0||!1}function Hb(e){return e&&e.isIndexNode===!0&&e.constructor.prototype.isNode===!0||!1}function Ub(e){return e&&e.isNode===!0&&e.constructor.prototype.isNode===!0||!1}function Vb(e){return e&&e.isObjectNode===!0&&e.constructor.prototype.isNode===!0||!1}function Wb(e){return e&&e.isOperatorNode===!0&&e.constructor.prototype.isNode===!0||!1}function Yb(e){return e&&e.isParenthesisNode===!0&&e.constructor.prototype.isNode===!0||!1}function Gb(e){return e&&e.isRangeNode===!0&&e.constructor.prototype.isNode===!0||!1}function Xb(e){return e&&e.isRelationalNode===!0&&e.constructor.prototype.isNode===!0||!1}function Qb(e){return e&&e.isSymbolNode===!0&&e.constructor.prototype.isNode===!0||!1}function Kb(e){return e&&e.constructor.prototype.isChain===!0||!1}function Kr(e){var r=typeof e;return r==="object"?e===null?"null":vt(e)?"BigNumber":e.constructor&&e.constructor.name?e.constructor.name:"Object":r}function wt(e){var r=typeof e;if(r==="number"||r==="bigint"||r==="string"||r==="boolean"||e===null||e===void 0)return e;if(typeof e.clone=="function")return e.clone();if(Array.isArray(e))return e.map(function(t){return wt(t)});if(e instanceof Date)return new Date(e.valueOf());if(vt(e))return e;if(Xa(e))return Zb(e,wt);if(r==="function")return e;throw new TypeError("Cannot clone: unknown type of value (value: ".concat(e,")"))}function Zb(e,r){var t={};for(var n in e)Xn(e,n)&&(t[n]=r(e[n]));return t}function Jb(e,r){for(var t in r)Xn(r,t)&&(e[t]=r[t]);return e}function Or(e,r){var t,n,u;if(Array.isArray(e)){if(!Array.isArray(r)||e.length!==r.length)return!1;for(n=0,u=e.length;n<u;n++)if(!Or(e[n],r[n]))return!1;return!0}else{if(typeof e=="function")return e===r;if(e instanceof Object){if(Array.isArray(r)||!(r instanceof Object))return!1;for(t in e)if(!(t in r)||!Or(e[t],r[t]))return!1;for(t in r)if(!(t in e))return!1;return!0}else return e===r}}function Xn(e,r){return e&&Object.hasOwnProperty.call(e,r)}function ey(e,r){for(var t={},n=0;n<r.length;n++){var u=r[n],i=e[u];i!==void 0&&(t[u]=i)}return t}var ty=["Matrix","Array"],ry=["number","BigNumber","bigint","Fraction"],Qn=function(r){if(r)throw new Error(`The global config is readonly.
|
|
74
|
+
`)});const A=g.nonTextTags||["script","style","textarea","option"];let C,T;g.allowedAttributes&&(C={},T={},l(g.allowedAttributes,function(L,k){C[k]=[];const W=[];L.forEach(function(me){typeof me=="string"&&me.indexOf("*")>=0?W.push(t(me).replace(/\\\*/g,".*")):C[k].push(me)}),W.length&&(T[k]=new RegExp("^("+W.join("|")+")$"))}));const x={},_={},F={};l(g.allowedClasses,function(L,k){if(C&&(c(C,k)||(C[k]=[]),C[k].push("class")),x[k]=L,Array.isArray(L)){const W=[];x[k]=[],F[k]=[],L.forEach(function(me){typeof me=="string"&&me.indexOf("*")>=0?W.push(t(me).replace(/\\\*/g,".*")):me instanceof RegExp?F[k].push(me):x[k].push(me)}),W.length&&(_[k]=new RegExp("^("+W.join("|")+")$"))}});const M={};let B;l(g.transformTags,function(L,k){let W;typeof L=="function"?W=L:typeof L=="string"&&(W=m.simpleTransform(L)),k==="*"?B=W:M[k]=W});let N,I,Z,re,ie,q,K=!1;Y();const ce=new e.Parser({onopentag:function(L,k){if(g.enforceHtmlBoundary&&L==="html"&&Y(),ie){q++;return}const W=new y(L,k);I.push(W);let me=!1;const tt=!!W.text;let ut;if(c(M,L)&&(ut=M[L](L,k),W.attribs=k=ut.attribs,ut.text!==void 0&&(W.innerText=ut.text),L!==ut.tagName&&(W.name=L=ut.tagName,re[N]=ut.tagName)),B&&(ut=B(L,k),W.attribs=k=ut.attribs,L!==ut.tagName&&(W.name=L=ut.tagName,re[N]=ut.tagName)),(!E(L)||g.disallowedTagsMode==="recursiveEscape"&&!p(Z)||g.nestingLimit!=null&&N>=g.nestingLimit)&&(me=!0,Z[N]=!0,(g.disallowedTagsMode==="discard"||g.disallowedTagsMode==="completelyDiscard")&&A.indexOf(L)!==-1&&(ie=!0,q=1),Z[N]=!0),N++,me){if(g.disallowedTagsMode==="discard"||g.disallowedTagsMode==="completelyDiscard"){if(W.innerText&&!tt){const ke=se(W.innerText);g.textFilter?v+=g.textFilter(ke,L):v+=se(W.innerText),K=!0}return}D=v,v=""}v+="<"+L,L==="script"&&(g.allowedScriptHostnames||g.allowedScriptDomains)&&(W.innerText=""),(!C||c(C,L)||C["*"])&&l(k,function(ke,Te){if(!d.test(Te)){delete W.attribs[Te];return}if(ke===""&&!g.allowedEmptyAttributes.includes(Te)&&(g.nonBooleanAttributes.includes(Te)||g.nonBooleanAttributes.includes("*"))){delete W.attribs[Te];return}let vr=!1;if(!C||c(C,L)&&C[L].indexOf(Te)!==-1||C["*"]&&C["*"].indexOf(Te)!==-1||c(T,L)&&T[L].test(Te)||T["*"]&&T["*"].test(Te))vr=!0;else if(C&&C[L]){for(const Fe of C[L])if(r(Fe)&&Fe.name&&Fe.name===Te){vr=!0;let Oe="";if(Fe.multiple===!0){const Lt=ke.split(" ");for(const S of Lt)Fe.values.indexOf(S)!==-1&&(Oe===""?Oe=S:Oe+=" "+S)}else Fe.values.indexOf(ke)>=0&&(Oe=ke);ke=Oe}}if(vr){if(g.allowedSchemesAppliedToAttributes.indexOf(Te)!==-1&&de(L,ke)){delete W.attribs[Te];return}if(L==="script"&&Te==="src"){let Fe=!0;try{const Oe=he(ke);if(g.allowedScriptHostnames||g.allowedScriptDomains){const Lt=(g.allowedScriptHostnames||[]).find(function(P){return P===Oe.url.hostname}),S=(g.allowedScriptDomains||[]).find(function(P){return Oe.url.hostname===P||Oe.url.hostname.endsWith(`.${P}`)});Fe=Lt||S}}catch{Fe=!1}if(!Fe){delete W.attribs[Te];return}}if(L==="iframe"&&Te==="src"){let Fe=!0;try{const Oe=he(ke);if(Oe.isRelativeUrl)Fe=c(g,"allowIframeRelativeUrls")?g.allowIframeRelativeUrls:!g.allowedIframeHostnames&&!g.allowedIframeDomains;else if(g.allowedIframeHostnames||g.allowedIframeDomains){const Lt=(g.allowedIframeHostnames||[]).find(function(P){return P===Oe.url.hostname}),S=(g.allowedIframeDomains||[]).find(function(P){return Oe.url.hostname===P||Oe.url.hostname.endsWith(`.${P}`)});Fe=Lt||S}}catch{Fe=!1}if(!Fe){delete W.attribs[Te];return}}if(Te==="srcset")try{let Fe=u(ke);if(Fe.forEach(function(Oe){de("srcset",Oe.url)&&(Oe.evil=!0)}),Fe=f(Fe,function(Oe){return!Oe.evil}),Fe.length)ke=o(f(Fe,function(Oe){return!Oe.evil})),W.attribs[Te]=ke;else{delete W.attribs[Te];return}}catch{delete W.attribs[Te];return}if(Te==="class"){const Fe=x[L],Oe=x["*"],Lt=_[L],S=F[L],P=F["*"],R=_["*"],z=[Lt,R].concat(S,P).filter(function(H){return H});if(Fe&&Oe?ke=ve(ke,n(Fe,Oe),z):ke=ve(ke,Fe||Oe,z),!ke.length){delete W.attribs[Te];return}}if(Te==="style"){if(g.parseStyleAttributes)try{const Fe=i(L+" {"+ke+"}",{map:!1}),Oe=oe(Fe,g.allowedStyles);if(ke=be(Oe),ke.length===0){delete W.attribs[Te];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+L+" {"+ke+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete W.attribs[Te];return}else if(g.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}v+=" "+Te,ke&&ke.length?v+='="'+se(ke,!0)+'"':g.allowedEmptyAttributes.includes(Te)&&(v+='=""')}else delete W.attribs[Te]}),g.selfClosing.indexOf(L)!==-1?v+=" />":(v+=">",W.innerText&&!tt&&!g.textFilter&&(v+=se(W.innerText),K=!0)),me&&(v=D+se(v),D="")},ontext:function(L){if(ie)return;const k=I[I.length-1];let W;if(k&&(W=k.tag,L=k.innerText!==void 0?k.innerText:L),g.disallowedTagsMode==="completelyDiscard"&&!E(W))L="";else if((g.disallowedTagsMode==="discard"||g.disallowedTagsMode==="completelyDiscard")&&(W==="script"||W==="style"))v+=L;else{const me=se(L,!1);g.textFilter&&!K?v+=g.textFilter(me,W):K||(v+=me)}if(I.length){const me=I[I.length-1];me.text+=L}},onclosetag:function(L,k){if(ie)if(q--,!q)ie=!1;else return;const W=I.pop();if(!W)return;if(W.tag!==L){I.push(W);return}ie=g.enforceHtmlBoundary?L==="html":!1,N--;const me=Z[N];if(me){if(delete Z[N],g.disallowedTagsMode==="discard"||g.disallowedTagsMode==="completelyDiscard"){W.updateParentNodeText();return}D=v,v=""}if(re[N]&&(L=re[N],delete re[N]),g.exclusiveFilter&&g.exclusiveFilter(W)){v=v.substr(0,W.tagPosition);return}if(W.updateParentNodeMediaChildren(),W.updateParentNodeText(),g.selfClosing.indexOf(L)!==-1||k&&!E(L)&&["escape","recursiveEscape"].indexOf(g.disallowedTagsMode)>=0){me&&(v=D,D="");return}v+="</"+L+">",me&&(v=D+se(v),D=""),K=!1}},g.parser);return ce.write(b),ce.end(),v;function Y(){v="",N=0,I=[],Z={},re={},ie=!1,q=0}function se(L,k){return typeof L!="string"&&(L=L+""),g.parser.decodeEntities&&(L=L.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),k&&(L=L.replace(/"/g,"""))),L=L.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),k&&(L=L.replace(/"/g,""")),L}function de(L,k){for(k=k.replace(/[\x00-\x20]+/g,"");;){const tt=k.indexOf("<!--");if(tt===-1)break;const ut=k.indexOf("-->",tt+4);if(ut===-1)break;k=k.substring(0,tt)+k.substring(ut+3)}const W=k.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!W)return k.match(/^[/\\]{2}/)?!g.allowProtocolRelative:!1;const me=W[1].toLowerCase();return c(g.allowedSchemesByTag,L)?g.allowedSchemesByTag[L].indexOf(me)===-1:!g.allowedSchemes||g.allowedSchemes.indexOf(me)===-1}function he(L){if(L=L.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),L.startsWith("relative:"))throw new Error("relative: exploit attempt");let k="relative://relative-site";for(let tt=0;tt<100;tt++)k+=`/${tt}`;const W=new URL(L,k);return{isRelativeUrl:W&&W.hostname==="relative-site"&&W.protocol==="relative:",url:W}}function oe(L,k){if(!k)return L;const W=L.nodes[0];let me;return k[W.selector]&&k["*"]?me=n(k[W.selector],k["*"]):me=k[W.selector]||k["*"],me&&(L.nodes[0].nodes=W.nodes.reduce(ye(me),[])),L}function be(L){return L.nodes[0].nodes.reduce(function(k,W){return k.push(`${W.prop}:${W.value}${W.important?" !important":""}`),k},[]).join(";")}function ye(L){return function(k,W){return c(L,W.prop)&&L[W.prop].some(function(tt){return tt.test(W.value)})&&k.push(W),k}}function ve(L,k,W){return k?(L=L.split(/\s+/),L.filter(function(me){return k.indexOf(me)!==-1||W.some(function(tt){return tt.test(me)})}).join(" ")):L}}const h={decodeEntities:!0};return m.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0},m.simpleTransform=function(b,g,w){return w=w===void 0?!0:w,g=g||{},function(v,D){let y;if(w)for(y in g)D[y]=g[y];else D=g;return{tagName:b,attribs:D}}},ja}var ub=nb();const Cf=bu(ub);function $a({label:e,error:t,childId:r,dataTestId:n,sx:u,children:i,isFormControl:a}){const s=Xe.useId(),l=r??s;return J.jsxs(qe.FormControl,{fullWidth:!0,sx:u,error:!!t,"data-testid":n,id:l,children:[a?J.jsx(qe.FormLabel,{id:`${l}-label`,htmlFor:l,sx:{pointerEvents:"none"},children:e}):J.jsx(qe.Typography,{id:`${l}-label`,component:"span",children:e}),J.jsx(qe.Box,{sx:{display:"flex",alignItems:"center",minHeight:on.capitalMuiTheme.spacing(4)},children:i}),t&&J.jsx(ln,{error:t,id:`${l}-error`})]})}function ib({html:e,...t}){return J.jsx(qe.Typography,{...t,dangerouslySetInnerHTML:{__html:Cf(e,{disallowedTagsMode:"recursiveEscape",allowedTags:Cf.defaults.allowedTags.concat(["img","br","p"])})}})}function Jr({label:e,text:t,asHTML:r=!1,sx:n={},error:u,startAdornment:i,endAdornment:a}){const s=Xe.useId(),l={tabIndex:0,id:s,"aria-readonly":!0,"aria-labelledby":`${s}-label`,"aria-describedby":`${s}-error`,"aria-invalid":!!u,"data-testid":"read-only-value"};return J.jsx($a,{label:e,sx:n,dataTestId:"read-only-field",error:u,childId:s,children:J.jsxs(qe.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[J.jsxs(qe.Box,{sx:{display:"flex",alignItems:"center"},children:[i,r&&t?J.jsx(ib,{html:t,...l}):J.jsx(qe.Typography,{...l,children:t})]}),a]})})}const _f=(e,t)=>({[{[jn.DAY]:"days",[jn.WEEK]:"weeks",[jn.MONTH]:"months",[jn.YEAR]:"years"}[t]]:e}),Tf=(e,t)=>{var u,i,a,s,l;const r=Yr(new Date),n=Yr(e);if((u=t.disableDaysOfWeek)!=null&&u.length){const c=t.disableDaysOfWeek.map(({value:p})=>p),f=Gi(n,"EEEE").toUpperCase();if(c.includes(f))return!0}if(((i=t.disablePastDates)==null?void 0:i.number)!==void 0&&((a=t.disablePastDates)!=null&&a.unit)){const c=_f(t.disablePastDates.number,t.disablePastDates.unit),f=Mg(r,c);if(Eu(n,f))return!0}if(((s=t.disableFutureDates)==null?void 0:s.number)!==void 0&&((l=t.disableFutureDates)!=null&&l.unit)){const c=_f(t.disableFutureDates.number,t.disableFutureDates.unit),f=fp(r,c);if(Du(n,f))return!0}return!1};function Sf({name:e,rules:t={},sx:r={},constraints:n={},dateFormat:u="MM/dd/yyyy",...i}){const{field:a,fieldState:{error:s}}=Jt.useController({name:e,rules:{...t,validate:l=>Number.isNaN(l==null?void 0:l.getTime())?"Please enter a valid date.":l&&n&&Tf(l,n)?"Selected date is not allowed.":!0}});if(i.readonly){const l=a.value&&!Number.isNaN(a.value.getTime())?Gi(a.value,u):"";return J.jsx(Jr,{label:i.label,text:l,sx:r,error:s==null?void 0:s.message})}return J.jsx(Ur.DatePicker,{...a,...i,format:u,sx:{...r,m:0},slotProps:{textField:{onBlur:a.onBlur,helperText:!!s&&J.jsx(ln,{error:s.message}),error:!!s,fullWidth:!0}},shouldDisableDate:l=>n?Tf(l,n):!1})}function Ff({name:e,label:t,sx:r={},disabled:n,rules:u={},readonly:i,...a}){const{field:s,fieldState:{error:l}}=Jt.useController({name:e,rules:u}),c=s.value?"Yes":"No";return i?J.jsx(Jr,{label:t,text:c,sx:r,error:l==null?void 0:l.message,startAdornment:J.jsx(qe.Checkbox,{disabled:!0,checked:s.value})}):J.jsxs($a,{label:t,sx:r,error:l==null?void 0:l.message,childId:e,isFormControl:!0,children:[J.jsx(qe.Checkbox,{id:e,checked:s.value,disabled:n,...s,...a,inputProps:{"aria-labelledby":`${e}-label`,"aria-describedby":`${e}-error`,"aria-invalid":!!l},color:l?"error":"primary","data-testid":"form-field-checkbox"}),!n&&J.jsx(qe.Typography,{children:c})]})}function Of({name:e,label:t,rules:r={},sx:n={},readonly:u,maxLength:i,filter:a,...s}){const{field:l,fieldState:{error:c}}=Jt.useController({name:e,rules:r}),f=p=>{let o=p.target.value;a&&(o=a(o)),l.onChange(o)};return u?J.jsx(Jr,{label:t,text:l.value,sx:n,error:c==null?void 0:c.message}):J.jsx(qe.TextField,{"data-test-id":"form-field-input",...l,label:t,fullWidth:!0,...s,error:!!c,helperText:!!c&&J.jsx(ln,{error:c.message}),onChange:f,sx:{...n,m:0},slotProps:{input:{inputProps:{maxLength:i}}}})}function Hn(){return Hn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Hn.apply(null,arguments)}var Nf={relTol:1e-12,absTol:1e-15,matrix:"Matrix",number:"number",numberFallback:"number",precision:64,predictable:!1,randomSeed:null};function ab(e,t){if(qu(e,t))return e[t];throw typeof e[t]=="function"&&ob(e,t)?new Error('Cannot access method "'+t+'" as a property'):new Error('No access to property "'+t+'"')}function sb(e,t,r){if(qu(e,t))return e[t]=r,r;throw new Error('No access to property "'+t+'"')}function qu(e,t){return!cb(e)&&!Array.isArray(e)?!1:Un(fb,t)?!0:!(t in Object.prototype||t in Function.prototype)}function ob(e,t){return e==null||typeof e[t]!="function"||Un(e,t)&&Object.getPrototypeOf&&t in Object.getPrototypeOf(e)?!1:Un(lb,t)?!0:!(t in Object.prototype||t in Function.prototype)}function cb(e){return typeof e=="object"&&e&&e.constructor===Object}var fb={length:!0,name:!0},lb={toString:!0,valueOf:!0,toLocaleString:!0};class db{constructor(t){this.wrappedObject=t,this[Symbol.iterator]=this.entries}keys(){return Object.keys(this.wrappedObject).filter(t=>this.has(t)).values()}get(t){return ab(this.wrappedObject,t)}set(t,r){return sb(this.wrappedObject,t,r),this}has(t){return qu(this.wrappedObject,t)&&t in this.wrappedObject}entries(){return hb(this.keys(),t=>[t,this.get(t)])}forEach(t){for(var r of this.keys())t(this.get(r),r,this)}delete(t){qu(this.wrappedObject,t)&&delete this.wrappedObject[t]}clear(){for(var t of this.keys())this.delete(t)}get size(){return Object.keys(this.wrappedObject).length}}function hb(e,t){return{next:()=>{var r=e.next();return r.done?r:{value:t(r.value),done:!1}}}}function et(e){return typeof e=="number"}function wt(e){return!e||typeof e!="object"||typeof e.constructor!="function"?!1:e.isBigNumber===!0&&typeof e.constructor.prototype=="object"&&e.constructor.prototype.isBigNumber===!0||typeof e.constructor.isDecimal=="function"&&e.constructor.isDecimal(e)===!0}function pb(e){return typeof e=="bigint"}function Mf(e){return e&&typeof e=="object"&&Object.getPrototypeOf(e).isComplex===!0||!1}function Pf(e){return e&&typeof e=="object"&&Object.getPrototypeOf(e).isFraction===!0||!1}function Bf(e){return e&&e.constructor.prototype.isUnit===!0||!1}function dr(e){return typeof e=="string"}var yt=Array.isArray;function Wt(e){return e&&e.constructor.prototype.isMatrix===!0||!1}function Lu(e){return Array.isArray(e)||Wt(e)}function mb(e){return e&&e.isDenseMatrix&&e.constructor.prototype.isMatrix===!0||!1}function gb(e){return e&&e.isSparseMatrix&&e.constructor.prototype.isMatrix===!0||!1}function bb(e){return e&&e.constructor.prototype.isRange===!0||!1}function za(e){return e&&e.constructor.prototype.isIndex===!0||!1}function yb(e){return typeof e=="boolean"}function vb(e){return e&&e.constructor.prototype.isResultSet===!0||!1}function wb(e){return e&&e.constructor.prototype.isHelp===!0||!1}function Db(e){return typeof e=="function"}function Eb(e){return e instanceof Date}function xb(e){return e instanceof RegExp}function Ha(e){return!!(e&&typeof e=="object"&&e.constructor===Object&&!Mf(e)&&!Pf(e))}function Ab(e){return e?e instanceof Map||e instanceof db||typeof e.set=="function"&&typeof e.get=="function"&&typeof e.keys=="function"&&typeof e.has=="function":!1}function Cb(e){return e===null}function _b(e){return e===void 0}function Tb(e){return e&&e.isAccessorNode===!0&&e.constructor.prototype.isNode===!0||!1}function Sb(e){return e&&e.isArrayNode===!0&&e.constructor.prototype.isNode===!0||!1}function Fb(e){return e&&e.isAssignmentNode===!0&&e.constructor.prototype.isNode===!0||!1}function Ob(e){return e&&e.isBlockNode===!0&&e.constructor.prototype.isNode===!0||!1}function Nb(e){return e&&e.isConditionalNode===!0&&e.constructor.prototype.isNode===!0||!1}function Mb(e){return e&&e.isConstantNode===!0&&e.constructor.prototype.isNode===!0||!1}function Pb(e){return e&&e.isFunctionAssignmentNode===!0&&e.constructor.prototype.isNode===!0||!1}function Bb(e){return e&&e.isFunctionNode===!0&&e.constructor.prototype.isNode===!0||!1}function Ib(e){return e&&e.isIndexNode===!0&&e.constructor.prototype.isNode===!0||!1}function Rb(e){return e&&e.isNode===!0&&e.constructor.prototype.isNode===!0||!1}function kb(e){return e&&e.isObjectNode===!0&&e.constructor.prototype.isNode===!0||!1}function qb(e){return e&&e.isOperatorNode===!0&&e.constructor.prototype.isNode===!0||!1}function Lb(e){return e&&e.isParenthesisNode===!0&&e.constructor.prototype.isNode===!0||!1}function jb(e){return e&&e.isRangeNode===!0&&e.constructor.prototype.isNode===!0||!1}function $b(e){return e&&e.isRelationalNode===!0&&e.constructor.prototype.isNode===!0||!1}function zb(e){return e&&e.isSymbolNode===!0&&e.constructor.prototype.isNode===!0||!1}function Hb(e){return e&&e.constructor.prototype.isChain===!0||!1}function en(e){var t=typeof e;return t==="object"?e===null?"null":wt(e)?"BigNumber":e.constructor&&e.constructor.name?e.constructor.name:"Object":t}function Dt(e){var t=typeof e;if(t==="number"||t==="bigint"||t==="string"||t==="boolean"||e===null||e===void 0)return e;if(typeof e.clone=="function")return e.clone();if(Array.isArray(e))return e.map(function(r){return Dt(r)});if(e instanceof Date)return new Date(e.valueOf());if(wt(e))return e;if(Ha(e))return Ub(e,Dt);if(t==="function")return e;throw new TypeError("Cannot clone: unknown type of value (value: ".concat(e,")"))}function Ub(e,t){var r={};for(var n in e)Un(e,n)&&(r[n]=t(e[n]));return r}function Vb(e,t){for(var r in t)Un(t,r)&&(e[r]=t[r]);return e}function Ir(e,t){var r,n,u;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(n=0,u=e.length;n<u;n++)if(!Ir(e[n],t[n]))return!1;return!0}else{if(typeof e=="function")return e===t;if(e instanceof Object){if(Array.isArray(t)||!(t instanceof Object))return!1;for(r in e)if(!(r in t)||!Ir(e[r],t[r]))return!1;for(r in t)if(!(r in e))return!1;return!0}else return e===t}}function Un(e,t){return e&&Object.hasOwnProperty.call(e,t)}function Wb(e,t){for(var r={},n=0;n<t.length;n++){var u=t[n],i=e[u];i!==void 0&&(r[u]=i)}return r}var Yb=["Matrix","Array"],Gb=["number","BigNumber","Fraction"],Vn=function(t){if(t)throw new Error(`The global config is readonly.
|
|
75
75
|
Please create a mathjs instance if you want to change the default configuration.
|
|
76
76
|
Example:
|
|
77
77
|
|
|
78
78
|
import { create, all } from 'mathjs';
|
|
79
79
|
const mathjs = create(all);
|
|
80
80
|
mathjs.config({ number: 'BigNumber' });
|
|
81
|
-
`);return Object.freeze(qf)};hn(Qn,qf,{MATRIX_OPTIONS:ty,NUMBER_OPTIONS:ry});function $f(){return!0}function Yt(){return!1}function pn(){}const zf="Argument is not a typed-function.";function Hf(){function e(S){return typeof S=="object"&&S!==null&&S.constructor===Object}const r=[{name:"number",test:function(S){return typeof S=="number"}},{name:"string",test:function(S){return typeof S=="string"}},{name:"boolean",test:function(S){return typeof S=="boolean"}},{name:"Function",test:function(S){return typeof S=="function"}},{name:"Array",test:Array.isArray},{name:"Date",test:function(S){return S instanceof Date}},{name:"RegExp",test:function(S){return S instanceof RegExp}},{name:"Object",test:e},{name:"null",test:function(S){return S===null}},{name:"undefined",test:function(S){return S===void 0}}],t={name:"any",test:$f,isAny:!0};let n,u,i=0,a={createCount:0};function s(S){const P=n.get(S);if(P)return P;let B='Unknown type "'+S+'"';const $=S.toLowerCase();let Y;for(Y of u)if(Y.toLowerCase()===$){B+='. Did you mean "'+Y+'" ?';break}throw new TypeError(B)}function l(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"any";const B=P?s(P).index:u.length,$=[];for(let U=0;U<S.length;++U){if(!S[U]||typeof S[U].name!="string"||typeof S[U].test!="function")throw new TypeError("Object with properties {name: string, test: function} expected");const te=S[U].name;if(n.has(te))throw new TypeError('Duplicate type name "'+te+'"');$.push(te),n.set(te,{name:te,test:S[U].test,isAny:S[U].isAny,index:B+U,conversionsTo:[]})}const Y=u.slice(B);u=u.slice(0,B).concat($).concat(Y);for(let U=B+$.length;U<u.length;++U)n.get(u[U]).index=U}function c(){n=new Map,u=[],i=0,l([t],!1)}c(),l(r);function f(){let S;for(S of u)n.get(S).conversionsTo=[];i=0}function p(S){const P=u.filter(B=>{const $=n.get(B);return!$.isAny&&$.test(S)});return P.length?P:["any"]}function o(S){return S&&typeof S=="function"&&"_typedFunctionData"in S}function d(S,P,B){if(!o(S))throw new TypeError(zf);const $=B&&B.exact,Y=Array.isArray(P)?P.join(","):P,U=D(Y),te=b(U);if(!$||te in S.signatures){const $e=S._typedFunctionData.signatureMap.get(te);if($e)return $e}const K=U.length;let ue;if($){ue=[];let $e;for($e in S.signatures)ue.push(S._typedFunctionData.signatureMap.get($e))}else ue=S._typedFunctionData.signatures;for(let $e=0;$e<K;++$e){const Ye=U[$e],ct=[];let Nt;for(Nt of ue){const Tt=C(Nt.params,$e);if(!(!Tt||Ye.restParam&&!Tt.restParam)){if(!Tt.hasAny){const Pt=y(Tt);if(Ye.types.some(Lt=>!Pt.has(Lt.name)))continue}ct.push(Nt)}}if(ue=ct,ue.length===0)break}let Q;for(Q of ue)if(Q.params.length<=K)return Q;throw new TypeError("Signature not found (signature: "+(S.name||"unnamed")+"("+b(U,", ")+"))")}function m(S,P,B){return d(S,P,B).implementation}function h(S,P){const B=s(P);if(B.test(S))return S;const $=B.conversionsTo;if($.length===0)throw new Error("There are no conversions to "+P+" defined.");for(let Y=0;Y<$.length;Y++)if(s($[Y].from).test(S))return $[Y].convert(S);throw new Error("Cannot convert "+S+" to "+P)}function b(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:",";return S.map(B=>B.name).join(P)}function g(S){const P=S.indexOf("...")===0,$=(P?S.length>3?S.slice(3):"any":S).split("|").map(K=>s(K.trim()));let Y=!1,U=P?"...":"";return{types:$.map(function(K){return Y=K.isAny||Y,U+=K.name+"|",{name:K.name,typeIndex:K.index,test:K.test,isAny:K.isAny,conversion:null,conversionIndex:-1}}),name:U.slice(0,-1),hasAny:Y,hasConversion:!1,restParam:P}}function w(S){const P=S.types.map(te=>te.name),B=J(P);let $=S.hasAny,Y=S.name;const U=B.map(function(te){const K=s(te.from);return $=K.isAny||$,Y+="|"+te.from,{name:te.from,typeIndex:K.index,test:K.test,isAny:K.isAny,conversion:te,conversionIndex:te.index}});return{types:S.types.concat(U),name:Y,hasAny:$,hasConversion:U.length>0,restParam:S.restParam}}function y(S){return S.typeSet||(S.typeSet=new Set,S.types.forEach(P=>S.typeSet.add(P.name))),S.typeSet}function D(S){const P=[];if(typeof S!="string")throw new TypeError("Signatures must be strings");const B=S.trim();if(B==="")return P;const $=B.split(",");for(let Y=0;Y<$.length;++Y){const U=g($[Y].trim());if(U.restParam&&Y!==$.length-1)throw new SyntaxError('Unexpected rest parameter "'+$[Y]+'": only allowed for the last parameter');if(U.types.length===0)return null;P.push(U)}return P}function v(S){const P=ye(S);return P?P.restParam:!1}function E(S){if(!S||S.types.length===0)return $f;if(S.types.length===1)return s(S.types[0].name).test;if(S.types.length===2){const P=s(S.types[0].name).test,B=s(S.types[1].name).test;return function(Y){return P(Y)||B(Y)}}else{const P=S.types.map(function(B){return s(B.name).test});return function($){for(let Y=0;Y<P.length;Y++)if(P[Y]($))return!0;return!1}}}function A(S){let P,B,$;if(v(S)){P=be(S).map(E);const Y=P.length,U=E(ye(S)),te=function(K){for(let ue=Y;ue<K.length;ue++)if(!U(K[ue]))return!1;return!0};return function(ue){for(let Q=0;Q<P.length;Q++)if(!P[Q](ue[Q]))return!1;return te(ue)&&ue.length>=Y+1}}else return S.length===0?function(U){return U.length===0}:S.length===1?(B=E(S[0]),function(U){return B(U[0])&&U.length===1}):S.length===2?(B=E(S[0]),$=E(S[1]),function(U){return B(U[0])&&$(U[1])&&U.length===2}):(P=S.map(E),function(U){for(let te=0;te<P.length;te++)if(!P[te](U[te]))return!1;return U.length===P.length})}function C(S,P){return P<S.length?S[P]:v(S)?ye(S):null}function T(S,P){const B=C(S,P);return B?y(B):new Set}function x(S){return S.conversion===null||S.conversion===void 0}function _(S,P){const B=new Set;return S.forEach($=>{const Y=T($.params,P);let U;for(U of Y)B.add(U)}),B.has("any")?["any"]:Array.from(B)}function F(S,P,B){let $,Y;const U=S||"unnamed";let te=B,K;for(K=0;K<P.length;K++){const Ye=[];if(te.forEach(ct=>{const Nt=C(ct.params,K),Tt=E(Nt);(K<ct.params.length||v(ct.params))&&Tt(P[K])&&Ye.push(ct)}),Ye.length===0){if(Y=_(te,K),Y.length>0){const ct=p(P[K]);return $=new TypeError("Unexpected type of argument in function "+U+" (expected: "+Y.join(" or ")+", actual: "+ct.join(" | ")+", index: "+K+")"),$.data={category:"wrongType",fn:U,index:K,actual:ct,expected:Y},$}}else te=Ye}const ue=te.map(function(Ye){return v(Ye.params)?1/0:Ye.params.length});if(P.length<Math.min.apply(null,ue))return Y=_(te,K),$=new TypeError("Too few arguments in function "+U+" (expected: "+Y.join(" or ")+", index: "+P.length+")"),$.data={category:"tooFewArgs",fn:U,index:P.length,expected:Y},$;const Q=Math.max.apply(null,ue);if(P.length>Q)return $=new TypeError("Too many arguments in function "+U+" (expected: "+Q+", actual: "+P.length+")"),$.data={category:"tooManyArgs",fn:U,index:P.length,expectedLength:Q},$;const $e=[];for(let Ye=0;Ye<P.length;++Ye)$e.push(p(P[Ye]).join("|"));return $=new TypeError('Arguments of type "'+$e.join(", ")+'" do not match any of the defined signatures of function '+U+"."),$.data={category:"mismatch",actual:$e},$}function N(S){let P=u.length+1;for(let B=0;B<S.types.length;B++)x(S.types[B])&&(P=Math.min(P,S.types[B].typeIndex));return P}function I(S){let P=i+1;for(let B=0;B<S.types.length;B++)x(S.types[B])||(P=Math.min(P,S.types[B].conversionIndex));return P}function M(S,P){if(S.hasAny){if(!P.hasAny)return 1}else if(P.hasAny)return-1;if(S.restParam){if(!P.restParam)return 1}else if(P.restParam)return-1;if(S.hasConversion){if(!P.hasConversion)return 1}else if(P.hasConversion)return-1;const B=N(S)-N(P);if(B<0)return-1;if(B>0)return 1;const $=I(S)-I(P);return $<0?-1:$>0?1:0}function R(S,P){const B=S.params,$=P.params,Y=ye(B),U=ye($),te=v(B),K=v($);if(te&&Y.hasAny){if(!K||!U.hasAny)return 1}else if(K&&U.hasAny)return-1;let ue=0,Q=0,$e;for($e of B)$e.hasAny&&++ue,$e.hasConversion&&++Q;let Ye=0,ct=0;for($e of $)$e.hasAny&&++Ye,$e.hasConversion&&++ct;if(ue!==Ye)return ue-Ye;if(te&&Y.hasConversion){if(!K||!U.hasConversion)return 1}else if(K&&U.hasConversion)return-1;if(Q!==ct)return Q-ct;if(te){if(!K)return 1}else if(K)return-1;const Nt=(B.length-$.length)*(te?-1:1);if(Nt!==0)return Nt;const Tt=[];let Pt=0;for(let Ut=0;Ut<B.length;++Ut){const Lr=M(B[Ut],$[Ut]);Tt.push(Lr),Pt+=Lr}if(Pt!==0)return Pt;let Lt;for(Lt of Tt)if(Lt!==0)return Lt;return 0}function J(S){if(S.length===0)return[];const P=S.map(s);S.length>1&&P.sort((Y,U)=>Y.index-U.index);let B=P[0].conversionsTo;if(S.length===1)return B;B=B.concat([]);const $=new Set(S);for(let Y=1;Y<P.length;++Y){let U;for(U of P[Y].conversionsTo)$.has(U.from)||(B.push(U),$.add(U.from))}return B}function ne(S,P){let B=P;if(S.some(Y=>Y.hasConversion)){const Y=v(S),U=S.map(ie);B=function(){const K=[],ue=Y?arguments.length-1:arguments.length;for(let Q=0;Q<ue;Q++)K[Q]=U[Q](arguments[Q]);return Y&&(K[ue]=arguments[ue].map(U[ue])),P.apply(this,K)}}let $=B;if(v(S)){const Y=S.length-1;$=function(){return B.apply(this,ve(arguments,0,Y).concat([ve(arguments,Y)]))}}return $}function ie(S){let P,B,$,Y;const U=[],te=[];switch(S.types.forEach(function(K){K.conversion&&(U.push(s(K.conversion.from).test),te.push(K.conversion.convert))}),te.length){case 0:return function(ue){return ue};case 1:return P=U[0],$=te[0],function(ue){return P(ue)?$(ue):ue};case 2:return P=U[0],B=U[1],$=te[0],Y=te[1],function(ue){return P(ue)?$(ue):B(ue)?Y(ue):ue};default:return function(ue){for(let Q=0;Q<te.length;Q++)if(U[Q](ue))return te[Q](ue);return ue}}}function k(S){function P(B,$,Y){if($<B.length){const U=B[$];let te=[];if(U.restParam){const K=U.types.filter(x);K.length<U.types.length&&te.push({types:K,name:"..."+K.map(ue=>ue.name).join("|"),hasAny:K.some(ue=>ue.isAny),hasConversion:!1,restParam:!0}),te.push(U)}else te=U.types.map(function(K){return{types:[K],name:K.name,hasAny:K.isAny,hasConversion:K.conversion,restParam:!1}});return q(te,function(K){return P(B,$+1,Y.concat([K]))})}else return[Y]}return P(S,0,[])}function Z(S,P){const B=Math.max(S.length,P.length);for(let K=0;K<B;K++){const ue=T(S,K),Q=T(P,K);let $e=!1,Ye;for(Ye of Q)if(ue.has(Ye)){$e=!0;break}if(!$e)return!1}const $=S.length,Y=P.length,U=v(S),te=v(P);return U?te?$===Y:Y>=$:te?$>=Y:$===Y}function fe(S){return S.map(P=>qn(P)?We(P.referToSelf.callback):rt(P)?pe(P.referTo.references,P.referTo.callback):P)}function G(S,P,B){const $=[];let Y;for(Y of S){let U=B[Y];if(typeof U!="number")throw new TypeError('No definition for referenced signature "'+Y+'"');if(U=P[U],typeof U!="function")return!1;$.push(U)}return $}function se(S,P,B){const $=fe(S),Y=new Array($.length).fill(!1);let U=!0;for(;U;){U=!1;let te=!0;for(let K=0;K<$.length;++K){if(Y[K])continue;const ue=$[K];if(qn(ue))$[K]=ue.referToSelf.callback(B),$[K].referToSelf=ue.referToSelf,Y[K]=!0,te=!1;else if(rt(ue)){const Q=G(ue.referTo.references,$,P);Q?($[K]=ue.referTo.callback.apply(this,Q),$[K].referTo=ue.referTo,Y[K]=!0,te=!1):U=!0}}if(te&&U)throw new SyntaxError("Circular reference detected in resolving typed.referTo")}return $}function de(S){const P=/\bthis(\(|\.signatures\b)/;Object.keys(S).forEach(B=>{const $=S[B];if(P.test($.toString()))throw new SyntaxError("Using `this` to self-reference a function is deprecated since typed-function@3. Use typed.referTo and typed.referToSelf instead.")})}function he(S,P){if(a.createCount++,Object.keys(P).length===0)throw new SyntaxError("No signatures provided");a.warnAgainstDeprecatedThis&&de(P);const B=[],$=[],Y={},U=[];let te;for(te in P){if(!Object.prototype.hasOwnProperty.call(P,te))continue;const Ee=D(te);if(!Ee)continue;B.forEach(function(wu){if(Z(wu,Ee))throw new TypeError('Conflicting signatures "'+b(wu)+'" and "'+b(Ee)+'".')}),B.push(Ee);const At=$.length;$.push(P[te]);const qc=Ee.map(w);let Ln;for(Ln of k(qc)){const wu=b(Ln);U.push({params:Ln,name:wu,fn:At}),Ln.every(c8=>!c8.hasConversion)&&(Y[wu]=At)}}U.sort(R);const K=se($,Y,Vt);let ue;for(ue in Y)Object.prototype.hasOwnProperty.call(Y,ue)&&(Y[ue]=K[Y[ue]]);const Q=[],$e=new Map;for(ue of U)$e.has(ue.name)||(ue.fn=K[ue.fn],Q.push(ue),$e.set(ue.name,ue));const Ye=Q[0]&&Q[0].params.length<=2&&!v(Q[0].params),ct=Q[1]&&Q[1].params.length<=2&&!v(Q[1].params),Nt=Q[2]&&Q[2].params.length<=2&&!v(Q[2].params),Tt=Q[3]&&Q[3].params.length<=2&&!v(Q[3].params),Pt=Q[4]&&Q[4].params.length<=2&&!v(Q[4].params),Lt=Q[5]&&Q[5].params.length<=2&&!v(Q[5].params),Ut=Ye&&ct&&Nt&&Tt&&Pt&≪for(let Ee=0;Ee<Q.length;++Ee)Q[Ee].test=A(Q[Ee].params);const Lr=Ye?E(Q[0].params[0]):Yt,vu=ct?E(Q[1].params[0]):Yt,Hi=Nt?E(Q[2].params[0]):Yt,Fc=Tt?E(Q[3].params[0]):Yt,Ui=Pt?E(Q[4].params[0]):Yt,Oc=Lt?E(Q[5].params[0]):Yt,Vi=Ye?E(Q[0].params[1]):Yt,Wi=ct?E(Q[1].params[1]):Yt,Mc=Nt?E(Q[2].params[1]):Yt,Nc=Tt?E(Q[3].params[1]):Yt,Yi=Pt?E(Q[4].params[1]):Yt,Gi=Lt?E(Q[5].params[1]):Yt;for(let Ee=0;Ee<Q.length;++Ee)Q[Ee].implementation=ne(Q[Ee].params,Q[Ee].fn);const Pc=Ye?Q[0].implementation:pn,Ic=ct?Q[1].implementation:pn,Bc=Nt?Q[2].implementation:pn,Rc=Tt?Q[3].implementation:pn,O=Pt?Q[4].implementation:pn,X=Lt?Q[5].implementation:pn,ae=Ye?Q[0].params.length:-1,we=ct?Q[1].params.length:-1,Ne=Nt?Q[2].params.length:-1,He=Tt?Q[3].params.length:-1,Te=Pt?Q[4].params.length:-1,Ce=Lt?Q[5].params.length:-1,St=Ut?6:0,ut=Q.length,ft=Q.map(Ee=>Ee.test),jt=Q.map(Ee=>Ee.implementation),jr=function(){for(let At=St;At<ut;At++)if(ft[At](arguments))return jt[At].apply(this,arguments);return a.onMismatch(S,arguments,Q)};function Vt(Ee,At){return arguments.length===ae&&Lr(Ee)&&Vi(At)?Pc.apply(this,arguments):arguments.length===we&&vu(Ee)&&Wi(At)?Ic.apply(this,arguments):arguments.length===Ne&&Hi(Ee)&&Mc(At)?Bc.apply(this,arguments):arguments.length===He&&Fc(Ee)&&Nc(At)?Rc.apply(this,arguments):arguments.length===Te&&Ui(Ee)&&Yi(At)?O.apply(this,arguments):arguments.length===Ce&&Oc(Ee)&&Gi(At)?X.apply(this,arguments):jr.apply(this,arguments)}try{Object.defineProperty(Vt,"name",{value:S})}catch{}return Vt.signatures=Y,Vt._typedFunctionData={signatures:Q,signatureMap:$e},Vt}function oe(S,P,B){throw F(S,P,B)}function be(S){return ve(S,0,S.length-1)}function ye(S){return S[S.length-1]}function ve(S,P,B){return Array.prototype.slice.call(S,P,B)}function L(S,P){for(let B=0;B<S.length;B++)if(P(S[B]))return S[B]}function q(S,P){return Array.prototype.concat.apply([],S.map(P))}function W(){const S=be(arguments).map(B=>b(D(B))),P=ye(arguments);if(typeof P!="function")throw new TypeError("Callback function expected as last argument");return pe(S,P)}function pe(S,P){return{referTo:{references:S,callback:P}}}function We(S){if(typeof S!="function")throw new TypeError("Callback function expected as first argument");return{referToSelf:{callback:S}}}function rt(S){return S&&typeof S.referTo=="object"&&Array.isArray(S.referTo.references)&&typeof S.referTo.callback=="function"}function qn(S){return S&&typeof S.referToSelf=="object"&&typeof S.referToSelf.callback=="function"}function kn(S,P){if(!S)return P;if(P&&P!==S){const B=new Error("Function names do not match (expected: "+S+", actual: "+P+")");throw B.data={actual:P,expected:S},B}return S}function Se(S){let P;for(const B in S)Object.prototype.hasOwnProperty.call(S,B)&&(o(S[B])||typeof S[B].signature=="string")&&(P=kn(P,S[B].name));return P}function Fe(S,P){let B;for(B in P)if(Object.prototype.hasOwnProperty.call(P,B)){if(B in S&&P[B]!==S[B]){const $=new Error('Signature "'+B+'" is defined twice');throw $.data={signature:B,sourceFunction:P[B],destFunction:S[B]},$}S[B]=P[B]}}const on=a;a=function(S){const P=typeof S=="string",B=P?1:0;let $=P?S:"";const Y={};for(let U=B;U<arguments.length;++U){const te=arguments[U];let K={},ue;if(typeof te=="function"?(ue=te.name,typeof te.signature=="string"?K[te.signature]=te:o(te)&&(K=te.signatures)):e(te)&&(K=te,P||(ue=Se(te))),Object.keys(K).length===0){const Q=new TypeError("Argument to 'typed' at index "+U+" is not a (typed) function, nor an object with signatures as keys and functions as values.");throw Q.data={index:U,argument:te},Q}P||($=kn($,ue)),Fe(Y,K)}return he($||"",Y)},a.create=Hf,a.createCount=on.createCount,a.onMismatch=oe,a.throwMismatchError=oe,a.createError=F,a.clear=c,a.clearConversions=f,a.addTypes=l,a._findType=s,a.referTo=W,a.referToSelf=We,a.convert=h,a.findSignature=d,a.find=m,a.isTypedFunction=o,a.warnAgainstDeprecatedThis=!0,a.addType=function(S,P){let B="any";P!==!1&&n.has("Object")&&(B="Object"),a.addTypes([S],B)};function _e(S){if(!S||typeof S.from!="string"||typeof S.to!="string"||typeof S.convert!="function")throw new TypeError("Object with properties {from: string, to: string, convert: function} expected");if(S.to===S.from)throw new SyntaxError('Illegal to define conversion from "'+S.from+'" to itself.')}return a.addConversion=function(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{override:!1};_e(S);const B=s(S.to),$=B.conversionsTo.find(Y=>Y.from===S.from);if($)if(P&&P.override)a.removeConversion({from:$.from,to:S.to,convert:$.convert});else throw new Error('There is already a conversion from "'+S.from+'" to "'+B.name+'"');B.conversionsTo.push({from:S.from,convert:S.convert,index:i++})},a.addConversions=function(S,P){S.forEach(B=>a.addConversion(B,P))},a.removeConversion=function(S){_e(S);const P=s(S.to),B=L(P.conversionsTo,Y=>Y.from===S.from);if(!B)throw new Error("Attempt to remove nonexistent conversion from "+S.from+" to "+S.to);if(B.convert!==S.convert)throw new Error("Conversion to remove does not match existing conversion");const $=P.conversionsTo.indexOf(B);P.conversionsTo.splice($,1)},a.resolve=function(S,P){if(!o(S))throw new TypeError(zf);const B=S._typedFunctionData.signatures;for(let $=0;$<B.length;++$)if(B[$].test(P))return B[$];return null},a}const Vu=Hf();function Ie(e,r,t,n){function u(i){var a=ey(i,r.map(iy));return ny(e,r,i),t(a)}return u.isFactory=!0,u.fn=e,u.dependencies=r.slice().sort(),n&&(u.meta=n),u}function ny(e,r,t){var n=r.filter(i=>!uy(i)).every(i=>t[i]!==void 0);if(!n){var u=r.filter(i=>t[i]===void 0);throw new Error('Cannot create function "'.concat(e,'", ')+"some dependencies are missing: ".concat(u.map(i=>'"'.concat(i,'"')).join(", "),"."))}}function uy(e){return e&&e[0]==="?"}function iy(e){return e&&e[0]==="?"?e.slice(1):e}function pt(e){return typeof e=="boolean"?!0:isFinite(e)?e===Math.round(e):!1}function Qa(e,r,t){var n={2:"0b",8:"0o",16:"0x"},u=n[r],i="";if(t){if(t<1)throw new Error("size must be in greater than 0");if(!pt(t))throw new Error("size must be an integer");if(e>2**(t-1)-1||e<-(2**(t-1)))throw new Error("Value must be in range [-2^".concat(t-1,", 2^").concat(t-1,"-1]"));if(!pt(e))throw new Error("Value must be an integer");e<0&&(e=e+2**t),i="i".concat(t)}var a="";return e<0&&(e=-e,a="-"),"".concat(a).concat(u).concat(e.toString(r)).concat(i)}function Ka(e,r){if(typeof r=="function")return r(e);if(e===1/0)return"Infinity";if(e===-1/0)return"-Infinity";if(isNaN(e))return"NaN";var{notation:t,precision:n,wordSize:u}=Uf(r);switch(t){case"fixed":return Vf(e,n);case"exponential":return Wf(e,n);case"engineering":return ay(e,n);case"bin":return Qa(e,2,u);case"oct":return Qa(e,8,u);case"hex":return Qa(e,16,u);case"auto":return sy(e,n,r).replace(/((\.\d*?)(0+))($|e)/,function(){var i=arguments[2],a=arguments[4];return i!=="."?i+a:a});default:throw new Error('Unknown notation "'+t+'". Choose "auto", "exponential", "fixed", "bin", "oct", or "hex.')}}function Uf(e){var r="auto",t,n;if(e!==void 0)if(Je(e))t=e;else if(vt(e))t=e.toNumber();else if(Xa(e))e.precision!==void 0&&(t=Yf(e.precision,()=>{throw new Error('Option "precision" must be a number or BigNumber')})),e.wordSize!==void 0&&(n=Yf(e.wordSize,()=>{throw new Error('Option "wordSize" must be a number or BigNumber')})),e.notation&&(r=e.notation);else throw new Error("Unsupported type of options, number, BigNumber, or object expected");return{notation:r,precision:t,wordSize:n}}function Kn(e){var r=String(e).toLowerCase().match(/^(-?)(\d+\.?\d*)(e([+-]?\d+))?$/);if(!r)throw new SyntaxError("Invalid number "+e);var t=r[1],n=r[2],u=parseFloat(r[4]||"0"),i=n.indexOf(".");u+=i!==-1?i-1:n.length-1;var a=n.replace(".","").replace(/^0*/,function(s){return u-=s.length,""}).replace(/0*$/,"").split("").map(function(s){return parseInt(s)});return a.length===0&&(a.push(0),u++),{sign:t,coefficients:a,exponent:u}}function ay(e,r){if(isNaN(e)||!isFinite(e))return String(e);var t=Kn(e),n=Wu(t,r),u=n.exponent,i=n.coefficients,a=u%3===0?u:u<0?u-3-u%3:u-u%3;if(Je(r))for(;r>i.length||u-a+1>i.length;)i.push(0);else for(var s=Math.abs(u-a)-(i.length-1),l=0;l<s;l++)i.push(0);for(var c=Math.abs(u-a),f=1;c>0;)f++,c--;var p=i.slice(f).join(""),o=Je(r)&&p.length||p.match(/[1-9]/)?"."+p:"",d=i.slice(0,f).join("")+o+"e"+(u>=0?"+":"")+a.toString();return n.sign+d}function Vf(e,r){if(isNaN(e)||!isFinite(e))return String(e);var t=Kn(e),n=typeof r=="number"?Wu(t,t.exponent+1+r):t,u=n.coefficients,i=n.exponent+1,a=i+(r||0);return u.length<a&&(u=u.concat(mn(a-u.length))),i<0&&(u=mn(-i+1).concat(u),i=1),i<u.length&&u.splice(i,0,i===0?"0.":"."),n.sign+u.join("")}function Wf(e,r){if(isNaN(e)||!isFinite(e))return String(e);var t=Kn(e),n=r?Wu(t,r):t,u=n.coefficients,i=n.exponent;u.length<r&&(u=u.concat(mn(r-u.length)));var a=u.shift();return n.sign+a+(u.length>0?"."+u.join(""):"")+"e"+(i>=0?"+":"")+i}function sy(e,r,t){if(isNaN(e)||!isFinite(e))return String(e);var n=Gf(t==null?void 0:t.lowerExp,-3),u=Gf(t==null?void 0:t.upperExp,5),i=Kn(e),a=r?Wu(i,r):i;if(a.exponent<n||a.exponent>=u)return Wf(e,r);var s=a.coefficients,l=a.exponent;s.length<r&&(s=s.concat(mn(r-s.length))),s=s.concat(mn(l-s.length+1+(s.length<r?r-s.length:0))),s=mn(-l).concat(s);var c=l>0?l:0;return c<s.length-1&&s.splice(c+1,0,"."),a.sign+s.join("")}function Wu(e,r){for(var t={sign:e.sign,coefficients:e.coefficients,exponent:e.exponent},n=t.coefficients;r<=0;)n.unshift(0),t.exponent++,r++;if(n.length>r){var u=n.splice(r,n.length-r);if(u[0]>=5){var i=r-1;for(n[i]++;n[i]===10;)n.pop(),i===0&&(n.unshift(0),t.exponent++,i++),i--,n[i]++}}return t}function mn(e){for(var r=[],t=0;t<e;t++)r.push(0);return r}function oy(e){return e.toExponential().replace(/e.*$/,"").replace(/^0\.?0*|\./,"").length}function gn(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1e-8,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(t<=0)throw new Error("Relative tolerance must be greater than 0");if(n<0)throw new Error("Absolute tolerance must be at least 0");return isNaN(e)||isNaN(r)?!1:!isFinite(e)||!isFinite(r)?e===r:e===r?!0:Math.abs(e-r)<=Math.max(t*Math.max(Math.abs(e),Math.abs(r)),n)}function Yf(e,r){if(Je(e))return e;if(vt(e))return e.toNumber();r()}function Gf(e,r){return Je(e)?e:vt(e)?e.toNumber():r}var Xf=function(){return Xf=Vu.create,Vu},cy=["?BigNumber","?Complex","?DenseMatrix","?Fraction"],fy=Ie("typed",cy,function(r){var{BigNumber:t,Complex:n,DenseMatrix:u,Fraction:i}=r,a=Xf();return a.clear(),a.addTypes([{name:"number",test:Je},{name:"Complex",test:kf},{name:"BigNumber",test:vt},{name:"bigint",test:Eb},{name:"Fraction",test:Lf},{name:"Unit",test:jf},{name:"identifier",test:s=>fr&&/^(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDD4A-\uDD65\uDD6F-\uDD85\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDDD0-\uDDED\uDDF0\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDD4A-\uDD65\uDD6F-\uDD85\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDDD0-\uDDED\uDDF0\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])*$/.test(s)},{name:"string",test:fr},{name:"Chain",test:Kb},{name:"Array",test:bt},{name:"Matrix",test:Wt},{name:"DenseMatrix",test:xb},{name:"SparseMatrix",test:Ab},{name:"Range",test:Cb},{name:"Index",test:Ga},{name:"boolean",test:_b},{name:"ResultSet",test:Tb},{name:"Help",test:Sb},{name:"function",test:Fb},{name:"Date",test:Ob},{name:"RegExp",test:Mb},{name:"null",test:Pb},{name:"undefined",test:Ib},{name:"AccessorNode",test:Bb},{name:"ArrayNode",test:Rb},{name:"AssignmentNode",test:qb},{name:"BlockNode",test:kb},{name:"ConditionalNode",test:Lb},{name:"ConstantNode",test:jb},{name:"FunctionNode",test:zb},{name:"FunctionAssignmentNode",test:$b},{name:"IndexNode",test:Hb},{name:"Node",test:Ub},{name:"ObjectNode",test:Vb},{name:"OperatorNode",test:Wb},{name:"ParenthesisNode",test:Yb},{name:"RangeNode",test:Gb},{name:"RelationalNode",test:Xb},{name:"SymbolNode",test:Qb},{name:"Map",test:Nb},{name:"Object",test:Xa}]),a.addConversions([{from:"number",to:"BigNumber",convert:function(l){if(t||Yu(l),oy(l)>15)throw new TypeError("Cannot implicitly convert a number with >15 significant digits to BigNumber (value: "+l+"). Use function bignumber(x) to convert to BigNumber.");return new t(l)}},{from:"number",to:"Complex",convert:function(l){return n||Gu(l),new n(l,0)}},{from:"BigNumber",to:"Complex",convert:function(l){return n||Gu(l),new n(l.toNumber(),0)}},{from:"bigint",to:"number",convert:function(l){if(l>Number.MAX_SAFE_INTEGER)throw new TypeError("Cannot implicitly convert bigint to number: value exceeds the max safe integer value (value: "+l+")");return Number(l)}},{from:"bigint",to:"BigNumber",convert:function(l){return t||Yu(l),new t(l.toString())}},{from:"bigint",to:"Fraction",convert:function(l){return i||Xu(l),new i(l)}},{from:"Fraction",to:"BigNumber",convert:function(l){throw new TypeError("Cannot implicitly convert a Fraction to BigNumber or vice versa. Use function bignumber(x) to convert to BigNumber or fraction(x) to convert to Fraction.")}},{from:"Fraction",to:"Complex",convert:function(l){return n||Gu(l),new n(l.valueOf(),0)}},{from:"number",to:"Fraction",convert:function(l){i||Xu(l);var c=new i(l);if(c.valueOf()!==l)throw new TypeError("Cannot implicitly convert a number to a Fraction when there will be a loss of precision (value: "+l+"). Use function fraction(x) to convert to Fraction.");return c}},{from:"string",to:"number",convert:function(l){var c=Number(l);if(isNaN(c))throw new Error('Cannot convert "'+l+'" to a number');return c}},{from:"string",to:"BigNumber",convert:function(l){t||Yu(l);try{return new t(l)}catch{throw new Error('Cannot convert "'+l+'" to BigNumber')}}},{from:"string",to:"bigint",convert:function(l){try{return BigInt(l)}catch{throw new Error('Cannot convert "'+l+'" to BigInt')}}},{from:"string",to:"Fraction",convert:function(l){i||Xu(l);try{return new i(l)}catch{throw new Error('Cannot convert "'+l+'" to Fraction')}}},{from:"string",to:"Complex",convert:function(l){n||Gu(l);try{return new n(l)}catch{throw new Error('Cannot convert "'+l+'" to Complex')}}},{from:"boolean",to:"number",convert:function(l){return+l}},{from:"boolean",to:"BigNumber",convert:function(l){return t||Yu(l),new t(+l)}},{from:"boolean",to:"bigint",convert:function(l){return BigInt(+l)}},{from:"boolean",to:"Fraction",convert:function(l){return i||Xu(l),new i(+l)}},{from:"boolean",to:"string",convert:function(l){return String(l)}},{from:"Array",to:"Matrix",convert:function(l){return u||ly(),new u(l)}},{from:"Matrix",to:"Array",convert:function(l){return l.valueOf()}}]),a.onMismatch=(s,l,c)=>{var f=a.createError(s,l,c);if(["wrongType","mismatch"].includes(f.data.category)&&l.length===1&&Uu(l[0])&&c.some(o=>!o.params.includes(","))){var p=new TypeError("Function '".concat(s,"' doesn't apply to matrices. To call it ")+"elementwise on a matrix 'M', try 'map(M, ".concat(s,")'."));throw p.data=f.data,p}throw f},a.onMismatch=(s,l,c)=>{var f=a.createError(s,l,c);if(["wrongType","mismatch"].includes(f.data.category)&&l.length===1&&Uu(l[0])&&c.some(o=>!o.params.includes(","))){var p=new TypeError("Function '".concat(s,"' doesn't apply to matrices. To call it ")+"elementwise on a matrix 'M', try 'map(M, ".concat(s,")'."));throw p.data=f.data,p}throw f},a});function Yu(e){throw new Error("Cannot convert value ".concat(e," into a BigNumber: no class 'BigNumber' provided"))}function Gu(e){throw new Error("Cannot convert value ".concat(e," into a Complex number: no class 'Complex' provided"))}function ly(){throw new Error("Cannot convert array into a Matrix: no class 'DenseMatrix' provided")}function Xu(e){throw new Error("Cannot convert value ".concat(e," into a Fraction, no class 'Fraction' provided."))}/*!
|
|
82
|
-
* decimal.js v10.
|
|
81
|
+
`);return Object.freeze(Nf)};Hn(Vn,Nf,{MATRIX_OPTIONS:Yb,NUMBER_OPTIONS:Gb});function If(){return!0}function Yt(){return!1}function dn(){}const Rf="Argument is not a typed-function.";function kf(){function e(S){return typeof S=="object"&&S!==null&&S.constructor===Object}const t=[{name:"number",test:function(S){return typeof S=="number"}},{name:"string",test:function(S){return typeof S=="string"}},{name:"boolean",test:function(S){return typeof S=="boolean"}},{name:"Function",test:function(S){return typeof S=="function"}},{name:"Array",test:Array.isArray},{name:"Date",test:function(S){return S instanceof Date}},{name:"RegExp",test:function(S){return S instanceof RegExp}},{name:"Object",test:e},{name:"null",test:function(S){return S===null}},{name:"undefined",test:function(S){return S===void 0}}],r={name:"any",test:If,isAny:!0};let n,u,i=0,a={createCount:0};function s(S){const P=n.get(S);if(P)return P;let R='Unknown type "'+S+'"';const z=S.toLowerCase();let H;for(H of u)if(H.toLowerCase()===z){R+='. Did you mean "'+H+'" ?';break}throw new TypeError(R)}function l(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"any";const R=P?s(P).index:u.length,z=[];for(let U=0;U<S.length;++U){if(!S[U]||typeof S[U].name!="string"||typeof S[U].test!="function")throw new TypeError("Object with properties {name: string, test: function} expected");const ne=S[U].name;if(n.has(ne))throw new TypeError('Duplicate type name "'+ne+'"');z.push(ne),n.set(ne,{name:ne,test:S[U].test,isAny:S[U].isAny,index:R+U,conversionsTo:[]})}const H=u.slice(R);u=u.slice(0,R).concat(z).concat(H);for(let U=R+z.length;U<u.length;++U)n.get(u[U]).index=U}function c(){n=new Map,u=[],i=0,l([r],!1)}c(),l(t);function f(){let S;for(S of u)n.get(S).conversionsTo=[];i=0}function p(S){const P=u.filter(R=>{const z=n.get(R);return!z.isAny&&z.test(S)});return P.length?P:["any"]}function o(S){return S&&typeof S=="function"&&"_typedFunctionData"in S}function d(S,P,R){if(!o(S))throw new TypeError(Rf);const z=R&&R.exact,H=Array.isArray(P)?P.join(","):P,U=D(H),ne=b(U);if(!z||ne in S.signatures){const ze=S._typedFunctionData.signatureMap.get(ne);if(ze)return ze}const Q=U.length;let te;if(z){te=[];let ze;for(ze in S.signatures)te.push(S._typedFunctionData.signatureMap.get(ze))}else te=S._typedFunctionData.signatures;for(let ze=0;ze<Q;++ze){const Ge=U[ze],lt=[];let Mt;for(Mt of te){const Tt=C(Mt.params,ze);if(!(!Tt||Ge.restParam&&!Tt.restParam)){if(!Tt.hasAny){const Vt=v(Tt);if(Ge.types.some(Pt=>!Vt.has(Pt.name)))continue}lt.push(Mt)}}if(te=lt,te.length===0)break}let X;for(X of te)if(X.params.length<=Q)return X;throw new TypeError("Signature not found (signature: "+(S.name||"unnamed")+"("+b(U,", ")+"))")}function m(S,P,R){return d(S,P,R).implementation}function h(S,P){const R=s(P);if(R.test(S))return S;const z=R.conversionsTo;if(z.length===0)throw new Error("There are no conversions to "+P+" defined.");for(let H=0;H<z.length;H++)if(s(z[H].from).test(S))return z[H].convert(S);throw new Error("Cannot convert "+S+" to "+P)}function b(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:",";return S.map(R=>R.name).join(P)}function g(S){const P=S.indexOf("...")===0,z=(P?S.length>3?S.slice(3):"any":S).split("|").map(Q=>s(Q.trim()));let H=!1,U=P?"...":"";return{types:z.map(function(Q){return H=Q.isAny||H,U+=Q.name+"|",{name:Q.name,typeIndex:Q.index,test:Q.test,isAny:Q.isAny,conversion:null,conversionIndex:-1}}),name:U.slice(0,-1),hasAny:H,hasConversion:!1,restParam:P}}function w(S){const P=S.types.map(ne=>ne.name),R=Z(P);let z=S.hasAny,H=S.name;const U=R.map(function(ne){const Q=s(ne.from);return z=Q.isAny||z,H+="|"+ne.from,{name:ne.from,typeIndex:Q.index,test:Q.test,isAny:Q.isAny,conversion:ne,conversionIndex:ne.index}});return{types:S.types.concat(U),name:H,hasAny:z,hasConversion:U.length>0,restParam:S.restParam}}function v(S){return S.typeSet||(S.typeSet=new Set,S.types.forEach(P=>S.typeSet.add(P.name))),S.typeSet}function D(S){const P=[];if(typeof S!="string")throw new TypeError("Signatures must be strings");const R=S.trim();if(R==="")return P;const z=R.split(",");for(let H=0;H<z.length;++H){const U=g(z[H].trim());if(U.restParam&&H!==z.length-1)throw new SyntaxError('Unexpected rest parameter "'+z[H]+'": only allowed for the last parameter');if(U.types.length===0)return null;P.push(U)}return P}function y(S){const P=ye(S);return P?P.restParam:!1}function E(S){if(!S||S.types.length===0)return If;if(S.types.length===1)return s(S.types[0].name).test;if(S.types.length===2){const P=s(S.types[0].name).test,R=s(S.types[1].name).test;return function(H){return P(H)||R(H)}}else{const P=S.types.map(function(R){return s(R.name).test});return function(z){for(let H=0;H<P.length;H++)if(P[H](z))return!0;return!1}}}function A(S){let P,R,z;if(y(S)){P=be(S).map(E);const H=P.length,U=E(ye(S)),ne=function(Q){for(let te=H;te<Q.length;te++)if(!U(Q[te]))return!1;return!0};return function(te){for(let X=0;X<P.length;X++)if(!P[X](te[X]))return!1;return ne(te)&&te.length>=H+1}}else return S.length===0?function(U){return U.length===0}:S.length===1?(R=E(S[0]),function(U){return R(U[0])&&U.length===1}):S.length===2?(R=E(S[0]),z=E(S[1]),function(U){return R(U[0])&&z(U[1])&&U.length===2}):(P=S.map(E),function(U){for(let ne=0;ne<P.length;ne++)if(!P[ne](U[ne]))return!1;return U.length===P.length})}function C(S,P){return P<S.length?S[P]:y(S)?ye(S):null}function T(S,P){const R=C(S,P);return R?v(R):new Set}function x(S){return S.conversion===null||S.conversion===void 0}function _(S,P){const R=new Set;return S.forEach(z=>{const H=T(z.params,P);let U;for(U of H)R.add(U)}),R.has("any")?["any"]:Array.from(R)}function F(S,P,R){let z,H;const U=S||"unnamed";let ne=R,Q;for(Q=0;Q<P.length;Q++){const Ge=[];if(ne.forEach(lt=>{const Mt=C(lt.params,Q),Tt=E(Mt);(Q<lt.params.length||y(lt.params))&&Tt(P[Q])&&Ge.push(lt)}),Ge.length===0){if(H=_(ne,Q),H.length>0){const lt=p(P[Q]);return z=new TypeError("Unexpected type of argument in function "+U+" (expected: "+H.join(" or ")+", actual: "+lt.join(" | ")+", index: "+Q+")"),z.data={category:"wrongType",fn:U,index:Q,actual:lt,expected:H},z}}else ne=Ge}const te=ne.map(function(Ge){return y(Ge.params)?1/0:Ge.params.length});if(P.length<Math.min.apply(null,te))return H=_(ne,Q),z=new TypeError("Too few arguments in function "+U+" (expected: "+H.join(" or ")+", index: "+P.length+")"),z.data={category:"tooFewArgs",fn:U,index:P.length,expected:H},z;const X=Math.max.apply(null,te);if(P.length>X)return z=new TypeError("Too many arguments in function "+U+" (expected: "+X+", actual: "+P.length+")"),z.data={category:"tooManyArgs",fn:U,index:P.length,expectedLength:X},z;const ze=[];for(let Ge=0;Ge<P.length;++Ge)ze.push(p(P[Ge]).join("|"));return z=new TypeError('Arguments of type "'+ze.join(", ")+'" do not match any of the defined signatures of function '+U+"."),z.data={category:"mismatch",actual:ze},z}function M(S){let P=u.length+1;for(let R=0;R<S.types.length;R++)x(S.types[R])&&(P=Math.min(P,S.types[R].typeIndex));return P}function B(S){let P=i+1;for(let R=0;R<S.types.length;R++)x(S.types[R])||(P=Math.min(P,S.types[R].conversionIndex));return P}function N(S,P){if(S.hasAny){if(!P.hasAny)return 1}else if(P.hasAny)return-1;if(S.restParam){if(!P.restParam)return 1}else if(P.restParam)return-1;if(S.hasConversion){if(!P.hasConversion)return 1}else if(P.hasConversion)return-1;const R=M(S)-M(P);if(R<0)return-1;if(R>0)return 1;const z=B(S)-B(P);return z<0?-1:z>0?1:0}function I(S,P){const R=S.params,z=P.params,H=ye(R),U=ye(z),ne=y(R),Q=y(z);if(ne&&H.hasAny){if(!Q||!U.hasAny)return 1}else if(Q&&U.hasAny)return-1;let te=0,X=0,ze;for(ze of R)ze.hasAny&&++te,ze.hasConversion&&++X;let Ge=0,lt=0;for(ze of z)ze.hasAny&&++Ge,ze.hasConversion&&++lt;if(te!==Ge)return te-Ge;if(ne&&H.hasConversion){if(!Q||!U.hasConversion)return 1}else if(Q&&U.hasConversion)return-1;if(X!==lt)return X-lt;if(ne){if(!Q)return 1}else if(Q)return-1;const Mt=(R.length-z.length)*(ne?-1:1);if(Mt!==0)return Mt;const Tt=[];let Vt=0;for(let Nr=0;Nr<R.length;++Nr){const or=N(R[Nr],z[Nr]);Tt.push(or),Vt+=or}if(Vt!==0)return Vt;let Pt;for(Pt of Tt)if(Pt!==0)return Pt;return 0}function Z(S){if(S.length===0)return[];const P=S.map(s);S.length>1&&P.sort((H,U)=>H.index-U.index);let R=P[0].conversionsTo;if(S.length===1)return R;R=R.concat([]);const z=new Set(S);for(let H=1;H<P.length;++H){let U;for(U of P[H].conversionsTo)z.has(U.from)||(R.push(U),z.add(U.from))}return R}function re(S,P){let R=P;if(S.some(H=>H.hasConversion)){const H=y(S),U=S.map(ie);R=function(){const Q=[],te=H?arguments.length-1:arguments.length;for(let X=0;X<te;X++)Q[X]=U[X](arguments[X]);return H&&(Q[te]=arguments[te].map(U[te])),P.apply(this,Q)}}let z=R;if(y(S)){const H=S.length-1;z=function(){return R.apply(this,ve(arguments,0,H).concat([ve(arguments,H)]))}}return z}function ie(S){let P,R,z,H;const U=[],ne=[];switch(S.types.forEach(function(Q){Q.conversion&&(U.push(s(Q.conversion.from).test),ne.push(Q.conversion.convert))}),ne.length){case 0:return function(te){return te};case 1:return P=U[0],z=ne[0],function(te){return P(te)?z(te):te};case 2:return P=U[0],R=U[1],z=ne[0],H=ne[1],function(te){return P(te)?z(te):R(te)?H(te):te};default:return function(te){for(let X=0;X<ne.length;X++)if(U[X](te))return ne[X](te);return te}}}function q(S){function P(R,z,H){if(z<R.length){const U=R[z];let ne=[];if(U.restParam){const Q=U.types.filter(x);Q.length<U.types.length&&ne.push({types:Q,name:"..."+Q.map(te=>te.name).join("|"),hasAny:Q.some(te=>te.isAny),hasConversion:!1,restParam:!0}),ne.push(U)}else ne=U.types.map(function(Q){return{types:[Q],name:Q.name,hasAny:Q.isAny,hasConversion:Q.conversion,restParam:!1}});return k(ne,function(Q){return P(R,z+1,H.concat([Q]))})}else return[H]}return P(S,0,[])}function K(S,P){const R=Math.max(S.length,P.length);for(let Q=0;Q<R;Q++){const te=T(S,Q),X=T(P,Q);let ze=!1,Ge;for(Ge of X)if(te.has(Ge)){ze=!0;break}if(!ze)return!1}const z=S.length,H=P.length,U=y(S),ne=y(P);return U?ne?z===H:H>=z:ne?z>=H:z===H}function ce(S){return S.map(P=>ke(P)?tt(P.referToSelf.callback):ut(P)?me(P.referTo.references,P.referTo.callback):P)}function Y(S,P,R){const z=[];let H;for(H of S){let U=R[H];if(typeof U!="number")throw new TypeError('No definition for referenced signature "'+H+'"');if(U=P[U],typeof U!="function")return!1;z.push(U)}return z}function se(S,P,R){const z=ce(S),H=new Array(z.length).fill(!1);let U=!0;for(;U;){U=!1;let ne=!0;for(let Q=0;Q<z.length;++Q){if(H[Q])continue;const te=z[Q];if(ke(te))z[Q]=te.referToSelf.callback(R),z[Q].referToSelf=te.referToSelf,H[Q]=!0,ne=!1;else if(ut(te)){const X=Y(te.referTo.references,z,P);X?(z[Q]=te.referTo.callback.apply(this,X),z[Q].referTo=te.referTo,H[Q]=!0,ne=!1):U=!0}}if(ne&&U)throw new SyntaxError("Circular reference detected in resolving typed.referTo")}return z}function de(S){const P=/\bthis(\(|\.signatures\b)/;Object.keys(S).forEach(R=>{const z=S[R];if(P.test(z.toString()))throw new SyntaxError("Using `this` to self-reference a function is deprecated since typed-function@3. Use typed.referTo and typed.referToSelf instead.")})}function he(S,P){if(a.createCount++,Object.keys(P).length===0)throw new SyntaxError("No signatures provided");a.warnAgainstDeprecatedThis&&de(P);const R=[],z=[],H={},U=[];let ne;for(ne in P){if(!Object.prototype.hasOwnProperty.call(P,ne))continue;const Ce=D(ne);if(!Ce)continue;R.forEach(function(sn){if(K(sn,Ce))throw new TypeError('Conflicting signatures "'+b(sn)+'" and "'+b(Ce)+'".')}),R.push(Ce);const Ve=z.length;z.push(P[ne]);const mu=Ce.map(w);let Pn;for(Pn of q(mu)){const sn=b(Pn);U.push({params:Pn,name:sn,fn:Ve}),Pn.every(i8=>!i8.hasConversion)&&(H[sn]=Ve)}}U.sort(I);const Q=se(z,H,Zt);let te;for(te in H)Object.prototype.hasOwnProperty.call(H,te)&&(H[te]=Q[H[te]]);const X=[],ze=new Map;for(te of U)ze.has(te.name)||(te.fn=Q[te.fn],X.push(te),ze.set(te.name,te));const Ge=X[0]&&X[0].params.length<=2&&!y(X[0].params),lt=X[1]&&X[1].params.length<=2&&!y(X[1].params),Mt=X[2]&&X[2].params.length<=2&&!y(X[2].params),Tt=X[3]&&X[3].params.length<=2&&!y(X[3].params),Vt=X[4]&&X[4].params.length<=2&&!y(X[4].params),Pt=X[5]&&X[5].params.length<=2&&!y(X[5].params),Nr=Ge&<&&Mt&&Tt&&Vt&&Pt;for(let Ce=0;Ce<X.length;++Ce)X[Ce].test=A(X[Ce].params);const or=Ge?E(X[0].params[0]):Yt,hu=lt?E(X[1].params[0]):Yt,pu=Mt?E(X[2].params[0]):Yt,ki=Tt?E(X[3].params[0]):Yt,Ac=Vt?E(X[4].params[0]):Yt,qi=Pt?E(X[5].params[0]):Yt,Cc=Ge?E(X[0].params[1]):Yt,Li=lt?E(X[1].params[1]):Yt,ji=Mt?E(X[2].params[1]):Yt,_c=Tt?E(X[3].params[1]):Yt,Tc=Vt?E(X[4].params[1]):Yt,$i=Pt?E(X[5].params[1]):Yt;for(let Ce=0;Ce<X.length;++Ce)X[Ce].implementation=re(X[Ce].params,X[Ce].fn);const zi=Ge?X[0].implementation:dn,Sc=lt?X[1].implementation:dn,Fc=Mt?X[2].implementation:dn,Oc=Tt?X[3].implementation:dn,Nc=Vt?X[4].implementation:dn,O=Pt?X[5].implementation:dn,G=Ge?X[0].params.length:-1,ue=lt?X[1].params.length:-1,we=Mt?X[2].params.length:-1,Me=Tt?X[3].params.length:-1,Ue=Vt?X[4].params.length:-1,_e=Pt?X[5].params.length:-1,Ae=Nr?6:0,St=X.length,at=X.map(Ce=>Ce.test),dt=X.map(Ce=>Ce.implementation),jt=function(){for(let Ve=Ae;Ve<St;Ve++)if(at[Ve](arguments))return dt[Ve].apply(this,arguments);return a.onMismatch(S,arguments,X)};function Zt(Ce,Ve){return arguments.length===G&&or(Ce)&&Cc(Ve)?zi.apply(this,arguments):arguments.length===ue&&hu(Ce)&&Li(Ve)?Sc.apply(this,arguments):arguments.length===we&&pu(Ce)&&ji(Ve)?Fc.apply(this,arguments):arguments.length===Me&&ki(Ce)&&_c(Ve)?Oc.apply(this,arguments):arguments.length===Ue&&Ac(Ce)&&Tc(Ve)?Nc.apply(this,arguments):arguments.length===_e&&qi(Ce)&&$i(Ve)?O.apply(this,arguments):jt.apply(this,arguments)}try{Object.defineProperty(Zt,"name",{value:S})}catch{}return Zt.signatures=H,Zt._typedFunctionData={signatures:X,signatureMap:ze},Zt}function oe(S,P,R){throw F(S,P,R)}function be(S){return ve(S,0,S.length-1)}function ye(S){return S[S.length-1]}function ve(S,P,R){return Array.prototype.slice.call(S,P,R)}function L(S,P){for(let R=0;R<S.length;R++)if(P(S[R]))return S[R]}function k(S,P){return Array.prototype.concat.apply([],S.map(P))}function W(){const S=be(arguments).map(R=>b(D(R))),P=ye(arguments);if(typeof P!="function")throw new TypeError("Callback function expected as last argument");return me(S,P)}function me(S,P){return{referTo:{references:S,callback:P}}}function tt(S){if(typeof S!="function")throw new TypeError("Callback function expected as first argument");return{referToSelf:{callback:S}}}function ut(S){return S&&typeof S.referTo=="object"&&Array.isArray(S.referTo.references)&&typeof S.referTo.callback=="function"}function ke(S){return S&&typeof S.referToSelf=="object"&&typeof S.referToSelf.callback=="function"}function Te(S,P){if(!S)return P;if(P&&P!==S){const R=new Error("Function names do not match (expected: "+S+", actual: "+P+")");throw R.data={actual:P,expected:S},R}return S}function vr(S){let P;for(const R in S)Object.prototype.hasOwnProperty.call(S,R)&&(o(S[R])||typeof S[R].signature=="string")&&(P=Te(P,S[R].name));return P}function Fe(S,P){let R;for(R in P)if(Object.prototype.hasOwnProperty.call(P,R)){if(R in S&&P[R]!==S[R]){const z=new Error('Signature "'+R+'" is defined twice');throw z.data={signature:R,sourceFunction:P[R],destFunction:S[R]},z}S[R]=P[R]}}const Oe=a;a=function(S){const P=typeof S=="string",R=P?1:0;let z=P?S:"";const H={};for(let U=R;U<arguments.length;++U){const ne=arguments[U];let Q={},te;if(typeof ne=="function"?(te=ne.name,typeof ne.signature=="string"?Q[ne.signature]=ne:o(ne)&&(Q=ne.signatures)):e(ne)&&(Q=ne,P||(te=vr(ne))),Object.keys(Q).length===0){const X=new TypeError("Argument to 'typed' at index "+U+" is not a (typed) function, nor an object with signatures as keys and functions as values.");throw X.data={index:U,argument:ne},X}P||(z=Te(z,te)),Fe(H,Q)}return he(z||"",H)},a.create=kf,a.createCount=Oe.createCount,a.onMismatch=oe,a.throwMismatchError=oe,a.createError=F,a.clear=c,a.clearConversions=f,a.addTypes=l,a._findType=s,a.referTo=W,a.referToSelf=tt,a.convert=h,a.findSignature=d,a.find=m,a.isTypedFunction=o,a.warnAgainstDeprecatedThis=!0,a.addType=function(S,P){let R="any";P!==!1&&n.has("Object")&&(R="Object"),a.addTypes([S],R)};function Lt(S){if(!S||typeof S.from!="string"||typeof S.to!="string"||typeof S.convert!="function")throw new TypeError("Object with properties {from: string, to: string, convert: function} expected");if(S.to===S.from)throw new SyntaxError('Illegal to define conversion from "'+S.from+'" to itself.')}return a.addConversion=function(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{override:!1};Lt(S);const R=s(S.to),z=R.conversionsTo.find(H=>H.from===S.from);if(z)if(P&&P.override)a.removeConversion({from:z.from,to:S.to,convert:z.convert});else throw new Error('There is already a conversion from "'+S.from+'" to "'+R.name+'"');R.conversionsTo.push({from:S.from,convert:S.convert,index:i++})},a.addConversions=function(S,P){S.forEach(R=>a.addConversion(R,P))},a.removeConversion=function(S){Lt(S);const P=s(S.to),R=L(P.conversionsTo,H=>H.from===S.from);if(!R)throw new Error("Attempt to remove nonexistent conversion from "+S.from+" to "+S.to);if(R.convert!==S.convert)throw new Error("Conversion to remove does not match existing conversion");const z=P.conversionsTo.indexOf(R);P.conversionsTo.splice(z,1)},a.resolve=function(S,P){if(!o(S))throw new TypeError(Rf);const R=S._typedFunctionData.signatures;for(let z=0;z<R.length;++z)if(R[z].test(P))return R[z];return null},a}const ju=kf();function Be(e,t,r,n){function u(i){var a=Wb(i,t.map(Kb));return Xb(e,t,i),r(a)}return u.isFactory=!0,u.fn=e,u.dependencies=t.slice().sort(),n&&(u.meta=n),u}function Xb(e,t,r){var n=t.filter(i=>!Qb(i)).every(i=>r[i]!==void 0);if(!n){var u=t.filter(i=>r[i]===void 0);throw new Error('Cannot create function "'.concat(e,'", ')+"some dependencies are missing: ".concat(u.map(i=>'"'.concat(i,'"')).join(", "),"."))}}function Qb(e){return e&&e[0]==="?"}function Kb(e){return e&&e[0]==="?"?e.slice(1):e}function gt(e){return typeof e=="boolean"?!0:isFinite(e)?e===Math.round(e):!1}function Ua(e,t,r){var n={2:"0b",8:"0o",16:"0x"},u=n[t],i="";if(r){if(r<1)throw new Error("size must be in greater than 0");if(!gt(r))throw new Error("size must be an integer");if(e>2**(r-1)-1||e<-(2**(r-1)))throw new Error("Value must be in range [-2^".concat(r-1,", 2^").concat(r-1,"-1]"));if(!gt(e))throw new Error("Value must be an integer");e<0&&(e=e+2**r),i="i".concat(r)}var a="";return e<0&&(e=-e,a="-"),"".concat(a).concat(u).concat(e.toString(t)).concat(i)}function Va(e,t){if(typeof t=="function")return t(e);if(e===1/0)return"Infinity";if(e===-1/0)return"-Infinity";if(isNaN(e))return"NaN";var{notation:r,precision:n,wordSize:u}=qf(t);switch(r){case"fixed":return Lf(e,n);case"exponential":return jf(e,n);case"engineering":return Zb(e,n);case"bin":return Ua(e,2,u);case"oct":return Ua(e,8,u);case"hex":return Ua(e,16,u);case"auto":return Jb(e,n,t).replace(/((\.\d*?)(0+))($|e)/,function(){var i=arguments[2],a=arguments[4];return i!=="."?i+a:a});default:throw new Error('Unknown notation "'+r+'". Choose "auto", "exponential", "fixed", "bin", "oct", or "hex.')}}function qf(e){var t="auto",r,n;if(e!==void 0)if(et(e))r=e;else if(wt(e))r=e.toNumber();else if(Ha(e))e.precision!==void 0&&(r=$f(e.precision,()=>{throw new Error('Option "precision" must be a number or BigNumber')})),e.wordSize!==void 0&&(n=$f(e.wordSize,()=>{throw new Error('Option "wordSize" must be a number or BigNumber')})),e.notation&&(t=e.notation);else throw new Error("Unsupported type of options, number, BigNumber, or object expected");return{notation:t,precision:r,wordSize:n}}function Wn(e){var t=String(e).toLowerCase().match(/^(-?)(\d+\.?\d*)(e([+-]?\d+))?$/);if(!t)throw new SyntaxError("Invalid number "+e);var r=t[1],n=t[2],u=parseFloat(t[4]||"0"),i=n.indexOf(".");u+=i!==-1?i-1:n.length-1;var a=n.replace(".","").replace(/^0*/,function(s){return u-=s.length,""}).replace(/0*$/,"").split("").map(function(s){return parseInt(s)});return a.length===0&&(a.push(0),u++),{sign:r,coefficients:a,exponent:u}}function Zb(e,t){if(isNaN(e)||!isFinite(e))return String(e);var r=Wn(e),n=$u(r,t),u=n.exponent,i=n.coefficients,a=u%3===0?u:u<0?u-3-u%3:u-u%3;if(et(t))for(;t>i.length||u-a+1>i.length;)i.push(0);else for(var s=Math.abs(u-a)-(i.length-1),l=0;l<s;l++)i.push(0);for(var c=Math.abs(u-a),f=1;c>0;)f++,c--;var p=i.slice(f).join(""),o=et(t)&&p.length||p.match(/[1-9]/)?"."+p:"",d=i.slice(0,f).join("")+o+"e"+(u>=0?"+":"")+a.toString();return n.sign+d}function Lf(e,t){if(isNaN(e)||!isFinite(e))return String(e);var r=Wn(e),n=typeof t=="number"?$u(r,r.exponent+1+t):r,u=n.coefficients,i=n.exponent+1,a=i+(t||0);return u.length<a&&(u=u.concat(hn(a-u.length))),i<0&&(u=hn(-i+1).concat(u),i=1),i<u.length&&u.splice(i,0,i===0?"0.":"."),n.sign+u.join("")}function jf(e,t){if(isNaN(e)||!isFinite(e))return String(e);var r=Wn(e),n=t?$u(r,t):r,u=n.coefficients,i=n.exponent;u.length<t&&(u=u.concat(hn(t-u.length)));var a=u.shift();return n.sign+a+(u.length>0?"."+u.join(""):"")+"e"+(i>=0?"+":"")+i}function Jb(e,t,r){if(isNaN(e)||!isFinite(e))return String(e);var n=zf(r==null?void 0:r.lowerExp,-3),u=zf(r==null?void 0:r.upperExp,5),i=Wn(e),a=t?$u(i,t):i;if(a.exponent<n||a.exponent>=u)return jf(e,t);var s=a.coefficients,l=a.exponent;s.length<t&&(s=s.concat(hn(t-s.length))),s=s.concat(hn(l-s.length+1+(s.length<t?t-s.length:0))),s=hn(-l).concat(s);var c=l>0?l:0;return c<s.length-1&&s.splice(c+1,0,"."),a.sign+s.join("")}function $u(e,t){for(var r={sign:e.sign,coefficients:e.coefficients,exponent:e.exponent},n=r.coefficients;t<=0;)n.unshift(0),r.exponent++,t++;if(n.length>t){var u=n.splice(t,n.length-t);if(u[0]>=5){var i=t-1;for(n[i]++;n[i]===10;)n.pop(),i===0&&(n.unshift(0),r.exponent++,i++),i--,n[i]++}}return r}function hn(e){for(var t=[],r=0;r<e;r++)t.push(0);return t}function ey(e){return e.toExponential().replace(/e.*$/,"").replace(/^0\.?0*|\./,"").length}function pn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1e-8,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(r<=0)throw new Error("Relative tolerance must be greater than 0");if(n<0)throw new Error("Absolute tolerance must be at least 0");return isNaN(e)||isNaN(t)?!1:!isFinite(e)||!isFinite(t)?e===t:e===t?!0:Math.abs(e-t)<=Math.max(r*Math.max(Math.abs(e),Math.abs(t)),n)}function $f(e,t){if(et(e))return e;if(wt(e))return e.toNumber();t()}function zf(e,t){return et(e)?e:wt(e)?e.toNumber():t}var Hf=function(){return Hf=ju.create,ju},ty=["?BigNumber","?Complex","?DenseMatrix","?Fraction"],ry=Be("typed",ty,function(t){var{BigNumber:r,Complex:n,DenseMatrix:u,Fraction:i}=t,a=Hf();return a.clear(),a.addTypes([{name:"number",test:et},{name:"Complex",test:Mf},{name:"BigNumber",test:wt},{name:"bigint",test:pb},{name:"Fraction",test:Pf},{name:"Unit",test:Bf},{name:"identifier",test:s=>dr&&/^(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDD4A-\uDD65\uDD6F-\uDD85\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDDD0-\uDDED\uDDF0\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDD4A-\uDD65\uDD6F-\uDD85\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDDD0-\uDDED\uDDF0\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])*$/.test(s)},{name:"string",test:dr},{name:"Chain",test:Hb},{name:"Array",test:yt},{name:"Matrix",test:Wt},{name:"DenseMatrix",test:mb},{name:"SparseMatrix",test:gb},{name:"Range",test:bb},{name:"Index",test:za},{name:"boolean",test:yb},{name:"ResultSet",test:vb},{name:"Help",test:wb},{name:"function",test:Db},{name:"Date",test:Eb},{name:"RegExp",test:xb},{name:"null",test:Cb},{name:"undefined",test:_b},{name:"AccessorNode",test:Tb},{name:"ArrayNode",test:Sb},{name:"AssignmentNode",test:Fb},{name:"BlockNode",test:Ob},{name:"ConditionalNode",test:Nb},{name:"ConstantNode",test:Mb},{name:"FunctionNode",test:Bb},{name:"FunctionAssignmentNode",test:Pb},{name:"IndexNode",test:Ib},{name:"Node",test:Rb},{name:"ObjectNode",test:kb},{name:"OperatorNode",test:qb},{name:"ParenthesisNode",test:Lb},{name:"RangeNode",test:jb},{name:"RelationalNode",test:$b},{name:"SymbolNode",test:zb},{name:"Map",test:Ab},{name:"Object",test:Ha}]),a.addConversions([{from:"number",to:"BigNumber",convert:function(l){if(r||zu(l),ey(l)>15)throw new TypeError("Cannot implicitly convert a number with >15 significant digits to BigNumber (value: "+l+"). Use function bignumber(x) to convert to BigNumber.");return new r(l)}},{from:"number",to:"Complex",convert:function(l){return n||Hu(l),new n(l,0)}},{from:"BigNumber",to:"Complex",convert:function(l){return n||Hu(l),new n(l.toNumber(),0)}},{from:"bigint",to:"number",convert:function(l){if(l>Number.MAX_SAFE_INTEGER)throw new TypeError("Cannot implicitly convert bigint to number: value exceeds the max safe integer value (value: "+l+")");return Number(l)}},{from:"bigint",to:"BigNumber",convert:function(l){return r||zu(l),new r(l.toString())}},{from:"bigint",to:"Fraction",convert:function(l){return i||Uu(l),new i(l)}},{from:"Fraction",to:"BigNumber",convert:function(l){throw new TypeError("Cannot implicitly convert a Fraction to BigNumber or vice versa. Use function bignumber(x) to convert to BigNumber or fraction(x) to convert to Fraction.")}},{from:"Fraction",to:"Complex",convert:function(l){return n||Hu(l),new n(l.valueOf(),0)}},{from:"number",to:"Fraction",convert:function(l){i||Uu(l);var c=new i(l);if(c.valueOf()!==l)throw new TypeError("Cannot implicitly convert a number to a Fraction when there will be a loss of precision (value: "+l+"). Use function fraction(x) to convert to Fraction.");return c}},{from:"string",to:"number",convert:function(l){var c=Number(l);if(isNaN(c))throw new Error('Cannot convert "'+l+'" to a number');return c}},{from:"string",to:"BigNumber",convert:function(l){r||zu(l);try{return new r(l)}catch{throw new Error('Cannot convert "'+l+'" to BigNumber')}}},{from:"string",to:"bigint",convert:function(l){try{return BigInt(l)}catch{throw new Error('Cannot convert "'+l+'" to BigInt')}}},{from:"string",to:"Fraction",convert:function(l){i||Uu(l);try{return new i(l)}catch{throw new Error('Cannot convert "'+l+'" to Fraction')}}},{from:"string",to:"Complex",convert:function(l){n||Hu(l);try{return new n(l)}catch{throw new Error('Cannot convert "'+l+'" to Complex')}}},{from:"boolean",to:"number",convert:function(l){return+l}},{from:"boolean",to:"BigNumber",convert:function(l){return r||zu(l),new r(+l)}},{from:"boolean",to:"bigint",convert:function(l){return BigInt(+l)}},{from:"boolean",to:"Fraction",convert:function(l){return i||Uu(l),new i(+l)}},{from:"boolean",to:"string",convert:function(l){return String(l)}},{from:"Array",to:"Matrix",convert:function(l){return u||ny(),new u(l)}},{from:"Matrix",to:"Array",convert:function(l){return l.valueOf()}}]),a.onMismatch=(s,l,c)=>{var f=a.createError(s,l,c);if(["wrongType","mismatch"].includes(f.data.category)&&l.length===1&&Lu(l[0])&&c.some(o=>!o.params.includes(","))){var p=new TypeError("Function '".concat(s,"' doesn't apply to matrices. To call it ")+"elementwise on a matrix 'M', try 'map(M, ".concat(s,")'."));throw p.data=f.data,p}throw f},a.onMismatch=(s,l,c)=>{var f=a.createError(s,l,c);if(["wrongType","mismatch"].includes(f.data.category)&&l.length===1&&Lu(l[0])&&c.some(o=>!o.params.includes(","))){var p=new TypeError("Function '".concat(s,"' doesn't apply to matrices. To call it ")+"elementwise on a matrix 'M', try 'map(M, ".concat(s,")'."));throw p.data=f.data,p}throw f},a});function zu(e){throw new Error("Cannot convert value ".concat(e," into a BigNumber: no class 'BigNumber' provided"))}function Hu(e){throw new Error("Cannot convert value ".concat(e," into a Complex number: no class 'Complex' provided"))}function ny(){throw new Error("Cannot convert array into a Matrix: no class 'DenseMatrix' provided")}function Uu(e){throw new Error("Cannot convert value ".concat(e," into a Fraction, no class 'Fraction' provided."))}/*!
|
|
82
|
+
* decimal.js v10.5.0
|
|
83
83
|
* An arbitrary-precision Decimal type for JavaScript.
|
|
84
84
|
* https://github.com/MikeMcl/decimal.js
|
|
85
85
|
* Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
|
|
86
86
|
* MIT Licence
|
|
87
|
-
*/var bn=9e15,Mr=1e9,Za="0123456789abcdef",Qu="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",Ku="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Ja={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-bn,maxE:bn,crypto:!1},Qf,Er,De=!0,Zu="[DecimalError] ",Nr=Zu+"Invalid argument: ",Kf=Zu+"Precision limit exceeded",Zf=Zu+"crypto unavailable",Jf="[object Decimal]",Ft=Math.floor,yt=Math.pow,dy=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,hy=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,py=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,el=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ur=1e7,ge=7,my=9007199254740991,gy=Qu.length-1,es=Ku.length-1,V={toStringTag:Jf};V.absoluteValue=V.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),le(e)},V.ceil=function(){return le(new this.constructor(this),this.e+1,2)},V.clampedTo=V.clamp=function(e,r){var t,n=this,u=n.constructor;if(e=new u(e),r=new u(r),!e.s||!r.s)return new u(NaN);if(e.gt(r))throw Error(Nr+r);return t=n.cmp(e),t<0?e:n.cmp(r)>0?r:new u(n)},V.comparedTo=V.cmp=function(e){var r,t,n,u,i=this,a=i.d,s=(e=new i.constructor(e)).d,l=i.s,c=e.s;if(!a||!s)return!l||!c?NaN:l!==c?l:a===s?0:!a^l<0?1:-1;if(!a[0]||!s[0])return a[0]?l:s[0]?-c:0;if(l!==c)return l;if(i.e!==e.e)return i.e>e.e^l<0?1:-1;for(n=a.length,u=s.length,r=0,t=n<u?n:u;r<t;++r)if(a[r]!==s[r])return a[r]>s[r]^l<0?1:-1;return n===u?0:n>u^l<0?1:-1},V.cosine=V.cos=function(){var e,r,t=this,n=t.constructor;return t.d?t.d[0]?(e=n.precision,r=n.rounding,n.precision=e+Math.max(t.e,t.sd())+ge,n.rounding=1,t=by(n,al(n,t)),n.precision=e,n.rounding=r,le(Er==2||Er==3?t.neg():t,e,r,!0)):new n(1):new n(NaN)},V.cubeRoot=V.cbrt=function(){var e,r,t,n,u,i,a,s,l,c,f=this,p=f.constructor;if(!f.isFinite()||f.isZero())return new p(f);for(De=!1,i=f.s*yt(f.s*f,1/3),!i||Math.abs(i)==1/0?(t=Ct(f.d),e=f.e,(i=(e-t.length+1)%3)&&(t+=i==1||i==-2?"0":"00"),i=yt(t,1/3),e=Ft((e+1)/3)-(e%3==(e<0?-1:2)),i==1/0?t="5e"+e:(t=i.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),n=new p(t),n.s=f.s):n=new p(i.toString()),a=(e=p.precision)+3;;)if(s=n,l=s.times(s).times(s),c=l.plus(f),n=Xe(c.plus(f).times(s),c.plus(l),a+2,1),Ct(s.d).slice(0,a)===(t=Ct(n.d)).slice(0,a))if(t=t.slice(a-3,a+1),t=="9999"||!u&&t=="4999"){if(!u&&(le(s,e+1,0),s.times(s).times(s).eq(f))){n=s;break}a+=4,u=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(le(n,e+1,1),r=!n.times(n).times(n).eq(f));break}return De=!0,le(n,e,p.rounding,r)},V.decimalPlaces=V.dp=function(){var e,r=this.d,t=NaN;if(r){if(e=r.length-1,t=(e-Ft(this.e/ge))*ge,e=r[e],e)for(;e%10==0;e/=10)t--;t<0&&(t=0)}return t},V.dividedBy=V.div=function(e){return Xe(this,new this.constructor(e))},V.dividedToIntegerBy=V.divToInt=function(e){var r=this,t=r.constructor;return le(Xe(r,new t(e),0,1,1),t.precision,t.rounding)},V.equals=V.eq=function(e){return this.cmp(e)===0},V.floor=function(){return le(new this.constructor(this),this.e+1,3)},V.greaterThan=V.gt=function(e){return this.cmp(e)>0},V.greaterThanOrEqualTo=V.gte=function(e){var r=this.cmp(e);return r==1||r===0},V.hyperbolicCosine=V.cosh=function(){var e,r,t,n,u,i=this,a=i.constructor,s=new a(1);if(!i.isFinite())return new a(i.s?1/0:NaN);if(i.isZero())return s;t=a.precision,n=a.rounding,a.precision=t+Math.max(i.e,i.sd())+4,a.rounding=1,u=i.d.length,u<32?(e=Math.ceil(u/3),r=(1/ni(4,e)).toString()):(e=16,r="2.3283064365386962890625e-10"),i=yn(a,1,i.times(r),new a(1),!0);for(var l,c=e,f=new a(8);c--;)l=i.times(i),i=s.minus(l.times(f.minus(l.times(f))));return le(i,a.precision=t,a.rounding=n,!0)},V.hyperbolicSine=V.sinh=function(){var e,r,t,n,u=this,i=u.constructor;if(!u.isFinite()||u.isZero())return new i(u);if(r=i.precision,t=i.rounding,i.precision=r+Math.max(u.e,u.sd())+4,i.rounding=1,n=u.d.length,n<3)u=yn(i,2,u,u,!0);else{e=1.4*Math.sqrt(n),e=e>16?16:e|0,u=u.times(1/ni(5,e)),u=yn(i,2,u,u,!0);for(var a,s=new i(5),l=new i(16),c=new i(20);e--;)a=u.times(u),u=u.times(s.plus(a.times(l.times(a).plus(c))))}return i.precision=r,i.rounding=t,le(u,r,t,!0)},V.hyperbolicTangent=V.tanh=function(){var e,r,t=this,n=t.constructor;return t.isFinite()?t.isZero()?new n(t):(e=n.precision,r=n.rounding,n.precision=e+7,n.rounding=1,Xe(t.sinh(),t.cosh(),n.precision=e,n.rounding=r)):new n(t.s)},V.inverseCosine=V.acos=function(){var e=this,r=e.constructor,t=e.abs().cmp(1),n=r.precision,u=r.rounding;return t!==-1?t===0?e.isNeg()?dr(r,n,u):new r(0):new r(NaN):e.isZero()?dr(r,n+4,u).times(.5):(r.precision=n+6,r.rounding=1,e=new r(1).minus(e).div(e.plus(1)).sqrt().atan(),r.precision=n,r.rounding=u,e.times(2))},V.inverseHyperbolicCosine=V.acosh=function(){var e,r,t=this,n=t.constructor;return t.lte(1)?new n(t.eq(1)?0:NaN):t.isFinite()?(e=n.precision,r=n.rounding,n.precision=e+Math.max(Math.abs(t.e),t.sd())+4,n.rounding=1,De=!1,t=t.times(t).minus(1).sqrt().plus(t),De=!0,n.precision=e,n.rounding=r,t.ln()):new n(t)},V.inverseHyperbolicSine=V.asinh=function(){var e,r,t=this,n=t.constructor;return!t.isFinite()||t.isZero()?new n(t):(e=n.precision,r=n.rounding,n.precision=e+2*Math.max(Math.abs(t.e),t.sd())+6,n.rounding=1,De=!1,t=t.times(t).plus(1).sqrt().plus(t),De=!0,n.precision=e,n.rounding=r,t.ln())},V.inverseHyperbolicTangent=V.atanh=function(){var e,r,t,n,u=this,i=u.constructor;return u.isFinite()?u.e>=0?new i(u.abs().eq(1)?u.s/0:u.isZero()?u:NaN):(e=i.precision,r=i.rounding,n=u.sd(),Math.max(n,e)<2*-u.e-1?le(new i(u),e,r,!0):(i.precision=t=n-u.e,u=Xe(u.plus(1),new i(1).minus(u),t+e,1),i.precision=e+4,i.rounding=1,u=u.ln(),i.precision=e,i.rounding=r,u.times(.5))):new i(NaN)},V.inverseSine=V.asin=function(){var e,r,t,n,u=this,i=u.constructor;return u.isZero()?new i(u):(r=u.abs().cmp(1),t=i.precision,n=i.rounding,r!==-1?r===0?(e=dr(i,t+4,n).times(.5),e.s=u.s,e):new i(NaN):(i.precision=t+6,i.rounding=1,u=u.div(new i(1).minus(u.times(u)).sqrt().plus(1)).atan(),i.precision=t,i.rounding=n,u.times(2)))},V.inverseTangent=V.atan=function(){var e,r,t,n,u,i,a,s,l,c=this,f=c.constructor,p=f.precision,o=f.rounding;if(c.isFinite()){if(c.isZero())return new f(c);if(c.abs().eq(1)&&p+4<=es)return a=dr(f,p+4,o).times(.25),a.s=c.s,a}else{if(!c.s)return new f(NaN);if(p+4<=es)return a=dr(f,p+4,o).times(.5),a.s=c.s,a}for(f.precision=s=p+10,f.rounding=1,t=Math.min(28,s/ge+2|0),e=t;e;--e)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(De=!1,r=Math.ceil(s/ge),n=1,l=c.times(c),a=new f(c),u=c;e!==-1;)if(u=u.times(l),i=a.minus(u.div(n+=2)),u=u.times(l),a=i.plus(u.div(n+=2)),a.d[r]!==void 0)for(e=r;a.d[e]===i.d[e]&&e--;);return t&&(a=a.times(2<<t-1)),De=!0,le(a,f.precision=p,f.rounding=o,!0)},V.isFinite=function(){return!!this.d},V.isInteger=V.isInt=function(){return!!this.d&&Ft(this.e/ge)>this.d.length-2},V.isNaN=function(){return!this.s},V.isNegative=V.isNeg=function(){return this.s<0},V.isPositive=V.isPos=function(){return this.s>0},V.isZero=function(){return!!this.d&&this.d[0]===0},V.lessThan=V.lt=function(e){return this.cmp(e)<0},V.lessThanOrEqualTo=V.lte=function(e){return this.cmp(e)<1},V.logarithm=V.log=function(e){var r,t,n,u,i,a,s,l,c=this,f=c.constructor,p=f.precision,o=f.rounding,d=5;if(e==null)e=new f(10),r=!0;else{if(e=new f(e),t=e.d,e.s<0||!t||!t[0]||e.eq(1))return new f(NaN);r=e.eq(10)}if(t=c.d,c.s<0||!t||!t[0]||c.eq(1))return new f(t&&!t[0]?-1/0:c.s!=1?NaN:t?0:1/0);if(r)if(t.length>1)i=!0;else{for(u=t[0];u%10===0;)u/=10;i=u!==1}if(De=!1,s=p+d,a=Ir(c,s),n=r?ti(f,s+10):Ir(e,s),l=Xe(a,n,s,1),Zn(l.d,u=p,o))do if(s+=10,a=Ir(c,s),n=r?ti(f,s+10):Ir(e,s),l=Xe(a,n,s,1),!i){+Ct(l.d).slice(u+1,u+15)+1==1e14&&(l=le(l,p+1,0));break}while(Zn(l.d,u+=10,o));return De=!0,le(l,p,o)},V.minus=V.sub=function(e){var r,t,n,u,i,a,s,l,c,f,p,o,d=this,m=d.constructor;if(e=new m(e),!d.d||!e.d)return!d.s||!e.s?e=new m(NaN):d.d?e.s=-e.s:e=new m(e.d||d.s!==e.s?d:NaN),e;if(d.s!=e.s)return e.s=-e.s,d.plus(e);if(c=d.d,o=e.d,s=m.precision,l=m.rounding,!c[0]||!o[0]){if(o[0])e.s=-e.s;else if(c[0])e=new m(d);else return new m(l===3?-0:0);return De?le(e,s,l):e}if(t=Ft(e.e/ge),f=Ft(d.e/ge),c=c.slice(),i=f-t,i){for(p=i<0,p?(r=c,i=-i,a=o.length):(r=o,t=f,a=c.length),n=Math.max(Math.ceil(s/ge),a)+2,i>n&&(i=n,r.length=1),r.reverse(),n=i;n--;)r.push(0);r.reverse()}else{for(n=c.length,a=o.length,p=n<a,p&&(a=n),n=0;n<a;n++)if(c[n]!=o[n]){p=c[n]<o[n];break}i=0}for(p&&(r=c,c=o,o=r,e.s=-e.s),a=c.length,n=o.length-a;n>0;--n)c[a++]=0;for(n=o.length;n>i;){if(c[--n]<o[n]){for(u=n;u&&c[--u]===0;)c[u]=ur-1;--c[u],c[n]+=ur}c[n]-=o[n]}for(;c[--a]===0;)c.pop();for(;c[0]===0;c.shift())--t;return c[0]?(e.d=c,e.e=ei(c,t),De?le(e,s,l):e):new m(l===3?-0:0)},V.modulo=V.mod=function(e){var r,t=this,n=t.constructor;return e=new n(e),!t.d||!e.s||e.d&&!e.d[0]?new n(NaN):!e.d||t.d&&!t.d[0]?le(new n(t),n.precision,n.rounding):(De=!1,n.modulo==9?(r=Xe(t,e.abs(),0,3,1),r.s*=e.s):r=Xe(t,e,0,n.modulo,1),r=r.times(e),De=!0,t.minus(r))},V.naturalExponential=V.exp=function(){return ts(this)},V.naturalLogarithm=V.ln=function(){return Ir(this)},V.negated=V.neg=function(){var e=new this.constructor(this);return e.s=-e.s,le(e)},V.plus=V.add=function(e){var r,t,n,u,i,a,s,l,c,f,p=this,o=p.constructor;if(e=new o(e),!p.d||!e.d)return!p.s||!e.s?e=new o(NaN):p.d||(e=new o(e.d||p.s===e.s?p:NaN)),e;if(p.s!=e.s)return e.s=-e.s,p.minus(e);if(c=p.d,f=e.d,s=o.precision,l=o.rounding,!c[0]||!f[0])return f[0]||(e=new o(p)),De?le(e,s,l):e;if(i=Ft(p.e/ge),n=Ft(e.e/ge),c=c.slice(),u=i-n,u){for(u<0?(t=c,u=-u,a=f.length):(t=f,n=i,a=c.length),i=Math.ceil(s/ge),a=i>a?i+1:a+1,u>a&&(u=a,t.length=1),t.reverse();u--;)t.push(0);t.reverse()}for(a=c.length,u=f.length,a-u<0&&(u=a,t=f,f=c,c=t),r=0;u;)r=(c[--u]=c[u]+f[u]+r)/ur|0,c[u]%=ur;for(r&&(c.unshift(r),++n),a=c.length;c[--a]==0;)c.pop();return e.d=c,e.e=ei(c,n),De?le(e,s,l):e},V.precision=V.sd=function(e){var r,t=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Nr+e);return t.d?(r=tl(t.d),e&&t.e+1>r&&(r=t.e+1)):r=NaN,r},V.round=function(){var e=this,r=e.constructor;return le(new r(e),e.e+1,r.rounding)},V.sine=V.sin=function(){var e,r,t=this,n=t.constructor;return t.isFinite()?t.isZero()?new n(t):(e=n.precision,r=n.rounding,n.precision=e+Math.max(t.e,t.sd())+ge,n.rounding=1,t=vy(n,al(n,t)),n.precision=e,n.rounding=r,le(Er>2?t.neg():t,e,r,!0)):new n(NaN)},V.squareRoot=V.sqrt=function(){var e,r,t,n,u,i,a=this,s=a.d,l=a.e,c=a.s,f=a.constructor;if(c!==1||!s||!s[0])return new f(!c||c<0&&(!s||s[0])?NaN:s?a:1/0);for(De=!1,c=Math.sqrt(+a),c==0||c==1/0?(r=Ct(s),(r.length+l)%2==0&&(r+="0"),c=Math.sqrt(r),l=Ft((l+1)/2)-(l<0||l%2),c==1/0?r="5e"+l:(r=c.toExponential(),r=r.slice(0,r.indexOf("e")+1)+l),n=new f(r)):n=new f(c.toString()),t=(l=f.precision)+3;;)if(i=n,n=i.plus(Xe(a,i,t+2,1)).times(.5),Ct(i.d).slice(0,t)===(r=Ct(n.d)).slice(0,t))if(r=r.slice(t-3,t+1),r=="9999"||!u&&r=="4999"){if(!u&&(le(i,l+1,0),i.times(i).eq(a))){n=i;break}t+=4,u=1}else{(!+r||!+r.slice(1)&&r.charAt(0)=="5")&&(le(n,l+1,1),e=!n.times(n).eq(a));break}return De=!0,le(n,l,f.rounding,e)},V.tangent=V.tan=function(){var e,r,t=this,n=t.constructor;return t.isFinite()?t.isZero()?new n(t):(e=n.precision,r=n.rounding,n.precision=e+10,n.rounding=1,t=t.sin(),t.s=1,t=Xe(t,new n(1).minus(t.times(t)).sqrt(),e+10,0),n.precision=e,n.rounding=r,le(Er==2||Er==4?t.neg():t,e,r,!0)):new n(NaN)},V.times=V.mul=function(e){var r,t,n,u,i,a,s,l,c,f=this,p=f.constructor,o=f.d,d=(e=new p(e)).d;if(e.s*=f.s,!o||!o[0]||!d||!d[0])return new p(!e.s||o&&!o[0]&&!d||d&&!d[0]&&!o?NaN:!o||!d?e.s/0:e.s*0);for(t=Ft(f.e/ge)+Ft(e.e/ge),l=o.length,c=d.length,l<c&&(i=o,o=d,d=i,a=l,l=c,c=a),i=[],a=l+c,n=a;n--;)i.push(0);for(n=c;--n>=0;){for(r=0,u=l+n;u>n;)s=i[u]+d[n]*o[u-n-1]+r,i[u--]=s%ur|0,r=s/ur|0;i[u]=(i[u]+r)%ur|0}for(;!i[--a];)i.pop();return r?++t:i.shift(),e.d=i,e.e=ei(i,t),De?le(e,p.precision,p.rounding):e},V.toBinary=function(e,r){return rs(this,2,e,r)},V.toDecimalPlaces=V.toDP=function(e,r){var t=this,n=t.constructor;return t=new n(t),e===void 0?t:(Bt(e,0,Mr),r===void 0?r=n.rounding:Bt(r,0,8),le(t,e+t.e+1,r))},V.toExponential=function(e,r){var t,n=this,u=n.constructor;return e===void 0?t=lr(n,!0):(Bt(e,0,Mr),r===void 0?r=u.rounding:Bt(r,0,8),n=le(new u(n),e+1,r),t=lr(n,!0,e+1)),n.isNeg()&&!n.isZero()?"-"+t:t},V.toFixed=function(e,r){var t,n,u=this,i=u.constructor;return e===void 0?t=lr(u):(Bt(e,0,Mr),r===void 0?r=i.rounding:Bt(r,0,8),n=le(new i(u),e+u.e+1,r),t=lr(n,!1,e+n.e+1)),u.isNeg()&&!u.isZero()?"-"+t:t},V.toFraction=function(e){var r,t,n,u,i,a,s,l,c,f,p,o,d=this,m=d.d,h=d.constructor;if(!m)return new h(d);if(c=t=new h(1),n=l=new h(0),r=new h(n),i=r.e=tl(m)-d.e-1,a=i%ge,r.d[0]=yt(10,a<0?ge+a:a),e==null)e=i>0?r:c;else{if(s=new h(e),!s.isInt()||s.lt(c))throw Error(Nr+s);e=s.gt(r)?i>0?r:c:s}for(De=!1,s=new h(Ct(m)),f=h.precision,h.precision=i=m.length*ge*2;p=Xe(s,r,0,1,1),u=t.plus(p.times(n)),u.cmp(e)!=1;)t=n,n=u,u=c,c=l.plus(p.times(u)),l=u,u=r,r=s.minus(p.times(u)),s=u;return u=Xe(e.minus(t),n,0,1,1),l=l.plus(u.times(c)),t=t.plus(u.times(n)),l.s=c.s=d.s,o=Xe(c,n,i,1).minus(d).abs().cmp(Xe(l,t,i,1).minus(d).abs())<1?[c,n]:[l,t],h.precision=f,De=!0,o},V.toHexadecimal=V.toHex=function(e,r){return rs(this,16,e,r)},V.toNearest=function(e,r){var t=this,n=t.constructor;if(t=new n(t),e==null){if(!t.d)return t;e=new n(1),r=n.rounding}else{if(e=new n(e),r===void 0?r=n.rounding:Bt(r,0,8),!t.d)return e.s?t:e;if(!e.d)return e.s&&(e.s=t.s),e}return e.d[0]?(De=!1,t=Xe(t,e,0,r,1).times(e),De=!0,le(t)):(e.s=t.s,t=e),t},V.toNumber=function(){return+this},V.toOctal=function(e,r){return rs(this,8,e,r)},V.toPower=V.pow=function(e){var r,t,n,u,i,a,s=this,l=s.constructor,c=+(e=new l(e));if(!s.d||!e.d||!s.d[0]||!e.d[0])return new l(yt(+s,c));if(s=new l(s),s.eq(1))return s;if(n=l.precision,i=l.rounding,e.eq(1))return le(s,n,i);if(r=Ft(e.e/ge),r>=e.d.length-1&&(t=c<0?-c:c)<=my)return u=rl(l,s,t,n),e.s<0?new l(1).div(u):le(u,n,i);if(a=s.s,a<0){if(r<e.d.length-1)return new l(NaN);if((e.d[r]&1)==0&&(a=1),s.e==0&&s.d[0]==1&&s.d.length==1)return s.s=a,s}return t=yt(+s,c),r=t==0||!isFinite(t)?Ft(c*(Math.log("0."+Ct(s.d))/Math.LN10+s.e+1)):new l(t+"").e,r>l.maxE+1||r<l.minE-1?new l(r>0?a/0:0):(De=!1,l.rounding=s.s=1,t=Math.min(12,(r+"").length),u=ts(e.times(Ir(s,n+t)),n),u.d&&(u=le(u,n+5,1),Zn(u.d,n,i)&&(r=n+10,u=le(ts(e.times(Ir(s,r+t)),r),r+5,1),+Ct(u.d).slice(n+1,n+15)+1==1e14&&(u=le(u,n+1,0)))),u.s=a,De=!0,l.rounding=i,le(u,n,i))},V.toPrecision=function(e,r){var t,n=this,u=n.constructor;return e===void 0?t=lr(n,n.e<=u.toExpNeg||n.e>=u.toExpPos):(Bt(e,1,Mr),r===void 0?r=u.rounding:Bt(r,0,8),n=le(new u(n),e,r),t=lr(n,e<=n.e||n.e<=u.toExpNeg,e)),n.isNeg()&&!n.isZero()?"-"+t:t},V.toSignificantDigits=V.toSD=function(e,r){var t=this,n=t.constructor;return e===void 0?(e=n.precision,r=n.rounding):(Bt(e,1,Mr),r===void 0?r=n.rounding:Bt(r,0,8)),le(new n(t),e,r)},V.toString=function(){var e=this,r=e.constructor,t=lr(e,e.e<=r.toExpNeg||e.e>=r.toExpPos);return e.isNeg()&&!e.isZero()?"-"+t:t},V.truncated=V.trunc=function(){return le(new this.constructor(this),this.e+1,1)},V.valueOf=V.toJSON=function(){var e=this,r=e.constructor,t=lr(e,e.e<=r.toExpNeg||e.e>=r.toExpPos);return e.isNeg()?"-"+t:t};function Ct(e){var r,t,n,u=e.length-1,i="",a=e[0];if(u>0){for(i+=a,r=1;r<u;r++)n=e[r]+"",t=ge-n.length,t&&(i+=Pr(t)),i+=n;a=e[r],n=a+"",t=ge-n.length,t&&(i+=Pr(t))}else if(a===0)return"0";for(;a%10===0;)a/=10;return i+a}function Bt(e,r,t){if(e!==~~e||e<r||e>t)throw Error(Nr+e)}function Zn(e,r,t,n){var u,i,a,s;for(i=e[0];i>=10;i/=10)--r;return--r<0?(r+=ge,u=0):(u=Math.ceil((r+1)/ge),r%=ge),i=yt(10,ge-r),s=e[u]%i|0,n==null?r<3?(r==0?s=s/100|0:r==1&&(s=s/10|0),a=t<4&&s==99999||t>3&&s==49999||s==5e4||s==0):a=(t<4&&s+1==i||t>3&&s+1==i/2)&&(e[u+1]/i/100|0)==yt(10,r-2)-1||(s==i/2||s==0)&&(e[u+1]/i/100|0)==0:r<4?(r==0?s=s/1e3|0:r==1?s=s/100|0:r==2&&(s=s/10|0),a=(n||t<4)&&s==9999||!n&&t>3&&s==4999):a=((n||t<4)&&s+1==i||!n&&t>3&&s+1==i/2)&&(e[u+1]/i/1e3|0)==yt(10,r-3)-1,a}function Ju(e,r,t){for(var n,u=[0],i,a=0,s=e.length;a<s;){for(i=u.length;i--;)u[i]*=r;for(u[0]+=Za.indexOf(e.charAt(a++)),n=0;n<u.length;n++)u[n]>t-1&&(u[n+1]===void 0&&(u[n+1]=0),u[n+1]+=u[n]/t|0,u[n]%=t)}return u.reverse()}function by(e,r){var t,n,u;if(r.isZero())return r;n=r.d.length,n<32?(t=Math.ceil(n/3),u=(1/ni(4,t)).toString()):(t=16,u="2.3283064365386962890625e-10"),e.precision+=t,r=yn(e,1,r.times(u),new e(1));for(var i=t;i--;){var a=r.times(r);r=a.times(a).minus(a).times(8).plus(1)}return e.precision-=t,r}var Xe=(function(){function e(n,u,i){var a,s=0,l=n.length;for(n=n.slice();l--;)a=n[l]*u+s,n[l]=a%i|0,s=a/i|0;return s&&n.unshift(s),n}function r(n,u,i,a){var s,l;if(i!=a)l=i>a?1:-1;else for(s=l=0;s<i;s++)if(n[s]!=u[s]){l=n[s]>u[s]?1:-1;break}return l}function t(n,u,i,a){for(var s=0;i--;)n[i]-=s,s=n[i]<u[i]?1:0,n[i]=s*a+n[i]-u[i];for(;!n[0]&&n.length>1;)n.shift()}return function(n,u,i,a,s,l){var c,f,p,o,d,m,h,b,g,w,y,D,v,E,A,C,T,x,_,F,N=n.constructor,I=n.s==u.s?1:-1,M=n.d,R=u.d;if(!M||!M[0]||!R||!R[0])return new N(!n.s||!u.s||(M?R&&M[0]==R[0]:!R)?NaN:M&&M[0]==0||!R?I*0:I/0);for(l?(d=1,f=n.e-u.e):(l=ur,d=ge,f=Ft(n.e/d)-Ft(u.e/d)),_=R.length,T=M.length,g=new N(I),w=g.d=[],p=0;R[p]==(M[p]||0);p++);if(R[p]>(M[p]||0)&&f--,i==null?(E=i=N.precision,a=N.rounding):s?E=i+(n.e-u.e)+1:E=i,E<0)w.push(1),m=!0;else{if(E=E/d+2|0,p=0,_==1){for(o=0,R=R[0],E++;(p<T||o)&&E--;p++)A=o*l+(M[p]||0),w[p]=A/R|0,o=A%R|0;m=o||p<T}else{for(o=l/(R[0]+1)|0,o>1&&(R=e(R,o,l),M=e(M,o,l),_=R.length,T=M.length),C=_,y=M.slice(0,_),D=y.length;D<_;)y[D++]=0;F=R.slice(),F.unshift(0),x=R[0],R[1]>=l/2&&++x;do o=0,c=r(R,y,_,D),c<0?(v=y[0],_!=D&&(v=v*l+(y[1]||0)),o=v/x|0,o>1?(o>=l&&(o=l-1),h=e(R,o,l),b=h.length,D=y.length,c=r(h,y,b,D),c==1&&(o--,t(h,_<b?F:R,b,l))):(o==0&&(c=o=1),h=R.slice()),b=h.length,b<D&&h.unshift(0),t(y,h,D,l),c==-1&&(D=y.length,c=r(R,y,_,D),c<1&&(o++,t(y,_<D?F:R,D,l))),D=y.length):c===0&&(o++,y=[0]),w[p++]=o,c&&y[0]?y[D++]=M[C]||0:(y=[M[C]],D=1);while((C++<T||y[0]!==void 0)&&E--);m=y[0]!==void 0}w[0]||w.shift()}if(d==1)g.e=f,Qf=m;else{for(p=1,o=w[0];o>=10;o/=10)p++;g.e=p+f*d-1,le(g,s?i+g.e+1:i,a,m)}return g}})();function le(e,r,t,n){var u,i,a,s,l,c,f,p,o,d=e.constructor;e:if(r!=null){if(p=e.d,!p)return e;for(u=1,s=p[0];s>=10;s/=10)u++;if(i=r-u,i<0)i+=ge,a=r,f=p[o=0],l=f/yt(10,u-a-1)%10|0;else if(o=Math.ceil((i+1)/ge),s=p.length,o>=s)if(n){for(;s++<=o;)p.push(0);f=l=0,u=1,i%=ge,a=i-ge+1}else break e;else{for(f=s=p[o],u=1;s>=10;s/=10)u++;i%=ge,a=i-ge+u,l=a<0?0:f/yt(10,u-a-1)%10|0}if(n=n||r<0||p[o+1]!==void 0||(a<0?f:f%yt(10,u-a-1)),c=t<4?(l||n)&&(t==0||t==(e.s<0?3:2)):l>5||l==5&&(t==4||n||t==6&&(i>0?a>0?f/yt(10,u-a):0:p[o-1])%10&1||t==(e.s<0?8:7)),r<1||!p[0])return p.length=0,c?(r-=e.e+1,p[0]=yt(10,(ge-r%ge)%ge),e.e=-r||0):p[0]=e.e=0,e;if(i==0?(p.length=o,s=1,o--):(p.length=o+1,s=yt(10,ge-i),p[o]=a>0?(f/yt(10,u-a)%yt(10,a)|0)*s:0),c)for(;;)if(o==0){for(i=1,a=p[0];a>=10;a/=10)i++;for(a=p[0]+=s,s=1;a>=10;a/=10)s++;i!=s&&(e.e++,p[0]==ur&&(p[0]=1));break}else{if(p[o]+=s,p[o]!=ur)break;p[o--]=0,s=1}for(i=p.length;p[--i]===0;)p.pop()}return De&&(e.e>d.maxE?(e.d=null,e.e=NaN):e.e<d.minE&&(e.e=0,e.d=[0])),e}function lr(e,r,t){if(!e.isFinite())return il(e);var n,u=e.e,i=Ct(e.d),a=i.length;return r?(t&&(n=t-a)>0?i=i.charAt(0)+"."+i.slice(1)+Pr(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(e.e<0?"e":"e+")+e.e):u<0?(i="0."+Pr(-u-1)+i,t&&(n=t-a)>0&&(i+=Pr(n))):u>=a?(i+=Pr(u+1-a),t&&(n=t-u-1)>0&&(i=i+"."+Pr(n))):((n=u+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),t&&(n=t-a)>0&&(u+1===a&&(i+="."),i+=Pr(n))),i}function ei(e,r){var t=e[0];for(r*=ge;t>=10;t/=10)r++;return r}function ti(e,r,t){if(r>gy)throw De=!0,t&&(e.precision=t),Error(Kf);return le(new e(Qu),r,1,!0)}function dr(e,r,t){if(r>es)throw Error(Kf);return le(new e(Ku),r,t,!0)}function tl(e){var r=e.length-1,t=r*ge+1;if(r=e[r],r){for(;r%10==0;r/=10)t--;for(r=e[0];r>=10;r/=10)t++}return t}function Pr(e){for(var r="";e--;)r+="0";return r}function rl(e,r,t,n){var u,i=new e(1),a=Math.ceil(n/ge+4);for(De=!1;;){if(t%2&&(i=i.times(r),sl(i.d,a)&&(u=!0)),t=Ft(t/2),t===0){t=i.d.length-1,u&&i.d[t]===0&&++i.d[t];break}r=r.times(r),sl(r.d,a)}return De=!0,i}function nl(e){return e.d[e.d.length-1]&1}function ul(e,r,t){for(var n,u,i=new e(r[0]),a=0;++a<r.length;){if(u=new e(r[a]),!u.s){i=u;break}n=i.cmp(u),(n===t||n===0&&i.s===t)&&(i=u)}return i}function ts(e,r){var t,n,u,i,a,s,l,c=0,f=0,p=0,o=e.constructor,d=o.rounding,m=o.precision;if(!e.d||!e.d[0]||e.e>17)return new o(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(r==null?(De=!1,l=m):l=r,s=new o(.03125);e.e>-2;)e=e.times(s),p+=5;for(n=Math.log(yt(2,p))/Math.LN10*2+5|0,l+=n,t=i=a=new o(1),o.precision=l;;){if(i=le(i.times(e),l,1),t=t.times(++f),s=a.plus(Xe(i,t,l,1)),Ct(s.d).slice(0,l)===Ct(a.d).slice(0,l)){for(u=p;u--;)a=le(a.times(a),l,1);if(r==null)if(c<3&&Zn(a.d,l-n,d,c))o.precision=l+=10,t=i=s=new o(1),f=0,c++;else return le(a,o.precision=m,d,De=!0);else return o.precision=m,a}a=s}}function Ir(e,r){var t,n,u,i,a,s,l,c,f,p,o,d=1,m=10,h=e,b=h.d,g=h.constructor,w=g.rounding,y=g.precision;if(h.s<0||!b||!b[0]||!h.e&&b[0]==1&&b.length==1)return new g(b&&!b[0]?-1/0:h.s!=1?NaN:b?0:h);if(r==null?(De=!1,f=y):f=r,g.precision=f+=m,t=Ct(b),n=t.charAt(0),Math.abs(i=h.e)<15e14){for(;n<7&&n!=1||n==1&&t.charAt(1)>3;)h=h.times(e),t=Ct(h.d),n=t.charAt(0),d++;i=h.e,n>1?(h=new g("0."+t),i++):h=new g(n+"."+t.slice(1))}else return c=ti(g,f+2,y).times(i+""),h=Ir(new g(n+"."+t.slice(1)),f-m).plus(c),g.precision=y,r==null?le(h,y,w,De=!0):h;for(p=h,l=a=h=Xe(h.minus(1),h.plus(1),f,1),o=le(h.times(h),f,1),u=3;;){if(a=le(a.times(o),f,1),c=l.plus(Xe(a,new g(u),f,1)),Ct(c.d).slice(0,f)===Ct(l.d).slice(0,f))if(l=l.times(2),i!==0&&(l=l.plus(ti(g,f+2,y).times(i+""))),l=Xe(l,new g(d),f,1),r==null)if(Zn(l.d,f-m,w,s))g.precision=f+=m,c=a=h=Xe(p.minus(1),p.plus(1),f,1),o=le(h.times(h),f,1),u=s=1;else return le(l,g.precision=y,w,De=!0);else return g.precision=y,l;l=c,u+=2}}function il(e){return String(e.s*e.s/0)}function ri(e,r){var t,n,u;for((t=r.indexOf("."))>-1&&(r=r.replace(".","")),(n=r.search(/e/i))>0?(t<0&&(t=n),t+=+r.slice(n+1),r=r.substring(0,n)):t<0&&(t=r.length),n=0;r.charCodeAt(n)===48;n++);for(u=r.length;r.charCodeAt(u-1)===48;--u);if(r=r.slice(n,u),r){if(u-=n,e.e=t=t-n-1,e.d=[],n=(t+1)%ge,t<0&&(n+=ge),n<u){for(n&&e.d.push(+r.slice(0,n)),u-=ge;n<u;)e.d.push(+r.slice(n,n+=ge));r=r.slice(n),n=ge-r.length}else n-=u;for(;n--;)r+="0";e.d.push(+r),De&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function yy(e,r){var t,n,u,i,a,s,l,c,f;if(r.indexOf("_")>-1){if(r=r.replace(/(\d)_(?=\d)/g,"$1"),el.test(r))return ri(e,r)}else if(r==="Infinity"||r==="NaN")return+r||(e.s=NaN),e.e=NaN,e.d=null,e;if(hy.test(r))t=16,r=r.toLowerCase();else if(dy.test(r))t=2;else if(py.test(r))t=8;else throw Error(Nr+r);for(i=r.search(/p/i),i>0?(l=+r.slice(i+1),r=r.substring(2,i)):r=r.slice(2),i=r.indexOf("."),a=i>=0,n=e.constructor,a&&(r=r.replace(".",""),s=r.length,i=s-i,u=rl(n,new n(t),i,i*2)),c=Ju(r,t,ur),f=c.length-1,i=f;c[i]===0;--i)c.pop();return i<0?new n(e.s*0):(e.e=ei(c,f),e.d=c,De=!1,a&&(e=Xe(e,u,s*4)),l&&(e=e.times(Math.abs(l)<54?yt(2,l):vn.pow(2,l))),De=!0,e)}function vy(e,r){var t,n=r.d.length;if(n<3)return r.isZero()?r:yn(e,2,r,r);t=1.4*Math.sqrt(n),t=t>16?16:t|0,r=r.times(1/ni(5,t)),r=yn(e,2,r,r);for(var u,i=new e(5),a=new e(16),s=new e(20);t--;)u=r.times(r),r=r.times(i.plus(u.times(a.times(u).minus(s))));return r}function yn(e,r,t,n,u){var i,a,s,l,c=e.precision,f=Math.ceil(c/ge);for(De=!1,l=t.times(t),s=new e(n);;){if(a=Xe(s.times(l),new e(r++*r++),c,1),s=u?n.plus(a):n.minus(a),n=Xe(a.times(l),new e(r++*r++),c,1),a=s.plus(n),a.d[f]!==void 0){for(i=f;a.d[i]===s.d[i]&&i--;);if(i==-1)break}i=s,s=n,n=a,a=i}return De=!0,a.d.length=f+1,a}function ni(e,r){for(var t=e;--r;)t*=e;return t}function al(e,r){var t,n=r.s<0,u=dr(e,e.precision,1),i=u.times(.5);if(r=r.abs(),r.lte(i))return Er=n?4:1,r;if(t=r.divToInt(u),t.isZero())Er=n?3:2;else{if(r=r.minus(t.times(u)),r.lte(i))return Er=nl(t)?n?2:3:n?4:1,r;Er=nl(t)?n?1:4:n?3:2}return r.minus(u).abs()}function rs(e,r,t,n){var u,i,a,s,l,c,f,p,o,d=e.constructor,m=t!==void 0;if(m?(Bt(t,1,Mr),n===void 0?n=d.rounding:Bt(n,0,8)):(t=d.precision,n=d.rounding),!e.isFinite())f=il(e);else{for(f=lr(e),a=f.indexOf("."),m?(u=2,r==16?t=t*4-3:r==8&&(t=t*3-2)):u=r,a>=0&&(f=f.replace(".",""),o=new d(1),o.e=f.length-a,o.d=Ju(lr(o),10,u),o.e=o.d.length),p=Ju(f,10,u),i=l=p.length;p[--l]==0;)p.pop();if(!p[0])f=m?"0p+0":"0";else{if(a<0?i--:(e=new d(e),e.d=p,e.e=i,e=Xe(e,o,t,n,0,u),p=e.d,i=e.e,c=Qf),a=p[t],s=u/2,c=c||p[t+1]!==void 0,c=n<4?(a!==void 0||c)&&(n===0||n===(e.s<0?3:2)):a>s||a===s&&(n===4||c||n===6&&p[t-1]&1||n===(e.s<0?8:7)),p.length=t,c)for(;++p[--t]>u-1;)p[t]=0,t||(++i,p.unshift(1));for(l=p.length;!p[l-1];--l);for(a=0,f="";a<l;a++)f+=Za.charAt(p[a]);if(m){if(l>1)if(r==16||r==8){for(a=r==16?4:3,--l;l%a;l++)f+="0";for(p=Ju(f,u,r),l=p.length;!p[l-1];--l);for(a=1,f="1.";a<l;a++)f+=Za.charAt(p[a])}else f=f.charAt(0)+"."+f.slice(1);f=f+(i<0?"p":"p+")+i}else if(i<0){for(;++i;)f="0"+f;f="0."+f}else if(++i>l)for(i-=l;i--;)f+="0";else i<l&&(f=f.slice(0,i)+"."+f.slice(i))}f=(r==16?"0x":r==2?"0b":r==8?"0o":"")+f}return e.s<0?"-"+f:f}function sl(e,r){if(e.length>r)return e.length=r,!0}function wy(e){return new this(e).abs()}function Dy(e){return new this(e).acos()}function Ey(e){return new this(e).acosh()}function xy(e,r){return new this(e).plus(r)}function Ay(e){return new this(e).asin()}function Cy(e){return new this(e).asinh()}function _y(e){return new this(e).atan()}function Ty(e){return new this(e).atanh()}function Sy(e,r){e=new this(e),r=new this(r);var t,n=this.precision,u=this.rounding,i=n+4;return!e.s||!r.s?t=new this(NaN):!e.d&&!r.d?(t=dr(this,i,1).times(r.s>0?.25:.75),t.s=e.s):!r.d||e.isZero()?(t=r.s<0?dr(this,n,u):new this(0),t.s=e.s):!e.d||r.isZero()?(t=dr(this,i,1).times(.5),t.s=e.s):r.s<0?(this.precision=i,this.rounding=1,t=this.atan(Xe(e,r,i,1)),r=dr(this,i,1),this.precision=n,this.rounding=u,t=e.s<0?t.minus(r):t.plus(r)):t=this.atan(Xe(e,r,i,1)),t}function Fy(e){return new this(e).cbrt()}function Oy(e){return le(e=new this(e),e.e+1,2)}function My(e,r,t){return new this(e).clamp(r,t)}function Ny(e){if(!e||typeof e!="object")throw Error(Zu+"Object expected");var r,t,n,u=e.defaults===!0,i=["precision",1,Mr,"rounding",0,8,"toExpNeg",-bn,0,"toExpPos",0,bn,"maxE",0,bn,"minE",-bn,0,"modulo",0,9];for(r=0;r<i.length;r+=3)if(t=i[r],u&&(this[t]=Ja[t]),(n=e[t])!==void 0)if(Ft(n)===n&&n>=i[r+1]&&n<=i[r+2])this[t]=n;else throw Error(Nr+t+": "+n);if(t="crypto",u&&(this[t]=Ja[t]),(n=e[t])!==void 0)if(n===!0||n===!1||n===0||n===1)if(n)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[t]=!0;else throw Error(Zf);else this[t]=!1;else throw Error(Nr+t+": "+n);return this}function Py(e){return new this(e).cos()}function Iy(e){return new this(e).cosh()}function ol(e){var r,t,n;function u(i){var a,s,l,c=this;if(!(c instanceof u))return new u(i);if(c.constructor=u,cl(i)){c.s=i.s,De?!i.d||i.e>u.maxE?(c.e=NaN,c.d=null):i.e<u.minE?(c.e=0,c.d=[0]):(c.e=i.e,c.d=i.d.slice()):(c.e=i.e,c.d=i.d?i.d.slice():i.d);return}if(l=typeof i,l==="number"){if(i===0){c.s=1/i<0?-1:1,c.e=0,c.d=[0];return}if(i<0?(i=-i,c.s=-1):c.s=1,i===~~i&&i<1e7){for(a=0,s=i;s>=10;s/=10)a++;De?a>u.maxE?(c.e=NaN,c.d=null):a<u.minE?(c.e=0,c.d=[0]):(c.e=a,c.d=[i]):(c.e=a,c.d=[i]);return}if(i*0!==0){i||(c.s=NaN),c.e=NaN,c.d=null;return}return ri(c,i.toString())}if(l==="string")return(s=i.charCodeAt(0))===45?(i=i.slice(1),c.s=-1):(s===43&&(i=i.slice(1)),c.s=1),el.test(i)?ri(c,i):yy(c,i);if(l==="bigint")return i<0?(i=-i,c.s=-1):c.s=1,ri(c,i.toString());throw Error(Nr+i)}if(u.prototype=V,u.ROUND_UP=0,u.ROUND_DOWN=1,u.ROUND_CEIL=2,u.ROUND_FLOOR=3,u.ROUND_HALF_UP=4,u.ROUND_HALF_DOWN=5,u.ROUND_HALF_EVEN=6,u.ROUND_HALF_CEIL=7,u.ROUND_HALF_FLOOR=8,u.EUCLID=9,u.config=u.set=Ny,u.clone=ol,u.isDecimal=cl,u.abs=wy,u.acos=Dy,u.acosh=Ey,u.add=xy,u.asin=Ay,u.asinh=Cy,u.atan=_y,u.atanh=Ty,u.atan2=Sy,u.cbrt=Fy,u.ceil=Oy,u.clamp=My,u.cos=Py,u.cosh=Iy,u.div=By,u.exp=Ry,u.floor=qy,u.hypot=ky,u.ln=Ly,u.log=jy,u.log10=zy,u.log2=$y,u.max=Hy,u.min=Uy,u.mod=Vy,u.mul=Wy,u.pow=Yy,u.random=Gy,u.round=Xy,u.sign=Qy,u.sin=Ky,u.sinh=Zy,u.sqrt=Jy,u.sub=e2,u.sum=t2,u.tan=r2,u.tanh=n2,u.trunc=u2,e===void 0&&(e={}),e&&e.defaults!==!0)for(n=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],r=0;r<n.length;)e.hasOwnProperty(t=n[r++])||(e[t]=this[t]);return u.config(e),u}function By(e,r){return new this(e).div(r)}function Ry(e){return new this(e).exp()}function qy(e){return le(e=new this(e),e.e+1,3)}function ky(){var e,r,t=new this(0);for(De=!1,e=0;e<arguments.length;)if(r=new this(arguments[e++]),r.d)t.d&&(t=t.plus(r.times(r)));else{if(r.s)return De=!0,new this(1/0);t=r}return De=!0,t.sqrt()}function cl(e){return e instanceof vn||e&&e.toStringTag===Jf||!1}function Ly(e){return new this(e).ln()}function jy(e,r){return new this(e).log(r)}function $y(e){return new this(e).log(2)}function zy(e){return new this(e).log(10)}function Hy(){return ul(this,arguments,-1)}function Uy(){return ul(this,arguments,1)}function Vy(e,r){return new this(e).mod(r)}function Wy(e,r){return new this(e).mul(r)}function Yy(e,r){return new this(e).pow(r)}function Gy(e){var r,t,n,u,i=0,a=new this(1),s=[];if(e===void 0?e=this.precision:Bt(e,1,Mr),n=Math.ceil(e/ge),this.crypto)if(crypto.getRandomValues)for(r=crypto.getRandomValues(new Uint32Array(n));i<n;)u=r[i],u>=429e7?r[i]=crypto.getRandomValues(new Uint32Array(1))[0]:s[i++]=u%1e7;else if(crypto.randomBytes){for(r=crypto.randomBytes(n*=4);i<n;)u=r[i]+(r[i+1]<<8)+(r[i+2]<<16)+((r[i+3]&127)<<24),u>=214e7?crypto.randomBytes(4).copy(r,i):(s.push(u%1e7),i+=4);i=n/4}else throw Error(Zf);else for(;i<n;)s[i++]=Math.random()*1e7|0;for(n=s[--i],e%=ge,n&&e&&(u=yt(10,ge-e),s[i]=(n/u|0)*u);s[i]===0;i--)s.pop();if(i<0)t=0,s=[0];else{for(t=-1;s[0]===0;t-=ge)s.shift();for(n=1,u=s[0];u>=10;u/=10)n++;n<ge&&(t-=ge-n)}return a.e=t,a.d=s,a}function Xy(e){return le(e=new this(e),e.e+1,this.rounding)}function Qy(e){return e=new this(e),e.d?e.d[0]?e.s:0*e.s:e.s||NaN}function Ky(e){return new this(e).sin()}function Zy(e){return new this(e).sinh()}function Jy(e){return new this(e).sqrt()}function e2(e,r){return new this(e).sub(r)}function t2(){var e=0,r=arguments,t=new this(r[e]);for(De=!1;t.s&&++e<r.length;)t=t.plus(r[e]);return De=!0,le(t,this.precision,this.rounding)}function r2(e){return new this(e).tan()}function n2(e){return new this(e).tanh()}function u2(e){return le(e=new this(e),e.e+1,1)}V[Symbol.for("nodejs.util.inspect.custom")]=V.toString,V[Symbol.toStringTag]="Decimal";var vn=V.constructor=ol(Ja);Qu=new vn(Qu),Ku=new vn(Ku);var i2="BigNumber",a2=["?on","config"],s2=Ie(i2,a2,e=>{var{on:r,config:t}=e,n=vn.clone({precision:t.precision,modulo:vn.EUCLID});return n.prototype=Object.create(n.prototype),n.prototype.type="BigNumber",n.prototype.isBigNumber=!0,n.prototype.toJSON=function(){return{mathjs:"BigNumber",value:this.toString()}},n.fromJSON=function(u){return new n(u.value)},r&&r("config",function(u,i){u.precision!==i.precision&&n.config({precision:u.precision})}),n},{isClass:!0});const Ot=Math.cosh||function(e){return Math.abs(e)<1e-9?1-e:(Math.exp(e)+Math.exp(-e))*.5},Gt=Math.sinh||function(e){return Math.abs(e)<1e-9?e:(Math.exp(e)-Math.exp(-e))*.5},o2=function(e){const r=Math.PI/4;if(-r>e||e>r)return Math.cos(e)-1;const t=e*e;return t*(t*(t*(t*(t*(t*(t*(t/20922789888e3-1/87178291200)+1/479001600)-1/3628800)+1/40320)-1/720)+1/24)-1/2)},ns=function(e,r){return e=Math.abs(e),r=Math.abs(r),e<r&&([e,r]=[r,e]),e<1e8?Math.sqrt(e*e+r*r):(r/=e,e*Math.sqrt(1+r*r))},wn=function(){throw SyntaxError("Invalid Param")};function us(e,r){const t=Math.abs(e),n=Math.abs(r);return e===0?Math.log(n):r===0?Math.log(t):t<3e3&&n<3e3?Math.log(e*e+r*r)*.5:(e=e*.5,r=r*.5,.5*Math.log(e*e+r*r)+Math.LN2)}const c2={re:0,im:0},Zr=function(e,r){const t=c2;if(e==null)t.re=t.im=0;else if(r!==void 0)t.re=e,t.im=r;else switch(typeof e){case"object":if("im"in e&&"re"in e)t.re=e.re,t.im=e.im;else if("abs"in e&&"arg"in e){if(!isFinite(e.abs)&&isFinite(e.arg))return z.INFINITY;t.re=e.abs*Math.cos(e.arg),t.im=e.abs*Math.sin(e.arg)}else if("r"in e&&"phi"in e){if(!isFinite(e.r)&&isFinite(e.phi))return z.INFINITY;t.re=e.r*Math.cos(e.phi),t.im=e.r*Math.sin(e.phi)}else e.length===2?(t.re=e[0],t.im=e[1]):wn();break;case"string":t.im=t.re=0;const n=e.replace(/_/g,"").match(/\d+\.?\d*e[+-]?\d+|\d+\.?\d*|\.\d+|./g);let u=1,i=0;n===null&&wn();for(let a=0;a<n.length;a++){const s=n[a];s===" "||s===" "||s===`
|
|
88
|
-
`||(s==="+"?u++:s==="-"?i++:s==="i"||s==="I"?(u+i===0&&wn(),n[a+1]!==" "&&!isNaN(n[a+1])?(t.im+=parseFloat((i%2?"-":"")+n[a+1]),a++):t.im+=parseFloat((i%2?"-":"")+"1"),u=i=0):((u+i===0||isNaN(s))&&wn(),n[a+1]==="i"||n[a+1]==="I"?(t.im+=parseFloat((i%2?"-":"")+s),a++):t.re+=parseFloat((i%2?"-":"")+s),u=i=0))}u+i>0&&wn();break;case"number":t.im=0,t.re=e;break;default:wn()}return isNaN(t.re)||isNaN(t.im),t};function z(e,r){if(!(this instanceof z))return new z(e,r);const t=Zr(e,r);this.re=t.re,this.im=t.im}z.prototype={re:0,im:0,sign:function(){const e=ns(this.re,this.im);return new z(this.re/e,this.im/e)},add:function(e,r){const t=Zr(e,r),n=this.isInfinite(),u=!(isFinite(t.re)&&isFinite(t.im));return n||u?n&&u?z.NAN:z.INFINITY:new z(this.re+t.re,this.im+t.im)},sub:function(e,r){const t=Zr(e,r),n=this.isInfinite(),u=!(isFinite(t.re)&&isFinite(t.im));return n||u?n&&u?z.NAN:z.INFINITY:new z(this.re-t.re,this.im-t.im)},mul:function(e,r){const t=Zr(e,r),n=this.isInfinite(),u=!(isFinite(t.re)&&isFinite(t.im)),i=this.re===0&&this.im===0,a=t.re===0&&t.im===0;return n&&a||u&&i?z.NAN:n||u?z.INFINITY:t.im===0&&this.im===0?new z(this.re*t.re,0):new z(this.re*t.re-this.im*t.im,this.re*t.im+this.im*t.re)},div:function(e,r){const t=Zr(e,r),n=this.isInfinite(),u=!(isFinite(t.re)&&isFinite(t.im)),i=this.re===0&&this.im===0,a=t.re===0&&t.im===0;if(i&&a||n&&u)return z.NAN;if(a||n)return z.INFINITY;if(i||u)return z.ZERO;if(t.im===0)return new z(this.re/t.re,this.im/t.re);if(Math.abs(t.re)<Math.abs(t.im)){const s=t.re/t.im,l=t.re*s+t.im;return new z((this.re*s+this.im)/l,(this.im*s-this.re)/l)}else{const s=t.im/t.re,l=t.im*s+t.re;return new z((this.re+this.im*s)/l,(this.im-this.re*s)/l)}},pow:function(e,r){const t=Zr(e,r),n=this.re===0&&this.im===0;if(t.re===0&&t.im===0)return z.ONE;if(t.im===0){if(this.im===0&&this.re>0)return new z(Math.pow(this.re,t.re),0);if(this.re===0)switch((t.re%4+4)%4){case 0:return new z(Math.pow(this.im,t.re),0);case 1:return new z(0,Math.pow(this.im,t.re));case 2:return new z(-Math.pow(this.im,t.re),0);case 3:return new z(0,-Math.pow(this.im,t.re))}}if(n&&t.re>0)return z.ZERO;const i=Math.atan2(this.im,this.re),a=us(this.re,this.im);let s=Math.exp(t.re*a-t.im*i),l=t.im*a+t.re*i;return new z(s*Math.cos(l),s*Math.sin(l))},sqrt:function(){const e=this.re,r=this.im;if(r===0)return e>=0?new z(Math.sqrt(e),0):new z(0,Math.sqrt(-e));const t=ns(e,r);let n=Math.sqrt(.5*(t+Math.abs(e))),u=Math.abs(r)/(2*n);return e>=0?new z(n,r<0?-u:u):new z(u,r<0?-n:n)},exp:function(){const e=Math.exp(this.re);return this.im===0?new z(e,0):new z(e*Math.cos(this.im),e*Math.sin(this.im))},expm1:function(){const e=this.re,r=this.im;return new z(Math.expm1(e)*Math.cos(r)+o2(r),Math.exp(e)*Math.sin(r))},log:function(){const e=this.re,r=this.im;return r===0&&e>0?new z(Math.log(e),0):new z(us(e,r),Math.atan2(r,e))},abs:function(){return ns(this.re,this.im)},arg:function(){return Math.atan2(this.im,this.re)},sin:function(){const e=this.re,r=this.im;return new z(Math.sin(e)*Ot(r),Math.cos(e)*Gt(r))},cos:function(){const e=this.re,r=this.im;return new z(Math.cos(e)*Ot(r),-Math.sin(e)*Gt(r))},tan:function(){const e=2*this.re,r=2*this.im,t=Math.cos(e)+Ot(r);return new z(Math.sin(e)/t,Gt(r)/t)},cot:function(){const e=2*this.re,r=2*this.im,t=Math.cos(e)-Ot(r);return new z(-Math.sin(e)/t,Gt(r)/t)},sec:function(){const e=this.re,r=this.im,t=.5*Ot(2*r)+.5*Math.cos(2*e);return new z(Math.cos(e)*Ot(r)/t,Math.sin(e)*Gt(r)/t)},csc:function(){const e=this.re,r=this.im,t=.5*Ot(2*r)-.5*Math.cos(2*e);return new z(Math.sin(e)*Ot(r)/t,-Math.cos(e)*Gt(r)/t)},asin:function(){const e=this.re,r=this.im,t=new z(r*r-e*e+1,-2*e*r).sqrt(),n=new z(t.re-r,t.im+e).log();return new z(n.im,-n.re)},acos:function(){const e=this.re,r=this.im,t=new z(r*r-e*e+1,-2*e*r).sqrt(),n=new z(t.re-r,t.im+e).log();return new z(Math.PI/2-n.im,n.re)},atan:function(){const e=this.re,r=this.im;if(e===0){if(r===1)return new z(0,1/0);if(r===-1)return new z(0,-1/0)}const t=e*e+(1-r)*(1-r),n=new z((1-r*r-e*e)/t,-2*e/t).log();return new z(-.5*n.im,.5*n.re)},acot:function(){const e=this.re,r=this.im;if(r===0)return new z(Math.atan2(1,e),0);const t=e*e+r*r;return t!==0?new z(e/t,-r/t).atan():new z(e!==0?e/0:0,r!==0?-r/0:0).atan()},asec:function(){const e=this.re,r=this.im;if(e===0&&r===0)return new z(0,1/0);const t=e*e+r*r;return t!==0?new z(e/t,-r/t).acos():new z(e!==0?e/0:0,r!==0?-r/0:0).acos()},acsc:function(){const e=this.re,r=this.im;if(e===0&&r===0)return new z(Math.PI/2,1/0);const t=e*e+r*r;return t!==0?new z(e/t,-r/t).asin():new z(e!==0?e/0:0,r!==0?-r/0:0).asin()},sinh:function(){const e=this.re,r=this.im;return new z(Gt(e)*Math.cos(r),Ot(e)*Math.sin(r))},cosh:function(){const e=this.re,r=this.im;return new z(Ot(e)*Math.cos(r),Gt(e)*Math.sin(r))},tanh:function(){const e=2*this.re,r=2*this.im,t=Ot(e)+Math.cos(r);return new z(Gt(e)/t,Math.sin(r)/t)},coth:function(){const e=2*this.re,r=2*this.im,t=Ot(e)-Math.cos(r);return new z(Gt(e)/t,-Math.sin(r)/t)},csch:function(){const e=this.re,r=this.im,t=Math.cos(2*r)-Ot(2*e);return new z(-2*Gt(e)*Math.cos(r)/t,2*Ot(e)*Math.sin(r)/t)},sech:function(){const e=this.re,r=this.im,t=Math.cos(2*r)+Ot(2*e);return new z(2*Ot(e)*Math.cos(r)/t,-2*Gt(e)*Math.sin(r)/t)},asinh:function(){let e=this.im;this.im=-this.re,this.re=e;const r=this.asin();return this.re=-this.im,this.im=e,e=r.re,r.re=-r.im,r.im=e,r},acosh:function(){const e=this.acos();if(e.im<=0){const r=e.re;e.re=-e.im,e.im=r}else{const r=e.im;e.im=-e.re,e.re=r}return e},atanh:function(){const e=this.re,r=this.im,t=e>1&&r===0,n=1-e,u=1+e,i=n*n+r*r,a=i!==0?new z((u*n-r*r)/i,(r*n+u*r)/i):new z(e!==-1?e/0:0,r!==0?r/0:0),s=a.re;return a.re=us(a.re,a.im)/2,a.im=Math.atan2(a.im,s)/2,t&&(a.im=-a.im),a},acoth:function(){const e=this.re,r=this.im;if(e===0&&r===0)return new z(0,Math.PI/2);const t=e*e+r*r;return t!==0?new z(e/t,-r/t).atanh():new z(e!==0?e/0:0,r!==0?-r/0:0).atanh()},acsch:function(){const e=this.re,r=this.im;if(r===0)return new z(e!==0?Math.log(e+Math.sqrt(e*e+1)):1/0,0);const t=e*e+r*r;return t!==0?new z(e/t,-r/t).asinh():new z(e!==0?e/0:0,r!==0?-r/0:0).asinh()},asech:function(){const e=this.re,r=this.im;if(this.isZero())return z.INFINITY;const t=e*e+r*r;return t!==0?new z(e/t,-r/t).acosh():new z(e!==0?e/0:0,r!==0?-r/0:0).acosh()},inverse:function(){if(this.isZero())return z.INFINITY;if(this.isInfinite())return z.ZERO;const e=this.re,r=this.im,t=e*e+r*r;return new z(e/t,-r/t)},conjugate:function(){return new z(this.re,-this.im)},neg:function(){return new z(-this.re,-this.im)},ceil:function(e){return e=Math.pow(10,e||0),new z(Math.ceil(this.re*e)/e,Math.ceil(this.im*e)/e)},floor:function(e){return e=Math.pow(10,e||0),new z(Math.floor(this.re*e)/e,Math.floor(this.im*e)/e)},round:function(e){return e=Math.pow(10,e||0),new z(Math.round(this.re*e)/e,Math.round(this.im*e)/e)},equals:function(e,r){const t=Zr(e,r);return Math.abs(t.re-this.re)<=z.EPSILON&&Math.abs(t.im-this.im)<=z.EPSILON},clone:function(){return new z(this.re,this.im)},toString:function(){let e=this.re,r=this.im,t="";return this.isNaN()?"NaN":this.isInfinite()?"Infinity":(Math.abs(e)<z.EPSILON&&(e=0),Math.abs(r)<z.EPSILON&&(r=0),r===0?t+e:(e!==0?(t+=e,t+=" ",r<0?(r=-r,t+="-"):t+="+",t+=" "):r<0&&(r=-r,t+="-"),r!==1&&(t+=r),t+"i"))},toVector:function(){return[this.re,this.im]},valueOf:function(){return this.im===0?this.re:null},isNaN:function(){return isNaN(this.re)||isNaN(this.im)},isZero:function(){return this.im===0&&this.re===0},isFinite:function(){return isFinite(this.re)&&isFinite(this.im)},isInfinite:function(){return!this.isFinite()}},z.ZERO=new z(0,0),z.ONE=new z(1,0),z.I=new z(0,1),z.PI=new z(Math.PI,0),z.E=new z(Math.E,0),z.INFINITY=new z(1/0,1/0),z.NAN=new z(NaN,NaN),z.EPSILON=1e-15;var f2="Complex",l2=[],d2=Ie(f2,l2,()=>(Object.defineProperty(z,"name",{value:"Complex"}),z.prototype.constructor=z,z.prototype.type="Complex",z.prototype.isComplex=!0,z.prototype.toJSON=function(){return{mathjs:"Complex",re:this.re,im:this.im}},z.prototype.toPolar=function(){return{r:this.abs(),phi:this.arg()}},z.prototype.format=function(e){var r="",t=this.im,n=this.re,u=Ka(this.re,e),i=Ka(this.im,e),a=Je(e)?e:e?e.precision:null;if(a!==null){var s=Math.pow(10,-a);Math.abs(n/t)<s&&(n=0),Math.abs(t/n)<s&&(t=0)}return t===0?r=u:n===0?t===1?r="i":t===-1?r="-i":r=i+"i":t<0?t===-1?r=u+" - i":r=u+" - "+i.substring(1)+"i":t===1?r=u+" + i":r=u+" + "+i+"i",r},z.fromPolar=function(e){switch(arguments.length){case 1:{var r=arguments[0];if(typeof r=="object")return z(r);throw new TypeError("Input has to be an object with r and phi keys.")}case 2:{var t=arguments[0],n=arguments[1];if(Je(t)){if(jf(n)&&n.hasBase("ANGLE")&&(n=n.toNumber("rad")),Je(n))return new z({r:t,phi:n});throw new TypeError("Phi is not a number nor an angle unit.")}else throw new TypeError("Radius r is not a number.")}default:throw new SyntaxError("Wrong number of arguments in function fromPolar")}},z.prototype.valueOf=z.prototype.toString,z.fromJSON=function(e){return new z(e)},z.compare=function(e,r){return e.re>r.re?1:e.re<r.re?-1:e.im>r.im?1:e.im<r.im?-1:0},z),{isClass:!0});typeof BigInt>"u"&&(BigInt=function(e){if(isNaN(e))throw new Error("");return e});const ce=BigInt(0),Ae=BigInt(1),Dt=BigInt(2),Jn=BigInt(3),Dn=BigInt(5),Rt=BigInt(10);BigInt(Number.MAX_SAFE_INTEGER);const h2=2e3,re={s:Ae,n:ce,d:Ae};function xr(e,r){try{e=BigInt(e)}catch{throw Br()}return e*r}function ir(e){return typeof e=="bigint"?e:Math.floor(e)}function et(e,r){if(r===ce)throw is();const t=Object.create(Xt.prototype);t.s=e<ce?-Ae:Ae,e=e<ce?-e:e;const n=Jr(e,r);return t.n=e/n,t.d=r/n,t}const p2=[Dt*Dt,Dt,Dt*Dt,Dt,Dt*Dt,Dt*Jn,Dt,Dt*Jn];function En(e){const r=Object.create(null);if(e<=Ae)return r[e]=Ae,r;const t=n=>{r[n]=(r[n]||ce)+Ae};for(;e%Dt===ce;)t(Dt),e/=Dt;for(;e%Jn===ce;)t(Jn),e/=Jn;for(;e%Dn===ce;)t(Dn),e/=Dn;for(let n=0,u=Dt+Dn;u*u<=e;){for(;e%u===ce;)t(u),e/=u;u+=p2[n],n=n+1&7}return e>Ae&&t(e),r}const Et=function(e,r){let t=ce,n=Ae,u=Ae;if(e!=null)if(r!==void 0){if(typeof e=="bigint")t=e;else{if(isNaN(e))throw Br();if(e%1!==0)throw fl();t=BigInt(e)}if(typeof r=="bigint")n=r;else{if(isNaN(r))throw Br();if(r%1!==0)throw fl();n=BigInt(r)}u=t*n}else if(typeof e=="object"){if("d"in e&&"n"in e)t=BigInt(e.n),n=BigInt(e.d),"s"in e&&(t*=BigInt(e.s));else if(0 in e)t=BigInt(e[0]),1 in e&&(n=BigInt(e[1]));else if(typeof e=="bigint")t=e;else throw Br();u=t*n}else if(typeof e=="number"){if(isNaN(e))throw Br();if(e<0&&(u=-Ae,e=-e),e%1===0)t=BigInt(e);else{let i=1,a=0,s=1,l=1,c=1,f=1e7;for(e>=1&&(i=10**Math.floor(1+Math.log10(e)),e/=i);s<=f&&c<=f;){let p=(a+l)/(s+c);if(e===p){s+c<=f?(t=a+l,n=s+c):c>s?(t=l,n=c):(t=a,n=s);break}else e>p?(a+=l,s+=c):(l+=a,c+=s),s>f?(t=l,n=c):(t=a,n=s)}t=BigInt(t)*BigInt(i),n=BigInt(n)}}else if(typeof e=="string"){let i=0,a=ce,s=ce,l=ce,c=Ae,f=Ae,p=e.replace(/_/g,"").match(/\d+|./g);if(p===null)throw Br();if(p[i]==="-"?(u=-Ae,i++):p[i]==="+"&&i++,p.length===i+1?s=xr(p[i++],u):p[i+1]==="."||p[i]==="."?(p[i]!=="."&&(a=xr(p[i++],u)),i++,(i+1===p.length||p[i+1]==="("&&p[i+3]===")"||p[i+1]==="'"&&p[i+3]==="'")&&(s=xr(p[i],u),c=Rt**BigInt(p[i].length),i++),(p[i]==="("&&p[i+2]===")"||p[i]==="'"&&p[i+2]==="'")&&(l=xr(p[i+1],u),f=Rt**BigInt(p[i+1].length)-Ae,i+=3)):p[i+1]==="/"||p[i+1]===":"?(s=xr(p[i],u),c=xr(p[i+2],Ae),i+=3):p[i+3]==="/"&&p[i+1]===" "&&(a=xr(p[i],u),s=xr(p[i+2],u),c=xr(p[i+4],Ae),i+=5),p.length<=i)n=c*f,u=t=l+n*a+f*s;else throw Br()}else if(typeof e=="bigint")t=e,u=e,n=Ae;else throw Br();if(n===ce)throw is();re.s=u<ce?-Ae:Ae,re.n=t<ce?-t:t,re.d=n<ce?-n:n};function m2(e,r,t){let n=Ae;for(;r>ce;e=e*e%t,r>>=Ae)r&Ae&&(n=n*e%t);return n}function g2(e,r){for(;r%Dt===ce;r/=Dt);for(;r%Dn===ce;r/=Dn);if(r===Ae)return ce;let t=Rt%r,n=1;for(;t!==Ae;n++)if(t=t*Rt%r,n>h2)return ce;return BigInt(n)}function b2(e,r,t){let n=Ae,u=m2(Rt,t,r);for(let i=0;i<300;i++){if(n===u)return BigInt(i);n=n*Rt%r,u=u*Rt%r}return 0}function Jr(e,r){if(!e)return r;if(!r)return e;for(;;){if(e%=r,!e)return r;if(r%=e,!r)return e}}function Xt(e,r){if(Et(e,r),this instanceof Xt)e=Jr(re.d,re.n),this.s=re.s,this.n=re.n/e,this.d=re.d/e;else return et(re.s*re.n,re.d)}const is=function(){return new Error("Division by Zero")},Br=function(){return new Error("Invalid argument")},fl=function(){return new Error("Parameters must be integer")};Xt.prototype={s:Ae,n:ce,d:Ae,abs:function(){return et(this.n,this.d)},neg:function(){return et(-this.s*this.n,this.d)},add:function(e,r){return Et(e,r),et(this.s*this.n*re.d+re.s*this.d*re.n,this.d*re.d)},sub:function(e,r){return Et(e,r),et(this.s*this.n*re.d-re.s*this.d*re.n,this.d*re.d)},mul:function(e,r){return Et(e,r),et(this.s*re.s*this.n*re.n,this.d*re.d)},div:function(e,r){return Et(e,r),et(this.s*re.s*this.n*re.d,this.d*re.n)},clone:function(){return et(this.s*this.n,this.d)},mod:function(e,r){if(e===void 0)return et(this.s*this.n%this.d,Ae);if(Et(e,r),ce===re.n*this.d)throw is();return et(this.s*(re.d*this.n)%(re.n*this.d),re.d*this.d)},gcd:function(e,r){return Et(e,r),et(Jr(re.n,this.n)*Jr(re.d,this.d),re.d*this.d)},lcm:function(e,r){return Et(e,r),re.n===ce&&this.n===ce?et(ce,Ae):et(re.n*this.n,Jr(re.n,this.n)*Jr(re.d,this.d))},inverse:function(){return et(this.s*this.d,this.n)},pow:function(e,r){if(Et(e,r),re.d===Ae)return re.s<ce?et((this.s*this.d)**re.n,this.n**re.n):et((this.s*this.n)**re.n,this.d**re.n);if(this.s<ce)return null;let t=En(this.n),n=En(this.d),u=Ae,i=Ae;for(let a in t)if(a!=="1"){if(a==="0"){u=ce;break}if(t[a]*=re.n,t[a]%re.d===ce)t[a]/=re.d;else return null;u*=BigInt(a)**t[a]}for(let a in n)if(a!=="1"){if(n[a]*=re.n,n[a]%re.d===ce)n[a]/=re.d;else return null;i*=BigInt(a)**n[a]}return re.s<ce?et(i,u):et(u,i)},log:function(e,r){if(Et(e,r),this.s<=ce||re.s<=ce)return null;const t=Object.create(null),n=En(re.n),u=En(re.d),i=En(this.n),a=En(this.d);for(const c in u)n[c]=(n[c]||ce)-u[c];for(const c in a)i[c]=(i[c]||ce)-a[c];for(const c in n)c!=="1"&&(t[c]=!0);for(const c in i)c!=="1"&&(t[c]=!0);let s=null,l=null;for(const c in t){const f=n[c]||ce,p=i[c]||ce;if(f===ce){if(p!==ce)return null;continue}let o=p,d=f;const m=Jr(o,d);if(o/=m,d/=m,s===null&&l===null)s=o,l=d;else if(o*l!==s*d)return null}return s!==null&&l!==null?et(s,l):null},equals:function(e,r){return Et(e,r),this.s*this.n*re.d===re.s*re.n*this.d},lt:function(e,r){return Et(e,r),this.s*this.n*re.d<re.s*re.n*this.d},lte:function(e,r){return Et(e,r),this.s*this.n*re.d<=re.s*re.n*this.d},gt:function(e,r){return Et(e,r),this.s*this.n*re.d>re.s*re.n*this.d},gte:function(e,r){return Et(e,r),this.s*this.n*re.d>=re.s*re.n*this.d},compare:function(e,r){Et(e,r);let t=this.s*this.n*re.d-re.s*re.n*this.d;return(ce<t)-(t<ce)},ceil:function(e){return e=Rt**BigInt(e||0),et(ir(this.s*e*this.n/this.d)+(e*this.n%this.d>ce&&this.s>=ce?Ae:ce),e)},floor:function(e){return e=Rt**BigInt(e||0),et(ir(this.s*e*this.n/this.d)-(e*this.n%this.d>ce&&this.s<ce?Ae:ce),e)},round:function(e){return e=Rt**BigInt(e||0),et(ir(this.s*e*this.n/this.d)+this.s*((this.s>=ce?Ae:ce)+Dt*(e*this.n%this.d)>this.d?Ae:ce),e)},roundTo:function(e,r){Et(e,r);const t=this.n*re.d,n=this.d*re.n,u=t%n;let i=ir(t/n);return u+u>=n&&i++,et(this.s*i*re.n,re.d)},divisible:function(e,r){return Et(e,r),re.n===ce?!1:this.n*re.d%(re.n*this.d)===ce},valueOf:function(){return Number(this.s*this.n)/Number(this.d)},toString:function(e=15){let r=this.n,t=this.d,n=g2(r,t),u=b2(r,t,n),i=this.s<ce?"-":"";if(i+=ir(r/t),r%=t,r*=Rt,r&&(i+="."),n){for(let a=u;a--;)i+=ir(r/t),r%=t,r*=Rt;i+="(";for(let a=n;a--;)i+=ir(r/t),r%=t,r*=Rt;i+=")"}else for(let a=e;r&&a--;)i+=ir(r/t),r%=t,r*=Rt;return i},toFraction:function(e=!1){let r=this.n,t=this.d,n=this.s<ce?"-":"";if(t===Ae)n+=r;else{const u=ir(r/t);e&&u>ce&&(n+=u,n+=" ",r%=t),n+=r,n+="/",n+=t}return n},toLatex:function(e=!1){let r=this.n,t=this.d,n=this.s<ce?"-":"";if(t===Ae)n+=r;else{const u=ir(r/t);e&&u>ce&&(n+=u,r%=t),n+="\\frac{",n+=r,n+="}{",n+=t,n+="}"}return n},toContinued:function(){let e=this.n,r=this.d;const t=[];for(;r;){t.push(ir(e/r));const n=e%r;e=r,r=n}return t},simplify:function(e=.001){const r=BigInt(Math.ceil(1/e)),t=this.abs(),n=t.toContinued();for(let u=1;u<n.length;u++){let i=et(n[u-1],Ae);for(let s=u-2;s>=0;s--)i=i.inverse().add(n[s]);let a=i.sub(t);if(a.n*r<a.d)return i.mul(this.s)}return this}};var y2="Fraction",v2=[],w2=Ie(y2,v2,()=>(Object.defineProperty(Xt,"name",{value:"Fraction"}),Xt.prototype.constructor=Xt,Xt.prototype.type="Fraction",Xt.prototype.isFraction=!0,Xt.prototype.toJSON=function(){return{mathjs:"Fraction",n:String(this.s*this.n),d:String(this.d)}},Xt.fromJSON=function(e){return new Xt(e)},Xt),{isClass:!0}),D2="Matrix",E2=[],x2=Ie(D2,E2,()=>{function e(){if(!(this instanceof e))throw new SyntaxError("Constructor must be called with the new operator")}return e.prototype.type="Matrix",e.prototype.isMatrix=!0,e.prototype.storage=function(){throw new Error("Cannot invoke storage on a Matrix interface")},e.prototype.datatype=function(){throw new Error("Cannot invoke datatype on a Matrix interface")},e.prototype.create=function(r,t){throw new Error("Cannot invoke create on a Matrix interface")},e.prototype.subset=function(r,t,n){throw new Error("Cannot invoke subset on a Matrix interface")},e.prototype.get=function(r){throw new Error("Cannot invoke get on a Matrix interface")},e.prototype.set=function(r,t,n){throw new Error("Cannot invoke set on a Matrix interface")},e.prototype.resize=function(r,t){throw new Error("Cannot invoke resize on a Matrix interface")},e.prototype.reshape=function(r,t){throw new Error("Cannot invoke reshape on a Matrix interface")},e.prototype.clone=function(){throw new Error("Cannot invoke clone on a Matrix interface")},e.prototype.size=function(){throw new Error("Cannot invoke size on a Matrix interface")},e.prototype.map=function(r,t){throw new Error("Cannot invoke map on a Matrix interface")},e.prototype.forEach=function(r){throw new Error("Cannot invoke forEach on a Matrix interface")},e.prototype[Symbol.iterator]=function(){throw new Error("Cannot iterate a Matrix interface")},e.prototype.toArray=function(){throw new Error("Cannot invoke toArray on a Matrix interface")},e.prototype.valueOf=function(){throw new Error("Cannot invoke valueOf on a Matrix interface")},e.prototype.format=function(r){throw new Error("Cannot invoke format on a Matrix interface")},e.prototype.toString=function(){throw new Error("Cannot invoke toString on a Matrix interface")},e},{isClass:!0});function as(e,r,t){var n=e.constructor,u=new n(2),i="";if(t){if(t<1)throw new Error("size must be in greater than 0");if(!pt(t))throw new Error("size must be an integer");if(e.greaterThan(u.pow(t-1).sub(1))||e.lessThan(u.pow(t-1).mul(-1)))throw new Error("Value must be in range [-2^".concat(t-1,", 2^").concat(t-1,"-1]"));if(!e.isInteger())throw new Error("Value must be an integer");e.lessThan(0)&&(e=e.add(u.pow(t))),i="i".concat(t)}switch(r){case 2:return"".concat(e.toBinary()).concat(i);case 8:return"".concat(e.toOctal()).concat(i);case 16:return"".concat(e.toHexadecimal()).concat(i);default:throw new Error("Base ".concat(r," not supported "))}}function A2(e,r){if(typeof r=="function")return r(e);if(!e.isFinite())return e.isNaN()?"NaN":e.gt(0)?"Infinity":"-Infinity";var{notation:t,precision:n,wordSize:u}=Uf(r);switch(t){case"fixed":return _2(e,n);case"exponential":return ll(e,n);case"engineering":return C2(e,n);case"bin":return as(e,2,u);case"oct":return as(e,8,u);case"hex":return as(e,16,u);case"auto":{var i=dl(r==null?void 0:r.lowerExp,-3),a=dl(r==null?void 0:r.upperExp,5);if(e.isZero())return"0";var s,l=e.toSignificantDigits(n),c=l.e;return c>=i&&c<a?s=l.toFixed():s=ll(e,n),s.replace(/((\.\d*?)(0+))($|e)/,function(){var f=arguments[2],p=arguments[4];return f!=="."?f+p:p})}default:throw new Error('Unknown notation "'+t+'". Choose "auto", "exponential", "fixed", "bin", "oct", or "hex.')}}function C2(e,r){var t=e.e,n=t%3===0?t:t<0?t-3-t%3:t-t%3,u=e.mul(Math.pow(10,-n)),i=u.toPrecision(r);if(i.includes("e")){var a=e.constructor;i=new a(i).toFixed()}return i+"e"+(t>=0?"+":"")+n.toString()}function ll(e,r){return r!==void 0?e.toExponential(r-1):e.toExponential()}function _2(e,r){return e.toFixed(r)}function dl(e,r){return Je(e)?e:vt(e)?e.toNumber():r}function qt(e,r){var t=T2(e,r);return r&&typeof r=="object"&&"truncate"in r&&t.length>r.truncate?t.substring(0,r.truncate-3)+"...":t}function T2(e,r){if(typeof e=="number")return Ka(e,r);if(vt(e))return A2(e,r);if(S2(e))return!r||r.fraction!=="decimal"?"".concat(e.s*e.n,"/").concat(e.d):e.toString();if(Array.isArray(e))return ml(e,r);if(fr(e))return hl(e);if(typeof e=="function")return e.syntax?String(e.syntax):"function";if(e&&typeof e=="object"){if(typeof e.format=="function")return e.format(r);if(e&&e.toString(r)!=={}.toString())return e.toString(r);var t=Object.keys(e).map(n=>hl(n)+": "+qt(e[n],r));return"{"+t.join(", ")+"}"}return String(e)}function hl(e){for(var r=String(e),t="",n=0;n<r.length;){var u=r.charAt(n);t+=u in pl?pl[u]:u,n++}return'"'+t+'"'}var pl={'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"};function ml(e,r){if(Array.isArray(e)){for(var t="[",n=e.length,u=0;u<n;u++)u!==0&&(t+=", "),t+=ml(e[u],r);return t+="]",t}else return qt(e,r)}function S2(e){return e&&typeof e=="object"&&typeof e.s=="bigint"&&typeof e.n=="bigint"&&typeof e.d=="bigint"||!1}function ke(e,r,t){if(!(this instanceof ke))throw new SyntaxError("Constructor must be called with the new operator");this.actual=e,this.expected=r,this.relation=t,this.message="Dimension mismatch ("+(Array.isArray(e)?"["+e.join(", ")+"]":e)+" "+(this.relation||"!=")+" "+(Array.isArray(r)?"["+r.join(", ")+"]":r)+")",this.stack=new Error().stack}ke.prototype=new RangeError,ke.prototype.constructor=RangeError,ke.prototype.name="DimensionError",ke.prototype.isDimensionError=!0;function en(e,r,t){if(!(this instanceof en))throw new SyntaxError("Constructor must be called with the new operator");this.index=e,arguments.length<3?(this.min=0,this.max=r):(this.min=r,this.max=t),this.min!==void 0&&this.index<this.min?this.message="Index out of range ("+this.index+" < "+this.min+")":this.max!==void 0&&this.index>=this.max?this.message="Index out of range ("+this.index+" > "+(this.max-1)+")":this.message="Index out of range ("+this.index+")",this.stack=new Error().stack}en.prototype=new RangeError,en.prototype.constructor=RangeError,en.prototype.name="IndexError",en.prototype.isIndexError=!0;function ar(e){for(var r=[];Array.isArray(e);)r.push(e.length),e=e[0];return r}function gl(e,r,t){var n,u=e.length;if(u!==r[t])throw new ke(u,r[t]);if(t<r.length-1){var i=t+1;for(n=0;n<u;n++){var a=e[n];if(!Array.isArray(a))throw new ke(r.length-1,r.length,"<");gl(e[n],r,i)}}else for(n=0;n<u;n++)if(Array.isArray(e[n]))throw new ke(r.length+1,r.length,">")}function bl(e,r){var t=r.length===0;if(t){if(Array.isArray(e))throw new ke(e.length,0)}else gl(e,r,0)}function at(e,r){if(e!==void 0){if(!Je(e)||!pt(e))throw new TypeError("Index must be an integer (value: "+e+")");if(e<0||typeof r=="number"&&e>=r)throw new en(e,r)}}function ss(e,r,t){if(!Array.isArray(r))throw new TypeError("Array expected");if(r.length===0)throw new Error("Resizing to scalar is not supported");r.forEach(function(u){if(!Je(u)||!pt(u)||u<0)throw new TypeError("Invalid size, must contain positive integers (size: "+qt(r)+")")}),(Je(e)||vt(e))&&(e=[e]);var n=t!==void 0?t:0;return os(e,r,0,n),e}function os(e,r,t,n){var u,i,a=e.length,s=r[t],l=Math.min(a,s);if(e.length=s,t<r.length-1){var c=t+1;for(u=0;u<l;u++)i=e[u],Array.isArray(i)||(i=[i],e[u]=i),os(i,r,c,n);for(u=l;u<s;u++)i=[],e[u]=i,os(i,r,c,n)}else{for(u=0;u<l;u++)for(;Array.isArray(e[u]);)e[u]=e[u][0];for(u=l;u<s;u++)e[u]=n}}function yl(e,r){var t=O2(e,!0),n=t.length;if(!Array.isArray(e)||!Array.isArray(r))throw new TypeError("Array expected");if(r.length===0)throw new ke(0,n,"!=");r=cs(r,n);var u=vl(r);if(n!==u)throw new ke(u,n,"!=");try{return F2(t,r)}catch(i){throw i instanceof ke?new ke(u,n,"!="):i}}function cs(e,r){var t=vl(e),n=e.slice(),u=-1,i=e.indexOf(u),a=e.indexOf(u,i+1)>=0;if(a)throw new Error("More than one wildcard in sizes");var s=i>=0,l=r%t===0;if(s)if(l)n[i]=-r/t;else throw new Error("Could not replace wildcard, since "+r+" is no multiple of "+-t);return n}function vl(e){return e.reduce((r,t)=>r*t,1)}function F2(e,r){for(var t=e,n,u=r.length-1;u>0;u--){var i=r[u];n=[];for(var a=t.length/i,s=0;s<a;s++)n.push(t.slice(s*i,(s+1)*i));t=n}return t}function wl(e,r,t,n){var u=n||ar(e);if(t)for(var i=0;i<t;i++)e=[e],u.unshift(1);for(e=Dl(e,r,0);u.length<r;)u.push(1);return e}function Dl(e,r,t){var n,u;if(Array.isArray(e)){var i=t+1;for(n=0,u=e.length;n<u;n++)e[n]=Dl(e[n],r,i)}else for(var a=t;a<r;a++)e=[e];return e}function O2(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!Array.isArray(e))return e;if(typeof r!="boolean")throw new TypeError("Boolean expected for second argument of flatten");var t=[];return r?u(e):n(e),t;function n(i){for(var a=0;a<i.length;a++){var s=i[a];Array.isArray(s)?n(s):t.push(s)}}function u(i){if(Array.isArray(i[0]))for(var a=0;a<i.length;a++)u(i[a]);else for(var s=0;s<i.length;s++)t.push(i[s])}}function fs(e,r){for(var t,n=0,u=0;u<e.length;u++){var i=e[u],a=Array.isArray(i);if(u===0&&a&&(n=i.length),a&&i.length!==n)return;var s=a?fs(i,r):r(i);if(t===void 0)t=s;else if(t!==s)return"mixed"}return t}function El(e,r,t,n){if(n<t){if(e.length!==r.length)throw new ke(e.length,r.length);for(var u=[],i=0;i<e.length;i++)u[i]=El(e[i],r[i],t,n+1);return u}else return e.concat(r)}function xl(){var e=Array.prototype.slice.call(arguments,0,-1),r=Array.prototype.slice.call(arguments,-1);if(e.length===1)return e[0];if(e.length>1)return e.slice(1).reduce(function(t,n){return El(t,n,r,0)},e[0]);throw new Error("Wrong number of arguments in function concat")}function Al(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];for(var n=r.map(o=>o.length),u=Math.max(...n),i=new Array(u).fill(null),a=0;a<r.length;a++)for(var s=r[a],l=n[a],c=0;c<l;c++){var f=u-l+c;s[c]>i[f]&&(i[f]=s[c])}for(var p=0;p<r.length;p++)Cl(r[p],i);return i}function Cl(e,r){for(var t=r.length,n=e.length,u=0;u<n;u++){var i=t-n+u;if(e[u]<r[i]&&e[u]>1||e[u]>r[i])throw new Error("shape mismatch: mismatch is found in arg with shape (".concat(e,") not possible to broadcast dimension ").concat(n," with size ").concat(e[u]," to size ").concat(r[i]))}}function ls(e,r){var t=ar(e);if(Or(t,r))return e;Cl(t,r);var n=Al(t,r),u=n.length,i=[...Array(u-t.length).fill(1),...t],a=N2(e);t.length<u&&(a=yl(a,i),t=ar(a));for(var s=0;s<u;s++)t[s]<n[s]&&(a=M2(a,n[s],s),t=ar(a));return a}function M2(e,r,t){return xl(...Array(r).fill(e),t)}function _l(e,r){if(!Array.isArray(e))throw new Error("Array expected");var t=ar(e);if(r.length!==t.length)throw new ke(r.length,t.length);for(var n=0;n<r.length;n++)at(r[n],t[n]);return r.reduce((u,i)=>u[i],e)}function Tl(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(e.length===0)return[];if(t)return i(e);var n=[];return u(e,0);function u(a,s){if(Array.isArray(a)){for(var l=a.length,c=Array(l),f=0;f<l;f++)n[s]=f,c[f]=u(a[f],s+1);return c}else return r(a,n.slice(0,s),e)}function i(a){if(Array.isArray(a)){for(var s=a.length,l=Array(s),c=0;c<s;c++)l[c]=i(a[c]);return l}else return r(a)}}function N2(e){return hn([],e)}function ui(e,r,t,n){if(Vu.isTypedFunction(e)){var u;if(n)u=1;else{var i=(r.isMatrix?r.size():ar(r)).map(()=>0),a=r.isMatrix?r.get(i):_l(r,i);u=B2(e,a,i,r)}var s;if(r.isMatrix&&r.dataType!=="mixed"&&r.dataType!==void 0){var l=P2(e,u);s=l!==void 0?l:e}else s=e;return u>=1&&u<=3?{isUnary:u===1,fn:function(){for(var f=arguments.length,p=new Array(f),o=0;o<f;o++)p[o]=arguments[o];return Sl(s,p.slice(0,u),t,e.name)}}:{isUnary:!1,fn:function(){for(var f=arguments.length,p=new Array(f),o=0;o<f;o++)p[o]=arguments[o];return Sl(s,p,t,e.name)}}}return n===void 0?{isUnary:I2(e),fn:e}:{isUnary:n,fn:e}}function P2(e,r){var t=[];if(Object.entries(e.signatures).forEach(n=>{var[u,i]=n;u.split(",").length===r&&t.push(i)}),t.length===1)return t[0]}function I2(e){if(e.length!==1)return!1;var r=e.toString();if(/arguments/.test(r))return!1;var t=r.match(/\(.*?\)/);return!/\.\.\./.test(t)}function B2(e,r,t,n){for(var u=[r,t,n],i=3;i>0;i--){var a=u.slice(0,i);if(Vu.resolve(e,a)!==null)return i}}function Sl(e,r,t,n){try{return e(...r)}catch(u){R2(u,r,t,n)}}function R2(e,r,t,n){var u;if(e instanceof TypeError&&((u=e.data)===null||u===void 0?void 0:u.category)==="wrongType"){var i=[];throw i.push("value: ".concat(Kr(r[0]))),r.length>=2&&i.push("index: ".concat(Kr(r[1]))),r.length>=3&&i.push("array: ".concat(Kr(r[2]))),new TypeError("Function ".concat(t," cannot apply callback arguments ")+"".concat(n,"(").concat(i.join(", "),") at index ").concat(JSON.stringify(r[1])))}else throw new TypeError("Function ".concat(t," cannot apply callback arguments ")+"to function ".concat(n,": ").concat(e.message))}var q2="DenseMatrix",k2=["Matrix"],L2=Ie(q2,k2,e=>{var{Matrix:r}=e;function t(f,p){if(!(this instanceof t))throw new SyntaxError("Constructor must be called with the new operator");if(p&&!fr(p))throw new Error("Invalid datatype: "+p);if(Wt(f))f.type==="DenseMatrix"?(this._data=wt(f._data),this._size=wt(f._size),this._datatype=p||f._datatype):(this._data=f.toArray(),this._size=f.size(),this._datatype=p||f._datatype);else if(f&&bt(f.data)&&bt(f.size))this._data=f.data,this._size=f.size,bl(this._data,this._size),this._datatype=p||f.datatype;else if(bt(f))this._data=c(f),this._size=ar(this._data),bl(this._data,this._size),this._datatype=p;else{if(f)throw new TypeError("Unsupported type of data ("+Kr(f)+")");this._data=[],this._size=[0],this._datatype=p}}t.prototype=new r,t.prototype.createDenseMatrix=function(f,p){return new t(f,p)},Object.defineProperty(t,"name",{value:"DenseMatrix"}),t.prototype.constructor=t,t.prototype.type="DenseMatrix",t.prototype.isDenseMatrix=!0,t.prototype.getDataType=function(){return fs(this._data,Kr)},t.prototype.storage=function(){return"dense"},t.prototype.datatype=function(){return this._datatype},t.prototype.create=function(f,p){return new t(f,p)},t.prototype.subset=function(f,p,o){switch(arguments.length){case 1:return n(this,f);case 2:case 3:return i(this,f,p,o);default:throw new SyntaxError("Wrong number of arguments")}},t.prototype.get=function(f){return _l(this._data,f)},t.prototype.set=function(f,p,o){if(!bt(f))throw new TypeError("Array expected");if(f.length<this._size.length)throw new ke(f.length,this._size.length,"<");var d,m,h,b=f.map(function(w){return w+1});l(this,b,o);var g=this._data;for(d=0,m=f.length-1;d<m;d++)h=f[d],at(h,g.length),g=g[h];return h=f[f.length-1],at(h,g.length),g[h]=p,this};function n(f,p){if(!Ga(p))throw new TypeError("Invalid index");var o=p.isScalar();if(o)return f.get(p.min());var d=p.size();if(d.length!==f._size.length)throw new ke(d.length,f._size.length);for(var m=p.min(),h=p.max(),b=0,g=f._size.length;b<g;b++)at(m[b],f._size[b]),at(h[b],f._size[b]);var w=new t([]),y=u(f._data,p);return w._size=y.size,w._datatype=f._datatype,w._data=y.data,w}function u(f,p){var o=p.size().length-1,d=Array(o);return{data:m(f),size:d};function m(h){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,g=p.dimension(b);return d[b]=g.size()[0],b<o?g.map(w=>(at(w,h.length),m(h[w],b+1))).valueOf():g.map(w=>(at(w,h.length),h[w])).valueOf()}}function i(f,p,o,d){if(!p||p.isIndex!==!0)throw new TypeError("Invalid index");var m=p.size(),h=p.isScalar(),b;if(Wt(o)?(b=o.size(),o=o.valueOf()):b=ar(o),h){if(b.length!==0)throw new TypeError("Scalar expected");f.set(p.min(),o,d)}else{if(!Or(b,m))try{b.length===0?o=ls([o],m):o=ls(o,m),b=ar(o)}catch{}if(m.length<f._size.length)throw new ke(m.length,f._size.length,"<");if(b.length<m.length){for(var g=0,w=0;m[g]===1&&b[g]===1;)g++;for(;m[g]===1;)w++,g++;o=wl(o,m.length,w,b)}if(!Or(m,b))throw new ke(m,b,">");var y=p.max().map(function(D){return D+1});l(f,y,d),a(f._data,p,o)}return f}function a(f,p,o){var d=p.size().length-1;m(f,o);function m(h,b){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,w=p.dimension(g);g<d?w.forEach((y,D)=>{at(y,h.length),m(h[y],b[D[0]],g+1)}):w.forEach((y,D)=>{at(y,h.length),h[y]=b[D[0]]})}}t.prototype.resize=function(f,p,o){if(!Uu(f))throw new TypeError("Array or Matrix expected");var d=f.valueOf().map(h=>Array.isArray(h)&&h.length===1?h[0]:h),m=o?this.clone():this;return s(m,d,p)};function s(f,p,o){if(p.length===0){for(var d=f._data;bt(d);)d=d[0];return d}return f._size=p.slice(0),f._data=ss(f._data,f._size,o),f}t.prototype.reshape=function(f,p){var o=p?this.clone():this;o._data=yl(o._data,f);var d=o._size.reduce((m,h)=>m*h);return o._size=cs(f,d),o};function l(f,p,o){for(var d=f._size.slice(0),m=!1;d.length<p.length;)d.push(0),m=!0;for(var h=0,b=p.length;h<b;h++)p[h]>d[h]&&(d[h]=p[h],m=!0);m&&s(f,d,o)}t.prototype.clone=function(){var f=new t({data:wt(this._data),size:wt(this._size),datatype:this._datatype});return f},t.prototype.size=function(){return this._size.slice(0)},t.prototype.map=function(f){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=this,d=o._size.length-1;if(d<0)return o.clone();var m=ui(f,o,"map",p),h=m.fn,b=o.create(void 0,o._datatype);if(b._size=o._size,p||m.isUnary)return b._data=E(o._data),b;if(d===0){for(var g=o.valueOf(),w=Array(g.length),y=0;y<g.length;y++)w[y]=h(g[y],[y],o);return b._data=w,b}var D=[];return b._data=v(o._data),b;function v(A){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,T=Array(A.length);if(C<d)for(var x=0;x<A.length;x++)D[C]=x,T[x]=v(A[x],C+1);else for(var _=0;_<A.length;_++)D[C]=_,T[_]=h(A[_],D.slice(),o);return T}function E(A){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,T=Array(A.length);if(C<d)for(var x=0;x<A.length;x++)T[x]=E(A[x],C+1);else for(var _=0;_<A.length;_++)T[_]=h(A[_]);return T}},t.prototype.forEach=function(f){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=this,d=o._size.length-1;if(d<0)return;var m=ui(f,o,"map",p),h=m.fn;if(p||m.isUnary){y(o._data);return}if(d===0){for(var b=0;b<o._data.length;b++)h(o._data[b],[b],o);return}var g=[];w(o._data);function w(D){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(v<d)for(var E=0;E<D.length;E++)g[v]=E,w(D[E],v+1);else for(var A=0;A<D.length;A++)g[v]=A,h(D[A],g.slice(),o)}function y(D){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(v<d)for(var E=0;E<D.length;E++)y(D[E],v+1);else for(var A=0;A<D.length;A++)h(D[A])}},t.prototype[Symbol.iterator]=function*(){var f=this._size.length-1;if(!(f<0)){if(f===0){for(var p=0;p<this._data.length;p++)yield{value:this._data[p],index:[p]};return}for(var o=Array(f+1).fill(0),d=this._size.reduce((w,y)=>w*y,1),m=0;m<d;m++){for(var h=this._data,b=0;b<f;b++)h=h[o[b]];yield{value:h[o[f]],index:o.slice()};for(var g=f;g>=0&&(o[g]++,!(o[g]<this._size[g]));g--)o[g]=0}}},t.prototype.rows=function(){var f=[],p=this.size();if(p.length!==2)throw new TypeError("Rows can only be returned for a 2D matrix.");var o=this._data;for(var d of o)f.push(new t([d],this._datatype));return f},t.prototype.columns=function(){var f=this,p=[],o=this.size();if(o.length!==2)throw new TypeError("Rows can only be returned for a 2D matrix.");for(var d=this._data,m=function(g){var w=d.map(y=>[y[g]]);p.push(new t(w,f._datatype))},h=0;h<o[1];h++)m(h);return p},t.prototype.toArray=function(){return wt(this._data)},t.prototype.valueOf=function(){return this._data},t.prototype.format=function(f){return qt(this._data,f)},t.prototype.toString=function(){return qt(this._data)},t.prototype.toJSON=function(){return{mathjs:"DenseMatrix",data:this._data,size:this._size,datatype:this._datatype}},t.prototype.diagonal=function(f){if(f){if(vt(f)&&(f=f.toNumber()),!Je(f)||!pt(f))throw new TypeError("The parameter k must be an integer number")}else f=0;for(var p=f>0?f:0,o=f<0?-f:0,d=this._size[0],m=this._size[1],h=Math.min(d-o,m-p),b=[],g=0;g<h;g++)b[g]=this._data[g+o][g+p];return new t({data:b,size:[h],datatype:this._datatype})},t.diagonal=function(f,p,o,d){if(!bt(f))throw new TypeError("Array expected, size parameter");if(f.length!==2)throw new Error("Only two dimensions matrix are supported");if(f=f.map(function(A){if(vt(A)&&(A=A.toNumber()),!Je(A)||!pt(A)||A<1)throw new Error("Size values must be positive integers");return A}),o){if(vt(o)&&(o=o.toNumber()),!Je(o)||!pt(o))throw new TypeError("The parameter k must be an integer number")}else o=0;var m=o>0?o:0,h=o<0?-o:0,b=f[0],g=f[1],w=Math.min(b-h,g-m),y;if(bt(p)){if(p.length!==w)throw new Error("Invalid value array length");y=function(C){return p[C]}}else if(Wt(p)){var D=p.size();if(D.length!==1||D[0]!==w)throw new Error("Invalid matrix length");y=function(C){return p.get([C])}}else y=function(){return p};d||(d=vt(y(0))?y(0).mul(0):0);var v=[];if(f.length>0){v=ss(v,f,d);for(var E=0;E<w;E++)v[E+h][E+m]=y(E)}return new t({data:v,size:[b,g]})},t.fromJSON=function(f){return new t(f)},t.prototype.swapRows=function(f,p){if(!Je(f)||!pt(f)||!Je(p)||!pt(p))throw new Error("Row index must be positive integers");if(this._size.length!==2)throw new Error("Only two dimensional matrix is supported");return at(f,this._size[0]),at(p,this._size[0]),t._swapRows(f,p,this._data),this},t._swapRows=function(f,p,o){var d=o[f];o[f]=o[p],o[p]=d};function c(f){return Wt(f)?c(f.valueOf()):bt(f)?f.map(c):f}return t},{isClass:!0});function eu(e,r,t){if(!t)return Wt(e)?e.map(u=>r(u),!1,!0):Tl(e,r,!0);var n=u=>u===0?u:r(u);return Wt(e)?e.map(u=>n(u),!1,!0):Tl(e,n,!0)}var Fl="isInteger",j2=["typed"],$2=Ie(Fl,j2,e=>{var{typed:r}=e;return r(Fl,{number:pt,BigNumber:function(n){return n.isInt()},bigint:function(n){return!0},Fraction:function(n){return n.d===1n},"Array | Matrix":r.referToSelf(t=>n=>eu(n,t))})}),z2="number",Ol="number, number";function Ml(e,r){return e+r}Ml.signature=Ol;function Nl(e,r){return e-r}Nl.signature=Ol;function Pl(e){return-e}Pl.signature=z2;function tu(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!pt(r)||r<0||r>15)throw new Error("Number of decimals in function round must be an integer from 0 to 15 inclusive");return parseFloat(Vf(e,r))}function ds(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1e-9,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(t<=0)throw new Error("Relative tolerance must be greater than 0");if(n<0)throw new Error("Absolute tolerance must be at least 0");return e.isNaN()||r.isNaN()?!1:!e.isFinite()||!r.isFinite()?e.eq(r):e.eq(r)?!0:e.minus(r).abs().lte(e.constructor.max(e.constructor.max(e.abs(),r.abs()).mul(t),n))}function H2(e,r,t,n){return gn(e.re,r.re,t,n)&&gn(e.im,r.im,t,n)}var U2=Ie("compareUnits",["typed"],e=>{var{typed:r}=e;return{"Unit, Unit":r.referToSelf(t=>(n,u)=>{if(!n.equalBase(u))throw new Error("Cannot compare units with different base");return r.find(t,[n.valueType(),u.valueType()])(n.value,u.value)})}}),ii="equalScalar",V2=["typed","config"],W2=Ie(ii,V2,e=>{var{typed:r,config:t}=e,n=U2({typed:r});return r(ii,{"boolean, boolean":function(i,a){return i===a},"number, number":function(i,a){return gn(i,a,t.relTol,t.absTol)},"BigNumber, BigNumber":function(i,a){return i.eq(a)||ds(i,a,t.relTol,t.absTol)},"bigint, bigint":function(i,a){return i===a},"Fraction, Fraction":function(i,a){return i.equals(a)},"Complex, Complex":function(i,a){return H2(i,a,t.relTol,t.absTol)}},n)});Ie(ii,["typed","config"],e=>{var{typed:r,config:t}=e;return r(ii,{"number, number":function(u,i){return gn(u,i,t.relTol,t.absTol)}})});var Y2="SparseMatrix",G2=["typed","equalScalar","Matrix"],X2=Ie(Y2,G2,e=>{var{typed:r,equalScalar:t,Matrix:n}=e;function u(h,b){if(!(this instanceof u))throw new SyntaxError("Constructor must be called with the new operator");if(b&&!fr(b))throw new Error("Invalid datatype: "+b);if(Wt(h))i(this,h,b);else if(h&&bt(h.index)&&bt(h.ptr)&&bt(h.size))this._values=h.values,this._index=h.index,this._ptr=h.ptr,this._size=h.size,this._datatype=b||h.datatype;else if(bt(h))a(this,h,b);else{if(h)throw new TypeError("Unsupported type of data ("+Kr(h)+")");this._values=[],this._index=[],this._ptr=[0],this._size=[0,0],this._datatype=b}}function i(h,b,g){b.type==="SparseMatrix"?(h._values=b._values?wt(b._values):void 0,h._index=wt(b._index),h._ptr=wt(b._ptr),h._size=wt(b._size),h._datatype=g||b._datatype):a(h,b.valueOf(),g||b._datatype)}function a(h,b,g){h._values=[],h._index=[],h._ptr=[],h._datatype=g;var w=b.length,y=0,D=t,v=0;if(fr(g)&&(D=r.find(t,[g,g])||t,v=r.convert(0,g)),w>0){var E=0;do{h._ptr.push(h._index.length);for(var A=0;A<w;A++){var C=b[A];if(bt(C)){if(E===0&&y<C.length&&(y=C.length),E<C.length){var T=C[E];D(T,v)||(h._values.push(T),h._index.push(A))}}else E===0&&y<1&&(y=1),D(C,v)||(h._values.push(C),h._index.push(A))}E++}while(E<y)}h._ptr.push(h._index.length),h._size=[w,y]}u.prototype=new n,u.prototype.createSparseMatrix=function(h,b){return new u(h,b)},Object.defineProperty(u,"name",{value:"SparseMatrix"}),u.prototype.constructor=u,u.prototype.type="SparseMatrix",u.prototype.isSparseMatrix=!0,u.prototype.getDataType=function(){return fs(this._values,Kr)},u.prototype.storage=function(){return"sparse"},u.prototype.datatype=function(){return this._datatype},u.prototype.create=function(h,b){return new u(h,b)},u.prototype.density=function(){var h=this._size[0],b=this._size[1];return h!==0&&b!==0?this._index.length/(h*b):0},u.prototype.subset=function(h,b,g){if(!this._values)throw new Error("Cannot invoke subset on a Pattern only matrix");switch(arguments.length){case 1:return s(this,h);case 2:case 3:return l(this,h,b,g);default:throw new SyntaxError("Wrong number of arguments")}};function s(h,b){if(!Ga(b))throw new TypeError("Invalid index");var g=b.isScalar();if(g)return h.get(b.min());var w=b.size();if(w.length!==h._size.length)throw new ke(w.length,h._size.length);var y,D,v,E,A=b.min(),C=b.max();for(y=0,D=h._size.length;y<D;y++)at(A[y],h._size[y]),at(C[y],h._size[y]);var T=h._values,x=h._index,_=h._ptr,F=b.dimension(0),N=b.dimension(1),I=[],M=[];F.forEach(function(ie,k){M[ie]=k[0],I[ie]=!0});var R=T?[]:void 0,J=[],ne=[];return N.forEach(function(ie){for(ne.push(J.length),v=_[ie],E=_[ie+1];v<E;v++)y=x[v],I[y]===!0&&(J.push(M[y]),R&&R.push(T[v]))}),ne.push(J.length),new u({values:R,index:J,ptr:ne,size:w,datatype:h._datatype})}function l(h,b,g,w){if(!b||b.isIndex!==!0)throw new TypeError("Invalid index");var y=b.size(),D=b.isScalar(),v;if(Wt(g)?(v=g.size(),g=g.toArray()):v=ar(g),D){if(v.length!==0)throw new TypeError("Scalar expected");h.set(b.min(),g,w)}else{if(y.length!==1&&y.length!==2)throw new ke(y.length,h._size.length,"<");if(v.length<y.length){for(var E=0,A=0;y[E]===1&&v[E]===1;)E++;for(;y[E]===1;)A++,E++;g=wl(g,y.length,A,v)}if(!Or(y,v))throw new ke(y,v,">");if(y.length===1){var C=b.dimension(0);C.forEach(function(_,F){at(_),h.set([_,0],g[F[0]],w)})}else{var T=b.dimension(0),x=b.dimension(1);T.forEach(function(_,F){at(_),x.forEach(function(N,I){at(N),h.set([_,N],g[F[0]][I[0]],w)})})}}return h}u.prototype.get=function(h){if(!bt(h))throw new TypeError("Array expected");if(h.length!==this._size.length)throw new ke(h.length,this._size.length);if(!this._values)throw new Error("Cannot invoke get on a Pattern only matrix");var b=h[0],g=h[1];at(b,this._size[0]),at(g,this._size[1]);var w=c(b,this._ptr[g],this._ptr[g+1],this._index);return w<this._ptr[g+1]&&this._index[w]===b?this._values[w]:0},u.prototype.set=function(h,b,g){if(!bt(h))throw new TypeError("Array expected");if(h.length!==this._size.length)throw new ke(h.length,this._size.length);if(!this._values)throw new Error("Cannot invoke set on a Pattern only matrix");var w=h[0],y=h[1],D=this._size[0],v=this._size[1],E=t,A=0;fr(this._datatype)&&(E=r.find(t,[this._datatype,this._datatype])||t,A=r.convert(0,this._datatype)),(w>D-1||y>v-1)&&(o(this,Math.max(w+1,D),Math.max(y+1,v),g),D=this._size[0],v=this._size[1]),at(w,D),at(y,v);var C=c(w,this._ptr[y],this._ptr[y+1],this._index);return C<this._ptr[y+1]&&this._index[C]===w?E(b,A)?f(C,y,this._values,this._index,this._ptr):this._values[C]=b:E(b,A)||p(C,w,y,b,this._values,this._index,this._ptr),this};function c(h,b,g,w){if(g-b===0)return g;for(var y=b;y<g;y++)if(w[y]===h)return y;return b}function f(h,b,g,w,y){g.splice(h,1),w.splice(h,1);for(var D=b+1;D<y.length;D++)y[D]--}function p(h,b,g,w,y,D,v){y.splice(h,0,w),D.splice(h,0,b);for(var E=g+1;E<v.length;E++)v[E]++}u.prototype.resize=function(h,b,g){if(!Uu(h))throw new TypeError("Array or Matrix expected");var w=h.valueOf().map(D=>Array.isArray(D)&&D.length===1?D[0]:D);if(w.length!==2)throw new Error("Only two dimensions matrix are supported");w.forEach(function(D){if(!Je(D)||!pt(D)||D<0)throw new TypeError("Invalid size, must contain positive integers (size: "+qt(w)+")")});var y=g?this.clone():this;return o(y,w[0],w[1],b)};function o(h,b,g,w){var y=w||0,D=t,v=0;fr(h._datatype)&&(D=r.find(t,[h._datatype,h._datatype])||t,v=r.convert(0,h._datatype),y=r.convert(y,h._datatype));var E=!D(y,v),A=h._size[0],C=h._size[1],T,x,_;if(g>C){for(x=C;x<g;x++)if(h._ptr[x]=h._values.length,E)for(T=0;T<A;T++)h._values.push(y),h._index.push(T);h._ptr[g]=h._values.length}else g<C&&(h._ptr.splice(g+1,C-g),h._values.splice(h._ptr[g],h._values.length),h._index.splice(h._ptr[g],h._index.length));if(C=g,b>A){if(E){var F=0;for(x=0;x<C;x++){h._ptr[x]=h._ptr[x]+F,_=h._ptr[x+1]+F;var N=0;for(T=A;T<b;T++,N++)h._values.splice(_+N,0,y),h._index.splice(_+N,0,T),F++}h._ptr[C]=h._values.length}}else if(b<A){var I=0;for(x=0;x<C;x++){h._ptr[x]=h._ptr[x]-I;var M=h._ptr[x],R=h._ptr[x+1]-I;for(_=M;_<R;_++)T=h._index[_],T>b-1&&(h._values.splice(_,1),h._index.splice(_,1),I++)}h._ptr[x]=h._values.length}return h._size[0]=b,h._size[1]=g,h}u.prototype.reshape=function(h,b){if(!bt(h))throw new TypeError("Array expected");if(h.length!==2)throw new Error("Sparse matrices can only be reshaped in two dimensions");h.forEach(function(ie){if(!Je(ie)||!pt(ie)||ie<=-2||ie===0)throw new TypeError("Invalid size, must contain positive integers or -1 (size: "+qt(h)+")")});var g=this._size[0]*this._size[1];h=cs(h,g);var w=h[0]*h[1];if(g!==w)throw new Error("Reshaping sparse matrix will result in the wrong number of elements");var y=b?this.clone():this;if(this._size[0]===h[0]&&this._size[1]===h[1])return y;for(var D=[],v=0;v<y._ptr.length;v++)for(var E=0;E<y._ptr[v+1]-y._ptr[v];E++)D.push(v);for(var A=y._values.slice(),C=y._index.slice(),T=0;T<y._index.length;T++){var x=C[T],_=D[T],F=x*y._size[1]+_;D[T]=F%h[1],C[T]=Math.floor(F/h[1])}y._values.length=0,y._index.length=0,y._ptr.length=h[1]+1,y._size=h.slice();for(var N=0;N<y._ptr.length;N++)y._ptr[N]=0;for(var I=0;I<A.length;I++){var M=C[I],R=D[I],J=A[I],ne=c(M,y._ptr[R],y._ptr[R+1],y._index);p(ne,M,R,J,y._values,y._index,y._ptr)}return y},u.prototype.clone=function(){var h=new u({values:this._values?wt(this._values):void 0,index:wt(this._index),ptr:wt(this._ptr),size:wt(this._size),datatype:this._datatype});return h},u.prototype.size=function(){return this._size.slice(0)},u.prototype.map=function(h,b){if(!this._values)throw new Error("Cannot invoke map on a Pattern only matrix");var g=this,w=this._size[0],y=this._size[1],D=ui(h,g,"map"),v=function(A,C,T){return D.fn(A,[C,T],g)};return d(this,0,w-1,0,y-1,v,b)};function d(h,b,g,w,y,D,v){var E=[],A=[],C=[],T=t,x=0;fr(h._datatype)&&(T=r.find(t,[h._datatype,h._datatype])||t,x=r.convert(0,h._datatype));for(var _=function(G,se,de){var he=D(G,se,de);T(he,x)||(E.push(he),A.push(se))},F=w;F<=y;F++){C.push(E.length);var N=h._ptr[F],I=h._ptr[F+1];if(v)for(var M=N;M<I;M++){var R=h._index[M];R>=b&&R<=g&&_(h._values[M],R-b,F-w)}else{for(var J={},ne=N;ne<I;ne++){var ie=h._index[ne];J[ie]=h._values[ne]}for(var k=b;k<=g;k++){var Z=k in J?J[k]:0;_(Z,k-b,F-w)}}}return C.push(E.length),new u({values:E,index:A,ptr:C,size:[g-b+1,y-w+1]})}u.prototype.forEach=function(h,b){if(!this._values)throw new Error("Cannot invoke forEach on a Pattern only matrix");for(var g=this,w=this._size[0],y=this._size[1],D=ui(h,g,"forEach"),v=0;v<y;v++){var E=this._ptr[v],A=this._ptr[v+1];if(b)for(var C=E;C<A;C++){var T=this._index[C];D.fn(this._values[C],[T,v],g)}else{for(var x={},_=E;_<A;_++){var F=this._index[_];x[F]=this._values[_]}for(var N=0;N<w;N++){var I=N in x?x[N]:0;D.fn(I,[N,v],g)}}}},u.prototype[Symbol.iterator]=function*(){if(!this._values)throw new Error("Cannot iterate a Pattern only matrix");for(var h=this._size[1],b=0;b<h;b++)for(var g=this._ptr[b],w=this._ptr[b+1],y=g;y<w;y++){var D=this._index[y];yield{value:this._values[y],index:[D,b]}}},u.prototype.toArray=function(){return m(this._values,this._index,this._ptr,this._size,!0)},u.prototype.valueOf=function(){return m(this._values,this._index,this._ptr,this._size,!1)};function m(h,b,g,w,y){var D=w[0],v=w[1],E=[],A,C;for(A=0;A<D;A++)for(E[A]=[],C=0;C<v;C++)E[A][C]=0;for(C=0;C<v;C++)for(var T=g[C],x=g[C+1],_=T;_<x;_++)A=b[_],E[A][C]=h?y?wt(h[_]):h[_]:1;return E}return u.prototype.format=function(h){for(var b=this._size[0],g=this._size[1],w=this.density(),y="Sparse Matrix ["+qt(b,h)+" x "+qt(g,h)+"] density: "+qt(w,h)+`
|
|
89
|
-
`,D=0;D<g;D++)for(var
|
|
90
|
-
(`+qt(C,h)+", "+qt(D,h)+") ==> "+(this._values?qt(this._values[A],h):"X")}return y},u.prototype.toString=function(){return qt(this.toArray())},u.prototype.toJSON=function(){return{mathjs:"SparseMatrix",values:this._values,index:this._index,ptr:this._ptr,size:this._size,datatype:this._datatype}},u.prototype.diagonal=function(h){if(h){if(vt(h)&&(h=h.toNumber()),!Je(h)||!pt(h))throw new TypeError("The parameter k must be an integer number")}else h=0;var b=h>0?h:0,g=h<0?-h:0,w=this._size[0],y=this._size[1],D=Math.min(w-g,y-b),v=[],E=[],A=[];A[0]=0;for(var C=b;C<y&&v.length<D;C++)for(var T=this._ptr[C],x=this._ptr[C+1],_=T;_<x;_++){var F=this._index[_];if(F===C-b+g){v.push(this._values[_]),E[v.length-1]=F-g;break}}return A.push(v.length),new u({values:v,index:E,ptr:A,size:[D,1]})},u.fromJSON=function(h){return new u(h)},u.diagonal=function(h,b,g,w,y){if(!bt(h))throw new TypeError("Array expected, size parameter");if(h.length!==2)throw new Error("Only two dimensions matrix are supported");if(h=h.map(function(ie){if(vt(ie)&&(ie=ie.toNumber()),!Je(ie)||!pt(ie)||ie<1)throw new Error("Size values must be positive integers");return ie}),g){if(vt(g)&&(g=g.toNumber()),!Je(g)||!pt(g))throw new TypeError("The parameter k must be an integer number")}else g=0;var D=t,v=0;fr(y)&&(D=r.find(t,[y,y])||t,v=r.convert(0,y));var E=g>0?g:0,A=g<0?-g:0,C=h[0],T=h[1],x=Math.min(C-A,T-E),_;if(bt(b)){if(b.length!==x)throw new Error("Invalid value array length");_=function(k){return b[k]}}else if(Wt(b)){var F=b.size();if(F.length!==1||F[0]!==x)throw new Error("Invalid matrix length");_=function(k){return b.get([k])}}else _=function(){return b};for(var N=[],I=[],M=[],R=0;R<T;R++){M.push(N.length);var J=R-E;if(J>=0&&J<x){var ne=_(J);D(ne,v)||(I.push(J+A),N.push(ne))}}return M.push(N.length),new u({values:N,index:I,ptr:M,size:[C,T]})},u.prototype.swapRows=function(h,b){if(!Je(h)||!pt(h)||!Je(b)||!pt(b))throw new Error("Row index must be positive integers");if(this._size.length!==2)throw new Error("Only two dimensional matrix is supported");return at(h,this._size[0]),at(b,this._size[0]),u._swapRows(h,b,this._size[1],this._values,this._index,this._ptr),this},u._forEachRow=function(h,b,g,w,y){for(var D=w[h],v=w[h+1],E=D;E<v;E++)y(g[E],b[E])},u._swapRows=function(h,b,g,w,y,D){for(var v=0;v<g;v++){var E=D[v],A=D[v+1],C=c(h,E,A,y),T=c(b,E,A,y);if(C<A&&T<A&&y[C]===h&&y[T]===b){if(w){var x=w[C];w[C]=w[T],w[T]=x}continue}if(C<A&&y[C]===h&&(T>=A||y[T]!==b)){var _=w?w[C]:void 0;y.splice(T,0,b),w&&w.splice(T,0,_),y.splice(T<=C?C+1:C,1),w&&w.splice(T<=C?C+1:C,1);continue}if(T<A&&y[T]===b&&(C>=A||y[C]!==h)){var F=w?w[T]:void 0;y.splice(C,0,h),w&&w.splice(C,0,F),y.splice(C<=T?T+1:T,1),w&&w.splice(C<=T?T+1:T,1)}}},u},{isClass:!0}),Q2="number",K2=["typed"];function Z2(e){var r=e.match(/(0[box])([0-9a-fA-F]*)\.([0-9a-fA-F]*)/);if(r){var t={"0b":2,"0o":8,"0x":16}[r[1]],n=r[2],u=r[3];return{input:e,radix:t,integerPart:n,fractionalPart:u}}else return null}function J2(e){for(var r=parseInt(e.integerPart,e.radix),t=0,n=0;n<e.fractionalPart.length;n++){var u=parseInt(e.fractionalPart[n],e.radix);t+=u/Math.pow(e.radix,n+1)}var i=r+t;if(isNaN(i))throw new SyntaxError('String "'+e.input+'" is not a valid number');return i}var ev=Ie(Q2,K2,e=>{var{typed:r}=e,t=r("number",{"":function(){return 0},number:function(u){return u},string:function(u){if(u==="NaN")return NaN;var i=Z2(u);if(i)return J2(i);var a=0,s=u.match(/(0[box][0-9a-fA-F]*)i([0-9]*)/);s&&(a=Number(s[2]),u=s[1]);var l=Number(u);if(isNaN(l))throw new SyntaxError('String "'+u+'" is not a valid number');if(s){if(l>2**a-1)throw new SyntaxError('String "'.concat(u,'" is out of range'));l>=2**(a-1)&&(l=l-2**a)}return l},BigNumber:function(u){return u.toNumber()},bigint:function(u){return Number(u)},Fraction:function(u){return u.valueOf()},Unit:r.referToSelf(n=>u=>{var i=u.clone();return i.value=n(u.value),i}),null:function(u){return 0},"Unit, string | Unit":function(u,i){return u.toNumber(i)},"Array | Matrix":r.referToSelf(n=>u=>eu(u,n))});return t.fromJSON=function(n){return parseFloat(n.value)},t}),Il="matrix",tv=["typed","Matrix","DenseMatrix","SparseMatrix"],rv=Ie(Il,tv,e=>{var{typed:r,Matrix:t,DenseMatrix:n,SparseMatrix:u}=e;return r(Il,{"":function(){return i([])},string:function(s){return i([],s)},"string, string":function(s,l){return i([],s,l)},Array:function(s){return i(s)},Matrix:function(s){return i(s,s.storage())},"Array | Matrix, string":i,"Array | Matrix, string, string":i});function i(a,s,l){if(s==="dense"||s==="default"||s===void 0)return new n(a,l);if(s==="sparse")return new u(a,l);throw new TypeError("Unknown matrix type "+JSON.stringify(s)+".")}}),Bl="unaryMinus",nv=["typed"],uv=Ie(Bl,nv,e=>{var{typed:r}=e;return r(Bl,{number:Pl,"Complex | BigNumber | Fraction":t=>t.neg(),bigint:t=>-t,Unit:r.referToSelf(t=>n=>{var u=n.clone();return u.value=r.find(t,u.valueType())(n.value),u}),"Array | Matrix":r.referToSelf(t=>n=>eu(n,t,!0))})}),Rl="addScalar",iv=["typed"],av=Ie(Rl,iv,e=>{var{typed:r}=e;return r(Rl,{"number, number":Ml,"Complex, Complex":function(n,u){return n.add(u)},"BigNumber, BigNumber":function(n,u){return n.plus(u)},"bigint, bigint":function(n,u){return n+u},"Fraction, Fraction":function(n,u){return n.add(u)},"Unit, Unit":r.referToSelf(t=>(n,u)=>{if(n.value===null||n.value===void 0)throw new Error("Parameter x contains a unit with undefined value");if(u.value===null||u.value===void 0)throw new Error("Parameter y contains a unit with undefined value");if(!n.equalBase(u))throw new Error("Units do not match");var i=n.clone();return i.value=r.find(t,[i.valueType(),u.valueType()])(i.value,u.value),i.fixPrefix=!1,i})})}),ql="subtractScalar",sv=["typed"],ov=Ie(ql,sv,e=>{var{typed:r}=e;return r(ql,{"number, number":Nl,"Complex, Complex":function(n,u){return n.sub(u)},"BigNumber, BigNumber":function(n,u){return n.minus(u)},"bigint, bigint":function(n,u){return n-u},"Fraction, Fraction":function(n,u){return n.sub(u)},"Unit, Unit":r.referToSelf(t=>(n,u)=>{if(n.value===null||n.value===void 0)throw new Error("Parameter x contains a unit with undefined value");if(u.value===null||u.value===void 0)throw new Error("Parameter y contains a unit with undefined value");if(!n.equalBase(u))throw new Error("Units do not match");var i=n.clone();return i.value=r.find(t,[i.valueType(),u.valueType()])(i.value,u.value),i.fixPrefix=!1,i})})}),cv="matAlgo11xS0s",fv=["typed","equalScalar"],lv=Ie(cv,fv,e=>{var{typed:r,equalScalar:t}=e;return function(u,i,a,s){var l=u._values,c=u._index,f=u._ptr,p=u._size,o=u._datatype;if(!l)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var d=p[0],m=p[1],h,b=t,g=0,w=a;typeof o=="string"&&(h=o,b=r.find(t,[h,h]),g=r.convert(0,h),i=r.convert(i,h),w=r.find(a,[h,h]));for(var y=[],D=[],v=[],E=0;E<m;E++){v[E]=D.length;for(var A=f[E],C=f[E+1],T=A;T<C;T++){var x=c[T],_=s?w(i,l[T]):w(l[T],i);b(_,g)||(D.push(x),y.push(_))}}return v[m]=D.length,u.createSparseMatrix({values:y,index:D,ptr:v,size:[d,m],datatype:h})}}),dv="matAlgo12xSfs",hv=["typed","DenseMatrix"],kl=Ie(dv,hv,e=>{var{typed:r,DenseMatrix:t}=e;return function(u,i,a,s){var l=u._values,c=u._index,f=u._ptr,p=u._size,o=u._datatype;if(!l)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var d=p[0],m=p[1],h,b=a;typeof o=="string"&&(h=o,i=r.convert(i,h),b=r.find(a,[h,h]));for(var g=[],w=[],y=[],D=0;D<m;D++){for(var v=D+1,E=f[D],A=f[D+1],C=E;C<A;C++){var T=c[C];w[T]=l[C],y[T]=v}for(var x=0;x<d;x++)D===0&&(g[x]=[]),y[x]===v?g[x][D]=s?b(i,w[x]):b(w[x],i):g[x][D]=s?b(i,0):b(0,i)}return new t({data:g,size:[d,m],datatype:h})}}),pv="matAlgo14xDs",mv=["typed"],Ll=Ie(pv,mv,e=>{var{typed:r}=e;return function(u,i,a,s){var l=u._data,c=u._size,f=u._datatype,p,o=a;typeof f=="string"&&(p=f,i=r.convert(i,p),o=r.find(a,[p,p]));var d=c.length>0?t(o,0,c,c[0],l,i,s):[];return u.createDenseMatrix({data:d,size:wt(c),datatype:p})};function t(n,u,i,a,s,l,c){var f=[];if(u===i.length-1)for(var p=0;p<a;p++)f[p]=c?n(l,s[p]):n(s[p],l);else for(var o=0;o<a;o++)f[o]=t(n,u+1,i,i[u+1],s[o],l,c);return f}}),gv="matAlgo03xDSf",bv=["typed"],yv=Ie(gv,bv,e=>{var{typed:r}=e;return function(n,u,i,a){var s=n._data,l=n._size,c=n._datatype||n.getDataType(),f=u._values,p=u._index,o=u._ptr,d=u._size,m=u._datatype||u._data===void 0?u._datatype:u.getDataType();if(l.length!==d.length)throw new ke(l.length,d.length);if(l[0]!==d[0]||l[1]!==d[1])throw new RangeError("Dimension mismatch. Matrix A ("+l+") must match Matrix B ("+d+")");if(!f)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var h=l[0],b=l[1],g,w=0,y=i;typeof c=="string"&&c===m&&c!=="mixed"&&(g=c,w=r.convert(0,g),y=r.find(i,[g,g]));for(var D=[],v=0;v<h;v++)D[v]=[];for(var E=[],A=[],C=0;C<b;C++){for(var T=C+1,x=o[C],_=o[C+1],F=x;F<_;F++){var N=p[F];E[N]=a?y(f[F],s[N][C]):y(s[N][C],f[F]),A[N]=T}for(var I=0;I<h;I++)A[I]===T?D[I][C]=E[I]:D[I][C]=a?y(w,s[I][C]):y(s[I][C],w)}return n.createDenseMatrix({data:D,size:[h,b],datatype:c===n._datatype&&m===u._datatype?g:void 0})}}),vv="matAlgo05xSfSf",wv=["typed","equalScalar"],Dv=Ie(vv,wv,e=>{var{typed:r,equalScalar:t}=e;return function(u,i,a){var s=u._values,l=u._index,c=u._ptr,f=u._size,p=u._datatype||u._data===void 0?u._datatype:u.getDataType(),o=i._values,d=i._index,m=i._ptr,h=i._size,b=i._datatype||i._data===void 0?i._datatype:i.getDataType();if(f.length!==h.length)throw new ke(f.length,h.length);if(f[0]!==h[0]||f[1]!==h[1])throw new RangeError("Dimension mismatch. Matrix A ("+f+") must match Matrix B ("+h+")");var g=f[0],w=f[1],y,D=t,v=0,E=a;typeof p=="string"&&p===b&&p!=="mixed"&&(y=p,D=r.find(t,[y,y]),v=r.convert(0,y),E=r.find(a,[y,y]));var A=s&&o?[]:void 0,C=[],T=[],x=A?[]:void 0,_=A?[]:void 0,F=[],N=[],I,M,R,J;for(M=0;M<w;M++){T[M]=C.length;var ne=M+1;for(R=c[M],J=c[M+1];R<J;R++)I=l[R],C.push(I),F[I]=ne,x&&(x[I]=s[R]);for(R=m[M],J=m[M+1];R<J;R++)I=d[R],F[I]!==ne&&C.push(I),N[I]=ne,_&&(_[I]=o[R]);if(A)for(R=T[M];R<C.length;){I=C[R];var ie=F[I],k=N[I];if(ie===ne||k===ne){var Z=ie===ne?x[I]:v,fe=k===ne?_[I]:v,G=E(Z,fe);D(G,v)?C.splice(R,1):(A.push(G),R++)}}}return T[w]=C.length,u.createSparseMatrix({values:A,index:C,ptr:T,size:[g,w],datatype:p===u._datatype&&b===i._datatype?y:void 0})}}),Ev="matAlgo13xDD",xv=["typed"],Av=Ie(Ev,xv,e=>{var{typed:r}=e;return function(u,i,a){var s=u._data,l=u._size,c=u._datatype,f=i._data,p=i._size,o=i._datatype,d=[];if(l.length!==p.length)throw new ke(l.length,p.length);for(var m=0;m<l.length;m++){if(l[m]!==p[m])throw new RangeError("Dimension mismatch. Matrix A ("+l+") must match Matrix B ("+p+")");d[m]=l[m]}var h,b=a;typeof c=="string"&&c===o&&(h=c,b=r.find(a,[h,h]));var g=d.length>0?t(b,0,d,d[0],s,f):[];return u.createDenseMatrix({data:g,size:d,datatype:h})};function t(n,u,i,a,s,l){var c=[];if(u===i.length-1)for(var f=0;f<a;f++)c[f]=n(s[f],l[f]);else for(var p=0;p<a;p++)c[p]=t(n,u+1,i,i[u+1],s[p],l[p]);return c}});function xt(e,r){if(Or(e.size(),r.size()))return[e,r];var t=Al(e.size(),r.size());return[e,r].map(n=>Cv(n,t))}function Cv(e,r){return Or(e.size(),r)?e:e.create(ls(e.valueOf(),r),e.datatype())}var _v="matrixAlgorithmSuite",Tv=["typed","matrix"],jl=Ie(_v,Tv,e=>{var{typed:r,matrix:t}=e,n=Av({typed:r}),u=Ll({typed:r});return function(a){var s=a.elop,l=a.SD||a.DS,c;s?(c={"DenseMatrix, DenseMatrix":(d,m)=>n(...xt(d,m),s),"Array, Array":(d,m)=>n(...xt(t(d),t(m)),s).valueOf(),"Array, DenseMatrix":(d,m)=>n(...xt(t(d),m),s),"DenseMatrix, Array":(d,m)=>n(...xt(d,t(m)),s)},a.SS&&(c["SparseMatrix, SparseMatrix"]=(d,m)=>a.SS(...xt(d,m),s,!1)),a.DS&&(c["DenseMatrix, SparseMatrix"]=(d,m)=>a.DS(...xt(d,m),s,!1),c["Array, SparseMatrix"]=(d,m)=>a.DS(...xt(t(d),m),s,!1)),l&&(c["SparseMatrix, DenseMatrix"]=(d,m)=>l(...xt(m,d),s,!0),c["SparseMatrix, Array"]=(d,m)=>l(...xt(t(m),d),s,!0))):(c={"DenseMatrix, DenseMatrix":r.referToSelf(d=>(m,h)=>n(...xt(m,h),d)),"Array, Array":r.referToSelf(d=>(m,h)=>n(...xt(t(m),t(h)),d).valueOf()),"Array, DenseMatrix":r.referToSelf(d=>(m,h)=>n(...xt(t(m),h),d)),"DenseMatrix, Array":r.referToSelf(d=>(m,h)=>n(...xt(m,t(h)),d))},a.SS&&(c["SparseMatrix, SparseMatrix"]=r.referToSelf(d=>(m,h)=>a.SS(...xt(m,h),d,!1))),a.DS&&(c["DenseMatrix, SparseMatrix"]=r.referToSelf(d=>(m,h)=>a.DS(...xt(m,h),d,!1)),c["Array, SparseMatrix"]=r.referToSelf(d=>(m,h)=>a.DS(...xt(t(m),h),d,!1))),l&&(c["SparseMatrix, DenseMatrix"]=r.referToSelf(d=>(m,h)=>l(...xt(h,m),d,!0)),c["SparseMatrix, Array"]=r.referToSelf(d=>(m,h)=>l(...xt(t(h),m),d,!0))));var f=a.scalar||"any",p=a.Ds||a.Ss;p&&(s?(c["DenseMatrix,"+f]=(d,m)=>u(d,m,s,!1),c[f+", DenseMatrix"]=(d,m)=>u(m,d,s,!0),c["Array,"+f]=(d,m)=>u(t(d),m,s,!1).valueOf(),c[f+", Array"]=(d,m)=>u(t(m),d,s,!0).valueOf()):(c["DenseMatrix,"+f]=r.referToSelf(d=>(m,h)=>u(m,h,d,!1)),c[f+", DenseMatrix"]=r.referToSelf(d=>(m,h)=>u(h,m,d,!0)),c["Array,"+f]=r.referToSelf(d=>(m,h)=>u(t(m),h,d,!1).valueOf()),c[f+", Array"]=r.referToSelf(d=>(m,h)=>u(t(h),m,d,!0).valueOf())));var o=a.sS!==void 0?a.sS:a.Ss;return s?(a.Ss&&(c["SparseMatrix,"+f]=(d,m)=>a.Ss(d,m,s,!1)),o&&(c[f+", SparseMatrix"]=(d,m)=>o(m,d,s,!0))):(a.Ss&&(c["SparseMatrix,"+f]=r.referToSelf(d=>(m,h)=>a.Ss(m,h,d,!1))),o&&(c[f+", SparseMatrix"]=r.referToSelf(d=>(m,h)=>o(h,m,d,!0)))),s&&s.signatures&&Jb(c,s.signatures),c}}),Sv="matAlgo01xDSid",Fv=["typed"],$l=Ie(Sv,Fv,e=>{var{typed:r}=e;return function(n,u,i,a){var s=n._data,l=n._size,c=n._datatype||n.getDataType(),f=u._values,p=u._index,o=u._ptr,d=u._size,m=u._datatype||u._data===void 0?u._datatype:u.getDataType();if(l.length!==d.length)throw new ke(l.length,d.length);if(l[0]!==d[0]||l[1]!==d[1])throw new RangeError("Dimension mismatch. Matrix A ("+l+") must match Matrix B ("+d+")");if(!f)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var h=l[0],b=l[1],g=typeof c=="string"&&c!=="mixed"&&c===m?c:void 0,w=g?r.find(i,[g,g]):i,y,D,v=[];for(y=0;y<h;y++)v[y]=[];var E=[],A=[];for(D=0;D<b;D++){for(var C=D+1,T=o[D],x=o[D+1],_=T;_<x;_++)y=p[_],E[y]=a?w(f[_],s[y][D]):w(s[y][D],f[_]),A[y]=C;for(y=0;y<h;y++)A[y]===C?v[y][D]=E[y]:v[y][D]=s[y][D]}return n.createDenseMatrix({data:v,size:[h,b],datatype:c===n._datatype&&m===u._datatype?g:void 0})}}),Ov="matAlgo04xSidSid",Mv=["typed","equalScalar"],Nv=Ie(Ov,Mv,e=>{var{typed:r,equalScalar:t}=e;return function(u,i,a){var s=u._values,l=u._index,c=u._ptr,f=u._size,p=u._datatype||u._data===void 0?u._datatype:u.getDataType(),o=i._values,d=i._index,m=i._ptr,h=i._size,b=i._datatype||i._data===void 0?i._datatype:i.getDataType();if(f.length!==h.length)throw new ke(f.length,h.length);if(f[0]!==h[0]||f[1]!==h[1])throw new RangeError("Dimension mismatch. Matrix A ("+f+") must match Matrix B ("+h+")");var g=f[0],w=f[1],y,D=t,v=0,E=a;typeof p=="string"&&p===b&&p!=="mixed"&&(y=p,D=r.find(t,[y,y]),v=r.convert(0,y),E=r.find(a,[y,y]));var A=s&&o?[]:void 0,C=[],T=[],x=s&&o?[]:void 0,_=s&&o?[]:void 0,F=[],N=[],I,M,R,J,ne;for(M=0;M<w;M++){T[M]=C.length;var ie=M+1;for(J=c[M],ne=c[M+1],R=J;R<ne;R++)I=l[R],C.push(I),F[I]=ie,x&&(x[I]=s[R]);for(J=m[M],ne=m[M+1],R=J;R<ne;R++)if(I=d[R],F[I]===ie){if(x){var k=E(x[I],o[R]);D(k,v)?F[I]=null:x[I]=k}}else C.push(I),N[I]=ie,_&&(_[I]=o[R]);if(x&&_)for(R=T[M];R<C.length;)I=C[R],F[I]===ie?(A[R]=x[I],R++):N[I]===ie?(A[R]=_[I],R++):C.splice(R,1)}return T[w]=C.length,u.createSparseMatrix({values:A,index:C,ptr:T,size:[g,w],datatype:p===u._datatype&&b===i._datatype?y:void 0})}}),Pv="matAlgo10xSids",Iv=["typed","DenseMatrix"],zl=Ie(Pv,Iv,e=>{var{typed:r,DenseMatrix:t}=e;return function(u,i,a,s){var l=u._values,c=u._index,f=u._ptr,p=u._size,o=u._datatype;if(!l)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var d=p[0],m=p[1],h,b=a;typeof o=="string"&&(h=o,i=r.convert(i,h),b=r.find(a,[h,h]));for(var g=[],w=[],y=[],D=0;D<m;D++){for(var v=D+1,E=f[D],A=f[D+1],C=E;C<A;C++){var T=c[C];w[T]=l[C],y[T]=v}for(var x=0;x<d;x++)D===0&&(g[x]=[]),y[x]===v?g[x][D]=s?b(i,w[x]):b(w[x],i):g[x][D]=i}return new t({data:g,size:[d,m],datatype:h})}}),Hl="subtract",Bv=["typed","matrix","equalScalar","subtractScalar","unaryMinus","DenseMatrix","concat"],Rv=Ie(Hl,Bv,e=>{var{typed:r,matrix:t,equalScalar:n,subtractScalar:u,unaryMinus:i,DenseMatrix:a,concat:s}=e,l=$l({typed:r}),c=yv({typed:r}),f=Dv({typed:r,equalScalar:n}),p=zl({typed:r,DenseMatrix:a}),o=kl({typed:r,DenseMatrix:a}),d=jl({typed:r,matrix:t,concat:s});return r(Hl,{"any, any":u},d({elop:u,SS:f,DS:l,SD:c,Ss:o,sS:p}))}),Ul="concat",qv=["typed","matrix","isInteger"],kv=Ie(Ul,qv,e=>{var{typed:r,matrix:t,isInteger:n}=e;return r(Ul,{"...Array | Matrix | number | BigNumber":function(i){var a,s=i.length,l=-1,c,f=!1,p=[];for(a=0;a<s;a++){var o=i[a];if(Wt(o)&&(f=!0),Je(o)||vt(o)){if(a!==s-1)throw new Error("Dimension must be specified as last argument");if(c=l,l=o.valueOf(),!n(l))throw new TypeError("Integer number expected for dimension");if(l<0||a>0&&l>c)throw new en(l,c+1)}else{var d=wt(o).valueOf(),m=ar(d);if(p[a]=d,c=l,l=m.length-1,a>0&&l!==c)throw new ke(c+1,l+1)}}if(p.length===0)throw new SyntaxError("At least one matrix expected");for(var h=p.shift();p.length;)h=xl(h,p.shift(),l);return f?t(h):h},"...string":function(i){return i.join("")}})}),Vl="zeros",Lv=["typed","config","matrix","BigNumber"],jv=Ie(Vl,Lv,e=>{var{typed:r,config:t,matrix:n,BigNumber:u}=e;return r(Vl,{"":function(){return t.matrix==="Array"?i([]):i([],"default")},"...number | BigNumber | string":function(c){var f=c[c.length-1];if(typeof f=="string"){var p=c.pop();return i(c,p)}else return t.matrix==="Array"?i(c):i(c,"default")},Array:i,Matrix:function(c){var f=c.storage();return i(c.valueOf(),f)},"Array | Matrix, string":function(c,f){return i(c.valueOf(),f)}});function i(l,c){var f=a(l),p=f?new u(0):0;if(s(l),c){var o=n(c);return l.length>0?o.resize(l,p):o}else{var d=[];return l.length>0?ss(d,l,p):d}}function a(l){var c=!1;return l.forEach(function(f,p,o){vt(f)&&(c=!0,o[p]=f.toNumber())}),c}function s(l){l.forEach(function(c){if(typeof c!="number"||!pt(c)||c<0)throw new Error("Parameters in function zeros must be positive integers")})}}),xn="Number of decimals in function round must be an integer",Wl="round",$v=["typed","config","matrix","equalScalar","zeros","BigNumber","DenseMatrix"],zv=Ie(Wl,$v,e=>{var{typed:r,config:t,matrix:n,equalScalar:u,zeros:i,BigNumber:a,DenseMatrix:s}=e,l=lv({typed:r,equalScalar:u}),c=kl({typed:r,DenseMatrix:s}),f=Ll({typed:r});function p(o){return Math.abs(Kn(o).exponent)}return r(Wl,{number:function(d){var m=tu(d,p(t.relTol)),h=gn(d,m,t.relTol,t.absTol)?m:d;return tu(h)},"number, number":function(d,m){var h=p(t.relTol);if(m>=h)return tu(d,m);var b=tu(d,h),g=gn(d,b,t.relTol,t.absTol)?b:d;return tu(g,m)},"number, BigNumber":function(d,m){if(!m.isInteger())throw new TypeError(xn);return new a(d).toDecimalPlaces(m.toNumber())},Complex:function(d){return d.round()},"Complex, number":function(d,m){if(m%1)throw new TypeError(xn);return d.round(m)},"Complex, BigNumber":function(d,m){if(!m.isInteger())throw new TypeError(xn);var h=m.toNumber();return d.round(h)},BigNumber:function(d){var m=new a(d).toDecimalPlaces(p(t.relTol)),h=ds(d,m,t.relTol,t.absTol)?m:d;return h.toDecimalPlaces(0)},"BigNumber, BigNumber":function(d,m){if(!m.isInteger())throw new TypeError(xn);var h=p(t.relTol);if(m>=h)return d.toDecimalPlaces(m.toNumber());var b=d.toDecimalPlaces(h),g=ds(d,b,t.relTol,t.absTol)?b:d;return g.toDecimalPlaces(m.toNumber())},bigint:o=>o,"bigint, number":(o,d)=>o,"bigint, BigNumber":(o,d)=>o,Fraction:function(d){return d.round()},"Fraction, number":function(d,m){if(m%1)throw new TypeError(xn);return d.round(m)},"Fraction, BigNumber":function(d,m){if(!m.isInteger())throw new TypeError(xn);return d.round(m.toNumber())},"Unit, number, Unit":r.referToSelf(o=>function(d,m,h){var b=d.toNumeric(h);return h.multiply(o(b,m))}),"Unit, BigNumber, Unit":r.referToSelf(o=>(d,m,h)=>o(d,m.toNumber(),h)),"Array | Matrix, number | BigNumber, Unit":r.referToSelf(o=>(d,m,h)=>eu(d,b=>o(b,m,h),!0)),"Array | Matrix | Unit, Unit":r.referToSelf(o=>(d,m)=>o(d,0,m)),"Array | Matrix":r.referToSelf(o=>d=>eu(d,o,!0)),"SparseMatrix, number | BigNumber":r.referToSelf(o=>(d,m)=>l(d,m,o,!1)),"DenseMatrix, number | BigNumber":r.referToSelf(o=>(d,m)=>f(d,m,o,!1)),"Array, number | BigNumber":r.referToSelf(o=>(d,m)=>f(n(d),m,o,!1).valueOf()),"number | Complex | BigNumber | Fraction, SparseMatrix":r.referToSelf(o=>(d,m)=>u(d,0)?i(m.size(),m.storage()):c(m,d,o,!0)),"number | Complex | BigNumber | Fraction, DenseMatrix":r.referToSelf(o=>(d,m)=>u(d,0)?i(m.size(),m.storage()):f(m,d,o,!0)),"number | Complex | BigNumber | Fraction, Array":r.referToSelf(o=>(d,m)=>f(n(m),d,o,!0).valueOf())})}),Yl="add",Hv=["typed","matrix","addScalar","equalScalar","DenseMatrix","SparseMatrix","concat"],Uv=Ie(Yl,Hv,e=>{var{typed:r,matrix:t,addScalar:n,equalScalar:u,DenseMatrix:i,SparseMatrix:a,concat:s}=e,l=$l({typed:r}),c=Nv({typed:r,equalScalar:u}),f=zl({typed:r,DenseMatrix:i}),p=jl({typed:r,matrix:t,concat:s});return r(Yl,{"any, any":n,"any, any, ...any":r.referToSelf(o=>(d,m,h)=>{for(var b=o(d,m),g=0;g<h.length;g++)b=o(b,h[g]);return b})},p({elop:n,DS:l,SS:c,Ss:f}))}),hs=s2({config:Qn}),Vv=d2({}),Wv=w2({}),ps=x2({}),ru=L2({Matrix:ps}),$t=fy({BigNumber:hs,Complex:Vv,DenseMatrix:ru,Fraction:Wv}),Yv=av({typed:$t}),ai=W2({config:Qn,typed:$t}),Gv=$2({typed:$t}),Xv=ev({typed:$t}),Gl=X2({Matrix:ps,equalScalar:ai,typed:$t}),Qv=ov({typed:$t}),nu=rv({DenseMatrix:ru,Matrix:ps,SparseMatrix:Gl,typed:$t}),Kv=jv({BigNumber:hs,config:Qn,matrix:nu,typed:$t}),Xl=kv({isInteger:Gv,matrix:nu,typed:$t}),Zv=zv({BigNumber:hs,DenseMatrix:ru,config:Qn,equalScalar:ai,matrix:nu,typed:$t,zeros:Kv}),Jv=uv({typed:$t}),e3=Uv({DenseMatrix:ru,SparseMatrix:Gl,addScalar:Yv,concat:Xl,equalScalar:ai,matrix:nu,typed:$t}),t3=Rv({DenseMatrix:ru,concat:Xl,equalScalar:ai,matrix:nu,subtractScalar:Qv,typed:$t,unaryMinus:Jv}),si={exports:{}},Ue={};/**
|
|
87
|
+
*/var mn=9e15,Rr=1e9,Wa="0123456789abcdef",Vu="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",Wu="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Ya={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-mn,maxE:mn,crypto:!1},Uf,Cr,De=!0,Yu="[DecimalError] ",kr=Yu+"Invalid argument: ",Vf=Yu+"Precision limit exceeded",Wf=Yu+"crypto unavailable",Yf="[object Decimal]",Ft=Math.floor,vt=Math.pow,uy=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,iy=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,ay=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,Gf=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ir=1e7,ge=7,sy=9007199254740991,oy=Vu.length-1,Ga=Wu.length-1,V={toStringTag:Yf};V.absoluteValue=V.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),fe(e)},V.ceil=function(){return fe(new this.constructor(this),this.e+1,2)},V.clampedTo=V.clamp=function(e,t){var r,n=this,u=n.constructor;if(e=new u(e),t=new u(t),!e.s||!t.s)return new u(NaN);if(e.gt(t))throw Error(kr+t);return r=n.cmp(e),r<0?e:n.cmp(t)>0?t:new u(n)},V.comparedTo=V.cmp=function(e){var t,r,n,u,i=this,a=i.d,s=(e=new i.constructor(e)).d,l=i.s,c=e.s;if(!a||!s)return!l||!c?NaN:l!==c?l:a===s?0:!a^l<0?1:-1;if(!a[0]||!s[0])return a[0]?l:s[0]?-c:0;if(l!==c)return l;if(i.e!==e.e)return i.e>e.e^l<0?1:-1;for(n=a.length,u=s.length,t=0,r=n<u?n:u;t<r;++t)if(a[t]!==s[t])return a[t]>s[t]^l<0?1:-1;return n===u?0:n>u^l<0?1:-1},V.cosine=V.cos=function(){var e,t,r=this,n=r.constructor;return r.d?r.d[0]?(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+ge,n.rounding=1,r=cy(n,el(n,r)),n.precision=e,n.rounding=t,fe(Cr==2||Cr==3?r.neg():r,e,t,!0)):new n(1):new n(NaN)},V.cubeRoot=V.cbrt=function(){var e,t,r,n,u,i,a,s,l,c,f=this,p=f.constructor;if(!f.isFinite()||f.isZero())return new p(f);for(De=!1,i=f.s*vt(f.s*f,1/3),!i||Math.abs(i)==1/0?(r=Ct(f.d),e=f.e,(i=(e-r.length+1)%3)&&(r+=i==1||i==-2?"0":"00"),i=vt(r,1/3),e=Ft((e+1)/3)-(e%3==(e<0?-1:2)),i==1/0?r="5e"+e:(r=i.toExponential(),r=r.slice(0,r.indexOf("e")+1)+e),n=new p(r),n.s=f.s):n=new p(i.toString()),a=(e=p.precision)+3;;)if(s=n,l=s.times(s).times(s),c=l.plus(f),n=Qe(c.plus(f).times(s),c.plus(l),a+2,1),Ct(s.d).slice(0,a)===(r=Ct(n.d)).slice(0,a))if(r=r.slice(a-3,a+1),r=="9999"||!u&&r=="4999"){if(!u&&(fe(s,e+1,0),s.times(s).times(s).eq(f))){n=s;break}a+=4,u=1}else{(!+r||!+r.slice(1)&&r.charAt(0)=="5")&&(fe(n,e+1,1),t=!n.times(n).times(n).eq(f));break}return De=!0,fe(n,e,p.rounding,t)},V.decimalPlaces=V.dp=function(){var e,t=this.d,r=NaN;if(t){if(e=t.length-1,r=(e-Ft(this.e/ge))*ge,e=t[e],e)for(;e%10==0;e/=10)r--;r<0&&(r=0)}return r},V.dividedBy=V.div=function(e){return Qe(this,new this.constructor(e))},V.dividedToIntegerBy=V.divToInt=function(e){var t=this,r=t.constructor;return fe(Qe(t,new r(e),0,1,1),r.precision,r.rounding)},V.equals=V.eq=function(e){return this.cmp(e)===0},V.floor=function(){return fe(new this.constructor(this),this.e+1,3)},V.greaterThan=V.gt=function(e){return this.cmp(e)>0},V.greaterThanOrEqualTo=V.gte=function(e){var t=this.cmp(e);return t==1||t===0},V.hyperbolicCosine=V.cosh=function(){var e,t,r,n,u,i=this,a=i.constructor,s=new a(1);if(!i.isFinite())return new a(i.s?1/0:NaN);if(i.isZero())return s;r=a.precision,n=a.rounding,a.precision=r+Math.max(i.e,i.sd())+4,a.rounding=1,u=i.d.length,u<32?(e=Math.ceil(u/3),t=(1/Zu(4,e)).toString()):(e=16,t="2.3283064365386962890625e-10"),i=gn(a,1,i.times(t),new a(1),!0);for(var l,c=e,f=new a(8);c--;)l=i.times(i),i=s.minus(l.times(f.minus(l.times(f))));return fe(i,a.precision=r,a.rounding=n,!0)},V.hyperbolicSine=V.sinh=function(){var e,t,r,n,u=this,i=u.constructor;if(!u.isFinite()||u.isZero())return new i(u);if(t=i.precision,r=i.rounding,i.precision=t+Math.max(u.e,u.sd())+4,i.rounding=1,n=u.d.length,n<3)u=gn(i,2,u,u,!0);else{e=1.4*Math.sqrt(n),e=e>16?16:e|0,u=u.times(1/Zu(5,e)),u=gn(i,2,u,u,!0);for(var a,s=new i(5),l=new i(16),c=new i(20);e--;)a=u.times(u),u=u.times(s.plus(a.times(l.times(a).plus(c))))}return i.precision=t,i.rounding=r,fe(u,t,r,!0)},V.hyperbolicTangent=V.tanh=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+7,n.rounding=1,Qe(r.sinh(),r.cosh(),n.precision=e,n.rounding=t)):new n(r.s)},V.inverseCosine=V.acos=function(){var e=this,t=e.constructor,r=e.abs().cmp(1),n=t.precision,u=t.rounding;return r!==-1?r===0?e.isNeg()?pr(t,n,u):new t(0):new t(NaN):e.isZero()?pr(t,n+4,u).times(.5):(t.precision=n+6,t.rounding=1,e=new t(1).minus(e).div(e.plus(1)).sqrt().atan(),t.precision=n,t.rounding=u,e.times(2))},V.inverseHyperbolicCosine=V.acosh=function(){var e,t,r=this,n=r.constructor;return r.lte(1)?new n(r.eq(1)?0:NaN):r.isFinite()?(e=n.precision,t=n.rounding,n.precision=e+Math.max(Math.abs(r.e),r.sd())+4,n.rounding=1,De=!1,r=r.times(r).minus(1).sqrt().plus(r),De=!0,n.precision=e,n.rounding=t,r.ln()):new n(r)},V.inverseHyperbolicSine=V.asinh=function(){var e,t,r=this,n=r.constructor;return!r.isFinite()||r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+2*Math.max(Math.abs(r.e),r.sd())+6,n.rounding=1,De=!1,r=r.times(r).plus(1).sqrt().plus(r),De=!0,n.precision=e,n.rounding=t,r.ln())},V.inverseHyperbolicTangent=V.atanh=function(){var e,t,r,n,u=this,i=u.constructor;return u.isFinite()?u.e>=0?new i(u.abs().eq(1)?u.s/0:u.isZero()?u:NaN):(e=i.precision,t=i.rounding,n=u.sd(),Math.max(n,e)<2*-u.e-1?fe(new i(u),e,t,!0):(i.precision=r=n-u.e,u=Qe(u.plus(1),new i(1).minus(u),r+e,1),i.precision=e+4,i.rounding=1,u=u.ln(),i.precision=e,i.rounding=t,u.times(.5))):new i(NaN)},V.inverseSine=V.asin=function(){var e,t,r,n,u=this,i=u.constructor;return u.isZero()?new i(u):(t=u.abs().cmp(1),r=i.precision,n=i.rounding,t!==-1?t===0?(e=pr(i,r+4,n).times(.5),e.s=u.s,e):new i(NaN):(i.precision=r+6,i.rounding=1,u=u.div(new i(1).minus(u.times(u)).sqrt().plus(1)).atan(),i.precision=r,i.rounding=n,u.times(2)))},V.inverseTangent=V.atan=function(){var e,t,r,n,u,i,a,s,l,c=this,f=c.constructor,p=f.precision,o=f.rounding;if(c.isFinite()){if(c.isZero())return new f(c);if(c.abs().eq(1)&&p+4<=Ga)return a=pr(f,p+4,o).times(.25),a.s=c.s,a}else{if(!c.s)return new f(NaN);if(p+4<=Ga)return a=pr(f,p+4,o).times(.5),a.s=c.s,a}for(f.precision=s=p+10,f.rounding=1,r=Math.min(28,s/ge+2|0),e=r;e;--e)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(De=!1,t=Math.ceil(s/ge),n=1,l=c.times(c),a=new f(c),u=c;e!==-1;)if(u=u.times(l),i=a.minus(u.div(n+=2)),u=u.times(l),a=i.plus(u.div(n+=2)),a.d[t]!==void 0)for(e=t;a.d[e]===i.d[e]&&e--;);return r&&(a=a.times(2<<r-1)),De=!0,fe(a,f.precision=p,f.rounding=o,!0)},V.isFinite=function(){return!!this.d},V.isInteger=V.isInt=function(){return!!this.d&&Ft(this.e/ge)>this.d.length-2},V.isNaN=function(){return!this.s},V.isNegative=V.isNeg=function(){return this.s<0},V.isPositive=V.isPos=function(){return this.s>0},V.isZero=function(){return!!this.d&&this.d[0]===0},V.lessThan=V.lt=function(e){return this.cmp(e)<0},V.lessThanOrEqualTo=V.lte=function(e){return this.cmp(e)<1},V.logarithm=V.log=function(e){var t,r,n,u,i,a,s,l,c=this,f=c.constructor,p=f.precision,o=f.rounding,d=5;if(e==null)e=new f(10),t=!0;else{if(e=new f(e),r=e.d,e.s<0||!r||!r[0]||e.eq(1))return new f(NaN);t=e.eq(10)}if(r=c.d,c.s<0||!r||!r[0]||c.eq(1))return new f(r&&!r[0]?-1/0:c.s!=1?NaN:r?0:1/0);if(t)if(r.length>1)i=!0;else{for(u=r[0];u%10===0;)u/=10;i=u!==1}if(De=!1,s=p+d,a=Lr(c,s),n=t?Qu(f,s+10):Lr(e,s),l=Qe(a,n,s,1),Yn(l.d,u=p,o))do if(s+=10,a=Lr(c,s),n=t?Qu(f,s+10):Lr(e,s),l=Qe(a,n,s,1),!i){+Ct(l.d).slice(u+1,u+15)+1==1e14&&(l=fe(l,p+1,0));break}while(Yn(l.d,u+=10,o));return De=!0,fe(l,p,o)},V.minus=V.sub=function(e){var t,r,n,u,i,a,s,l,c,f,p,o,d=this,m=d.constructor;if(e=new m(e),!d.d||!e.d)return!d.s||!e.s?e=new m(NaN):d.d?e.s=-e.s:e=new m(e.d||d.s!==e.s?d:NaN),e;if(d.s!=e.s)return e.s=-e.s,d.plus(e);if(c=d.d,o=e.d,s=m.precision,l=m.rounding,!c[0]||!o[0]){if(o[0])e.s=-e.s;else if(c[0])e=new m(d);else return new m(l===3?-0:0);return De?fe(e,s,l):e}if(r=Ft(e.e/ge),f=Ft(d.e/ge),c=c.slice(),i=f-r,i){for(p=i<0,p?(t=c,i=-i,a=o.length):(t=o,r=f,a=c.length),n=Math.max(Math.ceil(s/ge),a)+2,i>n&&(i=n,t.length=1),t.reverse(),n=i;n--;)t.push(0);t.reverse()}else{for(n=c.length,a=o.length,p=n<a,p&&(a=n),n=0;n<a;n++)if(c[n]!=o[n]){p=c[n]<o[n];break}i=0}for(p&&(t=c,c=o,o=t,e.s=-e.s),a=c.length,n=o.length-a;n>0;--n)c[a++]=0;for(n=o.length;n>i;){if(c[--n]<o[n]){for(u=n;u&&c[--u]===0;)c[u]=ir-1;--c[u],c[n]+=ir}c[n]-=o[n]}for(;c[--a]===0;)c.pop();for(;c[0]===0;c.shift())--r;return c[0]?(e.d=c,e.e=Xu(c,r),De?fe(e,s,l):e):new m(l===3?-0:0)},V.modulo=V.mod=function(e){var t,r=this,n=r.constructor;return e=new n(e),!r.d||!e.s||e.d&&!e.d[0]?new n(NaN):!e.d||r.d&&!r.d[0]?fe(new n(r),n.precision,n.rounding):(De=!1,n.modulo==9?(t=Qe(r,e.abs(),0,3,1),t.s*=e.s):t=Qe(r,e,0,n.modulo,1),t=t.times(e),De=!0,r.minus(t))},V.naturalExponential=V.exp=function(){return Xa(this)},V.naturalLogarithm=V.ln=function(){return Lr(this)},V.negated=V.neg=function(){var e=new this.constructor(this);return e.s=-e.s,fe(e)},V.plus=V.add=function(e){var t,r,n,u,i,a,s,l,c,f,p=this,o=p.constructor;if(e=new o(e),!p.d||!e.d)return!p.s||!e.s?e=new o(NaN):p.d||(e=new o(e.d||p.s===e.s?p:NaN)),e;if(p.s!=e.s)return e.s=-e.s,p.minus(e);if(c=p.d,f=e.d,s=o.precision,l=o.rounding,!c[0]||!f[0])return f[0]||(e=new o(p)),De?fe(e,s,l):e;if(i=Ft(p.e/ge),n=Ft(e.e/ge),c=c.slice(),u=i-n,u){for(u<0?(r=c,u=-u,a=f.length):(r=f,n=i,a=c.length),i=Math.ceil(s/ge),a=i>a?i+1:a+1,u>a&&(u=a,r.length=1),r.reverse();u--;)r.push(0);r.reverse()}for(a=c.length,u=f.length,a-u<0&&(u=a,r=f,f=c,c=r),t=0;u;)t=(c[--u]=c[u]+f[u]+t)/ir|0,c[u]%=ir;for(t&&(c.unshift(t),++n),a=c.length;c[--a]==0;)c.pop();return e.d=c,e.e=Xu(c,n),De?fe(e,s,l):e},V.precision=V.sd=function(e){var t,r=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(kr+e);return r.d?(t=Xf(r.d),e&&r.e+1>t&&(t=r.e+1)):t=NaN,t},V.round=function(){var e=this,t=e.constructor;return fe(new t(e),e.e+1,t.rounding)},V.sine=V.sin=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+ge,n.rounding=1,r=ly(n,el(n,r)),n.precision=e,n.rounding=t,fe(Cr>2?r.neg():r,e,t,!0)):new n(NaN)},V.squareRoot=V.sqrt=function(){var e,t,r,n,u,i,a=this,s=a.d,l=a.e,c=a.s,f=a.constructor;if(c!==1||!s||!s[0])return new f(!c||c<0&&(!s||s[0])?NaN:s?a:1/0);for(De=!1,c=Math.sqrt(+a),c==0||c==1/0?(t=Ct(s),(t.length+l)%2==0&&(t+="0"),c=Math.sqrt(t),l=Ft((l+1)/2)-(l<0||l%2),c==1/0?t="5e"+l:(t=c.toExponential(),t=t.slice(0,t.indexOf("e")+1)+l),n=new f(t)):n=new f(c.toString()),r=(l=f.precision)+3;;)if(i=n,n=i.plus(Qe(a,i,r+2,1)).times(.5),Ct(i.d).slice(0,r)===(t=Ct(n.d)).slice(0,r))if(t=t.slice(r-3,r+1),t=="9999"||!u&&t=="4999"){if(!u&&(fe(i,l+1,0),i.times(i).eq(a))){n=i;break}r+=4,u=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(fe(n,l+1,1),e=!n.times(n).eq(a));break}return De=!0,fe(n,l,f.rounding,e)},V.tangent=V.tan=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+10,n.rounding=1,r=r.sin(),r.s=1,r=Qe(r,new n(1).minus(r.times(r)).sqrt(),e+10,0),n.precision=e,n.rounding=t,fe(Cr==2||Cr==4?r.neg():r,e,t,!0)):new n(NaN)},V.times=V.mul=function(e){var t,r,n,u,i,a,s,l,c,f=this,p=f.constructor,o=f.d,d=(e=new p(e)).d;if(e.s*=f.s,!o||!o[0]||!d||!d[0])return new p(!e.s||o&&!o[0]&&!d||d&&!d[0]&&!o?NaN:!o||!d?e.s/0:e.s*0);for(r=Ft(f.e/ge)+Ft(e.e/ge),l=o.length,c=d.length,l<c&&(i=o,o=d,d=i,a=l,l=c,c=a),i=[],a=l+c,n=a;n--;)i.push(0);for(n=c;--n>=0;){for(t=0,u=l+n;u>n;)s=i[u]+d[n]*o[u-n-1]+t,i[u--]=s%ir|0,t=s/ir|0;i[u]=(i[u]+t)%ir|0}for(;!i[--a];)i.pop();return t?++r:i.shift(),e.d=i,e.e=Xu(i,r),De?fe(e,p.precision,p.rounding):e},V.toBinary=function(e,t){return Qa(this,2,e,t)},V.toDecimalPlaces=V.toDP=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(It(e,0,Rr),t===void 0?t=n.rounding:It(t,0,8),fe(r,e+r.e+1,t))},V.toExponential=function(e,t){var r,n=this,u=n.constructor;return e===void 0?r=hr(n,!0):(It(e,0,Rr),t===void 0?t=u.rounding:It(t,0,8),n=fe(new u(n),e+1,t),r=hr(n,!0,e+1)),n.isNeg()&&!n.isZero()?"-"+r:r},V.toFixed=function(e,t){var r,n,u=this,i=u.constructor;return e===void 0?r=hr(u):(It(e,0,Rr),t===void 0?t=i.rounding:It(t,0,8),n=fe(new i(u),e+u.e+1,t),r=hr(n,!1,e+n.e+1)),u.isNeg()&&!u.isZero()?"-"+r:r},V.toFraction=function(e){var t,r,n,u,i,a,s,l,c,f,p,o,d=this,m=d.d,h=d.constructor;if(!m)return new h(d);if(c=r=new h(1),n=l=new h(0),t=new h(n),i=t.e=Xf(m)-d.e-1,a=i%ge,t.d[0]=vt(10,a<0?ge+a:a),e==null)e=i>0?t:c;else{if(s=new h(e),!s.isInt()||s.lt(c))throw Error(kr+s);e=s.gt(t)?i>0?t:c:s}for(De=!1,s=new h(Ct(m)),f=h.precision,h.precision=i=m.length*ge*2;p=Qe(s,t,0,1,1),u=r.plus(p.times(n)),u.cmp(e)!=1;)r=n,n=u,u=c,c=l.plus(p.times(u)),l=u,u=t,t=s.minus(p.times(u)),s=u;return u=Qe(e.minus(r),n,0,1,1),l=l.plus(u.times(c)),r=r.plus(u.times(n)),l.s=c.s=d.s,o=Qe(c,n,i,1).minus(d).abs().cmp(Qe(l,r,i,1).minus(d).abs())<1?[c,n]:[l,r],h.precision=f,De=!0,o},V.toHexadecimal=V.toHex=function(e,t){return Qa(this,16,e,t)},V.toNearest=function(e,t){var r=this,n=r.constructor;if(r=new n(r),e==null){if(!r.d)return r;e=new n(1),t=n.rounding}else{if(e=new n(e),t===void 0?t=n.rounding:It(t,0,8),!r.d)return e.s?r:e;if(!e.d)return e.s&&(e.s=r.s),e}return e.d[0]?(De=!1,r=Qe(r,e,0,t,1).times(e),De=!0,fe(r)):(e.s=r.s,r=e),r},V.toNumber=function(){return+this},V.toOctal=function(e,t){return Qa(this,8,e,t)},V.toPower=V.pow=function(e){var t,r,n,u,i,a,s=this,l=s.constructor,c=+(e=new l(e));if(!s.d||!e.d||!s.d[0]||!e.d[0])return new l(vt(+s,c));if(s=new l(s),s.eq(1))return s;if(n=l.precision,i=l.rounding,e.eq(1))return fe(s,n,i);if(t=Ft(e.e/ge),t>=e.d.length-1&&(r=c<0?-c:c)<=sy)return u=Qf(l,s,r,n),e.s<0?new l(1).div(u):fe(u,n,i);if(a=s.s,a<0){if(t<e.d.length-1)return new l(NaN);if(e.d[t]&1||(a=1),s.e==0&&s.d[0]==1&&s.d.length==1)return s.s=a,s}return r=vt(+s,c),t=r==0||!isFinite(r)?Ft(c*(Math.log("0."+Ct(s.d))/Math.LN10+s.e+1)):new l(r+"").e,t>l.maxE+1||t<l.minE-1?new l(t>0?a/0:0):(De=!1,l.rounding=s.s=1,r=Math.min(12,(t+"").length),u=Xa(e.times(Lr(s,n+r)),n),u.d&&(u=fe(u,n+5,1),Yn(u.d,n,i)&&(t=n+10,u=fe(Xa(e.times(Lr(s,t+r)),t),t+5,1),+Ct(u.d).slice(n+1,n+15)+1==1e14&&(u=fe(u,n+1,0)))),u.s=a,De=!0,l.rounding=i,fe(u,n,i))},V.toPrecision=function(e,t){var r,n=this,u=n.constructor;return e===void 0?r=hr(n,n.e<=u.toExpNeg||n.e>=u.toExpPos):(It(e,1,Rr),t===void 0?t=u.rounding:It(t,0,8),n=fe(new u(n),e,t),r=hr(n,e<=n.e||n.e<=u.toExpNeg,e)),n.isNeg()&&!n.isZero()?"-"+r:r},V.toSignificantDigits=V.toSD=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(It(e,1,Rr),t===void 0?t=n.rounding:It(t,0,8)),fe(new n(r),e,t)},V.toString=function(){var e=this,t=e.constructor,r=hr(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+r:r},V.truncated=V.trunc=function(){return fe(new this.constructor(this),this.e+1,1)},V.valueOf=V.toJSON=function(){var e=this,t=e.constructor,r=hr(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+r:r};function Ct(e){var t,r,n,u=e.length-1,i="",a=e[0];if(u>0){for(i+=a,t=1;t<u;t++)n=e[t]+"",r=ge-n.length,r&&(i+=qr(r)),i+=n;a=e[t],n=a+"",r=ge-n.length,r&&(i+=qr(r))}else if(a===0)return"0";for(;a%10===0;)a/=10;return i+a}function It(e,t,r){if(e!==~~e||e<t||e>r)throw Error(kr+e)}function Yn(e,t,r,n){var u,i,a,s;for(i=e[0];i>=10;i/=10)--t;return--t<0?(t+=ge,u=0):(u=Math.ceil((t+1)/ge),t%=ge),i=vt(10,ge-t),s=e[u]%i|0,n==null?t<3?(t==0?s=s/100|0:t==1&&(s=s/10|0),a=r<4&&s==99999||r>3&&s==49999||s==5e4||s==0):a=(r<4&&s+1==i||r>3&&s+1==i/2)&&(e[u+1]/i/100|0)==vt(10,t-2)-1||(s==i/2||s==0)&&(e[u+1]/i/100|0)==0:t<4?(t==0?s=s/1e3|0:t==1?s=s/100|0:t==2&&(s=s/10|0),a=(n||r<4)&&s==9999||!n&&r>3&&s==4999):a=((n||r<4)&&s+1==i||!n&&r>3&&s+1==i/2)&&(e[u+1]/i/1e3|0)==vt(10,t-3)-1,a}function Gu(e,t,r){for(var n,u=[0],i,a=0,s=e.length;a<s;){for(i=u.length;i--;)u[i]*=t;for(u[0]+=Wa.indexOf(e.charAt(a++)),n=0;n<u.length;n++)u[n]>r-1&&(u[n+1]===void 0&&(u[n+1]=0),u[n+1]+=u[n]/r|0,u[n]%=r)}return u.reverse()}function cy(e,t){var r,n,u;if(t.isZero())return t;n=t.d.length,n<32?(r=Math.ceil(n/3),u=(1/Zu(4,r)).toString()):(r=16,u="2.3283064365386962890625e-10"),e.precision+=r,t=gn(e,1,t.times(u),new e(1));for(var i=r;i--;){var a=t.times(t);t=a.times(a).minus(a).times(8).plus(1)}return e.precision-=r,t}var Qe=function(){function e(n,u,i){var a,s=0,l=n.length;for(n=n.slice();l--;)a=n[l]*u+s,n[l]=a%i|0,s=a/i|0;return s&&n.unshift(s),n}function t(n,u,i,a){var s,l;if(i!=a)l=i>a?1:-1;else for(s=l=0;s<i;s++)if(n[s]!=u[s]){l=n[s]>u[s]?1:-1;break}return l}function r(n,u,i,a){for(var s=0;i--;)n[i]-=s,s=n[i]<u[i]?1:0,n[i]=s*a+n[i]-u[i];for(;!n[0]&&n.length>1;)n.shift()}return function(n,u,i,a,s,l){var c,f,p,o,d,m,h,b,g,w,v,D,y,E,A,C,T,x,_,F,M=n.constructor,B=n.s==u.s?1:-1,N=n.d,I=u.d;if(!N||!N[0]||!I||!I[0])return new M(!n.s||!u.s||(N?I&&N[0]==I[0]:!I)?NaN:N&&N[0]==0||!I?B*0:B/0);for(l?(d=1,f=n.e-u.e):(l=ir,d=ge,f=Ft(n.e/d)-Ft(u.e/d)),_=I.length,T=N.length,g=new M(B),w=g.d=[],p=0;I[p]==(N[p]||0);p++);if(I[p]>(N[p]||0)&&f--,i==null?(E=i=M.precision,a=M.rounding):s?E=i+(n.e-u.e)+1:E=i,E<0)w.push(1),m=!0;else{if(E=E/d+2|0,p=0,_==1){for(o=0,I=I[0],E++;(p<T||o)&&E--;p++)A=o*l+(N[p]||0),w[p]=A/I|0,o=A%I|0;m=o||p<T}else{for(o=l/(I[0]+1)|0,o>1&&(I=e(I,o,l),N=e(N,o,l),_=I.length,T=N.length),C=_,v=N.slice(0,_),D=v.length;D<_;)v[D++]=0;F=I.slice(),F.unshift(0),x=I[0],I[1]>=l/2&&++x;do o=0,c=t(I,v,_,D),c<0?(y=v[0],_!=D&&(y=y*l+(v[1]||0)),o=y/x|0,o>1?(o>=l&&(o=l-1),h=e(I,o,l),b=h.length,D=v.length,c=t(h,v,b,D),c==1&&(o--,r(h,_<b?F:I,b,l))):(o==0&&(c=o=1),h=I.slice()),b=h.length,b<D&&h.unshift(0),r(v,h,D,l),c==-1&&(D=v.length,c=t(I,v,_,D),c<1&&(o++,r(v,_<D?F:I,D,l))),D=v.length):c===0&&(o++,v=[0]),w[p++]=o,c&&v[0]?v[D++]=N[C]||0:(v=[N[C]],D=1);while((C++<T||v[0]!==void 0)&&E--);m=v[0]!==void 0}w[0]||w.shift()}if(d==1)g.e=f,Uf=m;else{for(p=1,o=w[0];o>=10;o/=10)p++;g.e=p+f*d-1,fe(g,s?i+g.e+1:i,a,m)}return g}}();function fe(e,t,r,n){var u,i,a,s,l,c,f,p,o,d=e.constructor;e:if(t!=null){if(p=e.d,!p)return e;for(u=1,s=p[0];s>=10;s/=10)u++;if(i=t-u,i<0)i+=ge,a=t,f=p[o=0],l=f/vt(10,u-a-1)%10|0;else if(o=Math.ceil((i+1)/ge),s=p.length,o>=s)if(n){for(;s++<=o;)p.push(0);f=l=0,u=1,i%=ge,a=i-ge+1}else break e;else{for(f=s=p[o],u=1;s>=10;s/=10)u++;i%=ge,a=i-ge+u,l=a<0?0:f/vt(10,u-a-1)%10|0}if(n=n||t<0||p[o+1]!==void 0||(a<0?f:f%vt(10,u-a-1)),c=r<4?(l||n)&&(r==0||r==(e.s<0?3:2)):l>5||l==5&&(r==4||n||r==6&&(i>0?a>0?f/vt(10,u-a):0:p[o-1])%10&1||r==(e.s<0?8:7)),t<1||!p[0])return p.length=0,c?(t-=e.e+1,p[0]=vt(10,(ge-t%ge)%ge),e.e=-t||0):p[0]=e.e=0,e;if(i==0?(p.length=o,s=1,o--):(p.length=o+1,s=vt(10,ge-i),p[o]=a>0?(f/vt(10,u-a)%vt(10,a)|0)*s:0),c)for(;;)if(o==0){for(i=1,a=p[0];a>=10;a/=10)i++;for(a=p[0]+=s,s=1;a>=10;a/=10)s++;i!=s&&(e.e++,p[0]==ir&&(p[0]=1));break}else{if(p[o]+=s,p[o]!=ir)break;p[o--]=0,s=1}for(i=p.length;p[--i]===0;)p.pop()}return De&&(e.e>d.maxE?(e.d=null,e.e=NaN):e.e<d.minE&&(e.e=0,e.d=[0])),e}function hr(e,t,r){if(!e.isFinite())return Jf(e);var n,u=e.e,i=Ct(e.d),a=i.length;return t?(r&&(n=r-a)>0?i=i.charAt(0)+"."+i.slice(1)+qr(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(e.e<0?"e":"e+")+e.e):u<0?(i="0."+qr(-u-1)+i,r&&(n=r-a)>0&&(i+=qr(n))):u>=a?(i+=qr(u+1-a),r&&(n=r-u-1)>0&&(i=i+"."+qr(n))):((n=u+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),r&&(n=r-a)>0&&(u+1===a&&(i+="."),i+=qr(n))),i}function Xu(e,t){var r=e[0];for(t*=ge;r>=10;r/=10)t++;return t}function Qu(e,t,r){if(t>oy)throw De=!0,r&&(e.precision=r),Error(Vf);return fe(new e(Vu),t,1,!0)}function pr(e,t,r){if(t>Ga)throw Error(Vf);return fe(new e(Wu),t,r,!0)}function Xf(e){var t=e.length-1,r=t*ge+1;if(t=e[t],t){for(;t%10==0;t/=10)r--;for(t=e[0];t>=10;t/=10)r++}return r}function qr(e){for(var t="";e--;)t+="0";return t}function Qf(e,t,r,n){var u,i=new e(1),a=Math.ceil(n/ge+4);for(De=!1;;){if(r%2&&(i=i.times(t),tl(i.d,a)&&(u=!0)),r=Ft(r/2),r===0){r=i.d.length-1,u&&i.d[r]===0&&++i.d[r];break}t=t.times(t),tl(t.d,a)}return De=!0,i}function Kf(e){return e.d[e.d.length-1]&1}function Zf(e,t,r){for(var n,u,i=new e(t[0]),a=0;++a<t.length;){if(u=new e(t[a]),!u.s){i=u;break}n=i.cmp(u),(n===r||n===0&&i.s===r)&&(i=u)}return i}function Xa(e,t){var r,n,u,i,a,s,l,c=0,f=0,p=0,o=e.constructor,d=o.rounding,m=o.precision;if(!e.d||!e.d[0]||e.e>17)return new o(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(t==null?(De=!1,l=m):l=t,s=new o(.03125);e.e>-2;)e=e.times(s),p+=5;for(n=Math.log(vt(2,p))/Math.LN10*2+5|0,l+=n,r=i=a=new o(1),o.precision=l;;){if(i=fe(i.times(e),l,1),r=r.times(++f),s=a.plus(Qe(i,r,l,1)),Ct(s.d).slice(0,l)===Ct(a.d).slice(0,l)){for(u=p;u--;)a=fe(a.times(a),l,1);if(t==null)if(c<3&&Yn(a.d,l-n,d,c))o.precision=l+=10,r=i=s=new o(1),f=0,c++;else return fe(a,o.precision=m,d,De=!0);else return o.precision=m,a}a=s}}function Lr(e,t){var r,n,u,i,a,s,l,c,f,p,o,d=1,m=10,h=e,b=h.d,g=h.constructor,w=g.rounding,v=g.precision;if(h.s<0||!b||!b[0]||!h.e&&b[0]==1&&b.length==1)return new g(b&&!b[0]?-1/0:h.s!=1?NaN:b?0:h);if(t==null?(De=!1,f=v):f=t,g.precision=f+=m,r=Ct(b),n=r.charAt(0),Math.abs(i=h.e)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)h=h.times(e),r=Ct(h.d),n=r.charAt(0),d++;i=h.e,n>1?(h=new g("0."+r),i++):h=new g(n+"."+r.slice(1))}else return c=Qu(g,f+2,v).times(i+""),h=Lr(new g(n+"."+r.slice(1)),f-m).plus(c),g.precision=v,t==null?fe(h,v,w,De=!0):h;for(p=h,l=a=h=Qe(h.minus(1),h.plus(1),f,1),o=fe(h.times(h),f,1),u=3;;){if(a=fe(a.times(o),f,1),c=l.plus(Qe(a,new g(u),f,1)),Ct(c.d).slice(0,f)===Ct(l.d).slice(0,f))if(l=l.times(2),i!==0&&(l=l.plus(Qu(g,f+2,v).times(i+""))),l=Qe(l,new g(d),f,1),t==null)if(Yn(l.d,f-m,w,s))g.precision=f+=m,c=a=h=Qe(p.minus(1),p.plus(1),f,1),o=fe(h.times(h),f,1),u=s=1;else return fe(l,g.precision=v,w,De=!0);else return g.precision=v,l;l=c,u+=2}}function Jf(e){return String(e.s*e.s/0)}function Ku(e,t){var r,n,u;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;n++);for(u=t.length;t.charCodeAt(u-1)===48;--u);if(t=t.slice(n,u),t){if(u-=n,e.e=r=r-n-1,e.d=[],n=(r+1)%ge,r<0&&(n+=ge),n<u){for(n&&e.d.push(+t.slice(0,n)),u-=ge;n<u;)e.d.push(+t.slice(n,n+=ge));t=t.slice(n),n=ge-t.length}else n-=u;for(;n--;)t+="0";e.d.push(+t),De&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function fy(e,t){var r,n,u,i,a,s,l,c,f;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),Gf.test(t))return Ku(e,t)}else if(t==="Infinity"||t==="NaN")return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(iy.test(t))r=16,t=t.toLowerCase();else if(uy.test(t))r=2;else if(ay.test(t))r=8;else throw Error(kr+t);for(i=t.search(/p/i),i>0?(l=+t.slice(i+1),t=t.substring(2,i)):t=t.slice(2),i=t.indexOf("."),a=i>=0,n=e.constructor,a&&(t=t.replace(".",""),s=t.length,i=s-i,u=Qf(n,new n(r),i,i*2)),c=Gu(t,r,ir),f=c.length-1,i=f;c[i]===0;--i)c.pop();return i<0?new n(e.s*0):(e.e=Xu(c,f),e.d=c,De=!1,a&&(e=Qe(e,u,s*4)),l&&(e=e.times(Math.abs(l)<54?vt(2,l):bn.pow(2,l))),De=!0,e)}function ly(e,t){var r,n=t.d.length;if(n<3)return t.isZero()?t:gn(e,2,t,t);r=1.4*Math.sqrt(n),r=r>16?16:r|0,t=t.times(1/Zu(5,r)),t=gn(e,2,t,t);for(var u,i=new e(5),a=new e(16),s=new e(20);r--;)u=t.times(t),t=t.times(i.plus(u.times(a.times(u).minus(s))));return t}function gn(e,t,r,n,u){var i,a,s,l,c=e.precision,f=Math.ceil(c/ge);for(De=!1,l=r.times(r),s=new e(n);;){if(a=Qe(s.times(l),new e(t++*t++),c,1),s=u?n.plus(a):n.minus(a),n=Qe(a.times(l),new e(t++*t++),c,1),a=s.plus(n),a.d[f]!==void 0){for(i=f;a.d[i]===s.d[i]&&i--;);if(i==-1)break}i=s,s=n,n=a,a=i}return De=!0,a.d.length=f+1,a}function Zu(e,t){for(var r=e;--t;)r*=e;return r}function el(e,t){var r,n=t.s<0,u=pr(e,e.precision,1),i=u.times(.5);if(t=t.abs(),t.lte(i))return Cr=n?4:1,t;if(r=t.divToInt(u),r.isZero())Cr=n?3:2;else{if(t=t.minus(r.times(u)),t.lte(i))return Cr=Kf(r)?n?2:3:n?4:1,t;Cr=Kf(r)?n?1:4:n?3:2}return t.minus(u).abs()}function Qa(e,t,r,n){var u,i,a,s,l,c,f,p,o,d=e.constructor,m=r!==void 0;if(m?(It(r,1,Rr),n===void 0?n=d.rounding:It(n,0,8)):(r=d.precision,n=d.rounding),!e.isFinite())f=Jf(e);else{for(f=hr(e),a=f.indexOf("."),m?(u=2,t==16?r=r*4-3:t==8&&(r=r*3-2)):u=t,a>=0&&(f=f.replace(".",""),o=new d(1),o.e=f.length-a,o.d=Gu(hr(o),10,u),o.e=o.d.length),p=Gu(f,10,u),i=l=p.length;p[--l]==0;)p.pop();if(!p[0])f=m?"0p+0":"0";else{if(a<0?i--:(e=new d(e),e.d=p,e.e=i,e=Qe(e,o,r,n,0,u),p=e.d,i=e.e,c=Uf),a=p[r],s=u/2,c=c||p[r+1]!==void 0,c=n<4?(a!==void 0||c)&&(n===0||n===(e.s<0?3:2)):a>s||a===s&&(n===4||c||n===6&&p[r-1]&1||n===(e.s<0?8:7)),p.length=r,c)for(;++p[--r]>u-1;)p[r]=0,r||(++i,p.unshift(1));for(l=p.length;!p[l-1];--l);for(a=0,f="";a<l;a++)f+=Wa.charAt(p[a]);if(m){if(l>1)if(t==16||t==8){for(a=t==16?4:3,--l;l%a;l++)f+="0";for(p=Gu(f,u,t),l=p.length;!p[l-1];--l);for(a=1,f="1.";a<l;a++)f+=Wa.charAt(p[a])}else f=f.charAt(0)+"."+f.slice(1);f=f+(i<0?"p":"p+")+i}else if(i<0){for(;++i;)f="0"+f;f="0."+f}else if(++i>l)for(i-=l;i--;)f+="0";else i<l&&(f=f.slice(0,i)+"."+f.slice(i))}f=(t==16?"0x":t==2?"0b":t==8?"0o":"")+f}return e.s<0?"-"+f:f}function tl(e,t){if(e.length>t)return e.length=t,!0}function dy(e){return new this(e).abs()}function hy(e){return new this(e).acos()}function py(e){return new this(e).acosh()}function my(e,t){return new this(e).plus(t)}function gy(e){return new this(e).asin()}function by(e){return new this(e).asinh()}function yy(e){return new this(e).atan()}function vy(e){return new this(e).atanh()}function wy(e,t){e=new this(e),t=new this(t);var r,n=this.precision,u=this.rounding,i=n+4;return!e.s||!t.s?r=new this(NaN):!e.d&&!t.d?(r=pr(this,i,1).times(t.s>0?.25:.75),r.s=e.s):!t.d||e.isZero()?(r=t.s<0?pr(this,n,u):new this(0),r.s=e.s):!e.d||t.isZero()?(r=pr(this,i,1).times(.5),r.s=e.s):t.s<0?(this.precision=i,this.rounding=1,r=this.atan(Qe(e,t,i,1)),t=pr(this,i,1),this.precision=n,this.rounding=u,r=e.s<0?r.minus(t):r.plus(t)):r=this.atan(Qe(e,t,i,1)),r}function Dy(e){return new this(e).cbrt()}function Ey(e){return fe(e=new this(e),e.e+1,2)}function xy(e,t,r){return new this(e).clamp(t,r)}function Ay(e){if(!e||typeof e!="object")throw Error(Yu+"Object expected");var t,r,n,u=e.defaults===!0,i=["precision",1,Rr,"rounding",0,8,"toExpNeg",-mn,0,"toExpPos",0,mn,"maxE",0,mn,"minE",-mn,0,"modulo",0,9];for(t=0;t<i.length;t+=3)if(r=i[t],u&&(this[r]=Ya[r]),(n=e[r])!==void 0)if(Ft(n)===n&&n>=i[t+1]&&n<=i[t+2])this[r]=n;else throw Error(kr+r+": "+n);if(r="crypto",u&&(this[r]=Ya[r]),(n=e[r])!==void 0)if(n===!0||n===!1||n===0||n===1)if(n)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[r]=!0;else throw Error(Wf);else this[r]=!1;else throw Error(kr+r+": "+n);return this}function Cy(e){return new this(e).cos()}function _y(e){return new this(e).cosh()}function rl(e){var t,r,n;function u(i){var a,s,l,c=this;if(!(c instanceof u))return new u(i);if(c.constructor=u,nl(i)){c.s=i.s,De?!i.d||i.e>u.maxE?(c.e=NaN,c.d=null):i.e<u.minE?(c.e=0,c.d=[0]):(c.e=i.e,c.d=i.d.slice()):(c.e=i.e,c.d=i.d?i.d.slice():i.d);return}if(l=typeof i,l==="number"){if(i===0){c.s=1/i<0?-1:1,c.e=0,c.d=[0];return}if(i<0?(i=-i,c.s=-1):c.s=1,i===~~i&&i<1e7){for(a=0,s=i;s>=10;s/=10)a++;De?a>u.maxE?(c.e=NaN,c.d=null):a<u.minE?(c.e=0,c.d=[0]):(c.e=a,c.d=[i]):(c.e=a,c.d=[i]);return}if(i*0!==0){i||(c.s=NaN),c.e=NaN,c.d=null;return}return Ku(c,i.toString())}if(l==="string")return(s=i.charCodeAt(0))===45?(i=i.slice(1),c.s=-1):(s===43&&(i=i.slice(1)),c.s=1),Gf.test(i)?Ku(c,i):fy(c,i);if(l==="bigint")return i<0?(i=-i,c.s=-1):c.s=1,Ku(c,i.toString());throw Error(kr+i)}if(u.prototype=V,u.ROUND_UP=0,u.ROUND_DOWN=1,u.ROUND_CEIL=2,u.ROUND_FLOOR=3,u.ROUND_HALF_UP=4,u.ROUND_HALF_DOWN=5,u.ROUND_HALF_EVEN=6,u.ROUND_HALF_CEIL=7,u.ROUND_HALF_FLOOR=8,u.EUCLID=9,u.config=u.set=Ay,u.clone=rl,u.isDecimal=nl,u.abs=dy,u.acos=hy,u.acosh=py,u.add=my,u.asin=gy,u.asinh=by,u.atan=yy,u.atanh=vy,u.atan2=wy,u.cbrt=Dy,u.ceil=Ey,u.clamp=xy,u.cos=Cy,u.cosh=_y,u.div=Ty,u.exp=Sy,u.floor=Fy,u.hypot=Oy,u.ln=Ny,u.log=My,u.log10=By,u.log2=Py,u.max=Iy,u.min=Ry,u.mod=ky,u.mul=qy,u.pow=Ly,u.random=jy,u.round=$y,u.sign=zy,u.sin=Hy,u.sinh=Uy,u.sqrt=Vy,u.sub=Wy,u.sum=Yy,u.tan=Gy,u.tanh=Xy,u.trunc=Qy,e===void 0&&(e={}),e&&e.defaults!==!0)for(n=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],t=0;t<n.length;)e.hasOwnProperty(r=n[t++])||(e[r]=this[r]);return u.config(e),u}function Ty(e,t){return new this(e).div(t)}function Sy(e){return new this(e).exp()}function Fy(e){return fe(e=new this(e),e.e+1,3)}function Oy(){var e,t,r=new this(0);for(De=!1,e=0;e<arguments.length;)if(t=new this(arguments[e++]),t.d)r.d&&(r=r.plus(t.times(t)));else{if(t.s)return De=!0,new this(1/0);r=t}return De=!0,r.sqrt()}function nl(e){return e instanceof bn||e&&e.toStringTag===Yf||!1}function Ny(e){return new this(e).ln()}function My(e,t){return new this(e).log(t)}function Py(e){return new this(e).log(2)}function By(e){return new this(e).log(10)}function Iy(){return Zf(this,arguments,-1)}function Ry(){return Zf(this,arguments,1)}function ky(e,t){return new this(e).mod(t)}function qy(e,t){return new this(e).mul(t)}function Ly(e,t){return new this(e).pow(t)}function jy(e){var t,r,n,u,i=0,a=new this(1),s=[];if(e===void 0?e=this.precision:It(e,1,Rr),n=Math.ceil(e/ge),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(n));i<n;)u=t[i],u>=429e7?t[i]=crypto.getRandomValues(new Uint32Array(1))[0]:s[i++]=u%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(n*=4);i<n;)u=t[i]+(t[i+1]<<8)+(t[i+2]<<16)+((t[i+3]&127)<<24),u>=214e7?crypto.randomBytes(4).copy(t,i):(s.push(u%1e7),i+=4);i=n/4}else throw Error(Wf);else for(;i<n;)s[i++]=Math.random()*1e7|0;for(n=s[--i],e%=ge,n&&e&&(u=vt(10,ge-e),s[i]=(n/u|0)*u);s[i]===0;i--)s.pop();if(i<0)r=0,s=[0];else{for(r=-1;s[0]===0;r-=ge)s.shift();for(n=1,u=s[0];u>=10;u/=10)n++;n<ge&&(r-=ge-n)}return a.e=r,a.d=s,a}function $y(e){return fe(e=new this(e),e.e+1,this.rounding)}function zy(e){return e=new this(e),e.d?e.d[0]?e.s:0*e.s:e.s||NaN}function Hy(e){return new this(e).sin()}function Uy(e){return new this(e).sinh()}function Vy(e){return new this(e).sqrt()}function Wy(e,t){return new this(e).sub(t)}function Yy(){var e=0,t=arguments,r=new this(t[e]);for(De=!1;r.s&&++e<t.length;)r=r.plus(t[e]);return De=!0,fe(r,this.precision,this.rounding)}function Gy(e){return new this(e).tan()}function Xy(e){return new this(e).tanh()}function Qy(e){return fe(e=new this(e),e.e+1,1)}V[Symbol.for("nodejs.util.inspect.custom")]=V.toString,V[Symbol.toStringTag]="Decimal";var bn=V.constructor=rl(Ya);Vu=new bn(Vu),Wu=new bn(Wu);var Ky="BigNumber",Zy=["?on","config"],Jy=Be(Ky,Zy,e=>{var{on:t,config:r}=e,n=bn.clone({precision:r.precision,modulo:bn.EUCLID});return n.prototype=Object.create(n.prototype),n.prototype.type="BigNumber",n.prototype.isBigNumber=!0,n.prototype.toJSON=function(){return{mathjs:"BigNumber",value:this.toString()}},n.fromJSON=function(u){return new n(u.value)},t&&t("config",function(u,i){u.precision!==i.precision&&n.config({precision:u.precision})}),n},{isClass:!0});const Ot=Math.cosh||function(e){return Math.abs(e)<1e-9?1-e:(Math.exp(e)+Math.exp(-e))*.5},Gt=Math.sinh||function(e){return Math.abs(e)<1e-9?e:(Math.exp(e)-Math.exp(-e))*.5},e2=function(e){const t=Math.PI/4;if(-t>e||e>t)return Math.cos(e)-1;const r=e*e;return r*(r*(r*(r*(r*(r*(r*(r/20922789888e3-1/87178291200)+1/479001600)-1/3628800)+1/40320)-1/720)+1/24)-1/2)},Ka=function(e,t){return e=Math.abs(e),t=Math.abs(t),e<t&&([e,t]=[t,e]),e<1e8?Math.sqrt(e*e+t*t):(t/=e,e*Math.sqrt(1+t*t))},yn=function(){throw SyntaxError("Invalid Param")};function Za(e,t){const r=Math.abs(e),n=Math.abs(t);return e===0?Math.log(n):t===0?Math.log(r):r<3e3&&n<3e3?Math.log(e*e+t*t)*.5:(e=e*.5,t=t*.5,.5*Math.log(e*e+t*t)+Math.LN2)}const t2={re:0,im:0},tn=function(e,t){const r=t2;if(e==null)r.re=r.im=0;else if(t!==void 0)r.re=e,r.im=t;else switch(typeof e){case"object":if("im"in e&&"re"in e)r.re=e.re,r.im=e.im;else if("abs"in e&&"arg"in e){if(!isFinite(e.abs)&&isFinite(e.arg))return j.INFINITY;r.re=e.abs*Math.cos(e.arg),r.im=e.abs*Math.sin(e.arg)}else if("r"in e&&"phi"in e){if(!isFinite(e.r)&&isFinite(e.phi))return j.INFINITY;r.re=e.r*Math.cos(e.phi),r.im=e.r*Math.sin(e.phi)}else e.length===2?(r.re=e[0],r.im=e[1]):yn();break;case"string":r.im=r.re=0;const n=e.replace(/_/g,"").match(/\d+\.?\d*e[+-]?\d+|\d+\.?\d*|\.\d+|./g);let u=1,i=0;n===null&&yn();for(let a=0;a<n.length;a++){const s=n[a];s===" "||s===" "||s===`
|
|
88
|
+
`||(s==="+"?u++:s==="-"?i++:s==="i"||s==="I"?(u+i===0&&yn(),n[a+1]!==" "&&!isNaN(n[a+1])?(r.im+=parseFloat((i%2?"-":"")+n[a+1]),a++):r.im+=parseFloat((i%2?"-":"")+"1"),u=i=0):((u+i===0||isNaN(s))&&yn(),n[a+1]==="i"||n[a+1]==="I"?(r.im+=parseFloat((i%2?"-":"")+s),a++):r.re+=parseFloat((i%2?"-":"")+s),u=i=0))}u+i>0&&yn();break;case"number":r.im=0,r.re=e;break;default:yn()}return isNaN(r.re)||isNaN(r.im),r};function j(e,t){if(!(this instanceof j))return new j(e,t);const r=tn(e,t);this.re=r.re,this.im=r.im}j.prototype={re:0,im:0,sign:function(){const e=Ka(this.re,this.im);return new j(this.re/e,this.im/e)},add:function(e,t){const r=tn(e,t),n=this.isInfinite(),u=!(isFinite(r.re)&&isFinite(r.im));return n||u?n&&u?j.NAN:j.INFINITY:new j(this.re+r.re,this.im+r.im)},sub:function(e,t){const r=tn(e,t),n=this.isInfinite(),u=!(isFinite(r.re)&&isFinite(r.im));return n||u?n&&u?j.NAN:j.INFINITY:new j(this.re-r.re,this.im-r.im)},mul:function(e,t){const r=tn(e,t),n=this.isInfinite(),u=!(isFinite(r.re)&&isFinite(r.im)),i=this.re===0&&this.im===0,a=r.re===0&&r.im===0;return n&&a||u&&i?j.NAN:n||u?j.INFINITY:r.im===0&&this.im===0?new j(this.re*r.re,0):new j(this.re*r.re-this.im*r.im,this.re*r.im+this.im*r.re)},div:function(e,t){const r=tn(e,t),n=this.isInfinite(),u=!(isFinite(r.re)&&isFinite(r.im)),i=this.re===0&&this.im===0,a=r.re===0&&r.im===0;if(i&&a||n&&u)return j.NAN;if(a||n)return j.INFINITY;if(i||u)return j.ZERO;if(r.im===0)return new j(this.re/r.re,this.im/r.re);if(Math.abs(r.re)<Math.abs(r.im)){const s=r.re/r.im,l=r.re*s+r.im;return new j((this.re*s+this.im)/l,(this.im*s-this.re)/l)}else{const s=r.im/r.re,l=r.im*s+r.re;return new j((this.re+this.im*s)/l,(this.im-this.re*s)/l)}},pow:function(e,t){const r=tn(e,t),n=this.re===0&&this.im===0;if(r.re===0&&r.im===0)return j.ONE;if(r.im===0){if(this.im===0&&this.re>0)return new j(Math.pow(this.re,r.re),0);if(this.re===0)switch((r.re%4+4)%4){case 0:return new j(Math.pow(this.im,r.re),0);case 1:return new j(0,Math.pow(this.im,r.re));case 2:return new j(-Math.pow(this.im,r.re),0);case 3:return new j(0,-Math.pow(this.im,r.re))}}if(n&&r.re>0)return j.ZERO;const i=Math.atan2(this.im,this.re),a=Za(this.re,this.im);let s=Math.exp(r.re*a-r.im*i),l=r.im*a+r.re*i;return new j(s*Math.cos(l),s*Math.sin(l))},sqrt:function(){const e=this.re,t=this.im;if(t===0)return e>=0?new j(Math.sqrt(e),0):new j(0,Math.sqrt(-e));const r=Ka(e,t);let n=Math.sqrt(.5*(r+Math.abs(e))),u=Math.abs(t)/(2*n);return e>=0?new j(n,t<0?-u:u):new j(u,t<0?-n:n)},exp:function(){const e=Math.exp(this.re);return this.im===0?new j(e,0):new j(e*Math.cos(this.im),e*Math.sin(this.im))},expm1:function(){const e=this.re,t=this.im;return new j(Math.expm1(e)*Math.cos(t)+e2(t),Math.exp(e)*Math.sin(t))},log:function(){const e=this.re,t=this.im;return t===0&&e>0?new j(Math.log(e),0):new j(Za(e,t),Math.atan2(t,e))},abs:function(){return Ka(this.re,this.im)},arg:function(){return Math.atan2(this.im,this.re)},sin:function(){const e=this.re,t=this.im;return new j(Math.sin(e)*Ot(t),Math.cos(e)*Gt(t))},cos:function(){const e=this.re,t=this.im;return new j(Math.cos(e)*Ot(t),-Math.sin(e)*Gt(t))},tan:function(){const e=2*this.re,t=2*this.im,r=Math.cos(e)+Ot(t);return new j(Math.sin(e)/r,Gt(t)/r)},cot:function(){const e=2*this.re,t=2*this.im,r=Math.cos(e)-Ot(t);return new j(-Math.sin(e)/r,Gt(t)/r)},sec:function(){const e=this.re,t=this.im,r=.5*Ot(2*t)+.5*Math.cos(2*e);return new j(Math.cos(e)*Ot(t)/r,Math.sin(e)*Gt(t)/r)},csc:function(){const e=this.re,t=this.im,r=.5*Ot(2*t)-.5*Math.cos(2*e);return new j(Math.sin(e)*Ot(t)/r,-Math.cos(e)*Gt(t)/r)},asin:function(){const e=this.re,t=this.im,r=new j(t*t-e*e+1,-2*e*t).sqrt(),n=new j(r.re-t,r.im+e).log();return new j(n.im,-n.re)},acos:function(){const e=this.re,t=this.im,r=new j(t*t-e*e+1,-2*e*t).sqrt(),n=new j(r.re-t,r.im+e).log();return new j(Math.PI/2-n.im,n.re)},atan:function(){const e=this.re,t=this.im;if(e===0){if(t===1)return new j(0,1/0);if(t===-1)return new j(0,-1/0)}const r=e*e+(1-t)*(1-t),n=new j((1-t*t-e*e)/r,-2*e/r).log();return new j(-.5*n.im,.5*n.re)},acot:function(){const e=this.re,t=this.im;if(t===0)return new j(Math.atan2(1,e),0);const r=e*e+t*t;return r!==0?new j(e/r,-t/r).atan():new j(e!==0?e/0:0,t!==0?-t/0:0).atan()},asec:function(){const e=this.re,t=this.im;if(e===0&&t===0)return new j(0,1/0);const r=e*e+t*t;return r!==0?new j(e/r,-t/r).acos():new j(e!==0?e/0:0,t!==0?-t/0:0).acos()},acsc:function(){const e=this.re,t=this.im;if(e===0&&t===0)return new j(Math.PI/2,1/0);const r=e*e+t*t;return r!==0?new j(e/r,-t/r).asin():new j(e!==0?e/0:0,t!==0?-t/0:0).asin()},sinh:function(){const e=this.re,t=this.im;return new j(Gt(e)*Math.cos(t),Ot(e)*Math.sin(t))},cosh:function(){const e=this.re,t=this.im;return new j(Ot(e)*Math.cos(t),Gt(e)*Math.sin(t))},tanh:function(){const e=2*this.re,t=2*this.im,r=Ot(e)+Math.cos(t);return new j(Gt(e)/r,Math.sin(t)/r)},coth:function(){const e=2*this.re,t=2*this.im,r=Ot(e)-Math.cos(t);return new j(Gt(e)/r,-Math.sin(t)/r)},csch:function(){const e=this.re,t=this.im,r=Math.cos(2*t)-Ot(2*e);return new j(-2*Gt(e)*Math.cos(t)/r,2*Ot(e)*Math.sin(t)/r)},sech:function(){const e=this.re,t=this.im,r=Math.cos(2*t)+Ot(2*e);return new j(2*Ot(e)*Math.cos(t)/r,-2*Gt(e)*Math.sin(t)/r)},asinh:function(){let e=this.im;this.im=-this.re,this.re=e;const t=this.asin();return this.re=-this.im,this.im=e,e=t.re,t.re=-t.im,t.im=e,t},acosh:function(){const e=this.acos();if(e.im<=0){const t=e.re;e.re=-e.im,e.im=t}else{const t=e.im;e.im=-e.re,e.re=t}return e},atanh:function(){const e=this.re,t=this.im,r=e>1&&t===0,n=1-e,u=1+e,i=n*n+t*t,a=i!==0?new j((u*n-t*t)/i,(t*n+u*t)/i):new j(e!==-1?e/0:0,t!==0?t/0:0),s=a.re;return a.re=Za(a.re,a.im)/2,a.im=Math.atan2(a.im,s)/2,r&&(a.im=-a.im),a},acoth:function(){const e=this.re,t=this.im;if(e===0&&t===0)return new j(0,Math.PI/2);const r=e*e+t*t;return r!==0?new j(e/r,-t/r).atanh():new j(e!==0?e/0:0,t!==0?-t/0:0).atanh()},acsch:function(){const e=this.re,t=this.im;if(t===0)return new j(e!==0?Math.log(e+Math.sqrt(e*e+1)):1/0,0);const r=e*e+t*t;return r!==0?new j(e/r,-t/r).asinh():new j(e!==0?e/0:0,t!==0?-t/0:0).asinh()},asech:function(){const e=this.re,t=this.im;if(this.isZero())return j.INFINITY;const r=e*e+t*t;return r!==0?new j(e/r,-t/r).acosh():new j(e!==0?e/0:0,t!==0?-t/0:0).acosh()},inverse:function(){if(this.isZero())return j.INFINITY;if(this.isInfinite())return j.ZERO;const e=this.re,t=this.im,r=e*e+t*t;return new j(e/r,-t/r)},conjugate:function(){return new j(this.re,-this.im)},neg:function(){return new j(-this.re,-this.im)},ceil:function(e){return e=Math.pow(10,e||0),new j(Math.ceil(this.re*e)/e,Math.ceil(this.im*e)/e)},floor:function(e){return e=Math.pow(10,e||0),new j(Math.floor(this.re*e)/e,Math.floor(this.im*e)/e)},round:function(e){return e=Math.pow(10,e||0),new j(Math.round(this.re*e)/e,Math.round(this.im*e)/e)},equals:function(e,t){const r=tn(e,t);return Math.abs(r.re-this.re)<=j.EPSILON&&Math.abs(r.im-this.im)<=j.EPSILON},clone:function(){return new j(this.re,this.im)},toString:function(){let e=this.re,t=this.im,r="";return this.isNaN()?"NaN":this.isInfinite()?"Infinity":(Math.abs(e)<j.EPSILON&&(e=0),Math.abs(t)<j.EPSILON&&(t=0),t===0?r+e:(e!==0?(r+=e,r+=" ",t<0?(t=-t,r+="-"):r+="+",r+=" "):t<0&&(t=-t,r+="-"),t!==1&&(r+=t),r+"i"))},toVector:function(){return[this.re,this.im]},valueOf:function(){return this.im===0?this.re:null},isNaN:function(){return isNaN(this.re)||isNaN(this.im)},isZero:function(){return this.im===0&&this.re===0},isFinite:function(){return isFinite(this.re)&&isFinite(this.im)},isInfinite:function(){return!this.isFinite()}},j.ZERO=new j(0,0),j.ONE=new j(1,0),j.I=new j(0,1),j.PI=new j(Math.PI,0),j.E=new j(Math.E,0),j.INFINITY=new j(1/0,1/0),j.NAN=new j(NaN,NaN),j.EPSILON=1e-15;var r2="Complex",n2=[],u2=Be(r2,n2,()=>(Object.defineProperty(j,"name",{value:"Complex"}),j.prototype.constructor=j,j.prototype.type="Complex",j.prototype.isComplex=!0,j.prototype.toJSON=function(){return{mathjs:"Complex",re:this.re,im:this.im}},j.prototype.toPolar=function(){return{r:this.abs(),phi:this.arg()}},j.prototype.format=function(e){var t="",r=this.im,n=this.re,u=Va(this.re,e),i=Va(this.im,e),a=et(e)?e:e?e.precision:null;if(a!==null){var s=Math.pow(10,-a);Math.abs(n/r)<s&&(n=0),Math.abs(r/n)<s&&(r=0)}return r===0?t=u:n===0?r===1?t="i":r===-1?t="-i":t=i+"i":r<0?r===-1?t=u+" - i":t=u+" - "+i.substring(1)+"i":r===1?t=u+" + i":t=u+" + "+i+"i",t},j.fromPolar=function(e){switch(arguments.length){case 1:{var t=arguments[0];if(typeof t=="object")return j(t);throw new TypeError("Input has to be an object with r and phi keys.")}case 2:{var r=arguments[0],n=arguments[1];if(et(r)){if(Bf(n)&&n.hasBase("ANGLE")&&(n=n.toNumber("rad")),et(n))return new j({r,phi:n});throw new TypeError("Phi is not a number nor an angle unit.")}else throw new TypeError("Radius r is not a number.")}default:throw new SyntaxError("Wrong number of arguments in function fromPolar")}},j.prototype.valueOf=j.prototype.toString,j.fromJSON=function(e){return new j(e)},j.compare=function(e,t){return e.re>t.re?1:e.re<t.re?-1:e.im>t.im?1:e.im<t.im?-1:0},j),{isClass:!0});typeof BigInt>"u"&&(BigInt=function(e){if(isNaN(e))throw new Error("");return e});const le=BigInt(0),Ee=BigInt(1),Gn=BigInt(2),Ja=BigInt(5),Rt=BigInt(10),i2=2e3,ee={s:Ee,n:le,d:Ee};function _r(e,t){try{e=BigInt(e)}catch{throw jr()}return e*t}function ar(e){return typeof e=="bigint"?e:Math.floor(e)}function rt(e,t){if(t===le)throw es();const r=Object.create(Xt.prototype);r.s=e<le?-Ee:Ee,e=e<le?-e:e;const n=rn(e,t);return r.n=e/n,r.d=t/n,r}function vn(e){const t={};let r=e,n=Gn,u=Ja-Ee;for(;u<=r;){for(;r%n===le;)r/=n,t[n]=(t[n]||le)+Ee;u+=Ee+Gn*n++}return r!==e?r>1&&(t[r]=(t[r]||le)+Ee):t[e]=(t[e]||le)+Ee,t}const Et=function(e,t){let r=le,n=Ee,u=Ee;if(e!=null)if(t!==void 0){if(typeof e=="bigint")r=e;else{if(isNaN(e))throw jr();if(e%1!==0)throw ul();r=BigInt(e)}if(typeof t=="bigint")n=t;else{if(isNaN(t))throw jr();if(t%1!==0)throw ul();n=BigInt(t)}u=r*n}else if(typeof e=="object"){if("d"in e&&"n"in e)r=BigInt(e.n),n=BigInt(e.d),"s"in e&&(r*=BigInt(e.s));else if(0 in e)r=BigInt(e[0]),1 in e&&(n=BigInt(e[1]));else if(typeof e=="bigint")r=e;else throw jr();u=r*n}else if(typeof e=="number"){if(isNaN(e))throw jr();if(e<0&&(u=-Ee,e=-e),e%1===0)r=BigInt(e);else if(e>0){let i=1,a=0,s=1,l=1,c=1,f=1e7;for(e>=1&&(i=10**Math.floor(1+Math.log10(e)),e/=i);s<=f&&c<=f;){let p=(a+l)/(s+c);if(e===p){s+c<=f?(r=a+l,n=s+c):c>s?(r=l,n=c):(r=a,n=s);break}else e>p?(a+=l,s+=c):(l+=a,c+=s),s>f?(r=l,n=c):(r=a,n=s)}r=BigInt(r)*BigInt(i),n=BigInt(n)}}else if(typeof e=="string"){let i=0,a=le,s=le,l=le,c=Ee,f=Ee,p=e.replace(/_/g,"").match(/\d+|./g);if(p===null)throw jr();if(p[i]==="-"?(u=-Ee,i++):p[i]==="+"&&i++,p.length===i+1?s=_r(p[i++],u):p[i+1]==="."||p[i]==="."?(p[i]!=="."&&(a=_r(p[i++],u)),i++,(i+1===p.length||p[i+1]==="("&&p[i+3]===")"||p[i+1]==="'"&&p[i+3]==="'")&&(s=_r(p[i],u),c=Rt**BigInt(p[i].length),i++),(p[i]==="("&&p[i+2]===")"||p[i]==="'"&&p[i+2]==="'")&&(l=_r(p[i+1],u),f=Rt**BigInt(p[i+1].length)-Ee,i+=3)):p[i+1]==="/"||p[i+1]===":"?(s=_r(p[i],u),c=_r(p[i+2],Ee),i+=3):p[i+3]==="/"&&p[i+1]===" "&&(a=_r(p[i],u),s=_r(p[i+2],u),c=_r(p[i+4],Ee),i+=5),p.length<=i)n=c*f,u=r=l+n*a+f*s;else throw jr()}else if(typeof e=="bigint")r=e,u=e,n=Ee;else throw jr();if(n===le)throw es();ee.s=u<le?-Ee:Ee,ee.n=r<le?-r:r,ee.d=n<le?-n:n};function a2(e,t,r){let n=Ee;for(;t>le;e=e*e%r,t>>=Ee)t&Ee&&(n=n*e%r);return n}function s2(e,t){for(;t%Gn===le;t/=Gn);for(;t%Ja===le;t/=Ja);if(t===Ee)return le;let r=Rt%t,n=1;for(;r!==Ee;n++)if(r=r*Rt%t,n>i2)return le;return BigInt(n)}function o2(e,t,r){let n=Ee,u=a2(Rt,r,t);for(let i=0;i<300;i++){if(n===u)return BigInt(i);n=n*Rt%t,u=u*Rt%t}return 0}function rn(e,t){if(!e)return t;if(!t)return e;for(;;){if(e%=t,!e)return t;if(t%=e,!t)return e}}function Xt(e,t){if(Et(e,t),this instanceof Xt)e=rn(ee.d,ee.n),this.s=ee.s,this.n=ee.n/e,this.d=ee.d/e;else return rt(ee.s*ee.n,ee.d)}var es=function(){return new Error("Division by Zero")},jr=function(){return new Error("Invalid argument")},ul=function(){return new Error("Parameters must be integer")};Xt.prototype={s:Ee,n:le,d:Ee,abs:function(){return rt(this.n,this.d)},neg:function(){return rt(-this.s*this.n,this.d)},add:function(e,t){return Et(e,t),rt(this.s*this.n*ee.d+ee.s*this.d*ee.n,this.d*ee.d)},sub:function(e,t){return Et(e,t),rt(this.s*this.n*ee.d-ee.s*this.d*ee.n,this.d*ee.d)},mul:function(e,t){return Et(e,t),rt(this.s*ee.s*this.n*ee.n,this.d*ee.d)},div:function(e,t){return Et(e,t),rt(this.s*ee.s*this.n*ee.d,this.d*ee.n)},clone:function(){return rt(this.s*this.n,this.d)},mod:function(e,t){if(e===void 0)return rt(this.s*this.n%this.d,Ee);if(Et(e,t),le===ee.n*this.d)throw es();return rt(this.s*(ee.d*this.n)%(ee.n*this.d),ee.d*this.d)},gcd:function(e,t){return Et(e,t),rt(rn(ee.n,this.n)*rn(ee.d,this.d),ee.d*this.d)},lcm:function(e,t){return Et(e,t),ee.n===le&&this.n===le?rt(le,Ee):rt(ee.n*this.n,rn(ee.n,this.n)*rn(ee.d,this.d))},inverse:function(){return rt(this.s*this.d,this.n)},pow:function(e,t){if(Et(e,t),ee.d===Ee)return ee.s<le?rt((this.s*this.d)**ee.n,this.n**ee.n):rt((this.s*this.n)**ee.n,this.d**ee.n);if(this.s<le)return null;let r=vn(this.n),n=vn(this.d),u=Ee,i=Ee;for(let a in r)if(a!=="1"){if(a==="0"){u=le;break}if(r[a]*=ee.n,r[a]%ee.d===le)r[a]/=ee.d;else return null;u*=BigInt(a)**r[a]}for(let a in n)if(a!=="1"){if(n[a]*=ee.n,n[a]%ee.d===le)n[a]/=ee.d;else return null;i*=BigInt(a)**n[a]}return ee.s<le?rt(i,u):rt(u,i)},log:function(e,t){if(Et(e,t),this.s<=le||ee.s<=le)return null;const r={},n=vn(ee.n),u=vn(ee.d),i=vn(this.n),a=vn(this.d);for(const c in u)n[c]=(n[c]||le)-u[c];for(const c in a)i[c]=(i[c]||le)-a[c];for(const c in n)c!=="1"&&(r[c]=!0);for(const c in i)c!=="1"&&(r[c]=!0);let s=null,l=null;for(const c in r){const f=n[c]||le,p=i[c]||le;if(f===le){if(p!==le)return null;continue}let o=p,d=f;const m=rn(o,d);if(o/=m,d/=m,s===null&&l===null)s=o,l=d;else if(o*l!==s*d)return null}return s!==null&&l!==null?rt(s,l):null},equals:function(e,t){return Et(e,t),this.s*this.n*ee.d===ee.s*ee.n*this.d},lt:function(e,t){return Et(e,t),this.s*this.n*ee.d<ee.s*ee.n*this.d},lte:function(e,t){return Et(e,t),this.s*this.n*ee.d<=ee.s*ee.n*this.d},gt:function(e,t){return Et(e,t),this.s*this.n*ee.d>ee.s*ee.n*this.d},gte:function(e,t){return Et(e,t),this.s*this.n*ee.d>=ee.s*ee.n*this.d},compare:function(e,t){Et(e,t);let r=this.s*this.n*ee.d-ee.s*ee.n*this.d;return(le<r)-(r<le)},ceil:function(e){return e=Rt**BigInt(e||0),rt(ar(this.s*e*this.n/this.d)+(e*this.n%this.d>le&&this.s>=le?Ee:le),e)},floor:function(e){return e=Rt**BigInt(e||0),rt(ar(this.s*e*this.n/this.d)-(e*this.n%this.d>le&&this.s<le?Ee:le),e)},round:function(e){return e=Rt**BigInt(e||0),rt(ar(this.s*e*this.n/this.d)+this.s*((this.s>=le?Ee:le)+Gn*(e*this.n%this.d)>this.d?Ee:le),e)},roundTo:function(e,t){Et(e,t);const r=this.n*ee.d,n=this.d*ee.n,u=r%n;let i=ar(r/n);return u+u>=n&&i++,rt(this.s*i*ee.n,ee.d)},divisible:function(e,t){return Et(e,t),!(!(ee.n*this.d)||this.n*ee.d%(ee.n*this.d))},valueOf:function(){return Number(this.s*this.n)/Number(this.d)},toString:function(e){let t=this.n,r=this.d;e=e||15;let n=s2(t,r),u=o2(t,r,n),i=this.s<le?"-":"";if(i+=ar(t/r),t%=r,t*=Rt,t&&(i+="."),n){for(let a=u;a--;)i+=ar(t/r),t%=r,t*=Rt;i+="(";for(let a=n;a--;)i+=ar(t/r),t%=r,t*=Rt;i+=")"}else for(let a=e;t&&a--;)i+=ar(t/r),t%=r,t*=Rt;return i},toFraction:function(e){let t=this.n,r=this.d,n=this.s<le?"-":"";if(r===Ee)n+=t;else{let u=ar(t/r);e&&u>le&&(n+=u,n+=" ",t%=r),n+=t,n+="/",n+=r}return n},toLatex:function(e){let t=this.n,r=this.d,n=this.s<le?"-":"";if(r===Ee)n+=t;else{let u=ar(t/r);e&&u>le&&(n+=u,t%=r),n+="\\frac{",n+=t,n+="}{",n+=r,n+="}"}return n},toContinued:function(){let e=this.n,t=this.d,r=[];do{r.push(ar(e/t));let n=e%t;e=t,t=n}while(e!==Ee);return r},simplify:function(e){const t=BigInt(1/(e||.001)|0),r=this.abs(),n=r.toContinued();for(let u=1;u<n.length;u++){let i=rt(n[u-1],Ee);for(let s=u-2;s>=0;s--)i=i.inverse().add(n[s]);let a=i.sub(r);if(a.n*t<a.d)return i.mul(this.s)}return this}};var c2="Fraction",f2=[],l2=Be(c2,f2,()=>(Object.defineProperty(Xt,"name",{value:"Fraction"}),Xt.prototype.constructor=Xt,Xt.prototype.type="Fraction",Xt.prototype.isFraction=!0,Xt.prototype.toJSON=function(){return{mathjs:"Fraction",n:String(this.s*this.n),d:String(this.d)}},Xt.fromJSON=function(e){return new Xt(e)},Xt),{isClass:!0}),d2="Matrix",h2=[],p2=Be(d2,h2,()=>{function e(){if(!(this instanceof e))throw new SyntaxError("Constructor must be called with the new operator")}return e.prototype.type="Matrix",e.prototype.isMatrix=!0,e.prototype.storage=function(){throw new Error("Cannot invoke storage on a Matrix interface")},e.prototype.datatype=function(){throw new Error("Cannot invoke datatype on a Matrix interface")},e.prototype.create=function(t,r){throw new Error("Cannot invoke create on a Matrix interface")},e.prototype.subset=function(t,r,n){throw new Error("Cannot invoke subset on a Matrix interface")},e.prototype.get=function(t){throw new Error("Cannot invoke get on a Matrix interface")},e.prototype.set=function(t,r,n){throw new Error("Cannot invoke set on a Matrix interface")},e.prototype.resize=function(t,r){throw new Error("Cannot invoke resize on a Matrix interface")},e.prototype.reshape=function(t,r){throw new Error("Cannot invoke reshape on a Matrix interface")},e.prototype.clone=function(){throw new Error("Cannot invoke clone on a Matrix interface")},e.prototype.size=function(){throw new Error("Cannot invoke size on a Matrix interface")},e.prototype.map=function(t,r){throw new Error("Cannot invoke map on a Matrix interface")},e.prototype.forEach=function(t){throw new Error("Cannot invoke forEach on a Matrix interface")},e.prototype[Symbol.iterator]=function(){throw new Error("Cannot iterate a Matrix interface")},e.prototype.toArray=function(){throw new Error("Cannot invoke toArray on a Matrix interface")},e.prototype.valueOf=function(){throw new Error("Cannot invoke valueOf on a Matrix interface")},e.prototype.format=function(t){throw new Error("Cannot invoke format on a Matrix interface")},e.prototype.toString=function(){throw new Error("Cannot invoke toString on a Matrix interface")},e},{isClass:!0});function ts(e,t,r){var n=e.constructor,u=new n(2),i="";if(r){if(r<1)throw new Error("size must be in greater than 0");if(!gt(r))throw new Error("size must be an integer");if(e.greaterThan(u.pow(r-1).sub(1))||e.lessThan(u.pow(r-1).mul(-1)))throw new Error("Value must be in range [-2^".concat(r-1,", 2^").concat(r-1,"-1]"));if(!e.isInteger())throw new Error("Value must be an integer");e.lessThan(0)&&(e=e.add(u.pow(r))),i="i".concat(r)}switch(t){case 2:return"".concat(e.toBinary()).concat(i);case 8:return"".concat(e.toOctal()).concat(i);case 16:return"".concat(e.toHexadecimal()).concat(i);default:throw new Error("Base ".concat(t," not supported "))}}function m2(e,t){if(typeof t=="function")return t(e);if(!e.isFinite())return e.isNaN()?"NaN":e.gt(0)?"Infinity":"-Infinity";var{notation:r,precision:n,wordSize:u}=qf(t);switch(r){case"fixed":return b2(e,n);case"exponential":return il(e,n);case"engineering":return g2(e,n);case"bin":return ts(e,2,u);case"oct":return ts(e,8,u);case"hex":return ts(e,16,u);case"auto":{var i=al(t==null?void 0:t.lowerExp,-3),a=al(t==null?void 0:t.upperExp,5);if(e.isZero())return"0";var s,l=e.toSignificantDigits(n),c=l.e;return c>=i&&c<a?s=l.toFixed():s=il(e,n),s.replace(/((\.\d*?)(0+))($|e)/,function(){var f=arguments[2],p=arguments[4];return f!=="."?f+p:p})}default:throw new Error('Unknown notation "'+r+'". Choose "auto", "exponential", "fixed", "bin", "oct", or "hex.')}}function g2(e,t){var r=e.e,n=r%3===0?r:r<0?r-3-r%3:r-r%3,u=e.mul(Math.pow(10,-n)),i=u.toPrecision(t);if(i.includes("e")){var a=e.constructor;i=new a(i).toFixed()}return i+"e"+(r>=0?"+":"")+n.toString()}function il(e,t){return t!==void 0?e.toExponential(t-1):e.toExponential()}function b2(e,t){return e.toFixed(t)}function al(e,t){return et(e)?e:wt(e)?e.toNumber():t}function kt(e,t){var r=y2(e,t);return t&&typeof t=="object"&&"truncate"in t&&r.length>t.truncate?r.substring(0,t.truncate-3)+"...":r}function y2(e,t){if(typeof e=="number")return Va(e,t);if(wt(e))return m2(e,t);if(v2(e))return!t||t.fraction!=="decimal"?"".concat(e.s*e.n,"/").concat(e.d):e.toString();if(Array.isArray(e))return cl(e,t);if(dr(e))return sl(e);if(typeof e=="function")return e.syntax?String(e.syntax):"function";if(e&&typeof e=="object"){if(typeof e.format=="function")return e.format(t);if(e&&e.toString(t)!=={}.toString())return e.toString(t);var r=Object.keys(e).map(n=>sl(n)+": "+kt(e[n],t));return"{"+r.join(", ")+"}"}return String(e)}function sl(e){for(var t=String(e),r="",n=0;n<t.length;){var u=t.charAt(n);r+=u in ol?ol[u]:u,n++}return'"'+r+'"'}var ol={'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"};function cl(e,t){if(Array.isArray(e)){for(var r="[",n=e.length,u=0;u<n;u++)u!==0&&(r+=", "),r+=cl(e[u],t);return r+="]",r}else return kt(e,t)}function v2(e){return e&&typeof e=="object"&&typeof e.s=="bigint"&&typeof e.n=="bigint"&&typeof e.d=="bigint"||!1}function Le(e,t,r){if(!(this instanceof Le))throw new SyntaxError("Constructor must be called with the new operator");this.actual=e,this.expected=t,this.relation=r,this.message="Dimension mismatch ("+(Array.isArray(e)?"["+e.join(", ")+"]":e)+" "+(this.relation||"!=")+" "+(Array.isArray(t)?"["+t.join(", ")+"]":t)+")",this.stack=new Error().stack}Le.prototype=new RangeError,Le.prototype.constructor=RangeError,Le.prototype.name="DimensionError",Le.prototype.isDimensionError=!0;function nn(e,t,r){if(!(this instanceof nn))throw new SyntaxError("Constructor must be called with the new operator");this.index=e,arguments.length<3?(this.min=0,this.max=t):(this.min=t,this.max=r),this.min!==void 0&&this.index<this.min?this.message="Index out of range ("+this.index+" < "+this.min+")":this.max!==void 0&&this.index>=this.max?this.message="Index out of range ("+this.index+" > "+(this.max-1)+")":this.message="Index out of range ("+this.index+")",this.stack=new Error().stack}nn.prototype=new RangeError,nn.prototype.constructor=RangeError,nn.prototype.name="IndexError",nn.prototype.isIndexError=!0;function sr(e){for(var t=[];Array.isArray(e);)t.push(e.length),e=e[0];return t}function fl(e,t,r){var n,u=e.length;if(u!==t[r])throw new Le(u,t[r]);if(r<t.length-1){var i=r+1;for(n=0;n<u;n++){var a=e[n];if(!Array.isArray(a))throw new Le(t.length-1,t.length,"<");fl(e[n],t,i)}}else for(n=0;n<u;n++)if(Array.isArray(e[n]))throw new Le(t.length+1,t.length,">")}function ll(e,t){var r=t.length===0;if(r){if(Array.isArray(e))throw new Le(e.length,0)}else fl(e,t,0)}function ot(e,t){if(e!==void 0){if(!et(e)||!gt(e))throw new TypeError("Index must be an integer (value: "+e+")");if(e<0||typeof t=="number"&&e>=t)throw new nn(e,t)}}function rs(e,t,r){if(!Array.isArray(t))throw new TypeError("Array expected");if(t.length===0)throw new Error("Resizing to scalar is not supported");t.forEach(function(u){if(!et(u)||!gt(u)||u<0)throw new TypeError("Invalid size, must contain positive integers (size: "+kt(t)+")")}),(et(e)||wt(e))&&(e=[e]);var n=r!==void 0?r:0;return ns(e,t,0,n),e}function ns(e,t,r,n){var u,i,a=e.length,s=t[r],l=Math.min(a,s);if(e.length=s,r<t.length-1){var c=r+1;for(u=0;u<l;u++)i=e[u],Array.isArray(i)||(i=[i],e[u]=i),ns(i,t,c,n);for(u=l;u<s;u++)i=[],e[u]=i,ns(i,t,c,n)}else{for(u=0;u<l;u++)for(;Array.isArray(e[u]);)e[u]=e[u][0];for(u=l;u<s;u++)e[u]=n}}function dl(e,t){var r=D2(e),n=r.length;if(!Array.isArray(e)||!Array.isArray(t))throw new TypeError("Array expected");if(t.length===0)throw new Le(0,n,"!=");t=us(t,n);var u=hl(t);if(n!==u)throw new Le(u,n,"!=");try{return w2(r,t)}catch(i){throw i instanceof Le?new Le(u,n,"!="):i}}function us(e,t){var r=hl(e),n=e.slice(),u=-1,i=e.indexOf(u),a=e.indexOf(u,i+1)>=0;if(a)throw new Error("More than one wildcard in sizes");var s=i>=0,l=t%r===0;if(s)if(l)n[i]=-t/r;else throw new Error("Could not replace wildcard, since "+t+" is no multiple of "+-r);return n}function hl(e){return e.reduce((t,r)=>t*r,1)}function w2(e,t){for(var r=e,n,u=t.length-1;u>0;u--){var i=t[u];n=[];for(var a=r.length/i,s=0;s<a;s++)n.push(r.slice(s*i,(s+1)*i));r=n}return r}function pl(e,t,r,n){var u=n||sr(e);if(r)for(var i=0;i<r;i++)e=[e],u.unshift(1);for(e=ml(e,t,0);u.length<t;)u.push(1);return e}function ml(e,t,r){var n,u;if(Array.isArray(e)){var i=r+1;for(n=0,u=e.length;n<u;n++)e[n]=ml(e[n],t,i)}else for(var a=r;a<t;a++)e=[e];return e}function D2(e){if(!Array.isArray(e))return e;var t=[];return e.forEach(function r(n){Array.isArray(n)?n.forEach(r):t.push(n)}),t}function is(e,t){for(var r,n=0,u=0;u<e.length;u++){var i=e[u],a=Array.isArray(i);if(u===0&&a&&(n=i.length),a&&i.length!==n)return;var s=a?is(i,t):t(i);if(r===void 0)r=s;else if(r!==s)return"mixed"}return r}function gl(e,t,r,n){if(n<r){if(e.length!==t.length)throw new Le(e.length,t.length);for(var u=[],i=0;i<e.length;i++)u[i]=gl(e[i],t[i],r,n+1);return u}else return e.concat(t)}function bl(){var e=Array.prototype.slice.call(arguments,0,-1),t=Array.prototype.slice.call(arguments,-1);if(e.length===1)return e[0];if(e.length>1)return e.slice(1).reduce(function(r,n){return gl(r,n,t,0)},e[0]);throw new Error("Wrong number of arguments in function concat")}function yl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n=t.map(o=>o.length),u=Math.max(...n),i=new Array(u).fill(null),a=0;a<t.length;a++)for(var s=t[a],l=n[a],c=0;c<l;c++){var f=u-l+c;s[c]>i[f]&&(i[f]=s[c])}for(var p=0;p<t.length;p++)vl(t[p],i);return i}function vl(e,t){for(var r=t.length,n=e.length,u=0;u<n;u++){var i=r-n+u;if(e[u]<t[i]&&e[u]>1||e[u]>t[i])throw new Error("shape mismatch: mismatch is found in arg with shape (".concat(e,") not possible to broadcast dimension ").concat(n," with size ").concat(e[u]," to size ").concat(t[i]))}}function as(e,t){var r=sr(e);if(Ir(r,t))return e;vl(r,t);var n=yl(r,t),u=n.length,i=[...Array(u-r.length).fill(1),...r],a=x2(e);r.length<u&&(a=dl(a,i),r=sr(a));for(var s=0;s<u;s++)r[s]<n[s]&&(a=E2(a,n[s],s),r=sr(a));return a}function E2(e,t,r){return bl(...Array(t).fill(e),r)}function wl(e,t){if(!Array.isArray(e))throw new Error("Array expected");var r=sr(e);if(t.length!==r.length)throw new Le(t.length,r.length);for(var n=0;n<t.length;n++)ot(t[n],r[n]);return t.reduce((u,i)=>u[i],e)}function Dl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(e.length===0)return[];if(r)return i(e);var n=[];return u(e,0);function u(a,s){if(Array.isArray(a)){for(var l=a.length,c=Array(l),f=0;f<l;f++)n[s]=f,c[f]=u(a[f],s+1);return c}else return t(a,n.slice(0,s),e)}function i(a){if(Array.isArray(a)){for(var s=a.length,l=Array(s),c=0;c<s;c++)l[c]=i(a[c]);return l}else return t(a)}}function x2(e){return Hn([],e)}function Ju(e,t,r){if(ju.isTypedFunction(e)){var n=(t.isMatrix?t.size():sr(t)).map(()=>0),u=t.isMatrix?t.get(n):wl(t,n),i=C2(e,u,n,t),a;if(t.isMatrix&&t.dataType!=="mixed"&&t.dataType!==void 0){var s=A2(e,i);a=s!==void 0?s:e}else a=e;return i>=1&&i<=3?function(){for(var l=arguments.length,c=new Array(l),f=0;f<l;f++)c[f]=arguments[f];return El(a,c.slice(0,i),r,e.name)}:function(){for(var l=arguments.length,c=new Array(l),f=0;f<l;f++)c[f]=arguments[f];return El(a,c,r,e.name)}}return e}function A2(e,t){var r=[];if(Object.entries(e.signatures).forEach(n=>{var[u,i]=n;u.split(",").length===t&&r.push(i)}),r.length===1)return r[0]}function C2(e,t,r,n){for(var u=[t,r,n],i=3;i>0;i--){var a=u.slice(0,i);if(ju.resolve(e,a)!==null)return i}}function El(e,t,r,n){try{return e(...t)}catch(u){_2(u,t,r,n)}}function _2(e,t,r,n){var u;if(e instanceof TypeError&&((u=e.data)===null||u===void 0?void 0:u.category)==="wrongType"){var i=[];throw i.push("value: ".concat(en(t[0]))),t.length>=2&&i.push("index: ".concat(en(t[1]))),t.length>=3&&i.push("array: ".concat(en(t[2]))),new TypeError("Function ".concat(r," cannot apply callback arguments ")+"".concat(n,"(").concat(i.join(", "),") at index ").concat(JSON.stringify(t[1])))}else throw new TypeError("Function ".concat(r," cannot apply callback arguments ")+"to function ".concat(n,": ").concat(e.message))}var T2="DenseMatrix",S2=["Matrix"],F2=Be(T2,S2,e=>{var{Matrix:t}=e;function r(f,p){if(!(this instanceof r))throw new SyntaxError("Constructor must be called with the new operator");if(p&&!dr(p))throw new Error("Invalid datatype: "+p);if(Wt(f))f.type==="DenseMatrix"?(this._data=Dt(f._data),this._size=Dt(f._size),this._datatype=p||f._datatype):(this._data=f.toArray(),this._size=f.size(),this._datatype=p||f._datatype);else if(f&&yt(f.data)&&yt(f.size))this._data=f.data,this._size=f.size,ll(this._data,this._size),this._datatype=p||f.datatype;else if(yt(f))this._data=c(f),this._size=sr(this._data),ll(this._data,this._size),this._datatype=p;else{if(f)throw new TypeError("Unsupported type of data ("+en(f)+")");this._data=[],this._size=[0],this._datatype=p}}r.prototype=new t,r.prototype.createDenseMatrix=function(f,p){return new r(f,p)},Object.defineProperty(r,"name",{value:"DenseMatrix"}),r.prototype.constructor=r,r.prototype.type="DenseMatrix",r.prototype.isDenseMatrix=!0,r.prototype.getDataType=function(){return is(this._data,en)},r.prototype.storage=function(){return"dense"},r.prototype.datatype=function(){return this._datatype},r.prototype.create=function(f,p){return new r(f,p)},r.prototype.subset=function(f,p,o){switch(arguments.length){case 1:return n(this,f);case 2:case 3:return i(this,f,p,o);default:throw new SyntaxError("Wrong number of arguments")}},r.prototype.get=function(f){return wl(this._data,f)},r.prototype.set=function(f,p,o){if(!yt(f))throw new TypeError("Array expected");if(f.length<this._size.length)throw new Le(f.length,this._size.length,"<");var d,m,h,b=f.map(function(w){return w+1});l(this,b,o);var g=this._data;for(d=0,m=f.length-1;d<m;d++)h=f[d],ot(h,g.length),g=g[h];return h=f[f.length-1],ot(h,g.length),g[h]=p,this};function n(f,p){if(!za(p))throw new TypeError("Invalid index");var o=p.isScalar();if(o)return f.get(p.min());var d=p.size();if(d.length!==f._size.length)throw new Le(d.length,f._size.length);for(var m=p.min(),h=p.max(),b=0,g=f._size.length;b<g;b++)ot(m[b],f._size[b]),ot(h[b],f._size[b]);return new r(u(f._data,p,d.length,0),f._datatype)}function u(f,p,o,d){var m=d===o-1,h=p.dimension(d);return m?h.map(function(b){return ot(b,f.length),f[b]}).valueOf():h.map(function(b){ot(b,f.length);var g=f[b];return u(g,p,o,d+1)}).valueOf()}function i(f,p,o,d){if(!p||p.isIndex!==!0)throw new TypeError("Invalid index");var m=p.size(),h=p.isScalar(),b;if(Wt(o)?(b=o.size(),o=o.valueOf()):b=sr(o),h){if(b.length!==0)throw new TypeError("Scalar expected");f.set(p.min(),o,d)}else{if(!Ir(b,m))try{b.length===0?o=as([o],m):o=as(o,m),b=sr(o)}catch{}if(m.length<f._size.length)throw new Le(m.length,f._size.length,"<");if(b.length<m.length){for(var g=0,w=0;m[g]===1&&b[g]===1;)g++;for(;m[g]===1;)w++,g++;o=pl(o,m.length,w,b)}if(!Ir(m,b))throw new Le(m,b,">");var v=p.max().map(function(E){return E+1});l(f,v,d);var D=m.length,y=0;a(f._data,p,o,D,y)}return f}function a(f,p,o,d,m){var h=m===d-1,b=p.dimension(m);h?b.forEach(function(g,w){ot(g),f[g]=o[w[0]]}):b.forEach(function(g,w){ot(g),a(f[g],p,o[w[0]],d,m+1)})}r.prototype.resize=function(f,p,o){if(!Lu(f))throw new TypeError("Array or Matrix expected");var d=f.valueOf().map(h=>Array.isArray(h)&&h.length===1?h[0]:h),m=o?this.clone():this;return s(m,d,p)};function s(f,p,o){if(p.length===0){for(var d=f._data;yt(d);)d=d[0];return d}return f._size=p.slice(0),f._data=rs(f._data,f._size,o),f}r.prototype.reshape=function(f,p){var o=p?this.clone():this;o._data=dl(o._data,f);var d=o._size.reduce((m,h)=>m*h);return o._size=us(f,d),o};function l(f,p,o){for(var d=f._size.slice(0),m=!1;d.length<p.length;)d.push(0),m=!0;for(var h=0,b=p.length;h<b;h++)p[h]>d[h]&&(d[h]=p[h],m=!0);m&&s(f,d,o)}r.prototype.clone=function(){var f=new r({data:Dt(this._data),size:Dt(this._size),datatype:this._datatype});return f},r.prototype.size=function(){return this._size.slice(0)},r.prototype._forEach=function(f){var p=this,o=p.size(),d=o.length-1;if(d<0)return;if(d===0){for(var m=o[0],h=0;h<m;h++)f(p._data,h,[h]);return}var b=Array(o.length);function g(w,v){var D=o[v];if(v<d)for(var y=0;y<D;y++)b[v]=y,g(w[y],v+1);else for(var E=0;E<D;E++)b[v]=E,f(w,E,b.slice())}g(p._data,0)},r.prototype.map=function(f){var p=this,o=new r(p),d=Ju(f,p._data,"map");return o._forEach(function(m,h,b){m[h]=d(m[h],b,p)}),o},r.prototype.forEach=function(f){var p=this,o=Ju(f,p._data,"map");p._forEach(function(d,m,h){o(d[m],h,p)})},r.prototype[Symbol.iterator]=function*(){var f=this._size.length-1;if(!(f<0)){if(f===0){for(var p=0;p<this._data.length;p++)yield{value:this._data[p],index:[p]};return}var o=[],d=function*(h,b){if(b<f)for(var g=0;g<h.length;g++)o[b]=g,yield*d(h[g],b+1);else for(var w=0;w<h.length;w++)o[b]=w,yield{value:h[w],index:o.slice()}};yield*d(this._data,0)}},r.prototype.rows=function(){var f=[],p=this.size();if(p.length!==2)throw new TypeError("Rows can only be returned for a 2D matrix.");var o=this._data;for(var d of o)f.push(new r([d],this._datatype));return f},r.prototype.columns=function(){var f=this,p=[],o=this.size();if(o.length!==2)throw new TypeError("Rows can only be returned for a 2D matrix.");for(var d=this._data,m=function(g){var w=d.map(v=>[v[g]]);p.push(new r(w,f._datatype))},h=0;h<o[1];h++)m(h);return p},r.prototype.toArray=function(){return Dt(this._data)},r.prototype.valueOf=function(){return this._data},r.prototype.format=function(f){return kt(this._data,f)},r.prototype.toString=function(){return kt(this._data)},r.prototype.toJSON=function(){return{mathjs:"DenseMatrix",data:this._data,size:this._size,datatype:this._datatype}},r.prototype.diagonal=function(f){if(f){if(wt(f)&&(f=f.toNumber()),!et(f)||!gt(f))throw new TypeError("The parameter k must be an integer number")}else f=0;for(var p=f>0?f:0,o=f<0?-f:0,d=this._size[0],m=this._size[1],h=Math.min(d-o,m-p),b=[],g=0;g<h;g++)b[g]=this._data[g+o][g+p];return new r({data:b,size:[h],datatype:this._datatype})},r.diagonal=function(f,p,o,d){if(!yt(f))throw new TypeError("Array expected, size parameter");if(f.length!==2)throw new Error("Only two dimensions matrix are supported");if(f=f.map(function(A){if(wt(A)&&(A=A.toNumber()),!et(A)||!gt(A)||A<1)throw new Error("Size values must be positive integers");return A}),o){if(wt(o)&&(o=o.toNumber()),!et(o)||!gt(o))throw new TypeError("The parameter k must be an integer number")}else o=0;var m=o>0?o:0,h=o<0?-o:0,b=f[0],g=f[1],w=Math.min(b-h,g-m),v;if(yt(p)){if(p.length!==w)throw new Error("Invalid value array length");v=function(C){return p[C]}}else if(Wt(p)){var D=p.size();if(D.length!==1||D[0]!==w)throw new Error("Invalid matrix length");v=function(C){return p.get([C])}}else v=function(){return p};d||(d=wt(v(0))?v(0).mul(0):0);var y=[];if(f.length>0){y=rs(y,f,d);for(var E=0;E<w;E++)y[E+h][E+m]=v(E)}return new r({data:y,size:[b,g]})},r.fromJSON=function(f){return new r(f)},r.prototype.swapRows=function(f,p){if(!et(f)||!gt(f)||!et(p)||!gt(p))throw new Error("Row index must be positive integers");if(this._size.length!==2)throw new Error("Only two dimensional matrix is supported");return ot(f,this._size[0]),ot(p,this._size[0]),r._swapRows(f,p,this._data),this},r._swapRows=function(f,p,o){var d=o[f];o[f]=o[p],o[p]=d};function c(f){return Wt(f)?c(f.valueOf()):yt(f)?f.map(c):f}return r},{isClass:!0});function Xn(e,t,r){if(!r)return Wt(e)?e.map(u=>t(u)):Dl(e,t,!0);var n=u=>u===0?u:t(u);return Wt(e)?e.map(u=>n(u)):Dl(e,n,!0)}var xl="isInteger",O2=["typed"],N2=Be(xl,O2,e=>{var{typed:t}=e;return t(xl,{number:gt,BigNumber:function(n){return n.isInt()},bigint:function(n){return!0},Fraction:function(n){return n.d===1n},"Array | Matrix":t.referToSelf(r=>n=>Xn(n,r))})}),M2="number",Al="number, number";function Cl(e,t){return e+t}Cl.signature=Al;function _l(e,t){return e-t}_l.signature=Al;function Tl(e){return-e}Tl.signature=M2;function Qn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!gt(t)||t<0||t>15)throw new Error("Number of decimals in function round must be an integer from 0 to 15 inclusive");return parseFloat(Lf(e,t))}function ss(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1e-9,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(r<=0)throw new Error("Relative tolerance must be greater than 0");if(n<0)throw new Error("Absolute tolerance must be at least 0");return e.isNaN()||t.isNaN()?!1:!e.isFinite()||!t.isFinite()?e.eq(t):e.eq(t)?!0:e.minus(t).abs().lte(e.constructor.max(e.constructor.max(e.abs(),t.abs()).mul(r),n))}function P2(e,t,r,n){return pn(e.re,t.re,r,n)&&pn(e.im,t.im,r,n)}var B2=Be("compareUnits",["typed"],e=>{var{typed:t}=e;return{"Unit, Unit":t.referToSelf(r=>(n,u)=>{if(!n.equalBase(u))throw new Error("Cannot compare units with different base");return t.find(r,[n.valueType(),u.valueType()])(n.value,u.value)})}}),ei="equalScalar",I2=["typed","config"],R2=Be(ei,I2,e=>{var{typed:t,config:r}=e,n=B2({typed:t});return t(ei,{"boolean, boolean":function(i,a){return i===a},"number, number":function(i,a){return pn(i,a,r.relTol,r.absTol)},"BigNumber, BigNumber":function(i,a){return i.eq(a)||ss(i,a,r.relTol,r.absTol)},"bigint, bigint":function(i,a){return i===a},"Fraction, Fraction":function(i,a){return i.equals(a)},"Complex, Complex":function(i,a){return P2(i,a,r.relTol,r.absTol)}},n)});Be(ei,["typed","config"],e=>{var{typed:t,config:r}=e;return t(ei,{"number, number":function(u,i){return pn(u,i,r.relTol,r.absTol)}})});var k2="SparseMatrix",q2=["typed","equalScalar","Matrix"],L2=Be(k2,q2,e=>{var{typed:t,equalScalar:r,Matrix:n}=e;function u(h,b){if(!(this instanceof u))throw new SyntaxError("Constructor must be called with the new operator");if(b&&!dr(b))throw new Error("Invalid datatype: "+b);if(Wt(h))i(this,h,b);else if(h&&yt(h.index)&&yt(h.ptr)&&yt(h.size))this._values=h.values,this._index=h.index,this._ptr=h.ptr,this._size=h.size,this._datatype=b||h.datatype;else if(yt(h))a(this,h,b);else{if(h)throw new TypeError("Unsupported type of data ("+en(h)+")");this._values=[],this._index=[],this._ptr=[0],this._size=[0,0],this._datatype=b}}function i(h,b,g){b.type==="SparseMatrix"?(h._values=b._values?Dt(b._values):void 0,h._index=Dt(b._index),h._ptr=Dt(b._ptr),h._size=Dt(b._size),h._datatype=g||b._datatype):a(h,b.valueOf(),g||b._datatype)}function a(h,b,g){h._values=[],h._index=[],h._ptr=[],h._datatype=g;var w=b.length,v=0,D=r,y=0;if(dr(g)&&(D=t.find(r,[g,g])||r,y=t.convert(0,g)),w>0){var E=0;do{h._ptr.push(h._index.length);for(var A=0;A<w;A++){var C=b[A];if(yt(C)){if(E===0&&v<C.length&&(v=C.length),E<C.length){var T=C[E];D(T,y)||(h._values.push(T),h._index.push(A))}}else E===0&&v<1&&(v=1),D(C,y)||(h._values.push(C),h._index.push(A))}E++}while(E<v)}h._ptr.push(h._index.length),h._size=[w,v]}u.prototype=new n,u.prototype.createSparseMatrix=function(h,b){return new u(h,b)},Object.defineProperty(u,"name",{value:"SparseMatrix"}),u.prototype.constructor=u,u.prototype.type="SparseMatrix",u.prototype.isSparseMatrix=!0,u.prototype.getDataType=function(){return is(this._values,en)},u.prototype.storage=function(){return"sparse"},u.prototype.datatype=function(){return this._datatype},u.prototype.create=function(h,b){return new u(h,b)},u.prototype.density=function(){var h=this._size[0],b=this._size[1];return h!==0&&b!==0?this._index.length/(h*b):0},u.prototype.subset=function(h,b,g){if(!this._values)throw new Error("Cannot invoke subset on a Pattern only matrix");switch(arguments.length){case 1:return s(this,h);case 2:case 3:return l(this,h,b,g);default:throw new SyntaxError("Wrong number of arguments")}};function s(h,b){if(!za(b))throw new TypeError("Invalid index");var g=b.isScalar();if(g)return h.get(b.min());var w=b.size();if(w.length!==h._size.length)throw new Le(w.length,h._size.length);var v,D,y,E,A=b.min(),C=b.max();for(v=0,D=h._size.length;v<D;v++)ot(A[v],h._size[v]),ot(C[v],h._size[v]);var T=h._values,x=h._index,_=h._ptr,F=b.dimension(0),M=b.dimension(1),B=[],N=[];F.forEach(function(ie,q){N[ie]=q[0],B[ie]=!0});var I=T?[]:void 0,Z=[],re=[];return M.forEach(function(ie){for(re.push(Z.length),y=_[ie],E=_[ie+1];y<E;y++)v=x[y],B[v]===!0&&(Z.push(N[v]),I&&I.push(T[y]))}),re.push(Z.length),new u({values:I,index:Z,ptr:re,size:w,datatype:h._datatype})}function l(h,b,g,w){if(!b||b.isIndex!==!0)throw new TypeError("Invalid index");var v=b.size(),D=b.isScalar(),y;if(Wt(g)?(y=g.size(),g=g.toArray()):y=sr(g),D){if(y.length!==0)throw new TypeError("Scalar expected");h.set(b.min(),g,w)}else{if(v.length!==1&&v.length!==2)throw new Le(v.length,h._size.length,"<");if(y.length<v.length){for(var E=0,A=0;v[E]===1&&y[E]===1;)E++;for(;v[E]===1;)A++,E++;g=pl(g,v.length,A,y)}if(!Ir(v,y))throw new Le(v,y,">");if(v.length===1){var C=b.dimension(0);C.forEach(function(_,F){ot(_),h.set([_,0],g[F[0]],w)})}else{var T=b.dimension(0),x=b.dimension(1);T.forEach(function(_,F){ot(_),x.forEach(function(M,B){ot(M),h.set([_,M],g[F[0]][B[0]],w)})})}}return h}u.prototype.get=function(h){if(!yt(h))throw new TypeError("Array expected");if(h.length!==this._size.length)throw new Le(h.length,this._size.length);if(!this._values)throw new Error("Cannot invoke get on a Pattern only matrix");var b=h[0],g=h[1];ot(b,this._size[0]),ot(g,this._size[1]);var w=c(b,this._ptr[g],this._ptr[g+1],this._index);return w<this._ptr[g+1]&&this._index[w]===b?this._values[w]:0},u.prototype.set=function(h,b,g){if(!yt(h))throw new TypeError("Array expected");if(h.length!==this._size.length)throw new Le(h.length,this._size.length);if(!this._values)throw new Error("Cannot invoke set on a Pattern only matrix");var w=h[0],v=h[1],D=this._size[0],y=this._size[1],E=r,A=0;dr(this._datatype)&&(E=t.find(r,[this._datatype,this._datatype])||r,A=t.convert(0,this._datatype)),(w>D-1||v>y-1)&&(o(this,Math.max(w+1,D),Math.max(v+1,y),g),D=this._size[0],y=this._size[1]),ot(w,D),ot(v,y);var C=c(w,this._ptr[v],this._ptr[v+1],this._index);return C<this._ptr[v+1]&&this._index[C]===w?E(b,A)?f(C,v,this._values,this._index,this._ptr):this._values[C]=b:E(b,A)||p(C,w,v,b,this._values,this._index,this._ptr),this};function c(h,b,g,w){if(g-b===0)return g;for(var v=b;v<g;v++)if(w[v]===h)return v;return b}function f(h,b,g,w,v){g.splice(h,1),w.splice(h,1);for(var D=b+1;D<v.length;D++)v[D]--}function p(h,b,g,w,v,D,y){v.splice(h,0,w),D.splice(h,0,b);for(var E=g+1;E<y.length;E++)y[E]++}u.prototype.resize=function(h,b,g){if(!Lu(h))throw new TypeError("Array or Matrix expected");var w=h.valueOf().map(D=>Array.isArray(D)&&D.length===1?D[0]:D);if(w.length!==2)throw new Error("Only two dimensions matrix are supported");w.forEach(function(D){if(!et(D)||!gt(D)||D<0)throw new TypeError("Invalid size, must contain positive integers (size: "+kt(w)+")")});var v=g?this.clone():this;return o(v,w[0],w[1],b)};function o(h,b,g,w){var v=w||0,D=r,y=0;dr(h._datatype)&&(D=t.find(r,[h._datatype,h._datatype])||r,y=t.convert(0,h._datatype),v=t.convert(v,h._datatype));var E=!D(v,y),A=h._size[0],C=h._size[1],T,x,_;if(g>C){for(x=C;x<g;x++)if(h._ptr[x]=h._values.length,E)for(T=0;T<A;T++)h._values.push(v),h._index.push(T);h._ptr[g]=h._values.length}else g<C&&(h._ptr.splice(g+1,C-g),h._values.splice(h._ptr[g],h._values.length),h._index.splice(h._ptr[g],h._index.length));if(C=g,b>A){if(E){var F=0;for(x=0;x<C;x++){h._ptr[x]=h._ptr[x]+F,_=h._ptr[x+1]+F;var M=0;for(T=A;T<b;T++,M++)h._values.splice(_+M,0,v),h._index.splice(_+M,0,T),F++}h._ptr[C]=h._values.length}}else if(b<A){var B=0;for(x=0;x<C;x++){h._ptr[x]=h._ptr[x]-B;var N=h._ptr[x],I=h._ptr[x+1]-B;for(_=N;_<I;_++)T=h._index[_],T>b-1&&(h._values.splice(_,1),h._index.splice(_,1),B++)}h._ptr[x]=h._values.length}return h._size[0]=b,h._size[1]=g,h}u.prototype.reshape=function(h,b){if(!yt(h))throw new TypeError("Array expected");if(h.length!==2)throw new Error("Sparse matrices can only be reshaped in two dimensions");h.forEach(function(ie){if(!et(ie)||!gt(ie)||ie<=-2||ie===0)throw new TypeError("Invalid size, must contain positive integers or -1 (size: "+kt(h)+")")});var g=this._size[0]*this._size[1];h=us(h,g);var w=h[0]*h[1];if(g!==w)throw new Error("Reshaping sparse matrix will result in the wrong number of elements");var v=b?this.clone():this;if(this._size[0]===h[0]&&this._size[1]===h[1])return v;for(var D=[],y=0;y<v._ptr.length;y++)for(var E=0;E<v._ptr[y+1]-v._ptr[y];E++)D.push(y);for(var A=v._values.slice(),C=v._index.slice(),T=0;T<v._index.length;T++){var x=C[T],_=D[T],F=x*v._size[1]+_;D[T]=F%h[1],C[T]=Math.floor(F/h[1])}v._values.length=0,v._index.length=0,v._ptr.length=h[1]+1,v._size=h.slice();for(var M=0;M<v._ptr.length;M++)v._ptr[M]=0;for(var B=0;B<A.length;B++){var N=C[B],I=D[B],Z=A[B],re=c(N,v._ptr[I],v._ptr[I+1],v._index);p(re,N,I,Z,v._values,v._index,v._ptr)}return v},u.prototype.clone=function(){var h=new u({values:this._values?Dt(this._values):void 0,index:Dt(this._index),ptr:Dt(this._ptr),size:Dt(this._size),datatype:this._datatype});return h},u.prototype.size=function(){return this._size.slice(0)},u.prototype.map=function(h,b){if(!this._values)throw new Error("Cannot invoke map on a Pattern only matrix");var g=this,w=this._size[0],v=this._size[1],D=Ju(h,g,"map"),y=function(A,C,T){return D(A,[C,T],g)};return d(this,0,w-1,0,v-1,y,b)};function d(h,b,g,w,v,D,y){var E=[],A=[],C=[],T=r,x=0;dr(h._datatype)&&(T=t.find(r,[h._datatype,h._datatype])||r,x=t.convert(0,h._datatype));for(var _=function(Y,se,de){var he=D(Y,se,de);T(he,x)||(E.push(he),A.push(se))},F=w;F<=v;F++){C.push(E.length);var M=h._ptr[F],B=h._ptr[F+1];if(y)for(var N=M;N<B;N++){var I=h._index[N];I>=b&&I<=g&&_(h._values[N],I-b,F-w)}else{for(var Z={},re=M;re<B;re++){var ie=h._index[re];Z[ie]=h._values[re]}for(var q=b;q<=g;q++){var K=q in Z?Z[q]:0;_(K,q-b,F-w)}}}return C.push(E.length),new u({values:E,index:A,ptr:C,size:[g-b+1,v-w+1]})}u.prototype.forEach=function(h,b){if(!this._values)throw new Error("Cannot invoke forEach on a Pattern only matrix");for(var g=this,w=this._size[0],v=this._size[1],D=Ju(h,g,"forEach"),y=0;y<v;y++){var E=this._ptr[y],A=this._ptr[y+1];if(b)for(var C=E;C<A;C++){var T=this._index[C];D(this._values[C],[T,y],g)}else{for(var x={},_=E;_<A;_++){var F=this._index[_];x[F]=this._values[_]}for(var M=0;M<w;M++){var B=M in x?x[M]:0;D(B,[M,y],g)}}}},u.prototype[Symbol.iterator]=function*(){if(!this._values)throw new Error("Cannot iterate a Pattern only matrix");for(var h=this._size[1],b=0;b<h;b++)for(var g=this._ptr[b],w=this._ptr[b+1],v=g;v<w;v++){var D=this._index[v];yield{value:this._values[v],index:[D,b]}}},u.prototype.toArray=function(){return m(this._values,this._index,this._ptr,this._size,!0)},u.prototype.valueOf=function(){return m(this._values,this._index,this._ptr,this._size,!1)};function m(h,b,g,w,v){var D=w[0],y=w[1],E=[],A,C;for(A=0;A<D;A++)for(E[A]=[],C=0;C<y;C++)E[A][C]=0;for(C=0;C<y;C++)for(var T=g[C],x=g[C+1],_=T;_<x;_++)A=b[_],E[A][C]=h?v?Dt(h[_]):h[_]:1;return E}return u.prototype.format=function(h){for(var b=this._size[0],g=this._size[1],w=this.density(),v="Sparse Matrix ["+kt(b,h)+" x "+kt(g,h)+"] density: "+kt(w,h)+`
|
|
89
|
+
`,D=0;D<g;D++)for(var y=this._ptr[D],E=this._ptr[D+1],A=y;A<E;A++){var C=this._index[A];v+=`
|
|
90
|
+
(`+kt(C,h)+", "+kt(D,h)+") ==> "+(this._values?kt(this._values[A],h):"X")}return v},u.prototype.toString=function(){return kt(this.toArray())},u.prototype.toJSON=function(){return{mathjs:"SparseMatrix",values:this._values,index:this._index,ptr:this._ptr,size:this._size,datatype:this._datatype}},u.prototype.diagonal=function(h){if(h){if(wt(h)&&(h=h.toNumber()),!et(h)||!gt(h))throw new TypeError("The parameter k must be an integer number")}else h=0;var b=h>0?h:0,g=h<0?-h:0,w=this._size[0],v=this._size[1],D=Math.min(w-g,v-b),y=[],E=[],A=[];A[0]=0;for(var C=b;C<v&&y.length<D;C++)for(var T=this._ptr[C],x=this._ptr[C+1],_=T;_<x;_++){var F=this._index[_];if(F===C-b+g){y.push(this._values[_]),E[y.length-1]=F-g;break}}return A.push(y.length),new u({values:y,index:E,ptr:A,size:[D,1]})},u.fromJSON=function(h){return new u(h)},u.diagonal=function(h,b,g,w,v){if(!yt(h))throw new TypeError("Array expected, size parameter");if(h.length!==2)throw new Error("Only two dimensions matrix are supported");if(h=h.map(function(ie){if(wt(ie)&&(ie=ie.toNumber()),!et(ie)||!gt(ie)||ie<1)throw new Error("Size values must be positive integers");return ie}),g){if(wt(g)&&(g=g.toNumber()),!et(g)||!gt(g))throw new TypeError("The parameter k must be an integer number")}else g=0;var D=r,y=0;dr(v)&&(D=t.find(r,[v,v])||r,y=t.convert(0,v));var E=g>0?g:0,A=g<0?-g:0,C=h[0],T=h[1],x=Math.min(C-A,T-E),_;if(yt(b)){if(b.length!==x)throw new Error("Invalid value array length");_=function(q){return b[q]}}else if(Wt(b)){var F=b.size();if(F.length!==1||F[0]!==x)throw new Error("Invalid matrix length");_=function(q){return b.get([q])}}else _=function(){return b};for(var M=[],B=[],N=[],I=0;I<T;I++){N.push(M.length);var Z=I-E;if(Z>=0&&Z<x){var re=_(Z);D(re,y)||(B.push(Z+A),M.push(re))}}return N.push(M.length),new u({values:M,index:B,ptr:N,size:[C,T]})},u.prototype.swapRows=function(h,b){if(!et(h)||!gt(h)||!et(b)||!gt(b))throw new Error("Row index must be positive integers");if(this._size.length!==2)throw new Error("Only two dimensional matrix is supported");return ot(h,this._size[0]),ot(b,this._size[0]),u._swapRows(h,b,this._size[1],this._values,this._index,this._ptr),this},u._forEachRow=function(h,b,g,w,v){for(var D=w[h],y=w[h+1],E=D;E<y;E++)v(g[E],b[E])},u._swapRows=function(h,b,g,w,v,D){for(var y=0;y<g;y++){var E=D[y],A=D[y+1],C=c(h,E,A,v),T=c(b,E,A,v);if(C<A&&T<A&&v[C]===h&&v[T]===b){if(w){var x=w[C];w[C]=w[T],w[T]=x}continue}if(C<A&&v[C]===h&&(T>=A||v[T]!==b)){var _=w?w[C]:void 0;v.splice(T,0,b),w&&w.splice(T,0,_),v.splice(T<=C?C+1:C,1),w&&w.splice(T<=C?C+1:C,1);continue}if(T<A&&v[T]===b&&(C>=A||v[C]!==h)){var F=w?w[T]:void 0;v.splice(C,0,h),w&&w.splice(C,0,F),v.splice(C<=T?T+1:T,1),w&&w.splice(C<=T?T+1:T,1)}}},u},{isClass:!0}),j2="number",$2=["typed"];function z2(e){var t=e.match(/(0[box])([0-9a-fA-F]*)\.([0-9a-fA-F]*)/);if(t){var r={"0b":2,"0o":8,"0x":16}[t[1]],n=t[2],u=t[3];return{input:e,radix:r,integerPart:n,fractionalPart:u}}else return null}function H2(e){for(var t=parseInt(e.integerPart,e.radix),r=0,n=0;n<e.fractionalPart.length;n++){var u=parseInt(e.fractionalPart[n],e.radix);r+=u/Math.pow(e.radix,n+1)}var i=t+r;if(isNaN(i))throw new SyntaxError('String "'+e.input+'" is not a valid number');return i}var U2=Be(j2,$2,e=>{var{typed:t}=e,r=t("number",{"":function(){return 0},number:function(u){return u},string:function(u){if(u==="NaN")return NaN;var i=z2(u);if(i)return H2(i);var a=0,s=u.match(/(0[box][0-9a-fA-F]*)i([0-9]*)/);s&&(a=Number(s[2]),u=s[1]);var l=Number(u);if(isNaN(l))throw new SyntaxError('String "'+u+'" is not a valid number');if(s){if(l>2**a-1)throw new SyntaxError('String "'.concat(u,'" is out of range'));l>=2**(a-1)&&(l=l-2**a)}return l},BigNumber:function(u){return u.toNumber()},bigint:function(u){return Number(u)},Fraction:function(u){return u.valueOf()},Unit:t.referToSelf(n=>u=>{var i=u.clone();return i.value=n(u.value),i}),null:function(u){return 0},"Unit, string | Unit":function(u,i){return u.toNumber(i)},"Array | Matrix":t.referToSelf(n=>u=>Xn(u,n))});return r.fromJSON=function(n){return parseFloat(n.value)},r}),Sl="matrix",V2=["typed","Matrix","DenseMatrix","SparseMatrix"],W2=Be(Sl,V2,e=>{var{typed:t,Matrix:r,DenseMatrix:n,SparseMatrix:u}=e;return t(Sl,{"":function(){return i([])},string:function(s){return i([],s)},"string, string":function(s,l){return i([],s,l)},Array:function(s){return i(s)},Matrix:function(s){return i(s,s.storage())},"Array | Matrix, string":i,"Array | Matrix, string, string":i});function i(a,s,l){if(s==="dense"||s==="default"||s===void 0)return new n(a,l);if(s==="sparse")return new u(a,l);throw new TypeError("Unknown matrix type "+JSON.stringify(s)+".")}}),Fl="unaryMinus",Y2=["typed"],G2=Be(Fl,Y2,e=>{var{typed:t}=e;return t(Fl,{number:Tl,"Complex | BigNumber | Fraction":r=>r.neg(),bigint:r=>-r,Unit:t.referToSelf(r=>n=>{var u=n.clone();return u.value=t.find(r,u.valueType())(n.value),u}),"Array | Matrix":t.referToSelf(r=>n=>Xn(n,r,!0))})}),Ol="addScalar",X2=["typed"],Q2=Be(Ol,X2,e=>{var{typed:t}=e;return t(Ol,{"number, number":Cl,"Complex, Complex":function(n,u){return n.add(u)},"BigNumber, BigNumber":function(n,u){return n.plus(u)},"bigint, bigint":function(n,u){return n+u},"Fraction, Fraction":function(n,u){return n.add(u)},"Unit, Unit":t.referToSelf(r=>(n,u)=>{if(n.value===null||n.value===void 0)throw new Error("Parameter x contains a unit with undefined value");if(u.value===null||u.value===void 0)throw new Error("Parameter y contains a unit with undefined value");if(!n.equalBase(u))throw new Error("Units do not match");var i=n.clone();return i.value=t.find(r,[i.valueType(),u.valueType()])(i.value,u.value),i.fixPrefix=!1,i})})}),Nl="subtractScalar",K2=["typed"],Z2=Be(Nl,K2,e=>{var{typed:t}=e;return t(Nl,{"number, number":_l,"Complex, Complex":function(n,u){return n.sub(u)},"BigNumber, BigNumber":function(n,u){return n.minus(u)},"bigint, bigint":function(n,u){return n-u},"Fraction, Fraction":function(n,u){return n.sub(u)},"Unit, Unit":t.referToSelf(r=>(n,u)=>{if(n.value===null||n.value===void 0)throw new Error("Parameter x contains a unit with undefined value");if(u.value===null||u.value===void 0)throw new Error("Parameter y contains a unit with undefined value");if(!n.equalBase(u))throw new Error("Units do not match");var i=n.clone();return i.value=t.find(r,[i.valueType(),u.valueType()])(i.value,u.value),i.fixPrefix=!1,i})})}),J2="matAlgo11xS0s",ev=["typed","equalScalar"],tv=Be(J2,ev,e=>{var{typed:t,equalScalar:r}=e;return function(u,i,a,s){var l=u._values,c=u._index,f=u._ptr,p=u._size,o=u._datatype;if(!l)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var d=p[0],m=p[1],h,b=r,g=0,w=a;typeof o=="string"&&(h=o,b=t.find(r,[h,h]),g=t.convert(0,h),i=t.convert(i,h),w=t.find(a,[h,h]));for(var v=[],D=[],y=[],E=0;E<m;E++){y[E]=D.length;for(var A=f[E],C=f[E+1],T=A;T<C;T++){var x=c[T],_=s?w(i,l[T]):w(l[T],i);b(_,g)||(D.push(x),v.push(_))}}return y[m]=D.length,u.createSparseMatrix({values:v,index:D,ptr:y,size:[d,m],datatype:h})}}),rv="matAlgo12xSfs",nv=["typed","DenseMatrix"],Ml=Be(rv,nv,e=>{var{typed:t,DenseMatrix:r}=e;return function(u,i,a,s){var l=u._values,c=u._index,f=u._ptr,p=u._size,o=u._datatype;if(!l)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var d=p[0],m=p[1],h,b=a;typeof o=="string"&&(h=o,i=t.convert(i,h),b=t.find(a,[h,h]));for(var g=[],w=[],v=[],D=0;D<m;D++){for(var y=D+1,E=f[D],A=f[D+1],C=E;C<A;C++){var T=c[C];w[T]=l[C],v[T]=y}for(var x=0;x<d;x++)D===0&&(g[x]=[]),v[x]===y?g[x][D]=s?b(i,w[x]):b(w[x],i):g[x][D]=s?b(i,0):b(0,i)}return new r({data:g,size:[d,m],datatype:h})}}),uv="matAlgo14xDs",iv=["typed"],Pl=Be(uv,iv,e=>{var{typed:t}=e;return function(u,i,a,s){var l=u._data,c=u._size,f=u._datatype,p,o=a;typeof f=="string"&&(p=f,i=t.convert(i,p),o=t.find(a,[p,p]));var d=c.length>0?r(o,0,c,c[0],l,i,s):[];return u.createDenseMatrix({data:d,size:Dt(c),datatype:p})};function r(n,u,i,a,s,l,c){var f=[];if(u===i.length-1)for(var p=0;p<a;p++)f[p]=c?n(l,s[p]):n(s[p],l);else for(var o=0;o<a;o++)f[o]=r(n,u+1,i,i[u+1],s[o],l,c);return f}}),av="matAlgo03xDSf",sv=["typed"],ov=Be(av,sv,e=>{var{typed:t}=e;return function(n,u,i,a){var s=n._data,l=n._size,c=n._datatype||n.getDataType(),f=u._values,p=u._index,o=u._ptr,d=u._size,m=u._datatype||u._data===void 0?u._datatype:u.getDataType();if(l.length!==d.length)throw new Le(l.length,d.length);if(l[0]!==d[0]||l[1]!==d[1])throw new RangeError("Dimension mismatch. Matrix A ("+l+") must match Matrix B ("+d+")");if(!f)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var h=l[0],b=l[1],g,w=0,v=i;typeof c=="string"&&c===m&&c!=="mixed"&&(g=c,w=t.convert(0,g),v=t.find(i,[g,g]));for(var D=[],y=0;y<h;y++)D[y]=[];for(var E=[],A=[],C=0;C<b;C++){for(var T=C+1,x=o[C],_=o[C+1],F=x;F<_;F++){var M=p[F];E[M]=a?v(f[F],s[M][C]):v(s[M][C],f[F]),A[M]=T}for(var B=0;B<h;B++)A[B]===T?D[B][C]=E[B]:D[B][C]=a?v(w,s[B][C]):v(s[B][C],w)}return n.createDenseMatrix({data:D,size:[h,b],datatype:c===n._datatype&&m===u._datatype?g:void 0})}}),cv="matAlgo05xSfSf",fv=["typed","equalScalar"],lv=Be(cv,fv,e=>{var{typed:t,equalScalar:r}=e;return function(u,i,a){var s=u._values,l=u._index,c=u._ptr,f=u._size,p=u._datatype||u._data===void 0?u._datatype:u.getDataType(),o=i._values,d=i._index,m=i._ptr,h=i._size,b=i._datatype||i._data===void 0?i._datatype:i.getDataType();if(f.length!==h.length)throw new Le(f.length,h.length);if(f[0]!==h[0]||f[1]!==h[1])throw new RangeError("Dimension mismatch. Matrix A ("+f+") must match Matrix B ("+h+")");var g=f[0],w=f[1],v,D=r,y=0,E=a;typeof p=="string"&&p===b&&p!=="mixed"&&(v=p,D=t.find(r,[v,v]),y=t.convert(0,v),E=t.find(a,[v,v]));var A=s&&o?[]:void 0,C=[],T=[],x=A?[]:void 0,_=A?[]:void 0,F=[],M=[],B,N,I,Z;for(N=0;N<w;N++){T[N]=C.length;var re=N+1;for(I=c[N],Z=c[N+1];I<Z;I++)B=l[I],C.push(B),F[B]=re,x&&(x[B]=s[I]);for(I=m[N],Z=m[N+1];I<Z;I++)B=d[I],F[B]!==re&&C.push(B),M[B]=re,_&&(_[B]=o[I]);if(A)for(I=T[N];I<C.length;){B=C[I];var ie=F[B],q=M[B];if(ie===re||q===re){var K=ie===re?x[B]:y,ce=q===re?_[B]:y,Y=E(K,ce);D(Y,y)?C.splice(I,1):(A.push(Y),I++)}}}return T[w]=C.length,u.createSparseMatrix({values:A,index:C,ptr:T,size:[g,w],datatype:p===u._datatype&&b===i._datatype?v:void 0})}}),dv="matAlgo13xDD",hv=["typed"],pv=Be(dv,hv,e=>{var{typed:t}=e;return function(u,i,a){var s=u._data,l=u._size,c=u._datatype,f=i._data,p=i._size,o=i._datatype,d=[];if(l.length!==p.length)throw new Le(l.length,p.length);for(var m=0;m<l.length;m++){if(l[m]!==p[m])throw new RangeError("Dimension mismatch. Matrix A ("+l+") must match Matrix B ("+p+")");d[m]=l[m]}var h,b=a;typeof c=="string"&&c===o&&(h=c,b=t.find(a,[h,h]));var g=d.length>0?r(b,0,d,d[0],s,f):[];return u.createDenseMatrix({data:g,size:d,datatype:h})};function r(n,u,i,a,s,l){var c=[];if(u===i.length-1)for(var f=0;f<a;f++)c[f]=n(s[f],l[f]);else for(var p=0;p<a;p++)c[p]=r(n,u+1,i,i[u+1],s[p],l[p]);return c}});function xt(e,t){if(Ir(e.size(),t.size()))return[e,t];var r=yl(e.size(),t.size());return[e,t].map(n=>mv(n,r))}function mv(e,t){return Ir(e.size(),t)?e:e.create(as(e.valueOf(),t),e.datatype())}var gv="matrixAlgorithmSuite",bv=["typed","matrix"],Bl=Be(gv,bv,e=>{var{typed:t,matrix:r}=e,n=pv({typed:t}),u=Pl({typed:t});return function(a){var s=a.elop,l=a.SD||a.DS,c;s?(c={"DenseMatrix, DenseMatrix":(d,m)=>n(...xt(d,m),s),"Array, Array":(d,m)=>n(...xt(r(d),r(m)),s).valueOf(),"Array, DenseMatrix":(d,m)=>n(...xt(r(d),m),s),"DenseMatrix, Array":(d,m)=>n(...xt(d,r(m)),s)},a.SS&&(c["SparseMatrix, SparseMatrix"]=(d,m)=>a.SS(...xt(d,m),s,!1)),a.DS&&(c["DenseMatrix, SparseMatrix"]=(d,m)=>a.DS(...xt(d,m),s,!1),c["Array, SparseMatrix"]=(d,m)=>a.DS(...xt(r(d),m),s,!1)),l&&(c["SparseMatrix, DenseMatrix"]=(d,m)=>l(...xt(m,d),s,!0),c["SparseMatrix, Array"]=(d,m)=>l(...xt(r(m),d),s,!0))):(c={"DenseMatrix, DenseMatrix":t.referToSelf(d=>(m,h)=>n(...xt(m,h),d)),"Array, Array":t.referToSelf(d=>(m,h)=>n(...xt(r(m),r(h)),d).valueOf()),"Array, DenseMatrix":t.referToSelf(d=>(m,h)=>n(...xt(r(m),h),d)),"DenseMatrix, Array":t.referToSelf(d=>(m,h)=>n(...xt(m,r(h)),d))},a.SS&&(c["SparseMatrix, SparseMatrix"]=t.referToSelf(d=>(m,h)=>a.SS(...xt(m,h),d,!1))),a.DS&&(c["DenseMatrix, SparseMatrix"]=t.referToSelf(d=>(m,h)=>a.DS(...xt(m,h),d,!1)),c["Array, SparseMatrix"]=t.referToSelf(d=>(m,h)=>a.DS(...xt(r(m),h),d,!1))),l&&(c["SparseMatrix, DenseMatrix"]=t.referToSelf(d=>(m,h)=>l(...xt(h,m),d,!0)),c["SparseMatrix, Array"]=t.referToSelf(d=>(m,h)=>l(...xt(r(h),m),d,!0))));var f=a.scalar||"any",p=a.Ds||a.Ss;p&&(s?(c["DenseMatrix,"+f]=(d,m)=>u(d,m,s,!1),c[f+", DenseMatrix"]=(d,m)=>u(m,d,s,!0),c["Array,"+f]=(d,m)=>u(r(d),m,s,!1).valueOf(),c[f+", Array"]=(d,m)=>u(r(m),d,s,!0).valueOf()):(c["DenseMatrix,"+f]=t.referToSelf(d=>(m,h)=>u(m,h,d,!1)),c[f+", DenseMatrix"]=t.referToSelf(d=>(m,h)=>u(h,m,d,!0)),c["Array,"+f]=t.referToSelf(d=>(m,h)=>u(r(m),h,d,!1).valueOf()),c[f+", Array"]=t.referToSelf(d=>(m,h)=>u(r(h),m,d,!0).valueOf())));var o=a.sS!==void 0?a.sS:a.Ss;return s?(a.Ss&&(c["SparseMatrix,"+f]=(d,m)=>a.Ss(d,m,s,!1)),o&&(c[f+", SparseMatrix"]=(d,m)=>o(m,d,s,!0))):(a.Ss&&(c["SparseMatrix,"+f]=t.referToSelf(d=>(m,h)=>a.Ss(m,h,d,!1))),o&&(c[f+", SparseMatrix"]=t.referToSelf(d=>(m,h)=>o(h,m,d,!0)))),s&&s.signatures&&Vb(c,s.signatures),c}}),yv="matAlgo01xDSid",vv=["typed"],Il=Be(yv,vv,e=>{var{typed:t}=e;return function(n,u,i,a){var s=n._data,l=n._size,c=n._datatype||n.getDataType(),f=u._values,p=u._index,o=u._ptr,d=u._size,m=u._datatype||u._data===void 0?u._datatype:u.getDataType();if(l.length!==d.length)throw new Le(l.length,d.length);if(l[0]!==d[0]||l[1]!==d[1])throw new RangeError("Dimension mismatch. Matrix A ("+l+") must match Matrix B ("+d+")");if(!f)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var h=l[0],b=l[1],g=typeof c=="string"&&c!=="mixed"&&c===m?c:void 0,w=g?t.find(i,[g,g]):i,v,D,y=[];for(v=0;v<h;v++)y[v]=[];var E=[],A=[];for(D=0;D<b;D++){for(var C=D+1,T=o[D],x=o[D+1],_=T;_<x;_++)v=p[_],E[v]=a?w(f[_],s[v][D]):w(s[v][D],f[_]),A[v]=C;for(v=0;v<h;v++)A[v]===C?y[v][D]=E[v]:y[v][D]=s[v][D]}return n.createDenseMatrix({data:y,size:[h,b],datatype:c===n._datatype&&m===u._datatype?g:void 0})}}),wv="matAlgo04xSidSid",Dv=["typed","equalScalar"],Ev=Be(wv,Dv,e=>{var{typed:t,equalScalar:r}=e;return function(u,i,a){var s=u._values,l=u._index,c=u._ptr,f=u._size,p=u._datatype||u._data===void 0?u._datatype:u.getDataType(),o=i._values,d=i._index,m=i._ptr,h=i._size,b=i._datatype||i._data===void 0?i._datatype:i.getDataType();if(f.length!==h.length)throw new Le(f.length,h.length);if(f[0]!==h[0]||f[1]!==h[1])throw new RangeError("Dimension mismatch. Matrix A ("+f+") must match Matrix B ("+h+")");var g=f[0],w=f[1],v,D=r,y=0,E=a;typeof p=="string"&&p===b&&p!=="mixed"&&(v=p,D=t.find(r,[v,v]),y=t.convert(0,v),E=t.find(a,[v,v]));var A=s&&o?[]:void 0,C=[],T=[],x=s&&o?[]:void 0,_=s&&o?[]:void 0,F=[],M=[],B,N,I,Z,re;for(N=0;N<w;N++){T[N]=C.length;var ie=N+1;for(Z=c[N],re=c[N+1],I=Z;I<re;I++)B=l[I],C.push(B),F[B]=ie,x&&(x[B]=s[I]);for(Z=m[N],re=m[N+1],I=Z;I<re;I++)if(B=d[I],F[B]===ie){if(x){var q=E(x[B],o[I]);D(q,y)?F[B]=null:x[B]=q}}else C.push(B),M[B]=ie,_&&(_[B]=o[I]);if(x&&_)for(I=T[N];I<C.length;)B=C[I],F[B]===ie?(A[I]=x[B],I++):M[B]===ie?(A[I]=_[B],I++):C.splice(I,1)}return T[w]=C.length,u.createSparseMatrix({values:A,index:C,ptr:T,size:[g,w],datatype:p===u._datatype&&b===i._datatype?v:void 0})}}),xv="matAlgo10xSids",Av=["typed","DenseMatrix"],Rl=Be(xv,Av,e=>{var{typed:t,DenseMatrix:r}=e;return function(u,i,a,s){var l=u._values,c=u._index,f=u._ptr,p=u._size,o=u._datatype;if(!l)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var d=p[0],m=p[1],h,b=a;typeof o=="string"&&(h=o,i=t.convert(i,h),b=t.find(a,[h,h]));for(var g=[],w=[],v=[],D=0;D<m;D++){for(var y=D+1,E=f[D],A=f[D+1],C=E;C<A;C++){var T=c[C];w[T]=l[C],v[T]=y}for(var x=0;x<d;x++)D===0&&(g[x]=[]),v[x]===y?g[x][D]=s?b(i,w[x]):b(w[x],i):g[x][D]=i}return new r({data:g,size:[d,m],datatype:h})}}),kl="subtract",Cv=["typed","matrix","equalScalar","subtractScalar","unaryMinus","DenseMatrix","concat"],_v=Be(kl,Cv,e=>{var{typed:t,matrix:r,equalScalar:n,subtractScalar:u,unaryMinus:i,DenseMatrix:a,concat:s}=e,l=Il({typed:t}),c=ov({typed:t}),f=lv({typed:t,equalScalar:n}),p=Rl({typed:t,DenseMatrix:a}),o=Ml({typed:t,DenseMatrix:a}),d=Bl({typed:t,matrix:r,concat:s});return t(kl,{"any, any":u},d({elop:u,SS:f,DS:l,SD:c,Ss:o,sS:p}))}),ql="concat",Tv=["typed","matrix","isInteger"],Sv=Be(ql,Tv,e=>{var{typed:t,matrix:r,isInteger:n}=e;return t(ql,{"...Array | Matrix | number | BigNumber":function(i){var a,s=i.length,l=-1,c,f=!1,p=[];for(a=0;a<s;a++){var o=i[a];if(Wt(o)&&(f=!0),et(o)||wt(o)){if(a!==s-1)throw new Error("Dimension must be specified as last argument");if(c=l,l=o.valueOf(),!n(l))throw new TypeError("Integer number expected for dimension");if(l<0||a>0&&l>c)throw new nn(l,c+1)}else{var d=Dt(o).valueOf(),m=sr(d);if(p[a]=d,c=l,l=m.length-1,a>0&&l!==c)throw new Le(c+1,l+1)}}if(p.length===0)throw new SyntaxError("At least one matrix expected");for(var h=p.shift();p.length;)h=bl(h,p.shift(),l);return f?r(h):h},"...string":function(i){return i.join("")}})}),Ll="zeros",Fv=["typed","config","matrix","BigNumber"],Ov=Be(Ll,Fv,e=>{var{typed:t,config:r,matrix:n,BigNumber:u}=e;return t(Ll,{"":function(){return r.matrix==="Array"?i([]):i([],"default")},"...number | BigNumber | string":function(c){var f=c[c.length-1];if(typeof f=="string"){var p=c.pop();return i(c,p)}else return r.matrix==="Array"?i(c):i(c,"default")},Array:i,Matrix:function(c){var f=c.storage();return i(c.valueOf(),f)},"Array | Matrix, string":function(c,f){return i(c.valueOf(),f)}});function i(l,c){var f=a(l),p=f?new u(0):0;if(s(l),c){var o=n(c);return l.length>0?o.resize(l,p):o}else{var d=[];return l.length>0?rs(d,l,p):d}}function a(l){var c=!1;return l.forEach(function(f,p,o){wt(f)&&(c=!0,o[p]=f.toNumber())}),c}function s(l){l.forEach(function(c){if(typeof c!="number"||!gt(c)||c<0)throw new Error("Parameters in function zeros must be positive integers")})}}),wn="Number of decimals in function round must be an integer",jl="round",Nv=["typed","config","matrix","equalScalar","zeros","BigNumber","DenseMatrix"],Mv=Be(jl,Nv,e=>{var{typed:t,config:r,matrix:n,equalScalar:u,zeros:i,BigNumber:a,DenseMatrix:s}=e,l=tv({typed:t,equalScalar:u}),c=Ml({typed:t,DenseMatrix:s}),f=Pl({typed:t});function p(o){return Math.abs(Wn(o).exponent)}return t(jl,{number:function(d){var m=Qn(d,p(r.relTol)),h=pn(d,m,r.relTol,r.absTol)?m:d;return Qn(h)},"number, number":function(d,m){var h=p(r.relTol);if(m>=h)return Qn(d,m);var b=Qn(d,h),g=pn(d,b,r.relTol,r.absTol)?b:d;return Qn(g,m)},"number, BigNumber":function(d,m){if(!m.isInteger())throw new TypeError(wn);return new a(d).toDecimalPlaces(m.toNumber())},Complex:function(d){return d.round()},"Complex, number":function(d,m){if(m%1)throw new TypeError(wn);return d.round(m)},"Complex, BigNumber":function(d,m){if(!m.isInteger())throw new TypeError(wn);var h=m.toNumber();return d.round(h)},BigNumber:function(d){var m=new a(d).toDecimalPlaces(p(r.relTol)),h=ss(d,m,r.relTol,r.absTol)?m:d;return h.toDecimalPlaces(0)},"BigNumber, BigNumber":function(d,m){if(!m.isInteger())throw new TypeError(wn);var h=p(r.relTol);if(m>=h)return d.toDecimalPlaces(m.toNumber());var b=d.toDecimalPlaces(h),g=ss(d,b,r.relTol,r.absTol)?b:d;return g.toDecimalPlaces(m.toNumber())},bigint:o=>o,"bigint, number":(o,d)=>o,"bigint, BigNumber":(o,d)=>o,Fraction:function(d){return d.round()},"Fraction, number":function(d,m){if(m%1)throw new TypeError(wn);return d.round(m)},"Fraction, BigNumber":function(d,m){if(!m.isInteger())throw new TypeError(wn);return d.round(m.toNumber())},"Unit, number, Unit":t.referToSelf(o=>function(d,m,h){var b=d.toNumeric(h);return h.multiply(o(b,m))}),"Unit, BigNumber, Unit":t.referToSelf(o=>(d,m,h)=>o(d,m.toNumber(),h)),"Array | Matrix, number | BigNumber, Unit":t.referToSelf(o=>(d,m,h)=>Xn(d,b=>o(b,m,h),!0)),"Array | Matrix | Unit, Unit":t.referToSelf(o=>(d,m)=>o(d,0,m)),"Array | Matrix":t.referToSelf(o=>d=>Xn(d,o,!0)),"SparseMatrix, number | BigNumber":t.referToSelf(o=>(d,m)=>l(d,m,o,!1)),"DenseMatrix, number | BigNumber":t.referToSelf(o=>(d,m)=>f(d,m,o,!1)),"Array, number | BigNumber":t.referToSelf(o=>(d,m)=>f(n(d),m,o,!1).valueOf()),"number | Complex | BigNumber | Fraction, SparseMatrix":t.referToSelf(o=>(d,m)=>u(d,0)?i(m.size(),m.storage()):c(m,d,o,!0)),"number | Complex | BigNumber | Fraction, DenseMatrix":t.referToSelf(o=>(d,m)=>u(d,0)?i(m.size(),m.storage()):f(m,d,o,!0)),"number | Complex | BigNumber | Fraction, Array":t.referToSelf(o=>(d,m)=>f(n(m),d,o,!0).valueOf())})}),$l="add",Pv=["typed","matrix","addScalar","equalScalar","DenseMatrix","SparseMatrix","concat"],Bv=Be($l,Pv,e=>{var{typed:t,matrix:r,addScalar:n,equalScalar:u,DenseMatrix:i,SparseMatrix:a,concat:s}=e,l=Il({typed:t}),c=Ev({typed:t,equalScalar:u}),f=Rl({typed:t,DenseMatrix:i}),p=Bl({typed:t,matrix:r,concat:s});return t($l,{"any, any":n,"any, any, ...any":t.referToSelf(o=>(d,m,h)=>{for(var b=o(d,m),g=0;g<h.length;g++)b=o(b,h[g]);return b})},p({elop:n,DS:l,SS:c,Ss:f}))}),os=Jy({config:Vn}),Iv=u2({}),Rv=l2({}),cs=p2({}),Kn=F2({Matrix:cs}),$t=ry({BigNumber:os,Complex:Iv,DenseMatrix:Kn,Fraction:Rv}),kv=Q2({typed:$t}),ti=R2({config:Vn,typed:$t}),qv=N2({typed:$t}),Lv=U2({typed:$t}),zl=L2({Matrix:cs,equalScalar:ti,typed:$t}),jv=Z2({typed:$t}),Zn=W2({DenseMatrix:Kn,Matrix:cs,SparseMatrix:zl,typed:$t}),$v=Ov({BigNumber:os,config:Vn,matrix:Zn,typed:$t}),Hl=Sv({isInteger:qv,matrix:Zn,typed:$t}),zv=Mv({BigNumber:os,DenseMatrix:Kn,config:Vn,equalScalar:ti,matrix:Zn,typed:$t,zeros:$v}),Hv=G2({typed:$t}),Uv=Bv({DenseMatrix:Kn,SparseMatrix:zl,addScalar:kv,concat:Hl,equalScalar:ti,matrix:Zn,typed:$t}),Vv=_v({DenseMatrix:Kn,concat:Hl,equalScalar:ti,matrix:Zn,subtractScalar:jv,typed:$t,unaryMinus:Hv}),ri={exports:{}},We={};/**
|
|
91
91
|
* @license React
|
|
92
92
|
* react-is.production.js
|
|
93
93
|
*
|
|
@@ -95,7 +95,7 @@ Example:
|
|
|
95
95
|
*
|
|
96
96
|
* This source code is licensed under the MIT license found in the
|
|
97
97
|
* LICENSE file in the root directory of this source tree.
|
|
98
|
-
*/var
|
|
98
|
+
*/var Ul;function Wv(){if(Ul)return We;Ul=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),o=Symbol.for("react.offscreen"),d=Symbol.for("react.client.reference");function m(h){if(typeof h=="object"&&h!==null){var b=h.$$typeof;switch(b){case e:switch(h=h.type,h){case r:case u:case n:case l:case c:return h;default:switch(h=h&&h.$$typeof,h){case a:case s:case p:case f:return h;case i:return h;default:return b}}case t:return b}}}return We.ContextConsumer=i,We.ContextProvider=a,We.Element=e,We.ForwardRef=s,We.Fragment=r,We.Lazy=p,We.Memo=f,We.Portal=t,We.Profiler=u,We.StrictMode=n,We.Suspense=l,We.SuspenseList=c,We.isContextConsumer=function(h){return m(h)===i},We.isContextProvider=function(h){return m(h)===a},We.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===e},We.isForwardRef=function(h){return m(h)===s},We.isFragment=function(h){return m(h)===r},We.isLazy=function(h){return m(h)===p},We.isMemo=function(h){return m(h)===f},We.isPortal=function(h){return m(h)===t},We.isProfiler=function(h){return m(h)===u},We.isStrictMode=function(h){return m(h)===n},We.isSuspense=function(h){return m(h)===l},We.isSuspenseList=function(h){return m(h)===c},We.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===r||h===u||h===n||h===l||h===c||h===o||typeof h=="object"&&h!==null&&(h.$$typeof===p||h.$$typeof===f||h.$$typeof===a||h.$$typeof===i||h.$$typeof===s||h.$$typeof===d||h.getModuleId!==void 0)},We.typeOf=m,We}var Ye={};/**
|
|
99
99
|
* @license React
|
|
100
100
|
* react-is.development.js
|
|
101
101
|
*
|
|
@@ -103,41 +103,41 @@ Example:
|
|
|
103
103
|
*
|
|
104
104
|
* This source code is licensed under the MIT license found in the
|
|
105
105
|
* LICENSE file in the root directory of this source tree.
|
|
106
|
-
*/var
|
|
106
|
+
*/var Vl;function Yv(){return Vl||(Vl=1,process.env.NODE_ENV!=="production"&&function(){function e(h){if(typeof h=="object"&&h!==null){var b=h.$$typeof;switch(b){case t:switch(h=h.type,h){case n:case i:case u:case c:case f:return h;default:switch(h=h&&h.$$typeof,h){case s:case l:case o:case p:return h;case a:return h;default:return b}}case r:return b}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),o=Symbol.for("react.lazy"),d=Symbol.for("react.offscreen"),m=Symbol.for("react.client.reference");Ye.ContextConsumer=a,Ye.ContextProvider=s,Ye.Element=t,Ye.ForwardRef=l,Ye.Fragment=n,Ye.Lazy=o,Ye.Memo=p,Ye.Portal=r,Ye.Profiler=i,Ye.StrictMode=u,Ye.Suspense=c,Ye.SuspenseList=f,Ye.isContextConsumer=function(h){return e(h)===a},Ye.isContextProvider=function(h){return e(h)===s},Ye.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===t},Ye.isForwardRef=function(h){return e(h)===l},Ye.isFragment=function(h){return e(h)===n},Ye.isLazy=function(h){return e(h)===o},Ye.isMemo=function(h){return e(h)===p},Ye.isPortal=function(h){return e(h)===r},Ye.isProfiler=function(h){return e(h)===i},Ye.isStrictMode=function(h){return e(h)===u},Ye.isSuspense=function(h){return e(h)===c},Ye.isSuspenseList=function(h){return e(h)===f},Ye.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===n||h===i||h===u||h===c||h===f||h===d||typeof h=="object"&&h!==null&&(h.$$typeof===o||h.$$typeof===p||h.$$typeof===s||h.$$typeof===a||h.$$typeof===l||h.$$typeof===m||h.getModuleId!==void 0)},Ye.typeOf=e}()),Ye}var Wl;function Gv(){return Wl||(Wl=1,process.env.NODE_ENV==="production"?ri.exports=Wv():ri.exports=Yv()),ri.exports}var ni=Gv();function Tr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Yl(e){if(At.isValidElement(e)||ni.isValidElementType(e)||!Tr(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Yl(e[r])}),t}function zt(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return Tr(e)&&Tr(t)&&Object.keys(t).forEach(u=>{At.isValidElement(t[u])||ni.isValidElementType(t[u])?n[u]=t[u]:Tr(t[u])&&Object.prototype.hasOwnProperty.call(e,u)&&Tr(e[u])?n[u]=zt(e[u],t[u],r):r.clone?n[u]=Tr(t[u])?Yl(t[u]):t[u]:n[u]=t[u]}),n}var ui={exports:{}},ii={exports:{}},je={};/** @license React v16.13.1
|
|
107
107
|
* react-is.production.min.js
|
|
108
108
|
*
|
|
109
109
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
110
110
|
*
|
|
111
111
|
* This source code is licensed under the MIT license found in the
|
|
112
112
|
* LICENSE file in the root directory of this source tree.
|
|
113
|
-
*/var
|
|
113
|
+
*/var Gl;function Xv(){if(Gl)return je;Gl=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,u=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,o=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function v(y){if(typeof y=="object"&&y!==null){var E=y.$$typeof;switch(E){case t:switch(y=y.type,y){case l:case c:case n:case i:case u:case p:return y;default:switch(y=y&&y.$$typeof,y){case s:case f:case m:case d:case a:return y;default:return E}}case r:return E}}}function D(y){return v(y)===c}return je.AsyncMode=l,je.ConcurrentMode=c,je.ContextConsumer=s,je.ContextProvider=a,je.Element=t,je.ForwardRef=f,je.Fragment=n,je.Lazy=m,je.Memo=d,je.Portal=r,je.Profiler=i,je.StrictMode=u,je.Suspense=p,je.isAsyncMode=function(y){return D(y)||v(y)===l},je.isConcurrentMode=D,je.isContextConsumer=function(y){return v(y)===s},je.isContextProvider=function(y){return v(y)===a},je.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===t},je.isForwardRef=function(y){return v(y)===f},je.isFragment=function(y){return v(y)===n},je.isLazy=function(y){return v(y)===m},je.isMemo=function(y){return v(y)===d},je.isPortal=function(y){return v(y)===r},je.isProfiler=function(y){return v(y)===i},je.isStrictMode=function(y){return v(y)===u},je.isSuspense=function(y){return v(y)===p},je.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===n||y===c||y===i||y===u||y===p||y===o||typeof y=="object"&&y!==null&&(y.$$typeof===m||y.$$typeof===d||y.$$typeof===a||y.$$typeof===s||y.$$typeof===f||y.$$typeof===b||y.$$typeof===g||y.$$typeof===w||y.$$typeof===h)},je.typeOf=v,je}var $e={};/** @license React v16.13.1
|
|
114
114
|
* react-is.development.js
|
|
115
115
|
*
|
|
116
116
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
117
117
|
*
|
|
118
118
|
* This source code is licensed under the MIT license found in the
|
|
119
119
|
* LICENSE file in the root directory of this source tree.
|
|
120
|
-
*/var
|
|
120
|
+
*/var Xl;function Qv(){return Xl||(Xl=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,u=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,o=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function v(k){return typeof k=="string"||typeof k=="function"||k===n||k===c||k===i||k===u||k===p||k===o||typeof k=="object"&&k!==null&&(k.$$typeof===m||k.$$typeof===d||k.$$typeof===a||k.$$typeof===s||k.$$typeof===f||k.$$typeof===b||k.$$typeof===g||k.$$typeof===w||k.$$typeof===h)}function D(k){if(typeof k=="object"&&k!==null){var W=k.$$typeof;switch(W){case t:var me=k.type;switch(me){case l:case c:case n:case i:case u:case p:return me;default:var tt=me&&me.$$typeof;switch(tt){case s:case f:case m:case d:case a:return tt;default:return W}}case r:return W}}}var y=l,E=c,A=s,C=a,T=t,x=f,_=n,F=m,M=d,B=r,N=i,I=u,Z=p,re=!1;function ie(k){return re||(re=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),q(k)||D(k)===l}function q(k){return D(k)===c}function K(k){return D(k)===s}function ce(k){return D(k)===a}function Y(k){return typeof k=="object"&&k!==null&&k.$$typeof===t}function se(k){return D(k)===f}function de(k){return D(k)===n}function he(k){return D(k)===m}function oe(k){return D(k)===d}function be(k){return D(k)===r}function ye(k){return D(k)===i}function ve(k){return D(k)===u}function L(k){return D(k)===p}$e.AsyncMode=y,$e.ConcurrentMode=E,$e.ContextConsumer=A,$e.ContextProvider=C,$e.Element=T,$e.ForwardRef=x,$e.Fragment=_,$e.Lazy=F,$e.Memo=M,$e.Portal=B,$e.Profiler=N,$e.StrictMode=I,$e.Suspense=Z,$e.isAsyncMode=ie,$e.isConcurrentMode=q,$e.isContextConsumer=K,$e.isContextProvider=ce,$e.isElement=Y,$e.isForwardRef=se,$e.isFragment=de,$e.isLazy=he,$e.isMemo=oe,$e.isPortal=be,$e.isProfiler=ye,$e.isStrictMode=ve,$e.isSuspense=L,$e.isValidElementType=v,$e.typeOf=D}()),$e}var Ql;function Kl(){return Ql||(Ql=1,process.env.NODE_ENV==="production"?ii.exports=Xv():ii.exports=Qv()),ii.exports}/*
|
|
121
121
|
object-assign
|
|
122
122
|
(c) Sindre Sorhus
|
|
123
123
|
@license MIT
|
|
124
|
-
*/var
|
|
125
|
-
Valid keys: `+JSON.stringify(Object.keys(
|
|
126
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar
|
|
127
|
-
`)):console.error([`MUI: The \`theme.${
|
|
128
|
-
`)));const s=u[a];return i>=0?s:typeof s=="number"?-s:`-${s}`}:typeof u=="function"?u:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${
|
|
129
|
-
`)),()=>{})}function As(e){return au(e,"spacing",8,"spacing")}function su(e,r){return typeof r=="string"||r==null?r:e(r)}function T3(e,r){return t=>e.reduce((n,u)=>(n[u]=su(r,t),n),{})}function S3(e,r,t,n){if(!r.includes(t))return null;const u=C3(t),i=T3(u,n),a=e[t];return Ar(e,a,i)}function wd(e,r){const t=As(e.theme);return Object.keys(e).map(n=>S3(e,r,n,t)).reduce(iu,{})}function st(e){return wd(e,mi)}st.propTypes=process.env.NODE_ENV!=="production"?mi.reduce((e,r)=>(e[r]=qr,e),{}):{},st.filterProps=mi;function ot(e){return wd(e,gi)}ot.propTypes=process.env.NODE_ENV!=="production"?gi.reduce((e,r)=>(e[r]=qr,e),{}):{},ot.filterProps=gi,process.env.NODE_ENV!=="production"&&_3.reduce((e,r)=>(e[r]=qr,e),{});function bi(...e){const r=e.reduce((n,u)=>(u.filterProps.forEach(i=>{n[i]=u}),n),{}),t=n=>Object.keys(n).reduce((u,i)=>r[i]?iu(u,r[i](n)):u,{});return t.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,u)=>Object.assign(n,u.propTypes),{}):{},t.filterProps=e.reduce((n,u)=>n.concat(u.filterProps),[]),t}function Qt(e){return typeof e!="number"?e:`${e}px solid`}function Kt(e,r){return ht({prop:e,themeKey:"borders",transform:r})}const F3=Kt("border",Qt),O3=Kt("borderTop",Qt),M3=Kt("borderRight",Qt),N3=Kt("borderBottom",Qt),P3=Kt("borderLeft",Qt),I3=Kt("borderColor"),B3=Kt("borderTopColor"),R3=Kt("borderRightColor"),q3=Kt("borderBottomColor"),k3=Kt("borderLeftColor"),L3=Kt("outline",Qt),j3=Kt("outlineColor"),yi=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const r=au(e.theme,"shape.borderRadius",4,"borderRadius"),t=n=>({borderRadius:su(r,n)});return Ar(e,e.borderRadius,t)}return null};yi.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:qr}:{},yi.filterProps=["borderRadius"],bi(F3,O3,M3,N3,P3,I3,B3,R3,q3,k3,yi,L3,j3);const vi=e=>{if(e.gap!==void 0&&e.gap!==null){const r=au(e.theme,"spacing",8,"gap"),t=n=>({gap:su(r,n)});return Ar(e,e.gap,t)}return null};vi.propTypes=process.env.NODE_ENV!=="production"?{gap:qr}:{},vi.filterProps=["gap"];const wi=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const r=au(e.theme,"spacing",8,"columnGap"),t=n=>({columnGap:su(r,n)});return Ar(e,e.columnGap,t)}return null};wi.propTypes=process.env.NODE_ENV!=="production"?{columnGap:qr}:{},wi.filterProps=["columnGap"];const Di=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const r=au(e.theme,"spacing",8,"rowGap"),t=n=>({rowGap:su(r,n)});return Ar(e,e.rowGap,t)}return null};Di.propTypes=process.env.NODE_ENV!=="production"?{rowGap:qr}:{},Di.filterProps=["rowGap"];const $3=ht({prop:"gridColumn"}),z3=ht({prop:"gridRow"}),H3=ht({prop:"gridAutoFlow"}),U3=ht({prop:"gridAutoColumns"}),V3=ht({prop:"gridAutoRows"}),W3=ht({prop:"gridTemplateColumns"}),Y3=ht({prop:"gridTemplateRows"}),G3=ht({prop:"gridTemplateAreas"}),X3=ht({prop:"gridArea"});bi(vi,wi,Di,$3,z3,H3,U3,V3,W3,Y3,G3,X3);function Cn(e,r){return r==="grey"?r:e}const Q3=ht({prop:"color",themeKey:"palette",transform:Cn}),K3=ht({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Cn}),Z3=ht({prop:"backgroundColor",themeKey:"palette",transform:Cn});bi(Q3,K3,Z3);function zt(e){return e<=1&&e!==0?`${e*100}%`:e}const J3=ht({prop:"width",transform:zt}),Cs=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const r=t=>{var u,i,a,s,l;const n=((a=(i=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:i.values)==null?void 0:a[t])||di[t];return n?((l=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:zt(t)}};return Ar(e,e.maxWidth,r)}return null};Cs.filterProps=["maxWidth"];const ew=ht({prop:"minWidth",transform:zt}),tw=ht({prop:"height",transform:zt}),rw=ht({prop:"maxHeight",transform:zt}),nw=ht({prop:"minHeight",transform:zt});ht({prop:"size",cssProperty:"width",transform:zt}),ht({prop:"size",cssProperty:"height",transform:zt});const uw=ht({prop:"boxSizing"});bi(J3,Cs,ew,tw,rw,nw,uw);const Ei={border:{themeKey:"borders",transform:Qt},borderTop:{themeKey:"borders",transform:Qt},borderRight:{themeKey:"borders",transform:Qt},borderBottom:{themeKey:"borders",transform:Qt},borderLeft:{themeKey:"borders",transform:Qt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Qt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:yi},color:{themeKey:"palette",transform:Cn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Cn},backgroundColor:{themeKey:"palette",transform:Cn},p:{style:ot},pt:{style:ot},pr:{style:ot},pb:{style:ot},pl:{style:ot},px:{style:ot},py:{style:ot},padding:{style:ot},paddingTop:{style:ot},paddingRight:{style:ot},paddingBottom:{style:ot},paddingLeft:{style:ot},paddingX:{style:ot},paddingY:{style:ot},paddingInline:{style:ot},paddingInlineStart:{style:ot},paddingInlineEnd:{style:ot},paddingBlock:{style:ot},paddingBlockStart:{style:ot},paddingBlockEnd:{style:ot},m:{style:st},mt:{style:st},mr:{style:st},mb:{style:st},ml:{style:st},mx:{style:st},my:{style:st},margin:{style:st},marginTop:{style:st},marginRight:{style:st},marginBottom:{style:st},marginLeft:{style:st},marginX:{style:st},marginY:{style:st},marginInline:{style:st},marginInlineStart:{style:st},marginInlineEnd:{style:st},marginBlock:{style:st},marginBlockStart:{style:st},marginBlockEnd:{style:st},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:vi},rowGap:{style:Di},columnGap:{style:wi},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:zt},maxWidth:{style:Cs},minWidth:{transform:zt},height:{transform:zt},maxHeight:{transform:zt},minHeight:{transform:zt},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function iw(...e){const r=e.reduce((n,u)=>n.concat(Object.keys(u)),[]),t=new Set(r);return e.every(n=>t.size===Object.keys(n).length)}function aw(e,r){return typeof e=="function"?e(r):e}function sw(){function e(t,n,u,i){const a={[t]:n,theme:u},s=i[t];if(!s)return{[t]:n};const{cssProperty:l=t,themeKey:c,transform:f,style:p}=s;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[t]:n};const o=hi(u,c)||{};return p?p(a):Ar(a,n,m=>{let h=pi(o,f,m);return m===h&&typeof m=="string"&&(h=pi(o,f,`${t}${m==="default"?"":xs(m)}`,m)),l===!1?h:{[l]:h}})}function r(t){const{sx:n,theme:u={},nested:i}=t||{};if(!n)return null;const a=u.unstable_sxConfig??Ei;function s(l){let c=l;if(typeof l=="function")c=l(u);else if(typeof l!="object")return l;if(!c)return null;const f=D3(u.breakpoints),p=Object.keys(f);let o=f;return Object.keys(c).forEach(d=>{const m=aw(c[d],u);if(m!=null)if(typeof m=="object")if(a[d])o=iu(o,e(d,m,u,a));else{const h=Ar({theme:u},m,b=>({[d]:b}));iw(h,m)?o[d]=r({sx:m,theme:u,nested:!0}):o=iu(o,h)}else o=iu(o,e(d,m,u,a))}),!i&&u.modularCssLayers?{"@layer sx":gd(u,yd(p,o))}:gd(u,yd(p,o))}return Array.isArray(n)?n.map(s):s(n)}return r}const _n=sw();_n.filterProps=["sx"];function ow(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}function cw(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),e.nonce!==void 0&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var fw=(function(){function e(t){var n=this;this._insertTag=function(u){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(u,i),n.tags.push(u)},this.isSpeedy=t.speedy===void 0?!0:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(n){n.forEach(this._insertTag)},r.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(cw(this));var u=this.tags[this.tags.length-1];if(this.isSpeedy){var i=ow(u);try{i.insertRule(n,i.cssRules.length)}catch{}}else u.appendChild(document.createTextNode(n));this.ctr++},r.flush=function(){this.tags.forEach(function(n){var u;return(u=n.parentNode)==null?void 0:u.removeChild(n)}),this.tags=[],this.ctr=0},e})(),Mt="-ms-",xi="-moz-",Be="-webkit-",Dd="comm",_s="rule",Ts="decl",lw="@import",Ed="@keyframes",dw="@layer",hw=Math.abs,Ai=String.fromCharCode,pw=Object.assign;function mw(e,r){return _t(e,0)^45?(((r<<2^_t(e,0))<<2^_t(e,1))<<2^_t(e,2))<<2^_t(e,3):0}function xd(e){return e.trim()}function gw(e,r){return(e=r.exec(e))?e[0]:e}function Re(e,r,t){return e.replace(r,t)}function Ss(e,r){return e.indexOf(r)}function _t(e,r){return e.charCodeAt(r)|0}function ou(e,r,t){return e.slice(r,t)}function hr(e){return e.length}function Fs(e){return e.length}function Ci(e,r){return r.push(e),e}function bw(e,r){return e.map(r).join("")}var _i=1,Tn=1,Ad=0,kt=0,mt=0,Sn="";function Ti(e,r,t,n,u,i,a){return{value:e,root:r,parent:t,type:n,props:u,children:i,line:_i,column:Tn,length:a,return:""}}function cu(e,r){return pw(Ti("",null,null,"",null,null,0),e,{length:-e.length},r)}function yw(){return mt}function vw(){return mt=kt>0?_t(Sn,--kt):0,Tn--,mt===10&&(Tn=1,_i--),mt}function Ht(){return mt=kt<Ad?_t(Sn,kt++):0,Tn++,mt===10&&(Tn=1,_i++),mt}function pr(){return _t(Sn,kt)}function Si(){return kt}function fu(e,r){return ou(Sn,e,r)}function lu(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Cd(e){return _i=Tn=1,Ad=hr(Sn=e),kt=0,[]}function _d(e){return Sn="",e}function Fi(e){return xd(fu(kt-1,Os(e===91?e+2:e===40?e+1:e)))}function ww(e){for(;(mt=pr())&&mt<33;)Ht();return lu(e)>2||lu(mt)>3?"":" "}function Dw(e,r){for(;--r&&Ht()&&!(mt<48||mt>102||mt>57&&mt<65||mt>70&&mt<97););return fu(e,Si()+(r<6&&pr()==32&&Ht()==32))}function Os(e){for(;Ht();)switch(mt){case e:return kt;case 34:case 39:e!==34&&e!==39&&Os(mt);break;case 40:e===41&&Os(e);break;case 92:Ht();break}return kt}function Ew(e,r){for(;Ht()&&e+mt!==57;)if(e+mt===84&&pr()===47)break;return"/*"+fu(r,kt-1)+"*"+Ai(e===47?e:Ht())}function xw(e){for(;!lu(pr());)Ht();return fu(e,kt)}function Aw(e){return _d(Oi("",null,null,null,[""],e=Cd(e),0,[0],e))}function Oi(e,r,t,n,u,i,a,s,l){for(var c=0,f=0,p=a,o=0,d=0,m=0,h=1,b=1,g=1,w=0,y="",D=u,v=i,E=n,A=y;b;)switch(m=w,w=Ht()){case 40:if(m!=108&&_t(A,p-1)==58){Ss(A+=Re(Fi(w),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:A+=Fi(w);break;case 9:case 10:case 13:case 32:A+=ww(m);break;case 92:A+=Dw(Si()-1,7);continue;case 47:switch(pr()){case 42:case 47:Ci(Cw(Ew(Ht(),Si()),r,t),l);break;default:A+="/"}break;case 123*h:s[c++]=hr(A)*g;case 125*h:case 59:case 0:switch(w){case 0:case 125:b=0;case 59+f:g==-1&&(A=Re(A,/\f/g,"")),d>0&&hr(A)-p&&Ci(d>32?Sd(A+";",n,t,p-1):Sd(Re(A," ","")+";",n,t,p-2),l);break;case 59:A+=";";default:if(Ci(E=Td(A,r,t,c,f,u,s,y,D=[],v=[],p),i),w===123)if(f===0)Oi(A,r,E,E,D,i,p,s,v);else switch(o===99&&_t(A,3)===110?100:o){case 100:case 108:case 109:case 115:Oi(e,E,E,n&&Ci(Td(e,E,E,0,0,u,s,y,u,D=[],p),v),u,v,p,s,n?D:v);break;default:Oi(A,E,E,E,[""],v,0,s,v)}}c=f=d=0,h=g=1,y=A="",p=a;break;case 58:p=1+hr(A),d=m;default:if(h<1){if(w==123)--h;else if(w==125&&h++==0&&vw()==125)continue}switch(A+=Ai(w),w*h){case 38:g=f>0?1:(A+="\f",-1);break;case 44:s[c++]=(hr(A)-1)*g,g=1;break;case 64:pr()===45&&(A+=Fi(Ht())),o=pr(),f=p=hr(y=A+=xw(Si())),w++;break;case 45:m===45&&hr(A)==2&&(h=0)}}return i}function Td(e,r,t,n,u,i,a,s,l,c,f){for(var p=u-1,o=u===0?i:[""],d=Fs(o),m=0,h=0,b=0;m<n;++m)for(var g=0,w=ou(e,p+1,p=hw(h=a[m])),y=e;g<d;++g)(y=xd(h>0?o[g]+" "+w:Re(w,/&\f/g,o[g])))&&(l[b++]=y);return Ti(e,r,t,u===0?_s:s,l,c,f)}function Cw(e,r,t){return Ti(e,r,t,Dd,Ai(yw()),ou(e,2,-2),0)}function Sd(e,r,t,n){return Ti(e,r,t,Ts,ou(e,0,n),ou(e,n+1,-1),n)}function Fn(e,r){for(var t="",n=Fs(e),u=0;u<n;u++)t+=r(e[u],u,e,r)||"";return t}function _w(e,r,t,n){switch(e.type){case dw:if(e.children.length)break;case lw:case Ts:return e.return=e.return||e.value;case Dd:return"";case Ed:return e.return=e.value+"{"+Fn(e.children,n)+"}";case _s:e.value=e.props.join(",")}return hr(t=Fn(e.children,n))?e.return=e.value+"{"+t+"}":""}function Tw(e){var r=Fs(e);return function(t,n,u,i){for(var a="",s=0;s<r;s++)a+=e[s](t,n,u,i)||"";return a}}function Sw(e){return function(r){r.root||(r=r.return)&&e(r)}}function Fd(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var Fw=function(r,t,n){for(var u=0,i=0;u=i,i=pr(),u===38&&i===12&&(t[n]=1),!lu(i);)Ht();return fu(r,kt)},Ow=function(r,t){var n=-1,u=44;do switch(lu(u)){case 0:u===38&&pr()===12&&(t[n]=1),r[n]+=Fw(kt-1,t,n);break;case 2:r[n]+=Fi(u);break;case 4:if(u===44){r[++n]=pr()===58?"&\f":"",t[n]=r[n].length;break}default:r[n]+=Ai(u)}while(u=Ht());return r},Mw=function(r,t){return _d(Ow(Cd(r),t))},Od=new WeakMap,Nw=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var t=r.value,n=r.parent,u=r.column===n.column&&r.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(r.props.length===1&&t.charCodeAt(0)!==58&&!Od.get(n))&&!u){Od.set(r,!0);for(var i=[],a=Mw(t,i),s=n.props,l=0,c=0;l<a.length;l++)for(var f=0;f<s.length;f++,c++)r.props[c]=i[l]?a[l].replace(/&\f/g,s[f]):s[f]+" "+a[l]}}},Pw=function(r){if(r.type==="decl"){var t=r.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(r.return="",r.value="")}};function Md(e,r){switch(mw(e,r)){case 5103:return Be+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Be+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Be+e+xi+e+Mt+e+e;case 6828:case 4268:return Be+e+Mt+e+e;case 6165:return Be+e+Mt+"flex-"+e+e;case 5187:return Be+e+Re(e,/(\w+).+(:[^]+)/,Be+"box-$1$2"+Mt+"flex-$1$2")+e;case 5443:return Be+e+Mt+"flex-item-"+Re(e,/flex-|-self/,"")+e;case 4675:return Be+e+Mt+"flex-line-pack"+Re(e,/align-content|flex-|-self/,"")+e;case 5548:return Be+e+Mt+Re(e,"shrink","negative")+e;case 5292:return Be+e+Mt+Re(e,"basis","preferred-size")+e;case 6060:return Be+"box-"+Re(e,"-grow","")+Be+e+Mt+Re(e,"grow","positive")+e;case 4554:return Be+Re(e,/([^-])(transform)/g,"$1"+Be+"$2")+e;case 6187:return Re(Re(Re(e,/(zoom-|grab)/,Be+"$1"),/(image-set)/,Be+"$1"),e,"")+e;case 5495:case 3959:return Re(e,/(image-set\([^]*)/,Be+"$1$`$1");case 4968:return Re(Re(e,/(.+:)(flex-)?(.*)/,Be+"box-pack:$3"+Mt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Be+e+e;case 4095:case 3583:case 4068:case 2532:return Re(e,/(.+)-inline(.+)/,Be+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(hr(e)-1-r>6)switch(_t(e,r+1)){case 109:if(_t(e,r+4)!==45)break;case 102:return Re(e,/(.+:)(.+)-([^]+)/,"$1"+Be+"$2-$3$1"+xi+(_t(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~Ss(e,"stretch")?Md(Re(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(_t(e,r+1)!==115)break;case 6444:switch(_t(e,hr(e)-3-(~Ss(e,"!important")&&10))){case 107:return Re(e,":",":"+Be)+e;case 101:return Re(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Be+(_t(e,14)===45?"inline-":"")+"box$3$1"+Be+"$2$3$1"+Mt+"$2box$3")+e}break;case 5936:switch(_t(e,r+11)){case 114:return Be+e+Mt+Re(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Be+e+Mt+Re(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Be+e+Mt+Re(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Be+e+Mt+e+e}return e}var Iw=function(r,t,n,u){if(r.length>-1&&!r.return)switch(r.type){case Ts:r.return=Md(r.value,r.length);break;case Ed:return Fn([cu(r,{value:Re(r.value,"@","@"+Be)})],u);case _s:if(r.length)return bw(r.props,function(i){switch(gw(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Fn([cu(r,{props:[Re(i,/:(read-\w+)/,":"+xi+"$1")]})],u);case"::placeholder":return Fn([cu(r,{props:[Re(i,/:(plac\w+)/,":"+Be+"input-$1")]}),cu(r,{props:[Re(i,/:(plac\w+)/,":"+xi+"$1")]}),cu(r,{props:[Re(i,/:(plac\w+)/,Mt+"input-$1")]})],u)}return""})}},Bw=[Iw],Rw=function(r){var t=r.key;if(t==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(h){var b=h.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var u=r.stylisPlugins||Bw,i={},a,s=[];a=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(h){for(var b=h.getAttribute("data-emotion").split(" "),g=1;g<b.length;g++)i[b[g]]=!0;s.push(h)});var l,c=[Nw,Pw];{var f,p=[_w,Sw(function(h){f.insert(h)})],o=Tw(c.concat(u,p)),d=function(b){return Fn(Aw(b),o)};l=function(b,g,w,y){f=w,d(b?b+"{"+g.styles+"}":g.styles),y&&(m.inserted[g.name]=!0)}}var m={key:t,sheet:new fw({key:t,container:a,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:i,registered:{},insert:l};return m.sheet.hydrate(s),m},qw=!0;function kw(e,r,t){var n="";return t.split(" ").forEach(function(u){e[u]!==void 0?r.push(e[u]+";"):u&&(n+=u+" ")}),n}var Nd=function(r,t,n){var u=r.key+"-"+t.name;(n===!1||qw===!1)&&r.registered[u]===void 0&&(r.registered[u]=t.styles)},Lw=function(r,t,n){Nd(r,t,n);var u=r.key+"-"+t.name;if(r.inserted[t.name]===void 0){var i=t;do r.insert(t===i?"."+u:"",i,r.sheet,!0),i=i.next;while(i!==void 0)}};function jw(e){for(var r=0,t,n=0,u=e.length;u>=4;++n,u-=4)t=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(t&65535)*1540483477+((t>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(u){case 3:r^=(e.charCodeAt(n+2)&255)<<16;case 2:r^=(e.charCodeAt(n+1)&255)<<8;case 1:r^=e.charCodeAt(n)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var $w={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},zw=/[A-Z]|^ms/g,Hw=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Pd=function(r){return r.charCodeAt(1)===45},Id=function(r){return r!=null&&typeof r!="boolean"},Ms=Fd(function(e){return Pd(e)?e:e.replace(zw,"-$&").toLowerCase()}),Bd=function(r,t){switch(r){case"animation":case"animationName":if(typeof t=="string")return t.replace(Hw,function(n,u,i){return mr={name:u,styles:i,next:mr},u})}return $w[r]!==1&&!Pd(r)&&typeof t=="number"&&t!==0?t+"px":t};function du(e,r,t){if(t==null)return"";var n=t;if(n.__emotion_styles!==void 0)return n;switch(typeof t){case"boolean":return"";case"object":{var u=t;if(u.anim===1)return mr={name:u.name,styles:u.styles,next:mr},u.name;var i=t;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)mr={name:a.name,styles:a.styles,next:mr},a=a.next;var s=i.styles+";";return s}return Uw(e,r,t)}case"function":{if(e!==void 0){var l=mr,c=t(e);return mr=l,du(e,r,c)}break}}var f=t;if(r==null)return f;var p=r[f];return p!==void 0?p:f}function Uw(e,r,t){var n="";if(Array.isArray(t))for(var u=0;u<t.length;u++)n+=du(e,r,t[u])+";";else for(var i in t){var a=t[i];if(typeof a!="object"){var s=a;r!=null&&r[s]!==void 0?n+=i+"{"+r[s]+"}":Id(s)&&(n+=Ms(i)+":"+Bd(i,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(r==null||r[a[0]]===void 0))for(var l=0;l<a.length;l++)Id(a[l])&&(n+=Ms(i)+":"+Bd(i,a[l])+";");else{var c=du(e,r,a);switch(i){case"animation":case"animationName":{n+=Ms(i)+":"+c+";";break}default:n+=i+"{"+c+"}"}}}return n}var Rd=/label:\s*([^\s;{]+)\s*(;|$)/g,mr;function qd(e,r,t){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,u="";mr=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,u+=du(t,r,i);else{var a=i;u+=a[0]}for(var s=1;s<e.length;s++)if(u+=du(t,r,e[s]),n){var l=i;u+=l[s]}Rd.lastIndex=0;for(var c="",f;(f=Rd.exec(u))!==null;)c+="-"+f[1];var p=jw(u)+c;return{name:p,styles:u,next:mr}}var Vw=function(r){return r()},Ww=gt.useInsertionEffect?gt.useInsertionEffect:!1,Yw=Ww||Vw,kd=gt.createContext(typeof HTMLElement<"u"?Rw({key:"css"}):null);kd.Provider;var Gw=function(r){return Ge.forwardRef(function(t,n){var u=Ge.useContext(kd);return r(t,u,n)})},Xw=gt.createContext({}),Qw=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Kw=Fd(function(e){return Qw.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Zw=Kw,Jw=function(r){return r!=="theme"},Ld=function(r){return typeof r=="string"&&r.charCodeAt(0)>96?Zw:Jw},jd=function(r,t,n){var u;if(t){var i=t.shouldForwardProp;u=r.__emotion_forwardProp&&i?function(a){return r.__emotion_forwardProp(a)&&i(a)}:i}return typeof u!="function"&&n&&(u=r.__emotion_forwardProp),u},eD=function(r){var t=r.cache,n=r.serialized,u=r.isStringTag;return Nd(t,n,u),Yw(function(){return Lw(t,n,u)}),null},tD=function e(r,t){var n=r.__emotion_real===r,u=n&&r.__emotion_base||r,i,a;t!==void 0&&(i=t.label,a=t.target);var s=jd(r,t,n),l=s||Ld(u),c=!l("as");return function(){var f=arguments,p=n&&r.__emotion_styles!==void 0?r.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),f[0]==null||f[0].raw===void 0)p.push.apply(p,f);else{var o=f[0];p.push(o[0]);for(var d=f.length,m=1;m<d;m++)p.push(f[m],o[m])}var h=Gw(function(b,g,w){var y=c&&b.as||u,D="",v=[],E=b;if(b.theme==null){E={};for(var A in b)E[A]=b[A];E.theme=gt.useContext(Xw)}typeof b.className=="string"?D=kw(g.registered,v,b.className):b.className!=null&&(D=b.className+" ");var C=qd(p.concat(v),g.registered,E);D+=g.key+"-"+C.name,a!==void 0&&(D+=" "+a);var T=c&&s===void 0?Ld(y):l,x={};for(var _ in b)c&&_==="as"||T(_)&&(x[_]=b[_]);return x.className=D,w&&(x.ref=w),gt.createElement(gt.Fragment,null,gt.createElement(eD,{cache:g,serialized:C,isStringTag:typeof y=="string"}),gt.createElement(y,x))});return h.displayName=i!==void 0?i:"Styled("+(typeof u=="string"?u:u.displayName||u.name||"Component")+")",h.defaultProps=r.defaultProps,h.__emotion_real=h,h.__emotion_base=u,h.__emotion_styles=p,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return"."+a}}),h.withComponent=function(b,g){var w=e(b,hn({},t,g,{shouldForwardProp:jd(h,g,!0)}));return w.apply(void 0,p)},h}},rD=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Ns=tD.bind(null);rD.forEach(function(e){Ns[e]=Ns(e)});/**
|
|
130
|
-
* @mui/styled-engine v6.
|
|
124
|
+
*/var fs,Zl;function Kv(){if(Zl)return fs;Zl=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function u(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var l=Object.getOwnPropertyNames(a).map(function(f){return a[f]});if(l.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(f){c[f]=f}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return fs=u()?Object.assign:function(i,a){for(var s,l=n(i),c,f=1;f<arguments.length;f++){s=Object(arguments[f]);for(var p in s)t.call(s,p)&&(l[p]=s[p]);if(e){c=e(s);for(var o=0;o<c.length;o++)r.call(s,c[o])&&(l[c[o]]=s[c[o]])}}return l},fs}var ls,Jl;function ds(){if(Jl)return ls;Jl=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ls=e,ls}var hs,ed;function td(){return ed||(ed=1,hs=Function.call.bind(Object.prototype.hasOwnProperty)),hs}var ps,rd;function Zv(){if(rd)return ps;rd=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=ds(),r={},n=td();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function u(i,a,s,l,c){if(process.env.NODE_ENV!=="production"){for(var f in i)if(n(i,f)){var p;try{if(typeof i[f]!="function"){var o=Error((l||"React class")+": "+s+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw o.name="Invariant Violation",o}p=i[f](a,f,l,s,null,t)}catch(m){p=m}if(p&&!(p instanceof Error)&&e((l||"React class")+": type specification of "+s+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in r)){r[p.message]=!0;var d=c?c():"";e("Failed "+s+" type: "+p.message+(d??""))}}}}return u.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},ps=u,ps}var ms,nd;function Jv(){if(nd)return ms;nd=1;var e=Kl(),t=Kv(),r=ds(),n=td(),u=Zv(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var l="Warning: "+s;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function a(){return null}return ms=function(s,l){var c=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function p(q){var K=q&&(c&&q[c]||q[f]);if(typeof K=="function")return K}var o="<<anonymous>>",d={array:g("array"),bigint:g("bigint"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:w(),arrayOf:v,element:D(),elementType:y(),instanceOf:E,node:x(),objectOf:C,oneOf:A,oneOfType:T,shape:F,exact:M};function m(q,K){return q===K?q!==0||1/q===1/K:q!==q&&K!==K}function h(q,K){this.message=q,this.data=K&&typeof K=="object"?K:{},this.stack=""}h.prototype=Error.prototype;function b(q){if(process.env.NODE_ENV!=="production")var K={},ce=0;function Y(de,he,oe,be,ye,ve,L){if(be=be||o,ve=ve||oe,L!==r){if(l){var k=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw k.name="Invariant Violation",k}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var W=be+":"+oe;!K[W]&&ce<3&&(i("You are manually calling a React.PropTypes validation function for the `"+ve+"` prop on `"+be+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),K[W]=!0,ce++)}}return he[oe]==null?de?he[oe]===null?new h("The "+ye+" `"+ve+"` is marked as required "+("in `"+be+"`, but its value is `null`.")):new h("The "+ye+" `"+ve+"` is marked as required in "+("`"+be+"`, but its value is `undefined`.")):null:q(he,oe,be,ye,ve)}var se=Y.bind(null,!1);return se.isRequired=Y.bind(null,!0),se}function g(q){function K(ce,Y,se,de,he,oe){var be=ce[Y],ye=I(be);if(ye!==q){var ve=Z(be);return new h("Invalid "+de+" `"+he+"` of type "+("`"+ve+"` supplied to `"+se+"`, expected ")+("`"+q+"`."),{expectedType:q})}return null}return b(K)}function w(){return b(a)}function v(q){function K(ce,Y,se,de,he){if(typeof q!="function")return new h("Property `"+he+"` of component `"+se+"` has invalid PropType notation inside arrayOf.");var oe=ce[Y];if(!Array.isArray(oe)){var be=I(oe);return new h("Invalid "+de+" `"+he+"` of type "+("`"+be+"` supplied to `"+se+"`, expected an array."))}for(var ye=0;ye<oe.length;ye++){var ve=q(oe,ye,se,de,he+"["+ye+"]",r);if(ve instanceof Error)return ve}return null}return b(K)}function D(){function q(K,ce,Y,se,de){var he=K[ce];if(!s(he)){var oe=I(he);return new h("Invalid "+se+" `"+de+"` of type "+("`"+oe+"` supplied to `"+Y+"`, expected a single ReactElement."))}return null}return b(q)}function y(){function q(K,ce,Y,se,de){var he=K[ce];if(!e.isValidElementType(he)){var oe=I(he);return new h("Invalid "+se+" `"+de+"` of type "+("`"+oe+"` supplied to `"+Y+"`, expected a single ReactElement type."))}return null}return b(q)}function E(q){function K(ce,Y,se,de,he){if(!(ce[Y]instanceof q)){var oe=q.name||o,be=ie(ce[Y]);return new h("Invalid "+de+" `"+he+"` of type "+("`"+be+"` supplied to `"+se+"`, expected ")+("instance of `"+oe+"`."))}return null}return b(K)}function A(q){if(!Array.isArray(q))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function K(ce,Y,se,de,he){for(var oe=ce[Y],be=0;be<q.length;be++)if(m(oe,q[be]))return null;var ye=JSON.stringify(q,function(L,k){var W=Z(k);return W==="symbol"?String(k):k});return new h("Invalid "+de+" `"+he+"` of value `"+String(oe)+"` "+("supplied to `"+se+"`, expected one of "+ye+"."))}return b(K)}function C(q){function K(ce,Y,se,de,he){if(typeof q!="function")return new h("Property `"+he+"` of component `"+se+"` has invalid PropType notation inside objectOf.");var oe=ce[Y],be=I(oe);if(be!=="object")return new h("Invalid "+de+" `"+he+"` of type "+("`"+be+"` supplied to `"+se+"`, expected an object."));for(var ye in oe)if(n(oe,ye)){var ve=q(oe,ye,se,de,he+"."+ye,r);if(ve instanceof Error)return ve}return null}return b(K)}function T(q){if(!Array.isArray(q))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var K=0;K<q.length;K++){var ce=q[K];if(typeof ce!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+re(ce)+" at index "+K+"."),a}function Y(se,de,he,oe,be){for(var ye=[],ve=0;ve<q.length;ve++){var L=q[ve],k=L(se,de,he,oe,be,r);if(k==null)return null;k.data&&n(k.data,"expectedType")&&ye.push(k.data.expectedType)}var W=ye.length>0?", expected one of type ["+ye.join(", ")+"]":"";return new h("Invalid "+oe+" `"+be+"` supplied to "+("`"+he+"`"+W+"."))}return b(Y)}function x(){function q(K,ce,Y,se,de){return B(K[ce])?null:new h("Invalid "+se+" `"+de+"` supplied to "+("`"+Y+"`, expected a ReactNode."))}return b(q)}function _(q,K,ce,Y,se){return new h((q||"React class")+": "+K+" type `"+ce+"."+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+se+"`.")}function F(q){function K(ce,Y,se,de,he){var oe=ce[Y],be=I(oe);if(be!=="object")return new h("Invalid "+de+" `"+he+"` of type `"+be+"` "+("supplied to `"+se+"`, expected `object`."));for(var ye in q){var ve=q[ye];if(typeof ve!="function")return _(se,de,he,ye,Z(ve));var L=ve(oe,ye,se,de,he+"."+ye,r);if(L)return L}return null}return b(K)}function M(q){function K(ce,Y,se,de,he){var oe=ce[Y],be=I(oe);if(be!=="object")return new h("Invalid "+de+" `"+he+"` of type `"+be+"` "+("supplied to `"+se+"`, expected `object`."));var ye=t({},ce[Y],q);for(var ve in ye){var L=q[ve];if(n(q,ve)&&typeof L!="function")return _(se,de,he,ve,Z(L));if(!L)return new h("Invalid "+de+" `"+he+"` key `"+ve+"` supplied to `"+se+"`.\nBad object: "+JSON.stringify(ce[Y],null," ")+`
|
|
125
|
+
Valid keys: `+JSON.stringify(Object.keys(q),null," "));var k=L(oe,ve,se,de,he+"."+ve,r);if(k)return k}return null}return b(K)}function B(q){switch(typeof q){case"number":case"string":case"undefined":return!0;case"boolean":return!q;case"object":if(Array.isArray(q))return q.every(B);if(q===null||s(q))return!0;var K=p(q);if(K){var ce=K.call(q),Y;if(K!==q.entries){for(;!(Y=ce.next()).done;)if(!B(Y.value))return!1}else for(;!(Y=ce.next()).done;){var se=Y.value;if(se&&!B(se[1]))return!1}}else return!1;return!0;default:return!1}}function N(q,K){return q==="symbol"?!0:K?K["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&K instanceof Symbol:!1}function I(q){var K=typeof q;return Array.isArray(q)?"array":q instanceof RegExp?"object":N(K,q)?"symbol":K}function Z(q){if(typeof q>"u"||q===null)return""+q;var K=I(q);if(K==="object"){if(q instanceof Date)return"date";if(q instanceof RegExp)return"regexp"}return K}function re(q){var K=Z(q);switch(K){case"array":case"object":return"an "+K;case"boolean":case"date":case"regexp":return"a "+K;default:return K}}function ie(q){return!q.constructor||!q.constructor.name?o:q.constructor.name}return d.checkPropTypes=u,d.resetWarningCache=u.resetWarningCache,d.PropTypes=d,d},ms}var gs,ud;function e3(){if(ud)return gs;ud=1;var e=ds();function t(){}function r(){}return r.resetWarningCache=t,gs=function(){function n(a,s,l,c,f,p){if(p!==e){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}n.isRequired=n;function u(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:u,element:n,elementType:n,instanceOf:u,node:n,objectOf:u,oneOf:u,oneOfType:u,shape:u,exact:u,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},gs}var id;function ad(){if(id)return ui.exports;if(id=1,process.env.NODE_ENV!=="production"){var e=Kl(),t=!0;ui.exports=Jv()(e.isElement,t)}else ui.exports=e3()();return ui.exports}var t3=ad();const Ne=bu(t3);function $r(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function sd(e,t=""){return e.displayName||e.name||t}function od(e,t,r){const n=sd(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function r3(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return sd(e,"Component");if(typeof e=="object")switch(e.$$typeof){case ni.ForwardRef:return od(e,e.render,"ForwardRef");case ni.Memo:return od(e,e.type,"memo");default:return}}}function un(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":$r(7));return e.charAt(0).toUpperCase()+e.slice(1)}function bs(e,t){const r={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const u=n;if(u==="components"||u==="slots")r[u]={...e[u],...r[u]};else if(u==="componentsProps"||u==="slotProps"){const i=e[u],a=t[u];if(!a)r[u]=i||{};else if(!i)r[u]=a;else{r[u]={...a};for(const s in i)if(Object.prototype.hasOwnProperty.call(i,s)){const l=s;r[u][l]=bs(i[l],a[l])}}}else r[u]===void 0&&(r[u]=e[u])}return r}function n3(e,t,r=void 0){const n={};for(const u in e){const i=e[u];let a="",s=!0;for(let l=0;l<i.length;l+=1){const c=i[l];c&&(a+=(s===!0?"":" ")+t(c),s=!1,r&&r[c]&&(a+=" "+r[c]))}n[u]=a}return n}const cd=e=>e,u3=(()=>{let e=cd;return{configure(t){e=t},generate(t){return e(t)},reset(){e=cd}}})(),i3={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function ys(e,t,r="Mui"){const n=i3[t];return n?`${r}-${n}`:`${u3.generate(e)}-${t}`}function a3(e,t,r="Mui"){const n={};return t.forEach(u=>{n[u]=ys(e,u,r)}),n}function s3(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function fd(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var u=e.length;for(t=0;t<u;t++)e[t]&&(r=fd(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function o3(){for(var e,t,r=0,n="",u=arguments.length;r<u;r++)(e=arguments[r])&&(t=fd(e))&&(n&&(n+=" "),n+=t);return n}function Jn(e,t){return t?zt(e,t,{clone:!1}):e}const zr=process.env.NODE_ENV!=="production"?Ne.oneOfType([Ne.number,Ne.string,Ne.object,Ne.array]):{};function c3(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,u)=>{var a,s;const i=/min-width:\s*([0-9.]+)/;return+(((a=n.match(i))==null?void 0:a[1])||0)-+(((s=u.match(i))==null?void 0:s[1])||0)});return r.length?r.reduce((n,u)=>{const i=t[u];return delete n[u],n[u]=i,n},{...t}):t}function f3(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function l3(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
126
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:$r(18,`(${t})`));return null}const[,n,u]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(u).up(i)}function d3(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(i,a){i.up=(...s)=>t(e.breakpoints.up(...s),a),i.down=(...s)=>t(e.breakpoints.down(...s),a),i.between=(...s)=>t(e.breakpoints.between(...s),a),i.only=(...s)=>t(e.breakpoints.only(...s),a),i.not=(...s)=>{const l=t(e.breakpoints.not(...s),a);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const n={},u=i=>(r(n,i),n);return r(u),{...e,containerQueries:u}}const ai={xs:0,sm:600,md:900,lg:1200,xl:1536},ld={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${ai[e]}px)`},h3={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:ai[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Sr(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||ld;return t.reduce((a,s,l)=>(a[i.up(i.keys[l])]=r(t[l]),a),{})}if(typeof t=="object"){const i=n.breakpoints||ld;return Object.keys(t).reduce((a,s)=>{if(f3(i.keys,s)){const l=l3(n.containerQueries?n:h3,s);l&&(a[l]=r(t[s],s))}else if(Object.keys(i.values||ai).includes(s)){const l=i.up(s);a[l]=r(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return r(t)}function p3(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,u)=>{const i=e.up(u);return n[i]={},n},{}))||{}}function m3(e,t){return e.reduce((r,n)=>{const u=r[n];return(!u||Object.keys(u).length===0)&&delete r[n],r},t)}function si(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((u,i)=>u&&u[i]?u[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,u)=>n&&n[u]!=null?n[u]:null,e)}function oi(e,t,r,n=r){let u;return typeof e=="function"?u=e(r):Array.isArray(e)?u=e[r]||n:u=si(e,r)||n,t&&(u=t(u,n,e)),u}function mt(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:u}=e,i=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,c=si(l,n)||{};return Sr(a,s,p=>{let o=oi(c,u,p);return p===o&&typeof p=="string"&&(o=oi(c,u,`${t}${p==="default"?"":un(p)}`,p)),r===!1?o:{[r]:o}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:zr}:{},i.filterProps=[t],i}function g3(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const b3={m:"margin",p:"padding"},y3={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},dd={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},v3=g3(e=>{if(e.length>2)if(dd[e])e=dd[e];else return[e];const[t,r]=e.split(""),n=b3[t],u=y3[r]||"";return Array.isArray(u)?u.map(i=>n+i):[n+u]}),ci=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],fi=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],w3=[...ci,...fi];function eu(e,t,r,n){const u=si(e,t,!0)??r;return typeof u=="number"||typeof u=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`),typeof u=="string"?`calc(${i} * ${u})`:u*i):Array.isArray(u)?i=>{if(typeof i=="string")return i;const a=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>u.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(u)}.`,`${a} > ${u.length-1}, you need to add the missing values.`].join(`
|
|
127
|
+
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
128
|
+
`)));const s=u[a];return i>=0?s:typeof s=="number"?-s:`-${s}`}:typeof u=="function"?u:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${u}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
129
|
+
`)),()=>{})}function vs(e){return eu(e,"spacing",8,"spacing")}function tu(e,t){return typeof t=="string"||t==null?t:e(t)}function D3(e,t){return r=>e.reduce((n,u)=>(n[u]=tu(t,r),n),{})}function E3(e,t,r,n){if(!t.includes(r))return null;const u=v3(r),i=D3(u,n),a=e[r];return Sr(e,a,i)}function hd(e,t){const r=vs(e.theme);return Object.keys(e).map(n=>E3(e,t,n,r)).reduce(Jn,{})}function ct(e){return hd(e,ci)}ct.propTypes=process.env.NODE_ENV!=="production"?ci.reduce((e,t)=>(e[t]=zr,e),{}):{},ct.filterProps=ci;function ft(e){return hd(e,fi)}ft.propTypes=process.env.NODE_ENV!=="production"?fi.reduce((e,t)=>(e[t]=zr,e),{}):{},ft.filterProps=fi,process.env.NODE_ENV!=="production"&&w3.reduce((e,t)=>(e[t]=zr,e),{});function li(...e){const t=e.reduce((n,u)=>(u.filterProps.forEach(i=>{n[i]=u}),n),{}),r=n=>Object.keys(n).reduce((u,i)=>t[i]?Jn(u,t[i](n)):u,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,u)=>Object.assign(n,u.propTypes),{}):{},r.filterProps=e.reduce((n,u)=>n.concat(u.filterProps),[]),r}function Qt(e){return typeof e!="number"?e:`${e}px solid`}function Kt(e,t){return mt({prop:e,themeKey:"borders",transform:t})}const x3=Kt("border",Qt),A3=Kt("borderTop",Qt),C3=Kt("borderRight",Qt),_3=Kt("borderBottom",Qt),T3=Kt("borderLeft",Qt),S3=Kt("borderColor"),F3=Kt("borderTopColor"),O3=Kt("borderRightColor"),N3=Kt("borderBottomColor"),M3=Kt("borderLeftColor"),P3=Kt("outline",Qt),B3=Kt("outlineColor"),di=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=eu(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:tu(t,n)});return Sr(e,e.borderRadius,r)}return null};di.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:zr}:{},di.filterProps=["borderRadius"],li(x3,A3,C3,_3,T3,S3,F3,O3,N3,M3,di,P3,B3);const hi=e=>{if(e.gap!==void 0&&e.gap!==null){const t=eu(e.theme,"spacing",8,"gap"),r=n=>({gap:tu(t,n)});return Sr(e,e.gap,r)}return null};hi.propTypes=process.env.NODE_ENV!=="production"?{gap:zr}:{},hi.filterProps=["gap"];const pi=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=eu(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:tu(t,n)});return Sr(e,e.columnGap,r)}return null};pi.propTypes=process.env.NODE_ENV!=="production"?{columnGap:zr}:{},pi.filterProps=["columnGap"];const mi=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=eu(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:tu(t,n)});return Sr(e,e.rowGap,r)}return null};mi.propTypes=process.env.NODE_ENV!=="production"?{rowGap:zr}:{},mi.filterProps=["rowGap"];const I3=mt({prop:"gridColumn"}),R3=mt({prop:"gridRow"}),k3=mt({prop:"gridAutoFlow"}),q3=mt({prop:"gridAutoColumns"}),L3=mt({prop:"gridAutoRows"}),j3=mt({prop:"gridTemplateColumns"}),$3=mt({prop:"gridTemplateRows"}),z3=mt({prop:"gridTemplateAreas"}),H3=mt({prop:"gridArea"});li(hi,pi,mi,I3,R3,k3,q3,L3,j3,$3,z3,H3);function Dn(e,t){return t==="grey"?t:e}const U3=mt({prop:"color",themeKey:"palette",transform:Dn}),V3=mt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Dn}),W3=mt({prop:"backgroundColor",themeKey:"palette",transform:Dn});li(U3,V3,W3);function Ht(e){return e<=1&&e!==0?`${e*100}%`:e}const Y3=mt({prop:"width",transform:Ht}),ws=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var u,i,a,s,l;const n=((a=(i=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:i.values)==null?void 0:a[r])||ai[r];return n?((l=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Ht(r)}};return Sr(e,e.maxWidth,t)}return null};ws.filterProps=["maxWidth"];const G3=mt({prop:"minWidth",transform:Ht}),X3=mt({prop:"height",transform:Ht}),Q3=mt({prop:"maxHeight",transform:Ht}),K3=mt({prop:"minHeight",transform:Ht});mt({prop:"size",cssProperty:"width",transform:Ht}),mt({prop:"size",cssProperty:"height",transform:Ht});const Z3=mt({prop:"boxSizing"});li(Y3,ws,G3,X3,Q3,K3,Z3);const gi={border:{themeKey:"borders",transform:Qt},borderTop:{themeKey:"borders",transform:Qt},borderRight:{themeKey:"borders",transform:Qt},borderBottom:{themeKey:"borders",transform:Qt},borderLeft:{themeKey:"borders",transform:Qt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Qt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:di},color:{themeKey:"palette",transform:Dn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Dn},backgroundColor:{themeKey:"palette",transform:Dn},p:{style:ft},pt:{style:ft},pr:{style:ft},pb:{style:ft},pl:{style:ft},px:{style:ft},py:{style:ft},padding:{style:ft},paddingTop:{style:ft},paddingRight:{style:ft},paddingBottom:{style:ft},paddingLeft:{style:ft},paddingX:{style:ft},paddingY:{style:ft},paddingInline:{style:ft},paddingInlineStart:{style:ft},paddingInlineEnd:{style:ft},paddingBlock:{style:ft},paddingBlockStart:{style:ft},paddingBlockEnd:{style:ft},m:{style:ct},mt:{style:ct},mr:{style:ct},mb:{style:ct},ml:{style:ct},mx:{style:ct},my:{style:ct},margin:{style:ct},marginTop:{style:ct},marginRight:{style:ct},marginBottom:{style:ct},marginLeft:{style:ct},marginX:{style:ct},marginY:{style:ct},marginInline:{style:ct},marginInlineStart:{style:ct},marginInlineEnd:{style:ct},marginBlock:{style:ct},marginBlockStart:{style:ct},marginBlockEnd:{style:ct},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:hi},rowGap:{style:mi},columnGap:{style:pi},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ht},maxWidth:{style:ws},minWidth:{transform:Ht},height:{transform:Ht},maxHeight:{transform:Ht},minHeight:{transform:Ht},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function J3(...e){const t=e.reduce((n,u)=>n.concat(Object.keys(u)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function ew(e,t){return typeof e=="function"?e(t):e}function tw(){function e(r,n,u,i){const a={[r]:n,theme:u},s=i[r];if(!s)return{[r]:n};const{cssProperty:l=r,themeKey:c,transform:f,style:p}=s;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[r]:n};const o=si(u,c)||{};return p?p(a):Sr(a,n,m=>{let h=oi(o,f,m);return m===h&&typeof m=="string"&&(h=oi(o,f,`${r}${m==="default"?"":un(m)}`,m)),l===!1?h:{[l]:h}})}function t(r){const{sx:n,theme:u={}}=r||{};if(!n)return null;const i=u.unstable_sxConfig??gi;function a(s){let l=s;if(typeof s=="function")l=s(u);else if(typeof s!="object")return s;if(!l)return null;const c=p3(u.breakpoints),f=Object.keys(c);let p=c;return Object.keys(l).forEach(o=>{const d=ew(l[o],u);if(d!=null)if(typeof d=="object")if(i[o])p=Jn(p,e(o,d,u,i));else{const m=Sr({theme:u},d,h=>({[o]:h}));J3(m,d)?p[o]=t({sx:d,theme:u}):p=Jn(p,m)}else p=Jn(p,e(o,d,u,i))}),c3(u,m3(f,p))}return Array.isArray(n)?n.map(a):a(n)}return t}const En=tw();En.filterProps=["sx"];function Ds(){return Ds=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ds.apply(null,arguments)}var rw=!1;function nw(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function uw(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var iw=function(){function e(r){var n=this;this._insertTag=function(u){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(u,i),n.tags.push(u)},this.isSpeedy=r.speedy===void 0?!rw:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(uw(this));var u=this.tags[this.tags.length-1];if(this.isSpeedy){var i=nw(u);try{i.insertRule(n,i.cssRules.length)}catch{}}else u.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var u;return(u=n.parentNode)==null?void 0:u.removeChild(n)}),this.tags=[],this.ctr=0},e}(),Nt="-ms-",bi="-moz-",Ie="-webkit-",pd="comm",Es="rule",xs="decl",aw="@import",md="@keyframes",sw="@layer",ow=Math.abs,yi=String.fromCharCode,cw=Object.assign;function fw(e,t){return _t(e,0)^45?(((t<<2^_t(e,0))<<2^_t(e,1))<<2^_t(e,2))<<2^_t(e,3):0}function gd(e){return e.trim()}function lw(e,t){return(e=t.exec(e))?e[0]:e}function Re(e,t,r){return e.replace(t,r)}function As(e,t){return e.indexOf(t)}function _t(e,t){return e.charCodeAt(t)|0}function ru(e,t,r){return e.slice(t,r)}function mr(e){return e.length}function Cs(e){return e.length}function vi(e,t){return t.push(e),e}function dw(e,t){return e.map(t).join("")}var wi=1,xn=1,bd=0,qt=0,bt=0,An="";function Di(e,t,r,n,u,i,a){return{value:e,root:t,parent:r,type:n,props:u,children:i,line:wi,column:xn,length:a,return:""}}function nu(e,t){return cw(Di("",null,null,"",null,null,0),e,{length:-e.length},t)}function hw(){return bt}function pw(){return bt=qt>0?_t(An,--qt):0,xn--,bt===10&&(xn=1,wi--),bt}function Ut(){return bt=qt<bd?_t(An,qt++):0,xn++,bt===10&&(xn=1,wi++),bt}function gr(){return _t(An,qt)}function Ei(){return qt}function uu(e,t){return ru(An,e,t)}function iu(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function yd(e){return wi=xn=1,bd=mr(An=e),qt=0,[]}function vd(e){return An="",e}function xi(e){return gd(uu(qt-1,_s(e===91?e+2:e===40?e+1:e)))}function mw(e){for(;(bt=gr())&&bt<33;)Ut();return iu(e)>2||iu(bt)>3?"":" "}function gw(e,t){for(;--t&&Ut()&&!(bt<48||bt>102||bt>57&&bt<65||bt>70&&bt<97););return uu(e,Ei()+(t<6&&gr()==32&&Ut()==32))}function _s(e){for(;Ut();)switch(bt){case e:return qt;case 34:case 39:e!==34&&e!==39&&_s(bt);break;case 40:e===41&&_s(e);break;case 92:Ut();break}return qt}function bw(e,t){for(;Ut()&&e+bt!==57;)if(e+bt===84&&gr()===47)break;return"/*"+uu(t,qt-1)+"*"+yi(e===47?e:Ut())}function yw(e){for(;!iu(gr());)Ut();return uu(e,qt)}function vw(e){return vd(Ai("",null,null,null,[""],e=yd(e),0,[0],e))}function Ai(e,t,r,n,u,i,a,s,l){for(var c=0,f=0,p=a,o=0,d=0,m=0,h=1,b=1,g=1,w=0,v="",D=u,y=i,E=n,A=v;b;)switch(m=w,w=Ut()){case 40:if(m!=108&&_t(A,p-1)==58){As(A+=Re(xi(w),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:A+=xi(w);break;case 9:case 10:case 13:case 32:A+=mw(m);break;case 92:A+=gw(Ei()-1,7);continue;case 47:switch(gr()){case 42:case 47:vi(ww(bw(Ut(),Ei()),t,r),l);break;default:A+="/"}break;case 123*h:s[c++]=mr(A)*g;case 125*h:case 59:case 0:switch(w){case 0:case 125:b=0;case 59+f:g==-1&&(A=Re(A,/\f/g,"")),d>0&&mr(A)-p&&vi(d>32?Dd(A+";",n,r,p-1):Dd(Re(A," ","")+";",n,r,p-2),l);break;case 59:A+=";";default:if(vi(E=wd(A,t,r,c,f,u,s,v,D=[],y=[],p),i),w===123)if(f===0)Ai(A,t,E,E,D,i,p,s,y);else switch(o===99&&_t(A,3)===110?100:o){case 100:case 108:case 109:case 115:Ai(e,E,E,n&&vi(wd(e,E,E,0,0,u,s,v,u,D=[],p),y),u,y,p,s,n?D:y);break;default:Ai(A,E,E,E,[""],y,0,s,y)}}c=f=d=0,h=g=1,v=A="",p=a;break;case 58:p=1+mr(A),d=m;default:if(h<1){if(w==123)--h;else if(w==125&&h++==0&&pw()==125)continue}switch(A+=yi(w),w*h){case 38:g=f>0?1:(A+="\f",-1);break;case 44:s[c++]=(mr(A)-1)*g,g=1;break;case 64:gr()===45&&(A+=xi(Ut())),o=gr(),f=p=mr(v=A+=yw(Ei())),w++;break;case 45:m===45&&mr(A)==2&&(h=0)}}return i}function wd(e,t,r,n,u,i,a,s,l,c,f){for(var p=u-1,o=u===0?i:[""],d=Cs(o),m=0,h=0,b=0;m<n;++m)for(var g=0,w=ru(e,p+1,p=ow(h=a[m])),v=e;g<d;++g)(v=gd(h>0?o[g]+" "+w:Re(w,/&\f/g,o[g])))&&(l[b++]=v);return Di(e,t,r,u===0?Es:s,l,c,f)}function ww(e,t,r){return Di(e,t,r,pd,yi(hw()),ru(e,2,-2),0)}function Dd(e,t,r,n){return Di(e,t,r,xs,ru(e,0,n),ru(e,n+1,-1),n)}function Cn(e,t){for(var r="",n=Cs(e),u=0;u<n;u++)r+=t(e[u],u,e,t)||"";return r}function Dw(e,t,r,n){switch(e.type){case sw:if(e.children.length)break;case aw:case xs:return e.return=e.return||e.value;case pd:return"";case md:return e.return=e.value+"{"+Cn(e.children,n)+"}";case Es:e.value=e.props.join(",")}return mr(r=Cn(e.children,n))?e.return=e.value+"{"+r+"}":""}function Ew(e){var t=Cs(e);return function(r,n,u,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,u,i)||"";return a}}function xw(e){return function(t){t.root||(t=t.return)&&e(t)}}function Ed(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Aw=function(t,r,n){for(var u=0,i=0;u=i,i=gr(),u===38&&i===12&&(r[n]=1),!iu(i);)Ut();return uu(t,qt)},Cw=function(t,r){var n=-1,u=44;do switch(iu(u)){case 0:u===38&&gr()===12&&(r[n]=1),t[n]+=Aw(qt-1,r,n);break;case 2:t[n]+=xi(u);break;case 4:if(u===44){t[++n]=gr()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=yi(u)}while(u=Ut());return t},_w=function(t,r){return vd(Cw(yd(t),r))},xd=new WeakMap,Tw=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,u=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!xd.get(n))&&!u){xd.set(t,!0);for(var i=[],a=_w(r,i),s=n.props,l=0,c=0;l<a.length;l++)for(var f=0;f<s.length;f++,c++)t.props[c]=i[l]?a[l].replace(/&\f/g,s[f]):s[f]+" "+a[l]}}},Sw=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Ad(e,t){switch(fw(e,t)){case 5103:return Ie+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ie+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ie+e+bi+e+Nt+e+e;case 6828:case 4268:return Ie+e+Nt+e+e;case 6165:return Ie+e+Nt+"flex-"+e+e;case 5187:return Ie+e+Re(e,/(\w+).+(:[^]+)/,Ie+"box-$1$2"+Nt+"flex-$1$2")+e;case 5443:return Ie+e+Nt+"flex-item-"+Re(e,/flex-|-self/,"")+e;case 4675:return Ie+e+Nt+"flex-line-pack"+Re(e,/align-content|flex-|-self/,"")+e;case 5548:return Ie+e+Nt+Re(e,"shrink","negative")+e;case 5292:return Ie+e+Nt+Re(e,"basis","preferred-size")+e;case 6060:return Ie+"box-"+Re(e,"-grow","")+Ie+e+Nt+Re(e,"grow","positive")+e;case 4554:return Ie+Re(e,/([^-])(transform)/g,"$1"+Ie+"$2")+e;case 6187:return Re(Re(Re(e,/(zoom-|grab)/,Ie+"$1"),/(image-set)/,Ie+"$1"),e,"")+e;case 5495:case 3959:return Re(e,/(image-set\([^]*)/,Ie+"$1$`$1");case 4968:return Re(Re(e,/(.+:)(flex-)?(.*)/,Ie+"box-pack:$3"+Nt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ie+e+e;case 4095:case 3583:case 4068:case 2532:return Re(e,/(.+)-inline(.+)/,Ie+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(mr(e)-1-t>6)switch(_t(e,t+1)){case 109:if(_t(e,t+4)!==45)break;case 102:return Re(e,/(.+:)(.+)-([^]+)/,"$1"+Ie+"$2-$3$1"+bi+(_t(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~As(e,"stretch")?Ad(Re(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(_t(e,t+1)!==115)break;case 6444:switch(_t(e,mr(e)-3-(~As(e,"!important")&&10))){case 107:return Re(e,":",":"+Ie)+e;case 101:return Re(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ie+(_t(e,14)===45?"inline-":"")+"box$3$1"+Ie+"$2$3$1"+Nt+"$2box$3")+e}break;case 5936:switch(_t(e,t+11)){case 114:return Ie+e+Nt+Re(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ie+e+Nt+Re(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ie+e+Nt+Re(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ie+e+Nt+e+e}return e}var Fw=function(t,r,n,u){if(t.length>-1&&!t.return)switch(t.type){case xs:t.return=Ad(t.value,t.length);break;case md:return Cn([nu(t,{value:Re(t.value,"@","@"+Ie)})],u);case Es:if(t.length)return dw(t.props,function(i){switch(lw(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Cn([nu(t,{props:[Re(i,/:(read-\w+)/,":"+bi+"$1")]})],u);case"::placeholder":return Cn([nu(t,{props:[Re(i,/:(plac\w+)/,":"+Ie+"input-$1")]}),nu(t,{props:[Re(i,/:(plac\w+)/,":"+bi+"$1")]}),nu(t,{props:[Re(i,/:(plac\w+)/,Nt+"input-$1")]})],u)}return""})}},Ow=[Fw],Nw=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(h){var b=h.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var u=t.stylisPlugins||Ow,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(h){for(var b=h.getAttribute("data-emotion").split(" "),g=1;g<b.length;g++)i[b[g]]=!0;s.push(h)});var l,c=[Tw,Sw];{var f,p=[Dw,xw(function(h){f.insert(h)})],o=Ew(c.concat(u,p)),d=function(b){return Cn(vw(b),o)};l=function(b,g,w,v){f=w,d(b?b+"{"+g.styles+"}":g.styles),v&&(m.inserted[g.name]=!0)}}var m={key:r,sheet:new iw({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return m.sheet.hydrate(s),m},Mw=!0;function Pw(e,t,r){var n="";return r.split(" ").forEach(function(u){e[u]!==void 0?t.push(e[u]+";"):u&&(n+=u+" ")}),n}var Cd=function(t,r,n){var u=t.key+"-"+r.name;(n===!1||Mw===!1)&&t.registered[u]===void 0&&(t.registered[u]=r.styles)},Bw=function(t,r,n){Cd(t,r,n);var u=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+u:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Iw(e){for(var t=0,r,n=0,u=e.length;u>=4;++n,u-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(u){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Rw={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},kw=!1,qw=/[A-Z]|^ms/g,Lw=/_EMO_([^_]+?)_([^]*?)_EMO_/g,_d=function(t){return t.charCodeAt(1)===45},Td=function(t){return t!=null&&typeof t!="boolean"},Ts=Ed(function(e){return _d(e)?e:e.replace(qw,"-$&").toLowerCase()}),Sd=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Lw,function(n,u,i){return br={name:u,styles:i,next:br},u})}return Rw[t]!==1&&!_d(t)&&typeof r=="number"&&r!==0?r+"px":r},jw="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function au(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var u=r;if(u.anim===1)return br={name:u.name,styles:u.styles,next:br},u.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)br={name:a.name,styles:a.styles,next:br},a=a.next;var s=i.styles+";";return s}return $w(e,t,r)}case"function":{if(e!==void 0){var l=br,c=r(e);return br=l,au(e,t,c)}break}}var f=r;if(t==null)return f;var p=t[f];return p!==void 0?p:f}function $w(e,t,r){var n="";if(Array.isArray(r))for(var u=0;u<r.length;u++)n+=au(e,t,r[u])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?n+=i+"{"+t[s]+"}":Td(s)&&(n+=Ts(i)+":"+Sd(i,s)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&kw)throw new Error(jw);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)Td(a[l])&&(n+=Ts(i)+":"+Sd(i,a[l])+";");else{var c=au(e,t,a);switch(i){case"animation":case"animationName":{n+=Ts(i)+":"+c+";";break}default:n+=i+"{"+c+"}"}}}}return n}var Fd=/label:\s*([^\s;{]+)\s*(;|$)/g,br;function Od(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,u="";br=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,u+=au(r,t,i);else{var a=i;u+=a[0]}for(var s=1;s<e.length;s++)if(u+=au(r,t,e[s]),n){var l=i;u+=l[s]}Fd.lastIndex=0;for(var c="",f;(f=Fd.exec(u))!==null;)c+="-"+f[1];var p=Iw(u)+c;return{name:p,styles:u,next:br}}var zw=function(t){return t()},Hw=At.useInsertionEffect?At.useInsertionEffect:!1,Uw=Hw||zw,Nd=At.createContext(typeof HTMLElement<"u"?Nw({key:"css"}):null);Nd.Provider;var Vw=function(t){return Xe.forwardRef(function(r,n){var u=Xe.useContext(Nd);return t(r,u,n)})},Ww=At.createContext({}),Yw=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Gw=Ed(function(e){return Yw.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Xw=!1,Qw=Gw,Kw=function(t){return t!=="theme"},Md=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Qw:Kw},Pd=function(t,r,n){var u;if(r){var i=r.shouldForwardProp;u=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof u!="function"&&n&&(u=t.__emotion_forwardProp),u},Zw=function(t){var r=t.cache,n=t.serialized,u=t.isStringTag;return Cd(r,n,u),Uw(function(){return Bw(r,n,u)}),null},Jw=function e(t,r){var n=t.__emotion_real===t,u=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=Pd(t,r,n),l=s||Md(u),c=!l("as");return function(){var f=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),f[0]==null||f[0].raw===void 0)p.push.apply(p,f);else{var o=f[0];p.push(o[0]);for(var d=f.length,m=1;m<d;m++)p.push(f[m],o[m])}var h=Vw(function(b,g,w){var v=c&&b.as||u,D="",y=[],E=b;if(b.theme==null){E={};for(var A in b)E[A]=b[A];E.theme=At.useContext(Ww)}typeof b.className=="string"?D=Pw(g.registered,y,b.className):b.className!=null&&(D=b.className+" ");var C=Od(p.concat(y),g.registered,E);D+=g.key+"-"+C.name,a!==void 0&&(D+=" "+a);var T=c&&s===void 0?Md(v):l,x={};for(var _ in b)c&&_==="as"||T(_)&&(x[_]=b[_]);return x.className=D,w&&(x.ref=w),At.createElement(At.Fragment,null,At.createElement(Zw,{cache:g,serialized:C,isStringTag:typeof v=="string"}),At.createElement(v,x))});return h.displayName=i!==void 0?i:"Styled("+(typeof u=="string"?u:u.displayName||u.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=u,h.__emotion_styles=p,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return a===void 0&&Xw?"NO_COMPONENT_SELECTOR":"."+a}}),h.withComponent=function(b,g){var w=e(b,Ds({},r,g,{shouldForwardProp:Pd(h,g,!0)}));return w.apply(void 0,p)},h}},eD=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Ss=Jw.bind(null);eD.forEach(function(e){Ss[e]=Ss(e)});/**
|
|
130
|
+
* @mui/styled-engine v6.4.0
|
|
131
131
|
*
|
|
132
132
|
* @license MIT
|
|
133
133
|
* This source code is licensed under the MIT license found in the
|
|
134
134
|
* LICENSE file in the root directory of this source tree.
|
|
135
|
-
*/function
|
|
136
|
-
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${u})(...args) API requires all its args to be defined.`),
|
|
137
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
|
|
138
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020
|
|
139
|
-
`))}return b}const o=({color:h,name:b,mainShade:g=500,lightShade:w=300,darkShade:
|
|
140
|
-
The color object needs to have a \`main\` property or a \`${g}\` property
|
|
135
|
+
*/function tD(e,t){const r=Ss(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const u=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${u})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
136
|
+
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${u})(...args) API requires all its args to be defined.`),r(...n)}:r}function rD(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Bd=[];function Id(e){return Bd[0]=e,Od(Bd)}const nD=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function uD(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...u}=e,i=nD(t),a=Object.keys(i);function s(o){return`@media (min-width:${typeof t[o]=="number"?t[o]:o}${r})`}function l(o){return`@media (max-width:${(typeof t[o]=="number"?t[o]:o)-n/100}${r})`}function c(o,d){const m=a.indexOf(d);return`@media (min-width:${typeof t[o]=="number"?t[o]:o}${r}) and (max-width:${(m!==-1&&typeof t[a[m]]=="number"?t[a[m]]:d)-n/100}${r})`}function f(o){return a.indexOf(o)+1<a.length?c(o,a[a.indexOf(o)+1]):s(o)}function p(o){const d=a.indexOf(o);return d===0?s(a[1]):d===a.length-1?l(a[d]):c(o,a[a.indexOf(o)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:s,down:l,between:c,only:f,not:p,unit:r,...u}}const iD={borderRadius:4};function Rd(e=8,t=vs({spacing:e})){if(e.mui)return e;const r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function aD(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let u=r.getColorSchemeSelector(e);return u==="&"?t:((u.includes("data-")||u.includes("."))&&(u=`*:where(${u.replace(/\s*&$/,"")}) &`),{[u]:t})}return r.palette.mode===e?t:{}}function kd(e={},...t){const{breakpoints:r={},palette:n={},spacing:u,shape:i={},...a}=e,s=uD(r),l=Rd(u);let c=zt({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:l,shape:{...iD,...i}},a);return c=d3(c),c.applyStyles=aD,c=t.reduce((f,p)=>zt(f,p),c),c.unstable_sxConfig={...gi,...a==null?void 0:a.unstable_sxConfig},c.unstable_sx=function(p){return En({sx:p,theme:this})},c}function qd(e){const{variants:t,...r}=e,n={variants:t,style:Id(r),isProcessed:!0};return n.style===r||t&&t.forEach(u=>{typeof u.style!="function"&&(u.style=Id(u.style))}),n}const sD=kd();function Fs(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function oD(e){return e?(t,r)=>r[e]:null}function cD(e,t,r){e.theme=hD(e.theme)?r:e.theme[t]||e.theme}function Ci(e,t){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>Ci(e,n));if(Array.isArray(r==null?void 0:r.variants)){let n;if(r.isProcessed)n=r.style;else{const{variants:u,...i}=r;n=i}return Ld(e,r.variants,[n])}return r!=null&&r.isProcessed?r.style:r}function Ld(e,t,r=[]){var u;let n;e:for(let i=0;i<t.length;i+=1){const a=t[i];if(typeof a.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!a.props(n))continue}else for(const s in a.props)if(e[s]!==a.props[s]&&((u=e.ownerState)==null?void 0:u[s])!==a.props[s])continue e;typeof a.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),r.push(a.style(n))):r.push(a.style)}return r}function fD(e={}){const{themeId:t,defaultTheme:r=sD,rootShouldForwardProp:n=Fs,slotShouldForwardProp:u=Fs}=e;function i(s){cD(s,t,r)}return(s,l={})=>{rD(s,y=>y.filter(E=>E!==En));const{name:c,slot:f,skipVariantsResolver:p,skipSx:o,overridesResolver:d=oD(jd(f)),...m}=l,h=p!==void 0?p:f&&f!=="Root"&&f!=="root"||!1,b=o||!1;let g=Fs;f==="Root"||f==="root"?g=n:f?g=u:pD(s)&&(g=void 0);const w=tD(s,{shouldForwardProp:g,label:dD(c,f),...m}),v=y=>{if(typeof y=="function"&&y.__emotion_real!==y)return function(A){return Ci(A,y)};if(Tr(y)){const E=qd(y);return E.variants?function(C){return Ci(C,E)}:E.style}return y},D=(...y)=>{const E=[],A=y.map(v),C=[];if(E.push(i),c&&d&&C.push(function(F){var I,Z;const B=(Z=(I=F.theme.components)==null?void 0:I[c])==null?void 0:Z.styleOverrides;if(!B)return null;const N={};for(const re in B)N[re]=Ci(F,B[re]);return d(F,N)}),c&&!h&&C.push(function(F){var N,I;const M=F.theme,B=(I=(N=M==null?void 0:M.components)==null?void 0:N[c])==null?void 0:I.variants;return B?Ld(F,B):null}),b||C.push(En),Array.isArray(A[0])){const _=A.shift(),F=new Array(E.length).fill(""),M=new Array(C.length).fill("");let B;B=[...F,..._,...M],B.raw=[...F,..._.raw,...M],E.unshift(B)}const T=[...E,...A,...C],x=w(...T);return s.muiName&&(x.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(x.displayName=lD(c,f,s)),x};return w.withConfig&&(D.withConfig=w.withConfig),D}}function lD(e,t,r){return e?`${e}${un(t||"")}`:`Styled(${r3(r)})`}function dD(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${jd(t||"Root")}`),r}function hD(e){for(const t in e)return!1;return!0}function pD(e){return typeof e=="string"&&e.charCodeAt(0)>96}function jd(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Os(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),s3(e,t,r)}function mD(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),r?`rgb${r.length===4?"a":""}(${r.map((n,u)=>u<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Hr(e){if(e.type)return e;if(e.charAt(0)==="#")return Hr(mD(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
137
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:$r(9,e));let n=e.substring(t+1,e.length-1),u;if(r==="color"){if(n=n.split(" "),u=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(u))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${u}\` color space.
|
|
138
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:$r(10,u))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:u}}const gD=e=>{const t=Hr(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},su=(e,t)=>{try{return gD(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function _i(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((u,i)=>i<3?parseInt(u,10):u):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function $d(e){e=Hr(e);const{values:t}=e,r=t[0],n=t[1]/100,u=t[2]/100,i=n*Math.min(u,1-u),a=(c,f=(c+r/30)%12)=>u-i*Math.max(Math.min(f-3,9-f,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),_i({type:s,values:l})}function Ns(e){e=Hr(e);let t=e.type==="hsl"||e.type==="hsla"?Hr($d(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function zd(e,t){const r=Ns(e),n=Ns(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function bD(e,t){return e=Hr(e),t=Os(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,_i(e)}function Ti(e,t,r){try{return bD(e,t)}catch{return e}}function Ms(e,t){if(e=Hr(e),t=Os(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return _i(e)}function Ke(e,t,r){try{return Ms(e,t)}catch{return e}}function Ps(e,t){if(e=Hr(e),t=Os(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return _i(e)}function Ze(e,t,r){try{return Ps(e,t)}catch{return e}}function yD(e,t=.15){return Ns(e)>.5?Ms(e,t):Ps(e,t)}function Si(e,t,r){try{return yD(e,t)}catch{return e}}const vD=At.createContext(void 0);process.env.NODE_ENV!=="production"&&(Ne.node,Ne.object);function wD(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const u=t.components[r];return u.defaultProps?bs(u.defaultProps,n):!u.styleOverrides&&!u.variants?bs(u,n):n}function DD({props:e,name:t}){const r=At.useContext(vD);return wD({props:e,name:t,theme:{components:r}})}const Hd={theme:void 0};function ED(e){let t,r;return function(u){let i=t;return(i===void 0||u.theme!==r)&&(Hd.theme=u.theme,i=qd(e(Hd)),t=i,r=u.theme),i}}function xD(e=""){function t(...n){if(!n.length)return"";const u=n[0];return typeof u=="string"&&!u.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${u}${t(...n.slice(1))})`:`, ${u}`}return(n,...u)=>`var(--${e?`${e}-`:""}${n}${t(...u)})`}const Ud=(e,t,r,n=[])=>{let u=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(u)?u[Number(i)]=r:u&&typeof u=="object"&&(u[i]=r):u&&typeof u=="object"&&(u[i]||(u[i]=n.includes(i)?[]:{}),u=u[i])})},AD=(e,t,r)=>{function n(u,i=[],a=[]){Object.entries(u).forEach(([s,l])=>{(!r||r&&!r([...i,s]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?n(l,[...i,s],Array.isArray(l)?[...a,s]:a):t([...i,s],l,a))})}n(e)},CD=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Bs(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},u={},i={},a={};return AD(e,(s,l,c)=>{if((typeof l=="string"||typeof l=="number")&&(!n||!n(s,l))){const f=`--${r?`${r}-`:""}${s.join("-")}`,p=CD(s,l);Object.assign(u,{[f]:p}),Ud(i,s,`var(${f})`,c),Ud(a,s,`var(${f}, ${p})`,c)}},s=>s[0]==="vars"),{css:u,vars:i,varsWithDefaults:a}}function _D(e,t={}){const{getSelector:r=b,disableCssColorScheme:n,colorSchemeSelector:u}=t,{colorSchemes:i={},components:a,defaultColorScheme:s="light",...l}=e,{vars:c,css:f,varsWithDefaults:p}=Bs(l,t);let o=p;const d={},{[s]:m,...h}=i;if(Object.entries(h||{}).forEach(([v,D])=>{const{vars:y,css:E,varsWithDefaults:A}=Bs(D,t);o=zt(o,A),d[v]={css:E,vars:y}}),m){const{css:v,vars:D,varsWithDefaults:y}=Bs(m,t);o=zt(o,y),d[s]={css:v,vars:D}}function b(v,D){var E,A;let y=u;if(u==="class"&&(y=".%s"),u==="data"&&(y="[data-%s]"),u!=null&&u.startsWith("data-")&&!u.includes("%s")&&(y=`[${u}="%s"]`),v){if(y==="media")return e.defaultColorScheme===v?":root":{[`@media (prefers-color-scheme: ${((A=(E=i[v])==null?void 0:E.palette)==null?void 0:A.mode)||v})`]:{":root":D}};if(y)return e.defaultColorScheme===v?`:root, ${y.replace("%s",String(v))}`:y.replace("%s",String(v))}return":root"}return{vars:o,generateThemeVars:()=>{let v={...c};return Object.entries(d).forEach(([,{vars:D}])=>{v=zt(v,D)}),v},generateStyleSheets:()=>{var C,T;const v=[],D=e.defaultColorScheme||"light";function y(x,_){Object.keys(_).length&&v.push(typeof x=="string"?{[x]:{..._}}:x)}y(r(void 0,{...f}),f);const{[D]:E,...A}=d;if(E){const{css:x}=E,_=(T=(C=i[D])==null?void 0:C.palette)==null?void 0:T.mode,F=!n&&_?{colorScheme:_,...x}:{...x};y(r(D,{...F}),F)}return Object.entries(A).forEach(([x,{css:_}])=>{var B,N;const F=(N=(B=i[x])==null?void 0:B.palette)==null?void 0:N.mode,M=!n&&F?{colorScheme:F,..._}:{..._};y(r(x,{...M}),M)}),v}}}function TD(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const ou={black:"#000",white:"#fff"},SD={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},_n={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Tn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},cu={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Sn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Fn={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},On={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function Vd(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ou.white,default:ou.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const FD=Vd();function Wd(){return{text:{primary:ou.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:ou.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Yd=Wd();function Gd(e,t,r,n){const u=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Ps(e.main,u):t==="dark"&&(e.dark=Ms(e.main,i)))}function OD(e="light"){return e==="dark"?{main:Sn[200],light:Sn[50],dark:Sn[400]}:{main:Sn[700],light:Sn[400],dark:Sn[800]}}function ND(e="light"){return e==="dark"?{main:_n[200],light:_n[50],dark:_n[400]}:{main:_n[500],light:_n[300],dark:_n[700]}}function MD(e="light"){return e==="dark"?{main:Tn[500],light:Tn[300],dark:Tn[700]}:{main:Tn[700],light:Tn[400],dark:Tn[800]}}function PD(e="light"){return e==="dark"?{main:Fn[400],light:Fn[300],dark:Fn[700]}:{main:Fn[700],light:Fn[500],dark:Fn[900]}}function BD(e="light"){return e==="dark"?{main:On[400],light:On[300],dark:On[700]}:{main:On[800],light:On[500],dark:On[900]}}function ID(e="light"){return e==="dark"?{main:cu[400],light:cu[300],dark:cu[700]}:{main:"#ed6c02",light:cu[500],dark:cu[900]}}function Is(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...u}=e,i=e.primary||OD(t),a=e.secondary||ND(t),s=e.error||MD(t),l=e.info||PD(t),c=e.success||BD(t),f=e.warning||ID(t);function p(h){const b=zd(h,Yd.text.primary)>=r?Yd.text.primary:FD.text.primary;if(process.env.NODE_ENV!=="production"){const g=zd(h,b);g<3&&console.error([`MUI: The contrast ratio of ${g}:1 for ${b} on ${h}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
139
|
+
`))}return b}const o=({color:h,name:b,mainShade:g=500,lightShade:w=300,darkShade:v=700})=>{if(h={...h},!h.main&&h[g]&&(h.main=h[g]),!h.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${b?` (${b})`:""} provided to augmentColor(color) is invalid.
|
|
140
|
+
The color object needs to have a \`main\` property or a \`${g}\` property.`:$r(11,b?` (${b})`:"",g));if(typeof h.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${b?` (${b})`:""} provided to augmentColor(color) is invalid.
|
|
141
141
|
\`color.main\` should be a string, but \`${JSON.stringify(h.main)}\` was provided instead.
|
|
142
142
|
|
|
143
143
|
Did you intend to use one of the following approaches?
|
|
@@ -150,15 +150,15 @@ const theme1 = createTheme({ palette: {
|
|
|
150
150
|
|
|
151
151
|
const theme2 = createTheme({ palette: {
|
|
152
152
|
primary: { main: green[500] },
|
|
153
|
-
} })
|
|
154
|
-
`)),Object.keys(c).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`)}return(Array.isArray(u)?u:[u]).map(f=>`${f} ${typeof a=="string"?a:
|
|
153
|
+
} });`:$r(12,b?` (${b})`:"",JSON.stringify(h.main)));return Gd(h,"light",w,n),Gd(h,"dark",v,n),h.contrastText||(h.contrastText=p(h.main)),h};let d;return t==="light"?d=Vd():t==="dark"&&(d=Wd()),process.env.NODE_ENV!=="production"&&(d||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),zt({common:{...ou},mode:t,primary:o({color:i,name:"primary"}),secondary:o({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:o({color:s,name:"error"}),warning:o({color:f,name:"warning"}),info:o({color:l,name:"info"}),success:o({color:c,name:"success"}),grey:SD,contrastThreshold:r,getContrastText:p,augmentColor:o,tonalOffset:n,...d},u)}function RD(e){const t={};return Object.entries(e).forEach(n=>{const[u,i]=n;typeof i=="object"&&(t[u]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function kD(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function qD(e){return Math.round(e*1e5)/1e5}const Xd={textTransform:"uppercase"},Qd='"Roboto", "Helvetica", "Arial", sans-serif';function LD(e,t){const{fontFamily:r=Qd,fontSize:n=14,fontWeightLight:u=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:c,pxToRem:f,...p}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof l!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const o=n/14,d=f||(b=>`${b/l*o}rem`),m=(b,g,w,v,D)=>({fontFamily:r,fontWeight:b,fontSize:d(g),lineHeight:w,...r===Qd?{letterSpacing:`${qD(v/g)}em`}:{},...D,...c}),h={h1:m(u,96,1.167,-1.5),h2:m(u,60,1.2,-.5),h3:m(i,48,1.167,0),h4:m(i,34,1.235,.25),h5:m(i,24,1.334,0),h6:m(a,20,1.6,.15),subtitle1:m(i,16,1.75,.15),subtitle2:m(a,14,1.57,.1),body1:m(i,16,1.5,.15),body2:m(i,14,1.43,.15),button:m(a,14,1.75,.4,Xd),caption:m(i,12,1.66,.4),overline:m(i,12,2.66,1,Xd),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return zt({htmlFontSize:l,pxToRem:d,fontFamily:r,fontSize:n,fontWeightLight:u,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...h},p,{clone:!1})}const jD=.2,$D=.14,zD=.12;function nt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${jD})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${$D})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${zD})`].join(",")}const HD=["none",nt(0,2,1,-1,0,1,1,0,0,1,3,0),nt(0,3,1,-2,0,2,2,0,0,1,5,0),nt(0,3,3,-2,0,3,4,0,0,1,8,0),nt(0,2,4,-1,0,4,5,0,0,1,10,0),nt(0,3,5,-1,0,5,8,0,0,1,14,0),nt(0,3,5,-1,0,6,10,0,0,1,18,0),nt(0,4,5,-2,0,7,10,1,0,2,16,1),nt(0,5,5,-3,0,8,10,1,0,3,14,2),nt(0,5,6,-3,0,9,12,1,0,3,16,2),nt(0,6,6,-3,0,10,14,1,0,4,18,3),nt(0,6,7,-4,0,11,15,1,0,4,20,3),nt(0,7,8,-4,0,12,17,2,0,5,22,4),nt(0,7,8,-4,0,13,19,2,0,5,24,4),nt(0,7,9,-4,0,14,21,2,0,5,26,4),nt(0,8,9,-5,0,15,22,2,0,6,28,5),nt(0,8,10,-5,0,16,24,2,0,6,30,5),nt(0,8,11,-5,0,17,26,2,0,6,32,5),nt(0,9,11,-5,0,18,28,2,0,7,34,6),nt(0,9,12,-6,0,19,29,2,0,7,36,6),nt(0,10,13,-6,0,20,31,3,0,8,38,7),nt(0,10,13,-6,0,21,33,3,0,8,40,7),nt(0,10,14,-6,0,22,35,3,0,8,42,7),nt(0,11,14,-7,0,23,36,3,0,9,44,8),nt(0,11,15,-7,0,24,38,3,0,9,46,8)],UD={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},VD={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Kd(e){return`${Math.round(e)}ms`}function WD(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function YD(e){const t={...UD,...e.easing},r={...VD,...e.duration};return{getAutoHeightDuration:WD,create:(u=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:l=0,...c}=i;if(process.env.NODE_ENV!=="production"){const f=o=>typeof o=="string",p=o=>!Number.isNaN(parseFloat(o));!f(u)&&!Array.isArray(u)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(a)&&!f(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),f(s)||console.error('MUI: Argument "easing" must be a string.'),!p(l)&&!f(l)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
154
|
+
`)),Object.keys(c).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`)}return(Array.isArray(u)?u:[u]).map(f=>`${f} ${typeof a=="string"?a:Kd(a)} ${s} ${typeof l=="string"?l:Kd(l)}`).join(",")},...e,easing:t,duration:r}}const GD={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function XD(e){return Tr(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Zd(e={}){const t={...e};function r(n){const u=Object.entries(n);for(let i=0;i<u.length;i++){const[a,s]=u[i];!XD(s)||a.startsWith("unstable_")?delete n[a]:Tr(s)&&(n[a]={...s},r(n[a]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
155
155
|
|
|
156
|
-
const theme = ${JSON.stringify(
|
|
156
|
+
const theme = ${JSON.stringify(t,null,2)};
|
|
157
157
|
|
|
158
158
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
159
159
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
160
160
|
|
|
161
|
-
export default theme;`}function
|
|
162
|
-
`))}h[g]={}}}};Object.keys(o.components).forEach(h=>{const b=o.components[h].styleOverrides;b&&h.startsWith("Mui")&&m(b,h)})}return o.unstable_sxConfig={...
|
|
163
|
-
To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function s6(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const gr=e=>{try{return e()}catch{}},o6=(e="mui")=>TD(e);function zs(e,r,t,n){if(!r)return;r=r===!0?{}:r;const u=n==="dark"?"dark":"light";if(!t){e[n]=r6({...r,palette:{mode:u,...r==null?void 0:r.palette}});return}const{palette:i,...a}=$s({...t,palette:{mode:u,...r==null?void 0:r.palette}});return e[n]={...r,palette:i,opacity:{...sh(u),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||oh(u)},a}function c6(e={},...r){const{colorSchemes:t={light:!0},defaultColorScheme:n,disableCssColorScheme:u=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=n6,colorSchemeSelector:s=t.light&&t.dark?"media":void 0,rootSelector:l=":root",...c}=e,f=Object.keys(t)[0],p=n||(t.light&&f!=="light"?"light":f),o=o6(i),{[p]:d,light:m,dark:h,...b}=t,g={...b};let w=d;if((p==="dark"&&!("dark"in t)||p==="light"&&!("light"in t))&&(w=!0),!w)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:uu(21,p));const y=zs(g,w,c,p);m&&!g.light&&zs(g,m,void 0,"light"),h&&!g.dark&&zs(g,h,void 0,"dark");let D={defaultColorScheme:p,...y,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:l,getCssVar:o,colorSchemes:g,font:{...jD(y.typography),...y.font},spacing:s6(c.spacing)};Object.keys(D.colorSchemes).forEach(T=>{const x=D.colorSchemes[T].palette,_=F=>{const N=F.split("-"),I=N[1],M=N[2];return o(F,x[I][M])};if(x.mode==="light"&&(H(x.common,"background","#fff"),H(x.common,"onBackground","#000")),x.mode==="dark"&&(H(x.common,"background","#000"),H(x.common,"onBackground","#fff")),a6(x,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),x.mode==="light"){H(x.Alert,"errorColor",Qe(x.error.light,.6)),H(x.Alert,"infoColor",Qe(x.info.light,.6)),H(x.Alert,"successColor",Qe(x.success.light,.6)),H(x.Alert,"warningColor",Qe(x.warning.light,.6)),H(x.Alert,"errorFilledBg",_("palette-error-main")),H(x.Alert,"infoFilledBg",_("palette-info-main")),H(x.Alert,"successFilledBg",_("palette-success-main")),H(x.Alert,"warningFilledBg",_("palette-warning-main")),H(x.Alert,"errorFilledColor",gr(()=>x.getContrastText(x.error.main))),H(x.Alert,"infoFilledColor",gr(()=>x.getContrastText(x.info.main))),H(x.Alert,"successFilledColor",gr(()=>x.getContrastText(x.success.main))),H(x.Alert,"warningFilledColor",gr(()=>x.getContrastText(x.warning.main))),H(x.Alert,"errorStandardBg",Ke(x.error.light,.9)),H(x.Alert,"infoStandardBg",Ke(x.info.light,.9)),H(x.Alert,"successStandardBg",Ke(x.success.light,.9)),H(x.Alert,"warningStandardBg",Ke(x.warning.light,.9)),H(x.Alert,"errorIconColor",_("palette-error-main")),H(x.Alert,"infoIconColor",_("palette-info-main")),H(x.Alert,"successIconColor",_("palette-success-main")),H(x.Alert,"warningIconColor",_("palette-warning-main")),H(x.AppBar,"defaultBg",_("palette-grey-100")),H(x.Avatar,"defaultBg",_("palette-grey-400")),H(x.Button,"inheritContainedBg",_("palette-grey-300")),H(x.Button,"inheritContainedHoverBg",_("palette-grey-A100")),H(x.Chip,"defaultBorder",_("palette-grey-400")),H(x.Chip,"defaultAvatarColor",_("palette-grey-700")),H(x.Chip,"defaultIconColor",_("palette-grey-700")),H(x.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),H(x.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),H(x.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),H(x.LinearProgress,"primaryBg",Ke(x.primary.main,.62)),H(x.LinearProgress,"secondaryBg",Ke(x.secondary.main,.62)),H(x.LinearProgress,"errorBg",Ke(x.error.main,.62)),H(x.LinearProgress,"infoBg",Ke(x.info.main,.62)),H(x.LinearProgress,"successBg",Ke(x.success.main,.62)),H(x.LinearProgress,"warningBg",Ke(x.warning.main,.62)),H(x.Skeleton,"bg",`rgba(${_("palette-text-primaryChannel")} / 0.11)`),H(x.Slider,"primaryTrack",Ke(x.primary.main,.62)),H(x.Slider,"secondaryTrack",Ke(x.secondary.main,.62)),H(x.Slider,"errorTrack",Ke(x.error.main,.62)),H(x.Slider,"infoTrack",Ke(x.info.main,.62)),H(x.Slider,"successTrack",Ke(x.success.main,.62)),H(x.Slider,"warningTrack",Ke(x.warning.main,.62));const F=Ii(x.background.default,.8);H(x.SnackbarContent,"bg",F),H(x.SnackbarContent,"color",gr(()=>x.getContrastText(F))),H(x.SpeedDialAction,"fabHoverBg",Ii(x.background.paper,.15)),H(x.StepConnector,"border",_("palette-grey-400")),H(x.StepContent,"border",_("palette-grey-400")),H(x.Switch,"defaultColor",_("palette-common-white")),H(x.Switch,"defaultDisabledColor",_("palette-grey-100")),H(x.Switch,"primaryDisabledColor",Ke(x.primary.main,.62)),H(x.Switch,"secondaryDisabledColor",Ke(x.secondary.main,.62)),H(x.Switch,"errorDisabledColor",Ke(x.error.main,.62)),H(x.Switch,"infoDisabledColor",Ke(x.info.main,.62)),H(x.Switch,"successDisabledColor",Ke(x.success.main,.62)),H(x.Switch,"warningDisabledColor",Ke(x.warning.main,.62)),H(x.TableCell,"border",Ke(Pi(x.divider,1),.88)),H(x.Tooltip,"bg",Pi(x.grey[700],.92))}if(x.mode==="dark"){H(x.Alert,"errorColor",Ke(x.error.light,.6)),H(x.Alert,"infoColor",Ke(x.info.light,.6)),H(x.Alert,"successColor",Ke(x.success.light,.6)),H(x.Alert,"warningColor",Ke(x.warning.light,.6)),H(x.Alert,"errorFilledBg",_("palette-error-dark")),H(x.Alert,"infoFilledBg",_("palette-info-dark")),H(x.Alert,"successFilledBg",_("palette-success-dark")),H(x.Alert,"warningFilledBg",_("palette-warning-dark")),H(x.Alert,"errorFilledColor",gr(()=>x.getContrastText(x.error.dark))),H(x.Alert,"infoFilledColor",gr(()=>x.getContrastText(x.info.dark))),H(x.Alert,"successFilledColor",gr(()=>x.getContrastText(x.success.dark))),H(x.Alert,"warningFilledColor",gr(()=>x.getContrastText(x.warning.dark))),H(x.Alert,"errorStandardBg",Qe(x.error.light,.9)),H(x.Alert,"infoStandardBg",Qe(x.info.light,.9)),H(x.Alert,"successStandardBg",Qe(x.success.light,.9)),H(x.Alert,"warningStandardBg",Qe(x.warning.light,.9)),H(x.Alert,"errorIconColor",_("palette-error-main")),H(x.Alert,"infoIconColor",_("palette-info-main")),H(x.Alert,"successIconColor",_("palette-success-main")),H(x.Alert,"warningIconColor",_("palette-warning-main")),H(x.AppBar,"defaultBg",_("palette-grey-900")),H(x.AppBar,"darkBg",_("palette-background-paper")),H(x.AppBar,"darkColor",_("palette-text-primary")),H(x.Avatar,"defaultBg",_("palette-grey-600")),H(x.Button,"inheritContainedBg",_("palette-grey-800")),H(x.Button,"inheritContainedHoverBg",_("palette-grey-700")),H(x.Chip,"defaultBorder",_("palette-grey-700")),H(x.Chip,"defaultAvatarColor",_("palette-grey-300")),H(x.Chip,"defaultIconColor",_("palette-grey-300")),H(x.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),H(x.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),H(x.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),H(x.LinearProgress,"primaryBg",Qe(x.primary.main,.5)),H(x.LinearProgress,"secondaryBg",Qe(x.secondary.main,.5)),H(x.LinearProgress,"errorBg",Qe(x.error.main,.5)),H(x.LinearProgress,"infoBg",Qe(x.info.main,.5)),H(x.LinearProgress,"successBg",Qe(x.success.main,.5)),H(x.LinearProgress,"warningBg",Qe(x.warning.main,.5)),H(x.Skeleton,"bg",`rgba(${_("palette-text-primaryChannel")} / 0.13)`),H(x.Slider,"primaryTrack",Qe(x.primary.main,.5)),H(x.Slider,"secondaryTrack",Qe(x.secondary.main,.5)),H(x.Slider,"errorTrack",Qe(x.error.main,.5)),H(x.Slider,"infoTrack",Qe(x.info.main,.5)),H(x.Slider,"successTrack",Qe(x.success.main,.5)),H(x.Slider,"warningTrack",Qe(x.warning.main,.5));const F=Ii(x.background.default,.98);H(x.SnackbarContent,"bg",F),H(x.SnackbarContent,"color",gr(()=>x.getContrastText(F))),H(x.SpeedDialAction,"fabHoverBg",Ii(x.background.paper,.15)),H(x.StepConnector,"border",_("palette-grey-600")),H(x.StepContent,"border",_("palette-grey-600")),H(x.Switch,"defaultColor",_("palette-grey-300")),H(x.Switch,"defaultDisabledColor",_("palette-grey-600")),H(x.Switch,"primaryDisabledColor",Qe(x.primary.main,.55)),H(x.Switch,"secondaryDisabledColor",Qe(x.secondary.main,.55)),H(x.Switch,"errorDisabledColor",Qe(x.error.main,.55)),H(x.Switch,"infoDisabledColor",Qe(x.info.main,.55)),H(x.Switch,"successDisabledColor",Qe(x.success.main,.55)),H(x.Switch,"warningDisabledColor",Qe(x.warning.main,.55)),H(x.TableCell,"border",Qe(Pi(x.divider,1),.68)),H(x.Tooltip,"bg",Pi(x.grey[700],.92))}Cr(x.background,"default"),Cr(x.background,"paper"),Cr(x.common,"background"),Cr(x.common,"onBackground"),Cr(x,"divider"),Object.keys(x).forEach(F=>{const N=x[F];F!=="tonalOffset"&&N&&typeof N=="object"&&(N.main&&H(x[F],"mainChannel",hu(gu(N.main))),N.light&&H(x[F],"lightChannel",hu(gu(N.light))),N.dark&&H(x[F],"darkChannel",hu(gu(N.dark))),N.contrastText&&H(x[F],"contrastTextChannel",hu(gu(N.contrastText))),F==="text"&&(Cr(x[F],"primary"),Cr(x[F],"secondary")),F==="action"&&(N.active&&Cr(x[F],"active"),N.selected&&Cr(x[F],"selected")))})}),D=r.reduce((T,x)=>tn(T,x),D);const v={prefix:i,disableCssColorScheme:u,shouldSkipGeneratingVar:a,getSelector:i6(D)},{vars:E,generateThemeVars:A,generateStyleSheets:C}=OD(D,v);return D.vars=E,Object.entries(D.colorSchemes[D.defaultColorScheme]).forEach(([T,x])=>{D[T]=x}),D.generateThemeVars=A,D.generateStyleSheets=C,D.generateSpacing=function(){return zd(c.spacing,As(this))},D.getColorSchemeSelector=MD(s),D.spacing=D.generateSpacing(),D.shouldSkipGeneratingVar=a,D.unstable_sxConfig={...Ei,...c==null?void 0:c.unstable_sxConfig},D.unstable_sx=function(x){return _n({sx:x,theme:this})},D.toRuntimeSource=ah,D}function ch(e,r,t){e.colorSchemes&&t&&(e.colorSchemes[r]={...t!==!0&&t,palette:js({...t===!0?{}:t.palette,mode:r})})}function f6(e={},...r){const{palette:t,cssVariables:n=!1,colorSchemes:u=t?void 0:{light:!0},defaultColorScheme:i=t==null?void 0:t.mode,...a}=e,s=i||"light",l=u==null?void 0:u[s],c={...u,...t?{[s]:{...typeof l!="boolean"&&l,palette:t}}:void 0};if(n===!1){if(!("colorSchemes"in e))return $s(e,...r);let f=t;"palette"in e||c[s]&&(c[s]!==!0?f=c[s].palette:s==="dark"&&(f={mode:"dark"}));const p=$s({...e,palette:f},...r);return p.defaultColorScheme=s,p.colorSchemes=c,p.palette.mode==="light"&&(p.colorSchemes.light={...c.light!==!0&&c.light,palette:p.palette},ch(p,"dark",c.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:p.palette},ch(p,"light",c.light)),p}return!t&&!("light"in c)&&s==="light"&&(c.light=!0),c6({...a,colorSchemes:c,defaultColorScheme:s,...typeof n!="boolean"&&n},...r)}const l6=f6(),d6="$$material";function h6(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const p6=hD({themeId:d6,defaultTheme:l6,rootShouldForwardProp:e=>h6(e)&&e!=="classes"}),m6=_D;process.env.NODE_ENV!=="production"&&(Me.node,Me.object.isRequired);function g6(e){return CD(e)}function b6(e){return Es("MuiSvgIcon",e)}m3("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const y6=e=>{const{color:r,fontSize:t,classes:n}=e,u={root:["root",r!=="inherit"&&`color${fi(r)}`,`fontSize${fi(t)}`]};return d3(u,b6,n)},v6=p6("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,t.color!=="inherit"&&r[`color${fi(t.color)}`],r[`fontSize${fi(t.fontSize)}`]]}})(m6(({theme:e})=>{var r,t,n,u,i,a,s,l,c,f,p,o,d,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(u=(r=e.transitions)==null?void 0:r.create)==null?void 0:u.call(r,"fill",{duration:(n=(t=(e.vars??e).transitions)==null?void 0:t.duration)==null?void 0:n.shorter}),variants:[{props:h=>!h.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((l=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((f=(c=e.typography)==null?void 0:c.pxToRem)==null?void 0:f.call(c,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,h])=>h&&h.main).map(([h])=>{var b,g;return{props:{color:h},style:{color:(g=(b=(e.vars??e).palette)==null?void 0:b[h])==null?void 0:g.main}}}),{props:{color:"action"},style:{color:(o=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:o.active}},{props:{color:"disabled"},style:{color:(m=(d=(e.vars??e).palette)==null?void 0:d.action)==null?void 0:m.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Bi=gt.forwardRef(function(r,t){const n=g6({props:r,name:"MuiSvgIcon"}),{children:u,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:f=!1,titleAccess:p,viewBox:o="0 0 24 24",...d}=n,m=gt.isValidElement(u)&&u.type==="svg",h={...n,color:a,component:s,fontSize:l,instanceFontSize:r.fontSize,inheritViewBox:f,viewBox:o,hasSvgAsChild:m},b={};f||(b.viewBox=o);const g=y6(h);return ee.jsxs(v6,{as:s,className:g3(g.root,i),focusable:"false",color:c,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:t,...b,...d,...m&&u.props,ownerState:h,children:[m?u.props.children:u,p?ee.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(Bi.propTypes={children:Me.node,classes:Me.object,className:Me.string,color:Me.oneOfType([Me.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),Me.string]),component:Me.elementType,fontSize:Me.oneOfType([Me.oneOf(["inherit","large","medium","small"]),Me.string]),htmlColor:Me.string,inheritViewBox:Me.bool,shapeRendering:Me.string,sx:Me.oneOfType([Me.arrayOf(Me.oneOfType([Me.func,Me.object,Me.bool])),Me.func,Me.object]),titleAccess:Me.string,viewBox:Me.string}),Bi.muiName="SvgIcon";function Hs(e,r){function t(n,u){return ee.jsx(Bi,{"data-testid":`${r}Icon`,ref:u,...n,children:e})}return process.env.NODE_ENV!=="production"&&(t.displayName=`${r}Icon`),t.muiName=Bi.muiName,gt.memo(gt.forwardRef(t))}const w6=Hs(ee.jsx("path",{d:"m7 14 5-5 5 5z"}),"ArrowDropUp"),D6=Hs(ee.jsx("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");function E6(e){let r=e.replace(/[^\d.-]/g,"");r=(r.indexOf("-")===0?"-":"")+r.replace(/-/g,"");const n=r.indexOf(".");if(n!==-1){const u=r.replace(/\./g,"");r=u.slice(0,n)+"."+u.slice(n)}return r}const Ri=e=>/^-?(?:\d+|\d*\.\d+|\d+\.)$/.test(e);function fh(e){const{disabled:r,readonly:t,decimalPlaces:n=14,name:u,rules:i,sx:a,...s}=e,{field:l,fieldState:{error:c}}=Zt.useController({name:u,rules:{...i,validate:d=>d&&!Ri(d)?"Please enter a valid number.":!0}}),f=d=>{const m=d.target.value,h=E6(m);l.onChange(h)},p=d=>{const m=parseFloat(d);if(Ri(d)){const h=Zv(m,n);l.onChange(Xv(h))}l.onBlur()};if(t)return ee.jsx(Qr,{label:s.label,text:l.value,sx:a,error:c==null?void 0:c.message});const o=ee.jsxs(qe.InputAdornment,{position:"end",sx:{display:"flex",flexDirection:"column",gap:1,alignItems:"center",height:"auto !important"},children:[ee.jsx(qe.IconButton,{size:"small",onClick:()=>{if(Ri(l.value)||!l.value){const d=e3(l.value||0,1);l.onChange(d),p(d)}},disabled:r,sx:{pt:0,pb:0},children:ee.jsx(w6,{fontSize:"small","data-testid":"increment-button"})}),ee.jsx(qe.IconButton,{size:"small",onClick:()=>{if(Ri(l.value)||!l.value){const d=t3(l.value||0,1);l.onChange(d),p(d)}},disabled:r,sx:{pt:0,pb:0},children:ee.jsx(D6,{fontSize:"small","data-testid":"decrement-button"})})]});return ee.jsx(qe.TextField,{...l,...s,onChange:f,onBlur:d=>p(d.target.value),fullWidth:!0,placeholder:r?"0":"",error:!!c,helperText:!!c&&ee.jsx(dn,{error:c.message}),disabled:r,sx:{...a,m:0},InputProps:{endAdornment:o},slotProps:{input:{endAdornment:o}}})}function lh({name:e,label:r,sx:t={}}){const{control:n}=Zt.useFormContext();return ee.jsx(Zt.Controller,{name:e,control:n,render:({field:u,fieldState:{error:i}})=>ee.jsx(Qr,{label:r,text:u.value||0,sx:t,error:i==null?void 0:i.message})})}function dh({name:e,label:r,options:t=[],sx:n={},disabled:u,rules:i={},readonly:a}){const{field:s,fieldState:{error:l}}=Zt.useController({name:e,rules:i}),c=t.map(p=>({label:p.displayValue,id:p.key})),{value:f}=s;return a?ee.jsx(Qr,{label:r,text:f==null?void 0:f.displayValue,sx:n,error:l==null?void 0:l.message}):ee.jsx(qe.Autocomplete,{"data-test-id":"form-field-select",...s,value:f==null?void 0:f.displayValue,onChange:(p,o)=>s.onChange(o?{displayValue:o.label,key:o.id}:null),options:c,renderInput:p=>ee.jsx(qe.TextField,{...p,label:r,error:!!l,helperText:!!l&&ee.jsx(dn,{error:l.message}),slotProps:{inputLabel:{shrink:!0}},sx:{...n,m:0}}),fullWidth:!0,disabled:u})}const x6=Hs(ee.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"}),"Help");var Us,hh;function A6(){return hh||(hh=1,Us=(function(e){var r={};function t(n){if(r[n])return r[n].exports;var u=r[n]={i:n,l:!1,exports:{}};return e[n].call(u.exports,u,u.exports,t),u.l=!0,u.exports}return t.m=e,t.c=r,t.d=function(n,u,i){t.o(n,u)||Object.defineProperty(n,u,{enumerable:!0,get:i})},t.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,u){if(1&u&&(n=t(n)),8&u||4&u&&typeof n=="object"&&n&&n.__esModule)return n;var i=Object.create(null);if(t.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:n}),2&u&&typeof n!="string")for(var a in n)t.d(i,a,(function(s){return n[s]}).bind(null,a));return i},t.n=function(n){var u=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(u,"a",u),u},t.o=function(n,u){return Object.prototype.hasOwnProperty.call(n,u)},t.p="",t(t.s=2)})([function(e,r){e.exports=dd()},function(e,r){e.exports=Ge},function(e,r,t){t.r(r);var n=t(1),u=t(0),i=function(){return(i=Object.assign||function(m){for(var h,b=1,g=arguments.length;b<g;b++)for(var w in h=arguments[b])Object.prototype.hasOwnProperty.call(h,w)&&(m[w]=h[w]);return m}).apply(this,arguments)},a=function(m,h){var b={};for(var g in m)Object.prototype.hasOwnProperty.call(m,g)&&h.indexOf(g)<0&&(b[g]=m[g]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(g=Object.getOwnPropertySymbols(m);w<g.length;w++)h.indexOf(g[w])<0&&Object.prototype.propertyIsEnumerable.call(m,g[w])&&(b[g[w]]=m[g[w]])}return b},s=0,l=n.forwardRef((function(m,h){var b=m.title,g=b===void 0?null:b,w=m.description,y=w===void 0?null:w,D=m.size,v=D===void 0?null:D,E=m.color,A=E===void 0?"currentColor":E,C=m.horizontal,T=C===void 0?null:C,x=m.vertical,_=x===void 0?null:x,F=m.rotate,N=F===void 0?null:F,I=m.spin,M=I===void 0?null:I,R=m.style,J=R===void 0?{}:R,ne=m.children,ie=a(m,["title","description","size","color","horizontal","vertical","rotate","spin","style","children"]);s++;var k,Z=M!==null&&M,fe=n.Children.map(ne,(function(he){var oe=he;Z!==!0&&(Z=(M===null?oe.props.spin:M)===!0);var be=oe.props.size;typeof v=="number"&&typeof oe.props.size=="number"&&(be=oe.props.size/v);var ye={size:be,color:A===null?oe.props.color:A,horizontal:T===null?oe.props.horizontal:T,vertical:_===null?oe.props.vertical:_,rotate:N===null?oe.props.rotate:N,spin:M===null?oe.props.spin:M,inStack:!0};return n.cloneElement(oe,ye)}));v!==null&&(J.width=typeof v=="string"?v:1.5*v+"rem");var G,se="stack_labelledby_"+s,de="stack_describedby_"+s;if(g)k=y?se+" "+de:se;else if(G="presentation",y)throw new Error("title attribute required when description is set");return n.createElement("svg",i({ref:h,viewBox:"0 0 24 24",style:J,role:G,"aria-labelledby":k},ie),g&&n.createElement("title",{id:se},g),y&&n.createElement("desc",{id:de},y),Z&&n.createElement("style",null,"@keyframes spin { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }","@keyframes spin-inverse { from { transform: rotate(0deg) } to { transform: rotate(-360deg) } }"),fe)}));l.displayName="Stack",l.propTypes={size:u.oneOfType([u.number,u.string]),color:u.string,horizontal:u.bool,vertical:u.bool,rotate:u.number,spin:u.oneOfType([u.bool,u.number]),children:u.oneOfType([u.arrayOf(u.node),u.node]).isRequired,className:u.string,style:u.object},l.defaultProps={size:null,color:null,horizontal:null,vertical:null,rotate:null,spin:null};var c=l;t.d(r,"Icon",(function(){return d})),t.d(r,"Stack",(function(){return c}));var f=function(){return(f=Object.assign||function(m){for(var h,b=1,g=arguments.length;b<g;b++)for(var w in h=arguments[b])Object.prototype.hasOwnProperty.call(h,w)&&(m[w]=h[w]);return m}).apply(this,arguments)},p=function(m,h){var b={};for(var g in m)Object.prototype.hasOwnProperty.call(m,g)&&h.indexOf(g)<0&&(b[g]=m[g]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(g=Object.getOwnPropertySymbols(m);w<g.length;w++)h.indexOf(g[w])<0&&Object.prototype.propertyIsEnumerable.call(m,g[w])&&(b[g[w]]=m[g[w]])}return b},o=0,d=n.forwardRef((function(m,h){var b=m.path,g=m.id,w=g===void 0?++o:g,y=m.title,D=y===void 0?null:y,v=m.description,E=v===void 0?null:v,A=m.size,C=A===void 0?null:A,T=m.color,x=T===void 0?"currentColor":T,_=m.horizontal,F=_!==void 0&&_,N=m.vertical,I=N!==void 0&&N,M=m.rotate,R=M===void 0?0:M,J=m.spin,ne=J!==void 0&&J,ie=m.style,k=ie===void 0?{}:ie,Z=m.inStack,fe=Z!==void 0&&Z,G=p(m,["path","id","title","description","size","color","horizontal","vertical","rotate","spin","style","inStack"]),se={},de=[];C!==null&&(fe?de.push("scale("+C+")"):(k.width=typeof C=="string"?C:1.5*C+"rem",k.height=k.width)),F&&de.push("scaleX(-1)"),I&&de.push("scaleY(-1)"),R!==0&&de.push("rotate("+R+"deg)"),x!==null&&(se.fill=x);var he=n.createElement("path",f({d:b,style:se},fe?G:{})),oe=he;de.length>0&&(k.transform=de.join(" "),k.transformOrigin="center",fe&&(oe=n.createElement("g",{style:k},he,n.createElement("rect",{width:"24",height:"24",fill:"transparent"}))));var be,ye=oe,ve=ne===!0||typeof ne!="number"?2:ne,L=!fe&&(F||I);if(ve<0&&(L=!L),ne&&(ye=n.createElement("g",{style:{animation:"spin"+(L?"-inverse":"")+" linear "+Math.abs(ve)+"s infinite",transformOrigin:"center"}},oe,!(F||I||R!==0)&&n.createElement("rect",{width:"24",height:"24",fill:"transparent"}))),fe)return ye;var q,W="icon_labelledby_"+w,pe="icon_describedby_"+w;if(D)be=E?W+" "+pe:W;else if(q="presentation",E)throw new Error("title attribute required when description is set");return n.createElement("svg",f({ref:h,viewBox:"0 0 24 24",style:k,role:q,"aria-labelledby":be},G),D&&n.createElement("title",{id:W},D),E&&n.createElement("desc",{id:pe},E),!fe&&ne&&(L?n.createElement("style",null,"@keyframes spin-inverse { from { transform: rotate(0deg) } to { transform: rotate(-360deg) } }"):n.createElement("style",null,"@keyframes spin { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }")),ye)}));d.displayName="Icon",d.propTypes={path:u.string.isRequired,size:u.oneOfType([u.number,u.string]),color:u.string,horizontal:u.bool,vertical:u.bool,rotate:u.number,spin:u.oneOfType([u.bool,u.number]),style:u.object,inStack:u.bool,className:u.string},d.defaultProps={size:null,color:"currentColor",horizontal:!1,vertical:!1,rotate:0,spin:!1},r.default=d}])),Us}var C6=A6();const Vs=Eu(C6);var _6="M7,2H17A2,2 0 0,1 19,4V20A2,2 0 0,1 17,22H7A2,2 0 0,1 5,20V4A2,2 0 0,1 7,2M7,4V8H17V4H7M7,10V12H9V10H7M11,10V12H13V10H11M15,10V12H17V10H15M7,14V16H9V14H7M11,14V16H13V14H11M15,14V16H17V14H15M7,18V20H9V18H7M11,18V20H13V18H11M15,18V20H17V18H15Z",T6="M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1M12,7C13.4,7 14.8,8.1 14.8,9.5V11C15.4,11 16,11.6 16,12.3V15.8C16,16.4 15.4,17 14.7,17H9.2C8.6,17 8,16.4 8,15.7V12.2C8,11.6 8.6,11 9.2,11V9.5C9.2,8.1 10.6,7 12,7M12,8.2C11.2,8.2 10.5,8.7 10.5,9.5V11H13.5V9.5C13.5,8.7 12.8,8.2 12,8.2Z",S6="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z";function sn({children:e,internal:r,required:t,helpText:n,isCalculated:u,readonly:i,deleted:a,isSection:s,variant:l="h4"}){const c={display:"flex",alignItems:"center"},f=i?{...c,gap:1}:{...c,justifyContent:"space-between"};return ee.jsxs(qe.Box,{sx:f,children:[ee.jsxs(qe.Typography,{"data-testid":"form-field-label",variant:l,color:"black",sx:{whiteSpace:"normal",wordBreak:"break-word"},children:[e,t&&"*"]}),ee.jsxs(qe.Box,{sx:{display:"flex",gap:1},children:[r&&ee.jsx(qe.Tooltip,{placement:"top",title:s?"This section is hidden from the applicant and visible to employees only.":"This field is hidden from the applicant and visible to employees only.",sx:{cursor:"default"},children:ee.jsx(Vs,{path:T6,size:"20px",color:cn.capitalDesignTokens.foundations.colors.yellow700,"data-testid":"internal-icon"})}),n&&n!==""&&ee.jsx(qe.Tooltip,{placement:"top",title:ee.jsx(qe.Typography,{variant:"bodyXSmall",sx:{whiteSpace:"pre-line"},children:n}),sx:{cursor:"default"},children:ee.jsx(x6,{fontSize:"small",htmlColor:cn.capitalDesignTokens.foundations.colors.gray600,"data-testid":"help-icon"})}),u&&ee.jsx(qe.Tooltip,{placement:"top",title:"This field is calculated.",sx:{cursor:"default"},children:ee.jsx(Vs,{path:_6,size:"20px",color:cn.capitalDesignTokens.foundations.colors.gray800,"data-testid":"calculation-icon"})}),a&&ee.jsx(qe.Tooltip,{placement:"top",title:"This field was deleted.",sx:{cursor:"default"},children:ee.jsx(Vs,{path:S6,size:"20px",color:cn.capitalDesignTokens.foundations.colors.gray800})})]})]})}const F6={y:{sectionType:"year",contentType:"digit",maxLength:4},yy:"year",yyy:{sectionType:"year",contentType:"digit",maxLength:4},yyyy:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMMM:{sectionType:"month",contentType:"letter"},MMM:{sectionType:"month",contentType:"letter"},L:{sectionType:"month",contentType:"digit",maxLength:2},LL:"month",LLL:{sectionType:"month",contentType:"letter"},LLLL:{sectionType:"month",contentType:"letter"},d:{sectionType:"day",contentType:"digit",maxLength:2},dd:"day",do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"letter"},EE:{sectionType:"weekDay",contentType:"letter"},EEE:{sectionType:"weekDay",contentType:"letter"},EEEE:{sectionType:"weekDay",contentType:"letter"},EEEEE:{sectionType:"weekDay",contentType:"letter"},i:{sectionType:"weekDay",contentType:"digit",maxLength:1},ii:"weekDay",iii:{sectionType:"weekDay",contentType:"letter"},iiii:{sectionType:"weekDay",contentType:"letter"},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},ee:"weekDay",eee:{sectionType:"weekDay",contentType:"letter"},eeee:{sectionType:"weekDay",contentType:"letter"},eeeee:{sectionType:"weekDay",contentType:"letter"},eeeeee:{sectionType:"weekDay",contentType:"letter"},c:{sectionType:"weekDay",contentType:"digit",maxLength:1},cc:"weekDay",ccc:{sectionType:"weekDay",contentType:"letter"},cccc:{sectionType:"weekDay",contentType:"letter"},ccccc:{sectionType:"weekDay",contentType:"letter"},cccccc:{sectionType:"weekDay",contentType:"letter"},a:"meridiem",aa:"meridiem",aaa:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},O6={year:"yyyy",month:"LLLL",monthShort:"MMM",dayOfMonth:"d",dayOfMonthFull:"do",weekday:"EEEE",weekdayShort:"EEEEEE",hours24h:"HH",hours12h:"hh",meridiem:"aa",minutes:"mm",seconds:"ss",fullDate:"PP",keyboardDate:"P",shortDate:"MMM d",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",fullTime12h:"hh:mm aa",fullTime24h:"HH:mm",keyboardDateTime12h:"P hh:mm aa",keyboardDateTime24h:"P HH:mm"};class M6{constructor(r){j(this,"isMUIAdapter",!0);j(this,"isTimezoneCompatible",!1);j(this,"formatTokenMap",F6);j(this,"escapedCharacters",{start:"'",end:"'"});j(this,"date",r=>typeof r>"u"?new Date:r===null?null:new Date(r));j(this,"getInvalidDate",()=>new Date("Invalid Date"));j(this,"getTimezone",()=>"default");j(this,"setTimezone",r=>r);j(this,"toJsDate",r=>r);j(this,"getCurrentLocaleCode",()=>this.locale.code);j(this,"is12HourCycleInCurrentLocale",()=>/a/.test(this.locale.formatLong.time({width:"short"})));j(this,"expandFormat",r=>{const t=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;return r.match(t).map(n=>{const u=n[0];if(u==="p"||u==="P"){const i=this.longFormatters[u];return i(n,this.locale.formatLong)}return n}).join("")});j(this,"formatNumber",r=>r);j(this,"getDayOfWeek",r=>r.getDay()+1);const{locale:t,formats:n,longFormatters:u,lib:i}=r;this.locale=t,this.formats=hn({},O6,n),this.longFormatters=u,this.lib=i||"date-fns"}}class N6 extends M6{constructor({locale:t,formats:n}={}){if(process.env.NODE_ENV!=="production"){if(typeof zr!="function")throw new Error(["MUI: The `date-fns` package v2.x is not compatible with this adapter.","Please, install v3.x or v4.x of the package or use the `AdapterDateFnsV2` instead."].join(`
|
|
164
|
-
`));if(!Vn)throw new Error("MUI: The minimum supported `date-fns` package version compatible with this adapter is `3.2.x`.")}super({locale:t??Qi,formats:n,longFormatters:Vn});j(this,"parse",(t,n)=>t===""?null:Cg(t,n,new Date,{locale:this.locale}));j(this,"isValid",t=>t==null?!1:Yc(t));j(this,"format",(t,n)=>this.formatByString(t,this.formats[n]));j(this,"formatByString",(t,n)=>ea(t,n,{locale:this.locale}));j(this,"isEqual",(t,n)=>t===null&&n===null?!0:t===null||n===null?!1:Om(t,n));j(this,"isSameYear",(t,n)=>Fg(t,n));j(this,"isSameMonth",(t,n)=>Sg(t,n));j(this,"isSameDay",(t,n)=>Tp(t,n));j(this,"isSameHour",(t,n)=>Tg(t,n));j(this,"isAfter",(t,n)=>_u(t,n));j(this,"isAfterYear",(t,n)=>_u(t,Xc(n)));j(this,"isAfterDay",(t,n)=>_u(t,Gc(n)));j(this,"isBefore",(t,n)=>Tu(t,n));j(this,"isBeforeYear",(t,n)=>Tu(t,this.startOfYear(n)));j(this,"isBeforeDay",(t,n)=>Tu(t,this.startOfDay(n)));j(this,"isWithinRange",(t,[n,u])=>Og(t,{start:n,end:u}));j(this,"startOfYear",t=>Qc(t));j(this,"startOfMonth",t=>Op(t));j(this,"startOfWeek",t=>br(t,{locale:this.locale}));j(this,"startOfDay",t=>Ur(t));j(this,"endOfYear",t=>Xc(t));j(this,"endOfMonth",t=>Fp(t));j(this,"endOfWeek",t=>Mp(t,{locale:this.locale}));j(this,"endOfDay",t=>Gc(t));j(this,"addYears",(t,n)=>_p(t,n));j(this,"addMonths",(t,n)=>Au(t,n));j(this,"addWeeks",(t,n)=>Cp(t,n));j(this,"addDays",(t,n)=>zr(t,n));j(this,"addHours",(t,n)=>vp(t,n));j(this,"addMinutes",(t,n)=>xp(t,n));j(this,"addSeconds",(t,n)=>Ap(t,n));j(this,"getYear",t=>Fm(t));j(this,"getMonth",t=>Tm(t));j(this,"getDate",t=>Dm(t));j(this,"getHours",t=>xm(t));j(this,"getMinutes",t=>_m(t));j(this,"getSeconds",t=>Sm(t));j(this,"getMilliseconds",t=>Cm(t));j(this,"setYear",(t,n)=>kg(t,n));j(this,"setMonth",(t,n)=>Ng(t,n));j(this,"setDate",(t,n)=>Pg(t,n));j(this,"setHours",(t,n)=>Ig(t,n));j(this,"setMinutes",(t,n)=>Rg(t,n));j(this,"setSeconds",(t,n)=>qg(t,n));j(this,"setMilliseconds",(t,n)=>Bg(t,n));j(this,"getDaysInMonth",t=>i0(t));j(this,"getWeekArray",t=>{const n=this.startOfWeek(this.startOfMonth(t)),u=this.endOfWeek(this.endOfMonth(t));let i=0,a=n;const s=[];for(;this.isBefore(a,u);){const l=Math.floor(i/7);s[l]=s[l]||[],s[l].push(a),a=this.addDays(a,1),i+=1}return s});j(this,"getWeekNumber",t=>Zi(t,{locale:this.locale}));j(this,"getYearRange",([t,n])=>{const u=this.startOfYear(t),i=this.endOfYear(n),a=[];let s=u;for(;this.isBefore(s,i);)a.push(s),s=this.addYears(s,1);return a})}}const ph=Ge.createContext(void 0),P6=({children:e,layout:r={section:()=>({}),field:()=>({})}})=>ee.jsx(ph.Provider,{value:{layout:r},children:e}),mh=()=>{const e=Ge.useContext(ph);if(!e)throw new Error("useFormLayout must be used within a FormLayoutProvider");return e.layout},gh=Ge.createContext(void 0),I6=({children:e,template:r,fieldTypes:t})=>ee.jsx(gh.Provider,{value:{template:r,fieldTypes:t},children:e}),bh=()=>{const e=Ge.useContext(gh);if(!e)throw new Error("useFormRenderer must be used within a FormRendererProvider");return e},B6=e=>{const{fieldTypes:r}=bh();if(!e)return null;const t=r.find(i=>i.type===e);if(!t)throw new Error(`Field type ${e} not found`);const{renderField:n,...u}=t;return{renderField:n,fullWidth:u.fullWidth,...u}},R6=e=>{const{template:r}=bh(),t=r.fields[e];if(!t)throw new Error(`Field template for ${e} not found`);return t},q6={type:"DATE",name:"Date",groups:[],dateFormat:"MM/dd/yyyy",renderField:(e,r,{disabled:t,readonly:n,name:u})=>ee.jsx(If,{name:u??e.id,label:ee.jsx(sn,{...e,readonly:n,children:e.label}),rules:Bn(e),constraints:e.constraints,dateFormat:r.dateFormat,disabled:t,readonly:n})},k6={type:"DROPDOWN",name:"Dropdown",groups:[],renderField:(e,r,{disabled:t,readonly:n,name:u})=>ee.jsx(dh,{name:u??e.id,label:ee.jsx(sn,{...e,children:e.label}),rules:Bn(e),options:e.options,disabled:t,readonly:n})},L6={type:"CHECKBOX",name:"Checkbox",groups:[],renderField:(e,r,{disabled:t,readonly:n,name:u})=>ee.jsx(Bf,{name:u??e.id,label:ee.jsx(sn,{...e,readonly:n,children:e.label}),rules:Bn(e),disabled:t,readonly:n})},j6={type:"TEXTINPUT",name:"Text",groups:[],maxLength:262144,filter:e=>e.replace(/[^\u0000-\u00FF ]/g,""),renderField:(e,r,{disabled:t,readonly:n,name:u})=>ee.jsx(Rf,{rules:Bn(e),label:ee.jsx(sn,{...e,readonly:n,children:e.label}),name:u??e.id,disabled:t,readonly:n,maxLength:r.maxLength,filter:r.filter})},$6={type:"NUMBER",name:"Number",groups:[],decimalPlaces:14,renderField:(e,r,{disabled:t,readonly:n,name:u})=>ee.jsx(fh,{name:u??e.id,label:ee.jsx(sn,{...e,readonly:n,children:e.label}),rules:{...Bn(e),min:{value:e.min,message:`Value must be at least ${e.min}.`},max:{value:e.max,message:`Value must be no more than ${e.max}.`}},disabled:t,readonly:n,decimalPlaces:r.decimalPlaces})},z6={type:"CALCULATEDNUMBER",name:"Calculated Number",groups:[],renderField:(e,r,{readonly:t,name:n})=>ee.jsx(lh,{name:n??e.id,label:ee.jsx(sn,{...e,readonly:t,children:e.label}),rules:[]})},Bn=e=>({required:{value:e.required??!1,message:"This field is required."}}),yh=[j6,$6,z6,k6,L6,q6];function H6({children:e,template:r,fieldTypes:t=yh,layout:n}){return ee.jsx($r.LocalizationProvider,{dateAdapter:N6,adapterLocale:void 0,children:ee.jsx(P6,{layout:n,children:ee.jsx(I6,{template:r,fieldTypes:t,children:e})})})}var Ws,vh;function U6(){if(vh)return Ws;vh=1;function e(){this.__data__=[],this.size=0}return Ws=e,Ws}var Ys,wh;function Dh(){if(wh)return Ys;wh=1;function e(r,t){return r===t||r!==r&&t!==t}return Ys=e,Ys}var Gs,Eh;function qi(){if(Eh)return Gs;Eh=1;var e=Dh();function r(t,n){for(var u=t.length;u--;)if(e(t[u][0],n))return u;return-1}return Gs=r,Gs}var Xs,xh;function V6(){if(xh)return Xs;xh=1;var e=qi(),r=Array.prototype,t=r.splice;function n(u){var i=this.__data__,a=e(i,u);if(a<0)return!1;var s=i.length-1;return a==s?i.pop():t.call(i,a,1),--this.size,!0}return Xs=n,Xs}var Qs,Ah;function W6(){if(Ah)return Qs;Ah=1;var e=qi();function r(t){var n=this.__data__,u=e(n,t);return u<0?void 0:n[u][1]}return Qs=r,Qs}var Ks,Ch;function Y6(){if(Ch)return Ks;Ch=1;var e=qi();function r(t){return e(this.__data__,t)>-1}return Ks=r,Ks}var Zs,_h;function G6(){if(_h)return Zs;_h=1;var e=qi();function r(t,n){var u=this.__data__,i=e(u,t);return i<0?(++this.size,u.push([t,n])):u[i][1]=n,this}return Zs=r,Zs}var Js,Th;function ki(){if(Th)return Js;Th=1;var e=U6(),r=V6(),t=W6(),n=Y6(),u=G6();function i(a){var s=-1,l=a==null?0:a.length;for(this.clear();++s<l;){var c=a[s];this.set(c[0],c[1])}}return i.prototype.clear=e,i.prototype.delete=r,i.prototype.get=t,i.prototype.has=n,i.prototype.set=u,Js=i,Js}var eo,Sh;function X6(){if(Sh)return eo;Sh=1;var e=ki();function r(){this.__data__=new e,this.size=0}return eo=r,eo}var to,Fh;function Q6(){if(Fh)return to;Fh=1;function e(r){var t=this.__data__,n=t.delete(r);return this.size=t.size,n}return to=e,to}var ro,Oh;function K6(){if(Oh)return ro;Oh=1;function e(r){return this.__data__.get(r)}return ro=e,ro}var no,Mh;function Z6(){if(Mh)return no;Mh=1;function e(r){return this.__data__.has(r)}return no=e,no}var uo,Nh;function Ph(){if(Nh)return uo;Nh=1;var e=typeof Du=="object"&&Du&&Du.Object===Object&&Du;return uo=e,uo}var io,Ih;function _r(){if(Ih)return io;Ih=1;var e=Ph(),r=typeof self=="object"&&self&&self.Object===Object&&self,t=e||r||Function("return this")();return io=t,io}var ao,Bh;function so(){if(Bh)return ao;Bh=1;var e=_r(),r=e.Symbol;return ao=r,ao}var oo,Rh;function J6(){if(Rh)return oo;Rh=1;var e=so(),r=Object.prototype,t=r.hasOwnProperty,n=r.toString,u=e?e.toStringTag:void 0;function i(a){var s=t.call(a,u),l=a[u];try{a[u]=void 0;var c=!0}catch{}var f=n.call(a);return c&&(s?a[u]=l:delete a[u]),f}return oo=i,oo}var co,qh;function e4(){if(qh)return co;qh=1;var e=Object.prototype,r=e.toString;function t(n){return r.call(n)}return co=t,co}var fo,kh;function Li(){if(kh)return fo;kh=1;var e=so(),r=J6(),t=e4(),n="[object Null]",u="[object Undefined]",i=e?e.toStringTag:void 0;function a(s){return s==null?s===void 0?u:n:i&&i in Object(s)?r(s):t(s)}return fo=a,fo}var lo,Lh;function jh(){if(Lh)return lo;Lh=1;function e(r){var t=typeof r;return r!=null&&(t=="object"||t=="function")}return lo=e,lo}var ho,$h;function zh(){if($h)return ho;$h=1;var e=Li(),r=jh(),t="[object AsyncFunction]",n="[object Function]",u="[object GeneratorFunction]",i="[object Proxy]";function a(s){if(!r(s))return!1;var l=e(s);return l==n||l==u||l==t||l==i}return ho=a,ho}var po,Hh;function t4(){if(Hh)return po;Hh=1;var e=_r(),r=e["__core-js_shared__"];return po=r,po}var mo,Uh;function r4(){if(Uh)return mo;Uh=1;var e=t4(),r=(function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""})();function t(n){return!!r&&r in n}return mo=t,mo}var go,Vh;function Wh(){if(Vh)return go;Vh=1;var e=Function.prototype,r=e.toString;function t(n){if(n!=null){try{return r.call(n)}catch{}try{return n+""}catch{}}return""}return go=t,go}var bo,Yh;function n4(){if(Yh)return bo;Yh=1;var e=zh(),r=r4(),t=jh(),n=Wh(),u=/[\\^$.*+?()[\]{}|]/g,i=/^\[object .+?Constructor\]$/,a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,f=RegExp("^"+l.call(c).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(o){if(!t(o)||r(o))return!1;var d=e(o)?f:i;return d.test(n(o))}return bo=p,bo}var yo,Gh;function u4(){if(Gh)return yo;Gh=1;function e(r,t){return r==null?void 0:r[t]}return yo=e,yo}var vo,Xh;function Rn(){if(Xh)return vo;Xh=1;var e=n4(),r=u4();function t(n,u){var i=r(n,u);return e(i)?i:void 0}return vo=t,vo}var wo,Qh;function Do(){if(Qh)return wo;Qh=1;var e=Rn(),r=_r(),t=e(r,"Map");return wo=t,wo}var Eo,Kh;function ji(){if(Kh)return Eo;Kh=1;var e=Rn(),r=e(Object,"create");return Eo=r,Eo}var xo,Zh;function i4(){if(Zh)return xo;Zh=1;var e=ji();function r(){this.__data__=e?e(null):{},this.size=0}return xo=r,xo}var Ao,Jh;function a4(){if(Jh)return Ao;Jh=1;function e(r){var t=this.has(r)&&delete this.__data__[r];return this.size-=t?1:0,t}return Ao=e,Ao}var Co,e1;function s4(){if(e1)return Co;e1=1;var e=ji(),r="__lodash_hash_undefined__",t=Object.prototype,n=t.hasOwnProperty;function u(i){var a=this.__data__;if(e){var s=a[i];return s===r?void 0:s}return n.call(a,i)?a[i]:void 0}return Co=u,Co}var _o,t1;function o4(){if(t1)return _o;t1=1;var e=ji(),r=Object.prototype,t=r.hasOwnProperty;function n(u){var i=this.__data__;return e?i[u]!==void 0:t.call(i,u)}return _o=n,_o}var To,r1;function c4(){if(r1)return To;r1=1;var e=ji(),r="__lodash_hash_undefined__";function t(n,u){var i=this.__data__;return this.size+=this.has(n)?0:1,i[n]=e&&u===void 0?r:u,this}return To=t,To}var So,n1;function f4(){if(n1)return So;n1=1;var e=i4(),r=a4(),t=s4(),n=o4(),u=c4();function i(a){var s=-1,l=a==null?0:a.length;for(this.clear();++s<l;){var c=a[s];this.set(c[0],c[1])}}return i.prototype.clear=e,i.prototype.delete=r,i.prototype.get=t,i.prototype.has=n,i.prototype.set=u,So=i,So}var Fo,u1;function l4(){if(u1)return Fo;u1=1;var e=f4(),r=ki(),t=Do();function n(){this.size=0,this.__data__={hash:new e,map:new(t||r),string:new e}}return Fo=n,Fo}var Oo,i1;function d4(){if(i1)return Oo;i1=1;function e(r){var t=typeof r;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?r!=="__proto__":r===null}return Oo=e,Oo}var Mo,a1;function $i(){if(a1)return Mo;a1=1;var e=d4();function r(t,n){var u=t.__data__;return e(n)?u[typeof n=="string"?"string":"hash"]:u.map}return Mo=r,Mo}var No,s1;function h4(){if(s1)return No;s1=1;var e=$i();function r(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}return No=r,No}var Po,o1;function p4(){if(o1)return Po;o1=1;var e=$i();function r(t){return e(this,t).get(t)}return Po=r,Po}var Io,c1;function m4(){if(c1)return Io;c1=1;var e=$i();function r(t){return e(this,t).has(t)}return Io=r,Io}var Bo,f1;function g4(){if(f1)return Bo;f1=1;var e=$i();function r(t,n){var u=e(this,t),i=u.size;return u.set(t,n),this.size+=u.size==i?0:1,this}return Bo=r,Bo}var Ro,l1;function d1(){if(l1)return Ro;l1=1;var e=l4(),r=h4(),t=p4(),n=m4(),u=g4();function i(a){var s=-1,l=a==null?0:a.length;for(this.clear();++s<l;){var c=a[s];this.set(c[0],c[1])}}return i.prototype.clear=e,i.prototype.delete=r,i.prototype.get=t,i.prototype.has=n,i.prototype.set=u,Ro=i,Ro}var qo,h1;function b4(){if(h1)return qo;h1=1;var e=ki(),r=Do(),t=d1(),n=200;function u(i,a){var s=this.__data__;if(s instanceof e){var l=s.__data__;if(!r||l.length<n-1)return l.push([i,a]),this.size=++s.size,this;s=this.__data__=new t(l)}return s.set(i,a),this.size=s.size,this}return qo=u,qo}var ko,p1;function y4(){if(p1)return ko;p1=1;var e=ki(),r=X6(),t=Q6(),n=K6(),u=Z6(),i=b4();function a(s){var l=this.__data__=new e(s);this.size=l.size}return a.prototype.clear=r,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=u,a.prototype.set=i,ko=a,ko}var Lo,m1;function v4(){if(m1)return Lo;m1=1;var e="__lodash_hash_undefined__";function r(t){return this.__data__.set(t,e),this}return Lo=r,Lo}var jo,g1;function w4(){if(g1)return jo;g1=1;function e(r){return this.__data__.has(r)}return jo=e,jo}var $o,b1;function D4(){if(b1)return $o;b1=1;var e=d1(),r=v4(),t=w4();function n(u){var i=-1,a=u==null?0:u.length;for(this.__data__=new e;++i<a;)this.add(u[i])}return n.prototype.add=n.prototype.push=r,n.prototype.has=t,$o=n,$o}var zo,y1;function E4(){if(y1)return zo;y1=1;function e(r,t){for(var n=-1,u=r==null?0:r.length;++n<u;)if(t(r[n],n,r))return!0;return!1}return zo=e,zo}var Ho,v1;function x4(){if(v1)return Ho;v1=1;function e(r,t){return r.has(t)}return Ho=e,Ho}var Uo,w1;function D1(){if(w1)return Uo;w1=1;var e=D4(),r=E4(),t=x4(),n=1,u=2;function i(a,s,l,c,f,p){var o=l&n,d=a.length,m=s.length;if(d!=m&&!(o&&m>d))return!1;var h=p.get(a),b=p.get(s);if(h&&b)return h==s&&b==a;var g=-1,w=!0,y=l&u?new e:void 0;for(p.set(a,s),p.set(s,a);++g<d;){var D=a[g],v=s[g];if(c)var E=o?c(v,D,g,s,a,p):c(D,v,g,a,s,p);if(E!==void 0){if(E)continue;w=!1;break}if(y){if(!r(s,function(A,C){if(!t(y,C)&&(D===A||f(D,A,l,c,p)))return y.push(C)})){w=!1;break}}else if(!(D===v||f(D,v,l,c,p))){w=!1;break}}return p.delete(a),p.delete(s),w}return Uo=i,Uo}var Vo,E1;function A4(){if(E1)return Vo;E1=1;var e=_r(),r=e.Uint8Array;return Vo=r,Vo}var Wo,x1;function C4(){if(x1)return Wo;x1=1;function e(r){var t=-1,n=Array(r.size);return r.forEach(function(u,i){n[++t]=[i,u]}),n}return Wo=e,Wo}var Yo,A1;function _4(){if(A1)return Yo;A1=1;function e(r){var t=-1,n=Array(r.size);return r.forEach(function(u){n[++t]=u}),n}return Yo=e,Yo}var Go,C1;function T4(){if(C1)return Go;C1=1;var e=so(),r=A4(),t=Dh(),n=D1(),u=C4(),i=_4(),a=1,s=2,l="[object Boolean]",c="[object Date]",f="[object Error]",p="[object Map]",o="[object Number]",d="[object RegExp]",m="[object Set]",h="[object String]",b="[object Symbol]",g="[object ArrayBuffer]",w="[object DataView]",y=e?e.prototype:void 0,D=y?y.valueOf:void 0;function v(E,A,C,T,x,_,F){switch(C){case w:if(E.byteLength!=A.byteLength||E.byteOffset!=A.byteOffset)return!1;E=E.buffer,A=A.buffer;case g:return!(E.byteLength!=A.byteLength||!_(new r(E),new r(A)));case l:case c:case o:return t(+E,+A);case f:return E.name==A.name&&E.message==A.message;case d:case h:return E==A+"";case p:var N=u;case m:var I=T&a;if(N||(N=i),E.size!=A.size&&!I)return!1;var M=F.get(E);if(M)return M==A;T|=s,F.set(E,A);var R=n(N(E),N(A),T,x,_,F);return F.delete(E),R;case b:if(D)return D.call(E)==D.call(A)}return!1}return Go=v,Go}var Xo,_1;function S4(){if(_1)return Xo;_1=1;function e(r,t){for(var n=-1,u=t.length,i=r.length;++n<u;)r[i+n]=t[n];return r}return Xo=e,Xo}var Qo,T1;function Ko(){if(T1)return Qo;T1=1;var e=Array.isArray;return Qo=e,Qo}var Zo,S1;function F4(){if(S1)return Zo;S1=1;var e=S4(),r=Ko();function t(n,u,i){var a=u(n);return r(n)?a:e(a,i(n))}return Zo=t,Zo}var Jo,F1;function O4(){if(F1)return Jo;F1=1;function e(r,t){for(var n=-1,u=r==null?0:r.length,i=0,a=[];++n<u;){var s=r[n];t(s,n,r)&&(a[i++]=s)}return a}return Jo=e,Jo}var ec,O1;function M4(){if(O1)return ec;O1=1;function e(){return[]}return ec=e,ec}var tc,M1;function N4(){if(M1)return tc;M1=1;var e=O4(),r=M4(),t=Object.prototype,n=t.propertyIsEnumerable,u=Object.getOwnPropertySymbols,i=u?function(a){return a==null?[]:(a=Object(a),e(u(a),function(s){return n.call(a,s)}))}:r;return tc=i,tc}var rc,N1;function P4(){if(N1)return rc;N1=1;function e(r,t){for(var n=-1,u=Array(r);++n<r;)u[n]=t(n);return u}return rc=e,rc}var nc,P1;function zi(){if(P1)return nc;P1=1;function e(r){return r!=null&&typeof r=="object"}return nc=e,nc}var uc,I1;function I4(){if(I1)return uc;I1=1;var e=Li(),r=zi(),t="[object Arguments]";function n(u){return r(u)&&e(u)==t}return uc=n,uc}var ic,B1;function B4(){if(B1)return ic;B1=1;var e=I4(),r=zi(),t=Object.prototype,n=t.hasOwnProperty,u=t.propertyIsEnumerable,i=e((function(){return arguments})())?e:function(a){return r(a)&&n.call(a,"callee")&&!u.call(a,"callee")};return ic=i,ic}var bu={exports:{}},ac,R1;function R4(){if(R1)return ac;R1=1;function e(){return!1}return ac=e,ac}bu.exports;var q1;function k1(){return q1||(q1=1,(function(e,r){var t=_r(),n=R4(),u=r&&!r.nodeType&&r,i=u&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===u,s=a?t.Buffer:void 0,l=s?s.isBuffer:void 0,c=l||n;e.exports=c})(bu,bu.exports)),bu.exports}var sc,L1;function q4(){if(L1)return sc;L1=1;var e=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function t(n,u){var i=typeof n;return u=u??e,!!u&&(i=="number"||i!="symbol"&&r.test(n))&&n>-1&&n%1==0&&n<u}return sc=t,sc}var oc,j1;function $1(){if(j1)return oc;j1=1;var e=9007199254740991;function r(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=e}return oc=r,oc}var cc,z1;function k4(){if(z1)return cc;z1=1;var e=Li(),r=$1(),t=zi(),n="[object Arguments]",u="[object Array]",i="[object Boolean]",a="[object Date]",s="[object Error]",l="[object Function]",c="[object Map]",f="[object Number]",p="[object Object]",o="[object RegExp]",d="[object Set]",m="[object String]",h="[object WeakMap]",b="[object ArrayBuffer]",g="[object DataView]",w="[object Float32Array]",y="[object Float64Array]",D="[object Int8Array]",v="[object Int16Array]",E="[object Int32Array]",A="[object Uint8Array]",C="[object Uint8ClampedArray]",T="[object Uint16Array]",x="[object Uint32Array]",_={};_[w]=_[y]=_[D]=_[v]=_[E]=_[A]=_[C]=_[T]=_[x]=!0,_[n]=_[u]=_[b]=_[i]=_[g]=_[a]=_[s]=_[l]=_[c]=_[f]=_[p]=_[o]=_[d]=_[m]=_[h]=!1;function F(N){return t(N)&&r(N.length)&&!!_[e(N)]}return cc=F,cc}var fc,H1;function L4(){if(H1)return fc;H1=1;function e(r){return function(t){return r(t)}}return fc=e,fc}var yu={exports:{}};yu.exports;var U1;function j4(){return U1||(U1=1,(function(e,r){var t=Ph(),n=r&&!r.nodeType&&r,u=n&&!0&&e&&!e.nodeType&&e,i=u&&u.exports===n,a=i&&t.process,s=(function(){try{var l=u&&u.require&&u.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}})();e.exports=s})(yu,yu.exports)),yu.exports}var lc,V1;function W1(){if(V1)return lc;V1=1;var e=k4(),r=L4(),t=j4(),n=t&&t.isTypedArray,u=n?r(n):e;return lc=u,lc}var dc,Y1;function $4(){if(Y1)return dc;Y1=1;var e=P4(),r=B4(),t=Ko(),n=k1(),u=q4(),i=W1(),a=Object.prototype,s=a.hasOwnProperty;function l(c,f){var p=t(c),o=!p&&r(c),d=!p&&!o&&n(c),m=!p&&!o&&!d&&i(c),h=p||o||d||m,b=h?e(c.length,String):[],g=b.length;for(var w in c)(f||s.call(c,w))&&!(h&&(w=="length"||d&&(w=="offset"||w=="parent")||m&&(w=="buffer"||w=="byteLength"||w=="byteOffset")||u(w,g)))&&b.push(w);return b}return dc=l,dc}var hc,G1;function z4(){if(G1)return hc;G1=1;var e=Object.prototype;function r(t){var n=t&&t.constructor,u=typeof n=="function"&&n.prototype||e;return t===u}return hc=r,hc}var pc,X1;function H4(){if(X1)return pc;X1=1;function e(r,t){return function(n){return r(t(n))}}return pc=e,pc}var mc,Q1;function U4(){if(Q1)return mc;Q1=1;var e=H4(),r=e(Object.keys,Object);return mc=r,mc}var gc,K1;function V4(){if(K1)return gc;K1=1;var e=z4(),r=U4(),t=Object.prototype,n=t.hasOwnProperty;function u(i){if(!e(i))return r(i);var a=[];for(var s in Object(i))n.call(i,s)&&s!="constructor"&&a.push(s);return a}return gc=u,gc}var bc,Z1;function W4(){if(Z1)return bc;Z1=1;var e=zh(),r=$1();function t(n){return n!=null&&r(n.length)&&!e(n)}return bc=t,bc}var yc,J1;function Y4(){if(J1)return yc;J1=1;var e=$4(),r=V4(),t=W4();function n(u){return t(u)?e(u):r(u)}return yc=n,yc}var vc,ep;function G4(){if(ep)return vc;ep=1;var e=F4(),r=N4(),t=Y4();function n(u){return e(u,t,r)}return vc=n,vc}var wc,tp;function X4(){if(tp)return wc;tp=1;var e=G4(),r=1,t=Object.prototype,n=t.hasOwnProperty;function u(i,a,s,l,c,f){var p=s&r,o=e(i),d=o.length,m=e(a),h=m.length;if(d!=h&&!p)return!1;for(var b=d;b--;){var g=o[b];if(!(p?g in a:n.call(a,g)))return!1}var w=f.get(i),y=f.get(a);if(w&&y)return w==a&&y==i;var D=!0;f.set(i,a),f.set(a,i);for(var v=p;++b<d;){g=o[b];var E=i[g],A=a[g];if(l)var C=p?l(A,E,g,a,i,f):l(E,A,g,i,a,f);if(!(C===void 0?E===A||c(E,A,s,l,f):C)){D=!1;break}v||(v=g=="constructor")}if(D&&!v){var T=i.constructor,x=a.constructor;T!=x&&"constructor"in i&&"constructor"in a&&!(typeof T=="function"&&T instanceof T&&typeof x=="function"&&x instanceof x)&&(D=!1)}return f.delete(i),f.delete(a),D}return wc=u,wc}var Dc,rp;function Q4(){if(rp)return Dc;rp=1;var e=Rn(),r=_r(),t=e(r,"DataView");return Dc=t,Dc}var Ec,np;function K4(){if(np)return Ec;np=1;var e=Rn(),r=_r(),t=e(r,"Promise");return Ec=t,Ec}var xc,up;function Z4(){if(up)return xc;up=1;var e=Rn(),r=_r(),t=e(r,"Set");return xc=t,xc}var Ac,ip;function J4(){if(ip)return Ac;ip=1;var e=Rn(),r=_r(),t=e(r,"WeakMap");return Ac=t,Ac}var Cc,ap;function e8(){if(ap)return Cc;ap=1;var e=Q4(),r=Do(),t=K4(),n=Z4(),u=J4(),i=Li(),a=Wh(),s="[object Map]",l="[object Object]",c="[object Promise]",f="[object Set]",p="[object WeakMap]",o="[object DataView]",d=a(e),m=a(r),h=a(t),b=a(n),g=a(u),w=i;return(e&&w(new e(new ArrayBuffer(1)))!=o||r&&w(new r)!=s||t&&w(t.resolve())!=c||n&&w(new n)!=f||u&&w(new u)!=p)&&(w=function(y){var D=i(y),v=D==l?y.constructor:void 0,E=v?a(v):"";if(E)switch(E){case d:return o;case m:return s;case h:return c;case b:return f;case g:return p}return D}),Cc=w,Cc}var _c,sp;function t8(){if(sp)return _c;sp=1;var e=y4(),r=D1(),t=T4(),n=X4(),u=e8(),i=Ko(),a=k1(),s=W1(),l=1,c="[object Arguments]",f="[object Array]",p="[object Object]",o=Object.prototype,d=o.hasOwnProperty;function m(h,b,g,w,y,D){var v=i(h),E=i(b),A=v?f:u(h),C=E?f:u(b);A=A==c?p:A,C=C==c?p:C;var T=A==p,x=C==p,_=A==C;if(_&&a(h)){if(!a(b))return!1;v=!0,T=!1}if(_&&!T)return D||(D=new e),v||s(h)?r(h,b,g,w,y,D):t(h,b,A,g,w,y,D);if(!(g&l)){var F=T&&d.call(h,"__wrapped__"),N=x&&d.call(b,"__wrapped__");if(F||N){var I=F?h.value():h,M=N?b.value():b;return D||(D=new e),y(I,M,g,w,D)}}return _?(D||(D=new e),n(h,b,g,w,y,D)):!1}return _c=m,_c}var Tc,op;function r8(){if(op)return Tc;op=1;var e=t8(),r=zi();function t(n,u,i,a,s){return n===u?!0:n==null||u==null||!r(n)&&!r(u)?n!==n&&u!==u:e(n,u,i,a,t,s)}return Tc=t,Tc}var Sc,cp;function n8(){if(cp)return Sc;cp=1;var e=r8();function r(t,n){return e(t,n)}return Sc=r,Sc}var u8=n8();const i8=Eu(u8);function a8({children:e,formOptions:r,submitOptions:t,loading:n}){const u=Zt.useForm(r),{handleSubmit:i,reset:a,watch:s}=u,l=Ge.useRef(null);Ge.useEffect(()=>{if(n)return;const b=r==null?void 0:r.defaultValues;b&&(i8(l.current,b)||(a(b),l.current=b))},[n,a,r==null?void 0:r.defaultValues]);const{onSubmit:c,onReset:f,formId:p,submitOnChange:o,registerForm:d}=t||{},m=async b=>{await(c==null?void 0:c(b)),a(b)},h=async()=>{a(r==null?void 0:r.defaultValues),await(f==null?void 0:f())};return Ge.useEffect(()=>{if(!o)return()=>{};const b=s(g=>i(w=>c==null?void 0:c(w))(g));return()=>b.unsubscribe()},[s,o,i,c]),ee.jsx(Zt.FormProvider,{...u,children:ee.jsx("form",{"data-testid":p,onSubmit:i(m),onReset:h,ref:d,id:p,style:{width:"100%"},children:e})})}function s8({children:e,formOptions:r,submitOptions:t}){const{formId:n,onSubmit:u,onBlur:i}=t,a=Zt.useForm(r),{getFieldState:s,reset:l,getValues:c,handleSubmit:f,trigger:p}=a,o=async()=>{const d=c(),m=Object.keys(d).filter(g=>s(g).isDirty);await p(m);const b=m.filter(g=>!s(g).invalid).reduce((g,w)=>(g[w]=d[w],g),{});Object.keys(b).length>0&&(await(i==null?void 0:i(b)),l({...d,...b},{keepErrors:!0}))};return ee.jsx(Zt.FormProvider,{...a,children:ee.jsx("form",{onBlur:o,onSubmit:f(async d=>{await(u==null?void 0:u(d)),l(d)}),id:n,"data-testid":n,children:e})})}function fp({id:e,name:r,readonly:t,wrapper:n}){const{field:u}=mh(),i=R6(e),a=B6(i.type);if(!a||!a.renderField)return ee.jsxs(qe.Box,{children:["Missing render for field type ",i.type]});const{renderField:s,...l}=a,c=u==null?void 0:u(i,l),f=n||qe.Box;return ee.jsx(f,{"data-testid":"field-container",field:i,sx:c,children:s(i,l,{readonly:t,name:r})})}function o8({section:e,fields:r,fieldNames:t,readonly:n,fieldWrapper:u}){const{section:i}=mh(),a=i==null?void 0:i(e);return ee.jsx(qe.Box,{"data-testid":"section-container",sx:a,children:r.map((s,l)=>ee.jsx(fp,{id:s,name:(t==null?void 0:t[l])??s,readonly:n,wrapper:u},s))})}Oe.AutosaveForm=s8,Oe.CalculatedNumber=lh,Oe.CheckboxInput=Bf,Oe.DateInput=If,Oe.DropdownInput=dh,Oe.ErrorMessage=dn,Oe.Field=fp,Oe.Form=a8,Oe.FormFieldLabel=sn,Oe.LabelWithChildren=Ya,Oe.NumberInput=fh,Oe.ReadOnlyField=Qr,Oe.RendererProvider=H6,Oe.Section=o8,Oe.TextInput=Rf,Oe.defaultFieldTypes=yh,Oe.defaultRules=Bn,Object.defineProperty(Oe,Symbol.toStringTag,{value:"Module"})}));
|
|
161
|
+
export default theme;`}function Rs(e={},...t){const{breakpoints:r,mixins:n={},spacing:u,palette:i={},transitions:a={},typography:s={},shape:l,...c}=e;if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":$r(20));const f=Is(i),p=kd(e);let o=zt(p,{mixins:kD(p.breakpoints,n),palette:f,shadows:HD.slice(),typography:LD(f,s),transitions:YD(a),zIndex:{...GD}});if(o=zt(o,c),o=t.reduce((d,m)=>zt(d,m),o),process.env.NODE_ENV!=="production"){const d=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],m=(h,b)=>{let g;for(g in h){const w=h[g];if(d.includes(g)&&Object.keys(w).length>0){if(process.env.NODE_ENV!=="production"){const v=ys("",g);console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${g}\` internal state.`,"You can not override it like this: ",JSON.stringify(h,null,2),"",`Instead, you need to use the '&.${v}' syntax:`,JSON.stringify({root:{[`&.${v}`]:w}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
162
|
+
`))}h[g]={}}}};Object.keys(o.components).forEach(h=>{const b=o.components[h].styleOverrides;b&&h.startsWith("Mui")&&m(b,h)})}return o.unstable_sxConfig={...gi,...c==null?void 0:c.unstable_sxConfig},o.unstable_sx=function(m){return En({sx:m,theme:this})},o.toRuntimeSource=Zd,o}function QD(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const KD=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=QD(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Jd(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function eh(e){return e==="dark"?KD:[]}function ZD(e){const{palette:t={mode:"light"},opacity:r,overlays:n,...u}=e,i=Is(t);return{palette:i,opacity:{...Jd(i.mode),...r},overlays:n||eh(i.mode),...u}}function JD(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const e6=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],t6=e=>(t,r)=>{const n=e.rootSelector||":root",u=e.colorSchemeSelector;let i=u;if(u==="class"&&(i=".%s"),u==="data"&&(i="[data-%s]"),u!=null&&u.startsWith("data-")&&!u.includes("%s")&&(i=`[${u}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const a={};return e6(e.cssVarPrefix).forEach(s=>{a[s]=r[s],delete r[s]}),i==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:a}}:i?{[i.replace("%s",t)]:a,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...a}}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function r6(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function $(e,t,r){!e[t]&&r&&(e[t]=r)}function fu(e){return typeof e!="string"||!e.startsWith("hsl")?e:$d(e)}function Fr(e,t){`${t}Channel`in e||(e[`${t}Channel`]=su(fu(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
163
|
+
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function n6(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const yr=e=>{try{return e()}catch{}},u6=(e="mui")=>xD(e);function ks(e,t,r,n){if(!t)return;t=t===!0?{}:t;const u=n==="dark"?"dark":"light";if(!r){e[n]=ZD({...t,palette:{mode:u,...t==null?void 0:t.palette}});return}const{palette:i,...a}=Rs({...r,palette:{mode:u,...t==null?void 0:t.palette}});return e[n]={...t,palette:i,opacity:{...Jd(u),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||eh(u)},a}function i6(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:u=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=JD,colorSchemeSelector:s=r.light&&r.dark?"media":void 0,rootSelector:l=":root",...c}=e,f=Object.keys(r)[0],p=n||(r.light&&f!=="light"?"light":f),o=u6(i),{[p]:d,light:m,dark:h,...b}=r,g={...b};let w=d;if((p==="dark"&&!("dark"in r)||p==="light"&&!("light"in r))&&(w=!0),!w)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:$r(21,p));const v=ks(g,w,c,p);m&&!g.light&&ks(g,m,void 0,"light"),h&&!g.dark&&ks(g,h,void 0,"dark");let D={defaultColorScheme:p,...v,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:l,getCssVar:o,colorSchemes:g,font:{...RD(v.typography),...v.font},spacing:n6(c.spacing)};Object.keys(D.colorSchemes).forEach(T=>{const x=D.colorSchemes[T].palette,_=F=>{const M=F.split("-"),B=M[1],N=M[2];return o(F,x[B][N])};if(x.mode==="light"&&($(x.common,"background","#fff"),$(x.common,"onBackground","#000")),x.mode==="dark"&&($(x.common,"background","#000"),$(x.common,"onBackground","#fff")),r6(x,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),x.mode==="light"){$(x.Alert,"errorColor",Ke(x.error.light,.6)),$(x.Alert,"infoColor",Ke(x.info.light,.6)),$(x.Alert,"successColor",Ke(x.success.light,.6)),$(x.Alert,"warningColor",Ke(x.warning.light,.6)),$(x.Alert,"errorFilledBg",_("palette-error-main")),$(x.Alert,"infoFilledBg",_("palette-info-main")),$(x.Alert,"successFilledBg",_("palette-success-main")),$(x.Alert,"warningFilledBg",_("palette-warning-main")),$(x.Alert,"errorFilledColor",yr(()=>x.getContrastText(x.error.main))),$(x.Alert,"infoFilledColor",yr(()=>x.getContrastText(x.info.main))),$(x.Alert,"successFilledColor",yr(()=>x.getContrastText(x.success.main))),$(x.Alert,"warningFilledColor",yr(()=>x.getContrastText(x.warning.main))),$(x.Alert,"errorStandardBg",Ze(x.error.light,.9)),$(x.Alert,"infoStandardBg",Ze(x.info.light,.9)),$(x.Alert,"successStandardBg",Ze(x.success.light,.9)),$(x.Alert,"warningStandardBg",Ze(x.warning.light,.9)),$(x.Alert,"errorIconColor",_("palette-error-main")),$(x.Alert,"infoIconColor",_("palette-info-main")),$(x.Alert,"successIconColor",_("palette-success-main")),$(x.Alert,"warningIconColor",_("palette-warning-main")),$(x.AppBar,"defaultBg",_("palette-grey-100")),$(x.Avatar,"defaultBg",_("palette-grey-400")),$(x.Button,"inheritContainedBg",_("palette-grey-300")),$(x.Button,"inheritContainedHoverBg",_("palette-grey-A100")),$(x.Chip,"defaultBorder",_("palette-grey-400")),$(x.Chip,"defaultAvatarColor",_("palette-grey-700")),$(x.Chip,"defaultIconColor",_("palette-grey-700")),$(x.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),$(x.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),$(x.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),$(x.LinearProgress,"primaryBg",Ze(x.primary.main,.62)),$(x.LinearProgress,"secondaryBg",Ze(x.secondary.main,.62)),$(x.LinearProgress,"errorBg",Ze(x.error.main,.62)),$(x.LinearProgress,"infoBg",Ze(x.info.main,.62)),$(x.LinearProgress,"successBg",Ze(x.success.main,.62)),$(x.LinearProgress,"warningBg",Ze(x.warning.main,.62)),$(x.Skeleton,"bg",`rgba(${_("palette-text-primaryChannel")} / 0.11)`),$(x.Slider,"primaryTrack",Ze(x.primary.main,.62)),$(x.Slider,"secondaryTrack",Ze(x.secondary.main,.62)),$(x.Slider,"errorTrack",Ze(x.error.main,.62)),$(x.Slider,"infoTrack",Ze(x.info.main,.62)),$(x.Slider,"successTrack",Ze(x.success.main,.62)),$(x.Slider,"warningTrack",Ze(x.warning.main,.62));const F=Si(x.background.default,.8);$(x.SnackbarContent,"bg",F),$(x.SnackbarContent,"color",yr(()=>x.getContrastText(F))),$(x.SpeedDialAction,"fabHoverBg",Si(x.background.paper,.15)),$(x.StepConnector,"border",_("palette-grey-400")),$(x.StepContent,"border",_("palette-grey-400")),$(x.Switch,"defaultColor",_("palette-common-white")),$(x.Switch,"defaultDisabledColor",_("palette-grey-100")),$(x.Switch,"primaryDisabledColor",Ze(x.primary.main,.62)),$(x.Switch,"secondaryDisabledColor",Ze(x.secondary.main,.62)),$(x.Switch,"errorDisabledColor",Ze(x.error.main,.62)),$(x.Switch,"infoDisabledColor",Ze(x.info.main,.62)),$(x.Switch,"successDisabledColor",Ze(x.success.main,.62)),$(x.Switch,"warningDisabledColor",Ze(x.warning.main,.62)),$(x.TableCell,"border",Ze(Ti(x.divider,1),.88)),$(x.Tooltip,"bg",Ti(x.grey[700],.92))}if(x.mode==="dark"){$(x.Alert,"errorColor",Ze(x.error.light,.6)),$(x.Alert,"infoColor",Ze(x.info.light,.6)),$(x.Alert,"successColor",Ze(x.success.light,.6)),$(x.Alert,"warningColor",Ze(x.warning.light,.6)),$(x.Alert,"errorFilledBg",_("palette-error-dark")),$(x.Alert,"infoFilledBg",_("palette-info-dark")),$(x.Alert,"successFilledBg",_("palette-success-dark")),$(x.Alert,"warningFilledBg",_("palette-warning-dark")),$(x.Alert,"errorFilledColor",yr(()=>x.getContrastText(x.error.dark))),$(x.Alert,"infoFilledColor",yr(()=>x.getContrastText(x.info.dark))),$(x.Alert,"successFilledColor",yr(()=>x.getContrastText(x.success.dark))),$(x.Alert,"warningFilledColor",yr(()=>x.getContrastText(x.warning.dark))),$(x.Alert,"errorStandardBg",Ke(x.error.light,.9)),$(x.Alert,"infoStandardBg",Ke(x.info.light,.9)),$(x.Alert,"successStandardBg",Ke(x.success.light,.9)),$(x.Alert,"warningStandardBg",Ke(x.warning.light,.9)),$(x.Alert,"errorIconColor",_("palette-error-main")),$(x.Alert,"infoIconColor",_("palette-info-main")),$(x.Alert,"successIconColor",_("palette-success-main")),$(x.Alert,"warningIconColor",_("palette-warning-main")),$(x.AppBar,"defaultBg",_("palette-grey-900")),$(x.AppBar,"darkBg",_("palette-background-paper")),$(x.AppBar,"darkColor",_("palette-text-primary")),$(x.Avatar,"defaultBg",_("palette-grey-600")),$(x.Button,"inheritContainedBg",_("palette-grey-800")),$(x.Button,"inheritContainedHoverBg",_("palette-grey-700")),$(x.Chip,"defaultBorder",_("palette-grey-700")),$(x.Chip,"defaultAvatarColor",_("palette-grey-300")),$(x.Chip,"defaultIconColor",_("palette-grey-300")),$(x.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),$(x.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),$(x.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),$(x.LinearProgress,"primaryBg",Ke(x.primary.main,.5)),$(x.LinearProgress,"secondaryBg",Ke(x.secondary.main,.5)),$(x.LinearProgress,"errorBg",Ke(x.error.main,.5)),$(x.LinearProgress,"infoBg",Ke(x.info.main,.5)),$(x.LinearProgress,"successBg",Ke(x.success.main,.5)),$(x.LinearProgress,"warningBg",Ke(x.warning.main,.5)),$(x.Skeleton,"bg",`rgba(${_("palette-text-primaryChannel")} / 0.13)`),$(x.Slider,"primaryTrack",Ke(x.primary.main,.5)),$(x.Slider,"secondaryTrack",Ke(x.secondary.main,.5)),$(x.Slider,"errorTrack",Ke(x.error.main,.5)),$(x.Slider,"infoTrack",Ke(x.info.main,.5)),$(x.Slider,"successTrack",Ke(x.success.main,.5)),$(x.Slider,"warningTrack",Ke(x.warning.main,.5));const F=Si(x.background.default,.98);$(x.SnackbarContent,"bg",F),$(x.SnackbarContent,"color",yr(()=>x.getContrastText(F))),$(x.SpeedDialAction,"fabHoverBg",Si(x.background.paper,.15)),$(x.StepConnector,"border",_("palette-grey-600")),$(x.StepContent,"border",_("palette-grey-600")),$(x.Switch,"defaultColor",_("palette-grey-300")),$(x.Switch,"defaultDisabledColor",_("palette-grey-600")),$(x.Switch,"primaryDisabledColor",Ke(x.primary.main,.55)),$(x.Switch,"secondaryDisabledColor",Ke(x.secondary.main,.55)),$(x.Switch,"errorDisabledColor",Ke(x.error.main,.55)),$(x.Switch,"infoDisabledColor",Ke(x.info.main,.55)),$(x.Switch,"successDisabledColor",Ke(x.success.main,.55)),$(x.Switch,"warningDisabledColor",Ke(x.warning.main,.55)),$(x.TableCell,"border",Ke(Ti(x.divider,1),.68)),$(x.Tooltip,"bg",Ti(x.grey[700],.92))}Fr(x.background,"default"),Fr(x.background,"paper"),Fr(x.common,"background"),Fr(x.common,"onBackground"),Fr(x,"divider"),Object.keys(x).forEach(F=>{const M=x[F];F!=="tonalOffset"&&M&&typeof M=="object"&&(M.main&&$(x[F],"mainChannel",su(fu(M.main))),M.light&&$(x[F],"lightChannel",su(fu(M.light))),M.dark&&$(x[F],"darkChannel",su(fu(M.dark))),M.contrastText&&$(x[F],"contrastTextChannel",su(fu(M.contrastText))),F==="text"&&(Fr(x[F],"primary"),Fr(x[F],"secondary")),F==="action"&&(M.active&&Fr(x[F],"active"),M.selected&&Fr(x[F],"selected")))})}),D=t.reduce((T,x)=>zt(T,x),D);const y={prefix:i,disableCssColorScheme:u,shouldSkipGeneratingVar:a,getSelector:t6(D)},{vars:E,generateThemeVars:A,generateStyleSheets:C}=_D(D,y);return D.vars=E,Object.entries(D.colorSchemes[D.defaultColorScheme]).forEach(([T,x])=>{D[T]=x}),D.generateThemeVars=A,D.generateStyleSheets=C,D.generateSpacing=function(){return Rd(c.spacing,vs(this))},D.getColorSchemeSelector=TD(s),D.spacing=D.generateSpacing(),D.shouldSkipGeneratingVar=a,D.unstable_sxConfig={...gi,...c==null?void 0:c.unstable_sxConfig},D.unstable_sx=function(x){return En({sx:x,theme:this})},D.toRuntimeSource=Zd,D}function th(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Is({...r===!0?{}:r.palette,mode:t})})}function a6(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:u=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...a}=e,s=i||"light",l=u==null?void 0:u[s],c={...u,...r?{[s]:{...typeof l!="boolean"&&l,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Rs(e,...t);let f=r;"palette"in e||c[s]&&(c[s]!==!0?f=c[s].palette:s==="dark"&&(f={mode:"dark"}));const p=Rs({...e,palette:f},...t);return p.defaultColorScheme=s,p.colorSchemes=c,p.palette.mode==="light"&&(p.colorSchemes.light={...c.light!==!0&&c.light,palette:p.palette},th(p,"dark",c.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:p.palette},th(p,"light",c.light)),p}return!r&&!("light"in c)&&s==="light"&&(c.light=!0),i6({...a,colorSchemes:c,defaultColorScheme:s,...typeof n!="boolean"&&n},...t)}const s6=a6(),o6="$$material";function c6(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const f6=fD({themeId:o6,defaultTheme:s6,rootShouldForwardProp:e=>c6(e)&&e!=="classes"}),l6=ED;process.env.NODE_ENV!=="production"&&(Ne.node,Ne.object.isRequired);function d6(e){return DD(e)}function h6(e){return ys("MuiSvgIcon",e)}a3("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const p6=e=>{const{color:t,fontSize:r,classes:n}=e,u={root:["root",t!=="inherit"&&`color${un(t)}`,`fontSize${un(r)}`]};return n3(u,h6,n)},m6=f6("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${un(r.color)}`],t[`fontSize${un(r.fontSize)}`]]}})(l6(({theme:e})=>{var t,r,n,u,i,a,s,l,c,f,p,o,d,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(u=(t=e.transitions)==null?void 0:t.create)==null?void 0:u.call(t,"fill",{duration:(n=(r=(e.vars??e).transitions)==null?void 0:r.duration)==null?void 0:n.shorter}),variants:[{props:h=>!h.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((l=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((f=(c=e.typography)==null?void 0:c.pxToRem)==null?void 0:f.call(c,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,h])=>h&&h.main).map(([h])=>{var b,g;return{props:{color:h},style:{color:(g=(b=(e.vars??e).palette)==null?void 0:b[h])==null?void 0:g.main}}}),{props:{color:"action"},style:{color:(o=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:o.active}},{props:{color:"disabled"},style:{color:(m=(d=(e.vars??e).palette)==null?void 0:d.action)==null?void 0:m.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Fi=At.forwardRef(function(t,r){const n=d6({props:t,name:"MuiSvgIcon"}),{children:u,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:f=!1,titleAccess:p,viewBox:o="0 0 24 24",...d}=n,m=At.isValidElement(u)&&u.type==="svg",h={...n,color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:o,hasSvgAsChild:m},b={};f||(b.viewBox=o);const g=p6(h);return J.jsxs(m6,{as:s,className:o3(g.root,i),focusable:"false",color:c,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:r,...b,...d,...m&&u.props,ownerState:h,children:[m?u.props.children:u,p?J.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(Fi.propTypes={children:Ne.node,classes:Ne.object,className:Ne.string,color:Ne.oneOfType([Ne.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),Ne.string]),component:Ne.elementType,fontSize:Ne.oneOfType([Ne.oneOf(["inherit","large","medium","small"]),Ne.string]),htmlColor:Ne.string,inheritViewBox:Ne.bool,shapeRendering:Ne.string,sx:Ne.oneOfType([Ne.arrayOf(Ne.oneOfType([Ne.func,Ne.object,Ne.bool])),Ne.func,Ne.object]),titleAccess:Ne.string,viewBox:Ne.string}),Fi.muiName="SvgIcon";function qs(e,t){function r(n,u){return J.jsx(Fi,{"data-testid":`${t}Icon`,ref:u,...n,children:e})}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Fi.muiName,At.memo(At.forwardRef(r))}const g6=qs(J.jsx("path",{d:"m7 14 5-5 5 5z"}),"ArrowDropUp"),b6=qs(J.jsx("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");function y6(e){let t=e.replace(/[^\d.-]/g,"");t=(t.indexOf("-")===0?"-":"")+t.replace(/-/g,"");const n=t.indexOf(".");if(n!==-1){const u=t.replace(/\./g,"");t=u.slice(0,n)+"."+u.slice(n)}return t}const Oi=e=>/^-?(?:\d+|\d*\.\d+|\d+\.)$/.test(e);function rh(e){const{disabled:t,readonly:r,decimalPlaces:n=14,name:u,rules:i,sx:a,...s}=e,{field:l,fieldState:{error:c}}=Jt.useController({name:u,rules:{...i,validate:d=>d&&!Oi(d)?"Please enter a valid number.":!0}}),f=d=>{const m=d.target.value,h=y6(m);l.onChange(h)},p=d=>{const m=parseFloat(d);if(Oi(d)){const h=zv(m,n);l.onChange(Lv(h))}l.onBlur()};if(r)return J.jsx(Jr,{label:s.label,text:l.value,sx:a,error:c==null?void 0:c.message});const o=J.jsxs(qe.InputAdornment,{position:"end",sx:{display:"flex",flexDirection:"column",gap:1,alignItems:"center",height:"auto !important"},children:[J.jsx(qe.IconButton,{size:"small",onClick:()=>{if(Oi(l.value)||!l.value){const d=Uv(l.value||0,1);l.onChange(d),p(d)}},disabled:t,sx:{pt:0,pb:0},children:J.jsx(g6,{fontSize:"small","data-testid":"increment-button"})}),J.jsx(qe.IconButton,{size:"small",onClick:()=>{if(Oi(l.value)||!l.value){const d=Vv(l.value||0,1);l.onChange(d),p(d)}},disabled:t,sx:{pt:0,pb:0},children:J.jsx(b6,{fontSize:"small","data-testid":"decrement-button"})})]});return J.jsx(qe.TextField,{...l,...s,onChange:f,onBlur:d=>p(d.target.value),fullWidth:!0,placeholder:t?"0":"",error:!!c,helperText:!!c&&J.jsx(ln,{error:c.message}),disabled:t,sx:{...a,m:0},InputProps:{endAdornment:o},slotProps:{input:{endAdornment:o}}})}function nh({name:e,label:t,sx:r={}}){const{control:n}=Jt.useFormContext();return J.jsx(Jt.Controller,{name:e,control:n,render:({field:u,fieldState:{error:i}})=>J.jsx(Jr,{label:t,text:u.value||0,sx:r,error:i==null?void 0:i.message})})}function uh({name:e,label:t,options:r=[],sx:n={},disabled:u,rules:i={},readonly:a}){const{field:s,fieldState:{error:l}}=Jt.useController({name:e,rules:i}),c=r.map(p=>({label:p.displayValue,id:p.key})),{value:f}=s;return a?J.jsx(Jr,{label:t,text:f==null?void 0:f.displayValue,sx:n,error:l==null?void 0:l.message}):J.jsx(qe.Autocomplete,{"data-test-id":"form-field-select",...s,value:f==null?void 0:f.displayValue,onChange:(p,o)=>s.onChange(o?{displayValue:o.label,key:o.id}:null),options:c,renderInput:p=>J.jsx(qe.TextField,{...p,label:t,error:!!l,helperText:!!l&&J.jsx(ln,{error:l.message}),slotProps:{inputLabel:{shrink:!0}},sx:{...n,m:0}}),fullWidth:!0,disabled:u})}const v6=qs(J.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"}),"Help");var Ls,ih;function w6(){return ih||(ih=1,Ls=function(e){var t={};function r(n){if(t[n])return t[n].exports;var u=t[n]={i:n,l:!1,exports:{}};return e[n].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=e,r.c=t,r.d=function(n,u,i){r.o(n,u)||Object.defineProperty(n,u,{enumerable:!0,get:i})},r.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,u){if(1&u&&(n=r(n)),8&u||4&u&&typeof n=="object"&&n&&n.__esModule)return n;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:n}),2&u&&typeof n!="string")for(var a in n)r.d(i,a,(function(s){return n[s]}).bind(null,a));return i},r.n=function(n){var u=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(u,"a",u),u},r.o=function(n,u){return Object.prototype.hasOwnProperty.call(n,u)},r.p="",r(r.s=2)}([function(e,t){e.exports=ad()},function(e,t){e.exports=Xe},function(e,t,r){r.r(t);var n=r(1),u=r(0),i=function(){return(i=Object.assign||function(m){for(var h,b=1,g=arguments.length;b<g;b++)for(var w in h=arguments[b])Object.prototype.hasOwnProperty.call(h,w)&&(m[w]=h[w]);return m}).apply(this,arguments)},a=function(m,h){var b={};for(var g in m)Object.prototype.hasOwnProperty.call(m,g)&&h.indexOf(g)<0&&(b[g]=m[g]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(g=Object.getOwnPropertySymbols(m);w<g.length;w++)h.indexOf(g[w])<0&&Object.prototype.propertyIsEnumerable.call(m,g[w])&&(b[g[w]]=m[g[w]])}return b},s=0,l=n.forwardRef(function(m,h){var b=m.title,g=b===void 0?null:b,w=m.description,v=w===void 0?null:w,D=m.size,y=D===void 0?null:D,E=m.color,A=E===void 0?"currentColor":E,C=m.horizontal,T=C===void 0?null:C,x=m.vertical,_=x===void 0?null:x,F=m.rotate,M=F===void 0?null:F,B=m.spin,N=B===void 0?null:B,I=m.style,Z=I===void 0?{}:I,re=m.children,ie=a(m,["title","description","size","color","horizontal","vertical","rotate","spin","style","children"]);s++;var q,K=N!==null&&N,ce=n.Children.map(re,function(he){var oe=he;K!==!0&&(K=(N===null?oe.props.spin:N)===!0);var be=oe.props.size;typeof y=="number"&&typeof oe.props.size=="number"&&(be=oe.props.size/y);var ye={size:be,color:A===null?oe.props.color:A,horizontal:T===null?oe.props.horizontal:T,vertical:_===null?oe.props.vertical:_,rotate:M===null?oe.props.rotate:M,spin:N===null?oe.props.spin:N,inStack:!0};return n.cloneElement(oe,ye)});y!==null&&(Z.width=typeof y=="string"?y:1.5*y+"rem");var Y,se="stack_labelledby_"+s,de="stack_describedby_"+s;if(g)q=v?se+" "+de:se;else if(Y="presentation",v)throw new Error("title attribute required when description is set");return n.createElement("svg",i({ref:h,viewBox:"0 0 24 24",style:Z,role:Y,"aria-labelledby":q},ie),g&&n.createElement("title",{id:se},g),v&&n.createElement("desc",{id:de},v),K&&n.createElement("style",null,"@keyframes spin { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }","@keyframes spin-inverse { from { transform: rotate(0deg) } to { transform: rotate(-360deg) } }"),ce)});l.displayName="Stack",l.propTypes={size:u.oneOfType([u.number,u.string]),color:u.string,horizontal:u.bool,vertical:u.bool,rotate:u.number,spin:u.oneOfType([u.bool,u.number]),children:u.oneOfType([u.arrayOf(u.node),u.node]).isRequired,className:u.string,style:u.object},l.defaultProps={size:null,color:null,horizontal:null,vertical:null,rotate:null,spin:null};var c=l;r.d(t,"Icon",function(){return d}),r.d(t,"Stack",function(){return c});var f=function(){return(f=Object.assign||function(m){for(var h,b=1,g=arguments.length;b<g;b++)for(var w in h=arguments[b])Object.prototype.hasOwnProperty.call(h,w)&&(m[w]=h[w]);return m}).apply(this,arguments)},p=function(m,h){var b={};for(var g in m)Object.prototype.hasOwnProperty.call(m,g)&&h.indexOf(g)<0&&(b[g]=m[g]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(g=Object.getOwnPropertySymbols(m);w<g.length;w++)h.indexOf(g[w])<0&&Object.prototype.propertyIsEnumerable.call(m,g[w])&&(b[g[w]]=m[g[w]])}return b},o=0,d=n.forwardRef(function(m,h){var b=m.path,g=m.id,w=g===void 0?++o:g,v=m.title,D=v===void 0?null:v,y=m.description,E=y===void 0?null:y,A=m.size,C=A===void 0?null:A,T=m.color,x=T===void 0?"currentColor":T,_=m.horizontal,F=_!==void 0&&_,M=m.vertical,B=M!==void 0&&M,N=m.rotate,I=N===void 0?0:N,Z=m.spin,re=Z!==void 0&&Z,ie=m.style,q=ie===void 0?{}:ie,K=m.inStack,ce=K!==void 0&&K,Y=p(m,["path","id","title","description","size","color","horizontal","vertical","rotate","spin","style","inStack"]),se={},de=[];C!==null&&(ce?de.push("scale("+C+")"):(q.width=typeof C=="string"?C:1.5*C+"rem",q.height=q.width)),F&&de.push("scaleX(-1)"),B&&de.push("scaleY(-1)"),I!==0&&de.push("rotate("+I+"deg)"),x!==null&&(se.fill=x);var he=n.createElement("path",f({d:b,style:se},ce?Y:{})),oe=he;de.length>0&&(q.transform=de.join(" "),q.transformOrigin="center",ce&&(oe=n.createElement("g",{style:q},he,n.createElement("rect",{width:"24",height:"24",fill:"transparent"}))));var be,ye=oe,ve=re===!0||typeof re!="number"?2:re,L=!ce&&(F||B);if(ve<0&&(L=!L),re&&(ye=n.createElement("g",{style:{animation:"spin"+(L?"-inverse":"")+" linear "+Math.abs(ve)+"s infinite",transformOrigin:"center"}},oe,!(F||B||I!==0)&&n.createElement("rect",{width:"24",height:"24",fill:"transparent"}))),ce)return ye;var k,W="icon_labelledby_"+w,me="icon_describedby_"+w;if(D)be=E?W+" "+me:W;else if(k="presentation",E)throw new Error("title attribute required when description is set");return n.createElement("svg",f({ref:h,viewBox:"0 0 24 24",style:q,role:k,"aria-labelledby":be},Y),D&&n.createElement("title",{id:W},D),E&&n.createElement("desc",{id:me},E),!ce&&re&&(L?n.createElement("style",null,"@keyframes spin-inverse { from { transform: rotate(0deg) } to { transform: rotate(-360deg) } }"):n.createElement("style",null,"@keyframes spin { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }")),ye)});d.displayName="Icon",d.propTypes={path:u.string.isRequired,size:u.oneOfType([u.number,u.string]),color:u.string,horizontal:u.bool,vertical:u.bool,rotate:u.number,spin:u.oneOfType([u.bool,u.number]),style:u.object,inStack:u.bool,className:u.string},d.defaultProps={size:null,color:"currentColor",horizontal:!1,vertical:!1,rotate:0,spin:!1},t.default=d}])),Ls}var D6=w6();const js=bu(D6);var E6="M7,2H17A2,2 0 0,1 19,4V20A2,2 0 0,1 17,22H7A2,2 0 0,1 5,20V4A2,2 0 0,1 7,2M7,4V8H17V4H7M7,10V12H9V10H7M11,10V12H13V10H11M15,10V12H17V10H15M7,14V16H9V14H7M11,14V16H13V14H11M15,14V16H17V14H15M7,18V20H9V18H7M11,18V20H13V18H11M15,18V20H17V18H15Z",x6="M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1M12,7C13.4,7 14.8,8.1 14.8,9.5V11C15.4,11 16,11.6 16,12.3V15.8C16,16.4 15.4,17 14.7,17H9.2C8.6,17 8,16.4 8,15.7V12.2C8,11.6 8.6,11 9.2,11V9.5C9.2,8.1 10.6,7 12,7M12,8.2C11.2,8.2 10.5,8.7 10.5,9.5V11H13.5V9.5C13.5,8.7 12.8,8.2 12,8.2Z",A6="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z";function an({children:e,internal:t,required:r,helpText:n,isCalculated:u,readonly:i,deleted:a,isSection:s,variant:l="h4"}){const c={display:"flex",alignItems:"center"},f=i?{...c,gap:1}:{...c,justifyContent:"space-between"};return J.jsxs(qe.Box,{sx:f,children:[J.jsxs(qe.Typography,{"data-testid":"form-field-label",variant:l,color:"black",sx:{whiteSpace:"normal",wordBreak:"break-word"},children:[e,r&&"*"]}),J.jsxs(qe.Box,{sx:{display:"flex",gap:1},children:[t&&J.jsx(qe.Tooltip,{placement:"top",title:s?"This section is hidden from the applicant and visible to employees only.":"This field is hidden from the applicant and visible to employees only.",sx:{cursor:"default"},children:J.jsx(js,{path:x6,size:"20px",color:on.capitalDesignTokens.foundations.colors.yellow700,"data-testid":"internal-icon"})}),n&&n!==""&&J.jsx(qe.Tooltip,{placement:"top",title:J.jsx(qe.Typography,{variant:"bodyXSmall",sx:{whiteSpace:"pre-line"},children:n}),sx:{cursor:"default"},children:J.jsx(v6,{fontSize:"small",htmlColor:on.capitalDesignTokens.foundations.colors.gray600,"data-testid":"help-icon"})}),u&&J.jsx(qe.Tooltip,{placement:"top",title:"This field is calculated.",sx:{cursor:"default"},children:J.jsx(js,{path:E6,size:"20px",color:on.capitalDesignTokens.foundations.colors.gray800,"data-testid":"calculation-icon"})}),a&&J.jsx(qe.Tooltip,{placement:"top",title:"This field was deleted.",sx:{cursor:"default"},children:J.jsx(js,{path:A6,size:"20px",color:on.capitalDesignTokens.foundations.colors.gray800})})]})]})}const C6={y:{sectionType:"year",contentType:"digit",maxLength:4},yy:"year",yyy:{sectionType:"year",contentType:"digit",maxLength:4},yyyy:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMMM:{sectionType:"month",contentType:"letter"},MMM:{sectionType:"month",contentType:"letter"},L:{sectionType:"month",contentType:"digit",maxLength:2},LL:"month",LLL:{sectionType:"month",contentType:"letter"},LLLL:{sectionType:"month",contentType:"letter"},d:{sectionType:"day",contentType:"digit",maxLength:2},dd:"day",do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"letter"},EE:{sectionType:"weekDay",contentType:"letter"},EEE:{sectionType:"weekDay",contentType:"letter"},EEEE:{sectionType:"weekDay",contentType:"letter"},EEEEE:{sectionType:"weekDay",contentType:"letter"},i:{sectionType:"weekDay",contentType:"digit",maxLength:1},ii:"weekDay",iii:{sectionType:"weekDay",contentType:"letter"},iiii:{sectionType:"weekDay",contentType:"letter"},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},ee:"weekDay",eee:{sectionType:"weekDay",contentType:"letter"},eeee:{sectionType:"weekDay",contentType:"letter"},eeeee:{sectionType:"weekDay",contentType:"letter"},eeeeee:{sectionType:"weekDay",contentType:"letter"},c:{sectionType:"weekDay",contentType:"digit",maxLength:1},cc:"weekDay",ccc:{sectionType:"weekDay",contentType:"letter"},cccc:{sectionType:"weekDay",contentType:"letter"},ccccc:{sectionType:"weekDay",contentType:"letter"},cccccc:{sectionType:"weekDay",contentType:"letter"},a:"meridiem",aa:"meridiem",aaa:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},_6={year:"yyyy",month:"LLLL",monthShort:"MMM",dayOfMonth:"d",dayOfMonthFull:"do",weekday:"EEEE",weekdayShort:"EEEEEE",hours24h:"HH",hours12h:"hh",meridiem:"aa",minutes:"mm",seconds:"ss",fullDate:"PP",keyboardDate:"P",shortDate:"MMM d",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",fullTime:"p",fullTime12h:"hh:mm aa",fullTime24h:"HH:mm",keyboardDateTime:"P p",keyboardDateTime12h:"P hh:mm aa",keyboardDateTime24h:"P HH:mm"};class T6{constructor(t){this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib=void 0,this.locale=void 0,this.formats=void 0,this.formatTokenMap=C6,this.escapedCharacters={start:"'",end:"'"},this.longFormatters=void 0,this.date=a=>typeof a>"u"?new Date:a===null?null:new Date(a),this.getInvalidDate=()=>new Date("Invalid Date"),this.getTimezone=()=>"default",this.setTimezone=a=>a,this.toJsDate=a=>a,this.getCurrentLocaleCode=()=>this.locale.code,this.is12HourCycleInCurrentLocale=()=>/a/.test(this.locale.formatLong.time({width:"short"})),this.expandFormat=a=>{const s=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;return a.match(s).map(l=>{const c=l[0];if(c==="p"||c==="P"){const f=this.longFormatters[c];return f(l,this.locale.formatLong)}return l}).join("")},this.formatNumber=a=>a,this.getDayOfWeek=a=>a.getDay()+1;const{locale:r,formats:n,longFormatters:u,lib:i}=t;this.locale=r,this.formats=Hn({},_6,n),this.longFormatters=u,this.lib=i||"date-fns"}}class S6 extends T6{constructor({locale:t,formats:r}={}){if(process.env.NODE_ENV!=="production"){if(typeof Vr!="function")throw new Error(["MUI: The `date-fns` package v2.x is not compatible with this adapter.","Please, install v3.x or v4.x of the package or use the `AdapterDateFns` instead."].join(`
|
|
164
|
+
`));if(!Ln)throw new Error("MUI: The minimum supported `date-fns` package version compatible with this adapter is `3.2.x`.")}super({locale:t??Ui,formats:r,longFormatters:Ln}),this.parse=(n,u)=>n===""?null:bg(n,u,new Date,{locale:this.locale}),this.isValid=n=>n==null?!1:$c(n),this.format=(n,u)=>this.formatByString(n,this.formats[u]),this.formatByString=(n,u)=>Gi(n,u,{locale:this.locale}),this.isEqual=(n,u)=>n===null&&u===null?!0:n===null||u===null?!1:Em(n,u),this.isSameYear=(n,u)=>Dg(n,u),this.isSameMonth=(n,u)=>wg(n,u),this.isSameDay=(n,u)=>vp(n,u),this.isSameHour=(n,u)=>vg(n,u),this.isAfter=(n,u)=>Du(n,u),this.isAfterYear=(n,u)=>Du(n,Hc(u)),this.isAfterDay=(n,u)=>Du(n,zc(u)),this.isBefore=(n,u)=>Eu(n,u),this.isBeforeYear=(n,u)=>Eu(n,this.startOfYear(u)),this.isBeforeDay=(n,u)=>Eu(n,this.startOfDay(u)),this.isWithinRange=(n,[u,i])=>Eg(n,{start:u,end:i}),this.startOfYear=n=>Uc(n),this.startOfMonth=n=>Ep(n),this.startOfWeek=n=>wr(n,{locale:this.locale}),this.startOfDay=n=>Yr(n),this.endOfYear=n=>Hc(n),this.endOfMonth=n=>Dp(n),this.endOfWeek=n=>xp(n,{locale:this.locale}),this.endOfDay=n=>zc(n),this.addYears=(n,u)=>yp(n,u),this.addMonths=(n,u)=>vu(n,u),this.addWeeks=(n,u)=>bp(n,u),this.addDays=(n,u)=>Vr(n,u),this.addHours=(n,u)=>lp(n,u),this.addMinutes=(n,u)=>mp(n,u),this.addSeconds=(n,u)=>gp(n,u),this.getYear=n=>Dm(n),this.getMonth=n=>vm(n),this.getDate=n=>hm(n),this.getHours=n=>mm(n),this.getMinutes=n=>ym(n),this.getSeconds=n=>wm(n),this.getMilliseconds=n=>bm(n),this.setYear=(n,u)=>Og(n,u),this.setMonth=(n,u)=>Ag(n,u),this.setDate=(n,u)=>Cg(n,u),this.setHours=(n,u)=>_g(n,u),this.setMinutes=(n,u)=>Sg(n,u),this.setSeconds=(n,u)=>Fg(n,u),this.setMilliseconds=(n,u)=>Tg(n,u),this.getDaysInMonth=n=>Jc(n),this.getWeekArray=n=>{const u=this.startOfWeek(this.startOfMonth(n)),i=this.endOfWeek(this.endOfMonth(n));let a=0,s=u;const l=[];for(;this.isBefore(s,i);){const c=Math.floor(a/7);l[c]=l[c]||[],l[c].push(s),s=this.addDays(s,1),a+=1}return l},this.getWeekNumber=n=>Wi(n,{locale:this.locale}),this.getYearRange=([n,u])=>{const i=this.startOfYear(n),a=this.endOfYear(u),s=[];let l=i;for(;this.isBefore(l,a);)s.push(l),l=this.addYears(l,1);return s}}}const ah=Xe.createContext(void 0),F6=({children:e,layout:t={section:()=>({}),field:()=>({})}})=>J.jsx(ah.Provider,{value:{layout:t},children:e}),sh=()=>{const e=Xe.useContext(ah);if(!e)throw new Error("useFormLayout must be used within a FormLayoutProvider");return e.layout},oh=Xe.createContext(void 0),O6=({children:e,template:t,fieldTypes:r})=>J.jsx(oh.Provider,{value:{template:t,fieldTypes:r},children:e}),ch=()=>{const e=Xe.useContext(oh);if(!e)throw new Error("useFormRenderer must be used within a FormRendererProvider");return e},N6=e=>{const{fieldTypes:t}=ch();if(!e)return null;const r=t.find(i=>i.type===e);if(!r)throw new Error(`Field type ${e} not found`);const{renderField:n,...u}=r;return{renderField:n,fullWidth:u.fullWidth,...u}},M6=e=>{const{template:t}=ch(),r=t.fields[e];if(!r)throw new Error(`Field template for ${e} not found`);return r},P6={type:"DATE",name:"Date",groups:[],dateFormat:"MM/dd/yyyy",renderField:(e,t,{disabled:r,readonly:n,name:u})=>J.jsx(Sf,{name:u??e.id,label:J.jsx(an,{...e,readonly:n,children:e.label}),rules:Nn(e),constraints:e.constraints,dateFormat:t.dateFormat,disabled:r,readonly:n})},B6={type:"DROPDOWN",name:"Dropdown",groups:[],renderField:(e,t,{disabled:r,readonly:n,name:u})=>J.jsx(uh,{name:u??e.id,label:J.jsx(an,{...e,children:e.label}),rules:Nn(e),options:e.options,disabled:r,readonly:n})},I6={type:"CHECKBOX",name:"Checkbox",groups:[],renderField:(e,t,{disabled:r,readonly:n,name:u})=>J.jsx(Ff,{name:u??e.id,label:J.jsx(an,{...e,readonly:n,children:e.label}),rules:Nn(e),disabled:r,readonly:n})},R6={type:"TEXTINPUT",name:"Text",groups:[],maxLength:262144,filter:e=>e.replace(/[^\u0000-\u00FF ]/g,""),renderField:(e,t,{disabled:r,readonly:n,name:u})=>J.jsx(Of,{rules:Nn(e),label:J.jsx(an,{...e,readonly:n,children:e.label}),name:u??e.id,disabled:r,readonly:n,maxLength:t.maxLength,filter:t.filter})},k6={type:"NUMBER",name:"Number",groups:[],decimalPlaces:14,renderField:(e,t,{disabled:r,readonly:n,name:u})=>J.jsx(rh,{name:u??e.id,label:J.jsx(an,{...e,readonly:n,children:e.label}),rules:{...Nn(e),min:{value:e.min,message:`Value must be at least ${e.min}.`},max:{value:e.max,message:`Value must be no more than ${e.max}.`}},disabled:r,readonly:n,decimalPlaces:t.decimalPlaces})},q6={type:"CALCULATEDNUMBER",name:"Calculated Number",groups:[],renderField:(e,t,{readonly:r,name:n})=>J.jsx(nh,{name:n??e.id,label:J.jsx(an,{...e,readonly:r,children:e.label}),rules:[]})},Nn=e=>({required:{value:e.required??!1,message:"This field is required."}}),fh=[R6,k6,q6,B6,I6,P6];function L6({children:e,template:t,fieldTypes:r=fh,layout:n}){return J.jsx(Ur.LocalizationProvider,{dateAdapter:S6,adapterLocale:void 0,children:J.jsx(F6,{layout:n,children:J.jsx(O6,{template:t,fieldTypes:r,children:e})})})}var $s,lh;function j6(){if(lh)return $s;lh=1;function e(){this.__data__=[],this.size=0}return $s=e,$s}var zs,dh;function hh(){if(dh)return zs;dh=1;function e(t,r){return t===r||t!==t&&r!==r}return zs=e,zs}var Hs,ph;function Ni(){if(ph)return Hs;ph=1;var e=hh();function t(r,n){for(var u=r.length;u--;)if(e(r[u][0],n))return u;return-1}return Hs=t,Hs}var Us,mh;function $6(){if(mh)return Us;mh=1;var e=Ni(),t=Array.prototype,r=t.splice;function n(u){var i=this.__data__,a=e(i,u);if(a<0)return!1;var s=i.length-1;return a==s?i.pop():r.call(i,a,1),--this.size,!0}return Us=n,Us}var Vs,gh;function z6(){if(gh)return Vs;gh=1;var e=Ni();function t(r){var n=this.__data__,u=e(n,r);return u<0?void 0:n[u][1]}return Vs=t,Vs}var Ws,bh;function H6(){if(bh)return Ws;bh=1;var e=Ni();function t(r){return e(this.__data__,r)>-1}return Ws=t,Ws}var Ys,yh;function U6(){if(yh)return Ys;yh=1;var e=Ni();function t(r,n){var u=this.__data__,i=e(u,r);return i<0?(++this.size,u.push([r,n])):u[i][1]=n,this}return Ys=t,Ys}var Gs,vh;function Mi(){if(vh)return Gs;vh=1;var e=j6(),t=$6(),r=z6(),n=H6(),u=U6();function i(a){var s=-1,l=a==null?0:a.length;for(this.clear();++s<l;){var c=a[s];this.set(c[0],c[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=u,Gs=i,Gs}var Xs,wh;function V6(){if(wh)return Xs;wh=1;var e=Mi();function t(){this.__data__=new e,this.size=0}return Xs=t,Xs}var Qs,Dh;function W6(){if(Dh)return Qs;Dh=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return Qs=e,Qs}var Ks,Eh;function Y6(){if(Eh)return Ks;Eh=1;function e(t){return this.__data__.get(t)}return Ks=e,Ks}var Zs,xh;function G6(){if(xh)return Zs;xh=1;function e(t){return this.__data__.has(t)}return Zs=e,Zs}var Js,Ah;function Ch(){if(Ah)return Js;Ah=1;var e=typeof gu=="object"&&gu&&gu.Object===Object&&gu;return Js=e,Js}var eo,_h;function Or(){if(_h)return eo;_h=1;var e=Ch(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return eo=r,eo}var to,Th;function ro(){if(Th)return to;Th=1;var e=Or(),t=e.Symbol;return to=t,to}var no,Sh;function X6(){if(Sh)return no;Sh=1;var e=ro(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,u=e?e.toStringTag:void 0;function i(a){var s=r.call(a,u),l=a[u];try{a[u]=void 0;var c=!0}catch{}var f=n.call(a);return c&&(s?a[u]=l:delete a[u]),f}return no=i,no}var uo,Fh;function Q6(){if(Fh)return uo;Fh=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return uo=r,uo}var io,Oh;function Pi(){if(Oh)return io;Oh=1;var e=ro(),t=X6(),r=Q6(),n="[object Null]",u="[object Undefined]",i=e?e.toStringTag:void 0;function a(s){return s==null?s===void 0?u:n:i&&i in Object(s)?t(s):r(s)}return io=a,io}var ao,Nh;function Mh(){if(Nh)return ao;Nh=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return ao=e,ao}var so,Ph;function Bh(){if(Ph)return so;Ph=1;var e=Pi(),t=Mh(),r="[object AsyncFunction]",n="[object Function]",u="[object GeneratorFunction]",i="[object Proxy]";function a(s){if(!t(s))return!1;var l=e(s);return l==n||l==u||l==r||l==i}return so=a,so}var oo,Ih;function K6(){if(Ih)return oo;Ih=1;var e=Or(),t=e["__core-js_shared__"];return oo=t,oo}var co,Rh;function Z6(){if(Rh)return co;Rh=1;var e=K6(),t=function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function r(n){return!!t&&t in n}return co=r,co}var fo,kh;function qh(){if(kh)return fo;kh=1;var e=Function.prototype,t=e.toString;function r(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}return fo=r,fo}var lo,Lh;function J6(){if(Lh)return lo;Lh=1;var e=Bh(),t=Z6(),r=Mh(),n=qh(),u=/[\\^$.*+?()[\]{}|]/g,i=/^\[object .+?Constructor\]$/,a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,f=RegExp("^"+l.call(c).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(o){if(!r(o)||t(o))return!1;var d=e(o)?f:i;return d.test(n(o))}return lo=p,lo}var ho,jh;function e4(){if(jh)return ho;jh=1;function e(t,r){return t==null?void 0:t[r]}return ho=e,ho}var po,$h;function Mn(){if($h)return po;$h=1;var e=J6(),t=e4();function r(n,u){var i=t(n,u);return e(i)?i:void 0}return po=r,po}var mo,zh;function go(){if(zh)return mo;zh=1;var e=Mn(),t=Or(),r=e(t,"Map");return mo=r,mo}var bo,Hh;function Bi(){if(Hh)return bo;Hh=1;var e=Mn(),t=e(Object,"create");return bo=t,bo}var yo,Uh;function t4(){if(Uh)return yo;Uh=1;var e=Bi();function t(){this.__data__=e?e(null):{},this.size=0}return yo=t,yo}var vo,Vh;function r4(){if(Vh)return vo;Vh=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return vo=e,vo}var wo,Wh;function n4(){if(Wh)return wo;Wh=1;var e=Bi(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function u(i){var a=this.__data__;if(e){var s=a[i];return s===t?void 0:s}return n.call(a,i)?a[i]:void 0}return wo=u,wo}var Do,Yh;function u4(){if(Yh)return Do;Yh=1;var e=Bi(),t=Object.prototype,r=t.hasOwnProperty;function n(u){var i=this.__data__;return e?i[u]!==void 0:r.call(i,u)}return Do=n,Do}var Eo,Gh;function i4(){if(Gh)return Eo;Gh=1;var e=Bi(),t="__lodash_hash_undefined__";function r(n,u){var i=this.__data__;return this.size+=this.has(n)?0:1,i[n]=e&&u===void 0?t:u,this}return Eo=r,Eo}var xo,Xh;function a4(){if(Xh)return xo;Xh=1;var e=t4(),t=r4(),r=n4(),n=u4(),u=i4();function i(a){var s=-1,l=a==null?0:a.length;for(this.clear();++s<l;){var c=a[s];this.set(c[0],c[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=u,xo=i,xo}var Ao,Qh;function s4(){if(Qh)return Ao;Qh=1;var e=a4(),t=Mi(),r=go();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return Ao=n,Ao}var Co,Kh;function o4(){if(Kh)return Co;Kh=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return Co=e,Co}var _o,Zh;function Ii(){if(Zh)return _o;Zh=1;var e=o4();function t(r,n){var u=r.__data__;return e(n)?u[typeof n=="string"?"string":"hash"]:u.map}return _o=t,_o}var To,Jh;function c4(){if(Jh)return To;Jh=1;var e=Ii();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return To=t,To}var So,e1;function f4(){if(e1)return So;e1=1;var e=Ii();function t(r){return e(this,r).get(r)}return So=t,So}var Fo,t1;function l4(){if(t1)return Fo;t1=1;var e=Ii();function t(r){return e(this,r).has(r)}return Fo=t,Fo}var Oo,r1;function d4(){if(r1)return Oo;r1=1;var e=Ii();function t(r,n){var u=e(this,r),i=u.size;return u.set(r,n),this.size+=u.size==i?0:1,this}return Oo=t,Oo}var No,n1;function u1(){if(n1)return No;n1=1;var e=s4(),t=c4(),r=f4(),n=l4(),u=d4();function i(a){var s=-1,l=a==null?0:a.length;for(this.clear();++s<l;){var c=a[s];this.set(c[0],c[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=u,No=i,No}var Mo,i1;function h4(){if(i1)return Mo;i1=1;var e=Mi(),t=go(),r=u1(),n=200;function u(i,a){var s=this.__data__;if(s instanceof e){var l=s.__data__;if(!t||l.length<n-1)return l.push([i,a]),this.size=++s.size,this;s=this.__data__=new r(l)}return s.set(i,a),this.size=s.size,this}return Mo=u,Mo}var Po,a1;function p4(){if(a1)return Po;a1=1;var e=Mi(),t=V6(),r=W6(),n=Y6(),u=G6(),i=h4();function a(s){var l=this.__data__=new e(s);this.size=l.size}return a.prototype.clear=t,a.prototype.delete=r,a.prototype.get=n,a.prototype.has=u,a.prototype.set=i,Po=a,Po}var Bo,s1;function m4(){if(s1)return Bo;s1=1;var e="__lodash_hash_undefined__";function t(r){return this.__data__.set(r,e),this}return Bo=t,Bo}var Io,o1;function g4(){if(o1)return Io;o1=1;function e(t){return this.__data__.has(t)}return Io=e,Io}var Ro,c1;function b4(){if(c1)return Ro;c1=1;var e=u1(),t=m4(),r=g4();function n(u){var i=-1,a=u==null?0:u.length;for(this.__data__=new e;++i<a;)this.add(u[i])}return n.prototype.add=n.prototype.push=t,n.prototype.has=r,Ro=n,Ro}var ko,f1;function y4(){if(f1)return ko;f1=1;function e(t,r){for(var n=-1,u=t==null?0:t.length;++n<u;)if(r(t[n],n,t))return!0;return!1}return ko=e,ko}var qo,l1;function v4(){if(l1)return qo;l1=1;function e(t,r){return t.has(r)}return qo=e,qo}var Lo,d1;function h1(){if(d1)return Lo;d1=1;var e=b4(),t=y4(),r=v4(),n=1,u=2;function i(a,s,l,c,f,p){var o=l&n,d=a.length,m=s.length;if(d!=m&&!(o&&m>d))return!1;var h=p.get(a),b=p.get(s);if(h&&b)return h==s&&b==a;var g=-1,w=!0,v=l&u?new e:void 0;for(p.set(a,s),p.set(s,a);++g<d;){var D=a[g],y=s[g];if(c)var E=o?c(y,D,g,s,a,p):c(D,y,g,a,s,p);if(E!==void 0){if(E)continue;w=!1;break}if(v){if(!t(s,function(A,C){if(!r(v,C)&&(D===A||f(D,A,l,c,p)))return v.push(C)})){w=!1;break}}else if(!(D===y||f(D,y,l,c,p))){w=!1;break}}return p.delete(a),p.delete(s),w}return Lo=i,Lo}var jo,p1;function w4(){if(p1)return jo;p1=1;var e=Or(),t=e.Uint8Array;return jo=t,jo}var $o,m1;function D4(){if(m1)return $o;m1=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(u,i){n[++r]=[i,u]}),n}return $o=e,$o}var zo,g1;function E4(){if(g1)return zo;g1=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(u){n[++r]=u}),n}return zo=e,zo}var Ho,b1;function x4(){if(b1)return Ho;b1=1;var e=ro(),t=w4(),r=hh(),n=h1(),u=D4(),i=E4(),a=1,s=2,l="[object Boolean]",c="[object Date]",f="[object Error]",p="[object Map]",o="[object Number]",d="[object RegExp]",m="[object Set]",h="[object String]",b="[object Symbol]",g="[object ArrayBuffer]",w="[object DataView]",v=e?e.prototype:void 0,D=v?v.valueOf:void 0;function y(E,A,C,T,x,_,F){switch(C){case w:if(E.byteLength!=A.byteLength||E.byteOffset!=A.byteOffset)return!1;E=E.buffer,A=A.buffer;case g:return!(E.byteLength!=A.byteLength||!_(new t(E),new t(A)));case l:case c:case o:return r(+E,+A);case f:return E.name==A.name&&E.message==A.message;case d:case h:return E==A+"";case p:var M=u;case m:var B=T&a;if(M||(M=i),E.size!=A.size&&!B)return!1;var N=F.get(E);if(N)return N==A;T|=s,F.set(E,A);var I=n(M(E),M(A),T,x,_,F);return F.delete(E),I;case b:if(D)return D.call(E)==D.call(A)}return!1}return Ho=y,Ho}var Uo,y1;function A4(){if(y1)return Uo;y1=1;function e(t,r){for(var n=-1,u=r.length,i=t.length;++n<u;)t[i+n]=r[n];return t}return Uo=e,Uo}var Vo,v1;function Wo(){if(v1)return Vo;v1=1;var e=Array.isArray;return Vo=e,Vo}var Yo,w1;function C4(){if(w1)return Yo;w1=1;var e=A4(),t=Wo();function r(n,u,i){var a=u(n);return t(n)?a:e(a,i(n))}return Yo=r,Yo}var Go,D1;function _4(){if(D1)return Go;D1=1;function e(t,r){for(var n=-1,u=t==null?0:t.length,i=0,a=[];++n<u;){var s=t[n];r(s,n,t)&&(a[i++]=s)}return a}return Go=e,Go}var Xo,E1;function T4(){if(E1)return Xo;E1=1;function e(){return[]}return Xo=e,Xo}var Qo,x1;function S4(){if(x1)return Qo;x1=1;var e=_4(),t=T4(),r=Object.prototype,n=r.propertyIsEnumerable,u=Object.getOwnPropertySymbols,i=u?function(a){return a==null?[]:(a=Object(a),e(u(a),function(s){return n.call(a,s)}))}:t;return Qo=i,Qo}var Ko,A1;function F4(){if(A1)return Ko;A1=1;function e(t,r){for(var n=-1,u=Array(t);++n<t;)u[n]=r(n);return u}return Ko=e,Ko}var Zo,C1;function Ri(){if(C1)return Zo;C1=1;function e(t){return t!=null&&typeof t=="object"}return Zo=e,Zo}var Jo,_1;function O4(){if(_1)return Jo;_1=1;var e=Pi(),t=Ri(),r="[object Arguments]";function n(u){return t(u)&&e(u)==r}return Jo=n,Jo}var ec,T1;function N4(){if(T1)return ec;T1=1;var e=O4(),t=Ri(),r=Object.prototype,n=r.hasOwnProperty,u=r.propertyIsEnumerable,i=e(function(){return arguments}())?e:function(a){return t(a)&&n.call(a,"callee")&&!u.call(a,"callee")};return ec=i,ec}var lu={exports:{}},tc,S1;function M4(){if(S1)return tc;S1=1;function e(){return!1}return tc=e,tc}lu.exports;var F1;function O1(){return F1||(F1=1,function(e,t){var r=Or(),n=M4(),u=t&&!t.nodeType&&t,i=u&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===u,s=a?r.Buffer:void 0,l=s?s.isBuffer:void 0,c=l||n;e.exports=c}(lu,lu.exports)),lu.exports}var rc,N1;function P4(){if(N1)return rc;N1=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function r(n,u){var i=typeof n;return u=u??e,!!u&&(i=="number"||i!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<u}return rc=r,rc}var nc,M1;function P1(){if(M1)return nc;M1=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return nc=t,nc}var uc,B1;function B4(){if(B1)return uc;B1=1;var e=Pi(),t=P1(),r=Ri(),n="[object Arguments]",u="[object Array]",i="[object Boolean]",a="[object Date]",s="[object Error]",l="[object Function]",c="[object Map]",f="[object Number]",p="[object Object]",o="[object RegExp]",d="[object Set]",m="[object String]",h="[object WeakMap]",b="[object ArrayBuffer]",g="[object DataView]",w="[object Float32Array]",v="[object Float64Array]",D="[object Int8Array]",y="[object Int16Array]",E="[object Int32Array]",A="[object Uint8Array]",C="[object Uint8ClampedArray]",T="[object Uint16Array]",x="[object Uint32Array]",_={};_[w]=_[v]=_[D]=_[y]=_[E]=_[A]=_[C]=_[T]=_[x]=!0,_[n]=_[u]=_[b]=_[i]=_[g]=_[a]=_[s]=_[l]=_[c]=_[f]=_[p]=_[o]=_[d]=_[m]=_[h]=!1;function F(M){return r(M)&&t(M.length)&&!!_[e(M)]}return uc=F,uc}var ic,I1;function I4(){if(I1)return ic;I1=1;function e(t){return function(r){return t(r)}}return ic=e,ic}var du={exports:{}};du.exports;var R1;function R4(){return R1||(R1=1,function(e,t){var r=Ch(),n=t&&!t.nodeType&&t,u=n&&!0&&e&&!e.nodeType&&e,i=u&&u.exports===n,a=i&&r.process,s=function(){try{var l=u&&u.require&&u.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();e.exports=s}(du,du.exports)),du.exports}var ac,k1;function q1(){if(k1)return ac;k1=1;var e=B4(),t=I4(),r=R4(),n=r&&r.isTypedArray,u=n?t(n):e;return ac=u,ac}var sc,L1;function k4(){if(L1)return sc;L1=1;var e=F4(),t=N4(),r=Wo(),n=O1(),u=P4(),i=q1(),a=Object.prototype,s=a.hasOwnProperty;function l(c,f){var p=r(c),o=!p&&t(c),d=!p&&!o&&n(c),m=!p&&!o&&!d&&i(c),h=p||o||d||m,b=h?e(c.length,String):[],g=b.length;for(var w in c)(f||s.call(c,w))&&!(h&&(w=="length"||d&&(w=="offset"||w=="parent")||m&&(w=="buffer"||w=="byteLength"||w=="byteOffset")||u(w,g)))&&b.push(w);return b}return sc=l,sc}var oc,j1;function q4(){if(j1)return oc;j1=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,u=typeof n=="function"&&n.prototype||e;return r===u}return oc=t,oc}var cc,$1;function L4(){if($1)return cc;$1=1;function e(t,r){return function(n){return t(r(n))}}return cc=e,cc}var fc,z1;function j4(){if(z1)return fc;z1=1;var e=L4(),t=e(Object.keys,Object);return fc=t,fc}var lc,H1;function $4(){if(H1)return lc;H1=1;var e=q4(),t=j4(),r=Object.prototype,n=r.hasOwnProperty;function u(i){if(!e(i))return t(i);var a=[];for(var s in Object(i))n.call(i,s)&&s!="constructor"&&a.push(s);return a}return lc=u,lc}var dc,U1;function z4(){if(U1)return dc;U1=1;var e=Bh(),t=P1();function r(n){return n!=null&&t(n.length)&&!e(n)}return dc=r,dc}var hc,V1;function H4(){if(V1)return hc;V1=1;var e=k4(),t=$4(),r=z4();function n(u){return r(u)?e(u):t(u)}return hc=n,hc}var pc,W1;function U4(){if(W1)return pc;W1=1;var e=C4(),t=S4(),r=H4();function n(u){return e(u,r,t)}return pc=n,pc}var mc,Y1;function V4(){if(Y1)return mc;Y1=1;var e=U4(),t=1,r=Object.prototype,n=r.hasOwnProperty;function u(i,a,s,l,c,f){var p=s&t,o=e(i),d=o.length,m=e(a),h=m.length;if(d!=h&&!p)return!1;for(var b=d;b--;){var g=o[b];if(!(p?g in a:n.call(a,g)))return!1}var w=f.get(i),v=f.get(a);if(w&&v)return w==a&&v==i;var D=!0;f.set(i,a),f.set(a,i);for(var y=p;++b<d;){g=o[b];var E=i[g],A=a[g];if(l)var C=p?l(A,E,g,a,i,f):l(E,A,g,i,a,f);if(!(C===void 0?E===A||c(E,A,s,l,f):C)){D=!1;break}y||(y=g=="constructor")}if(D&&!y){var T=i.constructor,x=a.constructor;T!=x&&"constructor"in i&&"constructor"in a&&!(typeof T=="function"&&T instanceof T&&typeof x=="function"&&x instanceof x)&&(D=!1)}return f.delete(i),f.delete(a),D}return mc=u,mc}var gc,G1;function W4(){if(G1)return gc;G1=1;var e=Mn(),t=Or(),r=e(t,"DataView");return gc=r,gc}var bc,X1;function Y4(){if(X1)return bc;X1=1;var e=Mn(),t=Or(),r=e(t,"Promise");return bc=r,bc}var yc,Q1;function G4(){if(Q1)return yc;Q1=1;var e=Mn(),t=Or(),r=e(t,"Set");return yc=r,yc}var vc,K1;function X4(){if(K1)return vc;K1=1;var e=Mn(),t=Or(),r=e(t,"WeakMap");return vc=r,vc}var wc,Z1;function Q4(){if(Z1)return wc;Z1=1;var e=W4(),t=go(),r=Y4(),n=G4(),u=X4(),i=Pi(),a=qh(),s="[object Map]",l="[object Object]",c="[object Promise]",f="[object Set]",p="[object WeakMap]",o="[object DataView]",d=a(e),m=a(t),h=a(r),b=a(n),g=a(u),w=i;return(e&&w(new e(new ArrayBuffer(1)))!=o||t&&w(new t)!=s||r&&w(r.resolve())!=c||n&&w(new n)!=f||u&&w(new u)!=p)&&(w=function(v){var D=i(v),y=D==l?v.constructor:void 0,E=y?a(y):"";if(E)switch(E){case d:return o;case m:return s;case h:return c;case b:return f;case g:return p}return D}),wc=w,wc}var Dc,J1;function K4(){if(J1)return Dc;J1=1;var e=p4(),t=h1(),r=x4(),n=V4(),u=Q4(),i=Wo(),a=O1(),s=q1(),l=1,c="[object Arguments]",f="[object Array]",p="[object Object]",o=Object.prototype,d=o.hasOwnProperty;function m(h,b,g,w,v,D){var y=i(h),E=i(b),A=y?f:u(h),C=E?f:u(b);A=A==c?p:A,C=C==c?p:C;var T=A==p,x=C==p,_=A==C;if(_&&a(h)){if(!a(b))return!1;y=!0,T=!1}if(_&&!T)return D||(D=new e),y||s(h)?t(h,b,g,w,v,D):r(h,b,A,g,w,v,D);if(!(g&l)){var F=T&&d.call(h,"__wrapped__"),M=x&&d.call(b,"__wrapped__");if(F||M){var B=F?h.value():h,N=M?b.value():b;return D||(D=new e),v(B,N,g,w,D)}}return _?(D||(D=new e),n(h,b,g,w,v,D)):!1}return Dc=m,Dc}var Ec,ep;function Z4(){if(ep)return Ec;ep=1;var e=K4(),t=Ri();function r(n,u,i,a,s){return n===u?!0:n==null||u==null||!t(n)&&!t(u)?n!==n&&u!==u:e(n,u,i,a,r,s)}return Ec=r,Ec}var xc,tp;function J4(){if(tp)return xc;tp=1;var e=Z4();function t(r,n){return e(r,n)}return xc=t,xc}var e8=J4();const t8=bu(e8);function r8({children:e,formOptions:t,submitOptions:r,loading:n}){const u=Jt.useForm(t),{handleSubmit:i,reset:a,watch:s}=u,l=Xe.useRef(null);Xe.useEffect(()=>{if(n)return;const b=t==null?void 0:t.defaultValues;b&&(t8(l.current,b)||(a(b),l.current=b))},[n,a,t==null?void 0:t.defaultValues]);const{onSubmit:c,onReset:f,formId:p,submitOnChange:o,registerForm:d}=r||{},m=async b=>{await(c==null?void 0:c(b)),a(b)},h=async()=>{a(t==null?void 0:t.defaultValues),await(f==null?void 0:f())};return Xe.useEffect(()=>{if(!o)return()=>{};const b=s(g=>i(w=>c==null?void 0:c(w))(g));return()=>b.unsubscribe()},[s,o,i,c]),J.jsx(Jt.FormProvider,{...u,children:J.jsx("form",{"data-testid":p,onSubmit:i(m),onReset:h,ref:d,id:p,style:{width:"100%"},children:e})})}function n8({children:e,formOptions:t,submitOptions:r}){const{formId:n,onSubmit:u,onBlur:i}=r,a=Jt.useForm(t),{getFieldState:s,reset:l,getValues:c,handleSubmit:f,trigger:p}=a,o=async()=>{const d=c(),m=Object.keys(d).filter(g=>s(g).isDirty);await p(m);const b=m.filter(g=>!s(g).invalid).reduce((g,w)=>(g[w]=d[w],g),{});Object.keys(b).length>0&&(await(i==null?void 0:i(b)),l({...d,...b},{keepErrors:!0}))};return J.jsx(Jt.FormProvider,{...a,children:J.jsx("form",{onBlur:o,onSubmit:f(async d=>{await(u==null?void 0:u(d)),l(d)}),id:n,"data-testid":n,children:e})})}function rp({id:e,name:t,readonly:r,wrapper:n}){const{field:u}=sh(),i=M6(e),a=N6(i.type);if(!a||!a.renderField)return J.jsxs(qe.Box,{children:["Missing render for field type ",i.type]});const{renderField:s,...l}=a,c=u==null?void 0:u(i,l),f=n||qe.Box;return J.jsx(f,{"data-testid":"field-container",field:i,sx:c,children:s(i,l,{readonly:r,name:t})})}function u8({section:e,fields:t,fieldNames:r,readonly:n,fieldWrapper:u}){const{section:i}=sh(),a=i==null?void 0:i(e);return J.jsx(qe.Box,{"data-testid":"section-container",sx:a,children:t.map((s,l)=>J.jsx(rp,{id:s,name:(r==null?void 0:r[l])??s,readonly:n,wrapper:u},s))})}Se.AutosaveForm=n8,Se.CalculatedNumber=nh,Se.CheckboxInput=Ff,Se.DateInput=Sf,Se.DropdownInput=uh,Se.ErrorMessage=ln,Se.Field=rp,Se.Form=r8,Se.FormFieldLabel=an,Se.LabelWithChildren=$a,Se.NumberInput=rh,Se.ReadOnlyField=Jr,Se.RendererProvider=L6,Se.Section=u8,Se.TextInput=Of,Se.defaultFieldTypes=fh,Se.defaultRules=Nn,Object.defineProperty(Se,Symbol.toStringTag,{value:"Module"})});
|