vue3-math-editor 0.1.0 → 0.2.0
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/LICENSE +14 -0
- package/README.md +4 -0
- package/dist/style.css +2 -0
- package/dist/types/components/EquationWorkbench.vue.d.ts +49 -0
- package/dist/types/components/MathField.vue.d.ts +39 -0
- package/dist/types/editor/caretGeometry.d.ts +38 -0
- package/dist/types/editor/clipboard.d.ts +9 -0
- package/dist/types/editor/commands.d.ts +37 -0
- package/dist/types/editor/constants.d.ts +13 -0
- package/dist/types/editor/cursor.d.ts +16 -0
- package/dist/types/editor/exports.d.ts +13 -0
- package/dist/types/editor/history.d.ts +34 -0
- package/dist/types/editor/identifiers.d.ts +33 -0
- package/dist/types/editor/keymap.d.ts +7 -0
- package/dist/types/editor/layout.d.ts +82 -0
- package/dist/types/editor/marks.d.ts +8 -0
- package/dist/types/editor/mathmlImport.d.ts +8 -0
- package/dist/types/editor/names.d.ts +15 -0
- package/dist/types/editor/numberUnits.d.ts +15 -0
- package/dist/types/editor/numbers.d.ts +11 -0
- package/dist/types/editor/operators.d.ts +28 -0
- package/dist/types/editor/parse.d.ts +12 -0
- package/dist/types/editor/selection.d.ts +22 -0
- package/dist/types/editor/toolbar.d.ts +18 -0
- package/dist/types/editor/units.d.ts +27 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/registry/nodes.d.ts +21 -0
- package/dist/types/renderers/layoutLatex.d.ts +17 -0
- package/dist/types/renderers/mathjson.d.ts +6 -0
- package/dist/types/renderers/mathml.d.ts +6 -0
- package/dist/types/types/ast.d.ts +97 -0
- package/dist/types/units/UnitsDefinitionForm.vue.d.ts +16 -0
- package/dist/types/units/UnitsPanel.vue.d.ts +56 -0
- package/dist/types/units/check.d.ts +16 -0
- package/dist/types/units/definitions.d.ts +16 -0
- package/dist/types/units/libcellml.d.ts +81 -0
- package/dist/types/units/library.d.ts +29 -0
- package/dist/types/units/messages.d.ts +13 -0
- package/dist/types/units/panel.d.ts +11 -0
- package/dist/types/units/useUnitsChecker.d.ts +36 -0
- package/dist/vue3-math-editor.js +5641 -0
- package/package.json +4 -3
- package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/dist/assets/__vite-browser-external-DRLrqNA5.js +0 -1
- package/dist/assets/index--yUMU8pB.js +0 -1685
- package/dist/assets/index-C7cJKUIb.css +0 -1
- package/dist/assets/libcellml-D9ZPw9_t.wasm +0 -0
- package/dist/assets/primeicons-C6QP2o4f.woff2 +0 -0
- package/dist/assets/primeicons-DMOk5skT.eot +0 -0
- package/dist/assets/primeicons-Dr5RGzOO.svg +0 -345
- package/dist/assets/primeicons-MpK4pl85.ttf +0 -0
- package/dist/assets/primeicons-WjwUDZjB.woff +0 -0
- package/dist/assets/vue3-libcellml-4ponBlEP.js +0 -8
- package/dist/favicon.ico +0 -0
- package/dist/index.html +0 -14
|
@@ -1,1685 +0,0 @@
|
|
|
1
|
-
(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();function e(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var t={},n=[],r=()=>{},i=()=>!1,a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),o=e=>e.startsWith(`onUpdate:`),s=Object.assign,c=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},l=Object.prototype.hasOwnProperty,u=(e,t)=>l.call(e,t),d=Array.isArray,f=e=>x(e)===`[object Map]`,p=e=>x(e)===`[object Set]`,m=e=>x(e)===`[object Date]`,h=e=>typeof e==`function`,g=e=>typeof e==`string`,_=e=>typeof e==`symbol`,v=e=>typeof e==`object`&&!!e,y=e=>(v(e)||h(e))&&h(e.then)&&h(e.catch),b=Object.prototype.toString,x=e=>b.call(e),S=e=>x(e).slice(8,-1),C=e=>x(e)===`[object Object]`,ee=e=>g(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,te=e(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),ne=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},re=/-\w/g,w=ne(e=>e.replace(re,e=>e.slice(1).toUpperCase())),ie=/\B([A-Z])/g,ae=ne(e=>e.replace(ie,`-$1`).toLowerCase()),oe=ne(e=>e.charAt(0).toUpperCase()+e.slice(1)),se=ne(e=>e?`on${oe(e)}`:``),ce=(e,t)=>!Object.is(e,t),le=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ue=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},de=e=>{let t=parseFloat(e);return isNaN(t)?e:t},fe=e=>{let t=g(e)?Number(e):NaN;return isNaN(t)?e:t},pe,me=()=>pe||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function he(e){if(d(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=g(r)?ye(r):he(r);if(i)for(let e in i)t[e]=i[e]}return t}if(g(e)||v(e))return e}var ge=/;(?![^(]*\))/g,_e=/:([^]+)/,ve=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function ye(e){let t={};return e.replace(ve,e=>e.startsWith(`/*`)?``:e).split(ge).forEach(e=>{if(e){let n=e.split(_e);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function be(e){let t=``;if(g(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){let r=be(e[n]);r&&(t+=r+` `)}else if(v(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}var xe=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,Se=e(xe);xe+``;function Ce(e){return!!e||e===``}function we(e,t,n){if(e.length!==t.length)return!1;let r=!0;for(let i=0;r&&i<e.length;i++)r=Oe(e[i],t[i],n);return r}function Te(e,t,n){if(e.size!==t.size)return!1;let r=Array.from(t),i=new Uint8Array(r.length);for(let t of e){let e=-1;for(let a=0;a<r.length;a++)if(!i[a]&&Oe(t,r[a],n)){e=a;break}if(e<0)return!1;i[e]=1}return!0}function Ee(e,t,n){let r=f(e),i=f(t);if(r||i||(r=p(e),i=p(t),r||i))return r&&i?Te(e,t,n):!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e){let i=e.hasOwnProperty(r),a=t.hasOwnProperty(r);if(i&&!a||!i&&a||!Oe(e[r],t[r],n))return!1}return String(e)===String(t)}function De(e,t,n,r){n||=[new Map,new Map];let[i,a]=n;if(i.has(e)||a.has(t))return i.get(e)===t&&a.get(t)===e;i.set(e,t),a.set(t,e);let o=r(e,t,n);return i.delete(e),a.delete(t),o}function Oe(e,t,n){if(e===t)return!0;let r=m(e),i=m(t);return r||i?r&&i?e.getTime()===t.getTime():!1:(r=_(e),i=_(t),r||i?e===t:(r=d(e),i=d(t),r||i?r&&i?De(e,t,n,we):!1:(r=v(e),i=v(t),r||i?!r||!i?!1:De(e,t,n,Ee):String(e)===String(t))))}function ke(e,t){return e.findIndex(e=>Oe(e,t))}var Ae=e=>!!(e&&e.__v_isRef===!0),je=e=>g(e)?e:e==null?``:d(e)||v(e)&&(e.toString===b||!h(e.toString))?Ae(e)?je(e.value):JSON.stringify(e,Me,2):String(e),Me=(e,t)=>Ae(t)?Me(e,t.value):f(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Ne(t,r)+` =>`]=n,e),{})}:p(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Ne(e))}:_(t)?Ne(t):v(t)&&!d(t)&&!C(t)?String(t):t,Ne=(e,t=``)=>_(e)?`Symbol(${e.description??t})`:e,Pe,Fe=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&Pe&&(Pe.active?(this.parent=Pe,this.index=(Pe.scopes||(Pe.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}let n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){let t=Pe;try{return Pe=this,e()}finally{Pe=t}}}on(){++this._on===1&&(this.prevScope=Pe,Pe=this)}off(){if(this._on>0&&--this._on===0){if(Pe===this)Pe=this.prevScope;else{let e=Pe;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){let e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function Ie(){return Pe}function Le(e,t=!1){Pe&&Pe.cleanups.push(e)}var Re,ze=new WeakSet,Be=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Pe&&(Pe.active?Pe.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ze.has(this)&&(ze.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||We(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,rt(this),qe(this);let e=Re,t=$e;Re=this,$e=!0;try{return this.fn()}finally{Je(this),Re=e,$e=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Ze(e);this.deps=this.depsTail=void 0,rt(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ze.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ye(this)&&this.run()}get dirty(){return Ye(this)}},Ve=0,He,Ue;function We(e,t=!1){if(e.flags|=8,t){e.next=Ue,Ue=e;return}e.next=He,He=e}function Ge(){Ve++}function Ke(){if(--Ve>0)return;if(Ue){let e=Ue;for(Ue=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;He;){let t=He;for(He=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function qe(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Je(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),Ze(r),Qe(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Ye(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Xe(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Xe(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===it)||(e.globalVersion=it,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ye(e))))return;e.flags|=2;let t=e.dep,n=Re,r=$e;Re=e,$e=!0;try{qe(e);let n=e.fn(e._value);(t.version===0||ce(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{Re=n,$e=r,Je(e),e.flags&=-3}}function Ze(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Ze(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Qe(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var $e=!0,et=[];function tt(){et.push($e),$e=!1}function nt(){let e=et.pop();$e=e===void 0||e}function rt(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=Re;Re=void 0;try{t()}finally{Re=e}}}var it=0,at=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},ot=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!Re||!$e||Re===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==Re)t=this.activeLink=new at(Re,this),Re.deps?(t.prevDep=Re.depsTail,Re.depsTail.nextDep=t,Re.depsTail=t):Re.deps=Re.depsTail=t,st(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=Re.depsTail,t.nextDep=void 0,Re.depsTail.nextDep=t,Re.depsTail=t,Re.deps===t&&(Re.deps=e)}return t}trigger(e){this.version++,it++,this.notify(e)}notify(e){Ge();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ke()}}};function st(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)st(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var ct=new WeakMap,lt=Symbol(``),ut=Symbol(``),dt=Symbol(``);function ft(e,t,n){if($e&&Re){let t=ct.get(e);t||ct.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new ot),r.map=t,r.key=n),r.track()}}function pt(e,t,n,r,i,a){let o=ct.get(e);if(!o){it++;return}let s=e=>{e&&e.trigger()};if(Ge(),t===`clear`)o.forEach(s);else{let i=d(e),a=i&&ee(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===dt||!_(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(dt)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(lt)),f(e)&&s(o.get(ut)));break;case`delete`:i||(s(o.get(lt)),f(e)&&s(o.get(ut)));break;case`set`:f(e)&&s(o.get(lt))}}Ke()}function mt(e){let t=tn(e);return t===e||(ft(t,`iterate`,dt),$t(e))?t:Qt(e)?Zt(e)?t.map(e=>an(rn(e))):t.map(an):t.map(rn)}function ht(e){return ft(e=tn(e),`iterate`,dt),e}function gt(e,t){return Qt(e)?an(Zt(e)?rn(t):t):rn(t)}var _t={__proto__:null,[Symbol.iterator](){return vt(this,Symbol.iterator,e=>gt(this,e))},concat(...e){return mt(this).concat(...e.map(e=>d(e)?mt(e):e))},entries(){return vt(this,`entries`,e=>(e[1]=gt(this,e[1]),e))},every(e,t){return bt(this,`every`,e,t,void 0,arguments)},filter(e,t){return bt(this,`filter`,e,t,e=>e.map(e=>gt(this,e)),arguments)},find(e,t){return bt(this,`find`,e,t,e=>gt(this,e),arguments)},findIndex(e,t){return bt(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return bt(this,`findLast`,e,t,e=>gt(this,e),arguments)},findLastIndex(e,t){return bt(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return bt(this,`forEach`,e,t,void 0,arguments)},includes(...e){return St(this,`includes`,e)},indexOf(...e){return St(this,`indexOf`,e)},join(e){return mt(this).join(e)},lastIndexOf(...e){return St(this,`lastIndexOf`,e)},map(e,t){return bt(this,`map`,e,t,void 0,arguments)},pop(){return Ct(this,`pop`)},push(...e){return Ct(this,`push`,e)},reduce(e,...t){return xt(this,`reduce`,e,t)},reduceRight(e,...t){return xt(this,`reduceRight`,e,t)},shift(){return Ct(this,`shift`)},some(e,t){return bt(this,`some`,e,t,void 0,arguments)},splice(...e){return Ct(this,`splice`,e)},toReversed(){return mt(this).toReversed()},toSorted(e){return mt(this).toSorted(e)},toSpliced(...e){return mt(this).toSpliced(...e)},unshift(...e){return Ct(this,`unshift`,e)},values(){return vt(this,`values`,e=>gt(this,e))}};function vt(e,t,n){let r=ht(e),i=r[t]();return r!==e&&!$t(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}var yt=Array.prototype;function bt(e,t,n,r,i,a){let o=ht(e),s=o!==e&&!$t(e),c=o[t];if(c!==yt[t]){let t=c.apply(e,a);return s?rn(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,gt(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function xt(e,t,n,r){let i=ht(e),a=i!==e&&!$t(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=gt(e,t)),n.call(this,t,gt(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?gt(e,c):c}function St(e,t,n){let r=tn(e);ft(r,`iterate`,dt);let i=r[t](...n);return(i===-1||i===!1)&&en(n[0])?(n[0]=tn(n[0]),r[t](...n)):i}function Ct(e,t,n=[]){tt(),Ge();let r=tn(e)[t].apply(e,n);return Ke(),nt(),r}var wt=e(`__proto__,__v_isRef,__isVue`),Tt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(_));function Et(e){_(e)||(e=String(e));let t=tn(this);return ft(t,`has`,e),t.hasOwnProperty(e)}var Dt=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Gt:Wt:i?Ut:Ht).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=d(e);if(!r){let e;if(a&&(e=_t[t]))return e;if(t===`hasOwnProperty`)return Et}let o=Reflect.get(e,t,on(e)?e:n);if((_(t)?Tt.has(t):wt(t))||(r||ft(e,`get`,t),i))return o;if(on(o)){let e=a&&ee(t)?o:o.value;return r&&v(e)?Yt(e):e}return v(o)?r?Yt(o):qt(o):o}},Ot=class extends Dt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=d(e)&&ee(t);if(!this._isShallow){let e=Qt(i);if(!$t(n)&&!Qt(n)&&(i=tn(i),n=tn(n)),!a&&on(i)&&!on(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:u(e,t),s=Reflect.set(e,t,n,on(e)?e:r);return e===tn(r)&&s&&(o?ce(n,i)&&pt(e,`set`,t,n,i):pt(e,`add`,t,n)),s}deleteProperty(e,t){let n=u(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&pt(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!_(t)||!Tt.has(t))&&ft(e,`has`,t),n}ownKeys(e){return ft(e,`iterate`,d(e)?`length`:lt),Reflect.ownKeys(e)}},kt=class extends Dt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},At=new Ot,jt=new kt,Mt=new Ot(!0),Nt=e=>e,Pt=e=>Reflect.getPrototypeOf(e);function Ft(e,t,n){return function(...r){let i=this.__v_raw,a=tn(i),o=f(a),c=e===`entries`||e===Symbol.iterator&&o,l=e===`keys`&&o,u=i[e](...r),d=n?Nt:t?an:rn;return!t&&ft(a,`iterate`,l?ut:lt),s(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function It(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function Lt(e,t){let n={get(n){let r=this.__v_raw,i=tn(r),a=tn(n);e||(ce(n,a)&&ft(i,`get`,n),ft(i,`get`,a));let{has:o}=Pt(i),s=t?Nt:e?an:rn;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&ft(tn(t),`iterate`,lt),t.size},has(t){let n=this.__v_raw,r=tn(n),i=tn(t);return e||(ce(t,i)&&ft(r,`has`,t),ft(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=tn(a),s=t?Nt:e?an:rn;return!e&&ft(o,`iterate`,lt),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return s(n,e?{add:It(`add`),set:It(`set`),delete:It(`delete`),clear:It(`clear`)}:{add(e){let n=tn(this),r=Pt(n),i=tn(e),a=!t&&!$t(e)&&!Qt(e)?i:e;return r.has.call(n,a)||ce(e,a)&&r.has.call(n,e)||ce(i,a)&&r.has.call(n,i)||(n.add(a),pt(n,`add`,a,a)),this},set(e,n){!t&&!$t(n)&&!Qt(n)&&(n=tn(n));let r=tn(this),{has:i,get:a}=Pt(r),o=i.call(r,e);o||=(e=tn(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?ce(n,s)&&pt(r,`set`,e,n,s):pt(r,`add`,e,n),this},delete(e){let t=tn(this),{has:n,get:r}=Pt(t),i=n.call(t,e);i||=(e=tn(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&pt(t,`delete`,e,void 0,a),o},clear(){let e=tn(this),t=e.size!==0,n=e.clear();return t&&pt(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Ft(r,e,t)}),n}function Rt(e,t){let n=Lt(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(u(n,r)&&r in t?n:t,r,i)}var zt={get:Rt(!1,!1)},Bt={get:Rt(!1,!0)},Vt={get:Rt(!0,!1)},Ht=new WeakMap,Ut=new WeakMap,Wt=new WeakMap,Gt=new WeakMap;function Kt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function qt(e){return Qt(e)?e:Xt(e,!1,At,zt,Ht)}function Jt(e){return Xt(e,!1,Mt,Bt,Ut)}function Yt(e){return Xt(e,!0,jt,Vt,Wt)}function Xt(e,t,n,r,i){if(!v(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=Kt(S(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function Zt(e){return Qt(e)?Zt(e.__v_raw):!!(e&&e.__v_isReactive)}function Qt(e){return!!(e&&e.__v_isReadonly)}function $t(e){return!!(e&&e.__v_isShallow)}function en(e){return e?!!e.__v_raw:!1}function tn(e){let t=e&&e.__v_raw;return t?tn(t):e}function nn(e){return!u(e,`__v_skip`)&&Object.isExtensible(e)&&ue(e,`__v_skip`,!0),e}var rn=e=>v(e)?qt(e):e,an=e=>v(e)?Yt(e):e;function on(e){return e?e.__v_isRef===!0:!1}function sn(e){return ln(e,!1)}function cn(e){return ln(e,!0)}function ln(e,t){return on(e)?e:new un(e,t)}var un=class{constructor(e,t){this.dep=new ot,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:tn(e),this._value=t?e:rn(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||$t(e)||Qt(e);e=n?e:tn(e),ce(e,t)&&(this._rawValue=e,this._value=n?e:rn(e),this.dep.trigger())}};function T(e){return on(e)?e.value:e}function dn(e){return h(e)?e():T(e)}var fn={get:(e,t,n)=>t===`__v_raw`?e:T(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return on(i)&&!on(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function pn(e){return Zt(e)?e:new Proxy(e,fn)}var mn=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new ot,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}};function hn(e){return new mn(e)}var gn=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new ot(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=it-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Re!==this)return We(this,!0),!0}get value(){let e=this.dep.track();return Xe(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function _n(e,t,n=!1){let r,i;return h(e)?r=e:(r=e.get,i=e.set),new gn(r,i,n)}var vn={},yn=new WeakMap,bn=void 0;function xn(e,t=!1,n=bn){if(n){let t=yn.get(n);t||yn.set(n,t=[]),t.push(e)}}function Sn(e,n,i=t){let{immediate:a,deep:o,once:s,scheduler:l,augmentJob:u,call:f}=i,p=e=>o?e:$t(e)||o===!1||o===0?Cn(e,1):Cn(e),m,g,_,v,y=!1,b=!1;if(on(e)?(g=()=>e.value,y=$t(e)):Zt(e)?(g=()=>p(e),y=!0):d(e)?(b=!0,y=e.some(e=>Zt(e)||$t(e)),g=()=>e.map(e=>{if(on(e))return e.value;if(Zt(e))return p(e);if(h(e))return f?f(e,2):e()})):g=h(e)?n?f?()=>f(e,2):e:()=>{if(_){tt();try{_()}finally{nt()}}let t=bn;bn=m;try{return f?f(e,3,[v]):e(v)}finally{bn=t}}:r,n&&o){let e=g,t=o===!0?1/0:o;g=()=>Cn(e(),t)}let x=Ie(),S=()=>{m.stop(),x&&x.active&&c(x.effects,m)};if(s&&n){let e=n;n=(...t)=>{let n=e(...t);return S(),n}}let C=b?Array(e.length).fill(vn):vn,ee=e=>{if(m.flags&1&&(m.dirty||e)){if(n){let t=m.run();if(e||o||y||(b?t.some((e,t)=>ce(e,C[t])):ce(t,C))){_&&_();let e=bn;bn=m;try{let e=[t,C===vn?void 0:b&&C[0]===vn?[]:C,v];C=t,f?f(n,3,e):n(...e)}finally{bn=e}}}else m.run()}};return u&&u(ee),m=new Be(g),m.scheduler=l?()=>l(ee,!1):ee,v=e=>xn(e,!1,m),_=m.onStop=()=>{let e=yn.get(m);if(e){if(f)f(e,4);else for(let t of e)t();yn.delete(m)}},n?a?ee(!0):C=m.run():l?l(ee.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function Cn(e,t=1/0,n){if(t<=0||!v(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,on(e))Cn(e.value,t,n);else if(d(e))for(let r=0;r<e.length;r++)Cn(e[r],t,n);else if(p(e)||f(e))e.forEach(e=>{Cn(e,t,n)});else if(C(e)){for(let r in e)Cn(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Cn(e[r],t,n)}return e}function wn(e,t,n,r){try{return r?e(...r):e()}catch(e){En(e,t,n)}}function Tn(e,t,n,r){if(h(e)){let i=wn(e,t,n,r);return i&&y(i)&&i.catch(e=>{En(e,t,n)}),i}if(d(e)){let i=[];for(let a=0;a<e.length;a++)i.push(Tn(e[a],t,n,r));return i}}function En(e,n,r,i=!0){let a=n?n.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=n&&n.appContext.config||t;if(n){let t=n.parent,i=n.proxy,a=`https://vuejs.org/error-reference/#runtime-${r}`;for(;t;){let n=t.ec;if(n){for(let t=0;t<n.length;t++)if(n[t](e,i,a)===!1)return}t=t.parent}if(o){tt(),wn(o,null,10,[e,i,a]),nt();return}}Dn(e,r,a,i,s)}function Dn(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var On=[],kn=-1,An=[],jn=null,Mn=0,Nn=Promise.resolve(),Pn=null;function Fn(e){let t=Pn||Nn;return e?t.then(this?e.bind(this):e):t}function In(e){let t=kn+1,n=On.length;for(;t<n;){let r=t+n>>>1,i=On[r],a=Hn(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function Ln(e){if(!(e.flags&1)){let t=Hn(e),n=On[On.length-1];!n||!(e.flags&2)&&t>=Hn(n)?On.push(e):On.splice(In(t),0,e),e.flags|=1,Rn()}}function Rn(){Pn||=Nn.then(Un)}function zn(e){if(!d(e))jn&&e.id===-1?jn.splice(Mn+1,0,e):e.flags&1||(An.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)An.push(e[t]);Rn()}function Bn(e,t,n=kn+1){for(;n<On.length;n++){let t=On[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;On.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function Vn(e){if(An.length){let e=[...new Set(An)].sort((e,t)=>Hn(e)-Hn(t));if(An.length=0,jn){for(let t=0;t<e.length;t++)jn.push(e[t]);return}for(jn=e,Mn=0;Mn<jn.length;Mn++){let e=jn[Mn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}jn=null,Mn=0}}var Hn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Un(e){try{for(kn=0;kn<On.length;kn++){let e=On[kn];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),wn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;kn<On.length;kn++){let e=On[kn];e&&(e.flags&=-2)}kn=-1,On.length=0,Vn(e),Pn=null,(On.length||An.length)&&Un(e)}}var Wn=null,Gn=null;function Kn(e){let t=Wn;return Wn=e,Gn=e&&e.type.__scopeId||null,t}function qn(e,t=Wn,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&Ra(-1);let i=Kn(t),a=Pa.length,o;try{o=e(...n)}finally{for(let e=Pa.length;e>a;e--)Ia();Kn(i),r._d&&Ra(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Jn(e,n){if(Wn===null)return e;let r=go(Wn),i=e.dirs||=[];for(let e=0;e<n.length;e++){let[a,o,s,c=t]=n[e];a&&(h(a)&&(a={mounted:a,updated:a}),a.deep&&Cn(o),i.push({dir:a,instance:r,value:o,oldValue:void 0,arg:s,modifiers:c}))}return e}function Yn(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&(tt(),Tn(c,n,8,[e.el,s,e,t]),nt())}}function Xn(e,t){if(to){let n=to.provides,r=to.parent&&to.parent.provides;r===n&&(n=to.provides=Object.create(r)),n[e]=t}}function Zn(e,t,n=!1){let r=no();if(r||Bi){let i=Bi?Bi._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&h(t)?t.call(r&&r.proxy):t}}var Qn=Symbol.for(`v-scx`),$n=()=>Zn(Qn);function er(e,t){return nr(e,null,{flush:`sync`})}function tr(e,t,n){return nr(e,t,n)}function nr(e,n,i=t){let{immediate:a,deep:o,flush:c,once:l}=i,u=s({},i),d=n&&a||!n&&c!==`post`,f;if(co){if(c===`sync`){let e=$n();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}}let p=to;u.call=(e,t,n)=>Tn(e,p,t,n);let m=!1;c===`post`?u.scheduler=e=>{va(e,p&&p.suspense)}:c!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():Ln(e)}),u.augmentJob=e=>{n&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=Sn(e,n,u);return co&&(f?f.push(h):d&&h()),h}function rr(e,t,n){let r=this.proxy,i=g(e)?e.includes(`.`)?ir(r,e):()=>r[e]:e.bind(r,r),a;h(t)?a=t:(a=t.handler,n=t);let o=ao(this),s=nr(i,a.bind(r),n);return o(),s}function ir(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var ar=new WeakMap,or=Symbol(`_vte`),sr=e=>e.__isTeleport,cr=e=>e&&(e.disabled||e.disabled===``),lr=e=>e&&(e.defer||e.defer===``),ur=e=>typeof SVGElement<`u`&&e instanceof SVGElement,dr=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,fr=(e,t)=>{let n=e&&e.to;return g(n)?t?t(n):null:n},pr={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g,parentNode:_}}=l,v=cr(t.props),{dynamicChildren:y}=t,b=(e,t,n)=>{e.shapeFlag&16&&u(e.children,t,n,i,a,o,s,c)},x=(e=t)=>{let n=cr(e.props),r=e.target=fr(e.props,m),a=vr(r,e,h,p);r&&(o!==`svg`&&ur(r)?o=`svg`:o!==`mathml`&&dr(r)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(r),n||(b(e,r,a),_r(e,!1)))},S=e=>{let t=()=>{if(ar.get(e)===t){if(ar.delete(e),cr(e.props)){let t=_(e.el)||n;b(e,t,e.anchor),_r(e,!0)}x(e)}};ar.set(e,t),va(t,a)};if(e==null){let e=t.el=h(``),i=t.anchor=h(``);if(p(e,n,r),p(i,n,r),lr(t.props)||a&&a.pendingBranch){S(t);return}v&&(b(t,n,i),_r(t,!0)),x()}else{t.el=e.el;let r=t.anchor=e.anchor,u=ar.get(e);if(u){u.flags|=8,ar.delete(e),S(t);return}t.targetStart=e.targetStart;let p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=cr(e.props),_=g?n:p,b=g?r:h;if(o===`svg`||ur(p)?o=`svg`:(o===`mathml`||dr(p))&&(o=`mathml`),y?(f(e.dynamicChildren,y,_,i,a,o,s),wa(e,t,!0)):c||d(e,t,_,b,i,a,o,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):mr(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=fr(t.props,m);e&&(t.target=e,mr(t,e,null,l,0))}else g&&mr(t,p,h,l,1);_r(t,v)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e,p=cr(f),m=a||!p,h=ar.get(e);if(h&&(h.flags|=8,ar.delete(e)),d&&(i(l),i(u)),a&&i(c),!h&&(p||d)&&o&16)for(let e=0;e<s.length;e++){let i=s[e];r(i,t,n,m,!!i.dynamicChildren)}},move:mr,hydrate:hr};function mr(e,t,n,{o:{insert:r},m:i},a=2){a===0&&r(e.targetAnchor,t,n);let{el:o,anchor:s,shapeFlag:c,children:l,props:u}=e,d=a===2;if(d&&r(o,t,n),!ar.has(e)&&(!d||cr(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function hr(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:c,insert:l,createText:u}},d){function f(e,n){let r=n;for(;r;){if(r&&r.nodeType===8){if(r.data===`teleport start anchor`)t.targetStart=r;else if(r.data===`teleport anchor`){t.targetAnchor=r,e._lpa=t.targetAnchor&&o(t.targetAnchor);break}}r=o(r)}}function p(e,t){t.anchor=d(o(e),t,s(e),n,r,i,a)}let m=t.target=fr(t.props,c),h=cr(t.props);if(m){let c=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),f(m,c),t.targetAnchor||vr(m,t,u,l,s(e)===m?e:null)):(t.anchor=o(e),f(m,c),t.targetAnchor||vr(m,t,u,l),d(c&&o(c),t,m,n,r,i,a))),_r(t,h)}else h&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}var gr=pr;function _r(e,t){let n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute(`data-v-owner`,n.uid),r=r.nextSibling;n.ut()}}function vr(e,t,n,r,i=null){let a=t.targetStart=n(``),o=t.targetAnchor=n(``);return a[or]=o,e&&(r(a,e,i),r(o,e,i)),o}var yr=Symbol(`_leaveCb`),br=Symbol(`_enterCb`);function xr(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Xr(()=>{e.isMounted=!0}),$r(()=>{e.isUnmounting=!0}),e}var Sr=[Function,Array],Cr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Sr,onEnter:Sr,onAfterEnter:Sr,onEnterCancelled:Sr,onBeforeLeave:Sr,onLeave:Sr,onAfterLeave:Sr,onLeaveCancelled:Sr,onBeforeAppear:Sr,onAppear:Sr,onAfterAppear:Sr,onAppearCancelled:Sr},wr=e=>{let t=e.subTree;return t.component?wr(t.component):t},Tr={name:`BaseTransition`,props:Cr,setup(e,{slots:t}){let n=no(),r=xr();return()=>{let i=t.default&&Nr(t.default(),!0),a=i&&i.length?Er(i):n.subTree?M():void 0;if(!a)return;let o=tn(e),{mode:s}=o;if(r.isLeaving)return Ar(a);let c=jr(a);if(!c)return Ar(a);let l=kr(c,o,r,n,e=>l=e);c.type!==Ma&&Mr(c,l);let u=n.subTree&&jr(n.subTree);if(u&&u.type!==Ma&&!Ha(u,c)&&wr(n).type!==Ma){let e=kr(u,o,r,n);if(Mr(u,e),s===`out-in`&&c.type!==Ma)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete e.afterLeave,u=void 0},Ar(a);s===`in-out`&&c.type!==Ma?e.delayLeave=(e,t,n)=>{let i=Or(r,u);i[String(u.key)]=u,e[yr]=()=>{t(),e[yr]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{n(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&=void 0;return a}}};function Er(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==Ma){t=n;break}}return t}var Dr=Tr;function Or(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function kr(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:m,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:_,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,x=String(e.key),S=Or(n,e),C=(e,t)=>{e&&Tn(e,r,9,t)},ee=(e,t)=>{let n=t[1];C(e,t),d(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},te={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted){if(a)r=_||c;else return}t[yr]&&t[yr](!0);let i=S[x];i&&Ha(e,i)&&i.el[yr]&&i.el[yr](),C(r,[t])},enter(t){if(S[x]===e)return;let r=l,i=u,o=f;if(!n.isMounted){if(a)r=v||l,i=y||u,o=b||f;else return}let s=!1;t[br]=e=>{s||(s=!0,C(e?o:i,[t]),te.delayedLeave&&te.delayedLeave(),t[br]=void 0)};let c=t[br].bind(null,!1);r?ee(r,[t,c]):c()},leave(t,r){let i=String(e.key);if(t[br]&&t[br](!0),n.isUnmounting)return r();C(p,[t]);let a=!1;t[yr]=n=>{a||(a=!0,r(),C(n?g:h,[t]),t[yr]=void 0,S[i]===e&&delete S[i])};let o=t[yr].bind(null,!1);S[i]=e,m?ee(m,[t,o]):o()},clone(e){let a=kr(e,t,n,r,i);return i&&i(a),a}};return te}function Ar(e){if(Hr(e))return e=qa(e),e.children=null,e}function jr(e){if(!Hr(e))return sr(e.type)&&e.children?Er(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&h(n.default))return n.default()}}function Mr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;let n=e.component.subTree;Mr(sr(n.type)&&jr(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Nr(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a],s=n==null?o.key:String(n)+String(o.key==null?a:o.key);o.type===E?(o.patchFlag&128&&i++,r=r.concat(Nr(o.children,t,s))):(t||o.type!==Ma)&&r.push(s==null?o:qa(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function Pr(e,t){return h(e)?s({name:e.name},t,{setup:e}):e}function Fr(){let e=no();return e?(e.appContext.config.idPrefix||`v`)+`-`+e.ids[0]+e.ids[1]++:``}function Ir(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function Lr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var Rr=new WeakMap;function zr(e,n,r,a,o=!1){if(d(e)){e.forEach((e,t)=>zr(e,n&&(d(n)?n[t]:n),r,a,o));return}if(Vr(a)&&!o){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&zr(e,n,r,a.component.subTree);return}let s=a.shapeFlag&4?go(a.component):a.el,l=o?null:s,{i:f,r:p}=e,m=n&&n.r,_=f.refs===t?f.refs={}:f.refs,v=f.setupState,y=tn(v),b=v===t?i:e=>!Lr(_,e)&&u(y,e),x=(e,t)=>!(t&&Lr(_,t));if(m!=null&&m!==p){if(Br(n),g(m))_[m]=null,b(m)&&(v[m]=null);else if(on(m)){let e=n;x(m,e.k)&&(m.value=null),e.k&&(_[e.k]=null)}}if(h(p))wn(p,f,12,[l,_]);else{let t=g(p),n=on(p);if(t||n){let i=()=>{if(e.f){let n=t?b(p)?v[p]:_[p]:x(p)||!e.k?p.value:_[e.k];if(o)d(n)&&c(n,s);else if(d(n))n.includes(s)||n.push(s);else if(t)_[p]=[s],b(p)&&(v[p]=_[p]);else{let t=[s];x(p,e.k)&&(p.value=t),e.k&&(_[e.k]=t)}}else t?(_[p]=l,b(p)&&(v[p]=l)):n&&(x(p,e.k)&&(p.value=l),e.k&&(_[e.k]=l))};if(l){let t=()=>{i(),Rr.delete(e)};t.id=-1,Rr.set(e,t),va(t,r)}else Br(e),i()}}}function Br(e){let t=Rr.get(e);t&&(t.flags|=8,Rr.delete(e))}me().requestIdleCallback,me().cancelIdleCallback;var Vr=e=>!!e.type.__asyncLoader,Hr=e=>e.type.__isKeepAlive;function Ur(e,t){Gr(e,`a`,t)}function Wr(e,t){Gr(e,`da`,t)}function Gr(e,t,n=to){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(qr(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Hr(e.parent.vnode)&&Kr(r,t,n,e),e=e.parent}}function Kr(e,t,n,r){let i=qr(t,e,r,!0);ei(()=>{c(r[t],i)},n)}function qr(e,t,n=to,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{tt();let i=ao(n),a=Tn(t,n,e,r);return i(),nt(),a};return r?i.unshift(a):i.push(a),a}}var Jr=e=>(t,n=to)=>{(!co||e===`sp`)&&qr(e,(...e)=>t(...e),n)},Yr=Jr(`bm`),Xr=Jr(`m`),Zr=Jr(`bu`),Qr=Jr(`u`),$r=Jr(`bum`),ei=Jr(`um`),ti=Jr(`sp`),ni=Jr(`rtg`),ri=Jr(`rtc`);function ii(e,t=to){qr(`ec`,e,t)}var ai=`components`,oi=`directives`;function si(e,t){return di(ai,e,!0,t)||e}var ci=Symbol.for(`v-ndc`);function li(e){return g(e)?di(ai,e,!1)||e:e||ci}function ui(e){return di(oi,e)}function di(e,t,n=!0,r=!1){let i=Wn||to;if(i){let n=i.type;if(e===ai){let e=_o(n,!1);if(e&&(e===t||e===w(t)||e===oe(w(t))))return n}let a=fi(i[e]||n[e],t)||fi(i.appContext[e],t);return!a&&r?n:a}}function fi(e,t){return e&&(e[t]||e[w(t)]||e[oe(w(t))])}function pi(e,t,n,r){let i,a=n&&n[r],o=d(e);if(o||g(e)){let n=o&&Zt(e),r=!1,s=!1;n&&(r=!$t(e),s=Qt(e),e=ht(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?an(rn(e[n])):rn(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if(v(e)){if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}}else i=[];return n&&(n[r]=i),i}function mi(e,t,n,r,i,a){if(n??={},Wn.ce||Wn.parent&&Vr(Wn.parent)&&Wn.parent.ce){let e=a!=null&&n.key==null?s({},n,{key:a}):n,i=Object.keys(e).length>0;return t!=="default"&&(e.name=t),D(),Ba(E,null,[A(`slot`,e,r&&r())],i?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);let c=Pa.length;D();let l;try{let i=o&&hi(o(n)),s=n.key||a||i&&i.key;l=Ba(E,{key:(s&&!_(s)?s:`_${t}`)+(!i&&r?`_fb`:``)},i||(r?r():[]),i&&e._===1?64:-2)}catch(e){for(let e=Pa.length;e>c;e--)Ia();throw e}finally{o&&o._c&&(o._d=!0)}return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+`-s`]),l}function hi(e){return e.some(e=>!Va(e)||!(e.type===Ma||e.type===E&&!hi(e.children)))?e:null}var gi=e=>e?so(e)?go(e):gi(e.parent):null,_i=s(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>gi(e.parent),$root:e=>gi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Di(e),$forceUpdate:e=>e.f||=()=>{Ln(e.update)},$nextTick:e=>e.n||=Fn.bind(e.proxy),$watch:e=>rr.bind(e)}),vi=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),yi={get({_:e},n){if(n===`__v_skip`)return!0;let{ctx:r,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(n[0]!==`$`){let e=s[n];if(e!==void 0)switch(e){case 1:return i[n];case 2:return a[n];case 4:return r[n];case 3:return o[n]}else if(vi(i,n))return s[n]=1,i[n];else if(a!==t&&u(a,n))return s[n]=2,a[n];else if(u(o,n))return s[n]=3,o[n];else if(r!==t&&u(r,n))return s[n]=4,r[n];else Si&&(s[n]=0)}let d=_i[n],f,p;if(d)return n===`$attrs`&&ft(e.attrs,`get`,``),d(e);if((f=c.__cssModules)&&(f=f[n]))return f;if(r!==t&&u(r,n))return s[n]=4,r[n];if(p=l.config.globalProperties,u(p,n))return p[n]},set({_:e},n,r){let{data:i,setupState:a,ctx:o}=e;return vi(a,n)?(a[n]=r,!0):i!==t&&u(i,n)?(i[n]=r,!0):u(e.props,n)||n[0]===`$`&&n.slice(1)in e?!1:(o[n]=r,!0)},has({_:{data:e,setupState:n,accessCache:r,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(r[c]||e!==t&&c[0]!==`$`&&u(e,c)||vi(n,c)||u(o,c)||u(i,c)||u(_i,c)||u(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get==null?u(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function bi(e){return d(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function xi(e,t){return!e||!t?e||t:d(e)&&d(t)?e.concat(t):s({},bi(e),bi(t))}var Si=!0;function Ci(e){let t=Di(e),n=e.proxy,i=e.ctx;Si=!1,t.beforeCreate&&Ti(t.beforeCreate,e,`bc`);let{data:a,computed:o,methods:s,watch:c,provide:l,inject:u,created:f,beforeMount:p,mounted:m,beforeUpdate:g,updated:_,activated:y,deactivated:b,beforeDestroy:x,beforeUnmount:S,destroyed:C,unmounted:ee,render:te,renderTracked:ne,renderTriggered:re,errorCaptured:w,serverPrefetch:ie,expose:ae,inheritAttrs:oe,components:se,directives:ce,filters:le}=t;if(u&&wi(u,i,null),s)for(let e in s){let t=s[e];h(t)&&(i[e]=t.bind(n))}if(a){let t=a.call(n,n);v(t)&&(e.data=qt(t))}if(Si=!0,o)for(let e in o){let t=o[e],a=P({get:h(t)?t.bind(n,n):h(t.get)?t.get.bind(n,n):r,set:!h(t)&&h(t.set)?t.set.bind(n):r});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(c)for(let e in c)Ei(c[e],i,n,e);if(l){let e=h(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{Xn(t,e[t])})}f&&Ti(f,e,`c`);function ue(e,t){d(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(ue(Yr,p),ue(Xr,m),ue(Zr,g),ue(Qr,_),ue(Ur,y),ue(Wr,b),ue(ii,w),ue(ri,ne),ue(ni,re),ue($r,S),ue(ei,ee),ue(ti,ie),d(ae)){if(ae.length){let t=e.exposed||={};ae.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={}}te&&e.render===r&&(e.render=te),oe!=null&&(e.inheritAttrs=oe),se&&(e.components=se),ce&&(e.directives=ce),ie&&Ir(e)}function wi(e,t,n=r){d(e)&&(e=Mi(e));for(let n in e){let r=e[n],i;i=v(r)?`default`in r?Zn(r.from||n,r.default,!0):Zn(r.from||n):Zn(r),on(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function Ti(e,t,n){Tn(d(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ei(e,t,n,r){let i=r.includes(`.`)?ir(n,r):()=>n[r];if(g(e)){let n=t[e];h(n)&&tr(i,n)}else if(h(e))tr(i,e.bind(n));else if(v(e)){if(d(e))e.forEach(e=>Ei(e,t,n,r));else{let r=h(e.handler)?e.handler.bind(n):t[e.handler];h(r)&&tr(i,r,e)}}}function Di(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>Oi(c,e,o,!0)),Oi(c,t,o)),v(t)&&a.set(t,c),c}function Oi(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&Oi(e,a,n,!0),i&&i.forEach(t=>Oi(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=ki[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var ki={data:Ai,props:Fi,emits:Fi,methods:Pi,computed:Pi,beforeCreate:Ni,created:Ni,beforeMount:Ni,mounted:Ni,beforeUpdate:Ni,updated:Ni,beforeDestroy:Ni,beforeUnmount:Ni,destroyed:Ni,unmounted:Ni,activated:Ni,deactivated:Ni,errorCaptured:Ni,serverPrefetch:Ni,components:Pi,directives:Pi,watch:Ii,provide:Ai,inject:ji};function Ai(e,t){return t?e?function(){return s(h(e)?e.call(this,this):e,h(t)?t.call(this,this):t)}:t:e}function ji(e,t){return Pi(Mi(e),Mi(t))}function Mi(e){if(d(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ni(e,t){return e?[...new Set([].concat(e,t))]:t}function Pi(e,t){return e?s(Object.create(null),e,t):t}function Fi(e,t){return e?d(e)&&d(t)?[...new Set([...e,...t])]:s(Object.create(null),bi(e),bi(t??{})):t}function Ii(e,t){if(!e)return t;if(!t)return e;let n=s(Object.create(null),e);for(let r in t)n[r]=Ni(e[r],t[r]);return n}function Li(){return{app:null,config:{isNativeTag:i,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var Ri=0;function zi(e,t){return function(n,r=null){h(n)||(n=s({},n)),r!=null&&!v(r)&&(r=null);let i=Li(),a=new WeakSet,o=[],c=!1,l=i.app={_uid:Ri++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:bo,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&h(e.install)?(a.add(e),e.install(l,...t)):h(e)&&(a.add(e),e(l,...t))),l},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),l},component(e,t){return t?(i.components[e]=t,l):i.components[e]},directive(e,t){return t?(i.directives[e]=t,l):i.directives[e]},mount(a,o,s){if(!c){let u=l._ceVNode||A(n,r);return u.appContext=i,s===!0?s=`svg`:s===!1&&(s=void 0),o&&t?t(u,a):e(u,a,s),c=!0,l._container=a,a.__vue_app__=l,go(u.component)}},onUnmount(e){o.push(e)},unmount(){c&&(Tn(o,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return i.provides[e]=t,l},runWithContext(e){let t=Bi;Bi=l;try{return e()}finally{Bi=t}}};return l}}var Bi=null;function Vi(e,n,r=t){let i=no(),a=w(n),o=ae(n),s=Hi(e,a),c=hn((s,c)=>{let l,u=t,d;return er(()=>{let t=e[a];ce(l,t)&&(l=t,c())}),{get(){return s(),r.get?r.get(l):l},set(e){let s=r.set?r.set(e):e;if(!ce(s,l)&&!(u!==t&&ce(e,u)))return;let f=i.vnode.props,p=!!(f&&(n in f||a in f||o in f)&&(`onUpdate:${n}`in f||`onUpdate:${a}`in f||`onUpdate:${o}`in f));p||(l=e,c()),i.emit(`update:${n}`,s),ce(e,u)&&(ce(e,s)&&!ce(s,d)||p&&u!==t&&!ce(s,l))&&c(),u=e,d=s}}});return c[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?s||t:c,done:!1}:{done:!0}}}},c}var Hi=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${w(t)}Modifiers`]||e[`${ae(t)}Modifiers`];function Ui(e,n,...r){if(e.isUnmounted)return;let i=e.vnode.props||t,a=r,o=n.startsWith(`update:`),s=o&&Hi(i,n.slice(7));s&&(s.trim&&(a=r.map(e=>g(e)?e.trim():e)),s.number&&(a=a.map(de)));let c,l=i[c=se(n)]||i[c=se(w(n))];!l&&o&&(l=i[c=se(ae(n))]),l&&Tn(l,e,6,a);let u=i[c+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Tn(u,e,6,a)}}var Wi=new WeakMap;function Gi(e,t,n=!1){let r=n?Wi:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},c=!1;if(!h(e)){let r=e=>{let n=Gi(e,t,!0);n&&(c=!0,s(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!c?(v(e)&&r.set(e,null),null):(d(a)?a.forEach(e=>o[e]=null):s(o,a),v(e)&&r.set(e,o),o)}function Ki(e,t){return!e||!a(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),u(e,t[0].toLowerCase()+t.slice(1))||u(e,ae(t))||u(e,t))}function qi(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=Kn(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=Ja(u.call(t,e,d,f,m,p,h)),y=c}else{let e=t;v=Ja(e.length>1?e(f,{attrs:c,slots:s,emit:l}):e(f,null)),y=t.props?c:Ji(c)}}catch(t){Pa.length=0,En(t,e,1),v=A(Ma)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(o)&&(y=Yi(y,a)),b=qa(b,y,!1,!0))}return n.dirs&&(b=qa(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Mr(sr(b.type)&&jr(b)||b,n.transition),v=b,Kn(_),v}var Ji=e=>{let t;for(let n in e)(n===`class`||n===`style`||a(n))&&((t||={})[n]=e[n]);return t},Yi=(e,t)=>{let n={};for(let r in e)(!o(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Xi(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Zi(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(Qi(o,r,n)&&!Ki(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||Zi(r,o,l):!!o;return!1}function Zi(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(Qi(t,e,a)&&!Ki(n,a))return!0}return!1}function Qi(e,t,n){let r=e[n],i=t[n];return n===`style`&&v(r)&&v(i)?!Oe(r,i):r!==i}function $i({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var ea={},ta=()=>Object.create(ea),na=e=>Object.getPrototypeOf(e)===ea;function ra(e,t,n,r=!1){let i={},a=ta();e.propsDefaults=Object.create(null),aa(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);e.props=n?r?i:Jt(i):e.type.props?i:a,e.attrs=a}function ia(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=tn(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(Ki(e.emitsOptions,o))continue;let d=t[o];if(c){if(u(a,o))d!==a[o]&&(a[o]=d,l=!0);else{let t=w(o);i[t]=oa(c,s,t,d,e,!1)}}else d!==a[o]&&(a[o]=d,l=!0)}}}else{aa(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!u(t,a)&&((r=ae(a))===a||!u(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=oa(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!u(t,e))&&(delete a[e],l=!0)}l&&pt(e.attrs,`set`,``)}function aa(e,n,r,i){let[a,o]=e.propsOptions,s=!1,c;if(n)for(let t in n){if(te(t))continue;let l=n[t],d;a&&u(a,d=w(t))?!o||!o.includes(d)?r[d]=l:(c||={})[d]=l:Ki(e.emitsOptions,t)||(!(t in i)||l!==i[t])&&(i[t]=l,s=!0)}if(o){let n=tn(r),i=c||t;for(let t=0;t<o.length;t++){let s=o[t];r[s]=oa(a,n,s,i[s],e,!u(i,s))}}return s}function oa(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=u(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&h(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=ao(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===ae(n))&&(r=!0))}return r}var sa=new WeakMap;function ca(e,r,i=!1){let a=i?sa:r.propsCache,o=a.get(e);if(o)return o;let c=e.props,l={},f=[],p=!1;if(!h(e)){let t=e=>{p=!0;let[t,n]=ca(e,r,!0);s(l,t),n&&f.push(...n)};!i&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!c&&!p)return v(e)&&a.set(e,n),n;if(d(c))for(let e=0;e<c.length;e++){let n=w(c[e]);la(n)&&(l[n]=t)}else if(c)for(let e in c){let t=w(e);if(la(t)){let n=c[e],r=l[t]=d(n)||h(n)?{type:n}:s({},n),i=r.type,a=!1,o=!0;if(d(i))for(let e=0;e<i.length;++e){let t=i[e],n=h(t)&&t.name;if(n===`Boolean`){a=!0;break}n===`String`&&(o=!1)}else a=h(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||u(r,`default`))&&f.push(t)}}let m=[l,f];return v(e)&&a.set(e,m),m}function la(e){return e[0]!==`$`&&!te(e)}var ua=e=>e===`_`||e===`_ctx`||e===`$stable`,da=e=>d(e)?e.map(Ja):[Ja(e)],fa=(e,t,n)=>{if(t._n)return t;let r=qn((...e)=>da(t(...e)),n);return r._c=!1,r},pa=(e,t,n)=>{let r=e._ctx;for(let n in e){if(ua(n))continue;let i=e[n];if(h(i))t[n]=fa(n,i,r);else if(i!=null){let e=da(i);t[n]=()=>e}}},ma=(e,t)=>{let n=da(t);e.slots.default=()=>n},ha=(e,t,n)=>{for(let r in t)(n||!ua(r))&&(e[r]=t[r])},ga=(e,t,n)=>{let r=e.slots=ta();if(e.vnode.shapeFlag&32){let e=t._;e?(ha(r,t,n),n&&ue(r,`_`,e,!0)):pa(t,r)}else t&&ma(e,t)},_a=(e,n,r)=>{let{vnode:i,slots:a}=e,o=!0,s=t;if(i.shapeFlag&32){let e=n._;e?r&&e===1?o=!1:ha(a,n,r):(o=!n.$stable,pa(n,a)),s=n}else n&&(ma(e,n),s={default:1});if(o)for(let e in a)!ua(e)&&s[e]==null&&delete a[e]},va=Aa;function ya(e){return ba(e)}function ba(e,i){let a=me();a.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=r,insertStaticContent:_}=e,v=(e,t,r,i=null,a=null,o=null,s=void 0,c=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Ha(e,t)&&(i=we(e),ye(e,a,o,!0),e=null),t.patchFlag===-2&&(l=!1,t.dynamicChildren=null),t.dynamicChildren&&e&&e.dynamicChildren&&e.dynamicChildren.hasOnce&&(t.dynamicChildren===n&&(t.dynamicChildren=[]),t.dynamicChildren.hasOnce=!0);let{type:u,ref:d,shapeFlag:f}=t;switch(u){case ja:y(e,t,r,i);break;case Ma:b(e,t,r,i);break;case Na:e??x(t,r,i,s);break;case E:se(e,t,r,i,a,o,s,c,l);break;default:f&1?ee(e,t,r,i,a,o,s,c,l):f&6?ce(e,t,r,i,a,o,s,c,l):(f&64||f&128)&&u.process(e,t,r,i,a,o,s,c,l,De)}d!=null&&a?zr(d,e&&e.ref,o,t||e,!t):d==null&&e&&e.ref!=null&&zr(e.ref,null,o,e,!0)},y=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{e==null?o(t.el=d(t.children||``),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=h(e),o(e,n,r),e=i;o(t,n,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},ee=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)ne(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),ie(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},ne=(e,t,n,r,i,a,s,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,m&&m.is,m),h&8?p(d,e.children):h&16&&w(e.children,d,null,r,i,xa(e,a),s,u),_&&Yn(e,null,r,`created`),re(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!te(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&Za(f,r,e)}_&&Yn(e,null,r,`beforeMount`);let v=Ca(i,g);v&&g.beforeEnter(d),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&va(()=>{try{f&&Za(f,r,e),v&&g.enter(d),_&&Yn(e,null,r,`mounted`)}finally{}},i)},re=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||ka(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;re(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},w=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?Ya(e[l]):Ja(e[l]);v(null,c,t,n,r,i,a,o,s)}},ie=(e,n,r,i,a,o,s)=>{let l=n.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=n;u|=e.patchFlag&16;let m=e.props||t,h=n.props||t,g;if(r&&Sa(r,!1),(g=h.onVnodeBeforeUpdate)&&Za(g,r,n,e),f&&Yn(n,e,r,`beforeUpdate`),r&&Sa(r,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(u=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?ae(e.dynamicChildren,d,l,r,i,xa(n,a),o):s||he(e,n,l,null,r,i,xa(n,a),o,!1),u>0){if(u&16)oe(l,m,h,r,a);else if(u&2&&m.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,m.style,h.style,a),u&8){let e=n.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t],i=m[n],o=h[n];(o!==i||n===`value`)&&c(l,n,i,o,a,r)}}u&1&&e.children!==n.children&&p(l,n.children)}else!s&&d==null&&oe(l,m,h,r,a);((g=h.onVnodeUpdated)||f)&&va(()=>{g&&Za(g,r,n,e),f&&Yn(n,e,r,`updated`)},i)},ae=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s],u=c.el&&(c.type===E||!Ha(c,l)||c.shapeFlag&198)?m(c.el):n;v(c,l,u,null,r,i,a,o,!0)}},oe=(e,n,r,i,a)=>{if(n!==r){if(n!==t)for(let t in n)!te(t)&&!(t in r)&&c(e,t,n[t],null,a,i);for(let t in r){if(te(t))continue;let o=r[t],s=n[t];o!==s&&t!==`value`&&c(e,t,s,o,a,i)}`value`in r&&c(e,`value`,n.value,r.value,a)}},se=(e,t,n,r,i,a,s,c,l)=>{let d=t.el=e?e.el:u(``),f=t.anchor=e?e.anchor:u(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(o(d,n,r),o(f,n,r),w(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(ae(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&wa(e,t,!0)):he(e,t,n,f,i,a,s,c,l)},ce=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):ue(t,n,r,i,a,o,c):de(e,t,c)},ue=(e,t,n,r,i,a,o)=>{let s=e.component=eo(e,r,i);if(Hr(e)&&(s.ctx.renderer=De),lo(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,fe,o),!e.el){let r=s.subTree=A(Ma);b(null,r,t,n),e.placeholder=r.el}}else fe(s,e,t,n,i,a,o)},de=(e,t,n)=>{let r=t.component=e.component;if(Xi(e,t,n)){if(r.asyncDep&&!r.asyncResolved){t.el=e.el,pe(r,t,n);return}r.next=t,r.update()}else t.el=e.el,r.vnode=t},fe=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=Ea(e);if(n){t&&(t.el=c.el,pe(e,t,o)),n.asyncDep.then(()=>{va(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;Sa(e,!1),t?(t.el=c.el,pe(e,t,o)):t=c,n&&le(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Za(d,s,t,c),Sa(e,!0);let f=qi(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),we(p),e,i,a),t.el=f.el,u===null&&$i(e,f.el),r&&va(r,i),(d=t.props&&t.props.onVnodeUpdated)&&va(()=>Za(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=Vr(t);if(Sa(e,!1),l&&le(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Za(o,d,t),Sa(e,!0),s&&ke){let t=()=>{e.subTree=qi(e),ke(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=qi(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&va(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;va(()=>Za(o,d,e),i)}(t.shapeFlag&256||d&&Vr(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&va(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new Be(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>Ln(u),Sa(e,!0),l()},pe=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,ia(e,t.props,r,n),_a(e,t.children,n),tt(),Bn(e),nt()},he=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){_e(l,d,n,r,i,a,o,s,c);return}if(f&256){ge(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&Ce(l,i,a),d!==l&&p(n,d)):u&16?m&16?_e(l,d,n,r,i,a,o,s,c):Ce(l,i,a,!0):(u&8&&p(n,``),m&16&&w(d,n,r,i,a,o,s,c))},ge=(e,t,r,i,a,o,s,c,l)=>{e||=n,t||=n;let u=e.length,d=t.length,f=Math.min(u,d),p=0;for(;p<f;p++){let n=t[p]=l?Ya(t[p]):Ja(t[p]);v(e[p],n,r,null,a,o,s,c,l)}u>d?Ce(e,a,o,!0,!1,f):w(t,r,i,a,o,s,c,l,f)},_e=(e,t,r,i,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let n=e[u],i=t[u]=l?Ya(t[u]):Ja(t[u]);if(Ha(n,i))v(n,i,r,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let n=e[f],i=t[p]=l?Ya(t[p]):Ja(t[p]);if(Ha(n,i))v(n,i,r,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,n=e<d?t[e].el:i;for(;u<=p;)v(null,t[u]=l?Ya(t[u]):Ja(t[u]),r,n,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)ye(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?Ya(t[u]):Ja(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let n=e[u];if(y>=b){ye(n,a,o,!0);continue}let i;if(n.key!=null)i=g.get(n.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&Ha(n,t[_])){i=_;break}i===void 0?ye(n,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,v(n,t[i],r,null,a,o,s,c,l),y++)}let ee=x?Ta(C):n;for(_=ee.length-1,u=b-1;u>=0;u--){let e=h+u,n=t[e],f=t[e+1],p=e+1<d?f.el||Oa(f):i;C[u]===0?v(null,n,r,p,a,o,s,c,l):x&&(_<0||u!==ee[_]?ve(n,r,p,2):_--)}}},ve=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){ve(e.component.subTree,t,n,r);return}if(d&128){e.suspense.move(t,n,r);return}if(d&64){c.move(e,t,n,De);return}if(c===E){o(a,t,n);for(let e=0;e<u.length;e++)ve(u[e],t,n,r);o(e.anchor,t,n);return}if(c===Na){S(e,t,n);return}if(r!==2&&d&1&&l){if(r===0)l.persisted&&!a[yr]?o(a,t,n):(l.beforeEnter(a),o(a,t,n),va(()=>l.enter(a),i));else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{let e=a._isLeaving||!!a[yr];a._isLeaving&&a[yr](!0),l.persisted&&!e?u():r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}}else o(a,t,n)},ye=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if((d===-2||l&&l.hasOnce)&&(i=!1),s!=null&&(tt(),zr(s,null,n,e,!0),nt()),p!=null&&(!e.ctx||e.ctx===t)&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!Vr(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Za(_,t,e),u&6)Se(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&Yn(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,De,r):l&&!l.hasOnce&&(a!==E||d>0&&d&64)?Ce(l,t,n,!1,!0):(a===E&&d&384||!i&&u&16)&&Ce(c,t,n),r&&be(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&va(()=>{_&&Za(_,t,e),h&&Yn(e,null,t,`unmounted`),v&&(e.el=null)},n)},be=e=>{let{type:t,el:n,anchor:r,transition:i}=e;if(t===E){xe(n,r);return}if(t===Na){C(e),i&&!i.persisted&&i.afterLeave&&i.afterLeave();return}let a=()=>{s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(e.shapeFlag&1&&i&&!i.persisted){let{leave:t,delayLeave:r}=i,o=()=>t(n,a);r?r(e.el,a,o):o()}else a()},xe=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},Se=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;Da(c),Da(l),r&&le(r),i.stop(),a?(a.flags|=8,ye(o,e,t,n)):e.vnode.el&&o&&(o.transition=e.vnode.transition,ye(o,e,t,n)),s&&va(s,t),va(()=>{e.isUnmounted=!0},t)},Ce=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)ye(e[o],t,n,r,i)},we=e=>{if(e.shapeFlag&6)return we(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[or];return n?h(n):t},Te=!1,Ee=(e,t,n)=>{let r;e==null?t._vnode&&(ye(t._vnode,null,null,!0),r=t._vnode.component):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e,Te||=(Te=!0,Bn(r),Vn(),!1)},De={p:v,um:ye,m:ve,r:be,mt:ue,mc:w,pc:he,pbc:ae,n:we,o:e},Oe,ke;return i&&([Oe,ke]=i(De)),{render:Ee,hydrate:Oe,createApp:zi(Ee,Oe)}}function xa({type:e,props:t},n){return n===`svg`&&e===`foreignObject`||n===`mathml`&&e===`annotation-xml`&&t&&t.encoding&&t.encoding.includes(`html`)?void 0:n}function Sa({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ca(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function wa(e,t,n=!1){let r=e.children,i=t.children;if(d(r)&&d(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=Ya(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&wa(t,a)),a.type===ja&&(a.patchFlag===-1&&(a=i[e]=Ya(a)),a.el=t.el),a.type===Ma&&!a.el&&(a.el=t.el)}}function Ta(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-->0;)n[a]=o,o=t[o];return n}function Ea(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ea(t)}function Da(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Oa(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?Oa(t.subTree):null}var ka=e=>e.__isSuspense;function Aa(e,t){t&&t.pendingBranch?d(e)?t.effects.push(...e):t.effects.push(e):zn(e)}var E=Symbol.for(`v-fgt`),ja=Symbol.for(`v-txt`),Ma=Symbol.for(`v-cmt`),Na=Symbol.for(`v-stc`),Pa=[],Fa=null;function D(e=!1){Pa.push(Fa=e?null:[])}function Ia(){Pa.pop(),Fa=Pa[Pa.length-1]||null}var La=1;function Ra(e,t=!1){La+=e,e<0&&Fa&&t&&(Fa.hasOnce=!0)}function za(e){return e.dynamicChildren=La>0?Fa||n:null,Ia(),La>0&&Fa&&Fa.push(e),e}function O(e,t,n,r,i,a){return za(k(e,t,n,r,i,a,!0))}function Ba(e,t,n,r,i){return za(A(e,t,n,r,i,!0))}function Va(e){return e?e.__v_isVNode===!0:!1}function Ha(e,t){return e.type===t.type&&e.key===t.key}var Ua=({key:e})=>e??null,Wa=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:g(e)||on(e)||h(e)?{i:Wn,r:e,k:t,f:!!n}:e);function k(e,t=null,n=null,r=0,i=null,a=e===E?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ua(t),ref:t&&Wa(t),scopeId:Gn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Wn};return s?(Xa(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=g(n)?8:16),La>0&&!o&&Fa&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&Fa.push(c),c}var A=Ga;function Ga(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===ci)&&(e=Ma),Va(e)){let r=qa(e,t,!0);return n&&Xa(r,n),La>0&&!a&&Fa&&(r.shapeFlag&6?Fa[Fa.indexOf(e)]=r:Fa.push(r)),r.patchFlag=-2,r}if(vo(e)&&(e=e.__vccOpts),t){t=Ka(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=be(e)),v(n)&&(en(n)&&!d(n)&&(n=s({},n)),t.style=he(n))}let o=g(e)?1:ka(e)?128:sr(e)?64:v(e)?4:h(e)?2:0;return k(e,t,n,r,i,o,a,!0)}function Ka(e){return e?en(e)||na(e)?s({},e):e:null}function qa(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?N(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ua(l),ref:t&&t.ref?n&&a?d(a)?a.concat(Wa(t)):[a,Wa(t)]:Wa(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==E?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qa(e.ssContent),ssFallback:e.ssFallback&&qa(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&r&&Mr(u,c.clone(u)),u}function j(e=` `,t=0){return A(ja,null,e,t)}function M(e=``,t=!1){return t?(D(),Ba(Ma,null,e)):A(Ma,null,e)}function Ja(e){return e==null||typeof e==`boolean`?A(Ma):d(e)?A(E,null,e.slice()):Va(e)?Ya(e):A(ja,null,String(e))}function Ya(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qa(e)}function Xa(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(d(t))n=16;else if(typeof t==`object`){if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),Xa(e,n()),n._c&&(n._d=!0));return}{n=32;let r=t._;!r&&!na(t)?t._ctx=Wn:r===3&&Wn&&(Wn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}}else if(h(t)){if(r&65){Xa(e,{default:t});return}t={default:t,_ctx:Wn},n=32}else t=String(t),r&64?(n=16,t=[j(t)]):n=8;e.children=t,e.shapeFlag|=n}function N(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=be([t.class,r.class]));else if(e===`style`)t.style=he([t.style,r.style]);else if(a(e)){let n=t[e],i=r[e];i&&n!==i&&!(d(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!o(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Za(e,t,n,r=null){Tn(e,t,7,[n,r])}var Qa=Li(),$a=0;function eo(e,n,r){let i=e.type,a=(n?n.appContext:e.appContext)||Qa,o={uid:$a++,vnode:e,type:i,parent:n,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Fe(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(a.provides),ids:n?n.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ca(i,a),emitsOptions:Gi(i,a),emit:null,emitted:null,propsDefaults:t,inheritAttrs:i.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=n?n.root:o,o.emit=Ui.bind(null,o),e.ce&&e.ce(o),o}var to=null,no=()=>to||Wn,ro,io;{let e=me(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};ro=t(`__VUE_INSTANCE_SETTERS__`,e=>to=e),io=t(`__VUE_SSR_SETTERS__`,e=>co=e)}var ao=e=>{let t=to;return ro(e),e.scope.on(),()=>{e.scope.off(),ro(t)}},oo=()=>{to&&to.scope.off(),ro(null)};function so(e){return e.vnode.shapeFlag&4}var co=!1;function lo(e,t=!1,n=!1){t&&io(t);let{props:r,children:i}=e.vnode,a=so(e);ra(e,r,a,t),ga(e,i,n||t);let o=a?uo(e,t):void 0;return t&&io(!1),o}function uo(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,yi);let{setup:r}=n;if(r){tt();let n=e.setupContext=r.length>1?ho(e):null,i=ao(e),a=wn(r,e,0,[e.props,n]),o=y(a);if(nt(),i(),(o||e.sp)&&!Vr(e)&&Ir(e),o){if(a.then(oo,oo),t)return a.then(n=>{io(!0);try{fo(e,n,t)}finally{io(!1)}}).catch(t=>{En(t,e,0)});e.asyncDep=a}else fo(e,a,t)}else po(e,t)}function fo(e,t,n){h(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:v(t)&&(e.setupState=pn(t)),po(e,n)}function po(e,t,n){let i=e.type;e.render||=i.render||r;{let t=ao(e);tt();try{Ci(e)}finally{nt(),t()}}}var mo={get(e,t){return ft(e,`get`,``),e[t]}};function ho(e){return{attrs:new Proxy(e.attrs,mo),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function go(e){return e.exposed?e.exposeProxy||=new Proxy(pn(nn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in _i)return _i[n](e)},has(e,t){return t in e||t in _i}}):e.proxy}function _o(e,t=!0){return h(e)?e.displayName||e.name:e.name||t&&e.__name}function vo(e){return h(e)&&`__vccOpts`in e}var P=(e,t)=>_n(e,t,co);function yo(e,t,n){try{Ra(-1);let r=arguments.length;return r===2?v(t)&&!d(t)?Va(t)?A(e,null,[t]):A(e,t):A(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Va(n)&&(n=[n]),A(e,t,n))}finally{Ra(1)}}var bo=`3.5.43`,xo=void 0,So=typeof window<`u`&&window.trustedTypes;if(So)try{xo=So.createPolicy(`vue`,{createHTML:e=>e})}catch{}var Co=xo?e=>xo.createHTML(e):e=>e,wo=`http://www.w3.org/2000/svg`,To=`http://www.w3.org/1998/Math/MathML`,Eo=typeof document<`u`?document:null,Do=Eo&&Eo.createElement(`template`),Oo={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?Eo.createElementNS(wo,e):t===`mathml`?Eo.createElementNS(To,e):n?Eo.createElement(e,{is:n}):Eo.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>Eo.createTextNode(e),createComment:e=>Eo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Eo.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==a&&(i=i.nextSibling););else{Do.innerHTML=Co(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=Do.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ko=`transition`,Ao=`animation`,jo=Symbol(`_vtc`),Mo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},No=s({},Cr,Mo),Po=(e=>(e.displayName=`Transition`,e.props=No,e))((e,{slots:t})=>yo(Dr,Lo(e),t)),Fo=(e,t=[])=>{d(e)?e.forEach(e=>e(...t)):e&&e(...t)},Io=e=>e?d(e)?e.some(e=>e.length>1):e.length>1:!1;function Lo(e){let t={};for(let n in e)n in Mo||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:l=a,appearActiveClass:u=o,appearToClass:d=c,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,h=Ro(i),g=h&&h[0],_=h&&h[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:x,onLeaveCancelled:S,onBeforeAppear:C=v,onAppear:ee=y,onAppearCancelled:te=b}=t,ne=(e,t,n,r)=>{e._enterCancelled=r,Vo(e,t?d:c),Vo(e,t?u:o),n&&n()},re=(e,t)=>{e._isLeaving=!1,Vo(e,f),Vo(e,m),Vo(e,p),t&&t()},w=e=>(t,n)=>{let i=e?ee:y,o=()=>ne(t,e,n);Fo(i,[t,o]),Ho(()=>{Vo(t,e?l:a),Bo(t,e?d:c),Io(i)||Wo(t,r,g,o)})};return s(t,{onBeforeEnter(e){Fo(v,[e]),Bo(e,a),Bo(e,o)},onBeforeAppear(e){Fo(C,[e]),Bo(e,l),Bo(e,u)},onEnter:w(!1),onAppear:w(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>re(e,t);Bo(e,f),e._enterCancelled?(Bo(e,p),Jo(e)):(Jo(e),Bo(e,p)),Ho(()=>{e._isLeaving&&(Vo(e,f),Bo(e,m),Io(x)||Wo(e,r,_,n))}),Fo(x,[e,n])},onEnterCancelled(e){ne(e,!1,void 0,!0),Fo(b,[e])},onAppearCancelled(e){ne(e,!0,void 0,!0),Fo(te,[e])},onLeaveCancelled(e){re(e),Fo(S,[e])}})}function Ro(e){if(e==null)return null;if(v(e))return[zo(e.enter),zo(e.leave)];{let t=zo(e);return[t,t]}}function zo(e){return fe(e)}function Bo(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[jo]||(e[jo]=new Set)).add(t)}function Vo(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[jo];n&&(n.delete(t),n.size||(e[jo]=void 0))}function Ho(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var Uo=0;function Wo(e,t,n,r){let i=e._endId=++Uo,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=Go(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function Go(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${ko}Delay`),a=r(`${ko}Duration`),o=Ko(i,a),s=r(`${Ao}Delay`),c=r(`${Ao}Duration`),l=Ko(s,c),u=null,d=0,f=0;t===ko?o>0&&(u=ko,d=o,f=a.length):t===Ao?l>0&&(u=Ao,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?ko:Ao:null,f=u?u===ko?a.length:c.length:0);let p=u===ko&&/\b(?:transform|all)(?:,|$)/.test(r(`${ko}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function Ko(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>qo(t)+qo(e[n])))}function qo(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function Jo(e){return(e?e.ownerDocument:document).body.offsetHeight}function Yo(e,t,n){let r=e[jo];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var Xo=Symbol(`_vod`),Zo=Symbol(`_vsh`),Qo={name:`show`,beforeMount(e,{value:t},{transition:n}){e[Xo]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):$o(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),$o(e,!0),r.enter(e)):r.leave(e,()=>{$o(e,!1)}):$o(e,t))},beforeUnmount(e,{value:t}){$o(e,t)}};function $o(e,t){e.style.display=t?e[Xo]:`none`,e[Zo]=!t}var es=Symbol(``),ts=/(?:^|;)\s*display\s*:/;function ns(e,t,n){let r=e.style,i=g(n),a=!1;if(n&&!i){if(t){if(g(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??is(r,t,``)}else for(let e in t)n[e]??is(r,e,``)}for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?is(r,i,``):cs(e,i,!g(t)&&t?t[i]:void 0,o)||is(r,i,o)}}else if(i){if(t!==n){let e=r[es];e&&(n+=`;`+e),r.cssText=n,a=ts.test(n)}}else t&&e.removeAttribute(`style`);Xo in e&&(e[Xo]=a?r.display:``,e[Zo]&&(r.display=`none`))}var rs=/\s*!important$/;function is(e,t,n){if(d(n))n.forEach(n=>is(e,t,n));else if(n??=``,t.startsWith(`--`))rs.test(n)?e.setProperty(t,n.replace(rs,``),`important`):e.setProperty(t,n);else{let r=ss(e,t);rs.test(n)?e.setProperty(ae(r),n.replace(rs,``),`important`):e[r]=n}}var as=[`Webkit`,`Moz`,`ms`],os={};function ss(e,t){let n=os[t];if(n)return n;let r=w(t);if(r!==`filter`&&r in e)return os[t]=r;r=oe(r);for(let n=0;n<as.length;n++){let i=as[n]+r;if(i in e)return os[t]=i}return t}function cs(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&g(r)&&n===r}var ls=`http://www.w3.org/1999/xlink`;function us(e,t,n,r,i,a=Se(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(ls,t.slice(6,t.length)):e.setAttributeNS(ls,t,n):n==null||a&&!Ce(n)?e.removeAttribute(t):e.setAttribute(t,a?``:_(n)?String(n):n)}function ds(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?Co(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=Ce(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function fs(e,t,n,r){e.addEventListener(t,n,r)}function ps(e,t,n,r){e.removeEventListener(t,n,r)}var ms=Symbol(`_vei`);function hs(e,t,n,r,i=null){let a=e[ms]||(e[ms]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=vs(t);r?fs(e,n,a[t]=Ss(r,i),s):o&&(ps(e,n,o,s),a[t]=void 0)}}var gs=/(Once|Passive|Capture)$/,_s=/^on:?(?:Once|Passive|Capture)$/;function vs(e){let t,n;for(;(n=e.match(gs))&&!_s.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):ae(e.slice(2)),t]}var ys=0,bs=Promise.resolve(),xs=()=>ys||=(bs.then(()=>ys=0),Date.now());function Ss(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;let r=n.value;if(d(r)){let n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};let i=r.slice(),a=[e];for(let n=0;n<i.length&&!e._stopped;n++){let e=i[n];e&&Tn(e,t,5,a)}}else Tn(r,t,5,[e])};return n.value=e,n.attached=xs(),n}var Cs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ws=(e,t,n,r,i,s)=>{let c=i===`svg`;t===`class`?Yo(e,r,c):t===`style`?ns(e,n,r):a(t)?o(t)||hs(e,t,n,r,s):(t[0]===`.`?(t=t.slice(1),1):t[0]===`^`?(t=t.slice(1),0):Ts(e,t,r,c))?(ds(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&us(e,t,r,c,s,t!==`value`)):e._isVueCE&&(Es(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!g(r)))?ds(e,w(t),r,s,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),us(e,t,r,c))};function Ts(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&Cs(t)&&h(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return Cs(t)&&g(n)?!1:t in e}function Es(e,t){let n=e._def.props;if(!n)return!1;let r=w(t);return Array.isArray(n)?n.some(e=>w(e)===r):Object.keys(n).some(e=>w(e)===r)}var Ds=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return d(t)?e=>le(t,e):t};function Os(e){e.target.composing=!0}function ks(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var As=Symbol(`_assign`),js=Symbol(`_initialValue`);function Ms(e,t,n){return t&&(e=e.trim()),n&&(e=de(e)),e}var Ns={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e.parentNode&&(e.type===`text`?e[js]=e.defaultValue.replace(/[\r\n]/g,``):e.type===`textarea`&&(e[js]=e.defaultValue.replace(/\r\n?/g,`
|
|
2
|
-
`))),e[As]=Ds(i);let a=r||i.props&&i.props.type===`number`;fs(e,t?`change`:`input`,t=>{t.target.composing||e[As](Ms(e.value,n,a))}),(n||a)&&fs(e,`change`,()=>{e.value=Ms(e.value,n,a)}),t||(fs(e,`compositionstart`,Os),fs(e,`compositionend`,ks),fs(e,`change`,ks))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){let i=t??``,a=e[js];delete e[js],a!==void 0&&(e.type===`text`||e.type===`textarea`)&&e.value!==a?e[As](Ms(e.value,n,r)):e.value=i},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[As]=Ds(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?de(e.value):e.value,c=t??``;if(s===c)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},Ps={deep:!0,created(e,t,n){e[As]=Ds(n),fs(e,`change`,()=>{let t=e._modelValue,n=zs(e),r=e.checked,i=e[As];if(d(t)){let e=ke(t,n),a=e!==-1;if(r&&!a)i(t.concat(n));else if(!r&&a){let n=[...t];n.splice(e,1),i(n)}}else if(p(t)){let e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(Bs(e,r))})},mounted:Fs,beforeUpdate(e,t,n){e[As]=Ds(n),Fs(e,t,n)}};function Fs(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(d(t))i=ke(t,r.props.value)>-1;else if(p(t))i=t.has(r.props.value);else{if(t===n)return;i=Oe(t,Bs(e,!0))}e.checked!==i&&(e.checked=i)}var Is={deep:!0,created(e,{value:t,modifiers:{number:n}},r){e._modelValue=t,fs(e,`change`,()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?de(zs(e)):zs(e)),r=e.multiple,i=r?p(e._modelValue)?new Set(t):t:t[0],a=e._pendingValue=[r,r?d(i)?t.slice():t:i];try{e[As](i)}finally{Fn(()=>{e._pendingValue===a&&(e._pendingValue=void 0)})}}),e[As]=Ds(r)},mounted(e,{value:t}){Rs(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[As]=Ds(n)},updated(e,{value:t}){let n=e._pendingValue;e._pendingValue=void 0,(!n||n[0]!==e.multiple||!Ls(t,n[1],n[0]))&&Rs(e,t)}};function Ls(e,t,n){if(!n||d(e))return Oe(e,t);if(p(e)){if(e.size!==t.length)return!1;for(let n of t)if(!e.has(n))return!1;return!0}return!1}function Rs(e,t){let n=e.multiple,r=d(t);if(!n||r||p(t)){for(let i=0,a=e.options.length;i<a;i++){let a=e.options[i],o=zs(a);if(n){if(r){let e=typeof o;a.selected=e===`string`||e===`number`?t.some(e=>String(e)===String(o)):ke(t,o)>-1}else a.selected=t.has(o)}else if(Oe(zs(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function zs(e){return`_value`in e?e._value:e.value}function Bs(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var Vs=[`ctrl`,`shift`,`alt`,`meta`],Hs={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>Vs.some(n=>e[`${n}Key`]&&!t.includes(n))},Us=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=Hs[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},Ws=s({patchProp:ws},Oo),Gs;function Ks(){return Gs||=ya(Ws)}var qs=((...e)=>{let t=Ks().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=Ys(e);if(!r)return;let i=t._component;!h(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,Js(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t});function Js(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function Ys(e){return g(e)?document.querySelector(e):e}var Xs=Object.defineProperty,Zs=Object.getOwnPropertySymbols,Qs=Object.prototype.hasOwnProperty,$s=Object.prototype.propertyIsEnumerable,ec=(e,t,n)=>t in e?Xs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tc=(e,t)=>{for(var n in t||={})Qs.call(t,n)&&ec(e,n,t[n]);if(Zs)for(var n of Zs(t))$s.call(t,n)&&ec(e,n,t[n]);return e};function nc(e){return e==null||e===``||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&typeof e==`object`&&Object.keys(e).length===0}function rc(e,t,n=new WeakSet){if(e===t)return!0;if(!e||!t||typeof e!=`object`||typeof t!=`object`||n.has(e)||n.has(t))return!1;n.add(e).add(t);let r=Array.isArray(e),i=Array.isArray(t),a,o,s;if(r&&i){if(o=e.length,o!=t.length)return!1;for(a=o;a--!==0;)if(!rc(e[a],t[a],n))return!1;return!0}if(r!=i)return!1;let c=e instanceof Date,l=t instanceof Date;if(c!=l)return!1;if(c&&l)return e.getTime()==t.getTime();let u=e instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return e.toString()==t.toString();let f=Object.keys(e);if(o=f.length,o!==Object.keys(t).length)return!1;for(a=o;a--!==0;)if(!Object.prototype.hasOwnProperty.call(t,f[a]))return!1;for(a=o;a--!==0;)if(s=f[a],!rc(e[s],t[s],n))return!1;return!0}function ic(e,t){return rc(e,t)}function ac(e){return typeof e==`function`&&`call`in e&&`apply`in e}function oc(e){return!nc(e)}function sc(e,t){if(!e||!t)return null;try{let n=e[t];if(oc(n))return n}catch{}if(Object.keys(e).length){if(ac(t))return t(e);if(t.indexOf(`.`)===-1)return e[t];{let n=t.split(`.`),r=e;for(let e=0,t=n.length;e<t;++e){if(r==null)return null;r=r[n[e]]}return r}}return null}function cc(e,t,n){return n?sc(e,n)===sc(t,n):ic(e,t)}function lc(e,t=!0){return e instanceof Object&&e.constructor===Object&&(t||Object.keys(e).length!==0)}function uc(e={},t={}){let n=tc({},e);return Object.keys(t).forEach(r=>{let i=r;lc(t[i])&&i in e&&lc(e[i])?n[i]=uc(e[i],t[i]):n[i]=t[i]}),n}function dc(...e){return e.reduce((e,t,n)=>n===0?t:uc(e,t),{})}function fc(e,...t){return ac(e)?e(...t):e}function pc(e,t=!0){return typeof e==`string`&&(t||e!==``)}function mc(e){return pc(e)?e.replace(/(-|_)/g,``).toLowerCase():e}function hc(e,t=``,n={}){let r=mc(t).split(`.`),i=r.shift();return i?lc(e)?hc(fc(e[Object.keys(e).find(e=>mc(e)===i)||``],n),r.join(`.`),n):void 0:fc(e,n)}function gc(e,t=!0){return Array.isArray(e)&&(t||e.length!==0)}function _c(e){return oc(e)&&!isNaN(e)}function vc(e,t){if(t){let n=t.test(e);return t.lastIndex=0,n}return!1}function yc(...e){return dc(...e)}function bc(e){return e&&e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,``).replace(/ {2,}/g,` `).replace(/ ([{:}]) /g,`$1`).replace(/([;,]) /g,`$1`).replace(/ !/g,`!`).replace(/: /g,`:`).trim()}function xc(e){return pc(e,!1)?e[0].toUpperCase()+e.slice(1):e}function Sc(e){return pc(e)?e.replace(/(_)/g,`-`).replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase():e}function Cc(){let e=new Map;return{on(t,n){let r=e.get(t);return r?r.push(n):r=[n],e.set(t,r),this},off(t,n){let r=e.get(t);return r&&r.splice(r.indexOf(n)>>>0,1),this},emit(t,n){let r=e.get(t);r&&r.forEach(e=>{e(n)})},clear(){e.clear()}}}function wc(...e){if(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n];if(!r)continue;let i=typeof r;if(i===`string`||i===`number`)t.push(r);else if(i===`object`){let e=Array.isArray(r)?[wc(...r)]:Object.entries(r).map(([e,t])=>t?e:void 0);t=e.length?t.concat(e.filter(e=>!!e)):t}}return t.join(` `).trim()}}function Tc(e,t){return e?e.classList?e.classList.contains(t):RegExp(`(^| )`+t+`( |$)`,`gi`).test(e.className):!1}function Ec(e,t){if(e&&t){let n=t=>{Tc(e,t)||(e.classList?e.classList.add(t):e.className+=` `+t)};[t].flat().filter(Boolean).forEach(e=>e.split(` `).forEach(n))}}function Dc(e,t){if(e&&t){let n=t=>{e.classList?e.classList.remove(t):e.className=e.className.replace(RegExp(`(^|\\b)`+t.split(` `).join(`|`)+`(\\b|$)`,`gi`),` `)};[t].flat().filter(Boolean).forEach(e=>e.split(` `).forEach(n))}}function Oc(e){for(let t of document==null?void 0:document.styleSheets)try{for(let n of t?.cssRules)for(let t of n?.style)if(e.test(t))return{name:t,value:n.style.getPropertyValue(t).trim()}}catch{}return null}function kc(e){let t={width:0,height:0};if(e){let[n,r]=[e.style.visibility,e.style.display],i=e.getBoundingClientRect();e.style.visibility=`hidden`,e.style.display=`block`,t.width=i.width||e.offsetWidth,t.height=i.height||e.offsetHeight,e.style.display=r,e.style.visibility=n}return t}function Ac(){let e=window,t=document,n=t.documentElement,r=t.getElementsByTagName(`body`)[0];return{width:e.innerWidth||n.clientWidth||r.clientWidth,height:e.innerHeight||n.clientHeight||r.clientHeight}}function jc(e){return e?Math.abs(e.scrollLeft):0}function Mc(){let e=document.documentElement;return(window.pageXOffset||jc(e))-(e.clientLeft||0)}function Nc(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}function Pc(e){return e?getComputedStyle(e).direction===`rtl`:!1}function Fc(e,t,n=!0){if(e){let r=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:kc(e),i=r.height,a=r.width,o=t.offsetHeight,s=t.offsetWidth,c=t.getBoundingClientRect(),l=Nc(),u=Mc(),d=Ac(),f,p,m=`top`;c.top+o+i>d.height?(f=c.top+l-i,m=`bottom`,f<0&&(f=l)):f=o+c.top+l,p=c.left+a>d.width?Math.max(0,c.left+u+s-a):c.left+u,Pc(e)?e.style.insetInlineEnd=p+`px`:e.style.insetInlineStart=p+`px`,e.style.top=f+`px`,e.style.transformOrigin=m,n&&(e.style.marginTop=m===`bottom`?`calc(${Oc(/-anchor-gutter$/)?.value??`2px`} * -1)`:Oc(/-anchor-gutter$/)?.value??``)}}function Ic(e,t){e&&(typeof t==`string`?e.style.cssText=t:Object.entries(t||{}).forEach(([t,n])=>e.style[t]=n))}function Lc(e,t){if(e instanceof HTMLElement){let n=e.offsetWidth;if(t){let t=getComputedStyle(e);n+=parseFloat(t.marginLeft)+parseFloat(t.marginRight)}return n}return 0}function Rc(e){if(e){let t=e.parentNode;return t&&t instanceof ShadowRoot&&t.host&&(t=t.host),t}return null}function zc(e){return!!(e!=null&&e.nodeName&&Rc(e))}function Bc(e){return typeof Element<`u`?e instanceof Element:typeof e==`object`&&!!e&&e.nodeType===1&&typeof e.nodeName==`string`}function Vc(e,t={}){if(Bc(e)){let n=(t,r)=>{var i;let a=(i=e?.$attrs)!=null&&i[t]?[e?.$attrs?.[t]]:[];return[r].flat().reduce((e,r)=>{if(r!=null){let i=typeof r;if(i===`string`||i===`number`)e.push(r);else if(i===`object`){let i=Array.isArray(r)?n(t,r):Object.entries(r).map(([e,n])=>t===`style`&&(n||n===0)?`${e.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase()}:${n}`:n?e:void 0);e=i.length?e.concat(i.filter(e=>!!e)):e}}return e},a)};Object.entries(t).forEach(([t,r])=>{if(r!=null){let i=t.match(/^on(.+)/);i?e.addEventListener(i[1].toLowerCase(),r):t===`p-bind`||t===`pBind`?Vc(e,r):(r=t===`class`?[...new Set(n(`class`,r))].join(` `).trim():t===`style`?n(`style`,r).join(`;`).trim():r,(e.$attrs=e.$attrs||{})&&(e.$attrs[t]=r),e.setAttribute(t,r))}})}}function Hc(e,t={},...n){if(e){let r=document.createElement(e);return Vc(r,t),r.append(...n),r}}function Uc(e,t){return Bc(e)?Array.from(e.querySelectorAll(t)):[]}function Wc(e,t){return Bc(e)?e.matches(t)?e:e.querySelector(t):null}function Gc(e,t){e&&document.activeElement!==e&&e.focus(t)}function Kc(e,t){if(Bc(e)){let n=e.getAttribute(t);return isNaN(n)?n===`true`||n===`false`?n===`true`:n:+n}}function qc(e){if(e){let t=e.offsetHeight,n=getComputedStyle(e);return t-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),t}return 0}function Jc(e){if(e){let t=e.getBoundingClientRect();return{top:t.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:t.left+(window.pageXOffset||jc(document.documentElement)||jc(document.body)||0)}}return{top:`auto`,left:`auto`}}function Yc(e,t){if(e){let n=e.offsetHeight;if(t){let t=getComputedStyle(e);n+=parseFloat(t.marginTop)+parseFloat(t.marginBottom)}return n}return 0}function Xc(e,t=[]){let n=Rc(e);return n===null?t:Xc(n,t.concat([n]))}function Zc(e){let t=[];if(e){let n=Xc(e),r=/(auto|scroll)/,i=e=>{try{let t=window.getComputedStyle(e,null);return r.test(t.getPropertyValue(`overflow`))||r.test(t.getPropertyValue(`overflowX`))||r.test(t.getPropertyValue(`overflowY`))}catch{return!1}};for(let e of n){let n=e.nodeType===1&&e.dataset.scrollselectors;if(n){let r=n.split(`,`);for(let n of r){let r=Wc(e,n);r&&i(r)&&t.push(r)}}e.nodeType!==9&&i(e)&&t.push(e)}}return t}function Qc(e){if(e){let t=e.offsetWidth,n=getComputedStyle(e);return t-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)+parseFloat(n.borderLeftWidth)+parseFloat(n.borderRightWidth),t}return 0}function $c(){return!!(typeof window<`u`&&window.document&&window.document.createElement)}function el(){return`ontouchstart`in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}function tl(e,t=``,n){Bc(e)&&n!=null&&e.setAttribute(t,n)}var nl={};function rl(e=`pui_id_`){return Object.hasOwn(nl,e)||(nl[e]=0),nl[e]++,`${e}${nl[e]}`}function il(){let e=[],t=(t,n,r=999)=>{let a=i(t,n,r),o=a.value+(a.key===t?0:r)+1;return e.push({key:t,value:o}),o},n=t=>{e=e.filter(e=>e.value!==t)},r=(e,t)=>i(e,t).value,i=(t,n,r=0)=>[...e].reverse().find(e=>n?!0:e.key===t)||{key:t,value:r},a=e=>e&&parseInt(e.style.zIndex,10)||0;return{get:a,set:(e,n,r)=>{n&&(n.style.zIndex=String(t(e,!0,r)))},clear:e=>{e&&(n(a(e)),e.style.zIndex=``)},getCurrent:e=>r(e,!0)}}var al=il(),ol=Object.defineProperty,sl=Object.defineProperties,cl=Object.getOwnPropertyDescriptors,ll=Object.getOwnPropertySymbols,ul=Object.prototype.hasOwnProperty,dl=Object.prototype.propertyIsEnumerable,fl=(e,t,n)=>t in e?ol(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pl=(e,t)=>{for(var n in t||={})ul.call(t,n)&&fl(e,n,t[n]);if(ll)for(var n of ll(t))dl.call(t,n)&&fl(e,n,t[n]);return e},ml=(e,t)=>sl(e,cl(t)),hl=(e,t)=>{var n={};for(var r in e)ul.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ll)for(var r of ll(e))t.indexOf(r)<0&&dl.call(e,r)&&(n[r]=e[r]);return n},gl=Cc(),_l=/{([^}]*)}/g,vl=/(\d+\s+[\+\-\*\/]\s+\d+)/g,yl=/var\([^)]+\)/g;function bl(e){return pc(e)?e.replace(/[A-Z]/g,(e,t)=>t===0?e:`.`+e.toLowerCase()).toLowerCase():e}function xl(e){return lc(e)&&e.hasOwnProperty(`$value`)&&e.hasOwnProperty(`$type`)?e.$value:e}function Sl(e){return e.replaceAll(/ /g,``).replace(/[^\w]/g,`-`)}function Cl(e=``,t=``){return Sl(`${pc(e,!1)&&pc(t,!1)?`${e}-`:e}${t}`)}function wl(e=``,t=``){return`--${Cl(e,t)}`}function Tl(e=``){return((e.match(/{/g)||[]).length+(e.match(/}/g)||[]).length)%2!=0}function El(e,t=``,n=``,r=[],i){if(pc(e)){let t=e.trim();if(Tl(t))return;if(vc(t,_l)){let e=t.replaceAll(_l,e=>`var(${wl(n,Sc(e.replace(/{|}/g,``).split(`.`).filter(e=>!r.some(t=>vc(e,t))).join(`-`)))}${oc(i)?`, ${i}`:``})`);return vc(e.replace(yl,`0`),vl)?`calc(${e})`:e}return t}if(_c(e))return e}function Dl(e,t,n){pc(t,!1)&&e.push(`${t}:${n};`)}function Ol(e,t){return e?`${e}{${t}}`:``}function kl(e,t){if(e.indexOf(`dt(`)===-1)return e;function n(e,t){let n=[],i=0,a=``,o=null,s=0;for(;i<=e.length;){let c=e[i];if((c===`"`||c===`'`||c==="`")&&e[i-1]!==`\\`&&(o=o===c?null:c),!o&&(c===`(`&&s++,c===`)`&&s--,(c===`,`||i===e.length)&&s===0)){let e=a.trim();e.startsWith(`dt(`)?n.push(kl(e,t)):n.push(r(e)),a=``,i++;continue}c!==void 0&&(a+=c),i++}return n}function r(e){let t=e[0];if((t===`"`||t===`'`||t==="`")&&e[e.length-1]===t)return e.slice(1,-1);let n=Number(e);return isNaN(n)?e:n}let i=[],a=[];for(let t=0;t<e.length;t++)if(e[t]===`d`&&e.slice(t,t+3)===`dt(`)a.push(t),t+=2;else if(e[t]===`)`&&a.length>0){let e=a.pop();a.length===0&&i.push([e,t])}if(!i.length)return e;for(let r=i.length-1;r>=0;r--){let[a,o]=i[r],s=t(...n(e.slice(a+3,o),t));e=e.slice(0,a)+s+e.slice(o+1)}return e}var Al=(...e)=>jl(Fl.getTheme(),...e),jl=(e={},t,n,r)=>{if(t){let{variable:i,options:a}=Fl.defaults||{},{prefix:o,transform:s}=e?.options||a||{},c=vc(t,_l)?t:`{${t}}`;return r===`value`||nc(r)&&s===`strict`?Fl.getTokenValue(t):El(c,void 0,o,[i.excludedKeyRegex],n)}return``};function Ml(e,...t){return e instanceof Array?kl(e.reduce((e,n,r)=>e+n+(fc(t[r],{dt:Al})??``),``),Al):fc(e,{dt:Al})}function Nl(e,t={}){let n=Fl.defaults.variable,{prefix:r=n.prefix,selector:i=n.selector,excludedKeyRegex:a=n.excludedKeyRegex}=t,o=[],s=[],c=[{node:e,path:r}];for(;c.length;){let{node:e,path:t}=c.pop();for(let n in e){let i=e[n],l=xl(i),u=vc(n,a)?Cl(t):Cl(t,Sc(n));if(lc(l))c.push({node:l,path:u});else{Dl(s,wl(u),El(l,u,r,[a]));let e=u;r&&e.startsWith(r+`-`)&&(e=e.slice(r.length+1)),o.push(e.replace(/-/g,`.`))}}}let l=s.join(``);return{value:s,tokens:o,declarations:l,css:Ol(i,l)}}var Pl={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(e){return{type:`class`,selector:e,matched:this.pattern.test(e.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(e){return{type:`attr`,selector:`:root${e},:host${e}`,matched:this.pattern.test(e.trim())}}},media:{pattern:/^@media (.*)$/,resolve(e){return{type:`media`,selector:e,matched:this.pattern.test(e.trim())}}},system:{pattern:/^system$/,resolve(e){return{type:`system`,selector:`@media (prefers-color-scheme: dark)`,matched:this.pattern.test(e.trim())}}},custom:{resolve(e){return{type:`custom`,selector:e,matched:!0}}}},resolve(e){let t=Object.keys(this.rules).filter(e=>e!==`custom`).map(e=>this.rules[e]);return[e].flat().map(e=>t.map(t=>t.resolve(e)).find(e=>e.matched)??this.rules.custom.resolve(e))}},_toVariables(e,t){return Nl(e,{prefix:t?.prefix})},getCommon({name:e=``,theme:t={},params:n,set:r,defaults:i}){let{preset:a,options:o}=t,s,c,l,u,d,f,p;if(oc(a)&&o.transform!==`strict`){let{primitive:t,semantic:n,extend:m}=a,h=n||{},{colorScheme:g}=h,_=hl(h,[`colorScheme`]),v=m||{},{colorScheme:y}=v,b=hl(v,[`colorScheme`]),x=g||{},{dark:S}=x,C=hl(x,[`dark`]),ee=y||{},{dark:te}=ee,ne=hl(ee,[`dark`]),re=oc(t)?this._toVariables({primitive:t},o):{},w=oc(_)?this._toVariables({semantic:_},o):{},ie=oc(C)?this._toVariables({light:C},o):{},ae=oc(S)?this._toVariables({dark:S},o):{},oe=oc(b)?this._toVariables({semantic:b},o):{},se=oc(ne)?this._toVariables({light:ne},o):{},ce=oc(te)?this._toVariables({dark:te},o):{},[le,ue]=[re.declarations??``,re.tokens],[de,fe]=[w.declarations??``,w.tokens||[]],[pe,me]=[ie.declarations??``,ie.tokens||[]],[he,ge]=[ae.declarations??``,ae.tokens||[]],[_e,ve]=[oe.declarations??``,oe.tokens||[]],[ye,be]=[se.declarations??``,se.tokens||[]],[xe,Se]=[ce.declarations??``,ce.tokens||[]];s=this.transformCSS(e,le,`light`,`variable`,o,r,i),c=ue,l=`${this.transformCSS(e,`${de}${pe}`,`light`,`variable`,o,r,i)}${this.transformCSS(e,`${he}`,`dark`,`variable`,o,r,i)}`,u=[...new Set([...fe,...me,...ge])],d=`${this.transformCSS(e,`${_e}${ye}color-scheme:light`,`light`,`variable`,o,r,i)}${this.transformCSS(e,`${xe}color-scheme:dark`,`dark`,`variable`,o,r,i)}`,f=[...new Set([...ve,...be,...Se])],p=fc(a.css,{dt:Al})}return{primitive:{css:s,tokens:c},semantic:{css:l,tokens:u},global:{css:d,tokens:f},style:p}},getPreset({name:e=``,preset:t={},options:n,params:r,set:i,defaults:a,selector:o}){let s,c,l;if(oc(t)&&n.transform!==`strict`){let r=e.replace(`-directive`,``),u=t,{colorScheme:d,extend:f,css:p}=u,m=hl(u,[`colorScheme`,`extend`,`css`]),h=f||{},{colorScheme:g}=h,_=hl(h,[`colorScheme`]),v=d||{},{dark:y}=v,b=hl(v,[`dark`]),x=g||{},{dark:S}=x,C=hl(x,[`dark`]),ee=oc(m)?this._toVariables({[r]:pl(pl({},m),_)},n):{},te=oc(b)?this._toVariables({[r]:pl(pl({},b),C)},n):{},ne=oc(y)?this._toVariables({[r]:pl(pl({},y),S)},n):{},[re,w]=[ee.declarations??``,ee.tokens||[]],[ie,ae]=[te.declarations??``,te.tokens||[]],[oe,se]=[ne.declarations??``,ne.tokens||[]];s=`${this.transformCSS(r,`${re}${ie}`,`light`,`variable`,n,i,a,o)}${this.transformCSS(r,oe,`dark`,`variable`,n,i,a,o)}`,c=[...new Set([...w,...ae,...se])],l=fc(p,{dt:Al})}return{css:s,tokens:c,style:l}},getPresetC({name:e=``,theme:t={},params:n,set:r,defaults:i}){let{preset:a,options:o}=t,s=a?.components?.[e];return this.getPreset({name:e,preset:s,options:o,params:n,set:r,defaults:i})},getPresetD({name:e=``,theme:t={},params:n,set:r,defaults:i}){let a=e.replace(`-directive`,``),{preset:o,options:s}=t,c=o?.components?.[a]||o?.directives?.[a];return this.getPreset({name:a,preset:c,options:s,params:n,set:r,defaults:i})},applyDarkColorScheme(e){return e.darkModeSelector!==`none`&&e.darkModeSelector!==!1},getColorSchemeOption(e,t){return this.applyDarkColorScheme(e)?this.regex.resolve(e.darkModeSelector===!0?t.options.darkModeSelector:e.darkModeSelector??t.options.darkModeSelector):[]},getLayerOrder(e,t={},n,r){let{cssLayer:i}=t;return i?`@layer ${fc(i.order||i.name||`primeui`,n)}`:``},getCommonStyleSheet({name:e=``,theme:t={},params:n,props:r={},set:i,defaults:a}){let o=this.getCommon({name:e,theme:t,params:n,set:i,defaults:a}),s=Object.entries(r).reduce((e,[t,n])=>e.push(`${t}="${n}"`)&&e,[]).join(` `);return Object.entries(o||{}).reduce((e,[t,n])=>{if(lc(n)&&Object.hasOwn(n,`css`)){let r=bc(n.css),i=`${t}-variables`;e.push(`<style type="text/css" data-primevue-style-id="${i}" ${s}>${r}</style>`)}return e},[]).join(``)},getStyleSheet({name:e=``,theme:t={},params:n,props:r={},set:i,defaults:a}){let o={name:e,theme:t,params:n,set:i,defaults:a},s=(e.includes(`-directive`)?this.getPresetD(o):this.getPresetC(o))?.css,c=Object.entries(r).reduce((e,[t,n])=>e.push(`${t}="${n}"`)&&e,[]).join(` `);return s?`<style type="text/css" data-primevue-style-id="${e}-variables" ${c}>${bc(s)}</style>`:``},createTokens(e={},t,n=``,r=``,i={}){let a=function(e,t={},n=[]){if(n.includes(this.path))return console.warn(`Circular reference detected at ${this.path}`),{colorScheme:e,path:this.path,paths:t,value:void 0};n.push(this.path),t.name=this.path,t.binding||={};let r=this.value;if(typeof this.value==`string`&&_l.test(this.value)){let i=this.value.trim().replace(_l,r=>{let i=r.slice(1,-1),a=this.tokens[i];if(!a)return console.warn(`Token not found for path: ${i}`),`__UNRESOLVED__`;let o=a.computed(e,t,n);return Array.isArray(o)&&o.length===2?`light-dark(${o[0].value},${o[1].value})`:o?.value??`__UNRESOLVED__`});r=vl.test(i.replace(yl,`0`))?`calc(${i})`:i}return nc(t.binding)&&delete t.binding,n.pop(),{colorScheme:e,path:this.path,paths:t,value:r.includes(`__UNRESOLVED__`)?void 0:r}},o=(e,n,r)=>{Object.entries(e).forEach(([e,s])=>{let c=vc(e,t.variable.excludedKeyRegex)?n:n?`${n}.${bl(e)}`:bl(e),l=r?`${r}.${e}`:e;lc(s)?o(s,c,l):(i[c]||(i[c]={paths:[],computed:(e,t={},n=[])=>{if(i[c].paths.length===1)return i[c].paths[0].computed(i[c].paths[0].scheme,t.binding,n);if(e&&e!==`none`)for(let r=0;r<i[c].paths.length;r++){let a=i[c].paths[r];if(a.scheme===e)return a.computed(e,t.binding,n)}return i[c].paths.map(e=>e.computed(e.scheme,t[e.scheme],n))}}),i[c].paths.push({path:l,value:s,scheme:l.includes(`colorScheme.light`)?`light`:l.includes(`colorScheme.dark`)?`dark`:`none`,computed:a,tokens:i}))})};return o(e,n,r),i},getTokenValue(e,t,n){let r=(e=>e.split(`.`).filter(e=>!vc(e.toLowerCase(),n.variable.excludedKeyRegex)).join(`.`))(t),i=t.includes(`colorScheme.light`)?`light`:t.includes(`colorScheme.dark`)?`dark`:void 0,a=[e[r]?.computed(i)].flat().filter(e=>e);return a.length===1?a[0].value:a.reduce((e={},t)=>{let n=t,{colorScheme:r}=n;return e[r]=hl(n,[`colorScheme`]),e},void 0)},getSelectorRule(e,t,n,r){return n===`class`||n===`attr`?Ol(oc(t)?`${e}${t},${e} ${t}`:e,r):Ol(e,Ol(t??`:root,:host`,r))},transformCSS(e,t,n,r,i={},a,o,s){if(oc(t)){let{cssLayer:c}=i;if(r!==`style`){let e=this.getColorSchemeOption(i,o);t=n===`dark`?e.reduce((e,{type:n,selector:r})=>(oc(r)&&(e+=r.includes(`[CSS]`)?r.replace(`[CSS]`,t):this.getSelectorRule(r,s,n,t)),e),``):Ol(s??`:root,:host`,t)}if(c){let n={name:`primeui`,order:`primeui`};lc(c)&&(n.name=fc(c.name,{name:e,type:r})),oc(n.name)&&(t=Ol(`@layer ${n.name}`,t),a?.layerNames(n.name))}return t}return``}},Fl={defaults:{variable:{prefix:`p`,selector:`:root,:host`,excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:`p`,darkModeSelector:`system`,cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(e={}){let{theme:t}=e;t&&(this._theme=ml(pl({},t),{options:pl(pl({},this.defaults.options),t.options)}),this._tokens=Pl.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){return this.theme?.preset||{}},get options(){return this.theme?.options||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(e){this.update({theme:e}),gl.emit(`theme:change`,e)},getPreset(){return this.preset},setPreset(e){this._theme=ml(pl({},this.theme),{preset:e}),this._tokens=Pl.createTokens(e,this.defaults),this.clearLoadedStyleNames(),gl.emit(`preset:change`,e),gl.emit(`theme:change`,this.theme)},getOptions(){return this.options},setOptions(e){this._theme=ml(pl({},this.theme),{options:e}),this.clearLoadedStyleNames(),gl.emit(`options:change`,e),gl.emit(`theme:change`,this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(e){this._layerNames.add(e)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(e){return Pl.getTokenValue(this.tokens,e,this.defaults)},getCommon(e=``,t){return Pl.getCommon({name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(e=``,t){let n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Pl.getPresetC(n)},getDirective(e=``,t){let n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Pl.getPresetD(n)},getCustomPreset(e=``,t,n,r){let i={name:e,preset:t,options:this.options,selector:n,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Pl.getPreset(i)},getLayerOrderCSS(e=``){return Pl.getLayerOrder(e,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(e=``,t,n=`style`,r){return Pl.transformCSS(e,t,r,n,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(e=``,t,n={}){return Pl.getCommonStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(e,t,n={}){return Pl.getStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(e){this._loadingStyles.add(e)},onStyleUpdated(e){this._loadingStyles.add(e)},onStyleLoaded(e,{name:t}){this._loadingStyles.size&&(this._loadingStyles.delete(t),gl.emit(`theme:${t}:load`,e),!this._loadingStyles.size&&gl.emit(`theme:load`))}},Il={STARTS_WITH:`startsWith`,CONTAINS:`contains`,NOT_CONTAINS:`notContains`,ENDS_WITH:`endsWith`,EQUALS:`equals`,NOT_EQUALS:`notEquals`,IN:`in`,LESS_THAN:`lt`,LESS_THAN_OR_EQUAL_TO:`lte`,GREATER_THAN:`gt`,GREATER_THAN_OR_EQUAL_TO:`gte`,BETWEEN:`between`,DATE_IS:`dateIs`,DATE_IS_NOT:`dateIsNot`,DATE_BEFORE:`dateBefore`,DATE_AFTER:`dateAfter`},Ll=`
|
|
3
|
-
*,
|
|
4
|
-
::before,
|
|
5
|
-
::after {
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.p-collapsible-enter-active {
|
|
10
|
-
animation: p-animate-collapsible-expand 0.2s ease-out;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.p-collapsible-leave-active {
|
|
15
|
-
animation: p-animate-collapsible-collapse 0.2s ease-out;
|
|
16
|
-
overflow: hidden;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@keyframes p-animate-collapsible-expand {
|
|
20
|
-
from {
|
|
21
|
-
grid-template-rows: 0fr;
|
|
22
|
-
}
|
|
23
|
-
to {
|
|
24
|
-
grid-template-rows: 1fr;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
@keyframes p-animate-collapsible-collapse {
|
|
29
|
-
from {
|
|
30
|
-
grid-template-rows: 1fr;
|
|
31
|
-
}
|
|
32
|
-
to {
|
|
33
|
-
grid-template-rows: 0fr;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.p-disabled,
|
|
38
|
-
.p-disabled * {
|
|
39
|
-
cursor: default;
|
|
40
|
-
pointer-events: none;
|
|
41
|
-
user-select: none;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.p-disabled,
|
|
45
|
-
.p-component:disabled {
|
|
46
|
-
opacity: dt('disabled.opacity');
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.pi {
|
|
50
|
-
font-size: dt('icon.size');
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.p-icon {
|
|
54
|
-
width: dt('icon.size');
|
|
55
|
-
height: dt('icon.size');
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.p-overlay-mask {
|
|
59
|
-
background: var(--px-mask-background, dt('mask.background'));
|
|
60
|
-
color: dt('mask.color');
|
|
61
|
-
position: fixed;
|
|
62
|
-
top: 0;
|
|
63
|
-
left: 0;
|
|
64
|
-
width: 100%;
|
|
65
|
-
height: 100%;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.p-overlay-mask-enter-active {
|
|
69
|
-
animation: p-animate-overlay-mask-enter dt('mask.transition.duration') forwards;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.p-overlay-mask-leave-active {
|
|
73
|
-
animation: p-animate-overlay-mask-leave dt('mask.transition.duration') forwards;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
@keyframes p-animate-overlay-mask-enter {
|
|
77
|
-
from {
|
|
78
|
-
background: transparent;
|
|
79
|
-
}
|
|
80
|
-
to {
|
|
81
|
-
background: var(--px-mask-background, dt('mask.background'));
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
@keyframes p-animate-overlay-mask-leave {
|
|
85
|
-
from {
|
|
86
|
-
background: var(--px-mask-background, dt('mask.background'));
|
|
87
|
-
}
|
|
88
|
-
to {
|
|
89
|
-
background: transparent;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.p-anchored-overlay-enter-active {
|
|
94
|
-
animation: p-animate-anchored-overlay-enter 300ms cubic-bezier(.19,1,.22,1);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.p-anchored-overlay-leave-active {
|
|
98
|
-
animation: p-animate-anchored-overlay-leave 300ms cubic-bezier(.19,1,.22,1);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
@keyframes p-animate-anchored-overlay-enter {
|
|
102
|
-
from {
|
|
103
|
-
opacity: 0;
|
|
104
|
-
transform: scale(0.93);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
@keyframes p-animate-anchored-overlay-leave {
|
|
109
|
-
to {
|
|
110
|
-
opacity: 0;
|
|
111
|
-
transform: scale(0.93);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
`;function Rl(e){"@babel/helpers - typeof";return Rl=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Rl(e)}function zl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Bl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?zl(Object(n),!0).forEach(function(t){Vl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zl(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Vl(e,t,n){return(t=Hl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hl(e){var t=Ul(e,`string`);return Rl(t)==`symbol`?t:t+``}function Ul(e,t){if(Rl(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Rl(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Wl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;no()&&no().components?Xr(e):t?e():Fn(e)}var Gl=0;function Kl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=sn(!1),r=sn(e),i=sn(null),a=$c()?window.document:void 0,o=t.document,s=o===void 0?a:o,c=t.immediate,l=c===void 0||c,u=t.manual,d=u!==void 0&&u,f=t.name,p=f===void 0?`style_${++Gl}`:f,m=t.id,h=m===void 0?void 0:m,g=t.media,_=g===void 0?void 0:g,v=t.nonce,y=v===void 0?void 0:v,b=t.first,x=b!==void 0&&b,S=t.onMounted,C=S===void 0?void 0:S,ee=t.onUpdated,te=ee===void 0?void 0:ee,ne=t.onLoad,re=ne===void 0?void 0:ne,w=t.props,ie=w===void 0?{}:w,ae=function(){},oe=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(s){var o=Bl(Bl({},ie),a),c=o.name||p,l=o.id||h,u=o.nonce||y;i.value=s.querySelector(`style[data-primevue-style-id="${c}"]`)||s.getElementById(l)||s.createElement(`style`),i.value.isConnected||(r.value=t||e,Vc(i.value,{type:`text/css`,id:l,media:_,nonce:u}),x?s.head.prepend(i.value):s.head.appendChild(i.value),tl(i.value,`data-primevue-style-id`,c),Vc(i.value,o),i.value.onload=function(e){return re?.(e,{name:c})},C?.(c)),!n.value&&(ae=tr(r,function(e){i.value.textContent=e,te?.(c)},{immediate:!0}),n.value=!0)}};return l&&!d&&Wl(oe),{id:h,name:p,el:i,css:r,unload:function(){s&&n.value&&(ae(),zc(i.value)&&s.head.removeChild(i.value),n.value=!1,i.value=null)},load:oe,isLoaded:Yt(n)}}function ql(e){"@babel/helpers - typeof";return ql=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ql(e)}var Jl,Yl,Xl,Zl;function Ql(e,t){return ru(e)||nu(e,t)||eu(e,t)||$l()}function $l(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
115
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function eu(e,t){if(e){if(typeof e==`string`)return tu(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tu(e,t):void 0}}function tu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nu(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function ru(e){if(Array.isArray(e))return e}function iu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function au(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?iu(Object(n),!0).forEach(function(t){ou(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ou(e,t,n){return(t=su(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function su(e){var t=cu(e,`string`);return ql(t)==`symbol`?t:t+``}function cu(e,t){if(ql(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ql(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function lu(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var uu={name:`base`,css:function(e){var t=e.dt;return`
|
|
116
|
-
.p-hidden-accessible {
|
|
117
|
-
border: 0;
|
|
118
|
-
clip: rect(0 0 0 0);
|
|
119
|
-
height: 1px;
|
|
120
|
-
margin: -1px;
|
|
121
|
-
opacity: 0;
|
|
122
|
-
overflow: hidden;
|
|
123
|
-
padding: 0;
|
|
124
|
-
pointer-events: none;
|
|
125
|
-
position: absolute;
|
|
126
|
-
white-space: nowrap;
|
|
127
|
-
width: 1px;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.p-overflow-hidden {
|
|
131
|
-
overflow: hidden;
|
|
132
|
-
padding-right: ${t(`scrollbar.width`)};
|
|
133
|
-
}
|
|
134
|
-
`},style:Ll,classes:{},inlineStyles:{},load:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(e){return e})(Ml(Jl||=lu([``,``]),e));return oc(n)?Kl(bc(n),au({name:this.name},t)):{}},loadCSS:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.load(this.css,e)},loadStyle:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``;return this.load(this.style,t,function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``;return Fl.transformCSS(t.name||e.name,`${r}${Ml(Yl||=lu([``,``]),n)}`)})},getCommonTheme:function(e){return Fl.getCommon(this.name,e)},getComponentTheme:function(e){return Fl.getComponent(this.name,e)},getDirectiveTheme:function(e){return Fl.getDirective(this.name,e)},getPresetTheme:function(e,t,n){return Fl.getCustomPreset(this.name,e,t,n)},getLayerOrderThemeCSS:function(){return Fl.getLayerOrderCSS(this.name)},getStyleSheet:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var n=fc(this.css,{dt:Al})||``,r=bc(Ml(Xl||=lu([``,``,``]),n,e)),i=Object.entries(t).reduce(function(e,t){var n=Ql(t,2),r=n[0],i=n[1];return e.push(`${r}="${i}"`)&&e},[]).join(` `);return oc(r)?`<style type="text/css" data-primevue-style-id="${this.name}" ${i}>${r}</style>`:``}return``},getCommonThemeStyleSheet:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Fl.getCommonStyleSheet(this.name,e,t)},getThemeStyleSheet:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[Fl.getStyleSheet(this.name,e,t)];if(this.style){var r=this.name===`base`?`global-style`:`${this.name}-style`,i=Ml(Zl||=lu([``,``]),fc(this.style,{dt:Al})),a=bc(Fl.transformCSS(r,i)),o=Object.entries(t).reduce(function(e,t){var n=Ql(t,2),r=n[0],i=n[1];return e.push(`${r}="${i}"`)&&e},[]).join(` `);oc(a)&&n.push(`<style type="text/css" data-primevue-style-id="${r}" ${o}>${a}</style>`)}return n.join(``)},extend:function(e){return au(au({},this),{},{css:void 0,style:void 0},e)}},du=Cc();function fu(e){"@babel/helpers - typeof";return fu=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},fu(e)}function pu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function mu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?pu(Object(n),!0).forEach(function(t){hu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function hu(e,t,n){return(t=gu(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gu(e){var t=_u(e,`string`);return fu(t)==`symbol`?t:t+``}function _u(e,t){if(fu(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(fu(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var vu={ripple:!1,inputStyle:null,inputVariant:null,locale:{startsWith:`Starts with`,contains:`Contains`,notContains:`Not contains`,endsWith:`Ends with`,equals:`Equals`,notEquals:`Not equals`,noFilter:`No Filter`,lt:`Less than`,lte:`Less than or equal to`,gt:`Greater than`,gte:`Greater than or equal to`,dateIs:`Date is`,dateIsNot:`Date is not`,dateBefore:`Date is before`,dateAfter:`Date is after`,clear:`Clear`,apply:`Apply`,matchAll:`Match All`,matchAny:`Match Any`,addRule:`Add Rule`,removeRule:`Remove Rule`,accept:`Yes`,reject:`No`,choose:`Choose`,upload:`Upload`,cancel:`Cancel`,completed:`Completed`,pending:`Pending`,fileSizeTypes:[`B`,`KB`,`MB`,`GB`,`TB`,`PB`,`EB`,`ZB`,`YB`],dayNames:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],dayNamesShort:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],dayNamesMin:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],monthNames:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthNamesShort:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],chooseYear:`Choose Year`,chooseMonth:`Choose Month`,chooseDate:`Choose Date`,prevDecade:`Previous Decade`,nextDecade:`Next Decade`,prevYear:`Previous Year`,nextYear:`Next Year`,prevMonth:`Previous Month`,nextMonth:`Next Month`,prevHour:`Previous Hour`,nextHour:`Next Hour`,prevMinute:`Previous Minute`,nextMinute:`Next Minute`,prevSecond:`Previous Second`,nextSecond:`Next Second`,am:`am`,pm:`pm`,today:`Today`,weekHeader:`Wk`,firstDayOfWeek:0,showMonthAfterYear:!1,dateFormat:`mm/dd/yy`,weak:`Weak`,medium:`Medium`,strong:`Strong`,passwordPrompt:`Enter a password`,emptyFilterMessage:`No results found`,searchMessage:`{0} results are available`,selectionMessage:`{0} items selected`,emptySelectionMessage:`No selected item`,emptySearchMessage:`No results found`,fileChosenMessage:`{0} files`,noFileChosenMessage:`No file chosen`,emptyMessage:`No available options`,aria:{trueLabel:`True`,falseLabel:`False`,nullLabel:`Not Selected`,star:`1 star`,stars:`{star} stars`,selectAll:`All items selected`,unselectAll:`All items unselected`,close:`Close`,previous:`Previous`,next:`Next`,navigation:`Navigation`,scrollTop:`Scroll Top`,moveTop:`Move Top`,moveUp:`Move Up`,moveDown:`Move Down`,moveBottom:`Move Bottom`,moveToTarget:`Move to Target`,moveToSource:`Move to Source`,moveAllToTarget:`Move All to Target`,moveAllToSource:`Move All to Source`,pageLabel:`Page {page}`,firstPageLabel:`First Page`,lastPageLabel:`Last Page`,nextPageLabel:`Next Page`,prevPageLabel:`Previous Page`,rowsPerPageLabel:`Rows per page`,jumpToPageDropdownLabel:`Jump to Page Dropdown`,jumpToPageInputLabel:`Jump to Page Input`,selectRow:`Row Selected`,unselectRow:`Row Unselected`,expandRow:`Row Expanded`,collapseRow:`Row Collapsed`,showFilterMenu:`Show Filter Menu`,hideFilterMenu:`Hide Filter Menu`,filterOperator:`Filter Operator`,filterConstraint:`Filter Constraint`,editRow:`Row Edit`,saveEdit:`Save Edit`,cancelEdit:`Cancel Edit`,listView:`List View`,gridView:`Grid View`,slide:`Slide`,slideNumber:`{slideNumber}`,zoomImage:`Zoom Image`,zoomIn:`Zoom In`,zoomOut:`Zoom Out`,rotateRight:`Rotate Right`,rotateLeft:`Rotate Left`,listLabel:`Option List`}},filterMatchModeOptions:{text:[Il.STARTS_WITH,Il.CONTAINS,Il.NOT_CONTAINS,Il.ENDS_WITH,Il.EQUALS,Il.NOT_EQUALS],numeric:[Il.EQUALS,Il.NOT_EQUALS,Il.LESS_THAN,Il.LESS_THAN_OR_EQUAL_TO,Il.GREATER_THAN,Il.GREATER_THAN_OR_EQUAL_TO],date:[Il.DATE_IS,Il.DATE_IS_NOT,Il.DATE_BEFORE,Il.DATE_AFTER]},zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100},theme:void 0,unstyled:!1,pt:void 0,ptOptions:{mergeSections:!0,mergeProps:!1},csp:{nonce:void 0}},yu=Symbol();function bu(e,t){var n={config:qt(t)};return e.config.globalProperties.$primevue=n,e.provide(yu,n),Su(),Cu(e,n),n}var xu=[];function Su(){gl.clear(),xu.forEach(function(e){return e?.()}),xu=[]}function Cu(e,t){var n=sn(!1),r=function(){if(t.config?.theme!==`none`&&!Fl.isStyleNameLoaded(`common`)){var e,n=uu.getCommonTheme?.call(uu)||{},r=n.primitive,i=n.semantic,a=n.global,o=n.style,s={nonce:(e=t.config)==null||(e=e.csp)==null?void 0:e.nonce};uu.load(r?.css,mu({name:`primitive-variables`},s)),uu.load(i?.css,mu({name:`semantic-variables`},s)),uu.load(a?.css,mu({name:`global-variables`},s)),uu.loadStyle(mu({name:`global-style`},s),o),Fl.setLoadedStyleName(`common`)}};gl.on(`theme:change`,function(t){n.value||=(e.config.globalProperties.$primevue.config.theme=t,!0)});var i=tr(t.config,function(e,t){du.emit(`config:change`,{newValue:e,oldValue:t})},{immediate:!0,deep:!0}),a=tr(function(){return t.config.ripple},function(e,t){du.emit(`config:ripple:change`,{newValue:e,oldValue:t})},{immediate:!0,deep:!0}),o=tr(function(){return t.config.theme},function(e,i){n.value||Fl.setTheme(e),t.config.unstyled||r(),n.value=!1,du.emit(`config:theme:change`,{newValue:e,oldValue:i})},{immediate:!0,deep:!1}),s=tr(function(){return t.config.unstyled},function(e,n){!e&&t.config.theme&&r(),du.emit(`config:unstyled:change`,{newValue:e,oldValue:n})},{immediate:!0,deep:!0});xu.push(i),xu.push(a),xu.push(o),xu.push(s)}var wu={install:function(e,t){bu(e,yc(vu,t))}},Tu={root:{transitionDuration:`{transition.duration}`},panel:{borderWidth:`0 0 1px 0`,borderColor:`{content.border.color}`},header:{color:`{text.muted.color}`,hoverColor:`{text.color}`,activeColor:`{text.color}`,activeHoverColor:`{text.color}`,padding:`1.125rem`,fontWeight:`600`,borderRadius:`0`,borderWidth:`0`,borderColor:`{content.border.color}`,background:`{content.background}`,hoverBackground:`{content.background}`,activeBackground:`{content.background}`,activeHoverBackground:`{content.background}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`-1px`,shadow:`{focus.ring.shadow}`},toggleIcon:{color:`{text.muted.color}`,hoverColor:`{text.color}`,activeColor:`{text.color}`,activeHoverColor:`{text.color}`},first:{topBorderRadius:`{content.border.radius}`,borderWidth:`0`},last:{bottomBorderRadius:`{content.border.radius}`,activeBottomBorderRadius:`0`}},content:{borderWidth:`0`,borderColor:`{content.border.color}`,background:`{content.background}`,color:`{text.color}`,padding:`0 1.125rem 1.125rem 1.125rem`}},Eu={root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledHoverBackground:`{form.field.filled.hover.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,invalidPlaceholderColor:`{form.field.invalid.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`},overlay:{background:`{overlay.select.background}`,borderColor:`{overlay.select.border.color}`,borderRadius:`{overlay.select.border.radius}`,color:`{overlay.select.color}`,shadow:`{overlay.select.shadow}`},list:{padding:`{list.padding}`,gap:`{list.gap}`},option:{focusBackground:`{list.option.focus.background}`,selectedBackground:`{list.option.selected.background}`,selectedFocusBackground:`{list.option.selected.focus.background}`,color:`{list.option.color}`,focusColor:`{list.option.focus.color}`,selectedColor:`{list.option.selected.color}`,selectedFocusColor:`{list.option.selected.focus.color}`,padding:`{list.option.padding}`,borderRadius:`{list.option.border.radius}`},optionGroup:{background:`{list.option.group.background}`,color:`{list.option.group.color}`,fontWeight:`{list.option.group.font.weight}`,padding:`{list.option.group.padding}`},dropdown:{width:`2.5rem`,sm:{width:`2rem`},lg:{width:`3rem`},borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.border.color}`,activeBorderColor:`{form.field.border.color}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},chip:{borderRadius:`{border.radius.sm}`},emptyMessage:{padding:`{list.option.padding}`},colorScheme:{light:{chip:{focusBackground:`{surface.200}`,focusColor:`{surface.800}`},dropdown:{background:`{surface.100}`,hoverBackground:`{surface.200}`,activeBackground:`{surface.300}`,color:`{surface.600}`,hoverColor:`{surface.700}`,activeColor:`{surface.800}`}},dark:{chip:{focusBackground:`{surface.700}`,focusColor:`{surface.0}`},dropdown:{background:`{surface.800}`,hoverBackground:`{surface.700}`,activeBackground:`{surface.600}`,color:`{surface.300}`,hoverColor:`{surface.200}`,activeColor:`{surface.100}`}}}},Du={root:{width:`2rem`,height:`2rem`,fontSize:`1rem`,background:`{content.border.color}`,color:`{content.color}`,borderRadius:`{content.border.radius}`},icon:{size:`1rem`},group:{borderColor:`{content.background}`,offset:`-0.75rem`},lg:{width:`3rem`,height:`3rem`,fontSize:`1.5rem`,icon:{size:`1.5rem`},group:{offset:`-1rem`}},xl:{width:`4rem`,height:`4rem`,fontSize:`2rem`,icon:{size:`2rem`},group:{offset:`-1.5rem`}}},Ou={root:{borderRadius:`{border.radius.md}`,padding:`0 0.5rem`,fontSize:`0.75rem`,fontWeight:`700`,minWidth:`1.5rem`,height:`1.5rem`},dot:{size:`0.5rem`},sm:{fontSize:`0.625rem`,minWidth:`1.25rem`,height:`1.25rem`},lg:{fontSize:`0.875rem`,minWidth:`1.75rem`,height:`1.75rem`},xl:{fontSize:`1rem`,minWidth:`2rem`,height:`2rem`},colorScheme:{light:{primary:{background:`{primary.color}`,color:`{primary.contrast.color}`},secondary:{background:`{surface.100}`,color:`{surface.600}`},success:{background:`{green.500}`,color:`{surface.0}`},info:{background:`{sky.500}`,color:`{surface.0}`},warn:{background:`{orange.500}`,color:`{surface.0}`},danger:{background:`{red.500}`,color:`{surface.0}`},contrast:{background:`{surface.950}`,color:`{surface.0}`}},dark:{primary:{background:`{primary.color}`,color:`{primary.contrast.color}`},secondary:{background:`{surface.800}`,color:`{surface.300}`},success:{background:`{green.400}`,color:`{green.950}`},info:{background:`{sky.400}`,color:`{sky.950}`},warn:{background:`{orange.400}`,color:`{orange.950}`},danger:{background:`{red.400}`,color:`{red.950}`},contrast:{background:`{surface.0}`,color:`{surface.950}`}}}},ku={primitive:{borderRadius:{none:`0`,xs:`2px`,sm:`4px`,md:`6px`,lg:`8px`,xl:`12px`},emerald:{50:`#ecfdf5`,100:`#d1fae5`,200:`#a7f3d0`,300:`#6ee7b7`,400:`#34d399`,500:`#10b981`,600:`#059669`,700:`#047857`,800:`#065f46`,900:`#064e3b`,950:`#022c22`},green:{50:`#f0fdf4`,100:`#dcfce7`,200:`#bbf7d0`,300:`#86efac`,400:`#4ade80`,500:`#22c55e`,600:`#16a34a`,700:`#15803d`,800:`#166534`,900:`#14532d`,950:`#052e16`},lime:{50:`#f7fee7`,100:`#ecfccb`,200:`#d9f99d`,300:`#bef264`,400:`#a3e635`,500:`#84cc16`,600:`#65a30d`,700:`#4d7c0f`,800:`#3f6212`,900:`#365314`,950:`#1a2e05`},red:{50:`#fef2f2`,100:`#fee2e2`,200:`#fecaca`,300:`#fca5a5`,400:`#f87171`,500:`#ef4444`,600:`#dc2626`,700:`#b91c1c`,800:`#991b1b`,900:`#7f1d1d`,950:`#450a0a`},orange:{50:`#fff7ed`,100:`#ffedd5`,200:`#fed7aa`,300:`#fdba74`,400:`#fb923c`,500:`#f97316`,600:`#ea580c`,700:`#c2410c`,800:`#9a3412`,900:`#7c2d12`,950:`#431407`},amber:{50:`#fffbeb`,100:`#fef3c7`,200:`#fde68a`,300:`#fcd34d`,400:`#fbbf24`,500:`#f59e0b`,600:`#d97706`,700:`#b45309`,800:`#92400e`,900:`#78350f`,950:`#451a03`},yellow:{50:`#fefce8`,100:`#fef9c3`,200:`#fef08a`,300:`#fde047`,400:`#facc15`,500:`#eab308`,600:`#ca8a04`,700:`#a16207`,800:`#854d0e`,900:`#713f12`,950:`#422006`},teal:{50:`#f0fdfa`,100:`#ccfbf1`,200:`#99f6e4`,300:`#5eead4`,400:`#2dd4bf`,500:`#14b8a6`,600:`#0d9488`,700:`#0f766e`,800:`#115e59`,900:`#134e4a`,950:`#042f2e`},cyan:{50:`#ecfeff`,100:`#cffafe`,200:`#a5f3fc`,300:`#67e8f9`,400:`#22d3ee`,500:`#06b6d4`,600:`#0891b2`,700:`#0e7490`,800:`#155e75`,900:`#164e63`,950:`#083344`},sky:{50:`#f0f9ff`,100:`#e0f2fe`,200:`#bae6fd`,300:`#7dd3fc`,400:`#38bdf8`,500:`#0ea5e9`,600:`#0284c7`,700:`#0369a1`,800:`#075985`,900:`#0c4a6e`,950:`#082f49`},blue:{50:`#eff6ff`,100:`#dbeafe`,200:`#bfdbfe`,300:`#93c5fd`,400:`#60a5fa`,500:`#3b82f6`,600:`#2563eb`,700:`#1d4ed8`,800:`#1e40af`,900:`#1e3a8a`,950:`#172554`},indigo:{50:`#eef2ff`,100:`#e0e7ff`,200:`#c7d2fe`,300:`#a5b4fc`,400:`#818cf8`,500:`#6366f1`,600:`#4f46e5`,700:`#4338ca`,800:`#3730a3`,900:`#312e81`,950:`#1e1b4b`},violet:{50:`#f5f3ff`,100:`#ede9fe`,200:`#ddd6fe`,300:`#c4b5fd`,400:`#a78bfa`,500:`#8b5cf6`,600:`#7c3aed`,700:`#6d28d9`,800:`#5b21b6`,900:`#4c1d95`,950:`#2e1065`},purple:{50:`#faf5ff`,100:`#f3e8ff`,200:`#e9d5ff`,300:`#d8b4fe`,400:`#c084fc`,500:`#a855f7`,600:`#9333ea`,700:`#7e22ce`,800:`#6b21a8`,900:`#581c87`,950:`#3b0764`},fuchsia:{50:`#fdf4ff`,100:`#fae8ff`,200:`#f5d0fe`,300:`#f0abfc`,400:`#e879f9`,500:`#d946ef`,600:`#c026d3`,700:`#a21caf`,800:`#86198f`,900:`#701a75`,950:`#4a044e`},pink:{50:`#fdf2f8`,100:`#fce7f3`,200:`#fbcfe8`,300:`#f9a8d4`,400:`#f472b6`,500:`#ec4899`,600:`#db2777`,700:`#be185d`,800:`#9d174d`,900:`#831843`,950:`#500724`},rose:{50:`#fff1f2`,100:`#ffe4e6`,200:`#fecdd3`,300:`#fda4af`,400:`#fb7185`,500:`#f43f5e`,600:`#e11d48`,700:`#be123c`,800:`#9f1239`,900:`#881337`,950:`#4c0519`},slate:{50:`#f8fafc`,100:`#f1f5f9`,200:`#e2e8f0`,300:`#cbd5e1`,400:`#94a3b8`,500:`#64748b`,600:`#475569`,700:`#334155`,800:`#1e293b`,900:`#0f172a`,950:`#020617`},gray:{50:`#f9fafb`,100:`#f3f4f6`,200:`#e5e7eb`,300:`#d1d5db`,400:`#9ca3af`,500:`#6b7280`,600:`#4b5563`,700:`#374151`,800:`#1f2937`,900:`#111827`,950:`#030712`},zinc:{50:`#fafafa`,100:`#f4f4f5`,200:`#e4e4e7`,300:`#d4d4d8`,400:`#a1a1aa`,500:`#71717a`,600:`#52525b`,700:`#3f3f46`,800:`#27272a`,900:`#18181b`,950:`#09090b`},neutral:{50:`#fafafa`,100:`#f5f5f5`,200:`#e5e5e5`,300:`#d4d4d4`,400:`#a3a3a3`,500:`#737373`,600:`#525252`,700:`#404040`,800:`#262626`,900:`#171717`,950:`#0a0a0a`},stone:{50:`#fafaf9`,100:`#f5f5f4`,200:`#e7e5e4`,300:`#d6d3d1`,400:`#a8a29e`,500:`#78716c`,600:`#57534e`,700:`#44403c`,800:`#292524`,900:`#1c1917`,950:`#0c0a09`}},semantic:{transitionDuration:`0.2s`,focusRing:{width:`1px`,style:`solid`,color:`{primary.color}`,offset:`2px`,shadow:`none`},disabledOpacity:`0.6`,iconSize:`1rem`,anchorGutter:`2px`,primary:{50:`{emerald.50}`,100:`{emerald.100}`,200:`{emerald.200}`,300:`{emerald.300}`,400:`{emerald.400}`,500:`{emerald.500}`,600:`{emerald.600}`,700:`{emerald.700}`,800:`{emerald.800}`,900:`{emerald.900}`,950:`{emerald.950}`},formField:{paddingX:`0.75rem`,paddingY:`0.5rem`,sm:{fontSize:`0.875rem`,paddingX:`0.625rem`,paddingY:`0.375rem`},lg:{fontSize:`1.125rem`,paddingX:`0.875rem`,paddingY:`0.625rem`},borderRadius:`{border.radius.md}`,focusRing:{width:`0`,style:`none`,color:`transparent`,offset:`0`,shadow:`none`},transitionDuration:`{transition.duration}`},list:{padding:`0.25rem 0.25rem`,gap:`2px`,header:{padding:`0.5rem 1rem 0.25rem 1rem`},option:{padding:`0.5rem 0.75rem`,borderRadius:`{border.radius.sm}`},optionGroup:{padding:`0.5rem 0.75rem`,fontWeight:`600`}},content:{borderRadius:`{border.radius.md}`},mask:{transitionDuration:`0.3s`},navigation:{list:{padding:`0.25rem 0.25rem`,gap:`2px`},item:{padding:`0.5rem 0.75rem`,borderRadius:`{border.radius.sm}`,gap:`0.5rem`},submenuLabel:{padding:`0.5rem 0.75rem`,fontWeight:`600`},submenuIcon:{size:`0.875rem`}},overlay:{select:{borderRadius:`{border.radius.md}`,shadow:`0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)`},popover:{borderRadius:`{border.radius.md}`,padding:`0.75rem`,shadow:`0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)`},modal:{borderRadius:`{border.radius.xl}`,padding:`1.25rem`,shadow:`0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)`},navigation:{shadow:`0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)`}},colorScheme:{light:{surface:{0:`#ffffff`,50:`{slate.50}`,100:`{slate.100}`,200:`{slate.200}`,300:`{slate.300}`,400:`{slate.400}`,500:`{slate.500}`,600:`{slate.600}`,700:`{slate.700}`,800:`{slate.800}`,900:`{slate.900}`,950:`{slate.950}`},primary:{color:`{primary.500}`,contrastColor:`#ffffff`,hoverColor:`{primary.600}`,activeColor:`{primary.700}`},highlight:{background:`{primary.50}`,focusBackground:`{primary.100}`,color:`{primary.700}`,focusColor:`{primary.800}`},mask:{background:`rgba(0,0,0,0.4)`,color:`{surface.200}`},formField:{background:`{surface.0}`,disabledBackground:`{surface.200}`,filledBackground:`{surface.50}`,filledHoverBackground:`{surface.50}`,filledFocusBackground:`{surface.50}`,borderColor:`{surface.300}`,hoverBorderColor:`{surface.400}`,focusBorderColor:`{primary.color}`,invalidBorderColor:`{red.400}`,color:`{surface.700}`,disabledColor:`{surface.500}`,placeholderColor:`{surface.500}`,invalidPlaceholderColor:`{red.600}`,floatLabelColor:`{surface.500}`,floatLabelFocusColor:`{primary.600}`,floatLabelActiveColor:`{surface.500}`,floatLabelInvalidColor:`{form.field.invalid.placeholder.color}`,iconColor:`{surface.400}`,shadow:`0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)`},text:{color:`{surface.700}`,hoverColor:`{surface.800}`,mutedColor:`{surface.500}`,hoverMutedColor:`{surface.600}`},content:{background:`{surface.0}`,hoverBackground:`{surface.100}`,borderColor:`{surface.200}`,color:`{text.color}`,hoverColor:`{text.hover.color}`},overlay:{select:{background:`{surface.0}`,borderColor:`{surface.200}`,color:`{text.color}`},popover:{background:`{surface.0}`,borderColor:`{surface.200}`,color:`{text.color}`},modal:{background:`{surface.0}`,borderColor:`{surface.200}`,color:`{text.color}`}},list:{option:{focusBackground:`{surface.100}`,selectedBackground:`{highlight.background}`,selectedFocusBackground:`{highlight.focus.background}`,color:`{text.color}`,focusColor:`{text.hover.color}`,selectedColor:`{highlight.color}`,selectedFocusColor:`{highlight.focus.color}`,icon:{color:`{surface.400}`,focusColor:`{surface.500}`}},optionGroup:{background:`transparent`,color:`{text.muted.color}`}},navigation:{item:{focusBackground:`{surface.100}`,activeBackground:`{surface.100}`,color:`{text.color}`,focusColor:`{text.hover.color}`,activeColor:`{text.hover.color}`,icon:{color:`{surface.400}`,focusColor:`{surface.500}`,activeColor:`{surface.500}`}},submenuLabel:{background:`transparent`,color:`{text.muted.color}`},submenuIcon:{color:`{surface.400}`,focusColor:`{surface.500}`,activeColor:`{surface.500}`}}},dark:{surface:{0:`#ffffff`,50:`{zinc.50}`,100:`{zinc.100}`,200:`{zinc.200}`,300:`{zinc.300}`,400:`{zinc.400}`,500:`{zinc.500}`,600:`{zinc.600}`,700:`{zinc.700}`,800:`{zinc.800}`,900:`{zinc.900}`,950:`{zinc.950}`},primary:{color:`{primary.400}`,contrastColor:`{surface.900}`,hoverColor:`{primary.300}`,activeColor:`{primary.200}`},highlight:{background:`color-mix(in srgb, {primary.400}, transparent 84%)`,focusBackground:`color-mix(in srgb, {primary.400}, transparent 76%)`,color:`rgba(255,255,255,.87)`,focusColor:`rgba(255,255,255,.87)`},mask:{background:`rgba(0,0,0,0.6)`,color:`{surface.200}`},formField:{background:`{surface.950}`,disabledBackground:`{surface.700}`,filledBackground:`{surface.800}`,filledHoverBackground:`{surface.800}`,filledFocusBackground:`{surface.800}`,borderColor:`{surface.600}`,hoverBorderColor:`{surface.500}`,focusBorderColor:`{primary.color}`,invalidBorderColor:`{red.300}`,color:`{surface.0}`,disabledColor:`{surface.400}`,placeholderColor:`{surface.400}`,invalidPlaceholderColor:`{red.400}`,floatLabelColor:`{surface.400}`,floatLabelFocusColor:`{primary.color}`,floatLabelActiveColor:`{surface.400}`,floatLabelInvalidColor:`{form.field.invalid.placeholder.color}`,iconColor:`{surface.400}`,shadow:`0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)`},text:{color:`{surface.0}`,hoverColor:`{surface.0}`,mutedColor:`{surface.400}`,hoverMutedColor:`{surface.300}`},content:{background:`{surface.900}`,hoverBackground:`{surface.800}`,borderColor:`{surface.700}`,color:`{text.color}`,hoverColor:`{text.hover.color}`},overlay:{select:{background:`{surface.900}`,borderColor:`{surface.700}`,color:`{text.color}`},popover:{background:`{surface.900}`,borderColor:`{surface.700}`,color:`{text.color}`},modal:{background:`{surface.900}`,borderColor:`{surface.700}`,color:`{text.color}`}},list:{option:{focusBackground:`{surface.800}`,selectedBackground:`{highlight.background}`,selectedFocusBackground:`{highlight.focus.background}`,color:`{text.color}`,focusColor:`{text.hover.color}`,selectedColor:`{highlight.color}`,selectedFocusColor:`{highlight.focus.color}`,icon:{color:`{surface.500}`,focusColor:`{surface.400}`}},optionGroup:{background:`transparent`,color:`{text.muted.color}`}},navigation:{item:{focusBackground:`{surface.800}`,activeBackground:`{surface.800}`,color:`{text.color}`,focusColor:`{text.hover.color}`,activeColor:`{text.hover.color}`,icon:{color:`{surface.500}`,focusColor:`{surface.400}`,activeColor:`{surface.400}`}},submenuLabel:{background:`transparent`,color:`{text.muted.color}`},submenuIcon:{color:`{surface.500}`,focusColor:`{surface.400}`,activeColor:`{surface.400}`}}}}}},Au={root:{borderRadius:`{content.border.radius}`}},ju={root:{padding:`1rem`,background:`{content.background}`,gap:`0.5rem`,transitionDuration:`{transition.duration}`},item:{color:`{text.muted.color}`,hoverColor:`{text.color}`,borderRadius:`{content.border.radius}`,gap:`{navigation.item.gap}`,icon:{color:`{navigation.item.icon.color}`,hoverColor:`{navigation.item.icon.focus.color}`},focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},separator:{color:`{navigation.item.icon.color}`}},Mu={root:{borderRadius:`{form.field.border.radius}`,roundedBorderRadius:`2rem`,gap:`0.5rem`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,iconOnlyWidth:`2.5rem`,sm:{fontSize:`{form.field.sm.font.size}`,paddingX:`{form.field.sm.padding.x}`,paddingY:`{form.field.sm.padding.y}`,iconOnlyWidth:`2rem`},lg:{fontSize:`{form.field.lg.font.size}`,paddingX:`{form.field.lg.padding.x}`,paddingY:`{form.field.lg.padding.y}`,iconOnlyWidth:`3rem`},label:{fontWeight:`500`},raisedShadow:`0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,offset:`{focus.ring.offset}`},badgeSize:`1rem`,transitionDuration:`{form.field.transition.duration}`},colorScheme:{light:{root:{primary:{background:`{primary.color}`,hoverBackground:`{primary.hover.color}`,activeBackground:`{primary.active.color}`,borderColor:`{primary.color}`,hoverBorderColor:`{primary.hover.color}`,activeBorderColor:`{primary.active.color}`,color:`{primary.contrast.color}`,hoverColor:`{primary.contrast.color}`,activeColor:`{primary.contrast.color}`,focusRing:{color:`{primary.color}`,shadow:`none`}},secondary:{background:`{surface.100}`,hoverBackground:`{surface.200}`,activeBackground:`{surface.300}`,borderColor:`{surface.100}`,hoverBorderColor:`{surface.200}`,activeBorderColor:`{surface.300}`,color:`{surface.600}`,hoverColor:`{surface.700}`,activeColor:`{surface.800}`,focusRing:{color:`{surface.600}`,shadow:`none`}},info:{background:`{sky.500}`,hoverBackground:`{sky.600}`,activeBackground:`{sky.700}`,borderColor:`{sky.500}`,hoverBorderColor:`{sky.600}`,activeBorderColor:`{sky.700}`,color:`#ffffff`,hoverColor:`#ffffff`,activeColor:`#ffffff`,focusRing:{color:`{sky.500}`,shadow:`none`}},success:{background:`{green.500}`,hoverBackground:`{green.600}`,activeBackground:`{green.700}`,borderColor:`{green.500}`,hoverBorderColor:`{green.600}`,activeBorderColor:`{green.700}`,color:`#ffffff`,hoverColor:`#ffffff`,activeColor:`#ffffff`,focusRing:{color:`{green.500}`,shadow:`none`}},warn:{background:`{orange.500}`,hoverBackground:`{orange.600}`,activeBackground:`{orange.700}`,borderColor:`{orange.500}`,hoverBorderColor:`{orange.600}`,activeBorderColor:`{orange.700}`,color:`#ffffff`,hoverColor:`#ffffff`,activeColor:`#ffffff`,focusRing:{color:`{orange.500}`,shadow:`none`}},help:{background:`{purple.500}`,hoverBackground:`{purple.600}`,activeBackground:`{purple.700}`,borderColor:`{purple.500}`,hoverBorderColor:`{purple.600}`,activeBorderColor:`{purple.700}`,color:`#ffffff`,hoverColor:`#ffffff`,activeColor:`#ffffff`,focusRing:{color:`{purple.500}`,shadow:`none`}},danger:{background:`{red.500}`,hoverBackground:`{red.600}`,activeBackground:`{red.700}`,borderColor:`{red.500}`,hoverBorderColor:`{red.600}`,activeBorderColor:`{red.700}`,color:`#ffffff`,hoverColor:`#ffffff`,activeColor:`#ffffff`,focusRing:{color:`{red.500}`,shadow:`none`}},contrast:{background:`{surface.950}`,hoverBackground:`{surface.900}`,activeBackground:`{surface.800}`,borderColor:`{surface.950}`,hoverBorderColor:`{surface.900}`,activeBorderColor:`{surface.800}`,color:`{surface.0}`,hoverColor:`{surface.0}`,activeColor:`{surface.0}`,focusRing:{color:`{surface.950}`,shadow:`none`}}},outlined:{primary:{hoverBackground:`{primary.50}`,activeBackground:`{primary.100}`,borderColor:`{primary.200}`,color:`{primary.color}`},secondary:{hoverBackground:`{surface.50}`,activeBackground:`{surface.100}`,borderColor:`{surface.200}`,color:`{surface.500}`},success:{hoverBackground:`{green.50}`,activeBackground:`{green.100}`,borderColor:`{green.200}`,color:`{green.500}`},info:{hoverBackground:`{sky.50}`,activeBackground:`{sky.100}`,borderColor:`{sky.200}`,color:`{sky.500}`},warn:{hoverBackground:`{orange.50}`,activeBackground:`{orange.100}`,borderColor:`{orange.200}`,color:`{orange.500}`},help:{hoverBackground:`{purple.50}`,activeBackground:`{purple.100}`,borderColor:`{purple.200}`,color:`{purple.500}`},danger:{hoverBackground:`{red.50}`,activeBackground:`{red.100}`,borderColor:`{red.200}`,color:`{red.500}`},contrast:{hoverBackground:`{surface.50}`,activeBackground:`{surface.100}`,borderColor:`{surface.700}`,color:`{surface.950}`},plain:{hoverBackground:`{surface.50}`,activeBackground:`{surface.100}`,borderColor:`{surface.200}`,color:`{surface.700}`}},text:{primary:{hoverBackground:`{primary.50}`,activeBackground:`{primary.100}`,color:`{primary.color}`},secondary:{hoverBackground:`{surface.50}`,activeBackground:`{surface.100}`,color:`{surface.500}`},success:{hoverBackground:`{green.50}`,activeBackground:`{green.100}`,color:`{green.500}`},info:{hoverBackground:`{sky.50}`,activeBackground:`{sky.100}`,color:`{sky.500}`},warn:{hoverBackground:`{orange.50}`,activeBackground:`{orange.100}`,color:`{orange.500}`},help:{hoverBackground:`{purple.50}`,activeBackground:`{purple.100}`,color:`{purple.500}`},danger:{hoverBackground:`{red.50}`,activeBackground:`{red.100}`,color:`{red.500}`},contrast:{hoverBackground:`{surface.50}`,activeBackground:`{surface.100}`,color:`{surface.950}`},plain:{hoverBackground:`{surface.50}`,activeBackground:`{surface.100}`,color:`{surface.700}`}},link:{color:`{primary.color}`,hoverColor:`{primary.color}`,activeColor:`{primary.color}`}},dark:{root:{primary:{background:`{primary.color}`,hoverBackground:`{primary.hover.color}`,activeBackground:`{primary.active.color}`,borderColor:`{primary.color}`,hoverBorderColor:`{primary.hover.color}`,activeBorderColor:`{primary.active.color}`,color:`{primary.contrast.color}`,hoverColor:`{primary.contrast.color}`,activeColor:`{primary.contrast.color}`,focusRing:{color:`{primary.color}`,shadow:`none`}},secondary:{background:`{surface.800}`,hoverBackground:`{surface.700}`,activeBackground:`{surface.600}`,borderColor:`{surface.800}`,hoverBorderColor:`{surface.700}`,activeBorderColor:`{surface.600}`,color:`{surface.300}`,hoverColor:`{surface.200}`,activeColor:`{surface.100}`,focusRing:{color:`{surface.300}`,shadow:`none`}},info:{background:`{sky.400}`,hoverBackground:`{sky.300}`,activeBackground:`{sky.200}`,borderColor:`{sky.400}`,hoverBorderColor:`{sky.300}`,activeBorderColor:`{sky.200}`,color:`{sky.950}`,hoverColor:`{sky.950}`,activeColor:`{sky.950}`,focusRing:{color:`{sky.400}`,shadow:`none`}},success:{background:`{green.400}`,hoverBackground:`{green.300}`,activeBackground:`{green.200}`,borderColor:`{green.400}`,hoverBorderColor:`{green.300}`,activeBorderColor:`{green.200}`,color:`{green.950}`,hoverColor:`{green.950}`,activeColor:`{green.950}`,focusRing:{color:`{green.400}`,shadow:`none`}},warn:{background:`{orange.400}`,hoverBackground:`{orange.300}`,activeBackground:`{orange.200}`,borderColor:`{orange.400}`,hoverBorderColor:`{orange.300}`,activeBorderColor:`{orange.200}`,color:`{orange.950}`,hoverColor:`{orange.950}`,activeColor:`{orange.950}`,focusRing:{color:`{orange.400}`,shadow:`none`}},help:{background:`{purple.400}`,hoverBackground:`{purple.300}`,activeBackground:`{purple.200}`,borderColor:`{purple.400}`,hoverBorderColor:`{purple.300}`,activeBorderColor:`{purple.200}`,color:`{purple.950}`,hoverColor:`{purple.950}`,activeColor:`{purple.950}`,focusRing:{color:`{purple.400}`,shadow:`none`}},danger:{background:`{red.400}`,hoverBackground:`{red.300}`,activeBackground:`{red.200}`,borderColor:`{red.400}`,hoverBorderColor:`{red.300}`,activeBorderColor:`{red.200}`,color:`{red.950}`,hoverColor:`{red.950}`,activeColor:`{red.950}`,focusRing:{color:`{red.400}`,shadow:`none`}},contrast:{background:`{surface.0}`,hoverBackground:`{surface.100}`,activeBackground:`{surface.200}`,borderColor:`{surface.0}`,hoverBorderColor:`{surface.100}`,activeBorderColor:`{surface.200}`,color:`{surface.950}`,hoverColor:`{surface.950}`,activeColor:`{surface.950}`,focusRing:{color:`{surface.0}`,shadow:`none`}}},outlined:{primary:{hoverBackground:`color-mix(in srgb, {primary.color}, transparent 96%)`,activeBackground:`color-mix(in srgb, {primary.color}, transparent 84%)`,borderColor:`{primary.700}`,color:`{primary.color}`},secondary:{hoverBackground:`rgba(255,255,255,0.04)`,activeBackground:`rgba(255,255,255,0.16)`,borderColor:`{surface.700}`,color:`{surface.400}`},success:{hoverBackground:`color-mix(in srgb, {green.400}, transparent 96%)`,activeBackground:`color-mix(in srgb, {green.400}, transparent 84%)`,borderColor:`{green.700}`,color:`{green.400}`},info:{hoverBackground:`color-mix(in srgb, {sky.400}, transparent 96%)`,activeBackground:`color-mix(in srgb, {sky.400}, transparent 84%)`,borderColor:`{sky.700}`,color:`{sky.400}`},warn:{hoverBackground:`color-mix(in srgb, {orange.400}, transparent 96%)`,activeBackground:`color-mix(in srgb, {orange.400}, transparent 84%)`,borderColor:`{orange.700}`,color:`{orange.400}`},help:{hoverBackground:`color-mix(in srgb, {purple.400}, transparent 96%)`,activeBackground:`color-mix(in srgb, {purple.400}, transparent 84%)`,borderColor:`{purple.700}`,color:`{purple.400}`},danger:{hoverBackground:`color-mix(in srgb, {red.400}, transparent 96%)`,activeBackground:`color-mix(in srgb, {red.400}, transparent 84%)`,borderColor:`{red.700}`,color:`{red.400}`},contrast:{hoverBackground:`{surface.800}`,activeBackground:`{surface.700}`,borderColor:`{surface.500}`,color:`{surface.0}`},plain:{hoverBackground:`{surface.800}`,activeBackground:`{surface.700}`,borderColor:`{surface.600}`,color:`{surface.0}`}},text:{primary:{hoverBackground:`color-mix(in srgb, {primary.color}, transparent 96%)`,activeBackground:`color-mix(in srgb, {primary.color}, transparent 84%)`,color:`{primary.color}`},secondary:{hoverBackground:`{surface.800}`,activeBackground:`{surface.700}`,color:`{surface.400}`},success:{hoverBackground:`color-mix(in srgb, {green.400}, transparent 96%)`,activeBackground:`color-mix(in srgb, {green.400}, transparent 84%)`,color:`{green.400}`},info:{hoverBackground:`color-mix(in srgb, {sky.400}, transparent 96%)`,activeBackground:`color-mix(in srgb, {sky.400}, transparent 84%)`,color:`{sky.400}`},warn:{hoverBackground:`color-mix(in srgb, {orange.400}, transparent 96%)`,activeBackground:`color-mix(in srgb, {orange.400}, transparent 84%)`,color:`{orange.400}`},help:{hoverBackground:`color-mix(in srgb, {purple.400}, transparent 96%)`,activeBackground:`color-mix(in srgb, {purple.400}, transparent 84%)`,color:`{purple.400}`},danger:{hoverBackground:`color-mix(in srgb, {red.400}, transparent 96%)`,activeBackground:`color-mix(in srgb, {red.400}, transparent 84%)`,color:`{red.400}`},contrast:{hoverBackground:`{surface.800}`,activeBackground:`{surface.700}`,color:`{surface.0}`},plain:{hoverBackground:`{surface.800}`,activeBackground:`{surface.700}`,color:`{surface.0}`}},link:{color:`{primary.color}`,hoverColor:`{primary.color}`,activeColor:`{primary.color}`}}}},Nu={root:{background:`{content.background}`,borderRadius:`{border.radius.xl}`,color:`{content.color}`,shadow:`0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)`},body:{padding:`1.25rem`,gap:`0.5rem`},caption:{gap:`0.5rem`},title:{fontSize:`1.25rem`,fontWeight:`500`},subtitle:{color:`{text.muted.color}`}},Pu={root:{transitionDuration:`{transition.duration}`},content:{gap:`0.25rem`},indicatorList:{padding:`1rem`,gap:`0.5rem`},indicator:{width:`2rem`,height:`0.5rem`,borderRadius:`{content.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},colorScheme:{light:{indicator:{background:`{surface.200}`,hoverBackground:`{surface.300}`,activeBackground:`{primary.color}`}},dark:{indicator:{background:`{surface.700}`,hoverBackground:`{surface.600}`,activeBackground:`{primary.color}`}}}},Fu={root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledHoverBackground:`{form.field.filled.hover.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,invalidPlaceholderColor:`{form.field.invalid.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{fontSize:`{form.field.sm.font.size}`,paddingX:`{form.field.sm.padding.x}`,paddingY:`{form.field.sm.padding.y}`},lg:{fontSize:`{form.field.lg.font.size}`,paddingX:`{form.field.lg.padding.x}`,paddingY:`{form.field.lg.padding.y}`}},dropdown:{width:`2.5rem`,color:`{form.field.icon.color}`},overlay:{background:`{overlay.select.background}`,borderColor:`{overlay.select.border.color}`,borderRadius:`{overlay.select.border.radius}`,color:`{overlay.select.color}`,shadow:`{overlay.select.shadow}`},list:{padding:`{list.padding}`,gap:`{list.gap}`,mobileIndent:`1rem`},option:{focusBackground:`{list.option.focus.background}`,selectedBackground:`{list.option.selected.background}`,selectedFocusBackground:`{list.option.selected.focus.background}`,color:`{list.option.color}`,focusColor:`{list.option.focus.color}`,selectedColor:`{list.option.selected.color}`,selectedFocusColor:`{list.option.selected.focus.color}`,padding:`{list.option.padding}`,borderRadius:`{list.option.border.radius}`,icon:{color:`{list.option.icon.color}`,focusColor:`{list.option.icon.focus.color}`,size:`0.875rem`}},clearIcon:{color:`{form.field.icon.color}`}},Iu={root:{borderRadius:`{border.radius.sm}`,width:`1.25rem`,height:`1.25rem`,background:`{form.field.background}`,checkedBackground:`{primary.color}`,checkedHoverBackground:`{primary.hover.color}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.border.color}`,checkedBorderColor:`{primary.color}`,checkedHoverBorderColor:`{primary.hover.color}`,checkedFocusBorderColor:`{primary.color}`,checkedDisabledBorderColor:`{form.field.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,shadow:`{form.field.shadow}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{width:`1rem`,height:`1rem`},lg:{width:`1.5rem`,height:`1.5rem`}},icon:{size:`0.875rem`,color:`{form.field.color}`,checkedColor:`{primary.contrast.color}`,checkedHoverColor:`{primary.contrast.color}`,disabledColor:`{form.field.disabled.color}`,sm:{size:`0.75rem`},lg:{size:`1rem`}}},Lu={root:{borderRadius:`16px`,paddingX:`0.75rem`,paddingY:`0.5rem`,gap:`0.5rem`,transitionDuration:`{transition.duration}`},image:{width:`2rem`,height:`2rem`},icon:{size:`1rem`},removeIcon:{size:`1rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`}},colorScheme:{light:{root:{background:`{surface.100}`,color:`{surface.800}`},icon:{color:`{surface.800}`},removeIcon:{color:`{surface.800}`}},dark:{root:{background:`{surface.800}`,color:`{surface.0}`},icon:{color:`{surface.0}`},removeIcon:{color:`{surface.0}`}}}},Ru={root:{transitionDuration:`{transition.duration}`},preview:{width:`1.5rem`,height:`1.5rem`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},panel:{shadow:`{overlay.popover.shadow}`,borderRadius:`{overlay.popover.borderRadius}`},colorScheme:{light:{panel:{background:`{surface.800}`,borderColor:`{surface.900}`},handle:{color:`{surface.0}`}},dark:{panel:{background:`{surface.900}`,borderColor:`{surface.700}`},handle:{color:`{surface.0}`}}}},zu={icon:{size:`2rem`,color:`{overlay.modal.color}`},content:{gap:`1rem`}},Bu={root:{background:`{overlay.popover.background}`,borderColor:`{overlay.popover.border.color}`,color:`{overlay.popover.color}`,borderRadius:`{overlay.popover.border.radius}`,shadow:`{overlay.popover.shadow}`,gutter:`10px`,arrowOffset:`1.25rem`},content:{padding:`{overlay.popover.padding}`,gap:`1rem`},icon:{size:`1.5rem`,color:`{overlay.popover.color}`},footer:{gap:`0.5rem`,padding:`0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}`}},Vu={root:{background:`{content.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,borderRadius:`{content.border.radius}`,shadow:`{overlay.navigation.shadow}`,transitionDuration:`{transition.duration}`},list:{padding:`{navigation.list.padding}`,gap:`{navigation.list.gap}`},item:{focusBackground:`{navigation.item.focus.background}`,activeBackground:`{navigation.item.active.background}`,color:`{navigation.item.color}`,focusColor:`{navigation.item.focus.color}`,activeColor:`{navigation.item.active.color}`,padding:`{navigation.item.padding}`,borderRadius:`{navigation.item.border.radius}`,gap:`{navigation.item.gap}`,icon:{color:`{navigation.item.icon.color}`,focusColor:`{navigation.item.icon.focus.color}`,activeColor:`{navigation.item.icon.active.color}`}},submenu:{mobileIndent:`1rem`},submenuIcon:{size:`{navigation.submenu.icon.size}`,color:`{navigation.submenu.icon.color}`,focusColor:`{navigation.submenu.icon.focus.color}`,activeColor:`{navigation.submenu.icon.active.color}`},separator:{borderColor:`{content.border.color}`}},Hu=`
|
|
135
|
-
li.p-autocomplete-option,
|
|
136
|
-
div.p-cascadeselect-option-content,
|
|
137
|
-
li.p-listbox-option,
|
|
138
|
-
li.p-multiselect-option,
|
|
139
|
-
li.p-select-option,
|
|
140
|
-
li.p-listbox-option,
|
|
141
|
-
div.p-tree-node-content,
|
|
142
|
-
li.p-datatable-filter-constraint,
|
|
143
|
-
.p-datatable .p-datatable-tbody > tr,
|
|
144
|
-
.p-treetable .p-treetable-tbody > tr,
|
|
145
|
-
div.p-menu-item-content,
|
|
146
|
-
div.p-tieredmenu-item-content,
|
|
147
|
-
div.p-contextmenu-item-content,
|
|
148
|
-
div.p-menubar-item-content,
|
|
149
|
-
div.p-megamenu-item-content,
|
|
150
|
-
div.p-panelmenu-header-content,
|
|
151
|
-
div.p-panelmenu-item-content,
|
|
152
|
-
th.p-datatable-header-cell,
|
|
153
|
-
th.p-treetable-header-cell,
|
|
154
|
-
thead.p-datatable-thead > tr > th,
|
|
155
|
-
.p-treetable thead.p-treetable-thead>tr>th {
|
|
156
|
-
transition: none;
|
|
157
|
-
}
|
|
158
|
-
`,Uu={root:{transitionDuration:`{transition.duration}`},header:{background:`{content.background}`,borderColor:`{datatable.border.color}`,color:`{content.color}`,borderWidth:`0 0 1px 0`,padding:`0.75rem 1rem`,sm:{padding:`0.375rem 0.5rem`},lg:{padding:`1rem 1.25rem`}},headerCell:{background:`{content.background}`,hoverBackground:`{content.hover.background}`,selectedBackground:`{highlight.background}`,borderColor:`{datatable.border.color}`,color:`{content.color}`,hoverColor:`{content.hover.color}`,selectedColor:`{highlight.color}`,gap:`0.5rem`,padding:`0.75rem 1rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`-1px`,shadow:`{focus.ring.shadow}`},sm:{padding:`0.375rem 0.5rem`},lg:{padding:`1rem 1.25rem`}},columnTitle:{fontWeight:`600`},row:{background:`{content.background}`,hoverBackground:`{content.hover.background}`,selectedBackground:`{highlight.background}`,color:`{content.color}`,hoverColor:`{content.hover.color}`,selectedColor:`{highlight.color}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`-1px`,shadow:`{focus.ring.shadow}`}},bodyCell:{borderColor:`{datatable.border.color}`,padding:`0.75rem 1rem`,sm:{padding:`0.375rem 0.5rem`},lg:{padding:`1rem 1.25rem`}},footerCell:{background:`{content.background}`,borderColor:`{datatable.border.color}`,color:`{content.color}`,padding:`0.75rem 1rem`,sm:{padding:`0.375rem 0.5rem`},lg:{padding:`1rem 1.25rem`}},columnFooter:{fontWeight:`600`},footer:{background:`{content.background}`,borderColor:`{datatable.border.color}`,color:`{content.color}`,borderWidth:`0 0 1px 0`,padding:`0.75rem 1rem`,sm:{padding:`0.375rem 0.5rem`},lg:{padding:`1rem 1.25rem`}},dropPoint:{color:`{primary.color}`},columnResizer:{width:`0.5rem`},resizeIndicator:{width:`1px`,color:`{primary.color}`},sortIcon:{color:`{text.muted.color}`,hoverColor:`{text.hover.muted.color}`,size:`0.875rem`},loadingIcon:{size:`2rem`},rowToggleButton:{hoverBackground:`{content.hover.background}`,selectedHoverBackground:`{content.background}`,color:`{text.muted.color}`,hoverColor:`{text.color}`,selectedHoverColor:`{primary.color}`,size:`1.75rem`,borderRadius:`50%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},filter:{inlineGap:`0.5rem`,overlaySelect:{background:`{overlay.select.background}`,borderColor:`{overlay.select.border.color}`,borderRadius:`{overlay.select.border.radius}`,color:`{overlay.select.color}`,shadow:`{overlay.select.shadow}`},overlayPopover:{background:`{overlay.popover.background}`,borderColor:`{overlay.popover.border.color}`,borderRadius:`{overlay.popover.border.radius}`,color:`{overlay.popover.color}`,shadow:`{overlay.popover.shadow}`,padding:`{overlay.popover.padding}`,gap:`0.5rem`},rule:{borderColor:`{content.border.color}`},constraintList:{padding:`{list.padding}`,gap:`{list.gap}`},constraint:{focusBackground:`{list.option.focus.background}`,selectedBackground:`{list.option.selected.background}`,selectedFocusBackground:`{list.option.selected.focus.background}`,color:`{list.option.color}`,focusColor:`{list.option.focus.color}`,selectedColor:`{list.option.selected.color}`,selectedFocusColor:`{list.option.selected.focus.color}`,separator:{borderColor:`{content.border.color}`},padding:`{list.option.padding}`,borderRadius:`{list.option.border.radius}`}},paginatorTop:{borderColor:`{datatable.border.color}`,borderWidth:`0 0 1px 0`},paginatorBottom:{borderColor:`{datatable.border.color}`,borderWidth:`0 0 1px 0`},colorScheme:{light:{root:{borderColor:`{content.border.color}`},row:{stripedBackground:`{surface.50}`},bodyCell:{selectedBorderColor:`{primary.100}`}},dark:{root:{borderColor:`{surface.800}`},row:{stripedBackground:`{surface.950}`},bodyCell:{selectedBorderColor:`{primary.900}`}}},css:`
|
|
159
|
-
.p-datatable-mask.p-overlay-mask {
|
|
160
|
-
--px-mask-background: light-dark(rgba(255,255,255,0.5),rgba(0,0,0,0.3));
|
|
161
|
-
}
|
|
162
|
-
`},Wu={root:{borderColor:`transparent`,borderWidth:`0`,borderRadius:`0`,padding:`0`},header:{background:`{content.background}`,color:`{content.color}`,borderColor:`{content.border.color}`,borderWidth:`0 0 1px 0`,padding:`0.75rem 1rem`,borderRadius:`0`},content:{background:`{content.background}`,color:`{content.color}`,borderColor:`transparent`,borderWidth:`0`,padding:`0`,borderRadius:`0`},footer:{background:`{content.background}`,color:`{content.color}`,borderColor:`{content.border.color}`,borderWidth:`1px 0 0 0`,padding:`0.75rem 1rem`,borderRadius:`0`},paginatorTop:{borderColor:`{content.border.color}`,borderWidth:`0 0 1px 0`},paginatorBottom:{borderColor:`{content.border.color}`,borderWidth:`1px 0 0 0`}},Gu={root:{transitionDuration:`{transition.duration}`},panel:{background:`{content.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,borderRadius:`{content.border.radius}`,shadow:`{overlay.popover.shadow}`,padding:`{overlay.popover.padding}`},header:{background:`{content.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,padding:`0 0 0.5rem 0`},title:{gap:`0.5rem`,fontWeight:`500`},dropdown:{width:`2.5rem`,sm:{width:`2rem`},lg:{width:`3rem`},borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.border.color}`,activeBorderColor:`{form.field.border.color}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},inputIcon:{color:`{form.field.icon.color}`},selectMonth:{hoverBackground:`{content.hover.background}`,color:`{content.color}`,hoverColor:`{content.hover.color}`,padding:`0.25rem 0.5rem`,borderRadius:`{content.border.radius}`},selectYear:{hoverBackground:`{content.hover.background}`,color:`{content.color}`,hoverColor:`{content.hover.color}`,padding:`0.25rem 0.5rem`,borderRadius:`{content.border.radius}`},group:{borderColor:`{content.border.color}`,gap:`{overlay.popover.padding}`},dayView:{margin:`0.5rem 0 0 0`},weekDay:{padding:`0.25rem`,fontWeight:`500`,color:`{content.color}`},date:{hoverBackground:`{content.hover.background}`,selectedBackground:`{primary.color}`,rangeSelectedBackground:`{highlight.background}`,color:`{content.color}`,hoverColor:`{content.hover.color}`,selectedColor:`{primary.contrast.color}`,rangeSelectedColor:`{highlight.color}`,width:`2rem`,height:`2rem`,borderRadius:`50%`,padding:`0.25rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},monthView:{margin:`0.5rem 0 0 0`},month:{padding:`0.375rem`,borderRadius:`{content.border.radius}`},yearView:{margin:`0.5rem 0 0 0`},year:{padding:`0.375rem`,borderRadius:`{content.border.radius}`},buttonbar:{padding:`0.5rem 0 0 0`,borderColor:`{content.border.color}`},timePicker:{padding:`0.5rem 0 0 0`,borderColor:`{content.border.color}`,gap:`0.5rem`,buttonGap:`0.25rem`},colorScheme:{light:{dropdown:{background:`{surface.100}`,hoverBackground:`{surface.200}`,activeBackground:`{surface.300}`,color:`{surface.600}`,hoverColor:`{surface.700}`,activeColor:`{surface.800}`},today:{background:`{surface.200}`,color:`{surface.900}`}},dark:{dropdown:{background:`{surface.800}`,hoverBackground:`{surface.700}`,activeBackground:`{surface.600}`,color:`{surface.300}`,hoverColor:`{surface.200}`,activeColor:`{surface.100}`},today:{background:`{surface.700}`,color:`{surface.0}`}}}},Ku={root:{background:`{overlay.modal.background}`,borderColor:`{overlay.modal.border.color}`,color:`{overlay.modal.color}`,borderRadius:`{overlay.modal.border.radius}`,shadow:`{overlay.modal.shadow}`},header:{padding:`{overlay.modal.padding}`,gap:`0.5rem`},title:{fontSize:`1.25rem`,fontWeight:`600`},content:{padding:`0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}`},footer:{padding:`0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}`,gap:`0.5rem`}},qu={root:{borderColor:`{content.border.color}`},content:{background:`{content.background}`,color:`{text.color}`},horizontal:{margin:`1rem 0`,padding:`0 1rem`,content:{padding:`0 0.5rem`}},vertical:{margin:`0 1rem`,padding:`0.5rem 0`,content:{padding:`0.5rem 0`}}},Ju={root:{background:`rgba(255, 255, 255, 0.1)`,borderColor:`rgba(255, 255, 255, 0.2)`,padding:`0.5rem`,borderRadius:`{border.radius.xl}`},item:{borderRadius:`{content.border.radius}`,padding:`0.5rem`,size:`3rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}}},Yu={root:{background:`{overlay.modal.background}`,borderColor:`{overlay.modal.border.color}`,color:`{overlay.modal.color}`,shadow:`{overlay.modal.shadow}`},header:{padding:`{overlay.modal.padding}`},title:{fontSize:`1.5rem`,fontWeight:`600`},content:{padding:`0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}`},footer:{padding:`{overlay.modal.padding}`}},Xu={toolbar:{background:`{content.background}`,borderColor:`{content.border.color}`,borderRadius:`{content.border.radius}`},toolbarItem:{color:`{text.muted.color}`,hoverColor:`{text.color}`,activeColor:`{primary.color}`},overlay:{background:`{overlay.select.background}`,borderColor:`{overlay.select.border.color}`,borderRadius:`{overlay.select.border.radius}`,color:`{overlay.select.color}`,shadow:`{overlay.select.shadow}`,padding:`{list.padding}`},overlayOption:{focusBackground:`{list.option.focus.background}`,color:`{list.option.color}`,focusColor:`{list.option.focus.color}`,padding:`{list.option.padding}`,borderRadius:`{list.option.border.radius}`},content:{background:`{content.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,borderRadius:`{content.border.radius}`}},Zu={root:{background:`{content.background}`,borderColor:`{content.border.color}`,borderRadius:`{content.border.radius}`,color:`{content.color}`,padding:`0 1.125rem 1.125rem 1.125rem`,transitionDuration:`{transition.duration}`},legend:{background:`{content.background}`,hoverBackground:`{content.hover.background}`,color:`{content.color}`,hoverColor:`{content.hover.color}`,borderRadius:`{content.border.radius}`,borderWidth:`1px`,borderColor:`transparent`,padding:`0.5rem 0.75rem`,gap:`0.5rem`,fontWeight:`600`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},toggleIcon:{color:`{text.muted.color}`,hoverColor:`{text.hover.muted.color}`},content:{padding:`0`}},Qu={root:{background:`{content.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,borderRadius:`{content.border.radius}`,transitionDuration:`{transition.duration}`},header:{background:`transparent`,color:`{text.color}`,padding:`1.125rem`,borderColor:`unset`,borderWidth:`0`,borderRadius:`0`,gap:`0.5rem`},content:{highlightBorderColor:`{primary.color}`,padding:`0 1.125rem 1.125rem 1.125rem`,gap:`1rem`},file:{padding:`1rem`,gap:`1rem`,borderColor:`{content.border.color}`,info:{gap:`0.5rem`}},fileList:{gap:`0.5rem`},progressbar:{height:`0.25rem`},basic:{gap:`0.5rem`}},$u={root:{color:`{form.field.float.label.color}`,focusColor:`{form.field.float.label.focus.color}`,activeColor:`{form.field.float.label.active.color}`,invalidColor:`{form.field.float.label.invalid.color}`,transitionDuration:`0.2s`,positionX:`{form.field.padding.x}`,positionY:`{form.field.padding.y}`,fontWeight:`500`,active:{fontSize:`0.75rem`,fontWeight:`400`}},over:{active:{top:`-1.25rem`}},in:{input:{paddingTop:`1.5rem`,paddingBottom:`{form.field.padding.y}`},active:{top:`{form.field.padding.y}`}},on:{borderRadius:`{border.radius.xs}`,active:{background:`{form.field.background}`,padding:`0 0.125rem`}}},ed={root:{borderWidth:`1px`,borderColor:`{content.border.color}`,borderRadius:`{content.border.radius}`,transitionDuration:`{transition.duration}`},navButton:{background:`rgba(255, 255, 255, 0.1)`,hoverBackground:`rgba(255, 255, 255, 0.2)`,color:`{surface.100}`,hoverColor:`{surface.0}`,size:`3rem`,gutter:`0.5rem`,prev:{borderRadius:`50%`},next:{borderRadius:`50%`},focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},navIcon:{size:`1.5rem`},thumbnailsContent:{background:`{content.background}`,padding:`1rem 0.25rem`},thumbnailNavButton:{size:`2rem`,borderRadius:`{content.border.radius}`,gutter:`0.5rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},thumbnailNavButtonIcon:{size:`1rem`},caption:{background:`rgba(0, 0, 0, 0.5)`,color:`{surface.100}`,padding:`1rem`},indicatorList:{gap:`0.5rem`,padding:`1rem`},indicatorButton:{width:`1rem`,height:`1rem`,activeBackground:`{primary.color}`,borderRadius:`50%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},insetIndicatorList:{background:`rgba(0, 0, 0, 0.5)`},insetIndicatorButton:{background:`rgba(255, 255, 255, 0.4)`,hoverBackground:`rgba(255, 255, 255, 0.6)`,activeBackground:`rgba(255, 255, 255, 0.9)`},closeButton:{size:`3rem`,gutter:`0.5rem`,background:`rgba(255, 255, 255, 0.1)`,hoverBackground:`rgba(255, 255, 255, 0.2)`,color:`{surface.50}`,hoverColor:`{surface.0}`,borderRadius:`50%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},closeButtonIcon:{size:`1.5rem`},colorScheme:{light:{thumbnailNavButton:{hoverBackground:`{surface.100}`,color:`{surface.600}`,hoverColor:`{surface.700}`},indicatorButton:{background:`{surface.200}`,hoverBackground:`{surface.300}`}},dark:{thumbnailNavButton:{hoverBackground:`{surface.700}`,color:`{surface.400}`,hoverColor:`{surface.0}`},indicatorButton:{background:`{surface.700}`,hoverBackground:`{surface.600}`}}}},td={icon:{color:`{form.field.icon.color}`}},nd={root:{color:`{form.field.float.label.color}`,focusColor:`{form.field.float.label.focus.color}`,invalidColor:`{form.field.float.label.invalid.color}`,transitionDuration:`0.2s`,positionX:`{form.field.padding.x}`,top:`{form.field.padding.y}`,fontSize:`0.75rem`,fontWeight:`400`},input:{paddingTop:`1.5rem`,paddingBottom:`{form.field.padding.y}`}},rd={root:{transitionDuration:`{transition.duration}`},preview:{icon:{size:`1.5rem`},mask:{background:`{mask.background}`,color:`{mask.color}`}},toolbar:{position:{left:`auto`,right:`1rem`,top:`1rem`,bottom:`auto`},blur:`8px`,background:`rgba(255,255,255,0.1)`,borderColor:`rgba(255,255,255,0.2)`,borderWidth:`1px`,borderRadius:`30px`,padding:`.5rem`,gap:`0.5rem`},action:{hoverBackground:`rgba(255,255,255,0.1)`,color:`{surface.50}`,hoverColor:`{surface.0}`,size:`3rem`,iconSize:`1.5rem`,borderRadius:`50%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}}},id={handle:{size:`15px`,hoverSize:`30px`,background:`rgba(255,255,255,0.3)`,hoverBackground:`rgba(255,255,255,0.3)`,borderColor:`unset`,hoverBorderColor:`unset`,borderWidth:`0`,borderRadius:`50%`,transitionDuration:`{transition.duration}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`rgba(255,255,255,0.3)`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}}},ad={root:{padding:`{form.field.padding.y} {form.field.padding.x}`,borderRadius:`{content.border.radius}`,gap:`0.5rem`},text:{fontWeight:`500`},icon:{size:`1rem`},colorScheme:{light:{info:{background:`color-mix(in srgb, {blue.50}, transparent 5%)`,borderColor:`{blue.200}`,color:`{blue.600}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)`},success:{background:`color-mix(in srgb, {green.50}, transparent 5%)`,borderColor:`{green.200}`,color:`{green.600}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)`},warn:{background:`color-mix(in srgb,{yellow.50}, transparent 5%)`,borderColor:`{yellow.200}`,color:`{yellow.600}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)`},error:{background:`color-mix(in srgb, {red.50}, transparent 5%)`,borderColor:`{red.200}`,color:`{red.600}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)`},secondary:{background:`{surface.100}`,borderColor:`{surface.200}`,color:`{surface.600}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)`},contrast:{background:`{surface.900}`,borderColor:`{surface.950}`,color:`{surface.50}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)`}},dark:{info:{background:`color-mix(in srgb, {blue.500}, transparent 84%)`,borderColor:`color-mix(in srgb, {blue.700}, transparent 64%)`,color:`{blue.500}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)`},success:{background:`color-mix(in srgb, {green.500}, transparent 84%)`,borderColor:`color-mix(in srgb, {green.700}, transparent 64%)`,color:`{green.500}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)`},warn:{background:`color-mix(in srgb, {yellow.500}, transparent 84%)`,borderColor:`color-mix(in srgb, {yellow.700}, transparent 64%)`,color:`{yellow.500}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)`},error:{background:`color-mix(in srgb, {red.500}, transparent 84%)`,borderColor:`color-mix(in srgb, {red.700}, transparent 64%)`,color:`{red.500}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)`},secondary:{background:`{surface.800}`,borderColor:`{surface.700}`,color:`{surface.300}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)`},contrast:{background:`{surface.0}`,borderColor:`{surface.100}`,color:`{surface.950}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)`}}}},od={root:{padding:`{form.field.padding.y} {form.field.padding.x}`,borderRadius:`{content.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`},transitionDuration:`{transition.duration}`},display:{hoverBackground:`{content.hover.background}`,hoverColor:`{content.hover.color}`}},sd={root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`},chip:{borderRadius:`{border.radius.sm}`},colorScheme:{light:{chip:{focusBackground:`{surface.200}`,color:`{surface.800}`}},dark:{chip:{focusBackground:`{surface.700}`,color:`{surface.0}`}}}},cd={addon:{background:`{form.field.background}`,borderColor:`{form.field.border.color}`,color:`{form.field.icon.color}`,borderRadius:`{form.field.border.radius}`,padding:`0.5rem`,minWidth:`2.5rem`}},ld={root:{transitionDuration:`{transition.duration}`},button:{width:`2.5rem`,borderRadius:`{form.field.border.radius}`,verticalPadding:`{form.field.padding.y}`},colorScheme:{light:{button:{background:`transparent`,hoverBackground:`{surface.100}`,activeBackground:`{surface.200}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.border.color}`,activeBorderColor:`{form.field.border.color}`,color:`{surface.400}`,hoverColor:`{surface.500}`,activeColor:`{surface.600}`}},dark:{button:{background:`transparent`,hoverBackground:`{surface.800}`,activeBackground:`{surface.700}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.border.color}`,activeBorderColor:`{form.field.border.color}`,color:`{surface.400}`,hoverColor:`{surface.300}`,activeColor:`{surface.200}`}}}},ud={root:{gap:`0.5rem`},input:{width:`2.5rem`,sm:{width:`2rem`},lg:{width:`3rem`}}},dd={root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledHoverBackground:`{form.field.filled.hover.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,invalidPlaceholderColor:`{form.field.invalid.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{fontSize:`{form.field.sm.font.size}`,paddingX:`{form.field.sm.padding.x}`,paddingY:`{form.field.sm.padding.y}`},lg:{fontSize:`{form.field.lg.font.size}`,paddingX:`{form.field.lg.padding.x}`,paddingY:`{form.field.lg.padding.y}`}}},fd={root:{transitionDuration:`{transition.duration}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},value:{background:`{primary.color}`},range:{background:`{content.border.color}`},text:{color:`{text.muted.color}`}},pd={root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,borderColor:`{form.field.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,shadow:`{form.field.shadow}`,borderRadius:`{form.field.border.radius}`,transitionDuration:`{form.field.transition.duration}`},list:{padding:`{list.padding}`,gap:`{list.gap}`,header:{padding:`{list.header.padding}`}},option:{focusBackground:`{list.option.focus.background}`,selectedBackground:`{list.option.selected.background}`,selectedFocusBackground:`{list.option.selected.focus.background}`,color:`{list.option.color}`,focusColor:`{list.option.focus.color}`,selectedColor:`{list.option.selected.color}`,selectedFocusColor:`{list.option.selected.focus.color}`,padding:`{list.option.padding}`,borderRadius:`{list.option.border.radius}`},optionGroup:{background:`{list.option.group.background}`,color:`{list.option.group.color}`,fontWeight:`{list.option.group.font.weight}`,padding:`{list.option.group.padding}`},checkmark:{color:`{list.option.color}`,gutterStart:`-0.375rem`,gutterEnd:`0.375rem`},emptyMessage:{padding:`{list.option.padding}`},colorScheme:{light:{option:{stripedBackground:`{surface.50}`}},dark:{option:{stripedBackground:`{surface.900}`}}}},md={root:{background:`{content.background}`,borderColor:`{content.border.color}`,borderRadius:`{content.border.radius}`,color:`{content.color}`,gap:`0.5rem`,verticalOrientation:{padding:`{navigation.list.padding}`,gap:`{navigation.list.gap}`},horizontalOrientation:{padding:`0.5rem 0.75rem`,gap:`0.5rem`},transitionDuration:`{transition.duration}`},baseItem:{borderRadius:`{content.border.radius}`,padding:`{navigation.item.padding}`},item:{focusBackground:`{navigation.item.focus.background}`,activeBackground:`{navigation.item.active.background}`,color:`{navigation.item.color}`,focusColor:`{navigation.item.focus.color}`,activeColor:`{navigation.item.active.color}`,padding:`{navigation.item.padding}`,borderRadius:`{navigation.item.border.radius}`,gap:`{navigation.item.gap}`,icon:{color:`{navigation.item.icon.color}`,focusColor:`{navigation.item.icon.focus.color}`,activeColor:`{navigation.item.icon.active.color}`}},overlay:{padding:`0`,background:`{content.background}`,borderColor:`{content.border.color}`,borderRadius:`{content.border.radius}`,color:`{content.color}`,shadow:`{overlay.navigation.shadow}`,gap:`0.5rem`},submenu:{padding:`{navigation.list.padding}`,gap:`{navigation.list.gap}`},submenuLabel:{padding:`{navigation.submenu.label.padding}`,fontWeight:`{navigation.submenu.label.font.weight}`,background:`{navigation.submenu.label.background}`,color:`{navigation.submenu.label.color}`},submenuIcon:{size:`{navigation.submenu.icon.size}`,color:`{navigation.submenu.icon.color}`,focusColor:`{navigation.submenu.icon.focus.color}`,activeColor:`{navigation.submenu.icon.active.color}`},separator:{borderColor:`{content.border.color}`},mobileButton:{borderRadius:`50%`,size:`1.75rem`,color:`{text.muted.color}`,hoverColor:`{text.hover.muted.color}`,hoverBackground:`{content.hover.background}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}}},hd={root:{background:`{content.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,borderRadius:`{content.border.radius}`,shadow:`{overlay.navigation.shadow}`,transitionDuration:`{transition.duration}`},list:{padding:`{navigation.list.padding}`,gap:`{navigation.list.gap}`},item:{focusBackground:`{navigation.item.focus.background}`,color:`{navigation.item.color}`,focusColor:`{navigation.item.focus.color}`,padding:`{navigation.item.padding}`,borderRadius:`{navigation.item.border.radius}`,gap:`{navigation.item.gap}`,icon:{color:`{navigation.item.icon.color}`,focusColor:`{navigation.item.icon.focus.color}`}},submenuLabel:{padding:`{navigation.submenu.label.padding}`,fontWeight:`{navigation.submenu.label.font.weight}`,background:`{navigation.submenu.label.background}`,color:`{navigation.submenu.label.color}`},separator:{borderColor:`{content.border.color}`}},gd={root:{background:`{content.background}`,borderColor:`{content.border.color}`,borderRadius:`{content.border.radius}`,color:`{content.color}`,gap:`0.5rem`,padding:`0.5rem 0.75rem`,transitionDuration:`{transition.duration}`},baseItem:{borderRadius:`{content.border.radius}`,padding:`{navigation.item.padding}`},item:{focusBackground:`{navigation.item.focus.background}`,activeBackground:`{navigation.item.active.background}`,color:`{navigation.item.color}`,focusColor:`{navigation.item.focus.color}`,activeColor:`{navigation.item.active.color}`,padding:`{navigation.item.padding}`,borderRadius:`{navigation.item.border.radius}`,gap:`{navigation.item.gap}`,icon:{color:`{navigation.item.icon.color}`,focusColor:`{navigation.item.icon.focus.color}`,activeColor:`{navigation.item.icon.active.color}`}},submenu:{padding:`{navigation.list.padding}`,gap:`{navigation.list.gap}`,background:`{content.background}`,borderColor:`{content.border.color}`,borderRadius:`{content.border.radius}`,shadow:`{overlay.navigation.shadow}`,mobileIndent:`1rem`,icon:{size:`{navigation.submenu.icon.size}`,color:`{navigation.submenu.icon.color}`,focusColor:`{navigation.submenu.icon.focus.color}`,activeColor:`{navigation.submenu.icon.active.color}`}},separator:{borderColor:`{content.border.color}`},mobileButton:{borderRadius:`50%`,size:`1.75rem`,color:`{text.muted.color}`,hoverColor:`{text.hover.muted.color}`,hoverBackground:`{content.hover.background}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}}},_d={root:{borderRadius:`{content.border.radius}`,borderWidth:`1px`,transitionDuration:`{transition.duration}`},content:{padding:`0.5rem 0.75rem`,gap:`0.5rem`,sm:{padding:`0.375rem 0.625rem`},lg:{padding:`0.625rem 0.875rem`}},text:{fontSize:`1rem`,fontWeight:`500`,sm:{fontSize:`0.875rem`},lg:{fontSize:`1.125rem`}},icon:{size:`1.125rem`,sm:{size:`1rem`},lg:{size:`1.25rem`}},closeButton:{width:`1.75rem`,height:`1.75rem`,borderRadius:`50%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,offset:`{focus.ring.offset}`}},closeIcon:{size:`1rem`,sm:{size:`0.875rem`},lg:{size:`1.125rem`}},outlined:{root:{borderWidth:`1px`}},simple:{content:{padding:`0`}},colorScheme:{light:{info:{background:`color-mix(in srgb, {blue.50}, transparent 5%)`,borderColor:`{blue.200}`,color:`{blue.600}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)`,closeButton:{hoverBackground:`{blue.100}`,focusRing:{color:`{blue.600}`,shadow:`none`}},outlined:{color:`{blue.600}`,borderColor:`{blue.600}`},simple:{color:`{blue.600}`}},success:{background:`color-mix(in srgb, {green.50}, transparent 5%)`,borderColor:`{green.200}`,color:`{green.600}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)`,closeButton:{hoverBackground:`{green.100}`,focusRing:{color:`{green.600}`,shadow:`none`}},outlined:{color:`{green.600}`,borderColor:`{green.600}`},simple:{color:`{green.600}`}},warn:{background:`color-mix(in srgb,{yellow.50}, transparent 5%)`,borderColor:`{yellow.200}`,color:`{yellow.600}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)`,closeButton:{hoverBackground:`{yellow.100}`,focusRing:{color:`{yellow.600}`,shadow:`none`}},outlined:{color:`{yellow.600}`,borderColor:`{yellow.600}`},simple:{color:`{yellow.600}`}},error:{background:`color-mix(in srgb, {red.50}, transparent 5%)`,borderColor:`{red.200}`,color:`{red.600}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)`,closeButton:{hoverBackground:`{red.100}`,focusRing:{color:`{red.600}`,shadow:`none`}},outlined:{color:`{red.600}`,borderColor:`{red.600}`},simple:{color:`{red.600}`}},secondary:{background:`{surface.100}`,borderColor:`{surface.200}`,color:`{surface.600}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)`,closeButton:{hoverBackground:`{surface.200}`,focusRing:{color:`{surface.600}`,shadow:`none`}},outlined:{color:`{surface.500}`,borderColor:`{surface.500}`},simple:{color:`{surface.500}`}},contrast:{background:`{surface.900}`,borderColor:`{surface.950}`,color:`{surface.50}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)`,closeButton:{hoverBackground:`{surface.800}`,focusRing:{color:`{surface.50}`,shadow:`none`}},outlined:{color:`{surface.950}`,borderColor:`{surface.950}`},simple:{color:`{surface.950}`}}},dark:{info:{background:`color-mix(in srgb, {blue.500}, transparent 84%)`,borderColor:`color-mix(in srgb, {blue.700}, transparent 64%)`,color:`{blue.500}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)`,closeButton:{hoverBackground:`rgba(255, 255, 255, 0.05)`,focusRing:{color:`{blue.500}`,shadow:`none`}},outlined:{color:`{blue.500}`,borderColor:`{blue.500}`},simple:{color:`{blue.500}`}},success:{background:`color-mix(in srgb, {green.500}, transparent 84%)`,borderColor:`color-mix(in srgb, {green.700}, transparent 64%)`,color:`{green.500}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)`,closeButton:{hoverBackground:`rgba(255, 255, 255, 0.05)`,focusRing:{color:`{green.500}`,shadow:`none`}},outlined:{color:`{green.500}`,borderColor:`{green.500}`},simple:{color:`{green.500}`}},warn:{background:`color-mix(in srgb, {yellow.500}, transparent 84%)`,borderColor:`color-mix(in srgb, {yellow.700}, transparent 64%)`,color:`{yellow.500}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)`,closeButton:{hoverBackground:`rgba(255, 255, 255, 0.05)`,focusRing:{color:`{yellow.500}`,shadow:`none`}},outlined:{color:`{yellow.500}`,borderColor:`{yellow.500}`},simple:{color:`{yellow.500}`}},error:{background:`color-mix(in srgb, {red.500}, transparent 84%)`,borderColor:`color-mix(in srgb, {red.700}, transparent 64%)`,color:`{red.500}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)`,closeButton:{hoverBackground:`rgba(255, 255, 255, 0.05)`,focusRing:{color:`{red.500}`,shadow:`none`}},outlined:{color:`{red.500}`,borderColor:`{red.500}`},simple:{color:`{red.500}`}},secondary:{background:`{surface.800}`,borderColor:`{surface.700}`,color:`{surface.300}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)`,closeButton:{hoverBackground:`{surface.700}`,focusRing:{color:`{surface.300}`,shadow:`none`}},outlined:{color:`{surface.400}`,borderColor:`{surface.400}`},simple:{color:`{surface.400}`}},contrast:{background:`{surface.0}`,borderColor:`{surface.100}`,color:`{surface.950}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)`,closeButton:{hoverBackground:`{surface.100}`,focusRing:{color:`{surface.950}`,shadow:`none`}},outlined:{color:`{surface.0}`,borderColor:`{surface.0}`},simple:{color:`{surface.0}`}}}}},vd={root:{borderRadius:`{content.border.radius}`,gap:`1rem`},meters:{background:`{content.border.color}`,size:`0.5rem`},label:{gap:`0.5rem`},labelMarker:{size:`0.5rem`},labelIcon:{size:`1rem`},labelList:{verticalGap:`0.5rem`,horizontalGap:`1rem`}},yd={root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledHoverBackground:`{form.field.filled.hover.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,invalidPlaceholderColor:`{form.field.invalid.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{fontSize:`{form.field.sm.font.size}`,paddingX:`{form.field.sm.padding.x}`,paddingY:`{form.field.sm.padding.y}`},lg:{fontSize:`{form.field.lg.font.size}`,paddingX:`{form.field.lg.padding.x}`,paddingY:`{form.field.lg.padding.y}`}},dropdown:{width:`2.5rem`,color:`{form.field.icon.color}`},overlay:{background:`{overlay.select.background}`,borderColor:`{overlay.select.border.color}`,borderRadius:`{overlay.select.border.radius}`,color:`{overlay.select.color}`,shadow:`{overlay.select.shadow}`},list:{padding:`{list.padding}`,gap:`{list.gap}`,header:{padding:`{list.header.padding}`}},option:{focusBackground:`{list.option.focus.background}`,selectedBackground:`{list.option.selected.background}`,selectedFocusBackground:`{list.option.selected.focus.background}`,color:`{list.option.color}`,focusColor:`{list.option.focus.color}`,selectedColor:`{list.option.selected.color}`,selectedFocusColor:`{list.option.selected.focus.color}`,padding:`{list.option.padding}`,borderRadius:`{list.option.border.radius}`,gap:`0.5rem`},optionGroup:{background:`{list.option.group.background}`,color:`{list.option.group.color}`,fontWeight:`{list.option.group.font.weight}`,padding:`{list.option.group.padding}`},chip:{borderRadius:`{border.radius.sm}`},clearIcon:{color:`{form.field.icon.color}`},emptyMessage:{padding:`{list.option.padding}`}},bd={root:{gap:`1.125rem`},controls:{gap:`0.5rem`}},xd={root:{gutter:`0.75rem`,transitionDuration:`{transition.duration}`},node:{background:`{content.background}`,hoverBackground:`{content.hover.background}`,selectedBackground:`{highlight.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,selectedColor:`{highlight.color}`,hoverColor:`{content.hover.color}`,padding:`0.75rem 1rem`,toggleablePadding:`0.75rem 1rem 1.25rem 1rem`,borderRadius:`{content.border.radius}`},nodeToggleButton:{background:`{content.background}`,hoverBackground:`{content.hover.background}`,borderColor:`{content.border.color}`,color:`{text.muted.color}`,hoverColor:`{text.color}`,size:`1.5rem`,borderRadius:`50%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},connector:{color:`{content.border.color}`,borderRadius:`{content.border.radius}`,height:`24px`}},Sd={root:{outline:{width:`2px`,color:`{content.background}`}}},Cd={root:{padding:`0.5rem 1rem`,gap:`0.25rem`,borderRadius:`{content.border.radius}`,background:`{content.background}`,color:`{content.color}`,transitionDuration:`{transition.duration}`},navButton:{background:`transparent`,hoverBackground:`{content.hover.background}`,selectedBackground:`{highlight.background}`,color:`{text.muted.color}`,hoverColor:`{text.hover.muted.color}`,selectedColor:`{highlight.color}`,width:`2.5rem`,height:`2.5rem`,borderRadius:`50%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},currentPageReport:{color:`{text.muted.color}`},jumpToPageInput:{maxWidth:`2.5rem`}},wd={root:{background:`{content.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,borderRadius:`{content.border.radius}`},header:{background:`transparent`,color:`{text.color}`,padding:`1.125rem`,borderColor:`{content.border.color}`,borderWidth:`0`,borderRadius:`0`},toggleableHeader:{padding:`0.375rem 1.125rem`},title:{fontWeight:`600`},content:{padding:`0 1.125rem 1.125rem 1.125rem`},footer:{padding:`0 1.125rem 1.125rem 1.125rem`}},Td={root:{gap:`0.5rem`,transitionDuration:`{transition.duration}`},panel:{background:`{content.background}`,borderColor:`{content.border.color}`,borderWidth:`1px`,color:`{content.color}`,padding:`0.25rem 0.25rem`,borderRadius:`{content.border.radius}`,first:{borderWidth:`1px`,topBorderRadius:`{content.border.radius}`},last:{borderWidth:`1px`,bottomBorderRadius:`{content.border.radius}`}},item:{focusBackground:`{navigation.item.focus.background}`,color:`{navigation.item.color}`,focusColor:`{navigation.item.focus.color}`,gap:`0.5rem`,padding:`{navigation.item.padding}`,borderRadius:`{content.border.radius}`,icon:{color:`{navigation.item.icon.color}`,focusColor:`{navigation.item.icon.focus.color}`}},submenu:{indent:`1rem`},submenuIcon:{color:`{navigation.submenu.icon.color}`,focusColor:`{navigation.submenu.icon.focus.color}`}},Ed={meter:{background:`{content.border.color}`,borderRadius:`{content.border.radius}`,height:`.75rem`},icon:{color:`{form.field.icon.color}`},overlay:{background:`{overlay.popover.background}`,borderColor:`{overlay.popover.border.color}`,borderRadius:`{overlay.popover.border.radius}`,color:`{overlay.popover.color}`,padding:`{overlay.popover.padding}`,shadow:`{overlay.popover.shadow}`},content:{gap:`0.5rem`},colorScheme:{light:{strength:{weakBackground:`{red.500}`,mediumBackground:`{amber.500}`,strongBackground:`{green.500}`}},dark:{strength:{weakBackground:`{red.400}`,mediumBackground:`{amber.400}`,strongBackground:`{green.400}`}}}},Dd={root:{gap:`1.125rem`},controls:{gap:`0.5rem`}},Od={root:{background:`{overlay.popover.background}`,borderColor:`{overlay.popover.border.color}`,color:`{overlay.popover.color}`,borderRadius:`{overlay.popover.border.radius}`,shadow:`{overlay.popover.shadow}`,gutter:`10px`,arrowOffset:`1.25rem`},content:{padding:`{overlay.popover.padding}`}},kd={root:{background:`{content.border.color}`,borderRadius:`{content.border.radius}`,height:`1.25rem`},value:{background:`{primary.color}`},label:{color:`{primary.contrast.color}`,fontSize:`0.75rem`,fontWeight:`600`}},Ad={colorScheme:{light:{root:{colorOne:`{red.500}`,colorTwo:`{blue.500}`,colorThree:`{green.500}`,colorFour:`{yellow.500}`}},dark:{root:{colorOne:`{red.400}`,colorTwo:`{blue.400}`,colorThree:`{green.400}`,colorFour:`{yellow.400}`}}}},jd={root:{width:`1.25rem`,height:`1.25rem`,background:`{form.field.background}`,checkedBackground:`{primary.color}`,checkedHoverBackground:`{primary.hover.color}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.border.color}`,checkedBorderColor:`{primary.color}`,checkedHoverBorderColor:`{primary.hover.color}`,checkedFocusBorderColor:`{primary.color}`,checkedDisabledBorderColor:`{form.field.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,shadow:`{form.field.shadow}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{width:`1rem`,height:`1rem`},lg:{width:`1.5rem`,height:`1.5rem`}},icon:{size:`0.75rem`,checkedColor:`{primary.contrast.color}`,checkedHoverColor:`{primary.contrast.color}`,disabledColor:`{form.field.disabled.color}`,sm:{size:`0.5rem`},lg:{size:`1rem`}}},Md={root:{gap:`0.25rem`,transitionDuration:`{transition.duration}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},icon:{size:`1rem`,color:`{text.muted.color}`,hoverColor:`{primary.color}`,activeColor:`{primary.color}`}},Nd={colorScheme:{light:{root:{background:`rgba(0,0,0,0.1)`}},dark:{root:{background:`rgba(255,255,255,0.3)`}}}},Pd={root:{transitionDuration:`{transition.duration}`},bar:{size:`9px`,borderRadius:`{border.radius.sm}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},colorScheme:{light:{bar:{background:`{surface.100}`}},dark:{bar:{background:`{surface.800}`}}}},Fd={root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledHoverBackground:`{form.field.filled.hover.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,invalidPlaceholderColor:`{form.field.invalid.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{fontSize:`{form.field.sm.font.size}`,paddingX:`{form.field.sm.padding.x}`,paddingY:`{form.field.sm.padding.y}`},lg:{fontSize:`{form.field.lg.font.size}`,paddingX:`{form.field.lg.padding.x}`,paddingY:`{form.field.lg.padding.y}`}},dropdown:{width:`2.5rem`,color:`{form.field.icon.color}`},overlay:{background:`{overlay.select.background}`,borderColor:`{overlay.select.border.color}`,borderRadius:`{overlay.select.border.radius}`,color:`{overlay.select.color}`,shadow:`{overlay.select.shadow}`},list:{padding:`{list.padding}`,gap:`{list.gap}`,header:{padding:`{list.header.padding}`}},option:{focusBackground:`{list.option.focus.background}`,selectedBackground:`{list.option.selected.background}`,selectedFocusBackground:`{list.option.selected.focus.background}`,color:`{list.option.color}`,focusColor:`{list.option.focus.color}`,selectedColor:`{list.option.selected.color}`,selectedFocusColor:`{list.option.selected.focus.color}`,padding:`{list.option.padding}`,borderRadius:`{list.option.border.radius}`},optionGroup:{background:`{list.option.group.background}`,color:`{list.option.group.color}`,fontWeight:`{list.option.group.font.weight}`,padding:`{list.option.group.padding}`},clearIcon:{color:`{form.field.icon.color}`},checkmark:{color:`{list.option.color}`,gutterStart:`-0.375rem`,gutterEnd:`0.375rem`},emptyMessage:{padding:`{list.option.padding}`}},Id={root:{borderRadius:`{form.field.border.radius}`},colorScheme:{light:{root:{invalidBorderColor:`{form.field.invalid.border.color}`}},dark:{root:{invalidBorderColor:`{form.field.invalid.border.color}`}}}},Ld={root:{borderRadius:`{content.border.radius}`},colorScheme:{light:{root:{background:`{surface.200}`,animationBackground:`rgba(255,255,255,0.4)`}},dark:{root:{background:`rgba(255, 255, 255, 0.06)`,animationBackground:`rgba(255, 255, 255, 0.04)`}}}},Rd={root:{transitionDuration:`{transition.duration}`},track:{background:`{content.border.color}`,borderRadius:`{content.border.radius}`,size:`3px`},range:{background:`{primary.color}`},handle:{width:`20px`,height:`20px`,borderRadius:`50%`,background:`{content.border.color}`,hoverBackground:`{content.border.color}`,content:{borderRadius:`50%`,hoverBackground:`{content.background}`,width:`16px`,height:`16px`,shadow:`0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)`},focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},colorScheme:{light:{handle:{content:{background:`{surface.0}`}}},dark:{handle:{content:{background:`{surface.950}`}}}}},zd={root:{gap:`0.5rem`,transitionDuration:`{transition.duration}`}},Bd={root:{borderRadius:`{form.field.border.radius}`,roundedBorderRadius:`2rem`,raisedShadow:`0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)`}},Vd={root:{background:`{content.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,transitionDuration:`{transition.duration}`},gutter:{background:`{content.border.color}`},handle:{size:`24px`,background:`transparent`,borderRadius:`{content.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}}},Hd={root:{transitionDuration:`{transition.duration}`},separator:{background:`{content.border.color}`,activeBackground:`{primary.color}`,margin:`0 0 0 1.625rem`,size:`2px`},step:{padding:`0.5rem`,gap:`1rem`},stepHeader:{padding:`0`,borderRadius:`{content.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`},gap:`0.5rem`},stepTitle:{color:`{text.muted.color}`,activeColor:`{primary.color}`,fontWeight:`500`},stepNumber:{background:`{content.background}`,activeBackground:`{content.background}`,borderColor:`{content.border.color}`,activeBorderColor:`{content.border.color}`,color:`{text.muted.color}`,activeColor:`{primary.color}`,size:`2rem`,fontSize:`1.143rem`,fontWeight:`500`,borderRadius:`50%`,shadow:`0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)`},steppanels:{padding:`0.875rem 0.5rem 1.125rem 0.5rem`},steppanel:{background:`{content.background}`,color:`{content.color}`,padding:`0`,indent:`1rem`}},Ud={root:{transitionDuration:`{transition.duration}`},separator:{background:`{content.border.color}`},itemLink:{borderRadius:`{content.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`},gap:`0.5rem`},itemLabel:{color:`{text.muted.color}`,activeColor:`{primary.color}`,fontWeight:`500`},itemNumber:{background:`{content.background}`,activeBackground:`{content.background}`,borderColor:`{content.border.color}`,activeBorderColor:`{content.border.color}`,color:`{text.muted.color}`,activeColor:`{primary.color}`,size:`2rem`,fontSize:`1.143rem`,fontWeight:`500`,borderRadius:`50%`,shadow:`0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)`}},Wd={root:{transitionDuration:`{transition.duration}`},tablist:{borderWidth:`0 0 1px 0`,background:`{content.background}`,borderColor:`{content.border.color}`},item:{background:`transparent`,hoverBackground:`transparent`,activeBackground:`transparent`,borderWidth:`0 0 1px 0`,borderColor:`{content.border.color}`,hoverBorderColor:`{content.border.color}`,activeBorderColor:`{primary.color}`,color:`{text.muted.color}`,hoverColor:`{text.color}`,activeColor:`{primary.color}`,padding:`1rem 1.125rem`,fontWeight:`600`,margin:`0 0 -1px 0`,gap:`0.5rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},itemIcon:{color:`{text.muted.color}`,hoverColor:`{text.color}`,activeColor:`{primary.color}`},activeBar:{height:`1px`,bottom:`-1px`,background:`{primary.color}`}},Gd={root:{transitionDuration:`{transition.duration}`},tablist:{borderWidth:`0 0 1px 0`,background:`{content.background}`,borderColor:`{content.border.color}`},tab:{background:`transparent`,hoverBackground:`transparent`,activeBackground:`transparent`,borderWidth:`0 0 1px 0`,borderColor:`{content.border.color}`,hoverBorderColor:`{content.border.color}`,activeBorderColor:`{primary.color}`,color:`{text.muted.color}`,hoverColor:`{text.color}`,activeColor:`{primary.color}`,padding:`1rem 1.125rem`,fontWeight:`600`,margin:`0 0 -1px 0`,gap:`0.5rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`-1px`,shadow:`{focus.ring.shadow}`}},tabpanel:{background:`{content.background}`,color:`{content.color}`,padding:`0.875rem 1.125rem 1.125rem 1.125rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`inset {focus.ring.shadow}`}},navButton:{background:`{content.background}`,color:`{text.muted.color}`,hoverColor:`{text.color}`,width:`2.5rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`-1px`,shadow:`{focus.ring.shadow}`}},activeBar:{height:`1px`,bottom:`-1px`,background:`{primary.color}`},colorScheme:{light:{navButton:{shadow:`0px 0px 10px 50px rgba(255, 255, 255, 0.6)`}},dark:{navButton:{shadow:`0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)`}}}},Kd={root:{transitionDuration:`{transition.duration}`},tabList:{background:`{content.background}`,borderColor:`{content.border.color}`},tab:{borderColor:`{content.border.color}`,activeBorderColor:`{primary.color}`,color:`{text.muted.color}`,hoverColor:`{text.color}`,activeColor:`{primary.color}`},tabPanel:{background:`{content.background}`,color:`{content.color}`},navButton:{background:`{content.background}`,color:`{text.muted.color}`,hoverColor:`{text.color}`},colorScheme:{light:{navButton:{shadow:`0px 0px 10px 50px rgba(255, 255, 255, 0.6)`}},dark:{navButton:{shadow:`0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)`}}}},qd={root:{fontSize:`0.875rem`,fontWeight:`700`,padding:`0.25rem 0.5rem`,gap:`0.25rem`,borderRadius:`{content.border.radius}`,roundedBorderRadius:`{border.radius.xl}`},icon:{size:`0.75rem`},colorScheme:{light:{primary:{background:`{primary.100}`,color:`{primary.700}`},secondary:{background:`{surface.100}`,color:`{surface.600}`},success:{background:`{green.100}`,color:`{green.700}`},info:{background:`{sky.100}`,color:`{sky.700}`},warn:{background:`{orange.100}`,color:`{orange.700}`},danger:{background:`{red.100}`,color:`{red.700}`},contrast:{background:`{surface.950}`,color:`{surface.0}`}},dark:{primary:{background:`color-mix(in srgb, {primary.500}, transparent 84%)`,color:`{primary.300}`},secondary:{background:`{surface.800}`,color:`{surface.300}`},success:{background:`color-mix(in srgb, {green.500}, transparent 84%)`,color:`{green.300}`},info:{background:`color-mix(in srgb, {sky.500}, transparent 84%)`,color:`{sky.300}`},warn:{background:`color-mix(in srgb, {orange.500}, transparent 84%)`,color:`{orange.300}`},danger:{background:`color-mix(in srgb, {red.500}, transparent 84%)`,color:`{red.300}`},contrast:{background:`{surface.0}`,color:`{surface.950}`}}}},Jd={root:{background:`{form.field.background}`,borderColor:`{form.field.border.color}`,color:`{form.field.color}`,height:`18rem`,padding:`{form.field.padding.y} {form.field.padding.x}`,borderRadius:`{form.field.border.radius}`},prompt:{gap:`0.25rem`},commandResponse:{margin:`2px 0`}},Yd={root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledHoverBackground:`{form.field.filled.hover.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,invalidPlaceholderColor:`{form.field.invalid.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{fontSize:`{form.field.sm.font.size}`,paddingX:`{form.field.sm.padding.x}`,paddingY:`{form.field.sm.padding.y}`},lg:{fontSize:`{form.field.lg.font.size}`,paddingX:`{form.field.lg.padding.x}`,paddingY:`{form.field.lg.padding.y}`}}},Xd={root:{background:`{content.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,borderRadius:`{content.border.radius}`,shadow:`{overlay.navigation.shadow}`,transitionDuration:`{transition.duration}`},list:{padding:`{navigation.list.padding}`,gap:`{navigation.list.gap}`},item:{focusBackground:`{navigation.item.focus.background}`,activeBackground:`{navigation.item.active.background}`,color:`{navigation.item.color}`,focusColor:`{navigation.item.focus.color}`,activeColor:`{navigation.item.active.color}`,padding:`{navigation.item.padding}`,borderRadius:`{navigation.item.border.radius}`,gap:`{navigation.item.gap}`,icon:{color:`{navigation.item.icon.color}`,focusColor:`{navigation.item.icon.focus.color}`,activeColor:`{navigation.item.icon.active.color}`}},submenu:{mobileIndent:`1rem`},submenuIcon:{size:`{navigation.submenu.icon.size}`,color:`{navigation.submenu.icon.color}`,focusColor:`{navigation.submenu.icon.focus.color}`,activeColor:`{navigation.submenu.icon.active.color}`},separator:{borderColor:`{content.border.color}`}},Zd={event:{minHeight:`5rem`},horizontal:{eventContent:{padding:`1rem 0`}},vertical:{eventContent:{padding:`0 1rem`}},eventMarker:{size:`1.125rem`,borderRadius:`50%`,borderWidth:`2px`,background:`{content.background}`,borderColor:`{content.border.color}`,content:{borderRadius:`50%`,size:`0.375rem`,background:`{primary.color}`,insetShadow:`0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)`}},eventConnector:{color:`{content.border.color}`,size:`2px`}},Qd={root:{width:`25rem`,borderRadius:`{content.border.radius}`,borderWidth:`1px`,transitionDuration:`{transition.duration}`},icon:{size:`1.125rem`},content:{padding:`{overlay.popover.padding}`,gap:`0.5rem`},text:{gap:`0.5rem`},summary:{fontWeight:`500`,fontSize:`1rem`},detail:{fontWeight:`500`,fontSize:`0.875rem`},closeButton:{width:`1.75rem`,height:`1.75rem`,borderRadius:`50%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,offset:`{focus.ring.offset}`}},closeIcon:{size:`1rem`},colorScheme:{light:{root:{blur:`1.5px`},info:{background:`color-mix(in srgb, {blue.50}, transparent 5%)`,borderColor:`{blue.200}`,color:`{blue.600}`,detailColor:`{surface.700}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)`,closeButton:{hoverBackground:`{blue.100}`,focusRing:{color:`{blue.600}`,shadow:`none`}}},success:{background:`color-mix(in srgb, {green.50}, transparent 5%)`,borderColor:`{green.200}`,color:`{green.600}`,detailColor:`{surface.700}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)`,closeButton:{hoverBackground:`{green.100}`,focusRing:{color:`{green.600}`,shadow:`none`}}},warn:{background:`color-mix(in srgb,{yellow.50}, transparent 5%)`,borderColor:`{yellow.200}`,color:`{yellow.600}`,detailColor:`{surface.700}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)`,closeButton:{hoverBackground:`{yellow.100}`,focusRing:{color:`{yellow.600}`,shadow:`none`}}},error:{background:`color-mix(in srgb, {red.50}, transparent 5%)`,borderColor:`{red.200}`,color:`{red.600}`,detailColor:`{surface.700}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)`,closeButton:{hoverBackground:`{red.100}`,focusRing:{color:`{red.600}`,shadow:`none`}}},secondary:{background:`{surface.100}`,borderColor:`{surface.200}`,color:`{surface.600}`,detailColor:`{surface.700}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)`,closeButton:{hoverBackground:`{surface.200}`,focusRing:{color:`{surface.600}`,shadow:`none`}}},contrast:{background:`{surface.900}`,borderColor:`{surface.950}`,color:`{surface.50}`,detailColor:`{surface.0}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)`,closeButton:{hoverBackground:`{surface.800}`,focusRing:{color:`{surface.50}`,shadow:`none`}}}},dark:{root:{blur:`10px`},info:{background:`color-mix(in srgb, {blue.500}, transparent 84%)`,borderColor:`color-mix(in srgb, {blue.700}, transparent 64%)`,color:`{blue.500}`,detailColor:`{surface.0}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)`,closeButton:{hoverBackground:`rgba(255, 255, 255, 0.05)`,focusRing:{color:`{blue.500}`,shadow:`none`}}},success:{background:`color-mix(in srgb, {green.500}, transparent 84%)`,borderColor:`color-mix(in srgb, {green.700}, transparent 64%)`,color:`{green.500}`,detailColor:`{surface.0}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)`,closeButton:{hoverBackground:`rgba(255, 255, 255, 0.05)`,focusRing:{color:`{green.500}`,shadow:`none`}}},warn:{background:`color-mix(in srgb, {yellow.500}, transparent 84%)`,borderColor:`color-mix(in srgb, {yellow.700}, transparent 64%)`,color:`{yellow.500}`,detailColor:`{surface.0}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)`,closeButton:{hoverBackground:`rgba(255, 255, 255, 0.05)`,focusRing:{color:`{yellow.500}`,shadow:`none`}}},error:{background:`color-mix(in srgb, {red.500}, transparent 84%)`,borderColor:`color-mix(in srgb, {red.700}, transparent 64%)`,color:`{red.500}`,detailColor:`{surface.0}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)`,closeButton:{hoverBackground:`rgba(255, 255, 255, 0.05)`,focusRing:{color:`{red.500}`,shadow:`none`}}},secondary:{background:`{surface.800}`,borderColor:`{surface.700}`,color:`{surface.300}`,detailColor:`{surface.0}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)`,closeButton:{hoverBackground:`{surface.700}`,focusRing:{color:`{surface.300}`,shadow:`none`}}},contrast:{background:`{surface.0}`,borderColor:`{surface.100}`,color:`{surface.950}`,detailColor:`{surface.950}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)`,closeButton:{hoverBackground:`{surface.100}`,focusRing:{color:`{surface.950}`,shadow:`none`}}}}}},$d={root:{padding:`0.25rem`,borderRadius:`{content.border.radius}`,gap:`0.5rem`,fontWeight:`500`,disabledBackground:`{form.field.disabled.background}`,disabledBorderColor:`{form.field.disabled.background}`,disabledColor:`{form.field.disabled.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{fontSize:`{form.field.sm.font.size}`,padding:`0.25rem`},lg:{fontSize:`{form.field.lg.font.size}`,padding:`0.25rem`}},icon:{disabledColor:`{form.field.disabled.color}`},content:{padding:`0.25rem 0.75rem`,borderRadius:`{content.border.radius}`,checkedShadow:`0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)`,sm:{padding:`0.25rem 0.75rem`},lg:{padding:`0.25rem 0.75rem`}},colorScheme:{light:{root:{background:`{surface.100}`,checkedBackground:`{surface.100}`,hoverBackground:`{surface.100}`,borderColor:`{surface.100}`,color:`{surface.500}`,hoverColor:`{surface.700}`,checkedColor:`{surface.900}`,checkedBorderColor:`{surface.100}`},content:{checkedBackground:`{surface.0}`},icon:{color:`{surface.500}`,hoverColor:`{surface.700}`,checkedColor:`{surface.900}`}},dark:{root:{background:`{surface.950}`,checkedBackground:`{surface.950}`,hoverBackground:`{surface.950}`,borderColor:`{surface.950}`,color:`{surface.400}`,hoverColor:`{surface.300}`,checkedColor:`{surface.0}`,checkedBorderColor:`{surface.950}`},content:{checkedBackground:`{surface.800}`},icon:{color:`{surface.400}`,hoverColor:`{surface.300}`,checkedColor:`{surface.0}`}}}},ef={root:{width:`2.5rem`,height:`1.5rem`,borderRadius:`30px`,gap:`0.25rem`,shadow:`{form.field.shadow}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`},borderWidth:`1px`,borderColor:`transparent`,hoverBorderColor:`transparent`,checkedBorderColor:`transparent`,checkedHoverBorderColor:`transparent`,invalidBorderColor:`{form.field.invalid.border.color}`,transitionDuration:`{form.field.transition.duration}`,slideDuration:`0.2s`},handle:{borderRadius:`50%`,size:`1rem`},colorScheme:{light:{root:{background:`{surface.300}`,disabledBackground:`{form.field.disabled.background}`,hoverBackground:`{surface.400}`,checkedBackground:`{primary.color}`,checkedHoverBackground:`{primary.hover.color}`},handle:{background:`{surface.0}`,disabledBackground:`{form.field.disabled.color}`,hoverBackground:`{surface.0}`,checkedBackground:`{surface.0}`,checkedHoverBackground:`{surface.0}`,color:`{text.muted.color}`,hoverColor:`{text.color}`,checkedColor:`{primary.color}`,checkedHoverColor:`{primary.hover.color}`}},dark:{root:{background:`{surface.700}`,disabledBackground:`{surface.600}`,hoverBackground:`{surface.600}`,checkedBackground:`{primary.color}`,checkedHoverBackground:`{primary.hover.color}`},handle:{background:`{surface.400}`,disabledBackground:`{surface.900}`,hoverBackground:`{surface.300}`,checkedBackground:`{surface.900}`,checkedHoverBackground:`{surface.900}`,color:`{surface.900}`,hoverColor:`{surface.800}`,checkedColor:`{primary.color}`,checkedHoverColor:`{primary.hover.color}`}}}},tf={root:{background:`{content.background}`,borderColor:`{content.border.color}`,borderRadius:`{content.border.radius}`,color:`{content.color}`,gap:`0.5rem`,padding:`0.75rem`}},nf={root:{maxWidth:`12.5rem`,gutter:`0.25rem`,shadow:`{overlay.popover.shadow}`,padding:`0.5rem 0.75rem`,borderRadius:`{overlay.popover.border.radius}`},colorScheme:{light:{root:{background:`{surface.700}`,color:`{surface.0}`}},dark:{root:{background:`{surface.700}`,color:`{surface.0}`}}}},rf={root:{background:`{content.background}`,color:`{content.color}`,padding:`1rem`,gap:`2px`,indent:`1rem`,transitionDuration:`{transition.duration}`},node:{padding:`0.25rem 0.5rem`,borderRadius:`{content.border.radius}`,hoverBackground:`{content.hover.background}`,selectedBackground:`{highlight.background}`,color:`{text.color}`,hoverColor:`{text.hover.color}`,selectedColor:`{highlight.color}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`-1px`,shadow:`{focus.ring.shadow}`},gap:`0.25rem`},nodeIcon:{color:`{text.muted.color}`,hoverColor:`{text.hover.muted.color}`,selectedColor:`{highlight.color}`},nodeToggleButton:{borderRadius:`50%`,size:`1.75rem`,hoverBackground:`{content.hover.background}`,selectedHoverBackground:`{content.background}`,color:`{text.muted.color}`,hoverColor:`{text.hover.muted.color}`,selectedHoverColor:`{primary.color}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},loadingIcon:{size:`2rem`},filter:{margin:`0 0 0.5rem 0`},css:`
|
|
163
|
-
.p-tree-mask.p-overlay-mask {
|
|
164
|
-
--px-mask-background: light-dark(rgba(255,255,255,0.5),rgba(0,0,0,0.3));
|
|
165
|
-
}
|
|
166
|
-
`},af={root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledHoverBackground:`{form.field.filled.hover.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,invalidPlaceholderColor:`{form.field.invalid.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{fontSize:`{form.field.sm.font.size}`,paddingX:`{form.field.sm.padding.x}`,paddingY:`{form.field.sm.padding.y}`},lg:{fontSize:`{form.field.lg.font.size}`,paddingX:`{form.field.lg.padding.x}`,paddingY:`{form.field.lg.padding.y}`}},dropdown:{width:`2.5rem`,color:`{form.field.icon.color}`},overlay:{background:`{overlay.select.background}`,borderColor:`{overlay.select.border.color}`,borderRadius:`{overlay.select.border.radius}`,color:`{overlay.select.color}`,shadow:`{overlay.select.shadow}`},tree:{padding:`{list.padding}`},emptyMessage:{padding:`{list.option.padding}`},chip:{borderRadius:`{border.radius.sm}`},clearIcon:{color:`{form.field.icon.color}`}},of={root:{transitionDuration:`{transition.duration}`},header:{background:`{content.background}`,borderColor:`{treetable.border.color}`,color:`{content.color}`,borderWidth:`0 0 1px 0`,padding:`0.75rem 1rem`},headerCell:{background:`{content.background}`,hoverBackground:`{content.hover.background}`,selectedBackground:`{highlight.background}`,borderColor:`{treetable.border.color}`,color:`{content.color}`,hoverColor:`{content.hover.color}`,selectedColor:`{highlight.color}`,gap:`0.5rem`,padding:`0.75rem 1rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`-1px`,shadow:`{focus.ring.shadow}`}},columnTitle:{fontWeight:`600`},row:{background:`{content.background}`,hoverBackground:`{content.hover.background}`,selectedBackground:`{highlight.background}`,color:`{content.color}`,hoverColor:`{content.hover.color}`,selectedColor:`{highlight.color}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`-1px`,shadow:`{focus.ring.shadow}`}},bodyCell:{borderColor:`{treetable.border.color}`,padding:`0.75rem 1rem`,gap:`0.5rem`},footerCell:{background:`{content.background}`,borderColor:`{treetable.border.color}`,color:`{content.color}`,padding:`0.75rem 1rem`},columnFooter:{fontWeight:`600`},footer:{background:`{content.background}`,borderColor:`{treetable.border.color}`,color:`{content.color}`,borderWidth:`0 0 1px 0`,padding:`0.75rem 1rem`},columnResizer:{width:`0.5rem`},resizeIndicator:{width:`1px`,color:`{primary.color}`},sortIcon:{color:`{text.muted.color}`,hoverColor:`{text.hover.muted.color}`,size:`0.875rem`},loadingIcon:{size:`2rem`},nodeToggleButton:{hoverBackground:`{content.hover.background}`,selectedHoverBackground:`{content.background}`,color:`{text.muted.color}`,hoverColor:`{text.color}`,selectedHoverColor:`{primary.color}`,size:`1.75rem`,borderRadius:`50%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},paginatorTop:{borderColor:`{content.border.color}`,borderWidth:`0 0 1px 0`},paginatorBottom:{borderColor:`{content.border.color}`,borderWidth:`0 0 1px 0`},colorScheme:{light:{root:{borderColor:`{content.border.color}`},bodyCell:{selectedBorderColor:`{primary.100}`}},dark:{root:{borderColor:`{surface.800}`},bodyCell:{selectedBorderColor:`{primary.900}`}}},css:`
|
|
167
|
-
.p-treetable-mask.p-overlay-mask {
|
|
168
|
-
--px-mask-background: light-dark(rgba(255,255,255,0.5),rgba(0,0,0,0.3));
|
|
169
|
-
}
|
|
170
|
-
`},sf={loader:{mask:{background:`{content.background}`,color:`{text.muted.color}`},icon:{size:`2rem`}}},cf=Object.defineProperty,lf=Object.defineProperties,uf=Object.getOwnPropertyDescriptors,df=Object.getOwnPropertySymbols,ff=Object.prototype.hasOwnProperty,pf=Object.prototype.propertyIsEnumerable,mf=(e,t,n)=>t in e?cf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hf=lf(((e,t)=>{for(var n in t||={})ff.call(t,n)&&mf(e,n,t[n]);if(df)for(var n of df(t))pf.call(t,n)&&mf(e,n,t[n]);return e})({},ku),uf({components:{accordion:Tu,autocomplete:Eu,avatar:Du,badge:Ou,blockui:Au,breadcrumb:ju,button:Mu,card:Nu,carousel:Pu,cascadeselect:Fu,checkbox:Iu,chip:Lu,colorpicker:Ru,confirmdialog:zu,confirmpopup:Bu,contextmenu:Vu,datatable:Uu,dataview:Wu,datepicker:Gu,dialog:Ku,divider:qu,dock:Ju,drawer:Yu,editor:Xu,fieldset:Zu,fileupload:Qu,floatlabel:$u,galleria:ed,iconfield:td,iftalabel:nd,image:rd,imagecompare:id,inlinemessage:ad,inplace:od,inputchips:sd,inputgroup:cd,inputnumber:ld,inputotp:ud,inputtext:dd,knob:fd,listbox:pd,megamenu:md,menu:hd,menubar:gd,message:_d,metergroup:vd,multiselect:yd,orderlist:bd,organizationchart:xd,overlaybadge:Sd,paginator:Cd,panel:wd,panelmenu:Td,password:Ed,picklist:Dd,popover:Od,progressbar:kd,progressspinner:Ad,radiobutton:jd,rating:Md,ripple:Nd,scrollpanel:Pd,select:Fd,selectbutton:Id,skeleton:Ld,slider:Rd,speeddial:zd,splitbutton:Bd,splitter:Vd,stepper:Hd,steps:Ud,tabmenu:Wd,tabs:Gd,tabview:Kd,tag:qd,terminal:Jd,textarea:Yd,tieredmenu:Xd,timeline:Zd,toast:Qd,togglebutton:$d,toggleswitch:ef,toolbar:tf,tooltip:nf,tree:rf,treeselect:af,treetable:of,virtualscroller:sf},css:Hu})),gf={_loadedStyleNames:new Set,getLoadedStyleNames:function(){return this._loadedStyleNames},isStyleNameLoaded:function(e){return this._loadedStyleNames.has(e)},setLoadedStyleName:function(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName:function(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames:function(){this._loadedStyleNames.clear()}};function _f(){return`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:`pc`}${Fr().replace(`v-`,``).replaceAll(`-`,`_`)}`}var vf=uu.extend({name:`common`});function yf(e){"@babel/helpers - typeof";return yf=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},yf(e)}function bf(e){return Df(e)||xf(e)||wf(e)||Cf()}function xf(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function Sf(e,t){return Df(e)||Ef(e,t)||wf(e,t)||Cf()}function Cf(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
171
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wf(e,t){if(e){if(typeof e==`string`)return Tf(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Tf(e,t):void 0}}function Tf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ef(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Df(e){if(Array.isArray(e))return e}function Of(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function kf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Of(Object(n),!0).forEach(function(t){Af(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Of(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Af(e,t,n){return(t=jf(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jf(e){var t=Mf(e,`string`);return yf(t)==`symbol`?t:t+``}function Mf(e,t){if(yf(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(yf(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Nf={name:`BaseComponent`,props:{pt:{type:Object,default:void 0},ptOptions:{type:Object,default:void 0},unstyled:{type:Boolean,default:void 0},dt:{type:Object,default:void 0}},inject:{$parentInstance:{default:void 0}},watch:{isUnstyled:{immediate:!0,handler:function(e){gl.off(`theme:change`,this._loadCoreStyles),e||(this._loadCoreStyles(),this._themeChangeListener(this._loadCoreStyles))}},dt:{immediate:!0,handler:function(e,t){var n=this;gl.off(`theme:change`,this._themeScopedListener),e?(this._loadScopedThemeStyles(e),this._themeScopedListener=function(){return n._loadScopedThemeStyles(e)},this._themeChangeListener(this._themeScopedListener)):this._unloadScopedThemeStyles()}}},scopedStyleEl:void 0,rootEl:void 0,uid:void 0,$attrSelector:void 0,beforeCreate:function(){var e,t,n,r,i,a,o,s,c,l,u=this.pt?._usept,d=u?(e=this.pt)==null||(e=e.originalValue)==null?void 0:e[this.$.type.name]:void 0;(n=(u?(t=this.pt)==null||(t=t.value)==null?void 0:t[this.$.type.name]:this.pt)||d)==null||(n=n.hooks)==null||(r=n.onBeforeCreate)==null||r.call(n);var f=(i=this.$primevueConfig)==null||(i=i.pt)==null?void 0:i._usept,p=f?(a=this.$primevue)==null||(a=a.config)==null||(a=a.pt)==null?void 0:a.originalValue:void 0;(c=(f?(o=this.$primevue)==null||(o=o.config)==null||(o=o.pt)==null?void 0:o.value:(s=this.$primevue)==null||(s=s.config)==null?void 0:s.pt)||p)==null||(c=c[this.$.type.name])==null||(c=c.hooks)==null||(l=c.onBeforeCreate)==null||l.call(c),this.$attrSelector=_f(),this.uid=this.$attrs.id||this.$attrSelector.replace(`pc`,`pv_id_`)},created:function(){this._hook(`onCreated`)},beforeMount:function(){this.rootEl=Wc(Bc(this.$el)?this.$el:this.$el?.parentElement,`[${this.$attrSelector}]`),this.rootEl&&(this.rootEl.$pc=kf({name:this.$.type.name,attrSelector:this.$attrSelector},this.$params)),this._loadStyles(),this._hook(`onBeforeMount`)},mounted:function(){this._hook(`onMounted`)},beforeUpdate:function(){this._hook(`onBeforeUpdate`)},updated:function(){this._hook(`onUpdated`)},beforeUnmount:function(){this._hook(`onBeforeUnmount`)},unmounted:function(){this._removeThemeListeners(),this._unloadScopedThemeStyles(),this._hook(`onUnmounted`)},methods:{_hook:function(e){if(!this.$options.hostName){var t=this._usePT(this._getPT(this.pt,this.$.type.name),this._getOptionValue,`hooks.${e}`),n=this._useDefaultPT(this._getOptionValue,`hooks.${e}`);t?.(),n?.()}},_mergeProps:function(e){var t=[...arguments].slice(1);return ac(e)?e.apply(void 0,t):N.apply(void 0,t)},_load:function(){gf.isStyleNameLoaded(`base`)||(uu.loadCSS(this.$styleOptions),this._loadGlobalStyles(),gf.setLoadedStyleName(`base`)),this._loadThemeStyles()},_loadStyles:function(){this._load(),this._themeChangeListener(this._load)},_loadCoreStyles:function(){var e;!gf.isStyleNameLoaded(this.$style?.name)&&(e=this.$style)!=null&&e.name&&(vf.loadCSS(this.$styleOptions),this.$options.style&&this.$style.loadCSS(this.$styleOptions),gf.setLoadedStyleName(this.$style.name))},_loadGlobalStyles:function(){var e=this._useGlobalPT(this._getOptionValue,`global.css`,this.$params);oc(e)&&uu.load(e,kf({name:`global`},this.$styleOptions))},_loadThemeStyles:function(){var e;if(!(this.isUnstyled||this.$theme===`none`)){if(!Fl.isStyleNameLoaded(`common`)){var t,n,r=((t=this.$style)==null||(n=t.getCommonTheme)==null?void 0:n.call(t))||{},i=r.primitive,a=r.semantic,o=r.global,s=r.style;uu.load(i?.css,kf({name:`primitive-variables`},this.$styleOptions)),uu.load(a?.css,kf({name:`semantic-variables`},this.$styleOptions)),uu.load(o?.css,kf({name:`global-variables`},this.$styleOptions)),uu.loadStyle(kf({name:`global-style`},this.$styleOptions),s),Fl.setLoadedStyleName(`common`)}if(!Fl.isStyleNameLoaded(this.$style?.name)&&(e=this.$style)!=null&&e.name){var c,l,u,d,f=((c=this.$style)==null||(l=c.getComponentTheme)==null?void 0:l.call(c))||{},p=f.css,m=f.style;(u=this.$style)==null||u.load(p,kf({name:`${this.$style.name}-variables`},this.$styleOptions)),(d=this.$style)==null||d.loadStyle(kf({name:`${this.$style.name}-style`},this.$styleOptions),m),Fl.setLoadedStyleName(this.$style.name)}if(!Fl.isStyleNameLoaded(`layer-order`)){var h,g,_=(h=this.$style)==null||(g=h.getLayerOrderThemeCSS)==null?void 0:g.call(h);uu.load(_,kf({name:`layer-order`,first:!0},this.$styleOptions)),Fl.setLoadedStyleName(`layer-order`)}}},_loadScopedThemeStyles:function(e){var t,n,r=(((t=this.$style)==null||(n=t.getPresetTheme)==null?void 0:n.call(t,e,`[${this.$attrSelector}]`))||{}).css,i=this.$style?.load(r,kf({name:`${this.$attrSelector}-${this.$style.name}`},this.$styleOptions));this.scopedStyleEl=i.el},_unloadScopedThemeStyles:function(){var e;(e=this.scopedStyleEl)==null||(e=e.value)==null||e.remove()},_themeChangeListener:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){};gf.clearLoadedStyleNames(),gl.on(`theme:change`,e)},_removeThemeListeners:function(){gl.off(`theme:change`,this._loadCoreStyles),gl.off(`theme:change`,this._load),gl.off(`theme:change`,this._themeScopedListener)},_getHostInstance:function(e){return e?this.$options.hostName?e.$.type.name===this.$options.hostName?e:this._getHostInstance(e.$parentInstance):e.$parentInstance:void 0},_getPropValue:function(e){return this[e]||this._getHostInstance(this)?.[e]},_getOptionValue:function(e){return hc(e,arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{})},_getPTValue:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i=/./g.test(t)&&!!n[t.split(`.`)[0]],a=this._getPropValue(`ptOptions`)||this.$primevueConfig?.ptOptions||{},o=a.mergeSections,s=o===void 0||o,c=a.mergeProps,l=c!==void 0&&c,u=r?i?this._useGlobalPT(this._getPTClassValue,t,n):this._useDefaultPT(this._getPTClassValue,t,n):void 0,d=i?void 0:this._getPTSelf(e,this._getPTClassValue,t,kf(kf({},n),{},{global:u||{}})),f=this._getPTDatasets(t);return s||!s&&d?l?this._mergeProps(l,u,d,f):kf(kf(kf({},u),d),f):kf(kf({},d),f)},_getPTSelf:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=[...arguments].slice(1);return N(this._usePT.apply(this,[this._getPT(e,this.$name)].concat(t)),this._usePT.apply(this,[this.$_attrsPT].concat(t)))},_getPTDatasets:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=`data-pc-`,n=e===`root`&&oc(this.pt?.[`data-pc-section`]);return e!==`transition`&&kf(kf({},e===`root`&&kf(kf(Af({},`${t}name`,mc(n?this.pt?.[`data-pc-section`]:this.$.type.name)),n&&Af({},`${t}extend`,mc(this.$.type.name))),{},Af({},`${this.$attrSelector}`,``))),{},Af({},`${t}section`,mc(e)))},_getPTClassValue:function(){var e=this._getOptionValue.apply(this,arguments);return pc(e)||gc(e)?{class:e}:e},_getPT:function(e){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,r=arguments.length>2?arguments[2]:void 0,i=function(e){var i=arguments.length>1&&arguments[1]!==void 0&&arguments[1],a=r?r(e):e,o=mc(n),s=mc(t.$name);return(i&&o===s?void 0:a?.[o])??a};return e!=null&&e.hasOwnProperty(`_usept`)?{_usept:e._usept,originalValue:i(e.originalValue),value:i(e.value)}:i(e,!0)},_usePT:function(e,t,n,r){var i=function(e){return t(e,n,r)};if(e!=null&&e.hasOwnProperty(`_usept`)){var a=e._usept||this.$primevueConfig?.ptOptions||{},o=a.mergeSections,s=o===void 0||o,c=a.mergeProps,l=c!==void 0&&c,u=i(e.originalValue),d=i(e.value);return u===void 0&&d===void 0?void 0:pc(d)?d:pc(u)?u:s||!s&&d?l?this._mergeProps(l,u,d):kf(kf({},u),d):d}return i(e)},_useGlobalPT:function(e,t,n){return this._usePT(this.globalPT,e,t,n)},_useDefaultPT:function(e,t,n){return this._usePT(this.defaultPT,e,t,n)},ptm:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._getPTValue(this.pt,e,kf(kf({},this.$params),t))},ptmi:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=N(this.$_attrsWithoutPT,this.ptm(e,t));return n!=null&&n.hasOwnProperty(`id`)&&(n.id??=this.$id),n},ptmo:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this._getPTValue(e,t,kf({instance:this},n),!1)},cx:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.isUnstyled?void 0:this._getOptionValue(this.$style.classes,e,kf(kf({},this.$params),t))},sx:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(t){var r=this._getOptionValue(this.$style.inlineStyles,e,kf(kf({},this.$params),n));return[this._getOptionValue(vf.inlineStyles,e,kf(kf({},this.$params),n)),r]}}},computed:{globalPT:function(){var e=this;return this._getPT(this.$primevueConfig?.pt,void 0,function(t){return fc(t,{instance:e})})},defaultPT:function(){var e=this;return this._getPT(this.$primevueConfig?.pt,void 0,function(t){return e._getOptionValue(t,e.$name,kf({},e.$params))||fc(t,kf({},e.$params))})},isUnstyled:function(){return this.unstyled===void 0?this.$primevueConfig?.unstyled:this.unstyled},$id:function(){return this.$attrs.id||this.uid},$inProps:function(){var e=Object.keys(this.$.vnode?.props||{});return Object.fromEntries(Object.entries(this.$props).filter(function(t){var n=Sf(t,1)[0];return e?.includes(n)}))},$theme:function(){return this.$primevueConfig?.theme},$style:function(){return kf(kf({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadStyle:function(){}},(this._getHostInstance(this)||{}).$style),this.$options.style)},$styleOptions:function(){var e;return{nonce:(e=this.$primevueConfig)==null||(e=e.csp)==null?void 0:e.nonce}},$primevueConfig:function(){return this.$primevue?.config},$name:function(){return this.$options.hostName||this.$.type.name},$params:function(){var e=this._getHostInstance(this)||this.$parent;return{instance:this,props:this.$props,state:this.$data,attrs:this.$attrs,parent:{instance:e,props:e?.$props,state:e?.$data,attrs:e?.$attrs}}},$_attrsPT:function(){return Object.entries(this.$attrs||{}).filter(function(e){return Sf(e,1)[0]?.startsWith(`pt:`)}).reduce(function(e,t){var n=Sf(t,2),r=n[0],i=n[1];return Tf(bf(r.split(`:`))).slice(1)?.reduce(function(e,t,n,r){return!e[t]&&(e[t]=n===r.length-1?i:{}),e[t]},e),e},{})},$_attrsWithoutPT:function(){return Object.entries(this.$attrs||{}).filter(function(e){var t=Sf(e,1)[0];return!(t!=null&&t.startsWith(`pt:`))}).reduce(function(e,t){var n=Sf(t,2),r=n[0];return e[r]=n[1],e},{})}}},Pf=uu.extend({name:`baseicon`,css:`
|
|
172
|
-
.p-icon {
|
|
173
|
-
display: inline-block;
|
|
174
|
-
vertical-align: baseline;
|
|
175
|
-
flex-shrink: 0;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.p-icon-spin {
|
|
179
|
-
-webkit-animation: p-icon-spin 2s infinite linear;
|
|
180
|
-
animation: p-icon-spin 2s infinite linear;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
@-webkit-keyframes p-icon-spin {
|
|
184
|
-
0% {
|
|
185
|
-
-webkit-transform: rotate(0deg);
|
|
186
|
-
transform: rotate(0deg);
|
|
187
|
-
}
|
|
188
|
-
100% {
|
|
189
|
-
-webkit-transform: rotate(359deg);
|
|
190
|
-
transform: rotate(359deg);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
@keyframes p-icon-spin {
|
|
195
|
-
0% {
|
|
196
|
-
-webkit-transform: rotate(0deg);
|
|
197
|
-
transform: rotate(0deg);
|
|
198
|
-
}
|
|
199
|
-
100% {
|
|
200
|
-
-webkit-transform: rotate(359deg);
|
|
201
|
-
transform: rotate(359deg);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
`});function Ff(e){"@babel/helpers - typeof";return Ff=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Ff(e)}function If(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Lf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?If(Object(n),!0).forEach(function(t){Rf(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):If(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Rf(e,t,n){return(t=zf(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zf(e){var t=Bf(e,`string`);return Ff(t)==`symbol`?t:t+``}function Bf(e,t){if(Ff(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ff(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Vf={name:`BaseIcon`,extends:Nf,props:{label:{type:String,default:void 0},spin:{type:Boolean,default:!1}},style:Pf,provide:function(){return{$pcIcon:this,$parentInstance:this}},methods:{pti:function(){var e=nc(this.label);return Lf(Lf({},!this.isUnstyled&&{class:[`p-icon`,{"p-icon-spin":this.spin}]}),{},{role:e?void 0:`img`,"aria-label":e?void 0:this.label,"aria-hidden":e})}}},Hf={name:`SpinnerIcon`,extends:Vf};function Uf(e){return qf(e)||Kf(e)||Gf(e)||Wf()}function Wf(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
205
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gf(e,t){if(e){if(typeof e==`string`)return Jf(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jf(e,t):void 0}}function Kf(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function qf(e){if(Array.isArray(e))return Jf(e)}function Jf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Yf(e,t,n,r,i,a){return D(),O(`svg`,N({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e.pti()),Uf(t[0]||=[k(`path`,{d:`M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z`,fill:`currentColor`},null,-1)]),16)}Hf.render=Yf;var Xf=uu.extend({name:`badge`,style:`
|
|
206
|
-
.p-badge {
|
|
207
|
-
display: inline-flex;
|
|
208
|
-
border-radius: dt('badge.border.radius');
|
|
209
|
-
align-items: center;
|
|
210
|
-
justify-content: center;
|
|
211
|
-
padding: dt('badge.padding');
|
|
212
|
-
background: dt('badge.primary.background');
|
|
213
|
-
color: dt('badge.primary.color');
|
|
214
|
-
font-size: dt('badge.font.size');
|
|
215
|
-
font-weight: dt('badge.font.weight');
|
|
216
|
-
min-width: dt('badge.min.width');
|
|
217
|
-
height: dt('badge.height');
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.p-badge-dot {
|
|
221
|
-
width: dt('badge.dot.size');
|
|
222
|
-
min-width: dt('badge.dot.size');
|
|
223
|
-
height: dt('badge.dot.size');
|
|
224
|
-
border-radius: 50%;
|
|
225
|
-
padding: 0;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.p-badge-circle {
|
|
229
|
-
padding: 0;
|
|
230
|
-
border-radius: 50%;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.p-badge-secondary {
|
|
234
|
-
background: dt('badge.secondary.background');
|
|
235
|
-
color: dt('badge.secondary.color');
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.p-badge-success {
|
|
239
|
-
background: dt('badge.success.background');
|
|
240
|
-
color: dt('badge.success.color');
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.p-badge-info {
|
|
244
|
-
background: dt('badge.info.background');
|
|
245
|
-
color: dt('badge.info.color');
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.p-badge-warn {
|
|
249
|
-
background: dt('badge.warn.background');
|
|
250
|
-
color: dt('badge.warn.color');
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.p-badge-danger {
|
|
254
|
-
background: dt('badge.danger.background');
|
|
255
|
-
color: dt('badge.danger.color');
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.p-badge-contrast {
|
|
259
|
-
background: dt('badge.contrast.background');
|
|
260
|
-
color: dt('badge.contrast.color');
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
.p-badge-sm {
|
|
264
|
-
font-size: dt('badge.sm.font.size');
|
|
265
|
-
min-width: dt('badge.sm.min.width');
|
|
266
|
-
height: dt('badge.sm.height');
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.p-badge-lg {
|
|
270
|
-
font-size: dt('badge.lg.font.size');
|
|
271
|
-
min-width: dt('badge.lg.min.width');
|
|
272
|
-
height: dt('badge.lg.height');
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.p-badge-xl {
|
|
276
|
-
font-size: dt('badge.xl.font.size');
|
|
277
|
-
min-width: dt('badge.xl.min.width');
|
|
278
|
-
height: dt('badge.xl.height');
|
|
279
|
-
}
|
|
280
|
-
`,classes:{root:function(e){var t=e.props,n=e.instance;return[`p-badge p-component`,{"p-badge-circle":oc(t.value)&&String(t.value).length===1,"p-badge-dot":nc(t.value)&&!n.$slots.default,"p-badge-sm":t.size===`small`,"p-badge-lg":t.size===`large`,"p-badge-xl":t.size===`xlarge`,"p-badge-info":t.severity===`info`,"p-badge-success":t.severity===`success`,"p-badge-warn":t.severity===`warn`,"p-badge-danger":t.severity===`danger`,"p-badge-secondary":t.severity===`secondary`,"p-badge-contrast":t.severity===`contrast`}]}}}),Zf={name:`BaseBadge`,extends:Nf,props:{value:{type:[String,Number],default:null},severity:{type:String,default:null},size:{type:String,default:null}},style:Xf,provide:function(){return{$pcBadge:this,$parentInstance:this}}};function Qf(e){"@babel/helpers - typeof";return Qf=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Qf(e)}function $f(e,t,n){return(t=ep(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ep(e){var t=tp(e,`string`);return Qf(t)==`symbol`?t:t+``}function tp(e,t){if(Qf(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Qf(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var np={name:`Badge`,extends:Zf,inheritAttrs:!1,computed:{dataP:function(){return wc($f($f({circle:this.value!=null&&String(this.value).length===1,empty:this.value==null&&!this.$slots.default},this.severity,this.severity),this.size,this.size))}}},rp=[`data-p`];function ip(e,t,n,r,i,a){return D(),O(`span`,N({class:e.cx(`root`),"data-p":a.dataP},e.ptmi(`root`)),[mi(e.$slots,`default`,{},function(){return[j(je(e.value),1)]})],16,rp)}np.render=ip;function ap(e){"@babel/helpers - typeof";return ap=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ap(e)}function op(e,t){return dp(e)||up(e,t)||cp(e,t)||sp()}function sp(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
281
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cp(e,t){if(e){if(typeof e==`string`)return lp(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?lp(e,t):void 0}}function lp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function up(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function dp(e){if(Array.isArray(e))return e}function fp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function pp(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?fp(Object(n),!0).forEach(function(t){mp(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function mp(e,t,n){return(t=hp(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hp(e){var t=gp(e,`string`);return ap(t)==`symbol`?t:t+``}function gp(e,t){if(ap(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ap(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var F={_getMeta:function(){return[lc(arguments.length<=0?void 0:arguments[0])||arguments.length<=0?void 0:arguments[0],fc(lc(arguments.length<=0?void 0:arguments[0])?arguments.length<=0?void 0:arguments[0]:arguments.length<=1?void 0:arguments[1])]},_getConfig:function(e,t){var n,r;return((e==null||(n=e.instance)==null?void 0:n.$primevue)||(t==null||(r=t.ctx)==null||(r=r.appContext)==null||(r=r.config)==null||(r=r.globalProperties)==null?void 0:r.$primevue))?.config},_getOptionValue:hc,_getPTValue:function(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:``,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=function(){var e=F._getOptionValue.apply(F,arguments);return pc(e)||gc(e)?{class:e}:e},s=((e=t.binding)==null||(e=e.value)==null?void 0:e.ptOptions)||t.$primevueConfig?.ptOptions||{},c=s.mergeSections,l=c===void 0||c,u=s.mergeProps,d=u!==void 0&&u,f=a?F._useDefaultPT(t,t.defaultPT(),o,r,i):void 0,p=F._usePT(t,F._getPT(n,t.$name),o,r,pp(pp({},i),{},{global:f||{}})),m=F._getPTDatasets(t,r);return l||!l&&p?d?F._mergeProps(t,d,f,p,m):pp(pp(pp({},f),p),m):pp(pp({},p),m)},_getPTDatasets:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,n=`data-pc-`;return pp(pp({},t===`root`&&mp({},`${n}name`,mc(e.$name))),{},mp({},`${n}section`,mc(t)))},_getPT:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,n=arguments.length>2?arguments[2]:void 0,r=function(e){var r=n?n(e):e,i=mc(t);return r?.[i]??r};return e&&Object.hasOwn(e,`_usept`)?{_usept:e._usept,originalValue:r(e.originalValue),value:r(e.value)}:r(e)},_usePT:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,a=function(e){return n(e,r,i)};if(t&&Object.hasOwn(t,`_usept`)){var o=t._usept||e.$primevueConfig?.ptOptions||{},s=o.mergeSections,c=s===void 0||s,l=o.mergeProps,u=l!==void 0&&l,d=a(t.originalValue),f=a(t.value);return d===void 0&&f===void 0?void 0:pc(f)?f:pc(d)?d:c||!c&&f?u?F._mergeProps(e,u,d,f):pp(pp({},d),f):f}return a(t)},_useDefaultPT:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return F._usePT(e,t,n,r,i)},_loadStyles:function(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=F._getConfig(n,r),a={nonce:i==null||(e=i.csp)==null?void 0:e.nonce};F._loadCoreStyles(t,a),F._loadThemeStyles(t,a),F._loadScopedThemeStyles(t,a),F._removeThemeListeners(t),t.$loadStyles=function(){return F._loadThemeStyles(t,a)},F._themeChangeListener(t.$loadStyles)},_loadCoreStyles:function(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(!gf.isStyleNameLoaded(t.$style?.name)&&(e=t.$style)!=null&&e.name){var r;uu.loadCSS(n),(r=t.$style)==null||r.loadCSS(n),gf.setLoadedStyleName(t.$style.name)}},_loadThemeStyles:function(){var e,t,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(!(n!=null&&n.isUnstyled()||(n==null||(e=n.theme)==null?void 0:e.call(n))===`none`)){if(!Fl.isStyleNameLoaded(`common`)){var i,a,o=((i=n.$style)==null||(a=i.getCommonTheme)==null?void 0:a.call(i))||{},s=o.primitive,c=o.semantic,l=o.global,u=o.style;uu.load(s?.css,pp({name:`primitive-variables`},r)),uu.load(c?.css,pp({name:`semantic-variables`},r)),uu.load(l?.css,pp({name:`global-variables`},r)),uu.loadStyle(pp({name:`global-style`},r),u),Fl.setLoadedStyleName(`common`)}if(!Fl.isStyleNameLoaded(n.$style?.name)&&(t=n.$style)!=null&&t.name){var d,f,p,m,h=((d=n.$style)==null||(f=d.getDirectiveTheme)==null?void 0:f.call(d))||{},g=h.css,_=h.style;(p=n.$style)==null||p.load(g,pp({name:`${n.$style.name}-variables`},r)),(m=n.$style)==null||m.loadStyle(pp({name:`${n.$style.name}-style`},r),_),Fl.setLoadedStyleName(n.$style.name)}if(!Fl.isStyleNameLoaded(`layer-order`)){var v,y,b=(v=n.$style)==null||(y=v.getLayerOrderThemeCSS)==null?void 0:y.call(v);uu.load(b,pp({name:`layer-order`,first:!0},r)),Fl.setLoadedStyleName(`layer-order`)}}},_loadScopedThemeStyles:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=e.preset();if(n&&e.$attrSelector){var r,i,a=(((r=e.$style)==null||(i=r.getPresetTheme)==null?void 0:i.call(r,n,`[${e.$attrSelector}]`))||{}).css;e.scopedStyleEl=(e.$style?.load(a,pp({name:`${e.$attrSelector}-${e.$style.name}`},t))).el}},_themeChangeListener:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){};gf.clearLoadedStyleNames(),gl.on(`theme:change`,e)},_removeThemeListeners:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};gl.off(`theme:change`,e.$loadStyles),e.$loadStyles=void 0},_hook:function(e,t,n,r,i,a){var o,s,c=`on${xc(t)}`,l=F._getConfig(r,i),u=n?.$instance,d=F._usePT(u,F._getPT(r==null||(o=r.value)==null?void 0:o.pt,e),F._getOptionValue,`hooks.${c}`),f=F._useDefaultPT(u,l==null||(s=l.pt)==null||(s=s.directives)==null?void 0:s[e],F._getOptionValue,`hooks.${c}`),p={el:n,binding:r,vnode:i,prevVnode:a};d?.(u,p),f?.(u,p)},_mergeProps:function(){var e=arguments.length>1?arguments[1]:void 0,t=[...arguments].slice(2);return ac(e)?e.apply(void 0,t):N.apply(void 0,t)},_extend:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=function(n,r,i,a,o){var s,c,l;r._$instances=r._$instances||{};var u=F._getConfig(i,a),d=r._$instances[e]||{},f=nc(d)?pp(pp({},t),t?.methods):{};r._$instances[e]=pp(pp({},d),{},{$name:e,$host:r,$binding:i,$modifiers:i?.modifiers,$value:i?.value,$el:d.$el||r||void 0,$style:pp({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadStyle:function(){}},t?.style),$primevueConfig:u,$attrSelector:(s=r.$pd)==null||(s=s[e])==null?void 0:s.attrSelector,defaultPT:function(){return F._getPT(u?.pt,void 0,function(t){var n;return t==null||(n=t.directives)==null?void 0:n[e]})},isUnstyled:function(){var t,n;return((t=r._$instances[e])==null||(t=t.$binding)==null||(t=t.value)==null?void 0:t.unstyled)===void 0?u?.unstyled:(n=r._$instances[e])==null||(n=n.$binding)==null||(n=n.value)==null?void 0:n.unstyled},theme:function(){var t;return(t=r._$instances[e])==null||(t=t.$primevueConfig)==null?void 0:t.theme},preset:function(){var t;return(t=r._$instances[e])==null||(t=t.$binding)==null||(t=t.value)==null?void 0:t.dt},ptm:function(){var t,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return F._getPTValue(r._$instances[e],(t=r._$instances[e])==null||(t=t.$binding)==null||(t=t.value)==null?void 0:t.pt,n,pp({},i))},ptmo:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return F._getPTValue(r._$instances[e],t,n,i,!1)},cx:function(){var t,n,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(t=r._$instances[e])!=null&&t.isUnstyled()?void 0:F._getOptionValue((n=r._$instances[e])==null||(n=n.$style)==null?void 0:n.classes,i,pp({},a))},sx:function(){var t,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return i?F._getOptionValue((t=r._$instances[e])==null||(t=t.$style)==null?void 0:t.inlineStyles,n,pp({},a)):void 0}},f),r.$instance=r._$instances[e],(c=(l=r.$instance)[n])==null||c.call(l,r,i,a,o),r[`\$${e}`]=r.$instance,F._hook(e,n,r,i,a,o),r.$pd||={},r.$pd[e]=pp(pp({},r.$pd?.[e]),{},{name:e,instance:r._$instances[e]})},r=function(t){var n,r,i,a=t._$instances[e],o=a?.watch,s=function(e){var t,n=e.newValue,r=e.oldValue;return o==null||(t=o.config)==null?void 0:t.call(a,n,r)},c=function(e){var t,n=e.newValue,r=e.oldValue;return o==null||(t=o[`config.ripple`])==null?void 0:t.call(a,n,r)};a.$watchersCallback={config:s,"config.ripple":c},o==null||(n=o.config)==null||n.call(a,a?.$primevueConfig),du.on(`config:change`,s),o==null||(r=o[`config.ripple`])==null||r.call(a,a==null||(i=a.$primevueConfig)==null?void 0:i.ripple),du.on(`config:ripple:change`,c)},i=function(t){var n=t._$instances[e].$watchersCallback;n&&(du.off(`config:change`,n.config),du.off(`config:ripple:change`,n[`config.ripple`]),t._$instances[e].$watchersCallback=void 0)};return{created:function(t,r,i,a){t.$pd||={},t.$pd[e]={name:e,attrSelector:rl(`pd`)},n(`created`,t,r,i,a)},beforeMount:function(t,i,a,o){F._loadStyles(t.$pd[e]?.instance,i,a),n(`beforeMount`,t,i,a,o),r(t)},mounted:function(t,r,i,a){F._loadStyles(t.$pd[e]?.instance,r,i),n(`mounted`,t,r,i,a)},beforeUpdate:function(e,t,r,i){n(`beforeUpdate`,e,t,r,i)},updated:function(t,r,i,a){F._loadStyles(t.$pd[e]?.instance,r,i),n(`updated`,t,r,i,a)},beforeUnmount:function(t,r,a,o){i(t),F._removeThemeListeners(t.$pd[e]?.instance),n(`beforeUnmount`,t,r,a,o)},unmounted:function(t,r,i,a){var o;(o=t.$pd[e])==null||(o=o.instance)==null||(o=o.scopedStyleEl)==null||(o=o.value)==null||o.remove(),n(`unmounted`,t,r,i,a)}}},extend:function(){var e=op(F._getMeta.apply(F,arguments),2),t=e[0],n=e[1];return pp({extend:function(){var e=op(F._getMeta.apply(F,arguments),2),t=e[0],r=e[1];return F.extend(t,pp(pp(pp({},n),n?.methods),r))}},F._extend(t,n))}},_p=uu.extend({name:`ripple-directive`,style:`
|
|
282
|
-
.p-ink {
|
|
283
|
-
display: block;
|
|
284
|
-
position: absolute;
|
|
285
|
-
background: dt('ripple.background');
|
|
286
|
-
border-radius: 100%;
|
|
287
|
-
transform: scale(0);
|
|
288
|
-
pointer-events: none;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
.p-ink-active {
|
|
292
|
-
animation: ripple 0.4s linear;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
@keyframes ripple {
|
|
296
|
-
100% {
|
|
297
|
-
opacity: 0;
|
|
298
|
-
transform: scale(2.5);
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
`,classes:{root:`p-ink`}}),vp=F.extend({style:_p});function yp(e){"@babel/helpers - typeof";return yp=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},yp(e)}function bp(e){return wp(e)||Cp(e)||Sp(e)||xp()}function xp(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
302
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Sp(e,t){if(e){if(typeof e==`string`)return Tp(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Tp(e,t):void 0}}function Cp(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function wp(e){if(Array.isArray(e))return Tp(e)}function Tp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ep(e,t,n){return(t=Dp(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dp(e){var t=Op(e,`string`);return yp(t)==`symbol`?t:t+``}function Op(e,t){if(yp(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(yp(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var kp=vp.extend(`ripple`,{watch:{"config.ripple":function(e){e?(this.createRipple(this.$host),this.bindEvents(this.$host),this.$host.setAttribute(`data-pd-ripple`,!0),this.$host.style.overflow=`hidden`,this.$host.style.position=`relative`):(this.remove(this.$host),this.$host.removeAttribute(`data-pd-ripple`))}},unmounted:function(e){this.remove(e)},timeout:void 0,methods:{bindEvents:function(e){e.addEventListener(`mousedown`,this.onMouseDown.bind(this))},unbindEvents:function(e){e.removeEventListener(`mousedown`,this.onMouseDown.bind(this))},createRipple:function(e){var t=this.getInk(e);t||(t=Hc(`span`,Ep(Ep({role:`presentation`,"aria-hidden":!0,"data-p-ink":!0,"data-p-ink-active":!1,class:!this.isUnstyled()&&this.cx(`root`),onAnimationEnd:this.onAnimationEnd.bind(this)},this.$attrSelector,``),`p-bind`,this.ptm(`root`))),e.appendChild(t),this.$el=t)},remove:function(e){var t=this.getInk(e);t&&(this.$host.style.overflow=``,this.$host.style.position=``,this.unbindEvents(e),t.removeEventListener(`animationend`,this.onAnimationEnd),t.remove())},onMouseDown:function(e){var t=this,n=e.currentTarget,r=this.getInk(n);if(r&&getComputedStyle(r,null).display!==`none`){if(!this.isUnstyled()&&Dc(r,`p-ink-active`),r.setAttribute(`data-p-ink-active`,`false`),!qc(r)&&!Qc(r)){var i=Math.max(Lc(n),Yc(n));r.style.height=i+`px`,r.style.width=i+`px`}var a=Jc(n),o=e.pageX-a.left+document.body.scrollTop-Qc(r)/2,s=e.pageY-a.top+document.body.scrollLeft-qc(r)/2;r.style.top=s+`px`,r.style.left=o+`px`,!this.isUnstyled()&&Ec(r,`p-ink-active`),r.setAttribute(`data-p-ink-active`,`true`),this.timeout=setTimeout(function(){r&&(!t.isUnstyled()&&Dc(r,`p-ink-active`),r.setAttribute(`data-p-ink-active`,`false`))},401)}},onAnimationEnd:function(e){this.timeout&&clearTimeout(this.timeout),!this.isUnstyled()&&Dc(e.currentTarget,`p-ink-active`),e.currentTarget.setAttribute(`data-p-ink-active`,`false`)},getInk:function(e){return e&&e.children?bp(e.children).find(function(e){return Kc(e,`data-pc-name`)===`ripple`}):void 0}}}),Ap=`
|
|
303
|
-
.p-button {
|
|
304
|
-
display: inline-flex;
|
|
305
|
-
cursor: pointer;
|
|
306
|
-
user-select: none;
|
|
307
|
-
align-items: center;
|
|
308
|
-
justify-content: center;
|
|
309
|
-
overflow: hidden;
|
|
310
|
-
position: relative;
|
|
311
|
-
color: dt('button.primary.color');
|
|
312
|
-
background: dt('button.primary.background');
|
|
313
|
-
border: 1px solid dt('button.primary.border.color');
|
|
314
|
-
padding: dt('button.padding.y') dt('button.padding.x');
|
|
315
|
-
font-size: 1rem;
|
|
316
|
-
font-family: inherit;
|
|
317
|
-
font-feature-settings: inherit;
|
|
318
|
-
transition:
|
|
319
|
-
background dt('button.transition.duration'),
|
|
320
|
-
color dt('button.transition.duration'),
|
|
321
|
-
border-color dt('button.transition.duration'),
|
|
322
|
-
outline-color dt('button.transition.duration'),
|
|
323
|
-
box-shadow dt('button.transition.duration');
|
|
324
|
-
border-radius: dt('button.border.radius');
|
|
325
|
-
outline-color: transparent;
|
|
326
|
-
gap: dt('button.gap');
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.p-button:disabled {
|
|
330
|
-
cursor: default;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.p-button-icon-right {
|
|
334
|
-
order: 1;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.p-button-icon-right:dir(rtl) {
|
|
338
|
-
order: -1;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
.p-button:not(.p-button-vertical) .p-button-icon:not(.p-button-icon-right):dir(rtl) {
|
|
342
|
-
order: 1;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.p-button-icon-bottom {
|
|
346
|
-
order: 2;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
.p-button-icon-only {
|
|
350
|
-
width: dt('button.icon.only.width');
|
|
351
|
-
padding-inline-start: 0;
|
|
352
|
-
padding-inline-end: 0;
|
|
353
|
-
gap: 0;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
.p-button-icon-only.p-button-rounded {
|
|
357
|
-
border-radius: 50%;
|
|
358
|
-
height: dt('button.icon.only.width');
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.p-button-icon-only .p-button-label {
|
|
362
|
-
visibility: hidden;
|
|
363
|
-
width: 0;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
.p-button-icon-only::after {
|
|
367
|
-
content: "\xA0";
|
|
368
|
-
visibility: hidden;
|
|
369
|
-
width: 0;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
.p-button-sm {
|
|
373
|
-
font-size: dt('button.sm.font.size');
|
|
374
|
-
padding: dt('button.sm.padding.y') dt('button.sm.padding.x');
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
.p-button-sm .p-button-icon {
|
|
378
|
-
font-size: dt('button.sm.font.size');
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
.p-button-sm.p-button-icon-only {
|
|
382
|
-
width: dt('button.sm.icon.only.width');
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
.p-button-sm.p-button-icon-only.p-button-rounded {
|
|
386
|
-
height: dt('button.sm.icon.only.width');
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
.p-button-lg {
|
|
390
|
-
font-size: dt('button.lg.font.size');
|
|
391
|
-
padding: dt('button.lg.padding.y') dt('button.lg.padding.x');
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
.p-button-lg .p-button-icon {
|
|
395
|
-
font-size: dt('button.lg.font.size');
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.p-button-lg.p-button-icon-only {
|
|
399
|
-
width: dt('button.lg.icon.only.width');
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
.p-button-lg.p-button-icon-only.p-button-rounded {
|
|
403
|
-
height: dt('button.lg.icon.only.width');
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
.p-button-vertical {
|
|
407
|
-
flex-direction: column;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
.p-button-label {
|
|
411
|
-
font-weight: dt('button.label.font.weight');
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
.p-button-fluid {
|
|
415
|
-
width: 100%;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
.p-button-fluid.p-button-icon-only {
|
|
419
|
-
width: dt('button.icon.only.width');
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
.p-button:not(:disabled):hover {
|
|
423
|
-
background: dt('button.primary.hover.background');
|
|
424
|
-
border: 1px solid dt('button.primary.hover.border.color');
|
|
425
|
-
color: dt('button.primary.hover.color');
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
.p-button:not(:disabled):active {
|
|
429
|
-
background: dt('button.primary.active.background');
|
|
430
|
-
border: 1px solid dt('button.primary.active.border.color');
|
|
431
|
-
color: dt('button.primary.active.color');
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
.p-button:focus-visible {
|
|
435
|
-
box-shadow: dt('button.primary.focus.ring.shadow');
|
|
436
|
-
outline: dt('button.focus.ring.width') dt('button.focus.ring.style') dt('button.primary.focus.ring.color');
|
|
437
|
-
outline-offset: dt('button.focus.ring.offset');
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
.p-button .p-badge {
|
|
441
|
-
min-width: dt('button.badge.size');
|
|
442
|
-
height: dt('button.badge.size');
|
|
443
|
-
line-height: dt('button.badge.size');
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
.p-button-raised {
|
|
447
|
-
box-shadow: dt('button.raised.shadow');
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
.p-button-rounded {
|
|
451
|
-
border-radius: dt('button.rounded.border.radius');
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
.p-button-secondary {
|
|
455
|
-
background: dt('button.secondary.background');
|
|
456
|
-
border: 1px solid dt('button.secondary.border.color');
|
|
457
|
-
color: dt('button.secondary.color');
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
.p-button-secondary:not(:disabled):hover {
|
|
461
|
-
background: dt('button.secondary.hover.background');
|
|
462
|
-
border: 1px solid dt('button.secondary.hover.border.color');
|
|
463
|
-
color: dt('button.secondary.hover.color');
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
.p-button-secondary:not(:disabled):active {
|
|
467
|
-
background: dt('button.secondary.active.background');
|
|
468
|
-
border: 1px solid dt('button.secondary.active.border.color');
|
|
469
|
-
color: dt('button.secondary.active.color');
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
.p-button-secondary:focus-visible {
|
|
473
|
-
outline-color: dt('button.secondary.focus.ring.color');
|
|
474
|
-
box-shadow: dt('button.secondary.focus.ring.shadow');
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
.p-button-success {
|
|
478
|
-
background: dt('button.success.background');
|
|
479
|
-
border: 1px solid dt('button.success.border.color');
|
|
480
|
-
color: dt('button.success.color');
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
.p-button-success:not(:disabled):hover {
|
|
484
|
-
background: dt('button.success.hover.background');
|
|
485
|
-
border: 1px solid dt('button.success.hover.border.color');
|
|
486
|
-
color: dt('button.success.hover.color');
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
.p-button-success:not(:disabled):active {
|
|
490
|
-
background: dt('button.success.active.background');
|
|
491
|
-
border: 1px solid dt('button.success.active.border.color');
|
|
492
|
-
color: dt('button.success.active.color');
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
.p-button-success:focus-visible {
|
|
496
|
-
outline-color: dt('button.success.focus.ring.color');
|
|
497
|
-
box-shadow: dt('button.success.focus.ring.shadow');
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
.p-button-info {
|
|
501
|
-
background: dt('button.info.background');
|
|
502
|
-
border: 1px solid dt('button.info.border.color');
|
|
503
|
-
color: dt('button.info.color');
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
.p-button-info:not(:disabled):hover {
|
|
507
|
-
background: dt('button.info.hover.background');
|
|
508
|
-
border: 1px solid dt('button.info.hover.border.color');
|
|
509
|
-
color: dt('button.info.hover.color');
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
.p-button-info:not(:disabled):active {
|
|
513
|
-
background: dt('button.info.active.background');
|
|
514
|
-
border: 1px solid dt('button.info.active.border.color');
|
|
515
|
-
color: dt('button.info.active.color');
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
.p-button-info:focus-visible {
|
|
519
|
-
outline-color: dt('button.info.focus.ring.color');
|
|
520
|
-
box-shadow: dt('button.info.focus.ring.shadow');
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
.p-button-warn {
|
|
524
|
-
background: dt('button.warn.background');
|
|
525
|
-
border: 1px solid dt('button.warn.border.color');
|
|
526
|
-
color: dt('button.warn.color');
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
.p-button-warn:not(:disabled):hover {
|
|
530
|
-
background: dt('button.warn.hover.background');
|
|
531
|
-
border: 1px solid dt('button.warn.hover.border.color');
|
|
532
|
-
color: dt('button.warn.hover.color');
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
.p-button-warn:not(:disabled):active {
|
|
536
|
-
background: dt('button.warn.active.background');
|
|
537
|
-
border: 1px solid dt('button.warn.active.border.color');
|
|
538
|
-
color: dt('button.warn.active.color');
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
.p-button-warn:focus-visible {
|
|
542
|
-
outline-color: dt('button.warn.focus.ring.color');
|
|
543
|
-
box-shadow: dt('button.warn.focus.ring.shadow');
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
.p-button-help {
|
|
547
|
-
background: dt('button.help.background');
|
|
548
|
-
border: 1px solid dt('button.help.border.color');
|
|
549
|
-
color: dt('button.help.color');
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
.p-button-help:not(:disabled):hover {
|
|
553
|
-
background: dt('button.help.hover.background');
|
|
554
|
-
border: 1px solid dt('button.help.hover.border.color');
|
|
555
|
-
color: dt('button.help.hover.color');
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
.p-button-help:not(:disabled):active {
|
|
559
|
-
background: dt('button.help.active.background');
|
|
560
|
-
border: 1px solid dt('button.help.active.border.color');
|
|
561
|
-
color: dt('button.help.active.color');
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
.p-button-help:focus-visible {
|
|
565
|
-
outline-color: dt('button.help.focus.ring.color');
|
|
566
|
-
box-shadow: dt('button.help.focus.ring.shadow');
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
.p-button-danger {
|
|
570
|
-
background: dt('button.danger.background');
|
|
571
|
-
border: 1px solid dt('button.danger.border.color');
|
|
572
|
-
color: dt('button.danger.color');
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
.p-button-danger:not(:disabled):hover {
|
|
576
|
-
background: dt('button.danger.hover.background');
|
|
577
|
-
border: 1px solid dt('button.danger.hover.border.color');
|
|
578
|
-
color: dt('button.danger.hover.color');
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
.p-button-danger:not(:disabled):active {
|
|
582
|
-
background: dt('button.danger.active.background');
|
|
583
|
-
border: 1px solid dt('button.danger.active.border.color');
|
|
584
|
-
color: dt('button.danger.active.color');
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
.p-button-danger:focus-visible {
|
|
588
|
-
outline-color: dt('button.danger.focus.ring.color');
|
|
589
|
-
box-shadow: dt('button.danger.focus.ring.shadow');
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
.p-button-contrast {
|
|
593
|
-
background: dt('button.contrast.background');
|
|
594
|
-
border: 1px solid dt('button.contrast.border.color');
|
|
595
|
-
color: dt('button.contrast.color');
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
.p-button-contrast:not(:disabled):hover {
|
|
599
|
-
background: dt('button.contrast.hover.background');
|
|
600
|
-
border: 1px solid dt('button.contrast.hover.border.color');
|
|
601
|
-
color: dt('button.contrast.hover.color');
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
.p-button-contrast:not(:disabled):active {
|
|
605
|
-
background: dt('button.contrast.active.background');
|
|
606
|
-
border: 1px solid dt('button.contrast.active.border.color');
|
|
607
|
-
color: dt('button.contrast.active.color');
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
.p-button-contrast:focus-visible {
|
|
611
|
-
outline-color: dt('button.contrast.focus.ring.color');
|
|
612
|
-
box-shadow: dt('button.contrast.focus.ring.shadow');
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
.p-button-outlined {
|
|
616
|
-
background: transparent;
|
|
617
|
-
border-color: dt('button.outlined.primary.border.color');
|
|
618
|
-
color: dt('button.outlined.primary.color');
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
.p-button-outlined:not(:disabled):hover {
|
|
622
|
-
background: dt('button.outlined.primary.hover.background');
|
|
623
|
-
border-color: dt('button.outlined.primary.border.color');
|
|
624
|
-
color: dt('button.outlined.primary.color');
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
.p-button-outlined:not(:disabled):active {
|
|
628
|
-
background: dt('button.outlined.primary.active.background');
|
|
629
|
-
border-color: dt('button.outlined.primary.border.color');
|
|
630
|
-
color: dt('button.outlined.primary.color');
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
.p-button-outlined.p-button-secondary {
|
|
634
|
-
border-color: dt('button.outlined.secondary.border.color');
|
|
635
|
-
color: dt('button.outlined.secondary.color');
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
.p-button-outlined.p-button-secondary:not(:disabled):hover {
|
|
639
|
-
background: dt('button.outlined.secondary.hover.background');
|
|
640
|
-
border-color: dt('button.outlined.secondary.border.color');
|
|
641
|
-
color: dt('button.outlined.secondary.color');
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
.p-button-outlined.p-button-secondary:not(:disabled):active {
|
|
645
|
-
background: dt('button.outlined.secondary.active.background');
|
|
646
|
-
border-color: dt('button.outlined.secondary.border.color');
|
|
647
|
-
color: dt('button.outlined.secondary.color');
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
.p-button-outlined.p-button-success {
|
|
651
|
-
border-color: dt('button.outlined.success.border.color');
|
|
652
|
-
color: dt('button.outlined.success.color');
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
.p-button-outlined.p-button-success:not(:disabled):hover {
|
|
656
|
-
background: dt('button.outlined.success.hover.background');
|
|
657
|
-
border-color: dt('button.outlined.success.border.color');
|
|
658
|
-
color: dt('button.outlined.success.color');
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
.p-button-outlined.p-button-success:not(:disabled):active {
|
|
662
|
-
background: dt('button.outlined.success.active.background');
|
|
663
|
-
border-color: dt('button.outlined.success.border.color');
|
|
664
|
-
color: dt('button.outlined.success.color');
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
.p-button-outlined.p-button-info {
|
|
668
|
-
border-color: dt('button.outlined.info.border.color');
|
|
669
|
-
color: dt('button.outlined.info.color');
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
.p-button-outlined.p-button-info:not(:disabled):hover {
|
|
673
|
-
background: dt('button.outlined.info.hover.background');
|
|
674
|
-
border-color: dt('button.outlined.info.border.color');
|
|
675
|
-
color: dt('button.outlined.info.color');
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
.p-button-outlined.p-button-info:not(:disabled):active {
|
|
679
|
-
background: dt('button.outlined.info.active.background');
|
|
680
|
-
border-color: dt('button.outlined.info.border.color');
|
|
681
|
-
color: dt('button.outlined.info.color');
|
|
682
|
-
}
|
|
683
|
-
|
|
684
|
-
.p-button-outlined.p-button-warn {
|
|
685
|
-
border-color: dt('button.outlined.warn.border.color');
|
|
686
|
-
color: dt('button.outlined.warn.color');
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
.p-button-outlined.p-button-warn:not(:disabled):hover {
|
|
690
|
-
background: dt('button.outlined.warn.hover.background');
|
|
691
|
-
border-color: dt('button.outlined.warn.border.color');
|
|
692
|
-
color: dt('button.outlined.warn.color');
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
.p-button-outlined.p-button-warn:not(:disabled):active {
|
|
696
|
-
background: dt('button.outlined.warn.active.background');
|
|
697
|
-
border-color: dt('button.outlined.warn.border.color');
|
|
698
|
-
color: dt('button.outlined.warn.color');
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
.p-button-outlined.p-button-help {
|
|
702
|
-
border-color: dt('button.outlined.help.border.color');
|
|
703
|
-
color: dt('button.outlined.help.color');
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
.p-button-outlined.p-button-help:not(:disabled):hover {
|
|
707
|
-
background: dt('button.outlined.help.hover.background');
|
|
708
|
-
border-color: dt('button.outlined.help.border.color');
|
|
709
|
-
color: dt('button.outlined.help.color');
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
.p-button-outlined.p-button-help:not(:disabled):active {
|
|
713
|
-
background: dt('button.outlined.help.active.background');
|
|
714
|
-
border-color: dt('button.outlined.help.border.color');
|
|
715
|
-
color: dt('button.outlined.help.color');
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
.p-button-outlined.p-button-danger {
|
|
719
|
-
border-color: dt('button.outlined.danger.border.color');
|
|
720
|
-
color: dt('button.outlined.danger.color');
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
.p-button-outlined.p-button-danger:not(:disabled):hover {
|
|
724
|
-
background: dt('button.outlined.danger.hover.background');
|
|
725
|
-
border-color: dt('button.outlined.danger.border.color');
|
|
726
|
-
color: dt('button.outlined.danger.color');
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
.p-button-outlined.p-button-danger:not(:disabled):active {
|
|
730
|
-
background: dt('button.outlined.danger.active.background');
|
|
731
|
-
border-color: dt('button.outlined.danger.border.color');
|
|
732
|
-
color: dt('button.outlined.danger.color');
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
.p-button-outlined.p-button-contrast {
|
|
736
|
-
border-color: dt('button.outlined.contrast.border.color');
|
|
737
|
-
color: dt('button.outlined.contrast.color');
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
.p-button-outlined.p-button-contrast:not(:disabled):hover {
|
|
741
|
-
background: dt('button.outlined.contrast.hover.background');
|
|
742
|
-
border-color: dt('button.outlined.contrast.border.color');
|
|
743
|
-
color: dt('button.outlined.contrast.color');
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
.p-button-outlined.p-button-contrast:not(:disabled):active {
|
|
747
|
-
background: dt('button.outlined.contrast.active.background');
|
|
748
|
-
border-color: dt('button.outlined.contrast.border.color');
|
|
749
|
-
color: dt('button.outlined.contrast.color');
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
.p-button-outlined.p-button-plain {
|
|
753
|
-
border-color: dt('button.outlined.plain.border.color');
|
|
754
|
-
color: dt('button.outlined.plain.color');
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
.p-button-outlined.p-button-plain:not(:disabled):hover {
|
|
758
|
-
background: dt('button.outlined.plain.hover.background');
|
|
759
|
-
border-color: dt('button.outlined.plain.border.color');
|
|
760
|
-
color: dt('button.outlined.plain.color');
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
.p-button-outlined.p-button-plain:not(:disabled):active {
|
|
764
|
-
background: dt('button.outlined.plain.active.background');
|
|
765
|
-
border-color: dt('button.outlined.plain.border.color');
|
|
766
|
-
color: dt('button.outlined.plain.color');
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
.p-button-text {
|
|
770
|
-
background: transparent;
|
|
771
|
-
border-color: transparent;
|
|
772
|
-
color: dt('button.text.primary.color');
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
.p-button-text:not(:disabled):hover {
|
|
776
|
-
background: dt('button.text.primary.hover.background');
|
|
777
|
-
border-color: transparent;
|
|
778
|
-
color: dt('button.text.primary.color');
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
.p-button-text:not(:disabled):active {
|
|
782
|
-
background: dt('button.text.primary.active.background');
|
|
783
|
-
border-color: transparent;
|
|
784
|
-
color: dt('button.text.primary.color');
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
.p-button-text.p-button-secondary {
|
|
788
|
-
background: transparent;
|
|
789
|
-
border-color: transparent;
|
|
790
|
-
color: dt('button.text.secondary.color');
|
|
791
|
-
}
|
|
792
|
-
|
|
793
|
-
.p-button-text.p-button-secondary:not(:disabled):hover {
|
|
794
|
-
background: dt('button.text.secondary.hover.background');
|
|
795
|
-
border-color: transparent;
|
|
796
|
-
color: dt('button.text.secondary.color');
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
.p-button-text.p-button-secondary:not(:disabled):active {
|
|
800
|
-
background: dt('button.text.secondary.active.background');
|
|
801
|
-
border-color: transparent;
|
|
802
|
-
color: dt('button.text.secondary.color');
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
.p-button-text.p-button-success {
|
|
806
|
-
background: transparent;
|
|
807
|
-
border-color: transparent;
|
|
808
|
-
color: dt('button.text.success.color');
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
.p-button-text.p-button-success:not(:disabled):hover {
|
|
812
|
-
background: dt('button.text.success.hover.background');
|
|
813
|
-
border-color: transparent;
|
|
814
|
-
color: dt('button.text.success.color');
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
.p-button-text.p-button-success:not(:disabled):active {
|
|
818
|
-
background: dt('button.text.success.active.background');
|
|
819
|
-
border-color: transparent;
|
|
820
|
-
color: dt('button.text.success.color');
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
.p-button-text.p-button-info {
|
|
824
|
-
background: transparent;
|
|
825
|
-
border-color: transparent;
|
|
826
|
-
color: dt('button.text.info.color');
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
.p-button-text.p-button-info:not(:disabled):hover {
|
|
830
|
-
background: dt('button.text.info.hover.background');
|
|
831
|
-
border-color: transparent;
|
|
832
|
-
color: dt('button.text.info.color');
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
.p-button-text.p-button-info:not(:disabled):active {
|
|
836
|
-
background: dt('button.text.info.active.background');
|
|
837
|
-
border-color: transparent;
|
|
838
|
-
color: dt('button.text.info.color');
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
.p-button-text.p-button-warn {
|
|
842
|
-
background: transparent;
|
|
843
|
-
border-color: transparent;
|
|
844
|
-
color: dt('button.text.warn.color');
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
.p-button-text.p-button-warn:not(:disabled):hover {
|
|
848
|
-
background: dt('button.text.warn.hover.background');
|
|
849
|
-
border-color: transparent;
|
|
850
|
-
color: dt('button.text.warn.color');
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
.p-button-text.p-button-warn:not(:disabled):active {
|
|
854
|
-
background: dt('button.text.warn.active.background');
|
|
855
|
-
border-color: transparent;
|
|
856
|
-
color: dt('button.text.warn.color');
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
.p-button-text.p-button-help {
|
|
860
|
-
background: transparent;
|
|
861
|
-
border-color: transparent;
|
|
862
|
-
color: dt('button.text.help.color');
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
.p-button-text.p-button-help:not(:disabled):hover {
|
|
866
|
-
background: dt('button.text.help.hover.background');
|
|
867
|
-
border-color: transparent;
|
|
868
|
-
color: dt('button.text.help.color');
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
.p-button-text.p-button-help:not(:disabled):active {
|
|
872
|
-
background: dt('button.text.help.active.background');
|
|
873
|
-
border-color: transparent;
|
|
874
|
-
color: dt('button.text.help.color');
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
.p-button-text.p-button-danger {
|
|
878
|
-
background: transparent;
|
|
879
|
-
border-color: transparent;
|
|
880
|
-
color: dt('button.text.danger.color');
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
.p-button-text.p-button-danger:not(:disabled):hover {
|
|
884
|
-
background: dt('button.text.danger.hover.background');
|
|
885
|
-
border-color: transparent;
|
|
886
|
-
color: dt('button.text.danger.color');
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
.p-button-text.p-button-danger:not(:disabled):active {
|
|
890
|
-
background: dt('button.text.danger.active.background');
|
|
891
|
-
border-color: transparent;
|
|
892
|
-
color: dt('button.text.danger.color');
|
|
893
|
-
}
|
|
894
|
-
|
|
895
|
-
.p-button-text.p-button-contrast {
|
|
896
|
-
background: transparent;
|
|
897
|
-
border-color: transparent;
|
|
898
|
-
color: dt('button.text.contrast.color');
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
.p-button-text.p-button-contrast:not(:disabled):hover {
|
|
902
|
-
background: dt('button.text.contrast.hover.background');
|
|
903
|
-
border-color: transparent;
|
|
904
|
-
color: dt('button.text.contrast.color');
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
.p-button-text.p-button-contrast:not(:disabled):active {
|
|
908
|
-
background: dt('button.text.contrast.active.background');
|
|
909
|
-
border-color: transparent;
|
|
910
|
-
color: dt('button.text.contrast.color');
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
.p-button-text.p-button-plain {
|
|
914
|
-
background: transparent;
|
|
915
|
-
border-color: transparent;
|
|
916
|
-
color: dt('button.text.plain.color');
|
|
917
|
-
}
|
|
918
|
-
|
|
919
|
-
.p-button-text.p-button-plain:not(:disabled):hover {
|
|
920
|
-
background: dt('button.text.plain.hover.background');
|
|
921
|
-
border-color: transparent;
|
|
922
|
-
color: dt('button.text.plain.color');
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
.p-button-text.p-button-plain:not(:disabled):active {
|
|
926
|
-
background: dt('button.text.plain.active.background');
|
|
927
|
-
border-color: transparent;
|
|
928
|
-
color: dt('button.text.plain.color');
|
|
929
|
-
}
|
|
930
|
-
|
|
931
|
-
.p-button-link {
|
|
932
|
-
background: transparent;
|
|
933
|
-
border-color: transparent;
|
|
934
|
-
color: dt('button.link.color');
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
.p-button-link:not(:disabled):hover {
|
|
938
|
-
background: transparent;
|
|
939
|
-
border-color: transparent;
|
|
940
|
-
color: dt('button.link.hover.color');
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
.p-button-link:not(:disabled):hover .p-button-label {
|
|
944
|
-
text-decoration: underline;
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
.p-button-link:not(:disabled):active {
|
|
948
|
-
background: transparent;
|
|
949
|
-
border-color: transparent;
|
|
950
|
-
color: dt('button.link.active.color');
|
|
951
|
-
}
|
|
952
|
-
`;function jp(e){"@babel/helpers - typeof";return jp=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},jp(e)}function Mp(e,t,n){return(t=Np(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Np(e){var t=Pp(e,`string`);return jp(t)==`symbol`?t:t+``}function Pp(e,t){if(jp(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(jp(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Fp=uu.extend({name:`button`,style:Ap,classes:{root:function(e){var t=e.instance,n=e.props;return[`p-button p-component`,Mp(Mp(Mp(Mp(Mp(Mp(Mp(Mp(Mp({"p-button-icon-only":t.hasIcon&&!n.label&&!n.badge,"p-button-vertical":(n.iconPos===`top`||n.iconPos===`bottom`)&&n.label,"p-button-loading":n.loading,"p-button-link":n.link||n.variant===`link`},`p-button-${n.severity}`,n.severity),`p-button-raised`,n.raised),`p-button-rounded`,n.rounded),`p-button-text`,n.text||n.variant===`text`),`p-button-outlined`,n.outlined||n.variant===`outlined`),`p-button-sm`,n.size===`small`),`p-button-lg`,n.size===`large`),`p-button-plain`,n.plain),`p-button-fluid`,t.hasFluid)]},loadingIcon:`p-button-loading-icon`,icon:function(e){var t=e.props;return[`p-button-icon`,Mp({},`p-button-icon-${t.iconPos}`,t.label)]},label:`p-button-label`}}),Ip={name:`BaseButton`,extends:Nf,props:{label:{type:String,default:null},icon:{type:String,default:null},iconPos:{type:String,default:`left`},iconClass:{type:[String,Object],default:null},badge:{type:String,default:null},badgeClass:{type:[String,Object],default:null},badgeSeverity:{type:String,default:`secondary`},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:void 0},as:{type:[String,Object],default:`BUTTON`},asChild:{type:Boolean,default:!1},link:{type:Boolean,default:!1},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},variant:{type:String,default:null},plain:{type:Boolean,default:!1},fluid:{type:Boolean,default:null}},style:Fp,provide:function(){return{$pcButton:this,$parentInstance:this}}};function Lp(e){"@babel/helpers - typeof";return Lp=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Lp(e)}function Rp(e,t,n){return(t=zp(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zp(e){var t=Bp(e,`string`);return Lp(t)==`symbol`?t:t+``}function Bp(e,t){if(Lp(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Lp(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Vp={name:`Button`,extends:Ip,inheritAttrs:!1,inject:{$pcFluid:{default:null}},methods:{getPTOptions:function(e){return(e===`root`?this.ptmi:this.ptm)(e,{context:{disabled:this.disabled}})}},computed:{disabled:function(){return this.$attrs.disabled||this.$attrs.disabled===``||this.loading},defaultAriaLabel:function(){return this.label?this.label+(this.badge?` `+this.badge:``):this.$attrs.ariaLabel},hasIcon:function(){return this.icon||this.$slots.icon},attrs:function(){return N(this.asAttrs,this.a11yAttrs,this.getPTOptions(`root`))},asAttrs:function(){return this.as===`BUTTON`?{type:`button`,disabled:this.disabled}:void 0},a11yAttrs:function(){return{"aria-label":this.defaultAriaLabel,"data-pc-name":`button`,"data-p-disabled":this.disabled,"data-p-severity":this.severity}},hasFluid:function(){return nc(this.fluid)?!!this.$pcFluid:this.fluid},dataP:function(){return wc(Rp(Rp(Rp(Rp(Rp(Rp(Rp(Rp(Rp(Rp({},this.size,this.size),`icon-only`,this.hasIcon&&!this.label&&!this.badge),`loading`,this.loading),`fluid`,this.hasFluid),`rounded`,this.rounded),`raised`,this.raised),`outlined`,this.outlined||this.variant===`outlined`),`text`,this.text||this.variant===`text`),`link`,this.link||this.variant===`link`),`vertical`,(this.iconPos===`top`||this.iconPos===`bottom`)&&this.label))},dataIconP:function(){return wc(Rp(Rp({},this.iconPos,this.iconPos),this.size,this.size))},dataLabelP:function(){return wc(Rp(Rp({},this.size,this.size),`icon-only`,this.hasIcon&&!this.label&&!this.badge))}},components:{SpinnerIcon:Hf,Badge:np},directives:{ripple:kp}},Hp=[`data-p`],Up=[`data-p`];function Wp(e,t,n,r,i,a){var o=si(`SpinnerIcon`),s=si(`Badge`),c=ui(`ripple`);return e.asChild?mi(e.$slots,`default`,{key:1,class:be(e.cx(`root`)),a11yAttrs:a.a11yAttrs}):Jn((D(),Ba(li(e.as),N({key:0,class:e.cx(`root`),"data-p":a.dataP},a.attrs),{default:qn(function(){return[mi(e.$slots,`default`,{},function(){return[e.loading?mi(e.$slots,`loadingicon`,N({key:0,class:[e.cx(`loadingIcon`),e.cx(`icon`)]},e.ptm(`loadingIcon`)),function(){return[e.loadingIcon?(D(),O(`span`,N({key:0,class:[e.cx(`loadingIcon`),e.cx(`icon`),e.loadingIcon]},e.ptm(`loadingIcon`)),null,16)):(D(),Ba(o,N({key:1,class:[e.cx(`loadingIcon`),e.cx(`icon`)],spin:``},e.ptm(`loadingIcon`)),null,16,[`class`]))]}):mi(e.$slots,`icon`,N({key:1,class:[e.cx(`icon`)]},e.ptm(`icon`)),function(){return[e.icon?(D(),O(`span`,N({key:0,class:[e.cx(`icon`),e.icon,e.iconClass],"data-p":a.dataIconP},e.ptm(`icon`)),null,16,Hp)):M(``,!0)]}),e.label?(D(),O(`span`,N({key:2,class:e.cx(`label`)},e.ptm(`label`),{"data-p":a.dataLabelP}),je(e.label),17,Up)):M(``,!0),e.badge?(D(),Ba(s,{key:3,value:e.badge,class:be(e.badgeClass),severity:e.badgeSeverity,unstyled:e.unstyled,pt:e.ptm(`pcBadge`)},null,8,[`value`,`class`,`severity`,`unstyled`,`pt`])):M(``,!0)]})]}),_:3},16,[`class`,`data-p`])),[[c]])}Vp.render=Wp;var I=class e extends Error{constructor(t,n){var r=`KaTeX parse error: `+t,i,a,o=n&&n.loc;if(o&&o.start<=o.end){var s=o.lexer.input;i=o.start,a=o.end,i===s.length?r+=` at end of input: `:r+=` at position `+(i+1)+`: `;var c=s.slice(i,a).replace(/[^]/g,`$&̲`),l=i>15?`…`+s.slice(i-15,i):s.slice(0,i),u=a+15<s.length?s.slice(a,a+15)+`…`:s.slice(a);r+=l+c+u}super(r),this.name=`ParseError`,this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,e.prototype),this.position=i,i!=null&&a!=null&&(this.length=a-i),this.rawMessage=t}},Gp=/([A-Z])/g,Kp=e=>e.replace(Gp,`-$1`).toLowerCase(),qp={"&":`&`,">":`>`,"<":`<`,'"':`"`,"'":`'`},Jp=/[&><"']/g,Yp=e=>String(e).replace(Jp,e=>qp[e]),Xp=e=>e.type===`ordgroup`||e.type===`color`?e.body.length===1?Xp(e.body[0]):e:e.type===`font`?Xp(e.body):e,Zp=new Set([`mathord`,`textord`,`atom`]),Qp=e=>Zp.has(Xp(e).type),$p=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?t[2]!==`:`||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():`_relative`},em={displayMode:{type:`boolean`,description:`Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.`,cli:`-d, --display-mode`},output:{type:{enum:[`htmlAndMathml`,`html`,`mathml`]},description:`Determines the markup language of the output.`,cli:`-F, --format <type>`},leqno:{type:`boolean`,description:`Render display math in leqno style (left-justified tags).`},fleqn:{type:`boolean`,description:`Render display math flush left.`},throwOnError:{type:`boolean`,default:!0,cli:`-t, --no-throw-on-error`,cliDescription:`Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error.`},errorColor:{type:`string`,default:`#cc0000`,cli:`-c, --error-color <color>`,cliDescription:`A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.`,cliProcessor:e=>`#`+e},macros:{type:`object`,cli:`-m, --macro <def>`,cliDescription:`Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).`,cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:`number`,description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:`--min-rule-thickness <size>`,cliProcessor:parseFloat},colorIsTextColor:{type:`boolean`,description:`Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.`,cli:`-b, --color-is-text-color`},strict:{type:[{enum:[`warn`,`ignore`,`error`]},`boolean`,`function`],description:`Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.`,cli:`-S, --strict`,cliDefault:!1},trust:{type:[`boolean`,`function`],description:`Trust the input, enabling all HTML features such as \\url.`,cli:`-T, --trust`},maxSize:{type:`number`,default:1/0,description:`If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large`,processor:e=>Math.max(0,e),cli:`-s, --max-size <n>`,cliProcessor:parseInt},maxExpand:{type:`number`,default:1e3,description:`Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.`,processor:e=>Math.max(0,e),cli:`-e, --max-expand <n>`,cliProcessor:e=>e===`Infinity`?1/0:parseInt(e)},globalGroup:{type:`boolean`,cli:!1}};function tm(e){if(typeof e!=`string`)return e.enum[0];switch(e){case`boolean`:return!1;case`string`:return``;case`number`:return 0;case`object`:return{};default:throw Error(`Unexpected schema type; settings must declare an explicit default.`)}}function nm(e){return e.default===void 0?tm(Array.isArray(e.type)?e.type[0]:e.type):e.default}function rm(e,t,n,r){var i=n[t];e[t]=i===void 0?nm(r):r.processor?r.processor(i):i}var im=class{constructor(e){e===void 0&&(e={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e||={};for(var t of Object.keys(em)){var n=em[t];n&&rm(this,t,e,n)}}reportNonstrict(e,t,n){var r=this.strict;if(typeof r==`function`&&(r=r(e,t,n)),r&&r!==`ignore`){if(r===!0||r===`error`)throw new I(`LaTeX-incompatible input and strict mode is set to 'error': `+(t+` [`+e+`]`),n);r===`warn`?typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)):typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+r+`': `+t+` [`+e+`]`))}}useStrictBehavior(e,t,n){var r=this.strict;if(typeof r==`function`)try{r=r(e,t,n)}catch{r=`error`}return!r||r===`ignore`?!1:r===!0||r===`error`?!0:r===`warn`?(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)),!1):(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+r+`': `+t+` [`+e+`]`)),!1)}isTrusted(e){if(`url`in e&&e.url&&!e.protocol){var t=$p(e.url);if(t==null)return!1;e.protocol=t}return!!(typeof this.trust==`function`?this.trust(e):this.trust)}},am=class{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return mm[hm[this.id]]}sub(){return mm[gm[this.id]]}fracNum(){return mm[_m[this.id]]}fracDen(){return mm[vm[this.id]]}cramp(){return mm[ym[this.id]]}text(){return mm[bm[this.id]]}isTight(){return this.size>=2}},om=0,sm=1,cm=2,lm=3,um=4,dm=5,fm=6,pm=7,mm=[new am(om,0,!1),new am(sm,0,!0),new am(cm,1,!1),new am(lm,1,!0),new am(um,2,!1),new am(dm,2,!0),new am(fm,3,!1),new am(pm,3,!0)],hm=[um,dm,um,dm,fm,pm,fm,pm],gm=[dm,dm,dm,dm,pm,pm,pm,pm],_m=[cm,lm,um,dm,fm,pm,fm,pm],vm=[lm,lm,dm,dm,pm,pm,pm,pm],ym=[sm,sm,lm,lm,dm,dm,pm,pm],bm=[om,sm,cm,lm,cm,lm,cm,lm],L={DISPLAY:mm[om],TEXT:mm[cm],SCRIPT:mm[um],SCRIPTSCRIPT:mm[fm]},xm=[{name:`latin`,blocks:[[256,591],[768,879]]},{name:`cyrillic`,blocks:[[1024,1279]]},{name:`armenian`,blocks:[[1328,1423]]},{name:`brahmic`,blocks:[[2304,4255]]},{name:`georgian`,blocks:[[4256,4351]]},{name:`cjk`,blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:`hangul`,blocks:[[44032,55215]]}];function Sm(e){for(var t=0;t<xm.length;t++)for(var n=xm[t],r=0;r<n.blocks.length;r++){var i=n.blocks[r];if(e>=i[0]&&e<=i[1])return n.name}return null}var Cm=[];xm.forEach(e=>e.blocks.forEach(e=>Cm.push(...e)));function wm(e){for(var t=0;t<Cm.length;t+=2)if(e>=Cm[t]&&e<=Cm[t+1])return!0;return!1}var Tm=e=>e+` `+e,Em=80,Dm=function(e,t){return`M95,`+(622+e+t)+`
|
|
953
|
-
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
954
|
-
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
955
|
-
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
|
|
956
|
-
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
957
|
-
c69,-144,104.5,-217.7,106.5,-221
|
|
958
|
-
l`+e/2.075+` -`+e+`
|
|
959
|
-
c5.3,-9.3,12,-14,20,-14
|
|
960
|
-
H400000v`+(40+e)+`H845.2724
|
|
961
|
-
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
962
|
-
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
963
|
-
M`+(834+e)+` `+t+`h400000v`+(40+e)+`h-400000z`},Om=function(e,t){return`M263,`+(601+e+t)+`c0.7,0,18,39.7,52,119
|
|
964
|
-
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
965
|
-
c340,-704.7,510.7,-1060.3,512,-1067
|
|
966
|
-
l`+e/2.084+` -`+e+`
|
|
967
|
-
c4.7,-7.3,11,-11,19,-11
|
|
968
|
-
H40000v`+(40+e)+`H1012.3
|
|
969
|
-
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
970
|
-
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
|
|
971
|
-
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
972
|
-
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
973
|
-
M`+(1001+e)+` `+t+`h400000v`+(40+e)+`h-400000z`},km=function(e,t){return`M983 `+(10+e+t)+`
|
|
974
|
-
l`+e/3.13+` -`+e+`
|
|
975
|
-
c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+`
|
|
976
|
-
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
|
|
977
|
-
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
|
|
978
|
-
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
979
|
-
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
980
|
-
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
981
|
-
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
982
|
-
M`+(1001+e)+` `+t+`h400000v`+(40+e)+`h-400000z`},Am=function(e,t){return`M424,`+(2398+e+t)+`
|
|
983
|
-
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
984
|
-
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
|
|
985
|
-
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
986
|
-
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
987
|
-
l`+e/4.223+` -`+e+`c4,-6.7,10,-10,18,-10 H400000
|
|
988
|
-
v`+(40+e)+`H1014.6
|
|
989
|
-
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
990
|
-
c-2,6,-10,9,-24,9
|
|
991
|
-
c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+` `+t+`
|
|
992
|
-
h400000v`+(40+e)+`h-400000z`},jm=function(e,t){return`M473,`+(2713+e+t)+`
|
|
993
|
-
c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+` -`+e+`
|
|
994
|
-
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7
|
|
995
|
-
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
996
|
-
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
|
|
997
|
-
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
|
998
|
-
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
999
|
-
606zM`+(1001+e)+` `+t+`h400000v`+(40+e)+`H1017.7z`},Mm=function(e){var t=e/2;return`M400000 `+e+` H0 L`+t+` 0 l65 45 L145 `+(e-80)+` H400000z`},Nm=function(e,t,n){var r=n-54-t-e;return`M702 `+(e+t)+`H400000`+(40+e)+`
|
|
1000
|
-
H742v`+r+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
|
1001
|
-
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
1002
|
-
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
1003
|
-
219 661 l218 661zM702 `+t+`H400000v`+(40+e)+`H742z`},Pm=function(e,t,n){t=1e3*t;var r=``;switch(e){case`sqrtMain`:r=Dm(t,Em);break;case`sqrtSize1`:r=Om(t,Em);break;case`sqrtSize2`:r=km(t,Em);break;case`sqrtSize3`:r=Am(t,Em);break;case`sqrtSize4`:r=jm(t,Em);break;case`sqrtTall`:r=Nm(t,Em,n)}return r},Fm=function(e,t){switch(e){case`⎜`:return Tm(`M291 0 H417 V`+t+` H291z`);case`∣`:return Tm(`M145 0 H188 V`+t+` H145z`);case`∥`:return Tm(`M145 0 H188 V`+t+` H145z`)+Tm(`M367 0 H410 V`+t+` H367z`);case`⎟`:return Tm(`M457 0 H583 V`+t+` H457z`);case`⎢`:return Tm(`M319 0 H403 V`+t+` H319z`);case`⎥`:return Tm(`M263 0 H347 V`+t+` H263z`);case`⎪`:return Tm(`M384 0 H504 V`+t+` H384z`);case`⏐`:return Tm(`M312 0 H355 V`+t+` H312z`);case`‖`:return Tm(`M257 0 H300 V`+t+` H257z`)+Tm(`M478 0 H521 V`+t+` H478z`);default:return``}},Im={doubleleftarrow:`M262 157
|
|
1004
|
-
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
1005
|
-
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
1006
|
-
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
1007
|
-
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
1008
|
-
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
1009
|
-
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
1010
|
-
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
1011
|
-
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
1012
|
-
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
1013
|
-
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
1014
|
-
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
1015
|
-
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
1016
|
-
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
1017
|
-
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
1018
|
-
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
1019
|
-
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
1020
|
-
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
1021
|
-
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
1022
|
-
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
1023
|
-
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
1024
|
-
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
1025
|
-
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
1026
|
-
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
1027
|
-
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
1028
|
-
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
1029
|
-
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
1030
|
-
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
1031
|
-
435 0h399565z`,leftgroupunder:`M400000 262
|
|
1032
|
-
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
1033
|
-
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
1034
|
-
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
1035
|
-
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
1036
|
-
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
1037
|
-
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
1038
|
-
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
1039
|
-
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
1040
|
-
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
1041
|
-
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
1042
|
-
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
1043
|
-
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
1044
|
-
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
1045
|
-
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
1046
|
-
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
1047
|
-
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
1048
|
-
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
1049
|
-
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:Tm(`M40 281 V428 H0 V94 H40 V241 H400000 v40z`),leftbracketunder:Tm(`M0 0 h120 V290 H399995 v120 H0z`),leftbracketover:Tm(`M0 440 h120 V150 H399995 v-120 H0z`),leftmapsto:Tm(`M40 281 V448H0V74H40V241H400000v40z`),leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
1050
|
-
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
1051
|
-
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
1052
|
-
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:Tm(`M0 50 h400000 v40H0z m0 194h40000v40H0z`),midbrace:`M200428 334
|
|
1053
|
-
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
1054
|
-
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
1055
|
-
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
1056
|
-
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
1057
|
-
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
1058
|
-
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
1059
|
-
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
1060
|
-
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
1061
|
-
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
1062
|
-
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
1063
|
-
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
1064
|
-
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
1065
|
-
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
1066
|
-
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
1067
|
-
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
1068
|
-
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
1069
|
-
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
1070
|
-
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
1071
|
-
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
1072
|
-
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
1073
|
-
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
1074
|
-
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
1075
|
-
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
1076
|
-
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
1077
|
-
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
1078
|
-
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
1079
|
-
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
1080
|
-
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
1081
|
-
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
1082
|
-
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
1083
|
-
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
1084
|
-
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
1085
|
-
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
1086
|
-
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
1087
|
-
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
1088
|
-
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
1089
|
-
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
1090
|
-
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
1091
|
-
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
1092
|
-
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
1093
|
-
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
1094
|
-
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
1095
|
-
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
1096
|
-
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
1097
|
-
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
1098
|
-
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
1099
|
-
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
1100
|
-
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
1101
|
-
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:Tm(`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`),rightbracketunder:Tm(`M399995 0 h-120 V290 H0 v120 H400000z`),rightbracketover:Tm(`M399995 440 h-120 V150 H0 v-120 H399995z`),rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
1102
|
-
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
1103
|
-
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
1104
|
-
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
1105
|
-
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
1106
|
-
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
1107
|
-
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
1108
|
-
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
1109
|
-
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
1110
|
-
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
1111
|
-
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
1112
|
-
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
1113
|
-
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
1114
|
-
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
1115
|
-
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
1116
|
-
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
1117
|
-
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
1118
|
-
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
1119
|
-
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
1120
|
-
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
1121
|
-
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
1122
|
-
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
1123
|
-
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
1124
|
-
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
1125
|
-
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
1126
|
-
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
1127
|
-
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
1128
|
-
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
1129
|
-
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
1130
|
-
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
1131
|
-
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
1132
|
-
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
1133
|
-
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
1134
|
-
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
1135
|
-
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
1136
|
-
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
1137
|
-
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
1138
|
-
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
1139
|
-
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
1140
|
-
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
1141
|
-
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
1142
|
-
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
1143
|
-
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
1144
|
-
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
1145
|
-
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
1146
|
-
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
1147
|
-
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
1148
|
-
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
1149
|
-
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
1150
|
-
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
1151
|
-
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
1152
|
-
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
1153
|
-
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
1154
|
-
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
1155
|
-
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
1156
|
-
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
1157
|
-
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
1158
|
-
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
1159
|
-
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
1160
|
-
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
1161
|
-
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
1162
|
-
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
1163
|
-
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
1164
|
-
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
1165
|
-
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
1166
|
-
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
1167
|
-
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
1168
|
-
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
1169
|
-
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
1170
|
-
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
1171
|
-
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
1172
|
-
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
1173
|
-
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
1174
|
-
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Lm=function(e,t){switch(e){case`lbrack`:return`M403 1759 V84 H666 V0 H319 V1759 v`+t+` v1759 v84 h347 v-84
|
|
1175
|
-
H403z M403 1759 V0 H319 V1759 v`+t+` v1759 v84 h84z`;case`rbrack`:return`M347 1759 V0 H0 V84 H263 V1759 v`+t+` v1759 H0 v84 H347z
|
|
1176
|
-
M347 1759 V0 H263 V1759 v`+t+` v1759 h84z`;case`vert`:return`M145 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15
|
|
1177
|
-
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
1178
|
-
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z`;case`doublevert`:return`M145 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15
|
|
1179
|
-
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
1180
|
-
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z
|
|
1181
|
-
M367 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15
|
|
1182
|
-
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
1183
|
-
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+t+` v585 h43z`;case`lfloor`:return`M319 602 V0 H403 V602 v`+t+` v1715 h263 v84 H319z
|
|
1184
|
-
MM319 602 V0 H403 V602 v`+t+` v1715 H319z`;case`rfloor`:return`M319 602 V0 H403 V602 v`+t+` v1799 H0 v-84 H319z
|
|
1185
|
-
MM319 602 V0 H403 V602 v`+t+` v1715 H319z`;case`lceil`:return`M403 1759 V84 H666 V0 H319 V1759 v`+t+` v602 h84z
|
|
1186
|
-
M403 1759 V0 H319 V1759 v`+t+` v602 h84z`;case`rceil`:return`M347 1759 V0 H0 V84 H263 V1759 v`+t+` v602 h84z
|
|
1187
|
-
M347 1759 V0 h-84 V1759 v`+t+` v602 h84z`;case`lparen`:return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
|
|
1188
|
-
c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
|
|
1189
|
-
-36,557 l0,`+(t+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
|
|
1190
|
-
949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
|
|
1191
|
-
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
|
|
1192
|
-
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
|
|
1193
|
-
l0,-`+(t+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
|
|
1194
|
-
-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case`rparen`:return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
|
|
1195
|
-
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
|
|
1196
|
-
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(t+9)+`
|
|
1197
|
-
c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
|
|
1198
|
-
c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
|
|
1199
|
-
c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
|
|
1200
|
-
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
|
|
1201
|
-
l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
1202
|
-
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw Error(`Unknown stretchy delimiter.`)}};function Rm(e){return`toText`in e}var zm=class{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return this.classes.includes(e)}toNode(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){for(var e=``,t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){return this.children.map(e=>{if(Rm(e))return e.toText();throw Error(`Expected MathDomNode with toText, got `+e.constructor.name)}).join(``)}},Bm={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Vm={ex:!0,em:!0,mu:!0},Hm=function(e){return typeof e!=`string`&&(e=e.unit),e in Bm||e in Vm||e===`ex`},Um=function(e,t){var n;if(e.unit in Bm)n=Bm[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(e.unit===`mu`)n=t.fontMetrics().cssEmPerMu;else{var r=t.style.isTight()?t.havingStyle(t.style.text()):t;if(e.unit===`ex`)n=r.fontMetrics().xHeight;else if(e.unit===`em`)n=r.fontMetrics().quad;else throw new I(`Invalid unit: '`+e.unit+`'`);r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},R=function(e){return+e.toFixed(4)+`em`},Wm=function(e){return e.filter(e=>e).join(` `)},Gm=function(e){var t=``;for(var n of Object.keys(e)){var r=e[n];r!==void 0&&(t+=Kp(n)+`:`+r+`;`)}return t},Km=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push(`mtight`);var r=t.getColor();r&&(this.style.color=r)}},qm=function(e){var t=document.createElement(e);t.className=Wm(this.classes),Object.assign(t.style,this.style);for(var n of Object.keys(this.attributes))t.setAttribute(n,this.attributes[n]);for(var r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t},Jm=/[\s"'>/=\x00-\x1f]/,Ym=function(e){var t=`<`+e;this.classes.length&&(t+=` class="`+Yp(Wm(this.classes))+`"`);var n=Gm(this.style);n&&(t+=` style="`+Yp(n)+`"`);for(var r of Object.keys(this.attributes)){if(Jm.test(r))throw new I(`Invalid attribute name '`+r+`'`);t+=` `+r+`="`+Yp(this.attributes[r])+`"`}t+=`>`;for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+=`</`+e+`>`,t},Xm=class{constructor(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,this.italic=void 0,Km.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return qm.call(this,`span`)}toMarkup(){return Ym.call(this,`span`)}},Zm=class{constructor(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Km.call(this,t,r),this.children=n||[],this.setAttribute(`href`,e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return qm.call(this,`a`)}toMarkup(){return Ym.call(this,`a`)}},Qm=class{constructor(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=[`mord`],this.height=0,this.depth=0,this.maxFontSize=0,this.style=n}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createElement(`img`);return e.src=this.src,e.alt=this.alt,e.className=`mord`,Object.assign(e.style,this.style),e}toMarkup(){var e=`<img src="`+Yp(this.src)+`"`+(` alt="`+Yp(this.alt)+`"`),t=Gm(this.style);return t&&(e+=` style="`+Yp(t)+`"`),e+=`'/>`,e}},$m={î:`ı̂`,ï:`ı̈`,í:`ı́`,ì:`ı̀`},eh=class{constructor(e,t,n,r,i,a,o,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=n||0,this.italic=r||0,this.skew=i||0,this.width=a||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var c=Sm(this.text.charCodeAt(0));c&&this.classes.push(c+`_fallback`),/[îïíì]/.test(this.text)&&(this.text=$m[this.text])}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createTextNode(this.text),t=null;return this.italic>0&&(t=document.createElement(`span`),t.style.marginRight=R(this.italic)),this.classes.length>0&&(t||=document.createElement(`span`),t.className=Wm(this.classes)),Object.keys(this.style).length>0&&(t||=document.createElement(`span`),Object.assign(t.style,this.style)),t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t=`<span`;this.classes.length&&(e=!0,t+=` class="`,t+=Yp(Wm(this.classes)),t+=`"`);var n=``;this.italic>0&&(n+=`margin-right:`+R(this.italic)+`;`),n+=Gm(this.style),n&&(e=!0,t+=` style="`+Yp(n)+`"`);var r=Yp(this.text);return e?(t+=`>`,t+=r,t+=`</span>`,t):r}},th=class{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS(`http://www.w3.org/2000/svg`,`svg`);for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e}toMarkup(){var e=`<svg xmlns="http://www.w3.org/2000/svg"`;for(var t of Object.keys(this.attributes))e+=` `+t+`="`+Yp(this.attributes[t])+`"`;e+=`>`;for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+=`</svg>`,e}},nh=class{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e=document.createElementNS(`http://www.w3.org/2000/svg`,`path`);return this.alternate?e.setAttribute(`d`,this.alternate):e.setAttribute(`d`,Im[this.pathName]),e}toMarkup(){return this.alternate?`<path d="`+Yp(this.alternate)+`"/>`:`<path d="`+Yp(Im[this.pathName])+`"/>`}},rh=class{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS(`http://www.w3.org/2000/svg`,`line`);for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e=`<line`;for(var t of Object.keys(this.attributes))e+=` `+t+`="`+Yp(this.attributes[t])+`"`;return e+=`/>`,e}};function ih(e){if(e instanceof eh)return e;throw Error(`Expected symbolNode but got `+String(e)+`.`)}function ah(e){if(e instanceof Xm)return e;throw Error(`Expected span<HtmlDomNode> but got `+String(e)+`.`)}var oh=e=>e instanceof Xm||e instanceof Zm||e instanceof zm,sh={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},ch={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},lh={Å:`A`,Ð:`D`,Þ:`o`,å:`a`,ð:`d`,þ:`o`,А:`A`,Б:`B`,В:`B`,Г:`F`,Д:`A`,Е:`E`,Ж:`K`,З:`3`,И:`N`,Й:`N`,К:`K`,Л:`N`,М:`M`,Н:`H`,О:`O`,П:`N`,Р:`P`,С:`C`,Т:`T`,У:`y`,Ф:`O`,Х:`X`,Ц:`U`,Ч:`h`,Ш:`W`,Щ:`W`,Ъ:`B`,Ы:`X`,Ь:`B`,Э:`3`,Ю:`X`,Я:`R`,а:`a`,б:`b`,в:`a`,г:`r`,д:`y`,е:`e`,ж:`m`,з:`e`,и:`n`,й:`n`,к:`n`,л:`n`,м:`m`,н:`n`,о:`o`,п:`n`,р:`p`,с:`c`,т:`o`,у:`y`,ф:`b`,х:`x`,ц:`n`,ч:`n`,ш:`w`,щ:`w`,ъ:`a`,ы:`m`,ь:`a`,э:`e`,ю:`m`,я:`r`};function uh(e,t){sh[e]=t}function dh(e,t,n){if(!sh[t])throw Error(`Font metrics not found for font: `+t+`.`);var r=e.charCodeAt(0),i=sh[t][r];if(!i&&e[0]in lh&&(r=lh[e[0]].charCodeAt(0),i=sh[t][r]),!i&&n===`text`&&wm(r)&&(i=sh[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var fh={};function ph(e){var t=e>=5?0:e>=3?1:2;if(!fh[t]){var n=fh[t]={cssEmPerMu:ch.quad[t]/18};for(var r in ch)ch.hasOwnProperty(r)&&(n[r]=ch[r][t])}return fh[t]}var mh={math:{},text:{}};function z(e,t,n,r,i,a){mh[e][i]={font:t,group:n,replace:r},a&&r&&(mh[e][r]=mh[e][i])}var B=`math`,V=`text`,H=`main`,U=`ams`,hh=`accent-token`,W=`bin`,gh=`close`,_h=`inner`,G=`mathord`,vh=`op-token`,yh=`open`,bh=`punct`,K=`rel`,xh=`spacing`,q=`textord`;z(B,H,K,`≡`,`\\equiv`,!0),z(B,H,K,`≺`,`\\prec`,!0),z(B,H,K,`≻`,`\\succ`,!0),z(B,H,K,`∼`,`\\sim`,!0),z(B,H,K,`⊥`,`\\perp`),z(B,H,K,`⪯`,`\\preceq`,!0),z(B,H,K,`⪰`,`\\succeq`,!0),z(B,H,K,`≃`,`\\simeq`,!0),z(B,H,K,`∣`,`\\mid`,!0),z(B,H,K,`≪`,`\\ll`,!0),z(B,H,K,`≫`,`\\gg`,!0),z(B,H,K,`≍`,`\\asymp`,!0),z(B,H,K,`∥`,`\\parallel`),z(B,H,K,`⋈`,`\\bowtie`,!0),z(B,H,K,`⌣`,`\\smile`,!0),z(B,H,K,`⊑`,`\\sqsubseteq`,!0),z(B,H,K,`⊒`,`\\sqsupseteq`,!0),z(B,H,K,`≐`,`\\doteq`,!0),z(B,H,K,`⌢`,`\\frown`,!0),z(B,H,K,`∋`,`\\ni`,!0),z(B,H,K,`∝`,`\\propto`,!0),z(B,H,K,`⊢`,`\\vdash`,!0),z(B,H,K,`⊣`,`\\dashv`,!0),z(B,H,K,`∋`,`\\owns`),z(B,H,bh,`.`,`\\ldotp`),z(B,H,bh,`⋅`,`\\cdotp`),z(B,H,bh,`⋅`,`·`),z(V,H,q,`⋅`,`·`),z(B,H,q,`#`,`\\#`),z(V,H,q,`#`,`\\#`),z(B,H,q,`&`,`\\&`),z(V,H,q,`&`,`\\&`),z(B,H,q,`ℵ`,`\\aleph`,!0),z(B,H,q,`∀`,`\\forall`,!0),z(B,H,q,`ℏ`,`\\hbar`,!0),z(B,H,q,`∃`,`\\exists`,!0),z(B,H,q,`∇`,`\\nabla`,!0),z(B,H,q,`♭`,`\\flat`,!0),z(B,H,q,`ℓ`,`\\ell`,!0),z(B,H,q,`♮`,`\\natural`,!0),z(B,H,q,`♣`,`\\clubsuit`,!0),z(B,H,q,`℘`,`\\wp`,!0),z(B,H,q,`♯`,`\\sharp`,!0),z(B,H,q,`♢`,`\\diamondsuit`,!0),z(B,H,q,`ℜ`,`\\Re`,!0),z(B,H,q,`♡`,`\\heartsuit`,!0),z(B,H,q,`ℑ`,`\\Im`,!0),z(B,H,q,`♠`,`\\spadesuit`,!0),z(B,H,q,`§`,`\\S`,!0),z(V,H,q,`§`,`\\S`),z(B,H,q,`¶`,`\\P`,!0),z(V,H,q,`¶`,`\\P`),z(B,H,q,`†`,`\\dag`),z(V,H,q,`†`,`\\dag`),z(V,H,q,`†`,`\\textdagger`),z(B,H,q,`‡`,`\\ddag`),z(V,H,q,`‡`,`\\ddag`),z(V,H,q,`‡`,`\\textdaggerdbl`),z(B,H,gh,`⎱`,`\\rmoustache`,!0),z(B,H,yh,`⎰`,`\\lmoustache`,!0),z(B,H,gh,`⟯`,`\\rgroup`,!0),z(B,H,yh,`⟮`,`\\lgroup`,!0),z(B,H,W,`∓`,`\\mp`,!0),z(B,H,W,`⊖`,`\\ominus`,!0),z(B,H,W,`⊎`,`\\uplus`,!0),z(B,H,W,`⊓`,`\\sqcap`,!0),z(B,H,W,`∗`,`\\ast`),z(B,H,W,`⊔`,`\\sqcup`,!0),z(B,H,W,`◯`,`\\bigcirc`,!0),z(B,H,W,`∙`,`\\bullet`,!0),z(B,H,W,`‡`,`\\ddagger`),z(B,H,W,`≀`,`\\wr`,!0),z(B,H,W,`⨿`,`\\amalg`),z(B,H,W,`&`,`\\And`),z(B,H,K,`⟵`,`\\longleftarrow`,!0),z(B,H,K,`⇐`,`\\Leftarrow`,!0),z(B,H,K,`⟸`,`\\Longleftarrow`,!0),z(B,H,K,`⟶`,`\\longrightarrow`,!0),z(B,H,K,`⇒`,`\\Rightarrow`,!0),z(B,H,K,`⟹`,`\\Longrightarrow`,!0),z(B,H,K,`↔`,`\\leftrightarrow`,!0),z(B,H,K,`⟷`,`\\longleftrightarrow`,!0),z(B,H,K,`⇔`,`\\Leftrightarrow`,!0),z(B,H,K,`⟺`,`\\Longleftrightarrow`,!0),z(B,H,K,`↦`,`\\mapsto`,!0),z(B,H,K,`⟼`,`\\longmapsto`,!0),z(B,H,K,`↗`,`\\nearrow`,!0),z(B,H,K,`↩`,`\\hookleftarrow`,!0),z(B,H,K,`↪`,`\\hookrightarrow`,!0),z(B,H,K,`↘`,`\\searrow`,!0),z(B,H,K,`↼`,`\\leftharpoonup`,!0),z(B,H,K,`⇀`,`\\rightharpoonup`,!0),z(B,H,K,`↙`,`\\swarrow`,!0),z(B,H,K,`↽`,`\\leftharpoondown`,!0),z(B,H,K,`⇁`,`\\rightharpoondown`,!0),z(B,H,K,`↖`,`\\nwarrow`,!0),z(B,H,K,`⇌`,`\\rightleftharpoons`,!0),z(B,U,K,`≮`,`\\nless`,!0),z(B,U,K,``,`\\@nleqslant`),z(B,U,K,``,`\\@nleqq`),z(B,U,K,`⪇`,`\\lneq`,!0),z(B,U,K,`≨`,`\\lneqq`,!0),z(B,U,K,``,`\\@lvertneqq`),z(B,U,K,`⋦`,`\\lnsim`,!0),z(B,U,K,`⪉`,`\\lnapprox`,!0),z(B,U,K,`⊀`,`\\nprec`,!0),z(B,U,K,`⋠`,`\\npreceq`,!0),z(B,U,K,`⋨`,`\\precnsim`,!0),z(B,U,K,`⪹`,`\\precnapprox`,!0),z(B,U,K,`≁`,`\\nsim`,!0),z(B,U,K,``,`\\@nshortmid`),z(B,U,K,`∤`,`\\nmid`,!0),z(B,U,K,`⊬`,`\\nvdash`,!0),z(B,U,K,`⊭`,`\\nvDash`,!0),z(B,U,K,`⋪`,`\\ntriangleleft`),z(B,U,K,`⋬`,`\\ntrianglelefteq`,!0),z(B,U,K,`⊊`,`\\subsetneq`,!0),z(B,U,K,``,`\\@varsubsetneq`),z(B,U,K,`⫋`,`\\subsetneqq`,!0),z(B,U,K,``,`\\@varsubsetneqq`),z(B,U,K,`≯`,`\\ngtr`,!0),z(B,U,K,``,`\\@ngeqslant`),z(B,U,K,``,`\\@ngeqq`),z(B,U,K,`⪈`,`\\gneq`,!0),z(B,U,K,`≩`,`\\gneqq`,!0),z(B,U,K,``,`\\@gvertneqq`),z(B,U,K,`⋧`,`\\gnsim`,!0),z(B,U,K,`⪊`,`\\gnapprox`,!0),z(B,U,K,`⊁`,`\\nsucc`,!0),z(B,U,K,`⋡`,`\\nsucceq`,!0),z(B,U,K,`⋩`,`\\succnsim`,!0),z(B,U,K,`⪺`,`\\succnapprox`,!0),z(B,U,K,`≆`,`\\ncong`,!0),z(B,U,K,``,`\\@nshortparallel`),z(B,U,K,`∦`,`\\nparallel`,!0),z(B,U,K,`⊯`,`\\nVDash`,!0),z(B,U,K,`⋫`,`\\ntriangleright`),z(B,U,K,`⋭`,`\\ntrianglerighteq`,!0),z(B,U,K,``,`\\@nsupseteqq`),z(B,U,K,`⊋`,`\\supsetneq`,!0),z(B,U,K,``,`\\@varsupsetneq`),z(B,U,K,`⫌`,`\\supsetneqq`,!0),z(B,U,K,``,`\\@varsupsetneqq`),z(B,U,K,`⊮`,`\\nVdash`,!0),z(B,U,K,`⪵`,`\\precneqq`,!0),z(B,U,K,`⪶`,`\\succneqq`,!0),z(B,U,K,``,`\\@nsubseteqq`),z(B,U,W,`⊴`,`\\unlhd`),z(B,U,W,`⊵`,`\\unrhd`),z(B,U,K,`↚`,`\\nleftarrow`,!0),z(B,U,K,`↛`,`\\nrightarrow`,!0),z(B,U,K,`⇍`,`\\nLeftarrow`,!0),z(B,U,K,`⇏`,`\\nRightarrow`,!0),z(B,U,K,`↮`,`\\nleftrightarrow`,!0),z(B,U,K,`⇎`,`\\nLeftrightarrow`,!0),z(B,U,K,`△`,`\\vartriangle`),z(B,U,q,`ℏ`,`\\hslash`),z(B,U,q,`▽`,`\\triangledown`),z(B,U,q,`◊`,`\\lozenge`),z(B,U,q,`Ⓢ`,`\\circledS`),z(B,U,q,`®`,`\\circledR`),z(V,U,q,`®`,`\\circledR`),z(B,U,q,`∡`,`\\measuredangle`,!0),z(B,U,q,`∄`,`\\nexists`),z(B,U,q,`℧`,`\\mho`),z(B,U,q,`Ⅎ`,`\\Finv`,!0),z(B,U,q,`⅁`,`\\Game`,!0),z(B,U,q,`‵`,`\\backprime`),z(B,U,q,`▲`,`\\blacktriangle`),z(B,U,q,`▼`,`\\blacktriangledown`),z(B,U,q,`■`,`\\blacksquare`),z(B,U,q,`⧫`,`\\blacklozenge`),z(B,U,q,`★`,`\\bigstar`),z(B,U,q,`∢`,`\\sphericalangle`,!0),z(B,U,q,`∁`,`\\complement`,!0),z(B,U,q,`ð`,`\\eth`,!0),z(V,H,q,`ð`,`ð`),z(B,U,q,`╱`,`\\diagup`),z(B,U,q,`╲`,`\\diagdown`),z(B,U,q,`□`,`\\square`),z(B,U,q,`□`,`\\Box`),z(B,U,q,`◊`,`\\Diamond`),z(B,U,q,`¥`,`\\yen`,!0),z(V,U,q,`¥`,`\\yen`,!0),z(B,U,q,`✓`,`\\checkmark`,!0),z(V,U,q,`✓`,`\\checkmark`),z(B,U,q,`ℶ`,`\\beth`,!0),z(B,U,q,`ℸ`,`\\daleth`,!0),z(B,U,q,`ℷ`,`\\gimel`,!0),z(B,U,q,`ϝ`,`\\digamma`,!0),z(B,U,q,`ϰ`,`\\varkappa`),z(B,U,yh,`┌`,`\\@ulcorner`,!0),z(B,U,gh,`┐`,`\\@urcorner`,!0),z(B,U,yh,`└`,`\\@llcorner`,!0),z(B,U,gh,`┘`,`\\@lrcorner`,!0),z(B,U,K,`≦`,`\\leqq`,!0),z(B,U,K,`⩽`,`\\leqslant`,!0),z(B,U,K,`⪕`,`\\eqslantless`,!0),z(B,U,K,`≲`,`\\lesssim`,!0),z(B,U,K,`⪅`,`\\lessapprox`,!0),z(B,U,K,`≊`,`\\approxeq`,!0),z(B,U,W,`⋖`,`\\lessdot`),z(B,U,K,`⋘`,`\\lll`,!0),z(B,U,K,`≶`,`\\lessgtr`,!0),z(B,U,K,`⋚`,`\\lesseqgtr`,!0),z(B,U,K,`⪋`,`\\lesseqqgtr`,!0),z(B,U,K,`≑`,`\\doteqdot`),z(B,U,K,`≓`,`\\risingdotseq`,!0),z(B,U,K,`≒`,`\\fallingdotseq`,!0),z(B,U,K,`∽`,`\\backsim`,!0),z(B,U,K,`⋍`,`\\backsimeq`,!0),z(B,U,K,`⫅`,`\\subseteqq`,!0),z(B,U,K,`⋐`,`\\Subset`,!0),z(B,U,K,`⊏`,`\\sqsubset`,!0),z(B,U,K,`≼`,`\\preccurlyeq`,!0),z(B,U,K,`⋞`,`\\curlyeqprec`,!0),z(B,U,K,`≾`,`\\precsim`,!0),z(B,U,K,`⪷`,`\\precapprox`,!0),z(B,U,K,`⊲`,`\\vartriangleleft`),z(B,U,K,`⊴`,`\\trianglelefteq`),z(B,U,K,`⊨`,`\\vDash`,!0),z(B,U,K,`⊪`,`\\Vvdash`,!0),z(B,U,K,`⌣`,`\\smallsmile`),z(B,U,K,`⌢`,`\\smallfrown`),z(B,U,K,`≏`,`\\bumpeq`,!0),z(B,U,K,`≎`,`\\Bumpeq`,!0),z(B,U,K,`≧`,`\\geqq`,!0),z(B,U,K,`⩾`,`\\geqslant`,!0),z(B,U,K,`⪖`,`\\eqslantgtr`,!0),z(B,U,K,`≳`,`\\gtrsim`,!0),z(B,U,K,`⪆`,`\\gtrapprox`,!0),z(B,U,W,`⋗`,`\\gtrdot`),z(B,U,K,`⋙`,`\\ggg`,!0),z(B,U,K,`≷`,`\\gtrless`,!0),z(B,U,K,`⋛`,`\\gtreqless`,!0),z(B,U,K,`⪌`,`\\gtreqqless`,!0),z(B,U,K,`≖`,`\\eqcirc`,!0),z(B,U,K,`≗`,`\\circeq`,!0),z(B,U,K,`≜`,`\\triangleq`,!0),z(B,U,K,`∼`,`\\thicksim`),z(B,U,K,`≈`,`\\thickapprox`),z(B,U,K,`⫆`,`\\supseteqq`,!0),z(B,U,K,`⋑`,`\\Supset`,!0),z(B,U,K,`⊐`,`\\sqsupset`,!0),z(B,U,K,`≽`,`\\succcurlyeq`,!0),z(B,U,K,`⋟`,`\\curlyeqsucc`,!0),z(B,U,K,`≿`,`\\succsim`,!0),z(B,U,K,`⪸`,`\\succapprox`,!0),z(B,U,K,`⊳`,`\\vartriangleright`),z(B,U,K,`⊵`,`\\trianglerighteq`),z(B,U,K,`⊩`,`\\Vdash`,!0),z(B,U,K,`∣`,`\\shortmid`),z(B,U,K,`∥`,`\\shortparallel`),z(B,U,K,`≬`,`\\between`,!0),z(B,U,K,`⋔`,`\\pitchfork`,!0),z(B,U,K,`∝`,`\\varpropto`),z(B,U,K,`◀`,`\\blacktriangleleft`),z(B,U,K,`∴`,`\\therefore`,!0),z(B,U,K,`∍`,`\\backepsilon`),z(B,U,K,`▶`,`\\blacktriangleright`),z(B,U,K,`∵`,`\\because`,!0),z(B,U,K,`⋘`,`\\llless`),z(B,U,K,`⋙`,`\\gggtr`),z(B,U,W,`⊲`,`\\lhd`),z(B,U,W,`⊳`,`\\rhd`),z(B,U,K,`≂`,`\\eqsim`,!0),z(B,H,K,`⋈`,`\\Join`),z(B,U,K,`≑`,`\\Doteq`,!0),z(B,U,W,`∔`,`\\dotplus`,!0),z(B,U,W,`∖`,`\\smallsetminus`),z(B,U,W,`⋒`,`\\Cap`,!0),z(B,U,W,`⋓`,`\\Cup`,!0),z(B,U,W,`⩞`,`\\doublebarwedge`,!0),z(B,U,W,`⊟`,`\\boxminus`,!0),z(B,U,W,`⊞`,`\\boxplus`,!0),z(B,U,W,`⋇`,`\\divideontimes`,!0),z(B,U,W,`⋉`,`\\ltimes`,!0),z(B,U,W,`⋊`,`\\rtimes`,!0),z(B,U,W,`⋋`,`\\leftthreetimes`,!0),z(B,U,W,`⋌`,`\\rightthreetimes`,!0),z(B,U,W,`⋏`,`\\curlywedge`,!0),z(B,U,W,`⋎`,`\\curlyvee`,!0),z(B,U,W,`⊝`,`\\circleddash`,!0),z(B,U,W,`⊛`,`\\circledast`,!0),z(B,U,W,`⋅`,`\\centerdot`),z(B,U,W,`⊺`,`\\intercal`,!0),z(B,U,W,`⋒`,`\\doublecap`),z(B,U,W,`⋓`,`\\doublecup`),z(B,U,W,`⊠`,`\\boxtimes`,!0),z(B,U,K,`⇢`,`\\dashrightarrow`,!0),z(B,U,K,`⇠`,`\\dashleftarrow`,!0),z(B,U,K,`⇇`,`\\leftleftarrows`,!0),z(B,U,K,`⇆`,`\\leftrightarrows`,!0),z(B,U,K,`⇚`,`\\Lleftarrow`,!0),z(B,U,K,`↞`,`\\twoheadleftarrow`,!0),z(B,U,K,`↢`,`\\leftarrowtail`,!0),z(B,U,K,`↫`,`\\looparrowleft`,!0),z(B,U,K,`⇋`,`\\leftrightharpoons`,!0),z(B,U,K,`↶`,`\\curvearrowleft`,!0),z(B,U,K,`↺`,`\\circlearrowleft`,!0),z(B,U,K,`↰`,`\\Lsh`,!0),z(B,U,K,`⇈`,`\\upuparrows`,!0),z(B,U,K,`↿`,`\\upharpoonleft`,!0),z(B,U,K,`⇃`,`\\downharpoonleft`,!0),z(B,H,K,`⊶`,`\\origof`,!0),z(B,H,K,`⊷`,`\\imageof`,!0),z(B,U,K,`⊸`,`\\multimap`,!0),z(B,U,K,`↭`,`\\leftrightsquigarrow`,!0),z(B,U,K,`⇉`,`\\rightrightarrows`,!0),z(B,U,K,`⇄`,`\\rightleftarrows`,!0),z(B,U,K,`↠`,`\\twoheadrightarrow`,!0),z(B,U,K,`↣`,`\\rightarrowtail`,!0),z(B,U,K,`↬`,`\\looparrowright`,!0),z(B,U,K,`↷`,`\\curvearrowright`,!0),z(B,U,K,`↻`,`\\circlearrowright`,!0),z(B,U,K,`↱`,`\\Rsh`,!0),z(B,U,K,`⇊`,`\\downdownarrows`,!0),z(B,U,K,`↾`,`\\upharpoonright`,!0),z(B,U,K,`⇂`,`\\downharpoonright`,!0),z(B,U,K,`⇝`,`\\rightsquigarrow`,!0),z(B,U,K,`⇝`,`\\leadsto`),z(B,U,K,`⇛`,`\\Rrightarrow`,!0),z(B,U,K,`↾`,`\\restriction`),z(B,H,q,`‘`,"`"),z(B,H,q,`$`,`\\$`),z(V,H,q,`$`,`\\$`),z(V,H,q,`$`,`\\textdollar`),z(B,H,q,`%`,`\\%`),z(V,H,q,`%`,`\\%`),z(B,H,q,`_`,`\\_`),z(V,H,q,`_`,`\\_`),z(V,H,q,`_`,`\\textunderscore`),z(B,H,q,`∠`,`\\angle`,!0),z(B,H,q,`∞`,`\\infty`,!0),z(B,H,q,`′`,`\\prime`),z(B,H,q,`△`,`\\triangle`),z(B,H,q,`Γ`,`\\Gamma`,!0),z(B,H,q,`Δ`,`\\Delta`,!0),z(B,H,q,`Θ`,`\\Theta`,!0),z(B,H,q,`Λ`,`\\Lambda`,!0),z(B,H,q,`Ξ`,`\\Xi`,!0),z(B,H,q,`Π`,`\\Pi`,!0),z(B,H,q,`Σ`,`\\Sigma`,!0),z(B,H,q,`Υ`,`\\Upsilon`,!0),z(B,H,q,`Φ`,`\\Phi`,!0),z(B,H,q,`Ψ`,`\\Psi`,!0),z(B,H,q,`Ω`,`\\Omega`,!0),z(B,H,q,`A`,`Α`),z(B,H,q,`B`,`Β`),z(B,H,q,`E`,`Ε`),z(B,H,q,`Z`,`Ζ`),z(B,H,q,`H`,`Η`),z(B,H,q,`I`,`Ι`),z(B,H,q,`K`,`Κ`),z(B,H,q,`M`,`Μ`),z(B,H,q,`N`,`Ν`),z(B,H,q,`O`,`Ο`),z(B,H,q,`P`,`Ρ`),z(B,H,q,`T`,`Τ`),z(B,H,q,`X`,`Χ`),z(B,H,q,`¬`,`\\neg`,!0),z(B,H,q,`¬`,`\\lnot`),z(B,H,q,`⊤`,`\\top`),z(B,H,q,`⊥`,`\\bot`),z(B,H,q,`∅`,`\\emptyset`),z(B,U,q,`∅`,`\\varnothing`),z(B,H,G,`α`,`\\alpha`,!0),z(B,H,G,`β`,`\\beta`,!0),z(B,H,G,`γ`,`\\gamma`,!0),z(B,H,G,`δ`,`\\delta`,!0),z(B,H,G,`ϵ`,`\\epsilon`,!0),z(B,H,G,`ζ`,`\\zeta`,!0),z(B,H,G,`η`,`\\eta`,!0),z(B,H,G,`θ`,`\\theta`,!0),z(B,H,G,`ι`,`\\iota`,!0),z(B,H,G,`κ`,`\\kappa`,!0),z(B,H,G,`λ`,`\\lambda`,!0),z(B,H,G,`μ`,`\\mu`,!0),z(B,H,G,`ν`,`\\nu`,!0),z(B,H,G,`ξ`,`\\xi`,!0),z(B,H,G,`ο`,`\\omicron`,!0),z(B,H,G,`π`,`\\pi`,!0),z(B,H,G,`ρ`,`\\rho`,!0),z(B,H,G,`σ`,`\\sigma`,!0),z(B,H,G,`τ`,`\\tau`,!0),z(B,H,G,`υ`,`\\upsilon`,!0),z(B,H,G,`ϕ`,`\\phi`,!0),z(B,H,G,`χ`,`\\chi`,!0),z(B,H,G,`ψ`,`\\psi`,!0),z(B,H,G,`ω`,`\\omega`,!0),z(B,H,G,`ε`,`\\varepsilon`,!0),z(B,H,G,`ϑ`,`\\vartheta`,!0),z(B,H,G,`ϖ`,`\\varpi`,!0),z(B,H,G,`ϱ`,`\\varrho`,!0),z(B,H,G,`ς`,`\\varsigma`,!0),z(B,H,G,`φ`,`\\varphi`,!0),z(B,H,W,`∗`,`*`,!0),z(B,H,W,`+`,`+`),z(B,H,W,`−`,`-`,!0),z(B,H,W,`⋅`,`\\cdot`,!0),z(B,H,W,`∘`,`\\circ`,!0),z(B,H,W,`÷`,`\\div`,!0),z(B,H,W,`±`,`\\pm`,!0),z(B,H,W,`×`,`\\times`,!0),z(B,H,W,`∩`,`\\cap`,!0),z(B,H,W,`∪`,`\\cup`,!0),z(B,H,W,`∖`,`\\setminus`,!0),z(B,H,W,`∧`,`\\land`),z(B,H,W,`∨`,`\\lor`),z(B,H,W,`∧`,`\\wedge`,!0),z(B,H,W,`∨`,`\\vee`,!0),z(B,H,q,`√`,`\\surd`),z(B,H,yh,`⟨`,`\\langle`,!0),z(B,H,yh,`∣`,`\\lvert`),z(B,H,yh,`∥`,`\\lVert`),z(B,H,gh,`?`,`?`),z(B,H,gh,`!`,`!`),z(B,H,gh,`⟩`,`\\rangle`,!0),z(B,H,gh,`∣`,`\\rvert`),z(B,H,gh,`∥`,`\\rVert`),z(B,H,K,`=`,`=`),z(B,H,K,`:`,`:`),z(B,H,K,`≈`,`\\approx`,!0),z(B,H,K,`≅`,`\\cong`,!0),z(B,H,K,`≥`,`\\ge`),z(B,H,K,`≥`,`\\geq`,!0),z(B,H,K,`←`,`\\gets`),z(B,H,K,`>`,`\\gt`,!0),z(B,H,K,`∈`,`\\in`,!0),z(B,H,K,``,`\\@not`),z(B,H,K,`⊂`,`\\subset`,!0),z(B,H,K,`⊃`,`\\supset`,!0),z(B,H,K,`⊆`,`\\subseteq`,!0),z(B,H,K,`⊇`,`\\supseteq`,!0),z(B,U,K,`⊈`,`\\nsubseteq`,!0),z(B,U,K,`⊉`,`\\nsupseteq`,!0),z(B,H,K,`⊨`,`\\models`),z(B,H,K,`←`,`\\leftarrow`,!0),z(B,H,K,`≤`,`\\le`),z(B,H,K,`≤`,`\\leq`,!0),z(B,H,K,`<`,`\\lt`,!0),z(B,H,K,`→`,`\\rightarrow`,!0),z(B,H,K,`→`,`\\to`),z(B,U,K,`≱`,`\\ngeq`,!0),z(B,U,K,`≰`,`\\nleq`,!0),z(B,H,xh,`\xA0`,`\\ `),z(B,H,xh,`\xA0`,`\\space`),z(B,H,xh,`\xA0`,`\\nobreakspace`),z(V,H,xh,`\xA0`,`\\ `),z(V,H,xh,`\xA0`,` `),z(V,H,xh,`\xA0`,`\\space`),z(V,H,xh,`\xA0`,`\\nobreakspace`),z(B,H,xh,``,`\\nobreak`),z(B,H,xh,``,`\\allowbreak`),z(B,H,bh,`,`,`,`),z(B,H,bh,`;`,`;`),z(B,U,W,`⊼`,`\\barwedge`,!0),z(B,U,W,`⊻`,`\\veebar`,!0),z(B,H,W,`⊙`,`\\odot`,!0),z(B,H,W,`⊕`,`\\oplus`,!0),z(B,H,W,`⊗`,`\\otimes`,!0),z(B,H,q,`∂`,`\\partial`,!0),z(B,H,W,`⊘`,`\\oslash`,!0),z(B,U,W,`⊚`,`\\circledcirc`,!0),z(B,U,W,`⊡`,`\\boxdot`,!0),z(B,H,W,`△`,`\\bigtriangleup`),z(B,H,W,`▽`,`\\bigtriangledown`),z(B,H,W,`†`,`\\dagger`),z(B,H,W,`⋄`,`\\diamond`),z(B,H,W,`⋆`,`\\star`),z(B,H,W,`◃`,`\\triangleleft`),z(B,H,W,`▹`,`\\triangleright`),z(B,H,yh,`{`,`\\{`),z(V,H,q,`{`,`\\{`),z(V,H,q,`{`,`\\textbraceleft`),z(B,H,gh,`}`,`\\}`),z(V,H,q,`}`,`\\}`),z(V,H,q,`}`,`\\textbraceright`),z(B,H,yh,`{`,`\\lbrace`),z(B,H,gh,`}`,`\\rbrace`),z(B,H,yh,`[`,`\\lbrack`,!0),z(V,H,q,`[`,`\\lbrack`,!0),z(B,H,gh,`]`,`\\rbrack`,!0),z(V,H,q,`]`,`\\rbrack`,!0),z(B,H,yh,`(`,`\\lparen`,!0),z(B,H,gh,`)`,`\\rparen`,!0),z(V,H,q,`<`,`\\textless`,!0),z(V,H,q,`>`,`\\textgreater`,!0),z(B,H,yh,`⌊`,`\\lfloor`,!0),z(B,H,gh,`⌋`,`\\rfloor`,!0),z(B,H,yh,`⌈`,`\\lceil`,!0),z(B,H,gh,`⌉`,`\\rceil`,!0),z(B,H,q,`\\`,`\\backslash`),z(B,H,q,`∣`,`|`),z(B,H,q,`∣`,`\\vert`),z(V,H,q,`|`,`\\textbar`,!0),z(B,H,q,`∥`,`\\|`),z(B,H,q,`∥`,`\\Vert`),z(V,H,q,`∥`,`\\textbardbl`),z(V,H,q,`~`,`\\textasciitilde`),z(V,H,q,`\\`,`\\textbackslash`),z(V,H,q,`^`,`\\textasciicircum`),z(B,H,K,`↑`,`\\uparrow`,!0),z(B,H,K,`⇑`,`\\Uparrow`,!0),z(B,H,K,`↓`,`\\downarrow`,!0),z(B,H,K,`⇓`,`\\Downarrow`,!0),z(B,H,K,`↕`,`\\updownarrow`,!0),z(B,H,K,`⇕`,`\\Updownarrow`,!0),z(B,H,vh,`∐`,`\\coprod`),z(B,H,vh,`⋁`,`\\bigvee`),z(B,H,vh,`⋀`,`\\bigwedge`),z(B,H,vh,`⨄`,`\\biguplus`),z(B,H,vh,`⋂`,`\\bigcap`),z(B,H,vh,`⋃`,`\\bigcup`),z(B,H,vh,`∫`,`\\int`),z(B,H,vh,`∫`,`\\intop`),z(B,H,vh,`∬`,`\\iint`),z(B,H,vh,`∭`,`\\iiint`),z(B,H,vh,`∏`,`\\prod`),z(B,H,vh,`∑`,`\\sum`),z(B,H,vh,`⨂`,`\\bigotimes`),z(B,H,vh,`⨁`,`\\bigoplus`),z(B,H,vh,`⨀`,`\\bigodot`),z(B,H,vh,`∮`,`\\oint`),z(B,H,vh,`∯`,`\\oiint`),z(B,H,vh,`∰`,`\\oiiint`),z(B,H,vh,`⨆`,`\\bigsqcup`),z(B,H,vh,`∫`,`\\smallint`),z(V,H,_h,`…`,`\\textellipsis`),z(B,H,_h,`…`,`\\mathellipsis`),z(V,H,_h,`…`,`\\ldots`,!0),z(B,H,_h,`…`,`\\ldots`,!0),z(B,H,_h,`⋯`,`\\@cdots`,!0),z(B,H,_h,`⋱`,`\\ddots`,!0),z(B,H,q,`⋮`,`\\varvdots`),z(V,H,q,`⋮`,`\\varvdots`),z(B,H,hh,`ˊ`,`\\acute`),z(B,H,hh,`ˋ`,`\\grave`),z(B,H,hh,`¨`,`\\ddot`),z(B,H,hh,`~`,`\\tilde`),z(B,H,hh,`ˉ`,`\\bar`),z(B,H,hh,`˘`,`\\breve`),z(B,H,hh,`ˇ`,`\\check`),z(B,H,hh,`^`,`\\hat`),z(B,H,hh,`⃗`,`\\vec`),z(B,H,hh,`˙`,`\\dot`),z(B,H,hh,`˚`,`\\mathring`),z(B,H,G,``,`\\@imath`),z(B,H,G,``,`\\@jmath`),z(B,H,q,`ı`,`ı`),z(B,H,q,`ȷ`,`ȷ`),z(V,H,q,`ı`,`\\i`,!0),z(V,H,q,`ȷ`,`\\j`,!0),z(V,H,q,`ß`,`\\ss`,!0),z(V,H,q,`æ`,`\\ae`,!0),z(V,H,q,`œ`,`\\oe`,!0),z(V,H,q,`ø`,`\\o`,!0),z(V,H,q,`Æ`,`\\AE`,!0),z(V,H,q,`Œ`,`\\OE`,!0),z(V,H,q,`Ø`,`\\O`,!0),z(V,H,hh,`ˊ`,`\\'`),z(V,H,hh,`ˋ`,"\\`"),z(V,H,hh,`ˆ`,`\\^`),z(V,H,hh,`˜`,`\\~`),z(V,H,hh,`ˉ`,`\\=`),z(V,H,hh,`˘`,`\\u`),z(V,H,hh,`˙`,`\\.`),z(V,H,hh,`¸`,`\\c`),z(V,H,hh,`˚`,`\\r`),z(V,H,hh,`ˇ`,`\\v`),z(V,H,hh,`¨`,`\\"`),z(V,H,hh,`˝`,`\\H`),z(V,H,hh,`◯`,`\\textcircled`);var Sh={"--":!0,"---":!0,"``":!0,"''":!0};z(V,H,q,`–`,`--`,!0),z(V,H,q,`–`,`\\textendash`),z(V,H,q,`—`,`---`,!0),z(V,H,q,`—`,`\\textemdash`),z(V,H,q,`‘`,"`",!0),z(V,H,q,`‘`,`\\textquoteleft`),z(V,H,q,`’`,`'`,!0),z(V,H,q,`’`,`\\textquoteright`),z(V,H,q,`“`,"``",!0),z(V,H,q,`“`,`\\textquotedblleft`),z(V,H,q,`”`,`''`,!0),z(V,H,q,`”`,`\\textquotedblright`),z(B,H,q,`°`,`\\degree`,!0),z(V,H,q,`°`,`\\degree`),z(V,H,q,`°`,`\\textdegree`,!0),z(B,H,q,`£`,`\\pounds`),z(B,H,q,`£`,`\\mathsterling`,!0),z(V,H,q,`£`,`\\pounds`),z(V,H,q,`£`,`\\textsterling`,!0),z(B,U,q,`✠`,`\\maltese`),z(V,U,q,`✠`,`\\maltese`);for(var Ch=`0123456789/@."`,wh=0;wh<Ch.length;wh++){var Th=Ch.charAt(wh);z(B,H,q,Th,Th)}for(var Eh=`0123456789!@*()-=+";:?/.,`,Dh=0;Dh<Eh.length;Dh++){var Oh=Eh.charAt(Dh);z(V,H,q,Oh,Oh)}for(var kh=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz`,Ah=0;Ah<kh.length;Ah++){var jh=kh.charAt(Ah);z(B,H,G,jh,jh),z(V,H,q,jh,jh)}z(B,U,q,`C`,`ℂ`),z(V,U,q,`C`,`ℂ`),z(B,U,q,`H`,`ℍ`),z(V,U,q,`H`,`ℍ`),z(B,U,q,`N`,`ℕ`),z(V,U,q,`N`,`ℕ`),z(B,U,q,`P`,`ℙ`),z(V,U,q,`P`,`ℙ`),z(B,U,q,`Q`,`ℚ`),z(V,U,q,`Q`,`ℚ`),z(B,U,q,`R`,`ℝ`),z(V,U,q,`R`,`ℝ`),z(B,U,q,`Z`,`ℤ`),z(V,U,q,`Z`,`ℤ`),z(B,H,G,`h`,`ℎ`),z(V,H,G,`h`,`ℎ`);for(var J,Mh=0;Mh<kh.length;Mh++){var Nh=kh.charAt(Mh);J=String.fromCharCode(55349,56320+Mh),z(B,H,G,Nh,J),z(V,H,q,Nh,J),J=String.fromCharCode(55349,56372+Mh),z(B,H,G,Nh,J),z(V,H,q,Nh,J),J=String.fromCharCode(55349,56424+Mh),z(B,H,G,Nh,J),z(V,H,q,Nh,J),J=String.fromCharCode(55349,56580+Mh),z(B,H,G,Nh,J),z(V,H,q,Nh,J),J=String.fromCharCode(55349,56684+Mh),z(B,H,G,Nh,J),z(V,H,q,Nh,J),J=String.fromCharCode(55349,56736+Mh),z(B,H,G,Nh,J),z(V,H,q,Nh,J),J=String.fromCharCode(55349,56788+Mh),z(B,H,G,Nh,J),z(V,H,q,Nh,J),J=String.fromCharCode(55349,56840+Mh),z(B,H,G,Nh,J),z(V,H,q,Nh,J),J=String.fromCharCode(55349,56944+Mh),z(B,H,G,Nh,J),z(V,H,q,Nh,J),Mh<26&&(J=String.fromCharCode(55349,56632+Mh),z(B,H,G,Nh,J),z(V,H,q,Nh,J),J=String.fromCharCode(55349,56476+Mh),z(B,H,G,Nh,J),z(V,H,q,Nh,J))}J=String.fromCharCode(55349,56668),z(B,H,G,`k`,J),z(V,H,q,`k`,J);for(var Ph=0;Ph<10;Ph++){var Fh=Ph.toString();J=String.fromCharCode(55349,57294+Ph),z(B,H,G,Fh,J),z(V,H,q,Fh,J),J=String.fromCharCode(55349,57314+Ph),z(B,H,G,Fh,J),z(V,H,q,Fh,J),J=String.fromCharCode(55349,57324+Ph),z(B,H,G,Fh,J),z(V,H,q,Fh,J),J=String.fromCharCode(55349,57334+Ph),z(B,H,G,Fh,J),z(V,H,q,Fh,J)}for(var Ih=`ÐÞþ`,Lh=0;Lh<Ih.length;Lh++){var Rh=Ih.charAt(Lh);z(B,H,G,Rh,Rh),z(V,H,q,Rh,Rh)}var zh={mathClass:`mathbf`,textClass:`textbf`,font:`Main-Bold`},Bh={mathClass:`mathnormal`,textClass:`textit`,font:`Math-Italic`},Vh={mathClass:`boldsymbol`,textClass:`boldsymbol`,font:`Main-BoldItalic`},Hh={mathClass:`mathscr`,textClass:`textscr`,font:`Script-Regular`},Uh={mathClass:``,textClass:``,font:``},Wh={mathClass:`mathfrak`,textClass:`textfrak`,font:`Fraktur-Regular`},Gh={mathClass:`mathbb`,textClass:`textbb`,font:`AMS-Regular`},Kh={mathClass:`mathboldfrak`,textClass:`textboldfrak`,font:`Fraktur-Regular`},qh={mathClass:`mathsf`,textClass:`textsf`,font:`SansSerif-Regular`},Jh={mathClass:`mathboldsf`,textClass:`textboldsf`,font:`SansSerif-Bold`},Yh={mathClass:`mathitsf`,textClass:`textitsf`,font:`SansSerif-Italic`},Xh={mathClass:`mathtt`,textClass:`texttt`,font:`Typewriter-Regular`},Zh=[zh,zh,Bh,Bh,Vh,Vh,Hh,Uh,Uh,Uh,Wh,Wh,Gh,Gh,Kh,Kh,qh,qh,Jh,Jh,Yh,Yh,Uh,Uh,Xh,Xh],Qh=[zh,Uh,qh,Jh,Xh],$h=e=>{var t=e.charCodeAt(0),n=e.charCodeAt(1),r=(t-55296)*1024+(n-56320)+65536;if(119808<=r&&r<120484)return Zh[Math.floor((r-119808)/26)];if(120782<=r&&r<=120831)return Qh[Math.floor((r-120782)/10)];if(r===120485||r===120486)return Zh[0];if(120486<r&&r<120782)return Uh;throw new I(`Unsupported character: `+e)},eg=function(e,t,n){if(mh[n][e]){var r=mh[n][e].replace;r&&(e=r)}return{value:e,metrics:dh(e,t,n)}},tg=function(e,t,n,r,i){var a=eg(e,t,n),o=a.metrics;e=a.value;var s;if(o){var c=o.italic;(n===`text`||r&&r.font===`mathit`)&&(c=0),s=new eh(e,o.height,o.depth,c,o.skew,o.width,i)}else typeof console<`u`&&console.warn(`No character metrics `+(`for '`+e+`' in style '`+t+`' and mode '`+n+`'`)),s=new eh(e,0,0,0,0,0,i);if(r){s.maxFontSize=r.sizeMultiplier,r.style.isTight()&&s.classes.push(`mtight`);var l=r.getColor();l&&(s.style.color=l)}return s},ng=function(e,t,n,r){return r===void 0&&(r=[]),n.font===`boldsymbol`&&eg(e,`Main-Bold`,t).metrics?tg(e,`Main-Bold`,t,n,r.concat([`mathbf`])):e===`\\`||mh[t][e].font===`main`?tg(e,`Main-Regular`,t,n,r):tg(e,`AMS-Regular`,t,n,r.concat([`amsrm`]))},rg=function(e,t,n){return n!==`textord`&&eg(e,`Math-BoldItalic`,t).metrics?{fontName:`Math-BoldItalic`,fontClass:`boldsymbol`}:{fontName:`Main-Bold`,fontClass:`mathbf`}},ig=function(e,t){var n=e.type===`mathord`?`mathord`:`textord`,r=e.mode,i=e.text,a=[`mord`],{font:o,fontFamily:s,fontWeight:c,fontShape:l}=t,u=r===`math`||r===`text`&&!!o,d=u?o:s,f=``,p=``;if(i.charCodeAt(0)===55349){var m=$h(i);f=m.font,p=m[r+`Class`]}if(f)return tg(i,f,r,t,a.concat(p));if(d){var h,g;if(d===`boldsymbol`){var _=rg(i,r,n);h=_.fontName,g=[_.fontClass]}else u?(h=_g[o].fontName,g=[o]):(h=gg(s,c,l),g=[s,c,l]);if(eg(i,h,r).metrics)return tg(i,h,r,t,a.concat(g));if(Sh.hasOwnProperty(i)&&h.slice(0,10)===`Typewriter`){for(var v=[],y=0;y<i.length;y++)v.push(tg(i[y],h,r,t,a.concat(g)));return dg(v)}}if(n===`mathord`)return tg(i,`Math-Italic`,r,t,a.concat([`mathnormal`]));if(n===`textord`){var b=mh[r][i]&&mh[r][i].font;if(b===`ams`)return tg(i,gg(`amsrm`,c,l),r,t,a.concat(`amsrm`,c,l));if(b===`main`||!b)return tg(i,gg(`textrm`,c,l),r,t,a.concat(c,l));var x=gg(b,c,l);return tg(i,x,r,t,a.concat(x,c,l))}throw Error(`unexpected type: `+n+` in makeOrd`)},ag=(e,t)=>{if(Wm(e.classes)!==Wm(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass(`mathnormal`))return!1;if(e.classes.length===1){var n=e.classes[0];if(n===`mbin`||n===`mord`)return!1}for(var r of Object.keys(e.style))if(e.style[r]!==t.style[r])return!1;for(var i of Object.keys(t.style))if(e.style[i]!==t.style[i])return!1;return!0},og=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof eh&&r instanceof eh&&ag(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e},sg=function(e){for(var t=0,n=0,r=0,i=0;i<e.children.length;i++){var a=e.children[i];a.height>t&&(t=a.height),a.depth>n&&(n=a.depth),a.maxFontSize>r&&(r=a.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},Y=function(e,t,n,r){var i=new Xm(e,t,n,r);return sg(i),i},cg=(e,t,n,r)=>new Xm(e,t,n,r),lg=function(e,t,n){var r=Y([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=R(r.height),r.maxFontSize=1,r},ug=function(e,t,n,r){var i=new Zm(e,t,n,r);return sg(i),i},dg=function(e){var t=new zm(e);return sg(t),t},fg=function(e,t){return e instanceof zm?Y([],[e],t):e},pg=function(e){if(e.positionType===`individualShift`){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,i=r,a=1;a<t.length;a++){var o=-t[a].shift-i-t[a].elem.depth,s=o-(t[a-1].elem.height+t[a-1].elem.depth);i+=o,n.push({type:`kern`,size:s}),n.push(t[a])}return{children:n,depth:r}}var c;if(e.positionType===`top`){for(var l=e.positionData,u=0;u<e.children.length;u++){var d=e.children[u];l-=d.type===`kern`?d.size:d.elem.height+d.elem.depth}c=l}else if(e.positionType===`bottom`)c=-e.positionData;else{var f=e.children[0];if(f.type!==`elem`)throw Error(`First child must have type "elem".`);if(e.positionType===`shift`)c=-f.elem.depth-e.positionData;else if(e.positionType===`firstBaseline`)c=-f.elem.depth;else throw Error(`Invalid positionType `+e.positionType+`.`)}return{children:e.children,depth:c}},mg=function(e,t){for(var{children:n,depth:r}=pg(e),i=0,a=0;a<n.length;a++){var o=n[a];if(o.type===`elem`){var s=o.elem;i=Math.max(i,s.maxFontSize,s.height)}}i+=2;var c=Y([`pstrut`],[]);c.style.height=R(i);for(var l=[],u=r,d=r,f=r,p=0;p<n.length;p++){var m=n[p];if(m.type===`kern`)f+=m.size;else{var h=m.elem,g=m.wrapperClasses||[],_=m.wrapperStyle||{},v=Y(g,[c,h],void 0,_);v.style.top=R(-i-f-h.depth),m.marginLeft&&(v.style.marginLeft=m.marginLeft),m.marginRight&&(v.style.marginRight=m.marginRight),l.push(v),f+=h.height+h.depth}u=Math.min(u,f),d=Math.max(d,f)}var y=Y([`vlist`],l);y.style.height=R(d);var b;if(u<0){var x=Y([`vlist`],[Y([],[])]);x.style.height=R(-u),b=[Y([`vlist-r`],[y,Y([`vlist-s`],[new eh(``)])]),Y([`vlist-r`],[x])]}else b=[Y([`vlist-r`],[y])];var S=Y([`vlist-t`],b);return b.length===2&&S.classes.push(`vlist-t2`),S.height=d,S.depth=-u,S},hg=(e,t)=>{var n=Y([`mspace`],[],t),r=Um(e,t);return n.style.marginRight=R(r),n},gg=(e,t,n)=>{var r,i;switch(e){case`amsrm`:r=`AMS`;break;case`textrm`:r=`Main`;break;case`textsf`:r=`SansSerif`;break;case`texttt`:r=`Typewriter`;break;default:r=e}return i=t===`textbf`&&n===`textit`?`BoldItalic`:t===`textbf`?`Bold`:n===`textit`?`Italic`:`Regular`,r+`-`+i},_g={mathbf:{variant:`bold`,fontName:`Main-Bold`},mathrm:{variant:`normal`,fontName:`Main-Regular`},textit:{variant:`italic`,fontName:`Main-Italic`},mathit:{variant:`italic`,fontName:`Main-Italic`},mathnormal:{variant:`italic`,fontName:`Math-Italic`},mathsfit:{variant:`sans-serif-italic`,fontName:`SansSerif-Italic`},mathbb:{variant:`double-struck`,fontName:`AMS-Regular`},mathcal:{variant:`script`,fontName:`Caligraphic-Regular`},mathfrak:{variant:`fraktur`,fontName:`Fraktur-Regular`},mathscr:{variant:`script`,fontName:`Script-Regular`},mathsf:{variant:`sans-serif`,fontName:`SansSerif-Regular`},mathtt:{variant:`monospace`,fontName:`Typewriter-Regular`}},vg={vec:[`vec`,.471,.714],oiintSize1:[`oiintSize1`,.957,.499],oiintSize2:[`oiintSize2`,1.472,.659],oiiintSize1:[`oiiintSize1`,1.304,.499],oiiintSize2:[`oiiintSize2`,1.98,.659]},yg=function(e,t){var[n,r,i]=vg[e],a=cg([`overlay`],[new th([new nh(n)],{width:R(r),height:R(i),style:`width:`+R(r),viewBox:`0 0 `+1e3*r+` `+1e3*i,preserveAspectRatio:`xMinYMin`})],t);return a.height=i,a.style.height=R(i),a.style.width=R(r),a},bg={number:3,unit:`mu`},xg={number:4,unit:`mu`},Sg={number:5,unit:`mu`},Cg={mord:{mop:bg,mbin:xg,mrel:Sg,minner:bg},mop:{mord:bg,mop:bg,mrel:Sg,minner:bg},mbin:{mord:xg,mop:xg,mopen:xg,minner:xg},mrel:{mord:Sg,mop:Sg,mopen:Sg,minner:Sg},mopen:{},mclose:{mop:bg,mbin:xg,mrel:Sg,minner:bg},mpunct:{mord:bg,mop:bg,mrel:Sg,mopen:bg,mclose:bg,mpunct:bg,minner:bg},minner:{mord:bg,mop:bg,mbin:xg,mrel:Sg,mopen:bg,mpunct:bg,minner:bg}},wg={mord:{mop:bg},mop:{mord:bg,mop:bg},mbin:{},mrel:{},mopen:{},mclose:{mop:bg},mpunct:{},minner:{mop:bg}},Tg={},Eg={},Dg={};function X(e){for(var{type:t,names:n,htmlBuilder:r,mathmlBuilder:i}=e,a=0;a<n.length;++a)Tg[n[a]]=e;t&&(r&&(Eg[t]=r),i&&(Dg[t]=i))}function Og(e){var{type:t,htmlBuilder:n,mathmlBuilder:r}=e;n&&(Eg[t]=n),r&&(Dg[t]=r)}var kg=function(e){return e.type===`ordgroup`&&e.body.length===1?e.body[0]:e},Ag=function(e){return e.type===`ordgroup`?e.body:[e]},jg=new Set([`leftmost`,`mbin`,`mopen`,`mrel`,`mop`,`mpunct`]),Mg=new Set([`rightmost`,`mrel`,`mclose`,`mpunct`]),Ng={display:L.DISPLAY,text:L.TEXT,script:L.SCRIPT,scriptscript:L.SCRIPTSCRIPT},Pg={mord:`mord`,mop:`mop`,mbin:`mbin`,mrel:`mrel`,mopen:`mopen`,mclose:`mclose`,mpunct:`mpunct`,minner:`minner`},Fg=function(e,t,n,r){r===void 0&&(r=[null,null]);for(var i=[],a=0;a<e.length;a++){var o=Vg(e[a],t);if(o instanceof zm){var s=o.children;i.push(...s)}else i.push(o)}if(og(i),!n)return i;var c=t;if(e.length===1){var l=e[0];l.type===`sizing`?c=t.havingSize(l.size):l.type===`styling`&&(c=t.havingStyle(Ng[l.style]))}var u=Y([r[0]||`leftmost`],[],t),d=Y([r[1]||`rightmost`],[],t),f=n===`root`;return Ig(i,(e,t)=>{var n=t.classes[0],r=e.classes[0];n===`mbin`&&Mg.has(r)?t.classes[0]=`mord`:r===`mbin`&&jg.has(n)&&(e.classes[0]=`mord`)},{node:u},d,f),Ig(i,(e,t)=>{var n=zg(t),r=zg(e),i=n&&r?e.hasClass(`mtight`)?wg[n]?.[r]:Cg[n]?.[r]:null;if(i)return hg(i,c)},{node:u},d,f),i},Ig=function(e,t,n,r,i){r&&e.push(r);for(var a=0;a<e.length;a++){var o=e[a],s=Lg(o);if(s){Ig(s.children,t,n,null,i);continue}var c=!o.hasClass(`mspace`);if(c){var l=t(o,n.node);l&&(n.insertAfter?n.insertAfter(l):(e.unshift(l),a++))}c?n.node=o:i&&o.hasClass(`newline`)&&(n.node=Y([`leftmost`])),n.insertAfter=(t=>n=>{e.splice(t+1,0,n),a++})(a)}r&&e.pop()},Lg=function(e){return e instanceof zm||e instanceof Zm||e instanceof Xm&&e.hasClass(`enclosing`)?e:null},Rg=function(e,t){var n=Lg(e);if(n){var r=n.children;if(r.length){if(t===`right`)return Rg(r[r.length-1],`right`);if(t===`left`)return Rg(r[0],`left`)}}return e},zg=function(e,t){return e?(t&&(e=Rg(e,t)),Pg[e.classes[0]]||null):null},Bg=function(e,t){var n=[`nulldelimiter`].concat(e.baseSizingClasses());return Y(t.concat(n))},Vg=function(e,t,n){if(!e)return Y();if(Eg[e.type]){var r=Eg[e.type](e,t);if(n&&t.size!==n.size){r=Y(t.sizingClasses(n),[r],t);var i=t.sizeMultiplier/n.sizeMultiplier;r.height*=i,r.depth*=i}return r}throw new I(`Got group of unknown type: '`+e.type+`'`)};function Hg(e,t){var n=Y([`base`],e,t),r=Y([`strut`]);return r.style.height=R(n.height+n.depth),n.depth&&(r.style.verticalAlign=R(-n.depth)),n.children.unshift(r),n}function Ug(e,t){var n=null;e.length===1&&e[0].type===`tag`&&(n=e[0].tag,e=e[0].body);var r=Fg(e,t,`root`),i;r.length===2&&r[1].hasClass(`tag`)&&(i=r.pop());for(var a=[],o=[],s=0;s<r.length;s++)if(o.push(r[s]),r[s].hasClass(`mbin`)||r[s].hasClass(`mrel`)||r[s].hasClass(`allowbreak`)){for(var c=!1;s<r.length-1&&r[s+1].hasClass(`mspace`)&&!r[s+1].hasClass(`newline`);)s++,o.push(r[s]),r[s].hasClass(`nobreak`)&&(c=!0);c||(a.push(Hg(o,t)),o=[])}else r[s].hasClass(`newline`)&&(o.pop(),o.length>0&&(a.push(Hg(o,t)),o=[]),a.push(r[s]));o.length>0&&a.push(Hg(o,t));var l;n?(l=Hg(Fg(n,t,!0),t),l.classes=[`tag`],a.push(l)):i&&a.push(i);var u=Y([`katex-html`],a);if(u.setAttribute(`aria-hidden`,`true`),l){var d=l.children[0];d.style.height=R(u.height+u.depth),u.depth&&(d.style.verticalAlign=R(-u.depth))}return u}function Wg(e){return new zm(e)}var Z=class{constructor(e,t,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=n||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS(`http://www.w3.org/1998/Math/MathML`,this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=Wm(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof Gg&&this.children[n+1]instanceof Gg){for(var r=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof Gg;)r+=this.children[++n].toText();e.appendChild(new Gg(r).toNode())}else e.appendChild(this.children[n].toNode());return e}toMarkup(){var e=`<`+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=` `+t+`="`,e+=Yp(this.attributes[t]),e+=`"`);this.classes.length>0&&(e+=` class ="`+Yp(Wm(this.classes))+`"`),e+=`>`;for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+=`</`+this.type+`>`,e}toText(){return this.children.map(e=>e.toText()).join(``)}},Gg=class{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return Yp(this.toText())}toText(){return this.text}},Kg=class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?` `:e>=.1666&&e<=.1667?` `:e>=.2222&&e<=.2223?` `:e>=.2777&&e<=.2778?` `:e>=-.05556&&e<=-.05555?` `:e>=-.1667&&e<=-.1666?` `:e>=-.2223&&e<=-.2222?` `:e>=-.2778&&e<=-.2777?` `:null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS(`http://www.w3.org/1998/Math/MathML`,`mspace`);return e.setAttribute(`width`,R(this.width)),e}toMarkup(){return this.character?`<mtext>`+this.character+`</mtext>`:`<mspace width="`+R(this.width)+`"/>`}toText(){return this.character?this.character:` `}},qg=new Set([`\\imath`,`\\jmath`]),Jg=new Set([`mrow`,`mtable`]),Yg=function(e,t,n){return mh[t][e]&&mh[t][e].replace&&e.charCodeAt(0)!==55349&&!(Sh.hasOwnProperty(e)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)===`tt`||n.font&&n.font.slice(4,6)===`tt`))&&(e=mh[t][e].replace),new Gg(e)},Xg=function(e){return e.length===1?e[0]:new Z(`mrow`,e)},Zg={mathit:`italic`,boldsymbol:e=>e.type===`textord`?`bold`:`bold-italic`,mathbf:`bold`,mathbb:`double-struck`,mathsfit:`sans-serif-italic`,mathfrak:`fraktur`,mathscr:`script`,mathcal:`script`,mathsf:`sans-serif`,mathtt:`monospace`},Qg=(e,t)=>{if(e.mode===`text`){if(t.fontFamily===`texttt`)return`monospace`;if(t.fontFamily===`textsf`)return t.fontShape===`textit`&&t.fontWeight===`textbf`?`sans-serif-bold-italic`:t.fontShape===`textit`?`sans-serif-italic`:t.fontWeight===`textbf`?`bold-sans-serif`:`sans-serif`;if(t.fontShape===`textit`&&t.fontWeight===`textbf`)return`bold-italic`;if(t.fontShape===`textit`)return`italic`;if(t.fontWeight===`textbf`)return`bold`}var n=t.font;if(!n||n===`mathnormal`)return null;var r=e.mode,i=Zg[n];if(i)return typeof i==`function`?i(e):i;var a=e.text;if(qg.has(a))return null;if(mh[r][a]){var o=mh[r][a].replace;o&&(a=o)}var s=_g[n].fontName;return dh(a,s,r)?_g[n].variant:null};function $g(e){if(!e)return!1;if(e.type===`mi`&&e.children.length===1){var t=e.children[0];return t instanceof Gg&&t.text===`.`}if(e.type===`mo`&&e.children.length===1&&e.getAttribute(`separator`)===`true`&&e.getAttribute(`lspace`)===`0em`&&e.getAttribute(`rspace`)===`0em`){var n=e.children[0];return n instanceof Gg&&n.text===`,`}return!1}var e_=function(e,t,n){if(e.length===1){var r=n_(e[0],t);return n&&r instanceof Z&&r.type===`mo`&&(r.setAttribute(`lspace`,`0em`),r.setAttribute(`rspace`,`0em`)),[r]}for(var i=[],a,o=0;o<e.length;o++){var s=n_(e[o],t);if(s instanceof Z&&a instanceof Z){if(s.type===`mtext`&&a.type===`mtext`&&s.getAttribute(`mathvariant`)===a.getAttribute(`mathvariant`)){a.children.push(...s.children);continue}if(s.type===`mn`&&a.type===`mn`){a.children.push(...s.children);continue}if($g(s)&&a.type===`mn`){a.children.push(...s.children);continue}if(s.type===`mn`&&$g(a))s.children=[...a.children,...s.children],i.pop();else if((s.type===`msup`||s.type===`msub`)&&s.children.length>=1&&(a.type===`mn`||$g(a))){var c=s.children[0];c instanceof Z&&c.type===`mn`&&(c.children=[...a.children,...c.children],i.pop())}else if(a.type===`mi`&&a.children.length===1){var l=a.children[0];if(l instanceof Gg&&l.text===`̸`&&(s.type===`mo`||s.type===`mi`||s.type===`mn`)){var u=s.children[0];u instanceof Gg&&u.text.length>0&&(u.text=u.text.slice(0,1)+`̸`+u.text.slice(1),i.pop())}}}i.push(s),a=s}return i},t_=function(e,t,n){return Xg(e_(e,t,n))},n_=function(e,t){if(!e)return new Z(`mrow`);if(Dg[e.type])return Dg[e.type](e,t);throw new I(`Got group of unknown type: '`+e.type+`'`)};function r_(e,t,n,r,i){var a=e_(e,n),o=a.length===1&&a[0]instanceof Z&&Jg.has(a[0].type)?a[0]:new Z(`mrow`,a),s=new Z(`annotation`,[new Gg(t)]);s.setAttribute(`encoding`,`application/x-tex`);var c=new Z(`math`,[new Z(`semantics`,[o,s])]);return c.setAttribute(`xmlns`,`http://www.w3.org/1998/Math/MathML`),r&&c.setAttribute(`display`,`block`),Y([i?`katex`:`katex-mathml`],[c])}var i_=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],a_=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],o_=function(e,t){return t.size<2?e:i_[e-1][t.size-1]},s_=class e{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||``,this.fontFamily=t.fontFamily||``,this.fontWeight=t.fontWeight||``,this.fontShape=t.fontShape||``,this.sizeMultiplier=a_[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(n,t),new e(n)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:o_(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:a_[e-1]})}havingBaseStyle(t){t||=this.style.text();var n=o_(e.BASESIZE,t);return this.size===n&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:``})}withTextFontWeight(e){return this.extend({fontWeight:e,font:``})}withTextFontShape(e){return this.extend({fontShape:e,font:``})}sizingClasses(e){return e.size===this.size?[]:[`sizing`,`reset-size`+e.size,`size`+this.size]}baseSizingClasses(){return this.size===e.BASESIZE?[]:[`sizing`,`reset-size`+this.size,`size`+e.BASESIZE]}fontMetrics(){return this._fontMetrics||=ph(this.size),this._fontMetrics}getColor(){return this.phantom?`transparent`:this.color}};s_.BASESIZE=6;var c_=function(e){return new s_({style:e.displayMode?L.DISPLAY:L.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},l_=function(e,t){if(t.displayMode){var n=[`katex-display`];t.leqno&&n.push(`leqno`),t.fleqn&&n.push(`fleqn`),e=Y(n,[e])}return e},u_=function(e,t,n){var r=c_(n),i;return n.output===`mathml`?r_(e,t,r,n.displayMode,!0):(i=n.output===`html`?Y([`katex`],[Ug(e,r)]):Y([`katex`],[r_(e,t,r,n.displayMode,!1),Ug(e,r)]),l_(i,n))},d_=function(e,t,n){return l_(Y([`katex`],[Ug(e,c_(n))]),n)},f_={widehat:`^`,widecheck:`ˇ`,widetilde:`~`,utilde:`~`,overleftarrow:`←`,underleftarrow:`←`,xleftarrow:`←`,overrightarrow:`→`,underrightarrow:`→`,xrightarrow:`→`,underbrace:`⏟`,overbrace:`⏞`,underbracket:`⎵`,overbracket:`⎴`,overgroup:`⏠`,undergroup:`⏡`,overleftrightarrow:`↔`,underleftrightarrow:`↔`,xleftrightarrow:`↔`,Overrightarrow:`⇒`,xRightarrow:`⇒`,overleftharpoon:`↼`,xleftharpoonup:`↼`,overrightharpoon:`⇀`,xrightharpoonup:`⇀`,xLeftarrow:`⇐`,xLeftrightarrow:`⇔`,xhookleftarrow:`↩`,xhookrightarrow:`↪`,xmapsto:`↦`,xrightharpoondown:`⇁`,xleftharpoondown:`↽`,xrightleftharpoons:`⇌`,xleftrightharpoons:`⇋`,xtwoheadleftarrow:`↞`,xtwoheadrightarrow:`↠`,xlongequal:`=`,xtofrom:`⇄`,xrightleftarrows:`⇄`,xrightequilibrium:`⇌`,xleftequilibrium:`⇋`,"\\cdrightarrow":`→`,"\\cdleftarrow":`←`,"\\cdlongequal":`=`},p_=function(e){var t=new Z(`mo`,[new Gg(f_[e.replace(/^\\/,``)])]);return t.setAttribute(`stretchy`,`true`),t},m_={overrightarrow:[[`rightarrow`],.888,522,`xMaxYMin`],overleftarrow:[[`leftarrow`],.888,522,`xMinYMin`],underrightarrow:[[`rightarrow`],.888,522,`xMaxYMin`],underleftarrow:[[`leftarrow`],.888,522,`xMinYMin`],xrightarrow:[[`rightarrow`],1.469,522,`xMaxYMin`],"\\cdrightarrow":[[`rightarrow`],3,522,`xMaxYMin`],xleftarrow:[[`leftarrow`],1.469,522,`xMinYMin`],"\\cdleftarrow":[[`leftarrow`],3,522,`xMinYMin`],Overrightarrow:[[`doublerightarrow`],.888,560,`xMaxYMin`],xRightarrow:[[`doublerightarrow`],1.526,560,`xMaxYMin`],xLeftarrow:[[`doubleleftarrow`],1.526,560,`xMinYMin`],overleftharpoon:[[`leftharpoon`],.888,522,`xMinYMin`],xleftharpoonup:[[`leftharpoon`],.888,522,`xMinYMin`],xleftharpoondown:[[`leftharpoondown`],.888,522,`xMinYMin`],overrightharpoon:[[`rightharpoon`],.888,522,`xMaxYMin`],xrightharpoonup:[[`rightharpoon`],.888,522,`xMaxYMin`],xrightharpoondown:[[`rightharpoondown`],.888,522,`xMaxYMin`],xlongequal:[[`longequal`],.888,334,`xMinYMin`],"\\cdlongequal":[[`longequal`],3,334,`xMinYMin`],xtwoheadleftarrow:[[`twoheadleftarrow`],.888,334,`xMinYMin`],xtwoheadrightarrow:[[`twoheadrightarrow`],.888,334,`xMaxYMin`],overleftrightarrow:[[`leftarrow`,`rightarrow`],.888,522],overbrace:[[`leftbrace`,`midbrace`,`rightbrace`],1.6,548],underbrace:[[`leftbraceunder`,`midbraceunder`,`rightbraceunder`],1.6,548],underleftrightarrow:[[`leftarrow`,`rightarrow`],.888,522],xleftrightarrow:[[`leftarrow`,`rightarrow`],1.75,522],xLeftrightarrow:[[`doubleleftarrow`,`doublerightarrow`],1.75,560],xrightleftharpoons:[[`leftharpoondownplus`,`rightharpoonplus`],1.75,716],xleftrightharpoons:[[`leftharpoonplus`,`rightharpoondownplus`],1.75,716],xhookleftarrow:[[`leftarrow`,`righthook`],1.08,522],xhookrightarrow:[[`lefthook`,`rightarrow`],1.08,522],overlinesegment:[[`leftlinesegment`,`rightlinesegment`],.888,522],underlinesegment:[[`leftlinesegment`,`rightlinesegment`],.888,522],overbracket:[[`leftbracketover`,`rightbracketover`],1.6,440],underbracket:[[`leftbracketunder`,`rightbracketunder`],1.6,410],overgroup:[[`leftgroup`,`rightgroup`],.888,342],undergroup:[[`leftgroupunder`,`rightgroupunder`],.888,342],xmapsto:[[`leftmapsto`,`rightarrow`],1.5,522],xtofrom:[[`leftToFrom`,`rightToFrom`],1.75,528],xrightleftarrows:[[`baraboveleftarrow`,`rightarrowabovebar`],1.75,901],xrightequilibrium:[[`baraboveshortleftharpoon`,`rightharpoonaboveshortbar`],1.75,716],xleftequilibrium:[[`shortbaraboveleftharpoon`,`shortrightharpoonabovebar`],1.75,716]},h_=new Set([`widehat`,`widecheck`,`widetilde`,`utilde`]),g_=function(e,t){function n(){var n=4e5,r=e.label.slice(1);if(h_.has(r)&&`base`in e){var i=e.base.type===`ordgroup`?e.base.body.length:1,a,o,s;if(i>5)r===`widehat`||r===`widecheck`?(a=420,n=2364,s=.42,o=r+`4`):(a=312,n=2340,s=.34,o=`tilde4`);else{var c=[1,1,2,2,3,3][i];r===`widehat`||r===`widecheck`?(n=[0,1062,2364,2364,2364][c],a=[0,239,300,360,420][c],s=[0,.24,.3,.3,.36,.42][c],o=r+c):(n=[0,600,1033,2339,2340][c],a=[0,260,286,306,312][c],s=[0,.26,.286,.3,.306,.34][c],o=`tilde`+c)}return{span:cg([],[new th([new nh(o)],{width:`100%`,height:R(s),viewBox:`0 0 `+n+` `+a,preserveAspectRatio:`none`})],t),minWidth:0,height:s}}var l=[],u=m_[r];if(!u)throw Error(`No SVG data for "`+r+`".`);var[d,f,p]=u,m=p/1e3,h=d.length,g,_;if(h===1){if(u.length!==4)throw Error(`Expected 4-tuple for single-path SVG data "`+r+`".`);g=[`hide-tail`],_=[u[3]]}else if(h===2)g=[`halfarrow-left`,`halfarrow-right`],_=[`xMinYMin`,`xMaxYMin`];else if(h===3)g=[`brace-left`,`brace-center`,`brace-right`],_=[`xMinYMin`,`xMidYMin`,`xMaxYMin`];else throw Error(`Correct katexImagesData or update code here to support
|
|
1203
|
-
`+h+` children.`);for(var v=0;v<h;v++){var y=new th([new nh(d[v])],{width:`400em`,height:R(m),viewBox:`0 0 `+n+` `+p,preserveAspectRatio:_[v]+` slice`}),b=cg([g[v]],[y],t);if(h===1)return{span:b,minWidth:f,height:m};b.style.height=R(m),l.push(b)}return{span:Y([`stretchy`],l,t),minWidth:f,height:m}}var{span:r,minWidth:i,height:a}=n();return r.height=a,r.style.height=R(a),i>0&&(r.style.minWidth=R(i)),r},__=function(e,t,n,r,i){var a,o=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(a=Y([`stretchy`,t],[],i),t===`fbox`){var s=i.color&&i.getColor();s&&(a.style.borderColor=s)}}else{var c=[];/^[bx]cancel$/.test(t)&&c.push(new rh({x1:`0`,y1:`0`,x2:`100%`,y2:`100%`,"stroke-width":`0.046em`})),/^x?cancel$/.test(t)&&c.push(new rh({x1:`0`,y1:`100%`,x2:`100%`,y2:`0`,"stroke-width":`0.046em`})),a=cg([],[new th(c,{width:`100%`,height:R(o)})],i)}return a.height=o,a.style.height=R(o),a},v_={bin:1,close:1,inner:1,open:1,punct:1,rel:1},y_={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1};function b_(e){return e in v_}function Q(e,t){if(!e||e.type!==t)throw Error(`Expected node of type `+t+`, but got `+(e?`node of type `+e.type:String(e)));return e}function x_(e){var t=S_(e);if(!t)throw Error(`Expected node of symbol group type, but got `+(e?`node of type `+e.type:String(e)));return t}function S_(e){return e&&(e.type===`atom`||y_.hasOwnProperty(e.type))?e:null}var C_=e=>{if(e instanceof eh)return e;if(oh(e)&&e.children.length===1)return C_(e.children[0])},w_=(e,t)=>{var n,r,i;e&&e.type===`supsub`?(r=Q(e.base,`accent`),n=r.base,e.base=n,i=ah(Vg(e,t)),e.base=r):(r=Q(e,`accent`),n=r.base);var a=Vg(n,t.havingCrampedStyle()),o=r.isShifty&&Qp(n),s=0;o&&(s=C_(a)?.skew??0);var c=r.label===`\\c`,l=c?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),u;if(r.isStretchy)u=g_(r,t),u=mg({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`elem`,elem:u,wrapperClasses:[`svg-align`],wrapperStyle:s>0?{width:`calc(100% - `+R(2*s)+`)`,marginLeft:R(2*s)}:void 0}]});else{var d,f;r.label===`\\vec`?(d=yg(`vec`,t),f=vg.vec[1]):(d=ig({type:`textord`,mode:r.mode,text:r.label},t),d=ih(d),d.italic=0,f=d.width,c&&(l+=d.depth)),u=Y([`accent-body`],[d]);var p=r.label===`\\textcircled`;p&&(u.classes.push(`accent-full`),l=a.height);var m=s;p||(m-=f/2),u.style.left=R(m),r.label===`\\textcircled`&&(u.style.top=`.2em`),u=mg({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`kern`,size:-l},{type:`elem`,elem:u}]})}var h=Y([`mord`,`accent`],[u],t);return i?(i.children[0]=h,i.height=Math.max(h.height,i.height),i.classes[0]=`mord`,i):h},T_=(e,t)=>{var n=e.isStretchy?p_(e.label):new Z(`mo`,[Yg(e.label,e.mode)]),r=new Z(`mover`,[n_(e.base,t),n]);return r.setAttribute(`accent`,`true`),r},E_=new RegExp([`\\acute`,`\\grave`,`\\ddot`,`\\tilde`,`\\bar`,`\\breve`,`\\check`,`\\hat`,`\\vec`,`\\dot`,`\\mathring`].map(e=>`\\`+e).join(`|`));X({type:`accent`,names:[`\\acute`,`\\grave`,`\\ddot`,`\\tilde`,`\\bar`,`\\breve`,`\\check`,`\\hat`,`\\vec`,`\\dot`,`\\mathring`,`\\widecheck`,`\\widehat`,`\\widetilde`,`\\overrightarrow`,`\\overleftarrow`,`\\Overrightarrow`,`\\overleftrightarrow`,`\\overgroup`,`\\overlinesegment`,`\\overleftharpoon`,`\\overrightharpoon`],numArgs:1,handler:(e,t)=>{var n=kg(t[0]),r=!E_.test(e.funcName),i=!r||e.funcName===`\\widehat`||e.funcName===`\\widetilde`||e.funcName===`\\widecheck`;return{type:`accent`,mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:w_,mathmlBuilder:T_}),X({type:`accent`,names:[`\\'`,"\\`",`\\^`,`\\~`,`\\=`,`\\u`,`\\.`,`\\"`,`\\c`,`\\r`,`\\H`,`\\v`,`\\textcircled`],numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:[`primitive`],handler:(e,t)=>{var n=t[0],r=e.parser.mode;return r===`math`&&(e.parser.settings.reportNonstrict(`mathVsTextAccents`,`LaTeX's accent `+e.funcName+` works only in text mode`),r=`text`),{type:`accent`,mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}}}),X({type:`accentUnder`,names:[`\\underleftarrow`,`\\underrightarrow`,`\\underleftrightarrow`,`\\undergroup`,`\\underlinesegment`,`\\utilde`],numArgs:1,handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:`accentUnder`,mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{var n=Vg(e.base,t),r=g_(e,t),i=e.label===`\\utilde`?.12:0;return Y([`mord`,`accentunder`],[mg({positionType:`top`,positionData:n.height,children:[{type:`elem`,elem:r,wrapperClasses:[`svg-align`]},{type:`kern`,size:i},{type:`elem`,elem:n}]})],t)},mathmlBuilder:(e,t)=>{var n=p_(e.label),r=new Z(`munder`,[n_(e.base,t),n]);return r.setAttribute(`accentunder`,`true`),r}});var D_=e=>{var t=new Z(`mpadded`,e?[e]:[]);return t.setAttribute(`width`,`+0.6em`),t.setAttribute(`lspace`,`0.3em`),t};X({type:`xArrow`,names:[`\\xleftarrow`,`\\xrightarrow`,`\\xLeftarrow`,`\\xRightarrow`,`\\xleftrightarrow`,`\\xLeftrightarrow`,`\\xhookleftarrow`,`\\xhookrightarrow`,`\\xmapsto`,`\\xrightharpoondown`,`\\xrightharpoonup`,`\\xleftharpoondown`,`\\xleftharpoonup`,`\\xrightleftharpoons`,`\\xleftrightharpoons`,`\\xlongequal`,`\\xtwoheadrightarrow`,`\\xtwoheadleftarrow`,`\\xtofrom`,`\\xrightleftarrows`,`\\xrightequilibrium`,`\\xleftequilibrium`,`\\\\cdrightarrow`,`\\\\cdleftarrow`,`\\\\cdlongequal`],numArgs:1,numOptionalArgs:1,handler(e,t,n){var{parser:r,funcName:i}=e;return{type:`xArrow`,mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),i=fg(Vg(e.body,r,t),t),a=e.label.slice(0,2)===`\\x`?`x`:`cd`;i.classes.push(a+`-arrow-pad`);var o;e.below&&(r=t.havingStyle(n.sub()),o=fg(Vg(e.below,r,t),t),o.classes.push(a+`-arrow-pad`));var s=g_(e,t),c=-t.fontMetrics().axisHeight+.5*s.height,l=-t.fontMetrics().axisHeight-.5*s.height-.111;(i.depth>.25||e.label===`\\xleftequilibrium`)&&(l-=i.depth);var u;if(o){var d=-t.fontMetrics().axisHeight+o.height+.5*s.height+.111;u=mg({positionType:`individualShift`,children:[{type:`elem`,elem:i,shift:l},{type:`elem`,elem:s,shift:c,wrapperClasses:[`svg-align`]},{type:`elem`,elem:o,shift:d}]})}else u=mg({positionType:`individualShift`,children:[{type:`elem`,elem:i,shift:l},{type:`elem`,elem:s,shift:c,wrapperClasses:[`svg-align`]}]});return Y([`mrel`,`x-arrow`],[u],t)},mathmlBuilder(e,t){var n=p_(e.label);n.setAttribute(`minsize`,e.label.charAt(0)===`x`?`1.75em`:`3.0em`);var r;if(e.body){var i=D_(n_(e.body,t));r=e.below?new Z(`munderover`,[n,D_(n_(e.below,t)),i]):new Z(`mover`,[n,i])}else e.below?r=new Z(`munder`,[n,D_(n_(e.below,t))]):(r=D_(),r=new Z(`mover`,[n,r]));return r}});function O_(e,t){var n=Fg(e.body,t,!0);return Y([e.mclass],n,t)}function k_(e,t){var n,r=e_(e.body,t);return e.mclass===`minner`?n=new Z(`mpadded`,r):e.mclass===`mord`?e.isCharacterBox?(n=r[0],n.type=`mi`):n=new Z(`mi`,r):(e.isCharacterBox?(n=r[0],n.type=`mo`):n=new Z(`mo`,r),e.mclass===`mbin`?(n.attributes.lspace=`0.22em`,n.attributes.rspace=`0.22em`):e.mclass===`mpunct`?(n.attributes.lspace=`0em`,n.attributes.rspace=`0.17em`):(e.mclass===`mopen`||e.mclass===`mclose`)&&(n.attributes.lspace=`0em`,n.attributes.rspace=`0em`)),n}X({type:`mclass`,names:[`\\mathord`,`\\mathbin`,`\\mathrel`,`\\mathopen`,`\\mathclose`,`\\mathpunct`,`\\mathinner`],numArgs:1,primitive:!0,handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:`mclass`,mode:n.mode,mclass:`m`+r.slice(5),body:Ag(i),isCharacterBox:Qp(i)}},htmlBuilder:O_,mathmlBuilder:k_});var A_=e=>{var t=e.type===`ordgroup`&&e.body.length?e.body[0]:e;return t.type===`atom`&&(t.family===`bin`||t.family===`rel`)?`m`+t.family:`mord`};X({type:`mclass`,names:[`\\@binrel`],numArgs:2,handler(e,t){var{parser:n}=e;return{type:`mclass`,mode:n.mode,mclass:A_(t[0]),body:Ag(t[1]),isCharacterBox:Qp(t[1])}}}),X({type:`mclass`,names:[`\\stackrel`,`\\overset`,`\\underset`],numArgs:2,handler(e,t){var{parser:n,funcName:r}=e,i=t[1],a=t[0],o=r===`\\stackrel`?`mrel`:A_(i),s={type:`op`,mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!==`\\stackrel`,body:Ag(i)},c=r===`\\underset`?{type:`supsub`,mode:a.mode,base:s,sub:a}:{type:`supsub`,mode:a.mode,base:s,sup:a};return{type:`mclass`,mode:n.mode,mclass:o,body:[c],isCharacterBox:Qp(c)}}}),X({type:`pmb`,names:[`\\pmb`],numArgs:1,allowedInText:!0,handler(e,t){var{parser:n}=e;return{type:`pmb`,mode:n.mode,mclass:A_(t[0]),body:Ag(t[0])}},htmlBuilder(e,t){var n=Fg(e.body,t,!0),r=Y([e.mclass],n,t);return r.style.textShadow=`0.02em 0.01em 0.04px`,r},mathmlBuilder(e,t){var n=new Z(`mstyle`,e_(e.body,t));return n.setAttribute(`style`,`text-shadow: 0.02em 0.01em 0.04px`),n}});var j_={">":`\\\\cdrightarrow`,"<":`\\\\cdleftarrow`,"=":`\\\\cdlongequal`,A:`\\uparrow`,V:`\\downarrow`,"|":`\\Vert`,".":`no arrow`},M_=()=>({type:`styling`,body:[],mode:`math`,style:`display`,resetFont:!0}),N_=e=>e.type===`textord`&&e.text===`@`,P_=(e,t)=>(e.type===`mathord`||e.type===`atom`)&&e.text===t;function F_(e,t,n){var r=j_[e];switch(r){case`\\\\cdrightarrow`:case`\\\\cdleftarrow`:return n.callFunction(r,[t[0]],[t[1]]);case`\\uparrow`:case`\\downarrow`:var i=n.callFunction(`\\\\cdleft`,[t[0]],[]),a={type:`atom`,text:r,mode:`math`,family:`rel`},o={type:`ordgroup`,mode:`math`,body:[i,n.callFunction(`\\Big`,[a],[]),n.callFunction(`\\\\cdright`,[t[1]],[])]};return n.callFunction(`\\\\cdparent`,[o],[]);case`\\\\cdlongequal`:return n.callFunction(`\\\\cdlongequal`,[],[]);case`\\Vert`:return n.callFunction(`\\Big`,[{type:`textord`,text:`\\Vert`,mode:`math`}],[]);default:return{type:`textord`,text:` `,mode:`math`}}}function I_(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set(`\\cr`,`\\\\\\relax`),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,`\\\\`)),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if(n===`&`||n===`\\\\`)e.consume();else if(n===`\\end`){t[t.length-1].length===0&&t.pop();break}else throw new I(`Expected \\\\ or \\cr or \\end`,e.nextToken)}for(var r=[],i=[r],a=0;a<t.length;a++){for(var o=t[a],s=M_(),c=0;c<o.length;c++)if(!N_(o[c]))s.body.push(o[c]);else{r.push(s),c+=1;var l=x_(o[c]).text,u=[,,];if(u[0]={type:`ordgroup`,mode:`math`,body:[]},u[1]={type:`ordgroup`,mode:`math`,body:[]},!`=|.`.includes(l)){if(`<>AV`.includes(l))for(var d=0;d<2;d++){for(var f=!0,p=c+1;p<o.length;p++){if(P_(o[p],l)){f=!1,c=p;break}if(N_(o[p]))throw new I(`Missing a `+l+` character to complete a CD arrow.`,o[p]);u[d].body.push(o[p])}if(f)throw new I(`Missing a `+l+` character to complete a CD arrow.`,o[c])}else throw new I(`Expected one of "<>AV=|." after @`,o[c])}var m={type:`styling`,body:[F_(l,u,e)],mode:`math`,style:`display`,resetFont:!0};r.push(m),s=M_()}a%2==0?r.push(s):r.shift(),r=[],i.push(r)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:`array`,mode:`math`,body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:Array(i[0].length).fill({type:`align`,align:`c`,pregap:.25,postgap:.25}),colSeparationType:`CD`,hLinesBeforeRow:Array(i.length+1).fill([])}}X({type:`cdlabel`,names:[`\\\\cdleft`,`\\\\cdright`],numArgs:1,handler(e,t){var{parser:n,funcName:r}=e;return{type:`cdlabel`,mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=fg(Vg(e.label,n,t),t);return r.classes.push(`cd-label-`+e.side),r.style.bottom=R(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new Z(`mrow`,[n_(e.label,t)]);return n=new Z(`mpadded`,[n]),n.setAttribute(`width`,`0`),e.side===`left`&&n.setAttribute(`lspace`,`-1width`),n.setAttribute(`voffset`,`0.7em`),n=new Z(`mstyle`,[n]),n.setAttribute(`displaystyle`,`false`),n.setAttribute(`scriptlevel`,`1`),n}}),X({type:`cdlabelparent`,names:[`\\\\cdparent`],numArgs:1,handler(e,t){var{parser:n}=e;return{type:`cdlabelparent`,mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=fg(Vg(e.fragment,t),t);return n.classes.push(`cd-vert-arrow`),n},mathmlBuilder(e,t){return new Z(`mrow`,[n_(e.fragment,t)])}}),X({type:`textord`,names:[`\\@char`],numArgs:1,allowedInText:!0,handler(e,t){for(var{parser:n}=e,r=Q(t[0],`ordgroup`).body,i=``,a=0;a<r.length;a++){var o=Q(r[a],`textord`);i+=o.text}var s=parseInt(i),c;if(isNaN(s))throw new I(`\\@char has non-numeric argument `+i);if(s<0||s>=1114111)throw new I(`\\@char with invalid code point `+i);return s<=65535?c=String.fromCharCode(s):(s-=65536,c=String.fromCharCode((s>>10)+55296,(s&1023)+56320)),{type:`textord`,mode:n.mode,text:c}}}),X({type:`color`,names:[`\\textcolor`],numArgs:2,allowedInText:!0,argTypes:[`color`,`original`],handler(e,t){var{parser:n}=e,r=Q(t[0],`color-token`).color,i=t[1];return{type:`color`,mode:n.mode,color:r,body:Ag(i)}},htmlBuilder:(e,t)=>dg(Fg(e.body,t.withColor(e.color),!1)),mathmlBuilder:(e,t)=>{var n=new Z(`mstyle`,e_(e.body,t.withColor(e.color)));return n.setAttribute(`mathcolor`,e.color),n}}),X({type:`color`,names:[`\\color`],numArgs:1,allowedInText:!0,argTypes:[`color`],handler(e,t){var{parser:n,breakOnTokenText:r}=e,i=Q(t[0],`color-token`).color;n.gullet.macros.set(`\\current@color`,i);var a=n.parseExpression(!0,r);return{type:`color`,mode:n.mode,color:i,body:a}}}),X({type:`cr`,names:[`\\\\`],numArgs:0,numOptionalArgs:0,allowedInText:!0,handler(e,t,n){var{parser:r}=e,i=r.gullet.future().text===`[`?r.parseSizeGroup(!0):null,a=!r.settings.displayMode||!r.settings.useStrictBehavior(`newLineInDisplayMode`,`In LaTeX, \\\\ or \\newline does nothing in display mode`);return{type:`cr`,mode:r.mode,newLine:a,size:i&&Q(i,`size`).value}},htmlBuilder(e,t){var n=Y([`mspace`],[],t);return e.newLine&&(n.classes.push(`newline`),e.size&&(n.style.marginTop=R(Um(e.size,t)))),n},mathmlBuilder(e,t){var n=new Z(`mspace`);return e.newLine&&(n.setAttribute(`linebreak`,`newline`),e.size&&n.setAttribute(`height`,R(Um(e.size,t)))),n}});var L_={"\\global":`\\global`,"\\long":`\\\\globallong`,"\\\\globallong":`\\\\globallong`,"\\def":`\\gdef`,"\\gdef":`\\gdef`,"\\edef":`\\xdef`,"\\xdef":`\\xdef`,"\\let":`\\\\globallet`,"\\futurelet":`\\\\globalfuture`},R_=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new I(`Expected a control sequence`,e);return t},z_=e=>{var t=e.gullet.popToken();return t.text===`=`&&(t=e.gullet.popToken(),t.text===` `&&(t=e.gullet.popToken())),t},B_=(e,t,n,r)=>{var i=e.gullet.macros.get(n.text);i??=(n.noexpand=!0,{tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};X({type:`internal`,names:[`\\global`,`\\long`,`\\\\globallong`],numArgs:0,allowedInText:!0,handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if(L_[r.text])return(n===`\\global`||n===`\\\\globallong`)&&(r.text=L_[r.text]),Q(t.parseFunction(),`internal`);throw new I(`Invalid token after macro prefix`,r)}}),X({type:`internal`,names:[`\\def`,`\\gdef`,`\\edef`,`\\xdef`],numArgs:0,allowedInText:!0,primitive:!0,handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),i=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new I(`Expected a control sequence`,r);for(var a=0,o,s=[[]];t.gullet.future().text!==`{`;)if(r=t.gullet.popToken(),r.text===`#`){if(t.gullet.future().text===`{`){o=t.gullet.future(),s[a].push(`{`);break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new I(`Invalid argument number "`+r.text+`"`);if(parseInt(r.text)!==a+1)throw new I(`Argument number "`+r.text+`" out of order`);a++,s.push([])}else if(r.text===`EOF`)throw new I(`Expected a macro definition`);else s[a].push(r.text);var{tokens:c}=t.gullet.consumeArg();return o&&c.unshift(o),(n===`\\edef`||n===`\\xdef`)&&(c=t.gullet.expandTokens(c),c.reverse()),t.gullet.macros.set(i,{tokens:c,numArgs:a,delimiters:s},n===L_[n]),{type:`internal`,mode:t.mode}}}),X({type:`internal`,names:[`\\let`,`\\\\globallet`],numArgs:0,allowedInText:!0,primitive:!0,handler(e){var{parser:t,funcName:n}=e,r=R_(t.gullet.popToken());return t.gullet.consumeSpaces(),B_(t,r,z_(t),n===`\\\\globallet`),{type:`internal`,mode:t.mode}}}),X({type:`internal`,names:[`\\futurelet`,`\\\\globalfuture`],numArgs:0,allowedInText:!0,primitive:!0,handler(e){var{parser:t,funcName:n}=e,r=R_(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return B_(t,r,a,n===`\\\\globalfuture`),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:`internal`,mode:t.mode}}});var V_=function(e,t,n){var r=dh(mh.math[e]&&mh.math[e].replace||e,t,n);if(!r)throw Error(`Unsupported symbol `+e+` and font size `+t+`.`);return r},H_=function(e,t,n,r){var i=n.havingBaseStyle(t),a=Y(r.concat(i.sizingClasses(n)),[e],n),o=i.sizeMultiplier/n.sizeMultiplier;return a.height*=o,a.depth*=o,a.maxFontSize=i.sizeMultiplier,a},U_=function(e,t,n){var r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push(`delimcenter`),e.style.top=R(i),e.height-=i,e.depth+=i},W_=function(e,t,n,r,i,a){var o=H_(tg(e,`Main-Regular`,i,r),t,r,a);return n&&U_(o,r,t),o},G_=function(e,t,n,r){return tg(e,`Size`+t+`-Regular`,n,r)},K_=function(e,t,n,r,i,a){var o=G_(e,t,i,r),s=H_(Y([`delimsizing`,`size`+t],[o],r),L.TEXT,r,a);return n&&U_(s,r,L.TEXT),s},q_=function(e,t,n){return{type:`elem`,elem:Y([`delimsizinginner`,t===`Size1-Regular`?`delim-size1`:`delim-size4`],[Y([],[tg(e,t,n)])])}},J_=function(e,t,n){var r=sh[`Size4-Regular`][e.charCodeAt(0)]?sh[`Size4-Regular`][e.charCodeAt(0)][4]:sh[`Size1-Regular`][e.charCodeAt(0)][4],i=cg([],[new th([new nh(`inner`,Fm(e,Math.round(1e3*t)))],{width:R(r),height:R(t),style:`width:`+R(r),viewBox:`0 0 `+1e3*r+` `+Math.round(1e3*t),preserveAspectRatio:`xMinYMin`})],n);return i.height=t,i.style.height=R(t),i.style.width=R(r),{type:`elem`,elem:i}},Y_=.008,X_={type:`kern`,size:-1*Y_},Z_=new Set([`|`,`\\lvert`,`\\rvert`,`\\vert`]),Q_=new Set([`\\|`,`\\lVert`,`\\rVert`,`\\Vert`]),$_=function(e,t,n,r,i,a){var o,s,c,l,u=``,d=0;o=c=l=e,s=null;var f=`Size1-Regular`;e===`\\uparrow`?c=l=`⏐`:e===`\\Uparrow`?c=l=`‖`:e===`\\downarrow`?o=c=`⏐`:e===`\\Downarrow`?o=c=`‖`:e===`\\updownarrow`?(o=`\\uparrow`,c=`⏐`,l=`\\downarrow`):e===`\\Updownarrow`?(o=`\\Uparrow`,c=`‖`,l=`\\Downarrow`):Z_.has(e)?(c=`∣`,u=`vert`,d=333):Q_.has(e)?(c=`∥`,u=`doublevert`,d=556):e===`[`||e===`\\lbrack`?(o=`⎡`,c=`⎢`,l=`⎣`,f=`Size4-Regular`,u=`lbrack`,d=667):e===`]`||e===`\\rbrack`?(o=`⎤`,c=`⎥`,l=`⎦`,f=`Size4-Regular`,u=`rbrack`,d=667):e===`\\lfloor`||e===`⌊`?(c=o=`⎢`,l=`⎣`,f=`Size4-Regular`,u=`lfloor`,d=667):e===`\\lceil`||e===`⌈`?(o=`⎡`,c=l=`⎢`,f=`Size4-Regular`,u=`lceil`,d=667):e===`\\rfloor`||e===`⌋`?(c=o=`⎥`,l=`⎦`,f=`Size4-Regular`,u=`rfloor`,d=667):e===`\\rceil`||e===`⌉`?(o=`⎤`,c=l=`⎥`,f=`Size4-Regular`,u=`rceil`,d=667):e===`(`||e===`\\lparen`?(o=`⎛`,c=`⎜`,l=`⎝`,f=`Size4-Regular`,u=`lparen`,d=875):e===`)`||e===`\\rparen`?(o=`⎞`,c=`⎟`,l=`⎠`,f=`Size4-Regular`,u=`rparen`,d=875):e===`\\{`||e===`\\lbrace`?(o=`⎧`,s=`⎨`,l=`⎩`,c=`⎪`,f=`Size4-Regular`):e===`\\}`||e===`\\rbrace`?(o=`⎫`,s=`⎬`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):e===`\\lgroup`||e===`⟮`?(o=`⎧`,l=`⎩`,c=`⎪`,f=`Size4-Regular`):e===`\\rgroup`||e===`⟯`?(o=`⎫`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):e===`\\lmoustache`||e===`⎰`?(o=`⎧`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):(e===`\\rmoustache`||e===`⎱`)&&(o=`⎫`,l=`⎩`,c=`⎪`,f=`Size4-Regular`);var p=V_(o,f,i),m=p.height+p.depth,h=V_(c,f,i),g=h.height+h.depth,_=V_(l,f,i),v=_.height+_.depth,y=0,b=1;if(s!==null){var x=V_(s,f,i);y=x.height+x.depth,b=2}var S=m+v+y,C=S+Math.max(0,Math.ceil((t-S)/(b*g)))*b*g,ee=r.fontMetrics().axisHeight;n&&(ee*=r.sizeMultiplier);var te=C/2-ee,ne=[];if(u.length>0){var re=C-m-v,w=Math.round(C*1e3),ie=Lm(u,Math.round(re*1e3)),ae=new nh(u,ie),oe=R(d/1e3),se=R(w/1e3),ce=cg([],[new th([ae],{width:oe,height:se,viewBox:`0 0 `+d+` `+w})],r);ce.height=w/1e3,ce.style.width=oe,ce.style.height=se,ne.push({type:`elem`,elem:ce})}else{if(ne.push(q_(l,f,i)),ne.push(X_),s===null){var le=C-m-v+2*Y_;ne.push(J_(c,le,r))}else{var ue=(C-m-v-y)/2+2*Y_;ne.push(J_(c,ue,r)),ne.push(X_),ne.push(q_(s,f,i)),ne.push(X_),ne.push(J_(c,ue,r))}ne.push(X_),ne.push(q_(o,f,i))}var de=r.havingBaseStyle(L.TEXT);return H_(Y([`delimsizing`,`mult`],[mg({positionType:`bottom`,positionData:te,children:ne})],de),L.TEXT,r,a)},ev=80,tv=.08,nv=function(e,t,n,r,i){return cg([`hide-tail`],[new th([new nh(e,Pm(e,r,n))],{width:`400em`,height:R(t),viewBox:`0 0 400000 `+n,preserveAspectRatio:`xMinYMin slice`})],i)},rv=function(e,t){var n=t.havingBaseSizing(),r=pv(`\\surd`,e*n.sizeMultiplier,dv,n),i=n.sizeMultiplier,a=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),o,s,c,l,u;return r.type===`small`?(l=1e3+1e3*a+ev,e<1?i=1:e<1.4&&(i=.7),s=(1+a+tv)/i,c=(1+a)/i,o=nv(`sqrtMain`,s,l,a,t),o.style.minWidth=`0.853em`,u=.833/i):r.type===`large`?(l=(1e3+ev)*sv[r.size],c=(sv[r.size]+a)/i,s=(sv[r.size]+a+tv)/i,o=nv(`sqrtSize`+r.size,s,l,a,t),o.style.minWidth=`1.02em`,u=1/i):(s=e+a+tv,c=e+a,l=Math.floor(1e3*e+a)+ev,o=nv(`sqrtTall`,s,l,a,t),o.style.minWidth=`0.742em`,u=1.056),o.height=c,o.style.height=R(s),{span:o,advanceWidth:u,ruleWidth:(t.fontMetrics().sqrtRuleThickness+a)*i}},iv=new Set([`(`,`\\lparen`,`)`,`\\rparen`,`[`,`\\lbrack`,`]`,`\\rbrack`,`\\{`,`\\lbrace`,`\\}`,`\\rbrace`,`\\lfloor`,`\\rfloor`,`⌊`,`⌋`,`\\lceil`,`\\rceil`,`⌈`,`⌉`,`\\surd`]),av=new Set([`\\uparrow`,`\\downarrow`,`\\updownarrow`,`\\Uparrow`,`\\Downarrow`,`\\Updownarrow`,`|`,`\\|`,`\\vert`,`\\Vert`,`\\lvert`,`\\rvert`,`\\lVert`,`\\rVert`,`\\lgroup`,`\\rgroup`,`⟮`,`⟯`,`\\lmoustache`,`\\rmoustache`,`⎰`,`⎱`]),ov=new Set([`<`,`>`,`\\langle`,`\\rangle`,`/`,`\\backslash`,`\\lt`,`\\gt`]),sv=[0,1.2,1.8,2.4,3],cv=function(e,t,n,r,i){if(e===`<`||e===`\\lt`||e===`⟨`?e=`\\langle`:(e===`>`||e===`\\gt`||e===`⟩`)&&(e=`\\rangle`),iv.has(e)||ov.has(e))return K_(e,t,!1,n,r,i);if(av.has(e))return $_(e,sv[t],!1,n,r,i);throw new I(`Illegal delimiter: '`+e+`'`)},lv=[{type:`small`,style:L.SCRIPTSCRIPT},{type:`small`,style:L.SCRIPT},{type:`small`,style:L.TEXT},{type:`large`,size:1},{type:`large`,size:2},{type:`large`,size:3},{type:`large`,size:4}],uv=[{type:`small`,style:L.SCRIPTSCRIPT},{type:`small`,style:L.SCRIPT},{type:`small`,style:L.TEXT},{type:`stack`}],dv=[{type:`small`,style:L.SCRIPTSCRIPT},{type:`small`,style:L.SCRIPT},{type:`small`,style:L.TEXT},{type:`large`,size:1},{type:`large`,size:2},{type:`large`,size:3},{type:`large`,size:4},{type:`stack`}],fv=function(e){if(e.type===`small`)return`Main-Regular`;if(e.type===`large`)return`Size`+e.size+`-Regular`;if(e.type===`stack`)return`Size4-Regular`;var t=e.type;throw Error(`Add support for delim type '`+t+`' here.`)},pv=function(e,t,n,r){for(var i=Math.min(2,3-r.style.size);i<n.length;i++){var a=n[i];if(a.type===`stack`)break;var o=V_(e,fv(a),`math`),s=o.height+o.depth;if(a.type===`small`){var c=r.havingBaseStyle(a.style);s*=c.sizeMultiplier}if(s>t)return a}return n[n.length-1]},mv=function(e,t,n,r,i,a){e===`<`||e===`\\lt`||e===`⟨`?e=`\\langle`:(e===`>`||e===`\\gt`||e===`⟩`)&&(e=`\\rangle`);var o=ov.has(e)?lv:iv.has(e)?dv:uv,s=pv(e,t,o,r);return s.type===`small`?W_(e,s.style,n,r,i,a):s.type===`large`?K_(e,s.size,n,r,i,a):$_(e,t,n,r,i,a)},hv=function(e,t,n,r,i,a){var o=r.fontMetrics().axisHeight*r.sizeMultiplier,s=901,c=5/r.fontMetrics().ptPerEm,l=Math.max(t-o,n+o);return mv(e,Math.max(l/500*s,2*l-c),!0,r,i,a)},gv={"\\bigl":{mclass:`mopen`,size:1},"\\Bigl":{mclass:`mopen`,size:2},"\\biggl":{mclass:`mopen`,size:3},"\\Biggl":{mclass:`mopen`,size:4},"\\bigr":{mclass:`mclose`,size:1},"\\Bigr":{mclass:`mclose`,size:2},"\\biggr":{mclass:`mclose`,size:3},"\\Biggr":{mclass:`mclose`,size:4},"\\bigm":{mclass:`mrel`,size:1},"\\Bigm":{mclass:`mrel`,size:2},"\\biggm":{mclass:`mrel`,size:3},"\\Biggm":{mclass:`mrel`,size:4},"\\big":{mclass:`mord`,size:1},"\\Big":{mclass:`mord`,size:2},"\\bigg":{mclass:`mord`,size:3},"\\Bigg":{mclass:`mord`,size:4}},_v=new Set(`(,\\lparen,),\\rparen,[,\\lbrack,],\\rbrack,\\{,\\lbrace,\\},\\rbrace,\\lfloor,\\rfloor,⌊,⌋,\\lceil,\\rceil,⌈,⌉,<,>,\\langle,⟨,\\rangle,⟩,\\lt,\\gt,\\lvert,\\rvert,\\lVert,\\rVert,\\lgroup,\\rgroup,⟮,⟯,\\lmoustache,\\rmoustache,⎰,⎱,/,\\backslash,|,\\vert,\\|,\\Vert,\\uparrow,\\Uparrow,\\downarrow,\\Downarrow,\\updownarrow,\\Updownarrow,.`.split(`,`));function vv(e){return`isMiddle`in e}function yv(e,t){var n=S_(e);if(n&&_v.has(n.text))return n;throw n?new I(`Invalid delimiter '`+n.text+`' after '`+t.funcName+`'`,e):new I(`Invalid delimiter type '`+e.type+`'`,e)}X({type:`delimsizing`,names:[`\\bigl`,`\\Bigl`,`\\biggl`,`\\Biggl`,`\\bigr`,`\\Bigr`,`\\biggr`,`\\Biggr`,`\\bigm`,`\\Bigm`,`\\biggm`,`\\Biggm`,`\\big`,`\\Big`,`\\bigg`,`\\Bigg`],numArgs:1,argTypes:[`primitive`],handler:(e,t)=>{var n=yv(t[0],e);return{type:`delimsizing`,mode:e.parser.mode,size:gv[e.funcName].size,mclass:gv[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim===`.`?Y([e.mclass]):cv(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!==`.`&&t.push(Yg(e.delim,e.mode));var n=new Z(`mo`,t);e.mclass===`mopen`||e.mclass===`mclose`?n.setAttribute(`fence`,`true`):n.setAttribute(`fence`,`false`),n.setAttribute(`stretchy`,`true`);var r=R(sv[e.size]);return n.setAttribute(`minsize`,r),n.setAttribute(`maxsize`,r),n}});function bv(e){if(!e.body)throw Error(`Bug: The leftright ParseNode wasn't fully parsed.`)}X({type:`leftright-right`,names:[`\\right`],numArgs:1,primitive:!0,handler:(e,t)=>{var n=e.parser.gullet.macros.get(`\\current@color`);if(n&&typeof n!=`string`)throw new I(`\\current@color set to non-string in \\right`);return{type:`leftright-right`,mode:e.parser.mode,delim:yv(t[0],e).text,color:n}}}),X({type:`leftright`,names:[`\\left`],numArgs:1,primitive:!0,handler:(e,t)=>{var n=yv(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect(`\\right`,!1);var a=Q(r.parseFunction(),`leftright-right`);return{type:`leftright`,mode:r.mode,body:i,left:n.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{bv(e);for(var n=Fg(e.body,t,!0,[`mopen`,`mclose`]),r=0,i=0,a=!1,o=0;o<n.length;o++){var s=n[o];vv(s)?a=!0:(r=Math.max(n[o].height,r),i=Math.max(n[o].depth,i))}r*=t.sizeMultiplier,i*=t.sizeMultiplier;var c=e.left===`.`?Bg(t,[`mopen`]):hv(e.left,r,i,t,e.mode,[`mopen`]);if(n.unshift(c),a)for(var l=1;l<n.length;l++){var u=n[l];if(vv(u)){var d=u.isMiddle;n[l]=hv(d.delim,r,i,d.options,e.mode,[])}}var f;if(e.right===`.`)f=Bg(t,[`mclose`]);else{var p=e.rightColor?t.withColor(e.rightColor):t;f=hv(e.right,r,i,p,e.mode,[`mclose`])}return n.push(f),Y([`minner`],n,t)},mathmlBuilder:(e,t)=>{bv(e);var n=e_(e.body,t);if(e.left!==`.`){var r=new Z(`mo`,[Yg(e.left,e.mode)]);r.setAttribute(`fence`,`true`),n.unshift(r)}if(e.right!==`.`){var i=new Z(`mo`,[Yg(e.right,e.mode)]);i.setAttribute(`fence`,`true`),e.rightColor&&i.setAttribute(`mathcolor`,e.rightColor),n.push(i)}return Xg(n)}}),X({type:`middle`,names:[`\\middle`],numArgs:1,primitive:!0,handler:(e,t)=>{var n=yv(t[0],e);if(!e.parser.leftrightDepth)throw new I(`\\middle without preceding \\left`,n);return{type:`middle`,mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;return e.delim===`.`?n=Bg(t,[]):(n=cv(e.delim,1,t,e.mode,[]),n.isMiddle={delim:e.delim,options:t}),n},mathmlBuilder:(e,t)=>{var n=new Z(`mo`,[e.delim===`\\vert`||e.delim===`|`?Yg(`|`,`text`):Yg(e.delim,e.mode)]);return n.setAttribute(`fence`,`true`),n.setAttribute(`lspace`,`0.05em`),n.setAttribute(`rspace`,`0.05em`),n}}),X({type:`enclose`,names:[`\\colorbox`],numArgs:2,allowedInText:!0,argTypes:[`color`,`hbox`],handler(e,t,n){var{parser:r,funcName:i}=e,a=Q(t[0],`color-token`).color,o=t[1];return{type:`enclose`,mode:r.mode,label:i,backgroundColor:a,body:o}},htmlBuilder:(e,t)=>{var n=fg(Vg(e.body,t),t),r=e.label.slice(1),i=t.sizeMultiplier,a,o,s=Qp(e.body);if(r===`sout`)a=Y([`stretchy`,`sout`]),a.height=t.fontMetrics().defaultRuleThickness/i,o=-.5*t.fontMetrics().xHeight;else if(r===`phase`){var c=Um({number:.6,unit:`pt`},t),l=Um({number:.35,unit:`ex`},t),u=t.havingBaseSizing();i/=u.sizeMultiplier;var d=n.height+n.depth+c+l;n.style.paddingLeft=R(d/2+c);var f=Math.floor(1e3*d*i);a=cg([`hide-tail`],[new th([new nh(`phase`,Mm(f))],{width:`400em`,height:R(f/1e3),viewBox:`0 0 400000 `+f,preserveAspectRatio:`xMinYMin slice`})],t),a.style.height=R(d),o=n.depth+c+l}else{/cancel/.test(r)?s||n.classes.push(`cancel-pad`):r===`angl`?n.classes.push(`anglpad`):n.classes.push(`boxpad`);var p,m,h=0;/box/.test(r)?(h=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),p=t.fontMetrics().fboxsep+(r===`colorbox`?0:h),m=p):r===`angl`?(h=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),p=4*h,m=Math.max(0,.25-n.depth)):(p=s?.2:0,m=p),a=__(n,r,p,m,t),/fbox|boxed|fcolorbox/.test(r)?(a.style.borderStyle=`solid`,a.style.borderWidth=R(h)):r===`angl`&&h!==.049&&(a.style.borderTopWidth=R(h),a.style.borderRightWidth=R(h)),o=n.depth+m,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var g;if(e.backgroundColor)g=mg({positionType:`individualShift`,children:[{type:`elem`,elem:a,shift:o},{type:`elem`,elem:n,shift:0}]});else{var _=/cancel|phase/.test(r)?[`svg-align`]:[];g=mg({positionType:`individualShift`,children:[{type:`elem`,elem:n,shift:0},{type:`elem`,elem:a,shift:o,wrapperClasses:_}]})}return/cancel/.test(r)&&(g.height=n.height,g.depth=n.depth),/cancel/.test(r)&&!s?Y([`mord`,`cancel-lap`],[g],t):Y([`mord`],[g],t)},mathmlBuilder:(e,t)=>{var n,r=new Z(e.label.includes(`colorbox`)?`mpadded`:`menclose`,[n_(e.body,t)]);switch(e.label){case`\\cancel`:r.setAttribute(`notation`,`updiagonalstrike`);break;case`\\bcancel`:r.setAttribute(`notation`,`downdiagonalstrike`);break;case`\\phase`:r.setAttribute(`notation`,`phasorangle`);break;case`\\sout`:r.setAttribute(`notation`,`horizontalstrike`);break;case`\\fbox`:r.setAttribute(`notation`,`box`);break;case`\\angl`:r.setAttribute(`notation`,`actuarial`);break;case`\\fcolorbox`:case`\\colorbox`:if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute(`width`,`+`+2*n+`pt`),r.setAttribute(`height`,`+`+2*n+`pt`),r.setAttribute(`lspace`,n+`pt`),r.setAttribute(`voffset`,n+`pt`),e.label===`\\fcolorbox`){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute(`style`,`border: `+R(i)+` solid `+e.borderColor)}break;case`\\xcancel`:r.setAttribute(`notation`,`updiagonalstrike downdiagonalstrike`)}return e.backgroundColor&&r.setAttribute(`mathbackground`,e.backgroundColor),r}}),X({type:`enclose`,names:[`\\fcolorbox`],numArgs:3,allowedInText:!0,argTypes:[`color`,`color`,`hbox`],handler(e,t,n){var{parser:r,funcName:i}=e,a=Q(t[0],`color-token`).color,o=Q(t[1],`color-token`).color,s=t[2];return{type:`enclose`,mode:r.mode,label:i,backgroundColor:o,borderColor:a,body:s}}}),X({type:`enclose`,names:[`\\fbox`],numArgs:1,argTypes:[`hbox`],allowedInText:!0,handler(e,t){var{parser:n}=e;return{type:`enclose`,mode:n.mode,label:`\\fbox`,body:t[0]}}}),X({type:`enclose`,names:[`\\cancel`,`\\bcancel`,`\\xcancel`,`\\phase`],numArgs:1,handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:`enclose`,mode:n.mode,label:r,body:i}}}),X({type:`enclose`,names:[`\\sout`],numArgs:1,allowedInText:!0,handler(e,t){var{parser:n,funcName:r}=e;n.mode===`math`&&n.settings.reportNonstrict(`mathVsSout`,`LaTeX's \\sout works only in text mode`);var i=t[0];return{type:`enclose`,mode:n.mode,label:r,body:i}}}),X({type:`enclose`,names:[`\\angl`],numArgs:1,argTypes:[`hbox`],allowedInText:!1,handler(e,t){var{parser:n}=e;return{type:`enclose`,mode:n.mode,label:`\\angl`,body:t[0]}}});var xv={};function Sv(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},c=0;c<n.length;++c)xv[n[c]]=s;a&&(Eg[t]=a),o&&(Dg[t]=o)}var Cv={};function $(e,t){Cv[e]=t}var wv=class e{constructor(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}static range(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new e(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}},Tv=class e{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(t,n){return new e(n,wv.range(this,t))}};function Ev(e){var t=[];e.consumeSpaces();var n=e.fetch().text;for(n===`\\relax`&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);n===`\\hline`||n===`\\hdashline`;)e.consume(),t.push(n===`\\hdashline`),e.consumeSpaces(),n=e.fetch().text;return t}var Dv=e=>{if(!e.parser.settings.displayMode)throw new I(`{`+e.envName+`} can be used only in display mode.`)},Ov=new Set([`gather`,`gather*`]);function kv(e){if(!e.includes(`ed`))return!e.includes(`*`)}function Av(e,t,n){var{hskipBeforeAndAfter:r,addJot:i,cols:a,arraystretch:o,colSeparationType:s,autoTag:c,singleRow:l,emptySingleRow:u,maxNumCols:d,leqno:f}=t;if(e.gullet.beginGroup(),l||e.gullet.macros.set(`\\cr`,`\\\\\\relax`),!o){var p=e.gullet.expandMacroAsText(`\\arraystretch`);if(p==null)o=1;else if(o=parseFloat(p),!o||o<0)throw new I(`Invalid \\arraystretch: `+p)}e.gullet.beginGroup();var m=[],h=[m],g=[],_=[],v=c==null?void 0:[];function y(){c&&e.gullet.macros.set(`\\@eqnsw`,`1`,!0)}function b(){v&&(e.gullet.macros.get(`\\df@tag`)?(v.push(e.subparse([new Tv(`\\df@tag`)])),e.gullet.macros.set(`\\df@tag`,void 0,!0)):v.push(!!c&&e.gullet.macros.get(`\\@eqnsw`)===`1`))}for(y(),_.push(Ev(e));;){var x=e.parseExpression(!1,l?`\\end`:`\\\\`);e.gullet.endGroup(),e.gullet.beginGroup();var S={type:`ordgroup`,mode:e.mode,body:x};n&&(S={type:`styling`,mode:e.mode,style:n,resetFont:!0,body:[S]}),m.push(S);var C=e.fetch().text;if(C===`&`){if(d&&m.length===d){if(l||s)throw new I(`Too many tab characters: &`,e.nextToken);e.settings.reportNonstrict(`textEnv`,`Too few columns specified in the {array} column argument.`)}e.consume()}else if(C===`\\end`){b(),m.length===1&&S.type===`styling`&&S.body.length===1&&S.body[0].type===`ordgroup`&&S.body[0].body.length===0&&(h.length>1||!u)&&h.pop(),_.length<h.length+1&&_.push([]);break}else if(C===`\\\\`){e.consume();var ee=void 0;e.gullet.future().text!==` `&&(ee=e.parseSizeGroup(!0)),g.push(ee?ee.value:null),b(),_.push(Ev(e)),m=[],h.push(m),y()}else throw new I(`Expected & or \\\\ or \\cr or \\end`,e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:`array`,mode:e.mode,addJot:i,arraystretch:o,body:h,cols:a,rowGaps:g,hskipBeforeAndAfter:r,hLinesBeforeRow:_,colSeparationType:s,tags:v,leqno:f}}function jv(e){return e.slice(0,1)===`d`?`display`:`text`}var Mv=function(e,t){var n,r,i=e.body.length,a=e.hLinesBeforeRow,o=0,s=Array(i),c=[],l=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),u=1/t.fontMetrics().ptPerEm,d=5*u;e.colSeparationType&&e.colSeparationType===`small`&&(d=.2778*(t.havingStyle(L.SCRIPT).sizeMultiplier/t.sizeMultiplier));var f=e.colSeparationType===`CD`?Um({number:3,unit:`ex`},t):12*u,p=3*u,m=e.arraystretch*f,h=.7*m,g=.3*m,_=0;function v(e){for(var t=0;t<e.length;++t)t>0&&(_+=.25),c.push({pos:_,isDashed:e[t]})}for(v(a[0]),n=0;n<e.body.length;++n){var y=e.body[n],b=h,x=g;o<y.length&&(o=y.length);var S={cells:Array(y.length),height:0,depth:0,pos:0};for(r=0;r<y.length;++r){var C=Vg(y[r],t);x<C.depth&&(x=C.depth),b<C.height&&(b=C.height),S.cells[r]=C}var ee=e.rowGaps[n],te=0;ee&&(te=Um(ee,t),te>0&&(te+=g,x<te&&(x=te),te=0)),e.addJot&&n<e.body.length-1&&(x+=p),S.height=b,S.depth=x,_+=b,S.pos=_,_+=x+te,s[n]=S,v(a[n+1])}var ne=_/2+t.fontMetrics().axisHeight,re=e.cols||[],w=[],ie,ae,oe=[];if(e.tags&&e.tags.some(e=>e))for(n=0;n<i;++n){var se=s[n],ce=se.pos-ne,le=e.tags[n],ue=void 0;ue=le===!0?Y([`eqn-num`],[],t):le===!1?Y([],[],t):Y([],Fg(le,t,!0),t),ue.depth=se.depth,ue.height=se.height,oe.push({type:`elem`,elem:ue,shift:ce})}for(r=0,ae=0;r<o||ae<re.length;++r,++ae){for(var de=re[ae],fe=!0;(pe=de)?.type===`separator`;){var pe;if(fe||(ie=Y([`arraycolsep`],[]),ie.style.width=R(t.fontMetrics().doubleRuleSep),w.push(ie)),de.separator===`|`||de.separator===`:`){var me=de.separator===`|`?`solid`:`dashed`,he=Y([`vertical-separator`],[],t);he.style.height=R(_),he.style.borderRightWidth=R(l),he.style.borderRightStyle=me,he.style.margin=`0 `+R(-l/2);var ge=_-ne;ge&&(he.style.verticalAlign=R(-ge)),w.push(he)}else throw new I(`Invalid separator type: `+de.separator);ae++,de=re[ae],fe=!1}if(!(r>=o)){var _e=void 0;(r>0||e.hskipBeforeAndAfter)&&(_e=de?.pregap??d,_e!==0&&(ie=Y([`arraycolsep`],[]),ie.style.width=R(_e),w.push(ie)));var ve=[];for(n=0;n<i;++n){var ye=s[n],be=ye.cells[r];if(be){var xe=ye.pos-ne;be.depth=ye.depth,be.height=ye.height,ve.push({type:`elem`,elem:be,shift:xe})}}var Se=mg({positionType:`individualShift`,children:ve}),Ce=Y([`col-align-`+(de?.align||`c`)],[Se]);w.push(Ce),(r<o-1||e.hskipBeforeAndAfter)&&(_e=de?.postgap??d,_e!==0&&(ie=Y([`arraycolsep`],[]),ie.style.width=R(_e),w.push(ie)))}}var we=Y([`mtable`],w);if(c.length>0){for(var Te=lg(`hline`,t,l),Ee=lg(`hdashline`,t,l),De=[{type:`elem`,elem:we,shift:0}];c.length>0;){var Oe=c.pop(),ke=Oe.pos-ne;Oe.isDashed?De.push({type:`elem`,elem:Ee,shift:ke}):De.push({type:`elem`,elem:Te,shift:ke})}we=mg({positionType:`individualShift`,children:De})}if(oe.length===0)return Y([`mord`],[we],t);var Ae=Y([`tag`],[mg({positionType:`individualShift`,children:oe})],t);return dg([we,Ae])},Nv={c:`center `,l:`left `,r:`right `},Pv=function(e,t){for(var n=[],r=new Z(`mtd`,[],[`mtr-glue`]),i=new Z(`mtd`,[],[`mml-eqn-num`]),a=0;a<e.body.length;a++){for(var o=e.body[a],s=[],c=0;c<o.length;c++)s.push(new Z(`mtd`,[n_(o[c],t)]));e.tags&&e.tags[a]&&(s.unshift(r),s.push(r),e.leqno?s.unshift(i):s.push(i)),n.push(new Z(`mtr`,s))}var l=new Z(`mtable`,n),u=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);l.setAttribute(`rowspacing`,R(u));var d=``,f=``;if(e.cols&&e.cols.length>0){var p=e.cols,m=``,h=!1,g=0,_=p.length;p[0].type===`separator`&&(d+=`top `,g=1),p[p.length-1].type===`separator`&&(d+=`bottom `,--_);for(var v=g;v<_;v++){var y=p[v];y.type===`align`?(f+=Nv[y.align],h&&(m+=`none `),h=!0):y.type===`separator`&&(h&&=(m+=y.separator===`|`?`solid `:`dashed `,!1))}l.setAttribute(`columnalign`,f.trim()),/[sd]/.test(m)&&l.setAttribute(`columnlines`,m.trim())}if(e.colSeparationType===`align`){for(var b=e.cols||[],x=``,S=1;S<b.length;S++)x+=S%2?`0em `:`1em `;l.setAttribute(`columnspacing`,x.trim())}else e.colSeparationType===`alignat`||e.colSeparationType===`gather`?l.setAttribute(`columnspacing`,`0em`):e.colSeparationType===`small`?l.setAttribute(`columnspacing`,`0.2778em`):e.colSeparationType===`CD`?l.setAttribute(`columnspacing`,`0.5em`):l.setAttribute(`columnspacing`,`1em`);var C=``,ee=e.hLinesBeforeRow;d+=ee[0].length>0?`left `:``,d+=ee[ee.length-1].length>0?`right `:``;for(var te=1;te<ee.length-1;te++)C+=ee[te].length===0?`none `:ee[te][0]?`dashed `:`solid `;return/[sd]/.test(C)&&l.setAttribute(`rowlines`,C.trim()),d!==``&&(l=new Z(`menclose`,[l]),l.setAttribute(`notation`,d.trim())),e.arraystretch&&e.arraystretch<1&&(l=new Z(`mstyle`,[l]),l.setAttribute(`scriptlevel`,`1`)),l},Fv=function(e,t){e.envName.includes(`ed`)||Dv(e);var n=[],r=e.envName===`split`,i=Av(e.parser,{cols:n,addJot:!0,autoTag:r?void 0:kv(e.envName),emptySingleRow:!0,colSeparationType:e.envName.includes(`at`)?`alignat`:`align`,maxNumCols:r?2:void 0,leqno:e.parser.settings.leqno},`display`),a=0,o=0,s={type:`ordgroup`,mode:e.mode,body:[]};if(t[0]&&t[0].type===`ordgroup`){for(var c=``,l=0;l<t[0].body.length;l++){var u=Q(t[0].body[l],`textord`);c+=u.text}a=Number(c),o=a*2}var d=!o;i.body.forEach(function(e){for(var t=1;t<e.length;t+=2)Q(Q(e[t],`styling`).body[0],`ordgroup`).body.unshift(s);if(d)o<e.length&&(o=e.length);else{var n=e.length/2;if(a<n)throw new I(`Too many math in a row: `+(`expected `+a+`, but got `+n),e[0])}});for(var f=0;f<o;++f){var p=`r`,m=0;f%2==1?p=`l`:f>0&&d&&(m=1),n[f]={type:`align`,align:p,pregap:m,postgap:0}}return i.colSeparationType=d?`align`:`alignat`,i};Sv({type:`array`,names:[`array`,`darray`],props:{numArgs:1},handler(e,t){var n=(S_(t[0])?[t[0]]:Q(t[0],`ordgroup`).body).map(function(e){var t=x_(e).text;if(`lcr`.includes(t))return{type:`align`,align:t};if(t===`|`)return{type:`separator`,separator:`|`};if(t===`:`)return{type:`separator`,separator:`:`};throw new I(`Unknown column alignment: `+t,e)}),r={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return Av(e.parser,r,jv(e.envName))},htmlBuilder:Mv,mathmlBuilder:Pv}),Sv({type:`array`,names:[`matrix`,`pmatrix`,`bmatrix`,`Bmatrix`,`vmatrix`,`Vmatrix`,`matrix*`,`pmatrix*`,`bmatrix*`,`Bmatrix*`,`vmatrix*`,`Vmatrix*`],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:[`(`,`)`],bmatrix:[`[`,`]`],Bmatrix:[`\\{`,`\\}`],vmatrix:[`|`,`|`],Vmatrix:[`\\Vert`,`\\Vert`]}[e.envName.replace(`*`,``)],n=`c`,r={hskipBeforeAndAfter:!1,cols:[{type:`align`,align:n}]};if(e.envName.charAt(e.envName.length-1)===`*`){var i=e.parser;if(i.consumeSpaces(),i.fetch().text===`[`){if(i.consume(),i.consumeSpaces(),n=i.fetch().text,!`lcr`.includes(n))throw new I(`Expected l or c or r`,i.nextToken);i.consume(),i.consumeSpaces(),i.expect(`]`),i.consume(),r.cols=[{type:`align`,align:n}]}}var a=Av(e.parser,r,jv(e.envName)),o=Math.max(0,...a.body.map(e=>e.length));return a.cols=Array(o).fill({type:`align`,align:n}),t?{type:`leftright`,mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:Mv,mathmlBuilder:Pv}),Sv({type:`array`,names:[`smallmatrix`],props:{numArgs:0},handler(e){var t=Av(e.parser,{arraystretch:.5},`script`);return t.colSeparationType=`small`,t},htmlBuilder:Mv,mathmlBuilder:Pv}),Sv({type:`array`,names:[`subarray`],props:{numArgs:1},handler(e,t){var n=(S_(t[0])?[t[0]]:Q(t[0],`ordgroup`).body).map(function(e){var t=x_(e).text;if(`lc`.includes(t))return{type:`align`,align:t};throw new I(`Unknown column alignment: `+t,e)});if(n.length>1)throw new I(`{subarray} can contain only one column`);var r={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5},i=Av(e.parser,r,`script`);if(i.body.length>0&&i.body[0].length>1)throw new I(`{subarray} can contain only one column`);return i},htmlBuilder:Mv,mathmlBuilder:Pv}),Sv({type:`array`,names:[`cases`,`dcases`,`rcases`,`drcases`],props:{numArgs:0},handler(e){var t=Av(e.parser,{arraystretch:1.2,cols:[{type:`align`,align:`l`,pregap:0,postgap:1},{type:`align`,align:`l`,pregap:0,postgap:0}]},jv(e.envName));return{type:`leftright`,mode:e.mode,body:[t],left:e.envName.includes(`r`)?`.`:`\\{`,right:e.envName.includes(`r`)?`\\}`:`.`,rightColor:void 0}},htmlBuilder:Mv,mathmlBuilder:Pv}),Sv({type:`array`,names:[`align`,`align*`,`aligned`,`split`],props:{numArgs:0},handler:Fv,htmlBuilder:Mv,mathmlBuilder:Pv}),Sv({type:`array`,names:[`gathered`,`gather`,`gather*`],props:{numArgs:0},handler(e){Ov.has(e.envName)&&Dv(e);var t={cols:[{type:`align`,align:`c`}],addJot:!0,colSeparationType:`gather`,autoTag:kv(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Av(e.parser,t,`display`)},htmlBuilder:Mv,mathmlBuilder:Pv}),Sv({type:`array`,names:[`alignat`,`alignat*`,`alignedat`],props:{numArgs:1},handler:Fv,htmlBuilder:Mv,mathmlBuilder:Pv}),Sv({type:`array`,names:[`equation`,`equation*`],props:{numArgs:0},handler(e){Dv(e);var t={autoTag:kv(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Av(e.parser,t,`display`)},htmlBuilder:Mv,mathmlBuilder:Pv}),Sv({type:`array`,names:[`CD`],props:{numArgs:0},handler(e){return Dv(e),I_(e.parser)},htmlBuilder:Mv,mathmlBuilder:Pv}),$(`\\nonumber`,`\\gdef\\@eqnsw{0}`),$(`\\notag`,`\\nonumber`),X({type:`text`,names:[`\\hline`,`\\hdashline`],numArgs:0,allowedInText:!0,allowedInMath:!0,handler(e,t){throw new I(e.funcName+` valid only within array environment`)}});var Iv=xv;X({type:`environment`,names:[`\\begin`,`\\end`],numArgs:1,argTypes:[`text`],handler(e,t){var{parser:n,funcName:r}=e,i=t[0];if(i.type!==`ordgroup`)throw new I(`Invalid environment name`,i);for(var a=``,o=0;o<i.body.length;++o)a+=Q(i.body[o],`textord`).text;if(r===`\\begin`){if(!Iv.hasOwnProperty(a))throw new I(`No such environment: `+a,i);var s=Iv[a],{args:c,optArgs:l}=n.parseArguments(`\\begin{`+a+`}`,s),u={mode:n.mode,envName:a,parser:n},d=s.handler(u,c,l);n.expect(`\\end`,!1);var f=n.nextToken,p=Q(n.parseFunction(),`environment`);if(p.name!==a)throw new I(`Mismatch: \\begin{`+a+`} matched by \\end{`+p.name+`}`,f);return d}return{type:`environment`,mode:n.mode,name:a,nameGroup:i}}});var Lv=(e,t)=>{var n=e.font,r=t.withFont(n);return Vg(e.body,r)},Rv=(e,t)=>{var n=e.font,r=t.withFont(n);return n_(e.body,r)},zv={"\\Bbb":`\\mathbb`,"\\bold":`\\mathbf`,"\\frak":`\\mathfrak`};X({type:`font`,names:[`\\mathrm`,`\\mathit`,`\\mathbf`,`\\mathnormal`,`\\mathsfit`,`\\mathbb`,`\\mathcal`,`\\mathfrak`,`\\mathscr`,`\\mathsf`,`\\mathtt`,`\\Bbb`,`\\bold`,`\\frak`],numArgs:1,allowedInArgument:!0,handler:(e,t)=>{var{parser:n,funcName:r}=e,i=kg(t[0]),a=r in zv?zv[r]:r;return{type:`font`,mode:n.mode,font:a.slice(1),body:i}},htmlBuilder:Lv,mathmlBuilder:Rv}),X({type:`mclass`,names:[`\\boldsymbol`,`\\bm`],numArgs:1,handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`mclass`,mode:n.mode,mclass:A_(r),body:[{type:`font`,mode:n.mode,font:`boldsymbol`,body:r}],isCharacterBox:Qp(r)}}}),X({type:`font`,names:[`\\rm`,`\\sf`,`\\tt`,`\\bf`,`\\it`,`\\cal`],numArgs:0,allowedInText:!0,handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:i}=e,{mode:a}=n,o=n.parseExpression(!0,i);return{type:`font`,mode:a,font:`math`+r.slice(1),body:{type:`ordgroup`,mode:n.mode,body:o}}}});var Bv=(e,t)=>{var n=t.style,r=n.fracNum(),i=n.fracDen(),a=t.havingStyle(r),o=Vg(e.numer,a,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,c=3.5/t.fontMetrics().ptPerEm;o.height=o.height<s?s:o.height,o.depth=o.depth<c?c:o.depth}a=t.havingStyle(i);var l=Vg(e.denom,a,t),u,d,f;e.hasBarLine?(e.barSize?(d=Um(e.barSize,t),u=lg(`frac-line`,t,d)):u=lg(`frac-line`,t),d=u.height,f=u.height):(u=null,d=0,f=t.fontMetrics().defaultRuleThickness);var p,m,h;n.size===L.DISPLAY.size?(p=t.fontMetrics().num1,m=d>0?3*f:7*f,h=t.fontMetrics().denom1):(d>0?(p=t.fontMetrics().num2,m=f):(p=t.fontMetrics().num3,m=3*f),h=t.fontMetrics().denom2);var g;if(u){var _=t.fontMetrics().axisHeight;p-o.depth-(_+.5*d)<m&&(p+=m-(p-o.depth-(_+.5*d))),_-.5*d-(l.height-h)<m&&(h+=m-(_-.5*d-(l.height-h)));var v=-(_-.5*d);g=mg({positionType:`individualShift`,children:[{type:`elem`,elem:l,shift:h},{type:`elem`,elem:u,shift:v},{type:`elem`,elem:o,shift:-p}]})}else{var y=p-o.depth-(l.height-h);y<m&&(p+=.5*(m-y),h+=.5*(m-y)),g=mg({positionType:`individualShift`,children:[{type:`elem`,elem:l,shift:h},{type:`elem`,elem:o,shift:-p}]})}a=t.havingStyle(n),g.height*=a.sizeMultiplier/t.sizeMultiplier,g.depth*=a.sizeMultiplier/t.sizeMultiplier;var b=n.size===L.DISPLAY.size?t.fontMetrics().delim1:n.size===L.SCRIPTSCRIPT.size?t.havingStyle(L.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,x=e.leftDelim==null?Bg(t,[`mopen`]):mv(e.leftDelim,b,!0,t.havingStyle(n),e.mode,[`mopen`]),S=e.continued?Y([]):e.rightDelim==null?Bg(t,[`mclose`]):mv(e.rightDelim,b,!0,t.havingStyle(n),e.mode,[`mclose`]);return Y([`mord`].concat(a.sizingClasses(t)),[x,Y([`mfrac`],[g]),S],t)},Vv=(e,t)=>{var n=new Z(`mfrac`,[n_(e.numer,t),n_(e.denom,t)]);if(!e.hasBarLine)n.setAttribute(`linethickness`,`0px`);else if(e.barSize){var r=Um(e.barSize,t);n.setAttribute(`linethickness`,R(r))}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var a=new Z(`mo`,[new Gg(e.leftDelim.replace(`\\`,``))]);a.setAttribute(`fence`,`true`),i.push(a)}if(i.push(n),e.rightDelim!=null){var o=new Z(`mo`,[new Gg(e.rightDelim.replace(`\\`,``))]);o.setAttribute(`fence`,`true`),i.push(o)}return Xg(i)}return n},Hv=(e,t)=>t?{type:`styling`,mode:e.mode,style:t,body:[e]}:e;X({type:`genfrac`,names:[`\\cfrac`,`\\dfrac`,`\\frac`,`\\tfrac`,`\\dbinom`,`\\binom`,`\\tbinom`,`\\\\atopfrac`,`\\\\bracefrac`,`\\\\brackfrac`],numArgs:2,allowedInArgument:!0,handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=t[1],o,s=null,c=null;switch(r){case`\\cfrac`:case`\\dfrac`:case`\\frac`:case`\\tfrac`:o=!0;break;case`\\\\atopfrac`:o=!1;break;case`\\dbinom`:case`\\binom`:case`\\tbinom`:o=!1,s=`(`,c=`)`;break;case`\\\\bracefrac`:o=!1,s=`\\{`,c=`\\}`;break;case`\\\\brackfrac`:o=!1,s=`[`,c=`]`;break;default:throw Error(`Unrecognized genfrac command`)}var l=r===`\\cfrac`,u=null;return l||r.startsWith(`\\d`)?u=`display`:r.startsWith(`\\t`)&&(u=`text`),Hv({type:`genfrac`,mode:n.mode,numer:i,denom:a,continued:l,hasBarLine:o,leftDelim:s,rightDelim:c,barSize:null},u)},htmlBuilder:Bv,mathmlBuilder:Vv}),X({type:`infix`,names:[`\\over`,`\\choose`,`\\atop`,`\\brace`,`\\brack`],numArgs:0,infix:!0,handler(e){var{parser:t,funcName:n,token:r}=e,i;switch(n){case`\\over`:i=`\\frac`;break;case`\\choose`:i=`\\binom`;break;case`\\atop`:i=`\\\\atopfrac`;break;case`\\brace`:i=`\\\\bracefrac`;break;case`\\brack`:i=`\\\\brackfrac`;break;default:throw Error(`Unrecognized infix genfrac command`)}return{type:`infix`,mode:t.mode,replaceWith:i,token:r}}});var Uv=[`display`,`text`,`script`,`scriptscript`],Wv=function(e){var t=null;return e.length>0&&(t=e,t=t===`.`?null:t),t};X({type:`genfrac`,names:[`\\genfrac`],numArgs:6,allowedInArgument:!0,argTypes:[`math`,`math`,`size`,`text`,`math`,`math`],handler(e,t){var{parser:n}=e,r=t[4],i=t[5],a=kg(t[0]),o=a.type===`atom`&&a.family===`open`?Wv(a.text):null,s=kg(t[1]),c=s.type===`atom`&&s.family===`close`?Wv(s.text):null,l=Q(t[2],`size`),u,d=null;l.isBlank?u=!0:(d=l.value,u=d.number>0);var f=null,p=t[3];if(p.type===`ordgroup`){if(p.body.length>0){var m=Q(p.body[0],`textord`);f=Uv[Number(m.text)]}}else p=Q(p,`textord`),f=Uv[Number(p.text)];return Hv({type:`genfrac`,mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:u,barSize:d,leftDelim:o,rightDelim:c},f)}}),X({type:`infix`,names:[`\\above`],numArgs:1,argTypes:[`size`],infix:!0,handler(e,t){var{parser:n,funcName:r,token:i}=e;return{type:`infix`,mode:n.mode,replaceWith:`\\\\abovefrac`,size:Q(t[0],`size`).value,token:i}}}),X({type:`genfrac`,names:[`\\\\abovefrac`],numArgs:3,argTypes:[`math`,`size`,`math`],handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=Q(t[1],`infix`).size;if(!a)throw Error(`\\\\abovefrac expected size, but got `+String(a));var o=t[2],s=a.number>0;return{type:`genfrac`,mode:n.mode,numer:i,denom:o,continued:!1,hasBarLine:s,barSize:a,leftDelim:null,rightDelim:null}}});var Gv=(e,t)=>{var n=t.style,r,i;e.type===`supsub`?(r=e.sup?Vg(e.sup,t.havingStyle(n.sup()),t):Vg(e.sub,t.havingStyle(n.sub()),t),i=Q(e.base,`horizBrace`)):i=Q(e,`horizBrace`);var a=Vg(i.base,t.havingBaseStyle(L.DISPLAY)),o=g_(i,t),s=i.isOver?mg({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`kern`,size:.1},{type:`elem`,elem:o,wrapperClasses:[`svg-align`]}]}):mg({positionType:`bottom`,positionData:a.depth+.1+o.height,children:[{type:`elem`,elem:o,wrapperClasses:[`svg-align`]},{type:`kern`,size:.1},{type:`elem`,elem:a}]});if(r){var c=Y([`minner`,i.isOver?`mover`:`munder`],[s],t);s=i.isOver?mg({positionType:`firstBaseline`,children:[{type:`elem`,elem:c},{type:`kern`,size:.2},{type:`elem`,elem:r}]}):mg({positionType:`bottom`,positionData:c.depth+.2+r.height+r.depth,children:[{type:`elem`,elem:r},{type:`kern`,size:.2},{type:`elem`,elem:c}]})}return Y([`minner`,i.isOver?`mover`:`munder`],[s],t)};X({type:`horizBrace`,names:[`\\overbrace`,`\\underbrace`,`\\overbracket`,`\\underbracket`],numArgs:1,handler(e,t){var{parser:n,funcName:r}=e;return{type:`horizBrace`,mode:n.mode,label:r,isOver:r.includes(`\\over`),base:t[0]}},htmlBuilder:Gv,mathmlBuilder:(e,t)=>{var n=p_(e.label);return new Z(e.isOver?`mover`:`munder`,[n_(e.base,t),n])}}),X({type:`href`,names:[`\\href`],numArgs:2,argTypes:[`url`,`original`],allowedInText:!0,handler:(e,t)=>{var{parser:n}=e,r=t[1],i=Q(t[0],`url`).url;return n.settings.isTrusted({command:`\\href`,url:i})?{type:`href`,mode:n.mode,href:i,body:Ag(r)}:n.formatUnsupportedCmd(`\\href`)},htmlBuilder:(e,t)=>{var n=Fg(e.body,t,!1);return ug(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=t_(e.body,t);return n instanceof Z||(n=new Z(`mrow`,[n])),n.setAttribute(`href`,e.href),n}}),X({type:`href`,names:[`\\url`],numArgs:1,argTypes:[`url`],allowedInText:!0,handler:(e,t)=>{var{parser:n}=e,r=Q(t[0],`url`).url;if(!n.settings.isTrusted({command:`\\url`,url:r}))return n.formatUnsupportedCmd(`\\url`);for(var i=[],a=0;a<r.length;a++){var o=r[a];o===`~`&&(o=`\\textasciitilde`),i.push({type:`textord`,mode:`text`,text:o})}var s={type:`text`,mode:n.mode,font:`\\texttt`,body:i};return{type:`href`,mode:n.mode,href:r,body:Ag(s)}}}),X({type:`hbox`,names:[`\\hbox`],numArgs:1,argTypes:[`text`],allowedInText:!0,primitive:!0,handler(e,t){var{parser:n}=e;return{type:`hbox`,mode:n.mode,body:Ag(t[0])}},htmlBuilder(e,t){return dg(Fg(e.body,t.withFont(``),!1))},mathmlBuilder(e,t){return new Z(`mrow`,e_(e.body,t.withFont(``)))}}),X({type:`html`,names:[`\\htmlClass`,`\\htmlId`,`\\htmlStyle`,`\\htmlData`],numArgs:2,argTypes:[`raw`,`original`],allowedInText:!0,handler:(e,t)=>{var{parser:n,funcName:r,token:i}=e,a=Q(t[0],`raw`).string,o=t[1];n.settings.strict&&n.settings.reportNonstrict(`htmlExtension`,`HTML extension is disabled on strict mode`);var s,c={};switch(r){case`\\htmlClass`:c.class=a,s={command:`\\htmlClass`,class:a};break;case`\\htmlId`:c.id=a,s={command:`\\htmlId`,id:a};break;case`\\htmlStyle`:c.style=a,s={command:`\\htmlStyle`,style:a};break;case`\\htmlData`:for(var l=a.split(`,`),u=0;u<l.length;u++){var d=l[u],f=d.indexOf(`=`);if(f<0)throw new I(`\\htmlData key/value '`+d+`' missing equals sign`);var p=d.slice(0,f),m=d.slice(f+1);c[`data-`+p.trim()]=m}s={command:`\\htmlData`,attributes:c};break;default:throw Error(`Unrecognized html command`)}return n.settings.isTrusted(s)?{type:`html`,mode:n.mode,attributes:c,body:Ag(o)}:n.formatUnsupportedCmd(r)},htmlBuilder:(e,t)=>{var n=Fg(e.body,t,!1),r=[`enclosing`];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var i=Y(r,n,t);for(var a in e.attributes)a!==`class`&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>t_(e.body,t)}),X({type:`htmlmathml`,names:[`\\html@mathml`],numArgs:2,allowedInArgument:!0,allowedInText:!0,handler:(e,t)=>{var{parser:n}=e;return{type:`htmlmathml`,mode:n.mode,html:Ag(t[0]),mathml:Ag(t[1])}},htmlBuilder:(e,t)=>dg(Fg(e.html,t,!1)),mathmlBuilder:(e,t)=>t_(e.mathml,t)});var Kv=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:`bp`};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new I(`Invalid size: '`+e+`' in \\includegraphics`);var n={number:+(t[1]+t[2]),unit:t[3]};if(!Hm(n))throw new I(`Invalid unit: '`+n.unit+`' in \\includegraphics.`);return n};X({type:`includegraphics`,names:[`\\includegraphics`],numArgs:1,numOptionalArgs:1,argTypes:[`raw`,`url`],allowedInText:!1,handler:(e,t,n)=>{var{parser:r}=e,i={number:0,unit:`em`},a={number:.9,unit:`em`},o={number:0,unit:`em`},s=``;if(n[0])for(var c=Q(n[0],`raw`).string.split(`,`),l=0;l<c.length;l++){var u=c[l].split(`=`);if(u.length===2){var d=u[1].trim();switch(u[0].trim()){case`alt`:s=d;break;case`width`:i=Kv(d);break;case`height`:a=Kv(d);break;case`totalheight`:o=Kv(d);break;default:throw new I(`Invalid key: '`+u[0]+`' in \\includegraphics.`)}}}var f=Q(t[0],`url`).url;return s===``&&(s=f,s=s.replace(/^.*[\\/]/,``),s=s.substring(0,s.lastIndexOf(`.`))),r.settings.isTrusted({command:`\\includegraphics`,url:f})?{type:`includegraphics`,mode:r.mode,alt:s,width:i,height:a,totalheight:o,src:f}:r.formatUnsupportedCmd(`\\includegraphics`)},htmlBuilder:(e,t)=>{var n=Um(e.height,t),r=0;e.totalheight.number>0&&(r=Um(e.totalheight,t)-n);var i=0;e.width.number>0&&(i=Um(e.width,t));var a={height:R(n+r)};i>0&&(a.width=R(i)),r>0&&(a.verticalAlign=R(-r));var o=new Qm(e.src,e.alt,a);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{var n=new Z(`mglyph`,[]);n.setAttribute(`alt`,e.alt);var r=Um(e.height,t),i=0;if(e.totalheight.number>0&&(i=Um(e.totalheight,t)-r,n.setAttribute(`valign`,R(-i))),n.setAttribute(`height`,R(r+i)),e.width.number>0){var a=Um(e.width,t);n.setAttribute(`width`,R(a))}return n.setAttribute(`src`,e.src),n}}),X({type:`kern`,names:[`\\kern`,`\\mkern`,`\\hskip`,`\\mskip`],numArgs:1,argTypes:[`size`],primitive:!0,allowedInText:!0,handler(e,t){var{parser:n,funcName:r}=e,i=Q(t[0],`size`);if(n.settings.strict){var a=r[1]===`m`,o=i.value.unit===`mu`;a?(o||n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` supports only mu units, `+(`not `+i.value.unit+` units`)),n.mode!==`math`&&n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` works only in math mode`)):o&&n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` doesn't support mu units`)}return{type:`kern`,mode:n.mode,dimension:i.value}},htmlBuilder(e,t){return hg(e.dimension,t)},mathmlBuilder(e,t){return new Kg(Um(e.dimension,t))}}),X({type:`lap`,names:[`\\mathllap`,`\\mathrlap`,`\\mathclap`],numArgs:1,allowedInText:!0,handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:`lap`,mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{var n;e.alignment===`clap`?(n=Y([],[Vg(e.body,t)]),n=Y([`inner`],[n],t)):n=Y([`inner`],[Vg(e.body,t)]);var r=Y([`fix`],[]),i=Y([e.alignment],[n,r],t),a=Y([`strut`]);return a.style.height=R(i.height+i.depth),i.depth&&(a.style.verticalAlign=R(-i.depth)),i.children.unshift(a),i=Y([`thinbox`],[i],t),Y([`mord`,`vbox`],[i],t)},mathmlBuilder:(e,t)=>{var n=new Z(`mpadded`,[n_(e.body,t)]);if(e.alignment!==`rlap`){var r=e.alignment===`llap`?`-1`:`-0.5`;n.setAttribute(`lspace`,r+`width`)}return n.setAttribute(`width`,`0px`),n}}),X({type:`styling`,names:[`\\(`,`$`],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(e,t){var{funcName:n,parser:r}=e,i=r.mode;r.switchMode(`math`);var a=n===`\\(`?`\\)`:`$`,o=r.parseExpression(!1,a);return r.expect(a),r.switchMode(i),{type:`styling`,mode:r.mode,style:`text`,resetFont:!0,body:o}}}),X({type:`text`,names:[`\\)`,`\\]`],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(e,t){throw new I(`Mismatched `+e.funcName)}});var qv=(e,t)=>{switch(t.style.size){case L.DISPLAY.size:return e.display;case L.TEXT.size:return e.text;case L.SCRIPT.size:return e.script;case L.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};X({type:`mathchoice`,names:[`\\mathchoice`],numArgs:4,primitive:!0,handler:(e,t)=>{var{parser:n}=e;return{type:`mathchoice`,mode:n.mode,display:Ag(t[0]),text:Ag(t[1]),script:Ag(t[2]),scriptscript:Ag(t[3])}},htmlBuilder:(e,t)=>dg(Fg(qv(e,t),t,!1)),mathmlBuilder:(e,t)=>t_(qv(e,t),t)});var Jv=(e,t,n,r,i,a,o)=>{e=Y([],[e]);var s=n&&Qp(n),c,l;if(t){var u=Vg(t,r.havingStyle(i.sup()),r);l={elem:u,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-u.depth)}}if(n){var d=Vg(n,r.havingStyle(i.sub()),r);c={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-d.height)}}var f;if(l&&c)f=mg({positionType:`bottom`,positionData:r.fontMetrics().bigOpSpacing5+c.elem.height+c.elem.depth+c.kern+e.depth+o,children:[{type:`kern`,size:r.fontMetrics().bigOpSpacing5},{type:`elem`,elem:c.elem,marginLeft:R(-a)},{type:`kern`,size:c.kern},{type:`elem`,elem:e},{type:`kern`,size:l.kern},{type:`elem`,elem:l.elem,marginLeft:R(a)},{type:`kern`,size:r.fontMetrics().bigOpSpacing5}]});else if(c)f=mg({positionType:`top`,positionData:e.height-o,children:[{type:`kern`,size:r.fontMetrics().bigOpSpacing5},{type:`elem`,elem:c.elem,marginLeft:R(-a)},{type:`kern`,size:c.kern},{type:`elem`,elem:e}]});else if(l)f=mg({positionType:`bottom`,positionData:e.depth+o,children:[{type:`elem`,elem:e},{type:`kern`,size:l.kern},{type:`elem`,elem:l.elem,marginLeft:R(a)},{type:`kern`,size:r.fontMetrics().bigOpSpacing5}]});else return e;var p=[f];if(c&&a!==0&&!s){var m=Y([`mspace`],[],r);m.style.marginRight=R(a),p.unshift(m)}return Y([`mop`,`op-limits`],p,r)},Yv=new Set([`\\smallint`]),Xv=(e,t)=>{var n,r,i=!1,a;e.type===`supsub`?(n=e.sup,r=e.sub,a=Q(e.base,`op`),i=!0):a=Q(e,`op`);var o=t.style,s=!1;o.size===L.DISPLAY.size&&a.symbol&&!Yv.has(a.name)&&(s=!0);var c,l;if(a.symbol){var u=s?`Size2-Regular`:`Size1-Regular`,d=``;if((a.name===`\\oiint`||a.name===`\\oiiint`)&&(d=a.name.slice(1),a.name=d===`oiint`?`\\iint`:`\\iiint`),c=tg(a.name,u,`math`,t,[`mop`,`op-symbol`,s?`large-op`:`small-op`]),l=c.italic,d.length>0){var f=yg(d+`Size`+(s?`2`:`1`),t);c=mg({positionType:`individualShift`,children:[{type:`elem`,elem:c,shift:0},{type:`elem`,elem:f,shift:s?.08:0}]}),a.name=`\\`+d,c.classes.unshift(`mop`),c.italic=l}}else if(a.body){var p=Fg(a.body,t,!0);p.length===1&&p[0]instanceof eh?(c=p[0],c.classes[0]=`mop`):c=Y([`mop`],p,t)}else{for(var m=[],h=1;h<a.name.length;h++)m.push(ng(a.name[h],a.mode,t));c=Y([`mop`],m,t)}var g=0,_=0;return(c instanceof eh||a.name===`\\oiint`||a.name===`\\oiiint`)&&!a.suppressBaseShift&&(g=(c.height-c.depth)/2-t.fontMetrics().axisHeight,_=c.italic??0),i?Jv(c,n,r,t,o,_,g):(g&&(c.style.position=`relative`,c.style.top=R(g)),c)},Zv=(e,t)=>{var n;if(e.symbol)n=new Z(`mo`,[Yg(e.name,e.mode)]),Yv.has(e.name)&&n.setAttribute(`largeop`,`false`);else if(e.body)n=new Z(`mo`,e_(e.body,t));else{n=new Z(`mi`,[new Gg(e.name.slice(1))]);var r=new Z(`mo`,[Yg(``,`text`)]);n=e.parentIsSupSub?new Z(`mrow`,[n,r]):Wg([n,r])}return n},Qv={"∏":`\\prod`,"∐":`\\coprod`,"∑":`\\sum`,"⋀":`\\bigwedge`,"⋁":`\\bigvee`,"⋂":`\\bigcap`,"⋃":`\\bigcup`,"⨀":`\\bigodot`,"⨁":`\\bigoplus`,"⨂":`\\bigotimes`,"⨄":`\\biguplus`,"⨆":`\\bigsqcup`};X({type:`op`,names:`\\coprod.\\bigvee.\\bigwedge.\\biguplus.\\bigcap.\\bigcup.\\intop.\\prod.\\sum.\\bigotimes.\\bigoplus.\\bigodot.\\bigsqcup.\\smallint.∏.∐.∑.⋀.⋁.⋂.⋃.⨀.⨁.⨂.⨄.⨆`.split(`.`),numArgs:0,handler:(e,t)=>{var{parser:n,funcName:r}=e,i=r;return i.length===1&&(i=Qv[i]),{type:`op`,mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Xv,mathmlBuilder:Zv}),X({type:`op`,names:[`\\mathop`],numArgs:1,primitive:!0,handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`op`,mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ag(r)}}});var $v={"∫":`\\int`,"∬":`\\iint`,"∭":`\\iiint`,"∮":`\\oint`,"∯":`\\oiint`,"∰":`\\oiiint`};X({type:`op`,names:`\\arcsin.\\arccos.\\arctan.\\arctg.\\arcctg.\\arg.\\ch.\\cos.\\cosec.\\cosh.\\cot.\\cotg.\\coth.\\csc.\\ctg.\\cth.\\deg.\\dim.\\exp.\\hom.\\ker.\\lg.\\ln.\\log.\\sec.\\sin.\\sinh.\\sh.\\tan.\\tanh.\\tg.\\th`.split(`.`),numArgs:0,handler(e){var{parser:t,funcName:n}=e;return{type:`op`,mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}}}),X({type:`op`,names:[`\\det`,`\\gcd`,`\\inf`,`\\lim`,`\\max`,`\\min`,`\\Pr`,`\\sup`],numArgs:0,handler(e){var{parser:t,funcName:n}=e;return{type:`op`,mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}}}),X({type:`op`,names:[`\\int`,`\\iint`,`\\iiint`,`\\oint`,`\\oiint`,`\\oiiint`,`∫`,`∬`,`∭`,`∮`,`∯`,`∰`],numArgs:0,allowedInArgument:!0,handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=$v[r]),{type:`op`,mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}}});var ey=(e,t)=>{var n,r,i=!1,a;e.type===`supsub`?(n=e.sup,r=e.sub,a=Q(e.base,`operatorname`),i=!0):a=Q(e,`operatorname`);var o;if(a.body.length>0){for(var s=Fg(a.body.map(e=>{var t=`text`in e?e.text:void 0;return typeof t==`string`?{type:`textord`,mode:e.mode,text:t}:e}),t.withFont(`mathrm`),!0),c=0;c<s.length;c++){var l=s[c];l instanceof eh&&(l.text=l.text.replace(/\u2212/,`-`).replace(/\u2217/,`*`))}o=Y([`mop`],s,t)}else o=Y([`mop`],[],t);return i?Jv(o,n,r,t,t.style,0,0):o};X({type:`operatorname`,names:[`\\operatorname@`,`\\operatornamewithlimits`],numArgs:1,handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:`operatorname`,mode:n.mode,body:Ag(i),alwaysHandleSupSub:r===`\\operatornamewithlimits`,limits:!1,parentIsSupSub:!1}},htmlBuilder:ey,mathmlBuilder:(e,t)=>{for(var n=e_(e.body,t.withFont(`mathrm`)),r=!0,i=0;i<n.length;i++){var a=n[i];if(!(a instanceof Kg)){if(a instanceof Z)switch(a.type){case`mi`:case`mn`:case`mspace`:case`mtext`:break;case`mo`:var o=a.children[0];a.children.length===1&&o instanceof Gg?o.text=o.text.replace(/\u2212/,`-`).replace(/\u2217/,`*`):r=!1;break;default:r=!1}else r=!1}}r&&(n=[new Gg(n.map(e=>e.toText()).join(``))]);var s=new Z(`mi`,n);s.setAttribute(`mathvariant`,`normal`);var c=new Z(`mo`,[Yg(``,`text`)]);return e.parentIsSupSub?new Z(`mrow`,[s,c]):Wg([s,c])}}),$(`\\operatorname`,`\\@ifstar\\operatornamewithlimits\\operatorname@`),Og({type:`ordgroup`,htmlBuilder(e,t){return e.semisimple?dg(Fg(e.body,t,!1)):Y([`mord`],Fg(e.body,t,!0),t)},mathmlBuilder(e,t){return t_(e.body,t,!0)}}),X({type:`overline`,names:[`\\overline`],numArgs:1,handler(e,t){var{parser:n}=e,r=t[0];return{type:`overline`,mode:n.mode,body:r}},htmlBuilder(e,t){var n=Vg(e.body,t.havingCrampedStyle()),r=lg(`overline-line`,t),i=t.fontMetrics().defaultRuleThickness;return Y([`mord`,`overline`],[mg({positionType:`firstBaseline`,children:[{type:`elem`,elem:n},{type:`kern`,size:3*i},{type:`elem`,elem:r},{type:`kern`,size:i}]})],t)},mathmlBuilder(e,t){var n=new Z(`mo`,[new Gg(`‾`)]);n.setAttribute(`stretchy`,`true`);var r=new Z(`mover`,[n_(e.body,t),n]);return r.setAttribute(`accent`,`true`),r}}),X({type:`phantom`,names:[`\\phantom`],numArgs:1,allowedInText:!0,handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`phantom`,mode:n.mode,body:Ag(r)}},htmlBuilder:(e,t)=>dg(Fg(e.body,t.withPhantom(),!1)),mathmlBuilder:(e,t)=>new Z(`mphantom`,e_(e.body,t))}),$(`\\hphantom`,`\\smash{\\phantom{#1}}`),X({type:`vphantom`,names:[`\\vphantom`],numArgs:1,allowedInText:!0,handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`vphantom`,mode:n.mode,body:r}},htmlBuilder:(e,t)=>Y([`mord`,`rlap`],[Y([`inner`],[Vg(e.body,t.withPhantom())]),Y([`fix`],[])],t),mathmlBuilder:(e,t)=>{var n=new Z(`mpadded`,[new Z(`mphantom`,e_(Ag(e.body),t))]);return n.setAttribute(`width`,`0px`),n}}),X({type:`raisebox`,names:[`\\raisebox`],numArgs:2,argTypes:[`size`,`hbox`],allowedInText:!0,handler(e,t){var{parser:n}=e,r=Q(t[0],`size`).value,i=t[1];return{type:`raisebox`,mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){var n=Vg(e.body,t);return mg({positionType:`shift`,positionData:-Um(e.dy,t),children:[{type:`elem`,elem:n}]})},mathmlBuilder(e,t){var n=new Z(`mpadded`,[n_(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute(`voffset`,r),n}}),X({type:`internal`,names:[`\\relax`],numArgs:0,allowedInText:!0,allowedInArgument:!0,handler(e){var{parser:t}=e;return{type:`internal`,mode:t.mode}}}),X({type:`rule`,names:[`\\rule`],numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:[`size`,`size`,`size`],handler(e,t,n){var{parser:r}=e,i=n[0],a=Q(t[0],`size`),o=Q(t[1],`size`);return{type:`rule`,mode:r.mode,shift:i&&Q(i,`size`).value,width:a.value,height:o.value}},htmlBuilder(e,t){var n=Y([`mord`,`rule`],[],t),r=Um(e.width,t),i=Um(e.height,t),a=e.shift?Um(e.shift,t):0;return n.style.borderRightWidth=R(r),n.style.borderTopWidth=R(i),n.style.bottom=R(a),n.width=r,n.height=i+a,n.depth=-a,n.maxFontSize=i*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=Um(e.width,t),r=Um(e.height,t),i=e.shift?Um(e.shift,t):0,a=t.color&&t.getColor()||`black`,o=new Z(`mspace`);o.setAttribute(`mathbackground`,a),o.setAttribute(`width`,R(n)),o.setAttribute(`height`,R(r));var s=new Z(`mpadded`,[o]);return i>=0?s.setAttribute(`height`,R(i)):(s.setAttribute(`height`,R(i)),s.setAttribute(`depth`,R(-i))),s.setAttribute(`voffset`,R(i)),s}});function ty(e,t,n){for(var r=Fg(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier,a=0;a<r.length;a++){var o=r[a].classes.indexOf(`sizing`);o<0?Array.prototype.push.apply(r[a].classes,t.sizingClasses(n)):r[a].classes[o+1]===`reset-size`+t.size&&(r[a].classes[o+1]=`reset-size`+n.size),r[a].height*=i,r[a].depth*=i}return dg(r)}var ny=[`\\tiny`,`\\sixptsize`,`\\scriptsize`,`\\footnotesize`,`\\small`,`\\normalsize`,`\\large`,`\\Large`,`\\LARGE`,`\\huge`,`\\Huge`];X({type:`sizing`,names:ny,numArgs:0,allowedInText:!0,handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!1,n);return{type:`sizing`,mode:i.mode,size:ny.indexOf(r)+1,body:a}},htmlBuilder:(e,t)=>{var n=t.havingSize(e.size);return ty(e.body,n,t)},mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=new Z(`mstyle`,e_(e.body,n));return r.setAttribute(`mathsize`,R(n.sizeMultiplier)),r}}),X({type:`smash`,names:[`\\smash`],numArgs:1,numOptionalArgs:1,allowedInText:!0,handler:(e,t,n)=>{var{parser:r}=e,i=!1,a=!1,o=n[0]&&Q(n[0],`ordgroup`);if(o)for(var s,c=0;c<o.body.length;++c){var l=o.body[c];if(s=x_(l).text,s===`t`)i=!0;else if(s===`b`)a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var u=t[0];return{type:`smash`,mode:r.mode,body:u,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var n=Y([],[Vg(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0),e.smashDepth&&(n.depth=0),e.smashHeight&&e.smashDepth)return Y([`mord`,`smash`],[n],t);if(n.children)for(var r=0;r<n.children.length;r++)e.smashHeight&&(n.children[r].height=0),e.smashDepth&&(n.children[r].depth=0);return Y([`mord`],[mg({positionType:`firstBaseline`,children:[{type:`elem`,elem:n}]})],t)},mathmlBuilder:(e,t)=>{var n=new Z(`mpadded`,[n_(e.body,t)]);return e.smashHeight&&n.setAttribute(`height`,`0px`),e.smashDepth&&n.setAttribute(`depth`,`0px`),n}}),X({type:`sqrt`,names:[`\\sqrt`],numArgs:1,numOptionalArgs:1,handler(e,t,n){var{parser:r}=e,i=n[0],a=t[0];return{type:`sqrt`,mode:r.mode,body:a,index:i}},htmlBuilder(e,t){var n=Vg(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=fg(n,t);var r=t.fontMetrics().defaultRuleThickness,i=r;t.style.id<L.TEXT.id&&(i=t.fontMetrics().xHeight);var a=r+i/4,{span:o,ruleWidth:s,advanceWidth:c}=rv(n.height+n.depth+a+r,t),l=o.height-s;l>n.height+n.depth+a&&(a=(a+l-n.height-n.depth)/2);var u=o.height-n.height-a-s;n.style.paddingLeft=R(c);var d=mg({positionType:`firstBaseline`,children:[{type:`elem`,elem:n,wrapperClasses:[`svg-align`]},{type:`kern`,size:-(n.height+u)},{type:`elem`,elem:o},{type:`kern`,size:s}]});if(e.index){var f=t.havingStyle(L.SCRIPTSCRIPT),p=Vg(e.index,f,t);return Y([`mord`,`sqrt`],[Y([`root`],[mg({positionType:`shift`,positionData:-(.6*(d.height-d.depth)),children:[{type:`elem`,elem:p}]})]),d],t)}return Y([`mord`,`sqrt`],[d],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new Z(`mroot`,[n_(n,t),n_(r,t)]):new Z(`msqrt`,[n_(n,t)])}});var ry={display:L.DISPLAY,text:L.TEXT,script:L.SCRIPT,scriptscript:L.SCRIPTSCRIPT};function iy(e){return e in ry}X({type:`styling`,names:[`\\displaystyle`,`\\textstyle`,`\\scriptstyle`,`\\scriptscriptstyle`],numArgs:0,allowedInText:!0,primitive:!0,handler(e,t){var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!0,n),o=r.slice(1,r.length-5);if(!iy(o))throw Error(`Unknown style: `+o);return{type:`styling`,mode:i.mode,style:o,body:a}},htmlBuilder(e,t){var n=ry[e.style],r=t.havingStyle(n);return e.resetFont&&(r=r.withFont(``)),ty(e.body,r,t)},mathmlBuilder(e,t){var n=ry[e.style],r=t.havingStyle(n);e.resetFont&&(r=r.withFont(``));var i=new Z(`mstyle`,e_(e.body,r)),a={display:[`0`,`true`],text:[`0`,`false`],script:[`1`,`false`],scriptscript:[`2`,`false`]}[e.style];return i.setAttribute(`scriptlevel`,a[0]),i.setAttribute(`displaystyle`,a[1]),i}});var ay=function(e,t){var n=e.base;return n?n.type===`op`?n.limits&&(t.style.size===L.DISPLAY.size||n.alwaysHandleSupSub)?Xv:null:n.type===`operatorname`?n.alwaysHandleSupSub&&(t.style.size===L.DISPLAY.size||n.limits)?ey:null:n.type===`accent`?Qp(n.base)?w_:null:n.type===`horizBrace`&&!e.sub===n.isOver?Gv:null:null};Og({type:`supsub`,htmlBuilder(e,t){var n=ay(e,t);if(n)return n(e,t);var{base:r,sup:i,sub:a}=e,o=Vg(r,t),s,c,l=t.fontMetrics(),u=0,d=0,f=r&&Qp(r);if(i){var p=t.havingStyle(t.style.sup());s=Vg(i,p,t),f||(u=o.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(a){var m=t.havingStyle(t.style.sub());c=Vg(a,m,t),f||(d=o.depth+m.fontMetrics().subDrop*m.sizeMultiplier/t.sizeMultiplier)}var h=t.style===L.DISPLAY?l.sup1:t.style.cramped?l.sup3:l.sup2,g=t.sizeMultiplier,_=R(.5/l.ptPerEm/g),v=null;if(c){var y=e.base&&e.base.type===`op`&&e.base.name&&(e.base.name===`\\oiint`||e.base.name===`\\oiiint`);(o instanceof eh||y)&&(v=R(-(o.italic??0)))}var b;if(s&&c){u=Math.max(u,h,s.depth+.25*l.xHeight),d=Math.max(d,l.sub2);var x=4*l.defaultRuleThickness;if(u-s.depth-(c.height-d)<x){d=x-(u-s.depth)+c.height;var S=.8*l.xHeight-(u-s.depth);S>0&&(u+=S,d-=S)}b=mg({positionType:`individualShift`,children:[{type:`elem`,elem:c,shift:d,marginRight:_,marginLeft:v},{type:`elem`,elem:s,shift:-u,marginRight:_}]})}else if(c)d=Math.max(d,l.sub1,c.height-.8*l.xHeight),b=mg({positionType:`shift`,positionData:d,children:[{type:`elem`,elem:c,marginLeft:v,marginRight:_}]});else if(s)u=Math.max(u,h,s.depth+.25*l.xHeight),b=mg({positionType:`shift`,positionData:-u,children:[{type:`elem`,elem:s,marginRight:_}]});else throw Error(`supsub must have either sup or sub.`);return Y([zg(o,`right`)||`mord`],[o,Y([`msupsub`],[b])],t)},mathmlBuilder(e,t){var n=!1,r,i;e.base&&e.base.type===`horizBrace`&&(i=!!e.sup,i===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type===`op`||e.base.type===`operatorname`)&&(e.base.parentIsSupSub=!0);var a=[n_(e.base,t)];e.sub&&a.push(n_(e.sub,t)),e.sup&&a.push(n_(e.sup,t));var o;if(n)o=r?`mover`:`munder`;else if(!e.sub){var s=e.base;o=s&&s.type===`op`&&s.limits&&(t.style===L.DISPLAY||s.alwaysHandleSupSub)||s&&s.type===`operatorname`&&s.alwaysHandleSupSub&&(s.limits||t.style===L.DISPLAY)?`mover`:`msup`}else if(e.sup){var c=e.base;o=c&&c.type===`op`&&c.limits&&t.style===L.DISPLAY||c&&c.type===`operatorname`&&c.alwaysHandleSupSub&&(t.style===L.DISPLAY||c.limits)?`munderover`:`msubsup`}else{var l=e.base;o=l&&l.type===`op`&&l.limits&&(t.style===L.DISPLAY||l.alwaysHandleSupSub)||l&&l.type===`operatorname`&&l.alwaysHandleSupSub&&(l.limits||t.style===L.DISPLAY)?`munder`:`msub`}return new Z(o,a)}}),Og({type:`atom`,htmlBuilder(e,t){return ng(e.text,e.mode,t,[`m`+e.family])},mathmlBuilder(e,t){var n=new Z(`mo`,[Yg(e.text,e.mode)]);if(e.family===`bin`){var r=Qg(e,t);r===`bold-italic`&&n.setAttribute(`mathvariant`,r)}else e.family===`punct`?n.setAttribute(`separator`,`true`):(e.family===`open`||e.family===`close`)&&n.setAttribute(`stretchy`,`false`);return n}});var oy={mi:`italic`,mn:`normal`,mtext:`normal`};Og({type:`mathord`,htmlBuilder(e,t){return ig(e,t)},mathmlBuilder(e,t){var n=new Z(`mi`,[Yg(e.text,e.mode,t)]),r=Qg(e,t)||`italic`;return r!==oy[n.type]&&n.setAttribute(`mathvariant`,r),n}}),Og({type:`textord`,htmlBuilder(e,t){return ig(e,t)},mathmlBuilder(e,t){var n=Yg(e.text,e.mode,t),r=Qg(e,t)||`normal`,i=e.mode===`text`?new Z(`mtext`,[n]):/[0-9]/.test(e.text)?new Z(`mn`,[n]):e.text===`\\prime`?new Z(`mo`,[n]):new Z(`mi`,[n]);return r!==oy[i.type]&&i.setAttribute(`mathvariant`,r),i}});var sy={"\\nobreak":`nobreak`,"\\allowbreak":`allowbreak`},cy={" ":{},"\\ ":{},"~":{className:`nobreak`},"\\space":{},"\\nobreakspace":{className:`nobreak`}};Og({type:`spacing`,htmlBuilder(e,t){if(cy.hasOwnProperty(e.text)){var n=cy[e.text].className||``;if(e.mode===`text`){var r=ig(e,t);return r.classes.push(n),r}return Y([`mspace`,n],[ng(e.text,e.mode,t)],t)}if(sy.hasOwnProperty(e.text))return Y([`mspace`,sy[e.text]],[],t);throw new I(`Unknown type of space "`+e.text+`"`)},mathmlBuilder(e,t){var n;if(cy.hasOwnProperty(e.text))n=new Z(`mtext`,[new Gg(`\xA0`)]);else if(sy.hasOwnProperty(e.text))return new Z(`mspace`);else throw new I(`Unknown type of space "`+e.text+`"`);return n}});var ly=()=>{var e=new Z(`mtd`,[]);return e.setAttribute(`width`,`50%`),e};Og({type:`tag`,mathmlBuilder(e,t){var n=new Z(`mtable`,[new Z(`mtr`,[ly(),new Z(`mtd`,[t_(e.body,t)]),ly(),new Z(`mtd`,[t_(e.tag,t)])])]);return n.setAttribute(`width`,`100%`),n}});var uy={"\\text":void 0,"\\textrm":`textrm`,"\\textsf":`textsf`,"\\texttt":`texttt`,"\\textnormal":`textrm`},dy={"\\textbf":`textbf`,"\\textmd":`textmd`},fy={"\\textit":`textit`,"\\textup":`textup`},py=(e,t)=>{var n=e.font;return n?uy[n]?t.withTextFontFamily(uy[n]):dy[n]?t.withTextFontWeight(dy[n]):n===`\\emph`?t.fontShape===`textit`?t.withTextFontShape(`textup`):t.withTextFontShape(`textit`):t.withTextFontShape(fy[n]):t};X({type:`text`,names:[`\\text`,`\\textrm`,`\\textsf`,`\\texttt`,`\\textnormal`,`\\textbf`,`\\textmd`,`\\textit`,`\\textup`,`\\emph`],numArgs:1,argTypes:[`text`],allowedInArgument:!0,allowedInText:!0,handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:`text`,mode:n.mode,body:Ag(i),font:r}},htmlBuilder(e,t){var n=py(e,t);return Y([`mord`,`text`],Fg(e.body,n,!0),n)},mathmlBuilder(e,t){var n=py(e,t);return t_(e.body,n)}}),X({type:`underline`,names:[`\\underline`],numArgs:1,allowedInText:!0,handler(e,t){var{parser:n}=e;return{type:`underline`,mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=Vg(e.body,t),r=lg(`underline-line`,t),i=t.fontMetrics().defaultRuleThickness;return Y([`mord`,`underline`],[mg({positionType:`top`,positionData:n.height,children:[{type:`kern`,size:i},{type:`elem`,elem:r},{type:`kern`,size:3*i},{type:`elem`,elem:n}]})],t)},mathmlBuilder(e,t){var n=new Z(`mo`,[new Gg(`‾`)]);n.setAttribute(`stretchy`,`true`);var r=new Z(`munder`,[n_(e.body,t),n]);return r.setAttribute(`accentunder`,`true`),r}}),X({type:`vcenter`,names:[`\\vcenter`],numArgs:1,argTypes:[`original`],allowedInText:!1,handler(e,t){var{parser:n}=e;return{type:`vcenter`,mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=Vg(e.body,t),r=t.fontMetrics().axisHeight;return mg({positionType:`shift`,positionData:.5*(n.height-r-(n.depth+r)),children:[{type:`elem`,elem:n}]})},mathmlBuilder(e,t){return new Z(`mrow`,[new Z(`mpadded`,[n_(e.body,t)],[`vcenter`])])}}),X({type:`verb`,names:[`\\verb`],numArgs:0,allowedInText:!0,handler(e,t,n){throw new I(`\\verb ended by end of line instead of matching delimiter`)},htmlBuilder(e,t){for(var n=my(e),r=[],i=t.havingStyle(t.style.text()),a=0;a<n.length;a++){var o=n[a];o===`~`&&(o=`\\textasciitilde`),r.push(tg(o,`Typewriter-Regular`,e.mode,i,[`mord`,`texttt`]))}return Y([`mord`,`text`].concat(i.sizingClasses(t)),og(r),i)},mathmlBuilder(e,t){var n=new Z(`mtext`,[new Gg(my(e))]);return n.setAttribute(`mathvariant`,`monospace`),n}});var my=e=>e.body.replace(/ /g,e.star?`␣`:`\xA0`),hy=Tg,gy=`[ \r
|
|
1204
|
-
]`,_y=`\\\\[a-zA-Z@]+`,vy=`\\\\[^\ud800-\udfff]`,yy=`(`+_y+`)`+gy+`*`,by=`\\\\(
|
|
1205
|
-
|[ \r ]+
|
|
1206
|
-
?)[ \r ]*`,xy=`[̀-ͯ]`,Sy=RegExp(xy+`+$`),Cy=`(`+gy+`+)|`+(by+`|`)+`([!-\\[\\]-‧-豈-]`+(xy+`*`)+`|[\ud800-\udbff][\udc00-\udfff]`+(xy+`*`)+`|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5`+(`|`+yy)+(`|`+vy+`)`),wy=class{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(Cy,`g`),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new Tv(`EOF`,new wv(this,t,t));var n=this.tokenRegex.exec(e);if(n===null||n.index!==t)throw new I(`Unexpected character: '`+e[t]+`'`,new Tv(e[t],new wv(this,t,t+1)));var r=n[6]||n[3]||(n[2]?`\\ `:` `);if(this.catcodes[r]===14){var i=e.indexOf(`
|
|
1207
|
-
`,this.tokenRegex.lastIndex);return i===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict(`commentAtEnd`,`% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)`)):this.tokenRegex.lastIndex=i+1,this.lex()}return new Tv(r,new wv(this,t,this.tokenRegex.lastIndex))}},Ty=class{constructor(e,t){e===void 0&&(e={}),t===void 0&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new I(`Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug`);var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(e[t]==null?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,n){if(n===void 0&&(n=!1),n){for(var r=0;r<this.undefStack.length;r++)delete this.undefStack[r][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(e)&&(i[e]=this.current[e])}t==null?delete this.current[e]:this.current[e]=t}},Ey=Cv;$(`\\noexpand`,function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),$(`\\expandafter`,function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),$(`\\@firstoftwo`,function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),$(`\\@secondoftwo`,function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),$(`\\@ifnextchar`,function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return t[0].length===1&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),$(`\\@ifstar`,`\\@ifnextchar *{\\@firstoftwo{#1}}`),$(`\\TextOrMath`,function(e){var t=e.consumeArgs(2);return e.mode===`text`?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Dy={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};$(`\\char`,function(e){var t=e.popToken(),n,r=0;if(t.text===`'`)n=8,t=e.popToken();else if(t.text===`"`)n=16,t=e.popToken();else if(t.text==="`"){if(t=e.popToken(),t.text[0]===`\\`)r=t.text.charCodeAt(1);else if(t.text===`EOF`)throw new I("\\char` missing argument");else r=t.text.charCodeAt(0)}else n=10;if(n){if(r=Dy[t.text],r==null||r>=n)throw new I(`Invalid base-`+n+` digit `+t.text);for(var i;(i=Dy[e.future().text])!=null&&i<n;)r*=n,r+=i,e.popToken()}return`\\@char{`+r+`}`});var Oy=(e,t,n,r)=>{var i=e.consumeArg().tokens;if(i.length!==1)throw new I(`\\newcommand's first argument must be a macro name`);var a=i[0].text,o=e.isDefined(a);if(o&&!t)throw new I(`\\newcommand{`+a+`} attempting to redefine `+(a+`; use \\renewcommand`));if(!o&&!n)throw new I(`\\renewcommand{`+a+`} when command `+a+` does not yet exist; use \\newcommand`);var s=0;if(i=e.consumeArg().tokens,i.length===1&&i[0].text===`[`){for(var c=``,l=e.expandNextToken();l.text!==`]`&&l.text!==`EOF`;)c+=l.text,l=e.expandNextToken();if(!c.match(/^\s*[0-9]+\s*$/))throw new I(`Invalid number of arguments: `+c);s=parseInt(c),i=e.consumeArg().tokens}return o&&r||e.macros.set(a,{tokens:i,numArgs:s}),``};$(`\\newcommand`,e=>Oy(e,!1,!0,!1)),$(`\\renewcommand`,e=>Oy(e,!0,!1,!1)),$(`\\providecommand`,e=>Oy(e,!0,!0,!0)),$(`\\message`,e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(e=>e.text).join(``)),``}),$(`\\errmessage`,e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(e=>e.text).join(``)),``}),$(`\\show`,e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),hy[n],mh.math[n],mh.text[n]),``}),$(`\\bgroup`,`{`),$(`\\egroup`,`}`),$(`~`,`\\nobreakspace`),$(`\\lq`,"`"),$(`\\rq`,`'`),$(`\\aa`,`\\r a`),$(`\\AA`,`\\r A`),$(`\\textcopyright`,"\\html@mathml{\\textcircled{c}}{\\char`©}"),$(`\\copyright`,`\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}`),$(`\\textregistered`,"\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),$(`ℬ`,`\\mathscr{B}`),$(`ℰ`,`\\mathscr{E}`),$(`ℱ`,`\\mathscr{F}`),$(`ℋ`,`\\mathscr{H}`),$(`ℐ`,`\\mathscr{I}`),$(`ℒ`,`\\mathscr{L}`),$(`ℳ`,`\\mathscr{M}`),$(`ℛ`,`\\mathscr{R}`),$(`ℭ`,`\\mathfrak{C}`),$(`ℌ`,`\\mathfrak{H}`),$(`ℨ`,`\\mathfrak{Z}`),$(`\\Bbbk`,`\\Bbb{k}`),$(`\\llap`,`\\mathllap{\\textrm{#1}}`),$(`\\rlap`,`\\mathrlap{\\textrm{#1}}`),$(`\\clap`,`\\mathclap{\\textrm{#1}}`),$(`\\mathstrut`,`\\vphantom{(}`),$(`\\underbar`,`\\underline{\\text{#1}}`),$(`\\not`,`\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}`),$(`\\neq`,"\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),$(`\\ne`,`\\neq`),$(`≠`,`\\neq`),$(`\\notin`,"\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),$(`∉`,`\\notin`),$(`≘`,"\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),$(`≙`,"\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),$(`≚`,"\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),$(`≛`,"\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),$(`≝`,"\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),$(`≞`,"\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),$(`≟`,"\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),$(`⟂`,`\\perp`),$(`‼`,`\\mathclose{!\\mkern-0.8mu!}`),$(`∌`,`\\notni`),$(`⌜`,`\\ulcorner`),$(`⌝`,`\\urcorner`),$(`⌞`,`\\llcorner`),$(`⌟`,`\\lrcorner`),$(`©`,`\\copyright`),$(`®`,`\\textregistered`),$(`\\ulcorner`,`\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}`),$(`\\urcorner`,`\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}`),$(`\\llcorner`,`\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}`),$(`\\lrcorner`,`\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}`),$(`\\vdots`,`{\\varvdots\\rule{0pt}{15pt}}`),$(`⋮`,`\\vdots`),$(`\\varGamma`,`\\mathit{\\Gamma}`),$(`\\varDelta`,`\\mathit{\\Delta}`),$(`\\varTheta`,`\\mathit{\\Theta}`),$(`\\varLambda`,`\\mathit{\\Lambda}`),$(`\\varXi`,`\\mathit{\\Xi}`),$(`\\varPi`,`\\mathit{\\Pi}`),$(`\\varSigma`,`\\mathit{\\Sigma}`),$(`\\varUpsilon`,`\\mathit{\\Upsilon}`),$(`\\varPhi`,`\\mathit{\\Phi}`),$(`\\varPsi`,`\\mathit{\\Psi}`),$(`\\varOmega`,`\\mathit{\\Omega}`),$(`\\substack`,`\\begin{subarray}{c}#1\\end{subarray}`),$(`\\colon`,`\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax`),$(`\\boxed`,`\\fbox{$\\displaystyle{#1}$}`),$(`\\iff`,`\\DOTSB\\;\\Longleftrightarrow\\;`),$(`\\implies`,`\\DOTSB\\;\\Longrightarrow\\;`),$(`\\impliedby`,`\\DOTSB\\;\\Longleftarrow\\;`),$(`\\dddot`,`{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}`),$(`\\ddddot`,`{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}`);var ky={",":`\\dotsc`,"\\not":`\\dotsb`,"+":`\\dotsb`,"=":`\\dotsb`,"<":`\\dotsb`,">":`\\dotsb`,"-":`\\dotsb`,"*":`\\dotsb`,":":`\\dotsb`,"\\DOTSB":`\\dotsb`,"\\coprod":`\\dotsb`,"\\bigvee":`\\dotsb`,"\\bigwedge":`\\dotsb`,"\\biguplus":`\\dotsb`,"\\bigcap":`\\dotsb`,"\\bigcup":`\\dotsb`,"\\prod":`\\dotsb`,"\\sum":`\\dotsb`,"\\bigotimes":`\\dotsb`,"\\bigoplus":`\\dotsb`,"\\bigodot":`\\dotsb`,"\\bigsqcup":`\\dotsb`,"\\And":`\\dotsb`,"\\longrightarrow":`\\dotsb`,"\\Longrightarrow":`\\dotsb`,"\\longleftarrow":`\\dotsb`,"\\Longleftarrow":`\\dotsb`,"\\longleftrightarrow":`\\dotsb`,"\\Longleftrightarrow":`\\dotsb`,"\\mapsto":`\\dotsb`,"\\longmapsto":`\\dotsb`,"\\hookrightarrow":`\\dotsb`,"\\doteq":`\\dotsb`,"\\mathbin":`\\dotsb`,"\\mathrel":`\\dotsb`,"\\relbar":`\\dotsb`,"\\Relbar":`\\dotsb`,"\\xrightarrow":`\\dotsb`,"\\xleftarrow":`\\dotsb`,"\\DOTSI":`\\dotsi`,"\\int":`\\dotsi`,"\\oint":`\\dotsi`,"\\iint":`\\dotsi`,"\\iiint":`\\dotsi`,"\\iiiint":`\\dotsi`,"\\idotsint":`\\dotsi`,"\\DOTSX":`\\dotsx`},Ay=new Set([`bin`,`rel`]);$(`\\dots`,function(e){var t=`\\dotso`,n=e.expandAfterFuture().text;return n in ky?t=ky[n]:(n.slice(0,4)===`\\not`||n in mh.math&&Ay.has(mh.math[n].group))&&(t=`\\dotsb`),t});var jy={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};$(`\\dotso`,function(e){return e.future().text in jy?`\\ldots\\,`:`\\ldots`}),$(`\\dotsc`,function(e){var t=e.future().text;return t in jy&&t!==`,`?`\\ldots\\,`:`\\ldots`}),$(`\\cdots`,function(e){return e.future().text in jy?`\\@cdots\\,`:`\\@cdots`}),$(`\\dotsb`,`\\cdots`),$(`\\dotsm`,`\\cdots`),$(`\\dotsi`,`\\!\\cdots`),$(`\\dotsx`,`\\ldots\\,`),$(`\\DOTSI`,`\\relax`),$(`\\DOTSB`,`\\relax`),$(`\\DOTSX`,`\\relax`),$(`\\tmspace`,`\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax`),$(`\\,`,`\\tmspace+{3mu}{.1667em}`),$(`\\thinspace`,`\\,`),$(`\\>`,`\\mskip{4mu}`),$(`\\:`,`\\tmspace+{4mu}{.2222em}`),$(`\\medspace`,`\\:`),$(`\\;`,`\\tmspace+{5mu}{.2777em}`),$(`\\thickspace`,`\\;`),$(`\\!`,`\\tmspace-{3mu}{.1667em}`),$(`\\negthinspace`,`\\!`),$(`\\negmedspace`,`\\tmspace-{4mu}{.2222em}`),$(`\\negthickspace`,`\\tmspace-{5mu}{.277em}`),$(`\\enspace`,`\\kern.5em `),$(`\\enskip`,`\\hskip.5em\\relax`),$(`\\quad`,`\\hskip1em\\relax`),$(`\\qquad`,`\\hskip2em\\relax`),$(`\\tag`,`\\@ifstar\\tag@literal\\tag@paren`),$(`\\tag@paren`,`\\tag@literal{({#1})}`),$(`\\tag@literal`,e=>{if(e.macros.get(`\\df@tag`))throw new I(`Multiple \\tag`);return`\\gdef\\df@tag{\\text{#1}}`}),$(`\\bmod`,`\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}`),$(`\\pod`,`\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)`),$(`\\pmod`,`\\pod{{\\rm mod}\\mkern6mu#1}`),$(`\\mod`,`\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1`),$(`\\newline`,`\\\\\\relax`),$(`\\TeX`,`\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}`);var My=R(sh[`Main-Regular`][84][1]-.7*sh[`Main-Regular`][65][1]);$(`\\LaTeX`,`\\textrm{\\html@mathml{`+(`L\\kern-.36em\\raisebox{`+My+`}{\\scriptstyle A}`)+`\\kern-.15em\\TeX}{LaTeX}}`),$(`\\KaTeX`,`\\textrm{\\html@mathml{`+(`K\\kern-.17em\\raisebox{`+My+`}{\\scriptstyle A}`)+`\\kern-.15em\\TeX}{KaTeX}}`),$(`\\hspace`,`\\@ifstar\\@hspacer\\@hspace`),$(`\\@hspace`,`\\hskip #1\\relax`),$(`\\@hspacer`,`\\rule{0pt}{0pt}\\hskip #1\\relax`),$(`\\ordinarycolon`,`:`),$(`\\vcentcolon`,`\\mathrel{\\mathop\\ordinarycolon}`),$(`\\dblcolon`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}`),$(`\\coloneqq`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}`),$(`\\Coloneqq`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}`),$(`\\coloneq`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}`),$(`\\Coloneq`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}`),$(`\\eqqcolon`,`\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}`),$(`\\Eqqcolon`,`\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}`),$(`\\eqcolon`,`\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}`),$(`\\Eqcolon`,`\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}`),$(`\\colonapprox`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}`),$(`\\Colonapprox`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}`),$(`\\colonsim`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}`),$(`\\Colonsim`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}`),$(`∷`,`\\dblcolon`),$(`∹`,`\\eqcolon`),$(`≔`,`\\coloneqq`),$(`≕`,`\\eqqcolon`),$(`⩴`,`\\Coloneqq`),$(`\\ratio`,`\\vcentcolon`),$(`\\coloncolon`,`\\dblcolon`),$(`\\colonequals`,`\\coloneqq`),$(`\\coloncolonequals`,`\\Coloneqq`),$(`\\equalscolon`,`\\eqqcolon`),$(`\\equalscoloncolon`,`\\Eqqcolon`),$(`\\colonminus`,`\\coloneq`),$(`\\coloncolonminus`,`\\Coloneq`),$(`\\minuscolon`,`\\eqcolon`),$(`\\minuscoloncolon`,`\\Eqcolon`),$(`\\coloncolonapprox`,`\\Colonapprox`),$(`\\coloncolonsim`,`\\Colonsim`),$(`\\simcolon`,`\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}`),$(`\\simcoloncolon`,`\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}`),$(`\\approxcolon`,`\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}`),$(`\\approxcoloncolon`,`\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}`),$(`\\notni`,"\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),$(`\\limsup`,`\\DOTSB\\operatorname*{lim\\,sup}`),$(`\\liminf`,`\\DOTSB\\operatorname*{lim\\,inf}`),$(`\\injlim`,`\\DOTSB\\operatorname*{inj\\,lim}`),$(`\\projlim`,`\\DOTSB\\operatorname*{proj\\,lim}`),$(`\\varlimsup`,`\\DOTSB\\operatorname*{\\overline{lim}}`),$(`\\varliminf`,`\\DOTSB\\operatorname*{\\underline{lim}}`),$(`\\varinjlim`,`\\DOTSB\\operatorname*{\\underrightarrow{lim}}`),$(`\\varprojlim`,`\\DOTSB\\operatorname*{\\underleftarrow{lim}}`),$(`\\gvertneqq`,`\\html@mathml{\\@gvertneqq}{≩}`),$(`\\lvertneqq`,`\\html@mathml{\\@lvertneqq}{≨}`),$(`\\ngeqq`,`\\html@mathml{\\@ngeqq}{≱}`),$(`\\ngeqslant`,`\\html@mathml{\\@ngeqslant}{≱}`),$(`\\nleqq`,`\\html@mathml{\\@nleqq}{≰}`),$(`\\nleqslant`,`\\html@mathml{\\@nleqslant}{≰}`),$(`\\nshortmid`,`\\html@mathml{\\@nshortmid}{∤}`),$(`\\nshortparallel`,`\\html@mathml{\\@nshortparallel}{∦}`),$(`\\nsubseteqq`,`\\html@mathml{\\@nsubseteqq}{⊈}`),$(`\\nsupseteqq`,`\\html@mathml{\\@nsupseteqq}{⊉}`),$(`\\varsubsetneq`,`\\html@mathml{\\@varsubsetneq}{⊊}`),$(`\\varsubsetneqq`,`\\html@mathml{\\@varsubsetneqq}{⫋}`),$(`\\varsupsetneq`,`\\html@mathml{\\@varsupsetneq}{⊋}`),$(`\\varsupsetneqq`,`\\html@mathml{\\@varsupsetneqq}{⫌}`),$(`\\imath`,`\\html@mathml{\\@imath}{ı}`),$(`\\jmath`,`\\html@mathml{\\@jmath}{ȷ}`),$(`\\llbracket`,"\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),$(`\\rrbracket`,"\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),$(`⟦`,`\\llbracket`),$(`⟧`,`\\rrbracket`),$(`\\lBrace`,"\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),$(`\\rBrace`,"\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),$(`⦃`,`\\lBrace`),$(`⦄`,`\\rBrace`),$(`\\minuso`,"\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),$(`⦵`,`\\minuso`),$(`\\darr`,`\\downarrow`),$(`\\dArr`,`\\Downarrow`),$(`\\Darr`,`\\Downarrow`),$(`\\lang`,`\\langle`),$(`\\rang`,`\\rangle`),$(`\\uarr`,`\\uparrow`),$(`\\uArr`,`\\Uparrow`),$(`\\Uarr`,`\\Uparrow`),$(`\\N`,`\\mathbb{N}`),$(`\\R`,`\\mathbb{R}`),$(`\\Z`,`\\mathbb{Z}`),$(`\\alef`,`\\aleph`),$(`\\alefsym`,`\\aleph`),$(`\\Alpha`,`\\mathrm{A}`),$(`\\Beta`,`\\mathrm{B}`),$(`\\bull`,`\\bullet`),$(`\\Chi`,`\\mathrm{X}`),$(`\\clubs`,`\\clubsuit`),$(`\\cnums`,`\\mathbb{C}`),$(`\\Complex`,`\\mathbb{C}`),$(`\\Dagger`,`\\ddagger`),$(`\\diamonds`,`\\diamondsuit`),$(`\\empty`,`\\emptyset`),$(`\\Epsilon`,`\\mathrm{E}`),$(`\\Eta`,`\\mathrm{H}`),$(`\\exist`,`\\exists`),$(`\\harr`,`\\leftrightarrow`),$(`\\hArr`,`\\Leftrightarrow`),$(`\\Harr`,`\\Leftrightarrow`),$(`\\hearts`,`\\heartsuit`),$(`\\image`,`\\Im`),$(`\\infin`,`\\infty`),$(`\\Iota`,`\\mathrm{I}`),$(`\\isin`,`\\in`),$(`\\Kappa`,`\\mathrm{K}`),$(`\\larr`,`\\leftarrow`),$(`\\lArr`,`\\Leftarrow`),$(`\\Larr`,`\\Leftarrow`),$(`\\lrarr`,`\\leftrightarrow`),$(`\\lrArr`,`\\Leftrightarrow`),$(`\\Lrarr`,`\\Leftrightarrow`),$(`\\Mu`,`\\mathrm{M}`),$(`\\natnums`,`\\mathbb{N}`),$(`\\Nu`,`\\mathrm{N}`),$(`\\Omicron`,`\\mathrm{O}`),$(`\\plusmn`,`\\pm`),$(`\\rarr`,`\\rightarrow`),$(`\\rArr`,`\\Rightarrow`),$(`\\Rarr`,`\\Rightarrow`),$(`\\real`,`\\Re`),$(`\\reals`,`\\mathbb{R}`),$(`\\Reals`,`\\mathbb{R}`),$(`\\Rho`,`\\mathrm{P}`),$(`\\sdot`,`\\cdot`),$(`\\sect`,`\\S`),$(`\\spades`,`\\spadesuit`),$(`\\sub`,`\\subset`),$(`\\sube`,`\\subseteq`),$(`\\supe`,`\\supseteq`),$(`\\Tau`,`\\mathrm{T}`),$(`\\thetasym`,`\\vartheta`),$(`\\weierp`,`\\wp`),$(`\\Zeta`,`\\mathrm{Z}`),$(`\\argmin`,`\\DOTSB\\operatorname*{arg\\,min}`),$(`\\argmax`,`\\DOTSB\\operatorname*{arg\\,max}`),$(`\\plim`,`\\DOTSB\\mathop{\\operatorname{plim}}\\limits`),$(`\\bra`,`\\mathinner{\\langle{#1}|}`),$(`\\ket`,`\\mathinner{|{#1}\\rangle}`),$(`\\braket`,`\\mathinner{\\langle{#1}\\rangle}`),$(`\\Bra`,`\\left\\langle#1\\right|`),$(`\\Ket`,`\\left|#1\\right\\rangle`);var Ny=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,o=t.macros.get(`|`),s=t.macros.get(`\\|`);t.macros.beginGroup();var c=t=>n=>{e&&(n.macros.set(`|`,o),i.length&&n.macros.set(`\\|`,s));var a=t;return!t&&i.length&&n.future().text===`|`&&(n.popToken(),a=!0),{tokens:a?i:r,numArgs:0}};t.macros.set(`|`,c(!1)),i.length&&t.macros.set(`\\|`,c(!0));var l=t.consumeArg().tokens,u=t.expandTokens([...a,...l,...n]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};$(`\\bra@ket`,Ny(!1)),$(`\\bra@set`,Ny(!0)),$(`\\Braket`,`\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}`),$(`\\Set`,`\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}`),$(`\\set`,`\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}`),$(`\\angln`,`{\\angl n}`),$(`\\blue`,`\\textcolor{##6495ed}{#1}`),$(`\\orange`,`\\textcolor{##ffa500}{#1}`),$(`\\pink`,`\\textcolor{##ff00af}{#1}`),$(`\\red`,`\\textcolor{##df0030}{#1}`),$(`\\green`,`\\textcolor{##28ae7b}{#1}`),$(`\\gray`,`\\textcolor{gray}{#1}`),$(`\\purple`,`\\textcolor{##9d38bd}{#1}`),$(`\\blueA`,`\\textcolor{##ccfaff}{#1}`),$(`\\blueB`,`\\textcolor{##80f6ff}{#1}`),$(`\\blueC`,`\\textcolor{##63d9ea}{#1}`),$(`\\blueD`,`\\textcolor{##11accd}{#1}`),$(`\\blueE`,`\\textcolor{##0c7f99}{#1}`),$(`\\tealA`,`\\textcolor{##94fff5}{#1}`),$(`\\tealB`,`\\textcolor{##26edd5}{#1}`),$(`\\tealC`,`\\textcolor{##01d1c1}{#1}`),$(`\\tealD`,`\\textcolor{##01a995}{#1}`),$(`\\tealE`,`\\textcolor{##208170}{#1}`),$(`\\greenA`,`\\textcolor{##b6ffb0}{#1}`),$(`\\greenB`,`\\textcolor{##8af281}{#1}`),$(`\\greenC`,`\\textcolor{##74cf70}{#1}`),$(`\\greenD`,`\\textcolor{##1fab54}{#1}`),$(`\\greenE`,`\\textcolor{##0d923f}{#1}`),$(`\\goldA`,`\\textcolor{##ffd0a9}{#1}`),$(`\\goldB`,`\\textcolor{##ffbb71}{#1}`),$(`\\goldC`,`\\textcolor{##ff9c39}{#1}`),$(`\\goldD`,`\\textcolor{##e07d10}{#1}`),$(`\\goldE`,`\\textcolor{##a75a05}{#1}`),$(`\\redA`,`\\textcolor{##fca9a9}{#1}`),$(`\\redB`,`\\textcolor{##ff8482}{#1}`),$(`\\redC`,`\\textcolor{##f9685d}{#1}`),$(`\\redD`,`\\textcolor{##e84d39}{#1}`),$(`\\redE`,`\\textcolor{##bc2612}{#1}`),$(`\\maroonA`,`\\textcolor{##ffbde0}{#1}`),$(`\\maroonB`,`\\textcolor{##ff92c6}{#1}`),$(`\\maroonC`,`\\textcolor{##ed5fa6}{#1}`),$(`\\maroonD`,`\\textcolor{##ca337c}{#1}`),$(`\\maroonE`,`\\textcolor{##9e034e}{#1}`),$(`\\purpleA`,`\\textcolor{##ddd7ff}{#1}`),$(`\\purpleB`,`\\textcolor{##c6b9fc}{#1}`),$(`\\purpleC`,`\\textcolor{##aa87ff}{#1}`),$(`\\purpleD`,`\\textcolor{##7854ab}{#1}`),$(`\\purpleE`,`\\textcolor{##543b78}{#1}`),$(`\\mintA`,`\\textcolor{##f5f9e8}{#1}`),$(`\\mintB`,`\\textcolor{##edf2df}{#1}`),$(`\\mintC`,`\\textcolor{##e0e5cc}{#1}`),$(`\\grayA`,`\\textcolor{##f6f7f7}{#1}`),$(`\\grayB`,`\\textcolor{##f0f1f2}{#1}`),$(`\\grayC`,`\\textcolor{##e3e5e6}{#1}`),$(`\\grayD`,`\\textcolor{##d6d8da}{#1}`),$(`\\grayE`,`\\textcolor{##babec2}{#1}`),$(`\\grayF`,`\\textcolor{##888d93}{#1}`),$(`\\grayG`,`\\textcolor{##626569}{#1}`),$(`\\grayH`,`\\textcolor{##3b3e40}{#1}`),$(`\\grayI`,`\\textcolor{##21242c}{#1}`),$(`\\kaBlue`,`\\textcolor{##314453}{#1}`),$(`\\kaGreen`,`\\textcolor{##71B307}{#1}`);var Py={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Fy=class{constructor(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Ty(Ey,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new wy(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,n,r;if(e){if(this.consumeSpaces(),this.future().text!==`[`)return null;t=this.popToken(),{tokens:r,end:n}=this.consumeArg([`]`])}else({tokens:r,start:t,end:n}=this.consumeArg());return this.pushToken(new Tv(`EOF`,n.loc)),this.pushTokens(r),new Tv(``,wv.range(t,n))}consumeSpaces(){for(;this.future().text===` `;)this.stack.pop()}consumeArg(e){var t=[],n=e&&e.length>0;n||this.consumeSpaces();var r=this.future(),i,a=0,o=0;do{if(i=this.popToken(),t.push(i),i.text===`{`)++a;else if(i.text===`}`){if(--a,a===-1)throw new I(`Extra }`,i)}else if(i.text===`EOF`)throw new I(`Unexpected end of input in a macro argument, expected '`+(e&&n?e[o]:`}`)+`'`,i);if(e&&n){if((a===0||a===1&&e[o]===`{`)&&i.text===e[o]){if(++o,o===e.length){t.splice(-o,o);break}}else o=0}}while(a!==0||n);return r.text===`{`&&t[t.length-1].text===`}`&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:r,end:i}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new I(`The length of delimiters doesn't match the number of args!`);for(var n=t[0],r=0;r<n.length;r++){var i=this.popToken();if(n[r]!==i.text)throw new I(`Use of the macro doesn't match its definition`,i)}}for(var a=[],o=0;o<e;o++)a.push(this.consumeArg(t&&t[o+1]).tokens);return a}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new I(`Too many expansions: infinite loop or need to increase maxExpand setting`)}expandOnce(e){var t=this.popToken(),n=t.text,r=t.noexpand?null:this._getExpansion(n);if(r==null||e&&r.unexpandable){if(e&&r==null&&n[0]===`\\`&&!this.isDefined(n))throw new I(`Undefined control sequence: `+n);return this.pushToken(t),!1}this.countExpansion(1);var i=r.tokens,a=this.consumeArgs(r.numArgs,r.delimiters);if(r.numArgs){i=i.slice();for(var o=i.length-1;o>=0;--o){var s=i[o];if(s.text===`#`){if(o===0)throw new I(`Incomplete placeholder at end of macro body`,s);if(s=i[--o],s.text===`#`)i.splice(o+1,1);else if(/^[1-9]$/.test(s.text))i.splice(o,2,...a[s.text-1]);else throw new I(`Not a valid argument number`,s)}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text=`\\relax`),e}}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Tv(e)]):void 0}expandTokens(e){var t=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(this.expandOnce(!0)===!1){var r=this.stack.pop();r.treatAsRelax&&=(r.noexpand=!1,!1),t.push(r)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t&&t.map(e=>e.text).join(``)}_getExpansion(e){var t=this.macros.get(e);if(t==null)return t;if(e.length===1){var n=this.lexer.catcodes[e];if(n!=null&&n!==13)return}var r=typeof t==`function`?t(this):t;if(typeof r==`string`){var i=0;if(r.includes(`#`))for(var a=r.replace(/##/g,``);a.includes(`#`+(i+1));)++i;for(var o=new wy(r,this.settings),s=[],c=o.lex();c.text!==`EOF`;)s.push(c),c=o.lex();return s.reverse(),{tokens:s,numArgs:i}}return r}isDefined(e){return this.macros.has(e)||hy.hasOwnProperty(e)||mh.math.hasOwnProperty(e)||mh.text.hasOwnProperty(e)||Py.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return t==null?hy.hasOwnProperty(e)&&!hy[e].primitive:typeof t==`string`||typeof t==`function`||!t.unexpandable}},Iy=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Ly=Object.freeze({"₊":`+`,"₋":`-`,"₌":`=`,"₍":`(`,"₎":`)`,"₀":`0`,"₁":`1`,"₂":`2`,"₃":`3`,"₄":`4`,"₅":`5`,"₆":`6`,"₇":`7`,"₈":`8`,"₉":`9`,ₐ:`a`,ₑ:`e`,ₕ:`h`,ᵢ:`i`,ⱼ:`j`,ₖ:`k`,ₗ:`l`,ₘ:`m`,ₙ:`n`,ₒ:`o`,ₚ:`p`,ᵣ:`r`,ₛ:`s`,ₜ:`t`,ᵤ:`u`,ᵥ:`v`,ₓ:`x`,ᵦ:`β`,ᵧ:`γ`,ᵨ:`ρ`,ᵩ:`ϕ`,ᵪ:`χ`,"⁺":`+`,"⁻":`-`,"⁼":`=`,"⁽":`(`,"⁾":`)`,"⁰":`0`,"¹":`1`,"²":`2`,"³":`3`,"⁴":`4`,"⁵":`5`,"⁶":`6`,"⁷":`7`,"⁸":`8`,"⁹":`9`,ᴬ:`A`,ᴮ:`B`,ᴰ:`D`,ᴱ:`E`,ᴳ:`G`,ᴴ:`H`,ᴵ:`I`,ᴶ:`J`,ᴷ:`K`,ᴸ:`L`,ᴹ:`M`,ᴺ:`N`,ᴼ:`O`,ᴾ:`P`,ᴿ:`R`,ᵀ:`T`,ᵁ:`U`,ⱽ:`V`,ᵂ:`W`,ᵃ:`a`,ᵇ:`b`,ᶜ:`c`,ᵈ:`d`,ᵉ:`e`,ᶠ:`f`,ᵍ:`g`,ʰ:`h`,ⁱ:`i`,ʲ:`j`,ᵏ:`k`,ˡ:`l`,ᵐ:`m`,ⁿ:`n`,ᵒ:`o`,ᵖ:`p`,ʳ:`r`,ˢ:`s`,ᵗ:`t`,ᵘ:`u`,ᵛ:`v`,ʷ:`w`,ˣ:`x`,ʸ:`y`,ᶻ:`z`,ᵝ:`β`,ᵞ:`γ`,ᵟ:`δ`,ᵠ:`ϕ`,ᵡ:`χ`,ᶿ:`θ`}),Ry={"́":{text:`\\'`,math:`\\acute`},"̀":{text:"\\`",math:`\\grave`},"̈":{text:`\\"`,math:`\\ddot`},"̃":{text:`\\~`,math:`\\tilde`},"̄":{text:`\\=`,math:`\\bar`},"̆":{text:`\\u`,math:`\\breve`},"̌":{text:`\\v`,math:`\\check`},"̂":{text:`\\^`,math:`\\hat`},"̇":{text:`\\.`,math:`\\dot`},"̊":{text:`\\r`,math:`\\mathring`},"̋":{text:`\\H`},"̧":{text:`\\c`}},zy={á:`á`,à:`à`,ä:`ä`,ǟ:`ǟ`,ã:`ã`,ā:`ā`,ă:`ă`,ắ:`ắ`,ằ:`ằ`,ẵ:`ẵ`,ǎ:`ǎ`,â:`â`,ấ:`ấ`,ầ:`ầ`,ẫ:`ẫ`,ȧ:`ȧ`,ǡ:`ǡ`,å:`å`,ǻ:`ǻ`,ḃ:`ḃ`,ć:`ć`,ḉ:`ḉ`,č:`č`,ĉ:`ĉ`,ċ:`ċ`,ç:`ç`,ď:`ď`,ḋ:`ḋ`,ḑ:`ḑ`,é:`é`,è:`è`,ë:`ë`,ẽ:`ẽ`,ē:`ē`,ḗ:`ḗ`,ḕ:`ḕ`,ĕ:`ĕ`,ḝ:`ḝ`,ě:`ě`,ê:`ê`,ế:`ế`,ề:`ề`,ễ:`ễ`,ė:`ė`,ȩ:`ȩ`,ḟ:`ḟ`,ǵ:`ǵ`,ḡ:`ḡ`,ğ:`ğ`,ǧ:`ǧ`,ĝ:`ĝ`,ġ:`ġ`,ģ:`ģ`,ḧ:`ḧ`,ȟ:`ȟ`,ĥ:`ĥ`,ḣ:`ḣ`,ḩ:`ḩ`,í:`í`,ì:`ì`,ï:`ï`,ḯ:`ḯ`,ĩ:`ĩ`,ī:`ī`,ĭ:`ĭ`,ǐ:`ǐ`,î:`î`,ǰ:`ǰ`,ĵ:`ĵ`,ḱ:`ḱ`,ǩ:`ǩ`,ķ:`ķ`,ĺ:`ĺ`,ľ:`ľ`,ļ:`ļ`,ḿ:`ḿ`,ṁ:`ṁ`,ń:`ń`,ǹ:`ǹ`,ñ:`ñ`,ň:`ň`,ṅ:`ṅ`,ņ:`ņ`,ó:`ó`,ò:`ò`,ö:`ö`,ȫ:`ȫ`,õ:`õ`,ṍ:`ṍ`,ṏ:`ṏ`,ȭ:`ȭ`,ō:`ō`,ṓ:`ṓ`,ṑ:`ṑ`,ŏ:`ŏ`,ǒ:`ǒ`,ô:`ô`,ố:`ố`,ồ:`ồ`,ỗ:`ỗ`,ȯ:`ȯ`,ȱ:`ȱ`,ő:`ő`,ṕ:`ṕ`,ṗ:`ṗ`,ŕ:`ŕ`,ř:`ř`,ṙ:`ṙ`,ŗ:`ŗ`,ś:`ś`,ṥ:`ṥ`,š:`š`,ṧ:`ṧ`,ŝ:`ŝ`,ṡ:`ṡ`,ş:`ş`,ẗ:`ẗ`,ť:`ť`,ṫ:`ṫ`,ţ:`ţ`,ú:`ú`,ù:`ù`,ü:`ü`,ǘ:`ǘ`,ǜ:`ǜ`,ǖ:`ǖ`,ǚ:`ǚ`,ũ:`ũ`,ṹ:`ṹ`,ū:`ū`,ṻ:`ṻ`,ŭ:`ŭ`,ǔ:`ǔ`,û:`û`,ů:`ů`,ű:`ű`,ṽ:`ṽ`,ẃ:`ẃ`,ẁ:`ẁ`,ẅ:`ẅ`,ŵ:`ŵ`,ẇ:`ẇ`,ẘ:`ẘ`,ẍ:`ẍ`,ẋ:`ẋ`,ý:`ý`,ỳ:`ỳ`,ÿ:`ÿ`,ỹ:`ỹ`,ȳ:`ȳ`,ŷ:`ŷ`,ẏ:`ẏ`,ẙ:`ẙ`,ź:`ź`,ž:`ž`,ẑ:`ẑ`,ż:`ż`,Á:`Á`,À:`À`,Ä:`Ä`,Ǟ:`Ǟ`,Ã:`Ã`,Ā:`Ā`,Ă:`Ă`,Ắ:`Ắ`,Ằ:`Ằ`,Ẵ:`Ẵ`,Ǎ:`Ǎ`,Â:`Â`,Ấ:`Ấ`,Ầ:`Ầ`,Ẫ:`Ẫ`,Ȧ:`Ȧ`,Ǡ:`Ǡ`,Å:`Å`,Ǻ:`Ǻ`,Ḃ:`Ḃ`,Ć:`Ć`,Ḉ:`Ḉ`,Č:`Č`,Ĉ:`Ĉ`,Ċ:`Ċ`,Ç:`Ç`,Ď:`Ď`,Ḋ:`Ḋ`,Ḑ:`Ḑ`,É:`É`,È:`È`,Ë:`Ë`,Ẽ:`Ẽ`,Ē:`Ē`,Ḗ:`Ḗ`,Ḕ:`Ḕ`,Ĕ:`Ĕ`,Ḝ:`Ḝ`,Ě:`Ě`,Ê:`Ê`,Ế:`Ế`,Ề:`Ề`,Ễ:`Ễ`,Ė:`Ė`,Ȩ:`Ȩ`,Ḟ:`Ḟ`,Ǵ:`Ǵ`,Ḡ:`Ḡ`,Ğ:`Ğ`,Ǧ:`Ǧ`,Ĝ:`Ĝ`,Ġ:`Ġ`,Ģ:`Ģ`,Ḧ:`Ḧ`,Ȟ:`Ȟ`,Ĥ:`Ĥ`,Ḣ:`Ḣ`,Ḩ:`Ḩ`,Í:`Í`,Ì:`Ì`,Ï:`Ï`,Ḯ:`Ḯ`,Ĩ:`Ĩ`,Ī:`Ī`,Ĭ:`Ĭ`,Ǐ:`Ǐ`,Î:`Î`,İ:`İ`,Ĵ:`Ĵ`,Ḱ:`Ḱ`,Ǩ:`Ǩ`,Ķ:`Ķ`,Ĺ:`Ĺ`,Ľ:`Ľ`,Ļ:`Ļ`,Ḿ:`Ḿ`,Ṁ:`Ṁ`,Ń:`Ń`,Ǹ:`Ǹ`,Ñ:`Ñ`,Ň:`Ň`,Ṅ:`Ṅ`,Ņ:`Ņ`,Ó:`Ó`,Ò:`Ò`,Ö:`Ö`,Ȫ:`Ȫ`,Õ:`Õ`,Ṍ:`Ṍ`,Ṏ:`Ṏ`,Ȭ:`Ȭ`,Ō:`Ō`,Ṓ:`Ṓ`,Ṑ:`Ṑ`,Ŏ:`Ŏ`,Ǒ:`Ǒ`,Ô:`Ô`,Ố:`Ố`,Ồ:`Ồ`,Ỗ:`Ỗ`,Ȯ:`Ȯ`,Ȱ:`Ȱ`,Ő:`Ő`,Ṕ:`Ṕ`,Ṗ:`Ṗ`,Ŕ:`Ŕ`,Ř:`Ř`,Ṙ:`Ṙ`,Ŗ:`Ŗ`,Ś:`Ś`,Ṥ:`Ṥ`,Š:`Š`,Ṧ:`Ṧ`,Ŝ:`Ŝ`,Ṡ:`Ṡ`,Ş:`Ş`,Ť:`Ť`,Ṫ:`Ṫ`,Ţ:`Ţ`,Ú:`Ú`,Ù:`Ù`,Ü:`Ü`,Ǘ:`Ǘ`,Ǜ:`Ǜ`,Ǖ:`Ǖ`,Ǚ:`Ǚ`,Ũ:`Ũ`,Ṹ:`Ṹ`,Ū:`Ū`,Ṻ:`Ṻ`,Ŭ:`Ŭ`,Ǔ:`Ǔ`,Û:`Û`,Ů:`Ů`,Ű:`Ű`,Ṽ:`Ṽ`,Ẃ:`Ẃ`,Ẁ:`Ẁ`,Ẅ:`Ẅ`,Ŵ:`Ŵ`,Ẇ:`Ẇ`,Ẍ:`Ẍ`,Ẋ:`Ẋ`,Ý:`Ý`,Ỳ:`Ỳ`,Ÿ:`Ÿ`,Ỹ:`Ỹ`,Ȳ:`Ȳ`,Ŷ:`Ŷ`,Ẏ:`Ẏ`,Ź:`Ź`,Ž:`Ž`,Ẑ:`Ẑ`,Ż:`Ż`,ά:`ά`,ὰ:`ὰ`,ᾱ:`ᾱ`,ᾰ:`ᾰ`,έ:`έ`,ὲ:`ὲ`,ή:`ή`,ὴ:`ὴ`,ί:`ί`,ὶ:`ὶ`,ϊ:`ϊ`,ΐ:`ΐ`,ῒ:`ῒ`,ῑ:`ῑ`,ῐ:`ῐ`,ό:`ό`,ὸ:`ὸ`,ύ:`ύ`,ὺ:`ὺ`,ϋ:`ϋ`,ΰ:`ΰ`,ῢ:`ῢ`,ῡ:`ῡ`,ῠ:`ῠ`,ώ:`ώ`,ὼ:`ὼ`,Ύ:`Ύ`,Ὺ:`Ὺ`,Ϋ:`Ϋ`,Ῡ:`Ῡ`,Ῠ:`Ῠ`,Ώ:`Ώ`,Ὼ:`Ὼ`},By=class e{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode=`math`,this.gullet=new Fy(e,t,this.mode),this.settings=t,this.leftrightDepth=0,this.nextToken=null}expect(e,t){if(t===void 0&&(t=!0),this.fetch().text!==e)throw new I(`Expected '`+e+`', got '`+this.fetch().text+`'`,this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken??=this.gullet.expandNextToken(),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set(`\\color`,`\\textcolor`);try{var e=this.parseExpression(!1);return this.expect(`EOF`),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new Tv(`}`)),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect(`}`),this.nextToken=t,n}parseExpression(t,n){for(var r=[];;){this.mode===`math`&&this.consumeSpaces();var i=this.fetch();if(e.endOfExpression.has(i.text)||n&&i.text===n||t&&hy[i.text]&&hy[i.text].infix)break;var a=this.parseAtom(n);if(!a)break;a.type!==`internal`&&r.push(a)}return this.mode===`text`&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t=-1,n,r=0;r<e.length;r++){var i=e[r];if(i.type===`infix`){if(t!==-1)throw new I(`only one infix operator per group`,i.token);t=r,n=i.replaceWith}}if(t!==-1&&n){var a,o,s=e.slice(0,t),c=e.slice(t+1);return a=s.length===1&&s[0].type===`ordgroup`?s[0]:{type:`ordgroup`,mode:this.mode,body:s},o=c.length===1&&c[0].type===`ordgroup`?c[0]:{type:`ordgroup`,mode:this.mode,body:c},[n===`\\\\abovefrac`?this.callFunction(n,[a,e[t],o],[]):this.callFunction(n,[a,o],[])]}return e}handleSupSubscript(e){var t=this.fetch(),n=t.text;this.consume(),this.consumeSpaces();var r;do r=this.parseGroup(e);while(r?.type===`internal`);if(!r)throw new I(`Expected group after '`+n+`'`,t);return r}formatUnsupportedCmd(e){for(var t=[],n=0;n<e.length;n++)t.push({type:`textord`,mode:`text`,text:e[n]});var r={type:`text`,mode:this.mode,body:t};return{type:`color`,mode:this.mode,color:this.settings.errorColor,body:[r]}}parseAtom(e){var t=this.parseGroup(`atom`,e);if(t?.type===`internal`||this.mode===`text`)return t;for(var n,r;;){this.consumeSpaces();var i=this.fetch();if(i.text===`\\limits`||i.text===`\\nolimits`){if(t&&t.type===`op`)t.limits=i.text===`\\limits`,t.alwaysHandleSupSub=!0;else if(t&&t.type===`operatorname`)t.alwaysHandleSupSub&&(t.limits=i.text===`\\limits`);else throw new I(`Limit controls must follow a math operator`,i);this.consume()}else if(i.text===`^`){if(n)throw new I(`Double superscript`,i);n=this.handleSupSubscript(`superscript`)}else if(i.text===`_`){if(r)throw new I(`Double subscript`,i);r=this.handleSupSubscript(`subscript`)}else if(i.text===`'`){if(n)throw new I(`Double superscript`,i);var a={type:`textord`,mode:this.mode,text:`\\prime`},o=[a];for(this.consume();this.fetch().text===`'`;)o.push(a),this.consume();this.fetch().text===`^`&&o.push(this.handleSupSubscript(`superscript`)),n={type:`ordgroup`,mode:this.mode,body:o}}else if(Ly[i.text]){var s=Iy.test(i.text),c=[];for(c.push(new Tv(Ly[i.text])),this.consume();;){var l=this.fetch().text;if(!Ly[l]||Iy.test(l)!==s)break;c.unshift(new Tv(Ly[l])),this.consume()}var u=this.subparse(c);s?r={type:`ordgroup`,mode:`math`,body:u}:n={type:`ordgroup`,mode:`math`,body:u}}else break}return n&&r?{type:`supsub`,mode:this.mode,base:t,sup:n,sub:r}:n?{type:`supsub`,mode:this.mode,base:t,sup:n}:r?{type:`supsub`,mode:this.mode,base:t,sub:r}:t}parseFunction(e,t){var n=this.fetch(),r=n.text,i=hy[r];if(!i)return null;if(this.consume(),t&&t!==`atom`&&!i.allowedInArgument)throw new I(`Got function '`+r+`' with no arguments`+(t?` as `+t:``),n);if(this.mode===`text`&&!i.allowedInText)throw new I(`Can't use function '`+r+`' in text mode`,n);if(this.mode===`math`&&i.allowedInMath===!1)throw new I(`Can't use function '`+r+`' in math mode`,n);var{args:a,optArgs:o}=this.parseArguments(r,i);return this.callFunction(r,a,o,n,e)}callFunction(e,t,n,r,i){var a={funcName:e,parser:this,token:r,breakOnTokenText:i},o=hy[e];if(o&&o.handler)return o.handler(a,t,n);throw new I(`No function handler for `+e)}parseArguments(e,t){var n=t.numOptionalArgs??0,r=t.numArgs+n;if(r===0)return{args:[],optArgs:[]};for(var i=[],a=[],o=0;o<r;o++){var s=t.argTypes?.[o],c=o<n;(`primitive`in t&&t.primitive&&s==null||t.type===`sqrt`&&o===1&&a[0]==null)&&(s=`primitive`);var l=this.parseGroupOfType(`argument to '`+e+`'`,s,c);if(c)a.push(l);else if(l!=null)i.push(l);else throw new I(`Null argument, please report this as a bug`)}return{args:i,optArgs:a}}parseGroupOfType(e,t,n){switch(t){case`color`:return this.parseColorGroup(n);case`size`:return this.parseSizeGroup(n);case`url`:return this.parseUrlGroup(n);case`math`:case`text`:return this.parseArgumentGroup(n,t);case`hbox`:var r=this.parseArgumentGroup(n,`text`);return r==null?null:{type:`styling`,mode:r.mode,body:[r],style:`text`,resetFont:!0};case`raw`:var i=this.parseStringGroup(n);return i==null?null:{type:`raw`,mode:`text`,string:i.text};case`primitive`:if(n)throw new I(`A primitive argument cannot be optional`);var a=this.parseGroup(e);if(a==null)throw new I(`Expected group as `+e,this.fetch());return a;case`original`:case void 0:return this.parseArgumentGroup(n);default:throw new I(`Unknown group type as `+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===` `;)this.consume()}parseStringGroup(e){var t=this.gullet.scanArgument(e);if(t==null)return null;for(var n=``,r;(r=this.fetch()).text!==`EOF`;)n+=r.text,this.consume();return this.consume(),t.text=n,t}parseRegexGroup(e,t){for(var n=this.fetch(),r=n,i=``,a;(a=this.fetch()).text!==`EOF`&&e.test(i+a.text);)r=a,i+=r.text,this.consume();if(i===``)throw new I(`Invalid `+t+`: '`+n.text+`'`,n);return n.range(r,i)}parseColorGroup(e){var t=this.parseStringGroup(e);if(t==null)return null;var n=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new I(`Invalid color: '`+t.text+`'`,t);var r=n[0];return/^[0-9a-f]{6}$/i.test(r)&&(r=`#`+r),{type:`color-token`,mode:this.mode,color:r}}parseSizeGroup(e){var t,n=!1;if(this.gullet.consumeSpaces(),t=!e&&this.gullet.future().text!==`{`?this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,`size`):this.parseStringGroup(e),!t)return null;!e&&t.text.length===0&&(t.text=`0pt`,n=!0);var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!r)throw new I(`Invalid size: '`+t.text+`'`,t);var i={number:+(r[1]+r[2]),unit:r[3]};if(!Hm(i))throw new I(`Invalid unit: '`+i.unit+`'`,t);return{type:`size`,mode:this.mode,value:i,isBlank:n}}parseUrlGroup(e){this.gullet.lexer.setCatcode(`%`,13),this.gullet.lexer.setCatcode(`~`,12);var t=this.parseStringGroup(e);if(this.gullet.lexer.setCatcode(`%`,14),this.gullet.lexer.setCatcode(`~`,13),t==null)return null;var n=t.text.replace(/\\([#$%&~_^{}])/g,`$1`);return{type:`url`,mode:this.mode,url:n}}parseArgumentGroup(e,t){var n=this.gullet.scanArgument(e);if(n==null)return null;var r=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var i=this.parseExpression(!1,`EOF`);this.expect(`EOF`),this.gullet.endGroup();var a={type:`ordgroup`,mode:this.mode,loc:n.loc,body:i};return t&&this.switchMode(r),a}parseGroup(e,t){var n=this.fetch(),r=n.text,i;if(r===`{`||r===`\\begingroup`){this.consume();var a=r===`{`?`}`:`\\endgroup`;this.gullet.beginGroup();var o=this.parseExpression(!1,a),s=this.fetch();this.expect(a),this.gullet.endGroup(),i={type:`ordgroup`,mode:this.mode,loc:wv.range(n,s),body:o,semisimple:r===`\\begingroup`||void 0}}else if(i=this.parseFunction(t,e)||this.parseSymbol(),i==null&&r[0]===`\\`&&!Py.hasOwnProperty(r)){if(this.settings.throwOnError)throw new I(`Undefined control sequence: `+r,n);i=this.formatUnsupportedCmd(r),this.consume()}return i}formLigatures(e){for(var t=e.length-1,n=0;n<t;++n){var r=e[n];if(r.type===`textord`){var i=r.text,a=e[n+1];if(a&&a.type===`textord`){if(i===`-`&&a.text===`-`){var o=e[n+2];n+1<t&&o&&o.type===`textord`&&o.text===`-`?(e.splice(n,3,{type:`textord`,mode:`text`,loc:wv.range(r,o),text:`---`}),t-=2):(e.splice(n,2,{type:`textord`,mode:`text`,loc:wv.range(r,a),text:`--`}),--t)}(i===`'`||i==="`")&&a.text===i&&(e.splice(n,2,{type:`textord`,mode:`text`,loc:wv.range(r,a),text:i+i}),--t)}}}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var n=t.slice(5),r=n.charAt(0)===`*`;if(r&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new I(`\\verb assertion failed --
|
|
1208
|
-
please report what input caused this bug`);return n=n.slice(1,-1),{type:`verb`,mode:`text`,body:n,star:r}}zy.hasOwnProperty(t[0])&&!mh[this.mode][t[0]]&&(this.settings.strict&&this.mode===`math`&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Accented Unicode text character "`+t[0]+`" used in math mode`,e),t=zy[t[0]]+t.slice(1));var i=Sy.exec(t);i&&(t=t.substring(0,i.index),t===`i`?t=`ı`:t===`j`&&(t=`ȷ`));var a;if(mh[this.mode][t]){this.settings.strict&&this.mode===`math`&&Ih.includes(t)&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Latin-1/Unicode text character "`+t[0]+`" used in math mode`,e);var o=mh[this.mode][t].group,s=wv.range(e);a=b_(o)?{type:`atom`,mode:this.mode,family:o,loc:s,text:t}:{type:o,mode:this.mode,loc:s,text:t}}else if(t.charCodeAt(0)>=128)this.settings.strict&&(wm(t.charCodeAt(0))?this.mode===`math`&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Unicode text character "`+t[0]+`" used in math mode`,e):this.settings.reportNonstrict(`unknownSymbol`,`Unrecognized Unicode character "`+t[0]+`"`+(` (`+t.charCodeAt(0)+`)`),e)),a={type:`textord`,mode:`text`,loc:wv.range(e),text:t};else return null;if(this.consume(),i)for(var c=0;c<i[0].length;c++){var l=i[0][c];if(!Ry[l])throw new I(`Unknown accent ' `+l+`'`,e);var u=Ry[l][this.mode]||Ry[l].text;if(!u)throw new I(`Accent `+l+` unsupported in `+this.mode+` mode`,e);a={type:`accent`,mode:this.mode,loc:wv.range(e),label:u,isStretchy:!1,isShifty:!0,base:a}}return a}};By.endOfExpression=new Set([`}`,`\\endgroup`,`\\end`,`\\right`,`&`]);var Vy=function(e,t){if(!(typeof e==`string`||e instanceof String))throw TypeError(`KaTeX can only parse string typed expression`);var n=new By(e,t);delete n.gullet.macros.current[`\\df@tag`];var r=n.parse();if(delete n.gullet.macros.current[`\\current@color`],delete n.gullet.macros.current[`\\color`],n.gullet.macros.get(`\\df@tag`)){if(!t.displayMode)throw new I(`\\tag works only in display equations`);r=[{type:`tag`,mode:`text`,body:r,tag:n.subparse([new Tv(`\\df@tag`)])}]}return r},Hy=function(e,t,n){t.textContent=``;var r=Ky(e,n).toNode();t.appendChild(r)};typeof document<`u`&&document.compatMode!==`CSS1Compat`&&(typeof console<`u`&&console.warn(`Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype.`),Hy=function(){throw new I(`KaTeX doesn't work in quirks mode.`)});var Uy=function(e,t){return Ky(e,t).toMarkup()},Wy=function(e,t){return Vy(e,new im(t))},Gy=function(e,t,n){if(n.throwOnError||!(e instanceof I))throw e;var r=Y([`katex-error`],[new eh(t)]);return r.setAttribute(`title`,e.toString()),r.setAttribute(`style`,`color:`+n.errorColor),r},Ky=function(e,t){var n=new im(t);try{return u_(Vy(e,n),e,n)}catch(t){return Gy(t,e,n)}},qy={version:`0.17.0`,render:Hy,renderToString:Uy,ParseError:I,SETTINGS_SCHEMA:em,__parse:Wy,__renderToDomTree:Ky,__renderToHTMLTree:function(e,t){var n=new im(t);try{return d_(Vy(e,n),e,n)}catch(t){return Gy(t,e,n)}},__setFontMetrics:uh,__defineSymbol:z,__defineFunction:X,__defineMacro:$,__domTree:{Span:Xm,Anchor:Zm,SymbolNode:eh,SvgNode:th,PathNode:nh,LineNode:rh}},Jy={name:`Card`,extends:{name:`BaseCard`,extends:Nf,style:uu.extend({name:`card`,style:`
|
|
1209
|
-
.p-card {
|
|
1210
|
-
background: dt('card.background');
|
|
1211
|
-
color: dt('card.color');
|
|
1212
|
-
box-shadow: dt('card.shadow');
|
|
1213
|
-
border-radius: dt('card.border.radius');
|
|
1214
|
-
display: flex;
|
|
1215
|
-
flex-direction: column;
|
|
1216
|
-
}
|
|
1217
|
-
|
|
1218
|
-
.p-card-caption {
|
|
1219
|
-
display: flex;
|
|
1220
|
-
flex-direction: column;
|
|
1221
|
-
gap: dt('card.caption.gap');
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
.p-card-body {
|
|
1225
|
-
padding: dt('card.body.padding');
|
|
1226
|
-
display: flex;
|
|
1227
|
-
flex-direction: column;
|
|
1228
|
-
gap: dt('card.body.gap');
|
|
1229
|
-
}
|
|
1230
|
-
|
|
1231
|
-
.p-card-title {
|
|
1232
|
-
font-size: dt('card.title.font.size');
|
|
1233
|
-
font-weight: dt('card.title.font.weight');
|
|
1234
|
-
}
|
|
1235
|
-
|
|
1236
|
-
.p-card-subtitle {
|
|
1237
|
-
color: dt('card.subtitle.color');
|
|
1238
|
-
}
|
|
1239
|
-
`,classes:{root:`p-card p-component`,header:`p-card-header`,body:`p-card-body`,caption:`p-card-caption`,title:`p-card-title`,subtitle:`p-card-subtitle`,content:`p-card-content`,footer:`p-card-footer`}}),provide:function(){return{$pcCard:this,$parentInstance:this}}},inheritAttrs:!1};function Yy(e,t,n,r,i,a){return D(),O(`div`,N({class:e.cx(`root`)},e.ptmi(`root`)),[e.$slots.header?(D(),O(`div`,N({key:0,class:e.cx(`header`)},e.ptm(`header`)),[mi(e.$slots,`header`)],16)):M(``,!0),k(`div`,N({class:e.cx(`body`)},e.ptm(`body`)),[e.$slots.title||e.$slots.subtitle?(D(),O(`div`,N({key:0,class:e.cx(`caption`)},e.ptm(`caption`)),[e.$slots.title?(D(),O(`div`,N({key:0,class:e.cx(`title`)},e.ptm(`title`)),[mi(e.$slots,`title`)],16)):M(``,!0),e.$slots.subtitle?(D(),O(`div`,N({key:1,class:e.cx(`subtitle`)},e.ptm(`subtitle`)),[mi(e.$slots,`subtitle`)],16)):M(``,!0)],16)):M(``,!0),k(`div`,N({class:e.cx(`content`)},e.ptm(`content`)),[mi(e.$slots,`content`)],16),e.$slots.footer?(D(),O(`div`,N({key:1,class:e.cx(`footer`)},e.ptm(`footer`)),[mi(e.$slots,`footer`)],16)):M(``,!0)],16)],16)}Jy.render=Yy;var Xy=uu.extend({name:`divider`,style:`
|
|
1240
|
-
.p-divider-horizontal {
|
|
1241
|
-
display: flex;
|
|
1242
|
-
width: 100%;
|
|
1243
|
-
position: relative;
|
|
1244
|
-
align-items: center;
|
|
1245
|
-
margin: dt('divider.horizontal.margin');
|
|
1246
|
-
padding: dt('divider.horizontal.padding');
|
|
1247
|
-
}
|
|
1248
|
-
|
|
1249
|
-
.p-divider-horizontal:before {
|
|
1250
|
-
position: absolute;
|
|
1251
|
-
display: block;
|
|
1252
|
-
inset-block-start: 50%;
|
|
1253
|
-
inset-inline-start: 0;
|
|
1254
|
-
width: 100%;
|
|
1255
|
-
content: '';
|
|
1256
|
-
border-block-start: 1px solid dt('divider.border.color');
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
.p-divider-horizontal .p-divider-content {
|
|
1260
|
-
padding: dt('divider.horizontal.content.padding');
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
.p-divider-vertical {
|
|
1264
|
-
min-height: 100%;
|
|
1265
|
-
display: flex;
|
|
1266
|
-
position: relative;
|
|
1267
|
-
justify-content: center;
|
|
1268
|
-
margin: dt('divider.vertical.margin');
|
|
1269
|
-
padding: dt('divider.vertical.padding');
|
|
1270
|
-
}
|
|
1271
|
-
|
|
1272
|
-
.p-divider-vertical:before {
|
|
1273
|
-
position: absolute;
|
|
1274
|
-
display: block;
|
|
1275
|
-
inset-block-start: 0;
|
|
1276
|
-
inset-inline-start: 50%;
|
|
1277
|
-
height: 100%;
|
|
1278
|
-
content: '';
|
|
1279
|
-
border-inline-start: 1px solid dt('divider.border.color');
|
|
1280
|
-
}
|
|
1281
|
-
|
|
1282
|
-
.p-divider.p-divider-vertical .p-divider-content {
|
|
1283
|
-
padding: dt('divider.vertical.content.padding');
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
.p-divider-content {
|
|
1287
|
-
z-index: 1;
|
|
1288
|
-
background: dt('divider.content.background');
|
|
1289
|
-
color: dt('divider.content.color');
|
|
1290
|
-
}
|
|
1291
|
-
|
|
1292
|
-
.p-divider-solid.p-divider-horizontal:before {
|
|
1293
|
-
border-block-start-style: solid;
|
|
1294
|
-
}
|
|
1295
|
-
|
|
1296
|
-
.p-divider-solid.p-divider-vertical:before {
|
|
1297
|
-
border-inline-start-style: solid;
|
|
1298
|
-
}
|
|
1299
|
-
|
|
1300
|
-
.p-divider-dashed.p-divider-horizontal:before {
|
|
1301
|
-
border-block-start-style: dashed;
|
|
1302
|
-
}
|
|
1303
|
-
|
|
1304
|
-
.p-divider-dashed.p-divider-vertical:before {
|
|
1305
|
-
border-inline-start-style: dashed;
|
|
1306
|
-
}
|
|
1307
|
-
|
|
1308
|
-
.p-divider-dotted.p-divider-horizontal:before {
|
|
1309
|
-
border-block-start-style: dotted;
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
|
-
.p-divider-dotted.p-divider-vertical:before {
|
|
1313
|
-
border-inline-start-style: dotted;
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
|
-
.p-divider-left:dir(rtl),
|
|
1317
|
-
.p-divider-right:dir(rtl) {
|
|
1318
|
-
flex-direction: row-reverse;
|
|
1319
|
-
}
|
|
1320
|
-
`,classes:{root:function(e){var t=e.props;return[`p-divider p-component`,`p-divider-`+t.layout,`p-divider-`+t.type,{"p-divider-left":t.layout===`horizontal`&&(!t.align||t.align===`left`)},{"p-divider-center":t.layout===`horizontal`&&t.align===`center`},{"p-divider-right":t.layout===`horizontal`&&t.align===`right`},{"p-divider-top":t.layout===`vertical`&&t.align===`top`},{"p-divider-center":t.layout===`vertical`&&(!t.align||t.align===`center`)},{"p-divider-bottom":t.layout===`vertical`&&t.align===`bottom`}]},content:`p-divider-content`},inlineStyles:{root:function(e){var t=e.props;return{justifyContent:t.layout===`horizontal`?t.align===`center`||t.align===null?`center`:t.align===`left`?`flex-start`:t.align===`right`?`flex-end`:null:null,alignItems:t.layout===`vertical`?t.align===`center`||t.align===null?`center`:t.align===`top`?`flex-start`:t.align===`bottom`?`flex-end`:null:null}}}}),Zy={name:`BaseDivider`,extends:Nf,props:{align:{type:String,default:null},layout:{type:String,default:`horizontal`},type:{type:String,default:`solid`}},style:Xy,provide:function(){return{$pcDivider:this,$parentInstance:this}}};function Qy(e){"@babel/helpers - typeof";return Qy=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Qy(e)}function $y(e,t,n){return(t=eb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eb(e){var t=tb(e,`string`);return Qy(t)==`symbol`?t:t+``}function tb(e,t){if(Qy(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Qy(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var nb={name:`Divider`,extends:Zy,inheritAttrs:!1,computed:{dataP:function(){return wc($y($y($y({},this.align,this.align),this.layout,this.layout),this.type,this.type))}}},rb=[`aria-orientation`,`data-p`],ib=[`data-p`];function ab(e,t,n,r,i,a){return D(),O(`div`,N({class:e.cx(`root`),style:e.sx(`root`),role:`separator`,"aria-orientation":e.layout,"data-p":a.dataP},e.ptmi(`root`)),[e.$slots.default?(D(),O(`div`,N({key:0,class:e.cx(`content`),"data-p":a.dataP},e.ptm(`content`)),[mi(e.$slots,`default`)],16,ib)):M(``,!0)],16,rb)}nb.render=ab;function ob(e){"@babel/helpers - typeof";return ob=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ob(e)}function sb(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function cb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,ub(r.key),r)}}function lb(e,t,n){return t&&cb(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function ub(e){var t=db(e,`string`);return ob(t)==`symbol`?t:t+``}function db(e,t){if(ob(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ob(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return String(e)}var fb=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){};sb(this,e),this.element=t,this.listener=n}return lb(e,[{key:`bindScrollListener`,value:function(){this.scrollableParents=Zc(this.element);for(var e=0;e<this.scrollableParents.length;e++)this.scrollableParents[e].addEventListener(`scroll`,this.listener)}},{key:`unbindScrollListener`,value:function(){if(this.scrollableParents)for(var e=0;e<this.scrollableParents.length;e++)this.scrollableParents[e].removeEventListener(`scroll`,this.listener)}},{key:`destroy`,value:function(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}])}(),pb=Cc(),mb={name:`Portal`,props:{appendTo:{type:[String,Object],default:`body`},disabled:{type:Boolean,default:!1}},data:function(){return{mounted:!1}},mounted:function(){this.mounted=$c()},computed:{inline:function(){return this.disabled||this.appendTo===`self`}}};function hb(e,t,n,r,i,a){return a.inline?mi(e.$slots,`default`,{key:0}):i.mounted?(D(),Ba(gr,{key:1,to:n.appendTo},[mi(e.$slots,`default`)],8,[`to`])):M(``,!0)}mb.render=hb;var gb=uu.extend({name:`menu`,style:`
|
|
1321
|
-
.p-menu {
|
|
1322
|
-
background: dt('menu.background');
|
|
1323
|
-
color: dt('menu.color');
|
|
1324
|
-
border: 1px solid dt('menu.border.color');
|
|
1325
|
-
border-radius: dt('menu.border.radius');
|
|
1326
|
-
min-width: 12.5rem;
|
|
1327
|
-
}
|
|
1328
|
-
|
|
1329
|
-
.p-menu-list {
|
|
1330
|
-
margin: 0;
|
|
1331
|
-
padding: dt('menu.list.padding');
|
|
1332
|
-
outline: 0 none;
|
|
1333
|
-
list-style: none;
|
|
1334
|
-
display: flex;
|
|
1335
|
-
flex-direction: column;
|
|
1336
|
-
gap: dt('menu.list.gap');
|
|
1337
|
-
}
|
|
1338
|
-
|
|
1339
|
-
.p-menu-item-content {
|
|
1340
|
-
transition:
|
|
1341
|
-
background dt('menu.transition.duration'),
|
|
1342
|
-
color dt('menu.transition.duration');
|
|
1343
|
-
border-radius: dt('menu.item.border.radius');
|
|
1344
|
-
color: dt('menu.item.color');
|
|
1345
|
-
overflow: hidden;
|
|
1346
|
-
}
|
|
1347
|
-
|
|
1348
|
-
.p-menu-item-link {
|
|
1349
|
-
cursor: pointer;
|
|
1350
|
-
display: flex;
|
|
1351
|
-
align-items: center;
|
|
1352
|
-
text-decoration: none;
|
|
1353
|
-
overflow: hidden;
|
|
1354
|
-
position: relative;
|
|
1355
|
-
color: inherit;
|
|
1356
|
-
padding: dt('menu.item.padding');
|
|
1357
|
-
gap: dt('menu.item.gap');
|
|
1358
|
-
user-select: none;
|
|
1359
|
-
outline: 0 none;
|
|
1360
|
-
}
|
|
1361
|
-
|
|
1362
|
-
.p-menu-item-label {
|
|
1363
|
-
line-height: 1;
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
|
-
.p-menu-item-icon {
|
|
1367
|
-
color: dt('menu.item.icon.color');
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
.p-menu-item.p-focus .p-menu-item-content {
|
|
1371
|
-
color: dt('menu.item.focus.color');
|
|
1372
|
-
background: dt('menu.item.focus.background');
|
|
1373
|
-
}
|
|
1374
|
-
|
|
1375
|
-
.p-menu-item.p-focus .p-menu-item-icon {
|
|
1376
|
-
color: dt('menu.item.icon.focus.color');
|
|
1377
|
-
}
|
|
1378
|
-
|
|
1379
|
-
.p-menu-item:not(.p-disabled) .p-menu-item-content:hover {
|
|
1380
|
-
color: dt('menu.item.focus.color');
|
|
1381
|
-
background: dt('menu.item.focus.background');
|
|
1382
|
-
}
|
|
1383
|
-
|
|
1384
|
-
.p-menu-item:not(.p-disabled) .p-menu-item-content:hover .p-menu-item-icon {
|
|
1385
|
-
color: dt('menu.item.icon.focus.color');
|
|
1386
|
-
}
|
|
1387
|
-
|
|
1388
|
-
.p-menu-overlay {
|
|
1389
|
-
box-shadow: dt('menu.shadow');
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1392
|
-
.p-menu-submenu-label {
|
|
1393
|
-
background: dt('menu.submenu.label.background');
|
|
1394
|
-
padding: dt('menu.submenu.label.padding');
|
|
1395
|
-
color: dt('menu.submenu.label.color');
|
|
1396
|
-
font-weight: dt('menu.submenu.label.font.weight');
|
|
1397
|
-
}
|
|
1398
|
-
|
|
1399
|
-
.p-menu-separator {
|
|
1400
|
-
border-block-start: 1px solid dt('menu.separator.border.color');
|
|
1401
|
-
}
|
|
1402
|
-
`,classes:{root:function(e){return[`p-menu p-component`,{"p-menu-overlay":e.props.popup}]},start:`p-menu-start`,list:`p-menu-list`,submenuLabel:`p-menu-submenu-label`,separator:`p-menu-separator`,end:`p-menu-end`,item:function(e){var t=e.instance;return[`p-menu-item`,{"p-focus":t.id===t.focusedOptionId,"p-disabled":t.disabled()}]},itemContent:`p-menu-item-content`,itemLink:`p-menu-item-link`,itemIcon:`p-menu-item-icon`,itemLabel:`p-menu-item-label`}}),_b={name:`BaseMenu`,extends:Nf,props:{popup:{type:Boolean,default:!1},model:{type:Array,default:null},appendTo:{type:[String,Object],default:`body`},autoZIndex:{type:Boolean,default:!0},baseZIndex:{type:Number,default:0},tabindex:{type:Number,default:0},ariaLabel:{type:String,default:null},ariaLabelledby:{type:String,default:null}},style:gb,provide:function(){return{$pcMenu:this,$parentInstance:this}}},vb={name:`Menuitem`,hostName:`Menu`,extends:Nf,inheritAttrs:!1,emits:[`item-click`,`item-mousemove`],props:{item:null,templates:null,id:null,focusedOptionId:null,index:null},methods:{getItemProp:function(e,t){return e&&e.item?fc(e.item[t]):void 0},getPTOptions:function(e){return this.ptm(e,{context:{item:this.item,index:this.index,focused:this.isItemFocused(),disabled:this.disabled()}})},isItemFocused:function(){return this.focusedOptionId===this.id},onItemClick:function(e){var t=this.getItemProp(this.item,`command`);t&&t({originalEvent:e,item:this.item.item}),this.$emit(`item-click`,{originalEvent:e,item:this.item,id:this.id})},onItemMouseMove:function(e){this.$emit(`item-mousemove`,{originalEvent:e,item:this.item,id:this.id})},visible:function(){return typeof this.item.visible==`function`?this.item.visible():this.item.visible!==!1},disabled:function(){return typeof this.item.disabled==`function`?this.item.disabled():this.item.disabled},label:function(){return typeof this.item.label==`function`?this.item.label():this.item.label},getMenuItemProps:function(e){return{action:N({class:this.cx(`itemLink`),tabindex:`-1`},this.getPTOptions(`itemLink`)),icon:N({class:[this.cx(`itemIcon`),e.icon]},this.getPTOptions(`itemIcon`)),label:N({class:this.cx(`itemLabel`)},this.getPTOptions(`itemLabel`))}}},computed:{dataP:function(){return wc({focus:this.isItemFocused(),disabled:this.disabled()})}},directives:{ripple:kp}},yb=[`id`,`aria-label`,`aria-disabled`,`data-p-focused`,`data-p-disabled`,`data-p`],bb=[`data-p`],xb=[`href`,`target`],Sb=[`data-p`],Cb=[`data-p`];function wb(e,t,n,r,i,a){var o=ui(`ripple`);return a.visible()?(D(),O(`li`,N({key:0,id:n.id,class:[e.cx(`item`),n.item.class],role:`menuitem`,style:n.item.style,"aria-label":a.label(),"aria-disabled":a.disabled(),"data-p-focused":a.isItemFocused(),"data-p-disabled":a.disabled()||!1,"data-p":a.dataP},a.getPTOptions(`item`)),[k(`div`,N({class:e.cx(`itemContent`),onClick:t[0]||=function(e){return a.onItemClick(e)},onMousemove:t[1]||=function(e){return a.onItemMouseMove(e)},"data-p":a.dataP},a.getPTOptions(`itemContent`)),[n.templates.item?n.templates.item?(D(),Ba(li(n.templates.item),{key:1,item:n.item,label:a.label(),props:a.getMenuItemProps(n.item)},null,8,[`item`,`label`,`props`])):M(``,!0):Jn((D(),O(`a`,N({key:0,href:n.item.url,class:e.cx(`itemLink`),target:n.item.target,tabindex:`-1`},a.getPTOptions(`itemLink`)),[n.templates.itemicon?(D(),Ba(li(n.templates.itemicon),{key:0,item:n.item,class:be(e.cx(`itemIcon`))},null,8,[`item`,`class`])):n.item.icon?(D(),O(`span`,N({key:1,class:[e.cx(`itemIcon`),n.item.icon],"data-p":a.dataP},a.getPTOptions(`itemIcon`)),null,16,Sb)):M(``,!0),k(`span`,N({class:e.cx(`itemLabel`),"data-p":a.dataP},a.getPTOptions(`itemLabel`)),je(a.label()),17,Cb)],16,xb)),[[o]])],16,bb)],16,yb)):M(``,!0)}vb.render=wb;function Tb(e){return kb(e)||Ob(e)||Db(e)||Eb()}function Eb(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1403
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Db(e,t){if(e){if(typeof e==`string`)return Ab(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ab(e,t):void 0}}function Ob(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function kb(e){if(Array.isArray(e))return Ab(e)}function Ab(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var jb={name:`Menu`,extends:_b,inheritAttrs:!1,emits:[`show`,`hide`,`focus`,`blur`],data:function(){return{overlayVisible:!1,focused:!1,focusedOptionIndex:-1,selectedOptionIndex:-1}},target:null,outsideClickListener:null,scrollHandler:null,resizeListener:null,container:null,list:null,mounted:function(){this.popup||(this.bindResizeListener(),this.bindOutsideClickListener())},beforeUnmount:function(){this.unbindResizeListener(),this.unbindOutsideClickListener(),this.scrollHandler&&=(this.scrollHandler.destroy(),null),this.target=null,this.container&&this.autoZIndex&&al.clear(this.container),this.container=null},methods:{itemClick:function(e){var t=e.item;this.disabled(t)||(t.command&&t.command(e),this.overlayVisible&&this.hide(),!this.popup&&this.focusedOptionIndex!==e.id&&(this.focusedOptionIndex=e.id))},itemMouseMove:function(e){this.focused&&(this.focusedOptionIndex=e.id)},onListFocus:function(e){this.focused=!0,!this.popup&&this.changeFocusedOptionIndex(0),this.$emit(`focus`,e)},onListBlur:function(e){this.focused=!1,this.focusedOptionIndex=-1,this.$emit(`blur`,e)},onListKeyDown:function(e){switch(e.code){case`ArrowDown`:this.onArrowDownKey(e);break;case`ArrowUp`:this.onArrowUpKey(e);break;case`Home`:this.onHomeKey(e);break;case`End`:this.onEndKey(e);break;case`Enter`:case`NumpadEnter`:this.onEnterKey(e);break;case`Space`:this.onSpaceKey(e);break;case`Escape`:this.popup&&(Gc(this.target),this.hide());case`Tab`:this.overlayVisible&&this.hide()}},onArrowDownKey:function(e){var t=this.findNextOptionIndex(this.focusedOptionIndex);this.changeFocusedOptionIndex(t),e.preventDefault()},onArrowUpKey:function(e){if(e.altKey&&this.popup)Gc(this.target),this.hide(),e.preventDefault();else{var t=this.findPrevOptionIndex(this.focusedOptionIndex);this.changeFocusedOptionIndex(t),e.preventDefault()}},onHomeKey:function(e){this.changeFocusedOptionIndex(0),e.preventDefault()},onEndKey:function(e){this.changeFocusedOptionIndex(Uc(this.container,`li[data-pc-section="item"][data-p-disabled="false"]`).length-1),e.preventDefault()},onEnterKey:function(e){var t=Wc(this.list,`li[id="${`${this.focusedOptionIndex}`}"]`),n=t&&Wc(t,`a[data-pc-section="itemlink"]`);this.popup&&Gc(this.target),n?n.click():t&&t.click(),e.preventDefault()},onSpaceKey:function(e){this.onEnterKey(e)},findNextOptionIndex:function(e){var t=Tb(Uc(this.container,`li[data-pc-section="item"][data-p-disabled="false"]`)).findIndex(function(t){return t.id===e});return t>-1?t+1:0},findPrevOptionIndex:function(e){var t=Tb(Uc(this.container,`li[data-pc-section="item"][data-p-disabled="false"]`)).findIndex(function(t){return t.id===e});return t>-1?t-1:0},changeFocusedOptionIndex:function(e){var t=Uc(this.container,`li[data-pc-section="item"][data-p-disabled="false"]`),n=e>=t.length?t.length-1:e<0?0:e;n>-1&&(this.focusedOptionIndex=t[n].getAttribute(`id`))},toggle:function(e,t){this.overlayVisible?this.hide():this.show(e,t)},show:function(e,t){this.overlayVisible=!0,this.target=t??e.currentTarget},hide:function(){this.overlayVisible=!1,this.target=null},onEnter:function(e){Ic(e,{position:`absolute`,top:`0`}),this.alignOverlay(),this.bindOutsideClickListener(),this.bindResizeListener(),this.bindScrollListener(),this.autoZIndex&&al.set(`menu`,e,this.baseZIndex||this.$primevue.config.zIndex.menu),this.popup&&Gc(this.list),this.$emit(`show`)},onLeave:function(){this.unbindOutsideClickListener(),this.unbindResizeListener(),this.unbindScrollListener(),this.$emit(`hide`)},onAfterLeave:function(e){this.autoZIndex&&al.clear(e)},alignOverlay:function(){Fc(this.container,this.target),Lc(this.target)>Lc(this.container)&&(this.container.style.minWidth=Lc(this.target)+`px`)},bindOutsideClickListener:function(){var e=this;this.outsideClickListener||(this.outsideClickListener=function(t){var n=e.container&&!e.container.contains(t.target),r=!e.target||e.target!==t.target&&!e.target.contains(t.target);e.overlayVisible&&n&&r?e.hide():!e.popup&&n&&r&&(e.focusedOptionIndex=-1)},document.addEventListener(`click`,this.outsideClickListener,!0))},unbindOutsideClickListener:function(){this.outsideClickListener&&=(document.removeEventListener(`click`,this.outsideClickListener,!0),null)},bindScrollListener:function(){var e=this;this.scrollHandler||=new fb(this.target,function(){e.overlayVisible&&e.hide()}),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var e=this;this.resizeListener||(this.resizeListener=function(){e.overlayVisible&&!el()&&e.hide()},window.addEventListener(`resize`,this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&=(window.removeEventListener(`resize`,this.resizeListener),null)},visible:function(e){return typeof e.visible==`function`?e.visible():e.visible!==!1},disabled:function(e){return typeof e.disabled==`function`?e.disabled():e.disabled},label:function(e){return typeof e.label==`function`?e.label():e.label},onOverlayClick:function(e){pb.emit(`overlay-click`,{originalEvent:e,target:this.target})},containerRef:function(e){this.container=e},listRef:function(e){this.list=e}},computed:{focusedOptionId:function(){return this.focusedOptionIndex===-1?null:this.focusedOptionIndex},dataP:function(){return wc({popup:this.popup})}},components:{PVMenuitem:vb,Portal:mb}},Mb=[`id`,`data-p`],Nb=[`id`,`tabindex`,`aria-activedescendant`,`aria-label`,`aria-labelledby`],Pb=[`id`];function Fb(e,t,n,r,i,a){var o=si(`PVMenuitem`),s=si(`Portal`);return D(),Ba(s,{appendTo:e.appendTo,disabled:!e.popup},{default:qn(function(){return[A(Po,N({name:`p-anchored-overlay`,onEnter:a.onEnter,onLeave:a.onLeave,onAfterLeave:a.onAfterLeave},e.ptm(`transition`)),{default:qn(function(){return[!e.popup||i.overlayVisible?(D(),O(`div`,N({key:0,ref:a.containerRef,id:e.$id,class:e.cx(`root`),onClick:t[3]||=function(){return a.onOverlayClick&&a.onOverlayClick.apply(a,arguments)},"data-p":a.dataP},e.ptmi(`root`)),[e.$slots.start?(D(),O(`div`,N({key:0,class:e.cx(`start`)},e.ptm(`start`)),[mi(e.$slots,`start`)],16)):M(``,!0),k(`ul`,N({ref:a.listRef,id:e.$id+`_list`,class:e.cx(`list`),role:`menu`,tabindex:e.tabindex,"aria-activedescendant":i.focused?a.focusedOptionId:void 0,"aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabelledby,onFocus:t[0]||=function(){return a.onListFocus&&a.onListFocus.apply(a,arguments)},onBlur:t[1]||=function(){return a.onListBlur&&a.onListBlur.apply(a,arguments)},onKeydown:t[2]||=function(){return a.onListKeyDown&&a.onListKeyDown.apply(a,arguments)}},e.ptm(`list`)),[(D(!0),O(E,null,pi(e.model,function(t,n){return D(),O(E,{key:a.label(t)+n.toString()},[t.items&&a.visible(t)&&!t.separator?(D(),O(E,{key:0},[t.items?(D(),O(`li`,N({key:0,id:e.$id+`_`+n,class:[e.cx(`submenuLabel`),t.class],role:`none`},{ref_for:!0},e.ptm(`submenuLabel`)),[mi(e.$slots,e.$slots.submenulabel?`submenulabel`:`submenuheader`,{item:t},function(){return[j(je(a.label(t)),1)]})],16,Pb)):M(``,!0),(D(!0),O(E,null,pi(t.items,function(r,i){return D(),O(E,{key:r.label+n+`_`+i},[a.visible(r)&&!r.separator?(D(),Ba(o,{key:0,id:e.$id+`_`+n+`_`+i,item:r,templates:e.$slots,focusedOptionId:a.focusedOptionId,unstyled:e.unstyled,onItemClick:a.itemClick,onItemMousemove:a.itemMouseMove,pt:e.pt},null,8,[`id`,`item`,`templates`,`focusedOptionId`,`unstyled`,`onItemClick`,`onItemMousemove`,`pt`])):a.visible(r)&&r.separator?(D(),O(`li`,N({key:`separator`+n+i,class:[e.cx(`separator`),t.class],style:r.style,role:`separator`},{ref_for:!0},e.ptm(`separator`)),null,16)):M(``,!0)],64)}),128))],64)):a.visible(t)&&t.separator?(D(),O(`li`,N({key:`separator`+n.toString(),class:[e.cx(`separator`),t.class],style:t.style,role:`separator`},{ref_for:!0},e.ptm(`separator`)),null,16)):(D(),Ba(o,{key:a.label(t)+n.toString(),id:e.$id+`_`+n,item:t,index:n,templates:e.$slots,focusedOptionId:a.focusedOptionId,unstyled:e.unstyled,onItemClick:a.itemClick,onItemMousemove:a.itemMouseMove,pt:e.pt},null,8,[`id`,`item`,`index`,`templates`,`focusedOptionId`,`unstyled`,`onItemClick`,`onItemMousemove`,`pt`]))],64)}),128))],16,Nb),e.$slots.end?(D(),O(`div`,N({key:1,class:e.cx(`end`)},e.ptm(`end`)),[mi(e.$slots,`end`)],16)):M(``,!0)],16,Mb)):M(``,!0)]}),_:3},16,[`onEnter`,`onLeave`,`onAfterLeave`])]}),_:3},8,[`appendTo`,`disabled`])}jb.render=Fb;var Ib=uu.extend({name:`tab`,classes:{root:function(e){var t=e.instance,n=e.props;return[`p-tab`,{"p-tab-active":t.active,"p-disabled":n.disabled}]}}}),Lb={name:`Tab`,extends:{name:`BaseTab`,extends:Nf,props:{value:{type:[String,Number],default:void 0},disabled:{type:Boolean,default:!1},as:{type:[String,Object],default:`BUTTON`},asChild:{type:Boolean,default:!1}},style:Ib,provide:function(){return{$pcTab:this,$parentInstance:this}}},inheritAttrs:!1,inject:[`$pcTabs`,`$pcTabList`],methods:{onFocus:function(){this.$pcTabs.selectOnFocus&&this.changeActiveValue()},onClick:function(){this.changeActiveValue()},onKeydown:function(e){switch(e.code){case`ArrowRight`:this.onArrowRightKey(e);break;case`ArrowLeft`:this.onArrowLeftKey(e);break;case`Home`:this.onHomeKey(e);break;case`End`:this.onEndKey(e);break;case`PageDown`:this.onPageDownKey(e);break;case`PageUp`:this.onPageUpKey(e);break;case`Enter`:case`NumpadEnter`:case`Space`:this.onEnterKey(e)}},onArrowRightKey:function(e){var t=this.findNextTab(e.currentTarget);t?this.changeFocusedTab(e,t):this.onHomeKey(e),e.preventDefault()},onArrowLeftKey:function(e){var t=this.findPrevTab(e.currentTarget);t?this.changeFocusedTab(e,t):this.onEndKey(e),e.preventDefault()},onHomeKey:function(e){var t=this.findFirstTab();this.changeFocusedTab(e,t),e.preventDefault()},onEndKey:function(e){var t=this.findLastTab();this.changeFocusedTab(e,t),e.preventDefault()},onPageDownKey:function(e){this.scrollInView(this.findLastTab()),e.preventDefault()},onPageUpKey:function(e){this.scrollInView(this.findFirstTab()),e.preventDefault()},onEnterKey:function(e){this.changeActiveValue()},findNextTab:function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1]?e:e.nextElementSibling;return t?Kc(t,`data-p-disabled`)||Kc(t,`data-pc-section`)===`activebar`?this.findNextTab(t):Wc(t,`[data-pc-name="tab"]`):null},findPrevTab:function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1]?e:e.previousElementSibling;return t?Kc(t,`data-p-disabled`)||Kc(t,`data-pc-section`)===`activebar`?this.findPrevTab(t):Wc(t,`[data-pc-name="tab"]`):null},findFirstTab:function(){return this.findNextTab(this.$pcTabList.$refs.tabs.firstElementChild,!0)},findLastTab:function(){return this.findPrevTab(this.$pcTabList.$refs.tabs.lastElementChild,!0)},changeActiveValue:function(){this.$pcTabs.updateValue(this.value)},changeFocusedTab:function(e,t){Gc(t),this.scrollInView(t)},scrollInView:function(e){var t;e==null||(t=e.scrollIntoView)==null||t.call(e,{block:`nearest`})}},computed:{active:function(){return cc(this.$pcTabs?.d_value,this.value)},id:function(){return`${this.$pcTabs?.$id}_tab_${this.value}`},ariaControls:function(){return`${this.$pcTabs?.$id}_tabpanel_${this.value}`},attrs:function(){return N(this.asAttrs,this.a11yAttrs,this.ptmi(`root`,this.ptParams))},asAttrs:function(){return this.as===`BUTTON`?{type:`button`,disabled:this.disabled}:void 0},a11yAttrs:function(){return{id:this.id,tabindex:this.active?this.$pcTabs.tabindex:-1,role:`tab`,"aria-selected":this.active,"aria-controls":this.ariaControls,"data-pc-name":`tab`,"data-p-disabled":this.disabled,"data-p-active":this.active,onFocus:this.onFocus,onKeydown:this.onKeydown}},ptParams:function(){return{context:{active:this.active}}},dataP:function(){return wc({active:this.active})}},directives:{ripple:kp}};function Rb(e,t,n,r,i,a){var o=ui(`ripple`);return e.asChild?mi(e.$slots,`default`,{key:1,dataP:a.dataP,class:be(e.cx(`root`)),active:a.active,a11yAttrs:a.a11yAttrs,onClick:a.onClick}):Jn((D(),Ba(li(e.as),N({key:0,class:e.cx(`root`),"data-p":a.dataP,onClick:a.onClick},a.attrs),{default:qn(function(){return[mi(e.$slots,`default`)]}),_:3},16,[`class`,`data-p`,`onClick`])),[[o]])}Lb.render=Rb;var zb={name:`ChevronLeftIcon`,extends:Vf};function Bb(e){return Wb(e)||Ub(e)||Hb(e)||Vb()}function Vb(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1404
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hb(e,t){if(e){if(typeof e==`string`)return Gb(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gb(e,t):void 0}}function Ub(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function Wb(e){if(Array.isArray(e))return Gb(e)}function Gb(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Kb(e,t,n,r,i,a){return D(),O(`svg`,N({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e.pti()),Bb(t[0]||=[k(`path`,{d:`M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z`,fill:`currentColor`},null,-1)]),16)}zb.render=Kb;var qb={name:`ChevronRightIcon`,extends:Vf};function Jb(e){return Qb(e)||Zb(e)||Xb(e)||Yb()}function Yb(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1405
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xb(e,t){if(e){if(typeof e==`string`)return $b(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$b(e,t):void 0}}function Zb(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function Qb(e){if(Array.isArray(e))return $b(e)}function $b(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ex(e,t,n,r,i,a){return D(),O(`svg`,N({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e.pti()),Jb(t[0]||=[k(`path`,{d:`M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z`,fill:`currentColor`},null,-1)]),16)}qb.render=ex;var tx={name:`TabList`,extends:{name:`BaseTabList`,extends:Nf,props:{},style:uu.extend({name:`tablist`,classes:{root:`p-tablist`,content:`p-tablist-content p-tablist-viewport`,tabList:`p-tablist-tab-list`,activeBar:`p-tablist-active-bar`,prevButton:`p-tablist-prev-button p-tablist-nav-button`,nextButton:`p-tablist-next-button p-tablist-nav-button`}}),provide:function(){return{$pcTabList:this,$parentInstance:this}}},inheritAttrs:!1,inject:[`$pcTabs`],data:function(){return{isPrevButtonEnabled:!1,isNextButtonEnabled:!0}},resizeObserver:void 0,inkBarObserver:void 0,watch:{showNavigators:function(e){e?this.bindResizeObserver():this.unbindResizeObserver()},activeValue:{flush:`post`,handler:function(){this.updateInkBar(),this.bindInkBarObserver()}}},mounted:function(){var e=this;setTimeout(function(){e.updateInkBar(),e.bindInkBarObserver()},150),this.showNavigators&&(this.updateButtonState(),this.bindResizeObserver())},updated:function(){this.showNavigators&&this.updateButtonState()},beforeUnmount:function(){this.unbindResizeObserver(),this.unbindInkBarObserver()},methods:{onScroll:function(e){this.showNavigators&&this.updateButtonState(),e.preventDefault()},onPrevButtonClick:function(){var e=this.$refs.content,t=this.getVisibleButtonWidths(),n=Qc(e)-t,r=Math.abs(e.scrollLeft)-n*.8,i=Math.max(r,0);e.scrollLeft=Pc(e)?-1*i:i},onNextButtonClick:function(){var e=this.$refs.content,t=this.getVisibleButtonWidths(),n=Qc(e)-t,r=Math.abs(e.scrollLeft)+n*.8,i=e.scrollWidth-n,a=Math.min(r,i);e.scrollLeft=Pc(e)?-1*a:a},bindResizeObserver:function(){var e=this;this.resizeObserver=new ResizeObserver(function(){return e.updateButtonState()}),this.resizeObserver.observe(this.$refs.list)},unbindResizeObserver:function(){var e;(e=this.resizeObserver)==null||e.unobserve(this.$refs.list),this.resizeObserver=void 0},bindInkBarObserver:function(){var e=this;this.unbindInkBarObserver();var t=this.$refs.content,n=Wc(t,`[data-pc-name="tab"][data-p-active="true"]`);n&&(this.inkBarObserver=new ResizeObserver(function(){return e.updateInkBar()}),this.inkBarObserver.observe(n))},unbindInkBarObserver:function(){var e;(e=this.inkBarObserver)==null||e.disconnect(),this.inkBarObserver=void 0},updateInkBar:function(){var e=this.$refs,t=e.content,n=e.inkbar,r=e.tabs;if(n){var i=Wc(t,`[data-pc-name="tab"][data-p-active="true"]`);this.$pcTabs.isVertical()?(n.style.height=Yc(i)+`px`,n.style.top=Jc(i).top-Jc(r).top+`px`):(n.style.width=Lc(i)+`px`,n.style.left=Jc(i).left-Jc(r).left+`px`)}},updateButtonState:function(){var e=this.$refs,t=e.list,n=e.content,r=n.scrollTop,i=n.scrollWidth,a=n.scrollHeight,o=n.offsetWidth,s=n.offsetHeight,c=Math.abs(n.scrollLeft),l=[Qc(n),qc(n)],u=l[0],d=l[1];this.$pcTabs.isVertical()?(this.isPrevButtonEnabled=r!==0,this.isNextButtonEnabled=t.offsetHeight>=s&&parseInt(r)!==a-d):(this.isPrevButtonEnabled=c!==0,this.isNextButtonEnabled=t.offsetWidth>=o&&parseInt(c)!==i-u)},getVisibleButtonWidths:function(){var e=this.$refs,t=e.prevButton,n=e.nextButton,r=0;return this.showNavigators&&(r=(t?.offsetWidth||0)+(n?.offsetWidth||0)),r}},computed:{templates:function(){return this.$pcTabs.$slots},activeValue:function(){return this.$pcTabs.d_value},showNavigators:function(){return this.$pcTabs.showNavigators},prevButtonAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.previous:void 0},nextButtonAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.next:void 0},dataP:function(){return wc({scrollable:this.$pcTabs.scrollable})}},components:{ChevronLeftIcon:zb,ChevronRightIcon:qb},directives:{ripple:kp}},nx=[`data-p`],rx=[`aria-label`,`tabindex`],ix=[`data-p`],ax=[`aria-orientation`],ox=[`aria-label`,`tabindex`];function sx(e,t,n,r,i,a){var o=ui(`ripple`);return D(),O(`div`,N({ref:`list`,class:e.cx(`root`),"data-p":a.dataP},e.ptmi(`root`)),[a.showNavigators&&i.isPrevButtonEnabled?Jn((D(),O(`button`,N({key:0,ref:`prevButton`,type:`button`,class:e.cx(`prevButton`),"aria-label":a.prevButtonAriaLabel,tabindex:a.$pcTabs.tabindex,onClick:t[0]||=function(){return a.onPrevButtonClick&&a.onPrevButtonClick.apply(a,arguments)}},e.ptm(`prevButton`),{"data-pc-group-section":`navigator`}),[(D(),Ba(li(a.templates.previcon||`ChevronLeftIcon`),N({"aria-hidden":`true`},e.ptm(`prevIcon`)),null,16))],16,rx)),[[o]]):M(``,!0),k(`div`,N({ref:`content`,class:e.cx(`content`),onScroll:t[1]||=function(){return a.onScroll&&a.onScroll.apply(a,arguments)},"data-p":a.dataP},e.ptm(`content`)),[k(`div`,N({ref:`tabs`,class:e.cx(`tabList`),role:`tablist`,"aria-orientation":a.$pcTabs.orientation||`horizontal`},e.ptm(`tabList`)),[mi(e.$slots,`default`),k(`span`,N({ref:`inkbar`,class:e.cx(`activeBar`),role:`presentation`,"aria-hidden":`true`},e.ptm(`activeBar`)),null,16)],16,ax)],16,ix),a.showNavigators&&i.isNextButtonEnabled?Jn((D(),O(`button`,N({key:1,ref:`nextButton`,type:`button`,class:e.cx(`nextButton`),"aria-label":a.nextButtonAriaLabel,tabindex:a.$pcTabs.tabindex,onClick:t[2]||=function(){return a.onNextButtonClick&&a.onNextButtonClick.apply(a,arguments)}},e.ptm(`nextButton`),{"data-pc-group-section":`navigator`}),[(D(),Ba(li(a.templates.nexticon||`ChevronRightIcon`),N({"aria-hidden":`true`},e.ptm(`nextIcon`)),null,16))],16,ox)),[[o]]):M(``,!0)],16,nx)}tx.render=sx;var cx=uu.extend({name:`tabpanel`,classes:{root:function(e){return[`p-tabpanel`,{"p-tabpanel-active":e.instance.active}]}}}),lx={name:`TabPanel`,extends:{name:`BaseTabPanel`,extends:Nf,props:{value:{type:[String,Number],default:void 0},as:{type:[String,Object],default:`DIV`},asChild:{type:Boolean,default:!1},header:null,headerStyle:null,headerClass:null,headerProps:null,headerActionProps:null,contentStyle:null,contentClass:null,contentProps:null,disabled:Boolean},style:cx,provide:function(){return{$pcTabPanel:this,$parentInstance:this}}},inheritAttrs:!1,inject:[`$pcTabs`],computed:{active:function(){return cc(this.$pcTabs?.d_value,this.value)},id:function(){return`${this.$pcTabs?.$id}_tabpanel_${this.value}`},ariaLabelledby:function(){return`${this.$pcTabs?.$id}_tab_${this.value}`},attrs:function(){return N(this.a11yAttrs,this.ptmi(`root`,this.ptParams))},a11yAttrs:function(){return{id:this.id,tabindex:this.$pcTabs?.tabindex,role:`tabpanel`,"aria-labelledby":this.ariaLabelledby,"data-pc-name":`tabpanel`,"data-p-active":this.active}},ptParams:function(){return{context:{active:this.active}}}}};function ux(e,t,n,r,i,a){var o,s;return a.$pcTabs?(D(),O(E,{key:1},[e.asChild?mi(e.$slots,`default`,{key:1,class:be(e.cx(`root`)),active:a.active,a11yAttrs:a.a11yAttrs}):(D(),O(E,{key:0},[!((o=a.$pcTabs)!=null&&o.lazy)||a.active?Jn((D(),Ba(li(e.as),N({key:0,class:e.cx(`root`)},a.attrs),{default:qn(function(){return[mi(e.$slots,`default`)]}),_:3},16,[`class`])),[[Qo,(s=a.$pcTabs)!=null&&s.lazy?!0:a.active]]):M(``,!0)],64))],64)):mi(e.$slots,`default`,{key:0})}lx.render=ux;var dx={name:`TabPanels`,extends:{name:`BaseTabPanels`,extends:Nf,props:{},style:uu.extend({name:`tabpanels`,classes:{root:`p-tabpanels`}}),provide:function(){return{$pcTabPanels:this,$parentInstance:this}}},inheritAttrs:!1};function fx(e,t,n,r,i,a){return D(),O(`div`,N({class:e.cx(`root`),role:`presentation`},e.ptmi(`root`)),[mi(e.$slots,`default`)],16)}dx.render=fx;var px=uu.extend({name:`tabs`,style:`
|
|
1406
|
-
.p-tabs {
|
|
1407
|
-
display: flex;
|
|
1408
|
-
flex-direction: column;
|
|
1409
|
-
}
|
|
1410
|
-
|
|
1411
|
-
.p-tablist {
|
|
1412
|
-
display: flex;
|
|
1413
|
-
position: relative;
|
|
1414
|
-
overflow: hidden;
|
|
1415
|
-
background: dt('tabs.tablist.background');
|
|
1416
|
-
}
|
|
1417
|
-
|
|
1418
|
-
.p-tablist-viewport {
|
|
1419
|
-
overflow-x: auto;
|
|
1420
|
-
overflow-y: hidden;
|
|
1421
|
-
scroll-behavior: smooth;
|
|
1422
|
-
scrollbar-width: none;
|
|
1423
|
-
overscroll-behavior: contain auto;
|
|
1424
|
-
}
|
|
1425
|
-
|
|
1426
|
-
.p-tablist-viewport::-webkit-scrollbar {
|
|
1427
|
-
display: none;
|
|
1428
|
-
}
|
|
1429
|
-
|
|
1430
|
-
.p-tablist-tab-list {
|
|
1431
|
-
position: relative;
|
|
1432
|
-
display: flex;
|
|
1433
|
-
border-style: solid;
|
|
1434
|
-
border-color: dt('tabs.tablist.border.color');
|
|
1435
|
-
border-width: dt('tabs.tablist.border.width');
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
|
-
.p-tablist-content {
|
|
1439
|
-
flex-grow: 1;
|
|
1440
|
-
}
|
|
1441
|
-
|
|
1442
|
-
.p-tablist-nav-button {
|
|
1443
|
-
all: unset;
|
|
1444
|
-
position: absolute !important;
|
|
1445
|
-
flex-shrink: 0;
|
|
1446
|
-
inset-block-start: 0;
|
|
1447
|
-
z-index: 2;
|
|
1448
|
-
height: 100%;
|
|
1449
|
-
display: flex;
|
|
1450
|
-
align-items: center;
|
|
1451
|
-
justify-content: center;
|
|
1452
|
-
background: dt('tabs.nav.button.background');
|
|
1453
|
-
color: dt('tabs.nav.button.color');
|
|
1454
|
-
width: dt('tabs.nav.button.width');
|
|
1455
|
-
transition:
|
|
1456
|
-
color dt('tabs.transition.duration'),
|
|
1457
|
-
outline-color dt('tabs.transition.duration'),
|
|
1458
|
-
box-shadow dt('tabs.transition.duration');
|
|
1459
|
-
box-shadow: dt('tabs.nav.button.shadow');
|
|
1460
|
-
outline-color: transparent;
|
|
1461
|
-
cursor: pointer;
|
|
1462
|
-
}
|
|
1463
|
-
|
|
1464
|
-
.p-tablist-nav-button:focus-visible {
|
|
1465
|
-
z-index: 1;
|
|
1466
|
-
box-shadow: dt('tabs.nav.button.focus.ring.shadow');
|
|
1467
|
-
outline: dt('tabs.nav.button.focus.ring.width') dt('tabs.nav.button.focus.ring.style') dt('tabs.nav.button.focus.ring.color');
|
|
1468
|
-
outline-offset: dt('tabs.nav.button.focus.ring.offset');
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
|
-
.p-tablist-nav-button:hover {
|
|
1472
|
-
color: dt('tabs.nav.button.hover.color');
|
|
1473
|
-
}
|
|
1474
|
-
|
|
1475
|
-
.p-tablist-prev-button {
|
|
1476
|
-
inset-inline-start: 0;
|
|
1477
|
-
}
|
|
1478
|
-
|
|
1479
|
-
.p-tablist-next-button {
|
|
1480
|
-
inset-inline-end: 0;
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
.p-tablist-prev-button:dir(rtl),
|
|
1484
|
-
.p-tablist-next-button:dir(rtl) {
|
|
1485
|
-
transform: rotate(180deg);
|
|
1486
|
-
}
|
|
1487
|
-
|
|
1488
|
-
.p-tab {
|
|
1489
|
-
flex-shrink: 0;
|
|
1490
|
-
cursor: pointer;
|
|
1491
|
-
user-select: none;
|
|
1492
|
-
position: relative;
|
|
1493
|
-
border-style: solid;
|
|
1494
|
-
white-space: nowrap;
|
|
1495
|
-
gap: dt('tabs.tab.gap');
|
|
1496
|
-
background: dt('tabs.tab.background');
|
|
1497
|
-
border-width: dt('tabs.tab.border.width');
|
|
1498
|
-
border-color: dt('tabs.tab.border.color');
|
|
1499
|
-
color: dt('tabs.tab.color');
|
|
1500
|
-
padding: dt('tabs.tab.padding');
|
|
1501
|
-
font-weight: dt('tabs.tab.font.weight');
|
|
1502
|
-
transition:
|
|
1503
|
-
background dt('tabs.transition.duration'),
|
|
1504
|
-
border-color dt('tabs.transition.duration'),
|
|
1505
|
-
color dt('tabs.transition.duration'),
|
|
1506
|
-
outline-color dt('tabs.transition.duration'),
|
|
1507
|
-
box-shadow dt('tabs.transition.duration');
|
|
1508
|
-
margin: dt('tabs.tab.margin');
|
|
1509
|
-
outline-color: transparent;
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
|
-
.p-tab:not(.p-disabled):focus-visible {
|
|
1513
|
-
z-index: 1;
|
|
1514
|
-
box-shadow: dt('tabs.tab.focus.ring.shadow');
|
|
1515
|
-
outline: dt('tabs.tab.focus.ring.width') dt('tabs.tab.focus.ring.style') dt('tabs.tab.focus.ring.color');
|
|
1516
|
-
outline-offset: dt('tabs.tab.focus.ring.offset');
|
|
1517
|
-
}
|
|
1518
|
-
|
|
1519
|
-
.p-tab:not(.p-tab-active):not(.p-disabled):hover {
|
|
1520
|
-
background: dt('tabs.tab.hover.background');
|
|
1521
|
-
border-color: dt('tabs.tab.hover.border.color');
|
|
1522
|
-
color: dt('tabs.tab.hover.color');
|
|
1523
|
-
}
|
|
1524
|
-
|
|
1525
|
-
.p-tab-active {
|
|
1526
|
-
background: dt('tabs.tab.active.background');
|
|
1527
|
-
border-color: dt('tabs.tab.active.border.color');
|
|
1528
|
-
color: dt('tabs.tab.active.color');
|
|
1529
|
-
}
|
|
1530
|
-
|
|
1531
|
-
.p-tabpanels {
|
|
1532
|
-
background: dt('tabs.tabpanel.background');
|
|
1533
|
-
color: dt('tabs.tabpanel.color');
|
|
1534
|
-
padding: dt('tabs.tabpanel.padding');
|
|
1535
|
-
outline: 0 none;
|
|
1536
|
-
}
|
|
1537
|
-
|
|
1538
|
-
.p-tabpanel:focus-visible {
|
|
1539
|
-
box-shadow: dt('tabs.tabpanel.focus.ring.shadow');
|
|
1540
|
-
outline: dt('tabs.tabpanel.focus.ring.width') dt('tabs.tabpanel.focus.ring.style') dt('tabs.tabpanel.focus.ring.color');
|
|
1541
|
-
outline-offset: dt('tabs.tabpanel.focus.ring.offset');
|
|
1542
|
-
}
|
|
1543
|
-
|
|
1544
|
-
.p-tablist-active-bar {
|
|
1545
|
-
z-index: 1;
|
|
1546
|
-
display: block;
|
|
1547
|
-
position: absolute;
|
|
1548
|
-
inset-block-end: dt('tabs.active.bar.bottom');
|
|
1549
|
-
height: dt('tabs.active.bar.height');
|
|
1550
|
-
background: dt('tabs.active.bar.background');
|
|
1551
|
-
transition: 250ms cubic-bezier(0.35, 0, 0.25, 1);
|
|
1552
|
-
}
|
|
1553
|
-
`,classes:{root:function(e){return[`p-tabs p-component`,{"p-tabs-scrollable":e.props.scrollable}]}}}),mx={name:`Tabs`,extends:{name:`BaseTabs`,extends:Nf,props:{value:{type:[String,Number],default:void 0},lazy:{type:Boolean,default:!1},scrollable:{type:Boolean,default:!1},showNavigators:{type:Boolean,default:!0},tabindex:{type:Number,default:0},selectOnFocus:{type:Boolean,default:!1}},style:px,provide:function(){return{$pcTabs:this,$parentInstance:this}}},inheritAttrs:!1,emits:[`update:value`],data:function(){return{d_value:this.value}},watch:{value:function(e){this.d_value=e}},methods:{updateValue:function(e){this.d_value!==e&&(this.d_value=e,this.$emit(`update:value`,e))},isVertical:function(){return this.orientation===`vertical`}}};function hx(e,t,n,r,i,a){return D(),O(`div`,N({class:e.cx(`root`)},e.ptmi(`root`)),[mi(e.$slots,`default`)],16)}mx.render=hx;var gx=uu.extend({name:`tag`,style:`
|
|
1554
|
-
.p-tag {
|
|
1555
|
-
display: inline-flex;
|
|
1556
|
-
align-items: center;
|
|
1557
|
-
justify-content: center;
|
|
1558
|
-
background: dt('tag.primary.background');
|
|
1559
|
-
color: dt('tag.primary.color');
|
|
1560
|
-
font-size: dt('tag.font.size');
|
|
1561
|
-
font-weight: dt('tag.font.weight');
|
|
1562
|
-
padding: dt('tag.padding');
|
|
1563
|
-
border-radius: dt('tag.border.radius');
|
|
1564
|
-
gap: dt('tag.gap');
|
|
1565
|
-
}
|
|
1566
|
-
|
|
1567
|
-
.p-tag-icon {
|
|
1568
|
-
font-size: dt('tag.icon.size');
|
|
1569
|
-
width: dt('tag.icon.size');
|
|
1570
|
-
height: dt('tag.icon.size');
|
|
1571
|
-
}
|
|
1572
|
-
|
|
1573
|
-
.p-tag-rounded {
|
|
1574
|
-
border-radius: dt('tag.rounded.border.radius');
|
|
1575
|
-
}
|
|
1576
|
-
|
|
1577
|
-
.p-tag-success {
|
|
1578
|
-
background: dt('tag.success.background');
|
|
1579
|
-
color: dt('tag.success.color');
|
|
1580
|
-
}
|
|
1581
|
-
|
|
1582
|
-
.p-tag-info {
|
|
1583
|
-
background: dt('tag.info.background');
|
|
1584
|
-
color: dt('tag.info.color');
|
|
1585
|
-
}
|
|
1586
|
-
|
|
1587
|
-
.p-tag-warn {
|
|
1588
|
-
background: dt('tag.warn.background');
|
|
1589
|
-
color: dt('tag.warn.color');
|
|
1590
|
-
}
|
|
1591
|
-
|
|
1592
|
-
.p-tag-danger {
|
|
1593
|
-
background: dt('tag.danger.background');
|
|
1594
|
-
color: dt('tag.danger.color');
|
|
1595
|
-
}
|
|
1596
|
-
|
|
1597
|
-
.p-tag-secondary {
|
|
1598
|
-
background: dt('tag.secondary.background');
|
|
1599
|
-
color: dt('tag.secondary.color');
|
|
1600
|
-
}
|
|
1601
|
-
|
|
1602
|
-
.p-tag-contrast {
|
|
1603
|
-
background: dt('tag.contrast.background');
|
|
1604
|
-
color: dt('tag.contrast.color');
|
|
1605
|
-
}
|
|
1606
|
-
`,classes:{root:function(e){var t=e.props;return[`p-tag p-component`,{"p-tag-info":t.severity===`info`,"p-tag-success":t.severity===`success`,"p-tag-warn":t.severity===`warn`,"p-tag-danger":t.severity===`danger`,"p-tag-secondary":t.severity===`secondary`,"p-tag-contrast":t.severity===`contrast`,"p-tag-rounded":t.rounded}]},icon:`p-tag-icon`,label:`p-tag-label`}}),_x={name:`BaseTag`,extends:Nf,props:{value:null,severity:null,rounded:Boolean,icon:String},style:gx,provide:function(){return{$pcTag:this,$parentInstance:this}}};function vx(e){"@babel/helpers - typeof";return vx=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},vx(e)}function yx(e,t,n){return(t=bx(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bx(e){var t=xx(e,`string`);return vx(t)==`symbol`?t:t+``}function xx(e,t){if(vx(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(vx(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Sx={name:`Tag`,extends:_x,inheritAttrs:!1,computed:{dataP:function(){return wc(yx({rounded:this.rounded},this.severity,this.severity))}}},Cx=[`data-p`];function wx(e,t,n,r,i,a){return D(),O(`span`,N({class:e.cx(`root`),"data-p":a.dataP},e.ptmi(`root`)),[e.$slots.icon?(D(),Ba(li(e.$slots.icon),N({key:0,class:e.cx(`icon`)},e.ptm(`icon`)),null,16,[`class`])):e.icon?(D(),O(`span`,N({key:1,class:[e.cx(`icon`),e.icon]},e.ptm(`icon`)),null,16)):M(``,!0),e.value!=null||e.$slots.default?mi(e.$slots,`default`,{key:2},function(){return[k(`span`,N({class:e.cx(`label`)},e.ptm(`label`)),je(e.value),17)]}):M(``,!0)],16,Cx)}Sx.render=wx;var Tx={"(":`)`,"|":`|`,"⌊":`⌋`,"⌈":`⌉`};function Ex(e){switch(e.kind){case`fraction`:return[[`num`,e.num],[`den`,e.den]];case`superscript`:return[[`sup`,e.sup]];case`root`:return e.index?[[`index`,e.index],[`body`,e.body]]:[[`body`,e.body]];case`group`:return[[`body`,e.body]];case`derivative`:return[[`expr`,e.expr],[`variable`,e.variable]];case`units`:return[[`units`,e.units]];case`piecewise`:return[...e.pieces.flatMap(({value:e,condition:t},n)=>[[`value${n}`,e],[`cond${n}`,t]]),...e.otherwise?[[`otherwise`,e.otherwise]]:[]];default:return[]}}function Dx(e){if(e===`otherwise`)return{part:`otherwise`};let t=/^(value|cond)(\d+)$/.exec(e);return t?{part:t[1],piece:Number(t[2])}:null}function Ox(e,t,n){if(e.kind===`piecewise`){let r=Dx(t);if(!r)throw Error(`No branch ${t} in a piecewise`);if(r.part===`otherwise`)return{...e,otherwise:n};let i=e.pieces.map((e,t)=>t===r.piece?r.part===`value`?{...e,value:n}:{...e,condition:n}:e);return{...e,pieces:i}}return{...e,[t]:n}}function kx(e,t){return Ex(e).find(([e])=>e===t)?.[1]??null}function Ax(e,t){let n=e;for(let e of t){let t=n[e.atom];if(!t)return null;let r=kx(t,e.branch);if(!r)return null;n=r}return n}function jx(e,t){return e.length===t.length&&e.every((e,n)=>e.atom===t[n].atom&&e.branch===t[n].branch)}var Mx=0;function Nx(){return Mx+=1,`a${Mx}`}function Px(e){return{kind:`symbol`,id:Nx(),value:e}}function Fx(e){return{kind:`function`,id:Nx(),name:e}}function Ix(e=[],t=[]){return{kind:`fraction`,id:Nx(),num:e,den:t}}function Lx(e=[]){return{kind:`superscript`,id:Nx(),sup:e}}function Rx(e=[],t=null){return{kind:`root`,id:Nx(),index:t,body:e}}function zx(e=[],t=`(`,n){let r=n??Tx[t]??t;return{kind:`group`,id:Nx(),open:t,close:r,body:e}}function Bx(e=[],t=[]){return{kind:`derivative`,id:Nx(),expr:e,variable:t}}function Vx(e=[]){return{kind:`units`,id:Nx(),units:e}}function Hx(e=[[[],[]]],t=null){return{kind:`piecewise`,id:Nx(),pieces:e.map(([e,t])=>({value:e,condition:t})),otherwise:t}}function Ux(...e){return e.flatMap(e=>typeof e==`string`?Array.from(e).map(e=>Px(e)):[e])}var Wx=[{symbol:`pi`,latex:`\\pi`,mathml:`pi`,mathJson:`Pi`,commands:[`pi`]},{symbol:`exponentiale`,latex:`\\mathrm{e}`,mathml:`exponentiale`,mathJson:`ExponentialE`,commands:[`e`,`exponentiale`]},{symbol:`infinity`,latex:`\\infty`,mathml:`infinity`,mathJson:{num:`+Infinity`},commands:[`inf`,`infty`,`infinity`]},{symbol:`notanumber`,latex:`\\mathrm{NaN}`,mathml:`notanumber`,mathJson:{num:`NaN`},commands:[`nan`,`NaN`,`notanumber`]},{symbol:`true`,latex:`\\mathrm{true}`,mathml:`true`,mathJson:`True`,commands:[`true`]},{symbol:`false`,latex:`\\mathrm{false}`,mathml:`false`,mathJson:`False`,commands:[`false`]}],Gx=new Map(Wx.map(e=>[e.symbol,e])),Kx=new Map(Wx.flatMap(e=>e.commands.map(t=>[t,e]))),qx=e=>Gx.get(e),Jx=e=>Kx.get(e),Yx=new Map([[`pi`,`pi`],[`infty`,`infinity`]]),Xx=new Map([[`e`,`exponentiale`],[`NaN`,`notanumber`],[`true`,`true`],[`false`,`false`]]),Zx=e=>Yx.get(e),Qx=e=>Xx.get(e),$x=e=>e?.kind===`symbol`?e.value:null,eS=e=>e!==null&&/^[0-9]$/.test(e),tS=e=>eS(e)||e===`.`,nS=e=>tS($x(e));function rS(e,t){if(!nS(e[t]))return null;let n=t,r=``;for(;tS($x(e[n]));)r+=$x(e[n++]);let i=null,a=$x(e[n]);if(a===`e`||a===`E`){let t=n+1,r=``,a=$x(e[t]);if((a===`+`||a===`-`||a===`−`)&&(r=a===`+`?`+`:`-`,t++),eS($x(e[t]))){let a=``;for(;tS($x(e[t]));)a+=$x(e[t++]);i=r+a,n=t}}return{start:t,end:n,text:i===null?r:`${r}e${i}`,mantissa:r,exponent:i}}function iS(e,t){let n=$x(e[t-1]);if(n!==`e`&&n!==`E`||!tS($x(e[t-2])))return!1;let r=t-2;for(;tS($x(e[r-1]));)r--;return!/^[A-Za-z_]$/.test($x(e[r-1])??``)}var aS=Object.fromEntries([[`exp`,`exp`,!0,`exp`,`Exp`],[`log`,`log`,!0,`log`,`Log`],[`ln`,`ln`,!0,`ln`,`Ln`],[`floor`,`floor`,!1,`floor`,`Floor`],[`ceiling`,`ceiling`,!1,`ceiling`,`Ceil`,[`ceil`]],[`min`,`min`,!0,`min`,`Min`],[`max`,`max`,!0,`max`,`Max`],[`rem`,`rem`,!1,`rem`,`Remainder`],[`sin`,`sin`,!0,`sin`,`Sin`],[`cos`,`cos`,!0,`cos`,`Cos`],[`tan`,`tan`,!0,`tan`,`Tan`],[`sec`,`sec`,!0,`sec`,`Sec`],[`csc`,`csc`,!0,`csc`,`Csc`],[`cot`,`cot`,!0,`cot`,`Cot`],[`sinh`,`sinh`,!0,`sinh`,`Sinh`],[`cosh`,`cosh`,!0,`cosh`,`Cosh`],[`tanh`,`tanh`,!0,`tanh`,`Tanh`],[`sech`,`sech`,!1,`sech`,`Sech`],[`csch`,`csch`,!1,`csch`,`Csch`],[`coth`,`coth`,!0,`coth`,`Coth`],[`asin`,`arcsin`,!0,`arcsin`,`Arcsin`],[`acos`,`arccos`,!0,`arccos`,`Arccos`],[`atan`,`arctan`,!0,`arctan`,`Arctan`],[`asec`,`arcsec`,!1,`arcsec`,`Asec`],[`acsc`,`arccsc`,!1,`arccsc`,`Acsc`],[`acot`,`arccot`,!1,`arccot`,`Acot`],[`asinh`,`arcsinh`,!1,`arcsinh`,`Arsinh`],[`acosh`,`arccosh`,!1,`arccosh`,`Arcosh`],[`atanh`,`arctanh`,!1,`arctanh`,`Artanh`],[`asech`,`arcsech`,!1,`arcsech`,`Asech`],[`acsch`,`arccsch`,!1,`arccsch`,`Acsch`],[`acoth`,`arccoth`,!1,`arccoth`,`Arcoth`]].map(([e,t,n,r,i,a])=>[e,{name:e,latexName:t,latexCommand:n,mathMlTag:r,mathJson:i,...a&&{aliases:a}}]));function oS(e){return aS[e.toLowerCase()]??null}function sS(e){let t=oS(e);return t?t.latexCommand?`\\${t.latexName} `:`\\operatorname{${t.latexName}}`:`\\operatorname{${e}}`}var cS={floor:{open:`⌊`,close:`⌋`,latexOpen:`\\lfloor`,latexClose:`\\rfloor`},ceiling:{open:`⌈`,close:`⌉`,latexOpen:`\\lceil`,latexClose:`\\rceil`}},lS=e=>cS[e];function uS(e){return Object.keys(cS).find(t=>cS[t].open===e)}function dS(e){for(let t of Object.values(cS)){if(e===t.open)return t.latexOpen;if(e===t.close)return t.latexClose}return e===`|`?`|`:e===`)`?`)`:`(`}var fS=new Set(`alpha.beta.gamma.delta.epsilon.varepsilon.zeta.eta.theta.vartheta.iota.kappa.lambda.mu.nu.xi.pi.rho.sigma.tau.upsilon.phi.varphi.chi.psi.omega.Gamma.Delta.Theta.Lambda.Xi.Pi.Sigma.Upsilon.Phi.Psi.Omega`.split(`.`)),pS=new Map;for(let e of Object.values(aS)){pS.set(e.name,e.name),pS.set(e.latexName,e.name);for(let t of e.aliases??[])pS.set(t,e.name)}function mS(e){return pS.get(e)}var hS=(e,t)=>e?.kind===`symbol`&&t.test(e.value),gS=e=>e?.kind===`symbol`&&fS.has(e.value)&&!qx(e.value),_S=e=>hS(e,/^[A-Za-z]$/),vS=e=>_S(e)||gS(e),yS=e=>hS(e,/^[A-Za-z0-9_]$/)||gS(e);function bS(e,t){let n=t;for(;n<e.length&&yS(e[n]);){let r=e[n-1],i=gS(e[n]);if(n>t&&(i&&!hS(r,/^_$/)||_S(e[n])&&gS(r))||n===t&&!i&&!_S(e[n]))break;n++}return n}function xS(e){return qx(e)?.symbol}function SS(e){let t=[],n=0;for(;n<e.length;){let r=rS(e,n);if(r){n=r.end;continue}if(!vS(e[n])){n++;continue}let i=n;n=bS(e,i);let a=e.slice(i,n).map(e=>e.value).join(``);t.push({start:i,end:n,name:a,functionName:mS(a)??null})}return t}function CS(e){let t=[],n=0;for(;n<e.length;){if(vS(e[n])){n=bS(e,n);continue}let r=rS(e,n);r?(t.push(r),n=r.end):n++}return t}var wS=e=>e.units.map(e=>e.kind===`symbol`?e.value:``).join(``);function TS(e){if(e.otherwise?.map(e=>e.kind===`symbol`?e.value:`\0`).join(``)!==`0.0`)return null;let t=e.pieces[0]?.value??[],n=rS(t,+(t[0]?.kind===`symbol`&&t[0].value===`-`)),r=t[t.length-1];return!n||n.end!==t.length-1||r?.kind!==`units`?null:wS(r)||null}function ES(e,t){let n=[],r=e=>{let i=new Map(SS(e).map(e=>[e.start,e]));for(let a=0;a<e.length;a++){let o=e[a],s=i.get(a);if(s){s.name===t&&!s.functionName&&n.push(e.slice(s.start,s.end).map(e=>e.id)),a=s.end-1;continue}if(o.kind===`symbol`&&o.value===t&&!qx(t)&&n.push([o.id]),o.kind!==`units`)for(let[,e]of Ex(o))r(e)}};return r(e),n}function DS(e){let t=[],n=(e,r=null)=>{for(let n of CS(e)){let i=e[n.end],a=i?.kind===`units`?i:null,o=e.slice(n.start,n.end+ +!!a).map(e=>e.id),s=e.slice(n.start,n.end).map(e=>e.id),c=Number(n.text);a?t.push({value:c,atomIds:o,digitIds:s,units:wS(a)}):r?t.push({value:c,atomIds:o,digitIds:s,units:r,inherited:!0}):t.push({value:c,atomIds:o,digitIds:s,units:null})}for(let t of e)if(t.kind!==`units`)for(let[e,r]of Ex(t)){let i=t.kind===`piecewise`&&e===`otherwise`;n(r,i?TS(t):null)}};return n(e),t}function OS(e,t){let n=e[t-1];if(n?.kind===`function`){let e=lS(n.name);return e?{start:t-1,open:e.open}:null}let r=SS(e.slice(0,t)).find(e=>e.end===t),i=r?.functionName?lS(r.functionName):void 0;return r&&i?{start:r.start,open:i.open}:null}var kS=[{role:`comparison`,symbol:`<`,type:`Less`,latex:`<`,mathml:`lt`,commands:[`lt`]},{role:`comparison`,symbol:`>`,type:`Greater`,latex:`>`,mathml:`gt`,commands:[`gt`]},{role:`comparison`,symbol:`≤`,type:`LessEqual`,latex:`\\leq`,mathml:`leq`,commands:[`le`,`leq`]},{role:`comparison`,symbol:`≥`,type:`GreaterEqual`,latex:`\\geq`,mathml:`geq`,commands:[`ge`,`geq`]},{role:`comparison`,symbol:`≠`,type:`NotEqual`,latex:`\\neq`,mathml:`neq`,commands:[`ne`,`neq`]},{role:`logic`,symbol:`∧`,type:`And`,latex:`\\land`,mathml:`and`,commands:[`and`,`land`,`wedge`]},{role:`logic`,symbol:`∨`,type:`Or`,latex:`\\lor`,mathml:`or`,commands:[`or`,`lor`,`vee`]},{role:`logic`,symbol:`⊻`,type:`Xor`,latex:`\\veebar`,mathml:`xor`,commands:[`xor`,`veebar`]},{role:`not`,symbol:`¬`,type:`Not`,latex:`\\lnot`,mathml:`not`,commands:[`not`,`lnot`,`neg`]}],AS=new Map(kS.map(e=>[e.symbol,e])),jS=new Map(kS.map(e=>[e.type,e])),MS=new Map(kS.flatMap(e=>e.commands.map(t=>[t,e]))),NS=e=>AS.get(e),PS=e=>jS.get(e),FS=e=>MS.get(e),IS={"<":`≤`,">":`≥`,"¬":`≠`},LS=e=>IS[e],RS={"<":`<`,">":`>`,"&":`∧`,"!":`¬`};function zS(e){return[`r`,...e.map(e=>`${e.atom}.${e.branch}`)].join(`/`)}function BS(e){if(!e)return null;let[t,...n]=e.split(`/`);if(t!==`r`)return null;let r=[];for(let e of n){let t=/^(\d+)\.([a-z]+\d*)$/.exec(e);if(!t)return null;r.push({atom:Number(t[1]),branch:t[2]})}return r}var VS={"+":`+`,"-":`-`,"−":`-`,"*":`\\cdot`,"·":`\\cdot`,"×":`\\times`,...Object.fromEntries(kS.filter(e=>e.role===`logic`).map(e=>[e.symbol,e.latex]))},HS={"=":`=`,...Object.fromEntries(kS.filter(e=>e.role===`comparison`).map(e=>[e.symbol,e.latex]))},US={"¬":`\\lnot`},WS={"\\":`\\textbackslash{}`,"{":`\\{`,"}":`\\}`,"#":`\\#`,$:`\\$`,"%":`\\%`,"&":`\\&`,_:`\\_`,"^":`\\textasciicircum{}`,"~":`\\textasciitilde{}`};function GS(e){return e?.kind===`symbol`&&(e.value in VS||e.value in HS||e.value in US||e.value===`,`)}function KS(e,t){return`\\htmlData{atom=${e}}{${t}}`}function qS(e,t){return e===`_`?`\\_`:fS.has(e)&&t.greekNames!==!1?`\\${e}`:`\\mathit{${e}}`}function JS(e){return e===`e`||e===`E`?`\\mathrm{${e}}`:e===`-`||e===`−`?`{-}`:e===`+`?`{+}`:e}function YS(e,t,n={}){if(t in VS)return`\\mathbin{${KS(e,VS[t])}}`;if(t in HS)return`\\mathrel{${KS(e,HS[t])}}`;if(t===`,`)return`\\mathpunct{${KS(e,`,`)}}`;if(t in US)return KS(e,US[t]);let r=qx(t);return r?KS(e,r.latex):/^[0-9.]$/.test(t)||/^[A-Za-z]$/.test(t)?KS(e,t):fS.has(t)&&n.greekNames!==!1?KS(e,`\\${t}`):/^[A-Za-z]+$/.test(t)?KS(e,`\\mathit{${t}}`):KS(e,`\\text{${Array.from(t).map(e=>WS[e]??e).join(``)}}`)}function XS(e,t={}){return ZS(e,[],t)}function ZS(e,t,n){let r;if(e.length===0)r=`\\htmlClass{me-ph${n.activeRow&&jx(n.activeRow,t)?` me-ph-active`:``}}{\\square}`;else{let i=[],a=new Map(SS(e).map(e=>[e.start,e])),o=new Map(CS(e).filter(e=>e.exponent!==null).map(e=>[e.start,e]));for(let r=0;r<e.length;r++){let s=e[r],c=e=>[...t,{atom:r,branch:e}],l=a.get(r);if(l&&l.end-l.start>1){let t=e.slice(l.start,l.end);l.functionName?i.push(`\\mathop{${t.map(e=>KS(e.id,`\\mathrm{${e.value}}`)).join(``)}}`):i.push(`{${t.map(e=>KS(e.id,qS(e.value,n))).join(``)}}`),r=l.end-1;continue}let u=o.get(r);if(u){let t=e.slice(u.start,u.end);i.push(`{${t.map(e=>KS(e.id,JS(e.value))).join(``)}}`),r=u.end-1;continue}if(s.kind===`superscript`){let t=e[r-1],a=t&&!GS(t)?i.pop():``;i.push(`{${a}}^{${KS(s.id,ZS(s.sup,c(`sup`),n))}}`);continue}i.push(QS(s,c,n))}r=i.join(``)}return`\\htmlData{row=${zS(t)}}{${r}}`}function QS(e,t,n){let r=(e,r)=>ZS(e,t(r),n);switch(e.kind){case`symbol`:return YS(e.id,e.value,n);case`function`:{let t=oS(e.name)?.latexName??e.name;return`\\mathop{${KS(e.id,`\\mathrm{${t}}`)}}`}case`fraction`:return KS(e.id,`\\frac{${r(e.num,`num`)}}{${r(e.den,`den`)}}`);case`root`:return KS(e.id,e.index?`\\sqrt[${r(e.index,`index`)}]{${r(e.body,`body`)}}`:`\\sqrt{${r(e.body,`body`)}}`);case`group`:{let t=dS(e.open),n=dS(e.close);return KS(e.id,`\\left${t}${r(e.body,`body`)}\\right${n}`)}case`derivative`:return KS(e.id,`\\frac{\\mathrm{d}${r(e.expr,`expr`)}}{\\mathrm{d}${r(e.variable,`variable`)}}`);case`units`:return n.shownUnits?.has(e.id)?KS(e.id,`\\,${$S(e.units,t(`units`),n)}`):`\\htmlClass{me-units-flag}{}`;case`piecewise`:{let t=e.pieces.map(({value:e,condition:t},n)=>`${r(e,`value${n}`)} & ${r(t,`cond${n}`)}`);return e.otherwise&&t.push(`${r(e.otherwise,`otherwise`)} & \\text{otherwise}`),KS(e.id,`\\begin{cases}${t.join(` \\\\ `)}\\end{cases}`)}}}function $S(e,t,n){if(e.length===0){let e=`me-ph me-units-ph${n.activeRow&&jx(n.activeRow,t)?` me-ph-active`:``}`;return`\\htmlData{row=${zS(t)}}{\\htmlClass{${e}}{\\text{\\scriptsize units}}}`}let r=e.map((e,r)=>{let i=e=>[...t,{atom:r,branch:e}];return e.kind===`superscript`?`{}^{${KS(e.id,ZS(e.sup,i(`sup`),n))}}`:e.kind===`symbol`?/^[A-Za-z0-9]$/.test(e.value)?KS(e.id,`\\mathrm{${e.value}}`):e.value===`_`?KS(e.id,`\\_`):YS(e.id,e.value):QS(e,i,n)});return`\\htmlData{row=${zS(t)}}{\\htmlClass{me-units}{${r.join(``)}}}`}var eC={displayMode:!0,throwOnError:!1,strict:`ignore`,trust:e=>e.command===`\\htmlData`||e.command===`\\htmlClass`},tC=[`mspace`,`strut`,`pstrut`,`vlist-s`,`nulldelimiter`];function nC(e){let t=window.getComputedStyle(e);return t.overflow===`hidden`||t.overflowX===`hidden`||t.overflowY===`hidden`}function rC(e){let t={left:1/0,top:1/0,right:-1/0,bottom:-1/0},n=e=>{(e.width!==0||e.height!==0)&&(t.left=Math.min(t.left,e.left),t.top=Math.min(t.top,e.top),t.right=Math.max(t.right,e.right),t.bottom=Math.max(t.bottom,e.bottom))},r=e=>{if(!tC.some(t=>e.classList.contains(t))){if(e.children.length===0||nC(e)){n(e.getBoundingClientRect());return}for(let t of Array.from(e.children))r(t)}};return r(e),Number.isFinite(t.left)?t:null}function iC(e,t){return e.querySelector(`[data-atom="${t.id}"]`)}function aC(e,t){return e.querySelector(`[data-row="${zS(t)}"]`)}function oC(e,t){if(!t)return null;let n=iC(e,t);return n?rC(n):null}var sC=e=>e?.kind===`symbol`||e?.kind===`function`;function cC(e,t,n,r){let i=Ax(t,n);if(!i)return null;if(i.length===0){let t=aC(e,n),r=t?rC(t):null;return r?{x:(r.left+r.right)/2,top:r.top,bottom:r.bottom,placeholder:!0}:null}let a=t=>!!t&&!!iC(e,t),o=r-1;for(;o>=0&&!a(i[o])&&i[o].kind===`units`;)o--;let s=r;for(;s<i.length&&!a(i[s])&&i[s].kind===`units`;)s++;let c=i[o],l=i[s],u=oC(e,c),d=oC(e,l),f;if(u&&d)f=(u.right+d.left)/2;else if(u)f=u.right+1;else if(d)f=d.left-1;else return null;let p=[c,l].filter(sC).map(t=>oC(e,t))[0]??oC(e,i.find(sC))??u??d;return{x:f,top:p.top,bottom:p.bottom,placeholder:!1}}function lC(e,t,n){let r=cC(e,t,n.path,n.offset);if(!r)return null;let i=e.getBoundingClientRect(),a=Math.max(14,r.bottom-r.top),o=(r.top+r.bottom)/2-a/2;return{left:r.x-i.left+e.scrollLeft,top:o-i.top+e.scrollTop,height:a,placeholder:r.placeholder}}function uC(e,t,n,r){let i=Ax(t,n);if(!i)return 0;let a=0,o=1/0;for(let s=0;s<=i.length;s++){let i=cC(e,t,n,s);if(!i)continue;let c=Math.abs(i.x-r);c<o&&(a=s,o=c)}return a}function dC(e,t,n){let r=e.parentElement?.closest(`[data-atom]`);return r?Array.from(r.querySelectorAll(`.frac-line`)).some(e=>{if(e.closest(`[data-atom]`)!==r)return!1;let i=e.getBoundingClientRect();return t>=i.left&&t<=i.right&&n>=i.top-2&&n<=i.bottom+2}):!1}function fC(e,t,n,r){let i=[];for(let a of Array.from(e.querySelectorAll(`[data-row]`))){let e=BS(a.getAttribute(`data-row`));if(!e||e.length<=i.length||!Ax(t,e)||dC(a,n,r))continue;let o=rC(a);o&&n>=o.left-2&&n<=o.right+2&&r>=o.top-2&&r<=o.bottom+2&&(i=e)}return{path:i,offset:uC(e,t,i,n)}}function pC(e,t,n){let r=Ax(t,n.path);return r?mC(e,r.slice(n.start,n.end).map(e=>e.id)):null}function mC(e,t,n=2){let r=null;for(let n of t){let t=e.querySelector(`[data-atom="${n}"]`),i=t?rC(t):null;i&&(r=r?{left:Math.min(r.left,i.left),top:Math.min(r.top,i.top),right:Math.max(r.right,i.right),bottom:Math.max(r.bottom,i.bottom)}:i)}if(!r)return null;let i=e.getBoundingClientRect();return{left:r.left-i.left+e.scrollLeft-n,top:r.top-i.top+e.scrollTop-n,width:r.right-r.left+n*2,height:r.bottom-r.top+n*2}}function hC(e,t,n=4,r=2){let i=aC(e,t),a=i?rC(i):null;if(!a)return null;let o=e.getBoundingClientRect();return{left:a.left-o.left+e.scrollLeft-n,top:a.top-o.top+e.scrollTop-r,width:a.right-a.left+n*2,height:a.bottom-a.top+r*2}}var gC=/^([A-Za-z]+?)(\d*)$/;function _C(e){let t=gC.exec(e);if(!t)return null;let[,n]=t;return fS.has(n)&&!qx(n)?n:null}function vC(e,t={}){let n=xS(e);return n?[Px(n)]:t.greekNames===!1?Ux(e):e.split(`_`).flatMap((e,t)=>{let n=t>0?[Px(`_`)]:[],r=_C(e);return r?[...n,Px(r),...Ux(e.slice(r.length))]:[...n,...Ux(e)]})}var yC=e=>e.map(e=>`${e.atom}.${e.branch}`).join(`/`);function bC(e,t={}){let n=new Map,r=xC(e.root,[],e,t,n);return n.size===0?e:{...e,root:r,cursor:SC(e.cursor,n),anchor:e.anchor?SC(e.anchor,n):e.anchor}}function xC(e,t,n,r,i){let a=yC(t),o=(e,t,n)=>!!e&&yC(e.path)===a&&e.offset>=t&&e.offset<=n,s=(e,t)=>!r.cursorAway&&(o(n.cursor,e,t)||o(n.anchor,e,t)),c=[];for(let t of SS(e)){if(t.functionName||s(t.start,t.end))continue;let n=e.slice(t.start,t.end),i=vC(t.name,r),a=i.length===n.length&&i.every((e,t)=>e.kind===`symbol`&&n[t].kind===`symbol`&&e.value===n[t].value),o=r.greekNames===!1&&n.some(gS);!a&&!o&&c.push({start:t.start,end:t.end,atoms:i})}let l=e,u=!1,d=e.map((e,a)=>{let o=e;for(let[s,c]of Ex(e)){let e=xC(c,[...t,{atom:a,branch:s}],n,r,i);e!==c&&(o=Ox(o,s,e))}return o!==e&&(u=!0),o});if(u&&(l=d),c.length===0)return l;let f=[],p=0;for(let e of c)f.push(...l.slice(p,e.start),...e.atoms),p=e.end;return f.push(...l.slice(p)),i.set(a,c.map(e=>({start:e.start,end:e.end,count:e.atoms.length}))),f}function SC(e,t){let n=(e,t)=>{let n=0;for(let r of t)if(e>=r.end)n+=r.end-r.start-r.count;else if(e>r.start)return r.start-n+r.count;else break;return e-n},r=[];for(let i=0;i<e.path.length;i++){let a=t.get(yC(e.path.slice(0,i))),o=e.path[i];r.push({...o,atom:a?n(o.atom,a):o.atom})}let i=t.get(yC(e.path));return{path:r,offset:i?n(e.offset,i):e.offset}}var CC=`application/x-semantic-math+json`;function wC(e){return JSON.stringify({version:1,atoms:e})}function TC(e){if(!e)return null;try{let t=JSON.parse(e);return t?.version!==1||!DC(t.atoms)?null:kC(t.atoms)}catch{return null}}var EC=e=>typeof e==`object`&&!!e;function DC(e){return Array.isArray(e)&&e.every(OC)}function OC(e){if(!EC(e)||typeof e.id!=`string`)return!1;switch(e.kind){case`symbol`:return typeof e.value==`string`;case`function`:return typeof e.name==`string`;case`fraction`:return DC(e.num)&&DC(e.den);case`superscript`:return DC(e.sup);case`root`:return DC(e.body)&&(e.index===null||DC(e.index));case`group`:return DC(e.body)&&RC.includes(e.open)&&RC.includes(e.close);case`derivative`:return DC(e.expr)&&DC(e.variable);case`units`:return DC(e.units);case`piecewise`:return Array.isArray(e.pieces)&&e.pieces.length>0&&e.pieces.every(e=>EC(e)&&DC(e.value)&&DC(e.condition))&&(e.otherwise===null||DC(e.otherwise));default:return!1}}function kC(e){return e.map(e=>{let t={...e,id:Nx()};for(let[n,r]of Ex(e))t=Ox(t,n,kC(r));return t})}var AC={"·":`\\cdot `,"*":`\\cdot `,"×":`\\times `,"−":`-`,...Object.fromEntries(kS.map(e=>[e.symbol,e.latex.startsWith(`\\`)?`${e.latex} `:e.latex]))},jC={"\\":`\\textbackslash{}`,"{":`\\{`,"}":`\\}`,"#":`\\#`,$:`\\$`,"%":`\\%`,"&":`\\&`,_:`\\_`,"^":`\\textasciicircum{}`,"~":`\\textasciitilde{}`};function MC(e,t={}){if(e in AC)return AC[e];if(/^[A-Za-z0-9.+\-=,]$/.test(e))return e;let n=qx(e);return n?/[a-z]$/i.test(n.latex)?`${n.latex} `:n.latex:fS.has(e)&&t.greekNames!==!1?`\\${e} `:/^[A-Za-z]+$/.test(e)?`\\mathit{${e}}`:`\\text{${Array.from(e,e=>jC[e]??e).join(``)}}`}var NC=e=>e?.kind===`symbol`&&(/^[+\-−=,·*×]$/.test(e.value)||NS(e.value)!==void 0);function PC(e,t={}){let n=new Map(SS(e).map(e=>[e.start,e])),r=new Map(CS(e).filter(e=>e.exponent!==null).map(e=>[e.start,e])),i=``;for(let a=0;a<e.length;){let o=r.get(a);if(o){let t=e.slice(o.start,o.end).map(e=>e.value.replace(`−`,`-`)),n=t.findIndex(e=>e===`e`||e===`E`);i+=`${t.slice(0,n).join(``)}\\mathrm{${t[n]}}{${t.slice(n+1).join(``)}}`,a=o.end;continue}let s=n.get(a);if(s){i+=FC(s.name,s.functionName,t),a=s.end;continue}i+=IC(e[a],e[a-1],t),a++}return i.trim()||`\\square`}function FC(e,t,n){if(t)return sS(t);let r=xS(e);if(r)return MC(r);let i=e.split(`_`);return n.greekNames!==!1&&i.some(e=>_C(e))?i.map(e=>{let t=_C(e);return t?`\\${t}${e.slice(t.length)||` `}`:e.length===1?e:`\\mathit{${e}}`}).join(`\\_`):e.length===1?e:`\\mathit{${e.replace(/_/g,`\\_`)}}`}function IC(e,t,n){switch(e.kind){case`symbol`:return MC(e.value,n);case`function`:return sS(e.name);case`fraction`:return`\\frac{${PC(e.num,n)}}{${PC(e.den,n)}}`;case`superscript`:return`${t&&!NC(t)?``:`{}`}^{${PC(e.sup,n)}}`;case`root`:return e.index?`\\sqrt[${PC(e.index,n)}]{${PC(e.body,n)}}`:`\\sqrt{${PC(e.body,n)}}`;case`group`:{let t=dS(e.open),r=dS(e.close),i=e=>/[a-z]$/.test(e)?` `:``;return`\\left${t}${i(t)}${PC(e.body,n)}\\right${r}${i(r)}`}case`derivative`:return`\\frac{\\mathrm{d}${PC(e.expr,n)}}{\\mathrm{d}${PC(e.variable,n)}}`;case`units`:return``;case`piecewise`:{let t=e.pieces.map(({value:e,condition:t})=>`${PC(e,n)} & ${PC(t,n)}`);return e.otherwise&&t.push(`${PC(e.otherwise,n)} & \\text{otherwise}`),`\\begin{cases}${t.join(` \\\\ `)}\\end{cases}`}}}function LC(e){let t=[],n=0;for(;n<e.length;){let r=e[n];if(r===`\\`){let r=/^[A-Za-z]+/.exec(e.slice(n+1));r?(t.push({kind:`command`,name:r[0]}),n+=1+r[0].length):(t.push({kind:`command`,name:e[n+1]??``}),n+=2);continue}r===`{`?t.push({kind:`open`}):r===`}`?t.push({kind:`close`}):/\s/.test(r)||t.push({kind:`char`,value:r}),n++}return t}var RC=[`(`,`)`,`|`,`⌊`,`⌋`,`⌈`,`⌉`],zC=new Set([`text`,`textrm`,`textnormal`,`textit`,`mbox`,`mathrm`]),BC=new Set([`cases`,`dcases`,`rcases`]),VC=new Set([`,`,`;`,`:`,`!`,` `,`quad`,`qquad`,`displaystyle`,`textstyle`]),HC=new Set([`+`,`-`,`−`,`=`,`,`,`·`,`*`,`×`]),UC=class{tokens;index=0;uprightD=new WeakSet;absDepth=0;casesDepth=0;constructor(e){this.tokens=e}readAll(){let e=[];for(;this.peek();)e.push(...this.readRow({})),this.next();return e}peek(){return this.tokens[this.index]}next(){return this.tokens[this.index++]}atStop(e){let t=this.peek();return!!(!t||this.casesDepth>0&&this.atCellEnd()||e.close&&t.kind===`close`||e.right&&t.kind===`command`&&t.name===`right`||e.command&&t.kind===`command`&&t.name===e.command||t.kind===`char`&&(e.char&&t.value===e.char||e.operator&&HC.has(t.value)||e.closing&&[`)`,`]`].includes(t.value)||e.closing&&t.value===`|`&&this.absDepth>0))}atCellEnd(){let e=this.peek();return e?.kind===`char`?e.value===`&`:e?.kind===`command`&&(e.name===`\\`||e.name===`end`)}readCases(){let e=[],t=null;for(this.casesDepth++;;){let n=this.readRow({}),r=[],i=!1;if(this.peek()?.kind===`char`){this.next(),i=this.readConditionWord()===`otherwise`,r=this.readRow({});let e=r.map(e=>e.kind===`symbol`?e.value:`?`).join(``);/^(otherwise|else)$/.test(e)&&(i=!0,r=[])}i?t=n:(n.length>0||r.length>0)&&e.push([n,r]);let a=this.next();if(!a||a.kind!==`command`||a.name!==`\\`){a?.kind===`command`&&a.name===`end`&&this.readText();break}}return this.casesDepth--,Hx(e.length>0?e:[[[],[]]],t)}readConditionWord(){let e=this.peek();if(e?.kind!==`command`||!zC.has(e.name))return null;let t=this.index;this.next();let n=this.readText().trim().replace(/[,:]$/,``).toLowerCase();return n===`otherwise`||n===`else`?`otherwise`:[`if`,`for`,`when`].includes(n)?`if`:(this.index=t,null)}readRow(e){let t=[];for(;!this.atStop(e);){let e=this.next();switch(e.kind){case`open`:if(WC(t)){this.index--,t.push(GC(this.readText().replace(/^units:/,``)));break}t.push(...this.readRow({close:!0})),this.next();break;case`close`:break;case`char`:this.readChar(e.value,t);break;case`command`:this.readCommand(e.name,t)}}return t}readChar(e,t){switch(e){case`(`:case`[`:{let n=this.readUntilChar(e===`(`?`)`:`]`);this.pushBrackets(t,n,e===`(`?`(`:`[`);return}case`|`:{this.absDepth++;let e=this.readUntilChar(`|`);this.absDepth--,t.push(zx(e,`|`));return}case`)`:case`]`:return;case`^`:t.push(Lx(this.readScript()));return;case`_`:t.push(Px(`_`),...this.readScript());return;case`/`:t.push(this.readInfixFraction(t));return;case`*`:t.push(Px(`·`));return;case`=`:{let e=t[t.length-1],n=e?.kind===`symbol`?e.value:``,r=LS(n===`!`?`¬`:n);r?t[t.length-1]=Px(r):n!==`=`&&t.push(Px(`=`));return}case`!`:t.push(Px(`¬`));return;case`&`:{let e=t[t.length-1];(e?.kind!==`symbol`||e.value!==`∧`)&&t.push(Px(`∧`));return}default:t.push(Px(e===`−`?`-`:e))}}pushBrackets(e,t,n){let r=n===`(`?OS(e,e.length):null;r?e.splice(r.start,e.length-r.start,zx(t,r.open)):e.push(zx(t,n===`[`?`(`:n))}readUntilChar(e){let t=this.readRow({char:e});return this.next(),t}readInfixFraction(e){let t=e.length;for(;t>0&&!NC(e[t-1]);)t--;let n=e.splice(t),r=n[0];n.length===1&&r.kind===`group`&&r.open===`(`&&(n=r.body);let i=this.readRow({operator:!0,closing:!0,close:!0,right:!0}),a=i[0];return i.length===1&&a.kind===`group`&&a.open===`(`&&(i=a.body),Ix(n,i)}readScript(){let e=this.peek();if(!e)return[];if(e.kind===`char`&&/[0-9]/.test(e.value)){let e=``;for(;this.peek()?.kind===`char`&&/[0-9.]/.test(this.peek().value);)e+=this.next().value;return Array.from(e,e=>Px(e))}return this.readArgument()}readArgument(){let e=this.peek();if(!e)return[];if(e.kind===`open`){this.next();let e=this.readRow({close:!0});return this.next(),e}let t=[];return this.next(),e.kind===`char`?this.readChar(e.value,t):e.kind===`command`&&this.readCommand(e.name,t),t}readText(){if(this.peek()?.kind!==`open`){let e=this.next();return e?.kind===`char`?e.value:``}this.next();let e=``,t=0;for(;this.peek();){let n=this.next();if(n.kind===`close`&&t===0)break;n.kind===`open`&&t++,n.kind===`close`&&t--,n.kind===`char`&&(e+=n.value),n.kind===`command`&&(e+=n.name.length===1?n.name:``)}return e}readCommand(e,t){let n=this.peek();if(e===`,`&&WC(t)&&n?.kind===`command`&&n.name===`mathrm`){this.next(),t.push(GC(this.readText()));return}if(VC.has(e))return;let r=FS(e);if(r){t.push(Px(r.symbol));return}switch(e){case`begin`:{let e=this.readText();BC.has(e)&&t.push(this.readCases());return}case`end`:this.readText();return;case`frac`:case`dfrac`:case`tfrac`:{let e=this.readArgument(),n=this.readArgument(),r=e=>e[0]!==void 0&&this.uprightD.has(e[0]);t.push(r(e)&&r(n)?Bx(e.slice(1),n.slice(1)):Ix(e,n));return}case`sqrt`:{let e=null;this.peek()?.kind===`char`&&this.peek().value===`[`&&(this.next(),e=this.readUntilChar(`]`)),t.push(Rx(this.readArgument(),e));return}case`left`:{let e=this.next(),n=e?.kind===`char`?e.value:e?.kind===`command`?e.name:``,r=this.readRow({right:!0});this.next(),this.next();let i=n===`|`?`|`:n===`lfloor`?`⌊`:n===`lceil`?`⌈`:`(`;this.pushBrackets(t,r,i);return}case`lfloor`:case`lceil`:{let n=this.readRow({command:e===`lfloor`?`rfloor`:`rceil`});this.next(),t.push(zx(n,e===`lfloor`?`⌊`:`⌈`));return}case`rfloor`:case`rceil`:return;case`right`:return;case`cdot`:case`ast`:t.push(Px(`·`));return;case`times`:t.push(Px(`×`));return;case`square`:case`Box`:return;case`{`:case`}`:case`|`:t.push(Px(e));return;case`mathrm`:case`operatorname`:case`mathit`:case`text`:case`textrm`:case`mathbf`:{let n=this.readText();this.readNamed(e,n,t);return}}let i=mS(e);if(i){t.push(Fx(i));return}let a=Zx(e);t.push(Px(a??e))}readNamed(e,t,n){if(!t)return;if(e===`mathrm`&&(t===`E`||t===`e`&&this.peek()?.kind===`open`)){n.push(Px(t));return}let r=e===`mathrm`?Qx(t):void 0;if(r){n.push(Px(r));return}if(e===`mathrm`&&t===`d`){let e=Px(`d`);this.uprightD.add(e),n.push(e);return}if(e===`operatorname`||e===`mathrm`){n.push(Fx(mS(t)??t));return}if(e===`text`||e===`textrm`){n.push(...Array.from(t,e=>Px(e)));return}n.push(...Array.from(t,e=>Px(e)))}};function WC(e){let t=CS(e);return t.length>0&&t[t.length-1].end===e.length}function GC(e){return Vx(Array.from(e.trim(),e=>Px(e)))}function KC(e){return new UC(LC(e)).readAll()}var qC=e=>e?.kind===`units`,JC=e=>e.path.some(e=>e.branch===`units`);function YC(e,t){let n=e;for(let e of t.path){let t=n?.[e.atom];if(!t)return null;if(t.kind===`units`)return t.id;n=Ex(t).find(([t])=>t===e.branch)?.[1]??null}return null}var XC=e=>e?.kind===`symbol`?e.value:null,ZC=e=>e!==null&&e>=`0`&&e<=`9`;function QC(e,t){let n=t;for(;n>0;){let t=XC(e[n-1]),r=(t===`+`||t===`-`)&&/^[eE]$/.test(XC(e[n-2])??``);if(!(ZC(t)||t===`.`||t===`e`||t===`E`||r))break;n--}return n>0&&yS(e[n-1])?null:e.slice(n,t).map(e=>XC(e)).join(``)}var $C=/^(\d+\.?\d*|\.\d*)([eE][+-]?\d*)?$/;function ew(e,t){let n=QC(e,t);return!!n&&$C.test(n)}function tw(e,t,n){let r=QC(e,t);return r!==null&&$C.test(r+n)}function nw(e,t){let n=Ax(e,t.path);return n&&qC(n[t.offset])?{...t,offset:t.offset+1}:t}function rw(e){let t=nw(e.root,e.cursor),n=e.anchor?nw(e.root,e.anchor):e.anchor,r=t!==e.cursor||n!==e.anchor,i=new Map,a=aw(e.root,[],t,i);return i.size===0?r?{...e,cursor:t,anchor:n}:e:{...e,root:a,cursor:ow(t,i),anchor:n&&ow(n,i)}}var iw=e=>e.map(e=>`${e.atom}.${e.branch}`).join(`/`);function aw(e,t,n,r){let i=iw(t),a=[],o=!1,s=e.flatMap((s,c)=>{if(s.kind===`units`){let r=n.path.length>t.length&&iw(n.path.slice(0,t.length))===i&&n.path[t.length].atom===c;return(s.units.length===0||!ew(e,c))&&!r?(a.push(c),[]):[s]}let l=s;for(let[e,i]of Ex(s)){let a=aw(i,[...t,{atom:c,branch:e}],n,r);a!==i&&(l=Ox(l,e,a))}return l!==s&&(o=!0),[l]});return a.length&&r.set(i,a),a.length||o?s:e}function ow(e,t){let n=[],r=(e,t)=>(e??[]).filter(e=>e<t).length;for(let i=0;i<e.path.length;i++){let a=t.get(iw(e.path.slice(0,i))),o=e.path[i];if(a?.includes(o.atom))return null;n.push({...o,atom:o.atom-r(a,o.atom)})}let i=t.get(iw(e.path));return{path:n,offset:e.offset-r(i,e.offset)}}function sw(){return{path:[],offset:0}}function cw(e){return{path:[],offset:e.length}}function lw(e,t){return e.offset===t.offset&&jx(e.path,t.path)}function uw(e){return`${e.path.map(e=>`${e.atom}.${e.branch}`).join(` › `)||`root`} @ ${e.offset}`}function dw(e){let t=[],n=(e,r)=>{for(let i=0;i<=e.length;i++)if(!qC(e[i])&&(t.push({path:r,offset:i}),i<e.length))for(let[t,a]of Ex(e[i]))n(a,[...r,{atom:i,branch:t}])};return n(e,[]),t}function fw(e,t){if(t.length===0)return null;let n=t.slice(0,-1),r=Ax(e,n),{atom:i,branch:a}=t[t.length-1];if(!r||!r[i])throw Error(`Cursor path does not resolve`);return{rowPath:n,row:r,atomIndex:i,atom:r[i],branch:a}}function pw(e,t){let n=Ax(e,t);if(!n)throw Error(`Cursor path does not resolve`);return n}function mw(e,t){let n=pw(e,t.path);if(t.offset<n.length){let e=n[t.offset],r=qC(e)?[]:Ex(e);if(r.length>0)return{path:[...t.path,{atom:t.offset,branch:r[0][0]}],offset:0};let i=t.offset+(qC(n[t.offset+1])?2:1);return{path:t.path,offset:i}}let r=fw(e,t.path);if(!r)return null;let i=Ex(r.atom),a=i[i.findIndex(([e])=>e===r.branch)+1];return a?{path:[...r.rowPath,{atom:r.atomIndex,branch:a[0]}],offset:0}:{path:r.rowPath,offset:r.atomIndex+1}}function hw(e,t){let n=pw(e,t.path);if(t.offset>0){let r=t.offset-1;if(qC(n[r]))return hw(e,{path:t.path,offset:r});let i=Ex(n[r]);if(i.length>0){let[e,n]=i[i.length-1];return{path:[...t.path,{atom:r,branch:e}],offset:n.length}}return{path:t.path,offset:r}}let r=fw(e,t.path);if(!r)return null;let i=Ex(r.atom),a=i[i.findIndex(([e])=>e===r.branch)-1];if(a){let[e,t]=a;return{path:[...r.rowPath,{atom:r.atomIndex,branch:e}],offset:t.length}}return qC(r.atom)?{path:r.rowPath,offset:r.atomIndex+1}:{path:r.rowPath,offset:r.atomIndex}}var gw={fraction:[`num`,`den`],derivative:[`expr`,`variable`],root:[`index`,`body`]};function _w(e,t){if(e.kind!==`piecewise`)return gw[e.kind]??null;let n=Dx(t);if(!n)return null;let r=n.part===`otherwise`?`value`:n.part,i=e.pieces.map((e,t)=>`${r}${t}`);return e.otherwise?[...i,`otherwise`]:i}var vw=(e,t,n)=>Math.min(n.offset,e.length);function yw(e,t,n,r){for(let i=t.path.length;i>0;i--){let a=fw(e,t.path.slice(0,i)),o=_w(a.atom,a.branch);if(!o)continue;let s=Ex(a.atom).map(([e])=>e),c=o.filter(e=>s.includes(e)),l=c.indexOf(a.branch),u=c[l+n];if(l<0||!u)continue;let d=[...a.rowPath,{atom:a.atomIndex,branch:u}],f=pw(e,d);return nw(e,{path:d,offset:Math.max(0,Math.min(f.length,r(f,d,t)))})}return null}function bw(e,t,n=vw){return yw(e,t,-1,n)}function xw(e,t,n=vw){return yw(e,t,1,n)}function Sw(e){let{anchor:t,cursor:n}=e;if(!t||lw(t,n))return null;let r=0;for(;r<t.path.length&&r<n.path.length&&t.path[r].atom===n.path[r].atom&&t.path[r].branch===n.path[r].branch;)r++;let i=n.path.slice(0,r),a=e=>e.path.length===r?[e.offset,e.offset]:[e.path[r].atom,e.path[r].atom+1],[o,s]=a(t),[c,l]=a(n),u=Math.min(o,c),d=Math.max(s,l);return u<d?{path:i,start:u,end:d}:null}function Cw(e){let t=Sw(e);return t?Ax(e.root,t.path).slice(t.start,t.end):[]}function ww(e){return`${e.path.map(e=>`${e.atom}.${e.branch}`).join(` › `)||`root`} ${e.start}–${e.end}`}function Tw(e,t,n){let r={...e,cursor:t,anchor:n};return Sw(r)?r:{...e,cursor:t,anchor:null}}function Ew(e,t){let n=e.anchor??e.cursor,{path:r,offset:i}=e.cursor,a=Ax(e.root,r),o;if(t===`forward`?i<a.length:i>0){let e=i+(t===`forward`?1:-1);t===`backward`&&qC(a[i-1])&&(e=Math.max(0,i-2)),t===`forward`&&qC(a[e])&&e++,o={path:r,offset:e}}else if(r.length>0){let e=r[r.length-1];o={path:r.slice(0,-1),offset:t===`forward`?e.atom+1:e.atom}}else return e;return Tw(e,o,n)}function Dw(e,t){let n=e.anchor??e.cursor;return Tw(e,t===`start`?sw():cw(e.root),n)}function Ow(e){return Tw(e,cw(e.root),sw())}function kw(e,t,n){return Tw(e,n,t)}function Aw(e,t=`cursor`){let n=Sw(e);return!n||t===`cursor`?{...e,anchor:null}:{...e,cursor:{path:n.path,offset:t===`start`?n.start:n.end},anchor:null}}function jw(e,t){if(Sw(e))return Aw(e,t===`forward`?`end`:`start`);let n=(t===`forward`?mw:hw)(e.root,e.cursor);return n?{...e,cursor:n,anchor:null}:null}function Mw(e,t,n){let r=(t===`up`?bw:xw)(e.root,e.cursor,n);return r?{...e,cursor:r,anchor:null}:null}function Nw(){return{root:[],cursor:sw()}}function Pw(e,t){let n=Ax(e,t);if(!n)throw Error(`Cursor path does not resolve`);return n}function Fw(e,t,n){if(t.length===0)return n(e);let[r,...i]=t,a=e[r.atom],o=kx(a,r.branch);if(!o)throw Error(`Cursor path does not resolve`);let s=e.slice();return s[r.atom]=Ox(a,r.branch,Fw(o,i,n)),s}function Iw(e,t,n,r,i,a){return{root:Fw(e.root,t,e=>[...e.slice(0,n),...i,...e.slice(n+r)]),cursor:a}}var Lw=new Set([`+`,`-`,`−`,`=`,`*`,`·`,`×`,`,`]);function Rw(e){return e?.kind===`symbol`&&Lw.has(e.value)}function zw(e){let t=Ex(e);return t.length>0&&t.every(([,e])=>e.length===0)}function Bw(e,t=e.cursor.path.length){if(t===0)return null;let n=e.cursor.path,r=n.slice(0,t-1),{atom:i,branch:a}=n[t-1];return{rowPath:r,index:i,atom:Pw(e.root,r)[i],branch:a}}function Vw(e,t,n){if(t.atom.kind===`piecewise`||t.atom.kind===`units`){let r=n===0?t.index:t.index+1;return{root:e.root,cursor:{path:t.rowPath,offset:r}}}let r=Ex(t.atom).flatMap(([,e])=>e);return Iw(e,t.rowPath,t.index,1,r,{path:t.rowPath,offset:t.index+n})}function Hw(e){for(let t=e.cursor.path.length;t>0;t--){let n=Bw(e,t);if(n?.atom.kind===`piecewise`)return n}return null}var Uw=(e,t)=>[...e.rowPath,{atom:e.index,branch:t}],Ww=e=>e.value.length===0&&e.condition.length===0,Gw=e=>{let t=Hw(e);if(!t)return e;let n=Dx(t.branch),{pieces:r}=t.atom,i=n.part===`otherwise`?r.length:n.piece+1,a={...t.atom,pieces:[...r.slice(0,i),{value:[],condition:[]},...r.slice(i)]};return Iw(e,t.rowPath,t.index,1,[a],{path:Uw(t,`value${i}`),offset:0})},Kw=e=>{let t=Hw(e);if(!t)return e;let n=Uw(t,`otherwise`);if(t.atom.otherwise)return{root:e.root,cursor:{path:n,offset:t.atom.otherwise.length}};let r=Ux(`0.0`);return{...Iw(e,t.rowPath,t.index,1,[{...t.atom,otherwise:r}],{path:n,offset:r.length}),anchor:{path:n,offset:0}}};function qw(e,t){let n=Dx(t.branch),{pieces:r,otherwise:i}=t.atom;if(n.part===`otherwise`){if(!i||i.length>0)return null;let n=r.length-1;return Iw(e,t.rowPath,t.index,1,[{...t.atom,otherwise:null}],{path:Uw(t,`cond${n}`),offset:r[n].condition.length})}if(n.part!==`value`||r.length<2||!Ww(r[n.piece]))return null;let a={...t.atom,pieces:r.filter((e,t)=>t!==n.piece)},o=n.piece>0?{path:Uw(t,`cond${n.piece-1}`),offset:r[n.piece-1].condition.length}:{path:Uw(t,`value0`),offset:0};return Iw(e,t.rowPath,t.index,1,[a],o)}function Jw(e,t){let n=Dx(t.branch),{pieces:r,otherwise:i}=t.atom;if(n.part===`otherwise`)return!i||i.length>0?null:Iw(e,t.rowPath,t.index,1,[{...t.atom,otherwise:null}],{path:t.rowPath,offset:t.index+1});if(r.length<2||!Ww(r[n.piece]))return null;let a={...t.atom,pieces:r.filter((e,t)=>t!==n.piece)},o=n.piece<a.pieces.length?{path:Uw(t,`value${n.piece}`),offset:0}:a.otherwise?{path:Uw(t,`otherwise`),offset:0}:{path:t.rowPath,offset:t.index+1};return Iw(e,t.rowPath,t.index,1,[a],o)}function Yw(e){let t=Sw(e);return t?Iw(e,t.path,t.start,t.end-t.start,[],{path:t.path,offset:t.start}):e.anchor?{root:e.root,cursor:e.cursor}:e}function Xw(e){let t=e[0];return e.length===1&&t.kind===`group`&&t.open===`(`?t.body:e}function Zw(e,t,n){return r=>{let i=Sw(r);if(!i){let t=Yw(r),{path:i,offset:a}=t.cursor;return Iw(t,i,a,0,[e([])],{path:[...i,{atom:a,branch:n}],offset:0})}let{path:a,start:o,end:s}=i,c=Pw(r.root,a).slice(o,s),l=t===`after`?{path:a,offset:o+1}:{path:[...a,{atom:o,branch:t}],offset:0};return Iw(r,a,o,s-o,[e(c)],l)}}function Qw(e){return oS(e)?.latexName??e}function $w(e){return t=>{let n=Yw(t);if(e.length===0)return n;let{path:r,offset:i}=n.cursor;return Iw(n,r,i,0,e,{path:r,offset:i+e.length})}}function eT(e){return t=>{let n=Yw(t),{path:r,offset:i}=n.cursor;return Iw(n,r,i,0,[Px(e)],{path:r,offset:i+1})}}var tT=e=>{if(!Sw(e)){let{path:t,offset:n}=e.cursor,r=Pw(e.root,t)[n-1],i=r?.kind===`symbol`?LS(r.value):void 0;if(i)return Iw({root:e.root,cursor:e.cursor},t,n-1,1,[Px(i)],{path:t,offset:n})}return eT(`=`)(e)},nT=e=>{let t=Sw(e);if(t){let{path:n,start:r,end:i}=t,a=Hx([[Pw(e.root,n).slice(r,i),[]]],Ux(`0.0`));return Iw(e,n,r,i-r,[a],{path:[...n,{atom:r,branch:`cond0`}],offset:0})}return rT(Hx([[[],[]]],Ux(`0.0`)),`value0`)(e)};function rT(e,t){return n=>{let r=Yw(n),{path:i,offset:a}=r.cursor;return Iw(r,i,a,0,[e],{path:[...i,{atom:a,branch:t}],offset:0})}}var iT=Zw(e=>Ix(Xw(e),[]),`den`,`num`),aT=e=>{if(Sw(e))return iT(e);let t=Yw(e),{path:n,offset:r}=t.cursor,i=Pw(t.root,n),a=r;for(;a>0&&!Rw(i[a-1]);)a--;let o=Xw(i.slice(a,r)),s=o.length>0?`den`:`num`;return Iw(t,n,a,r-a,[Ix(o,[])],{path:[...n,{atom:a,branch:s}],offset:0})},oT=e=>{let t=Sw(e);if(t){let{path:n,start:r,end:i}=t,a=Pw(e.root,n).slice(r,i),o=a.length===1?a:[zx(a,`(`)];return Iw(e,n,r,i-r,[...o,Lx()],{path:[...n,{atom:r+o.length,branch:`sup`}],offset:0})}let n=Yw(e),{path:r,offset:i}=n.cursor,a=Pw(n.root,r),o=a[i],s=a[i-1];return o?.kind===`superscript`?{root:n.root,cursor:{path:[...r,{atom:i,branch:`sup`}],offset:0}}:s?.kind===`superscript`?{root:n.root,cursor:{path:[...r,{atom:i-1,branch:`sup`}],offset:s.sup.length}}:rT(Lx(),`sup`)(n)};function sT(e,t){for(let n=e.cursor.path.length;n>0;n--){let r=Bw(e,n);if(r.atom.kind===`group`&&t.includes(r.atom.open))return{owner:r,depth:n}}return null}function cT(e){return t=>{let n=t.anchor?Aw(t,`end`):t,r=sT(n,e);if(!r)return t;let{owner:i,depth:a}=r,o={path:i.rowPath,offset:i.index+1};if(a!==n.cursor.path.length||i.atom.kind!==`group`)return{root:n.root,cursor:o};let s=i.atom.body,c=n.cursor.offset,l={...i.atom,body:s.slice(0,c)};return Iw(n,i.rowPath,i.index,1,[l,...s.slice(c)],o)}}var lT=e=>Zw(t=>zx(t,e),`after`,`body`),uT=e=>{if(!Sw(e)){let{path:t,offset:n}=e.cursor,r=OS(Pw(e.root,t),n);if(r)return Iw(e,t,r.start,n-r.start,[zx([],r.open)],{path:[...t,{atom:r.start,branch:`body`}],offset:0})}return lT(`(`)(e)},dT=e=>{if(JC(e.cursor))return e;let{path:t,offset:n}=e.cursor,r=Pw(e.root,t)[n-1];if(!Sw(e)&&r?.kind===`units`){let i=[...t,{atom:n-1,branch:`units`}];return{root:e.root,cursor:{path:i,offset:r.units.length},anchor:r.units.length?{path:i,offset:0}:null}}let i=Yw(e),a=i.cursor.offset;return CS(Pw(i.root,i.cursor.path).slice(0,a)).find(e=>e.end===a)?rT(Vx(),`units`)(i):e};function fT(e){return t=>{let{path:n,offset:r}=t.cursor,i=Pw(t.root,n);return!Sw(t)&&qC(i[r-1])&&tw(i,r-1,e)?Iw(t,n,r-1,0,[Px(e)],{path:n,offset:r+1}):eT(e)(t)}}var pT=e=>{let t=e.anchor?Aw(e,`end`):e;for(let e=t.cursor.path.length;e>0;e--){let n=Bw(t,e);if(n.atom.kind===`units`)return{root:t.root,cursor:{path:n.rowPath,offset:n.index+1}}}return e},mT=lT(`⌊`),hT=lT(`⌈`),gT=cT([`(`,`⌊`,`⌈`]),_T=e=>{if(Sw(e))return TT(e);let t=Bw(e);return t?.atom.kind===`group`&&t.atom.open===`|`?cT([`|`])(e):rT(zx([],`|`),`body`)(e)},vT=e=>{if(Sw(e))return Aw(e,`end`);let t=Bw(e);return t?{root:e.root,cursor:{path:t.rowPath,offset:t.index+1}}:e},yT=e=>{if(Sw(e))return Yw(e);let{path:t,offset:n}=e.cursor,r=Pw(e.root,t);if(n>0){let i=r[n-1],a=n-1;if(i.kind===`units`)return r[a-1]?.kind===`symbol`?ew([...r.slice(0,a-1),...r.slice(a)],a-1)?Iw(e,t,a-1,1,[],{path:t,offset:a}):Iw(e,t,a-1,2,[],{path:t,offset:a-1}):Iw(e,t,a,1,[],{path:t,offset:a});if(i.kind===`symbol`)return Iw(e,t,a,1,[],{path:t,offset:a});if(i.kind===`function`){let n=Ux(Qw(i.name).slice(0,-1));return Iw(e,t,a,1,n,{path:t,offset:a+n.length})}if(zw(i))return Iw(e,t,a,1,[],{path:t,offset:a});let o=Ex(i),[s,c]=o[o.length-1];return{root:e.root,cursor:{path:[...t,{atom:a,branch:s}],offset:c.length}}}let i=Bw(e);if(!i)return e;if(i.atom.kind===`piecewise`){let t=qw(e,i);if(t)return t}if(zw(i.atom))return Iw(e,i.rowPath,i.index,1,[],{path:i.rowPath,offset:i.index});let a=Ex(i.atom),o=a.findIndex(([e])=>e===i.branch);if(o>0){let[t,n]=a[o-1];return{root:e.root,cursor:{path:[...i.rowPath,{atom:i.index,branch:t}],offset:n.length}}}return Vw(e,i,0)},bT=e=>{if(Sw(e))return Yw(e);let{path:t,offset:n}=e.cursor,r=Pw(e.root,t);if(n<r.length){let i=r[n];if(i.kind===`symbol`)return Iw(e,t,n,1,[],{path:t,offset:n});if(i.kind===`function`)return Iw(e,t,n,1,Ux(Qw(i.name).slice(1)),{path:t,offset:n});if(zw(i))return Iw(e,t,n,1,[],{path:t,offset:n});let[a]=Ex(i)[0];return{root:e.root,cursor:{path:[...t,{atom:n,branch:a}],offset:0}}}let i=Bw(e);if(!i)return e;if(i.atom.kind===`piecewise`){let t=Jw(e,i);if(t)return t}if(zw(i.atom))return Iw(e,i.rowPath,i.index,1,[],{path:i.rowPath,offset:i.index});let a=Ex(i.atom),o=a.findIndex(([e])=>e===i.branch);if(o<a.length-1){let[t]=a[o+1];return{root:e.root,cursor:{path:[...i.rowPath,{atom:i.index,branch:t}],offset:0}}}return Vw(e,i,a.reduce((e,[,t])=>e+t.length,0))};function xT(e){return t=>{let n=dw(t.root);if(n.filter(({path:e})=>Pw(t.root,e).length===0).length===0)return t;let r=n.findIndex(e=>lw(e,t.cursor)),i=(e===`forward`?[...n.slice(r+1),...n.slice(0,r+1)]:[...n.slice(0,r).reverse(),...n.slice(r).reverse()]).find(e=>Pw(t.root,e.path).length===0);return!i||lw(i,t.cursor)?t:{root:t.root,cursor:i}}}function ST(e){return t=>{let n=Sw(t);if(n){let{path:r,start:i,end:a}=n,o=Pw(t.root,r).slice(i,a);return Iw(t,r,i,a-i,[Fx(e),zx(o,`(`)],{path:r,offset:i+2})}let r=Yw(t),{path:i,offset:a}=r.cursor;return Iw(r,i,a,0,[Fx(e),zx([],`(`)],{path:[...i,{atom:a+1,branch:`body`}],offset:0})}}var CT=Zw(e=>Rx(e),`after`,`body`),wT=Zw(e=>Rx(e,[]),`index`,`index`),TT=Zw(e=>zx(e,`|`),`after`,`body`),ET=Zw(e=>Bx(e,[]),`variable`,`expr`);function DT(e){switch(e){case`frac`:case`fraction`:return iT;case`sqrt`:return CT;case`root`:return wT;case`abs`:return TT;case`dd`:case`diff`:case`derivative`:return ET;case`pow`:case`power`:return oT;case`cases`:case`piecewise`:return nT;case`otherwise`:return Kw;case`units`:return dT;case`floor`:case`lfloor`:return mT;case`ceil`:case`ceiling`:case`lceil`:return hT}let t=FS(e);if(t)return eT(t.symbol);let n=Jx(e);if(n)return eT(n.symbol);let r=mS(e);return r?ST(r):$w(fS.has(e)?[Px(e)]:Ux(e))}var OT={kind:`other`},kT=new Set([`+`,`-`,`=`,`·`,`,`,`<`,`>`,`≤`,`≥`,`≠`,`∧`,`∨`,`⊻`,`¬`]);function AT(e,t){switch(t.kind){case`type`:return{key:`type:${e}`,fresh:!!t.replacedSelection||kT.has(t.text??``)&&!t.exponentSign};case`deleteBackward`:case`deleteForward`:return t.replacedSelection?{key:null,fresh:!0}:{key:`${t.kind}:${e}`,fresh:!1};default:return{key:null,fresh:!0}}}var jT=class{undoStack=[];redoStack=[];openGroup=null;lastEditAt=-1/0;limit;pauseMs;now;constructor(e={}){this.limit=e.limit??200,this.pauseMs=e.pauseMs??1e3,this.now=e.now??(()=>Date.now())}get canUndo(){return this.undoStack.length>0}get canRedo(){return this.redoStack.length>0}checkpoint(e,t={key:null,fresh:!0}){let n=this.now(),r=t.key!==null&&!t.fresh&&t.key===this.openGroup&&n-this.lastEditAt<=this.pauseMs;this.lastEditAt=n,this.openGroup=t.key,!r&&(this.undoStack.push(e()),this.undoStack.length>this.limit&&this.undoStack.shift(),this.redoStack=[])}breakGroup(){this.openGroup=null}undo(e){let t=this.undoStack.pop();return t===void 0?null:(this.redoStack.push(e),this.breakGroup(),t)}redo(e){let t=this.redoStack.pop();return t===void 0?null:(this.undoStack.push(e),this.breakGroup(),t)}},MT=/^[A-Za-z0-9_.+\-=,]$/;function NT(e){return MT.test(e.key)?e.key:e.key in RS?RS[e.key]:e.key===`*`?`·`:null}function PT(e){let{key:t}=e,n=NT(e);if(n===`=`)return tT;if(n!==null)return fT(n);switch(t){case`/`:return aT;case`^`:return oT;case`(`:return uT;case`)`:return gT;case`{`:return dT;case`}`:return pT;case`|`:return _T;case` `:return vT;case`Backspace`:return yT;case`Delete`:return bT;case`Tab`:return xT(e.shiftKey?`backward`:`forward`);case`Enter`:return e.shiftKey?null:Gw;default:return null}}var FT=`http://www.w3.org/1998/Math/MathML`,IT=`http://www.cellml.org/cellml/2.0#`;function LT(e){return/^\s*(<\?xml[^>]*\?>\s*)?(<!--[\s\S]*?-->\s*)*<([A-Za-z_][\w.-]*:)?(math|apply|piecewise|ci|cn)\b/.test(e)}function RT(e){let t=`<wrapper xmlns="${FT}" xmlns:cellml="${IT}">${e.replace(/^\s*<\?xml[^>]*\?>/,``)}</wrapper>`,n=new DOMParser().parseFromString(t,`application/xml`);if(n.getElementsByTagName(`parsererror`).length>0)return null;let r=new Set,i=new KT(r),a=n.documentElement,o=zT(a).filter(e=>e.localName===`math`);return{equations:(o.length?o.flatMap(zT):zT(a)).map(e=>i.expression(e).row),problems:[...r]}}var zT=e=>Array.from(e.children),BT={Or:1,Xor:2,And:3,Not:4,Comparison:5,Additive:6,Unary:7,Term:8,Primary:9},VT={or:{symbol:`∨`,level:BT.Or},xor:{symbol:`⊻`,level:BT.Xor},and:{symbol:`∧`,level:BT.And}},HT=new Map(kS.filter(e=>e.role===`comparison`).map(e=>[e.mathml,e.symbol])),UT=new Map(Wx.map(e=>[e.mathml,e.symbol])),WT=new Map(Object.values(aS).map(e=>[e.mathMlTag,e.name])),GT=/^[A-Za-z_][A-Za-z0-9_]*$/,KT=class{problems;constructor(e){this.problems=e}expression(e){switch(e.localName){case`ci`:return this.identifier(e);case`cn`:return this.number(e);case`apply`:return this.apply(e);case`piecewise`:return this.piecewise(e);default:{let t=UT.get(e.localName);return t?YT([Px(t)]):this.unsupported(`<${e.localName}>`)}}}unsupported(e){return this.problems.add(`${e} isn't supported; it was left as an empty slot`),YT([zx([])])}identifier(e){let t=(e.textContent??``).trim();return GT.test(t)?(mS(t)?this.problems.add(`The variable ${t} has the name of a function, so it reads as one here`):xS(t)&&this.problems.add(`The variable ${t} has a reserved name, so it reads as the constant here`),YT(vC(t))):(this.problems.add(`"${t}" isn't a CellML variable name`),YT(Ux(t)))}number(e){let t=QT(e),n;if(e.getAttribute(`type`)===`e-notation`){let t=zT(e).find(e=>e.localName===`sep`),r=t?$T(e,t):e.textContent??``,i=t?eE(e,t):`0`;n=`${r.trim()}e${i.trim()}`}else n=(e.textContent??``).trim();let r=n.startsWith(`-`),i=r?n.slice(1):n.replace(/^\+/,``);/^(\d+\.?\d*|\.\d+)([eE][+-]?\d+)?$/.test(i)||this.problems.add(`"${n}" isn't a number`);let a=Ux(i);return t&&t!==`dimensionless`&&(GT.test(t)||this.problems.add(`"${t}" isn't a units name`),a.push(Vx(Ux(t)))),r?{row:[Px(`-`),...a],level:BT.Unary}:YT(a)}apply(e){let[t,...n]=zT(e);if(!t)return this.unsupported(`An empty <apply>`);let r=n.filter(e=>qT.has(e.localName)),i=n.filter(e=>!qT.has(e.localName)),a=()=>i.map(e=>this.expression(e)),o=t.localName;if(o===`eq`||HT.has(o)){let[e,t]=a();if(!e||!t||i.length!==2)return this.unsupported(`<${o}> without two operands`);let n=o===`eq`?`=`:HT.get(o);return{row:[...XT(e,BT.Additive),Px(n),...XT(t,BT.Additive)],level:BT.Comparison}}if(VT[o]){let{symbol:e,level:t}=VT[o];return{row:ZT(a(),e,t),level:t}}switch(o){case`not`:{let[e]=a();return e?{row:[Px(`¬`),...XT(e,BT.Not)],level:BT.Not}:this.unsupported(`<not> without an operand`)}case`plus`:return{row:ZT(a(),`+`,BT.Additive),level:BT.Additive};case`minus`:{let e=a();if(e.length===1)return{row:[Px(`-`),...XT(e[0],BT.Term)],level:BT.Unary};if(e.length!==2)return this.unsupported(`<minus> with more than two operands`);let[t,n]=e;return{row:[...XT(t,BT.Additive),Px(`-`),...XT(n,BT.Term)],level:BT.Additive}}case`times`:return{row:ZT(a(),`·`,BT.Term),level:BT.Term};case`divide`:{let[e,t]=a();return!e||!t?this.unsupported(`<divide> without two operands`):YT([Ix(e.row,t.row)])}case`power`:{let[e,t]=a();return!e||!t?this.unsupported(`<power> without two operands`):YT([...XT(e,BT.Primary),Lx(t.row)])}case`root`:{let[e]=a();if(!e)return this.unsupported(`<root> without an operand`);let t=JT(r,`degree`),n=t?this.inner(t):null;return YT([Rx(e.row,n)])}case`abs`:{let[e]=a();return e?YT([zx(e.row,`|`)]):this.unsupported(`<abs> without an operand`)}case`diff`:return this.derivative(r,i);default:return this.functionCall(o,r,a())}}functionCall(e,t,n){let r=WT.get(e);if(!r)return this.unsupported(`<${e}>`);if(n.length===0)return this.unsupported(`<${e}> without an operand`);let i=lS(r);if(i&&n.length===1)return YT([zx(n[0].row,i.open,i.close)]);let a=e===`log`?JT(t,`logbase`):void 0,o=(a?[n[0],{row:this.inner(a),level:BT.Primary}]:n).flatMap((e,t)=>t===0?e.row:[Px(`,`),...e.row]);return YT([Fx(r),zx(o)])}derivative(e,t){let n=JT(e,`bvar`),[r]=t;if(!n||!r)return this.unsupported(`<diff> without <bvar> and an operand`);let i=zT(n).find(e=>e.localName===`ci`),a=zT(n).find(e=>e.localName===`degree`);return a&&(a.textContent??``).trim()!==`1`?this.unsupported(`A derivative of order other than 1`):i?YT([Bx(this.expression(r).row,this.expression(i).row)]):this.unsupported(`<bvar> without a <ci>`)}piecewise(e){let t=[],n=null;for(let r of zT(e)){let[e,i]=zT(r);r.localName===`piece`&&e&&i?t.push([this.expression(e).row,this.expression(i).row]):r.localName===`otherwise`&&e?n=this.expression(e).row:this.problems.add(`<${r.localName}> in <piecewise> isn't supported; it was left out`)}return t.length===0?this.unsupported(`A <piecewise> without a <piece>`):YT([Hx(t,n)])}inner(e){let[t]=zT(e);return t?this.expression(t).row:[]}},qT=new Set([`bvar`,`degree`,`logbase`]),JT=(e,t)=>e.find(e=>e.localName===t),YT=e=>({row:e,level:BT.Primary});function XT(e,t){return e.level<t?[zx(e.row)]:e.row}function ZT(e,t,n){let r=[];return e.forEach((e,i)=>{i>0&&r.push(Px(t));let a=e.level===BT.Unary&&(t===`+`&&i>0||t===`·`&&i===0)?BT.Unary:n;r.push(...XT(e,a))}),r}function QT(e){for(let t of Array.from(e.attributes))if(t.localName===`units`&&(t.prefix===`cellml`||t.namespaceURI?.includes(`cellml.org`)))return t.value.trim();return null}function $T(e,t){let n=``;for(let r of Array.from(e.childNodes)){if(r===t)break;n+=r.textContent??``}return n}function eE(e,t){let n=``,r=!1;for(let i of Array.from(e.childNodes))r&&(n+=i.textContent??``),i===t&&(r=!0);return n}var tE=e=>e.kind??`error`,nE=e=>tE(e)!==`hint`,rE=[`aria-invalid`],iE=[`data-kind`],aE=[`innerHTML`],oE=Pr({__name:`MathField`,props:{modelValue:{},cursor:{},anchor:{default:null},active:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1},marks:{default:()=>[]},greekNames:{type:Boolean,default:!0}},emits:[`navigate`,`edit`,`import`],setup(e,{expose:t,emit:n}){let r=e,i=n,a=sn(null),o=sn(!1),s=sn(null),c=sn(!1),l=sn(null),u=sn(null),d=sn([]),f=sn(null),p=sn(0);function m(){return{root:r.modelValue,cursor:r.cursor,anchor:r.anchor}}let h=P(()=>Sw(m())),g=P(()=>{let e=new Set(r.marks.filter(nE).flatMap(e=>e.atomIds)),t=r.active?YC(r.modelValue,r.cursor):null;return t&&e.add(t),e}),_=P(()=>qy.renderToString(XS(r.modelValue,{activeRow:r.active?r.cursor.path:null,shownUnits:g.value,greekNames:r.greekNames}),eC)),v=P(()=>r.active&&o.value&&!h.value&&s.value!==null&&!c.value),y=P(()=>r.active&&o.value&&u.value!==null),b=P(()=>r.active&&l.value!==null);function x(){let e=a.value,t=e?lC(e,r.modelValue,r.cursor):null;s.value=t?{left:`${t.left}px`,top:`${t.top}px`,height:`${t.height}px`}:null,c.value=t?.placeholder??!1;let n=r.cursor.path,i=e&&n.length>0&&Ax(r.modelValue,n)?.length?hC(e,n):null;u.value=i?{left:`${i.left}px`,top:`${i.top}px`,width:`${i.width}px`,height:`${i.height}px`}:null;let o=h.value,p=e&&o?pC(e,r.modelValue,o):null;l.value=p?{left:`${p.left}px`,top:`${p.top}px`,width:`${p.width}px`,height:`${p.height}px`}:null,d.value=e?r.marks.flatMap(t=>{let n=mC(e,t.atomIds,1);return n?[{box:n,message:t.message,kind:tE(t)}]:[]}):[],f.value=null}function S(e){return{left:`${e.left}px`,top:`${e.top}px`,width:`${e.width}px`,height:`${e.height+4}px`}}function C(e){let t=a.value;if(!t||ae||d.value.length===0){f.value=null;return}let n=t.getBoundingClientRect(),r=e.clientX-n.left+t.scrollLeft,i=e.clientY-n.top+t.scrollTop,o=d.value.filter(({box:e})=>r>=e.left&&r<=e.left+e.width&&i>=e.top&&i<=e.top+e.height+4),s=o.find(e=>e.kind!==`hint`)??o[0];f.value=s?{message:s.message,left:n.left+s.box.left-t.scrollLeft,top:n.top+s.box.top+s.box.height+6-t.scrollTop}:null}tr([_,()=>r.cursor,()=>r.anchor,()=>r.active,()=>r.marks],async()=>{await Fn(),x(),p.value++},{immediate:!0,deep:!0}),Xr(()=>{window.addEventListener(`resize`,x),document.addEventListener(`copy`,fe),document.addEventListener(`cut`,pe),document.addEventListener(`paste`,me),document.fonts?.ready.then(x)}),$r(()=>{window.removeEventListener(`resize`,x),document.removeEventListener(`copy`,fe),document.removeEventListener(`cut`,pe),document.removeEventListener(`paste`,me),le()});let ee=(e,t)=>{let n=a.value,i=n?lC(n,r.modelValue,r.cursor):null;if(!n||!i)return r.cursor.offset;let o=n.getBoundingClientRect().left+i.left-n.scrollLeft;return uC(n,r.modelValue,t,o)};function te(e){i(`navigate`,{cursor:e.cursor,anchor:e.anchor??null})}function ne(e){let t=m();if((e.ctrlKey||e.metaKey)&&!e.altKey&&e.key.toLowerCase()===`a`){e.preventDefault(),te(Ow(t));return}if(e.altKey||e.ctrlKey||e.metaKey)return;let n;switch(e.key){case`ArrowLeft`:case`ArrowRight`:{let r=e.key===`ArrowRight`?`forward`:`backward`;n=e.shiftKey?Ew(t,r):jw(t,r);break}case`ArrowUp`:case`ArrowDown`:if(n=Mw(t,e.key===`ArrowUp`?`up`:`down`,ee),!n)return;break;case`Home`:case`End`:{let r=e.key===`Home`?`start`:`end`;n=e.shiftKey?Dw(t,r):{...t,cursor:r===`start`?sw():cw(t.root),anchor:null};break}case`Escape`:if(!t.anchor)return;n=Aw(t);break;default:w(e,t);return}e.preventDefault(),n&&te(n)}let re=new Set([`Backspace`,`Delete`,`Tab`,`Enter`]);function w(e,t){if(r.readonly)return;let n=PT(e);if(!n)return;let a=n(t);if(a===t){re.has(e.key)||e.preventDefault();return}e.preventDefault(),i(`edit`,a,ie(e,t))}function ie(e,t){let n=Sw(t)!==null,r=NT(e);if(r!==null){let e=Ax(t.root,t.cursor.path),i=t.cursor.offset-+!!qC(e?.[t.cursor.offset-1]);return{kind:`type`,text:r,replacedSelection:n,exponentSign:!n&&(r===`-`||r===`+`)&&!!e&&iS(e,i)}}return e.key===`Backspace`?{kind:`deleteBackward`,replacedSelection:n}:e.key===`Delete`?{kind:`deleteForward`,replacedSelection:n}:OT}let ae=null;function oe(e){let t=a.value;return t?fC(t,r.modelValue,e.clientX,e.clientY):null}function se(e){if(e.preventDefault(),f.value=null,e.button!==0)return;let t=oe(e);if(!t)return;a.value?.focus();let n=m();ae=e.shiftKey?n.anchor??n.cursor:t,te(kw(n,ae,t)),window.addEventListener(`mousemove`,ce),window.addEventListener(`mouseup`,le)}function ce(e){if(!ae)return;let t=oe(e);t&&te(kw(m(),ae,t))}function le(){ae=null,window.removeEventListener(`mousemove`,ce),window.removeEventListener(`mouseup`,le)}let ue=()=>!!a.value&&document.activeElement===a.value;function de(e){let t=Cw(m());return t.length===0||!e.clipboardData?!1:(e.preventDefault(),e.clipboardData.setData(`text/plain`,PC(t,{greekNames:r.greekNames})),e.clipboardData.setData(CC,wC(t)),!0)}function fe(e){ue()&&de(e)}function pe(e){ue()&&!r.readonly&&de(e)&&i(`edit`,yT(m()),OT)}function me(e){if(!ue()||r.readonly||!e.clipboardData)return;e.preventDefault();let t=e.clipboardData,n=TC(t.getData(CC)),a=t.getData(`text/plain`);if(!n&<(a)){i(`import`,RT(a)??{equations:[],problems:[`The pasted MathML isn't well-formed XML, so nothing was imported`]});return}let o=n??KC(a);o.length>0&&i(`edit`,$w(o)(m()),OT)}return t({focus:()=>a.value?.focus()}),(t,n)=>(D(),O(`div`,{ref_key:`surfaceEl`,ref:a,class:be([`math-field`,{active:e.active,focused:o.value}]),tabindex:`0`,role:`textbox`,"aria-label":`Equation`,"aria-invalid":e.marks.some(T(nE))||void 0,onKeydown:ne,onMousedown:se,onMousemove:C,onMouseleave:n[0]||=e=>f.value=null,onFocus:n[1]||=e=>o.value=!0,onBlur:n[2]||=e=>o.value=!1},[y.value?(D(),O(`div`,{key:0,class:`row-tint`,"data-role":`active-row`,style:he(u.value)},null,4)):M(``,!0),b.value?(D(),O(`div`,{key:1,class:`selection`,style:he(l.value)},null,4)):M(``,!0),(D(!0),O(E,null,pi(d.value,(e,t)=>(D(),O(E,{key:t},[e.kind===`hint`?M(``,!0):(D(),O(`div`,{key:0,class:be([`mark`,`mark-${e.kind}`]),"data-role":`mark`,"data-kind":e.kind,style:he(S(e.box))},null,14,iE))],64))),128)),v.value?(D(),O(`div`,{key:p.value,class:`caret`,style:he(s.value)},null,4)):M(``,!0),k(`div`,{class:`math-content`,innerHTML:_.value},null,8,aE),f.value?(D(),O(`div`,{key:3,class:`mark-tip`,role:`tooltip`,"data-role":`mark-tip`,style:he({left:`${f.value.left}px`,top:`${f.value.top}px`})},je(f.value.message),5)):M(``,!0)],42,rE))}}),sE=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},cE=sE(oE,[[`__scopeId`,`data-v-5fff49cc`]]);function lE(e){let t=[];return{ast:gE(e,t),diagnostics:t}}var uE={"+":`+`,"-":`-`,"−":`-`,"=":`=`,"*":`*`,"·":`*`,"×":`*`,",":`,`,...Object.fromEntries(kS.map(e=>[e.symbol,e.symbol]))},dE=/^[A-Za-z_][A-Za-z0-9_]*$/,fE=[{symbol:`∨`,type:`Or`},{symbol:`⊻`,type:`Xor`},{symbol:`∧`,type:`And`}];function pE(e,t){let n=[],r=0;for(;r<e.length;){let i=e[r];if(i.kind===`function`){n.push({kind:`function`,name:i.name,atomIds:[i.id]}),r++;continue}if(vS(i)){let t=bS(e,r),i=e.slice(r,t),a=i.map(e=>e.value).join(``),o=i.map(e=>e.id);r=t;let s=mS(a),c=xS(a);n.push(s?{kind:`function`,name:s,atomIds:o}:c?{kind:`constant`,name:c,atomIds:o}:{kind:`identifier`,name:a,atomIds:o});continue}if(i.kind!==`symbol`){n.push({kind:`structure`,atom:i,atomIds:[i.id]}),r++;continue}let a=rS(e,r);if(a){let i=e.slice(a.start,a.end).map(e=>e.id);r=a.end;let o=Number(a.text);if(!Number.isFinite(o)){let e=Number.isNaN(o)?`Malformed number`:`Number out of range`;t.push({message:`${e} "${a.text}"`,atomIds:i});let r=Number.parseFloat(a.text);n.push({kind:`number`,value:Number.isFinite(r)?r:0,atomIds:i})}else if(a.exponent!==null){let e={mantissa:a.mantissa,exponent:Number(a.exponent)};n.push({kind:`number`,value:o,scientific:e,atomIds:i})}else n.push({kind:`number`,value:o,atomIds:i});continue}let o=uE[i.value],s=[i.id];o?n.push({kind:`operator`,op:o,atomIds:s}):qx(i.value)?n.push({kind:`constant`,name:i.value,atomIds:s}):/^[A-Za-z]+$/.test(i.value)?n.push({kind:`identifier`,name:i.value,atomIds:s}):n.push({kind:`unknown`,value:i.value,atomIds:s}),r++}return n}function mE(e){if(e===`=`)return`Equal`;let t=NS(e);return t?.role===`comparison`?t.type:null}function hE(){return{type:`Placeholder`}}function gE(e,t){return e.length===0?hE():new _E(pE(e,t),t).parseAll()}var _E=class{tokens;diagnostics;index=0;constructor(e,t){this.tokens=e,this.diagnostics=t}parseAll(){let e=this.parseLogic(0);for(;this.peek();)this.reportUnexpected(this.next());return e}parseLogic(e){if(e===fE.length)return this.parseNot();let{symbol:t,type:n}=fE[e],r=[this.parseLogic(e+1)];for(;this.peekOperator(t);)this.next(),r.push(this.parseLogic(e+1));return r.length===1?r[0]:{type:n,children:r}}parseNot(){return this.peekOperator(`¬`)?(this.next(),{type:`Not`,value:this.parseNot()}):this.parseComparison()}parseComparison(){let e=this.parseAdditive(),t=0;for(;;){let n=this.peek(),r=n?.kind===`operator`?mE(n.op):null;if(!n||!r)return e;this.next(),t++>0&&this.diagnostics.push({message:`Comparisons can't be chained: join them with ∧`,atomIds:n.atomIds}),e={type:r,left:e,right:this.parseAdditive()}}}parseAdditive(){let e=this.parseUnary();for(;;){if(this.peekOperator(`+`)){this.next();let t=this.parseUnary();e=e.type===`Add`?{type:`Add`,children:[...e.children,t]}:{type:`Add`,children:[e,t]};continue}if(this.peekOperator(`-`)){this.next(),e={type:`Subtract`,minuend:e,subtrahend:this.parseUnary()};continue}return e}}parseUnary(){return this.peekOperator(`-`)?(this.next(),{type:`Negate`,value:this.parseUnary()}):this.parseTerm()}parseTerm(){let e=[this.parseFactor()];for(;;){if(this.skipInvalid(),this.peekOperator(`*`)){this.next(),e.push(this.parseFactor());continue}if(this.startsPrimary(this.peek())){e.push(this.parseFactor());continue}break}return e.length===1?e[0]:{type:`Multiply`,children:e}}parseFactor(){let e=this.parsePrimary();for(;this.peekStructure(`superscript`);)e={type:`Power`,base:e,exponent:this.parseSuperscript()};return e}parseSuperscript(){let e=this.next().atom;return e.kind===`superscript`?this.child(e.sup):hE()}parsePrimary(){this.skipInvalid();let e=this.peek();if(!e||!this.startsPrimary(e))return hE();switch(this.next(),e.kind){case`number`:return this.parseNumber(e);case`identifier`:return{type:`Identifier`,name:e.name};case`constant`:return{type:`Constant`,name:e.name};case`function`:return this.parseFunction(e.name);case`structure`:return this.parseStructure(e.atom);default:return hE()}}parseNumber(e){let t={type:`Number`,value:e.value};if(e.scientific&&(t.scientific=e.scientific),this.peekStructure(`units`)){let e=this.unitsName(this.next());e&&(t.units=e)}return t}unitsName(e){let t=e.atom.units.map(e=>e.kind===`symbol`?e.value:`?`).join(``);return dE.test(t)?t:(t&&this.diagnostics.push({message:`"${t}" isn't a units name`,atomIds:e.atomIds}),null)}parseFunction(e){let t=[];for(;this.peekStructure(`superscript`);)t.push(this.parseSuperscript());let n,r=this.peek();r?.kind===`structure`&&r.atom.kind===`group`&&r.atom.open===`(`?(this.next(),n=this.parseArguments(r.atom.body)):n=r&&this.startsPrimary(r)?[this.parseFactor()]:[hE()];let i={type:`FunctionCall`,name:e,args:n};for(let e of t)i={type:`Power`,base:i,exponent:e};return i}parseArguments(e){let t=[[]];for(let n of e)n.kind===`symbol`&&n.value===`,`?t.push([]):t[t.length-1].push(n);return t.map(e=>this.child(e))}parseStructure(e){switch(e.kind){case`fraction`:return{type:`Divide`,numerator:this.child(e.num),denominator:this.child(e.den)};case`group`:{if(e.open===`|`)return{type:`Abs`,value:this.child(e.body)};let t=uS(e.open);return t?{type:`FunctionCall`,name:t,args:[this.child(e.body)]}:{type:`Group`,value:this.child(e.body)}}case`root`:return{type:`Root`,radicand:this.child(e.body),degree:e.index?this.child(e.index):null};case`derivative`:return{type:`Derivative`,expression:this.child(e.expr),variable:this.child(e.variable)};case`piecewise`:{let t=e.otherwise?this.child(e.otherwise):null,n=TS(e);return t?.type===`Number`&&n&&(t={...t,units:n}),{type:`Piecewise`,pieces:e.pieces.map(({value:e,condition:t})=>({value:this.child(e),condition:this.child(t)})),otherwise:t}}case`superscript`:return{type:`Power`,base:hE(),exponent:this.child(e.sup)};case`units`:return hE()}}child(e){return gE(e,this.diagnostics)}peek(){return this.tokens[this.index]}next(){return this.tokens[this.index++]}peekOperator(e){let t=this.peek();return t?.kind===`operator`&&t.op===e}peekStructure(e){let t=this.peek();return t?.kind===`structure`&&t.atom.kind===e}startsPrimary(e){if(!e)return!1;switch(e.kind){case`number`:case`identifier`:case`constant`:case`function`:return!0;case`structure`:return e.atom.kind!==`superscript`&&e.atom.kind!==`units`;default:return!1}}skipInvalid(){for(;;)if(this.peek()?.kind===`unknown`||this.peekOperator(`,`))this.reportUnexpected(this.next());else if(this.peekStructure(`units`)){let e=this.next();this.diagnostics.push({message:`Units belong straight after a number`,atomIds:e.atomIds})}else return}reportUnexpected(e){let t=e.kind===`operator`?e.op:e.kind===`unknown`?e.value:e.kind;this.diagnostics.push({message:`Unexpected "${t}"`,atomIds:e.atomIds})}};function vE(e){return oS(e)?.mathJson??e}function yE(e){switch(e.type){case`Number`:return e.value;case`Identifier`:return e.name;case`Constant`:return qx(e.name).mathJson;case`Add`:return[`Add`,...e.children.map(yE)];case`Multiply`:return[`Multiply`,...e.children.map(yE)];case`Subtract`:return[`Subtract`,yE(e.minuend),yE(e.subtrahend)];case`Negate`:return[`Negate`,yE(e.value)];case`Abs`:return[`Abs`,yE(e.value)];case`Group`:return yE(e.value);case`Root`:return e.degree?[`Root`,yE(e.radicand),yE(e.degree)]:[`Sqrt`,yE(e.radicand)];case`FunctionCall`:return[vE(e.name),...e.args.map(yE)];case`Equal`:case`Less`:case`Greater`:case`LessEqual`:case`GreaterEqual`:case`NotEqual`:return[e.type,yE(e.left),yE(e.right)];case`And`:case`Or`:case`Xor`:return[e.type,...e.children.map(yE)];case`Not`:return[`Not`,yE(e.value)];case`Piecewise`:return[`Which`,...e.pieces.flatMap(({value:e,condition:t})=>[yE(t),yE(e)]),...e.otherwise?[`True`,yE(e.otherwise)]:[]];case`Divide`:return[`Divide`,yE(e.numerator),yE(e.denominator)];case`Power`:return[`Power`,yE(e.base),yE(e.exponent)];case`Derivative`:return[`Derivative`,yE(e.expression),yE(e.variable)];case`Placeholder`:return[`Missing`];default:return null}}function bE(e){return JSON.stringify(yE(e),null,2)}function xE(e){throw Error(`Unsupported AST node: ${JSON.stringify(e)}`)}function SE(e,t){return`
|
|
1607
|
-
<apply>
|
|
1608
|
-
<${e}/>
|
|
1609
|
-
${t.join(`
|
|
1610
|
-
`)}
|
|
1611
|
-
</apply>
|
|
1612
|
-
`}function CE(e,t){let n=t.cellml?` cellml:units="${e.units??`dimensionless`}"`:``,[r,i]=String(e.value).split(`e`),a=e.scientific?{mantissa:e.scientific.mantissa,exponent:e.scientific.exponent}:i===void 0?null:{mantissa:r,exponent:Number(i)};return a?`<cn${n} type="e-notation">${a.mantissa}<sep/>${a.exponent}</cn>`:`<cn${n}>${e.value}</cn>`}function wE(e,t={}){switch(e.type){case`Number`:return CE(e,t);case`Identifier`:return`<ci>${e.name}</ci>`;case`Constant`:return`<${qx(e.name).mathml}/>`;case`Add`:return SE(`plus`,e.children.map(e=>wE(e,t)));case`Multiply`:return SE(`times`,e.children.map(e=>wE(e,t)));case`Subtract`:return SE(`minus`,[wE(e.minuend,t),wE(e.subtrahend,t)]);case`Negate`:return SE(`minus`,[wE(e.value,t)]);case`Abs`:return SE(`abs`,[wE(e.value,t)]);case`Group`:return wE(e.value,t);case`Root`:return e.degree?`
|
|
1613
|
-
<apply>
|
|
1614
|
-
<root/>
|
|
1615
|
-
<degree>
|
|
1616
|
-
${wE(e.degree,t)}
|
|
1617
|
-
</degree>
|
|
1618
|
-
${wE(e.radicand,t)}
|
|
1619
|
-
</apply>
|
|
1620
|
-
`:SE(`root`,[wE(e.radicand,t)]);case`FunctionCall`:{let n=oS(e.name),r=e.args.map(e=>wE(e,t));return n?.mathMlTag?n.mathMlTag===`log`&&r.length===2?`
|
|
1621
|
-
<apply>
|
|
1622
|
-
<log/>
|
|
1623
|
-
<logbase>
|
|
1624
|
-
${r[1]}
|
|
1625
|
-
</logbase>
|
|
1626
|
-
${r[0]}
|
|
1627
|
-
</apply>
|
|
1628
|
-
`:SE(n.mathMlTag,r):`
|
|
1629
|
-
<apply>
|
|
1630
|
-
<ci>${e.name}</ci>
|
|
1631
|
-
${r.join(`
|
|
1632
|
-
`)}
|
|
1633
|
-
</apply>
|
|
1634
|
-
`}case`Divide`:return SE(`divide`,[wE(e.numerator,t),wE(e.denominator,t)]);case`Equal`:return SE(`eq`,[wE(e.left,t),wE(e.right,t)]);case`Less`:case`Greater`:case`LessEqual`:case`GreaterEqual`:case`NotEqual`:return SE(PS(e.type).mathml,[wE(e.left,t),wE(e.right,t)]);case`And`:case`Or`:case`Xor`:return SE(PS(e.type).mathml,e.children.map(e=>wE(e,t)));case`Not`:return SE(`not`,[wE(e.value,t)]);case`Piecewise`:{let n=e=>wE(e,t),r=e.pieces.map(({value:e,condition:t})=>`<piece>${n(e)}${n(t)}</piece>`),i=e.otherwise?`<otherwise>${n(e.otherwise)}</otherwise>`:``;return`<piecewise>${r.join(``)}${i}</piecewise>`}case`Power`:return SE(`power`,[wE(e.base,t),wE(e.exponent,t)]);case`Derivative`:return`
|
|
1635
|
-
<apply>
|
|
1636
|
-
<diff/>
|
|
1637
|
-
<bvar>
|
|
1638
|
-
${wE(e.variable,t)}
|
|
1639
|
-
</bvar>
|
|
1640
|
-
${wE(e.expression,t)}
|
|
1641
|
-
</apply>
|
|
1642
|
-
`;case`Placeholder`:return`<ci>_</ci>`;default:return xE(e)}}var TE=[{format:`latex`,label:`LaTeX`},{format:`mathjson`,label:`MathJSON`},{format:`mathml`,label:`Content MathML`}],EE=`http://www.w3.org/1998/Math/MathML`,DE=`http://www.cellml.org/cellml/2.0#`;function OE(e,t,n={}){switch(t){case`latex`:return PC(e,n);case`mathjson`:return bE(lE(e).ast);case`mathml`:return kE(e,n)}}function kE(e,t={}){let n=wE(lE(e).ast,t);return AE(`<math ${t.cellml?`xmlns="${EE}" xmlns:cellml="${DE}"`:`xmlns="${EE}"`}>${n}</math>`)}function AE(e,t=` `){let n=e.match(/<[^>]+>|[^<]+/g)??[],r=[],i=0;for(let e=0;e<n.length;e++){let a=n[e];if(!a.startsWith(`<`)){let e=a.trim();e&&r.push(t.repeat(i)+e);continue}if(a.startsWith(`</`)){i=Math.max(0,i-1),r.push(t.repeat(i)+a);continue}if(a.endsWith(`/>`)){r.push(t.repeat(i)+a);continue}let o=e+1;for(;o<n.length&&!n[o].startsWith(`</`);){let e=n[o];if(e.startsWith(`<`)&&!e.endsWith(`/>`))break;o++}let s=n.slice(e+1,o);if(n[o]?.startsWith(`</`)&&s.some(e=>!e.startsWith(`<`)&&e.trim())){let c=s.map(e=>e.startsWith(`<`)?e:e.trim()).join(``);r.push(t.repeat(i)+a+c+n[o]),e=o;continue}r.push(t.repeat(i)+a),i++}return r.join(`
|
|
1643
|
-
`)}function jE(e,t,n){if(!n)return{id:e,mathml:``,variables:[],units:[],complete:!1};let r=[],i=[],a=0,o=e=>{e.type===`Identifier`&&!r.includes(e.name)&&r.push(e.name),e.type===`Number`&&e.units&&!i.includes(e.units)&&i.push(e.units),e.type===`Placeholder`&&a++;for(let t of NE(e))o(t)};return o(n.ast),{id:e,mathml:kE(t,{cellml:!0}),variables:r,units:i,complete:n.diagnostics.length===0&&a===0&&!ME(t)}}function ME(e){return e.some(e=>e.kind===`units`&&e.units.length===0||Ex(e).some(([,e])=>ME(e)))}function NE(e){switch(e.type){case`Add`:case`Multiply`:case`And`:case`Or`:case`Xor`:return e.children;case`Subtract`:return[e.minuend,e.subtrahend];case`Negate`:case`Abs`:case`Group`:case`Not`:return[e.value];case`Root`:return e.degree?[e.radicand,e.degree]:[e.radicand];case`FunctionCall`:return e.args;case`Equal`:case`Less`:case`Greater`:case`LessEqual`:case`GreaterEqual`:case`NotEqual`:return[e.left,e.right];case`Divide`:return[e.numerator,e.denominator];case`Power`:return[e.base,e.exponent];case`Derivative`:return[e.expression,e.variable];case`Piecewise`:return[...e.pieces.flatMap(({value:e,condition:t})=>[e,t]),...e.otherwise?[e.otherwise]:[]];default:return[]}}function PE(e,t){let n=[],r=t.some(e=>e.numbers?.length||e.units?.length)?DS(e):[];for(let i of t){for(let t of i.variables??[])for(let r of ES(e,t))n.push({message:i.message,atomIds:r,kind:`units`});for(let e of r)(!e.inherited&&e.units!==null&&i.units?.includes(e.units)||i.numbers?.includes(e.value))&&n.push({message:i.message,atomIds:e.digitIds,kind:`units`})}return n}function FE(e,t){let n=[];for(let[r,i]of Object.entries(t??{}))for(let t of ES(e,r))n.push({message:`${r}: ${i}`,atomIds:t,kind:`hint`});for(let r of DS(e)){if(!r.units&&!t)continue;let e=r.inherited?`, as in the first piece`:``;n.push({message:`${r.value}: ${r.units||`dimensionless`}${e}`,atomIds:r.atomIds,kind:`hint`})}return n}var IE={class:`header-row`},LE={class:`toolbar`},RE={class:`toolbar-group`},zE=[`title`,`onClick`],BE=[`innerHTML`],VE={class:`toolbar-group`},HE=[`title`,`onClick`],UE=[`innerHTML`],WE={class:`toolbar-group`,"data-role":`constant-buttons`},GE=[`title`,`onClick`],KE=[`innerHTML`],qE={class:`toolbar-group`,"data-role":`condition-buttons`},JE=[`title`,`onClick`],YE=[`innerHTML`],XE={class:`toolbar-group`},ZE={class:`toolbar-group`},QE=[`data-line`,`data-line-id`,`onFocusin`],$E={class:`equation-label`},eD={key:0,class:`command-chip`,"data-role":`command`},tD={key:1,class:`focus-meta`},nD={"data-role":`cursor`},rD={"data-role":`selection`},iD={key:2,class:`diagnostics`,"data-role":`diagnostics`},aD={key:3,class:`import-notice`,"data-role":`import-notice`},oD={class:`import-notice-head`},sD={key:0},cD={key:4,class:`diagnostics units-issues`,"data-role":`units-issues`},lD={key:0,class:`side-column`,"data-role":`side`},uD={"data-role":`mathml`},dD={class:`output-actions`},fD={"data-role":`mathjson`},pD={"data-role":`latex`},mD={"data-role":`ast`},hD=sE(Pr({__name:`EquationWorkbench`,props:{cellml:{type:Boolean,default:!1},issues:{default:()=>[]},variableUnits:{default:void 0},greekNames:{type:Boolean,default:!0}},emits:[`equations-change`],setup(e,{emit:t}){let n=e,r=t,i=P(()=>({cellml:n.cellml,greekNames:n.greekNames})),a=sn([Nw()]),o=0,s=()=>`line-${++o}`,c=sn([s()]),l=sn(0),u=sn([]),d=sn(null);function f(){return a.value[l.value]}function p(e,t){a.value[e]=m(t)}let m=(e,t=!1)=>bC(rw(e),{greekNames:n.greekNames,cursorAway:t});tr(l,(e,t)=>{let n=a.value[t];n&&(a.value[t]=m(n,!0))}),tr(()=>n.greekNames,()=>{a.value=a.value.map((e,t)=>m(e,t!==l.value))});function h(){Fn(()=>u.value[l.value]?.focus())}let g=new jT,_=sn(0);function v(){return JSON.parse(JSON.stringify({equations:a.value,lineIds:c.value,active:l.value}))}function y(e=l.value,t=OT){g.checkpoint(v,AT(e,t)),_.value++}function b(e){e&&(a.value=e.equations,c.value=e.lineIds,l.value=Math.min(e.active,e.equations.length-1),_.value++,h())}let x=()=>b(g.undo(v())),S=()=>b(g.redo(v())),C=P(()=>_.value>=0&&g.canUndo),ee=P(()=>_.value>=0&&g.canRedo);function te(e,t,n){if(tn(t.root)===tn(a.value[e].root)){ne(e,{cursor:t.cursor,anchor:t.anchor??null});return}y(e,n),p(e,t)}function ne(e,{cursor:t,anchor:n}){g.breakGroup(),p(e,{...a.value[e],cursor:t,anchor:n})}let re=sn(null);function w(e,t){let n=t.equations.length;n===1?te(e,$w(t.equations[0])(a.value[e]),OT):n>1&&(y(e),a.value=t.equations.map(e=>m({root:e,cursor:cw(e),anchor:null},!0)),c.value=t.equations.map(()=>s()),l.value=0,h()),re.value=n>1||t.problems.length?{message:n>1?`Imported ${n} equations from Content MathML, replacing the lines there were.`:n===1?`Imported the equation from Content MathML.`:`Nothing was imported.`,problems:t.problems}:null}function ie(e){let t=f(),n=e(t);n!==t&&(y(),p(l.value,n)),h()}function ae(){y();let e=l.value+1;a.value.splice(e,0,Nw()),c.value.splice(e,0,s()),l.value=e,h()}function oe(e){e<0||e>=a.value.length||(g.breakGroup(),l.value=e,h())}function se(){if(a.value.length<=1)return;y(),a.value.splice(l.value,1),c.value.splice(l.value,1),l.value=Math.max(0,l.value-1);let e=f();p(l.value,{...e,cursor:cw(e.root),anchor:null}),h()}function ce(){let e=(d.value??``).trim();d.value=null,e&&ie(DT(e))}function le(e){if(/^[a-zA-Z0-9]$/.test(e.key))d.value+=e.key;else if(e.key===`Backspace`)d.value=d.value?d.value.slice(0,-1):null;else if([`Enter`,` `,`Tab`,`(`].includes(e.key))ce();else if(e.key===`Escape`)d.value=null;else return;e.preventDefault(),e.stopPropagation()}function ue(e){if(!e.target?.closest?.(`[data-role="side"]`)){if(d.value!==null){le(e);return}if((e.ctrlKey||e.metaKey)&&!e.altKey){let t=e.key.toLowerCase();(t===`z`||t===`y`)&&(e.preventDefault(),e.stopPropagation(),t===`y`||e.shiftKey?S():x());return}e.key===`\\`&&!e.altKey&&(e.preventDefault(),e.stopPropagation(),d.value=``)}}function de(e){if(!e.defaultPrevented)switch(e.key){case`Enter`:e.preventDefault(),ae();return;case`ArrowUp`:e.preventDefault(),oe(l.value-1);return;case`ArrowDown`:e.preventDefault(),oe(l.value+1);return;case`Backspace`:f().root.length===0&&(e.preventDefault(),se());return}}let fe=[{latex:`\\frac{a}{b}`,title:`Fraction ( / )`,command:aT},{latex:`x^{n}`,title:`Power ( ^ )`,command:oT},{latex:`\\sqrt{x}`,title:`Square root ( \\sqrt )`,command:CT},{latex:`\\sqrt[n]{x}`,title:`nth root ( \\root )`,command:wT},{latex:`|x|`,title:`Absolute value ( | )`,command:TT},{latex:`\\lfloor x\\rfloor`,title:`Floor ( floor( or \\floor )`,command:mT},{latex:`\\lceil x\\rceil`,title:`Ceiling ( ceil( or \\ceil )`,command:hT},{latex:`\\frac{\\mathrm{d}y}{\\mathrm{d}x}`,title:`Derivative ( \\dd )`,command:ET},{latex:`\\sin`,title:`Sine ( sin or \\sin )`,command:ST(`sin`)},{latex:`\\begin{cases}a&p\\\\b&q\\end{cases}`,title:`Piecewise ( \\cases )`,command:nT}],pe=[{latex:`+`,title:`Add ( + )`,command:eT(`+`)},{latex:`-`,title:`Subtract ( - )`,command:eT(`-`)},{latex:`\\times`,title:`Multiply ( * )`,command:eT(`·`)},{latex:`=`,title:`Equals ( = )`,command:eT(`=`)}],me=[{latex:`\\pi`,title:`Pi ( \\pi )`,command:eT(`pi`)},{latex:`\\mathrm{e}`,title:`Euler's number e ( \\e )`,command:eT(`exponentiale`)},{latex:`\\infty`,title:`Infinity ( \\inf )`,command:eT(`infinity`)}],he=[{latex:`<`,title:`Less than ( < )`,command:eT(`<`)},{latex:`\\leq`,title:`Less than or equal ( <= or \\le )`,command:eT(`≤`)},{latex:`>`,title:`Greater than ( > )`,command:eT(`>`)},{latex:`\\geq`,title:`Greater than or equal ( >= or \\ge )`,command:eT(`≥`)},{latex:`\\neq`,title:`Not equal ( != or \\ne )`,command:eT(`≠`)},{latex:`\\land`,title:`And ( & or \\and )`,command:eT(`∧`)},{latex:`\\lor`,title:`Or ( \\or )`,command:eT(`∨`)},{latex:`\\lnot`,title:`Not ( ! or \\not )`,command:eT(`¬`)},{latex:`\\veebar`,title:`Exclusive or ( \\xor )`,command:eT(`⊻`)}];function ge(e){return qy.renderToString(e,{throwOnError:!1,strict:`ignore`})}let _e=new WeakMap;function ve(e){if(e.length===0)return null;let t=_e.get(e);return t||(t=lE(e),_e.set(e,t)),t}let ye=P(()=>a.value.map(e=>ve(e.root))),xe=P(()=>ye.value[l.value]??null),Se=P(()=>{let e=new Map;for(let t of n.issues)e.set(t.lineId,[...e.get(t.lineId)??[],t]);return e}),Ce=P(()=>(Se.value,n.variableUnits,new WeakMap)),we=P(()=>a.value.map((e,t)=>{let r=e.root,i=Ce.value.get(r);return i||(i=[...ye.value[t]?.diagnostics??[],...PE(r,Se.value.get(c.value[t])??[]),...FE(r,n.variableUnits??null)],Ce.value.set(r,i)),i})),Te=P(()=>Se.value.get(c.value[l.value])??[]),Ee=new WeakMap,De=P(()=>a.value.map((e,t)=>{let n=c.value[t],r=Ee.get(e.root);return(!r||r.id!==n)&&(r=jE(n,e.root,ye.value[t]),Ee.set(e.root,r)),r})),Oe=``;tr(De,e=>{let t=JSON.stringify(e);t!==Oe&&(Oe=t,r(`equations-change`,e))},{immediate:!0});let ke=P(()=>xe.value?.ast??null),Ae=P(()=>xe.value?.diagnostics??[]),Me=P(()=>ke.value?OE(f().root,`latex`,i.value):``),Ne=P(()=>ke.value?bE(ke.value):``),Pe=P(()=>ke.value?kE(f().root,i.value):``),Fe=P(()=>uw(f().cursor)),Ie=P(()=>{let e=Sw(f());return e?ww(e):null}),Le=sn(!1),Re=sn(`mathml`);function ze(e){let t=document.createElement(`textarea`);t.value=e,t.setAttribute(`readonly`,`true`),t.style.position=`fixed`,t.style.opacity=`0`,document.body.appendChild(t),t.select();try{return document.execCommand(`copy`)}catch{return!1}finally{document.body.removeChild(t)}}async function Be(e){try{if(navigator.clipboard?.writeText){await navigator.clipboard.writeText(e);return}}catch{}ze(e)}async function Ve(){if(Ne.value){Le.value=!0;try{await Be(Ne.value)}finally{window.setTimeout(()=>{Le.value=!1},1200)}}}let He=sn(null),Ue=sn(null),We,Ge=P(()=>Sw(f())!==null),Ke=P(()=>f().root.length>0),qe=P(()=>Ue.value?`Copied ${Ue.value}`:Ge.value?`Copy selection as`:`Copy as`);async function Je(e,t){let n=f(),r=Sw(n)?Cw(n):n.root;r.length>0&&(await Be(OE(r,e,i.value)),Ue.value=t,window.clearTimeout(We),We=window.setTimeout(()=>Ue.value=null,1500)),h()}let Ye=P(()=>TE.map(({format:e,label:t})=>{let r=e===`mathml`&&n.cellml?`${t} (CellML)`:t;return{label:r,command:()=>Je(e,r)}}));function Xe(e){He.value?.toggle(e)}return(t,n)=>(D(),O(`section`,{class:be([`editor-grid`,{"has-side":!!t.$slots.side}]),onKeydownCapture:ue},[A(T(Jy),{class:`editor-card`},{title:qn(()=>[k(`div`,IE,[n[12]||=k(`span`,null,`Equation Builder`,-1),A(T(Sx),{severity:`info`,value:`AST First`})])]),subtitle:qn(()=>[...n[13]||=[j(` Type as you would write it; the structure is worked out as you go. `,-1)]]),content:qn(()=>[k(`div`,LE,[k(`div`,RE,[(D(),O(E,null,pi(fe,e=>k(`button`,{key:e.title,type:`button`,class:`tool-button`,title:e.title,onMousedown:n[0]||=Us(()=>{},[`prevent`]),onClick:t=>ie(e.command)},[k(`span`,{innerHTML:ge(e.latex)},null,8,BE)],40,zE)),64))]),k(`div`,VE,[(D(),O(E,null,pi(pe,e=>k(`button`,{key:e.title,type:`button`,class:`tool-button tool-button-op`,title:e.title,onMousedown:n[1]||=Us(()=>{},[`prevent`]),onClick:t=>ie(e.command)},[k(`span`,{innerHTML:ge(e.latex)},null,8,UE)],40,HE)),64))]),k(`div`,WE,[(D(),O(E,null,pi(me,e=>k(`button`,{key:e.title,type:`button`,class:`tool-button tool-button-op`,title:e.title,onMousedown:n[2]||=Us(()=>{},[`prevent`]),onClick:t=>ie(e.command)},[k(`span`,{innerHTML:ge(e.latex)},null,8,KE)],40,GE)),64))]),k(`div`,qE,[(D(),O(E,null,pi(he,e=>k(`button`,{key:e.title,type:`button`,class:`tool-button tool-button-op`,title:e.title,onMousedown:n[3]||=Us(()=>{},[`prevent`]),onClick:t=>ie(e.command)},[k(`span`,{innerHTML:ge(e.latex)},null,8,YE)],40,JE)),64))]),k(`div`,XE,[A(T(Vp),{icon:`pi pi-undo`,size:`small`,text:``,title:`Undo (Ctrl+Z)`,disabled:!C.value,onMousedown:n[4]||=Us(()=>{},[`prevent`]),onClick:x},null,8,[`disabled`]),A(T(Vp),{icon:`pi pi-refresh`,size:`small`,text:``,title:`Redo (Ctrl+Shift+Z)`,disabled:!ee.value,onMousedown:n[5]||=Us(()=>{},[`prevent`]),onClick:S},null,8,[`disabled`]),A(T(Vp),{icon:`pi pi-plus`,label:`Line`,size:`small`,text:``,title:`Add equation line (Enter)`,onMousedown:n[6]||=Us(()=>{},[`prevent`]),onClick:ae}),A(T(Vp),{icon:`pi pi-trash`,size:`small`,text:``,severity:`danger`,title:`Remove equation line`,disabled:a.value.length<=1,onMousedown:n[7]||=Us(()=>{},[`prevent`]),onClick:se},null,8,[`disabled`])]),k(`div`,ZE,[A(T(Vp),{icon:`pi pi-copy`,label:qe.value,size:`small`,text:``,title:`Copy the selection, or the whole equation, as LaTeX, MathJSON or Content MathML`,"aria-haspopup":`true`,"aria-controls":`copy-as-menu`,"data-role":`copy-as`,disabled:!Ke.value,onMousedown:n[8]||=Us(()=>{},[`prevent`]),onClick:Xe},null,8,[`label`,`disabled`]),A(T(jb),{id:`copy-as-menu`,ref_key:`copyMenu`,ref:He,model:Ye.value,popup:!0},null,8,[`model`])])]),A(T(nb)),k(`div`,{class:`equations-stack`,onKeydown:de},[(D(!0),O(E,null,pi(a.value,(t,n)=>(D(),O(`div`,{key:c.value[n],class:be([`equation-row`,{active:n===l.value}]),"data-line":n,"data-line-id":c.value[n],onFocusin:e=>l.value=n},[k(`div`,$E,je(n+1),1),A(cE,{ref_for:!0,ref:e=>u.value[n]=e,class:`equation-field`,"model-value":t.root,cursor:t.cursor,anchor:t.anchor??null,active:n===l.value,marks:we.value[n],"greek-names":e.greekNames,onNavigate:e=>ne(n,e),onEdit:(e,t)=>te(n,e,t),onImport:e=>w(n,e)},null,8,[`model-value`,`cursor`,`anchor`,`active`,`marks`,`greek-names`,`onNavigate`,`onEdit`,`onImport`])],42,QE))),128))],32),d.value===null?(D(),O(`p`,tD,[n[17]||=j(` Cursor: `,-1),k(`span`,nD,je(Fe.value),1),Ie.value?(D(),O(E,{key:0},[n[16]||=j(` · Selection: `,-1),k(`span`,rD,je(Ie.value),1)],64)):M(``,!0)])):(D(),O(`div`,eD,[n[14]||=k(`span`,{class:`command-slash`},`\\`,-1),j(je(d.value),1),n[15]||=k(`span`,{class:`command-caret`},null,-1)])),Ae.value.length?(D(),O(`ul`,iD,[(D(!0),O(E,null,pi(Ae.value,(e,t)=>(D(),O(`li`,{key:t},je(e.message),1))),128))])):M(``,!0),re.value?(D(),O(`div`,aD,[k(`div`,oD,[k(`span`,null,je(re.value.message),1),A(T(Vp),{icon:`pi pi-times`,size:`small`,text:``,rounded:``,severity:`secondary`,"aria-label":`Dismiss`,onMousedown:n[9]||=Us(()=>{},[`prevent`]),onClick:n[10]||=e=>re.value=null})]),re.value.problems.length?(D(),O(`ul`,sD,[(D(!0),O(E,null,pi(re.value.problems,e=>(D(),O(`li`,{key:e},je(e),1))),128))])):M(``,!0)])):M(``,!0),Te.value.length?(D(),O(`ul`,cD,[(D(!0),O(E,null,pi(Te.value,(e,t)=>(D(),O(`li`,{key:t},je(e.message),1))),128))])):M(``,!0),n[18]||=k(`details`,{class:`key-help`,"data-role":`key-help`},[k(`summary`,null,`Keys and typing`),k(`p`,{class:`key-hint`},[k(`kbd`,null,`←`),k(`kbd`,null,`→`),j(` move through every position · `),k(`kbd`,null,`↑`),k(`kbd`,null,`↓`),j(` numerator/denominator, else previous/next line · `),k(`kbd`,null,`Home`),k(`kbd`,null,`End`),j(` start/end · `),k(`kbd`,null,`Tab`),j(` next empty slot · `),k(`kbd`,null,`Space`),j(` step out of a fraction, exponent or bracket · `),k(`kbd`,null,`Enter`),j(` new line (in a piecewise: new piece; `),k(`kbd`,null,`Backspace`),j(` in an empty piece removes it; `),k(`code`,null,`\\otherwise`),j(` adds one) `)]),k(`p`,{class:`key-hint`},[j(` Select with `),k(`kbd`,null,`Shift`),j(`+`),k(`kbd`,null,`←`),k(`kbd`,null,`→`),j(`, `),k(`kbd`,null,`Shift`),j(`+`),k(`kbd`,null,`Home`),k(`kbd`,null,`End`),j(`, `),k(`kbd`,null,`Ctrl`),j(`+`),k(`kbd`,null,`A`),j(` or by dragging · `),k(`code`,null,`/`),j(`, `),k(`code`,null,`^`),j(`, `),k(`code`,null,`(`),j(`, `),k(`code`,null,`|`),j(`, `),k(`code`,null,`\\sqrt`),j(`, `),k(`code`,null,`\\sin`),j(`, … or a toolbar button then wraps the selection · typing replaces it · `),k(`kbd`,null,`Esc`),j(` clears it · `),k(`kbd`,null,`Ctrl`),j(`+`),k(`kbd`,null,`C`),j(`/`),k(`kbd`,null,`X`),j(`/`),k(`kbd`,null,`V`),j(` copy, cut and paste (copies as LaTeX for other apps; pastes LaTeX or plain text such as `),k(`code`,null,`(x+1)/2`),j(`) `)]),k(`p`,{class:`key-hint`},[j(` Type letters, numbers and `),k(`code`,null,`+ − * = ,`),j(` where the caret is · conditions: `),k(`code`,null,`< > <= >= !=`),j(`, `),k(`code`,null,`&`),j(` (∧), `),k(`code`,null,`!`),j(` (¬), `),k(`code`,null,`\\or`),j(` (∨) · `),k(`code`,null,`/`),j(` makes a fraction of what's before the caret · `),k(`code`,null,`^`),j(` exponent · `),k(`code`,null,`( )`),j(` and `),k(`code`,null,`| |`),j(` brackets · `),k(`code`,null,`0.25{mV}`),j(` a number's units · letters, digits and `),k(`code`,null,`_`),j(` with no operator between them are one name (`),k(`code`,null,`Vm_init`),j(`); multiply names with `),k(`code`,null,`*`),j(` (`),k(`code`,null,`a*b`),j(`) · a name spelling a function (`),k(`code`,null,`sin`),j(`, `),k(`code`,null,`cosh`),j(`, …) is that function · `),k(`code`,null,`\\`),j(` commands (`),k(`code`,null,`\\frac \\sqrt \\root \\abs \\dd \\cases \\sin \\pi \\e \\inf \\alpha`),j(` …) · `),k(`kbd`,null,`Backspace`),j(`/`),k(`kbd`,null,`Delete`),j(` delete · `),k(`kbd`,null,`Ctrl`),j(`+`),k(`kbd`,null,`Z`),j(` undo `)])],-1)]),_:1}),t.$slots.side?(D(),O(`aside`,lD,[mi(t.$slots,`side`,{},void 0,!0)])):M(``,!0),A(T(Jy),{class:`output-card`,"data-role":`outputs`},{content:qn(()=>[A(T(mx),{value:Re.value,"onUpdate:value":n[11]||=e=>Re.value=e},{default:qn(()=>[A(T(tx),null,{default:qn(()=>[A(T(Lb),{value:`mathml`,"data-role":`tab-mathml`},{default:qn(()=>[n[19]||=j(` Content MathML `,-1),e.cellml?(D(),Ba(T(Sx),{key:0,class:`tab-tag`,severity:`secondary`,value:`CellML`,"data-role":`cellml-mode`})):M(``,!0)]),_:1}),A(T(Lb),{value:`mathjson`,"data-role":`tab-mathjson`},{default:qn(()=>[...n[20]||=[j(`MathJSON`,-1)]]),_:1}),A(T(Lb),{value:`latex`,"data-role":`tab-latex`},{default:qn(()=>[...n[21]||=[j(`LaTeX`,-1)]]),_:1}),A(T(Lb),{value:`ast`,"data-role":`tab-ast`},{default:qn(()=>[...n[22]||=[j(`AST`,-1)]]),_:1})]),_:1}),A(T(dx),null,{default:qn(()=>[A(T(lx),{value:`mathml`},{default:qn(()=>[k(`pre`,uD,je(Pe.value),1)]),_:1}),A(T(lx),{value:`mathjson`},{default:qn(()=>[k(`div`,dD,[A(T(Vp),{icon:`pi pi-copy`,label:Le.value?`Copied`:`Copy MathJSON`,size:`small`,text:``,disabled:!Ne.value,onClick:Ve},null,8,[`label`,`disabled`])]),k(`pre`,fD,je(Ne.value),1)]),_:1}),A(T(lx),{value:`latex`},{default:qn(()=>[k(`pre`,pD,je(Me.value),1)]),_:1}),A(T(lx),{value:`ast`},{default:qn(()=>[k(`pre`,mD,je(ke.value?JSON.stringify(ke.value,null,2):``),1)]),_:1})]),_:1})]),_:1},8,[`value`])]),_:1})],34))}}),[[`__scopeId`,`data-v-3320cbce`]]),gD=`new units`,_D=[`yotta`,`zetta`,`exa`,`peta`,`tera`,`giga`,`mega`,`kilo`,`hecto`,`deca`,`deci`,`centi`,`milli`,`micro`,`nano`,`pico`,`femto`,`atto`,`zepto`,`yocto`],vD=/^[A-Za-z_][A-Za-z0-9_]*$/;function yD(e,t,n){let r=[],{name:i,parts:a}=e;return i?vD.test(i)?(t.some(e=>e.name===i)||n?.includes(i))&&r.push(`There are units called ${i} already`):r.push(`${i} isn't a units name: use letters, digits and _, not starting with a digit`):r.push(`Give the units a name`),a.length===0&&r.push(`Add what the units are made of`),a.forEach((e,o)=>{let s=a.length>1?`Part ${o+1}: `:``;e.units?e.units===i?r.push(`${s}units can't be made of themselves`):n&&!n.includes(e.units)&&!t.some(t=>t.name===e.units)&&r.push(`${s}no units called ${e.units} are defined`):r.push(`${s}choose the units it is made of`),e.prefix&&!_D.includes(e.prefix)&&r.push(`${s}${e.prefix} isn't a prefix`),e.exponent!==void 0&&!Number.isFinite(e.exponent)&&r.push(`${s}the exponent must be a number`),e.multiplier!==void 0&&!Number.isFinite(e.multiplier)&&r.push(`${s}the multiplier must be a number`)}),i&&vD.test(i)&&bD(i,a,t)&&r.push(`${i} would be made of itself, through other new units`),r}function bD(e,t,n){let r=new Set,i=t=>{if(t===e)return!0;if(r.has(t))return!1;r.add(t);let a=n.find(e=>e.name===t);return!!a&&a.parts.some(e=>i(e.units))};return t.some(t=>t.units!==e&&i(t.units))}function xD(e,t){return t.filter(t=>t.parts.some(t=>t.units===e)).map(e=>e.name)}function SD(e){return e.parts.map(e=>{let t=[e.multiplier!==void 0&&e.multiplier!==1?e.multiplier:``].concat(e.prefix??``,e.units).filter(e=>e!==``).join(` `),n=e.exponent??1;return n===1?t:t.includes(` `)?`(${t})^${n}`:`${t}^${n}`}).join(` · `)}var CD=e=>e.replace(/&/g,`&`).replace(/"/g,`"`).replace(/</g,`<`);function wD(e,t=`new_units`){let n=[],r=(t,i)=>{if(!(n.includes(t)||i.has(t.name))){i.add(t.name);for(let n of t.parts){let t=e.find(e=>e.name===n.units);t&&r(t,i)}n.push(t)}};for(let t of e)r(t,new Set);let i=n.map(e=>{let t=e.parts.map(e=>` <unit${[e.prefix?` prefix="${CD(e.prefix)}"`:``,` units="${CD(e.units)}"`,e.exponent!==void 0&&e.exponent!==1?` exponent="${e.exponent}"`:``,e.multiplier!==void 0&&e.multiplier!==1?` multiplier="${e.multiplier}"`:``].join(``)}/>`);return[` <units name="${CD(e.name)}">`,...t,` </units>`].join(`
|
|
1644
|
-
`)});return[`<?xml version="1.0" encoding="UTF-8"?>`,`<model xmlns="http://www.cellml.org/cellml/2.0#" name="${CD(t)}">`,...i,`</model>`,``].join(`
|
|
1645
|
-
`)}var TD={class:`form-name`},ED={class:`form-parts`},DD=[`onUpdate:modelValue`,`aria-label`],OD=[`value`],kD=[`onUpdate:modelValue`,`list`,`aria-label`],AD=[`onUpdate:modelValue`,`aria-label`],jD=[`onUpdate:modelValue`,`aria-label`],MD=[`id`],ND=[`value`],PD={key:0,class:`form-problems`,"data-role":`units-form-problems`},FD={class:`form-actions`},ID=sE(Pr({__name:`UnitsDefinitionForm`,props:{definition:{},others:{},known:{},choices:{}},emits:[`save`,`cancel`],setup(e,{emit:t}){let n=e,r=t,i=0,a=e=>({key:i++,prefix:e?.prefix??``,units:e?.units??``,exponent:e?.exponent!==void 0&&e.exponent!==1?String(e.exponent):``,multiplier:e?.multiplier!==void 0&&e.multiplier!==1?String(e.multiplier):``}),o=sn(n.definition?.name??``),s=sn(n.definition?n.definition.parts.map(a):[a()]),c=sn(!1),l=e=>e.trim()===``?void 0:Number(e),u=P(()=>({name:o.value.trim(),parts:s.value.map(e=>{let t=l(e.exponent),n=l(e.multiplier);return{units:e.units.trim(),...e.prefix?{prefix:e.prefix}:{},...t!==void 0&&t!==1?{exponent:t}:{},...n!==void 0&&n!==1?{multiplier:n}:{}}})})),d=P(()=>yD(u.value,n.others,n.known));function f(){c.value=!0,d.value.length===0&&r(`save`,u.value)}let p=Fr();return(t,n)=>(D(),O(`form`,{class:`units-form`,"data-role":`units-form`,onSubmit:Us(f,[`prevent`])},[k(`label`,TD,[n[3]||=k(`span`,null,`Name`,-1),Jn(k(`input`,{"onUpdate:modelValue":n[0]||=e=>o.value=e,type:`text`,spellcheck:`false`,autocomplete:`off`,placeholder:`mV_per_ms`,"data-role":`units-form-name`},null,512),[[Ns,o.value]])]),k(`table`,ED,[n[5]||=k(`thead`,null,[k(`tr`,null,[k(`th`,{scope:`col`},`Prefix`),k(`th`,{scope:`col`},`Units`),k(`th`,{scope:`col`,title:`Power the part is raised to (1 if empty)`},`Exponent`),k(`th`,{scope:`col`,title:`Factor the part is scaled by (1 if empty)`},`Multiplier`),k(`th`,{scope:`col`},[k(`span`,{class:`visually-hidden`},`Remove`)])])],-1),k(`tbody`,null,[(D(!0),O(E,null,pi(s.value,(e,t)=>(D(),O(`tr`,{key:e.key,"data-role":`units-form-part`},[k(`td`,null,[Jn(k(`select`,{"onUpdate:modelValue":t=>e.prefix=t,"aria-label":`Prefix of part ${t+1}`},[n[4]||=k(`option`,{value:``},`—`,-1),(D(!0),O(E,null,pi(T(_D),e=>(D(),O(`option`,{key:e,value:e},je(e),9,OD))),128))],8,DD),[[Is,e.prefix]])]),k(`td`,null,[Jn(k(`input`,{"onUpdate:modelValue":t=>e.units=t,type:`text`,list:T(p),spellcheck:`false`,autocomplete:`off`,placeholder:`second`,"aria-label":`Units of part ${t+1}`},null,8,kD),[[Ns,e.units]])]),k(`td`,null,[Jn(k(`input`,{"onUpdate:modelValue":t=>e.exponent=t,class:`number`,type:`text`,inputmode:`decimal`,placeholder:`1`,"aria-label":`Exponent of part ${t+1}`},null,8,AD),[[Ns,e.exponent]])]),k(`td`,null,[Jn(k(`input`,{"onUpdate:modelValue":t=>e.multiplier=t,class:`number`,type:`text`,inputmode:`decimal`,placeholder:`1`,"aria-label":`Multiplier of part ${t+1}`},null,8,jD),[[Ns,e.multiplier]])]),k(`td`,null,[A(T(Vp),{icon:`pi pi-times`,size:`small`,text:``,rounded:``,severity:`secondary`,type:`button`,"aria-label":`Remove part ${t+1}`,disabled:s.value.length===1,onClick:e=>s.value.splice(t,1)},null,8,[`aria-label`,`disabled`,`onClick`])])]))),128))])]),k(`datalist`,{id:T(p)},[(D(!0),O(E,null,pi(e.choices,e=>(D(),O(`option`,{key:e,value:e},null,8,ND))),128))],8,MD),c.value&&d.value.length?(D(),O(`ul`,PD,[(D(!0),O(E,null,pi(d.value,e=>(D(),O(`li`,{key:e},je(e),1))),128))])):M(``,!0),k(`div`,FD,[A(T(Vp),{icon:`pi pi-plus`,label:`Part`,size:`small`,text:``,type:`button`,"data-role":`units-form-add-part`,onClick:n[1]||=e=>s.value.push(a())}),n[6]||=k(`span`,{class:`spacer`},null,-1),A(T(Vp),{label:`Cancel`,size:`small`,text:``,severity:`secondary`,type:`button`,onClick:n[2]||=e=>r(`cancel`)}),A(T(Vp),{label:e.definition?`Save`:`Add`,size:`small`,type:`submit`,"data-role":`units-form-save`},null,8,[`label`])])],32))}}),[[`__scopeId`,`data-v-effe158e`]]);function LD(e,t,n){let r=[...new Set(e.flatMap(e=>e.variables))],i=Object.keys(t).filter(e=>!r.includes(e)),a=n?new Set(n):null;return[...r,...i].map(e=>{let n=t[e]??``,i=n?a&&!a.has(n)?`unknown`:`ok`:`missing`;return{name:e,units:n,used:r.includes(e),state:r.includes(e)?i:`ok`}})}function RD(e,t,n){let r={...e},i=n.trim();return i?r[t]=i:delete r[t],r}function zD(e,t){let n=[...e];for(let e of t){let t=n.findIndex(t=>t.name===e.name);t>=0?n[t]=e:n.push(e)}return n}var BD={class:`units-title`},VD={"data-role":`units-summary`},HD={class:`units-section`,"aria-labelledby":`units-files-title`},UD={class:`section-head`},WD={class:`section-actions`},GD={key:0,class:`hint`},KD={key:1,class:`files`,"data-role":`units-files`},qD=[`data-file`],JD={class:`file-head`},YD={class:`file-name`},XD={class:`file-count`},ZD={key:0,class:`units-names`},QD={key:1,class:`problems`,"data-role":`units-problems`},$D={class:`units-section`,"aria-labelledby":`units-new-title`,"data-role":`new-units`},eO={class:`section-head`},tO={class:`section-actions`},nO={key:0,class:`hint`},rO={key:1,class:`new-units`},iO=[`data-units`],aO={key:1,class:`new-units-row`},oO={class:`new-units-name`},sO={class:`new-units-definition`,"data-role":`new-units-definition`},cO={key:3,class:`problems`,"data-role":`new-units-problems`},lO={class:`units-section`,"aria-labelledby":`units-variables-title`},uO={class:`section-head`},dO={key:0,class:`missing-count`,"data-role":`missing-count`},fO={key:0,class:`hint`},pO={key:1,class:`variables`,"data-role":`variables`},mO=[`data-variable`,`data-state`],hO={scope:`row`,class:`variable-name`},gO=[`value`,`list`,`aria-label`,`aria-invalid`,`onChange`],_O={class:`variable-state`},vO=[`id`],yO=[`value`],bO=sE(Pr({__name:`UnitsPanel`,props:xi({status:{},lines:{},files:{default:()=>[]},problems:{default:()=>[]},unitsNames:{default:()=>[]},issues:{default:()=>[]},checking:{type:Boolean,default:!0}},{sources:{default:()=>[]},sourcesModifiers:{},variableUnits:{default:()=>({})},variableUnitsModifiers:{},newUnits:{default:()=>[]},newUnitsModifiers:{}}),emits:[`update:sources`,`update:variableUnits`,`update:newUnits`],setup(e){let t=e,n=Vi(e,`sources`),r=Vi(e,`variableUnits`),i=Vi(e,`newUnits`),a=P(()=>t.status===`ready`),o=P(()=>LD(t.lines,r.value,a.value?t.unitsNames:null)),s=P(()=>o.value.filter(e=>e.state===`missing`).length),c=P(()=>({ready:{value:`libCellML`,severity:`success`},loading:{value:`Loading libCellML…`,severity:`info`},unavailable:{value:`No libCellML`,severity:`secondary`}})[t.status]),l=P(()=>{if(t.status===`unavailable`)return`Units checking needs libCellML (the vue3-libcellml.js plugin), which this application doesn’t provide. Units given here are still shown on hover.`;if(t.status===`loading`)return`Units are checked once libCellML has loaded.`;if(!t.checking)return`Give a variable units, or load units files, to check units.`;let e=t.lines.filter(e=>e.complete).length;if(e===0)return`Complete equations are checked as you type.`;let n=new Set(t.issues.map(e=>e.lineId)).size;return t.issues.length===0?`No units problems in ${u(e,`equation`)}.`:`${u(t.issues.length,`units problem`)} in ${u(n,`equation`)}.`}),u=(e,t)=>`${e} ${t}${e===1?``:`s`}`,d=sn(null);async function f(e){let t=e.target,r=[...t.files??[]];t.value=``;let i=await Promise.all(r.map(async e=>({name:e.name,text:await e.text()})));i.length&&(n.value=zD(n.value,i))}function p(e){n.value=n.value.filter(t=>t.name!==e)}let m=e=>t.problems.filter(t=>t.source===e),h=e=>t.files.find(t=>t.name===e)?.units??[],g=sn(void 0),_=P(()=>g.value===void 0||g.value===null?null:i.value[g.value]),v=P(()=>i.value.filter((e,t)=>t!==g.value)),y=P(()=>a.value?t.unitsNames.filter(e=>e!==_.value?.name):null),b=P(()=>[...new Set([...t.unitsNames,...v.value.map(e=>e.name)])].filter(e=>e!==_.value?.name)),x=P(()=>m(gD));function S(e){let t=[...i.value],n=g.value;if(n==null)t.push(e);else{let r=t[n].name;if(t[n]=e,r!==e.name)for(let[n,i]of t.entries())i.parts.some(e=>e.units===r)&&(t[n]={...i,parts:i.parts.map(t=>t.units===r?{...t,units:e.name}:t)})}i.value=t,g.value=void 0}function C(e){i.value=i.value.filter((t,n)=>n!==e)}let ee=Fr();function te(e,t){r.value=RD(r.value,e,t.target.value)}let ne={ok:``,missing:`no units`,unknown:`unknown units`};return(t,_)=>(D(),Ba(T(Jy),{class:`units-panel`,"data-role":`units-panel`,"data-status":e.status},{title:qn(()=>[k(`div`,BD,[_[4]||=k(`span`,null,`Units`,-1),A(T(Sx),{severity:c.value.severity,value:c.value.value,"data-role":`units-status`},null,8,[`severity`,`value`])])]),subtitle:qn(()=>[k(`span`,VD,je(l.value),1)]),content:qn(()=>[k(`section`,HD,[k(`div`,UD,[_[5]||=k(`h3`,{id:`units-files-title`},`Units files`,-1),k(`div`,WD,[mi(t.$slots,`actions`,{},void 0,!0),A(T(Vp),{icon:`pi pi-folder-open`,label:`Load units files`,size:`small`,text:``,"data-role":`load-units`,title:`Load CellML files; only their units are kept`,onClick:_[0]||=e=>d.value?.click()}),k(`input`,{ref_key:`fileInput`,ref:d,type:`file`,accept:`.cellml,.xml,application/xml,text/xml`,multiple:``,hidden:``,"data-role":`units-file-input`,onChange:f},null,544)])]),n.value.length===0?(D(),O(`p`,GD,[..._[6]||=[j(` Built-in units (`,-1),k(`code`,null,`second`,-1),j(`, `,-1),k(`code`,null,`metre`,-1),j(`, `,-1),k(`code`,null,`volt`,-1),j(`, …) are always available. Load CellML files for others; only their units are kept. `,-1)]])):(D(),O(`ul`,KD,[(D(!0),O(E,null,pi(n.value,e=>(D(),O(`li`,{key:e.name,"data-file":e.name},[k(`div`,JD,[k(`span`,YD,je(e.name),1),k(`span`,XD,je(a.value?u(h(e.name).length,`units definition`):``),1),A(T(Vp),{icon:`pi pi-times`,size:`small`,text:``,rounded:``,severity:`secondary`,"aria-label":`Remove ${e.name}`,title:`Remove this file`,onClick:t=>p(e.name)},null,8,[`aria-label`,`onClick`])]),h(e.name).length?(D(),O(`div`,ZD,[(D(!0),O(E,null,pi(h(e.name),e=>(D(),O(`code`,{key:e},je(e),1))),128))])):M(``,!0),m(e.name).length?(D(),O(`ul`,QD,[(D(!0),O(E,null,pi(m(e.name),(e,t)=>(D(),O(`li`,{key:t},je(e.message),1))),128))])):M(``,!0)],8,qD))),128))]))]),k(`section`,$D,[k(`div`,eO,[_[7]||=k(`h3`,{id:`units-new-title`},`New units`,-1),k(`div`,tO,[mi(t.$slots,`new-units-actions`,{definitions:i.value},void 0,!0),A(T(Vp),{icon:`pi pi-plus`,label:`Define units`,size:`small`,text:``,"data-role":`define-units`,disabled:g.value!==void 0,title:`Define units of your own, kept in a file apart from the units files`,onClick:_[1]||=e=>g.value=null},null,8,[`disabled`])])]),i.value.length===0&&g.value===void 0?(D(),O(`p`,nO,` Units you define are kept in a units file of their own, apart from the files loaded. `)):M(``,!0),i.value.length?(D(),O(`ul`,rO,[(D(!0),O(E,null,pi(i.value,(e,t)=>(D(),O(`li`,{key:e.name,"data-units":e.name},[g.value===t?(D(),Ba(ID,{key:0,definition:e,others:v.value,known:y.value,choices:b.value,onSave:S,onCancel:_[2]||=e=>g.value=void 0},null,8,[`definition`,`others`,`known`,`choices`])):(D(),O(`div`,aO,[k(`code`,oO,je(e.name),1),k(`span`,sO,` = `+je(T(SD)(e)),1),A(T(Vp),{icon:`pi pi-pencil`,size:`small`,text:``,rounded:``,severity:`secondary`,"aria-label":`Change ${e.name}`,title:`Change these units`,disabled:g.value!==void 0,onClick:e=>g.value=t},null,8,[`aria-label`,`disabled`,`onClick`]),A(T(Vp),{icon:`pi pi-times`,size:`small`,text:``,rounded:``,severity:`secondary`,"aria-label":`Remove ${e.name}`,title:T(xD)(e.name,i.value).length?`Used by ${T(xD)(e.name,i.value).join(`, `)}`:`Remove these units`,disabled:g.value!==void 0||T(xD)(e.name,i.value).length>0,onClick:e=>C(t)},null,8,[`aria-label`,`title`,`disabled`,`onClick`])]))],8,iO))),128))])):M(``,!0),g.value===null?(D(),Ba(ID,{key:2,others:v.value,known:y.value,choices:b.value,onSave:S,onCancel:_[3]||=e=>g.value=void 0},null,8,[`others`,`known`,`choices`])):M(``,!0),x.value.length?(D(),O(`ul`,cO,[(D(!0),O(E,null,pi(x.value,(e,t)=>(D(),O(`li`,{key:t},je(e.message),1))),128))])):M(``,!0)]),k(`section`,lO,[k(`div`,uO,[_[8]||=k(`h3`,{id:`units-variables-title`},`Variables`,-1),s.value?(D(),O(`span`,dO,je(u(s.value,`variable`))+` without units `,1)):M(``,!0)]),o.value.length===0?(D(),O(`p`,fO,` The variables in your equations are listed here, to give each one its units. `)):(D(),O(`table`,pO,[k(`tbody`,null,[(D(!0),O(E,null,pi(o.value,e=>(D(),O(`tr`,{key:e.name,class:be([`state-${e.state}`,{unused:!e.used}]),"data-variable":e.name,"data-state":e.state},[k(`th`,hO,je(e.name),1),k(`td`,null,[k(`input`,{class:`units-input`,type:`text`,value:e.units,list:T(ee),placeholder:`units`,spellcheck:`false`,autocomplete:`off`,"aria-label":`Units of ${e.name}`,"aria-invalid":e.state!==`ok`,onChange:t=>te(e.name,t)},null,40,gO)]),k(`td`,_O,[e.used?(D(),O(E,{key:0},[j(je(ne[e.state]),1)],64)):(D(),O(E,{key:1},[_[9]||=j(` not used `,-1),A(T(Vp),{icon:`pi pi-times`,size:`small`,text:``,rounded:``,severity:`secondary`,"aria-label":`Forget the units of ${e.name}`,title:`Forget these units`,onClick:t=>r.value=T(RD)(r.value,e.name,``)},null,8,[`aria-label`,`onClick`])],64))])],10,mO))),128))])])),k(`datalist`,{id:T(ee)},[(D(!0),O(E,null,pi(e.unitsNames,e=>(D(),O(`option`,{key:e,value:e},null,8,yO))),128))],8,vO)])]),_:3},8,[`data-status`]))}}),[[`__scopeId`,`data-v-ada663af`]]);function xO(e){let t=[];for(let n=0;n<e.issueCount();n++){let r=e.issue(n),i=r.level(),a=r.referenceRule();t.push({message:r.description(),level:i.value,rule:a?.value??-1}),SO(i),a&&SO(a),r.delete()}return t}function SO(e){e.delete?.()}var CO=class{held=[];track(e){return e&&this.held.push(e),e}dispose(){for(let e of this.held.splice(0).reverse())e.delete()}};function wO(e){return Object.keys(e.Units.StandardUnit).filter(e=>/^[A-Z_]+$/.test(e)).map(e=>e.toLowerCase())}var TO=/'([^']+)' is (?:in )?'([^']+)'(?: \(i\.e\. '[^']*'\))?/g;function EO(e){let t=/^The units in '([^']+)'.* are not equivalent\. (.*)$/s.exec(e),n=/^The unit of '[^']+' in '([^']+)'.* is not dimensionless\. (.*)$/s.exec(e),r=t??n;if(!r)return null;let i=[...r[2].matchAll(TO)].map(([,e,t])=>({text:e,units:t}));return i.length===0?null:{kind:t?`mismatch`:`notDimensionless`,expression:r[1],operands:i}}function DO(e){let[t,n]=e.operands;return e.kind===`notDimensionless`?`${t.text} in ${e.expression} must be dimensionless, but is in ${t.units}`:n&&t.units===n.units?`The parts of ${n.text} have different units`:n?`Units don't match in ${e.expression}: ${OO(t)}, ${OO(n)}`:`Units don't match in ${e.expression}`}var OO=e=>e.units===`dimensionless`?`${e.text} is dimensionless`:`${e.text} is in ${e.units}`,kO=/[A-Za-z_][A-Za-z0-9_]*/g,AO=/\bd(?:\^\d+)?([A-Za-z_][A-Za-z0-9_]*)\/d([A-Za-z_][A-Za-z0-9_]*)(?:\^\d+)?/g,jO=/(?<![A-Za-z_0-9.])\d+(?:\.\d*)?(?:e[+-]?\d+)?/g;function MO(e,t){let n=new Set,r=e=>{t.includes(e)&&n.add(e)},i=e.replace(AO,(e,n,i)=>t.includes(`d${n}`)||t.includes(`d${i}`)?e:(r(n),r(i),` `));for(let[e]of i.replace(jO,` `).matchAll(kO))r(e);return[...n]}function NO(e){return[...e.matchAll(jO)].map(([e])=>Number(e))}function PO(e,t){return e.variables.filter(e=>!t[e])}var FO=500,IO=class{lc;library;cache=new Map;constructor(e,t){this.lc=e,this.library=t}check(e,t){return e.flatMap(e=>this.checkLine(e,t))}checkLine(e,t){return e.complete?(this.prechecked(e,t)??this.analysed(e,t)).map(t=>({lineId:e.id,...t})):[]}prechecked(e,t){let n=PO(e,t).map(e=>({message:`${e} has no units`,variables:[e]})),r=[...new Set([...e.variables.map(e=>t[e]),...e.units])].filter(e=>e&&!this.library.isKnown(e)).map(n=>({message:`No units called ${n} are defined`,variables:e.variables.filter(e=>t[e]===n),units:e.units.includes(n)?[n]:[]}));return n.length||r.length?[...n,...r]:null}analysed(e,t){let n=`${e.mathml}\n${e.variables.map(e=>`${e}:${t[e]}`).join(` `)}`,r=this.cache.get(n);if(r)return r;let i=this.analyse(e,t);return this.cache.size>=FO&&this.cache.delete(this.cache.keys().next().value),this.cache.set(n,i),i}analyse(e,t){let{lc:n}=this,r=new CO;try{let i=r.track(new n.Model);i.setName(`units_check`),this.library.addTo(i,[...e.variables.map(e=>t[e]),...e.units],r);let a=r.track(new n.Component);a.setName(`equation`);for(let i of e.variables){let e=r.track(new n.Variable);e.setName(i),e.setUnitsByName(t[i]),a.addVariable(e)}a.setMath(e.mathml),i.addComponent(a),i.linkUnits();let o=r.track(new n.Validator);o.validateModel(i);let s=xO(o).filter(e=>e.level===0);if(s.length)return s.map(e=>({message:`libCellML: ${RO(e.message)}`}));let c=r.track(new n.Analyser);c.analyseModel(i);let l=xO(c).filter(e=>e.rule===112).map(e=>e.message);return[...new Set(l)].map(t=>LO(t,e.variables))}finally{r.dispose()}}dispose(){this.cache.clear()}};function LO(e,t){let n=EO(e);if(!n)return{message:RO(e)};let r=new Set,i=new Set;for(let e of n.operands){let n=MO(e.text,t);for(let e of n)r.add(e);if(n.length===0)for(let t of NO(e.text))i.add(t)}return{message:DO(n),...r.size?{variables:[...r]}:{},...i.size?{numbers:[...i]}:{}}}function RO(e){return e.replace(/ in component 'equation'/g,``).replace(/ in model 'units_check'/g,``)}var zO=class e{lc;names;sources;problems;standard;defined=new Map;handles=new CO;constructor(e,t){this.lc=e,this.standard=new Set(wO(e));let n=[],r=[],i=new Map;for(let e of t){let t=[];n.push({name:e.name,units:t});let a=this.parse(e,r);for(let n=0;n<a.unitsCount();n++){let o=this.handles.track(a.unitsByIndex(n)),s=o.name(),c=t=>r.push({source:e.name,message:t});o.isImport()?c(`"${s}" is imported from another file, which isn't supported; it was skipped`):this.standard.has(s)?c(`"${s}" is a built-in units name, so this definition was skipped`):this.defined.has(s)?this.lc.Units.equivalent(this.defined.get(s),o)||c(`"${s}" is already defined differently in ${i.get(s)}; that definition is used`):(this.defined.set(s,o),i.set(s,e.name),t.push(s))}}for(let[e,t]of this.defined)for(let n=0;n<t.unitCount();n++){let a=t.unitAttributeReference(n);this.isKnown(a)||r.push({source:i.get(e),message:`"${e}" is made from "${a}", which isn't defined`})}this.names=[...this.defined.keys()],this.sources=n,this.problems=r}static load(t,n){return new e(t,n)}isStandard(e){return this.standard.has(e)}isKnown(e){return this.standard.has(e)||this.defined.has(e)}requiredBy(e){let t=[],n=e=>{let r=this.defined.get(e);if(r&&!t.includes(e)){t.push(e);for(let e=0;e<r.unitCount();e++)n(r.unitAttributeReference(e))}};for(let t of e)n(t);return t}addTo(e,t,n){for(let r of this.requiredBy(t))e.addUnits(n.track(this.defined.get(r).clone()))}dispose(){this.defined.clear(),this.handles.dispose()}parse(e,t){let n=new this.lc.Parser(!1);try{let r=this.handles.track(n.parseModel(e.text));for(let r of xO(n))r.level===0&&t.push({source:e.name,message:r.message});return r}finally{n.delete()}}},BO=`$libcellml`;function VO(e){let t=e.libcellml===void 0?Zn(BO,null):e.libcellml,n=e.delay??300,r=P(()=>dn(e.enabled)??!0),i=P(()=>HO(t)),a=P(()=>t!==null),o=P(()=>i.value!==null),s=P(()=>o.value?`ready`:a.value?`loading`:`unavailable`),c=cn(null),l=cn([]),u=null,d,f=()=>{clearTimeout(d),d=void 0,l.value=u&&r.value?u.check(dn(e.lines),dn(e.variableUnits)):[]},p=()=>{u?.dispose(),c.value?.dispose(),u=null,c.value=null},m=P(()=>{let t=dn(e.newUnits)??[];return t.length?wD(t):``});return tr([i,()=>[...dn(e.sources),...m.value?[{name:gD,text:m.value}]:[]]],([e,t])=>{p(),e&&(c.value=zO.load(e,t),u=new IO(e,c.value)),f()},{immediate:!0}),tr(r,()=>f()),tr([()=>dn(e.lines),()=>dn(e.variableUnits)],()=>{clearTimeout(d),d=setTimeout(f,n)}),Le(()=>{clearTimeout(d),p()}),{available:a,ready:o,status:s,checking:P(()=>o.value&&r.value),issues:l,files:P(()=>c.value?.sources??[]),problems:P(()=>c.value?.problems??[]),newUnitsFile:m,unitsNames:P(()=>i.value&&c.value?[...wO(i.value),...c.value.names]:[]),missing:P(()=>{let t=dn(e.variableUnits);return[...new Set(dn(e.lines).flatMap(e=>PO(e,t)))]}),check:f}}function HO(e){return e?`Parser`in e?tn(e):e.status===`ready`&&e.library?tn(e.library):null:null}var UO=`<?xml version="1.0" encoding="UTF-8"?>
|
|
1646
|
-
<!-- Example units for the demo: electrophysiology in ms, mV and µA/cm².
|
|
1647
|
-
Only the units of a file are used; its components (here one) are ignored. -->
|
|
1648
|
-
<model xmlns="http://www.cellml.org/cellml/2.0#" name="example_units">
|
|
1649
|
-
<units name="ms">
|
|
1650
|
-
<unit prefix="milli" units="second"/>
|
|
1651
|
-
</units>
|
|
1652
|
-
<units name="per_ms">
|
|
1653
|
-
<unit units="ms" exponent="-1"/>
|
|
1654
|
-
</units>
|
|
1655
|
-
<units name="mV">
|
|
1656
|
-
<unit prefix="milli" units="volt"/>
|
|
1657
|
-
</units>
|
|
1658
|
-
<units name="per_mV">
|
|
1659
|
-
<unit units="mV" exponent="-1"/>
|
|
1660
|
-
</units>
|
|
1661
|
-
<units name="mV_per_ms">
|
|
1662
|
-
<unit units="mV"/>
|
|
1663
|
-
<unit units="ms" exponent="-1"/>
|
|
1664
|
-
</units>
|
|
1665
|
-
<units name="uA_per_cm2">
|
|
1666
|
-
<unit prefix="micro" units="ampere"/>
|
|
1667
|
-
<unit prefix="centi" units="metre" exponent="-2"/>
|
|
1668
|
-
</units>
|
|
1669
|
-
<units name="uF_per_cm2">
|
|
1670
|
-
<unit prefix="micro" units="farad"/>
|
|
1671
|
-
<unit prefix="centi" units="metre" exponent="-2"/>
|
|
1672
|
-
</units>
|
|
1673
|
-
<units name="mS_per_cm2">
|
|
1674
|
-
<unit prefix="milli" units="siemens"/>
|
|
1675
|
-
<unit prefix="centi" units="metre" exponent="-2"/>
|
|
1676
|
-
</units>
|
|
1677
|
-
<units name="mM">
|
|
1678
|
-
<unit prefix="milli" units="mole"/>
|
|
1679
|
-
<unit units="litre" exponent="-1"/>
|
|
1680
|
-
</units>
|
|
1681
|
-
<component name="ignored">
|
|
1682
|
-
<variable name="V" units="mV" interface="public"/>
|
|
1683
|
-
</component>
|
|
1684
|
-
</model>
|
|
1685
|
-
`,WO={class:`app-shell`},GO={class:`hero`},KO={class:`demo-option`},qO=sE(Pr({__name:`App`,setup(e){let t=new URLSearchParams(window.location.search).has(`cellml`),n=sn(!new URLSearchParams(window.location.search).has(`nogreek`)),r=sn([]),i=sn([]),a=sn({}),o=sn([]),s=VO({lines:r,sources:i,variableUnits:a,newUnits:o,enabled:()=>i.value.length>0||o.value.length>0||Object.keys(a.value).length>0});function c(){let e=new Blob([wD(o.value)],{type:`application/xml`}),t=document.createElement(`a`);t.href=URL.createObjectURL(e),t.download=`new-units.cellml`,t.click(),setTimeout(()=>URL.revokeObjectURL(t.href),0)}let l=sn(null),u=P(()=>l.value??s.issues.value),d=P(()=>s.available.value||Object.keys(a.value).length?a.value:void 0),f={V:`mV`,t:`ms`,C_m:`uF_per_cm2`,I_ion:`uA_per_cm2`,I_stim:`uA_per_cm2`,g_K:`mS_per_cm2`,E_K:`mV`,n:`dimensionless`};function p(){i.value=[...i.value.filter(e=>e.name!==`example-units.cellml`),{name:`example-units.cellml`,text:UO}],a.value={...f,...a.value}}return Object.assign(window,{__workbench:{get lines(){return r.value},setUnits(e){l.value=e.issues??[],a.value=e.variableUnits??{}}}}),(e,l)=>(D(),O(`main`,WO,[k(`section`,GO,[l[6]||=k(`h1`,null,`Math Equation Workbench`,-1),l[7]||=k(`p`,null,`Canonical AST editing for LaTeX and Content MathML output.`,-1),k(`label`,KO,[Jn(k(`input`,{"onUpdate:modelValue":l[0]||=e=>n.value=e,type:`checkbox`,"data-role":`greek-names`},null,512),[[Ps,n.value]]),l[5]||=j(` Draw Greek names as Greek letters (alpha_m as α_m) `,-1)])]),A(hD,{cellml:T(t),"greek-names":n.value,issues:u.value,"variable-units":d.value,onEquationsChange:l[4]||=e=>r.value=e},{side:qn(()=>[A(bO,{sources:i.value,"onUpdate:sources":l[1]||=e=>i.value=e,"variable-units":a.value,"onUpdate:variableUnits":l[2]||=e=>a.value=e,"new-units":o.value,"onUpdate:newUnits":l[3]||=e=>o.value=e,status:T(s).status.value,lines:r.value,files:T(s).files.value,problems:T(s).problems.value,"units-names":T(s).unitsNames.value,issues:u.value,checking:T(s).checking.value},{actions:qn(()=>[A(T(Vp),{icon:`pi pi-bolt`,label:`Example`,size:`small`,text:``,"data-role":`load-example`,title:`Load example units, and units for dV/dt = -(I_ion - I_stim)/C_m`,onClick:p})]),"new-units-actions":qn(()=>[o.value.length?(D(),Ba(T(Vp),{key:0,icon:`pi pi-download`,label:`Download`,size:`small`,text:``,"data-role":`download-new-units`,title:`Save the new units as a CellML file of their own (new-units.cellml)`,onClick:c})):M(``,!0)]),_:1},8,[`sources`,`variable-units`,`new-units`,`status`,`lines`,`files`,`problems`,`units-names`,`issues`,`checking`])]),_:1},8,[`cellml`,`greek-names`,`issues`,`variable-units`])]))}}),[[`__scopeId`,`data-v-d6315d18`]]),JO=`modulepreload`,YO=function(e){return`/`+e},XO={},ZO=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=YO(t,n),t=s(t),t in XO)return;XO[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:JO,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},QO=qs(qO);QO.use(wu,{theme:{preset:hf,options:{darkModeSelector:!1}}}),new URLSearchParams(window.location.search).has(`nolibcellml`)?QO.mount(`#app`):ZO(async()=>{let{default:e}=await import(`./vue3-libcellml-4ponBlEP.js`);return{default:e}},[]).then(({default:e})=>{QO.use(e),QO.mount(`#app`)});export{qt as n,ZO as t};
|