@opengov/form-renderer 0.2.7-beta-field-wrappers.2 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lib.umd.cjs CHANGED
@@ -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 Ls;function Df(){if(Ls)return Mn;Ls=1;var e=Je,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,f,l){var c,p={},o=null,d=null;l!==void 0&&(o=""+l),f.key!==void 0&&(o=""+f.key),f.ref!==void 0&&(d=f.ref);for(c in f)n.call(f,c)&&!i.hasOwnProperty(c)&&(p[c]=f[c]);if(s&&s.defaultProps)for(c in f=s.defaultProps,f)p[c]===void 0&&(p[c]=f[c]);return{$$typeof:r,type:s,key:o,ref:d,props:p,_owner:u.current}}return Mn.Fragment=t,Mn.jsx=a,Mn.jsxs=a,Mn}var Pn={};/**
9
+ */var Ls;function Df(){if(Ls)return Mn;Ls=1;var e=Je,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,d,l){var c,p={},o=null,f=null;l!==void 0&&(o=""+l),d.key!==void 0&&(o=""+d.key),d.ref!==void 0&&(f=d.ref);for(c in d)n.call(d,c)&&!i.hasOwnProperty(c)&&(p[c]=d[c]);if(s&&s.defaultProps)for(c in d=s.defaultProps,d)p[c]===void 0&&(p[c]=d[c]);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,29 +14,29 @@
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 qs;function Ef(){return qs||(qs=1,process.env.NODE_ENV!=="production"&&function(){var e=Je,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"),f=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),o=Symbol.for("react.lazy"),d=Symbol.for("react.offscreen"),m=Symbol.iterator,h="@@iterator";function b(O){if(O===null||typeof O!="object")return null;var G=m&&O[m]||O[h];return typeof G=="function"?G:null}var g=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(O){{for(var G=arguments.length,ue=new Array(G>1?G-1:0),we=1;we<G;we++)ue[we-1]=arguments[we];v("error",O,ue)}}function v(O,G,ue){{var we=g.ReactDebugCurrentFrame,Me=we.getStackAddendum();Me!==""&&(G+="%s",ue=ue.concat([Me]));var Ue=ue.map(function(Te){return String(Te)});Ue.unshift("Warning: "+G),Function.prototype.apply.call(console[O],console,Ue)}}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===l||O===c||A||O===d||D||y||E||typeof O=="object"&&O!==null&&(O.$$typeof===o||O.$$typeof===p||O.$$typeof===a||O.$$typeof===s||O.$$typeof===f||O.$$typeof===F||O.getModuleId!==void 0))}function T(O,G,ue){var we=O.displayName;if(we)return we;var Me=G.displayName||G.name||"";return Me!==""?ue+"("+Me+")":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 l:return"Suspense";case c: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 f:return T(O,O.render,"ForwardRef");case p:var we=O.displayName||null;return we!==null?we:P(O.type)||"Memo";case o:{var Me=O,Ue=Me._payload,Te=Me._init;try{return P(Te(Ue))}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(Me){var we=Me.stack.trim().match(/\n( *(at )?)/);oe=we&&we[1]||""}return`
17
+ */var qs;function Ef(){return qs||(qs=1,process.env.NODE_ENV!=="production"&&function(){var e=Je,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"),d=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),o=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=Symbol.iterator,h="@@iterator";function b(O){if(O===null||typeof O!="object")return null;var G=m&&O[m]||O[h];return typeof G=="function"?G:null}var g=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(O){{for(var G=arguments.length,ue=new Array(G>1?G-1:0),we=1;we<G;we++)ue[we-1]=arguments[we];v("error",O,ue)}}function v(O,G,ue){{var we=g.ReactDebugCurrentFrame,Me=we.getStackAddendum();Me!==""&&(G+="%s",ue=ue.concat([Me]));var Ue=ue.map(function(Te){return String(Te)});Ue.unshift("Warning: "+G),Function.prototype.apply.call(console[O],console,Ue)}}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===l||O===c||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===d||O.$$typeof===F||O.getModuleId!==void 0))}function T(O,G,ue){var we=O.displayName;if(we)return we;var Me=G.displayName||G.name||"";return Me!==""?ue+"("+Me+")":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 l:return"Suspense";case c: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 d:return T(O,O.render,"ForwardRef");case p:var we=O.displayName||null;return we!==null?we:P(O.type)||"Memo";case o:{var Me=O,Ue=Me._payload,Te=Me._init;try{return P(Te(Ue))}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(Me){var we=Me.stack.trim().match(/\n( *(at )?)/);oe=we&&we[1]||""}return`
18
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 Me=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ue;Ue=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(Ve){we=Ve}Reflect.construct(O,[],Te)}else{try{Te.call()}catch(Ve){we=Ve}O.call(Te.prototype)}}else{try{throw Error()}catch(Ve){we=Ve}O()}}catch(Ve){if(Ve&&we&&typeof Ve.stack=="string"){for(var Ae=Ve.stack.split(`
19
19
  `),Ft=we.stack.split(`
20
20
  `),at=Ae.length-1,dt=Ft.length-1;at>=1&&dt>=0&&Ae[at]!==Ft[dt];)dt--;for(;at>=1&&dt>=0;at--,dt--)if(Ae[at]!==Ft[dt]){if(at!==1||dt!==1)do if(at--,dt--,dt<0||Ae[at]!==Ft[dt]){var $t=`
21
- `+Ae[at].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(at>=1&&dt>=0);break}}}finally{ye=!1,he.current=Ue,de(),Error.prepareStackTrace=Me}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 tt(O,G,ue){if(O==null)return"";if(typeof O=="function")return k(O,me(O));if(typeof O=="string")return be(O);switch(O){case l:return be("Suspense");case c:return be("SuspenseList")}if(typeof O=="object")switch(O.$$typeof){case f:return W(O.render);case p:return tt(O.type,G,ue);case o:{var we=O,Me=we._payload,Ue=we._init;try{return tt(Ue(Me),G,ue)}catch{}}}return""}var ut=Object.prototype.hasOwnProperty,ke={},Se=g.ReactDebugCurrentFrame;function vr(O){if(O){var G=O._owner,ue=tt(O.type,O._source,G?G.type:null);Se.setExtraStackFrame(ue)}else Se.setExtraStackFrame(null)}function _e(O,G,ue,we,Me){{var Ue=Function.call.bind(ut);for(var Te in O)if(Ue(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(at){Ae=at}Ae&&!(Ae instanceof Error)&&(vr(Me),w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",we||"React class",ue,Te,typeof Ae),vr(null)),Ae instanceof Error&&!(Ae.message in ke)&&(ke[Ae.message]=!0,vr(Me),w("Failed %s type: %s",ue,Ae.message),vr(null))}}}var Oe=Array.isArray;function qt(O){return Oe(O)}function S(O){{var G=typeof Symbol=="function"&&Symbol.toStringTag,ue=G&&O[Symbol.toStringTag]||O.constructor.name||"Object";return ue}}function 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(ut.call(O,"ref")){var G=Object.getOwnPropertyDescriptor(O,"ref").get;if(G&&G.isReactWarning)return!1}return O.ref!==void 0}function ze(O){if(ut.call(O,"key")){var G=Object.getOwnPropertyDescriptor(O,"key").get;if(G&&G.isReactWarning)return!1}return O.key!==void 0}function Ge(O,G){if(typeof O.ref=="string"&&H.current&&G&&H.current.stateNode!==G){var ue=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,Me,Ue,Te){var Ae={$$typeof:r,type:O,key:G,ref:ue,props:Te,_owner:Ue};return Ae._store={},Object.defineProperty(Ae._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ae,"_self",{configurable:!1,enumerable:!1,writable:!1,value:we}),Object.defineProperty(Ae,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Me}),Object.freeze&&(Object.freeze(Ae.props),Object.freeze(Ae)),Ae};function Vt(O,G,ue,we,Me){{var Ue,Te={},Ae=null,Ft=null;ue!==void 0&&(z(ue),Ae=""+ue),ze(G)&&(z(G.key),Ae=""+G.key),X(G)&&(Ft=G.ref,Ge(G,Me));for(Ue in G)ut.call(G,Ue)&&!U.hasOwnProperty(Ue)&&(Te[Ue]=G[Ue]);if(O&&O.defaultProps){var at=O.defaultProps;for(Ue in at)Te[Ue]===void 0&&(Te[Ue]=at[Ue])}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,Me,we,H.current,Te)}}var Pt=g.ReactCurrentOwner,Or=g.ReactDebugCurrentFrame;function or(O){if(O){var G=O._owner,ue=tt(O.type,O._source,G?G.type:null);Or.setExtraStackFrame(ue)}else Or.setExtraStackFrame(null)}var cu;cu=!1;function lu(O){return typeof O=="object"&&O!==null&&O.$$typeof===r}function Ci(){{if(Pt.current){var O=P(Pt.current.type);if(O)return`
21
+ `+Ae[at].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(at>=1&&dt>=0);break}}}finally{ye=!1,he.current=Ue,de(),Error.prepareStackTrace=Me}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 tt(O,G,ue){if(O==null)return"";if(typeof O=="function")return k(O,me(O));if(typeof O=="string")return be(O);switch(O){case l:return be("Suspense");case c:return be("SuspenseList")}if(typeof O=="object")switch(O.$$typeof){case d:return W(O.render);case p:return tt(O.type,G,ue);case o:{var we=O,Me=we._payload,Ue=we._init;try{return tt(Ue(Me),G,ue)}catch{}}}return""}var ut=Object.prototype.hasOwnProperty,ke={},Se=g.ReactDebugCurrentFrame;function vr(O){if(O){var G=O._owner,ue=tt(O.type,O._source,G?G.type:null);Se.setExtraStackFrame(ue)}else Se.setExtraStackFrame(null)}function _e(O,G,ue,we,Me){{var Ue=Function.call.bind(ut);for(var Te in O)if(Ue(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(at){Ae=at}Ae&&!(Ae instanceof Error)&&(vr(Me),w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",we||"React class",ue,Te,typeof Ae),vr(null)),Ae instanceof Error&&!(Ae.message in ke)&&(ke[Ae.message]=!0,vr(Me),w("Failed %s type: %s",ue,Ae.message),vr(null))}}}var Oe=Array.isArray;function qt(O){return Oe(O)}function S(O){{var G=typeof Symbol=="function"&&Symbol.toStringTag,ue=G&&O[Symbol.toStringTag]||O.constructor.name||"Object";return ue}}function 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(ut.call(O,"ref")){var G=Object.getOwnPropertyDescriptor(O,"ref").get;if(G&&G.isReactWarning)return!1}return O.ref!==void 0}function ze(O){if(ut.call(O,"key")){var G=Object.getOwnPropertyDescriptor(O,"key").get;if(G&&G.isReactWarning)return!1}return O.key!==void 0}function Ge(O,G){if(typeof O.ref=="string"&&H.current&&G&&H.current.stateNode!==G){var ue=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,Me,Ue,Te){var Ae={$$typeof:r,type:O,key:G,ref:ue,props:Te,_owner:Ue};return Ae._store={},Object.defineProperty(Ae._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ae,"_self",{configurable:!1,enumerable:!1,writable:!1,value:we}),Object.defineProperty(Ae,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Me}),Object.freeze&&(Object.freeze(Ae.props),Object.freeze(Ae)),Ae};function Vt(O,G,ue,we,Me){{var Ue,Te={},Ae=null,Ft=null;ue!==void 0&&(z(ue),Ae=""+ue),ze(G)&&(z(G.key),Ae=""+G.key),X(G)&&(Ft=G.ref,Ge(G,Me));for(Ue in G)ut.call(G,Ue)&&!U.hasOwnProperty(Ue)&&(Te[Ue]=G[Ue]);if(O&&O.defaultProps){var at=O.defaultProps;for(Ue in at)Te[Ue]===void 0&&(Te[Ue]=at[Ue])}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,Me,we,H.current,Te)}}var Pt=g.ReactCurrentOwner,Or=g.ReactDebugCurrentFrame;function or(O){if(O){var G=O._owner,ue=tt(O.type,O._source,G?G.type:null);Or.setExtraStackFrame(ue)}else Or.setExtraStackFrame(null)}var cu;cu=!1;function lu(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
23
  Check the render method of \``+O+"`."}return""}}function Os(O){return""}var Ti={};function Ns(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=Ns(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)+"."),or(O),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ue,we),or(null)}}function Fi(O,G){{if(typeof O!="object")return;if(qt(O))for(var ue=0;ue<O.length;ue++){var we=O[ue];lu(we)&&Si(we,G)}else if(lu(O))O._store&&(O._store.validated=!0);else if(O){var Me=b(O);if(typeof Me=="function"&&Me!==O.entries)for(var Ue=Me.call(O),Te;!(Te=Ue.next()).done;)lu(Te.value)&&Si(Te.value,G)}}}function Ms(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===f||G.$$typeof===p))ue=G.propTypes;else return;if(ue){var we=P(G);_e(ue,O.props,"prop",we,O)}else if(G.PropTypes!==void 0&&!cu){cu=!0;var Me=P(G);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Me||"Unknown")}typeof G.getDefaultProps=="function"&&!G.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ps(O){{for(var G=Object.keys(O.props),ue=0;ue<G.length;ue++){var we=G[ue];if(we!=="children"&&we!=="key"){or(O),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",we),or(null);break}}O.ref!==null&&(or(O),w("Invalid attribute `ref` supplied to `React.Fragment`."),or(null))}}var _i={};function Oi(O,G,ue,we,Me,Ue){{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=Os();Ft?Ae+=Ft:Ae+=Ci();var at;O===null?at="null":qt(O)?at="array":O!==void 0&&O.$$typeof===r?(at="<"+(P(O.type)||"Unknown")+" />",Ae=" Did you accidentally export a JSX literal instead of a component?"):at=typeof O,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",at,Ae)}var dt=Vt(O,G,ue,Me,Ue);if(dt==null)return dt;if(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(ut.call(G,"key")){var Ce=P(O),Ve=Object.keys(G).filter(function(an){return an!=="key"}),fu=Ve.length>0?"{key: someKey, "+Ve.join(": ..., ")+": ...}":"{key: someKey}";if(!_i[Ce+fu]){var Nn=Ve.length>0?"{"+Ve.join(": ..., ")+": ...}":"{}";w(`A props object containing a "key" prop is being spread into JSX:
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=Ns(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)+"."),or(O),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ue,we),or(null)}}function Fi(O,G){{if(typeof O!="object")return;if(qt(O))for(var ue=0;ue<O.length;ue++){var we=O[ue];lu(we)&&Si(we,G)}else if(lu(O))O._store&&(O._store.validated=!0);else if(O){var Me=b(O);if(typeof Me=="function"&&Me!==O.entries)for(var Ue=Me.call(O),Te;!(Te=Ue.next()).done;)lu(Te.value)&&Si(Te.value,G)}}}function Ms(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===d||G.$$typeof===p))ue=G.propTypes;else return;if(ue){var we=P(G);_e(ue,O.props,"prop",we,O)}else if(G.PropTypes!==void 0&&!cu){cu=!0;var Me=P(G);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Me||"Unknown")}typeof G.getDefaultProps=="function"&&!G.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ps(O){{for(var G=Object.keys(O.props),ue=0;ue<G.length;ue++){var we=G[ue];if(we!=="children"&&we!=="key"){or(O),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",we),or(null);break}}O.ref!==null&&(or(O),w("Invalid attribute `ref` supplied to `React.Fragment`."),or(null))}}var _i={};function Oi(O,G,ue,we,Me,Ue){{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=Os();Ft?Ae+=Ft:Ae+=Ci();var at;O===null?at="null":qt(O)?at="array":O!==void 0&&O.$$typeof===r?(at="<"+(P(O.type)||"Unknown")+" />",Ae=" Did you accidentally export a JSX literal instead of a component?"):at=typeof O,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",at,Ae)}var dt=Vt(O,G,ue,Me,Ue);if(dt==null)return dt;if(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(ut.call(G,"key")){var Ce=P(O),Ve=Object.keys(G).filter(function(an){return an!=="key"}),fu=Ve.length>0?"{key: someKey, "+Ve.join(": ..., ")+": ...}":"{key: someKey}";if(!_i[Ce+fu]){var Nn=Ve.length>0?"{"+Ve.join(": ..., ")+": ...}":"{}";w(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,fu,Ce,Nn,Ce),_i[Ce+fu]=!0}}return O===n?Ps(dt):Ms(dt),dt}}function Bs(O,G,ue){return Oi(O,G,ue,!0)}function Is(O,G,ue){return Oi(O,G,ue,!1)}var Rs=Is,ks=Bs;Pn.Fragment=n,Pn.jsx=Rs,Pn.jsxs=ks}()),Pn}var $s;function xf(){return $s||($s=1,process.env.NODE_ENV==="production"?du.exports=Df():du.exports=Ef()),du.exports}var K=xf();const js=6048e5,Af=864e5,zs=6e4,Hs=36e5,Cf=1e3,Us=Symbol.for("constructDateFrom");function Ke(e,r){return typeof e=="function"?e(r):e&&typeof e=="object"&&Us in e?e[Us](r):e instanceof Date?new e.constructor(r):new Date(r)}function pe(e,r){return Ke(r||e,e)}function Ur(e,r,t){const n=pe(e,t==null?void 0:t.in);return isNaN(r)?Ke((t==null?void 0:t.in)||e,NaN):(r&&n.setDate(n.getDate()+r),n)}function hu(e,r,t){const n=pe(e,t==null?void 0:t.in);if(isNaN(r))return Ke(e,NaN);if(!r)return n;const u=n.getDate(),i=Ke(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:f=0,seconds:l=0}=r,c=pe(e,t==null?void 0:t.in),p=u||n?hu(c,u+n*12):c,o=a||i?Ur(p,a+i*7):p,d=f+s*60,h=(l+d*60)*1e3;return Ke(e,+o+h)}function Vs(e,r,t){return Ke(e,+pe(e)+r)}function Sf(e,r,t){return Vs(e,r*Hs)}let Ff={};function Vr(){return Ff}function wr(e,r){var s,f,l,c;const t=Vr(),n=(r==null?void 0:r.weekStartsOn)??((f=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:f.weekStartsOn)??t.weekStartsOn??((c=(l=t.locale)==null?void 0:l.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 on(e,r){return wr(e,{...r,weekStartsOn:1})}function Ws(e,r){const t=pe(e,r==null?void 0:r.in),n=t.getFullYear(),u=Ke(t,0);u.setFullYear(n+1,0,4),u.setHours(0,0,0,0);const i=on(u),a=Ke(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 pu(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=Ke.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-pu(i),f=+a-pu(a);return Math.round((s-f)/Af)}function Of(e,r){const t=Ws(e,r),n=Ke(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*zs),n}function Mf(e,r,t){return Vs(e,r*1e3)}function Pf(e,r,t){return Ur(e,r*7,t)}function Bf(e,r,t){return hu(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 Ys(e){return!(!Rf(e)&&typeof e!="number"||isNaN(+pe(e)))}function Gs(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 Xs(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 Qs(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,f,l,c;const t=Vr(),n=(r==null?void 0:r.weekStartsOn)??((f=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:f.weekStartsOn)??t.weekStartsOn??((c=(l=t.locale)==null?void 0:l.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 $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],f=Array.isArray(s)?rd(s,p=>p.test(a)):td(s,p=>p.test(a));let l;l=e.valueCallback?e.valueCallback(f):f,l=t.valueCallback?t.valueCallback(l):l;const c=r.slice(a.length);return{value:l,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 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,Qs(t))+1}function Zs(e,r){const t=pe(e,r==null?void 0:r.in),n=+on(t)-+Of(t);return Math.round(n/js)+1}function Bi(e,r){var c,p,o,d;const t=pe(e,r==null?void 0:r.in),n=t.getFullYear(),u=Vr(),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=(o=u.locale)==null?void 0:o.options)==null?void 0:d.firstWeekContainsDate)??1,a=Ke((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),f=Ke((r==null?void 0:r.in)||e,0);f.setFullYear(n,0,i),f.setHours(0,0,0,0);const l=wr(f,r);return+t>=+s?n+1:+t>=+l?n:n-1}function yd(e,r){var s,f,l,c;const t=Vr(),n=(r==null?void 0:r.firstWeekContainsDate)??((f=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:f.firstWeekContainsDate)??t.firstWeekContainsDate??((c=(l=t.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)??1,u=Bi(e,r),i=Ke((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/js)+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"},Js={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=Ws(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=Zs(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 eo(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 eo(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"+Ks(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"+Ks(n,":");case"zzzz":default:return"GMT"+Yr(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 Ks(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 eo(e,r){return e%60===0?(e>0?"-":"+")+He(Math.abs(e)/60,2):Yr(e,r)}function Yr(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 to=(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"})}},ro=(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:ro,P:(e,r)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],u=t[2];if(!u)return to(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}}",to(n,r)).replace("{{time}}",ro(u,r))}},vd=/^D+$/,wd=/^Y+$/,Dd=["D","DD","YY","YYYY"];function no(e){return vd.test(e)}function uo(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 c,p,o,d,m,h,b,g;const n=Vr(),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=(o=n.locale)==null?void 0:o.options)==null?void 0:d.firstWeekContainsDate)??1,a=(t==null?void 0:t.weekStartsOn)??((h=(m=t==null?void 0:t.locale)==null?void 0:m.options)==null?void 0:h.weekStartsOn)??n.weekStartsOn??((g=(b=n.locale)==null?void 0:b.options)==null?void 0:g.weekStartsOn)??0,s=pe(e,t==null?void 0:t.in);if(!Ys(s))throw new RangeError("Invalid time value");let f=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(Js[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&&(f=u.localize.preprocessor(s,f));const l={firstWeekContainsDate:i,weekStartsOn:a,locale:u};return f.map(w=>{if(!w.isToken)return w.value;const v=w.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&uo(v)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&no(v))&&Ri(v,r,String(e));const D=Js[v[0]];return D(s,v,u.localize,l)}).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 io(e,r){const t=pe(e,r==null?void 0:r.in),n=t.getFullYear(),u=t.getMonth(),i=Ke(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 mu(e,r){return+pe(e)>+pe(r)}function gu(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):Ke(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 ao{constructor(){ae(this,"subPriority",0)}validate(r,t){return!0}}class zd extends ao{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 ao{constructor(t,n){super();ae(this,"priority",jd);ae(this,"subPriority",-1);this.context=t||(u=>Ke(n,u))}set(t,n){return n.timestampIsSet?t:Ke(t,qd(t,this.context))}}let Pe=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 Pe{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}/},cr={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function pt(e,r){return e&&{value:r(e.value),rest:e.rest}}function it(e,r){const t=r.match(e);return t?{value:parseInt(t[0],10),rest:r.slice(t[0].length)}:null}function lr(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*Hs+i*zs+a*Cf),rest:r.slice(t[0].length)}}function so(e){return it(ht.anyDigitsSigned,e)}function st(e,r){switch(e){case 1:return it(ht.singleDigit,r);case 2:return it(ht.twoDigits,r);case 3:return it(ht.threeDigits,r);case 4:return it(ht.fourDigits,r);default:return it(new RegExp("^\\d{1,"+e+"}"),r)}}function bu(e,r){switch(e){case 1:return it(ht.singleDigitSigned,r);case 2:return it(ht.twoDigitsSigned,r);case 3:return it(ht.threeDigitsSigned,r);case 4:return it(ht.fourDigitsSigned,r);default:return it(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 oo(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 co(e){return e%400===0||e%4===0&&e%100!==0}class Vd extends Pe{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=oo(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 Pe{constructor(){super(...arguments);ae(this,"priority",130);ae(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(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 f=oo(u.year,a);return t.setFullYear(f,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 Pe{constructor(){super(...arguments);ae(this,"priority",130);ae(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return bu(n==="R"?4:n.length,t)}set(t,n,u){const i=Ke(t,0);return i.setFullYear(u,0,4),i.setHours(0,0,0,0),on(i)}}class Gd extends Pe{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 bu(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 Pe{constructor(){super(...arguments);ae(this,"priority",120);ae(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(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 Pe{constructor(){super(...arguments);ae(this,"priority",120);ae(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(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 Pe{constructor(){super(...arguments);ae(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ae(this,"priority",110)}parse(t,n,u){const i=a=>a-1;switch(n){case"M":return pt(it(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 Pe{constructor(){super(...arguments);ae(this,"priority",110);ae(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,u){const i=a=>a-1;switch(n){case"L":return pt(it(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 Pe{constructor(){super(...arguments);ae(this,"priority",100);ae(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,u){switch(n){case"w":return it(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=Zs(n,t)-r;return n.setDate(n.getDate()-u*7),n}class rh extends Pe{constructor(){super(...arguments);ae(this,"priority",100);ae(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,u){switch(n){case"I":return it(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 Pe{constructor(){super(...arguments);ae(this,"priority",90);ae(this,"subPriority",1);ae(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,u){switch(n){case"d":return it(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=co(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 Pe{constructor(){super(...arguments);ae(this,"priority",90);ae(this,"subpriority",1);ae(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,u){switch(n){case"D":case"DD":return it(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 co(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,d,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=(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(),f=(r%7+7)%7,l=7-u,c=r<0||r>6?r-(a+l)%7:(f+l)%7-(a+l)%7;return Ur(i,c,t)}class sh extends Pe{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 Pe{constructor(){super(...arguments);ae(this,"priority",90);ae(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,u,i){const a=s=>{const f=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+f};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 Pe{constructor(){super(...arguments);ae(this,"priority",90);ae(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,u,i){const a=s=>{const f=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+f};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 Pe{constructor(){super(...arguments);ae(this,"priority",90);ae(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(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 Pe{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 Pe{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 Pe{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 Pe{constructor(){super(...arguments);ae(this,"priority",70);ae(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,u){switch(n){case"h":return it(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 Pe{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 it(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 Pe{constructor(){super(...arguments);ae(this,"priority",70);ae(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,u){switch(n){case"K":return it(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 Pe{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 it(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 Pe{constructor(){super(...arguments);ae(this,"priority",60);ae(this,"incompatibleTokens",["t","T"])}parse(t,n,u){switch(n){case"m":return it(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 Pe{constructor(){super(...arguments);ae(this,"priority",50);ae(this,"incompatibleTokens",["t","T"])}parse(t,n,u){switch(n){case"s":return it(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 Pe{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 Pe{constructor(){super(...arguments);ae(this,"priority",10);ae(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return lr(cr.basicOptionalMinutes,t);case"XX":return lr(cr.basic,t);case"XXXX":return lr(cr.basicOptionalSeconds,t);case"XXXXX":return lr(cr.extendedOptionalSeconds,t);case"XXX":default:return lr(cr.extended,t)}}set(t,n,u){return n.timestampIsSet?t:Ke(t,t.getTime()-pu(t)-u)}}class xh extends Pe{constructor(){super(...arguments);ae(this,"priority",10);ae(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return lr(cr.basicOptionalMinutes,t);case"xx":return lr(cr.basic,t);case"xxxx":return lr(cr.basicOptionalSeconds,t);case"xxxxx":return lr(cr.extendedOptionalSeconds,t);case"xxx":default:return lr(cr.extended,t)}}set(t,n,u){return n.timestampIsSet?t:Ke(t,t.getTime()-pu(t)-u)}}class Ah extends Pe{constructor(){super(...arguments);ae(this,"priority",40);ae(this,"incompatibleTokens","*")}parse(t){return so(t)}set(t,n,u){return[Ke(t,u*1e3),{timestampIsSet:!0}]}}class Ch extends Pe{constructor(){super(...arguments);ae(this,"priority",20);ae(this,"incompatibleTokens","*")}parse(t){return so(t)}set(t,n,u){return[Ke(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=()=>Ke((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,f=(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 l={firstWeekContainsDate:s,weekStartsOn:f,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),o=[];for(let C of p){!(n!=null&&n.useAdditionalWeekYearTokens)&&uo(C)&&Ri(C,r,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&no(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,l);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 h={};for(const C of d){if(!C.validate(m,l))return u();const F=C.set(m,h,l);Array.isArray(F)?(m=F[0],Object.assign(h,F[1])):m=F}return m}function Bh(e){return e.match(_h)[1].replace(Oh,"'")}function lo(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+lo(n)==+lo(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=Ke(e,0);a.setFullYear(u,r,15),a.setHours(0,0,0,0);const s=io(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)?Ke(e,NaN):(n.setFullYear(r),n)}function Yh(e,r,t){return hu(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:f=0,seconds:l=0}=r,c=Yh(e,u+n*12,t),p=qh(c,a+i*7,t),o=f+s*60,m=(l+o*60)*1e3;return Ke(e,+p-m)}var Ln=(e=>(e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH",e.YEAR="YEAR",e))(Ln||{});function ln({error:e,id:r}){return K.jsxs(Le.FormHelperText,{id:r,"data-testid":"form-field-error-message",error:!0,children:[sn.getTextFieldIconByStatus("error"),e]})}var er={},tr={},$i={},rr={},yu={},fo;function Xh(){return fo||(fo=1,Object.defineProperty(yu,"__esModule",{value:!0}),yu.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୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢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;怳Ādp໩໮uct;戏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ǣጓ\0጖y;䐎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Ā;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀ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Ā;e᜚᜜lƀ;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\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩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ↄⅪ←ٖ↛ǰ↉\0↎proø₞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;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\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\0⹻m;櫳;櫽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)}))),yu}var vu={},ho;function Qh(){return ho||(ho=1,Object.defineProperty(vu,"__esModule",{value:!0}),vu.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(e){return e.charCodeAt(0)}))),vu}var ji={},po;function mo(){return po||(po=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 go;function wu(){return go||(go=1,function(e){var r=rr&&rr.__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=rr&&rr.__setModuleDefault||(Object.create?function(T,_){Object.defineProperty(T,"default",{enumerable:!0,value:_})}:function(T,_){T.default=_}),n=rr&&rr.__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=rr&&rr.__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(mo());e.decodeCodePoint=s.default;var f=mo();Object.defineProperty(e,"replaceCodePoint",{enumerable:!0,get:function(){return f.replaceCodePoint}}),Object.defineProperty(e,"fromCodePoint",{enumerable:!0,get:function(){return f.fromCodePoint}});var l;(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"})(l||(l={}));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 o(T){return T>=l.ZERO&&T<=l.NINE}function d(T){return T>=l.UPPER_A&&T<=l.UPPER_F||T>=l.LOWER_A&&T<=l.LOWER_F}function m(T){return T>=l.UPPER_A&&T<=l.UPPER_Z||T>=l.LOWER_A&&T<=l.LOWER_Z||o(T)}function h(T){return T===l.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)===l.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)===l.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)||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(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(_===l.SEMI)this.consumed+=1;else if(this.decodeMode===g.Strict)return 0;return this.emitCodePoint((0,s.replaceCodePoint)(this.result),this.consumed),this.errors&&(_!==l.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||h(J))?0:this.emitNotTerminatedNamedEntity();if(N=B[this.treeIndex],I=(N&p.VALUE_LENGTH)>>14,I!==0){if(J===l.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}(rr)),rr}var bo;function yo(){return bo||(bo=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.QuoteType=void 0;var r=wu(),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 f(o){return o>=t.UpperA&&o<=t.UpperF||o>=t.LowerA&&o<=t.LowerF}var l;(function(o){o[o.NoValue=0]="NoValue",o[o.Unquoted=1]="Unquoted",o[o.Single=2]="Single",o[o.Double=3]="Double"})(l=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 o(d,m){var h=d.xmlMode,b=h===void 0?!1:h,g=d.decodeEntities,w=g===void 0?!0:g;this.cbs=m,this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=b,this.decodeEntities=w,this.entityTrie=b?r.xmlDecodeTree:r.htmlDecodeTree}return o.prototype.reset=function(){this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},o.prototype.write=function(d){this.offset+=this.buffer.length,this.buffer=d,this.parse()},o.prototype.end=function(){this.running&&this.finish()},o.prototype.pause=function(){this.running=!1},o.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},o.prototype.getIndex=function(){return this.index},o.prototype.getSectionStart=function(){return this.sectionStart},o.prototype.stateText=function(d){d===t.Lt||!this.decodeEntities&&this.fastForwardTo(t.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=n.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&d===t.Amp&&(this.state=n.BeforeEntity)},o.prototype.stateSpecialStartSequence=function(d){var m=this.sequenceIndex===this.currentSequence.length,h=m?i(d):(d|32)===this.currentSequence[this.sequenceIndex];if(!h)this.isSpecial=!1;else if(!m){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=n.InTagName,this.stateInTagName(d)},o.prototype.stateInSpecialTag=function(d){if(this.sequenceIndex===this.currentSequence.length){if(d===t.Gt||u(d)){var m=this.index-this.currentSequence.length;if(this.sectionStart<m){var h=this.index;this.index=m,this.cbs.ontext(this.sectionStart,m),this.index=h}this.isSpecial=!1,this.sectionStart=m+2,this.stateInClosingTagName(d);return}this.sequenceIndex=0}(d|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===c.TitleEnd?this.decodeEntities&&d===t.Amp&&(this.state=n.BeforeEntity):this.fastForwardTo(t.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(d===t.Lt)},o.prototype.stateCDATASequence=function(d){d===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))},o.prototype.fastForwardTo=function(d){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===d)return!0;return this.index=this.buffer.length+this.offset-1,!1},o.prototype.stateInCommentLike=function(d){d===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===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)},o.prototype.isTagStartChar=function(d){return this.xmlMode?!i(d):s(d)},o.prototype.startSpecial=function(d,m){this.isSpecial=!0,this.currentSequence=d,this.sequenceIndex=m,this.state=n.SpecialStartSequence},o.prototype.stateBeforeTagName=function(d){if(d===t.ExclamationMark)this.state=n.BeforeDeclaration,this.sectionStart=this.index+1;else if(d===t.Questionmark)this.state=n.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(d)){var m=d|32;this.sectionStart=this.index,!this.xmlMode&&m===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))},o.prototype.stateInTagName=function(d){i(d)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d))},o.prototype.stateBeforeClosingTagName=function(d){u(d)||(d===t.Gt?this.state=n.Text:(this.state=this.isTagStartChar(d)?n.InClosingTagName:n.InSpecialComment,this.sectionStart=this.index))},o.prototype.stateInClosingTagName=function(d){(d===t.Gt||u(d))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.AfterClosingTagName,this.stateAfterClosingTagName(d))},o.prototype.stateAfterClosingTagName=function(d){(d===t.Gt||this.fastForwardTo(t.Gt))&&(this.state=n.Text,this.baseState=n.Text,this.sectionStart=this.index+1)},o.prototype.stateBeforeAttributeName=function(d){d===t.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=n.InSpecialTag,this.sequenceIndex=0):this.state=n.Text,this.baseState=this.state,this.sectionStart=this.index+1):d===t.Slash?this.state=n.InSelfClosingTag:u(d)||(this.state=n.InAttributeName,this.sectionStart=this.index)},o.prototype.stateInSelfClosingTag=function(d){d===t.Gt?(this.cbs.onselfclosingtag(this.index),this.state=n.Text,this.baseState=n.Text,this.sectionStart=this.index+1,this.isSpecial=!1):u(d)||(this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d))},o.prototype.stateInAttributeName=function(d){(d===t.Eq||i(d))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.AfterAttributeName,this.stateAfterAttributeName(d))},o.prototype.stateAfterAttributeName=function(d){d===t.Eq?this.state=n.BeforeAttributeValue:d===t.Slash||d===t.Gt?(this.cbs.onattribend(l.NoValue,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d)):u(d)||(this.cbs.onattribend(l.NoValue,this.index),this.state=n.InAttributeName,this.sectionStart=this.index)},o.prototype.stateBeforeAttributeValue=function(d){d===t.DoubleQuote?(this.state=n.InAttributeValueDq,this.sectionStart=this.index+1):d===t.SingleQuote?(this.state=n.InAttributeValueSq,this.sectionStart=this.index+1):u(d)||(this.sectionStart=this.index,this.state=n.InAttributeValueNq,this.stateInAttributeValueNoQuotes(d))},o.prototype.handleInAttributeValue=function(d,m){d===m||!this.decodeEntities&&this.fastForwardTo(m)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(m===t.DoubleQuote?l.Double:l.Single,this.index),this.state=n.BeforeAttributeName):this.decodeEntities&&d===t.Amp&&(this.baseState=this.state,this.state=n.BeforeEntity)},o.prototype.stateInAttributeValueDoubleQuotes=function(d){this.handleInAttributeValue(d,t.DoubleQuote)},o.prototype.stateInAttributeValueSingleQuotes=function(d){this.handleInAttributeValue(d,t.SingleQuote)},o.prototype.stateInAttributeValueNoQuotes=function(d){u(d)||d===t.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(l.Unquoted,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d)):this.decodeEntities&&d===t.Amp&&(this.baseState=this.state,this.state=n.BeforeEntity)},o.prototype.stateBeforeDeclaration=function(d){d===t.OpeningSquareBracket?(this.state=n.CDATASequence,this.sequenceIndex=0):this.state=d===t.Dash?n.BeforeComment:n.InDeclaration},o.prototype.stateInDeclaration=function(d){(d===t.Gt||this.fastForwardTo(t.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=n.Text,this.sectionStart=this.index+1)},o.prototype.stateInProcessingInstruction=function(d){(d===t.Gt||this.fastForwardTo(t.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=n.Text,this.sectionStart=this.index+1)},o.prototype.stateBeforeComment=function(d){d===t.Dash?(this.state=n.InCommentLike,this.currentSequence=c.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=n.InDeclaration},o.prototype.stateInSpecialComment=function(d){(d===t.Gt||this.fastForwardTo(t.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=n.Text,this.sectionStart=this.index+1)},o.prototype.stateBeforeSpecialS=function(d){var m=d|32;m===c.ScriptEnd[3]?this.startSpecial(c.ScriptEnd,4):m===c.StyleEnd[3]?this.startSpecial(c.StyleEnd,4):(this.state=n.InTagName,this.stateInTagName(d))},o.prototype.stateBeforeEntity=function(d){this.entityExcess=1,this.entityResult=0,d===t.Number?this.state=n.BeforeNumericEntity:d===t.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=n.InNamedEntity,this.stateInNamedEntity(d))},o.prototype.stateInNamedEntity=function(d){if(this.entityExcess+=1,this.trieIndex=(0,r.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,d),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var m=this.trieCurrent&r.BinTrieFlags.VALUE_LENGTH;if(m){var h=(m>>14)-1;if(!this.allowLegacyEntity()&&d!==t.Semi)this.trieIndex+=h;else{var b=this.index-this.entityExcess+1;b>this.sectionStart&&this.emitPartial(this.sectionStart,b),this.entityResult=this.trieIndex,this.trieIndex+=h,this.entityExcess=0,this.sectionStart=this.index+1,h===0&&this.emitNamedEntity()}}},o.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var d=(this.entityTrie[this.entityResult]&r.BinTrieFlags.VALUE_LENGTH)>>14;switch(d){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~r.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},o.prototype.stateBeforeNumericEntity=function(d){(d|32)===t.LowerX?(this.entityExcess++,this.state=n.InHexEntity):(this.state=n.InNumericEntity,this.stateInNumericEntity(d))},o.prototype.emitNumericEntity=function(d){var m=this.index-this.entityExcess-1,h=m+2+ +(this.state===n.InHexEntity);h!==this.index&&(m>this.sectionStart&&this.emitPartial(this.sectionStart,m),this.sectionStart=this.index+Number(d),this.emitCodePoint((0,r.replaceCodePoint)(this.entityResult))),this.state=this.baseState},o.prototype.stateInNumericEntity=function(d){d===t.Semi?this.emitNumericEntity(!0):a(d)?(this.entityResult=this.entityResult*10+(d-t.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},o.prototype.stateInHexEntity=function(d){d===t.Semi?this.emitNumericEntity(!0):a(d)?(this.entityResult=this.entityResult*16+(d-t.Zero),this.entityExcess++):f(d)?(this.entityResult=this.entityResult*16+((d|32)-t.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},o.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===n.Text||this.baseState===n.InSpecialTag)},o.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===n.Text||this.state===n.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===n.InAttributeValueDq||this.state===n.InAttributeValueSq||this.state===n.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},o.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},o.prototype.parse=function(){for(;this.shouldContinue();){var d=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case n.Text:{this.stateText(d);break}case n.SpecialStartSequence:{this.stateSpecialStartSequence(d);break}case n.InSpecialTag:{this.stateInSpecialTag(d);break}case n.CDATASequence:{this.stateCDATASequence(d);break}case n.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(d);break}case n.InAttributeName:{this.stateInAttributeName(d);break}case n.InCommentLike:{this.stateInCommentLike(d);break}case n.InSpecialComment:{this.stateInSpecialComment(d);break}case n.BeforeAttributeName:{this.stateBeforeAttributeName(d);break}case n.InTagName:{this.stateInTagName(d);break}case n.InClosingTagName:{this.stateInClosingTagName(d);break}case n.BeforeTagName:{this.stateBeforeTagName(d);break}case n.AfterAttributeName:{this.stateAfterAttributeName(d);break}case n.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(d);break}case n.BeforeAttributeValue:{this.stateBeforeAttributeValue(d);break}case n.BeforeClosingTagName:{this.stateBeforeClosingTagName(d);break}case n.AfterClosingTagName:{this.stateAfterClosingTagName(d);break}case n.BeforeSpecialS:{this.stateBeforeSpecialS(d);break}case n.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(d);break}case n.InSelfClosingTag:{this.stateInSelfClosingTag(d);break}case n.InDeclaration:{this.stateInDeclaration(d);break}case n.BeforeDeclaration:{this.stateBeforeDeclaration(d);break}case n.BeforeComment:{this.stateBeforeComment(d);break}case n.InProcessingInstruction:{this.stateInProcessingInstruction(d);break}case n.InNamedEntity:{this.stateInNamedEntity(d);break}case n.BeforeEntity:{this.stateBeforeEntity(d);break}case n.InHexEntity:{this.stateInHexEntity(d);break}case n.InNumericEntity:{this.stateInNumericEntity(d);break}default:this.stateBeforeNumericEntity(d)}this.index++}this.cleanup()},o.prototype.finish=function(){this.state===n.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},o.prototype.handleTrailingData=function(){var d=this.buffer.length+this.offset;this.state===n.InCommentLike?this.currentSequence===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)},o.prototype.emitPartial=function(d,m){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?this.cbs.onattribdata(d,m):this.cbs.ontext(d,m)},o.prototype.emitCodePoint=function(d){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?this.cbs.onattribentity(d):this.cbs.ontextentity(d)},o}();e.default=p}($i)),$i}var vo;function wo(){if(vo)return tr;vo=1;var e=tr&&tr.__createBinding||(Object.create?function(b,g,w,v){v===void 0&&(v=w);var D=Object.getOwnPropertyDescriptor(g,w);(!D||("get"in D?!g.__esModule:D.writable||D.configurable))&&(D={enumerable:!0,get:function(){return g[w]}}),Object.defineProperty(b,v,D)}:function(b,g,w,v){v===void 0&&(v=w),b[v]=g[w]}),r=tr&&tr.__setModuleDefault||(Object.create?function(b,g){Object.defineProperty(b,"default",{enumerable:!0,value:g})}:function(b,g){b.default=g}),t=tr&&tr.__importStar||function(b){if(b&&b.__esModule)return b;var g={};if(b!=null)for(var w in b)w!=="default"&&Object.prototype.hasOwnProperty.call(b,w)&&e(g,b,w);return r(g,b),g};Object.defineProperty(tr,"__esModule",{value:!0}),tr.Parser=void 0;var n=t(yo()),u=wu(),i=new Set(["input","option","optgroup","select","button","datalist","textarea"]),a=new Set(["p"]),s=new Set(["thead","tbody"]),f=new Set(["dd","dt"]),l=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",f],["dt",f],["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",l],["rp",l],["tbody",s],["tfoot",s]]),p=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),o=new Set(["math","svg"]),d=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),m=/\s|\//,h=function(){function b(g,w){w===void 0&&(w={});var v,D,y,E,A;this.options=w,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=g??{},this.lowerCaseTagNames=(v=w.lowerCaseTags)!==null&&v!==void 0?v:!w.xmlMode,this.lowerCaseAttributeNames=(D=w.lowerCaseAttributeNames)!==null&&D!==void 0?D:!w.xmlMode,this.tokenizer=new((y=w.Tokenizer)!==null&&y!==void 0?y:n.default)(this.options,this),(A=(E=this.cbs).onparserinit)===null||A===void 0||A.call(E,this)}return b.prototype.ontext=function(g,w){var v,D,y=this.getSlice(g,w);this.endIndex=w-1,(D=(v=this.cbs).ontext)===null||D===void 0||D.call(v,y),this.startIndex=w},b.prototype.ontextentity=function(g){var w,v,D=this.tokenizer.getSectionStart();this.endIndex=D-1,(v=(w=this.cbs).ontext)===null||v===void 0||v.call(w,(0,u.fromCodePoint)(g)),this.startIndex=D},b.prototype.isVoidElement=function(g){return!this.options.xmlMode&&p.has(g)},b.prototype.onopentagname=function(g,w){this.endIndex=w;var v=this.getSlice(g,w);this.lowerCaseTagNames&&(v=v.toLowerCase()),this.emitOpenTag(v)},b.prototype.emitOpenTag=function(g){var w,v,D,y;this.openTagStart=this.startIndex,this.tagname=g;var E=!this.options.xmlMode&&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),o.has(g)?this.foreignContext.push(!0):d.has(g)&&this.foreignContext.push(!1)),(y=(D=this.cbs).onopentagname)===null||y===void 0||y.call(D,g),this.cbs.onopentag&&(this.attribs={})},b.prototype.endOpenTag=function(g){var w,v;this.startIndex=this.openTagStart,this.attribs&&((v=(w=this.cbs).onopentag)===null||v===void 0||v.call(w,this.tagname,this.attribs,g),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},b.prototype.onopentagend=function(g){this.endIndex=g,this.endOpenTag(!1),this.startIndex=g+1},b.prototype.onclosetag=function(g,w){var v,D,y,E,A,C;this.endIndex=w;var F=this.getSlice(g,w);if(this.lowerCaseTagNames&&(F=F.toLowerCase()),(o.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 tr.Parser=h,tr}var Gr={},zi={},Do;function qn(){return Do||(Do=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={},Eo;function xo(){if(Eo)return xe;Eo=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 f=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=f;var l=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}(f);xe.CDATA=l;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}(f);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}(f);xe.Element=p;function o(y){return(0,t.isTag)(y)}xe.isTag=o;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 h(y){return y.type===t.ElementType.Comment}xe.isComment=h;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(h(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(d(y)){var C=E?D(y.children):[],x=new l(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 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 Ao;function Mr(){return Ao||(Ao=1,function(e){var r=Gr&&Gr.__createBinding||(Object.create?function(s,f,l,c){c===void 0&&(c=l);var p=Object.getOwnPropertyDescriptor(f,l);(!p||("get"in p?!f.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return f[l]}}),Object.defineProperty(s,c,p)}:function(s,f,l,c){c===void 0&&(c=l),s[c]=f[l]}),t=Gr&&Gr.__exportStar||function(s,f){for(var l in s)l!=="default"&&!Object.prototype.hasOwnProperty.call(f,l)&&r(f,s,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var n=qn(),u=xo();t(xo(),e);var i={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},a=function(){function s(f,l,c){this.dom=[],this.root=new u.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof l=="function"&&(c=l,l=i),typeof f=="object"&&(l=f,f=void 0),this.callback=f??null,this.options=l??i,this.elementCB=c??null}return s.prototype.onparserinit=function(f){this.parser=f},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(f){this.handleCallback(f)},s.prototype.onclosetag=function(){this.lastNode=null;var f=this.tagStack.pop();this.options.withEndIndices&&(f.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(f)},s.prototype.onopentag=function(f,l){var c=this.options.xmlMode?n.ElementType.Tag:void 0,p=new u.Element(f,l,void 0,c);this.addNode(p),this.tagStack.push(p)},s.prototype.ontext=function(f){var l=this.lastNode;if(l&&l.type===n.ElementType.Text)l.data+=f,this.options.withEndIndices&&(l.endIndex=this.parser.endIndex);else{var c=new u.Text(f);this.addNode(c),this.lastNode=c}},s.prototype.oncomment=function(f){if(this.lastNode&&this.lastNode.type===n.ElementType.Comment){this.lastNode.data+=f;return}var l=new u.Comment(f);this.addNode(l),this.lastNode=l},s.prototype.oncommentend=function(){this.lastNode=null},s.prototype.oncdatastart=function(){var f=new u.Text(""),l=new u.CDATA([f]);this.addNode(l),f.parent=l,this.lastNode=f},s.prototype.oncdataend=function(){this.lastNode=null},s.prototype.onprocessinginstruction=function(f,l){var c=new u.ProcessingInstruction(f,l);this.addNode(c)},s.prototype.handleCallback=function(f){if(typeof this.callback=="function")this.callback(f,this.dom);else if(f)throw f},s.prototype.addNode=function(f){var l=this.tagStack[this.tagStack.length-1],c=l.children[l.children.length-1];this.options.withStartIndices&&(f.startIndex=this.parser.startIndex),this.options.withEndIndices&&(f.endIndex=this.parser.endIndex),l.children.push(f),c&&(f.prev=c,c.next=f),f.parent=l,this.lastNode=null},s}();e.DomHandler=a,e.default=a}(Gr)),Gr}var Xr={},fr={},Bt={},Hi={},Dr={},Du={},Co;function Zh(){if(Co)return Du;Co=1,Object.defineProperty(Du,"__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 Du.default=new Map(e([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(e([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(e([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(e([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]])),Du}var Ui={},To;function Vi(){return To||(To=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,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);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 f=s.index,l=u.charCodeAt(f),c=r.get(l);c!==void 0?(i+=u.substring(a,f)+c,a=f+1):(i+="".concat(u.substring(a,f),"&#x").concat((0,e.getCodePoint)(u,f).toString(16),";"),a=e.xmlReplacer.lastIndex+=+((l&64512)===55296))}return i+u.substr(a)}e.encodeXML=t,e.escape=t;function n(u,i){return function(s){for(var f,l=0,c="";f=u.exec(s);)l!==f.index&&(c+=s.substring(l,f.index)),c+=i.get(f[0].charCodeAt(0)),l=f.index+1;return c+s.substring(l)}}e.escapeUTF8=n(/[&<>'"]/g,r),e.escapeAttribute=n(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),e.escapeText=n(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))}(Ui)),Ui}var So;function Fo(){if(So)return Dr;So=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,f){for(var l="",c=0,p;(p=s.exec(f))!==null;){var o=p.index;l+=f.substring(c,o);var d=f.charCodeAt(o),m=r.default.get(d);if(typeof m=="object"){if(o+1<f.length){var h=f.charCodeAt(o+1),b=typeof m.n=="number"?m.n===h?m.o:void 0:m.n.get(h);if(b!==void 0){l+=b,c=s.lastIndex+=1;continue}}m=m.v}if(m!==void 0)l+=m,c=o+1;else{var g=(0,t.getCodePoint)(f,o);l+="&#x".concat(g.toString(16),";"),c=s.lastIndex+=+(g!==d)}}return l+f.substr(c)}return Dr}var _o;function Jh(){return _o||(_o=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=wu(),t=Fo(),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,d){d===void 0&&(d=u.XML);var m=typeof d=="number"?d:d.level;if(m===u.HTML){var h=typeof d=="object"?d.mode:void 0;return(0,r.decodeHTML)(o,h)}return(0,r.decodeXML)(o)}e.decode=a;function s(o,d){var m;d===void 0&&(d=u.XML);var h=typeof d=="number"?{level:d}:d;return(m=h.mode)!==null&&m!==void 0||(h.mode=r.DecodingMode.Strict),a(o,h)}e.decodeStrict=s;function f(o,d){d===void 0&&(d=u.XML);var m=typeof d=="number"?{level:d}:d;return m.mode===i.UTF8?(0,n.escapeUTF8)(o):m.mode===i.Attribute?(0,n.escapeAttribute)(o):m.mode===i.Text?(0,n.escapeText)(o):m.level===u.HTML?m.mode===i.ASCII?(0,t.encodeNonAsciiHTML)(o):(0,t.encodeHTML)(o):(0,n.encodeXML)(o)}e.encode=f;var l=Vi();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return l.encodeXML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return l.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return l.escapeUTF8}}),Object.defineProperty(e,"escapeAttribute",{enumerable:!0,get:function(){return l.escapeAttribute}}),Object.defineProperty(e,"escapeText",{enumerable:!0,get:function(){return l.escapeText}});var c=Fo();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=wu();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={},Oo;function Kh(){return Oo||(Oo=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 No;function e1(){if(No)return Bt;No=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 f(D){return D.replace(/"/g,"&quot;")}function l(D,y){var E;if(D){var A=((E=y.encodeEntities)!==null&&E!==void 0?E:y.decodeEntities)===!1?f: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+=o(E[C],y);return A}Bt.render=p,Bt.default=p;function o(D,y){switch(D.type){case u.Root:return p(D.children,y);case u.Doctype:case u.Directive:return b(D);case u.Comment:return v(D);case u.CDATA:return w(D);case u.Script:case u.Style:case u.Tag:return h(D,y);case u.Text:return g(D,y)}}var d=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m=new Set(["svg","math"]);function h(D,y){var E;y.xmlMode==="foreign"&&(D.name=(E=a.elementNames.get(D.name))!==null&&E!==void 0?E:D.name,D.parent&&d.has(D.parent.name)&&(y=e(e({},y),{xmlMode:!1}))),!y.xmlMode&&m.has(D.name)&&(y=e(e({},y),{xmlMode:"foreign"}));var A="<".concat(D.name),C=l(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&&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 Mo;function Po(){if(Mo)return fr;Mo=1;var e=fr&&fr.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(fr,"__esModule",{value:!0}),fr.getOuterHTML=u,fr.getInnerHTML=i,fr.getText=a,fr.textContent=s,fr.innerText=f;var r=Mr(),t=e(e1()),n=qn();function u(l,c){return(0,t.default)(l,c)}function i(l,c){return(0,r.hasChildren)(l)?l.children.map(function(p){return u(p,c)}).join(""):""}function a(l){return Array.isArray(l)?l.map(a).join(""):(0,r.isTag)(l)?l.name==="br"?`
31
- `:a(l.children):(0,r.isCDATA)(l)?a(l.children):(0,r.isText)(l)?l.data:""}function s(l){return Array.isArray(l)?l.map(s).join(""):(0,r.hasChildren)(l)&&!(0,r.isComment)(l)?s(l.children):(0,r.isText)(l)?l.data:""}function f(l){return Array.isArray(l)?l.map(f).join(""):(0,r.hasChildren)(l)&&(l.type===n.ElementType.Tag||(0,r.isCDATA)(l))?f(l.children):(0,r.isText)(l)?l.data:""}return fr}var nr={},Bo;function t1(){if(Bo)return nr;Bo=1,Object.defineProperty(nr,"__esModule",{value:!0}),nr.getChildren=r,nr.getParent=t,nr.getSiblings=n,nr.getAttributeValue=u,nr.hasAttrib=i,nr.getName=a,nr.nextElementSibling=s,nr.prevElementSibling=f;var e=Mr();function r(l){return(0,e.hasChildren)(l)?l.children:[]}function t(l){return l.parent||null}function n(l){var c,p,o=t(l);if(o!=null)return r(o);for(var d=[l],m=l.prev,h=l.next;m!=null;)d.unshift(m),c=m,m=c.prev;for(;h!=null;)d.push(h),p=h,h=p.next;return d}function u(l,c){var p;return(p=l.attribs)===null||p===void 0?void 0:p[c]}function i(l,c){return l.attribs!=null&&Object.prototype.hasOwnProperty.call(l.attribs,c)&&l.attribs[c]!=null}function a(l){return l.name}function s(l){for(var c,p=l.next;p!==null&&!(0,e.isTag)(p);)c=p,p=c.next;return p}function f(l){for(var c,p=l.prev;p!==null&&!(0,e.isTag)(p);)c=p,p=c.prev;return p}return nr}var Er={},Io;function r1(){if(Io)return Er;Io=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,f=s.lastIndexOf(a);f>=0&&s.splice(f,1)}a.next=null,a.prev=null,a.parent=null}function r(a,s){var f=s.prev=a.prev;f&&(f.next=s);var l=s.next=a.next;l&&(l.prev=s);var c=s.parent=a.parent;if(c){var p=c.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 f=a.children[a.children.length-2];f.next=s,s.prev=f}else s.prev=null}function n(a,s){e(s);var f=a.parent,l=a.next;if(s.next=l,s.prev=a,a.next=s,s.parent=f,l){if(l.prev=s,f){var c=f.children;c.splice(c.lastIndexOf(l),0,s)}}else f&&f.children.push(s)}function u(a,s){if(e(s),s.parent=a,s.prev=null,a.children.unshift(s)!==1){var f=a.children[1];f.prev=s,s.next=f}else s.next=null}function i(a,s){e(s);var f=a.parent;if(f){var l=f.children;l.splice(l.indexOf(a),0,s)}a.prev&&(a.prev.next=s),s.parent=f,s.prev=a.prev,s.next=a,a.prev=s}return Er}var xr={},Ro;function ko(){if(Ro)return xr;Ro=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,f,l,c){return l===void 0&&(l=!0),c===void 0&&(c=1/0),t(s,Array.isArray(f)?f:[f],l,c)}function t(s,f,l,c){for(var p=[],o=[Array.isArray(f)?f:[f]],d=[0];;){if(d[0]>=o[0].length){if(d.length===1)return p;o.shift(),d.shift();continue}var m=o[0][d[0]++];if(s(m)&&(p.push(m),--c<=0))return p;l&&(0,e.hasChildren)(m)&&m.children.length>0&&(d.unshift(0),o.unshift(m.children))}}function n(s,f){return f.find(s)}function u(s,f,l){l===void 0&&(l=!0);for(var c=Array.isArray(f)?f:[f],p=0;p<c.length;p++){var o=c[p];if((0,e.isTag)(o)&&s(o))return o;if(l&&(0,e.hasChildren)(o)&&o.children.length>0){var d=u(s,o.children,!0);if(d)return d}}return null}function i(s,f){return(Array.isArray(f)?f:[f]).some(function(l){return(0,e.isTag)(l)&&s(l)||(0,e.hasChildren)(l)&&i(s,l.children)})}function a(s,f){for(var l=[],c=[Array.isArray(f)?f:[f]],p=[0];;){if(p[0]>=c[0].length){if(c.length===1)return l;c.shift(),p.shift();continue}var o=c[0][p[0]++];(0,e.isTag)(o)&&s(o)&&l.push(o),(0,e.hasChildren)(o)&&o.children.length>0&&(p.unshift(0),c.unshift(o.children))}}return xr}var Ar={},Lo;function qo(){if(Lo)return Ar;Lo=1,Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.testElement=a,Ar.getElements=s,Ar.getElementById=f,Ar.getElementsByTagName=l,Ar.getElementsByClassName=c,Ar.getElementsByTagType=p;var e=Mr(),r=ko(),t={tag_name:function(o){return typeof o=="function"?function(d){return(0,e.isTag)(d)&&o(d.name)}:o==="*"?e.isTag:function(d){return(0,e.isTag)(d)&&d.name===o}},tag_type:function(o){return typeof o=="function"?function(d){return o(d.type)}:function(d){return d.type===o}},tag_contains:function(o){return typeof o=="function"?function(d){return(0,e.isText)(d)&&o(d.data)}:function(d){return(0,e.isText)(d)&&d.data===o}}};function n(o,d){return typeof d=="function"?function(m){return(0,e.isTag)(m)&&d(m.attribs[o])}:function(m){return(0,e.isTag)(m)&&m.attribs[o]===d}}function u(o,d){return function(m){return o(m)||d(m)}}function i(o){var d=Object.keys(o).map(function(m){var h=o[m];return Object.prototype.hasOwnProperty.call(t,m)?t[m](h):n(m,h)});return d.length===0?null:d.reduce(u)}function a(o,d){var m=i(o);return m?m(d):!0}function s(o,d,m,h){h===void 0&&(h=1/0);var b=i(o);return b?(0,r.filter)(b,d,m,h):[]}function f(o,d,m){return m===void 0&&(m=!0),Array.isArray(d)||(d=[d]),(0,r.findOne)(n("id",o),d,m)}function l(o,d,m,h){return m===void 0&&(m=!0),h===void 0&&(h=1/0),(0,r.filter)(t.tag_name(o),d,m,h)}function c(o,d,m,h){return m===void 0&&(m=!0),h===void 0&&(h=1/0),(0,r.filter)(n("class",o),d,m,h)}function p(o,d,m,h){return m===void 0&&(m=!0),h===void 0&&(h=1/0),(0,r.filter)(t.tag_type(o),d,m,h)}return Ar}var Pr={},$o;function n1(){if($o)return Pr;$o=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 f=s.parent;f;f=f.parent)if(i.includes(f)){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=[],f=[];if(i===a)return 0;for(var l=(0,e.hasChildren)(i)?i:i.parent;l;)s.unshift(l),l=l.parent;for(l=(0,e.hasChildren)(a)?a:a.parent;l;)f.unshift(l),l=l.parent;for(var c=Math.min(s.length,f.length),p=0;p<c&&s[p]===f[p];)p++;if(p===0)return t.DISCONNECTED;var o=s[p-1],d=o.children,m=s[p],h=f[p];return d.indexOf(m)>d.indexOf(h)?o===a?t.FOLLOWING|t.CONTAINED_BY:t.FOLLOWING:o===i?t.PRECEDING|t.CONTAINS:t.PRECEDING}function u(i){return i=i.filter(function(a,s,f){return!f.includes(a,s+1)}),i.sort(function(a,s){var f=n(a,s);return f&t.PRECEDING?-1:f&t.FOLLOWING?1:0}),i}return Pr}var Eu={},jo;function u1(){if(jo)return Eu;jo=1,Object.defineProperty(Eu,"__esModule",{value:!0}),Eu.getFeed=t;var e=Po(),r=qo();function t(o){var d=f(p,o);return d?d.name==="feed"?n(d):u(d):null}function n(o){var d,m=o.children,h={type:"atom",items:(0,r.getElementsByTagName)("entry",m).map(function(w){var v,D=w.children,y={media:s(D)};c(y,"id","id",D),c(y,"title","title",D);var E=(v=f("link",D))===null||v===void 0?void 0:v.attribs.href;E&&(y.link=E);var A=l("summary",D)||l("content",D);A&&(y.description=A);var C=l("updated",D);return C&&(y.pubDate=new Date(C)),y})};c(h,"id","id",m),c(h,"title","title",m);var b=(d=f("link",m))===null||d===void 0?void 0:d.attribs.href;b&&(h.link=b),c(h,"description","subtitle",m);var g=l("updated",m);return g&&(h.updated=new Date(g)),c(h,"author","email",m,!0),h}function u(o){var d,m,h=(m=(d=f("channel",o.children))===null||d===void 0?void 0:d.children)!==null&&m!==void 0?m:[],b={type:o.name.substr(0,3),id:"",items:(0,r.getElementsByTagName)("item",o.children).map(function(w){var v=w.children,D={media:s(v)};c(D,"id","guid",v),c(D,"title","title",v),c(D,"link","link",v),c(D,"description","description",v);var y=l("pubDate",v)||l("dc:date",v);return y&&(D.pubDate=new Date(y)),D})};c(b,"title","title",h),c(b,"link","link",h),c(b,"description","description",h);var g=l("lastBuildDate",h);return g&&(b.updated=new Date(g)),c(b,"author","managingEditor",h,!0),b}var i=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(o){return(0,r.getElementsByTagName)("media:content",o).map(function(d){for(var m=d.attribs,h={medium:m.medium,isDefault:!!m.isDefault},b=0,g=i;b<g.length;b++){var w=g[b];m[w]&&(h[w]=m[w])}for(var v=0,D=a;v<D.length;v++){var w=D[v];m[w]&&(h[w]=parseInt(m[w],10))}return m.expression&&(h.expression=m.expression),h})}function f(o,d){return(0,r.getElementsByTagName)(o,d,!0,1)[0]}function l(o,d,m){return m===void 0&&(m=!1),(0,e.textContent)((0,r.getElementsByTagName)(o,d,m,1)).trim()}function c(o,d,m,h,b){b===void 0&&(b=!1);var g=l(m,h,b);g&&(o[d]=g)}function p(o){return o==="rss"||o==="feed"||o==="rdf:RDF"}return Eu}var zo;function Wi(){return zo||(zo=1,function(e){var r=Xr&&Xr.__createBinding||(Object.create?function(u,i,a,s){s===void 0&&(s=a);var f=Object.getOwnPropertyDescriptor(i,a);(!f||("get"in f?!i.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return i[a]}}),Object.defineProperty(u,s,f)}: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(Po(),e),t(t1(),e),t(r1(),e),t(ko(),e),t(qo(),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 Ho;function i1(){return Ho||(Ho=1,function(e){var r=er&&er.__createBinding||(Object.create?function(g,w,v,D){D===void 0&&(D=v);var y=Object.getOwnPropertyDescriptor(w,v);(!y||("get"in y?!w.__esModule:y.writable||y.configurable))&&(y={enumerable:!0,get:function(){return w[v]}}),Object.defineProperty(g,D,y)}:function(g,w,v,D){D===void 0&&(D=v),g[D]=w[v]}),t=er&&er.__setModuleDefault||(Object.create?function(g,w){Object.defineProperty(g,"default",{enumerable:!0,value:w})}:function(g,w){g.default=w}),n=er&&er.__importStar||function(g){if(g&&g.__esModule)return g;var w={};if(g!=null)for(var v in g)v!=="default"&&Object.prototype.hasOwnProperty.call(g,v)&&r(w,g,v);return t(w,g),w},u=er&&er.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(e,"__esModule",{value:!0}),e.DomUtils=e.parseFeed=e.getFeed=e.ElementType=e.Tokenizer=e.createDomStream=e.parseDOM=e.parseDocument=e.DefaultHandler=e.DomHandler=e.Parser=void 0;var i=wo(),a=wo();Object.defineProperty(e,"Parser",{enumerable:!0,get:function(){return a.Parser}});var s=Mr(),f=Mr();Object.defineProperty(e,"DomHandler",{enumerable:!0,get:function(){return f.DomHandler}}),Object.defineProperty(e,"DefaultHandler",{enumerable:!0,get:function(){return f.DomHandler}});function l(g,w){var v=new s.DomHandler(void 0,w);return new i.Parser(v,w).end(g),v.root}e.parseDocument=l;function c(g,w){return l(g,w).children}e.parseDOM=c;function p(g,w,v){var D=new s.DomHandler(g,w,v);return new i.Parser(D,w)}e.createDomStream=p;var o=yo();Object.defineProperty(e,"Tokenizer",{enumerable:!0,get:function(){return u(o).default}}),e.ElementType=n(qn());var d=Wi(),m=Wi();Object.defineProperty(e,"getFeed",{enumerable:!0,get:function(){return m.getFeed}});var h={xmlMode:!0};function b(g,w){return w===void 0&&(w=h),(0,d.getFeed)(c(g,w))}e.parseFeed=b,e.DomUtils=n(Wi())}(er)),er}var Yi,Uo;function a1(){return Uo||(Uo=1,Yi=e=>{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),Yi}var xu={},Vo;function s1(){if(Vo)return xu;Vo=1,Object.defineProperty(xu,"__esModule",{value:!0});/*!
30
+ <%s key={someKey} {...props} />`,fu,Ce,Nn,Ce),_i[Ce+fu]=!0}}return O===n?Ps(dt):Ms(dt),dt}}function Bs(O,G,ue){return Oi(O,G,ue,!0)}function Is(O,G,ue){return Oi(O,G,ue,!1)}var Rs=Is,ks=Bs;Pn.Fragment=n,Pn.jsx=Rs,Pn.jsxs=ks}()),Pn}var $s;function xf(){return $s||($s=1,process.env.NODE_ENV==="production"?du.exports=Df():du.exports=Ef()),du.exports}var K=xf();const js=6048e5,Af=864e5,zs=6e4,Hs=36e5,Cf=1e3,Us=Symbol.for("constructDateFrom");function Ke(e,r){return typeof e=="function"?e(r):e&&typeof e=="object"&&Us in e?e[Us](r):e instanceof Date?new e.constructor(r):new Date(r)}function pe(e,r){return Ke(r||e,e)}function Ur(e,r,t){const n=pe(e,t==null?void 0:t.in);return isNaN(r)?Ke((t==null?void 0:t.in)||e,NaN):(r&&n.setDate(n.getDate()+r),n)}function hu(e,r,t){const n=pe(e,t==null?void 0:t.in);if(isNaN(r))return Ke(e,NaN);if(!r)return n;const u=n.getDate(),i=Ke(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:d=0,seconds:l=0}=r,c=pe(e,t==null?void 0:t.in),p=u||n?hu(c,u+n*12):c,o=a||i?Ur(p,a+i*7):p,f=d+s*60,h=(l+f*60)*1e3;return Ke(e,+o+h)}function Vs(e,r,t){return Ke(e,+pe(e)+r)}function Sf(e,r,t){return Vs(e,r*Hs)}let Ff={};function Vr(){return Ff}function wr(e,r){var s,d,l,c;const t=Vr(),n=(r==null?void 0:r.weekStartsOn)??((d=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:d.weekStartsOn)??t.weekStartsOn??((c=(l=t.locale)==null?void 0:l.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 on(e,r){return wr(e,{...r,weekStartsOn:1})}function Ws(e,r){const t=pe(e,r==null?void 0:r.in),n=t.getFullYear(),u=Ke(t,0);u.setFullYear(n+1,0,4),u.setHours(0,0,0,0);const i=on(u),a=Ke(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 pu(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=Ke.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-pu(i),d=+a-pu(a);return Math.round((s-d)/Af)}function Of(e,r){const t=Ws(e,r),n=Ke(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*zs),n}function Mf(e,r,t){return Vs(e,r*1e3)}function Pf(e,r,t){return Ur(e,r*7,t)}function Bf(e,r,t){return hu(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 Ys(e){return!(!Rf(e)&&typeof e!="number"||isNaN(+pe(e)))}function Gs(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 Xs(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 Qs(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,d,l,c;const t=Vr(),n=(r==null?void 0:r.weekStartsOn)??((d=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:d.weekStartsOn)??t.weekStartsOn??((c=(l=t.locale)==null?void 0:l.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 $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],d=Array.isArray(s)?rd(s,p=>p.test(a)):td(s,p=>p.test(a));let l;l=e.valueCallback?e.valueCallback(d):d,l=t.valueCallback?t.valueCallback(l):l;const c=r.slice(a.length);return{value:l,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 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,Qs(t))+1}function Zs(e,r){const t=pe(e,r==null?void 0:r.in),n=+on(t)-+Of(t);return Math.round(n/js)+1}function Bi(e,r){var c,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=(c=r==null?void 0:r.locale)==null?void 0:c.options)==null?void 0:p.firstWeekContainsDate)??u.firstWeekContainsDate??((f=(o=u.locale)==null?void 0:o.options)==null?void 0:f.firstWeekContainsDate)??1,a=Ke((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),d=Ke((r==null?void 0:r.in)||e,0);d.setFullYear(n,0,i),d.setHours(0,0,0,0);const l=wr(d,r);return+t>=+s?n+1:+t>=+l?n:n-1}function yd(e,r){var s,d,l,c;const t=Vr(),n=(r==null?void 0:r.firstWeekContainsDate)??((d=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:d.firstWeekContainsDate)??t.firstWeekContainsDate??((c=(l=t.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)??1,u=Bi(e,r),i=Ke((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/js)+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"},Js={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=Ws(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=Zs(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 eo(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 eo(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"+Ks(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"+Ks(n,":");case"zzzz":default:return"GMT"+Yr(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 Ks(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 eo(e,r){return e%60===0?(e>0?"-":"+")+He(Math.abs(e)/60,2):Yr(e,r)}function Yr(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 to=(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"})}},ro=(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:ro,P:(e,r)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],u=t[2];if(!u)return to(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}}",to(n,r)).replace("{{time}}",ro(u,r))}},vd=/^D+$/,wd=/^Y+$/,Dd=["D","DD","YY","YYYY"];function no(e){return vd.test(e)}function uo(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 c,p,o,f,m,h,b,g;const n=Vr(),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??((f=(o=n.locale)==null?void 0:o.options)==null?void 0:f.firstWeekContainsDate)??1,a=(t==null?void 0:t.weekStartsOn)??((h=(m=t==null?void 0:t.locale)==null?void 0:m.options)==null?void 0:h.weekStartsOn)??n.weekStartsOn??((g=(b=n.locale)==null?void 0:b.options)==null?void 0:g.weekStartsOn)??0,s=pe(e,t==null?void 0:t.in);if(!Ys(s))throw new RangeError("Invalid time value");let d=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(Js[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&&(d=u.localize.preprocessor(s,d));const l={firstWeekContainsDate:i,weekStartsOn:a,locale:u};return d.map(w=>{if(!w.isToken)return w.value;const v=w.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&uo(v)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&no(v))&&Ri(v,r,String(e));const D=Js[v[0]];return D(s,v,u.localize,l)}).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 io(e,r){const t=pe(e,r==null?void 0:r.in),n=t.getFullYear(),u=t.getMonth(),i=Ke(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 mu(e,r){return+pe(e)>+pe(r)}function gu(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):Ke(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 ao{constructor(){ae(this,"subPriority",0)}validate(r,t){return!0}}class zd extends ao{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 ao{constructor(t,n){super();ae(this,"priority",jd);ae(this,"subPriority",-1);this.context=t||(u=>Ke(n,u))}set(t,n){return n.timestampIsSet?t:Ke(t,qd(t,this.context))}}let Pe=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 Pe{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}/},cr={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function pt(e,r){return e&&{value:r(e.value),rest:e.rest}}function it(e,r){const t=r.match(e);return t?{value:parseInt(t[0],10),rest:r.slice(t[0].length)}:null}function lr(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*Hs+i*zs+a*Cf),rest:r.slice(t[0].length)}}function so(e){return it(ht.anyDigitsSigned,e)}function st(e,r){switch(e){case 1:return it(ht.singleDigit,r);case 2:return it(ht.twoDigits,r);case 3:return it(ht.threeDigits,r);case 4:return it(ht.fourDigits,r);default:return it(new RegExp("^\\d{1,"+e+"}"),r)}}function bu(e,r){switch(e){case 1:return it(ht.singleDigitSigned,r);case 2:return it(ht.twoDigitsSigned,r);case 3:return it(ht.threeDigitsSigned,r);case 4:return it(ht.fourDigitsSigned,r);default:return it(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 oo(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 co(e){return e%400===0||e%4===0&&e%100!==0}class Vd extends Pe{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=oo(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 Pe{constructor(){super(...arguments);ae(this,"priority",130);ae(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(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 d=oo(u.year,a);return t.setFullYear(d,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 Pe{constructor(){super(...arguments);ae(this,"priority",130);ae(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return bu(n==="R"?4:n.length,t)}set(t,n,u){const i=Ke(t,0);return i.setFullYear(u,0,4),i.setHours(0,0,0,0),on(i)}}class Gd extends Pe{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 bu(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 Pe{constructor(){super(...arguments);ae(this,"priority",120);ae(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(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 Pe{constructor(){super(...arguments);ae(this,"priority",120);ae(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(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 Pe{constructor(){super(...arguments);ae(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ae(this,"priority",110)}parse(t,n,u){const i=a=>a-1;switch(n){case"M":return pt(it(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 Pe{constructor(){super(...arguments);ae(this,"priority",110);ae(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,u){const i=a=>a-1;switch(n){case"L":return pt(it(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 Pe{constructor(){super(...arguments);ae(this,"priority",100);ae(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,u){switch(n){case"w":return it(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=Zs(n,t)-r;return n.setDate(n.getDate()-u*7),n}class rh extends Pe{constructor(){super(...arguments);ae(this,"priority",100);ae(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,u){switch(n){case"I":return it(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 Pe{constructor(){super(...arguments);ae(this,"priority",90);ae(this,"subPriority",1);ae(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,u){switch(n){case"d":return it(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=co(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 Pe{constructor(){super(...arguments);ae(this,"priority",90);ae(this,"subpriority",1);ae(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,u){switch(n){case"D":case"DD":return it(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 co(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(),d=(r%7+7)%7,l=7-u,c=r<0||r>6?r-(a+l)%7:(d+l)%7-(a+l)%7;return Ur(i,c,t)}class sh extends Pe{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 Pe{constructor(){super(...arguments);ae(this,"priority",90);ae(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,u,i){const a=s=>{const d=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+d};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 Pe{constructor(){super(...arguments);ae(this,"priority",90);ae(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,u,i){const a=s=>{const d=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+d};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 Pe{constructor(){super(...arguments);ae(this,"priority",90);ae(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(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 Pe{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 Pe{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 Pe{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 Pe{constructor(){super(...arguments);ae(this,"priority",70);ae(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,u){switch(n){case"h":return it(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 Pe{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 it(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 Pe{constructor(){super(...arguments);ae(this,"priority",70);ae(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,u){switch(n){case"K":return it(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 Pe{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 it(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 Pe{constructor(){super(...arguments);ae(this,"priority",60);ae(this,"incompatibleTokens",["t","T"])}parse(t,n,u){switch(n){case"m":return it(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 Pe{constructor(){super(...arguments);ae(this,"priority",50);ae(this,"incompatibleTokens",["t","T"])}parse(t,n,u){switch(n){case"s":return it(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 Pe{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 Pe{constructor(){super(...arguments);ae(this,"priority",10);ae(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return lr(cr.basicOptionalMinutes,t);case"XX":return lr(cr.basic,t);case"XXXX":return lr(cr.basicOptionalSeconds,t);case"XXXXX":return lr(cr.extendedOptionalSeconds,t);case"XXX":default:return lr(cr.extended,t)}}set(t,n,u){return n.timestampIsSet?t:Ke(t,t.getTime()-pu(t)-u)}}class xh extends Pe{constructor(){super(...arguments);ae(this,"priority",10);ae(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return lr(cr.basicOptionalMinutes,t);case"xx":return lr(cr.basic,t);case"xxxx":return lr(cr.basicOptionalSeconds,t);case"xxxxx":return lr(cr.extendedOptionalSeconds,t);case"xxx":default:return lr(cr.extended,t)}}set(t,n,u){return n.timestampIsSet?t:Ke(t,t.getTime()-pu(t)-u)}}class Ah extends Pe{constructor(){super(...arguments);ae(this,"priority",40);ae(this,"incompatibleTokens","*")}parse(t){return so(t)}set(t,n,u){return[Ke(t,u*1e3),{timestampIsSet:!0}]}}class Ch extends Pe{constructor(){super(...arguments);ae(this,"priority",20);ae(this,"incompatibleTokens","*")}parse(t){return so(t)}set(t,n,u){return[Ke(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=()=>Ke((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,d=(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 l={firstWeekContainsDate:s,weekStartsOn:d,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),o=[];for(let C of p){!(n!=null&&n.useAdditionalWeekYearTokens)&&uo(C)&&Ri(C,r,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&no(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,l);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 f=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 h={};for(const C of f){if(!C.validate(m,l))return u();const F=C.set(m,h,l);Array.isArray(F)?(m=F[0],Object.assign(h,F[1])):m=F}return m}function Bh(e){return e.match(_h)[1].replace(Oh,"'")}function lo(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+lo(n)==+lo(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=Ke(e,0);a.setFullYear(u,r,15),a.setHours(0,0,0,0);const s=io(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)?Ke(e,NaN):(n.setFullYear(r),n)}function Yh(e,r,t){return hu(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:d=0,seconds:l=0}=r,c=Yh(e,u+n*12,t),p=qh(c,a+i*7,t),o=d+s*60,m=(l+o*60)*1e3;return Ke(e,+p-m)}var Ln=(e=>(e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH",e.YEAR="YEAR",e))(Ln||{});function ln({error:e,id:r}){return K.jsxs(Le.FormHelperText,{id:r,"data-testid":"form-field-error-message",error:!0,children:[sn.getTextFieldIconByStatus("error"),e]})}var er={},tr={},$i={},rr={},yu={},fo;function Xh(){return fo||(fo=1,Object.defineProperty(yu,"__esModule",{value:!0}),yu.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୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢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;怳Ādp໩໮uct;戏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ǣጓ\0጖y;䐎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Ā;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀ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Ā;e᜚᜜lƀ;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\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩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ↄⅪ←ٖ↛ǰ↉\0↎proø₞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;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\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\0⹻m;櫳;櫽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)}))),yu}var vu={},ho;function Qh(){return ho||(ho=1,Object.defineProperty(vu,"__esModule",{value:!0}),vu.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(e){return e.charCodeAt(0)}))),vu}var ji={},po;function mo(){return po||(po=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 go;function wu(){return go||(go=1,function(e){var r=rr&&rr.__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=rr&&rr.__setModuleDefault||(Object.create?function(T,_){Object.defineProperty(T,"default",{enumerable:!0,value:_})}:function(T,_){T.default=_}),n=rr&&rr.__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=rr&&rr.__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(mo());e.decodeCodePoint=s.default;var d=mo();Object.defineProperty(e,"replaceCodePoint",{enumerable:!0,get:function(){return d.replaceCodePoint}}),Object.defineProperty(e,"fromCodePoint",{enumerable:!0,get:function(){return d.fromCodePoint}});var l;(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"})(l||(l={}));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 o(T){return T>=l.ZERO&&T<=l.NINE}function f(T){return T>=l.UPPER_A&&T<=l.UPPER_F||T>=l.LOWER_A&&T<=l.LOWER_F}function m(T){return T>=l.UPPER_A&&T<=l.UPPER_Z||T>=l.LOWER_A&&T<=l.LOWER_Z||o(T)}function h(T){return T===l.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)===l.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)===l.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(_===l.SEMI)this.consumed+=1;else if(this.decodeMode===g.Strict)return 0;return this.emitCodePoint((0,s.replaceCodePoint)(this.result),this.consumed),this.errors&&(_!==l.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||h(J))?0:this.emitNotTerminatedNamedEntity();if(N=B[this.treeIndex],I=(N&p.VALUE_LENGTH)>>14,I!==0){if(J===l.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}(rr)),rr}var bo;function yo(){return bo||(bo=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.QuoteType=void 0;var r=wu(),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 d(o){return o>=t.UpperA&&o<=t.UpperF||o>=t.LowerA&&o<=t.LowerF}var l;(function(o){o[o.NoValue=0]="NoValue",o[o.Unquoted=1]="Unquoted",o[o.Single=2]="Single",o[o.Double=3]="Double"})(l=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 o(f,m){var h=f.xmlMode,b=h===void 0?!1:h,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,h=m?i(f):(f|32)===this.currentSequence[this.sequenceIndex];if(!h)this.isSpecial=!1;else if(!m){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=n.InTagName,this.stateInTagName(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 h=this.index;this.index=m,this.cbs.ontext(this.sectionStart,m),this.index=h}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===c.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===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(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===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):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===c.TitleEnd[2]?this.startSpecial(c.TitleEnd,3):this.state=!this.xmlMode&&m===c.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(l.NoValue,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(f)):u(f)||(this.cbs.onattribend(l.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?l.Double:l.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(l.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=c.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===c.ScriptEnd[3]?this.startSpecial(c.ScriptEnd,4):m===c.StyleEnd[3]?this.startSpecial(c.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 h=(m>>14)-1;if(!this.allowLegacyEntity()&&f!==t.Semi)this.trieIndex+=h;else{var b=this.index-this.entityExcess+1;b>this.sectionStart&&this.emitPartial(this.sectionStart,b),this.entityResult=this.trieIndex,this.trieIndex+=h,this.entityExcess=0,this.sectionStart=this.index+1,h===0&&this.emitNamedEntity()}}},o.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var 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,h=m+2+ +(this.state===n.InHexEntity);h!==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++):d(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===c.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 vo;function wo(){if(vo)return tr;vo=1;var e=tr&&tr.__createBinding||(Object.create?function(b,g,w,v){v===void 0&&(v=w);var D=Object.getOwnPropertyDescriptor(g,w);(!D||("get"in D?!g.__esModule:D.writable||D.configurable))&&(D={enumerable:!0,get:function(){return g[w]}}),Object.defineProperty(b,v,D)}:function(b,g,w,v){v===void 0&&(v=w),b[v]=g[w]}),r=tr&&tr.__setModuleDefault||(Object.create?function(b,g){Object.defineProperty(b,"default",{enumerable:!0,value:g})}:function(b,g){b.default=g}),t=tr&&tr.__importStar||function(b){if(b&&b.__esModule)return b;var g={};if(b!=null)for(var w in b)w!=="default"&&Object.prototype.hasOwnProperty.call(b,w)&&e(g,b,w);return r(g,b),g};Object.defineProperty(tr,"__esModule",{value:!0}),tr.Parser=void 0;var n=t(yo()),u=wu(),i=new Set(["input","option","optgroup","select","button","datalist","textarea"]),a=new Set(["p"]),s=new Set(["thead","tbody"]),d=new Set(["dd","dt"]),l=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",d],["dt",d],["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",l],["rp",l],["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|\//,h=function(){function b(g,w){w===void 0&&(w={});var v,D,y,E,A;this.options=w,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=g??{},this.lowerCaseTagNames=(v=w.lowerCaseTags)!==null&&v!==void 0?v:!w.xmlMode,this.lowerCaseAttributeNames=(D=w.lowerCaseAttributeNames)!==null&&D!==void 0?D:!w.xmlMode,this.tokenizer=new((y=w.Tokenizer)!==null&&y!==void 0?y:n.default)(this.options,this),(A=(E=this.cbs).onparserinit)===null||A===void 0||A.call(E,this)}return b.prototype.ontext=function(g,w){var v,D,y=this.getSlice(g,w);this.endIndex=w-1,(D=(v=this.cbs).ontext)===null||D===void 0||D.call(v,y),this.startIndex=w},b.prototype.ontextentity=function(g){var w,v,D=this.tokenizer.getSectionStart();this.endIndex=D-1,(v=(w=this.cbs).ontext)===null||v===void 0||v.call(w,(0,u.fromCodePoint)(g)),this.startIndex=D},b.prototype.isVoidElement=function(g){return!this.options.xmlMode&&p.has(g)},b.prototype.onopentagname=function(g,w){this.endIndex=w;var v=this.getSlice(g,w);this.lowerCaseTagNames&&(v=v.toLowerCase()),this.emitOpenTag(v)},b.prototype.emitOpenTag=function(g){var w,v,D,y;this.openTagStart=this.startIndex,this.tagname=g;var E=!this.options.xmlMode&&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),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 tr.Parser=h,tr}var Gr={},zi={},Do;function qn(){return Do||(Do=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={},Eo;function xo(){if(Eo)return xe;Eo=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 d=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=d;var l=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}(d);xe.CDATA=l;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}(d);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}(d);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 h(y){return y.type===t.ElementType.Comment}xe.isComment=h;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(h(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 l(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 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 Ao;function Mr(){return Ao||(Ao=1,function(e){var r=Gr&&Gr.__createBinding||(Object.create?function(s,d,l,c){c===void 0&&(c=l);var p=Object.getOwnPropertyDescriptor(d,l);(!p||("get"in p?!d.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return d[l]}}),Object.defineProperty(s,c,p)}:function(s,d,l,c){c===void 0&&(c=l),s[c]=d[l]}),t=Gr&&Gr.__exportStar||function(s,d){for(var l in s)l!=="default"&&!Object.prototype.hasOwnProperty.call(d,l)&&r(d,s,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var n=qn(),u=xo();t(xo(),e);var i={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},a=function(){function s(d,l,c){this.dom=[],this.root=new u.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof l=="function"&&(c=l,l=i),typeof d=="object"&&(l=d,d=void 0),this.callback=d??null,this.options=l??i,this.elementCB=c??null}return s.prototype.onparserinit=function(d){this.parser=d},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(d){this.handleCallback(d)},s.prototype.onclosetag=function(){this.lastNode=null;var d=this.tagStack.pop();this.options.withEndIndices&&(d.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(d)},s.prototype.onopentag=function(d,l){var c=this.options.xmlMode?n.ElementType.Tag:void 0,p=new u.Element(d,l,void 0,c);this.addNode(p),this.tagStack.push(p)},s.prototype.ontext=function(d){var l=this.lastNode;if(l&&l.type===n.ElementType.Text)l.data+=d,this.options.withEndIndices&&(l.endIndex=this.parser.endIndex);else{var c=new u.Text(d);this.addNode(c),this.lastNode=c}},s.prototype.oncomment=function(d){if(this.lastNode&&this.lastNode.type===n.ElementType.Comment){this.lastNode.data+=d;return}var l=new u.Comment(d);this.addNode(l),this.lastNode=l},s.prototype.oncommentend=function(){this.lastNode=null},s.prototype.oncdatastart=function(){var d=new u.Text(""),l=new u.CDATA([d]);this.addNode(l),d.parent=l,this.lastNode=d},s.prototype.oncdataend=function(){this.lastNode=null},s.prototype.onprocessinginstruction=function(d,l){var c=new u.ProcessingInstruction(d,l);this.addNode(c)},s.prototype.handleCallback=function(d){if(typeof this.callback=="function")this.callback(d,this.dom);else if(d)throw d},s.prototype.addNode=function(d){var l=this.tagStack[this.tagStack.length-1],c=l.children[l.children.length-1];this.options.withStartIndices&&(d.startIndex=this.parser.startIndex),this.options.withEndIndices&&(d.endIndex=this.parser.endIndex),l.children.push(d),c&&(d.prev=c,c.next=d),d.parent=l,this.lastNode=null},s}();e.DomHandler=a,e.default=a}(Gr)),Gr}var Xr={},fr={},Bt={},Hi={},Dr={},Du={},Co;function Zh(){if(Co)return Du;Co=1,Object.defineProperty(Du,"__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 Du.default=new Map(e([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(e([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(e([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(e([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]])),Du}var Ui={},To;function Vi(){return To||(To=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,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);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 d=s.index,l=u.charCodeAt(d),c=r.get(l);c!==void 0?(i+=u.substring(a,d)+c,a=d+1):(i+="".concat(u.substring(a,d),"&#x").concat((0,e.getCodePoint)(u,d).toString(16),";"),a=e.xmlReplacer.lastIndex+=+((l&64512)===55296))}return i+u.substr(a)}e.encodeXML=t,e.escape=t;function n(u,i){return function(s){for(var d,l=0,c="";d=u.exec(s);)l!==d.index&&(c+=s.substring(l,d.index)),c+=i.get(d[0].charCodeAt(0)),l=d.index+1;return c+s.substring(l)}}e.escapeUTF8=n(/[&<>'"]/g,r),e.escapeAttribute=n(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),e.escapeText=n(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))}(Ui)),Ui}var So;function Fo(){if(So)return Dr;So=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,d){for(var l="",c=0,p;(p=s.exec(d))!==null;){var o=p.index;l+=d.substring(c,o);var f=d.charCodeAt(o),m=r.default.get(f);if(typeof m=="object"){if(o+1<d.length){var h=d.charCodeAt(o+1),b=typeof m.n=="number"?m.n===h?m.o:void 0:m.n.get(h);if(b!==void 0){l+=b,c=s.lastIndex+=1;continue}}m=m.v}if(m!==void 0)l+=m,c=o+1;else{var g=(0,t.getCodePoint)(d,o);l+="&#x".concat(g.toString(16),";"),c=s.lastIndex+=+(g!==f)}}return l+d.substr(c)}return Dr}var _o;function Jh(){return _o||(_o=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=wu(),t=Fo(),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 h=typeof f=="object"?f.mode:void 0;return(0,r.decodeHTML)(o,h)}return(0,r.decodeXML)(o)}e.decode=a;function s(o,f){var m;f===void 0&&(f=u.XML);var h=typeof f=="number"?{level:f}:f;return(m=h.mode)!==null&&m!==void 0||(h.mode=r.DecodingMode.Strict),a(o,h)}e.decodeStrict=s;function d(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=d;var l=Vi();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return l.encodeXML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return l.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return l.escapeUTF8}}),Object.defineProperty(e,"escapeAttribute",{enumerable:!0,get:function(){return l.escapeAttribute}}),Object.defineProperty(e,"escapeText",{enumerable:!0,get:function(){return l.escapeText}});var c=Fo();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=wu();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={},Oo;function Kh(){return Oo||(Oo=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 No;function e1(){if(No)return Bt;No=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 d(D){return D.replace(/"/g,"&quot;")}function l(D,y){var E;if(D){var A=((E=y.encodeEntities)!==null&&E!==void 0?E:y.decodeEntities)===!1?d: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+=o(E[C],y);return A}Bt.render=p,Bt.default=p;function o(D,y){switch(D.type){case u.Root:return p(D.children,y);case u.Doctype:case u.Directive:return b(D);case u.Comment:return v(D);case u.CDATA:return w(D);case u.Script:case u.Style:case u.Tag:return h(D,y);case u.Text:return g(D,y)}}var f=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m=new Set(["svg","math"]);function h(D,y){var E;y.xmlMode==="foreign"&&(D.name=(E=a.elementNames.get(D.name))!==null&&E!==void 0?E:D.name,D.parent&&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=l(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&&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 Mo;function Po(){if(Mo)return fr;Mo=1;var e=fr&&fr.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(fr,"__esModule",{value:!0}),fr.getOuterHTML=u,fr.getInnerHTML=i,fr.getText=a,fr.textContent=s,fr.innerText=d;var r=Mr(),t=e(e1()),n=qn();function u(l,c){return(0,t.default)(l,c)}function i(l,c){return(0,r.hasChildren)(l)?l.children.map(function(p){return u(p,c)}).join(""):""}function a(l){return Array.isArray(l)?l.map(a).join(""):(0,r.isTag)(l)?l.name==="br"?`
31
+ `:a(l.children):(0,r.isCDATA)(l)?a(l.children):(0,r.isText)(l)?l.data:""}function s(l){return Array.isArray(l)?l.map(s).join(""):(0,r.hasChildren)(l)&&!(0,r.isComment)(l)?s(l.children):(0,r.isText)(l)?l.data:""}function d(l){return Array.isArray(l)?l.map(d).join(""):(0,r.hasChildren)(l)&&(l.type===n.ElementType.Tag||(0,r.isCDATA)(l))?d(l.children):(0,r.isText)(l)?l.data:""}return fr}var nr={},Bo;function t1(){if(Bo)return nr;Bo=1,Object.defineProperty(nr,"__esModule",{value:!0}),nr.getChildren=r,nr.getParent=t,nr.getSiblings=n,nr.getAttributeValue=u,nr.hasAttrib=i,nr.getName=a,nr.nextElementSibling=s,nr.prevElementSibling=d;var e=Mr();function r(l){return(0,e.hasChildren)(l)?l.children:[]}function t(l){return l.parent||null}function n(l){var c,p,o=t(l);if(o!=null)return r(o);for(var f=[l],m=l.prev,h=l.next;m!=null;)f.unshift(m),c=m,m=c.prev;for(;h!=null;)f.push(h),p=h,h=p.next;return f}function u(l,c){var p;return(p=l.attribs)===null||p===void 0?void 0:p[c]}function i(l,c){return l.attribs!=null&&Object.prototype.hasOwnProperty.call(l.attribs,c)&&l.attribs[c]!=null}function a(l){return l.name}function s(l){for(var c,p=l.next;p!==null&&!(0,e.isTag)(p);)c=p,p=c.next;return p}function d(l){for(var c,p=l.prev;p!==null&&!(0,e.isTag)(p);)c=p,p=c.prev;return p}return nr}var Er={},Io;function r1(){if(Io)return Er;Io=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,d=s.lastIndexOf(a);d>=0&&s.splice(d,1)}a.next=null,a.prev=null,a.parent=null}function r(a,s){var d=s.prev=a.prev;d&&(d.next=s);var l=s.next=a.next;l&&(l.prev=s);var c=s.parent=a.parent;if(c){var p=c.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 d=a.children[a.children.length-2];d.next=s,s.prev=d}else s.prev=null}function n(a,s){e(s);var d=a.parent,l=a.next;if(s.next=l,s.prev=a,a.next=s,s.parent=d,l){if(l.prev=s,d){var c=d.children;c.splice(c.lastIndexOf(l),0,s)}}else d&&d.children.push(s)}function u(a,s){if(e(s),s.parent=a,s.prev=null,a.children.unshift(s)!==1){var d=a.children[1];d.prev=s,s.next=d}else s.next=null}function i(a,s){e(s);var d=a.parent;if(d){var l=d.children;l.splice(l.indexOf(a),0,s)}a.prev&&(a.prev.next=s),s.parent=d,s.prev=a.prev,s.next=a,a.prev=s}return Er}var xr={},Ro;function ko(){if(Ro)return xr;Ro=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,d,l,c){return l===void 0&&(l=!0),c===void 0&&(c=1/0),t(s,Array.isArray(d)?d:[d],l,c)}function t(s,d,l,c){for(var p=[],o=[Array.isArray(d)?d:[d]],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),--c<=0))return p;l&&(0,e.hasChildren)(m)&&m.children.length>0&&(f.unshift(0),o.unshift(m.children))}}function n(s,d){return d.find(s)}function u(s,d,l){l===void 0&&(l=!0);for(var c=Array.isArray(d)?d:[d],p=0;p<c.length;p++){var o=c[p];if((0,e.isTag)(o)&&s(o))return o;if(l&&(0,e.hasChildren)(o)&&o.children.length>0){var f=u(s,o.children,!0);if(f)return f}}return null}function i(s,d){return(Array.isArray(d)?d:[d]).some(function(l){return(0,e.isTag)(l)&&s(l)||(0,e.hasChildren)(l)&&i(s,l.children)})}function a(s,d){for(var l=[],c=[Array.isArray(d)?d:[d]],p=[0];;){if(p[0]>=c[0].length){if(c.length===1)return l;c.shift(),p.shift();continue}var o=c[0][p[0]++];(0,e.isTag)(o)&&s(o)&&l.push(o),(0,e.hasChildren)(o)&&o.children.length>0&&(p.unshift(0),c.unshift(o.children))}}return xr}var Ar={},Lo;function qo(){if(Lo)return Ar;Lo=1,Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.testElement=a,Ar.getElements=s,Ar.getElementById=d,Ar.getElementsByTagName=l,Ar.getElementsByClassName=c,Ar.getElementsByTagType=p;var e=Mr(),r=ko(),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 h=o[m];return Object.prototype.hasOwnProperty.call(t,m)?t[m](h):n(m,h)});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,h){h===void 0&&(h=1/0);var b=i(o);return b?(0,r.filter)(b,f,m,h):[]}function d(o,f,m){return m===void 0&&(m=!0),Array.isArray(f)||(f=[f]),(0,r.findOne)(n("id",o),f,m)}function l(o,f,m,h){return m===void 0&&(m=!0),h===void 0&&(h=1/0),(0,r.filter)(t.tag_name(o),f,m,h)}function c(o,f,m,h){return m===void 0&&(m=!0),h===void 0&&(h=1/0),(0,r.filter)(n("class",o),f,m,h)}function p(o,f,m,h){return m===void 0&&(m=!0),h===void 0&&(h=1/0),(0,r.filter)(t.tag_type(o),f,m,h)}return Ar}var Pr={},$o;function n1(){if($o)return Pr;$o=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 d=s.parent;d;d=d.parent)if(i.includes(d)){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=[],d=[];if(i===a)return 0;for(var l=(0,e.hasChildren)(i)?i:i.parent;l;)s.unshift(l),l=l.parent;for(l=(0,e.hasChildren)(a)?a:a.parent;l;)d.unshift(l),l=l.parent;for(var c=Math.min(s.length,d.length),p=0;p<c&&s[p]===d[p];)p++;if(p===0)return t.DISCONNECTED;var o=s[p-1],f=o.children,m=s[p],h=d[p];return f.indexOf(m)>f.indexOf(h)?o===a?t.FOLLOWING|t.CONTAINED_BY:t.FOLLOWING:o===i?t.PRECEDING|t.CONTAINS:t.PRECEDING}function u(i){return i=i.filter(function(a,s,d){return!d.includes(a,s+1)}),i.sort(function(a,s){var d=n(a,s);return d&t.PRECEDING?-1:d&t.FOLLOWING?1:0}),i}return Pr}var Eu={},jo;function u1(){if(jo)return Eu;jo=1,Object.defineProperty(Eu,"__esModule",{value:!0}),Eu.getFeed=t;var e=Po(),r=qo();function t(o){var f=d(p,o);return f?f.name==="feed"?n(f):u(f):null}function n(o){var f,m=o.children,h={type:"atom",items:(0,r.getElementsByTagName)("entry",m).map(function(w){var v,D=w.children,y={media:s(D)};c(y,"id","id",D),c(y,"title","title",D);var E=(v=d("link",D))===null||v===void 0?void 0:v.attribs.href;E&&(y.link=E);var A=l("summary",D)||l("content",D);A&&(y.description=A);var C=l("updated",D);return C&&(y.pubDate=new Date(C)),y})};c(h,"id","id",m),c(h,"title","title",m);var b=(f=d("link",m))===null||f===void 0?void 0:f.attribs.href;b&&(h.link=b),c(h,"description","subtitle",m);var g=l("updated",m);return g&&(h.updated=new Date(g)),c(h,"author","email",m,!0),h}function u(o){var f,m,h=(m=(f=d("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)};c(D,"id","guid",v),c(D,"title","title",v),c(D,"link","link",v),c(D,"description","description",v);var y=l("pubDate",v)||l("dc:date",v);return y&&(D.pubDate=new Date(y)),D})};c(b,"title","title",h),c(b,"link","link",h),c(b,"description","description",h);var g=l("lastBuildDate",h);return g&&(b.updated=new Date(g)),c(b,"author","managingEditor",h,!0),b}var i=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(o){return(0,r.getElementsByTagName)("media:content",o).map(function(f){for(var m=f.attribs,h={medium:m.medium,isDefault:!!m.isDefault},b=0,g=i;b<g.length;b++){var w=g[b];m[w]&&(h[w]=m[w])}for(var v=0,D=a;v<D.length;v++){var w=D[v];m[w]&&(h[w]=parseInt(m[w],10))}return m.expression&&(h.expression=m.expression),h})}function d(o,f){return(0,r.getElementsByTagName)(o,f,!0,1)[0]}function l(o,f,m){return m===void 0&&(m=!1),(0,e.textContent)((0,r.getElementsByTagName)(o,f,m,1)).trim()}function c(o,f,m,h,b){b===void 0&&(b=!1);var g=l(m,h,b);g&&(o[f]=g)}function p(o){return o==="rss"||o==="feed"||o==="rdf:RDF"}return Eu}var zo;function Wi(){return zo||(zo=1,function(e){var r=Xr&&Xr.__createBinding||(Object.create?function(u,i,a,s){s===void 0&&(s=a);var d=Object.getOwnPropertyDescriptor(i,a);(!d||("get"in d?!i.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return i[a]}}),Object.defineProperty(u,s,d)}: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(Po(),e),t(t1(),e),t(r1(),e),t(ko(),e),t(qo(),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 Ho;function i1(){return Ho||(Ho=1,function(e){var r=er&&er.__createBinding||(Object.create?function(g,w,v,D){D===void 0&&(D=v);var y=Object.getOwnPropertyDescriptor(w,v);(!y||("get"in y?!w.__esModule:y.writable||y.configurable))&&(y={enumerable:!0,get:function(){return w[v]}}),Object.defineProperty(g,D,y)}:function(g,w,v,D){D===void 0&&(D=v),g[D]=w[v]}),t=er&&er.__setModuleDefault||(Object.create?function(g,w){Object.defineProperty(g,"default",{enumerable:!0,value:w})}:function(g,w){g.default=w}),n=er&&er.__importStar||function(g){if(g&&g.__esModule)return g;var w={};if(g!=null)for(var v in g)v!=="default"&&Object.prototype.hasOwnProperty.call(g,v)&&r(w,g,v);return t(w,g),w},u=er&&er.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(e,"__esModule",{value:!0}),e.DomUtils=e.parseFeed=e.getFeed=e.ElementType=e.Tokenizer=e.createDomStream=e.parseDOM=e.parseDocument=e.DefaultHandler=e.DomHandler=e.Parser=void 0;var i=wo(),a=wo();Object.defineProperty(e,"Parser",{enumerable:!0,get:function(){return a.Parser}});var s=Mr(),d=Mr();Object.defineProperty(e,"DomHandler",{enumerable:!0,get:function(){return d.DomHandler}}),Object.defineProperty(e,"DefaultHandler",{enumerable:!0,get:function(){return d.DomHandler}});function l(g,w){var v=new s.DomHandler(void 0,w);return new i.Parser(v,w).end(g),v.root}e.parseDocument=l;function c(g,w){return l(g,w).children}e.parseDOM=c;function p(g,w,v){var D=new s.DomHandler(g,w,v);return new i.Parser(D,w)}e.createDomStream=p;var o=yo();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 h={xmlMode:!0};function b(g,w){return w===void 0&&(w=h),(0,f.getFeed)(c(g,w))}e.parseFeed=b,e.DomUtils=n(Wi())}(er)),er}var Yi,Uo;function a1(){return Uo||(Uo=1,Yi=e=>{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),Yi}var xu={},Vo;function s1(){if(Vo)return xu;Vo=1,Object.defineProperty(xu,"__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 xu.isPlainObject=r,xu}var Gi,Wo;function o1(){if(Wo)return Gi;Wo=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)?h(a(g),g,w):g}function f(g,w,v){return g.concat(w).map(function(D){return s(D,v)})}function l(g,w){if(!w.customMerge)return h;var v=w.customMerge(g);return typeof v=="function"?v:h}function c(g){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(g).filter(function(w){return Object.propertyIsEnumerable.call(g,w)}):[]}function p(g){return Object.keys(g).concat(c(g))}function o(g,w){try{return w in g}catch{return!1}}function d(g,w){return o(g,w)&&!(Object.hasOwnProperty.call(g,w)&&Object.propertyIsEnumerable.call(g,w))}function m(g,w,v){var D={};return v.isMergeableObject(g)&&p(g).forEach(function(y){D[y]=s(g[y],v)}),p(w).forEach(function(y){d(g,y)||(o(g,y)&&v.isMergeableObject(w[y])?D[y]=l(y,v)(g[y],w[y],v):D[y]=s(w[y],v))}),D}function h(g,w,v){v=v||{},v.arrayMerge=v.arrayMerge||f,v.isMergeableObject=v.isMergeableObject||e,v.cloneUnlessOtherwiseSpecified=s;var D=Array.isArray(w),y=Array.isArray(g),E=D===y;return E?D?v.arrayMerge(g,w,v):m(g,w,v):s(w,v)}h.all=function(w,v){if(!Array.isArray(w))throw new Error("first argument should be an array");return w.reduce(function(D,y){return h(D,y,v)},{})};var b=h;return Gi=b,Gi}var Au={exports:{}},c1=Au.exports,Yo;function l1(){return Yo||(Yo=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]+/,f=/[,]+$/,l=/^\d+$/,c=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,p,o,d,m,h,b=0,g=[];;){if(n(a),b>=u)return g;p=n(s),o=[],p.slice(-1)===","?(p=p.replace(f,""),v()):w()}function w(){for(n(i),d="",m="in descriptor";;){if(h=r.charAt(b),m==="in descriptor")if(t(h))d&&(o.push(d),d="",m="after descriptor");else if(h===","){b+=1,d&&o.push(d),v();return}else if(h==="(")d=d+h,m="in parens";else if(h===""){d&&o.push(d),v();return}else d=d+h;else if(m==="in parens")if(h===")")d=d+h,m="in descriptor";else if(h===""){o.push(d),v();return}else d=d+h;else if(m==="after descriptor"&&!t(h))if(h===""){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(_),l.test(_)&&T==="w"?((y||E)&&(D=!0),P===0?D=!0:y=P):c.test(_)&&T==="x"?((y||E||A)&&(D=!0),B<0?D=!0:E=B):l.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))}}})}(Au)),Au.exports}var Cu={exports:{}},Go;function f1(){if(Go)return Cu.exports;Go=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 Cu.exports=r(),Cu.exports.createColors=r,Cu.exports}const ur=wf(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Xi,Xo;function Qi(){if(Xo)return Xi;Xo=1;let e=f1(),r=ur;class t extends Error{constructor(u,i,a,s,f,l){super(u),this.name="CssSyntaxError",this.reason=u,f&&(this.file=f),s&&(this.source=s),l&&(this.plugin=l),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=d=>d,s=d=>d,f=d=>d;if(u){let{bold:d,gray:m,red:h}=e.createColors(!0);s=b=>d(h(b)),a=b=>m(b),r&&(f=b=>r(b))}let l=i.split(/\r?\n/),c=Math.max(this.line-3,0),p=Math.min(this.line+2,l.length),o=String(p).length;return l.slice(c,p).map((d,m)=>{let h=c+1+m,b=" "+(" "+h).slice(-o)+" | ";if(h===this.line){if(d.length>160){let w=20,v=Math.max(0,this.column-w),D=Math.max(this.column+w,this.endColumn+w),y=d.slice(v,D),E=a(b.replace(/\d/g," "))+d.slice(0,Math.min(this.column-1,w-1)).replace(/[^\t]/g," ");return s(">")+a(b)+f(y)+`
38
- `+E+s("^")}let g=a(b.replace(/\d/g," "))+d.slice(0,this.column-1).replace(/[^\t]/g," ");return s(">")+a(b)+f(d)+`
39
- `+g+s("^")}return" "+a(b)+f(d)}).join(`
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 xu.isPlainObject=r,xu}var Gi,Wo;function o1(){if(Wo)return Gi;Wo=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)?h(a(g),g,w):g}function d(g,w,v){return g.concat(w).map(function(D){return s(D,v)})}function l(g,w){if(!w.customMerge)return h;var v=w.customMerge(g);return typeof v=="function"?v:h}function c(g){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(g).filter(function(w){return Object.propertyIsEnumerable.call(g,w)}):[]}function p(g){return Object.keys(g).concat(c(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]=l(y,v)(g[y],w[y],v):D[y]=s(w[y],v))}),D}function h(g,w,v){v=v||{},v.arrayMerge=v.arrayMerge||d,v.isMergeableObject=v.isMergeableObject||e,v.cloneUnlessOtherwiseSpecified=s;var D=Array.isArray(w),y=Array.isArray(g),E=D===y;return E?D?v.arrayMerge(g,w,v):m(g,w,v):s(w,v)}h.all=function(w,v){if(!Array.isArray(w))throw new Error("first argument should be an array");return w.reduce(function(D,y){return h(D,y,v)},{})};var b=h;return Gi=b,Gi}var Au={exports:{}},c1=Au.exports,Yo;function l1(){return Yo||(Yo=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]+/,d=/[,]+$/,l=/^\d+$/,c=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,p,o,f,m,h,b=0,g=[];;){if(n(a),b>=u)return g;p=n(s),o=[],p.slice(-1)===","?(p=p.replace(d,""),v()):w()}function w(){for(n(i),f="",m="in descriptor";;){if(h=r.charAt(b),m==="in descriptor")if(t(h))f&&(o.push(f),f="",m="after descriptor");else if(h===","){b+=1,f&&o.push(f),v();return}else if(h==="(")f=f+h,m="in parens";else if(h===""){f&&o.push(f),v();return}else f=f+h;else if(m==="in parens")if(h===")")f=f+h,m="in descriptor";else if(h===""){o.push(f),v();return}else f=f+h;else if(m==="after descriptor"&&!t(h))if(h===""){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(_),l.test(_)&&T==="w"?((y||E)&&(D=!0),P===0?D=!0:y=P):c.test(_)&&T==="x"?((y||E||A)&&(D=!0),B<0?D=!0:E=B):l.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))}}})}(Au)),Au.exports}var Cu={exports:{}},Go;function f1(){if(Go)return Cu.exports;Go=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 Cu.exports=r(),Cu.exports.createColors=r,Cu.exports}const ur=wf(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Xi,Xo;function Qi(){if(Xo)return Xi;Xo=1;let e=f1(),r=ur;class t extends Error{constructor(u,i,a,s,d,l){super(u),this.name="CssSyntaxError",this.reason=u,d&&(this.file=d),s&&(this.source=s),l&&(this.plugin=l),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,d=f=>f;if(u){let{bold:f,gray:m,red:h}=e.createColors(!0);s=b=>f(h(b)),a=b=>m(b),r&&(d=b=>r(b))}let l=i.split(/\r?\n/),c=Math.max(this.line-3,0),p=Math.min(this.line+2,l.length),o=String(p).length;return l.slice(c,p).map((f,m)=>{let h=c+1+m,b=" "+(" "+h).slice(-o)+" | ";if(h===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)+d(y)+`
38
+ `+E+s("^")}let g=a(b.replace(/\d/g," "))+f.slice(0,this.column-1).replace(/[^\t]/g," ");return s(">")+a(b)+d(f)+`
39
+ `+g+s("^")}return" "+a(b)+d(f)}).join(`
40
40
  `)}toString(){let u=this.showSourceCode();return u&&(u=`
41
41
 
42
42
  `+u+`
@@ -45,49 +45,49 @@ React keys must be passed directly to JSX without using spread:
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,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 f=(u.raws.between||"")+(i?";":"");this.builder(a+s+f,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,f=0;for(;s&&s.type!=="root";)f+=1,s=s.parent;if(a.includes(`
49
- `)){let l=this.raw(u,null,"indent");if(l.length)for(let c=0;c<f;c++)a+=l}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 f=u.nodes[s],l=this.raw(f,"before");l&&this.builder(l),this.stringify(f,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 f=u.parent;if(a==="before"&&(!f||f.type==="root"&&f.first===u||f&&f.type==="document"))return"";if(!f)return e[a];let l=u.root();if(l.rawCache||(l.rawCache={}),typeof l.rawCache[a]<"u")return l.rawCache[a];if(a==="before"||a==="after")return this.beforeAfter(u,a);{let c="raw"+r(a);this[c]?s=this[c](l,u):l.walk(p=>{if(s=p.raws[i],typeof s<"u")return!1})}return typeof s>"u"&&(s=e[a]),l.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(`
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 d=(u.raws.between||"")+(i?";":"");this.builder(a+s+d,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,d=0;for(;s&&s.type!=="root";)d+=1,s=s.parent;if(a.includes(`
49
+ `)){let l=this.raw(u,null,"indent");if(l.length)for(let c=0;c<d;c++)a+=l}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 d=u.nodes[s],l=this.raw(d,"before");l&&this.builder(l),this.stringify(d,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 d=u.parent;if(a==="before"&&(!d||d.type==="root"&&d.first===u||d&&d.type==="document"))return"";if(!d)return e[a];let l=u.root();if(l.rawCache||(l.rawCache={}),typeof l.rawCache[a]<"u")return l.rawCache[a];if(a==="before"||a==="after")return this.beforeAfter(u,a);{let c="raw"+r(a);this[c]?s=this[c](l,u):l.walk(p=>{if(s=p.raws[i],typeof s<"u")return!1})}return typeof s>"u"&&(s=e[a]),l.rawCache[a]=s,s}rawBeforeClose(u){let i;return u.walk(a=>{if(a.nodes&&a.nodes.length>0&&typeof a.raws.after<"u")return i=a.raws.after,i.includes(`
50
50
  `)&&(i=i.replace(/[^\n]+$/,"")),!1}),i&&(i=i.replace(/\S/g,"")),i}rawBeforeComment(u,i){let a;return u.walkComments(s=>{if(typeof s.raws.before<"u")return a=s.raws.before,a.includes(`
51
51
  `)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a>"u"?a=this.raw(i,null,"beforeDecl"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeDecl(u,i){let a;return u.walkDecls(s=>{if(typeof s.raws.before<"u")return a=s.raws.before,a.includes(`
52
52
  `)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a>"u"?a=this.raw(i,null,"beforeRule"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeOpen(u){let i;return u.walk(a=>{if(a.type!=="decl"&&(i=a.raws.between,typeof i<"u"))return!1}),i}rawBeforeRule(u){let i;return u.walk(a=>{if(a.nodes&&(a.parent!==u||u.first!==a)&&typeof a.raws.before<"u")return i=a.raws.before,i.includes(`
53
- `)&&(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 f=a.raws.before.split(`
54
- `);return i=f[f.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,Jo;function Tu(){if(Jo)return Ji;Jo=1;let e=Zo();function r(t,n){new e(n).stringify(t)}return Ji=r,r.default=r,Ji}var Su={},Ko;function Ki(){return Ko||(Ko=1,Su.isClean=Symbol("isClean"),Su.my=Symbol("my")),Su}var ea,ec;function Fu(){if(ec)return ea;ec=1;let e=Qi(),r=Zo(),t=Tu(),{isClean:n,my:u}=Ki();function i(f,l){let c=new f.constructor;for(let p in f){if(!Object.prototype.hasOwnProperty.call(f,p)||p==="proxyCache")continue;let o=f[p],d=typeof o;p==="parent"&&d==="object"?l&&(c[p]=l):p==="source"?c[p]=o:Array.isArray(o)?c[p]=o.map(m=>i(m,c)):(d==="object"&&o!==null&&(o=i(o)),c[p]=o)}return c}function a(f,l){if(l&&typeof l.offset<"u")return l.offset;let c=1,p=1,o=0;for(let d=0;d<f.length;d++){if(p===l.line&&c===l.column){o=d;break}f[d]===`
55
- `?(c=1,p+=1):c+=1}return o}class s{get proxyOf(){return this}constructor(l={}){this.raws={},this[n]=!1,this[u]=!0;for(let c in l)if(c==="nodes"){this.nodes=[];for(let p of l[c])typeof p.clone=="function"?this.append(p.clone()):this.append(p)}else this[c]=l[c]}addToError(l){if(l.postcssNode=this,l.stack&&this.source&&/\n\s{4}at /.test(l.stack)){let c=this.source;l.stack=l.stack.replace(/\n\s{4}at /,`$&${c.input.from}:${c.start.line}:${c.start.column}$&`)}return l}after(l){return this.parent.insertAfter(this,l),this}assign(l={}){for(let c in l)this[c]=l[c];return this}before(l){return this.parent.insertBefore(this,l),this}cleanRaws(l){delete this.raws.before,delete this.raws.after,l||delete this.raws.between}clone(l={}){let c=i(this);for(let p in l)c[p]=l[p];return c}cloneAfter(l={}){let c=this.clone(l);return this.parent.insertAfter(this,c),c}cloneBefore(l={}){let c=this.clone(l);return this.parent.insertBefore(this,c),c}error(l,c={}){if(this.source){let{end:p,start:o}=this.rangeBy(c);return this.source.input.error(l,{column:o.column,line:o.line},{column:p.column,line:p.line},c)}return new e(l)}getProxyProcessor(){return{get(l,c){return c==="proxyOf"?l:c==="root"?()=>l.root().toProxy():l[c]},set(l,c,p){return l[c]===p||(l[c]=p,(c==="prop"||c==="value"||c==="name"||c==="params"||c==="important"||c==="text")&&l.markDirty()),!0}}}markClean(){this[n]=!0}markDirty(){if(this[n]){this[n]=!1;let l=this;for(;l=l.parent;)l[n]=!1}}next(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l+1]}positionBy(l){let c=this.source.start;if(l.index)c=this.positionInside(l.index);else if(l.word){let p="document"in this.source.input?this.source.input.document:this.source.input.css,d=p.slice(a(p,this.source.start),a(p,this.source.end)).indexOf(l.word);d!==-1&&(c=this.positionInside(d))}return c}positionInside(l){let c=this.source.start.column,p=this.source.start.line,o="document"in this.source.input?this.source.input.document:this.source.input.css,d=a(o,this.source.start),m=d+l;for(let h=d;h<m;h++)o[h]===`
56
- `?(c=1,p+=1):c+=1;return{column:c,line:p}}prev(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l-1]}rangeBy(l){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(l.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(l.word);m!==-1&&(c=this.positionInside(m),p=this.positionInside(m+l.word.length))}else l.start?c={column:l.start.column,line:l.start.line}:l.index&&(c=this.positionInside(l.index)),l.end?p={column:l.end.column,line:l.end.line}:typeof l.endIndex=="number"?p=this.positionInside(l.endIndex):l.index&&(p=this.positionInside(l.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(l,c){return new r().raw(this,l,c)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...l){if(this.parent){let c=this,p=!1;for(let o of l)o===this?p=!0:p?(this.parent.insertAfter(c,o),c=o):this.parent.insertBefore(c,o);p||this.remove()}return this}root(){let l=this;for(;l.parent&&l.parent.type!=="document";)l=l.parent;return l}toJSON(l,c){let p={},o=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 h=this[m];if(Array.isArray(h))p[m]=h.map(b=>typeof b=="object"&&b.toJSON?b.toJSON(null,c):b);else if(typeof h=="object"&&h.toJSON)p[m]=h.toJSON(null,c);else if(m==="source"){let b=c.get(h.input);b==null&&(b=d,c.set(h.input,d),d++),p[m]={end:h.end,inputId:b,start:h.start}}else p[m]=h}return o&&(p.inputs=[...c.keys()].map(m=>m.toJSON())),p}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(l=t){l.stringify&&(l=l.stringify);let c="";return l(this,p=>{c+=p}),c}warn(l,c,p){let o={node:this};for(let d in p)o[d]=p[d];return l.warn(c,o)}}return ea=s,s.default=s,ea}var ta,tc;function _u(){if(tc)return ta;tc=1;let e=Fu();class r extends e{constructor(n){super(n),this.type="comment"}}return ta=r,r.default=r,ta}var ra,rc;function Ou(){if(rc)return ra;rc=1;let e=Fu();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,nc;function Zr(){if(nc)return na;nc=1;let e=_u(),r=Ou(),t=Fu(),{isClean:n,my:u}=Ki(),i,a,s,f;function l(o){return o.map(d=>(d.nodes&&(d.nodes=l(d.nodes)),delete d.source,d))}function c(o){if(o[n]=!1,o.proxyOf.nodes)for(let d of o.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 h=this.normalize(m,this.last);for(let b of h)this.proxyOf.nodes.push(b)}return this.markDirty(),this}cleanRaws(d){if(super.cleanRaws(d),this.nodes)for(let m of this.nodes)m.cleanRaws(d)}each(d){if(!this.proxyOf.nodes)return;let m=this.getIterator(),h,b;for(;this.indexes[m]<this.proxyOf.nodes.length&&(h=this.indexes[m],b=d(this.proxyOf.nodes[h],h),b!==!1);)this.indexes[m]+=1;return delete this.indexes[m],b}every(d){return this.nodes.every(d)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let d=this.lastEach;return this.indexes[d]=0,d}getProxyProcessor(){return{get(d,m){return m==="proxyOf"?d:d[m]?m==="each"||typeof m=="string"&&m.startsWith("walk")?(...h)=>d[m](...h.map(b=>typeof b=="function"?(g,w)=>b(g.toProxy(),w):b)):m==="every"||m==="some"?h=>d[m]((b,...g)=>h(b.toProxy(),...g)):m==="root"?()=>d.root().toProxy():m==="nodes"?d.nodes.map(h=>h.toProxy()):m==="first"||m==="last"?d[m].toProxy():d[m]:d[m]},set(d,m,h){return d[m]===h||(d[m]=h,(m==="name"||m==="params"||m==="selector")&&d.markDirty()),!0}}}index(d){return typeof d=="number"?d:(d.proxyOf&&(d=d.proxyOf),this.proxyOf.nodes.indexOf(d))}insertAfter(d,m){let h=this.index(d),b=this.normalize(m,this.proxyOf.nodes[h]).reverse();h=this.index(d);for(let w of b)this.proxyOf.nodes.splice(h+1,0,w);let g;for(let w in this.indexes)g=this.indexes[w],h<g&&(this.indexes[w]=g+b.length);return this.markDirty(),this}insertBefore(d,m){let h=this.index(d),b=h===0?"prepend":!1,g=this.normalize(m,this.proxyOf.nodes[h],b).reverse();h=this.index(d);for(let v of g)this.proxyOf.nodes.splice(h,0,v);let w;for(let v in this.indexes)w=this.indexes[v],h<=w&&(this.indexes[v]=w+g.length);return this.markDirty(),this}normalize(d,m){if(typeof d=="string")d=l(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 f(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 h=this.normalize(m,this.first,"prepend").reverse();for(let b of h)this.proxyOf.nodes.unshift(b);for(let b in this.indexes)this.indexes[b]=this.indexes[b]+h.length}return this.markDirty(),this}push(d){return d.parent=this,this.proxyOf.nodes.push(d),this}removeAll(){for(let d of this.proxyOf.nodes)d.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(d){d=this.index(d),this.proxyOf.nodes[d].parent=void 0,this.proxyOf.nodes.splice(d,1);let m;for(let h in this.indexes)m=this.indexes[h],m>=d&&(this.indexes[h]=m-1);return this.markDirty(),this}replaceValues(d,m,h){return h||(h=m,m={}),this.walkDecls(b=>{m.props&&!m.props.includes(b.prop)||m.fast&&!b.value.includes(m.fast)||(b.value=b.value.replace(d,h))}),this.markDirty(),this}some(d){return this.nodes.some(d)}walk(d){return this.each((m,h)=>{let b;try{b=d(m,h)}catch(g){throw m.addToError(g)}return b!==!1&&m.walk&&(b=m.walk(d)),b})}walkAtRules(d,m){return m?d instanceof RegExp?this.walk((h,b)=>{if(h.type==="atrule"&&d.test(h.name))return m(h,b)}):this.walk((h,b)=>{if(h.type==="atrule"&&h.name===d)return m(h,b)}):(m=d,this.walk((h,b)=>{if(h.type==="atrule")return m(h,b)}))}walkComments(d){return this.walk((m,h)=>{if(m.type==="comment")return d(m,h)})}walkDecls(d,m){return m?d instanceof RegExp?this.walk((h,b)=>{if(h.type==="decl"&&d.test(h.prop))return m(h,b)}):this.walk((h,b)=>{if(h.type==="decl"&&h.prop===d)return m(h,b)}):(m=d,this.walk((h,b)=>{if(h.type==="decl")return m(h,b)}))}walkRules(d,m){return m?d instanceof RegExp?this.walk((h,b)=>{if(h.type==="rule"&&d.test(h.selector))return m(h,b)}):this.walk((h,b)=>{if(h.type==="rule"&&h.selector===d)return m(h,b)}):(m=d,this.walk((h,b)=>{if(h.type==="rule")return m(h,b)}))}}return p.registerParse=o=>{a=o},p.registerRule=o=>{f=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,f.prototype):o.type==="decl"?Object.setPrototypeOf(o,r.prototype):o.type==="comment"?Object.setPrototypeOf(o,e.prototype):o.type==="root"&&Object.setPrototypeOf(o,s.prototype),o[u]=!0,o.nodes&&o.nodes.forEach(d=>{p.rebuild(d)})},na}var ua,uc;function ia(){if(uc)return ua;uc=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,ic;function sa(){if(ic)return aa;ic=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,ac;function d1(){if(ac)return oa;ac=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,sc;function oc(){if(sc)return ca;sc=1;let{existsSync:e,readFileSync:r}=ur,{dirname:t,join:n}=ur,{SourceMapConsumer:u,SourceMapGenerator:i}=ur;function a(f){return Buffer?Buffer.from(f,"base64").toString():window.atob(f)}class s{constructor(l,c){if(c.map===!1)return;this.loadAnnotation(l),this.inline=this.startWith(this.annotation,"data:");let p=c.map?c.map.prev:void 0,o=this.loadMap(c.from,p);!this.mapFile&&c.from&&(this.mapFile=c.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(l){let c=/^data:application\/json;charset=utf-?8;base64,/,p=/^data:application\/json;base64,/,o=/^data:application\/json;charset=utf-?8,/,d=/^data:application\/json,/,m=l.match(o)||l.match(d);if(m)return decodeURIComponent(l.substr(m[0].length));let h=l.match(c)||l.match(p);if(h)return a(l.substr(h[0].length));let b=l.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+b)}getAnnotationURL(l){return l.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(l){return typeof l!="object"?!1:typeof l.mappings=="string"||typeof l._mappings=="string"||Array.isArray(l.sections)}loadAnnotation(l){let c=l.match(/\/\*\s*# sourceMappingURL=/g);if(!c)return;let p=l.lastIndexOf(c.pop()),o=l.indexOf("*/",p);p>-1&&o>-1&&(this.annotation=this.getAnnotationURL(l.substring(p,o)))}loadFile(l){if(this.root=t(l),e(l))return this.mapFile=l,r(l,"utf-8").toString().trim()}loadMap(l,c){if(c===!1)return!1;if(c){if(typeof c=="string")return c;if(typeof c=="function"){let p=c(l);if(p){let o=this.loadFile(p);if(!o)throw new Error("Unable to load previous source map: "+p.toString());return o}}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 l&&(p=n(t(l),p)),this.loadFile(p)}}}startWith(l,c){return l?l.substr(0,c.length)===c:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return ca=s,s.default=s,ca}var la,cc;function Nu(){if(cc)return la;cc=1;let{nanoid:e}=d1(),{isAbsolute:r,resolve:t}=ur,{SourceMapConsumer:n,SourceMapGenerator:u}=ur,{fileURLToPath:i,pathToFileURL:a}=ur,s=Qi(),f=oc(),l=ur,c=Symbol("fromOffsetCache"),p=!!(n&&u),o=!!(t&&r);class d{get from(){return this.file||this.id}constructor(h,b={}){if(h===null||typeof h>"u"||typeof h=="object"&&!h.toString)throw new Error(`PostCSS received ${h} instead of CSS string`);if(this.css=h.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,b.document&&(this.document=b.document.toString()),b.from&&(!o||/^\w+:\/\//.test(b.from)||r(b.from)?this.file=b.from:this.file=t(b.from)),o&&p){let g=new f(this.css,b);if(g.text){this.map=g;let w=g.consumer().file;!this.file&&w&&(this.file=this.mapResolve(w))}}this.file||(this.id="<input css "+e(6)+">"),this.map&&(this.map.file=this.from)}error(h,b,g,w={}){let v,D,y;if(b&&typeof b=="object"){let A=b,C=g;if(typeof A.offset=="number"){let 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(h,E.endLine===void 0?E.line:{column:E.column,line:E.line},E.endLine===void 0?E.column:{column:E.endColumn,line:E.endLine},E.source,E.file,w.plugin):y=new s(h,D===void 0?b:{column:g,line:b},D===void 0?g:{column:v,line:D},this.css,this.file,w.plugin),y.input={column:g,endColumn:v,endLine:D,line:b,source:this.css},this.file&&(a&&(y.input.url=a(this.file).toString()),y.input.file=this.file),y}fromOffset(h){let b,g;if(this[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[c]=g}b=g[g.length-1];let w=0;if(h>=b)w=g.length-1;else{let v=g.length-2,D;for(;w<v;)if(D=w+(v-w>>1),h<g[D])v=D-1;else if(h>=g[D+1])w=D+1;else{w=D;break}}return{col:h-g[w]+1,line:w+1}}mapResolve(h){return/^\w+:\/\//.test(h)?h:t(this.map.consumer().sourceRoot||this.map.root||".",h)}origin(h,b,g,w){if(!this.map)return!1;let v=this.map.consumer(),D=v.originalPositionFor({column:b,line:h});if(!D.source)return!1;let y;typeof g=="number"&&(y=v.originalPositionFor({column:w,line:g}));let E;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 h={};for(let b of["hasBOM","css","file","id"])this[b]!=null&&(h[b]=this[b]);return this.map&&(h.map={...this.map},h.map.consumerCache&&(h.map.consumerCache=void 0)),h}}return la=d,d.default=d,l&&l.registerInput&&l.registerInput(d),la}var fa,lc;function $n(){if(lc)return fa;lc=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 f=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 l of f)l.raws.before=a.raws.before}return f}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,fc;function dc(){if(fc)return da;fc=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,f=!1,l="",c=!1;for(let p of r)c?c=!1:p==="\\"?c=!0:f?p===l&&(f=!1):p==='"'||p==="'"?(f=!0,l=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,hc;function pa(){if(hc)return ha;hc=1;let e=Zr(),r=dc();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,pc;function h1(){if(pc)return ma;pc=1;let e=ia(),r=_u(),t=Ou(),n=Nu(),u=oc(),i=$n(),a=pa();function s(f,l){if(Array.isArray(f))return f.map(o=>s(o));let{inputs:c,...p}=f;if(c){l=[];for(let o of c){let d={...o,__proto__:n.prototype};d.map&&(d.map={...d.map,__proto__:u.prototype}),l.push(d)}}if(p.nodes&&(p.nodes=f.nodes.map(o=>s(o,l))),p.source){let{inputId:o,...d}=p.source;p.source=d,o!=null&&(p.source.input=l[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: "+f.type)}return ma=s,s.default=s,ma}var ga,mc;function gc(){if(mc)return ga;mc=1;let{dirname:e,relative:r,resolve:t,sep:n}=ur,{SourceMapConsumer:u,SourceMapGenerator:i}=ur,{pathToFileURL:a}=ur,s=Nu(),f=!!(u&&i),l=!!(e&&t&&r&&n);class c{constructor(o,d,m,h){this.stringify=o,this.mapOpts=m.map||{},this.root=d,this.opts=m,this.css=h,this.originalCSS=h,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let o;this.isInline()?o="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?o=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?o=this.mapOpts.annotation(this.opts.to,this.root):o=this.outputFile()+".map";let d=`
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 d=a.raws.before.split(`
54
+ `);return i=d[d.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,Jo;function Tu(){if(Jo)return Ji;Jo=1;let e=Zo();function r(t,n){new e(n).stringify(t)}return Ji=r,r.default=r,Ji}var Su={},Ko;function Ki(){return Ko||(Ko=1,Su.isClean=Symbol("isClean"),Su.my=Symbol("my")),Su}var ea,ec;function Fu(){if(ec)return ea;ec=1;let e=Qi(),r=Zo(),t=Tu(),{isClean:n,my:u}=Ki();function i(d,l){let c=new d.constructor;for(let p in d){if(!Object.prototype.hasOwnProperty.call(d,p)||p==="proxyCache")continue;let o=d[p],f=typeof o;p==="parent"&&f==="object"?l&&(c[p]=l):p==="source"?c[p]=o:Array.isArray(o)?c[p]=o.map(m=>i(m,c)):(f==="object"&&o!==null&&(o=i(o)),c[p]=o)}return c}function a(d,l){if(l&&typeof l.offset<"u")return l.offset;let c=1,p=1,o=0;for(let f=0;f<d.length;f++){if(p===l.line&&c===l.column){o=f;break}d[f]===`
55
+ `?(c=1,p+=1):c+=1}return o}class s{get proxyOf(){return this}constructor(l={}){this.raws={},this[n]=!1,this[u]=!0;for(let c in l)if(c==="nodes"){this.nodes=[];for(let p of l[c])typeof p.clone=="function"?this.append(p.clone()):this.append(p)}else this[c]=l[c]}addToError(l){if(l.postcssNode=this,l.stack&&this.source&&/\n\s{4}at /.test(l.stack)){let c=this.source;l.stack=l.stack.replace(/\n\s{4}at /,`$&${c.input.from}:${c.start.line}:${c.start.column}$&`)}return l}after(l){return this.parent.insertAfter(this,l),this}assign(l={}){for(let c in l)this[c]=l[c];return this}before(l){return this.parent.insertBefore(this,l),this}cleanRaws(l){delete this.raws.before,delete this.raws.after,l||delete this.raws.between}clone(l={}){let c=i(this);for(let p in l)c[p]=l[p];return c}cloneAfter(l={}){let c=this.clone(l);return this.parent.insertAfter(this,c),c}cloneBefore(l={}){let c=this.clone(l);return this.parent.insertBefore(this,c),c}error(l,c={}){if(this.source){let{end:p,start:o}=this.rangeBy(c);return this.source.input.error(l,{column:o.column,line:o.line},{column:p.column,line:p.line},c)}return new e(l)}getProxyProcessor(){return{get(l,c){return c==="proxyOf"?l:c==="root"?()=>l.root().toProxy():l[c]},set(l,c,p){return l[c]===p||(l[c]=p,(c==="prop"||c==="value"||c==="name"||c==="params"||c==="important"||c==="text")&&l.markDirty()),!0}}}markClean(){this[n]=!0}markDirty(){if(this[n]){this[n]=!1;let l=this;for(;l=l.parent;)l[n]=!1}}next(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l+1]}positionBy(l){let c=this.source.start;if(l.index)c=this.positionInside(l.index);else if(l.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(l.word);f!==-1&&(c=this.positionInside(f))}return c}positionInside(l){let c=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+l;for(let h=f;h<m;h++)o[h]===`
56
+ `?(c=1,p+=1):c+=1;return{column:c,line:p}}prev(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l-1]}rangeBy(l){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(l.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(l.word);m!==-1&&(c=this.positionInside(m),p=this.positionInside(m+l.word.length))}else l.start?c={column:l.start.column,line:l.start.line}:l.index&&(c=this.positionInside(l.index)),l.end?p={column:l.end.column,line:l.end.line}:typeof l.endIndex=="number"?p=this.positionInside(l.endIndex):l.index&&(p=this.positionInside(l.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(l,c){return new r().raw(this,l,c)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...l){if(this.parent){let c=this,p=!1;for(let o of l)o===this?p=!0:p?(this.parent.insertAfter(c,o),c=o):this.parent.insertBefore(c,o);p||this.remove()}return this}root(){let l=this;for(;l.parent&&l.parent.type!=="document";)l=l.parent;return l}toJSON(l,c){let p={},o=c==null;c=c||new Map;let f=0;for(let m in this){if(!Object.prototype.hasOwnProperty.call(this,m)||m==="parent"||m==="proxyCache")continue;let h=this[m];if(Array.isArray(h))p[m]=h.map(b=>typeof b=="object"&&b.toJSON?b.toJSON(null,c):b);else if(typeof h=="object"&&h.toJSON)p[m]=h.toJSON(null,c);else if(m==="source"){let b=c.get(h.input);b==null&&(b=f,c.set(h.input,f),f++),p[m]={end:h.end,inputId:b,start:h.start}}else p[m]=h}return o&&(p.inputs=[...c.keys()].map(m=>m.toJSON())),p}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(l=t){l.stringify&&(l=l.stringify);let c="";return l(this,p=>{c+=p}),c}warn(l,c,p){let o={node:this};for(let f in p)o[f]=p[f];return l.warn(c,o)}}return ea=s,s.default=s,ea}var ta,tc;function _u(){if(tc)return ta;tc=1;let e=Fu();class r extends e{constructor(n){super(n),this.type="comment"}}return ta=r,r.default=r,ta}var ra,rc;function Ou(){if(rc)return ra;rc=1;let e=Fu();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,nc;function Zr(){if(nc)return na;nc=1;let e=_u(),r=Ou(),t=Fu(),{isClean:n,my:u}=Ki(),i,a,s,d;function l(o){return o.map(f=>(f.nodes&&(f.nodes=l(f.nodes)),delete f.source,f))}function c(o){if(o[n]=!1,o.proxyOf.nodes)for(let f of o.proxyOf.nodes)c(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 h=this.normalize(m,this.last);for(let b of h)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(),h,b;for(;this.indexes[m]<this.proxyOf.nodes.length&&(h=this.indexes[m],b=f(this.proxyOf.nodes[h],h),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")?(...h)=>f[m](...h.map(b=>typeof b=="function"?(g,w)=>b(g.toProxy(),w):b)):m==="every"||m==="some"?h=>f[m]((b,...g)=>h(b.toProxy(),...g)):m==="root"?()=>f.root().toProxy():m==="nodes"?f.nodes.map(h=>h.toProxy()):m==="first"||m==="last"?f[m].toProxy():f[m]:f[m]},set(f,m,h){return f[m]===h||(f[m]=h,(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 h=this.index(f),b=this.normalize(m,this.proxyOf.nodes[h]).reverse();h=this.index(f);for(let w of b)this.proxyOf.nodes.splice(h+1,0,w);let g;for(let w in this.indexes)g=this.indexes[w],h<g&&(this.indexes[w]=g+b.length);return this.markDirty(),this}insertBefore(f,m){let h=this.index(f),b=h===0?"prepend":!1,g=this.normalize(m,this.proxyOf.nodes[h],b).reverse();h=this.index(f);for(let v of g)this.proxyOf.nodes.splice(h,0,v);let w;for(let v in this.indexes)w=this.indexes[v],h<=w&&(this.indexes[v]=w+g.length);return this.markDirty(),this}normalize(f,m){if(typeof f=="string")f=l(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 d(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]&&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(...f){f=f.reverse();for(let m of f){let h=this.normalize(m,this.first,"prepend").reverse();for(let b of h)this.proxyOf.nodes.unshift(b);for(let b in this.indexes)this.indexes[b]=this.indexes[b]+h.length}return this.markDirty(),this}push(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 h in this.indexes)m=this.indexes[h],m>=f&&(this.indexes[h]=m-1);return this.markDirty(),this}replaceValues(f,m,h){return h||(h=m,m={}),this.walkDecls(b=>{m.props&&!m.props.includes(b.prop)||m.fast&&!b.value.includes(m.fast)||(b.value=b.value.replace(f,h))}),this.markDirty(),this}some(f){return this.nodes.some(f)}walk(f){return this.each((m,h)=>{let b;try{b=f(m,h)}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((h,b)=>{if(h.type==="atrule"&&f.test(h.name))return m(h,b)}):this.walk((h,b)=>{if(h.type==="atrule"&&h.name===f)return m(h,b)}):(m=f,this.walk((h,b)=>{if(h.type==="atrule")return m(h,b)}))}walkComments(f){return this.walk((m,h)=>{if(m.type==="comment")return f(m,h)})}walkDecls(f,m){return m?f instanceof RegExp?this.walk((h,b)=>{if(h.type==="decl"&&f.test(h.prop))return m(h,b)}):this.walk((h,b)=>{if(h.type==="decl"&&h.prop===f)return m(h,b)}):(m=f,this.walk((h,b)=>{if(h.type==="decl")return m(h,b)}))}walkRules(f,m){return m?f instanceof RegExp?this.walk((h,b)=>{if(h.type==="rule"&&f.test(h.selector))return m(h,b)}):this.walk((h,b)=>{if(h.type==="rule"&&h.selector===f)return m(h,b)}):(m=f,this.walk((h,b)=>{if(h.type==="rule")return m(h,b)}))}}return p.registerParse=o=>{a=o},p.registerRule=o=>{d=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,d.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,uc;function ia(){if(uc)return ua;uc=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,ic;function sa(){if(ic)return aa;ic=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,ac;function d1(){if(ac)return oa;ac=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,sc;function oc(){if(sc)return ca;sc=1;let{existsSync:e,readFileSync:r}=ur,{dirname:t,join:n}=ur,{SourceMapConsumer:u,SourceMapGenerator:i}=ur;function a(d){return Buffer?Buffer.from(d,"base64").toString():window.atob(d)}class s{constructor(l,c){if(c.map===!1)return;this.loadAnnotation(l),this.inline=this.startWith(this.annotation,"data:");let p=c.map?c.map.prev:void 0,o=this.loadMap(c.from,p);!this.mapFile&&c.from&&(this.mapFile=c.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(l){let c=/^data:application\/json;charset=utf-?8;base64,/,p=/^data:application\/json;base64,/,o=/^data:application\/json;charset=utf-?8,/,f=/^data:application\/json,/,m=l.match(o)||l.match(f);if(m)return decodeURIComponent(l.substr(m[0].length));let h=l.match(c)||l.match(p);if(h)return a(l.substr(h[0].length));let b=l.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+b)}getAnnotationURL(l){return l.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(l){return typeof l!="object"?!1:typeof l.mappings=="string"||typeof l._mappings=="string"||Array.isArray(l.sections)}loadAnnotation(l){let c=l.match(/\/\*\s*# sourceMappingURL=/g);if(!c)return;let p=l.lastIndexOf(c.pop()),o=l.indexOf("*/",p);p>-1&&o>-1&&(this.annotation=this.getAnnotationURL(l.substring(p,o)))}loadFile(l){if(this.root=t(l),e(l))return this.mapFile=l,r(l,"utf-8").toString().trim()}loadMap(l,c){if(c===!1)return!1;if(c){if(typeof c=="string")return c;if(typeof c=="function"){let p=c(l);if(p){let o=this.loadFile(p);if(!o)throw new Error("Unable to load previous source map: "+p.toString());return o}}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 l&&(p=n(t(l),p)),this.loadFile(p)}}}startWith(l,c){return l?l.substr(0,c.length)===c:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return ca=s,s.default=s,ca}var la,cc;function Nu(){if(cc)return la;cc=1;let{nanoid:e}=d1(),{isAbsolute:r,resolve:t}=ur,{SourceMapConsumer:n,SourceMapGenerator:u}=ur,{fileURLToPath:i,pathToFileURL:a}=ur,s=Qi(),d=oc(),l=ur,c=Symbol("fromOffsetCache"),p=!!(n&&u),o=!!(t&&r);class f{get from(){return this.file||this.id}constructor(h,b={}){if(h===null||typeof h>"u"||typeof h=="object"&&!h.toString)throw new Error(`PostCSS received ${h} instead of CSS string`);if(this.css=h.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,b.document&&(this.document=b.document.toString()),b.from&&(!o||/^\w+:\/\//.test(b.from)||r(b.from)?this.file=b.from:this.file=t(b.from)),o&&p){let g=new d(this.css,b);if(g.text){this.map=g;let w=g.consumer().file;!this.file&&w&&(this.file=this.mapResolve(w))}}this.file||(this.id="<input css "+e(6)+">"),this.map&&(this.map.file=this.from)}error(h,b,g,w={}){let v,D,y;if(b&&typeof b=="object"){let A=b,C=g;if(typeof A.offset=="number"){let 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(h,E.endLine===void 0?E.line:{column:E.column,line:E.line},E.endLine===void 0?E.column:{column:E.endColumn,line:E.endLine},E.source,E.file,w.plugin):y=new s(h,D===void 0?b:{column:g,line:b},D===void 0?g:{column:v,line:D},this.css,this.file,w.plugin),y.input={column:g,endColumn:v,endLine:D,line:b,source:this.css},this.file&&(a&&(y.input.url=a(this.file).toString()),y.input.file=this.file),y}fromOffset(h){let b,g;if(this[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[c]=g}b=g[g.length-1];let w=0;if(h>=b)w=g.length-1;else{let v=g.length-2,D;for(;w<v;)if(D=w+(v-w>>1),h<g[D])v=D-1;else if(h>=g[D+1])w=D+1;else{w=D;break}}return{col:h-g[w]+1,line:w+1}}mapResolve(h){return/^\w+:\/\//.test(h)?h:t(this.map.consumer().sourceRoot||this.map.root||".",h)}origin(h,b,g,w){if(!this.map)return!1;let v=this.map.consumer(),D=v.originalPositionFor({column:b,line:h});if(!D.source)return!1;let y;typeof g=="number"&&(y=v.originalPositionFor({column:w,line:g}));let E;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 h={};for(let b of["hasBOM","css","file","id"])this[b]!=null&&(h[b]=this[b]);return this.map&&(h.map={...this.map},h.map.consumerCache&&(h.map.consumerCache=void 0)),h}}return la=f,f.default=f,l&&l.registerInput&&l.registerInput(f),la}var fa,lc;function $n(){if(lc)return fa;lc=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 d=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 l of d)l.raws.before=a.raws.before}return d}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,fc;function dc(){if(fc)return da;fc=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,d=!1,l="",c=!1;for(let p of r)c?c=!1:p==="\\"?c=!0:d?p===l&&(d=!1):p==='"'||p==="'"?(d=!0,l=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,hc;function pa(){if(hc)return ha;hc=1;let e=Zr(),r=dc();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,pc;function h1(){if(pc)return ma;pc=1;let e=ia(),r=_u(),t=Ou(),n=Nu(),u=oc(),i=$n(),a=pa();function s(d,l){if(Array.isArray(d))return d.map(o=>s(o));let{inputs:c,...p}=d;if(c){l=[];for(let o of c){let f={...o,__proto__:n.prototype};f.map&&(f.map={...f.map,__proto__:u.prototype}),l.push(f)}}if(p.nodes&&(p.nodes=d.nodes.map(o=>s(o,l))),p.source){let{inputId:o,...f}=p.source;p.source=f,o!=null&&(p.source.input=l[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: "+d.type)}return ma=s,s.default=s,ma}var ga,mc;function gc(){if(mc)return ga;mc=1;let{dirname:e,relative:r,resolve:t,sep:n}=ur,{SourceMapConsumer:u,SourceMapGenerator:i}=ur,{pathToFileURL:a}=ur,s=Nu(),d=!!(u&&i),l=!!(e&&t&&r&&n);class c{constructor(o,f,m,h){this.stringify=o,this.mapOpts=m.map||{},this.root=f,this.opts=m,this.css=h,this.originalCSS=h,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let o;this.isInline()?o="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?o=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?o=this.mapOpts.annotation(this.opts.to,this.root):o=this.outputFile()+".map";let f=`
59
59
  `;this.css.includes(`\r
60
- `)&&(d=`\r
61
- `),this.css+=d+"/*# sourceMappingURL="+o+" */"}applyPrevMaps(){for(let o of this.previous()){let d=this.toUrl(this.path(o.file)),m=o.root||e(o.file),h;this.mapOpts.sourcesContent===!1?(h=new u(o.text),h.sourcesContent&&(h.sourcesContent=null)):h=o.consumer(),this.map.applySourceMap(h,d,this.toUrl(this.path(m)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let o;for(let d=this.root.nodes.length-1;d>=0;d--)o=this.root.nodes[d],o.type==="comment"&&o.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(d)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),l&&f&&this.isMap())return this.generateMap();{let o="";return this.stringify(this.root,d=>{o+=d}),[o]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let o=this.previous()[0].consumer();o.file=this.outputFile(),this.map=i.fromSourceMap(o,{ignoreInvalidMapping:!0})}else this.map=new i({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new i({file:this.outputFile(),ignoreInvalidMapping:!0});let o=1,d=1,m="<no source>",h={generated:{column:0,line:0},original:{column:0,line:0},source:""},b,g;this.stringify(this.root,(w,v,D)=>{if(this.css+=w,v&&D!=="end"&&(h.generated.line=o,h.generated.column=d-1,v.source&&v.source.start?(h.source=this.sourcePath(v),h.original.line=v.source.start.line,h.original.column=v.source.start.column-1,this.map.addMapping(h)):(h.source=m,h.original.line=1,h.original.column=0,this.map.addMapping(h))),g=w.match(/\n/g),g?(o+=g.length,b=w.lastIndexOf(`
62
- `),d=w.length-b):d+=w.length,v&&D!=="start"){let y=v.parent||{raws:{}};(!(v.type==="decl"||v.type==="atrule"&&!v.nodes)||v!==y.last||y.raws.semicolon)&&(v.source&&v.source.end?(h.source=this.sourcePath(v),h.original.line=v.source.end.line,h.original.column=v.source.end.column-1,h.generated.line=o,h.generated.column=d-2,this.map.addMapping(h)):(h.source=m,h.original.line=1,h.original.column=0,h.generated.line=o,h.generated.column=d-1,this.map.addMapping(h)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(o=>o.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let o=this.mapOpts.annotation;return typeof o<"u"&&o!==!0?!1:this.previous().length?this.previous().some(d=>d.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(o=>o.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(o){if(this.mapOpts.absolute||o.charCodeAt(0)===60||/^\w+:\/\//.test(o))return o;let d=this.memoizedPaths.get(o);if(d)return d;let m=this.opts.to?e(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(m=e(t(m,this.mapOpts.annotation)));let h=r(m,o);return this.memoizedPaths.set(o,h),h}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(o=>{if(o.source&&o.source.input.map){let d=o.source.input.map;this.previousMaps.includes(d)||this.previousMaps.push(d)}});else{let o=new s(this.originalCSS,this.opts);o.map&&this.previousMaps.push(o.map)}return this.previousMaps}setSourcesContent(){let o={};if(this.root)this.root.walk(d=>{if(d.source){let m=d.source.input.from;if(m&&!o[m]){o[m]=!0;let h=this.usesFileUrls?this.toFileUrl(m):this.toUrl(this.path(m));this.map.setSourceContent(h,d.source.input.css)}}});else if(this.css){let d=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(d,this.css)}}sourcePath(o){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(o.source.input.from):this.toUrl(this.path(o.source.input.from))}toBase64(o){return Buffer?Buffer.from(o).toString("base64"):window.btoa(unescape(encodeURIComponent(o)))}toFileUrl(o){let d=this.memoizedFileURLs.get(o);if(d)return d;if(a){let m=a(o).toString();return this.memoizedFileURLs.set(o,m),m}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(o){let d=this.memoizedURLs.get(o);if(d)return d;n==="\\"&&(o=o.replace(/\\/g,"/"));let m=encodeURI(o).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(o,m),m}}return ga=c,ga}var ba,bc;function p1(){if(bc)return ba;bc=1;const e=39,r=34,t=92,n=47,u=10,i=32,a=12,s=9,f=13,l=91,c=93,p=40,o=41,d=123,m=125,h=59,b=42,g=58,w=64,v=/[\t\n\f\r "#'()/;[\\\]{}]/g,D=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,y=/.[\r\n"'(/\\]/,E=/[\da-f]/i;return 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 f:case a:{N=Y;do N+=1,_=x.charCodeAt(N);while(_===i||_===u||_===s||_===f||_===a);J=["space",x.slice(Y,N)],Y=N-1;break}case l:case c:case d:case m:case g:case h: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!==f){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&&_!==f&&_!==a&&(N+=1,E.test(x.charAt(N)))){for(;E.test(x.charAt(N+1));)N+=1;x.charCodeAt(N+1)===i&&(N+=1)}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,yc;function m1(){if(yc)return ya;yc=1;let e=ia(),r=_u(),t=Ou(),n=$n(),u=pa(),i=p1();const a={empty:!0,space:!0};function s(l){for(let c=l.length-1;c>=0;c--){let p=l[c],o=p[3]||p[2];if(o)return o}}class f{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 o,d,m,h=!1,b=!1,g=[],w=[];for(;!this.tokenizer.endOfFile();){if(c=this.tokenizer.nextToken(),o=c[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(c[2]),p.source.end.offset++,this.semicolon=!0;break}else if(o==="{"){b=!0;break}else if(o==="}"){if(g.length>0){for(m=g.length-1,d=g[m];d&&d[0]==="space";)d=g[--m];d&&(p.source.end=this.getPosition(d[3]||d[2]),p.source.end.offset++)}this.end(c);break}else g.push(c);else g.push(c);if(this.tokenizer.endOfFile()){h=!0;break}}p.raws.between=this.spacesAndCommentsFromEnd(g),g.length?(p.raws.afterName=this.spacesAndCommentsFromStart(g),this.raw(p,"params",g),h&&(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 o=0,d;for(let m=p-1;m>=0&&(d=c[m],!(d[0]!=="space"&&(o+=1,o===2)));m--);throw this.input.error("Missed semicolon",d[0]==="word"?d[3]+1:d[2])}colon(c){let p=0,o,d,m;for(let[h,b]of c.entries()){if(d=b,m=d[0],m==="("&&(p+=1),m===")"&&(p-=1),p===0&&m===":")if(!o)this.doubleColon(d);else{if(o[0]==="word"&&o[1]==="progid")continue;return h}o=d}return!1}comment(c){let p=new r;this.init(p,c[2]),p.source.end=this.getPosition(c[3]||c[2]),p.source.end.offset++;let o=c[1].slice(2,-2);if(/^\s*$/.test(o))p.text="",p.raws.left=o,p.raws.right="";else{let d=o.match(/^(\s*)([^]*\S)(\s*)$/);p.text=d[2],p.raws.left=d[1],p.raws.right=d[3]}}createTokenizer(){this.tokenizer=i(this.input)}decl(c,p){let o=new t;this.init(o,c[0][2]);let d=c[c.length-1];for(d[0]===";"&&(this.semicolon=!0,c.pop()),o.source.end=this.getPosition(d[3]||d[2]||s(c)),o.source.end.offset++;c[0][0]!=="word";)c.length===1&&this.unknownWord(c),o.raws.before+=c.shift()[1];for(o.source.start=this.getPosition(c[0][2]),o.prop="";c.length;){let w=c[0][0];if(w===":"||w==="space"||w==="comment")break;o.prop+=c.shift()[1]}o.raws.between="";let m;for(;c.length;)if(m=c.shift(),m[0]===":"){o.raws.between+=m[1];break}else m[0]==="word"&&/\w/.test(m[1])&&this.unknownWord([m]),o.raws.between+=m[1];(o.prop[0]==="_"||o.prop[0]==="*")&&(o.raws.before+=o.prop[0],o.prop=o.prop.slice(1));let h=[],b;for(;c.length&&(b=c[0][0],!(b!=="space"&&b!=="comment"));)h.push(c.shift());this.precheckMissedSemicolon(c);for(let w=c.length-1;w>=0;w--){if(m=c[w],m[1].toLowerCase()==="!important"){o.important=!0;let v=this.stringFrom(c,w);v=this.spacesFromEnd(c)+v,v!==" !important"&&(o.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("!")&&(o.important=!0,o.raws.important=D,c=v)}if(m[0]!=="space"&&m[0]!=="comment")break}c.some(w=>w[0]!=="space"&&w[0]!=="comment")&&(o.raws.between+=h.map(w=>w[1]).join(""),h=[]),this.raw(o,"value",h.concat(c),p),o.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,o=null,d=!1,m=null,h=[],b=c[1].startsWith("--"),g=[],w=c;for(;w;){if(o=w[0],g.push(w),o==="("||o==="[")m||(m=w),h.push(o==="("?")":"]");else if(b&&d&&o==="{")m||(m=w),h.push("}");else if(h.length===0)if(o===";")if(d){this.decl(g,b);return}else break;else if(o==="{"){this.rule(g);return}else if(o==="}"){this.tokenizer.back(g.pop()),p=!0;break}else o===":"&&(d=!0);else o===h[h.length-1]&&(h.pop(),h.length===0&&(m=null));w=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(p=!0),h.length>0&&this.unclosedBracket(m),p&&d){if(!b)for(;g.length&&(w=g[g.length-1][0],!(w!=="space"&&w!=="comment"));)this.tokenizer.back(g.pop());this.decl(g,b)}else this.unknownWord(g)}parse(){let 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,o,d){let m,h,b=o.length,g="",w=!0,v,D;for(let y=0;y<b;y+=1)m=o[y],h=m[0],h==="space"&&y===b-1&&!d?w=!1:h==="comment"?(D=o[y-1]?o[y-1][0]:"empty",v=o[y+1]?o[y+1][0]:"empty",!a[D]&&!a[v]?g.slice(-1)===","?w=!1:g+=m[1]:w=!1):g+=m[1];if(!w){let y=o.reduce((E,A)=>E+A[1],"");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,o="";for(;c.length&&(p=c[c.length-1][0],!(p!=="space"&&p!=="comment"));)o=c.pop()[1]+o;return o}spacesAndCommentsFromStart(c){let p,o="";for(;c.length&&(p=c[0][0],!(p!=="space"&&p!=="comment"));)o+=c.shift()[1];return o}spacesFromEnd(c){let p,o="";for(;c.length&&(p=c[c.length-1][0],p==="space");)o=c.pop()[1]+o;return o}stringFrom(c,p){let o="";for(let d=p;d<c.length;d++)o+=c[d][1];return c.splice(p,c.length-p),o}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 ya=f,ya}var va,vc;function wa(){if(vc)return va;vc=1;let e=Zr(),r=Nu(),t=m1();function n(u,i){let a=new r(u,i),s=new t(a);try{s.parse()}catch(f){throw process.env.NODE_ENV!=="production"&&f.name==="CssSyntaxError"&&i&&i.from&&(/\.scss$/i.test(i.from)?f.message+=`
63
- You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(i.from)?f.message+=`
64
- You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(i.from)&&(f.message+=`
65
- You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),f}return s.root}return va=n,n.default=n,e.registerParse(n),va}var Da,wc;function Dc(){if(wc)return Da;wc=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,Ec;function xa(){if(Ec)return Ea;Ec=1;let e=Dc();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,xc;function Ac(){if(xc)return Aa;xc=1;let e={};return Aa=function(t){e[t]||(e[t]=!0,typeof console<"u"&&console.warn&&console.warn(t))},Aa}var Ca,Cc;function Tc(){if(Cc)return Ca;Cc=1;let e=Zr(),r=sa(),t=gc(),n=wa(),u=xa(),i=$n(),a=Tu(),{isClean:s,my:f}=Ki(),l=Ac();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},o={Once:!0,postcssPlugin:!0,prepare:!0},d=0;function m(D){return typeof D=="object"&&typeof D.then=="function"}function h(D){let y=!1,E=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=h(D),{eventIndex:0,events:y,iterator:0,node:D,visitorIndex:0,visitors:[]}}function g(D){return D[s]=!1,D.nodes&&D.nodes.forEach(y=>g(y)),D}let w={};class v{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(y,E,A){this.stringified=!1,this.processed=!1;let C;if(typeof E=="object"&&E!==null&&(E.type==="root"||E.type==="document"))C=g(E);else if(E instanceof v||E instanceof u)C=g(E.root),E.map&&(typeof A.map>"u"&&(A.map={}),A.map.inline||(A.map.inline=!1),A.map.prev=E.map);else{let 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[f]&&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||l("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===d){A.nodes&&A.nodes.length&&(A[s]=!0,E.iterator=A.getIterator());return}else if(this.listeners[x]){E.visitors=this.listeners[x];return}}y.pop()}walkSync(y){y[s]=!0;let E=h(y);for(let A of E)if(A===d)y.nodes&&y.each(C=>{C[s]||this.walkSync(C)});else{let C=this.listeners[A];if(C&&this.visitSync(C,y.toProxy()))return}}warnings(){return this.sync().warnings()}}return v.registerPostcss=D=>{w=D},Ca=v,v.default=v,i.registerLazyResult(v),r.registerLazyResult(v),Ca}var Ta,Sc;function g1(){if(Sc)return Ta;Sc=1;let e=gc(),r=wa();const t=xa();let n=Tu(),u=Ac();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,f=r;try{s=f(this._css,this._opts)}catch(l){this.error=l}if(this.error)throw this.error;return this._root=s,s}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(s,f,l){f=f.toString(),this.stringified=!1,this._processor=s,this._css=f,this._opts=l,this._map=void 0;let c,p=n;this.result=new t(this._processor,c,this._opts),this.result.css=f;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let d=new e(p,c,this._opts,f);if(d.isMap()){let[m,h]=d.generate();m&&(this.result.css=m),h&&(this.result.map=h)}else d.clearAnnotation(),this.result.css=d.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(s){return this.async().catch(s)}finally(s){return this.async().then(s,s)}sync(){if(this.error)throw this.error;return this.result}then(s,f){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,f)}toString(){return this._css}warnings(){return[]}}return Ta=i,i.default=i,Ta}var Sa,Fc;function b1(){if(Fc)return Sa;Fc=1;let e=sa(),r=Tc(),t=g1(),n=$n();class u{constructor(a=[]){this.version="8.5.3",this.plugins=this.normalize(a)}normalize(a){let s=[];for(let f of a)if(f.postcss===!0?f=f():f.postcss&&(f=f.postcss),typeof f=="object"&&Array.isArray(f.plugins))s=s.concat(f.plugins);else if(typeof f=="object"&&f.postcssPlugin)s.push(f);else if(typeof f=="function")s.push(f);else if(typeof f=="object"&&(f.parse||f.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(f+" 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,_c;function y1(){if(_c)return Fa;_c=1;let e=ia(),r=_u(),t=Zr(),n=Qi(),u=Ou(),i=sa(),a=h1(),s=Nu(),f=Tc(),l=dc(),c=Fu(),p=wa(),o=b1(),d=xa(),m=$n(),h=pa(),b=Tu(),g=Dc();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:
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),h;this.mapOpts.sourcesContent===!1?(h=new u(o.text),h.sourcesContent&&(h.sourcesContent=null)):h=o.consumer(),this.map.applySourceMap(h,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(),l&&d&&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>",h={generated:{column:0,line:0},original:{column:0,line:0},source:""},b,g;this.stringify(this.root,(w,v,D)=>{if(this.css+=w,v&&D!=="end"&&(h.generated.line=o,h.generated.column=f-1,v.source&&v.source.start?(h.source=this.sourcePath(v),h.original.line=v.source.start.line,h.original.column=v.source.start.column-1,this.map.addMapping(h)):(h.source=m,h.original.line=1,h.original.column=0,this.map.addMapping(h))),g=w.match(/\n/g),g?(o+=g.length,b=w.lastIndexOf(`
62
+ `),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?(h.source=this.sourcePath(v),h.original.line=v.source.end.line,h.original.column=v.source.end.column-1,h.generated.line=o,h.generated.column=f-2,this.map.addMapping(h)):(h.source=m,h.original.line=1,h.original.column=0,h.generated.line=o,h.generated.column=f-1,this.map.addMapping(h)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(o=>o.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let o=this.mapOpts.annotation;return typeof o<"u"&&o!==!0?!1:this.previous().length?this.previous().some(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 h=r(m,o);return this.memoizedPaths.set(o,h),h}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(o=>{if(o.source&&o.source.input.map){let 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 h=this.usesFileUrls?this.toFileUrl(m):this.toUrl(this.path(m));this.map.setSourceContent(h,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=c,ga}var ba,bc;function p1(){if(bc)return ba;bc=1;const e=39,r=34,t=92,n=47,u=10,i=32,a=12,s=9,d=13,l=91,c=93,p=40,o=41,f=123,m=125,h=59,b=42,g=58,w=64,v=/[\t\n\f\r "#'()/;[\\\]{}]/g,D=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,y=/.[\r\n"'(/\\]/,E=/[\da-f]/i;return 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 d:case a:{N=Y;do N+=1,_=x.charCodeAt(N);while(_===i||_===u||_===s||_===d||_===a);J=["space",x.slice(Y,N)],Y=N-1;break}case l:case c:case f:case m:case g:case h: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!==d){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&&_!==d&&_!==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,yc;function m1(){if(yc)return ya;yc=1;let e=ia(),r=_u(),t=Ou(),n=$n(),u=pa(),i=p1();const a={empty:!0,space:!0};function s(l){for(let c=l.length-1;c>=0;c--){let p=l[c],o=p[3]||p[2];if(o)return o}}class d{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 o,f,m,h=!1,b=!1,g=[],w=[];for(;!this.tokenizer.endOfFile();){if(c=this.tokenizer.nextToken(),o=c[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(c[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(c);break}else g.push(c);else g.push(c);if(this.tokenizer.endOfFile()){h=!0;break}}p.raws.between=this.spacesAndCommentsFromEnd(g),g.length?(p.raws.afterName=this.spacesAndCommentsFromStart(g),this.raw(p,"params",g),h&&(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 o=0,f;for(let m=p-1;m>=0&&(f=c[m],!(f[0]!=="space"&&(o+=1,o===2)));m--);throw this.input.error("Missed semicolon",f[0]==="word"?f[3]+1:f[2])}colon(c){let p=0,o,f,m;for(let[h,b]of c.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 h}o=f}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 o=c[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(c,p){let o=new t;this.init(o,c[0][2]);let f=c[c.length-1];for(f[0]===";"&&(this.semicolon=!0,c.pop()),o.source.end=this.getPosition(f[3]||f[2]||s(c)),o.source.end.offset++;c[0][0]!=="word";)c.length===1&&this.unknownWord(c),o.raws.before+=c.shift()[1];for(o.source.start=this.getPosition(c[0][2]),o.prop="";c.length;){let w=c[0][0];if(w===":"||w==="space"||w==="comment")break;o.prop+=c.shift()[1]}o.raws.between="";let m;for(;c.length;)if(m=c.shift(),m[0]===":"){o.raws.between+=m[1];break}else m[0]==="word"&&/\w/.test(m[1])&&this.unknownWord([m]),o.raws.between+=m[1];(o.prop[0]==="_"||o.prop[0]==="*")&&(o.raws.before+=o.prop[0],o.prop=o.prop.slice(1));let h=[],b;for(;c.length&&(b=c[0][0],!(b!=="space"&&b!=="comment"));)h.push(c.shift());this.precheckMissedSemicolon(c);for(let w=c.length-1;w>=0;w--){if(m=c[w],m[1].toLowerCase()==="!important"){o.important=!0;let v=this.stringFrom(c,w);v=this.spacesFromEnd(c)+v,v!==" !important"&&(o.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("!")&&(o.important=!0,o.raws.important=D,c=v)}if(m[0]!=="space"&&m[0]!=="comment")break}c.some(w=>w[0]!=="space"&&w[0]!=="comment")&&(o.raws.between+=h.map(w=>w[1]).join(""),h=[]),this.raw(o,"value",h.concat(c),p),o.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,o=null,f=!1,m=null,h=[],b=c[1].startsWith("--"),g=[],w=c;for(;w;){if(o=w[0],g.push(w),o==="("||o==="[")m||(m=w),h.push(o==="("?")":"]");else if(b&&f&&o==="{")m||(m=w),h.push("}");else if(h.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===h[h.length-1]&&(h.pop(),h.length===0&&(m=null));w=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(p=!0),h.length>0&&this.unclosedBracket(m),p&&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 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,o,f){let m,h,b=o.length,g="",w=!0,v,D;for(let y=0;y<b;y+=1)m=o[y],h=m[0],h==="space"&&y===b-1&&!f?w=!1:h==="comment"?(D=o[y-1]?o[y-1][0]:"empty",v=o[y+1]?o[y+1][0]:"empty",!a[D]&&!a[v]?g.slice(-1)===","?w=!1:g+=m[1]:w=!1):g+=m[1];if(!w){let y=o.reduce((E,A)=>E+A[1],"");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,o="";for(;c.length&&(p=c[c.length-1][0],!(p!=="space"&&p!=="comment"));)o=c.pop()[1]+o;return o}spacesAndCommentsFromStart(c){let p,o="";for(;c.length&&(p=c[0][0],!(p!=="space"&&p!=="comment"));)o+=c.shift()[1];return o}spacesFromEnd(c){let p,o="";for(;c.length&&(p=c[c.length-1][0],p==="space");)o=c.pop()[1]+o;return o}stringFrom(c,p){let o="";for(let f=p;f<c.length;f++)o+=c[f][1];return c.splice(p,c.length-p),o}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 ya=d,ya}var va,vc;function wa(){if(vc)return va;vc=1;let e=Zr(),r=Nu(),t=m1();function n(u,i){let a=new r(u,i),s=new t(a);try{s.parse()}catch(d){throw process.env.NODE_ENV!=="production"&&d.name==="CssSyntaxError"&&i&&i.from&&(/\.scss$/i.test(i.from)?d.message+=`
63
+ You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(i.from)?d.message+=`
64
+ You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(i.from)&&(d.message+=`
65
+ You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),d}return s.root}return va=n,n.default=n,e.registerParse(n),va}var Da,wc;function Dc(){if(wc)return Da;wc=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,Ec;function xa(){if(Ec)return Ea;Ec=1;let e=Dc();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,xc;function Ac(){if(xc)return Aa;xc=1;let e={};return Aa=function(t){e[t]||(e[t]=!0,typeof console<"u"&&console.warn&&console.warn(t))},Aa}var Ca,Cc;function Tc(){if(Cc)return Ca;Cc=1;let e=Zr(),r=sa(),t=gc(),n=wa(),u=xa(),i=$n(),a=Tu(),{isClean:s,my:d}=Ki(),l=Ac();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},o={Once:!0,postcssPlugin:!0,prepare:!0},f=0;function m(D){return typeof D=="object"&&typeof D.then=="function"}function h(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,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=h(D),{eventIndex:0,events:y,iterator:0,node:D,visitorIndex:0,visitors:[]}}function g(D){return D[s]=!1,D.nodes&&D.nodes.forEach(y=>g(y)),D}let w={};class v{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(y,E,A){this.stringified=!1,this.processed=!1;let C;if(typeof E=="object"&&E!==null&&(E.type==="root"||E.type==="document"))C=g(E);else if(E instanceof v||E instanceof u)C=g(E.root),E.map&&(typeof A.map>"u"&&(A.map={}),A.map.inline||(A.map.inline=!1),A.map.prev=E.map);else{let 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[d]&&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||l("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=h(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,Sc;function g1(){if(Sc)return Ta;Sc=1;let e=gc(),r=wa();const t=xa();let n=Tu(),u=Ac();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,d=r;try{s=d(this._css,this._opts)}catch(l){this.error=l}if(this.error)throw this.error;return this._root=s,s}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(s,d,l){d=d.toString(),this.stringified=!1,this._processor=s,this._css=d,this._opts=l,this._map=void 0;let c,p=n;this.result=new t(this._processor,c,this._opts),this.result.css=d;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let f=new e(p,c,this._opts,d);if(f.isMap()){let[m,h]=f.generate();m&&(this.result.css=m),h&&(this.result.map=h)}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,d){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,d)}toString(){return this._css}warnings(){return[]}}return Ta=i,i.default=i,Ta}var Sa,Fc;function b1(){if(Fc)return Sa;Fc=1;let e=sa(),r=Tc(),t=g1(),n=$n();class u{constructor(a=[]){this.version="8.5.3",this.plugins=this.normalize(a)}normalize(a){let s=[];for(let d of a)if(d.postcss===!0?d=d():d.postcss&&(d=d.postcss),typeof d=="object"&&Array.isArray(d.plugins))s=s.concat(d.plugins);else if(typeof d=="object"&&d.postcssPlugin)s.push(d);else if(typeof d=="function")s.push(d);else if(typeof d=="object"&&(d.parse||d.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(d+" 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,_c;function y1(){if(_c)return Fa;_c=1;let e=ia(),r=_u(),t=Zr(),n=Qi(),u=Ou(),i=sa(),a=h1(),s=Nu(),d=Tc(),l=dc(),c=Fu(),p=wa(),o=b1(),f=xa(),m=$n(),h=pa(),b=Tu(),g=Dc();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 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=l,w.comment=v=>new r(v),w.atRule=v=>new e(v),w.decl=v=>new u(v),w.rule=v=>new h(v),w.root=v=>new m(v),w.document=v=>new i(v),w.CssSyntaxError=n,w.Declaration=u,w.Container=t,w.Processor=o,w.Document=i,w.Comment=r,w.Warning=g,w.AtRule=e,w.Result=d,w.Input=s,w.Rule=h,w.Root=m,w.Node=c,f.registerPostcss(w),Fa=w,w.default=w,Fa}var _a,Oc;function v1(){if(Oc)return _a;Oc=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 f(b,g){b&&Object.keys(b).forEach(function(w){g(b[w],w)})}function l(b,g){return{}.hasOwnProperty.call(b,g)}function c(b,g){const w=[];return f(b,function(v){g(v)&&w.push(v)}),w}function p(b){for(const g in b)if(l(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 d=/^[^\0\t\n\f\r /<=>]+$/;function m(b,g,w){if(b==null)return"";typeof b=="number"&&(b=b.toString());let v="",D="";function y(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({},h,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(`
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=l,w.comment=v=>new r(v),w.atRule=v=>new e(v),w.decl=v=>new u(v),w.rule=v=>new h(v),w.root=v=>new m(v),w.document=v=>new i(v),w.CssSyntaxError=n,w.Declaration=u,w.Container=t,w.Processor=o,w.Document=i,w.Comment=r,w.Warning=g,w.AtRule=e,w.Result=f,w.Input=s,w.Rule=h,w.Root=m,w.Node=c,d.registerPostcss(w),Fa=w,w.default=w,Fa}var _a,Oc;function v1(){if(Oc)return _a;Oc=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 d(b,g){b&&Object.keys(b).forEach(function(w){g(b[w],w)})}function l(b,g){return{}.hasOwnProperty.call(b,g)}function c(b,g){const w=[];return d(b,function(v){g(v)&&w.push(v)}),w}function p(b){for(const g in b)if(l(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({},h,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={},f(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={},_={};f(g.allowedClasses,function(q,k){if(C&&(l(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;f(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 tt=!!W.text;let ut;if(l(P,q)&&(ut=P[q](q,k),W.attribs=k=ut.attribs,ut.text!==void 0&&(W.innerText=ut.text),q!==ut.tagName&&(W.name=q=ut.tagName,re[N]=ut.tagName)),B&&(ut=B(q,k),W.attribs=k=ut.attribs,q!==ut.tagName&&(W.name=q=ut.tagName,re[N]=ut.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&&!tt){const ke=se(W.innerText);g.textFilter?v+=g.textFilter(ke,q):v+=se(W.innerText),Z=!0}return}D=v,v=""}v+="<"+q,q==="script"&&(g.allowedScriptHostnames||g.allowedScriptDomains)&&(W.innerText=""),(!C||l(C,q)||C["*"])&&f(k,function(ke,Se){if(!d.test(Se)){delete W.attribs[Se];return}if(ke===""&&!g.allowedEmptyAttributes.includes(Se)&&(g.nonBooleanAttributes.includes(Se)||g.nonBooleanAttributes.includes("*"))){delete W.attribs[Se];return}let vr=!1;if(!C||l(C,q)&&C[q].indexOf(Se)!==-1||C["*"]&&C["*"].indexOf(Se)!==-1||l(F,q)&&F[q].test(Se)||F["*"]&&F["*"].test(Se))vr=!0;else if(C&&C[q]){for(const _e of C[q])if(t(_e)&&_e.name&&_e.name===Se){vr=!0;let Oe="";if(_e.multiple===!0){const qt=ke.split(" ");for(const S of qt)_e.values.indexOf(S)!==-1&&(Oe===""?Oe=S:Oe+=" "+S)}else _e.values.indexOf(ke)>=0&&(Oe=ke);ke=Oe}}if(vr){if(g.allowedSchemesAppliedToAttributes.indexOf(Se)!==-1&&de(q,ke)){delete W.attribs[Se];return}if(q==="script"&&Se==="src"){let _e=!0;try{const Oe=he(ke);if(g.allowedScriptHostnames||g.allowedScriptDomains){const qt=(g.allowedScriptHostnames||[]).find(function(M){return M===Oe.url.hostname}),S=(g.allowedScriptDomains||[]).find(function(M){return Oe.url.hostname===M||Oe.url.hostname.endsWith(`.${M}`)});_e=qt||S}}catch{_e=!1}if(!_e){delete W.attribs[Se];return}}if(q==="iframe"&&Se==="src"){let _e=!0;try{const Oe=he(ke);if(Oe.isRelativeUrl)_e=l(g,"allowIframeRelativeUrls")?g.allowIframeRelativeUrls:!g.allowedIframeHostnames&&!g.allowedIframeDomains;else if(g.allowedIframeHostnames||g.allowedIframeDomains){const qt=(g.allowedIframeHostnames||[]).find(function(M){return M===Oe.url.hostname}),S=(g.allowedIframeDomains||[]).find(function(M){return Oe.url.hostname===M||Oe.url.hostname.endsWith(`.${M}`)});_e=qt||S}}catch{_e=!1}if(!_e){delete W.attribs[Se];return}}if(Se==="srcset")try{let _e=u(ke);if(_e.forEach(function(Oe){de("srcset",Oe.url)&&(Oe.evil=!0)}),_e=c(_e,function(Oe){return!Oe.evil}),_e.length)ke=o(c(_e,function(Oe){return!Oe.evil})),W.attribs[Se]=ke;else{delete W.attribs[Se];return}}catch{delete W.attribs[Se];return}if(Se==="class"){const _e=x[q],Oe=x["*"],qt=T[q],S=_[q],M=_["*"],R=T["*"],z=[qt,R].concat(S,M).filter(function(H){return H});if(_e&&Oe?ke=ve(ke,n(_e,Oe),z):ke=ve(ke,_e||Oe,z),!ke.length){delete W.attribs[Se];return}}if(Se==="style"){if(g.parseStyleAttributes)try{const _e=i(q+" {"+ke+"}",{map:!1}),Oe=oe(_e,g.allowedStyles);if(ke=be(Oe),ke.length===0){delete W.attribs[Se];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+q+" {"+ke+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete W.attribs[Se];return}else if(g.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}v+=" "+Se,ke&&ke.length?v+='="'+se(ke,!0)+'"':g.allowedEmptyAttributes.includes(Se)&&(v+='=""')}else delete W.attribs[Se]}),g.selfClosing.indexOf(q)!==-1?v+=" />":(v+=">",W.innerText&&!tt&&!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,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),k&&(q=q.replace(/"/g,"&quot;"))),q=q.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),k&&(q=q.replace(/"/g,"&quot;")),q}function de(q,k){for(k=k.replace(/[\x00-\x20]+/g,"");;){const tt=k.indexOf("<!--");if(tt===-1)break;const ut=k.indexOf("-->",tt+4);if(ut===-1)break;k=k.substring(0,tt)+k.substring(ut+3)}const W=k.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!W)return k.match(/^[/\\]{2}/)?!g.allowProtocolRelative:!1;const me=W[1].toLowerCase();return l(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 tt=0;tt<100;tt++)k+=`/${tt}`;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 l(q,W.prop)&&q[W.prop].some(function(tt){return tt.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(tt){return tt.test(me)})}).join(" ")):q}}const h={decodeEntities:!0};return m.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0},m.simpleTransform=function(b,g,w){return w=w===void 0?!0:w,g=g||{},function(v,D){let y;if(w)for(y in g)D[y]=g[y];else D=g;return{tagName:b,attribs:D}}},_a}var w1=v1();const Nc=Ni(w1);function Oa({label:e,error:r,childId:t,dataTestId:n,sx:u,children:i,isFormControl:a}){const s=Je.useId(),f=t??s;return K.jsxs(Le.FormControl,{fullWidth:!0,sx:u,error:!!r,"data-testid":n,id:f,children:[a?K.jsx(Le.FormLabel,{id:`${f}-label`,htmlFor:f,sx:{pointerEvents:"none"},children:e}):K.jsx(Le.Typography,{id:`${f}-label`,component:"span",children:e}),K.jsx(Le.Box,{sx:{display:"flex",alignItems:"center",minHeight:sn.capitalMuiTheme.spacing(4)},children:i}),r&&K.jsx(ln,{error:r,id:`${f}-error`})]})}function D1({html:e,...r}){return K.jsx(Le.Typography,{...r,dangerouslySetInnerHTML:{__html:Nc(e,{disallowedTagsMode:"recursiveEscape",allowedTags:Nc.defaults.allowedTags.concat(["img","br","p"])})}})}function Jr({label:e,text:r,asHTML:t=!1,sx:n={},error:u,startAdornment:i,endAdornment:a}){const s=Je.useId(),f={tabIndex:0,id:s,"aria-readonly":!0,"aria-labelledby":`${s}-label`,"aria-describedby":`${s}-error`,"aria-invalid":!!u,"data-testid":"read-only-value"};return K.jsx(Oa,{label:e,sx:n,dataTestId:"read-only-field",error:u,childId:s,children:K.jsxs(Le.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[K.jsxs(Le.Box,{sx:{display:"flex",alignItems:"center"},children:[i,t&&r?K.jsx(D1,{html:r,...f}):K.jsx(Le.Typography,{...f,children:r})]}),a]})})}const Mc=(e,r)=>({[{[Ln.DAY]:"days",[Ln.WEEK]:"weeks",[Ln.MONTH]:"months",[Ln.YEAR]:"years"}[r]]:e}),Pc=(e,r)=>{var u,i,a,s,f;const t=Wr(new Date),n=Wr(e);if((u=r.disableDaysOfWeek)!=null&&u.length){const l=r.disableDaysOfWeek.map(({value:p})=>p),c=ki(n,"EEEE").toUpperCase();if(l.includes(c))return!0}if(((i=r.disablePastDates)==null?void 0:i.number)!==void 0&&((a=r.disablePastDates)!=null&&a.unit)){const l=Mc(r.disablePastDates.number,r.disablePastDates.unit),c=Gh(t,l);if(gu(n,c))return!0}if(((s=r.disableFutureDates)==null?void 0:s.number)!==void 0&&((f=r.disableFutureDates)!=null&&f.unit)){const l=Mc(r.disableFutureDates.number,r.disableFutureDates.unit),c=Tf(t,l);if(mu(n,c))return!0}return!1};function Bc({name:e,rules:r={},sx:t={},constraints:n={},dateFormat:u="MM/dd/yyyy",...i}){const{field:a,fieldState:{error:s}}=Kt.useController({name:e,rules:{...r,validate:f=>Number.isNaN(f==null?void 0:f.getTime())?"Please enter a valid date.":f&&n&&Pc(f,n)?"Selected date is not allowed.":!0}});if(i.readonly){const f=a.value&&!Number.isNaN(a.value.getTime())?ki(a.value,u):"";return K.jsx(Jr,{label:i.label,text:f,sx:t,error:s==null?void 0:s.message})}return 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:f=>n?Pc(f,n):!1})}function Ic({name:e,label:r,sx:t={},disabled:n,rules:u={},readonly:i,...a}){const{field:s,fieldState:{error:f}}=Kt.useController({name:e,rules:u}),l=s.value?"Yes":"No";return i?K.jsx(Jr,{label:r,text:l,sx:t,error:f==null?void 0:f.message,startAdornment:K.jsx(Le.Checkbox,{disabled:!0,checked:s.value})}):K.jsxs(Oa,{label:r,sx:t,error:f==null?void 0:f.message,childId:e,isFormControl:!0,children:[K.jsx(Le.Checkbox,{id:e,checked:s.value,disabled:n,...s,...a,inputProps:{"aria-labelledby":`${e}-label`,"aria-describedby":`${e}-error`,"aria-invalid":!!f},color:f?"error":"primary","data-testid":"form-field-checkbox"}),!n&&K.jsx(Le.Typography,{children:l})]})}function Rc({name:e,label:r,rules:t={},sx:n={},readonly:u,maxLength:i,filter:a,...s}){const{field:f,fieldState:{error:l}}=Kt.useController({name:e,rules:t}),c=p=>{let o=p.target.value;a&&(o=a(o)),f.onChange(o)};return u?K.jsx(Jr,{label:r,text:f.value,sx:n,error:l==null?void 0:l.message}):K.jsx(Le.TextField,{"data-test-id":"form-field-input",...f,label:r,fullWidth:!0,...s,error:!!l,helperText:!!l&&K.jsx(ln,{error:l.message}),onChange:c,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 kc={relTol:1e-12,absTol:1e-15,matrix:"Matrix",number:"number",numberFallback:"number",precision:64,predictable:!1,randomSeed:null};function E1(e,r){if(Mu(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(Mu(e,r))return e[r]=t,t;throw new Error('No access to property "'+r+'"')}function Mu(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 Mu(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){Mu(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 et(e){return typeof e=="number"}function wt(e){return!e||typeof e!="object"||typeof e.constructor!="function"?!1:e.isBigNumber===!0&&typeof e.constructor.prototype=="object"&&e.constructor.prototype.isBigNumber===!0||typeof e.constructor.isDecimal=="function"&&e.constructor.isDecimal(e)===!0}function O1(e){return typeof e=="bigint"}function Lc(e){return e&&typeof e=="object"&&Object.getPrototypeOf(e).isComplex===!0||!1}function qc(e){return e&&typeof e=="object"&&Object.getPrototypeOf(e).isFraction===!0||!1}function $c(e){return e&&e.constructor.prototype.isUnit===!0||!1}function dr(e){return typeof e=="string"}var yt=Array.isArray;function Wt(e){return e&&e.constructor.prototype.isMatrix===!0||!1}function Pu(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 Na(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 Ma(e){return!!(e&&typeof e=="object"&&e.constructor===Object&&!Lc(e)&&!qc(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 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(Ma(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 sp(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 op(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"],lp=["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={},d(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={},_={};d(g.allowedClasses,function(q,k){if(C&&(l(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;d(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 tt=!!W.text;let ut;if(l(P,q)&&(ut=P[q](q,k),W.attribs=k=ut.attribs,ut.text!==void 0&&(W.innerText=ut.text),q!==ut.tagName&&(W.name=q=ut.tagName,re[N]=ut.tagName)),B&&(ut=B(q,k),W.attribs=k=ut.attribs,q!==ut.tagName&&(W.name=q=ut.tagName,re[N]=ut.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&&!tt){const ke=se(W.innerText);g.textFilter?v+=g.textFilter(ke,q):v+=se(W.innerText),Z=!0}return}D=v,v=""}v+="<"+q,q==="script"&&(g.allowedScriptHostnames||g.allowedScriptDomains)&&(W.innerText=""),(!C||l(C,q)||C["*"])&&d(k,function(ke,Se){if(!f.test(Se)){delete W.attribs[Se];return}if(ke===""&&!g.allowedEmptyAttributes.includes(Se)&&(g.nonBooleanAttributes.includes(Se)||g.nonBooleanAttributes.includes("*"))){delete W.attribs[Se];return}let vr=!1;if(!C||l(C,q)&&C[q].indexOf(Se)!==-1||C["*"]&&C["*"].indexOf(Se)!==-1||l(F,q)&&F[q].test(Se)||F["*"]&&F["*"].test(Se))vr=!0;else if(C&&C[q]){for(const _e of C[q])if(t(_e)&&_e.name&&_e.name===Se){vr=!0;let Oe="";if(_e.multiple===!0){const qt=ke.split(" ");for(const S of qt)_e.values.indexOf(S)!==-1&&(Oe===""?Oe=S:Oe+=" "+S)}else _e.values.indexOf(ke)>=0&&(Oe=ke);ke=Oe}}if(vr){if(g.allowedSchemesAppliedToAttributes.indexOf(Se)!==-1&&de(q,ke)){delete W.attribs[Se];return}if(q==="script"&&Se==="src"){let _e=!0;try{const Oe=he(ke);if(g.allowedScriptHostnames||g.allowedScriptDomains){const qt=(g.allowedScriptHostnames||[]).find(function(M){return M===Oe.url.hostname}),S=(g.allowedScriptDomains||[]).find(function(M){return Oe.url.hostname===M||Oe.url.hostname.endsWith(`.${M}`)});_e=qt||S}}catch{_e=!1}if(!_e){delete W.attribs[Se];return}}if(q==="iframe"&&Se==="src"){let _e=!0;try{const Oe=he(ke);if(Oe.isRelativeUrl)_e=l(g,"allowIframeRelativeUrls")?g.allowIframeRelativeUrls:!g.allowedIframeHostnames&&!g.allowedIframeDomains;else if(g.allowedIframeHostnames||g.allowedIframeDomains){const qt=(g.allowedIframeHostnames||[]).find(function(M){return M===Oe.url.hostname}),S=(g.allowedIframeDomains||[]).find(function(M){return Oe.url.hostname===M||Oe.url.hostname.endsWith(`.${M}`)});_e=qt||S}}catch{_e=!1}if(!_e){delete W.attribs[Se];return}}if(Se==="srcset")try{let _e=u(ke);if(_e.forEach(function(Oe){de("srcset",Oe.url)&&(Oe.evil=!0)}),_e=c(_e,function(Oe){return!Oe.evil}),_e.length)ke=o(c(_e,function(Oe){return!Oe.evil})),W.attribs[Se]=ke;else{delete W.attribs[Se];return}}catch{delete W.attribs[Se];return}if(Se==="class"){const _e=x[q],Oe=x["*"],qt=T[q],S=_[q],M=_["*"],R=T["*"],z=[qt,R].concat(S,M).filter(function(H){return H});if(_e&&Oe?ke=ve(ke,n(_e,Oe),z):ke=ve(ke,_e||Oe,z),!ke.length){delete W.attribs[Se];return}}if(Se==="style"){if(g.parseStyleAttributes)try{const _e=i(q+" {"+ke+"}",{map:!1}),Oe=oe(_e,g.allowedStyles);if(ke=be(Oe),ke.length===0){delete W.attribs[Se];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+q+" {"+ke+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete W.attribs[Se];return}else if(g.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}v+=" "+Se,ke&&ke.length?v+='="'+se(ke,!0)+'"':g.allowedEmptyAttributes.includes(Se)&&(v+='=""')}else delete W.attribs[Se]}),g.selfClosing.indexOf(q)!==-1?v+=" />":(v+=">",W.innerText&&!tt&&!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,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),k&&(q=q.replace(/"/g,"&quot;"))),q=q.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),k&&(q=q.replace(/"/g,"&quot;")),q}function de(q,k){for(k=k.replace(/[\x00-\x20]+/g,"");;){const tt=k.indexOf("<!--");if(tt===-1)break;const ut=k.indexOf("-->",tt+4);if(ut===-1)break;k=k.substring(0,tt)+k.substring(ut+3)}const W=k.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!W)return k.match(/^[/\\]{2}/)?!g.allowProtocolRelative:!1;const me=W[1].toLowerCase();return l(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 tt=0;tt<100;tt++)k+=`/${tt}`;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 l(q,W.prop)&&q[W.prop].some(function(tt){return tt.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(tt){return tt.test(me)})}).join(" ")):q}}const h={decodeEntities:!0};return m.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0},m.simpleTransform=function(b,g,w){return w=w===void 0?!0:w,g=g||{},function(v,D){let y;if(w)for(y in g)D[y]=g[y];else D=g;return{tagName:b,attribs:D}}},_a}var w1=v1();const Nc=Ni(w1);function Oa({label:e,error:r,childId:t,dataTestId:n,sx:u,children:i,isFormControl:a}){const s=Je.useId(),d=t??s;return K.jsxs(Le.FormControl,{fullWidth:!0,sx:u,error:!!r,"data-testid":n,id:d,children:[a?K.jsx(Le.FormLabel,{id:`${d}-label`,htmlFor:d,sx:{pointerEvents:"none"},children:e}):K.jsx(Le.Typography,{id:`${d}-label`,component:"span",children:e}),K.jsx(Le.Box,{sx:{display:"flex",alignItems:"center",minHeight:sn.capitalMuiTheme.spacing(4)},children:i}),r&&K.jsx(ln,{error:r,id:`${d}-error`})]})}function D1({html:e,...r}){return K.jsx(Le.Typography,{...r,dangerouslySetInnerHTML:{__html:Nc(e,{disallowedTagsMode:"recursiveEscape",allowedTags:Nc.defaults.allowedTags.concat(["img","br","p"])})}})}function Jr({label:e,text:r,asHTML:t=!1,sx:n={},error:u,startAdornment:i,endAdornment:a}){const s=Je.useId(),d={tabIndex:0,id:s,"aria-readonly":!0,"aria-labelledby":`${s}-label`,"aria-describedby":`${s}-error`,"aria-invalid":!!u,"data-testid":"read-only-value"};return K.jsx(Oa,{label:e,sx:n,dataTestId:"read-only-field",error:u,childId:s,children:K.jsxs(Le.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[K.jsxs(Le.Box,{sx:{display:"flex",alignItems:"center"},children:[i,t&&r?K.jsx(D1,{html:r,...d}):K.jsx(Le.Typography,{...d,children:r})]}),a]})})}const Mc=(e,r)=>({[{[Ln.DAY]:"days",[Ln.WEEK]:"weeks",[Ln.MONTH]:"months",[Ln.YEAR]:"years"}[r]]:e}),Pc=(e,r)=>{var u,i,a,s,d;const t=Wr(new Date),n=Wr(e);if((u=r.disableDaysOfWeek)!=null&&u.length){const l=r.disableDaysOfWeek.map(({value:p})=>p),c=ki(n,"EEEE").toUpperCase();if(l.includes(c))return!0}if(((i=r.disablePastDates)==null?void 0:i.number)!==void 0&&((a=r.disablePastDates)!=null&&a.unit)){const l=Mc(r.disablePastDates.number,r.disablePastDates.unit),c=Gh(t,l);if(gu(n,c))return!0}if(((s=r.disableFutureDates)==null?void 0:s.number)!==void 0&&((d=r.disableFutureDates)!=null&&d.unit)){const l=Mc(r.disableFutureDates.number,r.disableFutureDates.unit),c=Tf(t,l);if(mu(n,c))return!0}return!1};function Bc({name:e,rules:r={},sx:t={},constraints:n={},dateFormat:u="MM/dd/yyyy",...i}){const{field:a,fieldState:{error:s}}=Kt.useController({name:e,rules:{...r,validate:d=>Number.isNaN(d==null?void 0:d.getTime())?"Please enter a valid date.":d&&n&&Pc(d,n)?"Selected date is not allowed.":!0}});if(i.readonly){const d=a.value&&!Number.isNaN(a.value.getTime())?ki(a.value,u):"";return K.jsx(Jr,{label:i.label,text:d,sx:t,error:s==null?void 0:s.message})}return 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:d=>n?Pc(d,n):!1})}function Ic({name:e,label:r,sx:t={},disabled:n,rules:u={},readonly:i,...a}){const{field:s,fieldState:{error:d}}=Kt.useController({name:e,rules:u}),l=s.value?"Yes":"No";return i?K.jsx(Jr,{label:r,text:l,sx:t,error:d==null?void 0:d.message,startAdornment:K.jsx(Le.Checkbox,{disabled:!0,checked:s.value})}):K.jsxs(Oa,{label:r,sx:t,error:d==null?void 0:d.message,childId:e,isFormControl:!0,children:[K.jsx(Le.Checkbox,{id:e,checked:s.value,disabled:n,...s,...a,inputProps:{"aria-labelledby":`${e}-label`,"aria-describedby":`${e}-error`,"aria-invalid":!!d},color:d?"error":"primary","data-testid":"form-field-checkbox"}),!n&&K.jsx(Le.Typography,{children:l})]})}function Rc({name:e,label:r,rules:t={},sx:n={},readonly:u,maxLength:i,filter:a,...s}){const{field:d,fieldState:{error:l}}=Kt.useController({name:e,rules:t}),c=p=>{let o=p.target.value;a&&(o=a(o)),d.onChange(o)};return u?K.jsx(Jr,{label:r,text:d.value,sx:n,error:l==null?void 0:l.message}):K.jsx(Le.TextField,{"data-test-id":"form-field-input",...d,label:r,fullWidth:!0,...s,error:!!l,helperText:!!l&&K.jsx(ln,{error:l.message}),onChange:c,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 kc={relTol:1e-12,absTol:1e-15,matrix:"Matrix",number:"number",numberFallback:"number",precision:64,predictable:!1,randomSeed:null};function E1(e,r){if(Mu(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(Mu(e,r))return e[r]=t,t;throw new Error('No access to property "'+r+'"')}function Mu(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 Mu(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){Mu(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 et(e){return typeof e=="number"}function wt(e){return!e||typeof e!="object"||typeof e.constructor!="function"?!1:e.isBigNumber===!0&&typeof e.constructor.prototype=="object"&&e.constructor.prototype.isBigNumber===!0||typeof e.constructor.isDecimal=="function"&&e.constructor.isDecimal(e)===!0}function O1(e){return typeof e=="bigint"}function Lc(e){return e&&typeof e=="object"&&Object.getPrototypeOf(e).isComplex===!0||!1}function qc(e){return e&&typeof e=="object"&&Object.getPrototypeOf(e).isFraction===!0||!1}function $c(e){return e&&e.constructor.prototype.isUnit===!0||!1}function dr(e){return typeof e=="string"}var yt=Array.isArray;function Wt(e){return e&&e.constructor.prototype.isMatrix===!0||!1}function Pu(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 Na(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 Ma(e){return!!(e&&typeof e=="object"&&e.constructor===Object&&!Lc(e)&&!qc(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 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(Ma(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 sp(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 op(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"],lp=["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(kc)};jn(Hn,kc,{MATRIX_OPTIONS:cp,NUMBER_OPTIONS:lp});function jc(){return!0}function Yt(){return!1}function fn(){}const zc="Argument is not a typed-function.";function Hc(){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:jc,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 f(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 l(){n=new Map,u=[],i=0,f([t],!1)}l(),f(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 o(S){return S&&typeof S=="function"&&"_typedFunctionData"in S}function d(S,M,R){if(!o(S))throw new TypeError(zc);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 ze=S._typedFunctionData.signatureMap.get(ne);if(ze)return ze}const Q=U.length;let te;if(z){te=[];let ze;for(ze in S.signatures)te.push(S._typedFunctionData.signatureMap.get(ze))}else te=S._typedFunctionData.signatures;for(let ze=0;ze<Q;++ze){const Ge=U[ze],ft=[];let Mt;for(Mt of te){const St=C(Mt.params,ze);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 d(S,M,R).implementation}function h(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 jc;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 ze=[];for(let Ge=0;Ge<M.length;++Ge)ze.push(p(M[Ge]).join("|"));return z=new TypeError('Arguments of type "'+ze.join(", ")+'" do not match any of the defined signatures of function '+U+"."),z.data={category:"mismatch",actual:ze},z}function 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,ze;for(ze of R)ze.hasAny&&++te,ze.hasConversion&&++X;let Ge=0,ft=0;for(ze of z)ze.hasAny&&++Ge,ze.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 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(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 ze=!1,Ge;for(Ge of X)if(te.has(Ge)){ze=!0;break}if(!ze)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=>ke(M)?tt(M.referToSelf.callback):ut(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(ke(te))z[Q]=te.referToSelf.callback(R),z[Q].referToSelf=te.referToSelf,H[Q]=!0,ne=!1;else if(ut(te)){const X=Y(te.referTo.references,z,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 Ve=z.length;z.push(M[ne]);const fu=Ce.map(w);let Nn;for(Nn of L(fu)){const an=b(Nn);U.push({params:Nn,name:an,fn:Ve}),Nn.every(a3=>!a3.hasConversion)&&(H[an]=Ve)}}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=[],ze=new Map;for(te of U)ze.has(te.name)||(te.fn=Q[te.fn],X.push(te),ze.set(te.name,te));const Ge=X[0]&&X[0].params.length<=2&&!y(X[0].params),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 or=Ge?E(X[0].params[0]):Yt,cu=ft?E(X[1].params[0]):Yt,lu=Mt?E(X[2].params[0]):Yt,Ci=St?E(X[3].params[0]):Yt,Os=Vt?E(X[4].params[0]):Yt,Ti=Pt?E(X[5].params[0]):Yt,Ns=Ge?E(X[0].params[1]):Yt,Si=ft?E(X[1].params[1]):Yt,Fi=Mt?E(X[2].params[1]):Yt,Ms=St?E(X[3].params[1]):Yt,Ps=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,Bs=ft?X[1].implementation:fn,Is=Mt?X[2].implementation:fn,Rs=St?X[3].implementation:fn,ks=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,Me=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,at=X.map(Ce=>Ce.test),dt=X.map(Ce=>Ce.implementation),$t=function(){for(let Ve=Ae;Ve<Ft;Ve++)if(at[Ve](arguments))return dt[Ve].apply(this,arguments);return a.onMismatch(S,arguments,X)};function Jt(Ce,Ve){return arguments.length===G&&or(Ce)&&Ns(Ve)?Oi.apply(this,arguments):arguments.length===ue&&cu(Ce)&&Si(Ve)?Bs.apply(this,arguments):arguments.length===we&&lu(Ce)&&Fi(Ve)?Is.apply(this,arguments):arguments.length===Me&&Ci(Ce)&&Ms(Ve)?Rs.apply(this,arguments):arguments.length===Ue&&Os(Ce)&&Ps(Ve)?ks.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:ze},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 tt(S){if(typeof S!="function")throw new TypeError("Callback function expected as first argument");return{referToSelf:{callback:S}}}function ut(S){return S&&typeof S.referTo=="object"&&Array.isArray(S.referTo.references)&&typeof S.referTo.callback=="function"}function ke(S){return S&&typeof S.referToSelf=="object"&&typeof S.referToSelf.callback=="function"}function 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 vr(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 _e(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 Oe=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=vr(ne))),Object.keys(Q).length===0){const X=new TypeError("Argument to 'typed' at index "+U+" is not a (typed) function, nor an object with signatures as keys and functions as values.");throw X.data={index:U,argument:ne},X}M||(z=Se(z,te)),_e(H,Q)}return he(z||"",H)},a.create=Hc,a.createCount=Oe.createCount,a.onMismatch=oe,a.throwMismatchError=oe,a.createError=_,a.clear=l,a.clearConversions=c,a.addTypes=f,a._findType=s,a.referTo=W,a.referToSelf=tt,a.convert=h,a.findSignature=d,a.find=m,a.isTypedFunction=o,a.warnAgainstDeprecatedThis=!0,a.addType=function(S,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(zc);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 Bu=Hc();function Be(e,r,t,n){function u(i){var a=op(i,r.map(hp));return fp(e,r,i),t(a)}return u.isFactory=!0,u.fn=e,u.dependencies=r.slice().sort(),n&&(u.meta=n),u}function fp(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 Pa(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 Ba(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}=Uc(r);switch(t){case"fixed":return Vc(e,n);case"exponential":return Wc(e,n);case"engineering":return pp(e,n);case"bin":return Pa(e,2,u);case"oct":return Pa(e,8,u);case"hex":return Pa(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 Uc(e){var r="auto",t,n;if(e!==void 0)if(et(e))t=e;else if(wt(e))t=e.toNumber();else if(Ma(e))e.precision!==void 0&&(t=Yc(e.precision,()=>{throw new Error('Option "precision" must be a number or BigNumber')})),e.wordSize!==void 0&&(n=Yc(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 pp(e,r){if(isNaN(e)||!isFinite(e))return String(e);var t=Un(e),n=Iu(t,r),u=n.exponent,i=n.coefficients,a=u%3===0?u:u<0?u-3-u%3:u-u%3;if(et(r))for(;r>i.length||u-a+1>i.length;)i.push(0);else for(var s=Math.abs(u-a)-(i.length-1),f=0;f<s;f++)i.push(0);for(var l=Math.abs(u-a),c=1;l>0;)c++,l--;var p=i.slice(c).join(""),o=et(r)&&p.length||p.match(/[1-9]/)?"."+p:"",d=i.slice(0,c).join("")+o+"e"+(u>=0?"+":"")+a.toString();return n.sign+d}function Vc(e,r){if(isNaN(e)||!isFinite(e))return String(e);var t=Un(e),n=typeof r=="number"?Iu(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 Wc(e,r){if(isNaN(e)||!isFinite(e))return String(e);var t=Un(e),n=r?Iu(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=Gc(t==null?void 0:t.lowerExp,-3),u=Gc(t==null?void 0:t.upperExp,5),i=Un(e),a=r?Iu(i,r):i;if(a.exponent<n||a.exponent>=u)return Wc(e,r);var s=a.coefficients,f=a.exponent;s.length<r&&(s=s.concat(dn(r-s.length))),s=s.concat(dn(f-s.length+1+(s.length<r?r-s.length:0))),s=dn(-f).concat(s);var l=f>0?f:0;return l<s.length-1&&s.splice(l+1,0,"."),a.sign+s.join("")}function Iu(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 Yc(e,r){if(et(e))return e;if(wt(e))return e.toNumber();r()}function Gc(e,r){return et(e)?e:wt(e)?e.toNumber():r}var Xc=function(){return Xc=Bu.create,Bu},bp=["?BigNumber","?Complex","?DenseMatrix","?Fraction"],yp=Be("typed",bp,function(r){var{BigNumber:t,Complex:n,DenseMatrix:u,Fraction:i}=r,a=Xc();return a.clear(),a.addTypes([{name:"number",test:et},{name:"Complex",test:Lc},{name:"BigNumber",test:wt},{name:"bigint",test:O1},{name:"Fraction",test:qc},{name:"Unit",test:$c},{name:"identifier",test:s=>dr&&/^(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDD4A-\uDD65\uDD6F-\uDD85\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDDD0-\uDDED\uDDF0\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDD4A-\uDD65\uDD6F-\uDD85\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDDD0-\uDDED\uDDF0\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])*$/.test(s)},{name:"string",test:dr},{name:"Chain",test:ip},{name:"Array",test:yt},{name:"Matrix",test:Wt},{name:"DenseMatrix",test:N1},{name:"SparseMatrix",test:M1},{name:"Range",test:P1},{name:"Index",test:Na},{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:Ma}]),a.addConversions([{from:"number",to:"BigNumber",convert:function(f){if(t||Ru(f),gp(f)>15)throw new TypeError("Cannot implicitly convert a number with >15 significant digits to BigNumber (value: "+f+"). Use function bignumber(x) to convert to BigNumber.");return new t(f)}},{from:"number",to:"Complex",convert:function(f){return n||ku(f),new n(f,0)}},{from:"BigNumber",to:"Complex",convert:function(f){return n||ku(f),new n(f.toNumber(),0)}},{from:"bigint",to:"number",convert:function(f){if(f>Number.MAX_SAFE_INTEGER)throw new TypeError("Cannot implicitly convert bigint to number: value exceeds the max safe integer value (value: "+f+")");return Number(f)}},{from:"bigint",to:"BigNumber",convert:function(f){return t||Ru(f),new t(f.toString())}},{from:"bigint",to:"Fraction",convert:function(f){return i||Lu(f),new i(f)}},{from:"Fraction",to:"BigNumber",convert:function(f){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(f){return n||ku(f),new n(f.valueOf(),0)}},{from:"number",to:"Fraction",convert:function(f){i||Lu(f);var l=new i(f);if(l.valueOf()!==f)throw new TypeError("Cannot implicitly convert a number to a Fraction when there will be a loss of precision (value: "+f+"). Use function fraction(x) to convert to Fraction.");return l}},{from:"string",to:"number",convert:function(f){var l=Number(f);if(isNaN(l))throw new Error('Cannot convert "'+f+'" to a number');return l}},{from:"string",to:"BigNumber",convert:function(f){t||Ru(f);try{return new t(f)}catch{throw new Error('Cannot convert "'+f+'" to BigNumber')}}},{from:"string",to:"bigint",convert:function(f){try{return BigInt(f)}catch{throw new Error('Cannot convert "'+f+'" to BigInt')}}},{from:"string",to:"Fraction",convert:function(f){i||Lu(f);try{return new i(f)}catch{throw new Error('Cannot convert "'+f+'" to Fraction')}}},{from:"string",to:"Complex",convert:function(f){n||ku(f);try{return new n(f)}catch{throw new Error('Cannot convert "'+f+'" to Complex')}}},{from:"boolean",to:"number",convert:function(f){return+f}},{from:"boolean",to:"BigNumber",convert:function(f){return t||Ru(f),new t(+f)}},{from:"boolean",to:"bigint",convert:function(f){return BigInt(+f)}},{from:"boolean",to:"Fraction",convert:function(f){return i||Lu(f),new i(+f)}},{from:"boolean",to:"string",convert:function(f){return String(f)}},{from:"Array",to:"Matrix",convert:function(f){return u||vp(),new u(f)}},{from:"Matrix",to:"Array",convert:function(f){return f.valueOf()}}]),a.onMismatch=(s,f,l)=>{var c=a.createError(s,f,l);if(["wrongType","mismatch"].includes(c.data.category)&&f.length===1&&Pu(f[0])&&l.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=c.data,p}throw c},a.onMismatch=(s,f,l)=>{var c=a.createError(s,f,l);if(["wrongType","mismatch"].includes(c.data.category)&&f.length===1&&Pu(f[0])&&l.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=c.data,p}throw c},a});function Ru(e){throw new Error("Cannot convert value ".concat(e," into a BigNumber: no class 'BigNumber' provided"))}function ku(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 Lu(e){throw new Error("Cannot convert value ".concat(e," into a Fraction, no class 'Fraction' provided."))}/*!
81
+ `);return Object.freeze(kc)};jn(Hn,kc,{MATRIX_OPTIONS:cp,NUMBER_OPTIONS:lp});function jc(){return!0}function Yt(){return!1}function fn(){}const zc="Argument is not a typed-function.";function Hc(){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:jc,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 d(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 l(){n=new Map,u=[],i=0,d([t],!1)}l(),d(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 o(S){return S&&typeof S=="function"&&"_typedFunctionData"in S}function f(S,M,R){if(!o(S))throw new TypeError(zc);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 ze=S._typedFunctionData.signatureMap.get(ne);if(ze)return ze}const Q=U.length;let te;if(z){te=[];let ze;for(ze in S.signatures)te.push(S._typedFunctionData.signatureMap.get(ze))}else te=S._typedFunctionData.signatures;for(let ze=0;ze<Q;++ze){const Ge=U[ze],ft=[];let Mt;for(Mt of te){const St=C(Mt.params,ze);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 h(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 jc;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 ze=[];for(let Ge=0;Ge<M.length;++Ge)ze.push(p(M[Ge]).join("|"));return z=new TypeError('Arguments of type "'+ze.join(", ")+'" do not match any of the defined signatures of function '+U+"."),z.data={category:"mismatch",actual:ze},z}function 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,ze;for(ze of R)ze.hasAny&&++te,ze.hasConversion&&++X;let Ge=0,ft=0;for(ze of z)ze.hasAny&&++Ge,ze.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 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(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 ze=!1,Ge;for(Ge of X)if(te.has(Ge)){ze=!0;break}if(!ze)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=>ke(M)?tt(M.referToSelf.callback):ut(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(ke(te))z[Q]=te.referToSelf.callback(R),z[Q].referToSelf=te.referToSelf,H[Q]=!0,ne=!1;else if(ut(te)){const X=Y(te.referTo.references,z,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 Ve=z.length;z.push(M[ne]);const fu=Ce.map(w);let Nn;for(Nn of L(fu)){const an=b(Nn);U.push({params:Nn,name:an,fn:Ve}),Nn.every(a3=>!a3.hasConversion)&&(H[an]=Ve)}}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=[],ze=new Map;for(te of U)ze.has(te.name)||(te.fn=Q[te.fn],X.push(te),ze.set(te.name,te));const Ge=X[0]&&X[0].params.length<=2&&!y(X[0].params),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 or=Ge?E(X[0].params[0]):Yt,cu=ft?E(X[1].params[0]):Yt,lu=Mt?E(X[2].params[0]):Yt,Ci=St?E(X[3].params[0]):Yt,Os=Vt?E(X[4].params[0]):Yt,Ti=Pt?E(X[5].params[0]):Yt,Ns=Ge?E(X[0].params[1]):Yt,Si=ft?E(X[1].params[1]):Yt,Fi=Mt?E(X[2].params[1]):Yt,Ms=St?E(X[3].params[1]):Yt,Ps=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,Bs=ft?X[1].implementation:fn,Is=Mt?X[2].implementation:fn,Rs=St?X[3].implementation:fn,ks=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,Me=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,at=X.map(Ce=>Ce.test),dt=X.map(Ce=>Ce.implementation),$t=function(){for(let Ve=Ae;Ve<Ft;Ve++)if(at[Ve](arguments))return dt[Ve].apply(this,arguments);return a.onMismatch(S,arguments,X)};function Jt(Ce,Ve){return arguments.length===G&&or(Ce)&&Ns(Ve)?Oi.apply(this,arguments):arguments.length===ue&&cu(Ce)&&Si(Ve)?Bs.apply(this,arguments):arguments.length===we&&lu(Ce)&&Fi(Ve)?Is.apply(this,arguments):arguments.length===Me&&Ci(Ce)&&Ms(Ve)?Rs.apply(this,arguments):arguments.length===Ue&&Os(Ce)&&Ps(Ve)?ks.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:ze},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 tt(S){if(typeof S!="function")throw new TypeError("Callback function expected as first argument");return{referToSelf:{callback:S}}}function ut(S){return S&&typeof S.referTo=="object"&&Array.isArray(S.referTo.references)&&typeof S.referTo.callback=="function"}function ke(S){return S&&typeof S.referToSelf=="object"&&typeof S.referToSelf.callback=="function"}function 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 vr(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 _e(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 Oe=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=vr(ne))),Object.keys(Q).length===0){const X=new TypeError("Argument to 'typed' at index "+U+" is not a (typed) function, nor an object with signatures as keys and functions as values.");throw X.data={index:U,argument:ne},X}M||(z=Se(z,te)),_e(H,Q)}return he(z||"",H)},a.create=Hc,a.createCount=Oe.createCount,a.onMismatch=oe,a.throwMismatchError=oe,a.createError=_,a.clear=l,a.clearConversions=c,a.addTypes=d,a._findType=s,a.referTo=W,a.referToSelf=tt,a.convert=h,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(zc);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 Bu=Hc();function Be(e,r,t,n){function u(i){var a=op(i,r.map(hp));return fp(e,r,i),t(a)}return u.isFactory=!0,u.fn=e,u.dependencies=r.slice().sort(),n&&(u.meta=n),u}function fp(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 Pa(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 Ba(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}=Uc(r);switch(t){case"fixed":return Vc(e,n);case"exponential":return Wc(e,n);case"engineering":return pp(e,n);case"bin":return Pa(e,2,u);case"oct":return Pa(e,8,u);case"hex":return Pa(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 Uc(e){var r="auto",t,n;if(e!==void 0)if(et(e))t=e;else if(wt(e))t=e.toNumber();else if(Ma(e))e.precision!==void 0&&(t=Yc(e.precision,()=>{throw new Error('Option "precision" must be a number or BigNumber')})),e.wordSize!==void 0&&(n=Yc(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 pp(e,r){if(isNaN(e)||!isFinite(e))return String(e);var t=Un(e),n=Iu(t,r),u=n.exponent,i=n.coefficients,a=u%3===0?u:u<0?u-3-u%3:u-u%3;if(et(r))for(;r>i.length||u-a+1>i.length;)i.push(0);else for(var s=Math.abs(u-a)-(i.length-1),d=0;d<s;d++)i.push(0);for(var l=Math.abs(u-a),c=1;l>0;)c++,l--;var p=i.slice(c).join(""),o=et(r)&&p.length||p.match(/[1-9]/)?"."+p:"",f=i.slice(0,c).join("")+o+"e"+(u>=0?"+":"")+a.toString();return n.sign+f}function Vc(e,r){if(isNaN(e)||!isFinite(e))return String(e);var t=Un(e),n=typeof r=="number"?Iu(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 Wc(e,r){if(isNaN(e)||!isFinite(e))return String(e);var t=Un(e),n=r?Iu(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=Gc(t==null?void 0:t.lowerExp,-3),u=Gc(t==null?void 0:t.upperExp,5),i=Un(e),a=r?Iu(i,r):i;if(a.exponent<n||a.exponent>=u)return Wc(e,r);var s=a.coefficients,d=a.exponent;s.length<r&&(s=s.concat(dn(r-s.length))),s=s.concat(dn(d-s.length+1+(s.length<r?r-s.length:0))),s=dn(-d).concat(s);var l=d>0?d:0;return l<s.length-1&&s.splice(l+1,0,"."),a.sign+s.join("")}function Iu(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 Yc(e,r){if(et(e))return e;if(wt(e))return e.toNumber();r()}function Gc(e,r){return et(e)?e:wt(e)?e.toNumber():r}var Xc=function(){return Xc=Bu.create,Bu},bp=["?BigNumber","?Complex","?DenseMatrix","?Fraction"],yp=Be("typed",bp,function(r){var{BigNumber:t,Complex:n,DenseMatrix:u,Fraction:i}=r,a=Xc();return a.clear(),a.addTypes([{name:"number",test:et},{name:"Complex",test:Lc},{name:"BigNumber",test:wt},{name:"bigint",test:O1},{name:"Fraction",test:qc},{name:"Unit",test:$c},{name:"identifier",test:s=>dr&&/^(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDD4A-\uDD65\uDD6F-\uDD85\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDDD0-\uDDED\uDDF0\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDD4A-\uDD65\uDD6F-\uDD85\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDDD0-\uDDED\uDDF0\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])*$/.test(s)},{name:"string",test:dr},{name:"Chain",test:ip},{name:"Array",test:yt},{name:"Matrix",test:Wt},{name:"DenseMatrix",test:N1},{name:"SparseMatrix",test:M1},{name:"Range",test:P1},{name:"Index",test:Na},{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:Ma}]),a.addConversions([{from:"number",to:"BigNumber",convert:function(d){if(t||Ru(d),gp(d)>15)throw new TypeError("Cannot implicitly convert a number with >15 significant digits to BigNumber (value: "+d+"). Use function bignumber(x) to convert to BigNumber.");return new t(d)}},{from:"number",to:"Complex",convert:function(d){return n||ku(d),new n(d,0)}},{from:"BigNumber",to:"Complex",convert:function(d){return n||ku(d),new n(d.toNumber(),0)}},{from:"bigint",to:"number",convert:function(d){if(d>Number.MAX_SAFE_INTEGER)throw new TypeError("Cannot implicitly convert bigint to number: value exceeds the max safe integer value (value: "+d+")");return Number(d)}},{from:"bigint",to:"BigNumber",convert:function(d){return t||Ru(d),new t(d.toString())}},{from:"bigint",to:"Fraction",convert:function(d){return i||Lu(d),new i(d)}},{from:"Fraction",to:"BigNumber",convert:function(d){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(d){return n||ku(d),new n(d.valueOf(),0)}},{from:"number",to:"Fraction",convert:function(d){i||Lu(d);var l=new i(d);if(l.valueOf()!==d)throw new TypeError("Cannot implicitly convert a number to a Fraction when there will be a loss of precision (value: "+d+"). Use function fraction(x) to convert to Fraction.");return l}},{from:"string",to:"number",convert:function(d){var l=Number(d);if(isNaN(l))throw new Error('Cannot convert "'+d+'" to a number');return l}},{from:"string",to:"BigNumber",convert:function(d){t||Ru(d);try{return new t(d)}catch{throw new Error('Cannot convert "'+d+'" to BigNumber')}}},{from:"string",to:"bigint",convert:function(d){try{return BigInt(d)}catch{throw new Error('Cannot convert "'+d+'" to BigInt')}}},{from:"string",to:"Fraction",convert:function(d){i||Lu(d);try{return new i(d)}catch{throw new Error('Cannot convert "'+d+'" to Fraction')}}},{from:"string",to:"Complex",convert:function(d){n||ku(d);try{return new n(d)}catch{throw new Error('Cannot convert "'+d+'" to Complex')}}},{from:"boolean",to:"number",convert:function(d){return+d}},{from:"boolean",to:"BigNumber",convert:function(d){return t||Ru(d),new t(+d)}},{from:"boolean",to:"bigint",convert:function(d){return BigInt(+d)}},{from:"boolean",to:"Fraction",convert:function(d){return i||Lu(d),new i(+d)}},{from:"boolean",to:"string",convert:function(d){return String(d)}},{from:"Array",to:"Matrix",convert:function(d){return u||vp(),new u(d)}},{from:"Matrix",to:"Array",convert:function(d){return d.valueOf()}}]),a.onMismatch=(s,d,l)=>{var c=a.createError(s,d,l);if(["wrongType","mismatch"].includes(c.data.category)&&d.length===1&&Pu(d[0])&&l.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=c.data,p}throw c},a.onMismatch=(s,d,l)=>{var c=a.createError(s,d,l);if(["wrongType","mismatch"].includes(c.data.category)&&d.length===1&&Pu(d[0])&&l.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=c.data,p}throw c},a});function Ru(e){throw new Error("Cannot convert value ".concat(e," into a BigNumber: no class 'BigNumber' provided"))}function ku(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 Lu(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,Ia="0123456789abcdef",qu="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",$u="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Ra={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-pn,maxE:pn,crypto:!1},Qc,Cr,De=!0,ju="[DecimalError] ",Rr=ju+"Invalid argument: ",Zc=ju+"Precision limit exceeded",Jc=ju+"crypto unavailable",Kc="[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,e0=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ir=1e7,ge=7,xp=9007199254740991,Ap=qu.length-1,ka=$u.length-1,V={toStringTag:Kc};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,f=i.s,l=e.s;if(!a||!s)return!f||!l?NaN:f!==l?f:a===s?0:!a^f<0?1:-1;if(!a[0]||!s[0])return a[0]?f:s[0]?-l:0;if(f!==l)return f;if(i.e!==e.e)return i.e>e.e^f<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]^f<0?1:-1;return n===u?0:n>u^f<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,a0(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,f,l,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(s=n,f=s.times(s).times(s),l=f.plus(c),n=Xe(l.plus(c).times(s),l.plus(f),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(c))){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(c));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/Wu(4,e)).toString()):(e=16,r="2.3283064365386962890625e-10"),i=mn(a,1,i.times(r),new a(1),!0);for(var f,l=e,c=new a(8);l--;)f=i.times(i),i=s.minus(f.times(c.minus(f.times(c))));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/Wu(5,e)),u=mn(i,2,u,u,!0);for(var a,s=new i(5),f=new i(16),l=new i(20);e--;)a=u.times(u),u=u.times(s.plus(a.times(f.times(a).plus(l))))}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()?pr(r,n,u):new r(0):new r(NaN):e.isZero()?pr(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=pr(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,f,l=this,c=l.constructor,p=c.precision,o=c.rounding;if(l.isFinite()){if(l.isZero())return new c(l);if(l.abs().eq(1)&&p+4<=ka)return a=pr(c,p+4,o).times(.25),a.s=l.s,a}else{if(!l.s)return new c(NaN);if(p+4<=ka)return a=pr(c,p+4,o).times(.5),a.s=l.s,a}for(c.precision=s=p+10,c.rounding=1,t=Math.min(28,s/ge+2|0),e=t;e;--e)l=l.div(l.times(l).plus(1).sqrt().plus(1));for(De=!1,r=Math.ceil(s/ge),n=1,f=l.times(l),a=new c(l),u=l;e!==-1;)if(u=u.times(f),i=a.minus(u.div(n+=2)),u=u.times(f),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,c.precision=p,c.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,f,l=this,c=l.constructor,p=c.precision,o=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=l.d,l.s<0||!t||!t[0]||l.eq(1))return new c(t&&!t[0]?-1/0:l.s!=1?NaN:t?0:1/0);if(r)if(t.length>1)i=!0;else{for(u=t[0];u%10===0;)u/=10;i=u!==1}if(De=!1,s=p+d,a=Lr(l,s),n=r?Uu(c,s+10):Lr(e,s),f=Xe(a,n,s,1),Vn(f.d,u=p,o))do if(s+=10,a=Lr(l,s),n=r?Uu(c,s+10):Lr(e,s),f=Xe(a,n,s,1),!i){+Ct(f.d).slice(u+1,u+15)+1==1e14&&(f=le(f,p+1,0));break}while(Vn(f.d,u+=10,o));return De=!0,le(f,p,o)},V.minus=V.sub=function(e){var r,t,n,u,i,a,s,f,l,c,p,o,d=this,m=d.constructor;if(e=new m(e),!d.d||!e.d)return!d.s||!e.s?e=new m(NaN):d.d?e.s=-e.s:e=new m(e.d||d.s!==e.s?d:NaN),e;if(d.s!=e.s)return e.s=-e.s,d.plus(e);if(l=d.d,o=e.d,s=m.precision,f=m.rounding,!l[0]||!o[0]){if(o[0])e.s=-e.s;else if(l[0])e=new m(d);else return new m(f===3?-0:0);return De?le(e,s,f):e}if(t=_t(e.e/ge),c=_t(d.e/ge),l=l.slice(),i=c-t,i){for(p=i<0,p?(r=l,i=-i,a=o.length):(r=o,t=c,a=l.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=l.length,a=o.length,p=n<a,p&&(a=n),n=0;n<a;n++)if(l[n]!=o[n]){p=l[n]<o[n];break}i=0}for(p&&(r=l,l=o,o=r,e.s=-e.s),a=l.length,n=o.length-a;n>0;--n)l[a++]=0;for(n=o.length;n>i;){if(l[--n]<o[n]){for(u=n;u&&l[--u]===0;)l[u]=ir-1;--l[u],l[n]+=ir}l[n]-=o[n]}for(;l[--a]===0;)l.pop();for(;l[0]===0;l.shift())--t;return l[0]?(e.d=l,e.e=Hu(l,t),De?le(e,s,f):e):new m(f===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 La(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,f,l,c,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(l=p.d,c=e.d,s=o.precision,f=o.rounding,!l[0]||!c[0])return c[0]||(e=new o(p)),De?le(e,s,f):e;if(i=_t(p.e/ge),n=_t(e.e/ge),l=l.slice(),u=i-n,u){for(u<0?(t=l,u=-u,a=c.length):(t=c,n=i,a=l.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=l.length,u=c.length,a-u<0&&(u=a,t=c,c=l,l=t),r=0;u;)r=(l[--u]=l[u]+c[u]+r)/ir|0,l[u]%=ir;for(r&&(l.unshift(r),++n),a=l.length;l[--a]==0;)l.pop();return e.d=l,e.e=Hu(l,n),De?le(e,s,f):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=t0(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=Sp(n,a0(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,f=a.e,l=a.s,c=a.constructor;if(l!==1||!s||!s[0])return new c(!l||l<0&&(!s||s[0])?NaN:s?a:1/0);for(De=!1,l=Math.sqrt(+a),l==0||l==1/0?(r=Ct(s),(r.length+f)%2==0&&(r+="0"),l=Math.sqrt(r),f=_t((f+1)/2)-(f<0||f%2),l==1/0?r="5e"+f:(r=l.toExponential(),r=r.slice(0,r.indexOf("e")+1)+f),n=new c(r)):n=new c(l.toString()),t=(f=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&&(le(i,f+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,f+1,1),e=!n.times(n).eq(a));break}return De=!0,le(n,f,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,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,f,l,c=this,p=c.constructor,o=c.d,d=(e=new p(e)).d;if(e.s*=c.s,!o||!o[0]||!d||!d[0])return new p(!e.s||o&&!o[0]&&!d||d&&!d[0]&&!o?NaN:!o||!d?e.s/0:e.s*0);for(t=_t(c.e/ge)+_t(e.e/ge),f=o.length,l=d.length,f<l&&(i=o,o=d,d=i,a=f,f=l,l=a),i=[],a=f+l,n=a;n--;)i.push(0);for(n=l;--n>=0;){for(r=0,u=f+n;u>n;)s=i[u]+d[n]*o[u-n-1]+r,i[u--]=s%ir|0,r=s/ir|0;i[u]=(i[u]+r)%ir|0}for(;!i[--a];)i.pop();return r?++t:i.shift(),e.d=i,e.e=Hu(i,t),De?le(e,p.precision,p.rounding):e},V.toBinary=function(e,r){return qa(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=hr(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=hr(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=hr(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=hr(n,!1,e+n.e+1)),u.isNeg()&&!u.isZero()?"-"+t:t},V.toFraction=function(e){var r,t,n,u,i,a,s,f,l,c,p,o,d=this,m=d.d,h=d.constructor;if(!m)return new h(d);if(l=t=new h(1),n=f=new h(0),r=new h(n),i=r.e=t0(m)-d.e-1,a=i%ge,r.d[0]=vt(10,a<0?ge+a:a),e==null)e=i>0?r:l;else{if(s=new h(e),!s.isInt()||s.lt(l))throw Error(Rr+s);e=s.gt(r)?i>0?r:l:s}for(De=!1,s=new h(Ct(m)),c=h.precision,h.precision=i=m.length*ge*2;p=Xe(s,r,0,1,1),u=t.plus(p.times(n)),u.cmp(e)!=1;)t=n,n=u,u=l,l=f.plus(p.times(u)),f=u,u=r,r=s.minus(p.times(u)),s=u;return u=Xe(e.minus(t),n,0,1,1),f=f.plus(u.times(l)),t=t.plus(u.times(n)),f.s=l.s=d.s,o=Xe(l,n,i,1).minus(d).abs().cmp(Xe(f,t,i,1).minus(d).abs())<1?[l,n]:[f,t],h.precision=c,De=!0,o},V.toHexadecimal=V.toHex=function(e,r){return qa(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 qa(this,8,e,r)},V.toPower=V.pow=function(e){var r,t,n,u,i,a,s=this,f=s.constructor,l=+(e=new f(e));if(!s.d||!e.d||!s.d[0]||!e.d[0])return new f(vt(+s,l));if(s=new f(s),s.eq(1))return s;if(n=f.precision,i=f.rounding,e.eq(1))return le(s,n,i);if(r=_t(e.e/ge),r>=e.d.length-1&&(t=l<0?-l:l)<=xp)return u=r0(f,s,t,n),e.s<0?new f(1).div(u):le(u,n,i);if(a=s.s,a<0){if(r<e.d.length-1)return new f(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,l),r=t==0||!isFinite(t)?_t(l*(Math.log("0."+Ct(s.d))/Math.LN10+s.e+1)):new f(t+"").e,r>f.maxE+1||r<f.minE-1?new f(r>0?a/0:0):(De=!1,f.rounding=s.s=1,t=Math.min(12,(r+"").length),u=La(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(La(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,f.rounding=i,le(u,n,i))},V.toPrecision=function(e,r){var t,n=this,u=n.constructor;return e===void 0?t=hr(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=hr(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=hr(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=hr(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 zu(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]+=Ia.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/Wu(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,f=n.length;for(n=n.slice();f--;)a=n[f]*u+s,n[f]=a%i|0,s=a/i|0;return s&&n.unshift(s),n}function r(n,u,i,a){var s,f;if(i!=a)f=i>a?1:-1;else for(s=f=0;s<i;s++)if(n[s]!=u[s]){f=n[s]>u[s]?1:-1;break}return f}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,f){var l,c,p,o,d,m,h,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(f?(d=1,c=n.e-u.e):(f=ir,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):s?E=i+(n.e-u.e)+1:E=i,E<0)w.push(1),m=!0;else{if(E=E/d+2|0,p=0,T==1){for(o=0,I=I[0],E++;(p<F||o)&&E--;p++)A=o*f+(N[p]||0),w[p]=A/I|0,o=A%I|0;m=o||p<F}else{for(o=f/(I[0]+1)|0,o>1&&(I=e(I,o,f),N=e(N,o,f),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]>=f/2&&++x;do o=0,l=r(I,v,T,D),l<0?(y=v[0],T!=D&&(y=y*f+(v[1]||0)),o=y/x|0,o>1?(o>=f&&(o=f-1),h=e(I,o,f),b=h.length,D=v.length,l=r(h,v,b,D),l==1&&(o--,t(h,T<b?_:I,b,f))):(o==0&&(l=o=1),h=I.slice()),b=h.length,b<D&&h.unshift(0),t(v,h,D,f),l==-1&&(D=v.length,l=r(I,v,T,D),l<1&&(o++,t(v,T<D?_:I,D,f))),D=v.length):l===0&&(o++,v=[0]),w[p++]=o,l&&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,Qc=m;else{for(p=1,o=w[0];o>=10;o/=10)p++;g.e=p+c*d-1,le(g,s?i+g.e+1:i,a,m)}return g}}();function le(e,r,t,n){var u,i,a,s,f,l,c,p,o,d=e.constructor;e:if(r!=null){if(p=e.d,!p)return e;for(u=1,s=p[0];s>=10;s/=10)u++;if(i=r-u,i<0)i+=ge,a=r,c=p[o=0],f=c/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);c=f=0,u=1,i%=ge,a=i-ge+1}else break e;else{for(c=s=p[o],u=1;s>=10;s/=10)u++;i%=ge,a=i-ge+u,f=a<0?0:c/vt(10,u-a-1)%10|0}if(n=n||r<0||p[o+1]!==void 0||(a<0?c:c%vt(10,u-a-1)),l=t<4?(f||n)&&(t==0||t==(e.s<0?3:2)):f>5||f==5&&(t==4||n||t==6&&(i>0?a>0?c/vt(10,u-a):0:p[o-1])%10&1||t==(e.s<0?8:7)),r<1||!p[0])return p.length=0,l?(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?(c/vt(10,u-a)%vt(10,a)|0)*s:0),l)for(;;)if(o==0){for(i=1,a=p[0];a>=10;a/=10)i++;for(a=p[0]+=s,s=1;a>=10;a/=10)s++;i!=s&&(e.e++,p[0]==ir&&(p[0]=1));break}else{if(p[o]+=s,p[o]!=ir)break;p[o--]=0,s=1}for(i=p.length;p[--i]===0;)p.pop()}return De&&(e.e>d.maxE?(e.d=null,e.e=NaN):e.e<d.minE&&(e.e=0,e.d=[0])),e}function hr(e,r,t){if(!e.isFinite())return i0(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 Hu(e,r){var t=e[0];for(r*=ge;t>=10;t/=10)r++;return r}function Uu(e,r,t){if(r>Ap)throw De=!0,t&&(e.precision=t),Error(Zc);return le(new e(qu),r,1,!0)}function pr(e,r,t){if(r>ka)throw Error(Zc);return le(new e($u),r,t,!0)}function t0(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 r0(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 n0(e){return e.d[e.d.length-1]&1}function u0(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 La(e,r){var t,n,u,i,a,s,f,l=0,c=0,p=0,o=e.constructor,d=o.rounding,m=o.precision;if(!e.d||!e.d[0]||e.e>17)return new o(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(r==null?(De=!1,f=m):f=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,f+=n,t=i=a=new o(1),o.precision=f;;){if(i=le(i.times(e),f,1),t=t.times(++c),s=a.plus(Xe(i,t,f,1)),Ct(s.d).slice(0,f)===Ct(a.d).slice(0,f)){for(u=p;u--;)a=le(a.times(a),f,1);if(r==null)if(l<3&&Vn(a.d,f-n,d,l))o.precision=f+=10,t=i=s=new o(1),c=0,l++;else return le(a,o.precision=m,d,De=!0);else return o.precision=m,a}a=s}}function Lr(e,r){var t,n,u,i,a,s,f,l,c,p,o,d=1,m=10,h=e,b=h.d,g=h.constructor,w=g.rounding,v=g.precision;if(h.s<0||!b||!b[0]||!h.e&&b[0]==1&&b.length==1)return new g(b&&!b[0]?-1/0:h.s!=1?NaN:b?0:h);if(r==null?(De=!1,c=v):c=r,g.precision=c+=m,t=Ct(b),n=t.charAt(0),Math.abs(i=h.e)<15e14){for(;n<7&&n!=1||n==1&&t.charAt(1)>3;)h=h.times(e),t=Ct(h.d),n=t.charAt(0),d++;i=h.e,n>1?(h=new g("0."+t),i++):h=new g(n+"."+t.slice(1))}else return l=Uu(g,c+2,v).times(i+""),h=Lr(new g(n+"."+t.slice(1)),c-m).plus(l),g.precision=v,r==null?le(h,v,w,De=!0):h;for(p=h,f=a=h=Xe(h.minus(1),h.plus(1),c,1),o=le(h.times(h),c,1),u=3;;){if(a=le(a.times(o),c,1),l=f.plus(Xe(a,new g(u),c,1)),Ct(l.d).slice(0,c)===Ct(f.d).slice(0,c))if(f=f.times(2),i!==0&&(f=f.plus(Uu(g,c+2,v).times(i+""))),f=Xe(f,new g(d),c,1),r==null)if(Vn(f.d,c-m,w,s))g.precision=c+=m,l=a=h=Xe(p.minus(1),p.plus(1),c,1),o=le(h.times(h),c,1),u=s=1;else return le(f,g.precision=v,w,De=!0);else return g.precision=v,f;f=l,u+=2}}function i0(e){return String(e.s*e.s/0)}function Vu(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,s,f,l,c;if(r.indexOf("_")>-1){if(r=r.replace(/(\d)_(?=\d)/g,"$1"),e0.test(r))return Vu(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?(f=+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=r0(n,new n(t),i,i*2)),l=zu(r,t,ir),c=l.length-1,i=c;l[i]===0;--i)l.pop();return i<0?new n(e.s*0):(e.e=Hu(l,c),e.d=l,De=!1,a&&(e=Xe(e,u,s*4)),f&&(e=e.times(Math.abs(f)<54?vt(2,f):gn.pow(2,f))),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/Wu(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,f,l=e.precision,c=Math.ceil(l/ge);for(De=!1,f=t.times(t),s=new e(n);;){if(a=Xe(s.times(f),new e(r++*r++),l,1),s=u?n.plus(a):n.minus(a),n=Xe(a.times(f),new e(r++*r++),l,1),a=s.plus(n),a.d[c]!==void 0){for(i=c;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=c+1,a}function Wu(e,r){for(var t=e;--r;)t*=e;return t}function a0(e,r){var t,n=r.s<0,u=pr(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=n0(t)?n?2:3:n?4:1,r;Cr=n0(t)?n?1:4:n?3:2}return r.minus(u).abs()}function qa(e,r,t,n){var u,i,a,s,f,l,c,p,o,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=i0(e);else{for(c=hr(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(".",""),o=new d(1),o.e=c.length-a,o.d=zu(hr(o),10,u),o.e=o.d.length),p=zu(c,10,u),i=f=p.length;p[--f]==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,o,t,n,0,u),p=e.d,i=e.e,l=Qc),a=p[t],s=u/2,l=l||p[t+1]!==void 0,l=n<4?(a!==void 0||l)&&(n===0||n===(e.s<0?3:2)):a>s||a===s&&(n===4||l||n===6&&p[t-1]&1||n===(e.s<0?8:7)),p.length=t,l)for(;++p[--t]>u-1;)p[t]=0,t||(++i,p.unshift(1));for(f=p.length;!p[f-1];--f);for(a=0,c="";a<f;a++)c+=Ia.charAt(p[a]);if(m){if(f>1)if(r==16||r==8){for(a=r==16?4:3,--f;f%a;f++)c+="0";for(p=zu(c,u,r),f=p.length;!p[f-1];--f);for(a=1,c="1.";a<f;a++)c+=Ia.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>f)for(i-=f;i--;)c+="0";else i<f&&(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=pr(this,i,1).times(r.s>0?.25:.75),t.s=e.s):!r.d||e.isZero()?(t=r.s<0?pr(this,n,u):new this(0),t.s=e.s):!e.d||r.isZero()?(t=pr(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=pr(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 le(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(ju+"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]=Ra[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]=Ra[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(Jc);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 o0(e){var r,t,n;function u(i){var a,s,f,l=this;if(!(l instanceof u))return new u(i);if(l.constructor=u,c0(i)){l.s=i.s,De?!i.d||i.e>u.maxE?(l.e=NaN,l.d=null):i.e<u.minE?(l.e=0,l.d=[0]):(l.e=i.e,l.d=i.d.slice()):(l.e=i.e,l.d=i.d?i.d.slice():i.d);return}if(f=typeof i,f==="number"){if(i===0){l.s=1/i<0?-1:1,l.e=0,l.d=[0];return}if(i<0?(i=-i,l.s=-1):l.s=1,i===~~i&&i<1e7){for(a=0,s=i;s>=10;s/=10)a++;De?a>u.maxE?(l.e=NaN,l.d=null):a<u.minE?(l.e=0,l.d=[0]):(l.e=a,l.d=[i]):(l.e=a,l.d=[i]);return}if(i*0!==0){i||(l.s=NaN),l.e=NaN,l.d=null;return}return Vu(l,i.toString())}if(f==="string")return(s=i.charCodeAt(0))===45?(i=i.slice(1),l.s=-1):(s===43&&(i=i.slice(1)),l.s=1),e0.test(i)?Vu(l,i):Tp(l,i);if(f==="bigint")return i<0?(i=-i,l.s=-1):l.s=1,Vu(l,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=o0,u.isDecimal=c0,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=sm,u.sub=om,u.sum=cm,u.tan=lm,u.tanh=fm,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 le(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 c0(e){return e instanceof gn||e&&e.toStringTag===Kc||!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 u0(this,arguments,-1)}function Jp(){return u0(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),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(Jc);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 nm(e){return le(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 sm(e){return new this(e).sqrt()}function om(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,le(t,this.precision,this.rounding)}function lm(e){return new this(e).tan()}function fm(e){return new this(e).tanh()}function dm(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=o0(Ra);qu=new gn(qu),$u=new gn($u);var hm="BigNumber",pm=["?on","config"],mm=Be(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)},$a=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 ja(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},en=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 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=$a(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,f=t.re*s+t.im;return new $((this.re*s+this.im)/f,(this.im*s-this.re)/f)}else{const s=t.im/t.re,f=t.im*s+t.re;return new $((this.re+this.im*s)/f,(this.im-this.re*s)/f)}},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=ja(this.re,this.im);let s=Math.exp(t.re*a-t.im*i),f=t.im*a+t.re*i;return new $(s*Math.cos(f),s*Math.sin(f))},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=$a(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 $(ja(e,r),Math.atan2(r,e))},abs:function(){return $a(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=ja(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 ym="Complex",vm=[],wm=Be(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=Ba(this.re,e),i=Ba(this.im,e),a=et(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(et(t)){if($c(n)&&n.hasBase("ANGLE")&&(n=n.toNumber("rad")),et(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),za=BigInt(5),Rt=BigInt(10),Dm=2e3,ee={s:Ee,n:fe,d:Ee};function Tr(e,r){try{e=BigInt(e)}catch{throw qr()}return e*r}function ar(e){return typeof e=="bigint"?e:Math.floor(e)}function rt(e,r){if(r===fe)throw Ha();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=za-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 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,s=1,f=1,l=1,c=1e7;for(e>=1&&(i=10**Math.floor(1+Math.log10(e)),e/=i);s<=c&&l<=c;){let p=(a+f)/(s+l);if(e===p){s+l<=c?(t=a+f,n=s+l):l>s?(t=f,n=l):(t=a,n=s);break}else e>p?(a+=f,s+=l):(f+=a,l+=s),s>c?(t=f,n=l):(t=a,n=s)}t=BigInt(t)*BigInt(i),n=BigInt(n)}}else if(typeof e=="string"){let i=0,a=fe,s=fe,f=fe,l=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?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),l=Rt**BigInt(p[i].length),i++),(p[i]==="("&&p[i+2]===")"||p[i]==="'"&&p[i+2]==="'")&&(f=Tr(p[i+1],u),c=Rt**BigInt(p[i+1].length)-Ee,i+=3)):p[i+1]==="/"||p[i+1]===":"?(s=Tr(p[i],u),l=Tr(p[i+2],Ee),i+=3):p[i+3]==="/"&&p[i+1]===" "&&(a=Tr(p[i],u),s=Tr(p[i+2],u),l=Tr(p[i+4],Ee),i+=5),p.length<=i)n=l*c,u=t=f+n*a+c*s;else throw qr()}else if(typeof e=="bigint")t=e,u=e,n=Ee;else throw qr();if(n===fe)throw Ha();ee.s=u<fe?-Ee:Ee,ee.n=t<fe?-t:t,ee.d=n<fe?-n:n};function Em(e,r,t){let n=Ee;for(;r>fe;e=e*e%t,r>>=Ee)r&Ee&&(n=n*e%t);return n}function xm(e,r){for(;r%Wn===fe;r/=Wn);for(;r%za===fe;r/=za);if(r===Ee)return fe;let t=Rt%r,n=1;for(;t!==Ee;n++)if(t=t*Rt%r,n>Dm)return fe;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 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 rt(ee.s*ee.n,ee.d)}var Ha=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:fe,d:Ee,abs:function(){return rt(this.n,this.d)},neg:function(){return rt(-this.s*this.n,this.d)},add:function(e,r){return Et(e,r),rt(this.s*this.n*ee.d+ee.s*this.d*ee.n,this.d*ee.d)},sub:function(e,r){return Et(e,r),rt(this.s*this.n*ee.d-ee.s*this.d*ee.n,this.d*ee.d)},mul:function(e,r){return Et(e,r),rt(this.s*ee.s*this.n*ee.n,this.d*ee.d)},div:function(e,r){return Et(e,r),rt(this.s*ee.s*this.n*ee.d,this.d*ee.n)},clone:function(){return rt(this.s*this.n,this.d)},mod:function(e,r){if(e===void 0)return rt(this.s*this.n%this.d,Ee);if(Et(e,r),fe===ee.n*this.d)throw Ha();return rt(this.s*(ee.d*this.n)%(ee.n*this.d),ee.d*this.d)},gcd:function(e,r){return Et(e,r),rt(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?rt(fe,Ee):rt(ee.n*this.n,tn(ee.n,this.n)*tn(ee.d,this.d))},inverse:function(){return rt(this.s*this.d,this.n)},pow:function(e,r){if(Et(e,r),ee.d===Ee)return ee.s<fe?rt((this.s*this.d)**ee.n,this.n**ee.n):rt((this.s*this.n)**ee.n,this.d**ee.n);if(this.s<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?rt(i,u):rt(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 l in u)n[l]=(n[l]||fe)-u[l];for(const l in a)i[l]=(i[l]||fe)-a[l];for(const l in n)l!=="1"&&(t[l]=!0);for(const l in i)l!=="1"&&(t[l]=!0);let s=null,f=null;for(const l in t){const c=n[l]||fe,p=i[l]||fe;if(c===fe){if(p!==fe)return null;continue}let o=p,d=c;const m=tn(o,d);if(o/=m,d/=m,s===null&&f===null)s=o,f=d;else if(o*f!==s*d)return null}return s!==null&&f!==null?rt(s,f):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),rt(ar(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),rt(ar(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),rt(ar(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=ar(t/n);return u+u>=n&&i++,rt(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<fe?"-":"";if(i+=ar(r/t),r%=t,r*=Rt,r&&(i+="."),n){for(let a=u;a--;)i+=ar(r/t),r%=t,r*=Rt;i+="(";for(let a=n;a--;)i+=ar(r/t),r%=t,r*=Rt;i+=")"}else for(let a=e;r&&a--;)i+=ar(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=ar(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=ar(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(ar(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=rt(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 Cm="Fraction",Tm=[],Sm=Be(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=Be(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 Ua(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}=Uc(r);switch(t){case"fixed":return Pm(e,n);case"exponential":return f0(e,n);case"engineering":return Mm(e,n);case"bin":return Ua(e,2,u);case"oct":return Ua(e,8,u);case"hex":return Ua(e,16,u);case"auto":{var i=d0(r==null?void 0:r.lowerExp,-3),a=d0(r==null?void 0:r.upperExp,5);if(e.isZero())return"0";var s,f=e.toSignificantDigits(n),l=f.e;return l>=i&&l<a?s=f.toFixed():s=f0(e,n),s.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 f0(e,r){return r!==void 0?e.toExponential(r-1):e.toExponential()}function Pm(e,r){return e.toFixed(r)}function d0(e,r){return et(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 Ba(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 m0(e,r);if(dr(e))return h0(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=>h0(n)+": "+kt(e[n],r));return"{"+t.join(", ")+"}"}return String(e)}function h0(e){for(var r=String(e),t="",n=0;n<r.length;){var u=r.charAt(n);t+=u in p0?p0[u]:u,n++}return'"'+t+'"'}var p0={'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"};function m0(e,r){if(Array.isArray(e)){for(var t="[",n=e.length,u=0;u<n;u++)u!==0&&(t+=", "),t+=m0(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 qe(e,r,t){if(!(this instanceof qe))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}qe.prototype=new RangeError,qe.prototype.constructor=RangeError,qe.prototype.name="DimensionError",qe.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 sr(e){for(var r=[];Array.isArray(e);)r.push(e.length),e=e[0];return r}function g0(e,r,t){var n,u=e.length;if(u!==r[t])throw new qe(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 qe(r.length-1,r.length,"<");g0(e[n],r,i)}}else for(n=0;n<u;n++)if(Array.isArray(e[n]))throw new qe(r.length+1,r.length,">")}function b0(e,r){var t=r.length===0;if(t){if(Array.isArray(e))throw new qe(e.length,0)}else g0(e,r,0)}function ot(e,r){if(e!==void 0){if(!et(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 Va(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(!et(u)||!gt(u)||u<0)throw new TypeError("Invalid size, must contain positive integers (size: "+kt(r)+")")}),(et(e)||wt(e))&&(e=[e]);var n=t!==void 0?t:0;return Wa(e,r,0,n),e}function Wa(e,r,t,n){var u,i,a=e.length,s=r[t],f=Math.min(a,s);if(e.length=s,t<r.length-1){var l=t+1;for(u=0;u<f;u++)i=e[u],Array.isArray(i)||(i=[i],e[u]=i),Wa(i,r,l,n);for(u=f;u<s;u++)i=[],e[u]=i,Wa(i,r,l,n)}else{for(u=0;u<f;u++)for(;Array.isArray(e[u]);)e[u]=e[u][0];for(u=f;u<s;u++)e[u]=n}}function y0(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 qe(0,n,"!=");r=Ya(r,n);var u=v0(r);if(n!==u)throw new qe(u,n,"!=");try{return Rm(t,r)}catch(i){throw i instanceof qe?new qe(u,n,"!="):i}}function Ya(e,r){var t=v0(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,f=r%t===0;if(s)if(f)n[i]=-r/t;else throw new Error("Could not replace wildcard, since "+r+" is no multiple of "+-t);return n}function v0(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,s=0;s<a;s++)n.push(t.slice(s*i,(s+1)*i));t=n}return t}function w0(e,r,t,n){var u=n||sr(e);if(t)for(var i=0;i<t;i++)e=[e],u.unshift(1);for(e=D0(e,r,0);u.length<r;)u.push(1);return e}function D0(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]=D0(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 Ga(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?Ga(i,r):r(i);if(t===void 0)t=s;else if(t!==s)return"mixed"}return t}function E0(e,r,t,n){if(n<t){if(e.length!==r.length)throw new qe(e.length,r.length);for(var u=[],i=0;i<e.length;i++)u[i]=E0(e[i],r[i],t,n+1);return u}else return e.concat(r)}function x0(){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 E0(t,n,r,0)},e[0]);throw new Error("Wrong number of arguments in function concat")}function A0(){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],f=n[a],l=0;l<f;l++){var c=u-f+l;s[l]>i[c]&&(i[c]=s[l])}for(var p=0;p<r.length;p++)C0(r[p],i);return i}function C0(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 Xa(e,r){var t=sr(e);if(Br(t,r))return e;C0(t,r);var n=A0(t,r),u=n.length,i=[...Array(u-t.length).fill(1),...t],a=qm(e);t.length<u&&(a=y0(a,i),t=sr(a));for(var s=0;s<u;s++)t[s]<n[s]&&(a=Lm(a,n[s],s),t=sr(a));return a}function Lm(e,r,t){return x0(...Array(r).fill(e),t)}function T0(e,r){if(!Array.isArray(e))throw new Error("Array expected");var t=sr(e);if(r.length!==t.length)throw new qe(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 S0(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 f=a.length,l=Array(f),c=0;c<f;c++)n[s]=c,l[c]=u(a[c],s+1);return l}else return r(a,n.slice(0,s),e)}function i(a){if(Array.isArray(a)){for(var s=a.length,f=Array(s),l=0;l<s;l++)f[l]=i(a[l]);return f}else return r(a)}}function qm(e){return jn([],e)}function Yu(e,r,t){if(Bu.isTypedFunction(e)){var n=(r.isMatrix?r.size():sr(r)).map(()=>0),u=r.isMatrix?r.get(n):T0(r,n),i=jm(e,u,n,r),a;if(r.isMatrix&&r.dataType!=="mixed"&&r.dataType!==void 0){var s=$m(e,i);a=s!==void 0?s:e}else a=e;return i>=1&&i<=3?function(){for(var f=arguments.length,l=new Array(f),c=0;c<f;c++)l[c]=arguments[c];return F0(a,l.slice(0,i),t,e.name)}:function(){for(var f=arguments.length,l=new Array(f),c=0;c<f;c++)l[c]=arguments[c];return F0(a,l,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(Bu.resolve(e,a)!==null)return i}}function F0(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(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 Hm="DenseMatrix",Um=["Matrix"],Vm=Be(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&&!dr(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,b0(this._data,this._size),this._datatype=p||c.datatype;else if(yt(c))this._data=l(c),this._size=sr(this._data),b0(this._data,this._size),this._datatype=p;else{if(c)throw new TypeError("Unsupported type of data ("+Kr(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 Ga(this._data,Kr)},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,o){switch(arguments.length){case 1:return n(this,c);case 2:case 3:return i(this,c,p,o);default:throw new SyntaxError("Wrong number of arguments")}},t.prototype.get=function(c){return T0(this._data,c)},t.prototype.set=function(c,p,o){if(!yt(c))throw new TypeError("Array expected");if(c.length<this._size.length)throw new qe(c.length,this._size.length,"<");var d,m,h,b=c.map(function(w){return w+1});f(this,b,o);var g=this._data;for(d=0,m=c.length-1;d<m;d++)h=c[d],ot(h,g.length),g=g[h];return h=c[c.length-1],ot(h,g.length),g[h]=p,this};function n(c,p){if(!Na(p))throw new TypeError("Invalid index");var o=p.isScalar();if(o)return c.get(p.min());var d=p.size();if(d.length!==c._size.length)throw new qe(d.length,c._size.length);for(var m=p.min(),h=p.max(),b=0,g=c._size.length;b<g;b++)ot(m[b],c._size[b]),ot(h[b],c._size[b]);return new t(u(c._data,p,d.length,0),c._datatype)}function u(c,p,o,d){var m=d===o-1,h=p.dimension(d);return m?h.map(function(b){return ot(b,c.length),c[b]}).valueOf():h.map(function(b){ot(b,c.length);var g=c[b];return u(g,p,o,d+1)}).valueOf()}function i(c,p,o,d){if(!p||p.isIndex!==!0)throw new TypeError("Invalid index");var m=p.size(),h=p.isScalar(),b;if(Wt(o)?(b=o.size(),o=o.valueOf()):b=sr(o),h){if(b.length!==0)throw new TypeError("Scalar expected");c.set(p.min(),o,d)}else{if(!Br(b,m))try{b.length===0?o=Xa([o],m):o=Xa(o,m),b=sr(o)}catch{}if(m.length<c._size.length)throw new qe(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++;o=w0(o,m.length,w,b)}if(!Br(m,b))throw new qe(m,b,">");var v=p.max().map(function(E){return E+1});f(c,v,d);var D=m.length,y=0;a(c._data,p,o,D,y)}return c}function a(c,p,o,d,m){var h=m===d-1,b=p.dimension(m);h?b.forEach(function(g,w){ot(g),c[g]=o[w[0]]}):b.forEach(function(g,w){ot(g),a(c[g],p,o[w[0]],d,m+1)})}t.prototype.resize=function(c,p,o){if(!Pu(c))throw new TypeError("Array or Matrix expected");var d=c.valueOf().map(h=>Array.isArray(h)&&h.length===1?h[0]:h),m=o?this.clone():this;return s(m,d,p)};function s(c,p,o){if(p.length===0){for(var d=c._data;yt(d);)d=d[0];return d}return c._size=p.slice(0),c._data=Va(c._data,c._size,o),c}t.prototype.reshape=function(c,p){var o=p?this.clone():this;o._data=y0(o._data,c);var d=o._size.reduce((m,h)=>m*h);return o._size=Ya(c,d),o};function f(c,p,o){for(var d=c._size.slice(0),m=!1;d.length<p.length;)d.push(0),m=!0;for(var h=0,b=p.length;h<b;h++)p[h]>d[h]&&(d[h]=p[h],m=!0);m&&s(c,d,o)}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,o=p.size(),d=o.length-1;if(d<0)return;if(d===0){for(var m=o[0],h=0;h<m;h++)c(p._data,h,[h]);return}var b=Array(o.length);function g(w,v){var D=o[v];if(v<d)for(var y=0;y<D;y++)b[v]=y,g(w[y],v+1);else for(var E=0;E<D;E++)b[v]=E,c(w,E,b.slice())}g(p._data,0)},t.prototype.map=function(c){var p=this,o=new t(p),d=Yu(c,p._data,"map");return o._forEach(function(m,h,b){m[h]=d(m[h],b,p)}),o},t.prototype.forEach=function(c){var p=this,o=Yu(c,p._data,"map");p._forEach(function(d,m,h){o(d[m],h,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 o=[],d=function*(h,b){if(b<c)for(var g=0;g<h.length;g++)o[b]=g,yield*d(h[g],b+1);else for(var w=0;w<h.length;w++)o[b]=w,yield{value:h[w],index:o.slice()}};yield*d(this._data,0)}},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 o=this._data;for(var d of o)c.push(new t([d],this._datatype));return c},t.prototype.columns=function(){var c=this,p=[],o=this.size();if(o.length!==2)throw new TypeError("Rows can only be returned for a 2D matrix.");for(var d=this._data,m=function(g){var w=d.map(v=>[v[g]]);p.push(new t(w,c._datatype))},h=0;h<o[1];h++)m(h);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()),!et(c)||!gt(c))throw new TypeError("The parameter k must be an integer number")}else c=0;for(var p=c>0?c:0,o=c<0?-c:0,d=this._size[0],m=this._size[1],h=Math.min(d-o,m-p),b=[],g=0;g<h;g++)b[g]=this._data[g+o][g+p];return new t({data:b,size:[h],datatype:this._datatype})},t.diagonal=function(c,p,o,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()),!et(A)||!gt(A)||A<1)throw new Error("Size values must be positive integers");return A}),o){if(wt(o)&&(o=o.toNumber()),!et(o)||!gt(o))throw new TypeError("The parameter k must be an integer number")}else o=0;var m=o>0?o:0,h=o<0?-o:0,b=c[0],g=c[1],w=Math.min(b-h,g-m),v;if(yt(p)){if(p.length!==w)throw new Error("Invalid value array length");v=function(C){return p[C]}}else if(Wt(p)){var D=p.size();if(D.length!==1||D[0]!==w)throw new Error("Invalid matrix length");v=function(C){return p.get([C])}}else v=function(){return p};d||(d=wt(v(0))?v(0).mul(0):0);var y=[];if(c.length>0){y=Va(y,c,d);for(var E=0;E<w;E++)y[E+h][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(!et(c)||!gt(c)||!et(p)||!gt(p))throw new Error("Row index must be positive integers");if(this._size.length!==2)throw new Error("Only two dimensional matrix is supported");return ot(c,this._size[0]),ot(p,this._size[0]),t._swapRows(c,p,this._data),this},t._swapRows=function(c,p,o){var d=o[c];o[c]=o[p],o[p]=d};function l(c){return Wt(c)?l(c.valueOf()):yt(c)?c.map(l):c}return t},{isClass:!0});function Yn(e,r,t){if(!t)return Wt(e)?e.map(u=>r(u)):S0(e,r,!0);var n=u=>u===0?u:r(u);return Wt(e)?e.map(u=>n(u)):S0(e,n,!0)}var _0="isInteger",Wm=["typed"],Ym=Be(_0,Wm,e=>{var{typed:r}=e;return r(_0,{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",O0="number, number";function N0(e,r){return e+r}N0.signature=O0;function M0(e,r){return e-r}M0.signature=O0;function P0(e){return-e}P0.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(Vc(e,r))}function Qa(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=Be("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)})}}),Gu="equalScalar",Zm=["typed","config"],Jm=Be(Gu,Zm,e=>{var{typed:r,config:t}=e,n=Qm({typed:r});return r(Gu,{"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)||Qa(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)});Be(Gu,["typed","config"],e=>{var{typed:r,config:t}=e;return r(Gu,{"number, number":function(u,i){return hn(u,i,t.relTol,t.absTol)}})});var Km="SparseMatrix",eg=["typed","equalScalar","Matrix"],tg=Be(Km,eg,e=>{var{typed:r,equalScalar:t,Matrix:n}=e;function u(h,b){if(!(this instanceof u))throw new SyntaxError("Constructor must be called with the new operator");if(b&&!dr(b))throw new Error("Invalid datatype: "+b);if(Wt(h))i(this,h,b);else if(h&&yt(h.index)&&yt(h.ptr)&&yt(h.size))this._values=h.values,this._index=h.index,this._ptr=h.ptr,this._size=h.size,this._datatype=b||h.datatype;else if(yt(h))a(this,h,b);else{if(h)throw new TypeError("Unsupported type of data ("+Kr(h)+")");this._values=[],this._index=[],this._ptr=[0],this._size=[0,0],this._datatype=b}}function i(h,b,g){b.type==="SparseMatrix"?(h._values=b._values?Dt(b._values):void 0,h._index=Dt(b._index),h._ptr=Dt(b._ptr),h._size=Dt(b._size),h._datatype=g||b._datatype):a(h,b.valueOf(),g||b._datatype)}function a(h,b,g){h._values=[],h._index=[],h._ptr=[],h._datatype=g;var w=b.length,v=0,D=t,y=0;if(dr(g)&&(D=r.find(t,[g,g])||t,y=r.convert(0,g)),w>0){var E=0;do{h._ptr.push(h._index.length);for(var A=0;A<w;A++){var C=b[A];if(yt(C)){if(E===0&&v<C.length&&(v=C.length),E<C.length){var F=C[E];D(F,y)||(h._values.push(F),h._index.push(A))}}else E===0&&v<1&&(v=1),D(C,y)||(h._values.push(C),h._index.push(A))}E++}while(E<v)}h._ptr.push(h._index.length),h._size=[w,v]}u.prototype=new n,u.prototype.createSparseMatrix=function(h,b){return new u(h,b)},Object.defineProperty(u,"name",{value:"SparseMatrix"}),u.prototype.constructor=u,u.prototype.type="SparseMatrix",u.prototype.isSparseMatrix=!0,u.prototype.getDataType=function(){return Ga(this._values,Kr)},u.prototype.storage=function(){return"sparse"},u.prototype.datatype=function(){return this._datatype},u.prototype.create=function(h,b){return new u(h,b)},u.prototype.density=function(){var h=this._size[0],b=this._size[1];return h!==0&&b!==0?this._index.length/(h*b):0},u.prototype.subset=function(h,b,g){if(!this._values)throw new Error("Cannot invoke subset on a Pattern only matrix");switch(arguments.length){case 1:return s(this,h);case 2:case 3:return f(this,h,b,g);default:throw new SyntaxError("Wrong number of arguments")}};function s(h,b){if(!Na(b))throw new TypeError("Invalid index");var g=b.isScalar();if(g)return h.get(b.min());var w=b.size();if(w.length!==h._size.length)throw new qe(w.length,h._size.length);var v,D,y,E,A=b.min(),C=b.max();for(v=0,D=h._size.length;v<D;v++)ot(A[v],h._size[v]),ot(C[v],h._size[v]);var F=h._values,x=h._index,T=h._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:h._datatype})}function f(h,b,g,w){if(!b||b.isIndex!==!0)throw new TypeError("Invalid index");var v=b.size(),D=b.isScalar(),y;if(Wt(g)?(y=g.size(),g=g.toArray()):y=sr(g),D){if(y.length!==0)throw new TypeError("Scalar expected");h.set(b.min(),g,w)}else{if(v.length!==1&&v.length!==2)throw new qe(v.length,h._size.length,"<");if(y.length<v.length){for(var E=0,A=0;v[E]===1&&y[E]===1;)E++;for(;v[E]===1;)A++,E++;g=w0(g,v.length,A,y)}if(!Br(v,y))throw new qe(v,y,">");if(v.length===1){var C=b.dimension(0);C.forEach(function(T,_){ot(T),h.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),h.set([T,P],g[_[0]][B[0]],w)})})}}return h}u.prototype.get=function(h){if(!yt(h))throw new TypeError("Array expected");if(h.length!==this._size.length)throw new qe(h.length,this._size.length);if(!this._values)throw new Error("Cannot invoke get on a Pattern only matrix");var b=h[0],g=h[1];ot(b,this._size[0]),ot(g,this._size[1]);var w=l(b,this._ptr[g],this._ptr[g+1],this._index);return w<this._ptr[g+1]&&this._index[w]===b?this._values[w]:0},u.prototype.set=function(h,b,g){if(!yt(h))throw new TypeError("Array expected");if(h.length!==this._size.length)throw new qe(h.length,this._size.length);if(!this._values)throw new Error("Cannot invoke set on a Pattern only matrix");var w=h[0],v=h[1],D=this._size[0],y=this._size[1],E=t,A=0;dr(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=l(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 l(h,b,g,w){if(g-b===0)return g;for(var v=b;v<g;v++)if(w[v]===h)return v;return b}function c(h,b,g,w,v){g.splice(h,1),w.splice(h,1);for(var D=b+1;D<v.length;D++)v[D]--}function p(h,b,g,w,v,D,y){v.splice(h,0,w),D.splice(h,0,b);for(var E=g+1;E<y.length;E++)y[E]++}u.prototype.resize=function(h,b,g){if(!Pu(h))throw new TypeError("Array or Matrix expected");var w=h.valueOf().map(D=>Array.isArray(D)&&D.length===1?D[0]:D);if(w.length!==2)throw new Error("Only two dimensions matrix are supported");w.forEach(function(D){if(!et(D)||!gt(D)||D<0)throw new TypeError("Invalid size, must contain positive integers (size: "+kt(w)+")")});var v=g?this.clone():this;return o(v,w[0],w[1],b)};function o(h,b,g,w){var v=w||0,D=t,y=0;dr(h._datatype)&&(D=r.find(t,[h._datatype,h._datatype])||t,y=r.convert(0,h._datatype),v=r.convert(v,h._datatype));var E=!D(v,y),A=h._size[0],C=h._size[1],F,x,T;if(g>C){for(x=C;x<g;x++)if(h._ptr[x]=h._values.length,E)for(F=0;F<A;F++)h._values.push(v),h._index.push(F);h._ptr[g]=h._values.length}else g<C&&(h._ptr.splice(g+1,C-g),h._values.splice(h._ptr[g],h._values.length),h._index.splice(h._ptr[g],h._index.length));if(C=g,b>A){if(E){var _=0;for(x=0;x<C;x++){h._ptr[x]=h._ptr[x]+_,T=h._ptr[x+1]+_;var P=0;for(F=A;F<b;F++,P++)h._values.splice(T+P,0,v),h._index.splice(T+P,0,F),_++}h._ptr[C]=h._values.length}}else if(b<A){var B=0;for(x=0;x<C;x++){h._ptr[x]=h._ptr[x]-B;var N=h._ptr[x],I=h._ptr[x+1]-B;for(T=N;T<I;T++)F=h._index[T],F>b-1&&(h._values.splice(T,1),h._index.splice(T,1),B++)}h._ptr[x]=h._values.length}return h._size[0]=b,h._size[1]=g,h}u.prototype.reshape=function(h,b){if(!yt(h))throw new TypeError("Array expected");if(h.length!==2)throw new Error("Sparse matrices can only be reshaped in two dimensions");h.forEach(function(ie){if(!et(ie)||!gt(ie)||ie<=-2||ie===0)throw new TypeError("Invalid size, must contain positive integers or -1 (size: "+kt(h)+")")});var g=this._size[0]*this._size[1];h=Ya(h,g);var w=h[0]*h[1];if(g!==w)throw new Error("Reshaping sparse matrix will result in the wrong number of elements");var v=b?this.clone():this;if(this._size[0]===h[0]&&this._size[1]===h[1])return v;for(var D=[],y=0;y<v._ptr.length;y++)for(var E=0;E<v._ptr[y+1]-v._ptr[y];E++)D.push(y);for(var A=v._values.slice(),C=v._index.slice(),F=0;F<v._index.length;F++){var x=C[F],T=D[F],_=x*v._size[1]+T;D[F]=_%h[1],C[F]=Math.floor(_/h[1])}v._values.length=0,v._index.length=0,v._ptr.length=h[1]+1,v._size=h.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=l(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 h=new u({values:this._values?Dt(this._values):void 0,index:Dt(this._index),ptr:Dt(this._ptr),size:Dt(this._size),datatype:this._datatype});return h},u.prototype.size=function(){return this._size.slice(0)},u.prototype.map=function(h,b){if(!this._values)throw new Error("Cannot invoke map on a Pattern only matrix");var g=this,w=this._size[0],v=this._size[1],D=Yu(h,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(h,b,g,w,v,D,y){var E=[],A=[],C=[],F=t,x=0;dr(h._datatype)&&(F=r.find(t,[h._datatype,h._datatype])||t,x=r.convert(0,h._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=h._ptr[_],B=h._ptr[_+1];if(y)for(var N=P;N<B;N++){var I=h._index[N];I>=b&&I<=g&&T(h._values[N],I-b,_-w)}else{for(var J={},re=P;re<B;re++){var ie=h._index[re];J[ie]=h._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(h,b){if(!this._values)throw new Error("Cannot invoke forEach on a Pattern only matrix");for(var g=this,w=this._size[0],v=this._size[1],D=Yu(h,g,"forEach"),y=0;y<v;y++){var E=this._ptr[y],A=this._ptr[y+1];if(b)for(var C=E;C<A;C++){var 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 h=this._size[1],b=0;b<h;b++)for(var g=this._ptr[b],w=this._ptr[b+1],v=g;v<w;v++){var D=this._index[v];yield{value:this._values[v],index:[D,b]}}},u.prototype.toArray=function(){return m(this._values,this._index,this._ptr,this._size,!0)},u.prototype.valueOf=function(){return m(this._values,this._index,this._ptr,this._size,!1)};function m(h,b,g,w,v){var D=w[0],y=w[1],E=[],A,C;for(A=0;A<D;A++)for(E[A]=[],C=0;C<y;C++)E[A][C]=0;for(C=0;C<y;C++)for(var F=g[C],x=g[C+1],T=F;T<x;T++)A=b[T],E[A][C]=h?v?Dt(h[T]):h[T]:1;return E}return u.prototype.format=function(h){for(var b=this._size[0],g=this._size[1],w=this.density(),v="Sparse Matrix ["+kt(b,h)+" x "+kt(g,h)+"] density: "+kt(w,h)+`
87
+ */var pn=9e15,Ir=1e9,Ia="0123456789abcdef",qu="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",$u="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Ra={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-pn,maxE:pn,crypto:!1},Qc,Cr,De=!0,ju="[DecimalError] ",Rr=ju+"Invalid argument: ",Zc=ju+"Precision limit exceeded",Jc=ju+"crypto unavailable",Kc="[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,e0=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ir=1e7,ge=7,xp=9007199254740991,Ap=qu.length-1,ka=$u.length-1,V={toStringTag:Kc};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,d=i.s,l=e.s;if(!a||!s)return!d||!l?NaN:d!==l?d:a===s?0:!a^d<0?1:-1;if(!a[0]||!s[0])return a[0]?d:s[0]?-l:0;if(d!==l)return d;if(i.e!==e.e)return i.e>e.e^d<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]^d<0?1:-1;return n===u?0:n>u^d<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,a0(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,d,l,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(s=n,d=s.times(s).times(s),l=d.plus(c),n=Xe(l.plus(c).times(s),l.plus(d),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(c))){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(c));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/Wu(4,e)).toString()):(e=16,r="2.3283064365386962890625e-10"),i=mn(a,1,i.times(r),new a(1),!0);for(var d,l=e,c=new a(8);l--;)d=i.times(i),i=s.minus(d.times(c.minus(d.times(c))));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/Wu(5,e)),u=mn(i,2,u,u,!0);for(var a,s=new i(5),d=new i(16),l=new i(20);e--;)a=u.times(u),u=u.times(s.plus(a.times(d.times(a).plus(l))))}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()?pr(r,n,u):new r(0):new r(NaN):e.isZero()?pr(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=pr(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,d,l=this,c=l.constructor,p=c.precision,o=c.rounding;if(l.isFinite()){if(l.isZero())return new c(l);if(l.abs().eq(1)&&p+4<=ka)return a=pr(c,p+4,o).times(.25),a.s=l.s,a}else{if(!l.s)return new c(NaN);if(p+4<=ka)return a=pr(c,p+4,o).times(.5),a.s=l.s,a}for(c.precision=s=p+10,c.rounding=1,t=Math.min(28,s/ge+2|0),e=t;e;--e)l=l.div(l.times(l).plus(1).sqrt().plus(1));for(De=!1,r=Math.ceil(s/ge),n=1,d=l.times(l),a=new c(l),u=l;e!==-1;)if(u=u.times(d),i=a.minus(u.div(n+=2)),u=u.times(d),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,c.precision=p,c.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,d,l=this,c=l.constructor,p=c.precision,o=c.rounding,f=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=l.d,l.s<0||!t||!t[0]||l.eq(1))return new c(t&&!t[0]?-1/0:l.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(l,s),n=r?Uu(c,s+10):Lr(e,s),d=Xe(a,n,s,1),Vn(d.d,u=p,o))do if(s+=10,a=Lr(l,s),n=r?Uu(c,s+10):Lr(e,s),d=Xe(a,n,s,1),!i){+Ct(d.d).slice(u+1,u+15)+1==1e14&&(d=le(d,p+1,0));break}while(Vn(d.d,u+=10,o));return De=!0,le(d,p,o)},V.minus=V.sub=function(e){var r,t,n,u,i,a,s,d,l,c,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(l=f.d,o=e.d,s=m.precision,d=m.rounding,!l[0]||!o[0]){if(o[0])e.s=-e.s;else if(l[0])e=new m(f);else return new m(d===3?-0:0);return De?le(e,s,d):e}if(t=_t(e.e/ge),c=_t(f.e/ge),l=l.slice(),i=c-t,i){for(p=i<0,p?(r=l,i=-i,a=o.length):(r=o,t=c,a=l.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=l.length,a=o.length,p=n<a,p&&(a=n),n=0;n<a;n++)if(l[n]!=o[n]){p=l[n]<o[n];break}i=0}for(p&&(r=l,l=o,o=r,e.s=-e.s),a=l.length,n=o.length-a;n>0;--n)l[a++]=0;for(n=o.length;n>i;){if(l[--n]<o[n]){for(u=n;u&&l[--u]===0;)l[u]=ir-1;--l[u],l[n]+=ir}l[n]-=o[n]}for(;l[--a]===0;)l.pop();for(;l[0]===0;l.shift())--t;return l[0]?(e.d=l,e.e=Hu(l,t),De?le(e,s,d):e):new m(d===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 La(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,d,l,c,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(l=p.d,c=e.d,s=o.precision,d=o.rounding,!l[0]||!c[0])return c[0]||(e=new o(p)),De?le(e,s,d):e;if(i=_t(p.e/ge),n=_t(e.e/ge),l=l.slice(),u=i-n,u){for(u<0?(t=l,u=-u,a=c.length):(t=c,n=i,a=l.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=l.length,u=c.length,a-u<0&&(u=a,t=c,c=l,l=t),r=0;u;)r=(l[--u]=l[u]+c[u]+r)/ir|0,l[u]%=ir;for(r&&(l.unshift(r),++n),a=l.length;l[--a]==0;)l.pop();return e.d=l,e.e=Hu(l,n),De?le(e,s,d):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=t0(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=Sp(n,a0(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,d=a.e,l=a.s,c=a.constructor;if(l!==1||!s||!s[0])return new c(!l||l<0&&(!s||s[0])?NaN:s?a:1/0);for(De=!1,l=Math.sqrt(+a),l==0||l==1/0?(r=Ct(s),(r.length+d)%2==0&&(r+="0"),l=Math.sqrt(r),d=_t((d+1)/2)-(d<0||d%2),l==1/0?r="5e"+d:(r=l.toExponential(),r=r.slice(0,r.indexOf("e")+1)+d),n=new c(r)):n=new c(l.toString()),t=(d=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&&(le(i,d+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,d+1,1),e=!n.times(n).eq(a));break}return De=!0,le(n,d,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,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,d,l,c=this,p=c.constructor,o=c.d,f=(e=new p(e)).d;if(e.s*=c.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(c.e/ge)+_t(e.e/ge),d=o.length,l=f.length,d<l&&(i=o,o=f,f=i,a=d,d=l,l=a),i=[],a=d+l,n=a;n--;)i.push(0);for(n=l;--n>=0;){for(r=0,u=d+n;u>n;)s=i[u]+f[n]*o[u-n-1]+r,i[u--]=s%ir|0,r=s/ir|0;i[u]=(i[u]+r)%ir|0}for(;!i[--a];)i.pop();return r?++t:i.shift(),e.d=i,e.e=Hu(i,t),De?le(e,p.precision,p.rounding):e},V.toBinary=function(e,r){return qa(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=hr(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=hr(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=hr(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=hr(n,!1,e+n.e+1)),u.isNeg()&&!u.isZero()?"-"+t:t},V.toFraction=function(e){var r,t,n,u,i,a,s,d,l,c,p,o,f=this,m=f.d,h=f.constructor;if(!m)return new h(f);if(l=t=new h(1),n=d=new h(0),r=new h(n),i=r.e=t0(m)-f.e-1,a=i%ge,r.d[0]=vt(10,a<0?ge+a:a),e==null)e=i>0?r:l;else{if(s=new h(e),!s.isInt()||s.lt(l))throw Error(Rr+s);e=s.gt(r)?i>0?r:l:s}for(De=!1,s=new h(Ct(m)),c=h.precision,h.precision=i=m.length*ge*2;p=Xe(s,r,0,1,1),u=t.plus(p.times(n)),u.cmp(e)!=1;)t=n,n=u,u=l,l=d.plus(p.times(u)),d=u,u=r,r=s.minus(p.times(u)),s=u;return u=Xe(e.minus(t),n,0,1,1),d=d.plus(u.times(l)),t=t.plus(u.times(n)),d.s=l.s=f.s,o=Xe(l,n,i,1).minus(f).abs().cmp(Xe(d,t,i,1).minus(f).abs())<1?[l,n]:[d,t],h.precision=c,De=!0,o},V.toHexadecimal=V.toHex=function(e,r){return qa(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 qa(this,8,e,r)},V.toPower=V.pow=function(e){var r,t,n,u,i,a,s=this,d=s.constructor,l=+(e=new d(e));if(!s.d||!e.d||!s.d[0]||!e.d[0])return new d(vt(+s,l));if(s=new d(s),s.eq(1))return s;if(n=d.precision,i=d.rounding,e.eq(1))return le(s,n,i);if(r=_t(e.e/ge),r>=e.d.length-1&&(t=l<0?-l:l)<=xp)return u=r0(d,s,t,n),e.s<0?new d(1).div(u):le(u,n,i);if(a=s.s,a<0){if(r<e.d.length-1)return new d(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,l),r=t==0||!isFinite(t)?_t(l*(Math.log("0."+Ct(s.d))/Math.LN10+s.e+1)):new d(t+"").e,r>d.maxE+1||r<d.minE-1?new d(r>0?a/0:0):(De=!1,d.rounding=s.s=1,t=Math.min(12,(r+"").length),u=La(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(La(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,d.rounding=i,le(u,n,i))},V.toPrecision=function(e,r){var t,n=this,u=n.constructor;return e===void 0?t=hr(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=hr(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=hr(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=hr(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 zu(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]+=Ia.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/Wu(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,d=n.length;for(n=n.slice();d--;)a=n[d]*u+s,n[d]=a%i|0,s=a/i|0;return s&&n.unshift(s),n}function r(n,u,i,a){var s,d;if(i!=a)d=i>a?1:-1;else for(s=d=0;s<i;s++)if(n[s]!=u[s]){d=n[s]>u[s]?1:-1;break}return d}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,d){var l,c,p,o,f,m,h,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(d?(f=1,c=n.e-u.e):(d=ir,f=ge,c=_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)&&c--,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*d+(N[p]||0),w[p]=A/I|0,o=A%I|0;m=o||p<F}else{for(o=d/(I[0]+1)|0,o>1&&(I=e(I,o,d),N=e(N,o,d),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]>=d/2&&++x;do o=0,l=r(I,v,T,D),l<0?(y=v[0],T!=D&&(y=y*d+(v[1]||0)),o=y/x|0,o>1?(o>=d&&(o=d-1),h=e(I,o,d),b=h.length,D=v.length,l=r(h,v,b,D),l==1&&(o--,t(h,T<b?_:I,b,d))):(o==0&&(l=o=1),h=I.slice()),b=h.length,b<D&&h.unshift(0),t(v,h,D,d),l==-1&&(D=v.length,l=r(I,v,T,D),l<1&&(o++,t(v,T<D?_:I,D,d))),D=v.length):l===0&&(o++,v=[0]),w[p++]=o,l&&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=c,Qc=m;else{for(p=1,o=w[0];o>=10;o/=10)p++;g.e=p+c*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,d,l,c,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,c=p[o=0],d=c/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);c=d=0,u=1,i%=ge,a=i-ge+1}else break e;else{for(c=s=p[o],u=1;s>=10;s/=10)u++;i%=ge,a=i-ge+u,d=a<0?0:c/vt(10,u-a-1)%10|0}if(n=n||r<0||p[o+1]!==void 0||(a<0?c:c%vt(10,u-a-1)),l=t<4?(d||n)&&(t==0||t==(e.s<0?3:2)):d>5||d==5&&(t==4||n||t==6&&(i>0?a>0?c/vt(10,u-a):0:p[o-1])%10&1||t==(e.s<0?8:7)),r<1||!p[0])return p.length=0,l?(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?(c/vt(10,u-a)%vt(10,a)|0)*s:0),l)for(;;)if(o==0){for(i=1,a=p[0];a>=10;a/=10)i++;for(a=p[0]+=s,s=1;a>=10;a/=10)s++;i!=s&&(e.e++,p[0]==ir&&(p[0]=1));break}else{if(p[o]+=s,p[o]!=ir)break;p[o--]=0,s=1}for(i=p.length;p[--i]===0;)p.pop()}return De&&(e.e>f.maxE?(e.d=null,e.e=NaN):e.e<f.minE&&(e.e=0,e.d=[0])),e}function hr(e,r,t){if(!e.isFinite())return i0(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 Hu(e,r){var t=e[0];for(r*=ge;t>=10;t/=10)r++;return r}function Uu(e,r,t){if(r>Ap)throw De=!0,t&&(e.precision=t),Error(Zc);return le(new e(qu),r,1,!0)}function pr(e,r,t){if(r>ka)throw Error(Zc);return le(new e($u),r,t,!0)}function t0(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 r0(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 n0(e){return e.d[e.d.length-1]&1}function u0(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 La(e,r){var t,n,u,i,a,s,d,l=0,c=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,d=m):d=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,d+=n,t=i=a=new o(1),o.precision=d;;){if(i=le(i.times(e),d,1),t=t.times(++c),s=a.plus(Xe(i,t,d,1)),Ct(s.d).slice(0,d)===Ct(a.d).slice(0,d)){for(u=p;u--;)a=le(a.times(a),d,1);if(r==null)if(l<3&&Vn(a.d,d-n,f,l))o.precision=d+=10,t=i=s=new o(1),c=0,l++;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,d,l,c,p,o,f=1,m=10,h=e,b=h.d,g=h.constructor,w=g.rounding,v=g.precision;if(h.s<0||!b||!b[0]||!h.e&&b[0]==1&&b.length==1)return new g(b&&!b[0]?-1/0:h.s!=1?NaN:b?0:h);if(r==null?(De=!1,c=v):c=r,g.precision=c+=m,t=Ct(b),n=t.charAt(0),Math.abs(i=h.e)<15e14){for(;n<7&&n!=1||n==1&&t.charAt(1)>3;)h=h.times(e),t=Ct(h.d),n=t.charAt(0),f++;i=h.e,n>1?(h=new g("0."+t),i++):h=new g(n+"."+t.slice(1))}else return l=Uu(g,c+2,v).times(i+""),h=Lr(new g(n+"."+t.slice(1)),c-m).plus(l),g.precision=v,r==null?le(h,v,w,De=!0):h;for(p=h,d=a=h=Xe(h.minus(1),h.plus(1),c,1),o=le(h.times(h),c,1),u=3;;){if(a=le(a.times(o),c,1),l=d.plus(Xe(a,new g(u),c,1)),Ct(l.d).slice(0,c)===Ct(d.d).slice(0,c))if(d=d.times(2),i!==0&&(d=d.plus(Uu(g,c+2,v).times(i+""))),d=Xe(d,new g(f),c,1),r==null)if(Vn(d.d,c-m,w,s))g.precision=c+=m,l=a=h=Xe(p.minus(1),p.plus(1),c,1),o=le(h.times(h),c,1),u=s=1;else return le(d,g.precision=v,w,De=!0);else return g.precision=v,d;d=l,u+=2}}function i0(e){return String(e.s*e.s/0)}function Vu(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,s,d,l,c;if(r.indexOf("_")>-1){if(r=r.replace(/(\d)_(?=\d)/g,"$1"),e0.test(r))return Vu(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?(d=+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=r0(n,new n(t),i,i*2)),l=zu(r,t,ir),c=l.length-1,i=c;l[i]===0;--i)l.pop();return i<0?new n(e.s*0):(e.e=Hu(l,c),e.d=l,De=!1,a&&(e=Xe(e,u,s*4)),d&&(e=e.times(Math.abs(d)<54?vt(2,d):gn.pow(2,d))),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/Wu(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,d,l=e.precision,c=Math.ceil(l/ge);for(De=!1,d=t.times(t),s=new e(n);;){if(a=Xe(s.times(d),new e(r++*r++),l,1),s=u?n.plus(a):n.minus(a),n=Xe(a.times(d),new e(r++*r++),l,1),a=s.plus(n),a.d[c]!==void 0){for(i=c;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=c+1,a}function Wu(e,r){for(var t=e;--r;)t*=e;return t}function a0(e,r){var t,n=r.s<0,u=pr(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=n0(t)?n?2:3:n?4:1,r;Cr=n0(t)?n?1:4:n?3:2}return r.minus(u).abs()}function qa(e,r,t,n){var u,i,a,s,d,l,c,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())c=i0(e);else{for(c=hr(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(".",""),o=new f(1),o.e=c.length-a,o.d=zu(hr(o),10,u),o.e=o.d.length),p=zu(c,10,u),i=d=p.length;p[--d]==0;)p.pop();if(!p[0])c=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,l=Qc),a=p[t],s=u/2,l=l||p[t+1]!==void 0,l=n<4?(a!==void 0||l)&&(n===0||n===(e.s<0?3:2)):a>s||a===s&&(n===4||l||n===6&&p[t-1]&1||n===(e.s<0?8:7)),p.length=t,l)for(;++p[--t]>u-1;)p[t]=0,t||(++i,p.unshift(1));for(d=p.length;!p[d-1];--d);for(a=0,c="";a<d;a++)c+=Ia.charAt(p[a]);if(m){if(d>1)if(r==16||r==8){for(a=r==16?4:3,--d;d%a;d++)c+="0";for(p=zu(c,u,r),d=p.length;!p[d-1];--d);for(a=1,c="1.";a<d;a++)c+=Ia.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>d)for(i-=d;i--;)c+="0";else i<d&&(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=pr(this,i,1).times(r.s>0?.25:.75),t.s=e.s):!r.d||e.isZero()?(t=r.s<0?pr(this,n,u):new this(0),t.s=e.s):!e.d||r.isZero()?(t=pr(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=pr(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 le(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(ju+"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]=Ra[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]=Ra[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(Jc);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 o0(e){var r,t,n;function u(i){var a,s,d,l=this;if(!(l instanceof u))return new u(i);if(l.constructor=u,c0(i)){l.s=i.s,De?!i.d||i.e>u.maxE?(l.e=NaN,l.d=null):i.e<u.minE?(l.e=0,l.d=[0]):(l.e=i.e,l.d=i.d.slice()):(l.e=i.e,l.d=i.d?i.d.slice():i.d);return}if(d=typeof i,d==="number"){if(i===0){l.s=1/i<0?-1:1,l.e=0,l.d=[0];return}if(i<0?(i=-i,l.s=-1):l.s=1,i===~~i&&i<1e7){for(a=0,s=i;s>=10;s/=10)a++;De?a>u.maxE?(l.e=NaN,l.d=null):a<u.minE?(l.e=0,l.d=[0]):(l.e=a,l.d=[i]):(l.e=a,l.d=[i]);return}if(i*0!==0){i||(l.s=NaN),l.e=NaN,l.d=null;return}return Vu(l,i.toString())}if(d==="string")return(s=i.charCodeAt(0))===45?(i=i.slice(1),l.s=-1):(s===43&&(i=i.slice(1)),l.s=1),e0.test(i)?Vu(l,i):Tp(l,i);if(d==="bigint")return i<0?(i=-i,l.s=-1):l.s=1,Vu(l,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=o0,u.isDecimal=c0,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=sm,u.sub=om,u.sum=cm,u.tan=lm,u.tanh=fm,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 le(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 c0(e){return e instanceof gn||e&&e.toStringTag===Kc||!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 u0(this,arguments,-1)}function Jp(){return u0(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),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(Jc);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 nm(e){return le(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 sm(e){return new this(e).sqrt()}function om(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,le(t,this.precision,this.rounding)}function lm(e){return new this(e).tan()}function fm(e){return new this(e).tanh()}function dm(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=o0(Ra);qu=new gn(qu),$u=new gn($u);var hm="BigNumber",pm=["?on","config"],mm=Be(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)},$a=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 ja(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},en=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 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=$a(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,d=t.re*s+t.im;return new $((this.re*s+this.im)/d,(this.im*s-this.re)/d)}else{const s=t.im/t.re,d=t.im*s+t.re;return new $((this.re+this.im*s)/d,(this.im-this.re*s)/d)}},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=ja(this.re,this.im);let s=Math.exp(t.re*a-t.im*i),d=t.im*a+t.re*i;return new $(s*Math.cos(d),s*Math.sin(d))},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=$a(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 $(ja(e,r),Math.atan2(r,e))},abs:function(){return $a(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=ja(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 ym="Complex",vm=[],wm=Be(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=Ba(this.re,e),i=Ba(this.im,e),a=et(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(et(t)){if($c(n)&&n.hasBase("ANGLE")&&(n=n.toNumber("rad")),et(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),za=BigInt(5),Rt=BigInt(10),Dm=2e3,ee={s:Ee,n:fe,d:Ee};function Tr(e,r){try{e=BigInt(e)}catch{throw qr()}return e*r}function ar(e){return typeof e=="bigint"?e:Math.floor(e)}function rt(e,r){if(r===fe)throw Ha();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=za-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 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,s=1,d=1,l=1,c=1e7;for(e>=1&&(i=10**Math.floor(1+Math.log10(e)),e/=i);s<=c&&l<=c;){let p=(a+d)/(s+l);if(e===p){s+l<=c?(t=a+d,n=s+l):l>s?(t=d,n=l):(t=a,n=s);break}else e>p?(a+=d,s+=l):(d+=a,l+=s),s>c?(t=d,n=l):(t=a,n=s)}t=BigInt(t)*BigInt(i),n=BigInt(n)}}else if(typeof e=="string"){let i=0,a=fe,s=fe,d=fe,l=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?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),l=Rt**BigInt(p[i].length),i++),(p[i]==="("&&p[i+2]===")"||p[i]==="'"&&p[i+2]==="'")&&(d=Tr(p[i+1],u),c=Rt**BigInt(p[i+1].length)-Ee,i+=3)):p[i+1]==="/"||p[i+1]===":"?(s=Tr(p[i],u),l=Tr(p[i+2],Ee),i+=3):p[i+3]==="/"&&p[i+1]===" "&&(a=Tr(p[i],u),s=Tr(p[i+2],u),l=Tr(p[i+4],Ee),i+=5),p.length<=i)n=l*c,u=t=d+n*a+c*s;else throw qr()}else if(typeof e=="bigint")t=e,u=e,n=Ee;else throw qr();if(n===fe)throw Ha();ee.s=u<fe?-Ee:Ee,ee.n=t<fe?-t:t,ee.d=n<fe?-n:n};function Em(e,r,t){let n=Ee;for(;r>fe;e=e*e%t,r>>=Ee)r&Ee&&(n=n*e%t);return n}function xm(e,r){for(;r%Wn===fe;r/=Wn);for(;r%za===fe;r/=za);if(r===Ee)return fe;let t=Rt%r,n=1;for(;t!==Ee;n++)if(t=t*Rt%r,n>Dm)return fe;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 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 rt(ee.s*ee.n,ee.d)}var Ha=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:fe,d:Ee,abs:function(){return rt(this.n,this.d)},neg:function(){return rt(-this.s*this.n,this.d)},add:function(e,r){return Et(e,r),rt(this.s*this.n*ee.d+ee.s*this.d*ee.n,this.d*ee.d)},sub:function(e,r){return Et(e,r),rt(this.s*this.n*ee.d-ee.s*this.d*ee.n,this.d*ee.d)},mul:function(e,r){return Et(e,r),rt(this.s*ee.s*this.n*ee.n,this.d*ee.d)},div:function(e,r){return Et(e,r),rt(this.s*ee.s*this.n*ee.d,this.d*ee.n)},clone:function(){return rt(this.s*this.n,this.d)},mod:function(e,r){if(e===void 0)return rt(this.s*this.n%this.d,Ee);if(Et(e,r),fe===ee.n*this.d)throw Ha();return rt(this.s*(ee.d*this.n)%(ee.n*this.d),ee.d*this.d)},gcd:function(e,r){return Et(e,r),rt(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?rt(fe,Ee):rt(ee.n*this.n,tn(ee.n,this.n)*tn(ee.d,this.d))},inverse:function(){return rt(this.s*this.d,this.n)},pow:function(e,r){if(Et(e,r),ee.d===Ee)return ee.s<fe?rt((this.s*this.d)**ee.n,this.n**ee.n):rt((this.s*this.n)**ee.n,this.d**ee.n);if(this.s<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?rt(i,u):rt(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 l in u)n[l]=(n[l]||fe)-u[l];for(const l in a)i[l]=(i[l]||fe)-a[l];for(const l in n)l!=="1"&&(t[l]=!0);for(const l in i)l!=="1"&&(t[l]=!0);let s=null,d=null;for(const l in t){const c=n[l]||fe,p=i[l]||fe;if(c===fe){if(p!==fe)return null;continue}let o=p,f=c;const m=tn(o,f);if(o/=m,f/=m,s===null&&d===null)s=o,d=f;else if(o*d!==s*f)return null}return s!==null&&d!==null?rt(s,d):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),rt(ar(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),rt(ar(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),rt(ar(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=ar(t/n);return u+u>=n&&i++,rt(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<fe?"-":"";if(i+=ar(r/t),r%=t,r*=Rt,r&&(i+="."),n){for(let a=u;a--;)i+=ar(r/t),r%=t,r*=Rt;i+="(";for(let a=n;a--;)i+=ar(r/t),r%=t,r*=Rt;i+=")"}else for(let a=e;r&&a--;)i+=ar(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=ar(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=ar(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(ar(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=rt(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 Cm="Fraction",Tm=[],Sm=Be(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=Be(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 Ua(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}=Uc(r);switch(t){case"fixed":return Pm(e,n);case"exponential":return f0(e,n);case"engineering":return Mm(e,n);case"bin":return Ua(e,2,u);case"oct":return Ua(e,8,u);case"hex":return Ua(e,16,u);case"auto":{var i=d0(r==null?void 0:r.lowerExp,-3),a=d0(r==null?void 0:r.upperExp,5);if(e.isZero())return"0";var s,d=e.toSignificantDigits(n),l=d.e;return l>=i&&l<a?s=d.toFixed():s=f0(e,n),s.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 f0(e,r){return r!==void 0?e.toExponential(r-1):e.toExponential()}function Pm(e,r){return e.toFixed(r)}function d0(e,r){return et(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 Ba(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 m0(e,r);if(dr(e))return h0(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=>h0(n)+": "+kt(e[n],r));return"{"+t.join(", ")+"}"}return String(e)}function h0(e){for(var r=String(e),t="",n=0;n<r.length;){var u=r.charAt(n);t+=u in p0?p0[u]:u,n++}return'"'+t+'"'}var p0={'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"};function m0(e,r){if(Array.isArray(e)){for(var t="[",n=e.length,u=0;u<n;u++)u!==0&&(t+=", "),t+=m0(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 qe(e,r,t){if(!(this instanceof qe))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}qe.prototype=new RangeError,qe.prototype.constructor=RangeError,qe.prototype.name="DimensionError",qe.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 sr(e){for(var r=[];Array.isArray(e);)r.push(e.length),e=e[0];return r}function g0(e,r,t){var n,u=e.length;if(u!==r[t])throw new qe(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 qe(r.length-1,r.length,"<");g0(e[n],r,i)}}else for(n=0;n<u;n++)if(Array.isArray(e[n]))throw new qe(r.length+1,r.length,">")}function b0(e,r){var t=r.length===0;if(t){if(Array.isArray(e))throw new qe(e.length,0)}else g0(e,r,0)}function ot(e,r){if(e!==void 0){if(!et(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 Va(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(!et(u)||!gt(u)||u<0)throw new TypeError("Invalid size, must contain positive integers (size: "+kt(r)+")")}),(et(e)||wt(e))&&(e=[e]);var n=t!==void 0?t:0;return Wa(e,r,0,n),e}function Wa(e,r,t,n){var u,i,a=e.length,s=r[t],d=Math.min(a,s);if(e.length=s,t<r.length-1){var l=t+1;for(u=0;u<d;u++)i=e[u],Array.isArray(i)||(i=[i],e[u]=i),Wa(i,r,l,n);for(u=d;u<s;u++)i=[],e[u]=i,Wa(i,r,l,n)}else{for(u=0;u<d;u++)for(;Array.isArray(e[u]);)e[u]=e[u][0];for(u=d;u<s;u++)e[u]=n}}function y0(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 qe(0,n,"!=");r=Ya(r,n);var u=v0(r);if(n!==u)throw new qe(u,n,"!=");try{return Rm(t,r)}catch(i){throw i instanceof qe?new qe(u,n,"!="):i}}function Ya(e,r){var t=v0(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,d=r%t===0;if(s)if(d)n[i]=-r/t;else throw new Error("Could not replace wildcard, since "+r+" is no multiple of "+-t);return n}function v0(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,s=0;s<a;s++)n.push(t.slice(s*i,(s+1)*i));t=n}return t}function w0(e,r,t,n){var u=n||sr(e);if(t)for(var i=0;i<t;i++)e=[e],u.unshift(1);for(e=D0(e,r,0);u.length<r;)u.push(1);return e}function D0(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]=D0(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 Ga(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?Ga(i,r):r(i);if(t===void 0)t=s;else if(t!==s)return"mixed"}return t}function E0(e,r,t,n){if(n<t){if(e.length!==r.length)throw new qe(e.length,r.length);for(var u=[],i=0;i<e.length;i++)u[i]=E0(e[i],r[i],t,n+1);return u}else return e.concat(r)}function x0(){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 E0(t,n,r,0)},e[0]);throw new Error("Wrong number of arguments in function concat")}function A0(){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],d=n[a],l=0;l<d;l++){var c=u-d+l;s[l]>i[c]&&(i[c]=s[l])}for(var p=0;p<r.length;p++)C0(r[p],i);return i}function C0(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 Xa(e,r){var t=sr(e);if(Br(t,r))return e;C0(t,r);var n=A0(t,r),u=n.length,i=[...Array(u-t.length).fill(1),...t],a=qm(e);t.length<u&&(a=y0(a,i),t=sr(a));for(var s=0;s<u;s++)t[s]<n[s]&&(a=Lm(a,n[s],s),t=sr(a));return a}function Lm(e,r,t){return x0(...Array(r).fill(e),t)}function T0(e,r){if(!Array.isArray(e))throw new Error("Array expected");var t=sr(e);if(r.length!==t.length)throw new qe(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 S0(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 d=a.length,l=Array(d),c=0;c<d;c++)n[s]=c,l[c]=u(a[c],s+1);return l}else return r(a,n.slice(0,s),e)}function i(a){if(Array.isArray(a)){for(var s=a.length,d=Array(s),l=0;l<s;l++)d[l]=i(a[l]);return d}else return r(a)}}function qm(e){return jn([],e)}function Yu(e,r,t){if(Bu.isTypedFunction(e)){var n=(r.isMatrix?r.size():sr(r)).map(()=>0),u=r.isMatrix?r.get(n):T0(r,n),i=jm(e,u,n,r),a;if(r.isMatrix&&r.dataType!=="mixed"&&r.dataType!==void 0){var s=$m(e,i);a=s!==void 0?s:e}else a=e;return i>=1&&i<=3?function(){for(var d=arguments.length,l=new Array(d),c=0;c<d;c++)l[c]=arguments[c];return F0(a,l.slice(0,i),t,e.name)}:function(){for(var d=arguments.length,l=new Array(d),c=0;c<d;c++)l[c]=arguments[c];return F0(a,l,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(Bu.resolve(e,a)!==null)return i}}function F0(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(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 Hm="DenseMatrix",Um=["Matrix"],Vm=Be(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&&!dr(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,b0(this._data,this._size),this._datatype=p||c.datatype;else if(yt(c))this._data=l(c),this._size=sr(this._data),b0(this._data,this._size),this._datatype=p;else{if(c)throw new TypeError("Unsupported type of data ("+Kr(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 Ga(this._data,Kr)},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,o){switch(arguments.length){case 1:return n(this,c);case 2:case 3:return i(this,c,p,o);default:throw new SyntaxError("Wrong number of arguments")}},t.prototype.get=function(c){return T0(this._data,c)},t.prototype.set=function(c,p,o){if(!yt(c))throw new TypeError("Array expected");if(c.length<this._size.length)throw new qe(c.length,this._size.length,"<");var f,m,h,b=c.map(function(w){return w+1});d(this,b,o);var g=this._data;for(f=0,m=c.length-1;f<m;f++)h=c[f],ot(h,g.length),g=g[h];return h=c[c.length-1],ot(h,g.length),g[h]=p,this};function n(c,p){if(!Na(p))throw new TypeError("Invalid index");var o=p.isScalar();if(o)return c.get(p.min());var f=p.size();if(f.length!==c._size.length)throw new qe(f.length,c._size.length);for(var m=p.min(),h=p.max(),b=0,g=c._size.length;b<g;b++)ot(m[b],c._size[b]),ot(h[b],c._size[b]);return new t(u(c._data,p,f.length,0),c._datatype)}function u(c,p,o,f){var m=f===o-1,h=p.dimension(f);return m?h.map(function(b){return ot(b,c.length),c[b]}).valueOf():h.map(function(b){ot(b,c.length);var g=c[b];return u(g,p,o,f+1)}).valueOf()}function i(c,p,o,f){if(!p||p.isIndex!==!0)throw new TypeError("Invalid index");var m=p.size(),h=p.isScalar(),b;if(Wt(o)?(b=o.size(),o=o.valueOf()):b=sr(o),h){if(b.length!==0)throw new TypeError("Scalar expected");c.set(p.min(),o,f)}else{if(!Br(b,m))try{b.length===0?o=Xa([o],m):o=Xa(o,m),b=sr(o)}catch{}if(m.length<c._size.length)throw new qe(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++;o=w0(o,m.length,w,b)}if(!Br(m,b))throw new qe(m,b,">");var v=p.max().map(function(E){return E+1});d(c,v,f);var D=m.length,y=0;a(c._data,p,o,D,y)}return c}function a(c,p,o,f,m){var h=m===f-1,b=p.dimension(m);h?b.forEach(function(g,w){ot(g),c[g]=o[w[0]]}):b.forEach(function(g,w){ot(g),a(c[g],p,o[w[0]],f,m+1)})}t.prototype.resize=function(c,p,o){if(!Pu(c))throw new TypeError("Array or Matrix expected");var f=c.valueOf().map(h=>Array.isArray(h)&&h.length===1?h[0]:h),m=o?this.clone():this;return s(m,f,p)};function s(c,p,o){if(p.length===0){for(var f=c._data;yt(f);)f=f[0];return f}return c._size=p.slice(0),c._data=Va(c._data,c._size,o),c}t.prototype.reshape=function(c,p){var o=p?this.clone():this;o._data=y0(o._data,c);var f=o._size.reduce((m,h)=>m*h);return o._size=Ya(c,f),o};function d(c,p,o){for(var f=c._size.slice(0),m=!1;f.length<p.length;)f.push(0),m=!0;for(var h=0,b=p.length;h<b;h++)p[h]>f[h]&&(f[h]=p[h],m=!0);m&&s(c,f,o)}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,o=p.size(),f=o.length-1;if(f<0)return;if(f===0){for(var m=o[0],h=0;h<m;h++)c(p._data,h,[h]);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,c(w,E,b.slice())}g(p._data,0)},t.prototype.map=function(c){var p=this,o=new t(p),f=Yu(c,p._data,"map");return o._forEach(function(m,h,b){m[h]=f(m[h],b,p)}),o},t.prototype.forEach=function(c){var p=this,o=Yu(c,p._data,"map");p._forEach(function(f,m,h){o(f[m],h,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 o=[],f=function*(h,b){if(b<c)for(var g=0;g<h.length;g++)o[b]=g,yield*f(h[g],b+1);else for(var w=0;w<h.length;w++)o[b]=w,yield{value:h[w],index:o.slice()}};yield*f(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 o=this._data;for(var f of o)c.push(new t([f],this._datatype));return c},t.prototype.columns=function(){var c=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,c._datatype))},h=0;h<o[1];h++)m(h);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()),!et(c)||!gt(c))throw new TypeError("The parameter k must be an integer number")}else c=0;for(var p=c>0?c:0,o=c<0?-c:0,f=this._size[0],m=this._size[1],h=Math.min(f-o,m-p),b=[],g=0;g<h;g++)b[g]=this._data[g+o][g+p];return new t({data:b,size:[h],datatype:this._datatype})},t.diagonal=function(c,p,o,f){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()),!et(A)||!gt(A)||A<1)throw new Error("Size values must be positive integers");return A}),o){if(wt(o)&&(o=o.toNumber()),!et(o)||!gt(o))throw new TypeError("The parameter k must be an integer number")}else o=0;var m=o>0?o:0,h=o<0?-o:0,b=c[0],g=c[1],w=Math.min(b-h,g-m),v;if(yt(p)){if(p.length!==w)throw new Error("Invalid value array length");v=function(C){return p[C]}}else if(Wt(p)){var D=p.size();if(D.length!==1||D[0]!==w)throw new Error("Invalid matrix length");v=function(C){return p.get([C])}}else v=function(){return p};f||(f=wt(v(0))?v(0).mul(0):0);var y=[];if(c.length>0){y=Va(y,c,f);for(var E=0;E<w;E++)y[E+h][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(!et(c)||!gt(c)||!et(p)||!gt(p))throw new Error("Row index must be positive integers");if(this._size.length!==2)throw new Error("Only two dimensional matrix is supported");return ot(c,this._size[0]),ot(p,this._size[0]),t._swapRows(c,p,this._data),this},t._swapRows=function(c,p,o){var f=o[c];o[c]=o[p],o[p]=f};function l(c){return Wt(c)?l(c.valueOf()):yt(c)?c.map(l):c}return t},{isClass:!0});function Yn(e,r,t){if(!t)return Wt(e)?e.map(u=>r(u)):S0(e,r,!0);var n=u=>u===0?u:r(u);return Wt(e)?e.map(u=>n(u)):S0(e,n,!0)}var _0="isInteger",Wm=["typed"],Ym=Be(_0,Wm,e=>{var{typed:r}=e;return r(_0,{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",O0="number, number";function N0(e,r){return e+r}N0.signature=O0;function M0(e,r){return e-r}M0.signature=O0;function P0(e){return-e}P0.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(Vc(e,r))}function Qa(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=Be("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)})}}),Gu="equalScalar",Zm=["typed","config"],Jm=Be(Gu,Zm,e=>{var{typed:r,config:t}=e,n=Qm({typed:r});return r(Gu,{"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)||Qa(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)});Be(Gu,["typed","config"],e=>{var{typed:r,config:t}=e;return r(Gu,{"number, number":function(u,i){return hn(u,i,t.relTol,t.absTol)}})});var Km="SparseMatrix",eg=["typed","equalScalar","Matrix"],tg=Be(Km,eg,e=>{var{typed:r,equalScalar:t,Matrix:n}=e;function u(h,b){if(!(this instanceof u))throw new SyntaxError("Constructor must be called with the new operator");if(b&&!dr(b))throw new Error("Invalid datatype: "+b);if(Wt(h))i(this,h,b);else if(h&&yt(h.index)&&yt(h.ptr)&&yt(h.size))this._values=h.values,this._index=h.index,this._ptr=h.ptr,this._size=h.size,this._datatype=b||h.datatype;else if(yt(h))a(this,h,b);else{if(h)throw new TypeError("Unsupported type of data ("+Kr(h)+")");this._values=[],this._index=[],this._ptr=[0],this._size=[0,0],this._datatype=b}}function i(h,b,g){b.type==="SparseMatrix"?(h._values=b._values?Dt(b._values):void 0,h._index=Dt(b._index),h._ptr=Dt(b._ptr),h._size=Dt(b._size),h._datatype=g||b._datatype):a(h,b.valueOf(),g||b._datatype)}function a(h,b,g){h._values=[],h._index=[],h._ptr=[],h._datatype=g;var w=b.length,v=0,D=t,y=0;if(dr(g)&&(D=r.find(t,[g,g])||t,y=r.convert(0,g)),w>0){var E=0;do{h._ptr.push(h._index.length);for(var A=0;A<w;A++){var C=b[A];if(yt(C)){if(E===0&&v<C.length&&(v=C.length),E<C.length){var F=C[E];D(F,y)||(h._values.push(F),h._index.push(A))}}else E===0&&v<1&&(v=1),D(C,y)||(h._values.push(C),h._index.push(A))}E++}while(E<v)}h._ptr.push(h._index.length),h._size=[w,v]}u.prototype=new n,u.prototype.createSparseMatrix=function(h,b){return new u(h,b)},Object.defineProperty(u,"name",{value:"SparseMatrix"}),u.prototype.constructor=u,u.prototype.type="SparseMatrix",u.prototype.isSparseMatrix=!0,u.prototype.getDataType=function(){return Ga(this._values,Kr)},u.prototype.storage=function(){return"sparse"},u.prototype.datatype=function(){return this._datatype},u.prototype.create=function(h,b){return new u(h,b)},u.prototype.density=function(){var h=this._size[0],b=this._size[1];return h!==0&&b!==0?this._index.length/(h*b):0},u.prototype.subset=function(h,b,g){if(!this._values)throw new Error("Cannot invoke subset on a Pattern only matrix");switch(arguments.length){case 1:return s(this,h);case 2:case 3:return d(this,h,b,g);default:throw new SyntaxError("Wrong number of arguments")}};function s(h,b){if(!Na(b))throw new TypeError("Invalid index");var g=b.isScalar();if(g)return h.get(b.min());var w=b.size();if(w.length!==h._size.length)throw new qe(w.length,h._size.length);var v,D,y,E,A=b.min(),C=b.max();for(v=0,D=h._size.length;v<D;v++)ot(A[v],h._size[v]),ot(C[v],h._size[v]);var F=h._values,x=h._index,T=h._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:h._datatype})}function d(h,b,g,w){if(!b||b.isIndex!==!0)throw new TypeError("Invalid index");var v=b.size(),D=b.isScalar(),y;if(Wt(g)?(y=g.size(),g=g.toArray()):y=sr(g),D){if(y.length!==0)throw new TypeError("Scalar expected");h.set(b.min(),g,w)}else{if(v.length!==1&&v.length!==2)throw new qe(v.length,h._size.length,"<");if(y.length<v.length){for(var E=0,A=0;v[E]===1&&y[E]===1;)E++;for(;v[E]===1;)A++,E++;g=w0(g,v.length,A,y)}if(!Br(v,y))throw new qe(v,y,">");if(v.length===1){var C=b.dimension(0);C.forEach(function(T,_){ot(T),h.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),h.set([T,P],g[_[0]][B[0]],w)})})}}return h}u.prototype.get=function(h){if(!yt(h))throw new TypeError("Array expected");if(h.length!==this._size.length)throw new qe(h.length,this._size.length);if(!this._values)throw new Error("Cannot invoke get on a Pattern only matrix");var b=h[0],g=h[1];ot(b,this._size[0]),ot(g,this._size[1]);var w=l(b,this._ptr[g],this._ptr[g+1],this._index);return w<this._ptr[g+1]&&this._index[w]===b?this._values[w]:0},u.prototype.set=function(h,b,g){if(!yt(h))throw new TypeError("Array expected");if(h.length!==this._size.length)throw new qe(h.length,this._size.length);if(!this._values)throw new Error("Cannot invoke set on a Pattern only matrix");var w=h[0],v=h[1],D=this._size[0],y=this._size[1],E=t,A=0;dr(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=l(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 l(h,b,g,w){if(g-b===0)return g;for(var v=b;v<g;v++)if(w[v]===h)return v;return b}function c(h,b,g,w,v){g.splice(h,1),w.splice(h,1);for(var D=b+1;D<v.length;D++)v[D]--}function p(h,b,g,w,v,D,y){v.splice(h,0,w),D.splice(h,0,b);for(var E=g+1;E<y.length;E++)y[E]++}u.prototype.resize=function(h,b,g){if(!Pu(h))throw new TypeError("Array or Matrix expected");var w=h.valueOf().map(D=>Array.isArray(D)&&D.length===1?D[0]:D);if(w.length!==2)throw new Error("Only two dimensions matrix are supported");w.forEach(function(D){if(!et(D)||!gt(D)||D<0)throw new TypeError("Invalid size, must contain positive integers (size: "+kt(w)+")")});var v=g?this.clone():this;return o(v,w[0],w[1],b)};function o(h,b,g,w){var v=w||0,D=t,y=0;dr(h._datatype)&&(D=r.find(t,[h._datatype,h._datatype])||t,y=r.convert(0,h._datatype),v=r.convert(v,h._datatype));var E=!D(v,y),A=h._size[0],C=h._size[1],F,x,T;if(g>C){for(x=C;x<g;x++)if(h._ptr[x]=h._values.length,E)for(F=0;F<A;F++)h._values.push(v),h._index.push(F);h._ptr[g]=h._values.length}else g<C&&(h._ptr.splice(g+1,C-g),h._values.splice(h._ptr[g],h._values.length),h._index.splice(h._ptr[g],h._index.length));if(C=g,b>A){if(E){var _=0;for(x=0;x<C;x++){h._ptr[x]=h._ptr[x]+_,T=h._ptr[x+1]+_;var P=0;for(F=A;F<b;F++,P++)h._values.splice(T+P,0,v),h._index.splice(T+P,0,F),_++}h._ptr[C]=h._values.length}}else if(b<A){var B=0;for(x=0;x<C;x++){h._ptr[x]=h._ptr[x]-B;var N=h._ptr[x],I=h._ptr[x+1]-B;for(T=N;T<I;T++)F=h._index[T],F>b-1&&(h._values.splice(T,1),h._index.splice(T,1),B++)}h._ptr[x]=h._values.length}return h._size[0]=b,h._size[1]=g,h}u.prototype.reshape=function(h,b){if(!yt(h))throw new TypeError("Array expected");if(h.length!==2)throw new Error("Sparse matrices can only be reshaped in two dimensions");h.forEach(function(ie){if(!et(ie)||!gt(ie)||ie<=-2||ie===0)throw new TypeError("Invalid size, must contain positive integers or -1 (size: "+kt(h)+")")});var g=this._size[0]*this._size[1];h=Ya(h,g);var w=h[0]*h[1];if(g!==w)throw new Error("Reshaping sparse matrix will result in the wrong number of elements");var v=b?this.clone():this;if(this._size[0]===h[0]&&this._size[1]===h[1])return v;for(var D=[],y=0;y<v._ptr.length;y++)for(var E=0;E<v._ptr[y+1]-v._ptr[y];E++)D.push(y);for(var A=v._values.slice(),C=v._index.slice(),F=0;F<v._index.length;F++){var x=C[F],T=D[F],_=x*v._size[1]+T;D[F]=_%h[1],C[F]=Math.floor(_/h[1])}v._values.length=0,v._index.length=0,v._ptr.length=h[1]+1,v._size=h.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=l(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 h=new u({values:this._values?Dt(this._values):void 0,index:Dt(this._index),ptr:Dt(this._ptr),size:Dt(this._size),datatype:this._datatype});return h},u.prototype.size=function(){return this._size.slice(0)},u.prototype.map=function(h,b){if(!this._values)throw new Error("Cannot invoke map on a Pattern only matrix");var g=this,w=this._size[0],v=this._size[1],D=Yu(h,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(h,b,g,w,v,D,y){var E=[],A=[],C=[],F=t,x=0;dr(h._datatype)&&(F=r.find(t,[h._datatype,h._datatype])||t,x=r.convert(0,h._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=h._ptr[_],B=h._ptr[_+1];if(y)for(var N=P;N<B;N++){var I=h._index[N];I>=b&&I<=g&&T(h._values[N],I-b,_-w)}else{for(var J={},re=P;re<B;re++){var ie=h._index[re];J[ie]=h._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(h,b){if(!this._values)throw new Error("Cannot invoke forEach on a Pattern only matrix");for(var g=this,w=this._size[0],v=this._size[1],D=Yu(h,g,"forEach"),y=0;y<v;y++){var E=this._ptr[y],A=this._ptr[y+1];if(b)for(var C=E;C<A;C++){var 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 h=this._size[1],b=0;b<h;b++)for(var g=this._ptr[b],w=this._ptr[b+1],v=g;v<w;v++){var D=this._index[v];yield{value:this._values[v],index:[D,b]}}},u.prototype.toArray=function(){return m(this._values,this._index,this._ptr,this._size,!0)},u.prototype.valueOf=function(){return m(this._values,this._index,this._ptr,this._size,!1)};function m(h,b,g,w,v){var D=w[0],y=w[1],E=[],A,C;for(A=0;A<D;A++)for(E[A]=[],C=0;C<y;C++)E[A][C]=0;for(C=0;C<y;C++)for(var F=g[C],x=g[C+1],T=F;T<x;T++)A=b[T],E[A][C]=h?v?Dt(h[T]):h[T]:1;return E}return u.prototype.format=function(h){for(var b=this._size[0],g=this._size[1],w=this.density(),v="Sparse Matrix ["+kt(b,h)+" x "+kt(g,h)+"] density: "+kt(w,h)+`
89
89
  `,D=0;D<g;D++)for(var y=this._ptr[D],E=this._ptr[D+1],A=y;A<E;A++){var C=this._index[A];v+=`
90
- (`+kt(C,h)+", "+kt(D,h)+") ==> "+(this._values?kt(this._values[A],h):"X")}return v},u.prototype.toString=function(){return kt(this.toArray())},u.prototype.toJSON=function(){return{mathjs:"SparseMatrix",values:this._values,index:this._index,ptr:this._ptr,size:this._size,datatype:this._datatype}},u.prototype.diagonal=function(h){if(h){if(wt(h)&&(h=h.toNumber()),!et(h)||!gt(h))throw new TypeError("The parameter k must be an integer number")}else h=0;var b=h>0?h:0,g=h<0?-h:0,w=this._size[0],v=this._size[1],D=Math.min(w-g,v-b),y=[],E=[],A=[];A[0]=0;for(var C=b;C<v&&y.length<D;C++)for(var 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(h){return new u(h)},u.diagonal=function(h,b,g,w,v){if(!yt(h))throw new TypeError("Array expected, size parameter");if(h.length!==2)throw new Error("Only two dimensions matrix are supported");if(h=h.map(function(ie){if(wt(ie)&&(ie=ie.toNumber()),!et(ie)||!gt(ie)||ie<1)throw new Error("Size values must be positive integers");return ie}),g){if(wt(g)&&(g=g.toNumber()),!et(g)||!gt(g))throw new TypeError("The parameter k must be an integer number")}else g=0;var D=t,y=0;dr(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=h[0],F=h[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(h,b){if(!et(h)||!gt(h)||!et(b)||!gt(b))throw new Error("Row index must be positive integers");if(this._size.length!==2)throw new Error("Only two dimensional matrix is supported");return ot(h,this._size[0]),ot(b,this._size[0]),u._swapRows(h,b,this._size[1],this._values,this._index,this._ptr),this},u._forEachRow=function(h,b,g,w,v){for(var D=w[h],y=w[h+1],E=D;E<y;E++)v(g[E],b[E])},u._swapRows=function(h,b,g,w,v,D){for(var y=0;y<g;y++){var E=D[y],A=D[y+1],C=l(h,E,A,v),F=l(b,E,A,v);if(C<A&&F<A&&v[C]===h&&v[F]===b){if(w){var x=w[C];w[C]=w[F],w[F]=x}continue}if(C<A&&v[C]===h&&(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]!==h)){var _=w?w[F]:void 0;v.splice(C,0,h),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=Be(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,s=u.match(/(0[box][0-9a-fA-F]*)i([0-9]*)/);s&&(a=Number(s[2]),u=s[1]);var f=Number(u);if(isNaN(f))throw new SyntaxError('String "'+u+'" is not a valid number');if(s){if(f>2**a-1)throw new SyntaxError('String "'.concat(u,'" is out of range'));f>=2**(a-1)&&(f=f-2**a)}return f},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}),B0="matrix",sg=["typed","Matrix","DenseMatrix","SparseMatrix"],og=Be(B0,sg,e=>{var{typed:r,Matrix:t,DenseMatrix:n,SparseMatrix:u}=e;return r(B0,{"":function(){return i([])},string:function(s){return i([],s)},"string, string":function(s,f){return i([],s,f)},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,f){if(s==="dense"||s==="default"||s===void 0)return new n(a,f);if(s==="sparse")return new u(a,f);throw new TypeError("Unknown matrix type "+JSON.stringify(s)+".")}}),I0="unaryMinus",cg=["typed"],lg=Be(I0,cg,e=>{var{typed:r}=e;return r(I0,{number:P0,"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))})}),R0="addScalar",fg=["typed"],dg=Be(R0,fg,e=>{var{typed:r}=e;return r(R0,{"number, number":N0,"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})})}),k0="subtractScalar",hg=["typed"],pg=Be(k0,hg,e=>{var{typed:r}=e;return r(k0,{"number, number":M0,"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=Be(mg,gg,e=>{var{typed:r,equalScalar:t}=e;return function(u,i,a,s){var f=u._values,l=u._index,c=u._ptr,p=u._size,o=u._datatype;if(!f)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var d=p[0],m=p[1],h,b=t,g=0,w=a;typeof o=="string"&&(h=o,b=r.find(t,[h,h]),g=r.convert(0,h),i=r.convert(i,h),w=r.find(a,[h,h]));for(var 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=l[F],T=s?w(i,f[F]):w(f[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:h})}}),yg="matAlgo12xSfs",vg=["typed","DenseMatrix"],L0=Be(yg,vg,e=>{var{typed:r,DenseMatrix:t}=e;return function(u,i,a,s){var f=u._values,l=u._index,c=u._ptr,p=u._size,o=u._datatype;if(!f)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var d=p[0],m=p[1],h,b=a;typeof o=="string"&&(h=o,i=r.convert(i,h),b=r.find(a,[h,h]));for(var g=[],w=[],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=l[C];w[F]=f[C],v[F]=y}for(var x=0;x<d;x++)D===0&&(g[x]=[]),v[x]===y?g[x][D]=s?b(i,w[x]):b(w[x],i):g[x][D]=s?b(i,0):b(0,i)}return new t({data:g,size:[d,m],datatype:h})}}),wg="matAlgo14xDs",Dg=["typed"],q0=Be(wg,Dg,e=>{var{typed:r}=e;return function(u,i,a,s){var f=u._data,l=u._size,c=u._datatype,p,o=a;typeof c=="string"&&(p=c,i=r.convert(i,p),o=r.find(a,[p,p]));var d=l.length>0?t(o,0,l,l[0],f,i,s):[];return u.createDenseMatrix({data:d,size:Dt(l),datatype:p})};function t(n,u,i,a,s,f,l){var c=[];if(u===i.length-1)for(var p=0;p<a;p++)c[p]=l?n(f,s[p]):n(s[p],f);else for(var o=0;o<a;o++)c[o]=t(n,u+1,i,i[u+1],s[o],f,l);return c}}),Eg="matAlgo03xDSf",xg=["typed"],Ag=Be(Eg,xg,e=>{var{typed:r}=e;return function(n,u,i,a){var s=n._data,f=n._size,l=n._datatype||n.getDataType(),c=u._values,p=u._index,o=u._ptr,d=u._size,m=u._datatype||u._data===void 0?u._datatype:u.getDataType();if(f.length!==d.length)throw new qe(f.length,d.length);if(f[0]!==d[0]||f[1]!==d[1])throw new RangeError("Dimension mismatch. Matrix A ("+f+") must match Matrix B ("+d+")");if(!c)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var h=f[0],b=f[1],g,w=0,v=i;typeof l=="string"&&l===m&&l!=="mixed"&&(g=l,w=r.convert(0,g),v=r.find(i,[g,g]));for(var D=[],y=0;y<h;y++)D[y]=[];for(var E=[],A=[],C=0;C<b;C++){for(var F=C+1,x=o[C],T=o[C+1],_=x;_<T;_++){var P=p[_];E[P]=a?v(c[_],s[P][C]):v(s[P][C],c[_]),A[P]=F}for(var B=0;B<h;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:[h,b],datatype:l===n._datatype&&m===u._datatype?g:void 0})}}),Cg="matAlgo05xSfSf",Tg=["typed","equalScalar"],Sg=Be(Cg,Tg,e=>{var{typed:r,equalScalar:t}=e;return function(u,i,a){var s=u._values,f=u._index,l=u._ptr,c=u._size,p=u._datatype||u._data===void 0?u._datatype:u.getDataType(),o=i._values,d=i._index,m=i._ptr,h=i._size,b=i._datatype||i._data===void 0?i._datatype:i.getDataType();if(c.length!==h.length)throw new qe(c.length,h.length);if(c[0]!==h[0]||c[1]!==h[1])throw new RangeError("Dimension mismatch. Matrix A ("+c+") must match Matrix B ("+h+")");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=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=l[N],J=l[N+1];I<J;I++)B=f[I],C.push(B),_[B]=re,x&&(x[B]=s[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]=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})}}),Fg="matAlgo13xDD",_g=["typed"],Og=Be(Fg,_g,e=>{var{typed:r}=e;return function(u,i,a){var s=u._data,f=u._size,l=u._datatype,c=i._data,p=i._size,o=i._datatype,d=[];if(f.length!==p.length)throw new qe(f.length,p.length);for(var m=0;m<f.length;m++){if(f[m]!==p[m])throw new RangeError("Dimension mismatch. Matrix A ("+f+") must match Matrix B ("+p+")");d[m]=f[m]}var h,b=a;typeof l=="string"&&l===o&&(h=l,b=r.find(a,[h,h]));var g=d.length>0?t(b,0,d,d[0],s,c):[];return u.createDenseMatrix({data:g,size:d,datatype:h})};function t(n,u,i,a,s,f){var l=[];if(u===i.length-1)for(var c=0;c<a;c++)l[c]=n(s[c],f[c]);else for(var p=0;p<a;p++)l[p]=t(n,u+1,i,i[u+1],s[p],f[p]);return l}});function xt(e,r){if(Br(e.size(),r.size()))return[e,r];var t=A0(e.size(),r.size());return[e,r].map(n=>Ng(n,t))}function Ng(e,r){return Br(e.size(),r)?e:e.create(Xa(e.valueOf(),r),e.datatype())}var Mg="matrixAlgorithmSuite",Pg=["typed","matrix"],$0=Be(Mg,Pg,e=>{var{typed:r,matrix:t}=e,n=Og({typed:r}),u=q0({typed:r});return function(a){var s=a.elop,f=a.SD||a.DS,l;s?(l={"DenseMatrix, DenseMatrix":(d,m)=>n(...xt(d,m),s),"Array, Array":(d,m)=>n(...xt(t(d),t(m)),s).valueOf(),"Array, DenseMatrix":(d,m)=>n(...xt(t(d),m),s),"DenseMatrix, Array":(d,m)=>n(...xt(d,t(m)),s)},a.SS&&(l["SparseMatrix, SparseMatrix"]=(d,m)=>a.SS(...xt(d,m),s,!1)),a.DS&&(l["DenseMatrix, SparseMatrix"]=(d,m)=>a.DS(...xt(d,m),s,!1),l["Array, SparseMatrix"]=(d,m)=>a.DS(...xt(t(d),m),s,!1)),f&&(l["SparseMatrix, DenseMatrix"]=(d,m)=>f(...xt(m,d),s,!0),l["SparseMatrix, Array"]=(d,m)=>f(...xt(t(m),d),s,!0))):(l={"DenseMatrix, DenseMatrix":r.referToSelf(d=>(m,h)=>n(...xt(m,h),d)),"Array, Array":r.referToSelf(d=>(m,h)=>n(...xt(t(m),t(h)),d).valueOf()),"Array, DenseMatrix":r.referToSelf(d=>(m,h)=>n(...xt(t(m),h),d)),"DenseMatrix, Array":r.referToSelf(d=>(m,h)=>n(...xt(m,t(h)),d))},a.SS&&(l["SparseMatrix, SparseMatrix"]=r.referToSelf(d=>(m,h)=>a.SS(...xt(m,h),d,!1))),a.DS&&(l["DenseMatrix, SparseMatrix"]=r.referToSelf(d=>(m,h)=>a.DS(...xt(m,h),d,!1)),l["Array, SparseMatrix"]=r.referToSelf(d=>(m,h)=>a.DS(...xt(t(m),h),d,!1))),f&&(l["SparseMatrix, DenseMatrix"]=r.referToSelf(d=>(m,h)=>f(...xt(h,m),d,!0)),l["SparseMatrix, Array"]=r.referToSelf(d=>(m,h)=>f(...xt(t(h),m),d,!0))));var c=a.scalar||"any",p=a.Ds||a.Ss;p&&(s?(l["DenseMatrix,"+c]=(d,m)=>u(d,m,s,!1),l[c+", DenseMatrix"]=(d,m)=>u(m,d,s,!0),l["Array,"+c]=(d,m)=>u(t(d),m,s,!1).valueOf(),l[c+", Array"]=(d,m)=>u(t(m),d,s,!0).valueOf()):(l["DenseMatrix,"+c]=r.referToSelf(d=>(m,h)=>u(m,h,d,!1)),l[c+", DenseMatrix"]=r.referToSelf(d=>(m,h)=>u(h,m,d,!0)),l["Array,"+c]=r.referToSelf(d=>(m,h)=>u(t(m),h,d,!1).valueOf()),l[c+", Array"]=r.referToSelf(d=>(m,h)=>u(t(h),m,d,!0).valueOf())));var o=a.sS!==void 0?a.sS:a.Ss;return s?(a.Ss&&(l["SparseMatrix,"+c]=(d,m)=>a.Ss(d,m,s,!1)),o&&(l[c+", SparseMatrix"]=(d,m)=>o(m,d,s,!0))):(a.Ss&&(l["SparseMatrix,"+c]=r.referToSelf(d=>(m,h)=>a.Ss(m,h,d,!1))),o&&(l[c+", SparseMatrix"]=r.referToSelf(d=>(m,h)=>o(h,m,d,!0)))),s&&s.signatures&&sp(l,s.signatures),l}}),Bg="matAlgo01xDSid",Ig=["typed"],j0=Be(Bg,Ig,e=>{var{typed:r}=e;return function(n,u,i,a){var s=n._data,f=n._size,l=n._datatype||n.getDataType(),c=u._values,p=u._index,o=u._ptr,d=u._size,m=u._datatype||u._data===void 0?u._datatype:u.getDataType();if(f.length!==d.length)throw new qe(f.length,d.length);if(f[0]!==d[0]||f[1]!==d[1])throw new RangeError("Dimension mismatch. Matrix A ("+f+") must match Matrix B ("+d+")");if(!c)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var h=f[0],b=f[1],g=typeof l=="string"&&l!=="mixed"&&l===m?l:void 0,w=g?r.find(i,[g,g]):i,v,D,y=[];for(v=0;v<h;v++)y[v]=[];var E=[],A=[];for(D=0;D<b;D++){for(var C=D+1,F=o[D],x=o[D+1],T=F;T<x;T++)v=p[T],E[v]=a?w(c[T],s[v][D]):w(s[v][D],c[T]),A[v]=C;for(v=0;v<h;v++)A[v]===C?y[v][D]=E[v]:y[v][D]=s[v][D]}return n.createDenseMatrix({data:y,size:[h,b],datatype:l===n._datatype&&m===u._datatype?g:void 0})}}),Rg="matAlgo04xSidSid",kg=["typed","equalScalar"],Lg=Be(Rg,kg,e=>{var{typed:r,equalScalar:t}=e;return function(u,i,a){var s=u._values,f=u._index,l=u._ptr,c=u._size,p=u._datatype||u._data===void 0?u._datatype:u.getDataType(),o=i._values,d=i._index,m=i._ptr,h=i._size,b=i._datatype||i._data===void 0?i._datatype:i.getDataType();if(c.length!==h.length)throw new qe(c.length,h.length);if(c[0]!==h[0]||c[1]!==h[1])throw new RangeError("Dimension mismatch. Matrix A ("+c+") must match Matrix B ("+h+")");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=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=l[N],re=l[N+1],I=J;I<re;I++)B=f[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=d[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})}}),qg="matAlgo10xSids",$g=["typed","DenseMatrix"],z0=Be(qg,$g,e=>{var{typed:r,DenseMatrix:t}=e;return function(u,i,a,s){var f=u._values,l=u._index,c=u._ptr,p=u._size,o=u._datatype;if(!f)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var d=p[0],m=p[1],h,b=a;typeof o=="string"&&(h=o,i=r.convert(i,h),b=r.find(a,[h,h]));for(var g=[],w=[],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=l[C];w[F]=f[C],v[F]=y}for(var x=0;x<d;x++)D===0&&(g[x]=[]),v[x]===y?g[x][D]=s?b(i,w[x]):b(w[x],i):g[x][D]=i}return new t({data:g,size:[d,m],datatype:h})}}),H0="subtract",jg=["typed","matrix","equalScalar","subtractScalar","unaryMinus","DenseMatrix","concat"],zg=Be(H0,jg,e=>{var{typed:r,matrix:t,equalScalar:n,subtractScalar:u,unaryMinus:i,DenseMatrix:a,concat:s}=e,f=j0({typed:r}),l=Ag({typed:r}),c=Sg({typed:r,equalScalar:n}),p=z0({typed:r,DenseMatrix:a}),o=L0({typed:r,DenseMatrix:a}),d=$0({typed:r,matrix:t,concat:s});return r(H0,{"any, any":u},d({elop:u,SS:c,DS:f,SD:l,Ss:o,sS:p}))}),U0="concat",Hg=["typed","matrix","isInteger"],Ug=Be(U0,Hg,e=>{var{typed:r,matrix:t,isInteger:n}=e;return r(U0,{"...Array | Matrix | number | BigNumber":function(i){var a,s=i.length,f=-1,l,c=!1,p=[];for(a=0;a<s;a++){var o=i[a];if(Wt(o)&&(c=!0),et(o)||wt(o)){if(a!==s-1)throw new Error("Dimension must be specified as last argument");if(l=f,f=o.valueOf(),!n(f))throw new TypeError("Integer number expected for dimension");if(f<0||a>0&&f>l)throw new rn(f,l+1)}else{var d=Dt(o).valueOf(),m=sr(d);if(p[a]=d,l=f,f=m.length-1,a>0&&f!==l)throw new qe(l+1,f+1)}}if(p.length===0)throw new SyntaxError("At least one matrix expected");for(var h=p.shift();p.length;)h=x0(h,p.shift(),f);return c?t(h):h},"...string":function(i){return i.join("")}})}),V0="zeros",Vg=["typed","config","matrix","BigNumber"],Wg=Be(V0,Vg,e=>{var{typed:r,config:t,matrix:n,BigNumber:u}=e;return r(V0,{"":function(){return t.matrix==="Array"?i([]):i([],"default")},"...number | BigNumber | string":function(l){var c=l[l.length-1];if(typeof c=="string"){var p=l.pop();return i(l,p)}else return t.matrix==="Array"?i(l):i(l,"default")},Array:i,Matrix:function(l){var c=l.storage();return i(l.valueOf(),c)},"Array | Matrix, string":function(l,c){return i(l.valueOf(),c)}});function i(f,l){var c=a(f),p=c?new u(0):0;if(s(f),l){var o=n(l);return f.length>0?o.resize(f,p):o}else{var d=[];return f.length>0?Va(d,f,p):d}}function a(f){var l=!1;return f.forEach(function(c,p,o){wt(c)&&(l=!0,o[p]=c.toNumber())}),l}function s(f){f.forEach(function(l){if(typeof l!="number"||!gt(l)||l<0)throw new Error("Parameters in function zeros must be positive integers")})}}),vn="Number of decimals in function round must be an integer",W0="round",Yg=["typed","config","matrix","equalScalar","zeros","BigNumber","DenseMatrix"],Gg=Be(W0,Yg,e=>{var{typed:r,config:t,matrix:n,equalScalar:u,zeros:i,BigNumber:a,DenseMatrix:s}=e,f=bg({typed:r,equalScalar:u}),l=L0({typed:r,DenseMatrix:s}),c=q0({typed:r});function p(o){return Math.abs(Un(o).exponent)}return r(W0,{number:function(d){var m=Gn(d,p(t.relTol)),h=hn(d,m,t.relTol,t.absTol)?m:d;return Gn(h)},"number, number":function(d,m){var h=p(t.relTol);if(m>=h)return Gn(d,m);var b=Gn(d,h),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 h=m.toNumber();return d.round(h)},BigNumber:function(d){var m=new a(d).toDecimalPlaces(p(t.relTol)),h=Qa(d,m,t.relTol,t.absTol)?m:d;return h.toDecimalPlaces(0)},"BigNumber, BigNumber":function(d,m){if(!m.isInteger())throw new TypeError(vn);var h=p(t.relTol);if(m>=h)return d.toDecimalPlaces(m.toNumber());var b=d.toDecimalPlaces(h),g=Qa(d,b,t.relTol,t.absTol)?b:d;return g.toDecimalPlaces(m.toNumber())},bigint:o=>o,"bigint, number":(o,d)=>o,"bigint, BigNumber":(o,d)=>o,Fraction:function(d){return d.round()},"Fraction, number":function(d,m){if(m%1)throw new TypeError(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(o=>function(d,m,h){var b=d.toNumeric(h);return h.multiply(o(b,m))}),"Unit, BigNumber, Unit":r.referToSelf(o=>(d,m,h)=>o(d,m.toNumber(),h)),"Array | Matrix, number | BigNumber, Unit":r.referToSelf(o=>(d,m,h)=>Yn(d,b=>o(b,m,h),!0)),"Array | Matrix | Unit, Unit":r.referToSelf(o=>(d,m)=>o(d,0,m)),"Array | Matrix":r.referToSelf(o=>d=>Yn(d,o,!0)),"SparseMatrix, number | BigNumber":r.referToSelf(o=>(d,m)=>f(d,m,o,!1)),"DenseMatrix, number | BigNumber":r.referToSelf(o=>(d,m)=>c(d,m,o,!1)),"Array, number | BigNumber":r.referToSelf(o=>(d,m)=>c(n(d),m,o,!1).valueOf()),"number | Complex | BigNumber | Fraction, SparseMatrix":r.referToSelf(o=>(d,m)=>u(d,0)?i(m.size(),m.storage()):l(m,d,o,!0)),"number | Complex | BigNumber | Fraction, DenseMatrix":r.referToSelf(o=>(d,m)=>u(d,0)?i(m.size(),m.storage()):c(m,d,o,!0)),"number | Complex | BigNumber | Fraction, Array":r.referToSelf(o=>(d,m)=>c(n(m),d,o,!0).valueOf())})}),Y0="add",Xg=["typed","matrix","addScalar","equalScalar","DenseMatrix","SparseMatrix","concat"],Qg=Be(Y0,Xg,e=>{var{typed:r,matrix:t,addScalar:n,equalScalar:u,DenseMatrix:i,SparseMatrix:a,concat:s}=e,f=j0({typed:r}),l=Lg({typed:r,equalScalar:u}),c=z0({typed:r,DenseMatrix:i}),p=$0({typed:r,matrix:t,concat:s});return r(Y0,{"any, any":n,"any, any, ...any":r.referToSelf(o=>(d,m,h)=>{for(var b=o(d,m),g=0;g<h.length;g++)b=o(b,h[g]);return b})},p({elop:n,DS:f,SS:l,Ss:c}))}),Za=mm({config:Hn}),Zg=wm({}),Jg=Sm({}),Ja=Om({}),Xn=Vm({Matrix:Ja}),jt=yp({BigNumber:Za,Complex:Zg,DenseMatrix:Xn,Fraction:Jg}),Kg=dg({typed:jt}),Xu=Jm({config:Hn,typed:jt}),eb=Ym({typed:jt}),tb=ag({typed:jt}),G0=tg({Matrix:Ja,equalScalar:Xu,typed:jt}),rb=pg({typed:jt}),Qn=og({DenseMatrix:Xn,Matrix:Ja,SparseMatrix:G0,typed:jt}),nb=Wg({BigNumber:Za,config:Hn,matrix:Qn,typed:jt}),X0=Ug({isInteger:eb,matrix:Qn,typed:jt}),ub=Gg({BigNumber:Za,DenseMatrix:Xn,config:Hn,equalScalar:Xu,matrix:Qn,typed:jt,zeros:nb}),ib=lg({typed:jt}),ab=Qg({DenseMatrix:Xn,SparseMatrix:G0,addScalar:Kg,concat:X0,equalScalar:Xu,matrix:Qn,typed:jt}),sb=zg({DenseMatrix:Xn,concat:X0,equalScalar:Xu,matrix:Qn,subtractScalar:rb,typed:jt,unaryMinus:ib}),Qu={exports:{}},We={};/**
90
+ (`+kt(C,h)+", "+kt(D,h)+") ==> "+(this._values?kt(this._values[A],h):"X")}return v},u.prototype.toString=function(){return kt(this.toArray())},u.prototype.toJSON=function(){return{mathjs:"SparseMatrix",values:this._values,index:this._index,ptr:this._ptr,size:this._size,datatype:this._datatype}},u.prototype.diagonal=function(h){if(h){if(wt(h)&&(h=h.toNumber()),!et(h)||!gt(h))throw new TypeError("The parameter k must be an integer number")}else h=0;var b=h>0?h:0,g=h<0?-h:0,w=this._size[0],v=this._size[1],D=Math.min(w-g,v-b),y=[],E=[],A=[];A[0]=0;for(var C=b;C<v&&y.length<D;C++)for(var 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(h){return new u(h)},u.diagonal=function(h,b,g,w,v){if(!yt(h))throw new TypeError("Array expected, size parameter");if(h.length!==2)throw new Error("Only two dimensions matrix are supported");if(h=h.map(function(ie){if(wt(ie)&&(ie=ie.toNumber()),!et(ie)||!gt(ie)||ie<1)throw new Error("Size values must be positive integers");return ie}),g){if(wt(g)&&(g=g.toNumber()),!et(g)||!gt(g))throw new TypeError("The parameter k must be an integer number")}else g=0;var D=t,y=0;dr(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=h[0],F=h[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(h,b){if(!et(h)||!gt(h)||!et(b)||!gt(b))throw new Error("Row index must be positive integers");if(this._size.length!==2)throw new Error("Only two dimensional matrix is supported");return ot(h,this._size[0]),ot(b,this._size[0]),u._swapRows(h,b,this._size[1],this._values,this._index,this._ptr),this},u._forEachRow=function(h,b,g,w,v){for(var D=w[h],y=w[h+1],E=D;E<y;E++)v(g[E],b[E])},u._swapRows=function(h,b,g,w,v,D){for(var y=0;y<g;y++){var E=D[y],A=D[y+1],C=l(h,E,A,v),F=l(b,E,A,v);if(C<A&&F<A&&v[C]===h&&v[F]===b){if(w){var x=w[C];w[C]=w[F],w[F]=x}continue}if(C<A&&v[C]===h&&(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]!==h)){var _=w?w[F]:void 0;v.splice(C,0,h),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=Be(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,s=u.match(/(0[box][0-9a-fA-F]*)i([0-9]*)/);s&&(a=Number(s[2]),u=s[1]);var d=Number(u);if(isNaN(d))throw new SyntaxError('String "'+u+'" is not a valid number');if(s){if(d>2**a-1)throw new SyntaxError('String "'.concat(u,'" is out of range'));d>=2**(a-1)&&(d=d-2**a)}return d},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}),B0="matrix",sg=["typed","Matrix","DenseMatrix","SparseMatrix"],og=Be(B0,sg,e=>{var{typed:r,Matrix:t,DenseMatrix:n,SparseMatrix:u}=e;return r(B0,{"":function(){return i([])},string:function(s){return i([],s)},"string, string":function(s,d){return i([],s,d)},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,d){if(s==="dense"||s==="default"||s===void 0)return new n(a,d);if(s==="sparse")return new u(a,d);throw new TypeError("Unknown matrix type "+JSON.stringify(s)+".")}}),I0="unaryMinus",cg=["typed"],lg=Be(I0,cg,e=>{var{typed:r}=e;return r(I0,{number:P0,"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))})}),R0="addScalar",fg=["typed"],dg=Be(R0,fg,e=>{var{typed:r}=e;return r(R0,{"number, number":N0,"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})})}),k0="subtractScalar",hg=["typed"],pg=Be(k0,hg,e=>{var{typed:r}=e;return r(k0,{"number, number":M0,"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=Be(mg,gg,e=>{var{typed:r,equalScalar:t}=e;return function(u,i,a,s){var d=u._values,l=u._index,c=u._ptr,p=u._size,o=u._datatype;if(!d)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var f=p[0],m=p[1],h,b=t,g=0,w=a;typeof o=="string"&&(h=o,b=r.find(t,[h,h]),g=r.convert(0,h),i=r.convert(i,h),w=r.find(a,[h,h]));for(var 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=l[F],T=s?w(i,d[F]):w(d[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:h})}}),yg="matAlgo12xSfs",vg=["typed","DenseMatrix"],L0=Be(yg,vg,e=>{var{typed:r,DenseMatrix:t}=e;return function(u,i,a,s){var d=u._values,l=u._index,c=u._ptr,p=u._size,o=u._datatype;if(!d)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var f=p[0],m=p[1],h,b=a;typeof o=="string"&&(h=o,i=r.convert(i,h),b=r.find(a,[h,h]));for(var g=[],w=[],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=l[C];w[F]=d[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:h})}}),wg="matAlgo14xDs",Dg=["typed"],q0=Be(wg,Dg,e=>{var{typed:r}=e;return function(u,i,a,s){var d=u._data,l=u._size,c=u._datatype,p,o=a;typeof c=="string"&&(p=c,i=r.convert(i,p),o=r.find(a,[p,p]));var f=l.length>0?t(o,0,l,l[0],d,i,s):[];return u.createDenseMatrix({data:f,size:Dt(l),datatype:p})};function t(n,u,i,a,s,d,l){var c=[];if(u===i.length-1)for(var p=0;p<a;p++)c[p]=l?n(d,s[p]):n(s[p],d);else for(var o=0;o<a;o++)c[o]=t(n,u+1,i,i[u+1],s[o],d,l);return c}}),Eg="matAlgo03xDSf",xg=["typed"],Ag=Be(Eg,xg,e=>{var{typed:r}=e;return function(n,u,i,a){var s=n._data,d=n._size,l=n._datatype||n.getDataType(),c=u._values,p=u._index,o=u._ptr,f=u._size,m=u._datatype||u._data===void 0?u._datatype:u.getDataType();if(d.length!==f.length)throw new qe(d.length,f.length);if(d[0]!==f[0]||d[1]!==f[1])throw new RangeError("Dimension mismatch. Matrix A ("+d+") must match Matrix B ("+f+")");if(!c)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var h=d[0],b=d[1],g,w=0,v=i;typeof l=="string"&&l===m&&l!=="mixed"&&(g=l,w=r.convert(0,g),v=r.find(i,[g,g]));for(var D=[],y=0;y<h;y++)D[y]=[];for(var E=[],A=[],C=0;C<b;C++){for(var F=C+1,x=o[C],T=o[C+1],_=x;_<T;_++){var P=p[_];E[P]=a?v(c[_],s[P][C]):v(s[P][C],c[_]),A[P]=F}for(var B=0;B<h;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:[h,b],datatype:l===n._datatype&&m===u._datatype?g:void 0})}}),Cg="matAlgo05xSfSf",Tg=["typed","equalScalar"],Sg=Be(Cg,Tg,e=>{var{typed:r,equalScalar:t}=e;return function(u,i,a){var s=u._values,d=u._index,l=u._ptr,c=u._size,p=u._datatype||u._data===void 0?u._datatype:u.getDataType(),o=i._values,f=i._index,m=i._ptr,h=i._size,b=i._datatype||i._data===void 0?i._datatype:i.getDataType();if(c.length!==h.length)throw new qe(c.length,h.length);if(c[0]!==h[0]||c[1]!==h[1])throw new RangeError("Dimension mismatch. Matrix A ("+c+") must match Matrix B ("+h+")");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=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=l[N],J=l[N+1];I<J;I++)B=d[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})}}),Fg="matAlgo13xDD",_g=["typed"],Og=Be(Fg,_g,e=>{var{typed:r}=e;return function(u,i,a){var s=u._data,d=u._size,l=u._datatype,c=i._data,p=i._size,o=i._datatype,f=[];if(d.length!==p.length)throw new qe(d.length,p.length);for(var m=0;m<d.length;m++){if(d[m]!==p[m])throw new RangeError("Dimension mismatch. Matrix A ("+d+") must match Matrix B ("+p+")");f[m]=d[m]}var h,b=a;typeof l=="string"&&l===o&&(h=l,b=r.find(a,[h,h]));var g=f.length>0?t(b,0,f,f[0],s,c):[];return u.createDenseMatrix({data:g,size:f,datatype:h})};function t(n,u,i,a,s,d){var l=[];if(u===i.length-1)for(var c=0;c<a;c++)l[c]=n(s[c],d[c]);else for(var p=0;p<a;p++)l[p]=t(n,u+1,i,i[u+1],s[p],d[p]);return l}});function xt(e,r){if(Br(e.size(),r.size()))return[e,r];var t=A0(e.size(),r.size());return[e,r].map(n=>Ng(n,t))}function Ng(e,r){return Br(e.size(),r)?e:e.create(Xa(e.valueOf(),r),e.datatype())}var Mg="matrixAlgorithmSuite",Pg=["typed","matrix"],$0=Be(Mg,Pg,e=>{var{typed:r,matrix:t}=e,n=Og({typed:r}),u=q0({typed:r});return function(a){var s=a.elop,d=a.SD||a.DS,l;s?(l={"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&&(l["SparseMatrix, SparseMatrix"]=(f,m)=>a.SS(...xt(f,m),s,!1)),a.DS&&(l["DenseMatrix, SparseMatrix"]=(f,m)=>a.DS(...xt(f,m),s,!1),l["Array, SparseMatrix"]=(f,m)=>a.DS(...xt(t(f),m),s,!1)),d&&(l["SparseMatrix, DenseMatrix"]=(f,m)=>d(...xt(m,f),s,!0),l["SparseMatrix, Array"]=(f,m)=>d(...xt(t(m),f),s,!0))):(l={"DenseMatrix, DenseMatrix":r.referToSelf(f=>(m,h)=>n(...xt(m,h),f)),"Array, Array":r.referToSelf(f=>(m,h)=>n(...xt(t(m),t(h)),f).valueOf()),"Array, DenseMatrix":r.referToSelf(f=>(m,h)=>n(...xt(t(m),h),f)),"DenseMatrix, Array":r.referToSelf(f=>(m,h)=>n(...xt(m,t(h)),f))},a.SS&&(l["SparseMatrix, SparseMatrix"]=r.referToSelf(f=>(m,h)=>a.SS(...xt(m,h),f,!1))),a.DS&&(l["DenseMatrix, SparseMatrix"]=r.referToSelf(f=>(m,h)=>a.DS(...xt(m,h),f,!1)),l["Array, SparseMatrix"]=r.referToSelf(f=>(m,h)=>a.DS(...xt(t(m),h),f,!1))),d&&(l["SparseMatrix, DenseMatrix"]=r.referToSelf(f=>(m,h)=>d(...xt(h,m),f,!0)),l["SparseMatrix, Array"]=r.referToSelf(f=>(m,h)=>d(...xt(t(h),m),f,!0))));var c=a.scalar||"any",p=a.Ds||a.Ss;p&&(s?(l["DenseMatrix,"+c]=(f,m)=>u(f,m,s,!1),l[c+", DenseMatrix"]=(f,m)=>u(m,f,s,!0),l["Array,"+c]=(f,m)=>u(t(f),m,s,!1).valueOf(),l[c+", Array"]=(f,m)=>u(t(m),f,s,!0).valueOf()):(l["DenseMatrix,"+c]=r.referToSelf(f=>(m,h)=>u(m,h,f,!1)),l[c+", DenseMatrix"]=r.referToSelf(f=>(m,h)=>u(h,m,f,!0)),l["Array,"+c]=r.referToSelf(f=>(m,h)=>u(t(m),h,f,!1).valueOf()),l[c+", Array"]=r.referToSelf(f=>(m,h)=>u(t(h),m,f,!0).valueOf())));var o=a.sS!==void 0?a.sS:a.Ss;return s?(a.Ss&&(l["SparseMatrix,"+c]=(f,m)=>a.Ss(f,m,s,!1)),o&&(l[c+", SparseMatrix"]=(f,m)=>o(m,f,s,!0))):(a.Ss&&(l["SparseMatrix,"+c]=r.referToSelf(f=>(m,h)=>a.Ss(m,h,f,!1))),o&&(l[c+", SparseMatrix"]=r.referToSelf(f=>(m,h)=>o(h,m,f,!0)))),s&&s.signatures&&sp(l,s.signatures),l}}),Bg="matAlgo01xDSid",Ig=["typed"],j0=Be(Bg,Ig,e=>{var{typed:r}=e;return function(n,u,i,a){var s=n._data,d=n._size,l=n._datatype||n.getDataType(),c=u._values,p=u._index,o=u._ptr,f=u._size,m=u._datatype||u._data===void 0?u._datatype:u.getDataType();if(d.length!==f.length)throw new qe(d.length,f.length);if(d[0]!==f[0]||d[1]!==f[1])throw new RangeError("Dimension mismatch. Matrix A ("+d+") must match Matrix B ("+f+")");if(!c)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var h=d[0],b=d[1],g=typeof l=="string"&&l!=="mixed"&&l===m?l:void 0,w=g?r.find(i,[g,g]):i,v,D,y=[];for(v=0;v<h;v++)y[v]=[];var E=[],A=[];for(D=0;D<b;D++){for(var C=D+1,F=o[D],x=o[D+1],T=F;T<x;T++)v=p[T],E[v]=a?w(c[T],s[v][D]):w(s[v][D],c[T]),A[v]=C;for(v=0;v<h;v++)A[v]===C?y[v][D]=E[v]:y[v][D]=s[v][D]}return n.createDenseMatrix({data:y,size:[h,b],datatype:l===n._datatype&&m===u._datatype?g:void 0})}}),Rg="matAlgo04xSidSid",kg=["typed","equalScalar"],Lg=Be(Rg,kg,e=>{var{typed:r,equalScalar:t}=e;return function(u,i,a){var s=u._values,d=u._index,l=u._ptr,c=u._size,p=u._datatype||u._data===void 0?u._datatype:u.getDataType(),o=i._values,f=i._index,m=i._ptr,h=i._size,b=i._datatype||i._data===void 0?i._datatype:i.getDataType();if(c.length!==h.length)throw new qe(c.length,h.length);if(c[0]!==h[0]||c[1]!==h[1])throw new RangeError("Dimension mismatch. Matrix A ("+c+") must match Matrix B ("+h+")");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=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=l[N],re=l[N+1],I=J;I<re;I++)B=d[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})}}),qg="matAlgo10xSids",$g=["typed","DenseMatrix"],z0=Be(qg,$g,e=>{var{typed:r,DenseMatrix:t}=e;return function(u,i,a,s){var d=u._values,l=u._index,c=u._ptr,p=u._size,o=u._datatype;if(!d)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var f=p[0],m=p[1],h,b=a;typeof o=="string"&&(h=o,i=r.convert(i,h),b=r.find(a,[h,h]));for(var g=[],w=[],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=l[C];w[F]=d[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:h})}}),H0="subtract",jg=["typed","matrix","equalScalar","subtractScalar","unaryMinus","DenseMatrix","concat"],zg=Be(H0,jg,e=>{var{typed:r,matrix:t,equalScalar:n,subtractScalar:u,unaryMinus:i,DenseMatrix:a,concat:s}=e,d=j0({typed:r}),l=Ag({typed:r}),c=Sg({typed:r,equalScalar:n}),p=z0({typed:r,DenseMatrix:a}),o=L0({typed:r,DenseMatrix:a}),f=$0({typed:r,matrix:t,concat:s});return r(H0,{"any, any":u},f({elop:u,SS:c,DS:d,SD:l,Ss:o,sS:p}))}),U0="concat",Hg=["typed","matrix","isInteger"],Ug=Be(U0,Hg,e=>{var{typed:r,matrix:t,isInteger:n}=e;return r(U0,{"...Array | Matrix | number | BigNumber":function(i){var a,s=i.length,d=-1,l,c=!1,p=[];for(a=0;a<s;a++){var o=i[a];if(Wt(o)&&(c=!0),et(o)||wt(o)){if(a!==s-1)throw new Error("Dimension must be specified as last argument");if(l=d,d=o.valueOf(),!n(d))throw new TypeError("Integer number expected for dimension");if(d<0||a>0&&d>l)throw new rn(d,l+1)}else{var f=Dt(o).valueOf(),m=sr(f);if(p[a]=f,l=d,d=m.length-1,a>0&&d!==l)throw new qe(l+1,d+1)}}if(p.length===0)throw new SyntaxError("At least one matrix expected");for(var h=p.shift();p.length;)h=x0(h,p.shift(),d);return c?t(h):h},"...string":function(i){return i.join("")}})}),V0="zeros",Vg=["typed","config","matrix","BigNumber"],Wg=Be(V0,Vg,e=>{var{typed:r,config:t,matrix:n,BigNumber:u}=e;return r(V0,{"":function(){return t.matrix==="Array"?i([]):i([],"default")},"...number | BigNumber | string":function(l){var c=l[l.length-1];if(typeof c=="string"){var p=l.pop();return i(l,p)}else return t.matrix==="Array"?i(l):i(l,"default")},Array:i,Matrix:function(l){var c=l.storage();return i(l.valueOf(),c)},"Array | Matrix, string":function(l,c){return i(l.valueOf(),c)}});function i(d,l){var c=a(d),p=c?new u(0):0;if(s(d),l){var o=n(l);return d.length>0?o.resize(d,p):o}else{var f=[];return d.length>0?Va(f,d,p):f}}function a(d){var l=!1;return d.forEach(function(c,p,o){wt(c)&&(l=!0,o[p]=c.toNumber())}),l}function s(d){d.forEach(function(l){if(typeof l!="number"||!gt(l)||l<0)throw new Error("Parameters in function zeros must be positive integers")})}}),vn="Number of decimals in function round must be an integer",W0="round",Yg=["typed","config","matrix","equalScalar","zeros","BigNumber","DenseMatrix"],Gg=Be(W0,Yg,e=>{var{typed:r,config:t,matrix:n,equalScalar:u,zeros:i,BigNumber:a,DenseMatrix:s}=e,d=bg({typed:r,equalScalar:u}),l=L0({typed:r,DenseMatrix:s}),c=q0({typed:r});function p(o){return Math.abs(Un(o).exponent)}return r(W0,{number:function(f){var m=Gn(f,p(t.relTol)),h=hn(f,m,t.relTol,t.absTol)?m:f;return Gn(h)},"number, number":function(f,m){var h=p(t.relTol);if(m>=h)return Gn(f,m);var b=Gn(f,h),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 h=m.toNumber();return f.round(h)},BigNumber:function(f){var m=new a(f).toDecimalPlaces(p(t.relTol)),h=Qa(f,m,t.relTol,t.absTol)?m:f;return h.toDecimalPlaces(0)},"BigNumber, BigNumber":function(f,m){if(!m.isInteger())throw new TypeError(vn);var h=p(t.relTol);if(m>=h)return f.toDecimalPlaces(m.toNumber());var b=f.toDecimalPlaces(h),g=Qa(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,h){var b=f.toNumeric(h);return h.multiply(o(b,m))}),"Unit, BigNumber, Unit":r.referToSelf(o=>(f,m,h)=>o(f,m.toNumber(),h)),"Array | Matrix, number | BigNumber, Unit":r.referToSelf(o=>(f,m,h)=>Yn(f,b=>o(b,m,h),!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)=>d(f,m,o,!1)),"DenseMatrix, number | BigNumber":r.referToSelf(o=>(f,m)=>c(f,m,o,!1)),"Array, number | BigNumber":r.referToSelf(o=>(f,m)=>c(n(f),m,o,!1).valueOf()),"number | Complex | BigNumber | Fraction, SparseMatrix":r.referToSelf(o=>(f,m)=>u(f,0)?i(m.size(),m.storage()):l(m,f,o,!0)),"number | Complex | BigNumber | Fraction, DenseMatrix":r.referToSelf(o=>(f,m)=>u(f,0)?i(m.size(),m.storage()):c(m,f,o,!0)),"number | Complex | BigNumber | Fraction, Array":r.referToSelf(o=>(f,m)=>c(n(m),f,o,!0).valueOf())})}),Y0="add",Xg=["typed","matrix","addScalar","equalScalar","DenseMatrix","SparseMatrix","concat"],Qg=Be(Y0,Xg,e=>{var{typed:r,matrix:t,addScalar:n,equalScalar:u,DenseMatrix:i,SparseMatrix:a,concat:s}=e,d=j0({typed:r}),l=Lg({typed:r,equalScalar:u}),c=z0({typed:r,DenseMatrix:i}),p=$0({typed:r,matrix:t,concat:s});return r(Y0,{"any, any":n,"any, any, ...any":r.referToSelf(o=>(f,m,h)=>{for(var b=o(f,m),g=0;g<h.length;g++)b=o(b,h[g]);return b})},p({elop:n,DS:d,SS:l,Ss:c}))}),Za=mm({config:Hn}),Zg=wm({}),Jg=Sm({}),Ja=Om({}),Xn=Vm({Matrix:Ja}),jt=yp({BigNumber:Za,Complex:Zg,DenseMatrix:Xn,Fraction:Jg}),Kg=dg({typed:jt}),Xu=Jm({config:Hn,typed:jt}),eb=Ym({typed:jt}),tb=ag({typed:jt}),G0=tg({Matrix:Ja,equalScalar:Xu,typed:jt}),rb=pg({typed:jt}),Qn=og({DenseMatrix:Xn,Matrix:Ja,SparseMatrix:G0,typed:jt}),nb=Wg({BigNumber:Za,config:Hn,matrix:Qn,typed:jt}),X0=Ug({isInteger:eb,matrix:Qn,typed:jt}),ub=Gg({BigNumber:Za,DenseMatrix:Xn,config:Hn,equalScalar:Xu,matrix:Qn,typed:jt,zeros:nb}),ib=lg({typed:jt}),ab=Qg({DenseMatrix:Xn,SparseMatrix:G0,addScalar:Kg,concat:X0,equalScalar:Xu,matrix:Qn,typed:jt}),sb=zg({DenseMatrix:Xn,concat:X0,equalScalar:Xu,matrix:Qn,subtractScalar:rb,typed:jt,unaryMinus:ib}),Qu={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 Q0;function ob(){if(Q0)return We;Q0=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"),f=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),o=Symbol.for("react.offscreen"),d=Symbol.for("react.client.reference");function m(h){if(typeof h=="object"&&h!==null){var b=h.$$typeof;switch(b){case e:switch(h=h.type,h){case t:case u:case n:case f:case l:return h;default:switch(h=h&&h.$$typeof,h){case a:case s:case p:case c:return h;case i:return h;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=c,We.Portal=r,We.Profiler=u,We.StrictMode=n,We.Suspense=f,We.SuspenseList=l,We.isContextConsumer=function(h){return m(h)===i},We.isContextProvider=function(h){return m(h)===a},We.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===e},We.isForwardRef=function(h){return m(h)===s},We.isFragment=function(h){return m(h)===t},We.isLazy=function(h){return m(h)===p},We.isMemo=function(h){return m(h)===c},We.isPortal=function(h){return m(h)===r},We.isProfiler=function(h){return m(h)===u},We.isStrictMode=function(h){return m(h)===n},We.isSuspense=function(h){return m(h)===f},We.isSuspenseList=function(h){return m(h)===l},We.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===t||h===u||h===n||h===f||h===l||h===o||typeof h=="object"&&h!==null&&(h.$$typeof===p||h.$$typeof===c||h.$$typeof===a||h.$$typeof===i||h.$$typeof===s||h.$$typeof===d||h.getModuleId!==void 0)},We.typeOf=m,We}var Ye={};/**
98
+ */var Q0;function ob(){if(Q0)return We;Q0=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"),d=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),o=Symbol.for("react.offscreen"),f=Symbol.for("react.client.reference");function m(h){if(typeof h=="object"&&h!==null){var b=h.$$typeof;switch(b){case e:switch(h=h.type,h){case t:case u:case n:case d:case l:return h;default:switch(h=h&&h.$$typeof,h){case a:case s:case p:case c:return h;case i:return h;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=c,We.Portal=r,We.Profiler=u,We.StrictMode=n,We.Suspense=d,We.SuspenseList=l,We.isContextConsumer=function(h){return m(h)===i},We.isContextProvider=function(h){return m(h)===a},We.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===e},We.isForwardRef=function(h){return m(h)===s},We.isFragment=function(h){return m(h)===t},We.isLazy=function(h){return m(h)===p},We.isMemo=function(h){return m(h)===c},We.isPortal=function(h){return m(h)===r},We.isProfiler=function(h){return m(h)===u},We.isStrictMode=function(h){return m(h)===n},We.isSuspense=function(h){return m(h)===d},We.isSuspenseList=function(h){return m(h)===l},We.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===t||h===u||h===n||h===d||h===l||h===o||typeof h=="object"&&h!==null&&(h.$$typeof===p||h.$$typeof===c||h.$$typeof===a||h.$$typeof===i||h.$$typeof===s||h.$$typeof===f||h.getModuleId!==void 0)},We.typeOf=m,We}var Ye={};/**
99
99
  * @license React
100
100
  * react-is.development.js
101
101
  *
@@ -103,39 +103,39 @@ 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 Z0;function cb(){return Z0||(Z0=1,process.env.NODE_ENV!=="production"&&function(){function e(h){if(typeof h=="object"&&h!==null){var b=h.$$typeof;switch(b){case r:switch(h=h.type,h){case n:case i:case u:case l:case c:return h;default:switch(h=h&&h.$$typeof,h){case s:case f:case o:case p:return h;case a:return h;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"),f=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),o=Symbol.for("react.lazy"),d=Symbol.for("react.offscreen"),m=Symbol.for("react.client.reference");Ye.ContextConsumer=a,Ye.ContextProvider=s,Ye.Element=r,Ye.ForwardRef=f,Ye.Fragment=n,Ye.Lazy=o,Ye.Memo=p,Ye.Portal=t,Ye.Profiler=i,Ye.StrictMode=u,Ye.Suspense=l,Ye.SuspenseList=c,Ye.isContextConsumer=function(h){return e(h)===a},Ye.isContextProvider=function(h){return e(h)===s},Ye.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===r},Ye.isForwardRef=function(h){return e(h)===f},Ye.isFragment=function(h){return e(h)===n},Ye.isLazy=function(h){return e(h)===o},Ye.isMemo=function(h){return e(h)===p},Ye.isPortal=function(h){return e(h)===t},Ye.isProfiler=function(h){return e(h)===i},Ye.isStrictMode=function(h){return e(h)===u},Ye.isSuspense=function(h){return e(h)===l},Ye.isSuspenseList=function(h){return e(h)===c},Ye.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===n||h===i||h===u||h===l||h===c||h===d||typeof h=="object"&&h!==null&&(h.$$typeof===o||h.$$typeof===p||h.$$typeof===s||h.$$typeof===a||h.$$typeof===f||h.$$typeof===m||h.getModuleId!==void 0)},Ye.typeOf=e}()),Ye}var J0;function lb(){return J0||(J0=1,process.env.NODE_ENV==="production"?Qu.exports=ob():Qu.exports=cb()),Qu.exports}var Zu=lb();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 K0(e){if(At.isValidElement(e)||Zu.isValidElementType(e)||!Sr(e))return e;const r={};return Object.keys(e).forEach(t=>{r[t]=K0(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])||Zu.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])?K0(r[u]):r[u]:n[u]=r[u]}),n}var Ju={exports:{}},Ku={exports:{}},$e={};/** @license React v16.13.1
106
+ */var Z0;function cb(){return Z0||(Z0=1,process.env.NODE_ENV!=="production"&&function(){function e(h){if(typeof h=="object"&&h!==null){var b=h.$$typeof;switch(b){case r:switch(h=h.type,h){case n:case i:case u:case l:case c:return h;default:switch(h=h&&h.$$typeof,h){case s:case d:case o:case p:return h;case a:return h;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"),d=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=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=d,Ye.Fragment=n,Ye.Lazy=o,Ye.Memo=p,Ye.Portal=t,Ye.Profiler=i,Ye.StrictMode=u,Ye.Suspense=l,Ye.SuspenseList=c,Ye.isContextConsumer=function(h){return e(h)===a},Ye.isContextProvider=function(h){return e(h)===s},Ye.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===r},Ye.isForwardRef=function(h){return e(h)===d},Ye.isFragment=function(h){return e(h)===n},Ye.isLazy=function(h){return e(h)===o},Ye.isMemo=function(h){return e(h)===p},Ye.isPortal=function(h){return e(h)===t},Ye.isProfiler=function(h){return e(h)===i},Ye.isStrictMode=function(h){return e(h)===u},Ye.isSuspense=function(h){return e(h)===l},Ye.isSuspenseList=function(h){return e(h)===c},Ye.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===n||h===i||h===u||h===l||h===c||h===f||typeof h=="object"&&h!==null&&(h.$$typeof===o||h.$$typeof===p||h.$$typeof===s||h.$$typeof===a||h.$$typeof===d||h.$$typeof===m||h.getModuleId!==void 0)},Ye.typeOf=e}()),Ye}var J0;function lb(){return J0||(J0=1,process.env.NODE_ENV==="production"?Qu.exports=ob():Qu.exports=cb()),Qu.exports}var Zu=lb();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 K0(e){if(At.isValidElement(e)||Zu.isValidElementType(e)||!Sr(e))return e;const r={};return Object.keys(e).forEach(t=>{r[t]=K0(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])||Zu.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])?K0(r[u]):r[u]:n[u]=r[u]}),n}var Ju={exports:{}},Ku={exports:{}},$e={};/** @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 el;function fb(){if(el)return $e;el=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,f=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,o=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function v(y){if(typeof y=="object"&&y!==null){var E=y.$$typeof;switch(E){case r:switch(y=y.type,y){case f:case l:case n:case i:case u:case p:return y;default:switch(y=y&&y.$$typeof,y){case s:case c:case m:case d:case a:return y;default:return E}}case t:return E}}}function D(y){return v(y)===l}return $e.AsyncMode=f,$e.ConcurrentMode=l,$e.ContextConsumer=s,$e.ContextProvider=a,$e.Element=r,$e.ForwardRef=c,$e.Fragment=n,$e.Lazy=m,$e.Memo=d,$e.Portal=t,$e.Profiler=i,$e.StrictMode=u,$e.Suspense=p,$e.isAsyncMode=function(y){return D(y)||v(y)===f},$e.isConcurrentMode=D,$e.isContextConsumer=function(y){return v(y)===s},$e.isContextProvider=function(y){return v(y)===a},$e.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===r},$e.isForwardRef=function(y){return v(y)===c},$e.isFragment=function(y){return v(y)===n},$e.isLazy=function(y){return v(y)===m},$e.isMemo=function(y){return v(y)===d},$e.isPortal=function(y){return v(y)===t},$e.isProfiler=function(y){return v(y)===i},$e.isStrictMode=function(y){return v(y)===u},$e.isSuspense=function(y){return v(y)===p},$e.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===n||y===l||y===i||y===u||y===p||y===o||typeof y=="object"&&y!==null&&(y.$$typeof===m||y.$$typeof===d||y.$$typeof===a||y.$$typeof===s||y.$$typeof===c||y.$$typeof===b||y.$$typeof===g||y.$$typeof===w||y.$$typeof===h)},$e.typeOf=v,$e}var je={};/** @license React v16.13.1
113
+ */var el;function fb(){if(el)return $e;el=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,d=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=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,h=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function v(y){if(typeof y=="object"&&y!==null){var E=y.$$typeof;switch(E){case r:switch(y=y.type,y){case d:case l:case n:case i:case u:case p:return y;default:switch(y=y&&y.$$typeof,y){case s:case c:case m:case f:case a:return y;default:return E}}case t:return E}}}function D(y){return v(y)===l}return $e.AsyncMode=d,$e.ConcurrentMode=l,$e.ContextConsumer=s,$e.ContextProvider=a,$e.Element=r,$e.ForwardRef=c,$e.Fragment=n,$e.Lazy=m,$e.Memo=f,$e.Portal=t,$e.Profiler=i,$e.StrictMode=u,$e.Suspense=p,$e.isAsyncMode=function(y){return D(y)||v(y)===d},$e.isConcurrentMode=D,$e.isContextConsumer=function(y){return v(y)===s},$e.isContextProvider=function(y){return v(y)===a},$e.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===r},$e.isForwardRef=function(y){return v(y)===c},$e.isFragment=function(y){return v(y)===n},$e.isLazy=function(y){return v(y)===m},$e.isMemo=function(y){return v(y)===f},$e.isPortal=function(y){return v(y)===t},$e.isProfiler=function(y){return v(y)===i},$e.isStrictMode=function(y){return v(y)===u},$e.isSuspense=function(y){return v(y)===p},$e.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===n||y===l||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===c||y.$$typeof===b||y.$$typeof===g||y.$$typeof===w||y.$$typeof===h)},$e.typeOf=v,$e}var je={};/** @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 tl;function db(){return tl||(tl=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,f=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,o=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function v(k){return typeof k=="string"||typeof k=="function"||k===n||k===l||k===i||k===u||k===p||k===o||typeof k=="object"&&k!==null&&(k.$$typeof===m||k.$$typeof===d||k.$$typeof===a||k.$$typeof===s||k.$$typeof===c||k.$$typeof===b||k.$$typeof===g||k.$$typeof===w||k.$$typeof===h)}function D(k){if(typeof k=="object"&&k!==null){var W=k.$$typeof;switch(W){case r:var me=k.type;switch(me){case f:case l:case n:case i:case u:case p:return me;default:var tt=me&&me.$$typeof;switch(tt){case s:case c:case m:case d:case a:return tt;default:return W}}case t:return W}}}var y=f,E=l,A=s,C=a,F=r,x=c,T=n,_=m,P=d,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)===f}function L(k){return D(k)===l}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)===c}function de(k){return D(k)===n}function he(k){return D(k)===m}function oe(k){return D(k)===d}function be(k){return D(k)===t}function ye(k){return D(k)===i}function ve(k){return D(k)===u}function q(k){return D(k)===p}je.AsyncMode=y,je.ConcurrentMode=E,je.ContextConsumer=A,je.ContextProvider=C,je.Element=F,je.ForwardRef=x,je.Fragment=T,je.Lazy=_,je.Memo=P,je.Portal=B,je.Profiler=N,je.StrictMode=I,je.Suspense=J,je.isAsyncMode=ie,je.isConcurrentMode=L,je.isContextConsumer=Z,je.isContextProvider=ce,je.isElement=Y,je.isForwardRef=se,je.isFragment=de,je.isLazy=he,je.isMemo=oe,je.isPortal=be,je.isProfiler=ye,je.isStrictMode=ve,je.isSuspense=q,je.isValidElementType=v,je.typeOf=D}()),je}var rl;function nl(){return rl||(rl=1,process.env.NODE_ENV==="production"?Ku.exports=fb():Ku.exports=db()),Ku.exports}/*
120
+ */var tl;function db(){return tl||(tl=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,d=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=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,h=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function v(k){return typeof k=="string"||typeof k=="function"||k===n||k===l||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===c||k.$$typeof===b||k.$$typeof===g||k.$$typeof===w||k.$$typeof===h)}function D(k){if(typeof k=="object"&&k!==null){var W=k.$$typeof;switch(W){case r:var me=k.type;switch(me){case d:case l:case n:case i:case u:case p:return me;default:var tt=me&&me.$$typeof;switch(tt){case s:case c:case m:case f:case a:return tt;default:return W}}case t:return W}}}var y=d,E=l,A=s,C=a,F=r,x=c,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)===d}function L(k){return D(k)===l}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)===c}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}je.AsyncMode=y,je.ConcurrentMode=E,je.ContextConsumer=A,je.ContextProvider=C,je.Element=F,je.ForwardRef=x,je.Fragment=T,je.Lazy=_,je.Memo=P,je.Portal=B,je.Profiler=N,je.StrictMode=I,je.Suspense=J,je.isAsyncMode=ie,je.isConcurrentMode=L,je.isContextConsumer=Z,je.isContextProvider=ce,je.isElement=Y,je.isForwardRef=se,je.isFragment=de,je.isLazy=he,je.isMemo=oe,je.isPortal=be,je.isProfiler=ye,je.isStrictMode=ve,je.isSuspense=q,je.isValidElementType=v,je.typeOf=D}()),je}var rl;function nl(){return rl||(rl=1,process.env.NODE_ENV==="production"?Ku.exports=fb():Ku.exports=db()),Ku.exports}/*
121
121
  object-assign
122
122
  (c) Sindre Sorhus
123
123
  @license MIT
124
- */var Ka,ul;function hb(){if(ul)return Ka;ul=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 f=Object.getOwnPropertyNames(a).map(function(c){return a[c]});if(f.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(c){l[c]=c}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Ka=u()?Object.assign:function(i,a){for(var s,f=n(i),l,c=1;c<arguments.length;c++){s=Object(arguments[c]);for(var p in s)r.call(s,p)&&(f[p]=s[p]);if(e){l=e(s);for(var o=0;o<l.length;o++)t.call(s,l[o])&&(f[l[o]]=s[l[o]])}}return f},Ka}var es,il;function ts(){if(il)return es;il=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return es=e,es}var rs,al;function sl(){return al||(al=1,rs=Function.call.bind(Object.prototype.hasOwnProperty)),rs}var ns,ol;function pb(){if(ol)return ns;ol=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=ts(),t={},n=sl();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function u(i,a,s,f,l){if(process.env.NODE_ENV!=="production"){for(var c in i)if(n(i,c)){var p;try{if(typeof i[c]!="function"){var o=Error((f||"React class")+": "+s+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw o.name="Invariant Violation",o}p=i[c](a,c,f,s,null,r)}catch(m){p=m}if(p&&!(p instanceof Error)&&e((f||"React class")+": type specification of "+s+" `"+c+"` 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 d=l?l():"";e("Failed "+s+" type: "+p.message+(d??""))}}}}return u.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},ns=u,ns}var us,cl;function mb(){if(cl)return us;cl=1;var e=nl(),r=hb(),t=ts(),n=sl(),u=pb(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var f="Warning: "+s;typeof console<"u"&&console.error(f);try{throw new Error(f)}catch{}});function a(){return null}return us=function(s,f){var l=typeof Symbol=="function"&&Symbol.iterator,c="@@iterator";function p(L){var Z=L&&(l&&L[l]||L[c]);if(typeof Z=="function")return Z}var o="<<anonymous>>",d={array:g("array"),bigint:g("bigint"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:w(),arrayOf:v,element:D(),elementType:y(),instanceOf:E,node:x(),objectOf:C,oneOf:A,oneOfType:F,shape:_,exact:P};function m(L,Z){return L===Z?L!==0||1/L===1/Z:L!==L&&Z!==Z}function h(L,Z){this.message=L,this.data=Z&&typeof Z=="object"?Z:{},this.stack=""}h.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(f){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 h("The "+ye+" `"+ve+"` is marked as required "+("in `"+be+"`, but its value is `null`.")):new h("The "+ye+" `"+ve+"` is marked as required in "+("`"+be+"`, but its value is `undefined`.")):null: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 h("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 h("Property `"+he+"` of component `"+se+"` has invalid PropType notation inside arrayOf.");var oe=ce[Y];if(!Array.isArray(oe)){var be=I(oe);return new h("Invalid "+de+" `"+he+"` of type "+("`"+be+"` supplied to `"+se+"`, expected an array."))}for(var ye=0;ye<oe.length;ye++){var ve=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 h("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 h("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 h("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 h("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 h("Property `"+he+"` of component `"+se+"` has invalid PropType notation inside objectOf.");var oe=ce[Y],be=I(oe);if(be!=="object")return new h("Invalid "+de+" `"+he+"` of type "+("`"+be+"` supplied to `"+se+"`, expected an object."));for(var ye in oe)if(n(oe,ye)){var ve=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 h("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 h("Invalid "+se+" `"+de+"` supplied to "+("`"+Y+"`, expected a ReactNode."))}return b(L)}function T(L,Z,ce,Y,se){return new h((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 h("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 h("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 h("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 d.checkPropTypes=u,d.resetWarningCache=u.resetWarningCache,d.PropTypes=d,d},us}var is,ll;function gb(){if(ll)return is;ll=1;var e=ts();function r(){}function t(){}return t.resetWarningCache=r,is=function(){function n(a,s,f,l,c,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},is}var fl;function dl(){if(fl)return Ju.exports;if(fl=1,process.env.NODE_ENV!=="production"){var e=nl(),r=!0;Ju.exports=mb()(e.isElement,r)}else Ju.exports=gb()();return Ju.exports}var bb=dl();const Ne=Ni(bb);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 hl(e,r=""){return e.displayName||e.name||r}function pl(e,r,t){const n=hl(r);return e.displayName||(n!==""?`${t}(${n})`:t)}function yb(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return hl(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Zu.ForwardRef:return pl(e,e.render,"ForwardRef");case Zu.Memo:return pl(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 as(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 f=s;t[u][f]=as(i[f],a[f])}}}else t[u]===void 0&&(t[u]=e[u])}return t}function vb(e,r,t=void 0){const n={};for(const u in e){const i=e[u];let a="",s=!0;for(let f=0;f<i.length;f+=1){const l=i[f];l&&(a+=(s===!0?"":" ")+r(l),s=!1,t&&t[l]&&(a+=" "+t[l]))}n[u]=a}return n}const ml=e=>e,wb=(()=>{let e=ml;return{configure(r){e=r},generate(r){return e(r)},reset(){e=ml}}})(),Db={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 ss(e,r,t="Mui"){const n=Db[r];return n?`${t}-${n}`:`${wb.generate(e)}-${r}`}function Eb(e,r,t="Mui"){const n={};return r.forEach(u=>{n[u]=ss(e,u,t)}),n}function xb(e,r=Number.MIN_SAFE_INTEGER,t=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(e,t))}function gl(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=gl(e[r]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Ab(){for(var e,r,t=0,n="",u=arguments.length;t<u;t++)(e=arguments[t])&&(r=gl(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"?Ne.oneOfType([Ne.number,Ne.string,Ne.object,Ne.array]):{};function Cb(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 Tb(e,r){return r==="@"||r.startsWith("@")&&(e.some(t=>r.startsWith(`@${t}`))||!!r.match(/^@\d/))}function Sb(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 Fb(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 f=r(e.breakpoints.not(...s),a);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}const n={},u=i=>(t(n,i),n);return t(u),{...e,containerQueries:u}}const ei={xs:0,sm:600,md:900,lg:1200,xl:1536},bl={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${ei[e]}px)`},_b={containerQueries:e=>({up:r=>{let t=typeof r=="number"?r:ei[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||bl;return r.reduce((a,s,f)=>(a[i.up(i.keys[f])]=t(r[f]),a),{})}if(typeof r=="object"){const i=n.breakpoints||bl;return Object.keys(r).reduce((a,s)=>{if(Tb(i.keys,s)){const f=Sb(n.containerQueries?n:_b,s);f&&(a[f]=t(r[s],s))}else if(Object.keys(i.values||ei).includes(s)){const f=i.up(s);a[f]=t(r[s],s)}else{const f=s;a[f]=r[f]}return a},{})}return t(r)}function Ob(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,u)=>{const i=e.up(u);return n[i]={},n},{}))||{}}function Nb(e,r){return e.reduce((t,n)=>{const u=t[n];return(!u||Object.keys(u).length===0)&&delete t[n],t},r)}function ti(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 ri(e,r,t,n=t){let u;return typeof e=="function"?u=e(t):Array.isArray(e)?u=e[t]||n:u=ti(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],f=a.theme,l=ti(f,n)||{};return Fr(a,s,p=>{let o=ri(l,u,p);return p===o&&typeof p=="string"&&(o=ri(l,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 Mb(e){const r={};return t=>(r[t]===void 0&&(r[t]=e(t)),r[t])}const Pb={m:"margin",p:"padding"},Bb={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},yl={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Ib=Mb(e=>{if(e.length>2)if(yl[e])e=yl[e];else return[e];const[r,t]=e.split(""),n=Pb[r],u=Bb[t]||"";return Array.isArray(u)?u.map(i=>n+i):[n+u]}),ni=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ui=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Rb=[...ni,...ui];function Jn(e,r,t,n){const u=ti(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(`
124
+ */var Ka,ul;function hb(){if(ul)return Ka;ul=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 d=Object.getOwnPropertyNames(a).map(function(c){return a[c]});if(d.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(c){l[c]=c}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Ka=u()?Object.assign:function(i,a){for(var s,d=n(i),l,c=1;c<arguments.length;c++){s=Object(arguments[c]);for(var p in s)r.call(s,p)&&(d[p]=s[p]);if(e){l=e(s);for(var o=0;o<l.length;o++)t.call(s,l[o])&&(d[l[o]]=s[l[o]])}}return d},Ka}var es,il;function ts(){if(il)return es;il=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return es=e,es}var rs,al;function sl(){return al||(al=1,rs=Function.call.bind(Object.prototype.hasOwnProperty)),rs}var ns,ol;function pb(){if(ol)return ns;ol=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=ts(),t={},n=sl();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function u(i,a,s,d,l){if(process.env.NODE_ENV!=="production"){for(var c in i)if(n(i,c)){var p;try{if(typeof i[c]!="function"){var o=Error((d||"React class")+": "+s+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw o.name="Invariant Violation",o}p=i[c](a,c,d,s,null,r)}catch(m){p=m}if(p&&!(p instanceof Error)&&e((d||"React class")+": type specification of "+s+" `"+c+"` 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=l?l():"";e("Failed "+s+" type: "+p.message+(f??""))}}}}return u.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},ns=u,ns}var us,cl;function mb(){if(cl)return us;cl=1;var e=nl(),r=hb(),t=ts(),n=sl(),u=pb(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var d="Warning: "+s;typeof console<"u"&&console.error(d);try{throw new Error(d)}catch{}});function a(){return null}return us=function(s,d){var l=typeof Symbol=="function"&&Symbol.iterator,c="@@iterator";function p(L){var Z=L&&(l&&L[l]||L[c]);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 h(L,Z){this.message=L,this.data=Z&&typeof Z=="object"?Z:{},this.stack=""}h.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(d){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 h("The "+ye+" `"+ve+"` is marked as required "+("in `"+be+"`, but its value is `null`.")):new h("The "+ye+" `"+ve+"` is marked as required in "+("`"+be+"`, but its value is `undefined`.")):null: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 h("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 h("Property `"+he+"` of component `"+se+"` has invalid PropType notation inside arrayOf.");var oe=ce[Y];if(!Array.isArray(oe)){var be=I(oe);return new h("Invalid "+de+" `"+he+"` of type "+("`"+be+"` supplied to `"+se+"`, expected an array."))}for(var ye=0;ye<oe.length;ye++){var ve=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 h("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 h("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 h("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 h("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 h("Property `"+he+"` of component `"+se+"` has invalid PropType notation inside objectOf.");var oe=ce[Y],be=I(oe);if(be!=="object")return new h("Invalid "+de+" `"+he+"` of type "+("`"+be+"` supplied to `"+se+"`, expected an object."));for(var ye in oe)if(n(oe,ye)){var ve=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 h("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 h("Invalid "+se+" `"+de+"` supplied to "+("`"+Y+"`, expected a ReactNode."))}return b(L)}function T(L,Z,ce,Y,se){return new h((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 h("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 h("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 h("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},us}var is,ll;function gb(){if(ll)return is;ll=1;var e=ts();function r(){}function t(){}return t.resetWarningCache=r,is=function(){function n(a,s,d,l,c,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},is}var fl;function dl(){if(fl)return Ju.exports;if(fl=1,process.env.NODE_ENV!=="production"){var e=nl(),r=!0;Ju.exports=mb()(e.isElement,r)}else Ju.exports=gb()();return Ju.exports}var bb=dl();const Ne=Ni(bb);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 hl(e,r=""){return e.displayName||e.name||r}function pl(e,r,t){const n=hl(r);return e.displayName||(n!==""?`${t}(${n})`:t)}function yb(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return hl(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Zu.ForwardRef:return pl(e,e.render,"ForwardRef");case Zu.Memo:return pl(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 as(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 d=s;t[u][d]=as(i[d],a[d])}}}else t[u]===void 0&&(t[u]=e[u])}return t}function vb(e,r,t=void 0){const n={};for(const u in e){const i=e[u];let a="",s=!0;for(let d=0;d<i.length;d+=1){const l=i[d];l&&(a+=(s===!0?"":" ")+r(l),s=!1,t&&t[l]&&(a+=" "+t[l]))}n[u]=a}return n}const ml=e=>e,wb=(()=>{let e=ml;return{configure(r){e=r},generate(r){return e(r)},reset(){e=ml}}})(),Db={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 ss(e,r,t="Mui"){const n=Db[r];return n?`${t}-${n}`:`${wb.generate(e)}-${r}`}function Eb(e,r,t="Mui"){const n={};return r.forEach(u=>{n[u]=ss(e,u,t)}),n}function xb(e,r=Number.MIN_SAFE_INTEGER,t=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(e,t))}function gl(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=gl(e[r]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Ab(){for(var e,r,t=0,n="",u=arguments.length;t<u;t++)(e=arguments[t])&&(r=gl(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"?Ne.oneOfType([Ne.number,Ne.string,Ne.object,Ne.array]):{};function Cb(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 Tb(e,r){return r==="@"||r.startsWith("@")&&(e.some(t=>r.startsWith(`@${t}`))||!!r.match(/^@\d/))}function Sb(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 Fb(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 d=r(e.breakpoints.not(...s),a);return d.includes("not all and")?d.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):d}}const n={},u=i=>(t(n,i),n);return t(u),{...e,containerQueries:u}}const ei={xs:0,sm:600,md:900,lg:1200,xl:1536},bl={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${ei[e]}px)`},_b={containerQueries:e=>({up:r=>{let t=typeof r=="number"?r:ei[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||bl;return r.reduce((a,s,d)=>(a[i.up(i.keys[d])]=t(r[d]),a),{})}if(typeof r=="object"){const i=n.breakpoints||bl;return Object.keys(r).reduce((a,s)=>{if(Tb(i.keys,s)){const d=Sb(n.containerQueries?n:_b,s);d&&(a[d]=t(r[s],s))}else if(Object.keys(i.values||ei).includes(s)){const d=i.up(s);a[d]=t(r[s],s)}else{const d=s;a[d]=r[d]}return a},{})}return t(r)}function Ob(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,u)=>{const i=e.up(u);return n[i]={},n},{}))||{}}function Nb(e,r){return e.reduce((t,n)=>{const u=t[n];return(!u||Object.keys(u).length===0)&&delete t[n],t},r)}function ti(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 ri(e,r,t,n=t){let u;return typeof e=="function"?u=e(t):Array.isArray(e)?u=e[t]||n:u=ti(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],d=a.theme,l=ti(d,n)||{};return Fr(a,s,p=>{let o=ri(l,u,p);return p===o&&typeof p=="string"&&(o=ri(l,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 Mb(e){const r={};return t=>(r[t]===void 0&&(r[t]=e(t)),r[t])}const Pb={m:"margin",p:"padding"},Bb={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},yl={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Ib=Mb(e=>{if(e.length>2)if(yl[e])e=yl[e];else return[e];const[r,t]=e.split(""),n=Pb[r],u=Bb[t]||"";return Array.isArray(u)?u.map(i=>n+i):[n+u]}),ni=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ui=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Rb=[...ni,...ui];function Jn(e,r,t,n){const u=ti(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
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 os(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 vl(e,r){const t=os(e.theme);return Object.keys(e).map(n=>Lb(e,r,n,t)).reduce(Zn,{})}function ct(e){return vl(e,ni)}ct.propTypes=process.env.NODE_ENV!=="production"?ni.reduce((e,r)=>(e[r]=jr,e),{}):{},ct.filterProps=ni;function lt(e){return vl(e,ui)}lt.propTypes=process.env.NODE_ENV!=="production"?ui.reduce((e,r)=>(e[r]=jr,e),{}):{},lt.filterProps=ui,process.env.NODE_ENV!=="production"&&Rb.reduce((e,r)=>(e[r]=jr,e),{});function ii(...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"),ai=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};ai.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:jr}:{},ai.filterProps=["borderRadius"],ii(qb,$b,jb,zb,Hb,Ub,Vb,Wb,Yb,Gb,ai,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 oi=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};oi.propTypes=process.env.NODE_ENV!=="production"?{columnGap:jr}:{},oi.filterProps=["columnGap"];const ci=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};ci.propTypes=process.env.NODE_ENV!=="production"?{rowGap:jr}:{},ci.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"});ii(si,oi,ci,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}),s2=mt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:wn}),o2=mt({prop:"backgroundColor",themeKey:"palette",transform:wn});ii(a2,s2,o2);function Ht(e){return e<=1&&e!==0?`${e*100}%`:e}const c2=mt({prop:"width",transform:Ht}),cs=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const r=t=>{var u,i,a,s,f;const n=((a=(i=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:i.values)==null?void 0:a[t])||ei[t];return n?((f=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:f.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Ht(t)}};return Fr(e,e.maxWidth,r)}return null};cs.filterProps=["maxWidth"];const l2=mt({prop:"minWidth",transform:Ht}),f2=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"});ii(c2,cs,l2,f2,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:ai},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:si},rowGap:{style:ci},columnGap:{style:oi},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:cs},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},s=i[t];if(!s)return{[t]:n};const{cssProperty:f=t,themeKey:l,transform:c,style:p}=s;if(n==null)return null;if(l==="typography"&&n==="inherit")return{[t]:n};const o=ti(u,l)||{};return p?p(a):Fr(a,n,m=>{let h=ri(o,c,m);return m===h&&typeof m=="string"&&(h=ri(o,c,`${t}${m==="default"?"":nn(m)}`,m)),f===!1?h:{[f]:h}})}function r(t){const{sx:n,theme:u={}}=t||{};if(!n)return null;const i=u.unstable_sxConfig??li;function a(s){let f=s;if(typeof s=="function")f=s(u);else if(typeof s!="object")return s;if(!f)return null;const l=Ob(u.breakpoints),c=Object.keys(l);let p=l;return Object.keys(f).forEach(o=>{const d=g2(f[o],u);if(d!=null)if(typeof d=="object")if(i[o])p=Zn(p,e(o,d,u,i));else{const m=Fr({theme:u},d,h=>({[o]:h}));m2(m,d)?p[o]=r({sx:d,theme:u}):p=Zn(p,m)}else p=Zn(p,e(o,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 ls(){return ls=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},ls.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-",fi="-moz-",Ie="-webkit-",wl="comm",fs="rule",ds="decl",E2="@import",Dl="@keyframes",x2="@layer",A2=Math.abs,di=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 El(e){return e.trim()}function S2(e,r){return(e=r.exec(e))?e[0]:e}function Re(e,r,t){return e.replace(r,t)}function hs(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 mr(e){return e.length}function ps(e){return e.length}function hi(e,r){return r.push(e),e}function F2(e,r){return e.map(r).join("")}var pi=1,En=1,xl=0,Lt=0,bt=0,xn="";function mi(e,r,t,n,u,i,a){return{value:e,root:r,parent:t,type:n,props:u,children:i,line:pi,column:En,length:a,return:""}}function tu(e,r){return C2(mi("",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,pi--),bt}function Ut(){return bt=Lt<xl?Tt(xn,Lt++):0,En++,bt===10&&(En=1,pi++),bt}function gr(){return Tt(xn,Lt)}function gi(){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 Al(e){return pi=En=1,xl=mr(xn=e),Lt=0,[]}function Cl(e){return xn="",e}function bi(e){return El(ru(Lt-1,ms(e===91?e+2:e===40?e+1:e)))}function N2(e){for(;(bt=gr())&&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,gi()+(r<6&&gr()==32&&Ut()==32))}function ms(e){for(;Ut();)switch(bt){case e:return Lt;case 34:case 39:e!==34&&e!==39&&ms(bt);break;case 40:e===41&&ms(e);break;case 92:Ut();break}return Lt}function P2(e,r){for(;Ut()&&e+bt!==57;)if(e+bt===84&&gr()===47)break;return"/*"+ru(r,Lt-1)+"*"+di(e===47?e:Ut())}function B2(e){for(;!nu(gr());)Ut();return ru(e,Lt)}function I2(e){return Cl(yi("",null,null,null,[""],e=Al(e),0,[0],e))}function yi(e,r,t,n,u,i,a,s,f){for(var l=0,c=0,p=a,o=0,d=0,m=0,h=1,b=1,g=1,w=0,v="",D=u,y=i,E=n,A=v;b;)switch(m=w,w=Ut()){case 40:if(m!=108&&Tt(A,p-1)==58){hs(A+=Re(bi(w),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:A+=bi(w);break;case 9:case 10:case 13:case 32:A+=N2(m);break;case 92:A+=M2(gi()-1,7);continue;case 47:switch(gr()){case 42:case 47:hi(R2(P2(Ut(),gi()),r,t),f);break;default:A+="/"}break;case 123*h:s[l++]=mr(A)*g;case 125*h:case 59:case 0:switch(w){case 0:case 125:b=0;case 59+c:g==-1&&(A=Re(A,/\f/g,"")),d>0&&mr(A)-p&&hi(d>32?Sl(A+";",n,t,p-1):Sl(Re(A," ","")+";",n,t,p-2),f);break;case 59:A+=";";default:if(hi(E=Tl(A,r,t,l,c,u,s,v,D=[],y=[],p),i),w===123)if(c===0)yi(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:yi(e,E,E,n&&hi(Tl(e,E,E,0,0,u,s,v,u,D=[],p),y),u,y,p,s,n?D:y);break;default:yi(A,E,E,E,[""],y,0,s,y)}}l=c=d=0,h=g=1,v=A="",p=a;break;case 58:p=1+mr(A),d=m;default:if(h<1){if(w==123)--h;else if(w==125&&h++==0&&O2()==125)continue}switch(A+=di(w),w*h){case 38:g=c>0?1:(A+="\f",-1);break;case 44:s[l++]=(mr(A)-1)*g,g=1;break;case 64:gr()===45&&(A+=bi(Ut())),o=gr(),c=p=mr(v=A+=B2(gi())),w++;break;case 45:m===45&&mr(A)==2&&(h=0)}}return i}function Tl(e,r,t,n,u,i,a,s,f,l,c){for(var p=u-1,o=u===0?i:[""],d=ps(o),m=0,h=0,b=0;m<n;++m)for(var g=0,w=eu(e,p+1,p=A2(h=a[m])),v=e;g<d;++g)(v=El(h>0?o[g]+" "+w:Re(w,/&\f/g,o[g])))&&(f[b++]=v);return mi(e,r,t,u===0?fs:s,f,l,c)}function R2(e,r,t){return mi(e,r,t,wl,di(_2()),eu(e,2,-2),0)}function Sl(e,r,t,n){return mi(e,r,t,ds,eu(e,0,n),eu(e,n+1,-1),n)}function An(e,r){for(var t="",n=ps(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 ds:return e.return=e.return||e.value;case wl:return"";case Dl:return e.return=e.value+"{"+An(e.children,n)+"}";case fs:e.value=e.props.join(",")}return mr(t=An(e.children,n))?e.return=e.value+"{"+t+"}":""}function L2(e){var r=ps(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 q2(e){return function(r){r.root||(r=r.return)&&e(r)}}function Fl(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=gr(),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&&gr()===12&&(t[n]=1),r[n]+=$2(Lt-1,t,n);break;case 2:r[n]+=bi(u);break;case 4:if(u===44){r[++n]=gr()===58?"&\f":"",t[n]=r[n].length;break}default:r[n]+=di(u)}while(u=Ut());return r},z2=function(r,t){return Cl(j2(Al(r),t))},_l=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&&!_l.get(n))&&!u){_l.set(r,!0);for(var i=[],a=z2(t,i),s=n.props,f=0,l=0;f<a.length;f++)for(var c=0;c<s.length;c++,l++)r.props[l]=i[f]?a[f].replace(/&\f/g,s[c]):s[c]+" "+a[f]}}},U2=function(r){if(r.type==="decl"){var t=r.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(r.return="",r.value="")}};function Ol(e,r){switch(T2(e,r)){case 5103:return Ie+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ie+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ie+e+fi+e+Nt+e+e;case 6828:case 4268:return Ie+e+Nt+e+e;case 6165:return Ie+e+Nt+"flex-"+e+e;case 5187:return Ie+e+Re(e,/(\w+).+(:[^]+)/,Ie+"box-$1$2"+Nt+"flex-$1$2")+e;case 5443:return Ie+e+Nt+"flex-item-"+Re(e,/flex-|-self/,"")+e;case 4675:return Ie+e+Nt+"flex-line-pack"+Re(e,/align-content|flex-|-self/,"")+e;case 5548:return Ie+e+Nt+Re(e,"shrink","negative")+e;case 5292:return Ie+e+Nt+Re(e,"basis","preferred-size")+e;case 6060:return Ie+"box-"+Re(e,"-grow","")+Ie+e+Nt+Re(e,"grow","positive")+e;case 4554:return Ie+Re(e,/([^-])(transform)/g,"$1"+Ie+"$2")+e;case 6187:return Re(Re(Re(e,/(zoom-|grab)/,Ie+"$1"),/(image-set)/,Ie+"$1"),e,"")+e;case 5495:case 3959:return Re(e,/(image-set\([^]*)/,Ie+"$1$`$1");case 4968:return Re(Re(e,/(.+:)(flex-)?(.*)/,Ie+"box-pack:$3"+Nt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ie+e+e;case 4095:case 3583:case 4068:case 2532:return Re(e,/(.+)-inline(.+)/,Ie+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(mr(e)-1-r>6)switch(Tt(e,r+1)){case 109:if(Tt(e,r+4)!==45)break;case 102:return Re(e,/(.+:)(.+)-([^]+)/,"$1"+Ie+"$2-$3$1"+fi+(Tt(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~hs(e,"stretch")?Ol(Re(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(Tt(e,r+1)!==115)break;case 6444:switch(Tt(e,mr(e)-3-(~hs(e,"!important")&&10))){case 107:return Re(e,":",":"+Ie)+e;case 101:return Re(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ie+(Tt(e,14)===45?"inline-":"")+"box$3$1"+Ie+"$2$3$1"+Nt+"$2box$3")+e}break;case 5936:switch(Tt(e,r+11)){case 114:return Ie+e+Nt+Re(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ie+e+Nt+Re(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ie+e+Nt+Re(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ie+e+Nt+e+e}return e}var V2=function(r,t,n,u){if(r.length>-1&&!r.return)switch(r.type){case ds:r.return=Ol(r.value,r.length);break;case Dl:return An([tu(r,{value:Re(r.value,"@","@"+Ie)})],u);case fs: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:[Re(i,/:(read-\w+)/,":"+fi+"$1")]})],u);case"::placeholder":return An([tu(r,{props:[Re(i,/:(plac\w+)/,":"+Ie+"input-$1")]}),tu(r,{props:[Re(i,/:(plac\w+)/,":"+fi+"$1")]}),tu(r,{props:[Re(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(h){var b=h.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var u=r.stylisPlugins||W2,i={},a,s=[];a=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(h){for(var b=h.getAttribute("data-emotion").split(" "),g=1;g<b.length;g++)i[b[g]]=!0;s.push(h)});var f,l=[H2,U2];{var c,p=[k2,q2(function(h){c.insert(h)})],o=L2(l.concat(u,p)),d=function(b){return An(I2(b),o)};f=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:f};return m.sheet.hydrate(s),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 Nl=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){Nl(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,Ml=function(r){return r.charCodeAt(1)===45},Pl=function(r){return r!=null&&typeof r!="boolean"},gs=Fl(function(e){return Ml(e)?e:e.replace(ey,"-$&").toLowerCase()}),Bl=function(r,t){switch(r){case"animation":case"animationName":if(typeof t=="string")return t.replace(ty,function(n,u,i){return br={name:u,styles:i,next:br},u})}return J2[r]!==1&&!Ml(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 br={name:u.name,styles:u.styles,next:br},u.name;var i=t;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)br={name:a.name,styles:a.styles,next:br},a=a.next;var s=i.styles+";";return s}return ny(e,r,t)}case"function":{if(e!==void 0){var f=br,l=t(e);return br=f,uu(e,r,l)}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 s=a;r!=null&&r[s]!==void 0?n+=i+"{"+r[s]+"}":Pl(s)&&(n+=gs(i)+":"+Bl(i,s)+";")}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 f=0;f<a.length;f++)Pl(a[f])&&(n+=gs(i)+":"+Bl(i,a[f])+";");else{var l=uu(e,r,a);switch(i){case"animation":case"animationName":{n+=gs(i)+":"+l+";";break}default:n+=i+"{"+l+"}"}}}}return n}var Il=/label:\s*([^\s;{]+)\s*(;|$)/g,br;function Rl(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="";br=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 f=i;u+=f[s]}Il.lastIndex=0;for(var l="",c;(c=Il.exec(u))!==null;)l+="-"+c[1];var p=Z2(u)+l;return{name:p,styles:u,next:br}}var uy=function(r){return r()},iy=At.useInsertionEffect?At.useInsertionEffect:!1,ay=iy||uy,kl=At.createContext(typeof HTMLElement<"u"?Y2({key:"css"}):null);kl.Provider;var sy=function(r){return Je.forwardRef(function(t,n){var u=Je.useContext(kl);return r(t,u,n)})},oy=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)-.*))$/,ly=Fl(function(e){return cy.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),fy=!1,dy=ly,hy=function(r){return r!=="theme"},Ll=function(r){return typeof r=="string"&&r.charCodeAt(0)>96?dy:hy},ql=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 Nl(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 s=ql(r,t,n),f=s||Ll(u),l=!f("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 o=c[0];p.push(o[0]);for(var d=c.length,m=1;m<d;m++)p.push(c[m],o[m])}var h=sy(function(b,g,w){var v=l&&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(oy)}typeof b.className=="string"?D=X2(g.registered,y,b.className):b.className!=null&&(D=b.className+" ");var C=Rl(p.concat(y),g.registered,E);D+=g.key+"-"+C.name,a!==void 0&&(D+=" "+a);var F=l&&s===void 0?Ll(v):f,x={};for(var T in b)l&&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 h.displayName=i!==void 0?i:"Styled("+(typeof u=="string"?u:u.displayName||u.name||"Component")+")",h.defaultProps=r.defaultProps,h.__emotion_real=h,h.__emotion_base=u,h.__emotion_styles=p,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return a===void 0&&fy?"NO_COMPONENT_SELECTOR":"."+a}}),h.withComponent=function(b,g){var w=e(b,ls({},t,g,{shouldForwardProp:ql(h,g,!0)}));return w.apply(void 0,p)},h}},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"],bs=my.bind(null);gy.forEach(function(e){bs[e]=bs(e)});/**
129
+ `)),()=>{})}function os(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 vl(e,r){const t=os(e.theme);return Object.keys(e).map(n=>Lb(e,r,n,t)).reduce(Zn,{})}function ct(e){return vl(e,ni)}ct.propTypes=process.env.NODE_ENV!=="production"?ni.reduce((e,r)=>(e[r]=jr,e),{}):{},ct.filterProps=ni;function lt(e){return vl(e,ui)}lt.propTypes=process.env.NODE_ENV!=="production"?ui.reduce((e,r)=>(e[r]=jr,e),{}):{},lt.filterProps=ui,process.env.NODE_ENV!=="production"&&Rb.reduce((e,r)=>(e[r]=jr,e),{});function ii(...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"),ai=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};ai.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:jr}:{},ai.filterProps=["borderRadius"],ii(qb,$b,jb,zb,Hb,Ub,Vb,Wb,Yb,Gb,ai,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 oi=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};oi.propTypes=process.env.NODE_ENV!=="production"?{columnGap:jr}:{},oi.filterProps=["columnGap"];const ci=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};ci.propTypes=process.env.NODE_ENV!=="production"?{rowGap:jr}:{},ci.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"});ii(si,oi,ci,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}),s2=mt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:wn}),o2=mt({prop:"backgroundColor",themeKey:"palette",transform:wn});ii(a2,s2,o2);function Ht(e){return e<=1&&e!==0?`${e*100}%`:e}const c2=mt({prop:"width",transform:Ht}),cs=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const r=t=>{var u,i,a,s,d;const n=((a=(i=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:i.values)==null?void 0:a[t])||ei[t];return n?((d=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:d.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Ht(t)}};return Fr(e,e.maxWidth,r)}return null};cs.filterProps=["maxWidth"];const l2=mt({prop:"minWidth",transform:Ht}),f2=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"});ii(c2,cs,l2,f2,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:ai},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:si},rowGap:{style:ci},columnGap:{style:oi},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:cs},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},s=i[t];if(!s)return{[t]:n};const{cssProperty:d=t,themeKey:l,transform:c,style:p}=s;if(n==null)return null;if(l==="typography"&&n==="inherit")return{[t]:n};const o=ti(u,l)||{};return p?p(a):Fr(a,n,m=>{let h=ri(o,c,m);return m===h&&typeof m=="string"&&(h=ri(o,c,`${t}${m==="default"?"":nn(m)}`,m)),d===!1?h:{[d]:h}})}function r(t){const{sx:n,theme:u={}}=t||{};if(!n)return null;const i=u.unstable_sxConfig??li;function a(s){let d=s;if(typeof s=="function")d=s(u);else if(typeof s!="object")return s;if(!d)return null;const l=Ob(u.breakpoints),c=Object.keys(l);let p=l;return Object.keys(d).forEach(o=>{const f=g2(d[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,h=>({[o]:h}));m2(m,f)?p[o]=r({sx:f,theme:u}):p=Zn(p,m)}else p=Zn(p,e(o,f,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 ls(){return ls=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},ls.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-",fi="-moz-",Ie="-webkit-",wl="comm",fs="rule",ds="decl",E2="@import",Dl="@keyframes",x2="@layer",A2=Math.abs,di=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 El(e){return e.trim()}function S2(e,r){return(e=r.exec(e))?e[0]:e}function Re(e,r,t){return e.replace(r,t)}function hs(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 mr(e){return e.length}function ps(e){return e.length}function hi(e,r){return r.push(e),e}function F2(e,r){return e.map(r).join("")}var pi=1,En=1,xl=0,Lt=0,bt=0,xn="";function mi(e,r,t,n,u,i,a){return{value:e,root:r,parent:t,type:n,props:u,children:i,line:pi,column:En,length:a,return:""}}function tu(e,r){return C2(mi("",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,pi--),bt}function Ut(){return bt=Lt<xl?Tt(xn,Lt++):0,En++,bt===10&&(En=1,pi++),bt}function gr(){return Tt(xn,Lt)}function gi(){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 Al(e){return pi=En=1,xl=mr(xn=e),Lt=0,[]}function Cl(e){return xn="",e}function bi(e){return El(ru(Lt-1,ms(e===91?e+2:e===40?e+1:e)))}function N2(e){for(;(bt=gr())&&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,gi()+(r<6&&gr()==32&&Ut()==32))}function ms(e){for(;Ut();)switch(bt){case e:return Lt;case 34:case 39:e!==34&&e!==39&&ms(bt);break;case 40:e===41&&ms(e);break;case 92:Ut();break}return Lt}function P2(e,r){for(;Ut()&&e+bt!==57;)if(e+bt===84&&gr()===47)break;return"/*"+ru(r,Lt-1)+"*"+di(e===47?e:Ut())}function B2(e){for(;!nu(gr());)Ut();return ru(e,Lt)}function I2(e){return Cl(yi("",null,null,null,[""],e=Al(e),0,[0],e))}function yi(e,r,t,n,u,i,a,s,d){for(var l=0,c=0,p=a,o=0,f=0,m=0,h=1,b=1,g=1,w=0,v="",D=u,y=i,E=n,A=v;b;)switch(m=w,w=Ut()){case 40:if(m!=108&&Tt(A,p-1)==58){hs(A+=Re(bi(w),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:A+=bi(w);break;case 9:case 10:case 13:case 32:A+=N2(m);break;case 92:A+=M2(gi()-1,7);continue;case 47:switch(gr()){case 42:case 47:hi(R2(P2(Ut(),gi()),r,t),d);break;default:A+="/"}break;case 123*h:s[l++]=mr(A)*g;case 125*h:case 59:case 0:switch(w){case 0:case 125:b=0;case 59+c:g==-1&&(A=Re(A,/\f/g,"")),f>0&&mr(A)-p&&hi(f>32?Sl(A+";",n,t,p-1):Sl(Re(A," ","")+";",n,t,p-2),d);break;case 59:A+=";";default:if(hi(E=Tl(A,r,t,l,c,u,s,v,D=[],y=[],p),i),w===123)if(c===0)yi(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:yi(e,E,E,n&&hi(Tl(e,E,E,0,0,u,s,v,u,D=[],p),y),u,y,p,s,n?D:y);break;default:yi(A,E,E,E,[""],y,0,s,y)}}l=c=f=0,h=g=1,v=A="",p=a;break;case 58:p=1+mr(A),f=m;default:if(h<1){if(w==123)--h;else if(w==125&&h++==0&&O2()==125)continue}switch(A+=di(w),w*h){case 38:g=c>0?1:(A+="\f",-1);break;case 44:s[l++]=(mr(A)-1)*g,g=1;break;case 64:gr()===45&&(A+=bi(Ut())),o=gr(),c=p=mr(v=A+=B2(gi())),w++;break;case 45:m===45&&mr(A)==2&&(h=0)}}return i}function Tl(e,r,t,n,u,i,a,s,d,l,c){for(var p=u-1,o=u===0?i:[""],f=ps(o),m=0,h=0,b=0;m<n;++m)for(var g=0,w=eu(e,p+1,p=A2(h=a[m])),v=e;g<f;++g)(v=El(h>0?o[g]+" "+w:Re(w,/&\f/g,o[g])))&&(d[b++]=v);return mi(e,r,t,u===0?fs:s,d,l,c)}function R2(e,r,t){return mi(e,r,t,wl,di(_2()),eu(e,2,-2),0)}function Sl(e,r,t,n){return mi(e,r,t,ds,eu(e,0,n),eu(e,n+1,-1),n)}function An(e,r){for(var t="",n=ps(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 ds:return e.return=e.return||e.value;case wl:return"";case Dl:return e.return=e.value+"{"+An(e.children,n)+"}";case fs:e.value=e.props.join(",")}return mr(t=An(e.children,n))?e.return=e.value+"{"+t+"}":""}function L2(e){var r=ps(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 q2(e){return function(r){r.root||(r=r.return)&&e(r)}}function Fl(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=gr(),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&&gr()===12&&(t[n]=1),r[n]+=$2(Lt-1,t,n);break;case 2:r[n]+=bi(u);break;case 4:if(u===44){r[++n]=gr()===58?"&\f":"",t[n]=r[n].length;break}default:r[n]+=di(u)}while(u=Ut());return r},z2=function(r,t){return Cl(j2(Al(r),t))},_l=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&&!_l.get(n))&&!u){_l.set(r,!0);for(var i=[],a=z2(t,i),s=n.props,d=0,l=0;d<a.length;d++)for(var c=0;c<s.length;c++,l++)r.props[l]=i[d]?a[d].replace(/&\f/g,s[c]):s[c]+" "+a[d]}}},U2=function(r){if(r.type==="decl"){var t=r.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(r.return="",r.value="")}};function Ol(e,r){switch(T2(e,r)){case 5103:return Ie+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ie+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ie+e+fi+e+Nt+e+e;case 6828:case 4268:return Ie+e+Nt+e+e;case 6165:return Ie+e+Nt+"flex-"+e+e;case 5187:return Ie+e+Re(e,/(\w+).+(:[^]+)/,Ie+"box-$1$2"+Nt+"flex-$1$2")+e;case 5443:return Ie+e+Nt+"flex-item-"+Re(e,/flex-|-self/,"")+e;case 4675:return Ie+e+Nt+"flex-line-pack"+Re(e,/align-content|flex-|-self/,"")+e;case 5548:return Ie+e+Nt+Re(e,"shrink","negative")+e;case 5292:return Ie+e+Nt+Re(e,"basis","preferred-size")+e;case 6060:return Ie+"box-"+Re(e,"-grow","")+Ie+e+Nt+Re(e,"grow","positive")+e;case 4554:return Ie+Re(e,/([^-])(transform)/g,"$1"+Ie+"$2")+e;case 6187:return Re(Re(Re(e,/(zoom-|grab)/,Ie+"$1"),/(image-set)/,Ie+"$1"),e,"")+e;case 5495:case 3959:return Re(e,/(image-set\([^]*)/,Ie+"$1$`$1");case 4968:return Re(Re(e,/(.+:)(flex-)?(.*)/,Ie+"box-pack:$3"+Nt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ie+e+e;case 4095:case 3583:case 4068:case 2532:return Re(e,/(.+)-inline(.+)/,Ie+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(mr(e)-1-r>6)switch(Tt(e,r+1)){case 109:if(Tt(e,r+4)!==45)break;case 102:return Re(e,/(.+:)(.+)-([^]+)/,"$1"+Ie+"$2-$3$1"+fi+(Tt(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~hs(e,"stretch")?Ol(Re(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(Tt(e,r+1)!==115)break;case 6444:switch(Tt(e,mr(e)-3-(~hs(e,"!important")&&10))){case 107:return Re(e,":",":"+Ie)+e;case 101:return Re(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ie+(Tt(e,14)===45?"inline-":"")+"box$3$1"+Ie+"$2$3$1"+Nt+"$2box$3")+e}break;case 5936:switch(Tt(e,r+11)){case 114:return Ie+e+Nt+Re(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ie+e+Nt+Re(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ie+e+Nt+Re(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ie+e+Nt+e+e}return e}var V2=function(r,t,n,u){if(r.length>-1&&!r.return)switch(r.type){case ds:r.return=Ol(r.value,r.length);break;case Dl:return An([tu(r,{value:Re(r.value,"@","@"+Ie)})],u);case fs: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:[Re(i,/:(read-\w+)/,":"+fi+"$1")]})],u);case"::placeholder":return An([tu(r,{props:[Re(i,/:(plac\w+)/,":"+Ie+"input-$1")]}),tu(r,{props:[Re(i,/:(plac\w+)/,":"+fi+"$1")]}),tu(r,{props:[Re(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(h){var b=h.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var u=r.stylisPlugins||W2,i={},a,s=[];a=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(h){for(var b=h.getAttribute("data-emotion").split(" "),g=1;g<b.length;g++)i[b[g]]=!0;s.push(h)});var d,l=[H2,U2];{var c,p=[k2,q2(function(h){c.insert(h)})],o=L2(l.concat(u,p)),f=function(b){return An(I2(b),o)};d=function(b,g,w,v){c=w,f(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:d};return m.sheet.hydrate(s),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 Nl=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){Nl(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,Ml=function(r){return r.charCodeAt(1)===45},Pl=function(r){return r!=null&&typeof r!="boolean"},gs=Fl(function(e){return Ml(e)?e:e.replace(ey,"-$&").toLowerCase()}),Bl=function(r,t){switch(r){case"animation":case"animationName":if(typeof t=="string")return t.replace(ty,function(n,u,i){return br={name:u,styles:i,next:br},u})}return J2[r]!==1&&!Ml(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 br={name:u.name,styles:u.styles,next:br},u.name;var i=t;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)br={name:a.name,styles:a.styles,next:br},a=a.next;var s=i.styles+";";return s}return ny(e,r,t)}case"function":{if(e!==void 0){var d=br,l=t(e);return br=d,uu(e,r,l)}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 s=a;r!=null&&r[s]!==void 0?n+=i+"{"+r[s]+"}":Pl(s)&&(n+=gs(i)+":"+Bl(i,s)+";")}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 d=0;d<a.length;d++)Pl(a[d])&&(n+=gs(i)+":"+Bl(i,a[d])+";");else{var l=uu(e,r,a);switch(i){case"animation":case"animationName":{n+=gs(i)+":"+l+";";break}default:n+=i+"{"+l+"}"}}}}return n}var Il=/label:\s*([^\s;{]+)\s*(;|$)/g,br;function Rl(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="";br=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 d=i;u+=d[s]}Il.lastIndex=0;for(var l="",c;(c=Il.exec(u))!==null;)l+="-"+c[1];var p=Z2(u)+l;return{name:p,styles:u,next:br}}var uy=function(r){return r()},iy=At.useInsertionEffect?At.useInsertionEffect:!1,ay=iy||uy,kl=At.createContext(typeof HTMLElement<"u"?Y2({key:"css"}):null);kl.Provider;var sy=function(r){return Je.forwardRef(function(t,n){var u=Je.useContext(kl);return r(t,u,n)})},oy=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)-.*))$/,ly=Fl(function(e){return cy.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),fy=!1,dy=ly,hy=function(r){return r!=="theme"},Ll=function(r){return typeof r=="string"&&r.charCodeAt(0)>96?dy:hy},ql=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 Nl(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 s=ql(r,t,n),d=s||Ll(u),l=!d("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 o=c[0];p.push(o[0]);for(var f=c.length,m=1;m<f;m++)p.push(c[m],o[m])}var h=sy(function(b,g,w){var v=l&&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(oy)}typeof b.className=="string"?D=X2(g.registered,y,b.className):b.className!=null&&(D=b.className+" ");var C=Rl(p.concat(y),g.registered,E);D+=g.key+"-"+C.name,a!==void 0&&(D+=" "+a);var F=l&&s===void 0?Ll(v):d,x={};for(var T in b)l&&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 h.displayName=i!==void 0?i:"Styled("+(typeof u=="string"?u:u.displayName||u.name||"Component")+")",h.defaultProps=r.defaultProps,h.__emotion_real=h,h.__emotion_base=u,h.__emotion_styles=p,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return a===void 0&&fy?"NO_COMPONENT_SELECTOR":"."+a}}),h.withComponent=function(b,g){var w=e(b,ls({},t,g,{shouldForwardProp:ql(h,g,!0)}));return w.apply(void 0,p)},h}},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"],bs=my.bind(null);gy.forEach(function(e){bs[e]=bs(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
135
  */function by(e,r){const t=bs(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 yy(e,r){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=r(e.__emotion_styles))}const $l=[];function jl(e){return $l[0]=e,Rl($l)}const vy=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 wy(e){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:n=5,...u}=e,i=vy(r),a=Object.keys(i);function s(o){return`@media (min-width:${typeof r[o]=="number"?r[o]:o}${t})`}function f(o){return`@media (max-width:${(typeof r[o]=="number"?r[o]:o)-n/100}${t})`}function l(o,d){const m=a.indexOf(d);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]]:d)-n/100}${t})`}function c(o){return a.indexOf(o)+1<a.length?l(o,a[a.indexOf(o)+1]):s(o)}function p(o){const d=a.indexOf(o);return d===0?s(a[1]):d===a.length-1?f(a[d]):l(o,a[a.indexOf(o)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:s,down:f,between:l,only:c,not:p,unit:t,...u}}const Dy={borderRadius:4};function zl(e=8,r=os({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 Ey(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 Hl(e={},...r){const{breakpoints:t={},palette:n={},spacing:u,shape:i={},...a}=e,s=wy(t),f=zl(u);let l=zt({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:f,shape:{...Dy,...i}},a);return l=Fb(l),l.applyStyles=Ey,l=r.reduce((c,p)=>zt(c,p),l),l.unstable_sxConfig={...li,...a==null?void 0:a.unstable_sxConfig},l.unstable_sx=function(p){return Dn({sx:p,theme:this})},l}function Ul(e){const{variants:r,...t}=e,n={variants:r,style:jl(t),isProcessed:!0};return n.style===t||r&&r.forEach(u=>{typeof u.style!="function"&&(u.style=jl(u.style))}),n}const xy=Hl();function ys(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Ay(e){return e?(r,t)=>t[e]:null}function Cy(e,r,t){e.theme=_y(e.theme)?t:e.theme[r]||e.theme}function vi(e,r){const t=typeof r=="function"?r(e):r;if(Array.isArray(t))return t.flatMap(n=>vi(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 Vl(e,t.variants,[n])}return t!=null&&t.isProcessed?t.style:t}function Vl(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 Ty(e={}){const{themeId:r,defaultTheme:t=xy,rootShouldForwardProp:n=ys,slotShouldForwardProp:u=ys}=e;function i(s){Cy(s,r,t)}return(s,f={})=>{yy(s,y=>y.filter(E=>E!==Dn));const{name:l,slot:c,skipVariantsResolver:p,skipSx:o,overridesResolver:d=Ay(Wl(c)),...m}=f,h=p!==void 0?p:c&&c!=="Root"&&c!=="root"||!1,b=o||!1;let g=ys;c==="Root"||c==="root"?g=n:c?g=u:Oy(s)&&(g=void 0);const w=by(s,{shouldForwardProp:g,label:Fy(l,c),...m}),v=y=>{if(typeof y=="function"&&y.__emotion_real!==y)return function(A){return vi(A,y)};if(Sr(y)){const E=Ul(y);return E.variants?function(C){return vi(C,E)}:E.style}return y},D=(...y)=>{const E=[],A=y.map(v),C=[];if(E.push(i),l&&d&&C.push(function(_){var I,J;const B=(J=(I=_.theme.components)==null?void 0:I[l])==null?void 0:J.styleOverrides;if(!B)return null;const N={};for(const re in B)N[re]=vi(_,B[re]);return d(_,N)}),l&&!h&&C.push(function(_){var N,I;const P=_.theme,B=(I=(N=P==null?void 0:P.components)==null?void 0:N[l])==null?void 0:I.variants;return B?Vl(_,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=Sy(l,c,s)),x};return w.withConfig&&(D.withConfig=w.withConfig),D}}function Sy(e,r,t){return e?`${e}${nn(r||"")}`:`Styled(${yb(t)})`}function Fy(e,r){let t;return process.env.NODE_ENV!=="production"&&e&&(t=`${e}-${Wl(r||"Root")}`),t}function _y(e){for(const r in e)return!1;return!0}function Oy(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Wl(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function vs(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}].`),xb(e,r,t)}function Ny(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(Ny(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.
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 yy(e,r){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=r(e.__emotion_styles))}const $l=[];function jl(e){return $l[0]=e,Rl($l)}const vy=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 wy(e){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:n=5,...u}=e,i=vy(r),a=Object.keys(i);function s(o){return`@media (min-width:${typeof r[o]=="number"?r[o]:o}${t})`}function d(o){return`@media (max-width:${(typeof r[o]=="number"?r[o]:o)-n/100}${t})`}function l(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 c(o){return a.indexOf(o)+1<a.length?l(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?d(a[f]):l(o,a[a.indexOf(o)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:s,down:d,between:l,only:c,not:p,unit:t,...u}}const Dy={borderRadius:4};function zl(e=8,r=os({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 Ey(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 Hl(e={},...r){const{breakpoints:t={},palette:n={},spacing:u,shape:i={},...a}=e,s=wy(t),d=zl(u);let l=zt({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:d,shape:{...Dy,...i}},a);return l=Fb(l),l.applyStyles=Ey,l=r.reduce((c,p)=>zt(c,p),l),l.unstable_sxConfig={...li,...a==null?void 0:a.unstable_sxConfig},l.unstable_sx=function(p){return Dn({sx:p,theme:this})},l}function Ul(e){const{variants:r,...t}=e,n={variants:r,style:jl(t),isProcessed:!0};return n.style===t||r&&r.forEach(u=>{typeof u.style!="function"&&(u.style=jl(u.style))}),n}const xy=Hl();function ys(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Ay(e){return e?(r,t)=>t[e]:null}function Cy(e,r,t){e.theme=_y(e.theme)?t:e.theme[r]||e.theme}function vi(e,r){const t=typeof r=="function"?r(e):r;if(Array.isArray(t))return t.flatMap(n=>vi(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 Vl(e,t.variants,[n])}return t!=null&&t.isProcessed?t.style:t}function Vl(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 Ty(e={}){const{themeId:r,defaultTheme:t=xy,rootShouldForwardProp:n=ys,slotShouldForwardProp:u=ys}=e;function i(s){Cy(s,r,t)}return(s,d={})=>{yy(s,y=>y.filter(E=>E!==Dn));const{name:l,slot:c,skipVariantsResolver:p,skipSx:o,overridesResolver:f=Ay(Wl(c)),...m}=d,h=p!==void 0?p:c&&c!=="Root"&&c!=="root"||!1,b=o||!1;let g=ys;c==="Root"||c==="root"?g=n:c?g=u:Oy(s)&&(g=void 0);const w=by(s,{shouldForwardProp:g,label:Fy(l,c),...m}),v=y=>{if(typeof y=="function"&&y.__emotion_real!==y)return function(A){return vi(A,y)};if(Sr(y)){const E=Ul(y);return E.variants?function(C){return vi(C,E)}:E.style}return y},D=(...y)=>{const E=[],A=y.map(v),C=[];if(E.push(i),l&&f&&C.push(function(_){var I,J;const B=(J=(I=_.theme.components)==null?void 0:I[l])==null?void 0:J.styleOverrides;if(!B)return null;const N={};for(const re in B)N[re]=vi(_,B[re]);return f(_,N)}),l&&!h&&C.push(function(_){var N,I;const P=_.theme,B=(I=(N=P==null?void 0:P.components)==null?void 0:N[l])==null?void 0:I.variants;return B?Vl(_,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=Sy(l,c,s)),x};return w.withConfig&&(D.withConfig=w.withConfig),D}}function Sy(e,r,t){return e?`${e}${nn(r||"")}`:`Styled(${yb(t)})`}function Fy(e,r){let t;return process.env.NODE_ENV!=="production"&&e&&(t=`${e}-${Wl(r||"Root")}`),t}function _y(e){for(const r in e)return!1;return!0}function Oy(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Wl(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function vs(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}].`),xb(e,r,t)}function Ny(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(Ny(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 My=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 My(e)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}};function wi(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 Yl(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=(l,c=(l+t/30)%12)=>u-i*Math.max(Math.min(c-3,9-c,1),-1);let s="rgb";const f=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",f.push(r[3])),wi({type:s,values:f})}function ws(e){e=zr(e);let r=e.type==="hsl"||e.type==="hsla"?zr(Yl(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 Gl(e,r){const t=ws(e),n=ws(r);return(Math.max(t,n)+.05)/(Math.min(t,n)+.05)}function Py(e,r){return e=zr(e),r=vs(r),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${r}`:e.values[3]=r,wi(e)}function Di(e,r,t){try{return Py(e,r)}catch{return e}}function Ds(e,r){if(e=zr(e),r=vs(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 wi(e)}function Qe(e,r,t){try{return Ds(e,r)}catch{return e}}function Es(e,r){if(e=zr(e),r=vs(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 wi(e)}function Ze(e,r,t){try{return Es(e,r)}catch{return e}}function By(e,r=.15){return ws(e)>.5?Ds(e,r):Es(e,r)}function Ei(e,r,t){try{return By(e,r)}catch{return e}}const Iy=At.createContext(void 0);process.env.NODE_ENV!=="production"&&(Ne.node,Ne.object);function Ry(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?as(u.defaultProps,n):!u.styleOverrides&&!u.variants?as(u,n):n}function ky({props:e,name:r}){const t=At.useContext(Iy);return Ry({props:e,name:r,theme:{components:t}})}const Xl={theme:void 0};function Ly(e){let r,t;return function(u){let i=r;return(i===void 0||u.theme!==t)&&(Xl.theme=u.theme,i=Ul(e(Xl)),r=i,t=u.theme),i}}function qy(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 Ql=(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])})},$y=(e,r,t)=>{function n(u,i=[],a=[]){Object.entries(u).forEach(([s,f])=>{(!t||t&&!t([...i,s]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?n(f,[...i,s],Array.isArray(f)?[...a,s]:a):r([...i,s],f,a))})}n(e)},jy=(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 xs(e,r){const{prefix:t,shouldSkipGeneratingVar:n}=r||{},u={},i={},a={};return $y(e,(s,f,l)=>{if((typeof f=="string"||typeof f=="number")&&(!n||!n(s,f))){const c=`--${t?`${t}-`:""}${s.join("-")}`,p=jy(s,f);Object.assign(u,{[c]:p}),Ql(i,s,`var(${c})`,l),Ql(a,s,`var(${c}, ${p})`,l)}},s=>s[0]==="vars"),{css:u,vars:i,varsWithDefaults:a}}function zy(e,r={}){const{getSelector:t=b,disableCssColorScheme:n,colorSchemeSelector:u}=r,{colorSchemes:i={},components:a,defaultColorScheme:s="light",...f}=e,{vars:l,css:c,varsWithDefaults:p}=xs(f,r);let o=p;const d={},{[s]:m,...h}=i;if(Object.entries(h||{}).forEach(([v,D])=>{const{vars:y,css:E,varsWithDefaults:A}=xs(D,r);o=zt(o,A),d[v]={css:E,vars:y}}),m){const{css:v,vars:D,varsWithDefaults:y}=xs(m,r);o=zt(o,y),d[s]={css:v,vars:D}}function b(v,D){var E,A;let y=u;if(u==="class"&&(y=".%s"),u==="data"&&(y="[data-%s]"),u!=null&&u.startsWith("data-")&&!u.includes("%s")&&(y=`[${u}="%s"]`),v){if(y==="media")return e.defaultColorScheme===v?":root":{[`@media (prefers-color-scheme: ${((A=(E=i[v])==null?void 0:E.palette)==null?void 0:A.mode)||v})`]:{":root":D}};if(y)return e.defaultColorScheme===v?`:root, ${y.replace("%s",String(v))}`:y.replace("%s",String(v))}return":root"}return{vars:o,generateThemeVars:()=>{let v={...l};return Object.entries(d).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,{...c}),c);const{[D]:E,...A}=d;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 Hy(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"},Uy={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 Zl(){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 Vy=Zl();function Jl(){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 Kl=Jl();function ef(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=Es(e.main,u):r==="dark"&&(e.dark=Ds(e.main,i)))}function Wy(e="light"){return e==="dark"?{main:Sn[200],light:Sn[50],dark:Sn[400]}:{main:Sn[700],light:Sn[400],dark:Sn[800]}}function Yy(e="light"){return e==="dark"?{main:Cn[200],light:Cn[50],dark:Cn[400]}:{main:Cn[500],light:Cn[300],dark:Cn[700]}}function Gy(e="light"){return e==="dark"?{main:Tn[500],light:Tn[300],dark:Tn[700]}:{main:Tn[700],light:Tn[400],dark:Tn[800]}}function Xy(e="light"){return e==="dark"?{main:Fn[400],light:Fn[300],dark:Fn[700]}:{main:Fn[700],light:Fn[500],dark:Fn[900]}}function Qy(e="light"){return e==="dark"?{main:_n[400],light:_n[300],dark:_n[700]}:{main:_n[800],light:_n[500],dark:_n[900]}}function Zy(e="light"){return e==="dark"?{main:su[400],light:su[300],dark:su[700]}:{main:"#ed6c02",light:su[500],dark:su[900]}}function As(e){const{mode:r="light",contrastThreshold:t=3,tonalOffset:n=.2,...u}=e,i=e.primary||Wy(r),a=e.secondary||Yy(r),s=e.error||Gy(r),f=e.info||Xy(r),l=e.success||Qy(r),c=e.warning||Zy(r);function p(h){const b=Gl(h,Kl.text.primary)>=t?Kl.text.primary:Vy.text.primary;if(process.env.NODE_ENV!=="production"){const g=Gl(h,b);g<3&&console.error([`MUI: The contrast ratio of ${g}:1 for ${b} on ${h}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
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 My=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 My(e)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}};function wi(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 Yl(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=(l,c=(l+t/30)%12)=>u-i*Math.max(Math.min(c-3,9-c,1),-1);let s="rgb";const d=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",d.push(r[3])),wi({type:s,values:d})}function ws(e){e=zr(e);let r=e.type==="hsl"||e.type==="hsla"?zr(Yl(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 Gl(e,r){const t=ws(e),n=ws(r);return(Math.max(t,n)+.05)/(Math.min(t,n)+.05)}function Py(e,r){return e=zr(e),r=vs(r),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${r}`:e.values[3]=r,wi(e)}function Di(e,r,t){try{return Py(e,r)}catch{return e}}function Ds(e,r){if(e=zr(e),r=vs(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 wi(e)}function Qe(e,r,t){try{return Ds(e,r)}catch{return e}}function Es(e,r){if(e=zr(e),r=vs(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 wi(e)}function Ze(e,r,t){try{return Es(e,r)}catch{return e}}function By(e,r=.15){return ws(e)>.5?Ds(e,r):Es(e,r)}function Ei(e,r,t){try{return By(e,r)}catch{return e}}const Iy=At.createContext(void 0);process.env.NODE_ENV!=="production"&&(Ne.node,Ne.object);function Ry(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?as(u.defaultProps,n):!u.styleOverrides&&!u.variants?as(u,n):n}function ky({props:e,name:r}){const t=At.useContext(Iy);return Ry({props:e,name:r,theme:{components:t}})}const Xl={theme:void 0};function Ly(e){let r,t;return function(u){let i=r;return(i===void 0||u.theme!==t)&&(Xl.theme=u.theme,i=Ul(e(Xl)),r=i,t=u.theme),i}}function qy(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 Ql=(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])})},$y=(e,r,t)=>{function n(u,i=[],a=[]){Object.entries(u).forEach(([s,d])=>{(!t||t&&!t([...i,s]))&&d!=null&&(typeof d=="object"&&Object.keys(d).length>0?n(d,[...i,s],Array.isArray(d)?[...a,s]:a):r([...i,s],d,a))})}n(e)},jy=(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 xs(e,r){const{prefix:t,shouldSkipGeneratingVar:n}=r||{},u={},i={},a={};return $y(e,(s,d,l)=>{if((typeof d=="string"||typeof d=="number")&&(!n||!n(s,d))){const c=`--${t?`${t}-`:""}${s.join("-")}`,p=jy(s,d);Object.assign(u,{[c]:p}),Ql(i,s,`var(${c})`,l),Ql(a,s,`var(${c}, ${p})`,l)}},s=>s[0]==="vars"),{css:u,vars:i,varsWithDefaults:a}}function zy(e,r={}){const{getSelector:t=b,disableCssColorScheme:n,colorSchemeSelector:u}=r,{colorSchemes:i={},components:a,defaultColorScheme:s="light",...d}=e,{vars:l,css:c,varsWithDefaults:p}=xs(d,r);let o=p;const f={},{[s]:m,...h}=i;if(Object.entries(h||{}).forEach(([v,D])=>{const{vars:y,css:E,varsWithDefaults:A}=xs(D,r);o=zt(o,A),f[v]={css:E,vars:y}}),m){const{css:v,vars:D,varsWithDefaults:y}=xs(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={...l};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,{...c}),c);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 Hy(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"},Uy={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 Zl(){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 Vy=Zl();function Jl(){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 Kl=Jl();function ef(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=Es(e.main,u):r==="dark"&&(e.dark=Ds(e.main,i)))}function Wy(e="light"){return e==="dark"?{main:Sn[200],light:Sn[50],dark:Sn[400]}:{main:Sn[700],light:Sn[400],dark:Sn[800]}}function Yy(e="light"){return e==="dark"?{main:Cn[200],light:Cn[50],dark:Cn[400]}:{main:Cn[500],light:Cn[300],dark:Cn[700]}}function Gy(e="light"){return e==="dark"?{main:Tn[500],light:Tn[300],dark:Tn[700]}:{main:Tn[700],light:Tn[400],dark:Tn[800]}}function Xy(e="light"){return e==="dark"?{main:Fn[400],light:Fn[300],dark:Fn[700]}:{main:Fn[700],light:Fn[500],dark:Fn[900]}}function Qy(e="light"){return e==="dark"?{main:_n[400],light:_n[300],dark:_n[700]}:{main:_n[800],light:_n[500],dark:_n[900]}}function Zy(e="light"){return e==="dark"?{main:su[400],light:su[300],dark:su[700]}:{main:"#ed6c02",light:su[500],dark:su[900]}}function As(e){const{mode:r="light",contrastThreshold:t=3,tonalOffset:n=.2,...u}=e,i=e.primary||Wy(r),a=e.secondary||Yy(r),s=e.error||Gy(r),d=e.info||Xy(r),l=e.success||Qy(r),c=e.warning||Zy(r);function p(h){const b=Gl(h,Kl.text.primary)>=t?Kl.text.primary:Vy.text.primary;if(process.env.NODE_ENV!=="production"){const g=Gl(h,b);g<3&&console.error([`MUI: The contrast ratio of ${g}:1 for ${b} on ${h}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
139
139
  `))}return b}const o=({color:h,name:b,mainShade:g=500,lightShade:w=300,darkShade:v=700})=>{if(h={...h},!h.main&&h[g]&&(h.main=h[g]),!h.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${b?` (${b})`:""} provided to augmentColor(color) is invalid.
140
140
  The color object needs to have a \`main\` property or a \`${g}\` property.`:$r(11,b?` (${b})`:"",g));if(typeof h.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${b?` (${b})`:""} provided to augmentColor(color) is invalid.
141
141
  \`color.main\` should be a string, but \`${JSON.stringify(h.main)}\` was provided instead.
@@ -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(h.main)));return ef(h,"light",w,n),ef(h,"dark",v,n),h.contrastText||(h.contrastText=p(h.main)),h};let d;return r==="light"?d=Zl():r==="dark"&&(d=Jl()),process.env.NODE_ENV!=="production"&&(d||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:c,name:"warning"}),info:o({color:f,name:"info"}),success:o({color:l,name:"success"}),grey:Uy,contrastThreshold:t,getContrastText:p,augmentColor:o,tonalOffset:n,...d},u)}function Jy(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 Ky(e,r){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...r}}function ev(e){return Math.round(e*1e5)/1e5}const tf={textTransform:"uppercase"},rf='"Roboto", "Helvetica", "Arial", sans-serif';function tv(e,r){const{fontFamily:t=rf,fontSize:n=14,fontWeightLight:u=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:f=16,allVariants:l,pxToRem:c,...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 f!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const o=n/14,d=c||(b=>`${b/f*o}rem`),m=(b,g,w,v,D)=>({fontFamily:t,fontWeight:b,fontSize:d(g),lineHeight:w,...t===rf?{letterSpacing:`${ev(v/g)}em`}:{},...D,...l}),h={h1:m(u,96,1.167,-1.5),h2:m(u,60,1.2,-.5),h3:m(i,48,1.167,0),h4:m(i,34,1.235,.25),h5:m(i,24,1.334,0),h6:m(a,20,1.6,.15),subtitle1:m(i,16,1.75,.15),subtitle2:m(a,14,1.57,.1),body1:m(i,16,1.5,.15),body2:m(i,14,1.43,.15),button:m(a,14,1.75,.4,tf),caption:m(i,12,1.66,.4),overline:m(i,12,2.66,1,tf),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return zt({htmlFontSize:f,pxToRem:d,fontFamily:t,fontSize:n,fontWeightLight:u,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...h},p,{clone:!1})}const rv=.2,nv=.14,uv=.12;function nt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${rv})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${nv})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${uv})`].join(",")}const iv=["none",nt(0,2,1,-1,0,1,1,0,0,1,3,0),nt(0,3,1,-2,0,2,2,0,0,1,5,0),nt(0,3,3,-2,0,3,4,0,0,1,8,0),nt(0,2,4,-1,0,4,5,0,0,1,10,0),nt(0,3,5,-1,0,5,8,0,0,1,14,0),nt(0,3,5,-1,0,6,10,0,0,1,18,0),nt(0,4,5,-2,0,7,10,1,0,2,16,1),nt(0,5,5,-3,0,8,10,1,0,3,14,2),nt(0,5,6,-3,0,9,12,1,0,3,16,2),nt(0,6,6,-3,0,10,14,1,0,4,18,3),nt(0,6,7,-4,0,11,15,1,0,4,20,3),nt(0,7,8,-4,0,12,17,2,0,5,22,4),nt(0,7,8,-4,0,13,19,2,0,5,24,4),nt(0,7,9,-4,0,14,21,2,0,5,26,4),nt(0,8,9,-5,0,15,22,2,0,6,28,5),nt(0,8,10,-5,0,16,24,2,0,6,30,5),nt(0,8,11,-5,0,17,26,2,0,6,32,5),nt(0,9,11,-5,0,18,28,2,0,7,34,6),nt(0,9,12,-6,0,19,29,2,0,7,36,6),nt(0,10,13,-6,0,20,31,3,0,8,38,7),nt(0,10,13,-6,0,21,33,3,0,8,40,7),nt(0,10,14,-6,0,22,35,3,0,8,42,7),nt(0,11,14,-7,0,23,36,3,0,9,44,8),nt(0,11,15,-7,0,24,38,3,0,9,46,8)],av={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)"},sv={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function nf(e){return`${Math.round(e)}ms`}function ov(e){if(!e)return 0;const r=e/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function cv(e){const r={...av,...e.easing},t={...sv,...e.duration};return{getAutoHeightDuration:ov,create:(u=["all"],i={})=>{const{duration:a=t.standard,easing:s=r.easeInOut,delay:f=0,...l}=i;if(process.env.NODE_ENV!=="production"){const c=o=>typeof o=="string",p=o=>!Number.isNaN(parseFloat(o));!c(u)&&!Array.isArray(u)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(a)&&!c(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),c(s)||console.error('MUI: Argument "easing" must be a string.'),!p(f)&&!c(f)&&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(l).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(l).join(",")}].`)}return(Array.isArray(u)?u:[u]).map(c=>`${c} ${typeof a=="string"?a:nf(a)} ${s} ${typeof f=="string"?f:nf(f)}`).join(",")},...e,easing:r,duration:t}}const lv={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function fv(e){return Sr(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function uf(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];!fv(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';
153
+ } });`:$r(12,b?` (${b})`:"",JSON.stringify(h.main)));return ef(h,"light",w,n),ef(h,"dark",v,n),h.contrastText||(h.contrastText=p(h.main)),h};let f;return r==="light"?f=Zl():r==="dark"&&(f=Jl()),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:c,name:"warning"}),info:o({color:d,name:"info"}),success:o({color:l,name:"success"}),grey:Uy,contrastThreshold:t,getContrastText:p,augmentColor:o,tonalOffset:n,...f},u)}function Jy(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 Ky(e,r){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...r}}function ev(e){return Math.round(e*1e5)/1e5}const tf={textTransform:"uppercase"},rf='"Roboto", "Helvetica", "Arial", sans-serif';function tv(e,r){const{fontFamily:t=rf,fontSize:n=14,fontWeightLight:u=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:d=16,allVariants:l,pxToRem:c,...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 d!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const o=n/14,f=c||(b=>`${b/d*o}rem`),m=(b,g,w,v,D)=>({fontFamily:t,fontWeight:b,fontSize:f(g),lineHeight:w,...t===rf?{letterSpacing:`${ev(v/g)}em`}:{},...D,...l}),h={h1:m(u,96,1.167,-1.5),h2:m(u,60,1.2,-.5),h3:m(i,48,1.167,0),h4:m(i,34,1.235,.25),h5:m(i,24,1.334,0),h6:m(a,20,1.6,.15),subtitle1:m(i,16,1.75,.15),subtitle2:m(a,14,1.57,.1),body1:m(i,16,1.5,.15),body2:m(i,14,1.43,.15),button:m(a,14,1.75,.4,tf),caption:m(i,12,1.66,.4),overline:m(i,12,2.66,1,tf),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return zt({htmlFontSize:d,pxToRem:f,fontFamily:t,fontSize:n,fontWeightLight:u,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...h},p,{clone:!1})}const rv=.2,nv=.14,uv=.12;function nt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${rv})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${nv})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${uv})`].join(",")}const iv=["none",nt(0,2,1,-1,0,1,1,0,0,1,3,0),nt(0,3,1,-2,0,2,2,0,0,1,5,0),nt(0,3,3,-2,0,3,4,0,0,1,8,0),nt(0,2,4,-1,0,4,5,0,0,1,10,0),nt(0,3,5,-1,0,5,8,0,0,1,14,0),nt(0,3,5,-1,0,6,10,0,0,1,18,0),nt(0,4,5,-2,0,7,10,1,0,2,16,1),nt(0,5,5,-3,0,8,10,1,0,3,14,2),nt(0,5,6,-3,0,9,12,1,0,3,16,2),nt(0,6,6,-3,0,10,14,1,0,4,18,3),nt(0,6,7,-4,0,11,15,1,0,4,20,3),nt(0,7,8,-4,0,12,17,2,0,5,22,4),nt(0,7,8,-4,0,13,19,2,0,5,24,4),nt(0,7,9,-4,0,14,21,2,0,5,26,4),nt(0,8,9,-5,0,15,22,2,0,6,28,5),nt(0,8,10,-5,0,16,24,2,0,6,30,5),nt(0,8,11,-5,0,17,26,2,0,6,32,5),nt(0,9,11,-5,0,18,28,2,0,7,34,6),nt(0,9,12,-6,0,19,29,2,0,7,36,6),nt(0,10,13,-6,0,20,31,3,0,8,38,7),nt(0,10,13,-6,0,21,33,3,0,8,40,7),nt(0,10,14,-6,0,22,35,3,0,8,42,7),nt(0,11,14,-7,0,23,36,3,0,9,44,8),nt(0,11,15,-7,0,24,38,3,0,9,46,8)],av={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)"},sv={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function nf(e){return`${Math.round(e)}ms`}function ov(e){if(!e)return 0;const r=e/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function cv(e){const r={...av,...e.easing},t={...sv,...e.duration};return{getAutoHeightDuration:ov,create:(u=["all"],i={})=>{const{duration:a=t.standard,easing:s=r.easeInOut,delay:d=0,...l}=i;if(process.env.NODE_ENV!=="production"){const c=o=>typeof o=="string",p=o=>!Number.isNaN(parseFloat(o));!c(u)&&!Array.isArray(u)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(a)&&!c(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),c(s)||console.error('MUI: Argument "easing" must be a string.'),!p(d)&&!c(d)&&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(l).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(l).join(",")}].`)}return(Array.isArray(u)?u:[u]).map(c=>`${c} ${typeof a=="string"?a:nf(a)} ${s} ${typeof d=="string"?d:nf(d)}`).join(",")},...e,easing:r,duration:t}}const lv={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function fv(e){return Sr(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function uf(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];!fv(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 Cs(e={},...r){const{breakpoints:t,mixins:n={},spacing:u,palette:i={},transitions:a={},typography:s={},shape:f,...l}=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 c=As(i),p=Hl(e);let o=zt(p,{mixins:Ky(p.breakpoints,n),palette:c,shadows:iv.slice(),typography:tv(c,s),transitions:cv(a),zIndex:{...lv}});if(o=zt(o,l),o=r.reduce((d,m)=>zt(d,m),o),process.env.NODE_ENV!=="production"){const d=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],m=(h,b)=>{let g;for(g in h){const w=h[g];if(d.includes(g)&&Object.keys(w).length>0){if(process.env.NODE_ENV!=="production"){const v=ss("",g);console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${g}\` internal state.`,"You can not override it like this: ",JSON.stringify(h,null,2),"",`Instead, you need to use the '&.${v}' syntax:`,JSON.stringify({root:{[`&.${v}`]:w}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
161
+ export default theme;`}function Cs(e={},...r){const{breakpoints:t,mixins:n={},spacing:u,palette:i={},transitions:a={},typography:s={},shape:d,...l}=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 c=As(i),p=Hl(e);let o=zt(p,{mixins:Ky(p.breakpoints,n),palette:c,shadows:iv.slice(),typography:tv(c,s),transitions:cv(a),zIndex:{...lv}});if(o=zt(o,l),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=(h,b)=>{let g;for(g in h){const w=h[g];if(f.includes(g)&&Object.keys(w).length>0){if(process.env.NODE_ENV!=="production"){const v=ss("",g);console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${g}\` internal state.`,"You can not override it like this: ",JSON.stringify(h,null,2),"",`Instead, you need to use the '&.${v}' syntax:`,JSON.stringify({root:{[`&.${v}`]:w}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
162
162
  `))}h[g]={}}}};Object.keys(o.components).forEach(h=>{const b=o.components[h].styleOverrides;b&&h.startsWith("Mui")&&m(b,h)})}return o.unstable_sxConfig={...li,...l==null?void 0:l.unstable_sxConfig},o.unstable_sx=function(m){return Dn({sx:m,theme:this})},o.toRuntimeSource=uf,o}function dv(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 hv=[...Array(25)].map((e,r)=>{if(r===0)return"none";const t=dv(r);return`linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`});function af(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function sf(e){return e==="dark"?hv:[]}function pv(e){const{palette:r={mode:"light"},opacity:t,overlays:n,...u}=e,i=As(r);return{palette:i,opacity:{...af(i.mode),...t},overlays:n||sf(i.mode),...u}}function mv(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 gv=e=>[...[...Array(25)].map((r,t)=>`--${e?`${e}-`:""}overlays-${t}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],bv=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 gv(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 yv(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:Yl(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 vv(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const yr=e=>{try{return e()}catch{}},wv=(e="mui")=>qy(e);function Ts(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}=Cs({...t,palette:{mode:u,...r==null?void 0:r.palette}});return e[n]={...r,palette:i,opacity:{...af(u),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||sf(u)},a}function Dv(e={},...r){const{colorSchemes:t={light:!0},defaultColorScheme:n,disableCssColorScheme:u=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=mv,colorSchemeSelector:s=t.light&&t.dark?"media":void 0,rootSelector:f=":root",...l}=e,c=Object.keys(t)[0],p=n||(t.light&&c!=="light"?"light":c),o=wv(i),{[p]:d,light:m,dark:h,...b}=t,g={...b};let w=d;if((p==="dark"&&!("dark"in t)||p==="light"&&!("light"in t))&&(w=!0),!w)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:$r(21,p));const v=Ts(g,w,l,p);m&&!g.light&&Ts(g,m,void 0,"light"),h&&!g.dark&&Ts(g,h,void 0,"dark");let D={defaultColorScheme:p,...v,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:f,getCssVar:o,colorSchemes:g,font:{...Jy(v.typography),...v.font},spacing:vv(l.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")),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",yr(()=>x.getContrastText(x.error.main))),j(x.Alert,"infoFilledColor",yr(()=>x.getContrastText(x.info.main))),j(x.Alert,"successFilledColor",yr(()=>x.getContrastText(x.success.main))),j(x.Alert,"warningFilledColor",yr(()=>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 _=Ei(x.background.default,.8);j(x.SnackbarContent,"bg",_),j(x.SnackbarContent,"color",yr(()=>x.getContrastText(_))),j(x.SpeedDialAction,"fabHoverBg",Ei(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(Di(x.divider,1),.88)),j(x.Tooltip,"bg",Di(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",yr(()=>x.getContrastText(x.error.dark))),j(x.Alert,"infoFilledColor",yr(()=>x.getContrastText(x.info.dark))),j(x.Alert,"successFilledColor",yr(()=>x.getContrastText(x.success.dark))),j(x.Alert,"warningFilledColor",yr(()=>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 _=Ei(x.background.default,.98);j(x.SnackbarContent,"bg",_),j(x.SnackbarContent,"color",yr(()=>x.getContrastText(_))),j(x.SpeedDialAction,"fabHoverBg",Ei(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(Di(x.divider,1),.68)),j(x.Tooltip,"bg",Di(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: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 zl(l.spacing,os(this))},D.getColorSchemeSelector=Hy(s),D.spacing=D.generateSpacing(),D.shouldSkipGeneratingVar=a,D.unstable_sxConfig={...li,...l==null?void 0:l.unstable_sxConfig},D.unstable_sx=function(x){return Dn({sx:x,theme:this})},D.toRuntimeSource=uf,D}function of(e,r,t){e.colorSchemes&&t&&(e.colorSchemes[r]={...t!==!0&&t,palette:As({...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,s=i||"light",f=u==null?void 0:u[s],l={...u,...t?{[s]:{...typeof f!="boolean"&&f,palette:t}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Cs(e,...r);let c=t;"palette"in e||l[s]&&(l[s]!==!0?c=l[s].palette:s==="dark"&&(c={mode:"dark"}));const p=Cs({...e,palette:c},...r);return p.defaultColorScheme=s,p.colorSchemes=l,p.palette.mode==="light"&&(p.colorSchemes.light={...l.light!==!0&&l.light,palette:p.palette},of(p,"dark",l.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:p.palette},of(p,"light",l.light)),p}return!t&&!("light"in l)&&s==="light"&&(l.light=!0),Dv({...a,colorSchemes:l,defaultColorScheme:s,...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"&&(Ne.node,Ne.object.isRequired);function Fv(e){return ky(e)}function _v(e){return ss("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${nn(r)}`,`fontSize${nn(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${nn(t.color)}`],r[`fontSize${nn(t.fontSize)}`]]}})(Sv(({theme:e})=>{var r,t,n,u,i,a,s,f,l,c,p,o,d,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(u=(r=e.transitions)==null?void 0:r.create)==null?void 0:u.call(r,"fill",{duration:(n=(t=(e.vars??e).transitions)==null?void 0:t.duration)==null?void 0:n.shorter}),variants:[{props:h=>!h.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((f=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:f.call(s,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((c=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:c.call(l,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,h])=>h&&h.main).map(([h])=>{var b,g;return{props:{color:h},style:{color:(g=(b=(e.vars??e).palette)==null?void 0:b[h])==null?void 0:g.main}}}),{props:{color:"action"},style:{color:(o=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:o.active}},{props:{color:"disabled"},style:{color:(m=(d=(e.vars??e).palette)==null?void 0:d.action)==null?void 0:m.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),xi=At.forwardRef(function(r,t){const n=Fv({props:r,name:"MuiSvgIcon"}),{children:u,className:i,color:a="inherit",component:s="svg",fontSize:f="medium",htmlColor:l,inheritViewBox:c=!1,titleAccess:p,viewBox:o="0 0 24 24",...d}=n,m=At.isValidElement(u)&&u.type==="svg",h={...n,color:a,component:s,fontSize:f,instanceFontSize:r.fontSize,inheritViewBox:c,viewBox:o,hasSvgAsChild:m},b={};c||(b.viewBox=o);const g=Ov(h);return K.jsxs(Nv,{as:s,className:Ab(g.root,i),focusable:"false",color:l,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:t,...b,...d,...m&&u.props,ownerState:h,children:[m?u.props.children:u,p?K.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(xi.propTypes={children:Ne.node,classes:Ne.object,className:Ne.string,color:Ne.oneOfType([Ne.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),Ne.string]),component:Ne.elementType,fontSize:Ne.oneOfType([Ne.oneOf(["inherit","large","medium","small"]),Ne.string]),htmlColor:Ne.string,inheritViewBox:Ne.bool,shapeRendering:Ne.string,sx:Ne.oneOfType([Ne.arrayOf(Ne.oneOfType([Ne.func,Ne.object,Ne.bool])),Ne.func,Ne.object]),titleAccess:Ne.string,viewBox:Ne.string}),xi.muiName="SvgIcon";function Ss(e,r){function t(n,u){return K.jsx(xi,{"data-testid":`${r}Icon`,ref:u,...n,children:e})}return process.env.NODE_ENV!=="production"&&(t.displayName=`${r}Icon`),t.muiName=xi.muiName,At.memo(At.forwardRef(t))}const Mv=Ss(K.jsx("path",{d:"m7 14 5-5 5 5z"}),"ArrowDropUp"),Pv=Ss(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 Ai=e=>/^-?(?:\d+|\d*\.\d+|\d+\.)$/.test(e);function cf(e){const{disabled:r,readonly:t,decimalPlaces:n=14,name:u,rules:i,sx:a,...s}=e,{field:f,fieldState:{error:l}}=Kt.useController({name:u,rules:{...i,validate:d=>d&&!Ai(d)?"Please enter a valid number.":!0}}),c=d=>{const m=d.target.value,h=Bv(m);f.onChange(h)},p=d=>{const m=parseFloat(d);if(Ai(d)){const h=ub(m,n);f.onChange(tb(h))}f.onBlur()};if(t)return K.jsx(Jr,{label:s.label,text:f.value,sx:a,error:l==null?void 0:l.message});const o=K.jsxs(Le.InputAdornment,{position:"end",sx:{display:"flex",flexDirection:"column",gap:1,alignItems:"center",height:"auto !important"},children:[K.jsx(Le.IconButton,{size:"small",onClick:()=>{if(Ai(f.value)||!f.value){const d=ab(f.value||0,1);f.onChange(d),p(d)}},disabled:r,sx:{pt:0,pb:0},children:K.jsx(Mv,{fontSize:"small","data-testid":"increment-button"})}),K.jsx(Le.IconButton,{size:"small",onClick:()=>{if(Ai(f.value)||!f.value){const d=sb(f.value||0,1);f.onChange(d),p(d)}},disabled:r,sx:{pt:0,pb:0},children:K.jsx(Pv,{fontSize:"small","data-testid":"decrement-button"})})]});return K.jsx(Le.TextField,{...f,...s,onChange:c,onBlur:d=>p(d.target.value),fullWidth:!0,placeholder:r?"0":"",error:!!l,helperText:!!l&&K.jsx(ln,{error:l.message}),disabled:r,sx:{...a,m:0},InputProps:{endAdornment:o},slotProps:{input:{endAdornment:o}}})}function lf({name:e,label:r,sx:t={}}){const{control:n}=Kt.useFormContext();return K.jsx(Kt.Controller,{name:e,control:n,render:({field:u,fieldState:{error:i}})=>K.jsx(Jr,{label:r,text:u.value||0,sx:t,error:i==null?void 0:i.message})})}function ff({name:e,label:r,options:t=[],sx:n={},disabled:u,rules:i={},readonly:a}){const{field:s,fieldState:{error:f}}=Kt.useController({name:e,rules:i}),l=t.map(p=>({label:p.displayValue,id:p.key})),{value:c}=s;return a?K.jsx(Jr,{label:r,text:c==null?void 0:c.displayValue,sx:n,error:f==null?void 0:f.message}):K.jsx(Le.Autocomplete,{"data-test-id":"form-field-select",...s,value:c==null?void 0:c.displayValue,onChange:(p,o)=>s.onChange(o?{displayValue:o.label,key:o.id}:null),options:l,renderInput:p=>K.jsx(Le.TextField,{...p,label:r,error:!!f,helperText:!!f&&K.jsx(ln,{error:f.message}),slotProps:{inputLabel:{shrink:!0}},sx:{...n,m:0}}),fullWidth:!0,disabled:u})}const Iv=Ss(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 Fs,df;function Rv(){return df||(df=1,Fs=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=dl()},function(e,r){e.exports=Je},function(e,r,t){t.r(r);var n=t(1),u=t(0),i=function(){return(i=Object.assign||function(m){for(var h,b=1,g=arguments.length;b<g;b++)for(var w in h=arguments[b])Object.prototype.hasOwnProperty.call(h,w)&&(m[w]=h[w]);return m}).apply(this,arguments)},a=function(m,h){var b={};for(var g in m)Object.prototype.hasOwnProperty.call(m,g)&&h.indexOf(g)<0&&(b[g]=m[g]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(g=Object.getOwnPropertySymbols(m);w<g.length;w++)h.indexOf(g[w])<0&&Object.prototype.propertyIsEnumerable.call(m,g[w])&&(b[g[w]]=m[g[w]])}return b},s=0,f=n.forwardRef(function(m,h){var b=m.title,g=b===void 0?null:b,w=m.description,v=w===void 0?null:w,D=m.size,y=D===void 0?null:D,E=m.color,A=E===void 0?"currentColor":E,C=m.horizontal,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:h,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)});f.displayName="Stack",f.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},f.defaultProps={size:null,color:null,horizontal:null,vertical:null,rotate:null,spin:null};var l=f;t.d(r,"Icon",function(){return d}),t.d(r,"Stack",function(){return l});var c=function(){return(c=Object.assign||function(m){for(var h,b=1,g=arguments.length;b<g;b++)for(var w in h=arguments[b])Object.prototype.hasOwnProperty.call(h,w)&&(m[w]=h[w]);return m}).apply(this,arguments)},p=function(m,h){var b={};for(var g in m)Object.prototype.hasOwnProperty.call(m,g)&&h.indexOf(g)<0&&(b[g]=m[g]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(g=Object.getOwnPropertySymbols(m);w<g.length;w++)h.indexOf(g[w])<0&&Object.prototype.propertyIsEnumerable.call(m,g[w])&&(b[g[w]]=m[g[w]])}return b},o=0,d=n.forwardRef(function(m,h){var b=m.path,g=m.id,w=g===void 0?++o:g,v=m.title,D=v===void 0?null:v,y=m.description,E=y===void 0?null:y,A=m.size,C=A===void 0?null:A,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",c({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",c({ref:h,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}])),Fs}var kv=Rv();const _s=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 un({children:e,internal:r,required:t,helpText:n,isCalculated:u,readonly:i,deleted:a,isSection:s,variant:f="h4"}){const l={display:"flex",alignItems:"center"},c=i?{...l,gap:1}:{...l,justifyContent:"space-between"};return K.jsxs(Le.Box,{sx:c,children:[K.jsxs(Le.Typography,{"data-testid":"form-field-label",variant:f,color:"black",sx:{whiteSpace:"normal",wordBreak:"break-word"},children:[e,t&&"*"]}),K.jsxs(Le.Box,{sx:{display:"flex",gap:1},children:[r&&K.jsx(Le.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(_s,{path:qv,size:"20px",color:sn.capitalDesignTokens.foundations.colors.yellow700,"data-testid":"internal-icon"})}),n&&n!==""&&K.jsx(Le.Tooltip,{placement:"top",title:K.jsx(Le.Typography,{variant:"bodyXSmall",sx:{whiteSpace:"pre-line"},children:n}),sx:{cursor:"default"},children:K.jsx(Iv,{fontSize:"small",htmlColor:sn.capitalDesignTokens.foundations.colors.gray600,"data-testid":"help-icon"})}),u&&K.jsx(Le.Tooltip,{placement:"top",title:"This field is calculated.",sx:{cursor:"default"},children:K.jsx(_s,{path:Lv,size:"20px",color:sn.capitalDesignTokens.foundations.colors.gray800,"data-testid":"calculation-icon"})}),a&&K.jsx(Le.Tooltip,{placement:"top",title:"This field was deleted.",sx:{cursor:"default"},children:K.jsx(_s,{path:$v,size:"20px",color:sn.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 s=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;return a.match(s).map(f=>{const l=f[0];if(l==="p"||l==="P"){const c=this.longFormatters[l];return c(f,this.locale.formatLong)}return f}).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 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:Ys(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)=>mu(n,u),this.isAfterYear=(n,u)=>mu(n,Xs(u)),this.isAfterDay=(n,u)=>mu(n,Gs(u)),this.isBefore=(n,u)=>gu(n,u),this.isBeforeYear=(n,u)=>gu(n,this.startOfYear(u)),this.isBeforeDay=(n,u)=>gu(n,this.startOfDay(u)),this.isWithinRange=(n,[u,i])=>Lh(n,{start:u,end:i}),this.startOfYear=n=>Qs(n),this.startOfMonth=n=>Lf(n),this.startOfWeek=n=>wr(n,{locale:this.locale}),this.startOfDay=n=>Wr(n),this.endOfYear=n=>Xs(n),this.endOfMonth=n=>kf(n),this.endOfWeek=n=>qf(n,{locale:this.locale}),this.endOfDay=n=>Gs(n),this.addYears=(n,u)=>Bf(n,u),this.addMonths=(n,u)=>hu(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=>io(n),this.getWeekArray=n=>{const u=this.startOfWeek(this.startOfMonth(n)),i=this.endOfWeek(this.endOfMonth(n));let a=0,s=u;const f=[];for(;this.isBefore(s,i);){const l=Math.floor(a/7);f[l]=f[l]||[],f[l].push(s),s=this.addDays(s,1),a+=1}return f},this.getWeekNumber=n=>Ii(n,{locale:this.locale}),this.getYearRange=([n,u])=>{const i=this.startOfYear(n),a=this.endOfYear(u),s=[];let f=i;for(;this.isBefore(f,a);)s.push(f),f=this.addYears(f,1);return s}}}const hf=Je.createContext(void 0),Vv=({children:e,layout:r={section:()=>({}),field:()=>({})}})=>K.jsx(hf.Provider,{value:{layout:r},children:e}),pf=()=>{const e=Je.useContext(hf);if(!e)throw new Error("useFormLayout must be used within a FormLayoutProvider");return e.layout},mf=Je.createContext(void 0),Wv=({children:e,template:r,fieldTypes:t})=>K.jsx(mf.Provider,{value:{template:r,fieldTypes:t},children:e}),gf=()=>{const e=Je.useContext(mf);if(!e)throw new Error("useFormRenderer must be used within a FormRendererProvider");return e},Yv=e=>{const{fieldTypes:r}=gf();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}},Gv=e=>{const{template:r}=gf(),t=r.fields[e];if(!t)throw new Error(`Field template for ${e} not found`);return t},Xv={type:"DATE",name:"Date",groups:[],dateFormat:"MM/dd/yyyy",renderField:(e,r,{disabled:t,readonly:n,name:u})=>K.jsx(Bc,{name:u??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})},Qv={type:"DROPDOWN",name:"Dropdown",groups:[],renderField:(e,r,{disabled:t,readonly:n,name:u})=>K.jsx(ff,{name:u??e.id,label:K.jsx(un,{...e,children:e.label}),rules:On(e),options:e.options,disabled:t,readonly:n})},Zv={type:"CHECKBOX",name:"Checkbox",groups:[],renderField:(e,r,{disabled:t,readonly:n,name:u})=>K.jsx(Ic,{name:u??e.id,label:K.jsx(un,{...e,readonly:n,children:e.label}),rules:On(e),disabled:t,readonly:n})},Jv={type:"TEXTINPUT",name:"Text",groups:[],maxLength:262144,filter:e=>e.replace(/[^\u0000-\u00FF ]/g,""),renderField:(e,r,{disabled:t,readonly:n,name:u})=>K.jsx(Rc,{rules:On(e),label:K.jsx(un,{...e,readonly:n,children:e.label}),name:u??e.id,disabled:t,readonly:n,maxLength:r.maxLength,filter:r.filter})},Kv={type:"NUMBER",name:"Number",groups:[],decimalPlaces:14,renderField:(e,r,{disabled:t,readonly:n,name:u})=>K.jsx(cf,{name:u??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})},e3={type:"CALCULATEDNUMBER",name:"Calculated Number",groups:[],renderField:(e,r,{readonly:t,name:n})=>K.jsx(lf,{name:n??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."}}),bf=[Jv,Kv,e3,Qv,Zv,Xv];function t3({children:e,template:r,fieldTypes:t=bf,layout:n}){return K.jsx(Hr.LocalizationProvider,{dateAdapter:Uv,adapterLocale:void 0,children:K.jsx(Vv,{layout:n,children:K.jsx(Wv,{template:r,fieldTypes:t,children:e})})})}function r3(e,r){const{defaultValues:t}=r||{},n=!!t,u=Kt.useForm(r),i=Je.useRef(n);return Je.useEffect(()=>{!e&&t&&!i.current&&(u.reset(t),i.current=!0)},[e,t,u]),u}function n3({children:e,formOptions:r,submitOptions:t,loading:n}){const u=r3(n,r),{handleSubmit:i,reset:a}=u,{onSubmit:s,onReset:f,formId:l,submitOnChange:c,registerForm:p}=t||{},o=async m=>{await(s==null?void 0:s(m)),a(m)},d=async()=>{a(r==null?void 0:r.defaultValues),await(f==null?void 0:f())};return K.jsx(Kt.FormProvider,{...u,children:K.jsx("form",{"data-testid":l,onSubmit:i(o),onChange:c?i(o):void 0,onReset:d,ref:p,id:l,style:{width:"100%"},children:e})})}function u3({children:e,formOptions:r,submitOptions:t}){const{formId:n,onSubmit:u,onBlur:i}=t,a=Kt.useForm(r),{getFieldState:s,reset:f,getValues:l,handleSubmit:c,trigger:p}=a,o=async()=>{const d=l(),m=Object.keys(d).filter(g=>s(g).isDirty);await p(m);const b=m.filter(g=>!s(g).invalid).reduce((g,w)=>(g[w]=d[w],g),{});Object.keys(b).length>0&&(await(i==null?void 0:i(b)),f({...d,...b},{keepErrors:!0}))};return K.jsx(Kt.FormProvider,{...a,children:K.jsx("form",{onBlur:o,onSubmit:c(async d=>{await(u==null?void 0:u(d)),f(d)}),id:n,"data-testid":n,children:e})})}function yf({id:e,name:r,readonly:t,wrapper:n}){const{field:u}=pf(),i=Gv(e),a=Yv(i.type);if(!a||!a.renderField)return K.jsxs(Le.Box,{children:["Missing render for field type ",i.type]});const{renderField:s,...f}=a,l=u==null?void 0:u(i,f),c=n||"span";return K.jsx(Le.Box,{"data-testid":"field-container",sx:l,children:K.jsx(c,{field:i,children:s(i,f,{readonly:t,name:r})})})}function i3({section:e,fields:r,fieldNames:t,readonly:n,fieldWrapper:u}){const{section:i}=pf(),a=i==null?void 0:i(e);return K.jsx(Le.Box,{"data-testid":"section-container",sx:a,children:r.map((s,f)=>K.jsx(yf,{id:s,name:(t==null?void 0:t[f])??s,readonly:n,wrapper:u},s))})}Fe.AutosaveForm=u3,Fe.CalculatedNumber=lf,Fe.CheckboxInput=Ic,Fe.DateInput=Bc,Fe.DropdownInput=ff,Fe.ErrorMessage=ln,Fe.Field=yf,Fe.Form=n3,Fe.FormFieldLabel=un,Fe.LabelWithChildren=Oa,Fe.NumberInput=cf,Fe.ReadOnlyField=Jr,Fe.RendererProvider=t3,Fe.Section=i3,Fe.TextInput=Rc,Fe.defaultFieldTypes=bf,Fe.defaultRules=On,Object.defineProperty(Fe,Symbol.toStringTag,{value:"Module"})});
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 yr=e=>{try{return e()}catch{}},wv=(e="mui")=>qy(e);function Ts(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}=Cs({...t,palette:{mode:u,...r==null?void 0:r.palette}});return e[n]={...r,palette:i,opacity:{...af(u),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||sf(u)},a}function Dv(e={},...r){const{colorSchemes:t={light:!0},defaultColorScheme:n,disableCssColorScheme:u=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=mv,colorSchemeSelector:s=t.light&&t.dark?"media":void 0,rootSelector:d=":root",...l}=e,c=Object.keys(t)[0],p=n||(t.light&&c!=="light"?"light":c),o=wv(i),{[p]:f,light:m,dark:h,...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=Ts(g,w,l,p);m&&!g.light&&Ts(g,m,void 0,"light"),h&&!g.dark&&Ts(g,h,void 0,"dark");let D={defaultColorScheme:p,...v,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:d,getCssVar:o,colorSchemes:g,font:{...Jy(v.typography),...v.font},spacing:vv(l.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")),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",yr(()=>x.getContrastText(x.error.main))),j(x.Alert,"infoFilledColor",yr(()=>x.getContrastText(x.info.main))),j(x.Alert,"successFilledColor",yr(()=>x.getContrastText(x.success.main))),j(x.Alert,"warningFilledColor",yr(()=>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 _=Ei(x.background.default,.8);j(x.SnackbarContent,"bg",_),j(x.SnackbarContent,"color",yr(()=>x.getContrastText(_))),j(x.SpeedDialAction,"fabHoverBg",Ei(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(Di(x.divider,1),.88)),j(x.Tooltip,"bg",Di(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",yr(()=>x.getContrastText(x.error.dark))),j(x.Alert,"infoFilledColor",yr(()=>x.getContrastText(x.info.dark))),j(x.Alert,"successFilledColor",yr(()=>x.getContrastText(x.success.dark))),j(x.Alert,"warningFilledColor",yr(()=>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 _=Ei(x.background.default,.98);j(x.SnackbarContent,"bg",_),j(x.SnackbarContent,"color",yr(()=>x.getContrastText(_))),j(x.SpeedDialAction,"fabHoverBg",Ei(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(Di(x.divider,1),.68)),j(x.Tooltip,"bg",Di(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: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 zl(l.spacing,os(this))},D.getColorSchemeSelector=Hy(s),D.spacing=D.generateSpacing(),D.shouldSkipGeneratingVar=a,D.unstable_sxConfig={...li,...l==null?void 0:l.unstable_sxConfig},D.unstable_sx=function(x){return Dn({sx:x,theme:this})},D.toRuntimeSource=uf,D}function of(e,r,t){e.colorSchemes&&t&&(e.colorSchemes[r]={...t!==!0&&t,palette:As({...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,s=i||"light",d=u==null?void 0:u[s],l={...u,...t?{[s]:{...typeof d!="boolean"&&d,palette:t}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Cs(e,...r);let c=t;"palette"in e||l[s]&&(l[s]!==!0?c=l[s].palette:s==="dark"&&(c={mode:"dark"}));const p=Cs({...e,palette:c},...r);return p.defaultColorScheme=s,p.colorSchemes=l,p.palette.mode==="light"&&(p.colorSchemes.light={...l.light!==!0&&l.light,palette:p.palette},of(p,"dark",l.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:p.palette},of(p,"light",l.light)),p}return!t&&!("light"in l)&&s==="light"&&(l.light=!0),Dv({...a,colorSchemes:l,defaultColorScheme:s,...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"&&(Ne.node,Ne.object.isRequired);function Fv(e){return ky(e)}function _v(e){return ss("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${nn(r)}`,`fontSize${nn(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${nn(t.color)}`],r[`fontSize${nn(t.fontSize)}`]]}})(Sv(({theme:e})=>{var r,t,n,u,i,a,s,d,l,c,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:h=>!h.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((d=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:d.call(s,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((c=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:c.call(l,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,h])=>h&&h.main).map(([h])=>{var b,g;return{props:{color:h},style:{color:(g=(b=(e.vars??e).palette)==null?void 0:b[h])==null?void 0:g.main}}}),{props:{color:"action"},style:{color:(o=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:o.active}},{props:{color:"disabled"},style:{color:(m=(f=(e.vars??e).palette)==null?void 0:f.action)==null?void 0:m.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),xi=At.forwardRef(function(r,t){const n=Fv({props:r,name:"MuiSvgIcon"}),{children:u,className:i,color:a="inherit",component:s="svg",fontSize:d="medium",htmlColor:l,inheritViewBox:c=!1,titleAccess:p,viewBox:o="0 0 24 24",...f}=n,m=At.isValidElement(u)&&u.type==="svg",h={...n,color:a,component:s,fontSize:d,instanceFontSize:r.fontSize,inheritViewBox:c,viewBox:o,hasSvgAsChild:m},b={};c||(b.viewBox=o);const g=Ov(h);return K.jsxs(Nv,{as:s,className:Ab(g.root,i),focusable:"false",color:l,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:t,...b,...f,...m&&u.props,ownerState:h,children:[m?u.props.children:u,p?K.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(xi.propTypes={children:Ne.node,classes:Ne.object,className:Ne.string,color:Ne.oneOfType([Ne.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),Ne.string]),component:Ne.elementType,fontSize:Ne.oneOfType([Ne.oneOf(["inherit","large","medium","small"]),Ne.string]),htmlColor:Ne.string,inheritViewBox:Ne.bool,shapeRendering:Ne.string,sx:Ne.oneOfType([Ne.arrayOf(Ne.oneOfType([Ne.func,Ne.object,Ne.bool])),Ne.func,Ne.object]),titleAccess:Ne.string,viewBox:Ne.string}),xi.muiName="SvgIcon";function Ss(e,r){function t(n,u){return K.jsx(xi,{"data-testid":`${r}Icon`,ref:u,...n,children:e})}return process.env.NODE_ENV!=="production"&&(t.displayName=`${r}Icon`),t.muiName=xi.muiName,At.memo(At.forwardRef(t))}const Mv=Ss(K.jsx("path",{d:"m7 14 5-5 5 5z"}),"ArrowDropUp"),Pv=Ss(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 Ai=e=>/^-?(?:\d+|\d*\.\d+|\d+\.)$/.test(e);function cf(e){const{disabled:r,readonly:t,decimalPlaces:n=14,name:u,rules:i,sx:a,...s}=e,{field:d,fieldState:{error:l}}=Kt.useController({name:u,rules:{...i,validate:f=>f&&!Ai(f)?"Please enter a valid number.":!0}}),c=f=>{const m=f.target.value,h=Bv(m);d.onChange(h)},p=f=>{const m=parseFloat(f);if(Ai(f)){const h=ub(m,n);d.onChange(tb(h))}d.onBlur()};if(t)return K.jsx(Jr,{label:s.label,text:d.value,sx:a,error:l==null?void 0:l.message});const o=K.jsxs(Le.InputAdornment,{position:"end",sx:{display:"flex",flexDirection:"column",gap:1,alignItems:"center",height:"auto !important"},children:[K.jsx(Le.IconButton,{size:"small",onClick:()=>{if(Ai(d.value)||!d.value){const f=ab(d.value||0,1);d.onChange(f),p(f)}},disabled:r,sx:{pt:0,pb:0},children:K.jsx(Mv,{fontSize:"small","data-testid":"increment-button"})}),K.jsx(Le.IconButton,{size:"small",onClick:()=>{if(Ai(d.value)||!d.value){const f=sb(d.value||0,1);d.onChange(f),p(f)}},disabled:r,sx:{pt:0,pb:0},children:K.jsx(Pv,{fontSize:"small","data-testid":"decrement-button"})})]});return K.jsx(Le.TextField,{...d,...s,onChange:c,onBlur:f=>p(f.target.value),fullWidth:!0,placeholder:r?"0":"",error:!!l,helperText:!!l&&K.jsx(ln,{error:l.message}),disabled:r,sx:{...a,m:0},InputProps:{endAdornment:o},slotProps:{input:{endAdornment:o}}})}function lf({name:e,label:r,sx:t={}}){const{control:n}=Kt.useFormContext();return K.jsx(Kt.Controller,{name:e,control:n,render:({field:u,fieldState:{error:i}})=>K.jsx(Jr,{label:r,text:u.value||0,sx:t,error:i==null?void 0:i.message})})}function ff({name:e,label:r,options:t=[],sx:n={},disabled:u,rules:i={},readonly:a}){const{field:s,fieldState:{error:d}}=Kt.useController({name:e,rules:i}),l=t.map(p=>({label:p.displayValue,id:p.key})),{value:c}=s;return a?K.jsx(Jr,{label:r,text:c==null?void 0:c.displayValue,sx:n,error:d==null?void 0:d.message}):K.jsx(Le.Autocomplete,{"data-test-id":"form-field-select",...s,value:c==null?void 0:c.displayValue,onChange:(p,o)=>s.onChange(o?{displayValue:o.label,key:o.id}:null),options:l,renderInput:p=>K.jsx(Le.TextField,{...p,label:r,error:!!d,helperText:!!d&&K.jsx(ln,{error:d.message}),slotProps:{inputLabel:{shrink:!0}},sx:{...n,m:0}}),fullWidth:!0,disabled:u})}const Iv=Ss(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 Fs,df;function Rv(){return df||(df=1,Fs=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=dl()},function(e,r){e.exports=Je},function(e,r,t){t.r(r);var n=t(1),u=t(0),i=function(){return(i=Object.assign||function(m){for(var h,b=1,g=arguments.length;b<g;b++)for(var w in h=arguments[b])Object.prototype.hasOwnProperty.call(h,w)&&(m[w]=h[w]);return m}).apply(this,arguments)},a=function(m,h){var b={};for(var g in m)Object.prototype.hasOwnProperty.call(m,g)&&h.indexOf(g)<0&&(b[g]=m[g]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(g=Object.getOwnPropertySymbols(m);w<g.length;w++)h.indexOf(g[w])<0&&Object.prototype.propertyIsEnumerable.call(m,g[w])&&(b[g[w]]=m[g[w]])}return b},s=0,d=n.forwardRef(function(m,h){var b=m.title,g=b===void 0?null:b,w=m.description,v=w===void 0?null:w,D=m.size,y=D===void 0?null:D,E=m.color,A=E===void 0?"currentColor":E,C=m.horizontal,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:h,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)});d.displayName="Stack",d.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},d.defaultProps={size:null,color:null,horizontal:null,vertical:null,rotate:null,spin:null};var l=d;t.d(r,"Icon",function(){return f}),t.d(r,"Stack",function(){return l});var c=function(){return(c=Object.assign||function(m){for(var h,b=1,g=arguments.length;b<g;b++)for(var w in h=arguments[b])Object.prototype.hasOwnProperty.call(h,w)&&(m[w]=h[w]);return m}).apply(this,arguments)},p=function(m,h){var b={};for(var g in m)Object.prototype.hasOwnProperty.call(m,g)&&h.indexOf(g)<0&&(b[g]=m[g]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(g=Object.getOwnPropertySymbols(m);w<g.length;w++)h.indexOf(g[w])<0&&Object.prototype.propertyIsEnumerable.call(m,g[w])&&(b[g[w]]=m[g[w]])}return b},o=0,f=n.forwardRef(function(m,h){var b=m.path,g=m.id,w=g===void 0?++o:g,v=m.title,D=v===void 0?null:v,y=m.description,E=y===void 0?null:y,A=m.size,C=A===void 0?null:A,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",c({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",c({ref:h,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}])),Fs}var kv=Rv();const _s=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 un({children:e,internal:r,required:t,helpText:n,isCalculated:u,readonly:i,deleted:a,isSection:s,variant:d="h4"}){const l={display:"flex",alignItems:"center"},c=i?{...l,gap:1}:{...l,justifyContent:"space-between"};return K.jsxs(Le.Box,{sx:c,children:[K.jsxs(Le.Typography,{"data-testid":"form-field-label",variant:d,color:"black",sx:{whiteSpace:"normal",wordBreak:"break-word"},children:[e,t&&"*"]}),K.jsxs(Le.Box,{sx:{display:"flex",gap:1},children:[r&&K.jsx(Le.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(_s,{path:qv,size:"20px",color:sn.capitalDesignTokens.foundations.colors.yellow700,"data-testid":"internal-icon"})}),n&&n!==""&&K.jsx(Le.Tooltip,{placement:"top",title:K.jsx(Le.Typography,{variant:"bodyXSmall",sx:{whiteSpace:"pre-line"},children:n}),sx:{cursor:"default"},children:K.jsx(Iv,{fontSize:"small",htmlColor:sn.capitalDesignTokens.foundations.colors.gray600,"data-testid":"help-icon"})}),u&&K.jsx(Le.Tooltip,{placement:"top",title:"This field is calculated.",sx:{cursor:"default"},children:K.jsx(_s,{path:Lv,size:"20px",color:sn.capitalDesignTokens.foundations.colors.gray800,"data-testid":"calculation-icon"})}),a&&K.jsx(Le.Tooltip,{placement:"top",title:"This field was deleted.",sx:{cursor:"default"},children:K.jsx(_s,{path:$v,size:"20px",color:sn.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 s=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;return a.match(s).map(d=>{const l=d[0];if(l==="p"||l==="P"){const c=this.longFormatters[l];return c(d,this.locale.formatLong)}return d}).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 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:Ys(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)=>mu(n,u),this.isAfterYear=(n,u)=>mu(n,Xs(u)),this.isAfterDay=(n,u)=>mu(n,Gs(u)),this.isBefore=(n,u)=>gu(n,u),this.isBeforeYear=(n,u)=>gu(n,this.startOfYear(u)),this.isBeforeDay=(n,u)=>gu(n,this.startOfDay(u)),this.isWithinRange=(n,[u,i])=>Lh(n,{start:u,end:i}),this.startOfYear=n=>Qs(n),this.startOfMonth=n=>Lf(n),this.startOfWeek=n=>wr(n,{locale:this.locale}),this.startOfDay=n=>Wr(n),this.endOfYear=n=>Xs(n),this.endOfMonth=n=>kf(n),this.endOfWeek=n=>qf(n,{locale:this.locale}),this.endOfDay=n=>Gs(n),this.addYears=(n,u)=>Bf(n,u),this.addMonths=(n,u)=>hu(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=>io(n),this.getWeekArray=n=>{const u=this.startOfWeek(this.startOfMonth(n)),i=this.endOfWeek(this.endOfMonth(n));let a=0,s=u;const d=[];for(;this.isBefore(s,i);){const l=Math.floor(a/7);d[l]=d[l]||[],d[l].push(s),s=this.addDays(s,1),a+=1}return d},this.getWeekNumber=n=>Ii(n,{locale:this.locale}),this.getYearRange=([n,u])=>{const i=this.startOfYear(n),a=this.endOfYear(u),s=[];let d=i;for(;this.isBefore(d,a);)s.push(d),d=this.addYears(d,1);return s}}}const hf=Je.createContext(void 0),Vv=({children:e,layout:r={section:()=>({}),field:()=>({})}})=>K.jsx(hf.Provider,{value:{layout:r},children:e}),pf=()=>{const e=Je.useContext(hf);if(!e)throw new Error("useFormLayout must be used within a FormLayoutProvider");return e.layout},mf=Je.createContext(void 0),Wv=({children:e,template:r,fieldTypes:t})=>K.jsx(mf.Provider,{value:{template:r,fieldTypes:t},children:e}),gf=()=>{const e=Je.useContext(mf);if(!e)throw new Error("useFormRenderer must be used within a FormRendererProvider");return e},Yv=e=>{const{fieldTypes:r}=gf();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}},Gv=e=>{const{template:r}=gf(),t=r.fields[e];if(!t)throw new Error(`Field template for ${e} not found`);return t},Xv={type:"DATE",name:"Date",groups:[],dateFormat:"MM/dd/yyyy",renderField:(e,r,{disabled:t,readonly:n,name:u})=>K.jsx(Bc,{name:u??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})},Qv={type:"DROPDOWN",name:"Dropdown",groups:[],renderField:(e,r,{disabled:t,readonly:n,name:u})=>K.jsx(ff,{name:u??e.id,label:K.jsx(un,{...e,children:e.label}),rules:On(e),options:e.options,disabled:t,readonly:n})},Zv={type:"CHECKBOX",name:"Checkbox",groups:[],renderField:(e,r,{disabled:t,readonly:n,name:u})=>K.jsx(Ic,{name:u??e.id,label:K.jsx(un,{...e,readonly:n,children:e.label}),rules:On(e),disabled:t,readonly:n})},Jv={type:"TEXTINPUT",name:"Text",groups:[],maxLength:262144,filter:e=>e.replace(/[^\u0000-\u00FF ]/g,""),renderField:(e,r,{disabled:t,readonly:n,name:u})=>K.jsx(Rc,{rules:On(e),label:K.jsx(un,{...e,readonly:n,children:e.label}),name:u??e.id,disabled:t,readonly:n,maxLength:r.maxLength,filter:r.filter})},Kv={type:"NUMBER",name:"Number",groups:[],decimalPlaces:14,renderField:(e,r,{disabled:t,readonly:n,name:u})=>K.jsx(cf,{name:u??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})},e3={type:"CALCULATEDNUMBER",name:"Calculated Number",groups:[],renderField:(e,r,{readonly:t,name:n})=>K.jsx(lf,{name:n??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."}}),bf=[Jv,Kv,e3,Qv,Zv,Xv];function t3({children:e,template:r,fieldTypes:t=bf,layout:n}){return K.jsx(Hr.LocalizationProvider,{dateAdapter:Uv,adapterLocale:void 0,children:K.jsx(Vv,{layout:n,children:K.jsx(Wv,{template:r,fieldTypes:t,children:e})})})}function r3(e,r){const{defaultValues:t}=r||{},n=!!t,u=Kt.useForm(r),i=Je.useRef(n);return Je.useEffect(()=>{!e&&t&&!i.current&&(u.reset(t),i.current=!0)},[e,t,u]),u}function n3({children:e,formOptions:r,submitOptions:t,loading:n}){const u=r3(n,r),{handleSubmit:i,reset:a}=u,{onSubmit:s,onReset:d,formId:l,submitOnChange:c,registerForm:p}=t||{},o=async m=>{await(s==null?void 0:s(m)),a(m)},f=async()=>{a(r==null?void 0:r.defaultValues),await(d==null?void 0:d())};return K.jsx(Kt.FormProvider,{...u,children:K.jsx("form",{"data-testid":l,onSubmit:i(o),onChange:c?i(o):void 0,onReset:f,ref:p,id:l,style:{width:"100%"},children:e})})}function u3({children:e,formOptions:r,submitOptions:t}){const{formId:n,onSubmit:u,onBlur:i}=t,a=Kt.useForm(r),{getFieldState:s,reset:d,getValues:l,handleSubmit:c,trigger:p}=a,o=async()=>{const f=l(),m=Object.keys(f).filter(g=>s(g).isDirty);await p(m);const b=m.filter(g=>!s(g).invalid).reduce((g,w)=>(g[w]=f[w],g),{});Object.keys(b).length>0&&(await(i==null?void 0:i(b)),d({...f,...b},{keepErrors:!0}))};return K.jsx(Kt.FormProvider,{...a,children:K.jsx("form",{onBlur:o,onSubmit:c(async f=>{await(u==null?void 0:u(f)),d(f)}),id:n,"data-testid":n,children:e})})}function yf({id:e,name:r,readonly:t}){const{field:n}=pf(),u=Gv(e),i=Yv(u.type);if(!i||!i.renderField)return K.jsxs(Le.Box,{children:["Missing render for field type ",u.type]});const{renderField:a,...s}=i,d=n==null?void 0:n(u,s);return K.jsx(Le.Box,{"data-testid":"field-container",sx:d,children:a(u,s,{readonly:t,name:r})})}function i3({section:e,fields:r,fieldNames:t,readonly:n}){const{section:u}=pf(),i=u==null?void 0:u(e);return K.jsx(Le.Box,{"data-testid":"section-container",sx:i,children:r.map((a,s)=>K.jsx(yf,{id:a,name:(t==null?void 0:t[s])??a,readonly:n},a))})}Fe.AutosaveForm=u3,Fe.CalculatedNumber=lf,Fe.CheckboxInput=Ic,Fe.DateInput=Bc,Fe.DropdownInput=ff,Fe.ErrorMessage=ln,Fe.Field=yf,Fe.Form=n3,Fe.FormFieldLabel=un,Fe.LabelWithChildren=Oa,Fe.NumberInput=cf,Fe.ReadOnlyField=Jr,Fe.RendererProvider=t3,Fe.Section=i3,Fe.TextInput=Rc,Fe.defaultFieldTypes=bf,Fe.defaultRules=On,Object.defineProperty(Fe,Symbol.toStringTag,{value:"Module"})});