@opengov/form-renderer 0.0.44 → 0.0.45
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/fields/LabeledField/LabeledField.d.ts +19 -0
- package/dist/fields/Text/TextInput.d.ts +2 -1
- package/dist/index.d.ts +3 -2
- package/dist/lib.js +3315 -3307
- package/dist/lib.umd.cjs +55 -55
- package/dist/renderer/context/FormRendererContext.d.ts +1 -0
- package/package.json +1 -1
- package/dist/fields/NonEditableField/NonEditableField.d.ts +0 -14
- /package/dist/fields/{NonEditableField/NonEditableField.test.d.ts → LabeledField/LabeledField.test.d.ts} +0 -0
package/dist/lib.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(ke,at){typeof exports=="object"&&typeof module<"u"?at(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"],at):(ke=typeof globalThis<"u"?globalThis:ke||self,at(ke.Lib={},ke.React,ke.MuiDatePickers,ke.ReactHookForm,ke.MaterialUI,ke.CapitalMuiTheme))})(this,function(ke,at,Hr,vr,Ve,sn){"use strict";var a3=Object.defineProperty;var s3=(ke,at,Hr)=>at in ke?a3(ke,at,{enumerable:!0,configurable:!0,writable:!0,value:Hr}):ke[at]=Hr;var ae=(ke,at,Hr)=>s3(ke,typeof at!="symbol"?at+"":at,Hr);function vf(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const At=vf(at);function Ni(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wf(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var t=function n(){return this instanceof n?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:function(){return e[n]}})}),t}var hu={exports:{}},Mn={};/**
|
|
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 qs;function Df(){if(qs)return Mn;qs=1;var e=at,r=Symbol.for("react.element"),t=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,h,c){var l,p={},o=null,f=null;c!==void 0&&(o=""+c),h.key!==void 0&&(o=""+h.key),h.ref!==void 0&&(f=h.ref);for(l in h)n.call(h,l)&&!i.hasOwnProperty(l)&&(p[l]=h[l]);if(s&&s.defaultProps)for(l in h=s.defaultProps,h)p[l]===void 0&&(p[l]=h[l]);return{$$typeof:r,type:s,key:o,ref:f,props:p,_owner:u.current}}return Mn.Fragment=t,Mn.jsx=a,Mn.jsxs=a,Mn}var Pn={};/**
|
|
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
|
-
`+
|
|
17
|
+
*/var $s;function Ef(){return $s||($s=1,process.env.NODE_ENV!=="production"&&function(){var e=at,r=Symbol.for("react.element"),t=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"),h=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),o=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=Symbol.iterator,d="@@iterator";function b(O){if(O===null||typeof O!="object")return null;var G=m&&O[m]||O[d];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,Ne=we.getStackAddendum();Ne!==""&&(G+="%s",ue=ue.concat([Ne]));var He=ue.map(function(Te){return String(Te)});He.unshift("Warning: "+G),Function.prototype.apply.call(console[O],console,He)}}var D=!1,y=!1,E=!1,A=!1,C=!1,F;F=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===l||A||O===f||D||y||E||typeof O=="object"&&O!==null&&(O.$$typeof===o||O.$$typeof===p||O.$$typeof===a||O.$$typeof===s||O.$$typeof===h||O.$$typeof===F||O.getModuleId!==void 0))}function T(O,G,ue){var we=O.displayName;if(we)return we;var Ne=G.displayName||G.name||"";return Ne!==""?ue+"("+Ne+")":ue}function _(O){return O.displayName||"Context"}function P(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 t:return"Portal";case i:return"Profiler";case u:return"StrictMode";case c:return"Suspense";case l:return"SuspenseList"}if(typeof O=="object")switch(O.$$typeof){case s:var G=O;return _(G)+".Consumer";case a:var ue=O;return _(ue._context)+".Provider";case h:return T(O,O.render,"ForwardRef");case p:var we=O.displayName||null;return we!==null?we:P(O.type)||"Memo";case o:{var Ne=O,He=Ne._payload,Te=Ne._init;try{return P(Te(He))}catch{return null}}}return null}var B=Object.assign,N=0,I,J,re,ie,L,Z,ce;function Y(){}Y.__reactDisabledLog=!0;function se(){{if(N===0){I=console.log,J=console.info,re=console.warn,ie=console.error,L=console.group,Z=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:J}),warn:B({},O,{value:re}),error:B({},O,{value:ie}),group:B({},O,{value:L}),groupCollapsed:B({},O,{value:Z}),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(Ne){var we=Ne.stack.trim().match(/\n( *(at )?)/);oe=we&&we[1]||""}return`
|
|
18
|
+
`+oe+O}}var ye=!1,ve;{var q=typeof WeakMap=="function"?WeakMap:Map;ve=new q}function k(O,G){if(!O||ye)return"";{var ue=ve.get(O);if(ue!==void 0)return ue}var we;ye=!0;var Ne=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var He;He=he.current,he.current=null,se();try{if(G){var Te=function(){throw Error()};if(Object.defineProperty(Te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Te,[])}catch(Ue){we=Ue}Reflect.construct(O,[],Te)}else{try{Te.call()}catch(Ue){we=Ue}O.call(Te.prototype)}}else{try{throw Error()}catch(Ue){we=Ue}O()}}catch(Ue){if(Ue&&we&&typeof Ue.stack=="string"){for(var Ae=Ue.stack.split(`
|
|
19
19
|
`),Ft=we.stack.split(`
|
|
20
20
|
`),it=Ae.length-1,dt=Ft.length-1;it>=1&&dt>=0&&Ae[it]!==Ft[dt];)dt--;for(;it>=1&&dt>=0;it--,dt--)if(Ae[it]!==Ft[dt]){if(it!==1||dt!==1)do if(it--,dt--,dt<0||Ae[it]!==Ft[dt]){var $t=`
|
|
21
|
-
`+Ae[it].replace(" at new "," at ");return O.displayName&&$t.includes("<anonymous>")&&($t=$t.replace("<anonymous>",O.displayName)),typeof O=="function"&&ve.set(O,$t),$t}while(it>=1&&dt>=0);break}}}finally{ye=!1,he.current=
|
|
21
|
+
`+Ae[it].replace(" at new "," at ");return O.displayName&&$t.includes("<anonymous>")&&($t=$t.replace("<anonymous>",O.displayName)),typeof O=="function"&&ve.set(O,$t),$t}while(it>=1&&dt>=0);break}}}finally{ye=!1,he.current=He,de(),Error.prepareStackTrace=Ne}var Jt=O?O.displayName||O.name:"",Ce=Jt?be(Jt):"";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 et(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 l:return be("SuspenseList")}if(typeof O=="object")switch(O.$$typeof){case h:return W(O.render);case p:return et(O.type,G,ue);case o:{var we=O,Ne=we._payload,He=we._init;try{return et(He(Ne),G,ue)}catch{}}}return""}var nt=Object.prototype.hasOwnProperty,Re={},Se=g.ReactDebugCurrentFrame;function yr(O){if(O){var G=O._owner,ue=et(O.type,O._source,G?G.type:null);Se.setExtraStackFrame(ue)}else Se.setExtraStackFrame(null)}function Fe(O,G,ue,we,Ne){{var He=Function.call.bind(nt);for(var Te in O)if(He(O,Te)){var Ae=void 0;try{if(typeof O[Te]!="function"){var Ft=Error((we||"React class")+": "+ue+" type `"+Te+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof O[Te]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ft.name="Invariant Violation",Ft}Ae=O[Te](G,Te,we,ue,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(it){Ae=it}Ae&&!(Ae instanceof Error)&&(yr(Ne),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,Te,typeof Ae),yr(null)),Ae instanceof Error&&!(Ae.message in Re)&&(Re[Ae.message]=!0,yr(Ne),w("Failed %s type: %s",ue,Ae.message),yr(null))}}}var _e=Array.isArray;function qt(O){return _e(O)}function S(O){{var G=typeof Symbol=="function"&&Symbol.toStringTag,ue=G&&O[Symbol.toStringTag]||O.constructor.name||"Object";return ue}}function M(O){try{return R(O),!1}catch{return!0}}function R(O){return""+O}function z(O){if(M(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(nt.call(O,"ref")){var G=Object.getOwnPropertyDescriptor(O,"ref").get;if(G&&G.isReactWarning)return!1}return O.ref!==void 0}function je(O){if(nt.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=P(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',P(H.current.type),O.ref),te[ue]=!0)}}function ft(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 St=function(O,G,ue,we,Ne,He,Te){var Ae={$$typeof:r,type:O,key:G,ref:ue,props:Te,_owner:He};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:Ne}),Object.freeze&&(Object.freeze(Ae.props),Object.freeze(Ae)),Ae};function Vt(O,G,ue,we,Ne){{var He,Te={},Ae=null,Ft=null;ue!==void 0&&(z(ue),Ae=""+ue),je(G)&&(z(G.key),Ae=""+G.key),X(G)&&(Ft=G.ref,Ge(G,Ne));for(He in G)nt.call(G,He)&&!U.hasOwnProperty(He)&&(Te[He]=G[He]);if(O&&O.defaultProps){var it=O.defaultProps;for(He in it)Te[He]===void 0&&(Te[He]=it[He])}if(Ae||Ft){var dt=typeof O=="function"?O.displayName||O.name||"Unknown":O;Ae&&ft(Te,dt),Ft&&Mt(Te,dt)}return St(O,Ae,Ft,Ne,we,H.current,Te)}}var Pt=g.ReactCurrentOwner,Or=g.ReactDebugCurrentFrame;function sr(O){if(O){var G=O._owner,ue=et(O.type,O._source,G?G.type:null);Or.setExtraStackFrame(ue)}else Or.setExtraStackFrame(null)}var lu;lu=!1;function fu(O){return typeof O=="object"&&O!==null&&O.$$typeof===r}function Ci(){{if(Pt.current){var O=P(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 Ns(O){return""}var Ti={};function Ms(O){{var G=Ci();if(!G){var ue=typeof O=="string"?O:O.displayName||O.name;ue&&(G=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+ue+">.")}return G}}function Si(O,G){{if(!O._store||O._store.validated||O.key!=null)return;O._store.validated=!0;var ue=
|
|
25
|
+
Check the top-level render call using <`+ue+">.")}return G}}function Si(O,G){{if(!O._store||O._store.validated||O.key!=null)return;O._store.validated=!0;var ue=Ms(G);if(Ti[ue])return;Ti[ue]=!0;var we="";O&&O._owner&&O._owner!==Pt.current&&(we=" It was passed a child from "+P(O._owner.type)+"."),sr(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),sr(null)}}function Fi(O,G){{if(typeof O!="object")return;if(qt(O))for(var ue=0;ue<O.length;ue++){var we=O[ue];fu(we)&&Si(we,G)}else if(fu(O))O._store&&(O._store.validated=!0);else if(O){var Ne=b(O);if(typeof Ne=="function"&&Ne!==O.entries)for(var He=Ne.call(O),Te;!(Te=He.next()).done;)fu(Te.value)&&Si(Te.value,G)}}}function Ps(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===h||G.$$typeof===p))ue=G.propTypes;else return;if(ue){var we=P(G);Fe(ue,O.props,"prop",we,O)}else if(G.PropTypes!==void 0&&!lu){lu=!0;var Ne=P(G);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ne||"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 Bs(O){{for(var G=Object.keys(O.props),ue=0;ue<G.length;ue++){var we=G[ue];if(we!=="children"&&we!=="key"){sr(O),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",we),sr(null);break}}O.ref!==null&&(sr(O),w("Invalid attribute `ref` supplied to `React.Fragment`."),sr(null))}}var _i={};function Oi(O,G,ue,we,Ne,He){{var Te=x(O);if(!Te){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 Ft=Ns();Ft?Ae+=Ft:Ae+=Ci();var it;O===null?it="null":qt(O)?it="array":O!==void 0&&O.$$typeof===r?(it="<"+(P(O.type)||"Unknown")+" />",Ae=" Did you accidentally export a JSX literal instead of a component?"):it=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",it,Ae)}var dt=Vt(O,G,ue,Ne,He);if(dt==null)return dt;if(Te){var $t=G.children;if($t!==void 0)if(we)if(qt($t)){for(var Jt=0;Jt<$t.length;Jt++)Fi($t[Jt],O);Object.freeze&&Object.freeze($t)}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 Fi($t,O)}if(nt.call(G,"key")){var Ce=P(O),Ue=Object.keys(G).filter(function(an){return an!=="key"}),du=Ue.length>0?"{key: someKey, "+Ue.join(": ..., ")+": ...}":"{key: someKey}";if(!_i[Ce+du]){var Nn=Ue.length>0?"{"+Ue.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} />`,du,Ce,Nn,Ce),_i[Ce+du]=!0}}return O===n?Bo(dt):Po(dt),dt}}function Io(O,G,ue){return Oi(O,G,ue,!0)}function Ro(O,G,ue){return Oi(O,G,ue,!1)}var ko=Ro,Lo=Io;Pn.Fragment=n,Pn.jsx=ko,Pn.jsxs=Lo}()),Pn}var jo;function xl(){return jo||(jo=1,process.env.NODE_ENV==="production"?hu.exports=Dl():hu.exports=El()),hu.exports}var K=xl();const zo=6048e5,Al=864e5,Ho=6e4,Uo=36e5,Cl=1e3,Vo=Symbol.for("constructDateFrom");function Je(e,r){return typeof e=="function"?e(r):e&&typeof e=="object"&&Vo in e?e[Vo](r):e instanceof Date?new e.constructor(r):new Date(r)}function pe(e,r){return Je(r||e,e)}function Vr(e,r,t){const n=pe(e,t==null?void 0:t.in);return isNaN(r)?Je((t==null?void 0:t.in)||e,NaN):(r&&n.setDate(n.getDate()+r),n)}function pu(e,r,t){const n=pe(e,t==null?void 0:t.in);if(isNaN(r))return Je(e,NaN);if(!r)return n;const u=n.getDate(),i=Je(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 Tl(e,r,t){const{years:n=0,months:u=0,weeks:i=0,days:a=0,hours:o=0,minutes:h=0,seconds:f=0}=r,c=pe(e,t==null?void 0:t.in),p=u||n?pu(c,u+n*12):c,s=a||i?Vr(p,a+i*7):p,d=h+o*60,l=(f+d*60)*1e3;return Je(e,+s+l)}function Wo(e,r,t){return Je(e,+pe(e)+r)}function Sl(e,r,t){return Wo(e,r*Uo)}let Fl={};function Wr(){return Fl}function wr(e,r){var o,h,f,c;const t=Wr(),n=(r==null?void 0:r.weekStartsOn)??((h=(o=r==null?void 0:r.locale)==null?void 0:o.options)==null?void 0:h.weekStartsOn)??t.weekStartsOn??((c=(f=t.locale)==null?void 0:f.options)==null?void 0:c.weekStartsOn)??0,u=pe(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 sn(e,r){return wr(e,{...r,weekStartsOn:1})}function Yo(e,r){const t=pe(e,r==null?void 0:r.in),n=t.getFullYear(),u=Je(t,0);u.setFullYear(n+1,0,4),u.setHours(0,0,0,0);const i=sn(u),a=Je(t,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);const o=sn(a);return t.getTime()>=i.getTime()?n+1:t.getTime()>=o.getTime()?n:n-1}function mu(e){const r=pe(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 Bn(e,...r){const t=Je.bind(null,r.find(n=>typeof n=="object"));return r.map(t)}function Yr(e,r){const t=pe(e,r==null?void 0:r.in);return t.setHours(0,0,0,0),t}function _l(e,r,t){const[n,u]=Bn(t==null?void 0:t.in,e,r),i=Yr(n),a=Yr(u),o=+i-mu(i),h=+a-mu(a);return Math.round((o-h)/Al)}function Ol(e,r){const t=Yo(e,r),n=Je(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),sn(n)}function Nl(e,r,t){const n=pe(e,t==null?void 0:t.in);return n.setTime(n.getTime()+r*Ho),n}function Ml(e,r,t){return Wo(e,r*1e3)}function Pl(e,r,t){return Vr(e,r*7,t)}function Bl(e,r,t){return pu(e,r*12,t)}function Il(e,r,t){const[n,u]=Bn(t==null?void 0:t.in,e,r);return+Yr(n)==+Yr(u)}function Rl(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Go(e){return!(!Rl(e)&&typeof e!="number"||isNaN(+pe(e)))}function Xo(e,r){const t=pe(e,r==null?void 0:r.in);return t.setHours(23,59,59,999),t}function kl(e,r){const t=pe(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 Ll(e,r){const t=pe(e,r==null?void 0:r.in);return t.setDate(1),t.setHours(0,0,0,0),t}function Qo(e,r){const t=pe(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 Zo(e,r){const t=pe(e,r==null?void 0:r.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}function ql(e,r){var o,h,f,c;const t=Wr(),n=(r==null?void 0:r.weekStartsOn)??((h=(o=r==null?void 0:r.locale)==null?void 0:o.options)==null?void 0:h.weekStartsOn)??t.weekStartsOn??((c=(f=t.locale)==null?void 0:f.options)==null?void 0:c.weekStartsOn)??0,u=pe(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 $l={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"}},jl=(e,r,t)=>{let n;const u=$l[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 Mi(e){return(r={})=>{const t=r.width?String(r.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const zl={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Hl={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ul={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Vl={date:Mi({formats:zl,defaultWidth:"full"}),time:Mi({formats:Hl,defaultWidth:"full"}),dateTime:Mi({formats:Ul,defaultWidth:"full"})},Wl={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Yl=(e,r,t,n)=>Wl[e];function In(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,o=t!=null&&t.width?String(t.width):a;u=e.formattingValues[o]||e.formattingValues[a]}else{const a=e.defaultWidth,o=t!=null&&t.width?String(t.width):e.defaultWidth;u=e.values[o]||e.values[a]}const i=e.argumentCallback?e.argumentCallback(r):r;return u[i]}}const Gl={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Xl={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ql={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"]},Zl={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"]},Jl={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"}},Kl={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"}},ed={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:In({values:Gl,defaultWidth:"wide"}),quarter:In({values:Xl,defaultWidth:"wide",argumentCallback:e=>e-1}),month:In({values:Ql,defaultWidth:"wide"}),day:In({values:Zl,defaultWidth:"wide"}),dayPeriod:In({values:Jl,defaultWidth:"wide",formattingValues:Kl,defaultFormattingWidth:"wide"})};function Rn(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],o=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],h=Array.isArray(o)?rd(o,p=>p.test(a)):td(o,p=>p.test(a));let f;f=e.valueCallback?e.valueCallback(h):h,f=t.valueCallback?t.valueCallback(f):f;const c=r.slice(a.length);return{value:f,rest:c}}}function td(e,r){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&r(e[t]))return t}function rd(e,r){for(let t=0;t<e.length;t++)if(r(e[t]))return t}function nd(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 o=r.slice(u.length);return{value:a,rest:o}}}const ud=/^(\d+)(th|st|nd|rd)?/i,id=/\d+/i,ad={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},od={any:[/^b/i,/^(a|c)/i]},sd={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},cd={any:[/1/i,/2/i,/3/i,/4/i]},fd={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},ld={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]},dd={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},hd={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]},pd={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},md={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}},gd={ordinalNumber:nd({matchPattern:ud,parsePattern:id,valueCallback:e=>parseInt(e,10)}),era:Rn({matchPatterns:ad,defaultMatchWidth:"wide",parsePatterns:od,defaultParseWidth:"any"}),quarter:Rn({matchPatterns:sd,defaultMatchWidth:"wide",parsePatterns:cd,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Rn({matchPatterns:fd,defaultMatchWidth:"wide",parsePatterns:ld,defaultParseWidth:"any"}),day:Rn({matchPatterns:dd,defaultMatchWidth:"wide",parsePatterns:hd,defaultParseWidth:"any"}),dayPeriod:Rn({matchPatterns:pd,defaultMatchWidth:"any",parsePatterns:md,defaultParseWidth:"any"})},Pi={code:"en-US",formatDistance:jl,formatLong:Vl,formatRelative:Yl,localize:ed,match:gd,options:{weekStartsOn:0,firstWeekContainsDate:1}};function bd(e,r){const t=pe(e,r==null?void 0:r.in);return _l(t,Zo(t))+1}function Jo(e,r){const t=pe(e,r==null?void 0:r.in),n=+sn(t)-+Ol(t);return Math.round(n/zo)+1}function Bi(e,r){var c,p,s,d;const t=pe(e,r==null?void 0:r.in),n=t.getFullYear(),u=Wr(),i=(r==null?void 0:r.firstWeekContainsDate)??((p=(c=r==null?void 0:r.locale)==null?void 0:c.options)==null?void 0:p.firstWeekContainsDate)??u.firstWeekContainsDate??((d=(s=u.locale)==null?void 0:s.options)==null?void 0:d.firstWeekContainsDate)??1,a=Je((r==null?void 0:r.in)||e,0);a.setFullYear(n+1,0,i),a.setHours(0,0,0,0);const o=wr(a,r),h=Je((r==null?void 0:r.in)||e,0);h.setFullYear(n,0,i),h.setHours(0,0,0,0);const f=wr(h,r);return+t>=+o?n+1:+t>=+f?n:n-1}function yd(e,r){var o,h,f,c;const t=Wr(),n=(r==null?void 0:r.firstWeekContainsDate)??((h=(o=r==null?void 0:r.locale)==null?void 0:o.options)==null?void 0:h.firstWeekContainsDate)??t.firstWeekContainsDate??((c=(f=t.locale)==null?void 0:f.options)==null?void 0:c.firstWeekContainsDate)??1,u=Bi(e,r),i=Je((r==null?void 0:r.in)||e,0);return i.setFullYear(u,0,n),i.setHours(0,0,0,0),wr(i,r)}function Ii(e,r){const t=pe(e,r==null?void 0:r.in),n=+wr(t,r)-+yd(t,r);return Math.round(n/zo)+1}function He(e,r){const t=e<0?"-":"",n=Math.abs(e).toString().padStart(r,"0");return t+n}const Nr={y(e,r){const t=e.getFullYear(),n=t>0?t:1-t;return He(r==="yy"?n%100:n,r.length)},M(e,r){const t=e.getMonth();return r==="M"?String(t+1):He(t+1,2)},d(e,r){return He(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 He(e.getHours()%12||12,r.length)},H(e,r){return He(e.getHours(),r.length)},m(e,r){return He(e.getMinutes(),r.length)},s(e,r){return He(e.getSeconds(),r.length)},S(e,r){const t=r.length,n=e.getMilliseconds(),u=Math.trunc(n*Math.pow(10,t-3));return He(u,r.length)}},cn={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ko={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 Nr.y(e,r)},Y:function(e,r,t,n){const u=Bi(e,n),i=u>0?u:1-u;if(r==="YY"){const a=i%100;return He(a,2)}return r==="Yo"?t.ordinalNumber(i,{unit:"year"}):He(i,r.length)},R:function(e,r){const t=Yo(e);return He(t,r.length)},u:function(e,r){const t=e.getFullYear();return He(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 He(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 He(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 Nr.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 He(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=Ii(e,n);return r==="wo"?t.ordinalNumber(u,{unit:"week"}):He(u,r.length)},I:function(e,r,t){const n=Jo(e);return r==="Io"?t.ordinalNumber(n,{unit:"week"}):He(n,r.length)},d:function(e,r,t){return r==="do"?t.ordinalNumber(e.getDate(),{unit:"date"}):Nr.d(e,r)},D:function(e,r,t){const n=bd(e);return r==="Do"?t.ordinalNumber(n,{unit:"dayOfYear"}):He(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 He(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 He(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 He(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=cn.noon:n===0?u=cn.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=cn.evening:n>=12?u=cn.afternoon:n>=4?u=cn.morning:u=cn.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 Nr.h(e,r)},H:function(e,r,t){return r==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):Nr.H(e,r)},K:function(e,r,t){const n=e.getHours()%12;return r==="Ko"?t.ordinalNumber(n,{unit:"hour"}):He(n,r.length)},k:function(e,r,t){let n=e.getHours();return n===0&&(n=24),r==="ko"?t.ordinalNumber(n,{unit:"hour"}):He(n,r.length)},m:function(e,r,t){return r==="mo"?t.ordinalNumber(e.getMinutes(),{unit:"minute"}):Nr.m(e,r)},s:function(e,r,t){return r==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):Nr.s(e,r)},S:function(e,r){return Nr.S(e,r)},X:function(e,r,t){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(r){case"X":return ts(n);case"XXXX":case"XX":return Gr(n);case"XXXXX":case"XXX":default:return Gr(n,":")}},x:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"x":return ts(n);case"xxxx":case"xx":return Gr(n);case"xxxxx":case"xxx":default:return Gr(n,":")}},O:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+es(n,":");case"OOOO":default:return"GMT"+Gr(n,":")}},z:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+es(n,":");case"zzzz":default:return"GMT"+Gr(n,":")}},t:function(e,r,t){const n=Math.trunc(+e/1e3);return He(n,r.length)},T:function(e,r,t){return He(+e,r.length)}};function es(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+He(i,2)}function ts(e,r){return e%60===0?(e>0?"-":"+")+He(Math.abs(e)/60,2):Gr(e,r)}function Gr(e,r=""){const t=e>0?"-":"+",n=Math.abs(e),u=He(Math.trunc(n/60),2),i=He(n%60,2);return t+u+r+i}const rs=(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"})}},ns=(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"})}},kn={p:ns,P:(e,r)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],u=t[2];if(!u)return rs(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}}",rs(n,r)).replace("{{time}}",ns(u,r))}},vd=/^D+$/,wd=/^Y+$/,Dd=["D","DD","YY","YYYY"];function us(e){return vd.test(e)}function is(e){return wd.test(e)}function Ri(e,r,t){const n=Ed(e,r,t);if(console.warn(n),Dd.includes(e))throw new RangeError(n)}function Ed(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 xd=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ad=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Cd=/^'([^]*?)'?$/,Td=/''/g,Sd=/[a-zA-Z]/;function as(e,r,t){var c,p,s,d,m,l,b,g;const n=Wr(),u=(t==null?void 0:t.locale)??n.locale??Pi,i=(t==null?void 0:t.firstWeekContainsDate)??((p=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:p.firstWeekContainsDate)??n.firstWeekContainsDate??((d=(s=n.locale)==null?void 0:s.options)==null?void 0:d.firstWeekContainsDate)??1,a=(t==null?void 0:t.weekStartsOn)??((l=(m=t==null?void 0:t.locale)==null?void 0:m.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((g=(b=n.locale)==null?void 0:b.options)==null?void 0:g.weekStartsOn)??0,o=pe(e,t==null?void 0:t.in);if(!Go(o))throw new RangeError("Invalid time value");let h=r.match(Ad).map(w=>{const v=w[0];if(v==="p"||v==="P"){const D=kn[v];return D(w,u.formatLong)}return w}).join("").match(xd).map(w=>{if(w==="''")return{isToken:!1,value:"'"};const v=w[0];if(v==="'")return{isToken:!1,value:Fd(w)};if(Ko[v])return{isToken:!0,value:w};if(v.match(Sd))throw new RangeError("Format string contains an unescaped latin alphabet character `"+v+"`");return{isToken:!1,value:w}});u.localize.preprocessor&&(h=u.localize.preprocessor(o,h));const f={firstWeekContainsDate:i,weekStartsOn:a,locale:u};return h.map(w=>{if(!w.isToken)return w.value;const v=w.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&is(v)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&us(v))&&Ri(v,r,String(e));const D=Ko[v[0]];return D(o,v,u.localize,f)}).join("")}function Fd(e){const r=e.match(Cd);return r?r[1].replace(Td,"'"):e}function _d(e,r){return pe(e,r==null?void 0:r.in).getDate()}function os(e,r){const t=pe(e,r==null?void 0:r.in),n=t.getFullYear(),u=t.getMonth(),i=Je(t,0);return i.setFullYear(n,u+1,0),i.setHours(0,0,0,0),i.getDate()}function Od(){return Object.assign({},Wr())}function Nd(e,r){return pe(e,r==null?void 0:r.in).getHours()}function Md(e,r){const t=pe(e,r==null?void 0:r.in).getDay();return t===0?7:t}function Pd(e){return pe(e).getMilliseconds()}function Bd(e,r){return pe(e,r==null?void 0:r.in).getMinutes()}function Id(e,r){return pe(e,r==null?void 0:r.in).getMonth()}function Rd(e){return pe(e).getSeconds()}function kd(e,r){return pe(e,r==null?void 0:r.in).getFullYear()}function gu(e,r){return+pe(e)>+pe(r)}function bu(e,r){return+pe(e)<+pe(r)}function Ld(e,r){return+pe(e)==+pe(r)}function qd(e,r){const t=$d(r)?new r(0):Je(r,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}function $d(e){var r;return typeof e=="function"&&((r=e.prototype)==null?void 0:r.constructor)===e}const jd=10;class ss{constructor(){ae(this,"subPriority",0)}validate(r,t){return!0}}class zd extends ss{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 Hd extends ss{constructor(t,n){super();ae(this,"priority",jd);ae(this,"subPriority",-1);this.context=t||(u=>Je(n,u))}set(t,n){return n.timestampIsSet?t:Je(t,qd(t,this.context))}}let Me=class{run(r,t,n,u){const i=this.parse(r,t,n,u);return i?{setter:new zd(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(r,t,n){return!0}};class Ud extends Me{constructor(){super(...arguments);ae(this,"priority",140);ae(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 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}/},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 pt(e,r){return e&&{value:r(e.value),rest:e.rest}}function ut(e,r){const t=r.match(e);return t?{value:parseInt(t[0],10),rest:r.slice(t[0].length)}:null}function cr(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*Uo+i*Ho+a*Cl),rest:r.slice(t[0].length)}}function cs(e){return ut(ht.anyDigitsSigned,e)}function ot(e,r){switch(e){case 1:return ut(ht.singleDigit,r);case 2:return ut(ht.twoDigits,r);case 3:return ut(ht.threeDigits,r);case 4:return ut(ht.fourDigits,r);default:return ut(new RegExp("^\\d{1,"+e+"}"),r)}}function yu(e,r){switch(e){case 1:return ut(ht.singleDigitSigned,r);case 2:return ut(ht.twoDigitsSigned,r);case 3:return ut(ht.threeDigitsSigned,r);case 4:return ut(ht.fourDigitsSigned,r);default:return ut(new RegExp("^-?\\d{1,"+e+"}"),r)}}function ki(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 fs(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,o=e>=i%100;u=e+a-(o?100:0)}return t?u:1-u}function ls(e){return e%400===0||e%4===0&&e%100!==0}class Vd extends Me{constructor(){super(...arguments);ae(this,"priority",130);ae(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 pt(ot(4,t),i);case"yo":return pt(u.ordinalNumber(t,{unit:"year"}),i);default:return pt(ot(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 o=fs(u.year,i);return t.setFullYear(o,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 Wd extends Me{constructor(){super(...arguments);ae(this,"priority",130);ae(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 pt(ot(4,t),i);case"Yo":return pt(u.ordinalNumber(t,{unit:"year"}),i);default:return pt(ot(n.length,t),i)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,u,i){const a=Bi(t,i);if(u.isTwoDigitYear){const h=fs(u.year,a);return t.setFullYear(h,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),wr(t,i)}const o=!("era"in n)||n.era===1?u.year:1-u.year;return t.setFullYear(o,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),wr(t,i)}}class Yd extends Me{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(t,n){return yu(n==="R"?4:n.length,t)}set(t,n,u){const i=Je(t,0);return i.setFullYear(u,0,4),i.setHours(0,0,0,0),sn(i)}}class Gd extends Me{constructor(){super(...arguments);ae(this,"priority",130);ae(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return yu(n==="u"?4:n.length,t)}set(t,n,u){return t.setFullYear(u,0,1),t.setHours(0,0,0,0),t}}class Xd extends Me{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(t,n,u){switch(n){case"Q":case"QQ":return ot(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 Qd extends Me{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(t,n,u){switch(n){case"q":case"qq":return ot(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 Zd extends Me{constructor(){super(...arguments);ae(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ae(this,"priority",110)}parse(t,n,u){const i=a=>a-1;switch(n){case"M":return pt(ut(ht.month,t),i);case"MM":return pt(ot(2,t),i);case"Mo":return pt(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 Jd extends Me{constructor(){super(...arguments);ae(this,"priority",110);ae(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 pt(ut(ht.month,t),i);case"LL":return pt(ot(2,t),i);case"Lo":return pt(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 Kd(e,r,t){const n=pe(e,t==null?void 0:t.in),u=Ii(n,t)-r;return n.setDate(n.getDate()-u*7),pe(n,t==null?void 0:t.in)}class eh extends Me{constructor(){super(...arguments);ae(this,"priority",100);ae(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,u){switch(n){case"w":return ut(ht.week,t);case"wo":return u.ordinalNumber(t,{unit:"week"});default:return ot(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,u,i){return wr(Kd(t,u,i),i)}}function th(e,r,t){const n=pe(e,t==null?void 0:t.in),u=Jo(n,t)-r;return n.setDate(n.getDate()-u*7),n}class rh extends Me{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(t,n,u){switch(n){case"I":return ut(ht.week,t);case"Io":return u.ordinalNumber(t,{unit:"week"});default:return ot(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,u){return sn(th(t,u))}}const nh=[31,28,31,30,31,30,31,31,30,31,30,31],uh=[31,29,31,30,31,30,31,31,30,31,30,31];class ih extends Me{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(t,n,u){switch(n){case"d":return ut(ht.date,t);case"do":return u.ordinalNumber(t,{unit:"date"});default:return ot(n.length,t)}}validate(t,n){const u=t.getFullYear(),i=ls(u),a=t.getMonth();return i?n>=1&&n<=uh[a]:n>=1&&n<=nh[a]}set(t,n,u){return t.setDate(u),t.setHours(0,0,0,0),t}}class ah extends Me{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(t,n,u){switch(n){case"D":case"DD":return ut(ht.dayOfYear,t);case"Do":return u.ordinalNumber(t,{unit:"date"});default:return ot(n.length,t)}}validate(t,n){const u=t.getFullYear();return ls(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 Li(e,r,t){var p,s,d,m;const n=Wr(),u=(t==null?void 0:t.weekStartsOn)??((s=(p=t==null?void 0:t.locale)==null?void 0:p.options)==null?void 0:s.weekStartsOn)??n.weekStartsOn??((m=(d=n.locale)==null?void 0:d.options)==null?void 0:m.weekStartsOn)??0,i=pe(e,t==null?void 0:t.in),a=i.getDay(),h=(r%7+7)%7,f=7-u,c=r<0||r>6?r-(a+f)%7:(h+f)%7-(a+f)%7;return Vr(i,c,t)}class oh extends Me{constructor(){super(...arguments);ae(this,"priority",90);ae(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=Li(t,u,i),t.setHours(0,0,0,0),t}}class sh extends Me{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(t,n,u,i){const a=o=>{const h=Math.floor((o-1)/7)*7;return(o+i.weekStartsOn+6)%7+h};switch(n){case"e":case"ee":return pt(ot(n.length,t),a);case"eo":return pt(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=Li(t,u,i),t.setHours(0,0,0,0),t}}class ch extends Me{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(t,n,u,i){const a=o=>{const h=Math.floor((o-1)/7)*7;return(o+i.weekStartsOn+6)%7+h};switch(n){case"c":case"cc":return pt(ot(n.length,t),a);case"co":return pt(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=Li(t,u,i),t.setHours(0,0,0,0),t}}function fh(e,r,t){const n=pe(e,t==null?void 0:t.in),u=Md(n,t),i=r-u;return Vr(n,i,t)}class lh extends Me{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(t,n,u){const i=a=>a===0?7:a;switch(n){case"i":case"ii":return ot(n.length,t);case"io":return u.ordinalNumber(t,{unit:"day"});case"iii":return pt(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 pt(u.day(t,{width:"narrow",context:"formatting"}),i);case"iiiiii":return pt(u.day(t,{width:"short",context:"formatting"})||u.day(t,{width:"narrow",context:"formatting"}),i);case"iiii":default:return pt(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=fh(t,u),t.setHours(0,0,0,0),t}}class dh extends Me{constructor(){super(...arguments);ae(this,"priority",80);ae(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(ki(u),0,0,0),t}}class hh extends Me{constructor(){super(...arguments);ae(this,"priority",80);ae(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(ki(u),0,0,0),t}}class ph extends Me{constructor(){super(...arguments);ae(this,"priority",80);ae(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(ki(u),0,0,0),t}}class mh extends Me{constructor(){super(...arguments);ae(this,"priority",70);ae(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,u){switch(n){case"h":return ut(ht.hour12h,t);case"ho":return u.ordinalNumber(t,{unit:"hour"});default:return ot(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 gh extends Me{constructor(){super(...arguments);ae(this,"priority",70);ae(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,u){switch(n){case"H":return ut(ht.hour23h,t);case"Ho":return u.ordinalNumber(t,{unit:"hour"});default:return ot(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,u){return t.setHours(u,0,0,0),t}}class bh extends Me{constructor(){super(...arguments);ae(this,"priority",70);ae(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,u){switch(n){case"K":return ut(ht.hour11h,t);case"Ko":return u.ordinalNumber(t,{unit:"hour"});default:return ot(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 yh extends Me{constructor(){super(...arguments);ae(this,"priority",70);ae(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,u){switch(n){case"k":return ut(ht.hour24h,t);case"ko":return u.ordinalNumber(t,{unit:"hour"});default:return ot(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 vh extends Me{constructor(){super(...arguments);ae(this,"priority",60);ae(this,"incompatibleTokens",["t","T"])}parse(t,n,u){switch(n){case"m":return ut(ht.minute,t);case"mo":return u.ordinalNumber(t,{unit:"minute"});default:return ot(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,u){return t.setMinutes(u,0,0),t}}class wh extends Me{constructor(){super(...arguments);ae(this,"priority",50);ae(this,"incompatibleTokens",["t","T"])}parse(t,n,u){switch(n){case"s":return ut(ht.second,t);case"so":return u.ordinalNumber(t,{unit:"second"});default:return ot(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,u){return t.setSeconds(u,0),t}}class Dh extends Me{constructor(){super(...arguments);ae(this,"priority",30);ae(this,"incompatibleTokens",["t","T"])}parse(t,n){const u=i=>Math.trunc(i*Math.pow(10,-n.length+3));return pt(ot(n.length,t),u)}set(t,n,u){return t.setMilliseconds(u),t}}class Eh extends Me{constructor(){super(...arguments);ae(this,"priority",10);ae(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return cr(sr.basicOptionalMinutes,t);case"XX":return cr(sr.basic,t);case"XXXX":return cr(sr.basicOptionalSeconds,t);case"XXXXX":return cr(sr.extendedOptionalSeconds,t);case"XXX":default:return cr(sr.extended,t)}}set(t,n,u){return n.timestampIsSet?t:Je(t,t.getTime()-mu(t)-u)}}class xh extends Me{constructor(){super(...arguments);ae(this,"priority",10);ae(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return cr(sr.basicOptionalMinutes,t);case"xx":return cr(sr.basic,t);case"xxxx":return cr(sr.basicOptionalSeconds,t);case"xxxxx":return cr(sr.extendedOptionalSeconds,t);case"xxx":default:return cr(sr.extended,t)}}set(t,n,u){return n.timestampIsSet?t:Je(t,t.getTime()-mu(t)-u)}}class Ah extends Me{constructor(){super(...arguments);ae(this,"priority",40);ae(this,"incompatibleTokens","*")}parse(t){return cs(t)}set(t,n,u){return[Je(t,u*1e3),{timestampIsSet:!0}]}}class Ch extends Me{constructor(){super(...arguments);ae(this,"priority",20);ae(this,"incompatibleTokens","*")}parse(t){return cs(t)}set(t,n,u){return[Je(t,u),{timestampIsSet:!0}]}}const Th={G:new Ud,y:new Vd,Y:new Wd,R:new Yd,u:new Gd,Q:new Xd,q:new Qd,M:new Zd,L:new Jd,w:new eh,I:new rh,d:new ih,D:new ah,E:new oh,e:new sh,c:new ch,i:new lh,a:new dh,b:new hh,B:new ph,h:new mh,H:new gh,K:new bh,k:new yh,m:new vh,s:new wh,S:new Dh,X:new Eh,x:new xh,t:new Ah,T:new Ch},Sh=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Fh=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,_h=/^'([^]*?)'?$/,Oh=/''/g,Nh=/\S/,Mh=/[a-zA-Z]/;function Ph(e,r,t,n){var b,g,w,v,D,y,E,A;const u=()=>Je((n==null?void 0:n.in)||t,NaN),i=Od(),a=(n==null?void 0:n.locale)??i.locale??Pi,o=(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,h=(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(!r)return e?u():pe(t,n==null?void 0:n.in);const f={firstWeekContainsDate:o,weekStartsOn:h,locale:a},c=[new Hd(n==null?void 0:n.in,t)],p=r.match(Fh).map(C=>{const F=C[0];if(F in kn){const x=kn[F];return x(C,a.formatLong)}return C}).join("").match(Sh),s=[];for(let C of p){!(n!=null&&n.useAdditionalWeekYearTokens)&&is(C)&&Ri(C,r,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&us(C)&&Ri(C,r,e);const F=C[0],x=Th[F];if(x){const{incompatibleTokens:T}=x;if(Array.isArray(T)){const P=s.find(B=>T.includes(B.token)||B.token===F);if(P)throw new RangeError(`The format string mustn't contain \`${P.fullToken}\` and \`${C}\` at the same time`)}else if(x.incompatibleTokens==="*"&&s.length>0)throw new RangeError(`The format string mustn't contain \`${C}\` and any other token at the same time`);s.push({token:F,fullToken:C});const _=x.run(e,C,a.match,f);if(!_)return u();c.push(_.setter),e=_.rest}else{if(F.match(Mh))throw new RangeError("Format string contains an unescaped latin alphabet character `"+F+"`");if(C==="''"?C="'":F==="'"&&(C=Bh(C)),e.indexOf(C)===0)e=e.slice(C.length);else return u()}}if(e.length>0&&Nh.test(e))return u();const d=c.map(C=>C.priority).sort((C,F)=>F-C).filter((C,F,x)=>x.indexOf(C)===F).map(C=>c.filter(F=>F.priority===C).sort((F,x)=>x.subPriority-F.subPriority)).map(C=>C[0]);let m=pe(t,n==null?void 0:n.in);if(isNaN(+m))return u();const l={};for(const C of d){if(!C.validate(m,f))return u();const F=C.set(m,l,f);Array.isArray(F)?(m=F[0],Object.assign(l,F[1])):m=F}return m}function Bh(e){return e.match(_h)[1].replace(Oh,"'")}function ds(e,r){const t=pe(e,r==null?void 0:r.in);return t.setMinutes(0,0,0),t}function Ih(e,r,t){const[n,u]=Bn(t==null?void 0:t.in,e,r);return+ds(n)==+ds(u)}function Rh(e,r,t){const[n,u]=Bn(t==null?void 0:t.in,e,r);return n.getFullYear()===u.getFullYear()&&n.getMonth()===u.getMonth()}function kh(e,r,t){const[n,u]=Bn(t==null?void 0:t.in,e,r);return n.getFullYear()===u.getFullYear()}function Lh(e,r,t){const n=+pe(e,t==null?void 0:t.in),[u,i]=[+pe(r.start,t==null?void 0:t.in),+pe(r.end,t==null?void 0:t.in)].sort((a,o)=>a-o);return n>=u&&n<=i}function qh(e,r,t){return Vr(e,-r,t)}function $h(e,r,t){const n=pe(e,t==null?void 0:t.in),u=n.getFullYear(),i=n.getDate(),a=Je(e,0);a.setFullYear(u,r,15),a.setHours(0,0,0,0);const o=os(a);return n.setMonth(r,Math.min(i,o)),n}function jh(e,r,t){const n=pe(e,t==null?void 0:t.in);return n.setDate(r),n}function zh(e,r,t){const n=pe(e,t==null?void 0:t.in);return n.setHours(r),n}function Hh(e,r,t){const n=pe(e,t==null?void 0:t.in);return n.setMilliseconds(r),n}function Uh(e,r,t){const n=pe(e,t==null?void 0:t.in);return n.setMinutes(r),n}function Vh(e,r,t){const n=pe(e,t==null?void 0:t.in);return n.setSeconds(r),n}function Wh(e,r,t){const n=pe(e,t==null?void 0:t.in);return isNaN(+n)?Je(e,NaN):(n.setFullYear(r),n)}function Yh(e,r,t){return pu(e,-r,t)}function Gh(e,r,t){const{years:n=0,months:u=0,weeks:i=0,days:a=0,hours:o=0,minutes:h=0,seconds:f=0}=r,c=Yh(e,u+n*12,t),p=qh(c,a+i*7,t),s=h+o*60,m=(f+s*60)*1e3;return Je(e,+p-m)}var Ln=(e=>(e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH",e.YEAR="YEAR",e))(Ln||{});function fn({error:e}){return K.jsxs(ke.FormHelperText,{"data-testid":"form-field-error-message",error:!0,children:[Ur.getTextFieldIconByStatus("error"),e]})}var Kt={},er={},qi={},tr={},vu={},hs;function Xh(){return hs||(hs=1,Object.defineProperty(vu,"__esModule",{value:!0}),vu.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)}))),vu}var wu={},ps;function Qh(){return ps||(ps=1,Object.defineProperty(wu,"__esModule",{value:!0}),wu.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(e){return e.charCodeAt(0)}))),wu}var $i={},ms;function gs(){return ms||(ms=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}($i)),$i}var bs;function Du(){return bs||(bs=1,function(e){var r=tr&&tr.__createBinding||(Object.create?function(T,_,P,B){B===void 0&&(B=P);var N=Object.getOwnPropertyDescriptor(_,P);(!N||("get"in N?!_.__esModule:N.writable||N.configurable))&&(N={enumerable:!0,get:function(){return _[P]}}),Object.defineProperty(T,B,N)}:function(T,_,P,B){B===void 0&&(B=P),T[B]=_[P]}),t=tr&&tr.__setModuleDefault||(Object.create?function(T,_){Object.defineProperty(T,"default",{enumerable:!0,value:_})}:function(T,_){T.default=_}),n=tr&&tr.__importStar||function(T){if(T&&T.__esModule)return T;var _={};if(T!=null)for(var P in T)P!=="default"&&Object.prototype.hasOwnProperty.call(T,P)&&r(_,T,P);return t(_,T),_},u=tr&&tr.__importDefault||function(T){return T&&T.__esModule?T:{default:T}};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(Xh());e.htmlDecodeTree=i.default;var a=u(Qh());e.xmlDecodeTree=a.default;var o=n(gs());e.decodeCodePoint=o.default;var h=gs();Object.defineProperty(e,"replaceCodePoint",{enumerable:!0,get:function(){return h.replaceCodePoint}}),Object.defineProperty(e,"fromCodePoint",{enumerable:!0,get:function(){return h.fromCodePoint}});var f;(function(T){T[T.NUM=35]="NUM",T[T.SEMI=59]="SEMI",T[T.EQUALS=61]="EQUALS",T[T.ZERO=48]="ZERO",T[T.NINE=57]="NINE",T[T.LOWER_A=97]="LOWER_A",T[T.LOWER_F=102]="LOWER_F",T[T.LOWER_X=120]="LOWER_X",T[T.LOWER_Z=122]="LOWER_Z",T[T.UPPER_A=65]="UPPER_A",T[T.UPPER_F=70]="UPPER_F",T[T.UPPER_Z=90]="UPPER_Z"})(f||(f={}));var c=32,p;(function(T){T[T.VALUE_LENGTH=49152]="VALUE_LENGTH",T[T.BRANCH_LENGTH=16256]="BRANCH_LENGTH",T[T.JUMP_TABLE=127]="JUMP_TABLE"})(p=e.BinTrieFlags||(e.BinTrieFlags={}));function s(T){return T>=f.ZERO&&T<=f.NINE}function d(T){return T>=f.UPPER_A&&T<=f.UPPER_F||T>=f.LOWER_A&&T<=f.LOWER_F}function m(T){return T>=f.UPPER_A&&T<=f.UPPER_Z||T>=f.LOWER_A&&T<=f.LOWER_Z||s(T)}function l(T){return T===f.EQUALS||m(T)}var b;(function(T){T[T.EntityStart=0]="EntityStart",T[T.NumericStart=1]="NumericStart",T[T.NumericDecimal=2]="NumericDecimal",T[T.NumericHex=3]="NumericHex",T[T.NamedEntity=4]="NamedEntity"})(b||(b={}));var g;(function(T){T[T.Legacy=0]="Legacy",T[T.Strict=1]="Strict",T[T.Attribute=2]="Attribute"})(g=e.DecodingMode||(e.DecodingMode={}));var w=function(){function T(_,P,B){this.decodeTree=_,this.emitCodePoint=P,this.errors=B,this.state=b.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=g.Strict}return T.prototype.startEntity=function(_){this.decodeMode=_,this.state=b.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},T.prototype.write=function(_,P){switch(this.state){case b.EntityStart:return _.charCodeAt(P)===f.NUM?(this.state=b.NumericStart,this.consumed+=1,this.stateNumericStart(_,P+1)):(this.state=b.NamedEntity,this.stateNamedEntity(_,P));case b.NumericStart:return this.stateNumericStart(_,P);case b.NumericDecimal:return this.stateNumericDecimal(_,P);case b.NumericHex:return this.stateNumericHex(_,P);case b.NamedEntity:return this.stateNamedEntity(_,P)}},T.prototype.stateNumericStart=function(_,P){return P>=_.length?-1:(_.charCodeAt(P)|c)===f.LOWER_X?(this.state=b.NumericHex,this.consumed+=1,this.stateNumericHex(_,P+1)):(this.state=b.NumericDecimal,this.stateNumericDecimal(_,P))},T.prototype.addToNumericResult=function(_,P,B,N){if(P!==B){var I=B-P;this.result=this.result*Math.pow(N,I)+parseInt(_.substr(P,I),N),this.consumed+=I}},T.prototype.stateNumericHex=function(_,P){for(var B=P;P<_.length;){var N=_.charCodeAt(P);if(s(N)||d(N))P+=1;else return this.addToNumericResult(_,B,P,16),this.emitNumericEntity(N,3)}return this.addToNumericResult(_,B,P,16),-1},T.prototype.stateNumericDecimal=function(_,P){for(var B=P;P<_.length;){var N=_.charCodeAt(P);if(s(N))P+=1;else return this.addToNumericResult(_,B,P,10),this.emitNumericEntity(N,2)}return this.addToNumericResult(_,B,P,10),-1},T.prototype.emitNumericEntity=function(_,P){var B;if(this.consumed<=P)return(B=this.errors)===null||B===void 0||B.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(_===f.SEMI)this.consumed+=1;else if(this.decodeMode===g.Strict)return 0;return this.emitCodePoint((0,o.replaceCodePoint)(this.result),this.consumed),this.errors&&(_!==f.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},T.prototype.stateNamedEntity=function(_,P){for(var B=this.decodeTree,N=B[this.treeIndex],I=(N&p.VALUE_LENGTH)>>14;P<_.length;P++,this.excess++){var J=_.charCodeAt(P);if(this.treeIndex=D(B,N,this.treeIndex+Math.max(1,I),J),this.treeIndex<0)return this.result===0||this.decodeMode===g.Attribute&&(I===0||l(J))?0:this.emitNotTerminatedNamedEntity();if(N=B[this.treeIndex],I=(N&p.VALUE_LENGTH)>>14,I!==0){if(J===f.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},T.prototype.emitNotTerminatedNamedEntity=function(){var _,P=this,B=P.result,N=P.decodeTree,I=(N[B]&p.VALUE_LENGTH)>>14;return this.emitNamedEntityData(B,I,this.consumed),(_=this.errors)===null||_===void 0||_.missingSemicolonAfterCharacterReference(),this.consumed},T.prototype.emitNamedEntityData=function(_,P,B){var N=this.decodeTree;return this.emitCodePoint(P===1?N[_]&~p.VALUE_LENGTH:N[_+1],B),P===3&&this.emitCodePoint(N[_+2],B),B},T.prototype.end=function(){var _;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(_=this.errors)===null||_===void 0||_.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case b.EntityStart:return 0}},T}();e.EntityDecoder=w;function v(T){var _="",P=new w(T,function(B){return _+=(0,o.fromCodePoint)(B)});return function(N,I){for(var J=0,re=0;(re=N.indexOf("&",re))>=0;){_+=N.slice(J,re),P.startEntity(I);var ie=P.write(N,re+1);if(ie<0){J=re+P.end();break}J=re+ie,re=ie===0?J+1:J}var L=_+N.slice(J);return _="",L}}function D(T,_,P,B){var N=(_&p.BRANCH_LENGTH)>>7,I=_&p.JUMP_TABLE;if(N===0)return I!==0&&B===I?P:-1;if(I){var J=B-I;return J<0||J>=N?-1:T[P+J]-1}for(var re=P,ie=re+N-1;re<=ie;){var L=re+ie>>>1,Z=T[L];if(Z<B)re=L+1;else if(Z>B)ie=L-1;else return T[L+N]}return-1}e.determineBranch=D;var y=v(i.default),E=v(a.default);function A(T,_){return _===void 0&&(_=g.Legacy),y(T,_)}e.decodeHTML=A;function C(T){return y(T,g.Attribute)}e.decodeHTMLAttribute=C;function F(T){return y(T,g.Strict)}e.decodeHTMLStrict=F;function x(T){return E(T,g.Strict)}e.decodeXML=x}(tr)),tr}var ys;function vs(){return ys||(ys=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.QuoteType=void 0;var r=Du(),t;(function(s){s[s.Tab=9]="Tab",s[s.NewLine=10]="NewLine",s[s.FormFeed=12]="FormFeed",s[s.CarriageReturn=13]="CarriageReturn",s[s.Space=32]="Space",s[s.ExclamationMark=33]="ExclamationMark",s[s.Number=35]="Number",s[s.Amp=38]="Amp",s[s.SingleQuote=39]="SingleQuote",s[s.DoubleQuote=34]="DoubleQuote",s[s.Dash=45]="Dash",s[s.Slash=47]="Slash",s[s.Zero=48]="Zero",s[s.Nine=57]="Nine",s[s.Semi=59]="Semi",s[s.Lt=60]="Lt",s[s.Eq=61]="Eq",s[s.Gt=62]="Gt",s[s.Questionmark=63]="Questionmark",s[s.UpperA=65]="UpperA",s[s.LowerA=97]="LowerA",s[s.UpperF=70]="UpperF",s[s.LowerF=102]="LowerF",s[s.UpperZ=90]="UpperZ",s[s.LowerZ=122]="LowerZ",s[s.LowerX=120]="LowerX",s[s.OpeningSquareBracket=91]="OpeningSquareBracket"})(t||(t={}));var n;(function(s){s[s.Text=1]="Text",s[s.BeforeTagName=2]="BeforeTagName",s[s.InTagName=3]="InTagName",s[s.InSelfClosingTag=4]="InSelfClosingTag",s[s.BeforeClosingTagName=5]="BeforeClosingTagName",s[s.InClosingTagName=6]="InClosingTagName",s[s.AfterClosingTagName=7]="AfterClosingTagName",s[s.BeforeAttributeName=8]="BeforeAttributeName",s[s.InAttributeName=9]="InAttributeName",s[s.AfterAttributeName=10]="AfterAttributeName",s[s.BeforeAttributeValue=11]="BeforeAttributeValue",s[s.InAttributeValueDq=12]="InAttributeValueDq",s[s.InAttributeValueSq=13]="InAttributeValueSq",s[s.InAttributeValueNq=14]="InAttributeValueNq",s[s.BeforeDeclaration=15]="BeforeDeclaration",s[s.InDeclaration=16]="InDeclaration",s[s.InProcessingInstruction=17]="InProcessingInstruction",s[s.BeforeComment=18]="BeforeComment",s[s.CDATASequence=19]="CDATASequence",s[s.InSpecialComment=20]="InSpecialComment",s[s.InCommentLike=21]="InCommentLike",s[s.BeforeSpecialS=22]="BeforeSpecialS",s[s.SpecialStartSequence=23]="SpecialStartSequence",s[s.InSpecialTag=24]="InSpecialTag",s[s.BeforeEntity=25]="BeforeEntity",s[s.BeforeNumericEntity=26]="BeforeNumericEntity",s[s.InNamedEntity=27]="InNamedEntity",s[s.InNumericEntity=28]="InNumericEntity",s[s.InHexEntity=29]="InHexEntity"})(n||(n={}));function u(s){return s===t.Space||s===t.NewLine||s===t.Tab||s===t.FormFeed||s===t.CarriageReturn}function i(s){return s===t.Slash||s===t.Gt||u(s)}function a(s){return s>=t.Zero&&s<=t.Nine}function o(s){return s>=t.LowerA&&s<=t.LowerZ||s>=t.UpperA&&s<=t.UpperZ}function h(s){return s>=t.UpperA&&s<=t.UpperF||s>=t.LowerA&&s<=t.LowerF}var f;(function(s){s[s.NoValue=0]="NoValue",s[s.Unquoted=1]="Unquoted",s[s.Single=2]="Single",s[s.Double=3]="Double"})(f=e.QuoteType||(e.QuoteType={}));var c={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 s(d,m){var l=d.xmlMode,b=l===void 0?!1:l,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 s.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},s.prototype.write=function(d){this.offset+=this.buffer.length,this.buffer=d,this.parse()},s.prototype.end=function(){this.running&&this.finish()},s.prototype.pause=function(){this.running=!1},s.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},s.prototype.getIndex=function(){return this.index},s.prototype.getSectionStart=function(){return this.sectionStart},s.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)},s.prototype.stateSpecialStartSequence=function(d){var m=this.sequenceIndex===this.currentSequence.length,l=m?i(d):(d|32)===this.currentSequence[this.sequenceIndex];if(!l)this.isSpecial=!1;else if(!m){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=n.InTagName,this.stateInTagName(d)},s.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 l=this.index;this.index=m,this.cbs.ontext(this.sectionStart,m),this.index=l}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===c.TitleEnd?this.decodeEntities&&d===t.Amp&&(this.state=n.BeforeEntity):this.fastForwardTo(t.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(d===t.Lt)},s.prototype.stateCDATASequence=function(d){d===c.Cdata[this.sequenceIndex]?++this.sequenceIndex===c.Cdata.length&&(this.state=n.InCommentLike,this.currentSequence=c.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=n.InDeclaration,this.stateInDeclaration(d))},s.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},s.prototype.stateInCommentLike=function(d){d===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===c.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)},s.prototype.isTagStartChar=function(d){return this.xmlMode?!i(d):o(d)},s.prototype.startSpecial=function(d,m){this.isSpecial=!0,this.currentSequence=d,this.sequenceIndex=m,this.state=n.SpecialStartSequence},s.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===c.TitleEnd[2]?this.startSpecial(c.TitleEnd,3):this.state=!this.xmlMode&&m===c.ScriptEnd[2]?n.BeforeSpecialS:n.InTagName}else d===t.Slash?this.state=n.BeforeClosingTagName:(this.state=n.Text,this.stateText(d))},s.prototype.stateInTagName=function(d){i(d)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d))},s.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))},s.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))},s.prototype.stateAfterClosingTagName=function(d){(d===t.Gt||this.fastForwardTo(t.Gt))&&(this.state=n.Text,this.baseState=n.Text,this.sectionStart=this.index+1)},s.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)},s.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))},s.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))},s.prototype.stateAfterAttributeName=function(d){d===t.Eq?this.state=n.BeforeAttributeValue:d===t.Slash||d===t.Gt?(this.cbs.onattribend(f.NoValue,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d)):u(d)||(this.cbs.onattribend(f.NoValue,this.index),this.state=n.InAttributeName,this.sectionStart=this.index)},s.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))},s.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?f.Double:f.Single,this.index),this.state=n.BeforeAttributeName):this.decodeEntities&&d===t.Amp&&(this.baseState=this.state,this.state=n.BeforeEntity)},s.prototype.stateInAttributeValueDoubleQuotes=function(d){this.handleInAttributeValue(d,t.DoubleQuote)},s.prototype.stateInAttributeValueSingleQuotes=function(d){this.handleInAttributeValue(d,t.SingleQuote)},s.prototype.stateInAttributeValueNoQuotes=function(d){u(d)||d===t.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(f.Unquoted,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d)):this.decodeEntities&&d===t.Amp&&(this.baseState=this.state,this.state=n.BeforeEntity)},s.prototype.stateBeforeDeclaration=function(d){d===t.OpeningSquareBracket?(this.state=n.CDATASequence,this.sequenceIndex=0):this.state=d===t.Dash?n.BeforeComment:n.InDeclaration},s.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)},s.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)},s.prototype.stateBeforeComment=function(d){d===t.Dash?(this.state=n.InCommentLike,this.currentSequence=c.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=n.InDeclaration},s.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)},s.prototype.stateBeforeSpecialS=function(d){var m=d|32;m===c.ScriptEnd[3]?this.startSpecial(c.ScriptEnd,4):m===c.StyleEnd[3]?this.startSpecial(c.StyleEnd,4):(this.state=n.InTagName,this.stateInTagName(d))},s.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))},s.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 l=(m>>14)-1;if(!this.allowLegacyEntity()&&d!==t.Semi)this.trieIndex+=l;else{var b=this.index-this.entityExcess+1;b>this.sectionStart&&this.emitPartial(this.sectionStart,b),this.entityResult=this.trieIndex,this.trieIndex+=l,this.entityExcess=0,this.sectionStart=this.index+1,l===0&&this.emitNamedEntity()}}},s.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])}}},s.prototype.stateBeforeNumericEntity=function(d){(d|32)===t.LowerX?(this.entityExcess++,this.state=n.InHexEntity):(this.state=n.InNumericEntity,this.stateInNumericEntity(d))},s.prototype.emitNumericEntity=function(d){var m=this.index-this.entityExcess-1,l=m+2+ +(this.state===n.InHexEntity);l!==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},s.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--)},s.prototype.stateInHexEntity=function(d){d===t.Semi?this.emitNumericEntity(!0):a(d)?(this.entityResult=this.entityResult*16+(d-t.Zero),this.entityExcess++):h(d)?(this.entityResult=this.entityResult*16+((d|32)-t.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},s.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===n.Text||this.baseState===n.InSpecialTag)},s.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))},s.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},s.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()},s.prototype.finish=function(){this.state===n.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},s.prototype.handleTrailingData=function(){var d=this.buffer.length+this.offset;this.state===n.InCommentLike?this.currentSequence===c.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)},s.prototype.emitPartial=function(d,m){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?this.cbs.onattribdata(d,m):this.cbs.ontext(d,m)},s.prototype.emitCodePoint=function(d){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?this.cbs.onattribentity(d):this.cbs.ontextentity(d)},s}();e.default=p}(qi)),qi}var ws;function Ds(){if(ws)return er;ws=1;var e=er&&er.__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]}),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(vs()),u=Du(),i=new Set(["input","option","optgroup","select","button","datalist","textarea"]),a=new Set(["p"]),o=new Set(["thead","tbody"]),h=new Set(["dd","dt"]),f=new Set(["rt","rp"]),c=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",h],["dt",h],["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",f],["rp",f],["tbody",o],["tfoot",o]]),p=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),s=new Set(["math","svg"]),d=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),m=/\s|\//,l=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&&c.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),s.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 F=this.getSlice(g,w);if(this.lowerCaseTagNames&&(F=F.toLowerCase()),(s.has(F)||d.has(F))&&this.foreignContext.pop(),this.isVoidElement(F))!this.options.xmlMode&&F==="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(F);if(x!==-1)if(this.cbs.onclosetag)for(var T=this.stack.length-x;T--;)this.cbs.onclosetag(this.stack.pop(),T!==0);else this.stack.length=x;else!this.options.xmlMode&&F==="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,F,x,T,_,P;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),(F=(C=this.cbs).oncdataend)===null||F===void 0||F.call(C)):((T=(x=this.cbs).oncomment)===null||T===void 0||T.call(x,"[CDATA[".concat(B,"]]")),(P=(_=this.cbs).oncommentend)===null||P===void 0||P.call(_)),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 er.Parser=l,er}var Xr={},ji={},Es;function qn(){return Es||(Es=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}(ji)),ji}var xe={},xs;function As(){if(xs)return xe;xs=1;var e=xe&&xe.__extends||function(){var y=function(E,A){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,F){C.__proto__=F}||function(C,F){for(var x in F)Object.prototype.hasOwnProperty.call(F,x)&&(C[x]=F[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)}}(),r=xe&&xe.__assign||function(){return r=Object.assign||function(y){for(var E,A=1,C=arguments.length;A<C;A++){E=arguments[A];for(var F in E)Object.prototype.hasOwnProperty.call(E,F)&&(y[F]=E[F])}return y},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=qn(),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=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(y){e(E,y);function E(){var A=y!==null&&y.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 o=function(y){e(E,y);function E(A,C){var F=y.call(this,C)||this;return F.name=A,F.type=t.ElementType.Directive,F}return Object.defineProperty(E.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),E}(u);xe.ProcessingInstruction=o;var h=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=h;var f=function(y){e(E,y);function E(){var A=y!==null&&y.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}(h);xe.CDATA=f;var c=function(y){e(E,y);function E(){var A=y!==null&&y.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}(h);xe.Document=c;var p=function(y){e(E,y);function E(A,C,F,x){F===void 0&&(F=[]),x===void 0&&(x=A==="script"?t.ElementType.Script:A==="style"?t.ElementType.Style:t.ElementType.Tag);var T=y.call(this,F)||this;return T.name=A,T.attribs=C,T.type=x,T}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 F,x;return{name:C,value:A.attribs[C],namespace:(F=A["x-attribsNamespace"])===null||F===void 0?void 0:F[C],prefix:(x=A["x-attribsPrefix"])===null||x===void 0?void 0:x[C]}})},enumerable:!1,configurable:!0}),E}(h);xe.Element=p;function s(y){return(0,t.isTag)(y)}xe.isTag=s;function d(y){return y.type===t.ElementType.CDATA}xe.isCDATA=d;function m(y){return y.type===t.ElementType.Text}xe.isText=m;function l(y){return y.type===t.ElementType.Comment}xe.isComment=l;function b(y){return y.type===t.ElementType.Directive}xe.isDirective=b;function g(y){return y.type===t.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(l(y))A=new a(y.data);else if(s(y)){var C=E?D(y.children):[],F=new p(y.name,r({},y.attribs),C);C.forEach(function(P){return P.parent=F}),y.namespace!=null&&(F.namespace=y.namespace),y["x-attribsNamespace"]&&(F["x-attribsNamespace"]=r({},y["x-attribsNamespace"])),y["x-attribsPrefix"]&&(F["x-attribsPrefix"]=r({},y["x-attribsPrefix"])),A=F}else if(d(y)){var C=E?D(y.children):[],x=new f(C);C.forEach(function(B){return B.parent=x}),A=x}else if(g(y)){var C=E?D(y.children):[],T=new c(C);C.forEach(function(B){return B.parent=T}),y["x-mode"]&&(T["x-mode"]=y["x-mode"]),A=T}else if(b(y)){var _=new o(y.name,y.data);y["x-name"]!=null&&(_["x-name"]=y["x-name"],_["x-publicId"]=y["x-publicId"],_["x-systemId"]=y["x-systemId"]),A=_}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 Cs;function Mr(){return Cs||(Cs=1,function(e){var r=Xr&&Xr.__createBinding||(Object.create?function(o,h,f,c){c===void 0&&(c=f);var p=Object.getOwnPropertyDescriptor(h,f);(!p||("get"in p?!h.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return h[f]}}),Object.defineProperty(o,c,p)}:function(o,h,f,c){c===void 0&&(c=f),o[c]=h[f]}),t=Xr&&Xr.__exportStar||function(o,h){for(var f in o)f!=="default"&&!Object.prototype.hasOwnProperty.call(h,f)&&r(h,o,f)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var n=qn(),u=As();t(As(),e);var i={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},a=function(){function o(h,f,c){this.dom=[],this.root=new u.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof f=="function"&&(c=f,f=i),typeof h=="object"&&(f=h,h=void 0),this.callback=h??null,this.options=f??i,this.elementCB=c??null}return o.prototype.onparserinit=function(h){this.parser=h},o.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},o.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},o.prototype.onerror=function(h){this.handleCallback(h)},o.prototype.onclosetag=function(){this.lastNode=null;var h=this.tagStack.pop();this.options.withEndIndices&&(h.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(h)},o.prototype.onopentag=function(h,f){var c=this.options.xmlMode?n.ElementType.Tag:void 0,p=new u.Element(h,f,void 0,c);this.addNode(p),this.tagStack.push(p)},o.prototype.ontext=function(h){var f=this.lastNode;if(f&&f.type===n.ElementType.Text)f.data+=h,this.options.withEndIndices&&(f.endIndex=this.parser.endIndex);else{var c=new u.Text(h);this.addNode(c),this.lastNode=c}},o.prototype.oncomment=function(h){if(this.lastNode&&this.lastNode.type===n.ElementType.Comment){this.lastNode.data+=h;return}var f=new u.Comment(h);this.addNode(f),this.lastNode=f},o.prototype.oncommentend=function(){this.lastNode=null},o.prototype.oncdatastart=function(){var h=new u.Text(""),f=new u.CDATA([h]);this.addNode(f),h.parent=f,this.lastNode=h},o.prototype.oncdataend=function(){this.lastNode=null},o.prototype.onprocessinginstruction=function(h,f){var c=new u.ProcessingInstruction(h,f);this.addNode(c)},o.prototype.handleCallback=function(h){if(typeof this.callback=="function")this.callback(h,this.dom);else if(h)throw h},o.prototype.addNode=function(h){var f=this.tagStack[this.tagStack.length-1],c=f.children[f.children.length-1];this.options.withStartIndices&&(h.startIndex=this.parser.startIndex),this.options.withEndIndices&&(h.endIndex=this.parser.endIndex),f.children.push(h),c&&(h.prev=c,c.next=h),h.parent=f,this.lastNode=null},o}();e.DomHandler=a,e.default=a}(Xr)),Xr}var Qr={},fr={},Bt={},zi={},Dr={},Eu={},Ts;function Zh(){if(Ts)return Eu;Ts=1,Object.defineProperty(Eu,"__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 Eu.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"]])),Eu}var Hi={},Ss;function Ui(){return Ss||(Ss=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,o;(o=e.xmlReplacer.exec(u))!==null;){var h=o.index,f=u.charCodeAt(h),c=r.get(f);c!==void 0?(i+=u.substring(a,h)+c,a=h+1):(i+="".concat(u.substring(a,h),"&#x").concat((0,e.getCodePoint)(u,h).toString(16),";"),a=e.xmlReplacer.lastIndex+=+((f&64512)===55296))}return i+u.substr(a)}e.encodeXML=t,e.escape=t;function n(u,i){return function(o){for(var h,f=0,c="";h=u.exec(o);)f!==h.index&&(c+=o.substring(f,h.index)),c+=i.get(h[0].charCodeAt(0)),f=h.index+1;return c+o.substring(f)}}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," "]]))}(Hi)),Hi}var Fs;function _s(){if(Fs)return Dr;Fs=1;var e=Dr&&Dr.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Dr,"__esModule",{value:!0}),Dr.encodeNonAsciiHTML=Dr.encodeHTML=void 0;var r=e(Zh()),t=Ui(),n=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function u(o){return a(n,o)}Dr.encodeHTML=u;function i(o){return a(t.xmlReplacer,o)}Dr.encodeNonAsciiHTML=i;function a(o,h){for(var f="",c=0,p;(p=o.exec(h))!==null;){var s=p.index;f+=h.substring(c,s);var d=h.charCodeAt(s),m=r.default.get(d);if(typeof m=="object"){if(s+1<h.length){var l=h.charCodeAt(s+1),b=typeof m.n=="number"?m.n===l?m.o:void 0:m.n.get(l);if(b!==void 0){f+=b,c=o.lastIndex+=1;continue}}m=m.v}if(m!==void 0)f+=m,c=s+1;else{var g=(0,t.getCodePoint)(h,s);f+="&#x".concat(g.toString(16),";"),c=o.lastIndex+=+(g!==d)}}return f+h.substr(c)}return Dr}var Os;function Jh(){return Os||(Os=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=Du(),t=_s(),n=Ui(),u;(function(s){s[s.XML=0]="XML",s[s.HTML=1]="HTML"})(u=e.EntityLevel||(e.EntityLevel={}));var i;(function(s){s[s.UTF8=0]="UTF8",s[s.ASCII=1]="ASCII",s[s.Extensive=2]="Extensive",s[s.Attribute=3]="Attribute",s[s.Text=4]="Text"})(i=e.EncodingMode||(e.EncodingMode={}));function a(s,d){d===void 0&&(d=u.XML);var m=typeof d=="number"?d:d.level;if(m===u.HTML){var l=typeof d=="object"?d.mode:void 0;return(0,r.decodeHTML)(s,l)}return(0,r.decodeXML)(s)}e.decode=a;function o(s,d){var m;d===void 0&&(d=u.XML);var l=typeof d=="number"?{level:d}:d;return(m=l.mode)!==null&&m!==void 0||(l.mode=r.DecodingMode.Strict),a(s,l)}e.decodeStrict=o;function h(s,d){d===void 0&&(d=u.XML);var m=typeof d=="number"?{level:d}:d;return m.mode===i.UTF8?(0,n.escapeUTF8)(s):m.mode===i.Attribute?(0,n.escapeAttribute)(s):m.mode===i.Text?(0,n.escapeText)(s):m.level===u.HTML?m.mode===i.ASCII?(0,t.encodeNonAsciiHTML)(s):(0,t.encodeHTML)(s):(0,n.encodeXML)(s)}e.encode=h;var f=Ui();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return f.encodeXML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return f.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return f.escapeUTF8}}),Object.defineProperty(e,"escapeAttribute",{enumerable:!0,get:function(){return f.escapeAttribute}}),Object.defineProperty(e,"escapeText",{enumerable:!0,get:function(){return f.escapeText}});var c=_s();Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return c.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return c.encodeNonAsciiHTML}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return c.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return c.encodeHTML}});var p=Du();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}})}(zi)),zi}var Zr={},Ns;function Kh(){return Ns||(Ns=1,Object.defineProperty(Zr,"__esModule",{value:!0}),Zr.attributeNames=Zr.elementNames=void 0,Zr.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]})),Zr.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]}))),Zr}var Ms;function e1(){if(Ms)return Bt;Ms=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)},r=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]}),t=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)&&r(y,D,E);return t(y,D),y};Object.defineProperty(Bt,"__esModule",{value:!0}),Bt.render=void 0;var u=n(qn()),i=Jh(),a=Kh(),o=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function h(D){return D.replace(/"/g,""")}function f(D,y){var E;if(D){var A=((E=y.encodeEntities)!==null&&E!==void 0?E:y.decodeEntities)===!1?h:y.xmlMode||y.encodeEntities!=="utf8"?i.encodeXML:i.escapeAttribute;return Object.keys(D).map(function(C){var F,x,T=(F=D[C])!==null&&F!==void 0?F:"";return y.xmlMode==="foreign"&&(C=(x=a.attributeNames.get(C))!==null&&x!==void 0?x:C),!y.emptyAttrs&&!y.xmlMode&&T===""?C:"".concat(C,'="').concat(A(T),'"')}).join(" ")}}var c=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+=s(E[C],y);return A}Bt.render=p,Bt.default=p;function s(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 l(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 l(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=f(D.attribs,y);return C&&(A+=" ".concat(C)),D.children.length===0&&(y.xmlMode?y.selfClosingTags!==!1:y.selfClosingTags&&c.has(D.name))?(y.xmlMode||(A+=" "),A+="/>"):(A+=">",D.children.length>0&&(A+=p(D.children,y)),(y.xmlMode||!c.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&&o.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 Ps;function Bs(){if(Ps)return fr;Ps=1;var e=fr&&fr.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(fr,"__esModule",{value:!0}),fr.getOuterHTML=u,fr.getInnerHTML=i,fr.getText=a,fr.textContent=o,fr.innerText=h;var r=Mr(),t=e(e1()),n=qn();function u(f,c){return(0,t.default)(f,c)}function i(f,c){return(0,r.hasChildren)(f)?f.children.map(function(p){return u(p,c)}).join(""):""}function a(f){return Array.isArray(f)?f.map(a).join(""):(0,r.isTag)(f)?f.name==="br"?`
|
|
31
|
-
`:a(f.children):(0,r.isCDATA)(f)?a(f.children):(0,r.isText)(f)?f.data:""}function o(f){return Array.isArray(f)?f.map(o).join(""):(0,r.hasChildren)(f)&&!(0,r.isComment)(f)?o(f.children):(0,r.isText)(f)?f.data:""}function h(f){return Array.isArray(f)?f.map(h).join(""):(0,r.hasChildren)(f)&&(f.type===n.ElementType.Tag||(0,r.isCDATA)(f))?h(f.children):(0,r.isText)(f)?f.data:""}return fr}var rr={},Is;function t1(){if(Is)return rr;Is=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=o,rr.prevElementSibling=h;var e=Mr();function r(f){return(0,e.hasChildren)(f)?f.children:[]}function t(f){return f.parent||null}function n(f){var c,p,s=t(f);if(s!=null)return r(s);for(var d=[f],m=f.prev,l=f.next;m!=null;)d.unshift(m),c=m,m=c.prev;for(;l!=null;)d.push(l),p=l,l=p.next;return d}function u(f,c){var p;return(p=f.attribs)===null||p===void 0?void 0:p[c]}function i(f,c){return f.attribs!=null&&Object.prototype.hasOwnProperty.call(f.attribs,c)&&f.attribs[c]!=null}function a(f){return f.name}function o(f){for(var c,p=f.next;p!==null&&!(0,e.isTag)(p);)c=p,p=c.next;return p}function h(f){for(var c,p=f.prev;p!==null&&!(0,e.isTag)(p);)c=p,p=c.prev;return p}return rr}var Er={},Rs;function r1(){if(Rs)return Er;Rs=1,Object.defineProperty(Er,"__esModule",{value:!0}),Er.removeElement=e,Er.replaceElement=r,Er.appendChild=t,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 o=a.parent.children,h=o.lastIndexOf(a);h>=0&&o.splice(h,1)}a.next=null,a.prev=null,a.parent=null}function r(a,o){var h=o.prev=a.prev;h&&(h.next=o);var f=o.next=a.next;f&&(f.prev=o);var c=o.parent=a.parent;if(c){var p=c.children;p[p.lastIndexOf(a)]=o,a.parent=null}}function t(a,o){if(e(o),o.next=null,o.parent=a,a.children.push(o)>1){var h=a.children[a.children.length-2];h.next=o,o.prev=h}else o.prev=null}function n(a,o){e(o);var h=a.parent,f=a.next;if(o.next=f,o.prev=a,a.next=o,o.parent=h,f){if(f.prev=o,h){var c=h.children;c.splice(c.lastIndexOf(f),0,o)}}else h&&h.children.push(o)}function u(a,o){if(e(o),o.parent=a,o.prev=null,a.children.unshift(o)!==1){var h=a.children[1];h.prev=o,o.next=h}else o.next=null}function i(a,o){e(o);var h=a.parent;if(h){var f=h.children;f.splice(f.indexOf(a),0,o)}a.prev&&(a.prev.next=o),o.parent=h,o.prev=a.prev,o.next=a,a.prev=o}return Er}var xr={},ks;function Ls(){if(ks)return xr;ks=1,Object.defineProperty(xr,"__esModule",{value:!0}),xr.filter=r,xr.find=t,xr.findOneChild=n,xr.findOne=u,xr.existsOne=i,xr.findAll=a;var e=Mr();function r(o,h,f,c){return f===void 0&&(f=!0),c===void 0&&(c=1/0),t(o,Array.isArray(h)?h:[h],f,c)}function t(o,h,f,c){for(var p=[],s=[Array.isArray(h)?h:[h]],d=[0];;){if(d[0]>=s[0].length){if(d.length===1)return p;s.shift(),d.shift();continue}var m=s[0][d[0]++];if(o(m)&&(p.push(m),--c<=0))return p;f&&(0,e.hasChildren)(m)&&m.children.length>0&&(d.unshift(0),s.unshift(m.children))}}function n(o,h){return h.find(o)}function u(o,h,f){f===void 0&&(f=!0);for(var c=Array.isArray(h)?h:[h],p=0;p<c.length;p++){var s=c[p];if((0,e.isTag)(s)&&o(s))return s;if(f&&(0,e.hasChildren)(s)&&s.children.length>0){var d=u(o,s.children,!0);if(d)return d}}return null}function i(o,h){return(Array.isArray(h)?h:[h]).some(function(f){return(0,e.isTag)(f)&&o(f)||(0,e.hasChildren)(f)&&i(o,f.children)})}function a(o,h){for(var f=[],c=[Array.isArray(h)?h:[h]],p=[0];;){if(p[0]>=c[0].length){if(c.length===1)return f;c.shift(),p.shift();continue}var s=c[0][p[0]++];(0,e.isTag)(s)&&o(s)&&f.push(s),(0,e.hasChildren)(s)&&s.children.length>0&&(p.unshift(0),c.unshift(s.children))}}return xr}var Ar={},qs;function $s(){if(qs)return Ar;qs=1,Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.testElement=a,Ar.getElements=o,Ar.getElementById=h,Ar.getElementsByTagName=f,Ar.getElementsByClassName=c,Ar.getElementsByTagType=p;var e=Mr(),r=Ls(),t={tag_name:function(s){return typeof s=="function"?function(d){return(0,e.isTag)(d)&&s(d.name)}:s==="*"?e.isTag:function(d){return(0,e.isTag)(d)&&d.name===s}},tag_type:function(s){return typeof s=="function"?function(d){return s(d.type)}:function(d){return d.type===s}},tag_contains:function(s){return typeof s=="function"?function(d){return(0,e.isText)(d)&&s(d.data)}:function(d){return(0,e.isText)(d)&&d.data===s}}};function n(s,d){return typeof d=="function"?function(m){return(0,e.isTag)(m)&&d(m.attribs[s])}:function(m){return(0,e.isTag)(m)&&m.attribs[s]===d}}function u(s,d){return function(m){return s(m)||d(m)}}function i(s){var d=Object.keys(s).map(function(m){var l=s[m];return Object.prototype.hasOwnProperty.call(t,m)?t[m](l):n(m,l)});return d.length===0?null:d.reduce(u)}function a(s,d){var m=i(s);return m?m(d):!0}function o(s,d,m,l){l===void 0&&(l=1/0);var b=i(s);return b?(0,r.filter)(b,d,m,l):[]}function h(s,d,m){return m===void 0&&(m=!0),Array.isArray(d)||(d=[d]),(0,r.findOne)(n("id",s),d,m)}function f(s,d,m,l){return m===void 0&&(m=!0),l===void 0&&(l=1/0),(0,r.filter)(t.tag_name(s),d,m,l)}function c(s,d,m,l){return m===void 0&&(m=!0),l===void 0&&(l=1/0),(0,r.filter)(n("class",s),d,m,l)}function p(s,d,m,l){return m===void 0&&(m=!0),l===void 0&&(l=1/0),(0,r.filter)(t.tag_type(s),d,m,l)}return Ar}var Pr={},js;function n1(){if(js)return Pr;js=1,Object.defineProperty(Pr,"__esModule",{value:!0}),Pr.DocumentPosition=void 0,Pr.removeSubsets=r,Pr.compareDocumentPosition=n,Pr.uniqueSort=u;var e=Mr();function r(i){for(var a=i.length;--a>=0;){var o=i[a];if(a>0&&i.lastIndexOf(o,a-1)>=0){i.splice(a,1);continue}for(var h=o.parent;h;h=h.parent)if(i.includes(h)){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||(Pr.DocumentPosition=t={}));function n(i,a){var o=[],h=[];if(i===a)return 0;for(var f=(0,e.hasChildren)(i)?i:i.parent;f;)o.unshift(f),f=f.parent;for(f=(0,e.hasChildren)(a)?a:a.parent;f;)h.unshift(f),f=f.parent;for(var c=Math.min(o.length,h.length),p=0;p<c&&o[p]===h[p];)p++;if(p===0)return t.DISCONNECTED;var s=o[p-1],d=s.children,m=o[p],l=h[p];return d.indexOf(m)>d.indexOf(l)?s===a?t.FOLLOWING|t.CONTAINED_BY:t.FOLLOWING:s===i?t.PRECEDING|t.CONTAINS:t.PRECEDING}function u(i){return i=i.filter(function(a,o,h){return!h.includes(a,o+1)}),i.sort(function(a,o){var h=n(a,o);return h&t.PRECEDING?-1:h&t.FOLLOWING?1:0}),i}return Pr}var xu={},zs;function u1(){if(zs)return xu;zs=1,Object.defineProperty(xu,"__esModule",{value:!0}),xu.getFeed=t;var e=Bs(),r=$s();function t(s){var d=h(p,s);return d?d.name==="feed"?n(d):u(d):null}function n(s){var d,m=s.children,l={type:"atom",items:(0,r.getElementsByTagName)("entry",m).map(function(w){var v,D=w.children,y={media:o(D)};c(y,"id","id",D),c(y,"title","title",D);var E=(v=h("link",D))===null||v===void 0?void 0:v.attribs.href;E&&(y.link=E);var A=f("summary",D)||f("content",D);A&&(y.description=A);var C=f("updated",D);return C&&(y.pubDate=new Date(C)),y})};c(l,"id","id",m),c(l,"title","title",m);var b=(d=h("link",m))===null||d===void 0?void 0:d.attribs.href;b&&(l.link=b),c(l,"description","subtitle",m);var g=f("updated",m);return g&&(l.updated=new Date(g)),c(l,"author","email",m,!0),l}function u(s){var d,m,l=(m=(d=h("channel",s.children))===null||d===void 0?void 0:d.children)!==null&&m!==void 0?m:[],b={type:s.name.substr(0,3),id:"",items:(0,r.getElementsByTagName)("item",s.children).map(function(w){var v=w.children,D={media:o(v)};c(D,"id","guid",v),c(D,"title","title",v),c(D,"link","link",v),c(D,"description","description",v);var y=f("pubDate",v)||f("dc:date",v);return y&&(D.pubDate=new Date(y)),D})};c(b,"title","title",l),c(b,"link","link",l),c(b,"description","description",l);var g=f("lastBuildDate",l);return g&&(b.updated=new Date(g)),c(b,"author","managingEditor",l,!0),b}var i=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function o(s){return(0,r.getElementsByTagName)("media:content",s).map(function(d){for(var m=d.attribs,l={medium:m.medium,isDefault:!!m.isDefault},b=0,g=i;b<g.length;b++){var w=g[b];m[w]&&(l[w]=m[w])}for(var v=0,D=a;v<D.length;v++){var w=D[v];m[w]&&(l[w]=parseInt(m[w],10))}return m.expression&&(l.expression=m.expression),l})}function h(s,d){return(0,r.getElementsByTagName)(s,d,!0,1)[0]}function f(s,d,m){return m===void 0&&(m=!1),(0,e.textContent)((0,r.getElementsByTagName)(s,d,m,1)).trim()}function c(s,d,m,l,b){b===void 0&&(b=!1);var g=f(m,l,b);g&&(s[d]=g)}function p(s){return s==="rss"||s==="feed"||s==="rdf:RDF"}return xu}var Hs;function Vi(){return Hs||(Hs=1,function(e){var r=Qr&&Qr.__createBinding||(Object.create?function(u,i,a,o){o===void 0&&(o=a);var h=Object.getOwnPropertyDescriptor(i,a);(!h||("get"in h?!i.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return i[a]}}),Object.defineProperty(u,o,h)}:function(u,i,a,o){o===void 0&&(o=a),u[o]=i[a]}),t=Qr&&Qr.__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(Bs(),e),t(t1(),e),t(r1(),e),t(Ls(),e),t($s(),e),t(n1(),e),t(u1(),e);var n=Mr();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 Us;function i1(){return Us||(Us=1,function(e){var r=Kt&&Kt.__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]}),t=Kt&&Kt.__setModuleDefault||(Object.create?function(g,w){Object.defineProperty(g,"default",{enumerable:!0,value:w})}:function(g,w){g.default=w}),n=Kt&&Kt.__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)&&r(w,g,v);return t(w,g),w},u=Kt&&Kt.__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=Ds(),a=Ds();Object.defineProperty(e,"Parser",{enumerable:!0,get:function(){return a.Parser}});var o=Mr(),h=Mr();Object.defineProperty(e,"DomHandler",{enumerable:!0,get:function(){return h.DomHandler}}),Object.defineProperty(e,"DefaultHandler",{enumerable:!0,get:function(){return h.DomHandler}});function f(g,w){var v=new o.DomHandler(void 0,w);return new i.Parser(v,w).end(g),v.root}e.parseDocument=f;function c(g,w){return f(g,w).children}e.parseDOM=c;function p(g,w,v){var D=new o.DomHandler(g,w,v);return new i.Parser(D,w)}e.createDomStream=p;var s=vs();Object.defineProperty(e,"Tokenizer",{enumerable:!0,get:function(){return u(s).default}}),e.ElementType=n(qn());var d=Vi(),m=Vi();Object.defineProperty(e,"getFeed",{enumerable:!0,get:function(){return m.getFeed}});var l={xmlMode:!0};function b(g,w){return w===void 0&&(w=l),(0,d.getFeed)(c(g,w))}e.parseFeed=b,e.DomUtils=n(Vi())}(Kt)),Kt}var Wi,Vs;function a1(){return Vs||(Vs=1,Wi=e=>{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),Wi}var Au={},Ws;function o1(){if(Ws)return Au;Ws=1,Object.defineProperty(Au,"__esModule",{value:!0});/*!
|
|
30
|
+
<%s key={someKey} {...props} />`,du,Ce,Nn,Ce),_i[Ce+du]=!0}}return O===n?Bs(dt):Ps(dt),dt}}function Is(O,G,ue){return Oi(O,G,ue,!0)}function Rs(O,G,ue){return Oi(O,G,ue,!1)}var ks=Rs,Ls=Is;Pn.Fragment=n,Pn.jsx=ks,Pn.jsxs=Ls}()),Pn}var js;function xf(){return js||(js=1,process.env.NODE_ENV==="production"?hu.exports=Df():hu.exports=Ef()),hu.exports}var K=xf();const zs=6048e5,Af=864e5,Hs=6e4,Us=36e5,Cf=1e3,Vs=Symbol.for("constructDateFrom");function Je(e,r){return typeof e=="function"?e(r):e&&typeof e=="object"&&Vs in e?e[Vs](r):e instanceof Date?new e.constructor(r):new Date(r)}function pe(e,r){return Je(r||e,e)}function Ur(e,r,t){const n=pe(e,t==null?void 0:t.in);return isNaN(r)?Je((t==null?void 0:t.in)||e,NaN):(r&&n.setDate(n.getDate()+r),n)}function pu(e,r,t){const n=pe(e,t==null?void 0:t.in);if(isNaN(r))return Je(e,NaN);if(!r)return n;const u=n.getDate(),i=Je(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 Tf(e,r,t){const{years:n=0,months:u=0,weeks:i=0,days:a=0,hours:s=0,minutes:h=0,seconds:c=0}=r,l=pe(e,t==null?void 0:t.in),p=u||n?pu(l,u+n*12):l,o=a||i?Ur(p,a+i*7):p,f=h+s*60,d=(c+f*60)*1e3;return Je(e,+o+d)}function Ws(e,r,t){return Je(e,+pe(e)+r)}function Sf(e,r,t){return Ws(e,r*Us)}let Ff={};function Vr(){return Ff}function wr(e,r){var s,h,c,l;const t=Vr(),n=(r==null?void 0:r.weekStartsOn)??((h=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:h.weekStartsOn)??t.weekStartsOn??((l=(c=t.locale)==null?void 0:c.options)==null?void 0:l.weekStartsOn)??0,u=pe(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 on(e,r){return wr(e,{...r,weekStartsOn:1})}function Ys(e,r){const t=pe(e,r==null?void 0:r.in),n=t.getFullYear(),u=Je(t,0);u.setFullYear(n+1,0,4),u.setHours(0,0,0,0);const i=on(u),a=Je(t,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);const s=on(a);return t.getTime()>=i.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}function mu(e){const r=pe(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 Bn(e,...r){const t=Je.bind(null,r.find(n=>typeof n=="object"));return r.map(t)}function Wr(e,r){const t=pe(e,r==null?void 0:r.in);return t.setHours(0,0,0,0),t}function _f(e,r,t){const[n,u]=Bn(t==null?void 0:t.in,e,r),i=Wr(n),a=Wr(u),s=+i-mu(i),h=+a-mu(a);return Math.round((s-h)/Af)}function Of(e,r){const t=Ys(e,r),n=Je(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),on(n)}function Nf(e,r,t){const n=pe(e,t==null?void 0:t.in);return n.setTime(n.getTime()+r*Hs),n}function Mf(e,r,t){return Ws(e,r*1e3)}function Pf(e,r,t){return Ur(e,r*7,t)}function Bf(e,r,t){return pu(e,r*12,t)}function If(e,r,t){const[n,u]=Bn(t==null?void 0:t.in,e,r);return+Wr(n)==+Wr(u)}function Rf(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Gs(e){return!(!Rf(e)&&typeof e!="number"||isNaN(+pe(e)))}function Xs(e,r){const t=pe(e,r==null?void 0:r.in);return t.setHours(23,59,59,999),t}function kf(e,r){const t=pe(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 Lf(e,r){const t=pe(e,r==null?void 0:r.in);return t.setDate(1),t.setHours(0,0,0,0),t}function Qs(e,r){const t=pe(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 Zs(e,r){const t=pe(e,r==null?void 0:r.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}function qf(e,r){var s,h,c,l;const t=Vr(),n=(r==null?void 0:r.weekStartsOn)??((h=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:h.weekStartsOn)??t.weekStartsOn??((l=(c=t.locale)==null?void 0:c.options)==null?void 0:l.weekStartsOn)??0,u=pe(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 $f={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"}},jf=(e,r,t)=>{let n;const u=$f[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 Mi(e){return(r={})=>{const t=r.width?String(r.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const zf={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Hf={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Uf={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Vf={date:Mi({formats:zf,defaultWidth:"full"}),time:Mi({formats:Hf,defaultWidth:"full"}),dateTime:Mi({formats:Uf,defaultWidth:"full"})},Wf={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Yf=(e,r,t,n)=>Wf[e];function In(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 Gf={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Xf={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Qf={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"]},Zf={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"]},Jf={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"}},Kf={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"}},ed={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:In({values:Gf,defaultWidth:"wide"}),quarter:In({values:Xf,defaultWidth:"wide",argumentCallback:e=>e-1}),month:In({values:Qf,defaultWidth:"wide"}),day:In({values:Zf,defaultWidth:"wide"}),dayPeriod:In({values:Jf,defaultWidth:"wide",formattingValues:Kf,defaultFormattingWidth:"wide"})};function Rn(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],h=Array.isArray(s)?rd(s,p=>p.test(a)):td(s,p=>p.test(a));let c;c=e.valueCallback?e.valueCallback(h):h,c=t.valueCallback?t.valueCallback(c):c;const l=r.slice(a.length);return{value:c,rest:l}}}function td(e,r){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&r(e[t]))return t}function rd(e,r){for(let t=0;t<e.length;t++)if(r(e[t]))return t}function nd(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 ud=/^(\d+)(th|st|nd|rd)?/i,id=/\d+/i,ad={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},sd={any:[/^b/i,/^(a|c)/i]},od={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},cd={any:[/1/i,/2/i,/3/i,/4/i]},ld={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},fd={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]},dd={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},hd={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]},pd={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},md={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}},gd={ordinalNumber:nd({matchPattern:ud,parsePattern:id,valueCallback:e=>parseInt(e,10)}),era:Rn({matchPatterns:ad,defaultMatchWidth:"wide",parsePatterns:sd,defaultParseWidth:"any"}),quarter:Rn({matchPatterns:od,defaultMatchWidth:"wide",parsePatterns:cd,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Rn({matchPatterns:ld,defaultMatchWidth:"wide",parsePatterns:fd,defaultParseWidth:"any"}),day:Rn({matchPatterns:dd,defaultMatchWidth:"wide",parsePatterns:hd,defaultParseWidth:"any"}),dayPeriod:Rn({matchPatterns:pd,defaultMatchWidth:"any",parsePatterns:md,defaultParseWidth:"any"})},Pi={code:"en-US",formatDistance:jf,formatLong:Vf,formatRelative:Yf,localize:ed,match:gd,options:{weekStartsOn:0,firstWeekContainsDate:1}};function bd(e,r){const t=pe(e,r==null?void 0:r.in);return _f(t,Zs(t))+1}function Js(e,r){const t=pe(e,r==null?void 0:r.in),n=+on(t)-+Of(t);return Math.round(n/zs)+1}function Bi(e,r){var l,p,o,f;const t=pe(e,r==null?void 0:r.in),n=t.getFullYear(),u=Vr(),i=(r==null?void 0:r.firstWeekContainsDate)??((p=(l=r==null?void 0:r.locale)==null?void 0:l.options)==null?void 0:p.firstWeekContainsDate)??u.firstWeekContainsDate??((f=(o=u.locale)==null?void 0:o.options)==null?void 0:f.firstWeekContainsDate)??1,a=Je((r==null?void 0:r.in)||e,0);a.setFullYear(n+1,0,i),a.setHours(0,0,0,0);const s=wr(a,r),h=Je((r==null?void 0:r.in)||e,0);h.setFullYear(n,0,i),h.setHours(0,0,0,0);const c=wr(h,r);return+t>=+s?n+1:+t>=+c?n:n-1}function yd(e,r){var s,h,c,l;const t=Vr(),n=(r==null?void 0:r.firstWeekContainsDate)??((h=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:h.firstWeekContainsDate)??t.firstWeekContainsDate??((l=(c=t.locale)==null?void 0:c.options)==null?void 0:l.firstWeekContainsDate)??1,u=Bi(e,r),i=Je((r==null?void 0:r.in)||e,0);return i.setFullYear(u,0,n),i.setHours(0,0,0,0),wr(i,r)}function Ii(e,r){const t=pe(e,r==null?void 0:r.in),n=+wr(t,r)-+yd(t,r);return Math.round(n/zs)+1}function ze(e,r){const t=e<0?"-":"",n=Math.abs(e).toString().padStart(r,"0");return t+n}const Nr={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)}},cn={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ks={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 Nr.y(e,r)},Y:function(e,r,t,n){const u=Bi(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=Ys(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 Nr.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=Ii(e,n);return r==="wo"?t.ordinalNumber(u,{unit:"week"}):ze(u,r.length)},I:function(e,r,t){const n=Js(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"}):Nr.d(e,r)},D:function(e,r,t){const n=bd(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=cn.noon:n===0?u=cn.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=cn.evening:n>=12?u=cn.afternoon:n>=4?u=cn.morning:u=cn.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 Nr.h(e,r)},H:function(e,r,t){return r==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):Nr.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"}):Nr.m(e,r)},s:function(e,r,t){return r==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):Nr.s(e,r)},S:function(e,r){return Nr.S(e,r)},X:function(e,r,t){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(r){case"X":return to(n);case"XXXX":case"XX":return Yr(n);case"XXXXX":case"XXX":default:return Yr(n,":")}},x:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"x":return to(n);case"xxxx":case"xx":return Yr(n);case"xxxxx":case"xxx":default:return Yr(n,":")}},O:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+eo(n,":");case"OOOO":default:return"GMT"+Yr(n,":")}},z:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+eo(n,":");case"zzzz":default:return"GMT"+Yr(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 eo(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 to(e,r){return e%60===0?(e>0?"-":"+")+ze(Math.abs(e)/60,2):Yr(e,r)}function Yr(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 ro=(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"})}},no=(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"})}},kn={p:no,P:(e,r)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],u=t[2];if(!u)return ro(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}}",ro(n,r)).replace("{{time}}",no(u,r))}},vd=/^D+$/,wd=/^Y+$/,Dd=["D","DD","YY","YYYY"];function uo(e){return vd.test(e)}function io(e){return wd.test(e)}function Ri(e,r,t){const n=Ed(e,r,t);if(console.warn(n),Dd.includes(e))throw new RangeError(n)}function Ed(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 xd=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ad=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Cd=/^'([^]*?)'?$/,Td=/''/g,Sd=/[a-zA-Z]/;function ki(e,r,t){var l,p,o,f,m,d,b,g;const n=Vr(),u=(t==null?void 0:t.locale)??n.locale??Pi,i=(t==null?void 0:t.firstWeekContainsDate)??((p=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:p.firstWeekContainsDate)??n.firstWeekContainsDate??((f=(o=n.locale)==null?void 0:o.options)==null?void 0:f.firstWeekContainsDate)??1,a=(t==null?void 0:t.weekStartsOn)??((d=(m=t==null?void 0:t.locale)==null?void 0:m.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((g=(b=n.locale)==null?void 0:b.options)==null?void 0:g.weekStartsOn)??0,s=pe(e,t==null?void 0:t.in);if(!Gs(s))throw new RangeError("Invalid time value");let h=r.match(Ad).map(w=>{const v=w[0];if(v==="p"||v==="P"){const D=kn[v];return D(w,u.formatLong)}return w}).join("").match(xd).map(w=>{if(w==="''")return{isToken:!1,value:"'"};const v=w[0];if(v==="'")return{isToken:!1,value:Fd(w)};if(Ks[v])return{isToken:!0,value:w};if(v.match(Sd))throw new RangeError("Format string contains an unescaped latin alphabet character `"+v+"`");return{isToken:!1,value:w}});u.localize.preprocessor&&(h=u.localize.preprocessor(s,h));const c={firstWeekContainsDate:i,weekStartsOn:a,locale:u};return h.map(w=>{if(!w.isToken)return w.value;const v=w.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&io(v)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&uo(v))&&Ri(v,r,String(e));const D=Ks[v[0]];return D(s,v,u.localize,c)}).join("")}function Fd(e){const r=e.match(Cd);return r?r[1].replace(Td,"'"):e}function _d(e,r){return pe(e,r==null?void 0:r.in).getDate()}function ao(e,r){const t=pe(e,r==null?void 0:r.in),n=t.getFullYear(),u=t.getMonth(),i=Je(t,0);return i.setFullYear(n,u+1,0),i.setHours(0,0,0,0),i.getDate()}function Od(){return Object.assign({},Vr())}function Nd(e,r){return pe(e,r==null?void 0:r.in).getHours()}function Md(e,r){const t=pe(e,r==null?void 0:r.in).getDay();return t===0?7:t}function Pd(e){return pe(e).getMilliseconds()}function Bd(e,r){return pe(e,r==null?void 0:r.in).getMinutes()}function Id(e,r){return pe(e,r==null?void 0:r.in).getMonth()}function Rd(e){return pe(e).getSeconds()}function kd(e,r){return pe(e,r==null?void 0:r.in).getFullYear()}function gu(e,r){return+pe(e)>+pe(r)}function bu(e,r){return+pe(e)<+pe(r)}function Ld(e,r){return+pe(e)==+pe(r)}function qd(e,r){const t=$d(r)?new r(0):Je(r,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}function $d(e){var r;return typeof e=="function"&&((r=e.prototype)==null?void 0:r.constructor)===e}const jd=10;class so{constructor(){ae(this,"subPriority",0)}validate(r,t){return!0}}class zd extends so{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 Hd extends so{constructor(t,n){super();ae(this,"priority",jd);ae(this,"subPriority",-1);this.context=t||(u=>Je(n,u))}set(t,n){return n.timestampIsSet?t:Je(t,qd(t,this.context))}}let Me=class{run(r,t,n,u){const i=this.parse(r,t,n,u);return i?{setter:new zd(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(r,t,n){return!0}};class Ud extends Me{constructor(){super(...arguments);ae(this,"priority",140);ae(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 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}/},or={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,r){return e&&{value:r(e.value),rest:e.rest}}function ut(e,r){const t=r.match(e);return t?{value:parseInt(t[0],10),rest:r.slice(t[0].length)}:null}function cr(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*Us+i*Hs+a*Cf),rest:r.slice(t[0].length)}}function oo(e){return ut(ht.anyDigitsSigned,e)}function st(e,r){switch(e){case 1:return ut(ht.singleDigit,r);case 2:return ut(ht.twoDigits,r);case 3:return ut(ht.threeDigits,r);case 4:return ut(ht.fourDigits,r);default:return ut(new RegExp("^\\d{1,"+e+"}"),r)}}function yu(e,r){switch(e){case 1:return ut(ht.singleDigitSigned,r);case 2:return ut(ht.twoDigitsSigned,r);case 3:return ut(ht.threeDigitsSigned,r);case 4:return ut(ht.fourDigitsSigned,r);default:return ut(new RegExp("^-?\\d{1,"+e+"}"),r)}}function Li(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 co(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 lo(e){return e%400===0||e%4===0&&e%100!==0}class Vd extends Me{constructor(){super(...arguments);ae(this,"priority",130);ae(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 pt(st(4,t),i);case"yo":return pt(u.ordinalNumber(t,{unit:"year"}),i);default:return pt(st(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=co(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 Wd extends Me{constructor(){super(...arguments);ae(this,"priority",130);ae(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 pt(st(4,t),i);case"Yo":return pt(u.ordinalNumber(t,{unit:"year"}),i);default:return pt(st(n.length,t),i)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,u,i){const a=Bi(t,i);if(u.isTwoDigitYear){const h=co(u.year,a);return t.setFullYear(h,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),wr(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),wr(t,i)}}class Yd extends Me{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(t,n){return yu(n==="R"?4:n.length,t)}set(t,n,u){const i=Je(t,0);return i.setFullYear(u,0,4),i.setHours(0,0,0,0),on(i)}}class Gd extends Me{constructor(){super(...arguments);ae(this,"priority",130);ae(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return yu(n==="u"?4:n.length,t)}set(t,n,u){return t.setFullYear(u,0,1),t.setHours(0,0,0,0),t}}class Xd extends Me{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(t,n,u){switch(n){case"Q":case"QQ":return st(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 Qd extends Me{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(t,n,u){switch(n){case"q":case"qq":return st(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 Zd extends Me{constructor(){super(...arguments);ae(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ae(this,"priority",110)}parse(t,n,u){const i=a=>a-1;switch(n){case"M":return pt(ut(ht.month,t),i);case"MM":return pt(st(2,t),i);case"Mo":return pt(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 Jd extends Me{constructor(){super(...arguments);ae(this,"priority",110);ae(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 pt(ut(ht.month,t),i);case"LL":return pt(st(2,t),i);case"Lo":return pt(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 Kd(e,r,t){const n=pe(e,t==null?void 0:t.in),u=Ii(n,t)-r;return n.setDate(n.getDate()-u*7),pe(n,t==null?void 0:t.in)}class eh extends Me{constructor(){super(...arguments);ae(this,"priority",100);ae(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,u){switch(n){case"w":return ut(ht.week,t);case"wo":return u.ordinalNumber(t,{unit:"week"});default:return st(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,u,i){return wr(Kd(t,u,i),i)}}function th(e,r,t){const n=pe(e,t==null?void 0:t.in),u=Js(n,t)-r;return n.setDate(n.getDate()-u*7),n}class rh extends Me{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(t,n,u){switch(n){case"I":return ut(ht.week,t);case"Io":return u.ordinalNumber(t,{unit:"week"});default:return st(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,u){return on(th(t,u))}}const nh=[31,28,31,30,31,30,31,31,30,31,30,31],uh=[31,29,31,30,31,30,31,31,30,31,30,31];class ih extends Me{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(t,n,u){switch(n){case"d":return ut(ht.date,t);case"do":return u.ordinalNumber(t,{unit:"date"});default:return st(n.length,t)}}validate(t,n){const u=t.getFullYear(),i=lo(u),a=t.getMonth();return i?n>=1&&n<=uh[a]:n>=1&&n<=nh[a]}set(t,n,u){return t.setDate(u),t.setHours(0,0,0,0),t}}class ah extends Me{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(t,n,u){switch(n){case"D":case"DD":return ut(ht.dayOfYear,t);case"Do":return u.ordinalNumber(t,{unit:"date"});default:return st(n.length,t)}}validate(t,n){const u=t.getFullYear();return lo(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 qi(e,r,t){var p,o,f,m;const n=Vr(),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=(f=n.locale)==null?void 0:f.options)==null?void 0:m.weekStartsOn)??0,i=pe(e,t==null?void 0:t.in),a=i.getDay(),h=(r%7+7)%7,c=7-u,l=r<0||r>6?r-(a+c)%7:(h+c)%7-(a+c)%7;return Ur(i,l,t)}class sh extends Me{constructor(){super(...arguments);ae(this,"priority",90);ae(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=qi(t,u,i),t.setHours(0,0,0,0),t}}class oh extends Me{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(t,n,u,i){const a=s=>{const h=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+h};switch(n){case"e":case"ee":return pt(st(n.length,t),a);case"eo":return pt(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=qi(t,u,i),t.setHours(0,0,0,0),t}}class ch extends Me{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(t,n,u,i){const a=s=>{const h=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+h};switch(n){case"c":case"cc":return pt(st(n.length,t),a);case"co":return pt(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=qi(t,u,i),t.setHours(0,0,0,0),t}}function lh(e,r,t){const n=pe(e,t==null?void 0:t.in),u=Md(n,t),i=r-u;return Ur(n,i,t)}class fh extends Me{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(t,n,u){const i=a=>a===0?7:a;switch(n){case"i":case"ii":return st(n.length,t);case"io":return u.ordinalNumber(t,{unit:"day"});case"iii":return pt(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 pt(u.day(t,{width:"narrow",context:"formatting"}),i);case"iiiiii":return pt(u.day(t,{width:"short",context:"formatting"})||u.day(t,{width:"narrow",context:"formatting"}),i);case"iiii":default:return pt(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=lh(t,u),t.setHours(0,0,0,0),t}}class dh extends Me{constructor(){super(...arguments);ae(this,"priority",80);ae(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(Li(u),0,0,0),t}}class hh extends Me{constructor(){super(...arguments);ae(this,"priority",80);ae(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(Li(u),0,0,0),t}}class ph extends Me{constructor(){super(...arguments);ae(this,"priority",80);ae(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(Li(u),0,0,0),t}}class mh extends Me{constructor(){super(...arguments);ae(this,"priority",70);ae(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,u){switch(n){case"h":return ut(ht.hour12h,t);case"ho":return u.ordinalNumber(t,{unit:"hour"});default:return st(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 gh extends Me{constructor(){super(...arguments);ae(this,"priority",70);ae(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,u){switch(n){case"H":return ut(ht.hour23h,t);case"Ho":return u.ordinalNumber(t,{unit:"hour"});default:return st(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,u){return t.setHours(u,0,0,0),t}}class bh extends Me{constructor(){super(...arguments);ae(this,"priority",70);ae(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,u){switch(n){case"K":return ut(ht.hour11h,t);case"Ko":return u.ordinalNumber(t,{unit:"hour"});default:return st(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 yh extends Me{constructor(){super(...arguments);ae(this,"priority",70);ae(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,u){switch(n){case"k":return ut(ht.hour24h,t);case"ko":return u.ordinalNumber(t,{unit:"hour"});default:return st(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 vh extends Me{constructor(){super(...arguments);ae(this,"priority",60);ae(this,"incompatibleTokens",["t","T"])}parse(t,n,u){switch(n){case"m":return ut(ht.minute,t);case"mo":return u.ordinalNumber(t,{unit:"minute"});default:return st(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,u){return t.setMinutes(u,0,0),t}}class wh extends Me{constructor(){super(...arguments);ae(this,"priority",50);ae(this,"incompatibleTokens",["t","T"])}parse(t,n,u){switch(n){case"s":return ut(ht.second,t);case"so":return u.ordinalNumber(t,{unit:"second"});default:return st(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,u){return t.setSeconds(u,0),t}}class Dh extends Me{constructor(){super(...arguments);ae(this,"priority",30);ae(this,"incompatibleTokens",["t","T"])}parse(t,n){const u=i=>Math.trunc(i*Math.pow(10,-n.length+3));return pt(st(n.length,t),u)}set(t,n,u){return t.setMilliseconds(u),t}}class Eh extends Me{constructor(){super(...arguments);ae(this,"priority",10);ae(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return cr(or.basicOptionalMinutes,t);case"XX":return cr(or.basic,t);case"XXXX":return cr(or.basicOptionalSeconds,t);case"XXXXX":return cr(or.extendedOptionalSeconds,t);case"XXX":default:return cr(or.extended,t)}}set(t,n,u){return n.timestampIsSet?t:Je(t,t.getTime()-mu(t)-u)}}class xh extends Me{constructor(){super(...arguments);ae(this,"priority",10);ae(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return cr(or.basicOptionalMinutes,t);case"xx":return cr(or.basic,t);case"xxxx":return cr(or.basicOptionalSeconds,t);case"xxxxx":return cr(or.extendedOptionalSeconds,t);case"xxx":default:return cr(or.extended,t)}}set(t,n,u){return n.timestampIsSet?t:Je(t,t.getTime()-mu(t)-u)}}class Ah extends Me{constructor(){super(...arguments);ae(this,"priority",40);ae(this,"incompatibleTokens","*")}parse(t){return oo(t)}set(t,n,u){return[Je(t,u*1e3),{timestampIsSet:!0}]}}class Ch extends Me{constructor(){super(...arguments);ae(this,"priority",20);ae(this,"incompatibleTokens","*")}parse(t){return oo(t)}set(t,n,u){return[Je(t,u),{timestampIsSet:!0}]}}const Th={G:new Ud,y:new Vd,Y:new Wd,R:new Yd,u:new Gd,Q:new Xd,q:new Qd,M:new Zd,L:new Jd,w:new eh,I:new rh,d:new ih,D:new ah,E:new sh,e:new oh,c:new ch,i:new fh,a:new dh,b:new hh,B:new ph,h:new mh,H:new gh,K:new bh,k:new yh,m:new vh,s:new wh,S:new Dh,X:new Eh,x:new xh,t:new Ah,T:new Ch},Sh=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Fh=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,_h=/^'([^]*?)'?$/,Oh=/''/g,Nh=/\S/,Mh=/[a-zA-Z]/;function Ph(e,r,t,n){var b,g,w,v,D,y,E,A;const u=()=>Je((n==null?void 0:n.in)||t,NaN),i=Od(),a=(n==null?void 0:n.locale)??i.locale??Pi,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,h=(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(!r)return e?u():pe(t,n==null?void 0:n.in);const c={firstWeekContainsDate:s,weekStartsOn:h,locale:a},l=[new Hd(n==null?void 0:n.in,t)],p=r.match(Fh).map(C=>{const F=C[0];if(F in kn){const x=kn[F];return x(C,a.formatLong)}return C}).join("").match(Sh),o=[];for(let C of p){!(n!=null&&n.useAdditionalWeekYearTokens)&&io(C)&&Ri(C,r,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&uo(C)&&Ri(C,r,e);const F=C[0],x=Th[F];if(x){const{incompatibleTokens:T}=x;if(Array.isArray(T)){const P=o.find(B=>T.includes(B.token)||B.token===F);if(P)throw new RangeError(`The format string mustn't contain \`${P.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:F,fullToken:C});const _=x.run(e,C,a.match,c);if(!_)return u();l.push(_.setter),e=_.rest}else{if(F.match(Mh))throw new RangeError("Format string contains an unescaped latin alphabet character `"+F+"`");if(C==="''"?C="'":F==="'"&&(C=Bh(C)),e.indexOf(C)===0)e=e.slice(C.length);else return u()}}if(e.length>0&&Nh.test(e))return u();const f=l.map(C=>C.priority).sort((C,F)=>F-C).filter((C,F,x)=>x.indexOf(C)===F).map(C=>l.filter(F=>F.priority===C).sort((F,x)=>x.subPriority-F.subPriority)).map(C=>C[0]);let m=pe(t,n==null?void 0:n.in);if(isNaN(+m))return u();const d={};for(const C of f){if(!C.validate(m,c))return u();const F=C.set(m,d,c);Array.isArray(F)?(m=F[0],Object.assign(d,F[1])):m=F}return m}function Bh(e){return e.match(_h)[1].replace(Oh,"'")}function fo(e,r){const t=pe(e,r==null?void 0:r.in);return t.setMinutes(0,0,0),t}function Ih(e,r,t){const[n,u]=Bn(t==null?void 0:t.in,e,r);return+fo(n)==+fo(u)}function Rh(e,r,t){const[n,u]=Bn(t==null?void 0:t.in,e,r);return n.getFullYear()===u.getFullYear()&&n.getMonth()===u.getMonth()}function kh(e,r,t){const[n,u]=Bn(t==null?void 0:t.in,e,r);return n.getFullYear()===u.getFullYear()}function Lh(e,r,t){const n=+pe(e,t==null?void 0:t.in),[u,i]=[+pe(r.start,t==null?void 0:t.in),+pe(r.end,t==null?void 0:t.in)].sort((a,s)=>a-s);return n>=u&&n<=i}function qh(e,r,t){return Ur(e,-r,t)}function $h(e,r,t){const n=pe(e,t==null?void 0:t.in),u=n.getFullYear(),i=n.getDate(),a=Je(e,0);a.setFullYear(u,r,15),a.setHours(0,0,0,0);const s=ao(a);return n.setMonth(r,Math.min(i,s)),n}function jh(e,r,t){const n=pe(e,t==null?void 0:t.in);return n.setDate(r),n}function zh(e,r,t){const n=pe(e,t==null?void 0:t.in);return n.setHours(r),n}function Hh(e,r,t){const n=pe(e,t==null?void 0:t.in);return n.setMilliseconds(r),n}function Uh(e,r,t){const n=pe(e,t==null?void 0:t.in);return n.setMinutes(r),n}function Vh(e,r,t){const n=pe(e,t==null?void 0:t.in);return n.setSeconds(r),n}function Wh(e,r,t){const n=pe(e,t==null?void 0:t.in);return isNaN(+n)?Je(e,NaN):(n.setFullYear(r),n)}function Yh(e,r,t){return pu(e,-r,t)}function Gh(e,r,t){const{years:n=0,months:u=0,weeks:i=0,days:a=0,hours:s=0,minutes:h=0,seconds:c=0}=r,l=Yh(e,u+n*12,t),p=qh(l,a+i*7,t),o=h+s*60,m=(c+o*60)*1e3;return Je(e,+p-m)}var Ln=(e=>(e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH",e.YEAR="YEAR",e))(Ln||{});function ln({error:e}){return K.jsxs(Ve.FormHelperText,{"data-testid":"form-field-error-message",error:!0,children:[sn.getTextFieldIconByStatus("error"),e]})}var Kt={},er={},$i={},tr={},vu={},ho;function Xh(){return ho||(ho=1,Object.defineProperty(vu,"__esModule",{value:!0}),vu.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)}))),vu}var wu={},po;function Qh(){return po||(po=1,Object.defineProperty(wu,"__esModule",{value:!0}),wu.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(e){return e.charCodeAt(0)}))),wu}var ji={},mo;function go(){return mo||(mo=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}(ji)),ji}var bo;function Du(){return bo||(bo=1,function(e){var r=tr&&tr.__createBinding||(Object.create?function(T,_,P,B){B===void 0&&(B=P);var N=Object.getOwnPropertyDescriptor(_,P);(!N||("get"in N?!_.__esModule:N.writable||N.configurable))&&(N={enumerable:!0,get:function(){return _[P]}}),Object.defineProperty(T,B,N)}:function(T,_,P,B){B===void 0&&(B=P),T[B]=_[P]}),t=tr&&tr.__setModuleDefault||(Object.create?function(T,_){Object.defineProperty(T,"default",{enumerable:!0,value:_})}:function(T,_){T.default=_}),n=tr&&tr.__importStar||function(T){if(T&&T.__esModule)return T;var _={};if(T!=null)for(var P in T)P!=="default"&&Object.prototype.hasOwnProperty.call(T,P)&&r(_,T,P);return t(_,T),_},u=tr&&tr.__importDefault||function(T){return T&&T.__esModule?T:{default:T}};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(Xh());e.htmlDecodeTree=i.default;var a=u(Qh());e.xmlDecodeTree=a.default;var s=n(go());e.decodeCodePoint=s.default;var h=go();Object.defineProperty(e,"replaceCodePoint",{enumerable:!0,get:function(){return h.replaceCodePoint}}),Object.defineProperty(e,"fromCodePoint",{enumerable:!0,get:function(){return h.fromCodePoint}});var c;(function(T){T[T.NUM=35]="NUM",T[T.SEMI=59]="SEMI",T[T.EQUALS=61]="EQUALS",T[T.ZERO=48]="ZERO",T[T.NINE=57]="NINE",T[T.LOWER_A=97]="LOWER_A",T[T.LOWER_F=102]="LOWER_F",T[T.LOWER_X=120]="LOWER_X",T[T.LOWER_Z=122]="LOWER_Z",T[T.UPPER_A=65]="UPPER_A",T[T.UPPER_F=70]="UPPER_F",T[T.UPPER_Z=90]="UPPER_Z"})(c||(c={}));var l=32,p;(function(T){T[T.VALUE_LENGTH=49152]="VALUE_LENGTH",T[T.BRANCH_LENGTH=16256]="BRANCH_LENGTH",T[T.JUMP_TABLE=127]="JUMP_TABLE"})(p=e.BinTrieFlags||(e.BinTrieFlags={}));function o(T){return T>=c.ZERO&&T<=c.NINE}function f(T){return T>=c.UPPER_A&&T<=c.UPPER_F||T>=c.LOWER_A&&T<=c.LOWER_F}function m(T){return T>=c.UPPER_A&&T<=c.UPPER_Z||T>=c.LOWER_A&&T<=c.LOWER_Z||o(T)}function d(T){return T===c.EQUALS||m(T)}var b;(function(T){T[T.EntityStart=0]="EntityStart",T[T.NumericStart=1]="NumericStart",T[T.NumericDecimal=2]="NumericDecimal",T[T.NumericHex=3]="NumericHex",T[T.NamedEntity=4]="NamedEntity"})(b||(b={}));var g;(function(T){T[T.Legacy=0]="Legacy",T[T.Strict=1]="Strict",T[T.Attribute=2]="Attribute"})(g=e.DecodingMode||(e.DecodingMode={}));var w=function(){function T(_,P,B){this.decodeTree=_,this.emitCodePoint=P,this.errors=B,this.state=b.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=g.Strict}return T.prototype.startEntity=function(_){this.decodeMode=_,this.state=b.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},T.prototype.write=function(_,P){switch(this.state){case b.EntityStart:return _.charCodeAt(P)===c.NUM?(this.state=b.NumericStart,this.consumed+=1,this.stateNumericStart(_,P+1)):(this.state=b.NamedEntity,this.stateNamedEntity(_,P));case b.NumericStart:return this.stateNumericStart(_,P);case b.NumericDecimal:return this.stateNumericDecimal(_,P);case b.NumericHex:return this.stateNumericHex(_,P);case b.NamedEntity:return this.stateNamedEntity(_,P)}},T.prototype.stateNumericStart=function(_,P){return P>=_.length?-1:(_.charCodeAt(P)|l)===c.LOWER_X?(this.state=b.NumericHex,this.consumed+=1,this.stateNumericHex(_,P+1)):(this.state=b.NumericDecimal,this.stateNumericDecimal(_,P))},T.prototype.addToNumericResult=function(_,P,B,N){if(P!==B){var I=B-P;this.result=this.result*Math.pow(N,I)+parseInt(_.substr(P,I),N),this.consumed+=I}},T.prototype.stateNumericHex=function(_,P){for(var B=P;P<_.length;){var N=_.charCodeAt(P);if(o(N)||f(N))P+=1;else return this.addToNumericResult(_,B,P,16),this.emitNumericEntity(N,3)}return this.addToNumericResult(_,B,P,16),-1},T.prototype.stateNumericDecimal=function(_,P){for(var B=P;P<_.length;){var N=_.charCodeAt(P);if(o(N))P+=1;else return this.addToNumericResult(_,B,P,10),this.emitNumericEntity(N,2)}return this.addToNumericResult(_,B,P,10),-1},T.prototype.emitNumericEntity=function(_,P){var B;if(this.consumed<=P)return(B=this.errors)===null||B===void 0||B.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(_===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&&(_!==c.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},T.prototype.stateNamedEntity=function(_,P){for(var B=this.decodeTree,N=B[this.treeIndex],I=(N&p.VALUE_LENGTH)>>14;P<_.length;P++,this.excess++){var J=_.charCodeAt(P);if(this.treeIndex=D(B,N,this.treeIndex+Math.max(1,I),J),this.treeIndex<0)return this.result===0||this.decodeMode===g.Attribute&&(I===0||d(J))?0:this.emitNotTerminatedNamedEntity();if(N=B[this.treeIndex],I=(N&p.VALUE_LENGTH)>>14,I!==0){if(J===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},T.prototype.emitNotTerminatedNamedEntity=function(){var _,P=this,B=P.result,N=P.decodeTree,I=(N[B]&p.VALUE_LENGTH)>>14;return this.emitNamedEntityData(B,I,this.consumed),(_=this.errors)===null||_===void 0||_.missingSemicolonAfterCharacterReference(),this.consumed},T.prototype.emitNamedEntityData=function(_,P,B){var N=this.decodeTree;return this.emitCodePoint(P===1?N[_]&~p.VALUE_LENGTH:N[_+1],B),P===3&&this.emitCodePoint(N[_+2],B),B},T.prototype.end=function(){var _;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(_=this.errors)===null||_===void 0||_.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case b.EntityStart:return 0}},T}();e.EntityDecoder=w;function v(T){var _="",P=new w(T,function(B){return _+=(0,s.fromCodePoint)(B)});return function(N,I){for(var J=0,re=0;(re=N.indexOf("&",re))>=0;){_+=N.slice(J,re),P.startEntity(I);var ie=P.write(N,re+1);if(ie<0){J=re+P.end();break}J=re+ie,re=ie===0?J+1:J}var L=_+N.slice(J);return _="",L}}function D(T,_,P,B){var N=(_&p.BRANCH_LENGTH)>>7,I=_&p.JUMP_TABLE;if(N===0)return I!==0&&B===I?P:-1;if(I){var J=B-I;return J<0||J>=N?-1:T[P+J]-1}for(var re=P,ie=re+N-1;re<=ie;){var L=re+ie>>>1,Z=T[L];if(Z<B)re=L+1;else if(Z>B)ie=L-1;else return T[L+N]}return-1}e.determineBranch=D;var y=v(i.default),E=v(a.default);function A(T,_){return _===void 0&&(_=g.Legacy),y(T,_)}e.decodeHTML=A;function C(T){return y(T,g.Attribute)}e.decodeHTMLAttribute=C;function F(T){return y(T,g.Strict)}e.decodeHTMLStrict=F;function x(T){return E(T,g.Strict)}e.decodeXML=x}(tr)),tr}var yo;function vo(){return yo||(yo=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.QuoteType=void 0;var r=Du(),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 h(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 l={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(f,m){var d=f.xmlMode,b=d===void 0?!1:d,g=f.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(f){this.offset+=this.buffer.length,this.buffer=f,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(f){f===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&&f===t.Amp&&(this.state=n.BeforeEntity)},o.prototype.stateSpecialStartSequence=function(f){var m=this.sequenceIndex===this.currentSequence.length,d=m?i(f):(f|32)===this.currentSequence[this.sequenceIndex];if(!d)this.isSpecial=!1;else if(!m){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=n.InTagName,this.stateInTagName(f)},o.prototype.stateInSpecialTag=function(f){if(this.sequenceIndex===this.currentSequence.length){if(f===t.Gt||u(f)){var m=this.index-this.currentSequence.length;if(this.sectionStart<m){var d=this.index;this.index=m,this.cbs.ontext(this.sectionStart,m),this.index=d}this.isSpecial=!1,this.sectionStart=m+2,this.stateInClosingTagName(f);return}this.sequenceIndex=0}(f|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===l.TitleEnd?this.decodeEntities&&f===t.Amp&&(this.state=n.BeforeEntity):this.fastForwardTo(t.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(f===t.Lt)},o.prototype.stateCDATASequence=function(f){f===l.Cdata[this.sequenceIndex]?++this.sequenceIndex===l.Cdata.length&&(this.state=n.InCommentLike,this.currentSequence=l.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=n.InDeclaration,this.stateInDeclaration(f))},o.prototype.fastForwardTo=function(f){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===f)return!0;return this.index=this.buffer.length+this.offset-1,!1},o.prototype.stateInCommentLike=function(f){f===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===l.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):f!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},o.prototype.isTagStartChar=function(f){return this.xmlMode?!i(f):s(f)},o.prototype.startSpecial=function(f,m){this.isSpecial=!0,this.currentSequence=f,this.sequenceIndex=m,this.state=n.SpecialStartSequence},o.prototype.stateBeforeTagName=function(f){if(f===t.ExclamationMark)this.state=n.BeforeDeclaration,this.sectionStart=this.index+1;else if(f===t.Questionmark)this.state=n.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(f)){var m=f|32;this.sectionStart=this.index,!this.xmlMode&&m===l.TitleEnd[2]?this.startSpecial(l.TitleEnd,3):this.state=!this.xmlMode&&m===l.ScriptEnd[2]?n.BeforeSpecialS:n.InTagName}else f===t.Slash?this.state=n.BeforeClosingTagName:(this.state=n.Text,this.stateText(f))},o.prototype.stateInTagName=function(f){i(f)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(f))},o.prototype.stateBeforeClosingTagName=function(f){u(f)||(f===t.Gt?this.state=n.Text:(this.state=this.isTagStartChar(f)?n.InClosingTagName:n.InSpecialComment,this.sectionStart=this.index))},o.prototype.stateInClosingTagName=function(f){(f===t.Gt||u(f))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.AfterClosingTagName,this.stateAfterClosingTagName(f))},o.prototype.stateAfterClosingTagName=function(f){(f===t.Gt||this.fastForwardTo(t.Gt))&&(this.state=n.Text,this.baseState=n.Text,this.sectionStart=this.index+1)},o.prototype.stateBeforeAttributeName=function(f){f===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):f===t.Slash?this.state=n.InSelfClosingTag:u(f)||(this.state=n.InAttributeName,this.sectionStart=this.index)},o.prototype.stateInSelfClosingTag=function(f){f===t.Gt?(this.cbs.onselfclosingtag(this.index),this.state=n.Text,this.baseState=n.Text,this.sectionStart=this.index+1,this.isSpecial=!1):u(f)||(this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(f))},o.prototype.stateInAttributeName=function(f){(f===t.Eq||i(f))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.AfterAttributeName,this.stateAfterAttributeName(f))},o.prototype.stateAfterAttributeName=function(f){f===t.Eq?this.state=n.BeforeAttributeValue:f===t.Slash||f===t.Gt?(this.cbs.onattribend(c.NoValue,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(f)):u(f)||(this.cbs.onattribend(c.NoValue,this.index),this.state=n.InAttributeName,this.sectionStart=this.index)},o.prototype.stateBeforeAttributeValue=function(f){f===t.DoubleQuote?(this.state=n.InAttributeValueDq,this.sectionStart=this.index+1):f===t.SingleQuote?(this.state=n.InAttributeValueSq,this.sectionStart=this.index+1):u(f)||(this.sectionStart=this.index,this.state=n.InAttributeValueNq,this.stateInAttributeValueNoQuotes(f))},o.prototype.handleInAttributeValue=function(f,m){f===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&&f===t.Amp&&(this.baseState=this.state,this.state=n.BeforeEntity)},o.prototype.stateInAttributeValueDoubleQuotes=function(f){this.handleInAttributeValue(f,t.DoubleQuote)},o.prototype.stateInAttributeValueSingleQuotes=function(f){this.handleInAttributeValue(f,t.SingleQuote)},o.prototype.stateInAttributeValueNoQuotes=function(f){u(f)||f===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(f)):this.decodeEntities&&f===t.Amp&&(this.baseState=this.state,this.state=n.BeforeEntity)},o.prototype.stateBeforeDeclaration=function(f){f===t.OpeningSquareBracket?(this.state=n.CDATASequence,this.sequenceIndex=0):this.state=f===t.Dash?n.BeforeComment:n.InDeclaration},o.prototype.stateInDeclaration=function(f){(f===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(f){(f===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(f){f===t.Dash?(this.state=n.InCommentLike,this.currentSequence=l.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=n.InDeclaration},o.prototype.stateInSpecialComment=function(f){(f===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(f){var m=f|32;m===l.ScriptEnd[3]?this.startSpecial(l.ScriptEnd,4):m===l.StyleEnd[3]?this.startSpecial(l.StyleEnd,4):(this.state=n.InTagName,this.stateInTagName(f))},o.prototype.stateBeforeEntity=function(f){this.entityExcess=1,this.entityResult=0,f===t.Number?this.state=n.BeforeNumericEntity:f===t.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=n.InNamedEntity,this.stateInNamedEntity(f))},o.prototype.stateInNamedEntity=function(f){if(this.entityExcess+=1,this.trieIndex=(0,r.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,f),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 d=(m>>14)-1;if(!this.allowLegacyEntity()&&f!==t.Semi)this.trieIndex+=d;else{var b=this.index-this.entityExcess+1;b>this.sectionStart&&this.emitPartial(this.sectionStart,b),this.entityResult=this.trieIndex,this.trieIndex+=d,this.entityExcess=0,this.sectionStart=this.index+1,d===0&&this.emitNamedEntity()}}},o.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var f=(this.entityTrie[this.entityResult]&r.BinTrieFlags.VALUE_LENGTH)>>14;switch(f){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(f){(f|32)===t.LowerX?(this.entityExcess++,this.state=n.InHexEntity):(this.state=n.InNumericEntity,this.stateInNumericEntity(f))},o.prototype.emitNumericEntity=function(f){var m=this.index-this.entityExcess-1,d=m+2+ +(this.state===n.InHexEntity);d!==this.index&&(m>this.sectionStart&&this.emitPartial(this.sectionStart,m),this.sectionStart=this.index+Number(f),this.emitCodePoint((0,r.replaceCodePoint)(this.entityResult))),this.state=this.baseState},o.prototype.stateInNumericEntity=function(f){f===t.Semi?this.emitNumericEntity(!0):a(f)?(this.entityResult=this.entityResult*10+(f-t.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},o.prototype.stateInHexEntity=function(f){f===t.Semi?this.emitNumericEntity(!0):a(f)?(this.entityResult=this.entityResult*16+(f-t.Zero),this.entityExcess++):h(f)?(this.entityResult=this.entityResult*16+((f|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 f=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case n.Text:{this.stateText(f);break}case n.SpecialStartSequence:{this.stateSpecialStartSequence(f);break}case n.InSpecialTag:{this.stateInSpecialTag(f);break}case n.CDATASequence:{this.stateCDATASequence(f);break}case n.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(f);break}case n.InAttributeName:{this.stateInAttributeName(f);break}case n.InCommentLike:{this.stateInCommentLike(f);break}case n.InSpecialComment:{this.stateInSpecialComment(f);break}case n.BeforeAttributeName:{this.stateBeforeAttributeName(f);break}case n.InTagName:{this.stateInTagName(f);break}case n.InClosingTagName:{this.stateInClosingTagName(f);break}case n.BeforeTagName:{this.stateBeforeTagName(f);break}case n.AfterAttributeName:{this.stateAfterAttributeName(f);break}case n.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(f);break}case n.BeforeAttributeValue:{this.stateBeforeAttributeValue(f);break}case n.BeforeClosingTagName:{this.stateBeforeClosingTagName(f);break}case n.AfterClosingTagName:{this.stateAfterClosingTagName(f);break}case n.BeforeSpecialS:{this.stateBeforeSpecialS(f);break}case n.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(f);break}case n.InSelfClosingTag:{this.stateInSelfClosingTag(f);break}case n.InDeclaration:{this.stateInDeclaration(f);break}case n.BeforeDeclaration:{this.stateBeforeDeclaration(f);break}case n.BeforeComment:{this.stateBeforeComment(f);break}case n.InProcessingInstruction:{this.stateInProcessingInstruction(f);break}case n.InNamedEntity:{this.stateInNamedEntity(f);break}case n.BeforeEntity:{this.stateBeforeEntity(f);break}case n.InHexEntity:{this.stateInHexEntity(f);break}case n.InNumericEntity:{this.stateInNumericEntity(f);break}default:this.stateBeforeNumericEntity(f)}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 f=this.buffer.length+this.offset;this.state===n.InCommentLike?this.currentSequence===l.CdataEnd?this.cbs.oncdata(this.sectionStart,f,0):this.cbs.oncomment(this.sectionStart,f,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,f)},o.prototype.emitPartial=function(f,m){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?this.cbs.onattribdata(f,m):this.cbs.ontext(f,m)},o.prototype.emitCodePoint=function(f){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?this.cbs.onattribentity(f):this.cbs.ontextentity(f)},o}();e.default=p}($i)),$i}var wo;function Do(){if(wo)return er;wo=1;var e=er&&er.__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]}),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(vo()),u=Du(),i=new Set(["input","option","optgroup","select","button","datalist","textarea"]),a=new Set(["p"]),s=new Set(["thead","tbody"]),h=new Set(["dd","dt"]),c=new Set(["rt","rp"]),l=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",h],["dt",h],["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"]),f=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),m=/\s|\//,d=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&&l.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):f.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 F=this.getSlice(g,w);if(this.lowerCaseTagNames&&(F=F.toLowerCase()),(o.has(F)||f.has(F))&&this.foreignContext.pop(),this.isVoidElement(F))!this.options.xmlMode&&F==="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(F);if(x!==-1)if(this.cbs.onclosetag)for(var T=this.stack.length-x;T--;)this.cbs.onclosetag(this.stack.pop(),T!==0);else this.stack.length=x;else!this.options.xmlMode&&F==="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,F,x,T,_,P;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),(F=(C=this.cbs).oncdataend)===null||F===void 0||F.call(C)):((T=(x=this.cbs).oncomment)===null||T===void 0||T.call(x,"[CDATA[".concat(B,"]]")),(P=(_=this.cbs).oncommentend)===null||P===void 0||P.call(_)),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 er.Parser=d,er}var Gr={},zi={},Eo;function qn(){return Eo||(Eo=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}(zi)),zi}var xe={},xo;function Ao(){if(xo)return xe;xo=1;var e=xe&&xe.__extends||function(){var y=function(E,A){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,F){C.__proto__=F}||function(C,F){for(var x in F)Object.prototype.hasOwnProperty.call(F,x)&&(C[x]=F[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)}}(),r=xe&&xe.__assign||function(){return r=Object.assign||function(y){for(var E,A=1,C=arguments.length;A<C;A++){E=arguments[A];for(var F in E)Object.prototype.hasOwnProperty.call(E,F)&&(y[F]=E[F])}return y},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=qn(),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=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(y){e(E,y);function E(){var A=y!==null&&y.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(y){e(E,y);function E(A,C){var F=y.call(this,C)||this;return F.name=A,F.type=t.ElementType.Directive,F}return Object.defineProperty(E.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),E}(u);xe.ProcessingInstruction=s;var h=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=h;var c=function(y){e(E,y);function E(){var A=y!==null&&y.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}(h);xe.CDATA=c;var l=function(y){e(E,y);function E(){var A=y!==null&&y.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}(h);xe.Document=l;var p=function(y){e(E,y);function E(A,C,F,x){F===void 0&&(F=[]),x===void 0&&(x=A==="script"?t.ElementType.Script:A==="style"?t.ElementType.Style:t.ElementType.Tag);var T=y.call(this,F)||this;return T.name=A,T.attribs=C,T.type=x,T}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 F,x;return{name:C,value:A.attribs[C],namespace:(F=A["x-attribsNamespace"])===null||F===void 0?void 0:F[C],prefix:(x=A["x-attribsPrefix"])===null||x===void 0?void 0:x[C]}})},enumerable:!1,configurable:!0}),E}(h);xe.Element=p;function o(y){return(0,t.isTag)(y)}xe.isTag=o;function f(y){return y.type===t.ElementType.CDATA}xe.isCDATA=f;function m(y){return y.type===t.ElementType.Text}xe.isText=m;function d(y){return y.type===t.ElementType.Comment}xe.isComment=d;function b(y){return y.type===t.ElementType.Directive}xe.isDirective=b;function g(y){return y.type===t.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(d(y))A=new a(y.data);else if(o(y)){var C=E?D(y.children):[],F=new p(y.name,r({},y.attribs),C);C.forEach(function(P){return P.parent=F}),y.namespace!=null&&(F.namespace=y.namespace),y["x-attribsNamespace"]&&(F["x-attribsNamespace"]=r({},y["x-attribsNamespace"])),y["x-attribsPrefix"]&&(F["x-attribsPrefix"]=r({},y["x-attribsPrefix"])),A=F}else if(f(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):[],T=new l(C);C.forEach(function(B){return B.parent=T}),y["x-mode"]&&(T["x-mode"]=y["x-mode"]),A=T}else if(b(y)){var _=new s(y.name,y.data);y["x-name"]!=null&&(_["x-name"]=y["x-name"],_["x-publicId"]=y["x-publicId"],_["x-systemId"]=y["x-systemId"]),A=_}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 Co;function Mr(){return Co||(Co=1,function(e){var r=Gr&&Gr.__createBinding||(Object.create?function(s,h,c,l){l===void 0&&(l=c);var p=Object.getOwnPropertyDescriptor(h,c);(!p||("get"in p?!h.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return h[c]}}),Object.defineProperty(s,l,p)}:function(s,h,c,l){l===void 0&&(l=c),s[l]=h[c]}),t=Gr&&Gr.__exportStar||function(s,h){for(var c in s)c!=="default"&&!Object.prototype.hasOwnProperty.call(h,c)&&r(h,s,c)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var n=qn(),u=Ao();t(Ao(),e);var i={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},a=function(){function s(h,c,l){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"&&(l=c,c=i),typeof h=="object"&&(c=h,h=void 0),this.callback=h??null,this.options=c??i,this.elementCB=l??null}return s.prototype.onparserinit=function(h){this.parser=h},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(h){this.handleCallback(h)},s.prototype.onclosetag=function(){this.lastNode=null;var h=this.tagStack.pop();this.options.withEndIndices&&(h.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(h)},s.prototype.onopentag=function(h,c){var l=this.options.xmlMode?n.ElementType.Tag:void 0,p=new u.Element(h,c,void 0,l);this.addNode(p),this.tagStack.push(p)},s.prototype.ontext=function(h){var c=this.lastNode;if(c&&c.type===n.ElementType.Text)c.data+=h,this.options.withEndIndices&&(c.endIndex=this.parser.endIndex);else{var l=new u.Text(h);this.addNode(l),this.lastNode=l}},s.prototype.oncomment=function(h){if(this.lastNode&&this.lastNode.type===n.ElementType.Comment){this.lastNode.data+=h;return}var c=new u.Comment(h);this.addNode(c),this.lastNode=c},s.prototype.oncommentend=function(){this.lastNode=null},s.prototype.oncdatastart=function(){var h=new u.Text(""),c=new u.CDATA([h]);this.addNode(c),h.parent=c,this.lastNode=h},s.prototype.oncdataend=function(){this.lastNode=null},s.prototype.onprocessinginstruction=function(h,c){var l=new u.ProcessingInstruction(h,c);this.addNode(l)},s.prototype.handleCallback=function(h){if(typeof this.callback=="function")this.callback(h,this.dom);else if(h)throw h},s.prototype.addNode=function(h){var c=this.tagStack[this.tagStack.length-1],l=c.children[c.children.length-1];this.options.withStartIndices&&(h.startIndex=this.parser.startIndex),this.options.withEndIndices&&(h.endIndex=this.parser.endIndex),c.children.push(h),l&&(h.prev=l,l.next=h),h.parent=c,this.lastNode=null},s}();e.DomHandler=a,e.default=a}(Gr)),Gr}var Xr={},lr={},Bt={},Hi={},Dr={},Eu={},To;function Zh(){if(To)return Eu;To=1,Object.defineProperty(Eu,"__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 Eu.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"]])),Eu}var Ui={},So;function Vi(){return So||(So=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 h=s.index,c=u.charCodeAt(h),l=r.get(c);l!==void 0?(i+=u.substring(a,h)+l,a=h+1):(i+="".concat(u.substring(a,h),"&#x").concat((0,e.getCodePoint)(u,h).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 h,c=0,l="";h=u.exec(s);)c!==h.index&&(l+=s.substring(c,h.index)),l+=i.get(h[0].charCodeAt(0)),c=h.index+1;return l+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," "]]))}(Ui)),Ui}var Fo;function _o(){if(Fo)return Dr;Fo=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 r=e(Zh()),t=Vi(),n=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function u(s){return a(n,s)}Dr.encodeHTML=u;function i(s){return a(t.xmlReplacer,s)}Dr.encodeNonAsciiHTML=i;function a(s,h){for(var c="",l=0,p;(p=s.exec(h))!==null;){var o=p.index;c+=h.substring(l,o);var f=h.charCodeAt(o),m=r.default.get(f);if(typeof m=="object"){if(o+1<h.length){var d=h.charCodeAt(o+1),b=typeof m.n=="number"?m.n===d?m.o:void 0:m.n.get(d);if(b!==void 0){c+=b,l=s.lastIndex+=1;continue}}m=m.v}if(m!==void 0)c+=m,l=o+1;else{var g=(0,t.getCodePoint)(h,o);c+="&#x".concat(g.toString(16),";"),l=s.lastIndex+=+(g!==f)}}return c+h.substr(l)}return Dr}var Oo;function Jh(){return Oo||(Oo=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=Du(),t=_o(),n=Vi(),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,f){f===void 0&&(f=u.XML);var m=typeof f=="number"?f:f.level;if(m===u.HTML){var d=typeof f=="object"?f.mode:void 0;return(0,r.decodeHTML)(o,d)}return(0,r.decodeXML)(o)}e.decode=a;function s(o,f){var m;f===void 0&&(f=u.XML);var d=typeof f=="number"?{level:f}:f;return(m=d.mode)!==null&&m!==void 0||(d.mode=r.DecodingMode.Strict),a(o,d)}e.decodeStrict=s;function h(o,f){f===void 0&&(f=u.XML);var m=typeof f=="number"?{level:f}:f;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=h;var c=Vi();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 l=_o();Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return l.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return l.encodeNonAsciiHTML}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return l.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return l.encodeHTML}});var p=Du();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}})}(Hi)),Hi}var Qr={},No;function Kh(){return No||(No=1,Object.defineProperty(Qr,"__esModule",{value:!0}),Qr.attributeNames=Qr.elementNames=void 0,Qr.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]})),Qr.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]}))),Qr}var Mo;function e1(){if(Mo)return Bt;Mo=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)},r=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]}),t=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)&&r(y,D,E);return t(y,D),y};Object.defineProperty(Bt,"__esModule",{value:!0}),Bt.render=void 0;var u=n(qn()),i=Jh(),a=Kh(),s=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function h(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?h:y.xmlMode||y.encodeEntities!=="utf8"?i.encodeXML:i.escapeAttribute;return Object.keys(D).map(function(C){var F,x,T=(F=D[C])!==null&&F!==void 0?F:"";return y.xmlMode==="foreign"&&(C=(x=a.attributeNames.get(C))!==null&&x!==void 0?x:C),!y.emptyAttrs&&!y.xmlMode&&T===""?C:"".concat(C,'="').concat(A(T),'"')}).join(" ")}}var l=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 d(D,y);case u.Text:return g(D,y)}}var f=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m=new Set(["svg","math"]);function d(D,y){var E;y.xmlMode==="foreign"&&(D.name=(E=a.elementNames.get(D.name))!==null&&E!==void 0?E:D.name,D.parent&&f.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&&l.has(D.name))?(y.xmlMode||(A+=" "),A+="/>"):(A+=">",D.children.length>0&&(A+=p(D.children,y)),(y.xmlMode||!l.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 Po;function Bo(){if(Po)return lr;Po=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=h;var r=Mr(),t=e(e1()),n=qn();function u(c,l){return(0,t.default)(c,l)}function i(c,l){return(0,r.hasChildren)(c)?c.children.map(function(p){return u(p,l)}).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 h(c){return Array.isArray(c)?c.map(h).join(""):(0,r.hasChildren)(c)&&(c.type===n.ElementType.Tag||(0,r.isCDATA)(c))?h(c.children):(0,r.isText)(c)?c.data:""}return lr}var rr={},Io;function t1(){if(Io)return rr;Io=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=h;var e=Mr();function r(c){return(0,e.hasChildren)(c)?c.children:[]}function t(c){return c.parent||null}function n(c){var l,p,o=t(c);if(o!=null)return r(o);for(var f=[c],m=c.prev,d=c.next;m!=null;)f.unshift(m),l=m,m=l.prev;for(;d!=null;)f.push(d),p=d,d=p.next;return f}function u(c,l){var p;return(p=c.attribs)===null||p===void 0?void 0:p[l]}function i(c,l){return c.attribs!=null&&Object.prototype.hasOwnProperty.call(c.attribs,l)&&c.attribs[l]!=null}function a(c){return c.name}function s(c){for(var l,p=c.next;p!==null&&!(0,e.isTag)(p);)l=p,p=l.next;return p}function h(c){for(var l,p=c.prev;p!==null&&!(0,e.isTag)(p);)l=p,p=l.prev;return p}return rr}var Er={},Ro;function r1(){if(Ro)return Er;Ro=1,Object.defineProperty(Er,"__esModule",{value:!0}),Er.removeElement=e,Er.replaceElement=r,Er.appendChild=t,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,h=s.lastIndexOf(a);h>=0&&s.splice(h,1)}a.next=null,a.prev=null,a.parent=null}function r(a,s){var h=s.prev=a.prev;h&&(h.next=s);var c=s.next=a.next;c&&(c.prev=s);var l=s.parent=a.parent;if(l){var p=l.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 h=a.children[a.children.length-2];h.next=s,s.prev=h}else s.prev=null}function n(a,s){e(s);var h=a.parent,c=a.next;if(s.next=c,s.prev=a,a.next=s,s.parent=h,c){if(c.prev=s,h){var l=h.children;l.splice(l.lastIndexOf(c),0,s)}}else h&&h.children.push(s)}function u(a,s){if(e(s),s.parent=a,s.prev=null,a.children.unshift(s)!==1){var h=a.children[1];h.prev=s,s.next=h}else s.next=null}function i(a,s){e(s);var h=a.parent;if(h){var c=h.children;c.splice(c.indexOf(a),0,s)}a.prev&&(a.prev.next=s),s.parent=h,s.prev=a.prev,s.next=a,a.prev=s}return Er}var xr={},ko;function Lo(){if(ko)return xr;ko=1,Object.defineProperty(xr,"__esModule",{value:!0}),xr.filter=r,xr.find=t,xr.findOneChild=n,xr.findOne=u,xr.existsOne=i,xr.findAll=a;var e=Mr();function r(s,h,c,l){return c===void 0&&(c=!0),l===void 0&&(l=1/0),t(s,Array.isArray(h)?h:[h],c,l)}function t(s,h,c,l){for(var p=[],o=[Array.isArray(h)?h:[h]],f=[0];;){if(f[0]>=o[0].length){if(f.length===1)return p;o.shift(),f.shift();continue}var m=o[0][f[0]++];if(s(m)&&(p.push(m),--l<=0))return p;c&&(0,e.hasChildren)(m)&&m.children.length>0&&(f.unshift(0),o.unshift(m.children))}}function n(s,h){return h.find(s)}function u(s,h,c){c===void 0&&(c=!0);for(var l=Array.isArray(h)?h:[h],p=0;p<l.length;p++){var o=l[p];if((0,e.isTag)(o)&&s(o))return o;if(c&&(0,e.hasChildren)(o)&&o.children.length>0){var f=u(s,o.children,!0);if(f)return f}}return null}function i(s,h){return(Array.isArray(h)?h:[h]).some(function(c){return(0,e.isTag)(c)&&s(c)||(0,e.hasChildren)(c)&&i(s,c.children)})}function a(s,h){for(var c=[],l=[Array.isArray(h)?h:[h]],p=[0];;){if(p[0]>=l[0].length){if(l.length===1)return c;l.shift(),p.shift();continue}var o=l[0][p[0]++];(0,e.isTag)(o)&&s(o)&&c.push(o),(0,e.hasChildren)(o)&&o.children.length>0&&(p.unshift(0),l.unshift(o.children))}}return xr}var Ar={},qo;function $o(){if(qo)return Ar;qo=1,Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.testElement=a,Ar.getElements=s,Ar.getElementById=h,Ar.getElementsByTagName=c,Ar.getElementsByClassName=l,Ar.getElementsByTagType=p;var e=Mr(),r=Lo(),t={tag_name:function(o){return typeof o=="function"?function(f){return(0,e.isTag)(f)&&o(f.name)}:o==="*"?e.isTag:function(f){return(0,e.isTag)(f)&&f.name===o}},tag_type:function(o){return typeof o=="function"?function(f){return o(f.type)}:function(f){return f.type===o}},tag_contains:function(o){return typeof o=="function"?function(f){return(0,e.isText)(f)&&o(f.data)}:function(f){return(0,e.isText)(f)&&f.data===o}}};function n(o,f){return typeof f=="function"?function(m){return(0,e.isTag)(m)&&f(m.attribs[o])}:function(m){return(0,e.isTag)(m)&&m.attribs[o]===f}}function u(o,f){return function(m){return o(m)||f(m)}}function i(o){var f=Object.keys(o).map(function(m){var d=o[m];return Object.prototype.hasOwnProperty.call(t,m)?t[m](d):n(m,d)});return f.length===0?null:f.reduce(u)}function a(o,f){var m=i(o);return m?m(f):!0}function s(o,f,m,d){d===void 0&&(d=1/0);var b=i(o);return b?(0,r.filter)(b,f,m,d):[]}function h(o,f,m){return m===void 0&&(m=!0),Array.isArray(f)||(f=[f]),(0,r.findOne)(n("id",o),f,m)}function c(o,f,m,d){return m===void 0&&(m=!0),d===void 0&&(d=1/0),(0,r.filter)(t.tag_name(o),f,m,d)}function l(o,f,m,d){return m===void 0&&(m=!0),d===void 0&&(d=1/0),(0,r.filter)(n("class",o),f,m,d)}function p(o,f,m,d){return m===void 0&&(m=!0),d===void 0&&(d=1/0),(0,r.filter)(t.tag_type(o),f,m,d)}return Ar}var Pr={},jo;function n1(){if(jo)return Pr;jo=1,Object.defineProperty(Pr,"__esModule",{value:!0}),Pr.DocumentPosition=void 0,Pr.removeSubsets=r,Pr.compareDocumentPosition=n,Pr.uniqueSort=u;var e=Mr();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 h=s.parent;h;h=h.parent)if(i.includes(h)){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||(Pr.DocumentPosition=t={}));function n(i,a){var s=[],h=[];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;)h.unshift(c),c=c.parent;for(var l=Math.min(s.length,h.length),p=0;p<l&&s[p]===h[p];)p++;if(p===0)return t.DISCONNECTED;var o=s[p-1],f=o.children,m=s[p],d=h[p];return f.indexOf(m)>f.indexOf(d)?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,h){return!h.includes(a,s+1)}),i.sort(function(a,s){var h=n(a,s);return h&t.PRECEDING?-1:h&t.FOLLOWING?1:0}),i}return Pr}var xu={},zo;function u1(){if(zo)return xu;zo=1,Object.defineProperty(xu,"__esModule",{value:!0}),xu.getFeed=t;var e=Bo(),r=$o();function t(o){var f=h(p,o);return f?f.name==="feed"?n(f):u(f):null}function n(o){var f,m=o.children,d={type:"atom",items:(0,r.getElementsByTagName)("entry",m).map(function(w){var v,D=w.children,y={media:s(D)};l(y,"id","id",D),l(y,"title","title",D);var E=(v=h("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})};l(d,"id","id",m),l(d,"title","title",m);var b=(f=h("link",m))===null||f===void 0?void 0:f.attribs.href;b&&(d.link=b),l(d,"description","subtitle",m);var g=c("updated",m);return g&&(d.updated=new Date(g)),l(d,"author","email",m,!0),d}function u(o){var f,m,d=(m=(f=h("channel",o.children))===null||f===void 0?void 0:f.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 v=w.children,D={media:s(v)};l(D,"id","guid",v),l(D,"title","title",v),l(D,"link","link",v),l(D,"description","description",v);var y=c("pubDate",v)||c("dc:date",v);return y&&(D.pubDate=new Date(y)),D})};l(b,"title","title",d),l(b,"link","link",d),l(b,"description","description",d);var g=c("lastBuildDate",d);return g&&(b.updated=new Date(g)),l(b,"author","managingEditor",d,!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(f){for(var m=f.attribs,d={medium:m.medium,isDefault:!!m.isDefault},b=0,g=i;b<g.length;b++){var w=g[b];m[w]&&(d[w]=m[w])}for(var v=0,D=a;v<D.length;v++){var w=D[v];m[w]&&(d[w]=parseInt(m[w],10))}return m.expression&&(d.expression=m.expression),d})}function h(o,f){return(0,r.getElementsByTagName)(o,f,!0,1)[0]}function c(o,f,m){return m===void 0&&(m=!1),(0,e.textContent)((0,r.getElementsByTagName)(o,f,m,1)).trim()}function l(o,f,m,d,b){b===void 0&&(b=!1);var g=c(m,d,b);g&&(o[f]=g)}function p(o){return o==="rss"||o==="feed"||o==="rdf:RDF"}return xu}var Ho;function Wi(){return Ho||(Ho=1,function(e){var r=Xr&&Xr.__createBinding||(Object.create?function(u,i,a,s){s===void 0&&(s=a);var h=Object.getOwnPropertyDescriptor(i,a);(!h||("get"in h?!i.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return i[a]}}),Object.defineProperty(u,s,h)}:function(u,i,a,s){s===void 0&&(s=a),u[s]=i[a]}),t=Xr&&Xr.__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(Bo(),e),t(t1(),e),t(r1(),e),t(Lo(),e),t($o(),e),t(n1(),e),t(u1(),e);var n=Mr();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}})}(Xr)),Xr}var Uo;function i1(){return Uo||(Uo=1,function(e){var r=Kt&&Kt.__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]}),t=Kt&&Kt.__setModuleDefault||(Object.create?function(g,w){Object.defineProperty(g,"default",{enumerable:!0,value:w})}:function(g,w){g.default=w}),n=Kt&&Kt.__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)&&r(w,g,v);return t(w,g),w},u=Kt&&Kt.__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=Do(),a=Do();Object.defineProperty(e,"Parser",{enumerable:!0,get:function(){return a.Parser}});var s=Mr(),h=Mr();Object.defineProperty(e,"DomHandler",{enumerable:!0,get:function(){return h.DomHandler}}),Object.defineProperty(e,"DefaultHandler",{enumerable:!0,get:function(){return h.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 l(g,w){return c(g,w).children}e.parseDOM=l;function p(g,w,v){var D=new s.DomHandler(g,w,v);return new i.Parser(D,w)}e.createDomStream=p;var o=vo();Object.defineProperty(e,"Tokenizer",{enumerable:!0,get:function(){return u(o).default}}),e.ElementType=n(qn());var f=Wi(),m=Wi();Object.defineProperty(e,"getFeed",{enumerable:!0,get:function(){return m.getFeed}});var d={xmlMode:!0};function b(g,w){return w===void 0&&(w=d),(0,f.getFeed)(l(g,w))}e.parseFeed=b,e.DomUtils=n(Wi())}(Kt)),Kt}var Yi,Vo;function a1(){return Vo||(Vo=1,Yi=e=>{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),Yi}var Au={},Wo;function s1(){if(Wo)return Au;Wo=1,Object.defineProperty(Au,"__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(t){return Object.prototype.toString.call(t)==="[object Object]"}function r(t){var n,u;return e(t)===!1?!1:(n=t.constructor,n===void 0?!0:(u=n.prototype,!(e(u)===!1||u.hasOwnProperty("isPrototypeOf")===!1)))}return Au.isPlainObject=r,Au}var
|
|
37
|
-
`||D==="\f"||D==="\r"}function n(D){var y,E=D.exec(r.substring(b));if(E)return y=E[0],b+=y.length,y}for(var u=r.length,i=/^[ \t\n\r\u000c]+/,a=/^[, \t\n\r\u000c]+/,
|
|
38
|
-
`+E+
|
|
39
|
-
`+g+
|
|
36
|
+
*/function e(t){return Object.prototype.toString.call(t)==="[object Object]"}function r(t){var n,u;return e(t)===!1?!1:(n=t.constructor,n===void 0?!0:(u=n.prototype,!(e(u)===!1||u.hasOwnProperty("isPrototypeOf")===!1)))}return Au.isPlainObject=r,Au}var Gi,Yo;function o1(){if(Yo)return Gi;Yo=1;var e=function(w){return r(w)&&!t(w)};function r(g){return!!g&&typeof g=="object"}function t(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)?d(a(g),g,w):g}function h(g,w,v){return g.concat(w).map(function(D){return s(D,v)})}function c(g,w){if(!w.customMerge)return d;var v=w.customMerge(g);return typeof v=="function"?v:d}function l(g){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(g).filter(function(w){return Object.propertyIsEnumerable.call(g,w)}):[]}function p(g){return Object.keys(g).concat(l(g))}function o(g,w){try{return w in g}catch{return!1}}function f(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){f(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 d(g,w,v){v=v||{},v.arrayMerge=v.arrayMerge||h,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)}d.all=function(w,v){if(!Array.isArray(w))throw new Error("first argument should be an array");return w.reduce(function(D,y){return d(D,y,v)},{})};var b=d;return Gi=b,Gi}var Cu={exports:{}},c1=Cu.exports,Go;function l1(){return Go||(Go=1,function(e){(function(r,t){e.exports?e.exports=t():r.parseSrcset=t()})(c1,function(){return function(r){function t(D){return D===" "||D===" "||D===`
|
|
37
|
+
`||D==="\f"||D==="\r"}function n(D){var y,E=D.exec(r.substring(b));if(E)return y=E[0],b+=y.length,y}for(var u=r.length,i=/^[ \t\n\r\u000c]+/,a=/^[, \t\n\r\u000c]+/,s=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,c=/^\d+$/,l=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,p,o,f,m,d,b=0,g=[];;){if(n(a),b>=u)return g;p=n(s),o=[],p.slice(-1)===","?(p=p.replace(h,""),v()):w()}function w(){for(n(i),f="",m="in descriptor";;){if(d=r.charAt(b),m==="in descriptor")if(t(d))f&&(o.push(f),f="",m="after descriptor");else if(d===","){b+=1,f&&o.push(f),v();return}else if(d==="(")f=f+d,m="in parens";else if(d===""){f&&o.push(f),v();return}else f=f+d;else if(m==="in parens")if(d===")")f=f+d,m="in descriptor";else if(d===""){o.push(f),v();return}else f=f+d;else if(m==="after descriptor"&&!t(d))if(d===""){v();return}else m="in descriptor",b-=1;b+=1}}function v(){var D=!1,y,E,A,C,F={},x,T,_,P,B;for(C=0;C<o.length;C++)x=o[C],T=x[x.length-1],_=x.substring(0,x.length-1),P=parseInt(_,10),B=parseFloat(_),c.test(_)&&T==="w"?((y||E)&&(D=!0),P===0?D=!0:y=P):l.test(_)&&T==="x"?((y||E||A)&&(D=!0),B<0?D=!0:E=B):c.test(_)&&T==="h"?((A||E)&&(D=!0),P===0?D=!0:A=P):D=!0;D?console&&console.log&&console.log("Invalid srcset descriptor found in '"+r+"' at '"+x+"'."):(F.url=p,y&&(F.w=y),E&&(F.d=E),A&&(F.h=A),g.push(F))}}})}(Cu)),Cu.exports}var Tu={exports:{}},Xo;function f1(){if(Xo)return Tu.exports;Xo=1;var e=String,r=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 Tu.exports=r(),Tu.exports.createColors=r,Tu.exports}const nr=wf(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Xi,Qo;function Qi(){if(Qo)return Xi;Qo=1;let e=f1(),r=nr;class t extends Error{constructor(u,i,a,s,h,c){super(u),this.name="CssSyntaxError",this.reason=u,h&&(this.file=h),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,t)}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=f=>f,s=f=>f,h=f=>f;if(u){let{bold:f,gray:m,red:d}=e.createColors(!0);s=b=>f(d(b)),a=b=>m(b),r&&(h=b=>r(b))}let c=i.split(/\r?\n/),l=Math.max(this.line-3,0),p=Math.min(this.line+2,c.length),o=String(p).length;return c.slice(l,p).map((f,m)=>{let d=l+1+m,b=" "+(" "+d).slice(-o)+" | ";if(d===this.line){if(f.length>160){let w=20,v=Math.max(0,this.column-w),D=Math.max(this.column+w,this.endColumn+w),y=f.slice(v,D),E=a(b.replace(/\d/g," "))+f.slice(0,Math.min(this.column-1,w-1)).replace(/[^\t]/g," ");return s(">")+a(b)+h(y)+`
|
|
38
|
+
`+E+s("^")}let g=a(b.replace(/\d/g," "))+f.slice(0,this.column-1).replace(/[^\t]/g," ");return s(">")+a(b)+h(f)+`
|
|
39
|
+
`+g+s("^")}return" "+a(b)+h(f)}).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 Xi=t,t.default=t,Xi}var Zi,Zo;function Jo(){if(Zo)return Zi;Zo=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 r(n){return n[0].toUpperCase()+n.slice(1)}class t{constructor(u){this.builder=u}atrule(u,i){let a="@"+u.name,
|
|
49
|
-
`)){let
|
|
50
|
-
`)&&(i=i.replace(/[^\n]+$/,"")),!1}),i&&(i=i.replace(/\S/g,"")),i}rawBeforeComment(u,i){let a;return u.walkComments(
|
|
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(
|
|
48
|
+
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function r(n){return n[0].toUpperCase()+n.slice(1)}class t{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 h=(u.raws.between||"")+(i?";":"");this.builder(a+s+h,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,h=0;for(;s&&s.type!=="root";)h+=1,s=s.parent;if(a.includes(`
|
|
49
|
+
`)){let c=this.raw(u,null,"indent");if(c.length)for(let l=0;l<h;l++)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 h=u.nodes[s],c=this.raw(h,"before");c&&this.builder(c),this.stringify(h,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 h=u.parent;if(a==="before"&&(!h||h.type==="root"&&h.first===u||h&&h.type==="document"))return"";if(!h)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 l="raw"+r(a);this[l]?s=this[l](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
|
+
`)&&(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
|
+
`)&&(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
|
-
`)&&(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
|
|
54
|
-
`);return i=h[h.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],
|
|
55
|
-
`?(
|
|
56
|
-
`?(c=1,p+=1):c+=1;return{column:c,line:p}}prev(){if(!this.parent)return;let f=this.parent.index(this);return this.parent.nodes[f-1]}rangeBy(f){let c={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:c.column+1,line:c.line};if(f.word){let s="document"in this.source.input?this.source.input.document:this.source.input.css,m=s.slice(a(s,this.source.start),a(s,this.source.end)).indexOf(f.word);m!==-1&&(c=this.positionInside(m),p=this.positionInside(m+f.word.length))}else f.start?c={column:f.start.column,line:f.start.line}:f.index&&(c=this.positionInside(f.index)),f.end?p={column:f.end.column,line:f.end.line}:typeof f.endIndex=="number"?p=this.positionInside(f.endIndex):f.index&&(p=this.positionInside(f.index+1));return(p.line<c.line||p.line===c.line&&p.column<=c.column)&&(p={column:c.column+1,line:c.line}),{end:p,start:c}}raw(f,c){return new r().raw(this,f,c)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...f){if(this.parent){let c=this,p=!1;for(let s of f)s===this?p=!0:p?(this.parent.insertAfter(c,s),c=s):this.parent.insertBefore(c,s);p||this.remove()}return this}root(){let f=this;for(;f.parent&&f.parent.type!=="document";)f=f.parent;return f}toJSON(f,c){let p={},s=c==null;c=c||new Map;let d=0;for(let m in this){if(!Object.prototype.hasOwnProperty.call(this,m)||m==="parent"||m==="proxyCache")continue;let l=this[m];if(Array.isArray(l))p[m]=l.map(b=>typeof b=="object"&&b.toJSON?b.toJSON(null,c):b);else if(typeof l=="object"&&l.toJSON)p[m]=l.toJSON(null,c);else if(m==="source"){let b=c.get(l.input);b==null&&(b=d,c.set(l.input,d),d++),p[m]={end:l.end,inputId:b,start:l.start}}else p[m]=l}return s&&(p.inputs=[...c.keys()].map(m=>m.toJSON())),p}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(f=t){f.stringify&&(f=f.stringify);let c="";return f(this,p=>{c+=p}),c}warn(f,c,p){let s={node:this};for(let d in p)s[d]=p[d];return f.warn(c,s)}}return Ki=o,o.default=o,Ki}var ea,rc;function Ou(){if(rc)return ea;rc=1;let e=_u();class r extends e{constructor(n){super(n),this.type="comment"}}return ea=r,r.default=r,ea}var ta,nc;function Nu(){if(nc)return ta;nc=1;let e=_u();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 ta=r,r.default=r,ta}var ra,uc;function Jr(){if(uc)return ra;uc=1;let e=Ou(),r=Nu(),t=_u(),{isClean:n,my:u}=Ji(),i,a,o,h;function f(s){return s.map(d=>(d.nodes&&(d.nodes=f(d.nodes)),delete d.source,d))}function c(s){if(s[n]=!1,s.proxyOf.nodes)for(let d of s.proxyOf.nodes)c(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 l=this.normalize(m,this.last);for(let b of l)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(),l,b;for(;this.indexes[m]<this.proxyOf.nodes.length&&(l=this.indexes[m],b=d(this.proxyOf.nodes[l],l),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")?(...l)=>d[m](...l.map(b=>typeof b=="function"?(g,w)=>b(g.toProxy(),w):b)):m==="every"||m==="some"?l=>d[m]((b,...g)=>l(b.toProxy(),...g)):m==="root"?()=>d.root().toProxy():m==="nodes"?d.nodes.map(l=>l.toProxy()):m==="first"||m==="last"?d[m].toProxy():d[m]:d[m]},set(d,m,l){return d[m]===l||(d[m]=l,(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 l=this.index(d),b=this.normalize(m,this.proxyOf.nodes[l]).reverse();l=this.index(d);for(let w of b)this.proxyOf.nodes.splice(l+1,0,w);let g;for(let w in this.indexes)g=this.indexes[w],l<g&&(this.indexes[w]=g+b.length);return this.markDirty(),this}insertBefore(d,m){let l=this.index(d),b=l===0?"prepend":!1,g=this.normalize(m,this.proxyOf.nodes[l],b).reverse();l=this.index(d);for(let v of g)this.proxyOf.nodes.splice(l,0,v);let w;for(let v in this.indexes)w=this.indexes[v],l<=w&&(this.indexes[v]=w+g.length);return this.markDirty(),this}normalize(d,m){if(typeof d=="string")d=f(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 h(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]&&c(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 l=this.normalize(m,this.first,"prepend").reverse();for(let b of l)this.proxyOf.nodes.unshift(b);for(let b in this.indexes)this.indexes[b]=this.indexes[b]+l.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 l in this.indexes)m=this.indexes[l],m>=d&&(this.indexes[l]=m-1);return this.markDirty(),this}replaceValues(d,m,l){return l||(l=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,l))}),this.markDirty(),this}some(d){return this.nodes.some(d)}walk(d){return this.each((m,l)=>{let b;try{b=d(m,l)}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((l,b)=>{if(l.type==="atrule"&&d.test(l.name))return m(l,b)}):this.walk((l,b)=>{if(l.type==="atrule"&&l.name===d)return m(l,b)}):(m=d,this.walk((l,b)=>{if(l.type==="atrule")return m(l,b)}))}walkComments(d){return this.walk((m,l)=>{if(m.type==="comment")return d(m,l)})}walkDecls(d,m){return m?d instanceof RegExp?this.walk((l,b)=>{if(l.type==="decl"&&d.test(l.prop))return m(l,b)}):this.walk((l,b)=>{if(l.type==="decl"&&l.prop===d)return m(l,b)}):(m=d,this.walk((l,b)=>{if(l.type==="decl")return m(l,b)}))}walkRules(d,m){return m?d instanceof RegExp?this.walk((l,b)=>{if(l.type==="rule"&&d.test(l.selector))return m(l,b)}):this.walk((l,b)=>{if(l.type==="rule"&&l.selector===d)return m(l,b)}):(m=d,this.walk((l,b)=>{if(l.type==="rule")return m(l,b)}))}}return p.registerParse=s=>{a=s},p.registerRule=s=>{h=s},p.registerAtRule=s=>{i=s},p.registerRoot=s=>{o=s},ra=p,p.default=p,p.rebuild=s=>{s.type==="atrule"?Object.setPrototypeOf(s,i.prototype):s.type==="rule"?Object.setPrototypeOf(s,h.prototype):s.type==="decl"?Object.setPrototypeOf(s,r.prototype):s.type==="comment"?Object.setPrototypeOf(s,e.prototype):s.type==="root"&&Object.setPrototypeOf(s,o.prototype),s[u]=!0,s.nodes&&s.nodes.forEach(d=>{p.rebuild(d)})},ra}var na,ic;function ua(){if(ic)return na;ic=1;let e=Jr();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 na=r,r.default=r,e.registerAtRule(r),na}var ia,ac;function aa(){if(ac)return ia;ac=1;let e=Jr(),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},ia=n,n.default=n,ia}var oa,oc;function d1(){if(oc)return oa;oc=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return oa={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="",o=i|0;for(;o--;)a+=n[Math.random()*n.length|0];return a}},oa}var sa,sc;function cc(){if(sc)return sa;sc=1;let{existsSync:e,readFileSync:r}=nr,{dirname:t,join:n}=nr,{SourceMapConsumer:u,SourceMapGenerator:i}=nr;function a(h){return Buffer?Buffer.from(h,"base64").toString():window.atob(h)}class o{constructor(f,c){if(c.map===!1)return;this.loadAnnotation(f),this.inline=this.startWith(this.annotation,"data:");let p=c.map?c.map.prev:void 0,s=this.loadMap(c.from,p);!this.mapFile&&c.from&&(this.mapFile=c.from),this.mapFile&&(this.root=t(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new u(this.text)),this.consumerCache}decodeInline(f){let c=/^data:application\/json;charset=utf-?8;base64,/,p=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,d=/^data:application\/json,/,m=f.match(s)||f.match(d);if(m)return decodeURIComponent(f.substr(m[0].length));let l=f.match(c)||f.match(p);if(l)return a(f.substr(l[0].length));let b=f.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+b)}getAnnotationURL(f){return f.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(f){return typeof f!="object"?!1:typeof f.mappings=="string"||typeof f._mappings=="string"||Array.isArray(f.sections)}loadAnnotation(f){let c=f.match(/\/\*\s*# sourceMappingURL=/g);if(!c)return;let p=f.lastIndexOf(c.pop()),s=f.indexOf("*/",p);p>-1&&s>-1&&(this.annotation=this.getAnnotationURL(f.substring(p,s)))}loadFile(f){if(this.root=t(f),e(f))return this.mapFile=f,r(f,"utf-8").toString().trim()}loadMap(f,c){if(c===!1)return!1;if(c){if(typeof c=="string")return c;if(typeof c=="function"){let p=c(f);if(p){let s=this.loadFile(p);if(!s)throw new Error("Unable to load previous source map: "+p.toString());return s}}else{if(c instanceof u)return i.fromSourceMap(c).toString();if(c instanceof i)return c.toString();if(this.isMap(c))return JSON.stringify(c);throw new Error("Unsupported previous source map format: "+c.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let p=this.annotation;return f&&(p=n(t(f),p)),this.loadFile(p)}}}startWith(f,c){return f?f.substr(0,c.length)===c:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return sa=o,o.default=o,sa}var ca,fc;function Mu(){if(fc)return ca;fc=1;let{nanoid:e}=d1(),{isAbsolute:r,resolve:t}=nr,{SourceMapConsumer:n,SourceMapGenerator:u}=nr,{fileURLToPath:i,pathToFileURL:a}=nr,o=Xi(),h=cc(),f=nr,c=Symbol("fromOffsetCache"),p=!!(n&&u),s=!!(t&&r);class d{get from(){return this.file||this.id}constructor(l,b={}){if(l===null||typeof l>"u"||typeof l=="object"&&!l.toString)throw new Error(`PostCSS received ${l} instead of CSS string`);if(this.css=l.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&&(!s||/^\w+:\/\//.test(b.from)||r(b.from)?this.file=b.from:this.file=t(b.from)),s&&p){let g=new h(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(l,b,g,w={}){let v,D,y;if(b&&typeof b=="object"){let A=b,C=g;if(typeof A.offset=="number"){let F=this.fromOffset(A.offset);b=F.line,g=F.col}else b=A.line,g=A.column;if(typeof C.offset=="number"){let F=this.fromOffset(C.offset);D=F.line,v=F.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 o(l,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 o(l,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(l){let b,g;if(this[c])g=this[c];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[
|
|
58
|
-
`," "];return e.split(r,t)},split(r,t,n){let u=[],i="",a=!1,
|
|
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 h=a.raws.before.split(`
|
|
54
|
+
`);return i=h[h.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 Zi=t,t.default=t,Zi}var Ji,Ko;function Su(){if(Ko)return Ji;Ko=1;let e=Jo();function r(t,n){new e(n).stringify(t)}return Ji=r,r.default=r,Ji}var Fu={},ec;function Ki(){return ec||(ec=1,Fu.isClean=Symbol("isClean"),Fu.my=Symbol("my")),Fu}var ea,tc;function _u(){if(tc)return ea;tc=1;let e=Qi(),r=Jo(),t=Su(),{isClean:n,my:u}=Ki();function i(h,c){let l=new h.constructor;for(let p in h){if(!Object.prototype.hasOwnProperty.call(h,p)||p==="proxyCache")continue;let o=h[p],f=typeof o;p==="parent"&&f==="object"?c&&(l[p]=c):p==="source"?l[p]=o:Array.isArray(o)?l[p]=o.map(m=>i(m,l)):(f==="object"&&o!==null&&(o=i(o)),l[p]=o)}return l}function a(h,c){if(c&&typeof c.offset<"u")return c.offset;let l=1,p=1,o=0;for(let f=0;f<h.length;f++){if(p===c.line&&l===c.column){o=f;break}h[f]===`
|
|
55
|
+
`?(l=1,p+=1):l+=1}return o}class s{get proxyOf(){return this}constructor(c={}){this.raws={},this[n]=!1,this[u]=!0;for(let l in c)if(l==="nodes"){this.nodes=[];for(let p of c[l])typeof p.clone=="function"?this.append(p.clone()):this.append(p)}else this[l]=c[l]}addToError(c){if(c.postcssNode=this,c.stack&&this.source&&/\n\s{4}at /.test(c.stack)){let l=this.source;c.stack=c.stack.replace(/\n\s{4}at /,`$&${l.input.from}:${l.start.line}:${l.start.column}$&`)}return c}after(c){return this.parent.insertAfter(this,c),this}assign(c={}){for(let l in c)this[l]=c[l];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 l=i(this);for(let p in c)l[p]=c[p];return l}cloneAfter(c={}){let l=this.clone(c);return this.parent.insertAfter(this,l),l}cloneBefore(c={}){let l=this.clone(c);return this.parent.insertBefore(this,l),l}error(c,l={}){if(this.source){let{end:p,start:o}=this.rangeBy(l);return this.source.input.error(c,{column:o.column,line:o.line},{column:p.column,line:p.line},l)}return new e(c)}getProxyProcessor(){return{get(c,l){return l==="proxyOf"?c:l==="root"?()=>c.root().toProxy():c[l]},set(c,l,p){return c[l]===p||(c[l]=p,(l==="prop"||l==="value"||l==="name"||l==="params"||l==="important"||l==="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 l=this.source.start;if(c.index)l=this.positionInside(c.index);else if(c.word){let p="document"in this.source.input?this.source.input.document:this.source.input.css,f=p.slice(a(p,this.source.start),a(p,this.source.end)).indexOf(c.word);f!==-1&&(l=this.positionInside(f))}return l}positionInside(c){let l=this.source.start.column,p=this.source.start.line,o="document"in this.source.input?this.source.input.document:this.source.input.css,f=a(o,this.source.start),m=f+c;for(let d=f;d<m;d++)o[d]===`
|
|
56
|
+
`?(l=1,p+=1):l+=1;return{column:l,line:p}}prev(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c-1]}rangeBy(c){let l={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:l.column+1,line:l.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&&(l=this.positionInside(m),p=this.positionInside(m+c.word.length))}else c.start?l={column:c.start.column,line:c.start.line}:c.index&&(l=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<l.line||p.line===l.line&&p.column<=l.column)&&(p={column:l.column+1,line:l.line}),{end:p,start:l}}raw(c,l){return new r().raw(this,c,l)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...c){if(this.parent){let l=this,p=!1;for(let o of c)o===this?p=!0:p?(this.parent.insertAfter(l,o),l=o):this.parent.insertBefore(l,o);p||this.remove()}return this}root(){let c=this;for(;c.parent&&c.parent.type!=="document";)c=c.parent;return c}toJSON(c,l){let p={},o=l==null;l=l||new Map;let f=0;for(let m in this){if(!Object.prototype.hasOwnProperty.call(this,m)||m==="parent"||m==="proxyCache")continue;let d=this[m];if(Array.isArray(d))p[m]=d.map(b=>typeof b=="object"&&b.toJSON?b.toJSON(null,l):b);else if(typeof d=="object"&&d.toJSON)p[m]=d.toJSON(null,l);else if(m==="source"){let b=l.get(d.input);b==null&&(b=f,l.set(d.input,f),f++),p[m]={end:d.end,inputId:b,start:d.start}}else p[m]=d}return o&&(p.inputs=[...l.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 l="";return c(this,p=>{l+=p}),l}warn(c,l,p){let o={node:this};for(let f in p)o[f]=p[f];return c.warn(l,o)}}return ea=s,s.default=s,ea}var ta,rc;function Ou(){if(rc)return ta;rc=1;let e=_u();class r extends e{constructor(n){super(n),this.type="comment"}}return ta=r,r.default=r,ta}var ra,nc;function Nu(){if(nc)return ra;nc=1;let e=_u();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 ra=r,r.default=r,ra}var na,uc;function Zr(){if(uc)return na;uc=1;let e=Ou(),r=Nu(),t=_u(),{isClean:n,my:u}=Ki(),i,a,s,h;function c(o){return o.map(f=>(f.nodes&&(f.nodes=c(f.nodes)),delete f.source,f))}function l(o){if(o[n]=!1,o.proxyOf.nodes)for(let f of o.proxyOf.nodes)l(f)}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(...f){for(let m of f){let d=this.normalize(m,this.last);for(let b of d)this.proxyOf.nodes.push(b)}return this.markDirty(),this}cleanRaws(f){if(super.cleanRaws(f),this.nodes)for(let m of this.nodes)m.cleanRaws(f)}each(f){if(!this.proxyOf.nodes)return;let m=this.getIterator(),d,b;for(;this.indexes[m]<this.proxyOf.nodes.length&&(d=this.indexes[m],b=f(this.proxyOf.nodes[d],d),b!==!1);)this.indexes[m]+=1;return delete this.indexes[m],b}every(f){return this.nodes.every(f)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let f=this.lastEach;return this.indexes[f]=0,f}getProxyProcessor(){return{get(f,m){return m==="proxyOf"?f:f[m]?m==="each"||typeof m=="string"&&m.startsWith("walk")?(...d)=>f[m](...d.map(b=>typeof b=="function"?(g,w)=>b(g.toProxy(),w):b)):m==="every"||m==="some"?d=>f[m]((b,...g)=>d(b.toProxy(),...g)):m==="root"?()=>f.root().toProxy():m==="nodes"?f.nodes.map(d=>d.toProxy()):m==="first"||m==="last"?f[m].toProxy():f[m]:f[m]},set(f,m,d){return f[m]===d||(f[m]=d,(m==="name"||m==="params"||m==="selector")&&f.markDirty()),!0}}}index(f){return typeof f=="number"?f:(f.proxyOf&&(f=f.proxyOf),this.proxyOf.nodes.indexOf(f))}insertAfter(f,m){let d=this.index(f),b=this.normalize(m,this.proxyOf.nodes[d]).reverse();d=this.index(f);for(let w of b)this.proxyOf.nodes.splice(d+1,0,w);let g;for(let w in this.indexes)g=this.indexes[w],d<g&&(this.indexes[w]=g+b.length);return this.markDirty(),this}insertBefore(f,m){let d=this.index(f),b=d===0?"prepend":!1,g=this.normalize(m,this.proxyOf.nodes[d],b).reverse();d=this.index(f);for(let v of g)this.proxyOf.nodes.splice(d,0,v);let w;for(let v in this.indexes)w=this.indexes[v],d<=w&&(this.indexes[v]=w+g.length);return this.markDirty(),this}normalize(f,m){if(typeof f=="string")f=c(a(f).nodes);else if(typeof f>"u")f=[];else if(Array.isArray(f)){f=f.slice(0);for(let b of f)b.parent&&b.parent.removeChild(b,"ignore")}else if(f.type==="root"&&this.type!=="document"){f=f.nodes.slice(0);for(let b of f)b.parent&&b.parent.removeChild(b,"ignore")}else if(f.type)f=[f];else if(f.prop){if(typeof f.value>"u")throw new Error("Value field is missed in node creation");typeof f.value!="string"&&(f.value=String(f.value)),f=[new r(f)]}else if(f.selector||f.selectors)f=[new h(f)];else if(f.name)f=[new i(f)];else if(f.text)f=[new e(f)];else throw new Error("Unknown node type in node creation");return f.map(b=>(b[u]||p.rebuild(b),b=b.proxyOf,b.parent&&b.parent.removeChild(b),b[n]&&l(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(...f){f=f.reverse();for(let m of f){let d=this.normalize(m,this.first,"prepend").reverse();for(let b of d)this.proxyOf.nodes.unshift(b);for(let b in this.indexes)this.indexes[b]=this.indexes[b]+d.length}return this.markDirty(),this}push(f){return f.parent=this,this.proxyOf.nodes.push(f),this}removeAll(){for(let f of this.proxyOf.nodes)f.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(f){f=this.index(f),this.proxyOf.nodes[f].parent=void 0,this.proxyOf.nodes.splice(f,1);let m;for(let d in this.indexes)m=this.indexes[d],m>=f&&(this.indexes[d]=m-1);return this.markDirty(),this}replaceValues(f,m,d){return d||(d=m,m={}),this.walkDecls(b=>{m.props&&!m.props.includes(b.prop)||m.fast&&!b.value.includes(m.fast)||(b.value=b.value.replace(f,d))}),this.markDirty(),this}some(f){return this.nodes.some(f)}walk(f){return this.each((m,d)=>{let b;try{b=f(m,d)}catch(g){throw m.addToError(g)}return b!==!1&&m.walk&&(b=m.walk(f)),b})}walkAtRules(f,m){return m?f instanceof RegExp?this.walk((d,b)=>{if(d.type==="atrule"&&f.test(d.name))return m(d,b)}):this.walk((d,b)=>{if(d.type==="atrule"&&d.name===f)return m(d,b)}):(m=f,this.walk((d,b)=>{if(d.type==="atrule")return m(d,b)}))}walkComments(f){return this.walk((m,d)=>{if(m.type==="comment")return f(m,d)})}walkDecls(f,m){return m?f instanceof RegExp?this.walk((d,b)=>{if(d.type==="decl"&&f.test(d.prop))return m(d,b)}):this.walk((d,b)=>{if(d.type==="decl"&&d.prop===f)return m(d,b)}):(m=f,this.walk((d,b)=>{if(d.type==="decl")return m(d,b)}))}walkRules(f,m){return m?f instanceof RegExp?this.walk((d,b)=>{if(d.type==="rule"&&f.test(d.selector))return m(d,b)}):this.walk((d,b)=>{if(d.type==="rule"&&d.selector===f)return m(d,b)}):(m=f,this.walk((d,b)=>{if(d.type==="rule")return m(d,b)}))}}return p.registerParse=o=>{a=o},p.registerRule=o=>{h=o},p.registerAtRule=o=>{i=o},p.registerRoot=o=>{s=o},na=p,p.default=p,p.rebuild=o=>{o.type==="atrule"?Object.setPrototypeOf(o,i.prototype):o.type==="rule"?Object.setPrototypeOf(o,h.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(f=>{p.rebuild(f)})},na}var ua,ic;function ia(){if(ic)return ua;ic=1;let e=Zr();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 ua=r,r.default=r,e.registerAtRule(r),ua}var aa,ac;function sa(){if(ac)return aa;ac=1;let e=Zr(),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},aa=n,n.default=n,aa}var oa,sc;function d1(){if(sc)return oa;sc=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return oa={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}},oa}var ca,oc;function cc(){if(oc)return ca;oc=1;let{existsSync:e,readFileSync:r}=nr,{dirname:t,join:n}=nr,{SourceMapConsumer:u,SourceMapGenerator:i}=nr;function a(h){return Buffer?Buffer.from(h,"base64").toString():window.atob(h)}class s{constructor(c,l){if(l.map===!1)return;this.loadAnnotation(c),this.inline=this.startWith(this.annotation,"data:");let p=l.map?l.map.prev:void 0,o=this.loadMap(l.from,p);!this.mapFile&&l.from&&(this.mapFile=l.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 l=/^data:application\/json;charset=utf-?8;base64,/,p=/^data:application\/json;base64,/,o=/^data:application\/json;charset=utf-?8,/,f=/^data:application\/json,/,m=c.match(o)||c.match(f);if(m)return decodeURIComponent(c.substr(m[0].length));let d=c.match(l)||c.match(p);if(d)return a(c.substr(d[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 l=c.match(/\/\*\s*# sourceMappingURL=/g);if(!l)return;let p=c.lastIndexOf(l.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,l){if(l===!1)return!1;if(l){if(typeof l=="string")return l;if(typeof l=="function"){let p=l(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(l instanceof u)return i.fromSourceMap(l).toString();if(l instanceof i)return l.toString();if(this.isMap(l))return JSON.stringify(l);throw new Error("Unsupported previous source map format: "+l.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,l){return c?c.substr(0,l.length)===l:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return ca=s,s.default=s,ca}var la,lc;function Mu(){if(lc)return la;lc=1;let{nanoid:e}=d1(),{isAbsolute:r,resolve:t}=nr,{SourceMapConsumer:n,SourceMapGenerator:u}=nr,{fileURLToPath:i,pathToFileURL:a}=nr,s=Qi(),h=cc(),c=nr,l=Symbol("fromOffsetCache"),p=!!(n&&u),o=!!(t&&r);class f{get from(){return this.file||this.id}constructor(d,b={}){if(d===null||typeof d>"u"||typeof d=="object"&&!d.toString)throw new Error(`PostCSS received ${d} instead of CSS string`);if(this.css=d.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)||r(b.from)?this.file=b.from:this.file=t(b.from)),o&&p){let g=new h(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(d,b,g,w={}){let v,D,y;if(b&&typeof b=="object"){let A=b,C=g;if(typeof A.offset=="number"){let F=this.fromOffset(A.offset);b=F.line,g=F.col}else b=A.line,g=A.column;if(typeof C.offset=="number"){let F=this.fromOffset(C.offset);D=F.line,v=F.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(d,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(d,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(d){let b,g;if(this[l])g=this[l];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[l]=g}b=g[g.length-1];let w=0;if(d>=b)w=g.length-1;else{let v=g.length-2,D;for(;w<v;)if(D=w+(v-w>>1),d<g[D])v=D-1;else if(d>=g[D+1])w=D+1;else{w=D;break}}return{col:d-g[w]+1,line:w+1}}mapResolve(d){return/^\w+:\/\//.test(d)?d:t(this.map.consumer().sourceRoot||this.map.root||".",d)}origin(d,b,g,w){if(!this.map)return!1;let v=this.map.consumer(),D=v.originalPositionFor({column:b,line:d});if(!D.source)return!1;let y;typeof g=="number"&&(y=v.originalPositionFor({column:w,line:g}));let E;r(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 d={};for(let b of["hasBOM","css","file","id"])this[b]!=null&&(d[b]=this[b]);return this.map&&(d.map={...this.map},d.map.consumerCache&&(d.map.consumerCache=void 0)),d}}return la=f,f.default=f,c&&c.registerInput&&c.registerInput(f),la}var fa,fc;function $n(){if(fc)return fa;fc=1;let e=Zr(),r,t;class n extends e{constructor(i){super(i),this.type="root",this.nodes||(this.nodes=[])}normalize(i,a,s){let h=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 h)c.raws.before=a.raws.before}return h}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 r(new t,this,i).stringify()}}return n.registerLazyResult=u=>{r=u},n.registerProcessor=u=>{t=u},fa=n,n.default=n,e.registerRoot(n),fa}var da,dc;function hc(){if(dc)return da;dc=1;let e={comma(r){return e.split(r,[","],!0)},space(r){let t=[" ",`
|
|
58
|
+
`," "];return e.split(r,t)},split(r,t,n){let u=[],i="",a=!1,s=0,h=!1,c="",l=!1;for(let p of r)l?l=!1:p==="\\"?l=!0:h?p===c&&(h=!1):p==='"'||p==="'"?(h=!0,c=p):p==="("?s+=1:p===")"?s>0&&(s-=1):s===0&&t.includes(p)&&(a=!0),a?(i!==""&&u.push(i.trim()),i="",a=!1):i+=p;return(n||i!=="")&&u.push(i.trim()),u}};return da=e,e.default=e,da}var ha,pc;function pa(){if(pc)return ha;pc=1;let e=Zr(),r=hc();class t extends e{get selectors(){return r.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 ha=t,t.default=t,e.registerRule(t),ha}var ma,mc;function h1(){if(mc)return ma;mc=1;let e=ia(),r=Ou(),t=Nu(),n=Mu(),u=cc(),i=$n(),a=pa();function s(h,c){if(Array.isArray(h))return h.map(o=>s(o));let{inputs:l,...p}=h;if(l){c=[];for(let o of l){let f={...o,__proto__:n.prototype};f.map&&(f.map={...f.map,__proto__:u.prototype}),c.push(f)}}if(p.nodes&&(p.nodes=h.nodes.map(o=>s(o,c))),p.source){let{inputId:o,...f}=p.source;p.source=f,o!=null&&(p.source.input=c[o])}if(p.type==="root")return new i(p);if(p.type==="decl")return new t(p);if(p.type==="rule")return new a(p);if(p.type==="comment")return new r(p);if(p.type==="atrule")return new e(p);throw new Error("Unknown node type: "+h.type)}return ma=s,s.default=s,ma}var ga,gc;function bc(){if(gc)return ga;gc=1;let{dirname:e,relative:r,resolve:t,sep:n}=nr,{SourceMapConsumer:u,SourceMapGenerator:i}=nr,{pathToFileURL:a}=nr,s=Mu(),h=!!(u&&i),c=!!(e&&t&&r&&n);class l{constructor(o,f,m,d){this.stringify=o,this.mapOpts=m.map||{},this.root=f,this.opts=m,this.css=d,this.originalCSS=d,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 f=`
|
|
59
59
|
`;this.css.includes(`\r
|
|
60
|
-
`)&&(
|
|
61
|
-
`),this.css+=
|
|
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?(l.source=this.sourcePath(v),l.original.line=v.source.end.line,l.original.column=v.source.end.column-1,l.generated.line=s,l.generated.column=d-2,this.map.addMapping(l)):(l.source=m,l.original.line=1,l.original.column=0,l.generated.line=s,l.generated.column=d-1,this.map.addMapping(l)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(s=>s.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let s=this.mapOpts.annotation;return typeof s<"u"&&s!==!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(s=>s.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(s){if(this.mapOpts.absolute||s.charCodeAt(0)===60||/^\w+:\/\//.test(s))return s;let d=this.memoizedPaths.get(s);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 l=r(m,s);return this.memoizedPaths.set(s,l),l}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(s=>{if(s.source&&s.source.input.map){let d=s.source.input.map;this.previousMaps.includes(d)||this.previousMaps.push(d)}});else{let s=new o(this.originalCSS,this.opts);s.map&&this.previousMaps.push(s.map)}return this.previousMaps}setSourcesContent(){let s={};if(this.root)this.root.walk(d=>{if(d.source){let m=d.source.input.from;if(m&&!s[m]){s[m]=!0;let l=this.usesFileUrls?this.toFileUrl(m):this.toUrl(this.path(m));this.map.setSourceContent(l,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(s){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(s.source.input.from):this.toUrl(this.path(s.source.input.from))}toBase64(s){return Buffer?Buffer.from(s).toString("base64"):window.btoa(unescape(encodeURIComponent(s)))}toFileUrl(s){let d=this.memoizedFileURLs.get(s);if(d)return d;if(a){let m=a(s).toString();return this.memoizedFileURLs.set(s,m),m}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(s){let d=this.memoizedURLs.get(s);if(d)return d;n==="\\"&&(s=s.replace(/\\/g,"/"));let m=encodeURI(s).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(s,m),m}}return ma=c,ma}var ga,yc;function p1(){if(yc)return ga;yc=1;const e=39,r=34,t=92,n=47,u=10,i=32,a=12,o=9,h=13,f=91,c=93,p=40,s=41,d=123,m=125,l=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 ga=function(C,F={}){let x=C.css.valueOf(),T=F.ignoreErrors,_,P,B,N,I,J,re,ie,L,Z,ce=x.length,Y=0,oe=[],de=[];function he(){return Y}function se(q){throw C.error("Unclosed "+q,Y)}function be(){return de.length===0&&Y>=ce}function ye(q){if(de.length)return de.pop();if(Y>=ce)return;let k=q?q.ignoreUnclosed:!1;switch(_=x.charCodeAt(Y),_){case u:case i:case o:case h:case a:{N=Y;do N+=1,_=x.charCodeAt(N);while(_===i||_===u||_===o||_===h||_===a);J=["space",x.slice(Y,N)],Y=N-1;break}case f:case c:case d:case m:case g:case l:case s:{let W=String.fromCharCode(_);J=[W,W,Y];break}case p:{if(Z=oe.length?oe.pop()[1]:"",L=x.charCodeAt(Y+1),Z==="url"&&L!==e&&L!==r&&L!==i&&L!==u&&L!==o&&L!==a&&L!==h){N=Y;do{if(re=!1,N=x.indexOf(")",N+1),N===-1)if(T||k){N=Y;break}else se("bracket");for(ie=N;x.charCodeAt(ie-1)===t;)ie-=1,re=!re}while(re);J=["brackets",x.slice(Y,N+1),Y,N],Y=N}else N=x.indexOf(")",Y+1),P=x.slice(Y,N+1),N===-1||y.test(P)?J=["(","(",Y]:(J=["brackets",P,Y,N],Y=N);break}case e:case r:{I=_===e?"'":'"',N=Y;do{if(re=!1,N=x.indexOf(I,N+1),N===-1)if(T||k){N=Y+1;break}else se("string");for(ie=N;x.charCodeAt(ie-1)===t;)ie-=1,re=!re}while(re);J=["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,J=["at-word",x.slice(Y,N+1),Y,N],Y=N;break}case t:{for(N=Y,B=!0;x.charCodeAt(N+1)===t;)N+=1,B=!B;if(_=x.charCodeAt(N+1),B&&_!==n&&_!==i&&_!==u&&_!==o&&_!==h&&_!==a&&(N+=1,E.test(x.charAt(N)))){for(;E.test(x.charAt(N+1));)N+=1;x.charCodeAt(N+1)===i&&(N+=1)}J=["word",x.slice(Y,N+1),Y,N],Y=N;break}default:{_===n&&x.charCodeAt(Y+1)===b?(N=x.indexOf("*/",Y+2)+1,N===0&&(T||k?N=x.length:se("comment")),J=["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,J=["word",x.slice(Y,N+1),Y,N],oe.push(J),Y=N);break}}return Y++,J}function ve(q){de.push(q)}return{back:ve,endOfFile:be,nextToken:ye,position:he}},ga}var ba,vc;function m1(){if(vc)return ba;vc=1;let e=ua(),r=Ou(),t=Nu(),n=$n(),u=ha(),i=p1();const a={empty:!0,space:!0};function o(f){for(let c=f.length-1;c>=0;c--){let p=f[c],s=p[3]||p[2];if(s)return s}}class h{constructor(c){this.input=c,this.root=new n,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:c,start:{column:1,line:1,offset:0}}}atrule(c){let p=new e;p.name=c[1].slice(1),p.name===""&&this.unnamedAtrule(p,c),this.init(p,c[2]);let s,d,m,l=!1,b=!1,g=[],w=[];for(;!this.tokenizer.endOfFile();){if(c=this.tokenizer.nextToken(),s=c[0],s==="("||s==="["?w.push(s==="("?")":"]"):s==="{"&&w.length>0?w.push("}"):s===w[w.length-1]&&w.pop(),w.length===0)if(s===";"){p.source.end=this.getPosition(c[2]),p.source.end.offset++,this.semicolon=!0;break}else if(s==="{"){b=!0;break}else if(s==="}"){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(c);break}else g.push(c);else g.push(c);if(this.tokenizer.endOfFile()){l=!0;break}}p.raws.between=this.spacesAndCommentsFromEnd(g),g.length?(p.raws.afterName=this.spacesAndCommentsFromStart(g),this.raw(p,"params",g),l&&(c=g[g.length-1],p.source.end=this.getPosition(c[3]||c[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(c){let p=this.colon(c);if(p===!1)return;let s=0,d;for(let m=p-1;m>=0&&(d=c[m],!(d[0]!=="space"&&(s+=1,s===2)));m--);throw this.input.error("Missed semicolon",d[0]==="word"?d[3]+1:d[2])}colon(c){let p=0,s,d,m;for(let[l,b]of c.entries()){if(d=b,m=d[0],m==="("&&(p+=1),m===")"&&(p-=1),p===0&&m===":")if(!s)this.doubleColon(d);else{if(s[0]==="word"&&s[1]==="progid")continue;return l}s=d}return!1}comment(c){let p=new r;this.init(p,c[2]),p.source.end=this.getPosition(c[3]||c[2]),p.source.end.offset++;let s=c[1].slice(2,-2);if(/^\s*$/.test(s))p.text="",p.raws.left=s,p.raws.right="";else{let d=s.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(c,p){let s=new t;this.init(s,c[0][2]);let d=c[c.length-1];for(d[0]===";"&&(this.semicolon=!0,c.pop()),s.source.end=this.getPosition(d[3]||d[2]||o(c)),s.source.end.offset++;c[0][0]!=="word";)c.length===1&&this.unknownWord(c),s.raws.before+=c.shift()[1];for(s.source.start=this.getPosition(c[0][2]),s.prop="";c.length;){let w=c[0][0];if(w===":"||w==="space"||w==="comment")break;s.prop+=c.shift()[1]}s.raws.between="";let m;for(;c.length;)if(m=c.shift(),m[0]===":"){s.raws.between+=m[1];break}else m[0]==="word"&&/\w/.test(m[1])&&this.unknownWord([m]),s.raws.between+=m[1];(s.prop[0]==="_"||s.prop[0]==="*")&&(s.raws.before+=s.prop[0],s.prop=s.prop.slice(1));let l=[],b;for(;c.length&&(b=c[0][0],!(b!=="space"&&b!=="comment"));)l.push(c.shift());this.precheckMissedSemicolon(c);for(let w=c.length-1;w>=0;w--){if(m=c[w],m[1].toLowerCase()==="!important"){s.important=!0;let v=this.stringFrom(c,w);v=this.spacesFromEnd(c)+v,v!==" !important"&&(s.raws.important=v);break}else if(m[1].toLowerCase()==="important"){let v=c.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("!")&&(s.important=!0,s.raws.important=D,c=v)}if(m[0]!=="space"&&m[0]!=="comment")break}c.some(w=>w[0]!=="space"&&w[0]!=="comment")&&(s.raws.between+=l.map(w=>w[1]).join(""),l=[]),this.raw(s,"value",l.concat(c),p),s.value.includes(":")&&!p&&this.checkMissedSemicolon(c)}doubleColon(c){throw this.input.error("Double colon",{offset:c[2]},{offset:c[2]+c[1].length})}emptyRule(c){let p=new u;this.init(p,c[2]),p.selector="",p.raws.between="",this.current=p}end(c){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(c[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(c)}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(c){if(this.spaces+=c[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(c[2]),p.source.end.offset+=p.raws.ownSemicolon.length)}}getPosition(c){let p=this.input.fromOffset(c);return{column:p.col,line:p.line,offset:c}}init(c,p){this.current.push(c),c.source={input:this.input,start:this.getPosition(p)},c.raws.before=this.spaces,this.spaces="",c.type!=="comment"&&(this.semicolon=!1)}other(c){let p=!1,s=null,d=!1,m=null,l=[],b=c[1].startsWith("--"),g=[],w=c;for(;w;){if(s=w[0],g.push(w),s==="("||s==="[")m||(m=w),l.push(s==="("?")":"]");else if(b&&d&&s==="{")m||(m=w),l.push("}");else if(l.length===0)if(s===";")if(d){this.decl(g,b);return}else break;else if(s==="{"){this.rule(g);return}else if(s==="}"){this.tokenizer.back(g.pop()),p=!0;break}else s===":"&&(d=!0);else s===l[l.length-1]&&(l.pop(),l.length===0&&(m=null));w=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(p=!0),l.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 c;for(;!this.tokenizer.endOfFile();)switch(c=this.tokenizer.nextToken(),c[0]){case"space":this.spaces+=c[1];break;case";":this.freeSemicolon(c);break;case"}":this.end(c);break;case"comment":this.comment(c);break;case"at-word":this.atrule(c);break;case"{":this.emptyRule(c);break;default:this.other(c);break}this.endFile()}precheckMissedSemicolon(){}raw(c,p,s,d){let m,l,b=s.length,g="",w=!0,v,D;for(let y=0;y<b;y+=1)m=s[y],l=m[0],l==="space"&&y===b-1&&!d?w=!1:l==="comment"?(D=s[y-1]?s[y-1][0]:"empty",v=s[y+1]?s[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=s.reduce((E,A)=>E+A[1],"");c.raws[p]={raw:y,value:g}}c[p]=g}rule(c){c.pop();let p=new u;this.init(p,c[0][2]),p.raws.between=this.spacesAndCommentsFromEnd(c),this.raw(p,"selector",c),this.current=p}spacesAndCommentsFromEnd(c){let p,s="";for(;c.length&&(p=c[c.length-1][0],!(p!=="space"&&p!=="comment"));)s=c.pop()[1]+s;return s}spacesAndCommentsFromStart(c){let p,s="";for(;c.length&&(p=c[0][0],!(p!=="space"&&p!=="comment"));)s+=c.shift()[1];return s}spacesFromEnd(c){let p,s="";for(;c.length&&(p=c[c.length-1][0],p==="space");)s=c.pop()[1]+s;return s}stringFrom(c,p){let s="";for(let d=p;d<c.length;d++)s+=c[d][1];return c.splice(p,c.length-p),s}unclosedBlock(){let c=this.current.source.start;throw this.input.error("Unclosed block",c.line,c.column)}unclosedBracket(c){throw this.input.error("Unclosed bracket",{offset:c[2]},{offset:c[2]+1})}unexpectedClose(c){throw this.input.error("Unexpected }",{offset:c[2]},{offset:c[2]+1})}unknownWord(c){throw this.input.error("Unknown word "+c[0][1],{offset:c[0][2]},{offset:c[0][2]+c[0][1].length})}unnamedAtrule(c,p){throw this.input.error("At-rule without name",{offset:p[2]},{offset:p[2]+p[1].length})}}return ba=h,ba}var ya,wc;function va(){if(wc)return ya;wc=1;let e=Jr(),r=Mu(),t=m1();function n(u,i){let a=new r(u,i),o=new t(a);try{o.parse()}catch(h){throw process.env.NODE_ENV!=="production"&&h.name==="CssSyntaxError"&&i&&i.from&&(/\.scss$/i.test(i.from)?h.message+=`
|
|
60
|
+
`)&&(f=`\r
|
|
61
|
+
`),this.css+=f+"/*# sourceMappingURL="+o+" */"}applyPrevMaps(){for(let o of this.previous()){let f=this.toUrl(this.path(o.file)),m=o.root||e(o.file),d;this.mapOpts.sourcesContent===!1?(d=new u(o.text),d.sourcesContent&&(d.sourcesContent=null)):d=o.consumer(),this.map.applySourceMap(d,f,this.toUrl(this.path(m)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let o;for(let f=this.root.nodes.length-1;f>=0;f--)o=this.root.nodes[f],o.type==="comment"&&o.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(f)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),c&&h&&this.isMap())return this.generateMap();{let o="";return this.stringify(this.root,f=>{o+=f}),[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,f=1,m="<no source>",d={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"&&(d.generated.line=o,d.generated.column=f-1,v.source&&v.source.start?(d.source=this.sourcePath(v),d.original.line=v.source.start.line,d.original.column=v.source.start.column-1,this.map.addMapping(d)):(d.source=m,d.original.line=1,d.original.column=0,this.map.addMapping(d))),g=w.match(/\n/g),g?(o+=g.length,b=w.lastIndexOf(`
|
|
62
|
+
`),f=w.length-b):f+=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?(d.source=this.sourcePath(v),d.original.line=v.source.end.line,d.original.column=v.source.end.column-1,d.generated.line=o,d.generated.column=f-2,this.map.addMapping(d)):(d.source=m,d.original.line=1,d.original.column=0,d.generated.line=o,d.generated.column=f-1,this.map.addMapping(d)))}})}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(f=>f.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 f=this.memoizedPaths.get(o);if(f)return f;let m=this.opts.to?e(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(m=e(t(m,this.mapOpts.annotation)));let d=r(m,o);return this.memoizedPaths.set(o,d),d}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(o=>{if(o.source&&o.source.input.map){let f=o.source.input.map;this.previousMaps.includes(f)||this.previousMaps.push(f)}});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(f=>{if(f.source){let m=f.source.input.from;if(m&&!o[m]){o[m]=!0;let d=this.usesFileUrls?this.toFileUrl(m):this.toUrl(this.path(m));this.map.setSourceContent(d,f.source.input.css)}}});else if(this.css){let f=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(f,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 f=this.memoizedFileURLs.get(o);if(f)return f;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 f=this.memoizedURLs.get(o);if(f)return f;n==="\\"&&(o=o.replace(/\\/g,"/"));let m=encodeURI(o).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(o,m),m}}return ga=l,ga}var ba,yc;function p1(){if(yc)return ba;yc=1;const e=39,r=34,t=92,n=47,u=10,i=32,a=12,s=9,h=13,c=91,l=93,p=40,o=41,f=123,m=125,d=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 ba=function(C,F={}){let x=C.css.valueOf(),T=F.ignoreErrors,_,P,B,N,I,J,re,ie,L,Z,ce=x.length,Y=0,se=[],de=[];function he(){return Y}function oe(q){throw C.error("Unclosed "+q,Y)}function be(){return de.length===0&&Y>=ce}function ye(q){if(de.length)return de.pop();if(Y>=ce)return;let k=q?q.ignoreUnclosed:!1;switch(_=x.charCodeAt(Y),_){case u:case i:case s:case h:case a:{N=Y;do N+=1,_=x.charCodeAt(N);while(_===i||_===u||_===s||_===h||_===a);J=["space",x.slice(Y,N)],Y=N-1;break}case c:case l:case f:case m:case g:case d:case o:{let W=String.fromCharCode(_);J=[W,W,Y];break}case p:{if(Z=se.length?se.pop()[1]:"",L=x.charCodeAt(Y+1),Z==="url"&&L!==e&&L!==r&&L!==i&&L!==u&&L!==s&&L!==a&&L!==h){N=Y;do{if(re=!1,N=x.indexOf(")",N+1),N===-1)if(T||k){N=Y;break}else oe("bracket");for(ie=N;x.charCodeAt(ie-1)===t;)ie-=1,re=!re}while(re);J=["brackets",x.slice(Y,N+1),Y,N],Y=N}else N=x.indexOf(")",Y+1),P=x.slice(Y,N+1),N===-1||y.test(P)?J=["(","(",Y]:(J=["brackets",P,Y,N],Y=N);break}case e:case r:{I=_===e?"'":'"',N=Y;do{if(re=!1,N=x.indexOf(I,N+1),N===-1)if(T||k){N=Y+1;break}else oe("string");for(ie=N;x.charCodeAt(ie-1)===t;)ie-=1,re=!re}while(re);J=["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,J=["at-word",x.slice(Y,N+1),Y,N],Y=N;break}case t:{for(N=Y,B=!0;x.charCodeAt(N+1)===t;)N+=1,B=!B;if(_=x.charCodeAt(N+1),B&&_!==n&&_!==i&&_!==u&&_!==s&&_!==h&&_!==a&&(N+=1,E.test(x.charAt(N)))){for(;E.test(x.charAt(N+1));)N+=1;x.charCodeAt(N+1)===i&&(N+=1)}J=["word",x.slice(Y,N+1),Y,N],Y=N;break}default:{_===n&&x.charCodeAt(Y+1)===b?(N=x.indexOf("*/",Y+2)+1,N===0&&(T||k?N=x.length:oe("comment")),J=["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,J=["word",x.slice(Y,N+1),Y,N],se.push(J),Y=N);break}}return Y++,J}function ve(q){de.push(q)}return{back:ve,endOfFile:be,nextToken:ye,position:he}},ba}var ya,vc;function m1(){if(vc)return ya;vc=1;let e=ia(),r=Ou(),t=Nu(),n=$n(),u=pa(),i=p1();const a={empty:!0,space:!0};function s(c){for(let l=c.length-1;l>=0;l--){let p=c[l],o=p[3]||p[2];if(o)return o}}class h{constructor(l){this.input=l,this.root=new n,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:l,start:{column:1,line:1,offset:0}}}atrule(l){let p=new e;p.name=l[1].slice(1),p.name===""&&this.unnamedAtrule(p,l),this.init(p,l[2]);let o,f,m,d=!1,b=!1,g=[],w=[];for(;!this.tokenizer.endOfFile();){if(l=this.tokenizer.nextToken(),o=l[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(l[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,f=g[m];f&&f[0]==="space";)f=g[--m];f&&(p.source.end=this.getPosition(f[3]||f[2]),p.source.end.offset++)}this.end(l);break}else g.push(l);else g.push(l);if(this.tokenizer.endOfFile()){d=!0;break}}p.raws.between=this.spacesAndCommentsFromEnd(g),g.length?(p.raws.afterName=this.spacesAndCommentsFromStart(g),this.raw(p,"params",g),d&&(l=g[g.length-1],p.source.end=this.getPosition(l[3]||l[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(l){let p=this.colon(l);if(p===!1)return;let o=0,f;for(let m=p-1;m>=0&&(f=l[m],!(f[0]!=="space"&&(o+=1,o===2)));m--);throw this.input.error("Missed semicolon",f[0]==="word"?f[3]+1:f[2])}colon(l){let p=0,o,f,m;for(let[d,b]of l.entries()){if(f=b,m=f[0],m==="("&&(p+=1),m===")"&&(p-=1),p===0&&m===":")if(!o)this.doubleColon(f);else{if(o[0]==="word"&&o[1]==="progid")continue;return d}o=f}return!1}comment(l){let p=new r;this.init(p,l[2]),p.source.end=this.getPosition(l[3]||l[2]),p.source.end.offset++;let o=l[1].slice(2,-2);if(/^\s*$/.test(o))p.text="",p.raws.left=o,p.raws.right="";else{let f=o.match(/^(\s*)([^]*\S)(\s*)$/);p.text=f[2],p.raws.left=f[1],p.raws.right=f[3]}}createTokenizer(){this.tokenizer=i(this.input)}decl(l,p){let o=new t;this.init(o,l[0][2]);let f=l[l.length-1];for(f[0]===";"&&(this.semicolon=!0,l.pop()),o.source.end=this.getPosition(f[3]||f[2]||s(l)),o.source.end.offset++;l[0][0]!=="word";)l.length===1&&this.unknownWord(l),o.raws.before+=l.shift()[1];for(o.source.start=this.getPosition(l[0][2]),o.prop="";l.length;){let w=l[0][0];if(w===":"||w==="space"||w==="comment")break;o.prop+=l.shift()[1]}o.raws.between="";let m;for(;l.length;)if(m=l.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 d=[],b;for(;l.length&&(b=l[0][0],!(b!=="space"&&b!=="comment"));)d.push(l.shift());this.precheckMissedSemicolon(l);for(let w=l.length-1;w>=0;w--){if(m=l[w],m[1].toLowerCase()==="!important"){o.important=!0;let v=this.stringFrom(l,w);v=this.spacesFromEnd(l)+v,v!==" !important"&&(o.raws.important=v);break}else if(m[1].toLowerCase()==="important"){let v=l.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,l=v)}if(m[0]!=="space"&&m[0]!=="comment")break}l.some(w=>w[0]!=="space"&&w[0]!=="comment")&&(o.raws.between+=d.map(w=>w[1]).join(""),d=[]),this.raw(o,"value",d.concat(l),p),o.value.includes(":")&&!p&&this.checkMissedSemicolon(l)}doubleColon(l){throw this.input.error("Double colon",{offset:l[2]},{offset:l[2]+l[1].length})}emptyRule(l){let p=new u;this.init(p,l[2]),p.selector="",p.raws.between="",this.current=p}end(l){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(l[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(l)}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(l){if(this.spaces+=l[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(l[2]),p.source.end.offset+=p.raws.ownSemicolon.length)}}getPosition(l){let p=this.input.fromOffset(l);return{column:p.col,line:p.line,offset:l}}init(l,p){this.current.push(l),l.source={input:this.input,start:this.getPosition(p)},l.raws.before=this.spaces,this.spaces="",l.type!=="comment"&&(this.semicolon=!1)}other(l){let p=!1,o=null,f=!1,m=null,d=[],b=l[1].startsWith("--"),g=[],w=l;for(;w;){if(o=w[0],g.push(w),o==="("||o==="[")m||(m=w),d.push(o==="("?")":"]");else if(b&&f&&o==="{")m||(m=w),d.push("}");else if(d.length===0)if(o===";")if(f){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===":"&&(f=!0);else o===d[d.length-1]&&(d.pop(),d.length===0&&(m=null));w=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(p=!0),d.length>0&&this.unclosedBracket(m),p&&f){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 l;for(;!this.tokenizer.endOfFile();)switch(l=this.tokenizer.nextToken(),l[0]){case"space":this.spaces+=l[1];break;case";":this.freeSemicolon(l);break;case"}":this.end(l);break;case"comment":this.comment(l);break;case"at-word":this.atrule(l);break;case"{":this.emptyRule(l);break;default:this.other(l);break}this.endFile()}precheckMissedSemicolon(){}raw(l,p,o,f){let m,d,b=o.length,g="",w=!0,v,D;for(let y=0;y<b;y+=1)m=o[y],d=m[0],d==="space"&&y===b-1&&!f?w=!1:d==="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],"");l.raws[p]={raw:y,value:g}}l[p]=g}rule(l){l.pop();let p=new u;this.init(p,l[0][2]),p.raws.between=this.spacesAndCommentsFromEnd(l),this.raw(p,"selector",l),this.current=p}spacesAndCommentsFromEnd(l){let p,o="";for(;l.length&&(p=l[l.length-1][0],!(p!=="space"&&p!=="comment"));)o=l.pop()[1]+o;return o}spacesAndCommentsFromStart(l){let p,o="";for(;l.length&&(p=l[0][0],!(p!=="space"&&p!=="comment"));)o+=l.shift()[1];return o}spacesFromEnd(l){let p,o="";for(;l.length&&(p=l[l.length-1][0],p==="space");)o=l.pop()[1]+o;return o}stringFrom(l,p){let o="";for(let f=p;f<l.length;f++)o+=l[f][1];return l.splice(p,l.length-p),o}unclosedBlock(){let l=this.current.source.start;throw this.input.error("Unclosed block",l.line,l.column)}unclosedBracket(l){throw this.input.error("Unclosed bracket",{offset:l[2]},{offset:l[2]+1})}unexpectedClose(l){throw this.input.error("Unexpected }",{offset:l[2]},{offset:l[2]+1})}unknownWord(l){throw this.input.error("Unknown word "+l[0][1],{offset:l[0][2]},{offset:l[0][2]+l[0][1].length})}unnamedAtrule(l,p){throw this.input.error("At-rule without name",{offset:p[2]},{offset:p[2]+p[1].length})}}return ya=h,ya}var va,wc;function wa(){if(wc)return va;wc=1;let e=Zr(),r=Mu(),t=m1();function n(u,i){let a=new r(u,i),s=new t(a);try{s.parse()}catch(h){throw process.env.NODE_ENV!=="production"&&h.name==="CssSyntaxError"&&i&&i.from&&(/\.scss$/i.test(i.from)?h.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)?h.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)&&(h.message+=`
|
|
65
|
-
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),h}return o.root}return ya=n,n.default=n,e.registerParse(n),ya}var wa,Dc;function Ec(){if(Dc)return wa;Dc=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 wa=e,e.default=e,wa}var Da,xc;function Ea(){if(xc)return Da;xc=1;let e=Ec();class r{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 Da=r,r.default=r,Da}var xa,Ac;function Cc(){if(Ac)return xa;Ac=1;let e={};return xa=function(t){e[t]||(e[t]=!0,typeof console<"u"&&console.warn&&console.warn(t))},xa}var Aa,Tc;function Sc(){if(Tc)return Aa;Tc=1;let e=Jr(),r=aa(),t=bc(),n=va(),u=Ea(),i=$n(),a=Su(),{isClean:o,my:h}=Ji(),f=Cc();const c={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},s={Once:!0,postcssPlugin:!0,prepare:!0},d=0;function m(D){return typeof D=="object"&&typeof D.then=="function"}function l(D){let y=!1,E=c[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=l(D),{eventIndex:0,events:y,iterator:0,node:D,visitorIndex:0,visitors:[]}}function g(D){return D[o]=!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 F=n;A.syntax&&(F=A.syntax.parse),A.parser&&(F=A.parser),F.parse&&(F=F.parse);try{C=F(E,A)}catch(x){this.processed=!0,this.error=x}C&&!C[h]&&e.rebuild(C)}this.result=new u(y,C,A),this.helpers={...w,postcss:w,result:this.result},this.plugins=this.processor.plugins.map(F=>typeof F=="object"&&F.prepare?{...F,...F.prepare(this.result)}:F)}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,F=A.postcssVersion,x=this.result.processor.version,T=F.split("."),_=x.split(".");(T[0]!==_[0]||parseInt(T[1])>parseInt(_[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+x+", but "+C+" uses "+F+". 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(!s[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[o];){y[o]=!0;let E=[b(y)];for(;E.length>0;){let A=this.visitTick(E);if(m(A))try{await A}catch(C){let F=E[E.length-1].node;throw this.handleError(C,F)}}}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(F=>A(F,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 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 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[o];)y[o]=!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||f("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 F;try{F=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(F))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,T]=C[E.visitorIndex];E.visitorIndex+=1,E.visitorIndex===C.length&&(E.visitors=[],E.visitorIndex=0),this.result.lastPlugin=x;try{return T(A.toProxy(),this.helpers)}catch(_){throw this.handleError(_,A)}}if(E.iterator!==0){let x=E.iterator,T;for(;T=A.nodes[A.indexes[x]];)if(A.indexes[x]+=1,!T[o]){T[o]=!0,y.push(b(T));return}E.iterator=0,delete A.indexes[x]}let F=E.events;for(;E.eventIndex<F.length;){let x=F[E.eventIndex];if(E.eventIndex+=1,x===d){A.nodes&&A.nodes.length&&(A[o]=!0,E.iterator=A.getIterator());return}else if(this.listeners[x]){E.visitors=this.listeners[x];return}}y.pop()}walkSync(y){y[o]=!0;let E=l(y);for(let A of E)if(A===d)y.nodes&&y.each(C=>{C[o]||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},Aa=v,v.default=v,i.registerLazyResult(v),r.registerLazyResult(v),Aa}var Ca,Fc;function g1(){if(Fc)return Ca;Fc=1;let e=bc(),r=va();const t=Ea();let n=Su(),u=Cc();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 o,h=r;try{o=h(this._css,this._opts)}catch(f){this.error=f}if(this.error)throw this.error;return this._root=o,o}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(o,h,f){h=h.toString(),this.stringified=!1,this._processor=o,this._css=h,this._opts=f,this._map=void 0;let c,p=n;this.result=new t(this._processor,c,this._opts),this.result.css=h;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let d=new e(p,c,this._opts,h);if(d.isMap()){let[m,l]=d.generate();m&&(this.result.css=m),l&&(this.result.map=l)}else d.clearAnnotation(),this.result.css=d.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(o){return this.async().catch(o)}finally(o){return this.async().then(o,o)}sync(){if(this.error)throw this.error;return this.result}then(o,h){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(o,h)}toString(){return this._css}warnings(){return[]}}return Ca=i,i.default=i,Ca}var Ta,_c;function b1(){if(_c)return Ta;_c=1;let e=aa(),r=Sc(),t=g1(),n=$n();class u{constructor(a=[]){this.version="8.5.3",this.plugins=this.normalize(a)}normalize(a){let o=[];for(let h of a)if(h.postcss===!0?h=h():h.postcss&&(h=h.postcss),typeof h=="object"&&Array.isArray(h.plugins))o=o.concat(h.plugins);else if(typeof h=="object"&&h.postcssPlugin)o.push(h);else if(typeof h=="function")o.push(h);else if(typeof h=="object"&&(h.parse||h.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(h+" is not a PostCSS plugin");return o}process(a,o={}){return!this.plugins.length&&!o.parser&&!o.stringifier&&!o.syntax?new t(this,a,o):new r(this,a,o)}use(a){return this.plugins=this.plugins.concat(this.normalize([a])),this}}return Ta=u,u.default=u,n.registerProcessor(u),e.registerProcessor(u),Ta}var Sa,Oc;function y1(){if(Oc)return Sa;Oc=1;let e=ua(),r=Ou(),t=Jr(),n=Xi(),u=Nu(),i=aa(),a=h1(),o=Mu(),h=Sc(),f=hc(),c=_u(),p=va(),s=b1(),d=Ea(),m=$n(),l=ha(),b=Su(),g=Ec();function w(...v){return v.length===1&&Array.isArray(v[0])&&(v=v[0]),new s(v)}return w.plugin=function(D,y){let E=!1;function A(...F){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`)),h}return s.root}return va=n,n.default=n,e.registerParse(n),va}var Da,Dc;function Ec(){if(Dc)return Da;Dc=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 Da=e,e.default=e,Da}var Ea,xc;function xa(){if(xc)return Ea;xc=1;let e=Ec();class r{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 Ea=r,r.default=r,Ea}var Aa,Ac;function Cc(){if(Ac)return Aa;Ac=1;let e={};return Aa=function(t){e[t]||(e[t]=!0,typeof console<"u"&&console.warn&&console.warn(t))},Aa}var Ca,Tc;function Sc(){if(Tc)return Ca;Tc=1;let e=Zr(),r=sa(),t=bc(),n=wa(),u=xa(),i=$n(),a=Su(),{isClean:s,my:h}=Ki(),c=Cc();const l={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},f=0;function m(D){return typeof D=="object"&&typeof D.then=="function"}function d(D){let y=!1,E=l[D.type];return D.type==="decl"?y=D.prop.toLowerCase():D.type==="atrule"&&(y=D.name.toLowerCase()),y&&D.append?[E,E+"-"+y,f,E+"Exit",E+"Exit-"+y]:y?[E,E+"-"+y,E+"Exit",E+"Exit-"+y]:D.append?[E,f,E+"Exit"]:[E,E+"Exit"]}function b(D){let y;return D.type==="document"?y=["Document",f,"DocumentExit"]:D.type==="root"?y=["Root",f,"RootExit"]:y=d(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 F=n;A.syntax&&(F=A.syntax.parse),A.parser&&(F=A.parser),F.parse&&(F=F.parse);try{C=F(E,A)}catch(x){this.processed=!0,this.error=x}C&&!C[h]&&e.rebuild(C)}this.result=new u(y,C,A),this.helpers={...w,postcss:w,result:this.result},this.plugins=this.processor.plugins.map(F=>typeof F=="object"&&F.prepare?{...F,...F.prepare(this.result)}:F)}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,F=A.postcssVersion,x=this.result.processor.version,T=F.split("."),_=x.split(".");(T[0]!==_[0]||parseInt(T[1])>parseInt(_[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+x+", but "+C+" uses "+F+". 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 F=E[E.length-1].node;throw this.handleError(C,F)}}}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(F=>A(F,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 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 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 F;try{F=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(F))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,T]=C[E.visitorIndex];E.visitorIndex+=1,E.visitorIndex===C.length&&(E.visitors=[],E.visitorIndex=0),this.result.lastPlugin=x;try{return T(A.toProxy(),this.helpers)}catch(_){throw this.handleError(_,A)}}if(E.iterator!==0){let x=E.iterator,T;for(;T=A.nodes[A.indexes[x]];)if(A.indexes[x]+=1,!T[s]){T[s]=!0,y.push(b(T));return}E.iterator=0,delete A.indexes[x]}let F=E.events;for(;E.eventIndex<F.length;){let x=F[E.eventIndex];if(E.eventIndex+=1,x===f){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=d(y);for(let A of E)if(A===f)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},Ca=v,v.default=v,i.registerLazyResult(v),r.registerLazyResult(v),Ca}var Ta,Fc;function g1(){if(Fc)return Ta;Fc=1;let e=bc(),r=wa();const t=xa();let n=Su(),u=Cc();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,h=r;try{s=h(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,h,c){h=h.toString(),this.stringified=!1,this._processor=s,this._css=h,this._opts=c,this._map=void 0;let l,p=n;this.result=new t(this._processor,l,this._opts),this.result.css=h;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let f=new e(p,l,this._opts,h);if(f.isMap()){let[m,d]=f.generate();m&&(this.result.css=m),d&&(this.result.map=d)}else f.clearAnnotation(),this.result.css=f.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,h){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,h)}toString(){return this._css}warnings(){return[]}}return Ta=i,i.default=i,Ta}var Sa,_c;function b1(){if(_c)return Sa;_c=1;let e=sa(),r=Sc(),t=g1(),n=$n();class u{constructor(a=[]){this.version="8.5.3",this.plugins=this.normalize(a)}normalize(a){let s=[];for(let h of a)if(h.postcss===!0?h=h():h.postcss&&(h=h.postcss),typeof h=="object"&&Array.isArray(h.plugins))s=s.concat(h.plugins);else if(typeof h=="object"&&h.postcssPlugin)s.push(h);else if(typeof h=="function")s.push(h);else if(typeof h=="object"&&(h.parse||h.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(h+" 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 Sa=u,u.default=u,n.registerProcessor(u),e.registerProcessor(u),Sa}var Fa,Oc;function y1(){if(Oc)return Fa;Oc=1;let e=ia(),r=Ou(),t=Zr(),n=Qi(),u=Nu(),i=sa(),a=h1(),s=Mu(),h=Sc(),c=hc(),l=_u(),p=wa(),o=b1(),f=xa(),m=$n(),d=pa(),b=Su(),g=Ec();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(...F){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=y(...F);return x.postcssPlugin=D,x.postcssVersion=new
|
|
67
|
+
https://www.w3ctech.com/topic/2226`));let x=y(...F);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(F,x,T){return w([A(T)]).process(F,x)},A},w.stringify=b,w.parse=p,w.fromJSON=a,w.list=c,w.comment=v=>new r(v),w.atRule=v=>new e(v),w.decl=v=>new u(v),w.rule=v=>new d(v),w.root=v=>new m(v),w.document=v=>new i(v),w.CssSyntaxError=n,w.Declaration=u,w.Container=t,w.Processor=o,w.Document=i,w.Comment=r,w.Warning=g,w.AtRule=e,w.Result=f,w.Input=s,w.Rule=d,w.Root=m,w.Node=l,h.registerPostcss(w),Fa=w,w.default=w,Fa}var _a,Nc;function v1(){if(Nc)return _a;Nc=1;const e=i1(),r=a1(),{isPlainObject:t}=s1(),n=o1(),u=l1(),{parse:i}=y1(),a=["img","audio","video","picture","svg","object","map","iframe","embed"],s=["script","style"];function h(b,g){b&&Object.keys(b).forEach(function(w){g(b[w],w)})}function c(b,g){return{}.hasOwnProperty.call(b,g)}function l(b,g){const w=[];return h(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(", ")}_a=m;const f=/^[^\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(q,k){const W=this;this.tag=q,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({},d,g.parser);const E=function(q){return g.allowedTags===!1||(g.allowedTags||[]).indexOf(q)>-1};s.forEach(function(q){E(q)&&!g.allowVulnerableTags&&console.warn(`
|
|
68
68
|
|
|
69
69
|
⚠️ Your \`allowedTags\` option includes, \`${q}\`, 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,F;g.allowedAttributes&&(C={},F={},h(g.allowedAttributes,function(q,k){C[k]=[];const W=[];q.forEach(function(me){typeof me=="string"&&me.indexOf("*")>=0?W.push(r(me).replace(/\\\*/g,".*")):C[k].push(me)}),W.length&&(F[k]=new RegExp("^("+W.join("|")+")$"))}));const x={},T={},_={};h(g.allowedClasses,function(q,k){if(C&&(f(C,k)||(C[k]=[]),C[k].push("class")),x[k]=q,Array.isArray(q)){const W=[];x[k]=[],_[k]=[],q.forEach(function(me){typeof me=="string"&&me.indexOf("*")>=0?W.push(r(me).replace(/\\\*/g,".*")):me instanceof RegExp?_[k].push(me):x[k].push(me)}),W.length&&(T[k]=new RegExp("^("+W.join("|")+")$"))}});const P={};let B;h(g.transformTags,function(q,k){let W;typeof q=="function"?W=q:typeof q=="string"&&(W=m.simpleTransform(q)),k==="*"?B=W:P[k]=W});let N,I,J,re,ie,L,Z=!1;Y();const ce=new e.Parser({onopentag:function(q,k){if(g.enforceHtmlBoundary&&q==="html"&&Y(),ie){L++;return}const W=new y(q,k);I.push(W);let me=!1;const et=!!W.text;let nt;if(f(P,q)&&(nt=P[q](q,k),W.attribs=k=nt.attribs,nt.text!==void 0&&(W.innerText=nt.text),q!==nt.tagName&&(W.name=q=nt.tagName,re[N]=nt.tagName)),B&&(nt=B(q,k),W.attribs=k=nt.attribs,q!==nt.tagName&&(W.name=q=nt.tagName,re[N]=nt.tagName)),(!E(q)||g.disallowedTagsMode==="recursiveEscape"&&!p(J)||g.nestingLimit!=null&&N>=g.nestingLimit)&&(me=!0,J[N]=!0,(g.disallowedTagsMode==="discard"||g.disallowedTagsMode==="completelyDiscard")&&A.indexOf(q)!==-1&&(ie=!0,L=1),J[N]=!0),N++,me){if(g.disallowedTagsMode==="discard"||g.disallowedTagsMode==="completelyDiscard"){if(W.innerText&&!et){const Re=oe(W.innerText);g.textFilter?v+=g.textFilter(Re,q):v+=oe(W.innerText),Z=!0}return}D=v,v=""}v+="<"+q,q==="script"&&(g.allowedScriptHostnames||g.allowedScriptDomains)&&(W.innerText=""),(!C||f(C,q)||C["*"])&&h(k,function(Re,Se){if(!d.test(Se)){delete W.attribs[Se];return}if(Re===""&&!g.allowedEmptyAttributes.includes(Se)&&(g.nonBooleanAttributes.includes(Se)||g.nonBooleanAttributes.includes("*"))){delete W.attribs[Se];return}let yr=!1;if(!C||f(C,q)&&C[q].indexOf(Se)!==-1||C["*"]&&C["*"].indexOf(Se)!==-1||f(F,q)&&F[q].test(Se)||F["*"]&&F["*"].test(Se))yr=!0;else if(C&&C[q]){for(const Fe of C[q])if(t(Fe)&&Fe.name&&Fe.name===Se){yr=!0;let _e="";if(Fe.multiple===!0){const qt=Re.split(" ");for(const S of qt)Fe.values.indexOf(S)!==-1&&(_e===""?_e=S:_e+=" "+S)}else Fe.values.indexOf(Re)>=0&&(_e=Re);Re=_e}}if(yr){if(g.allowedSchemesAppliedToAttributes.indexOf(Se)!==-1&&de(q,Re)){delete W.attribs[Se];return}if(q==="script"&&Se==="src"){let Fe=!0;try{const _e=he(Re);if(g.allowedScriptHostnames||g.allowedScriptDomains){const qt=(g.allowedScriptHostnames||[]).find(function(M){return M===_e.url.hostname}),S=(g.allowedScriptDomains||[]).find(function(M){return _e.url.hostname===M||_e.url.hostname.endsWith(`.${M}`)});Fe=qt||S}}catch{Fe=!1}if(!Fe){delete W.attribs[Se];return}}if(q==="iframe"&&Se==="src"){let Fe=!0;try{const _e=he(Re);if(_e.isRelativeUrl)Fe=f(g,"allowIframeRelativeUrls")?g.allowIframeRelativeUrls:!g.allowedIframeHostnames&&!g.allowedIframeDomains;else if(g.allowedIframeHostnames||g.allowedIframeDomains){const qt=(g.allowedIframeHostnames||[]).find(function(M){return M===_e.url.hostname}),S=(g.allowedIframeDomains||[]).find(function(M){return _e.url.hostname===M||_e.url.hostname.endsWith(`.${M}`)});Fe=qt||S}}catch{Fe=!1}if(!Fe){delete W.attribs[Se];return}}if(Se==="srcset")try{let Fe=u(Re);if(Fe.forEach(function(_e){de("srcset",_e.url)&&(_e.evil=!0)}),Fe=c(Fe,function(_e){return!_e.evil}),Fe.length)Re=s(c(Fe,function(_e){return!_e.evil})),W.attribs[Se]=Re;else{delete W.attribs[Se];return}}catch{delete W.attribs[Se];return}if(Se==="class"){const Fe=x[q],_e=x["*"],qt=T[q],S=_[q],M=_["*"],R=T["*"],z=[qt,R].concat(S,M).filter(function(H){return H});if(Fe&&_e?Re=ve(Re,n(Fe,_e),z):Re=ve(Re,Fe||_e,z),!Re.length){delete W.attribs[Se];return}}if(Se==="style"){if(g.parseStyleAttributes)try{const Fe=i(q+" {"+Re+"}",{map:!1}),_e=se(Fe,g.allowedStyles);if(Re=be(_e),Re.length===0){delete W.attribs[Se];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+q+" {"+Re+`}", 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[Se];return}else if(g.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}v+=" "+Se,Re&&Re.length?v+='="'+oe(Re,!0)+'"':g.allowedEmptyAttributes.includes(Se)&&(v+='=""')}else delete W.attribs[Se]}),g.selfClosing.indexOf(q)!==-1?v+=" />":(v+=">",W.innerText&&!et&&!g.textFilter&&(v+=oe(W.innerText),Z=!0)),me&&(v=D+oe(v),D="")},ontext:function(q){if(ie)return;const k=I[I.length-1];let W;if(k&&(W=k.tag,q=k.innerText!==void 0?k.innerText:q),g.disallowedTagsMode==="completelyDiscard"&&!E(W))q="";else if((g.disallowedTagsMode==="discard"||g.disallowedTagsMode==="completelyDiscard")&&(W==="script"||W==="style"))v+=q;else{const me=oe(q,!1);g.textFilter&&!Z?v+=g.textFilter(me,W):Z||(v+=me)}if(I.length){const me=I[I.length-1];me.text+=q}},onclosetag:function(q,k){if(ie)if(L--,!L)ie=!1;else return;const W=I.pop();if(!W)return;if(W.tag!==q){I.push(W);return}ie=g.enforceHtmlBoundary?q==="html":!1,N--;const me=J[N];if(me){if(delete J[N],g.disallowedTagsMode==="discard"||g.disallowedTagsMode==="completelyDiscard"){W.updateParentNodeText();return}D=v,v=""}if(re[N]&&(q=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(q)!==-1||k&&!E(q)&&["escape","recursiveEscape"].indexOf(g.disallowedTagsMode)>=0){me&&(v=D,D="");return}v+="</"+q+">",me&&(v=D+oe(v),D=""),Z=!1}},g.parser);return ce.write(b),ce.end(),v;function Y(){v="",N=0,I=[],J={},re={},ie=!1,L=0}function oe(q,k){return typeof q!="string"&&(q=q+""),g.parser.decodeEntities&&(q=q.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),k&&(q=q.replace(/"/g,"""))),q=q.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),k&&(q=q.replace(/"/g,""")),q}function de(q,k){for(k=k.replace(/[\x00-\x20]+/g,"");;){const et=k.indexOf("<!--");if(et===-1)break;const nt=k.indexOf("-->",et+4);if(nt===-1)break;k=k.substring(0,et)+k.substring(nt+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 f(g.allowedSchemesByTag,q)?g.allowedSchemesByTag[q].indexOf(me)===-1:!g.allowedSchemes||g.allowedSchemes.indexOf(me)===-1}function he(q){if(q=q.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),q.startsWith("relative:"))throw new Error("relative: exploit attempt");let k="relative://relative-site";for(let et=0;et<100;et++)k+=`/${et}`;const W=new URL(q,k);return{isRelativeUrl:W&&W.hostname==="relative-site"&&W.protocol==="relative:",url:W}}function se(q,k){if(!k)return q;const W=q.nodes[0];let me;return k[W.selector]&&k["*"]?me=n(k[W.selector],k["*"]):me=k[W.selector]||k["*"],me&&(q.nodes[0].nodes=W.nodes.reduce(ye(me),[])),q}function be(q){return q.nodes[0].nodes.reduce(function(k,W){return k.push(`${W.prop}:${W.value}${W.important?" !important":""}`),k},[]).join(";")}function ye(q){return function(k,W){return f(q,W.prop)&&q[W.prop].some(function(et){return et.test(W.value)})&&k.push(W),k}}function ve(q,k,W){return k?(q=q.split(/\s+/),q.filter(function(me){return k.indexOf(me)!==-1||W.some(function(et){return et.test(me)})}).join(" ")):q}}const l={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}}},Fa}var w1=v1();const Mc=Ni(w1);function D1({html:e,...r}){return K.jsx(ke.Typography,{...r,dangerouslySetInnerHTML:{__html:Mc(e,{disallowedTagsMode:"recursiveEscape",allowedTags:Mc.defaults.allowedTags.concat(["img","br","p"])})}})}function Kr({type:e,label:r,value:t,asHTML:n=!1,sx:u={},name:i,error:a}){return K.jsxs(ke.FormControl,{fullWidth:!0,sx:u,"data-testid":`non-editable-field-${i}`,children:[K.jsx(ke.FormLabel,{children:r}),K.jsxs(ke.Box,{sx:{display:"flex",alignItems:"center",height:t?"32px":"auto"},children:[e==="CHECKBOX"&&K.jsx(ke.Checkbox,{checked:t==="Yes",disabled:!0}),K.jsx(ke.Typography,{"data-testid":`non-editable-value-${i}`,children:n&&t?K.jsx(D1,{html:t}):K.jsx("span",{children:t})})]}),a&&K.jsx(fn,{error:a})]})}const Pc=(e,r)=>({[{[Ln.DAY]:"days",[Ln.WEEK]:"weeks",[Ln.MONTH]:"months",[Ln.YEAR]:"years"}[r]]:e}),Bc=(e,r)=>{var u,i,a,o,h;const t=Yr(new Date),n=Yr(e);if((u=r.disableDaysOfWeek)!=null&&u.length){const f=r.disableDaysOfWeek.map(({value:p})=>p),c=as(n,"EEEE").toUpperCase();if(f.includes(c))return!0}if(((i=r.disablePastDates)==null?void 0:i.number)!==void 0&&((a=r.disablePastDates)!=null&&a.unit)){const f=Pc(r.disablePastDates.number,r.disablePastDates.unit),c=Gh(t,f);if(bu(n,c))return!0}if(((o=r.disableFutureDates)==null?void 0:o.number)!==void 0&&((h=r.disableFutureDates)!=null&&h.unit)){const f=Pc(r.disableFutureDates.number,r.disableFutureDates.unit),c=Tl(t,f);if(gu(n,c))return!0}return!1};function Ic({name:e,rules:r={},sx:t={},constraints:n={},dateFormat:u="MM/dd/yyyy",...i}){var h;const{field:a,fieldState:{error:o}}=vr.useController({name:e,rules:{...r,validate:f=>f&&n&&Bc(f,n)?"Selected date is not allowed.":!0}});return i.readonly?K.jsx(Kr,{name:e,label:i.label,value:(h=a.value)==null?void 0:h.toLocaleDateString(),type:"DATE",sx:t}):K.jsx(Hr.DatePicker,{...a,...i,format:u,sx:{...t,m:0},slotProps:{textField:{onBlur:a.onBlur,helperText:!!o&&K.jsx(fn,{error:o.message}),error:!!o,fullWidth:!0}},shouldDisableDate:f=>n?Bc(f,n):!1})}function Rc({name:e,label:r,sx:t={},disabled:n,rules:u={},readonly:i,...a}){const{field:o,fieldState:{error:h}}=vr.useController({name:e,rules:u});return i?K.jsx(Kr,{name:e,label:r,type:"CHECKBOX",value:o.value?"Yes":"No",sx:t}):K.jsxs(ke.FormControl,{fullWidth:!0,sx:t,children:[K.jsx(ke.FormLabel,{sx:{fontWeight:500,color:Ur.capitalDesignTokens.foundations.colors.gray1000,pointerEvents:"none"},htmlFor:e,children:r}),K.jsxs(ke.Box,{sx:{display:"flex",alignItems:"center",height:"32px"},children:[K.jsx(ke.Checkbox,{"data-testid":"form-field-checkbox",id:e,...o,checked:o.value,...a,disabled:n,color:h?"error":"primary"}),!n&&(o.value?"Yes":"No")]}),!!h&&K.jsx(fn,{error:h.message})]})}function kc({name:e,label:r,rules:t={},sx:n={},readonly:u,maxLength:i,...a}){const{field:o,fieldState:{error:h}}=vr.useController({name:e,rules:t}),f=c=>{let p=c.target.value;p=p.replace(/[^A-Za-z0-9 .,!?'-]/g,""),o.onChange(p)};return u?K.jsx(Kr,{name:e,label:r,type:"TEXTINPUT",value:o.value}):K.jsx(ke.TextField,{"data-test-id":"form-field-input",...o,label:r,fullWidth:!0,...a,error:!!h,helperText:!!h&&K.jsx(fn,{error:h.message}),onChange:f,sx:{...n,m:0},slotProps:{input:{inputProps:{maxLength:i}}}})}function jn(){return jn=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},jn.apply(null,arguments)}var Lc={relTol:1e-12,absTol:1e-15,matrix:"Matrix",number:"number",numberFallback:"number",precision:64,predictable:!1,randomSeed:null};function E1(e,r){if(Pu(e,r))return e[r];throw typeof e[r]=="function"&&A1(e,r)?new Error('Cannot access method "'+r+'" as a property'):new Error('No access to property "'+r+'"')}function x1(e,r,t){if(Pu(e,r))return e[r]=t,t;throw new Error('No access to property "'+r+'"')}function Pu(e,r){return!C1(e)&&!Array.isArray(e)?!1:zn(T1,r)?!0:!(r in Object.prototype||r in Function.prototype)}function A1(e,r){return e==null||typeof e[r]!="function"||zn(e,r)&&Object.getPrototypeOf&&r in Object.getPrototypeOf(e)?!1:zn(S1,r)?!0:!(r in Object.prototype||r in Function.prototype)}function C1(e){return typeof e=="object"&&e&&e.constructor===Object}var T1={length:!0,name:!0},S1={toString:!0,valueOf:!0,toLocaleString:!0};class F1{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 E1(this.wrappedObject,r)}set(r,t){return x1(this.wrappedObject,r,t),this}has(r){return Pu(this.wrappedObject,r)&&r in this.wrappedObject}entries(){return _1(this.keys(),r=>[r,this.get(r)])}forEach(r){for(var t of this.keys())r(this.get(t),t,this)}delete(r){Pu(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 _1(e,r){return{next:()=>{var t=e.next();return t.done?t:{value:r(t.value),done:!1}}}}function Ke(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 O1(e){return typeof e=="bigint"}function qc(e){return e&&typeof e=="object"&&Object.getPrototypeOf(e).isComplex===!0||!1}function $c(e){return e&&typeof e=="object"&&Object.getPrototypeOf(e).isFraction===!0||!1}function jc(e){return e&&e.constructor.prototype.isUnit===!0||!1}function lr(e){return typeof e=="string"}var yt=Array.isArray;function Wt(e){return e&&e.constructor.prototype.isMatrix===!0||!1}function Bu(e){return Array.isArray(e)||Wt(e)}function N1(e){return e&&e.isDenseMatrix&&e.constructor.prototype.isMatrix===!0||!1}function M1(e){return e&&e.isSparseMatrix&&e.constructor.prototype.isMatrix===!0||!1}function P1(e){return e&&e.constructor.prototype.isRange===!0||!1}function _a(e){return e&&e.constructor.prototype.isIndex===!0||!1}function B1(e){return typeof e=="boolean"}function I1(e){return e&&e.constructor.prototype.isResultSet===!0||!1}function R1(e){return e&&e.constructor.prototype.isHelp===!0||!1}function k1(e){return typeof e=="function"}function L1(e){return e instanceof Date}function q1(e){return e instanceof RegExp}function Oa(e){return!!(e&&typeof e=="object"&&e.constructor===Object&&!qc(e)&&!$c(e))}function $1(e){return e?e instanceof Map||e instanceof F1||typeof e.set=="function"&&typeof e.get=="function"&&typeof e.keys=="function"&&typeof e.has=="function":!1}function j1(e){return e===null}function z1(e){return e===void 0}function H1(e){return e&&e.isAccessorNode===!0&&e.constructor.prototype.isNode===!0||!1}function U1(e){return e&&e.isArrayNode===!0&&e.constructor.prototype.isNode===!0||!1}function V1(e){return e&&e.isAssignmentNode===!0&&e.constructor.prototype.isNode===!0||!1}function W1(e){return e&&e.isBlockNode===!0&&e.constructor.prototype.isNode===!0||!1}function Y1(e){return e&&e.isConditionalNode===!0&&e.constructor.prototype.isNode===!0||!1}function G1(e){return e&&e.isConstantNode===!0&&e.constructor.prototype.isNode===!0||!1}function X1(e){return e&&e.isFunctionAssignmentNode===!0&&e.constructor.prototype.isNode===!0||!1}function Q1(e){return e&&e.isFunctionNode===!0&&e.constructor.prototype.isNode===!0||!1}function Z1(e){return e&&e.isIndexNode===!0&&e.constructor.prototype.isNode===!0||!1}function J1(e){return e&&e.isNode===!0&&e.constructor.prototype.isNode===!0||!1}function K1(e){return e&&e.isObjectNode===!0&&e.constructor.prototype.isNode===!0||!1}function ep(e){return e&&e.isOperatorNode===!0&&e.constructor.prototype.isNode===!0||!1}function tp(e){return e&&e.isParenthesisNode===!0&&e.constructor.prototype.isNode===!0||!1}function rp(e){return e&&e.isRangeNode===!0&&e.constructor.prototype.isNode===!0||!1}function np(e){return e&&e.isRelationalNode===!0&&e.constructor.prototype.isNode===!0||!1}function up(e){return e&&e.isSymbolNode===!0&&e.constructor.prototype.isNode===!0||!1}function ip(e){return e&&e.constructor.prototype.isChain===!0||!1}function en(e){var r=typeof e;return r==="object"?e===null?"null":wt(e)?"BigNumber":e.constructor&&e.constructor.name?e.constructor.name:"Object":r}function Dt(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 Dt(t)});if(e instanceof Date)return new Date(e.valueOf());if(wt(e))return e;if(Oa(e))return ap(e,Dt);if(r==="function")return e;throw new TypeError("Cannot clone: unknown type of value (value: ".concat(e,")"))}function ap(e,r){var t={};for(var n in e)zn(e,n)&&(t[n]=r(e[n]));return t}function op(e,r){for(var t in r)zn(r,t)&&(e[t]=r[t]);return e}function Br(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(!Br(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)||!Br(e[t],r[t]))return!1;for(t in r)if(!(t in e))return!1;return!0}else return e===r}}function zn(e,r){return e&&Object.hasOwnProperty.call(e,r)}function sp(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 cp=["Matrix","Array"],fp=["number","BigNumber","Fraction"],Hn=function(r){if(r)throw new Error(`The global config is readonly.
|
|
74
|
+
`)});const A=g.nonTextTags||["script","style","textarea","option"];let C,F;g.allowedAttributes&&(C={},F={},h(g.allowedAttributes,function(q,k){C[k]=[];const W=[];q.forEach(function(me){typeof me=="string"&&me.indexOf("*")>=0?W.push(r(me).replace(/\\\*/g,".*")):C[k].push(me)}),W.length&&(F[k]=new RegExp("^("+W.join("|")+")$"))}));const x={},T={},_={};h(g.allowedClasses,function(q,k){if(C&&(c(C,k)||(C[k]=[]),C[k].push("class")),x[k]=q,Array.isArray(q)){const W=[];x[k]=[],_[k]=[],q.forEach(function(me){typeof me=="string"&&me.indexOf("*")>=0?W.push(r(me).replace(/\\\*/g,".*")):me instanceof RegExp?_[k].push(me):x[k].push(me)}),W.length&&(T[k]=new RegExp("^("+W.join("|")+")$"))}});const P={};let B;h(g.transformTags,function(q,k){let W;typeof q=="function"?W=q:typeof q=="string"&&(W=m.simpleTransform(q)),k==="*"?B=W:P[k]=W});let N,I,J,re,ie,L,Z=!1;Y();const ce=new e.Parser({onopentag:function(q,k){if(g.enforceHtmlBoundary&&q==="html"&&Y(),ie){L++;return}const W=new y(q,k);I.push(W);let me=!1;const et=!!W.text;let nt;if(c(P,q)&&(nt=P[q](q,k),W.attribs=k=nt.attribs,nt.text!==void 0&&(W.innerText=nt.text),q!==nt.tagName&&(W.name=q=nt.tagName,re[N]=nt.tagName)),B&&(nt=B(q,k),W.attribs=k=nt.attribs,q!==nt.tagName&&(W.name=q=nt.tagName,re[N]=nt.tagName)),(!E(q)||g.disallowedTagsMode==="recursiveEscape"&&!p(J)||g.nestingLimit!=null&&N>=g.nestingLimit)&&(me=!0,J[N]=!0,(g.disallowedTagsMode==="discard"||g.disallowedTagsMode==="completelyDiscard")&&A.indexOf(q)!==-1&&(ie=!0,L=1),J[N]=!0),N++,me){if(g.disallowedTagsMode==="discard"||g.disallowedTagsMode==="completelyDiscard"){if(W.innerText&&!et){const Re=se(W.innerText);g.textFilter?v+=g.textFilter(Re,q):v+=se(W.innerText),Z=!0}return}D=v,v=""}v+="<"+q,q==="script"&&(g.allowedScriptHostnames||g.allowedScriptDomains)&&(W.innerText=""),(!C||c(C,q)||C["*"])&&h(k,function(Re,Se){if(!f.test(Se)){delete W.attribs[Se];return}if(Re===""&&!g.allowedEmptyAttributes.includes(Se)&&(g.nonBooleanAttributes.includes(Se)||g.nonBooleanAttributes.includes("*"))){delete W.attribs[Se];return}let yr=!1;if(!C||c(C,q)&&C[q].indexOf(Se)!==-1||C["*"]&&C["*"].indexOf(Se)!==-1||c(F,q)&&F[q].test(Se)||F["*"]&&F["*"].test(Se))yr=!0;else if(C&&C[q]){for(const Fe of C[q])if(t(Fe)&&Fe.name&&Fe.name===Se){yr=!0;let _e="";if(Fe.multiple===!0){const qt=Re.split(" ");for(const S of qt)Fe.values.indexOf(S)!==-1&&(_e===""?_e=S:_e+=" "+S)}else Fe.values.indexOf(Re)>=0&&(_e=Re);Re=_e}}if(yr){if(g.allowedSchemesAppliedToAttributes.indexOf(Se)!==-1&&de(q,Re)){delete W.attribs[Se];return}if(q==="script"&&Se==="src"){let Fe=!0;try{const _e=he(Re);if(g.allowedScriptHostnames||g.allowedScriptDomains){const qt=(g.allowedScriptHostnames||[]).find(function(M){return M===_e.url.hostname}),S=(g.allowedScriptDomains||[]).find(function(M){return _e.url.hostname===M||_e.url.hostname.endsWith(`.${M}`)});Fe=qt||S}}catch{Fe=!1}if(!Fe){delete W.attribs[Se];return}}if(q==="iframe"&&Se==="src"){let Fe=!0;try{const _e=he(Re);if(_e.isRelativeUrl)Fe=c(g,"allowIframeRelativeUrls")?g.allowIframeRelativeUrls:!g.allowedIframeHostnames&&!g.allowedIframeDomains;else if(g.allowedIframeHostnames||g.allowedIframeDomains){const qt=(g.allowedIframeHostnames||[]).find(function(M){return M===_e.url.hostname}),S=(g.allowedIframeDomains||[]).find(function(M){return _e.url.hostname===M||_e.url.hostname.endsWith(`.${M}`)});Fe=qt||S}}catch{Fe=!1}if(!Fe){delete W.attribs[Se];return}}if(Se==="srcset")try{let Fe=u(Re);if(Fe.forEach(function(_e){de("srcset",_e.url)&&(_e.evil=!0)}),Fe=l(Fe,function(_e){return!_e.evil}),Fe.length)Re=o(l(Fe,function(_e){return!_e.evil})),W.attribs[Se]=Re;else{delete W.attribs[Se];return}}catch{delete W.attribs[Se];return}if(Se==="class"){const Fe=x[q],_e=x["*"],qt=T[q],S=_[q],M=_["*"],R=T["*"],z=[qt,R].concat(S,M).filter(function(H){return H});if(Fe&&_e?Re=ve(Re,n(Fe,_e),z):Re=ve(Re,Fe||_e,z),!Re.length){delete W.attribs[Se];return}}if(Se==="style"){if(g.parseStyleAttributes)try{const Fe=i(q+" {"+Re+"}",{map:!1}),_e=oe(Fe,g.allowedStyles);if(Re=be(_e),Re.length===0){delete W.attribs[Se];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+q+" {"+Re+`}", 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[Se];return}else if(g.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}v+=" "+Se,Re&&Re.length?v+='="'+se(Re,!0)+'"':g.allowedEmptyAttributes.includes(Se)&&(v+='=""')}else delete W.attribs[Se]}),g.selfClosing.indexOf(q)!==-1?v+=" />":(v+=">",W.innerText&&!et&&!g.textFilter&&(v+=se(W.innerText),Z=!0)),me&&(v=D+se(v),D="")},ontext:function(q){if(ie)return;const k=I[I.length-1];let W;if(k&&(W=k.tag,q=k.innerText!==void 0?k.innerText:q),g.disallowedTagsMode==="completelyDiscard"&&!E(W))q="";else if((g.disallowedTagsMode==="discard"||g.disallowedTagsMode==="completelyDiscard")&&(W==="script"||W==="style"))v+=q;else{const me=se(q,!1);g.textFilter&&!Z?v+=g.textFilter(me,W):Z||(v+=me)}if(I.length){const me=I[I.length-1];me.text+=q}},onclosetag:function(q,k){if(ie)if(L--,!L)ie=!1;else return;const W=I.pop();if(!W)return;if(W.tag!==q){I.push(W);return}ie=g.enforceHtmlBoundary?q==="html":!1,N--;const me=J[N];if(me){if(delete J[N],g.disallowedTagsMode==="discard"||g.disallowedTagsMode==="completelyDiscard"){W.updateParentNodeText();return}D=v,v=""}if(re[N]&&(q=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(q)!==-1||k&&!E(q)&&["escape","recursiveEscape"].indexOf(g.disallowedTagsMode)>=0){me&&(v=D,D="");return}v+="</"+q+">",me&&(v=D+se(v),D=""),Z=!1}},g.parser);return ce.write(b),ce.end(),v;function Y(){v="",N=0,I=[],J={},re={},ie=!1,L=0}function se(q,k){return typeof q!="string"&&(q=q+""),g.parser.decodeEntities&&(q=q.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),k&&(q=q.replace(/"/g,"""))),q=q.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),k&&(q=q.replace(/"/g,""")),q}function de(q,k){for(k=k.replace(/[\x00-\x20]+/g,"");;){const et=k.indexOf("<!--");if(et===-1)break;const nt=k.indexOf("-->",et+4);if(nt===-1)break;k=k.substring(0,et)+k.substring(nt+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,q)?g.allowedSchemesByTag[q].indexOf(me)===-1:!g.allowedSchemes||g.allowedSchemes.indexOf(me)===-1}function he(q){if(q=q.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),q.startsWith("relative:"))throw new Error("relative: exploit attempt");let k="relative://relative-site";for(let et=0;et<100;et++)k+=`/${et}`;const W=new URL(q,k);return{isRelativeUrl:W&&W.hostname==="relative-site"&&W.protocol==="relative:",url:W}}function oe(q,k){if(!k)return q;const W=q.nodes[0];let me;return k[W.selector]&&k["*"]?me=n(k[W.selector],k["*"]):me=k[W.selector]||k["*"],me&&(q.nodes[0].nodes=W.nodes.reduce(ye(me),[])),q}function be(q){return q.nodes[0].nodes.reduce(function(k,W){return k.push(`${W.prop}:${W.value}${W.important?" !important":""}`),k},[]).join(";")}function ye(q){return function(k,W){return c(q,W.prop)&&q[W.prop].some(function(et){return et.test(W.value)})&&k.push(W),k}}function ve(q,k,W){return k?(q=q.split(/\s+/),q.filter(function(me){return k.indexOf(me)!==-1||W.some(function(et){return et.test(me)})}).join(" ")):q}}const d={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}}},_a}var w1=v1();const Mc=Ni(w1);function D1({label:e,error:r,childId:t,dataTestId:n,sx:u,children:i}){return K.jsxs(Ve.FormControl,{fullWidth:!0,sx:u,"data-testid":n,children:[K.jsx(Ve.FormLabel,{htmlFor:t,sx:{pointerEvents:"none"},children:e}),K.jsx(Ve.Box,{sx:{display:"flex",alignItems:"center",height:"32px"},children:i}),r&&K.jsx(ln,{error:r})]})}function E1({html:e,...r}){return K.jsx(Ve.Typography,{...r,dangerouslySetInnerHTML:{__html:Mc(e,{disallowedTagsMode:"recursiveEscape",allowedTags:Mc.defaults.allowedTags.concat(["img","br","p"])})}})}function Jr({label:e,value:r,childId:t,asHTML:n=!1,sx:u={},error:i,startAdornment:a,endAdornment:s}){return K.jsx(D1,{label:e,sx:u,dataTestId:"non-editable-field",error:i,childId:t,children:K.jsxs(Ve.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[K.jsxs(Ve.Box,{sx:{display:"flex",alignItems:"center"},children:[a,K.jsx(Ve.Typography,{"data-testid":"non-editable-value",children:n&&r?K.jsx(E1,{html:r}):K.jsx("span",{children:r})})]}),s]})})}const Pc=(e,r)=>({[{[Ln.DAY]:"days",[Ln.WEEK]:"weeks",[Ln.MONTH]:"months",[Ln.YEAR]:"years"}[r]]:e}),Bc=(e,r)=>{var u,i,a,s,h;const t=Wr(new Date),n=Wr(e);if((u=r.disableDaysOfWeek)!=null&&u.length){const c=r.disableDaysOfWeek.map(({value:p})=>p),l=ki(n,"EEEE").toUpperCase();if(c.includes(l))return!0}if(((i=r.disablePastDates)==null?void 0:i.number)!==void 0&&((a=r.disablePastDates)!=null&&a.unit)){const c=Pc(r.disablePastDates.number,r.disablePastDates.unit),l=Gh(t,c);if(bu(n,l))return!0}if(((s=r.disableFutureDates)==null?void 0:s.number)!==void 0&&((h=r.disableFutureDates)!=null&&h.unit)){const c=Pc(r.disableFutureDates.number,r.disableFutureDates.unit),l=Tf(t,c);if(gu(n,l))return!0}return!1};function Ic({name:e,rules:r={},sx:t={},constraints:n={},dateFormat:u="MM/dd/yyyy",...i}){const{field:a,fieldState:{error:s}}=vr.useController({name:e,rules:{...r,validate:c=>c&&n&&Bc(c,n)?"Selected date is not allowed.":!0}}),h=a.value?ki(a.value,u):"";return i.readonly?K.jsx(Jr,{label:i.label,value:h,sx:t,error:s==null?void 0:s.message}):K.jsx(Hr.DatePicker,{...a,...i,format:u,sx:{...t,m:0},slotProps:{textField:{onBlur:a.onBlur,helperText:!!s&&K.jsx(ln,{error:s.message}),error:!!s,fullWidth:!0}},shouldDisableDate:c=>n?Bc(c,n):!1})}function Rc({name:e,label:r,sx:t={},disabled:n,rules:u={},readonly:i,...a}){const{field:s,fieldState:{error:h}}=vr.useController({name:e,rules:u}),c=s.value?"Yes":"No";return K.jsx(Jr,{label:r,value:n?"":c,sx:t,error:h==null?void 0:h.message,childId:e,startAdornment:K.jsx(Ve.Checkbox,{"data-testid":"form-field-checkbox",id:e,...s,checked:s.value,...a,disabled:n||i,color:h?"error":"primary"})})}function kc({name:e,label:r,rules:t={},sx:n={},readonly:u,maxLength:i,filter:a,...s}){const{field:h,fieldState:{error:c}}=vr.useController({name:e,rules:t}),l=p=>{let o=p.target.value;a&&(o=a(o)),h.onChange(o)};return u?K.jsx(Jr,{label:r,value:h.value,sx:n,error:c==null?void 0:c.message}):K.jsx(Ve.TextField,{"data-test-id":"form-field-input",...h,label:r,fullWidth:!0,...s,error:!!c,helperText:!!c&&K.jsx(ln,{error:c.message}),onChange:l,sx:{...n,m:0},slotProps:{input:{inputProps:{maxLength:i}}}})}function jn(){return jn=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},jn.apply(null,arguments)}var Lc={relTol:1e-12,absTol:1e-15,matrix:"Matrix",number:"number",numberFallback:"number",precision:64,predictable:!1,randomSeed:null};function x1(e,r){if(Pu(e,r))return e[r];throw typeof e[r]=="function"&&C1(e,r)?new Error('Cannot access method "'+r+'" as a property'):new Error('No access to property "'+r+'"')}function A1(e,r,t){if(Pu(e,r))return e[r]=t,t;throw new Error('No access to property "'+r+'"')}function Pu(e,r){return!T1(e)&&!Array.isArray(e)?!1:zn(S1,r)?!0:!(r in Object.prototype||r in Function.prototype)}function C1(e,r){return e==null||typeof e[r]!="function"||zn(e,r)&&Object.getPrototypeOf&&r in Object.getPrototypeOf(e)?!1:zn(F1,r)?!0:!(r in Object.prototype||r in Function.prototype)}function T1(e){return typeof e=="object"&&e&&e.constructor===Object}var S1={length:!0,name:!0},F1={toString:!0,valueOf:!0,toLocaleString:!0};class _1{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 x1(this.wrappedObject,r)}set(r,t){return A1(this.wrappedObject,r,t),this}has(r){return Pu(this.wrappedObject,r)&&r in this.wrappedObject}entries(){return O1(this.keys(),r=>[r,this.get(r)])}forEach(r){for(var t of this.keys())r(this.get(t),t,this)}delete(r){Pu(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 O1(e,r){return{next:()=>{var t=e.next();return t.done?t:{value:r(t.value),done:!1}}}}function Ke(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 N1(e){return typeof e=="bigint"}function qc(e){return e&&typeof e=="object"&&Object.getPrototypeOf(e).isComplex===!0||!1}function $c(e){return e&&typeof e=="object"&&Object.getPrototypeOf(e).isFraction===!0||!1}function jc(e){return e&&e.constructor.prototype.isUnit===!0||!1}function fr(e){return typeof e=="string"}var yt=Array.isArray;function Wt(e){return e&&e.constructor.prototype.isMatrix===!0||!1}function Bu(e){return Array.isArray(e)||Wt(e)}function M1(e){return e&&e.isDenseMatrix&&e.constructor.prototype.isMatrix===!0||!1}function P1(e){return e&&e.isSparseMatrix&&e.constructor.prototype.isMatrix===!0||!1}function B1(e){return e&&e.constructor.prototype.isRange===!0||!1}function Oa(e){return e&&e.constructor.prototype.isIndex===!0||!1}function I1(e){return typeof e=="boolean"}function R1(e){return e&&e.constructor.prototype.isResultSet===!0||!1}function k1(e){return e&&e.constructor.prototype.isHelp===!0||!1}function L1(e){return typeof e=="function"}function q1(e){return e instanceof Date}function $1(e){return e instanceof RegExp}function Na(e){return!!(e&&typeof e=="object"&&e.constructor===Object&&!qc(e)&&!$c(e))}function j1(e){return e?e instanceof Map||e instanceof _1||typeof e.set=="function"&&typeof e.get=="function"&&typeof e.keys=="function"&&typeof e.has=="function":!1}function z1(e){return e===null}function H1(e){return e===void 0}function U1(e){return e&&e.isAccessorNode===!0&&e.constructor.prototype.isNode===!0||!1}function V1(e){return e&&e.isArrayNode===!0&&e.constructor.prototype.isNode===!0||!1}function W1(e){return e&&e.isAssignmentNode===!0&&e.constructor.prototype.isNode===!0||!1}function Y1(e){return e&&e.isBlockNode===!0&&e.constructor.prototype.isNode===!0||!1}function G1(e){return e&&e.isConditionalNode===!0&&e.constructor.prototype.isNode===!0||!1}function X1(e){return e&&e.isConstantNode===!0&&e.constructor.prototype.isNode===!0||!1}function Q1(e){return e&&e.isFunctionAssignmentNode===!0&&e.constructor.prototype.isNode===!0||!1}function Z1(e){return e&&e.isFunctionNode===!0&&e.constructor.prototype.isNode===!0||!1}function J1(e){return e&&e.isIndexNode===!0&&e.constructor.prototype.isNode===!0||!1}function K1(e){return e&&e.isNode===!0&&e.constructor.prototype.isNode===!0||!1}function ep(e){return e&&e.isObjectNode===!0&&e.constructor.prototype.isNode===!0||!1}function tp(e){return e&&e.isOperatorNode===!0&&e.constructor.prototype.isNode===!0||!1}function rp(e){return e&&e.isParenthesisNode===!0&&e.constructor.prototype.isNode===!0||!1}function np(e){return e&&e.isRangeNode===!0&&e.constructor.prototype.isNode===!0||!1}function up(e){return e&&e.isRelationalNode===!0&&e.constructor.prototype.isNode===!0||!1}function ip(e){return e&&e.isSymbolNode===!0&&e.constructor.prototype.isNode===!0||!1}function ap(e){return e&&e.constructor.prototype.isChain===!0||!1}function Kr(e){var r=typeof e;return r==="object"?e===null?"null":wt(e)?"BigNumber":e.constructor&&e.constructor.name?e.constructor.name:"Object":r}function Dt(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 Dt(t)});if(e instanceof Date)return new Date(e.valueOf());if(wt(e))return e;if(Na(e))return sp(e,Dt);if(r==="function")return e;throw new TypeError("Cannot clone: unknown type of value (value: ".concat(e,")"))}function sp(e,r){var t={};for(var n in e)zn(e,n)&&(t[n]=r(e[n]));return t}function op(e,r){for(var t in r)zn(r,t)&&(e[t]=r[t]);return e}function Br(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(!Br(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)||!Br(e[t],r[t]))return!1;for(t in r)if(!(t in e))return!1;return!0}else return e===r}}function zn(e,r){return e&&Object.hasOwnProperty.call(e,r)}function cp(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 lp=["Matrix","Array"],fp=["number","BigNumber","Fraction"],Hn=function(r){if(r)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(Lc)};jn(Hn,Lc,{MATRIX_OPTIONS:cp,NUMBER_OPTIONS:fp});function zc(){return!0}function Yt(){return!1}function ln(){}const Hc="Argument is not a typed-function.";function Uc(){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:zc,isAny:!0};let n,u,i=0,a={createCount:0};function o(S){const M=n.get(S);if(M)return M;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 h(S){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"any";const R=M?o(M).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 f(){n=new Map,u=[],i=0,h([t],!1)}f(),h(r);function c(){let S;for(S of u)n.get(S).conversionsTo=[];i=0}function p(S){const M=u.filter(R=>{const z=n.get(R);return!z.isAny&&z.test(S)});return M.length?M:["any"]}function s(S){return S&&typeof S=="function"&&"_typedFunctionData"in S}function d(S,M,R){if(!s(S))throw new TypeError(Hc);const z=R&&R.exact,H=Array.isArray(M)?M.join(","):M,U=D(H),ne=b(U);if(!z||ne in S.signatures){const je=S._typedFunctionData.signatureMap.get(ne);if(je)return je}const Q=U.length;let te;if(z){te=[];let je;for(je in S.signatures)te.push(S._typedFunctionData.signatureMap.get(je))}else te=S._typedFunctionData.signatures;for(let je=0;je<Q;++je){const Ge=U[je],lt=[];let Mt;for(Mt of te){const St=C(Mt.params,je);if(!(!St||Ge.restParam&&!St.restParam)){if(!St.hasAny){const Vt=v(St);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,M,R){return d(S,M,R).implementation}function l(S,M){const R=o(M);if(R.test(S))return S;const z=R.conversionsTo;if(z.length===0)throw new Error("There are no conversions to "+M+" defined.");for(let H=0;H<z.length;H++)if(o(z[H].from).test(S))return z[H].convert(S);throw new Error("Cannot convert "+S+" to "+M)}function b(S){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:",";return S.map(R=>R.name).join(M)}function g(S){const M=S.indexOf("...")===0,z=(M?S.length>3?S.slice(3):"any":S).split("|").map(Q=>o(Q.trim()));let H=!1,U=M?"...":"";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:M}}function w(S){const M=S.types.map(ne=>ne.name),R=J(M);let z=S.hasAny,H=S.name;const U=R.map(function(ne){const Q=o(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(M=>S.typeSet.add(M.name))),S.typeSet}function D(S){const M=[];if(typeof S!="string")throw new TypeError("Signatures must be strings");const R=S.trim();if(R==="")return M;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;M.push(U)}return M}function y(S){const M=ye(S);return M?M.restParam:!1}function E(S){if(!S||S.types.length===0)return zc;if(S.types.length===1)return o(S.types[0].name).test;if(S.types.length===2){const M=o(S.types[0].name).test,R=o(S.types[1].name).test;return function(H){return M(H)||R(H)}}else{const M=S.types.map(function(R){return o(R.name).test});return function(z){for(let H=0;H<M.length;H++)if(M[H](z))return!0;return!1}}}function A(S){let M,R,z;if(y(S)){M=be(S).map(E);const H=M.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<M.length;X++)if(!M[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}):(M=S.map(E),function(U){for(let ne=0;ne<M.length;ne++)if(!M[ne](U[ne]))return!1;return U.length===M.length})}function C(S,M){return M<S.length?S[M]:y(S)?ye(S):null}function F(S,M){const R=C(S,M);return R?v(R):new Set}function x(S){return S.conversion===null||S.conversion===void 0}function T(S,M){const R=new Set;return S.forEach(z=>{const H=F(z.params,M);let U;for(U of H)R.add(U)}),R.has("any")?["any"]:Array.from(R)}function _(S,M,R){let z,H;const U=S||"unnamed";let ne=R,Q;for(Q=0;Q<M.length;Q++){const Ge=[];if(ne.forEach(lt=>{const Mt=C(lt.params,Q),St=E(Mt);(Q<lt.params.length||y(lt.params))&&St(M[Q])&&Ge.push(lt)}),Ge.length===0){if(H=T(ne,Q),H.length>0){const lt=p(M[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(M.length<Math.min.apply(null,te))return H=T(ne,Q),z=new TypeError("Too few arguments in function "+U+" (expected: "+H.join(" or ")+", index: "+M.length+")"),z.data={category:"tooFewArgs",fn:U,index:M.length,expected:H},z;const X=Math.max.apply(null,te);if(M.length>X)return z=new TypeError("Too many arguments in function "+U+" (expected: "+X+", actual: "+M.length+")"),z.data={category:"tooManyArgs",fn:U,index:M.length,expectedLength:X},z;const je=[];for(let Ge=0;Ge<M.length;++Ge)je.push(p(M[Ge]).join("|"));return z=new TypeError('Arguments of type "'+je.join(", ")+'" do not match any of the defined signatures of function '+U+"."),z.data={category:"mismatch",actual:je},z}function P(S){let M=u.length+1;for(let R=0;R<S.types.length;R++)x(S.types[R])&&(M=Math.min(M,S.types[R].typeIndex));return M}function B(S){let M=i+1;for(let R=0;R<S.types.length;R++)x(S.types[R])||(M=Math.min(M,S.types[R].conversionIndex));return M}function N(S,M){if(S.hasAny){if(!M.hasAny)return 1}else if(M.hasAny)return-1;if(S.restParam){if(!M.restParam)return 1}else if(M.restParam)return-1;if(S.hasConversion){if(!M.hasConversion)return 1}else if(M.hasConversion)return-1;const R=P(S)-P(M);if(R<0)return-1;if(R>0)return 1;const z=B(S)-B(M);return z<0?-1:z>0?1:0}function I(S,M){const R=S.params,z=M.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,je;for(je of R)je.hasAny&&++te,je.hasConversion&&++X;let Ge=0,lt=0;for(je of z)je.hasAny&&++Ge,je.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 St=[];let Vt=0;for(let Or=0;Or<R.length;++Or){const or=N(R[Or],z[Or]);St.push(or),Vt+=or}if(Vt!==0)return Vt;let Pt;for(Pt of St)if(Pt!==0)return Pt;return 0}function J(S){if(S.length===0)return[];const M=S.map(o);S.length>1&&M.sort((H,U)=>H.index-U.index);let R=M[0].conversionsTo;if(S.length===1)return R;R=R.concat([]);const z=new Set(S);for(let H=1;H<M.length;++H){let U;for(U of M[H].conversionsTo)z.has(U.from)||(R.push(U),z.add(U.from))}return R}function re(S,M){let R=M;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])),M.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 M,R,z,H;const U=[],ne=[];switch(S.types.forEach(function(Q){Q.conversion&&(U.push(o(Q.conversion.from).test),ne.push(Q.conversion.convert))}),ne.length){case 0:return function(te){return te};case 1:return M=U[0],z=ne[0],function(te){return M(te)?z(te):te};case 2:return M=U[0],R=U[1],z=ne[0],H=ne[1],function(te){return M(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 L(S){function M(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 M(R,z+1,H.concat([Q]))})}else return[H]}return M(S,0,[])}function Z(S,M){const R=Math.max(S.length,M.length);for(let Q=0;Q<R;Q++){const te=F(S,Q),X=F(M,Q);let je=!1,Ge;for(Ge of X)if(te.has(Ge)){je=!0;break}if(!je)return!1}const z=S.length,H=M.length,U=y(S),ne=y(M);return U?ne?z===H:H>=z:ne?z>=H:z===H}function ce(S){return S.map(M=>Re(M)?et(M.referToSelf.callback):nt(M)?me(M.referTo.references,M.referTo.callback):M)}function Y(S,M,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=M[U],typeof U!="function")return!1;z.push(U)}return z}function oe(S,M,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(Re(te))z[Q]=te.referToSelf.callback(R),z[Q].referToSelf=te.referToSelf,H[Q]=!0,ne=!1;else if(nt(te)){const X=Y(te.referTo.references,z,M);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 M=/\bthis(\(|\.signatures\b)/;Object.keys(S).forEach(R=>{const z=S[R];if(M.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,M){if(a.createCount++,Object.keys(M).length===0)throw new SyntaxError("No signatures provided");a.warnAgainstDeprecatedThis&&de(M);const R=[],z=[],H={},U=[];let ne;for(ne in M){if(!Object.prototype.hasOwnProperty.call(M,ne))continue;const Ce=D(ne);if(!Ce)continue;R.forEach(function(on){if(Z(on,Ce))throw new TypeError('Conflicting signatures "'+b(on)+'" and "'+b(Ce)+'".')}),R.push(Ce);const Ve=z.length;z.push(M[ne]);const du=Ce.map(w);let Nn;for(Nn of L(du)){const on=b(Nn);U.push({params:Nn,name:on,fn:Ve}),Nn.every(u3=>!u3.hasConversion)&&(H[on]=Ve)}}U.sort(I);const Q=oe(z,H,Jt);let te;for(te in H)Object.prototype.hasOwnProperty.call(H,te)&&(H[te]=Q[H[te]]);const X=[],je=new Map;for(te of U)je.has(te.name)||(te.fn=Q[te.fn],X.push(te),je.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),St=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),Or=Ge&<&&Mt&&St&&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,fu=lt?E(X[1].params[0]):Yt,lu=Mt?E(X[2].params[0]):Yt,Ci=St?E(X[3].params[0]):Yt,No=Vt?E(X[4].params[0]):Yt,Ti=Pt?E(X[5].params[0]):Yt,Mo=Ge?E(X[0].params[1]):Yt,Si=lt?E(X[1].params[1]):Yt,Fi=Mt?E(X[2].params[1]):Yt,Po=St?E(X[3].params[1]):Yt,Bo=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 Oi=Ge?X[0].implementation:ln,Io=lt?X[1].implementation:ln,Ro=Mt?X[2].implementation:ln,ko=St?X[3].implementation:ln,Lo=Vt?X[4].implementation:ln,O=Pt?X[5].implementation:ln,G=Ge?X[0].params.length:-1,ue=lt?X[1].params.length:-1,we=Mt?X[2].params.length:-1,Ne=St?X[3].params.length:-1,Ue=Vt?X[4].params.length:-1,Te=Pt?X[5].params.length:-1,Ae=Or?6:0,Ft=X.length,it=X.map(Ce=>Ce.test),dt=X.map(Ce=>Ce.implementation),$t=function(){for(let Ve=Ae;Ve<Ft;Ve++)if(it[Ve](arguments))return dt[Ve].apply(this,arguments);return a.onMismatch(S,arguments,X)};function Jt(Ce,Ve){return arguments.length===G&&or(Ce)&&Mo(Ve)?Oi.apply(this,arguments):arguments.length===ue&&fu(Ce)&&Si(Ve)?Io.apply(this,arguments):arguments.length===we&&lu(Ce)&&Fi(Ve)?Ro.apply(this,arguments):arguments.length===Ne&&Ci(Ce)&&Po(Ve)?ko.apply(this,arguments):arguments.length===Ue&&No(Ce)&&Bo(Ve)?Lo.apply(this,arguments):arguments.length===Te&&Ti(Ce)&&_i(Ve)?O.apply(this,arguments):$t.apply(this,arguments)}try{Object.defineProperty(Jt,"name",{value:S})}catch{}return Jt.signatures=H,Jt._typedFunctionData={signatures:X,signatureMap:je},Jt}function se(S,M,R){throw _(S,M,R)}function be(S){return ve(S,0,S.length-1)}function ye(S){return S[S.length-1]}function ve(S,M,R){return Array.prototype.slice.call(S,M,R)}function q(S,M){for(let R=0;R<S.length;R++)if(M(S[R]))return S[R]}function k(S,M){return Array.prototype.concat.apply([],S.map(M))}function W(){const S=be(arguments).map(R=>b(D(R))),M=ye(arguments);if(typeof M!="function")throw new TypeError("Callback function expected as last argument");return me(S,M)}function me(S,M){return{referTo:{references:S,callback:M}}}function et(S){if(typeof S!="function")throw new TypeError("Callback function expected as first argument");return{referToSelf:{callback:S}}}function nt(S){return S&&typeof S.referTo=="object"&&Array.isArray(S.referTo.references)&&typeof S.referTo.callback=="function"}function Re(S){return S&&typeof S.referToSelf=="object"&&typeof S.referToSelf.callback=="function"}function Se(S,M){if(!S)return M;if(M&&M!==S){const R=new Error("Function names do not match (expected: "+S+", actual: "+M+")");throw R.data={actual:M,expected:S},R}return S}function yr(S){let M;for(const R in S)Object.prototype.hasOwnProperty.call(S,R)&&(s(S[R])||typeof S[R].signature=="string")&&(M=Se(M,S[R].name));return M}function Fe(S,M){let R;for(R in M)if(Object.prototype.hasOwnProperty.call(M,R)){if(R in S&&M[R]!==S[R]){const z=new Error('Signature "'+R+'" is defined twice');throw z.data={signature:R,sourceFunction:M[R],destFunction:S[R]},z}S[R]=M[R]}}const _e=a;a=function(S){const M=typeof S=="string",R=M?1:0;let z=M?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:s(ne)&&(Q=ne.signatures)):e(ne)&&(Q=ne,M||(te=yr(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}M||(z=Se(z,te)),Fe(H,Q)}return he(z||"",H)},a.create=Uc,a.createCount=_e.createCount,a.onMismatch=se,a.throwMismatchError=se,a.createError=_,a.clear=f,a.clearConversions=c,a.addTypes=h,a._findType=o,a.referTo=W,a.referToSelf=et,a.convert=l,a.findSignature=d,a.find=m,a.isTypedFunction=s,a.warnAgainstDeprecatedThis=!0,a.addType=function(S,M){let R="any";M!==!1&&n.has("Object")&&(R="Object"),a.addTypes([S],R)};function qt(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 M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{override:!1};qt(S);const R=o(S.to),z=R.conversionsTo.find(H=>H.from===S.from);if(z)if(M&&M.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,M){S.forEach(R=>a.addConversion(R,M))},a.removeConversion=function(S){qt(S);const M=o(S.to),R=q(M.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=M.conversionsTo.indexOf(R);M.conversionsTo.splice(z,1)},a.resolve=function(S,M){if(!s(S))throw new TypeError(Hc);const R=S._typedFunctionData.signatures;for(let z=0;z<R.length;++z)if(R[z].test(M))return R[z];return null},a}const Iu=Uc();function Pe(e,r,t,n){function u(i){var a=sp(i,r.map(hp));return lp(e,r,i),t(a)}return u.isFactory=!0,u.fn=e,u.dependencies=r.slice().sort(),n&&(u.meta=n),u}function lp(e,r,t){var n=r.filter(i=>!dp(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 dp(e){return e&&e[0]==="?"}function hp(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 Na(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(!gt(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(!gt(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 Ma(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}=Vc(r);switch(t){case"fixed":return Wc(e,n);case"exponential":return Yc(e,n);case"engineering":return pp(e,n);case"bin":return Na(e,2,u);case"oct":return Na(e,8,u);case"hex":return Na(e,16,u);case"auto":return mp(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 Vc(e){var r="auto",t,n;if(e!==void 0)if(Ke(e))t=e;else if(wt(e))t=e.toNumber();else if(Oa(e))e.precision!==void 0&&(t=Gc(e.precision,()=>{throw new Error('Option "precision" must be a number or BigNumber')})),e.wordSize!==void 0&&(n=Gc(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 Un(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(o){return u-=o.length,""}).replace(/0*$/,"").split("").map(function(o){return parseInt(o)});return a.length===0&&(a.push(0),u++),{sign:t,coefficients:a,exponent:u}}function pp(e,r){if(isNaN(e)||!isFinite(e))return String(e);var t=Un(e),n=Ru(t,r),u=n.exponent,i=n.coefficients,a=u%3===0?u:u<0?u-3-u%3:u-u%3;if(Ke(r))for(;r>i.length||u-a+1>i.length;)i.push(0);else for(var o=Math.abs(u-a)-(i.length-1),h=0;h<o;h++)i.push(0);for(var f=Math.abs(u-a),c=1;f>0;)c++,f--;var p=i.slice(c).join(""),s=Ke(r)&&p.length||p.match(/[1-9]/)?"."+p:"",d=i.slice(0,c).join("")+s+"e"+(u>=0?"+":"")+a.toString();return n.sign+d}function Wc(e,r){if(isNaN(e)||!isFinite(e))return String(e);var t=Un(e),n=typeof r=="number"?Ru(t,t.exponent+1+r):t,u=n.coefficients,i=n.exponent+1,a=i+(r||0);return u.length<a&&(u=u.concat(dn(a-u.length))),i<0&&(u=dn(-i+1).concat(u),i=1),i<u.length&&u.splice(i,0,i===0?"0.":"."),n.sign+u.join("")}function Yc(e,r){if(isNaN(e)||!isFinite(e))return String(e);var t=Un(e),n=r?Ru(t,r):t,u=n.coefficients,i=n.exponent;u.length<r&&(u=u.concat(dn(r-u.length)));var a=u.shift();return n.sign+a+(u.length>0?"."+u.join(""):"")+"e"+(i>=0?"+":"")+i}function mp(e,r,t){if(isNaN(e)||!isFinite(e))return String(e);var n=Xc(t==null?void 0:t.lowerExp,-3),u=Xc(t==null?void 0:t.upperExp,5),i=Un(e),a=r?Ru(i,r):i;if(a.exponent<n||a.exponent>=u)return Yc(e,r);var o=a.coefficients,h=a.exponent;o.length<r&&(o=o.concat(dn(r-o.length))),o=o.concat(dn(h-o.length+1+(o.length<r?r-o.length:0))),o=dn(-h).concat(o);var f=h>0?h:0;return f<o.length-1&&o.splice(f+1,0,"."),a.sign+o.join("")}function Ru(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 dn(e){for(var r=[],t=0;t<e;t++)r.push(0);return r}function gp(e){return e.toExponential().replace(/e.*$/,"").replace(/^0\.?0*|\./,"").length}function hn(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 Gc(e,r){if(Ke(e))return e;if(wt(e))return e.toNumber();r()}function Xc(e,r){return Ke(e)?e:wt(e)?e.toNumber():r}var Qc=function(){return Qc=Iu.create,Iu},bp=["?BigNumber","?Complex","?DenseMatrix","?Fraction"],yp=Pe("typed",bp,function(r){var{BigNumber:t,Complex:n,DenseMatrix:u,Fraction:i}=r,a=Qc();return a.clear(),a.addTypes([{name:"number",test:Ke},{name:"Complex",test:qc},{name:"BigNumber",test:wt},{name:"bigint",test:O1},{name:"Fraction",test:$c},{name:"Unit",test:jc},{name:"identifier",test:o=>lr&&/^(?:[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(o)},{name:"string",test:lr},{name:"Chain",test:ip},{name:"Array",test:yt},{name:"Matrix",test:Wt},{name:"DenseMatrix",test:N1},{name:"SparseMatrix",test:M1},{name:"Range",test:P1},{name:"Index",test:_a},{name:"boolean",test:B1},{name:"ResultSet",test:I1},{name:"Help",test:R1},{name:"function",test:k1},{name:"Date",test:L1},{name:"RegExp",test:q1},{name:"null",test:j1},{name:"undefined",test:z1},{name:"AccessorNode",test:H1},{name:"ArrayNode",test:U1},{name:"AssignmentNode",test:V1},{name:"BlockNode",test:W1},{name:"ConditionalNode",test:Y1},{name:"ConstantNode",test:G1},{name:"FunctionNode",test:Q1},{name:"FunctionAssignmentNode",test:X1},{name:"IndexNode",test:Z1},{name:"Node",test:J1},{name:"ObjectNode",test:K1},{name:"OperatorNode",test:ep},{name:"ParenthesisNode",test:tp},{name:"RangeNode",test:rp},{name:"RelationalNode",test:np},{name:"SymbolNode",test:up},{name:"Map",test:$1},{name:"Object",test:Oa}]),a.addConversions([{from:"number",to:"BigNumber",convert:function(h){if(t||ku(h),gp(h)>15)throw new TypeError("Cannot implicitly convert a number with >15 significant digits to BigNumber (value: "+h+"). Use function bignumber(x) to convert to BigNumber.");return new t(h)}},{from:"number",to:"Complex",convert:function(h){return n||Lu(h),new n(h,0)}},{from:"BigNumber",to:"Complex",convert:function(h){return n||Lu(h),new n(h.toNumber(),0)}},{from:"bigint",to:"number",convert:function(h){if(h>Number.MAX_SAFE_INTEGER)throw new TypeError("Cannot implicitly convert bigint to number: value exceeds the max safe integer value (value: "+h+")");return Number(h)}},{from:"bigint",to:"BigNumber",convert:function(h){return t||ku(h),new t(h.toString())}},{from:"bigint",to:"Fraction",convert:function(h){return i||qu(h),new i(h)}},{from:"Fraction",to:"BigNumber",convert:function(h){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(h){return n||Lu(h),new n(h.valueOf(),0)}},{from:"number",to:"Fraction",convert:function(h){i||qu(h);var f=new i(h);if(f.valueOf()!==h)throw new TypeError("Cannot implicitly convert a number to a Fraction when there will be a loss of precision (value: "+h+"). Use function fraction(x) to convert to Fraction.");return f}},{from:"string",to:"number",convert:function(h){var f=Number(h);if(isNaN(f))throw new Error('Cannot convert "'+h+'" to a number');return f}},{from:"string",to:"BigNumber",convert:function(h){t||ku(h);try{return new t(h)}catch{throw new Error('Cannot convert "'+h+'" to BigNumber')}}},{from:"string",to:"bigint",convert:function(h){try{return BigInt(h)}catch{throw new Error('Cannot convert "'+h+'" to BigInt')}}},{from:"string",to:"Fraction",convert:function(h){i||qu(h);try{return new i(h)}catch{throw new Error('Cannot convert "'+h+'" to Fraction')}}},{from:"string",to:"Complex",convert:function(h){n||Lu(h);try{return new n(h)}catch{throw new Error('Cannot convert "'+h+'" to Complex')}}},{from:"boolean",to:"number",convert:function(h){return+h}},{from:"boolean",to:"BigNumber",convert:function(h){return t||ku(h),new t(+h)}},{from:"boolean",to:"bigint",convert:function(h){return BigInt(+h)}},{from:"boolean",to:"Fraction",convert:function(h){return i||qu(h),new i(+h)}},{from:"boolean",to:"string",convert:function(h){return String(h)}},{from:"Array",to:"Matrix",convert:function(h){return u||vp(),new u(h)}},{from:"Matrix",to:"Array",convert:function(h){return h.valueOf()}}]),a.onMismatch=(o,h,f)=>{var c=a.createError(o,h,f);if(["wrongType","mismatch"].includes(c.data.category)&&h.length===1&&Bu(h[0])&&f.some(s=>!s.params.includes(","))){var p=new TypeError("Function '".concat(o,"' doesn't apply to matrices. To call it ")+"elementwise on a matrix 'M', try 'map(M, ".concat(o,")'."));throw p.data=c.data,p}throw c},a.onMismatch=(o,h,f)=>{var c=a.createError(o,h,f);if(["wrongType","mismatch"].includes(c.data.category)&&h.length===1&&Bu(h[0])&&f.some(s=>!s.params.includes(","))){var p=new TypeError("Function '".concat(o,"' doesn't apply to matrices. To call it ")+"elementwise on a matrix 'M', try 'map(M, ".concat(o,")'."));throw p.data=c.data,p}throw c},a});function ku(e){throw new Error("Cannot convert value ".concat(e," into a BigNumber: no class 'BigNumber' provided"))}function Lu(e){throw new Error("Cannot convert value ".concat(e," into a Complex number: no class 'Complex' provided"))}function vp(){throw new Error("Cannot convert array into a Matrix: no class 'DenseMatrix' provided")}function qu(e){throw new Error("Cannot convert value ".concat(e," into a Fraction, no class 'Fraction' provided."))}/*!
|
|
81
|
+
`);return Object.freeze(Lc)};jn(Hn,Lc,{MATRIX_OPTIONS:lp,NUMBER_OPTIONS:fp});function zc(){return!0}function Yt(){return!1}function fn(){}const Hc="Argument is not a typed-function.";function Uc(){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:zc,isAny:!0};let n,u,i=0,a={createCount:0};function s(S){const M=n.get(S);if(M)return M;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 h(S){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"any";const R=M?s(M).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,h([t],!1)}c(),h(r);function l(){let S;for(S of u)n.get(S).conversionsTo=[];i=0}function p(S){const M=u.filter(R=>{const z=n.get(R);return!z.isAny&&z.test(S)});return M.length?M:["any"]}function o(S){return S&&typeof S=="function"&&"_typedFunctionData"in S}function f(S,M,R){if(!o(S))throw new TypeError(Hc);const z=R&&R.exact,H=Array.isArray(M)?M.join(","):M,U=D(H),ne=b(U);if(!z||ne in S.signatures){const je=S._typedFunctionData.signatureMap.get(ne);if(je)return je}const Q=U.length;let te;if(z){te=[];let je;for(je in S.signatures)te.push(S._typedFunctionData.signatureMap.get(je))}else te=S._typedFunctionData.signatures;for(let je=0;je<Q;++je){const Ge=U[je],ft=[];let Mt;for(Mt of te){const St=C(Mt.params,je);if(!(!St||Ge.restParam&&!St.restParam)){if(!St.hasAny){const Vt=v(St);if(Ge.types.some(Pt=>!Vt.has(Pt.name)))continue}ft.push(Mt)}}if(te=ft,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,M,R){return f(S,M,R).implementation}function d(S,M){const R=s(M);if(R.test(S))return S;const z=R.conversionsTo;if(z.length===0)throw new Error("There are no conversions to "+M+" 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 "+M)}function b(S){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:",";return S.map(R=>R.name).join(M)}function g(S){const M=S.indexOf("...")===0,z=(M?S.length>3?S.slice(3):"any":S).split("|").map(Q=>s(Q.trim()));let H=!1,U=M?"...":"";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:M}}function w(S){const M=S.types.map(ne=>ne.name),R=J(M);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(M=>S.typeSet.add(M.name))),S.typeSet}function D(S){const M=[];if(typeof S!="string")throw new TypeError("Signatures must be strings");const R=S.trim();if(R==="")return M;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;M.push(U)}return M}function y(S){const M=ye(S);return M?M.restParam:!1}function E(S){if(!S||S.types.length===0)return zc;if(S.types.length===1)return s(S.types[0].name).test;if(S.types.length===2){const M=s(S.types[0].name).test,R=s(S.types[1].name).test;return function(H){return M(H)||R(H)}}else{const M=S.types.map(function(R){return s(R.name).test});return function(z){for(let H=0;H<M.length;H++)if(M[H](z))return!0;return!1}}}function A(S){let M,R,z;if(y(S)){M=be(S).map(E);const H=M.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<M.length;X++)if(!M[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}):(M=S.map(E),function(U){for(let ne=0;ne<M.length;ne++)if(!M[ne](U[ne]))return!1;return U.length===M.length})}function C(S,M){return M<S.length?S[M]:y(S)?ye(S):null}function F(S,M){const R=C(S,M);return R?v(R):new Set}function x(S){return S.conversion===null||S.conversion===void 0}function T(S,M){const R=new Set;return S.forEach(z=>{const H=F(z.params,M);let U;for(U of H)R.add(U)}),R.has("any")?["any"]:Array.from(R)}function _(S,M,R){let z,H;const U=S||"unnamed";let ne=R,Q;for(Q=0;Q<M.length;Q++){const Ge=[];if(ne.forEach(ft=>{const Mt=C(ft.params,Q),St=E(Mt);(Q<ft.params.length||y(ft.params))&&St(M[Q])&&Ge.push(ft)}),Ge.length===0){if(H=T(ne,Q),H.length>0){const ft=p(M[Q]);return z=new TypeError("Unexpected type of argument in function "+U+" (expected: "+H.join(" or ")+", actual: "+ft.join(" | ")+", index: "+Q+")"),z.data={category:"wrongType",fn:U,index:Q,actual:ft,expected:H},z}}else ne=Ge}const te=ne.map(function(Ge){return y(Ge.params)?1/0:Ge.params.length});if(M.length<Math.min.apply(null,te))return H=T(ne,Q),z=new TypeError("Too few arguments in function "+U+" (expected: "+H.join(" or ")+", index: "+M.length+")"),z.data={category:"tooFewArgs",fn:U,index:M.length,expected:H},z;const X=Math.max.apply(null,te);if(M.length>X)return z=new TypeError("Too many arguments in function "+U+" (expected: "+X+", actual: "+M.length+")"),z.data={category:"tooManyArgs",fn:U,index:M.length,expectedLength:X},z;const je=[];for(let Ge=0;Ge<M.length;++Ge)je.push(p(M[Ge]).join("|"));return z=new TypeError('Arguments of type "'+je.join(", ")+'" do not match any of the defined signatures of function '+U+"."),z.data={category:"mismatch",actual:je},z}function P(S){let M=u.length+1;for(let R=0;R<S.types.length;R++)x(S.types[R])&&(M=Math.min(M,S.types[R].typeIndex));return M}function B(S){let M=i+1;for(let R=0;R<S.types.length;R++)x(S.types[R])||(M=Math.min(M,S.types[R].conversionIndex));return M}function N(S,M){if(S.hasAny){if(!M.hasAny)return 1}else if(M.hasAny)return-1;if(S.restParam){if(!M.restParam)return 1}else if(M.restParam)return-1;if(S.hasConversion){if(!M.hasConversion)return 1}else if(M.hasConversion)return-1;const R=P(S)-P(M);if(R<0)return-1;if(R>0)return 1;const z=B(S)-B(M);return z<0?-1:z>0?1:0}function I(S,M){const R=S.params,z=M.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,je;for(je of R)je.hasAny&&++te,je.hasConversion&&++X;let Ge=0,ft=0;for(je of z)je.hasAny&&++Ge,je.hasConversion&&++ft;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!==ft)return X-ft;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 St=[];let Vt=0;for(let Or=0;Or<R.length;++Or){const sr=N(R[Or],z[Or]);St.push(sr),Vt+=sr}if(Vt!==0)return Vt;let Pt;for(Pt of St)if(Pt!==0)return Pt;return 0}function J(S){if(S.length===0)return[];const M=S.map(s);S.length>1&&M.sort((H,U)=>H.index-U.index);let R=M[0].conversionsTo;if(S.length===1)return R;R=R.concat([]);const z=new Set(S);for(let H=1;H<M.length;++H){let U;for(U of M[H].conversionsTo)z.has(U.from)||(R.push(U),z.add(U.from))}return R}function re(S,M){let R=M;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])),M.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 M,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 M=U[0],z=ne[0],function(te){return M(te)?z(te):te};case 2:return M=U[0],R=U[1],z=ne[0],H=ne[1],function(te){return M(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 L(S){function M(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 M(R,z+1,H.concat([Q]))})}else return[H]}return M(S,0,[])}function Z(S,M){const R=Math.max(S.length,M.length);for(let Q=0;Q<R;Q++){const te=F(S,Q),X=F(M,Q);let je=!1,Ge;for(Ge of X)if(te.has(Ge)){je=!0;break}if(!je)return!1}const z=S.length,H=M.length,U=y(S),ne=y(M);return U?ne?z===H:H>=z:ne?z>=H:z===H}function ce(S){return S.map(M=>Re(M)?et(M.referToSelf.callback):nt(M)?me(M.referTo.references,M.referTo.callback):M)}function Y(S,M,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=M[U],typeof U!="function")return!1;z.push(U)}return z}function se(S,M,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(Re(te))z[Q]=te.referToSelf.callback(R),z[Q].referToSelf=te.referToSelf,H[Q]=!0,ne=!1;else if(nt(te)){const X=Y(te.referTo.references,z,M);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 M=/\bthis(\(|\.signatures\b)/;Object.keys(S).forEach(R=>{const z=S[R];if(M.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,M){if(a.createCount++,Object.keys(M).length===0)throw new SyntaxError("No signatures provided");a.warnAgainstDeprecatedThis&&de(M);const R=[],z=[],H={},U=[];let ne;for(ne in M){if(!Object.prototype.hasOwnProperty.call(M,ne))continue;const Ce=D(ne);if(!Ce)continue;R.forEach(function(an){if(Z(an,Ce))throw new TypeError('Conflicting signatures "'+b(an)+'" and "'+b(Ce)+'".')}),R.push(Ce);const Ue=z.length;z.push(M[ne]);const du=Ce.map(w);let Nn;for(Nn of L(du)){const an=b(Nn);U.push({params:Nn,name:an,fn:Ue}),Nn.every(i3=>!i3.hasConversion)&&(H[an]=Ue)}}U.sort(I);const Q=se(z,H,Jt);let te;for(te in H)Object.prototype.hasOwnProperty.call(H,te)&&(H[te]=Q[H[te]]);const X=[],je=new Map;for(te of U)je.has(te.name)||(te.fn=Q[te.fn],X.push(te),je.set(te.name,te));const Ge=X[0]&&X[0].params.length<=2&&!y(X[0].params),ft=X[1]&&X[1].params.length<=2&&!y(X[1].params),Mt=X[2]&&X[2].params.length<=2&&!y(X[2].params),St=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),Or=Ge&&ft&&Mt&&St&&Vt&&Pt;for(let Ce=0;Ce<X.length;++Ce)X[Ce].test=A(X[Ce].params);const sr=Ge?E(X[0].params[0]):Yt,lu=ft?E(X[1].params[0]):Yt,fu=Mt?E(X[2].params[0]):Yt,Ci=St?E(X[3].params[0]):Yt,Ns=Vt?E(X[4].params[0]):Yt,Ti=Pt?E(X[5].params[0]):Yt,Ms=Ge?E(X[0].params[1]):Yt,Si=ft?E(X[1].params[1]):Yt,Fi=Mt?E(X[2].params[1]):Yt,Ps=St?E(X[3].params[1]):Yt,Bs=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 Oi=Ge?X[0].implementation:fn,Is=ft?X[1].implementation:fn,Rs=Mt?X[2].implementation:fn,ks=St?X[3].implementation:fn,Ls=Vt?X[4].implementation:fn,O=Pt?X[5].implementation:fn,G=Ge?X[0].params.length:-1,ue=ft?X[1].params.length:-1,we=Mt?X[2].params.length:-1,Ne=St?X[3].params.length:-1,He=Vt?X[4].params.length:-1,Te=Pt?X[5].params.length:-1,Ae=Or?6:0,Ft=X.length,it=X.map(Ce=>Ce.test),dt=X.map(Ce=>Ce.implementation),$t=function(){for(let Ue=Ae;Ue<Ft;Ue++)if(it[Ue](arguments))return dt[Ue].apply(this,arguments);return a.onMismatch(S,arguments,X)};function Jt(Ce,Ue){return arguments.length===G&&sr(Ce)&&Ms(Ue)?Oi.apply(this,arguments):arguments.length===ue&&lu(Ce)&&Si(Ue)?Is.apply(this,arguments):arguments.length===we&&fu(Ce)&&Fi(Ue)?Rs.apply(this,arguments):arguments.length===Ne&&Ci(Ce)&&Ps(Ue)?ks.apply(this,arguments):arguments.length===He&&Ns(Ce)&&Bs(Ue)?Ls.apply(this,arguments):arguments.length===Te&&Ti(Ce)&&_i(Ue)?O.apply(this,arguments):$t.apply(this,arguments)}try{Object.defineProperty(Jt,"name",{value:S})}catch{}return Jt.signatures=H,Jt._typedFunctionData={signatures:X,signatureMap:je},Jt}function oe(S,M,R){throw _(S,M,R)}function be(S){return ve(S,0,S.length-1)}function ye(S){return S[S.length-1]}function ve(S,M,R){return Array.prototype.slice.call(S,M,R)}function q(S,M){for(let R=0;R<S.length;R++)if(M(S[R]))return S[R]}function k(S,M){return Array.prototype.concat.apply([],S.map(M))}function W(){const S=be(arguments).map(R=>b(D(R))),M=ye(arguments);if(typeof M!="function")throw new TypeError("Callback function expected as last argument");return me(S,M)}function me(S,M){return{referTo:{references:S,callback:M}}}function et(S){if(typeof S!="function")throw new TypeError("Callback function expected as first argument");return{referToSelf:{callback:S}}}function nt(S){return S&&typeof S.referTo=="object"&&Array.isArray(S.referTo.references)&&typeof S.referTo.callback=="function"}function Re(S){return S&&typeof S.referToSelf=="object"&&typeof S.referToSelf.callback=="function"}function Se(S,M){if(!S)return M;if(M&&M!==S){const R=new Error("Function names do not match (expected: "+S+", actual: "+M+")");throw R.data={actual:M,expected:S},R}return S}function yr(S){let M;for(const R in S)Object.prototype.hasOwnProperty.call(S,R)&&(o(S[R])||typeof S[R].signature=="string")&&(M=Se(M,S[R].name));return M}function Fe(S,M){let R;for(R in M)if(Object.prototype.hasOwnProperty.call(M,R)){if(R in S&&M[R]!==S[R]){const z=new Error('Signature "'+R+'" is defined twice');throw z.data={signature:R,sourceFunction:M[R],destFunction:S[R]},z}S[R]=M[R]}}const _e=a;a=function(S){const M=typeof S=="string",R=M?1:0;let z=M?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,M||(te=yr(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}M||(z=Se(z,te)),Fe(H,Q)}return he(z||"",H)},a.create=Uc,a.createCount=_e.createCount,a.onMismatch=oe,a.throwMismatchError=oe,a.createError=_,a.clear=c,a.clearConversions=l,a.addTypes=h,a._findType=s,a.referTo=W,a.referToSelf=et,a.convert=d,a.findSignature=f,a.find=m,a.isTypedFunction=o,a.warnAgainstDeprecatedThis=!0,a.addType=function(S,M){let R="any";M!==!1&&n.has("Object")&&(R="Object"),a.addTypes([S],R)};function qt(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 M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{override:!1};qt(S);const R=s(S.to),z=R.conversionsTo.find(H=>H.from===S.from);if(z)if(M&&M.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,M){S.forEach(R=>a.addConversion(R,M))},a.removeConversion=function(S){qt(S);const M=s(S.to),R=q(M.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=M.conversionsTo.indexOf(R);M.conversionsTo.splice(z,1)},a.resolve=function(S,M){if(!o(S))throw new TypeError(Hc);const R=S._typedFunctionData.signatures;for(let z=0;z<R.length;++z)if(R[z].test(M))return R[z];return null},a}const Iu=Uc();function Pe(e,r,t,n){function u(i){var a=cp(i,r.map(pp));return dp(e,r,i),t(a)}return u.isFactory=!0,u.fn=e,u.dependencies=r.slice().sort(),n&&(u.meta=n),u}function dp(e,r,t){var n=r.filter(i=>!hp(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 hp(e){return e&&e[0]==="?"}function pp(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 Ma(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(!gt(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(!gt(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 Pa(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}=Vc(r);switch(t){case"fixed":return Wc(e,n);case"exponential":return Yc(e,n);case"engineering":return mp(e,n);case"bin":return Ma(e,2,u);case"oct":return Ma(e,8,u);case"hex":return Ma(e,16,u);case"auto":return gp(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 Vc(e){var r="auto",t,n;if(e!==void 0)if(Ke(e))t=e;else if(wt(e))t=e.toNumber();else if(Na(e))e.precision!==void 0&&(t=Gc(e.precision,()=>{throw new Error('Option "precision" must be a number or BigNumber')})),e.wordSize!==void 0&&(n=Gc(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 Un(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 mp(e,r){if(isNaN(e)||!isFinite(e))return String(e);var t=Un(e),n=Ru(t,r),u=n.exponent,i=n.coefficients,a=u%3===0?u:u<0?u-3-u%3:u-u%3;if(Ke(r))for(;r>i.length||u-a+1>i.length;)i.push(0);else for(var s=Math.abs(u-a)-(i.length-1),h=0;h<s;h++)i.push(0);for(var c=Math.abs(u-a),l=1;c>0;)l++,c--;var p=i.slice(l).join(""),o=Ke(r)&&p.length||p.match(/[1-9]/)?"."+p:"",f=i.slice(0,l).join("")+o+"e"+(u>=0?"+":"")+a.toString();return n.sign+f}function Wc(e,r){if(isNaN(e)||!isFinite(e))return String(e);var t=Un(e),n=typeof r=="number"?Ru(t,t.exponent+1+r):t,u=n.coefficients,i=n.exponent+1,a=i+(r||0);return u.length<a&&(u=u.concat(dn(a-u.length))),i<0&&(u=dn(-i+1).concat(u),i=1),i<u.length&&u.splice(i,0,i===0?"0.":"."),n.sign+u.join("")}function Yc(e,r){if(isNaN(e)||!isFinite(e))return String(e);var t=Un(e),n=r?Ru(t,r):t,u=n.coefficients,i=n.exponent;u.length<r&&(u=u.concat(dn(r-u.length)));var a=u.shift();return n.sign+a+(u.length>0?"."+u.join(""):"")+"e"+(i>=0?"+":"")+i}function gp(e,r,t){if(isNaN(e)||!isFinite(e))return String(e);var n=Xc(t==null?void 0:t.lowerExp,-3),u=Xc(t==null?void 0:t.upperExp,5),i=Un(e),a=r?Ru(i,r):i;if(a.exponent<n||a.exponent>=u)return Yc(e,r);var s=a.coefficients,h=a.exponent;s.length<r&&(s=s.concat(dn(r-s.length))),s=s.concat(dn(h-s.length+1+(s.length<r?r-s.length:0))),s=dn(-h).concat(s);var c=h>0?h:0;return c<s.length-1&&s.splice(c+1,0,"."),a.sign+s.join("")}function Ru(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 dn(e){for(var r=[],t=0;t<e;t++)r.push(0);return r}function bp(e){return e.toExponential().replace(/e.*$/,"").replace(/^0\.?0*|\./,"").length}function hn(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 Gc(e,r){if(Ke(e))return e;if(wt(e))return e.toNumber();r()}function Xc(e,r){return Ke(e)?e:wt(e)?e.toNumber():r}var Qc=function(){return Qc=Iu.create,Iu},yp=["?BigNumber","?Complex","?DenseMatrix","?Fraction"],vp=Pe("typed",yp,function(r){var{BigNumber:t,Complex:n,DenseMatrix:u,Fraction:i}=r,a=Qc();return a.clear(),a.addTypes([{name:"number",test:Ke},{name:"Complex",test:qc},{name:"BigNumber",test:wt},{name:"bigint",test:N1},{name:"Fraction",test:$c},{name:"Unit",test:jc},{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:ap},{name:"Array",test:yt},{name:"Matrix",test:Wt},{name:"DenseMatrix",test:M1},{name:"SparseMatrix",test:P1},{name:"Range",test:B1},{name:"Index",test:Oa},{name:"boolean",test:I1},{name:"ResultSet",test:R1},{name:"Help",test:k1},{name:"function",test:L1},{name:"Date",test:q1},{name:"RegExp",test:$1},{name:"null",test:z1},{name:"undefined",test:H1},{name:"AccessorNode",test:U1},{name:"ArrayNode",test:V1},{name:"AssignmentNode",test:W1},{name:"BlockNode",test:Y1},{name:"ConditionalNode",test:G1},{name:"ConstantNode",test:X1},{name:"FunctionNode",test:Z1},{name:"FunctionAssignmentNode",test:Q1},{name:"IndexNode",test:J1},{name:"Node",test:K1},{name:"ObjectNode",test:ep},{name:"OperatorNode",test:tp},{name:"ParenthesisNode",test:rp},{name:"RangeNode",test:np},{name:"RelationalNode",test:up},{name:"SymbolNode",test:ip},{name:"Map",test:j1},{name:"Object",test:Na}]),a.addConversions([{from:"number",to:"BigNumber",convert:function(h){if(t||ku(h),bp(h)>15)throw new TypeError("Cannot implicitly convert a number with >15 significant digits to BigNumber (value: "+h+"). Use function bignumber(x) to convert to BigNumber.");return new t(h)}},{from:"number",to:"Complex",convert:function(h){return n||Lu(h),new n(h,0)}},{from:"BigNumber",to:"Complex",convert:function(h){return n||Lu(h),new n(h.toNumber(),0)}},{from:"bigint",to:"number",convert:function(h){if(h>Number.MAX_SAFE_INTEGER)throw new TypeError("Cannot implicitly convert bigint to number: value exceeds the max safe integer value (value: "+h+")");return Number(h)}},{from:"bigint",to:"BigNumber",convert:function(h){return t||ku(h),new t(h.toString())}},{from:"bigint",to:"Fraction",convert:function(h){return i||qu(h),new i(h)}},{from:"Fraction",to:"BigNumber",convert:function(h){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(h){return n||Lu(h),new n(h.valueOf(),0)}},{from:"number",to:"Fraction",convert:function(h){i||qu(h);var c=new i(h);if(c.valueOf()!==h)throw new TypeError("Cannot implicitly convert a number to a Fraction when there will be a loss of precision (value: "+h+"). Use function fraction(x) to convert to Fraction.");return c}},{from:"string",to:"number",convert:function(h){var c=Number(h);if(isNaN(c))throw new Error('Cannot convert "'+h+'" to a number');return c}},{from:"string",to:"BigNumber",convert:function(h){t||ku(h);try{return new t(h)}catch{throw new Error('Cannot convert "'+h+'" to BigNumber')}}},{from:"string",to:"bigint",convert:function(h){try{return BigInt(h)}catch{throw new Error('Cannot convert "'+h+'" to BigInt')}}},{from:"string",to:"Fraction",convert:function(h){i||qu(h);try{return new i(h)}catch{throw new Error('Cannot convert "'+h+'" to Fraction')}}},{from:"string",to:"Complex",convert:function(h){n||Lu(h);try{return new n(h)}catch{throw new Error('Cannot convert "'+h+'" to Complex')}}},{from:"boolean",to:"number",convert:function(h){return+h}},{from:"boolean",to:"BigNumber",convert:function(h){return t||ku(h),new t(+h)}},{from:"boolean",to:"bigint",convert:function(h){return BigInt(+h)}},{from:"boolean",to:"Fraction",convert:function(h){return i||qu(h),new i(+h)}},{from:"boolean",to:"string",convert:function(h){return String(h)}},{from:"Array",to:"Matrix",convert:function(h){return u||wp(),new u(h)}},{from:"Matrix",to:"Array",convert:function(h){return h.valueOf()}}]),a.onMismatch=(s,h,c)=>{var l=a.createError(s,h,c);if(["wrongType","mismatch"].includes(l.data.category)&&h.length===1&&Bu(h[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=l.data,p}throw l},a.onMismatch=(s,h,c)=>{var l=a.createError(s,h,c);if(["wrongType","mismatch"].includes(l.data.category)&&h.length===1&&Bu(h[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=l.data,p}throw l},a});function ku(e){throw new Error("Cannot convert value ".concat(e," into a BigNumber: no class 'BigNumber' provided"))}function Lu(e){throw new Error("Cannot convert value ".concat(e," into a Complex number: no class 'Complex' provided"))}function wp(){throw new Error("Cannot convert array into a Matrix: no class 'DenseMatrix' provided")}function qu(e){throw new Error("Cannot convert value ".concat(e," into a Fraction, no class 'Fraction' provided."))}/*!
|
|
82
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 pn=9e15,Ir=1e9,Pa="0123456789abcdef",$u="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",ju="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Ba={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-pn,maxE:pn,crypto:!1},Zc,Cr,De=!0,zu="[DecimalError] ",Rr=zu+"Invalid argument: ",Jc=zu+"Precision limit exceeded",Kc=zu+"crypto unavailable",e0="[object Decimal]",_t=Math.floor,vt=Math.pow,wp=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,Dp=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,Ep=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,t0=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ur=1e7,ge=7,xp=9007199254740991,Ap=$u.length-1,Ia=ju.length-1,V={toStringTag:e0};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,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(Rr+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,o=(e=new i.constructor(e)).d,h=i.s,f=e.s;if(!a||!o)return!h||!f?NaN:h!==f?h:a===o?0:!a^h<0?1:-1;if(!a[0]||!o[0])return a[0]?h:o[0]?-f:0;if(h!==f)return h;if(i.e!==e.e)return i.e>e.e^h<0?1:-1;for(n=a.length,u=o.length,r=0,t=n<u?n:u;r<t;++r)if(a[r]!==o[r])return a[r]>o[r]^h<0?1:-1;return n===u?0:n>u^h<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=Cp(n,o0(n,t)),n.precision=e,n.rounding=r,fe(Cr==2||Cr==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,o,h,f,c=this,p=c.constructor;if(!c.isFinite()||c.isZero())return new p(c);for(De=!1,i=c.s*vt(c.s*c,1/3),!i||Math.abs(i)==1/0?(t=Ct(c.d),e=c.e,(i=(e-t.length+1)%3)&&(t+=i==1||i==-2?"0":"00"),i=vt(t,1/3),e=_t((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=c.s):n=new p(i.toString()),a=(e=p.precision)+3;;)if(o=n,h=o.times(o).times(o),f=h.plus(c),n=Xe(f.plus(c).times(o),f.plus(h),a+2,1),Ct(o.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&&(fe(o,e+1,0),o.times(o).times(o).eq(c))){n=o;break}a+=4,u=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(fe(n,e+1,1),r=!n.times(n).times(n).eq(c));break}return De=!0,fe(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-_t(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 fe(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 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 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,o=new a(1);if(!i.isFinite())return new a(i.s?1/0:NaN);if(i.isZero())return o;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/Yu(4,e)).toString()):(e=16,r="2.3283064365386962890625e-10"),i=mn(a,1,i.times(r),new a(1),!0);for(var h,f=e,c=new a(8);f--;)h=i.times(i),i=o.minus(h.times(c.minus(h.times(c))));return fe(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=mn(i,2,u,u,!0);else{e=1.4*Math.sqrt(n),e=e>16?16:e|0,u=u.times(1/Yu(5,e)),u=mn(i,2,u,u,!0);for(var a,o=new i(5),h=new i(16),f=new i(20);e--;)a=u.times(u),u=u.times(o.plus(a.times(h.times(a).plus(f))))}return i.precision=r,i.rounding=t,fe(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()?hr(r,n,u):new r(0):new r(NaN):e.isZero()?hr(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?fe(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=hr(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,o,h,f=this,c=f.constructor,p=c.precision,s=c.rounding;if(f.isFinite()){if(f.isZero())return new c(f);if(f.abs().eq(1)&&p+4<=Ia)return a=hr(c,p+4,s).times(.25),a.s=f.s,a}else{if(!f.s)return new c(NaN);if(p+4<=Ia)return a=hr(c,p+4,s).times(.5),a.s=f.s,a}for(c.precision=o=p+10,c.rounding=1,t=Math.min(28,o/ge+2|0),e=t;e;--e)f=f.div(f.times(f).plus(1).sqrt().plus(1));for(De=!1,r=Math.ceil(o/ge),n=1,h=f.times(f),a=new c(f),u=f;e!==-1;)if(u=u.times(h),i=a.minus(u.div(n+=2)),u=u.times(h),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,fe(a,c.precision=p,c.rounding=s,!0)},V.isFinite=function(){return!!this.d},V.isInteger=V.isInt=function(){return!!this.d&&_t(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,o,h,f=this,c=f.constructor,p=c.precision,s=c.rounding,d=5;if(e==null)e=new c(10),r=!0;else{if(e=new c(e),t=e.d,e.s<0||!t||!t[0]||e.eq(1))return new c(NaN);r=e.eq(10)}if(t=f.d,f.s<0||!t||!t[0]||f.eq(1))return new c(t&&!t[0]?-1/0:f.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,o=p+d,a=Lr(f,o),n=r?Vu(c,o+10):Lr(e,o),h=Xe(a,n,o,1),Vn(h.d,u=p,s))do if(o+=10,a=Lr(f,o),n=r?Vu(c,o+10):Lr(e,o),h=Xe(a,n,o,1),!i){+Ct(h.d).slice(u+1,u+15)+1==1e14&&(h=fe(h,p+1,0));break}while(Vn(h.d,u+=10,s));return De=!0,fe(h,p,s)},V.minus=V.sub=function(e){var r,t,n,u,i,a,o,h,f,c,p,s,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(f=d.d,s=e.d,o=m.precision,h=m.rounding,!f[0]||!s[0]){if(s[0])e.s=-e.s;else if(f[0])e=new m(d);else return new m(h===3?-0:0);return De?fe(e,o,h):e}if(t=_t(e.e/ge),c=_t(d.e/ge),f=f.slice(),i=c-t,i){for(p=i<0,p?(r=f,i=-i,a=s.length):(r=s,t=c,a=f.length),n=Math.max(Math.ceil(o/ge),a)+2,i>n&&(i=n,r.length=1),r.reverse(),n=i;n--;)r.push(0);r.reverse()}else{for(n=f.length,a=s.length,p=n<a,p&&(a=n),n=0;n<a;n++)if(f[n]!=s[n]){p=f[n]<s[n];break}i=0}for(p&&(r=f,f=s,s=r,e.s=-e.s),a=f.length,n=s.length-a;n>0;--n)f[a++]=0;for(n=s.length;n>i;){if(f[--n]<s[n]){for(u=n;u&&f[--u]===0;)f[u]=ur-1;--f[u],f[n]+=ur}f[n]-=s[n]}for(;f[--a]===0;)f.pop();for(;f[0]===0;f.shift())--t;return f[0]?(e.d=f,e.e=Uu(f,t),De?fe(e,o,h):e):new m(h===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]?fe(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 Ra(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 r,t,n,u,i,a,o,h,f,c,p=this,s=p.constructor;if(e=new s(e),!p.d||!e.d)return!p.s||!e.s?e=new s(NaN):p.d||(e=new s(e.d||p.s===e.s?p:NaN)),e;if(p.s!=e.s)return e.s=-e.s,p.minus(e);if(f=p.d,c=e.d,o=s.precision,h=s.rounding,!f[0]||!c[0])return c[0]||(e=new s(p)),De?fe(e,o,h):e;if(i=_t(p.e/ge),n=_t(e.e/ge),f=f.slice(),u=i-n,u){for(u<0?(t=f,u=-u,a=c.length):(t=c,n=i,a=f.length),i=Math.ceil(o/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=f.length,u=c.length,a-u<0&&(u=a,t=c,c=f,f=t),r=0;u;)r=(f[--u]=f[u]+c[u]+r)/ur|0,f[u]%=ur;for(r&&(f.unshift(r),++n),a=f.length;f[--a]==0;)f.pop();return e.d=f,e.e=Uu(f,n),De?fe(e,o,h):e},V.precision=V.sd=function(e){var r,t=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Rr+e);return t.d?(r=r0(t.d),e&&t.e+1>r&&(r=t.e+1)):r=NaN,r},V.round=function(){var e=this,r=e.constructor;return fe(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=Sp(n,o0(n,t)),n.precision=e,n.rounding=r,fe(Cr>2?t.neg():t,e,r,!0)):new n(NaN)},V.squareRoot=V.sqrt=function(){var e,r,t,n,u,i,a=this,o=a.d,h=a.e,f=a.s,c=a.constructor;if(f!==1||!o||!o[0])return new c(!f||f<0&&(!o||o[0])?NaN:o?a:1/0);for(De=!1,f=Math.sqrt(+a),f==0||f==1/0?(r=Ct(o),(r.length+h)%2==0&&(r+="0"),f=Math.sqrt(r),h=_t((h+1)/2)-(h<0||h%2),f==1/0?r="5e"+h:(r=f.toExponential(),r=r.slice(0,r.indexOf("e")+1)+h),n=new c(r)):n=new c(f.toString()),t=(h=c.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&&(fe(i,h+1,0),i.times(i).eq(a))){n=i;break}t+=4,u=1}else{(!+r||!+r.slice(1)&&r.charAt(0)=="5")&&(fe(n,h+1,1),e=!n.times(n).eq(a));break}return De=!0,fe(n,h,c.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,fe(Cr==2||Cr==4?t.neg():t,e,r,!0)):new n(NaN)},V.times=V.mul=function(e){var r,t,n,u,i,a,o,h,f,c=this,p=c.constructor,s=c.d,d=(e=new p(e)).d;if(e.s*=c.s,!s||!s[0]||!d||!d[0])return new p(!e.s||s&&!s[0]&&!d||d&&!d[0]&&!s?NaN:!s||!d?e.s/0:e.s*0);for(t=_t(c.e/ge)+_t(e.e/ge),h=s.length,f=d.length,h<f&&(i=s,s=d,d=i,a=h,h=f,f=a),i=[],a=h+f,n=a;n--;)i.push(0);for(n=f;--n>=0;){for(r=0,u=h+n;u>n;)o=i[u]+d[n]*s[u-n-1]+r,i[u--]=o%ur|0,r=o/ur|0;i[u]=(i[u]+r)%ur|0}for(;!i[--a];)i.pop();return r?++t:i.shift(),e.d=i,e.e=Uu(i,t),De?fe(e,p.precision,p.rounding):e},V.toBinary=function(e,r){return ka(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:(It(e,0,Ir),r===void 0?r=n.rounding:It(r,0,8),fe(t,e+t.e+1,r))},V.toExponential=function(e,r){var t,n=this,u=n.constructor;return e===void 0?t=dr(n,!0):(It(e,0,Ir),r===void 0?r=u.rounding:It(r,0,8),n=fe(new u(n),e+1,r),t=dr(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=dr(u):(It(e,0,Ir),r===void 0?r=i.rounding:It(r,0,8),n=fe(new i(u),e+u.e+1,r),t=dr(n,!1,e+n.e+1)),u.isNeg()&&!u.isZero()?"-"+t:t},V.toFraction=function(e){var r,t,n,u,i,a,o,h,f,c,p,s,d=this,m=d.d,l=d.constructor;if(!m)return new l(d);if(f=t=new l(1),n=h=new l(0),r=new l(n),i=r.e=r0(m)-d.e-1,a=i%ge,r.d[0]=vt(10,a<0?ge+a:a),e==null)e=i>0?r:f;else{if(o=new l(e),!o.isInt()||o.lt(f))throw Error(Rr+o);e=o.gt(r)?i>0?r:f:o}for(De=!1,o=new l(Ct(m)),c=l.precision,l.precision=i=m.length*ge*2;p=Xe(o,r,0,1,1),u=t.plus(p.times(n)),u.cmp(e)!=1;)t=n,n=u,u=f,f=h.plus(p.times(u)),h=u,u=r,r=o.minus(p.times(u)),o=u;return u=Xe(e.minus(t),n,0,1,1),h=h.plus(u.times(f)),t=t.plus(u.times(n)),h.s=f.s=d.s,s=Xe(f,n,i,1).minus(d).abs().cmp(Xe(h,t,i,1).minus(d).abs())<1?[f,n]:[h,t],l.precision=c,De=!0,s},V.toHexadecimal=V.toHex=function(e,r){return ka(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:It(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,fe(t)):(e.s=t.s,t=e),t},V.toNumber=function(){return+this},V.toOctal=function(e,r){return ka(this,8,e,r)},V.toPower=V.pow=function(e){var r,t,n,u,i,a,o=this,h=o.constructor,f=+(e=new h(e));if(!o.d||!e.d||!o.d[0]||!e.d[0])return new h(vt(+o,f));if(o=new h(o),o.eq(1))return o;if(n=h.precision,i=h.rounding,e.eq(1))return fe(o,n,i);if(r=_t(e.e/ge),r>=e.d.length-1&&(t=f<0?-f:f)<=xp)return u=n0(h,o,t,n),e.s<0?new h(1).div(u):fe(u,n,i);if(a=o.s,a<0){if(r<e.d.length-1)return new h(NaN);if(e.d[r]&1||(a=1),o.e==0&&o.d[0]==1&&o.d.length==1)return o.s=a,o}return t=vt(+o,f),r=t==0||!isFinite(t)?_t(f*(Math.log("0."+Ct(o.d))/Math.LN10+o.e+1)):new h(t+"").e,r>h.maxE+1||r<h.minE-1?new h(r>0?a/0:0):(De=!1,h.rounding=o.s=1,t=Math.min(12,(r+"").length),u=Ra(e.times(Lr(o,n+t)),n),u.d&&(u=fe(u,n+5,1),Vn(u.d,n,i)&&(r=n+10,u=fe(Ra(e.times(Lr(o,r+t)),r),r+5,1),+Ct(u.d).slice(n+1,n+15)+1==1e14&&(u=fe(u,n+1,0)))),u.s=a,De=!0,h.rounding=i,fe(u,n,i))},V.toPrecision=function(e,r){var t,n=this,u=n.constructor;return e===void 0?t=dr(n,n.e<=u.toExpNeg||n.e>=u.toExpPos):(It(e,1,Ir),r===void 0?r=u.rounding:It(r,0,8),n=fe(new u(n),e,r),t=dr(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):(It(e,1,Ir),r===void 0?r=n.rounding:It(r,0,8)),fe(new n(t),e,r)},V.toString=function(){var e=this,r=e.constructor,t=dr(e,e.e<=r.toExpNeg||e.e>=r.toExpPos);return e.isNeg()&&!e.isZero()?"-"+t:t},V.truncated=V.trunc=function(){return fe(new this.constructor(this),this.e+1,1)},V.valueOf=V.toJSON=function(){var e=this,r=e.constructor,t=dr(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+=kr(t)),i+=n;a=e[r],n=a+"",t=ge-n.length,t&&(i+=kr(t))}else if(a===0)return"0";for(;a%10===0;)a/=10;return i+a}function It(e,r,t){if(e!==~~e||e<r||e>t)throw Error(Rr+e)}function Vn(e,r,t,n){var u,i,a,o;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=vt(10,ge-r),o=e[u]%i|0,n==null?r<3?(r==0?o=o/100|0:r==1&&(o=o/10|0),a=t<4&&o==99999||t>3&&o==49999||o==5e4||o==0):a=(t<4&&o+1==i||t>3&&o+1==i/2)&&(e[u+1]/i/100|0)==vt(10,r-2)-1||(o==i/2||o==0)&&(e[u+1]/i/100|0)==0:r<4?(r==0?o=o/1e3|0:r==1?o=o/100|0:r==2&&(o=o/10|0),a=(n||t<4)&&o==9999||!n&&t>3&&o==4999):a=((n||t<4)&&o+1==i||!n&&t>3&&o+1==i/2)&&(e[u+1]/i/1e3|0)==vt(10,r-3)-1,a}function Hu(e,r,t){for(var n,u=[0],i,a=0,o=e.length;a<o;){for(i=u.length;i--;)u[i]*=r;for(u[0]+=Pa.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 Cp(e,r){var t,n,u;if(r.isZero())return r;n=r.d.length,n<32?(t=Math.ceil(n/3),u=(1/Yu(4,t)).toString()):(t=16,u="2.3283064365386962890625e-10"),e.precision+=t,r=mn(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,o=0,h=n.length;for(n=n.slice();h--;)a=n[h]*u+o,n[h]=a%i|0,o=a/i|0;return o&&n.unshift(o),n}function r(n,u,i,a){var o,h;if(i!=a)h=i>a?1:-1;else for(o=h=0;o<i;o++)if(n[o]!=u[o]){h=n[o]>u[o]?1:-1;break}return h}function t(n,u,i,a){for(var o=0;i--;)n[i]-=o,o=n[i]<u[i]?1:0,n[i]=o*a+n[i]-u[i];for(;!n[0]&&n.length>1;)n.shift()}return function(n,u,i,a,o,h){var f,c,p,s,d,m,l,b,g,w,v,D,y,E,A,C,F,x,T,_,P=n.constructor,B=n.s==u.s?1:-1,N=n.d,I=u.d;if(!N||!N[0]||!I||!I[0])return new P(!n.s||!u.s||(N?I&&N[0]==I[0]:!I)?NaN:N&&N[0]==0||!I?B*0:B/0);for(h?(d=1,c=n.e-u.e):(h=ur,d=ge,c=_t(n.e/d)-_t(u.e/d)),T=I.length,F=N.length,g=new P(B),w=g.d=[],p=0;I[p]==(N[p]||0);p++);if(I[p]>(N[p]||0)&&c--,i==null?(E=i=P.precision,a=P.rounding):o?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,T==1){for(s=0,I=I[0],E++;(p<F||s)&&E--;p++)A=s*h+(N[p]||0),w[p]=A/I|0,s=A%I|0;m=s||p<F}else{for(s=h/(I[0]+1)|0,s>1&&(I=e(I,s,h),N=e(N,s,h),T=I.length,F=N.length),C=T,v=N.slice(0,T),D=v.length;D<T;)v[D++]=0;_=I.slice(),_.unshift(0),x=I[0],I[1]>=h/2&&++x;do s=0,f=r(I,v,T,D),f<0?(y=v[0],T!=D&&(y=y*h+(v[1]||0)),s=y/x|0,s>1?(s>=h&&(s=h-1),l=e(I,s,h),b=l.length,D=v.length,f=r(l,v,b,D),f==1&&(s--,t(l,T<b?_:I,b,h))):(s==0&&(f=s=1),l=I.slice()),b=l.length,b<D&&l.unshift(0),t(v,l,D,h),f==-1&&(D=v.length,f=r(I,v,T,D),f<1&&(s++,t(v,T<D?_:I,D,h))),D=v.length):f===0&&(s++,v=[0]),w[p++]=s,f&&v[0]?v[D++]=N[C]||0:(v=[N[C]],D=1);while((C++<F||v[0]!==void 0)&&E--);m=v[0]!==void 0}w[0]||w.shift()}if(d==1)g.e=c,Zc=m;else{for(p=1,s=w[0];s>=10;s/=10)p++;g.e=p+c*d-1,fe(g,o?i+g.e+1:i,a,m)}return g}}();function fe(e,r,t,n){var u,i,a,o,h,f,c,p,s,d=e.constructor;e:if(r!=null){if(p=e.d,!p)return e;for(u=1,o=p[0];o>=10;o/=10)u++;if(i=r-u,i<0)i+=ge,a=r,c=p[s=0],h=c/vt(10,u-a-1)%10|0;else if(s=Math.ceil((i+1)/ge),o=p.length,s>=o)if(n){for(;o++<=s;)p.push(0);c=h=0,u=1,i%=ge,a=i-ge+1}else break e;else{for(c=o=p[s],u=1;o>=10;o/=10)u++;i%=ge,a=i-ge+u,h=a<0?0:c/vt(10,u-a-1)%10|0}if(n=n||r<0||p[s+1]!==void 0||(a<0?c:c%vt(10,u-a-1)),f=t<4?(h||n)&&(t==0||t==(e.s<0?3:2)):h>5||h==5&&(t==4||n||t==6&&(i>0?a>0?c/vt(10,u-a):0:p[s-1])%10&1||t==(e.s<0?8:7)),r<1||!p[0])return p.length=0,f?(r-=e.e+1,p[0]=vt(10,(ge-r%ge)%ge),e.e=-r||0):p[0]=e.e=0,e;if(i==0?(p.length=s,o=1,s--):(p.length=s+1,o=vt(10,ge-i),p[s]=a>0?(c/vt(10,u-a)%vt(10,a)|0)*o:0),f)for(;;)if(s==0){for(i=1,a=p[0];a>=10;a/=10)i++;for(a=p[0]+=o,o=1;a>=10;a/=10)o++;i!=o&&(e.e++,p[0]==ur&&(p[0]=1));break}else{if(p[s]+=o,p[s]!=ur)break;p[s--]=0,o=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 dr(e,r,t){if(!e.isFinite())return a0(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)+kr(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(e.e<0?"e":"e+")+e.e):u<0?(i="0."+kr(-u-1)+i,t&&(n=t-a)>0&&(i+=kr(n))):u>=a?(i+=kr(u+1-a),t&&(n=t-u-1)>0&&(i=i+"."+kr(n))):((n=u+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),t&&(n=t-a)>0&&(u+1===a&&(i+="."),i+=kr(n))),i}function Uu(e,r){var t=e[0];for(r*=ge;t>=10;t/=10)r++;return r}function Vu(e,r,t){if(r>Ap)throw De=!0,t&&(e.precision=t),Error(Jc);return fe(new e($u),r,1,!0)}function hr(e,r,t){if(r>Ia)throw Error(Jc);return fe(new e(ju),r,t,!0)}function r0(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 kr(e){for(var r="";e--;)r+="0";return r}function n0(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),s0(i.d,a)&&(u=!0)),t=_t(t/2),t===0){t=i.d.length-1,u&&i.d[t]===0&&++i.d[t];break}r=r.times(r),s0(r.d,a)}return De=!0,i}function u0(e){return e.d[e.d.length-1]&1}function i0(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 Ra(e,r){var t,n,u,i,a,o,h,f=0,c=0,p=0,s=e.constructor,d=s.rounding,m=s.precision;if(!e.d||!e.d[0]||e.e>17)return new s(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,h=m):h=r,o=new s(.03125);e.e>-2;)e=e.times(o),p+=5;for(n=Math.log(vt(2,p))/Math.LN10*2+5|0,h+=n,t=i=a=new s(1),s.precision=h;;){if(i=fe(i.times(e),h,1),t=t.times(++c),o=a.plus(Xe(i,t,h,1)),Ct(o.d).slice(0,h)===Ct(a.d).slice(0,h)){for(u=p;u--;)a=fe(a.times(a),h,1);if(r==null)if(f<3&&Vn(a.d,h-n,d,f))s.precision=h+=10,t=i=o=new s(1),c=0,f++;else return fe(a,s.precision=m,d,De=!0);else return s.precision=m,a}a=o}}function Lr(e,r){var t,n,u,i,a,o,h,f,c,p,s,d=1,m=10,l=e,b=l.d,g=l.constructor,w=g.rounding,v=g.precision;if(l.s<0||!b||!b[0]||!l.e&&b[0]==1&&b.length==1)return new g(b&&!b[0]?-1/0:l.s!=1?NaN:b?0:l);if(r==null?(De=!1,c=v):c=r,g.precision=c+=m,t=Ct(b),n=t.charAt(0),Math.abs(i=l.e)<15e14){for(;n<7&&n!=1||n==1&&t.charAt(1)>3;)l=l.times(e),t=Ct(l.d),n=t.charAt(0),d++;i=l.e,n>1?(l=new g("0."+t),i++):l=new g(n+"."+t.slice(1))}else return f=Vu(g,c+2,v).times(i+""),l=Lr(new g(n+"."+t.slice(1)),c-m).plus(f),g.precision=v,r==null?fe(l,v,w,De=!0):l;for(p=l,h=a=l=Xe(l.minus(1),l.plus(1),c,1),s=fe(l.times(l),c,1),u=3;;){if(a=fe(a.times(s),c,1),f=h.plus(Xe(a,new g(u),c,1)),Ct(f.d).slice(0,c)===Ct(h.d).slice(0,c))if(h=h.times(2),i!==0&&(h=h.plus(Vu(g,c+2,v).times(i+""))),h=Xe(h,new g(d),c,1),r==null)if(Vn(h.d,c-m,w,o))g.precision=c+=m,f=a=l=Xe(p.minus(1),p.plus(1),c,1),s=fe(l.times(l),c,1),u=o=1;else return fe(h,g.precision=v,w,De=!0);else return g.precision=v,h;h=f,u+=2}}function a0(e){return String(e.s*e.s/0)}function Wu(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 Tp(e,r){var t,n,u,i,a,o,h,f,c;if(r.indexOf("_")>-1){if(r=r.replace(/(\d)_(?=\d)/g,"$1"),t0.test(r))return Wu(e,r)}else if(r==="Infinity"||r==="NaN")return+r||(e.s=NaN),e.e=NaN,e.d=null,e;if(Dp.test(r))t=16,r=r.toLowerCase();else if(wp.test(r))t=2;else if(Ep.test(r))t=8;else throw Error(Rr+r);for(i=r.search(/p/i),i>0?(h=+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(".",""),o=r.length,i=o-i,u=n0(n,new n(t),i,i*2)),f=Hu(r,t,ur),c=f.length-1,i=c;f[i]===0;--i)f.pop();return i<0?new n(e.s*0):(e.e=Uu(f,c),e.d=f,De=!1,a&&(e=Xe(e,u,o*4)),h&&(e=e.times(Math.abs(h)<54?vt(2,h):gn.pow(2,h))),De=!0,e)}function Sp(e,r){var t,n=r.d.length;if(n<3)return r.isZero()?r:mn(e,2,r,r);t=1.4*Math.sqrt(n),t=t>16?16:t|0,r=r.times(1/Yu(5,t)),r=mn(e,2,r,r);for(var u,i=new e(5),a=new e(16),o=new e(20);t--;)u=r.times(r),r=r.times(i.plus(u.times(a.times(u).minus(o))));return r}function mn(e,r,t,n,u){var i,a,o,h,f=e.precision,c=Math.ceil(f/ge);for(De=!1,h=t.times(t),o=new e(n);;){if(a=Xe(o.times(h),new e(r++*r++),f,1),o=u?n.plus(a):n.minus(a),n=Xe(a.times(h),new e(r++*r++),f,1),a=o.plus(n),a.d[c]!==void 0){for(i=c;a.d[i]===o.d[i]&&i--;);if(i==-1)break}i=o,o=n,n=a,a=i}return De=!0,a.d.length=c+1,a}function Yu(e,r){for(var t=e;--r;)t*=e;return t}function o0(e,r){var t,n=r.s<0,u=hr(e,e.precision,1),i=u.times(.5);if(r=r.abs(),r.lte(i))return Cr=n?4:1,r;if(t=r.divToInt(u),t.isZero())Cr=n?3:2;else{if(r=r.minus(t.times(u)),r.lte(i))return Cr=u0(t)?n?2:3:n?4:1,r;Cr=u0(t)?n?1:4:n?3:2}return r.minus(u).abs()}function ka(e,r,t,n){var u,i,a,o,h,f,c,p,s,d=e.constructor,m=t!==void 0;if(m?(It(t,1,Ir),n===void 0?n=d.rounding:It(n,0,8)):(t=d.precision,n=d.rounding),!e.isFinite())c=a0(e);else{for(c=dr(e),a=c.indexOf("."),m?(u=2,r==16?t=t*4-3:r==8&&(t=t*3-2)):u=r,a>=0&&(c=c.replace(".",""),s=new d(1),s.e=c.length-a,s.d=Hu(dr(s),10,u),s.e=s.d.length),p=Hu(c,10,u),i=h=p.length;p[--h]==0;)p.pop();if(!p[0])c=m?"0p+0":"0";else{if(a<0?i--:(e=new d(e),e.d=p,e.e=i,e=Xe(e,s,t,n,0,u),p=e.d,i=e.e,f=Zc),a=p[t],o=u/2,f=f||p[t+1]!==void 0,f=n<4?(a!==void 0||f)&&(n===0||n===(e.s<0?3:2)):a>o||a===o&&(n===4||f||n===6&&p[t-1]&1||n===(e.s<0?8:7)),p.length=t,f)for(;++p[--t]>u-1;)p[t]=0,t||(++i,p.unshift(1));for(h=p.length;!p[h-1];--h);for(a=0,c="";a<h;a++)c+=Pa.charAt(p[a]);if(m){if(h>1)if(r==16||r==8){for(a=r==16?4:3,--h;h%a;h++)c+="0";for(p=Hu(c,u,r),h=p.length;!p[h-1];--h);for(a=1,c="1.";a<h;a++)c+=Pa.charAt(p[a])}else c=c.charAt(0)+"."+c.slice(1);c=c+(i<0?"p":"p+")+i}else if(i<0){for(;++i;)c="0"+c;c="0."+c}else if(++i>h)for(i-=h;i--;)c+="0";else i<h&&(c=c.slice(0,i)+"."+c.slice(i))}c=(r==16?"0x":r==2?"0b":r==8?"0o":"")+c}return e.s<0?"-"+c:c}function s0(e,r){if(e.length>r)return e.length=r,!0}function Fp(e){return new this(e).abs()}function _p(e){return new this(e).acos()}function Op(e){return new this(e).acosh()}function Np(e,r){return new this(e).plus(r)}function Mp(e){return new this(e).asin()}function Pp(e){return new this(e).asinh()}function Bp(e){return new this(e).atan()}function Ip(e){return new this(e).atanh()}function Rp(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=hr(this,i,1).times(r.s>0?.25:.75),t.s=e.s):!r.d||e.isZero()?(t=r.s<0?hr(this,n,u):new this(0),t.s=e.s):!e.d||r.isZero()?(t=hr(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=hr(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 kp(e){return new this(e).cbrt()}function Lp(e){return fe(e=new this(e),e.e+1,2)}function qp(e,r,t){return new this(e).clamp(r,t)}function $p(e){if(!e||typeof e!="object")throw Error(zu+"Object expected");var r,t,n,u=e.defaults===!0,i=["precision",1,Ir,"rounding",0,8,"toExpNeg",-pn,0,"toExpPos",0,pn,"maxE",0,pn,"minE",-pn,0,"modulo",0,9];for(r=0;r<i.length;r+=3)if(t=i[r],u&&(this[t]=Ba[t]),(n=e[t])!==void 0)if(_t(n)===n&&n>=i[r+1]&&n<=i[r+2])this[t]=n;else throw Error(Rr+t+": "+n);if(t="crypto",u&&(this[t]=Ba[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(Kc);else this[t]=!1;else throw Error(Rr+t+": "+n);return this}function jp(e){return new this(e).cos()}function zp(e){return new this(e).cosh()}function c0(e){var r,t,n;function u(i){var a,o,h,f=this;if(!(f instanceof u))return new u(i);if(f.constructor=u,f0(i)){f.s=i.s,De?!i.d||i.e>u.maxE?(f.e=NaN,f.d=null):i.e<u.minE?(f.e=0,f.d=[0]):(f.e=i.e,f.d=i.d.slice()):(f.e=i.e,f.d=i.d?i.d.slice():i.d);return}if(h=typeof i,h==="number"){if(i===0){f.s=1/i<0?-1:1,f.e=0,f.d=[0];return}if(i<0?(i=-i,f.s=-1):f.s=1,i===~~i&&i<1e7){for(a=0,o=i;o>=10;o/=10)a++;De?a>u.maxE?(f.e=NaN,f.d=null):a<u.minE?(f.e=0,f.d=[0]):(f.e=a,f.d=[i]):(f.e=a,f.d=[i]);return}if(i*0!==0){i||(f.s=NaN),f.e=NaN,f.d=null;return}return Wu(f,i.toString())}if(h==="string")return(o=i.charCodeAt(0))===45?(i=i.slice(1),f.s=-1):(o===43&&(i=i.slice(1)),f.s=1),t0.test(i)?Wu(f,i):Tp(f,i);if(h==="bigint")return i<0?(i=-i,f.s=-1):f.s=1,Wu(f,i.toString());throw Error(Rr+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=$p,u.clone=c0,u.isDecimal=f0,u.abs=Fp,u.acos=_p,u.acosh=Op,u.add=Np,u.asin=Mp,u.asinh=Pp,u.atan=Bp,u.atanh=Ip,u.atan2=Rp,u.cbrt=kp,u.ceil=Lp,u.clamp=qp,u.cos=jp,u.cosh=zp,u.div=Hp,u.exp=Up,u.floor=Vp,u.hypot=Wp,u.ln=Yp,u.log=Gp,u.log10=Qp,u.log2=Xp,u.max=Zp,u.min=Jp,u.mod=Kp,u.mul=em,u.pow=tm,u.random=rm,u.round=nm,u.sign=um,u.sin=im,u.sinh=am,u.sqrt=om,u.sub=sm,u.sum=cm,u.tan=fm,u.tanh=lm,u.trunc=dm,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 Hp(e,r){return new this(e).div(r)}function Up(e){return new this(e).exp()}function Vp(e){return fe(e=new this(e),e.e+1,3)}function Wp(){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 f0(e){return e instanceof gn||e&&e.toStringTag===e0||!1}function Yp(e){return new this(e).ln()}function Gp(e,r){return new this(e).log(r)}function Xp(e){return new this(e).log(2)}function Qp(e){return new this(e).log(10)}function Zp(){return i0(this,arguments,-1)}function Jp(){return i0(this,arguments,1)}function Kp(e,r){return new this(e).mod(r)}function em(e,r){return new this(e).mul(r)}function tm(e,r){return new this(e).pow(r)}function rm(e){var r,t,n,u,i=0,a=new this(1),o=[];if(e===void 0?e=this.precision:It(e,1,Ir),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]:o[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):(o.push(u%1e7),i+=4);i=n/4}else throw Error(Kc);else for(;i<n;)o[i++]=Math.random()*1e7|0;for(n=o[--i],e%=ge,n&&e&&(u=vt(10,ge-e),o[i]=(n/u|0)*u);o[i]===0;i--)o.pop();if(i<0)t=0,o=[0];else{for(t=-1;o[0]===0;t-=ge)o.shift();for(n=1,u=o[0];u>=10;u/=10)n++;n<ge&&(t-=ge-n)}return a.e=t,a.d=o,a}function nm(e){return fe(e=new this(e),e.e+1,this.rounding)}function um(e){return e=new this(e),e.d?e.d[0]?e.s:0*e.s:e.s||NaN}function im(e){return new this(e).sin()}function am(e){return new this(e).sinh()}function om(e){return new this(e).sqrt()}function sm(e,r){return new this(e).sub(r)}function cm(){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,fe(t,this.precision,this.rounding)}function fm(e){return new this(e).tan()}function lm(e){return new this(e).tanh()}function dm(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 gn=V.constructor=c0(Ba);$u=new gn($u),ju=new gn(ju);var hm="BigNumber",pm=["?on","config"],mm=Pe(hm,pm,e=>{var{on:r,config:t}=e,n=gn.clone({precision:t.precision,modulo:gn.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},gm=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)},La=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))},bn=function(){throw SyntaxError("Invalid Param")};function qa(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 bm={re:0,im:0},tn=function(e,r){const t=bm;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 $.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 $.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]):bn();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&&bn();for(let a=0;a<n.length;a++){const o=n[a];o===" "||o===" "||o===`
|
|
88
|
-
`||(o==="+"?u++:o==="-"?i++:o==="i"||o==="I"?(u+i===0&&bn(),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(o))&&bn(),n[a+1]==="i"||n[a+1]==="I"?(t.im+=parseFloat((i%2?"-":"")+o),a++):t.re+=parseFloat((i%2?"-":"")+o),u=i=0))}u+i>0&&bn();break;case"number":t.im=0,t.re=e;break;default:bn()}return isNaN(t.re)||isNaN(t.im),t};function $(e,r){if(!(this instanceof $))return new $(e,r);const t=tn(e,r);this.re=t.re,this.im=t.im}$.prototype={re:0,im:0,sign:function(){const e=La(this.re,this.im);return new $(this.re/e,this.im/e)},add:function(e,r){const t=tn(e,r),n=this.isInfinite(),u=!(isFinite(t.re)&&isFinite(t.im));return n||u?n&&u?$.NAN:$.INFINITY:new $(this.re+t.re,this.im+t.im)},sub:function(e,r){const t=tn(e,r),n=this.isInfinite(),u=!(isFinite(t.re)&&isFinite(t.im));return n||u?n&&u?$.NAN:$.INFINITY:new $(this.re-t.re,this.im-t.im)},mul:function(e,r){const t=tn(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?$.NAN:n||u?$.INFINITY:t.im===0&&this.im===0?new $(this.re*t.re,0):new $(this.re*t.re-this.im*t.im,this.re*t.im+this.im*t.re)},div:function(e,r){const t=tn(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 $.NAN;if(a||n)return $.INFINITY;if(i||u)return $.ZERO;if(t.im===0)return new $(this.re/t.re,this.im/t.re);if(Math.abs(t.re)<Math.abs(t.im)){const o=t.re/t.im,h=t.re*o+t.im;return new $((this.re*o+this.im)/h,(this.im*o-this.re)/h)}else{const o=t.im/t.re,h=t.im*o+t.re;return new $((this.re+this.im*o)/h,(this.im-this.re*o)/h)}},pow:function(e,r){const t=tn(e,r),n=this.re===0&&this.im===0;if(t.re===0&&t.im===0)return $.ONE;if(t.im===0){if(this.im===0&&this.re>0)return new $(Math.pow(this.re,t.re),0);if(this.re===0)switch((t.re%4+4)%4){case 0:return new $(Math.pow(this.im,t.re),0);case 1:return new $(0,Math.pow(this.im,t.re));case 2:return new $(-Math.pow(this.im,t.re),0);case 3:return new $(0,-Math.pow(this.im,t.re))}}if(n&&t.re>0)return $.ZERO;const i=Math.atan2(this.im,this.re),a=qa(this.re,this.im);let o=Math.exp(t.re*a-t.im*i),h=t.im*a+t.re*i;return new $(o*Math.cos(h),o*Math.sin(h))},sqrt:function(){const e=this.re,r=this.im;if(r===0)return e>=0?new $(Math.sqrt(e),0):new $(0,Math.sqrt(-e));const t=La(e,r);let n=Math.sqrt(.5*(t+Math.abs(e))),u=Math.abs(r)/(2*n);return e>=0?new $(n,r<0?-u:u):new $(u,r<0?-n:n)},exp:function(){const e=Math.exp(this.re);return this.im===0?new $(e,0):new $(e*Math.cos(this.im),e*Math.sin(this.im))},expm1:function(){const e=this.re,r=this.im;return new $(Math.expm1(e)*Math.cos(r)+gm(r),Math.exp(e)*Math.sin(r))},log:function(){const e=this.re,r=this.im;return r===0&&e>0?new $(Math.log(e),0):new $(qa(e,r),Math.atan2(r,e))},abs:function(){return La(this.re,this.im)},arg:function(){return Math.atan2(this.im,this.re)},sin:function(){const e=this.re,r=this.im;return new $(Math.sin(e)*Ot(r),Math.cos(e)*Gt(r))},cos:function(){const e=this.re,r=this.im;return new $(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 $(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 $(-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 $(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 $(Math.sin(e)*Ot(r)/t,-Math.cos(e)*Gt(r)/t)},asin:function(){const e=this.re,r=this.im,t=new $(r*r-e*e+1,-2*e*r).sqrt(),n=new $(t.re-r,t.im+e).log();return new $(n.im,-n.re)},acos:function(){const e=this.re,r=this.im,t=new $(r*r-e*e+1,-2*e*r).sqrt(),n=new $(t.re-r,t.im+e).log();return new $(Math.PI/2-n.im,n.re)},atan:function(){const e=this.re,r=this.im;if(e===0){if(r===1)return new $(0,1/0);if(r===-1)return new $(0,-1/0)}const t=e*e+(1-r)*(1-r),n=new $((1-r*r-e*e)/t,-2*e/t).log();return new $(-.5*n.im,.5*n.re)},acot:function(){const e=this.re,r=this.im;if(r===0)return new $(Math.atan2(1,e),0);const t=e*e+r*r;return t!==0?new $(e/t,-r/t).atan():new $(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 $(0,1/0);const t=e*e+r*r;return t!==0?new $(e/t,-r/t).acos():new $(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 $(Math.PI/2,1/0);const t=e*e+r*r;return t!==0?new $(e/t,-r/t).asin():new $(e!==0?e/0:0,r!==0?-r/0:0).asin()},sinh:function(){const e=this.re,r=this.im;return new $(Gt(e)*Math.cos(r),Ot(e)*Math.sin(r))},cosh:function(){const e=this.re,r=this.im;return new $(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 $(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 $(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 $(-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 $(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 $((u*n-r*r)/i,(r*n+u*r)/i):new $(e!==-1?e/0:0,r!==0?r/0:0),o=a.re;return a.re=qa(a.re,a.im)/2,a.im=Math.atan2(a.im,o)/2,t&&(a.im=-a.im),a},acoth:function(){const e=this.re,r=this.im;if(e===0&&r===0)return new $(0,Math.PI/2);const t=e*e+r*r;return t!==0?new $(e/t,-r/t).atanh():new $(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 $(e!==0?Math.log(e+Math.sqrt(e*e+1)):1/0,0);const t=e*e+r*r;return t!==0?new $(e/t,-r/t).asinh():new $(e!==0?e/0:0,r!==0?-r/0:0).asinh()},asech:function(){const e=this.re,r=this.im;if(this.isZero())return $.INFINITY;const t=e*e+r*r;return t!==0?new $(e/t,-r/t).acosh():new $(e!==0?e/0:0,r!==0?-r/0:0).acosh()},inverse:function(){if(this.isZero())return $.INFINITY;if(this.isInfinite())return $.ZERO;const e=this.re,r=this.im,t=e*e+r*r;return new $(e/t,-r/t)},conjugate:function(){return new $(this.re,-this.im)},neg:function(){return new $(-this.re,-this.im)},ceil:function(e){return e=Math.pow(10,e||0),new $(Math.ceil(this.re*e)/e,Math.ceil(this.im*e)/e)},floor:function(e){return e=Math.pow(10,e||0),new $(Math.floor(this.re*e)/e,Math.floor(this.im*e)/e)},round:function(e){return e=Math.pow(10,e||0),new $(Math.round(this.re*e)/e,Math.round(this.im*e)/e)},equals:function(e,r){const t=tn(e,r);return Math.abs(t.re-this.re)<=$.EPSILON&&Math.abs(t.im-this.im)<=$.EPSILON},clone:function(){return new $(this.re,this.im)},toString:function(){let e=this.re,r=this.im,t="";return this.isNaN()?"NaN":this.isInfinite()?"Infinity":(Math.abs(e)<$.EPSILON&&(e=0),Math.abs(r)<$.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()}},$.ZERO=new $(0,0),$.ONE=new $(1,0),$.I=new $(0,1),$.PI=new $(Math.PI,0),$.E=new $(Math.E,0),$.INFINITY=new $(1/0,1/0),$.NAN=new $(NaN,NaN),$.EPSILON=1e-15;var ym="Complex",vm=[],wm=Pe(ym,vm,()=>(Object.defineProperty($,"name",{value:"Complex"}),$.prototype.constructor=$,$.prototype.type="Complex",$.prototype.isComplex=!0,$.prototype.toJSON=function(){return{mathjs:"Complex",re:this.re,im:this.im}},$.prototype.toPolar=function(){return{r:this.abs(),phi:this.arg()}},$.prototype.format=function(e){var r="",t=this.im,n=this.re,u=Ma(this.re,e),i=Ma(this.im,e),a=Ke(e)?e:e?e.precision:null;if(a!==null){var o=Math.pow(10,-a);Math.abs(n/t)<o&&(n=0),Math.abs(t/n)<o&&(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},$.fromPolar=function(e){switch(arguments.length){case 1:{var r=arguments[0];if(typeof r=="object")return $(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(Ke(t)){if(jc(n)&&n.hasBase("ANGLE")&&(n=n.toNumber("rad")),Ke(n))return new $({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")}},$.prototype.valueOf=$.prototype.toString,$.fromJSON=function(e){return new $(e)},$.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},$),{isClass:!0});typeof BigInt>"u"&&(BigInt=function(e){if(isNaN(e))throw new Error("");return e});const le=BigInt(0),Ee=BigInt(1),Wn=BigInt(2),$a=BigInt(5),Rt=BigInt(10),Dm=2e3,ee={s:Ee,n:le,d:Ee};function Tr(e,r){try{e=BigInt(e)}catch{throw qr()}return e*r}function ir(e){return typeof e=="bigint"?e:Math.floor(e)}function tt(e,r){if(r===le)throw ja();const t=Object.create(Xt.prototype);t.s=e<le?-Ee:Ee,e=e<le?-e:e;const n=rn(e,r);return t.n=e/n,t.d=r/n,t}function yn(e){const r={};let t=e,n=Wn,u=$a-Ee;for(;u<=t;){for(;t%n===le;)t/=n,r[n]=(r[n]||le)+Ee;u+=Ee+Wn*n++}return t!==e?t>1&&(r[t]=(r[t]||le)+Ee):r[e]=(r[e]||le)+Ee,r}const Et=function(e,r){let t=le,n=Ee,u=Ee;if(e!=null)if(r!==void 0){if(typeof e=="bigint")t=e;else{if(isNaN(e))throw qr();if(e%1!==0)throw l0();t=BigInt(e)}if(typeof r=="bigint")n=r;else{if(isNaN(r))throw qr();if(r%1!==0)throw l0();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 qr();u=t*n}else if(typeof e=="number"){if(isNaN(e))throw qr();if(e<0&&(u=-Ee,e=-e),e%1===0)t=BigInt(e);else if(e>0){let i=1,a=0,o=1,h=1,f=1,c=1e7;for(e>=1&&(i=10**Math.floor(1+Math.log10(e)),e/=i);o<=c&&f<=c;){let p=(a+h)/(o+f);if(e===p){o+f<=c?(t=a+h,n=o+f):f>o?(t=h,n=f):(t=a,n=o);break}else e>p?(a+=h,o+=f):(h+=a,f+=o),o>c?(t=h,n=f):(t=a,n=o)}t=BigInt(t)*BigInt(i),n=BigInt(n)}}else if(typeof e=="string"){let i=0,a=le,o=le,h=le,f=Ee,c=Ee,p=e.replace(/_/g,"").match(/\d+|./g);if(p===null)throw qr();if(p[i]==="-"?(u=-Ee,i++):p[i]==="+"&&i++,p.length===i+1?o=Tr(p[i++],u):p[i+1]==="."||p[i]==="."?(p[i]!=="."&&(a=Tr(p[i++],u)),i++,(i+1===p.length||p[i+1]==="("&&p[i+3]===")"||p[i+1]==="'"&&p[i+3]==="'")&&(o=Tr(p[i],u),f=Rt**BigInt(p[i].length),i++),(p[i]==="("&&p[i+2]===")"||p[i]==="'"&&p[i+2]==="'")&&(h=Tr(p[i+1],u),c=Rt**BigInt(p[i+1].length)-Ee,i+=3)):p[i+1]==="/"||p[i+1]===":"?(o=Tr(p[i],u),f=Tr(p[i+2],Ee),i+=3):p[i+3]==="/"&&p[i+1]===" "&&(a=Tr(p[i],u),o=Tr(p[i+2],u),f=Tr(p[i+4],Ee),i+=5),p.length<=i)n=f*c,u=t=h+n*a+c*o;else throw qr()}else if(typeof e=="bigint")t=e,u=e,n=Ee;else throw qr();if(n===le)throw ja();ee.s=u<le?-Ee:Ee,ee.n=t<le?-t:t,ee.d=n<le?-n:n};function Em(e,r,t){let n=Ee;for(;r>le;e=e*e%t,r>>=Ee)r&Ee&&(n=n*e%t);return n}function xm(e,r){for(;r%Wn===le;r/=Wn);for(;r%$a===le;r/=$a);if(r===Ee)return le;let t=Rt%r,n=1;for(;t!==Ee;n++)if(t=t*Rt%r,n>Dm)return le;return BigInt(n)}function Am(e,r,t){let n=Ee,u=Em(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 rn(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=rn(ee.d,ee.n),this.s=ee.s,this.n=ee.n/e,this.d=ee.d/e;else return tt(ee.s*ee.n,ee.d)}var ja=function(){return new Error("Division by Zero")},qr=function(){return new Error("Invalid argument")},l0=function(){return new Error("Parameters must be integer")};Xt.prototype={s:Ee,n:le,d:Ee,abs:function(){return tt(this.n,this.d)},neg:function(){return tt(-this.s*this.n,this.d)},add:function(e,r){return Et(e,r),tt(this.s*this.n*ee.d+ee.s*this.d*ee.n,this.d*ee.d)},sub:function(e,r){return Et(e,r),tt(this.s*this.n*ee.d-ee.s*this.d*ee.n,this.d*ee.d)},mul:function(e,r){return Et(e,r),tt(this.s*ee.s*this.n*ee.n,this.d*ee.d)},div:function(e,r){return Et(e,r),tt(this.s*ee.s*this.n*ee.d,this.d*ee.n)},clone:function(){return tt(this.s*this.n,this.d)},mod:function(e,r){if(e===void 0)return tt(this.s*this.n%this.d,Ee);if(Et(e,r),le===ee.n*this.d)throw ja();return tt(this.s*(ee.d*this.n)%(ee.n*this.d),ee.d*this.d)},gcd:function(e,r){return Et(e,r),tt(rn(ee.n,this.n)*rn(ee.d,this.d),ee.d*this.d)},lcm:function(e,r){return Et(e,r),ee.n===le&&this.n===le?tt(le,Ee):tt(ee.n*this.n,rn(ee.n,this.n)*rn(ee.d,this.d))},inverse:function(){return tt(this.s*this.d,this.n)},pow:function(e,r){if(Et(e,r),ee.d===Ee)return ee.s<le?tt((this.s*this.d)**ee.n,this.n**ee.n):tt((this.s*this.n)**ee.n,this.d**ee.n);if(this.s<le)return null;let t=yn(this.n),n=yn(this.d),u=Ee,i=Ee;for(let a in t)if(a!=="1"){if(a==="0"){u=le;break}if(t[a]*=ee.n,t[a]%ee.d===le)t[a]/=ee.d;else return null;u*=BigInt(a)**t[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?tt(i,u):tt(u,i)},log:function(e,r){if(Et(e,r),this.s<=le||ee.s<=le)return null;const t={},n=yn(ee.n),u=yn(ee.d),i=yn(this.n),a=yn(this.d);for(const f in u)n[f]=(n[f]||le)-u[f];for(const f in a)i[f]=(i[f]||le)-a[f];for(const f in n)f!=="1"&&(t[f]=!0);for(const f in i)f!=="1"&&(t[f]=!0);let o=null,h=null;for(const f in t){const c=n[f]||le,p=i[f]||le;if(c===le){if(p!==le)return null;continue}let s=p,d=c;const m=rn(s,d);if(s/=m,d/=m,o===null&&h===null)o=s,h=d;else if(s*h!==o*d)return null}return o!==null&&h!==null?tt(o,h):null},equals:function(e,r){return Et(e,r),this.s*this.n*ee.d===ee.s*ee.n*this.d},lt:function(e,r){return Et(e,r),this.s*this.n*ee.d<ee.s*ee.n*this.d},lte:function(e,r){return Et(e,r),this.s*this.n*ee.d<=ee.s*ee.n*this.d},gt:function(e,r){return Et(e,r),this.s*this.n*ee.d>ee.s*ee.n*this.d},gte:function(e,r){return Et(e,r),this.s*this.n*ee.d>=ee.s*ee.n*this.d},compare:function(e,r){Et(e,r);let t=this.s*this.n*ee.d-ee.s*ee.n*this.d;return(le<t)-(t<le)},ceil:function(e){return e=Rt**BigInt(e||0),tt(ir(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),tt(ir(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),tt(ir(this.s*e*this.n/this.d)+this.s*((this.s>=le?Ee:le)+Wn*(e*this.n%this.d)>this.d?Ee:le),e)},roundTo:function(e,r){Et(e,r);const t=this.n*ee.d,n=this.d*ee.n,u=t%n;let i=ir(t/n);return u+u>=n&&i++,tt(this.s*i*ee.n,ee.d)},divisible:function(e,r){return Et(e,r),!(!(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 r=this.n,t=this.d;e=e||15;let n=xm(r,t),u=Am(r,t,n),i=this.s<le?"-":"";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){let r=this.n,t=this.d,n=this.s<le?"-":"";if(t===Ee)n+=r;else{let u=ir(r/t);e&&u>le&&(n+=u,n+=" ",r%=t),n+=r,n+="/",n+=t}return n},toLatex:function(e){let r=this.n,t=this.d,n=this.s<le?"-":"";if(t===Ee)n+=r;else{let u=ir(r/t);e&&u>le&&(n+=u,r%=t),n+="\\frac{",n+=r,n+="}{",n+=t,n+="}"}return n},toContinued:function(){let e=this.n,r=this.d,t=[];do{t.push(ir(e/r));let n=e%r;e=r,r=n}while(e!==Ee);return t},simplify:function(e){const r=BigInt(1/(e||.001)|0),t=this.abs(),n=t.toContinued();for(let u=1;u<n.length;u++){let i=tt(n[u-1],Ee);for(let o=u-2;o>=0;o--)i=i.inverse().add(n[o]);let a=i.sub(t);if(a.n*r<a.d)return i.mul(this.s)}return this}};var Cm="Fraction",Tm=[],Sm=Pe(Cm,Tm,()=>(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}),Fm="Matrix",_m=[],Om=Pe(Fm,_m,()=>{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 za(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(!gt(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 Nm(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}=Vc(r);switch(t){case"fixed":return Pm(e,n);case"exponential":return d0(e,n);case"engineering":return Mm(e,n);case"bin":return za(e,2,u);case"oct":return za(e,8,u);case"hex":return za(e,16,u);case"auto":{var i=h0(r==null?void 0:r.lowerExp,-3),a=h0(r==null?void 0:r.upperExp,5);if(e.isZero())return"0";var o,h=e.toSignificantDigits(n),f=h.e;return f>=i&&f<a?o=h.toFixed():o=d0(e,n),o.replace(/((\.\d*?)(0+))($|e)/,function(){var c=arguments[2],p=arguments[4];return c!=="."?c+p:p})}default:throw new Error('Unknown notation "'+t+'". Choose "auto", "exponential", "fixed", "bin", "oct", or "hex.')}}function Mm(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 d0(e,r){return r!==void 0?e.toExponential(r-1):e.toExponential()}function Pm(e,r){return e.toFixed(r)}function h0(e,r){return Ke(e)?e:wt(e)?e.toNumber():r}function kt(e,r){var t=Bm(e,r);return r&&typeof r=="object"&&"truncate"in r&&t.length>r.truncate?t.substring(0,r.truncate-3)+"...":t}function Bm(e,r){if(typeof e=="number")return Ma(e,r);if(wt(e))return Nm(e,r);if(Im(e))return!r||r.fraction!=="decimal"?"".concat(e.s*e.n,"/").concat(e.d):e.toString();if(Array.isArray(e))return g0(e,r);if(lr(e))return p0(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=>p0(n)+": "+kt(e[n],r));return"{"+t.join(", ")+"}"}return String(e)}function p0(e){for(var r=String(e),t="",n=0;n<r.length;){var u=r.charAt(n);t+=u in m0?m0[u]:u,n++}return'"'+t+'"'}var m0={'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"};function g0(e,r){if(Array.isArray(e)){for(var t="[",n=e.length,u=0;u<n;u++)u!==0&&(t+=", "),t+=g0(e[u],r);return t+="]",t}else return kt(e,r)}function Im(e){return e&&typeof e=="object"&&typeof e.s=="bigint"&&typeof e.n=="bigint"&&typeof e.d=="bigint"||!1}function Le(e,r,t){if(!(this instanceof Le))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}Le.prototype=new RangeError,Le.prototype.constructor=RangeError,Le.prototype.name="DimensionError",Le.prototype.isDimensionError=!0;function nn(e,r,t){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=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}nn.prototype=new RangeError,nn.prototype.constructor=RangeError,nn.prototype.name="IndexError",nn.prototype.isIndexError=!0;function ar(e){for(var r=[];Array.isArray(e);)r.push(e.length),e=e[0];return r}function b0(e,r,t){var n,u=e.length;if(u!==r[t])throw new Le(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 Le(r.length-1,r.length,"<");b0(e[n],r,i)}}else for(n=0;n<u;n++)if(Array.isArray(e[n]))throw new Le(r.length+1,r.length,">")}function y0(e,r){var t=r.length===0;if(t){if(Array.isArray(e))throw new Le(e.length,0)}else b0(e,r,0)}function st(e,r){if(e!==void 0){if(!Ke(e)||!gt(e))throw new TypeError("Index must be an integer (value: "+e+")");if(e<0||typeof r=="number"&&e>=r)throw new nn(e,r)}}function Ha(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(!Ke(u)||!gt(u)||u<0)throw new TypeError("Invalid size, must contain positive integers (size: "+kt(r)+")")}),(Ke(e)||wt(e))&&(e=[e]);var n=t!==void 0?t:0;return Ua(e,r,0,n),e}function Ua(e,r,t,n){var u,i,a=e.length,o=r[t],h=Math.min(a,o);if(e.length=o,t<r.length-1){var f=t+1;for(u=0;u<h;u++)i=e[u],Array.isArray(i)||(i=[i],e[u]=i),Ua(i,r,f,n);for(u=h;u<o;u++)i=[],e[u]=i,Ua(i,r,f,n)}else{for(u=0;u<h;u++)for(;Array.isArray(e[u]);)e[u]=e[u][0];for(u=h;u<o;u++)e[u]=n}}function v0(e,r){var t=km(e),n=t.length;if(!Array.isArray(e)||!Array.isArray(r))throw new TypeError("Array expected");if(r.length===0)throw new Le(0,n,"!=");r=Va(r,n);var u=w0(r);if(n!==u)throw new Le(u,n,"!=");try{return Rm(t,r)}catch(i){throw i instanceof Le?new Le(u,n,"!="):i}}function Va(e,r){var t=w0(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 o=i>=0,h=r%t===0;if(o)if(h)n[i]=-r/t;else throw new Error("Could not replace wildcard, since "+r+" is no multiple of "+-t);return n}function w0(e){return e.reduce((r,t)=>r*t,1)}function Rm(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,o=0;o<a;o++)n.push(t.slice(o*i,(o+1)*i));t=n}return t}function D0(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=E0(e,r,0);u.length<r;)u.push(1);return e}function E0(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]=E0(e[n],r,i)}else for(var a=t;a<r;a++)e=[e];return e}function km(e){if(!Array.isArray(e))return e;var r=[];return e.forEach(function t(n){Array.isArray(n)?n.forEach(t):r.push(n)}),r}function Wa(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 o=a?Wa(i,r):r(i);if(t===void 0)t=o;else if(t!==o)return"mixed"}return t}function x0(e,r,t,n){if(n<t){if(e.length!==r.length)throw new Le(e.length,r.length);for(var u=[],i=0;i<e.length;i++)u[i]=x0(e[i],r[i],t,n+1);return u}else return e.concat(r)}function A0(){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 x0(t,n,r,0)},e[0]);throw new Error("Wrong number of arguments in function concat")}function C0(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];for(var n=r.map(s=>s.length),u=Math.max(...n),i=new Array(u).fill(null),a=0;a<r.length;a++)for(var o=r[a],h=n[a],f=0;f<h;f++){var c=u-h+f;o[f]>i[c]&&(i[c]=o[f])}for(var p=0;p<r.length;p++)T0(r[p],i);return i}function T0(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 Ya(e,r){var t=ar(e);if(Br(t,r))return e;T0(t,r);var n=C0(t,r),u=n.length,i=[...Array(u-t.length).fill(1),...t],a=qm(e);t.length<u&&(a=v0(a,i),t=ar(a));for(var o=0;o<u;o++)t[o]<n[o]&&(a=Lm(a,n[o],o),t=ar(a));return a}function Lm(e,r,t){return A0(...Array(r).fill(e),t)}function S0(e,r){if(!Array.isArray(e))throw new Error("Array expected");var t=ar(e);if(r.length!==t.length)throw new Le(r.length,t.length);for(var n=0;n<r.length;n++)st(r[n],t[n]);return r.reduce((u,i)=>u[i],e)}function F0(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,o){if(Array.isArray(a)){for(var h=a.length,f=Array(h),c=0;c<h;c++)n[o]=c,f[c]=u(a[c],o+1);return f}else return r(a,n.slice(0,o),e)}function i(a){if(Array.isArray(a)){for(var o=a.length,h=Array(o),f=0;f<o;f++)h[f]=i(a[f]);return h}else return r(a)}}function qm(e){return jn([],e)}function Gu(e,r,t){if(Iu.isTypedFunction(e)){var n=(r.isMatrix?r.size():ar(r)).map(()=>0),u=r.isMatrix?r.get(n):S0(r,n),i=jm(e,u,n,r),a;if(r.isMatrix&&r.dataType!=="mixed"&&r.dataType!==void 0){var o=$m(e,i);a=o!==void 0?o:e}else a=e;return i>=1&&i<=3?function(){for(var h=arguments.length,f=new Array(h),c=0;c<h;c++)f[c]=arguments[c];return _0(a,f.slice(0,i),t,e.name)}:function(){for(var h=arguments.length,f=new Array(h),c=0;c<h;c++)f[c]=arguments[c];return _0(a,f,t,e.name)}}return e}function $m(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 jm(e,r,t,n){for(var u=[r,t,n],i=3;i>0;i--){var a=u.slice(0,i);if(Iu.resolve(e,a)!==null)return i}}function _0(e,r,t,n){try{return e(...r)}catch(u){zm(u,r,t,n)}}function zm(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(en(r[0]))),r.length>=2&&i.push("index: ".concat(en(r[1]))),r.length>=3&&i.push("array: ".concat(en(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 Hm="DenseMatrix",Um=["Matrix"],Vm=Pe(Hm,Um,e=>{var{Matrix:r}=e;function t(c,p){if(!(this instanceof t))throw new SyntaxError("Constructor must be called with the new operator");if(p&&!lr(p))throw new Error("Invalid datatype: "+p);if(Wt(c))c.type==="DenseMatrix"?(this._data=Dt(c._data),this._size=Dt(c._size),this._datatype=p||c._datatype):(this._data=c.toArray(),this._size=c.size(),this._datatype=p||c._datatype);else if(c&&yt(c.data)&&yt(c.size))this._data=c.data,this._size=c.size,y0(this._data,this._size),this._datatype=p||c.datatype;else if(yt(c))this._data=f(c),this._size=ar(this._data),y0(this._data,this._size),this._datatype=p;else{if(c)throw new TypeError("Unsupported type of data ("+en(c)+")");this._data=[],this._size=[0],this._datatype=p}}t.prototype=new r,t.prototype.createDenseMatrix=function(c,p){return new t(c,p)},Object.defineProperty(t,"name",{value:"DenseMatrix"}),t.prototype.constructor=t,t.prototype.type="DenseMatrix",t.prototype.isDenseMatrix=!0,t.prototype.getDataType=function(){return Wa(this._data,en)},t.prototype.storage=function(){return"dense"},t.prototype.datatype=function(){return this._datatype},t.prototype.create=function(c,p){return new t(c,p)},t.prototype.subset=function(c,p,s){switch(arguments.length){case 1:return n(this,c);case 2:case 3:return i(this,c,p,s);default:throw new SyntaxError("Wrong number of arguments")}},t.prototype.get=function(c){return S0(this._data,c)},t.prototype.set=function(c,p,s){if(!yt(c))throw new TypeError("Array expected");if(c.length<this._size.length)throw new Le(c.length,this._size.length,"<");var d,m,l,b=c.map(function(w){return w+1});h(this,b,s);var g=this._data;for(d=0,m=c.length-1;d<m;d++)l=c[d],st(l,g.length),g=g[l];return l=c[c.length-1],st(l,g.length),g[l]=p,this};function n(c,p){if(!_a(p))throw new TypeError("Invalid index");var s=p.isScalar();if(s)return c.get(p.min());var d=p.size();if(d.length!==c._size.length)throw new Le(d.length,c._size.length);for(var m=p.min(),l=p.max(),b=0,g=c._size.length;b<g;b++)st(m[b],c._size[b]),st(l[b],c._size[b]);return new t(u(c._data,p,d.length,0),c._datatype)}function u(c,p,s,d){var m=d===s-1,l=p.dimension(d);return m?l.map(function(b){return st(b,c.length),c[b]}).valueOf():l.map(function(b){st(b,c.length);var g=c[b];return u(g,p,s,d+1)}).valueOf()}function i(c,p,s,d){if(!p||p.isIndex!==!0)throw new TypeError("Invalid index");var m=p.size(),l=p.isScalar(),b;if(Wt(s)?(b=s.size(),s=s.valueOf()):b=ar(s),l){if(b.length!==0)throw new TypeError("Scalar expected");c.set(p.min(),s,d)}else{if(!Br(b,m))try{b.length===0?s=Ya([s],m):s=Ya(s,m),b=ar(s)}catch{}if(m.length<c._size.length)throw new Le(m.length,c._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++;s=D0(s,m.length,w,b)}if(!Br(m,b))throw new Le(m,b,">");var v=p.max().map(function(E){return E+1});h(c,v,d);var D=m.length,y=0;a(c._data,p,s,D,y)}return c}function a(c,p,s,d,m){var l=m===d-1,b=p.dimension(m);l?b.forEach(function(g,w){st(g),c[g]=s[w[0]]}):b.forEach(function(g,w){st(g),a(c[g],p,s[w[0]],d,m+1)})}t.prototype.resize=function(c,p,s){if(!Bu(c))throw new TypeError("Array or Matrix expected");var d=c.valueOf().map(l=>Array.isArray(l)&&l.length===1?l[0]:l),m=s?this.clone():this;return o(m,d,p)};function o(c,p,s){if(p.length===0){for(var d=c._data;yt(d);)d=d[0];return d}return c._size=p.slice(0),c._data=Ha(c._data,c._size,s),c}t.prototype.reshape=function(c,p){var s=p?this.clone():this;s._data=v0(s._data,c);var d=s._size.reduce((m,l)=>m*l);return s._size=Va(c,d),s};function h(c,p,s){for(var d=c._size.slice(0),m=!1;d.length<p.length;)d.push(0),m=!0;for(var l=0,b=p.length;l<b;l++)p[l]>d[l]&&(d[l]=p[l],m=!0);m&&o(c,d,s)}t.prototype.clone=function(){var c=new t({data:Dt(this._data),size:Dt(this._size),datatype:this._datatype});return c},t.prototype.size=function(){return this._size.slice(0)},t.prototype._forEach=function(c){var p=this,s=p.size(),d=s.length-1;if(d<0)return;if(d===0){for(var m=s[0],l=0;l<m;l++)c(p._data,l,[l]);return}var b=Array(s.length);function g(w,v){var D=s[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,c(w,E,b.slice())}g(p._data,0)},t.prototype.map=function(c){var p=this,s=new t(p),d=Gu(c,p._data,"map");return s._forEach(function(m,l,b){m[l]=d(m[l],b,p)}),s},t.prototype.forEach=function(c){var p=this,s=Gu(c,p._data,"map");p._forEach(function(d,m,l){s(d[m],l,p)})},t.prototype[Symbol.iterator]=function*(){var c=this._size.length-1;if(!(c<0)){if(c===0){for(var p=0;p<this._data.length;p++)yield{value:this._data[p],index:[p]};return}var s=[],d=function*(l,b){if(b<c)for(var g=0;g<l.length;g++)s[b]=g,yield*d(l[g],b+1);else for(var w=0;w<l.length;w++)s[b]=w,yield{value:l[w],index:s.slice()}};yield*d(this._data,0)}},t.prototype.rows=function(){var c=[],p=this.size();if(p.length!==2)throw new TypeError("Rows can only be returned for a 2D matrix.");var s=this._data;for(var d of s)c.push(new t([d],this._datatype));return c},t.prototype.columns=function(){var c=this,p=[],s=this.size();if(s.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 t(w,c._datatype))},l=0;l<s[1];l++)m(l);return p},t.prototype.toArray=function(){return Dt(this._data)},t.prototype.valueOf=function(){return this._data},t.prototype.format=function(c){return kt(this._data,c)},t.prototype.toString=function(){return kt(this._data)},t.prototype.toJSON=function(){return{mathjs:"DenseMatrix",data:this._data,size:this._size,datatype:this._datatype}},t.prototype.diagonal=function(c){if(c){if(wt(c)&&(c=c.toNumber()),!Ke(c)||!gt(c))throw new TypeError("The parameter k must be an integer number")}else c=0;for(var p=c>0?c:0,s=c<0?-c:0,d=this._size[0],m=this._size[1],l=Math.min(d-s,m-p),b=[],g=0;g<l;g++)b[g]=this._data[g+s][g+p];return new t({data:b,size:[l],datatype:this._datatype})},t.diagonal=function(c,p,s,d){if(!yt(c))throw new TypeError("Array expected, size parameter");if(c.length!==2)throw new Error("Only two dimensions matrix are supported");if(c=c.map(function(A){if(wt(A)&&(A=A.toNumber()),!Ke(A)||!gt(A)||A<1)throw new Error("Size values must be positive integers");return A}),s){if(wt(s)&&(s=s.toNumber()),!Ke(s)||!gt(s))throw new TypeError("The parameter k must be an integer number")}else s=0;var m=s>0?s:0,l=s<0?-s:0,b=c[0],g=c[1],w=Math.min(b-l,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(c.length>0){y=Ha(y,c,d);for(var E=0;E<w;E++)y[E+l][E+m]=v(E)}return new t({data:y,size:[b,g]})},t.fromJSON=function(c){return new t(c)},t.prototype.swapRows=function(c,p){if(!Ke(c)||!gt(c)||!Ke(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 st(c,this._size[0]),st(p,this._size[0]),t._swapRows(c,p,this._data),this},t._swapRows=function(c,p,s){var d=s[c];s[c]=s[p],s[p]=d};function f(c){return Wt(c)?f(c.valueOf()):yt(c)?c.map(f):c}return t},{isClass:!0});function Yn(e,r,t){if(!t)return Wt(e)?e.map(u=>r(u)):F0(e,r,!0);var n=u=>u===0?u:r(u);return Wt(e)?e.map(u=>n(u)):F0(e,n,!0)}var O0="isInteger",Wm=["typed"],Ym=Pe(O0,Wm,e=>{var{typed:r}=e;return r(O0,{number:gt,BigNumber:function(n){return n.isInt()},bigint:function(n){return!0},Fraction:function(n){return n.d===1n},"Array | Matrix":r.referToSelf(t=>n=>Yn(n,t))})}),Gm="number",N0="number, number";function M0(e,r){return e+r}M0.signature=N0;function P0(e,r){return e-r}P0.signature=N0;function B0(e){return-e}B0.signature=Gm;function Gn(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!gt(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(Wc(e,r))}function Ga(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 Xm(e,r,t,n){return hn(e.re,r.re,t,n)&&hn(e.im,r.im,t,n)}var Qm=Pe("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)})}}),Xu="equalScalar",Zm=["typed","config"],Jm=Pe(Xu,Zm,e=>{var{typed:r,config:t}=e,n=Qm({typed:r});return r(Xu,{"boolean, boolean":function(i,a){return i===a},"number, number":function(i,a){return hn(i,a,t.relTol,t.absTol)},"BigNumber, BigNumber":function(i,a){return i.eq(a)||Ga(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 Xm(i,a,t.relTol,t.absTol)}},n)});Pe(Xu,["typed","config"],e=>{var{typed:r,config:t}=e;return r(Xu,{"number, number":function(u,i){return hn(u,i,t.relTol,t.absTol)}})});var Km="SparseMatrix",eg=["typed","equalScalar","Matrix"],tg=Pe(Km,eg,e=>{var{typed:r,equalScalar:t,Matrix:n}=e;function u(l,b){if(!(this instanceof u))throw new SyntaxError("Constructor must be called with the new operator");if(b&&!lr(b))throw new Error("Invalid datatype: "+b);if(Wt(l))i(this,l,b);else if(l&&yt(l.index)&&yt(l.ptr)&&yt(l.size))this._values=l.values,this._index=l.index,this._ptr=l.ptr,this._size=l.size,this._datatype=b||l.datatype;else if(yt(l))a(this,l,b);else{if(l)throw new TypeError("Unsupported type of data ("+en(l)+")");this._values=[],this._index=[],this._ptr=[0],this._size=[0,0],this._datatype=b}}function i(l,b,g){b.type==="SparseMatrix"?(l._values=b._values?Dt(b._values):void 0,l._index=Dt(b._index),l._ptr=Dt(b._ptr),l._size=Dt(b._size),l._datatype=g||b._datatype):a(l,b.valueOf(),g||b._datatype)}function a(l,b,g){l._values=[],l._index=[],l._ptr=[],l._datatype=g;var w=b.length,v=0,D=t,y=0;if(lr(g)&&(D=r.find(t,[g,g])||t,y=r.convert(0,g)),w>0){var E=0;do{l._ptr.push(l._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 F=C[E];D(F,y)||(l._values.push(F),l._index.push(A))}}else E===0&&v<1&&(v=1),D(C,y)||(l._values.push(C),l._index.push(A))}E++}while(E<v)}l._ptr.push(l._index.length),l._size=[w,v]}u.prototype=new n,u.prototype.createSparseMatrix=function(l,b){return new u(l,b)},Object.defineProperty(u,"name",{value:"SparseMatrix"}),u.prototype.constructor=u,u.prototype.type="SparseMatrix",u.prototype.isSparseMatrix=!0,u.prototype.getDataType=function(){return Wa(this._values,en)},u.prototype.storage=function(){return"sparse"},u.prototype.datatype=function(){return this._datatype},u.prototype.create=function(l,b){return new u(l,b)},u.prototype.density=function(){var l=this._size[0],b=this._size[1];return l!==0&&b!==0?this._index.length/(l*b):0},u.prototype.subset=function(l,b,g){if(!this._values)throw new Error("Cannot invoke subset on a Pattern only matrix");switch(arguments.length){case 1:return o(this,l);case 2:case 3:return h(this,l,b,g);default:throw new SyntaxError("Wrong number of arguments")}};function o(l,b){if(!_a(b))throw new TypeError("Invalid index");var g=b.isScalar();if(g)return l.get(b.min());var w=b.size();if(w.length!==l._size.length)throw new Le(w.length,l._size.length);var v,D,y,E,A=b.min(),C=b.max();for(v=0,D=l._size.length;v<D;v++)st(A[v],l._size[v]),st(C[v],l._size[v]);var F=l._values,x=l._index,T=l._ptr,_=b.dimension(0),P=b.dimension(1),B=[],N=[];_.forEach(function(ie,L){N[ie]=L[0],B[ie]=!0});var I=F?[]:void 0,J=[],re=[];return P.forEach(function(ie){for(re.push(J.length),y=T[ie],E=T[ie+1];y<E;y++)v=x[y],B[v]===!0&&(J.push(N[v]),I&&I.push(F[y]))}),re.push(J.length),new u({values:I,index:J,ptr:re,size:w,datatype:l._datatype})}function h(l,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=ar(g),D){if(y.length!==0)throw new TypeError("Scalar expected");l.set(b.min(),g,w)}else{if(v.length!==1&&v.length!==2)throw new Le(v.length,l._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=D0(g,v.length,A,y)}if(!Br(v,y))throw new Le(v,y,">");if(v.length===1){var C=b.dimension(0);C.forEach(function(T,_){st(T),l.set([T,0],g[_[0]],w)})}else{var F=b.dimension(0),x=b.dimension(1);F.forEach(function(T,_){st(T),x.forEach(function(P,B){st(P),l.set([T,P],g[_[0]][B[0]],w)})})}}return l}u.prototype.get=function(l){if(!yt(l))throw new TypeError("Array expected");if(l.length!==this._size.length)throw new Le(l.length,this._size.length);if(!this._values)throw new Error("Cannot invoke get on a Pattern only matrix");var b=l[0],g=l[1];st(b,this._size[0]),st(g,this._size[1]);var w=f(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(l,b,g){if(!yt(l))throw new TypeError("Array expected");if(l.length!==this._size.length)throw new Le(l.length,this._size.length);if(!this._values)throw new Error("Cannot invoke set on a Pattern only matrix");var w=l[0],v=l[1],D=this._size[0],y=this._size[1],E=t,A=0;lr(this._datatype)&&(E=r.find(t,[this._datatype,this._datatype])||t,A=r.convert(0,this._datatype)),(w>D-1||v>y-1)&&(s(this,Math.max(w+1,D),Math.max(v+1,y),g),D=this._size[0],y=this._size[1]),st(w,D),st(v,y);var C=f(w,this._ptr[v],this._ptr[v+1],this._index);return C<this._ptr[v+1]&&this._index[C]===w?E(b,A)?c(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 f(l,b,g,w){if(g-b===0)return g;for(var v=b;v<g;v++)if(w[v]===l)return v;return b}function c(l,b,g,w,v){g.splice(l,1),w.splice(l,1);for(var D=b+1;D<v.length;D++)v[D]--}function p(l,b,g,w,v,D,y){v.splice(l,0,w),D.splice(l,0,b);for(var E=g+1;E<y.length;E++)y[E]++}u.prototype.resize=function(l,b,g){if(!Bu(l))throw new TypeError("Array or Matrix expected");var w=l.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(!Ke(D)||!gt(D)||D<0)throw new TypeError("Invalid size, must contain positive integers (size: "+kt(w)+")")});var v=g?this.clone():this;return s(v,w[0],w[1],b)};function s(l,b,g,w){var v=w||0,D=t,y=0;lr(l._datatype)&&(D=r.find(t,[l._datatype,l._datatype])||t,y=r.convert(0,l._datatype),v=r.convert(v,l._datatype));var E=!D(v,y),A=l._size[0],C=l._size[1],F,x,T;if(g>C){for(x=C;x<g;x++)if(l._ptr[x]=l._values.length,E)for(F=0;F<A;F++)l._values.push(v),l._index.push(F);l._ptr[g]=l._values.length}else g<C&&(l._ptr.splice(g+1,C-g),l._values.splice(l._ptr[g],l._values.length),l._index.splice(l._ptr[g],l._index.length));if(C=g,b>A){if(E){var _=0;for(x=0;x<C;x++){l._ptr[x]=l._ptr[x]+_,T=l._ptr[x+1]+_;var P=0;for(F=A;F<b;F++,P++)l._values.splice(T+P,0,v),l._index.splice(T+P,0,F),_++}l._ptr[C]=l._values.length}}else if(b<A){var B=0;for(x=0;x<C;x++){l._ptr[x]=l._ptr[x]-B;var N=l._ptr[x],I=l._ptr[x+1]-B;for(T=N;T<I;T++)F=l._index[T],F>b-1&&(l._values.splice(T,1),l._index.splice(T,1),B++)}l._ptr[x]=l._values.length}return l._size[0]=b,l._size[1]=g,l}u.prototype.reshape=function(l,b){if(!yt(l))throw new TypeError("Array expected");if(l.length!==2)throw new Error("Sparse matrices can only be reshaped in two dimensions");l.forEach(function(ie){if(!Ke(ie)||!gt(ie)||ie<=-2||ie===0)throw new TypeError("Invalid size, must contain positive integers or -1 (size: "+kt(l)+")")});var g=this._size[0]*this._size[1];l=Va(l,g);var w=l[0]*l[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]===l[0]&&this._size[1]===l[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(),F=0;F<v._index.length;F++){var x=C[F],T=D[F],_=x*v._size[1]+T;D[F]=_%l[1],C[F]=Math.floor(_/l[1])}v._values.length=0,v._index.length=0,v._ptr.length=l[1]+1,v._size=l.slice();for(var P=0;P<v._ptr.length;P++)v._ptr[P]=0;for(var B=0;B<A.length;B++){var N=C[B],I=D[B],J=A[B],re=f(N,v._ptr[I],v._ptr[I+1],v._index);p(re,N,I,J,v._values,v._index,v._ptr)}return v},u.prototype.clone=function(){var l=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 l},u.prototype.size=function(){return this._size.slice(0)},u.prototype.map=function(l,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=Gu(l,g,"map"),y=function(A,C,F){return D(A,[C,F],g)};return d(this,0,w-1,0,v-1,y,b)};function d(l,b,g,w,v,D,y){var E=[],A=[],C=[],F=t,x=0;lr(l._datatype)&&(F=r.find(t,[l._datatype,l._datatype])||t,x=r.convert(0,l._datatype));for(var T=function(Y,oe,de){var he=D(Y,oe,de);F(he,x)||(E.push(he),A.push(oe))},_=w;_<=v;_++){C.push(E.length);var P=l._ptr[_],B=l._ptr[_+1];if(y)for(var N=P;N<B;N++){var I=l._index[N];I>=b&&I<=g&&T(l._values[N],I-b,_-w)}else{for(var J={},re=P;re<B;re++){var ie=l._index[re];J[ie]=l._values[re]}for(var L=b;L<=g;L++){var Z=L in J?J[L]:0;T(Z,L-b,_-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(l,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=Gu(l,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 F=this._index[C];D(this._values[C],[F,y],g)}else{for(var x={},T=E;T<A;T++){var _=this._index[T];x[_]=this._values[T]}for(var P=0;P<w;P++){var B=P in x?x[P]:0;D(B,[P,y],g)}}}},u.prototype[Symbol.iterator]=function*(){if(!this._values)throw new Error("Cannot iterate a Pattern only matrix");for(var l=this._size[1],b=0;b<l;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(l,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 F=g[C],x=g[C+1],T=F;T<x;T++)A=b[T],E[A][C]=l?v?Dt(l[T]):l[T]:1;return E}return u.prototype.format=function(l){for(var b=this._size[0],g=this._size[1],w=this.density(),v="Sparse Matrix ["+kt(b,l)+" x "+kt(g,l)+"] density: "+kt(w,l)+`
|
|
87
|
+
*/var pn=9e15,Ir=1e9,Ba="0123456789abcdef",$u="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",ju="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Ia={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-pn,maxE:pn,crypto:!1},Zc,Cr,De=!0,zu="[DecimalError] ",Rr=zu+"Invalid argument: ",Jc=zu+"Precision limit exceeded",Kc=zu+"crypto unavailable",e0="[object Decimal]",_t=Math.floor,vt=Math.pow,Dp=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,Ep=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,xp=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,t0=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ur=1e7,ge=7,Ap=9007199254740991,Cp=$u.length-1,Ra=ju.length-1,V={toStringTag:e0};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(Rr+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,h=i.s,c=e.s;if(!a||!s)return!h||!c?NaN:h!==c?h:a===s?0:!a^h<0?1:-1;if(!a[0]||!s[0])return a[0]?h:s[0]?-c:0;if(h!==c)return h;if(i.e!==e.e)return i.e>e.e^h<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]^h<0?1:-1;return n===u?0:n>u^h<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=Tp(n,s0(n,t)),n.precision=e,n.rounding=r,le(Cr==2||Cr==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,h,c,l=this,p=l.constructor;if(!l.isFinite()||l.isZero())return new p(l);for(De=!1,i=l.s*vt(l.s*l,1/3),!i||Math.abs(i)==1/0?(t=Ct(l.d),e=l.e,(i=(e-t.length+1)%3)&&(t+=i==1||i==-2?"0":"00"),i=vt(t,1/3),e=_t((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=l.s):n=new p(i.toString()),a=(e=p.precision)+3;;)if(s=n,h=s.times(s).times(s),c=h.plus(l),n=Xe(c.plus(l).times(s),c.plus(h),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(l))){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(l));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-_t(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/Yu(4,e)).toString()):(e=16,r="2.3283064365386962890625e-10"),i=mn(a,1,i.times(r),new a(1),!0);for(var h,c=e,l=new a(8);c--;)h=i.times(i),i=s.minus(h.times(l.minus(h.times(l))));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=mn(i,2,u,u,!0);else{e=1.4*Math.sqrt(n),e=e>16?16:e|0,u=u.times(1/Yu(5,e)),u=mn(i,2,u,u,!0);for(var a,s=new i(5),h=new i(16),c=new i(20);e--;)a=u.times(u),u=u.times(s.plus(a.times(h.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()?hr(r,n,u):new r(0):new r(NaN):e.isZero()?hr(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=hr(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,h,c=this,l=c.constructor,p=l.precision,o=l.rounding;if(c.isFinite()){if(c.isZero())return new l(c);if(c.abs().eq(1)&&p+4<=Ra)return a=hr(l,p+4,o).times(.25),a.s=c.s,a}else{if(!c.s)return new l(NaN);if(p+4<=Ra)return a=hr(l,p+4,o).times(.5),a.s=c.s,a}for(l.precision=s=p+10,l.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,h=c.times(c),a=new l(c),u=c;e!==-1;)if(u=u.times(h),i=a.minus(u.div(n+=2)),u=u.times(h),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,l.precision=p,l.rounding=o,!0)},V.isFinite=function(){return!!this.d},V.isInteger=V.isInt=function(){return!!this.d&&_t(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,h,c=this,l=c.constructor,p=l.precision,o=l.rounding,f=5;if(e==null)e=new l(10),r=!0;else{if(e=new l(e),t=e.d,e.s<0||!t||!t[0]||e.eq(1))return new l(NaN);r=e.eq(10)}if(t=c.d,c.s<0||!t||!t[0]||c.eq(1))return new l(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+f,a=Lr(c,s),n=r?Vu(l,s+10):Lr(e,s),h=Xe(a,n,s,1),Vn(h.d,u=p,o))do if(s+=10,a=Lr(c,s),n=r?Vu(l,s+10):Lr(e,s),h=Xe(a,n,s,1),!i){+Ct(h.d).slice(u+1,u+15)+1==1e14&&(h=le(h,p+1,0));break}while(Vn(h.d,u+=10,o));return De=!0,le(h,p,o)},V.minus=V.sub=function(e){var r,t,n,u,i,a,s,h,c,l,p,o,f=this,m=f.constructor;if(e=new m(e),!f.d||!e.d)return!f.s||!e.s?e=new m(NaN):f.d?e.s=-e.s:e=new m(e.d||f.s!==e.s?f:NaN),e;if(f.s!=e.s)return e.s=-e.s,f.plus(e);if(c=f.d,o=e.d,s=m.precision,h=m.rounding,!c[0]||!o[0]){if(o[0])e.s=-e.s;else if(c[0])e=new m(f);else return new m(h===3?-0:0);return De?le(e,s,h):e}if(t=_t(e.e/ge),l=_t(f.e/ge),c=c.slice(),i=l-t,i){for(p=i<0,p?(r=c,i=-i,a=o.length):(r=o,t=l,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=Uu(c,t),De?le(e,s,h):e):new m(h===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 ka(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,le(e)},V.plus=V.add=function(e){var r,t,n,u,i,a,s,h,c,l,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,l=e.d,s=o.precision,h=o.rounding,!c[0]||!l[0])return l[0]||(e=new o(p)),De?le(e,s,h):e;if(i=_t(p.e/ge),n=_t(e.e/ge),c=c.slice(),u=i-n,u){for(u<0?(t=c,u=-u,a=l.length):(t=l,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=l.length,a-u<0&&(u=a,t=l,l=c,c=t),r=0;u;)r=(c[--u]=c[u]+l[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=Uu(c,n),De?le(e,s,h):e},V.precision=V.sd=function(e){var r,t=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Rr+e);return t.d?(r=r0(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=Fp(n,s0(n,t)),n.precision=e,n.rounding=r,le(Cr>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,h=a.e,c=a.s,l=a.constructor;if(c!==1||!s||!s[0])return new l(!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+h)%2==0&&(r+="0"),c=Math.sqrt(r),h=_t((h+1)/2)-(h<0||h%2),c==1/0?r="5e"+h:(r=c.toExponential(),r=r.slice(0,r.indexOf("e")+1)+h),n=new l(r)):n=new l(c.toString()),t=(h=l.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,h+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,h+1,1),e=!n.times(n).eq(a));break}return De=!0,le(n,h,l.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(Cr==2||Cr==4?t.neg():t,e,r,!0)):new n(NaN)},V.times=V.mul=function(e){var r,t,n,u,i,a,s,h,c,l=this,p=l.constructor,o=l.d,f=(e=new p(e)).d;if(e.s*=l.s,!o||!o[0]||!f||!f[0])return new p(!e.s||o&&!o[0]&&!f||f&&!f[0]&&!o?NaN:!o||!f?e.s/0:e.s*0);for(t=_t(l.e/ge)+_t(e.e/ge),h=o.length,c=f.length,h<c&&(i=o,o=f,f=i,a=h,h=c,c=a),i=[],a=h+c,n=a;n--;)i.push(0);for(n=c;--n>=0;){for(r=0,u=h+n;u>n;)s=i[u]+f[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=Uu(i,t),De?le(e,p.precision,p.rounding):e},V.toBinary=function(e,r){return La(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:(It(e,0,Ir),r===void 0?r=n.rounding:It(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=dr(n,!0):(It(e,0,Ir),r===void 0?r=u.rounding:It(r,0,8),n=le(new u(n),e+1,r),t=dr(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=dr(u):(It(e,0,Ir),r===void 0?r=i.rounding:It(r,0,8),n=le(new i(u),e+u.e+1,r),t=dr(n,!1,e+n.e+1)),u.isNeg()&&!u.isZero()?"-"+t:t},V.toFraction=function(e){var r,t,n,u,i,a,s,h,c,l,p,o,f=this,m=f.d,d=f.constructor;if(!m)return new d(f);if(c=t=new d(1),n=h=new d(0),r=new d(n),i=r.e=r0(m)-f.e-1,a=i%ge,r.d[0]=vt(10,a<0?ge+a:a),e==null)e=i>0?r:c;else{if(s=new d(e),!s.isInt()||s.lt(c))throw Error(Rr+s);e=s.gt(r)?i>0?r:c:s}for(De=!1,s=new d(Ct(m)),l=d.precision,d.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=h.plus(p.times(u)),h=u,u=r,r=s.minus(p.times(u)),s=u;return u=Xe(e.minus(t),n,0,1,1),h=h.plus(u.times(c)),t=t.plus(u.times(n)),h.s=c.s=f.s,o=Xe(c,n,i,1).minus(f).abs().cmp(Xe(h,t,i,1).minus(f).abs())<1?[c,n]:[h,t],d.precision=l,De=!0,o},V.toHexadecimal=V.toHex=function(e,r){return La(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:It(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 La(this,8,e,r)},V.toPower=V.pow=function(e){var r,t,n,u,i,a,s=this,h=s.constructor,c=+(e=new h(e));if(!s.d||!e.d||!s.d[0]||!e.d[0])return new h(vt(+s,c));if(s=new h(s),s.eq(1))return s;if(n=h.precision,i=h.rounding,e.eq(1))return le(s,n,i);if(r=_t(e.e/ge),r>=e.d.length-1&&(t=c<0?-c:c)<=Ap)return u=n0(h,s,t,n),e.s<0?new h(1).div(u):le(u,n,i);if(a=s.s,a<0){if(r<e.d.length-1)return new h(NaN);if(e.d[r]&1||(a=1),s.e==0&&s.d[0]==1&&s.d.length==1)return s.s=a,s}return t=vt(+s,c),r=t==0||!isFinite(t)?_t(c*(Math.log("0."+Ct(s.d))/Math.LN10+s.e+1)):new h(t+"").e,r>h.maxE+1||r<h.minE-1?new h(r>0?a/0:0):(De=!1,h.rounding=s.s=1,t=Math.min(12,(r+"").length),u=ka(e.times(Lr(s,n+t)),n),u.d&&(u=le(u,n+5,1),Vn(u.d,n,i)&&(r=n+10,u=le(ka(e.times(Lr(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,h.rounding=i,le(u,n,i))},V.toPrecision=function(e,r){var t,n=this,u=n.constructor;return e===void 0?t=dr(n,n.e<=u.toExpNeg||n.e>=u.toExpPos):(It(e,1,Ir),r===void 0?r=u.rounding:It(r,0,8),n=le(new u(n),e,r),t=dr(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):(It(e,1,Ir),r===void 0?r=n.rounding:It(r,0,8)),le(new n(t),e,r)},V.toString=function(){var e=this,r=e.constructor,t=dr(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=dr(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+=kr(t)),i+=n;a=e[r],n=a+"",t=ge-n.length,t&&(i+=kr(t))}else if(a===0)return"0";for(;a%10===0;)a/=10;return i+a}function It(e,r,t){if(e!==~~e||e<r||e>t)throw Error(Rr+e)}function Vn(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=vt(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)==vt(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)==vt(10,r-3)-1,a}function Hu(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]+=Ba.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 Tp(e,r){var t,n,u;if(r.isZero())return r;n=r.d.length,n<32?(t=Math.ceil(n/3),u=(1/Yu(4,t)).toString()):(t=16,u="2.3283064365386962890625e-10"),e.precision+=t,r=mn(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,h=n.length;for(n=n.slice();h--;)a=n[h]*u+s,n[h]=a%i|0,s=a/i|0;return s&&n.unshift(s),n}function r(n,u,i,a){var s,h;if(i!=a)h=i>a?1:-1;else for(s=h=0;s<i;s++)if(n[s]!=u[s]){h=n[s]>u[s]?1:-1;break}return h}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,h){var c,l,p,o,f,m,d,b,g,w,v,D,y,E,A,C,F,x,T,_,P=n.constructor,B=n.s==u.s?1:-1,N=n.d,I=u.d;if(!N||!N[0]||!I||!I[0])return new P(!n.s||!u.s||(N?I&&N[0]==I[0]:!I)?NaN:N&&N[0]==0||!I?B*0:B/0);for(h?(f=1,l=n.e-u.e):(h=ur,f=ge,l=_t(n.e/f)-_t(u.e/f)),T=I.length,F=N.length,g=new P(B),w=g.d=[],p=0;I[p]==(N[p]||0);p++);if(I[p]>(N[p]||0)&&l--,i==null?(E=i=P.precision,a=P.rounding):s?E=i+(n.e-u.e)+1:E=i,E<0)w.push(1),m=!0;else{if(E=E/f+2|0,p=0,T==1){for(o=0,I=I[0],E++;(p<F||o)&&E--;p++)A=o*h+(N[p]||0),w[p]=A/I|0,o=A%I|0;m=o||p<F}else{for(o=h/(I[0]+1)|0,o>1&&(I=e(I,o,h),N=e(N,o,h),T=I.length,F=N.length),C=T,v=N.slice(0,T),D=v.length;D<T;)v[D++]=0;_=I.slice(),_.unshift(0),x=I[0],I[1]>=h/2&&++x;do o=0,c=r(I,v,T,D),c<0?(y=v[0],T!=D&&(y=y*h+(v[1]||0)),o=y/x|0,o>1?(o>=h&&(o=h-1),d=e(I,o,h),b=d.length,D=v.length,c=r(d,v,b,D),c==1&&(o--,t(d,T<b?_:I,b,h))):(o==0&&(c=o=1),d=I.slice()),b=d.length,b<D&&d.unshift(0),t(v,d,D,h),c==-1&&(D=v.length,c=r(I,v,T,D),c<1&&(o++,t(v,T<D?_:I,D,h))),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++<F||v[0]!==void 0)&&E--);m=v[0]!==void 0}w[0]||w.shift()}if(f==1)g.e=l,Zc=m;else{for(p=1,o=w[0];o>=10;o/=10)p++;g.e=p+l*f-1,le(g,s?i+g.e+1:i,a,m)}return g}}();function le(e,r,t,n){var u,i,a,s,h,c,l,p,o,f=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,l=p[o=0],h=l/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);l=h=0,u=1,i%=ge,a=i-ge+1}else break e;else{for(l=s=p[o],u=1;s>=10;s/=10)u++;i%=ge,a=i-ge+u,h=a<0?0:l/vt(10,u-a-1)%10|0}if(n=n||r<0||p[o+1]!==void 0||(a<0?l:l%vt(10,u-a-1)),c=t<4?(h||n)&&(t==0||t==(e.s<0?3:2)):h>5||h==5&&(t==4||n||t==6&&(i>0?a>0?l/vt(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]=vt(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=vt(10,ge-i),p[o]=a>0?(l/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]==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>f.maxE?(e.d=null,e.e=NaN):e.e<f.minE&&(e.e=0,e.d=[0])),e}function dr(e,r,t){if(!e.isFinite())return a0(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)+kr(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(e.e<0?"e":"e+")+e.e):u<0?(i="0."+kr(-u-1)+i,t&&(n=t-a)>0&&(i+=kr(n))):u>=a?(i+=kr(u+1-a),t&&(n=t-u-1)>0&&(i=i+"."+kr(n))):((n=u+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),t&&(n=t-a)>0&&(u+1===a&&(i+="."),i+=kr(n))),i}function Uu(e,r){var t=e[0];for(r*=ge;t>=10;t/=10)r++;return r}function Vu(e,r,t){if(r>Cp)throw De=!0,t&&(e.precision=t),Error(Jc);return le(new e($u),r,1,!0)}function hr(e,r,t){if(r>Ra)throw Error(Jc);return le(new e(ju),r,t,!0)}function r0(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 kr(e){for(var r="";e--;)r+="0";return r}function n0(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),o0(i.d,a)&&(u=!0)),t=_t(t/2),t===0){t=i.d.length-1,u&&i.d[t]===0&&++i.d[t];break}r=r.times(r),o0(r.d,a)}return De=!0,i}function u0(e){return e.d[e.d.length-1]&1}function i0(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 ka(e,r){var t,n,u,i,a,s,h,c=0,l=0,p=0,o=e.constructor,f=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,h=m):h=r,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,h+=n,t=i=a=new o(1),o.precision=h;;){if(i=le(i.times(e),h,1),t=t.times(++l),s=a.plus(Xe(i,t,h,1)),Ct(s.d).slice(0,h)===Ct(a.d).slice(0,h)){for(u=p;u--;)a=le(a.times(a),h,1);if(r==null)if(c<3&&Vn(a.d,h-n,f,c))o.precision=h+=10,t=i=s=new o(1),l=0,c++;else return le(a,o.precision=m,f,De=!0);else return o.precision=m,a}a=s}}function Lr(e,r){var t,n,u,i,a,s,h,c,l,p,o,f=1,m=10,d=e,b=d.d,g=d.constructor,w=g.rounding,v=g.precision;if(d.s<0||!b||!b[0]||!d.e&&b[0]==1&&b.length==1)return new g(b&&!b[0]?-1/0:d.s!=1?NaN:b?0:d);if(r==null?(De=!1,l=v):l=r,g.precision=l+=m,t=Ct(b),n=t.charAt(0),Math.abs(i=d.e)<15e14){for(;n<7&&n!=1||n==1&&t.charAt(1)>3;)d=d.times(e),t=Ct(d.d),n=t.charAt(0),f++;i=d.e,n>1?(d=new g("0."+t),i++):d=new g(n+"."+t.slice(1))}else return c=Vu(g,l+2,v).times(i+""),d=Lr(new g(n+"."+t.slice(1)),l-m).plus(c),g.precision=v,r==null?le(d,v,w,De=!0):d;for(p=d,h=a=d=Xe(d.minus(1),d.plus(1),l,1),o=le(d.times(d),l,1),u=3;;){if(a=le(a.times(o),l,1),c=h.plus(Xe(a,new g(u),l,1)),Ct(c.d).slice(0,l)===Ct(h.d).slice(0,l))if(h=h.times(2),i!==0&&(h=h.plus(Vu(g,l+2,v).times(i+""))),h=Xe(h,new g(f),l,1),r==null)if(Vn(h.d,l-m,w,s))g.precision=l+=m,c=a=d=Xe(p.minus(1),p.plus(1),l,1),o=le(d.times(d),l,1),u=s=1;else return le(h,g.precision=v,w,De=!0);else return g.precision=v,h;h=c,u+=2}}function a0(e){return String(e.s*e.s/0)}function Wu(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 Sp(e,r){var t,n,u,i,a,s,h,c,l;if(r.indexOf("_")>-1){if(r=r.replace(/(\d)_(?=\d)/g,"$1"),t0.test(r))return Wu(e,r)}else if(r==="Infinity"||r==="NaN")return+r||(e.s=NaN),e.e=NaN,e.d=null,e;if(Ep.test(r))t=16,r=r.toLowerCase();else if(Dp.test(r))t=2;else if(xp.test(r))t=8;else throw Error(Rr+r);for(i=r.search(/p/i),i>0?(h=+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=n0(n,new n(t),i,i*2)),c=Hu(r,t,ur),l=c.length-1,i=l;c[i]===0;--i)c.pop();return i<0?new n(e.s*0):(e.e=Uu(c,l),e.d=c,De=!1,a&&(e=Xe(e,u,s*4)),h&&(e=e.times(Math.abs(h)<54?vt(2,h):gn.pow(2,h))),De=!0,e)}function Fp(e,r){var t,n=r.d.length;if(n<3)return r.isZero()?r:mn(e,2,r,r);t=1.4*Math.sqrt(n),t=t>16?16:t|0,r=r.times(1/Yu(5,t)),r=mn(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 mn(e,r,t,n,u){var i,a,s,h,c=e.precision,l=Math.ceil(c/ge);for(De=!1,h=t.times(t),s=new e(n);;){if(a=Xe(s.times(h),new e(r++*r++),c,1),s=u?n.plus(a):n.minus(a),n=Xe(a.times(h),new e(r++*r++),c,1),a=s.plus(n),a.d[l]!==void 0){for(i=l;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=l+1,a}function Yu(e,r){for(var t=e;--r;)t*=e;return t}function s0(e,r){var t,n=r.s<0,u=hr(e,e.precision,1),i=u.times(.5);if(r=r.abs(),r.lte(i))return Cr=n?4:1,r;if(t=r.divToInt(u),t.isZero())Cr=n?3:2;else{if(r=r.minus(t.times(u)),r.lte(i))return Cr=u0(t)?n?2:3:n?4:1,r;Cr=u0(t)?n?1:4:n?3:2}return r.minus(u).abs()}function La(e,r,t,n){var u,i,a,s,h,c,l,p,o,f=e.constructor,m=t!==void 0;if(m?(It(t,1,Ir),n===void 0?n=f.rounding:It(n,0,8)):(t=f.precision,n=f.rounding),!e.isFinite())l=a0(e);else{for(l=dr(e),a=l.indexOf("."),m?(u=2,r==16?t=t*4-3:r==8&&(t=t*3-2)):u=r,a>=0&&(l=l.replace(".",""),o=new f(1),o.e=l.length-a,o.d=Hu(dr(o),10,u),o.e=o.d.length),p=Hu(l,10,u),i=h=p.length;p[--h]==0;)p.pop();if(!p[0])l=m?"0p+0":"0";else{if(a<0?i--:(e=new f(e),e.d=p,e.e=i,e=Xe(e,o,t,n,0,u),p=e.d,i=e.e,c=Zc),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(h=p.length;!p[h-1];--h);for(a=0,l="";a<h;a++)l+=Ba.charAt(p[a]);if(m){if(h>1)if(r==16||r==8){for(a=r==16?4:3,--h;h%a;h++)l+="0";for(p=Hu(l,u,r),h=p.length;!p[h-1];--h);for(a=1,l="1.";a<h;a++)l+=Ba.charAt(p[a])}else l=l.charAt(0)+"."+l.slice(1);l=l+(i<0?"p":"p+")+i}else if(i<0){for(;++i;)l="0"+l;l="0."+l}else if(++i>h)for(i-=h;i--;)l+="0";else i<h&&(l=l.slice(0,i)+"."+l.slice(i))}l=(r==16?"0x":r==2?"0b":r==8?"0o":"")+l}return e.s<0?"-"+l:l}function o0(e,r){if(e.length>r)return e.length=r,!0}function _p(e){return new this(e).abs()}function Op(e){return new this(e).acos()}function Np(e){return new this(e).acosh()}function Mp(e,r){return new this(e).plus(r)}function Pp(e){return new this(e).asin()}function Bp(e){return new this(e).asinh()}function Ip(e){return new this(e).atan()}function Rp(e){return new this(e).atanh()}function kp(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=hr(this,i,1).times(r.s>0?.25:.75),t.s=e.s):!r.d||e.isZero()?(t=r.s<0?hr(this,n,u):new this(0),t.s=e.s):!e.d||r.isZero()?(t=hr(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=hr(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 Lp(e){return new this(e).cbrt()}function qp(e){return le(e=new this(e),e.e+1,2)}function $p(e,r,t){return new this(e).clamp(r,t)}function jp(e){if(!e||typeof e!="object")throw Error(zu+"Object expected");var r,t,n,u=e.defaults===!0,i=["precision",1,Ir,"rounding",0,8,"toExpNeg",-pn,0,"toExpPos",0,pn,"maxE",0,pn,"minE",-pn,0,"modulo",0,9];for(r=0;r<i.length;r+=3)if(t=i[r],u&&(this[t]=Ia[t]),(n=e[t])!==void 0)if(_t(n)===n&&n>=i[r+1]&&n<=i[r+2])this[t]=n;else throw Error(Rr+t+": "+n);if(t="crypto",u&&(this[t]=Ia[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(Kc);else this[t]=!1;else throw Error(Rr+t+": "+n);return this}function zp(e){return new this(e).cos()}function Hp(e){return new this(e).cosh()}function c0(e){var r,t,n;function u(i){var a,s,h,c=this;if(!(c instanceof u))return new u(i);if(c.constructor=u,l0(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(h=typeof i,h==="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 Wu(c,i.toString())}if(h==="string")return(s=i.charCodeAt(0))===45?(i=i.slice(1),c.s=-1):(s===43&&(i=i.slice(1)),c.s=1),t0.test(i)?Wu(c,i):Sp(c,i);if(h==="bigint")return i<0?(i=-i,c.s=-1):c.s=1,Wu(c,i.toString());throw Error(Rr+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=jp,u.clone=c0,u.isDecimal=l0,u.abs=_p,u.acos=Op,u.acosh=Np,u.add=Mp,u.asin=Pp,u.asinh=Bp,u.atan=Ip,u.atanh=Rp,u.atan2=kp,u.cbrt=Lp,u.ceil=qp,u.clamp=$p,u.cos=zp,u.cosh=Hp,u.div=Up,u.exp=Vp,u.floor=Wp,u.hypot=Yp,u.ln=Gp,u.log=Xp,u.log10=Zp,u.log2=Qp,u.max=Jp,u.min=Kp,u.mod=em,u.mul=tm,u.pow=rm,u.random=nm,u.round=um,u.sign=im,u.sin=am,u.sinh=sm,u.sqrt=om,u.sub=cm,u.sum=lm,u.tan=fm,u.tanh=dm,u.trunc=hm,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 Up(e,r){return new this(e).div(r)}function Vp(e){return new this(e).exp()}function Wp(e){return le(e=new this(e),e.e+1,3)}function Yp(){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 l0(e){return e instanceof gn||e&&e.toStringTag===e0||!1}function Gp(e){return new this(e).ln()}function Xp(e,r){return new this(e).log(r)}function Qp(e){return new this(e).log(2)}function Zp(e){return new this(e).log(10)}function Jp(){return i0(this,arguments,-1)}function Kp(){return i0(this,arguments,1)}function em(e,r){return new this(e).mod(r)}function tm(e,r){return new this(e).mul(r)}function rm(e,r){return new this(e).pow(r)}function nm(e){var r,t,n,u,i=0,a=new this(1),s=[];if(e===void 0?e=this.precision:It(e,1,Ir),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(Kc);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)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 um(e){return le(e=new this(e),e.e+1,this.rounding)}function im(e){return e=new this(e),e.d?e.d[0]?e.s:0*e.s:e.s||NaN}function am(e){return new this(e).sin()}function sm(e){return new this(e).sinh()}function om(e){return new this(e).sqrt()}function cm(e,r){return new this(e).sub(r)}function lm(){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 fm(e){return new this(e).tan()}function dm(e){return new this(e).tanh()}function hm(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 gn=V.constructor=c0(Ia);$u=new gn($u),ju=new gn(ju);var pm="BigNumber",mm=["?on","config"],gm=Pe(pm,mm,e=>{var{on:r,config:t}=e,n=gn.clone({precision:t.precision,modulo:gn.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},bm=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)},qa=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))},bn=function(){throw SyntaxError("Invalid Param")};function $a(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 ym={re:0,im:0},en=function(e,r){const t=ym;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 $.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 $.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]):bn();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&&bn();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&&bn(),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))&&bn(),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&&bn();break;case"number":t.im=0,t.re=e;break;default:bn()}return isNaN(t.re)||isNaN(t.im),t};function $(e,r){if(!(this instanceof $))return new $(e,r);const t=en(e,r);this.re=t.re,this.im=t.im}$.prototype={re:0,im:0,sign:function(){const e=qa(this.re,this.im);return new $(this.re/e,this.im/e)},add:function(e,r){const t=en(e,r),n=this.isInfinite(),u=!(isFinite(t.re)&&isFinite(t.im));return n||u?n&&u?$.NAN:$.INFINITY:new $(this.re+t.re,this.im+t.im)},sub:function(e,r){const t=en(e,r),n=this.isInfinite(),u=!(isFinite(t.re)&&isFinite(t.im));return n||u?n&&u?$.NAN:$.INFINITY:new $(this.re-t.re,this.im-t.im)},mul:function(e,r){const t=en(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?$.NAN:n||u?$.INFINITY:t.im===0&&this.im===0?new $(this.re*t.re,0):new $(this.re*t.re-this.im*t.im,this.re*t.im+this.im*t.re)},div:function(e,r){const t=en(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 $.NAN;if(a||n)return $.INFINITY;if(i||u)return $.ZERO;if(t.im===0)return new $(this.re/t.re,this.im/t.re);if(Math.abs(t.re)<Math.abs(t.im)){const s=t.re/t.im,h=t.re*s+t.im;return new $((this.re*s+this.im)/h,(this.im*s-this.re)/h)}else{const s=t.im/t.re,h=t.im*s+t.re;return new $((this.re+this.im*s)/h,(this.im-this.re*s)/h)}},pow:function(e,r){const t=en(e,r),n=this.re===0&&this.im===0;if(t.re===0&&t.im===0)return $.ONE;if(t.im===0){if(this.im===0&&this.re>0)return new $(Math.pow(this.re,t.re),0);if(this.re===0)switch((t.re%4+4)%4){case 0:return new $(Math.pow(this.im,t.re),0);case 1:return new $(0,Math.pow(this.im,t.re));case 2:return new $(-Math.pow(this.im,t.re),0);case 3:return new $(0,-Math.pow(this.im,t.re))}}if(n&&t.re>0)return $.ZERO;const i=Math.atan2(this.im,this.re),a=$a(this.re,this.im);let s=Math.exp(t.re*a-t.im*i),h=t.im*a+t.re*i;return new $(s*Math.cos(h),s*Math.sin(h))},sqrt:function(){const e=this.re,r=this.im;if(r===0)return e>=0?new $(Math.sqrt(e),0):new $(0,Math.sqrt(-e));const t=qa(e,r);let n=Math.sqrt(.5*(t+Math.abs(e))),u=Math.abs(r)/(2*n);return e>=0?new $(n,r<0?-u:u):new $(u,r<0?-n:n)},exp:function(){const e=Math.exp(this.re);return this.im===0?new $(e,0):new $(e*Math.cos(this.im),e*Math.sin(this.im))},expm1:function(){const e=this.re,r=this.im;return new $(Math.expm1(e)*Math.cos(r)+bm(r),Math.exp(e)*Math.sin(r))},log:function(){const e=this.re,r=this.im;return r===0&&e>0?new $(Math.log(e),0):new $($a(e,r),Math.atan2(r,e))},abs:function(){return qa(this.re,this.im)},arg:function(){return Math.atan2(this.im,this.re)},sin:function(){const e=this.re,r=this.im;return new $(Math.sin(e)*Ot(r),Math.cos(e)*Gt(r))},cos:function(){const e=this.re,r=this.im;return new $(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 $(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 $(-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 $(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 $(Math.sin(e)*Ot(r)/t,-Math.cos(e)*Gt(r)/t)},asin:function(){const e=this.re,r=this.im,t=new $(r*r-e*e+1,-2*e*r).sqrt(),n=new $(t.re-r,t.im+e).log();return new $(n.im,-n.re)},acos:function(){const e=this.re,r=this.im,t=new $(r*r-e*e+1,-2*e*r).sqrt(),n=new $(t.re-r,t.im+e).log();return new $(Math.PI/2-n.im,n.re)},atan:function(){const e=this.re,r=this.im;if(e===0){if(r===1)return new $(0,1/0);if(r===-1)return new $(0,-1/0)}const t=e*e+(1-r)*(1-r),n=new $((1-r*r-e*e)/t,-2*e/t).log();return new $(-.5*n.im,.5*n.re)},acot:function(){const e=this.re,r=this.im;if(r===0)return new $(Math.atan2(1,e),0);const t=e*e+r*r;return t!==0?new $(e/t,-r/t).atan():new $(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 $(0,1/0);const t=e*e+r*r;return t!==0?new $(e/t,-r/t).acos():new $(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 $(Math.PI/2,1/0);const t=e*e+r*r;return t!==0?new $(e/t,-r/t).asin():new $(e!==0?e/0:0,r!==0?-r/0:0).asin()},sinh:function(){const e=this.re,r=this.im;return new $(Gt(e)*Math.cos(r),Ot(e)*Math.sin(r))},cosh:function(){const e=this.re,r=this.im;return new $(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 $(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 $(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 $(-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 $(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 $((u*n-r*r)/i,(r*n+u*r)/i):new $(e!==-1?e/0:0,r!==0?r/0:0),s=a.re;return a.re=$a(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 $(0,Math.PI/2);const t=e*e+r*r;return t!==0?new $(e/t,-r/t).atanh():new $(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 $(e!==0?Math.log(e+Math.sqrt(e*e+1)):1/0,0);const t=e*e+r*r;return t!==0?new $(e/t,-r/t).asinh():new $(e!==0?e/0:0,r!==0?-r/0:0).asinh()},asech:function(){const e=this.re,r=this.im;if(this.isZero())return $.INFINITY;const t=e*e+r*r;return t!==0?new $(e/t,-r/t).acosh():new $(e!==0?e/0:0,r!==0?-r/0:0).acosh()},inverse:function(){if(this.isZero())return $.INFINITY;if(this.isInfinite())return $.ZERO;const e=this.re,r=this.im,t=e*e+r*r;return new $(e/t,-r/t)},conjugate:function(){return new $(this.re,-this.im)},neg:function(){return new $(-this.re,-this.im)},ceil:function(e){return e=Math.pow(10,e||0),new $(Math.ceil(this.re*e)/e,Math.ceil(this.im*e)/e)},floor:function(e){return e=Math.pow(10,e||0),new $(Math.floor(this.re*e)/e,Math.floor(this.im*e)/e)},round:function(e){return e=Math.pow(10,e||0),new $(Math.round(this.re*e)/e,Math.round(this.im*e)/e)},equals:function(e,r){const t=en(e,r);return Math.abs(t.re-this.re)<=$.EPSILON&&Math.abs(t.im-this.im)<=$.EPSILON},clone:function(){return new $(this.re,this.im)},toString:function(){let e=this.re,r=this.im,t="";return this.isNaN()?"NaN":this.isInfinite()?"Infinity":(Math.abs(e)<$.EPSILON&&(e=0),Math.abs(r)<$.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()}},$.ZERO=new $(0,0),$.ONE=new $(1,0),$.I=new $(0,1),$.PI=new $(Math.PI,0),$.E=new $(Math.E,0),$.INFINITY=new $(1/0,1/0),$.NAN=new $(NaN,NaN),$.EPSILON=1e-15;var vm="Complex",wm=[],Dm=Pe(vm,wm,()=>(Object.defineProperty($,"name",{value:"Complex"}),$.prototype.constructor=$,$.prototype.type="Complex",$.prototype.isComplex=!0,$.prototype.toJSON=function(){return{mathjs:"Complex",re:this.re,im:this.im}},$.prototype.toPolar=function(){return{r:this.abs(),phi:this.arg()}},$.prototype.format=function(e){var r="",t=this.im,n=this.re,u=Pa(this.re,e),i=Pa(this.im,e),a=Ke(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},$.fromPolar=function(e){switch(arguments.length){case 1:{var r=arguments[0];if(typeof r=="object")return $(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(Ke(t)){if(jc(n)&&n.hasBase("ANGLE")&&(n=n.toNumber("rad")),Ke(n))return new $({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")}},$.prototype.valueOf=$.prototype.toString,$.fromJSON=function(e){return new $(e)},$.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},$),{isClass:!0});typeof BigInt>"u"&&(BigInt=function(e){if(isNaN(e))throw new Error("");return e});const fe=BigInt(0),Ee=BigInt(1),Wn=BigInt(2),ja=BigInt(5),Rt=BigInt(10),Em=2e3,ee={s:Ee,n:fe,d:Ee};function Tr(e,r){try{e=BigInt(e)}catch{throw qr()}return e*r}function ir(e){return typeof e=="bigint"?e:Math.floor(e)}function tt(e,r){if(r===fe)throw za();const t=Object.create(Xt.prototype);t.s=e<fe?-Ee:Ee,e=e<fe?-e:e;const n=tn(e,r);return t.n=e/n,t.d=r/n,t}function yn(e){const r={};let t=e,n=Wn,u=ja-Ee;for(;u<=t;){for(;t%n===fe;)t/=n,r[n]=(r[n]||fe)+Ee;u+=Ee+Wn*n++}return t!==e?t>1&&(r[t]=(r[t]||fe)+Ee):r[e]=(r[e]||fe)+Ee,r}const Et=function(e,r){let t=fe,n=Ee,u=Ee;if(e!=null)if(r!==void 0){if(typeof e=="bigint")t=e;else{if(isNaN(e))throw qr();if(e%1!==0)throw f0();t=BigInt(e)}if(typeof r=="bigint")n=r;else{if(isNaN(r))throw qr();if(r%1!==0)throw f0();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 qr();u=t*n}else if(typeof e=="number"){if(isNaN(e))throw qr();if(e<0&&(u=-Ee,e=-e),e%1===0)t=BigInt(e);else if(e>0){let i=1,a=0,s=1,h=1,c=1,l=1e7;for(e>=1&&(i=10**Math.floor(1+Math.log10(e)),e/=i);s<=l&&c<=l;){let p=(a+h)/(s+c);if(e===p){s+c<=l?(t=a+h,n=s+c):c>s?(t=h,n=c):(t=a,n=s);break}else e>p?(a+=h,s+=c):(h+=a,c+=s),s>l?(t=h,n=c):(t=a,n=s)}t=BigInt(t)*BigInt(i),n=BigInt(n)}}else if(typeof e=="string"){let i=0,a=fe,s=fe,h=fe,c=Ee,l=Ee,p=e.replace(/_/g,"").match(/\d+|./g);if(p===null)throw qr();if(p[i]==="-"?(u=-Ee,i++):p[i]==="+"&&i++,p.length===i+1?s=Tr(p[i++],u):p[i+1]==="."||p[i]==="."?(p[i]!=="."&&(a=Tr(p[i++],u)),i++,(i+1===p.length||p[i+1]==="("&&p[i+3]===")"||p[i+1]==="'"&&p[i+3]==="'")&&(s=Tr(p[i],u),c=Rt**BigInt(p[i].length),i++),(p[i]==="("&&p[i+2]===")"||p[i]==="'"&&p[i+2]==="'")&&(h=Tr(p[i+1],u),l=Rt**BigInt(p[i+1].length)-Ee,i+=3)):p[i+1]==="/"||p[i+1]===":"?(s=Tr(p[i],u),c=Tr(p[i+2],Ee),i+=3):p[i+3]==="/"&&p[i+1]===" "&&(a=Tr(p[i],u),s=Tr(p[i+2],u),c=Tr(p[i+4],Ee),i+=5),p.length<=i)n=c*l,u=t=h+n*a+l*s;else throw qr()}else if(typeof e=="bigint")t=e,u=e,n=Ee;else throw qr();if(n===fe)throw za();ee.s=u<fe?-Ee:Ee,ee.n=t<fe?-t:t,ee.d=n<fe?-n:n};function xm(e,r,t){let n=Ee;for(;r>fe;e=e*e%t,r>>=Ee)r&Ee&&(n=n*e%t);return n}function Am(e,r){for(;r%Wn===fe;r/=Wn);for(;r%ja===fe;r/=ja);if(r===Ee)return fe;let t=Rt%r,n=1;for(;t!==Ee;n++)if(t=t*Rt%r,n>Em)return fe;return BigInt(n)}function Cm(e,r,t){let n=Ee,u=xm(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 tn(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=tn(ee.d,ee.n),this.s=ee.s,this.n=ee.n/e,this.d=ee.d/e;else return tt(ee.s*ee.n,ee.d)}var za=function(){return new Error("Division by Zero")},qr=function(){return new Error("Invalid argument")},f0=function(){return new Error("Parameters must be integer")};Xt.prototype={s:Ee,n:fe,d:Ee,abs:function(){return tt(this.n,this.d)},neg:function(){return tt(-this.s*this.n,this.d)},add:function(e,r){return Et(e,r),tt(this.s*this.n*ee.d+ee.s*this.d*ee.n,this.d*ee.d)},sub:function(e,r){return Et(e,r),tt(this.s*this.n*ee.d-ee.s*this.d*ee.n,this.d*ee.d)},mul:function(e,r){return Et(e,r),tt(this.s*ee.s*this.n*ee.n,this.d*ee.d)},div:function(e,r){return Et(e,r),tt(this.s*ee.s*this.n*ee.d,this.d*ee.n)},clone:function(){return tt(this.s*this.n,this.d)},mod:function(e,r){if(e===void 0)return tt(this.s*this.n%this.d,Ee);if(Et(e,r),fe===ee.n*this.d)throw za();return tt(this.s*(ee.d*this.n)%(ee.n*this.d),ee.d*this.d)},gcd:function(e,r){return Et(e,r),tt(tn(ee.n,this.n)*tn(ee.d,this.d),ee.d*this.d)},lcm:function(e,r){return Et(e,r),ee.n===fe&&this.n===fe?tt(fe,Ee):tt(ee.n*this.n,tn(ee.n,this.n)*tn(ee.d,this.d))},inverse:function(){return tt(this.s*this.d,this.n)},pow:function(e,r){if(Et(e,r),ee.d===Ee)return ee.s<fe?tt((this.s*this.d)**ee.n,this.n**ee.n):tt((this.s*this.n)**ee.n,this.d**ee.n);if(this.s<fe)return null;let t=yn(this.n),n=yn(this.d),u=Ee,i=Ee;for(let a in t)if(a!=="1"){if(a==="0"){u=fe;break}if(t[a]*=ee.n,t[a]%ee.d===fe)t[a]/=ee.d;else return null;u*=BigInt(a)**t[a]}for(let a in n)if(a!=="1"){if(n[a]*=ee.n,n[a]%ee.d===fe)n[a]/=ee.d;else return null;i*=BigInt(a)**n[a]}return ee.s<fe?tt(i,u):tt(u,i)},log:function(e,r){if(Et(e,r),this.s<=fe||ee.s<=fe)return null;const t={},n=yn(ee.n),u=yn(ee.d),i=yn(this.n),a=yn(this.d);for(const c in u)n[c]=(n[c]||fe)-u[c];for(const c in a)i[c]=(i[c]||fe)-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,h=null;for(const c in t){const l=n[c]||fe,p=i[c]||fe;if(l===fe){if(p!==fe)return null;continue}let o=p,f=l;const m=tn(o,f);if(o/=m,f/=m,s===null&&h===null)s=o,h=f;else if(o*h!==s*f)return null}return s!==null&&h!==null?tt(s,h):null},equals:function(e,r){return Et(e,r),this.s*this.n*ee.d===ee.s*ee.n*this.d},lt:function(e,r){return Et(e,r),this.s*this.n*ee.d<ee.s*ee.n*this.d},lte:function(e,r){return Et(e,r),this.s*this.n*ee.d<=ee.s*ee.n*this.d},gt:function(e,r){return Et(e,r),this.s*this.n*ee.d>ee.s*ee.n*this.d},gte:function(e,r){return Et(e,r),this.s*this.n*ee.d>=ee.s*ee.n*this.d},compare:function(e,r){Et(e,r);let t=this.s*this.n*ee.d-ee.s*ee.n*this.d;return(fe<t)-(t<fe)},ceil:function(e){return e=Rt**BigInt(e||0),tt(ir(this.s*e*this.n/this.d)+(e*this.n%this.d>fe&&this.s>=fe?Ee:fe),e)},floor:function(e){return e=Rt**BigInt(e||0),tt(ir(this.s*e*this.n/this.d)-(e*this.n%this.d>fe&&this.s<fe?Ee:fe),e)},round:function(e){return e=Rt**BigInt(e||0),tt(ir(this.s*e*this.n/this.d)+this.s*((this.s>=fe?Ee:fe)+Wn*(e*this.n%this.d)>this.d?Ee:fe),e)},roundTo:function(e,r){Et(e,r);const t=this.n*ee.d,n=this.d*ee.n,u=t%n;let i=ir(t/n);return u+u>=n&&i++,tt(this.s*i*ee.n,ee.d)},divisible:function(e,r){return Et(e,r),!(!(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 r=this.n,t=this.d;e=e||15;let n=Am(r,t),u=Cm(r,t,n),i=this.s<fe?"-":"";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){let r=this.n,t=this.d,n=this.s<fe?"-":"";if(t===Ee)n+=r;else{let u=ir(r/t);e&&u>fe&&(n+=u,n+=" ",r%=t),n+=r,n+="/",n+=t}return n},toLatex:function(e){let r=this.n,t=this.d,n=this.s<fe?"-":"";if(t===Ee)n+=r;else{let u=ir(r/t);e&&u>fe&&(n+=u,r%=t),n+="\\frac{",n+=r,n+="}{",n+=t,n+="}"}return n},toContinued:function(){let e=this.n,r=this.d,t=[];do{t.push(ir(e/r));let n=e%r;e=r,r=n}while(e!==Ee);return t},simplify:function(e){const r=BigInt(1/(e||.001)|0),t=this.abs(),n=t.toContinued();for(let u=1;u<n.length;u++){let i=tt(n[u-1],Ee);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 Tm="Fraction",Sm=[],Fm=Pe(Tm,Sm,()=>(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}),_m="Matrix",Om=[],Nm=Pe(_m,Om,()=>{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 Ha(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(!gt(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 Mm(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}=Vc(r);switch(t){case"fixed":return Bm(e,n);case"exponential":return d0(e,n);case"engineering":return Pm(e,n);case"bin":return Ha(e,2,u);case"oct":return Ha(e,8,u);case"hex":return Ha(e,16,u);case"auto":{var i=h0(r==null?void 0:r.lowerExp,-3),a=h0(r==null?void 0:r.upperExp,5);if(e.isZero())return"0";var s,h=e.toSignificantDigits(n),c=h.e;return c>=i&&c<a?s=h.toFixed():s=d0(e,n),s.replace(/((\.\d*?)(0+))($|e)/,function(){var l=arguments[2],p=arguments[4];return l!=="."?l+p:p})}default:throw new Error('Unknown notation "'+t+'". Choose "auto", "exponential", "fixed", "bin", "oct", or "hex.')}}function Pm(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 d0(e,r){return r!==void 0?e.toExponential(r-1):e.toExponential()}function Bm(e,r){return e.toFixed(r)}function h0(e,r){return Ke(e)?e:wt(e)?e.toNumber():r}function kt(e,r){var t=Im(e,r);return r&&typeof r=="object"&&"truncate"in r&&t.length>r.truncate?t.substring(0,r.truncate-3)+"...":t}function Im(e,r){if(typeof e=="number")return Pa(e,r);if(wt(e))return Mm(e,r);if(Rm(e))return!r||r.fraction!=="decimal"?"".concat(e.s*e.n,"/").concat(e.d):e.toString();if(Array.isArray(e))return g0(e,r);if(fr(e))return p0(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=>p0(n)+": "+kt(e[n],r));return"{"+t.join(", ")+"}"}return String(e)}function p0(e){for(var r=String(e),t="",n=0;n<r.length;){var u=r.charAt(n);t+=u in m0?m0[u]:u,n++}return'"'+t+'"'}var m0={'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"};function g0(e,r){if(Array.isArray(e)){for(var t="[",n=e.length,u=0;u<n;u++)u!==0&&(t+=", "),t+=g0(e[u],r);return t+="]",t}else return kt(e,r)}function Rm(e){return e&&typeof e=="object"&&typeof e.s=="bigint"&&typeof e.n=="bigint"&&typeof e.d=="bigint"||!1}function Le(e,r,t){if(!(this instanceof Le))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}Le.prototype=new RangeError,Le.prototype.constructor=RangeError,Le.prototype.name="DimensionError",Le.prototype.isDimensionError=!0;function rn(e,r,t){if(!(this instanceof rn))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}rn.prototype=new RangeError,rn.prototype.constructor=RangeError,rn.prototype.name="IndexError",rn.prototype.isIndexError=!0;function ar(e){for(var r=[];Array.isArray(e);)r.push(e.length),e=e[0];return r}function b0(e,r,t){var n,u=e.length;if(u!==r[t])throw new Le(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 Le(r.length-1,r.length,"<");b0(e[n],r,i)}}else for(n=0;n<u;n++)if(Array.isArray(e[n]))throw new Le(r.length+1,r.length,">")}function y0(e,r){var t=r.length===0;if(t){if(Array.isArray(e))throw new Le(e.length,0)}else b0(e,r,0)}function ot(e,r){if(e!==void 0){if(!Ke(e)||!gt(e))throw new TypeError("Index must be an integer (value: "+e+")");if(e<0||typeof r=="number"&&e>=r)throw new rn(e,r)}}function Ua(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(!Ke(u)||!gt(u)||u<0)throw new TypeError("Invalid size, must contain positive integers (size: "+kt(r)+")")}),(Ke(e)||wt(e))&&(e=[e]);var n=t!==void 0?t:0;return Va(e,r,0,n),e}function Va(e,r,t,n){var u,i,a=e.length,s=r[t],h=Math.min(a,s);if(e.length=s,t<r.length-1){var c=t+1;for(u=0;u<h;u++)i=e[u],Array.isArray(i)||(i=[i],e[u]=i),Va(i,r,c,n);for(u=h;u<s;u++)i=[],e[u]=i,Va(i,r,c,n)}else{for(u=0;u<h;u++)for(;Array.isArray(e[u]);)e[u]=e[u][0];for(u=h;u<s;u++)e[u]=n}}function v0(e,r){var t=Lm(e),n=t.length;if(!Array.isArray(e)||!Array.isArray(r))throw new TypeError("Array expected");if(r.length===0)throw new Le(0,n,"!=");r=Wa(r,n);var u=w0(r);if(n!==u)throw new Le(u,n,"!=");try{return km(t,r)}catch(i){throw i instanceof Le?new Le(u,n,"!="):i}}function Wa(e,r){var t=w0(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,h=r%t===0;if(s)if(h)n[i]=-r/t;else throw new Error("Could not replace wildcard, since "+r+" is no multiple of "+-t);return n}function w0(e){return e.reduce((r,t)=>r*t,1)}function km(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 D0(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=E0(e,r,0);u.length<r;)u.push(1);return e}function E0(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]=E0(e[n],r,i)}else for(var a=t;a<r;a++)e=[e];return e}function Lm(e){if(!Array.isArray(e))return e;var r=[];return e.forEach(function t(n){Array.isArray(n)?n.forEach(t):r.push(n)}),r}function Ya(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?Ya(i,r):r(i);if(t===void 0)t=s;else if(t!==s)return"mixed"}return t}function x0(e,r,t,n){if(n<t){if(e.length!==r.length)throw new Le(e.length,r.length);for(var u=[],i=0;i<e.length;i++)u[i]=x0(e[i],r[i],t,n+1);return u}else return e.concat(r)}function A0(){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 x0(t,n,r,0)},e[0]);throw new Error("Wrong number of arguments in function concat")}function C0(){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],h=n[a],c=0;c<h;c++){var l=u-h+c;s[c]>i[l]&&(i[l]=s[c])}for(var p=0;p<r.length;p++)T0(r[p],i);return i}function T0(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 Ga(e,r){var t=ar(e);if(Br(t,r))return e;T0(t,r);var n=C0(t,r),u=n.length,i=[...Array(u-t.length).fill(1),...t],a=$m(e);t.length<u&&(a=v0(a,i),t=ar(a));for(var s=0;s<u;s++)t[s]<n[s]&&(a=qm(a,n[s],s),t=ar(a));return a}function qm(e,r,t){return A0(...Array(r).fill(e),t)}function S0(e,r){if(!Array.isArray(e))throw new Error("Array expected");var t=ar(e);if(r.length!==t.length)throw new Le(r.length,t.length);for(var n=0;n<r.length;n++)ot(r[n],t[n]);return r.reduce((u,i)=>u[i],e)}function F0(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 h=a.length,c=Array(h),l=0;l<h;l++)n[s]=l,c[l]=u(a[l],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,h=Array(s),c=0;c<s;c++)h[c]=i(a[c]);return h}else return r(a)}}function $m(e){return jn([],e)}function Gu(e,r,t){if(Iu.isTypedFunction(e)){var n=(r.isMatrix?r.size():ar(r)).map(()=>0),u=r.isMatrix?r.get(n):S0(r,n),i=zm(e,u,n,r),a;if(r.isMatrix&&r.dataType!=="mixed"&&r.dataType!==void 0){var s=jm(e,i);a=s!==void 0?s:e}else a=e;return i>=1&&i<=3?function(){for(var h=arguments.length,c=new Array(h),l=0;l<h;l++)c[l]=arguments[l];return _0(a,c.slice(0,i),t,e.name)}:function(){for(var h=arguments.length,c=new Array(h),l=0;l<h;l++)c[l]=arguments[l];return _0(a,c,t,e.name)}}return e}function jm(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 zm(e,r,t,n){for(var u=[r,t,n],i=3;i>0;i--){var a=u.slice(0,i);if(Iu.resolve(e,a)!==null)return i}}function _0(e,r,t,n){try{return e(...r)}catch(u){Hm(u,r,t,n)}}function Hm(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 Um="DenseMatrix",Vm=["Matrix"],Wm=Pe(Um,Vm,e=>{var{Matrix:r}=e;function t(l,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(l))l.type==="DenseMatrix"?(this._data=Dt(l._data),this._size=Dt(l._size),this._datatype=p||l._datatype):(this._data=l.toArray(),this._size=l.size(),this._datatype=p||l._datatype);else if(l&&yt(l.data)&&yt(l.size))this._data=l.data,this._size=l.size,y0(this._data,this._size),this._datatype=p||l.datatype;else if(yt(l))this._data=c(l),this._size=ar(this._data),y0(this._data,this._size),this._datatype=p;else{if(l)throw new TypeError("Unsupported type of data ("+Kr(l)+")");this._data=[],this._size=[0],this._datatype=p}}t.prototype=new r,t.prototype.createDenseMatrix=function(l,p){return new t(l,p)},Object.defineProperty(t,"name",{value:"DenseMatrix"}),t.prototype.constructor=t,t.prototype.type="DenseMatrix",t.prototype.isDenseMatrix=!0,t.prototype.getDataType=function(){return Ya(this._data,Kr)},t.prototype.storage=function(){return"dense"},t.prototype.datatype=function(){return this._datatype},t.prototype.create=function(l,p){return new t(l,p)},t.prototype.subset=function(l,p,o){switch(arguments.length){case 1:return n(this,l);case 2:case 3:return i(this,l,p,o);default:throw new SyntaxError("Wrong number of arguments")}},t.prototype.get=function(l){return S0(this._data,l)},t.prototype.set=function(l,p,o){if(!yt(l))throw new TypeError("Array expected");if(l.length<this._size.length)throw new Le(l.length,this._size.length,"<");var f,m,d,b=l.map(function(w){return w+1});h(this,b,o);var g=this._data;for(f=0,m=l.length-1;f<m;f++)d=l[f],ot(d,g.length),g=g[d];return d=l[l.length-1],ot(d,g.length),g[d]=p,this};function n(l,p){if(!Oa(p))throw new TypeError("Invalid index");var o=p.isScalar();if(o)return l.get(p.min());var f=p.size();if(f.length!==l._size.length)throw new Le(f.length,l._size.length);for(var m=p.min(),d=p.max(),b=0,g=l._size.length;b<g;b++)ot(m[b],l._size[b]),ot(d[b],l._size[b]);return new t(u(l._data,p,f.length,0),l._datatype)}function u(l,p,o,f){var m=f===o-1,d=p.dimension(f);return m?d.map(function(b){return ot(b,l.length),l[b]}).valueOf():d.map(function(b){ot(b,l.length);var g=l[b];return u(g,p,o,f+1)}).valueOf()}function i(l,p,o,f){if(!p||p.isIndex!==!0)throw new TypeError("Invalid index");var m=p.size(),d=p.isScalar(),b;if(Wt(o)?(b=o.size(),o=o.valueOf()):b=ar(o),d){if(b.length!==0)throw new TypeError("Scalar expected");l.set(p.min(),o,f)}else{if(!Br(b,m))try{b.length===0?o=Ga([o],m):o=Ga(o,m),b=ar(o)}catch{}if(m.length<l._size.length)throw new Le(m.length,l._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=D0(o,m.length,w,b)}if(!Br(m,b))throw new Le(m,b,">");var v=p.max().map(function(E){return E+1});h(l,v,f);var D=m.length,y=0;a(l._data,p,o,D,y)}return l}function a(l,p,o,f,m){var d=m===f-1,b=p.dimension(m);d?b.forEach(function(g,w){ot(g),l[g]=o[w[0]]}):b.forEach(function(g,w){ot(g),a(l[g],p,o[w[0]],f,m+1)})}t.prototype.resize=function(l,p,o){if(!Bu(l))throw new TypeError("Array or Matrix expected");var f=l.valueOf().map(d=>Array.isArray(d)&&d.length===1?d[0]:d),m=o?this.clone():this;return s(m,f,p)};function s(l,p,o){if(p.length===0){for(var f=l._data;yt(f);)f=f[0];return f}return l._size=p.slice(0),l._data=Ua(l._data,l._size,o),l}t.prototype.reshape=function(l,p){var o=p?this.clone():this;o._data=v0(o._data,l);var f=o._size.reduce((m,d)=>m*d);return o._size=Wa(l,f),o};function h(l,p,o){for(var f=l._size.slice(0),m=!1;f.length<p.length;)f.push(0),m=!0;for(var d=0,b=p.length;d<b;d++)p[d]>f[d]&&(f[d]=p[d],m=!0);m&&s(l,f,o)}t.prototype.clone=function(){var l=new t({data:Dt(this._data),size:Dt(this._size),datatype:this._datatype});return l},t.prototype.size=function(){return this._size.slice(0)},t.prototype._forEach=function(l){var p=this,o=p.size(),f=o.length-1;if(f<0)return;if(f===0){for(var m=o[0],d=0;d<m;d++)l(p._data,d,[d]);return}var b=Array(o.length);function g(w,v){var D=o[v];if(v<f)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,l(w,E,b.slice())}g(p._data,0)},t.prototype.map=function(l){var p=this,o=new t(p),f=Gu(l,p._data,"map");return o._forEach(function(m,d,b){m[d]=f(m[d],b,p)}),o},t.prototype.forEach=function(l){var p=this,o=Gu(l,p._data,"map");p._forEach(function(f,m,d){o(f[m],d,p)})},t.prototype[Symbol.iterator]=function*(){var l=this._size.length-1;if(!(l<0)){if(l===0){for(var p=0;p<this._data.length;p++)yield{value:this._data[p],index:[p]};return}var o=[],f=function*(d,b){if(b<l)for(var g=0;g<d.length;g++)o[b]=g,yield*f(d[g],b+1);else for(var w=0;w<d.length;w++)o[b]=w,yield{value:d[w],index:o.slice()}};yield*f(this._data,0)}},t.prototype.rows=function(){var l=[],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 f of o)l.push(new t([f],this._datatype));return l},t.prototype.columns=function(){var l=this,p=[],o=this.size();if(o.length!==2)throw new TypeError("Rows can only be returned for a 2D matrix.");for(var f=this._data,m=function(g){var w=f.map(v=>[v[g]]);p.push(new t(w,l._datatype))},d=0;d<o[1];d++)m(d);return p},t.prototype.toArray=function(){return Dt(this._data)},t.prototype.valueOf=function(){return this._data},t.prototype.format=function(l){return kt(this._data,l)},t.prototype.toString=function(){return kt(this._data)},t.prototype.toJSON=function(){return{mathjs:"DenseMatrix",data:this._data,size:this._size,datatype:this._datatype}},t.prototype.diagonal=function(l){if(l){if(wt(l)&&(l=l.toNumber()),!Ke(l)||!gt(l))throw new TypeError("The parameter k must be an integer number")}else l=0;for(var p=l>0?l:0,o=l<0?-l:0,f=this._size[0],m=this._size[1],d=Math.min(f-o,m-p),b=[],g=0;g<d;g++)b[g]=this._data[g+o][g+p];return new t({data:b,size:[d],datatype:this._datatype})},t.diagonal=function(l,p,o,f){if(!yt(l))throw new TypeError("Array expected, size parameter");if(l.length!==2)throw new Error("Only two dimensions matrix are supported");if(l=l.map(function(A){if(wt(A)&&(A=A.toNumber()),!Ke(A)||!gt(A)||A<1)throw new Error("Size values must be positive integers");return A}),o){if(wt(o)&&(o=o.toNumber()),!Ke(o)||!gt(o))throw new TypeError("The parameter k must be an integer number")}else o=0;var m=o>0?o:0,d=o<0?-o:0,b=l[0],g=l[1],w=Math.min(b-d,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};f||(f=wt(v(0))?v(0).mul(0):0);var y=[];if(l.length>0){y=Ua(y,l,f);for(var E=0;E<w;E++)y[E+d][E+m]=v(E)}return new t({data:y,size:[b,g]})},t.fromJSON=function(l){return new t(l)},t.prototype.swapRows=function(l,p){if(!Ke(l)||!gt(l)||!Ke(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(l,this._size[0]),ot(p,this._size[0]),t._swapRows(l,p,this._data),this},t._swapRows=function(l,p,o){var f=o[l];o[l]=o[p],o[p]=f};function c(l){return Wt(l)?c(l.valueOf()):yt(l)?l.map(c):l}return t},{isClass:!0});function Yn(e,r,t){if(!t)return Wt(e)?e.map(u=>r(u)):F0(e,r,!0);var n=u=>u===0?u:r(u);return Wt(e)?e.map(u=>n(u)):F0(e,n,!0)}var O0="isInteger",Ym=["typed"],Gm=Pe(O0,Ym,e=>{var{typed:r}=e;return r(O0,{number:gt,BigNumber:function(n){return n.isInt()},bigint:function(n){return!0},Fraction:function(n){return n.d===1n},"Array | Matrix":r.referToSelf(t=>n=>Yn(n,t))})}),Xm="number",N0="number, number";function M0(e,r){return e+r}M0.signature=N0;function P0(e,r){return e-r}P0.signature=N0;function B0(e){return-e}B0.signature=Xm;function Gn(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!gt(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(Wc(e,r))}function Xa(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 Qm(e,r,t,n){return hn(e.re,r.re,t,n)&&hn(e.im,r.im,t,n)}var Zm=Pe("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)})}}),Xu="equalScalar",Jm=["typed","config"],Km=Pe(Xu,Jm,e=>{var{typed:r,config:t}=e,n=Zm({typed:r});return r(Xu,{"boolean, boolean":function(i,a){return i===a},"number, number":function(i,a){return hn(i,a,t.relTol,t.absTol)},"BigNumber, BigNumber":function(i,a){return i.eq(a)||Xa(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 Qm(i,a,t.relTol,t.absTol)}},n)});Pe(Xu,["typed","config"],e=>{var{typed:r,config:t}=e;return r(Xu,{"number, number":function(u,i){return hn(u,i,t.relTol,t.absTol)}})});var eg="SparseMatrix",tg=["typed","equalScalar","Matrix"],rg=Pe(eg,tg,e=>{var{typed:r,equalScalar:t,Matrix:n}=e;function u(d,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(d))i(this,d,b);else if(d&&yt(d.index)&&yt(d.ptr)&&yt(d.size))this._values=d.values,this._index=d.index,this._ptr=d.ptr,this._size=d.size,this._datatype=b||d.datatype;else if(yt(d))a(this,d,b);else{if(d)throw new TypeError("Unsupported type of data ("+Kr(d)+")");this._values=[],this._index=[],this._ptr=[0],this._size=[0,0],this._datatype=b}}function i(d,b,g){b.type==="SparseMatrix"?(d._values=b._values?Dt(b._values):void 0,d._index=Dt(b._index),d._ptr=Dt(b._ptr),d._size=Dt(b._size),d._datatype=g||b._datatype):a(d,b.valueOf(),g||b._datatype)}function a(d,b,g){d._values=[],d._index=[],d._ptr=[],d._datatype=g;var w=b.length,v=0,D=t,y=0;if(fr(g)&&(D=r.find(t,[g,g])||t,y=r.convert(0,g)),w>0){var E=0;do{d._ptr.push(d._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 F=C[E];D(F,y)||(d._values.push(F),d._index.push(A))}}else E===0&&v<1&&(v=1),D(C,y)||(d._values.push(C),d._index.push(A))}E++}while(E<v)}d._ptr.push(d._index.length),d._size=[w,v]}u.prototype=new n,u.prototype.createSparseMatrix=function(d,b){return new u(d,b)},Object.defineProperty(u,"name",{value:"SparseMatrix"}),u.prototype.constructor=u,u.prototype.type="SparseMatrix",u.prototype.isSparseMatrix=!0,u.prototype.getDataType=function(){return Ya(this._values,Kr)},u.prototype.storage=function(){return"sparse"},u.prototype.datatype=function(){return this._datatype},u.prototype.create=function(d,b){return new u(d,b)},u.prototype.density=function(){var d=this._size[0],b=this._size[1];return d!==0&&b!==0?this._index.length/(d*b):0},u.prototype.subset=function(d,b,g){if(!this._values)throw new Error("Cannot invoke subset on a Pattern only matrix");switch(arguments.length){case 1:return s(this,d);case 2:case 3:return h(this,d,b,g);default:throw new SyntaxError("Wrong number of arguments")}};function s(d,b){if(!Oa(b))throw new TypeError("Invalid index");var g=b.isScalar();if(g)return d.get(b.min());var w=b.size();if(w.length!==d._size.length)throw new Le(w.length,d._size.length);var v,D,y,E,A=b.min(),C=b.max();for(v=0,D=d._size.length;v<D;v++)ot(A[v],d._size[v]),ot(C[v],d._size[v]);var F=d._values,x=d._index,T=d._ptr,_=b.dimension(0),P=b.dimension(1),B=[],N=[];_.forEach(function(ie,L){N[ie]=L[0],B[ie]=!0});var I=F?[]:void 0,J=[],re=[];return P.forEach(function(ie){for(re.push(J.length),y=T[ie],E=T[ie+1];y<E;y++)v=x[y],B[v]===!0&&(J.push(N[v]),I&&I.push(F[y]))}),re.push(J.length),new u({values:I,index:J,ptr:re,size:w,datatype:d._datatype})}function h(d,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=ar(g),D){if(y.length!==0)throw new TypeError("Scalar expected");d.set(b.min(),g,w)}else{if(v.length!==1&&v.length!==2)throw new Le(v.length,d._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=D0(g,v.length,A,y)}if(!Br(v,y))throw new Le(v,y,">");if(v.length===1){var C=b.dimension(0);C.forEach(function(T,_){ot(T),d.set([T,0],g[_[0]],w)})}else{var F=b.dimension(0),x=b.dimension(1);F.forEach(function(T,_){ot(T),x.forEach(function(P,B){ot(P),d.set([T,P],g[_[0]][B[0]],w)})})}}return d}u.prototype.get=function(d){if(!yt(d))throw new TypeError("Array expected");if(d.length!==this._size.length)throw new Le(d.length,this._size.length);if(!this._values)throw new Error("Cannot invoke get on a Pattern only matrix");var b=d[0],g=d[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(d,b,g){if(!yt(d))throw new TypeError("Array expected");if(d.length!==this._size.length)throw new Le(d.length,this._size.length);if(!this._values)throw new Error("Cannot invoke set on a Pattern only matrix");var w=d[0],v=d[1],D=this._size[0],y=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||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)?l(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(d,b,g,w){if(g-b===0)return g;for(var v=b;v<g;v++)if(w[v]===d)return v;return b}function l(d,b,g,w,v){g.splice(d,1),w.splice(d,1);for(var D=b+1;D<v.length;D++)v[D]--}function p(d,b,g,w,v,D,y){v.splice(d,0,w),D.splice(d,0,b);for(var E=g+1;E<y.length;E++)y[E]++}u.prototype.resize=function(d,b,g){if(!Bu(d))throw new TypeError("Array or Matrix expected");var w=d.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(!Ke(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(d,b,g,w){var v=w||0,D=t,y=0;fr(d._datatype)&&(D=r.find(t,[d._datatype,d._datatype])||t,y=r.convert(0,d._datatype),v=r.convert(v,d._datatype));var E=!D(v,y),A=d._size[0],C=d._size[1],F,x,T;if(g>C){for(x=C;x<g;x++)if(d._ptr[x]=d._values.length,E)for(F=0;F<A;F++)d._values.push(v),d._index.push(F);d._ptr[g]=d._values.length}else g<C&&(d._ptr.splice(g+1,C-g),d._values.splice(d._ptr[g],d._values.length),d._index.splice(d._ptr[g],d._index.length));if(C=g,b>A){if(E){var _=0;for(x=0;x<C;x++){d._ptr[x]=d._ptr[x]+_,T=d._ptr[x+1]+_;var P=0;for(F=A;F<b;F++,P++)d._values.splice(T+P,0,v),d._index.splice(T+P,0,F),_++}d._ptr[C]=d._values.length}}else if(b<A){var B=0;for(x=0;x<C;x++){d._ptr[x]=d._ptr[x]-B;var N=d._ptr[x],I=d._ptr[x+1]-B;for(T=N;T<I;T++)F=d._index[T],F>b-1&&(d._values.splice(T,1),d._index.splice(T,1),B++)}d._ptr[x]=d._values.length}return d._size[0]=b,d._size[1]=g,d}u.prototype.reshape=function(d,b){if(!yt(d))throw new TypeError("Array expected");if(d.length!==2)throw new Error("Sparse matrices can only be reshaped in two dimensions");d.forEach(function(ie){if(!Ke(ie)||!gt(ie)||ie<=-2||ie===0)throw new TypeError("Invalid size, must contain positive integers or -1 (size: "+kt(d)+")")});var g=this._size[0]*this._size[1];d=Wa(d,g);var w=d[0]*d[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]===d[0]&&this._size[1]===d[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(),F=0;F<v._index.length;F++){var x=C[F],T=D[F],_=x*v._size[1]+T;D[F]=_%d[1],C[F]=Math.floor(_/d[1])}v._values.length=0,v._index.length=0,v._ptr.length=d[1]+1,v._size=d.slice();for(var P=0;P<v._ptr.length;P++)v._ptr[P]=0;for(var B=0;B<A.length;B++){var N=C[B],I=D[B],J=A[B],re=c(N,v._ptr[I],v._ptr[I+1],v._index);p(re,N,I,J,v._values,v._index,v._ptr)}return v},u.prototype.clone=function(){var d=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 d},u.prototype.size=function(){return this._size.slice(0)},u.prototype.map=function(d,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=Gu(d,g,"map"),y=function(A,C,F){return D(A,[C,F],g)};return f(this,0,w-1,0,v-1,y,b)};function f(d,b,g,w,v,D,y){var E=[],A=[],C=[],F=t,x=0;fr(d._datatype)&&(F=r.find(t,[d._datatype,d._datatype])||t,x=r.convert(0,d._datatype));for(var T=function(Y,se,de){var he=D(Y,se,de);F(he,x)||(E.push(he),A.push(se))},_=w;_<=v;_++){C.push(E.length);var P=d._ptr[_],B=d._ptr[_+1];if(y)for(var N=P;N<B;N++){var I=d._index[N];I>=b&&I<=g&&T(d._values[N],I-b,_-w)}else{for(var J={},re=P;re<B;re++){var ie=d._index[re];J[ie]=d._values[re]}for(var L=b;L<=g;L++){var Z=L in J?J[L]:0;T(Z,L-b,_-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(d,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=Gu(d,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 F=this._index[C];D(this._values[C],[F,y],g)}else{for(var x={},T=E;T<A;T++){var _=this._index[T];x[_]=this._values[T]}for(var P=0;P<w;P++){var B=P in x?x[P]:0;D(B,[P,y],g)}}}},u.prototype[Symbol.iterator]=function*(){if(!this._values)throw new Error("Cannot iterate a Pattern only matrix");for(var d=this._size[1],b=0;b<d;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(d,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 F=g[C],x=g[C+1],T=F;T<x;T++)A=b[T],E[A][C]=d?v?Dt(d[T]):d[T]:1;return E}return u.prototype.format=function(d){for(var b=this._size[0],g=this._size[1],w=this.density(),v="Sparse Matrix ["+kt(b,d)+" x "+kt(g,d)+"] density: "+kt(w,d)+`
|
|
89
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,l)+", "+kt(D,l)+") ==> "+(this._values?kt(this._values[A],l):"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(l){if(l){if(wt(l)&&(l=l.toNumber()),!Ke(l)||!gt(l))throw new TypeError("The parameter k must be an integer number")}else l=0;var b=l>0?l:0,g=l<0?-l: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 F=this._ptr[C],x=this._ptr[C+1],T=F;T<x;T++){var _=this._index[T];if(_===C-b+g){y.push(this._values[T]),E[y.length-1]=_-g;break}}return A.push(y.length),new u({values:y,index:E,ptr:A,size:[D,1]})},u.fromJSON=function(l){return new u(l)},u.diagonal=function(l,b,g,w,v){if(!yt(l))throw new TypeError("Array expected, size parameter");if(l.length!==2)throw new Error("Only two dimensions matrix are supported");if(l=l.map(function(ie){if(wt(ie)&&(ie=ie.toNumber()),!Ke(ie)||!gt(ie)||ie<1)throw new Error("Size values must be positive integers");return ie}),g){if(wt(g)&&(g=g.toNumber()),!Ke(g)||!gt(g))throw new TypeError("The parameter k must be an integer number")}else g=0;var D=t,y=0;lr(v)&&(D=r.find(t,[v,v])||t,y=r.convert(0,v));var E=g>0?g:0,A=g<0?-g:0,C=l[0],F=l[1],x=Math.min(C-A,F-E),T;if(yt(b)){if(b.length!==x)throw new Error("Invalid value array length");T=function(L){return b[L]}}else if(Wt(b)){var _=b.size();if(_.length!==1||_[0]!==x)throw new Error("Invalid matrix length");T=function(L){return b.get([L])}}else T=function(){return b};for(var P=[],B=[],N=[],I=0;I<F;I++){N.push(P.length);var J=I-E;if(J>=0&&J<x){var re=T(J);D(re,y)||(B.push(J+A),P.push(re))}}return N.push(P.length),new u({values:P,index:B,ptr:N,size:[C,F]})},u.prototype.swapRows=function(l,b){if(!Ke(l)||!gt(l)||!Ke(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 st(l,this._size[0]),st(b,this._size[0]),u._swapRows(l,b,this._size[1],this._values,this._index,this._ptr),this},u._forEachRow=function(l,b,g,w,v){for(var D=w[l],y=w[l+1],E=D;E<y;E++)v(g[E],b[E])},u._swapRows=function(l,b,g,w,v,D){for(var y=0;y<g;y++){var E=D[y],A=D[y+1],C=f(l,E,A,v),F=f(b,E,A,v);if(C<A&&F<A&&v[C]===l&&v[F]===b){if(w){var x=w[C];w[C]=w[F],w[F]=x}continue}if(C<A&&v[C]===l&&(F>=A||v[F]!==b)){var T=w?w[C]:void 0;v.splice(F,0,b),w&&w.splice(F,0,T),v.splice(F<=C?C+1:C,1),w&&w.splice(F<=C?C+1:C,1);continue}if(F<A&&v[F]===b&&(C>=A||v[C]!==l)){var _=w?w[F]:void 0;v.splice(C,0,l),w&&w.splice(C,0,_),v.splice(C<=F?F+1:F,1),w&&w.splice(C<=F?F+1:F,1)}}},u},{isClass:!0}),rg="number",ng=["typed"];function ug(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 ig(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 ag=Pe(rg,ng,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=ug(u);if(i)return ig(i);var a=0,o=u.match(/(0[box][0-9a-fA-F]*)i([0-9]*)/);o&&(a=Number(o[2]),u=o[1]);var h=Number(u);if(isNaN(h))throw new SyntaxError('String "'+u+'" is not a valid number');if(o){if(h>2**a-1)throw new SyntaxError('String "'.concat(u,'" is out of range'));h>=2**(a-1)&&(h=h-2**a)}return h},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=>Yn(u,n))});return t.fromJSON=function(n){return parseFloat(n.value)},t}),I0="matrix",og=["typed","Matrix","DenseMatrix","SparseMatrix"],sg=Pe(I0,og,e=>{var{typed:r,Matrix:t,DenseMatrix:n,SparseMatrix:u}=e;return r(I0,{"":function(){return i([])},string:function(o){return i([],o)},"string, string":function(o,h){return i([],o,h)},Array:function(o){return i(o)},Matrix:function(o){return i(o,o.storage())},"Array | Matrix, string":i,"Array | Matrix, string, string":i});function i(a,o,h){if(o==="dense"||o==="default"||o===void 0)return new n(a,h);if(o==="sparse")return new u(a,h);throw new TypeError("Unknown matrix type "+JSON.stringify(o)+".")}}),R0="unaryMinus",cg=["typed"],fg=Pe(R0,cg,e=>{var{typed:r}=e;return r(R0,{number:B0,"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=>Yn(n,t,!0))})}),k0="addScalar",lg=["typed"],dg=Pe(k0,lg,e=>{var{typed:r}=e;return r(k0,{"number, number":M0,"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})})}),L0="subtractScalar",hg=["typed"],pg=Pe(L0,hg,e=>{var{typed:r}=e;return r(L0,{"number, number":P0,"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})})}),mg="matAlgo11xS0s",gg=["typed","equalScalar"],bg=Pe(mg,gg,e=>{var{typed:r,equalScalar:t}=e;return function(u,i,a,o){var h=u._values,f=u._index,c=u._ptr,p=u._size,s=u._datatype;if(!h)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var d=p[0],m=p[1],l,b=t,g=0,w=a;typeof s=="string"&&(l=s,b=r.find(t,[l,l]),g=r.convert(0,l),i=r.convert(i,l),w=r.find(a,[l,l]));for(var v=[],D=[],y=[],E=0;E<m;E++){y[E]=D.length;for(var A=c[E],C=c[E+1],F=A;F<C;F++){var x=f[F],T=o?w(i,h[F]):w(h[F],i);b(T,g)||(D.push(x),v.push(T))}}return y[m]=D.length,u.createSparseMatrix({values:v,index:D,ptr:y,size:[d,m],datatype:l})}}),yg="matAlgo12xSfs",vg=["typed","DenseMatrix"],q0=Pe(yg,vg,e=>{var{typed:r,DenseMatrix:t}=e;return function(u,i,a,o){var h=u._values,f=u._index,c=u._ptr,p=u._size,s=u._datatype;if(!h)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var d=p[0],m=p[1],l,b=a;typeof s=="string"&&(l=s,i=r.convert(i,l),b=r.find(a,[l,l]));for(var g=[],w=[],v=[],D=0;D<m;D++){for(var y=D+1,E=c[D],A=c[D+1],C=E;C<A;C++){var F=f[C];w[F]=h[C],v[F]=y}for(var x=0;x<d;x++)D===0&&(g[x]=[]),v[x]===y?g[x][D]=o?b(i,w[x]):b(w[x],i):g[x][D]=o?b(i,0):b(0,i)}return new t({data:g,size:[d,m],datatype:l})}}),wg="matAlgo14xDs",Dg=["typed"],$0=Pe(wg,Dg,e=>{var{typed:r}=e;return function(u,i,a,o){var h=u._data,f=u._size,c=u._datatype,p,s=a;typeof c=="string"&&(p=c,i=r.convert(i,p),s=r.find(a,[p,p]));var d=f.length>0?t(s,0,f,f[0],h,i,o):[];return u.createDenseMatrix({data:d,size:Dt(f),datatype:p})};function t(n,u,i,a,o,h,f){var c=[];if(u===i.length-1)for(var p=0;p<a;p++)c[p]=f?n(h,o[p]):n(o[p],h);else for(var s=0;s<a;s++)c[s]=t(n,u+1,i,i[u+1],o[s],h,f);return c}}),Eg="matAlgo03xDSf",xg=["typed"],Ag=Pe(Eg,xg,e=>{var{typed:r}=e;return function(n,u,i,a){var o=n._data,h=n._size,f=n._datatype||n.getDataType(),c=u._values,p=u._index,s=u._ptr,d=u._size,m=u._datatype||u._data===void 0?u._datatype:u.getDataType();if(h.length!==d.length)throw new Le(h.length,d.length);if(h[0]!==d[0]||h[1]!==d[1])throw new RangeError("Dimension mismatch. Matrix A ("+h+") must match Matrix B ("+d+")");if(!c)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var l=h[0],b=h[1],g,w=0,v=i;typeof f=="string"&&f===m&&f!=="mixed"&&(g=f,w=r.convert(0,g),v=r.find(i,[g,g]));for(var D=[],y=0;y<l;y++)D[y]=[];for(var E=[],A=[],C=0;C<b;C++){for(var F=C+1,x=s[C],T=s[C+1],_=x;_<T;_++){var P=p[_];E[P]=a?v(c[_],o[P][C]):v(o[P][C],c[_]),A[P]=F}for(var B=0;B<l;B++)A[B]===F?D[B][C]=E[B]:D[B][C]=a?v(w,o[B][C]):v(o[B][C],w)}return n.createDenseMatrix({data:D,size:[l,b],datatype:f===n._datatype&&m===u._datatype?g:void 0})}}),Cg="matAlgo05xSfSf",Tg=["typed","equalScalar"],Sg=Pe(Cg,Tg,e=>{var{typed:r,equalScalar:t}=e;return function(u,i,a){var o=u._values,h=u._index,f=u._ptr,c=u._size,p=u._datatype||u._data===void 0?u._datatype:u.getDataType(),s=i._values,d=i._index,m=i._ptr,l=i._size,b=i._datatype||i._data===void 0?i._datatype:i.getDataType();if(c.length!==l.length)throw new Le(c.length,l.length);if(c[0]!==l[0]||c[1]!==l[1])throw new RangeError("Dimension mismatch. Matrix A ("+c+") must match Matrix B ("+l+")");var g=c[0],w=c[1],v,D=t,y=0,E=a;typeof p=="string"&&p===b&&p!=="mixed"&&(v=p,D=r.find(t,[v,v]),y=r.convert(0,v),E=r.find(a,[v,v]));var A=o&&s?[]:void 0,C=[],F=[],x=A?[]:void 0,T=A?[]:void 0,_=[],P=[],B,N,I,J;for(N=0;N<w;N++){F[N]=C.length;var re=N+1;for(I=f[N],J=f[N+1];I<J;I++)B=h[I],C.push(B),_[B]=re,x&&(x[B]=o[I]);for(I=m[N],J=m[N+1];I<J;I++)B=d[I],_[B]!==re&&C.push(B),P[B]=re,T&&(T[B]=s[I]);if(A)for(I=F[N];I<C.length;){B=C[I];var ie=_[B],L=P[B];if(ie===re||L===re){var Z=ie===re?x[B]:y,ce=L===re?T[B]:y,Y=E(Z,ce);D(Y,y)?C.splice(I,1):(A.push(Y),I++)}}}return F[w]=C.length,u.createSparseMatrix({values:A,index:C,ptr:F,size:[g,w],datatype:p===u._datatype&&b===i._datatype?v:void 0})}}),Fg="matAlgo13xDD",_g=["typed"],Og=Pe(Fg,_g,e=>{var{typed:r}=e;return function(u,i,a){var o=u._data,h=u._size,f=u._datatype,c=i._data,p=i._size,s=i._datatype,d=[];if(h.length!==p.length)throw new Le(h.length,p.length);for(var m=0;m<h.length;m++){if(h[m]!==p[m])throw new RangeError("Dimension mismatch. Matrix A ("+h+") must match Matrix B ("+p+")");d[m]=h[m]}var l,b=a;typeof f=="string"&&f===s&&(l=f,b=r.find(a,[l,l]));var g=d.length>0?t(b,0,d,d[0],o,c):[];return u.createDenseMatrix({data:g,size:d,datatype:l})};function t(n,u,i,a,o,h){var f=[];if(u===i.length-1)for(var c=0;c<a;c++)f[c]=n(o[c],h[c]);else for(var p=0;p<a;p++)f[p]=t(n,u+1,i,i[u+1],o[p],h[p]);return f}});function xt(e,r){if(Br(e.size(),r.size()))return[e,r];var t=C0(e.size(),r.size());return[e,r].map(n=>Ng(n,t))}function Ng(e,r){return Br(e.size(),r)?e:e.create(Ya(e.valueOf(),r),e.datatype())}var Mg="matrixAlgorithmSuite",Pg=["typed","matrix"],j0=Pe(Mg,Pg,e=>{var{typed:r,matrix:t}=e,n=Og({typed:r}),u=$0({typed:r});return function(a){var o=a.elop,h=a.SD||a.DS,f;o?(f={"DenseMatrix, DenseMatrix":(d,m)=>n(...xt(d,m),o),"Array, Array":(d,m)=>n(...xt(t(d),t(m)),o).valueOf(),"Array, DenseMatrix":(d,m)=>n(...xt(t(d),m),o),"DenseMatrix, Array":(d,m)=>n(...xt(d,t(m)),o)},a.SS&&(f["SparseMatrix, SparseMatrix"]=(d,m)=>a.SS(...xt(d,m),o,!1)),a.DS&&(f["DenseMatrix, SparseMatrix"]=(d,m)=>a.DS(...xt(d,m),o,!1),f["Array, SparseMatrix"]=(d,m)=>a.DS(...xt(t(d),m),o,!1)),h&&(f["SparseMatrix, DenseMatrix"]=(d,m)=>h(...xt(m,d),o,!0),f["SparseMatrix, Array"]=(d,m)=>h(...xt(t(m),d),o,!0))):(f={"DenseMatrix, DenseMatrix":r.referToSelf(d=>(m,l)=>n(...xt(m,l),d)),"Array, Array":r.referToSelf(d=>(m,l)=>n(...xt(t(m),t(l)),d).valueOf()),"Array, DenseMatrix":r.referToSelf(d=>(m,l)=>n(...xt(t(m),l),d)),"DenseMatrix, Array":r.referToSelf(d=>(m,l)=>n(...xt(m,t(l)),d))},a.SS&&(f["SparseMatrix, SparseMatrix"]=r.referToSelf(d=>(m,l)=>a.SS(...xt(m,l),d,!1))),a.DS&&(f["DenseMatrix, SparseMatrix"]=r.referToSelf(d=>(m,l)=>a.DS(...xt(m,l),d,!1)),f["Array, SparseMatrix"]=r.referToSelf(d=>(m,l)=>a.DS(...xt(t(m),l),d,!1))),h&&(f["SparseMatrix, DenseMatrix"]=r.referToSelf(d=>(m,l)=>h(...xt(l,m),d,!0)),f["SparseMatrix, Array"]=r.referToSelf(d=>(m,l)=>h(...xt(t(l),m),d,!0))));var c=a.scalar||"any",p=a.Ds||a.Ss;p&&(o?(f["DenseMatrix,"+c]=(d,m)=>u(d,m,o,!1),f[c+", DenseMatrix"]=(d,m)=>u(m,d,o,!0),f["Array,"+c]=(d,m)=>u(t(d),m,o,!1).valueOf(),f[c+", Array"]=(d,m)=>u(t(m),d,o,!0).valueOf()):(f["DenseMatrix,"+c]=r.referToSelf(d=>(m,l)=>u(m,l,d,!1)),f[c+", DenseMatrix"]=r.referToSelf(d=>(m,l)=>u(l,m,d,!0)),f["Array,"+c]=r.referToSelf(d=>(m,l)=>u(t(m),l,d,!1).valueOf()),f[c+", Array"]=r.referToSelf(d=>(m,l)=>u(t(l),m,d,!0).valueOf())));var s=a.sS!==void 0?a.sS:a.Ss;return o?(a.Ss&&(f["SparseMatrix,"+c]=(d,m)=>a.Ss(d,m,o,!1)),s&&(f[c+", SparseMatrix"]=(d,m)=>s(m,d,o,!0))):(a.Ss&&(f["SparseMatrix,"+c]=r.referToSelf(d=>(m,l)=>a.Ss(m,l,d,!1))),s&&(f[c+", SparseMatrix"]=r.referToSelf(d=>(m,l)=>s(l,m,d,!0)))),o&&o.signatures&&op(f,o.signatures),f}}),Bg="matAlgo01xDSid",Ig=["typed"],z0=Pe(Bg,Ig,e=>{var{typed:r}=e;return function(n,u,i,a){var o=n._data,h=n._size,f=n._datatype||n.getDataType(),c=u._values,p=u._index,s=u._ptr,d=u._size,m=u._datatype||u._data===void 0?u._datatype:u.getDataType();if(h.length!==d.length)throw new Le(h.length,d.length);if(h[0]!==d[0]||h[1]!==d[1])throw new RangeError("Dimension mismatch. Matrix A ("+h+") must match Matrix B ("+d+")");if(!c)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var l=h[0],b=h[1],g=typeof f=="string"&&f!=="mixed"&&f===m?f:void 0,w=g?r.find(i,[g,g]):i,v,D,y=[];for(v=0;v<l;v++)y[v]=[];var E=[],A=[];for(D=0;D<b;D++){for(var C=D+1,F=s[D],x=s[D+1],T=F;T<x;T++)v=p[T],E[v]=a?w(c[T],o[v][D]):w(o[v][D],c[T]),A[v]=C;for(v=0;v<l;v++)A[v]===C?y[v][D]=E[v]:y[v][D]=o[v][D]}return n.createDenseMatrix({data:y,size:[l,b],datatype:f===n._datatype&&m===u._datatype?g:void 0})}}),Rg="matAlgo04xSidSid",kg=["typed","equalScalar"],Lg=Pe(Rg,kg,e=>{var{typed:r,equalScalar:t}=e;return function(u,i,a){var o=u._values,h=u._index,f=u._ptr,c=u._size,p=u._datatype||u._data===void 0?u._datatype:u.getDataType(),s=i._values,d=i._index,m=i._ptr,l=i._size,b=i._datatype||i._data===void 0?i._datatype:i.getDataType();if(c.length!==l.length)throw new Le(c.length,l.length);if(c[0]!==l[0]||c[1]!==l[1])throw new RangeError("Dimension mismatch. Matrix A ("+c+") must match Matrix B ("+l+")");var g=c[0],w=c[1],v,D=t,y=0,E=a;typeof p=="string"&&p===b&&p!=="mixed"&&(v=p,D=r.find(t,[v,v]),y=r.convert(0,v),E=r.find(a,[v,v]));var A=o&&s?[]:void 0,C=[],F=[],x=o&&s?[]:void 0,T=o&&s?[]:void 0,_=[],P=[],B,N,I,J,re;for(N=0;N<w;N++){F[N]=C.length;var ie=N+1;for(J=f[N],re=f[N+1],I=J;I<re;I++)B=h[I],C.push(B),_[B]=ie,x&&(x[B]=o[I]);for(J=m[N],re=m[N+1],I=J;I<re;I++)if(B=d[I],_[B]===ie){if(x){var L=E(x[B],s[I]);D(L,y)?_[B]=null:x[B]=L}}else C.push(B),P[B]=ie,T&&(T[B]=s[I]);if(x&&T)for(I=F[N];I<C.length;)B=C[I],_[B]===ie?(A[I]=x[B],I++):P[B]===ie?(A[I]=T[B],I++):C.splice(I,1)}return F[w]=C.length,u.createSparseMatrix({values:A,index:C,ptr:F,size:[g,w],datatype:p===u._datatype&&b===i._datatype?v:void 0})}}),qg="matAlgo10xSids",$g=["typed","DenseMatrix"],H0=Pe(qg,$g,e=>{var{typed:r,DenseMatrix:t}=e;return function(u,i,a,o){var h=u._values,f=u._index,c=u._ptr,p=u._size,s=u._datatype;if(!h)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var d=p[0],m=p[1],l,b=a;typeof s=="string"&&(l=s,i=r.convert(i,l),b=r.find(a,[l,l]));for(var g=[],w=[],v=[],D=0;D<m;D++){for(var y=D+1,E=c[D],A=c[D+1],C=E;C<A;C++){var F=f[C];w[F]=h[C],v[F]=y}for(var x=0;x<d;x++)D===0&&(g[x]=[]),v[x]===y?g[x][D]=o?b(i,w[x]):b(w[x],i):g[x][D]=i}return new t({data:g,size:[d,m],datatype:l})}}),U0="subtract",jg=["typed","matrix","equalScalar","subtractScalar","unaryMinus","DenseMatrix","concat"],zg=Pe(U0,jg,e=>{var{typed:r,matrix:t,equalScalar:n,subtractScalar:u,unaryMinus:i,DenseMatrix:a,concat:o}=e,h=z0({typed:r}),f=Ag({typed:r}),c=Sg({typed:r,equalScalar:n}),p=H0({typed:r,DenseMatrix:a}),s=q0({typed:r,DenseMatrix:a}),d=j0({typed:r,matrix:t,concat:o});return r(U0,{"any, any":u},d({elop:u,SS:c,DS:h,SD:f,Ss:s,sS:p}))}),V0="concat",Hg=["typed","matrix","isInteger"],Ug=Pe(V0,Hg,e=>{var{typed:r,matrix:t,isInteger:n}=e;return r(V0,{"...Array | Matrix | number | BigNumber":function(i){var a,o=i.length,h=-1,f,c=!1,p=[];for(a=0;a<o;a++){var s=i[a];if(Wt(s)&&(c=!0),Ke(s)||wt(s)){if(a!==o-1)throw new Error("Dimension must be specified as last argument");if(f=h,h=s.valueOf(),!n(h))throw new TypeError("Integer number expected for dimension");if(h<0||a>0&&h>f)throw new nn(h,f+1)}else{var d=Dt(s).valueOf(),m=ar(d);if(p[a]=d,f=h,h=m.length-1,a>0&&h!==f)throw new Le(f+1,h+1)}}if(p.length===0)throw new SyntaxError("At least one matrix expected");for(var l=p.shift();p.length;)l=A0(l,p.shift(),h);return c?t(l):l},"...string":function(i){return i.join("")}})}),W0="zeros",Vg=["typed","config","matrix","BigNumber"],Wg=Pe(W0,Vg,e=>{var{typed:r,config:t,matrix:n,BigNumber:u}=e;return r(W0,{"":function(){return t.matrix==="Array"?i([]):i([],"default")},"...number | BigNumber | string":function(f){var c=f[f.length-1];if(typeof c=="string"){var p=f.pop();return i(f,p)}else return t.matrix==="Array"?i(f):i(f,"default")},Array:i,Matrix:function(f){var c=f.storage();return i(f.valueOf(),c)},"Array | Matrix, string":function(f,c){return i(f.valueOf(),c)}});function i(h,f){var c=a(h),p=c?new u(0):0;if(o(h),f){var s=n(f);return h.length>0?s.resize(h,p):s}else{var d=[];return h.length>0?Ha(d,h,p):d}}function a(h){var f=!1;return h.forEach(function(c,p,s){wt(c)&&(f=!0,s[p]=c.toNumber())}),f}function o(h){h.forEach(function(f){if(typeof f!="number"||!gt(f)||f<0)throw new Error("Parameters in function zeros must be positive integers")})}}),vn="Number of decimals in function round must be an integer",Y0="round",Yg=["typed","config","matrix","equalScalar","zeros","BigNumber","DenseMatrix"],Gg=Pe(Y0,Yg,e=>{var{typed:r,config:t,matrix:n,equalScalar:u,zeros:i,BigNumber:a,DenseMatrix:o}=e,h=bg({typed:r,equalScalar:u}),f=q0({typed:r,DenseMatrix:o}),c=$0({typed:r});function p(s){return Math.abs(Un(s).exponent)}return r(Y0,{number:function(d){var m=Gn(d,p(t.relTol)),l=hn(d,m,t.relTol,t.absTol)?m:d;return Gn(l)},"number, number":function(d,m){var l=p(t.relTol);if(m>=l)return Gn(d,m);var b=Gn(d,l),g=hn(d,b,t.relTol,t.absTol)?b:d;return Gn(g,m)},"number, BigNumber":function(d,m){if(!m.isInteger())throw new TypeError(vn);return new a(d).toDecimalPlaces(m.toNumber())},Complex:function(d){return d.round()},"Complex, number":function(d,m){if(m%1)throw new TypeError(vn);return d.round(m)},"Complex, BigNumber":function(d,m){if(!m.isInteger())throw new TypeError(vn);var l=m.toNumber();return d.round(l)},BigNumber:function(d){var m=new a(d).toDecimalPlaces(p(t.relTol)),l=Ga(d,m,t.relTol,t.absTol)?m:d;return l.toDecimalPlaces(0)},"BigNumber, BigNumber":function(d,m){if(!m.isInteger())throw new TypeError(vn);var l=p(t.relTol);if(m>=l)return d.toDecimalPlaces(m.toNumber());var b=d.toDecimalPlaces(l),g=Ga(d,b,t.relTol,t.absTol)?b:d;return g.toDecimalPlaces(m.toNumber())},bigint:s=>s,"bigint, number":(s,d)=>s,"bigint, BigNumber":(s,d)=>s,Fraction:function(d){return d.round()},"Fraction, number":function(d,m){if(m%1)throw new TypeError(vn);return d.round(m)},"Fraction, BigNumber":function(d,m){if(!m.isInteger())throw new TypeError(vn);return d.round(m.toNumber())},"Unit, number, Unit":r.referToSelf(s=>function(d,m,l){var b=d.toNumeric(l);return l.multiply(s(b,m))}),"Unit, BigNumber, Unit":r.referToSelf(s=>(d,m,l)=>s(d,m.toNumber(),l)),"Array | Matrix, number | BigNumber, Unit":r.referToSelf(s=>(d,m,l)=>Yn(d,b=>s(b,m,l),!0)),"Array | Matrix | Unit, Unit":r.referToSelf(s=>(d,m)=>s(d,0,m)),"Array | Matrix":r.referToSelf(s=>d=>Yn(d,s,!0)),"SparseMatrix, number | BigNumber":r.referToSelf(s=>(d,m)=>h(d,m,s,!1)),"DenseMatrix, number | BigNumber":r.referToSelf(s=>(d,m)=>c(d,m,s,!1)),"Array, number | BigNumber":r.referToSelf(s=>(d,m)=>c(n(d),m,s,!1).valueOf()),"number | Complex | BigNumber | Fraction, SparseMatrix":r.referToSelf(s=>(d,m)=>u(d,0)?i(m.size(),m.storage()):f(m,d,s,!0)),"number | Complex | BigNumber | Fraction, DenseMatrix":r.referToSelf(s=>(d,m)=>u(d,0)?i(m.size(),m.storage()):c(m,d,s,!0)),"number | Complex | BigNumber | Fraction, Array":r.referToSelf(s=>(d,m)=>c(n(m),d,s,!0).valueOf())})}),G0="add",Xg=["typed","matrix","addScalar","equalScalar","DenseMatrix","SparseMatrix","concat"],Qg=Pe(G0,Xg,e=>{var{typed:r,matrix:t,addScalar:n,equalScalar:u,DenseMatrix:i,SparseMatrix:a,concat:o}=e,h=z0({typed:r}),f=Lg({typed:r,equalScalar:u}),c=H0({typed:r,DenseMatrix:i}),p=j0({typed:r,matrix:t,concat:o});return r(G0,{"any, any":n,"any, any, ...any":r.referToSelf(s=>(d,m,l)=>{for(var b=s(d,m),g=0;g<l.length;g++)b=s(b,l[g]);return b})},p({elop:n,DS:h,SS:f,Ss:c}))}),Xa=mm({config:Hn}),Zg=wm({}),Jg=Sm({}),Qa=Om({}),Xn=Vm({Matrix:Qa}),jt=yp({BigNumber:Xa,Complex:Zg,DenseMatrix:Xn,Fraction:Jg}),Kg=dg({typed:jt}),Qu=Jm({config:Hn,typed:jt}),eb=Ym({typed:jt}),tb=ag({typed:jt}),X0=tg({Matrix:Qa,equalScalar:Qu,typed:jt}),rb=pg({typed:jt}),Qn=sg({DenseMatrix:Xn,Matrix:Qa,SparseMatrix:X0,typed:jt}),nb=Wg({BigNumber:Xa,config:Hn,matrix:Qn,typed:jt}),Q0=Ug({isInteger:eb,matrix:Qn,typed:jt}),ub=Gg({BigNumber:Xa,DenseMatrix:Xn,config:Hn,equalScalar:Qu,matrix:Qn,typed:jt,zeros:nb}),ib=fg({typed:jt}),ab=Qg({DenseMatrix:Xn,SparseMatrix:X0,addScalar:Kg,concat:Q0,equalScalar:Qu,matrix:Qn,typed:jt}),ob=zg({DenseMatrix:Xn,concat:Q0,equalScalar:Qu,matrix:Qn,subtractScalar:rb,typed:jt,unaryMinus:ib}),Zu={exports:{}},We={};/**
|
|
90
|
+
(`+kt(C,d)+", "+kt(D,d)+") ==> "+(this._values?kt(this._values[A],d):"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(d){if(d){if(wt(d)&&(d=d.toNumber()),!Ke(d)||!gt(d))throw new TypeError("The parameter k must be an integer number")}else d=0;var b=d>0?d:0,g=d<0?-d: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 F=this._ptr[C],x=this._ptr[C+1],T=F;T<x;T++){var _=this._index[T];if(_===C-b+g){y.push(this._values[T]),E[y.length-1]=_-g;break}}return A.push(y.length),new u({values:y,index:E,ptr:A,size:[D,1]})},u.fromJSON=function(d){return new u(d)},u.diagonal=function(d,b,g,w,v){if(!yt(d))throw new TypeError("Array expected, size parameter");if(d.length!==2)throw new Error("Only two dimensions matrix are supported");if(d=d.map(function(ie){if(wt(ie)&&(ie=ie.toNumber()),!Ke(ie)||!gt(ie)||ie<1)throw new Error("Size values must be positive integers");return ie}),g){if(wt(g)&&(g=g.toNumber()),!Ke(g)||!gt(g))throw new TypeError("The parameter k must be an integer number")}else g=0;var D=t,y=0;fr(v)&&(D=r.find(t,[v,v])||t,y=r.convert(0,v));var E=g>0?g:0,A=g<0?-g:0,C=d[0],F=d[1],x=Math.min(C-A,F-E),T;if(yt(b)){if(b.length!==x)throw new Error("Invalid value array length");T=function(L){return b[L]}}else if(Wt(b)){var _=b.size();if(_.length!==1||_[0]!==x)throw new Error("Invalid matrix length");T=function(L){return b.get([L])}}else T=function(){return b};for(var P=[],B=[],N=[],I=0;I<F;I++){N.push(P.length);var J=I-E;if(J>=0&&J<x){var re=T(J);D(re,y)||(B.push(J+A),P.push(re))}}return N.push(P.length),new u({values:P,index:B,ptr:N,size:[C,F]})},u.prototype.swapRows=function(d,b){if(!Ke(d)||!gt(d)||!Ke(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(d,this._size[0]),ot(b,this._size[0]),u._swapRows(d,b,this._size[1],this._values,this._index,this._ptr),this},u._forEachRow=function(d,b,g,w,v){for(var D=w[d],y=w[d+1],E=D;E<y;E++)v(g[E],b[E])},u._swapRows=function(d,b,g,w,v,D){for(var y=0;y<g;y++){var E=D[y],A=D[y+1],C=c(d,E,A,v),F=c(b,E,A,v);if(C<A&&F<A&&v[C]===d&&v[F]===b){if(w){var x=w[C];w[C]=w[F],w[F]=x}continue}if(C<A&&v[C]===d&&(F>=A||v[F]!==b)){var T=w?w[C]:void 0;v.splice(F,0,b),w&&w.splice(F,0,T),v.splice(F<=C?C+1:C,1),w&&w.splice(F<=C?C+1:C,1);continue}if(F<A&&v[F]===b&&(C>=A||v[C]!==d)){var _=w?w[F]:void 0;v.splice(C,0,d),w&&w.splice(C,0,_),v.splice(C<=F?F+1:F,1),w&&w.splice(C<=F?F+1:F,1)}}},u},{isClass:!0}),ng="number",ug=["typed"];function ig(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 ag(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 sg=Pe(ng,ug,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=ig(u);if(i)return ag(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 h=Number(u);if(isNaN(h))throw new SyntaxError('String "'+u+'" is not a valid number');if(s){if(h>2**a-1)throw new SyntaxError('String "'.concat(u,'" is out of range'));h>=2**(a-1)&&(h=h-2**a)}return h},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=>Yn(u,n))});return t.fromJSON=function(n){return parseFloat(n.value)},t}),I0="matrix",og=["typed","Matrix","DenseMatrix","SparseMatrix"],cg=Pe(I0,og,e=>{var{typed:r,Matrix:t,DenseMatrix:n,SparseMatrix:u}=e;return r(I0,{"":function(){return i([])},string:function(s){return i([],s)},"string, string":function(s,h){return i([],s,h)},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,h){if(s==="dense"||s==="default"||s===void 0)return new n(a,h);if(s==="sparse")return new u(a,h);throw new TypeError("Unknown matrix type "+JSON.stringify(s)+".")}}),R0="unaryMinus",lg=["typed"],fg=Pe(R0,lg,e=>{var{typed:r}=e;return r(R0,{number:B0,"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=>Yn(n,t,!0))})}),k0="addScalar",dg=["typed"],hg=Pe(k0,dg,e=>{var{typed:r}=e;return r(k0,{"number, number":M0,"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})})}),L0="subtractScalar",pg=["typed"],mg=Pe(L0,pg,e=>{var{typed:r}=e;return r(L0,{"number, number":P0,"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})})}),gg="matAlgo11xS0s",bg=["typed","equalScalar"],yg=Pe(gg,bg,e=>{var{typed:r,equalScalar:t}=e;return function(u,i,a,s){var h=u._values,c=u._index,l=u._ptr,p=u._size,o=u._datatype;if(!h)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var f=p[0],m=p[1],d,b=t,g=0,w=a;typeof o=="string"&&(d=o,b=r.find(t,[d,d]),g=r.convert(0,d),i=r.convert(i,d),w=r.find(a,[d,d]));for(var v=[],D=[],y=[],E=0;E<m;E++){y[E]=D.length;for(var A=l[E],C=l[E+1],F=A;F<C;F++){var x=c[F],T=s?w(i,h[F]):w(h[F],i);b(T,g)||(D.push(x),v.push(T))}}return y[m]=D.length,u.createSparseMatrix({values:v,index:D,ptr:y,size:[f,m],datatype:d})}}),vg="matAlgo12xSfs",wg=["typed","DenseMatrix"],q0=Pe(vg,wg,e=>{var{typed:r,DenseMatrix:t}=e;return function(u,i,a,s){var h=u._values,c=u._index,l=u._ptr,p=u._size,o=u._datatype;if(!h)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var f=p[0],m=p[1],d,b=a;typeof o=="string"&&(d=o,i=r.convert(i,d),b=r.find(a,[d,d]));for(var g=[],w=[],v=[],D=0;D<m;D++){for(var y=D+1,E=l[D],A=l[D+1],C=E;C<A;C++){var F=c[C];w[F]=h[C],v[F]=y}for(var x=0;x<f;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 t({data:g,size:[f,m],datatype:d})}}),Dg="matAlgo14xDs",Eg=["typed"],$0=Pe(Dg,Eg,e=>{var{typed:r}=e;return function(u,i,a,s){var h=u._data,c=u._size,l=u._datatype,p,o=a;typeof l=="string"&&(p=l,i=r.convert(i,p),o=r.find(a,[p,p]));var f=c.length>0?t(o,0,c,c[0],h,i,s):[];return u.createDenseMatrix({data:f,size:Dt(c),datatype:p})};function t(n,u,i,a,s,h,c){var l=[];if(u===i.length-1)for(var p=0;p<a;p++)l[p]=c?n(h,s[p]):n(s[p],h);else for(var o=0;o<a;o++)l[o]=t(n,u+1,i,i[u+1],s[o],h,c);return l}}),xg="matAlgo03xDSf",Ag=["typed"],Cg=Pe(xg,Ag,e=>{var{typed:r}=e;return function(n,u,i,a){var s=n._data,h=n._size,c=n._datatype||n.getDataType(),l=u._values,p=u._index,o=u._ptr,f=u._size,m=u._datatype||u._data===void 0?u._datatype:u.getDataType();if(h.length!==f.length)throw new Le(h.length,f.length);if(h[0]!==f[0]||h[1]!==f[1])throw new RangeError("Dimension mismatch. Matrix A ("+h+") must match Matrix B ("+f+")");if(!l)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var d=h[0],b=h[1],g,w=0,v=i;typeof c=="string"&&c===m&&c!=="mixed"&&(g=c,w=r.convert(0,g),v=r.find(i,[g,g]));for(var D=[],y=0;y<d;y++)D[y]=[];for(var E=[],A=[],C=0;C<b;C++){for(var F=C+1,x=o[C],T=o[C+1],_=x;_<T;_++){var P=p[_];E[P]=a?v(l[_],s[P][C]):v(s[P][C],l[_]),A[P]=F}for(var B=0;B<d;B++)A[B]===F?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:[d,b],datatype:c===n._datatype&&m===u._datatype?g:void 0})}}),Tg="matAlgo05xSfSf",Sg=["typed","equalScalar"],Fg=Pe(Tg,Sg,e=>{var{typed:r,equalScalar:t}=e;return function(u,i,a){var s=u._values,h=u._index,c=u._ptr,l=u._size,p=u._datatype||u._data===void 0?u._datatype:u.getDataType(),o=i._values,f=i._index,m=i._ptr,d=i._size,b=i._datatype||i._data===void 0?i._datatype:i.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+")");var g=l[0],w=l[1],v,D=t,y=0,E=a;typeof p=="string"&&p===b&&p!=="mixed"&&(v=p,D=r.find(t,[v,v]),y=r.convert(0,v),E=r.find(a,[v,v]));var A=s&&o?[]:void 0,C=[],F=[],x=A?[]:void 0,T=A?[]:void 0,_=[],P=[],B,N,I,J;for(N=0;N<w;N++){F[N]=C.length;var re=N+1;for(I=c[N],J=c[N+1];I<J;I++)B=h[I],C.push(B),_[B]=re,x&&(x[B]=s[I]);for(I=m[N],J=m[N+1];I<J;I++)B=f[I],_[B]!==re&&C.push(B),P[B]=re,T&&(T[B]=o[I]);if(A)for(I=F[N];I<C.length;){B=C[I];var ie=_[B],L=P[B];if(ie===re||L===re){var Z=ie===re?x[B]:y,ce=L===re?T[B]:y,Y=E(Z,ce);D(Y,y)?C.splice(I,1):(A.push(Y),I++)}}}return F[w]=C.length,u.createSparseMatrix({values:A,index:C,ptr:F,size:[g,w],datatype:p===u._datatype&&b===i._datatype?v:void 0})}}),_g="matAlgo13xDD",Og=["typed"],Ng=Pe(_g,Og,e=>{var{typed:r}=e;return function(u,i,a){var s=u._data,h=u._size,c=u._datatype,l=i._data,p=i._size,o=i._datatype,f=[];if(h.length!==p.length)throw new Le(h.length,p.length);for(var m=0;m<h.length;m++){if(h[m]!==p[m])throw new RangeError("Dimension mismatch. Matrix A ("+h+") must match Matrix B ("+p+")");f[m]=h[m]}var d,b=a;typeof c=="string"&&c===o&&(d=c,b=r.find(a,[d,d]));var g=f.length>0?t(b,0,f,f[0],s,l):[];return u.createDenseMatrix({data:g,size:f,datatype:d})};function t(n,u,i,a,s,h){var c=[];if(u===i.length-1)for(var l=0;l<a;l++)c[l]=n(s[l],h[l]);else for(var p=0;p<a;p++)c[p]=t(n,u+1,i,i[u+1],s[p],h[p]);return c}});function xt(e,r){if(Br(e.size(),r.size()))return[e,r];var t=C0(e.size(),r.size());return[e,r].map(n=>Mg(n,t))}function Mg(e,r){return Br(e.size(),r)?e:e.create(Ga(e.valueOf(),r),e.datatype())}var Pg="matrixAlgorithmSuite",Bg=["typed","matrix"],j0=Pe(Pg,Bg,e=>{var{typed:r,matrix:t}=e,n=Ng({typed:r}),u=$0({typed:r});return function(a){var s=a.elop,h=a.SD||a.DS,c;s?(c={"DenseMatrix, DenseMatrix":(f,m)=>n(...xt(f,m),s),"Array, Array":(f,m)=>n(...xt(t(f),t(m)),s).valueOf(),"Array, DenseMatrix":(f,m)=>n(...xt(t(f),m),s),"DenseMatrix, Array":(f,m)=>n(...xt(f,t(m)),s)},a.SS&&(c["SparseMatrix, SparseMatrix"]=(f,m)=>a.SS(...xt(f,m),s,!1)),a.DS&&(c["DenseMatrix, SparseMatrix"]=(f,m)=>a.DS(...xt(f,m),s,!1),c["Array, SparseMatrix"]=(f,m)=>a.DS(...xt(t(f),m),s,!1)),h&&(c["SparseMatrix, DenseMatrix"]=(f,m)=>h(...xt(m,f),s,!0),c["SparseMatrix, Array"]=(f,m)=>h(...xt(t(m),f),s,!0))):(c={"DenseMatrix, DenseMatrix":r.referToSelf(f=>(m,d)=>n(...xt(m,d),f)),"Array, Array":r.referToSelf(f=>(m,d)=>n(...xt(t(m),t(d)),f).valueOf()),"Array, DenseMatrix":r.referToSelf(f=>(m,d)=>n(...xt(t(m),d),f)),"DenseMatrix, Array":r.referToSelf(f=>(m,d)=>n(...xt(m,t(d)),f))},a.SS&&(c["SparseMatrix, SparseMatrix"]=r.referToSelf(f=>(m,d)=>a.SS(...xt(m,d),f,!1))),a.DS&&(c["DenseMatrix, SparseMatrix"]=r.referToSelf(f=>(m,d)=>a.DS(...xt(m,d),f,!1)),c["Array, SparseMatrix"]=r.referToSelf(f=>(m,d)=>a.DS(...xt(t(m),d),f,!1))),h&&(c["SparseMatrix, DenseMatrix"]=r.referToSelf(f=>(m,d)=>h(...xt(d,m),f,!0)),c["SparseMatrix, Array"]=r.referToSelf(f=>(m,d)=>h(...xt(t(d),m),f,!0))));var l=a.scalar||"any",p=a.Ds||a.Ss;p&&(s?(c["DenseMatrix,"+l]=(f,m)=>u(f,m,s,!1),c[l+", DenseMatrix"]=(f,m)=>u(m,f,s,!0),c["Array,"+l]=(f,m)=>u(t(f),m,s,!1).valueOf(),c[l+", Array"]=(f,m)=>u(t(m),f,s,!0).valueOf()):(c["DenseMatrix,"+l]=r.referToSelf(f=>(m,d)=>u(m,d,f,!1)),c[l+", DenseMatrix"]=r.referToSelf(f=>(m,d)=>u(d,m,f,!0)),c["Array,"+l]=r.referToSelf(f=>(m,d)=>u(t(m),d,f,!1).valueOf()),c[l+", Array"]=r.referToSelf(f=>(m,d)=>u(t(d),m,f,!0).valueOf())));var o=a.sS!==void 0?a.sS:a.Ss;return s?(a.Ss&&(c["SparseMatrix,"+l]=(f,m)=>a.Ss(f,m,s,!1)),o&&(c[l+", SparseMatrix"]=(f,m)=>o(m,f,s,!0))):(a.Ss&&(c["SparseMatrix,"+l]=r.referToSelf(f=>(m,d)=>a.Ss(m,d,f,!1))),o&&(c[l+", SparseMatrix"]=r.referToSelf(f=>(m,d)=>o(d,m,f,!0)))),s&&s.signatures&&op(c,s.signatures),c}}),Ig="matAlgo01xDSid",Rg=["typed"],z0=Pe(Ig,Rg,e=>{var{typed:r}=e;return function(n,u,i,a){var s=n._data,h=n._size,c=n._datatype||n.getDataType(),l=u._values,p=u._index,o=u._ptr,f=u._size,m=u._datatype||u._data===void 0?u._datatype:u.getDataType();if(h.length!==f.length)throw new Le(h.length,f.length);if(h[0]!==f[0]||h[1]!==f[1])throw new RangeError("Dimension mismatch. Matrix A ("+h+") must match Matrix B ("+f+")");if(!l)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var d=h[0],b=h[1],g=typeof c=="string"&&c!=="mixed"&&c===m?c:void 0,w=g?r.find(i,[g,g]):i,v,D,y=[];for(v=0;v<d;v++)y[v]=[];var E=[],A=[];for(D=0;D<b;D++){for(var C=D+1,F=o[D],x=o[D+1],T=F;T<x;T++)v=p[T],E[v]=a?w(l[T],s[v][D]):w(s[v][D],l[T]),A[v]=C;for(v=0;v<d;v++)A[v]===C?y[v][D]=E[v]:y[v][D]=s[v][D]}return n.createDenseMatrix({data:y,size:[d,b],datatype:c===n._datatype&&m===u._datatype?g:void 0})}}),kg="matAlgo04xSidSid",Lg=["typed","equalScalar"],qg=Pe(kg,Lg,e=>{var{typed:r,equalScalar:t}=e;return function(u,i,a){var s=u._values,h=u._index,c=u._ptr,l=u._size,p=u._datatype||u._data===void 0?u._datatype:u.getDataType(),o=i._values,f=i._index,m=i._ptr,d=i._size,b=i._datatype||i._data===void 0?i._datatype:i.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+")");var g=l[0],w=l[1],v,D=t,y=0,E=a;typeof p=="string"&&p===b&&p!=="mixed"&&(v=p,D=r.find(t,[v,v]),y=r.convert(0,v),E=r.find(a,[v,v]));var A=s&&o?[]:void 0,C=[],F=[],x=s&&o?[]:void 0,T=s&&o?[]:void 0,_=[],P=[],B,N,I,J,re;for(N=0;N<w;N++){F[N]=C.length;var ie=N+1;for(J=c[N],re=c[N+1],I=J;I<re;I++)B=h[I],C.push(B),_[B]=ie,x&&(x[B]=s[I]);for(J=m[N],re=m[N+1],I=J;I<re;I++)if(B=f[I],_[B]===ie){if(x){var L=E(x[B],o[I]);D(L,y)?_[B]=null:x[B]=L}}else C.push(B),P[B]=ie,T&&(T[B]=o[I]);if(x&&T)for(I=F[N];I<C.length;)B=C[I],_[B]===ie?(A[I]=x[B],I++):P[B]===ie?(A[I]=T[B],I++):C.splice(I,1)}return F[w]=C.length,u.createSparseMatrix({values:A,index:C,ptr:F,size:[g,w],datatype:p===u._datatype&&b===i._datatype?v:void 0})}}),$g="matAlgo10xSids",jg=["typed","DenseMatrix"],H0=Pe($g,jg,e=>{var{typed:r,DenseMatrix:t}=e;return function(u,i,a,s){var h=u._values,c=u._index,l=u._ptr,p=u._size,o=u._datatype;if(!h)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var f=p[0],m=p[1],d,b=a;typeof o=="string"&&(d=o,i=r.convert(i,d),b=r.find(a,[d,d]));for(var g=[],w=[],v=[],D=0;D<m;D++){for(var y=D+1,E=l[D],A=l[D+1],C=E;C<A;C++){var F=c[C];w[F]=h[C],v[F]=y}for(var x=0;x<f;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 t({data:g,size:[f,m],datatype:d})}}),U0="subtract",zg=["typed","matrix","equalScalar","subtractScalar","unaryMinus","DenseMatrix","concat"],Hg=Pe(U0,zg,e=>{var{typed:r,matrix:t,equalScalar:n,subtractScalar:u,unaryMinus:i,DenseMatrix:a,concat:s}=e,h=z0({typed:r}),c=Cg({typed:r}),l=Fg({typed:r,equalScalar:n}),p=H0({typed:r,DenseMatrix:a}),o=q0({typed:r,DenseMatrix:a}),f=j0({typed:r,matrix:t,concat:s});return r(U0,{"any, any":u},f({elop:u,SS:l,DS:h,SD:c,Ss:o,sS:p}))}),V0="concat",Ug=["typed","matrix","isInteger"],Vg=Pe(V0,Ug,e=>{var{typed:r,matrix:t,isInteger:n}=e;return r(V0,{"...Array | Matrix | number | BigNumber":function(i){var a,s=i.length,h=-1,c,l=!1,p=[];for(a=0;a<s;a++){var o=i[a];if(Wt(o)&&(l=!0),Ke(o)||wt(o)){if(a!==s-1)throw new Error("Dimension must be specified as last argument");if(c=h,h=o.valueOf(),!n(h))throw new TypeError("Integer number expected for dimension");if(h<0||a>0&&h>c)throw new rn(h,c+1)}else{var f=Dt(o).valueOf(),m=ar(f);if(p[a]=f,c=h,h=m.length-1,a>0&&h!==c)throw new Le(c+1,h+1)}}if(p.length===0)throw new SyntaxError("At least one matrix expected");for(var d=p.shift();p.length;)d=A0(d,p.shift(),h);return l?t(d):d},"...string":function(i){return i.join("")}})}),W0="zeros",Wg=["typed","config","matrix","BigNumber"],Yg=Pe(W0,Wg,e=>{var{typed:r,config:t,matrix:n,BigNumber:u}=e;return r(W0,{"":function(){return t.matrix==="Array"?i([]):i([],"default")},"...number | BigNumber | string":function(c){var l=c[c.length-1];if(typeof l=="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 l=c.storage();return i(c.valueOf(),l)},"Array | Matrix, string":function(c,l){return i(c.valueOf(),l)}});function i(h,c){var l=a(h),p=l?new u(0):0;if(s(h),c){var o=n(c);return h.length>0?o.resize(h,p):o}else{var f=[];return h.length>0?Ua(f,h,p):f}}function a(h){var c=!1;return h.forEach(function(l,p,o){wt(l)&&(c=!0,o[p]=l.toNumber())}),c}function s(h){h.forEach(function(c){if(typeof c!="number"||!gt(c)||c<0)throw new Error("Parameters in function zeros must be positive integers")})}}),vn="Number of decimals in function round must be an integer",Y0="round",Gg=["typed","config","matrix","equalScalar","zeros","BigNumber","DenseMatrix"],Xg=Pe(Y0,Gg,e=>{var{typed:r,config:t,matrix:n,equalScalar:u,zeros:i,BigNumber:a,DenseMatrix:s}=e,h=yg({typed:r,equalScalar:u}),c=q0({typed:r,DenseMatrix:s}),l=$0({typed:r});function p(o){return Math.abs(Un(o).exponent)}return r(Y0,{number:function(f){var m=Gn(f,p(t.relTol)),d=hn(f,m,t.relTol,t.absTol)?m:f;return Gn(d)},"number, number":function(f,m){var d=p(t.relTol);if(m>=d)return Gn(f,m);var b=Gn(f,d),g=hn(f,b,t.relTol,t.absTol)?b:f;return Gn(g,m)},"number, BigNumber":function(f,m){if(!m.isInteger())throw new TypeError(vn);return new a(f).toDecimalPlaces(m.toNumber())},Complex:function(f){return f.round()},"Complex, number":function(f,m){if(m%1)throw new TypeError(vn);return f.round(m)},"Complex, BigNumber":function(f,m){if(!m.isInteger())throw new TypeError(vn);var d=m.toNumber();return f.round(d)},BigNumber:function(f){var m=new a(f).toDecimalPlaces(p(t.relTol)),d=Xa(f,m,t.relTol,t.absTol)?m:f;return d.toDecimalPlaces(0)},"BigNumber, BigNumber":function(f,m){if(!m.isInteger())throw new TypeError(vn);var d=p(t.relTol);if(m>=d)return f.toDecimalPlaces(m.toNumber());var b=f.toDecimalPlaces(d),g=Xa(f,b,t.relTol,t.absTol)?b:f;return g.toDecimalPlaces(m.toNumber())},bigint:o=>o,"bigint, number":(o,f)=>o,"bigint, BigNumber":(o,f)=>o,Fraction:function(f){return f.round()},"Fraction, number":function(f,m){if(m%1)throw new TypeError(vn);return f.round(m)},"Fraction, BigNumber":function(f,m){if(!m.isInteger())throw new TypeError(vn);return f.round(m.toNumber())},"Unit, number, Unit":r.referToSelf(o=>function(f,m,d){var b=f.toNumeric(d);return d.multiply(o(b,m))}),"Unit, BigNumber, Unit":r.referToSelf(o=>(f,m,d)=>o(f,m.toNumber(),d)),"Array | Matrix, number | BigNumber, Unit":r.referToSelf(o=>(f,m,d)=>Yn(f,b=>o(b,m,d),!0)),"Array | Matrix | Unit, Unit":r.referToSelf(o=>(f,m)=>o(f,0,m)),"Array | Matrix":r.referToSelf(o=>f=>Yn(f,o,!0)),"SparseMatrix, number | BigNumber":r.referToSelf(o=>(f,m)=>h(f,m,o,!1)),"DenseMatrix, number | BigNumber":r.referToSelf(o=>(f,m)=>l(f,m,o,!1)),"Array, number | BigNumber":r.referToSelf(o=>(f,m)=>l(n(f),m,o,!1).valueOf()),"number | Complex | BigNumber | Fraction, SparseMatrix":r.referToSelf(o=>(f,m)=>u(f,0)?i(m.size(),m.storage()):c(m,f,o,!0)),"number | Complex | BigNumber | Fraction, DenseMatrix":r.referToSelf(o=>(f,m)=>u(f,0)?i(m.size(),m.storage()):l(m,f,o,!0)),"number | Complex | BigNumber | Fraction, Array":r.referToSelf(o=>(f,m)=>l(n(m),f,o,!0).valueOf())})}),G0="add",Qg=["typed","matrix","addScalar","equalScalar","DenseMatrix","SparseMatrix","concat"],Zg=Pe(G0,Qg,e=>{var{typed:r,matrix:t,addScalar:n,equalScalar:u,DenseMatrix:i,SparseMatrix:a,concat:s}=e,h=z0({typed:r}),c=qg({typed:r,equalScalar:u}),l=H0({typed:r,DenseMatrix:i}),p=j0({typed:r,matrix:t,concat:s});return r(G0,{"any, any":n,"any, any, ...any":r.referToSelf(o=>(f,m,d)=>{for(var b=o(f,m),g=0;g<d.length;g++)b=o(b,d[g]);return b})},p({elop:n,DS:h,SS:c,Ss:l}))}),Qa=gm({config:Hn}),Jg=Dm({}),Kg=Fm({}),Za=Nm({}),Xn=Wm({Matrix:Za}),jt=vp({BigNumber:Qa,Complex:Jg,DenseMatrix:Xn,Fraction:Kg}),eb=hg({typed:jt}),Qu=Km({config:Hn,typed:jt}),tb=Gm({typed:jt}),rb=sg({typed:jt}),X0=rg({Matrix:Za,equalScalar:Qu,typed:jt}),nb=mg({typed:jt}),Qn=cg({DenseMatrix:Xn,Matrix:Za,SparseMatrix:X0,typed:jt}),ub=Yg({BigNumber:Qa,config:Hn,matrix:Qn,typed:jt}),Q0=Vg({isInteger:tb,matrix:Qn,typed:jt}),ib=Xg({BigNumber:Qa,DenseMatrix:Xn,config:Hn,equalScalar:Qu,matrix:Qn,typed:jt,zeros:ub}),ab=fg({typed:jt}),sb=Zg({DenseMatrix:Xn,SparseMatrix:X0,addScalar:eb,concat:Q0,equalScalar:Qu,matrix:Qn,typed:jt}),ob=Hg({DenseMatrix:Xn,concat:Q0,equalScalar:Qu,matrix:Qn,subtractScalar:nb,typed:jt,unaryMinus:ab}),Zu={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 Z0;function
|
|
98
|
+
*/var Z0;function cb(){if(Z0)return We;Z0=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),t=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"),h=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),l=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),o=Symbol.for("react.offscreen"),f=Symbol.for("react.client.reference");function m(d){if(typeof d=="object"&&d!==null){var b=d.$$typeof;switch(b){case e:switch(d=d.type,d){case t:case u:case n:case h:case c:return d;default:switch(d=d&&d.$$typeof,d){case a:case s:case p:case l:return d;case i:return d;default:return b}}case r:return b}}}return We.ContextConsumer=i,We.ContextProvider=a,We.Element=e,We.ForwardRef=s,We.Fragment=t,We.Lazy=p,We.Memo=l,We.Portal=r,We.Profiler=u,We.StrictMode=n,We.Suspense=h,We.SuspenseList=c,We.isContextConsumer=function(d){return m(d)===i},We.isContextProvider=function(d){return m(d)===a},We.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===e},We.isForwardRef=function(d){return m(d)===s},We.isFragment=function(d){return m(d)===t},We.isLazy=function(d){return m(d)===p},We.isMemo=function(d){return m(d)===l},We.isPortal=function(d){return m(d)===r},We.isProfiler=function(d){return m(d)===u},We.isStrictMode=function(d){return m(d)===n},We.isSuspense=function(d){return m(d)===h},We.isSuspenseList=function(d){return m(d)===c},We.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===t||d===u||d===n||d===h||d===c||d===o||typeof d=="object"&&d!==null&&(d.$$typeof===p||d.$$typeof===l||d.$$typeof===a||d.$$typeof===i||d.$$typeof===s||d.$$typeof===f||d.getModuleId!==void 0)},We.typeOf=m,We}var Ye={};/**
|
|
99
99
|
* @license React
|
|
100
100
|
* react-is.development.js
|
|
101
101
|
*
|
|
@@ -103,42 +103,42 @@ 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 J0;function
|
|
106
|
+
*/var J0;function lb(){return J0||(J0=1,process.env.NODE_ENV!=="production"&&function(){function e(d){if(typeof d=="object"&&d!==null){var b=d.$$typeof;switch(b){case r:switch(d=d.type,d){case n:case i:case u:case c:case l:return d;default:switch(d=d&&d.$$typeof,d){case s:case h:case o:case p:return d;case a:return d;default:return b}}case t:return b}}}var r=Symbol.for("react.transitional.element"),t=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"),h=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),o=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=Symbol.for("react.client.reference");Ye.ContextConsumer=a,Ye.ContextProvider=s,Ye.Element=r,Ye.ForwardRef=h,Ye.Fragment=n,Ye.Lazy=o,Ye.Memo=p,Ye.Portal=t,Ye.Profiler=i,Ye.StrictMode=u,Ye.Suspense=c,Ye.SuspenseList=l,Ye.isContextConsumer=function(d){return e(d)===a},Ye.isContextProvider=function(d){return e(d)===s},Ye.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===r},Ye.isForwardRef=function(d){return e(d)===h},Ye.isFragment=function(d){return e(d)===n},Ye.isLazy=function(d){return e(d)===o},Ye.isMemo=function(d){return e(d)===p},Ye.isPortal=function(d){return e(d)===t},Ye.isProfiler=function(d){return e(d)===i},Ye.isStrictMode=function(d){return e(d)===u},Ye.isSuspense=function(d){return e(d)===c},Ye.isSuspenseList=function(d){return e(d)===l},Ye.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===n||d===i||d===u||d===c||d===l||d===f||typeof d=="object"&&d!==null&&(d.$$typeof===o||d.$$typeof===p||d.$$typeof===s||d.$$typeof===a||d.$$typeof===h||d.$$typeof===m||d.getModuleId!==void 0)},Ye.typeOf=e}()),Ye}var K0;function fb(){return K0||(K0=1,process.env.NODE_ENV==="production"?Zu.exports=cb():Zu.exports=lb()),Zu.exports}var Ju=fb();function Sr(e){if(typeof e!="object"||e===null)return!1;const r=Object.getPrototypeOf(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function el(e){if(At.isValidElement(e)||Ju.isValidElementType(e)||!Sr(e))return e;const r={};return Object.keys(e).forEach(t=>{r[t]=el(e[t])}),r}function zt(e,r,t={clone:!0}){const n=t.clone?{...e}:e;return Sr(e)&&Sr(r)&&Object.keys(r).forEach(u=>{At.isValidElement(r[u])||Ju.isValidElementType(r[u])?n[u]=r[u]:Sr(r[u])&&Object.prototype.hasOwnProperty.call(e,u)&&Sr(e[u])?n[u]=zt(e[u],r[u],t):t.clone?n[u]=Sr(r[u])?el(r[u]):r[u]:n[u]=r[u]}),n}var Ku={exports:{}},ei={exports:{}},qe={};/** @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 tl;function db(){if(tl)return qe;tl=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=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,h=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,o=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,d=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 r:switch(y=y.type,y){case h:case c:case n:case i:case u:case p:return y;default:switch(y=y&&y.$$typeof,y){case s:case l:case m:case f:case a:return y;default:return E}}case t:return E}}}function D(y){return v(y)===c}return qe.AsyncMode=h,qe.ConcurrentMode=c,qe.ContextConsumer=s,qe.ContextProvider=a,qe.Element=r,qe.ForwardRef=l,qe.Fragment=n,qe.Lazy=m,qe.Memo=f,qe.Portal=t,qe.Profiler=i,qe.StrictMode=u,qe.Suspense=p,qe.isAsyncMode=function(y){return D(y)||v(y)===h},qe.isConcurrentMode=D,qe.isContextConsumer=function(y){return v(y)===s},qe.isContextProvider=function(y){return v(y)===a},qe.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===r},qe.isForwardRef=function(y){return v(y)===l},qe.isFragment=function(y){return v(y)===n},qe.isLazy=function(y){return v(y)===m},qe.isMemo=function(y){return v(y)===f},qe.isPortal=function(y){return v(y)===t},qe.isProfiler=function(y){return v(y)===i},qe.isStrictMode=function(y){return v(y)===u},qe.isSuspense=function(y){return v(y)===p},qe.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===f||y.$$typeof===a||y.$$typeof===s||y.$$typeof===l||y.$$typeof===b||y.$$typeof===g||y.$$typeof===w||y.$$typeof===d)},qe.typeOf=v,qe}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 rl;function hb(){return rl||(rl=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=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,h=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,o=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,d=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===f||k.$$typeof===a||k.$$typeof===s||k.$$typeof===l||k.$$typeof===b||k.$$typeof===g||k.$$typeof===w||k.$$typeof===d)}function D(k){if(typeof k=="object"&&k!==null){var W=k.$$typeof;switch(W){case r:var me=k.type;switch(me){case h:case c:case n:case i:case u:case p:return me;default:var et=me&&me.$$typeof;switch(et){case s:case l:case m:case f:case a:return et;default:return W}}case t:return W}}}var y=h,E=c,A=s,C=a,F=r,x=l,T=n,_=m,P=f,B=t,N=i,I=u,J=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.")),L(k)||D(k)===h}function L(k){return D(k)===c}function Z(k){return D(k)===s}function ce(k){return D(k)===a}function Y(k){return typeof k=="object"&&k!==null&&k.$$typeof===r}function se(k){return D(k)===l}function de(k){return D(k)===n}function he(k){return D(k)===m}function oe(k){return D(k)===f}function be(k){return D(k)===t}function ye(k){return D(k)===i}function ve(k){return D(k)===u}function q(k){return D(k)===p}$e.AsyncMode=y,$e.ConcurrentMode=E,$e.ContextConsumer=A,$e.ContextProvider=C,$e.Element=F,$e.ForwardRef=x,$e.Fragment=T,$e.Lazy=_,$e.Memo=P,$e.Portal=B,$e.Profiler=N,$e.StrictMode=I,$e.Suspense=J,$e.isAsyncMode=ie,$e.isConcurrentMode=L,$e.isContextConsumer=Z,$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=q,$e.isValidElementType=v,$e.typeOf=D}()),$e}var nl;function ul(){return nl||(nl=1,process.env.NODE_ENV==="production"?ei.exports=db():ei.exports=hb()),ei.exports}/*
|
|
121
121
|
object-assign
|
|
122
122
|
(c) Sindre Sorhus
|
|
123
123
|
@license MIT
|
|
124
|
-
*/var
|
|
125
|
-
Valid keys: `+JSON.stringify(Object.keys(L),null," "));var k=q(
|
|
126
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:$r(18,`(${r})`));return null}const[,n,u]=t,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(u).up(i)}function
|
|
124
|
+
*/var Ja,il;function pb(){if(il)return Ja;il=1;var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,t=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 h=Object.getOwnPropertyNames(a).map(function(l){return a[l]});if(h.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(l){c[l]=l}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Ja=u()?Object.assign:function(i,a){for(var s,h=n(i),c,l=1;l<arguments.length;l++){s=Object(arguments[l]);for(var p in s)r.call(s,p)&&(h[p]=s[p]);if(e){c=e(s);for(var o=0;o<c.length;o++)t.call(s,c[o])&&(h[c[o]]=s[c[o]])}}return h},Ja}var Ka,al;function es(){if(al)return Ka;al=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ka=e,Ka}var ts,sl;function ol(){return sl||(sl=1,ts=Function.call.bind(Object.prototype.hasOwnProperty)),ts}var rs,cl;function mb(){if(cl)return rs;cl=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=es(),t={},n=ol();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function u(i,a,s,h,c){if(process.env.NODE_ENV!=="production"){for(var l in i)if(n(i,l)){var p;try{if(typeof i[l]!="function"){var o=Error((h||"React class")+": "+s+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw o.name="Invariant Violation",o}p=i[l](a,l,h,s,null,r)}catch(m){p=m}if(p&&!(p instanceof Error)&&e((h||"React class")+": type specification of "+s+" `"+l+"` 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 t)){t[p.message]=!0;var f=c?c():"";e("Failed "+s+" type: "+p.message+(f??""))}}}}return u.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},rs=u,rs}var ns,ll;function gb(){if(ll)return ns;ll=1;var e=ul(),r=pb(),t=es(),n=ol(),u=mb(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var h="Warning: "+s;typeof console<"u"&&console.error(h);try{throw new Error(h)}catch{}});function a(){return null}return ns=function(s,h){var c=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function p(L){var Z=L&&(c&&L[c]||L[l]);if(typeof Z=="function")return Z}var o="<<anonymous>>",f={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:F,shape:_,exact:P};function m(L,Z){return L===Z?L!==0||1/L===1/Z:L!==L&&Z!==Z}function d(L,Z){this.message=L,this.data=Z&&typeof Z=="object"?Z:{},this.stack=""}d.prototype=Error.prototype;function b(L){if(process.env.NODE_ENV!=="production")var Z={},ce=0;function Y(de,he,oe,be,ye,ve,q){if(be=be||o,ve=ve||oe,q!==t){if(h){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;!Z[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."),Z[W]=!0,ce++)}}return he[oe]==null?de?he[oe]===null?new d("The "+ye+" `"+ve+"` is marked as required "+("in `"+be+"`, but its value is `null`.")):new d("The "+ye+" `"+ve+"` is marked as required in "+("`"+be+"`, but its value is `undefined`.")):null:L(he,oe,be,ye,ve)}var se=Y.bind(null,!1);return se.isRequired=Y.bind(null,!0),se}function g(L){function Z(ce,Y,se,de,he,oe){var be=ce[Y],ye=I(be);if(ye!==L){var ve=J(be);return new d("Invalid "+de+" `"+he+"` of type "+("`"+ve+"` supplied to `"+se+"`, expected ")+("`"+L+"`."),{expectedType:L})}return null}return b(Z)}function w(){return b(a)}function v(L){function Z(ce,Y,se,de,he){if(typeof L!="function")return new d("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 d("Invalid "+de+" `"+he+"` of type "+("`"+be+"` supplied to `"+se+"`, expected an array."))}for(var ye=0;ye<oe.length;ye++){var ve=L(oe,ye,se,de,he+"["+ye+"]",t);if(ve instanceof Error)return ve}return null}return b(Z)}function D(){function L(Z,ce,Y,se,de){var he=Z[ce];if(!s(he)){var oe=I(he);return new d("Invalid "+se+" `"+de+"` of type "+("`"+oe+"` supplied to `"+Y+"`, expected a single ReactElement."))}return null}return b(L)}function y(){function L(Z,ce,Y,se,de){var he=Z[ce];if(!e.isValidElementType(he)){var oe=I(he);return new d("Invalid "+se+" `"+de+"` of type "+("`"+oe+"` supplied to `"+Y+"`, expected a single ReactElement type."))}return null}return b(L)}function E(L){function Z(ce,Y,se,de,he){if(!(ce[Y]instanceof L)){var oe=L.name||o,be=ie(ce[Y]);return new d("Invalid "+de+" `"+he+"` of type "+("`"+be+"` supplied to `"+se+"`, expected ")+("instance of `"+oe+"`."))}return null}return b(Z)}function A(L){if(!Array.isArray(L))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 Z(ce,Y,se,de,he){for(var oe=ce[Y],be=0;be<L.length;be++)if(m(oe,L[be]))return null;var ye=JSON.stringify(L,function(q,k){var W=J(k);return W==="symbol"?String(k):k});return new d("Invalid "+de+" `"+he+"` of value `"+String(oe)+"` "+("supplied to `"+se+"`, expected one of "+ye+"."))}return b(Z)}function C(L){function Z(ce,Y,se,de,he){if(typeof L!="function")return new d("Property `"+he+"` of component `"+se+"` has invalid PropType notation inside objectOf.");var oe=ce[Y],be=I(oe);if(be!=="object")return new d("Invalid "+de+" `"+he+"` of type "+("`"+be+"` supplied to `"+se+"`, expected an object."));for(var ye in oe)if(n(oe,ye)){var ve=L(oe,ye,se,de,he+"."+ye,t);if(ve instanceof Error)return ve}return null}return b(Z)}function F(L){if(!Array.isArray(L))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var Z=0;Z<L.length;Z++){var ce=L[Z];if(typeof ce!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+re(ce)+" at index "+Z+"."),a}function Y(se,de,he,oe,be){for(var ye=[],ve=0;ve<L.length;ve++){var q=L[ve],k=q(se,de,he,oe,be,t);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 d("Invalid "+oe+" `"+be+"` supplied to "+("`"+he+"`"+W+"."))}return b(Y)}function x(){function L(Z,ce,Y,se,de){return B(Z[ce])?null:new d("Invalid "+se+" `"+de+"` supplied to "+("`"+Y+"`, expected a ReactNode."))}return b(L)}function T(L,Z,ce,Y,se){return new d((L||"React class")+": "+Z+" type `"+ce+"."+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+se+"`.")}function _(L){function Z(ce,Y,se,de,he){var oe=ce[Y],be=I(oe);if(be!=="object")return new d("Invalid "+de+" `"+he+"` of type `"+be+"` "+("supplied to `"+se+"`, expected `object`."));for(var ye in L){var ve=L[ye];if(typeof ve!="function")return T(se,de,he,ye,J(ve));var q=ve(oe,ye,se,de,he+"."+ye,t);if(q)return q}return null}return b(Z)}function P(L){function Z(ce,Y,se,de,he){var oe=ce[Y],be=I(oe);if(be!=="object")return new d("Invalid "+de+" `"+he+"` of type `"+be+"` "+("supplied to `"+se+"`, expected `object`."));var ye=r({},ce[Y],L);for(var ve in ye){var q=L[ve];if(n(L,ve)&&typeof q!="function")return T(se,de,he,ve,J(q));if(!q)return new d("Invalid "+de+" `"+he+"` key `"+ve+"` supplied to `"+se+"`.\nBad object: "+JSON.stringify(ce[Y],null," ")+`
|
|
125
|
+
Valid keys: `+JSON.stringify(Object.keys(L),null," "));var k=q(oe,ve,se,de,he+"."+ve,t);if(k)return k}return null}return b(Z)}function B(L){switch(typeof L){case"number":case"string":case"undefined":return!0;case"boolean":return!L;case"object":if(Array.isArray(L))return L.every(B);if(L===null||s(L))return!0;var Z=p(L);if(Z){var ce=Z.call(L),Y;if(Z!==L.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(L,Z){return L==="symbol"?!0:Z?Z["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&Z instanceof Symbol:!1}function I(L){var Z=typeof L;return Array.isArray(L)?"array":L instanceof RegExp?"object":N(Z,L)?"symbol":Z}function J(L){if(typeof L>"u"||L===null)return""+L;var Z=I(L);if(Z==="object"){if(L instanceof Date)return"date";if(L instanceof RegExp)return"regexp"}return Z}function re(L){var Z=J(L);switch(Z){case"array":case"object":return"an "+Z;case"boolean":case"date":case"regexp":return"a "+Z;default:return Z}}function ie(L){return!L.constructor||!L.constructor.name?o:L.constructor.name}return f.checkPropTypes=u,f.resetWarningCache=u.resetWarningCache,f.PropTypes=f,f},ns}var us,fl;function bb(){if(fl)return us;fl=1;var e=es();function r(){}function t(){}return t.resetWarningCache=r,us=function(){function n(a,s,h,c,l,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:t,resetWarningCache:r};return i.PropTypes=i,i},us}var dl;function hl(){if(dl)return Ku.exports;if(dl=1,process.env.NODE_ENV!=="production"){var e=ul(),r=!0;Ku.exports=gb()(e.isElement,r)}else Ku.exports=bb()();return Ku.exports}var yb=hl();const Oe=Ni(yb);function $r(e,...r){const t=new URL(`https://mui.com/production-error/?code=${e}`);return r.forEach(n=>t.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${t} for the full message.`}function pl(e,r=""){return e.displayName||e.name||r}function ml(e,r,t){const n=pl(r);return e.displayName||(n!==""?`${t}(${n})`:t)}function vb(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return pl(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Ju.ForwardRef:return ml(e,e.render,"ForwardRef");case Ju.Memo:return ml(e,e.type,"memo");default:return}}}function nn(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 is(e,r){const t={...r};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const u=n;if(u==="components"||u==="slots")t[u]={...e[u],...t[u]};else if(u==="componentsProps"||u==="slotProps"){const i=e[u],a=r[u];if(!a)t[u]=i||{};else if(!i)t[u]=a;else{t[u]={...a};for(const s in i)if(Object.prototype.hasOwnProperty.call(i,s)){const h=s;t[u][h]=is(i[h],a[h])}}}else t[u]===void 0&&(t[u]=e[u])}return t}function wb(e,r,t=void 0){const n={};for(const u in e){const i=e[u];let a="",s=!0;for(let h=0;h<i.length;h+=1){const c=i[h];c&&(a+=(s===!0?"":" ")+r(c),s=!1,t&&t[c]&&(a+=" "+t[c]))}n[u]=a}return n}const gl=e=>e,Db=(()=>{let e=gl;return{configure(r){e=r},generate(r){return e(r)},reset(){e=gl}}})(),Eb={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 as(e,r,t="Mui"){const n=Eb[r];return n?`${t}-${n}`:`${Db.generate(e)}-${r}`}function xb(e,r,t="Mui"){const n={};return r.forEach(u=>{n[u]=as(e,u,t)}),n}function Ab(e,r=Number.MIN_SAFE_INTEGER,t=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(e,t))}function bl(e){var r,t,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var u=e.length;for(r=0;r<u;r++)e[r]&&(t=bl(e[r]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Cb(){for(var e,r,t=0,n="",u=arguments.length;t<u;t++)(e=arguments[t])&&(r=bl(e))&&(n&&(n+=" "),n+=r);return n}function Zn(e,r){return r?zt(e,r,{clone:!1}):e}const jr=process.env.NODE_ENV!=="production"?Oe.oneOfType([Oe.number,Oe.string,Oe.object,Oe.array]):{};function Tb(e,r){if(!e.containerQueries)return r;const t=Object.keys(r).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 t.length?t.reduce((n,u)=>{const i=r[u];return delete n[u],n[u]=i,n},{...r}):r}function Sb(e,r){return r==="@"||r.startsWith("@")&&(e.some(t=>r.startsWith(`@${t}`))||!!r.match(/^@\d/))}function Fb(e,r){const t=r.match(/^@([^/]+)?\/?(.+)?$/);if(!t){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
126
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:$r(18,`(${r})`));return null}const[,n,u]=t,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(u).up(i)}function _b(e){const r=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function t(i,a){i.up=(...s)=>r(e.breakpoints.up(...s),a),i.down=(...s)=>r(e.breakpoints.down(...s),a),i.between=(...s)=>r(e.breakpoints.between(...s),a),i.only=(...s)=>r(e.breakpoints.only(...s),a),i.not=(...s)=>{const h=r(e.breakpoints.not(...s),a);return h.includes("not all and")?h.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):h}}const n={},u=i=>(t(n,i),n);return t(u),{...e,containerQueries:u}}const ti={xs:0,sm:600,md:900,lg:1200,xl:1536},yl={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${ti[e]}px)`},Ob={containerQueries:e=>({up:r=>{let t=typeof r=="number"?r:ti[r]||r;return typeof t=="number"&&(t=`${t}px`),e?`@container ${e} (min-width:${t})`:`@container (min-width:${t})`}})};function Fr(e,r,t){const n=e.theme||{};if(Array.isArray(r)){const i=n.breakpoints||yl;return r.reduce((a,s,h)=>(a[i.up(i.keys[h])]=t(r[h]),a),{})}if(typeof r=="object"){const i=n.breakpoints||yl;return Object.keys(r).reduce((a,s)=>{if(Sb(i.keys,s)){const h=Fb(n.containerQueries?n:Ob,s);h&&(a[h]=t(r[s],s))}else if(Object.keys(i.values||ti).includes(s)){const h=i.up(s);a[h]=t(r[s],s)}else{const h=s;a[h]=r[h]}return a},{})}return t(r)}function Nb(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,u)=>{const i=e.up(u);return n[i]={},n},{}))||{}}function Mb(e,r){return e.reduce((t,n)=>{const u=t[n];return(!u||Object.keys(u).length===0)&&delete t[n],t},r)}function ri(e,r,t=!0){if(!r||typeof r!="string")return null;if(e&&e.vars&&t){const n=`vars.${r}`.split(".").reduce((u,i)=>u&&u[i]?u[i]:null,e);if(n!=null)return n}return r.split(".").reduce((n,u)=>n&&n[u]!=null?n[u]:null,e)}function ni(e,r,t,n=t){let u;return typeof e=="function"?u=e(t):Array.isArray(e)?u=e[t]||n:u=ri(e,t)||n,r&&(u=r(u,n,e)),u}function mt(e){const{prop:r,cssProperty:t=e.prop,themeKey:n,transform:u}=e,i=a=>{if(a[r]==null)return null;const s=a[r],h=a.theme,c=ri(h,n)||{};return Fr(a,s,p=>{let o=ni(c,u,p);return p===o&&typeof p=="string"&&(o=ni(c,u,`${r}${p==="default"?"":nn(p)}`,p)),t===!1?o:{[t]:o}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[r]:jr}:{},i.filterProps=[r],i}function Pb(e){const r={};return t=>(r[t]===void 0&&(r[t]=e(t)),r[t])}const Bb={m:"margin",p:"padding"},Ib={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},vl={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Rb=Pb(e=>{if(e.length>2)if(vl[e])e=vl[e];else return[e];const[r,t]=e.split(""),n=Bb[r],u=Ib[t]||"";return Array.isArray(u)?u.map(i=>n+i):[n+u]}),ui=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ii=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],kb=[...ui,...ii];function Jn(e,r,t,n){const u=ri(e,r,!0)??t;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
127
|
`)):console.error([`MUI: The \`theme.${r}\` 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.${r}\` as a number.`].join(`
|
|
128
|
-
`)));const
|
|
129
|
-
`)),()=>{})}function ao(e){return Jn(e,"spacing",8,"spacing")}function Kn(e,r){return typeof r=="string"||r==null?r:e(r)}function kb(e,r){return t=>e.reduce((n,u)=>(n[u]=Kn(r,t),n),{})}function Lb(e,r,t,n){if(!r.includes(t))return null;const u=Ib(t),i=kb(u,n),a=e[t];return Fr(e,a,i)}function Df(e,r){const t=ao(e.theme);return Object.keys(e).map(n=>Lb(e,r,n,t)).reduce(Zn,{})}function ct(e){return Df(e,ui)}ct.propTypes=process.env.NODE_ENV!=="production"?ui.reduce((e,r)=>(e[r]=jr,e),{}):{},ct.filterProps=ui;function ft(e){return Df(e,ii)}ft.propTypes=process.env.NODE_ENV!=="production"?ii.reduce((e,r)=>(e[r]=jr,e),{}):{},ft.filterProps=ii,process.env.NODE_ENV!=="production"&&Rb.reduce((e,r)=>(e[r]=jr,e),{});function ai(...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]?Zn(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 Zt(e,r){return mt({prop:e,themeKey:"borders",transform:r})}const qb=Zt("border",Qt),$b=Zt("borderTop",Qt),jb=Zt("borderRight",Qt),zb=Zt("borderBottom",Qt),Hb=Zt("borderLeft",Qt),Ub=Zt("borderColor"),Vb=Zt("borderTopColor"),Wb=Zt("borderRightColor"),Yb=Zt("borderBottomColor"),Gb=Zt("borderLeftColor"),Xb=Zt("outline",Qt),Qb=Zt("outlineColor"),oi=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const r=Jn(e.theme,"shape.borderRadius",4,"borderRadius"),t=n=>({borderRadius:Kn(r,n)});return Fr(e,e.borderRadius,t)}return null};oi.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:jr}:{},oi.filterProps=["borderRadius"],ai(qb,$b,jb,zb,Hb,Ub,Vb,Wb,Yb,Gb,oi,Xb,Qb);const si=e=>{if(e.gap!==void 0&&e.gap!==null){const r=Jn(e.theme,"spacing",8,"gap"),t=n=>({gap:Kn(r,n)});return Fr(e,e.gap,t)}return null};si.propTypes=process.env.NODE_ENV!=="production"?{gap:jr}:{},si.filterProps=["gap"];const ci=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const r=Jn(e.theme,"spacing",8,"columnGap"),t=n=>({columnGap:Kn(r,n)});return Fr(e,e.columnGap,t)}return null};ci.propTypes=process.env.NODE_ENV!=="production"?{columnGap:jr}:{},ci.filterProps=["columnGap"];const fi=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const r=Jn(e.theme,"spacing",8,"rowGap"),t=n=>({rowGap:Kn(r,n)});return Fr(e,e.rowGap,t)}return null};fi.propTypes=process.env.NODE_ENV!=="production"?{rowGap:jr}:{},fi.filterProps=["rowGap"];const Zb=mt({prop:"gridColumn"}),Jb=mt({prop:"gridRow"}),Kb=mt({prop:"gridAutoFlow"}),e2=mt({prop:"gridAutoColumns"}),t2=mt({prop:"gridAutoRows"}),r2=mt({prop:"gridTemplateColumns"}),n2=mt({prop:"gridTemplateRows"}),u2=mt({prop:"gridTemplateAreas"}),i2=mt({prop:"gridArea"});ai(si,ci,fi,Zb,Jb,Kb,e2,t2,r2,n2,u2,i2);function wn(e,r){return r==="grey"?r:e}const a2=mt({prop:"color",themeKey:"palette",transform:wn}),o2=mt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:wn}),s2=mt({prop:"backgroundColor",themeKey:"palette",transform:wn});ai(a2,o2,s2);function Ht(e){return e<=1&&e!==0?`${e*100}%`:e}const c2=mt({prop:"width",transform:Ht}),oo=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const r=t=>{var u,i,a,o,h;const n=((a=(i=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:i.values)==null?void 0:a[t])||ti[t];return n?((h=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:h.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Ht(t)}};return Fr(e,e.maxWidth,r)}return null};oo.filterProps=["maxWidth"];const f2=mt({prop:"minWidth",transform:Ht}),l2=mt({prop:"height",transform:Ht}),d2=mt({prop:"maxHeight",transform:Ht}),h2=mt({prop:"minHeight",transform:Ht});mt({prop:"size",cssProperty:"width",transform:Ht}),mt({prop:"size",cssProperty:"height",transform:Ht});const p2=mt({prop:"boxSizing"});ai(c2,oo,f2,l2,d2,h2,p2);const li={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:oi},color:{themeKey:"palette",transform:wn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:wn},backgroundColor:{themeKey:"palette",transform:wn},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:si},rowGap:{style:fi},columnGap:{style:ci},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:oo},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 m2(...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 g2(e,r){return typeof e=="function"?e(r):e}function b2(){function e(t,n,u,i){const a={[t]:n,theme:u},o=i[t];if(!o)return{[t]:n};const{cssProperty:h=t,themeKey:f,transform:c,style:p}=o;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[t]:n};const s=ri(u,f)||{};return p?p(a):Fr(a,n,m=>{let l=ni(s,c,m);return m===l&&typeof m=="string"&&(l=ni(s,c,`${t}${m==="default"?"":un(m)}`,m)),h===!1?l:{[h]:l}})}function r(t){const{sx:n,theme:u={}}=t||{};if(!n)return null;const i=u.unstable_sxConfig??li;function a(o){let h=o;if(typeof o=="function")h=o(u);else if(typeof o!="object")return o;if(!h)return null;const f=Ob(u.breakpoints),c=Object.keys(f);let p=f;return Object.keys(h).forEach(s=>{const d=g2(h[s],u);if(d!=null)if(typeof d=="object")if(i[s])p=Zn(p,e(s,d,u,i));else{const m=Fr({theme:u},d,l=>({[s]:l}));m2(m,d)?p[s]=r({sx:d,theme:u}):p=Zn(p,m)}else p=Zn(p,e(s,d,u,i))}),Cb(u,Nb(c,p))}return Array.isArray(n)?n.map(a):a(n)}return r}const Dn=b2();Dn.filterProps=["sx"];function so(){return so=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},so.apply(null,arguments)}var y2=!1;function v2(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 w2(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 D2=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?!y2: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(w2(this));var u=this.tags[this.tags.length-1];if(this.isSpeedy){var i=v2(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}(),Nt="-ms-",di="-moz-",Be="-webkit-",Ef="comm",co="rule",fo="decl",E2="@import",xf="@keyframes",x2="@layer",A2=Math.abs,hi=String.fromCharCode,C2=Object.assign;function T2(e,r){return Tt(e,0)^45?(((r<<2^Tt(e,0))<<2^Tt(e,1))<<2^Tt(e,2))<<2^Tt(e,3):0}function Af(e){return e.trim()}function S2(e,r){return(e=r.exec(e))?e[0]:e}function Ie(e,r,t){return e.replace(r,t)}function lo(e,r){return e.indexOf(r)}function Tt(e,r){return e.charCodeAt(r)|0}function eu(e,r,t){return e.slice(r,t)}function pr(e){return e.length}function ho(e){return e.length}function pi(e,r){return r.push(e),e}function F2(e,r){return e.map(r).join("")}var mi=1,En=1,Cf=0,Lt=0,bt=0,xn="";function gi(e,r,t,n,u,i,a){return{value:e,root:r,parent:t,type:n,props:u,children:i,line:mi,column:En,length:a,return:""}}function tu(e,r){return C2(gi("",null,null,"",null,null,0),e,{length:-e.length},r)}function _2(){return bt}function O2(){return bt=Lt>0?Tt(xn,--Lt):0,En--,bt===10&&(En=1,mi--),bt}function Ut(){return bt=Lt<Cf?Tt(xn,Lt++):0,En++,bt===10&&(En=1,mi++),bt}function mr(){return Tt(xn,Lt)}function bi(){return Lt}function ru(e,r){return eu(xn,e,r)}function nu(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 Tf(e){return mi=En=1,Cf=pr(xn=e),Lt=0,[]}function Sf(e){return xn="",e}function yi(e){return Af(ru(Lt-1,po(e===91?e+2:e===40?e+1:e)))}function N2(e){for(;(bt=mr())&&bt<33;)Ut();return nu(e)>2||nu(bt)>3?"":" "}function M2(e,r){for(;--r&&Ut()&&!(bt<48||bt>102||bt>57&&bt<65||bt>70&&bt<97););return ru(e,bi()+(r<6&&mr()==32&&Ut()==32))}function po(e){for(;Ut();)switch(bt){case e:return Lt;case 34:case 39:e!==34&&e!==39&&po(bt);break;case 40:e===41&&po(e);break;case 92:Ut();break}return Lt}function P2(e,r){for(;Ut()&&e+bt!==57;)if(e+bt===84&&mr()===47)break;return"/*"+ru(r,Lt-1)+"*"+hi(e===47?e:Ut())}function B2(e){for(;!nu(mr());)Ut();return ru(e,Lt)}function I2(e){return Sf(vi("",null,null,null,[""],e=Tf(e),0,[0],e))}function vi(e,r,t,n,u,i,a,o,h){for(var f=0,c=0,p=a,s=0,d=0,m=0,l=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&&Tt(A,p-1)==58){lo(A+=Ie(yi(w),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:A+=yi(w);break;case 9:case 10:case 13:case 32:A+=N2(m);break;case 92:A+=M2(bi()-1,7);continue;case 47:switch(mr()){case 42:case 47:pi(R2(P2(Ut(),bi()),r,t),h);break;default:A+="/"}break;case 123*l:o[f++]=pr(A)*g;case 125*l:case 59:case 0:switch(w){case 0:case 125:b=0;case 59+c:g==-1&&(A=Ie(A,/\f/g,"")),d>0&&pr(A)-p&&pi(d>32?_f(A+";",n,t,p-1):_f(Ie(A," ","")+";",n,t,p-2),h);break;case 59:A+=";";default:if(pi(E=Ff(A,r,t,f,c,u,o,v,D=[],y=[],p),i),w===123)if(c===0)vi(A,r,E,E,D,i,p,o,y);else switch(s===99&&Tt(A,3)===110?100:s){case 100:case 108:case 109:case 115:vi(e,E,E,n&&pi(Ff(e,E,E,0,0,u,o,v,u,D=[],p),y),u,y,p,o,n?D:y);break;default:vi(A,E,E,E,[""],y,0,o,y)}}f=c=d=0,l=g=1,v=A="",p=a;break;case 58:p=1+pr(A),d=m;default:if(l<1){if(w==123)--l;else if(w==125&&l++==0&&O2()==125)continue}switch(A+=hi(w),w*l){case 38:g=c>0?1:(A+="\f",-1);break;case 44:o[f++]=(pr(A)-1)*g,g=1;break;case 64:mr()===45&&(A+=yi(Ut())),s=mr(),c=p=pr(v=A+=B2(bi())),w++;break;case 45:m===45&&pr(A)==2&&(l=0)}}return i}function Ff(e,r,t,n,u,i,a,o,h,f,c){for(var p=u-1,s=u===0?i:[""],d=ho(s),m=0,l=0,b=0;m<n;++m)for(var g=0,w=eu(e,p+1,p=A2(l=a[m])),v=e;g<d;++g)(v=Af(l>0?s[g]+" "+w:Ie(w,/&\f/g,s[g])))&&(h[b++]=v);return gi(e,r,t,u===0?co:o,h,f,c)}function R2(e,r,t){return gi(e,r,t,Ef,hi(_2()),eu(e,2,-2),0)}function _f(e,r,t,n){return gi(e,r,t,fo,eu(e,0,n),eu(e,n+1,-1),n)}function An(e,r){for(var t="",n=ho(e),u=0;u<n;u++)t+=r(e[u],u,e,r)||"";return t}function k2(e,r,t,n){switch(e.type){case x2:if(e.children.length)break;case E2:case fo:return e.return=e.return||e.value;case Ef:return"";case xf:return e.return=e.value+"{"+An(e.children,n)+"}";case co:e.value=e.props.join(",")}return pr(t=An(e.children,n))?e.return=e.value+"{"+t+"}":""}function L2(e){var r=ho(e);return function(t,n,u,i){for(var a="",o=0;o<r;o++)a+=e[o](t,n,u,i)||"";return a}}function q2(e){return function(r){r.root||(r=r.return)&&e(r)}}function Of(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var $2=function(r,t,n){for(var u=0,i=0;u=i,i=mr(),u===38&&i===12&&(t[n]=1),!nu(i);)Ut();return ru(r,Lt)},j2=function(r,t){var n=-1,u=44;do switch(nu(u)){case 0:u===38&&mr()===12&&(t[n]=1),r[n]+=$2(Lt-1,t,n);break;case 2:r[n]+=yi(u);break;case 4:if(u===44){r[++n]=mr()===58?"&\f":"",t[n]=r[n].length;break}default:r[n]+=hi(u)}while(u=Ut());return r},z2=function(r,t){return Sf(j2(Tf(r),t))},Nf=new WeakMap,H2=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&&!Nf.get(n))&&!u){Nf.set(r,!0);for(var i=[],a=z2(t,i),o=n.props,h=0,f=0;h<a.length;h++)for(var c=0;c<o.length;c++,f++)r.props[f]=i[h]?a[h].replace(/&\f/g,o[c]):o[c]+" "+a[h]}}},U2=function(r){if(r.type==="decl"){var t=r.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(r.return="",r.value="")}};function Mf(e,r){switch(T2(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+di+e+Nt+e+e;case 6828:case 4268:return Be+e+Nt+e+e;case 6165:return Be+e+Nt+"flex-"+e+e;case 5187:return Be+e+Ie(e,/(\w+).+(:[^]+)/,Be+"box-$1$2"+Nt+"flex-$1$2")+e;case 5443:return Be+e+Nt+"flex-item-"+Ie(e,/flex-|-self/,"")+e;case 4675:return Be+e+Nt+"flex-line-pack"+Ie(e,/align-content|flex-|-self/,"")+e;case 5548:return Be+e+Nt+Ie(e,"shrink","negative")+e;case 5292:return Be+e+Nt+Ie(e,"basis","preferred-size")+e;case 6060:return Be+"box-"+Ie(e,"-grow","")+Be+e+Nt+Ie(e,"grow","positive")+e;case 4554:return Be+Ie(e,/([^-])(transform)/g,"$1"+Be+"$2")+e;case 6187:return Ie(Ie(Ie(e,/(zoom-|grab)/,Be+"$1"),/(image-set)/,Be+"$1"),e,"")+e;case 5495:case 3959:return Ie(e,/(image-set\([^]*)/,Be+"$1$`$1");case 4968:return Ie(Ie(e,/(.+:)(flex-)?(.*)/,Be+"box-pack:$3"+Nt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Be+e+e;case 4095:case 3583:case 4068:case 2532:return Ie(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(pr(e)-1-r>6)switch(Tt(e,r+1)){case 109:if(Tt(e,r+4)!==45)break;case 102:return Ie(e,/(.+:)(.+)-([^]+)/,"$1"+Be+"$2-$3$1"+di+(Tt(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~lo(e,"stretch")?Mf(Ie(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(Tt(e,r+1)!==115)break;case 6444:switch(Tt(e,pr(e)-3-(~lo(e,"!important")&&10))){case 107:return Ie(e,":",":"+Be)+e;case 101:return Ie(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Be+(Tt(e,14)===45?"inline-":"")+"box$3$1"+Be+"$2$3$1"+Nt+"$2box$3")+e}break;case 5936:switch(Tt(e,r+11)){case 114:return Be+e+Nt+Ie(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Be+e+Nt+Ie(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Be+e+Nt+Ie(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Be+e+Nt+e+e}return e}var V2=function(r,t,n,u){if(r.length>-1&&!r.return)switch(r.type){case fo:r.return=Mf(r.value,r.length);break;case xf:return An([tu(r,{value:Ie(r.value,"@","@"+Be)})],u);case co:if(r.length)return F2(r.props,function(i){switch(S2(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return An([tu(r,{props:[Ie(i,/:(read-\w+)/,":"+di+"$1")]})],u);case"::placeholder":return An([tu(r,{props:[Ie(i,/:(plac\w+)/,":"+Be+"input-$1")]}),tu(r,{props:[Ie(i,/:(plac\w+)/,":"+di+"$1")]}),tu(r,{props:[Ie(i,/:(plac\w+)/,Nt+"input-$1")]})],u)}return""})}},W2=[V2],Y2=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(l){var b=l.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(l),l.setAttribute("data-s",""))})}var u=r.stylisPlugins||W2,i={},a,o=[];a=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(l){for(var b=l.getAttribute("data-emotion").split(" "),g=1;g<b.length;g++)i[b[g]]=!0;o.push(l)});var h,f=[H2,U2];{var c,p=[k2,q2(function(l){c.insert(l)})],s=L2(f.concat(u,p)),d=function(b){return An(I2(b),s)};h=function(b,g,w,v){c=w,d(b?b+"{"+g.styles+"}":g.styles),v&&(m.inserted[g.name]=!0)}}var m={key:t,sheet:new D2({key:t,container:a,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:i,registered:{},insert:h};return m.sheet.hydrate(o),m},G2=!0;function X2(e,r,t){var n="";return t.split(" ").forEach(function(u){e[u]!==void 0?r.push(e[u]+";"):u&&(n+=u+" ")}),n}var Pf=function(r,t,n){var u=r.key+"-"+t.name;(n===!1||G2===!1)&&r.registered[u]===void 0&&(r.registered[u]=t.styles)},Q2=function(r,t,n){Pf(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 Z2(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 J2={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},K2=!1,ey=/[A-Z]|^ms/g,ty=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Bf=function(r){return r.charCodeAt(1)===45},If=function(r){return r!=null&&typeof r!="boolean"},mo=Of(function(e){return Bf(e)?e:e.replace(ey,"-$&").toLowerCase()}),Rf=function(r,t){switch(r){case"animation":case"animationName":if(typeof t=="string")return t.replace(ty,function(n,u,i){return gr={name:u,styles:i,next:gr},u})}return J2[r]!==1&&!Bf(r)&&typeof t=="number"&&t!==0?t+"px":t},ry="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function uu(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 gr={name:u.name,styles:u.styles,next:gr},u.name;var i=t;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)gr={name:a.name,styles:a.styles,next:gr},a=a.next;var o=i.styles+";";return o}return ny(e,r,t)}case"function":{if(e!==void 0){var h=gr,f=t(e);return gr=h,uu(e,r,f)}break}}var c=t;if(r==null)return c;var p=r[c];return p!==void 0?p:c}function ny(e,r,t){var n="";if(Array.isArray(t))for(var u=0;u<t.length;u++)n+=uu(e,r,t[u])+";";else for(var i in t){var a=t[i];if(typeof a!="object"){var o=a;r!=null&&r[o]!==void 0?n+=i+"{"+r[o]+"}":If(o)&&(n+=mo(i)+":"+Rf(i,o)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&K2)throw new Error(ry);if(Array.isArray(a)&&typeof a[0]=="string"&&(r==null||r[a[0]]===void 0))for(var h=0;h<a.length;h++)If(a[h])&&(n+=mo(i)+":"+Rf(i,a[h])+";");else{var f=uu(e,r,a);switch(i){case"animation":case"animationName":{n+=mo(i)+":"+f+";";break}default:n+=i+"{"+f+"}"}}}}return n}var kf=/label:\s*([^\s;{]+)\s*(;|$)/g,gr;function Lf(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="";gr=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,u+=uu(t,r,i);else{var a=i;u+=a[0]}for(var o=1;o<e.length;o++)if(u+=uu(t,r,e[o]),n){var h=i;u+=h[o]}kf.lastIndex=0;for(var f="",c;(c=kf.exec(u))!==null;)f+="-"+c[1];var p=Z2(u)+f;return{name:p,styles:u,next:gr}}var uy=function(r){return r()},iy=At.useInsertionEffect?At.useInsertionEffect:!1,ay=iy||uy,qf=At.createContext(typeof HTMLElement<"u"?Y2({key:"css"}):null);qf.Provider;var oy=function(r){return at.forwardRef(function(t,n){var u=at.useContext(qf);return r(t,u,n)})},sy=At.createContext({}),cy=/^((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)-.*))$/,fy=Of(function(e){return cy.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),ly=!1,dy=fy,hy=function(r){return r!=="theme"},$f=function(r){return typeof r=="string"&&r.charCodeAt(0)>96?dy:hy},jf=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},py=function(r){var t=r.cache,n=r.serialized,u=r.isStringTag;return Pf(t,n,u),ay(function(){return Q2(t,n,u)}),null},my=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 o=jf(r,t,n),h=o||$f(u),f=!h("as");return function(){var c=arguments,p=n&&r.__emotion_styles!==void 0?r.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),c[0]==null||c[0].raw===void 0)p.push.apply(p,c);else{var s=c[0];p.push(s[0]);for(var d=c.length,m=1;m<d;m++)p.push(c[m],s[m])}var l=oy(function(b,g,w){var v=f&&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(sy)}typeof b.className=="string"?D=X2(g.registered,y,b.className):b.className!=null&&(D=b.className+" ");var C=Lf(p.concat(y),g.registered,E);D+=g.key+"-"+C.name,a!==void 0&&(D+=" "+a);var F=f&&o===void 0?$f(v):h,x={};for(var T in b)f&&T==="as"||F(T)&&(x[T]=b[T]);return x.className=D,w&&(x.ref=w),At.createElement(At.Fragment,null,At.createElement(py,{cache:g,serialized:C,isStringTag:typeof v=="string"}),At.createElement(v,x))});return l.displayName=i!==void 0?i:"Styled("+(typeof u=="string"?u:u.displayName||u.name||"Component")+")",l.defaultProps=r.defaultProps,l.__emotion_real=l,l.__emotion_base=u,l.__emotion_styles=p,l.__emotion_forwardProp=o,Object.defineProperty(l,"toString",{value:function(){return a===void 0&&ly?"NO_COMPONENT_SELECTOR":"."+a}}),l.withComponent=function(b,g){var w=e(b,so({},t,g,{shouldForwardProp:jf(l,g,!0)}));return w.apply(void 0,p)},l}},gy=["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"],go=my.bind(null);gy.forEach(function(e){go[e]=go(e)});/**
|
|
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.${r}\` value (${u}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
129
|
+
`)),()=>{})}function ss(e){return Jn(e,"spacing",8,"spacing")}function Kn(e,r){return typeof r=="string"||r==null?r:e(r)}function Lb(e,r){return t=>e.reduce((n,u)=>(n[u]=Kn(r,t),n),{})}function qb(e,r,t,n){if(!r.includes(t))return null;const u=Rb(t),i=Lb(u,n),a=e[t];return Fr(e,a,i)}function wl(e,r){const t=ss(e.theme);return Object.keys(e).map(n=>qb(e,r,n,t)).reduce(Zn,{})}function ct(e){return wl(e,ui)}ct.propTypes=process.env.NODE_ENV!=="production"?ui.reduce((e,r)=>(e[r]=jr,e),{}):{},ct.filterProps=ui;function lt(e){return wl(e,ii)}lt.propTypes=process.env.NODE_ENV!=="production"?ii.reduce((e,r)=>(e[r]=jr,e),{}):{},lt.filterProps=ii,process.env.NODE_ENV!=="production"&&kb.reduce((e,r)=>(e[r]=jr,e),{});function ai(...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]?Zn(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 Zt(e,r){return mt({prop:e,themeKey:"borders",transform:r})}const $b=Zt("border",Qt),jb=Zt("borderTop",Qt),zb=Zt("borderRight",Qt),Hb=Zt("borderBottom",Qt),Ub=Zt("borderLeft",Qt),Vb=Zt("borderColor"),Wb=Zt("borderTopColor"),Yb=Zt("borderRightColor"),Gb=Zt("borderBottomColor"),Xb=Zt("borderLeftColor"),Qb=Zt("outline",Qt),Zb=Zt("outlineColor"),si=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const r=Jn(e.theme,"shape.borderRadius",4,"borderRadius"),t=n=>({borderRadius:Kn(r,n)});return Fr(e,e.borderRadius,t)}return null};si.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:jr}:{},si.filterProps=["borderRadius"],ai($b,jb,zb,Hb,Ub,Vb,Wb,Yb,Gb,Xb,si,Qb,Zb);const oi=e=>{if(e.gap!==void 0&&e.gap!==null){const r=Jn(e.theme,"spacing",8,"gap"),t=n=>({gap:Kn(r,n)});return Fr(e,e.gap,t)}return null};oi.propTypes=process.env.NODE_ENV!=="production"?{gap:jr}:{},oi.filterProps=["gap"];const ci=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const r=Jn(e.theme,"spacing",8,"columnGap"),t=n=>({columnGap:Kn(r,n)});return Fr(e,e.columnGap,t)}return null};ci.propTypes=process.env.NODE_ENV!=="production"?{columnGap:jr}:{},ci.filterProps=["columnGap"];const li=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const r=Jn(e.theme,"spacing",8,"rowGap"),t=n=>({rowGap:Kn(r,n)});return Fr(e,e.rowGap,t)}return null};li.propTypes=process.env.NODE_ENV!=="production"?{rowGap:jr}:{},li.filterProps=["rowGap"];const Jb=mt({prop:"gridColumn"}),Kb=mt({prop:"gridRow"}),e2=mt({prop:"gridAutoFlow"}),t2=mt({prop:"gridAutoColumns"}),r2=mt({prop:"gridAutoRows"}),n2=mt({prop:"gridTemplateColumns"}),u2=mt({prop:"gridTemplateRows"}),i2=mt({prop:"gridTemplateAreas"}),a2=mt({prop:"gridArea"});ai(oi,ci,li,Jb,Kb,e2,t2,r2,n2,u2,i2,a2);function wn(e,r){return r==="grey"?r:e}const s2=mt({prop:"color",themeKey:"palette",transform:wn}),o2=mt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:wn}),c2=mt({prop:"backgroundColor",themeKey:"palette",transform:wn});ai(s2,o2,c2);function Ht(e){return e<=1&&e!==0?`${e*100}%`:e}const l2=mt({prop:"width",transform:Ht}),os=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const r=t=>{var u,i,a,s,h;const n=((a=(i=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:i.values)==null?void 0:a[t])||ti[t];return n?((h=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:h.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Ht(t)}};return Fr(e,e.maxWidth,r)}return null};os.filterProps=["maxWidth"];const f2=mt({prop:"minWidth",transform:Ht}),d2=mt({prop:"height",transform:Ht}),h2=mt({prop:"maxHeight",transform:Ht}),p2=mt({prop:"minHeight",transform:Ht});mt({prop:"size",cssProperty:"width",transform:Ht}),mt({prop:"size",cssProperty:"height",transform:Ht});const m2=mt({prop:"boxSizing"});ai(l2,os,f2,d2,h2,p2,m2);const fi={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:si},color:{themeKey:"palette",transform:wn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:wn},backgroundColor:{themeKey:"palette",transform:wn},p:{style:lt},pt:{style:lt},pr:{style:lt},pb:{style:lt},pl:{style:lt},px:{style:lt},py:{style:lt},padding:{style:lt},paddingTop:{style:lt},paddingRight:{style:lt},paddingBottom:{style:lt},paddingLeft:{style:lt},paddingX:{style:lt},paddingY:{style:lt},paddingInline:{style:lt},paddingInlineStart:{style:lt},paddingInlineEnd:{style:lt},paddingBlock:{style:lt},paddingBlockStart:{style:lt},paddingBlockEnd:{style:lt},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:oi},rowGap:{style:li},columnGap:{style:ci},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:os},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 g2(...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 b2(e,r){return typeof e=="function"?e(r):e}function y2(){function e(t,n,u,i){const a={[t]:n,theme:u},s=i[t];if(!s)return{[t]:n};const{cssProperty:h=t,themeKey:c,transform:l,style:p}=s;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[t]:n};const o=ri(u,c)||{};return p?p(a):Fr(a,n,m=>{let d=ni(o,l,m);return m===d&&typeof m=="string"&&(d=ni(o,l,`${t}${m==="default"?"":nn(m)}`,m)),h===!1?d:{[h]:d}})}function r(t){const{sx:n,theme:u={}}=t||{};if(!n)return null;const i=u.unstable_sxConfig??fi;function a(s){let h=s;if(typeof s=="function")h=s(u);else if(typeof s!="object")return s;if(!h)return null;const c=Nb(u.breakpoints),l=Object.keys(c);let p=c;return Object.keys(h).forEach(o=>{const f=b2(h[o],u);if(f!=null)if(typeof f=="object")if(i[o])p=Zn(p,e(o,f,u,i));else{const m=Fr({theme:u},f,d=>({[o]:d}));g2(m,f)?p[o]=r({sx:f,theme:u}):p=Zn(p,m)}else p=Zn(p,e(o,f,u,i))}),Tb(u,Mb(l,p))}return Array.isArray(n)?n.map(a):a(n)}return r}const Dn=y2();Dn.filterProps=["sx"];function cs(){return cs=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},cs.apply(null,arguments)}var v2=!1;function w2(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 D2(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 E2=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?!v2: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(D2(this));var u=this.tags[this.tags.length-1];if(this.isSpeedy){var i=w2(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}(),Nt="-ms-",di="-moz-",Be="-webkit-",Dl="comm",ls="rule",fs="decl",x2="@import",El="@keyframes",A2="@layer",C2=Math.abs,hi=String.fromCharCode,T2=Object.assign;function S2(e,r){return Tt(e,0)^45?(((r<<2^Tt(e,0))<<2^Tt(e,1))<<2^Tt(e,2))<<2^Tt(e,3):0}function xl(e){return e.trim()}function F2(e,r){return(e=r.exec(e))?e[0]:e}function Ie(e,r,t){return e.replace(r,t)}function ds(e,r){return e.indexOf(r)}function Tt(e,r){return e.charCodeAt(r)|0}function eu(e,r,t){return e.slice(r,t)}function pr(e){return e.length}function hs(e){return e.length}function pi(e,r){return r.push(e),e}function _2(e,r){return e.map(r).join("")}var mi=1,En=1,Al=0,Lt=0,bt=0,xn="";function gi(e,r,t,n,u,i,a){return{value:e,root:r,parent:t,type:n,props:u,children:i,line:mi,column:En,length:a,return:""}}function tu(e,r){return T2(gi("",null,null,"",null,null,0),e,{length:-e.length},r)}function O2(){return bt}function N2(){return bt=Lt>0?Tt(xn,--Lt):0,En--,bt===10&&(En=1,mi--),bt}function Ut(){return bt=Lt<Al?Tt(xn,Lt++):0,En++,bt===10&&(En=1,mi++),bt}function mr(){return Tt(xn,Lt)}function bi(){return Lt}function ru(e,r){return eu(xn,e,r)}function nu(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 Cl(e){return mi=En=1,Al=pr(xn=e),Lt=0,[]}function Tl(e){return xn="",e}function yi(e){return xl(ru(Lt-1,ps(e===91?e+2:e===40?e+1:e)))}function M2(e){for(;(bt=mr())&&bt<33;)Ut();return nu(e)>2||nu(bt)>3?"":" "}function P2(e,r){for(;--r&&Ut()&&!(bt<48||bt>102||bt>57&&bt<65||bt>70&&bt<97););return ru(e,bi()+(r<6&&mr()==32&&Ut()==32))}function ps(e){for(;Ut();)switch(bt){case e:return Lt;case 34:case 39:e!==34&&e!==39&&ps(bt);break;case 40:e===41&&ps(e);break;case 92:Ut();break}return Lt}function B2(e,r){for(;Ut()&&e+bt!==57;)if(e+bt===84&&mr()===47)break;return"/*"+ru(r,Lt-1)+"*"+hi(e===47?e:Ut())}function I2(e){for(;!nu(mr());)Ut();return ru(e,Lt)}function R2(e){return Tl(vi("",null,null,null,[""],e=Cl(e),0,[0],e))}function vi(e,r,t,n,u,i,a,s,h){for(var c=0,l=0,p=a,o=0,f=0,m=0,d=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&&Tt(A,p-1)==58){ds(A+=Ie(yi(w),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:A+=yi(w);break;case 9:case 10:case 13:case 32:A+=M2(m);break;case 92:A+=P2(bi()-1,7);continue;case 47:switch(mr()){case 42:case 47:pi(k2(B2(Ut(),bi()),r,t),h);break;default:A+="/"}break;case 123*d:s[c++]=pr(A)*g;case 125*d:case 59:case 0:switch(w){case 0:case 125:b=0;case 59+l:g==-1&&(A=Ie(A,/\f/g,"")),f>0&&pr(A)-p&&pi(f>32?Fl(A+";",n,t,p-1):Fl(Ie(A," ","")+";",n,t,p-2),h);break;case 59:A+=";";default:if(pi(E=Sl(A,r,t,c,l,u,s,v,D=[],y=[],p),i),w===123)if(l===0)vi(A,r,E,E,D,i,p,s,y);else switch(o===99&&Tt(A,3)===110?100:o){case 100:case 108:case 109:case 115:vi(e,E,E,n&&pi(Sl(e,E,E,0,0,u,s,v,u,D=[],p),y),u,y,p,s,n?D:y);break;default:vi(A,E,E,E,[""],y,0,s,y)}}c=l=f=0,d=g=1,v=A="",p=a;break;case 58:p=1+pr(A),f=m;default:if(d<1){if(w==123)--d;else if(w==125&&d++==0&&N2()==125)continue}switch(A+=hi(w),w*d){case 38:g=l>0?1:(A+="\f",-1);break;case 44:s[c++]=(pr(A)-1)*g,g=1;break;case 64:mr()===45&&(A+=yi(Ut())),o=mr(),l=p=pr(v=A+=I2(bi())),w++;break;case 45:m===45&&pr(A)==2&&(d=0)}}return i}function Sl(e,r,t,n,u,i,a,s,h,c,l){for(var p=u-1,o=u===0?i:[""],f=hs(o),m=0,d=0,b=0;m<n;++m)for(var g=0,w=eu(e,p+1,p=C2(d=a[m])),v=e;g<f;++g)(v=xl(d>0?o[g]+" "+w:Ie(w,/&\f/g,o[g])))&&(h[b++]=v);return gi(e,r,t,u===0?ls:s,h,c,l)}function k2(e,r,t){return gi(e,r,t,Dl,hi(O2()),eu(e,2,-2),0)}function Fl(e,r,t,n){return gi(e,r,t,fs,eu(e,0,n),eu(e,n+1,-1),n)}function An(e,r){for(var t="",n=hs(e),u=0;u<n;u++)t+=r(e[u],u,e,r)||"";return t}function L2(e,r,t,n){switch(e.type){case A2:if(e.children.length)break;case x2:case fs:return e.return=e.return||e.value;case Dl:return"";case El:return e.return=e.value+"{"+An(e.children,n)+"}";case ls:e.value=e.props.join(",")}return pr(t=An(e.children,n))?e.return=e.value+"{"+t+"}":""}function q2(e){var r=hs(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 $2(e){return function(r){r.root||(r=r.return)&&e(r)}}function _l(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var j2=function(r,t,n){for(var u=0,i=0;u=i,i=mr(),u===38&&i===12&&(t[n]=1),!nu(i);)Ut();return ru(r,Lt)},z2=function(r,t){var n=-1,u=44;do switch(nu(u)){case 0:u===38&&mr()===12&&(t[n]=1),r[n]+=j2(Lt-1,t,n);break;case 2:r[n]+=yi(u);break;case 4:if(u===44){r[++n]=mr()===58?"&\f":"",t[n]=r[n].length;break}default:r[n]+=hi(u)}while(u=Ut());return r},H2=function(r,t){return Tl(z2(Cl(r),t))},Ol=new WeakMap,U2=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&&!Ol.get(n))&&!u){Ol.set(r,!0);for(var i=[],a=H2(t,i),s=n.props,h=0,c=0;h<a.length;h++)for(var l=0;l<s.length;l++,c++)r.props[c]=i[h]?a[h].replace(/&\f/g,s[l]):s[l]+" "+a[h]}}},V2=function(r){if(r.type==="decl"){var t=r.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(r.return="",r.value="")}};function Nl(e,r){switch(S2(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+di+e+Nt+e+e;case 6828:case 4268:return Be+e+Nt+e+e;case 6165:return Be+e+Nt+"flex-"+e+e;case 5187:return Be+e+Ie(e,/(\w+).+(:[^]+)/,Be+"box-$1$2"+Nt+"flex-$1$2")+e;case 5443:return Be+e+Nt+"flex-item-"+Ie(e,/flex-|-self/,"")+e;case 4675:return Be+e+Nt+"flex-line-pack"+Ie(e,/align-content|flex-|-self/,"")+e;case 5548:return Be+e+Nt+Ie(e,"shrink","negative")+e;case 5292:return Be+e+Nt+Ie(e,"basis","preferred-size")+e;case 6060:return Be+"box-"+Ie(e,"-grow","")+Be+e+Nt+Ie(e,"grow","positive")+e;case 4554:return Be+Ie(e,/([^-])(transform)/g,"$1"+Be+"$2")+e;case 6187:return Ie(Ie(Ie(e,/(zoom-|grab)/,Be+"$1"),/(image-set)/,Be+"$1"),e,"")+e;case 5495:case 3959:return Ie(e,/(image-set\([^]*)/,Be+"$1$`$1");case 4968:return Ie(Ie(e,/(.+:)(flex-)?(.*)/,Be+"box-pack:$3"+Nt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Be+e+e;case 4095:case 3583:case 4068:case 2532:return Ie(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(pr(e)-1-r>6)switch(Tt(e,r+1)){case 109:if(Tt(e,r+4)!==45)break;case 102:return Ie(e,/(.+:)(.+)-([^]+)/,"$1"+Be+"$2-$3$1"+di+(Tt(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~ds(e,"stretch")?Nl(Ie(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(Tt(e,r+1)!==115)break;case 6444:switch(Tt(e,pr(e)-3-(~ds(e,"!important")&&10))){case 107:return Ie(e,":",":"+Be)+e;case 101:return Ie(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Be+(Tt(e,14)===45?"inline-":"")+"box$3$1"+Be+"$2$3$1"+Nt+"$2box$3")+e}break;case 5936:switch(Tt(e,r+11)){case 114:return Be+e+Nt+Ie(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Be+e+Nt+Ie(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Be+e+Nt+Ie(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Be+e+Nt+e+e}return e}var W2=function(r,t,n,u){if(r.length>-1&&!r.return)switch(r.type){case fs:r.return=Nl(r.value,r.length);break;case El:return An([tu(r,{value:Ie(r.value,"@","@"+Be)})],u);case ls:if(r.length)return _2(r.props,function(i){switch(F2(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return An([tu(r,{props:[Ie(i,/:(read-\w+)/,":"+di+"$1")]})],u);case"::placeholder":return An([tu(r,{props:[Ie(i,/:(plac\w+)/,":"+Be+"input-$1")]}),tu(r,{props:[Ie(i,/:(plac\w+)/,":"+di+"$1")]}),tu(r,{props:[Ie(i,/:(plac\w+)/,Nt+"input-$1")]})],u)}return""})}},Y2=[W2],G2=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(d){var b=d.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(d),d.setAttribute("data-s",""))})}var u=r.stylisPlugins||Y2,i={},a,s=[];a=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(d){for(var b=d.getAttribute("data-emotion").split(" "),g=1;g<b.length;g++)i[b[g]]=!0;s.push(d)});var h,c=[U2,V2];{var l,p=[L2,$2(function(d){l.insert(d)})],o=q2(c.concat(u,p)),f=function(b){return An(R2(b),o)};h=function(b,g,w,v){l=w,f(b?b+"{"+g.styles+"}":g.styles),v&&(m.inserted[g.name]=!0)}}var m={key:t,sheet:new E2({key:t,container:a,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:i,registered:{},insert:h};return m.sheet.hydrate(s),m},X2=!0;function Q2(e,r,t){var n="";return t.split(" ").forEach(function(u){e[u]!==void 0?r.push(e[u]+";"):u&&(n+=u+" ")}),n}var Ml=function(r,t,n){var u=r.key+"-"+t.name;(n===!1||X2===!1)&&r.registered[u]===void 0&&(r.registered[u]=t.styles)},Z2=function(r,t,n){Ml(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 J2(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 K2={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},ey=!1,ty=/[A-Z]|^ms/g,ry=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Pl=function(r){return r.charCodeAt(1)===45},Bl=function(r){return r!=null&&typeof r!="boolean"},ms=_l(function(e){return Pl(e)?e:e.replace(ty,"-$&").toLowerCase()}),Il=function(r,t){switch(r){case"animation":case"animationName":if(typeof t=="string")return t.replace(ry,function(n,u,i){return gr={name:u,styles:i,next:gr},u})}return K2[r]!==1&&!Pl(r)&&typeof t=="number"&&t!==0?t+"px":t},ny="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function uu(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 gr={name:u.name,styles:u.styles,next:gr},u.name;var i=t;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)gr={name:a.name,styles:a.styles,next:gr},a=a.next;var s=i.styles+";";return s}return uy(e,r,t)}case"function":{if(e!==void 0){var h=gr,c=t(e);return gr=h,uu(e,r,c)}break}}var l=t;if(r==null)return l;var p=r[l];return p!==void 0?p:l}function uy(e,r,t){var n="";if(Array.isArray(t))for(var u=0;u<t.length;u++)n+=uu(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]+"}":Bl(s)&&(n+=ms(i)+":"+Il(i,s)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&ey)throw new Error(ny);if(Array.isArray(a)&&typeof a[0]=="string"&&(r==null||r[a[0]]===void 0))for(var h=0;h<a.length;h++)Bl(a[h])&&(n+=ms(i)+":"+Il(i,a[h])+";");else{var c=uu(e,r,a);switch(i){case"animation":case"animationName":{n+=ms(i)+":"+c+";";break}default:n+=i+"{"+c+"}"}}}}return n}var Rl=/label:\s*([^\s;{]+)\s*(;|$)/g,gr;function kl(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="";gr=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,u+=uu(t,r,i);else{var a=i;u+=a[0]}for(var s=1;s<e.length;s++)if(u+=uu(t,r,e[s]),n){var h=i;u+=h[s]}Rl.lastIndex=0;for(var c="",l;(l=Rl.exec(u))!==null;)c+="-"+l[1];var p=J2(u)+c;return{name:p,styles:u,next:gr}}var iy=function(r){return r()},ay=At.useInsertionEffect?At.useInsertionEffect:!1,sy=ay||iy,Ll=At.createContext(typeof HTMLElement<"u"?G2({key:"css"}):null);Ll.Provider;var oy=function(r){return at.forwardRef(function(t,n){var u=at.useContext(Ll);return r(t,u,n)})},cy=At.createContext({}),ly=/^((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)-.*))$/,fy=_l(function(e){return ly.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),dy=!1,hy=fy,py=function(r){return r!=="theme"},ql=function(r){return typeof r=="string"&&r.charCodeAt(0)>96?hy:py},$l=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},my=function(r){var t=r.cache,n=r.serialized,u=r.isStringTag;return Ml(t,n,u),sy(function(){return Z2(t,n,u)}),null},gy=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=$l(r,t,n),h=s||ql(u),c=!h("as");return function(){var l=arguments,p=n&&r.__emotion_styles!==void 0?r.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),l[0]==null||l[0].raw===void 0)p.push.apply(p,l);else{var o=l[0];p.push(o[0]);for(var f=l.length,m=1;m<f;m++)p.push(l[m],o[m])}var d=oy(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(cy)}typeof b.className=="string"?D=Q2(g.registered,y,b.className):b.className!=null&&(D=b.className+" ");var C=kl(p.concat(y),g.registered,E);D+=g.key+"-"+C.name,a!==void 0&&(D+=" "+a);var F=c&&s===void 0?ql(v):h,x={};for(var T in b)c&&T==="as"||F(T)&&(x[T]=b[T]);return x.className=D,w&&(x.ref=w),At.createElement(At.Fragment,null,At.createElement(my,{cache:g,serialized:C,isStringTag:typeof v=="string"}),At.createElement(v,x))});return d.displayName=i!==void 0?i:"Styled("+(typeof u=="string"?u:u.displayName||u.name||"Component")+")",d.defaultProps=r.defaultProps,d.__emotion_real=d,d.__emotion_base=u,d.__emotion_styles=p,d.__emotion_forwardProp=s,Object.defineProperty(d,"toString",{value:function(){return a===void 0&&dy?"NO_COMPONENT_SELECTOR":"."+a}}),d.withComponent=function(b,g){var w=e(b,cs({},t,g,{shouldForwardProp:$l(d,g,!0)}));return w.apply(void 0,p)},d}},by=["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"],gs=gy.bind(null);by.forEach(function(e){gs[e]=gs(e)});/**
|
|
130
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.`),t(...n)}:t}function
|
|
135
|
+
*/function yy(e,r){const t=gs(e,r);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.`),t(...n)}:t}function vy(e,r){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=r(e.__emotion_styles))}const jl=[];function zl(e){return jl[0]=e,kl(jl)}const wy=e=>{const r=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return r.sort((t,n)=>t.val-n.val),r.reduce((t,n)=>({...t,[n.key]:n.val}),{})};function Dy(e){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:n=5,...u}=e,i=wy(r),a=Object.keys(i);function s(o){return`@media (min-width:${typeof r[o]=="number"?r[o]:o}${t})`}function h(o){return`@media (max-width:${(typeof r[o]=="number"?r[o]:o)-n/100}${t})`}function c(o,f){const m=a.indexOf(f);return`@media (min-width:${typeof r[o]=="number"?r[o]:o}${t}) and (max-width:${(m!==-1&&typeof r[a[m]]=="number"?r[a[m]]:f)-n/100}${t})`}function l(o){return a.indexOf(o)+1<a.length?c(o,a[a.indexOf(o)+1]):s(o)}function p(o){const f=a.indexOf(o);return f===0?s(a[1]):f===a.length-1?h(a[f]):c(o,a[a.indexOf(o)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:s,down:h,between:c,only:l,not:p,unit:t,...u}}const Ey={borderRadius:4};function Hl(e=8,r=ss({spacing:e})){if(e.mui)return e;const t=(...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=r(i);return typeof a=="number"?`${a}px`:a}).join(" "));return t.mui=!0,t}function xy(e,r){var n;const t=this;if(t.vars){if(!((n=t.colorSchemes)!=null&&n[e])||typeof t.getColorSchemeSelector!="function")return{};let u=t.getColorSchemeSelector(e);return u==="&"?r:((u.includes("data-")||u.includes("."))&&(u=`*:where(${u.replace(/\s*&$/,"")}) &`),{[u]:r})}return t.palette.mode===e?r:{}}function Ul(e={},...r){const{breakpoints:t={},palette:n={},spacing:u,shape:i={},...a}=e,s=Dy(t),h=Hl(u);let c=zt({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:h,shape:{...Ey,...i}},a);return c=_b(c),c.applyStyles=xy,c=r.reduce((l,p)=>zt(l,p),c),c.unstable_sxConfig={...fi,...a==null?void 0:a.unstable_sxConfig},c.unstable_sx=function(p){return Dn({sx:p,theme:this})},c}function Vl(e){const{variants:r,...t}=e,n={variants:r,style:zl(t),isProcessed:!0};return n.style===t||r&&r.forEach(u=>{typeof u.style!="function"&&(u.style=zl(u.style))}),n}const Ay=Ul();function bs(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Cy(e){return e?(r,t)=>t[e]:null}function Ty(e,r,t){e.theme=Oy(e.theme)?t:e.theme[r]||e.theme}function wi(e,r){const t=typeof r=="function"?r(e):r;if(Array.isArray(t))return t.flatMap(n=>wi(e,n));if(Array.isArray(t==null?void 0:t.variants)){let n;if(t.isProcessed)n=t.style;else{const{variants:u,...i}=t;n=i}return Wl(e,t.variants,[n])}return t!=null&&t.isProcessed?t.style:t}function Wl(e,r,t=[]){var u;let n;e:for(let i=0;i<r.length;i+=1){const a=r[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}),t.push(a.style(n))):t.push(a.style)}return t}function Sy(e={}){const{themeId:r,defaultTheme:t=Ay,rootShouldForwardProp:n=bs,slotShouldForwardProp:u=bs}=e;function i(s){Ty(s,r,t)}return(s,h={})=>{vy(s,y=>y.filter(E=>E!==Dn));const{name:c,slot:l,skipVariantsResolver:p,skipSx:o,overridesResolver:f=Cy(Yl(l)),...m}=h,d=p!==void 0?p:l&&l!=="Root"&&l!=="root"||!1,b=o||!1;let g=bs;l==="Root"||l==="root"?g=n:l?g=u:Ny(s)&&(g=void 0);const w=yy(s,{shouldForwardProp:g,label:_y(c,l),...m}),v=y=>{if(typeof y=="function"&&y.__emotion_real!==y)return function(A){return wi(A,y)};if(Sr(y)){const E=Vl(y);return E.variants?function(C){return wi(C,E)}:E.style}return y},D=(...y)=>{const E=[],A=y.map(v),C=[];if(E.push(i),c&&f&&C.push(function(_){var I,J;const B=(J=(I=_.theme.components)==null?void 0:I[c])==null?void 0:J.styleOverrides;if(!B)return null;const N={};for(const re in B)N[re]=wi(_,B[re]);return f(_,N)}),c&&!d&&C.push(function(_){var N,I;const P=_.theme,B=(I=(N=P==null?void 0:P.components)==null?void 0:N[c])==null?void 0:I.variants;return B?Wl(_,B):null}),b||C.push(Dn),Array.isArray(A[0])){const T=A.shift(),_=new Array(E.length).fill(""),P=new Array(C.length).fill("");let B;B=[..._,...T,...P],B.raw=[..._,...T.raw,...P],E.unshift(B)}const F=[...E,...A,...C],x=w(...F);return s.muiName&&(x.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(x.displayName=Fy(c,l,s)),x};return w.withConfig&&(D.withConfig=w.withConfig),D}}function Fy(e,r,t){return e?`${e}${nn(r||"")}`:`Styled(${vb(t)})`}function _y(e,r){let t;return process.env.NODE_ENV!=="production"&&e&&(t=`${e}-${Yl(r||"Root")}`),t}function Oy(e){for(const r in e)return!1;return!0}function Ny(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Yl(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function ys(e,r=0,t=1){return process.env.NODE_ENV!=="production"&&(e<r||e>t)&&console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`),Ab(e,r,t)}function My(e){e=e.slice(1);const r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let t=e.match(r);return t&&t[0].length===1&&(t=t.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.`),t?`rgb${t.length===4?"a":""}(${t.map((n,u)=>u<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function zr(e){if(e.type)return e;if(e.charAt(0)==="#")return zr(My(e));const r=e.indexOf("("),t=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(t))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
137
137
|
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:$r(9,e));let n=e.substring(r+1,e.length-1),u;if(t==="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:t,values:n,colorSpace:u}}const
|
|
139
|
-
`))}return b}const
|
|
140
|
-
The color object needs to have a \`main\` property or a \`${g}\` property.`:$r(11,b?` (${b})`:"",g));if(typeof
|
|
141
|
-
\`color.main\` should be a string, but \`${JSON.stringify(
|
|
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:t,values:n,colorSpace:u}}const Py=e=>{const r=zr(e);return r.values.slice(0,3).map((t,n)=>r.type.includes("hsl")&&n!==0?`${t}%`:t).join(" ")},iu=(e,r)=>{try{return Py(e)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}};function Di(e){const{type:r,colorSpace:t}=e;let{values:n}=e;return r.includes("rgb")?n=n.map((u,i)=>i<3?parseInt(u,10):u):r.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),r.includes("color")?n=`${t} ${n.join(" ")}`:n=`${n.join(", ")}`,`${r}(${n})`}function Gl(e){e=zr(e);const{values:r}=e,t=r[0],n=r[1]/100,u=r[2]/100,i=n*Math.min(u,1-u),a=(c,l=(c+t/30)%12)=>u-i*Math.max(Math.min(l-3,9-l,1),-1);let s="rgb";const h=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",h.push(r[3])),Di({type:s,values:h})}function vs(e){e=zr(e);let r=e.type==="hsl"||e.type==="hsla"?zr(Gl(e)).values:e.values;return r=r.map(t=>(e.type!=="color"&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function Xl(e,r){const t=vs(e),n=vs(r);return(Math.max(t,n)+.05)/(Math.min(t,n)+.05)}function By(e,r){return e=zr(e),r=ys(r),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${r}`:e.values[3]=r,Di(e)}function Ei(e,r,t){try{return By(e,r)}catch{return e}}function ws(e,r){if(e=zr(e),r=ys(r),e.type.includes("hsl"))e.values[2]*=1-r;else if(e.type.includes("rgb")||e.type.includes("color"))for(let t=0;t<3;t+=1)e.values[t]*=1-r;return Di(e)}function Qe(e,r,t){try{return ws(e,r)}catch{return e}}function Ds(e,r){if(e=zr(e),r=ys(r),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*r;else if(e.type.includes("rgb"))for(let t=0;t<3;t+=1)e.values[t]+=(255-e.values[t])*r;else if(e.type.includes("color"))for(let t=0;t<3;t+=1)e.values[t]+=(1-e.values[t])*r;return Di(e)}function Ze(e,r,t){try{return Ds(e,r)}catch{return e}}function Iy(e,r=.15){return vs(e)>.5?ws(e,r):Ds(e,r)}function xi(e,r,t){try{return Iy(e,r)}catch{return e}}const Ry=At.createContext(void 0);process.env.NODE_ENV!=="production"&&(Oe.node,Oe.object);function ky(e){const{theme:r,name:t,props:n}=e;if(!r||!r.components||!r.components[t])return n;const u=r.components[t];return u.defaultProps?is(u.defaultProps,n):!u.styleOverrides&&!u.variants?is(u,n):n}function Ly({props:e,name:r}){const t=At.useContext(Ry);return ky({props:e,name:r,theme:{components:t}})}const Ql={theme:void 0};function qy(e){let r,t;return function(u){let i=r;return(i===void 0||u.theme!==t)&&(Ql.theme=u.theme,i=Vl(e(Ql)),r=i,t=u.theme),i}}function $y(e=""){function r(...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}${r(...n.slice(1))})`:`, ${u}`}return(n,...u)=>`var(--${e?`${e}-`:""}${n}${r(...u)})`}const Zl=(e,r,t,n=[])=>{let u=e;r.forEach((i,a)=>{a===r.length-1?Array.isArray(u)?u[Number(i)]=t:u&&typeof u=="object"&&(u[i]=t):u&&typeof u=="object"&&(u[i]||(u[i]=n.includes(i)?[]:{}),u=u[i])})},jy=(e,r,t)=>{function n(u,i=[],a=[]){Object.entries(u).forEach(([s,h])=>{(!t||t&&!t([...i,s]))&&h!=null&&(typeof h=="object"&&Object.keys(h).length>0?n(h,[...i,s],Array.isArray(h)?[...a,s]:a):r([...i,s],h,a))})}n(e)},zy=(e,r)=>typeof r=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?r:`${r}px`:r;function Es(e,r){const{prefix:t,shouldSkipGeneratingVar:n}=r||{},u={},i={},a={};return jy(e,(s,h,c)=>{if((typeof h=="string"||typeof h=="number")&&(!n||!n(s,h))){const l=`--${t?`${t}-`:""}${s.join("-")}`,p=zy(s,h);Object.assign(u,{[l]:p}),Zl(i,s,`var(${l})`,c),Zl(a,s,`var(${l}, ${p})`,c)}},s=>s[0]==="vars"),{css:u,vars:i,varsWithDefaults:a}}function Hy(e,r={}){const{getSelector:t=b,disableCssColorScheme:n,colorSchemeSelector:u}=r,{colorSchemes:i={},components:a,defaultColorScheme:s="light",...h}=e,{vars:c,css:l,varsWithDefaults:p}=Es(h,r);let o=p;const f={},{[s]:m,...d}=i;if(Object.entries(d||{}).forEach(([v,D])=>{const{vars:y,css:E,varsWithDefaults:A}=Es(D,r);o=zt(o,A),f[v]={css:E,vars:y}}),m){const{css:v,vars:D,varsWithDefaults:y}=Es(m,r);o=zt(o,y),f[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(f).forEach(([,{vars:D}])=>{v=zt(v,D)}),v},generateStyleSheets:()=>{var C,F;const v=[],D=e.defaultColorScheme||"light";function y(x,T){Object.keys(T).length&&v.push(typeof x=="string"?{[x]:{...T}}:x)}y(t(void 0,{...l}),l);const{[D]:E,...A}=f;if(E){const{css:x}=E,T=(F=(C=i[D])==null?void 0:C.palette)==null?void 0:F.mode,_=!n&&T?{colorScheme:T,...x}:{...x};y(t(D,{..._}),_)}return Object.entries(A).forEach(([x,{css:T}])=>{var B,N;const _=(N=(B=i[x])==null?void 0:B.palette)==null?void 0:N.mode,P=!n&&_?{colorScheme:_,...T}:{...T};y(t(x,{...P}),P)}),v}}}function Uy(e){return function(t){return e==="media"?(process.env.NODE_ENV!=="production"&&t!=="light"&&t!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`),`@media (prefers-color-scheme: ${t})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:e==="class"?`.${t} &`:e==="data"?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}const au={black:"#000",white:"#fff"},Vy={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"},Cn={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"},su={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"},_n={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 Jl(){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:au.white,default:au.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 Wy=Jl();function Kl(){return{text:{primary:au.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:au.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 ef=Kl();function tf(e,r,t,n){const u=n.light||n,i=n.dark||n*1.5;e[r]||(e.hasOwnProperty(t)?e[r]=e[t]:r==="light"?e.light=Ds(e.main,u):r==="dark"&&(e.dark=ws(e.main,i)))}function Yy(e="light"){return e==="dark"?{main:Sn[200],light:Sn[50],dark:Sn[400]}:{main:Sn[700],light:Sn[400],dark:Sn[800]}}function Gy(e="light"){return e==="dark"?{main:Cn[200],light:Cn[50],dark:Cn[400]}:{main:Cn[500],light:Cn[300],dark:Cn[700]}}function Xy(e="light"){return e==="dark"?{main:Tn[500],light:Tn[300],dark:Tn[700]}:{main:Tn[700],light:Tn[400],dark:Tn[800]}}function Qy(e="light"){return e==="dark"?{main:Fn[400],light:Fn[300],dark:Fn[700]}:{main:Fn[700],light:Fn[500],dark:Fn[900]}}function Zy(e="light"){return e==="dark"?{main:_n[400],light:_n[300],dark:_n[700]}:{main:_n[800],light:_n[500],dark:_n[900]}}function Jy(e="light"){return e==="dark"?{main:su[400],light:su[300],dark:su[700]}:{main:"#ed6c02",light:su[500],dark:su[900]}}function xs(e){const{mode:r="light",contrastThreshold:t=3,tonalOffset:n=.2,...u}=e,i=e.primary||Yy(r),a=e.secondary||Gy(r),s=e.error||Xy(r),h=e.info||Qy(r),c=e.success||Zy(r),l=e.warning||Jy(r);function p(d){const b=Xl(d,ef.text.primary)>=t?ef.text.primary:Wy.text.primary;if(process.env.NODE_ENV!=="production"){const g=Xl(d,b);g<3&&console.error([`MUI: The contrast ratio of ${g}:1 for ${b} on ${d}`,"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:d,name:b,mainShade:g=500,lightShade:w=300,darkShade:v=700})=>{if(d={...d},!d.main&&d[g]&&(d.main=d[g]),!d.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 d.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${b?` (${b})`:""} provided to augmentColor(color) is invalid.
|
|
141
|
+
\`color.main\` should be a string, but \`${JSON.stringify(d.main)}\` was provided instead.
|
|
142
142
|
|
|
143
143
|
Did you intend to use one of the following approaches?
|
|
144
144
|
|
|
@@ -150,15 +150,15 @@ const theme1 = createTheme({ palette: {
|
|
|
150
150
|
|
|
151
151
|
const theme2 = createTheme({ palette: {
|
|
152
152
|
primary: { main: green[500] },
|
|
153
|
-
} });`:$r(12,b?` (${b})`:"",JSON.stringify(
|
|
154
|
-
`)),Object.keys(
|
|
153
|
+
} });`:$r(12,b?` (${b})`:"",JSON.stringify(d.main)));return tf(d,"light",w,n),tf(d,"dark",v,n),d.contrastText||(d.contrastText=p(d.main)),d};let f;return r==="light"?f=Jl():r==="dark"&&(f=Kl()),process.env.NODE_ENV!=="production"&&(f||console.error(`MUI: The palette mode \`${r}\` is not supported.`)),zt({common:{...au},mode:r,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:l,name:"warning"}),info:o({color:h,name:"info"}),success:o({color:c,name:"success"}),grey:Vy,contrastThreshold:t,getContrastText:p,augmentColor:o,tonalOffset:n,...f},u)}function Ky(e){const r={};return Object.entries(e).forEach(n=>{const[u,i]=n;typeof i=="object"&&(r[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||""}`)}),r}function ev(e,r){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...r}}function tv(e){return Math.round(e*1e5)/1e5}const rf={textTransform:"uppercase"},nf='"Roboto", "Helvetica", "Arial", sans-serif';function rv(e,r){const{fontFamily:t=nf,fontSize:n=14,fontWeightLight:u=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:h=16,allVariants:c,pxToRem:l,...p}=typeof r=="function"?r(e):r;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof h!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const o=n/14,f=l||(b=>`${b/h*o}rem`),m=(b,g,w,v,D)=>({fontFamily:t,fontWeight:b,fontSize:f(g),lineHeight:w,...t===nf?{letterSpacing:`${tv(v/g)}em`}:{},...D,...c}),d={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,rf),caption:m(i,12,1.66,.4),overline:m(i,12,2.66,1,rf),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return zt({htmlFontSize:h,pxToRem:f,fontFamily:t,fontSize:n,fontWeightLight:u,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...d},p,{clone:!1})}const nv=.2,uv=.14,iv=.12;function rt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${nv})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${uv})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${iv})`].join(",")}const av=["none",rt(0,2,1,-1,0,1,1,0,0,1,3,0),rt(0,3,1,-2,0,2,2,0,0,1,5,0),rt(0,3,3,-2,0,3,4,0,0,1,8,0),rt(0,2,4,-1,0,4,5,0,0,1,10,0),rt(0,3,5,-1,0,5,8,0,0,1,14,0),rt(0,3,5,-1,0,6,10,0,0,1,18,0),rt(0,4,5,-2,0,7,10,1,0,2,16,1),rt(0,5,5,-3,0,8,10,1,0,3,14,2),rt(0,5,6,-3,0,9,12,1,0,3,16,2),rt(0,6,6,-3,0,10,14,1,0,4,18,3),rt(0,6,7,-4,0,11,15,1,0,4,20,3),rt(0,7,8,-4,0,12,17,2,0,5,22,4),rt(0,7,8,-4,0,13,19,2,0,5,24,4),rt(0,7,9,-4,0,14,21,2,0,5,26,4),rt(0,8,9,-5,0,15,22,2,0,6,28,5),rt(0,8,10,-5,0,16,24,2,0,6,30,5),rt(0,8,11,-5,0,17,26,2,0,6,32,5),rt(0,9,11,-5,0,18,28,2,0,7,34,6),rt(0,9,12,-6,0,19,29,2,0,7,36,6),rt(0,10,13,-6,0,20,31,3,0,8,38,7),rt(0,10,13,-6,0,21,33,3,0,8,40,7),rt(0,10,14,-6,0,22,35,3,0,8,42,7),rt(0,11,14,-7,0,23,36,3,0,9,44,8),rt(0,11,15,-7,0,24,38,3,0,9,46,8)],sv={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)"},ov={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function uf(e){return`${Math.round(e)}ms`}function cv(e){if(!e)return 0;const r=e/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function lv(e){const r={...sv,...e.easing},t={...ov,...e.duration};return{getAutoHeightDuration:cv,create:(u=["all"],i={})=>{const{duration:a=t.standard,easing:s=r.easeInOut,delay:h=0,...c}=i;if(process.env.NODE_ENV!=="production"){const l=o=>typeof o=="string",p=o=>!Number.isNaN(parseFloat(o));!l(u)&&!Array.isArray(u)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(a)&&!l(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),l(s)||console.error('MUI: Argument "easing" must be a string.'),!p(h)&&!l(h)&&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(l=>`${l} ${typeof a=="string"?a:uf(a)} ${s} ${typeof h=="string"?h:uf(h)}`).join(",")},...e,easing:r,duration:t}}const fv={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function dv(e){return Sr(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function af(e={}){const r={...e};function t(n){const u=Object.entries(n);for(let i=0;i<u.length;i++){const[a,s]=u[i];!dv(s)||a.startsWith("unstable_")?delete n[a]:Sr(s)&&(n[a]={...s},t(n[a]))}}return t(r),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
155
155
|
|
|
156
156
|
const theme = ${JSON.stringify(r,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
|
-
`))}
|
|
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 vv(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const br=e=>{try{return e()}catch{}},wv=(e="mui")=>qy(e);function Co(e,r,t,n){if(!r)return;r=r===!0?{}:r;const u=n==="dark"?"dark":"light";if(!t){e[n]=pv({...r,palette:{mode:u,...r==null?void 0:r.palette}});return}const{palette:i,...a}=Ao({...t,palette:{mode:u,...r==null?void 0:r.palette}});return e[n]={...r,palette:i,opacity:{...ol(u),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||sl(u)},a}function Dv(e={},...r){const{colorSchemes:t={light:!0},defaultColorScheme:n,disableCssColorScheme:u=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=mv,colorSchemeSelector:o=t.light&&t.dark?"media":void 0,rootSelector:h=":root",...f}=e,c=Object.keys(t)[0],p=n||(t.light&&c!=="light"?"light":c),s=wv(i),{[p]:d,light:m,dark:l,...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.`:$r(21,p));const v=Co(g,w,f,p);m&&!g.light&&Co(g,m,void 0,"light"),l&&!g.dark&&Co(g,l,void 0,"dark");let D={defaultColorScheme:p,...v,cssVarPrefix:i,colorSchemeSelector:o,rootSelector:h,getCssVar:s,colorSchemes:g,font:{...Jy(v.typography),...v.font},spacing:vv(f.spacing)};Object.keys(D.colorSchemes).forEach(F=>{const x=D.colorSchemes[F].palette,T=_=>{const P=_.split("-"),B=P[1],N=P[2];return s(_,x[B][N])};if(x.mode==="light"&&(j(x.common,"background","#fff"),j(x.common,"onBackground","#000")),x.mode==="dark"&&(j(x.common,"background","#000"),j(x.common,"onBackground","#fff")),yv(x,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),x.mode==="light"){j(x.Alert,"errorColor",Qe(x.error.light,.6)),j(x.Alert,"infoColor",Qe(x.info.light,.6)),j(x.Alert,"successColor",Qe(x.success.light,.6)),j(x.Alert,"warningColor",Qe(x.warning.light,.6)),j(x.Alert,"errorFilledBg",T("palette-error-main")),j(x.Alert,"infoFilledBg",T("palette-info-main")),j(x.Alert,"successFilledBg",T("palette-success-main")),j(x.Alert,"warningFilledBg",T("palette-warning-main")),j(x.Alert,"errorFilledColor",br(()=>x.getContrastText(x.error.main))),j(x.Alert,"infoFilledColor",br(()=>x.getContrastText(x.info.main))),j(x.Alert,"successFilledColor",br(()=>x.getContrastText(x.success.main))),j(x.Alert,"warningFilledColor",br(()=>x.getContrastText(x.warning.main))),j(x.Alert,"errorStandardBg",Ze(x.error.light,.9)),j(x.Alert,"infoStandardBg",Ze(x.info.light,.9)),j(x.Alert,"successStandardBg",Ze(x.success.light,.9)),j(x.Alert,"warningStandardBg",Ze(x.warning.light,.9)),j(x.Alert,"errorIconColor",T("palette-error-main")),j(x.Alert,"infoIconColor",T("palette-info-main")),j(x.Alert,"successIconColor",T("palette-success-main")),j(x.Alert,"warningIconColor",T("palette-warning-main")),j(x.AppBar,"defaultBg",T("palette-grey-100")),j(x.Avatar,"defaultBg",T("palette-grey-400")),j(x.Button,"inheritContainedBg",T("palette-grey-300")),j(x.Button,"inheritContainedHoverBg",T("palette-grey-A100")),j(x.Chip,"defaultBorder",T("palette-grey-400")),j(x.Chip,"defaultAvatarColor",T("palette-grey-700")),j(x.Chip,"defaultIconColor",T("palette-grey-700")),j(x.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),j(x.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),j(x.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),j(x.LinearProgress,"primaryBg",Ze(x.primary.main,.62)),j(x.LinearProgress,"secondaryBg",Ze(x.secondary.main,.62)),j(x.LinearProgress,"errorBg",Ze(x.error.main,.62)),j(x.LinearProgress,"infoBg",Ze(x.info.main,.62)),j(x.LinearProgress,"successBg",Ze(x.success.main,.62)),j(x.LinearProgress,"warningBg",Ze(x.warning.main,.62)),j(x.Skeleton,"bg",`rgba(${T("palette-text-primaryChannel")} / 0.11)`),j(x.Slider,"primaryTrack",Ze(x.primary.main,.62)),j(x.Slider,"secondaryTrack",Ze(x.secondary.main,.62)),j(x.Slider,"errorTrack",Ze(x.error.main,.62)),j(x.Slider,"infoTrack",Ze(x.info.main,.62)),j(x.Slider,"successTrack",Ze(x.success.main,.62)),j(x.Slider,"warningTrack",Ze(x.warning.main,.62));const _=xi(x.background.default,.8);j(x.SnackbarContent,"bg",_),j(x.SnackbarContent,"color",br(()=>x.getContrastText(_))),j(x.SpeedDialAction,"fabHoverBg",xi(x.background.paper,.15)),j(x.StepConnector,"border",T("palette-grey-400")),j(x.StepContent,"border",T("palette-grey-400")),j(x.Switch,"defaultColor",T("palette-common-white")),j(x.Switch,"defaultDisabledColor",T("palette-grey-100")),j(x.Switch,"primaryDisabledColor",Ze(x.primary.main,.62)),j(x.Switch,"secondaryDisabledColor",Ze(x.secondary.main,.62)),j(x.Switch,"errorDisabledColor",Ze(x.error.main,.62)),j(x.Switch,"infoDisabledColor",Ze(x.info.main,.62)),j(x.Switch,"successDisabledColor",Ze(x.success.main,.62)),j(x.Switch,"warningDisabledColor",Ze(x.warning.main,.62)),j(x.TableCell,"border",Ze(Ei(x.divider,1),.88)),j(x.Tooltip,"bg",Ei(x.grey[700],.92))}if(x.mode==="dark"){j(x.Alert,"errorColor",Ze(x.error.light,.6)),j(x.Alert,"infoColor",Ze(x.info.light,.6)),j(x.Alert,"successColor",Ze(x.success.light,.6)),j(x.Alert,"warningColor",Ze(x.warning.light,.6)),j(x.Alert,"errorFilledBg",T("palette-error-dark")),j(x.Alert,"infoFilledBg",T("palette-info-dark")),j(x.Alert,"successFilledBg",T("palette-success-dark")),j(x.Alert,"warningFilledBg",T("palette-warning-dark")),j(x.Alert,"errorFilledColor",br(()=>x.getContrastText(x.error.dark))),j(x.Alert,"infoFilledColor",br(()=>x.getContrastText(x.info.dark))),j(x.Alert,"successFilledColor",br(()=>x.getContrastText(x.success.dark))),j(x.Alert,"warningFilledColor",br(()=>x.getContrastText(x.warning.dark))),j(x.Alert,"errorStandardBg",Qe(x.error.light,.9)),j(x.Alert,"infoStandardBg",Qe(x.info.light,.9)),j(x.Alert,"successStandardBg",Qe(x.success.light,.9)),j(x.Alert,"warningStandardBg",Qe(x.warning.light,.9)),j(x.Alert,"errorIconColor",T("palette-error-main")),j(x.Alert,"infoIconColor",T("palette-info-main")),j(x.Alert,"successIconColor",T("palette-success-main")),j(x.Alert,"warningIconColor",T("palette-warning-main")),j(x.AppBar,"defaultBg",T("palette-grey-900")),j(x.AppBar,"darkBg",T("palette-background-paper")),j(x.AppBar,"darkColor",T("palette-text-primary")),j(x.Avatar,"defaultBg",T("palette-grey-600")),j(x.Button,"inheritContainedBg",T("palette-grey-800")),j(x.Button,"inheritContainedHoverBg",T("palette-grey-700")),j(x.Chip,"defaultBorder",T("palette-grey-700")),j(x.Chip,"defaultAvatarColor",T("palette-grey-300")),j(x.Chip,"defaultIconColor",T("palette-grey-300")),j(x.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),j(x.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),j(x.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),j(x.LinearProgress,"primaryBg",Qe(x.primary.main,.5)),j(x.LinearProgress,"secondaryBg",Qe(x.secondary.main,.5)),j(x.LinearProgress,"errorBg",Qe(x.error.main,.5)),j(x.LinearProgress,"infoBg",Qe(x.info.main,.5)),j(x.LinearProgress,"successBg",Qe(x.success.main,.5)),j(x.LinearProgress,"warningBg",Qe(x.warning.main,.5)),j(x.Skeleton,"bg",`rgba(${T("palette-text-primaryChannel")} / 0.13)`),j(x.Slider,"primaryTrack",Qe(x.primary.main,.5)),j(x.Slider,"secondaryTrack",Qe(x.secondary.main,.5)),j(x.Slider,"errorTrack",Qe(x.error.main,.5)),j(x.Slider,"infoTrack",Qe(x.info.main,.5)),j(x.Slider,"successTrack",Qe(x.success.main,.5)),j(x.Slider,"warningTrack",Qe(x.warning.main,.5));const _=xi(x.background.default,.98);j(x.SnackbarContent,"bg",_),j(x.SnackbarContent,"color",br(()=>x.getContrastText(_))),j(x.SpeedDialAction,"fabHoverBg",xi(x.background.paper,.15)),j(x.StepConnector,"border",T("palette-grey-600")),j(x.StepContent,"border",T("palette-grey-600")),j(x.Switch,"defaultColor",T("palette-grey-300")),j(x.Switch,"defaultDisabledColor",T("palette-grey-600")),j(x.Switch,"primaryDisabledColor",Qe(x.primary.main,.55)),j(x.Switch,"secondaryDisabledColor",Qe(x.secondary.main,.55)),j(x.Switch,"errorDisabledColor",Qe(x.error.main,.55)),j(x.Switch,"infoDisabledColor",Qe(x.info.main,.55)),j(x.Switch,"successDisabledColor",Qe(x.success.main,.55)),j(x.Switch,"warningDisabledColor",Qe(x.warning.main,.55)),j(x.TableCell,"border",Qe(Ei(x.divider,1),.68)),j(x.Tooltip,"bg",Ei(x.grey[700],.92))}_r(x.background,"default"),_r(x.background,"paper"),_r(x.common,"background"),_r(x.common,"onBackground"),_r(x,"divider"),Object.keys(x).forEach(_=>{const P=x[_];_!=="tonalOffset"&&P&&typeof P=="object"&&(P.main&&j(x[_],"mainChannel",iu(su(P.main))),P.light&&j(x[_],"lightChannel",iu(su(P.light))),P.dark&&j(x[_],"darkChannel",iu(su(P.dark))),P.contrastText&&j(x[_],"contrastTextChannel",iu(su(P.contrastText))),_==="text"&&(_r(x[_],"primary"),_r(x[_],"secondary")),_==="action"&&(P.active&&_r(x[_],"active"),P.selected&&_r(x[_],"selected")))})}),D=r.reduce((F,x)=>zt(F,x),D);const y={prefix:i,disableCssColorScheme:u,shouldSkipGeneratingVar:a,getSelector:bv(D)},{vars:E,generateThemeVars:A,generateStyleSheets:C}=zy(D,y);return D.vars=E,Object.entries(D.colorSchemes[D.defaultColorScheme]).forEach(([F,x])=>{D[F]=x}),D.generateThemeVars=A,D.generateStyleSheets=C,D.generateSpacing=function(){return Uf(f.spacing,ao(this))},D.getColorSchemeSelector=Hy(o),D.spacing=D.generateSpacing(),D.shouldSkipGeneratingVar=a,D.unstable_sxConfig={...li,...f==null?void 0:f.unstable_sxConfig},D.unstable_sx=function(x){return Dn({sx:x,theme:this})},D.toRuntimeSource=al,D}function cl(e,r,t){e.colorSchemes&&t&&(e.colorSchemes[r]={...t!==!0&&t,palette:xo({...t===!0?{}:t.palette,mode:r})})}function Ev(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,o=i||"light",h=u==null?void 0:u[o],f={...u,...t?{[o]:{...typeof h!="boolean"&&h,palette:t}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Ao(e,...r);let c=t;"palette"in e||f[o]&&(f[o]!==!0?c=f[o].palette:o==="dark"&&(c={mode:"dark"}));const p=Ao({...e,palette:c},...r);return p.defaultColorScheme=o,p.colorSchemes=f,p.palette.mode==="light"&&(p.colorSchemes.light={...f.light!==!0&&f.light,palette:p.palette},cl(p,"dark",f.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...f.dark!==!0&&f.dark,palette:p.palette},cl(p,"light",f.light)),p}return!t&&!("light"in f)&&o==="light"&&(f.light=!0),Dv({...a,colorSchemes:f,defaultColorScheme:o,...typeof n!="boolean"&&n},...r)}const xv=Ev(),Av="$$material";function Cv(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Tv=Ty({themeId:Av,defaultTheme:xv,rootShouldForwardProp:e=>Cv(e)&&e!=="classes"}),Sv=Ly;process.env.NODE_ENV!=="production"&&(Oe.node,Oe.object.isRequired);function Fv(e){return ky(e)}function _v(e){return io("MuiSvgIcon",e)}Eb("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ov=e=>{const{color:r,fontSize:t,classes:n}=e,u={root:["root",r!=="inherit"&&`color${un(r)}`,`fontSize${un(t)}`]};return vb(u,_v,n)},Nv=Tv("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,t.color!=="inherit"&&r[`color${un(t.color)}`],r[`fontSize${un(t.fontSize)}`]]}})(Sv(({theme:e})=>{var r,t,n,u,i,a,o,h,f,c,p,s,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:l=>!l.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:((h=(o=e.typography)==null?void 0:o.pxToRem)==null?void 0:h.call(o,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((c=(f=e.typography)==null?void 0:f.pxToRem)==null?void 0:c.call(f,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,l])=>l&&l.main).map(([l])=>{var b,g;return{props:{color:l},style:{color:(g=(b=(e.vars??e).palette)==null?void 0:b[l])==null?void 0:g.main}}}),{props:{color:"action"},style:{color:(s=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:s.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}}]}})),Ai=At.forwardRef(function(r,t){const n=Fv({props:r,name:"MuiSvgIcon"}),{children:u,className:i,color:a="inherit",component:o="svg",fontSize:h="medium",htmlColor:f,inheritViewBox:c=!1,titleAccess:p,viewBox:s="0 0 24 24",...d}=n,m=At.isValidElement(u)&&u.type==="svg",l={...n,color:a,component:o,fontSize:h,instanceFontSize:r.fontSize,inheritViewBox:c,viewBox:s,hasSvgAsChild:m},b={};c||(b.viewBox=s);const g=Ov(l);return K.jsxs(Nv,{as:o,className:Ab(g.root,i),focusable:"false",color:f,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:t,...b,...d,...m&&u.props,ownerState:l,children:[m?u.props.children:u,p?K.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(Ai.propTypes={children:Oe.node,classes:Oe.object,className:Oe.string,color:Oe.oneOfType([Oe.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),Oe.string]),component:Oe.elementType,fontSize:Oe.oneOfType([Oe.oneOf(["inherit","large","medium","small"]),Oe.string]),htmlColor:Oe.string,inheritViewBox:Oe.bool,shapeRendering:Oe.string,sx:Oe.oneOfType([Oe.arrayOf(Oe.oneOfType([Oe.func,Oe.object,Oe.bool])),Oe.func,Oe.object]),titleAccess:Oe.string,viewBox:Oe.string}),Ai.muiName="SvgIcon";function To(e,r){function t(n,u){return K.jsx(Ai,{"data-testid":`${r}Icon`,ref:u,...n,children:e})}return process.env.NODE_ENV!=="production"&&(t.displayName=`${r}Icon`),t.muiName=Ai.muiName,At.memo(At.forwardRef(t))}const Mv=To(K.jsx("path",{d:"m7 14 5-5 5 5z"}),"ArrowDropUp"),Pv=To(K.jsx("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");function Bv(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 cu=e=>/^-?(?:\d+|\d*\.\d+|\d+\.)$/.test(e);function fl(e){const{disabled:r,readonly:t,decimalPlaces:n=14,name:u,rules:i,sx:a,...o}=e,{field:h,fieldState:{error:f}}=vr.useController({name:u,rules:{...i,validate:s=>!cu(s)&&s!==""?"Please enter a valid number.":!0}}),c=s=>{s.preventDefault();const d=s.target,{value:m}=d;if(!cu(m)){d.value=Bv(m);const l=new Event("input",{bubbles:!0});d.dispatchEvent(l)}},p=s=>{const d=parseFloat(s);if(cu(s)){const m=ub(d,n);h.onChange(tb(m))}h.onBlur()};return t?K.jsx(Kr,{type:"NUMBER",label:o.label,value:h.value,sx:a,name:u,error:f==null?void 0:f.message}):K.jsx(ke.TextField,{...h,...o,onInput:c,onBlur:s=>p(s.target.value),fullWidth:!0,error:!!f,helperText:!!f&&K.jsx(fn,{error:f.message}),disabled:r,sx:{...a,m:0},slotProps:{input:{endAdornment:K.jsxs(ke.Box,{sx:{display:"flex",flexDirection:"column",gap:1,alignItems:"center"},children:[K.jsx(ke.IconButton,{size:"small",onClick:()=>{if(cu(h.value)||h.value===""){const s=ab(h.value||0,1);h.onChange(s),p(s)}},disabled:r,sx:{pt:0,pb:0},children:K.jsx(Mv,{fontSize:"small","data-testid":"increment-button"})}),K.jsx(ke.IconButton,{size:"small",onClick:()=>{if(cu(h.value)||h.value===""){const s=ob(h.value||0,1);h.onChange(s),p(s)}},disabled:r,sx:{pt:0,pb:0},children:K.jsx(Pv,{fontSize:"small","data-testid":"decrement-button"})})]})}}})}function ll({name:e,label:r,sx:t={}}){const{control:n}=vr.useFormContext();return K.jsx(vr.Controller,{name:e,control:n,render:({field:u})=>K.jsx(Kr,{name:e,label:r,type:"CALCULATEDNUMBER",value:u.value||0,sx:t})})}function dl({name:e,label:r,options:t=[],sx:n={},disabled:u,rules:i={},readonly:a}){const{field:o,fieldState:{error:h}}=vr.useController({name:e,rules:i}),f=t.map(p=>({label:p.displayValue,id:p.key})),c=f.find(p=>p.id===o.value);return a?K.jsx(Kr,{name:e,label:r,type:"DROPDOWN",value:c==null?void 0:c.label,sx:n}):K.jsx(ke.Autocomplete,{"data-test-id":"form-field-select",...o,value:c,onChange:(p,s)=>o.onChange(s?s.id:null),options:f,renderInput:p=>K.jsx(ke.TextField,{...p,label:r,error:!!h,helperText:!!h&&K.jsx(fn,{error:h.message}),slotProps:{inputLabel:{shrink:!0}},sx:{...n,m:0}}),fullWidth:!0,disabled:u})}const Iv=To(K.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 So,hl;function Rv(){return hl||(hl=1,So=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(o){return n[o]}).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=pf()},function(e,r){e.exports=at},function(e,r,t){t.r(r);var n=t(1),u=t(0),i=function(){return(i=Object.assign||function(m){for(var l,b=1,g=arguments.length;b<g;b++)for(var w in l=arguments[b])Object.prototype.hasOwnProperty.call(l,w)&&(m[w]=l[w]);return m}).apply(this,arguments)},a=function(m,l){var b={};for(var g in m)Object.prototype.hasOwnProperty.call(m,g)&&l.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++)l.indexOf(g[w])<0&&Object.prototype.propertyIsEnumerable.call(m,g[w])&&(b[g[w]]=m[g[w]])}return b},o=0,h=n.forwardRef(function(m,l){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,F=C===void 0?null:C,x=m.vertical,T=x===void 0?null:x,_=m.rotate,P=_===void 0?null:_,B=m.spin,N=B===void 0?null:B,I=m.style,J=I===void 0?{}:I,re=m.children,ie=a(m,["title","description","size","color","horizontal","vertical","rotate","spin","style","children"]);o++;var L,Z=N!==null&&N,ce=n.Children.map(re,function(he){var se=he;Z!==!0&&(Z=(N===null?se.props.spin:N)===!0);var be=se.props.size;typeof y=="number"&&typeof se.props.size=="number"&&(be=se.props.size/y);var ye={size:be,color:A===null?se.props.color:A,horizontal:F===null?se.props.horizontal:F,vertical:T===null?se.props.vertical:T,rotate:P===null?se.props.rotate:P,spin:N===null?se.props.spin:N,inStack:!0};return n.cloneElement(se,ye)});y!==null&&(J.width=typeof y=="string"?y:1.5*y+"rem");var Y,oe="stack_labelledby_"+o,de="stack_describedby_"+o;if(g)L=v?oe+" "+de:oe;else if(Y="presentation",v)throw new Error("title attribute required when description is set");return n.createElement("svg",i({ref:l,viewBox:"0 0 24 24",style:J,role:Y,"aria-labelledby":L},ie),g&&n.createElement("title",{id:oe},g),v&&n.createElement("desc",{id:de},v),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) } }"),ce)});h.displayName="Stack",h.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},h.defaultProps={size:null,color:null,horizontal:null,vertical:null,rotate:null,spin:null};var f=h;t.d(r,"Icon",function(){return d}),t.d(r,"Stack",function(){return f});var c=function(){return(c=Object.assign||function(m){for(var l,b=1,g=arguments.length;b<g;b++)for(var w in l=arguments[b])Object.prototype.hasOwnProperty.call(l,w)&&(m[w]=l[w]);return m}).apply(this,arguments)},p=function(m,l){var b={};for(var g in m)Object.prototype.hasOwnProperty.call(m,g)&&l.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++)l.indexOf(g[w])<0&&Object.prototype.propertyIsEnumerable.call(m,g[w])&&(b[g[w]]=m[g[w]])}return b},s=0,d=n.forwardRef(function(m,l){var b=m.path,g=m.id,w=g===void 0?++s: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,F=m.color,x=F===void 0?"currentColor":F,T=m.horizontal,_=T!==void 0&&T,P=m.vertical,B=P!==void 0&&P,N=m.rotate,I=N===void 0?0:N,J=m.spin,re=J!==void 0&&J,ie=m.style,L=ie===void 0?{}:ie,Z=m.inStack,ce=Z!==void 0&&Z,Y=p(m,["path","id","title","description","size","color","horizontal","vertical","rotate","spin","style","inStack"]),oe={},de=[];C!==null&&(ce?de.push("scale("+C+")"):(L.width=typeof C=="string"?C:1.5*C+"rem",L.height=L.width)),_&&de.push("scaleX(-1)"),B&&de.push("scaleY(-1)"),I!==0&&de.push("rotate("+I+"deg)"),x!==null&&(oe.fill=x);var he=n.createElement("path",c({d:b,style:oe},ce?Y:{})),se=he;de.length>0&&(L.transform=de.join(" "),L.transformOrigin="center",ce&&(se=n.createElement("g",{style:L},he,n.createElement("rect",{width:"24",height:"24",fill:"transparent"}))));var be,ye=se,ve=re===!0||typeof re!="number"?2:re,q=!ce&&(_||B);if(ve<0&&(q=!q),re&&(ye=n.createElement("g",{style:{animation:"spin"+(q?"-inverse":"")+" linear "+Math.abs(ve)+"s infinite",transformOrigin:"center"}},se,!(_||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",c({ref:l,viewBox:"0 0 24 24",style:L,role:k,"aria-labelledby":be},Y),D&&n.createElement("title",{id:W},D),E&&n.createElement("desc",{id:me},E),!ce&&re&&(q?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}])),So}var kv=Rv();const Fo=Ni(kv);var Lv="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",qv="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",$v="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z";function an({children:e,internal:r,required:t,helpText:n,isCalculated:u,readonly:i,deleted:a,isSection:o}){const h={display:"flex",alignItems:"center"},f=i?{...h,gap:1}:{...h,justifyContent:"space-between"};return K.jsxs(ke.Box,{sx:f,children:[K.jsxs(ke.Typography,{"data-testid":"form-field-label",variant:"h4",color:"black",sx:{whiteSpace:"normal",wordBreak:"break-word"},children:[e,t&&"*"]}),K.jsxs(ke.Box,{sx:{display:"flex",gap:1},children:[r&&K.jsx(ke.Tooltip,{placement:"top",title:o?"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:K.jsx(Fo,{path:qv,size:"20px",color:Ur.capitalDesignTokens.foundations.colors.yellow700,"data-testid":"internal-icon"})}),n&&n!==""&&K.jsx(ke.Tooltip,{placement:"top",title:K.jsx(ke.Typography,{variant:"bodyXSmall",sx:{whiteSpace:"pre-line"},children:n}),sx:{cursor:"default"},children:K.jsx(Iv,{fontSize:"small",htmlColor:Ur.capitalDesignTokens.foundations.colors.gray600,"data-testid":"help-icon"})}),u&&K.jsx(ke.Tooltip,{placement:"top",title:"This field is calculated.",sx:{cursor:"default"},children:K.jsx(Fo,{path:Lv,size:"20px",color:Ur.capitalDesignTokens.foundations.colors.gray800,"data-testid":"calculation-icon"})}),a&&K.jsx(ke.Tooltip,{placement:"top",title:"This field was deleted.",sx:{cursor:"default"},children:K.jsx(Fo,{path:$v,size:"20px",color:Ur.capitalDesignTokens.foundations.colors.gray800})})]})]})}const jv={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"},zv={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 Hv{constructor(r){this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib=void 0,this.locale=void 0,this.formats=void 0,this.formatTokenMap=jv,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 o=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;return a.match(o).map(h=>{const f=h[0];if(f==="p"||f==="P"){const c=this.longFormatters[f];return c(h,this.locale.formatLong)}return h}).join("")},this.formatNumber=a=>a,this.getDayOfWeek=a=>a.getDay()+1;const{locale:t,formats:n,longFormatters:u,lib:i}=r;this.locale=t,this.formats=jn({},zv,n),this.longFormatters=u,this.lib=i||"date-fns"}}class Uv extends Hv{constructor({locale:r,formats:t}={}){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(!kn)throw new Error("MUI: The minimum supported `date-fns` package version compatible with this adapter is `3.2.x`.")}super({locale:r??Pi,formats:t,longFormatters:kn}),this.parse=(n,u)=>n===""?null:Ph(n,u,new Date,{locale:this.locale}),this.isValid=n=>n==null?!1:
|
|
161
|
+
export default theme;`}function As(e={},...r){const{breakpoints:t,mixins:n={},spacing:u,palette:i={},transitions:a={},typography:s={},shape:h,...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 l=xs(i),p=Ul(e);let o=zt(p,{mixins:ev(p.breakpoints,n),palette:l,shadows:av.slice(),typography:rv(l,s),transitions:lv(a),zIndex:{...fv}});if(o=zt(o,c),o=r.reduce((f,m)=>zt(f,m),o),process.env.NODE_ENV!=="production"){const f=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],m=(d,b)=>{let g;for(g in d){const w=d[g];if(f.includes(g)&&Object.keys(w).length>0){if(process.env.NODE_ENV!=="production"){const v=as("",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(d,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
|
+
`))}d[g]={}}}};Object.keys(o.components).forEach(d=>{const b=o.components[d].styleOverrides;b&&d.startsWith("Mui")&&m(b,d)})}return o.unstable_sxConfig={...fi,...c==null?void 0:c.unstable_sxConfig},o.unstable_sx=function(m){return Dn({sx:m,theme:this})},o.toRuntimeSource=af,o}function hv(e){let r;return e<1?r=5.11916*e**2:r=4.5*Math.log(e+1)+2,Math.round(r*10)/1e3}const pv=[...Array(25)].map((e,r)=>{if(r===0)return"none";const t=hv(r);return`linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`});function sf(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function of(e){return e==="dark"?pv:[]}function mv(e){const{palette:r={mode:"light"},opacity:t,overlays:n,...u}=e,i=xs(r);return{palette:i,opacity:{...sf(i.mode),...t},overlays:n||of(i.mode),...u}}function gv(e){var r;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((r=e[1])!=null&&r.match(/(mode|contrastThreshold|tonalOffset)/))}const bv=e=>[...[...Array(25)].map((r,t)=>`--${e?`${e}-`:""}overlays-${t}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],yv=e=>(r,t)=>{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===r){if(r==="dark"){const a={};return bv(e.cssVarPrefix).forEach(s=>{a[s]=t[s],delete t[s]}),i==="media"?{[n]:t,"@media (prefers-color-scheme: dark)":{[n]:a}}:i?{[i.replace("%s",r)]:a,[`${n}, ${i.replace("%s",r)}`]:t}:{[n]:{...t,...a}}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(r))}`}else if(r){if(i==="media")return{[`@media (prefers-color-scheme: ${String(r)})`]:{[n]:t}};if(i)return i.replace("%s",String(r))}return n};function vv(e,r){r.forEach(t=>{e[t]||(e[t]={})})}function j(e,r,t){!e[r]&&t&&(e[r]=t)}function ou(e){return typeof e!="string"||!e.startsWith("hsl")?e:Gl(e)}function _r(e,r){`${r}Channel`in e||(e[`${r}Channel`]=iu(ou(e[r]),`MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` 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.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function wv(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const br=e=>{try{return e()}catch{}},Dv=(e="mui")=>$y(e);function Cs(e,r,t,n){if(!r)return;r=r===!0?{}:r;const u=n==="dark"?"dark":"light";if(!t){e[n]=mv({...r,palette:{mode:u,...r==null?void 0:r.palette}});return}const{palette:i,...a}=As({...t,palette:{mode:u,...r==null?void 0:r.palette}});return e[n]={...r,palette:i,opacity:{...sf(u),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||of(u)},a}function Ev(e={},...r){const{colorSchemes:t={light:!0},defaultColorScheme:n,disableCssColorScheme:u=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=gv,colorSchemeSelector:s=t.light&&t.dark?"media":void 0,rootSelector:h=":root",...c}=e,l=Object.keys(t)[0],p=n||(t.light&&l!=="light"?"light":l),o=Dv(i),{[p]:f,light:m,dark:d,...b}=t,g={...b};let w=f;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.`:$r(21,p));const v=Cs(g,w,c,p);m&&!g.light&&Cs(g,m,void 0,"light"),d&&!g.dark&&Cs(g,d,void 0,"dark");let D={defaultColorScheme:p,...v,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:h,getCssVar:o,colorSchemes:g,font:{...Ky(v.typography),...v.font},spacing:wv(c.spacing)};Object.keys(D.colorSchemes).forEach(F=>{const x=D.colorSchemes[F].palette,T=_=>{const P=_.split("-"),B=P[1],N=P[2];return o(_,x[B][N])};if(x.mode==="light"&&(j(x.common,"background","#fff"),j(x.common,"onBackground","#000")),x.mode==="dark"&&(j(x.common,"background","#000"),j(x.common,"onBackground","#fff")),vv(x,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),x.mode==="light"){j(x.Alert,"errorColor",Qe(x.error.light,.6)),j(x.Alert,"infoColor",Qe(x.info.light,.6)),j(x.Alert,"successColor",Qe(x.success.light,.6)),j(x.Alert,"warningColor",Qe(x.warning.light,.6)),j(x.Alert,"errorFilledBg",T("palette-error-main")),j(x.Alert,"infoFilledBg",T("palette-info-main")),j(x.Alert,"successFilledBg",T("palette-success-main")),j(x.Alert,"warningFilledBg",T("palette-warning-main")),j(x.Alert,"errorFilledColor",br(()=>x.getContrastText(x.error.main))),j(x.Alert,"infoFilledColor",br(()=>x.getContrastText(x.info.main))),j(x.Alert,"successFilledColor",br(()=>x.getContrastText(x.success.main))),j(x.Alert,"warningFilledColor",br(()=>x.getContrastText(x.warning.main))),j(x.Alert,"errorStandardBg",Ze(x.error.light,.9)),j(x.Alert,"infoStandardBg",Ze(x.info.light,.9)),j(x.Alert,"successStandardBg",Ze(x.success.light,.9)),j(x.Alert,"warningStandardBg",Ze(x.warning.light,.9)),j(x.Alert,"errorIconColor",T("palette-error-main")),j(x.Alert,"infoIconColor",T("palette-info-main")),j(x.Alert,"successIconColor",T("palette-success-main")),j(x.Alert,"warningIconColor",T("palette-warning-main")),j(x.AppBar,"defaultBg",T("palette-grey-100")),j(x.Avatar,"defaultBg",T("palette-grey-400")),j(x.Button,"inheritContainedBg",T("palette-grey-300")),j(x.Button,"inheritContainedHoverBg",T("palette-grey-A100")),j(x.Chip,"defaultBorder",T("palette-grey-400")),j(x.Chip,"defaultAvatarColor",T("palette-grey-700")),j(x.Chip,"defaultIconColor",T("palette-grey-700")),j(x.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),j(x.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),j(x.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),j(x.LinearProgress,"primaryBg",Ze(x.primary.main,.62)),j(x.LinearProgress,"secondaryBg",Ze(x.secondary.main,.62)),j(x.LinearProgress,"errorBg",Ze(x.error.main,.62)),j(x.LinearProgress,"infoBg",Ze(x.info.main,.62)),j(x.LinearProgress,"successBg",Ze(x.success.main,.62)),j(x.LinearProgress,"warningBg",Ze(x.warning.main,.62)),j(x.Skeleton,"bg",`rgba(${T("palette-text-primaryChannel")} / 0.11)`),j(x.Slider,"primaryTrack",Ze(x.primary.main,.62)),j(x.Slider,"secondaryTrack",Ze(x.secondary.main,.62)),j(x.Slider,"errorTrack",Ze(x.error.main,.62)),j(x.Slider,"infoTrack",Ze(x.info.main,.62)),j(x.Slider,"successTrack",Ze(x.success.main,.62)),j(x.Slider,"warningTrack",Ze(x.warning.main,.62));const _=xi(x.background.default,.8);j(x.SnackbarContent,"bg",_),j(x.SnackbarContent,"color",br(()=>x.getContrastText(_))),j(x.SpeedDialAction,"fabHoverBg",xi(x.background.paper,.15)),j(x.StepConnector,"border",T("palette-grey-400")),j(x.StepContent,"border",T("palette-grey-400")),j(x.Switch,"defaultColor",T("palette-common-white")),j(x.Switch,"defaultDisabledColor",T("palette-grey-100")),j(x.Switch,"primaryDisabledColor",Ze(x.primary.main,.62)),j(x.Switch,"secondaryDisabledColor",Ze(x.secondary.main,.62)),j(x.Switch,"errorDisabledColor",Ze(x.error.main,.62)),j(x.Switch,"infoDisabledColor",Ze(x.info.main,.62)),j(x.Switch,"successDisabledColor",Ze(x.success.main,.62)),j(x.Switch,"warningDisabledColor",Ze(x.warning.main,.62)),j(x.TableCell,"border",Ze(Ei(x.divider,1),.88)),j(x.Tooltip,"bg",Ei(x.grey[700],.92))}if(x.mode==="dark"){j(x.Alert,"errorColor",Ze(x.error.light,.6)),j(x.Alert,"infoColor",Ze(x.info.light,.6)),j(x.Alert,"successColor",Ze(x.success.light,.6)),j(x.Alert,"warningColor",Ze(x.warning.light,.6)),j(x.Alert,"errorFilledBg",T("palette-error-dark")),j(x.Alert,"infoFilledBg",T("palette-info-dark")),j(x.Alert,"successFilledBg",T("palette-success-dark")),j(x.Alert,"warningFilledBg",T("palette-warning-dark")),j(x.Alert,"errorFilledColor",br(()=>x.getContrastText(x.error.dark))),j(x.Alert,"infoFilledColor",br(()=>x.getContrastText(x.info.dark))),j(x.Alert,"successFilledColor",br(()=>x.getContrastText(x.success.dark))),j(x.Alert,"warningFilledColor",br(()=>x.getContrastText(x.warning.dark))),j(x.Alert,"errorStandardBg",Qe(x.error.light,.9)),j(x.Alert,"infoStandardBg",Qe(x.info.light,.9)),j(x.Alert,"successStandardBg",Qe(x.success.light,.9)),j(x.Alert,"warningStandardBg",Qe(x.warning.light,.9)),j(x.Alert,"errorIconColor",T("palette-error-main")),j(x.Alert,"infoIconColor",T("palette-info-main")),j(x.Alert,"successIconColor",T("palette-success-main")),j(x.Alert,"warningIconColor",T("palette-warning-main")),j(x.AppBar,"defaultBg",T("palette-grey-900")),j(x.AppBar,"darkBg",T("palette-background-paper")),j(x.AppBar,"darkColor",T("palette-text-primary")),j(x.Avatar,"defaultBg",T("palette-grey-600")),j(x.Button,"inheritContainedBg",T("palette-grey-800")),j(x.Button,"inheritContainedHoverBg",T("palette-grey-700")),j(x.Chip,"defaultBorder",T("palette-grey-700")),j(x.Chip,"defaultAvatarColor",T("palette-grey-300")),j(x.Chip,"defaultIconColor",T("palette-grey-300")),j(x.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),j(x.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),j(x.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),j(x.LinearProgress,"primaryBg",Qe(x.primary.main,.5)),j(x.LinearProgress,"secondaryBg",Qe(x.secondary.main,.5)),j(x.LinearProgress,"errorBg",Qe(x.error.main,.5)),j(x.LinearProgress,"infoBg",Qe(x.info.main,.5)),j(x.LinearProgress,"successBg",Qe(x.success.main,.5)),j(x.LinearProgress,"warningBg",Qe(x.warning.main,.5)),j(x.Skeleton,"bg",`rgba(${T("palette-text-primaryChannel")} / 0.13)`),j(x.Slider,"primaryTrack",Qe(x.primary.main,.5)),j(x.Slider,"secondaryTrack",Qe(x.secondary.main,.5)),j(x.Slider,"errorTrack",Qe(x.error.main,.5)),j(x.Slider,"infoTrack",Qe(x.info.main,.5)),j(x.Slider,"successTrack",Qe(x.success.main,.5)),j(x.Slider,"warningTrack",Qe(x.warning.main,.5));const _=xi(x.background.default,.98);j(x.SnackbarContent,"bg",_),j(x.SnackbarContent,"color",br(()=>x.getContrastText(_))),j(x.SpeedDialAction,"fabHoverBg",xi(x.background.paper,.15)),j(x.StepConnector,"border",T("palette-grey-600")),j(x.StepContent,"border",T("palette-grey-600")),j(x.Switch,"defaultColor",T("palette-grey-300")),j(x.Switch,"defaultDisabledColor",T("palette-grey-600")),j(x.Switch,"primaryDisabledColor",Qe(x.primary.main,.55)),j(x.Switch,"secondaryDisabledColor",Qe(x.secondary.main,.55)),j(x.Switch,"errorDisabledColor",Qe(x.error.main,.55)),j(x.Switch,"infoDisabledColor",Qe(x.info.main,.55)),j(x.Switch,"successDisabledColor",Qe(x.success.main,.55)),j(x.Switch,"warningDisabledColor",Qe(x.warning.main,.55)),j(x.TableCell,"border",Qe(Ei(x.divider,1),.68)),j(x.Tooltip,"bg",Ei(x.grey[700],.92))}_r(x.background,"default"),_r(x.background,"paper"),_r(x.common,"background"),_r(x.common,"onBackground"),_r(x,"divider"),Object.keys(x).forEach(_=>{const P=x[_];_!=="tonalOffset"&&P&&typeof P=="object"&&(P.main&&j(x[_],"mainChannel",iu(ou(P.main))),P.light&&j(x[_],"lightChannel",iu(ou(P.light))),P.dark&&j(x[_],"darkChannel",iu(ou(P.dark))),P.contrastText&&j(x[_],"contrastTextChannel",iu(ou(P.contrastText))),_==="text"&&(_r(x[_],"primary"),_r(x[_],"secondary")),_==="action"&&(P.active&&_r(x[_],"active"),P.selected&&_r(x[_],"selected")))})}),D=r.reduce((F,x)=>zt(F,x),D);const y={prefix:i,disableCssColorScheme:u,shouldSkipGeneratingVar:a,getSelector:yv(D)},{vars:E,generateThemeVars:A,generateStyleSheets:C}=Hy(D,y);return D.vars=E,Object.entries(D.colorSchemes[D.defaultColorScheme]).forEach(([F,x])=>{D[F]=x}),D.generateThemeVars=A,D.generateStyleSheets=C,D.generateSpacing=function(){return Hl(c.spacing,ss(this))},D.getColorSchemeSelector=Uy(s),D.spacing=D.generateSpacing(),D.shouldSkipGeneratingVar=a,D.unstable_sxConfig={...fi,...c==null?void 0:c.unstable_sxConfig},D.unstable_sx=function(x){return Dn({sx:x,theme:this})},D.toRuntimeSource=af,D}function cf(e,r,t){e.colorSchemes&&t&&(e.colorSchemes[r]={...t!==!0&&t,palette:xs({...t===!0?{}:t.palette,mode:r})})}function xv(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",h=u==null?void 0:u[s],c={...u,...t?{[s]:{...typeof h!="boolean"&&h,palette:t}}:void 0};if(n===!1){if(!("colorSchemes"in e))return As(e,...r);let l=t;"palette"in e||c[s]&&(c[s]!==!0?l=c[s].palette:s==="dark"&&(l={mode:"dark"}));const p=As({...e,palette:l},...r);return p.defaultColorScheme=s,p.colorSchemes=c,p.palette.mode==="light"&&(p.colorSchemes.light={...c.light!==!0&&c.light,palette:p.palette},cf(p,"dark",c.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:p.palette},cf(p,"light",c.light)),p}return!t&&!("light"in c)&&s==="light"&&(c.light=!0),Ev({...a,colorSchemes:c,defaultColorScheme:s,...typeof n!="boolean"&&n},...r)}const Av=xv(),Cv="$$material";function Tv(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Sv=Sy({themeId:Cv,defaultTheme:Av,rootShouldForwardProp:e=>Tv(e)&&e!=="classes"}),Fv=qy;process.env.NODE_ENV!=="production"&&(Oe.node,Oe.object.isRequired);function _v(e){return Ly(e)}function Ov(e){return as("MuiSvgIcon",e)}xb("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Nv=e=>{const{color:r,fontSize:t,classes:n}=e,u={root:["root",r!=="inherit"&&`color${nn(r)}`,`fontSize${nn(t)}`]};return wb(u,Ov,n)},Mv=Sv("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,t.color!=="inherit"&&r[`color${nn(t.color)}`],r[`fontSize${nn(t.fontSize)}`]]}})(Fv(({theme:e})=>{var r,t,n,u,i,a,s,h,c,l,p,o,f,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:d=>!d.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:((h=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:h.call(s,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((l=(c=e.typography)==null?void 0:c.pxToRem)==null?void 0:l.call(c,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,d])=>d&&d.main).map(([d])=>{var b,g;return{props:{color:d},style:{color:(g=(b=(e.vars??e).palette)==null?void 0:b[d])==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=(f=(e.vars??e).palette)==null?void 0:f.action)==null?void 0:m.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Ai=At.forwardRef(function(r,t){const n=_v({props:r,name:"MuiSvgIcon"}),{children:u,className:i,color:a="inherit",component:s="svg",fontSize:h="medium",htmlColor:c,inheritViewBox:l=!1,titleAccess:p,viewBox:o="0 0 24 24",...f}=n,m=At.isValidElement(u)&&u.type==="svg",d={...n,color:a,component:s,fontSize:h,instanceFontSize:r.fontSize,inheritViewBox:l,viewBox:o,hasSvgAsChild:m},b={};l||(b.viewBox=o);const g=Nv(d);return K.jsxs(Mv,{as:s,className:Cb(g.root,i),focusable:"false",color:c,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:t,...b,...f,...m&&u.props,ownerState:d,children:[m?u.props.children:u,p?K.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(Ai.propTypes={children:Oe.node,classes:Oe.object,className:Oe.string,color:Oe.oneOfType([Oe.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),Oe.string]),component:Oe.elementType,fontSize:Oe.oneOfType([Oe.oneOf(["inherit","large","medium","small"]),Oe.string]),htmlColor:Oe.string,inheritViewBox:Oe.bool,shapeRendering:Oe.string,sx:Oe.oneOfType([Oe.arrayOf(Oe.oneOfType([Oe.func,Oe.object,Oe.bool])),Oe.func,Oe.object]),titleAccess:Oe.string,viewBox:Oe.string}),Ai.muiName="SvgIcon";function Ts(e,r){function t(n,u){return K.jsx(Ai,{"data-testid":`${r}Icon`,ref:u,...n,children:e})}return process.env.NODE_ENV!=="production"&&(t.displayName=`${r}Icon`),t.muiName=Ai.muiName,At.memo(At.forwardRef(t))}const Pv=Ts(K.jsx("path",{d:"m7 14 5-5 5 5z"}),"ArrowDropUp"),Bv=Ts(K.jsx("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");function Iv(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 cu=e=>/^-?(?:\d+|\d*\.\d+|\d+\.)$/.test(e);function lf(e){const{disabled:r,readonly:t,decimalPlaces:n=14,name:u,rules:i,sx:a,...s}=e,{field:h,fieldState:{error:c}}=vr.useController({name:u,rules:{...i,validate:f=>!cu(f)&&f!==""?"Please enter a valid number.":!0}}),l=f=>{f.preventDefault();const m=f.target,{value:d}=m;if(!cu(d)){m.value=Iv(d);const b=new Event("input",{bubbles:!0});m.dispatchEvent(b)}},p=f=>{const m=parseFloat(f);if(cu(f)){const d=ib(m,n);h.onChange(rb(d))}h.onBlur()};if(t)return K.jsx(Jr,{label:s.label,value:h.value,sx:a,error:c==null?void 0:c.message});const o=K.jsxs(Ve.Box,{sx:{display:"flex",flexDirection:"column",gap:1,alignItems:"center"},children:[K.jsx(Ve.IconButton,{size:"small",onClick:()=>{if(cu(h.value)||h.value===""){const f=sb(h.value||0,1);h.onChange(f),p(f)}},disabled:r,sx:{pt:0,pb:0},children:K.jsx(Pv,{fontSize:"small","data-testid":"increment-button"})}),K.jsx(Ve.IconButton,{size:"small",onClick:()=>{if(cu(h.value)||h.value===""){const f=ob(h.value||0,1);h.onChange(f),p(f)}},disabled:r,sx:{pt:0,pb:0},children:K.jsx(Bv,{fontSize:"small","data-testid":"decrement-button"})})]});return K.jsx(Ve.TextField,{...h,...s,onInput:l,onBlur:f=>p(f.target.value),fullWidth:!0,placeholder:r?"0":"",error:!!c,helperText:!!c&&K.jsx(ln,{error:c.message}),disabled:r,sx:{...a,m:0},InputProps:{endAdornment:o},slotProps:{input:{endAdornment:o}}})}function ff({name:e,label:r,sx:t={}}){const{control:n}=vr.useFormContext();return K.jsx(vr.Controller,{name:e,control:n,render:({field:u,fieldState:{error:i}})=>K.jsx(Jr,{label:r,value:u.value||0,sx:t,error:i==null?void 0:i.message})})}function df({name:e,label:r,options:t=[],sx:n={},disabled:u,rules:i={},readonly:a}){const{field:s,fieldState:{error:h}}=vr.useController({name:e,rules:i}),c=t.map(p=>({label:p.displayValue,id:p.key})),l=c.find(p=>p.id===s.value);return a?K.jsx(Jr,{label:r,value:l==null?void 0:l.label,sx:n,error:h==null?void 0:h.message}):K.jsx(Ve.Autocomplete,{"data-test-id":"form-field-select",...s,value:l,onChange:(p,o)=>s.onChange(o?o.id:null),options:c,renderInput:p=>K.jsx(Ve.TextField,{...p,label:r,error:!!h,helperText:!!h&&K.jsx(ln,{error:h.message}),slotProps:{inputLabel:{shrink:!0}},sx:{...n,m:0}}),fullWidth:!0,disabled:u})}const Rv=Ts(K.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 Ss,hf;function kv(){return hf||(hf=1,Ss=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=hl()},function(e,r){e.exports=at},function(e,r,t){t.r(r);var n=t(1),u=t(0),i=function(){return(i=Object.assign||function(m){for(var d,b=1,g=arguments.length;b<g;b++)for(var w in d=arguments[b])Object.prototype.hasOwnProperty.call(d,w)&&(m[w]=d[w]);return m}).apply(this,arguments)},a=function(m,d){var b={};for(var g in m)Object.prototype.hasOwnProperty.call(m,g)&&d.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++)d.indexOf(g[w])<0&&Object.prototype.propertyIsEnumerable.call(m,g[w])&&(b[g[w]]=m[g[w]])}return b},s=0,h=n.forwardRef(function(m,d){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,F=C===void 0?null:C,x=m.vertical,T=x===void 0?null:x,_=m.rotate,P=_===void 0?null:_,B=m.spin,N=B===void 0?null:B,I=m.style,J=I===void 0?{}:I,re=m.children,ie=a(m,["title","description","size","color","horizontal","vertical","rotate","spin","style","children"]);s++;var L,Z=N!==null&&N,ce=n.Children.map(re,function(he){var oe=he;Z!==!0&&(Z=(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:F===null?oe.props.horizontal:F,vertical:T===null?oe.props.vertical:T,rotate:P===null?oe.props.rotate:P,spin:N===null?oe.props.spin:N,inStack:!0};return n.cloneElement(oe,ye)});y!==null&&(J.width=typeof y=="string"?y:1.5*y+"rem");var Y,se="stack_labelledby_"+s,de="stack_describedby_"+s;if(g)L=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:d,viewBox:"0 0 24 24",style:J,role:Y,"aria-labelledby":L},ie),g&&n.createElement("title",{id:se},g),v&&n.createElement("desc",{id:de},v),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) } }"),ce)});h.displayName="Stack",h.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},h.defaultProps={size:null,color:null,horizontal:null,vertical:null,rotate:null,spin:null};var c=h;t.d(r,"Icon",function(){return f}),t.d(r,"Stack",function(){return c});var l=function(){return(l=Object.assign||function(m){for(var d,b=1,g=arguments.length;b<g;b++)for(var w in d=arguments[b])Object.prototype.hasOwnProperty.call(d,w)&&(m[w]=d[w]);return m}).apply(this,arguments)},p=function(m,d){var b={};for(var g in m)Object.prototype.hasOwnProperty.call(m,g)&&d.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++)d.indexOf(g[w])<0&&Object.prototype.propertyIsEnumerable.call(m,g[w])&&(b[g[w]]=m[g[w]])}return b},o=0,f=n.forwardRef(function(m,d){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,F=m.color,x=F===void 0?"currentColor":F,T=m.horizontal,_=T!==void 0&&T,P=m.vertical,B=P!==void 0&&P,N=m.rotate,I=N===void 0?0:N,J=m.spin,re=J!==void 0&&J,ie=m.style,L=ie===void 0?{}:ie,Z=m.inStack,ce=Z!==void 0&&Z,Y=p(m,["path","id","title","description","size","color","horizontal","vertical","rotate","spin","style","inStack"]),se={},de=[];C!==null&&(ce?de.push("scale("+C+")"):(L.width=typeof C=="string"?C:1.5*C+"rem",L.height=L.width)),_&&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",l({d:b,style:se},ce?Y:{})),oe=he;de.length>0&&(L.transform=de.join(" "),L.transformOrigin="center",ce&&(oe=n.createElement("g",{style:L},he,n.createElement("rect",{width:"24",height:"24",fill:"transparent"}))));var be,ye=oe,ve=re===!0||typeof re!="number"?2:re,q=!ce&&(_||B);if(ve<0&&(q=!q),re&&(ye=n.createElement("g",{style:{animation:"spin"+(q?"-inverse":"")+" linear "+Math.abs(ve)+"s infinite",transformOrigin:"center"}},oe,!(_||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",l({ref:d,viewBox:"0 0 24 24",style:L,role:k,"aria-labelledby":be},Y),D&&n.createElement("title",{id:W},D),E&&n.createElement("desc",{id:me},E),!ce&&re&&(q?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)});f.displayName="Icon",f.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},f.defaultProps={size:null,color:"currentColor",horizontal:!1,vertical:!1,rotate:0,spin:!1},r.default=f}])),Ss}var Lv=kv();const Fs=Ni(Lv);var qv="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",$v="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",jv="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z";function un({children:e,internal:r,required:t,helpText:n,isCalculated:u,readonly:i,deleted:a,isSection:s}){const h={display:"flex",alignItems:"center"},c=i?{...h,gap:1}:{...h,justifyContent:"space-between"};return K.jsxs(Ve.Box,{sx:c,children:[K.jsxs(Ve.Typography,{"data-testid":"form-field-label",variant:"h4",color:"black",sx:{whiteSpace:"normal",wordBreak:"break-word"},children:[e,t&&"*"]}),K.jsxs(Ve.Box,{sx:{display:"flex",gap:1},children:[r&&K.jsx(Ve.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:K.jsx(Fs,{path:$v,size:"20px",color:sn.capitalDesignTokens.foundations.colors.yellow700,"data-testid":"internal-icon"})}),n&&n!==""&&K.jsx(Ve.Tooltip,{placement:"top",title:K.jsx(Ve.Typography,{variant:"bodyXSmall",sx:{whiteSpace:"pre-line"},children:n}),sx:{cursor:"default"},children:K.jsx(Rv,{fontSize:"small",htmlColor:sn.capitalDesignTokens.foundations.colors.gray600,"data-testid":"help-icon"})}),u&&K.jsx(Ve.Tooltip,{placement:"top",title:"This field is calculated.",sx:{cursor:"default"},children:K.jsx(Fs,{path:qv,size:"20px",color:sn.capitalDesignTokens.foundations.colors.gray800,"data-testid":"calculation-icon"})}),a&&K.jsx(Ve.Tooltip,{placement:"top",title:"This field was deleted.",sx:{cursor:"default"},children:K.jsx(Fs,{path:jv,size:"20px",color:sn.capitalDesignTokens.foundations.colors.gray800})})]})]})}const zv={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"},Hv={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 Uv{constructor(r){this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib=void 0,this.locale=void 0,this.formats=void 0,this.formatTokenMap=zv,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(h=>{const c=h[0];if(c==="p"||c==="P"){const l=this.longFormatters[c];return l(h,this.locale.formatLong)}return h}).join("")},this.formatNumber=a=>a,this.getDayOfWeek=a=>a.getDay()+1;const{locale:t,formats:n,longFormatters:u,lib:i}=r;this.locale=t,this.formats=jn({},Hv,n),this.longFormatters=u,this.lib=i||"date-fns"}}class Vv extends Uv{constructor({locale:r,formats:t}={}){if(process.env.NODE_ENV!=="production"){if(typeof Ur!="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(!kn)throw new Error("MUI: The minimum supported `date-fns` package version compatible with this adapter is `3.2.x`.")}super({locale:r??Pi,formats:t,longFormatters:kn}),this.parse=(n,u)=>n===""?null:Ph(n,u,new Date,{locale:this.locale}),this.isValid=n=>n==null?!1:Gs(n),this.format=(n,u)=>this.formatByString(n,this.formats[u]),this.formatByString=(n,u)=>ki(n,u,{locale:this.locale}),this.isEqual=(n,u)=>n===null&&u===null?!0:n===null||u===null?!1:Ld(n,u),this.isSameYear=(n,u)=>kh(n,u),this.isSameMonth=(n,u)=>Rh(n,u),this.isSameDay=(n,u)=>If(n,u),this.isSameHour=(n,u)=>Ih(n,u),this.isAfter=(n,u)=>gu(n,u),this.isAfterYear=(n,u)=>gu(n,Qs(u)),this.isAfterDay=(n,u)=>gu(n,Xs(u)),this.isBefore=(n,u)=>bu(n,u),this.isBeforeYear=(n,u)=>bu(n,this.startOfYear(u)),this.isBeforeDay=(n,u)=>bu(n,this.startOfDay(u)),this.isWithinRange=(n,[u,i])=>Lh(n,{start:u,end:i}),this.startOfYear=n=>Zs(n),this.startOfMonth=n=>Lf(n),this.startOfWeek=n=>wr(n,{locale:this.locale}),this.startOfDay=n=>Wr(n),this.endOfYear=n=>Qs(n),this.endOfMonth=n=>kf(n),this.endOfWeek=n=>qf(n,{locale:this.locale}),this.endOfDay=n=>Xs(n),this.addYears=(n,u)=>Bf(n,u),this.addMonths=(n,u)=>pu(n,u),this.addWeeks=(n,u)=>Pf(n,u),this.addDays=(n,u)=>Ur(n,u),this.addHours=(n,u)=>Sf(n,u),this.addMinutes=(n,u)=>Nf(n,u),this.addSeconds=(n,u)=>Mf(n,u),this.getYear=n=>kd(n),this.getMonth=n=>Id(n),this.getDate=n=>_d(n),this.getHours=n=>Nd(n),this.getMinutes=n=>Bd(n),this.getSeconds=n=>Rd(n),this.getMilliseconds=n=>Pd(n),this.setYear=(n,u)=>Wh(n,u),this.setMonth=(n,u)=>$h(n,u),this.setDate=(n,u)=>jh(n,u),this.setHours=(n,u)=>zh(n,u),this.setMinutes=(n,u)=>Uh(n,u),this.setSeconds=(n,u)=>Vh(n,u),this.setMilliseconds=(n,u)=>Hh(n,u),this.getDaysInMonth=n=>ao(n),this.getWeekArray=n=>{const u=this.startOfWeek(this.startOfMonth(n)),i=this.endOfWeek(this.endOfMonth(n));let a=0,s=u;const h=[];for(;this.isBefore(s,i);){const c=Math.floor(a/7);h[c]=h[c]||[],h[c].push(s),s=this.addDays(s,1),a+=1}return h},this.getWeekNumber=n=>Ii(n,{locale:this.locale}),this.getYearRange=([n,u])=>{const i=this.startOfYear(n),a=this.endOfYear(u),s=[];let h=i;for(;this.isBefore(h,a);)s.push(h),h=this.addYears(h,1);return s}}}const pf=at.createContext(void 0),Wv=({children:e,layout:r={form:{},fields:{}}})=>K.jsx(pf.Provider,{value:{layout:r},children:e}),mf=()=>{const e=at.useContext(pf);if(!e)throw new Error("useFormLayout must be used within a FormLayoutProvider");return e.layout},gf=at.createContext(void 0),Yv=({children:e,template:r,fieldTypes:t,readonly:n})=>K.jsx(gf.Provider,{value:{template:r,fieldTypes:t,readonly:n},children:e}),_s=()=>{const e=at.useContext(gf);if(!e)throw new Error("useFormRenderer must be used within a FormRendererProvider");return e},Gv=e=>{const{fieldTypes:r}=_s();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}},Xv=e=>{const{template:r}=_s(),t=r.fields[e];if(!t)throw new Error(`Field template for ${e} not found`);return t},Qv={type:"DATE",name:"Date",groups:[],dateFormat:"MM/dd/yyyy",renderField:(e,r,{disabled:t,readonly:n})=>K.jsx(Ic,{name:e.id,label:K.jsx(un,{...e,readonly:n,children:e.label}),rules:On(e),constraints:e.constraints,dateFormat:r.dateFormat,disabled:t,readonly:n})},Zv={type:"DROPDOWN",name:"Dropdown",groups:[],renderField:(e,r,{disabled:t,readonly:n})=>K.jsx(df,{name:e.id,label:K.jsx(un,{...e,children:e.label}),rules:On(e),options:e.options,disabled:t,readonly:n})},Jv={type:"CHECKBOX",name:"Checkbox",groups:[],renderField:(e,r,{disabled:t,readonly:n})=>K.jsx(Rc,{name:e.id,label:K.jsx(un,{...e,readonly:n,children:e.label}),rules:On(e),disabled:t,readonly:n})},Kv={type:"TEXTINPUT",name:"Text",groups:[],maxLength:262144,filter:e=>e.replace(/[^\u0000-\u00FF ]/g,""),renderField:(e,r,{disabled:t,readonly:n})=>K.jsx(kc,{rules:On(e),label:K.jsx(un,{...e,readonly:n,children:e.label}),name:e.id,disabled:t,readonly:n,maxLength:r.maxLength})},e3={type:"NUMBER",name:"Number",groups:[],decimalPlaces:14,renderField:(e,r,{disabled:t,readonly:n})=>K.jsx(lf,{name:e.id,label:K.jsx(un,{...e,readonly:n,children:e.label}),rules:{...On(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})},t3={type:"CALCULATEDNUMBER",name:"Calculated Number",groups:[],renderField:(e,r,{readonly:t})=>K.jsx(ff,{name:e.id,label:K.jsx(un,{...e,readonly:t,children:e.label}),rules:[]})},On=e=>({required:{value:e.required??!1,message:"This field is required."}}),Os=[Kv,e3,t3,Zv,Jv,Qv];function bf({children:e,layout:r,template:t,fieldTypes:n=Os,readonly:u}){return K.jsx(Hr.LocalizationProvider,{dateAdapter:Vv,adapterLocale:void 0,children:K.jsx(Wv,{layout:r,children:K.jsx(Yv,{template:t,fieldTypes:n,readonly:u,children:e})})})}function r3({fieldId:e,readonly:r}){const{fields:t}=mf(),{readonly:n}=_s(),u=Xv(e),i=Gv(u.type);if(!i||!i.renderField)return K.jsxs(Ve.Box,{children:["Missing render for field type ",u.type]});const{renderField:a,fullWidth:s,...h}=i,c={...t};if(u.internal&&(c.backgroundColor=sn.capitalDesignTokens.foundations.colors.yellow50),s&&(c.gridColumn="1 / -1"),!u||!1)return null;const p=n||r||u.readonly;return K.jsx(Ve.Box,{"data-testid":"form-field-container",sx:c,children:a(u,h,{disabled:!1,readonly:p})})}function n3({children:e,formOptions:r,submit:t}){const n=vr.useForm(r),{handleSubmit:u,reset:i}=n,{onSubmit:a,onReset:s,formId:h,submitOnChange:c}=t||{};return K.jsx(vr.FormProvider,{...n,children:K.jsx(Ve.FormControl,{fullWidth:!0,children:K.jsx("form",{"data-testid":h,onSubmit:a?u(a):void 0,onChange:c?u(a??(()=>{})):void 0,onReset:()=>{i(r==null?void 0:r.defaultValues),s==null||s()},id:h,children:e})})})}function yf({fieldIds:e,formOptions:r,submit:t,readonly:n}){const{form:u}=mf();return K.jsx(n3,{formOptions:r,submit:t,children:K.jsx(Ve.Box,{sx:u,"data-testid":"field-container",children:e.map(i=>K.jsx(r3,{fieldId:i,readonly:n},i))})})}function u3({template:e,fieldTypes:r=Os,layout:t,readonly:n,formOptions:u,submit:i}){const a=e.fields?Object.keys(e.fields):[];return K.jsx(bf,{layout:t,template:e,fieldTypes:r,readonly:n,children:K.jsx(yf,{fieldIds:a,formOptions:u,submit:i,readonly:n})})}ke.CalculatedNumber=ff,ke.CheckboxInput=Rc,ke.DateInput=Ic,ke.DropdownInput=df,ke.ErrorMessage=ln,ke.FormFieldLabel=un,ke.FormProvider=bf,ke.LabeledField=Jr,ke.NumberInput=lf,ke.Renderer=yf,ke.TextInput=kc,ke.default=u3,ke.defaultFieldTypes=Os,ke.defaultRules=On,Object.defineProperties(ke,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|