From a0aecb7916e8f25da40b453760a266dd89e450f5 Mon Sep 17 00:00:00 2001 From: Simgor001 Date: Sat, 20 Jun 2026 18:52:26 +0800 Subject: [PATCH] Prepare 0.3.6 Obsidian release --- bun.lock | Bin 42581 -> 42581 bytes main.js | 72 ++++++++++----------- manifest.json | 2 +- package.json | 6 +- styles.css | 171 +++++++++++++++++++++++++++++++++++++++++--------- versions.json | 3 +- 6 files changed, 185 insertions(+), 69 deletions(-) diff --git a/bun.lock b/bun.lock index 3ab4ae6336c75947a8359653b9360f1a281598fe..0da6632c4bf6ece505810db2826f419455c434c1 100644 GIT binary patch delta 126 zcmV-^0D=G2%mUTS0Ml^3^ zVs=niD_D1GPFPG$Qg~-fIWkC6c2-O_Fm`riaZYf0R84qFG&CZZSh-cTO`wHB)$WFj6;fvrCBz9g{08YXATM delta 126 zcmV-^0D=G2%mUTS0{var Z=(P7??=new WeakMap).get(Q),J;if(Z)return Z;if(Z=xY({},"__esModule",{value:!0}),Q&&typeof Q==="object"||typeof Q==="function"){for(var X of H1(Q))if(!B1.call(Z,X))xY(Z,X,{get:D1.bind(Q,X),enumerable:!(J=V1(Q,X))||J.enumerable})}return P7.set(Q,Z),Z},P7;var M1=(Q)=>Q;function P1(Q,Z){this[Q]=M1.bind(null,Z)}var T1=(Q,Z)=>{for(var J in Z)xY(Q,J,{get:Z[J],enumerable:!0,configurable:!0,set:P1.bind(Z,J)})};var $2={};T1($2,{default:()=>D7});module.exports=O1($2);var _Y=require("obsidian");var fX=Symbol("iterate"),q8=Symbol("revision"),nZ=null,$0=null,bX=0,xX=new Set,EK=new WeakMap,T7=new WeakMap,pX=new WeakMap,r9=new WeakMap;class Jj{cleanups=[];effects=new Set;disposed=!1;dispose(){if(this.disposed)return;this.disposed=!0;for(let Q of Array.from(this.effects))Q.stop();this.effects.clear();for(let Q=this.cleanups.length-1;Q>=0;Q-=1)this.cleanups[Q]();this.cleanups.length=0}}class Xj{fn;scope;deps=[];cleanups=[];stopped=!1;running=!1;constructor(Q,Z){if(this.fn=Q,this.scope=Z,Z)Z.effects.add(this)}run(){if(this.stopped||this.running)return;this.running=!0,this.cleanupDeps(),this.runCleanups();let Q=nZ,Z=$0;if(nZ=this,this.scope)$0=this.scope;try{this.fn()}finally{nZ=Q,$0=Z,this.running=!1}}stop(){if(this.stopped)return;this.stopped=!0,this.cleanupDeps(),this.runCleanups(),this.scope?.effects.delete(this)}cleanupDeps(){for(let Q of this.deps)Q.delete(this);this.deps.length=0}runCleanups(){for(let Q=this.cleanups.length-1;Q>=0;Q-=1)this.cleanups[Q]();this.cleanups.length=0}}function C1(Q,Z){let J=EK.get(Q);if(!J)J=new Map,EK.set(Q,J);let X=J.get(Z);if(!X)X=new Set,J.set(Z,X);return X}function vJ(Q,Z){if(!nZ)return;let J=C1(Q,Z);if(J.has(nZ))return;J.add(nZ),nZ.deps.push(J)}function I9(Q,Z){let J=EK.get(Q);if(!J)return;let X=new Set,Y=(K)=>{if(!K)return;for(let j of K)X.add(j)};if(Y(J.get(Z)),Z!==q8)Y(J.get(fX));for(let K of X)S1(K)}function S1(Q){if(Q.stopped)return;if(bX>0){xX.add(Q);return}Q.run()}function N1(){while(xX.size>0){let Q=Array.from(xX);xX.clear();for(let Z of Q)Z.run()}}function C7(Q){let Z=r9.get(Q)??Q;I9(Z,q8)}function G8(Q,Z){let J=T7.get(Q);if(J)return J;let X=new Proxy(Q,{get(Y,K,j){if(K==="__slexkitRaw")return Y;if(K==="__slexkitRoot")return Z;vJ(Y,K);let U=Reflect.get(Y,K,j);if(U&&typeof U==="object")return G8(U,Z);return U},set(Y,K,j,U){let F=Reflect.get(Y,K,U),A=Object.prototype.hasOwnProperty.call(Y,K),G=Reflect.set(Y,K,j,U);if(G&&(!Object.is(F,j)||!A)){if(I9(Y,K),!A)I9(Y,fX);C7(Y)}return G},deleteProperty(Y,K){let j=Object.prototype.hasOwnProperty.call(Y,K),U=Reflect.deleteProperty(Y,K);if(U&&j)I9(Y,K),I9(Y,fX),C7(Y);return U},ownKeys(Y){return vJ(Y,fX),Reflect.ownKeys(Y)}});return T7.set(Q,X),pX.set(X,Q),r9.set(Q,Z),r9.set(X,Z),X}function $Y(Q){return G8(Q,Q)}function Yj(Q,Z){if(!Q||typeof Q!=="object")return Q;if(pX.has(Q)||r9.has(Q))return Q;if(!Z||typeof Z!=="object")return Q;let J=r9.get(Z)??pX.get(Z);if(!J)return Q;return G8(Q,J)}function w1(Q){if(!Q||typeof Q!=="object")return;let Z=r9.get(Q)??pX.get(Q);if(Z)vJ(Z,q8)}function E8(Q){let Z=new Jj,J=$0,X=nZ;$0=Z,nZ=null;try{return Q(()=>Z.dispose())}finally{nZ=X,$0=J}}function AY(Q){let Z=new Xj(Q,$0);return Z.run(),()=>Z.stop()}function z8(Q){let Z={},J;return AY(()=>{J=Q(),I9(Z,"value")}),()=>{return vJ(Z,"value"),J}}function S7(Q){let Z={},J=Q;return[()=>{return vJ(Z,"value"),J},(X)=>{if(Object.is(J,X))return;J=X,I9(Z,"value")}]}function t9(Q){if(nZ){nZ.cleanups.push(Q);return}if($0)$0.cleanups.push(Q)}function k1(Q){bX+=1;try{return Q()}finally{if(bX-=1,bX===0)N1()}}var CJ=new Map;function Kj(Q){if(!CJ.has(Q))CJ.set(Q,{g:$Y({}),components:$Y({}),componentTypes:$Y({}),layouts:[],roots:new Map,cleanups:new Map});return CJ.get(Q)}function y1(Q){return CJ.get(Q)}function _1(Q){return CJ.delete(Q)}function jj(Q,Z){for(let J in Z){if(!Object.prototype.hasOwnProperty.call(Z,J))continue;let X=Z[J];if(typeof X==="function")Q[J]=X;else if(X!==null&&typeof X==="object"&&!Array.isArray(X)){if(!(J in Q)||typeof Q[J]!=="object")Q[J]={};jj(Q[J],X)}else Q[J]=X}return Q}var L8=new Map;function v1(Q,Z,J={}){L8.set(Q,{renderFn:Z,options:{state:J.state??"none"}})}function I8(Q){return L8.get(Q)?.renderFn}function m0(Q){return L8.get(Q)?.options.state??"none"}var aX=new Map,Uj=Symbol.for("slexkit.skipEagerTrack"),Fj=Symbol.for("slexkit.eagerTrackTarget");function f1(Q){let Z=`${Q}:`;for(let J of Array.from(aX.keys()))if(J.startsWith(Z))aX.delete(J)}function H8(Q,Z,J,X){try{for(let A of Object.values(Z)){if(A&&(typeof A==="object"||typeof A==="function")&&A[Uj])continue;let G=A&&(typeof A==="object"||typeof A==="function")?A[Fj]??A:A;w1(G)}let Y=Z.$revision;if(typeof Y==="function")Y();let K=Object.keys(Z),j=Object.values(Z),F=Function(...K,`"use strict"; return (${Q});`)(...j);if(X!==void 0)aX.set(`${J??"?"}:${X}:${Q}`,F);return F}catch(Y){let K=X!==void 0?`${J??"?"}:${X}:${Q}`:Q,j=aX.get(K);if(console.warn(`[SlexKit][${J||"?"}] $eval error at ${X||"?"}:`,Q,Y.message),j!==void 0)return j;return}}function b1(Q,Z,J,X){try{let Y=Object.keys(Z),K=Object.values(Z),j=Function(...Y,`"use strict"; { ${Q} }`);k1(()=>j(...K))}catch(Y){console.warn(`[SlexKit][${J||"?"}] @exec error at ${X||"?"}:`,Q,Y.message)}}var zK=new WeakMap,Rj;function x1(Q){Rj=Q.flush}function $X(Q){let Z=new Set,J=Q(),X,Y=()=>{if(X)return;X=AY(()=>{J=Q();for(let j of Array.from(Z))j(J);Rj?.()})},K=()=>J;return K.subscribe=(j)=>{let U=Z.size===0;if(Z.add(j),U)Y();else j(J);return()=>{if(Z.delete(j),Z.size===0)X?.(),X=void 0}},K}function $1(Q){return Q()??null}function h1(Q,Z){zK.set(Q,Z)}function V8(Q){let Z=zK.get(Q);if(!Z)return;zK.delete(Q),Z()}var m1=/^[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:[eE][+-]?\d+)?/,g1={p:0.000000000001,n:0.000000001,u:0.000001,"µ":0.000001,m:0.001,k:1000,K:1000,M:1e6,meg:1e6,G:1e9,T:1000000000000},c1=["meg","p","n","u","µ","m","k","K","M","G","T"];function AX(Q,Z){return{raw:Q,number:null,valid:!1,prefix:"",unit:"",normalized:"",error:Z}}function u1(Q){let Z=Q.trim();if(!Z)return{prefix:"",unit:""};for(let J of c1){if(J==="meg"){if(Z.toLowerCase().startsWith("meg"))return{prefix:"meg",unit:Z.slice(3).trim()};continue}if(Z.startsWith(J))return{prefix:J,unit:Z.slice(J.length).trim()}}return{prefix:"",unit:Z}}function WY(Q){let Z=Q==null?"":String(Q),J=Z.trim();if(!J)return{raw:Z,number:null,valid:!1,prefix:"",unit:"",normalized:"",error:"empty"};let X=J.match(m1);if(!X)return AX(Z,"invalid_number");let Y=X[0],K=J.slice(Y.length).trim(),j=Number(Y);if(!Number.isFinite(j))return AX(Z,"invalid_number");let{prefix:U,unit:F}=u1(K),A=U?g1[U]:1;if(!Number.isFinite(A))return AX(Z,"invalid_prefix");let G=j*A;if(!Number.isFinite(G))return AX(Z,"out_of_range");return{raw:Z,number:G,valid:!0,prefix:U,unit:F,normalized:`${G}${F?` ${F}`:""}`}}function d1(Q){return!!Q&&typeof Q==="object"&&"raw"in Q&&"number"in Q&&"valid"in Q&&"prefix"in Q&&"unit"in Q&&"normalized"in Q}function o9(Q){return Number(Q)}function DZ(Q,Z=0){let J=o9(Q);return Number.isFinite(J)?J:Z}function K0(Q,Z){let J=Math.trunc(DZ(Q,Z));return Math.max(0,Math.min(20,J))}function LJ(Q){if(!Array.isArray(Q))return[];return Q.map(o9).filter(Number.isFinite)}function w0(Q,Z=2){let J=o9(Q);return Number.isFinite(J)?J.toFixed(Z):"NaN"}function hY(Q){return typeof Q==="string"&&Q.trim()?Q:"en-US"}function l1(Q){return typeof Q==="string"&&/^[A-Za-z]{3}$/.test(Q)?Q.toUpperCase():"USD"}function mY(Q,Z,J,X,Y,K,j=0){let U=o9(Q);if(!Number.isFinite(U))return"NaN";return new Intl.NumberFormat(J,{maximumFractionDigits:Z,minimumFractionDigits:j,notation:X,style:Y,currency:K}).format(U)}function Aj(Q){for(let Z of Object.values(Q))if(Z&&typeof Z==="object")Aj(Z);return Object.freeze(Q)}var B9=Aj({math:{clamp(Q,Z,J){let X=DZ(Z),Y=DZ(J),K=DZ(Q);return Math.min(Math.max(K,Math.min(X,Y)),Math.max(X,Y))},round(Q,Z=0){let J=10**K0(Z,0);return Math.round(DZ(Q)*J)/J},safeDivide(Q,Z,J=0){let X=o9(Z);if(!Number.isFinite(X)||X===0)return DZ(J);let Y=o9(Q)/X;return Number.isFinite(Y)?Y:DZ(J)},percent(Q,Z,J=1){let X=B9.math.safeDivide(Q,Z,NaN)*100;return B9.math.round(X,J)},lerp(Q,Z,J){let X=DZ(Q);return X+(DZ(Z)-X)*DZ(J)}},stats:{sum(Q){return LJ(Q).reduce((Z,J)=>Z+J,0)},mean(Q){let Z=LJ(Q);return Z.length?B9.stats.sum(Z)/Z.length:NaN},min(Q){let Z=LJ(Q);return Z.length?Math.min(...Z):NaN},max(Q){let Z=LJ(Q);return Z.length?Math.max(...Z):NaN},median(Q){let Z=LJ(Q).sort((X,Y)=>X-Y);if(!Z.length)return NaN;let J=Math.floor(Z.length/2);return Z.length%2?Z[J]:(Z[J-1]+Z[J])/2}},format:{fixed(Q,Z=2){return w0(Q,K0(Z,2))},number(Q,Z=0,J="en-US"){return mY(Q,K0(Z,0),hY(J))},compact(Q,Z=1,J="en-US"){return mY(Q,K0(Z,1),hY(J),"compact")},percent(Q,Z=1){return`${w0(DZ(Q)*100,K0(Z,1))}%`},currency(Q,Z="USD",J="en-US"){return mY(Q,2,hY(J),void 0,"currency",l1(Z),2)}},units:{withUnit(Q,Z,J=2){let X=typeof Z==="string"?Z:String(Z??"");return`${w0(Q,K0(J,2))}${X?` ${X}`:""}`},bytes(Q,Z=1){let J=["B","KB","MB","GB","TB","PB"],X=Math.abs(DZ(Q)),Y=0;while(X>=1024&&Y=1000&&K{fJ(Z,Q,J,U,!0)});t9(j);return}let Y,K=!1;queueMicrotask(()=>{if(K)return;Y=X.subscribe((j)=>{fJ(Z,Q,J,j,!0)})}),t9(()=>{K=!0,Y?.()})}function O8(Q,Z,J,X,Y){if(!Z||!Gj(Q))return;let K=Y[Z]??"";if(S9(K)&&iX(Q))return;let j=D8(Z,Q,X,Y);if(Q==="input"&&typeof J.type==="string")zj(j,J.type);for(let[U,F]of Object.entries(J)){if(qj(U,F))continue;let A=Wj(U),G=Ej(Q,A);if(a1(F))s1(Q,j,A,F);else fJ(j,Q,A,F,!G)}return j}function M8(Q,Z,J){if(!Z)return;let X=m0(Q);if(X==="value")J.value=$X(()=>Z.value);else if(X==="checked"){let Y=$X(()=>!!(Z.checked??Z.value));J.checked=Y,J.value=Y}else if(X==="enabled")J.enabled=$X(()=>!!Z.enabled)}function P8(Q,Z,J,X,Y){if(!Z||!S9(Q))return;let K=D8(Z,Q,X,Y),j=m0(Q);if(j==="checked"){let U=!!J;K.checked=U,K.value=U}else if(j==="enabled")K.enabled=!!J;else if(Q==="input"&&K.type==="engineering")B8(K,J);else K.value=J}function r1(Q,Z,J){if(Q==="input"&&typeof J.type==="string")zj(Z,J.type);for(let[X,Y]of Object.entries(J)){if(X.startsWith("$")||qj(X,Y))continue;let K=Wj(X);if(Ej(Q,K))fJ(Z,Q,K,Y,!1)}}function t1(Q,Z,J,X,Y){if(console.warn(`[SlexKit][${Q}] Component state '${Z}' is declared more than once at ${Y.path} and ${X}; state is shared by namespace and component name.`),Y.type!==J)console.warn(`[SlexKit][${Q}] Component state '${Z}' is used by multiple component types (${Y.type}, ${J}); use distinct names when components should not share state.`)}function o1(Q,Z){let J=m0(Q),X=J==="checked"?Z.$checked??Z.$value:J==="enabled"?Z.$enabled:Z.$value;return typeof X==="string"?X.trim():void 0}function e1(Q,Z){return Q==="input"&&Z==="slider"||Q==="slider"&&Z==="input"}function QR(Q,Z,J){if(iX(J.type)&&iX(Q))return!1;if(Z&&J.stateBinding===Z&&e1(J.type,Q))return!1;return!0}function ZR(Q,Z,J){console.warn(`[SlexKit][${Q}] Component state '${Z}' is used with $for at ${J}; repeated items share one namespace-level instance state.`)}function Ij(Q,Z,J,X,Y,K=""){if(!Q||typeof Q!=="object")return;for(let[j,U]of Object.entries(Q)){if(!j.includes(":")||typeof U!=="object"||U===null)continue;let[F,A]=j.split(":"),G=U,z=K?`${K}.${j}`:j;if(A&&Gj(F)){let L=o1(F,G),E=Y.get(A);if(E){if(QR(F,L,E))t1(X,A,F,z,E)}else Y.set(A,{type:F,path:z,stateBinding:L});if(G.$for&&S9(F))ZR(X,A,z);let D=D8(A,F,Z,J);r1(F,D,G)}Ij(G,Z,J,X,Y,z)}}function JR(Q,Z,J,X){Ij(Q,Z,J,X,new Map)}function T8(Q,Z,J,X,Y){let K={g:n1(Q,Z,J),std:B9},j=new Set(Object.keys(w7(Q)));for(let U of Object.keys(w7(Z))){if(U==="std"||U==="g"||U==="api")continue;if(p1.test(U)&&!j.has(U))K[U]=Lj(U,Z[U],J)}if(X)K.api=X;if(Y)for(let U of Object.keys(Y)){if(U==="std")continue;Object.defineProperty(K,U,{get:()=>{let F=Y[U];return U==="$index"&&typeof F==="function"?F():F},enumerable:!0})}return K}var XR="background:var(--muted);border:1px solid var(--border);border-radius:calc(var(--radius) - 2px);padding:0.5rem;text-align:center;font-size:0.75rem;color:var(--muted-foreground)",YR={dir:"ltr",labels:{}};function KR(Q){return Object.keys(Q).some((Z)=>Z.includes(":"))}function C8(Q,Z,J){for(let[X,Y]of Object.entries(Q)){if(X==="$if"||X==="$for"||X==="$key")continue;if(X.includes(":")||typeof Y==="object"&&Y!==null&&Object.keys(Y).length>0&&KR(Y))J[X]=Y;else Z[X]=Y}}function D9(Q,Z,J){let X=Z?`${J}_${Z}`:`${J}_`,Y=Q[X];if(typeof Y==="function")Y.call(Q)}function S8(Q,Z){let J=Z.$enter;if(typeof J!=="function")return;let X=J();if(X&&typeof X==="string")Q.classList.add(X),Q.addEventListener("animationend",()=>Q.classList.remove(X),{once:!0})}function Hj(Q,Z,J){let X=Z.$leave;if(typeof X!=="function"){J();return}let Y=X();if(Y&&typeof Y==="string")Q.classList.add(Y),Q.addEventListener("animationend",()=>{J()},{once:!0});else J()}function N8(Q,Z,J,X,Y,K){try{return $1(()=>Q(Z,J,X))}catch(j){console.warn(`[SlexKit][${K}] Render error at ${Y}:`,j.message);let U=(X.document||document).createElement("div");return U.className="slex-render-error",U.title=Y,U.setAttribute("style",XR),U}}function w8(Q,Z,J,X,Y,K,j,U){let F=T8(Z,J,X,Y,K);for(let[A,G]of Object.entries(Q))if(A.startsWith("$")&&!A.startsWith("$if")&&!A.startsWith("$for")&&!A.startsWith("$key")&&typeof G==="string"){let z=`${U}:${A}`,L=z8(()=>H8(G,F,j,z));Q[A]=$X(L)}else if(A.startsWith("on")&&typeof G==="string"){let z=G,L=`${U}:${A}`;Q[A]=(E)=>b1(z,{...F,$event:E??null},j,L)}}function jR(Q,Z,J){if(J){if(J==="$value")return Q;if(J==="id"||J!=="id"&&Q&&typeof Q==="object")return Q?.[J]}if(Q&&typeof Q==="object"&&"id"in Q)return Q.id;if(["string","number","boolean"].includes(typeof Q))return console.warn("[SlexKit] $for with primitive array items but no $key specified. Use '$key: $value' for primitive arrays. Falling back to index."),Z;return console.warn("[SlexKit] $for array item has no 'id' property and no $key specified. Falling back to index."),Z}function UR(Q){if(!Array.isArray(Q))return Q;Reflect.get(Q,"length");for(let Z of Q)if(Z&&typeof Z==="object")for(let J of Object.keys(Z))Reflect.get(Z,J);return Q}function FR(Q,Z,J,X,Y,K,j,U,F,A){let[G,z]=Q.split(":"),L=I8(G);if(!L)return;let E=T8(X,Y,K,j,U),D=z8(()=>H8(Z.$if,E,F,`${Q}:$if`)),H=null,V=new Set,O=!1,S,P=(T)=>{if(T.disposed)return;if(T.disposed=!0,V.delete(T),H===T)H=null;V8(T.el),T.dispose(),D9(X,z,"onUnmount"),T.el.remove()};AY(()=>{if(D()){if(!H&&!O){O=!0;let T,k,M,C=E8((N)=>{T={},k={},C8(Z,T,k),w8(T,X,Y,K,j,U,F,Q);let _=O8(G,z,T,Y,K);return M8(G,_,T),S=(b,f)=>{if(b==="change")P8(G,z,f,Y,K);let x=T[`on${b}`];if(typeof x==="function")x(f)},M=N8(L,T,z,{g:X,std:B9,api:j,dir:A.dir,labels:A.labels,document:J.ownerDocument||document,forCtx:U,children:k,id:z||null,emit:S,renderTree:(b,f,x)=>qY(b,f,X,Y,K,x??U,F,j,A,!1)},Q,F),N});if(O=!1,M)J.appendChild(M),S8(M,T),D9(X,z,"onMount"),H={el:M,props:T,dispose:C,disposed:!1};else C()}}else if(H){let T=H;H=null,V.add(T),Hj(T.el,T.props,()=>{P(T)})}}),t9(()=>{if(H)P(H);for(let T of Array.from(V))P(T)})}function RR(Q,Z,J,X,Y,K,j,U,F,A,G,z,L,E,D,H,V,O){X[1](Z);let S=Yj(Q,G),P={...D,$item:S,$index:X[0],$key:J,$revision:Y[0]};if(U)P[U]=S;let T,k,M,C,N=E8((_)=>{T={},k={},C8(F,T,k),w8(T,G,z,L,E,P,H,V);let b=O8(j,U,T,z,L);return M8(j,b,T),C=(f,x)=>{if(f==="change")P8(j,U,x,z,L);let h=T[`on${f}`];if(typeof h==="function")h(x)},M=N8(K,T,U,{g:G,std:B9,api:E,dir:O.dir,labels:O.labels,document:A.ownerDocument||document,forCtx:P,children:k,id:U||null,emit:C,renderTree:(f,x,h)=>qY(f,x,G,z,L,h??P,H,E,O,!1)},`${V}[${Z}]`,H),_});return{key:J,el:M,forCtx:P,index:Z,item:S,props:T,children:k,indexSignal:X,revision:0,revisionSignal:Y,dispose:N}}function AR(Q,Z,J,X,Y,K,j,U,F,A){let[G,z]=Q.split(":"),L=I8(G);if(!L)return;let E=J.ownerDocument||document,D=E.createComment(`slexkit-for:${Q}:start`),H=E.createComment(`slexkit-for:${Q}:end`);J.append(D,H);let V=T8(X,Y,K,j,U),O=z8(()=>UR(H8(Z.$for,V,F,`${Q}:$for`))),S=Z.$key,P=new Map,T=new Set,k=new WeakSet,M=(C)=>{if(k.has(C))return;if(k.add(C),T.delete(C),D9(X,z,"onUnmount"),C.el)V8(C.el),C.el.remove();if(C.dispose)C.dispose()};AY(()=>{let C=O();if(!Array.isArray(C)){if(P.size>0){for(let[,x]of P)M(x);P.clear()}return}let N=C.map((x,h)=>jR(x,h,S)),_=new Set(N),b=[];for(let[x,h]of P)if(!_.has(x))b.push(h),P.delete(x);for(let x of b){if(T.add(x),!x.el){M(x);continue}Hj(x.el,x.props,()=>{M(x)})}let f=D;C.forEach((x,h)=>{x=Yj(x,X);let i=N[h],d=P.get(i);if(d){let KQ=d.index!==h,t=d.item!==x;if(d.forCtx.$item=x,d.forCtx.$key=i,z)d.forCtx[z]=x;if(d.index=h,d.item=x,d.revisionSignal)d.revision=(d.revision??0)+1,d.revisionSignal[1](d.revision);if(KQ||t){if(KQ&&d.indexSignal)d.indexSignal[1](h);D9(X,z,"onUpdate")}}else{let KQ=S7(h),t=S7(0);if(d=RR(x,h,i,KQ,t,L,G,z,Z,J,X,Y,K,j,U,F,Q,A),!d.el){M(d);return}S8(d.el,d.props),D9(X,z,"onMount"),P.set(i,d)}let XQ=f.nextSibling;if(d.el&&XQ!==d.el)J.insertBefore(d.el,XQ??H);if(d.el)f=d.el})}),t9(()=>{for(let C of Array.from(P.values()))M(C);P.clear();for(let C of Array.from(T))M(C);D.remove(),H.remove()})}function WR(Q,Z,J,X,Y,K,j,U,F,A){let[G,z]=Q.split(":"),L=I8(G);if(!L)return;let E={},D={};C8(Z,E,D),w8(E,X,Y,K,j,U,F,Q);let H=O8(G,z,E,Y,K);M8(G,H,E);let V=(S,P)=>{if(S==="change")P8(G,z,P,Y,K);let T=E[`on${S}`];if(typeof T==="function")T(P)},O=N8(L,E,z,{g:X,std:B9,api:j,dir:A.dir,labels:A.labels,document:J.ownerDocument||document,forCtx:U,children:D,id:z||null,emit:V,renderTree:(S,P,T)=>qY(S,P,X,Y,K,T??U,F,j,A,!1)},Q,F);if(O)J.appendChild(O),S8(O,E),D9(X,z,"onMount"),t9(()=>D9(X,z,"onUnmount")),t9(()=>V8(O))}function qR(Q,Z,J,X,Y,K,j,U,F,A){if(!Q||!Q.includes(":"))return;if(Z.$if)FR(Q,Z,J,X,Y,K,j,U,F,A);else if(Z.$for)AR(Q,Z,J,X,Y,K,j,U,F,A);else WR(Q,Z,J,X,Y,K,j,U,F,A)}function qY(Q,Z,J,X,Y,K,j="?",U,F=YR,A=!0){if(!Q||typeof Q!=="object")return;if(A)JR(Q,X,Y,j);for(let[G,z]of Object.entries(Q)){if(!G.includes(":"))continue;if(typeof z==="object"&&z!==null)qR(G,z,Z,J,X,Y,U,K,j,F)}}class Vj extends SyntaxError{diagnostic;constructor(Q){super(OR(Q));this.name="SlexKitSyntaxError",this.diagnostic=Q}}function GR(Q,Z,J){let X=Q.split(` +var{defineProperty:xY,getOwnPropertyNames:H1,getOwnPropertyDescriptor:V1}=Object,B1=Object.prototype.hasOwnProperty;function D1(Q){return this[Q]}var O1=(Q)=>{var Z=(P7??=new WeakMap).get(Q),J;if(Z)return Z;if(Z=xY({},"__esModule",{value:!0}),Q&&typeof Q==="object"||typeof Q==="function"){for(var X of H1(Q))if(!B1.call(Z,X))xY(Z,X,{get:D1.bind(Q,X),enumerable:!(J=V1(Q,X))||J.enumerable})}return P7.set(Q,Z),Z},P7;var M1=(Q)=>Q;function P1(Q,Z){this[Q]=M1.bind(null,Z)}var T1=(Q,Z)=>{for(var J in Z)xY(Q,J,{get:Z[J],enumerable:!0,configurable:!0,set:P1.bind(Z,J)})};var $2={};T1($2,{default:()=>D7});module.exports=O1($2);var _Y=require("obsidian");var fX=Symbol("iterate"),q8=Symbol("revision"),nZ=null,$0=null,bX=0,xX=new Set,EK=new WeakMap,T7=new WeakMap,pX=new WeakMap,r9=new WeakMap;class Jj{cleanups=[];effects=new Set;disposed=!1;dispose(){if(this.disposed)return;this.disposed=!0;for(let Q of Array.from(this.effects))Q.stop();this.effects.clear();for(let Q=this.cleanups.length-1;Q>=0;Q-=1)this.cleanups[Q]();this.cleanups.length=0}}class Xj{fn;scope;deps=[];cleanups=[];stopped=!1;running=!1;constructor(Q,Z){if(this.fn=Q,this.scope=Z,Z)Z.effects.add(this)}run(){if(this.stopped||this.running)return;this.running=!0,this.cleanupDeps(),this.runCleanups();let Q=nZ,Z=$0;if(nZ=this,this.scope)$0=this.scope;try{this.fn()}finally{nZ=Q,$0=Z,this.running=!1}}stop(){if(this.stopped)return;this.stopped=!0,this.cleanupDeps(),this.runCleanups(),this.scope?.effects.delete(this)}cleanupDeps(){for(let Q of this.deps)Q.delete(this);this.deps.length=0}runCleanups(){for(let Q=this.cleanups.length-1;Q>=0;Q-=1)this.cleanups[Q]();this.cleanups.length=0}}function C1(Q,Z){let J=EK.get(Q);if(!J)J=new Map,EK.set(Q,J);let X=J.get(Z);if(!X)X=new Set,J.set(Z,X);return X}function vJ(Q,Z){if(!nZ)return;let J=C1(Q,Z);if(J.has(nZ))return;J.add(nZ),nZ.deps.push(J)}function I9(Q,Z){let J=EK.get(Q);if(!J)return;let X=new Set,Y=(K)=>{if(!K)return;for(let j of K)X.add(j)};if(Y(J.get(Z)),Z!==q8)Y(J.get(fX));for(let K of X)S1(K)}function S1(Q){if(Q.stopped)return;if(bX>0){xX.add(Q);return}Q.run()}function N1(){while(xX.size>0){let Q=Array.from(xX);xX.clear();for(let Z of Q)Z.run()}}function C7(Q){let Z=r9.get(Q)??Q;I9(Z,q8)}function G8(Q,Z){let J=T7.get(Q);if(J)return J;let X=new Proxy(Q,{get(Y,K,j){if(K==="__slexkitRaw")return Y;if(K==="__slexkitRoot")return Z;vJ(Y,K);let U=Reflect.get(Y,K,j);if(U&&typeof U==="object")return G8(U,Z);return U},set(Y,K,j,U){let F=Reflect.get(Y,K,U),A=Object.prototype.hasOwnProperty.call(Y,K),G=Reflect.set(Y,K,j,U);if(G&&(!Object.is(F,j)||!A)){if(I9(Y,K),!A)I9(Y,fX);C7(Y)}return G},deleteProperty(Y,K){let j=Object.prototype.hasOwnProperty.call(Y,K),U=Reflect.deleteProperty(Y,K);if(U&&j)I9(Y,K),I9(Y,fX),C7(Y);return U},ownKeys(Y){return vJ(Y,fX),Reflect.ownKeys(Y)}});return T7.set(Q,X),pX.set(X,Q),r9.set(Q,Z),r9.set(X,Z),X}function $Y(Q){return G8(Q,Q)}function Yj(Q,Z){if(!Q||typeof Q!=="object")return Q;if(pX.has(Q)||r9.has(Q))return Q;if(!Z||typeof Z!=="object")return Q;let J=r9.get(Z)??pX.get(Z);if(!J)return Q;return G8(Q,J)}function w1(Q){if(!Q||typeof Q!=="object")return;let Z=r9.get(Q)??pX.get(Q);if(Z)vJ(Z,q8)}function E8(Q){let Z=new Jj,J=$0,X=nZ;$0=Z,nZ=null;try{return Q(()=>Z.dispose())}finally{nZ=X,$0=J}}function AY(Q){let Z=new Xj(Q,$0);return Z.run(),()=>Z.stop()}function z8(Q){let Z={},J;return AY(()=>{J=Q(),I9(Z,"value")}),()=>{return vJ(Z,"value"),J}}function S7(Q){let Z={},J=Q;return[()=>{return vJ(Z,"value"),J},(X)=>{if(Object.is(J,X))return;J=X,I9(Z,"value")}]}function t9(Q){if(nZ){nZ.cleanups.push(Q);return}if($0)$0.cleanups.push(Q)}function k1(Q){bX+=1;try{return Q()}finally{if(bX-=1,bX===0)N1()}}var CJ=new Map;function Kj(Q){if(!CJ.has(Q))CJ.set(Q,{g:$Y({}),components:$Y({}),componentTypes:$Y({}),layouts:[],roots:new Map,cleanups:new Map});return CJ.get(Q)}function y1(Q){return CJ.get(Q)}function _1(Q){return CJ.delete(Q)}function jj(Q,Z){for(let J in Z){if(!Object.prototype.hasOwnProperty.call(Z,J))continue;let X=Z[J];if(typeof X==="function")Q[J]=X;else if(X!==null&&typeof X==="object"&&!Array.isArray(X)){if(!(J in Q)||typeof Q[J]!=="object")Q[J]={};jj(Q[J],X)}else Q[J]=X}return Q}var L8=new Map;function v1(Q,Z,J={}){L8.set(Q,{renderFn:Z,options:{state:J.state??"none"}})}function I8(Q){return L8.get(Q)?.renderFn}function m0(Q){return L8.get(Q)?.options.state??"none"}var aX=new Map,Uj=Symbol.for("slexkit.skipEagerTrack"),Fj=Symbol.for("slexkit.eagerTrackTarget");function f1(Q){let Z=`${Q}:`;for(let J of Array.from(aX.keys()))if(J.startsWith(Z))aX.delete(J)}function H8(Q,Z,J,X){try{for(let A of Object.values(Z)){if(A&&(typeof A==="object"||typeof A==="function")&&A[Uj])continue;let G=A&&(typeof A==="object"||typeof A==="function")?A[Fj]??A:A;w1(G)}let Y=Z.$revision;if(typeof Y==="function")Y();let K=Object.keys(Z),j=Object.values(Z),F=Function(...K,`"use strict"; return (${Q});`)(...j);if(X!==void 0)aX.set(`${J??"?"}:${X}:${Q}`,F);return F}catch(Y){let K=X!==void 0?`${J??"?"}:${X}:${Q}`:Q,j=aX.get(K);if(console.warn(`[SlexKit][${J||"?"}] $eval error at ${X||"?"}:`,Q,Y.message),j!==void 0)return j;return}}function b1(Q,Z,J,X){try{let Y=Object.keys(Z),K=Object.values(Z),j=Function(...Y,`"use strict"; { ${Q} }`);k1(()=>j(...K))}catch(Y){console.warn(`[SlexKit][${J||"?"}] @exec error at ${X||"?"}:`,Q,Y.message)}}var zK=new WeakMap,Rj;function x1(Q){Rj=Q.flush}function $X(Q){let Z=new Set,J=Q(),X,Y=()=>{if(X)return;X=AY(()=>{J=Q();for(let j of Array.from(Z))j(J);Rj?.()})},K=()=>J;return K.subscribe=(j)=>{let U=Z.size===0;if(Z.add(j),U)Y();else j(J);return()=>{if(Z.delete(j),Z.size===0)X?.(),X=void 0}},K}function $1(Q){return Q()??null}function h1(Q,Z){zK.set(Q,Z)}function V8(Q){let Z=zK.get(Q);if(!Z)return;zK.delete(Q),Z()}var m1=/^[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:[eE][+-]?\d+)?/,g1={p:0.000000000001,n:0.000000001,u:0.000001,"µ":0.000001,m:0.001,k:1000,K:1000,M:1e6,meg:1e6,G:1e9,T:1000000000000},c1=["meg","p","n","u","µ","m","k","K","M","G","T"];function AX(Q,Z){return{raw:Q,number:null,valid:!1,prefix:"",unit:"",normalized:"",error:Z}}function u1(Q){let Z=Q.trim();if(!Z)return{prefix:"",unit:""};for(let J of c1){if(J==="meg"){if(Z.toLowerCase().startsWith("meg"))return{prefix:"meg",unit:Z.slice(3).trim()};continue}if(Z.startsWith(J))return{prefix:J,unit:Z.slice(J.length).trim()}}return{prefix:"",unit:Z}}function WY(Q){let Z=Q==null?"":String(Q),J=Z.trim();if(!J)return{raw:Z,number:null,valid:!1,prefix:"",unit:"",normalized:"",error:"empty"};let X=J.match(m1);if(!X)return AX(Z,"invalid_number");let Y=X[0],K=J.slice(Y.length).trim(),j=Number(Y);if(!Number.isFinite(j))return AX(Z,"invalid_number");let{prefix:U,unit:F}=u1(K),A=U?g1[U]:1;if(!Number.isFinite(A))return AX(Z,"invalid_prefix");let G=j*A;if(!Number.isFinite(G))return AX(Z,"out_of_range");return{raw:Z,number:G,valid:!0,prefix:U,unit:F,normalized:`${G}${F?` ${F}`:""}`}}function d1(Q){return!!Q&&typeof Q==="object"&&"raw"in Q&&"number"in Q&&"valid"in Q&&"prefix"in Q&&"unit"in Q&&"normalized"in Q}function o9(Q){return Number(Q)}function DZ(Q,Z=0){let J=o9(Q);return Number.isFinite(J)?J:Z}function K0(Q,Z){let J=Math.trunc(DZ(Q,Z));return Math.max(0,Math.min(20,J))}function LJ(Q){if(!Array.isArray(Q))return[];return Q.map(o9).filter(Number.isFinite)}function w0(Q,Z=2){let J=o9(Q);return Number.isFinite(J)?J.toFixed(Z):"NaN"}function hY(Q){return typeof Q==="string"&&Q.trim()?Q:"en-US"}function l1(Q){return typeof Q==="string"&&/^[A-Za-z]{3}$/.test(Q)?Q.toUpperCase():"USD"}function mY(Q,Z,J,X,Y,K,j=0){let U=o9(Q);if(!Number.isFinite(U))return"NaN";return new Intl.NumberFormat(J,{maximumFractionDigits:Z,minimumFractionDigits:j,notation:X,style:Y,currency:K}).format(U)}function Aj(Q){for(let Z of Object.values(Q))if(Z&&typeof Z==="object")Aj(Z);return Object.freeze(Q)}var B9=Aj({math:{clamp(Q,Z,J){let X=DZ(Z),Y=DZ(J),K=DZ(Q);return Math.min(Math.max(K,Math.min(X,Y)),Math.max(X,Y))},round(Q,Z=0){let J=10**K0(Z,0);return Math.round(DZ(Q)*J)/J},safeDivide(Q,Z,J=0){let X=o9(Z);if(!Number.isFinite(X)||X===0)return DZ(J);let Y=o9(Q)/X;return Number.isFinite(Y)?Y:DZ(J)},percent(Q,Z,J=1){let X=B9.math.safeDivide(Q,Z,NaN)*100;return B9.math.round(X,J)},lerp(Q,Z,J){let X=DZ(Q);return X+(DZ(Z)-X)*DZ(J)}},stats:{sum(Q){return LJ(Q).reduce((Z,J)=>Z+J,0)},mean(Q){let Z=LJ(Q);return Z.length?B9.stats.sum(Z)/Z.length:NaN},min(Q){let Z=LJ(Q);return Z.length?Math.min(...Z):NaN},max(Q){let Z=LJ(Q);return Z.length?Math.max(...Z):NaN},median(Q){let Z=LJ(Q).sort((X,Y)=>X-Y);if(!Z.length)return NaN;let J=Math.floor(Z.length/2);return Z.length%2?Z[J]:(Z[J-1]+Z[J])/2}},format:{fixed(Q,Z=2){return w0(Q,K0(Z,2))},number(Q,Z=0,J="en-US"){return mY(Q,K0(Z,0),hY(J))},compact(Q,Z=1,J="en-US"){return mY(Q,K0(Z,1),hY(J),"compact")},percent(Q,Z=1){return`${w0(DZ(Q)*100,K0(Z,1))}%`},currency(Q,Z="USD",J="en-US"){return mY(Q,2,hY(J),void 0,"currency",l1(Z),2)}},units:{withUnit(Q,Z,J=2){let X=typeof Z==="string"?Z:String(Z??"");return`${w0(Q,K0(J,2))}${X?` ${X}`:""}`},bytes(Q,Z=1){let J=["B","KB","MB","GB","TB","PB"],X=Math.abs(DZ(Q)),Y=0;while(X>=1024&&Y=1000&&K{fJ(Z,Q,J,U,!0)});t9(j);return}let Y,K=!1;queueMicrotask(()=>{if(K)return;Y=X.subscribe((j)=>{fJ(Z,Q,J,j,!0)})}),t9(()=>{K=!0,Y?.()})}function O8(Q,Z,J,X,Y){if(!Z||!Gj(Q))return;let K=Y[Z]??"";if(S9(K)&&iX(Q))return;let j=D8(Z,Q,X,Y);if(Q==="input"&&typeof J.type==="string")zj(j,J.type);for(let[U,F]of Object.entries(J)){if(qj(U,F))continue;let A=Wj(U),G=Ej(Q,A);if(a1(F))s1(Q,j,A,F);else fJ(j,Q,A,F,!G)}return j}function M8(Q,Z,J){if(!Z)return;let X=m0(Q);if(X==="value")J.value=$X(()=>Z.value);else if(X==="checked"){let Y=$X(()=>!!(Z.checked??Z.value));J.checked=Y,J.value=Y}else if(X==="enabled")J.enabled=$X(()=>!!Z.enabled)}function P8(Q,Z,J,X,Y){if(!Z||!S9(Q))return;let K=D8(Z,Q,X,Y),j=m0(Q);if(j==="checked"){let U=!!J;K.checked=U,K.value=U}else if(j==="enabled")K.enabled=!!J;else if(Q==="input"&&K.type==="engineering")B8(K,J);else K.value=J}function r1(Q,Z,J){if(Q==="input"&&typeof J.type==="string")zj(Z,J.type);for(let[X,Y]of Object.entries(J)){if(X.startsWith("$")||qj(X,Y))continue;let K=Wj(X);if(Ej(Q,K))fJ(Z,Q,K,Y,!1)}}function t1(Q,Z,J,X,Y){if(console.warn(`[SlexKit][${Q}] Component state '${Z}' is declared more than once at ${Y.path} and ${X}; state is shared by namespace and component name.`),Y.type!==J)console.warn(`[SlexKit][${Q}] Component state '${Z}' is used by multiple component types (${Y.type}, ${J}); use distinct names when components should not share state.`)}function o1(Q,Z){let J=m0(Q),X=J==="checked"?Z.$checked??Z.$value:J==="enabled"?Z.$enabled:Z.$value;return typeof X==="string"?X.trim():void 0}function e1(Q,Z){return Q==="input"&&Z==="slider"||Q==="slider"&&Z==="input"}function QR(Q,Z,J){if(iX(J.type)&&iX(Q))return!1;if(Z&&J.stateBinding===Z&&e1(J.type,Q))return!1;return!0}function ZR(Q,Z,J){console.warn(`[SlexKit][${Q}] Component state '${Z}' is used with $for at ${J}; repeated items share one namespace-level instance state.`)}function Ij(Q,Z,J,X,Y,K=""){if(!Q||typeof Q!=="object")return;for(let[j,U]of Object.entries(Q)){if(!j.includes(":")||typeof U!=="object"||U===null)continue;let[F,A]=j.split(":"),G=U,z=K?`${K}.${j}`:j;if(A&&Gj(F)){let L=o1(F,G),E=Y.get(A);if(E){if(QR(F,L,E))t1(X,A,F,z,E)}else Y.set(A,{type:F,path:z,stateBinding:L});if(G.$for&&S9(F))ZR(X,A,z);let D=D8(A,F,Z,J);r1(F,D,G)}Ij(G,Z,J,X,Y,z)}}function JR(Q,Z,J,X){Ij(Q,Z,J,X,new Map)}function T8(Q,Z,J,X,Y){let K={g:n1(Q,Z,J),std:B9},j=new Set(Object.keys(w7(Q)));for(let U of Object.keys(w7(Z))){if(U==="std"||U==="g"||U==="api")continue;if(p1.test(U)&&!j.has(U))K[U]=Lj(U,Z[U],J)}if(X)K.api=X;if(Y)for(let U of Object.keys(Y)){if(U==="std")continue;Object.defineProperty(K,U,{get:()=>{let F=Y[U];return U==="$index"&&typeof F==="function"?F():F},enumerable:!0})}return K}var XR="background:var(--muted);border:1px solid var(--border);border-radius:calc(var(--radius) - 2px);padding:0.5rem;text-align:center;font-size:0.75rem;color:var(--muted-foreground)",YR={dir:"ltr",labels:{}};function KR(Q){return Object.keys(Q).some((Z)=>Z.includes(":"))}function C8(Q,Z,J){for(let[X,Y]of Object.entries(Q)){if(X==="$if"||X==="$for"||X==="$key")continue;if(X.includes(":")||typeof Y==="object"&&Y!==null&&Object.keys(Y).length>0&&KR(Y))J[X]=Y;else Z[X]=Y}}function D9(Q,Z,J){let X=Z?`${J}_${Z}`:`${J}_`,Y=Q[X];if(typeof Y==="function")Y.call(Q)}function S8(Q,Z){let J=Z.$enter;if(typeof J!=="function")return;let X=J();if(X&&typeof X==="string")Q.classList.add(X),Q.addEventListener("animationend",()=>Q.classList.remove(X),{once:!0})}function Hj(Q,Z,J){let X=Z.$leave;if(typeof X!=="function"){J();return}let Y=X();if(Y&&typeof Y==="string")Q.classList.add(Y),Q.addEventListener("animationend",()=>{J()},{once:!0});else J()}function N8(Q,Z,J,X,Y,K){try{return $1(()=>Q(Z,J,X))}catch(j){console.warn(`[SlexKit][${K}] Render error at ${Y}:`,j.message);let U=(X.document||document).createElement("div");return U.className="slex-render-error",U.title=Y,U.setAttribute("style",XR),U}}function w8(Q,Z,J,X,Y,K,j,U){let F=T8(Z,J,X,Y,K);for(let[A,G]of Object.entries(Q))if(A.startsWith("$")&&!A.startsWith("$if")&&!A.startsWith("$for")&&!A.startsWith("$key")&&typeof G==="string"){let z=`${U}:${A}`,L=z8(()=>H8(G,F,j,z));Q[A]=$X(L)}else if(A.startsWith("on")&&typeof G==="string"){let z=G,L=`${U}:${A}`;Q[A]=(E)=>b1(z,{...F,$event:E??null},j,L)}}function jR(Q,Z,J){if(J){if(J==="$value")return Q;if(J==="id"||J!=="id"&&Q&&typeof Q==="object")return Q?.[J]}if(Q&&typeof Q==="object"&&"id"in Q)return Q.id;if(["string","number","boolean"].includes(typeof Q))return console.warn("[SlexKit] $for with primitive array items but no $key specified. Use '$key: $value' for primitive arrays. Falling back to index."),Z;return console.warn("[SlexKit] $for array item has no 'id' property and no $key specified. Falling back to index."),Z}function UR(Q){if(!Array.isArray(Q))return Q;Reflect.get(Q,"length");for(let Z of Q)if(Z&&typeof Z==="object")for(let J of Object.keys(Z))Reflect.get(Z,J);return Q}function FR(Q,Z,J,X,Y,K,j,U,F,A){let[G,z]=Q.split(":"),L=I8(G);if(!L)return;let E=T8(X,Y,K,j,U),D=z8(()=>H8(Z.$if,E,F,`${Q}:$if`)),H=null,V=new Set,O=!1,S,P=(T)=>{if(T.disposed)return;if(T.disposed=!0,V.delete(T),H===T)H=null;V8(T.el),T.dispose(),D9(X,z,"onUnmount"),T.el.remove()};AY(()=>{if(D()){if(!H&&!O){O=!0;let T,k,M,C=E8((N)=>{T={},k={},C8(Z,T,k),w8(T,X,Y,K,j,U,F,Q);let _=O8(G,z,T,Y,K);return M8(G,_,T),S=(x,v)=>{if(x==="change")P8(G,z,v,Y,K);let b=T[`on${x}`];if(typeof b==="function")b(v)},M=N8(L,T,z,{g:X,std:B9,api:j,dir:A.dir,labels:A.labels,document:J.ownerDocument||document,forCtx:U,children:k,id:z||null,emit:S,renderTree:(x,v,b)=>qY(x,v,X,Y,K,b??U,F,j,A,!1)},Q,F),N});if(O=!1,M)J.appendChild(M),S8(M,T),D9(X,z,"onMount"),H={el:M,props:T,dispose:C,disposed:!1};else C()}}else if(H){let T=H;H=null,V.add(T),Hj(T.el,T.props,()=>{P(T)})}}),t9(()=>{if(H)P(H);for(let T of Array.from(V))P(T)})}function RR(Q,Z,J,X,Y,K,j,U,F,A,G,z,L,E,D,H,V,O){X[1](Z);let S=Yj(Q,G),P={...D,$item:S,$index:X[0],$key:J,$revision:Y[0]};if(U)P[U]=S;let T,k,M,C,N=E8((_)=>{T={},k={},C8(F,T,k),w8(T,G,z,L,E,P,H,V);let x=O8(j,U,T,z,L);return M8(j,x,T),C=(v,b)=>{if(v==="change")P8(j,U,b,z,L);let h=T[`on${v}`];if(typeof h==="function")h(b)},M=N8(K,T,U,{g:G,std:B9,api:E,dir:O.dir,labels:O.labels,document:A.ownerDocument||document,forCtx:P,children:k,id:U||null,emit:C,renderTree:(v,b,h)=>qY(v,b,G,z,L,h??P,H,E,O,!1)},`${V}[${Z}]`,H),_});return{key:J,el:M,forCtx:P,index:Z,item:S,props:T,children:k,indexSignal:X,revision:0,revisionSignal:Y,dispose:N}}function AR(Q,Z,J,X,Y,K,j,U,F,A){let[G,z]=Q.split(":"),L=I8(G);if(!L)return;let E=J.ownerDocument||document,D=E.createComment(`slexkit-for:${Q}:start`),H=E.createComment(`slexkit-for:${Q}:end`);J.append(D,H);let V=T8(X,Y,K,j,U),O=z8(()=>UR(H8(Z.$for,V,F,`${Q}:$for`))),S=Z.$key,P=new Map,T=new Set,k=new WeakSet,M=(C)=>{if(k.has(C))return;if(k.add(C),T.delete(C),D9(X,z,"onUnmount"),C.el)V8(C.el),C.el.remove();if(C.dispose)C.dispose()};AY(()=>{let C=O();if(!Array.isArray(C)){if(P.size>0){for(let[,b]of P)M(b);P.clear()}return}let N=C.map((b,h)=>jR(b,h,S)),_=new Set(N),x=[];for(let[b,h]of P)if(!_.has(b))x.push(h),P.delete(b);for(let b of x){if(T.add(b),!b.el){M(b);continue}Hj(b.el,b.props,()=>{M(b)})}let v=D;C.forEach((b,h)=>{b=Yj(b,X);let p=N[h],d=P.get(p);if(d){let KQ=d.index!==h,o=d.item!==b;if(d.forCtx.$item=b,d.forCtx.$key=p,z)d.forCtx[z]=b;if(d.index=h,d.item=b,d.revisionSignal)d.revision=(d.revision??0)+1,d.revisionSignal[1](d.revision);if(KQ||o){if(KQ&&d.indexSignal)d.indexSignal[1](h);D9(X,z,"onUpdate")}}else{let KQ=S7(h),o=S7(0);if(d=RR(b,h,p,KQ,o,L,G,z,Z,J,X,Y,K,j,U,F,Q,A),!d.el){M(d);return}S8(d.el,d.props),D9(X,z,"onMount"),P.set(p,d)}let XQ=v.nextSibling;if(d.el&&XQ!==d.el)J.insertBefore(d.el,XQ??H);if(d.el)v=d.el})}),t9(()=>{for(let C of Array.from(P.values()))M(C);P.clear();for(let C of Array.from(T))M(C);D.remove(),H.remove()})}function WR(Q,Z,J,X,Y,K,j,U,F,A){let[G,z]=Q.split(":"),L=I8(G);if(!L)return;let E={},D={};C8(Z,E,D),w8(E,X,Y,K,j,U,F,Q);let H=O8(G,z,E,Y,K);M8(G,H,E);let V=(S,P)=>{if(S==="change")P8(G,z,P,Y,K);let T=E[`on${S}`];if(typeof T==="function")T(P)},O=N8(L,E,z,{g:X,std:B9,api:j,dir:A.dir,labels:A.labels,document:J.ownerDocument||document,forCtx:U,children:D,id:z||null,emit:V,renderTree:(S,P,T)=>qY(S,P,X,Y,K,T??U,F,j,A,!1)},Q,F);if(O)J.appendChild(O),S8(O,E),D9(X,z,"onMount"),t9(()=>D9(X,z,"onUnmount")),t9(()=>V8(O))}function qR(Q,Z,J,X,Y,K,j,U,F,A){if(!Q||!Q.includes(":"))return;if(Z.$if)FR(Q,Z,J,X,Y,K,j,U,F,A);else if(Z.$for)AR(Q,Z,J,X,Y,K,j,U,F,A);else WR(Q,Z,J,X,Y,K,j,U,F,A)}function qY(Q,Z,J,X,Y,K,j="?",U,F=YR,A=!0){if(!Q||typeof Q!=="object")return;if(A)JR(Q,X,Y,j);for(let[G,z]of Object.entries(Q)){if(!G.includes(":"))continue;if(typeof z==="object"&&z!==null)qR(G,z,Z,J,X,Y,U,K,j,F)}}class Vj extends SyntaxError{diagnostic;constructor(Q){super(OR(Q));this.name="SlexKitSyntaxError",this.diagnostic=Q}}function GR(Q,Z,J){let X=Q.split(` `),Y=Math.max(1,Z-2),K=Math.min(X.length,Z+2),j=String(K).length,U=[];for(let F=Y;F<=K;F+=1){let A=F===Z?">":" ";if(U.push(`${A} ${String(F).padStart(j," ")} | ${X[F-1]??""}`),F===Z)U.push(` ${" ".repeat(j)} | ${" ".repeat(Math.max(0,J-1))}^`)}return U.join(` `)}function LK(Q,Z){let X=Q.slice(0,Math.max(0,Z)).split(` `);return{line:X.length,column:X[X.length-1].length+1}}function ER(Q){if(!(Q instanceof Error)||!Q.stack)return null;let Z=Q.stack.match(/\s+\(:(\d+)\)/);if(!Z)return null;let J=Number(Z[1]);return Number.isFinite(J)?Math.max(1,J-2):null}function Bj(Q){let Z=[],J="",X=!1,Y=1,K=0;for(let j=0;j{let Y=X.trim().toLowerCase();if(Y==="*"||Y===J)return!0;if(Y.endsWith("/*"))return J.startsWith(`${Y.slice(0,-1)}`);return!1})}function fR(Q,Z){let J=Z.toLowerCase();for(let[X,Y]of Object.entries(Q))if(X.toLowerCase()===J)return Y;return}function bR(Q,Z){if(!Z)return;if(Z.maxResponseBytes!==void 0&&_R(Q)>Z.maxResponseBytes)throw new vQ("policy","response_too_large","Response body exceeds the runtime policy limit.",Q.elapsedMs);if(Z.allowContentTypes?.length){let J=fR(Q.headers,"content-type");if(!J||!vR(J,Z.allowContentTypes))throw new vQ("policy","content_type_blocked",`Response content-type ${J||"unknown"} is not allowed.`,Q.elapsedMs)}}function y7(Q){let Z=Q.canvas;if(!Z?.enabled)throw new vQ("policy","canvas_disabled","Canvas access is disabled.");return Z}function _7(Q,Z,J){if(!Number.isFinite(Z)||!Number.isFinite(J)||Z<=0||J<=0)throw new vQ("policy","canvas_size_invalid","Canvas size must be positive finite numbers.");let X=Math.ceil(Z)*Math.ceil(J);if(Q.maxPixels!==void 0&&X>Q.maxPixels)throw new vQ("policy","canvas_too_large","Canvas size exceeds the runtime policy limit.")}function xR(Q,Z){if(Q.allowedContexts?.length&&!Q.allowedContexts.includes(Z))throw new vQ("policy","canvas_context_blocked",`Canvas context ${Z} is not allowed.`)}function gY(Q,Z){try{Q?.onNetworkLog?.(Z)}catch{}}function $R(Q,Z){try{Q?.onRuntimeError?.(Z)}catch{}}function hR(Q){let Z=globalThis;return{setTimeout:Q?.setTimeout??((J,X)=>Number(Z.setTimeout(J,X))),clearTimeout:Q?.clearTimeout??((J)=>Z.clearTimeout(J)),setInterval:Q?.setInterval??((J,X)=>Number(Z.setInterval(J,X))),clearInterval:Q?.clearInterval??((J)=>Z.clearInterval(J))}}function mR(Q){let Z=globalThis;return{requestAnimationFrame:Q?.requestAnimationFrame??((J)=>{if(typeof Z.requestAnimationFrame==="function")return Number(Z.requestAnimationFrame(J));return Number(globalThis.setTimeout(()=>J(e0(Q)),16))}),cancelAnimationFrame:Q?.cancelAnimationFrame??((J)=>{if(typeof Z.cancelAnimationFrame==="function")Z.cancelAnimationFrame(J);else globalThis.clearTimeout(J)})}}async function gR(Q,Z){if(Z===void 0||!Q.body?.getReader){let j=await Q.text();if(Z!==void 0&&j.length>Z)throw new vQ("policy","response_too_large","Response body exceeds the runtime policy limit.");return j}let J=Q.body.getReader(),X=new TextDecoder,Y=0,K="";while(!0){let{done:j,value:U}=await J.read();if(j)break;if(Y+=U.byteLength,Y>Z)throw await J.cancel(),new vQ("policy","response_too_large","Response body exceeds the runtime policy limit.");K+=X.decode(U,{stream:!0})}return K+=X.decode(),K}async function cR(Q,Z,J={}){if(Z?.fetch)return Z.fetch(Q);if(typeof fetch!=="function")throw new vQ("network","fetch_unavailable","Host fetch is unavailable.");let X=e0(Z),Y=typeof AbortController<"u"?new AbortController:void 0,K=Y?J.onController?.(Y):void 0,j=Y?globalThis.setTimeout(()=>Y.abort(),Q.timeoutMs):void 0;try{let U={method:Q.method,headers:Q.headers,credentials:Q.credentials,signal:Y?.signal};if(Q.method==="POST"&&Q.body!==void 0)if(typeof Q.body==="string"||Q.body instanceof ArrayBuffer||ArrayBuffer.isView(Q.body))U.body=Q.body;else U.body=JSON.stringify(Q.body),U.headers=Q.headers;let F=await fetch(Q.url,U),A=await gR(F,J.maxResponseBytes),G=void 0;try{G=A?JSON.parse(A):void 0}catch{G=void 0}let z={};return F.headers.forEach((L,E)=>{z[E]=L}),{ok:F.ok,status:F.status,statusText:F.statusText,url:F.url,headers:z,text:A,data:G,elapsedMs:e0(Z)-X}}catch(U){let F=e0(Z)-X;if(U instanceof Error&&U.name==="AbortError")throw new vQ("timeout","timeout","Request timed out.",F);throw new vQ("network","network_error",k8(U),F)}finally{if(j!==void 0)globalThis.clearTimeout(j);K?.()}}function k8(Q){if(Q instanceof Error)return Q.message;if(Q&&typeof Q==="object"&&"message"in Q)return String(Q.message);return String(Q??"Unknown error.")}function HK(Q){if(Q instanceof vQ)return{name:Q.name,message:Q.message,kind:Q.kind,code:Q.code,elapsedMs:Q.elapsedMs};if(Q instanceof Error)return{name:Q.name,message:Q.message};return{name:"Error",message:k8(Q)}}function Oj(Q,Z){let J=new Set,X=new Set,Y=new Set,K=new Set,j=new Set,U=new Set,F=new Set,A=!1,G=1,z=new Map,L=hR(Z),E=mR(Z);function D(){if(A)throw new vQ("policy","runtime_disposed","Runtime has been disposed.")}function H(M,C,N={}){let _=Q.network;if(!_?.enabled)throw new vQ("policy","network_disabled","Network access is disabled.");if(!_.methods.includes(M))throw new vQ("policy","method_blocked",`Network method ${M} is not allowed.`);let b=TR(C);if(!CR(b.origin,_.allowOrigins))throw new vQ("policy","origin_blocked",`Network origin ${b.origin} is not allowed.`);if(M==="POST"&&NR(N.body)>_.maxBodyBytes)throw new vQ("policy","body_too_large","Request body exceeds the runtime policy limit.");let f=SR(M,N.body)?{"content-type":"application/json",...N.headers}:N.headers;yR(f,_.allowHeaders);let x=Math.min(N.timeoutMs??_.timeoutMs,_.timeoutMs),h=N.credentials??_.credentials;if(h!==_.credentials)throw new vQ("policy","credentials_blocked","Request credentials mode is not allowed.");return{method:M,url:b.href,headers:f,body:N.body,credentials:h,timeoutMs:x}}function V(M){let C=Q.timer;if(!C?.enabled)throw new vQ("policy","timer_disabled","Timer access is disabled.");if(!Number.isFinite(M)||M=C.maxTimers)throw new vQ("policy","timer_limit","Timer limit exceeded.")}function O(M){if(Number.isFinite(M)&&M>0)return M;let C=G++;return z.set(C,M),C}function S(M,C){D();let N=y7(Q);if(_7(N,M,C),N.maxCanvases!==void 0&&F.size>=N.maxCanvases)throw new vQ("policy","canvas_limit","Canvas limit exceeded.");return N}function P(M,C){if(F.has(M))return;if(C.maxCanvases!==void 0&&F.size>=C.maxCanvases)throw new vQ("policy","canvas_limit","Canvas limit exceeded.");F.add(M)}function T(M,C){$R(Z,{phase:M,error:HK(C)})}let k={now:()=>e0(Z),get:(M,C={})=>k.fetch(M,{...C,method:"GET"}),post:(M,C,N={})=>k.fetch(M,{...N,method:"POST",body:C}),fetch:async(M,C={})=>{D();let N=C.method??"GET",_=H(N,M,C),b=e0(Z);gY(Z,{phase:"request",request:_});try{let f=await cR(_,Z,{maxResponseBytes:Q.network?.maxResponseBytes,onController(x){return j.add(x),()=>j.delete(x)}});return bR(f,Q.network),gY(Z,{phase:"response",request:_,result:f,elapsedMs:e0(Z)-b}),f}catch(f){let x=HK(f);throw gY(Z,{phase:"error",request:_,error:x,elapsedMs:e0(Z)-b}),f}},setTimeout:(M,C)=>{D(),V(C);let N=0,_=L.setTimeout(()=>{X.delete(N),z.delete(N);try{M()}catch(b){throw T("timer",b),b}},C);return N=O(_),X.add(N),N},clearTimeout:(M)=>{let C=z.get(M)??M;L.clearTimeout(C),X.delete(M),z.delete(M)},setInterval:(M,C)=>{D(),V(C);let N=O(L.setInterval(()=>{try{M()}catch(_){throw T("interval",_),_}},C));return Y.add(N),N},clearInterval:(M)=>{let C=z.get(M)??M;L.clearInterval(C),Y.delete(M),z.delete(M)},raf:(M)=>{if(D(),!Q.animation?.enabled)throw new vQ("policy","animation_disabled","Animation access is disabled.");let C=E.requestAnimationFrame((N)=>{K.delete(C);try{M(N)}catch(_){throw T("raf",_),_}});return K.add(C),C},cancelRaf:(M)=>{E.cancelAnimationFrame(M),K.delete(M)},createCanvas:(M,C)=>{if(S(M,C),typeof document>"u"||typeof document.createElement!=="function")throw new vQ("policy","canvas_unavailable","Canvas is unavailable in this runtime.");let N=document.createElement("canvas");return N.width=Math.ceil(M),N.height=Math.ceil(C),U.add(N),F.add(N),N},getCanvasContext:(M,C="2d",N)=>{D();let _=y7(Q);_7(_,M.width,M.height),xR(_,C),P(M,_);let b=M.getContext(C,N);if(!b)throw new vQ("policy","canvas_context_unavailable",`Canvas context ${C} is unavailable.`);return b},onDispose:(M)=>{J.add(M)},isTimeoutError:(M)=>M instanceof vQ&&M.kind==="timeout",isNetworkError:(M)=>M instanceof vQ&&M.kind==="network",isPolicyError:(M)=>M instanceof vQ&&M.kind==="policy",errorMessage:k8};return{api:k,dispose:()=>{if(A)return;A=!0;for(let M of Array.from(X))k.clearTimeout(M);for(let M of Array.from(Y))k.clearInterval(M);for(let M of Array.from(K))k.cancelRaf(M);for(let M of Array.from(j))M.abort();j.clear();for(let M of Array.from(U))if(M.isConnected)M.remove();U.clear(),F.clear();for(let M of Array.from(J))try{M()}catch(C){T("dispose",C)}J.clear()}}}var uR="0.1.0";function dR(Q){return{href:`/docs/components/${Q}`,anchors:{api:`${Q}-api-reference`,examples:`${Q}-canonical-example`}}}function lR(Q){return typeof Q.namespace==="string"&&typeof Q.layout==="object"&&Q.layout!==null}function gQ(Q,Z,J="Basic usage"){return{id:"basic",title:J,source:lR(Z)?{slex:Z.slex??N9,...Z}:{slex:N9,namespace:`spec_${Q.replaceAll("-","_")}_basic`,layout:{[`${Q}:demo`]:Z}}}}var nX=["info","success","warning","danger","muted"],pR=["input","slider","select","tabs","radio-group"],aR=["checkbox"],iR=["switch"],nR=["stat","text","progress","badge","callout","code-block","divider","link","table","section"];function sR(Q){if(pR.includes(Q))return"value";if(aR.includes(Q))return"checked";if(iR.includes(Q))return"enabled";if(nR.includes(Q))return"readable";return"none"}function cQ(Q){return{status:"ready",since:uR,docs:dR(Q.type),state:Q.state??sR(Q.type),...Q}}var x9={allowed:!0,description:"Nested component fields are rendered as child content in field order."},QZ={allowed:!1,description:"This component does not render nested child components."},rR=cQ({type:"accordion",category:"Disclosure",title:"Accordion",summary:"Expandable grouped panels.",description:"Use accordion to reveal one or more sections from a compact list of panels.",props:{value:{type:"string | string[]",dynamic:!0,description:"Current expanded item value; use an array when multiple is true."},multiple:{type:"boolean",default:!1,description:"Allow multiple items to be expanded at the same time."},items:{type:"array",description:"Panel definitions with value, label, content, and optional icon."},"items[].icon":{type:"string",description:"Icon name shown before an item trigger label."},onchange:{type:"write-expression",description:"Write expression invoked when expanded items change."}},children:QZ,examples:[gQ("accordion",{namespace:"doc_accordion_typical",layout:{"accordion:faq":{multiple:!0,value:["install"],items:[{value:"install",label:"Install",icon:"download-simple",content:"Prepare dependencies."},{value:"review",label:"Review",icon:"check-circle",content:"Check the result."},{value:"ship",label:"Ship",icon:"rocket-launch",content:"Publish the change."}]}}})]}),tR=cQ({type:"badge",category:"Content",title:"Badge",summary:"Compact label for status or classification.",description:"Use badge to annotate nearby content with a short semantic label.",props:{label:{type:"string",dynamic:!0,description:"Badge text."},text:{type:"string",dynamic:!0,description:"Alias for label."},content:{type:"string",dynamic:!0,description:"Alias for label."},icon:{type:"string",description:"Icon name shown before the badge label."},tone:{type:"string",values:nX,default:"info",description:"Semantic tone applied to the badge."},variant:{type:"string",values:nX,description:"Alias for tone."}},children:QZ,examples:[gQ("badge",{namespace:"doc_badge_typical",layout:{"row:badges":{"badge:ready":{label:"ready",icon:"check-circle",tone:"success"},"badge:pending":{label:"pending",tone:"warning"},"badge:info":{label:"info",tone:"info"}}}})]}),oR=cQ({type:"button",category:"Action",title:"Button",summary:"Action trigger.",description:"Use button for explicit actions in interactive SlexKit layouts.",props:{label:{type:"string",dynamic:!0,description:"Visible button text and accessible name."},icon:{type:"string",description:"Icon name shown before the label."},iconOnly:{type:"boolean",default:!1,description:"Show only the icon while retaining label as the accessible name."},variant:{type:"string",values:["primary","secondary","danger","ghost"],default:"primary",description:"Semantic action variant."},disabled:{type:"boolean",default:!1,dynamic:!0,description:"Disable the action."},href:{type:"string",dynamic:!0,description:"Render the button surface as a link to this URL."},target:{type:"string",description:"Link target used when href is present."},title:{type:"string",dynamic:!0,description:"Tooltip and accessible-label fallback."},selected:{type:"boolean",dynamic:!0,description:"Render the icon in its selected visual state."},active:{type:"boolean",dynamic:!0,description:"Render the icon in its active visual state."},pressed:{type:"boolean",dynamic:!0,description:"Expose pressed state and render the selected icon style."},onclick:{type:"write-expression",description:"Write expression invoked when the button is clicked."}},children:QZ,examples:[gQ("button",{namespace:"doc_button_typical",layout:{"row:actions":{"button:save":{label:"Save",icon:"floppy-disk",variant:"primary"},"button:cancel":{label:"Cancel",variant:"secondary"},"button:delete":{label:"Delete",variant:"danger"}}}})]}),eR=cQ({type:"callout",category:"Content",title:"Callout",summary:"Highlighted contextual message.",description:"Use callout for notes, warnings, and other contextual blocks.",props:{title:{type:"string",dynamic:!0,description:"Callout title."},heading:{type:"string",dynamic:!0,description:"Alias for title."},label:{type:"string",dynamic:!0,description:"Alias for title."},icon:{type:"string",description:"Icon name shown before the title."},text:{type:"string",dynamic:!0,description:"Callout body text."},message:{type:"string",dynamic:!0,description:"Alias for text."},content:{type:"string",dynamic:!0,description:"Alias for text."},tone:{type:"string",values:["info","success","warning","danger"],default:"info",description:"Semantic tone for the callout."}},children:x9,examples:[gQ("callout",{namespace:"doc_callout_typical",layout:{"callout:notice":{tone:"info",title:"Notice",icon:"info",text:"Use callout for information that should stand out."}}})]}),QA=cQ({type:"card",category:"Layout",title:"Card",summary:"Bordered grouping container.",description:"Use card to group related content on a bounded surface.",props:{title:{type:"string",dynamic:!0,description:"Card title."},icon:{type:"string",description:"Icon name shown before the title."},tone:{type:"string",values:nX,description:"Optional semantic tone for the card surface."}},children:x9,examples:[gQ("card",{namespace:"doc_card_typical",layout:{"card:metrics":{title:"Metrics",icon:"chart-bar","grid:items":{columns:2,"stat:requests":{label:"Requests",value:"1.2k",unit:"/min"},"stat:latency":{label:"Latency",value:"42",unit:"ms"}}}}})]}),ZA=cQ({type:"checkbox",category:"Input",title:"Checkbox",summary:"Boolean checkbox input.",description:"Use checkbox for binary choices that can be toggled independently.",props:{checked:{type:"boolean",default:!1,dynamic:!0,description:"Checked state."},label:{type:"string",dynamic:!0,description:"Checkbox label."},icon:{type:"string",description:"Icon name shown before the visible label."},disabled:{type:"boolean",default:!1,dynamic:!0,description:"Disable the checkbox."},haptic:{type:"boolean",default:!0,description:"Enable vibration feedback on supported devices."},haptics:{type:"boolean",default:!0,description:"Alias for haptic."},onchange:{type:"write-expression",description:"Write expression invoked when checked state changes."}},children:QZ,examples:[gQ("checkbox",{namespace:"doc_checkbox_typical",layout:{"checkbox:agree":{checked:!0,label:"I agree",icon:"handshake"}}})]}),JA=cQ({type:"code-block",category:"Content",title:"Code Block",summary:"Formatted code or log block.",description:"Use code-block for static code samples, configuration snippets, and logs.",props:{code:{type:"string",dynamic:!0,description:"Code text content."},source:{type:"string",dynamic:!0,description:"Alias for code."},content:{type:"string",dynamic:!0,description:"Alias for code."},language:{type:"string",description:"Language label."},title:{type:"string",description:"Code block title."},icon:{type:"string",description:"Icon name shown before the title."},lineNumbers:{type:"boolean",default:!0,description:"Show line numbers."}},children:QZ,examples:[gQ("code-block",{namespace:"doc_code_block_typical",layout:{"code-block:config":{title:"Config",icon:"code",language:"js",code:"export const enabled = true;"}}})]}),XA=cQ({type:"collapsible",category:"Disclosure",title:"Collapsible",summary:"Single expandable region.",description:"Use collapsible to show or hide one related content region.",props:{open:{type:"boolean",default:!1,dynamic:!0,description:"Expanded state."},trigger:{type:"string",dynamic:!0,description:"Trigger button text."},icon:{type:"string",description:"Icon name shown before trigger text."},content:{type:"string",dynamic:!0,description:"Static body content."},onchange:{type:"write-expression",description:"Write expression invoked when open state changes."}},children:x9,examples:[gQ("collapsible",{namespace:"doc_collapsible_typical",layout:{"collapsible:more":{open:!0,trigger:"Details",icon:"caret-circle-down",content:"This secondary content can be collapsed."}}})]}),YA=cQ({type:"column",category:"Layout",title:"Column",summary:"Vertical layout container.",description:"Use column to stack child components vertically in field order.",props:{},children:x9,examples:[gQ("column",{namespace:"doc_column_typical",layout:{"column:form":{"input:name":{placeholder:"Name"},"input:email":{placeholder:"Email"},"button:save":{label:"Save"}}}})]}),KA=cQ({type:"divider",category:"Content",title:"Divider",summary:"Visual separator.",description:"Use divider to separate related regions, optionally with a label.",props:{label:{type:"string",dynamic:!0,description:"Text shown in the divider."},icon:{type:"string",description:"Icon name shown before the label."}},children:QZ,examples:[gQ("divider",{namespace:"doc_divider_typical",layout:{"column:content":{"text:top":{text:"Above"},"divider:line":{label:"Divider",icon:"flag"},"text:bottom":{text:"Below"}}}})]}),jA=cQ({type:"formula",category:"Display",title:"Formula",summary:"Reactive KaTeX formula display.",description:"Use formula to render SlexKit state and computed values through KaTeX.",props:{tex:{type:"string",dynamic:!0,description:"KaTeX source to render."},formula:{type:"string",dynamic:!0,description:"Alias for tex."},value:{type:"string",dynamic:!0,description:"Alias for tex."},displayMode:{type:"boolean",default:!0,description:"Render as display math when true; inline math when false."},display:{type:"boolean",default:!0,description:"Alias for displayMode."},block:{type:"boolean",default:!0,description:"Alias for displayMode."}},children:QZ,examples:[gQ("formula",{namespace:"doc_formula_typical",g:{r:1e4,c:100,fc:159.15},layout:{"formula:cutoff":{$tex:"'f_c = \\\\frac{1}{2\\\\pi RC} = ' + g.fc + '\\\\text{ Hz}'"}}})]}),UA=cQ({type:"grid",category:"Layout",title:"Grid",summary:"Responsive grid container.",description:"Use grid to arrange child components in responsive columns.",props:{columns:{type:"number",default:1,dynamic:!0,description:"Base column count."},smColumns:{type:"number",dynamic:!0,description:"Column count at the small breakpoint."},mdColumns:{type:"number",dynamic:!0,description:"Column count at the medium breakpoint."},lgColumns:{type:"number",dynamic:!0,description:"Column count at the large breakpoint."},xlColumns:{type:"number",dynamic:!0,description:"Column count at the extra-large breakpoint."},gap:{type:"string",dynamic:!0,description:"Spacing between grid items."}},children:x9,examples:[gQ("grid",{namespace:"doc_grid_typical",layout:{"grid:stats":{columns:1,mdColumns:3,"stat:a":{label:"Requests",value:"1.2k"},"stat:b":{label:"Success",value:"98%"},"stat:c":{label:"Errors",value:"3"}}}})]}),FA=cQ({type:"icon",category:"Component",title:"Icon",summary:"Shared icon field capability.",description:"Icon is a shared field capability, not an independent icon component type.",props:{icon:{type:"string",description:"Icon name resolved through the global icon manager."},iconOnly:{type:"boolean",description:"Render only the icon while retaining an accessible label where supported."},"items[].icon":{type:"string",description:"Accordion item trigger icon."},"options[].icon":{type:"string",description:"Select or radio option icon."},"columns[].icon":{type:"string",description:"Table column header icon."},"tabs[].icon":{type:"string",description:"Tab trigger icon."},"tabs[].iconOnly":{type:"boolean",description:"Tab trigger icon-only mode."}},children:QZ,examples:[gQ("button",{label:"Settings",icon:"gear-six",iconOnly:!0,variant:"ghost"},"Icon field usage")]}),RA=cQ({type:"input",category:"Input",title:"Input",summary:"Text or engineering-value input.",description:"Use input for editable text and engineering numeric values.",props:{value:{type:"string",dynamic:!0,description:"Current input value."},label:{type:"string",dynamic:!0,description:"Input label."},unit:{type:"string",dynamic:!0,description:"Trailing unit text."},description:{type:"string",dynamic:!0,description:"Assistive description below the input."},help:{type:"string",dynamic:!0,description:"Alias for description."},hint:{type:"string",dynamic:!0,description:"Alias for description."},error:{type:"string",dynamic:!0,description:"Error text shown below the input and linked with aria-describedby."},errorMessage:{type:"string",dynamic:!0,description:"Alias for error."},invalid:{type:"boolean",default:!1,dynamic:!0,description:"Mark the input as invalid with aria-invalid and error styling."},placeholder:{type:"string",description:"Placeholder text for empty values."},type:{type:"string",default:"text",description:"Input value kind; use engineering for parsed engineering values."},disabled:{type:"boolean",default:!1,dynamic:!0,description:"Disable editing."},readonly:{type:"boolean",default:!1,dynamic:!0,description:"Make the input read-only."},readOnly:{type:"boolean",default:!1,dynamic:!0,description:"Alias for readonly."},required:{type:"boolean",default:!1,dynamic:!0,description:"Mark the input as required."},id:{type:"string",description:"Native input id; defaults to a stable id derived from the component name."},name:{type:"string",description:"Native input name attribute."},min:{type:"string | number",dynamic:!0,description:"Minimum value used by numeric input controls."},max:{type:"string | number",dynamic:!0,description:"Maximum value used by numeric input controls."},step:{type:"string | number",dynamic:!0,description:"Step size used by numeric input controls."},onchange:{type:"write-expression",description:"Write expression invoked when the value changes."}},children:QZ,examples:[gQ("input",{namespace:"doc_input_typical",layout:{"input:name":{label:"Project",value:"SlexKit",placeholder:"Enter name",description:"Visible labels keep form fields scannable."}}})]}),AA=cQ({type:"link",category:"Content",title:"Link",summary:"Inline navigation link.",description:"Use link to navigate to another page or resource.",props:{href:{type:"string",description:"Target URL."},text:{type:"string",dynamic:!0,description:"Visible link text."},label:{type:"string",dynamic:!0,description:"Alias for text."},content:{type:"string",dynamic:!0,description:"Alias for text."},icon:{type:"string",description:"Icon name shown before link text."},target:{type:"string",description:"Native link target attribute."},variant:{type:"string",values:["default","muted"],default:"default",description:"Link visual variant."}},children:QZ,examples:[gQ("link",{namespace:"doc_link_typical",layout:{"column:links":{"link:docs":{href:"/components",icon:"arrow-square-out",text:"View components"}}}})]}),WA=cQ({type:"playground",category:"Tooling",title:"Playground",summary:"Interactive source preview.",description:"Use playground in documentation surfaces to render editable SlexKit or Markdown examples.",props:{source:{type:"object | string",description:"SlexKit or Markdown source to preview."},sourceType:{type:"string",values:["slex","markdown","auto-markdown"],default:"slex",description:"Source parser mode."},title:{type:"string",description:"Playground title."},previewAlign:{type:"string",values:["center","start"],default:"center",description:"Vertical preview alignment in render mode."},alignPreview:{type:"string",values:["center","start"],description:"Alias for previewAlign."},previewPlacement:{type:"string",values:["center","start"],description:"Alias for previewAlign."},previewMinHeight:{type:"string",description:"Minimum preview area height."},previewMaxWidth:{type:"string",description:"Maximum preview content width."},themeToggle:{type:"boolean",default:!1,description:"Show the theme toggle action."},showThemeToggle:{type:"boolean",default:!1,description:"Alias for themeToggle."},enableThemeToggle:{type:"boolean",default:!1,description:"Alias for themeToggle."},themeLabel:{type:"string",description:"Accessible label for the theme toggle action."},themeToggleLabel:{type:"string",description:"Alias for themeLabel."},sourceTypeLabel:{type:"string",description:"Accessible label for the source type selector."},copyLabel:{type:"string",description:"Accessible label for the copy source action."},openWebLabel:{type:"string",description:"Accessible label for opening the source in the standalone playground."},webUrl:{type:"string",description:"Standalone playground URL used by the open action."},playgroundUrl:{type:"string",description:"Alias for webUrl."}},children:QZ,examples:[gQ("playground",{namespace:"doc_playground_typical",layout:{"playground:demo":{title:"Stat Playground",previewMinHeight:"180px",source:{namespace:"inner_stat_demo",layout:{"stat:value":{label:"Requests",value:"1.2k",unit:"/min"}}}}}})]}),qA=cQ({type:"progress",category:"Feedback",title:"Progress",summary:"Progress bar.",description:"Use progress to show completion as a percentage.",props:{value:{type:"number",default:0,dynamic:!0,description:"Progress percentage from 0 to 100."},label:{type:"string",dynamic:!0,description:"Progress label."},icon:{type:"string",description:"Icon name shown before the label."},indeterminate:{type:"boolean",default:!1,dynamic:!0,description:"Render an indeterminate progress state without aria-valuenow."}},children:QZ,examples:[gQ("progress",{namespace:"doc_progress_typical",layout:{"progress:build":{label:"Build progress",icon:"gear-six",value:64}}})]}),GA=cQ({type:"radio-group",category:"Input",title:"Radio Group",summary:"Single-choice option group.",description:"Use radio-group for one-of-many choices.",props:{value:{type:"string",dynamic:!0,description:"Current selected value."},label:{type:"string",dynamic:!0,description:"Group label."},icon:{type:"string",description:"Icon name shown before the group label."},options:{type:"array",description:"Options with label, value, and optional icon."},"options[].icon":{type:"string",description:"Icon name shown before a single option label."},disabled:{type:"boolean",default:!1,dynamic:!0,description:"Disable every radio option in the group."},orientation:{type:"string",values:["vertical","horizontal"],default:"vertical",description:"Radio option layout direction."},haptic:{type:"boolean",default:!0,description:"Enable vibration feedback on supported devices."},haptics:{type:"boolean",default:!0,description:"Alias for haptic."},name:{type:"string",description:"Native radio group name shared by options."},onchange:{type:"write-expression",description:"Write expression invoked when selection changes."}},children:QZ,examples:[gQ("radio-group",{namespace:"doc_radio_group_typical",layout:{"radio-group:mode":{label:"Mode",icon:"sliders-horizontal",value:"auto",options:[{label:"Auto",value:"auto",icon:"sparkle"},{label:"Manual",value:"manual",icon:"wrench"}]}}})]}),EA=cQ({type:"row",category:"Layout",title:"Row",summary:"Horizontal layout container.",description:"Use row to place child components horizontally in field order.",props:{justify:{type:"string",values:["start","center","end","space-between","space-around"],default:"start",description:"Main-axis distribution."},align:{type:"string",values:["start","center","end","baseline","stretch"],default:"center",description:"Cross-axis alignment."},gap:{type:"string",dynamic:!0,description:"Spacing between children."}},children:x9,examples:[gQ("row",{namespace:"doc_row_typical",layout:{"row:toolbar":{justify:"space-between","text:title":{text:"Runtime status"},"button:refresh":{label:"Refresh"}}}})]}),zA=cQ({type:"section",category:"Content",title:"Section",summary:"Page section with optional heading chrome.",description:"Use section to group page content with title, subtitle, and optional action link.",props:{title:{type:"string",dynamic:!0,description:"Section title."},icon:{type:"string",description:"Icon name shown before the title."},eyebrow:{type:"string",dynamic:!0,description:"Small label above the title."},subtitle:{type:"string",dynamic:!0,description:"Subtitle text below the title."},actionLabel:{type:"string",dynamic:!0,description:"Optional action link label."},actionHref:{type:"string",description:"Optional action link target."}},children:x9,examples:[gQ("section",{namespace:"doc_section_typical",layout:{"section:overview":{eyebrow:"Dashboard",title:"Runtime overview",icon:"chart-bar",subtitle:"This section groups the most important state.","stat:latency":{label:"Latency",value:"42",unit:"ms"}}}})]}),LA=cQ({type:"select",category:"Input",title:"Select",summary:"Dropdown selection input.",description:"Use select for compact single-choice selection from an option list.",props:{label:{type:"string",dynamic:!0,description:"Select label."},icon:{type:"string",description:"Icon name shown before the top label."},value:{type:"string",dynamic:!0,description:"Current selected value."},options:{type:"array",description:"Options with label, value, and optional icon."},"options[].icon":{type:"string",description:"Icon name shown before an option label."},placeholder:{type:"string",description:"Placeholder shown when no value is selected."},disabled:{type:"boolean",default:!1,dynamic:!0,description:"Disable the select trigger and native select."},required:{type:"boolean",default:!1,dynamic:!0,description:"Require a non-placeholder value in the native select."},variant:{type:"string",values:["default","toolbar"],default:"default",description:"Select surface variant."},onchange:{type:"write-expression",description:"Write expression invoked when selection changes."}},children:QZ,examples:[gQ("select",{namespace:"doc_select_typical",layout:{"select:env":{label:"Environment",icon:"server",value:"prod",options:[{label:"Development",value:"dev",icon:"code"},{label:"Production",value:"prod",icon:"rocket-launch"}]}}})]}),IA=cQ({type:"slider",category:"Input",title:"Slider",summary:"Numeric range input.",description:"Use slider for bounded numeric adjustments such as volume, brightness, or thresholds.",props:{label:{type:"string",dynamic:!0,description:"Slider label."},icon:{type:"string",description:"Icon name shown before the label."},value:{type:"number",default:0,dynamic:!0,description:"Current numeric value."},min:{type:"number",default:0,dynamic:!0,description:"Minimum value."},max:{type:"number",default:100,dynamic:!0,description:"Maximum value."},step:{type:"number",default:1,dynamic:!0,description:"Step interval."},unit:{type:"string",dynamic:!0,description:"Unit shown after the value."},disabled:{type:"boolean",default:!1,dynamic:!0,description:"Disable the range input."},orientation:{type:"string",values:["horizontal","vertical"],default:"horizontal",description:"Slider orientation metadata used for styling."},haptic:{type:"boolean",default:!0,description:"Enable vibration feedback on supported devices."},haptics:{type:"boolean",default:!0,description:"Alias for haptic."},onchange:{type:"write-expression",description:"Write expression invoked when the value changes."}},children:QZ,examples:[gQ("slider",{namespace:"doc_slider_typical",layout:{"slider:volume":{label:"Volume",icon:"speaker-high",value:42,min:0,max:100,step:1,unit:"%"}}})]}),HA=cQ({type:"stat",category:"Display",title:"Stat",summary:"Metric display.",description:"Use stat to present a labeled metric value with optional unit and semantic tone.",props:{label:{type:"string",dynamic:!0,description:"Metric label."},icon:{type:"string",description:"Icon name shown before the label."},value:{type:"string | number",dynamic:!0,description:"Metric value."},unit:{type:"string",dynamic:!0,description:"Unit shown after the value."},tone:{type:"string",values:nX,description:"Optional semantic tone."},animateInitial:{type:"boolean",default:!1,description:"Animate the initial rendered value."}},children:QZ,examples:[gQ("stat",{namespace:"doc_stat_typical",layout:{"grid:stats":{columns:2,"stat:requests":{label:"Requests",icon:"activity",value:"1.2k",unit:"/min"},"stat:success":{label:"Success",icon:"check-circle",value:"98.4",unit:"%",tone:"success"}}}})]}),VA=cQ({type:"submit",category:"Action",title:"Submit",summary:"ToolHost submit and ignore controls.",description:"Use submit inside tool templates to return selected state fields to the host.",props:{submitLabel:{type:"string",default:"Submit",description:"Submit button text."},ignoreLabel:{type:"string",default:"Ignore",description:"Ignore button text."},returnKeys:{type:"string[]",description:"State field paths returned to ToolHost."},disabled:{type:"boolean",default:!1,dynamic:!0,description:"Disable submit action."}},children:QZ,examples:[gQ("submit",{namespace:"doc_submit_typical",layout:{"column:tool":{"input:title":{value:"Release note",placeholder:"Title"},"submit:done":{submitLabel:"Submit",ignoreLabel:"Ignore",returnKeys:["title"]}}}})]}),BA=cQ({type:"switch",category:"Input",title:"Switch",summary:"Boolean switch input.",description:"Use switch for an on/off setting.",props:{enabled:{type:"boolean",default:!1,dynamic:!0,description:"Enabled state."},label:{type:"string",dynamic:!0,description:"Switch label."},icon:{type:"string",description:"Icon name shown before the visible label."},disabled:{type:"boolean",default:!1,dynamic:!0,description:"Disable the switch."},haptic:{type:"boolean",default:!0,description:"Enable vibration feedback on supported devices."},haptics:{type:"boolean",default:!0,description:"Alias for haptic."},onchange:{type:"write-expression",description:"Write expression invoked when enabled state changes."}},children:QZ,examples:[gQ("switch",{namespace:"doc_switch_typical",layout:{"switch:feature":{enabled:!0,label:"Enable sync",icon:"arrows-clockwise"}}})]}),DA=cQ({type:"table",category:"Data",title:"Table",summary:"Simple data table.",description:"Use table to render rows of keyed data against a column definition.",props:{columns:{type:"array",description:"Column definitions with key, label, and optional icon."},"columns[].icon":{type:"string",description:"Icon name shown before a column label."},rows:{type:"array",description:"Row data objects keyed by column key."},items:{type:"array",description:"Alias for rows."}},children:QZ,examples:[gQ("table",{namespace:"doc_table_typical",layout:{"table:routes":{columns:[{key:"name",label:"Name",icon:"text-t"},{key:"status",label:"Status",icon:"check-circle"}],rows:[{name:"Parse",status:"ready"},{name:"Publish",status:"pending"}]}}})]}),OA=cQ({type:"tabs",category:"Navigation",title:"Tabs",summary:"Tabbed view switcher.",description:"Use tabs to switch between named content panels.",props:{value:{type:"string",dynamic:!0,description:"Current active tab value."},tabs:{type:"array",description:"Tab definitions with value, label, content, icon, and iconOnly."},"tabs[].icon":{type:"string",description:"Icon name shown before a tab trigger label."},"tabs[].iconOnly":{type:"boolean",description:"Show only the tab icon while retaining label as accessible text."},orientation:{type:"string",values:["horizontal","vertical"],default:"horizontal",description:"Tab list orientation."},onchange:{type:"write-expression",description:"Write expression invoked when the active tab changes."}},children:QZ,examples:[gQ("tabs",{namespace:"doc_tabs_typical",layout:{"tabs:main":{value:"overview",tabs:[{value:"overview",label:"Overview"},{value:"settings",label:"Settings"}]}}})]}),MA=cQ({type:"text",category:"Display",title:"Text",summary:"Plain text display.",description:"Use text for short static or dynamic copy inside SlexKit layouts.",props:{text:{type:"string",dynamic:!0,description:"Displayed text."},content:{type:"string",dynamic:!0,description:"Alias for text."},label:{type:"string",dynamic:!0,description:"Alias for text."},variant:{type:"string",values:["default","muted"],default:"default",description:"Text visual variant."},color:{type:"string",dynamic:!0,description:"Optional CSS color for controlled previews."},size:{type:"string | number",dynamic:!0,description:"Optional font size. Numbers are treated as px."},class:{type:"string",description:"Additional host-controlled CSS class."}},children:QZ,examples:[gQ("text",{namespace:"doc_text_typical",layout:{"text:status":{text:"System is healthy"}}})]}),PA=cQ({type:"toast",category:"Feedback",title:"Toast",summary:"Transient notification.",description:"Use toast to show an inline notification with semantic status.",props:{title:{type:"string",dynamic:!0,description:"Toast title."},heading:{type:"string",dynamic:!0,description:"Alias for title."},label:{type:"string",dynamic:!0,description:"Alias for title."},icon:{type:"string",description:"Icon name shown at the left of the toast."},description:{type:"string",dynamic:!0,description:"Toast body text."},text:{type:"string",dynamic:!0,description:"Alias for description."},message:{type:"string",dynamic:!0,description:"Alias for description."},content:{type:"string",dynamic:!0,description:"Alias for description."},type:{type:"string",values:["info","success","warning","danger"],default:"info",description:"Semantic notification type."},tone:{type:"string",values:["info","success","warning","danger"],default:"info",description:"Alias for type."},duration:{type:"number",description:"Auto-hide delay in milliseconds."},dismissable:{type:"boolean",default:!0,description:"Show a close button."},dismissible:{type:"boolean",default:!0,description:"Alias for dismissable."},closeLabel:{type:"string",default:"Close notification",description:"Accessible close button label."},closeAriaLabel:{type:"string",description:"Alias for closeLabel."}},children:QZ,examples:[gQ("toast",{namespace:"doc_toast_typical",layout:{"toast:saved":{type:"success",title:"Saved",icon:"check-circle",description:"Changes have been written."}}})]}),y8=[rR,tR,oR,eR,QA,ZA,JA,XA,YA,KA,jA,UA,FA,RA,AA,WA,qA,GA,EA,zA,LA,IA,HA,VA,BA,DA,OA,MA,PA],m2=y8.map((Q)=>Q.type),g2=new Map(y8.map((Q)=>[Q.type,Q]));var TA=[{name:"math",summary:"Small numeric helpers for common interactive calculations.",functions:[{name:"std.math.clamp",signature:"clamp(value, min, max)",summary:"Clamp a number into a range.",pure:!0,example:"std.math.clamp(g.score, 0, 100)"},{name:"std.math.round",signature:"round(value, digits = 0)",summary:"Round with a fixed number of decimal digits.",pure:!0,example:"std.math.round(g.latency, 1)"},{name:"std.math.safeDivide",signature:"safeDivide(numerator, denominator, fallback = 0)",summary:"Divide with a fallback for zero or invalid denominators.",pure:!0,example:"std.math.safeDivide(g.used, g.total, 0)"},{name:"std.math.percent",signature:"percent(part, total, digits = 1)",summary:"Return part / total as a percentage number.",pure:!0,example:"std.math.percent(g.done, g.total, 1)"},{name:"std.math.lerp",signature:"lerp(start, end, t)",summary:"Linear interpolation.",pure:!0,example:"std.math.lerp(0, 100, g.progress)"}]},{name:"stats",summary:"Finite-number aggregations for arrays.",functions:[{name:"std.stats.sum",signature:"sum(values)",summary:"Sum finite numeric values. Empty arrays return 0.",pure:!0,example:"std.stats.sum(g.samples)"},{name:"std.stats.mean",signature:"mean(values)",summary:"Average finite numeric values. Empty arrays return NaN.",pure:!0,example:"std.stats.mean(g.samples)"},{name:"std.stats.min",signature:"min(values)",summary:"Minimum finite numeric value. Empty arrays return NaN.",pure:!0,example:"std.stats.min(g.samples)"},{name:"std.stats.max",signature:"max(values)",summary:"Maximum finite numeric value. Empty arrays return NaN.",pure:!0,example:"std.stats.max(g.samples)"},{name:"std.stats.median",signature:"median(values)",summary:"Median finite numeric value. Empty arrays return NaN.",pure:!0,example:"std.stats.median(g.samples)"}]},{name:"format",summary:"Deterministic display formatting with en-US defaults.",functions:[{name:"std.format.fixed",signature:"fixed(value, digits = 2)",summary:"Format a number with fixed decimal places.",pure:!0,example:"std.format.fixed(g.voltage, 3)"},{name:"std.format.number",signature:"number(value, digits = 0, locale = 'en-US')",summary:"Locale number formatting.",pure:!0,example:"std.format.number(g.requests)"},{name:"std.format.compact",signature:"compact(value, digits = 1, locale = 'en-US')",summary:"Compact number formatting.",pure:!0,example:"std.format.compact(g.users)"},{name:"std.format.percent",signature:"percent(ratio, digits = 1)",summary:"Format a ratio as a percentage string.",pure:!0,example:"std.format.percent(g.done / g.total, 1)"},{name:"std.format.currency",signature:"currency(value, currency = 'USD', locale = 'en-US')",summary:"Format a currency value.",pure:!0,example:"std.format.currency(g.revenue, 'USD')"}]},{name:"units",summary:"Small unit display helpers for common dashboards.",functions:[{name:"std.units.withUnit",signature:"withUnit(value, unit, digits = 2)",summary:"Format a value with a unit suffix.",pure:!0,example:"std.units.withUnit(g.power, 'W', 1)"},{name:"std.units.bytes",signature:"bytes(value, digits = 1)",summary:"Format bytes as B, KB, MB, GB, TB, or PB.",pure:!0,example:"std.units.bytes(g.payloadBytes)"},{name:"std.units.duration",signature:"duration(ms, digits = 1)",summary:"Format milliseconds as ms, s, min, or h.",pure:!0,example:"std.units.duration(g.elapsedMs)"},{name:"std.units.si",signature:"si(value, unit = '', digits = 2)",summary:"Format with SI prefixes.",pure:!0,example:"std.units.si(g.frequency, 'Hz', 2)"}]}],CA=[{name:"api.get",policy:"network",signature:"get(url, options)",summary:"Policy-gated GET request.",example:"await api.get('https://api.example.com/status')",secureDefault:"denied",forbidden:["fetch(url)","XMLHttpRequest","WebSocket"]},{name:"api.post",policy:"network",signature:"post(url, body, options)",summary:"Policy-gated POST request.",example:"await api.post('https://api.example.com/items', { ok: true })",secureDefault:"denied",forbidden:["fetch(url)","XMLHttpRequest","WebSocket"]},{name:"api.fetch",policy:"network",signature:"fetch(url, options)",summary:"Policy-gated GET or POST request.",example:"await api.fetch(url, { method: 'GET' })",secureDefault:"denied",forbidden:["fetch(url)","XMLHttpRequest","WebSocket"]},{name:"api.setTimeout",policy:"timer",signature:"setTimeout(fn, ms)",summary:"Policy-gated timeout.",example:"api.setTimeout(function () { g.ready = true; }, 500)",secureDefault:"denied",forbidden:["setTimeout(fn, ms)"]},{name:"api.clearTimeout",policy:"timer",signature:"clearTimeout(id)",summary:"Clear a policy-gated timeout.",example:"api.clearTimeout(g.timeoutId)",secureDefault:"denied"},{name:"api.setInterval",policy:"timer",signature:"setInterval(fn, ms)",summary:"Policy-gated interval.",example:"api.setInterval(function () { g.ticks += 1; }, 1000)",secureDefault:"denied",forbidden:["setInterval(fn, ms)"]},{name:"api.clearInterval",policy:"timer",signature:"clearInterval(id)",summary:"Clear a policy-gated interval.",example:"api.clearInterval(g.intervalId)",secureDefault:"denied"},{name:"api.raf",policy:"animation",signature:"raf(fn)",summary:"Policy-gated animation frame.",example:"api.raf(function (time) { g.time = time; })",secureDefault:"denied",forbidden:["requestAnimationFrame(fn)"]},{name:"api.cancelRaf",policy:"animation",signature:"cancelRaf(id)",summary:"Cancel a policy-gated animation frame.",example:"api.cancelRaf(g.rafId)",secureDefault:"denied"},{name:"api.createCanvas",policy:"canvas",signature:"createCanvas(width, height)",summary:"Create a policy-counted canvas.",example:"var canvas = api.createCanvas(320, 180)",secureDefault:"denied"},{name:"api.getCanvasContext",policy:"canvas",signature:"getCanvasContext(canvas, contextId, options)",summary:"Get a policy-checked canvas context.",example:"var ctx = api.getCanvasContext(canvas, '2d')",secureDefault:"denied"},{name:"api.onDispose",policy:"lifecycle",signature:"onDispose(fn)",summary:"Register runtime cleanup.",example:"api.onDispose(function () { g.closed = true; })",secureDefault:"available"},{name:"api.now",policy:"lifecycle",signature:"now()",summary:"Runtime clock.",example:"api.now()",secureDefault:"available"},{name:"api.isTimeoutError",policy:"diagnostics",signature:"isTimeoutError(error)",summary:"Check timeout errors.",example:"api.isTimeoutError(error)",secureDefault:"available"},{name:"api.isNetworkError",policy:"diagnostics",signature:"isNetworkError(error)",summary:"Check network errors.",example:"api.isNetworkError(error)",secureDefault:"available"},{name:"api.isPolicyError",policy:"diagnostics",signature:"isPolicyError(error)",summary:"Check policy errors.",example:"api.isPolicyError(error)",secureDefault:"available"},{name:"api.errorMessage",policy:"diagnostics",signature:"errorMessage(error)",summary:"Extract a displayable error message.",example:"api.errorMessage(error)",secureDefault:"available"}],Mj=TA.flatMap((Q)=>Q.functions.map((Z)=>Z.name)),SA=CA.map((Q)=>Q.name),c2=new Map(y8.map((Q)=>[Q.type,Q])),u2=new Set(Mj),d2=new Set(Mj.map((Q)=>Q.split(".").slice(0,2).join("."))),l2=new Set(SA);var cY={};function bJ(Q){return!!Q&&typeof Q==="object"&&!Array.isArray(Q)}function Pj(Q){if(!bJ(Q))return!1;if("layout"in Q)return bJ(Q.layout)&&Object.keys(Q.layout).length>0;if("namespace"in Q||"g"in Q)return!1;return Object.keys(Q).some((Z)=>Z.includes(":"))}function NA(Q){let Z={...Q};return delete Z.slex,delete Z.namespace,delete Z.g,delete Z.layout,Z}function wA(Q){return bJ(Q)&&!Pj(Q)&&(("slex"in Q)||("namespace"in Q)||("g"in Q))}function Tj(Q){return bJ(Q)&&(("slex"in Q)||("namespace"in Q)||("g"in Q)||("layout"in Q))}function kA(Q){if(typeof Q!=="string")return Q;let Z=Dj(Q);return Z.ok?Z.value:Q}function yA(Q,Z){if(!Z||!Tj(Q))return Q;if(!("layout"in Q)&&Pj(Q))return{slex:typeof Q.slex==="string"?Q.slex:void 0,namespace:`${Z}::${String(Q.namespace||"default")}`,g:bJ(Q.g)?Q.g:{},layout:NA(Q)};return{...Q,namespace:`${Z}::${String(Q.namespace||"default")}`}}function _A(Q){if(!Tj(Q))return;return String(Q.namespace||"default")}function uY(Q,Z){if(Q===Z)return 0;let J=Q.compareDocumentPosition(Z);if(J&Node.DOCUMENT_POSITION_FOLLOWING)return-1;if(J&Node.DOCUMENT_POSITION_PRECEDING)return 1;return 0}function vA(Q={}){let Z={mode:"trusted",secureFrame:!0,policy:cY,...Q},J=new Map,X=new Map,Y=new Map,K=new Map,j=new Map,U=new Map;function F(P,T){if(!P)return;let k=_A(T);if(!k)return;let M=U.get(P);if(!M)M=new Set,U.set(P,M);M.add(`${P}::${k}`)}function A(P){let T=U.get(P);if(!T)return;for(let k of T)mA(k);U.delete(P)}function G(P){let T=Y.get(P);if(!T)return"";let k=Array.from(T.entries()).sort(([N],[_])=>uY(N,_)).map(([,N])=>N),M=JSON.stringify(k.map((N)=>({kind:typeof N==="string"?"script":"json",source:encodeURIComponent(typeof N==="string"?N:JSON.stringify(N))}))),C=JSON.stringify(`${P}::`);return`(() => { +);`)()}}catch(Z){let J=MR(Q,Z);return{ok:!1,diagnostic:J,error:new Vj(J)}}}var N9="0.1";class vQ extends Error{kind;code;elapsedMs;constructor(Q,Z,J,X){super(J);this.name="SlexKitRuntimeError",this.kind=Q,this.code=Z,this.elapsedMs=X}}function e0(Q){if(Q?.now)return Q.now();if(typeof performance<"u"&&typeof performance.now==="function")return performance.now();return Date.now()}function PR(){if(typeof location<"u"&&location.origin)return location.origin;if(typeof window<"u"&&window.location?.origin)return window.location.origin;return"http://localhost"}function TR(Q){try{return new URL(Q)}catch{}try{return new URL(Q,PR())}catch{throw new vQ("policy","invalid_url","Invalid request URL.")}}function CR(Q,Z){let J;try{J=new URL(Q)}catch{return!1}for(let X of Z){let Y=X.trim();if(Y==="*"||Y===Q)return!0;if(Y.endsWith("://*")){let j=Y.slice(0,-4);if(J.protocol===`${j}:`)return!0}let K=Y.match(/^([a-z][a-z0-9+.-]*):\/\/\*\.(.+)$/i);if(K&&J.protocol===`${K[1]}:`){let j=K[2].toLowerCase();if(J.hostname.toLowerCase().endsWith(`.${j}`))return!0}}return!1}function SR(Q,Z){if(Q!=="POST"||Z===void 0)return!1;return!(typeof Z==="string"||Z instanceof ArrayBuffer||ArrayBuffer.isView(Z))}function NR(Q){if(Q===void 0||Q===null)return 0;if(typeof Q==="string")return Q.length;if(Q instanceof ArrayBuffer)return Q.byteLength;if(ArrayBuffer.isView(Q))return Q.byteLength;return JSON.stringify(Q).length}var wR=["accept","content-type"],kR=["authorization","cookie","proxy-authorization","sec-fetch-dest","sec-fetch-mode","sec-fetch-site","sec-fetch-user","set-cookie"];function k7(Q){return Q.trim().toLowerCase()}function yR(Q,Z){if(!Q)return;let J=new Set((Z??wR).map(k7));for(let[X,Y]of Object.entries(Q)){let K=k7(X);if(!K||typeof Y!=="string")throw new vQ("policy","header_blocked","Request header is not allowed.");if(kR.includes(K)||!J.has(K))throw new vQ("policy","header_blocked",`Request header ${X} is not allowed.`)}}function _R(Q){if(typeof Q.text==="string")return Q.text.length;if(Q.data!==void 0)try{return JSON.stringify(Q.data).length}catch{return 0}return 0}function vR(Q,Z){let J=Q.split(";")[0].trim().toLowerCase();if(!J)return!1;return Z.some((X)=>{let Y=X.trim().toLowerCase();if(Y==="*"||Y===J)return!0;if(Y.endsWith("/*"))return J.startsWith(`${Y.slice(0,-1)}`);return!1})}function fR(Q,Z){let J=Z.toLowerCase();for(let[X,Y]of Object.entries(Q))if(X.toLowerCase()===J)return Y;return}function bR(Q,Z){if(!Z)return;if(Z.maxResponseBytes!==void 0&&_R(Q)>Z.maxResponseBytes)throw new vQ("policy","response_too_large","Response body exceeds the runtime policy limit.",Q.elapsedMs);if(Z.allowContentTypes?.length){let J=fR(Q.headers,"content-type");if(!J||!vR(J,Z.allowContentTypes))throw new vQ("policy","content_type_blocked",`Response content-type ${J||"unknown"} is not allowed.`,Q.elapsedMs)}}function y7(Q){let Z=Q.canvas;if(!Z?.enabled)throw new vQ("policy","canvas_disabled","Canvas access is disabled.");return Z}function _7(Q,Z,J){if(!Number.isFinite(Z)||!Number.isFinite(J)||Z<=0||J<=0)throw new vQ("policy","canvas_size_invalid","Canvas size must be positive finite numbers.");let X=Math.ceil(Z)*Math.ceil(J);if(Q.maxPixels!==void 0&&X>Q.maxPixels)throw new vQ("policy","canvas_too_large","Canvas size exceeds the runtime policy limit.")}function xR(Q,Z){if(Q.allowedContexts?.length&&!Q.allowedContexts.includes(Z))throw new vQ("policy","canvas_context_blocked",`Canvas context ${Z} is not allowed.`)}function gY(Q,Z){try{Q?.onNetworkLog?.(Z)}catch{}}function $R(Q,Z){try{Q?.onRuntimeError?.(Z)}catch{}}function hR(Q){let Z=globalThis;return{setTimeout:Q?.setTimeout??((J,X)=>Number(Z.setTimeout(J,X))),clearTimeout:Q?.clearTimeout??((J)=>Z.clearTimeout(J)),setInterval:Q?.setInterval??((J,X)=>Number(Z.setInterval(J,X))),clearInterval:Q?.clearInterval??((J)=>Z.clearInterval(J))}}function mR(Q){let Z=globalThis;return{requestAnimationFrame:Q?.requestAnimationFrame??((J)=>{if(typeof Z.requestAnimationFrame==="function")return Number(Z.requestAnimationFrame(J));return Number(globalThis.setTimeout(()=>J(e0(Q)),16))}),cancelAnimationFrame:Q?.cancelAnimationFrame??((J)=>{if(typeof Z.cancelAnimationFrame==="function")Z.cancelAnimationFrame(J);else globalThis.clearTimeout(J)})}}async function gR(Q,Z){if(Z===void 0||!Q.body?.getReader){let j=await Q.text();if(Z!==void 0&&j.length>Z)throw new vQ("policy","response_too_large","Response body exceeds the runtime policy limit.");return j}let J=Q.body.getReader(),X=new TextDecoder,Y=0,K="";while(!0){let{done:j,value:U}=await J.read();if(j)break;if(Y+=U.byteLength,Y>Z)throw await J.cancel(),new vQ("policy","response_too_large","Response body exceeds the runtime policy limit.");K+=X.decode(U,{stream:!0})}return K+=X.decode(),K}async function cR(Q,Z,J={}){if(Z?.fetch)return Z.fetch(Q);if(typeof fetch!=="function")throw new vQ("network","fetch_unavailable","Host fetch is unavailable.");let X=e0(Z),Y=typeof AbortController<"u"?new AbortController:void 0,K=Y?J.onController?.(Y):void 0,j=Y?globalThis.setTimeout(()=>Y.abort(),Q.timeoutMs):void 0;try{let U={method:Q.method,headers:Q.headers,credentials:Q.credentials,signal:Y?.signal};if(Q.method==="POST"&&Q.body!==void 0)if(typeof Q.body==="string"||Q.body instanceof ArrayBuffer||ArrayBuffer.isView(Q.body))U.body=Q.body;else U.body=JSON.stringify(Q.body),U.headers=Q.headers;let F=await fetch(Q.url,U),A=await gR(F,J.maxResponseBytes),G=void 0;try{G=A?JSON.parse(A):void 0}catch{G=void 0}let z={};return F.headers.forEach((L,E)=>{z[E]=L}),{ok:F.ok,status:F.status,statusText:F.statusText,url:F.url,headers:z,text:A,data:G,elapsedMs:e0(Z)-X}}catch(U){let F=e0(Z)-X;if(U instanceof Error&&U.name==="AbortError")throw new vQ("timeout","timeout","Request timed out.",F);throw new vQ("network","network_error",k8(U),F)}finally{if(j!==void 0)globalThis.clearTimeout(j);K?.()}}function k8(Q){if(Q instanceof Error)return Q.message;if(Q&&typeof Q==="object"&&"message"in Q)return String(Q.message);return String(Q??"Unknown error.")}function HK(Q){if(Q instanceof vQ)return{name:Q.name,message:Q.message,kind:Q.kind,code:Q.code,elapsedMs:Q.elapsedMs};if(Q instanceof Error)return{name:Q.name,message:Q.message};return{name:"Error",message:k8(Q)}}function Oj(Q,Z){let J=new Set,X=new Set,Y=new Set,K=new Set,j=new Set,U=new Set,F=new Set,A=!1,G=1,z=new Map,L=hR(Z),E=mR(Z);function D(){if(A)throw new vQ("policy","runtime_disposed","Runtime has been disposed.")}function H(M,C,N={}){let _=Q.network;if(!_?.enabled)throw new vQ("policy","network_disabled","Network access is disabled.");if(!_.methods.includes(M))throw new vQ("policy","method_blocked",`Network method ${M} is not allowed.`);let x=TR(C);if(!CR(x.origin,_.allowOrigins))throw new vQ("policy","origin_blocked",`Network origin ${x.origin} is not allowed.`);if(M==="POST"&&NR(N.body)>_.maxBodyBytes)throw new vQ("policy","body_too_large","Request body exceeds the runtime policy limit.");let v=SR(M,N.body)?{"content-type":"application/json",...N.headers}:N.headers;yR(v,_.allowHeaders);let b=Math.min(N.timeoutMs??_.timeoutMs,_.timeoutMs),h=N.credentials??_.credentials;if(h!==_.credentials)throw new vQ("policy","credentials_blocked","Request credentials mode is not allowed.");return{method:M,url:x.href,headers:v,body:N.body,credentials:h,timeoutMs:b}}function V(M){let C=Q.timer;if(!C?.enabled)throw new vQ("policy","timer_disabled","Timer access is disabled.");if(!Number.isFinite(M)||M=C.maxTimers)throw new vQ("policy","timer_limit","Timer limit exceeded.")}function O(M){if(Number.isFinite(M)&&M>0)return M;let C=G++;return z.set(C,M),C}function S(M,C){D();let N=y7(Q);if(_7(N,M,C),N.maxCanvases!==void 0&&F.size>=N.maxCanvases)throw new vQ("policy","canvas_limit","Canvas limit exceeded.");return N}function P(M,C){if(F.has(M))return;if(C.maxCanvases!==void 0&&F.size>=C.maxCanvases)throw new vQ("policy","canvas_limit","Canvas limit exceeded.");F.add(M)}function T(M,C){$R(Z,{phase:M,error:HK(C)})}let k={now:()=>e0(Z),get:(M,C={})=>k.fetch(M,{...C,method:"GET"}),post:(M,C,N={})=>k.fetch(M,{...N,method:"POST",body:C}),fetch:async(M,C={})=>{D();let N=C.method??"GET",_=H(N,M,C),x=e0(Z);gY(Z,{phase:"request",request:_});try{let v=await cR(_,Z,{maxResponseBytes:Q.network?.maxResponseBytes,onController(b){return j.add(b),()=>j.delete(b)}});return bR(v,Q.network),gY(Z,{phase:"response",request:_,result:v,elapsedMs:e0(Z)-x}),v}catch(v){let b=HK(v);throw gY(Z,{phase:"error",request:_,error:b,elapsedMs:e0(Z)-x}),v}},setTimeout:(M,C)=>{D(),V(C);let N=0,_=L.setTimeout(()=>{X.delete(N),z.delete(N);try{M()}catch(x){throw T("timer",x),x}},C);return N=O(_),X.add(N),N},clearTimeout:(M)=>{let C=z.get(M)??M;L.clearTimeout(C),X.delete(M),z.delete(M)},setInterval:(M,C)=>{D(),V(C);let N=O(L.setInterval(()=>{try{M()}catch(_){throw T("interval",_),_}},C));return Y.add(N),N},clearInterval:(M)=>{let C=z.get(M)??M;L.clearInterval(C),Y.delete(M),z.delete(M)},raf:(M)=>{if(D(),!Q.animation?.enabled)throw new vQ("policy","animation_disabled","Animation access is disabled.");let C=E.requestAnimationFrame((N)=>{K.delete(C);try{M(N)}catch(_){throw T("raf",_),_}});return K.add(C),C},cancelRaf:(M)=>{E.cancelAnimationFrame(M),K.delete(M)},createCanvas:(M,C)=>{if(S(M,C),typeof document>"u"||typeof document.createElement!=="function")throw new vQ("policy","canvas_unavailable","Canvas is unavailable in this runtime.");let N=document.createElement("canvas");return N.width=Math.ceil(M),N.height=Math.ceil(C),U.add(N),F.add(N),N},getCanvasContext:(M,C="2d",N)=>{D();let _=y7(Q);_7(_,M.width,M.height),xR(_,C),P(M,_);let x=M.getContext(C,N);if(!x)throw new vQ("policy","canvas_context_unavailable",`Canvas context ${C} is unavailable.`);return x},onDispose:(M)=>{J.add(M)},isTimeoutError:(M)=>M instanceof vQ&&M.kind==="timeout",isNetworkError:(M)=>M instanceof vQ&&M.kind==="network",isPolicyError:(M)=>M instanceof vQ&&M.kind==="policy",errorMessage:k8};return{api:k,dispose:()=>{if(A)return;A=!0;for(let M of Array.from(X))k.clearTimeout(M);for(let M of Array.from(Y))k.clearInterval(M);for(let M of Array.from(K))k.cancelRaf(M);for(let M of Array.from(j))M.abort();j.clear();for(let M of Array.from(U))if(M.isConnected)M.remove();U.clear(),F.clear();for(let M of Array.from(J))try{M()}catch(C){T("dispose",C)}J.clear()}}}var uR="0.1.0";function dR(Q){return{href:`/docs/components/${Q}`,anchors:{api:`${Q}-api-reference`,examples:`${Q}-canonical-example`}}}function lR(Q){return typeof Q.namespace==="string"&&typeof Q.layout==="object"&&Q.layout!==null}function gQ(Q,Z,J="Basic usage"){return{id:"basic",title:J,source:lR(Z)?{slex:Z.slex??N9,...Z}:{slex:N9,namespace:`spec_${Q.replaceAll("-","_")}_basic`,layout:{[`${Q}:demo`]:Z}}}}var nX=["info","success","warning","danger","muted"],pR=["input","slider","select","tabs","radio-group"],aR=["checkbox"],iR=["switch"],nR=["stat","text","progress","badge","callout","code-block","divider","link","table","section"];function sR(Q){if(pR.includes(Q))return"value";if(aR.includes(Q))return"checked";if(iR.includes(Q))return"enabled";if(nR.includes(Q))return"readable";return"none"}function cQ(Q){return{status:"ready",since:uR,docs:dR(Q.type),state:Q.state??sR(Q.type),...Q}}var x9={allowed:!0,description:"Nested component fields are rendered as child content in field order."},QZ={allowed:!1,description:"This component does not render nested child components."},rR=cQ({type:"accordion",category:"Disclosure",title:"Accordion",summary:"Expandable grouped panels.",description:"Use accordion to reveal one or more sections from a compact list of panels.",props:{value:{type:"string | string[]",dynamic:!0,description:"Current expanded item value; use an array when multiple is true."},multiple:{type:"boolean",default:!1,description:"Allow multiple items to be expanded at the same time."},items:{type:"array",description:"Panel definitions with value, label, content, and optional icon."},"items[].icon":{type:"string",description:"Icon name shown before an item trigger label."},onchange:{type:"write-expression",description:"Write expression invoked when expanded items change."}},children:QZ,examples:[gQ("accordion",{namespace:"doc_accordion_typical",layout:{"accordion:faq":{multiple:!0,value:["install"],items:[{value:"install",label:"Install",icon:"download-simple",content:"Prepare dependencies."},{value:"review",label:"Review",icon:"check-circle",content:"Check the result."},{value:"ship",label:"Ship",icon:"rocket-launch",content:"Publish the change."}]}}})]}),tR=cQ({type:"badge",category:"Content",title:"Badge",summary:"Compact label for status or classification.",description:"Use badge to annotate nearby content with a short semantic label.",props:{label:{type:"string",dynamic:!0,description:"Badge text."},text:{type:"string",dynamic:!0,description:"Alias for label."},content:{type:"string",dynamic:!0,description:"Alias for label."},icon:{type:"string",description:"Icon name shown before the badge label."},tone:{type:"string",values:nX,default:"info",description:"Semantic tone applied to the badge."},variant:{type:"string",values:nX,description:"Alias for tone."}},children:QZ,examples:[gQ("badge",{namespace:"doc_badge_typical",layout:{"row:badges":{"badge:ready":{label:"ready",icon:"check-circle",tone:"success"},"badge:pending":{label:"pending",tone:"warning"},"badge:info":{label:"info",tone:"info"}}}})]}),oR=cQ({type:"button",category:"Action",title:"Button",summary:"Action trigger.",description:"Use button for explicit actions in interactive SlexKit layouts.",props:{label:{type:"string",dynamic:!0,description:"Visible button text and accessible name."},icon:{type:"string",description:"Icon name shown before the label."},iconOnly:{type:"boolean",default:!1,description:"Show only the icon while retaining label as the accessible name."},variant:{type:"string",values:["primary","secondary","danger","ghost"],default:"primary",description:"Semantic action variant."},disabled:{type:"boolean",default:!1,dynamic:!0,description:"Disable the action."},href:{type:"string",dynamic:!0,description:"Render the button surface as a link to this URL."},target:{type:"string",description:"Link target used when href is present."},title:{type:"string",dynamic:!0,description:"Tooltip and accessible-label fallback."},selected:{type:"boolean",dynamic:!0,description:"Render the icon in its selected visual state."},active:{type:"boolean",dynamic:!0,description:"Render the icon in its active visual state."},pressed:{type:"boolean",dynamic:!0,description:"Expose pressed state and render the selected icon style."},onclick:{type:"write-expression",description:"Write expression invoked when the button is clicked."}},children:QZ,examples:[gQ("button",{namespace:"doc_button_typical",layout:{"row:actions":{"button:save":{label:"Save",icon:"floppy-disk",variant:"primary"},"button:cancel":{label:"Cancel",variant:"secondary"},"button:delete":{label:"Delete",variant:"danger"}}}})]}),eR=cQ({type:"callout",category:"Content",title:"Callout",summary:"Highlighted contextual message.",description:"Use callout for notes, warnings, and other contextual blocks.",props:{title:{type:"string",dynamic:!0,description:"Callout title."},heading:{type:"string",dynamic:!0,description:"Alias for title."},label:{type:"string",dynamic:!0,description:"Alias for title."},icon:{type:"string",description:"Icon name shown before the title."},text:{type:"string",dynamic:!0,description:"Callout body text."},message:{type:"string",dynamic:!0,description:"Alias for text."},content:{type:"string",dynamic:!0,description:"Alias for text."},tone:{type:"string",values:["info","success","warning","danger"],default:"info",description:"Semantic tone for the callout."}},children:x9,examples:[gQ("callout",{namespace:"doc_callout_typical",layout:{"callout:notice":{tone:"info",title:"Notice",icon:"info",text:"Use callout for information that should stand out."}}})]}),QA=cQ({type:"card",category:"Layout",title:"Card",summary:"Bordered grouping container.",description:"Use card to group related content on a bounded surface.",props:{title:{type:"string",dynamic:!0,description:"Card title."},icon:{type:"string",description:"Icon name shown before the title."},tone:{type:"string",values:nX,description:"Optional semantic tone for the card surface."}},children:x9,examples:[gQ("card",{namespace:"doc_card_typical",layout:{"card:metrics":{title:"Metrics",icon:"chart-bar","grid:items":{columns:2,"stat:requests":{label:"Requests",value:"1.2k",unit:"/min"},"stat:latency":{label:"Latency",value:"42",unit:"ms"}}}}})]}),ZA=cQ({type:"checkbox",category:"Input",title:"Checkbox",summary:"Boolean checkbox input.",description:"Use checkbox for binary choices that can be toggled independently.",props:{checked:{type:"boolean",default:!1,dynamic:!0,description:"Checked state."},label:{type:"string",dynamic:!0,description:"Checkbox label."},icon:{type:"string",description:"Icon name shown before the visible label."},disabled:{type:"boolean",default:!1,dynamic:!0,description:"Disable the checkbox."},haptic:{type:"boolean",default:!0,description:"Enable vibration feedback on supported devices."},haptics:{type:"boolean",default:!0,description:"Alias for haptic."},onchange:{type:"write-expression",description:"Write expression invoked when checked state changes."}},children:QZ,examples:[gQ("checkbox",{namespace:"doc_checkbox_typical",layout:{"checkbox:agree":{checked:!0,label:"I agree",icon:"handshake"}}})]}),JA=cQ({type:"code-block",category:"Content",title:"Code Block",summary:"Formatted code or log block.",description:"Use code-block for static code samples, configuration snippets, and logs.",props:{code:{type:"string",dynamic:!0,description:"Code text content."},source:{type:"string",dynamic:!0,description:"Alias for code."},content:{type:"string",dynamic:!0,description:"Alias for code."},language:{type:"string",description:"Language label."},title:{type:"string",description:"Code block title."},icon:{type:"string",description:"Icon name shown before the title."},lineNumbers:{type:"boolean",default:!0,description:"Show line numbers."}},children:QZ,examples:[gQ("code-block",{namespace:"doc_code_block_typical",layout:{"code-block:config":{title:"Config",icon:"code",language:"js",code:"export const enabled = true;"}}})]}),XA=cQ({type:"collapsible",category:"Disclosure",title:"Collapsible",summary:"Single expandable region.",description:"Use collapsible to show or hide one related content region.",props:{open:{type:"boolean",default:!1,dynamic:!0,description:"Expanded state."},trigger:{type:"string",dynamic:!0,description:"Trigger button text."},icon:{type:"string",description:"Icon name shown before trigger text."},content:{type:"string",dynamic:!0,description:"Static body content."},onchange:{type:"write-expression",description:"Write expression invoked when open state changes."}},children:x9,examples:[gQ("collapsible",{namespace:"doc_collapsible_typical",layout:{"collapsible:more":{open:!0,trigger:"Details",icon:"caret-circle-down",content:"This secondary content can be collapsed."}}})]}),YA=cQ({type:"column",category:"Layout",title:"Column",summary:"Vertical layout container.",description:"Use column to stack child components vertically in field order.",props:{},children:x9,examples:[gQ("column",{namespace:"doc_column_typical",layout:{"column:form":{"input:name":{placeholder:"Name"},"input:email":{placeholder:"Email"},"button:save":{label:"Save"}}}})]}),KA=cQ({type:"divider",category:"Content",title:"Divider",summary:"Visual separator.",description:"Use divider to separate related regions, optionally with a label.",props:{label:{type:"string",dynamic:!0,description:"Text shown in the divider."},icon:{type:"string",description:"Icon name shown before the label."}},children:QZ,examples:[gQ("divider",{namespace:"doc_divider_typical",layout:{"column:content":{"text:top":{text:"Above"},"divider:line":{label:"Divider",icon:"flag"},"text:bottom":{text:"Below"}}}})]}),jA=cQ({type:"formula",category:"Display",title:"Formula",summary:"Reactive KaTeX formula display.",description:"Use formula to render SlexKit state and computed values through KaTeX.",props:{tex:{type:"string",dynamic:!0,description:"KaTeX source to render."},formula:{type:"string",dynamic:!0,description:"Alias for tex."},value:{type:"string",dynamic:!0,description:"Alias for tex."},displayMode:{type:"boolean",default:!0,description:"Render as display math when true; inline math when false."},display:{type:"boolean",default:!0,description:"Alias for displayMode."},block:{type:"boolean",default:!0,description:"Alias for displayMode."}},children:QZ,examples:[gQ("formula",{namespace:"doc_formula_typical",g:{r:1e4,c:100,fc:159.15},layout:{"formula:cutoff":{$tex:"'f_c = \\\\frac{1}{2\\\\pi RC} = ' + g.fc + '\\\\text{ Hz}'"}}})]}),UA=cQ({type:"grid",category:"Layout",title:"Grid",summary:"Responsive grid container.",description:"Use grid to arrange child components in responsive columns.",props:{columns:{type:"number",default:1,dynamic:!0,description:"Base column count."},smColumns:{type:"number",dynamic:!0,description:"Column count at the small breakpoint."},mdColumns:{type:"number",dynamic:!0,description:"Column count at the medium breakpoint."},lgColumns:{type:"number",dynamic:!0,description:"Column count at the large breakpoint."},xlColumns:{type:"number",dynamic:!0,description:"Column count at the extra-large breakpoint."},gap:{type:"string",dynamic:!0,description:"Spacing between grid items."}},children:x9,examples:[gQ("grid",{namespace:"doc_grid_typical",layout:{"grid:stats":{columns:1,mdColumns:3,"stat:a":{label:"Requests",value:"1.2k"},"stat:b":{label:"Success",value:"98%"},"stat:c":{label:"Errors",value:"3"}}}})]}),FA=cQ({type:"icon",category:"Component",title:"Icon",summary:"Shared icon field capability.",description:"Icon is a shared field capability, not an independent icon component type.",props:{icon:{type:"string",description:"Icon name resolved through the global icon manager."},iconOnly:{type:"boolean",description:"Render only the icon while retaining an accessible label where supported."},"items[].icon":{type:"string",description:"Accordion item trigger icon."},"options[].icon":{type:"string",description:"Select or radio option icon."},"columns[].icon":{type:"string",description:"Table column header icon."},"tabs[].icon":{type:"string",description:"Tab trigger icon."},"tabs[].iconOnly":{type:"boolean",description:"Tab trigger icon-only mode."}},children:QZ,examples:[gQ("button",{label:"Settings",icon:"gear-six",iconOnly:!0,variant:"ghost"},"Icon field usage")]}),RA=cQ({type:"input",category:"Input",title:"Input",summary:"Text or engineering-value input.",description:"Use input for editable text and engineering numeric values.",props:{value:{type:"string",dynamic:!0,description:"Current input value."},label:{type:"string",dynamic:!0,description:"Input label."},unit:{type:"string",dynamic:!0,description:"Trailing unit text."},description:{type:"string",dynamic:!0,description:"Assistive description below the input."},help:{type:"string",dynamic:!0,description:"Alias for description."},hint:{type:"string",dynamic:!0,description:"Alias for description."},error:{type:"string",dynamic:!0,description:"Error text shown below the input and linked with aria-describedby."},errorMessage:{type:"string",dynamic:!0,description:"Alias for error."},invalid:{type:"boolean",default:!1,dynamic:!0,description:"Mark the input as invalid with aria-invalid and error styling."},placeholder:{type:"string",description:"Placeholder text for empty values."},type:{type:"string",default:"text",description:"Input value kind; use engineering for parsed engineering values."},disabled:{type:"boolean",default:!1,dynamic:!0,description:"Disable editing."},readonly:{type:"boolean",default:!1,dynamic:!0,description:"Make the input read-only."},readOnly:{type:"boolean",default:!1,dynamic:!0,description:"Alias for readonly."},required:{type:"boolean",default:!1,dynamic:!0,description:"Mark the input as required."},id:{type:"string",description:"Native input id; defaults to a stable id derived from the component name."},name:{type:"string",description:"Native input name attribute."},min:{type:"string | number",dynamic:!0,description:"Minimum value used by numeric input controls."},max:{type:"string | number",dynamic:!0,description:"Maximum value used by numeric input controls."},step:{type:"string | number",dynamic:!0,description:"Step size used by numeric input controls."},onchange:{type:"write-expression",description:"Write expression invoked when the value changes."}},children:QZ,examples:[gQ("input",{namespace:"doc_input_typical",layout:{"input:name":{label:"Project",value:"SlexKit",placeholder:"Enter name",description:"Visible labels keep form fields scannable."}}})]}),AA=cQ({type:"link",category:"Content",title:"Link",summary:"Inline navigation link.",description:"Use link to navigate to another page or resource.",props:{href:{type:"string",description:"Target URL."},text:{type:"string",dynamic:!0,description:"Visible link text."},label:{type:"string",dynamic:!0,description:"Alias for text."},content:{type:"string",dynamic:!0,description:"Alias for text."},icon:{type:"string",description:"Icon name shown before link text."},target:{type:"string",description:"Native link target attribute."},variant:{type:"string",values:["default","muted"],default:"default",description:"Link visual variant."}},children:QZ,examples:[gQ("link",{namespace:"doc_link_typical",layout:{"column:links":{"link:docs":{href:"/components",icon:"arrow-square-out",text:"View components"}}}})]}),WA=cQ({type:"playground",category:"Tooling",title:"Playground",summary:"Interactive source preview.",description:"Use playground in documentation surfaces to render editable SlexKit or Markdown examples.",props:{source:{type:"object | string",description:"SlexKit or Markdown source to preview."},sourceType:{type:"string",values:["slex","markdown","auto-markdown"],default:"slex",description:"Source parser mode."},title:{type:"string",description:"Playground title."},previewAlign:{type:"string",values:["center","start"],default:"center",description:"Vertical preview alignment in render mode."},alignPreview:{type:"string",values:["center","start"],description:"Alias for previewAlign."},previewPlacement:{type:"string",values:["center","start"],description:"Alias for previewAlign."},previewMinHeight:{type:"string",description:"Minimum preview area height."},previewMaxWidth:{type:"string",description:"Maximum preview content width."},themeToggle:{type:"boolean",default:!1,description:"Show the theme toggle action."},showThemeToggle:{type:"boolean",default:!1,description:"Alias for themeToggle."},enableThemeToggle:{type:"boolean",default:!1,description:"Alias for themeToggle."},themeLabel:{type:"string",description:"Accessible label for the theme toggle action."},themeToggleLabel:{type:"string",description:"Alias for themeLabel."},sourceTypeLabel:{type:"string",description:"Accessible label for the source type selector."},copyLabel:{type:"string",description:"Accessible label for the copy source action."},openWebLabel:{type:"string",description:"Accessible label for opening the source in the standalone playground."},webUrl:{type:"string",description:"Standalone playground URL used by the open action."},playgroundUrl:{type:"string",description:"Alias for webUrl."}},children:QZ,examples:[gQ("playground",{namespace:"doc_playground_typical",layout:{"playground:demo":{title:"Stat Playground",previewMinHeight:"180px",source:{namespace:"inner_stat_demo",layout:{"stat:value":{label:"Requests",value:"1.2k",unit:"/min"}}}}}})]}),qA=cQ({type:"progress",category:"Feedback",title:"Progress",summary:"Progress bar.",description:"Use progress to show completion as a percentage.",props:{value:{type:"number",default:0,dynamic:!0,description:"Progress percentage from 0 to 100."},label:{type:"string",dynamic:!0,description:"Progress label."},icon:{type:"string",description:"Icon name shown before the label."},indeterminate:{type:"boolean",default:!1,dynamic:!0,description:"Render an indeterminate progress state without aria-valuenow."}},children:QZ,examples:[gQ("progress",{namespace:"doc_progress_typical",layout:{"progress:build":{label:"Build progress",icon:"gear-six",value:64}}})]}),GA=cQ({type:"radio-group",category:"Input",title:"Radio Group",summary:"Single-choice option group.",description:"Use radio-group for one-of-many choices.",props:{value:{type:"string",dynamic:!0,description:"Current selected value."},label:{type:"string",dynamic:!0,description:"Group label."},icon:{type:"string",description:"Icon name shown before the group label."},options:{type:"array",description:"Options with label, value, and optional icon."},"options[].icon":{type:"string",description:"Icon name shown before a single option label."},disabled:{type:"boolean",default:!1,dynamic:!0,description:"Disable every radio option in the group."},orientation:{type:"string",values:["vertical","horizontal"],default:"vertical",description:"Radio option layout direction."},haptic:{type:"boolean",default:!0,description:"Enable vibration feedback on supported devices."},haptics:{type:"boolean",default:!0,description:"Alias for haptic."},name:{type:"string",description:"Native radio group name shared by options."},onchange:{type:"write-expression",description:"Write expression invoked when selection changes."}},children:QZ,examples:[gQ("radio-group",{namespace:"doc_radio_group_typical",layout:{"radio-group:mode":{label:"Mode",icon:"sliders-horizontal",value:"auto",options:[{label:"Auto",value:"auto",icon:"sparkle"},{label:"Manual",value:"manual",icon:"wrench"}]}}})]}),EA=cQ({type:"row",category:"Layout",title:"Row",summary:"Horizontal layout container.",description:"Use row to place child components horizontally in field order.",props:{justify:{type:"string",values:["start","center","end","space-between","space-around"],default:"start",description:"Main-axis distribution."},align:{type:"string",values:["start","center","end","baseline","stretch"],default:"center",description:"Cross-axis alignment."},gap:{type:"string",dynamic:!0,description:"Spacing between children."}},children:x9,examples:[gQ("row",{namespace:"doc_row_typical",layout:{"row:toolbar":{justify:"space-between","text:title":{text:"Runtime status"},"button:refresh":{label:"Refresh"}}}})]}),zA=cQ({type:"section",category:"Content",title:"Section",summary:"Page section with optional heading chrome.",description:"Use section to group page content with title, subtitle, and optional action link.",props:{title:{type:"string",dynamic:!0,description:"Section title."},icon:{type:"string",description:"Icon name shown before the title."},eyebrow:{type:"string",dynamic:!0,description:"Small label above the title."},subtitle:{type:"string",dynamic:!0,description:"Subtitle text below the title."},actionLabel:{type:"string",dynamic:!0,description:"Optional action link label."},actionHref:{type:"string",description:"Optional action link target."}},children:x9,examples:[gQ("section",{namespace:"doc_section_typical",layout:{"section:overview":{eyebrow:"Dashboard",title:"Runtime overview",icon:"chart-bar",subtitle:"This section groups the most important state.","stat:latency":{label:"Latency",value:"42",unit:"ms"}}}})]}),LA=cQ({type:"select",category:"Input",title:"Select",summary:"Dropdown selection input.",description:"Use select for compact single-choice selection from an option list.",props:{label:{type:"string",dynamic:!0,description:"Select label."},icon:{type:"string",description:"Icon name shown before the top label."},value:{type:"string",dynamic:!0,description:"Current selected value."},options:{type:"array",description:"Options with label, value, and optional icon."},"options[].icon":{type:"string",description:"Icon name shown before an option label."},placeholder:{type:"string",description:"Placeholder shown when no value is selected."},disabled:{type:"boolean",default:!1,dynamic:!0,description:"Disable the select trigger and native select."},required:{type:"boolean",default:!1,dynamic:!0,description:"Require a non-placeholder value in the native select."},variant:{type:"string",values:["default","toolbar"],default:"default",description:"Select surface variant."},onchange:{type:"write-expression",description:"Write expression invoked when selection changes."}},children:QZ,examples:[gQ("select",{namespace:"doc_select_typical",layout:{"select:env":{label:"Environment",icon:"server",value:"prod",options:[{label:"Development",value:"dev",icon:"code"},{label:"Production",value:"prod",icon:"rocket-launch"}]}}})]}),IA=cQ({type:"slider",category:"Input",title:"Slider",summary:"Numeric range input.",description:"Use slider for bounded numeric adjustments such as volume, brightness, or thresholds.",props:{label:{type:"string",dynamic:!0,description:"Slider label."},icon:{type:"string",description:"Icon name shown before the label."},value:{type:"number",default:0,dynamic:!0,description:"Current numeric value."},min:{type:"number",default:0,dynamic:!0,description:"Minimum value."},max:{type:"number",default:100,dynamic:!0,description:"Maximum value."},step:{type:"number",default:1,dynamic:!0,description:"Step interval."},unit:{type:"string",dynamic:!0,description:"Unit shown after the value."},disabled:{type:"boolean",default:!1,dynamic:!0,description:"Disable the range input."},orientation:{type:"string",values:["horizontal","vertical"],default:"horizontal",description:"Slider orientation metadata used for styling."},haptic:{type:"boolean",default:!0,description:"Enable vibration feedback on supported devices."},haptics:{type:"boolean",default:!0,description:"Alias for haptic."},onchange:{type:"write-expression",description:"Write expression invoked when the value changes."}},children:QZ,examples:[gQ("slider",{namespace:"doc_slider_typical",layout:{"slider:volume":{label:"Volume",icon:"speaker-high",value:42,min:0,max:100,step:1,unit:"%"}}})]}),HA=cQ({type:"stat",category:"Display",title:"Stat",summary:"Metric display.",description:"Use stat to present a labeled metric value with optional unit and semantic tone.",props:{label:{type:"string",dynamic:!0,description:"Metric label."},icon:{type:"string",description:"Icon name shown before the label."},value:{type:"string | number",dynamic:!0,description:"Metric value."},unit:{type:"string",dynamic:!0,description:"Unit shown after the value."},tone:{type:"string",values:nX,description:"Optional semantic tone."},animateInitial:{type:"boolean",default:!1,description:"Animate the initial rendered value."}},children:QZ,examples:[gQ("stat",{namespace:"doc_stat_typical",layout:{"grid:stats":{columns:2,"stat:requests":{label:"Requests",icon:"activity",value:"1.2k",unit:"/min"},"stat:success":{label:"Success",icon:"check-circle",value:"98.4",unit:"%",tone:"success"}}}})]}),VA=cQ({type:"submit",category:"Action",title:"Submit",summary:"ToolHost submit and ignore controls.",description:"Use submit inside tool templates to return selected state fields to the host.",props:{submitLabel:{type:"string",default:"Submit",description:"Submit button text."},ignoreLabel:{type:"string",default:"Ignore",description:"Ignore button text."},returnKeys:{type:"string[]",description:"State field paths returned to ToolHost."},disabled:{type:"boolean",default:!1,dynamic:!0,description:"Disable submit action."}},children:QZ,examples:[gQ("submit",{namespace:"doc_submit_typical",layout:{"column:tool":{"input:title":{value:"Release note",placeholder:"Title"},"submit:done":{submitLabel:"Submit",ignoreLabel:"Ignore",returnKeys:["title"]}}}})]}),BA=cQ({type:"switch",category:"Input",title:"Switch",summary:"Boolean switch input.",description:"Use switch for an on/off setting.",props:{enabled:{type:"boolean",default:!1,dynamic:!0,description:"Enabled state."},label:{type:"string",dynamic:!0,description:"Switch label."},icon:{type:"string",description:"Icon name shown before the visible label."},disabled:{type:"boolean",default:!1,dynamic:!0,description:"Disable the switch."},haptic:{type:"boolean",default:!0,description:"Enable vibration feedback on supported devices."},haptics:{type:"boolean",default:!0,description:"Alias for haptic."},onchange:{type:"write-expression",description:"Write expression invoked when enabled state changes."}},children:QZ,examples:[gQ("switch",{namespace:"doc_switch_typical",layout:{"switch:feature":{enabled:!0,label:"Enable sync",icon:"arrows-clockwise"}}})]}),DA=cQ({type:"table",category:"Data",title:"Table",summary:"Simple data table.",description:"Use table to render rows of keyed data against a column definition.",props:{columns:{type:"array",description:"Column definitions with key, label, and optional icon."},"columns[].icon":{type:"string",description:"Icon name shown before a column label."},rows:{type:"array",description:"Row data objects keyed by column key."},items:{type:"array",description:"Alias for rows."}},children:QZ,examples:[gQ("table",{namespace:"doc_table_typical",layout:{"table:routes":{columns:[{key:"name",label:"Name",icon:"text-t"},{key:"status",label:"Status",icon:"check-circle"}],rows:[{name:"Parse",status:"ready"},{name:"Publish",status:"pending"}]}}})]}),OA=cQ({type:"tabs",category:"Navigation",title:"Tabs",summary:"Tabbed view switcher.",description:"Use tabs to switch between named content panels.",props:{value:{type:"string",dynamic:!0,description:"Current active tab value."},tabs:{type:"array",description:"Tab definitions with value, label, content, icon, and iconOnly."},"tabs[].icon":{type:"string",description:"Icon name shown before a tab trigger label."},"tabs[].iconOnly":{type:"boolean",description:"Show only the tab icon while retaining label as accessible text."},orientation:{type:"string",values:["horizontal","vertical"],default:"horizontal",description:"Tab list orientation."},onchange:{type:"write-expression",description:"Write expression invoked when the active tab changes."}},children:QZ,examples:[gQ("tabs",{namespace:"doc_tabs_typical",layout:{"tabs:main":{value:"overview",tabs:[{value:"overview",label:"Overview"},{value:"settings",label:"Settings"}]}}})]}),MA=cQ({type:"text",category:"Display",title:"Text",summary:"Plain text display.",description:"Use text for short static or dynamic copy inside SlexKit layouts.",props:{text:{type:"string",dynamic:!0,description:"Displayed text."},content:{type:"string",dynamic:!0,description:"Alias for text."},label:{type:"string",dynamic:!0,description:"Alias for text."},variant:{type:"string",values:["default","muted"],default:"default",description:"Text visual variant."},color:{type:"string",dynamic:!0,description:"Optional CSS color for controlled previews."},size:{type:"string | number",dynamic:!0,description:"Optional font size. Numbers are treated as px."},class:{type:"string",description:"Additional host-controlled CSS class."}},children:QZ,examples:[gQ("text",{namespace:"doc_text_typical",layout:{"text:status":{text:"System is healthy"}}})]}),PA=cQ({type:"toast",category:"Feedback",title:"Toast",summary:"Transient notification.",description:"Use toast to show an inline notification with semantic status.",props:{title:{type:"string",dynamic:!0,description:"Toast title."},heading:{type:"string",dynamic:!0,description:"Alias for title."},label:{type:"string",dynamic:!0,description:"Alias for title."},icon:{type:"string",description:"Icon name shown at the left of the toast."},description:{type:"string",dynamic:!0,description:"Toast body text."},text:{type:"string",dynamic:!0,description:"Alias for description."},message:{type:"string",dynamic:!0,description:"Alias for description."},content:{type:"string",dynamic:!0,description:"Alias for description."},type:{type:"string",values:["info","success","warning","danger"],default:"info",description:"Semantic notification type."},tone:{type:"string",values:["info","success","warning","danger"],default:"info",description:"Alias for type."},duration:{type:"number",description:"Auto-hide delay in milliseconds."},dismissable:{type:"boolean",default:!0,description:"Show a close button."},dismissible:{type:"boolean",default:!0,description:"Alias for dismissable."},closeLabel:{type:"string",default:"Close notification",description:"Accessible close button label."},closeAriaLabel:{type:"string",description:"Alias for closeLabel."}},children:QZ,examples:[gQ("toast",{namespace:"doc_toast_typical",layout:{"toast:saved":{type:"success",title:"Saved",icon:"check-circle",description:"Changes have been written."}}})]}),y8=[rR,tR,oR,eR,QA,ZA,JA,XA,YA,KA,jA,UA,FA,RA,AA,WA,qA,GA,EA,zA,LA,IA,HA,VA,BA,DA,OA,MA,PA],m2=y8.map((Q)=>Q.type),g2=new Map(y8.map((Q)=>[Q.type,Q]));var TA=[{name:"math",summary:"Small numeric helpers for common interactive calculations.",functions:[{name:"std.math.clamp",signature:"clamp(value, min, max)",summary:"Clamp a number into a range.",pure:!0,example:"std.math.clamp(g.score, 0, 100)"},{name:"std.math.round",signature:"round(value, digits = 0)",summary:"Round with a fixed number of decimal digits.",pure:!0,example:"std.math.round(g.latency, 1)"},{name:"std.math.safeDivide",signature:"safeDivide(numerator, denominator, fallback = 0)",summary:"Divide with a fallback for zero or invalid denominators.",pure:!0,example:"std.math.safeDivide(g.used, g.total, 0)"},{name:"std.math.percent",signature:"percent(part, total, digits = 1)",summary:"Return part / total as a percentage number.",pure:!0,example:"std.math.percent(g.done, g.total, 1)"},{name:"std.math.lerp",signature:"lerp(start, end, t)",summary:"Linear interpolation.",pure:!0,example:"std.math.lerp(0, 100, g.progress)"}]},{name:"stats",summary:"Finite-number aggregations for arrays.",functions:[{name:"std.stats.sum",signature:"sum(values)",summary:"Sum finite numeric values. Empty arrays return 0.",pure:!0,example:"std.stats.sum(g.samples)"},{name:"std.stats.mean",signature:"mean(values)",summary:"Average finite numeric values. Empty arrays return NaN.",pure:!0,example:"std.stats.mean(g.samples)"},{name:"std.stats.min",signature:"min(values)",summary:"Minimum finite numeric value. Empty arrays return NaN.",pure:!0,example:"std.stats.min(g.samples)"},{name:"std.stats.max",signature:"max(values)",summary:"Maximum finite numeric value. Empty arrays return NaN.",pure:!0,example:"std.stats.max(g.samples)"},{name:"std.stats.median",signature:"median(values)",summary:"Median finite numeric value. Empty arrays return NaN.",pure:!0,example:"std.stats.median(g.samples)"}]},{name:"format",summary:"Deterministic display formatting with en-US defaults.",functions:[{name:"std.format.fixed",signature:"fixed(value, digits = 2)",summary:"Format a number with fixed decimal places.",pure:!0,example:"std.format.fixed(g.voltage, 3)"},{name:"std.format.number",signature:"number(value, digits = 0, locale = 'en-US')",summary:"Locale number formatting.",pure:!0,example:"std.format.number(g.requests)"},{name:"std.format.compact",signature:"compact(value, digits = 1, locale = 'en-US')",summary:"Compact number formatting.",pure:!0,example:"std.format.compact(g.users)"},{name:"std.format.percent",signature:"percent(ratio, digits = 1)",summary:"Format a ratio as a percentage string.",pure:!0,example:"std.format.percent(g.done / g.total, 1)"},{name:"std.format.currency",signature:"currency(value, currency = 'USD', locale = 'en-US')",summary:"Format a currency value.",pure:!0,example:"std.format.currency(g.revenue, 'USD')"}]},{name:"units",summary:"Small unit display helpers for common dashboards.",functions:[{name:"std.units.withUnit",signature:"withUnit(value, unit, digits = 2)",summary:"Format a value with a unit suffix.",pure:!0,example:"std.units.withUnit(g.power, 'W', 1)"},{name:"std.units.bytes",signature:"bytes(value, digits = 1)",summary:"Format bytes as B, KB, MB, GB, TB, or PB.",pure:!0,example:"std.units.bytes(g.payloadBytes)"},{name:"std.units.duration",signature:"duration(ms, digits = 1)",summary:"Format milliseconds as ms, s, min, or h.",pure:!0,example:"std.units.duration(g.elapsedMs)"},{name:"std.units.si",signature:"si(value, unit = '', digits = 2)",summary:"Format with SI prefixes.",pure:!0,example:"std.units.si(g.frequency, 'Hz', 2)"}]}],CA=[{name:"api.get",policy:"network",signature:"get(url, options)",summary:"Policy-gated GET request.",example:"await api.get('https://api.example.com/status')",secureDefault:"denied",forbidden:["fetch(url)","XMLHttpRequest","WebSocket"]},{name:"api.post",policy:"network",signature:"post(url, body, options)",summary:"Policy-gated POST request.",example:"await api.post('https://api.example.com/items', { ok: true })",secureDefault:"denied",forbidden:["fetch(url)","XMLHttpRequest","WebSocket"]},{name:"api.fetch",policy:"network",signature:"fetch(url, options)",summary:"Policy-gated GET or POST request.",example:"await api.fetch(url, { method: 'GET' })",secureDefault:"denied",forbidden:["fetch(url)","XMLHttpRequest","WebSocket"]},{name:"api.setTimeout",policy:"timer",signature:"setTimeout(fn, ms)",summary:"Policy-gated timeout.",example:"api.setTimeout(function () { g.ready = true; }, 500)",secureDefault:"denied",forbidden:["setTimeout(fn, ms)"]},{name:"api.clearTimeout",policy:"timer",signature:"clearTimeout(id)",summary:"Clear a policy-gated timeout.",example:"api.clearTimeout(g.timeoutId)",secureDefault:"denied"},{name:"api.setInterval",policy:"timer",signature:"setInterval(fn, ms)",summary:"Policy-gated interval.",example:"api.setInterval(function () { g.ticks += 1; }, 1000)",secureDefault:"denied",forbidden:["setInterval(fn, ms)"]},{name:"api.clearInterval",policy:"timer",signature:"clearInterval(id)",summary:"Clear a policy-gated interval.",example:"api.clearInterval(g.intervalId)",secureDefault:"denied"},{name:"api.raf",policy:"animation",signature:"raf(fn)",summary:"Policy-gated animation frame.",example:"api.raf(function (time) { g.time = time; })",secureDefault:"denied",forbidden:["requestAnimationFrame(fn)"]},{name:"api.cancelRaf",policy:"animation",signature:"cancelRaf(id)",summary:"Cancel a policy-gated animation frame.",example:"api.cancelRaf(g.rafId)",secureDefault:"denied"},{name:"api.createCanvas",policy:"canvas",signature:"createCanvas(width, height)",summary:"Create a policy-counted canvas.",example:"var canvas = api.createCanvas(320, 180)",secureDefault:"denied"},{name:"api.getCanvasContext",policy:"canvas",signature:"getCanvasContext(canvas, contextId, options)",summary:"Get a policy-checked canvas context.",example:"var ctx = api.getCanvasContext(canvas, '2d')",secureDefault:"denied"},{name:"api.onDispose",policy:"lifecycle",signature:"onDispose(fn)",summary:"Register runtime cleanup.",example:"api.onDispose(function () { g.closed = true; })",secureDefault:"available"},{name:"api.now",policy:"lifecycle",signature:"now()",summary:"Runtime clock.",example:"api.now()",secureDefault:"available"},{name:"api.isTimeoutError",policy:"diagnostics",signature:"isTimeoutError(error)",summary:"Check timeout errors.",example:"api.isTimeoutError(error)",secureDefault:"available"},{name:"api.isNetworkError",policy:"diagnostics",signature:"isNetworkError(error)",summary:"Check network errors.",example:"api.isNetworkError(error)",secureDefault:"available"},{name:"api.isPolicyError",policy:"diagnostics",signature:"isPolicyError(error)",summary:"Check policy errors.",example:"api.isPolicyError(error)",secureDefault:"available"},{name:"api.errorMessage",policy:"diagnostics",signature:"errorMessage(error)",summary:"Extract a displayable error message.",example:"api.errorMessage(error)",secureDefault:"available"}],Mj=TA.flatMap((Q)=>Q.functions.map((Z)=>Z.name)),SA=CA.map((Q)=>Q.name),c2=new Map(y8.map((Q)=>[Q.type,Q])),u2=new Set(Mj),d2=new Set(Mj.map((Q)=>Q.split(".").slice(0,2).join("."))),l2=new Set(SA);var cY={};function bJ(Q){return!!Q&&typeof Q==="object"&&!Array.isArray(Q)}function Pj(Q){if(!bJ(Q))return!1;if("layout"in Q)return bJ(Q.layout)&&Object.keys(Q.layout).length>0;if("namespace"in Q||"g"in Q)return!1;return Object.keys(Q).some((Z)=>Z.includes(":"))}function NA(Q){let Z={...Q};return delete Z.slex,delete Z.namespace,delete Z.g,delete Z.layout,Z}function wA(Q){return bJ(Q)&&!Pj(Q)&&(("slex"in Q)||("namespace"in Q)||("g"in Q))}function Tj(Q){return bJ(Q)&&(("slex"in Q)||("namespace"in Q)||("g"in Q)||("layout"in Q))}function kA(Q){if(typeof Q!=="string")return Q;let Z=Dj(Q);return Z.ok?Z.value:Q}function yA(Q,Z){if(!Z||!Tj(Q))return Q;if(!("layout"in Q)&&Pj(Q))return{slex:typeof Q.slex==="string"?Q.slex:void 0,namespace:`${Z}::${String(Q.namespace||"default")}`,g:bJ(Q.g)?Q.g:{},layout:NA(Q)};return{...Q,namespace:`${Z}::${String(Q.namespace||"default")}`}}function _A(Q){if(!Tj(Q))return;return String(Q.namespace||"default")}function uY(Q,Z){if(Q===Z)return 0;let J=Q.compareDocumentPosition(Z);if(J&Node.DOCUMENT_POSITION_FOLLOWING)return-1;if(J&Node.DOCUMENT_POSITION_PRECEDING)return 1;return 0}function vA(Q={}){let Z={mode:"trusted",secureFrame:!0,policy:cY,...Q},J=new Map,X=new Map,Y=new Map,K=new Map,j=new Map,U=new Map;function F(P,T){if(!P)return;let k=_A(T);if(!k)return;let M=U.get(P);if(!M)M=new Set,U.set(P,M);M.add(`${P}::${k}`)}function A(P){let T=U.get(P);if(!T)return;for(let k of T)mA(k);U.delete(P)}function G(P){let T=Y.get(P);if(!T)return"";let k=Array.from(T.entries()).sort(([N],[_])=>uY(N,_)).map(([,N])=>N),M=JSON.stringify(k.map((N)=>({kind:typeof N==="string"?"script":"json",source:encodeURIComponent(typeof N==="string"?N:JSON.stringify(N))}))),C=JSON.stringify(`${P}::`);return`(() => { const __sources = ${M}.map((entry) => ({ kind: entry.kind, source: decodeURIComponent(entry.source), @@ -48,7 +48,7 @@ ${Z} }; } return __target; - })()`}function z(P,T){let k=X.get(P);if(!k)k=new Set,X.set(P,k);k.add(T)}function L(P){let T=P.artifactId,k=Y.get(T);if(!k)k=new Map,Y.set(T,k);return k.set(P.container,P.source),z(T,P.container),T}function E(P){delete P.dataset.slexkitSecureArtifactSlot,P.replaceChildren()}function D(P){let T=X.get(P);if(!T?.size)return;return Array.from(T).sort(uY)[0]}function H(P,T){let k=K.get(P);if(!k)return;j.get(P)?.(),j.delete(P),E(k);let M=X.get(P)??new Set,C=Array.from(M).sort(uY);for(let _ of M){if(_===k)continue;E(_),_.dataset.slexkitSecureArtifactSlot="true"}let N=b7(G(P),k,{theme:T,dir:Z.dir,labels:Z.labels,policy:Z.policy??cY,hostAdapter:Z.hostAdapter,frame:Z.secureFrame??!0,artifactSlots:C.map((_,b)=>({id:`slot_${b}`,container:_}))});j.set(P,N)}function V(P){if(!P.artifactId){let C=b7(P.source,P.container,{theme:P.theme??Z.theme,dir:P.dir??Z.dir,labels:P.labels??Z.labels,policy:Z.policy??cY,hostAdapter:Z.hostAdapter,frame:Z.secureFrame??!0});return O(P,C)}let T=L(P),k=D(T);if(k)K.set(T,k);H(T,P.theme??Z.theme);let M=()=>{Y.get(T)?.delete(P.container),X.get(T)?.delete(P.container),J.delete(P.container),E(P.container);let C=Y.get(T),N=X.get(T);if(!C?.size||!N?.size){j.get(T)?.(),j.delete(T),K.delete(T),Y.delete(T),X.delete(T);return}if(K.get(T)===P.container){let _=D(T);if(_)K.set(T,_)}H(T,P.theme??Z.theme)};return J.set(P.container,M),M}function O(P,T){if(J.set(P.container,T),P.artifactId)z(P.artifactId,P.container);return()=>{if(T(),J.delete(P.container),!P.artifactId)return;let k=X.get(P.artifactId);if(k?.delete(P.container),k?.size===0)X.delete(P.artifactId)}}function S(P){let T=J.get(P);if(!T)return;T(),J.delete(P);for(let[k,M]of X){if(M.delete(P),Y.get(k)?.delete(P),K.get(k)===P){let C=D(k);if(C)K.set(k,C);else K.delete(k)}if(M.size===0)X.delete(k);if(Y.get(k)?.size===0)Y.delete(k)}}return{configure(P){Z={...Z,...P}},getMode(){return Z.mode??"trusted"},mountBlock(P){if(S(P.container),P.container.replaceChildren(),(Z.mode??"trusted")==="secure")return V(P);let k=kA(P.source);F(P.artifactId,k);let M=yA(k,P.artifactId);if(P.stateOnly??wA(M)){if(!eA(M))throw Error("Failed to parse Slex state block.");return O(P,()=>{})}let N=P.theme??Z.theme,_=wj(M,P.container,{theme:N,dir:P.dir??Z.dir,labels:P.labels??Z.labels});return O(P,_)},disposeBlock:S,disposeArtifact(P){let T=Array.from(X.get(P)??[]);for(let k of T)S(k);j.get(P)?.(),j.delete(P),K.delete(P),X.delete(P),Y.delete(P),A(P)},disposeAll(){for(let P of Array.from(J.keys()))S(P);for(let P of Array.from(j.values()))P();j.clear(),K.clear(),X.clear(),Y.clear();for(let P of Array.from(U.keys()))A(P)}}}var sX=typeof document<"u"&&typeof document.currentScript==="object"&&document.currentScript&&"src"in document.currentScript?String(document.currentScript.src||""):void 0;function fA(Q){sX=Q||void 0}function v7(Q){if(!Q||typeof Q!=="object")return Q;let Z="slex"in Q;if("namespace"in Q||"g"in Q||"layout"in Q)return Q;if(Object.keys(Q).some((Y)=>Y.includes(":"))){let{slex:Y,...K}=Q;return{...Z?{slex:Y}:{},namespace:"default",g:{},layout:K}}return Q}function bA(Q){if(Q.slex===void 0||Q.slex===N9)return;console.warn(`[SlexKit] Slex protocol marker '${String(Q.slex)}' does not match supported protocol '${N9}'.`)}function Cj(Q){if(typeof Q!=="string")return v7(Q);let Z=Dj(Q);if(!Z.ok){console.warn("[SlexKit] Failed to parse Slex source:",Z.error.message);return}return v7(Z.value)}function Sj(Q){bA(Q);let Z=Q.namespace||"default",J=Kj(Z);if(Q.g)try{jj(J.g,Q.g)}catch(X){console.warn(`[SlexKit][${Z}] Merge error, replacing entire g:`,X.message);for(let Y of Object.keys(J.g))delete J.g[Y];Object.assign(J.g,Q.g)}if(Q.layout)J.layouts=[Q.layout]}function f7(Q,Z){return getComputedStyle(Q).getPropertyValue(Z).trim().length>0}function xA(Q,Z="auto"){if(Z!=="auto")return Z;if(Q.closest(".slexkit-theme-uno, .slexkit-theme-flowbite"))return"uno";return f7(Q,"--primary")&&f7(Q,"--background")?"host-shadcn":"uno"}function Nj(Q){let Z=Q.closest(".dark, .light, [data-theme='dark'], [data-theme='light']");if(Z?.classList.contains("dark")||Z?.dataset.theme==="dark")return"dark";if(Z?.classList.contains("light")||Z?.dataset.theme==="light")return"light";let X=(Q.ownerDocument||document).documentElement;if(X.classList.contains("dark")||X.dataset.theme==="dark")return"dark";if(X.classList.contains("light")||X.dataset.theme==="light")return"light";let Y=getComputedStyle(X).colorScheme||getComputedStyle(Q).colorScheme;if(Y.split(/\s+/).includes("dark"))return"dark";if(Y.split(/\s+/).includes("light"))return"light";return}function $A(Q,Z){if(!Z)return;Q.documentElement.classList.toggle("dark",Z==="dark"),Q.documentElement.classList.toggle("light",Z==="light"),Q.documentElement.dataset.theme=Z}function hA(Q,Z="auto"){if(Z==="ltr"||Z==="rtl")return Z;return(Q.closest("[dir]")?.dir||Q.ownerDocument?.documentElement?.dir)==="rtl"?"rtl":"ltr"}function wj(Q,Z,J={}){let X=Cj(Q);if(!X)return()=>{};let Y=X.namespace||"default",K=Kj(Y),j=Z.ownerDocument||document;Sj(X);let U=K.cleanups.get(Z);if(U)U();let F=j.createElement("div"),A=xA(Z,J.theme),G=hA(Z,J.dir);F.className=`slexkit-root slexkit-theme-${A}`,F.dir=G,F.dataset.namespace=Y,F.dataset.theme=A,F.dataset.dir=G,Z.appendChild(F),K.roots.set(Z,F);let z=E8((L)=>{let E=j.createElement("div");return E.className="slex-layout",F.appendChild(E),qY(X.layout??{},E,K.g,K.components,K.componentTypes,void 0,Y,J.api,{dir:G,labels:J.labels??{}}),()=>{L(),F.remove(),K.roots.delete(Z),K.cleanups.delete(Z)}});return K.cleanups.set(Z,z),z}function mA(Q){let Z=Q||"default",J=y1(Z);if(J){for(let X of Array.from(J.cleanups.values()))try{X()}catch(Y){console.warn(`[SlexKit][${Z}] Cleanup error while disposing namespace:`,Y.message)}for(let X of Array.from(J.roots.values()))X.remove();J.roots.clear(),J.cleanups.clear(),_1(Z)}f1(Z)}function b7(Q,Z,J){Z.dataset.slexkitSecureRuntime="true";let X;try{X=gA(Q,Z,J)}catch(U){throw delete Z.dataset.slexkitSecureRuntime,U}if(X?.sandboxed)return()=>{X.dispose(),delete Z.dataset.slexkitSecureRuntime};if(!J.unsafeInlineExecution)throw delete Z.dataset.slexkitSecureRuntime,Error("mountSecureArtifact requires a sandbox frame runtime URL. Use unsafeInlineExecution only for trusted inline execution.");let Y=Oj(J.policy,J.hostAdapter),K=X?.target??Z,j=wj(Q,K,{theme:J.theme,dir:J.dir,labels:J.labels,api:Y.api});return()=>{j(),Y.dispose(),X?.dispose(),delete Z.dataset.slexkitSecureRuntime}}function gA(Q,Z,J){let X=J.frame;if(!X)return null;let Y=Z.ownerDocument||document,K=typeof X==="object"?X:{},j=Y.createElement("iframe");j.className=K.className??"slexkit-secure-frame",j.title=K.title??"SlexKit secure artifact",j.setAttribute("data-slexkit-secure-frame","true"),j.setAttribute("referrerpolicy","no-referrer"),j.style.display="block",j.style.width="100%",j.style.border="0",j.style.background="transparent";let U=K.runtimeUrl??K.runnerUrl??sX;if(U){let G=rX(U),z=K.styleUrl===!1?"":K.styleUrl??uA(G),L=z?rX(z):void 0;nA(Q),j.setAttribute("sandbox",cA(K)),Z.replaceChildren(j);let E=sA(Q,Z,j,J);return j.srcdoc=dA(G,L),E}if(X)throw j.remove(),Error("SlexKit secure frame requires runtimeUrl or setSlexKitRuntimeUrl().");if(K.sandbox)j.setAttribute("sandbox",K.sandbox);Z.replaceChildren(j);let F=j.contentDocument;if(!F?.body)throw j.remove(),Error("Unable to create SlexKit secure frame document.");F.open(),F.write('
'),F.close(),$A(F,Nj(Z));let A=F.getElementById("slexkit-secure-root");if(!A)throw j.remove(),Error("Unable to create SlexKit secure frame root.");return{target:A,dispose:()=>j.remove()}}function cA(Q){let J=(Q.sandbox??"allow-scripts").split(/\s+/).filter(Boolean);if(J.includes("allow-same-origin")&&!Q.unsafeAllowSameOrigin)throw Error("SlexKit secure frames cannot use allow-same-origin unless unsafeAllowSameOrigin is explicitly enabled.");if(!J.includes("allow-scripts"))throw Error("SlexKit secure frames require allow-scripts to run the runtime.");return J.join(" ")}function rX(Q){try{let Z=typeof document<"u"?document.baseURI:void 0;return new URL(Q,Z).href}catch{return Q}}function x7(Q){try{let Z=new URL(Q);if(Z.protocol==="blob:")return"blob:";if(Z.protocol==="data:")return"data:";return Z.origin}catch{return"'self'"}}function uA(Q){try{let Z=new URL(Q);if(Z.protocol==="blob:"||Z.protocol==="data:")return"";return Z.pathname=Z.pathname.replace(/[^/]+$/,"slexkit.css"),Z.search="",Z.hash="",Z.href}catch{return""}}function $7(Q){return Q.replace(/&/g,"&").replace(/"/g,""").replace(//g,">")}function dA(Q,Z){let J=VK(12),X=Z?` ${x7(Z)}`:"",Y=["default-src 'none'",`script-src 'nonce-${J}' 'unsafe-eval' ${x7(Q)}`,"connect-src 'none'","img-src data: blob:",`style-src 'unsafe-inline'${X}`,"font-src data:","form-action 'none'","base-uri 'none'"].join("; "),K="html,body{margin:0;min-height:100%;overflow:hidden;}#slexkit-secure-root{min-height:100%;}",j=Z?``:"";return`${j}
`}function lA(Q){let Z=Q.frame;if(Z&&typeof Z==="object"&&typeof Z.loadTimeoutMs==="number")return Math.max(0,Z.loadTimeoutMs);return 8000}function pA(Q){let Z=Q.policy.execution?.maxUnresponsiveMs;return typeof Z==="number"?Math.max(0,Z):0}function aA(Q,Z,J){let X=Z==="ready"?"The sandbox did not report that the runtime module loaded.":"The sandbox loaded but did not confirm artifact mount.",Y=J?` + })()`}function z(P,T){let k=X.get(P);if(!k)k=new Set,X.set(P,k);k.add(T)}function L(P){let T=P.artifactId,k=Y.get(T);if(!k)k=new Map,Y.set(T,k);return k.set(P.container,P.source),z(T,P.container),T}function E(P){delete P.dataset.slexkitSecureArtifactSlot,P.replaceChildren()}function D(P){let T=X.get(P);if(!T?.size)return;return Array.from(T).sort(uY)[0]}function H(P,T){let k=K.get(P);if(!k)return;j.get(P)?.(),j.delete(P),E(k);let M=X.get(P)??new Set,C=Array.from(M).sort(uY);for(let _ of M){if(_===k)continue;E(_),_.dataset.slexkitSecureArtifactSlot="true"}let N=b7(G(P),k,{theme:T,dir:Z.dir,labels:Z.labels,policy:Z.policy??cY,hostAdapter:Z.hostAdapter,frame:Z.secureFrame??!0,artifactSlots:C.map((_,x)=>({id:`slot_${x}`,container:_}))});j.set(P,N)}function V(P){if(!P.artifactId){let C=b7(P.source,P.container,{theme:P.theme??Z.theme,dir:P.dir??Z.dir,labels:P.labels??Z.labels,policy:Z.policy??cY,hostAdapter:Z.hostAdapter,frame:Z.secureFrame??!0});return O(P,C)}let T=L(P),k=D(T);if(k)K.set(T,k);H(T,P.theme??Z.theme);let M=()=>{Y.get(T)?.delete(P.container),X.get(T)?.delete(P.container),J.delete(P.container),E(P.container);let C=Y.get(T),N=X.get(T);if(!C?.size||!N?.size){j.get(T)?.(),j.delete(T),K.delete(T),Y.delete(T),X.delete(T);return}if(K.get(T)===P.container){let _=D(T);if(_)K.set(T,_)}H(T,P.theme??Z.theme)};return J.set(P.container,M),M}function O(P,T){if(J.set(P.container,T),P.artifactId)z(P.artifactId,P.container);return()=>{if(T(),J.delete(P.container),!P.artifactId)return;let k=X.get(P.artifactId);if(k?.delete(P.container),k?.size===0)X.delete(P.artifactId)}}function S(P){let T=J.get(P);if(!T)return;T(),J.delete(P);for(let[k,M]of X){if(M.delete(P),Y.get(k)?.delete(P),K.get(k)===P){let C=D(k);if(C)K.set(k,C);else K.delete(k)}if(M.size===0)X.delete(k);if(Y.get(k)?.size===0)Y.delete(k)}}return{configure(P){Z={...Z,...P}},getMode(){return Z.mode??"trusted"},mountBlock(P){if(S(P.container),P.container.replaceChildren(),(Z.mode??"trusted")==="secure")return V(P);let k=kA(P.source);F(P.artifactId,k);let M=yA(k,P.artifactId);if(P.stateOnly??wA(M)){if(!eA(M))throw Error("Failed to parse Slex state block.");return O(P,()=>{})}let N=P.theme??Z.theme,_=wj(M,P.container,{theme:N,dir:P.dir??Z.dir,labels:P.labels??Z.labels});return O(P,_)},disposeBlock:S,disposeArtifact(P){let T=Array.from(X.get(P)??[]);for(let k of T)S(k);j.get(P)?.(),j.delete(P),K.delete(P),X.delete(P),Y.delete(P),A(P)},disposeAll(){for(let P of Array.from(J.keys()))S(P);for(let P of Array.from(j.values()))P();j.clear(),K.clear(),X.clear(),Y.clear();for(let P of Array.from(U.keys()))A(P)}}}var sX=typeof document<"u"&&typeof document.currentScript==="object"&&document.currentScript&&"src"in document.currentScript?String(document.currentScript.src||""):void 0;function fA(Q){sX=Q||void 0}function v7(Q){if(!Q||typeof Q!=="object")return Q;let Z="slex"in Q;if("namespace"in Q||"g"in Q||"layout"in Q)return Q;if(Object.keys(Q).some((Y)=>Y.includes(":"))){let{slex:Y,...K}=Q;return{...Z?{slex:Y}:{},namespace:"default",g:{},layout:K}}return Q}function bA(Q){if(Q.slex===void 0||Q.slex===N9)return;console.warn(`[SlexKit] Slex protocol marker '${String(Q.slex)}' does not match supported protocol '${N9}'.`)}function Cj(Q){if(typeof Q!=="string")return v7(Q);let Z=Dj(Q);if(!Z.ok){console.warn("[SlexKit] Failed to parse Slex source:",Z.error.message);return}return v7(Z.value)}function Sj(Q){bA(Q);let Z=Q.namespace||"default",J=Kj(Z);if(Q.g)try{jj(J.g,Q.g)}catch(X){console.warn(`[SlexKit][${Z}] Merge error, replacing entire g:`,X.message);for(let Y of Object.keys(J.g))delete J.g[Y];Object.assign(J.g,Q.g)}if(Q.layout)J.layouts=[Q.layout]}function f7(Q,Z){return getComputedStyle(Q).getPropertyValue(Z).trim().length>0}function xA(Q,Z="auto"){if(Z!=="auto")return Z;if(Q.closest(".slexkit-theme-uno, .slexkit-theme-flowbite"))return"uno";return f7(Q,"--primary")&&f7(Q,"--background")?"host-shadcn":"uno"}function Nj(Q){let Z=Q.closest(".dark, .light, [data-theme='dark'], [data-theme='light']");if(Z?.classList.contains("dark")||Z?.dataset.theme==="dark")return"dark";if(Z?.classList.contains("light")||Z?.dataset.theme==="light")return"light";let X=(Q.ownerDocument||document).documentElement;if(X.classList.contains("dark")||X.dataset.theme==="dark")return"dark";if(X.classList.contains("light")||X.dataset.theme==="light")return"light";let Y=getComputedStyle(X).colorScheme||getComputedStyle(Q).colorScheme;if(Y.split(/\s+/).includes("dark"))return"dark";if(Y.split(/\s+/).includes("light"))return"light";return}function $A(Q,Z){if(!Z)return;Q.documentElement.classList.toggle("dark",Z==="dark"),Q.documentElement.classList.toggle("light",Z==="light"),Q.documentElement.dataset.theme=Z}function hA(Q,Z="auto"){if(Z==="ltr"||Z==="rtl")return Z;return(Q.closest("[dir]")?.dir||Q.ownerDocument?.documentElement?.dir)==="rtl"?"rtl":"ltr"}function wj(Q,Z,J={}){let X=Cj(Q);if(!X)return()=>{};let Y=X.namespace||"default",K=Kj(Y),j=Z.ownerDocument||document;Sj(X);let U=K.cleanups.get(Z);if(U)U();let F=j.createElement("div"),A=xA(Z,J.theme),G=hA(Z,J.dir);F.className=`slexkit-root slexkit-theme-${A}`,F.dir=G,F.dataset.namespace=Y,F.dataset.theme=A,F.dataset.dir=G,Z.appendChild(F),K.roots.set(Z,F);let z=E8((L)=>{let E=j.createElement("div");return E.className="slex-layout",F.appendChild(E),qY(X.layout??{},E,K.g,K.components,K.componentTypes,void 0,Y,J.api,{dir:G,labels:J.labels??{}}),()=>{L(),F.remove(),K.roots.delete(Z),K.cleanups.delete(Z)}});return K.cleanups.set(Z,z),z}function mA(Q){let Z=Q||"default",J=y1(Z);if(J){for(let X of Array.from(J.cleanups.values()))try{X()}catch(Y){console.warn(`[SlexKit][${Z}] Cleanup error while disposing namespace:`,Y.message)}for(let X of Array.from(J.roots.values()))X.remove();J.roots.clear(),J.cleanups.clear(),_1(Z)}f1(Z)}function b7(Q,Z,J){Z.dataset.slexkitSecureRuntime="true";let X;try{X=gA(Q,Z,J)}catch(U){throw delete Z.dataset.slexkitSecureRuntime,U}if(X?.sandboxed)return()=>{X.dispose(),delete Z.dataset.slexkitSecureRuntime};if(!J.unsafeInlineExecution)throw delete Z.dataset.slexkitSecureRuntime,Error("mountSecureArtifact requires a sandbox frame runtime URL. Use unsafeInlineExecution only for trusted inline execution.");let Y=Oj(J.policy,J.hostAdapter),K=X?.target??Z,j=wj(Q,K,{theme:J.theme,dir:J.dir,labels:J.labels,api:Y.api});return()=>{j(),Y.dispose(),X?.dispose(),delete Z.dataset.slexkitSecureRuntime}}function gA(Q,Z,J){let X=J.frame;if(!X)return null;let Y=Z.ownerDocument||document,K=typeof X==="object"?X:{},j=Y.createElement("iframe");j.className=K.className??"slexkit-secure-frame",j.title=K.title??"SlexKit secure artifact",j.setAttribute("data-slexkit-secure-frame","true"),j.setAttribute("referrerpolicy","no-referrer"),j.style.display="block",j.style.width="100%",j.style.border="0",j.style.background="transparent";let U=K.runtimeUrl??K.runnerUrl??sX;if(U){let G=rX(U),z=K.styleUrl===!1?"":K.styleUrl??uA(G),L=z?rX(z):void 0;nA(Q),j.setAttribute("sandbox",cA(K)),Z.replaceChildren(j);let E=sA(Q,Z,j,J);return j.srcdoc=dA(G,L),E}if(X)throw j.remove(),Error("SlexKit secure frame requires runtimeUrl or setSlexKitRuntimeUrl().");if(K.sandbox)j.setAttribute("sandbox",K.sandbox);Z.replaceChildren(j);let F=j.contentDocument;if(!F?.body)throw j.remove(),Error("Unable to create SlexKit secure frame document.");F.open(),F.write('
'),F.close(),$A(F,Nj(Z));let A=F.getElementById("slexkit-secure-root");if(!A)throw j.remove(),Error("Unable to create SlexKit secure frame root.");return{target:A,dispose:()=>j.remove()}}function cA(Q){let J=(Q.sandbox??"allow-scripts").split(/\s+/).filter(Boolean);if(J.includes("allow-same-origin")&&!Q.unsafeAllowSameOrigin)throw Error("SlexKit secure frames cannot use allow-same-origin unless unsafeAllowSameOrigin is explicitly enabled.");if(!J.includes("allow-scripts"))throw Error("SlexKit secure frames require allow-scripts to run the runtime.");return J.join(" ")}function rX(Q){try{let Z=typeof document<"u"?document.baseURI:void 0;return new URL(Q,Z).href}catch{return Q}}function x7(Q){try{let Z=new URL(Q);if(Z.protocol==="blob:")return"blob:";if(Z.protocol==="data:")return"data:";return Z.origin}catch{return"'self'"}}function uA(Q){try{let Z=new URL(Q);if(Z.protocol==="blob:"||Z.protocol==="data:")return"";return Z.pathname=Z.pathname.replace(/[^/]+$/,"slexkit.css"),Z.search="",Z.hash="",Z.href}catch{return""}}function $7(Q){return Q.replace(/&/g,"&").replace(/"/g,""").replace(//g,">")}function dA(Q,Z){let J=VK(12),X=Z?` ${x7(Z)}`:"",Y=["default-src 'none'",`script-src 'nonce-${J}' 'unsafe-eval' ${x7(Q)}`,"connect-src 'none'","img-src data: blob:",`style-src 'unsafe-inline'${X}`,"font-src data:","form-action 'none'","base-uri 'none'"].join("; "),K="html,body{margin:0;min-height:100%;overflow:hidden;}#slexkit-secure-root{min-height:100%;}",j=Z?``:"";return`${j}
`}function lA(Q){let Z=Q.frame;if(Z&&typeof Z==="object"&&typeof Z.loadTimeoutMs==="number")return Math.max(0,Z.loadTimeoutMs);return 8000}function pA(Q){let Z=Q.policy.execution?.maxUnresponsiveMs;return typeof Z==="number"?Math.max(0,Z):0}function aA(Q,Z,J){let X=Z==="ready"?"The sandbox did not report that the runtime module loaded.":"The sandbox loaded but did not confirm artifact mount.",Y=J?` Sandbox error: ${J}`:"";return Error(`SlexKit secure runtime failed to load. ${X} Runtime URL: ${Q} @@ -58,70 +58,70 @@ Content-Type: text/javascript Do not fix this by adding allow-same-origin to the sandbox frame.`+Y)}function iA(Q,Z){return Error(`SlexKit secure runtime stopped responding. No sandbox heartbeat was received for ${Math.round(Z)} ms. Runtime URL: ${Q} -The sandbox frame was terminated to avoid keeping unresponsive agent code alive.`)}function h7(Q,Z,J){Q.dataset.slexkitSecureStatus="error";let X=Q.querySelector(".slexkit-secure-error");if(!X)X=(Q.ownerDocument||document).createElement("div"),X.className="slexkit-secure-error",X.setAttribute("role","alert"),Z.after(X);X.textContent=J.message,console.error(J.message)}function m7(Q){delete Q.dataset.slexkitSecureStatus,Q.querySelector(".slexkit-secure-error")?.remove()}function nA(Q){if(typeof Q==="string")return;let Z=new Set,J=(X)=>{if(typeof X==="function")throw Error("Sandbox runner input cannot contain functions. Pass Slex source to execute functions inside the sandbox realm.");if(!X||typeof X!=="object")return;if(Z.has(X))return;Z.add(X);for(let Y of Object.values(X))J(Y)};J(Q)}function sA(Q,Z,J,X){let Y=`secure_${VK(8)}`,K=VK(24),j=Oj(X.policy,X.hostAdapter),U=typeof X.frame==="object"?rX(X.frame.runtimeUrl??X.frame.runnerUrl??sX??""):rX(sX??""),F=lA(X),A=rA(X.artifactSlots),G=!1,z=!1,L=!1,E=!1,D,H,V,O,S=0,P=pA(X),T=J.ownerDocument.defaultView??window,k=new Map,M=!1,C=()=>{if(D===void 0)return;window.clearTimeout(D),D=void 0},N=()=>{if(H===void 0)return;window.clearInterval(H),H=void 0},_=(o,$)=>{if(G||E)return;C(),h7(Z,J,aA(U,o,$)),t({keepDiagnostic:!0})},b=()=>{if(G||!E||P<=0)return;let o=Date.now()-S;if(o{if(P<=0||H!==void 0)return;S=Date.now(),H=window.setInterval(b,Math.max(10,Math.min(1000,P/2)))},x=()=>{if(V!==void 0)T.cancelAnimationFrame(V),V=void 0;if(O!==void 0)T.clearTimeout(O),O=void 0},h=()=>{if(V=void 0,O=void 0,!A.length||G)return;let o=J.getBoundingClientRect(),$=A.map((LQ)=>{let zQ=LQ.container.getBoundingClientRect();return{id:LQ.id,left:zQ.left-o.left,top:zQ.top-o.top,width:zQ.width,height:zQ.height}});if(A.length>1){let LQ=Math.max(1,...$.map((zQ)=>zQ.top+zQ.height));J.style.height=`${Math.ceil(LQ)}px`}J.contentWindow?.postMessage({channel:"slexkit-secure",type:"slots",id:Y,token:K,slots:$},"*")},i=()=>{if(!A.length||G||V!==void 0||O!==void 0)return;if(typeof T.requestAnimationFrame==="function")V=T.requestAnimationFrame(h);else O=T.setTimeout(h,0)},d=A.length&&typeof ResizeObserver<"u"?new ResizeObserver(i):void 0;if(A.length>1){k.set(Z,{minHeight:Z.style.minHeight,position:Z.style.position,secureSlotId:Z.dataset.slexkitSecureArtifactSlotId}),J.style.position="absolute",J.style.inset="0 auto auto 0",J.style.width="100%",J.style.minHeight="1px",J.style.border="0",J.style.background="transparent",J.style.zIndex="1",J.setAttribute("allowtransparency","true");let o=T.getComputedStyle(Z).position;if(!o||o==="static")Z.style.position="relative",M=!0}for(let o of A){if(!k.has(o.container))k.set(o.container,{minHeight:o.container.style.minHeight,position:o.container.style.position,secureSlotId:o.container.dataset.slexkitSecureArtifactSlotId});o.container.dataset.slexkitSecureArtifactSlotId=o.id,d?.observe(o.container)}if(A.length)T.addEventListener("resize",i),T.addEventListener("scroll",i,!0);if(F>0)D=window.setTimeout(()=>{_(L?"mounted":"ready")},F);let XQ=()=>{if(z)return;z=!0,J.contentWindow?.postMessage({channel:"slexkit-secure",type:"mount",id:Y,token:K,input:Q,policy:X.policy,theme:X.theme,colorMode:Nj(Z),dir:X.dir,labels:X.labels},"*")},KQ=(o)=>{if(G||o.source!==J.contentWindow)return;let $=o.data;if(!$||$.channel!=="slexkit-secure")return;if($.type==="ready"){L=!0,XQ();return}if($.type==="mounted"&&$.id===Y&&$.token===K){E=!0,S=Date.now(),C(),m7(Z),f(),h();return}if($.type==="heartbeat"&&$.id===Y&&$.token===K){S=Date.now();return}if($.type==="slot-size"&&$.id===Y&&$.token===K&&typeof $.slotId==="string"){let zQ=A.find((PQ)=>PQ.id===$.slotId);if(zQ&&typeof $.height==="number"&&Number.isFinite($.height)){let PQ=Math.max(0,Math.ceil($.height));if(zQ.container.style.minHeight=`${PQ}px`,A.length===1)J.style.height=`${Math.max(1,PQ)}px`;i()}return}if($.type==="frame-size"&&$.id===Y&&$.token===K){if(A.length<=1&&typeof $.height==="number"&&Number.isFinite($.height))J.style.height=`${Math.max(1,Math.ceil($.height))}px`;return}if($.type==="error"&&(!$.id||$.id===Y)&&(!$.token||$.token===K)){let zQ=$;_(L?"mounted":"ready",typeof zQ.error?.message==="string"?zQ.error.message:void 0);return}if($.type!=="fetch"||$.id!==Y||$.token!==K||typeof $.requestId!=="string")return;let LQ=tA($.request);if(!LQ)return;j.api.fetch(LQ.url,LQ).then((zQ)=>{J.contentWindow?.postMessage({channel:"slexkit-secure",type:"fetch-result",id:Y,token:K,requestId:$.requestId,result:zQ},"*")}).catch((zQ)=>{J.contentWindow?.postMessage({channel:"slexkit-secure",type:"fetch-result",id:Y,token:K,requestId:$.requestId,error:HK(zQ)},"*")})};window.addEventListener("message",KQ);let t=({keepDiagnostic:o=!1}={})=>{if(G)return;if(G=!0,J.contentWindow?.postMessage({channel:"slexkit-secure",type:"dispose",id:Y,token:K},"*"),C(),N(),x(),d?.disconnect(),A.length)T.removeEventListener("resize",i),T.removeEventListener("scroll",i,!0);for(let $ of A){let LQ=k.get($.container);if(LQ){if(LQ.secureSlotId===void 0)delete $.container.dataset.slexkitSecureArtifactSlotId;else $.container.dataset.slexkitSecureArtifactSlotId=LQ.secureSlotId;$.container.style.minHeight=LQ.minHeight}else delete $.container.dataset.slexkitSecureArtifactSlotId,$.container.style.removeProperty("min-height")}if(M)Z.style.position=k.get(Z)?.position??"";if(window.removeEventListener("message",KQ),j.dispose(),J.remove(),!o)m7(Z);if(!Z.hasChildNodes())Z.replaceChildren()};return{sandboxed:!0,dispose:()=>t()}}function rA(Q){if(!Q?.length)return[];let Z=new Set,J=[];for(let X of Q){let Y=String(X.id||"").trim();if(!Y||Z.has(Y)||!X.container)continue;Z.add(Y),J.push({id:Y,container:X.container})}return J}function VK(Q){let Z=globalThis.crypto;if(Z?.getRandomValues){let J=new Uint8Array(Q);return Z.getRandomValues(J),Array.from(J,(X)=>X.toString(16).padStart(2,"0")).join("")}return`${Date.now().toString(36)}_${Math.random().toString(36).slice(2)}`}function tA(Q){if(!Q||typeof Q!=="object")return null;let Z=Q;if(typeof Z.url!=="string")return null;if(Z.method!=="GET"&&Z.method!=="POST")return null;if(Z.credentials!=="omit"&&Z.credentials!=="same-origin"&&Z.credentials!=="include")return null;if(typeof Z.timeoutMs!=="number"||!Number.isFinite(Z.timeoutMs)||Z.timeoutMs<=0)return null;if(Z.headers!==void 0&&!oA(Z.headers))return null;return{url:Z.url,method:Z.method,headers:Z.headers,body:Z.body,credentials:Z.credentials,timeoutMs:Z.timeoutMs}}function oA(Q){if(!Q||typeof Q!=="object"||Array.isArray(Q))return!1;return Object.values(Q).every((Z)=>typeof Z==="string")}function eA(Q){let Z=Cj(Q);if(!Z)return!1;return Sj(Z),!0}var kj=!0,g7=globalThis.process?.env?.NODE_ENV,r=g7&&!g7.toLowerCase().startsWith("prod"),_8=Array.isArray,QW=Array.prototype.indexOf,J9=Array.prototype.includes,GY=Array.from,c7=Object.keys,Y9=Object.defineProperty,O9=Object.getOwnPropertyDescriptor,yj=Object.getOwnPropertyDescriptors,ZW=Object.prototype,JW=Array.prototype,v8=Object.getPrototypeOf,u7=Object.isExtensible;function XW(Q){return typeof Q==="function"}var o0=()=>{};function YW(Q){for(var Z=0;Z{Q=X,Z=Y});return{promise:J,resolve:Q,reject:Z}}var GZ=2,e9=4,xJ=8,tX=16777216,sZ=16,Z0=32,g0=64,BK=128,oZ=512,XZ=1024,RZ=2048,q0=4096,SZ=8192,mZ=16384,p0=32768,DK=33554432,K9=65536,$J=131072,KW=262144,$9=524288,jW=1048576,D0=33554432,j9=65536,hJ=2097152,M9=4194304,X9=8388608,M0=Symbol("$state"),vj=Symbol("legacy props"),UW=Symbol(""),fj=Symbol("proxy path"),bj=Symbol("attributes"),OK=Symbol("class"),MK=Symbol("style"),PK=Symbol("text"),SJ=Symbol("form reset"),FW=Symbol("hmr anchor"),EY=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},nJ=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),sJ=3,h9=8;function RW(Q){if(r){let Z=Error(`invariant_violation +The sandbox frame was terminated to avoid keeping unresponsive agent code alive.`)}function h7(Q,Z,J){Q.dataset.slexkitSecureStatus="error";let X=Q.querySelector(".slexkit-secure-error");if(!X)X=(Q.ownerDocument||document).createElement("div"),X.className="slexkit-secure-error",X.setAttribute("role","alert"),Z.after(X);X.textContent=J.message,console.error(J.message)}function m7(Q){delete Q.dataset.slexkitSecureStatus,Q.querySelector(".slexkit-secure-error")?.remove()}function nA(Q){if(typeof Q==="string")return;let Z=new Set,J=(X)=>{if(typeof X==="function")throw Error("Sandbox runner input cannot contain functions. Pass Slex source to execute functions inside the sandbox realm.");if(!X||typeof X!=="object")return;if(Z.has(X))return;Z.add(X);for(let Y of Object.values(X))J(Y)};J(Q)}function sA(Q,Z,J,X){let Y=`secure_${VK(8)}`,K=VK(24),j=Oj(X.policy,X.hostAdapter),U=typeof X.frame==="object"?rX(X.frame.runtimeUrl??X.frame.runnerUrl??sX??""):rX(sX??""),F=lA(X),A=rA(X.artifactSlots),G=!1,z=!1,L=!1,E=!1,D,H,V,O,S=0,P=pA(X),T=J.ownerDocument.defaultView??window,k=new Map,M=!1,C=()=>{if(D===void 0)return;window.clearTimeout(D),D=void 0},N=()=>{if(H===void 0)return;window.clearInterval(H),H=void 0},_=(r,$)=>{if(G||E)return;C(),h7(Z,J,aA(U,r,$)),o({keepDiagnostic:!0})},x=()=>{if(G||!E||P<=0)return;let r=Date.now()-S;if(r{if(P<=0||H!==void 0)return;S=Date.now(),H=window.setInterval(x,Math.max(10,Math.min(1000,P/2)))},b=()=>{if(V!==void 0)T.cancelAnimationFrame(V),V=void 0;if(O!==void 0)T.clearTimeout(O),O=void 0},h=()=>{if(V=void 0,O=void 0,!A.length||G)return;let r=J.getBoundingClientRect(),$=A.map((LQ)=>{let zQ=LQ.container.getBoundingClientRect();return{id:LQ.id,left:zQ.left-r.left,top:zQ.top-r.top,width:zQ.width,height:zQ.height}});if(A.length>1){let LQ=Math.max(1,...$.map((zQ)=>zQ.top+zQ.height));J.style.height=`${Math.ceil(LQ)}px`}J.contentWindow?.postMessage({channel:"slexkit-secure",type:"slots",id:Y,token:K,slots:$},"*")},p=()=>{if(!A.length||G||V!==void 0||O!==void 0)return;if(typeof T.requestAnimationFrame==="function")V=T.requestAnimationFrame(h);else O=T.setTimeout(h,0)},d=A.length&&typeof ResizeObserver<"u"?new ResizeObserver(p):void 0;if(A.length>1){k.set(Z,{minHeight:Z.style.minHeight,position:Z.style.position,secureSlotId:Z.dataset.slexkitSecureArtifactSlotId}),J.style.position="absolute",J.style.inset="0 auto auto 0",J.style.width="100%",J.style.minHeight="1px",J.style.border="0",J.style.background="transparent",J.style.zIndex="1",J.setAttribute("allowtransparency","true");let r=T.getComputedStyle(Z).position;if(!r||r==="static")Z.style.position="relative",M=!0}for(let r of A){if(!k.has(r.container))k.set(r.container,{minHeight:r.container.style.minHeight,position:r.container.style.position,secureSlotId:r.container.dataset.slexkitSecureArtifactSlotId});r.container.dataset.slexkitSecureArtifactSlotId=r.id,d?.observe(r.container)}if(A.length)T.addEventListener("resize",p),T.addEventListener("scroll",p,!0);if(F>0)D=window.setTimeout(()=>{_(L?"mounted":"ready")},F);let XQ=()=>{if(z)return;z=!0,J.contentWindow?.postMessage({channel:"slexkit-secure",type:"mount",id:Y,token:K,input:Q,policy:X.policy,theme:X.theme,colorMode:Nj(Z),dir:X.dir,labels:X.labels},"*")},KQ=(r)=>{if(G||r.source!==J.contentWindow)return;let $=r.data;if(!$||$.channel!=="slexkit-secure")return;if($.type==="ready"){L=!0,XQ();return}if($.type==="mounted"&&$.id===Y&&$.token===K){E=!0,S=Date.now(),C(),m7(Z),v(),h();return}if($.type==="heartbeat"&&$.id===Y&&$.token===K){S=Date.now();return}if($.type==="slot-size"&&$.id===Y&&$.token===K&&typeof $.slotId==="string"){let zQ=A.find((PQ)=>PQ.id===$.slotId);if(zQ&&typeof $.height==="number"&&Number.isFinite($.height)){let PQ=Math.max(0,Math.ceil($.height));if(zQ.container.style.minHeight=`${PQ}px`,A.length===1)J.style.height=`${Math.max(1,PQ)}px`;p()}return}if($.type==="frame-size"&&$.id===Y&&$.token===K){if(A.length<=1&&typeof $.height==="number"&&Number.isFinite($.height))J.style.height=`${Math.max(1,Math.ceil($.height))}px`;return}if($.type==="error"&&(!$.id||$.id===Y)&&(!$.token||$.token===K)){let zQ=$;_(L?"mounted":"ready",typeof zQ.error?.message==="string"?zQ.error.message:void 0);return}if($.type!=="fetch"||$.id!==Y||$.token!==K||typeof $.requestId!=="string")return;let LQ=tA($.request);if(!LQ)return;j.api.fetch(LQ.url,LQ).then((zQ)=>{J.contentWindow?.postMessage({channel:"slexkit-secure",type:"fetch-result",id:Y,token:K,requestId:$.requestId,result:zQ},"*")}).catch((zQ)=>{J.contentWindow?.postMessage({channel:"slexkit-secure",type:"fetch-result",id:Y,token:K,requestId:$.requestId,error:HK(zQ)},"*")})};window.addEventListener("message",KQ);let o=({keepDiagnostic:r=!1}={})=>{if(G)return;if(G=!0,J.contentWindow?.postMessage({channel:"slexkit-secure",type:"dispose",id:Y,token:K},"*"),C(),N(),b(),d?.disconnect(),A.length)T.removeEventListener("resize",p),T.removeEventListener("scroll",p,!0);for(let $ of A){let LQ=k.get($.container);if(LQ){if(LQ.secureSlotId===void 0)delete $.container.dataset.slexkitSecureArtifactSlotId;else $.container.dataset.slexkitSecureArtifactSlotId=LQ.secureSlotId;$.container.style.minHeight=LQ.minHeight}else delete $.container.dataset.slexkitSecureArtifactSlotId,$.container.style.removeProperty("min-height")}if(M)Z.style.position=k.get(Z)?.position??"";if(window.removeEventListener("message",KQ),j.dispose(),J.remove(),!r)m7(Z);if(!Z.hasChildNodes())Z.replaceChildren()};return{sandboxed:!0,dispose:()=>o()}}function rA(Q){if(!Q?.length)return[];let Z=new Set,J=[];for(let X of Q){let Y=String(X.id||"").trim();if(!Y||Z.has(Y)||!X.container)continue;Z.add(Y),J.push({id:Y,container:X.container})}return J}function VK(Q){let Z=globalThis.crypto;if(Z?.getRandomValues){let J=new Uint8Array(Q);return Z.getRandomValues(J),Array.from(J,(X)=>X.toString(16).padStart(2,"0")).join("")}return`${Date.now().toString(36)}_${Math.random().toString(36).slice(2)}`}function tA(Q){if(!Q||typeof Q!=="object")return null;let Z=Q;if(typeof Z.url!=="string")return null;if(Z.method!=="GET"&&Z.method!=="POST")return null;if(Z.credentials!=="omit"&&Z.credentials!=="same-origin"&&Z.credentials!=="include")return null;if(typeof Z.timeoutMs!=="number"||!Number.isFinite(Z.timeoutMs)||Z.timeoutMs<=0)return null;if(Z.headers!==void 0&&!oA(Z.headers))return null;return{url:Z.url,method:Z.method,headers:Z.headers,body:Z.body,credentials:Z.credentials,timeoutMs:Z.timeoutMs}}function oA(Q){if(!Q||typeof Q!=="object"||Array.isArray(Q))return!1;return Object.values(Q).every((Z)=>typeof Z==="string")}function eA(Q){let Z=Cj(Q);if(!Z)return!1;return Sj(Z),!0}var kj=!0,g7=globalThis.process?.env?.NODE_ENV,t=g7&&!g7.toLowerCase().startsWith("prod"),_8=Array.isArray,QW=Array.prototype.indexOf,J9=Array.prototype.includes,GY=Array.from,c7=Object.keys,Y9=Object.defineProperty,O9=Object.getOwnPropertyDescriptor,yj=Object.getOwnPropertyDescriptors,ZW=Object.prototype,JW=Array.prototype,v8=Object.getPrototypeOf,u7=Object.isExtensible;function XW(Q){return typeof Q==="function"}var o0=()=>{};function YW(Q){for(var Z=0;Z{Q=X,Z=Y});return{promise:J,resolve:Q,reject:Z}}var GZ=2,e9=4,xJ=8,tX=16777216,sZ=16,Z0=32,g0=64,BK=128,oZ=512,XZ=1024,RZ=2048,q0=4096,SZ=8192,mZ=16384,p0=32768,DK=33554432,K9=65536,$J=131072,KW=262144,$9=524288,jW=1048576,D0=33554432,j9=65536,hJ=2097152,M9=4194304,X9=8388608,M0=Symbol("$state"),vj=Symbol("legacy props"),UW=Symbol(""),fj=Symbol("proxy path"),bj=Symbol("attributes"),OK=Symbol("class"),MK=Symbol("style"),PK=Symbol("text"),SJ=Symbol("form reset"),FW=Symbol("hmr anchor"),EY=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},nJ=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),sJ=3,h9=8;function RW(Q){if(t){let Z=Error(`invariant_violation An invariant violation occurred, meaning Svelte's internal assumptions were flawed. This is a bug in Svelte, not your app — please open an issue at https://github.com/sveltejs/svelte, citing the following message: "${Q}" -https://svelte.dev/e/invariant_violation`);throw Z.name="Svelte error",Z}else throw Error("https://svelte.dev/e/invariant_violation")}function xj(Q){if(r){let Z=Error(`lifecycle_outside_component +https://svelte.dev/e/invariant_violation`);throw Z.name="Svelte error",Z}else throw Error("https://svelte.dev/e/invariant_violation")}function xj(Q){if(t){let Z=Error(`lifecycle_outside_component \`${Q}(...)\` can only be used during component initialisation -https://svelte.dev/e/lifecycle_outside_component`);throw Z.name="Svelte error",Z}else throw Error("https://svelte.dev/e/lifecycle_outside_component")}function AW(){if(r){let Q=Error(`missing_context +https://svelte.dev/e/lifecycle_outside_component`);throw Z.name="Svelte error",Z}else throw Error("https://svelte.dev/e/lifecycle_outside_component")}function AW(){if(t){let Q=Error(`missing_context Context was not set in a parent component -https://svelte.dev/e/missing_context`);throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/missing_context")}function WW(){if(r){let Q=Error("async_derived_orphan\nCannot create a `$derived(...)` with an `await` expression outside of an effect tree\nhttps://svelte.dev/e/async_derived_orphan");throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/async_derived_orphan")}function d7(){if(r){let Q=Error("bind_invalid_checkbox_value\nUsing `bind:value` together with a checkbox input is not allowed. Use `bind:checked` instead\nhttps://svelte.dev/e/bind_invalid_checkbox_value");throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/bind_invalid_checkbox_value")}function qW(){if(r){let Q=Error(`derived_references_self +https://svelte.dev/e/missing_context`);throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/missing_context")}function WW(){if(t){let Q=Error("async_derived_orphan\nCannot create a `$derived(...)` with an `await` expression outside of an effect tree\nhttps://svelte.dev/e/async_derived_orphan");throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/async_derived_orphan")}function d7(){if(t){let Q=Error("bind_invalid_checkbox_value\nUsing `bind:value` together with a checkbox input is not allowed. Use `bind:checked` instead\nhttps://svelte.dev/e/bind_invalid_checkbox_value");throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/bind_invalid_checkbox_value")}function qW(){if(t){let Q=Error(`derived_references_self A derived value cannot reference itself recursively -https://svelte.dev/e/derived_references_self`);throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/derived_references_self")}function $j(Q,Z,J){if(r){let X=Error(`each_key_duplicate +https://svelte.dev/e/derived_references_self`);throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/derived_references_self")}function $j(Q,Z,J){if(t){let X=Error(`each_key_duplicate ${J?`Keyed each block has duplicate key \`${J}\` at indexes ${Q} and ${Z}`:`Keyed each block has duplicate key at indexes ${Q} and ${Z}`} -https://svelte.dev/e/each_key_duplicate`);throw X.name="Svelte error",X}else throw Error("https://svelte.dev/e/each_key_duplicate")}function GW(Q,Z,J){if(r){let X=Error(`each_key_volatile +https://svelte.dev/e/each_key_duplicate`);throw X.name="Svelte error",X}else throw Error("https://svelte.dev/e/each_key_duplicate")}function GW(Q,Z,J){if(t){let X=Error(`each_key_volatile Keyed each block has key that is not idempotent — the key for item at index ${Q} was \`${Z}\` but is now \`${J}\`. Keys must be the same each time for a given item -https://svelte.dev/e/each_key_volatile`);throw X.name="Svelte error",X}else throw Error("https://svelte.dev/e/each_key_volatile")}function EW(Q){if(r){let Z=Error(`effect_in_teardown +https://svelte.dev/e/each_key_volatile`);throw X.name="Svelte error",X}else throw Error("https://svelte.dev/e/each_key_volatile")}function EW(Q){if(t){let Z=Error(`effect_in_teardown \`${Q}\` cannot be used inside an effect cleanup function -https://svelte.dev/e/effect_in_teardown`);throw Z.name="Svelte error",Z}else throw Error("https://svelte.dev/e/effect_in_teardown")}function zW(){if(r){let Q=Error("effect_in_unowned_derived\nEffect cannot be created inside a `$derived` value that was not itself created inside an effect\nhttps://svelte.dev/e/effect_in_unowned_derived");throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/effect_in_unowned_derived")}function LW(Q){if(r){let Z=Error(`effect_orphan +https://svelte.dev/e/effect_in_teardown`);throw Z.name="Svelte error",Z}else throw Error("https://svelte.dev/e/effect_in_teardown")}function zW(){if(t){let Q=Error("effect_in_unowned_derived\nEffect cannot be created inside a `$derived` value that was not itself created inside an effect\nhttps://svelte.dev/e/effect_in_unowned_derived");throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/effect_in_unowned_derived")}function LW(Q){if(t){let Z=Error(`effect_orphan \`${Q}\` can only be used inside an effect (e.g. during component initialisation) -https://svelte.dev/e/effect_orphan`);throw Z.name="Svelte error",Z}else throw Error("https://svelte.dev/e/effect_orphan")}function IW(){if(r){let Q=Error(`effect_update_depth_exceeded +https://svelte.dev/e/effect_orphan`);throw Z.name="Svelte error",Z}else throw Error("https://svelte.dev/e/effect_orphan")}function IW(){if(t){let Q=Error(`effect_update_depth_exceeded Maximum update depth exceeded. This typically indicates that an effect reads and writes the same piece of state -https://svelte.dev/e/effect_update_depth_exceeded`);throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/effect_update_depth_exceeded")}function HW(){if(r){let Q=Error(`hydration_failed +https://svelte.dev/e/effect_update_depth_exceeded`);throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/effect_update_depth_exceeded")}function HW(){if(t){let Q=Error(`hydration_failed Failed to hydrate the application -https://svelte.dev/e/hydration_failed`);throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/hydration_failed")}function VW(){if(r){let Q=Error("invalid_snippet\nCould not `{@render}` snippet due to the expression being `null` or `undefined`. Consider using optional chaining `{@render snippet?.()}`\nhttps://svelte.dev/e/invalid_snippet");throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/invalid_snippet")}function BW(Q){if(r){let Z=Error(`props_invalid_value +https://svelte.dev/e/hydration_failed`);throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/hydration_failed")}function VW(){if(t){let Q=Error("invalid_snippet\nCould not `{@render}` snippet due to the expression being `null` or `undefined`. Consider using optional chaining `{@render snippet?.()}`\nhttps://svelte.dev/e/invalid_snippet");throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/invalid_snippet")}function BW(Q){if(t){let Z=Error(`props_invalid_value Cannot do \`bind:${Q}={undefined}\` when \`${Q}\` has a fallback value -https://svelte.dev/e/props_invalid_value`);throw Z.name="Svelte error",Z}else throw Error("https://svelte.dev/e/props_invalid_value")}function DW(Q){if(r){let Z=Error(`props_rest_readonly +https://svelte.dev/e/props_invalid_value`);throw Z.name="Svelte error",Z}else throw Error("https://svelte.dev/e/props_invalid_value")}function DW(Q){if(t){let Z=Error(`props_rest_readonly Rest element properties of \`$props()\` such as \`${Q}\` are readonly -https://svelte.dev/e/props_rest_readonly`);throw Z.name="Svelte error",Z}else throw Error("https://svelte.dev/e/props_rest_readonly")}function OW(Q){if(r){let Z=Error(`rune_outside_svelte +https://svelte.dev/e/props_rest_readonly`);throw Z.name="Svelte error",Z}else throw Error("https://svelte.dev/e/props_rest_readonly")}function OW(Q){if(t){let Z=Error(`rune_outside_svelte The \`${Q}\` rune is only available inside \`.svelte\` and \`.svelte.js/ts\` files -https://svelte.dev/e/rune_outside_svelte`);throw Z.name="Svelte error",Z}else throw Error("https://svelte.dev/e/rune_outside_svelte")}function MW(){if(r){let Q=Error("set_context_after_init\n`setContext` must be called when a component first initializes, not in a subsequent effect or after an `await` expression\nhttps://svelte.dev/e/set_context_after_init");throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/set_context_after_init")}function PW(){if(r){let Q=Error("state_descriptors_fixed\nProperty descriptors defined on `$state` objects must contain `value` and always be `enumerable`, `configurable` and `writable`.\nhttps://svelte.dev/e/state_descriptors_fixed");throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/state_descriptors_fixed")}function TW(){if(r){let Q=Error("state_prototype_fixed\nCannot set prototype of `$state` object\nhttps://svelte.dev/e/state_prototype_fixed");throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/state_prototype_fixed")}function CW(){if(r){let Q=Error("state_unsafe_mutation\nUpdating state inside `$derived(...)`, `$inspect(...)` or a template expression is forbidden. If the value should not be reactive, declare it without `$state`\nhttps://svelte.dev/e/state_unsafe_mutation");throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/state_unsafe_mutation")}function SW(){if(r){let Q=Error("svelte_boundary_reset_onerror\nA `` `reset` function cannot be called while an error is still being handled\nhttps://svelte.dev/e/svelte_boundary_reset_onerror");throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}var NW=1,wW=2,hj=4,kW=8,yW=16,_W=1,vW=2,fW=4,bW=8,xW=16,$W=1,hW=2,mW=4,mj=1,gW=2;var gj="[",f8="[!",l7="[?",b8="]",w9={};var JZ=Symbol("uninitialized"),TK=Symbol("filename"),p2=Symbol("hmr"),cj="http://www.w3.org/1999/xhtml",cW="http://www.w3.org/2000/svg",uW="http://www.w3.org/1998/Math/MathML",dW="@attach",G0="font-weight: bold",E0="font-weight: normal";function lW(Q){if(r)console.warn(`%c[svelte] await_reactivity_loss +https://svelte.dev/e/rune_outside_svelte`);throw Z.name="Svelte error",Z}else throw Error("https://svelte.dev/e/rune_outside_svelte")}function MW(){if(t){let Q=Error("set_context_after_init\n`setContext` must be called when a component first initializes, not in a subsequent effect or after an `await` expression\nhttps://svelte.dev/e/set_context_after_init");throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/set_context_after_init")}function PW(){if(t){let Q=Error("state_descriptors_fixed\nProperty descriptors defined on `$state` objects must contain `value` and always be `enumerable`, `configurable` and `writable`.\nhttps://svelte.dev/e/state_descriptors_fixed");throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/state_descriptors_fixed")}function TW(){if(t){let Q=Error("state_prototype_fixed\nCannot set prototype of `$state` object\nhttps://svelte.dev/e/state_prototype_fixed");throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/state_prototype_fixed")}function CW(){if(t){let Q=Error("state_unsafe_mutation\nUpdating state inside `$derived(...)`, `$inspect(...)` or a template expression is forbidden. If the value should not be reactive, declare it without `$state`\nhttps://svelte.dev/e/state_unsafe_mutation");throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/state_unsafe_mutation")}function SW(){if(t){let Q=Error("svelte_boundary_reset_onerror\nA `` `reset` function cannot be called while an error is still being handled\nhttps://svelte.dev/e/svelte_boundary_reset_onerror");throw Q.name="Svelte error",Q}else throw Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}var NW=1,wW=2,hj=4,kW=8,yW=16,_W=1,vW=2,fW=4,bW=8,xW=16,$W=1,hW=2,mW=4,mj=1,gW=2;var gj="[",f8="[!",l7="[?",b8="]",w9={};var JZ=Symbol("uninitialized"),TK=Symbol("filename"),p2=Symbol("hmr"),cj="http://www.w3.org/1999/xhtml",cW="http://www.w3.org/2000/svg",uW="http://www.w3.org/1998/Math/MathML",dW="@attach",G0="font-weight: bold",E0="font-weight: normal";function lW(Q){if(t)console.warn(`%c[svelte] await_reactivity_loss %cDetected reactivity loss when reading \`${Q}\`. This happens when state is read in an async function after an earlier \`await\` -https://svelte.dev/e/await_reactivity_loss`,G0,E0);else console.warn("https://svelte.dev/e/await_reactivity_loss")}function pW(Q,Z){if(r)console.warn(`%c[svelte] await_waterfall +https://svelte.dev/e/await_reactivity_loss`,G0,E0);else console.warn("https://svelte.dev/e/await_reactivity_loss")}function pW(Q,Z){if(t)console.warn(`%c[svelte] await_waterfall %cAn async derived, \`${Q}\` (${Z}) was not read immediately after it resolved. This often indicates an unnecessary waterfall, which can slow down your app -https://svelte.dev/e/await_waterfall`,G0,E0);else console.warn("https://svelte.dev/e/await_waterfall")}function aW(){if(r)console.warn(`%c[svelte] derived_inert +https://svelte.dev/e/await_waterfall`,G0,E0);else console.warn("https://svelte.dev/e/await_waterfall")}function aW(){if(t)console.warn(`%c[svelte] derived_inert %cReading a derived belonging to a now-destroyed effect may result in stale values -https://svelte.dev/e/derived_inert`,G0,E0);else console.warn("https://svelte.dev/e/derived_inert")}function iW(Q,Z,J){if(r)console.warn(`%c[svelte] hydration_attribute_changed +https://svelte.dev/e/derived_inert`,G0,E0);else console.warn("https://svelte.dev/e/derived_inert")}function iW(Q,Z,J){if(t)console.warn(`%c[svelte] hydration_attribute_changed %cThe \`${Q}\` attribute on \`${Z}\` changed its value between server and client renders. The client value, \`${J}\`, will be ignored in favour of the server value -https://svelte.dev/e/hydration_attribute_changed`,G0,E0);else console.warn("https://svelte.dev/e/hydration_attribute_changed")}function nW(Q){if(r)console.warn(`%c[svelte] hydration_html_changed +https://svelte.dev/e/hydration_attribute_changed`,G0,E0);else console.warn("https://svelte.dev/e/hydration_attribute_changed")}function nW(Q){if(t)console.warn(`%c[svelte] hydration_html_changed %c${Q?`The value of an \`{@html ...}\` block ${Q} changed between server and client renders. The client value will be ignored in favour of the server value`:"The value of an `{@html ...}` block changed between server and client renders. The client value will be ignored in favour of the server value"} -https://svelte.dev/e/hydration_html_changed`,G0,E0);else console.warn("https://svelte.dev/e/hydration_html_changed")}function rJ(Q){if(r)console.warn(`%c[svelte] hydration_mismatch +https://svelte.dev/e/hydration_html_changed`,G0,E0);else console.warn("https://svelte.dev/e/hydration_html_changed")}function rJ(Q){if(t)console.warn(`%c[svelte] hydration_mismatch %c${Q?`Hydration failed because the initial UI does not match what was rendered on the server. The error occurred near ${Q}`:"Hydration failed because the initial UI does not match what was rendered on the server"} -https://svelte.dev/e/hydration_mismatch`,G0,E0);else console.warn("https://svelte.dev/e/hydration_mismatch")}function sW(){if(r)console.warn(`%c[svelte] lifecycle_double_unmount +https://svelte.dev/e/hydration_mismatch`,G0,E0);else console.warn("https://svelte.dev/e/hydration_mismatch")}function sW(){if(t)console.warn(`%c[svelte] lifecycle_double_unmount %cTried to unmount a component that was not mounted -https://svelte.dev/e/lifecycle_double_unmount`,G0,E0);else console.warn("https://svelte.dev/e/lifecycle_double_unmount")}function rW(){if(r)console.warn("%c[svelte] select_multiple_invalid_value\n%cThe `value` property of a `` element should be an array, but it received a non-array value. The selection will be kept as is.\nhttps://svelte.dev/e/select_multiple_invalid_value",G0,E0);else console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function dY(Q){if(t)console.warn(`%c[svelte] state_proxy_equality_mismatch %cReactive \`$state(...)\` proxies and the values they proxy have different identities. Because of this, comparisons with \`${Q}\` will produce unexpected results -https://svelte.dev/e/state_proxy_equality_mismatch`,G0,E0);else console.warn("https://svelte.dev/e/state_proxy_equality_mismatch")}function tW(){if(r)console.warn(`%c[svelte] state_proxy_unmount +https://svelte.dev/e/state_proxy_equality_mismatch`,G0,E0);else console.warn("https://svelte.dev/e/state_proxy_equality_mismatch")}function tW(){if(t)console.warn(`%c[svelte] state_proxy_unmount %cTried to unmount a state proxy, rather than a component -https://svelte.dev/e/state_proxy_unmount`,G0,E0);else console.warn("https://svelte.dev/e/state_proxy_unmount")}function oW(){if(r)console.warn("%c[svelte] svelte_boundary_reset_noop\n%cA `` `reset` function only resets the boundary the first time it is called\nhttps://svelte.dev/e/svelte_boundary_reset_noop",G0,E0);else console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}var MQ=!1;function U0(Q){MQ=Q}var TQ;function HZ(Q){if(Q===null)throw rJ(),w9;return TQ=Q}function k9(){return HZ(z0(TQ))}function m(Q){if(!MQ)return;if(z0(TQ)!==null)throw rJ(),w9;TQ=Q}function tJ(Q=1){if(MQ){var Z=Q,J=TQ;while(Z--)J=z0(J);TQ=J}}function oX(Q=!0){var Z=0,J=TQ;while(!0){if(J.nodeType===h9){var X=J.data;if(X===b8){if(Z===0)return J;Z-=1}else if(X===gj||X===f8||X[0]==="["&&!isNaN(Number(X.slice(1))))Z+=1}var Y=z0(J);if(Q)J.remove();J=Y}}function uj(Q){if(!Q||Q.nodeType!==h9)throw rJ(),w9;return Q.data}function dj(Q){return Q===this.v}function lj(Q,Z){return Q!=Q?Z==Z:Q!==Z||Q!==null&&typeof Q==="object"||typeof Q==="function"}function pj(Q){return!lj(Q,this.v)}var $Z=!1,oJ=!1,y9=!1,WX=null;function j0(Q,Z){return Q.label=Z,aj(Q.v,Z),Q}function aj(Q,Z){return Q?.[fj]?.(Z),Q}function QJ(Q){let Z=Error(),J=eW();if(J.length===0)return null;return J.unshift(` +https://svelte.dev/e/state_proxy_unmount`,G0,E0);else console.warn("https://svelte.dev/e/state_proxy_unmount")}function oW(){if(t)console.warn("%c[svelte] svelte_boundary_reset_noop\n%cA `` `reset` function only resets the boundary the first time it is called\nhttps://svelte.dev/e/svelte_boundary_reset_noop",G0,E0);else console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}var MQ=!1;function U0(Q){MQ=Q}var TQ;function HZ(Q){if(Q===null)throw rJ(),w9;return TQ=Q}function k9(){return HZ(z0(TQ))}function m(Q){if(!MQ)return;if(z0(TQ)!==null)throw rJ(),w9;TQ=Q}function tJ(Q=1){if(MQ){var Z=Q,J=TQ;while(Z--)J=z0(J);TQ=J}}function oX(Q=!0){var Z=0,J=TQ;while(!0){if(J.nodeType===h9){var X=J.data;if(X===b8){if(Z===0)return J;Z-=1}else if(X===gj||X===f8||X[0]==="["&&!isNaN(Number(X.slice(1))))Z+=1}var Y=z0(J);if(Q)J.remove();J=Y}}function uj(Q){if(!Q||Q.nodeType!==h9)throw rJ(),w9;return Q.data}function dj(Q){return Q===this.v}function lj(Q,Z){return Q!=Q?Z==Z:Q!==Z||Q!==null&&typeof Q==="object"||typeof Q==="function"}function pj(Q){return!lj(Q,this.v)}var $Z=!1,oJ=!1,y9=!1,WX=null;function j0(Q,Z){return Q.label=Z,aj(Q.v,Z),Q}function aj(Q,Z){return Q?.[fj]?.(Z),Q}function QJ(Q){let Z=Error(),J=eW();if(J.length===0)return null;return J.unshift(` `),Y9(Z,"stack",{value:J.join(` `)}),Y9(Z,"name",{value:Q}),Z}function eW(){let Q=Error.stackTraceLimit;Error.stackTraceLimit=1/0;let Z=Error().stack;if(Error.stackTraceLimit=Q,!Z)return[];let J=Z.split(` -`),X=[];for(let Y=0;Y{if(!Jq(Q))AW();return x8(Q)},(Z)=>QY(Q,Z)]}function x8(Q){return $8("getContext").get(Q)}function QY(Q,Z){let J=$8("setContext");if($Z){var X=OQ.f,Y=!wQ&&(X&Z0)!==0&&!mQ.i;if(!Y)MW()}return J.set(Q,Z),Z}function Jq(Q){return $8("hasContext").has(Q)}function fQ(Q,Z=!1,J){if(mQ={p:mQ,i:!1,c:null,e:null,s:Q,x:null,r:OQ,l:oJ&&!Z?{s:null,u:null,$:[]}:null},r)mQ.function=J,_9=J}function bQ(Q){var Z=mQ,J=Z.e;if(J!==null){Z.e=null;for(var X of J)zU(X)}if(Q!==void 0)Z.x=Q;if(Z.i=!0,mQ=Z.p,r)_9=mQ?.function??null;return Q??{}}function eJ(){return!oJ||mQ!==null&&mQ.l===null}function $8(Q){if(mQ===null)xj(Q);return mQ.c??=new Map(Xq(mQ)||void 0)}function Xq(Q){let Z=Q.p;while(Z!==null){let J=Z.c;if(J!==null)return J;Z=Z.p}return null}var H9=[];function ij(){var Q=H9;H9=[],YW(Q)}function A0(Q){if(H9.length===0&&!NJ){var Z=H9;queueMicrotask(()=>{if(Z===H9)ij()})}H9.push(Q)}function Yq(){while(H9.length>0)ij()}var CK=new WeakMap;function nj(Q){var Z=OQ;if(Z===null)return wQ.f|=X9,Q;if(r&&Q instanceof Error&&!CK.has(Q))CK.set(Q,Kq(Q,Z));if((Z.f&p0)===0&&(Z.f&e9)===0){if(r&&!Z.parent&&Q instanceof Error)sj(Q);throw Q}Q9(Q,Z)}function Q9(Q,Z){while(Z!==null){if((Z.f&BK)!==0){if((Z.f&p0)===0)throw Q;try{Z.b.error(Q);return}catch(J){Q=J}}Z=Z.parent}if(r&&Q instanceof Error)sj(Q);throw Q}function Kq(Q,Z){let J=O9(Q,"message");if(J&&!J.configurable)return;var X=l8?" ":"\t",Y=` +`),X=[];for(let Y=0;Y{if(!Jq(Q))AW();return x8(Q)},(Z)=>QY(Q,Z)]}function x8(Q){return $8("getContext").get(Q)}function QY(Q,Z){let J=$8("setContext");if($Z){var X=OQ.f,Y=!wQ&&(X&Z0)!==0&&!mQ.i;if(!Y)MW()}return J.set(Q,Z),Z}function Jq(Q){return $8("hasContext").has(Q)}function fQ(Q,Z=!1,J){if(mQ={p:mQ,i:!1,c:null,e:null,s:Q,x:null,r:OQ,l:oJ&&!Z?{s:null,u:null,$:[]}:null},t)mQ.function=J,_9=J}function bQ(Q){var Z=mQ,J=Z.e;if(J!==null){Z.e=null;for(var X of J)zU(X)}if(Q!==void 0)Z.x=Q;if(Z.i=!0,mQ=Z.p,t)_9=mQ?.function??null;return Q??{}}function eJ(){return!oJ||mQ!==null&&mQ.l===null}function $8(Q){if(mQ===null)xj(Q);return mQ.c??=new Map(Xq(mQ)||void 0)}function Xq(Q){let Z=Q.p;while(Z!==null){let J=Z.c;if(J!==null)return J;Z=Z.p}return null}var H9=[];function ij(){var Q=H9;H9=[],YW(Q)}function A0(Q){if(H9.length===0&&!NJ){var Z=H9;queueMicrotask(()=>{if(Z===H9)ij()})}H9.push(Q)}function Yq(){while(H9.length>0)ij()}var CK=new WeakMap;function nj(Q){var Z=OQ;if(Z===null)return wQ.f|=X9,Q;if(t&&Q instanceof Error&&!CK.has(Q))CK.set(Q,Kq(Q,Z));if((Z.f&p0)===0&&(Z.f&e9)===0){if(t&&!Z.parent&&Q instanceof Error)sj(Q);throw Q}Q9(Q,Z)}function Q9(Q,Z){while(Z!==null){if((Z.f&BK)!==0){if((Z.f&p0)===0)throw Q;try{Z.b.error(Q);return}catch(J){Q=J}}Z=Z.parent}if(t&&Q instanceof Error)sj(Q);throw Q}function Kq(Q,Z){let J=O9(Q,"message");if(J&&!J.configurable)return;var X=l8?" ":"\t",Y=` ${X}in ${Z.fn?.name||""}`,K=Z.ctx;while(K!==null)Y+=` ${X}in ${K.function?.[TK].split("/").pop()}`,K=K.p;return{message:Q.message+` ${Y} `,stack:Q.stack?.split(` `).filter((j)=>!j.includes("svelte/src/internal")).join(` -`)}}function sj(Q){let Z=CK.get(Q);if(Z)Y9(Q,"message",{value:Z.message}),Y9(Q,"stack",{value:Z.stack})}var jq=~(RZ|q0|XZ);function eQ(Q,Z){Q.f=Q.f&jq|Z}function h8(Q){if((Q.f&oZ)!==0||Q.deps===null)eQ(Q,XZ);else eQ(Q,q0)}function rj(Q){if(Q===null)return;for(let Z of Q){if((Z.f&GZ)===0||(Z.f&j9)===0)continue;Z.f^=j9,rj(Z.deps)}}function tj(Q,Z,J){if((Q.f&RZ)!==0)Z.add(Q);else if((Q.f&q0)!==0)J.add(Q);rj(Q.deps),eQ(Q,XZ)}var Uq=!1,qX=!1,a2=Symbol("unmounted");function Fq(Q){var Z=qX;try{return qX=!1,[Q(),qX]}finally{qX=Z}}var GX=null,p9=null,BQ=null,mJ=null,PZ=null,SK=null,NJ=!1,lY=!1,n9=null,hX=null,a7=0,pY=new Set,Rq=1;class c0{id=Rq++;#Q=!1;linked=!0;#Z=null;#J=null;async_deriveds=new Map;current=new Map;previous=new Map;#F=new Set;#X=new Set;#K=new Set;#Y=0;#j=new Map;#W=null;#U=[];#z=[];#q=new Set;#R=new Set;#G=new Map;#A=new Set;is_fork=!1;#L=!1;constructor(){if(p9===null)GX=p9=this;else p9.#J=this,this.#Z=p9;p9=this}#B(){if(this.is_fork)return!0;for(let J of this.#j.keys()){var Q=J,Z=!1;while(Q.parent!==null){if(this.#G.has(Q)){Z=!0;break}Q=Q.parent}if(!Z)return!0}return!1}skip_effect(Q){if(!this.#G.has(Q))this.#G.set(Q,{d:[],m:[]});this.#A.delete(Q)}unskip_effect(Q,Z=(J)=>this.schedule(J)){var J=this.#G.get(Q);if(J){this.#G.delete(Q);for(var X of J.d)eQ(X,RZ),Z(X);for(X of J.m)eQ(X,q0),Z(X)}this.#A.add(Q)}#H(){if(this.#Q=!0,a7++>1000)this.#I(),Aq();if(r)for(let U of this.current.keys())pY.add(U);for(let U of this.#q)this.#R.delete(U),eQ(U,RZ),this.schedule(U);for(let U of this.#R)eQ(U,q0),this.schedule(U);let Q=this.#U;this.#U=[],this.apply();var Z=n9=[],J=[],X=hX=[];for(let U of Q)try{this.#D(U,Z,J)}catch(F){if(QU(U),!this.#B())this.discard();throw F}if(BQ=null,X.length>0){var Y=c0.ensure();for(let U of X)Y.schedule(U)}if(n9=null,hX=null,this.#B()){this.#E(J),this.#E(Z);for(let[U,F]of this.#G)ej(U,F);if(X.length>0)BQ.#H();return}let K=this.#O();if(K){this.#E(J),this.#E(Z),K.#V(this);return}this.#q.clear(),this.#R.clear();for(let U of this.#F)U(this);this.#F.clear(),mJ=this,i7(J),i7(Z),mJ=null,this.#W?.resolve();var j=BQ;if(this.#Y===0&&(this.#U.length===0||j!==null)){if(this.#I(),$Z)this.#M(),BQ=j}if(this.#U.length>0)if(j!==null){let U=j;U.#U.push(...this.#U.filter((F)=>!U.#U.includes(F)))}else j=this;if(j!==null)j.#H()}#D(Q,Z,J){Q.f^=XZ;var X=Q.first;while(X!==null){var Y=X.f,K=(Y&(Z0|g0))!==0,j=K&&(Y&XZ)!==0,U=j||(Y&SZ)!==0||this.#G.has(X);if(!U&&X.fn!==null){if(K)X.f^=XZ;else if((Y&e9)!==0)Z.push(X);else if($Z&&(Y&(xJ|tX))!==0)J.push(X);else if(QX(X)){if((Y&sZ)!==0)this.#R.add(X);KJ(X)}var F=X.first;if(F!==null){X=F;continue}}while(X!==null){var A=X.next;if(A!==null){X=A;break}X=X.parent}}}#O(){var Q=this.#Z;while(Q!==null){if(!Q.is_fork){for(let[Z,[,J]]of this.current)if(Q.current.has(Z)&&!J)return Q}Q=Q.#Z}return null}#V(Q){for(let[J,X]of Q.current){if(!this.previous.has(J)&&Q.previous.has(J))this.previous.set(J,Q.previous.get(J));this.current.set(J,X)}for(let[J,X]of Q.async_deriveds){let Y=this.async_deriveds.get(J);if(Y)X.promise.then(Y.resolve).catch(Y.reject)}this.transfer_effects(Q.#q,Q.#R);let Z=(J)=>{var X=J.reactions;if(X===null)return;for(let j of X){var Y=j.f;if((Y&GZ)!==0)Z(j);else{var K=j;if(Y&(M9|sZ)&&!this.async_deriveds.has(K))this.#R.delete(K),eQ(K,RZ),this.schedule(K)}}};for(let J of this.current.keys())Z(J);this.oncommit(()=>Q.discard()),Q.#I(),BQ=this,this.#H()}#E(Q){for(var Z=0;Z!A.current.get(G)[1]&&!this.current.has(G));if(X.length===0){if(Q)A.discard()}else if(Z.length>0){if(r&&!A.#L)Qq(A.#U.length===0,"Batch has scheduled roots");if(Q)for(let G of this.#A)A.unskip_effect(G,(z)=>{if((z.f&(sZ|M9))!==0)A.schedule(z);else A.#E([z])});A.activate();var Y=new Set,K=new Map;for(var j of Z)oj(j,X,Y,K);K=new Map;var U=[...A.current].filter(([G,z])=>{let L=this.current.get(G);if(!L)return!0;return L[0]!==z[0]||L[1]!==z[1]}).map(([G])=>G);if(U.length>0){for(let G of this.#z)if((G.f&(mZ|SZ|$J))===0&&m8(G,U,K))if((G.f&(M9|sZ))!==0)eQ(G,RZ),A.schedule(G);else A.#q.add(G)}if(A.#U.length>0&&!A.#L){A.apply();for(var F of A.#U)A.#D(F,[],[]);A.#U=[]}A.deactivate()}}}increment(Q,Z){if(this.#Y+=1,Q){let J=this.#j.get(Z)??0;this.#j.set(Z,J+1)}}decrement(Q,Z){if(this.#Y-=1,Q){let J=this.#j.get(Z)??0;if(J===1)this.#j.delete(Z);else this.#j.set(Z,J-1)}if(this.#L)return;this.#L=!0,A0(()=>{if(this.#L=!1,this.linked)this.flush()})}transfer_effects(Q,Z){for(let J of Q)this.#q.add(J);for(let J of Z)this.#R.add(J);Q.clear(),Z.clear()}oncommit(Q){this.#F.add(Q)}ondiscard(Q){this.#X.add(Q)}on_fork_commit(Q){this.#K.add(Q)}run_fork_commit_callbacks(){for(let Q of this.#K)Q(this);this.#K.clear()}settled(){return(this.#W??=_j()).promise}static ensure(){if(BQ===null){let Q=BQ=new c0;if(!lY&&!NJ)A0(()=>{if(!Q.#Q)Q.flush()})}return BQ}apply(){if(!$Z||!this.is_fork&&this.#Z===null&&this.#J===null){PZ=null;return}PZ=new Map;for(let[Z,[J]]of this.current)PZ.set(Z,J);for(let Z=GX;Z!==null;Z=Z.#J){if(Z===this||Z.is_fork)continue;var Q=!1;if(Z.id0){P9.clear();for(let Y of V0){if((Y.f&(mZ|SZ))!==0)continue;let K=[Y],j=Y.parent;while(j!==null){if(V0.has(j))V0.delete(j),K.push(j);j=j.parent}for(let U=K.length-1;U>=0;U--){let F=K[U];if((F.f&(mZ|SZ))!==0)continue;KJ(F)}}V0.clear()}}}V0=null}function oj(Q,Z,J,X){if(J.has(Q))return;if(J.add(Q),Q.reactions!==null)for(let Y of Q.reactions){let K=Y.f;if((K&GZ)!==0)oj(Y,Z,J,X);else if((K&(M9|sZ))!==0&&(K&RZ)===0&&m8(Y,Z,X))eQ(Y,RZ),g8(Y)}}function m8(Q,Z,J){let X=J.get(Q);if(X!==void 0)return X;if(Q.deps!==null)for(let Y of Q.deps){if(J9.call(Z,Y))return!0;if((Y.f&GZ)!==0&&m8(Y,Z,J))return J.set(Y,!0),!0}return J.set(Q,!1),!1}function g8(Q){BQ.schedule(Q)}function ej(Q,Z){if((Q.f&Z0)!==0&&(Q.f&XZ)!==0)return;if((Q.f&RZ)!==0)Z.d.push(Q);else if((Q.f&q0)!==0)Z.m.push(Q);eQ(Q,XZ);var J=Q.first;while(J!==null)ej(J,Z),J=J.next}function QU(Q){eQ(Q,XZ);var Z=Q.first;while(Z!==null)QU(Z),Z=Z.next}function Wq(Q){let Z=0,J=v9(0),X;if(r)j0(J,"createSubscriber version");return()=>{if(i8())R(J),qJ(()=>{if(Z===0)X=I0(()=>Q(()=>wJ(J)));return Z+=1,()=>{A0(()=>{if(Z-=1,Z===0)X?.(),X=void 0,wJ(J)})}})}}var qq=K9|$9;function Gq(Q,Z,J,X){new ZU(Q,Z,J,X)}class ZU{parent;is_pending=!1;transform_error;#Q;#Z=MQ?TQ:null;#J;#F;#X;#K=null;#Y=null;#j=null;#W=null;#U=0;#z=0;#q=!1;#R=new Set;#G=new Set;#A=null;#L=Wq(()=>{if(this.#A=v9(this.#U),r)j0(this.#A,"$effect.pending()");return()=>{this.#A=null}});constructor(Q,Z,J,X){if(this.#Q=Q,this.#J=Z,this.#F=(Y)=>{var K=OQ;K.b=this,K.f|=BK,J(Y)},this.parent=OQ.b,this.transform_error=X??this.parent?.transform_error??((Y)=>Y),this.#X=IY(()=>{if(MQ){let Y=this.#Z;k9();let K=Y.data===f8;if(Y.data.startsWith(l7)){let U=JSON.parse(Y.data.slice(l7.length));this.#H(U)}else if(K)this.#D();else this.#B()}else this.#O()},qq),MQ)this.#Q=TQ}#B(){try{this.#K=yZ(()=>this.#F(this.#Q))}catch(Q){this.error(Q)}}#H(Q){let Z=this.#J.failed;if(!Z)return;this.#j=yZ(()=>{Z(this.#Q,()=>Q,()=>()=>{})})}#D(){let Q=this.#J.pending;if(!Q)return;this.is_pending=!0,this.#Y=yZ(()=>Q(this.#Q)),A0(()=>{var Z=this.#W=document.createDocumentFragment(),J=vZ();if(Z.append(J),this.#K=this.#E(()=>{return yZ(()=>this.#F(J))}),this.#z===0)this.#Q.before(Z),this.#W=null,T9(this.#Y,()=>{this.#Y=null}),this.#V(BQ)})}#O(){try{if(this.is_pending=this.has_pending_snippet(),this.#z=0,this.#U=0,this.#K=yZ(()=>{this.#F(this.#Q)}),this.#z>0){var Q=this.#W=document.createDocumentFragment();r8(this.#K,Q);let Z=this.#J.pending;this.#Y=yZ(()=>Z(this.#Q))}else this.#V(BQ)}catch(Z){this.error(Z)}}#V(Q){this.is_pending=!1,Q.transfer_effects(this.#R,this.#G)}defer_effect(Q){tj(Q,this.#R,this.#G)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#J.pending}#E(Q){var Z=OQ,J=wQ,X=mQ;W0(this.#X),J0(this.#X),ZJ(this.#X.ctx);try{return c0.ensure(),Q()}catch(Y){return nj(Y),null}finally{W0(Z),J0(J),ZJ(X)}}#M(Q,Z){if(!this.has_pending_snippet()){if(this.parent)this.parent.#M(Q,Z);return}if(this.#z+=Q,this.#z===0){if(this.#V(Z),this.#Y)T9(this.#Y,()=>{this.#Y=null});if(this.#W)this.#Q.before(this.#W),this.#W=null}}update_pending_count(Q,Z){if(this.#M(Q,Z),this.#U+=Q,!this.#A||this.#q)return;this.#q=!0,A0(()=>{if(this.#q=!1,this.#A)YJ(this.#A,this.#U)})}get_effect_pending(){return this.#L(),R(this.#A)}error(Q){if(!this.#J.onerror&&!this.#J.failed)throw Q;if(BQ?.is_fork){if(this.#K)BQ.skip_effect(this.#K);if(this.#Y)BQ.skip_effect(this.#Y);if(this.#j)BQ.skip_effect(this.#j);BQ.on_fork_commit(()=>{this.#I(Q)})}else this.#I(Q)}#I(Q){if(this.#K)qZ(this.#K),this.#K=null;if(this.#Y)qZ(this.#Y),this.#Y=null;if(this.#j)qZ(this.#j),this.#j=null;if(MQ)HZ(this.#Z),tJ(),HZ(oX());var Z=this.#J.onerror;let J=this.#J.failed;var X=!1,Y=!1;let K=()=>{if(X){oW();return}if(X=!0,Y)SW();if(this.#j!==null)T9(this.#j,()=>{this.#j=null});this.#E(()=>{this.#O()})},j=(U)=>{try{Y=!0,Z?.(U,K),Y=!1}catch(F){Q9(F,this.#X&&this.#X.parent)}if(J)this.#j=this.#E(()=>{try{return yZ(()=>{var F=OQ;F.b=this,F.f|=BK,J(this.#Q,()=>U,()=>K)})}catch(F){return Q9(F,this.#X.parent),null}})};A0(()=>{var U;try{U=this.transform_error(Q)}catch(F){Q9(F,this.#X&&this.#X.parent);return}if(U!==null&&typeof U==="object"&&typeof U.then==="function")U.then(j,(F)=>Q9(F,this.#X&&this.#X.parent));else j(U)})}}function JU(Q,Z,J,X){let Y=eJ()?gJ:c8;var K=Q.filter((L)=>!L.settled);if(J.length===0&&K.length===0){X(Z.map(Y));return}var j=OQ,U=Eq(),F=K.length===1?K[0].promise:K.length>1?Promise.all(K.map((L)=>L.promise)):null;function A(L){if((j.f&mZ)!==0)return;U();try{X(L)}catch(E){Q9(E,j)}ZY()}var G=XU();if(J.length===0){F.then(()=>A(Z.map(Y))).finally(G);return}function z(){Promise.all(J.map((L)=>zq(L))).then((L)=>A([...Z.map(Y),...L])).catch((L)=>Q9(L,j)).finally(G)}if(F)F.then(()=>{U(),z(),ZY()});else z()}function Eq(){var Q=OQ,Z=wQ,J=mQ,X=BQ;if(r)var Y=JJ;return function(j=!0){if(W0(Q),J0(Z),ZJ(J),j&&(Q.f&mZ)===0)X?.activate(),X?.apply();if(r)YU(null),eX(Y)}}function ZY(Q=!0){if(W0(null),J0(null),ZJ(null),Q)BQ?.deactivate();if(r)YU(null),eX(null)}function XU(){var Q=OQ,Z=Q.b,J=BQ,X=!!Z?.is_rendered();return Z?.update_pending_count(1,J),J.increment(X,Q),()=>{Z?.update_pending_count(-1,J),J.decrement(X,Q)}}var iZ=null;function YU(Q){iZ=Q}var mX=new Set;function gJ(Q){var Z=GZ|RZ;if(OQ!==null)OQ.f|=$9;let J={ctx:mQ,deps:null,effects:null,equals:dj,f:Z,fn:Q,reactions:null,rv:0,v:JZ,wv:0,parent:OQ,ac:null};if(r&&y9)J.created=QJ("created at");return J}var EX=Symbol("obsolete");function zq(Q,Z,J){let X=OQ;if(X===null)WW();var Y=void 0,K=v9(JZ);if(r)K.label=Z??Q.toString();var j=!wQ,U=new Set;if(wq(()=>{var F=OQ;if(r)iZ={effect:F,effect_deps:new Set,warned:!1};var A=_j();Y=A.promise;try{Promise.resolve(Q()).then(A.resolve,(E)=>{if(E!==EY)A.reject(E)}).finally(ZY)}catch(E){A.reject(E),ZY()}if(r){if(iZ){if(F.deps!==null)for(let E=0;E{if(r)iZ=null;if(z?.(),U.delete(A),D===EX)return;if(G.activate(),D)K.f|=X9,YJ(K,D);else{if((K.f&X9)!==0)K.f^=X9;if(r&&J!==void 0&&!K.equals(E))mX.add(K),setTimeout(()=>{if(mX.has(K)&&(F.f&mZ)===0)pW(K.label,J),mX.delete(K)});YJ(K,E)}G.deactivate()};A.promise.then(L,(E)=>L(null,E||"unknown"))}),n8(()=>{for(let F of U)F.reject(EX)}),r)K.f|=M9;return new Promise((F)=>{function A(G){function z(){if(G===Y)F(K);else A(Y)}G.then(z,z)}A(Y)})}function l(Q){let Z=gJ(Q);if(!$Z)OU(Z);return Z}function c8(Q){let Z=gJ(Q);return Z.equals=pj,Z}function n7(Q){var Z=Q.effects;if(Z!==null){Q.effects=null;for(var J=0;J5){let K=QJ("updated at");if(K!==null){let j=Q.updated.get(K.stack);if(!j)j={error:K,count:0},Q.updated.set(K.stack,j);j.count++}}}if(OQ!==null)Q.set_during_effect=!0}if((Q.f&GZ)!==0){let Y=Q;if((Q.f&RZ)!==0)u8(Y);if(PZ===null)h8(Y)}if(Q.wv=t8(),RU(Q,RZ,J),eJ()&&OQ!==null&&(OQ.f&XZ)!==0&&(OQ.f&(Z0|g0))===0)if(aZ===null)_q([Q]);else aZ.push(Q);if(!X.is_fork&&XJ.size>0&&!d8)FU()}return Z}function FU(){d8=!1;for(let Q of XJ){if((Q.f&XZ)!==0)eQ(Q,q0);let Z;try{Z=QX(Q)}catch{Z=!0}if(Z)KJ(Q)}XJ.clear()}function wJ(Q){e(Q,Q.v+1)}function RU(Q,Z,J){var X=Q.reactions;if(X===null)return;var Y=eJ(),K=X.length;for(var j=0;j{if(C9===j)return z();var L=wQ,E=C9;J0(null),e7(j);var D=z();return J0(L),e7(E),D};if(X){if(J.set("length",EQ(Q.length,K)),r)Q=Dq(Q)}var F="";let A=!1;function G(z){if(A)return;A=!0,F=z,j0(Y,`${F} version`);for(let[L,E]of J)j0(E,q9(F,L));A=!1}return new Proxy(Q,{defineProperty(z,L,E){if(!("value"in E)||E.configurable===!1||E.enumerable===!1||E.writable===!1)PW();var D=J.get(L);if(D===void 0)U(()=>{var H=EQ(E.value,K);if(J.set(L,H),r&&typeof L==="string")j0(H,q9(F,L));return H});else e(D,E.value,!0);return!0},deleteProperty(z,L){var E=J.get(L);if(E===void 0){if(L in z){let D=U(()=>EQ(JZ,K));if(J.set(L,D),wJ(Y),r)j0(D,q9(F,L))}}else e(E,JZ),wJ(Y);return!0},get(z,L,E){if(L===M0)return Q;if(r&&L===fj)return G;var D=J.get(L),H=L in z;if(D===void 0&&(!H||O9(z,L)?.writable))D=U(()=>{var O=kQ(H?z[L]:JZ),S=EQ(O,K);if(r)j0(S,q9(F,L));return S}),J.set(L,D);if(D!==void 0){var V=R(D);return V===JZ?void 0:V}return Reflect.get(z,L,E)},getOwnPropertyDescriptor(z,L){var E=Reflect.getOwnPropertyDescriptor(z,L);if(E&&"value"in E){var D=J.get(L);if(D)E.value=R(D)}else if(E===void 0){var H=J.get(L),V=H?.v;if(H!==void 0&&V!==JZ)return{enumerable:!0,configurable:!0,value:V,writable:!0}}return E},has(z,L){if(L===M0)return!0;var E=J.get(L),D=E!==void 0&&E.v!==JZ||Reflect.has(z,L);if(E!==void 0||OQ!==null&&(!D||O9(z,L)?.writable)){if(E===void 0)E=U(()=>{var V=D?kQ(z[L]):JZ,O=EQ(V,K);if(r)j0(O,q9(F,L));return O}),J.set(L,E);var H=R(E);if(H===JZ)return!1}return D},set(z,L,E,D){var H=J.get(L),V=L in z;if(X&&L==="length")for(var O=E;OEQ(JZ,K)),J.set(O+"",S),r)j0(S,q9(F,O))}}if(H===void 0){if(!V||O9(z,L)?.writable){if(H=U(()=>EQ(void 0,K)),r)j0(H,q9(F,L));e(H,kQ(E)),J.set(L,H)}}else{V=H.v!==JZ;var P=U(()=>kQ(E));e(H,P)}var T=Reflect.getOwnPropertyDescriptor(z,L);if(T?.set)T.set.call(D,E);if(!V){if(X&&typeof L==="string"){var k=J.get("length"),M=Number(L);if(Number.isInteger(M)&&M>=k.v)e(k,M+1)}wJ(Y)}return!0},ownKeys(z){R(Y);var L=Reflect.ownKeys(z).filter((H)=>{var V=J.get(H);return V===void 0||V.v!==JZ});for(var[E,D]of J)if(D.v!==JZ&&!(E in z))L.push(E);return L},setPrototypeOf(){TW()}})}function q9(Q,Z){if(typeof Z==="symbol")return`${Q}[Symbol(${Z.description??""})]`;if(Hq.test(Z))return`${Q}.${Z}`;return/^\d+$/.test(Z)?`${Q}[${Z}]`:`${Q}['${Z}']`}function kJ(Q){try{if(Q!==null&&typeof Q==="object"&&M0 in Q)return Q[M0]}catch{}return Q}function Vq(Q,Z){return Object.is(kJ(Q),kJ(Z))}var Bq=new Set(["copyWithin","fill","pop","push","reverse","shift","sort","splice","unshift"]);function Dq(Q){return new Proxy(Q,{get(Z,J,X){var Y=Reflect.get(Z,J,X);if(!Bq.has(J))return Y;return function(...K){Iq();var j=Y.apply(this,K);return FU(),j}}})}function Oq(){let{prototype:Q,__svelte_cleanup:Z}=Array;if(Z)Z();let{indexOf:J,lastIndexOf:X,includes:Y}=Q;Q.indexOf=function(K,j){let U=J.call(this,K,j);if(U===-1){for(let F=j??0;F{Q.indexOf=J,Q.lastIndexOf=X,Q.includes=Y}}var r7,Mq,l8,AU,WU;function NK(){if(r7!==void 0)return;r7=window,Mq=document,l8=/Firefox/.test(navigator.userAgent);var Q=Element.prototype,Z=Node.prototype,J=Text.prototype;if(AU=O9(Z,"firstChild").get,WU=O9(Z,"nextSibling").get,u7(Q))Q[OK]=void 0,Q[bj]=null,Q[MK]=void 0,Q.__e=void 0;if(u7(J))J[PK]=void 0;if(r)Q.__svelte_meta=null,Oq()}function vZ(Q=""){return document.createTextNode(Q)}function IZ(Q){return AU.call(Q)}function z0(Q){return WU.call(Q)}function g(Q,Z){if(!MQ)return IZ(Q);var J=IZ(TQ);if(J===null)J=TQ.appendChild(vZ());else if(Z&&J.nodeType!==sJ){var X=vZ();return J?.before(X),HZ(X),X}if(Z)LY(J);return HZ(J),J}function VZ(Q,Z=!1){if(!MQ){var J=IZ(Q);if(J instanceof Comment&&J.data==="")return z0(J);return J}if(Z){if(TQ?.nodeType!==sJ){var X=vZ();return TQ?.before(X),HZ(X),X}LY(TQ)}return TQ}function GQ(Q,Z=1,J=!1){let X=MQ?TQ:Q;var Y;while(Z--)Y=X,X=z0(X);if(!MQ)return X;if(J){if(X?.nodeType!==sJ){var K=vZ();if(X===null)Y?.after(K);else X.before(K);return HZ(K),K}LY(X)}return HZ(X),X}function qU(Q){Q.textContent=""}function GU(){if(!$Z)return!1;if(V0!==null)return!1;var Q=OQ.f;return(Q&p0)!==0}function p8(Q,Z,J){let X=J?{is:J}:void 0;return document.createElementNS(Z??cj,Q,X)}function LY(Q){if(Q.nodeValue.length<65536)return;let Z=Q.nextSibling;while(Z!==null&&Z.nodeType===sJ)Z.remove(),Q.nodeValue+=Z.nodeValue,Z=Q.nextSibling}function Pq(Q,Z){if(Z){let J=document.body;Q.autofocus=!0,A0(()=>{if(document.activeElement===J)Q.focus()})}}var t7=!1;function EU(){if(!t7)t7=!0,document.addEventListener("reset",(Q)=>{Promise.resolve().then(()=>{if(!Q.defaultPrevented)for(let Z of Q.target.elements)Z[SJ]?.()})},{capture:!0})}function AJ(Q){var Z=wQ,J=OQ;J0(null),W0(null);try{return Q()}finally{J0(Z),W0(J)}}function a8(Q,Z,J,X=J){Q.addEventListener(Z,()=>AJ(J));let Y=Q[SJ];if(Y)Q[SJ]=()=>{Y(),X(!0)};else Q[SJ]=()=>X(!0);EU()}function Tq(Q){if(OQ===null){if(wQ===null)LW(Q);zW()}if(u0)EW(Q)}function Cq(Q,Z){var J=Z.last;if(J===null)Z.last=Z.first=Q;else J.next=Q,Q.prev=J,Z.last=Q}function L0(Q,Z){var J=OQ;if(r)while(J!==null&&(J.f&$J)!==0)J=J.parent;if(J!==null&&(J.f&SZ)!==0)Q|=SZ;var X={ctx:mQ,deps:null,nodes:null,f:Q|RZ|oZ,first:null,fn:Z,last:null,next:null,parent:J,b:J&&J.b,prev:null,teardown:null,wv:0,ac:null};if(r)X.component_function=_9;BQ?.register_created_effect(X);var Y=X;if((Q&e9)!==0)if(n9!==null)n9.push(X);else c0.ensure().schedule(X);else if(Z!==null){try{KJ(X)}catch(j){throw qZ(X),j}if(Y.deps===null&&Y.teardown===null&&Y.nodes===null&&Y.first===Y.last&&(Y.f&$9)===0){if(Y=Y.first,(Q&sZ)!==0&&(Q&K9)!==0&&Y!==null)Y.f|=K9}}if(Y!==null){if(Y.parent=J,J!==null)Cq(Y,J);if(wQ!==null&&(wQ.f&GZ)!==0&&(Q&g0)===0){var K=wQ;(K.effects??=[]).push(Y)}}return X}function i8(){return wQ!==null&&!hZ}function n8(Q){let Z=L0(xJ,null);return eQ(Z,XZ),Z.teardown=Q,Z}function yQ(Q){if(Tq("$effect"),r)Y9(Q,"name",{value:"$effect"});var Z=OQ.f,J=!wQ&&(Z&Z0)!==0&&mQ!==null&&!mQ.i;if(J){var X=mQ;(X.e??=[]).push(Q)}else return zU(Q)}function zU(Q){return L0(e9|jW,Q)}function Sq(Q){c0.ensure();let Z=L0(g0|$9,Q);return()=>{qZ(Z)}}function Nq(Q){c0.ensure();let Z=L0(g0|$9,Q);return(J={})=>{return new Promise((X)=>{if(J.outro)T9(Z,()=>{qZ(Z),X(void 0)});else qZ(Z),X(void 0)})}}function WJ(Q){return L0(e9,Q)}function wq(Q){return L0(M9|$9,Q)}function qJ(Q,Z=0){return L0(xJ|Z,Q)}function jQ(Q,Z=[],J=[],X=[]){JU(X,Z,J,(Y)=>{L0(xJ,()=>Q(...Y.map(R)))})}function IY(Q,Z=0){var J=L0(sZ|Z,Q);if(r)J.dev_stack=JJ;return J}function LU(Q,Z=0){var J=L0(tX|Z,Q);if(r)J.dev_stack=JJ;return J}function yZ(Q){return L0(Z0|$9,Q)}function IU(Q){var Z=Q.teardown;if(Z!==null){let J=u0,X=wQ;o7(!0),J0(null);try{Z.call(null)}finally{o7(J),J0(X)}}}function s8(Q,Z=!1){var J=Q.first;Q.first=Q.last=null;while(J!==null){let Y=J.ac;if(Y!==null)AJ(()=>{Y.abort(EY)});var X=J.next;if((J.f&g0)!==0)J.parent=null;else qZ(J,Z);J=X}}function kq(Q){var Z=Q.first;while(Z!==null){var J=Z.next;if((Z.f&Z0)===0)qZ(Z);Z=J}}function qZ(Q,Z=!0){var J=!1;if((Z||(Q.f&KW)!==0)&&Q.nodes!==null&&Q.nodes.end!==null)HU(Q.nodes.start,Q.nodes.end),J=!0;eQ(Q,DK),s8(Q,Z&&!J),cJ(Q,0);var X=Q.nodes&&Q.nodes.t;if(X!==null)for(let K of X)K.stop();IU(Q),Q.f^=DK,Q.f|=mZ;var Y=Q.parent;if(Y!==null&&Y.first!==null)VU(Q);if(r)Q.component_function=null;Q.next=Q.prev=Q.teardown=Q.ctx=Q.deps=Q.fn=Q.nodes=Q.ac=Q.b=null}function HU(Q,Z){while(Q!==null){var J=Q===Z?null:z0(Q);Q.remove(),Q=J}}function VU(Q){var{parent:Z,prev:J,next:X}=Q;if(J!==null)J.next=X;if(X!==null)X.prev=J;if(Z!==null){if(Z.first===Q)Z.first=X;if(Z.last===Q)Z.last=J}}function T9(Q,Z,J=!0){var X=[];BU(Q,X,!0);var Y=()=>{if(J)qZ(Q);if(Z)Z()},K=X.length;if(K>0){var j=()=>--K||Y();for(var U of X)U.out(j)}else Y()}function BU(Q,Z,J){if((Q.f&SZ)!==0)return;Q.f^=SZ;var X=Q.nodes&&Q.nodes.t;if(X!==null){for(let U of X)if(U.is_global||J)Z.push(U)}var Y=Q.first;while(Y!==null){var K=Y.next;if((Y.f&g0)===0){var j=(Y.f&K9)!==0||(Y.f&Z0)!==0&&(Q.f&sZ)!==0;BU(Y,Z,j?J:!1)}Y=K}}function JY(Q){DU(Q,!0)}function DU(Q,Z){if((Q.f&SZ)===0)return;if(Q.f^=SZ,(Q.f&XZ)===0)eQ(Q,RZ),c0.ensure().schedule(Q);var J=Q.first;while(J!==null){var X=J.next,Y=(J.f&K9)!==0||(J.f&Z0)!==0;DU(J,Y?Z:!1),J=X}var K=Q.nodes&&Q.nodes.t;if(K!==null){for(let j of K)if(j.is_global||Z)j.in()}}function r8(Q,Z){if(!Q.nodes)return;var J=Q.nodes.start,X=Q.nodes.end;while(J!==null){var Y=J===X?null:z0(J);Z.append(J),J=Y}}var yq=null,gX=!1,u0=!1;function o7(Q){u0=Q}var wQ=null,hZ=!1;function J0(Q){wQ=Q}var OQ=null;function W0(Q){OQ=Q}var eZ=null;function OU(Q){if(wQ!==null&&(!$Z||(wQ.f&GZ)!==0))if(eZ===null)eZ=[Q];else eZ.push(Q)}var LZ=null,kZ=0,aZ=null;function _q(Q){aZ=Q}var MU=1,V9=0,C9=V9;function e7(Q){C9=Q}function t8(){return++MU}function QX(Q){var Z=Q.f;if((Z&RZ)!==0)return!0;if(Z&GZ)Q.f&=~j9;if((Z&q0)!==0){var J=Q.deps,X=J.length;for(var Y=0;YQ.wv)return!0}if((Z&oZ)!==0&&PZ===null)eQ(Q,XZ)}return!1}function PU(Q,Z,J=!0){var X=Q.reactions;if(X===null)return;if(!$Z&&eZ!==null&&J9.call(eZ,Q))return;for(var Y=0;Y{Q.ac.abort(EY)}),Q.ac=null;try{Q.f|=hJ;var G=Q.fn,z=G();Q.f|=p0;var L=Q.deps,E=BQ?.is_fork;if(LZ!==null){var D;if(!E)cJ(Q,kZ);if(L!==null&&kZ>0){L.length=kZ+LZ.length;for(D=0;D{requestAnimationFrame(()=>Q()),setTimeout(()=>Q())});await Promise.resolve(),zY()}function R(Q){var Z=Q.f,J=(Z&GZ)!==0;if(yq?.add(Q),wQ!==null&&!hZ){var X=OQ!==null&&(OQ.f&mZ)!==0;if(!X&&(eZ===null||!J9.call(eZ,Q))){var Y=wQ.deps;if((wQ.f&hJ)!==0){if(Q.rv>>0).toString(36)}function hq(Q){return Q.endsWith("capture")&&Q!=="gotpointercapture"&&Q!=="lostpointercapture"}var mq=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function gq(Q){return mq.includes(Q)}var cq=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","webkitdirectory","defer","disablepictureinpicture","disableremoteplayback"],uq={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function dq(Q){return Q=Q.toLowerCase(),uq[Q]??Q}var i2=[...cq,"formNoValidate","isMap","noModule","playsInline","readOnly","value","volume","defaultValue","defaultChecked","srcObject","noValidate","allowFullscreen","disablePictureInPicture","disableRemotePlayback"],lq=["touchstart","touchmove"];function pq(Q){return lq.includes(Q)}var aq=["$state","$state.raw","$derived","$derived.by"],n2=[...aq,"$state.eager","$state.snapshot","$props","$props.id","$bindable","$effect","$effect.pre","$effect.tracking","$effect.root","$effect.pending","$inspect","$inspect().with","$inspect.trace","$host"];function iq(Q){return Q?.replace(/\//g,"/​")}var MJ=Symbol("events"),SU=new Set,yK=new Set;function NU(Q,Z,J,X={}){function Y(K){if(!X.capture)_K.call(Z,K);if(!K.cancelBubble)return AJ(()=>{return J?.call(this,K)})}if(Q.startsWith("pointer")||Q.startsWith("touch")||Q==="wheel")A0(()=>{Z.addEventListener(Q,Y,X)});else Z.addEventListener(Q,Y,X);return Y}function nq(Q,Z,J,X,Y){var K={capture:X,passive:Y},j=NU(Q,Z,J,K);if(Z===document.body||Z===window||Z===document||Z instanceof HTMLMediaElement)n8(()=>{Z.removeEventListener(Q,j,K)})}function lQ(Q,Z,J){(Z[MJ]??={})[Q]=J}function uZ(Q){for(var Z=0;Z{throw H});throw L}}finally{Q[MJ]=Z,delete Q.currentTarget,J0(G),W0(z)}}var sq=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:(Q)=>{return Q}});function rq(Q){return sq?.createHTML(Q)??Q}function wU(Q){var Z=p8("template");return Z.innerHTML=rq(Q.replaceAll("","")),Z.content}function fZ(Q,Z){var J=OQ;if(J.nodes===null)J.nodes={start:Q,end:Z,a:null,t:null}}function JQ(Q,Z){var J=(Z&mj)!==0,X=(Z&gW)!==0,Y,K=!Q.startsWith("");return()=>{if(MQ)return fZ(TQ,null),TQ;if(Y===void 0){if(Y=wU(K?Q:""+Q),!J)Y=IZ(Y)}var j=X||l8?document.importNode(Y,!0):Y.cloneNode(!0);if(J){var U=IZ(j),F=j.lastChild;fZ(U,F)}else fZ(j,j);return j}}function tq(Q,Z,J="svg"){var X=!Q.startsWith(""),Y=(Z&mj)!==0,K=`<${J}>${X?Q:""+Q}`,j;return()=>{if(MQ)return fZ(TQ,null),TQ;if(!j){var U=wU(K),F=IZ(U);if(Y){j=document.createDocumentFragment();while(IZ(F))j.appendChild(IZ(F))}else j=IZ(F)}var A=j.cloneNode(!0);if(Y){var G=IZ(A),z=A.lastChild;fZ(G,z)}else fZ(A,A);return A}}function kU(Q,Z){return tq(Q,Z,"svg")}function jJ(Q=""){if(!MQ){var Z=vZ(Q+"");return fZ(Z,Z),Z}var J=TQ;if(J.nodeType!==sJ)J.before(J=vZ()),HZ(J);else LY(J);return fZ(J,J),J}function Q0(){if(MQ)return fZ(TQ,null),TQ;var Q=document.createDocumentFragment(),Z=document.createComment(""),J=vZ();return Q.append(Z,J),fZ(Z,J),Q}function a(Q,Z){if(MQ){var J=OQ;if((J.f&p0)===0||J.nodes.end===null)J.nodes.end=TQ;k9();return}if(Q===null)return;Q.before(Z)}function yU(){if(MQ&&TQ&&TQ.nodeType===h9&&TQ.textContent?.startsWith("$")){let Q=TQ.textContent.substring(1);return k9(),Q}return(window.__svelte??={}).uid??=1,`c${window.__svelte.uid++}`}var vK=!0;function IQ(Q,Z){var J=Z==null?"":typeof Z==="object"?`${Z}`:Z;if(J!==(Q[PK]??=Q.nodeValue))Q[PK]=J,Q.nodeValue=`${J}`}function o8(Q,Z){return _U(Q,Z)}function oq(Q,Z){NK(),Z.intro=Z.intro??!1;let J=Z.target,X=MQ,Y=TQ;try{var K=IZ(J);while(K&&(K.nodeType!==h9||K.data!==gj))K=z0(K);if(!K)throw w9;U0(!0),HZ(K);let j=_U(Q,{...Z,anchor:K});return U0(!1),j}catch(j){if(j instanceof Error&&j.message.split(` -`).some((U)=>U.startsWith("https://svelte.dev/e/")))throw j;if(j!==w9)console.warn("Failed to hydrate: ",j);if(Z.recover===!1)HW();return NK(),qU(J),U0(!1),o8(Q,Z)}finally{U0(X),HZ(Y)}}var zX=new Map;function _U(Q,{target:Z,anchor:J,props:X={},events:Y,context:K,intro:j=!0,transformError:U}){NK();var F=void 0,A=Nq(()=>{var G=J??Z.appendChild(vZ());Gq(G,{pending:()=>{}},(E)=>{fQ({});var D=mQ;if(K)D.c=K;if(Y)X.$$events=Y;if(MQ)fZ(E,null);if(vK=j,F=Q(E,X)||{},vK=!0,MQ){if(OQ.nodes.end=TQ,TQ===null||TQ.nodeType!==h9||TQ.data!==b8)throw rJ(),w9}bQ()},U);var z=new Set,L=(E)=>{for(var D=0;D{for(var E of z)for(let V of[Z,document]){var D=zX.get(V),H=D.get(E);if(--H==0){if(V.removeEventListener(E,_K),D.delete(E),D.size===0)zX.delete(V)}else D.set(E,H)}if(yK.delete(L),G!==J)G.parentNode?.removeChild(G)}});return fK.set(F,A),F}var fK=new WeakMap;function bK(Q,Z){let J=fK.get(Q);if(J)return fK.delete(Q),J(Z);if(r)if(M0 in Q)tW();else sW();return Promise.resolve()}class e8{anchor;#Q=new Map;#Z=new Map;#J=new Map;#F=new Set;#X=!0;constructor(Q,Z=!0){this.anchor=Q,this.#X=Z}#K=(Q)=>{if(!this.#Q.has(Q))return;var Z=this.#Q.get(Q),J=this.#Z.get(Z);if(J)JY(J),this.#F.delete(Z);else{var X=this.#J.get(Z);if(X){if(JY(X.effect),this.#Z.set(Z,X.effect),this.#J.delete(Z),r)X.fragment.lastChild[FW]=this.anchor;X.fragment.lastChild.remove(),this.anchor.before(X.fragment),J=X.effect}}for(let[Y,K]of this.#Q){if(this.#Q.delete(Y),Y===Q)break;let j=this.#J.get(K);if(j)qZ(j.effect),this.#J.delete(K)}for(let[Y,K]of this.#Z){if(Y===Z||this.#F.has(Y))continue;let j=()=>{if(Array.from(this.#Q.values()).includes(Y)){var F=document.createDocumentFragment();r8(K,F),F.append(vZ()),this.#J.set(Y,{effect:K,fragment:F})}else qZ(K);this.#F.delete(Y),this.#Z.delete(Y)};if(this.#X||!J)this.#F.add(Y),T9(K,j,!1);else j()}};#Y=(Q)=>{this.#Q.delete(Q);let Z=Array.from(this.#Q.values());for(let[J,X]of this.#J)if(!Z.includes(J))qZ(X.effect),this.#J.delete(J)};ensure(Q,Z){var J=BQ,X=GU();if(Z&&!this.#Z.has(Q)&&!this.#J.has(Q))if(X){var Y=document.createDocumentFragment(),K=vZ();Y.append(K),this.#J.set(Q,{effect:yZ(()=>Z(K)),fragment:Y})}else this.#Z.set(Q,yZ(()=>Z(this.anchor)));if(this.#Q.set(J,Q),X){for(let[j,U]of this.#Z)if(j===Q)J.unskip_effect(U);else J.skip_effect(U);for(let[j,U]of this.#J)if(j===Q)J.unskip_effect(U.effect);else J.skip_effect(U.effect);J.oncommit(this.#K),J.ondiscard(this.#Y)}else{if(MQ)this.anchor=TQ;this.#K(J)}}}function UQ(Q,Z,J=!1){var X;if(MQ)X=TQ,k9();var Y=new e8(Q),K=J?K9:0;function j(U,F){if(MQ){var A=uj(X);if(U!==parseInt(A.substring(1))){var G=oX();HZ(G),Y.anchor=G,U0(!1),Y.ensure(U,F),U0(!0);return}}Y.ensure(U,F)}IY(()=>{var U=!1;if(Z((F,A=0)=>{U=!0,j(A,F)}),!U)j(-1,null)},K)}var s2=Symbol("NaN");function F0(Q,Z){return Z}function eq(Q,Z,J){var X=[],Y=Z.length,K,j=Z.length;for(var U=0;U{if(K){if(K.pending.delete(z),K.done.add(z),K.pending.size===0){var L=Q.outrogroups;if(xK(Q,GY(K.done)),L.delete(K),L.size===0)Q.outrogroups=null}}else j-=1},!1)}if(j===0){var F=X.length===0&&J!==null;if(F){var A=J,G=A.parentNode;qU(G),G.append(A),Q.items.clear()}xK(Q,Z,!F)}else K={pending:new Set(Z),done:new Set},(Q.outrogroups??=new Set).add(K)}function xK(Q,Z,J=!0){var X;if(Q.pending.size>0){X=new Set;for(let j of Q.pending.values())for(let U of j)X.add(Q.items.get(U).e)}for(var Y=0;Y{var P=J();return _8(P)?P:P==null?[]:GY(P)});if(r)j0(z,"{#each ...}");var L,E=new Map,D=!0;function H(P){if((S.effect.f&mZ)!==0)return;if(S.pending.delete(P),S.fallback=G,QG(S,L,j,Z,X),G!==null)if(L.length===0)if((G.f&D0)===0)JY(G);else G.f^=D0,PJ(G,null,j);else T9(G,()=>{G=null})}function V(P){S.pending.delete(P)}var O=IY(()=>{L=R(z);var P=L.length;let T=!1;if(MQ){var k=uj(j)===f8;if(k!==(P===0))j=oX(),HZ(j),U0(!1),T=!0}var M=new Set,C=BQ,N=GU();for(var _=0;_K(j));else G=yZ(()=>K(Z6??=vZ())),G.f|=D0;if(P>M.size)if(r)JG(L,X);else $j("","","");if(MQ&&P>0)HZ(oX());if(!D)if(E.set(C,M),N){for(let[i,d]of U)if(!M.has(i))C.skip_effect(d.e);C.oncommit(H),C.ondiscard(V)}else H(C);if(T)U0(!0);R(z)}),S={effect:O,flags:Z,items:U,pending:E,outrogroups:null,fallback:G};if(D=!1,MQ)j=TQ}function IJ(Q){while(Q!==null&&(Q.f&Z0)===0)Q=Q.next;return Q}function QG(Q,Z,J,X,Y){var K=(X&kW)!==0,j=Z.length,U=Q.items,F=IJ(Q.effect.first),A,G=null,z,L=[],E=[],D,H,V,O;if(K){for(O=0;O0){var _=(X&hj)!==0&&j===0?J:null;if(K){for(O=0;O{if(z===void 0)return;for(V of z)V.nodes?.a?.apply()})}function ZG(Q,Z,J,X,Y,K,j,U){var F=(j&NW)!==0?(j&yW)===0?UU(J,!1,!1):v9(J):null,A=(j&wW)!==0?v9(Y):null;if(r&&F)F.trace=()=>{U()[A?.v??Y]};return{v:F,i:A,e:yZ(()=>{return K(Z,F??J,A??Y,U),()=>{Q.delete(X)}})}}function PJ(Q,Z,J){if(!Q.nodes)return;var X=Q.nodes.start,Y=Q.nodes.end,K=Z&&(Z.f&D0)===0?Z.nodes.start:J;while(X!==null){var j=z0(X);if(K.before(X),X===Y)return;X=j}}function s0(Q,Z,J){if(Z===null)Q.effect.first=J;else Z.next=J;if(J===null)Q.effect.last=Z;else J.prev=Z}function JG(Q,Z){let J=new Map,X=Q.length;for(let Y=0;Y{var A=OQ;if(U===(U=Z()??"")){if(MQ)k9();return}if(J&&!MQ){if(A.nodes=null,F.innerHTML=U,U!=="")fZ(IZ(F),F.lastChild);return}if(A.nodes!==null)HU(A.nodes.start,A.nodes.end),A.nodes=null;if(U==="")return;if(MQ){var G=TQ.data,z=k9(),L=z;while(z!==null&&(z.nodeType!==h9||z.data!==""))L=z,z=z0(z);if(z===null)throw rJ(),w9;if(r&&!K)XG(z.parentNode,G,U);fZ(TQ,L),j=HZ(z);return}var E=X?cW:Y?uW:void 0,D=p8(X?"svg":Y?"math":"template",E);D.innerHTML=U;var H=X||Y?D:D.content;if(fZ(IZ(H),H.lastChild),X||Y)while(IZ(H))j.before(IZ(H));else j.before(H)})}function f9(Q,Z,...J){var X=new e8(Q);IY(()=>{let Y=Z()??null;if(r&&Y==null)VW();X.ensure(Y,Y&&((K)=>Y(K,...J)))},K9)}var YG=kj?()=>performance.now():()=>Date.now(),x0={tick:(Q)=>(kj?requestAnimationFrame:o0)(Q),now:()=>YG(),tasks:new Set};function fU(){let Q=x0.now();if(x0.tasks.forEach((Z)=>{if(!Z.c(Q))x0.tasks.delete(Z),Z.f()}),x0.tasks.size!==0)x0.tick(fU)}function KG(Q){let Z;if(x0.tasks.size===0)x0.tick(fU);return{promise:new Promise((J)=>{x0.tasks.add(Z={c:Q,f:J})}),abort(){x0.tasks.delete(Z)}}}function LX(Q,Z){AJ(()=>{Q.dispatchEvent(new CustomEvent(Z))})}function jG(Q){if(Q==="float")return"cssFloat";if(Q==="offset")return"cssOffset";if(Q.startsWith("--"))return Q;let Z=Q.split("-");if(Z.length===1)return Z[0];return Z[0]+Z.slice(1).map((J)=>J[0].toUpperCase()+J.slice(1)).join("")}function J6(Q){let Z={},J=Q.split(";");for(let X of J){let[Y,K]=X.split(":");if(!Y||K===void 0)break;let j=jG(Y.trim());Z[j]=K.trim()}return Z}var UG=(Q)=>Q;function FG(Q,Z,J,X){var Y=(Q&$W)!==0,K=(Q&hW)!==0,j=Y&&K,U=(Q&mW)!==0,F=j?"both":Y?"in":"out",A,G=Z.inert,z=Z.style.overflow,L,E;function D(){return AJ(()=>{return A??=J()(Z,X?.()??{},{direction:F})})}var H={is_global:U,in(){if(Z.inert=G,!Y){E?.abort(),E?.reset?.();return}if(!K)L?.abort();L=$K(Z,D(),E,1,()=>{LX(Z,"introstart")},()=>{LX(Z,"introend"),L?.abort(),L=A=void 0,Z.style.overflow=z})},out(P){if(!K){P?.(),A=void 0;return}Z.inert=!0,E=$K(Z,D(),L,0,()=>{LX(Z,"outrostart")},()=>{LX(Z,"outroend"),P?.()})},stop:()=>{L?.abort(),E?.abort()}},V=OQ;if((V.nodes.t??=[]).push(H),Y&&vK){var O=U;if(!O){var S=V.parent;while(S&&(S.f&K9)!==0)while(S=S.parent)if((S.f&sZ)!==0)break;O=!S||(S.f&p0)!==0}if(O)WJ(()=>{I0(()=>H.in())})}}function $K(Q,Z,J,X,Y,K){var j=X===1;if(XW(Z)){var U,F=!1;return A0(()=>{if(F)return;var O=Z({direction:j?"in":"out"});U=$K(Q,O,J,X,Y,K)}),{abort:()=>{F=!0,U?.abort()},deactivate:()=>U.deactivate(),reset:()=>U.reset(),t:()=>U.t()}}if(J?.deactivate(),!Z?.duration&&!Z?.delay)return Y(),K(),{abort:o0,deactivate:o0,reset:o0,t:()=>X};let{delay:A=0,css:G,tick:z,easing:L=UG}=Z;var E=[];if(j&&J===void 0){if(z)z(0,1);if(G){var D=J6(G(0,1));E.push(D,D)}}var H=()=>1-X,V=Q.animate(E,{duration:A,fill:"forwards"});return V.onfinish=()=>{V.cancel(),Y();var O=J?.t()??1-X;J?.abort();var S=X-O,P=Z.duration*Math.abs(S),T=[];if(P>0){var k=!1;if(G){var M=Math.ceil(P/16.666666666666668);for(var C=0;C<=M;C+=1){var N=O+S*L(C/M),_=J6(G(N,1-N));T.push(_),k||=_.overflow==="hidden"}}if(k)Q.style.overflow="hidden";if(H=()=>{var b=V.currentTime;return O+S*L(b/P)},z)KG(()=>{if(V.playState!=="running")return!1;var b=H();return z(b,1-b),!0})}V=Q.animate(T,{duration:P,fill:"forwards"}),V.onfinish=()=>{H=()=>X,z?.(X,1-X),K()}},{abort:()=>{if(V)V.cancel(),V.effect=null,V.onfinish=o0},deactivate:()=>{K=o0},reset:()=>{if(X===0)z?.(1,0)},t:()=>H()}}function d0(Q,Z,J){WJ(()=>{var X=I0(()=>Z(Q,J?.())||{});if(J&&X?.update){var Y=!1,K={};qJ(()=>{var j=J();if(bq(j),Y&&lj(K,j))K=j,X.update(j)}),Y=!0}if(X?.destroy)return()=>X.destroy()})}function RG(Q,Z){var J=void 0,X;LU(()=>{if(J!==(J=Z())){if(X)qZ(X),X=null;if(J)X=yZ(()=>{WJ(()=>J(Q))})}})}function bU(Q){var Z,J,X="";if(typeof Q=="string"||typeof Q=="number")X+=Q;else if(typeof Q=="object")if(Array.isArray(Q)){var Y=Q.length;for(Z=0;Z=0){var U=j+K;if((j===0||X6.includes(X[j-1]))&&(U===X.length||X6.includes(X[U])))X=(j===0?"":X.substring(0,j))+X.substring(U+1);else j=U}}}return X===""?null:X}function Y6(Q,Z=!1){var J=Z?" !important;":";",X="";for(var Y of Object.keys(Q)){var K=Q[Y];if(K!=null&&K!=="")X+=" "+Y+": "+K+J}return X}function iY(Q){if(Q[0]!=="-"||Q[1]!=="-")return Q.toLowerCase();return Q}function WG(Q,Z){if(Z){var J="",X,Y;if(Array.isArray(Z))X=Z[0],Y=Z[1];else X=Z;if(Q){Q=String(Q).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var K=!1,j=0,U=!1,F=[];if(X)F.push(...Object.keys(X).map(iY));if(Y)F.push(...Object.keys(Y).map(iY));var A=0,G=-1;let H=Q.length;for(var z=0;z{XY(Q,Q.__value)});Z.observe(Q,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),n8(()=>{Z.disconnect()})}function qG(Q,Z,J=Z){var X=new WeakSet,Y=!0;a8(Q,"change",(K)=>{var j=K?"[selected]":":checked",U;if(Q.multiple)U=[].map.call(Q.querySelectorAll(j),yJ);else{var F=Q.querySelector(j)??Q.querySelector("option:not([disabled])");U=F&&yJ(F)}if(J(U),Q.__value=U,BQ!==null)X.add(BQ)}),WJ(()=>{var K=Z();if(Q===document.activeElement){var j=$Z?mJ:BQ;if(X.has(j))return}if(XY(Q,K,Y),Y&&K===void 0){var U=Q.querySelector(":checked");if(U!==null)K=yJ(U),J(K)}Q.__value=K,Y=!1}),$U(Q)}function yJ(Q){if("__value"in Q)return Q.__value;else return Q.value}var HJ=Symbol("class"),VJ=Symbol("style"),hU=Symbol("is custom element"),mU=Symbol("is html"),GG=nJ?"link":"LINK",EG=nJ?"input":"INPUT",zG=nJ?"option":"OPTION",LG=nJ?"select":"SELECT",IG=nJ?"progress":"PROGRESS";function EJ(Q){if(!MQ)return;var Z=!1,J=()=>{if(Z)return;if(Z=!0,Q.hasAttribute("value")){var X=Q.value;u(Q,"value",null),Q.value=X}if(Q.hasAttribute("checked")){var Y=Q.checked;u(Q,"checked",null),Q.checked=Y}};Q[SJ]=J,A0(J),EU()}function gU(Q,Z){var J=HY(Q);if(J.value===(J.value=Z??void 0)||Q.value===Z&&(Z!==0||Q.nodeName!==IG))return;Q.value=Z??""}function HG(Q,Z){var J=HY(Q);if(J.checked===(J.checked=Z??void 0))return;Q.checked=Z}function VG(Q,Z){if(Z){if(!Q.hasAttribute("selected"))Q.setAttribute("selected","")}else Q.removeAttribute("selected")}function u(Q,Z,J,X){var Y=HY(Q);if(MQ){if(Y[Z]=Q.getAttribute(Z),Z==="src"||Z==="srcset"||Z==="href"&&Q.nodeName===GG){if(!X)DG(Q,Z,J??"");return}}if(Y[Z]===(Y[Z]=J))return;if(Z==="loading")Q[UW]=J;if(J==null)Q.removeAttribute(Z);else if(typeof J!=="string"&&cU(Q).includes(Z))Q[Z]=J;else Q.setAttribute(Z,J)}function BG(Q,Z,J,X,Y=!1,K=!1){if(MQ&&Y&&Q.nodeName===EG){var j=Q,U=j.type==="checkbox"?"defaultChecked":"defaultValue";if(!(U in J))EJ(j)}var F=HY(Q),A=F[hU],G=!F[mU];let z=MQ&&A;if(z)U0(!1);var L=Z||{},E=Q.nodeName===zG;for(var D in Z)if(!(D in J))J[D]=null;if(J.class)J.class=P0(J.class);else if(X||J[HJ])J.class=null;if(J[VJ])J.style??=null;var H=cU(Q);for(let M in J){let C=J[M];if(E&&M==="value"&&C==null){Q.value=Q.__value="",L[M]=C;continue}if(M==="class"){var V=Q.namespaceURI==="http://www.w3.org/1999/xhtml";EZ(Q,V,C,X,Z?.[HJ],J[HJ]),L[M]=C,L[HJ]=J[HJ];continue}if(M==="style"){GJ(Q,C,Z?.[VJ],J[VJ]),L[M]=C,L[VJ]=J[VJ];continue}var O=L[M];if(C===O&&!(C===void 0&&Q.hasAttribute(M)))continue;L[M]=C;var S=M[0]+M[1];if(S==="$$")continue;if(S==="on"){let N={},_="$$"+M,b=M.slice(2);var P=gq(b);if(hq(b))b=b.slice(0,-7),N.capture=!0;if(!P&&O){if(C!=null)continue;Q.removeEventListener(b,L[_],N),L[_]=null}if(P)lQ(b,Q,C),uZ([b]);else if(C!=null){let f=function(x){L[M].call(this,x)};L[_]=NU(b,Q,f,N)}}else if(M==="style")u(Q,M,C);else if(M==="autofocus")Pq(Q,Boolean(C));else if(!A&&(M==="__value"||M==="value"&&C!=null))Q.value=Q.__value=C;else if(M==="selected"&&E)VG(Q,C);else{var T=M;if(!G)T=dq(T);var k=T==="defaultValue"||T==="defaultChecked";if(C==null&&!A&&!k)if(F[M]=null,T==="value"||T==="checked"){let N=Q,_=Z===void 0;if(T==="value"){let b=N.defaultValue;N.removeAttribute(T),N.defaultValue=b,N.value=N.__value=_?b:null}else{let b=N.defaultChecked;N.removeAttribute(T),N.defaultChecked=b,N.checked=_?b:!1}}else Q.removeAttribute(M);else if(k||H.includes(T)&&(A||typeof C!=="string")){if(Q[T]=C,T in F)F[T]=JZ}else if(typeof C!=="function")u(Q,T,C,K)}}if(z)U0(!0);return L}function uJ(Q,Z,J=[],X=[],Y=[],K,j=!1,U=!1){JU(Y,J,X,(F)=>{var A=void 0,G={},z=Q.nodeName===LG,L=!1;if(LU(()=>{var D=Z(...F.map(R)),H=BG(Q,A,D,K,j,U);if(L&&z&&"value"in D)XY(Q,D.value);for(let O of Object.getOwnPropertySymbols(G))if(!D[O])qZ(G[O]);for(let O of Object.getOwnPropertySymbols(D)){var V=D[O];if(O.description===dW&&(!A||V!==A[O])){if(G[O])qZ(G[O]);G[O]=yZ(()=>RG(Q,()=>V))}H[O]=V}A=H}),z){var E=Q;WJ(()=>{XY(E,A.value,!0),$U(E)})}L=!0})}function HY(Q){return Q[bj]??={[hU]:Q.nodeName.includes("-"),[mU]:Q.namespaceURI===cj}}var K6=new Map;function cU(Q){var Z=Q.getAttribute("is")||Q.nodeName,J=K6.get(Z);if(J)return J;K6.set(Z,J=[]);var X,Y=Q,K=Element.prototype;while(K!==Y){X=yj(Y);for(var j in X)if(X[j].set&&j!=="innerHTML"&&j!=="textContent"&&j!=="innerText")J.push(j);Y=v8(Y)}return J}function DG(Q,Z,J){if(!r)return;if(Z==="srcset"&&OG(Q,J))return;if(hK(Q.getAttribute(Z)??"",J))return;iW(Z,Q.outerHTML.replace(Q.innerHTML,Q.innerHTML&&"..."),String(J))}function hK(Q,Z){if(Q===Z)return!0;return new URL(Q,document.baseURI).href===new URL(Z,document.baseURI).href}function j6(Q){return Q.split(",").map((Z)=>Z.trim().split(" ").filter(Boolean))}function OG(Q,Z){var J=j6(Q.srcset),X=j6(Z);return X.length===J.length&&X.every(([Y,K],j)=>K===J[j][1]&&(hK(J[j][0],Y)||hK(Y,J[j][0])))}function MG(Q,Z,J=Z){var X=new WeakSet;if(a8(Q,"input",async(Y)=>{if(r&&Q.type==="checkbox")d7();var K=Y?Q.defaultValue:Q.value;if(K=sY(Q)?rY(K):K,J(K),BQ!==null)X.add(BQ);if(await fq(),K!==(K=Z())){var{selectionStart:j,selectionEnd:U}=Q,F=Q.value.length;if(Q.value=K??"",U!==null){var A=Q.value.length;if(j===U&&U===F&&A>F)Q.selectionStart=A,Q.selectionEnd=A;else Q.selectionStart=j,Q.selectionEnd=Math.min(U,A)}}}),MQ&&Q.defaultValue!==Q.value||I0(Z)==null&&Q.value){if(J(sY(Q)?rY(Q.value):Q.value),BQ!==null)X.add(BQ)}qJ(()=>{if(r&&Q.type==="checkbox")d7();var Y=Z();if(Q===document.activeElement){var K=$Z?mJ:BQ;if(X.has(K))return}if(sY(Q)&&Y===rY(Q.value))return;if(Q.type==="date"&&!Y&&!Q.value)return;if(Y!==Q.value)Q.value=Y??""})}function uU(Q,Z,J=Z){if(a8(Q,"change",(X)=>{var Y=X?Q.defaultChecked:Q.checked;J(Y)}),MQ&&Q.defaultChecked!==Q.checked||I0(Z)==null)J(Q.checked);qJ(()=>{var X=Z();Q.checked=Boolean(X)})}function sY(Q){var Z=Q.type;return Z==="number"||Z==="range"}function rY(Q){return Q===""?null:+Q}class dU{#Q=new WeakMap;#Z;#J;static entries=new WeakMap;constructor(Q){this.#J=Q}observe(Q,Z){var J=this.#Q.get(Q)||new Set;return J.add(Z),this.#Q.set(Q,J),this.#F().observe(Q,this.#J),()=>{var X=this.#Q.get(Q);if(X.delete(Z),X.size===0)this.#Q.delete(Q),this.#Z.unobserve(Q)}}#F(){return this.#Z??(this.#Z=new ResizeObserver((Q)=>{for(var Z of Q){dU.entries.set(Z.target,Z);for(var J of this.#Q.get(Z.target)||[])J(Z)}}))}}function tY(Q,Z){return Q===Z||Q?.[M0]===Z}function lU(Q={},Z,J,X){var Y=mQ.r,K=OQ;return WJ(()=>{var j,U;return qJ(()=>{j=U,U=X?.()||[],I0(()=>{if(!tY(J(...U),Q)){if(Z(Q,...U),j&&tY(J(...j),Q))Z(null,...j)}})}),()=>{let F=K;while(F!==Y&&F.parent!==null&&F.parent.f&DK)F=F.parent;let A=()=>{if(U&&tY(J(...U),Q))Z(null,...U)},G=F.teardown;F.teardown=()=>{A(),G?.()}}}),Q}var PG={get(Q,Z){if(Q.exclude.includes(Z))return;return Q.props[Z]},set(Q,Z){if(r)DW(`${Q.name}.${String(Z)}`);return!1},getOwnPropertyDescriptor(Q,Z){if(Q.exclude.includes(Z))return;if(Z in Q.props)return{enumerable:!0,configurable:!0,value:Q.props[Z]}},has(Q,Z){if(Q.exclude.includes(Z))return!1;return Z in Q.props},ownKeys(Q){return Reflect.ownKeys(Q.props).filter((Z)=>!Q.exclude.includes(Z))}};function VY(Q,Z,J){return new Proxy(r?{props:Q,exclude:Z,name:J,other:{},to_proxy:[]}:{props:Q,exclude:Z},PG)}function FZ(Q,Z,J,X){var Y=!oJ||(J&vW)!==0,K=(J&bW)!==0,j=(J&xW)!==0,U=X,F=!0,A=void 0,G=()=>{if(j&&Y)return A??=gJ(X),R(A);if(F)F=!1,U=j?I0(X):X;return U};let z;if(K){var L=M0 in Q||vj in Q;z=O9(Q,Z)?.set??(L&&Z in Q?(T)=>Q[Z]=T:void 0)}var E,D=!1;if(K)[E,D]=Fq(()=>Q[Z]);else E=Q[Z];if(E===void 0&&X!==void 0){if(E=G(),z){if(Y)BW(Z);z(E)}}var H;if(Y)H=()=>{var T=Q[Z];if(T===void 0)return G();return F=!0,T};else H=()=>{var T=Q[Z];if(T!==void 0)U=void 0;return T===void 0?U:T};if(Y&&(J&fW)===0)return H;if(z){var V=Q.$$legacy;return function(T,k){if(arguments.length>0){if(!Y||!k||V||D)z(k?H():T);return T}return H()}}var O=!1,S=((J&_W)!==0?gJ:c8)(()=>{return O=!1,H()});if(r)S.label=Z;if(K)R(S);var P=OQ;return function(T,k){if(arguments.length>0){let M=k?R(S):Y&&K?kQ(T):T;if(e(S,M),O=!0,U!==void 0)U=M;return T}if(u0&&O||(P.f&mZ)!==0)return S.v;return R(S)}}function TG(Q){return new pU(Q)}class pU{#Q;#Z;constructor(Q){var Z=new Map,J=(Y,K)=>{var j=UU(K,!1,!1);return Z.set(Y,j),j};let X=new Proxy({...Q.props||{},$$events:{}},{get(Y,K){return R(Z.get(K)??J(K,Reflect.get(Y,K)))},has(Y,K){if(K===vj)return!0;return R(Z.get(K)??J(K,Reflect.get(Y,K))),Reflect.has(Y,K)},set(Y,K,j){return e(Z.get(K)??J(K,j),j),Reflect.set(Y,K,j)}});if(this.#Z=(Q.hydrate?oq:o8)(Q.component,{target:Q.target,anchor:Q.anchor,props:X,context:Q.context,intro:Q.intro??!1,recover:Q.recover,transformError:Q.transformError}),!$Z&&(!Q?.props?.$$host||Q.sync===!1))zY();this.#Q=X.$$events;for(let Y of Object.keys(this.#Z)){if(Y==="$set"||Y==="$destroy"||Y==="$on")continue;Y9(this,Y,{get(){return this.#Z[Y]},set(K){this.#Z[Y]=K},enumerable:!0})}this.#Z.$set=(Y)=>{Object.assign(X,Y)},this.#Z.$destroy=()=>{bK(this.#Z)}}$set(Q){this.#Z.$set(Q)}$on(Q,Z){this.#Q[Q]=this.#Q[Q]||[];let J=(...X)=>Z.call(this,...X);return this.#Q[Q].push(J),()=>{this.#Q[Q]=this.#Q[Q].filter((X)=>X!==J)}}$destroy(){this.#Z.$destroy()}}var CG;if(typeof HTMLElement==="function")CG=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(Q,Z,J){super();if(this.$$ctor=Q,this.$$s=Z,J)this.$$shadowRoot=this.attachShadow(J)}addEventListener(Q,Z,J){if(this.$$l[Q]=this.$$l[Q]||[],this.$$l[Q].push(Z),this.$$c){let X=this.$$c.$on(Q,Z);this.$$l_u.set(Z,X)}super.addEventListener(Q,Z,J)}removeEventListener(Q,Z,J){if(super.removeEventListener(Q,Z,J),this.$$c){let X=this.$$l_u.get(Z);if(X)X(),this.$$l_u.delete(Z)}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let Q=function(X){return(Y)=>{let K=p8("slot");if(X!=="default")K.name=X;a(Y,K)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;let Z={},J=SG(this);for(let X of this.$$s)if(X in J)if(X==="default"&&!this.$$d.children)this.$$d.children=Q(X),Z.default=!0;else Z[X]=Q(X);for(let X of this.attributes){let Y=this.$$g_p(X.name);if(!(Y in this.$$d))this.$$d[Y]=oY(Y,X.value,this.$$p_d,"toProp")}for(let X in this.$$p_d)if(!(X in this.$$d)&&this[X]!==void 0)this.$$d[X]=this[X],delete this[X];this.$$c=TG({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:Z,$$host:this}}),this.$$me=Sq(()=>{qJ(()=>{this.$$r=!0;for(let X of c7(this.$$c)){if(!this.$$p_d[X]?.reflect)continue;this.$$d[X]=this.$$c[X];let Y=oY(X,this.$$d[X],this.$$p_d,"toAttribute");if(Y==null)this.removeAttribute(this.$$p_d[X].attribute||X);else this.setAttribute(this.$$p_d[X].attribute||X,Y)}this.$$r=!1})});for(let X in this.$$l)for(let Y of this.$$l[X]){let K=this.$$c.$on(X,Y);this.$$l_u.set(Y,K)}this.$$l={}}}attributeChangedCallback(Q,Z,J){if(this.$$r)return;Q=this.$$g_p(Q),this.$$d[Q]=oY(Q,J,this.$$p_d,"toProp"),this.$$c?.$set({[Q]:this.$$d[Q]})}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{if(!this.$$cn&&this.$$c)this.$$c.$destroy(),this.$$me(),this.$$c=void 0})}$$g_p(Q){return c7(this.$$p_d).find((Z)=>this.$$p_d[Z].attribute===Q||!this.$$p_d[Z].attribute&&Z.toLowerCase()===Q)||Q}};function oY(Q,Z,J,X){let Y=J[Q]?.type;if(Z=Y==="Boolean"&&typeof Z!=="boolean"?Z!=null:Z,!X||!J[Q])return Z;else if(X==="toAttribute")switch(Y){case"Object":case"Array":return Z==null?null:JSON.stringify(Z);case"Boolean":return Z?"":null;case"Number":return Z==null?null:Z;default:return Z}else switch(Y){case"Object":case"Array":return Z&&JSON.parse(Z);case"Boolean":return Z;case"Number":return Z!=null?+Z:Z;default:return Z}}function SG(Q){let Z={};return Q.childNodes.forEach((J)=>{Z[J.slot||"default"]=!0}),Z}if(r){let Q=function(Z){if(!(Z in globalThis)){let J;Object.defineProperty(globalThis,Z,{configurable:!0,get:()=>{if(J!==void 0)return J;OW(Z)},set:(X)=>{J=X}})}};Q("$state"),Q("$effect"),Q("$derived"),Q("$inspect"),Q("$props"),Q("$bindable")}function NG(Q){if(mQ===null)xj("onMount");if(oJ&&mQ.l!==null)wG(mQ).m.push(Q);else yQ(()=>{let Z=I0(Q);if(typeof Z==="function")return Z})}function wG(Q){var Z=Q.l;return Z.u??={a:[],b:[],m:[]}}x1({flush:()=>zY()});function kG(Q){return!!Q&&(typeof Q==="object"||typeof Q==="function")&&typeof Q.subscribe==="function"}function yG(Q){return{subscribe(Z){let J={},X=[],Y=!1,K=()=>{if(Y)Z({...J})};for(let[j,U]of Object.entries(Q)){if(j.startsWith("on")&&typeof U==="function")continue;let F=j.startsWith("$")?j.slice(1):j;if(kG(U))X.push(U.subscribe((A)=>{J[F]=A,K()}));else J[F]=U}return Y=!0,Z({...J}),()=>{for(let j of X)j()}}}}function _G(Q,Z){return(J,X,Y)=>{let K=(Y.document||document).createElement("div"),j=o8(Z,{target:K,props:{componentName:X,ctx:Y,props:yG(J)}});zY();let U=K.firstElementChild;if(!U){bK(j);return}return U.remove(),h1(U,()=>{bK(j)}),U}}var vG="5";if(typeof window<"u")((window.__svelte??={}).v??=new Set).add(vG);function dQ(Q,Z){return Q.subscribe((J)=>Z(J))}function fG(Q){if(!Number.isFinite(Q))return String(Q);if(Object.is(Q,-0))return"0";let Z=Number(Q.toPrecision(15));if(Object.is(Z,-0))return"0";return String(Z)}function c(Q,Z=""){if(Q===void 0||Q===null)return Z;if(typeof Q==="number")return fG(Q);return String(Q)}function b9(Q,Z,J,X=""){return c(J??Q.labels[Z],X)}function z9(Q){return Q===!0||Q==="true"}function dJ(Q){return Array.isArray(Q)?Q:[]}function U6(Q){return Array.isArray(Q)?Q:[]}function IX(Q){if(!Array.isArray(Q))return[];return Q.map((Z)=>{if(typeof Z==="string")return Z;if(Z&&typeof Z==="object")return c(Z.key);return""}).filter(Boolean)}function bG(Q,Z){if(Q&&typeof Q==="object"){let J=Q;return c(J.label??J.key??Z)}return c(Q,Z)}function xG(Q,Z,J){if(Array.isArray(Q))return c(typeof J==="number"?Q[J]:void 0);if(Q&&typeof Q==="object")return c(Q[Z]);return c(Q)}function m9(Q,Z){if(Z.children&&Object.keys(Z.children).length>0)Q.replaceChildren(),Z.renderTree(Z.children,Q,Z.forCtx);return{destroy(){Q.replaceChildren()}}}function cZ(Q,Z,J){Q.emit(Z,J)}function mK(Q,Z){let J={kind:"microtask",canceled:!1},X=(j)=>{if(!J.canceled)Z(j)},Y=Q.api?.raf;if(typeof Y==="function")try{return J.kind="api",J.id=Y(X),J}catch{J.kind="microtask",J.id=void 0}let K=Q.document.defaultView;if(K&&typeof K.requestAnimationFrame==="function")try{return J.kind="native",J.id=K.requestAnimationFrame(X),J}catch{J.kind="microtask",J.id=void 0}return queueMicrotask(()=>X()),J}function F6(Q,Z){if(!Z||Z.canceled)return;if(Z.canceled=!0,Z.kind==="api"&&typeof Q.api?.cancelRaf==="function")try{Q.api.cancelRaf(Z.id)}catch{}else if(Z.kind==="native"&&typeof Z.id==="number")Q.document.defaultView?.cancelAnimationFrame(Z.id)}var $G=JQ("
");function hG(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(Y)=>e(J,Y,!0)));var X=$G();d0(X,(Y,K)=>m9?.(Y,K),()=>Z.ctx),jQ((Y,K)=>{EZ(X,1,Y),u(X,"id",K)},[()=>`slex-column${R(J).class?` ${c(R(J).class)}`:""}`,()=>R(J).id?c(R(J).id):void 0]),a(Q,X),bQ()}var mG='',gG='',cG='',uG='',dG='',lG='',pG='',aG='',iG='',nG='',sG='',rG='',tG='',oG='',eG='',QE='',ZE='',JE='',XE='',YE='',KE='',jE='',UE='',FE='',RE='',AE='',WE='',qE='',GE='',EE='',zE='',LE='',IE='',HE='',VE='',BE='',DE='',OE='',ME='',PE='',TE='',CE='',SE='',NE='',wE='',kE='',yE='',_E='',vE={"caret-down":mG,check:gG,"circle-half":cG,list:uG,moon:dG,sun:lG,code:pG,"book-open-text":aG,"cursor-click":iG,"gear-six":nG,nut:sG,screwdriver:rG,sparkle:tG,"terminal-window":oG,wrench:eG,copy:QE,eye:ZE,"arrow-square-out":JE,"split-horizontal":XE,"square-half":YE,"square-split-horizontal":KE,file:jE,"markdown-logo":UE,x:FE},fE={"caret-down":RE,check:AE,"circle-half":WE,list:qE,moon:GE,sun:EE,code:zE,"book-open-text":LE,"cursor-click":IE,"gear-six":HE,nut:VE,screwdriver:BE,sparkle:DE,"terminal-window":OE,wrench:ME,copy:PE,eye:TE,"arrow-square-out":CE,"split-horizontal":SE,"square-half":NE,"square-split-horizontal":wE,file:kE,"markdown-logo":yE,x:_E},bE="https://api.iconify.design",R6=new Map;function HX(Q){return Q===!0||Q===""||Q==="true"||Q==="page"||Q==="step"}function Q7(Q){return Q.trim().replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z])/g,"$1-$2").replace(/[\s_]+/g,"-").replace(/-+/g,"-").toLowerCase()}function aU(Q){let Z=Q7(Q);if(Z==="phosphor"||Z==="phosphor-icons")return"ph";return Z}function xE(Q){let Z=Q.trim(),J=Z.indexOf(":");return Q7(J>=0?Z.slice(J+1):Z)}function $E(Q){let Z=Q.trim(),J=Z.indexOf(":");return J<0||aU(Z.slice(0,J))==="ph"}function iU(Q,Z="regular"){let J=Q.trim();if(!J||J.includes("/")||J.includes("\\")||J.startsWith(".")||J.startsWith("http:")||J.startsWith("https:"))return null;let X=J.indexOf(":"),Y=X>=0?aU(J.slice(0,X)):"ph",K=Q7(X>=0?J.slice(X+1):J);if(!Y||!K||!/^[a-z0-9-]+$/.test(Y)||!/^[a-z0-9-]+$/.test(K))return null;if(Y==="ph"&&Z7(Z)==="duotone"&&!K.endsWith("-duotone"))K=`${K}-duotone`;return{prefix:Y,name:K}}function Z7(Q="regular"){if(typeof Q==="string")return Q;if(Q.weight)return Q.weight;return HX(Q.selected)||HX(Q.active)||HX(Q.pressed)||HX(Q.current)?"duotone":"regular"}function nU(Q,Z="regular"){if(!$E(Q))return"";let J=xE(Q),X=vE[J]??"";if(Z7(Z)==="duotone")return fE[J]??X;return X}function cX(Q,Z="regular"){let J=iU(Q,Z);return J?`${J.prefix}:${J.name}`:""}function hE(Q,Z="regular"){let J=iU(Q,Z);if(!J)return"";return`${bE}/${J.prefix}/${J.name}.svg?width=1em&height=1em`}function mE(Q){let Z=Q.trim();if(!/^]/i.test(Z)||!/<\/svg>$/i.test(Z))return"";if(/<(?:script|foreignObject|iframe|object|embed|link|style)\b/i.test(Z))return"";if(/\son[a-z]+\s*=/i.test(Z))return"";if(/(?:href|xlink:href)\s*=\s*["']\s*javascript:/i.test(Z))return"";return Z}async function gE(Q){if(!Q||typeof fetch!=="function")return"";try{let Z=await fetch(Q,{credentials:"omit",cache:"force-cache"});if(!Z.ok)return"";return mE(await Z.text())}catch{return""}}async function cE(Q,Z="regular"){let J=nU(Q,Z);if(J)return J;let X=cX(Q,Z),Y=hE(Q,Z);if(!X||!Y)return"";let K=R6.get(X);if(!K)K=gE(Y),R6.set(X,K);return K}var A6=new Map;function gK(Q){return Q.trim().replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z])/g,"$1-$2").replace(/[\s_]+/g,"-").replace(/-+/g,"-").toLowerCase()}function uE(Q){let Z=gK(Q);if(Z==="phosphor"||Z==="phosphor-icons")return"ph";return Z}function dE(Q){let Z=Q.trim(),J=Z.indexOf(":");if(J<0)return gK(Z);return`${uE(Z.slice(0,J))}:${gK(Z.slice(J+1))}`}function W6(Q,Z="regular"){return`${dE(Q)}|${sU(Z)}`}function lE(Q,Z="regular"){return A6.get(W6(Q,Z))??A6.get(W6(Q,"regular"))??""}function uX(Q,Z="regular"){return lE(Q,Z)||nU(Q,Z)}async function pE(Q,Z="regular"){return uX(Q,Z)||cE(Q,Z)}function sU(Q="regular"){return Z7(Q)}var aE=JQ('');function aQ(Q,Z){fQ(Z,!0);let J=FZ(Z,"selected",3,!1),X=FZ(Z,"active",3,!1),Y=FZ(Z,"pressed",3,!1),K=FZ(Z,"current",3,!1),j=FZ(Z,"className",3,""),U=EQ(kQ({})),F=0,A=l(()=>c(Z.name));function G(){return{selected:J(),active:X(),pressed:Y(),current:K(),weight:Z.weight}}function z(){return!!(J()||X()||Y()||K()||Z.weight&&Z.weight!=="regular")}function L(){if(!R(A))return"";let O=G(),S=uX(R(A),O)||R(U)[cX(R(A),O)]||"";if(S)return S;return z()?uX(R(A))||R(U)[cX(R(A))]||"":""}yQ(()=>{let O=R(A);if(!O)return;let S=G(),P=cX(O,S);if(uX(O,S)||R(U)[P])return;let T=++F;pE(O,S).then((k)=>{if(T!==F||!k)return;e(U,{...R(U),[P]:k},!0),Z.onIconLoad?.()})});var E=Q0(),D=VZ(E);{var H=(O)=>{var S=aE();vU(S,L,!0),m(S),jQ((P)=>EZ(S,1,P),[()=>P0(`slex-icon ${j()}`.trim())]),a(O,S)},V=l(()=>L());UQ(D,(O)=>{if(R(V))O(H)})}a(Q,E),bQ()}var iE=JQ(" "),nE=JQ('
'),sE=JQ('
');function rE(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(U)=>e(J,U,!0)));var X=sE(),Y=g(X);{var K=(U)=>{var F=nE(),A=g(F);{var G=(E)=>{aQ(E,{get name(){return R(J).icon},className:"slex-card-icon"})};UQ(A,(E)=>{if(R(J).icon)E(G)})}var z=GQ(A);{var L=(E)=>{var D=iE(),H=g(D,!0);m(D),jQ((V)=>IQ(H,V),[()=>c(R(J).title)]),a(E,D)};UQ(z,(E)=>{if(R(J).title)E(L)})}m(F),a(U,F)};UQ(Y,(U)=>{if(R(J).title||R(J).icon)U(K)})}var j=GQ(Y,2);d0(j,(U,F)=>m9?.(U,F),()=>Z.ctx),m(X),jQ((U)=>u(X,"data-tone",U),[()=>R(J).tone?c(R(J).tone):void 0]),a(Q,X),bQ()}var tE=JQ("
");function oE(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(j)=>e(J,j,!0)));function X(j,U=1){let F=Number(j??U);return Number.isFinite(F)?String(F):String(U)}var Y=tE();let K;d0(Y,(j,U)=>m9?.(j,U),()=>Z.ctx),jQ((j,U,F,A,G,z,L,E)=>{EZ(Y,1,j),u(Y,"id",U),u(Y,"data-cols",F),u(Y,"data-cols-sm",A),u(Y,"data-cols-md",G),u(Y,"data-cols-lg",z),u(Y,"data-cols-xl",L),K=GJ(Y,"",K,E)},[()=>`slex-grid${R(J).class?` ${c(R(J).class)}`:""}`,()=>R(J).id?c(R(J).id):void 0,()=>X(R(J).columns),()=>R(J).smColumns===void 0?void 0:X(R(J).smColumns,Number(R(J).columns??1)),()=>X(R(J).mdColumns,Number(R(J).columns??1)),()=>R(J).lgColumns===void 0?void 0:X(R(J).lgColumns,Number(R(J).mdColumns??R(J).columns??1)),()=>R(J).xlColumns===void 0?void 0:X(R(J).xlColumns,Number(R(J).lgColumns??R(J).mdColumns??R(J).columns??1)),()=>({gap:c(R(J).gap)})]),a(Q,Y),bQ()}function eE({itemCount:Q,containerWidth:Z,targetTileWidth:J=136,gap:X=16}){if(!Number.isFinite(Q)||Q<=1)return Math.max(1,Math.floor(Q||1));let Y=Number.isFinite(Z)&&Z>0?Z:1/0,K=Math.max(80,J),j=Math.max(0,X),U=Number.isFinite(Y)?Math.max(1,Math.min(Q,Math.floor((Y+j)/(K+j)))):Q;if(U>=Q)return Q;let F=1,A=Number.POSITIVE_INFINITY;for(let G=1;G<=U;G+=1){let z=Math.ceil(Q/G),L=Q-G*(z-1),E=z>1&&L===1?100:0,D=z>1?(G-L)/G*10:0,H=z,V=(U-G)*0.05,O=E+D+H+V;if(O1&&K>0&&K{return j&&Math.floor(z/X)===Y-1?A:F})}}function Zz(Q,Z){let J=Math.abs(Math.floor(Q)),X=Math.abs(Math.floor(Z));while(X>0){let Y=J%X;J=X,X=Y}return J||1}function Jz(Q,Z){return Math.max(1,Math.abs(Math.floor(Q*Z/Zz(Q,Z))))}var Xz=JQ("
");function Yz(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(F)=>e(J,F,!0)));function X(F){if(F.length<2)return null;if(F.every((A)=>A.classList.contains("slex-stat")))return"stat";if(F.every((A)=>A.classList.contains("slex-card")))return"card";return null}function Y(F,A){let G=Number.parseFloat(F);return Number.isFinite(G)?G:A}function K(F,A){let G=m9(F,Z.ctx),z=A,L=!1,E=()=>{F.classList.remove("slex-row--balanced-tiles"),F.removeAttribute("data-tile-kind"),F.style.removeProperty("--slex-balanced-cols"),F.style.removeProperty("--slex-balanced-tracks");for(let S of Array.from(F.children))if(S instanceof HTMLElement)S.style.removeProperty("grid-column")},D=()=>{if(L=!1,E(),z.disabled)return;let S=Array.from(F.children),P=X(S);if(!P)return;let T=getComputedStyle(F),k=Y(T.columnGap||T.gap,16),M=Y(T.getPropertyValue("--slex-balanced-tile-width"),136),C=F.getBoundingClientRect().width||F.clientWidth,N=eE({itemCount:S.length,containerWidth:C,targetTileWidth:M,gap:k}),_=Qz(S.length,N);F.classList.add("slex-row--balanced-tiles"),F.dataset.tileKind=P,F.style.setProperty("--slex-balanced-cols",String(_.columns)),F.style.setProperty("--slex-balanced-tracks",String(_.tracks)),S.forEach((b,f)=>{if(b instanceof HTMLElement)b.style.gridColumn=`span ${_.spans[f]}`})},H=()=>{if(L)return;L=!0,queueMicrotask(D)},V=new ResizeObserver(H);V.observe(F);let O=new MutationObserver(H);return O.observe(F,{childList:!0}),H(),{update(S){z=S,H()},destroy(){V.disconnect(),O.disconnect(),G.destroy()}}}var j=Xz();let U;d0(j,(F,A)=>K?.(F,A),()=>({disabled:!!(R(J).align||R(J).justify)})),jQ((F,A,G)=>{EZ(j,1,F),u(j,"id",A),U=GJ(j,"",U,G)},[()=>`slex-row${R(J).class?` ${c(R(J).class)}`:""}`,()=>R(J).id?c(R(J).id):void 0,()=>({"align-items":c(R(J).align),"justify-content":c(R(J).justify),gap:c(R(J).gap)})]),a(Q,j),bQ()}var Kz=JQ('
');function jz(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(0),Y=EQ(null);yQ(()=>dQ(Z.props,(b)=>{e(J,b,!0),e(X,b.value??0,!0)}));function K(b){e(X,b,!0),E(b),cZ(Z.ctx,"change",b)}function j(b,f){let x=Number(b??f);return Number.isFinite(x)?x:f}function U(b,f,x){let h=j(f,0),i=j(x,100),d=j(b,h);if(i<=h)return"0%";let XQ=Math.min(1,Math.max(0,(d-h)/(i-h)));return`${Math.round(XQ*1e4)/100}%`}function F(){let b=j(R(J).step,1);return b>0?b:1}function A(){let b=j(R(J).min,0),f=j(R(J).max,100);if(f<=b)return 0;return Math.round((f-b)/F())}function G(b){let f=j(R(J).min,0);return Math.round((j(b,f)-f)/F())}function z(b=8){if(R(J).haptic===!1||R(J).haptics===!1)return;globalThis.navigator?.vibrate?.(b)}function L(){e(Y,G(R(X)),!0),z(8)}function E(b){if(A()>20)return;let f=G(b);if(f===R(Y))return;e(Y,f,!0),z(5)}var D=Kz(),H=g(D),V=g(H),O=g(V);{var S=(b)=>{aQ(b,{get name(){return R(J).icon},className:"slex-slider-icon"})};UQ(O,(b)=>{if(R(J).icon)b(S)})}var P=GQ(O,2),T=g(P,!0);m(P),m(V);var k=GQ(V,2),M=g(k,!0),C=GQ(M);{var N=(b)=>{var f=jJ();jQ((x)=>IQ(f,x),[()=>c(R(J).unit)]),a(b,f)};UQ(C,(b)=>{if(R(J).unit)b(N)})}m(k),m(H);var _=GQ(H,2);EJ(_),m(D),jQ((b,f,x,h,i,d,XQ,KQ,t)=>{u(D,"data-orientation",b),IQ(T,f),IQ(M,x),u(_,"min",h),u(_,"max",i),u(_,"step",d),gU(_,XQ),_.disabled=!!R(J).disabled,u(_,"aria-label",KQ),GJ(_,t)},[()=>c(R(J).orientation,"horizontal"),()=>c(R(J).label??Z.componentName),()=>c(R(X)??0),()=>Number(R(J).min??0),()=>Number(R(J).max??100),()=>Number(R(J).step??1),()=>Number(R(X)??0),()=>c(R(J)["aria-label"]??R(J).ariaLabel??R(J).label??Z.componentName),()=>`--slex-slider-progress: ${U(R(X),R(J).min,R(J).max)}`]),lQ("pointerdown",_,L),lQ("input",_,(b)=>K(Number(b.target.value))),a(Q,D),bQ()}uZ(["pointerdown","input"]);var Uz=JQ(' '),Fz=JQ(" "),Rz=JQ(' '),Az=JQ('');function Wz(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(L)=>e(J,L,!0)));function X(){let L=c(R(J).type??R(J).variant??"primary");if(L==="destructive")return"danger";if(L==="default")return"primary";return L}function Y(){return sU({selected:R(J).selected,active:R(J).active,pressed:R(J).pressed})==="duotone"}function K(){return!!(R(J).iconOnly||R(J).icon&&!R(J).label)}function j(){return b9(Z.ctx,"button.label",R(J).label??R(J).title??R(J)["aria-label"]??R(J).ariaLabel,Z.componentName)}function U(L){if(R(J).disabled)return;cZ(Z.ctx,"click",{type:"click",target:Z.ctx.id,native:L})}var F=Q0(),A=VZ(F);{var G=(L)=>{var E=Fz(),D=g(E);{var H=(T)=>{aQ(T,{get name(){return R(J).icon},get active(){return R(J).active},get selected(){return R(J).selected},get pressed(){return R(J).pressed},className:"slex-button-icon"})};UQ(D,(T)=>{if(R(J).icon)T(H)})}var V=GQ(D,2);{var O=(T)=>{var k=Uz(),M=g(k,!0);m(k),jQ((C)=>IQ(M,C),[()=>j()]),a(T,k)},S=l(()=>K()),P=(T)=>{var k=jJ();jQ((M)=>IQ(k,M),[()=>j()]),a(T,k)};UQ(V,(T)=>{if(R(S))T(O);else T(P,-1)})}m(E),jQ((T,k,M,C,N,_,b)=>{EZ(E,1,T),u(E,"href",k),u(E,"target",M),u(E,"rel",R(J).target==="_blank"?"noreferrer":void 0),u(E,"aria-disabled",R(J).disabled?"true":void 0),u(E,"data-selected",C),u(E,"aria-pressed",N),u(E,"title",_),u(E,"aria-label",b)},[()=>`slex-button slex-button--${X()} ${K()?"slex-button--icon":""} ${R(J).disabled?"slex-button--disabled":""}`,()=>R(J).disabled?void 0:c(R(J).href),()=>c(R(J).target)||void 0,()=>Y()?"":void 0,()=>R(J).pressed===void 0?void 0:Y(),()=>c(R(J).title??R(J).label),()=>c(R(J)["aria-label"]??R(J).ariaLabel??R(J).title??R(J).label)||void 0]),a(L,E)},z=(L)=>{var E=Az(),D=g(E);{var H=(T)=>{aQ(T,{get name(){return R(J).icon},get active(){return R(J).active},get selected(){return R(J).selected},get pressed(){return R(J).pressed},className:"slex-button-icon"})};UQ(D,(T)=>{if(R(J).icon)T(H)})}var V=GQ(D,2);{var O=(T)=>{var k=Rz(),M=g(k,!0);m(k),jQ((C)=>IQ(M,C),[()=>j()]),a(T,k)},S=l(()=>K()),P=(T)=>{var k=jJ();jQ((M)=>IQ(k,M),[()=>j()]),a(T,k)};UQ(V,(T)=>{if(R(S))T(O);else T(P,-1)})}m(E),jQ((T,k,M,C,N)=>{EZ(E,1,T),E.disabled=!!R(J).disabled,u(E,"data-selected",k),u(E,"aria-pressed",M),u(E,"title",C),u(E,"aria-label",N)},[()=>`slex-button slex-button--${X()} ${K()?"slex-button--icon":""}`,()=>Y()?"":void 0,()=>R(J).pressed===void 0?void 0:Y(),()=>c(R(J).title??R(J).label),()=>c(R(J)["aria-label"]??R(J).ariaLabel??R(J).title??R(J).label)||void 0]),lQ("click",E,U),a(L,E)};UQ(A,(L)=>{if(R(J).href)L(G);else L(z,-1)})}a(Q,F),bQ()}uZ(["click"]);var qz=JQ('');function Gz(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(!1),Y=0;yQ(()=>dQ(Z.props,(V)=>{e(J,V,!0),e(X,!!(V.checked??V.value))}));function K(V){if(R(J).disabled)return;e(X,V.target.checked,!0),cZ(Z.ctx,"change",R(X))}function j(V=8){if(R(J).haptic===!1||R(J).haptics===!1||R(J).disabled)return;globalThis.navigator?.vibrate?.(V)}function U(V=8){let O=Date.now();if(O-Y<80)return;Y=O,j(V)}var F=qz(),A=g(F),G=g(A);EJ(G);var z=GQ(G,2),L=g(z);{var E=(V)=>{aQ(V,{get name(){return R(J).icon},className:"slex-checkbox-icon"})};UQ(L,(V)=>{if(R(J).icon)V(E)})}var D=GQ(L,2),H=g(D,!0);m(D),m(z),m(A),m(F),jQ((V,O)=>{u(A,"data-disabled",R(J).disabled?"true":void 0),G.disabled=!!R(J).disabled,u(G,"data-state",R(X)?"checked":"unchecked"),u(G,"aria-label",V),IQ(H,O)},[()=>c(R(J)["aria-label"]??R(J).ariaLabel??R(J).label)||void 0,()=>c(R(J).label)]),lQ("pointerdown",F,()=>U(8)),lQ("click",F,()=>U(8)),lQ("change",G,K),uU(G,()=>R(X),(V)=>e(X,V)),a(Q,F),bQ()}uZ(["pointerdown","click","change"]);var Ez=JQ('');function zz(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(!1),Y=0;yQ(()=>dQ(Z.props,(V)=>{e(J,V,!0),e(X,!!(V.enabled??V.checked??V.value))}));function K(V){if(R(J).disabled)return;e(X,V.target.checked,!0),cZ(Z.ctx,"change",R(X))}function j(V=8){if(R(J).haptic===!1||R(J).haptics===!1||R(J).disabled)return;globalThis.navigator?.vibrate?.(V)}function U(V=8){let O=Date.now();if(O-Y<80)return;Y=O,j(V)}var F=Ez(),A=g(F),G=g(A);EJ(G);var z=GQ(G,4),L=g(z);{var E=(V)=>{aQ(V,{get name(){return R(J).icon},className:"slex-switch-icon"})};UQ(L,(V)=>{if(R(J).icon)V(E)})}var D=GQ(L,2),H=g(D,!0);m(D),m(z),m(A),m(F),jQ((V,O)=>{u(A,"data-state",R(X)?"on":"off"),u(A,"data-disabled",R(J).disabled?"true":void 0),G.disabled=!!R(J).disabled,u(G,"aria-label",V),IQ(H,O)},[()=>c(R(J)["aria-label"]??R(J).ariaLabel??R(J).label)||void 0,()=>c(R(J).label)]),lQ("pointerdown",F,()=>U(8)),lQ("click",F,()=>U(8)),lQ("change",G,K),uU(G,()=>R(X),(V)=>e(X,V)),a(Q,F),bQ()}uZ(["pointerdown","click","change"]);var Lz=0,Iz=JQ(''),Hz=JQ(''),Vz=JQ('
'),Bz=JQ(''),Dz=JQ('
');function Oz(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(""),Y=`slex-input-${++Lz}`,K=l(()=>c(R(J).label)),j=l(()=>c(R(J).unit)),U=l(()=>c(R(J).description??R(J).help??R(J).hint)),F=l(()=>c(R(J).error??R(J).errorMessage)),A=l(()=>z9(R(J).disabled)),G=l(()=>z9(R(J).readonly)||z9(R(J).readOnly)),z=l(()=>z9(R(J).required)),L=l(()=>z9(R(J).invalid)||!!R(F)),E=l(()=>T(Z.componentName)),D=l(()=>c(R(J).id)||(R(E)?`slex-input-${R(E)}`:Y)),H=l(()=>`${R(D)}-description`),V=l(()=>`${R(D)}-error`),O=l(()=>c(R(J)["aria-label"]??R(J).ariaLabel)),S=l(()=>R(O)||(R(K)?"":c(R(J).placeholder))),P=l(()=>[R(U)?R(H):"",R(F)?R(V):""].filter(Boolean).join(" "));yQ(()=>dQ(Z.props,(t)=>{e(J,t,!0),e(X,c(t.value),!0)}));function T(t){return t.trim().replace(/[^\w-]+/g,"-")}function k(){return c(R(J).type,"text")==="engineering"?"text":c(R(J).type,"text")}function M(t){if(R(A)||R(G))return;e(X,t.target.value,!0),cZ(Z.ctx,"change",c(R(J).type,"text")==="engineering"?WY(R(X)):R(X))}var C=Dz(),N=g(C);{var _=(t)=>{var o=Iz(),$=g(o,!0);m(o),jQ(()=>{u(o,"for",R(D)),IQ($,R(K))}),a(t,o)};UQ(N,(t)=>{if(R(K))t(_)})}var b=GQ(N,2),f=g(b);EJ(f);var x=GQ(f,2);{var h=(t)=>{var o=Hz(),$=g(o,!0);m(o),jQ(()=>IQ($,R(j))),a(t,o)};UQ(x,(t)=>{if(R(j))t(h)})}m(b);var i=GQ(b,2);{var d=(t)=>{var o=Vz(),$=g(o,!0);m(o),jQ(()=>{u(o,"id",R(H)),IQ($,R(U))}),a(t,o)};UQ(i,(t)=>{if(R(U))t(d)})}var XQ=GQ(i,2);{var KQ=(t)=>{var o=Bz(),$=g(o,!0);m(o),jQ(()=>{u(o,"id",R(V)),IQ($,R(F))}),a(t,o)};UQ(XQ,(t)=>{if(R(F))t(KQ)})}m(C),jQ((t,o,$,LQ,zQ,PQ,xQ)=>{u(C,"data-invalid",R(L)?"true":void 0),u(C,"data-required",R(z)?"true":void 0),u(C,"data-readonly",R(G)?"true":void 0),u(b,"data-has-unit",R(j)?"true":void 0),u(f,"id",R(D)),u(f,"type",t),u(f,"inputmode",o),u(f,"name",$),u(f,"placeholder",LQ),f.disabled=R(A),f.readOnly=R(G),f.required=R(z),u(f,"min",zQ),u(f,"max",PQ),u(f,"step",xQ),u(f,"aria-label",R(S)||void 0),u(f,"aria-describedby",R(P)||void 0),u(f,"aria-invalid",R(L)?"true":void 0)},[()=>k(),()=>c(R(J).type,"text")==="engineering"?"decimal":void 0,()=>c(R(J).name)||void 0,()=>c(R(J).placeholder),()=>R(J).min===void 0?void 0:c(R(J).min),()=>R(J).max===void 0?void 0:c(R(J).max),()=>R(J).step===void 0?void 0:c(R(J).step)]),lQ("input",f,M),MG(f,()=>R(X),(t)=>e(X,t)),a(Q,C),bQ()}uZ(["input"]);var Mz=JQ(" "),Pz=JQ('
'),Tz=JQ(''),Cz=JQ('
');function Sz(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(void 0),Y=new Map;yQ(()=>dQ(Z.props,(E)=>{e(J,E,!0),e(X,E.value,!0)}));function K(E){e(X,E,!0),cZ(Z.ctx,"change",E)}function j(E,D=8){if(E||R(J).haptic===!1||R(J).haptics===!1)return;globalThis.navigator?.vibrate?.(D)}function U(E,D,H=8){let V=Date.now();if(V-(Y.get(E)??0)<80)return;Y.set(E,V),j(D,H)}function F(){return c(R(J).name??Z.ctx.id,Z.ctx.id)}var A=Cz(),G=g(A);{var z=(E)=>{var D=Pz(),H=g(D);{var V=(P)=>{aQ(P,{get name(){return R(J).icon},className:"slex-radio-group-icon"})};UQ(H,(P)=>{if(R(J).icon)P(V)})}var O=GQ(H,2);{var S=(P)=>{var T=Mz(),k=g(T,!0);m(T),jQ((M)=>IQ(k,M),[()=>c(R(J).label)]),a(P,T)};UQ(O,(P)=>{if(R(J).label)P(S)})}m(D),a(E,D)};UQ(G,(E)=>{if(R(J).label||R(J).icon)E(z)})}var L=GQ(G,2);rZ(L,21,()=>dJ(R(J).options),F0,(E,D)=>{let H=l(()=>R(D).value??R(D).label),V=l(()=>!!R(D).disabled||!!R(J).disabled),O=l(()=>c(R(H)));var S=Tz(),P=g(S),T=g(P);EJ(T);var k=GQ(T,2),M=g(k);{var C=(b)=>{{let f=l(()=>R(H)===R(X));aQ(b,{get name(){return R(D).icon},get selected(){return R(f)},className:"slex-radio-icon"})}};UQ(M,(b)=>{if(R(D).icon)b(C)})}var N=GQ(M,2),_=g(N,!0);m(N),m(k),m(P),m(S),jQ((b,f,x)=>{u(P,"data-disabled",R(V)?"true":void 0),u(T,"name",b),gU(T,f),HG(T,R(H)===R(X)),T.disabled=R(V),u(T,"data-state",R(H)===R(X)?"checked":"unchecked"),IQ(_,x)},[()=>F(),()=>c(R(H)),()=>c(R(D).label)]),lQ("pointerdown",S,()=>U(R(O),R(V),8)),lQ("click",S,()=>U(R(O),R(V),8)),lQ("change",T,()=>K(R(H))),a(E,S)}),m(L),m(A),jQ((E,D)=>{u(A,"data-orientation",E),u(A,"aria-label",D)},[()=>c(R(J).orientation,"vertical"),()=>c(R(J)["aria-label"]??R(J).ariaLabel??R(J).label)||void 0]),a(Q,A),bQ()}uZ(["pointerdown","click","change"]);var Nz=JQ(" "),wz=JQ(''),kz=JQ(''),yz=JQ('
  • '),_z=JQ('
      '),vz=JQ(""),fz=JQ('
      ');function bz(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(""),Y=EQ(!1),K=EQ(-1),j=EQ(null),U=l(()=>c(R(J)["aria-label"]??R(J).ariaLabel)),F=l(()=>`slex-select-${Z.ctx.id}`),A=l(()=>`${R(F)}-label`),G=l(()=>`${R(F)}-value`),z=l(()=>`${R(F)}-listbox`);yQ(()=>dQ(Z.props,(p)=>{e(J,p,!0),e(X,p.value??"",!0),e(K,S(),!0)}));let L=l(()=>dJ(R(J).options).map((p)=>({label:c(p.label??p.value),value:c(p.value??p.label),disabled:!!p.disabled,icon:p.icon}))),E=l(()=>b9(Z.ctx,"select.placeholder",R(J).placeholder,"Select...")),D=l(()=>R(L).find((p)=>p.value===c(R(X)))),H=l(()=>R(D)?.label||R(E)),V=l(()=>R(Y)&&R(K)>=0?`${R(F)}-option-${R(K)}`:void 0);NG(()=>{function p(WQ){let SQ=WQ.target;if(!SQ||!R(j)?.closest(".slex-select")?.contains(SQ))C(!1)}return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)});function O(p){if(R(J).disabled)return;e(X,p,!0),e(K,S(),!0),C(),cZ(Z.ctx,"change",p),cZ(Z.ctx,"select",p)}function S(){return R(L).findIndex((p)=>p.value===c(R(X)))}function P(){return R(L).findIndex((p)=>!p.disabled)}function T(){for(let p=R(L).length-1;p>=0;p-=1)if(!R(L)[p].disabled)return p;return-1}function k(p){if(!R(L).length){e(K,-1);return}let SQ=R(K)>=0?R(K):S();for(let pQ=0;pQ=0&&!R(L)[WQ]?.disabled?WQ:p>0?P():T(),!0)}function C(p=!0){if(e(Y,!1),e(K,S(),!0),p)mK(Z.ctx,()=>R(j)?.focus())}function N(){if(R(Y))C(!1);else M()}function _(p){if(R(J).disabled)return;if(!R(Y)&&(p.key==="Enter"||p.key===" "||p.key==="ArrowDown"||p.key==="ArrowUp")){p.preventDefault(),M(p.key==="ArrowUp"?-1:1);return}if(!R(Y))return;if(p.key==="ArrowDown")p.preventDefault(),k(1);else if(p.key==="ArrowUp")p.preventDefault(),k(-1);else if(p.key==="Home")p.preventDefault(),e(K,P(),!0);else if(p.key==="End")p.preventDefault(),e(K,T(),!0);else if(p.key==="Enter"||p.key===" "){p.preventDefault();let WQ=R(L)[R(K)];if(WQ&&!WQ.disabled)O(WQ.value)}else if(p.key==="Escape")p.preventDefault(),C();else if(p.key==="Tab")C(!1)}var b=fz(),f=g(b);{var x=(p)=>{var WQ=wz(),SQ=g(WQ);{var pQ=(zZ)=>{aQ(zZ,{get name(){return R(J).icon},className:"slex-select-label-icon"})};UQ(SQ,(zZ)=>{if(R(J).icon)zZ(pQ)})}var _Q=GQ(SQ,2);{var pZ=(zZ)=>{var sQ=Nz(),xZ=g(sQ,!0);m(sQ),jQ((MZ)=>IQ(xZ,MZ),[()=>c(R(J).label)]),a(zZ,sQ)};UQ(_Q,(zZ)=>{if(R(J).label)zZ(pZ)})}m(WQ),jQ(()=>{u(WQ,"id",R(A)),u(WQ,"for",R(F))}),a(p,WQ)};UQ(f,(p)=>{if(R(J).label||R(J).icon)p(x)})}var h=GQ(f,2),i=g(h),d=g(i);{var XQ=(p)=>{aQ(p,{get name(){return R(D).icon},selected:!0,className:"slex-select-value-icon"})};UQ(d,(p)=>{if(R(D)?.icon)p(XQ)})}var KQ=GQ(d,2),t=g(KQ,!0);m(KQ),m(i),tJ(2),m(h),lU(h,(p)=>e(j,p),()=>R(j));var o=GQ(h,2);{var $=(p)=>{var WQ=_z();rZ(WQ,21,()=>R(L),F0,(SQ,pQ,_Q)=>{let pZ=l(()=>R(pQ).value===c(R(X))),zZ=l(()=>_Q===R(K));var sQ=yz();let xZ;var MZ=g(sQ),YX=g(MZ);{var vY=(Y0)=>{aQ(Y0,{get name(){return R(pQ).icon},get selected(){return R(pZ)},className:"slex-select-option-icon"})};UQ(YX,(Y0)=>{if(R(pQ).icon)Y0(vY)})}var KX=GQ(YX,2),jX=g(KX,!0);m(KX),m(MZ);var UX=GQ(MZ,2);{var l9=(Y0)=>{var fY=kz();a(Y0,fY)};UQ(UX,(Y0)=>{if(R(pZ))Y0(l9)})}m(sQ),jQ(()=>{u(sQ,"id",`${R(F)}-option-${_Q}`),xZ=EZ(sQ,1,"slex-select-option",null,xZ,{"slex-select-option--active":R(zZ),"slex-select-option--selected":R(pZ)}),u(sQ,"aria-selected",R(pZ)),u(sQ,"aria-disabled",R(pQ).disabled||void 0),u(sQ,"data-disabled",R(pQ).disabled?"":void 0),IQ(jX,R(pQ).label)}),nq("mouseenter",sQ,()=>{if(!R(pQ).disabled)e(K,_Q,!0)}),lQ("mousedown",sQ,(Y0)=>Y0.preventDefault()),lQ("click",sQ,()=>{if(!R(pQ).disabled)O(R(pQ).value)}),a(SQ,sQ)}),m(WQ),jQ(()=>{u(WQ,"id",R(z)),u(WQ,"aria-labelledby",R(J).label?R(A):void 0),u(WQ,"aria-label",!R(J).label&&R(U)?R(U):void 0)}),a(p,WQ)};UQ(o,(p)=>{if(R(Y))p($)})}var LQ=GQ(o,2),zQ=g(LQ),PQ=g(zQ,!0);m(zQ),zQ.value=zQ.__value="";var xQ=GQ(zQ);rZ(xQ,17,()=>R(L),F0,(p,WQ)=>{var SQ=vz(),pQ=g(SQ,!0);m(SQ);var _Q={};jQ(()=>{if(SQ.disabled=R(WQ).disabled,IQ(pQ,R(WQ).label),_Q!==(_Q=R(WQ).value))SQ.value=(SQ.__value=R(WQ).value)??""}),a(p,SQ)}),m(LQ),m(b),jQ((p,WQ)=>{u(b,"data-variant",p),u(h,"id",R(F)),h.disabled=!!R(J).disabled,u(h,"aria-expanded",R(Y)),u(h,"aria-controls",R(z)),u(h,"aria-activedescendant",R(V)),u(h,"aria-labelledby",R(J).label?`${R(A)} ${R(G)}`:void 0),u(h,"aria-label",!R(J).label&&R(U)?R(U):void 0),u(i,"id",R(G)),u(i,"data-placeholder",R(D)?void 0:""),IQ(t,R(H)),LQ.disabled=!!R(J).disabled,LQ.required=!!R(J).required,u(LQ,"aria-label",R(U)||void 0),zQ.disabled=!!R(J).required,IQ(PQ,WQ)},[()=>c(R(J).variant,"default"),()=>b9(Z.ctx,"select.placeholder",R(J).placeholder,"Select...")]),lQ("click",h,N),lQ("keydown",h,_),lQ("change",LQ,(p)=>O(p.target.value)),qG(LQ,()=>R(X),(p)=>e(X,p)),a(Q,b),bQ()}uZ(["click","keydown","mousedown","change"]);var xz=JQ('
      ');function $z(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(G)=>e(J,G,!0)));function X(){if(R(J).disabled)return;let G=Z.ctx.g.__slexkitTool;if(!G?.submit)return;let z={};for(let L of Array.isArray(R(J).returnKeys)?R(J).returnKeys:[])z[String(L)]=String(L).split(".").reduce((E,D)=>E&&typeof E==="object"?E[D]:void 0,Z.ctx.g);G.submit(z)}function Y(){Z.ctx.g.__slexkitTool?.ignore?.()}var K=xz(),j=g(K),U=g(j,!0);m(j);var F=GQ(j,2),A=g(F,!0);m(F),m(K),jQ((G,z)=>{IQ(U,G),F.disabled=!!R(J).disabled,IQ(A,z)},[()=>b9(Z.ctx,"submit.ignore",R(J).ignoreLabel,"Ignore"),()=>b9(Z.ctx,"submit.submit",R(J).submitLabel,"Submit")]),lQ("click",j,Y),lQ("click",F,X),a(Q,K),bQ()}uZ(["click"]);function WZ(){let[Q,Z]=Zq();function J(){try{return Q()}catch{return}}return[J,Z]}var[r2,t2]=WZ(),[o2,e2]=WZ(),[QH,ZH]=WZ(),[JH,XH]=WZ(),[YH,KH]=WZ(),[jH,UH]=WZ(),[FH,RH]=WZ(),[AH,WH]=WZ(),[qH,GH]=WZ(),[hz,EH]=WZ(),[zH,LH]=WZ(),[IH,HH]=WZ(),[VH,BH]=WZ(),[DH,OH]=WZ(),[MH,PH]=WZ(),[TH,CH]=WZ(),[SH,NH]=WZ(),[wH,kH]=WZ(),[mz,gz]=WZ();function J7(Q){let Z=hz();return(Z&&"value"in Z?Z.value:Z)?.[Q]}function rU(Q,Z,J){if(!r)return;let X=Object.keys(Z).filter((A)=>Z[A]);if(X.length===0)return;let Y="",j=X.some((A)=>J?.[A]==="class")?'"classes" or "class"':'"classes"';if(J){let A=[],G=[];for(let L of X){let E=J[L],D=Z[L];if(!E||!D)continue;if(E==="class")A.push(`class="${D}"`);else G.push(`${E}: "${D}"`)}let z=[];if(A.length>0)z.push(...A);if(G.length>0)z.push(`classes={{ ${G.join(", ")} }}`);if(z.length>0)Y=` +`)}}function sj(Q){let Z=CK.get(Q);if(Z)Y9(Q,"message",{value:Z.message}),Y9(Q,"stack",{value:Z.stack})}var jq=~(RZ|q0|XZ);function eQ(Q,Z){Q.f=Q.f&jq|Z}function h8(Q){if((Q.f&oZ)!==0||Q.deps===null)eQ(Q,XZ);else eQ(Q,q0)}function rj(Q){if(Q===null)return;for(let Z of Q){if((Z.f&GZ)===0||(Z.f&j9)===0)continue;Z.f^=j9,rj(Z.deps)}}function tj(Q,Z,J){if((Q.f&RZ)!==0)Z.add(Q);else if((Q.f&q0)!==0)J.add(Q);rj(Q.deps),eQ(Q,XZ)}var Uq=!1,qX=!1,a2=Symbol("unmounted");function Fq(Q){var Z=qX;try{return qX=!1,[Q(),qX]}finally{qX=Z}}var GX=null,p9=null,BQ=null,mJ=null,PZ=null,SK=null,NJ=!1,lY=!1,n9=null,hX=null,a7=0,pY=new Set,Rq=1;class c0{id=Rq++;#Q=!1;linked=!0;#Z=null;#J=null;async_deriveds=new Map;current=new Map;previous=new Map;#F=new Set;#X=new Set;#K=new Set;#Y=0;#j=new Map;#W=null;#U=[];#z=[];#q=new Set;#R=new Set;#G=new Map;#A=new Set;is_fork=!1;#L=!1;constructor(){if(p9===null)GX=p9=this;else p9.#J=this,this.#Z=p9;p9=this}#B(){if(this.is_fork)return!0;for(let J of this.#j.keys()){var Q=J,Z=!1;while(Q.parent!==null){if(this.#G.has(Q)){Z=!0;break}Q=Q.parent}if(!Z)return!0}return!1}skip_effect(Q){if(!this.#G.has(Q))this.#G.set(Q,{d:[],m:[]});this.#A.delete(Q)}unskip_effect(Q,Z=(J)=>this.schedule(J)){var J=this.#G.get(Q);if(J){this.#G.delete(Q);for(var X of J.d)eQ(X,RZ),Z(X);for(X of J.m)eQ(X,q0),Z(X)}this.#A.add(Q)}#H(){if(this.#Q=!0,a7++>1000)this.#I(),Aq();if(t)for(let U of this.current.keys())pY.add(U);for(let U of this.#q)this.#R.delete(U),eQ(U,RZ),this.schedule(U);for(let U of this.#R)eQ(U,q0),this.schedule(U);let Q=this.#U;this.#U=[],this.apply();var Z=n9=[],J=[],X=hX=[];for(let U of Q)try{this.#D(U,Z,J)}catch(F){if(QU(U),!this.#B())this.discard();throw F}if(BQ=null,X.length>0){var Y=c0.ensure();for(let U of X)Y.schedule(U)}if(n9=null,hX=null,this.#B()){this.#E(J),this.#E(Z);for(let[U,F]of this.#G)ej(U,F);if(X.length>0)BQ.#H();return}let K=this.#O();if(K){this.#E(J),this.#E(Z),K.#V(this);return}this.#q.clear(),this.#R.clear();for(let U of this.#F)U(this);this.#F.clear(),mJ=this,i7(J),i7(Z),mJ=null,this.#W?.resolve();var j=BQ;if(this.#Y===0&&(this.#U.length===0||j!==null)){if(this.#I(),$Z)this.#M(),BQ=j}if(this.#U.length>0)if(j!==null){let U=j;U.#U.push(...this.#U.filter((F)=>!U.#U.includes(F)))}else j=this;if(j!==null)j.#H()}#D(Q,Z,J){Q.f^=XZ;var X=Q.first;while(X!==null){var Y=X.f,K=(Y&(Z0|g0))!==0,j=K&&(Y&XZ)!==0,U=j||(Y&SZ)!==0||this.#G.has(X);if(!U&&X.fn!==null){if(K)X.f^=XZ;else if((Y&e9)!==0)Z.push(X);else if($Z&&(Y&(xJ|tX))!==0)J.push(X);else if(QX(X)){if((Y&sZ)!==0)this.#R.add(X);KJ(X)}var F=X.first;if(F!==null){X=F;continue}}while(X!==null){var A=X.next;if(A!==null){X=A;break}X=X.parent}}}#O(){var Q=this.#Z;while(Q!==null){if(!Q.is_fork){for(let[Z,[,J]]of this.current)if(Q.current.has(Z)&&!J)return Q}Q=Q.#Z}return null}#V(Q){for(let[J,X]of Q.current){if(!this.previous.has(J)&&Q.previous.has(J))this.previous.set(J,Q.previous.get(J));this.current.set(J,X)}for(let[J,X]of Q.async_deriveds){let Y=this.async_deriveds.get(J);if(Y)X.promise.then(Y.resolve).catch(Y.reject)}this.transfer_effects(Q.#q,Q.#R);let Z=(J)=>{var X=J.reactions;if(X===null)return;for(let j of X){var Y=j.f;if((Y&GZ)!==0)Z(j);else{var K=j;if(Y&(M9|sZ)&&!this.async_deriveds.has(K))this.#R.delete(K),eQ(K,RZ),this.schedule(K)}}};for(let J of this.current.keys())Z(J);this.oncommit(()=>Q.discard()),Q.#I(),BQ=this,this.#H()}#E(Q){for(var Z=0;Z!A.current.get(G)[1]&&!this.current.has(G));if(X.length===0){if(Q)A.discard()}else if(Z.length>0){if(t&&!A.#L)Qq(A.#U.length===0,"Batch has scheduled roots");if(Q)for(let G of this.#A)A.unskip_effect(G,(z)=>{if((z.f&(sZ|M9))!==0)A.schedule(z);else A.#E([z])});A.activate();var Y=new Set,K=new Map;for(var j of Z)oj(j,X,Y,K);K=new Map;var U=[...A.current].filter(([G,z])=>{let L=this.current.get(G);if(!L)return!0;return L[0]!==z[0]||L[1]!==z[1]}).map(([G])=>G);if(U.length>0){for(let G of this.#z)if((G.f&(mZ|SZ|$J))===0&&m8(G,U,K))if((G.f&(M9|sZ))!==0)eQ(G,RZ),A.schedule(G);else A.#q.add(G)}if(A.#U.length>0&&!A.#L){A.apply();for(var F of A.#U)A.#D(F,[],[]);A.#U=[]}A.deactivate()}}}increment(Q,Z){if(this.#Y+=1,Q){let J=this.#j.get(Z)??0;this.#j.set(Z,J+1)}}decrement(Q,Z){if(this.#Y-=1,Q){let J=this.#j.get(Z)??0;if(J===1)this.#j.delete(Z);else this.#j.set(Z,J-1)}if(this.#L)return;this.#L=!0,A0(()=>{if(this.#L=!1,this.linked)this.flush()})}transfer_effects(Q,Z){for(let J of Q)this.#q.add(J);for(let J of Z)this.#R.add(J);Q.clear(),Z.clear()}oncommit(Q){this.#F.add(Q)}ondiscard(Q){this.#X.add(Q)}on_fork_commit(Q){this.#K.add(Q)}run_fork_commit_callbacks(){for(let Q of this.#K)Q(this);this.#K.clear()}settled(){return(this.#W??=_j()).promise}static ensure(){if(BQ===null){let Q=BQ=new c0;if(!lY&&!NJ)A0(()=>{if(!Q.#Q)Q.flush()})}return BQ}apply(){if(!$Z||!this.is_fork&&this.#Z===null&&this.#J===null){PZ=null;return}PZ=new Map;for(let[Z,[J]]of this.current)PZ.set(Z,J);for(let Z=GX;Z!==null;Z=Z.#J){if(Z===this||Z.is_fork)continue;var Q=!1;if(Z.id0){P9.clear();for(let Y of V0){if((Y.f&(mZ|SZ))!==0)continue;let K=[Y],j=Y.parent;while(j!==null){if(V0.has(j))V0.delete(j),K.push(j);j=j.parent}for(let U=K.length-1;U>=0;U--){let F=K[U];if((F.f&(mZ|SZ))!==0)continue;KJ(F)}}V0.clear()}}}V0=null}function oj(Q,Z,J,X){if(J.has(Q))return;if(J.add(Q),Q.reactions!==null)for(let Y of Q.reactions){let K=Y.f;if((K&GZ)!==0)oj(Y,Z,J,X);else if((K&(M9|sZ))!==0&&(K&RZ)===0&&m8(Y,Z,X))eQ(Y,RZ),g8(Y)}}function m8(Q,Z,J){let X=J.get(Q);if(X!==void 0)return X;if(Q.deps!==null)for(let Y of Q.deps){if(J9.call(Z,Y))return!0;if((Y.f&GZ)!==0&&m8(Y,Z,J))return J.set(Y,!0),!0}return J.set(Q,!1),!1}function g8(Q){BQ.schedule(Q)}function ej(Q,Z){if((Q.f&Z0)!==0&&(Q.f&XZ)!==0)return;if((Q.f&RZ)!==0)Z.d.push(Q);else if((Q.f&q0)!==0)Z.m.push(Q);eQ(Q,XZ);var J=Q.first;while(J!==null)ej(J,Z),J=J.next}function QU(Q){eQ(Q,XZ);var Z=Q.first;while(Z!==null)QU(Z),Z=Z.next}function Wq(Q){let Z=0,J=v9(0),X;if(t)j0(J,"createSubscriber version");return()=>{if(i8())R(J),qJ(()=>{if(Z===0)X=I0(()=>Q(()=>wJ(J)));return Z+=1,()=>{A0(()=>{if(Z-=1,Z===0)X?.(),X=void 0,wJ(J)})}})}}var qq=K9|$9;function Gq(Q,Z,J,X){new ZU(Q,Z,J,X)}class ZU{parent;is_pending=!1;transform_error;#Q;#Z=MQ?TQ:null;#J;#F;#X;#K=null;#Y=null;#j=null;#W=null;#U=0;#z=0;#q=!1;#R=new Set;#G=new Set;#A=null;#L=Wq(()=>{if(this.#A=v9(this.#U),t)j0(this.#A,"$effect.pending()");return()=>{this.#A=null}});constructor(Q,Z,J,X){if(this.#Q=Q,this.#J=Z,this.#F=(Y)=>{var K=OQ;K.b=this,K.f|=BK,J(Y)},this.parent=OQ.b,this.transform_error=X??this.parent?.transform_error??((Y)=>Y),this.#X=IY(()=>{if(MQ){let Y=this.#Z;k9();let K=Y.data===f8;if(Y.data.startsWith(l7)){let U=JSON.parse(Y.data.slice(l7.length));this.#H(U)}else if(K)this.#D();else this.#B()}else this.#O()},qq),MQ)this.#Q=TQ}#B(){try{this.#K=yZ(()=>this.#F(this.#Q))}catch(Q){this.error(Q)}}#H(Q){let Z=this.#J.failed;if(!Z)return;this.#j=yZ(()=>{Z(this.#Q,()=>Q,()=>()=>{})})}#D(){let Q=this.#J.pending;if(!Q)return;this.is_pending=!0,this.#Y=yZ(()=>Q(this.#Q)),A0(()=>{var Z=this.#W=document.createDocumentFragment(),J=vZ();if(Z.append(J),this.#K=this.#E(()=>{return yZ(()=>this.#F(J))}),this.#z===0)this.#Q.before(Z),this.#W=null,T9(this.#Y,()=>{this.#Y=null}),this.#V(BQ)})}#O(){try{if(this.is_pending=this.has_pending_snippet(),this.#z=0,this.#U=0,this.#K=yZ(()=>{this.#F(this.#Q)}),this.#z>0){var Q=this.#W=document.createDocumentFragment();r8(this.#K,Q);let Z=this.#J.pending;this.#Y=yZ(()=>Z(this.#Q))}else this.#V(BQ)}catch(Z){this.error(Z)}}#V(Q){this.is_pending=!1,Q.transfer_effects(this.#R,this.#G)}defer_effect(Q){tj(Q,this.#R,this.#G)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#J.pending}#E(Q){var Z=OQ,J=wQ,X=mQ;W0(this.#X),J0(this.#X),ZJ(this.#X.ctx);try{return c0.ensure(),Q()}catch(Y){return nj(Y),null}finally{W0(Z),J0(J),ZJ(X)}}#M(Q,Z){if(!this.has_pending_snippet()){if(this.parent)this.parent.#M(Q,Z);return}if(this.#z+=Q,this.#z===0){if(this.#V(Z),this.#Y)T9(this.#Y,()=>{this.#Y=null});if(this.#W)this.#Q.before(this.#W),this.#W=null}}update_pending_count(Q,Z){if(this.#M(Q,Z),this.#U+=Q,!this.#A||this.#q)return;this.#q=!0,A0(()=>{if(this.#q=!1,this.#A)YJ(this.#A,this.#U)})}get_effect_pending(){return this.#L(),R(this.#A)}error(Q){if(!this.#J.onerror&&!this.#J.failed)throw Q;if(BQ?.is_fork){if(this.#K)BQ.skip_effect(this.#K);if(this.#Y)BQ.skip_effect(this.#Y);if(this.#j)BQ.skip_effect(this.#j);BQ.on_fork_commit(()=>{this.#I(Q)})}else this.#I(Q)}#I(Q){if(this.#K)qZ(this.#K),this.#K=null;if(this.#Y)qZ(this.#Y),this.#Y=null;if(this.#j)qZ(this.#j),this.#j=null;if(MQ)HZ(this.#Z),tJ(),HZ(oX());var Z=this.#J.onerror;let J=this.#J.failed;var X=!1,Y=!1;let K=()=>{if(X){oW();return}if(X=!0,Y)SW();if(this.#j!==null)T9(this.#j,()=>{this.#j=null});this.#E(()=>{this.#O()})},j=(U)=>{try{Y=!0,Z?.(U,K),Y=!1}catch(F){Q9(F,this.#X&&this.#X.parent)}if(J)this.#j=this.#E(()=>{try{return yZ(()=>{var F=OQ;F.b=this,F.f|=BK,J(this.#Q,()=>U,()=>K)})}catch(F){return Q9(F,this.#X.parent),null}})};A0(()=>{var U;try{U=this.transform_error(Q)}catch(F){Q9(F,this.#X&&this.#X.parent);return}if(U!==null&&typeof U==="object"&&typeof U.then==="function")U.then(j,(F)=>Q9(F,this.#X&&this.#X.parent));else j(U)})}}function JU(Q,Z,J,X){let Y=eJ()?gJ:c8;var K=Q.filter((L)=>!L.settled);if(J.length===0&&K.length===0){X(Z.map(Y));return}var j=OQ,U=Eq(),F=K.length===1?K[0].promise:K.length>1?Promise.all(K.map((L)=>L.promise)):null;function A(L){if((j.f&mZ)!==0)return;U();try{X(L)}catch(E){Q9(E,j)}ZY()}var G=XU();if(J.length===0){F.then(()=>A(Z.map(Y))).finally(G);return}function z(){Promise.all(J.map((L)=>zq(L))).then((L)=>A([...Z.map(Y),...L])).catch((L)=>Q9(L,j)).finally(G)}if(F)F.then(()=>{U(),z(),ZY()});else z()}function Eq(){var Q=OQ,Z=wQ,J=mQ,X=BQ;if(t)var Y=JJ;return function(j=!0){if(W0(Q),J0(Z),ZJ(J),j&&(Q.f&mZ)===0)X?.activate(),X?.apply();if(t)YU(null),eX(Y)}}function ZY(Q=!0){if(W0(null),J0(null),ZJ(null),Q)BQ?.deactivate();if(t)YU(null),eX(null)}function XU(){var Q=OQ,Z=Q.b,J=BQ,X=!!Z?.is_rendered();return Z?.update_pending_count(1,J),J.increment(X,Q),()=>{Z?.update_pending_count(-1,J),J.decrement(X,Q)}}var iZ=null;function YU(Q){iZ=Q}var mX=new Set;function gJ(Q){var Z=GZ|RZ;if(OQ!==null)OQ.f|=$9;let J={ctx:mQ,deps:null,effects:null,equals:dj,f:Z,fn:Q,reactions:null,rv:0,v:JZ,wv:0,parent:OQ,ac:null};if(t&&y9)J.created=QJ("created at");return J}var EX=Symbol("obsolete");function zq(Q,Z,J){let X=OQ;if(X===null)WW();var Y=void 0,K=v9(JZ);if(t)K.label=Z??Q.toString();var j=!wQ,U=new Set;if(wq(()=>{var F=OQ;if(t)iZ={effect:F,effect_deps:new Set,warned:!1};var A=_j();Y=A.promise;try{Promise.resolve(Q()).then(A.resolve,(E)=>{if(E!==EY)A.reject(E)}).finally(ZY)}catch(E){A.reject(E),ZY()}if(t){if(iZ){if(F.deps!==null)for(let E=0;E{if(t)iZ=null;if(z?.(),U.delete(A),D===EX)return;if(G.activate(),D)K.f|=X9,YJ(K,D);else{if((K.f&X9)!==0)K.f^=X9;if(t&&J!==void 0&&!K.equals(E))mX.add(K),setTimeout(()=>{if(mX.has(K)&&(F.f&mZ)===0)pW(K.label,J),mX.delete(K)});YJ(K,E)}G.deactivate()};A.promise.then(L,(E)=>L(null,E||"unknown"))}),n8(()=>{for(let F of U)F.reject(EX)}),t)K.f|=M9;return new Promise((F)=>{function A(G){function z(){if(G===Y)F(K);else A(Y)}G.then(z,z)}A(Y)})}function l(Q){let Z=gJ(Q);if(!$Z)OU(Z);return Z}function c8(Q){let Z=gJ(Q);return Z.equals=pj,Z}function n7(Q){var Z=Q.effects;if(Z!==null){Q.effects=null;for(var J=0;J5){let K=QJ("updated at");if(K!==null){let j=Q.updated.get(K.stack);if(!j)j={error:K,count:0},Q.updated.set(K.stack,j);j.count++}}}if(OQ!==null)Q.set_during_effect=!0}if((Q.f&GZ)!==0){let Y=Q;if((Q.f&RZ)!==0)u8(Y);if(PZ===null)h8(Y)}if(Q.wv=t8(),RU(Q,RZ,J),eJ()&&OQ!==null&&(OQ.f&XZ)!==0&&(OQ.f&(Z0|g0))===0)if(aZ===null)_q([Q]);else aZ.push(Q);if(!X.is_fork&&XJ.size>0&&!d8)FU()}return Z}function FU(){d8=!1;for(let Q of XJ){if((Q.f&XZ)!==0)eQ(Q,q0);let Z;try{Z=QX(Q)}catch{Z=!0}if(Z)KJ(Q)}XJ.clear()}function wJ(Q){e(Q,Q.v+1)}function RU(Q,Z,J){var X=Q.reactions;if(X===null)return;var Y=eJ(),K=X.length;for(var j=0;j{if(C9===j)return z();var L=wQ,E=C9;J0(null),e7(j);var D=z();return J0(L),e7(E),D};if(X){if(J.set("length",EQ(Q.length,K)),t)Q=Dq(Q)}var F="";let A=!1;function G(z){if(A)return;A=!0,F=z,j0(Y,`${F} version`);for(let[L,E]of J)j0(E,q9(F,L));A=!1}return new Proxy(Q,{defineProperty(z,L,E){if(!("value"in E)||E.configurable===!1||E.enumerable===!1||E.writable===!1)PW();var D=J.get(L);if(D===void 0)U(()=>{var H=EQ(E.value,K);if(J.set(L,H),t&&typeof L==="string")j0(H,q9(F,L));return H});else e(D,E.value,!0);return!0},deleteProperty(z,L){var E=J.get(L);if(E===void 0){if(L in z){let D=U(()=>EQ(JZ,K));if(J.set(L,D),wJ(Y),t)j0(D,q9(F,L))}}else e(E,JZ),wJ(Y);return!0},get(z,L,E){if(L===M0)return Q;if(t&&L===fj)return G;var D=J.get(L),H=L in z;if(D===void 0&&(!H||O9(z,L)?.writable))D=U(()=>{var O=kQ(H?z[L]:JZ),S=EQ(O,K);if(t)j0(S,q9(F,L));return S}),J.set(L,D);if(D!==void 0){var V=R(D);return V===JZ?void 0:V}return Reflect.get(z,L,E)},getOwnPropertyDescriptor(z,L){var E=Reflect.getOwnPropertyDescriptor(z,L);if(E&&"value"in E){var D=J.get(L);if(D)E.value=R(D)}else if(E===void 0){var H=J.get(L),V=H?.v;if(H!==void 0&&V!==JZ)return{enumerable:!0,configurable:!0,value:V,writable:!0}}return E},has(z,L){if(L===M0)return!0;var E=J.get(L),D=E!==void 0&&E.v!==JZ||Reflect.has(z,L);if(E!==void 0||OQ!==null&&(!D||O9(z,L)?.writable)){if(E===void 0)E=U(()=>{var V=D?kQ(z[L]):JZ,O=EQ(V,K);if(t)j0(O,q9(F,L));return O}),J.set(L,E);var H=R(E);if(H===JZ)return!1}return D},set(z,L,E,D){var H=J.get(L),V=L in z;if(X&&L==="length")for(var O=E;OEQ(JZ,K)),J.set(O+"",S),t)j0(S,q9(F,O))}}if(H===void 0){if(!V||O9(z,L)?.writable){if(H=U(()=>EQ(void 0,K)),t)j0(H,q9(F,L));e(H,kQ(E)),J.set(L,H)}}else{V=H.v!==JZ;var P=U(()=>kQ(E));e(H,P)}var T=Reflect.getOwnPropertyDescriptor(z,L);if(T?.set)T.set.call(D,E);if(!V){if(X&&typeof L==="string"){var k=J.get("length"),M=Number(L);if(Number.isInteger(M)&&M>=k.v)e(k,M+1)}wJ(Y)}return!0},ownKeys(z){R(Y);var L=Reflect.ownKeys(z).filter((H)=>{var V=J.get(H);return V===void 0||V.v!==JZ});for(var[E,D]of J)if(D.v!==JZ&&!(E in z))L.push(E);return L},setPrototypeOf(){TW()}})}function q9(Q,Z){if(typeof Z==="symbol")return`${Q}[Symbol(${Z.description??""})]`;if(Hq.test(Z))return`${Q}.${Z}`;return/^\d+$/.test(Z)?`${Q}[${Z}]`:`${Q}['${Z}']`}function kJ(Q){try{if(Q!==null&&typeof Q==="object"&&M0 in Q)return Q[M0]}catch{}return Q}function Vq(Q,Z){return Object.is(kJ(Q),kJ(Z))}var Bq=new Set(["copyWithin","fill","pop","push","reverse","shift","sort","splice","unshift"]);function Dq(Q){return new Proxy(Q,{get(Z,J,X){var Y=Reflect.get(Z,J,X);if(!Bq.has(J))return Y;return function(...K){Iq();var j=Y.apply(this,K);return FU(),j}}})}function Oq(){let{prototype:Q,__svelte_cleanup:Z}=Array;if(Z)Z();let{indexOf:J,lastIndexOf:X,includes:Y}=Q;Q.indexOf=function(K,j){let U=J.call(this,K,j);if(U===-1){for(let F=j??0;F{Q.indexOf=J,Q.lastIndexOf=X,Q.includes=Y}}var r7,Mq,l8,AU,WU;function NK(){if(r7!==void 0)return;r7=window,Mq=document,l8=/Firefox/.test(navigator.userAgent);var Q=Element.prototype,Z=Node.prototype,J=Text.prototype;if(AU=O9(Z,"firstChild").get,WU=O9(Z,"nextSibling").get,u7(Q))Q[OK]=void 0,Q[bj]=null,Q[MK]=void 0,Q.__e=void 0;if(u7(J))J[PK]=void 0;if(t)Q.__svelte_meta=null,Oq()}function vZ(Q=""){return document.createTextNode(Q)}function IZ(Q){return AU.call(Q)}function z0(Q){return WU.call(Q)}function g(Q,Z){if(!MQ)return IZ(Q);var J=IZ(TQ);if(J===null)J=TQ.appendChild(vZ());else if(Z&&J.nodeType!==sJ){var X=vZ();return J?.before(X),HZ(X),X}if(Z)LY(J);return HZ(J),J}function VZ(Q,Z=!1){if(!MQ){var J=IZ(Q);if(J instanceof Comment&&J.data==="")return z0(J);return J}if(Z){if(TQ?.nodeType!==sJ){var X=vZ();return TQ?.before(X),HZ(X),X}LY(TQ)}return TQ}function GQ(Q,Z=1,J=!1){let X=MQ?TQ:Q;var Y;while(Z--)Y=X,X=z0(X);if(!MQ)return X;if(J){if(X?.nodeType!==sJ){var K=vZ();if(X===null)Y?.after(K);else X.before(K);return HZ(K),K}LY(X)}return HZ(X),X}function qU(Q){Q.textContent=""}function GU(){if(!$Z)return!1;if(V0!==null)return!1;var Q=OQ.f;return(Q&p0)!==0}function p8(Q,Z,J){let X=J?{is:J}:void 0;return document.createElementNS(Z??cj,Q,X)}function LY(Q){if(Q.nodeValue.length<65536)return;let Z=Q.nextSibling;while(Z!==null&&Z.nodeType===sJ)Z.remove(),Q.nodeValue+=Z.nodeValue,Z=Q.nextSibling}function Pq(Q,Z){if(Z){let J=document.body;Q.autofocus=!0,A0(()=>{if(document.activeElement===J)Q.focus()})}}var t7=!1;function EU(){if(!t7)t7=!0,document.addEventListener("reset",(Q)=>{Promise.resolve().then(()=>{if(!Q.defaultPrevented)for(let Z of Q.target.elements)Z[SJ]?.()})},{capture:!0})}function AJ(Q){var Z=wQ,J=OQ;J0(null),W0(null);try{return Q()}finally{J0(Z),W0(J)}}function a8(Q,Z,J,X=J){Q.addEventListener(Z,()=>AJ(J));let Y=Q[SJ];if(Y)Q[SJ]=()=>{Y(),X(!0)};else Q[SJ]=()=>X(!0);EU()}function Tq(Q){if(OQ===null){if(wQ===null)LW(Q);zW()}if(u0)EW(Q)}function Cq(Q,Z){var J=Z.last;if(J===null)Z.last=Z.first=Q;else J.next=Q,Q.prev=J,Z.last=Q}function L0(Q,Z){var J=OQ;if(t)while(J!==null&&(J.f&$J)!==0)J=J.parent;if(J!==null&&(J.f&SZ)!==0)Q|=SZ;var X={ctx:mQ,deps:null,nodes:null,f:Q|RZ|oZ,first:null,fn:Z,last:null,next:null,parent:J,b:J&&J.b,prev:null,teardown:null,wv:0,ac:null};if(t)X.component_function=_9;BQ?.register_created_effect(X);var Y=X;if((Q&e9)!==0)if(n9!==null)n9.push(X);else c0.ensure().schedule(X);else if(Z!==null){try{KJ(X)}catch(j){throw qZ(X),j}if(Y.deps===null&&Y.teardown===null&&Y.nodes===null&&Y.first===Y.last&&(Y.f&$9)===0){if(Y=Y.first,(Q&sZ)!==0&&(Q&K9)!==0&&Y!==null)Y.f|=K9}}if(Y!==null){if(Y.parent=J,J!==null)Cq(Y,J);if(wQ!==null&&(wQ.f&GZ)!==0&&(Q&g0)===0){var K=wQ;(K.effects??=[]).push(Y)}}return X}function i8(){return wQ!==null&&!hZ}function n8(Q){let Z=L0(xJ,null);return eQ(Z,XZ),Z.teardown=Q,Z}function yQ(Q){if(Tq("$effect"),t)Y9(Q,"name",{value:"$effect"});var Z=OQ.f,J=!wQ&&(Z&Z0)!==0&&mQ!==null&&!mQ.i;if(J){var X=mQ;(X.e??=[]).push(Q)}else return zU(Q)}function zU(Q){return L0(e9|jW,Q)}function Sq(Q){c0.ensure();let Z=L0(g0|$9,Q);return()=>{qZ(Z)}}function Nq(Q){c0.ensure();let Z=L0(g0|$9,Q);return(J={})=>{return new Promise((X)=>{if(J.outro)T9(Z,()=>{qZ(Z),X(void 0)});else qZ(Z),X(void 0)})}}function WJ(Q){return L0(e9,Q)}function wq(Q){return L0(M9|$9,Q)}function qJ(Q,Z=0){return L0(xJ|Z,Q)}function jQ(Q,Z=[],J=[],X=[]){JU(X,Z,J,(Y)=>{L0(xJ,()=>Q(...Y.map(R)))})}function IY(Q,Z=0){var J=L0(sZ|Z,Q);if(t)J.dev_stack=JJ;return J}function LU(Q,Z=0){var J=L0(tX|Z,Q);if(t)J.dev_stack=JJ;return J}function yZ(Q){return L0(Z0|$9,Q)}function IU(Q){var Z=Q.teardown;if(Z!==null){let J=u0,X=wQ;o7(!0),J0(null);try{Z.call(null)}finally{o7(J),J0(X)}}}function s8(Q,Z=!1){var J=Q.first;Q.first=Q.last=null;while(J!==null){let Y=J.ac;if(Y!==null)AJ(()=>{Y.abort(EY)});var X=J.next;if((J.f&g0)!==0)J.parent=null;else qZ(J,Z);J=X}}function kq(Q){var Z=Q.first;while(Z!==null){var J=Z.next;if((Z.f&Z0)===0)qZ(Z);Z=J}}function qZ(Q,Z=!0){var J=!1;if((Z||(Q.f&KW)!==0)&&Q.nodes!==null&&Q.nodes.end!==null)HU(Q.nodes.start,Q.nodes.end),J=!0;eQ(Q,DK),s8(Q,Z&&!J),cJ(Q,0);var X=Q.nodes&&Q.nodes.t;if(X!==null)for(let K of X)K.stop();IU(Q),Q.f^=DK,Q.f|=mZ;var Y=Q.parent;if(Y!==null&&Y.first!==null)VU(Q);if(t)Q.component_function=null;Q.next=Q.prev=Q.teardown=Q.ctx=Q.deps=Q.fn=Q.nodes=Q.ac=Q.b=null}function HU(Q,Z){while(Q!==null){var J=Q===Z?null:z0(Q);Q.remove(),Q=J}}function VU(Q){var{parent:Z,prev:J,next:X}=Q;if(J!==null)J.next=X;if(X!==null)X.prev=J;if(Z!==null){if(Z.first===Q)Z.first=X;if(Z.last===Q)Z.last=J}}function T9(Q,Z,J=!0){var X=[];BU(Q,X,!0);var Y=()=>{if(J)qZ(Q);if(Z)Z()},K=X.length;if(K>0){var j=()=>--K||Y();for(var U of X)U.out(j)}else Y()}function BU(Q,Z,J){if((Q.f&SZ)!==0)return;Q.f^=SZ;var X=Q.nodes&&Q.nodes.t;if(X!==null){for(let U of X)if(U.is_global||J)Z.push(U)}var Y=Q.first;while(Y!==null){var K=Y.next;if((Y.f&g0)===0){var j=(Y.f&K9)!==0||(Y.f&Z0)!==0&&(Q.f&sZ)!==0;BU(Y,Z,j?J:!1)}Y=K}}function JY(Q){DU(Q,!0)}function DU(Q,Z){if((Q.f&SZ)===0)return;if(Q.f^=SZ,(Q.f&XZ)===0)eQ(Q,RZ),c0.ensure().schedule(Q);var J=Q.first;while(J!==null){var X=J.next,Y=(J.f&K9)!==0||(J.f&Z0)!==0;DU(J,Y?Z:!1),J=X}var K=Q.nodes&&Q.nodes.t;if(K!==null){for(let j of K)if(j.is_global||Z)j.in()}}function r8(Q,Z){if(!Q.nodes)return;var J=Q.nodes.start,X=Q.nodes.end;while(J!==null){var Y=J===X?null:z0(J);Z.append(J),J=Y}}var yq=null,gX=!1,u0=!1;function o7(Q){u0=Q}var wQ=null,hZ=!1;function J0(Q){wQ=Q}var OQ=null;function W0(Q){OQ=Q}var eZ=null;function OU(Q){if(wQ!==null&&(!$Z||(wQ.f&GZ)!==0))if(eZ===null)eZ=[Q];else eZ.push(Q)}var LZ=null,kZ=0,aZ=null;function _q(Q){aZ=Q}var MU=1,V9=0,C9=V9;function e7(Q){C9=Q}function t8(){return++MU}function QX(Q){var Z=Q.f;if((Z&RZ)!==0)return!0;if(Z&GZ)Q.f&=~j9;if((Z&q0)!==0){var J=Q.deps,X=J.length;for(var Y=0;YQ.wv)return!0}if((Z&oZ)!==0&&PZ===null)eQ(Q,XZ)}return!1}function PU(Q,Z,J=!0){var X=Q.reactions;if(X===null)return;if(!$Z&&eZ!==null&&J9.call(eZ,Q))return;for(var Y=0;Y{Q.ac.abort(EY)}),Q.ac=null;try{Q.f|=hJ;var G=Q.fn,z=G();Q.f|=p0;var L=Q.deps,E=BQ?.is_fork;if(LZ!==null){var D;if(!E)cJ(Q,kZ);if(L!==null&&kZ>0){L.length=kZ+LZ.length;for(D=0;D{requestAnimationFrame(()=>Q()),setTimeout(()=>Q())});await Promise.resolve(),zY()}function R(Q){var Z=Q.f,J=(Z&GZ)!==0;if(yq?.add(Q),wQ!==null&&!hZ){var X=OQ!==null&&(OQ.f&mZ)!==0;if(!X&&(eZ===null||!J9.call(eZ,Q))){var Y=wQ.deps;if((wQ.f&hJ)!==0){if(Q.rv>>0).toString(36)}function hq(Q){return Q.endsWith("capture")&&Q!=="gotpointercapture"&&Q!=="lostpointercapture"}var mq=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function gq(Q){return mq.includes(Q)}var cq=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","webkitdirectory","defer","disablepictureinpicture","disableremoteplayback"],uq={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function dq(Q){return Q=Q.toLowerCase(),uq[Q]??Q}var i2=[...cq,"formNoValidate","isMap","noModule","playsInline","readOnly","value","volume","defaultValue","defaultChecked","srcObject","noValidate","allowFullscreen","disablePictureInPicture","disableRemotePlayback"],lq=["touchstart","touchmove"];function pq(Q){return lq.includes(Q)}var aq=["$state","$state.raw","$derived","$derived.by"],n2=[...aq,"$state.eager","$state.snapshot","$props","$props.id","$bindable","$effect","$effect.pre","$effect.tracking","$effect.root","$effect.pending","$inspect","$inspect().with","$inspect.trace","$host"];function iq(Q){return Q?.replace(/\//g,"/​")}var MJ=Symbol("events"),SU=new Set,yK=new Set;function NU(Q,Z,J,X={}){function Y(K){if(!X.capture)_K.call(Z,K);if(!K.cancelBubble)return AJ(()=>{return J?.call(this,K)})}if(Q.startsWith("pointer")||Q.startsWith("touch")||Q==="wheel")A0(()=>{Z.addEventListener(Q,Y,X)});else Z.addEventListener(Q,Y,X);return Y}function nq(Q,Z,J,X,Y){var K={capture:X,passive:Y},j=NU(Q,Z,J,K);if(Z===document.body||Z===window||Z===document||Z instanceof HTMLMediaElement)n8(()=>{Z.removeEventListener(Q,j,K)})}function lQ(Q,Z,J){(Z[MJ]??={})[Q]=J}function uZ(Q){for(var Z=0;Z{throw H});throw L}}finally{Q[MJ]=Z,delete Q.currentTarget,J0(G),W0(z)}}var sq=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:(Q)=>{return Q}});function rq(Q){return sq?.createHTML(Q)??Q}function wU(Q){var Z=p8("template");return Z.innerHTML=rq(Q.replaceAll("","")),Z.content}function fZ(Q,Z){var J=OQ;if(J.nodes===null)J.nodes={start:Q,end:Z,a:null,t:null}}function JQ(Q,Z){var J=(Z&mj)!==0,X=(Z&gW)!==0,Y,K=!Q.startsWith("");return()=>{if(MQ)return fZ(TQ,null),TQ;if(Y===void 0){if(Y=wU(K?Q:""+Q),!J)Y=IZ(Y)}var j=X||l8?document.importNode(Y,!0):Y.cloneNode(!0);if(J){var U=IZ(j),F=j.lastChild;fZ(U,F)}else fZ(j,j);return j}}function tq(Q,Z,J="svg"){var X=!Q.startsWith(""),Y=(Z&mj)!==0,K=`<${J}>${X?Q:""+Q}`,j;return()=>{if(MQ)return fZ(TQ,null),TQ;if(!j){var U=wU(K),F=IZ(U);if(Y){j=document.createDocumentFragment();while(IZ(F))j.appendChild(IZ(F))}else j=IZ(F)}var A=j.cloneNode(!0);if(Y){var G=IZ(A),z=A.lastChild;fZ(G,z)}else fZ(A,A);return A}}function kU(Q,Z){return tq(Q,Z,"svg")}function jJ(Q=""){if(!MQ){var Z=vZ(Q+"");return fZ(Z,Z),Z}var J=TQ;if(J.nodeType!==sJ)J.before(J=vZ()),HZ(J);else LY(J);return fZ(J,J),J}function Q0(){if(MQ)return fZ(TQ,null),TQ;var Q=document.createDocumentFragment(),Z=document.createComment(""),J=vZ();return Q.append(Z,J),fZ(Z,J),Q}function i(Q,Z){if(MQ){var J=OQ;if((J.f&p0)===0||J.nodes.end===null)J.nodes.end=TQ;k9();return}if(Q===null)return;Q.before(Z)}function yU(){if(MQ&&TQ&&TQ.nodeType===h9&&TQ.textContent?.startsWith("$")){let Q=TQ.textContent.substring(1);return k9(),Q}return(window.__svelte??={}).uid??=1,`c${window.__svelte.uid++}`}var vK=!0;function IQ(Q,Z){var J=Z==null?"":typeof Z==="object"?`${Z}`:Z;if(J!==(Q[PK]??=Q.nodeValue))Q[PK]=J,Q.nodeValue=`${J}`}function o8(Q,Z){return _U(Q,Z)}function oq(Q,Z){NK(),Z.intro=Z.intro??!1;let J=Z.target,X=MQ,Y=TQ;try{var K=IZ(J);while(K&&(K.nodeType!==h9||K.data!==gj))K=z0(K);if(!K)throw w9;U0(!0),HZ(K);let j=_U(Q,{...Z,anchor:K});return U0(!1),j}catch(j){if(j instanceof Error&&j.message.split(` +`).some((U)=>U.startsWith("https://svelte.dev/e/")))throw j;if(j!==w9)console.warn("Failed to hydrate: ",j);if(Z.recover===!1)HW();return NK(),qU(J),U0(!1),o8(Q,Z)}finally{U0(X),HZ(Y)}}var zX=new Map;function _U(Q,{target:Z,anchor:J,props:X={},events:Y,context:K,intro:j=!0,transformError:U}){NK();var F=void 0,A=Nq(()=>{var G=J??Z.appendChild(vZ());Gq(G,{pending:()=>{}},(E)=>{fQ({});var D=mQ;if(K)D.c=K;if(Y)X.$$events=Y;if(MQ)fZ(E,null);if(vK=j,F=Q(E,X)||{},vK=!0,MQ){if(OQ.nodes.end=TQ,TQ===null||TQ.nodeType!==h9||TQ.data!==b8)throw rJ(),w9}bQ()},U);var z=new Set,L=(E)=>{for(var D=0;D{for(var E of z)for(let V of[Z,document]){var D=zX.get(V),H=D.get(E);if(--H==0){if(V.removeEventListener(E,_K),D.delete(E),D.size===0)zX.delete(V)}else D.set(E,H)}if(yK.delete(L),G!==J)G.parentNode?.removeChild(G)}});return fK.set(F,A),F}var fK=new WeakMap;function bK(Q,Z){let J=fK.get(Q);if(J)return fK.delete(Q),J(Z);if(t)if(M0 in Q)tW();else sW();return Promise.resolve()}class e8{anchor;#Q=new Map;#Z=new Map;#J=new Map;#F=new Set;#X=!0;constructor(Q,Z=!0){this.anchor=Q,this.#X=Z}#K=(Q)=>{if(!this.#Q.has(Q))return;var Z=this.#Q.get(Q),J=this.#Z.get(Z);if(J)JY(J),this.#F.delete(Z);else{var X=this.#J.get(Z);if(X){if(JY(X.effect),this.#Z.set(Z,X.effect),this.#J.delete(Z),t)X.fragment.lastChild[FW]=this.anchor;X.fragment.lastChild.remove(),this.anchor.before(X.fragment),J=X.effect}}for(let[Y,K]of this.#Q){if(this.#Q.delete(Y),Y===Q)break;let j=this.#J.get(K);if(j)qZ(j.effect),this.#J.delete(K)}for(let[Y,K]of this.#Z){if(Y===Z||this.#F.has(Y))continue;let j=()=>{if(Array.from(this.#Q.values()).includes(Y)){var F=document.createDocumentFragment();r8(K,F),F.append(vZ()),this.#J.set(Y,{effect:K,fragment:F})}else qZ(K);this.#F.delete(Y),this.#Z.delete(Y)};if(this.#X||!J)this.#F.add(Y),T9(K,j,!1);else j()}};#Y=(Q)=>{this.#Q.delete(Q);let Z=Array.from(this.#Q.values());for(let[J,X]of this.#J)if(!Z.includes(J))qZ(X.effect),this.#J.delete(J)};ensure(Q,Z){var J=BQ,X=GU();if(Z&&!this.#Z.has(Q)&&!this.#J.has(Q))if(X){var Y=document.createDocumentFragment(),K=vZ();Y.append(K),this.#J.set(Q,{effect:yZ(()=>Z(K)),fragment:Y})}else this.#Z.set(Q,yZ(()=>Z(this.anchor)));if(this.#Q.set(J,Q),X){for(let[j,U]of this.#Z)if(j===Q)J.unskip_effect(U);else J.skip_effect(U);for(let[j,U]of this.#J)if(j===Q)J.unskip_effect(U.effect);else J.skip_effect(U.effect);J.oncommit(this.#K),J.ondiscard(this.#Y)}else{if(MQ)this.anchor=TQ;this.#K(J)}}}function UQ(Q,Z,J=!1){var X;if(MQ)X=TQ,k9();var Y=new e8(Q),K=J?K9:0;function j(U,F){if(MQ){var A=uj(X);if(U!==parseInt(A.substring(1))){var G=oX();HZ(G),Y.anchor=G,U0(!1),Y.ensure(U,F),U0(!0);return}}Y.ensure(U,F)}IY(()=>{var U=!1;if(Z((F,A=0)=>{U=!0,j(A,F)}),!U)j(-1,null)},K)}var s2=Symbol("NaN");function F0(Q,Z){return Z}function eq(Q,Z,J){var X=[],Y=Z.length,K,j=Z.length;for(var U=0;U{if(K){if(K.pending.delete(z),K.done.add(z),K.pending.size===0){var L=Q.outrogroups;if(xK(Q,GY(K.done)),L.delete(K),L.size===0)Q.outrogroups=null}}else j-=1},!1)}if(j===0){var F=X.length===0&&J!==null;if(F){var A=J,G=A.parentNode;qU(G),G.append(A),Q.items.clear()}xK(Q,Z,!F)}else K={pending:new Set(Z),done:new Set},(Q.outrogroups??=new Set).add(K)}function xK(Q,Z,J=!0){var X;if(Q.pending.size>0){X=new Set;for(let j of Q.pending.values())for(let U of j)X.add(Q.items.get(U).e)}for(var Y=0;Y{var P=J();return _8(P)?P:P==null?[]:GY(P)});if(t)j0(z,"{#each ...}");var L,E=new Map,D=!0;function H(P){if((S.effect.f&mZ)!==0)return;if(S.pending.delete(P),S.fallback=G,QG(S,L,j,Z,X),G!==null)if(L.length===0)if((G.f&D0)===0)JY(G);else G.f^=D0,PJ(G,null,j);else T9(G,()=>{G=null})}function V(P){S.pending.delete(P)}var O=IY(()=>{L=R(z);var P=L.length;let T=!1;if(MQ){var k=uj(j)===f8;if(k!==(P===0))j=oX(),HZ(j),U0(!1),T=!0}var M=new Set,C=BQ,N=GU();for(var _=0;_K(j));else G=yZ(()=>K(Z6??=vZ())),G.f|=D0;if(P>M.size)if(t)JG(L,X);else $j("","","");if(MQ&&P>0)HZ(oX());if(!D)if(E.set(C,M),N){for(let[p,d]of U)if(!M.has(p))C.skip_effect(d.e);C.oncommit(H),C.ondiscard(V)}else H(C);if(T)U0(!0);R(z)}),S={effect:O,flags:Z,items:U,pending:E,outrogroups:null,fallback:G};if(D=!1,MQ)j=TQ}function IJ(Q){while(Q!==null&&(Q.f&Z0)===0)Q=Q.next;return Q}function QG(Q,Z,J,X,Y){var K=(X&kW)!==0,j=Z.length,U=Q.items,F=IJ(Q.effect.first),A,G=null,z,L=[],E=[],D,H,V,O;if(K){for(O=0;O0){var _=(X&hj)!==0&&j===0?J:null;if(K){for(O=0;O{if(z===void 0)return;for(V of z)V.nodes?.a?.apply()})}function ZG(Q,Z,J,X,Y,K,j,U){var F=(j&NW)!==0?(j&yW)===0?UU(J,!1,!1):v9(J):null,A=(j&wW)!==0?v9(Y):null;if(t&&F)F.trace=()=>{U()[A?.v??Y]};return{v:F,i:A,e:yZ(()=>{return K(Z,F??J,A??Y,U),()=>{Q.delete(X)}})}}function PJ(Q,Z,J){if(!Q.nodes)return;var X=Q.nodes.start,Y=Q.nodes.end,K=Z&&(Z.f&D0)===0?Z.nodes.start:J;while(X!==null){var j=z0(X);if(K.before(X),X===Y)return;X=j}}function s0(Q,Z,J){if(Z===null)Q.effect.first=J;else Z.next=J;if(J===null)Q.effect.last=Z;else J.prev=Z}function JG(Q,Z){let J=new Map,X=Q.length;for(let Y=0;Y{var A=OQ;if(U===(U=Z()??"")){if(MQ)k9();return}if(J&&!MQ){if(A.nodes=null,F.innerHTML=U,U!=="")fZ(IZ(F),F.lastChild);return}if(A.nodes!==null)HU(A.nodes.start,A.nodes.end),A.nodes=null;if(U==="")return;if(MQ){var G=TQ.data,z=k9(),L=z;while(z!==null&&(z.nodeType!==h9||z.data!==""))L=z,z=z0(z);if(z===null)throw rJ(),w9;if(t&&!K)XG(z.parentNode,G,U);fZ(TQ,L),j=HZ(z);return}var E=X?cW:Y?uW:void 0,D=p8(X?"svg":Y?"math":"template",E);D.innerHTML=U;var H=X||Y?D:D.content;if(fZ(IZ(H),H.lastChild),X||Y)while(IZ(H))j.before(IZ(H));else j.before(H)})}function f9(Q,Z,...J){var X=new e8(Q);IY(()=>{let Y=Z()??null;if(t&&Y==null)VW();X.ensure(Y,Y&&((K)=>Y(K,...J)))},K9)}var YG=kj?()=>performance.now():()=>Date.now(),x0={tick:(Q)=>(kj?requestAnimationFrame:o0)(Q),now:()=>YG(),tasks:new Set};function fU(){let Q=x0.now();if(x0.tasks.forEach((Z)=>{if(!Z.c(Q))x0.tasks.delete(Z),Z.f()}),x0.tasks.size!==0)x0.tick(fU)}function KG(Q){let Z;if(x0.tasks.size===0)x0.tick(fU);return{promise:new Promise((J)=>{x0.tasks.add(Z={c:Q,f:J})}),abort(){x0.tasks.delete(Z)}}}function LX(Q,Z){AJ(()=>{Q.dispatchEvent(new CustomEvent(Z))})}function jG(Q){if(Q==="float")return"cssFloat";if(Q==="offset")return"cssOffset";if(Q.startsWith("--"))return Q;let Z=Q.split("-");if(Z.length===1)return Z[0];return Z[0]+Z.slice(1).map((J)=>J[0].toUpperCase()+J.slice(1)).join("")}function J6(Q){let Z={},J=Q.split(";");for(let X of J){let[Y,K]=X.split(":");if(!Y||K===void 0)break;let j=jG(Y.trim());Z[j]=K.trim()}return Z}var UG=(Q)=>Q;function FG(Q,Z,J,X){var Y=(Q&$W)!==0,K=(Q&hW)!==0,j=Y&&K,U=(Q&mW)!==0,F=j?"both":Y?"in":"out",A,G=Z.inert,z=Z.style.overflow,L,E;function D(){return AJ(()=>{return A??=J()(Z,X?.()??{},{direction:F})})}var H={is_global:U,in(){if(Z.inert=G,!Y){E?.abort(),E?.reset?.();return}if(!K)L?.abort();L=$K(Z,D(),E,1,()=>{LX(Z,"introstart")},()=>{LX(Z,"introend"),L?.abort(),L=A=void 0,Z.style.overflow=z})},out(P){if(!K){P?.(),A=void 0;return}Z.inert=!0,E=$K(Z,D(),L,0,()=>{LX(Z,"outrostart")},()=>{LX(Z,"outroend"),P?.()})},stop:()=>{L?.abort(),E?.abort()}},V=OQ;if((V.nodes.t??=[]).push(H),Y&&vK){var O=U;if(!O){var S=V.parent;while(S&&(S.f&K9)!==0)while(S=S.parent)if((S.f&sZ)!==0)break;O=!S||(S.f&p0)!==0}if(O)WJ(()=>{I0(()=>H.in())})}}function $K(Q,Z,J,X,Y,K){var j=X===1;if(XW(Z)){var U,F=!1;return A0(()=>{if(F)return;var O=Z({direction:j?"in":"out"});U=$K(Q,O,J,X,Y,K)}),{abort:()=>{F=!0,U?.abort()},deactivate:()=>U.deactivate(),reset:()=>U.reset(),t:()=>U.t()}}if(J?.deactivate(),!Z?.duration&&!Z?.delay)return Y(),K(),{abort:o0,deactivate:o0,reset:o0,t:()=>X};let{delay:A=0,css:G,tick:z,easing:L=UG}=Z;var E=[];if(j&&J===void 0){if(z)z(0,1);if(G){var D=J6(G(0,1));E.push(D,D)}}var H=()=>1-X,V=Q.animate(E,{duration:A,fill:"forwards"});return V.onfinish=()=>{V.cancel(),Y();var O=J?.t()??1-X;J?.abort();var S=X-O,P=Z.duration*Math.abs(S),T=[];if(P>0){var k=!1;if(G){var M=Math.ceil(P/16.666666666666668);for(var C=0;C<=M;C+=1){var N=O+S*L(C/M),_=J6(G(N,1-N));T.push(_),k||=_.overflow==="hidden"}}if(k)Q.style.overflow="hidden";if(H=()=>{var x=V.currentTime;return O+S*L(x/P)},z)KG(()=>{if(V.playState!=="running")return!1;var x=H();return z(x,1-x),!0})}V=Q.animate(T,{duration:P,fill:"forwards"}),V.onfinish=()=>{H=()=>X,z?.(X,1-X),K()}},{abort:()=>{if(V)V.cancel(),V.effect=null,V.onfinish=o0},deactivate:()=>{K=o0},reset:()=>{if(X===0)z?.(1,0)},t:()=>H()}}function d0(Q,Z,J){WJ(()=>{var X=I0(()=>Z(Q,J?.())||{});if(J&&X?.update){var Y=!1,K={};qJ(()=>{var j=J();if(bq(j),Y&&lj(K,j))K=j,X.update(j)}),Y=!0}if(X?.destroy)return()=>X.destroy()})}function RG(Q,Z){var J=void 0,X;LU(()=>{if(J!==(J=Z())){if(X)qZ(X),X=null;if(J)X=yZ(()=>{WJ(()=>J(Q))})}})}function bU(Q){var Z,J,X="";if(typeof Q=="string"||typeof Q=="number")X+=Q;else if(typeof Q=="object")if(Array.isArray(Q)){var Y=Q.length;for(Z=0;Z=0){var U=j+K;if((j===0||X6.includes(X[j-1]))&&(U===X.length||X6.includes(X[U])))X=(j===0?"":X.substring(0,j))+X.substring(U+1);else j=U}}}return X===""?null:X}function Y6(Q,Z=!1){var J=Z?" !important;":";",X="";for(var Y of Object.keys(Q)){var K=Q[Y];if(K!=null&&K!=="")X+=" "+Y+": "+K+J}return X}function iY(Q){if(Q[0]!=="-"||Q[1]!=="-")return Q.toLowerCase();return Q}function WG(Q,Z){if(Z){var J="",X,Y;if(Array.isArray(Z))X=Z[0],Y=Z[1];else X=Z;if(Q){Q=String(Q).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var K=!1,j=0,U=!1,F=[];if(X)F.push(...Object.keys(X).map(iY));if(Y)F.push(...Object.keys(Y).map(iY));var A=0,G=-1;let H=Q.length;for(var z=0;z{XY(Q,Q.__value)});Z.observe(Q,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),n8(()=>{Z.disconnect()})}function qG(Q,Z,J=Z){var X=new WeakSet,Y=!0;a8(Q,"change",(K)=>{var j=K?"[selected]":":checked",U;if(Q.multiple)U=[].map.call(Q.querySelectorAll(j),yJ);else{var F=Q.querySelector(j)??Q.querySelector("option:not([disabled])");U=F&&yJ(F)}if(J(U),Q.__value=U,BQ!==null)X.add(BQ)}),WJ(()=>{var K=Z();if(Q===document.activeElement){var j=$Z?mJ:BQ;if(X.has(j))return}if(XY(Q,K,Y),Y&&K===void 0){var U=Q.querySelector(":checked");if(U!==null)K=yJ(U),J(K)}Q.__value=K,Y=!1}),$U(Q)}function yJ(Q){if("__value"in Q)return Q.__value;else return Q.value}var HJ=Symbol("class"),VJ=Symbol("style"),hU=Symbol("is custom element"),mU=Symbol("is html"),GG=nJ?"link":"LINK",EG=nJ?"input":"INPUT",zG=nJ?"option":"OPTION",LG=nJ?"select":"SELECT",IG=nJ?"progress":"PROGRESS";function EJ(Q){if(!MQ)return;var Z=!1,J=()=>{if(Z)return;if(Z=!0,Q.hasAttribute("value")){var X=Q.value;u(Q,"value",null),Q.value=X}if(Q.hasAttribute("checked")){var Y=Q.checked;u(Q,"checked",null),Q.checked=Y}};Q[SJ]=J,A0(J),EU()}function gU(Q,Z){var J=HY(Q);if(J.value===(J.value=Z??void 0)||Q.value===Z&&(Z!==0||Q.nodeName!==IG))return;Q.value=Z??""}function HG(Q,Z){var J=HY(Q);if(J.checked===(J.checked=Z??void 0))return;Q.checked=Z}function VG(Q,Z){if(Z){if(!Q.hasAttribute("selected"))Q.setAttribute("selected","")}else Q.removeAttribute("selected")}function u(Q,Z,J,X){var Y=HY(Q);if(MQ){if(Y[Z]=Q.getAttribute(Z),Z==="src"||Z==="srcset"||Z==="href"&&Q.nodeName===GG){if(!X)DG(Q,Z,J??"");return}}if(Y[Z]===(Y[Z]=J))return;if(Z==="loading")Q[UW]=J;if(J==null)Q.removeAttribute(Z);else if(typeof J!=="string"&&cU(Q).includes(Z))Q[Z]=J;else Q.setAttribute(Z,J)}function BG(Q,Z,J,X,Y=!1,K=!1){if(MQ&&Y&&Q.nodeName===EG){var j=Q,U=j.type==="checkbox"?"defaultChecked":"defaultValue";if(!(U in J))EJ(j)}var F=HY(Q),A=F[hU],G=!F[mU];let z=MQ&&A;if(z)U0(!1);var L=Z||{},E=Q.nodeName===zG;for(var D in Z)if(!(D in J))J[D]=null;if(J.class)J.class=P0(J.class);else if(X||J[HJ])J.class=null;if(J[VJ])J.style??=null;var H=cU(Q);for(let M in J){let C=J[M];if(E&&M==="value"&&C==null){Q.value=Q.__value="",L[M]=C;continue}if(M==="class"){var V=Q.namespaceURI==="http://www.w3.org/1999/xhtml";EZ(Q,V,C,X,Z?.[HJ],J[HJ]),L[M]=C,L[HJ]=J[HJ];continue}if(M==="style"){GJ(Q,C,Z?.[VJ],J[VJ]),L[M]=C,L[VJ]=J[VJ];continue}var O=L[M];if(C===O&&!(C===void 0&&Q.hasAttribute(M)))continue;L[M]=C;var S=M[0]+M[1];if(S==="$$")continue;if(S==="on"){let N={},_="$$"+M,x=M.slice(2);var P=gq(x);if(hq(x))x=x.slice(0,-7),N.capture=!0;if(!P&&O){if(C!=null)continue;Q.removeEventListener(x,L[_],N),L[_]=null}if(P)lQ(x,Q,C),uZ([x]);else if(C!=null){let v=function(b){L[M].call(this,b)};L[_]=NU(x,Q,v,N)}}else if(M==="style")u(Q,M,C);else if(M==="autofocus")Pq(Q,Boolean(C));else if(!A&&(M==="__value"||M==="value"&&C!=null))Q.value=Q.__value=C;else if(M==="selected"&&E)VG(Q,C);else{var T=M;if(!G)T=dq(T);var k=T==="defaultValue"||T==="defaultChecked";if(C==null&&!A&&!k)if(F[M]=null,T==="value"||T==="checked"){let N=Q,_=Z===void 0;if(T==="value"){let x=N.defaultValue;N.removeAttribute(T),N.defaultValue=x,N.value=N.__value=_?x:null}else{let x=N.defaultChecked;N.removeAttribute(T),N.defaultChecked=x,N.checked=_?x:!1}}else Q.removeAttribute(M);else if(k||H.includes(T)&&(A||typeof C!=="string")){if(Q[T]=C,T in F)F[T]=JZ}else if(typeof C!=="function")u(Q,T,C,K)}}if(z)U0(!0);return L}function uJ(Q,Z,J=[],X=[],Y=[],K,j=!1,U=!1){JU(Y,J,X,(F)=>{var A=void 0,G={},z=Q.nodeName===LG,L=!1;if(LU(()=>{var D=Z(...F.map(R)),H=BG(Q,A,D,K,j,U);if(L&&z&&"value"in D)XY(Q,D.value);for(let O of Object.getOwnPropertySymbols(G))if(!D[O])qZ(G[O]);for(let O of Object.getOwnPropertySymbols(D)){var V=D[O];if(O.description===dW&&(!A||V!==A[O])){if(G[O])qZ(G[O]);G[O]=yZ(()=>RG(Q,()=>V))}H[O]=V}A=H}),z){var E=Q;WJ(()=>{XY(E,A.value,!0),$U(E)})}L=!0})}function HY(Q){return Q[bj]??={[hU]:Q.nodeName.includes("-"),[mU]:Q.namespaceURI===cj}}var K6=new Map;function cU(Q){var Z=Q.getAttribute("is")||Q.nodeName,J=K6.get(Z);if(J)return J;K6.set(Z,J=[]);var X,Y=Q,K=Element.prototype;while(K!==Y){X=yj(Y);for(var j in X)if(X[j].set&&j!=="innerHTML"&&j!=="textContent"&&j!=="innerText")J.push(j);Y=v8(Y)}return J}function DG(Q,Z,J){if(!t)return;if(Z==="srcset"&&OG(Q,J))return;if(hK(Q.getAttribute(Z)??"",J))return;iW(Z,Q.outerHTML.replace(Q.innerHTML,Q.innerHTML&&"..."),String(J))}function hK(Q,Z){if(Q===Z)return!0;return new URL(Q,document.baseURI).href===new URL(Z,document.baseURI).href}function j6(Q){return Q.split(",").map((Z)=>Z.trim().split(" ").filter(Boolean))}function OG(Q,Z){var J=j6(Q.srcset),X=j6(Z);return X.length===J.length&&X.every(([Y,K],j)=>K===J[j][1]&&(hK(J[j][0],Y)||hK(Y,J[j][0])))}function MG(Q,Z,J=Z){var X=new WeakSet;if(a8(Q,"input",async(Y)=>{if(t&&Q.type==="checkbox")d7();var K=Y?Q.defaultValue:Q.value;if(K=sY(Q)?rY(K):K,J(K),BQ!==null)X.add(BQ);if(await fq(),K!==(K=Z())){var{selectionStart:j,selectionEnd:U}=Q,F=Q.value.length;if(Q.value=K??"",U!==null){var A=Q.value.length;if(j===U&&U===F&&A>F)Q.selectionStart=A,Q.selectionEnd=A;else Q.selectionStart=j,Q.selectionEnd=Math.min(U,A)}}}),MQ&&Q.defaultValue!==Q.value||I0(Z)==null&&Q.value){if(J(sY(Q)?rY(Q.value):Q.value),BQ!==null)X.add(BQ)}qJ(()=>{if(t&&Q.type==="checkbox")d7();var Y=Z();if(Q===document.activeElement){var K=$Z?mJ:BQ;if(X.has(K))return}if(sY(Q)&&Y===rY(Q.value))return;if(Q.type==="date"&&!Y&&!Q.value)return;if(Y!==Q.value)Q.value=Y??""})}function uU(Q,Z,J=Z){if(a8(Q,"change",(X)=>{var Y=X?Q.defaultChecked:Q.checked;J(Y)}),MQ&&Q.defaultChecked!==Q.checked||I0(Z)==null)J(Q.checked);qJ(()=>{var X=Z();Q.checked=Boolean(X)})}function sY(Q){var Z=Q.type;return Z==="number"||Z==="range"}function rY(Q){return Q===""?null:+Q}class dU{#Q=new WeakMap;#Z;#J;static entries=new WeakMap;constructor(Q){this.#J=Q}observe(Q,Z){var J=this.#Q.get(Q)||new Set;return J.add(Z),this.#Q.set(Q,J),this.#F().observe(Q,this.#J),()=>{var X=this.#Q.get(Q);if(X.delete(Z),X.size===0)this.#Q.delete(Q),this.#Z.unobserve(Q)}}#F(){return this.#Z??(this.#Z=new ResizeObserver((Q)=>{for(var Z of Q){dU.entries.set(Z.target,Z);for(var J of this.#Q.get(Z.target)||[])J(Z)}}))}}function tY(Q,Z){return Q===Z||Q?.[M0]===Z}function lU(Q={},Z,J,X){var Y=mQ.r,K=OQ;return WJ(()=>{var j,U;return qJ(()=>{j=U,U=X?.()||[],I0(()=>{if(!tY(J(...U),Q)){if(Z(Q,...U),j&&tY(J(...j),Q))Z(null,...j)}})}),()=>{let F=K;while(F!==Y&&F.parent!==null&&F.parent.f&DK)F=F.parent;let A=()=>{if(U&&tY(J(...U),Q))Z(null,...U)},G=F.teardown;F.teardown=()=>{A(),G?.()}}}),Q}var PG={get(Q,Z){if(Q.exclude.includes(Z))return;return Q.props[Z]},set(Q,Z){if(t)DW(`${Q.name}.${String(Z)}`);return!1},getOwnPropertyDescriptor(Q,Z){if(Q.exclude.includes(Z))return;if(Z in Q.props)return{enumerable:!0,configurable:!0,value:Q.props[Z]}},has(Q,Z){if(Q.exclude.includes(Z))return!1;return Z in Q.props},ownKeys(Q){return Reflect.ownKeys(Q.props).filter((Z)=>!Q.exclude.includes(Z))}};function VY(Q,Z,J){return new Proxy(t?{props:Q,exclude:Z,name:J,other:{},to_proxy:[]}:{props:Q,exclude:Z},PG)}function FZ(Q,Z,J,X){var Y=!oJ||(J&vW)!==0,K=(J&bW)!==0,j=(J&xW)!==0,U=X,F=!0,A=void 0,G=()=>{if(j&&Y)return A??=gJ(X),R(A);if(F)F=!1,U=j?I0(X):X;return U};let z;if(K){var L=M0 in Q||vj in Q;z=O9(Q,Z)?.set??(L&&Z in Q?(T)=>Q[Z]=T:void 0)}var E,D=!1;if(K)[E,D]=Fq(()=>Q[Z]);else E=Q[Z];if(E===void 0&&X!==void 0){if(E=G(),z){if(Y)BW(Z);z(E)}}var H;if(Y)H=()=>{var T=Q[Z];if(T===void 0)return G();return F=!0,T};else H=()=>{var T=Q[Z];if(T!==void 0)U=void 0;return T===void 0?U:T};if(Y&&(J&fW)===0)return H;if(z){var V=Q.$$legacy;return function(T,k){if(arguments.length>0){if(!Y||!k||V||D)z(k?H():T);return T}return H()}}var O=!1,S=((J&_W)!==0?gJ:c8)(()=>{return O=!1,H()});if(t)S.label=Z;if(K)R(S);var P=OQ;return function(T,k){if(arguments.length>0){let M=k?R(S):Y&&K?kQ(T):T;if(e(S,M),O=!0,U!==void 0)U=M;return T}if(u0&&O||(P.f&mZ)!==0)return S.v;return R(S)}}function TG(Q){return new pU(Q)}class pU{#Q;#Z;constructor(Q){var Z=new Map,J=(Y,K)=>{var j=UU(K,!1,!1);return Z.set(Y,j),j};let X=new Proxy({...Q.props||{},$$events:{}},{get(Y,K){return R(Z.get(K)??J(K,Reflect.get(Y,K)))},has(Y,K){if(K===vj)return!0;return R(Z.get(K)??J(K,Reflect.get(Y,K))),Reflect.has(Y,K)},set(Y,K,j){return e(Z.get(K)??J(K,j),j),Reflect.set(Y,K,j)}});if(this.#Z=(Q.hydrate?oq:o8)(Q.component,{target:Q.target,anchor:Q.anchor,props:X,context:Q.context,intro:Q.intro??!1,recover:Q.recover,transformError:Q.transformError}),!$Z&&(!Q?.props?.$$host||Q.sync===!1))zY();this.#Q=X.$$events;for(let Y of Object.keys(this.#Z)){if(Y==="$set"||Y==="$destroy"||Y==="$on")continue;Y9(this,Y,{get(){return this.#Z[Y]},set(K){this.#Z[Y]=K},enumerable:!0})}this.#Z.$set=(Y)=>{Object.assign(X,Y)},this.#Z.$destroy=()=>{bK(this.#Z)}}$set(Q){this.#Z.$set(Q)}$on(Q,Z){this.#Q[Q]=this.#Q[Q]||[];let J=(...X)=>Z.call(this,...X);return this.#Q[Q].push(J),()=>{this.#Q[Q]=this.#Q[Q].filter((X)=>X!==J)}}$destroy(){this.#Z.$destroy()}}var CG;if(typeof HTMLElement==="function")CG=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(Q,Z,J){super();if(this.$$ctor=Q,this.$$s=Z,J)this.$$shadowRoot=this.attachShadow(J)}addEventListener(Q,Z,J){if(this.$$l[Q]=this.$$l[Q]||[],this.$$l[Q].push(Z),this.$$c){let X=this.$$c.$on(Q,Z);this.$$l_u.set(Z,X)}super.addEventListener(Q,Z,J)}removeEventListener(Q,Z,J){if(super.removeEventListener(Q,Z,J),this.$$c){let X=this.$$l_u.get(Z);if(X)X(),this.$$l_u.delete(Z)}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let Q=function(X){return(Y)=>{let K=p8("slot");if(X!=="default")K.name=X;i(Y,K)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;let Z={},J=SG(this);for(let X of this.$$s)if(X in J)if(X==="default"&&!this.$$d.children)this.$$d.children=Q(X),Z.default=!0;else Z[X]=Q(X);for(let X of this.attributes){let Y=this.$$g_p(X.name);if(!(Y in this.$$d))this.$$d[Y]=oY(Y,X.value,this.$$p_d,"toProp")}for(let X in this.$$p_d)if(!(X in this.$$d)&&this[X]!==void 0)this.$$d[X]=this[X],delete this[X];this.$$c=TG({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:Z,$$host:this}}),this.$$me=Sq(()=>{qJ(()=>{this.$$r=!0;for(let X of c7(this.$$c)){if(!this.$$p_d[X]?.reflect)continue;this.$$d[X]=this.$$c[X];let Y=oY(X,this.$$d[X],this.$$p_d,"toAttribute");if(Y==null)this.removeAttribute(this.$$p_d[X].attribute||X);else this.setAttribute(this.$$p_d[X].attribute||X,Y)}this.$$r=!1})});for(let X in this.$$l)for(let Y of this.$$l[X]){let K=this.$$c.$on(X,Y);this.$$l_u.set(Y,K)}this.$$l={}}}attributeChangedCallback(Q,Z,J){if(this.$$r)return;Q=this.$$g_p(Q),this.$$d[Q]=oY(Q,J,this.$$p_d,"toProp"),this.$$c?.$set({[Q]:this.$$d[Q]})}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{if(!this.$$cn&&this.$$c)this.$$c.$destroy(),this.$$me(),this.$$c=void 0})}$$g_p(Q){return c7(this.$$p_d).find((Z)=>this.$$p_d[Z].attribute===Q||!this.$$p_d[Z].attribute&&Z.toLowerCase()===Q)||Q}};function oY(Q,Z,J,X){let Y=J[Q]?.type;if(Z=Y==="Boolean"&&typeof Z!=="boolean"?Z!=null:Z,!X||!J[Q])return Z;else if(X==="toAttribute")switch(Y){case"Object":case"Array":return Z==null?null:JSON.stringify(Z);case"Boolean":return Z?"":null;case"Number":return Z==null?null:Z;default:return Z}else switch(Y){case"Object":case"Array":return Z&&JSON.parse(Z);case"Boolean":return Z;case"Number":return Z!=null?+Z:Z;default:return Z}}function SG(Q){let Z={};return Q.childNodes.forEach((J)=>{Z[J.slot||"default"]=!0}),Z}if(t){let Q=function(Z){if(!(Z in globalThis)){let J;Object.defineProperty(globalThis,Z,{configurable:!0,get:()=>{if(J!==void 0)return J;OW(Z)},set:(X)=>{J=X}})}};Q("$state"),Q("$effect"),Q("$derived"),Q("$inspect"),Q("$props"),Q("$bindable")}function NG(Q){if(mQ===null)xj("onMount");if(oJ&&mQ.l!==null)wG(mQ).m.push(Q);else yQ(()=>{let Z=I0(Q);if(typeof Z==="function")return Z})}function wG(Q){var Z=Q.l;return Z.u??={a:[],b:[],m:[]}}x1({flush:()=>zY()});function kG(Q){return!!Q&&(typeof Q==="object"||typeof Q==="function")&&typeof Q.subscribe==="function"}function yG(Q){return{subscribe(Z){let J={},X=[],Y=!1,K=()=>{if(Y)Z({...J})};for(let[j,U]of Object.entries(Q)){if(j.startsWith("on")&&typeof U==="function")continue;let F=j.startsWith("$")?j.slice(1):j;if(kG(U))X.push(U.subscribe((A)=>{J[F]=A,K()}));else J[F]=U}return Y=!0,Z({...J}),()=>{for(let j of X)j()}}}}function _G(Q,Z){return(J,X,Y)=>{let K=(Y.document||document).createElement("div"),j=o8(Z,{target:K,props:{componentName:X,ctx:Y,props:yG(J)}});zY();let U=K.firstElementChild;if(!U){bK(j);return}return U.remove(),h1(U,()=>{bK(j)}),U}}var vG="5";if(typeof window<"u")((window.__svelte??={}).v??=new Set).add(vG);function dQ(Q,Z){return Q.subscribe((J)=>Z(J))}function fG(Q){if(!Number.isFinite(Q))return String(Q);if(Object.is(Q,-0))return"0";let Z=Number(Q.toPrecision(15));if(Object.is(Z,-0))return"0";return String(Z)}function c(Q,Z=""){if(Q===void 0||Q===null)return Z;if(typeof Q==="number")return fG(Q);return String(Q)}function b9(Q,Z,J,X=""){return c(J??Q.labels[Z],X)}function z9(Q){return Q===!0||Q==="true"}function dJ(Q){return Array.isArray(Q)?Q:[]}function U6(Q){return Array.isArray(Q)?Q:[]}function IX(Q){if(!Array.isArray(Q))return[];return Q.map((Z)=>{if(typeof Z==="string")return Z;if(Z&&typeof Z==="object")return c(Z.key);return""}).filter(Boolean)}function bG(Q,Z){if(Q&&typeof Q==="object"){let J=Q;return c(J.label??J.key??Z)}return c(Q,Z)}function xG(Q,Z,J){if(Array.isArray(Q))return c(typeof J==="number"?Q[J]:void 0);if(Q&&typeof Q==="object")return c(Q[Z]);return c(Q)}function m9(Q,Z){if(Z.children&&Object.keys(Z.children).length>0)Q.replaceChildren(),Z.renderTree(Z.children,Q,Z.forCtx);return{destroy(){Q.replaceChildren()}}}function cZ(Q,Z,J){Q.emit(Z,J)}function mK(Q,Z){let J={kind:"microtask",canceled:!1},X=(j)=>{if(!J.canceled)Z(j)},Y=Q.api?.raf;if(typeof Y==="function")try{return J.kind="api",J.id=Y(X),J}catch{J.kind="microtask",J.id=void 0}let K=Q.document.defaultView;if(K&&typeof K.requestAnimationFrame==="function")try{return J.kind="native",J.id=K.requestAnimationFrame(X),J}catch{J.kind="microtask",J.id=void 0}return queueMicrotask(()=>X()),J}function F6(Q,Z){if(!Z||Z.canceled)return;if(Z.canceled=!0,Z.kind==="api"&&typeof Q.api?.cancelRaf==="function")try{Q.api.cancelRaf(Z.id)}catch{}else if(Z.kind==="native"&&typeof Z.id==="number")Q.document.defaultView?.cancelAnimationFrame(Z.id)}var $G=JQ("
      ");function hG(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(Y)=>e(J,Y,!0)));var X=$G();d0(X,(Y,K)=>m9?.(Y,K),()=>Z.ctx),jQ((Y,K)=>{EZ(X,1,Y),u(X,"id",K)},[()=>`slex-column${R(J).class?` ${c(R(J).class)}`:""}`,()=>R(J).id?c(R(J).id):void 0]),i(Q,X),bQ()}var mG='',gG='',cG='',uG='',dG='',lG='',pG='',aG='',iG='',nG='',sG='',rG='',tG='',oG='',eG='',QE='',ZE='',JE='',XE='',YE='',KE='',jE='',UE='',FE='',RE='',AE='',WE='',qE='',GE='',EE='',zE='',LE='',IE='',HE='',VE='',BE='',DE='',OE='',ME='',PE='',TE='',CE='',SE='',NE='',wE='',kE='',yE='',_E='',vE={"caret-down":mG,check:gG,"circle-half":cG,list:uG,moon:dG,sun:lG,code:pG,"book-open-text":aG,"cursor-click":iG,"gear-six":nG,nut:sG,screwdriver:rG,sparkle:tG,"terminal-window":oG,wrench:eG,copy:QE,eye:ZE,"arrow-square-out":JE,"split-horizontal":XE,"square-half":YE,"square-split-horizontal":KE,file:jE,"markdown-logo":UE,x:FE},fE={"caret-down":RE,check:AE,"circle-half":WE,list:qE,moon:GE,sun:EE,code:zE,"book-open-text":LE,"cursor-click":IE,"gear-six":HE,nut:VE,screwdriver:BE,sparkle:DE,"terminal-window":OE,wrench:ME,copy:PE,eye:TE,"arrow-square-out":CE,"split-horizontal":SE,"square-half":NE,"square-split-horizontal":wE,file:kE,"markdown-logo":yE,x:_E},bE="https://api.iconify.design",R6=new Map;function HX(Q){return Q===!0||Q===""||Q==="true"||Q==="page"||Q==="step"}function Q7(Q){return Q.trim().replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z])/g,"$1-$2").replace(/[\s_]+/g,"-").replace(/-+/g,"-").toLowerCase()}function aU(Q){let Z=Q7(Q);if(Z==="phosphor"||Z==="phosphor-icons")return"ph";return Z}function xE(Q){let Z=Q.trim(),J=Z.indexOf(":");return Q7(J>=0?Z.slice(J+1):Z)}function $E(Q){let Z=Q.trim(),J=Z.indexOf(":");return J<0||aU(Z.slice(0,J))==="ph"}function iU(Q,Z="regular"){let J=Q.trim();if(!J||J.includes("/")||J.includes("\\")||J.startsWith(".")||J.startsWith("http:")||J.startsWith("https:"))return null;let X=J.indexOf(":"),Y=X>=0?aU(J.slice(0,X)):"ph",K=Q7(X>=0?J.slice(X+1):J);if(!Y||!K||!/^[a-z0-9-]+$/.test(Y)||!/^[a-z0-9-]+$/.test(K))return null;if(Y==="ph"&&Z7(Z)==="duotone"&&!K.endsWith("-duotone"))K=`${K}-duotone`;return{prefix:Y,name:K}}function Z7(Q="regular"){if(typeof Q==="string")return Q;if(Q.weight)return Q.weight;return HX(Q.selected)||HX(Q.active)||HX(Q.pressed)||HX(Q.current)?"duotone":"regular"}function nU(Q,Z="regular"){if(!$E(Q))return"";let J=xE(Q),X=vE[J]??"";if(Z7(Z)==="duotone")return fE[J]??X;return X}function cX(Q,Z="regular"){let J=iU(Q,Z);return J?`${J.prefix}:${J.name}`:""}function hE(Q,Z="regular"){let J=iU(Q,Z);if(!J)return"";return`${bE}/${J.prefix}/${J.name}.svg?width=1em&height=1em`}function mE(Q){let Z=Q.trim();if(!/^]/i.test(Z)||!/<\/svg>$/i.test(Z))return"";if(/<(?:script|foreignObject|iframe|object|embed|link|style)\b/i.test(Z))return"";if(/\son[a-z]+\s*=/i.test(Z))return"";if(/(?:href|xlink:href)\s*=\s*["']\s*javascript:/i.test(Z))return"";return Z}async function gE(Q){if(!Q||typeof fetch!=="function")return"";try{let Z=await fetch(Q,{credentials:"omit",cache:"force-cache"});if(!Z.ok)return"";return mE(await Z.text())}catch{return""}}async function cE(Q,Z="regular"){let J=nU(Q,Z);if(J)return J;let X=cX(Q,Z),Y=hE(Q,Z);if(!X||!Y)return"";let K=R6.get(X);if(!K)K=gE(Y),R6.set(X,K);return K}var A6=new Map;function gK(Q){return Q.trim().replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z])/g,"$1-$2").replace(/[\s_]+/g,"-").replace(/-+/g,"-").toLowerCase()}function uE(Q){let Z=gK(Q);if(Z==="phosphor"||Z==="phosphor-icons")return"ph";return Z}function dE(Q){let Z=Q.trim(),J=Z.indexOf(":");if(J<0)return gK(Z);return`${uE(Z.slice(0,J))}:${gK(Z.slice(J+1))}`}function W6(Q,Z="regular"){return`${dE(Q)}|${sU(Z)}`}function lE(Q,Z="regular"){return A6.get(W6(Q,Z))??A6.get(W6(Q,"regular"))??""}function uX(Q,Z="regular"){return lE(Q,Z)||nU(Q,Z)}async function pE(Q,Z="regular"){return uX(Q,Z)||cE(Q,Z)}function sU(Q="regular"){return Z7(Q)}var aE=JQ('');function aQ(Q,Z){fQ(Z,!0);let J=FZ(Z,"selected",3,!1),X=FZ(Z,"active",3,!1),Y=FZ(Z,"pressed",3,!1),K=FZ(Z,"current",3,!1),j=FZ(Z,"className",3,""),U=EQ(kQ({})),F=0,A=l(()=>c(Z.name));function G(){return{selected:J(),active:X(),pressed:Y(),current:K(),weight:Z.weight}}function z(){return!!(J()||X()||Y()||K()||Z.weight&&Z.weight!=="regular")}function L(){if(!R(A))return"";let O=G(),S=uX(R(A),O)||R(U)[cX(R(A),O)]||"";if(S)return S;return z()?uX(R(A))||R(U)[cX(R(A))]||"":""}yQ(()=>{let O=R(A);if(!O)return;let S=G(),P=cX(O,S);if(uX(O,S)||R(U)[P])return;let T=++F;pE(O,S).then((k)=>{if(T!==F||!k)return;e(U,{...R(U),[P]:k},!0),Z.onIconLoad?.()})});var E=Q0(),D=VZ(E);{var H=(O)=>{var S=aE();vU(S,L,!0),m(S),jQ((P)=>EZ(S,1,P),[()=>P0(`slex-icon ${j()}`.trim())]),i(O,S)},V=l(()=>L());UQ(D,(O)=>{if(R(V))O(H)})}i(Q,E),bQ()}var iE=JQ(" "),nE=JQ('
      '),sE=JQ('
      ');function rE(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(U)=>e(J,U,!0)));var X=sE(),Y=g(X);{var K=(U)=>{var F=nE(),A=g(F);{var G=(E)=>{aQ(E,{get name(){return R(J).icon},className:"slex-card-icon"})};UQ(A,(E)=>{if(R(J).icon)E(G)})}var z=GQ(A);{var L=(E)=>{var D=iE(),H=g(D,!0);m(D),jQ((V)=>IQ(H,V),[()=>c(R(J).title)]),i(E,D)};UQ(z,(E)=>{if(R(J).title)E(L)})}m(F),i(U,F)};UQ(Y,(U)=>{if(R(J).title||R(J).icon)U(K)})}var j=GQ(Y,2);d0(j,(U,F)=>m9?.(U,F),()=>Z.ctx),m(X),jQ((U)=>u(X,"data-tone",U),[()=>R(J).tone?c(R(J).tone):void 0]),i(Q,X),bQ()}var tE=JQ("
      ");function oE(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(j)=>e(J,j,!0)));function X(j,U=1){let F=Number(j??U);return Number.isFinite(F)?String(F):String(U)}var Y=tE();let K;d0(Y,(j,U)=>m9?.(j,U),()=>Z.ctx),jQ((j,U,F,A,G,z,L,E)=>{EZ(Y,1,j),u(Y,"id",U),u(Y,"data-cols",F),u(Y,"data-cols-sm",A),u(Y,"data-cols-md",G),u(Y,"data-cols-lg",z),u(Y,"data-cols-xl",L),K=GJ(Y,"",K,E)},[()=>`slex-grid${R(J).class?` ${c(R(J).class)}`:""}`,()=>R(J).id?c(R(J).id):void 0,()=>X(R(J).columns),()=>R(J).smColumns===void 0?void 0:X(R(J).smColumns,Number(R(J).columns??1)),()=>X(R(J).mdColumns,Number(R(J).columns??1)),()=>R(J).lgColumns===void 0?void 0:X(R(J).lgColumns,Number(R(J).mdColumns??R(J).columns??1)),()=>R(J).xlColumns===void 0?void 0:X(R(J).xlColumns,Number(R(J).lgColumns??R(J).mdColumns??R(J).columns??1)),()=>({gap:c(R(J).gap)})]),i(Q,Y),bQ()}function eE({itemCount:Q,containerWidth:Z,targetTileWidth:J=136,gap:X=16}){if(!Number.isFinite(Q)||Q<=1)return Math.max(1,Math.floor(Q||1));let Y=Number.isFinite(Z)&&Z>0?Z:1/0,K=Math.max(80,J),j=Math.max(0,X),U=Number.isFinite(Y)?Math.max(1,Math.min(Q,Math.floor((Y+j)/(K+j)))):Q;if(U>=Q)return Q;let F=1,A=Number.POSITIVE_INFINITY;for(let G=1;G<=U;G+=1){let z=Math.ceil(Q/G),L=Q-G*(z-1),E=z>1&&L===1?100:0,D=z>1?(G-L)/G*10:0,H=z,V=(U-G)*0.05,O=E+D+H+V;if(O1&&K>0&&K{return j&&Math.floor(z/X)===Y-1?A:F})}}function Zz(Q,Z){let J=Math.abs(Math.floor(Q)),X=Math.abs(Math.floor(Z));while(X>0){let Y=J%X;J=X,X=Y}return J||1}function Jz(Q,Z){return Math.max(1,Math.abs(Math.floor(Q*Z/Zz(Q,Z))))}var Xz=JQ("
      ");function Yz(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(F)=>e(J,F,!0)));function X(F){if(F.length<2)return null;if(F.every((A)=>A.classList.contains("slex-stat")))return"stat";if(F.every((A)=>A.classList.contains("slex-card")))return"card";return null}function Y(F,A){let G=Number.parseFloat(F);return Number.isFinite(G)?G:A}function K(F,A){let G=m9(F,Z.ctx),z=A,L=!1,E=()=>{F.classList.remove("slex-row--balanced-tiles"),F.removeAttribute("data-tile-kind"),F.style.removeProperty("--slex-balanced-cols"),F.style.removeProperty("--slex-balanced-tracks");for(let S of Array.from(F.children))if(S instanceof HTMLElement)S.style.removeProperty("grid-column")},D=()=>{if(L=!1,E(),z.disabled)return;let S=Array.from(F.children),P=X(S);if(!P)return;let T=getComputedStyle(F),k=Y(T.columnGap||T.gap,16),M=Y(T.getPropertyValue("--slex-balanced-tile-width"),136),C=F.getBoundingClientRect().width||F.clientWidth,N=eE({itemCount:S.length,containerWidth:C,targetTileWidth:M,gap:k}),_=Qz(S.length,N);F.classList.add("slex-row--balanced-tiles"),F.dataset.tileKind=P,F.style.setProperty("--slex-balanced-cols",String(_.columns)),F.style.setProperty("--slex-balanced-tracks",String(_.tracks)),S.forEach((x,v)=>{if(x instanceof HTMLElement)x.style.gridColumn=`span ${_.spans[v]}`})},H=()=>{if(L)return;L=!0,queueMicrotask(D)},V=new ResizeObserver(H);V.observe(F);let O=new MutationObserver(H);return O.observe(F,{childList:!0}),H(),{update(S){z=S,H()},destroy(){V.disconnect(),O.disconnect(),G.destroy()}}}var j=Xz();let U;d0(j,(F,A)=>K?.(F,A),()=>({disabled:!!(R(J).align||R(J).justify)})),jQ((F,A,G)=>{EZ(j,1,F),u(j,"id",A),U=GJ(j,"",U,G)},[()=>`slex-row${R(J).class?` ${c(R(J).class)}`:""}`,()=>R(J).id?c(R(J).id):void 0,()=>({"align-items":c(R(J).align),"justify-content":c(R(J).justify),gap:c(R(J).gap)})]),i(Q,j),bQ()}var Kz=JQ('
      ');function jz(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(0),Y=EQ(null);yQ(()=>dQ(Z.props,(v)=>{e(J,v,!0),e(X,v.value??0,!0)}));function K(v){e(X,v,!0),E(v),cZ(Z.ctx,"change",v)}function j(v,b){let h=Number(v??b);return Number.isFinite(h)?h:b}function U(v,b,h){let p=j(b,0),d=j(h,100),XQ=j(v,p);if(d<=p)return"0%";let KQ=Math.min(1,Math.max(0,(XQ-p)/(d-p)));return`${Math.round(KQ*1e4)/100}%`}function F(){let v=j(R(J).step,1);return v>0?v:1}function A(){let v=j(R(J).min,0),b=j(R(J).max,100);if(b<=v)return 0;return Math.round((b-v)/F())}function G(v){let b=j(R(J).min,0);return Math.round((j(v,b)-b)/F())}function z(v=8){if(R(J).haptic===!1||R(J).haptics===!1)return;globalThis.navigator?.vibrate?.(v)}function L(){e(Y,G(R(X)),!0),z(8)}function E(v){if(A()>20)return;let b=G(v);if(b===R(Y))return;e(Y,b,!0),z(5)}var D=Kz(),H=g(D),V=g(H),O=g(V);{var S=(v)=>{aQ(v,{get name(){return R(J).icon},className:"slex-slider-icon"})};UQ(O,(v)=>{if(R(J).icon)v(S)})}var P=GQ(O,2),T=g(P,!0);m(P),m(V);var k=GQ(V,2),M=g(k,!0),C=GQ(M);{var N=(v)=>{var b=jJ();jQ((h)=>IQ(b,h),[()=>c(R(J).unit)]),i(v,b)};UQ(C,(v)=>{if(R(J).unit)v(N)})}m(k),m(H);var _=GQ(H,2),x=GQ(g(_),2);EJ(x),m(_),m(D),jQ((v,b,h,p,d,XQ,KQ,o,r)=>{u(D,"data-orientation",v),IQ(T,b),IQ(M,h),GJ(_,p),u(x,"min",d),u(x,"max",XQ),u(x,"step",KQ),gU(x,o),x.disabled=!!R(J).disabled,u(x,"aria-label",r)},[()=>c(R(J).orientation,"horizontal"),()=>c(R(J).label??Z.componentName),()=>c(R(X)??0),()=>`--slex-slider-progress: ${U(R(X),R(J).min,R(J).max)}`,()=>Number(R(J).min??0),()=>Number(R(J).max??100),()=>Number(R(J).step??1),()=>Number(R(X)??0),()=>c(R(J)["aria-label"]??R(J).ariaLabel??R(J).label??Z.componentName)]),lQ("pointerdown",x,L),lQ("input",x,(v)=>K(Number(v.target.value))),i(Q,D),bQ()}uZ(["pointerdown","input"]);var Uz=JQ(' '),Fz=JQ(" "),Rz=JQ(' '),Az=JQ('');function Wz(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(L)=>e(J,L,!0)));function X(){let L=c(R(J).type??R(J).variant??"primary");if(L==="destructive")return"danger";if(L==="default")return"primary";return L}function Y(){return sU({selected:R(J).selected,active:R(J).active,pressed:R(J).pressed})==="duotone"}function K(){return!!(R(J).iconOnly||R(J).icon&&!R(J).label)}function j(){return b9(Z.ctx,"button.label",R(J).label??R(J).title??R(J)["aria-label"]??R(J).ariaLabel,Z.componentName)}function U(L){if(R(J).disabled)return;cZ(Z.ctx,"click",{type:"click",target:Z.ctx.id,native:L})}var F=Q0(),A=VZ(F);{var G=(L)=>{var E=Fz(),D=g(E);{var H=(T)=>{aQ(T,{get name(){return R(J).icon},get active(){return R(J).active},get selected(){return R(J).selected},get pressed(){return R(J).pressed},className:"slex-button-icon"})};UQ(D,(T)=>{if(R(J).icon)T(H)})}var V=GQ(D,2);{var O=(T)=>{var k=Uz(),M=g(k,!0);m(k),jQ((C)=>IQ(M,C),[()=>j()]),i(T,k)},S=l(()=>K()),P=(T)=>{var k=jJ();jQ((M)=>IQ(k,M),[()=>j()]),i(T,k)};UQ(V,(T)=>{if(R(S))T(O);else T(P,-1)})}m(E),jQ((T,k,M,C,N,_,x)=>{EZ(E,1,T),u(E,"href",k),u(E,"target",M),u(E,"rel",R(J).target==="_blank"?"noreferrer":void 0),u(E,"aria-disabled",R(J).disabled?"true":void 0),u(E,"data-selected",C),u(E,"aria-pressed",N),u(E,"title",_),u(E,"aria-label",x)},[()=>`slex-button slex-button--${X()} ${K()?"slex-button--icon":""} ${R(J).disabled?"slex-button--disabled":""}`,()=>R(J).disabled?void 0:c(R(J).href),()=>c(R(J).target)||void 0,()=>Y()?"":void 0,()=>R(J).pressed===void 0?void 0:Y(),()=>c(R(J).title??R(J).label),()=>c(R(J)["aria-label"]??R(J).ariaLabel??R(J).title??R(J).label)||void 0]),i(L,E)},z=(L)=>{var E=Az(),D=g(E);{var H=(T)=>{aQ(T,{get name(){return R(J).icon},get active(){return R(J).active},get selected(){return R(J).selected},get pressed(){return R(J).pressed},className:"slex-button-icon"})};UQ(D,(T)=>{if(R(J).icon)T(H)})}var V=GQ(D,2);{var O=(T)=>{var k=Rz(),M=g(k,!0);m(k),jQ((C)=>IQ(M,C),[()=>j()]),i(T,k)},S=l(()=>K()),P=(T)=>{var k=jJ();jQ((M)=>IQ(k,M),[()=>j()]),i(T,k)};UQ(V,(T)=>{if(R(S))T(O);else T(P,-1)})}m(E),jQ((T,k,M,C,N)=>{EZ(E,1,T),E.disabled=!!R(J).disabled,u(E,"data-selected",k),u(E,"aria-pressed",M),u(E,"title",C),u(E,"aria-label",N)},[()=>`slex-button slex-button--${X()} ${K()?"slex-button--icon":""}`,()=>Y()?"":void 0,()=>R(J).pressed===void 0?void 0:Y(),()=>c(R(J).title??R(J).label),()=>c(R(J)["aria-label"]??R(J).ariaLabel??R(J).title??R(J).label)||void 0]),lQ("click",E,U),i(L,E)};UQ(A,(L)=>{if(R(J).href)L(G);else L(z,-1)})}i(Q,F),bQ()}uZ(["click"]);var qz=JQ('');function Gz(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(!1),Y=0;yQ(()=>dQ(Z.props,(V)=>{e(J,V,!0),e(X,!!(V.checked??V.value))}));function K(V){if(R(J).disabled)return;e(X,V.target.checked,!0),cZ(Z.ctx,"change",R(X))}function j(V=8){if(R(J).haptic===!1||R(J).haptics===!1||R(J).disabled)return;globalThis.navigator?.vibrate?.(V)}function U(V=8){let O=Date.now();if(O-Y<80)return;Y=O,j(V)}var F=qz(),A=g(F),G=g(A);EJ(G);var z=GQ(G,2),L=g(z);{var E=(V)=>{aQ(V,{get name(){return R(J).icon},className:"slex-checkbox-icon"})};UQ(L,(V)=>{if(R(J).icon)V(E)})}var D=GQ(L,2),H=g(D,!0);m(D),m(z),m(A),m(F),jQ((V,O)=>{u(A,"data-disabled",R(J).disabled?"true":void 0),G.disabled=!!R(J).disabled,u(G,"data-state",R(X)?"checked":"unchecked"),u(G,"aria-label",V),IQ(H,O)},[()=>c(R(J)["aria-label"]??R(J).ariaLabel??R(J).label)||void 0,()=>c(R(J).label)]),lQ("pointerdown",F,()=>U(8)),lQ("click",F,()=>U(8)),lQ("change",G,K),uU(G,()=>R(X),(V)=>e(X,V)),i(Q,F),bQ()}uZ(["pointerdown","click","change"]);var Ez=JQ('');function zz(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(!1),Y=0;yQ(()=>dQ(Z.props,(V)=>{e(J,V,!0),e(X,!!(V.enabled??V.checked??V.value))}));function K(V){if(R(J).disabled)return;e(X,V.target.checked,!0),cZ(Z.ctx,"change",R(X))}function j(V=8){if(R(J).haptic===!1||R(J).haptics===!1||R(J).disabled)return;globalThis.navigator?.vibrate?.(V)}function U(V=8){let O=Date.now();if(O-Y<80)return;Y=O,j(V)}var F=Ez(),A=g(F),G=g(A);EJ(G);var z=GQ(G,4),L=g(z);{var E=(V)=>{aQ(V,{get name(){return R(J).icon},className:"slex-switch-icon"})};UQ(L,(V)=>{if(R(J).icon)V(E)})}var D=GQ(L,2),H=g(D,!0);m(D),m(z),m(A),m(F),jQ((V,O)=>{u(A,"data-state",R(X)?"on":"off"),u(A,"data-disabled",R(J).disabled?"true":void 0),G.disabled=!!R(J).disabled,u(G,"aria-label",V),IQ(H,O)},[()=>c(R(J)["aria-label"]??R(J).ariaLabel??R(J).label)||void 0,()=>c(R(J).label)]),lQ("pointerdown",F,()=>U(8)),lQ("click",F,()=>U(8)),lQ("change",G,K),uU(G,()=>R(X),(V)=>e(X,V)),i(Q,F),bQ()}uZ(["pointerdown","click","change"]);var Lz=0,Iz=JQ(''),Hz=JQ(''),Vz=JQ('
      '),Bz=JQ(''),Dz=JQ('
      ');function Oz(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(""),Y=`slex-input-${++Lz}`,K=l(()=>c(R(J).label)),j=l(()=>c(R(J).unit)),U=l(()=>c(R(J).description??R(J).help??R(J).hint)),F=l(()=>c(R(J).error??R(J).errorMessage)),A=l(()=>z9(R(J).disabled)),G=l(()=>z9(R(J).readonly)||z9(R(J).readOnly)),z=l(()=>z9(R(J).required)),L=l(()=>z9(R(J).invalid)||!!R(F)),E=l(()=>T(Z.componentName)),D=l(()=>c(R(J).id)||(R(E)?`slex-input-${R(E)}`:Y)),H=l(()=>`${R(D)}-description`),V=l(()=>`${R(D)}-error`),O=l(()=>c(R(J)["aria-label"]??R(J).ariaLabel)),S=l(()=>R(O)||(R(K)?"":c(R(J).placeholder))),P=l(()=>[R(U)?R(H):"",R(F)?R(V):""].filter(Boolean).join(" "));yQ(()=>dQ(Z.props,(o)=>{e(J,o,!0),e(X,c(o.value),!0)}));function T(o){return o.trim().replace(/[^\w-]+/g,"-")}function k(){return c(R(J).type,"text")==="engineering"?"text":c(R(J).type,"text")}function M(o){if(R(A)||R(G))return;e(X,o.target.value,!0),cZ(Z.ctx,"change",c(R(J).type,"text")==="engineering"?WY(R(X)):R(X))}var C=Dz(),N=g(C);{var _=(o)=>{var r=Iz(),$=g(r,!0);m(r),jQ(()=>{u(r,"for",R(D)),IQ($,R(K))}),i(o,r)};UQ(N,(o)=>{if(R(K))o(_)})}var x=GQ(N,2),v=g(x);EJ(v);var b=GQ(v,2);{var h=(o)=>{var r=Hz(),$=g(r,!0);m(r),jQ(()=>IQ($,R(j))),i(o,r)};UQ(b,(o)=>{if(R(j))o(h)})}m(x);var p=GQ(x,2);{var d=(o)=>{var r=Vz(),$=g(r,!0);m(r),jQ(()=>{u(r,"id",R(H)),IQ($,R(U))}),i(o,r)};UQ(p,(o)=>{if(R(U))o(d)})}var XQ=GQ(p,2);{var KQ=(o)=>{var r=Bz(),$=g(r,!0);m(r),jQ(()=>{u(r,"id",R(V)),IQ($,R(F))}),i(o,r)};UQ(XQ,(o)=>{if(R(F))o(KQ)})}m(C),jQ((o,r,$,LQ,zQ,PQ,xQ)=>{u(C,"data-invalid",R(L)?"true":void 0),u(C,"data-required",R(z)?"true":void 0),u(C,"data-readonly",R(G)?"true":void 0),u(x,"data-has-unit",R(j)?"true":void 0),u(v,"id",R(D)),u(v,"type",o),u(v,"inputmode",r),u(v,"name",$),u(v,"placeholder",LQ),v.disabled=R(A),v.readOnly=R(G),v.required=R(z),u(v,"min",zQ),u(v,"max",PQ),u(v,"step",xQ),u(v,"aria-label",R(S)||void 0),u(v,"aria-describedby",R(P)||void 0),u(v,"aria-invalid",R(L)?"true":void 0)},[()=>k(),()=>c(R(J).type,"text")==="engineering"?"decimal":void 0,()=>c(R(J).name)||void 0,()=>c(R(J).placeholder),()=>R(J).min===void 0?void 0:c(R(J).min),()=>R(J).max===void 0?void 0:c(R(J).max),()=>R(J).step===void 0?void 0:c(R(J).step)]),lQ("input",v,M),MG(v,()=>R(X),(o)=>e(X,o)),i(Q,C),bQ()}uZ(["input"]);var Mz=JQ(" "),Pz=JQ('
      '),Tz=JQ(''),Cz=JQ('
      ');function Sz(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(void 0),Y=new Map;yQ(()=>dQ(Z.props,(E)=>{e(J,E,!0),e(X,E.value,!0)}));function K(E){e(X,E,!0),cZ(Z.ctx,"change",E)}function j(E,D=8){if(E||R(J).haptic===!1||R(J).haptics===!1)return;globalThis.navigator?.vibrate?.(D)}function U(E,D,H=8){let V=Date.now();if(V-(Y.get(E)??0)<80)return;Y.set(E,V),j(D,H)}function F(){return c(R(J).name??Z.ctx.id,Z.ctx.id)}var A=Cz(),G=g(A);{var z=(E)=>{var D=Pz(),H=g(D);{var V=(P)=>{aQ(P,{get name(){return R(J).icon},className:"slex-radio-group-icon"})};UQ(H,(P)=>{if(R(J).icon)P(V)})}var O=GQ(H,2);{var S=(P)=>{var T=Mz(),k=g(T,!0);m(T),jQ((M)=>IQ(k,M),[()=>c(R(J).label)]),i(P,T)};UQ(O,(P)=>{if(R(J).label)P(S)})}m(D),i(E,D)};UQ(G,(E)=>{if(R(J).label||R(J).icon)E(z)})}var L=GQ(G,2);rZ(L,21,()=>dJ(R(J).options),F0,(E,D)=>{let H=l(()=>R(D).value??R(D).label),V=l(()=>!!R(D).disabled||!!R(J).disabled),O=l(()=>c(R(H)));var S=Tz(),P=g(S),T=g(P);EJ(T);var k=GQ(T,2),M=g(k);{var C=(x)=>{{let v=l(()=>R(H)===R(X));aQ(x,{get name(){return R(D).icon},get selected(){return R(v)},className:"slex-radio-icon"})}};UQ(M,(x)=>{if(R(D).icon)x(C)})}var N=GQ(M,2),_=g(N,!0);m(N),m(k),m(P),m(S),jQ((x,v,b)=>{u(P,"data-disabled",R(V)?"true":void 0),u(T,"name",x),gU(T,v),HG(T,R(H)===R(X)),T.disabled=R(V),u(T,"data-state",R(H)===R(X)?"checked":"unchecked"),IQ(_,b)},[()=>F(),()=>c(R(H)),()=>c(R(D).label)]),lQ("pointerdown",S,()=>U(R(O),R(V),8)),lQ("click",S,()=>U(R(O),R(V),8)),lQ("change",T,()=>K(R(H))),i(E,S)}),m(L),m(A),jQ((E,D)=>{u(A,"data-orientation",E),u(A,"aria-label",D)},[()=>c(R(J).orientation,"vertical"),()=>c(R(J)["aria-label"]??R(J).ariaLabel??R(J).label)||void 0]),i(Q,A),bQ()}uZ(["pointerdown","click","change"]);var Nz=JQ(" "),wz=JQ(''),kz=JQ(''),yz=JQ('
    • '),_z=JQ('
        '),vz=JQ(""),fz=JQ('
        ');function bz(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(""),Y=EQ(!1),K=EQ(-1),j=EQ(null),U=l(()=>c(R(J)["aria-label"]??R(J).ariaLabel)),F=l(()=>`slex-select-${Z.ctx.id}`),A=l(()=>`${R(F)}-label`),G=l(()=>`${R(F)}-value`),z=l(()=>`${R(F)}-listbox`);yQ(()=>dQ(Z.props,(a)=>{e(J,a,!0),e(X,a.value??"",!0),e(K,S(),!0)}));let L=l(()=>dJ(R(J).options).map((a)=>({label:c(a.label??a.value),value:c(a.value??a.label),disabled:!!a.disabled,icon:a.icon}))),E=l(()=>b9(Z.ctx,"select.placeholder",R(J).placeholder,"Select...")),D=l(()=>R(L).find((a)=>a.value===c(R(X)))),H=l(()=>R(D)?.label||R(E)),V=l(()=>R(Y)&&R(K)>=0?`${R(F)}-option-${R(K)}`:void 0);NG(()=>{function a(WQ){let SQ=WQ.target;if(!SQ||!R(j)?.closest(".slex-select")?.contains(SQ))C(!1)}return document.addEventListener("mousedown",a),()=>document.removeEventListener("mousedown",a)});function O(a){if(R(J).disabled)return;e(X,a,!0),e(K,S(),!0),C(),cZ(Z.ctx,"change",a),cZ(Z.ctx,"select",a)}function S(){return R(L).findIndex((a)=>a.value===c(R(X)))}function P(){return R(L).findIndex((a)=>!a.disabled)}function T(){for(let a=R(L).length-1;a>=0;a-=1)if(!R(L)[a].disabled)return a;return-1}function k(a){if(!R(L).length){e(K,-1);return}let SQ=R(K)>=0?R(K):S();for(let pQ=0;pQ=0&&!R(L)[WQ]?.disabled?WQ:a>0?P():T(),!0)}function C(a=!0){if(e(Y,!1),e(K,S(),!0),a)mK(Z.ctx,()=>R(j)?.focus())}function N(){if(R(Y))C(!1);else M()}function _(a){if(R(J).disabled)return;if(!R(Y)&&(a.key==="Enter"||a.key===" "||a.key==="ArrowDown"||a.key==="ArrowUp")){a.preventDefault(),M(a.key==="ArrowUp"?-1:1);return}if(!R(Y))return;if(a.key==="ArrowDown")a.preventDefault(),k(1);else if(a.key==="ArrowUp")a.preventDefault(),k(-1);else if(a.key==="Home")a.preventDefault(),e(K,P(),!0);else if(a.key==="End")a.preventDefault(),e(K,T(),!0);else if(a.key==="Enter"||a.key===" "){a.preventDefault();let WQ=R(L)[R(K)];if(WQ&&!WQ.disabled)O(WQ.value)}else if(a.key==="Escape")a.preventDefault(),C();else if(a.key==="Tab")C(!1)}var x=fz(),v=g(x);{var b=(a)=>{var WQ=wz(),SQ=g(WQ);{var pQ=(zZ)=>{aQ(zZ,{get name(){return R(J).icon},className:"slex-select-label-icon"})};UQ(SQ,(zZ)=>{if(R(J).icon)zZ(pQ)})}var _Q=GQ(SQ,2);{var pZ=(zZ)=>{var sQ=Nz(),xZ=g(sQ,!0);m(sQ),jQ((MZ)=>IQ(xZ,MZ),[()=>c(R(J).label)]),i(zZ,sQ)};UQ(_Q,(zZ)=>{if(R(J).label)zZ(pZ)})}m(WQ),jQ(()=>{u(WQ,"id",R(A)),u(WQ,"for",R(F))}),i(a,WQ)};UQ(v,(a)=>{if(R(J).label||R(J).icon)a(b)})}var h=GQ(v,2),p=g(h),d=g(p);{var XQ=(a)=>{aQ(a,{get name(){return R(D).icon},selected:!0,className:"slex-select-value-icon"})};UQ(d,(a)=>{if(R(D)?.icon)a(XQ)})}var KQ=GQ(d,2),o=g(KQ,!0);m(KQ),m(p),tJ(2),m(h),lU(h,(a)=>e(j,a),()=>R(j));var r=GQ(h,2);{var $=(a)=>{var WQ=_z();rZ(WQ,21,()=>R(L),F0,(SQ,pQ,_Q)=>{let pZ=l(()=>R(pQ).value===c(R(X))),zZ=l(()=>_Q===R(K));var sQ=yz();let xZ;var MZ=g(sQ),YX=g(MZ);{var vY=(Y0)=>{aQ(Y0,{get name(){return R(pQ).icon},get selected(){return R(pZ)},className:"slex-select-option-icon"})};UQ(YX,(Y0)=>{if(R(pQ).icon)Y0(vY)})}var KX=GQ(YX,2),jX=g(KX,!0);m(KX),m(MZ);var UX=GQ(MZ,2);{var l9=(Y0)=>{var fY=kz();i(Y0,fY)};UQ(UX,(Y0)=>{if(R(pZ))Y0(l9)})}m(sQ),jQ(()=>{u(sQ,"id",`${R(F)}-option-${_Q}`),xZ=EZ(sQ,1,"slex-select-option",null,xZ,{"slex-select-option--active":R(zZ),"slex-select-option--selected":R(pZ)}),u(sQ,"aria-selected",R(pZ)),u(sQ,"aria-disabled",R(pQ).disabled||void 0),u(sQ,"data-disabled",R(pQ).disabled?"":void 0),IQ(jX,R(pQ).label)}),nq("mouseenter",sQ,()=>{if(!R(pQ).disabled)e(K,_Q,!0)}),lQ("mousedown",sQ,(Y0)=>Y0.preventDefault()),lQ("click",sQ,()=>{if(!R(pQ).disabled)O(R(pQ).value)}),i(SQ,sQ)}),m(WQ),jQ(()=>{u(WQ,"id",R(z)),u(WQ,"aria-labelledby",R(J).label?R(A):void 0),u(WQ,"aria-label",!R(J).label&&R(U)?R(U):void 0)}),i(a,WQ)};UQ(r,(a)=>{if(R(Y))a($)})}var LQ=GQ(r,2),zQ=g(LQ),PQ=g(zQ,!0);m(zQ),zQ.value=zQ.__value="";var xQ=GQ(zQ);rZ(xQ,17,()=>R(L),F0,(a,WQ)=>{var SQ=vz(),pQ=g(SQ,!0);m(SQ);var _Q={};jQ(()=>{if(SQ.disabled=R(WQ).disabled,IQ(pQ,R(WQ).label),_Q!==(_Q=R(WQ).value))SQ.value=(SQ.__value=R(WQ).value)??""}),i(a,SQ)}),m(LQ),m(x),jQ((a,WQ)=>{u(x,"data-variant",a),u(h,"id",R(F)),h.disabled=!!R(J).disabled,u(h,"aria-expanded",R(Y)),u(h,"aria-controls",R(z)),u(h,"aria-activedescendant",R(V)),u(h,"aria-labelledby",R(J).label?`${R(A)} ${R(G)}`:void 0),u(h,"aria-label",!R(J).label&&R(U)?R(U):void 0),u(p,"id",R(G)),u(p,"data-placeholder",R(D)?void 0:""),IQ(o,R(H)),LQ.disabled=!!R(J).disabled,LQ.required=!!R(J).required,u(LQ,"aria-label",R(U)||void 0),zQ.disabled=!!R(J).required,IQ(PQ,WQ)},[()=>c(R(J).variant,"default"),()=>b9(Z.ctx,"select.placeholder",R(J).placeholder,"Select...")]),lQ("click",h,N),lQ("keydown",h,_),lQ("change",LQ,(a)=>O(a.target.value)),qG(LQ,()=>R(X),(a)=>e(X,a)),i(Q,x),bQ()}uZ(["click","keydown","mousedown","change"]);var xz=JQ('
        ');function $z(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(G)=>e(J,G,!0)));function X(){if(R(J).disabled)return;let G=Z.ctx.g.__slexkitTool;if(!G?.submit)return;let z={};for(let L of Array.isArray(R(J).returnKeys)?R(J).returnKeys:[])z[String(L)]=String(L).split(".").reduce((E,D)=>E&&typeof E==="object"?E[D]:void 0,Z.ctx.g);G.submit(z)}function Y(){Z.ctx.g.__slexkitTool?.ignore?.()}var K=xz(),j=g(K),U=g(j,!0);m(j);var F=GQ(j,2),A=g(F,!0);m(F),m(K),jQ((G,z)=>{IQ(U,G),F.disabled=!!R(J).disabled,IQ(A,z)},[()=>b9(Z.ctx,"submit.ignore",R(J).ignoreLabel,"Ignore"),()=>b9(Z.ctx,"submit.submit",R(J).submitLabel,"Submit")]),lQ("click",j,Y),lQ("click",F,X),i(Q,K),bQ()}uZ(["click"]);function WZ(){let[Q,Z]=Zq();function J(){try{return Q()}catch{return}}return[J,Z]}var[r2,t2]=WZ(),[o2,e2]=WZ(),[QH,ZH]=WZ(),[JH,XH]=WZ(),[YH,KH]=WZ(),[jH,UH]=WZ(),[FH,RH]=WZ(),[AH,WH]=WZ(),[qH,GH]=WZ(),[hz,EH]=WZ(),[zH,LH]=WZ(),[IH,HH]=WZ(),[VH,BH]=WZ(),[DH,OH]=WZ(),[MH,PH]=WZ(),[TH,CH]=WZ(),[SH,NH]=WZ(),[wH,kH]=WZ(),[mz,gz]=WZ();function J7(Q){let Z=hz();return(Z&&"value"in Z?Z.value:Z)?.[Q]}function rU(Q,Z,J){if(!t)return;let X=Object.keys(Z).filter((A)=>Z[A]);if(X.length===0)return;let Y="",j=X.some((A)=>J?.[A]==="class")?'"classes" or "class"':'"classes"';if(J){let A=[],G=[];for(let L of X){let E=J[L],D=Z[L];if(!E||!D)continue;if(E==="class")A.push(`class="${D}"`);else G.push(`${E}: "${D}"`)}let z=[];if(A.length>0)z.push(...A);if(G.length>0)z.push(`classes={{ ${G.join(", ")} }}`);if(z.length>0)Y=` Migration example: ${z.join(" ")}`}let U=Error().stack,F=cz(U);console.warn(`⚠️ The following "${Q}" props are deprecated: ${X.map((A)=>`"${A}"`).join(", ")}. `+`\uD83D\uDCA1 Please use the ${j} prop instead.${Y} `+(F?`\uD83D\uDD0D Used at: ${F}`:""))}function cz(Q){if(!Q)return null;let Z=Q.split(` -`).slice(2),X=Z[0]?.match(/(?:\()?(.*?\.svelte):\d+:\d+\)?$/)?.[1];for(let Y of Z){let j=Y.match(/(?:\()?(.*?\.svelte):\d+:\d+\)?$/)?.[1];if(j&&j!==X)return Y.trim().replace(/^at /,"")}return null}var cK=Symbol("singleton");function tU(Q=!1){if(Q)return QY(cK,{});let Z=kQ({value:null});return QY(cK,Z)}function uz(Q,Z,J){if(Z)Q.value=J??null;else if(Q.value===J)Q.value=null;return Q}function oU(Q){let Z=x8(cK)??tU(!1);if(!Z.hasOwnProperty?.("value"))return()=>Z;return yQ(()=>{if(Z.value!==null)Q(Z.value)}),(J,X)=>I0(()=>uz(Z,J,X))}var dz=/\s+/g,lz=(Q)=>{if(typeof Q!=="string"||!Q)return Q;return Q.replace(dz," ").trim()},YY=(...Q)=>{let Z=[],J=(X)=>{if(!X&&X!==0&&X!==0n)return;if(Array.isArray(X)){for(let K=0,j=X.length;K0?lz(Z.join(" ")):void 0},q6=(Q)=>Q===!1?"false":Q===!0?"true":Q===0?"0":Q,wZ=(Q)=>{if(!Q||typeof Q!=="object")return!0;for(let Z in Q)return!1;return!0},pz=(Q,Z)=>{if(Q===Z)return!0;if(!Q||!Z)return!1;let J=Object.keys(Q),X=Object.keys(Z);if(J.length!==X.length)return!1;for(let Y=0;Y{for(let J in Z)if(Object.prototype.hasOwnProperty.call(Z,J)){let X=Z[J];if(J in Q)Q[J]=YY(Q[J],X);else Q[J]=X}return Q},eU=(Q,Z)=>{for(let J=0;J{let Z=[];eU(Q,Z);let J=[];for(let X=0;X{let J={};for(let X in Q){let Y=Q[X];if(X in Z){let K=Z[X];if(Array.isArray(Y)||Array.isArray(K))J[X]=QF(K,Y);else if(typeof Y==="object"&&typeof K==="object"&&Y&&K)J[X]=uK(Y,K);else J[X]=K+" "+Y}else J[X]=Y}for(let X in Z)if(!(X in Q))J[X]=Z[X];return J},iz={twMerge:!0,twMergeConfig:{}};function nz(){let Q=null,Z={},J=!1;return{get cachedTwMerge(){return Q},set cachedTwMerge(X){Q=X},get cachedTwMergeConfig(){return Z},set cachedTwMergeConfig(X){Z=X},get didTwMergeConfigChange(){return J},set didTwMergeConfigChange(X){J=X},reset(){Q=null,Z={},J=!1}}}var f0=nz(),sz=(Q)=>{let Z=(X,Y)=>{let{extend:K=null,slots:j={},variants:U={},compoundVariants:F=[],compoundSlots:A=[],defaultVariants:G={}}=X,z={...iz,...Y},L=K?.base?YY(K.base,X?.base):X?.base,E=K?.variants&&!wZ(K.variants)?uK(U,K.variants):U,D=K?.defaultVariants&&!wZ(K.defaultVariants)?{...K.defaultVariants,...G}:G;if(!wZ(z.twMergeConfig)&&!pz(z.twMergeConfig,f0.cachedTwMergeConfig))f0.didTwMergeConfigChange=!0,f0.cachedTwMergeConfig=z.twMergeConfig;let H=wZ(K?.slots),V=!wZ(j)?{base:YY(X?.base,H&&K?.base),...j}:{},O=H?V:az({...K?.slots},wZ(V)?{base:X?.base}:V),S=wZ(K?.compoundVariants)?F:QF(K?.compoundVariants,F),P=(k)=>{if(wZ(E)&&wZ(j)&&H)return Q(L,k?.class,k?.className)(z);if(S&&!Array.isArray(S))throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof S}`);if(A&&!Array.isArray(A))throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof A}`);let M=(i,d=E,XQ=null,KQ=null)=>{let t=d[i];if(!t||wZ(t))return null;let o=KQ?.[i]??k?.[i];if(o===null)return null;let $=q6(o);if(typeof $==="object")return null;let LQ=D?.[i],zQ=$!=null?$:q6(LQ);return t[zQ||"false"]},C=()=>{if(!E)return null;let i=Object.keys(E),d=[];for(let XQ=0;XQ{if(!E||typeof E!=="object")return null;let XQ=[];for(let KQ in E){let t=M(KQ,E,i,d),o=i==="base"&&typeof t==="string"?t:t&&t[i];if(o)XQ.push(o)}return XQ},_={};for(let i in k){let d=k[i];if(d!==void 0)_[i]=d}let b=(i,d)=>{let XQ=typeof k?.[i]==="object"?{[i]:k[i]?.initial}:{};return{...D,..._,...XQ,...d}},f=(i=[],d)=>{let XQ=[],KQ=i.length;for(let t=0;t{let d=f(S,i);if(!Array.isArray(d))return d;let XQ={},KQ=Q;for(let t=0;t{if(A.length<1)return null;let d={},XQ=b(null,i);for(let KQ=0;KQ{let t=x(KQ),o=h(KQ);return d(O[XQ],N(XQ,KQ),t?t[XQ]:void 0,o?o[XQ]:void 0,KQ?.class,KQ?.className)(z)}}return i}return Q(L,C(),f(S),k?.class,k?.className)(z)},T=()=>{if(!E||typeof E!=="object")return;return Object.keys(E)};return P.variantKeys=T(),P.extend=K,P.base=L,P.slots=O,P.variants=E,P.defaultVariants=D,P.compoundSlots=A,P.compoundVariants=S,P};return{tv:Z,createTV:(X)=>{return(Y,K)=>Z(Y,K?uK(X,K):X)}}},rz=(Q,Z)=>{let J=Array(Q.length+Z.length);for(let X=0;X({classGroupId:Q,validator:Z}),ZF=(Q=new Map,Z=null,J)=>({nextPart:Q,validators:Z,classGroupId:J}),KY="-",G6=[],oz="arbitrary..",ez=(Q)=>{let Z=ZL(Q),{conflictingClassGroups:J,conflictingClassGroupModifiers:X}=Q;return{getClassGroupId:(j)=>{if(j.startsWith("[")&&j.endsWith("]"))return QL(j);let U=j.split(KY),F=U[0]===""&&U.length>1?1:0;return JF(U,F,Z)},getConflictingClassGroupIds:(j,U)=>{if(U){let F=X[j],A=J[j];if(F){if(A)return rz(A,F);return F}return A||G6}return J[j]||G6}}},JF=(Q,Z,J)=>{if(Q.length-Z===0)return J.classGroupId;let Y=Q[Z],K=J.nextPart.get(Y);if(K){let A=JF(Q,Z+1,K);if(A)return A}let j=J.validators;if(j===null)return;let U=Z===0?Q.join(KY):Q.slice(Z).join(KY),F=j.length;for(let A=0;AQ.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let Z=Q.slice(1,-1),J=Z.indexOf(":"),X=Z.slice(0,J);return X?oz+X:void 0})(),ZL=(Q)=>{let{theme:Z,classGroups:J}=Q;return JL(J,Z)},JL=(Q,Z)=>{let J=ZF();for(let X in Q){let Y=Q[X];X7(Y,J,X,Z)}return J},X7=(Q,Z,J,X)=>{let Y=Q.length;for(let K=0;K{if(typeof Q==="string"){YL(Q,Z,J);return}if(typeof Q==="function"){KL(Q,Z,J,X);return}jL(Q,Z,J,X)},YL=(Q,Z,J)=>{let X=Q===""?Z:XF(Z,Q);X.classGroupId=J},KL=(Q,Z,J,X)=>{if(UL(Q)){X7(Q(X),Z,J,X);return}if(Z.validators===null)Z.validators=[];Z.validators.push(tz(J,Q))},jL=(Q,Z,J,X)=>{let Y=Object.entries(Q),K=Y.length;for(let j=0;j{let J=Q,X=Z.split(KY),Y=X.length;for(let K=0;K("isThemeGetter"in Q)&&Q.isThemeGetter===!0,FL=(Q)=>{if(Q<1)return{get:()=>{return},set:()=>{}};let Z=0,J=Object.create(null),X=Object.create(null),Y=(K,j)=>{if(J[K]=j,Z++,Z>Q)Z=0,X=J,J=Object.create(null)};return{get(K){let j=J[K];if(j!==void 0)return j;if((j=X[K])!==void 0)return Y(K,j),j},set(K,j){if(K in J)J[K]=j;else Y(K,j)}}},dK="!",E6=":",RL=[],z6=(Q,Z,J,X,Y)=>({modifiers:Q,hasImportantModifier:Z,baseClassName:J,maybePostfixModifierPosition:X,isExternal:Y}),AL=(Q)=>{let{prefix:Z,experimentalParseClassName:J}=Q,X=(Y)=>{let K=[],j=0,U=0,F=0,A,G=Y.length;for(let H=0;HF?A-F:void 0;return z6(K,E,L,D)};if(Z){let Y=Z+E6,K=X;X=(j)=>j.startsWith(Y)?K(j.slice(Y.length)):z6(RL,!1,j,void 0,!0)}if(J){let Y=X;X=(K)=>J({className:K,parseClassName:Y})}return X},WL=(Q)=>{let Z=new Map;return Q.orderSensitiveModifiers.forEach((J,X)=>{Z.set(J,1e6+X)}),(J)=>{let X=[],Y=[];for(let K=0;K0)Y.sort(),X.push(...Y),Y=[];X.push(j)}else Y.push(j)}if(Y.length>0)Y.sort(),X.push(...Y);return X}},qL=(Q)=>({cache:FL(Q.cacheSize),parseClassName:AL(Q),sortModifiers:WL(Q),postfixLookupClassGroupIds:GL(Q),...ez(Q)}),GL=(Q)=>{let Z=Object.create(null),J=Q.postfixLookupClassGroups;if(J)for(let X=0;X{let{parseClassName:J,getClassGroupId:X,getConflictingClassGroupIds:Y,sortModifiers:K,postfixLookupClassGroupIds:j}=Z,U=[],F=Q.trim().split(EL),A="";for(let G=F.length-1;G>=0;G-=1){let z=F[G],{isExternal:L,modifiers:E,hasImportantModifier:D,baseClassName:H,maybePostfixModifierPosition:V}=J(z);if(L){A=z+(A.length>0?" "+A:A);continue}let O=!!V,S;if(O){let C=H.substring(0,V);S=X(C);let N=S&&j[S]?X(H):void 0;if(N&&N!==S)S=N,O=!1}else S=X(H);if(!S){if(!O){A=z+(A.length>0?" "+A:A);continue}if(S=X(H),!S){A=z+(A.length>0?" "+A:A);continue}O=!1}let P=E.length===0?"":E.length===1?E[0]:K(E).join(":"),T=D?P+dK:P,k=T+S;if(U.indexOf(k)>-1)continue;U.push(k);let M=Y(S,O);for(let C=0;C0?" "+A:A)}return A},LL=(...Q)=>{let Z=0,J,X,Y="";while(Z{if(typeof Q==="string")return Q;let Z,J="";for(let X=0;X{let J,X,Y,K,j=(F)=>{let A=Z.reduce((G,z)=>z(G),Q());return J=qL(A),X=J.cache.get,Y=J.cache.set,K=U,U(F)},U=(F)=>{let A=X(F);if(A)return A;let G=zL(F,J);return Y(F,G),G};return K=j,(...F)=>K(LL(...F))},IL=[],jZ=(Q)=>{let Z=(J)=>J[Q]||IL;return Z.isThemeGetter=!0,Z},KF=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,jF=/^\((?:(\w[\w-]*):)?(.+)\)$/i,HL=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,VL=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,BL=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,DL=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,OL=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ML=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,r0=(Q)=>HL.test(Q),NQ=(Q)=>!!Q&&!Number.isNaN(Number(Q)),H0=(Q)=>!!Q&&Number.isInteger(Number(Q)),eY=(Q)=>Q.endsWith("%")&&NQ(Q.slice(0,-1)),k0=(Q)=>VL.test(Q),UF=()=>!0,PL=(Q)=>BL.test(Q)&&!DL.test(Q),Y7=()=>!1,TL=(Q)=>OL.test(Q),CL=(Q)=>ML.test(Q),SL=(Q)=>!AQ(Q)&&!qQ(Q),NL=(Q)=>Q.startsWith("@container")&&(Q[10]==="/"&&Q[11]!==void 0||Q[11]==="s"&&Q[16]!==void 0&&Q.startsWith("-size/",10)||Q[11]==="n"&&Q[18]!==void 0&&Q.startsWith("-normal/",10)),wL=(Q)=>A9(Q,AF,Y7),AQ=(Q)=>KF.test(Q),G9=(Q)=>A9(Q,WF,PL),L6=(Q)=>A9(Q,$L,NQ),kL=(Q)=>A9(Q,GF,UF),yL=(Q)=>A9(Q,qF,Y7),I6=(Q)=>A9(Q,FF,Y7),_L=(Q)=>A9(Q,RF,CL),VX=(Q)=>A9(Q,EF,TL),qQ=(Q)=>jF.test(Q),BJ=(Q)=>g9(Q,WF),vL=(Q)=>g9(Q,qF),H6=(Q)=>g9(Q,FF),fL=(Q)=>g9(Q,AF),bL=(Q)=>g9(Q,RF),BX=(Q)=>g9(Q,EF,!0),xL=(Q)=>g9(Q,GF,!0),A9=(Q,Z,J)=>{let X=KF.exec(Q);if(X){if(X[1])return Z(X[1]);return J(X[2])}return!1},g9=(Q,Z,J=!1)=>{let X=jF.exec(Q);if(X){if(X[1])return Z(X[1]);return J}return!1},FF=(Q)=>Q==="position"||Q==="percentage",RF=(Q)=>Q==="image"||Q==="url",AF=(Q)=>Q==="length"||Q==="size"||Q==="bg-size",WF=(Q)=>Q==="length",$L=(Q)=>Q==="number",qF=(Q)=>Q==="family-name",GF=(Q)=>Q==="number"||Q==="weight",EF=(Q)=>Q==="shadow",pK=()=>{let Q=jZ("color"),Z=jZ("font"),J=jZ("text"),X=jZ("font-weight"),Y=jZ("tracking"),K=jZ("leading"),j=jZ("breakpoint"),U=jZ("container"),F=jZ("spacing"),A=jZ("radius"),G=jZ("shadow"),z=jZ("inset-shadow"),L=jZ("text-shadow"),E=jZ("drop-shadow"),D=jZ("blur"),H=jZ("perspective"),V=jZ("aspect"),O=jZ("ease"),S=jZ("animate"),P=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...T(),qQ,AQ],M=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],N=()=>[qQ,AQ,F],_=()=>[r0,"full","auto",...N()],b=()=>[H0,"none","subgrid",qQ,AQ],f=()=>["auto",{span:["full",H0,qQ,AQ]},H0,qQ,AQ],x=()=>[H0,"auto",qQ,AQ],h=()=>["auto","min","max","fr",qQ,AQ],i=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],d=()=>["start","end","center","stretch","center-safe","end-safe"],XQ=()=>["auto",...N()],KQ=()=>[r0,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...N()],t=()=>[r0,"screen","full","dvw","lvw","svw","min","max","fit",...N()],o=()=>[r0,"screen","full","lh","dvh","lvh","svh","min","max","fit",...N()],$=()=>[Q,qQ,AQ],LQ=()=>[...T(),H6,I6,{position:[qQ,AQ]}],zQ=()=>["no-repeat",{repeat:["","x","y","space","round"]}],PQ=()=>["auto","cover","contain",fL,wL,{size:[qQ,AQ]}],xQ=()=>[eY,BJ,G9],p=()=>["","none","full",A,qQ,AQ],WQ=()=>["",NQ,BJ,G9],SQ=()=>["solid","dashed","dotted","double"],pQ=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],_Q=()=>[NQ,eY,H6,I6],pZ=()=>["","none",D,qQ,AQ],zZ=()=>["none",NQ,qQ,AQ],sQ=()=>["none",NQ,qQ,AQ],xZ=()=>[NQ,qQ,AQ],MZ=()=>[r0,"full",...N()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[k0],breakpoint:[k0],color:[UF],container:[k0],"drop-shadow":[k0],ease:["in","out","in-out"],font:[SL],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[k0],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[k0],shadow:[k0],spacing:["px",NQ],text:[k0],"text-shadow":[k0],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",r0,AQ,qQ,V]}],container:["container"],"container-type":[{"@container":["","normal","size",qQ,AQ]}],"container-named":[NL],columns:[{columns:[NQ,AQ,qQ,U]}],"break-after":[{"break-after":P()}],"break-before":[{"break-before":P()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:_()}],"inset-x":[{"inset-x":_()}],"inset-y":[{"inset-y":_()}],start:[{"inset-s":_(),start:_()}],end:[{"inset-e":_(),end:_()}],"inset-bs":[{"inset-bs":_()}],"inset-be":[{"inset-be":_()}],top:[{top:_()}],right:[{right:_()}],bottom:[{bottom:_()}],left:[{left:_()}],visibility:["visible","invisible","collapse"],z:[{z:[H0,"auto",qQ,AQ]}],basis:[{basis:[r0,"full","auto",U,...N()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[NQ,r0,"auto","initial","none",AQ]}],grow:[{grow:["",NQ,qQ,AQ]}],shrink:[{shrink:["",NQ,qQ,AQ]}],order:[{order:[H0,"first","last","none",qQ,AQ]}],"grid-cols":[{"grid-cols":b()}],"col-start-end":[{col:f()}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":b()}],"row-start-end":[{row:f()}],"row-start":[{"row-start":x()}],"row-end":[{"row-end":x()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":h()}],"auto-rows":[{"auto-rows":h()}],gap:[{gap:N()}],"gap-x":[{"gap-x":N()}],"gap-y":[{"gap-y":N()}],"justify-content":[{justify:[...i(),"normal"]}],"justify-items":[{"justify-items":[...d(),"normal"]}],"justify-self":[{"justify-self":["auto",...d()]}],"align-content":[{content:["normal",...i()]}],"align-items":[{items:[...d(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...d(),{baseline:["","last"]}]}],"place-content":[{"place-content":i()}],"place-items":[{"place-items":[...d(),"baseline"]}],"place-self":[{"place-self":["auto",...d()]}],p:[{p:N()}],px:[{px:N()}],py:[{py:N()}],ps:[{ps:N()}],pe:[{pe:N()}],pbs:[{pbs:N()}],pbe:[{pbe:N()}],pt:[{pt:N()}],pr:[{pr:N()}],pb:[{pb:N()}],pl:[{pl:N()}],m:[{m:XQ()}],mx:[{mx:XQ()}],my:[{my:XQ()}],ms:[{ms:XQ()}],me:[{me:XQ()}],mbs:[{mbs:XQ()}],mbe:[{mbe:XQ()}],mt:[{mt:XQ()}],mr:[{mr:XQ()}],mb:[{mb:XQ()}],ml:[{ml:XQ()}],"space-x":[{"space-x":N()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":N()}],"space-y-reverse":["space-y-reverse"],size:[{size:KQ()}],"inline-size":[{inline:["auto",...t()]}],"min-inline-size":[{"min-inline":["auto",...t()]}],"max-inline-size":[{"max-inline":["none",...t()]}],"block-size":[{block:["auto",...o()]}],"min-block-size":[{"min-block":["auto",...o()]}],"max-block-size":[{"max-block":["none",...o()]}],w:[{w:[U,"screen",...KQ()]}],"min-w":[{"min-w":[U,"screen","none",...KQ()]}],"max-w":[{"max-w":[U,"screen","none","prose",{screen:[j]},...KQ()]}],h:[{h:["screen","lh",...KQ()]}],"min-h":[{"min-h":["screen","lh","none",...KQ()]}],"max-h":[{"max-h":["screen","lh",...KQ()]}],"font-size":[{text:["base",J,BJ,G9]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[X,xL,kL]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",eY,AQ]}],"font-family":[{font:[vL,yL,Z]}],"font-features":[{"font-features":[AQ]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[Y,qQ,AQ]}],"line-clamp":[{"line-clamp":[NQ,"none",qQ,L6]}],leading:[{leading:[K,...N()]}],"list-image":[{"list-image":["none",qQ,AQ]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",qQ,AQ]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:$()}],"text-color":[{text:$()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...SQ(),"wavy"]}],"text-decoration-thickness":[{decoration:[NQ,"from-font","auto",qQ,G9]}],"text-decoration-color":[{decoration:$()}],"underline-offset":[{"underline-offset":[NQ,"auto",qQ,AQ]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"tab-size":[{tab:[H0,qQ,AQ]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",qQ,AQ]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",qQ,AQ]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:LQ()}],"bg-repeat":[{bg:zQ()}],"bg-size":[{bg:PQ()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},H0,qQ,AQ],radial:["",qQ,AQ],conic:[H0,qQ,AQ]},bL,_L]}],"bg-color":[{bg:$()}],"gradient-from-pos":[{from:xQ()}],"gradient-via-pos":[{via:xQ()}],"gradient-to-pos":[{to:xQ()}],"gradient-from":[{from:$()}],"gradient-via":[{via:$()}],"gradient-to":[{to:$()}],rounded:[{rounded:p()}],"rounded-s":[{"rounded-s":p()}],"rounded-e":[{"rounded-e":p()}],"rounded-t":[{"rounded-t":p()}],"rounded-r":[{"rounded-r":p()}],"rounded-b":[{"rounded-b":p()}],"rounded-l":[{"rounded-l":p()}],"rounded-ss":[{"rounded-ss":p()}],"rounded-se":[{"rounded-se":p()}],"rounded-ee":[{"rounded-ee":p()}],"rounded-es":[{"rounded-es":p()}],"rounded-tl":[{"rounded-tl":p()}],"rounded-tr":[{"rounded-tr":p()}],"rounded-br":[{"rounded-br":p()}],"rounded-bl":[{"rounded-bl":p()}],"border-w":[{border:WQ()}],"border-w-x":[{"border-x":WQ()}],"border-w-y":[{"border-y":WQ()}],"border-w-s":[{"border-s":WQ()}],"border-w-e":[{"border-e":WQ()}],"border-w-bs":[{"border-bs":WQ()}],"border-w-be":[{"border-be":WQ()}],"border-w-t":[{"border-t":WQ()}],"border-w-r":[{"border-r":WQ()}],"border-w-b":[{"border-b":WQ()}],"border-w-l":[{"border-l":WQ()}],"divide-x":[{"divide-x":WQ()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":WQ()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...SQ(),"hidden","none"]}],"divide-style":[{divide:[...SQ(),"hidden","none"]}],"border-color":[{border:$()}],"border-color-x":[{"border-x":$()}],"border-color-y":[{"border-y":$()}],"border-color-s":[{"border-s":$()}],"border-color-e":[{"border-e":$()}],"border-color-bs":[{"border-bs":$()}],"border-color-be":[{"border-be":$()}],"border-color-t":[{"border-t":$()}],"border-color-r":[{"border-r":$()}],"border-color-b":[{"border-b":$()}],"border-color-l":[{"border-l":$()}],"divide-color":[{divide:$()}],"outline-style":[{outline:[...SQ(),"none","hidden"]}],"outline-offset":[{"outline-offset":[NQ,qQ,AQ]}],"outline-w":[{outline:["",NQ,BJ,G9]}],"outline-color":[{outline:$()}],shadow:[{shadow:["","none",G,BX,VX]}],"shadow-color":[{shadow:$()}],"inset-shadow":[{"inset-shadow":["none",z,BX,VX]}],"inset-shadow-color":[{"inset-shadow":$()}],"ring-w":[{ring:WQ()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:$()}],"ring-offset-w":[{"ring-offset":[NQ,G9]}],"ring-offset-color":[{"ring-offset":$()}],"inset-ring-w":[{"inset-ring":WQ()}],"inset-ring-color":[{"inset-ring":$()}],"text-shadow":[{"text-shadow":["none",L,BX,VX]}],"text-shadow-color":[{"text-shadow":$()}],opacity:[{opacity:[NQ,qQ,AQ]}],"mix-blend":[{"mix-blend":[...pQ(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":pQ()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[NQ]}],"mask-image-linear-from-pos":[{"mask-linear-from":_Q()}],"mask-image-linear-to-pos":[{"mask-linear-to":_Q()}],"mask-image-linear-from-color":[{"mask-linear-from":$()}],"mask-image-linear-to-color":[{"mask-linear-to":$()}],"mask-image-t-from-pos":[{"mask-t-from":_Q()}],"mask-image-t-to-pos":[{"mask-t-to":_Q()}],"mask-image-t-from-color":[{"mask-t-from":$()}],"mask-image-t-to-color":[{"mask-t-to":$()}],"mask-image-r-from-pos":[{"mask-r-from":_Q()}],"mask-image-r-to-pos":[{"mask-r-to":_Q()}],"mask-image-r-from-color":[{"mask-r-from":$()}],"mask-image-r-to-color":[{"mask-r-to":$()}],"mask-image-b-from-pos":[{"mask-b-from":_Q()}],"mask-image-b-to-pos":[{"mask-b-to":_Q()}],"mask-image-b-from-color":[{"mask-b-from":$()}],"mask-image-b-to-color":[{"mask-b-to":$()}],"mask-image-l-from-pos":[{"mask-l-from":_Q()}],"mask-image-l-to-pos":[{"mask-l-to":_Q()}],"mask-image-l-from-color":[{"mask-l-from":$()}],"mask-image-l-to-color":[{"mask-l-to":$()}],"mask-image-x-from-pos":[{"mask-x-from":_Q()}],"mask-image-x-to-pos":[{"mask-x-to":_Q()}],"mask-image-x-from-color":[{"mask-x-from":$()}],"mask-image-x-to-color":[{"mask-x-to":$()}],"mask-image-y-from-pos":[{"mask-y-from":_Q()}],"mask-image-y-to-pos":[{"mask-y-to":_Q()}],"mask-image-y-from-color":[{"mask-y-from":$()}],"mask-image-y-to-color":[{"mask-y-to":$()}],"mask-image-radial":[{"mask-radial":[qQ,AQ]}],"mask-image-radial-from-pos":[{"mask-radial-from":_Q()}],"mask-image-radial-to-pos":[{"mask-radial-to":_Q()}],"mask-image-radial-from-color":[{"mask-radial-from":$()}],"mask-image-radial-to-color":[{"mask-radial-to":$()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":T()}],"mask-image-conic-pos":[{"mask-conic":[NQ]}],"mask-image-conic-from-pos":[{"mask-conic-from":_Q()}],"mask-image-conic-to-pos":[{"mask-conic-to":_Q()}],"mask-image-conic-from-color":[{"mask-conic-from":$()}],"mask-image-conic-to-color":[{"mask-conic-to":$()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:LQ()}],"mask-repeat":[{mask:zQ()}],"mask-size":[{mask:PQ()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",qQ,AQ]}],filter:[{filter:["","none",qQ,AQ]}],blur:[{blur:pZ()}],brightness:[{brightness:[NQ,qQ,AQ]}],contrast:[{contrast:[NQ,qQ,AQ]}],"drop-shadow":[{"drop-shadow":["","none",E,BX,VX]}],"drop-shadow-color":[{"drop-shadow":$()}],grayscale:[{grayscale:["",NQ,qQ,AQ]}],"hue-rotate":[{"hue-rotate":[NQ,qQ,AQ]}],invert:[{invert:["",NQ,qQ,AQ]}],saturate:[{saturate:[NQ,qQ,AQ]}],sepia:[{sepia:["",NQ,qQ,AQ]}],"backdrop-filter":[{"backdrop-filter":["","none",qQ,AQ]}],"backdrop-blur":[{"backdrop-blur":pZ()}],"backdrop-brightness":[{"backdrop-brightness":[NQ,qQ,AQ]}],"backdrop-contrast":[{"backdrop-contrast":[NQ,qQ,AQ]}],"backdrop-grayscale":[{"backdrop-grayscale":["",NQ,qQ,AQ]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[NQ,qQ,AQ]}],"backdrop-invert":[{"backdrop-invert":["",NQ,qQ,AQ]}],"backdrop-opacity":[{"backdrop-opacity":[NQ,qQ,AQ]}],"backdrop-saturate":[{"backdrop-saturate":[NQ,qQ,AQ]}],"backdrop-sepia":[{"backdrop-sepia":["",NQ,qQ,AQ]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":N()}],"border-spacing-x":[{"border-spacing-x":N()}],"border-spacing-y":[{"border-spacing-y":N()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",qQ,AQ]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[NQ,"initial",qQ,AQ]}],ease:[{ease:["linear","initial",O,qQ,AQ]}],delay:[{delay:[NQ,qQ,AQ]}],animate:[{animate:["none",S,qQ,AQ]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[H,qQ,AQ]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:zZ()}],"rotate-x":[{"rotate-x":zZ()}],"rotate-y":[{"rotate-y":zZ()}],"rotate-z":[{"rotate-z":zZ()}],scale:[{scale:sQ()}],"scale-x":[{"scale-x":sQ()}],"scale-y":[{"scale-y":sQ()}],"scale-z":[{"scale-z":sQ()}],"scale-3d":["scale-3d"],skew:[{skew:xZ()}],"skew-x":[{"skew-x":xZ()}],"skew-y":[{"skew-y":xZ()}],transform:[{transform:[qQ,AQ,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:MZ()}],"translate-x":[{"translate-x":MZ()}],"translate-y":[{"translate-y":MZ()}],"translate-z":[{"translate-z":MZ()}],"translate-none":["translate-none"],zoom:[{zoom:[H0,qQ,AQ]}],accent:[{accent:$()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:$()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",qQ,AQ]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":$()}],"scrollbar-track-color":[{"scrollbar-track":$()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mbs":[{"scroll-mbs":N()}],"scroll-mbe":[{"scroll-mbe":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pbs":[{"scroll-pbs":N()}],"scroll-pbe":[{"scroll-pbe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",qQ,AQ]}],fill:[{fill:["none",...$()]}],"stroke-w":[{stroke:[NQ,BJ,G9,L6]}],stroke:[{stroke:["none",...$()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},hL=(Q,{cacheSize:Z,prefix:J,experimentalParseClassName:X,extend:Y={},override:K={}})=>{return i9(Q,"cacheSize",Z),i9(Q,"prefix",J),i9(Q,"experimentalParseClassName",X),DX(Q.theme,K.theme),DX(Q.classGroups,K.classGroups),DX(Q.conflictingClassGroups,K.conflictingClassGroups),DX(Q.conflictingClassGroupModifiers,K.conflictingClassGroupModifiers),i9(Q,"postfixLookupClassGroups",K.postfixLookupClassGroups),i9(Q,"orderSensitiveModifiers",K.orderSensitiveModifiers),OX(Q.theme,Y.theme),OX(Q.classGroups,Y.classGroups),OX(Q.conflictingClassGroups,Y.conflictingClassGroups),OX(Q.conflictingClassGroupModifiers,Y.conflictingClassGroupModifiers),aK(Q,Y,"postfixLookupClassGroups"),aK(Q,Y,"orderSensitiveModifiers"),Q},i9=(Q,Z,J)=>{if(J!==void 0)Q[Z]=J},DX=(Q,Z)=>{if(Z)for(let J in Z)i9(Q,J,Z[J])},OX=(Q,Z)=>{if(Z)for(let J in Z)aK(Q,Z,J)},aK=(Q,Z,J)=>{let X=Z[J];if(X!==void 0)Q[J]=Q[J]?Q[J].concat(X):X},mL=(Q,...Z)=>typeof Q==="function"?lK(pK,Q,...Z):lK(()=>hL(pK(),Q),...Z),gL=lK(pK),cL=(Q)=>{return wZ(Q)?gL:mL({...Q,extend:{theme:Q.theme,classGroups:Q.classGroups,conflictingClassGroupModifiers:Q.conflictingClassGroupModifiers,conflictingClassGroups:Q.conflictingClassGroups,...Q.extend}})},uL=(Q,Z)=>{let J=YY(Q);if(!J||!(Z?.twMerge??!0))return J;if(!f0.cachedTwMerge||f0.didTwMergeConfigChange)f0.didTwMergeConfigChange=!1,f0.cachedTwMerge=cL(f0.cachedTwMergeConfig);return f0.cachedTwMerge(J)||void 0},dL=(...Q)=>{return(Z)=>uL(Q,Z)},{createTV:yH,tv:ZX}=sz(dL),zF=ZX({slots:{base:"flex space-x-2 rtl:space-x-reverse",content:"p-4 bg-gray-50 rounded-lg dark:bg-gray-800 mt-4",divider:"h-px bg-gray-200 dark:bg-gray-700",active:"p-4 text-primary-600 bg-gray-100 rounded-t-lg dark:bg-gray-800 dark:text-primary-500",inactive:"p-4 text-gray-500 rounded-t-lg hover:text-gray-600 hover:bg-gray-50 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-gray-300"},variants:{tabStyle:{full:{active:"p-4 w-full rounded-none group-first:rounded-s-lg group-last:rounded-e-lg text-gray-900 bg-gray-100 focus:ring-4 focus:ring-primary-300 focus:outline-hidden dark:bg-gray-700 dark:text-white",inactive:"p-4 w-full rounded-none group-first:rounded-s-lg group-last:rounded-e-lg text-gray-500 dark:text-gray-400 bg-white hover:text-gray-700 hover:bg-gray-50 focus:ring-4 focus:ring-primary-300 focus:outline-hidden dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},pill:{active:"py-3 px-4 text-white bg-primary-600 rounded-lg",inactive:"py-3 px-4 text-gray-500 rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-white"},underline:{base:"-mb-px",active:"p-4 text-primary-600 border-b-2 border-primary-600 dark:text-primary-500 dark:border-primary-500 bg-transparent",inactive:"p-4 border-b-2 border-transparent hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300 text-gray-500 dark:text-gray-400 bg-transparent"},none:{active:"",inactive:""}},hasDivider:{true:{}}},compoundVariants:[{tabStyle:["full","pill"],hasDivider:!0,class:{divider:"hidden"}}],defaultVariants:{tabStyle:"none",hasDivider:!0}}),lL=ZX({slots:{base:"group focus-within:z-10",button:"inline-block text-sm font-medium text-center disabled:cursor-not-allowed"},variants:{open:{true:{button:"active"}},disabled:{true:{button:"cursor-not-allowed"}}},compoundVariants:[{open:!0,class:{button:""}},{open:!1,class:{button:""}}],defaultVariants:{open:!1,disabled:!1}}),pL=JQ("
        "),aL=JQ('
        ',1);function iL(Q,Z){let J=yU();fQ(Z,!0);let X=FZ(Z,"selected",15),Y=FZ(Z,"tabStyle",3,"none"),K=FZ(Z,"divider",3,!0),j=VY(Z,["$$slots","$$events","$$legacy","children","selected","tabStyle","ulClass","contentClass","divider","class","classes"]),U=l(()=>typeof Z.classes?.active==="string"?Z.classes.active:void 0);rU("Tabs",I0(()=>({ulClass:Z.ulClass,contentClass:Z.contentClass})),{ulClass:"class",contentClass:"content"});let F=l(()=>J7("tabs")),A=l(()=>Z.classes??{content:Z.contentClass}),G=l(()=>zF({tabStyle:Y(),hasDivider:K()})),z=l(()=>R(G).base),L=l(()=>R(G).content),E=l(()=>R(G).divider),D=`tab-panel-${J}`,H=l(()=>({tabStyle:Y(),panelId:D})),V=l(()=>["full","pill"].includes(Y())?!1:K());tU();let O=kQ(new Map),S=EQ(kQ({})),P=oU((h)=>{e(S,h??{},!0),X(h?.id)});yQ(()=>{if(X()&&X()!==R(S).id){let h=O.get(X());if(h)P(!0,h)}}),yQ(()=>{if(O.size>0&&!R(S).id){let h=X()?O.get(X()):O.values().next().value;if(h)P(!0,h)}}),gz({get activeClasses(){return R(U)},get ctx(){return R(H)},registerTab:(h)=>{if(h.id)O.set(h.id,h)},unregisterTab:(h)=>{O.delete(h)}});var M=aL(),C=VZ(M);uJ(C,(h)=>({role:"tablist",...j,class:h}),[()=>R(z)({class:R0(R(F)?.base,Z.class??Z.ulClass)})]);var N=g(C);f9(N,()=>Z.children),m(C);var _=GQ(C,2);{var b=(h)=>{var i=pL();jQ((d)=>EZ(i,1,d),[()=>P0(R(E)({class:R0(R(F)?.divider,Z.classes?.divider)}))]),a(h,i)};UQ(_,(h)=>{if(R(V))h(b)})}var f=GQ(_,2),x=g(f);f9(x,()=>R(S).snippet??o0),m(f),jQ((h)=>{u(f,"id",D),EZ(f,1,h),u(f,"aria-labelledby",R(S).id)},[()=>P0(R(L)({class:R0(R(F)?.content,R(A).content)}))]),a(Q,M),bQ()}var nL=JQ('
      • ');function sL(Q,Z){let J=yU();fQ(Z,!0);let X=FZ(Z,"open",15,!1),Y=FZ(Z,"title",3,"Tab title"),K=VY(Z,["$$slots","$$events","$$legacy","children","titleSlot","open","title","key","activeClass","inactiveClass","class","classes","disabled","tabStyle"]),j=l(()=>J7("tabItem")),U=mz();if(!U)throw Error("TabItem must be used within a Tabs component");let{activeClasses:F,ctx:A}=U,G=l(()=>Z.tabStyle??A.tabStyle??"full"),z=l(()=>zF({tabStyle:R(G),hasDivider:!0})),L=l(()=>R(z).active),E=l(()=>R(z).inactive),D=l(()=>Z.key??J),H=l(()=>({id:R(D),snippet:Z.children})),V=U.registerTab,O=U.unregisterTab,S=oU((f)=>X(f?.id===R(H).id));yQ(()=>{return S(X(),R(H)),V?.(R(H)),()=>{if(R(H).id)O?.(R(H).id)}});let P=l(()=>lL({open:X(),disabled:Z.disabled})),T=l(()=>R(P).base),k=l(()=>R(P).button);var M=nL();uJ(M,(f)=>({...K,class:f,role:"presentation"}),[()=>R(T)({class:R0(R(j)?.base,Z.class)})]);var C=g(M),N=g(C);{var _=(f)=>{var x=Q0(),h=VZ(x);f9(h,()=>Z.titleSlot),a(f,x)},b=(f)=>{var x=jJ();jQ(()=>IQ(x,Y())),a(f,x)};UQ(N,(f)=>{if(Z.titleSlot)f(_);else f(b,-1)})}m(C),m(M),jQ((f)=>{u(C,"id",R(H).id),u(C,"aria-controls",A.panelId),u(C,"aria-selected",X()),C.disabled=Z.disabled,EZ(C,1,f)},[()=>P0(R(k)({class:R0(X()?Z.activeClass??R(L)({class:F}):Z.inactiveClass??R(E)(),R(j)?.button,Z.classes?.button)}))]),lQ("click",C,()=>X(!0)),a(Q,M),bQ()}uZ(["click"]);var rL=JQ(' '),tL=JQ(" ",1),oL=JQ("
        "),eL=JQ(' ',1),QI=JQ('
        ');function ZI(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(void 0),Y=EQ(0),K=l(()=>c(R(J).orientation,"horizontal")),j=l(()=>dJ(R(J).tabs)),U="slex-tabs-trigger";yQ(()=>dQ(Z.props,(H)=>{e(J,H,!0),e(X,H.value,!0)}));function F(H){e(X,H,!0),cZ(Z.ctx,"change",H)}function A(){e(Y,R(Y)+1)}function G(H){return!!H&&typeof H==="object"&&!Array.isArray(H)}function z(H,V){function O(S){if(H.replaceChildren(),G(S.content)){Z.ctx.renderTree(S.content,H,Z.ctx.forCtx);return}if(S.content!==void 0&&S.content!==null)H.textContent=c(S.content)}return O(V),{update(S){O(S)},destroy(){H.replaceChildren()}}}function L(H){let V,O,S=!1;function P(C,N){F6(Z.ctx,V),V=mK(Z.ctx,()=>{if(V=void 0,!N){C.style.setProperty("--slex-tabs-indicator-opacity","0");return}let _=C.getBoundingClientRect(),b=N.getBoundingClientRect(),f=N.querySelector(".slex-tabs-trigger-icon")?.getBoundingClientRect(),x=R(K)==="vertical",h=getComputedStyle(C),i=Number.parseFloat(h.getPropertyValue("--slex-tabs-indicator-inline-inset"))||0,d=Number.parseFloat(h.getPropertyValue("--slex-tabs-indicator-block-inset"))||0,XQ=!!f&&N.classList.contains("slex-tabs-trigger--icon"),KQ=XQ&&f.width>0?f:b,t=x?2:XQ?Math.max(14,Math.min(22,KQ.width+2)):Math.max(8,b.width-i*2),o=x?Math.max(8,b.height-d*2):2,$=KQ.left-_.left+KQ.width/2,LQ=KQ.top-_.top+KQ.height/2,zQ=x?_.width-t:$-t/2,PQ=x?LQ-o/2:_.height-o;if(C.style.setProperty("--slex-tabs-indicator-width",`${Math.max(0,t)}px`),C.style.setProperty("--slex-tabs-indicator-height",`${Math.max(0,o)}px`),C.style.setProperty("--slex-tabs-indicator-x",`${Math.max(0,zQ)}px`),C.style.setProperty("--slex-tabs-indicator-y",`${Math.max(0,PQ)}px`),C.style.setProperty("--slex-tabs-indicator-opacity","1"),!S)S=!0,mK(Z.ctx,()=>{C.dataset.indicatorReady="true"})})}function T(){let C=H.querySelectorAll(".slex-tabs-trigger"),N=H.querySelector(".slex-tabs-list"),_;if(R(j).forEach((b,f)=>{let x=C[f];if(!x)return;let h=b.value??b.label,i=c(h)===c(R(X));if(x.dataset.value=c(h),x.toggleAttribute("data-selected",i),x.classList.toggle("slex-tabs-trigger--selected",i),x.setAttribute("aria-selected",String(i)),i)_=x}),N)P(N,_)}function k(){T(),queueMicrotask(T)}k();let M=H.querySelector(".slex-tabs-list");if(M&&"ResizeObserver"in window)O=new ResizeObserver(k),O.observe(M);return{update(){k()},destroy(){F6(Z.ctx,V),O?.disconnect()}}}var E=QI(),D=g(E);{let H=l(()=>c(R(X)));iL(D,{class:"slex-tabs-list",tabStyle:"none",divider:!1,get selected(){return R(H)},get "aria-orientation"(){return R(K)},classes:{content:"slex-tabs-content"},children:(V,O)=>{var S=eL(),P=VZ(S);rZ(P,17,()=>R(j),F0,(T,k)=>{let M=l(()=>R(k).value??R(k).label),C=l(()=>c(R(M))===c(R(X))),N=l(()=>!!c(R(k).icon)),_=l(()=>c(R(k).label??R(M))),b=l(()=>!!R(k).iconOnly||R(N)&&!R(k).label),f=l(()=>R(b)?"slex-tabs-trigger--icon":R(N)?"slex-tabs-trigger--with-icon":"");{let x=(o)=>{var $=tL(),LQ=VZ($);{var zQ=(WQ)=>{aQ(WQ,{get name(){return R(k).icon},get selected(){return R(C)},className:"slex-tabs-trigger-icon",onIconLoad:A})};UQ(LQ,(WQ)=>{if(R(N))WQ(zQ)})}var PQ=GQ(LQ,2);{var xQ=(WQ)=>{var SQ=rL(),pQ=g(SQ,!0);m(SQ),jQ(()=>IQ(pQ,R(_))),a(WQ,SQ)},p=(WQ)=>{var SQ=jJ();jQ(()=>IQ(SQ,R(_))),a(WQ,SQ)};UQ(PQ,(WQ)=>{if(R(b))WQ(xQ);else WQ(p,-1)})}a(o,$)},h=l(()=>c(R(M))),i=l(()=>!!R(k).disabled),d=l(()=>c(R(M))),XQ=l(()=>`${U} slex-tabs-trigger--selected ${R(f)}`),KQ=l(()=>`${U} ${R(f)}`),t=l(()=>({button:R(C)?"slex-tabs-trigger--selected":""}));sL(T,{get key(){return R(h)},get open(){return R(C)},get disabled(){return R(i)},get "data-value"(){return R(d)},get activeClass(){return R(XQ)},get inactiveClass(){return R(KQ)},get classes(){return R(t)},onclick:()=>F(R(M)),titleSlot:x,children:(o,$)=>{var LQ=Q0(),zQ=VZ(LQ);{var PQ=(xQ)=>{var p=oL();d0(p,(WQ,SQ)=>z?.(WQ,SQ),()=>R(k)),a(xQ,p)};UQ(zQ,(xQ)=>{if(R(k).content)xQ(PQ)})}a(o,LQ)},$$slots:{titleSlot:!0,default:!0}})}}),tJ(2),a(V,S)},$$slots:{default:!0}})}m(E),d0(E,(H,V)=>L?.(H,V),()=>({value:R(X),items:R(j),iconVersion:R(Y)})),jQ(()=>u(E,"data-orientation",R(K))),a(Q,E),bQ()}var JI=JQ('

        '),XI=JQ('
        ');function YI(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(void 0),Y=EQ(kQ({})),K=l(()=>dJ(R(J).items));function j(E){return c(E.value??E.label)}function U(E){let D=R(K).find((H)=>j(H)===E);return D?D.value??D.label:void 0}function F(E,D){if(D&&Array.isArray(E))return E.map((V)=>c(V));let H=c(E);return H?[H]:[]}function A(E=R(Y)){let D=Object.keys(E).filter((H)=>E[H]);if(R(J).multiple)return D.map((H)=>U(H)).filter((H)=>H!==void 0);return D.length?U(D[0]):void 0}yQ(()=>dQ(Z.props,(E)=>{e(J,E,!0),e(X,E.value,!0);let D=F(E.value,E.multiple===!0),H={};for(let V of dJ(E.items)){let O=j(V);H[O]=D.includes(O)}e(Y,H,!0)}));function G(E){let D=!!R(Y)[E],H;if(R(J).multiple)H={...R(Y),[E]:!D};else{H={};for(let O of R(K))H[j(O)]=!1;H[E]=!D}e(Y,H,!0);let V=A(H);e(X,V,!0),cZ(Z.ctx,"change",V)}var z=XI(),L=g(z);rZ(L,21,()=>R(K),F0,(E,D)=>{let H=l(()=>j(R(D))),V=l(()=>!!R(Y)[R(H)]);var O=JI(),S=g(O),P=g(S),T=g(P),k=g(T);{var M=(x)=>{aQ(x,{get name(){return R(D).icon},get selected(){return R(V)},className:"slex-accordion-icon"})};UQ(k,(x)=>{if(R(D).icon)x(M)})}var C=GQ(k,2),N=g(C,!0);m(C),m(T),tJ(2),m(P),m(S);var _=GQ(S,2),b=g(_),f=g(b,!0);m(b),m(_),m(O),jQ((x,h)=>{u(O,"data-state",R(V)?"open":"closed"),u(P,"data-state",R(V)?"open":"closed"),u(P,"aria-expanded",R(V)),u(P,"aria-controls",`${Z.ctx.id}-${R(H)}-content`),P.disabled=R(D).disabled===!0,IQ(N,x),u(_,"id",`${Z.ctx.id}-${R(H)}-content`),u(_,"data-state",R(V)?"open":"closed"),u(_,"aria-hidden",!R(V)),IQ(f,h)},[()=>c(R(D).label),()=>c(R(D).content)]),lQ("click",P,()=>G(R(H))),a(E,O)}),m(L),m(z),a(Q,z),bQ()}uZ(["click"]);var KI=JQ('
        ');function jI(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(!1);yQ(()=>dQ(Z.props,(H)=>{e(J,H,!0),e(X,!!(H.open??H.value))}));function Y(){e(X,!R(X)),cZ(Z.ctx,R(X)?"open":"close",R(X)),cZ(Z.ctx,"change",R(X))}var K=KI(),j=g(K),U=g(j),F=g(U);{var A=(H)=>{aQ(H,{get name(){return R(J).icon},get selected(){return R(X)},className:"slex-collapsible-icon"})};UQ(F,(H)=>{if(R(J).icon)H(A)})}var G=GQ(F,2),z=g(G,!0);m(G),m(U),tJ(2),m(j);var L=GQ(j,2),E=g(L),D=g(E,!0);m(E),d0(E,(H,V)=>m9?.(H,V),()=>Z.ctx),m(L),m(K),jQ((H,V)=>{u(K,"data-state",R(X)?"open":"closed"),u(j,"data-state",R(X)?"open":"closed"),u(j,"aria-expanded",R(X)),u(j,"aria-controls",`${Z.ctx.id}-content`),IQ(z,H),u(L,"id",`${Z.ctx.id}-content`),u(L,"data-state",R(X)?"open":"closed"),u(L,"aria-hidden",!R(X)),IQ(D,V)},[()=>b9(Z.ctx,"collapsible.trigger",R(J).trigger,"Toggle"),()=>c(R(J).content)]),lQ("click",j,Y),a(Q,K),bQ()}uZ(["click"]);var UI=JQ(" "),FI=JQ('
        '),RI=JQ('
        ');function AI(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(G)=>e(J,G,!0)));function X(){let G=Number(R(J).value??0);return Number.isFinite(G)?Math.min(100,Math.max(0,G)):0}var Y=RI(),K=g(Y);{var j=(G)=>{var z=FI(),L=g(z);{var E=(V)=>{aQ(V,{get name(){return R(J).icon},className:"slex-progress-icon"})};UQ(L,(V)=>{if(R(J).icon)V(E)})}var D=GQ(L,2);{var H=(V)=>{var O=UI(),S=g(O,!0);m(O),jQ((P)=>IQ(S,P),[()=>c(R(J).label)]),a(V,O)};UQ(D,(V)=>{if(R(J).label)V(H)})}m(z),a(G,z)};UQ(K,(G)=>{if(R(J).label||R(J).icon)G(j)})}var U=GQ(K,2),F=g(U);let A;m(U),m(Y),jQ((G,z,L)=>{u(Y,"data-state",R(J).indeterminate?"indeterminate":"determinate"),u(Y,"aria-label",G),u(Y,"aria-valuemin",R(J).indeterminate?void 0:0),u(Y,"aria-valuemax",R(J).indeterminate?void 0:100),u(Y,"aria-valuenow",z),A=GJ(F,"",A,L)},[()=>c(R(J)["aria-label"]??R(J).ariaLabel??R(J).label)||void 0,()=>R(J).indeterminate?void 0:X(),()=>({width:`${X()}%`})]),a(Q,Y),bQ()}var WI=ZX({base:"focus:outline-hidden whitespace-normal disabled:cursor-not-allowed disabled:opacity-50",variants:{color:{primary:"text-primary-500 focus:ring-primary-400 hover:bg-primary-200 dark:hover:bg-primary-800 dark:hover:text-primary-300",secondary:"text-secondary-500 focus:ring-secondary-400 hover:bg-secondary-200 dark:hover:bg-secondary-800 dark:hover:text-secondary-300",gray:"text-gray-500 focus:ring-gray-400 hover:bg-gray-200 dark:hover:bg-gray-800 dark:hover:text-gray-300",red:"text-red-500 focus:ring-red-400 hover:bg-red-200 dark:hover:bg-red-800 dark:hover:text-red-300",orange:"text-orange-500 focus:ring-orange-400 hover:bg-orange-200 dark:hover:bg-orange-800 dark:hover:text-orange-300",amber:"text-amber-500 focus:ring-amber-400 hover:bg-amber-200 dark:hover:bg-amber-800 dark:hover:text-amber-300",yellow:"text-yellow-500 focus:ring-yellow-400 hover:bg-yellow-200 dark:hover:bg-yellow-800 dark:hover:text-yellow-300",lime:"text-lime-500 focus:ring-lime-400 hover:bg-lime-200 dark:hover:bg-lime-800 dark:hover:text-lime-300",green:"text-green-500 focus:ring-green-400 hover:bg-green-200 dark:hover:bg-green-800 dark:hover:text-green-300",emerald:"text-emerald-500 focus:ring-emerald-400 hover:bg-emerald-200 dark:hover:bg-emerald-800 dark:hover:text-emerald-300",teal:"text-teal-500 focus:ring-teal-400 hover:bg-teal-200 dark:hover:bg-teal-800 dark:hover:text-teal-300",cyan:"text-cyan-500 focus:ring-cyan-400 hover:bg-cyan-200 dark:hover:bg-cyan-800 dark:hover:text-cyan-300",sky:"text-sky-500 focus:ring-sky-400 hover:bg-sky-200 dark:hover:bg-sky-800 dark:hover:text-sky-300",blue:"text-blue-500 focus:ring-blue-400 hover:bg-blue-200 dark:hover:bg-blue-800 dark:hover:text-blue-300",indigo:"text-indigo-500 focus:ring-indigo-400 hover:bg-indigo-200 dark:hover:bg-indigo-800 dark:hover:text-indigo-300",violet:"text-violet-500 focus:ring-violet-400 hover:bg-violet-200 dark:hover:bg-violet-800 dark:hover:text-violet-300",purple:"text-purple-500 focus:ring-purple-400 hover:bg-purple-200 dark:hover:bg-purple-800 dark:hover:text-purple-300",fuchsia:"text-fuchsia-500 focus:ring-fuchsia-400 hover:bg-fuchsia-200 dark:hover:bg-fuchsia-800 dark:hover:text-fuchsia-300",pink:"text-pink-500 focus:ring-pink-400 hover:bg-pink-200 dark:hover:bg-pink-800 dark:hover:text-pink-300",rose:"text-rose-500 focus:ring-rose-400 hover:bg-rose-200 dark:hover:bg-rose-800 dark:hover:text-rose-300",none:""},size:{xs:"m-0.5 rounded-xs focus:ring-1 p-0.5",sm:"m-0.5 rounded-sm focus:ring-1 p-0.5",md:"m-0.5 rounded-lg focus:ring-2 p-1.5",lg:"m-0.5 rounded-lg focus:ring-2 p-2.5"}},defaultVariants:{color:"gray",size:"md",href:null},slots:{svg:""},compoundVariants:[{size:"xs",class:{svg:"w-3 h-3"}},{size:"sm",class:{svg:"w-3.5 h-3.5"}},{size:["md","lg"],class:{svg:"w-5 h-5"}},{size:["xs","sm","md","lg"],color:"none",class:"focus:ring-0 rounded-none m-0"}]}),LF=Symbol("dismissable");function qI(Q){return QY(LF,{dismiss:Q})}function GI(){let Q=x8(LF);return Q}var EI=JQ(' '),zI=kU(''),LI=JQ(""),II=JQ(' '),HI=kU(''),VI=JQ(" ");function BI(Q,Z){fQ(Z,!0);let J=FZ(Z,"color",3,"gray"),X=FZ(Z,"name",3,"Close"),Y=FZ(Z,"size",3,"md"),K=VY(Z,["$$slots","$$events","$$legacy","children","color","onclick","name","ariaLabel","size","class","svgClass"]),j=l(()=>WI({color:J(),size:Y()})),U=l(()=>R(j).base),F=l(()=>R(j).svg),A=GI();function G(H){if(Z.onclick?.(H),H.defaultPrevented)return;A?.dismiss?.(H)}var z=Q0(),L=VZ(z);{var E=(H)=>{var V=LI();uJ(V,(M)=>({type:"button",...K,class:M,onclick:G,"aria-label":Z.ariaLabel??X()}),[()=>R(U)({class:R0(Z.class)})]);var O=g(V);{var S=(M)=>{var C=EI(),N=g(C,!0);m(C),jQ(()=>IQ(N,X())),a(M,C)};UQ(O,(M)=>{if(X())M(S)})}var P=GQ(O,2);{var T=(M)=>{var C=Q0(),N=VZ(C);f9(N,()=>Z.children),a(M,C)},k=(M)=>{var C=zI();jQ((N)=>EZ(C,0,N),[()=>P0(R(F)({class:Z.svgClass}))]),a(M,C)};UQ(P,(M)=>{if(Z.children)M(T);else M(k,-1)})}m(V),a(H,V)},D=(H)=>{var V=VI();uJ(V,(M)=>({...K,onclick:G,class:M,"aria-label":Z.ariaLabel??X()}),[()=>R(U)({class:R0(Z.class)})]);var O=g(V);{var S=(M)=>{var C=II(),N=g(C,!0);m(C),jQ(()=>IQ(N,X())),a(M,C)};UQ(O,(M)=>{if(X())M(S)})}var P=GQ(O,2);{var T=(M)=>{var C=Q0(),N=VZ(C);f9(N,()=>Z.children),a(M,C)},k=(M)=>{var C=HI();jQ((N)=>EZ(C,0,N),[()=>P0(R(F)())]),a(M,C)};UQ(P,(M)=>{if(Z.children)M(T);else M(k,-1)})}m(V),a(H,V)};UQ(L,(H)=>{if(Z.href===void 0)H(E);else H(D,-1)})}a(Q,z),bQ()}var DI=ZX({slots:{base:"flex w-full max-w-xs p-4 text-gray-500 bg-white rounded-lg shadow-sm dark:text-gray-400 dark:bg-gray-800 gap-3",icon:"w-8 h-8 inline-flex items-center justify-center shrink-0 rounded-lg",content:"w-full text-sm font-normal",close:"ms-auto -mx-1.5 -my-1.5 bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex items-center justify-center h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},variants:{position:{"top-left":{base:"absolute top-5 start-5"},"top-right":{base:"absolute top-5 end-5"},"bottom-left":{base:"absolute bottom-5 start-5"},"bottom-right":{base:"absolute bottom-5 end-5"}},color:{primary:{icon:"text-primary-500 bg-primary-100 dark:bg-primary-800 dark:text-primary-200",close:"text-primary-500 dark:text-primary-200 hover:text-primary-600 dark:hover:text-primary-500"},gray:{icon:"text-gray-500 bg-gray-100 dark:bg-gray-700 dark:text-gray-200",close:"text-gray-500 dark:text-gray-200 hover:text-gray-600 dark:hover:text-gray-500"},red:{icon:"text-red-500 bg-red-100 dark:bg-red-800 dark:text-red-200",close:"text-red-500 dark:text-red-200 hover:text-red-600 dark:hover:text-red-500"},orange:{icon:"text-orange-500 bg-orange-100 dark:bg-orange-700 dark:text-orange-200",close:"text-orange-500 dark:text-orange-200 hover:text-orange-600 dark:hover:text-orange-500"},amber:{icon:"text-amber-500 bg-amber-100 dark:bg-amber-700 dark:text-amber-200",close:"text-amber-500 dark:text-amber-200 hover:text-amber-600 dark:hover:text-amber-500"},yellow:{icon:"text-yellow-500 bg-yellow-100 dark:bg-yellow-800 dark:text-yellow-200",close:"text-yellow-500 dark:text-yellow-200 hover:text-yellow-600 dark:hover:text-yellow-500"},lime:{icon:"text-lime-500 bg-lime-100 dark:bg-lime-700 dark:text-lime-200",close:"text-lime-500 dark:text-lime-200 hover:text-lime-600 dark:hover:text-lime-500"},green:{icon:"text-green-500 bg-green-100 dark:bg-green-800 dark:text-green-200",close:"text-green-500 dark:text-green-200 hover:text-green-600 dark:hover:text-green-500"},emerald:{icon:"text-emerald-500 bg-emerald-100 dark:bg-emerald-800 dark:text-emerald-200",close:"text-emerald-500 dark:text-emerald-200 hover:text-emerald-600 dark:hover:text-emerald-500"},teal:{icon:"text-teal-500 bg-teal-100 dark:bg-teal-800 dark:text-teal-200",close:"text-teal-500 dark:text-teal-200 hover:text-teal-600 dark:hover:text-teal-500"},cyan:{icon:"text-cyan-500 bg-cyan-100 dark:bg-cyan-800 dark:text-cyan-200",close:"text-cyan-500 dark:text-cyan-200 hover:text-cyan-600 dark:hover:text-cyan-500"},sky:{icon:"text-sky-500 bg-sky-100 dark:bg-sky-800 dark:text-sky-200",close:"text-sky-500 dark:text-sky-200 hover:text-sky-600 dark:hover:text-sky-500"},blue:{icon:"text-blue-500 bg-blue-100 dark:bg-blue-800 dark:text-blue-200",close:"text-blue-500 dark:text-blue-200 hover:text-blue-600 dark:hover:text-blue-500"},indigo:{icon:"text-indigo-500 bg-indigo-100 dark:bg-indigo-800 dark:text-indigo-200",close:"text-indigo-500 dark:text-indigo-200 hover:text-indigo-600 dark:hover:text-indigo-500"},violet:{icon:"text-violet-500 bg-violet-100 dark:bg-violet-800 dark:text-violet-200",close:"text-violet-500 dark:text-violet-200 hover:text-violet-600 dark:hover:text-violet-500"},purple:{icon:"text-purple-500 bg-purple-100 dark:bg-purple-800 dark:text-purple-200",close:"text-purple-500 dark:text-purple-200 hover:text-purple-600 dark:hover:text-purple-500"},fuchsia:{icon:"text-fuchsia-500 bg-fuchsia-100 dark:bg-fuchsia-800 dark:text-fuchsia-200",close:"text-fuchsia-500 dark:text-fuchsia-200 hover:text-fuchsia-600 dark:hover:text-fuchsia-500"},pink:{icon:"text-pink-500 bg-pink-100 dark:bg-pink-700 dark:text-pink-200",close:"text-pink-500 dark:text-pink-200 hover:text-pink-600 dark:hover:text-pink-500"},rose:{icon:"text-rose-500 bg-rose-100 dark:bg-rose-700 dark:text-rose-200",close:"text-rose-500 dark:text-rose-200 hover:text-rose-600 dark:hover:text-rose-500"}},align:{true:{base:"items-center"},false:{base:"items-start"}}}}),_H=ZX({base:"fixed z-50 space-y-3"});function OI(Q){let Z=Q-1;return Z*Z*Z+1}function V6(Q){let Z=typeof Q==="string"&&Q.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return Z?[parseFloat(Z[1]),Z[2]||"px"]:[Q,"px"]}function MI(Q,{delay:Z=0,duration:J=400,easing:X=OI,x:Y=0,y:K=0,opacity:j=0}={}){let U=getComputedStyle(Q),F=+U.opacity,A=U.transform==="none"?"":U.transform,G=F*(1-j),[z,L]=V6(Y),[E,D]=V6(K);return{delay:Z,duration:J,easing:X,css:(H,V)=>` +`).slice(2),X=Z[0]?.match(/(?:\()?(.*?\.svelte):\d+:\d+\)?$/)?.[1];for(let Y of Z){let j=Y.match(/(?:\()?(.*?\.svelte):\d+:\d+\)?$/)?.[1];if(j&&j!==X)return Y.trim().replace(/^at /,"")}return null}var cK=Symbol("singleton");function tU(Q=!1){if(Q)return QY(cK,{});let Z=kQ({value:null});return QY(cK,Z)}function uz(Q,Z,J){if(Z)Q.value=J??null;else if(Q.value===J)Q.value=null;return Q}function oU(Q){let Z=x8(cK)??tU(!1);if(!Z.hasOwnProperty?.("value"))return()=>Z;return yQ(()=>{if(Z.value!==null)Q(Z.value)}),(J,X)=>I0(()=>uz(Z,J,X))}var dz=/\s+/g,lz=(Q)=>{if(typeof Q!=="string"||!Q)return Q;return Q.replace(dz," ").trim()},YY=(...Q)=>{let Z=[],J=(X)=>{if(!X&&X!==0&&X!==0n)return;if(Array.isArray(X)){for(let K=0,j=X.length;K0?lz(Z.join(" ")):void 0},q6=(Q)=>Q===!1?"false":Q===!0?"true":Q===0?"0":Q,wZ=(Q)=>{if(!Q||typeof Q!=="object")return!0;for(let Z in Q)return!1;return!0},pz=(Q,Z)=>{if(Q===Z)return!0;if(!Q||!Z)return!1;let J=Object.keys(Q),X=Object.keys(Z);if(J.length!==X.length)return!1;for(let Y=0;Y{for(let J in Z)if(Object.prototype.hasOwnProperty.call(Z,J)){let X=Z[J];if(J in Q)Q[J]=YY(Q[J],X);else Q[J]=X}return Q},eU=(Q,Z)=>{for(let J=0;J{let Z=[];eU(Q,Z);let J=[];for(let X=0;X{let J={};for(let X in Q){let Y=Q[X];if(X in Z){let K=Z[X];if(Array.isArray(Y)||Array.isArray(K))J[X]=QF(K,Y);else if(typeof Y==="object"&&typeof K==="object"&&Y&&K)J[X]=uK(Y,K);else J[X]=K+" "+Y}else J[X]=Y}for(let X in Z)if(!(X in Q))J[X]=Z[X];return J},iz={twMerge:!0,twMergeConfig:{}};function nz(){let Q=null,Z={},J=!1;return{get cachedTwMerge(){return Q},set cachedTwMerge(X){Q=X},get cachedTwMergeConfig(){return Z},set cachedTwMergeConfig(X){Z=X},get didTwMergeConfigChange(){return J},set didTwMergeConfigChange(X){J=X},reset(){Q=null,Z={},J=!1}}}var f0=nz(),sz=(Q)=>{let Z=(X,Y)=>{let{extend:K=null,slots:j={},variants:U={},compoundVariants:F=[],compoundSlots:A=[],defaultVariants:G={}}=X,z={...iz,...Y},L=K?.base?YY(K.base,X?.base):X?.base,E=K?.variants&&!wZ(K.variants)?uK(U,K.variants):U,D=K?.defaultVariants&&!wZ(K.defaultVariants)?{...K.defaultVariants,...G}:G;if(!wZ(z.twMergeConfig)&&!pz(z.twMergeConfig,f0.cachedTwMergeConfig))f0.didTwMergeConfigChange=!0,f0.cachedTwMergeConfig=z.twMergeConfig;let H=wZ(K?.slots),V=!wZ(j)?{base:YY(X?.base,H&&K?.base),...j}:{},O=H?V:az({...K?.slots},wZ(V)?{base:X?.base}:V),S=wZ(K?.compoundVariants)?F:QF(K?.compoundVariants,F),P=(k)=>{if(wZ(E)&&wZ(j)&&H)return Q(L,k?.class,k?.className)(z);if(S&&!Array.isArray(S))throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof S}`);if(A&&!Array.isArray(A))throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof A}`);let M=(p,d=E,XQ=null,KQ=null)=>{let o=d[p];if(!o||wZ(o))return null;let r=KQ?.[p]??k?.[p];if(r===null)return null;let $=q6(r);if(typeof $==="object")return null;let LQ=D?.[p],zQ=$!=null?$:q6(LQ);return o[zQ||"false"]},C=()=>{if(!E)return null;let p=Object.keys(E),d=[];for(let XQ=0;XQ{if(!E||typeof E!=="object")return null;let XQ=[];for(let KQ in E){let o=M(KQ,E,p,d),r=p==="base"&&typeof o==="string"?o:o&&o[p];if(r)XQ.push(r)}return XQ},_={};for(let p in k){let d=k[p];if(d!==void 0)_[p]=d}let x=(p,d)=>{let XQ=typeof k?.[p]==="object"?{[p]:k[p]?.initial}:{};return{...D,..._,...XQ,...d}},v=(p=[],d)=>{let XQ=[],KQ=p.length;for(let o=0;o{let d=v(S,p);if(!Array.isArray(d))return d;let XQ={},KQ=Q;for(let o=0;o{if(A.length<1)return null;let d={},XQ=x(null,p);for(let KQ=0;KQ{let o=b(KQ),r=h(KQ);return d(O[XQ],N(XQ,KQ),o?o[XQ]:void 0,r?r[XQ]:void 0,KQ?.class,KQ?.className)(z)}}return p}return Q(L,C(),v(S),k?.class,k?.className)(z)},T=()=>{if(!E||typeof E!=="object")return;return Object.keys(E)};return P.variantKeys=T(),P.extend=K,P.base=L,P.slots=O,P.variants=E,P.defaultVariants=D,P.compoundSlots=A,P.compoundVariants=S,P};return{tv:Z,createTV:(X)=>{return(Y,K)=>Z(Y,K?uK(X,K):X)}}},rz=(Q,Z)=>{let J=Array(Q.length+Z.length);for(let X=0;X({classGroupId:Q,validator:Z}),ZF=(Q=new Map,Z=null,J)=>({nextPart:Q,validators:Z,classGroupId:J}),KY="-",G6=[],oz="arbitrary..",ez=(Q)=>{let Z=ZL(Q),{conflictingClassGroups:J,conflictingClassGroupModifiers:X}=Q;return{getClassGroupId:(j)=>{if(j.startsWith("[")&&j.endsWith("]"))return QL(j);let U=j.split(KY),F=U[0]===""&&U.length>1?1:0;return JF(U,F,Z)},getConflictingClassGroupIds:(j,U)=>{if(U){let F=X[j],A=J[j];if(F){if(A)return rz(A,F);return F}return A||G6}return J[j]||G6}}},JF=(Q,Z,J)=>{if(Q.length-Z===0)return J.classGroupId;let Y=Q[Z],K=J.nextPart.get(Y);if(K){let A=JF(Q,Z+1,K);if(A)return A}let j=J.validators;if(j===null)return;let U=Z===0?Q.join(KY):Q.slice(Z).join(KY),F=j.length;for(let A=0;AQ.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let Z=Q.slice(1,-1),J=Z.indexOf(":"),X=Z.slice(0,J);return X?oz+X:void 0})(),ZL=(Q)=>{let{theme:Z,classGroups:J}=Q;return JL(J,Z)},JL=(Q,Z)=>{let J=ZF();for(let X in Q){let Y=Q[X];X7(Y,J,X,Z)}return J},X7=(Q,Z,J,X)=>{let Y=Q.length;for(let K=0;K{if(typeof Q==="string"){YL(Q,Z,J);return}if(typeof Q==="function"){KL(Q,Z,J,X);return}jL(Q,Z,J,X)},YL=(Q,Z,J)=>{let X=Q===""?Z:XF(Z,Q);X.classGroupId=J},KL=(Q,Z,J,X)=>{if(UL(Q)){X7(Q(X),Z,J,X);return}if(Z.validators===null)Z.validators=[];Z.validators.push(tz(J,Q))},jL=(Q,Z,J,X)=>{let Y=Object.entries(Q),K=Y.length;for(let j=0;j{let J=Q,X=Z.split(KY),Y=X.length;for(let K=0;K("isThemeGetter"in Q)&&Q.isThemeGetter===!0,FL=(Q)=>{if(Q<1)return{get:()=>{return},set:()=>{}};let Z=0,J=Object.create(null),X=Object.create(null),Y=(K,j)=>{if(J[K]=j,Z++,Z>Q)Z=0,X=J,J=Object.create(null)};return{get(K){let j=J[K];if(j!==void 0)return j;if((j=X[K])!==void 0)return Y(K,j),j},set(K,j){if(K in J)J[K]=j;else Y(K,j)}}},dK="!",E6=":",RL=[],z6=(Q,Z,J,X,Y)=>({modifiers:Q,hasImportantModifier:Z,baseClassName:J,maybePostfixModifierPosition:X,isExternal:Y}),AL=(Q)=>{let{prefix:Z,experimentalParseClassName:J}=Q,X=(Y)=>{let K=[],j=0,U=0,F=0,A,G=Y.length;for(let H=0;HF?A-F:void 0;return z6(K,E,L,D)};if(Z){let Y=Z+E6,K=X;X=(j)=>j.startsWith(Y)?K(j.slice(Y.length)):z6(RL,!1,j,void 0,!0)}if(J){let Y=X;X=(K)=>J({className:K,parseClassName:Y})}return X},WL=(Q)=>{let Z=new Map;return Q.orderSensitiveModifiers.forEach((J,X)=>{Z.set(J,1e6+X)}),(J)=>{let X=[],Y=[];for(let K=0;K0)Y.sort(),X.push(...Y),Y=[];X.push(j)}else Y.push(j)}if(Y.length>0)Y.sort(),X.push(...Y);return X}},qL=(Q)=>({cache:FL(Q.cacheSize),parseClassName:AL(Q),sortModifiers:WL(Q),postfixLookupClassGroupIds:GL(Q),...ez(Q)}),GL=(Q)=>{let Z=Object.create(null),J=Q.postfixLookupClassGroups;if(J)for(let X=0;X{let{parseClassName:J,getClassGroupId:X,getConflictingClassGroupIds:Y,sortModifiers:K,postfixLookupClassGroupIds:j}=Z,U=[],F=Q.trim().split(EL),A="";for(let G=F.length-1;G>=0;G-=1){let z=F[G],{isExternal:L,modifiers:E,hasImportantModifier:D,baseClassName:H,maybePostfixModifierPosition:V}=J(z);if(L){A=z+(A.length>0?" "+A:A);continue}let O=!!V,S;if(O){let C=H.substring(0,V);S=X(C);let N=S&&j[S]?X(H):void 0;if(N&&N!==S)S=N,O=!1}else S=X(H);if(!S){if(!O){A=z+(A.length>0?" "+A:A);continue}if(S=X(H),!S){A=z+(A.length>0?" "+A:A);continue}O=!1}let P=E.length===0?"":E.length===1?E[0]:K(E).join(":"),T=D?P+dK:P,k=T+S;if(U.indexOf(k)>-1)continue;U.push(k);let M=Y(S,O);for(let C=0;C0?" "+A:A)}return A},LL=(...Q)=>{let Z=0,J,X,Y="";while(Z{if(typeof Q==="string")return Q;let Z,J="";for(let X=0;X{let J,X,Y,K,j=(F)=>{let A=Z.reduce((G,z)=>z(G),Q());return J=qL(A),X=J.cache.get,Y=J.cache.set,K=U,U(F)},U=(F)=>{let A=X(F);if(A)return A;let G=zL(F,J);return Y(F,G),G};return K=j,(...F)=>K(LL(...F))},IL=[],jZ=(Q)=>{let Z=(J)=>J[Q]||IL;return Z.isThemeGetter=!0,Z},KF=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,jF=/^\((?:(\w[\w-]*):)?(.+)\)$/i,HL=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,VL=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,BL=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,DL=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,OL=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ML=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,r0=(Q)=>HL.test(Q),NQ=(Q)=>!!Q&&!Number.isNaN(Number(Q)),H0=(Q)=>!!Q&&Number.isInteger(Number(Q)),eY=(Q)=>Q.endsWith("%")&&NQ(Q.slice(0,-1)),k0=(Q)=>VL.test(Q),UF=()=>!0,PL=(Q)=>BL.test(Q)&&!DL.test(Q),Y7=()=>!1,TL=(Q)=>OL.test(Q),CL=(Q)=>ML.test(Q),SL=(Q)=>!AQ(Q)&&!qQ(Q),NL=(Q)=>Q.startsWith("@container")&&(Q[10]==="/"&&Q[11]!==void 0||Q[11]==="s"&&Q[16]!==void 0&&Q.startsWith("-size/",10)||Q[11]==="n"&&Q[18]!==void 0&&Q.startsWith("-normal/",10)),wL=(Q)=>A9(Q,AF,Y7),AQ=(Q)=>KF.test(Q),G9=(Q)=>A9(Q,WF,PL),L6=(Q)=>A9(Q,$L,NQ),kL=(Q)=>A9(Q,GF,UF),yL=(Q)=>A9(Q,qF,Y7),I6=(Q)=>A9(Q,FF,Y7),_L=(Q)=>A9(Q,RF,CL),VX=(Q)=>A9(Q,EF,TL),qQ=(Q)=>jF.test(Q),BJ=(Q)=>g9(Q,WF),vL=(Q)=>g9(Q,qF),H6=(Q)=>g9(Q,FF),fL=(Q)=>g9(Q,AF),bL=(Q)=>g9(Q,RF),BX=(Q)=>g9(Q,EF,!0),xL=(Q)=>g9(Q,GF,!0),A9=(Q,Z,J)=>{let X=KF.exec(Q);if(X){if(X[1])return Z(X[1]);return J(X[2])}return!1},g9=(Q,Z,J=!1)=>{let X=jF.exec(Q);if(X){if(X[1])return Z(X[1]);return J}return!1},FF=(Q)=>Q==="position"||Q==="percentage",RF=(Q)=>Q==="image"||Q==="url",AF=(Q)=>Q==="length"||Q==="size"||Q==="bg-size",WF=(Q)=>Q==="length",$L=(Q)=>Q==="number",qF=(Q)=>Q==="family-name",GF=(Q)=>Q==="number"||Q==="weight",EF=(Q)=>Q==="shadow",pK=()=>{let Q=jZ("color"),Z=jZ("font"),J=jZ("text"),X=jZ("font-weight"),Y=jZ("tracking"),K=jZ("leading"),j=jZ("breakpoint"),U=jZ("container"),F=jZ("spacing"),A=jZ("radius"),G=jZ("shadow"),z=jZ("inset-shadow"),L=jZ("text-shadow"),E=jZ("drop-shadow"),D=jZ("blur"),H=jZ("perspective"),V=jZ("aspect"),O=jZ("ease"),S=jZ("animate"),P=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...T(),qQ,AQ],M=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],N=()=>[qQ,AQ,F],_=()=>[r0,"full","auto",...N()],x=()=>[H0,"none","subgrid",qQ,AQ],v=()=>["auto",{span:["full",H0,qQ,AQ]},H0,qQ,AQ],b=()=>[H0,"auto",qQ,AQ],h=()=>["auto","min","max","fr",qQ,AQ],p=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],d=()=>["start","end","center","stretch","center-safe","end-safe"],XQ=()=>["auto",...N()],KQ=()=>[r0,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...N()],o=()=>[r0,"screen","full","dvw","lvw","svw","min","max","fit",...N()],r=()=>[r0,"screen","full","lh","dvh","lvh","svh","min","max","fit",...N()],$=()=>[Q,qQ,AQ],LQ=()=>[...T(),H6,I6,{position:[qQ,AQ]}],zQ=()=>["no-repeat",{repeat:["","x","y","space","round"]}],PQ=()=>["auto","cover","contain",fL,wL,{size:[qQ,AQ]}],xQ=()=>[eY,BJ,G9],a=()=>["","none","full",A,qQ,AQ],WQ=()=>["",NQ,BJ,G9],SQ=()=>["solid","dashed","dotted","double"],pQ=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],_Q=()=>[NQ,eY,H6,I6],pZ=()=>["","none",D,qQ,AQ],zZ=()=>["none",NQ,qQ,AQ],sQ=()=>["none",NQ,qQ,AQ],xZ=()=>[NQ,qQ,AQ],MZ=()=>[r0,"full",...N()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[k0],breakpoint:[k0],color:[UF],container:[k0],"drop-shadow":[k0],ease:["in","out","in-out"],font:[SL],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[k0],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[k0],shadow:[k0],spacing:["px",NQ],text:[k0],"text-shadow":[k0],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",r0,AQ,qQ,V]}],container:["container"],"container-type":[{"@container":["","normal","size",qQ,AQ]}],"container-named":[NL],columns:[{columns:[NQ,AQ,qQ,U]}],"break-after":[{"break-after":P()}],"break-before":[{"break-before":P()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:_()}],"inset-x":[{"inset-x":_()}],"inset-y":[{"inset-y":_()}],start:[{"inset-s":_(),start:_()}],end:[{"inset-e":_(),end:_()}],"inset-bs":[{"inset-bs":_()}],"inset-be":[{"inset-be":_()}],top:[{top:_()}],right:[{right:_()}],bottom:[{bottom:_()}],left:[{left:_()}],visibility:["visible","invisible","collapse"],z:[{z:[H0,"auto",qQ,AQ]}],basis:[{basis:[r0,"full","auto",U,...N()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[NQ,r0,"auto","initial","none",AQ]}],grow:[{grow:["",NQ,qQ,AQ]}],shrink:[{shrink:["",NQ,qQ,AQ]}],order:[{order:[H0,"first","last","none",qQ,AQ]}],"grid-cols":[{"grid-cols":x()}],"col-start-end":[{col:v()}],"col-start":[{"col-start":b()}],"col-end":[{"col-end":b()}],"grid-rows":[{"grid-rows":x()}],"row-start-end":[{row:v()}],"row-start":[{"row-start":b()}],"row-end":[{"row-end":b()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":h()}],"auto-rows":[{"auto-rows":h()}],gap:[{gap:N()}],"gap-x":[{"gap-x":N()}],"gap-y":[{"gap-y":N()}],"justify-content":[{justify:[...p(),"normal"]}],"justify-items":[{"justify-items":[...d(),"normal"]}],"justify-self":[{"justify-self":["auto",...d()]}],"align-content":[{content:["normal",...p()]}],"align-items":[{items:[...d(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...d(),{baseline:["","last"]}]}],"place-content":[{"place-content":p()}],"place-items":[{"place-items":[...d(),"baseline"]}],"place-self":[{"place-self":["auto",...d()]}],p:[{p:N()}],px:[{px:N()}],py:[{py:N()}],ps:[{ps:N()}],pe:[{pe:N()}],pbs:[{pbs:N()}],pbe:[{pbe:N()}],pt:[{pt:N()}],pr:[{pr:N()}],pb:[{pb:N()}],pl:[{pl:N()}],m:[{m:XQ()}],mx:[{mx:XQ()}],my:[{my:XQ()}],ms:[{ms:XQ()}],me:[{me:XQ()}],mbs:[{mbs:XQ()}],mbe:[{mbe:XQ()}],mt:[{mt:XQ()}],mr:[{mr:XQ()}],mb:[{mb:XQ()}],ml:[{ml:XQ()}],"space-x":[{"space-x":N()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":N()}],"space-y-reverse":["space-y-reverse"],size:[{size:KQ()}],"inline-size":[{inline:["auto",...o()]}],"min-inline-size":[{"min-inline":["auto",...o()]}],"max-inline-size":[{"max-inline":["none",...o()]}],"block-size":[{block:["auto",...r()]}],"min-block-size":[{"min-block":["auto",...r()]}],"max-block-size":[{"max-block":["none",...r()]}],w:[{w:[U,"screen",...KQ()]}],"min-w":[{"min-w":[U,"screen","none",...KQ()]}],"max-w":[{"max-w":[U,"screen","none","prose",{screen:[j]},...KQ()]}],h:[{h:["screen","lh",...KQ()]}],"min-h":[{"min-h":["screen","lh","none",...KQ()]}],"max-h":[{"max-h":["screen","lh",...KQ()]}],"font-size":[{text:["base",J,BJ,G9]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[X,xL,kL]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",eY,AQ]}],"font-family":[{font:[vL,yL,Z]}],"font-features":[{"font-features":[AQ]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[Y,qQ,AQ]}],"line-clamp":[{"line-clamp":[NQ,"none",qQ,L6]}],leading:[{leading:[K,...N()]}],"list-image":[{"list-image":["none",qQ,AQ]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",qQ,AQ]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:$()}],"text-color":[{text:$()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...SQ(),"wavy"]}],"text-decoration-thickness":[{decoration:[NQ,"from-font","auto",qQ,G9]}],"text-decoration-color":[{decoration:$()}],"underline-offset":[{"underline-offset":[NQ,"auto",qQ,AQ]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"tab-size":[{tab:[H0,qQ,AQ]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",qQ,AQ]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",qQ,AQ]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:LQ()}],"bg-repeat":[{bg:zQ()}],"bg-size":[{bg:PQ()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},H0,qQ,AQ],radial:["",qQ,AQ],conic:[H0,qQ,AQ]},bL,_L]}],"bg-color":[{bg:$()}],"gradient-from-pos":[{from:xQ()}],"gradient-via-pos":[{via:xQ()}],"gradient-to-pos":[{to:xQ()}],"gradient-from":[{from:$()}],"gradient-via":[{via:$()}],"gradient-to":[{to:$()}],rounded:[{rounded:a()}],"rounded-s":[{"rounded-s":a()}],"rounded-e":[{"rounded-e":a()}],"rounded-t":[{"rounded-t":a()}],"rounded-r":[{"rounded-r":a()}],"rounded-b":[{"rounded-b":a()}],"rounded-l":[{"rounded-l":a()}],"rounded-ss":[{"rounded-ss":a()}],"rounded-se":[{"rounded-se":a()}],"rounded-ee":[{"rounded-ee":a()}],"rounded-es":[{"rounded-es":a()}],"rounded-tl":[{"rounded-tl":a()}],"rounded-tr":[{"rounded-tr":a()}],"rounded-br":[{"rounded-br":a()}],"rounded-bl":[{"rounded-bl":a()}],"border-w":[{border:WQ()}],"border-w-x":[{"border-x":WQ()}],"border-w-y":[{"border-y":WQ()}],"border-w-s":[{"border-s":WQ()}],"border-w-e":[{"border-e":WQ()}],"border-w-bs":[{"border-bs":WQ()}],"border-w-be":[{"border-be":WQ()}],"border-w-t":[{"border-t":WQ()}],"border-w-r":[{"border-r":WQ()}],"border-w-b":[{"border-b":WQ()}],"border-w-l":[{"border-l":WQ()}],"divide-x":[{"divide-x":WQ()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":WQ()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...SQ(),"hidden","none"]}],"divide-style":[{divide:[...SQ(),"hidden","none"]}],"border-color":[{border:$()}],"border-color-x":[{"border-x":$()}],"border-color-y":[{"border-y":$()}],"border-color-s":[{"border-s":$()}],"border-color-e":[{"border-e":$()}],"border-color-bs":[{"border-bs":$()}],"border-color-be":[{"border-be":$()}],"border-color-t":[{"border-t":$()}],"border-color-r":[{"border-r":$()}],"border-color-b":[{"border-b":$()}],"border-color-l":[{"border-l":$()}],"divide-color":[{divide:$()}],"outline-style":[{outline:[...SQ(),"none","hidden"]}],"outline-offset":[{"outline-offset":[NQ,qQ,AQ]}],"outline-w":[{outline:["",NQ,BJ,G9]}],"outline-color":[{outline:$()}],shadow:[{shadow:["","none",G,BX,VX]}],"shadow-color":[{shadow:$()}],"inset-shadow":[{"inset-shadow":["none",z,BX,VX]}],"inset-shadow-color":[{"inset-shadow":$()}],"ring-w":[{ring:WQ()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:$()}],"ring-offset-w":[{"ring-offset":[NQ,G9]}],"ring-offset-color":[{"ring-offset":$()}],"inset-ring-w":[{"inset-ring":WQ()}],"inset-ring-color":[{"inset-ring":$()}],"text-shadow":[{"text-shadow":["none",L,BX,VX]}],"text-shadow-color":[{"text-shadow":$()}],opacity:[{opacity:[NQ,qQ,AQ]}],"mix-blend":[{"mix-blend":[...pQ(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":pQ()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[NQ]}],"mask-image-linear-from-pos":[{"mask-linear-from":_Q()}],"mask-image-linear-to-pos":[{"mask-linear-to":_Q()}],"mask-image-linear-from-color":[{"mask-linear-from":$()}],"mask-image-linear-to-color":[{"mask-linear-to":$()}],"mask-image-t-from-pos":[{"mask-t-from":_Q()}],"mask-image-t-to-pos":[{"mask-t-to":_Q()}],"mask-image-t-from-color":[{"mask-t-from":$()}],"mask-image-t-to-color":[{"mask-t-to":$()}],"mask-image-r-from-pos":[{"mask-r-from":_Q()}],"mask-image-r-to-pos":[{"mask-r-to":_Q()}],"mask-image-r-from-color":[{"mask-r-from":$()}],"mask-image-r-to-color":[{"mask-r-to":$()}],"mask-image-b-from-pos":[{"mask-b-from":_Q()}],"mask-image-b-to-pos":[{"mask-b-to":_Q()}],"mask-image-b-from-color":[{"mask-b-from":$()}],"mask-image-b-to-color":[{"mask-b-to":$()}],"mask-image-l-from-pos":[{"mask-l-from":_Q()}],"mask-image-l-to-pos":[{"mask-l-to":_Q()}],"mask-image-l-from-color":[{"mask-l-from":$()}],"mask-image-l-to-color":[{"mask-l-to":$()}],"mask-image-x-from-pos":[{"mask-x-from":_Q()}],"mask-image-x-to-pos":[{"mask-x-to":_Q()}],"mask-image-x-from-color":[{"mask-x-from":$()}],"mask-image-x-to-color":[{"mask-x-to":$()}],"mask-image-y-from-pos":[{"mask-y-from":_Q()}],"mask-image-y-to-pos":[{"mask-y-to":_Q()}],"mask-image-y-from-color":[{"mask-y-from":$()}],"mask-image-y-to-color":[{"mask-y-to":$()}],"mask-image-radial":[{"mask-radial":[qQ,AQ]}],"mask-image-radial-from-pos":[{"mask-radial-from":_Q()}],"mask-image-radial-to-pos":[{"mask-radial-to":_Q()}],"mask-image-radial-from-color":[{"mask-radial-from":$()}],"mask-image-radial-to-color":[{"mask-radial-to":$()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":T()}],"mask-image-conic-pos":[{"mask-conic":[NQ]}],"mask-image-conic-from-pos":[{"mask-conic-from":_Q()}],"mask-image-conic-to-pos":[{"mask-conic-to":_Q()}],"mask-image-conic-from-color":[{"mask-conic-from":$()}],"mask-image-conic-to-color":[{"mask-conic-to":$()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:LQ()}],"mask-repeat":[{mask:zQ()}],"mask-size":[{mask:PQ()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",qQ,AQ]}],filter:[{filter:["","none",qQ,AQ]}],blur:[{blur:pZ()}],brightness:[{brightness:[NQ,qQ,AQ]}],contrast:[{contrast:[NQ,qQ,AQ]}],"drop-shadow":[{"drop-shadow":["","none",E,BX,VX]}],"drop-shadow-color":[{"drop-shadow":$()}],grayscale:[{grayscale:["",NQ,qQ,AQ]}],"hue-rotate":[{"hue-rotate":[NQ,qQ,AQ]}],invert:[{invert:["",NQ,qQ,AQ]}],saturate:[{saturate:[NQ,qQ,AQ]}],sepia:[{sepia:["",NQ,qQ,AQ]}],"backdrop-filter":[{"backdrop-filter":["","none",qQ,AQ]}],"backdrop-blur":[{"backdrop-blur":pZ()}],"backdrop-brightness":[{"backdrop-brightness":[NQ,qQ,AQ]}],"backdrop-contrast":[{"backdrop-contrast":[NQ,qQ,AQ]}],"backdrop-grayscale":[{"backdrop-grayscale":["",NQ,qQ,AQ]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[NQ,qQ,AQ]}],"backdrop-invert":[{"backdrop-invert":["",NQ,qQ,AQ]}],"backdrop-opacity":[{"backdrop-opacity":[NQ,qQ,AQ]}],"backdrop-saturate":[{"backdrop-saturate":[NQ,qQ,AQ]}],"backdrop-sepia":[{"backdrop-sepia":["",NQ,qQ,AQ]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":N()}],"border-spacing-x":[{"border-spacing-x":N()}],"border-spacing-y":[{"border-spacing-y":N()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",qQ,AQ]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[NQ,"initial",qQ,AQ]}],ease:[{ease:["linear","initial",O,qQ,AQ]}],delay:[{delay:[NQ,qQ,AQ]}],animate:[{animate:["none",S,qQ,AQ]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[H,qQ,AQ]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:zZ()}],"rotate-x":[{"rotate-x":zZ()}],"rotate-y":[{"rotate-y":zZ()}],"rotate-z":[{"rotate-z":zZ()}],scale:[{scale:sQ()}],"scale-x":[{"scale-x":sQ()}],"scale-y":[{"scale-y":sQ()}],"scale-z":[{"scale-z":sQ()}],"scale-3d":["scale-3d"],skew:[{skew:xZ()}],"skew-x":[{"skew-x":xZ()}],"skew-y":[{"skew-y":xZ()}],transform:[{transform:[qQ,AQ,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:MZ()}],"translate-x":[{"translate-x":MZ()}],"translate-y":[{"translate-y":MZ()}],"translate-z":[{"translate-z":MZ()}],"translate-none":["translate-none"],zoom:[{zoom:[H0,qQ,AQ]}],accent:[{accent:$()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:$()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",qQ,AQ]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":$()}],"scrollbar-track-color":[{"scrollbar-track":$()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mbs":[{"scroll-mbs":N()}],"scroll-mbe":[{"scroll-mbe":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pbs":[{"scroll-pbs":N()}],"scroll-pbe":[{"scroll-pbe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",qQ,AQ]}],fill:[{fill:["none",...$()]}],"stroke-w":[{stroke:[NQ,BJ,G9,L6]}],stroke:[{stroke:["none",...$()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},hL=(Q,{cacheSize:Z,prefix:J,experimentalParseClassName:X,extend:Y={},override:K={}})=>{return i9(Q,"cacheSize",Z),i9(Q,"prefix",J),i9(Q,"experimentalParseClassName",X),DX(Q.theme,K.theme),DX(Q.classGroups,K.classGroups),DX(Q.conflictingClassGroups,K.conflictingClassGroups),DX(Q.conflictingClassGroupModifiers,K.conflictingClassGroupModifiers),i9(Q,"postfixLookupClassGroups",K.postfixLookupClassGroups),i9(Q,"orderSensitiveModifiers",K.orderSensitiveModifiers),OX(Q.theme,Y.theme),OX(Q.classGroups,Y.classGroups),OX(Q.conflictingClassGroups,Y.conflictingClassGroups),OX(Q.conflictingClassGroupModifiers,Y.conflictingClassGroupModifiers),aK(Q,Y,"postfixLookupClassGroups"),aK(Q,Y,"orderSensitiveModifiers"),Q},i9=(Q,Z,J)=>{if(J!==void 0)Q[Z]=J},DX=(Q,Z)=>{if(Z)for(let J in Z)i9(Q,J,Z[J])},OX=(Q,Z)=>{if(Z)for(let J in Z)aK(Q,Z,J)},aK=(Q,Z,J)=>{let X=Z[J];if(X!==void 0)Q[J]=Q[J]?Q[J].concat(X):X},mL=(Q,...Z)=>typeof Q==="function"?lK(pK,Q,...Z):lK(()=>hL(pK(),Q),...Z),gL=lK(pK),cL=(Q)=>{return wZ(Q)?gL:mL({...Q,extend:{theme:Q.theme,classGroups:Q.classGroups,conflictingClassGroupModifiers:Q.conflictingClassGroupModifiers,conflictingClassGroups:Q.conflictingClassGroups,...Q.extend}})},uL=(Q,Z)=>{let J=YY(Q);if(!J||!(Z?.twMerge??!0))return J;if(!f0.cachedTwMerge||f0.didTwMergeConfigChange)f0.didTwMergeConfigChange=!1,f0.cachedTwMerge=cL(f0.cachedTwMergeConfig);return f0.cachedTwMerge(J)||void 0},dL=(...Q)=>{return(Z)=>uL(Q,Z)},{createTV:yH,tv:ZX}=sz(dL),zF=ZX({slots:{base:"flex space-x-2 rtl:space-x-reverse",content:"p-4 bg-gray-50 rounded-lg dark:bg-gray-800 mt-4",divider:"h-px bg-gray-200 dark:bg-gray-700",active:"p-4 text-primary-600 bg-gray-100 rounded-t-lg dark:bg-gray-800 dark:text-primary-500",inactive:"p-4 text-gray-500 rounded-t-lg hover:text-gray-600 hover:bg-gray-50 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-gray-300"},variants:{tabStyle:{full:{active:"p-4 w-full rounded-none group-first:rounded-s-lg group-last:rounded-e-lg text-gray-900 bg-gray-100 focus:ring-4 focus:ring-primary-300 focus:outline-hidden dark:bg-gray-700 dark:text-white",inactive:"p-4 w-full rounded-none group-first:rounded-s-lg group-last:rounded-e-lg text-gray-500 dark:text-gray-400 bg-white hover:text-gray-700 hover:bg-gray-50 focus:ring-4 focus:ring-primary-300 focus:outline-hidden dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},pill:{active:"py-3 px-4 text-white bg-primary-600 rounded-lg",inactive:"py-3 px-4 text-gray-500 rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-white"},underline:{base:"-mb-px",active:"p-4 text-primary-600 border-b-2 border-primary-600 dark:text-primary-500 dark:border-primary-500 bg-transparent",inactive:"p-4 border-b-2 border-transparent hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300 text-gray-500 dark:text-gray-400 bg-transparent"},none:{active:"",inactive:""}},hasDivider:{true:{}}},compoundVariants:[{tabStyle:["full","pill"],hasDivider:!0,class:{divider:"hidden"}}],defaultVariants:{tabStyle:"none",hasDivider:!0}}),lL=ZX({slots:{base:"group focus-within:z-10",button:"inline-block text-sm font-medium text-center disabled:cursor-not-allowed"},variants:{open:{true:{button:"active"}},disabled:{true:{button:"cursor-not-allowed"}}},compoundVariants:[{open:!0,class:{button:""}},{open:!1,class:{button:""}}],defaultVariants:{open:!1,disabled:!1}}),pL=JQ("
        "),aL=JQ('
        ',1);function iL(Q,Z){let J=yU();fQ(Z,!0);let X=FZ(Z,"selected",15),Y=FZ(Z,"tabStyle",3,"none"),K=FZ(Z,"divider",3,!0),j=VY(Z,["$$slots","$$events","$$legacy","children","selected","tabStyle","ulClass","contentClass","divider","class","classes"]),U=l(()=>typeof Z.classes?.active==="string"?Z.classes.active:void 0);rU("Tabs",I0(()=>({ulClass:Z.ulClass,contentClass:Z.contentClass})),{ulClass:"class",contentClass:"content"});let F=l(()=>J7("tabs")),A=l(()=>Z.classes??{content:Z.contentClass}),G=l(()=>zF({tabStyle:Y(),hasDivider:K()})),z=l(()=>R(G).base),L=l(()=>R(G).content),E=l(()=>R(G).divider),D=`tab-panel-${J}`,H=l(()=>({tabStyle:Y(),panelId:D})),V=l(()=>["full","pill"].includes(Y())?!1:K());tU();let O=kQ(new Map),S=EQ(kQ({})),P=oU((h)=>{e(S,h??{},!0),X(h?.id)});yQ(()=>{if(X()&&X()!==R(S).id){let h=O.get(X());if(h)P(!0,h)}}),yQ(()=>{if(O.size>0&&!R(S).id){let h=X()?O.get(X()):O.values().next().value;if(h)P(!0,h)}}),gz({get activeClasses(){return R(U)},get ctx(){return R(H)},registerTab:(h)=>{if(h.id)O.set(h.id,h)},unregisterTab:(h)=>{O.delete(h)}});var M=aL(),C=VZ(M);uJ(C,(h)=>({role:"tablist",...j,class:h}),[()=>R(z)({class:R0(R(F)?.base,Z.class??Z.ulClass)})]);var N=g(C);f9(N,()=>Z.children),m(C);var _=GQ(C,2);{var x=(h)=>{var p=pL();jQ((d)=>EZ(p,1,d),[()=>P0(R(E)({class:R0(R(F)?.divider,Z.classes?.divider)}))]),i(h,p)};UQ(_,(h)=>{if(R(V))h(x)})}var v=GQ(_,2),b=g(v);f9(b,()=>R(S).snippet??o0),m(v),jQ((h)=>{u(v,"id",D),EZ(v,1,h),u(v,"aria-labelledby",R(S).id)},[()=>P0(R(L)({class:R0(R(F)?.content,R(A).content)}))]),i(Q,M),bQ()}var nL=JQ('
      • ');function sL(Q,Z){let J=yU();fQ(Z,!0);let X=FZ(Z,"open",15,!1),Y=FZ(Z,"title",3,"Tab title"),K=VY(Z,["$$slots","$$events","$$legacy","children","titleSlot","open","title","key","activeClass","inactiveClass","class","classes","disabled","tabStyle"]),j=l(()=>J7("tabItem")),U=mz();if(!U)throw Error("TabItem must be used within a Tabs component");let{activeClasses:F,ctx:A}=U,G=l(()=>Z.tabStyle??A.tabStyle??"full"),z=l(()=>zF({tabStyle:R(G),hasDivider:!0})),L=l(()=>R(z).active),E=l(()=>R(z).inactive),D=l(()=>Z.key??J),H=l(()=>({id:R(D),snippet:Z.children})),V=U.registerTab,O=U.unregisterTab,S=oU((v)=>X(v?.id===R(H).id));yQ(()=>{return S(X(),R(H)),V?.(R(H)),()=>{if(R(H).id)O?.(R(H).id)}});let P=l(()=>lL({open:X(),disabled:Z.disabled})),T=l(()=>R(P).base),k=l(()=>R(P).button);var M=nL();uJ(M,(v)=>({...K,class:v,role:"presentation"}),[()=>R(T)({class:R0(R(j)?.base,Z.class)})]);var C=g(M),N=g(C);{var _=(v)=>{var b=Q0(),h=VZ(b);f9(h,()=>Z.titleSlot),i(v,b)},x=(v)=>{var b=jJ();jQ(()=>IQ(b,Y())),i(v,b)};UQ(N,(v)=>{if(Z.titleSlot)v(_);else v(x,-1)})}m(C),m(M),jQ((v)=>{u(C,"id",R(H).id),u(C,"aria-controls",A.panelId),u(C,"aria-selected",X()),C.disabled=Z.disabled,EZ(C,1,v)},[()=>P0(R(k)({class:R0(X()?Z.activeClass??R(L)({class:F}):Z.inactiveClass??R(E)(),R(j)?.button,Z.classes?.button)}))]),lQ("click",C,()=>X(!0)),i(Q,M),bQ()}uZ(["click"]);var rL=JQ(' '),tL=JQ(" ",1),oL=JQ("
        "),eL=JQ(' ',1),QI=JQ('
        ');function ZI(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(void 0),Y=EQ(0),K=l(()=>c(R(J).orientation,"horizontal")),j=l(()=>dJ(R(J).tabs)),U="slex-tabs-trigger";yQ(()=>dQ(Z.props,(H)=>{e(J,H,!0),e(X,H.value,!0)}));function F(H){e(X,H,!0),cZ(Z.ctx,"change",H)}function A(){e(Y,R(Y)+1)}function G(H){return!!H&&typeof H==="object"&&!Array.isArray(H)}function z(H,V){function O(S){if(H.replaceChildren(),G(S.content)){Z.ctx.renderTree(S.content,H,Z.ctx.forCtx);return}if(S.content!==void 0&&S.content!==null)H.textContent=c(S.content)}return O(V),{update(S){O(S)},destroy(){H.replaceChildren()}}}function L(H){let V,O,S=!1;function P(C,N){F6(Z.ctx,V),V=mK(Z.ctx,()=>{if(V=void 0,!N){C.style.setProperty("--slex-tabs-indicator-opacity","0");return}let _=C.getBoundingClientRect(),x=N.getBoundingClientRect(),v=N.querySelector(".slex-tabs-trigger-icon")?.getBoundingClientRect(),b=R(K)==="vertical",h=getComputedStyle(C),p=Number.parseFloat(h.getPropertyValue("--slex-tabs-indicator-inline-inset"))||0,d=Number.parseFloat(h.getPropertyValue("--slex-tabs-indicator-block-inset"))||0,XQ=!!v&&N.classList.contains("slex-tabs-trigger--icon"),KQ=XQ&&v.width>0?v:x,o=b?2:XQ?Math.max(14,Math.min(22,KQ.width+2)):Math.max(8,x.width-p*2),r=b?Math.max(8,x.height-d*2):2,$=KQ.left-_.left+KQ.width/2,LQ=KQ.top-_.top+KQ.height/2,zQ=b?_.width-o:$-o/2,PQ=b?LQ-r/2:_.height-r;if(C.style.setProperty("--slex-tabs-indicator-width",`${Math.max(0,o)}px`),C.style.setProperty("--slex-tabs-indicator-height",`${Math.max(0,r)}px`),C.style.setProperty("--slex-tabs-indicator-x",`${Math.max(0,zQ)}px`),C.style.setProperty("--slex-tabs-indicator-y",`${Math.max(0,PQ)}px`),C.style.setProperty("--slex-tabs-indicator-opacity","1"),!S)S=!0,mK(Z.ctx,()=>{C.dataset.indicatorReady="true"})})}function T(){let C=H.querySelectorAll(".slex-tabs-trigger"),N=H.querySelector(".slex-tabs-list"),_;if(R(j).forEach((x,v)=>{let b=C[v];if(!b)return;let h=x.value??x.label,p=c(h)===c(R(X));if(b.dataset.value=c(h),b.toggleAttribute("data-selected",p),b.classList.toggle("slex-tabs-trigger--selected",p),b.setAttribute("aria-selected",String(p)),p)_=b}),N)P(N,_)}function k(){T(),queueMicrotask(T)}k();let M=H.querySelector(".slex-tabs-list");if(M&&"ResizeObserver"in window)O=new ResizeObserver(k),O.observe(M);return{update(){k()},destroy(){F6(Z.ctx,V),O?.disconnect()}}}var E=QI(),D=g(E);{let H=l(()=>c(R(X)));iL(D,{class:"slex-tabs-list",tabStyle:"none",divider:!1,get selected(){return R(H)},get "aria-orientation"(){return R(K)},classes:{content:"slex-tabs-content"},children:(V,O)=>{var S=eL(),P=VZ(S);rZ(P,17,()=>R(j),F0,(T,k)=>{let M=l(()=>R(k).value??R(k).label),C=l(()=>c(R(M))===c(R(X))),N=l(()=>!!c(R(k).icon)),_=l(()=>c(R(k).label??R(M))),x=l(()=>!!R(k).iconOnly||R(N)&&!R(k).label),v=l(()=>R(x)?"slex-tabs-trigger--icon":R(N)?"slex-tabs-trigger--with-icon":"");{let b=(r)=>{var $=tL(),LQ=VZ($);{var zQ=(WQ)=>{aQ(WQ,{get name(){return R(k).icon},get selected(){return R(C)},className:"slex-tabs-trigger-icon",onIconLoad:A})};UQ(LQ,(WQ)=>{if(R(N))WQ(zQ)})}var PQ=GQ(LQ,2);{var xQ=(WQ)=>{var SQ=rL(),pQ=g(SQ,!0);m(SQ),jQ(()=>IQ(pQ,R(_))),i(WQ,SQ)},a=(WQ)=>{var SQ=jJ();jQ(()=>IQ(SQ,R(_))),i(WQ,SQ)};UQ(PQ,(WQ)=>{if(R(x))WQ(xQ);else WQ(a,-1)})}i(r,$)},h=l(()=>c(R(M))),p=l(()=>!!R(k).disabled),d=l(()=>c(R(M))),XQ=l(()=>`${U} slex-tabs-trigger--selected ${R(v)}`),KQ=l(()=>`${U} ${R(v)}`),o=l(()=>({button:R(C)?"slex-tabs-trigger--selected":""}));sL(T,{get key(){return R(h)},get open(){return R(C)},get disabled(){return R(p)},get "data-value"(){return R(d)},get activeClass(){return R(XQ)},get inactiveClass(){return R(KQ)},get classes(){return R(o)},onclick:()=>F(R(M)),titleSlot:b,children:(r,$)=>{var LQ=Q0(),zQ=VZ(LQ);{var PQ=(xQ)=>{var a=oL();d0(a,(WQ,SQ)=>z?.(WQ,SQ),()=>R(k)),i(xQ,a)};UQ(zQ,(xQ)=>{if(R(k).content)xQ(PQ)})}i(r,LQ)},$$slots:{titleSlot:!0,default:!0}})}}),tJ(2),i(V,S)},$$slots:{default:!0}})}m(E),d0(E,(H,V)=>L?.(H,V),()=>({value:R(X),items:R(j),iconVersion:R(Y)})),jQ(()=>u(E,"data-orientation",R(K))),i(Q,E),bQ()}var JI=JQ('

        '),XI=JQ('
        ');function YI(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(void 0),Y=EQ(kQ({})),K=l(()=>dJ(R(J).items));function j(E){return c(E.value??E.label)}function U(E){let D=R(K).find((H)=>j(H)===E);return D?D.value??D.label:void 0}function F(E,D){if(D&&Array.isArray(E))return E.map((V)=>c(V));let H=c(E);return H?[H]:[]}function A(E=R(Y)){let D=Object.keys(E).filter((H)=>E[H]);if(R(J).multiple)return D.map((H)=>U(H)).filter((H)=>H!==void 0);return D.length?U(D[0]):void 0}yQ(()=>dQ(Z.props,(E)=>{e(J,E,!0),e(X,E.value,!0);let D=F(E.value,E.multiple===!0),H={};for(let V of dJ(E.items)){let O=j(V);H[O]=D.includes(O)}e(Y,H,!0)}));function G(E){let D=!!R(Y)[E],H;if(R(J).multiple)H={...R(Y),[E]:!D};else{H={};for(let O of R(K))H[j(O)]=!1;H[E]=!D}e(Y,H,!0);let V=A(H);e(X,V,!0),cZ(Z.ctx,"change",V)}var z=XI(),L=g(z);rZ(L,21,()=>R(K),F0,(E,D)=>{let H=l(()=>j(R(D))),V=l(()=>!!R(Y)[R(H)]);var O=JI(),S=g(O),P=g(S),T=g(P),k=g(T);{var M=(b)=>{aQ(b,{get name(){return R(D).icon},get selected(){return R(V)},className:"slex-accordion-icon"})};UQ(k,(b)=>{if(R(D).icon)b(M)})}var C=GQ(k,2),N=g(C,!0);m(C),m(T),tJ(2),m(P),m(S);var _=GQ(S,2),x=g(_),v=g(x,!0);m(x),m(_),m(O),jQ((b,h)=>{u(O,"data-state",R(V)?"open":"closed"),u(P,"data-state",R(V)?"open":"closed"),u(P,"aria-expanded",R(V)),u(P,"aria-controls",`${Z.ctx.id}-${R(H)}-content`),P.disabled=R(D).disabled===!0,IQ(N,b),u(_,"id",`${Z.ctx.id}-${R(H)}-content`),u(_,"data-state",R(V)?"open":"closed"),u(_,"aria-hidden",!R(V)),IQ(v,h)},[()=>c(R(D).label),()=>c(R(D).content)]),lQ("click",P,()=>G(R(H))),i(E,O)}),m(L),m(z),i(Q,z),bQ()}uZ(["click"]);var KI=JQ('
        ');function jI(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(!1);yQ(()=>dQ(Z.props,(H)=>{e(J,H,!0),e(X,!!(H.open??H.value))}));function Y(){e(X,!R(X)),cZ(Z.ctx,R(X)?"open":"close",R(X)),cZ(Z.ctx,"change",R(X))}var K=KI(),j=g(K),U=g(j),F=g(U);{var A=(H)=>{aQ(H,{get name(){return R(J).icon},get selected(){return R(X)},className:"slex-collapsible-icon"})};UQ(F,(H)=>{if(R(J).icon)H(A)})}var G=GQ(F,2),z=g(G,!0);m(G),m(U),tJ(2),m(j);var L=GQ(j,2),E=g(L),D=g(E,!0);m(E),d0(E,(H,V)=>m9?.(H,V),()=>Z.ctx),m(L),m(K),jQ((H,V)=>{u(K,"data-state",R(X)?"open":"closed"),u(j,"data-state",R(X)?"open":"closed"),u(j,"aria-expanded",R(X)),u(j,"aria-controls",`${Z.ctx.id}-content`),IQ(z,H),u(L,"id",`${Z.ctx.id}-content`),u(L,"data-state",R(X)?"open":"closed"),u(L,"aria-hidden",!R(X)),IQ(D,V)},[()=>b9(Z.ctx,"collapsible.trigger",R(J).trigger,"Toggle"),()=>c(R(J).content)]),lQ("click",j,Y),i(Q,K),bQ()}uZ(["click"]);var UI=JQ(" "),FI=JQ('
        '),RI=JQ('
        ');function AI(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(G)=>e(J,G,!0)));function X(){let G=Number(R(J).value??0);return Number.isFinite(G)?Math.min(100,Math.max(0,G)):0}var Y=RI(),K=g(Y);{var j=(G)=>{var z=FI(),L=g(z);{var E=(V)=>{aQ(V,{get name(){return R(J).icon},className:"slex-progress-icon"})};UQ(L,(V)=>{if(R(J).icon)V(E)})}var D=GQ(L,2);{var H=(V)=>{var O=UI(),S=g(O,!0);m(O),jQ((P)=>IQ(S,P),[()=>c(R(J).label)]),i(V,O)};UQ(D,(V)=>{if(R(J).label)V(H)})}m(z),i(G,z)};UQ(K,(G)=>{if(R(J).label||R(J).icon)G(j)})}var U=GQ(K,2),F=g(U);let A;m(U),m(Y),jQ((G,z,L)=>{u(Y,"data-state",R(J).indeterminate?"indeterminate":"determinate"),u(Y,"aria-label",G),u(Y,"aria-valuemin",R(J).indeterminate?void 0:0),u(Y,"aria-valuemax",R(J).indeterminate?void 0:100),u(Y,"aria-valuenow",z),A=GJ(F,"",A,L)},[()=>c(R(J)["aria-label"]??R(J).ariaLabel??R(J).label)||void 0,()=>R(J).indeterminate?void 0:X(),()=>({width:`${X()}%`})]),i(Q,Y),bQ()}var WI=ZX({base:"focus:outline-hidden whitespace-normal disabled:cursor-not-allowed disabled:opacity-50",variants:{color:{primary:"text-primary-500 focus:ring-primary-400 hover:bg-primary-200 dark:hover:bg-primary-800 dark:hover:text-primary-300",secondary:"text-secondary-500 focus:ring-secondary-400 hover:bg-secondary-200 dark:hover:bg-secondary-800 dark:hover:text-secondary-300",gray:"text-gray-500 focus:ring-gray-400 hover:bg-gray-200 dark:hover:bg-gray-800 dark:hover:text-gray-300",red:"text-red-500 focus:ring-red-400 hover:bg-red-200 dark:hover:bg-red-800 dark:hover:text-red-300",orange:"text-orange-500 focus:ring-orange-400 hover:bg-orange-200 dark:hover:bg-orange-800 dark:hover:text-orange-300",amber:"text-amber-500 focus:ring-amber-400 hover:bg-amber-200 dark:hover:bg-amber-800 dark:hover:text-amber-300",yellow:"text-yellow-500 focus:ring-yellow-400 hover:bg-yellow-200 dark:hover:bg-yellow-800 dark:hover:text-yellow-300",lime:"text-lime-500 focus:ring-lime-400 hover:bg-lime-200 dark:hover:bg-lime-800 dark:hover:text-lime-300",green:"text-green-500 focus:ring-green-400 hover:bg-green-200 dark:hover:bg-green-800 dark:hover:text-green-300",emerald:"text-emerald-500 focus:ring-emerald-400 hover:bg-emerald-200 dark:hover:bg-emerald-800 dark:hover:text-emerald-300",teal:"text-teal-500 focus:ring-teal-400 hover:bg-teal-200 dark:hover:bg-teal-800 dark:hover:text-teal-300",cyan:"text-cyan-500 focus:ring-cyan-400 hover:bg-cyan-200 dark:hover:bg-cyan-800 dark:hover:text-cyan-300",sky:"text-sky-500 focus:ring-sky-400 hover:bg-sky-200 dark:hover:bg-sky-800 dark:hover:text-sky-300",blue:"text-blue-500 focus:ring-blue-400 hover:bg-blue-200 dark:hover:bg-blue-800 dark:hover:text-blue-300",indigo:"text-indigo-500 focus:ring-indigo-400 hover:bg-indigo-200 dark:hover:bg-indigo-800 dark:hover:text-indigo-300",violet:"text-violet-500 focus:ring-violet-400 hover:bg-violet-200 dark:hover:bg-violet-800 dark:hover:text-violet-300",purple:"text-purple-500 focus:ring-purple-400 hover:bg-purple-200 dark:hover:bg-purple-800 dark:hover:text-purple-300",fuchsia:"text-fuchsia-500 focus:ring-fuchsia-400 hover:bg-fuchsia-200 dark:hover:bg-fuchsia-800 dark:hover:text-fuchsia-300",pink:"text-pink-500 focus:ring-pink-400 hover:bg-pink-200 dark:hover:bg-pink-800 dark:hover:text-pink-300",rose:"text-rose-500 focus:ring-rose-400 hover:bg-rose-200 dark:hover:bg-rose-800 dark:hover:text-rose-300",none:""},size:{xs:"m-0.5 rounded-xs focus:ring-1 p-0.5",sm:"m-0.5 rounded-sm focus:ring-1 p-0.5",md:"m-0.5 rounded-lg focus:ring-2 p-1.5",lg:"m-0.5 rounded-lg focus:ring-2 p-2.5"}},defaultVariants:{color:"gray",size:"md",href:null},slots:{svg:""},compoundVariants:[{size:"xs",class:{svg:"w-3 h-3"}},{size:"sm",class:{svg:"w-3.5 h-3.5"}},{size:["md","lg"],class:{svg:"w-5 h-5"}},{size:["xs","sm","md","lg"],color:"none",class:"focus:ring-0 rounded-none m-0"}]}),LF=Symbol("dismissable");function qI(Q){return QY(LF,{dismiss:Q})}function GI(){let Q=x8(LF);return Q}var EI=JQ(' '),zI=kU(''),LI=JQ(""),II=JQ(' '),HI=kU(''),VI=JQ(" ");function BI(Q,Z){fQ(Z,!0);let J=FZ(Z,"color",3,"gray"),X=FZ(Z,"name",3,"Close"),Y=FZ(Z,"size",3,"md"),K=VY(Z,["$$slots","$$events","$$legacy","children","color","onclick","name","ariaLabel","size","class","svgClass"]),j=l(()=>WI({color:J(),size:Y()})),U=l(()=>R(j).base),F=l(()=>R(j).svg),A=GI();function G(H){if(Z.onclick?.(H),H.defaultPrevented)return;A?.dismiss?.(H)}var z=Q0(),L=VZ(z);{var E=(H)=>{var V=LI();uJ(V,(M)=>({type:"button",...K,class:M,onclick:G,"aria-label":Z.ariaLabel??X()}),[()=>R(U)({class:R0(Z.class)})]);var O=g(V);{var S=(M)=>{var C=EI(),N=g(C,!0);m(C),jQ(()=>IQ(N,X())),i(M,C)};UQ(O,(M)=>{if(X())M(S)})}var P=GQ(O,2);{var T=(M)=>{var C=Q0(),N=VZ(C);f9(N,()=>Z.children),i(M,C)},k=(M)=>{var C=zI();jQ((N)=>EZ(C,0,N),[()=>P0(R(F)({class:Z.svgClass}))]),i(M,C)};UQ(P,(M)=>{if(Z.children)M(T);else M(k,-1)})}m(V),i(H,V)},D=(H)=>{var V=VI();uJ(V,(M)=>({...K,onclick:G,class:M,"aria-label":Z.ariaLabel??X()}),[()=>R(U)({class:R0(Z.class)})]);var O=g(V);{var S=(M)=>{var C=II(),N=g(C,!0);m(C),jQ(()=>IQ(N,X())),i(M,C)};UQ(O,(M)=>{if(X())M(S)})}var P=GQ(O,2);{var T=(M)=>{var C=Q0(),N=VZ(C);f9(N,()=>Z.children),i(M,C)},k=(M)=>{var C=HI();jQ((N)=>EZ(C,0,N),[()=>P0(R(F)())]),i(M,C)};UQ(P,(M)=>{if(Z.children)M(T);else M(k,-1)})}m(V),i(H,V)};UQ(L,(H)=>{if(Z.href===void 0)H(E);else H(D,-1)})}i(Q,z),bQ()}var DI=ZX({slots:{base:"flex w-full max-w-xs p-4 text-gray-500 bg-white rounded-lg shadow-sm dark:text-gray-400 dark:bg-gray-800 gap-3",icon:"w-8 h-8 inline-flex items-center justify-center shrink-0 rounded-lg",content:"w-full text-sm font-normal",close:"ms-auto -mx-1.5 -my-1.5 bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex items-center justify-center h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},variants:{position:{"top-left":{base:"absolute top-5 start-5"},"top-right":{base:"absolute top-5 end-5"},"bottom-left":{base:"absolute bottom-5 start-5"},"bottom-right":{base:"absolute bottom-5 end-5"}},color:{primary:{icon:"text-primary-500 bg-primary-100 dark:bg-primary-800 dark:text-primary-200",close:"text-primary-500 dark:text-primary-200 hover:text-primary-600 dark:hover:text-primary-500"},gray:{icon:"text-gray-500 bg-gray-100 dark:bg-gray-700 dark:text-gray-200",close:"text-gray-500 dark:text-gray-200 hover:text-gray-600 dark:hover:text-gray-500"},red:{icon:"text-red-500 bg-red-100 dark:bg-red-800 dark:text-red-200",close:"text-red-500 dark:text-red-200 hover:text-red-600 dark:hover:text-red-500"},orange:{icon:"text-orange-500 bg-orange-100 dark:bg-orange-700 dark:text-orange-200",close:"text-orange-500 dark:text-orange-200 hover:text-orange-600 dark:hover:text-orange-500"},amber:{icon:"text-amber-500 bg-amber-100 dark:bg-amber-700 dark:text-amber-200",close:"text-amber-500 dark:text-amber-200 hover:text-amber-600 dark:hover:text-amber-500"},yellow:{icon:"text-yellow-500 bg-yellow-100 dark:bg-yellow-800 dark:text-yellow-200",close:"text-yellow-500 dark:text-yellow-200 hover:text-yellow-600 dark:hover:text-yellow-500"},lime:{icon:"text-lime-500 bg-lime-100 dark:bg-lime-700 dark:text-lime-200",close:"text-lime-500 dark:text-lime-200 hover:text-lime-600 dark:hover:text-lime-500"},green:{icon:"text-green-500 bg-green-100 dark:bg-green-800 dark:text-green-200",close:"text-green-500 dark:text-green-200 hover:text-green-600 dark:hover:text-green-500"},emerald:{icon:"text-emerald-500 bg-emerald-100 dark:bg-emerald-800 dark:text-emerald-200",close:"text-emerald-500 dark:text-emerald-200 hover:text-emerald-600 dark:hover:text-emerald-500"},teal:{icon:"text-teal-500 bg-teal-100 dark:bg-teal-800 dark:text-teal-200",close:"text-teal-500 dark:text-teal-200 hover:text-teal-600 dark:hover:text-teal-500"},cyan:{icon:"text-cyan-500 bg-cyan-100 dark:bg-cyan-800 dark:text-cyan-200",close:"text-cyan-500 dark:text-cyan-200 hover:text-cyan-600 dark:hover:text-cyan-500"},sky:{icon:"text-sky-500 bg-sky-100 dark:bg-sky-800 dark:text-sky-200",close:"text-sky-500 dark:text-sky-200 hover:text-sky-600 dark:hover:text-sky-500"},blue:{icon:"text-blue-500 bg-blue-100 dark:bg-blue-800 dark:text-blue-200",close:"text-blue-500 dark:text-blue-200 hover:text-blue-600 dark:hover:text-blue-500"},indigo:{icon:"text-indigo-500 bg-indigo-100 dark:bg-indigo-800 dark:text-indigo-200",close:"text-indigo-500 dark:text-indigo-200 hover:text-indigo-600 dark:hover:text-indigo-500"},violet:{icon:"text-violet-500 bg-violet-100 dark:bg-violet-800 dark:text-violet-200",close:"text-violet-500 dark:text-violet-200 hover:text-violet-600 dark:hover:text-violet-500"},purple:{icon:"text-purple-500 bg-purple-100 dark:bg-purple-800 dark:text-purple-200",close:"text-purple-500 dark:text-purple-200 hover:text-purple-600 dark:hover:text-purple-500"},fuchsia:{icon:"text-fuchsia-500 bg-fuchsia-100 dark:bg-fuchsia-800 dark:text-fuchsia-200",close:"text-fuchsia-500 dark:text-fuchsia-200 hover:text-fuchsia-600 dark:hover:text-fuchsia-500"},pink:{icon:"text-pink-500 bg-pink-100 dark:bg-pink-700 dark:text-pink-200",close:"text-pink-500 dark:text-pink-200 hover:text-pink-600 dark:hover:text-pink-500"},rose:{icon:"text-rose-500 bg-rose-100 dark:bg-rose-700 dark:text-rose-200",close:"text-rose-500 dark:text-rose-200 hover:text-rose-600 dark:hover:text-rose-500"}},align:{true:{base:"items-center"},false:{base:"items-start"}}}}),_H=ZX({base:"fixed z-50 space-y-3"});function OI(Q){let Z=Q-1;return Z*Z*Z+1}function V6(Q){let Z=typeof Q==="string"&&Q.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return Z?[parseFloat(Z[1]),Z[2]||"px"]:[Q,"px"]}function MI(Q,{delay:Z=0,duration:J=400,easing:X=OI,x:Y=0,y:K=0,opacity:j=0}={}){let U=getComputedStyle(Q),F=+U.opacity,A=U.transform==="none"?"":U.transform,G=F*(1-j),[z,L]=V6(Y),[E,D]=V6(K);return{delay:Z,duration:J,easing:X,css:(H,V)=>` transform: ${A} translate(${(1-H)*z}${L}, ${(1-H)*E}${D}); - opacity: ${F-G*V}`}}var PI=JQ("
        "),TI=JQ("
        ");function IF(Q,Z){fQ(Z,!0);let J=FZ(Z,"toastStatus",15,!0),X=FZ(Z,"dismissable",3,!0),Y=FZ(Z,"closeAriaLabel",3,"Remove toast"),K=FZ(Z,"color",3,"primary"),j=FZ(Z,"align",3,!0),U=FZ(Z,"transition",3,MI),F=VY(Z,["$$slots","$$events","$$legacy","children","icon","toastStatus","dismissable","closeAriaLabel","color","position","iconClass","contentClass","align","params","transition","class","classes"]);rU("Toast",I0(()=>({iconClass:Z.iconClass,contentClass:Z.contentClass})),{iconClass:"icon",contentClass:"content"});let A=l(()=>Z.classes??{icon:Z.iconClass,content:Z.contentClass}),G=l(()=>J7("toast")),z=l(()=>DI({color:K(),position:Z.position,align:j()})),L=l(()=>R(z).base),E=l(()=>R(z).icon),D=l(()=>R(z).content),H=l(()=>R(z).close),V=EQ(void 0);function O(){if(R(V)?.dispatchEvent(new Event("close",{bubbles:!0,cancelable:!0})))J(!1)}qI(O);var S=Q0(),P=VZ(S);{var T=(k)=>{var M=TI();uJ(M,(h)=>({role:"alert",...F,class:h}),[()=>R(L)({class:R0(R(G)?.base,Z.class)})]);var C=g(M);{var N=(h)=>{var i=PI(),d=g(i);f9(d,()=>Z.icon),m(i),jQ((XQ)=>EZ(i,1,XQ),[()=>P0(R(E)({class:R0(R(G)?.icon,R(A).icon)}))]),a(h,i)};UQ(C,(h)=>{if(Z.icon)h(N)})}var _=GQ(C,2),b=g(_);f9(b,()=>Z.children),m(_);var f=GQ(_,2);{var x=(h)=>{{let i=l(()=>R(H)({class:R0(R(G)?.close,Z.classes?.close)}));BI(h,{get class(){return R(i)},get ariaLabel(){return Y()},get color(){return K()}})}};UQ(f,(h)=>{if(X())h(x)})}m(M),lU(M,(h)=>e(V,h),()=>R(V)),jQ((h)=>EZ(_,1,h),[()=>P0(R(D)({class:R0(R(G)?.content,R(A).content)}))]),FG(3,M,U,()=>Z.params),a(k,M)};UQ(P,(k)=>{if(J())k(T)})}a(Q,S),bQ()}var CI=JQ(''),SI=JQ('
        '),NI=JQ('
        '),wI=JQ(" ",1),kI=JQ('
        ');function yI(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(!0);yQ(()=>dQ(Z.props,(O)=>e(J,O,!0))),yQ(()=>{let O=K(),S=j(),P=Y();if(!O&&!S&&!P)return;e(X,!0);let T=F();if(T<=0)return;let k=setTimeout(()=>{e(X,!1)},T);return()=>clearTimeout(k)});function Y(){let O=c(R(J).type??R(J).tone??"info").toLowerCase();if(O==="error"||O==="destructive")return"danger";if(O==="neutral"||O==="default")return"info";return O}function K(){return c(R(J).title??R(J).label??R(J).heading)}function j(){return c(R(J).description??R(J).text??R(J).message??R(J).content)}function U(){if(R(J).dismissable===void 0&&R(J).dismissible===void 0)return!0;return z9(R(J).dismissable??R(J).dismissible)}function F(){let O=Number(R(J).duration??0);return Number.isFinite(O)&&O>0?O:0}function A(){if(!R(X))return;e(X,!1),cZ(Z.ctx,"close",{type:"close",target:Z.ctx.id})}function G(O){let S=O.target;if(!(S instanceof Element))return;if(S.closest(".slex-toast-close"))A()}function z(){return Y()==="danger"?"alert":"status"}function L(){let O=Y();if(O==="success")return"green";if(O==="warning")return"yellow";if(O==="danger")return"red";if(O==="muted"||O==="neutral")return"gray";return"blue"}function E(){return b9(Z.ctx,"toast.close",R(J).closeLabel??R(J).closeAriaLabel,"Close")}var D=kI(),H=g(D);{var V=(O)=>{{let S=(_)=>{var b=CI();a(_,b)},P=l(Y),T=l(L),k=l(z),M=l(()=>z()==="alert"?"assertive":"polite"),C=l(U),N=l(E);IF(O,{class:"slex-toast",get "data-tone"(){return R(P)},get color(){return R(T)},get role(){return R(k)},get "aria-live"(){return R(M)},get dismissable(){return R(C)},get closeAriaLabel(){return R(N)},classes:{icon:"slex-toast-mark",content:"slex-toast-content",close:"slex-toast-close"},onclose:A,get toastStatus(){return R(X)},set toastStatus(_){e(X,_,!0)},icon:S,children:(_,b)=>{var f=wI(),x=VZ(f);{var h=(t)=>{var o=SI(),$=g(o);{var LQ=(xQ)=>{aQ(xQ,{get name(){return R(J).icon},className:"slex-toast-icon"})};UQ($,(xQ)=>{if(R(J).icon)xQ(LQ)})}var zQ=GQ($),PQ=g(zQ,!0);m(zQ),m(o),jQ((xQ)=>IQ(PQ,xQ),[()=>K()]),a(t,o)},i=l(()=>K());UQ(x,(t)=>{if(R(i))t(h)})}var d=GQ(x,2);{var XQ=(t)=>{var o=NI(),$=g(o,!0);m(o),jQ((LQ)=>IQ($,LQ),[()=>j()]),a(t,o)},KQ=l(()=>j());UQ(d,(t)=>{if(R(KQ))t(XQ)})}a(_,f)},$$slots:{icon:!0,default:!0}})}};UQ(H,(O)=>{if(R(X))O(V)})}m(D),lQ("click",D,G),a(Q,D),bQ()}uZ(["click"]);var _I=JQ(' '),vI=JQ(' '),fI=JQ('
        ');function bI(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(""),Y=EQ(""),K=EQ("changed"),j=!1,U=EQ(!1),F=EQ("update"),A=l(()=>c(R(J).value)),G=l(()=>V(R(X),R(Y)));yQ(()=>dQ(Z.props,(f)=>e(J,f,!0)));function z(f){let x=Number.parseFloat(f.replaceAll(",",""));return Number.isFinite(x)?x:null}function L(f,x){let h=z(f),i=z(x);if(h===null||i===null)return"changed";if(i>h)return"up";if(iH(x)?"0":x).join("")}yQ(()=>{let f=R(A);if(!j){e(U,E(R(J).animateInitial),!0),e(X,R(U)?D(f):f,!0),e(Y,f,!0),e(K,"up"),e(F,"initial"),j=!0;return}if(f===R(Y))return;e(K,L(R(Y),f),!0),e(X,R(Y),!0),e(Y,f,!0),e(U,!0),e(F,"update")});function H(f){return/^[0-9]$/.test(f)}function V(f,x){let h=Array.from(f),i=Array.from(x),d=Math.max(0,i.length-h.length),XQ=Math.max(0,h.length-i.length);return i.map((KQ,t)=>{let o=h[t-d+XQ]??"";return{char:KQ,previousChar:o,changed:o!==KQ,key:`${t}:${KQ}`,kind:H(KQ)?"digit":"symbol"}})}var O=fI(),S=g(O),P=g(S);{var T=(f)=>{aQ(f,{get name(){return R(J).icon},className:"slex-stat-icon"})};UQ(P,(f)=>{if(R(J).icon)f(T)})}var k=GQ(P,2),M=g(k,!0);m(k),m(S);var C=GQ(S,2),N=g(C);rZ(N,21,()=>R(G),(f)=>f.key,(f,x)=>{var h=_I(),i=g(h),d=g(i,!0);m(i),m(h),jQ(()=>{u(h,"data-stat-kind",R(x).kind),u(h,"data-stat-change",R(x).changed&&R(U)?R(K):void 0),u(h,"data-stat-initial",R(x).changed&&R(U)&&R(F)==="initial"?"true":void 0),u(h,"data-stat-previous",R(x).previousChar||void 0),IQ(d,R(x).char)}),a(f,h)}),m(N);var _=GQ(N,2);{var b=(f)=>{var x=vI(),h=g(x,!0);m(x),jQ((i)=>IQ(h,i),[()=>c(R(J).unit)]),a(f,x)};UQ(_,(f)=>{if(R(J).unit)f(b)})}m(C),m(O),jQ((f,x)=>{u(O,"data-tone",f),IQ(M,x)},[()=>R(J).tone||R(J).type?c(R(J).tone??R(J).type):void 0,()=>c(R(J).label??Z.componentName)]),a(Q,O),bQ()}var xI=JQ("
        ");function $I(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(A)=>e(J,A,!0)));let X=l(()=>R(J).color==null||R(J).color===""?void 0:c(R(J).color)),Y=l(()=>K(R(J).size));function K(A){if(A==null||A==="")return;let G=c(A);return/^-?\d+(\.\d+)?$/.test(G)?`${G}px`:G}var j=xI();let U;var F=g(j,!0);m(j),jQ((A,G)=>{EZ(j,1,A),U=GJ(j,"",U,{color:R(X),"font-size":R(Y)}),IQ(F,G)},[()=>`slex-text${R(J).variant?` slex-text--${c(R(J).variant)}`:""}${R(J).class?` ${c(R(J).class)}`:""}`,()=>c(R(J).content??R(J).text??R(J).label)]),a(Q,j),bQ()}var hI=JQ(' ');function mI(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(A)=>e(J,A,!0)));function X(){let A=c(R(J).tone??R(J).type??R(J).variant,"neutral").toLowerCase();if(A==="danger"||A==="error")return"destructive";if(A==="muted"||A==="neutral"||A==="default")return"neutral";return A}var Y=hI(),K=g(Y);{var j=(A)=>{aQ(A,{get name(){return R(J).icon},className:"slex-badge-icon"})};UQ(K,(A)=>{if(R(J).icon)A(j)})}var U=GQ(K),F=g(U,!0);m(U),m(Y),jQ((A,G)=>{u(Y,"data-tone",A),IQ(F,G)},[()=>X(),()=>c(R(J).label??R(J).text??R(J).content??Z.componentName)]),a(Q,Y),bQ()}var gI=JQ(''),cI=JQ('
        '),uI=JQ('
        ',1);function dI(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(F)=>e(J,F,!0)));function X(){let F=c(R(J).tone??R(J).type,"info").toLowerCase();if(F==="error"||F==="destructive")return"danger";if(F==="neutral"||F==="default"||F==="muted")return"info";return F}function Y(){return c(R(J).title??R(J).label??R(J).heading)}function K(){return c(R(J).text??R(J).content??R(J).description??R(J).message)}function j(){return X()==="danger"?"alert":"note"}function U(){let F=X();if(F==="success")return"green";if(F==="warning")return"yellow";if(F==="danger")return"red";if(F==="muted"||F==="neutral")return"gray";return"blue"}{let F=(E)=>{var D=gI();a(E,D)},A=l(X),G=l(U),z=l(j),L=l(()=>j()==="alert"?"assertive":"polite");IF(Q,{class:"slex-callout","data-scope":"callout",get "data-tone"(){return R(A)},get color(){return R(G)},get role(){return R(z)},get "aria-live"(){return R(L)},dismissable:!1,align:!1,classes:{icon:"slex-callout-mark",content:"slex-callout-content"},icon:F,children:(E,D)=>{var H=uI(),V=VZ(H);{var O=(k)=>{var M=cI(),C=g(M);{var N=(f)=>{aQ(f,{get name(){return R(J).icon},className:"slex-callout-icon"})};UQ(C,(f)=>{if(R(J).icon)f(N)})}var _=GQ(C),b=g(_,!0);m(_),m(M),jQ((f)=>IQ(b,f),[()=>Y()]),a(k,M)},S=l(()=>Y());UQ(V,(k)=>{if(R(S))k(O)})}var P=GQ(V,2),T=g(P,!0);m(P),d0(P,(k,M)=>m9?.(k,M),()=>Z.ctx),jQ((k)=>IQ(T,k),[()=>K()]),a(E,H)},$$slots:{icon:!0,default:!0}})}bQ()}var lI=JQ(" "),pI=JQ(' '),aI=JQ('
        '),iI=JQ(" "),nI=JQ(''),sI=JQ('
        ');function rI(Q,Z){fQ(Z,!0);let J=new Set(["bash","css","html","javascript","js","json","markdown","md","python","py","sh","shell","sql","ts","tsx","typescript","xml","yaml","yml"]),X=new Set(["javascript","js","ts","tsx","typescript"]),Y=new Set(["as","async","await","break","case","catch","class","const","continue","default","do","else","export","extends","finally","for","from","function","if","import","in","interface","let","new","of","return","switch","throw","try","type","var","while"]),K=new Set(["false","null","true","undefined"]),j=/\/\/[^\n]*|\/\*[\s\S]*?\*\/|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|`(?:\\.|[^`\\])*`|\r\n|\r|\n|\b\d+(?:\.\d+)?\b|\b[$A-Z_a-z][$\w]*\b|./g,U=EQ(kQ({})),F=l(()=>c(R(U).code??R(U).content??R(U).source)),A=l(()=>c(R(U).language).trim().toLowerCase()),G=l(()=>R(A)==="js"?"javascript":R(A)||""),z=l(()=>D(R(F),R(A))??H(R(F))),L=l(()=>J.has(R(A))),E=l(()=>R(U).lineNumbers!==!1&&R(U).lineNumbers!=="false");yQ(()=>dQ(Z.props,(M)=>e(U,M,!0)));function D(M,C){if(!J.has(C))return null;let N=Array.from(M.matchAll(j),([_])=>{if(_.startsWith("//")||_.startsWith("/*"))return{text:_,kind:"comment"};if(/^["'`]/.test(_))return{text:_,kind:"string"};if(/^\d/.test(_))return{text:_,kind:"number"};if(K.has(_))return{text:_,kind:"literal"};if(X.has(C)&&Y.has(_))return{text:_,kind:"keyword"};return{text:_}});return V(N)}function H(M){return V([{text:M}])}function V(M){let C=[[]];for(let N of M)for(let _ of N.text.split(/(\r\n|\r|\n)/)){if(!_)continue;if(_===` + opacity: ${F-G*V}`}}var PI=JQ("
        "),TI=JQ("
        ");function IF(Q,Z){fQ(Z,!0);let J=FZ(Z,"toastStatus",15,!0),X=FZ(Z,"dismissable",3,!0),Y=FZ(Z,"closeAriaLabel",3,"Remove toast"),K=FZ(Z,"color",3,"primary"),j=FZ(Z,"align",3,!0),U=FZ(Z,"transition",3,MI),F=VY(Z,["$$slots","$$events","$$legacy","children","icon","toastStatus","dismissable","closeAriaLabel","color","position","iconClass","contentClass","align","params","transition","class","classes"]);rU("Toast",I0(()=>({iconClass:Z.iconClass,contentClass:Z.contentClass})),{iconClass:"icon",contentClass:"content"});let A=l(()=>Z.classes??{icon:Z.iconClass,content:Z.contentClass}),G=l(()=>J7("toast")),z=l(()=>DI({color:K(),position:Z.position,align:j()})),L=l(()=>R(z).base),E=l(()=>R(z).icon),D=l(()=>R(z).content),H=l(()=>R(z).close),V=EQ(void 0);function O(){if(R(V)?.dispatchEvent(new Event("close",{bubbles:!0,cancelable:!0})))J(!1)}qI(O);var S=Q0(),P=VZ(S);{var T=(k)=>{var M=TI();uJ(M,(h)=>({role:"alert",...F,class:h}),[()=>R(L)({class:R0(R(G)?.base,Z.class)})]);var C=g(M);{var N=(h)=>{var p=PI(),d=g(p);f9(d,()=>Z.icon),m(p),jQ((XQ)=>EZ(p,1,XQ),[()=>P0(R(E)({class:R0(R(G)?.icon,R(A).icon)}))]),i(h,p)};UQ(C,(h)=>{if(Z.icon)h(N)})}var _=GQ(C,2),x=g(_);f9(x,()=>Z.children),m(_);var v=GQ(_,2);{var b=(h)=>{{let p=l(()=>R(H)({class:R0(R(G)?.close,Z.classes?.close)}));BI(h,{get class(){return R(p)},get ariaLabel(){return Y()},get color(){return K()}})}};UQ(v,(h)=>{if(X())h(b)})}m(M),lU(M,(h)=>e(V,h),()=>R(V)),jQ((h)=>EZ(_,1,h),[()=>P0(R(D)({class:R0(R(G)?.content,R(A).content)}))]),FG(3,M,U,()=>Z.params),i(k,M)};UQ(P,(k)=>{if(J())k(T)})}i(Q,S),bQ()}var CI=JQ(''),SI=JQ('
        '),NI=JQ('
        '),wI=JQ(" ",1),kI=JQ('
        ');function yI(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(!0);yQ(()=>dQ(Z.props,(O)=>e(J,O,!0))),yQ(()=>{let O=K(),S=j(),P=Y();if(!O&&!S&&!P)return;e(X,!0);let T=F();if(T<=0)return;let k=setTimeout(()=>{e(X,!1)},T);return()=>clearTimeout(k)});function Y(){let O=c(R(J).type??R(J).tone??"info").toLowerCase();if(O==="error"||O==="destructive")return"danger";if(O==="neutral"||O==="default")return"info";return O}function K(){return c(R(J).title??R(J).label??R(J).heading)}function j(){return c(R(J).description??R(J).text??R(J).message??R(J).content)}function U(){if(R(J).dismissable===void 0&&R(J).dismissible===void 0)return!0;return z9(R(J).dismissable??R(J).dismissible)}function F(){let O=Number(R(J).duration??0);return Number.isFinite(O)&&O>0?O:0}function A(){if(!R(X))return;e(X,!1),cZ(Z.ctx,"close",{type:"close",target:Z.ctx.id})}function G(O){let S=O.target;if(!(S instanceof Element))return;if(S.closest(".slex-toast-close"))A()}function z(){return Y()==="danger"?"alert":"status"}function L(){let O=Y();if(O==="success")return"green";if(O==="warning")return"yellow";if(O==="danger")return"red";if(O==="muted"||O==="neutral")return"gray";return"blue"}function E(){return b9(Z.ctx,"toast.close",R(J).closeLabel??R(J).closeAriaLabel,"Close")}var D=kI(),H=g(D);{var V=(O)=>{{let S=(_)=>{var x=CI();i(_,x)},P=l(Y),T=l(L),k=l(z),M=l(()=>z()==="alert"?"assertive":"polite"),C=l(U),N=l(E);IF(O,{class:"slex-toast",get "data-tone"(){return R(P)},get color(){return R(T)},get role(){return R(k)},get "aria-live"(){return R(M)},get dismissable(){return R(C)},get closeAriaLabel(){return R(N)},classes:{icon:"slex-toast-mark",content:"slex-toast-content",close:"slex-toast-close"},onclose:A,get toastStatus(){return R(X)},set toastStatus(_){e(X,_,!0)},icon:S,children:(_,x)=>{var v=wI(),b=VZ(v);{var h=(o)=>{var r=SI(),$=g(r);{var LQ=(xQ)=>{aQ(xQ,{get name(){return R(J).icon},className:"slex-toast-icon"})};UQ($,(xQ)=>{if(R(J).icon)xQ(LQ)})}var zQ=GQ($),PQ=g(zQ,!0);m(zQ),m(r),jQ((xQ)=>IQ(PQ,xQ),[()=>K()]),i(o,r)},p=l(()=>K());UQ(b,(o)=>{if(R(p))o(h)})}var d=GQ(b,2);{var XQ=(o)=>{var r=NI(),$=g(r,!0);m(r),jQ((LQ)=>IQ($,LQ),[()=>j()]),i(o,r)},KQ=l(()=>j());UQ(d,(o)=>{if(R(KQ))o(XQ)})}i(_,v)},$$slots:{icon:!0,default:!0}})}};UQ(H,(O)=>{if(R(X))O(V)})}m(D),lQ("click",D,G),i(Q,D),bQ()}uZ(["click"]);var _I=JQ(' '),vI=JQ(' '),fI=JQ('
        ');function bI(Q,Z){fQ(Z,!0);let J=EQ(kQ({})),X=EQ(""),Y=EQ(""),K=EQ("changed"),j=!1,U=EQ(!1),F=EQ("update"),A=l(()=>c(R(J).value)),G=l(()=>V(R(X),R(Y)));yQ(()=>dQ(Z.props,(v)=>e(J,v,!0)));function z(v){let b=Number.parseFloat(v.replaceAll(",",""));return Number.isFinite(b)?b:null}function L(v,b){let h=z(v),p=z(b);if(h===null||p===null)return"changed";if(p>h)return"up";if(pH(b)?"0":b).join("")}yQ(()=>{let v=R(A);if(!j){e(U,E(R(J).animateInitial),!0),e(X,R(U)?D(v):v,!0),e(Y,v,!0),e(K,"up"),e(F,"initial"),j=!0;return}if(v===R(Y))return;e(K,L(R(Y),v),!0),e(X,R(Y),!0),e(Y,v,!0),e(U,!0),e(F,"update")});function H(v){return/^[0-9]$/.test(v)}function V(v,b){let h=Array.from(v),p=Array.from(b),d=Math.max(0,p.length-h.length),XQ=Math.max(0,h.length-p.length);return p.map((KQ,o)=>{let r=h[o-d+XQ]??"";return{char:KQ,previousChar:r,changed:r!==KQ,key:`${o}:${KQ}`,kind:H(KQ)?"digit":"symbol"}})}var O=fI(),S=g(O),P=g(S);{var T=(v)=>{aQ(v,{get name(){return R(J).icon},className:"slex-stat-icon"})};UQ(P,(v)=>{if(R(J).icon)v(T)})}var k=GQ(P,2),M=g(k,!0);m(k),m(S);var C=GQ(S,2),N=g(C);rZ(N,21,()=>R(G),(v)=>v.key,(v,b)=>{var h=_I(),p=g(h),d=g(p,!0);m(p),m(h),jQ(()=>{u(h,"data-stat-kind",R(b).kind),u(h,"data-stat-change",R(b).changed&&R(U)?R(K):void 0),u(h,"data-stat-initial",R(b).changed&&R(U)&&R(F)==="initial"?"true":void 0),u(h,"data-stat-previous",R(b).previousChar||void 0),IQ(d,R(b).char)}),i(v,h)}),m(N);var _=GQ(N,2);{var x=(v)=>{var b=vI(),h=g(b,!0);m(b),jQ((p)=>IQ(h,p),[()=>c(R(J).unit)]),i(v,b)};UQ(_,(v)=>{if(R(J).unit)v(x)})}m(C),m(O),jQ((v,b)=>{u(O,"data-tone",v),IQ(M,b)},[()=>R(J).tone||R(J).type?c(R(J).tone??R(J).type):void 0,()=>c(R(J).label??Z.componentName)]),i(Q,O),bQ()}var xI=JQ("
        ");function $I(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(A)=>e(J,A,!0)));let X=l(()=>R(J).color==null||R(J).color===""?void 0:c(R(J).color)),Y=l(()=>K(R(J).size));function K(A){if(A==null||A==="")return;let G=c(A);return/^-?\d+(\.\d+)?$/.test(G)?`${G}px`:G}var j=xI();let U;var F=g(j,!0);m(j),jQ((A,G)=>{EZ(j,1,A),U=GJ(j,"",U,{color:R(X),"font-size":R(Y)}),IQ(F,G)},[()=>`slex-text${R(J).variant?` slex-text--${c(R(J).variant)}`:""}${R(J).class?` ${c(R(J).class)}`:""}`,()=>c(R(J).content??R(J).text??R(J).label)]),i(Q,j),bQ()}var hI=JQ(' ');function mI(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(A)=>e(J,A,!0)));function X(){let A=c(R(J).tone??R(J).type??R(J).variant,"neutral").toLowerCase();if(A==="danger"||A==="error")return"destructive";if(A==="muted"||A==="neutral"||A==="default")return"neutral";return A}var Y=hI(),K=g(Y);{var j=(A)=>{aQ(A,{get name(){return R(J).icon},className:"slex-badge-icon"})};UQ(K,(A)=>{if(R(J).icon)A(j)})}var U=GQ(K),F=g(U,!0);m(U),m(Y),jQ((A,G)=>{u(Y,"data-tone",A),IQ(F,G)},[()=>X(),()=>c(R(J).label??R(J).text??R(J).content??Z.componentName)]),i(Q,Y),bQ()}var gI=JQ(''),cI=JQ('
        '),uI=JQ('
        ',1);function dI(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(F)=>e(J,F,!0)));function X(){let F=c(R(J).tone??R(J).type,"info").toLowerCase();if(F==="error"||F==="destructive")return"danger";if(F==="neutral"||F==="default"||F==="muted")return"info";return F}function Y(){return c(R(J).title??R(J).label??R(J).heading)}function K(){return c(R(J).text??R(J).content??R(J).description??R(J).message)}function j(){return X()==="danger"?"alert":"note"}function U(){let F=X();if(F==="success")return"green";if(F==="warning")return"yellow";if(F==="danger")return"red";if(F==="muted"||F==="neutral")return"gray";return"blue"}{let F=(E)=>{var D=gI();i(E,D)},A=l(X),G=l(U),z=l(j),L=l(()=>j()==="alert"?"assertive":"polite");IF(Q,{class:"slex-callout","data-scope":"callout",get "data-tone"(){return R(A)},get color(){return R(G)},get role(){return R(z)},get "aria-live"(){return R(L)},dismissable:!1,align:!1,classes:{icon:"slex-callout-mark",content:"slex-callout-content"},icon:F,children:(E,D)=>{var H=uI(),V=VZ(H);{var O=(k)=>{var M=cI(),C=g(M);{var N=(v)=>{aQ(v,{get name(){return R(J).icon},className:"slex-callout-icon"})};UQ(C,(v)=>{if(R(J).icon)v(N)})}var _=GQ(C),x=g(_,!0);m(_),m(M),jQ((v)=>IQ(x,v),[()=>Y()]),i(k,M)},S=l(()=>Y());UQ(V,(k)=>{if(R(S))k(O)})}var P=GQ(V,2),T=g(P,!0);m(P),d0(P,(k,M)=>m9?.(k,M),()=>Z.ctx),jQ((k)=>IQ(T,k),[()=>K()]),i(E,H)},$$slots:{icon:!0,default:!0}})}bQ()}var lI=JQ(" "),pI=JQ(' '),aI=JQ('
        '),iI=JQ(" "),nI=JQ(''),sI=JQ('
        ');function rI(Q,Z){fQ(Z,!0);let J=new Set(["bash","css","html","javascript","js","json","markdown","md","python","py","sh","shell","sql","ts","tsx","typescript","xml","yaml","yml"]),X=new Set(["javascript","js","ts","tsx","typescript"]),Y=new Set(["as","async","await","break","case","catch","class","const","continue","default","do","else","export","extends","finally","for","from","function","if","import","in","interface","let","new","of","return","switch","throw","try","type","var","while"]),K=new Set(["false","null","true","undefined"]),j=/\/\/[^\n]*|\/\*[\s\S]*?\*\/|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|`(?:\\.|[^`\\])*`|\r\n|\r|\n|\b\d+(?:\.\d+)?\b|\b[$A-Z_a-z][$\w]*\b|./g,U=EQ(kQ({})),F=l(()=>c(R(U).code??R(U).content??R(U).source)),A=l(()=>c(R(U).language).trim().toLowerCase()),G=l(()=>R(A)==="js"?"javascript":R(A)||""),z=l(()=>D(R(F),R(A))??H(R(F))),L=l(()=>J.has(R(A))),E=l(()=>R(U).lineNumbers!==!1&&R(U).lineNumbers!=="false");yQ(()=>dQ(Z.props,(M)=>e(U,M,!0)));function D(M,C){if(!J.has(C))return null;let N=Array.from(M.matchAll(j),([_])=>{if(_.startsWith("//")||_.startsWith("/*"))return{text:_,kind:"comment"};if(/^["'`]/.test(_))return{text:_,kind:"string"};if(/^\d/.test(_))return{text:_,kind:"number"};if(K.has(_))return{text:_,kind:"literal"};if(X.has(C)&&Y.has(_))return{text:_,kind:"keyword"};return{text:_}});return V(N)}function H(M){return V([{text:M}])}function V(M){let C=[[]];for(let N of M)for(let _ of N.text.split(/(\r\n|\r|\n)/)){if(!_)continue;if(_===` `||_==="\r"||_===`\r -`)C.push([]);else C[C.length-1].push({...N,text:_})}return C}var O=sI(),S=g(O);{var P=(M)=>{var C=aI(),N=g(C),_=g(N);{var b=(d)=>{aQ(d,{get name(){return R(U).icon},className:"slex-code-block-icon"})};UQ(_,(d)=>{if(R(U).icon)d(b)})}var f=GQ(_,2);{var x=(d)=>{var XQ=lI(),KQ=g(XQ,!0);m(XQ),jQ((t)=>IQ(KQ,t),[()=>c(R(U).title)]),a(d,XQ)};UQ(f,(d)=>{if(R(U).title)d(x)})}m(N);var h=GQ(N,2);{var i=(d)=>{var XQ=pI(),KQ=g(XQ,!0);m(XQ),jQ((t)=>IQ(KQ,t),[()=>c(R(U).language)]),a(d,XQ)};UQ(h,(d)=>{if(R(U).language)d(i)})}m(C),a(M,C)};UQ(S,(M)=>{if(R(U).title||R(U).language||R(U).icon)M(P)})}var T=GQ(S,2),k=g(T);rZ(k,21,()=>R(z),F0,(M,C)=>{var N=nI(),_=g(N);rZ(_,21,()=>R(C),F0,(b,f)=>{var x=Q0(),h=VZ(x);{var i=(XQ)=>{var KQ=iI(),t=g(KQ,!0);m(KQ),jQ(()=>{EZ(KQ,1,`slex-code-token slex-code-token--${R(f).kind}`),IQ(t,R(f).text)}),a(XQ,KQ)},d=(XQ)=>{var KQ=jJ();jQ(()=>IQ(KQ,R(f).text)),a(XQ,KQ)};UQ(h,(XQ)=>{if(R(f).kind)XQ(i);else XQ(d,-1)})}a(b,x)}),m(_),m(N),a(M,N)}),m(k),m(T),m(O),jQ((M)=>{EZ(k,1,M),u(k,"data-line-numbers",R(E)?"true":"false")},[()=>P0(`${R(L)?"slex-code-highlight":""} slex-code-lines${R(U).language?` language-${R(L)?R(G):c(R(U).language)}`:""}`.trim())]),a(Q,O),bQ()}var tI=JQ(" "),oI=JQ(''),eI=JQ('
        ');function Q5(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(U)=>e(J,U,!0)));var X=Q0(),Y=VZ(X);{var K=(U)=>{var F=oI(),A=g(F),G=g(A);{var z=(D)=>{aQ(D,{get name(){return R(J).icon},className:"slex-divider-icon"})};UQ(G,(D)=>{if(R(J).icon)D(z)})}var L=GQ(G,2);{var E=(D)=>{var H=tI(),V=g(H,!0);m(H),jQ((O)=>IQ(V,O),[()=>c(R(J).label)]),a(D,H)};UQ(L,(D)=>{if(R(J).label)D(E)})}m(A),m(F),a(U,F)},j=(U)=>{var F=eI();a(U,F)};UQ(Y,(U)=>{if(R(J).label||R(J).icon)U(K);else U(j,-1)})}a(Q,X),bQ()}class ZQ extends Error{constructor(Q,Z){var J="KaTeX parse error: "+Q,X,Y,K=Z&&Z.loc;if(K&&K.start<=K.end){var j=K.lexer.input;if(X=K.start,Y=K.end,X===j.length)J+=" at end of input: ";else J+=" at position "+(X+1)+": ";var U=j.slice(X,Y).replace(/[^]/g,"$&̲"),F;if(X>15)F="…"+j.slice(X-15,X);else F=j.slice(0,X);var A;if(Y+15Q.replace(Z5,"-$1").toLowerCase(),X5={"&":"&",">":">","<":"<",'"':""","'":"'"},Y5=/[&><"']/g,OZ=(Q)=>String(Q).replace(Y5,(Z)=>X5[Z]),dX=(Q)=>{if(Q.type==="ordgroup")if(Q.body.length===1)return dX(Q.body[0]);else return Q;else if(Q.type==="color")if(Q.body.length===1)return dX(Q.body[0]);else return Q;else if(Q.type==="font")return dX(Q.body);else return Q},K5=new Set(["mathord","textord","atom"]),a0=(Q)=>K5.has(dX(Q).type),j5=(Q)=>{var Z=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(Q);if(!Z)return"_relative";if(Z[2]!==":")return null;if(!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(Z[1]))return null;return Z[1].toLowerCase()},iK={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 "},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 ",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:(Q)=>"#"+Q},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(Q,Z)=>{return Z.push(Q),Z}},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:(Q)=>Math.max(0,Q),cli:"--min-rule-thickness ",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:(Q)=>Math.max(0,Q),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1000,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:(Q)=>Math.max(0,Q),cli:"-e, --max-expand ",cliProcessor:(Q)=>Q==="Infinity"?1/0:parseInt(Q)},globalGroup:{type:"boolean",cli:!1}};function U5(Q){if(typeof Q!=="string")return Q.enum[0];switch(Q){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 F5(Q){if(Q.default!==void 0)return Q.default;var Z=Array.isArray(Q.type)?Q.type[0]:Q.type;return U5(Z)}function R5(Q,Z,J,X){var Y=J[Z];Q[Z]=Y!==void 0?X.processor?X.processor(Y):Y:F5(X)}class BY{constructor(Q){if(Q===void 0)Q={};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,Q=Q||{};for(var Z of Object.keys(iK)){var J=iK[Z];if(J)R5(this,Z,Q,J)}}reportNonstrict(Q,Z,J){var X=this.strict;if(typeof X==="function")X=X(Q,Z,J);if(!X||X==="ignore")return;else if(X===!0||X==="error")throw new ZQ("LaTeX-incompatible input and strict mode is set to 'error': "+(Z+" ["+Q+"]"),J);else if(X==="warn")typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Z+" ["+Q+"]"));else typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+X+"': "+Z+" ["+Q+"]"))}useStrictBehavior(Q,Z,J){var X=this.strict;if(typeof X==="function")try{X=X(Q,Z,J)}catch(Y){X="error"}if(!X||X==="ignore")return!1;else if(X===!0||X==="error")return!0;else if(X==="warn")return typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Z+" ["+Q+"]")),!1;else return typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+X+"': "+Z+" ["+Q+"]")),!1}isTrusted(Q){if("url"in Q&&Q.url&&!Q.protocol){var Z=j5(Q.url);if(Z==null)return!1;Q.protocol=Z}var J=typeof this.trust==="function"?this.trust(Q):this.trust;return Boolean(J)}}class v0{constructor(Q,Z,J){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=Q,this.size=Z,this.cramped=J}sup(){return B0[A5[this.id]]}sub(){return B0[W5[this.id]]}fracNum(){return B0[q5[this.id]]}fracDen(){return B0[G5[this.id]]}cramp(){return B0[E5[this.id]]}text(){return B0[z5[this.id]]}isTight(){return this.size>=2}}var K7=0,jY=1,s9=2,h0=3,lJ=4,tZ=5,UJ=6,CZ=7,B0=[new v0(K7,0,!1),new v0(jY,0,!0),new v0(s9,1,!1),new v0(h0,1,!0),new v0(lJ,2,!1),new v0(tZ,2,!0),new v0(UJ,3,!1),new v0(CZ,3,!0)],A5=[lJ,tZ,lJ,tZ,UJ,CZ,UJ,CZ],W5=[tZ,tZ,tZ,tZ,CZ,CZ,CZ,CZ],q5=[s9,h0,lJ,tZ,UJ,CZ,UJ,CZ],G5=[h0,h0,tZ,tZ,CZ,CZ,CZ,CZ],E5=[jY,jY,h0,h0,tZ,tZ,CZ,CZ],z5=[K7,jY,s9,h0,s9,h0,s9,h0],DQ={DISPLAY:B0[K7],TEXT:B0[s9],SCRIPT:B0[lJ],SCRIPTSCRIPT:B0[UJ]},nK=[{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 L5(Q){for(var Z=0;Z=Y[0]&&Q<=Y[1])return J.name}}return null}var lX=[];nK.forEach((Q)=>Q.blocks.forEach((Z)=>lX.push(...Z)));function HF(Q){for(var Z=0;Z=lX[Z]&&Q<=lX[Z+1])return!0;return!1}var UZ=(Q)=>Q+" "+Q,a9=80,I5=function(Z,J){return"M95,"+(622+Z+J)+` +`)C.push([]);else C[C.length-1].push({...N,text:_})}return C}var O=sI(),S=g(O);{var P=(M)=>{var C=aI(),N=g(C),_=g(N);{var x=(d)=>{aQ(d,{get name(){return R(U).icon},className:"slex-code-block-icon"})};UQ(_,(d)=>{if(R(U).icon)d(x)})}var v=GQ(_,2);{var b=(d)=>{var XQ=lI(),KQ=g(XQ,!0);m(XQ),jQ((o)=>IQ(KQ,o),[()=>c(R(U).title)]),i(d,XQ)};UQ(v,(d)=>{if(R(U).title)d(b)})}m(N);var h=GQ(N,2);{var p=(d)=>{var XQ=pI(),KQ=g(XQ,!0);m(XQ),jQ((o)=>IQ(KQ,o),[()=>c(R(U).language)]),i(d,XQ)};UQ(h,(d)=>{if(R(U).language)d(p)})}m(C),i(M,C)};UQ(S,(M)=>{if(R(U).title||R(U).language||R(U).icon)M(P)})}var T=GQ(S,2),k=g(T);rZ(k,21,()=>R(z),F0,(M,C)=>{var N=nI(),_=g(N);rZ(_,21,()=>R(C),F0,(x,v)=>{var b=Q0(),h=VZ(b);{var p=(XQ)=>{var KQ=iI(),o=g(KQ,!0);m(KQ),jQ(()=>{EZ(KQ,1,`slex-code-token slex-code-token--${R(v).kind}`),IQ(o,R(v).text)}),i(XQ,KQ)},d=(XQ)=>{var KQ=jJ();jQ(()=>IQ(KQ,R(v).text)),i(XQ,KQ)};UQ(h,(XQ)=>{if(R(v).kind)XQ(p);else XQ(d,-1)})}i(x,b)}),m(_),m(N),i(M,N)}),m(k),m(T),m(O),jQ((M)=>{EZ(k,1,M),u(k,"data-line-numbers",R(E)?"true":"false")},[()=>P0(`${R(L)?"slex-code-highlight":""} slex-code-lines${R(U).language?` language-${R(L)?R(G):c(R(U).language)}`:""}`.trim())]),i(Q,O),bQ()}var tI=JQ(" "),oI=JQ(''),eI=JQ('
        ');function Q5(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(U)=>e(J,U,!0)));var X=Q0(),Y=VZ(X);{var K=(U)=>{var F=oI(),A=g(F),G=g(A);{var z=(D)=>{aQ(D,{get name(){return R(J).icon},className:"slex-divider-icon"})};UQ(G,(D)=>{if(R(J).icon)D(z)})}var L=GQ(G,2);{var E=(D)=>{var H=tI(),V=g(H,!0);m(H),jQ((O)=>IQ(V,O),[()=>c(R(J).label)]),i(D,H)};UQ(L,(D)=>{if(R(J).label)D(E)})}m(A),m(F),i(U,F)},j=(U)=>{var F=eI();i(U,F)};UQ(Y,(U)=>{if(R(J).label||R(J).icon)U(K);else U(j,-1)})}i(Q,X),bQ()}class ZQ extends Error{constructor(Q,Z){var J="KaTeX parse error: "+Q,X,Y,K=Z&&Z.loc;if(K&&K.start<=K.end){var j=K.lexer.input;if(X=K.start,Y=K.end,X===j.length)J+=" at end of input: ";else J+=" at position "+(X+1)+": ";var U=j.slice(X,Y).replace(/[^]/g,"$&̲"),F;if(X>15)F="…"+j.slice(X-15,X);else F=j.slice(0,X);var A;if(Y+15Q.replace(Z5,"-$1").toLowerCase(),X5={"&":"&",">":">","<":"<",'"':""","'":"'"},Y5=/[&><"']/g,OZ=(Q)=>String(Q).replace(Y5,(Z)=>X5[Z]),dX=(Q)=>{if(Q.type==="ordgroup")if(Q.body.length===1)return dX(Q.body[0]);else return Q;else if(Q.type==="color")if(Q.body.length===1)return dX(Q.body[0]);else return Q;else if(Q.type==="font")return dX(Q.body);else return Q},K5=new Set(["mathord","textord","atom"]),a0=(Q)=>K5.has(dX(Q).type),j5=(Q)=>{var Z=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(Q);if(!Z)return"_relative";if(Z[2]!==":")return null;if(!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(Z[1]))return null;return Z[1].toLowerCase()},iK={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 "},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 ",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:(Q)=>"#"+Q},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(Q,Z)=>{return Z.push(Q),Z}},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:(Q)=>Math.max(0,Q),cli:"--min-rule-thickness ",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:(Q)=>Math.max(0,Q),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1000,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:(Q)=>Math.max(0,Q),cli:"-e, --max-expand ",cliProcessor:(Q)=>Q==="Infinity"?1/0:parseInt(Q)},globalGroup:{type:"boolean",cli:!1}};function U5(Q){if(typeof Q!=="string")return Q.enum[0];switch(Q){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 F5(Q){if(Q.default!==void 0)return Q.default;var Z=Array.isArray(Q.type)?Q.type[0]:Q.type;return U5(Z)}function R5(Q,Z,J,X){var Y=J[Z];Q[Z]=Y!==void 0?X.processor?X.processor(Y):Y:F5(X)}class BY{constructor(Q){if(Q===void 0)Q={};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,Q=Q||{};for(var Z of Object.keys(iK)){var J=iK[Z];if(J)R5(this,Z,Q,J)}}reportNonstrict(Q,Z,J){var X=this.strict;if(typeof X==="function")X=X(Q,Z,J);if(!X||X==="ignore")return;else if(X===!0||X==="error")throw new ZQ("LaTeX-incompatible input and strict mode is set to 'error': "+(Z+" ["+Q+"]"),J);else if(X==="warn")typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Z+" ["+Q+"]"));else typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+X+"': "+Z+" ["+Q+"]"))}useStrictBehavior(Q,Z,J){var X=this.strict;if(typeof X==="function")try{X=X(Q,Z,J)}catch(Y){X="error"}if(!X||X==="ignore")return!1;else if(X===!0||X==="error")return!0;else if(X==="warn")return typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Z+" ["+Q+"]")),!1;else return typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+X+"': "+Z+" ["+Q+"]")),!1}isTrusted(Q){if("url"in Q&&Q.url&&!Q.protocol){var Z=j5(Q.url);if(Z==null)return!1;Q.protocol=Z}var J=typeof this.trust==="function"?this.trust(Q):this.trust;return Boolean(J)}}class v0{constructor(Q,Z,J){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=Q,this.size=Z,this.cramped=J}sup(){return B0[A5[this.id]]}sub(){return B0[W5[this.id]]}fracNum(){return B0[q5[this.id]]}fracDen(){return B0[G5[this.id]]}cramp(){return B0[E5[this.id]]}text(){return B0[z5[this.id]]}isTight(){return this.size>=2}}var K7=0,jY=1,s9=2,h0=3,lJ=4,tZ=5,UJ=6,CZ=7,B0=[new v0(K7,0,!1),new v0(jY,0,!0),new v0(s9,1,!1),new v0(h0,1,!0),new v0(lJ,2,!1),new v0(tZ,2,!0),new v0(UJ,3,!1),new v0(CZ,3,!0)],A5=[lJ,tZ,lJ,tZ,UJ,CZ,UJ,CZ],W5=[tZ,tZ,tZ,tZ,CZ,CZ,CZ,CZ],q5=[s9,h0,lJ,tZ,UJ,CZ,UJ,CZ],G5=[h0,h0,tZ,tZ,CZ,CZ,CZ,CZ],E5=[jY,jY,h0,h0,tZ,tZ,CZ,CZ],z5=[K7,jY,s9,h0,s9,h0,s9,h0],DQ={DISPLAY:B0[K7],TEXT:B0[s9],SCRIPT:B0[lJ],SCRIPTSCRIPT:B0[UJ]},nK=[{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 L5(Q){for(var Z=0;Z=Y[0]&&Q<=Y[1])return J.name}}return null}var lX=[];nK.forEach((Q)=>Q.blocks.forEach((Z)=>lX.push(...Z)));function HF(Q){for(var Z=0;Z=lX[Z]&&Q<=lX[Z+1])return!0;return!1}var UZ=(Q)=>Q+" "+Q,a9=80,I5=function(Z,J){return"M95,"+(622+Z+J)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 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 @@ -371,13 +371,13 @@ 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 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 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(J+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, --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 S5(Q){return"toText"in Q}class c9{constructor(Q){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=Q,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(Q){return this.classes.includes(Q)}toNode(){var Q=document.createDocumentFragment();for(var Z=0;Z{if(S5(Q))return Q.toText();throw Error("Expected MathDomNode with toText, got "+Q.constructor.name)}).join("")}}var sK={pt:1,mm:2.8452755905511813,cm:28.45275590551181,in:72.27,bp:1.00375,pc:12,dd:1.070008643042351,cc:12.84010371650821,nd:1.0669781931464175,nc:12.80373831775701,sp:0.0000152587890625,px:1.00375},N5={ex:!0,em:!0,mu:!0},VF=function(Z){if(typeof Z!=="string")Z=Z.unit;return Z in sK||Z in N5||Z==="ex"},oQ=function(Z,J){var X;if(Z.unit in sK)X=sK[Z.unit]/J.fontMetrics().ptPerEm/J.sizeMultiplier;else if(Z.unit==="mu")X=J.fontMetrics().cssEmPerMu;else{var Y;if(J.style.isTight())Y=J.havingStyle(J.style.text());else Y=J;if(Z.unit==="ex")X=Y.fontMetrics().xHeight;else if(Z.unit==="em")X=Y.fontMetrics().quad;else throw new ZQ("Invalid unit: '"+Z.unit+"'");if(Y!==J)X*=Y.sizeMultiplier/J.sizeMultiplier}return Math.min(Z.number*X,J.maxSize)},YQ=function(Z){return+Z.toFixed(4)+"em"},U9=function(Z){return Z.filter((J)=>J).join(" ")},j7=function(Z){var J="";for(var X of Object.keys(Z)){var Y=Z[X];if(Y!==void 0)J+=J5(X)+":"+Y+";"}return J},BF=function(Z,J,X){if(this.classes=Z||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=X||{},J){if(J.style.isTight())this.classes.push("mtight");var Y=J.getColor();if(Y)this.style.color=Y}},DF=function(Z){var J=document.createElement(Z);J.className=U9(this.classes),Object.assign(J.style,this.style);for(var X of Object.keys(this.attributes))J.setAttribute(X,this.attributes[X]);for(var Y=0;Y/=\x00-\x1f]/,OF=function(Z){var J="<"+Z;if(this.classes.length)J+=' class="'+OZ(U9(this.classes))+'"';var X=j7(this.style);if(X)J+=' style="'+OZ(X)+'"';for(var Y of Object.keys(this.attributes)){if(w5.test(Y))throw new ZQ("Invalid attribute name '"+Y+"'");J+=" "+Y+'="'+OZ(this.attributes[Y])+'"'}J+=">";for(var K=0;K",J};class u9{constructor(Q,Z,J,X){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,BF.call(this,Q,J,X),this.children=Z||[]}setAttribute(Q,Z){this.attributes[Q]=Z}hasClass(Q){return this.classes.includes(Q)}toNode(){return DF.call(this,"span")}toMarkup(){return OF.call(this,"span")}}class JX{constructor(Q,Z,J,X){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,BF.call(this,Z,X),this.children=J||[],this.setAttribute("href",Q)}setAttribute(Q,Z){this.attributes[Q]=Z}hasClass(Q){return this.classes.includes(Q)}toNode(){return DF.call(this,"a")}toMarkup(){return OF.call(this,"a")}}class MF{constructor(Q,Z,J){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=Z,this.src=Q,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=J}hasClass(Q){return this.classes.includes(Q)}toNode(){var Q=document.createElement("img");return Q.src=this.src,Q.alt=this.alt,Q.className="mord",Object.assign(Q.style,this.style),Q}toMarkup(){var Q=''+OZ(this.alt)+'0)Z=document.createElement("span"),Z.style.marginRight=YQ(this.italic);if(this.classes.length>0)Z=Z||document.createElement("span"),Z.className=U9(this.classes);if(Object.keys(this.style).length>0)Z=Z||document.createElement("span"),Object.assign(Z.style,this.style);if(Z)return Z.appendChild(Q),Z;else return Q}toMarkup(){var Q=!1,Z="0)J+="margin-right:"+YQ(this.italic)+";";if(J+=j7(this.style),J)Q=!0,Z+=' style="'+OZ(J)+'"';var X=OZ(this.text);if(Q)return Z+=">",Z+=X,Z+="",Z;else return X}}class T0{constructor(Q,Z){this.children=void 0,this.attributes=void 0,this.children=Q||[],this.attributes=Z||{}}toNode(){var Q="http://www.w3.org/2000/svg",Z=document.createElementNS(Q,"svg");for(var J of Object.keys(this.attributes))Z.setAttribute(J,this.attributes[J]);for(var X=0;X';else return''}}class UY{constructor(Q){this.attributes=void 0,this.attributes=Q||{}}toNode(){var Q="http://www.w3.org/2000/svg",Z=document.createElementNS(Q,"line");for(var J of Object.keys(this.attributes))Z.setAttribute(J,this.attributes[J]);return Z}toMarkup(){var Q=" but got "+String(Q)+".")}var v5=(Q)=>Q instanceof u9||Q instanceof JX||Q instanceof c9,O0={"AMS-Regular":{"32":[0,0,0,0,0.25],"65":[0,0.68889,0,0,0.72222],"66":[0,0.68889,0,0,0.66667],"67":[0,0.68889,0,0,0.72222],"68":[0,0.68889,0,0,0.72222],"69":[0,0.68889,0,0,0.66667],"70":[0,0.68889,0,0,0.61111],"71":[0,0.68889,0,0,0.77778],"72":[0,0.68889,0,0,0.77778],"73":[0,0.68889,0,0,0.38889],"74":[0.16667,0.68889,0,0,0.5],"75":[0,0.68889,0,0,0.77778],"76":[0,0.68889,0,0,0.66667],"77":[0,0.68889,0,0,0.94445],"78":[0,0.68889,0,0,0.72222],"79":[0.16667,0.68889,0,0,0.77778],"80":[0,0.68889,0,0,0.61111],"81":[0.16667,0.68889,0,0,0.77778],"82":[0,0.68889,0,0,0.72222],"83":[0,0.68889,0,0,0.55556],"84":[0,0.68889,0,0,0.66667],"85":[0,0.68889,0,0,0.72222],"86":[0,0.68889,0,0,0.72222],"87":[0,0.68889,0,0,1],"88":[0,0.68889,0,0,0.72222],"89":[0,0.68889,0,0,0.72222],"90":[0,0.68889,0,0,0.66667],"107":[0,0.68889,0,0,0.55556],"160":[0,0,0,0,0.25],"165":[0,0.675,0.025,0,0.75],"174":[0.15559,0.69224,0,0,0.94666],"240":[0,0.68889,0,0,0.55556],"295":[0,0.68889,0,0,0.54028],"710":[0,0.825,0,0,2.33334],"732":[0,0.9,0,0,2.33334],"770":[0,0.825,0,0,2.33334],"771":[0,0.9,0,0,2.33334],"989":[0.08167,0.58167,0,0,0.77778],"1008":[0,0.43056,0.04028,0,0.66667],"8245":[0,0.54986,0,0,0.275],"8463":[0,0.68889,0,0,0.54028],"8487":[0,0.68889,0,0,0.72222],"8498":[0,0.68889,0,0,0.55556],"8502":[0,0.68889,0,0,0.66667],"8503":[0,0.68889,0,0,0.44445],"8504":[0,0.68889,0,0,0.66667],"8513":[0,0.68889,0,0,0.63889],"8592":[-0.03598,0.46402,0,0,0.5],"8594":[-0.03598,0.46402,0,0,0.5],"8602":[-0.13313,0.36687,0,0,1],"8603":[-0.13313,0.36687,0,0,1],"8606":[0.01354,0.52239,0,0,1],"8608":[0.01354,0.52239,0,0,1],"8610":[0.01354,0.52239,0,0,1.11111],"8611":[0.01354,0.52239,0,0,1.11111],"8619":[0,0.54986,0,0,1],"8620":[0,0.54986,0,0,1],"8621":[-0.13313,0.37788,0,0,1.38889],"8622":[-0.13313,0.36687,0,0,1],"8624":[0,0.69224,0,0,0.5],"8625":[0,0.69224,0,0,0.5],"8630":[0,0.43056,0,0,1],"8631":[0,0.43056,0,0,1],"8634":[0.08198,0.58198,0,0,0.77778],"8635":[0.08198,0.58198,0,0,0.77778],"8638":[0.19444,0.69224,0,0,0.41667],"8639":[0.19444,0.69224,0,0,0.41667],"8642":[0.19444,0.69224,0,0,0.41667],"8643":[0.19444,0.69224,0,0,0.41667],"8644":[0.1808,0.675,0,0,1],"8646":[0.1808,0.675,0,0,1],"8647":[0.1808,0.675,0,0,1],"8648":[0.19444,0.69224,0,0,0.83334],"8649":[0.1808,0.675,0,0,1],"8650":[0.19444,0.69224,0,0,0.83334],"8651":[0.01354,0.52239,0,0,1],"8652":[0.01354,0.52239,0,0,1],"8653":[-0.13313,0.36687,0,0,1],"8654":[-0.13313,0.36687,0,0,1],"8655":[-0.13313,0.36687,0,0,1],"8666":[0.13667,0.63667,0,0,1],"8667":[0.13667,0.63667,0,0,1],"8669":[-0.13313,0.37788,0,0,1],"8672":[-0.064,0.437,0,0,1.334],"8674":[-0.064,0.437,0,0,1.334],"8705":[0,0.825,0,0,0.5],"8708":[0,0.68889,0,0,0.55556],"8709":[0.08167,0.58167,0,0,0.77778],"8717":[0,0.43056,0,0,0.42917],"8722":[-0.03598,0.46402,0,0,0.5],"8724":[0.08198,0.69224,0,0,0.77778],"8726":[0.08167,0.58167,0,0,0.77778],"8733":[0,0.69224,0,0,0.77778],"8736":[0,0.69224,0,0,0.72222],"8737":[0,0.69224,0,0,0.72222],"8738":[0.03517,0.52239,0,0,0.72222],"8739":[0.08167,0.58167,0,0,0.22222],"8740":[0.25142,0.74111,0,0,0.27778],"8741":[0.08167,0.58167,0,0,0.38889],"8742":[0.25142,0.74111,0,0,0.5],"8756":[0,0.69224,0,0,0.66667],"8757":[0,0.69224,0,0,0.66667],"8764":[-0.13313,0.36687,0,0,0.77778],"8765":[-0.13313,0.37788,0,0,0.77778],"8769":[-0.13313,0.36687,0,0,0.77778],"8770":[-0.03625,0.46375,0,0,0.77778],"8774":[0.30274,0.79383,0,0,0.77778],"8776":[-0.01688,0.48312,0,0,0.77778],"8778":[0.08167,0.58167,0,0,0.77778],"8782":[0.06062,0.54986,0,0,0.77778],"8783":[0.06062,0.54986,0,0,0.77778],"8785":[0.08198,0.58198,0,0,0.77778],"8786":[0.08198,0.58198,0,0,0.77778],"8787":[0.08198,0.58198,0,0,0.77778],"8790":[0,0.69224,0,0,0.77778],"8791":[0.22958,0.72958,0,0,0.77778],"8796":[0.08198,0.91667,0,0,0.77778],"8806":[0.25583,0.75583,0,0,0.77778],"8807":[0.25583,0.75583,0,0,0.77778],"8808":[0.25142,0.75726,0,0,0.77778],"8809":[0.25142,0.75726,0,0,0.77778],"8812":[0.25583,0.75583,0,0,0.5],"8814":[0.20576,0.70576,0,0,0.77778],"8815":[0.20576,0.70576,0,0,0.77778],"8816":[0.30274,0.79383,0,0,0.77778],"8817":[0.30274,0.79383,0,0,0.77778],"8818":[0.22958,0.72958,0,0,0.77778],"8819":[0.22958,0.72958,0,0,0.77778],"8822":[0.1808,0.675,0,0,0.77778],"8823":[0.1808,0.675,0,0,0.77778],"8828":[0.13667,0.63667,0,0,0.77778],"8829":[0.13667,0.63667,0,0,0.77778],"8830":[0.22958,0.72958,0,0,0.77778],"8831":[0.22958,0.72958,0,0,0.77778],"8832":[0.20576,0.70576,0,0,0.77778],"8833":[0.20576,0.70576,0,0,0.77778],"8840":[0.30274,0.79383,0,0,0.77778],"8841":[0.30274,0.79383,0,0,0.77778],"8842":[0.13597,0.63597,0,0,0.77778],"8843":[0.13597,0.63597,0,0,0.77778],"8847":[0.03517,0.54986,0,0,0.77778],"8848":[0.03517,0.54986,0,0,0.77778],"8858":[0.08198,0.58198,0,0,0.77778],"8859":[0.08198,0.58198,0,0,0.77778],"8861":[0.08198,0.58198,0,0,0.77778],"8862":[0,0.675,0,0,0.77778],"8863":[0,0.675,0,0,0.77778],"8864":[0,0.675,0,0,0.77778],"8865":[0,0.675,0,0,0.77778],"8872":[0,0.69224,0,0,0.61111],"8873":[0,0.69224,0,0,0.72222],"8874":[0,0.69224,0,0,0.88889],"8876":[0,0.68889,0,0,0.61111],"8877":[0,0.68889,0,0,0.61111],"8878":[0,0.68889,0,0,0.72222],"8879":[0,0.68889,0,0,0.72222],"8882":[0.03517,0.54986,0,0,0.77778],"8883":[0.03517,0.54986,0,0,0.77778],"8884":[0.13667,0.63667,0,0,0.77778],"8885":[0.13667,0.63667,0,0,0.77778],"8888":[0,0.54986,0,0,1.11111],"8890":[0.19444,0.43056,0,0,0.55556],"8891":[0.19444,0.69224,0,0,0.61111],"8892":[0.19444,0.69224,0,0,0.61111],"8901":[0,0.54986,0,0,0.27778],"8903":[0.08167,0.58167,0,0,0.77778],"8905":[0.08167,0.58167,0,0,0.77778],"8906":[0.08167,0.58167,0,0,0.77778],"8907":[0,0.69224,0,0,0.77778],"8908":[0,0.69224,0,0,0.77778],"8909":[-0.03598,0.46402,0,0,0.77778],"8910":[0,0.54986,0,0,0.76042],"8911":[0,0.54986,0,0,0.76042],"8912":[0.03517,0.54986,0,0,0.77778],"8913":[0.03517,0.54986,0,0,0.77778],"8914":[0,0.54986,0,0,0.66667],"8915":[0,0.54986,0,0,0.66667],"8916":[0,0.69224,0,0,0.66667],"8918":[0.0391,0.5391,0,0,0.77778],"8919":[0.0391,0.5391,0,0,0.77778],"8920":[0.03517,0.54986,0,0,1.33334],"8921":[0.03517,0.54986,0,0,1.33334],"8922":[0.38569,0.88569,0,0,0.77778],"8923":[0.38569,0.88569,0,0,0.77778],"8926":[0.13667,0.63667,0,0,0.77778],"8927":[0.13667,0.63667,0,0,0.77778],"8928":[0.30274,0.79383,0,0,0.77778],"8929":[0.30274,0.79383,0,0,0.77778],"8934":[0.23222,0.74111,0,0,0.77778],"8935":[0.23222,0.74111,0,0,0.77778],"8936":[0.23222,0.74111,0,0,0.77778],"8937":[0.23222,0.74111,0,0,0.77778],"8938":[0.20576,0.70576,0,0,0.77778],"8939":[0.20576,0.70576,0,0,0.77778],"8940":[0.30274,0.79383,0,0,0.77778],"8941":[0.30274,0.79383,0,0,0.77778],"8994":[0.19444,0.69224,0,0,0.77778],"8995":[0.19444,0.69224,0,0,0.77778],"9416":[0.15559,0.69224,0,0,0.90222],"9484":[0,0.69224,0,0,0.5],"9488":[0,0.69224,0,0,0.5],"9492":[0,0.37788,0,0,0.5],"9496":[0,0.37788,0,0,0.5],"9585":[0.19444,0.68889,0,0,0.88889],"9586":[0.19444,0.74111,0,0,0.88889],"9632":[0,0.675,0,0,0.77778],"9633":[0,0.675,0,0,0.77778],"9650":[0,0.54986,0,0,0.72222],"9651":[0,0.54986,0,0,0.72222],"9654":[0.03517,0.54986,0,0,0.77778],"9660":[0,0.54986,0,0,0.72222],"9661":[0,0.54986,0,0,0.72222],"9664":[0.03517,0.54986,0,0,0.77778],"9674":[0.11111,0.69224,0,0,0.66667],"9733":[0.19444,0.69224,0,0,0.94445],"10003":[0,0.69224,0,0,0.83334],"10016":[0,0.69224,0,0,0.83334],"10731":[0.11111,0.69224,0,0,0.66667],"10846":[0.19444,0.75583,0,0,0.61111],"10877":[0.13667,0.63667,0,0,0.77778],"10878":[0.13667,0.63667,0,0,0.77778],"10885":[0.25583,0.75583,0,0,0.77778],"10886":[0.25583,0.75583,0,0,0.77778],"10887":[0.13597,0.63597,0,0,0.77778],"10888":[0.13597,0.63597,0,0,0.77778],"10889":[0.26167,0.75726,0,0,0.77778],"10890":[0.26167,0.75726,0,0,0.77778],"10891":[0.48256,0.98256,0,0,0.77778],"10892":[0.48256,0.98256,0,0,0.77778],"10901":[0.13667,0.63667,0,0,0.77778],"10902":[0.13667,0.63667,0,0,0.77778],"10933":[0.25142,0.75726,0,0,0.77778],"10934":[0.25142,0.75726,0,0,0.77778],"10935":[0.26167,0.75726,0,0,0.77778],"10936":[0.26167,0.75726,0,0,0.77778],"10937":[0.26167,0.75726,0,0,0.77778],"10938":[0.26167,0.75726,0,0,0.77778],"10949":[0.25583,0.75583,0,0,0.77778],"10950":[0.25583,0.75583,0,0,0.77778],"10955":[0.28481,0.79383,0,0,0.77778],"10956":[0.28481,0.79383,0,0,0.77778],"57350":[0.08167,0.58167,0,0,0.22222],"57351":[0.08167,0.58167,0,0,0.38889],"57352":[0.08167,0.58167,0,0,0.77778],"57353":[0,0.43056,0.04028,0,0.66667],"57356":[0.25142,0.75726,0,0,0.77778],"57357":[0.25142,0.75726,0,0,0.77778],"57358":[0.41951,0.91951,0,0,0.77778],"57359":[0.30274,0.79383,0,0,0.77778],"57360":[0.30274,0.79383,0,0,0.77778],"57361":[0.41951,0.91951,0,0,0.77778],"57366":[0.25142,0.75726,0,0,0.77778],"57367":[0.25142,0.75726,0,0,0.77778],"57368":[0.25142,0.75726,0,0,0.77778],"57369":[0.25142,0.75726,0,0,0.77778],"57370":[0.13597,0.63597,0,0,0.77778],"57371":[0.13597,0.63597,0,0,0.77778]},"Caligraphic-Regular":{"32":[0,0,0,0,0.25],"65":[0,0.68333,0,0.19445,0.79847],"66":[0,0.68333,0.03041,0.13889,0.65681],"67":[0,0.68333,0.05834,0.13889,0.52653],"68":[0,0.68333,0.02778,0.08334,0.77139],"69":[0,0.68333,0.08944,0.11111,0.52778],"70":[0,0.68333,0.09931,0.11111,0.71875],"71":[0.09722,0.68333,0.0593,0.11111,0.59487],"72":[0,0.68333,0.00965,0.11111,0.84452],"73":[0,0.68333,0.07382,0,0.54452],"74":[0.09722,0.68333,0.18472,0.16667,0.67778],"75":[0,0.68333,0.01445,0.05556,0.76195],"76":[0,0.68333,0,0.13889,0.68972],"77":[0,0.68333,0,0.13889,1.2009],"78":[0,0.68333,0.14736,0.08334,0.82049],"79":[0,0.68333,0.02778,0.11111,0.79611],"80":[0,0.68333,0.08222,0.08334,0.69556],"81":[0.09722,0.68333,0,0.11111,0.81667],"82":[0,0.68333,0,0.08334,0.8475],"83":[0,0.68333,0.075,0.13889,0.60556],"84":[0,0.68333,0.25417,0,0.54464],"85":[0,0.68333,0.09931,0.08334,0.62583],"86":[0,0.68333,0.08222,0,0.61278],"87":[0,0.68333,0.08222,0.08334,0.98778],"88":[0,0.68333,0.14643,0.13889,0.7133],"89":[0.09722,0.68333,0.08222,0.08334,0.66834],"90":[0,0.68333,0.07944,0.13889,0.72473],"160":[0,0,0,0,0.25]},"Fraktur-Regular":{"32":[0,0,0,0,0.25],"33":[0,0.69141,0,0,0.29574],"34":[0,0.69141,0,0,0.21471],"38":[0,0.69141,0,0,0.73786],"39":[0,0.69141,0,0,0.21201],"40":[0.24982,0.74947,0,0,0.38865],"41":[0.24982,0.74947,0,0,0.38865],"42":[0,0.62119,0,0,0.27764],"43":[0.08319,0.58283,0,0,0.75623],"44":[0,0.10803,0,0,0.27764],"45":[0.08319,0.58283,0,0,0.75623],"46":[0,0.10803,0,0,0.27764],"47":[0.24982,0.74947,0,0,0.50181],"48":[0,0.47534,0,0,0.50181],"49":[0,0.47534,0,0,0.50181],"50":[0,0.47534,0,0,0.50181],"51":[0.18906,0.47534,0,0,0.50181],"52":[0.18906,0.47534,0,0,0.50181],"53":[0.18906,0.47534,0,0,0.50181],"54":[0,0.69141,0,0,0.50181],"55":[0.18906,0.47534,0,0,0.50181],"56":[0,0.69141,0,0,0.50181],"57":[0.18906,0.47534,0,0,0.50181],"58":[0,0.47534,0,0,0.21606],"59":[0.12604,0.47534,0,0,0.21606],"61":[-0.13099,0.36866,0,0,0.75623],"63":[0,0.69141,0,0,0.36245],"65":[0,0.69141,0,0,0.7176],"66":[0,0.69141,0,0,0.88397],"67":[0,0.69141,0,0,0.61254],"68":[0,0.69141,0,0,0.83158],"69":[0,0.69141,0,0,0.66278],"70":[0.12604,0.69141,0,0,0.61119],"71":[0,0.69141,0,0,0.78539],"72":[0.06302,0.69141,0,0,0.7203],"73":[0,0.69141,0,0,0.55448],"74":[0.12604,0.69141,0,0,0.55231],"75":[0,0.69141,0,0,0.66845],"76":[0,0.69141,0,0,0.66602],"77":[0,0.69141,0,0,1.04953],"78":[0,0.69141,0,0,0.83212],"79":[0,0.69141,0,0,0.82699],"80":[0.18906,0.69141,0,0,0.82753],"81":[0.03781,0.69141,0,0,0.82699],"82":[0,0.69141,0,0,0.82807],"83":[0,0.69141,0,0,0.82861],"84":[0,0.69141,0,0,0.66899],"85":[0,0.69141,0,0,0.64576],"86":[0,0.69141,0,0,0.83131],"87":[0,0.69141,0,0,1.04602],"88":[0,0.69141,0,0,0.71922],"89":[0.18906,0.69141,0,0,0.83293],"90":[0.12604,0.69141,0,0,0.60201],"91":[0.24982,0.74947,0,0,0.27764],"93":[0.24982,0.74947,0,0,0.27764],"94":[0,0.69141,0,0,0.49965],"97":[0,0.47534,0,0,0.50046],"98":[0,0.69141,0,0,0.51315],"99":[0,0.47534,0,0,0.38946],"100":[0,0.62119,0,0,0.49857],"101":[0,0.47534,0,0,0.40053],"102":[0.18906,0.69141,0,0,0.32626],"103":[0.18906,0.47534,0,0,0.5037],"104":[0.18906,0.69141,0,0,0.52126],"105":[0,0.69141,0,0,0.27899],"106":[0,0.69141,0,0,0.28088],"107":[0,0.69141,0,0,0.38946],"108":[0,0.69141,0,0,0.27953],"109":[0,0.47534,0,0,0.76676],"110":[0,0.47534,0,0,0.52666],"111":[0,0.47534,0,0,0.48885],"112":[0.18906,0.52396,0,0,0.50046],"113":[0.18906,0.47534,0,0,0.48912],"114":[0,0.47534,0,0,0.38919],"115":[0,0.47534,0,0,0.44266],"116":[0,0.62119,0,0,0.33301],"117":[0,0.47534,0,0,0.5172],"118":[0,0.52396,0,0,0.5118],"119":[0,0.52396,0,0,0.77351],"120":[0.18906,0.47534,0,0,0.38865],"121":[0.18906,0.47534,0,0,0.49884],"122":[0.18906,0.47534,0,0,0.39054],"160":[0,0,0,0,0.25],"8216":[0,0.69141,0,0,0.21471],"8217":[0,0.69141,0,0,0.21471],"58112":[0,0.62119,0,0,0.49749],"58113":[0,0.62119,0,0,0.4983],"58114":[0.18906,0.69141,0,0,0.33328],"58115":[0.18906,0.69141,0,0,0.32923],"58116":[0.18906,0.47534,0,0,0.50343],"58117":[0,0.69141,0,0,0.33301],"58118":[0,0.62119,0,0,0.33409],"58119":[0,0.47534,0,0,0.50073]},"Main-Bold":{"32":[0,0,0,0,0.25],"33":[0,0.69444,0,0,0.35],"34":[0,0.69444,0,0,0.60278],"35":[0.19444,0.69444,0,0,0.95833],"36":[0.05556,0.75,0,0,0.575],"37":[0.05556,0.75,0,0,0.95833],"38":[0,0.69444,0,0,0.89444],"39":[0,0.69444,0,0,0.31944],"40":[0.25,0.75,0,0,0.44722],"41":[0.25,0.75,0,0,0.44722],"42":[0,0.75,0,0,0.575],"43":[0.13333,0.63333,0,0,0.89444],"44":[0.19444,0.15556,0,0,0.31944],"45":[0,0.44444,0,0,0.38333],"46":[0,0.15556,0,0,0.31944],"47":[0.25,0.75,0,0,0.575],"48":[0,0.64444,0,0,0.575],"49":[0,0.64444,0,0,0.575],"50":[0,0.64444,0,0,0.575],"51":[0,0.64444,0,0,0.575],"52":[0,0.64444,0,0,0.575],"53":[0,0.64444,0,0,0.575],"54":[0,0.64444,0,0,0.575],"55":[0,0.64444,0,0,0.575],"56":[0,0.64444,0,0,0.575],"57":[0,0.64444,0,0,0.575],"58":[0,0.44444,0,0,0.31944],"59":[0.19444,0.44444,0,0,0.31944],"60":[0.08556,0.58556,0,0,0.89444],"61":[-0.10889,0.39111,0,0,0.89444],"62":[0.08556,0.58556,0,0,0.89444],"63":[0,0.69444,0,0,0.54305],"64":[0,0.69444,0,0,0.89444],"65":[0,0.68611,0,0,0.86944],"66":[0,0.68611,0,0,0.81805],"67":[0,0.68611,0,0,0.83055],"68":[0,0.68611,0,0,0.88194],"69":[0,0.68611,0,0,0.75555],"70":[0,0.68611,0,0,0.72361],"71":[0,0.68611,0,0,0.90416],"72":[0,0.68611,0,0,0.9],"73":[0,0.68611,0,0,0.43611],"74":[0,0.68611,0,0,0.59444],"75":[0,0.68611,0,0,0.90138],"76":[0,0.68611,0,0,0.69166],"77":[0,0.68611,0,0,1.09166],"78":[0,0.68611,0,0,0.9],"79":[0,0.68611,0,0,0.86388],"80":[0,0.68611,0,0,0.78611],"81":[0.19444,0.68611,0,0,0.86388],"82":[0,0.68611,0,0,0.8625],"83":[0,0.68611,0,0,0.63889],"84":[0,0.68611,0,0,0.8],"85":[0,0.68611,0,0,0.88472],"86":[0,0.68611,0.01597,0,0.86944],"87":[0,0.68611,0.01597,0,1.18888],"88":[0,0.68611,0,0,0.86944],"89":[0,0.68611,0.02875,0,0.86944],"90":[0,0.68611,0,0,0.70277],"91":[0.25,0.75,0,0,0.31944],"92":[0.25,0.75,0,0,0.575],"93":[0.25,0.75,0,0,0.31944],"94":[0,0.69444,0,0,0.575],"95":[0.31,0.13444,0.03194,0,0.575],"97":[0,0.44444,0,0,0.55902],"98":[0,0.69444,0,0,0.63889],"99":[0,0.44444,0,0,0.51111],"100":[0,0.69444,0,0,0.63889],"101":[0,0.44444,0,0,0.52708],"102":[0,0.69444,0.10903,0,0.35139],"103":[0.19444,0.44444,0.01597,0,0.575],"104":[0,0.69444,0,0,0.63889],"105":[0,0.69444,0,0,0.31944],"106":[0.19444,0.69444,0,0,0.35139],"107":[0,0.69444,0,0,0.60694],"108":[0,0.69444,0,0,0.31944],"109":[0,0.44444,0,0,0.95833],"110":[0,0.44444,0,0,0.63889],"111":[0,0.44444,0,0,0.575],"112":[0.19444,0.44444,0,0,0.63889],"113":[0.19444,0.44444,0,0,0.60694],"114":[0,0.44444,0,0,0.47361],"115":[0,0.44444,0,0,0.45361],"116":[0,0.63492,0,0,0.44722],"117":[0,0.44444,0,0,0.63889],"118":[0,0.44444,0.01597,0,0.60694],"119":[0,0.44444,0.01597,0,0.83055],"120":[0,0.44444,0,0,0.60694],"121":[0.19444,0.44444,0.01597,0,0.60694],"122":[0,0.44444,0,0,0.51111],"123":[0.25,0.75,0,0,0.575],"124":[0.25,0.75,0,0,0.31944],"125":[0.25,0.75,0,0,0.575],"126":[0.35,0.34444,0,0,0.575],"160":[0,0,0,0,0.25],"163":[0,0.69444,0,0,0.86853],"168":[0,0.69444,0,0,0.575],"172":[0,0.44444,0,0,0.76666],"176":[0,0.69444,0,0,0.86944],"177":[0.13333,0.63333,0,0,0.89444],"184":[0.17014,0,0,0,0.51111],"198":[0,0.68611,0,0,1.04166],"215":[0.13333,0.63333,0,0,0.89444],"216":[0.04861,0.73472,0,0,0.89444],"223":[0,0.69444,0,0,0.59722],"230":[0,0.44444,0,0,0.83055],"247":[0.13333,0.63333,0,0,0.89444],"248":[0.09722,0.54167,0,0,0.575],"305":[0,0.44444,0,0,0.31944],"338":[0,0.68611,0,0,1.16944],"339":[0,0.44444,0,0,0.89444],"567":[0.19444,0.44444,0,0,0.35139],"710":[0,0.69444,0,0,0.575],"711":[0,0.63194,0,0,0.575],"713":[0,0.59611,0,0,0.575],"714":[0,0.69444,0,0,0.575],"715":[0,0.69444,0,0,0.575],"728":[0,0.69444,0,0,0.575],"729":[0,0.69444,0,0,0.31944],"730":[0,0.69444,0,0,0.86944],"732":[0,0.69444,0,0,0.575],"733":[0,0.69444,0,0,0.575],"915":[0,0.68611,0,0,0.69166],"916":[0,0.68611,0,0,0.95833],"920":[0,0.68611,0,0,0.89444],"923":[0,0.68611,0,0,0.80555],"926":[0,0.68611,0,0,0.76666],"928":[0,0.68611,0,0,0.9],"931":[0,0.68611,0,0,0.83055],"933":[0,0.68611,0,0,0.89444],"934":[0,0.68611,0,0,0.83055],"936":[0,0.68611,0,0,0.89444],"937":[0,0.68611,0,0,0.83055],"8211":[0,0.44444,0.03194,0,0.575],"8212":[0,0.44444,0.03194,0,1.14999],"8216":[0,0.69444,0,0,0.31944],"8217":[0,0.69444,0,0,0.31944],"8220":[0,0.69444,0,0,0.60278],"8221":[0,0.69444,0,0,0.60278],"8224":[0.19444,0.69444,0,0,0.51111],"8225":[0.19444,0.69444,0,0,0.51111],"8242":[0,0.55556,0,0,0.34444],"8407":[0,0.72444,0.15486,0,0.575],"8463":[0,0.69444,0,0,0.66759],"8465":[0,0.69444,0,0,0.83055],"8467":[0,0.69444,0,0,0.47361],"8472":[0.19444,0.44444,0,0,0.74027],"8476":[0,0.69444,0,0,0.83055],"8501":[0,0.69444,0,0,0.70277],"8592":[-0.10889,0.39111,0,0,1.14999],"8593":[0.19444,0.69444,0,0,0.575],"8594":[-0.10889,0.39111,0,0,1.14999],"8595":[0.19444,0.69444,0,0,0.575],"8596":[-0.10889,0.39111,0,0,1.14999],"8597":[0.25,0.75,0,0,0.575],"8598":[0.19444,0.69444,0,0,1.14999],"8599":[0.19444,0.69444,0,0,1.14999],"8600":[0.19444,0.69444,0,0,1.14999],"8601":[0.19444,0.69444,0,0,1.14999],"8636":[-0.10889,0.39111,0,0,1.14999],"8637":[-0.10889,0.39111,0,0,1.14999],"8640":[-0.10889,0.39111,0,0,1.14999],"8641":[-0.10889,0.39111,0,0,1.14999],"8656":[-0.10889,0.39111,0,0,1.14999],"8657":[0.19444,0.69444,0,0,0.70277],"8658":[-0.10889,0.39111,0,0,1.14999],"8659":[0.19444,0.69444,0,0,0.70277],"8660":[-0.10889,0.39111,0,0,1.14999],"8661":[0.25,0.75,0,0,0.70277],"8704":[0,0.69444,0,0,0.63889],"8706":[0,0.69444,0.06389,0,0.62847],"8707":[0,0.69444,0,0,0.63889],"8709":[0.05556,0.75,0,0,0.575],"8711":[0,0.68611,0,0,0.95833],"8712":[0.08556,0.58556,0,0,0.76666],"8715":[0.08556,0.58556,0,0,0.76666],"8722":[0.13333,0.63333,0,0,0.89444],"8723":[0.13333,0.63333,0,0,0.89444],"8725":[0.25,0.75,0,0,0.575],"8726":[0.25,0.75,0,0,0.575],"8727":[-0.02778,0.47222,0,0,0.575],"8728":[-0.02639,0.47361,0,0,0.575],"8729":[-0.02639,0.47361,0,0,0.575],"8730":[0.18,0.82,0,0,0.95833],"8733":[0,0.44444,0,0,0.89444],"8734":[0,0.44444,0,0,1.14999],"8736":[0,0.69224,0,0,0.72222],"8739":[0.25,0.75,0,0,0.31944],"8741":[0.25,0.75,0,0,0.575],"8743":[0,0.55556,0,0,0.76666],"8744":[0,0.55556,0,0,0.76666],"8745":[0,0.55556,0,0,0.76666],"8746":[0,0.55556,0,0,0.76666],"8747":[0.19444,0.69444,0.12778,0,0.56875],"8764":[-0.10889,0.39111,0,0,0.89444],"8768":[0.19444,0.69444,0,0,0.31944],"8771":[0.00222,0.50222,0,0,0.89444],"8773":[0.027,0.638,0,0,0.894],"8776":[0.02444,0.52444,0,0,0.89444],"8781":[0.00222,0.50222,0,0,0.89444],"8801":[0.00222,0.50222,0,0,0.89444],"8804":[0.19667,0.69667,0,0,0.89444],"8805":[0.19667,0.69667,0,0,0.89444],"8810":[0.08556,0.58556,0,0,1.14999],"8811":[0.08556,0.58556,0,0,1.14999],"8826":[0.08556,0.58556,0,0,0.89444],"8827":[0.08556,0.58556,0,0,0.89444],"8834":[0.08556,0.58556,0,0,0.89444],"8835":[0.08556,0.58556,0,0,0.89444],"8838":[0.19667,0.69667,0,0,0.89444],"8839":[0.19667,0.69667,0,0,0.89444],"8846":[0,0.55556,0,0,0.76666],"8849":[0.19667,0.69667,0,0,0.89444],"8850":[0.19667,0.69667,0,0,0.89444],"8851":[0,0.55556,0,0,0.76666],"8852":[0,0.55556,0,0,0.76666],"8853":[0.13333,0.63333,0,0,0.89444],"8854":[0.13333,0.63333,0,0,0.89444],"8855":[0.13333,0.63333,0,0,0.89444],"8856":[0.13333,0.63333,0,0,0.89444],"8857":[0.13333,0.63333,0,0,0.89444],"8866":[0,0.69444,0,0,0.70277],"8867":[0,0.69444,0,0,0.70277],"8868":[0,0.69444,0,0,0.89444],"8869":[0,0.69444,0,0,0.89444],"8900":[-0.02639,0.47361,0,0,0.575],"8901":[-0.02639,0.47361,0,0,0.31944],"8902":[-0.02778,0.47222,0,0,0.575],"8968":[0.25,0.75,0,0,0.51111],"8969":[0.25,0.75,0,0,0.51111],"8970":[0.25,0.75,0,0,0.51111],"8971":[0.25,0.75,0,0,0.51111],"8994":[-0.13889,0.36111,0,0,1.14999],"8995":[-0.13889,0.36111,0,0,1.14999],"9651":[0.19444,0.69444,0,0,1.02222],"9657":[-0.02778,0.47222,0,0,0.575],"9661":[0.19444,0.69444,0,0,1.02222],"9667":[-0.02778,0.47222,0,0,0.575],"9711":[0.19444,0.69444,0,0,1.14999],"9824":[0.12963,0.69444,0,0,0.89444],"9825":[0.12963,0.69444,0,0,0.89444],"9826":[0.12963,0.69444,0,0,0.89444],"9827":[0.12963,0.69444,0,0,0.89444],"9837":[0,0.75,0,0,0.44722],"9838":[0.19444,0.69444,0,0,0.44722],"9839":[0.19444,0.69444,0,0,0.44722],"10216":[0.25,0.75,0,0,0.44722],"10217":[0.25,0.75,0,0,0.44722],"10815":[0,0.68611,0,0,0.9],"10927":[0.19667,0.69667,0,0,0.89444],"10928":[0.19667,0.69667,0,0,0.89444],"57376":[0.19444,0.69444,0,0,0]},"Main-BoldItalic":{"32":[0,0,0,0,0.25],"33":[0,0.69444,0.11417,0,0.38611],"34":[0,0.69444,0.07939,0,0.62055],"35":[0.19444,0.69444,0.06833,0,0.94444],"37":[0.05556,0.75,0.12861,0,0.94444],"38":[0,0.69444,0.08528,0,0.88555],"39":[0,0.69444,0.12945,0,0.35555],"40":[0.25,0.75,0.15806,0,0.47333],"41":[0.25,0.75,0.03306,0,0.47333],"42":[0,0.75,0.14333,0,0.59111],"43":[0.10333,0.60333,0.03306,0,0.88555],"44":[0.19444,0.14722,0,0,0.35555],"45":[0,0.44444,0.02611,0,0.41444],"46":[0,0.14722,0,0,0.35555],"47":[0.25,0.75,0.15806,0,0.59111],"48":[0,0.64444,0.13167,0,0.59111],"49":[0,0.64444,0.13167,0,0.59111],"50":[0,0.64444,0.13167,0,0.59111],"51":[0,0.64444,0.13167,0,0.59111],"52":[0.19444,0.64444,0.13167,0,0.59111],"53":[0,0.64444,0.13167,0,0.59111],"54":[0,0.64444,0.13167,0,0.59111],"55":[0.19444,0.64444,0.13167,0,0.59111],"56":[0,0.64444,0.13167,0,0.59111],"57":[0,0.64444,0.13167,0,0.59111],"58":[0,0.44444,0.06695,0,0.35555],"59":[0.19444,0.44444,0.06695,0,0.35555],"61":[-0.10889,0.39111,0.06833,0,0.88555],"63":[0,0.69444,0.11472,0,0.59111],"64":[0,0.69444,0.09208,0,0.88555],"65":[0,0.68611,0,0,0.86555],"66":[0,0.68611,0.0992,0,0.81666],"67":[0,0.68611,0.14208,0,0.82666],"68":[0,0.68611,0.09062,0,0.87555],"69":[0,0.68611,0.11431,0,0.75666],"70":[0,0.68611,0.12903,0,0.72722],"71":[0,0.68611,0.07347,0,0.89527],"72":[0,0.68611,0.17208,0,0.8961],"73":[0,0.68611,0.15681,0,0.47166],"74":[0,0.68611,0.145,0,0.61055],"75":[0,0.68611,0.14208,0,0.89499],"76":[0,0.68611,0,0,0.69777],"77":[0,0.68611,0.17208,0,1.07277],"78":[0,0.68611,0.17208,0,0.8961],"79":[0,0.68611,0.09062,0,0.85499],"80":[0,0.68611,0.0992,0,0.78721],"81":[0.19444,0.68611,0.09062,0,0.85499],"82":[0,0.68611,0.02559,0,0.85944],"83":[0,0.68611,0.11264,0,0.64999],"84":[0,0.68611,0.12903,0,0.7961],"85":[0,0.68611,0.17208,0,0.88083],"86":[0,0.68611,0.18625,0,0.86555],"87":[0,0.68611,0.18625,0,1.15999],"88":[0,0.68611,0.15681,0,0.86555],"89":[0,0.68611,0.19803,0,0.86555],"90":[0,0.68611,0.14208,0,0.70888],"91":[0.25,0.75,0.1875,0,0.35611],"93":[0.25,0.75,0.09972,0,0.35611],"94":[0,0.69444,0.06709,0,0.59111],"95":[0.31,0.13444,0.09811,0,0.59111],"97":[0,0.44444,0.09426,0,0.59111],"98":[0,0.69444,0.07861,0,0.53222],"99":[0,0.44444,0.05222,0,0.53222],"100":[0,0.69444,0.10861,0,0.59111],"101":[0,0.44444,0.085,0,0.53222],"102":[0.19444,0.69444,0.21778,0,0.4],"103":[0.19444,0.44444,0.105,0,0.53222],"104":[0,0.69444,0.09426,0,0.59111],"105":[0,0.69326,0.11387,0,0.35555],"106":[0.19444,0.69326,0.1672,0,0.35555],"107":[0,0.69444,0.11111,0,0.53222],"108":[0,0.69444,0.10861,0,0.29666],"109":[0,0.44444,0.09426,0,0.94444],"110":[0,0.44444,0.09426,0,0.64999],"111":[0,0.44444,0.07861,0,0.59111],"112":[0.19444,0.44444,0.07861,0,0.59111],"113":[0.19444,0.44444,0.105,0,0.53222],"114":[0,0.44444,0.11111,0,0.50167],"115":[0,0.44444,0.08167,0,0.48694],"116":[0,0.63492,0.09639,0,0.385],"117":[0,0.44444,0.09426,0,0.62055],"118":[0,0.44444,0.11111,0,0.53222],"119":[0,0.44444,0.11111,0,0.76777],"120":[0,0.44444,0.12583,0,0.56055],"121":[0.19444,0.44444,0.105,0,0.56166],"122":[0,0.44444,0.13889,0,0.49055],"126":[0.35,0.34444,0.11472,0,0.59111],"160":[0,0,0,0,0.25],"168":[0,0.69444,0.11473,0,0.59111],"176":[0,0.69444,0,0,0.94888],"184":[0.17014,0,0,0,0.53222],"198":[0,0.68611,0.11431,0,1.02277],"216":[0.04861,0.73472,0.09062,0,0.88555],"223":[0.19444,0.69444,0.09736,0,0.665],"230":[0,0.44444,0.085,0,0.82666],"248":[0.09722,0.54167,0.09458,0,0.59111],"305":[0,0.44444,0.09426,0,0.35555],"338":[0,0.68611,0.11431,0,1.14054],"339":[0,0.44444,0.085,0,0.82666],"567":[0.19444,0.44444,0.04611,0,0.385],"710":[0,0.69444,0.06709,0,0.59111],"711":[0,0.63194,0.08271,0,0.59111],"713":[0,0.59444,0.10444,0,0.59111],"714":[0,0.69444,0.08528,0,0.59111],"715":[0,0.69444,0,0,0.59111],"728":[0,0.69444,0.10333,0,0.59111],"729":[0,0.69444,0.12945,0,0.35555],"730":[0,0.69444,0,0,0.94888],"732":[0,0.69444,0.11472,0,0.59111],"733":[0,0.69444,0.11472,0,0.59111],"915":[0,0.68611,0.12903,0,0.69777],"916":[0,0.68611,0,0,0.94444],"920":[0,0.68611,0.09062,0,0.88555],"923":[0,0.68611,0,0,0.80666],"926":[0,0.68611,0.15092,0,0.76777],"928":[0,0.68611,0.17208,0,0.8961],"931":[0,0.68611,0.11431,0,0.82666],"933":[0,0.68611,0.10778,0,0.88555],"934":[0,0.68611,0.05632,0,0.82666],"936":[0,0.68611,0.10778,0,0.88555],"937":[0,0.68611,0.0992,0,0.82666],"8211":[0,0.44444,0.09811,0,0.59111],"8212":[0,0.44444,0.09811,0,1.18221],"8216":[0,0.69444,0.12945,0,0.35555],"8217":[0,0.69444,0.12945,0,0.35555],"8220":[0,0.69444,0.16772,0,0.62055],"8221":[0,0.69444,0.07939,0,0.62055]},"Main-Italic":{"32":[0,0,0,0,0.25],"33":[0,0.69444,0.12417,0,0.30667],"34":[0,0.69444,0.06961,0,0.51444],"35":[0.19444,0.69444,0.06616,0,0.81777],"37":[0.05556,0.75,0.13639,0,0.81777],"38":[0,0.69444,0.09694,0,0.76666],"39":[0,0.69444,0.12417,0,0.30667],"40":[0.25,0.75,0.16194,0,0.40889],"41":[0.25,0.75,0.03694,0,0.40889],"42":[0,0.75,0.14917,0,0.51111],"43":[0.05667,0.56167,0.03694,0,0.76666],"44":[0.19444,0.10556,0,0,0.30667],"45":[0,0.43056,0.02826,0,0.35778],"46":[0,0.10556,0,0,0.30667],"47":[0.25,0.75,0.16194,0,0.51111],"48":[0,0.64444,0.13556,0,0.51111],"49":[0,0.64444,0.13556,0,0.51111],"50":[0,0.64444,0.13556,0,0.51111],"51":[0,0.64444,0.13556,0,0.51111],"52":[0.19444,0.64444,0.13556,0,0.51111],"53":[0,0.64444,0.13556,0,0.51111],"54":[0,0.64444,0.13556,0,0.51111],"55":[0.19444,0.64444,0.13556,0,0.51111],"56":[0,0.64444,0.13556,0,0.51111],"57":[0,0.64444,0.13556,0,0.51111],"58":[0,0.43056,0.0582,0,0.30667],"59":[0.19444,0.43056,0.0582,0,0.30667],"61":[-0.13313,0.36687,0.06616,0,0.76666],"63":[0,0.69444,0.1225,0,0.51111],"64":[0,0.69444,0.09597,0,0.76666],"65":[0,0.68333,0,0,0.74333],"66":[0,0.68333,0.10257,0,0.70389],"67":[0,0.68333,0.14528,0,0.71555],"68":[0,0.68333,0.09403,0,0.755],"69":[0,0.68333,0.12028,0,0.67833],"70":[0,0.68333,0.13305,0,0.65277],"71":[0,0.68333,0.08722,0,0.77361],"72":[0,0.68333,0.16389,0,0.74333],"73":[0,0.68333,0.15806,0,0.38555],"74":[0,0.68333,0.14028,0,0.525],"75":[0,0.68333,0.14528,0,0.76888],"76":[0,0.68333,0,0,0.62722],"77":[0,0.68333,0.16389,0,0.89666],"78":[0,0.68333,0.16389,0,0.74333],"79":[0,0.68333,0.09403,0,0.76666],"80":[0,0.68333,0.10257,0,0.67833],"81":[0.19444,0.68333,0.09403,0,0.76666],"82":[0,0.68333,0.03868,0,0.72944],"83":[0,0.68333,0.11972,0,0.56222],"84":[0,0.68333,0.13305,0,0.71555],"85":[0,0.68333,0.16389,0,0.74333],"86":[0,0.68333,0.18361,0,0.74333],"87":[0,0.68333,0.18361,0,0.99888],"88":[0,0.68333,0.15806,0,0.74333],"89":[0,0.68333,0.19383,0,0.74333],"90":[0,0.68333,0.14528,0,0.61333],"91":[0.25,0.75,0.1875,0,0.30667],"93":[0.25,0.75,0.10528,0,0.30667],"94":[0,0.69444,0.06646,0,0.51111],"95":[0.31,0.12056,0.09208,0,0.51111],"97":[0,0.43056,0.07671,0,0.51111],"98":[0,0.69444,0.06312,0,0.46],"99":[0,0.43056,0.05653,0,0.46],"100":[0,0.69444,0.10333,0,0.51111],"101":[0,0.43056,0.07514,0,0.46],"102":[0.19444,0.69444,0.21194,0,0.30667],"103":[0.19444,0.43056,0.08847,0,0.46],"104":[0,0.69444,0.07671,0,0.51111],"105":[0,0.65536,0.1019,0,0.30667],"106":[0.19444,0.65536,0.14467,0,0.30667],"107":[0,0.69444,0.10764,0,0.46],"108":[0,0.69444,0.10333,0,0.25555],"109":[0,0.43056,0.07671,0,0.81777],"110":[0,0.43056,0.07671,0,0.56222],"111":[0,0.43056,0.06312,0,0.51111],"112":[0.19444,0.43056,0.06312,0,0.51111],"113":[0.19444,0.43056,0.08847,0,0.46],"114":[0,0.43056,0.10764,0,0.42166],"115":[0,0.43056,0.08208,0,0.40889],"116":[0,0.61508,0.09486,0,0.33222],"117":[0,0.43056,0.07671,0,0.53666],"118":[0,0.43056,0.10764,0,0.46],"119":[0,0.43056,0.10764,0,0.66444],"120":[0,0.43056,0.12042,0,0.46389],"121":[0.19444,0.43056,0.08847,0,0.48555],"122":[0,0.43056,0.12292,0,0.40889],"126":[0.35,0.31786,0.11585,0,0.51111],"160":[0,0,0,0,0.25],"168":[0,0.66786,0.10474,0,0.51111],"176":[0,0.69444,0,0,0.83129],"184":[0.17014,0,0,0,0.46],"198":[0,0.68333,0.12028,0,0.88277],"216":[0.04861,0.73194,0.09403,0,0.76666],"223":[0.19444,0.69444,0.10514,0,0.53666],"230":[0,0.43056,0.07514,0,0.71555],"248":[0.09722,0.52778,0.09194,0,0.51111],"338":[0,0.68333,0.12028,0,0.98499],"339":[0,0.43056,0.07514,0,0.71555],"710":[0,0.69444,0.06646,0,0.51111],"711":[0,0.62847,0.08295,0,0.51111],"713":[0,0.56167,0.10333,0,0.51111],"714":[0,0.69444,0.09694,0,0.51111],"715":[0,0.69444,0,0,0.51111],"728":[0,0.69444,0.10806,0,0.51111],"729":[0,0.66786,0.11752,0,0.30667],"730":[0,0.69444,0,0,0.83129],"732":[0,0.66786,0.11585,0,0.51111],"733":[0,0.69444,0.1225,0,0.51111],"915":[0,0.68333,0.13305,0,0.62722],"916":[0,0.68333,0,0,0.81777],"920":[0,0.68333,0.09403,0,0.76666],"923":[0,0.68333,0,0,0.69222],"926":[0,0.68333,0.15294,0,0.66444],"928":[0,0.68333,0.16389,0,0.74333],"931":[0,0.68333,0.12028,0,0.71555],"933":[0,0.68333,0.11111,0,0.76666],"934":[0,0.68333,0.05986,0,0.71555],"936":[0,0.68333,0.11111,0,0.76666],"937":[0,0.68333,0.10257,0,0.71555],"8211":[0,0.43056,0.09208,0,0.51111],"8212":[0,0.43056,0.09208,0,1.02222],"8216":[0,0.69444,0.12417,0,0.30667],"8217":[0,0.69444,0.12417,0,0.30667],"8220":[0,0.69444,0.1685,0,0.51444],"8221":[0,0.69444,0.06961,0,0.51444],"8463":[0,0.68889,0,0,0.54028]},"Main-Regular":{"32":[0,0,0,0,0.25],"33":[0,0.69444,0,0,0.27778],"34":[0,0.69444,0,0,0.5],"35":[0.19444,0.69444,0,0,0.83334],"36":[0.05556,0.75,0,0,0.5],"37":[0.05556,0.75,0,0,0.83334],"38":[0,0.69444,0,0,0.77778],"39":[0,0.69444,0,0,0.27778],"40":[0.25,0.75,0,0,0.38889],"41":[0.25,0.75,0,0,0.38889],"42":[0,0.75,0,0,0.5],"43":[0.08333,0.58333,0,0,0.77778],"44":[0.19444,0.10556,0,0,0.27778],"45":[0,0.43056,0,0,0.33333],"46":[0,0.10556,0,0,0.27778],"47":[0.25,0.75,0,0,0.5],"48":[0,0.64444,0,0,0.5],"49":[0,0.64444,0,0,0.5],"50":[0,0.64444,0,0,0.5],"51":[0,0.64444,0,0,0.5],"52":[0,0.64444,0,0,0.5],"53":[0,0.64444,0,0,0.5],"54":[0,0.64444,0,0,0.5],"55":[0,0.64444,0,0,0.5],"56":[0,0.64444,0,0,0.5],"57":[0,0.64444,0,0,0.5],"58":[0,0.43056,0,0,0.27778],"59":[0.19444,0.43056,0,0,0.27778],"60":[0.0391,0.5391,0,0,0.77778],"61":[-0.13313,0.36687,0,0,0.77778],"62":[0.0391,0.5391,0,0,0.77778],"63":[0,0.69444,0,0,0.47222],"64":[0,0.69444,0,0,0.77778],"65":[0,0.68333,0,0,0.75],"66":[0,0.68333,0,0,0.70834],"67":[0,0.68333,0,0,0.72222],"68":[0,0.68333,0,0,0.76389],"69":[0,0.68333,0,0,0.68056],"70":[0,0.68333,0,0,0.65278],"71":[0,0.68333,0,0,0.78472],"72":[0,0.68333,0,0,0.75],"73":[0,0.68333,0,0,0.36111],"74":[0,0.68333,0,0,0.51389],"75":[0,0.68333,0,0,0.77778],"76":[0,0.68333,0,0,0.625],"77":[0,0.68333,0,0,0.91667],"78":[0,0.68333,0,0,0.75],"79":[0,0.68333,0,0,0.77778],"80":[0,0.68333,0,0,0.68056],"81":[0.19444,0.68333,0,0,0.77778],"82":[0,0.68333,0,0,0.73611],"83":[0,0.68333,0,0,0.55556],"84":[0,0.68333,0,0,0.72222],"85":[0,0.68333,0,0,0.75],"86":[0,0.68333,0.01389,0,0.75],"87":[0,0.68333,0.01389,0,1.02778],"88":[0,0.68333,0,0,0.75],"89":[0,0.68333,0.025,0,0.75],"90":[0,0.68333,0,0,0.61111],"91":[0.25,0.75,0,0,0.27778],"92":[0.25,0.75,0,0,0.5],"93":[0.25,0.75,0,0,0.27778],"94":[0,0.69444,0,0,0.5],"95":[0.31,0.12056,0.02778,0,0.5],"97":[0,0.43056,0,0,0.5],"98":[0,0.69444,0,0,0.55556],"99":[0,0.43056,0,0,0.44445],"100":[0,0.69444,0,0,0.55556],"101":[0,0.43056,0,0,0.44445],"102":[0,0.69444,0.07778,0,0.30556],"103":[0.19444,0.43056,0.01389,0,0.5],"104":[0,0.69444,0,0,0.55556],"105":[0,0.66786,0,0,0.27778],"106":[0.19444,0.66786,0,0,0.30556],"107":[0,0.69444,0,0,0.52778],"108":[0,0.69444,0,0,0.27778],"109":[0,0.43056,0,0,0.83334],"110":[0,0.43056,0,0,0.55556],"111":[0,0.43056,0,0,0.5],"112":[0.19444,0.43056,0,0,0.55556],"113":[0.19444,0.43056,0,0,0.52778],"114":[0,0.43056,0,0,0.39167],"115":[0,0.43056,0,0,0.39445],"116":[0,0.61508,0,0,0.38889],"117":[0,0.43056,0,0,0.55556],"118":[0,0.43056,0.01389,0,0.52778],"119":[0,0.43056,0.01389,0,0.72222],"120":[0,0.43056,0,0,0.52778],"121":[0.19444,0.43056,0.01389,0,0.52778],"122":[0,0.43056,0,0,0.44445],"123":[0.25,0.75,0,0,0.5],"124":[0.25,0.75,0,0,0.27778],"125":[0.25,0.75,0,0,0.5],"126":[0.35,0.31786,0,0,0.5],"160":[0,0,0,0,0.25],"163":[0,0.69444,0,0,0.76909],"167":[0.19444,0.69444,0,0,0.44445],"168":[0,0.66786,0,0,0.5],"172":[0,0.43056,0,0,0.66667],"176":[0,0.69444,0,0,0.75],"177":[0.08333,0.58333,0,0,0.77778],"182":[0.19444,0.69444,0,0,0.61111],"184":[0.17014,0,0,0,0.44445],"198":[0,0.68333,0,0,0.90278],"215":[0.08333,0.58333,0,0,0.77778],"216":[0.04861,0.73194,0,0,0.77778],"223":[0,0.69444,0,0,0.5],"230":[0,0.43056,0,0,0.72222],"247":[0.08333,0.58333,0,0,0.77778],"248":[0.09722,0.52778,0,0,0.5],"305":[0,0.43056,0,0,0.27778],"338":[0,0.68333,0,0,1.01389],"339":[0,0.43056,0,0,0.77778],"567":[0.19444,0.43056,0,0,0.30556],"710":[0,0.69444,0,0,0.5],"711":[0,0.62847,0,0,0.5],"713":[0,0.56778,0,0,0.5],"714":[0,0.69444,0,0,0.5],"715":[0,0.69444,0,0,0.5],"728":[0,0.69444,0,0,0.5],"729":[0,0.66786,0,0,0.27778],"730":[0,0.69444,0,0,0.75],"732":[0,0.66786,0,0,0.5],"733":[0,0.69444,0,0,0.5],"915":[0,0.68333,0,0,0.625],"916":[0,0.68333,0,0,0.83334],"920":[0,0.68333,0,0,0.77778],"923":[0,0.68333,0,0,0.69445],"926":[0,0.68333,0,0,0.66667],"928":[0,0.68333,0,0,0.75],"931":[0,0.68333,0,0,0.72222],"933":[0,0.68333,0,0,0.77778],"934":[0,0.68333,0,0,0.72222],"936":[0,0.68333,0,0,0.77778],"937":[0,0.68333,0,0,0.72222],"8211":[0,0.43056,0.02778,0,0.5],"8212":[0,0.43056,0.02778,0,1],"8216":[0,0.69444,0,0,0.27778],"8217":[0,0.69444,0,0,0.27778],"8220":[0,0.69444,0,0,0.5],"8221":[0,0.69444,0,0,0.5],"8224":[0.19444,0.69444,0,0,0.44445],"8225":[0.19444,0.69444,0,0,0.44445],"8230":[0,0.123,0,0,1.172],"8242":[0,0.55556,0,0,0.275],"8407":[0,0.71444,0.15382,0,0.5],"8463":[0,0.68889,0,0,0.54028],"8465":[0,0.69444,0,0,0.72222],"8467":[0,0.69444,0,0.11111,0.41667],"8472":[0.19444,0.43056,0,0.11111,0.63646],"8476":[0,0.69444,0,0,0.72222],"8501":[0,0.69444,0,0,0.61111],"8592":[-0.13313,0.36687,0,0,1],"8593":[0.19444,0.69444,0,0,0.5],"8594":[-0.13313,0.36687,0,0,1],"8595":[0.19444,0.69444,0,0,0.5],"8596":[-0.13313,0.36687,0,0,1],"8597":[0.25,0.75,0,0,0.5],"8598":[0.19444,0.69444,0,0,1],"8599":[0.19444,0.69444,0,0,1],"8600":[0.19444,0.69444,0,0,1],"8601":[0.19444,0.69444,0,0,1],"8614":[0.011,0.511,0,0,1],"8617":[0.011,0.511,0,0,1.126],"8618":[0.011,0.511,0,0,1.126],"8636":[-0.13313,0.36687,0,0,1],"8637":[-0.13313,0.36687,0,0,1],"8640":[-0.13313,0.36687,0,0,1],"8641":[-0.13313,0.36687,0,0,1],"8652":[0.011,0.671,0,0,1],"8656":[-0.13313,0.36687,0,0,1],"8657":[0.19444,0.69444,0,0,0.61111],"8658":[-0.13313,0.36687,0,0,1],"8659":[0.19444,0.69444,0,0,0.61111],"8660":[-0.13313,0.36687,0,0,1],"8661":[0.25,0.75,0,0,0.61111],"8704":[0,0.69444,0,0,0.55556],"8706":[0,0.69444,0.05556,0.08334,0.5309],"8707":[0,0.69444,0,0,0.55556],"8709":[0.05556,0.75,0,0,0.5],"8711":[0,0.68333,0,0,0.83334],"8712":[0.0391,0.5391,0,0,0.66667],"8715":[0.0391,0.5391,0,0,0.66667],"8722":[0.08333,0.58333,0,0,0.77778],"8723":[0.08333,0.58333,0,0,0.77778],"8725":[0.25,0.75,0,0,0.5],"8726":[0.25,0.75,0,0,0.5],"8727":[-0.03472,0.46528,0,0,0.5],"8728":[-0.05555,0.44445,0,0,0.5],"8729":[-0.05555,0.44445,0,0,0.5],"8730":[0.2,0.8,0,0,0.83334],"8733":[0,0.43056,0,0,0.77778],"8734":[0,0.43056,0,0,1],"8736":[0,0.69224,0,0,0.72222],"8739":[0.25,0.75,0,0,0.27778],"8741":[0.25,0.75,0,0,0.5],"8743":[0,0.55556,0,0,0.66667],"8744":[0,0.55556,0,0,0.66667],"8745":[0,0.55556,0,0,0.66667],"8746":[0,0.55556,0,0,0.66667],"8747":[0.19444,0.69444,0.11111,0,0.41667],"8764":[-0.13313,0.36687,0,0,0.77778],"8768":[0.19444,0.69444,0,0,0.27778],"8771":[-0.03625,0.46375,0,0,0.77778],"8773":[-0.022,0.589,0,0,0.778],"8776":[-0.01688,0.48312,0,0,0.77778],"8781":[-0.03625,0.46375,0,0,0.77778],"8784":[-0.133,0.673,0,0,0.778],"8801":[-0.03625,0.46375,0,0,0.77778],"8804":[0.13597,0.63597,0,0,0.77778],"8805":[0.13597,0.63597,0,0,0.77778],"8810":[0.0391,0.5391,0,0,1],"8811":[0.0391,0.5391,0,0,1],"8826":[0.0391,0.5391,0,0,0.77778],"8827":[0.0391,0.5391,0,0,0.77778],"8834":[0.0391,0.5391,0,0,0.77778],"8835":[0.0391,0.5391,0,0,0.77778],"8838":[0.13597,0.63597,0,0,0.77778],"8839":[0.13597,0.63597,0,0,0.77778],"8846":[0,0.55556,0,0,0.66667],"8849":[0.13597,0.63597,0,0,0.77778],"8850":[0.13597,0.63597,0,0,0.77778],"8851":[0,0.55556,0,0,0.66667],"8852":[0,0.55556,0,0,0.66667],"8853":[0.08333,0.58333,0,0,0.77778],"8854":[0.08333,0.58333,0,0,0.77778],"8855":[0.08333,0.58333,0,0,0.77778],"8856":[0.08333,0.58333,0,0,0.77778],"8857":[0.08333,0.58333,0,0,0.77778],"8866":[0,0.69444,0,0,0.61111],"8867":[0,0.69444,0,0,0.61111],"8868":[0,0.69444,0,0,0.77778],"8869":[0,0.69444,0,0,0.77778],"8872":[0.249,0.75,0,0,0.867],"8900":[-0.05555,0.44445,0,0,0.5],"8901":[-0.05555,0.44445,0,0,0.27778],"8902":[-0.03472,0.46528,0,0,0.5],"8904":[0.005,0.505,0,0,0.9],"8942":[0.03,0.903,0,0,0.278],"8943":[-0.19,0.313,0,0,1.172],"8945":[-0.1,0.823,0,0,1.282],"8968":[0.25,0.75,0,0,0.44445],"8969":[0.25,0.75,0,0,0.44445],"8970":[0.25,0.75,0,0,0.44445],"8971":[0.25,0.75,0,0,0.44445],"8994":[-0.14236,0.35764,0,0,1],"8995":[-0.14236,0.35764,0,0,1],"9136":[0.244,0.744,0,0,0.412],"9137":[0.244,0.745,0,0,0.412],"9651":[0.19444,0.69444,0,0,0.88889],"9657":[-0.03472,0.46528,0,0,0.5],"9661":[0.19444,0.69444,0,0,0.88889],"9667":[-0.03472,0.46528,0,0,0.5],"9711":[0.19444,0.69444,0,0,1],"9824":[0.12963,0.69444,0,0,0.77778],"9825":[0.12963,0.69444,0,0,0.77778],"9826":[0.12963,0.69444,0,0,0.77778],"9827":[0.12963,0.69444,0,0,0.77778],"9837":[0,0.75,0,0,0.38889],"9838":[0.19444,0.69444,0,0,0.38889],"9839":[0.19444,0.69444,0,0,0.38889],"10216":[0.25,0.75,0,0,0.38889],"10217":[0.25,0.75,0,0,0.38889],"10222":[0.244,0.744,0,0,0.412],"10223":[0.244,0.745,0,0,0.412],"10229":[0.011,0.511,0,0,1.609],"10230":[0.011,0.511,0,0,1.638],"10231":[0.011,0.511,0,0,1.859],"10232":[0.024,0.525,0,0,1.609],"10233":[0.024,0.525,0,0,1.638],"10234":[0.024,0.525,0,0,1.858],"10236":[0.011,0.511,0,0,1.638],"10815":[0,0.68333,0,0,0.75],"10927":[0.13597,0.63597,0,0,0.77778],"10928":[0.13597,0.63597,0,0,0.77778],"57376":[0.19444,0.69444,0,0,0]},"Math-BoldItalic":{"32":[0,0,0,0,0.25],"48":[0,0.44444,0,0,0.575],"49":[0,0.44444,0,0,0.575],"50":[0,0.44444,0,0,0.575],"51":[0.19444,0.44444,0,0,0.575],"52":[0.19444,0.44444,0,0,0.575],"53":[0.19444,0.44444,0,0,0.575],"54":[0,0.64444,0,0,0.575],"55":[0.19444,0.44444,0,0,0.575],"56":[0,0.64444,0,0,0.575],"57":[0.19444,0.44444,0,0,0.575],"65":[0,0.68611,0,0,0.86944],"66":[0,0.68611,0.04835,0,0.8664],"67":[0,0.68611,0.06979,0,0.81694],"68":[0,0.68611,0.03194,0,0.93812],"69":[0,0.68611,0.05451,0,0.81007],"70":[0,0.68611,0.15972,0,0.68889],"71":[0,0.68611,0,0,0.88673],"72":[0,0.68611,0.08229,0,0.98229],"73":[0,0.68611,0.07778,0,0.51111],"74":[0,0.68611,0.10069,0,0.63125],"75":[0,0.68611,0.06979,0,0.97118],"76":[0,0.68611,0,0,0.75555],"77":[0,0.68611,0.11424,0,1.14201],"78":[0,0.68611,0.11424,0,0.95034],"79":[0,0.68611,0.03194,0,0.83666],"80":[0,0.68611,0.15972,0,0.72309],"81":[0.19444,0.68611,0,0,0.86861],"82":[0,0.68611,0.00421,0,0.87235],"83":[0,0.68611,0.05382,0,0.69271],"84":[0,0.68611,0.15972,0,0.63663],"85":[0,0.68611,0.11424,0,0.80027],"86":[0,0.68611,0.25555,0,0.67778],"87":[0,0.68611,0.15972,0,1.09305],"88":[0,0.68611,0.07778,0,0.94722],"89":[0,0.68611,0.25555,0,0.67458],"90":[0,0.68611,0.06979,0,0.77257],"97":[0,0.44444,0,0,0.63287],"98":[0,0.69444,0,0,0.52083],"99":[0,0.44444,0,0,0.51342],"100":[0,0.69444,0,0,0.60972],"101":[0,0.44444,0,0,0.55361],"102":[0.19444,0.69444,0.11042,0,0.56806],"103":[0.19444,0.44444,0.03704,0,0.5449],"104":[0,0.69444,0,0,0.66759],"105":[0,0.69326,0,0,0.4048],"106":[0.19444,0.69326,0.0622,0,0.47083],"107":[0,0.69444,0.01852,0,0.6037],"108":[0,0.69444,0.0088,0,0.34815],"109":[0,0.44444,0,0,1.0324],"110":[0,0.44444,0,0,0.71296],"111":[0,0.44444,0,0,0.58472],"112":[0.19444,0.44444,0,0,0.60092],"113":[0.19444,0.44444,0.03704,0,0.54213],"114":[0,0.44444,0.03194,0,0.5287],"115":[0,0.44444,0,0,0.53125],"116":[0,0.63492,0,0,0.41528],"117":[0,0.44444,0,0,0.68102],"118":[0,0.44444,0.03704,0,0.56666],"119":[0,0.44444,0.02778,0,0.83148],"120":[0,0.44444,0,0,0.65903],"121":[0.19444,0.44444,0.03704,0,0.59028],"122":[0,0.44444,0.04213,0,0.55509],"160":[0,0,0,0,0.25],"915":[0,0.68611,0.15972,0,0.65694],"916":[0,0.68611,0,0,0.95833],"920":[0,0.68611,0.03194,0,0.86722],"923":[0,0.68611,0,0,0.80555],"926":[0,0.68611,0.07458,0,0.84125],"928":[0,0.68611,0.08229,0,0.98229],"931":[0,0.68611,0.05451,0,0.88507],"933":[0,0.68611,0.15972,0,0.67083],"934":[0,0.68611,0,0,0.76666],"936":[0,0.68611,0.11653,0,0.71402],"937":[0,0.68611,0.04835,0,0.8789],"945":[0,0.44444,0,0,0.76064],"946":[0.19444,0.69444,0.03403,0,0.65972],"947":[0.19444,0.44444,0.06389,0,0.59003],"948":[0,0.69444,0.03819,0,0.52222],"949":[0,0.44444,0,0,0.52882],"950":[0.19444,0.69444,0.06215,0,0.50833],"951":[0.19444,0.44444,0.03704,0,0.6],"952":[0,0.69444,0.03194,0,0.5618],"953":[0,0.44444,0,0,0.41204],"954":[0,0.44444,0,0,0.66759],"955":[0,0.69444,0,0,0.67083],"956":[0.19444,0.44444,0,0,0.70787],"957":[0,0.44444,0.06898,0,0.57685],"958":[0.19444,0.69444,0.03021,0,0.50833],"959":[0,0.44444,0,0,0.58472],"960":[0,0.44444,0.03704,0,0.68241],"961":[0.19444,0.44444,0,0,0.6118],"962":[0.09722,0.44444,0.07917,0,0.42361],"963":[0,0.44444,0.03704,0,0.68588],"964":[0,0.44444,0.13472,0,0.52083],"965":[0,0.44444,0.03704,0,0.63055],"966":[0.19444,0.44444,0,0,0.74722],"967":[0.19444,0.44444,0,0,0.71805],"968":[0.19444,0.69444,0.03704,0,0.75833],"969":[0,0.44444,0.03704,0,0.71782],"977":[0,0.69444,0,0,0.69155],"981":[0.19444,0.69444,0,0,0.7125],"982":[0,0.44444,0.03194,0,0.975],"1009":[0.19444,0.44444,0,0,0.6118],"1013":[0,0.44444,0,0,0.48333],"57649":[0,0.44444,0,0,0.39352],"57911":[0.19444,0.44444,0,0,0.43889]},"Math-Italic":{"32":[0,0,0,0,0.25],"48":[0,0.43056,0,0,0.5],"49":[0,0.43056,0,0,0.5],"50":[0,0.43056,0,0,0.5],"51":[0.19444,0.43056,0,0,0.5],"52":[0.19444,0.43056,0,0,0.5],"53":[0.19444,0.43056,0,0,0.5],"54":[0,0.64444,0,0,0.5],"55":[0.19444,0.43056,0,0,0.5],"56":[0,0.64444,0,0,0.5],"57":[0.19444,0.43056,0,0,0.5],"65":[0,0.68333,0,0.13889,0.75],"66":[0,0.68333,0.05017,0.08334,0.75851],"67":[0,0.68333,0.07153,0.08334,0.71472],"68":[0,0.68333,0.02778,0.05556,0.82792],"69":[0,0.68333,0.05764,0.08334,0.7382],"70":[0,0.68333,0.13889,0.08334,0.64306],"71":[0,0.68333,0,0.08334,0.78625],"72":[0,0.68333,0.08125,0.05556,0.83125],"73":[0,0.68333,0.07847,0.11111,0.43958],"74":[0,0.68333,0.09618,0.16667,0.55451],"75":[0,0.68333,0.07153,0.05556,0.84931],"76":[0,0.68333,0,0.02778,0.68056],"77":[0,0.68333,0.10903,0.08334,0.97014],"78":[0,0.68333,0.10903,0.08334,0.80347],"79":[0,0.68333,0.02778,0.08334,0.76278],"80":[0,0.68333,0.13889,0.08334,0.64201],"81":[0.19444,0.68333,0,0.08334,0.79056],"82":[0,0.68333,0.00773,0.08334,0.75929],"83":[0,0.68333,0.05764,0.08334,0.6132],"84":[0,0.68333,0.13889,0.08334,0.58438],"85":[0,0.68333,0.10903,0.02778,0.68278],"86":[0,0.68333,0.22222,0,0.58333],"87":[0,0.68333,0.13889,0,0.94445],"88":[0,0.68333,0.07847,0.08334,0.82847],"89":[0,0.68333,0.22222,0,0.58056],"90":[0,0.68333,0.07153,0.08334,0.68264],"97":[0,0.43056,0,0,0.52859],"98":[0,0.69444,0,0,0.42917],"99":[0,0.43056,0,0.05556,0.43276],"100":[0,0.69444,0,0.16667,0.52049],"101":[0,0.43056,0,0.05556,0.46563],"102":[0.19444,0.69444,0.10764,0.16667,0.48959],"103":[0.19444,0.43056,0.03588,0.02778,0.47697],"104":[0,0.69444,0,0,0.57616],"105":[0,0.65952,0,0,0.34451],"106":[0.19444,0.65952,0.05724,0,0.41181],"107":[0,0.69444,0.03148,0,0.5206],"108":[0,0.69444,0.01968,0.08334,0.29838],"109":[0,0.43056,0,0,0.87801],"110":[0,0.43056,0,0,0.60023],"111":[0,0.43056,0,0.05556,0.48472],"112":[0.19444,0.43056,0,0.08334,0.50313],"113":[0.19444,0.43056,0.03588,0.08334,0.44641],"114":[0,0.43056,0.02778,0.05556,0.45116],"115":[0,0.43056,0,0.05556,0.46875],"116":[0,0.61508,0,0.08334,0.36111],"117":[0,0.43056,0,0.02778,0.57246],"118":[0,0.43056,0.03588,0.02778,0.48472],"119":[0,0.43056,0.02691,0.08334,0.71592],"120":[0,0.43056,0,0.02778,0.57153],"121":[0.19444,0.43056,0.03588,0.05556,0.49028],"122":[0,0.43056,0.04398,0.05556,0.46505],"160":[0,0,0,0,0.25],"915":[0,0.68333,0.13889,0.08334,0.61528],"916":[0,0.68333,0,0.16667,0.83334],"920":[0,0.68333,0.02778,0.08334,0.76278],"923":[0,0.68333,0,0.16667,0.69445],"926":[0,0.68333,0.07569,0.08334,0.74236],"928":[0,0.68333,0.08125,0.05556,0.83125],"931":[0,0.68333,0.05764,0.08334,0.77986],"933":[0,0.68333,0.13889,0.05556,0.58333],"934":[0,0.68333,0,0.08334,0.66667],"936":[0,0.68333,0.11,0.05556,0.61222],"937":[0,0.68333,0.05017,0.08334,0.7724],"945":[0,0.43056,0.0037,0.02778,0.6397],"946":[0.19444,0.69444,0.05278,0.08334,0.56563],"947":[0.19444,0.43056,0.05556,0,0.51773],"948":[0,0.69444,0.03785,0.05556,0.44444],"949":[0,0.43056,0,0.08334,0.46632],"950":[0.19444,0.69444,0.07378,0.08334,0.4375],"951":[0.19444,0.43056,0.03588,0.05556,0.49653],"952":[0,0.69444,0.02778,0.08334,0.46944],"953":[0,0.43056,0,0.05556,0.35394],"954":[0,0.43056,0,0,0.57616],"955":[0,0.69444,0,0,0.58334],"956":[0.19444,0.43056,0,0.02778,0.60255],"957":[0,0.43056,0.06366,0.02778,0.49398],"958":[0.19444,0.69444,0.04601,0.11111,0.4375],"959":[0,0.43056,0,0.05556,0.48472],"960":[0,0.43056,0.03588,0,0.57003],"961":[0.19444,0.43056,0,0.08334,0.51702],"962":[0.09722,0.43056,0.07986,0.08334,0.36285],"963":[0,0.43056,0.03588,0,0.57141],"964":[0,0.43056,0.1132,0.02778,0.43715],"965":[0,0.43056,0.03588,0.02778,0.54028],"966":[0.19444,0.43056,0,0.08334,0.65417],"967":[0.19444,0.43056,0,0.05556,0.62569],"968":[0.19444,0.69444,0.03588,0.11111,0.65139],"969":[0,0.43056,0.03588,0,0.62245],"977":[0,0.69444,0,0.08334,0.59144],"981":[0.19444,0.69444,0,0.08334,0.59583],"982":[0,0.43056,0.02778,0,0.82813],"1009":[0.19444,0.43056,0,0.08334,0.51702],"1013":[0,0.43056,0,0.05556,0.4059],"57649":[0,0.43056,0,0.02778,0.32246],"57911":[0.19444,0.43056,0,0.08334,0.38403]},"SansSerif-Bold":{"32":[0,0,0,0,0.25],"33":[0,0.69444,0,0,0.36667],"34":[0,0.69444,0,0,0.55834],"35":[0.19444,0.69444,0,0,0.91667],"36":[0.05556,0.75,0,0,0.55],"37":[0.05556,0.75,0,0,1.02912],"38":[0,0.69444,0,0,0.83056],"39":[0,0.69444,0,0,0.30556],"40":[0.25,0.75,0,0,0.42778],"41":[0.25,0.75,0,0,0.42778],"42":[0,0.75,0,0,0.55],"43":[0.11667,0.61667,0,0,0.85556],"44":[0.10556,0.13056,0,0,0.30556],"45":[0,0.45833,0,0,0.36667],"46":[0,0.13056,0,0,0.30556],"47":[0.25,0.75,0,0,0.55],"48":[0,0.69444,0,0,0.55],"49":[0,0.69444,0,0,0.55],"50":[0,0.69444,0,0,0.55],"51":[0,0.69444,0,0,0.55],"52":[0,0.69444,0,0,0.55],"53":[0,0.69444,0,0,0.55],"54":[0,0.69444,0,0,0.55],"55":[0,0.69444,0,0,0.55],"56":[0,0.69444,0,0,0.55],"57":[0,0.69444,0,0,0.55],"58":[0,0.45833,0,0,0.30556],"59":[0.10556,0.45833,0,0,0.30556],"61":[-0.09375,0.40625,0,0,0.85556],"63":[0,0.69444,0,0,0.51945],"64":[0,0.69444,0,0,0.73334],"65":[0,0.69444,0,0,0.73334],"66":[0,0.69444,0,0,0.73334],"67":[0,0.69444,0,0,0.70278],"68":[0,0.69444,0,0,0.79445],"69":[0,0.69444,0,0,0.64167],"70":[0,0.69444,0,0,0.61111],"71":[0,0.69444,0,0,0.73334],"72":[0,0.69444,0,0,0.79445],"73":[0,0.69444,0,0,0.33056],"74":[0,0.69444,0,0,0.51945],"75":[0,0.69444,0,0,0.76389],"76":[0,0.69444,0,0,0.58056],"77":[0,0.69444,0,0,0.97778],"78":[0,0.69444,0,0,0.79445],"79":[0,0.69444,0,0,0.79445],"80":[0,0.69444,0,0,0.70278],"81":[0.10556,0.69444,0,0,0.79445],"82":[0,0.69444,0,0,0.70278],"83":[0,0.69444,0,0,0.61111],"84":[0,0.69444,0,0,0.73334],"85":[0,0.69444,0,0,0.76389],"86":[0,0.69444,0.01528,0,0.73334],"87":[0,0.69444,0.01528,0,1.03889],"88":[0,0.69444,0,0,0.73334],"89":[0,0.69444,0.0275,0,0.73334],"90":[0,0.69444,0,0,0.67223],"91":[0.25,0.75,0,0,0.34306],"93":[0.25,0.75,0,0,0.34306],"94":[0,0.69444,0,0,0.55],"95":[0.35,0.10833,0.03056,0,0.55],"97":[0,0.45833,0,0,0.525],"98":[0,0.69444,0,0,0.56111],"99":[0,0.45833,0,0,0.48889],"100":[0,0.69444,0,0,0.56111],"101":[0,0.45833,0,0,0.51111],"102":[0,0.69444,0.07639,0,0.33611],"103":[0.19444,0.45833,0.01528,0,0.55],"104":[0,0.69444,0,0,0.56111],"105":[0,0.69444,0,0,0.25556],"106":[0.19444,0.69444,0,0,0.28611],"107":[0,0.69444,0,0,0.53056],"108":[0,0.69444,0,0,0.25556],"109":[0,0.45833,0,0,0.86667],"110":[0,0.45833,0,0,0.56111],"111":[0,0.45833,0,0,0.55],"112":[0.19444,0.45833,0,0,0.56111],"113":[0.19444,0.45833,0,0,0.56111],"114":[0,0.45833,0.01528,0,0.37222],"115":[0,0.45833,0,0,0.42167],"116":[0,0.58929,0,0,0.40417],"117":[0,0.45833,0,0,0.56111],"118":[0,0.45833,0.01528,0,0.5],"119":[0,0.45833,0.01528,0,0.74445],"120":[0,0.45833,0,0,0.5],"121":[0.19444,0.45833,0.01528,0,0.5],"122":[0,0.45833,0,0,0.47639],"126":[0.35,0.34444,0,0,0.55],"160":[0,0,0,0,0.25],"168":[0,0.69444,0,0,0.55],"176":[0,0.69444,0,0,0.73334],"180":[0,0.69444,0,0,0.55],"184":[0.17014,0,0,0,0.48889],"305":[0,0.45833,0,0,0.25556],"567":[0.19444,0.45833,0,0,0.28611],"710":[0,0.69444,0,0,0.55],"711":[0,0.63542,0,0,0.55],"713":[0,0.63778,0,0,0.55],"728":[0,0.69444,0,0,0.55],"729":[0,0.69444,0,0,0.30556],"730":[0,0.69444,0,0,0.73334],"732":[0,0.69444,0,0,0.55],"733":[0,0.69444,0,0,0.55],"915":[0,0.69444,0,0,0.58056],"916":[0,0.69444,0,0,0.91667],"920":[0,0.69444,0,0,0.85556],"923":[0,0.69444,0,0,0.67223],"926":[0,0.69444,0,0,0.73334],"928":[0,0.69444,0,0,0.79445],"931":[0,0.69444,0,0,0.79445],"933":[0,0.69444,0,0,0.85556],"934":[0,0.69444,0,0,0.79445],"936":[0,0.69444,0,0,0.85556],"937":[0,0.69444,0,0,0.79445],"8211":[0,0.45833,0.03056,0,0.55],"8212":[0,0.45833,0.03056,0,1.10001],"8216":[0,0.69444,0,0,0.30556],"8217":[0,0.69444,0,0,0.30556],"8220":[0,0.69444,0,0,0.55834],"8221":[0,0.69444,0,0,0.55834]},"SansSerif-Italic":{"32":[0,0,0,0,0.25],"33":[0,0.69444,0.05733,0,0.31945],"34":[0,0.69444,0.00316,0,0.5],"35":[0.19444,0.69444,0.05087,0,0.83334],"36":[0.05556,0.75,0.11156,0,0.5],"37":[0.05556,0.75,0.03126,0,0.83334],"38":[0,0.69444,0.03058,0,0.75834],"39":[0,0.69444,0.07816,0,0.27778],"40":[0.25,0.75,0.13164,0,0.38889],"41":[0.25,0.75,0.02536,0,0.38889],"42":[0,0.75,0.11775,0,0.5],"43":[0.08333,0.58333,0.02536,0,0.77778],"44":[0.125,0.08333,0,0,0.27778],"45":[0,0.44444,0.01946,0,0.33333],"46":[0,0.08333,0,0,0.27778],"47":[0.25,0.75,0.13164,0,0.5],"48":[0,0.65556,0.11156,0,0.5],"49":[0,0.65556,0.11156,0,0.5],"50":[0,0.65556,0.11156,0,0.5],"51":[0,0.65556,0.11156,0,0.5],"52":[0,0.65556,0.11156,0,0.5],"53":[0,0.65556,0.11156,0,0.5],"54":[0,0.65556,0.11156,0,0.5],"55":[0,0.65556,0.11156,0,0.5],"56":[0,0.65556,0.11156,0,0.5],"57":[0,0.65556,0.11156,0,0.5],"58":[0,0.44444,0.02502,0,0.27778],"59":[0.125,0.44444,0.02502,0,0.27778],"61":[-0.13,0.37,0.05087,0,0.77778],"63":[0,0.69444,0.11809,0,0.47222],"64":[0,0.69444,0.07555,0,0.66667],"65":[0,0.69444,0,0,0.66667],"66":[0,0.69444,0.08293,0,0.66667],"67":[0,0.69444,0.11983,0,0.63889],"68":[0,0.69444,0.07555,0,0.72223],"69":[0,0.69444,0.11983,0,0.59722],"70":[0,0.69444,0.13372,0,0.56945],"71":[0,0.69444,0.11983,0,0.66667],"72":[0,0.69444,0.08094,0,0.70834],"73":[0,0.69444,0.13372,0,0.27778],"74":[0,0.69444,0.08094,0,0.47222],"75":[0,0.69444,0.11983,0,0.69445],"76":[0,0.69444,0,0,0.54167],"77":[0,0.69444,0.08094,0,0.875],"78":[0,0.69444,0.08094,0,0.70834],"79":[0,0.69444,0.07555,0,0.73611],"80":[0,0.69444,0.08293,0,0.63889],"81":[0.125,0.69444,0.07555,0,0.73611],"82":[0,0.69444,0.08293,0,0.64584],"83":[0,0.69444,0.09205,0,0.55556],"84":[0,0.69444,0.13372,0,0.68056],"85":[0,0.69444,0.08094,0,0.6875],"86":[0,0.69444,0.1615,0,0.66667],"87":[0,0.69444,0.1615,0,0.94445],"88":[0,0.69444,0.13372,0,0.66667],"89":[0,0.69444,0.17261,0,0.66667],"90":[0,0.69444,0.11983,0,0.61111],"91":[0.25,0.75,0.15942,0,0.28889],"93":[0.25,0.75,0.08719,0,0.28889],"94":[0,0.69444,0.0799,0,0.5],"95":[0.35,0.09444,0.08616,0,0.5],"97":[0,0.44444,0.00981,0,0.48056],"98":[0,0.69444,0.03057,0,0.51667],"99":[0,0.44444,0.08336,0,0.44445],"100":[0,0.69444,0.09483,0,0.51667],"101":[0,0.44444,0.06778,0,0.44445],"102":[0,0.69444,0.21705,0,0.30556],"103":[0.19444,0.44444,0.10836,0,0.5],"104":[0,0.69444,0.01778,0,0.51667],"105":[0,0.67937,0.09718,0,0.23889],"106":[0.19444,0.67937,0.09162,0,0.26667],"107":[0,0.69444,0.08336,0,0.48889],"108":[0,0.69444,0.09483,0,0.23889],"109":[0,0.44444,0.01778,0,0.79445],"110":[0,0.44444,0.01778,0,0.51667],"111":[0,0.44444,0.06613,0,0.5],"112":[0.19444,0.44444,0.0389,0,0.51667],"113":[0.19444,0.44444,0.04169,0,0.51667],"114":[0,0.44444,0.10836,0,0.34167],"115":[0,0.44444,0.0778,0,0.38333],"116":[0,0.57143,0.07225,0,0.36111],"117":[0,0.44444,0.04169,0,0.51667],"118":[0,0.44444,0.10836,0,0.46111],"119":[0,0.44444,0.10836,0,0.68334],"120":[0,0.44444,0.09169,0,0.46111],"121":[0.19444,0.44444,0.10836,0,0.46111],"122":[0,0.44444,0.08752,0,0.43472],"126":[0.35,0.32659,0.08826,0,0.5],"160":[0,0,0,0,0.25],"168":[0,0.67937,0.06385,0,0.5],"176":[0,0.69444,0,0,0.73752],"184":[0.17014,0,0,0,0.44445],"305":[0,0.44444,0.04169,0,0.23889],"567":[0.19444,0.44444,0.04169,0,0.26667],"710":[0,0.69444,0.0799,0,0.5],"711":[0,0.63194,0.08432,0,0.5],"713":[0,0.60889,0.08776,0,0.5],"714":[0,0.69444,0.09205,0,0.5],"715":[0,0.69444,0,0,0.5],"728":[0,0.69444,0.09483,0,0.5],"729":[0,0.67937,0.07774,0,0.27778],"730":[0,0.69444,0,0,0.73752],"732":[0,0.67659,0.08826,0,0.5],"733":[0,0.69444,0.09205,0,0.5],"915":[0,0.69444,0.13372,0,0.54167],"916":[0,0.69444,0,0,0.83334],"920":[0,0.69444,0.07555,0,0.77778],"923":[0,0.69444,0,0,0.61111],"926":[0,0.69444,0.12816,0,0.66667],"928":[0,0.69444,0.08094,0,0.70834],"931":[0,0.69444,0.11983,0,0.72222],"933":[0,0.69444,0.09031,0,0.77778],"934":[0,0.69444,0.04603,0,0.72222],"936":[0,0.69444,0.09031,0,0.77778],"937":[0,0.69444,0.08293,0,0.72222],"8211":[0,0.44444,0.08616,0,0.5],"8212":[0,0.44444,0.08616,0,1],"8216":[0,0.69444,0.07816,0,0.27778],"8217":[0,0.69444,0.07816,0,0.27778],"8220":[0,0.69444,0.14205,0,0.5],"8221":[0,0.69444,0.00316,0,0.5]},"SansSerif-Regular":{"32":[0,0,0,0,0.25],"33":[0,0.69444,0,0,0.31945],"34":[0,0.69444,0,0,0.5],"35":[0.19444,0.69444,0,0,0.83334],"36":[0.05556,0.75,0,0,0.5],"37":[0.05556,0.75,0,0,0.83334],"38":[0,0.69444,0,0,0.75834],"39":[0,0.69444,0,0,0.27778],"40":[0.25,0.75,0,0,0.38889],"41":[0.25,0.75,0,0,0.38889],"42":[0,0.75,0,0,0.5],"43":[0.08333,0.58333,0,0,0.77778],"44":[0.125,0.08333,0,0,0.27778],"45":[0,0.44444,0,0,0.33333],"46":[0,0.08333,0,0,0.27778],"47":[0.25,0.75,0,0,0.5],"48":[0,0.65556,0,0,0.5],"49":[0,0.65556,0,0,0.5],"50":[0,0.65556,0,0,0.5],"51":[0,0.65556,0,0,0.5],"52":[0,0.65556,0,0,0.5],"53":[0,0.65556,0,0,0.5],"54":[0,0.65556,0,0,0.5],"55":[0,0.65556,0,0,0.5],"56":[0,0.65556,0,0,0.5],"57":[0,0.65556,0,0,0.5],"58":[0,0.44444,0,0,0.27778],"59":[0.125,0.44444,0,0,0.27778],"61":[-0.13,0.37,0,0,0.77778],"63":[0,0.69444,0,0,0.47222],"64":[0,0.69444,0,0,0.66667],"65":[0,0.69444,0,0,0.66667],"66":[0,0.69444,0,0,0.66667],"67":[0,0.69444,0,0,0.63889],"68":[0,0.69444,0,0,0.72223],"69":[0,0.69444,0,0,0.59722],"70":[0,0.69444,0,0,0.56945],"71":[0,0.69444,0,0,0.66667],"72":[0,0.69444,0,0,0.70834],"73":[0,0.69444,0,0,0.27778],"74":[0,0.69444,0,0,0.47222],"75":[0,0.69444,0,0,0.69445],"76":[0,0.69444,0,0,0.54167],"77":[0,0.69444,0,0,0.875],"78":[0,0.69444,0,0,0.70834],"79":[0,0.69444,0,0,0.73611],"80":[0,0.69444,0,0,0.63889],"81":[0.125,0.69444,0,0,0.73611],"82":[0,0.69444,0,0,0.64584],"83":[0,0.69444,0,0,0.55556],"84":[0,0.69444,0,0,0.68056],"85":[0,0.69444,0,0,0.6875],"86":[0,0.69444,0.01389,0,0.66667],"87":[0,0.69444,0.01389,0,0.94445],"88":[0,0.69444,0,0,0.66667],"89":[0,0.69444,0.025,0,0.66667],"90":[0,0.69444,0,0,0.61111],"91":[0.25,0.75,0,0,0.28889],"93":[0.25,0.75,0,0,0.28889],"94":[0,0.69444,0,0,0.5],"95":[0.35,0.09444,0.02778,0,0.5],"97":[0,0.44444,0,0,0.48056],"98":[0,0.69444,0,0,0.51667],"99":[0,0.44444,0,0,0.44445],"100":[0,0.69444,0,0,0.51667],"101":[0,0.44444,0,0,0.44445],"102":[0,0.69444,0.06944,0,0.30556],"103":[0.19444,0.44444,0.01389,0,0.5],"104":[0,0.69444,0,0,0.51667],"105":[0,0.67937,0,0,0.23889],"106":[0.19444,0.67937,0,0,0.26667],"107":[0,0.69444,0,0,0.48889],"108":[0,0.69444,0,0,0.23889],"109":[0,0.44444,0,0,0.79445],"110":[0,0.44444,0,0,0.51667],"111":[0,0.44444,0,0,0.5],"112":[0.19444,0.44444,0,0,0.51667],"113":[0.19444,0.44444,0,0,0.51667],"114":[0,0.44444,0.01389,0,0.34167],"115":[0,0.44444,0,0,0.38333],"116":[0,0.57143,0,0,0.36111],"117":[0,0.44444,0,0,0.51667],"118":[0,0.44444,0.01389,0,0.46111],"119":[0,0.44444,0.01389,0,0.68334],"120":[0,0.44444,0,0,0.46111],"121":[0.19444,0.44444,0.01389,0,0.46111],"122":[0,0.44444,0,0,0.43472],"126":[0.35,0.32659,0,0,0.5],"160":[0,0,0,0,0.25],"168":[0,0.67937,0,0,0.5],"176":[0,0.69444,0,0,0.66667],"184":[0.17014,0,0,0,0.44445],"305":[0,0.44444,0,0,0.23889],"567":[0.19444,0.44444,0,0,0.26667],"710":[0,0.69444,0,0,0.5],"711":[0,0.63194,0,0,0.5],"713":[0,0.60889,0,0,0.5],"714":[0,0.69444,0,0,0.5],"715":[0,0.69444,0,0,0.5],"728":[0,0.69444,0,0,0.5],"729":[0,0.67937,0,0,0.27778],"730":[0,0.69444,0,0,0.66667],"732":[0,0.67659,0,0,0.5],"733":[0,0.69444,0,0,0.5],"915":[0,0.69444,0,0,0.54167],"916":[0,0.69444,0,0,0.83334],"920":[0,0.69444,0,0,0.77778],"923":[0,0.69444,0,0,0.61111],"926":[0,0.69444,0,0,0.66667],"928":[0,0.69444,0,0,0.70834],"931":[0,0.69444,0,0,0.72222],"933":[0,0.69444,0,0,0.77778],"934":[0,0.69444,0,0,0.72222],"936":[0,0.69444,0,0,0.77778],"937":[0,0.69444,0,0,0.72222],"8211":[0,0.44444,0.02778,0,0.5],"8212":[0,0.44444,0.02778,0,1],"8216":[0,0.69444,0,0,0.27778],"8217":[0,0.69444,0,0,0.27778],"8220":[0,0.69444,0,0,0.5],"8221":[0,0.69444,0,0,0.5]},"Script-Regular":{"32":[0,0,0,0,0.25],"65":[0,0.7,0.22925,0,0.80253],"66":[0,0.7,0.04087,0,0.90757],"67":[0,0.7,0.1689,0,0.66619],"68":[0,0.7,0.09371,0,0.77443],"69":[0,0.7,0.18583,0,0.56162],"70":[0,0.7,0.13634,0,0.89544],"71":[0,0.7,0.17322,0,0.60961],"72":[0,0.7,0.29694,0,0.96919],"73":[0,0.7,0.19189,0,0.80907],"74":[0.27778,0.7,0.19189,0,1.05159],"75":[0,0.7,0.31259,0,0.91364],"76":[0,0.7,0.19189,0,0.87373],"77":[0,0.7,0.15981,0,1.08031],"78":[0,0.7,0.3525,0,0.9015],"79":[0,0.7,0.08078,0,0.73787],"80":[0,0.7,0.08078,0,1.01262],"81":[0,0.7,0.03305,0,0.88282],"82":[0,0.7,0.06259,0,0.85],"83":[0,0.7,0.19189,0,0.86767],"84":[0,0.7,0.29087,0,0.74697],"85":[0,0.7,0.25815,0,0.79996],"86":[0,0.7,0.27523,0,0.62204],"87":[0,0.7,0.27523,0,0.80532],"88":[0,0.7,0.26006,0,0.94445],"89":[0,0.7,0.2939,0,0.70961],"90":[0,0.7,0.24037,0,0.8212],"160":[0,0,0,0,0.25]},"Size1-Regular":{"32":[0,0,0,0,0.25],"40":[0.35001,0.85,0,0,0.45834],"41":[0.35001,0.85,0,0,0.45834],"47":[0.35001,0.85,0,0,0.57778],"91":[0.35001,0.85,0,0,0.41667],"92":[0.35001,0.85,0,0,0.57778],"93":[0.35001,0.85,0,0,0.41667],"123":[0.35001,0.85,0,0,0.58334],"125":[0.35001,0.85,0,0,0.58334],"160":[0,0,0,0,0.25],"710":[0,0.72222,0,0,0.55556],"732":[0,0.72222,0,0,0.55556],"770":[0,0.72222,0,0,0.55556],"771":[0,0.72222,0,0,0.55556],"8214":[-0.00099,0.601,0,0,0.77778],"8593":[0.00001,0.6,0,0,0.66667],"8595":[0.00001,0.6,0,0,0.66667],"8657":[0.00001,0.6,0,0,0.77778],"8659":[0.00001,0.6,0,0,0.77778],"8719":[0.25001,0.75,0,0,0.94445],"8720":[0.25001,0.75,0,0,0.94445],"8721":[0.25001,0.75,0,0,1.05556],"8730":[0.35001,0.85,0,0,1],"8739":[-0.00599,0.606,0,0,0.33333],"8741":[-0.00599,0.606,0,0,0.55556],"8747":[0.30612,0.805,0.19445,0,0.47222],"8748":[0.306,0.805,0.19445,0,0.47222],"8749":[0.306,0.805,0.19445,0,0.47222],"8750":[0.30612,0.805,0.19445,0,0.47222],"8896":[0.25001,0.75,0,0,0.83334],"8897":[0.25001,0.75,0,0,0.83334],"8898":[0.25001,0.75,0,0,0.83334],"8899":[0.25001,0.75,0,0,0.83334],"8968":[0.35001,0.85,0,0,0.47222],"8969":[0.35001,0.85,0,0,0.47222],"8970":[0.35001,0.85,0,0,0.47222],"8971":[0.35001,0.85,0,0,0.47222],"9168":[-0.00099,0.601,0,0,0.66667],"10216":[0.35001,0.85,0,0,0.47222],"10217":[0.35001,0.85,0,0,0.47222],"10752":[0.25001,0.75,0,0,1.11111],"10753":[0.25001,0.75,0,0,1.11111],"10754":[0.25001,0.75,0,0,1.11111],"10756":[0.25001,0.75,0,0,0.83334],"10758":[0.25001,0.75,0,0,0.83334]},"Size2-Regular":{"32":[0,0,0,0,0.25],"40":[0.65002,1.15,0,0,0.59722],"41":[0.65002,1.15,0,0,0.59722],"47":[0.65002,1.15,0,0,0.81111],"91":[0.65002,1.15,0,0,0.47222],"92":[0.65002,1.15,0,0,0.81111],"93":[0.65002,1.15,0,0,0.47222],"123":[0.65002,1.15,0,0,0.66667],"125":[0.65002,1.15,0,0,0.66667],"160":[0,0,0,0,0.25],"710":[0,0.75,0,0,1],"732":[0,0.75,0,0,1],"770":[0,0.75,0,0,1],"771":[0,0.75,0,0,1],"8719":[0.55001,1.05,0,0,1.27778],"8720":[0.55001,1.05,0,0,1.27778],"8721":[0.55001,1.05,0,0,1.44445],"8730":[0.65002,1.15,0,0,1],"8747":[0.86225,1.36,0.44445,0,0.55556],"8748":[0.862,1.36,0.44445,0,0.55556],"8749":[0.862,1.36,0.44445,0,0.55556],"8750":[0.86225,1.36,0.44445,0,0.55556],"8896":[0.55001,1.05,0,0,1.11111],"8897":[0.55001,1.05,0,0,1.11111],"8898":[0.55001,1.05,0,0,1.11111],"8899":[0.55001,1.05,0,0,1.11111],"8968":[0.65002,1.15,0,0,0.52778],"8969":[0.65002,1.15,0,0,0.52778],"8970":[0.65002,1.15,0,0,0.52778],"8971":[0.65002,1.15,0,0,0.52778],"10216":[0.65002,1.15,0,0,0.61111],"10217":[0.65002,1.15,0,0,0.61111],"10752":[0.55001,1.05,0,0,1.51112],"10753":[0.55001,1.05,0,0,1.51112],"10754":[0.55001,1.05,0,0,1.51112],"10756":[0.55001,1.05,0,0,1.11111],"10758":[0.55001,1.05,0,0,1.11111]},"Size3-Regular":{"32":[0,0,0,0,0.25],"40":[0.95003,1.45,0,0,0.73611],"41":[0.95003,1.45,0,0,0.73611],"47":[0.95003,1.45,0,0,1.04445],"91":[0.95003,1.45,0,0,0.52778],"92":[0.95003,1.45,0,0,1.04445],"93":[0.95003,1.45,0,0,0.52778],"123":[0.95003,1.45,0,0,0.75],"125":[0.95003,1.45,0,0,0.75],"160":[0,0,0,0,0.25],"710":[0,0.75,0,0,1.44445],"732":[0,0.75,0,0,1.44445],"770":[0,0.75,0,0,1.44445],"771":[0,0.75,0,0,1.44445],"8730":[0.95003,1.45,0,0,1],"8968":[0.95003,1.45,0,0,0.58334],"8969":[0.95003,1.45,0,0,0.58334],"8970":[0.95003,1.45,0,0,0.58334],"8971":[0.95003,1.45,0,0,0.58334],"10216":[0.95003,1.45,0,0,0.75],"10217":[0.95003,1.45,0,0,0.75]},"Size4-Regular":{"32":[0,0,0,0,0.25],"40":[1.25003,1.75,0,0,0.79167],"41":[1.25003,1.75,0,0,0.79167],"47":[1.25003,1.75,0,0,1.27778],"91":[1.25003,1.75,0,0,0.58334],"92":[1.25003,1.75,0,0,1.27778],"93":[1.25003,1.75,0,0,0.58334],"123":[1.25003,1.75,0,0,0.80556],"125":[1.25003,1.75,0,0,0.80556],"160":[0,0,0,0,0.25],"710":[0,0.825,0,0,1.8889],"732":[0,0.825,0,0,1.8889],"770":[0,0.825,0,0,1.8889],"771":[0,0.825,0,0,1.8889],"8730":[1.25003,1.75,0,0,1],"8968":[1.25003,1.75,0,0,0.63889],"8969":[1.25003,1.75,0,0,0.63889],"8970":[1.25003,1.75,0,0,0.63889],"8971":[1.25003,1.75,0,0,0.63889],"9115":[0.64502,1.155,0,0,0.875],"9116":[0.00001,0.6,0,0,0.875],"9117":[0.64502,1.155,0,0,0.875],"9118":[0.64502,1.155,0,0,0.875],"9119":[0.00001,0.6,0,0,0.875],"9120":[0.64502,1.155,0,0,0.875],"9121":[0.64502,1.155,0,0,0.66667],"9122":[-0.00099,0.601,0,0,0.66667],"9123":[0.64502,1.155,0,0,0.66667],"9124":[0.64502,1.155,0,0,0.66667],"9125":[-0.00099,0.601,0,0,0.66667],"9126":[0.64502,1.155,0,0,0.66667],"9127":[0.00001,0.9,0,0,0.88889],"9128":[0.65002,1.15,0,0,0.88889],"9129":[0.90001,0,0,0,0.88889],"9130":[0,0.3,0,0,0.88889],"9131":[0.00001,0.9,0,0,0.88889],"9132":[0.65002,1.15,0,0,0.88889],"9133":[0.90001,0,0,0,0.88889],"9143":[0.88502,0.915,0,0,1.05556],"10216":[1.25003,1.75,0,0,0.80556],"10217":[1.25003,1.75,0,0,0.80556],"57344":[-0.00499,0.605,0,0,1.05556],"57345":[-0.00499,0.605,0,0,1.05556],"57680":[0,0.12,0,0,0.45],"57681":[0,0.12,0,0,0.45],"57682":[0,0.12,0,0,0.45],"57683":[0,0.12,0,0,0.45]},"Typewriter-Regular":{"32":[0,0,0,0,0.525],"33":[0,0.61111,0,0,0.525],"34":[0,0.61111,0,0,0.525],"35":[0,0.61111,0,0,0.525],"36":[0.08333,0.69444,0,0,0.525],"37":[0.08333,0.69444,0,0,0.525],"38":[0,0.61111,0,0,0.525],"39":[0,0.61111,0,0,0.525],"40":[0.08333,0.69444,0,0,0.525],"41":[0.08333,0.69444,0,0,0.525],"42":[0,0.52083,0,0,0.525],"43":[-0.08056,0.53055,0,0,0.525],"44":[0.13889,0.125,0,0,0.525],"45":[-0.08056,0.53055,0,0,0.525],"46":[0,0.125,0,0,0.525],"47":[0.08333,0.69444,0,0,0.525],"48":[0,0.61111,0,0,0.525],"49":[0,0.61111,0,0,0.525],"50":[0,0.61111,0,0,0.525],"51":[0,0.61111,0,0,0.525],"52":[0,0.61111,0,0,0.525],"53":[0,0.61111,0,0,0.525],"54":[0,0.61111,0,0,0.525],"55":[0,0.61111,0,0,0.525],"56":[0,0.61111,0,0,0.525],"57":[0,0.61111,0,0,0.525],"58":[0,0.43056,0,0,0.525],"59":[0.13889,0.43056,0,0,0.525],"60":[-0.05556,0.55556,0,0,0.525],"61":[-0.19549,0.41562,0,0,0.525],"62":[-0.05556,0.55556,0,0,0.525],"63":[0,0.61111,0,0,0.525],"64":[0,0.61111,0,0,0.525],"65":[0,0.61111,0,0,0.525],"66":[0,0.61111,0,0,0.525],"67":[0,0.61111,0,0,0.525],"68":[0,0.61111,0,0,0.525],"69":[0,0.61111,0,0,0.525],"70":[0,0.61111,0,0,0.525],"71":[0,0.61111,0,0,0.525],"72":[0,0.61111,0,0,0.525],"73":[0,0.61111,0,0,0.525],"74":[0,0.61111,0,0,0.525],"75":[0,0.61111,0,0,0.525],"76":[0,0.61111,0,0,0.525],"77":[0,0.61111,0,0,0.525],"78":[0,0.61111,0,0,0.525],"79":[0,0.61111,0,0,0.525],"80":[0,0.61111,0,0,0.525],"81":[0.13889,0.61111,0,0,0.525],"82":[0,0.61111,0,0,0.525],"83":[0,0.61111,0,0,0.525],"84":[0,0.61111,0,0,0.525],"85":[0,0.61111,0,0,0.525],"86":[0,0.61111,0,0,0.525],"87":[0,0.61111,0,0,0.525],"88":[0,0.61111,0,0,0.525],"89":[0,0.61111,0,0,0.525],"90":[0,0.61111,0,0,0.525],"91":[0.08333,0.69444,0,0,0.525],"92":[0.08333,0.69444,0,0,0.525],"93":[0.08333,0.69444,0,0,0.525],"94":[0,0.61111,0,0,0.525],"95":[0.09514,0,0,0,0.525],"96":[0,0.61111,0,0,0.525],"97":[0,0.43056,0,0,0.525],"98":[0,0.61111,0,0,0.525],"99":[0,0.43056,0,0,0.525],"100":[0,0.61111,0,0,0.525],"101":[0,0.43056,0,0,0.525],"102":[0,0.61111,0,0,0.525],"103":[0.22222,0.43056,0,0,0.525],"104":[0,0.61111,0,0,0.525],"105":[0,0.61111,0,0,0.525],"106":[0.22222,0.61111,0,0,0.525],"107":[0,0.61111,0,0,0.525],"108":[0,0.61111,0,0,0.525],"109":[0,0.43056,0,0,0.525],"110":[0,0.43056,0,0,0.525],"111":[0,0.43056,0,0,0.525],"112":[0.22222,0.43056,0,0,0.525],"113":[0.22222,0.43056,0,0,0.525],"114":[0,0.43056,0,0,0.525],"115":[0,0.43056,0,0,0.525],"116":[0,0.55358,0,0,0.525],"117":[0,0.43056,0,0,0.525],"118":[0,0.43056,0,0,0.525],"119":[0,0.43056,0,0,0.525],"120":[0,0.43056,0,0,0.525],"121":[0.22222,0.43056,0,0,0.525],"122":[0,0.43056,0,0,0.525],"123":[0.08333,0.69444,0,0,0.525],"124":[0.08333,0.69444,0,0,0.525],"125":[0.08333,0.69444,0,0,0.525],"126":[0,0.61111,0,0,0.525],"127":[0,0.61111,0,0,0.525],"160":[0,0,0,0,0.525],"176":[0,0.61111,0,0,0.525],"184":[0.19445,0,0,0,0.525],"305":[0,0.43056,0,0,0.525],"567":[0.22222,0.43056,0,0,0.525],"711":[0,0.56597,0,0,0.525],"713":[0,0.56555,0,0,0.525],"714":[0,0.61111,0,0,0.525],"715":[0,0.61111,0,0,0.525],"728":[0,0.61111,0,0,0.525],"730":[0,0.61111,0,0,0.525],"770":[0,0.61111,0,0,0.525],"771":[0,0.61111,0,0,0.525],"776":[0,0.61111,0,0,0.525],"915":[0,0.61111,0,0,0.525],"916":[0,0.61111,0,0,0.525],"920":[0,0.61111,0,0,0.525],"923":[0,0.61111,0,0,0.525],"926":[0,0.61111,0,0,0.525],"928":[0,0.61111,0,0,0.525],"931":[0,0.61111,0,0,0.525],"933":[0,0.61111,0,0,0.525],"934":[0,0.61111,0,0,0.525],"936":[0,0.61111,0,0,0.525],"937":[0,0.61111,0,0,0.525],"8216":[0,0.61111,0,0,0.525],"8217":[0,0.61111,0,0,0.525],"8242":[0,0.61111,0,0,0.525],"9251":[0.11111,0.21944,0,0,0.525]}},MX={slant:[0.25,0.25,0.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[0.431,0.431,0.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[0.677,0.732,0.925],num2:[0.394,0.384,0.387],num3:[0.444,0.471,0.504],denom1:[0.686,0.752,1.025],denom2:[0.345,0.344,0.532],sup1:[0.413,0.503,0.504],sup2:[0.363,0.431,0.404],sup3:[0.289,0.286,0.294],sub1:[0.15,0.143,0.2],sub2:[0.247,0.286,0.4],supDrop:[0.386,0.353,0.494],subDrop:[0.05,0.071,0.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[0.25,0.25,0.25],defaultRuleThickness:[0.04,0.049,0.049],bigOpSpacing1:[0.111,0.111,0.111],bigOpSpacing2:[0.166,0.166,0.166],bigOpSpacing3:[0.2,0.2,0.2],bigOpSpacing4:[0.6,0.611,0.611],bigOpSpacing5:[0.1,0.143,0.143],sqrtRuleThickness:[0.04,0.04,0.04],ptPerEm:[10,10,10],doubleRuleSep:[0.2,0.2,0.2],arrayRuleWidth:[0.04,0.04,0.04],fboxsep:[0.3,0.3,0.3],fboxrule:[0.04,0.04,0.04]},D6={"Å":"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 f5(Q,Z){O0[Q]=Z}function U7(Q,Z,J){if(!O0[Z])throw Error("Font metrics not found for font: "+Z+".");var X=Q.charCodeAt(0),Y=O0[Z][X];if(!Y&&Q[0]in D6)X=D6[Q[0]].charCodeAt(0),Y=O0[Z][X];if(!Y&&J==="text"){if(HF(X))Y=O0[Z][77]}if(Y)return{depth:Y[0],height:Y[1],italic:Y[2],skew:Y[3],width:Y[4]}}var QK={};function b5(Q){var Z;if(Q>=5)Z=0;else if(Q>=3)Z=1;else Z=2;if(!QK[Z]){var J=QK[Z]={cssEmPerMu:MX.quad[Z]/18};for(var X in MX)if(MX.hasOwnProperty(X))J[X]=MX[X][Z]}return QK[Z]}var iQ={math:{},text:{}};function W(Q,Z,J,X,Y,K){if(iQ[Q][Y]={font:Z,group:J,replace:X},K&&X)iQ[Q][X]=iQ[Q][Y]}var q="math",n="text",I="main",w="ams",nQ="accent-token",RQ="bin",NZ="close",zJ="inner",HQ="mathord",KZ="op-token",dZ="open",XX="punct",y="rel",i0="spacing",v="textord";W(q,I,y,"≡","\\equiv",!0);W(q,I,y,"≺","\\prec",!0);W(q,I,y,"≻","\\succ",!0);W(q,I,y,"∼","\\sim",!0);W(q,I,y,"⊥","\\perp");W(q,I,y,"⪯","\\preceq",!0);W(q,I,y,"⪰","\\succeq",!0);W(q,I,y,"≃","\\simeq",!0);W(q,I,y,"∣","\\mid",!0);W(q,I,y,"≪","\\ll",!0);W(q,I,y,"≫","\\gg",!0);W(q,I,y,"≍","\\asymp",!0);W(q,I,y,"∥","\\parallel");W(q,I,y,"⋈","\\bowtie",!0);W(q,I,y,"⌣","\\smile",!0);W(q,I,y,"⊑","\\sqsubseteq",!0);W(q,I,y,"⊒","\\sqsupseteq",!0);W(q,I,y,"≐","\\doteq",!0);W(q,I,y,"⌢","\\frown",!0);W(q,I,y,"∋","\\ni",!0);W(q,I,y,"∝","\\propto",!0);W(q,I,y,"⊢","\\vdash",!0);W(q,I,y,"⊣","\\dashv",!0);W(q,I,y,"∋","\\owns");W(q,I,XX,".","\\ldotp");W(q,I,XX,"⋅","\\cdotp");W(q,I,XX,"⋅","·");W(n,I,v,"⋅","·");W(q,I,v,"#","\\#");W(n,I,v,"#","\\#");W(q,I,v,"&","\\&");W(n,I,v,"&","\\&");W(q,I,v,"ℵ","\\aleph",!0);W(q,I,v,"∀","\\forall",!0);W(q,I,v,"ℏ","\\hbar",!0);W(q,I,v,"∃","\\exists",!0);W(q,I,v,"∇","\\nabla",!0);W(q,I,v,"♭","\\flat",!0);W(q,I,v,"ℓ","\\ell",!0);W(q,I,v,"♮","\\natural",!0);W(q,I,v,"♣","\\clubsuit",!0);W(q,I,v,"℘","\\wp",!0);W(q,I,v,"♯","\\sharp",!0);W(q,I,v,"♢","\\diamondsuit",!0);W(q,I,v,"ℜ","\\Re",!0);W(q,I,v,"♡","\\heartsuit",!0);W(q,I,v,"ℑ","\\Im",!0);W(q,I,v,"♠","\\spadesuit",!0);W(q,I,v,"§","\\S",!0);W(n,I,v,"§","\\S");W(q,I,v,"¶","\\P",!0);W(n,I,v,"¶","\\P");W(q,I,v,"†","\\dag");W(n,I,v,"†","\\dag");W(n,I,v,"†","\\textdagger");W(q,I,v,"‡","\\ddag");W(n,I,v,"‡","\\ddag");W(n,I,v,"‡","\\textdaggerdbl");W(q,I,NZ,"⎱","\\rmoustache",!0);W(q,I,dZ,"⎰","\\lmoustache",!0);W(q,I,NZ,"⟯","\\rgroup",!0);W(q,I,dZ,"⟮","\\lgroup",!0);W(q,I,RQ,"∓","\\mp",!0);W(q,I,RQ,"⊖","\\ominus",!0);W(q,I,RQ,"⊎","\\uplus",!0);W(q,I,RQ,"⊓","\\sqcap",!0);W(q,I,RQ,"∗","\\ast");W(q,I,RQ,"⊔","\\sqcup",!0);W(q,I,RQ,"◯","\\bigcirc",!0);W(q,I,RQ,"∙","\\bullet",!0);W(q,I,RQ,"‡","\\ddagger");W(q,I,RQ,"≀","\\wr",!0);W(q,I,RQ,"⨿","\\amalg");W(q,I,RQ,"&","\\And");W(q,I,y,"⟵","\\longleftarrow",!0);W(q,I,y,"⇐","\\Leftarrow",!0);W(q,I,y,"⟸","\\Longleftarrow",!0);W(q,I,y,"⟶","\\longrightarrow",!0);W(q,I,y,"⇒","\\Rightarrow",!0);W(q,I,y,"⟹","\\Longrightarrow",!0);W(q,I,y,"↔","\\leftrightarrow",!0);W(q,I,y,"⟷","\\longleftrightarrow",!0);W(q,I,y,"⇔","\\Leftrightarrow",!0);W(q,I,y,"⟺","\\Longleftrightarrow",!0);W(q,I,y,"↦","\\mapsto",!0);W(q,I,y,"⟼","\\longmapsto",!0);W(q,I,y,"↗","\\nearrow",!0);W(q,I,y,"↩","\\hookleftarrow",!0);W(q,I,y,"↪","\\hookrightarrow",!0);W(q,I,y,"↘","\\searrow",!0);W(q,I,y,"↼","\\leftharpoonup",!0);W(q,I,y,"⇀","\\rightharpoonup",!0);W(q,I,y,"↙","\\swarrow",!0);W(q,I,y,"↽","\\leftharpoondown",!0);W(q,I,y,"⇁","\\rightharpoondown",!0);W(q,I,y,"↖","\\nwarrow",!0);W(q,I,y,"⇌","\\rightleftharpoons",!0);W(q,w,y,"≮","\\nless",!0);W(q,w,y,"","\\@nleqslant");W(q,w,y,"","\\@nleqq");W(q,w,y,"⪇","\\lneq",!0);W(q,w,y,"≨","\\lneqq",!0);W(q,w,y,"","\\@lvertneqq");W(q,w,y,"⋦","\\lnsim",!0);W(q,w,y,"⪉","\\lnapprox",!0);W(q,w,y,"⊀","\\nprec",!0);W(q,w,y,"⋠","\\npreceq",!0);W(q,w,y,"⋨","\\precnsim",!0);W(q,w,y,"⪹","\\precnapprox",!0);W(q,w,y,"≁","\\nsim",!0);W(q,w,y,"","\\@nshortmid");W(q,w,y,"∤","\\nmid",!0);W(q,w,y,"⊬","\\nvdash",!0);W(q,w,y,"⊭","\\nvDash",!0);W(q,w,y,"⋪","\\ntriangleleft");W(q,w,y,"⋬","\\ntrianglelefteq",!0);W(q,w,y,"⊊","\\subsetneq",!0);W(q,w,y,"","\\@varsubsetneq");W(q,w,y,"⫋","\\subsetneqq",!0);W(q,w,y,"","\\@varsubsetneqq");W(q,w,y,"≯","\\ngtr",!0);W(q,w,y,"","\\@ngeqslant");W(q,w,y,"","\\@ngeqq");W(q,w,y,"⪈","\\gneq",!0);W(q,w,y,"≩","\\gneqq",!0);W(q,w,y,"","\\@gvertneqq");W(q,w,y,"⋧","\\gnsim",!0);W(q,w,y,"⪊","\\gnapprox",!0);W(q,w,y,"⊁","\\nsucc",!0);W(q,w,y,"⋡","\\nsucceq",!0);W(q,w,y,"⋩","\\succnsim",!0);W(q,w,y,"⪺","\\succnapprox",!0);W(q,w,y,"≆","\\ncong",!0);W(q,w,y,"","\\@nshortparallel");W(q,w,y,"∦","\\nparallel",!0);W(q,w,y,"⊯","\\nVDash",!0);W(q,w,y,"⋫","\\ntriangleright");W(q,w,y,"⋭","\\ntrianglerighteq",!0);W(q,w,y,"","\\@nsupseteqq");W(q,w,y,"⊋","\\supsetneq",!0);W(q,w,y,"","\\@varsupsetneq");W(q,w,y,"⫌","\\supsetneqq",!0);W(q,w,y,"","\\@varsupsetneqq");W(q,w,y,"⊮","\\nVdash",!0);W(q,w,y,"⪵","\\precneqq",!0);W(q,w,y,"⪶","\\succneqq",!0);W(q,w,y,"","\\@nsubseteqq");W(q,w,RQ,"⊴","\\unlhd");W(q,w,RQ,"⊵","\\unrhd");W(q,w,y,"↚","\\nleftarrow",!0);W(q,w,y,"↛","\\nrightarrow",!0);W(q,w,y,"⇍","\\nLeftarrow",!0);W(q,w,y,"⇏","\\nRightarrow",!0);W(q,w,y,"↮","\\nleftrightarrow",!0);W(q,w,y,"⇎","\\nLeftrightarrow",!0);W(q,w,y,"△","\\vartriangle");W(q,w,v,"ℏ","\\hslash");W(q,w,v,"▽","\\triangledown");W(q,w,v,"◊","\\lozenge");W(q,w,v,"Ⓢ","\\circledS");W(q,w,v,"®","\\circledR");W(n,w,v,"®","\\circledR");W(q,w,v,"∡","\\measuredangle",!0);W(q,w,v,"∄","\\nexists");W(q,w,v,"℧","\\mho");W(q,w,v,"Ⅎ","\\Finv",!0);W(q,w,v,"⅁","\\Game",!0);W(q,w,v,"‵","\\backprime");W(q,w,v,"▲","\\blacktriangle");W(q,w,v,"▼","\\blacktriangledown");W(q,w,v,"■","\\blacksquare");W(q,w,v,"⧫","\\blacklozenge");W(q,w,v,"★","\\bigstar");W(q,w,v,"∢","\\sphericalangle",!0);W(q,w,v,"∁","\\complement",!0);W(q,w,v,"ð","\\eth",!0);W(n,I,v,"ð","ð");W(q,w,v,"╱","\\diagup");W(q,w,v,"╲","\\diagdown");W(q,w,v,"□","\\square");W(q,w,v,"□","\\Box");W(q,w,v,"◊","\\Diamond");W(q,w,v,"¥","\\yen",!0);W(n,w,v,"¥","\\yen",!0);W(q,w,v,"✓","\\checkmark",!0);W(n,w,v,"✓","\\checkmark");W(q,w,v,"ℶ","\\beth",!0);W(q,w,v,"ℸ","\\daleth",!0);W(q,w,v,"ℷ","\\gimel",!0);W(q,w,v,"ϝ","\\digamma",!0);W(q,w,v,"ϰ","\\varkappa");W(q,w,dZ,"┌","\\@ulcorner",!0);W(q,w,NZ,"┐","\\@urcorner",!0);W(q,w,dZ,"└","\\@llcorner",!0);W(q,w,NZ,"┘","\\@lrcorner",!0);W(q,w,y,"≦","\\leqq",!0);W(q,w,y,"⩽","\\leqslant",!0);W(q,w,y,"⪕","\\eqslantless",!0);W(q,w,y,"≲","\\lesssim",!0);W(q,w,y,"⪅","\\lessapprox",!0);W(q,w,y,"≊","\\approxeq",!0);W(q,w,RQ,"⋖","\\lessdot");W(q,w,y,"⋘","\\lll",!0);W(q,w,y,"≶","\\lessgtr",!0);W(q,w,y,"⋚","\\lesseqgtr",!0);W(q,w,y,"⪋","\\lesseqqgtr",!0);W(q,w,y,"≑","\\doteqdot");W(q,w,y,"≓","\\risingdotseq",!0);W(q,w,y,"≒","\\fallingdotseq",!0);W(q,w,y,"∽","\\backsim",!0);W(q,w,y,"⋍","\\backsimeq",!0);W(q,w,y,"⫅","\\subseteqq",!0);W(q,w,y,"⋐","\\Subset",!0);W(q,w,y,"⊏","\\sqsubset",!0);W(q,w,y,"≼","\\preccurlyeq",!0);W(q,w,y,"⋞","\\curlyeqprec",!0);W(q,w,y,"≾","\\precsim",!0);W(q,w,y,"⪷","\\precapprox",!0);W(q,w,y,"⊲","\\vartriangleleft");W(q,w,y,"⊴","\\trianglelefteq");W(q,w,y,"⊨","\\vDash",!0);W(q,w,y,"⊪","\\Vvdash",!0);W(q,w,y,"⌣","\\smallsmile");W(q,w,y,"⌢","\\smallfrown");W(q,w,y,"≏","\\bumpeq",!0);W(q,w,y,"≎","\\Bumpeq",!0);W(q,w,y,"≧","\\geqq",!0);W(q,w,y,"⩾","\\geqslant",!0);W(q,w,y,"⪖","\\eqslantgtr",!0);W(q,w,y,"≳","\\gtrsim",!0);W(q,w,y,"⪆","\\gtrapprox",!0);W(q,w,RQ,"⋗","\\gtrdot");W(q,w,y,"⋙","\\ggg",!0);W(q,w,y,"≷","\\gtrless",!0);W(q,w,y,"⋛","\\gtreqless",!0);W(q,w,y,"⪌","\\gtreqqless",!0);W(q,w,y,"≖","\\eqcirc",!0);W(q,w,y,"≗","\\circeq",!0);W(q,w,y,"≜","\\triangleq",!0);W(q,w,y,"∼","\\thicksim");W(q,w,y,"≈","\\thickapprox");W(q,w,y,"⫆","\\supseteqq",!0);W(q,w,y,"⋑","\\Supset",!0);W(q,w,y,"⊐","\\sqsupset",!0);W(q,w,y,"≽","\\succcurlyeq",!0);W(q,w,y,"⋟","\\curlyeqsucc",!0);W(q,w,y,"≿","\\succsim",!0);W(q,w,y,"⪸","\\succapprox",!0);W(q,w,y,"⊳","\\vartriangleright");W(q,w,y,"⊵","\\trianglerighteq");W(q,w,y,"⊩","\\Vdash",!0);W(q,w,y,"∣","\\shortmid");W(q,w,y,"∥","\\shortparallel");W(q,w,y,"≬","\\between",!0);W(q,w,y,"⋔","\\pitchfork",!0);W(q,w,y,"∝","\\varpropto");W(q,w,y,"◀","\\blacktriangleleft");W(q,w,y,"∴","\\therefore",!0);W(q,w,y,"∍","\\backepsilon");W(q,w,y,"▶","\\blacktriangleright");W(q,w,y,"∵","\\because",!0);W(q,w,y,"⋘","\\llless");W(q,w,y,"⋙","\\gggtr");W(q,w,RQ,"⊲","\\lhd");W(q,w,RQ,"⊳","\\rhd");W(q,w,y,"≂","\\eqsim",!0);W(q,I,y,"⋈","\\Join");W(q,w,y,"≑","\\Doteq",!0);W(q,w,RQ,"∔","\\dotplus",!0);W(q,w,RQ,"∖","\\smallsetminus");W(q,w,RQ,"⋒","\\Cap",!0);W(q,w,RQ,"⋓","\\Cup",!0);W(q,w,RQ,"⩞","\\doublebarwedge",!0);W(q,w,RQ,"⊟","\\boxminus",!0);W(q,w,RQ,"⊞","\\boxplus",!0);W(q,w,RQ,"⋇","\\divideontimes",!0);W(q,w,RQ,"⋉","\\ltimes",!0);W(q,w,RQ,"⋊","\\rtimes",!0);W(q,w,RQ,"⋋","\\leftthreetimes",!0);W(q,w,RQ,"⋌","\\rightthreetimes",!0);W(q,w,RQ,"⋏","\\curlywedge",!0);W(q,w,RQ,"⋎","\\curlyvee",!0);W(q,w,RQ,"⊝","\\circleddash",!0);W(q,w,RQ,"⊛","\\circledast",!0);W(q,w,RQ,"⋅","\\centerdot");W(q,w,RQ,"⊺","\\intercal",!0);W(q,w,RQ,"⋒","\\doublecap");W(q,w,RQ,"⋓","\\doublecup");W(q,w,RQ,"⊠","\\boxtimes",!0);W(q,w,y,"⇢","\\dashrightarrow",!0);W(q,w,y,"⇠","\\dashleftarrow",!0);W(q,w,y,"⇇","\\leftleftarrows",!0);W(q,w,y,"⇆","\\leftrightarrows",!0);W(q,w,y,"⇚","\\Lleftarrow",!0);W(q,w,y,"↞","\\twoheadleftarrow",!0);W(q,w,y,"↢","\\leftarrowtail",!0);W(q,w,y,"↫","\\looparrowleft",!0);W(q,w,y,"⇋","\\leftrightharpoons",!0);W(q,w,y,"↶","\\curvearrowleft",!0);W(q,w,y,"↺","\\circlearrowleft",!0);W(q,w,y,"↰","\\Lsh",!0);W(q,w,y,"⇈","\\upuparrows",!0);W(q,w,y,"↿","\\upharpoonleft",!0);W(q,w,y,"⇃","\\downharpoonleft",!0);W(q,I,y,"⊶","\\origof",!0);W(q,I,y,"⊷","\\imageof",!0);W(q,w,y,"⊸","\\multimap",!0);W(q,w,y,"↭","\\leftrightsquigarrow",!0);W(q,w,y,"⇉","\\rightrightarrows",!0);W(q,w,y,"⇄","\\rightleftarrows",!0);W(q,w,y,"↠","\\twoheadrightarrow",!0);W(q,w,y,"↣","\\rightarrowtail",!0);W(q,w,y,"↬","\\looparrowright",!0);W(q,w,y,"↷","\\curvearrowright",!0);W(q,w,y,"↻","\\circlearrowright",!0);W(q,w,y,"↱","\\Rsh",!0);W(q,w,y,"⇊","\\downdownarrows",!0);W(q,w,y,"↾","\\upharpoonright",!0);W(q,w,y,"⇂","\\downharpoonright",!0);W(q,w,y,"⇝","\\rightsquigarrow",!0);W(q,w,y,"⇝","\\leadsto");W(q,w,y,"⇛","\\Rrightarrow",!0);W(q,w,y,"↾","\\restriction");W(q,I,v,"‘","`");W(q,I,v,"$","\\$");W(n,I,v,"$","\\$");W(n,I,v,"$","\\textdollar");W(q,I,v,"%","\\%");W(n,I,v,"%","\\%");W(q,I,v,"_","\\_");W(n,I,v,"_","\\_");W(n,I,v,"_","\\textunderscore");W(q,I,v,"∠","\\angle",!0);W(q,I,v,"∞","\\infty",!0);W(q,I,v,"′","\\prime");W(q,I,v,"△","\\triangle");W(q,I,v,"Γ","\\Gamma",!0);W(q,I,v,"Δ","\\Delta",!0);W(q,I,v,"Θ","\\Theta",!0);W(q,I,v,"Λ","\\Lambda",!0);W(q,I,v,"Ξ","\\Xi",!0);W(q,I,v,"Π","\\Pi",!0);W(q,I,v,"Σ","\\Sigma",!0);W(q,I,v,"Υ","\\Upsilon",!0);W(q,I,v,"Φ","\\Phi",!0);W(q,I,v,"Ψ","\\Psi",!0);W(q,I,v,"Ω","\\Omega",!0);W(q,I,v,"A","Α");W(q,I,v,"B","Β");W(q,I,v,"E","Ε");W(q,I,v,"Z","Ζ");W(q,I,v,"H","Η");W(q,I,v,"I","Ι");W(q,I,v,"K","Κ");W(q,I,v,"M","Μ");W(q,I,v,"N","Ν");W(q,I,v,"O","Ο");W(q,I,v,"P","Ρ");W(q,I,v,"T","Τ");W(q,I,v,"X","Χ");W(q,I,v,"¬","\\neg",!0);W(q,I,v,"¬","\\lnot");W(q,I,v,"⊤","\\top");W(q,I,v,"⊥","\\bot");W(q,I,v,"∅","\\emptyset");W(q,w,v,"∅","\\varnothing");W(q,I,HQ,"α","\\alpha",!0);W(q,I,HQ,"β","\\beta",!0);W(q,I,HQ,"γ","\\gamma",!0);W(q,I,HQ,"δ","\\delta",!0);W(q,I,HQ,"ϵ","\\epsilon",!0);W(q,I,HQ,"ζ","\\zeta",!0);W(q,I,HQ,"η","\\eta",!0);W(q,I,HQ,"θ","\\theta",!0);W(q,I,HQ,"ι","\\iota",!0);W(q,I,HQ,"κ","\\kappa",!0);W(q,I,HQ,"λ","\\lambda",!0);W(q,I,HQ,"μ","\\mu",!0);W(q,I,HQ,"ν","\\nu",!0);W(q,I,HQ,"ξ","\\xi",!0);W(q,I,HQ,"ο","\\omicron",!0);W(q,I,HQ,"π","\\pi",!0);W(q,I,HQ,"ρ","\\rho",!0);W(q,I,HQ,"σ","\\sigma",!0);W(q,I,HQ,"τ","\\tau",!0);W(q,I,HQ,"υ","\\upsilon",!0);W(q,I,HQ,"ϕ","\\phi",!0);W(q,I,HQ,"χ","\\chi",!0);W(q,I,HQ,"ψ","\\psi",!0);W(q,I,HQ,"ω","\\omega",!0);W(q,I,HQ,"ε","\\varepsilon",!0);W(q,I,HQ,"ϑ","\\vartheta",!0);W(q,I,HQ,"ϖ","\\varpi",!0);W(q,I,HQ,"ϱ","\\varrho",!0);W(q,I,HQ,"ς","\\varsigma",!0);W(q,I,HQ,"φ","\\varphi",!0);W(q,I,RQ,"∗","*",!0);W(q,I,RQ,"+","+");W(q,I,RQ,"−","-",!0);W(q,I,RQ,"⋅","\\cdot",!0);W(q,I,RQ,"∘","\\circ",!0);W(q,I,RQ,"÷","\\div",!0);W(q,I,RQ,"±","\\pm",!0);W(q,I,RQ,"×","\\times",!0);W(q,I,RQ,"∩","\\cap",!0);W(q,I,RQ,"∪","\\cup",!0);W(q,I,RQ,"∖","\\setminus",!0);W(q,I,RQ,"∧","\\land");W(q,I,RQ,"∨","\\lor");W(q,I,RQ,"∧","\\wedge",!0);W(q,I,RQ,"∨","\\vee",!0);W(q,I,v,"√","\\surd");W(q,I,dZ,"⟨","\\langle",!0);W(q,I,dZ,"∣","\\lvert");W(q,I,dZ,"∥","\\lVert");W(q,I,NZ,"?","?");W(q,I,NZ,"!","!");W(q,I,NZ,"⟩","\\rangle",!0);W(q,I,NZ,"∣","\\rvert");W(q,I,NZ,"∥","\\rVert");W(q,I,y,"=","=");W(q,I,y,":",":");W(q,I,y,"≈","\\approx",!0);W(q,I,y,"≅","\\cong",!0);W(q,I,y,"≥","\\ge");W(q,I,y,"≥","\\geq",!0);W(q,I,y,"←","\\gets");W(q,I,y,">","\\gt",!0);W(q,I,y,"∈","\\in",!0);W(q,I,y,"","\\@not");W(q,I,y,"⊂","\\subset",!0);W(q,I,y,"⊃","\\supset",!0);W(q,I,y,"⊆","\\subseteq",!0);W(q,I,y,"⊇","\\supseteq",!0);W(q,w,y,"⊈","\\nsubseteq",!0);W(q,w,y,"⊉","\\nsupseteq",!0);W(q,I,y,"⊨","\\models");W(q,I,y,"←","\\leftarrow",!0);W(q,I,y,"≤","\\le");W(q,I,y,"≤","\\leq",!0);W(q,I,y,"<","\\lt",!0);W(q,I,y,"→","\\rightarrow",!0);W(q,I,y,"→","\\to");W(q,w,y,"≱","\\ngeq",!0);W(q,w,y,"≰","\\nleq",!0);W(q,I,i0," ","\\ ");W(q,I,i0," ","\\space");W(q,I,i0," ","\\nobreakspace");W(n,I,i0," ","\\ ");W(n,I,i0," "," ");W(n,I,i0," ","\\space");W(n,I,i0," ","\\nobreakspace");W(q,I,i0,"","\\nobreak");W(q,I,i0,"","\\allowbreak");W(q,I,XX,",",",");W(q,I,XX,";",";");W(q,w,RQ,"⊼","\\barwedge",!0);W(q,w,RQ,"⊻","\\veebar",!0);W(q,I,RQ,"⊙","\\odot",!0);W(q,I,RQ,"⊕","\\oplus",!0);W(q,I,RQ,"⊗","\\otimes",!0);W(q,I,v,"∂","\\partial",!0);W(q,I,RQ,"⊘","\\oslash",!0);W(q,w,RQ,"⊚","\\circledcirc",!0);W(q,w,RQ,"⊡","\\boxdot",!0);W(q,I,RQ,"△","\\bigtriangleup");W(q,I,RQ,"▽","\\bigtriangledown");W(q,I,RQ,"†","\\dagger");W(q,I,RQ,"⋄","\\diamond");W(q,I,RQ,"⋆","\\star");W(q,I,RQ,"◃","\\triangleleft");W(q,I,RQ,"▹","\\triangleright");W(q,I,dZ,"{","\\{");W(n,I,v,"{","\\{");W(n,I,v,"{","\\textbraceleft");W(q,I,NZ,"}","\\}");W(n,I,v,"}","\\}");W(n,I,v,"}","\\textbraceright");W(q,I,dZ,"{","\\lbrace");W(q,I,NZ,"}","\\rbrace");W(q,I,dZ,"[","\\lbrack",!0);W(n,I,v,"[","\\lbrack",!0);W(q,I,NZ,"]","\\rbrack",!0);W(n,I,v,"]","\\rbrack",!0);W(q,I,dZ,"(","\\lparen",!0);W(q,I,NZ,")","\\rparen",!0);W(n,I,v,"<","\\textless",!0);W(n,I,v,">","\\textgreater",!0);W(q,I,dZ,"⌊","\\lfloor",!0);W(q,I,NZ,"⌋","\\rfloor",!0);W(q,I,dZ,"⌈","\\lceil",!0);W(q,I,NZ,"⌉","\\rceil",!0);W(q,I,v,"\\","\\backslash");W(q,I,v,"∣","|");W(q,I,v,"∣","\\vert");W(n,I,v,"|","\\textbar",!0);W(q,I,v,"∥","\\|");W(q,I,v,"∥","\\Vert");W(n,I,v,"∥","\\textbardbl");W(n,I,v,"~","\\textasciitilde");W(n,I,v,"\\","\\textbackslash");W(n,I,v,"^","\\textasciicircum");W(q,I,y,"↑","\\uparrow",!0);W(q,I,y,"⇑","\\Uparrow",!0);W(q,I,y,"↓","\\downarrow",!0);W(q,I,y,"⇓","\\Downarrow",!0);W(q,I,y,"↕","\\updownarrow",!0);W(q,I,y,"⇕","\\Updownarrow",!0);W(q,I,KZ,"∐","\\coprod");W(q,I,KZ,"⋁","\\bigvee");W(q,I,KZ,"⋀","\\bigwedge");W(q,I,KZ,"⨄","\\biguplus");W(q,I,KZ,"⋂","\\bigcap");W(q,I,KZ,"⋃","\\bigcup");W(q,I,KZ,"∫","\\int");W(q,I,KZ,"∫","\\intop");W(q,I,KZ,"∬","\\iint");W(q,I,KZ,"∭","\\iiint");W(q,I,KZ,"∏","\\prod");W(q,I,KZ,"∑","\\sum");W(q,I,KZ,"⨂","\\bigotimes");W(q,I,KZ,"⨁","\\bigoplus");W(q,I,KZ,"⨀","\\bigodot");W(q,I,KZ,"∮","\\oint");W(q,I,KZ,"∯","\\oiint");W(q,I,KZ,"∰","\\oiiint");W(q,I,KZ,"⨆","\\bigsqcup");W(q,I,KZ,"∫","\\smallint");W(n,I,zJ,"…","\\textellipsis");W(q,I,zJ,"…","\\mathellipsis");W(n,I,zJ,"…","\\ldots",!0);W(q,I,zJ,"…","\\ldots",!0);W(q,I,zJ,"⋯","\\@cdots",!0);W(q,I,zJ,"⋱","\\ddots",!0);W(q,I,v,"⋮","\\varvdots");W(n,I,v,"⋮","\\varvdots");W(q,I,nQ,"ˊ","\\acute");W(q,I,nQ,"ˋ","\\grave");W(q,I,nQ,"¨","\\ddot");W(q,I,nQ,"~","\\tilde");W(q,I,nQ,"ˉ","\\bar");W(q,I,nQ,"˘","\\breve");W(q,I,nQ,"ˇ","\\check");W(q,I,nQ,"^","\\hat");W(q,I,nQ,"⃗","\\vec");W(q,I,nQ,"˙","\\dot");W(q,I,nQ,"˚","\\mathring");W(q,I,HQ,"","\\@imath");W(q,I,HQ,"","\\@jmath");W(q,I,v,"ı","ı");W(q,I,v,"ȷ","ȷ");W(n,I,v,"ı","\\i",!0);W(n,I,v,"ȷ","\\j",!0);W(n,I,v,"ß","\\ss",!0);W(n,I,v,"æ","\\ae",!0);W(n,I,v,"œ","\\oe",!0);W(n,I,v,"ø","\\o",!0);W(n,I,v,"Æ","\\AE",!0);W(n,I,v,"Œ","\\OE",!0);W(n,I,v,"Ø","\\O",!0);W(n,I,nQ,"ˊ","\\'");W(n,I,nQ,"ˋ","\\`");W(n,I,nQ,"ˆ","\\^");W(n,I,nQ,"˜","\\~");W(n,I,nQ,"ˉ","\\=");W(n,I,nQ,"˘","\\u");W(n,I,nQ,"˙","\\.");W(n,I,nQ,"¸","\\c");W(n,I,nQ,"˚","\\r");W(n,I,nQ,"ˇ","\\v");W(n,I,nQ,"¨","\\\"");W(n,I,nQ,"˝","\\H");W(n,I,nQ,"◯","\\textcircled");var PF={"--":!0,"---":!0,"``":!0,"''":!0};W(n,I,v,"–","--",!0);W(n,I,v,"–","\\textendash");W(n,I,v,"—","---",!0);W(n,I,v,"—","\\textemdash");W(n,I,v,"‘","`",!0);W(n,I,v,"‘","\\textquoteleft");W(n,I,v,"’","'",!0);W(n,I,v,"’","\\textquoteright");W(n,I,v,"“","``",!0);W(n,I,v,"“","\\textquotedblleft");W(n,I,v,"”","''",!0);W(n,I,v,"”","\\textquotedblright");W(q,I,v,"°","\\degree",!0);W(n,I,v,"°","\\degree");W(n,I,v,"°","\\textdegree",!0);W(q,I,v,"£","\\pounds");W(q,I,v,"£","\\mathsterling",!0);W(n,I,v,"£","\\pounds");W(n,I,v,"£","\\textsterling",!0);W(q,w,v,"✠","\\maltese");W(n,w,v,"✠","\\maltese");var O6='0123456789/@."';for(PX=0;PX{var Z=Q.charCodeAt(0),J=Q.charCodeAt(1),X=(Z-55296)*1024+(J-56320)+65536;if(119808<=X&&X<120484){var Y=Math.floor((X-119808)/26);return k6[Y]}else if(120782<=X&&X<=120831){var K=Math.floor((X-120782)/10);return $5[K]}else if(X===120485||X===120486)return k6[0];else if(120486{if(U9(Q.classes)!==U9(Z.classes)||Q.skew!==Z.skew||Q.maxFontSize!==Z.maxFontSize||Q.italic!==0&&Q.hasClass("mathnormal"))return!1;if(Q.classes.length===1){var J=Q.classes[0];if(J==="mbin"||J==="mord")return!1}for(var X of Object.keys(Q.style))if(Q.style[X]!==Z.style[X])return!1;for(var Y of Object.keys(Z.style))if(Q.style[Y]!==Z.style[Y])return!1;return!0},TF=(Q)=>{for(var Z=0;ZJ)J=j.height;if(j.depth>X)X=j.depth;if(j.maxFontSize>Y)Y=j.maxFontSize}Z.height=J,Z.depth=X,Z.maxFontSize=Y},s=function(Z,J,X,Y){var K=new u9(Z,J,X,Y);return R7(K),K},F9=(Q,Z,J,X)=>new u9(Q,Z,J,X),FJ=function(Z,J,X){var Y=s([Z],[],J);return Y.height=Math.max(X||J.fontMetrics().defaultRuleThickness,J.minRuleThickness),Y.style.borderBottomWidth=YQ(Y.height),Y.maxFontSize=1,Y},c5=function(Z,J,X,Y){var K=new JX(Z,J,X,Y);return R7(K),K},n0=function(Z){var J=new c9(Z);return R7(J),J},RJ=function(Z,J){if(Z instanceof c9)return s([],[Z],J);return Z},u5=function(Z){if(Z.positionType==="individualShift"){var J=Z.children,X=[J[0]],Y=-J[0].shift-J[0].elem.depth,K=Y;for(var j=1;j{var J=s(["mspace"],[],Z),X=oQ(Q,Z);return J.style.marginRight=YQ(X),J},NX=(Q,Z,J)=>{var X,Y;switch(Q){case"amsrm":X="AMS";break;case"textrm":X="Main";break;case"textsf":X="SansSerif";break;case"texttt":X="Typewriter";break;default:X=Q}if(Z==="textbf"&&J==="textit")Y="BoldItalic";else if(Z==="textbf")Y="Bold";else if(J==="textit")Y="Italic";else Y="Regular";return X+"-"+Y},Z8={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"}},SF={vec:["vec",0.471,0.714],oiintSize1:["oiintSize1",0.957,0.499],oiintSize2:["oiintSize2",1.472,0.659],oiiintSize1:["oiiintSize1",1.304,0.499],oiiintSize2:["oiiintSize2",1.98,0.659]},NF=function(Z,J){var[X,Y,K]=SF[Z],j=new l0(X),U=new T0([j],{width:YQ(Y),height:YQ(K),style:"width:"+YQ(Y),viewBox:"0 0 "+1000*Y+" "+1000*K,preserveAspectRatio:"xMinYMin"}),F=F9(["overlay"],[U],J);return F.height=K,F.style.height=YQ(K),F.style.width=YQ(Y),F},tQ={number:3,unit:"mu"},E9={number:4,unit:"mu"},_0={number:5,unit:"mu"},d5={mord:{mop:tQ,mbin:E9,mrel:_0,minner:tQ},mop:{mord:tQ,mop:tQ,mrel:_0,minner:tQ},mbin:{mord:E9,mop:E9,mopen:E9,minner:E9},mrel:{mord:_0,mop:_0,mopen:_0,minner:_0},mopen:{},mclose:{mop:tQ,mbin:E9,mrel:_0,minner:tQ},mpunct:{mord:tQ,mop:tQ,mrel:_0,mopen:tQ,mclose:tQ,mpunct:tQ,minner:tQ},minner:{mord:tQ,mop:tQ,mbin:E9,mrel:_0,mopen:tQ,mpunct:tQ,minner:tQ}},l5={mord:{mop:tQ},mop:{mord:tQ,mop:tQ},mbin:{},mrel:{},mopen:{},mclose:{mop:tQ},mpunct:{},minner:{mop:tQ}},wF={},pJ={},aJ={};function FQ(Q){var{type:Z,names:J,htmlBuilder:X,mathmlBuilder:Y}=Q;for(var K=0;K{var V=H.classes[0],O=D.classes[0];if(V==="mbin"&&a5.has(O))H.classes[0]="mord";else if(O==="mbin"&&p5.has(V))D.classes[0]="mord"},{node:z},L,E),J8(K,(D,H)=>{var V,O,S=Y8(H),P=Y8(D),T=S&&P?D.hasClass("mtight")?(V=l5[S])==null?void 0:V[P]:(O=d5[S])==null?void 0:O[P]:null;if(T)return CF(T,A)},{node:z},L,E),K},J8=function(Z,J,X,Y,K){if(Y)Z.push(Y);var j=0;for(;j(L)=>{Z.splice(z+1,0,L),j++})(j)}if(Y)Z.pop()},kF=function(Z){if(Z instanceof c9||Z instanceof JX||Z instanceof u9&&Z.hasClass("enclosing"))return Z;return null},X8=function(Z,J){var X=kF(Z);if(X){var Y=X.children;if(Y.length){if(J==="right")return X8(Y[Y.length-1],"right");else if(J==="left")return X8(Y[0],"left")}}return Z},Y8=function(Z,J){if(!Z)return null;if(J)Z=X8(Z,J);var X=Z.classes[0];return n5[X]||null},iJ=function(Z,J){var X=["nulldelimiter"].concat(Z.baseSizingClasses());return s(J.concat(X))},hQ=function(Z,J,X){if(!Z)return s();if(pJ[Z.type]){var Y=pJ[Z.type](Z,J);if(X&&J.size!==X.size){Y=s(J.sizingClasses(X),[Y],J);var K=J.sizeMultiplier/X.sizeMultiplier;Y.height*=K,Y.depth*=K}return Y}else throw new ZQ("Got group of unknown type: '"+Z.type+"'")};function wX(Q,Z){var J=s(["base"],Q,Z),X=s(["strut"]);if(X.style.height=YQ(J.height+J.depth),J.depth)X.style.verticalAlign=YQ(-J.depth);return J.children.unshift(X),J}function K8(Q,Z){var J=null;if(Q.length===1&&Q[0].type==="tag")J=Q[0].tag,Q=Q[0].body;var X=AZ(Q,Z,"root"),Y;if(X.length===2&&X[1].hasClass("tag"))Y=X.pop();var K=[],j=[];for(var U=0;U0)K.push(wX(j,Z)),j=[];K.push(X[U])}if(j.length>0)K.push(wX(j,Z));var A;if(J)A=wX(AZ(J,Z,!0),Z),A.classes=["tag"],K.push(A);else if(Y)K.push(Y);var G=s(["katex-html"],K);if(G.setAttribute("aria-hidden","true"),A){var z=A.children[0];if(z.style.height=YQ(G.height+G.depth),G.depth)z.style.verticalAlign=YQ(-G.depth)}return G}function yF(Q){return new c9(Q)}class QQ{constructor(Q,Z,J){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=Q,this.attributes={},this.children=Z||[],this.classes=J||[]}setAttribute(Q,Z){this.attributes[Q]=Z}getAttribute(Q){return this.attributes[Q]}toNode(){var Q=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var Z in this.attributes)if(Object.prototype.hasOwnProperty.call(this.attributes,Z))Q.setAttribute(Z,this.attributes[Z]);if(this.classes.length>0)Q.className=U9(this.classes);for(var J=0;J0)Q+=' class ="'+OZ(U9(this.classes))+'"';Q+=">";for(var J=0;J",Q}toText(){return this.children.map((Q)=>Q.toText()).join("")}}class ZZ{constructor(Q){this.text=void 0,this.text=Q}toNode(){return document.createTextNode(this.text)}toMarkup(){return OZ(this.toText())}toText(){return this.text}}class A7{constructor(Q){if(this.width=void 0,this.character=void 0,this.width=Q,Q>=0.05555&&Q<=0.05556)this.character=" ";else if(Q>=0.1666&&Q<=0.1667)this.character=" ";else if(Q>=0.2222&&Q<=0.2223)this.character=" ";else if(Q>=0.2777&&Q<=0.2778)this.character="  ";else if(Q>=-0.05556&&Q<=-0.05555)this.character=" ⁣";else if(Q>=-0.1667&&Q<=-0.1666)this.character=" ⁣";else if(Q>=-0.2223&&Q<=-0.2222)this.character=" ⁣";else if(Q>=-0.2778&&Q<=-0.2777)this.character=" ⁣";else this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);else{var Q=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return Q.setAttribute("width",YQ(this.width)),Q}}toMarkup(){if(this.character)return""+this.character+"";else return''}toText(){if(this.character)return this.character;else return" "}}var s5=new Set(["\\imath","\\jmath"]),r5=new Set(["mrow","mtable"]),X0=function(Z,J,X){if(iQ[J][Z]&&iQ[J][Z].replace&&Z.charCodeAt(0)!==55349&&!(PF.hasOwnProperty(Z)&&X&&(X.fontFamily&&X.fontFamily.slice(4,6)==="tt"||X.font&&X.font.slice(4,6)==="tt")))Z=iQ[J][Z].replace;return new ZZ(Z)},W7=function(Z){if(Z.length===1)return Z[0];else return new QQ("mrow",Z)},t5={mathit:"italic",boldsymbol:(Q)=>Q.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"},q7=(Q,Z)=>{if(Q.mode==="text"){if(Z.fontFamily==="texttt")return"monospace";else if(Z.fontFamily==="textsf")if(Z.fontShape==="textit"&&Z.fontWeight==="textbf")return"sans-serif-bold-italic";else if(Z.fontShape==="textit")return"sans-serif-italic";else if(Z.fontWeight==="textbf")return"bold-sans-serif";else return"sans-serif";else if(Z.fontShape==="textit"&&Z.fontWeight==="textbf")return"bold-italic";else if(Z.fontShape==="textit")return"italic";else if(Z.fontWeight==="textbf")return"bold"}var J=Z.font;if(!J||J==="mathnormal")return null;var X=Q.mode,Y=t5[J];if(Y)return typeof Y==="function"?Y(Q):Y;var K=Q.text;if(s5.has(K))return null;if(iQ[X][K]){var j=iQ[X][K].replace;if(j)K=j}var U=Z8[J].fontName;if(U7(K,U,X))return Z8[J].variant;return null};function XK(Q){if(!Q)return!1;if(Q.type==="mi"&&Q.children.length===1){var Z=Q.children[0];return Z instanceof ZZ&&Z.text==="."}else if(Q.type==="mo"&&Q.children.length===1&&Q.getAttribute("separator")==="true"&&Q.getAttribute("lspace")==="0em"&&Q.getAttribute("rspace")==="0em"){var J=Q.children[0];return J instanceof ZZ&&J.text===","}else return!1}var lZ=function(Z,J,X){if(Z.length===1){var Y=uQ(Z[0],J);if(X&&Y instanceof QQ&&Y.type==="mo")Y.setAttribute("lspace","0em"),Y.setAttribute("rspace","0em");return[Y]}var K=[],j;for(var U=0;U=1&&(j.type==="mn"||XK(j))){var A=F.children[0];if(A instanceof QQ&&A.type==="mn")A.children=[...j.children,...A.children],K.pop()}else if(j.type==="mi"&&j.children.length===1){var G=j.children[0];if(G instanceof ZZ&&G.text==="̸"&&(F.type==="mo"||F.type==="mi"||F.type==="mn")){var z=F.children[0];if(z instanceof ZZ&&z.text.length>0)z.text=z.text.slice(0,1)+"̸"+z.text.slice(1),K.pop()}}}K.push(F),j=F}return K},R9=function(Z,J,X){return W7(lZ(Z,J,X))},uQ=function(Z,J){if(!Z)return new QQ("mrow");if(aJ[Z.type])return aJ[Z.type](Z,J);else throw new ZQ("Got group of unknown type: '"+Z.type+"'")};function y6(Q,Z,J,X,Y){var K=lZ(Q,J),j;if(K.length===1&&K[0]instanceof QQ&&r5.has(K[0].type))j=K[0];else j=new QQ("mrow",K);var U=new QQ("annotation",[new ZZ(Z)]);U.setAttribute("encoding","application/x-tex");var F=new QQ("semantics",[j,U]),A=new QQ("math",[F]);if(A.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),X)A.setAttribute("display","block");var G=Y?"katex":"katex-mathml";return s([G],[A])}var o5=[[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]],_6=[0.5,0.6,0.7,0.8,0.9,1,1.2,1.44,1.728,2.074,2.488],v6=function(Z,J){return J.size<2?Z:o5[Z-1][J.size-1]};class b0{constructor(Q){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=Q.style,this.color=Q.color,this.size=Q.size||b0.BASESIZE,this.textSize=Q.textSize||this.size,this.phantom=!!Q.phantom,this.font=Q.font||"",this.fontFamily=Q.fontFamily||"",this.fontWeight=Q.fontWeight||"",this.fontShape=Q.fontShape||"",this.sizeMultiplier=_6[this.size-1],this.maxSize=Q.maxSize,this.minRuleThickness=Q.minRuleThickness,this._fontMetrics=void 0}extend(Q){var Z={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(Z,Q),new b0(Z)}havingStyle(Q){if(this.style===Q)return this;else return this.extend({style:Q,size:v6(this.textSize,Q)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(Q){if(this.size===Q&&this.textSize===Q)return this;else return this.extend({style:this.style.text(),size:Q,textSize:Q,sizeMultiplier:_6[Q-1]})}havingBaseStyle(Q){Q=Q||this.style.text();var Z=v6(b0.BASESIZE,Q);if(this.size===Z&&this.textSize===b0.BASESIZE&&this.style===Q)return this;else return this.extend({style:Q,size:Z})}havingBaseSizing(){var Q;switch(this.style.id){case 4:case 5:Q=3;break;case 6:case 7:Q=1;break;default:Q=6}return this.extend({style:this.style.text(),size:Q})}withColor(Q){return this.extend({color:Q})}withPhantom(){return this.extend({phantom:!0})}withFont(Q){return this.extend({font:Q})}withTextFontFamily(Q){return this.extend({fontFamily:Q,font:""})}withTextFontWeight(Q){return this.extend({fontWeight:Q,font:""})}withTextFontShape(Q){return this.extend({fontShape:Q,font:""})}sizingClasses(Q){if(Q.size!==this.size)return["sizing","reset-size"+Q.size,"size"+this.size];else return[]}baseSizingClasses(){if(this.size!==b0.BASESIZE)return["sizing","reset-size"+this.size,"size"+b0.BASESIZE];else return[]}fontMetrics(){if(!this._fontMetrics)this._fontMetrics=b5(this.size);return this._fontMetrics}getColor(){if(this.phantom)return"transparent";else return this.color}}b0.BASESIZE=6;var _F=function(Z){return new b0({style:Z.displayMode?DQ.DISPLAY:DQ.TEXT,maxSize:Z.maxSize,minRuleThickness:Z.minRuleThickness})},vF=function(Z,J){if(J.displayMode){var X=["katex-display"];if(J.leqno)X.push("leqno");if(J.fleqn)X.push("fleqn");Z=s(X,[Z])}return Z},e5=function(Z,J,X){var Y=_F(X),K;if(X.output==="mathml")return y6(Z,J,Y,X.displayMode,!0);else if(X.output==="html"){var j=K8(Z,Y);K=s(["katex"],[j])}else{var U=y6(Z,J,Y,X.displayMode,!1),F=K8(Z,Y);K=s(["katex"],[U,F])}return vF(K,X)},Q4=function(Z,J,X){var Y=_F(X),K=K8(Z,Y),j=s(["katex"],[K]);return vF(j,X)},Z4={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":"="},MY=function(Z){var J=new QQ("mo",[new ZZ(Z4[Z.replace(/^\\/,"")])]);return J.setAttribute("stretchy","true"),J},J4={overrightarrow:[["rightarrow"],0.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],0.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],0.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],0.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"],0.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],0.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],0.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],0.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],0.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],0.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],0.888,522,"xMaxYMin"],xlongequal:[["longequal"],0.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],0.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],0.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],0.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],0.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"],0.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],0.888,522],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],overgroup:[["leftgroup","rightgroup"],0.888,342],undergroup:[["leftgroupunder","rightgroupunder"],0.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]},X4=new Set(["widehat","widecheck","widetilde","utilde"]),PY=function(Z,J){function X(){var U=400000,F=Z.label.slice(1);if(X4.has(F)&&"base"in Z){var A=Z.base.type==="ordgroup"?Z.base.body.length:1,G,z,L;if(A>5)if(F==="widehat"||F==="widecheck")G=420,U=2364,L=0.42,z=F+"4";else G=312,U=2340,L=0.34,z="tilde4";else{var E=[1,1,2,2,3,3][A];if(F==="widehat"||F==="widecheck")U=[0,1062,2364,2364,2364][E],G=[0,239,300,360,420][E],L=[0,0.24,0.3,0.3,0.36,0.42][E],z=F+E;else U=[0,600,1033,2339,2340][E],G=[0,260,286,306,312][E],L=[0,0.26,0.286,0.3,0.306,0.34][E],z="tilde"+E}var D=new l0(z),H=new T0([D],{width:"100%",height:YQ(L),viewBox:"0 0 "+U+" "+G,preserveAspectRatio:"none"});return{span:F9([],[H],J),minWidth:0,height:L}}else{var V=[],O=J4[F];if(!O)throw Error('No SVG data for "'+F+'".');var[S,P,T]=O,k=T/1000,M=S.length,C,N;if(M===1){if(O.length!==4)throw Error('Expected 4-tuple for single-path SVG data "'+F+'".');C=["hide-tail"],N=[O[3]]}else if(M===2)C=["halfarrow-left","halfarrow-right"],N=["xMinYMin","xMaxYMin"];else if(M===3)C=["brace-left","brace-center","brace-right"],N=["xMinYMin","xMidYMin","xMaxYMin"];else throw Error(`Correct katexImagesData or update code here to support - `+M+" children.");for(var _=0;_0)Y.style.minWidth=YQ(K);return Y},Y4=function(Z,J,X,Y,K){var j,U=Z.height+Z.depth+X+Y;if(/fbox|color|angl/.test(J)){if(j=s(["stretchy",J],[],K),J==="fbox"){var F=K.color&&K.getColor();if(F)j.style.borderColor=F}}else{var A=[];if(/^[bx]cancel$/.test(J))A.push(new UY({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"}));if(/^x?cancel$/.test(J))A.push(new UY({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var G=new T0(A,{width:"100%",height:YQ(U)});j=F9([],[G],K)}return j.height=U,j.style.height=YQ(U),j},K4={bin:1,close:1,inner:1,open:1,punct:1,rel:1},j4={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1};function U4(Q){return Q in K4}function CQ(Q,Z){if(!Q||Q.type!==Z)throw Error("Expected node of type "+Z+", but got "+(Q?"node of type "+Q.type:String(Q)));return Q}function TY(Q){var Z=CY(Q);if(!Z)throw Error("Expected node of symbol group type, but got "+(Q?"node of type "+Q.type:String(Q)));return Z}function CY(Q){if(Q&&(Q.type==="atom"||j4.hasOwnProperty(Q.type)))return Q;return null}var fF=(Q)=>{if(Q instanceof bZ)return Q;if(v5(Q)&&Q.children.length===1)return fF(Q.children[0])},bF=(Q,Z)=>{var J,X,Y;if(Q&&Q.type==="supsub")X=CQ(Q.base,"accent"),J=X.base,Q.base=J,Y=_5(hQ(Q,Z)),Q.base=X;else X=CQ(Q,"accent"),J=X.base;var K=hQ(J,Z.havingCrampedStyle()),j=X.isShifty&&a0(J),U=0;if(j){var F,A;U=(F=(A=fF(K))==null?void 0:A.skew)!=null?F:0}var G=X.label==="\\c",z=G?K.height+K.depth:Math.min(K.height,Z.fontMetrics().xHeight),L;if(!X.isStretchy){var E,D;if(X.label==="\\vec")E=NF("vec",Z),D=SF.vec[1];else if(E=OY({type:"textord",mode:X.mode,text:X.label},Z),E=y5(E),E.italic=0,D=E.width,G)z+=E.depth;L=s(["accent-body"],[E]);var H=X.label==="\\textcircled";if(H)L.classes.push("accent-full"),z=K.height;var V=U;if(!H)V-=D/2;if(L.style.left=YQ(V),X.label==="\\textcircled")L.style.top=".2em";L=$Q({positionType:"firstBaseline",children:[{type:"elem",elem:K},{type:"kern",size:-z},{type:"elem",elem:L}]})}else L=PY(X,Z),L=$Q({positionType:"firstBaseline",children:[{type:"elem",elem:K},{type:"elem",elem:L,wrapperClasses:["svg-align"],wrapperStyle:U>0?{width:"calc(100% - "+YQ(2*U)+")",marginLeft:YQ(2*U)}:void 0}]});var O=s(["mord","accent"],[L],Z);if(Y)return Y.children[0]=O,Y.height=Math.max(O.height,Y.height),Y.classes[0]="mord",Y;else return O},F4=(Q,Z)=>{var J=Q.isStretchy?MY(Q.label):new QQ("mo",[X0(Q.label,Q.mode)]),X=new QQ("mover",[uQ(Q.base,Z),J]);return X.setAttribute("accent","true"),X},R4=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((Q)=>"\\"+Q).join("|"));FQ({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:(Q,Z)=>{var J=RY(Z[0]),X=!R4.test(Q.funcName),Y=!X||Q.funcName==="\\widehat"||Q.funcName==="\\widetilde"||Q.funcName==="\\widecheck";return{type:"accent",mode:Q.parser.mode,label:Q.funcName,isStretchy:X,isShifty:Y,base:J}},htmlBuilder:bF,mathmlBuilder:F4});FQ({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.","\\\"","\\c","\\r","\\H","\\v","\\textcircled"],numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"],handler:(Q,Z)=>{var J=Z[0],X=Q.parser.mode;if(X==="math")Q.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+Q.funcName+" works only in text mode"),X="text";return{type:"accent",mode:X,label:Q.funcName,isStretchy:!1,isShifty:!0,base:J}}});FQ({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],numArgs:1,handler:(Q,Z)=>{var{parser:J,funcName:X}=Q,Y=Z[0];return{type:"accentUnder",mode:J.mode,label:X,base:Y}},htmlBuilder:(Q,Z)=>{var J=hQ(Q.base,Z),X=PY(Q,Z),Y=Q.label==="\\utilde"?0.12:0,K=$Q({positionType:"top",positionData:J.height,children:[{type:"elem",elem:X,wrapperClasses:["svg-align"]},{type:"kern",size:Y},{type:"elem",elem:J}]});return s(["mord","accentunder"],[K],Z)},mathmlBuilder:(Q,Z)=>{var J=MY(Q.label),X=new QQ("munder",[uQ(Q.base,Z),J]);return X.setAttribute("accentunder","true"),X}});var kX=(Q)=>{var Z=new QQ("mpadded",Q?[Q]:[]);return Z.setAttribute("width","+0.6em"),Z.setAttribute("lspace","0.3em"),Z};FQ({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(Q,Z,J){var{parser:X,funcName:Y}=Q;return{type:"xArrow",mode:X.mode,label:Y,body:Z[0],below:J[0]}},htmlBuilder(Q,Z){var J=Z.style,X=Z.havingStyle(J.sup()),Y=RJ(hQ(Q.body,X,Z),Z),K=Q.label.slice(0,2)==="\\x"?"x":"cd";Y.classes.push(K+"-arrow-pad");var j;if(Q.below)X=Z.havingStyle(J.sub()),j=RJ(hQ(Q.below,X,Z),Z),j.classes.push(K+"-arrow-pad");var U=PY(Q,Z),F=-Z.fontMetrics().axisHeight+0.5*U.height,A=-Z.fontMetrics().axisHeight-0.5*U.height-0.111;if(Y.depth>0.25||Q.label==="\\xleftequilibrium")A-=Y.depth;var G;if(j){var z=-Z.fontMetrics().axisHeight+j.height+0.5*U.height+0.111;G=$Q({positionType:"individualShift",children:[{type:"elem",elem:Y,shift:A},{type:"elem",elem:U,shift:F,wrapperClasses:["svg-align"]},{type:"elem",elem:j,shift:z}]})}else G=$Q({positionType:"individualShift",children:[{type:"elem",elem:Y,shift:A},{type:"elem",elem:U,shift:F,wrapperClasses:["svg-align"]}]});return s(["mrel","x-arrow"],[G],Z)},mathmlBuilder(Q,Z){var J=MY(Q.label);J.setAttribute("minsize",Q.label.charAt(0)==="x"?"1.75em":"3.0em");var X;if(Q.body){var Y=kX(uQ(Q.body,Z));if(Q.below){var K=kX(uQ(Q.below,Z));X=new QQ("munderover",[J,K,Y])}else X=new QQ("mover",[J,Y])}else if(Q.below){var j=kX(uQ(Q.below,Z));X=new QQ("munder",[J,j])}else X=kX(),X=new QQ("mover",[J,X]);return X}});function A4(Q,Z){var J=AZ(Q.body,Z,!0);return s([Q.mclass],J,Z)}function W4(Q,Z){var J,X=lZ(Q.body,Z);if(Q.mclass==="minner")J=new QQ("mpadded",X);else if(Q.mclass==="mord")if(Q.isCharacterBox)J=X[0],J.type="mi";else J=new QQ("mi",X);else{if(Q.isCharacterBox)J=X[0],J.type="mo";else J=new QQ("mo",X);if(Q.mclass==="mbin")J.attributes.lspace="0.22em",J.attributes.rspace="0.22em";else if(Q.mclass==="mpunct")J.attributes.lspace="0em",J.attributes.rspace="0.17em";else if(Q.mclass==="mopen"||Q.mclass==="mclose")J.attributes.lspace="0em",J.attributes.rspace="0em"}return J}FQ({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],numArgs:1,primitive:!0,handler(Q,Z){var{parser:J,funcName:X}=Q,Y=Z[0];return{type:"mclass",mode:J.mode,mclass:"m"+X.slice(5),body:YZ(Y),isCharacterBox:a0(Y)}},htmlBuilder:A4,mathmlBuilder:W4});var SY=(Q)=>{var Z=Q.type==="ordgroup"&&Q.body.length?Q.body[0]:Q;if(Z.type==="atom"&&(Z.family==="bin"||Z.family==="rel"))return"m"+Z.family;else return"mord"};FQ({type:"mclass",names:["\\@binrel"],numArgs:2,handler(Q,Z){var{parser:J}=Q;return{type:"mclass",mode:J.mode,mclass:SY(Z[0]),body:YZ(Z[1]),isCharacterBox:a0(Z[1])}}});FQ({type:"mclass",names:["\\stackrel","\\overset","\\underset"],numArgs:2,handler(Q,Z){var{parser:J,funcName:X}=Q,Y=Z[1],K=Z[0],j;if(X!=="\\stackrel")j=SY(Y);else j="mrel";var U={type:"op",mode:Y.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:X!=="\\stackrel",body:YZ(Y)},F=X==="\\underset"?{type:"supsub",mode:K.mode,base:U,sub:K}:{type:"supsub",mode:K.mode,base:U,sup:K};return{type:"mclass",mode:J.mode,mclass:j,body:[F],isCharacterBox:a0(F)}}});FQ({type:"pmb",names:["\\pmb"],numArgs:1,allowedInText:!0,handler(Q,Z){var{parser:J}=Q;return{type:"pmb",mode:J.mode,mclass:SY(Z[0]),body:YZ(Z[0])}},htmlBuilder(Q,Z){var J=AZ(Q.body,Z,!0),X=s([Q.mclass],J,Z);return X.style.textShadow="0.02em 0.01em 0.04px",X},mathmlBuilder(Q,Z){var J=lZ(Q.body,Z),X=new QQ("mstyle",J);return X.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),X}});var q4={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},f6=()=>{return{type:"styling",body:[],mode:"math",style:"display",resetFont:!0}},b6=(Q)=>{return Q.type==="textord"&&Q.text==="@"},G4=(Q,Z)=>{return(Q.type==="mathord"||Q.type==="atom")&&Q.text===Z};function E4(Q,Z,J){var X=q4[Q];switch(X){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return J.callFunction(X,[Z[0]],[Z[1]]);case"\\uparrow":case"\\downarrow":{var Y=J.callFunction("\\\\cdleft",[Z[0]],[]),K={type:"atom",text:X,mode:"math",family:"rel"},j=J.callFunction("\\Big",[K],[]),U=J.callFunction("\\\\cdright",[Z[1]],[]),F={type:"ordgroup",mode:"math",body:[Y,j,U]};return J.callFunction("\\\\cdparent",[F],[])}case"\\\\cdlongequal":return J.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var A={type:"textord",text:"\\Vert",mode:"math"};return J.callFunction("\\Big",[A],[])}default:return{type:"textord",text:" ",mode:"math"}}}function z4(Q){var Z=[];Q.gullet.beginGroup(),Q.gullet.macros.set("\\cr","\\\\\\relax"),Q.gullet.beginGroup();while(!0){Z.push(Q.parseExpression(!1,"\\\\")),Q.gullet.endGroup(),Q.gullet.beginGroup();var J=Q.fetch().text;if(J==="&"||J==="\\\\")Q.consume();else if(J==="\\end"){if(Z[Z.length-1].length===0)Z.pop();break}else throw new ZQ("Expected \\\\ or \\cr or \\end",Q.nextToken)}var X=[],Y=[X];for(var K=0;KAV".includes(A))for(var z=0;z<2;z++){var L=!0;for(var E=F+1;EAV=|." after @',j[F]);var D=E4(A,G,Q),H={type:"styling",body:[D],mode:"math",style:"display",resetFont:!0};X.push(H),U=f6()}if(K%2===0)X.push(U);else X.shift();X=[],Y.push(X)}Q.gullet.endGroup(),Q.gullet.endGroup();var V=Array(Y[0].length).fill({type:"align",align:"c",pregap:0.25,postgap:0.25});return{type:"array",mode:"math",body:Y,arraystretch:1,addJot:!0,rowGaps:[null],cols:V,colSeparationType:"CD",hLinesBeforeRow:Array(Y.length+1).fill([])}}FQ({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],numArgs:1,handler(Q,Z){var{parser:J,funcName:X}=Q;return{type:"cdlabel",mode:J.mode,side:X.slice(4),label:Z[0]}},htmlBuilder(Q,Z){var J=Z.havingStyle(Z.style.sup()),X=RJ(hQ(Q.label,J,Z),Z);return X.classes.push("cd-label-"+Q.side),X.style.bottom=YQ(0.8-X.depth),X.height=0,X.depth=0,X},mathmlBuilder(Q,Z){var J=new QQ("mrow",[uQ(Q.label,Z)]);if(J=new QQ("mpadded",[J]),J.setAttribute("width","0"),Q.side==="left")J.setAttribute("lspace","-1width");return J.setAttribute("voffset","0.7em"),J=new QQ("mstyle",[J]),J.setAttribute("displaystyle","false"),J.setAttribute("scriptlevel","1"),J}});FQ({type:"cdlabelparent",names:["\\\\cdparent"],numArgs:1,handler(Q,Z){var{parser:J}=Q;return{type:"cdlabelparent",mode:J.mode,fragment:Z[0]}},htmlBuilder(Q,Z){var J=RJ(hQ(Q.fragment,Z),Z);return J.classes.push("cd-vert-arrow"),J},mathmlBuilder(Q,Z){return new QQ("mrow",[uQ(Q.fragment,Z)])}});FQ({type:"textord",names:["\\@char"],numArgs:1,allowedInText:!0,handler(Q,Z){var{parser:J}=Q,X=CQ(Z[0],"ordgroup"),Y=X.body,K="";for(var j=0;j=1114111)throw new ZQ("\\@char with invalid code point "+K);else if(F<=65535)A=String.fromCharCode(F);else F-=65536,A=String.fromCharCode((F>>10)+55296,(F&1023)+56320);return{type:"textord",mode:J.mode,text:A}}});var L4=(Q,Z)=>{var J=AZ(Q.body,Z.withColor(Q.color),!1);return n0(J)},I4=(Q,Z)=>{var J=lZ(Q.body,Z.withColor(Q.color)),X=new QQ("mstyle",J);return X.setAttribute("mathcolor",Q.color),X};FQ({type:"color",names:["\\textcolor"],numArgs:2,allowedInText:!0,argTypes:["color","original"],handler(Q,Z){var{parser:J}=Q,X=CQ(Z[0],"color-token").color,Y=Z[1];return{type:"color",mode:J.mode,color:X,body:YZ(Y)}},htmlBuilder:L4,mathmlBuilder:I4});FQ({type:"color",names:["\\color"],numArgs:1,allowedInText:!0,argTypes:["color"],handler(Q,Z){var{parser:J,breakOnTokenText:X}=Q,Y=CQ(Z[0],"color-token").color;J.gullet.macros.set("\\current@color",Y);var K=J.parseExpression(!0,X);return{type:"color",mode:J.mode,color:Y,body:K}}});FQ({type:"cr",names:["\\\\"],numArgs:0,numOptionalArgs:0,allowedInText:!0,handler(Q,Z,J){var{parser:X}=Q,Y=X.gullet.future().text==="["?X.parseSizeGroup(!0):null,K=!X.settings.displayMode||!X.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:X.mode,newLine:K,size:Y&&CQ(Y,"size").value}},htmlBuilder(Q,Z){var J=s(["mspace"],[],Z);if(Q.newLine){if(J.classes.push("newline"),Q.size)J.style.marginTop=YQ(oQ(Q.size,Z))}return J},mathmlBuilder(Q,Z){var J=new QQ("mspace");if(Q.newLine){if(J.setAttribute("linebreak","newline"),Q.size)J.setAttribute("height",YQ(oQ(Q.size,Z)))}return J}});var j8={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},xF=(Q)=>{var Z=Q.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(Z))throw new ZQ("Expected a control sequence",Q);return Z},H4=(Q)=>{var Z=Q.gullet.popToken();if(Z.text==="="){if(Z=Q.gullet.popToken(),Z.text===" ")Z=Q.gullet.popToken()}return Z},$F=(Q,Z,J,X)=>{var Y=Q.gullet.macros.get(J.text);if(Y==null)J.noexpand=!0,Y={tokens:[J],numArgs:0,unexpandable:!Q.gullet.isExpandable(J.text)};Q.gullet.macros.set(Z,Y,X)};FQ({type:"internal",names:["\\global","\\long","\\\\globallong"],numArgs:0,allowedInText:!0,handler(Q){var{parser:Z,funcName:J}=Q;Z.consumeSpaces();var X=Z.fetch();if(j8[X.text]){if(J==="\\global"||J==="\\\\globallong")X.text=j8[X.text];return CQ(Z.parseFunction(),"internal")}throw new ZQ("Invalid token after macro prefix",X)}});FQ({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],numArgs:0,allowedInText:!0,primitive:!0,handler(Q){var{parser:Z,funcName:J}=Q,X=Z.gullet.popToken(),Y=X.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(Y))throw new ZQ("Expected a control sequence",X);var K=0,j,U=[[]];while(Z.gullet.future().text!=="{")if(X=Z.gullet.popToken(),X.text==="#"){if(Z.gullet.future().text==="{"){j=Z.gullet.future(),U[K].push("{");break}if(X=Z.gullet.popToken(),!/^[1-9]$/.test(X.text))throw new ZQ('Invalid argument number "'+X.text+'"');if(parseInt(X.text)!==K+1)throw new ZQ('Argument number "'+X.text+'" out of order');K++,U.push([])}else if(X.text==="EOF")throw new ZQ("Expected a macro definition");else U[K].push(X.text);var{tokens:F}=Z.gullet.consumeArg();if(j)F.unshift(j);if(J==="\\edef"||J==="\\xdef")F=Z.gullet.expandTokens(F),F.reverse();return Z.gullet.macros.set(Y,{tokens:F,numArgs:K,delimiters:U},J===j8[J]),{type:"internal",mode:Z.mode}}});FQ({type:"internal",names:["\\let","\\\\globallet"],numArgs:0,allowedInText:!0,primitive:!0,handler(Q){var{parser:Z,funcName:J}=Q,X=xF(Z.gullet.popToken());Z.gullet.consumeSpaces();var Y=H4(Z);return $F(Z,X,Y,J==="\\\\globallet"),{type:"internal",mode:Z.mode}}});FQ({type:"internal",names:["\\futurelet","\\\\globalfuture"],numArgs:0,allowedInText:!0,primitive:!0,handler(Q){var{parser:Z,funcName:J}=Q,X=xF(Z.gullet.popToken()),Y=Z.gullet.popToken(),K=Z.gullet.popToken();return $F(Z,X,K,J==="\\\\globalfuture"),Z.gullet.pushToken(K),Z.gullet.pushToken(Y),{type:"internal",mode:Z.mode}}});var TJ=function(Z,J,X){var Y=iQ.math[Z]&&iQ.math[Z].replace,K=U7(Y||Z,J,X);if(!K)throw Error("Unsupported symbol "+Z+" and font size "+J+".");return K},G7=function(Z,J,X,Y){var K=X.havingBaseStyle(J),j=s(Y.concat(K.sizingClasses(X)),[Z],X),U=K.sizeMultiplier/X.sizeMultiplier;return j.height*=U,j.depth*=U,j.maxFontSize=K.sizeMultiplier,j},hF=function(Z,J,X){var Y=J.havingBaseStyle(X),K=(1-J.sizeMultiplier/Y.sizeMultiplier)*J.fontMetrics().axisHeight;Z.classes.push("delimcenter"),Z.style.top=YQ(K),Z.height-=K,Z.depth+=K},V4=function(Z,J,X,Y,K,j){var U=TZ(Z,"Main-Regular",K,Y),F=G7(U,J,Y,j);if(X)hF(F,Y,J);return F},B4=function(Z,J,X,Y){return TZ(Z,"Size"+J+"-Regular",X,Y)},mF=function(Z,J,X,Y,K,j){var U=B4(Z,J,K,Y),F=G7(s(["delimsizing","size"+J],[U],Y),DQ.TEXT,Y,j);if(X)hF(F,Y,DQ.TEXT);return F},YK=function(Z,J,X){var Y;if(J==="Size1-Regular")Y="delim-size1";else Y="delim-size4";var K=s(["delimsizinginner",Y],[s([],[TZ(Z,J,X)])]);return{type:"elem",elem:K}},KK=function(Z,J,X){var Y=O0["Size4-Regular"][Z.charCodeAt(0)]?O0["Size4-Regular"][Z.charCodeAt(0)][4]:O0["Size1-Regular"][Z.charCodeAt(0)][4],K=new l0("inner",T5(Z,Math.round(1000*J))),j=new T0([K],{width:YQ(Y),height:YQ(J),style:"width:"+YQ(Y),viewBox:"0 0 "+1000*Y+" "+Math.round(1000*J),preserveAspectRatio:"xMinYMin"}),U=F9([],[j],X);return U.height=J,U.style.height=YQ(J),U.style.width=YQ(Y),{type:"elem",elem:U}},U8=0.008,yX={type:"kern",size:-1*U8},D4=new Set(["|","\\lvert","\\rvert","\\vert"]),O4=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),gF=function(Z,J,X,Y,K,j){var U,F,A,G,z="",L=0;U=A=G=Z,F=null;var E="Size1-Regular";if(Z==="\\uparrow")A=G="⏐";else if(Z==="\\Uparrow")A=G="‖";else if(Z==="\\downarrow")U=A="⏐";else if(Z==="\\Downarrow")U=A="‖";else if(Z==="\\updownarrow")U="\\uparrow",A="⏐",G="\\downarrow";else if(Z==="\\Updownarrow")U="\\Uparrow",A="‖",G="\\Downarrow";else if(D4.has(Z))A="∣",z="vert",L=333;else if(O4.has(Z))A="∥",z="doublevert",L=556;else if(Z==="["||Z==="\\lbrack")U="⎡",A="⎢",G="⎣",E="Size4-Regular",z="lbrack",L=667;else if(Z==="]"||Z==="\\rbrack")U="⎤",A="⎥",G="⎦",E="Size4-Regular",z="rbrack",L=667;else if(Z==="\\lfloor"||Z==="⌊")A=U="⎢",G="⎣",E="Size4-Regular",z="lfloor",L=667;else if(Z==="\\lceil"||Z==="⌈")U="⎡",A=G="⎢",E="Size4-Regular",z="lceil",L=667;else if(Z==="\\rfloor"||Z==="⌋")A=U="⎥",G="⎦",E="Size4-Regular",z="rfloor",L=667;else if(Z==="\\rceil"||Z==="⌉")U="⎤",A=G="⎥",E="Size4-Regular",z="rceil",L=667;else if(Z==="("||Z==="\\lparen")U="⎛",A="⎜",G="⎝",E="Size4-Regular",z="lparen",L=875;else if(Z===")"||Z==="\\rparen")U="⎞",A="⎟",G="⎠",E="Size4-Regular",z="rparen",L=875;else if(Z==="\\{"||Z==="\\lbrace")U="⎧",F="⎨",G="⎩",A="⎪",E="Size4-Regular";else if(Z==="\\}"||Z==="\\rbrace")U="⎫",F="⎬",G="⎭",A="⎪",E="Size4-Regular";else if(Z==="\\lgroup"||Z==="⟮")U="⎧",G="⎩",A="⎪",E="Size4-Regular";else if(Z==="\\rgroup"||Z==="⟯")U="⎫",G="⎭",A="⎪",E="Size4-Regular";else if(Z==="\\lmoustache"||Z==="⎰")U="⎧",G="⎭",A="⎪",E="Size4-Regular";else if(Z==="\\rmoustache"||Z==="⎱")U="⎫",G="⎩",A="⎪",E="Size4-Regular";var D=TJ(U,E,K),H=D.height+D.depth,V=TJ(A,E,K),O=V.height+V.depth,S=TJ(G,E,K),P=S.height+S.depth,T=0,k=1;if(F!==null){var M=TJ(F,E,K);T=M.height+M.depth,k=2}var C=H+P+T,N=Math.max(0,Math.ceil((J-C)/(k*O))),_=C+N*k*O,b=Y.fontMetrics().axisHeight;if(X)b*=Y.sizeMultiplier;var f=_/2-b,x=[];if(z.length>0){var h=_-H-P,i=Math.round(_*1000),d=C5(z,Math.round(h*1000)),XQ=new l0(z,d),KQ=YQ(L/1000),t=YQ(i/1000),o=new T0([XQ],{width:KQ,height:t,viewBox:"0 0 "+L+" "+i}),$=F9([],[o],Y);$.height=i/1000,$.style.width=KQ,$.style.height=t,x.push({type:"elem",elem:$})}else{if(x.push(YK(G,E,K)),x.push(yX),F===null){var LQ=_-H-P+2*U8;x.push(KK(A,LQ,Y))}else{var zQ=(_-H-P-T)/2+2*U8;x.push(KK(A,zQ,Y)),x.push(yX),x.push(YK(F,E,K)),x.push(yX),x.push(KK(A,zQ,Y))}x.push(yX),x.push(YK(U,E,K))}var PQ=Y.havingBaseStyle(DQ.TEXT),xQ=$Q({positionType:"bottom",positionData:f,children:x});return G7(s(["delimsizing","mult"],[xQ],PQ),DQ.TEXT,Y,j)},jK=80,UK=0.08,FK=function(Z,J,X,Y,K){var j=P5(Z,Y,X),U=new l0(Z,j),F=new T0([U],{width:"400em",height:YQ(J),viewBox:"0 0 400000 "+X,preserveAspectRatio:"xMinYMin slice"});return F9(["hide-tail"],[F],K)},M4=function(Z,J){var X=J.havingBaseSizing(),Y=pF("\\surd",Z*X.sizeMultiplier,lF,X),K=X.sizeMultiplier,j=Math.max(0,J.minRuleThickness-J.fontMetrics().sqrtRuleThickness),U,F,A,G,z;if(Y.type==="small"){if(G=1000+1000*j+jK,Z<1)K=1;else if(Z<1.4)K=0.7;F=(1+j+UK)/K,A=(1+j)/K,U=FK("sqrtMain",F,G,j,J),U.style.minWidth="0.853em",z=0.833/K}else if(Y.type==="large")G=(1000+jK)*_J[Y.size],A=(_J[Y.size]+j)/K,F=(_J[Y.size]+j+UK)/K,U=FK("sqrtSize"+Y.size,F,G,j,J),U.style.minWidth="1.02em",z=1/K;else F=Z+j+UK,A=Z+j,G=Math.floor(1000*Z+j)+jK,U=FK("sqrtTall",F,G,j,J),U.style.minWidth="0.742em",z=1.056;return U.height=A,U.style.height=YQ(F),{span:U,advanceWidth:z,ruleWidth:(J.fontMetrics().sqrtRuleThickness+j)*K}},cF=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),P4=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),uF=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),_J=[0,1.2,1.8,2.4,3],dF=function(Z,J,X,Y,K){if(Z==="<"||Z==="\\lt"||Z==="⟨")Z="\\langle";else if(Z===">"||Z==="\\gt"||Z==="⟩")Z="\\rangle";if(cF.has(Z)||uF.has(Z))return mF(Z,J,!1,X,Y,K);else if(P4.has(Z))return gF(Z,_J[J],!1,X,Y,K);else throw new ZQ("Illegal delimiter: '"+Z+"'")},T4=[{type:"small",style:DQ.SCRIPTSCRIPT},{type:"small",style:DQ.SCRIPT},{type:"small",style:DQ.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],C4=[{type:"small",style:DQ.SCRIPTSCRIPT},{type:"small",style:DQ.SCRIPT},{type:"small",style:DQ.TEXT},{type:"stack"}],lF=[{type:"small",style:DQ.SCRIPTSCRIPT},{type:"small",style:DQ.SCRIPT},{type:"small",style:DQ.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],S4=function(Z){if(Z.type==="small")return"Main-Regular";else if(Z.type==="large")return"Size"+Z.size+"-Regular";else if(Z.type==="stack")return"Size4-Regular";else{var J=Z.type;throw Error("Add support for delim type '"+J+"' here.")}},pF=function(Z,J,X,Y){var K=Math.min(2,3-Y.style.size);for(var j=K;jJ)return U}return X[X.length-1]},F8=function(Z,J,X,Y,K,j){if(Z==="<"||Z==="\\lt"||Z==="⟨")Z="\\langle";else if(Z===">"||Z==="\\gt"||Z==="⟩")Z="\\rangle";var U;if(uF.has(Z))U=T4;else if(cF.has(Z))U=lF;else U=C4;var F=pF(Z,J,U,Y);if(F.type==="small")return V4(Z,F.style,X,Y,K,j);else if(F.type==="large")return mF(Z,F.size,X,Y,K,j);else return gF(Z,J,X,Y,K,j)},RK=function(Z,J,X,Y,K,j){var U=Y.fontMetrics().axisHeight*Y.sizeMultiplier,F=901,A=5/Y.fontMetrics().ptPerEm,G=Math.max(J-U,X+U),z=Math.max(G/500*F,2*G-A);return F8(Z,z,!0,Y,K,j)},x6={"\\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}},N4=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","."]);function $6(Q){return"isMiddle"in Q}function NY(Q,Z){var J=CY(Q);if(J&&N4.has(J.text))return J;else if(J)throw new ZQ("Invalid delimiter '"+J.text+"' after '"+Z.funcName+"'",Q);else throw new ZQ("Invalid delimiter type '"+Q.type+"'",Q)}FQ({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],numArgs:1,argTypes:["primitive"],handler:(Q,Z)=>{var J=NY(Z[0],Q);return{type:"delimsizing",mode:Q.parser.mode,size:x6[Q.funcName].size,mclass:x6[Q.funcName].mclass,delim:J.text}},htmlBuilder:(Q,Z)=>{if(Q.delim===".")return s([Q.mclass]);return dF(Q.delim,Q.size,Z,Q.mode,[Q.mclass])},mathmlBuilder:(Q)=>{var Z=[];if(Q.delim!==".")Z.push(X0(Q.delim,Q.mode));var J=new QQ("mo",Z);if(Q.mclass==="mopen"||Q.mclass==="mclose")J.setAttribute("fence","true");else J.setAttribute("fence","false");J.setAttribute("stretchy","true");var X=YQ(_J[Q.size]);return J.setAttribute("minsize",X),J.setAttribute("maxsize",X),J}});function h6(Q){if(!Q.body)throw Error("Bug: The leftright ParseNode wasn't fully parsed.")}FQ({type:"leftright-right",names:["\\right"],numArgs:1,primitive:!0,handler:(Q,Z)=>{var J=Q.parser.gullet.macros.get("\\current@color");if(J&&typeof J!=="string")throw new ZQ("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:Q.parser.mode,delim:NY(Z[0],Q).text,color:J}}});FQ({type:"leftright",names:["\\left"],numArgs:1,primitive:!0,handler:(Q,Z)=>{var J=NY(Z[0],Q),X=Q.parser;++X.leftrightDepth;var Y=X.parseExpression(!1);--X.leftrightDepth,X.expect("\\right",!1);var K=CQ(X.parseFunction(),"leftright-right");return{type:"leftright",mode:X.mode,body:Y,left:J.text,right:K.delim,rightColor:K.color}},htmlBuilder:(Q,Z)=>{h6(Q);var J=AZ(Q.body,Z,!0,["mopen","mclose"]),X=0,Y=0,K=!1;for(var j=0;j{h6(Q);var J=lZ(Q.body,Z);if(Q.left!=="."){var X=new QQ("mo",[X0(Q.left,Q.mode)]);X.setAttribute("fence","true"),J.unshift(X)}if(Q.right!=="."){var Y=new QQ("mo",[X0(Q.right,Q.mode)]);if(Y.setAttribute("fence","true"),Q.rightColor)Y.setAttribute("mathcolor",Q.rightColor);J.push(Y)}return W7(J)}});FQ({type:"middle",names:["\\middle"],numArgs:1,primitive:!0,handler:(Q,Z)=>{var J=NY(Z[0],Q);if(!Q.parser.leftrightDepth)throw new ZQ("\\middle without preceding \\left",J);return{type:"middle",mode:Q.parser.mode,delim:J.text}},htmlBuilder:(Q,Z)=>{var J;if(Q.delim===".")J=iJ(Z,[]);else J=dF(Q.delim,1,Z,Q.mode,[]),J.isMiddle={delim:Q.delim,options:Z};return J},mathmlBuilder:(Q,Z)=>{var J=Q.delim==="\\vert"||Q.delim==="|"?X0("|","text"):X0(Q.delim,Q.mode),X=new QQ("mo",[J]);return X.setAttribute("fence","true"),X.setAttribute("lspace","0.05em"),X.setAttribute("rspace","0.05em"),X}});var w4=(Q,Z)=>{var J=RJ(hQ(Q.body,Z),Z),X=Q.label.slice(1),Y=Z.sizeMultiplier,K,j,U=a0(Q.body);if(X==="sout")K=s(["stretchy","sout"]),K.height=Z.fontMetrics().defaultRuleThickness/Y,j=-0.5*Z.fontMetrics().xHeight;else if(X==="phase"){var F=oQ({number:0.6,unit:"pt"},Z),A=oQ({number:0.35,unit:"ex"},Z),G=Z.havingBaseSizing();Y=Y/G.sizeMultiplier;var z=J.height+J.depth+F+A;J.style.paddingLeft=YQ(z/2+F);var L=Math.floor(1000*z*Y),E=O5(L),D=new T0([new l0("phase",E)],{width:"400em",height:YQ(L/1000),viewBox:"0 0 400000 "+L,preserveAspectRatio:"xMinYMin slice"});K=F9(["hide-tail"],[D],Z),K.style.height=YQ(z),j=J.depth+F+A}else{if(/cancel/.test(X)){if(!U)J.classes.push("cancel-pad")}else if(X==="angl")J.classes.push("anglpad");else J.classes.push("boxpad");var H,V,O=0;if(/box/.test(X))O=Math.max(Z.fontMetrics().fboxrule,Z.minRuleThickness),H=Z.fontMetrics().fboxsep+(X==="colorbox"?0:O),V=H;else if(X==="angl")O=Math.max(Z.fontMetrics().defaultRuleThickness,Z.minRuleThickness),H=4*O,V=Math.max(0,0.25-J.depth);else H=U?0.2:0,V=H;if(K=Y4(J,X,H,V,Z),/fbox|boxed|fcolorbox/.test(X))K.style.borderStyle="solid",K.style.borderWidth=YQ(O);else if(X==="angl"&&O!==0.049)K.style.borderTopWidth=YQ(O),K.style.borderRightWidth=YQ(O);if(j=J.depth+V,Q.backgroundColor){if(K.style.backgroundColor=Q.backgroundColor,Q.borderColor)K.style.borderColor=Q.borderColor}}var S;if(Q.backgroundColor)S=$Q({positionType:"individualShift",children:[{type:"elem",elem:K,shift:j},{type:"elem",elem:J,shift:0}]});else{var P=/cancel|phase/.test(X)?["svg-align"]:[];S=$Q({positionType:"individualShift",children:[{type:"elem",elem:J,shift:0},{type:"elem",elem:K,shift:j,wrapperClasses:P}]})}if(/cancel/.test(X))S.height=J.height,S.depth=J.depth;if(/cancel/.test(X)&&!U)return s(["mord","cancel-lap"],[S],Z);else return s(["mord"],[S],Z)},k4=(Q,Z)=>{var J,X=new QQ(Q.label.includes("colorbox")?"mpadded":"menclose",[uQ(Q.body,Z)]);switch(Q.label){case"\\cancel":X.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":X.setAttribute("notation","downdiagonalstrike");break;case"\\phase":X.setAttribute("notation","phasorangle");break;case"\\sout":X.setAttribute("notation","horizontalstrike");break;case"\\fbox":X.setAttribute("notation","box");break;case"\\angl":X.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(J=Z.fontMetrics().fboxsep*Z.fontMetrics().ptPerEm,X.setAttribute("width","+"+2*J+"pt"),X.setAttribute("height","+"+2*J+"pt"),X.setAttribute("lspace",J+"pt"),X.setAttribute("voffset",J+"pt"),Q.label==="\\fcolorbox"){var Y=Math.max(Z.fontMetrics().fboxrule,Z.minRuleThickness);X.setAttribute("style","border: "+YQ(Y)+" solid "+Q.borderColor)}break;case"\\xcancel":X.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}if(Q.backgroundColor)X.setAttribute("mathbackground",Q.backgroundColor);return X};FQ({type:"enclose",names:["\\colorbox"],numArgs:2,allowedInText:!0,argTypes:["color","hbox"],handler(Q,Z,J){var{parser:X,funcName:Y}=Q,K=CQ(Z[0],"color-token").color,j=Z[1];return{type:"enclose",mode:X.mode,label:Y,backgroundColor:K,body:j}},htmlBuilder:w4,mathmlBuilder:k4});FQ({type:"enclose",names:["\\fcolorbox"],numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"],handler(Q,Z,J){var{parser:X,funcName:Y}=Q,K=CQ(Z[0],"color-token").color,j=CQ(Z[1],"color-token").color,U=Z[2];return{type:"enclose",mode:X.mode,label:Y,backgroundColor:j,borderColor:K,body:U}}});FQ({type:"enclose",names:["\\fbox"],numArgs:1,argTypes:["hbox"],allowedInText:!0,handler(Q,Z){var{parser:J}=Q;return{type:"enclose",mode:J.mode,label:"\\fbox",body:Z[0]}}});FQ({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],numArgs:1,handler(Q,Z){var{parser:J,funcName:X}=Q,Y=Z[0];return{type:"enclose",mode:J.mode,label:X,body:Y}}});FQ({type:"enclose",names:["\\sout"],numArgs:1,allowedInText:!0,handler(Q,Z){var{parser:J,funcName:X}=Q;if(J.mode==="math")J.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var Y=Z[0];return{type:"enclose",mode:J.mode,label:X,body:Y}}});FQ({type:"enclose",names:["\\angl"],numArgs:1,argTypes:["hbox"],allowedInText:!1,handler(Q,Z){var{parser:J}=Q;return{type:"enclose",mode:J.mode,label:"\\angl",body:Z[0]}}});var aF={};function C0(Q){var{type:Z,names:J,props:X,handler:Y,htmlBuilder:K,mathmlBuilder:j}=Q,U={type:Z,numArgs:X.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:Y};for(var F=0;F{var Z=Q.parser.settings;if(!Z.displayMode)throw new ZQ("{"+Q.envName+"} can be used only in display mode.")},y4=new Set(["gather","gather*"]);function E7(Q){if(!Q.includes("ed"))return!Q.includes("*")}function W9(Q,Z,J){var{hskipBeforeAndAfter:X,addJot:Y,cols:K,arraystretch:j,colSeparationType:U,autoTag:F,singleRow:A,emptySingleRow:G,maxNumCols:z,leqno:L}=Z;if(Q.gullet.beginGroup(),!A)Q.gullet.macros.set("\\cr","\\\\\\relax");if(!j){var E=Q.gullet.expandMacroAsText("\\arraystretch");if(E==null)j=1;else if(j=parseFloat(E),!j||j<0)throw new ZQ("Invalid \\arraystretch: "+E)}Q.gullet.beginGroup();var D=[],H=[D],V=[],O=[],S=F!=null?[]:void 0;function P(){if(F)Q.gullet.macros.set("\\@eqnsw","1",!0)}function T(){if(S)if(Q.gullet.macros.get("\\df@tag"))S.push(Q.subparse([new gZ("\\df@tag")])),Q.gullet.macros.set("\\df@tag",void 0,!0);else S.push(Boolean(F)&&Q.gullet.macros.get("\\@eqnsw")==="1")}P(),O.push(m6(Q));while(!0){var k=Q.parseExpression(!1,A?"\\end":"\\\\");Q.gullet.endGroup(),Q.gullet.beginGroup();var M={type:"ordgroup",mode:Q.mode,body:k};if(J)M={type:"styling",mode:Q.mode,style:J,resetFont:!0,body:[M]};D.push(M);var C=Q.fetch().text;if(C==="&"){if(z&&D.length===z)if(A||U)throw new ZQ("Too many tab characters: &",Q.nextToken);else Q.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.");Q.consume()}else if(C==="\\end"){if(T(),D.length===1&&M.type==="styling"&&M.body.length===1&&M.body[0].type==="ordgroup"&&M.body[0].body.length===0&&(H.length>1||!G))H.pop();if(O.length0)P+=0.25;A.push({pos:P,isDashed:FX[RX]})}}T(j[0]);for(X=0;X0){if(f+=S,CFX))for(X=0;X=U)continue;var _Q=void 0;if(Y>0||Z.hskipBeforeAndAfter){var pZ,zZ;if(_Q=(pZ=(zZ=PQ)==null?void 0:zZ.pregap)!=null?pZ:L,_Q!==0)d=s(["arraycolsep"],[]),d.style.width=YQ(_Q),i.push(d)}var sQ=[];for(X=0;X0){var Y0=FJ("hline",J,G),fY=FJ("hdashline",J,G),bY=[{type:"elem",elem:l9,shift:0}];while(A.length>0){var O7=A.pop(),M7=O7.pos-x;if(O7.isDashed)bY.push({type:"elem",elem:fY,shift:M7});else bY.push({type:"elem",elem:Y0,shift:M7})}l9=$Q({positionType:"individualShift",children:bY})}if(KQ.length===0)return s(["mord"],[l9],J);else{var L1=$Q({positionType:"individualShift",children:KQ}),I1=s(["tag"],[L1],J);return n0([l9,I1])}},_4={c:"center ",l:"left ",r:"right "},N0=function(Z,J){var X=[],Y=new QQ("mtd",[],["mtr-glue"]),K=new QQ("mtd",[],["mml-eqn-num"]);for(var j=0;j0){var D=Z.cols,H="",V=!1,O=0,S=D.length;if(D[0].type==="separator")L+="top ",O=1;if(D[D.length-1].type==="separator")L+="bottom ",S-=1;for(var P=O;P0?"left ":"",L+=_[_.length-1].length>0?"right ":"";for(var b=1;b<_.length-1;b++)N+=_[b].length===0?"none ":_[b][0]?"dashed ":"solid ";if(/[sd]/.test(N))G.setAttribute("rowlines",N.trim());if(L!=="")G=new QQ("menclose",[G]),G.setAttribute("notation",L.trim());if(Z.arraystretch&&Z.arraystretch<1)G=new QQ("mstyle",[G]),G.setAttribute("scriptlevel","1");return G},nF=function(Z,J){if(!Z.envName.includes("ed"))wY(Z);var X=[],Y=Z.envName==="split",K=W9(Z.parser,{cols:X,addJot:!0,autoTag:Y?void 0:E7(Z.envName),emptySingleRow:!0,colSeparationType:Z.envName.includes("at")?"alignat":"align",maxNumCols:Y?2:void 0,leqno:Z.parser.settings.leqno},"display"),j=0,U=0,F={type:"ordgroup",mode:Z.mode,body:[]};if(J[0]&&J[0].type==="ordgroup"){var A="";for(var G=0;G0&&L)H=1;X[E]={type:"align",align:D,pregap:H,postgap:0}}return K.colSeparationType=L?"align":"alignat",K};C0({type:"array",names:["array","darray"],props:{numArgs:1},handler(Q,Z){var J=CY(Z[0]),X=J?[Z[0]]:CQ(Z[0],"ordgroup").body,Y=X.map(function(j){var U=TY(j),F=U.text;if("lcr".includes(F))return{type:"align",align:F};else if(F==="|")return{type:"separator",separator:"|"};else if(F===":")return{type:"separator",separator:":"};throw new ZQ("Unknown column alignment: "+F,j)}),K={cols:Y,hskipBeforeAndAfter:!0,maxNumCols:Y.length};return W9(Q.parser,K,z7(Q.envName))},htmlBuilder:S0,mathmlBuilder:N0});C0({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(Q){var Z={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[Q.envName.replace("*","")],J="c",X={hskipBeforeAndAfter:!1,cols:[{type:"align",align:J}]};if(Q.envName.charAt(Q.envName.length-1)==="*"){var Y=Q.parser;if(Y.consumeSpaces(),Y.fetch().text==="["){if(Y.consume(),Y.consumeSpaces(),J=Y.fetch().text,!"lcr".includes(J))throw new ZQ("Expected l or c or r",Y.nextToken);Y.consume(),Y.consumeSpaces(),Y.expect("]"),Y.consume(),X.cols=[{type:"align",align:J}]}}var K=W9(Q.parser,X,z7(Q.envName)),j=Math.max(0,...K.body.map((U)=>U.length));return K.cols=Array(j).fill({type:"align",align:J}),Z?{type:"leftright",mode:Q.mode,body:[K],left:Z[0],right:Z[1],rightColor:void 0}:K},htmlBuilder:S0,mathmlBuilder:N0});C0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(Q){var Z={arraystretch:0.5},J=W9(Q.parser,Z,"script");return J.colSeparationType="small",J},htmlBuilder:S0,mathmlBuilder:N0});C0({type:"array",names:["subarray"],props:{numArgs:1},handler(Q,Z){var J=CY(Z[0]),X=J?[Z[0]]:CQ(Z[0],"ordgroup").body,Y=X.map(function(U){var F=TY(U),A=F.text;if("lc".includes(A))return{type:"align",align:A};throw new ZQ("Unknown column alignment: "+A,U)});if(Y.length>1)throw new ZQ("{subarray} can contain only one column");var K={cols:Y,hskipBeforeAndAfter:!1,arraystretch:0.5},j=W9(Q.parser,K,"script");if(j.body.length>0&&j.body[0].length>1)throw new ZQ("{subarray} can contain only one column");return j},htmlBuilder:S0,mathmlBuilder:N0});C0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(Q){var Z={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},J=W9(Q.parser,Z,z7(Q.envName));return{type:"leftright",mode:Q.mode,body:[J],left:Q.envName.includes("r")?".":"\\{",right:Q.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:S0,mathmlBuilder:N0});C0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:nF,htmlBuilder:S0,mathmlBuilder:N0});C0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(Q){if(y4.has(Q.envName))wY(Q);var Z={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:E7(Q.envName),emptySingleRow:!0,leqno:Q.parser.settings.leqno};return W9(Q.parser,Z,"display")},htmlBuilder:S0,mathmlBuilder:N0});C0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:nF,htmlBuilder:S0,mathmlBuilder:N0});C0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(Q){wY(Q);var Z={autoTag:E7(Q.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:Q.parser.settings.leqno};return W9(Q.parser,Z,"display")},htmlBuilder:S0,mathmlBuilder:N0});C0({type:"array",names:["CD"],props:{numArgs:0},handler(Q){return wY(Q),z4(Q.parser)},htmlBuilder:S0,mathmlBuilder:N0});B("\\nonumber","\\gdef\\@eqnsw{0}");B("\\notag","\\nonumber");FQ({type:"text",names:["\\hline","\\hdashline"],numArgs:0,allowedInText:!0,allowedInMath:!0,handler(Q,Z){throw new ZQ(Q.funcName+" valid only within array environment")}});var g6=aF;FQ({type:"environment",names:["\\begin","\\end"],numArgs:1,argTypes:["text"],handler(Q,Z){var{parser:J,funcName:X}=Q,Y=Z[0];if(Y.type!=="ordgroup")throw new ZQ("Invalid environment name",Y);var K="";for(var j=0;j{var J=Q.font,X=Z.withFont(J);return hQ(Q.body,X)},f4=(Q,Z)=>{var J=Q.font,X=Z.withFont(J);return uQ(Q.body,X)},c6={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};FQ({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],numArgs:1,allowedInArgument:!0,handler:(Q,Z)=>{var{parser:J,funcName:X}=Q,Y=RY(Z[0]),K=X in c6?c6[X]:X;return{type:"font",mode:J.mode,font:K.slice(1),body:Y}},htmlBuilder:v4,mathmlBuilder:f4});FQ({type:"mclass",names:["\\boldsymbol","\\bm"],numArgs:1,handler:(Q,Z)=>{var{parser:J}=Q,X=Z[0];return{type:"mclass",mode:J.mode,mclass:SY(X),body:[{type:"font",mode:J.mode,font:"boldsymbol",body:X}],isCharacterBox:a0(X)}}});FQ({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],numArgs:0,allowedInText:!0,handler:(Q,Z)=>{var{parser:J,funcName:X,breakOnTokenText:Y}=Q,{mode:K}=J,j=J.parseExpression(!0,Y);return{type:"font",mode:K,font:"math"+X.slice(1),body:{type:"ordgroup",mode:J.mode,body:j}}}});var b4=(Q,Z)=>{var J=Z.style,X=J.fracNum(),Y=J.fracDen(),K;K=Z.havingStyle(X);var j=hQ(Q.numer,K,Z);if(Q.continued){var U=8.5/Z.fontMetrics().ptPerEm,F=3.5/Z.fontMetrics().ptPerEm;j.height=j.height0)D=3*L;else D=7*L;H=Z.fontMetrics().denom1}else{if(z>0)E=Z.fontMetrics().num2,D=L;else E=Z.fontMetrics().num3,D=3*L;H=Z.fontMetrics().denom2}var V;if(!G){var O=E-j.depth-(A.height-H);if(O{var J=new QQ("mfrac",[uQ(Q.numer,Z),uQ(Q.denom,Z)]);if(!Q.hasBarLine)J.setAttribute("linethickness","0px");else if(Q.barSize){var X=oQ(Q.barSize,Z);J.setAttribute("linethickness",YQ(X))}if(Q.leftDelim!=null||Q.rightDelim!=null){var Y=[];if(Q.leftDelim!=null){var K=new QQ("mo",[new ZZ(Q.leftDelim.replace("\\",""))]);K.setAttribute("fence","true"),Y.push(K)}if(Y.push(J),Q.rightDelim!=null){var j=new QQ("mo",[new ZZ(Q.rightDelim.replace("\\",""))]);j.setAttribute("fence","true"),Y.push(j)}return W7(Y)}return J},sF=(Q,Z)=>{if(!Z)return Q;var J={type:"styling",mode:Q.mode,style:Z,body:[Q]};return J};FQ({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],numArgs:2,allowedInArgument:!0,handler:(Q,Z)=>{var{parser:J,funcName:X}=Q,Y=Z[0],K=Z[1],j,U=null,F=null;switch(X){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":j=!0;break;case"\\\\atopfrac":j=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":j=!1,U="(",F=")";break;case"\\\\bracefrac":j=!1,U="\\{",F="\\}";break;case"\\\\brackfrac":j=!1,U="[",F="]";break;default:throw Error("Unrecognized genfrac command")}var A=X==="\\cfrac",G=null;if(A||X.startsWith("\\d"))G="display";else if(X.startsWith("\\t"))G="text";return sF({type:"genfrac",mode:J.mode,numer:Y,denom:K,continued:A,hasBarLine:j,leftDelim:U,rightDelim:F,barSize:null},G)},htmlBuilder:b4,mathmlBuilder:x4});FQ({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],numArgs:0,infix:!0,handler(Q){var{parser:Z,funcName:J,token:X}=Q,Y;switch(J){case"\\over":Y="\\frac";break;case"\\choose":Y="\\binom";break;case"\\atop":Y="\\\\atopfrac";break;case"\\brace":Y="\\\\bracefrac";break;case"\\brack":Y="\\\\brackfrac";break;default:throw Error("Unrecognized infix genfrac command")}return{type:"infix",mode:Z.mode,replaceWith:Y,token:X}}});var u6=["display","text","script","scriptscript"],d6=function(Z){var J=null;if(Z.length>0)J=Z,J=J==="."?null:J;return J};FQ({type:"genfrac",names:["\\genfrac"],numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"],handler(Q,Z){var{parser:J}=Q,X=Z[4],Y=Z[5],K=RY(Z[0]),j=K.type==="atom"&&K.family==="open"?d6(K.text):null,U=RY(Z[1]),F=U.type==="atom"&&U.family==="close"?d6(U.text):null,A=CQ(Z[2],"size"),G,z=null;if(A.isBlank)G=!0;else z=A.value,G=z.number>0;var L=null,E=Z[3];if(E.type==="ordgroup"){if(E.body.length>0){var D=CQ(E.body[0],"textord");L=u6[Number(D.text)]}}else E=CQ(E,"textord"),L=u6[Number(E.text)];return sF({type:"genfrac",mode:J.mode,numer:X,denom:Y,continued:!1,hasBarLine:G,barSize:z,leftDelim:j,rightDelim:F},L)}});FQ({type:"infix",names:["\\above"],numArgs:1,argTypes:["size"],infix:!0,handler(Q,Z){var{parser:J,funcName:X,token:Y}=Q;return{type:"infix",mode:J.mode,replaceWith:"\\\\abovefrac",size:CQ(Z[0],"size").value,token:Y}}});FQ({type:"genfrac",names:["\\\\abovefrac"],numArgs:3,argTypes:["math","size","math"],handler:(Q,Z)=>{var{parser:J,funcName:X}=Q,Y=Z[0],K=CQ(Z[1],"infix").size;if(!K)throw Error("\\\\abovefrac expected size, but got "+String(K));var j=Z[2],U=K.number>0;return{type:"genfrac",mode:J.mode,numer:Y,denom:j,continued:!1,hasBarLine:U,barSize:K,leftDelim:null,rightDelim:null}}});var rF=(Q,Z)=>{var J=Z.style,X,Y;if(Q.type==="supsub")X=Q.sup?hQ(Q.sup,Z.havingStyle(J.sup()),Z):hQ(Q.sub,Z.havingStyle(J.sub()),Z),Y=CQ(Q.base,"horizBrace");else Y=CQ(Q,"horizBrace");var K=hQ(Y.base,Z.havingBaseStyle(DQ.DISPLAY)),j=PY(Y,Z),U;if(Y.isOver)U=$Q({positionType:"firstBaseline",children:[{type:"elem",elem:K},{type:"kern",size:0.1},{type:"elem",elem:j,wrapperClasses:["svg-align"]}]});else U=$Q({positionType:"bottom",positionData:K.depth+0.1+j.height,children:[{type:"elem",elem:j,wrapperClasses:["svg-align"]},{type:"kern",size:0.1},{type:"elem",elem:K}]});if(X){var F=s(["minner",Y.isOver?"mover":"munder"],[U],Z);if(Y.isOver)U=$Q({positionType:"firstBaseline",children:[{type:"elem",elem:F},{type:"kern",size:0.2},{type:"elem",elem:X}]});else U=$Q({positionType:"bottom",positionData:F.depth+0.2+X.height+X.depth,children:[{type:"elem",elem:X},{type:"kern",size:0.2},{type:"elem",elem:F}]})}return s(["minner",Y.isOver?"mover":"munder"],[U],Z)},$4=(Q,Z)=>{var J=MY(Q.label);return new QQ(Q.isOver?"mover":"munder",[uQ(Q.base,Z),J])};FQ({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],numArgs:1,handler(Q,Z){var{parser:J,funcName:X}=Q;return{type:"horizBrace",mode:J.mode,label:X,isOver:X.includes("\\over"),base:Z[0]}},htmlBuilder:rF,mathmlBuilder:$4});FQ({type:"href",names:["\\href"],numArgs:2,argTypes:["url","original"],allowedInText:!0,handler:(Q,Z)=>{var{parser:J}=Q,X=Z[1],Y=CQ(Z[0],"url").url;if(!J.settings.isTrusted({command:"\\href",url:Y}))return J.formatUnsupportedCmd("\\href");return{type:"href",mode:J.mode,href:Y,body:YZ(X)}},htmlBuilder:(Q,Z)=>{var J=AZ(Q.body,Z,!1);return c5(Q.href,[],J,Z)},mathmlBuilder:(Q,Z)=>{var J=R9(Q.body,Z);if(!(J instanceof QQ))J=new QQ("mrow",[J]);return J.setAttribute("href",Q.href),J}});FQ({type:"href",names:["\\url"],numArgs:1,argTypes:["url"],allowedInText:!0,handler:(Q,Z)=>{var{parser:J}=Q,X=CQ(Z[0],"url").url;if(!J.settings.isTrusted({command:"\\url",url:X}))return J.formatUnsupportedCmd("\\url");var Y=[];for(var K=0;K{var{parser:J,funcName:X,token:Y}=Q,K=CQ(Z[0],"raw").string,j=Z[1];if(J.settings.strict)J.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var U,F={};switch(X){case"\\htmlClass":F.class=K,U={command:"\\htmlClass",class:K};break;case"\\htmlId":F.id=K,U={command:"\\htmlId",id:K};break;case"\\htmlStyle":F.style=K,U={command:"\\htmlStyle",style:K};break;case"\\htmlData":{var A=K.split(",");for(var G=0;G{var J=AZ(Q.body,Z,!1),X=["enclosing"];if(Q.attributes.class)X.push(...Q.attributes.class.trim().split(/\s+/));var Y=s(X,J,Z);for(var K in Q.attributes)if(K!=="class"&&Q.attributes.hasOwnProperty(K))Y.setAttribute(K,Q.attributes[K]);return Y},mathmlBuilder:(Q,Z)=>{return R9(Q.body,Z)}});FQ({type:"htmlmathml",names:["\\html@mathml"],numArgs:2,allowedInArgument:!0,allowedInText:!0,handler:(Q,Z)=>{var{parser:J}=Q;return{type:"htmlmathml",mode:J.mode,html:YZ(Z[0]),mathml:YZ(Z[1])}},htmlBuilder:(Q,Z)=>{var J=AZ(Q.html,Z,!1);return n0(J)},mathmlBuilder:(Q,Z)=>{return R9(Q.mathml,Z)}});var AK=function(Z){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(Z))return{number:+Z,unit:"bp"};else{var J=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Z);if(!J)throw new ZQ("Invalid size: '"+Z+"' in \\includegraphics");var X={number:+(J[1]+J[2]),unit:J[3]};if(!VF(X))throw new ZQ("Invalid unit: '"+X.unit+"' in \\includegraphics.");return X}};FQ({type:"includegraphics",names:["\\includegraphics"],numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1,handler:(Q,Z,J)=>{var{parser:X}=Q,Y={number:0,unit:"em"},K={number:0.9,unit:"em"},j={number:0,unit:"em"},U="";if(J[0]){var F=CQ(J[0],"raw").string,A=F.split(",");for(var G=0;G{var J=oQ(Q.height,Z),X=0;if(Q.totalheight.number>0)X=oQ(Q.totalheight,Z)-J;var Y=0;if(Q.width.number>0)Y=oQ(Q.width,Z);var K={height:YQ(J+X)};if(Y>0)K.width=YQ(Y);if(X>0)K.verticalAlign=YQ(-X);var j=new MF(Q.src,Q.alt,K);return j.height=J,j.depth=X,j},mathmlBuilder:(Q,Z)=>{var J=new QQ("mglyph",[]);J.setAttribute("alt",Q.alt);var X=oQ(Q.height,Z),Y=0;if(Q.totalheight.number>0)Y=oQ(Q.totalheight,Z)-X,J.setAttribute("valign",YQ(-Y));if(J.setAttribute("height",YQ(X+Y)),Q.width.number>0){var K=oQ(Q.width,Z);J.setAttribute("width",YQ(K))}return J.setAttribute("src",Q.src),J}});FQ({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0,handler(Q,Z){var{parser:J,funcName:X}=Q,Y=CQ(Z[0],"size");if(J.settings.strict){var K=X[1]==="m",j=Y.value.unit==="mu";if(K){if(!j)J.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+X+" supports only mu units, "+("not "+Y.value.unit+" units"));if(J.mode!=="math")J.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+X+" works only in math mode")}else if(j)J.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+X+" doesn't support mu units")}return{type:"kern",mode:J.mode,dimension:Y.value}},htmlBuilder(Q,Z){return CF(Q.dimension,Z)},mathmlBuilder(Q,Z){var J=oQ(Q.dimension,Z);return new A7(J)}});FQ({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],numArgs:1,allowedInText:!0,handler:(Q,Z)=>{var{parser:J,funcName:X}=Q,Y=Z[0];return{type:"lap",mode:J.mode,alignment:X.slice(5),body:Y}},htmlBuilder:(Q,Z)=>{var J;if(Q.alignment==="clap")J=s([],[hQ(Q.body,Z)]),J=s(["inner"],[J],Z);else J=s(["inner"],[hQ(Q.body,Z)]);var X=s(["fix"],[]),Y=s([Q.alignment],[J,X],Z),K=s(["strut"]);if(K.style.height=YQ(Y.height+Y.depth),Y.depth)K.style.verticalAlign=YQ(-Y.depth);return Y.children.unshift(K),Y=s(["thinbox"],[Y],Z),s(["mord","vbox"],[Y],Z)},mathmlBuilder:(Q,Z)=>{var J=new QQ("mpadded",[uQ(Q.body,Z)]);if(Q.alignment!=="rlap"){var X=Q.alignment==="llap"?"-1":"-0.5";J.setAttribute("lspace",X+"width")}return J.setAttribute("width","0px"),J}});FQ({type:"styling",names:["\\(","$"],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(Q,Z){var{funcName:J,parser:X}=Q,Y=X.mode;X.switchMode("math");var K=J==="\\("?"\\)":"$",j=X.parseExpression(!1,K);return X.expect(K),X.switchMode(Y),{type:"styling",mode:X.mode,style:"text",resetFont:!0,body:j}}});FQ({type:"text",names:["\\)","\\]"],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(Q,Z){throw new ZQ("Mismatched "+Q.funcName)}});var l6=(Q,Z)=>{switch(Z.style.size){case DQ.DISPLAY.size:return Q.display;case DQ.TEXT.size:return Q.text;case DQ.SCRIPT.size:return Q.script;case DQ.SCRIPTSCRIPT.size:return Q.scriptscript;default:return Q.text}};FQ({type:"mathchoice",names:["\\mathchoice"],numArgs:4,primitive:!0,handler:(Q,Z)=>{var{parser:J}=Q;return{type:"mathchoice",mode:J.mode,display:YZ(Z[0]),text:YZ(Z[1]),script:YZ(Z[2]),scriptscript:YZ(Z[3])}},htmlBuilder:(Q,Z)=>{var J=l6(Q,Z),X=AZ(J,Z,!1);return n0(X)},mathmlBuilder:(Q,Z)=>{var J=l6(Q,Z);return R9(J,Z)}});var tF=(Q,Z,J,X,Y,K,j)=>{Q=s([],[Q]);var U=J&&a0(J),F,A;if(Z){var G=hQ(Z,X.havingStyle(Y.sup()),X);A={elem:G,kern:Math.max(X.fontMetrics().bigOpSpacing1,X.fontMetrics().bigOpSpacing3-G.depth)}}if(J){var z=hQ(J,X.havingStyle(Y.sub()),X);F={elem:z,kern:Math.max(X.fontMetrics().bigOpSpacing2,X.fontMetrics().bigOpSpacing4-z.height)}}var L;if(A&&F){var E=X.fontMetrics().bigOpSpacing5+F.elem.height+F.elem.depth+F.kern+Q.depth+j;L=$Q({positionType:"bottom",positionData:E,children:[{type:"kern",size:X.fontMetrics().bigOpSpacing5},{type:"elem",elem:F.elem,marginLeft:YQ(-K)},{type:"kern",size:F.kern},{type:"elem",elem:Q},{type:"kern",size:A.kern},{type:"elem",elem:A.elem,marginLeft:YQ(K)},{type:"kern",size:X.fontMetrics().bigOpSpacing5}]})}else if(F){var D=Q.height-j;L=$Q({positionType:"top",positionData:D,children:[{type:"kern",size:X.fontMetrics().bigOpSpacing5},{type:"elem",elem:F.elem,marginLeft:YQ(-K)},{type:"kern",size:F.kern},{type:"elem",elem:Q}]})}else if(A){var H=Q.depth+j;L=$Q({positionType:"bottom",positionData:H,children:[{type:"elem",elem:Q},{type:"kern",size:A.kern},{type:"elem",elem:A.elem,marginLeft:YQ(K)},{type:"kern",size:X.fontMetrics().bigOpSpacing5}]})}else return Q;var V=[L];if(F&&K!==0&&!U){var O=s(["mspace"],[],X);O.style.marginRight=YQ(K),V.unshift(O)}return s(["mop","op-limits"],V,X)},oF=new Set(["\\smallint"]),eF=(Q,Z)=>{var J,X,Y=!1,K;if(Q.type==="supsub")J=Q.sup,X=Q.sub,K=CQ(Q.base,"op"),Y=!0;else K=CQ(Q,"op");var j=Z.style,U=!1;if(j.size===DQ.DISPLAY.size&&K.symbol&&!oF.has(K.name))U=!0;var F,A;if(K.symbol){var G=U?"Size2-Regular":"Size1-Regular",z="";if(K.name==="\\oiint"||K.name==="\\oiiint")z=K.name.slice(1),K.name=z==="oiint"?"\\iint":"\\iiint";if(F=TZ(K.name,G,"math",Z,["mop","op-symbol",U?"large-op":"small-op"]),A=F.italic,z.length>0){var L=NF(z+"Size"+(U?"2":"1"),Z);F=$Q({positionType:"individualShift",children:[{type:"elem",elem:F,shift:0},{type:"elem",elem:L,shift:U?0.08:0}]}),K.name="\\"+z,F.classes.unshift("mop"),F.italic=A}}else if(K.body){var E=AZ(K.body,Z,!0);if(E.length===1&&E[0]instanceof bZ)F=E[0],F.classes[0]="mop";else F=s(["mop"],E,Z)}else{var D=[];for(var H=1;H{var J;if(Q.symbol){if(J=new QQ("mo",[X0(Q.name,Q.mode)]),oF.has(Q.name))J.setAttribute("largeop","false")}else if(Q.body)J=new QQ("mo",lZ(Q.body,Z));else{J=new QQ("mi",[new ZZ(Q.name.slice(1))]);var X=new QQ("mo",[X0("⁡","text")]);if(Q.parentIsSupSub)J=new QQ("mrow",[J,X]);else J=yF([J,X])}return J},m4={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};FQ({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],numArgs:0,handler:(Q,Z)=>{var{parser:J,funcName:X}=Q,Y=X;if(Y.length===1)Y=m4[Y];return{type:"op",mode:J.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Y}},htmlBuilder:eF,mathmlBuilder:h4});FQ({type:"op",names:["\\mathop"],numArgs:1,primitive:!0,handler:(Q,Z)=>{var{parser:J}=Q,X=Z[0];return{type:"op",mode:J.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:YZ(X)}}});var g4={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};FQ({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"],numArgs:0,handler(Q){var{parser:Z,funcName:J}=Q;return{type:"op",mode:Z.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:J}}});FQ({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],numArgs:0,handler(Q){var{parser:Z,funcName:J}=Q;return{type:"op",mode:Z.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:J}}});FQ({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],numArgs:0,allowedInArgument:!0,handler(Q){var{parser:Z,funcName:J}=Q,X=J;if(X.length===1)X=g4[X];return{type:"op",mode:Z.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:X}}});var Q1=(Q,Z)=>{var J,X,Y=!1,K;if(Q.type==="supsub")J=Q.sup,X=Q.sub,K=CQ(Q.base,"operatorname"),Y=!0;else K=CQ(Q,"operatorname");var j;if(K.body.length>0){var U=K.body.map((z)=>{var L="text"in z?z.text:void 0;if(typeof L==="string")return{type:"textord",mode:z.mode,text:L};else return z}),F=AZ(U,Z.withFont("mathrm"),!0);for(var A=0;A{var J=lZ(Q.body,Z.withFont("mathrm")),X=!0;for(var Y=0;YG.toText()).join("");J=[new ZZ(U)]}var F=new QQ("mi",J);F.setAttribute("mathvariant","normal");var A=new QQ("mo",[X0("⁡","text")]);if(Q.parentIsSupSub)return new QQ("mrow",[F,A]);else return yF([F,A])};FQ({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],numArgs:1,handler:(Q,Z)=>{var{parser:J,funcName:X}=Q,Y=Z[0];return{type:"operatorname",mode:J.mode,body:YZ(Y),alwaysHandleSupSub:X==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Q1,mathmlBuilder:c4});B("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");d9({type:"ordgroup",htmlBuilder(Q,Z){if(Q.semisimple)return n0(AZ(Q.body,Z,!1));return s(["mord"],AZ(Q.body,Z,!0),Z)},mathmlBuilder(Q,Z){return R9(Q.body,Z,!0)}});FQ({type:"overline",names:["\\overline"],numArgs:1,handler(Q,Z){var{parser:J}=Q,X=Z[0];return{type:"overline",mode:J.mode,body:X}},htmlBuilder(Q,Z){var J=hQ(Q.body,Z.havingCrampedStyle()),X=FJ("overline-line",Z),Y=Z.fontMetrics().defaultRuleThickness,K=$Q({positionType:"firstBaseline",children:[{type:"elem",elem:J},{type:"kern",size:3*Y},{type:"elem",elem:X},{type:"kern",size:Y}]});return s(["mord","overline"],[K],Z)},mathmlBuilder(Q,Z){var J=new QQ("mo",[new ZZ("‾")]);J.setAttribute("stretchy","true");var X=new QQ("mover",[uQ(Q.body,Z),J]);return X.setAttribute("accent","true"),X}});FQ({type:"phantom",names:["\\phantom"],numArgs:1,allowedInText:!0,handler:(Q,Z)=>{var{parser:J}=Q,X=Z[0];return{type:"phantom",mode:J.mode,body:YZ(X)}},htmlBuilder:(Q,Z)=>{var J=AZ(Q.body,Z.withPhantom(),!1);return n0(J)},mathmlBuilder:(Q,Z)=>{var J=lZ(Q.body,Z);return new QQ("mphantom",J)}});B("\\hphantom","\\smash{\\phantom{#1}}");FQ({type:"vphantom",names:["\\vphantom"],numArgs:1,allowedInText:!0,handler:(Q,Z)=>{var{parser:J}=Q,X=Z[0];return{type:"vphantom",mode:J.mode,body:X}},htmlBuilder:(Q,Z)=>{var J=s(["inner"],[hQ(Q.body,Z.withPhantom())]),X=s(["fix"],[]);return s(["mord","rlap"],[J,X],Z)},mathmlBuilder:(Q,Z)=>{var J=lZ(YZ(Q.body),Z),X=new QQ("mphantom",J),Y=new QQ("mpadded",[X]);return Y.setAttribute("width","0px"),Y}});FQ({type:"raisebox",names:["\\raisebox"],numArgs:2,argTypes:["size","hbox"],allowedInText:!0,handler(Q,Z){var{parser:J}=Q,X=CQ(Z[0],"size").value,Y=Z[1];return{type:"raisebox",mode:J.mode,dy:X,body:Y}},htmlBuilder(Q,Z){var J=hQ(Q.body,Z),X=oQ(Q.dy,Z);return $Q({positionType:"shift",positionData:-X,children:[{type:"elem",elem:J}]})},mathmlBuilder(Q,Z){var J=new QQ("mpadded",[uQ(Q.body,Z)]),X=Q.dy.number+Q.dy.unit;return J.setAttribute("voffset",X),J}});FQ({type:"internal",names:["\\relax"],numArgs:0,allowedInText:!0,allowedInArgument:!0,handler(Q){var{parser:Z}=Q;return{type:"internal",mode:Z.mode}}});FQ({type:"rule",names:["\\rule"],numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"],handler(Q,Z,J){var{parser:X}=Q,Y=J[0],K=CQ(Z[0],"size"),j=CQ(Z[1],"size");return{type:"rule",mode:X.mode,shift:Y&&CQ(Y,"size").value,width:K.value,height:j.value}},htmlBuilder(Q,Z){var J=s(["mord","rule"],[],Z),X=oQ(Q.width,Z),Y=oQ(Q.height,Z),K=Q.shift?oQ(Q.shift,Z):0;return J.style.borderRightWidth=YQ(X),J.style.borderTopWidth=YQ(Y),J.style.bottom=YQ(K),J.width=X,J.height=Y+K,J.depth=-K,J.maxFontSize=Y*1.125*Z.sizeMultiplier,J},mathmlBuilder(Q,Z){var J=oQ(Q.width,Z),X=oQ(Q.height,Z),Y=Q.shift?oQ(Q.shift,Z):0,K=Z.color&&Z.getColor()||"black",j=new QQ("mspace");j.setAttribute("mathbackground",K),j.setAttribute("width",YQ(J)),j.setAttribute("height",YQ(X));var U=new QQ("mpadded",[j]);if(Y>=0)U.setAttribute("height",YQ(Y));else U.setAttribute("height",YQ(Y)),U.setAttribute("depth",YQ(-Y));return U.setAttribute("voffset",YQ(Y)),U}});function Z1(Q,Z,J){var X=AZ(Q,Z,!1),Y=Z.sizeMultiplier/J.sizeMultiplier;for(var K=0;K{var J=Z.havingSize(Q.size);return Z1(Q.body,J,Z)};FQ({type:"sizing",names:p6,numArgs:0,allowedInText:!0,handler:(Q,Z)=>{var{breakOnTokenText:J,funcName:X,parser:Y}=Q,K=Y.parseExpression(!1,J);return{type:"sizing",mode:Y.mode,size:p6.indexOf(X)+1,body:K}},htmlBuilder:u4,mathmlBuilder:(Q,Z)=>{var J=Z.havingSize(Q.size),X=lZ(Q.body,J),Y=new QQ("mstyle",X);return Y.setAttribute("mathsize",YQ(J.sizeMultiplier)),Y}});FQ({type:"smash",names:["\\smash"],numArgs:1,numOptionalArgs:1,allowedInText:!0,handler:(Q,Z,J)=>{var{parser:X}=Q,Y=!1,K=!1,j=J[0]&&CQ(J[0],"ordgroup");if(j){var U;for(var F=0;F{var J=s([],[hQ(Q.body,Z)]);if(!Q.smashHeight&&!Q.smashDepth)return J;if(Q.smashHeight)J.height=0;if(Q.smashDepth)J.depth=0;if(Q.smashHeight&&Q.smashDepth)return s(["mord","smash"],[J],Z);if(J.children)for(var X=0;X{var J=new QQ("mpadded",[uQ(Q.body,Z)]);if(Q.smashHeight)J.setAttribute("height","0px");if(Q.smashDepth)J.setAttribute("depth","0px");return J}});FQ({type:"sqrt",names:["\\sqrt"],numArgs:1,numOptionalArgs:1,handler(Q,Z,J){var{parser:X}=Q,Y=J[0],K=Z[0];return{type:"sqrt",mode:X.mode,body:K,index:Y}},htmlBuilder(Q,Z){var J=hQ(Q.body,Z.havingCrampedStyle());if(J.height===0)J.height=Z.fontMetrics().xHeight;J=RJ(J,Z);var X=Z.fontMetrics(),Y=X.defaultRuleThickness,K=Y;if(Z.style.idJ.height+J.depth+j)j=(j+z-J.height-J.depth)/2;var L=F.height-J.height-j-A;J.style.paddingLeft=YQ(G);var E=$Q({positionType:"firstBaseline",children:[{type:"elem",elem:J,wrapperClasses:["svg-align"]},{type:"kern",size:-(J.height+L)},{type:"elem",elem:F},{type:"kern",size:A}]});if(!Q.index)return s(["mord","sqrt"],[E],Z);else{var D=Z.havingStyle(DQ.SCRIPTSCRIPT),H=hQ(Q.index,D,Z),V=0.6*(E.height-E.depth),O=$Q({positionType:"shift",positionData:-V,children:[{type:"elem",elem:H}]}),S=s(["root"],[O]);return s(["mord","sqrt"],[S,E],Z)}},mathmlBuilder(Q,Z){var{body:J,index:X}=Q;return X?new QQ("mroot",[uQ(J,Z),uQ(X,Z)]):new QQ("msqrt",[uQ(J,Z)])}});var R8={display:DQ.DISPLAY,text:DQ.TEXT,script:DQ.SCRIPT,scriptscript:DQ.SCRIPTSCRIPT};function d4(Q){return Q in R8}FQ({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],numArgs:0,allowedInText:!0,primitive:!0,handler(Q,Z){var{breakOnTokenText:J,funcName:X,parser:Y}=Q,K=Y.parseExpression(!0,J),j=X.slice(1,X.length-5);if(!d4(j))throw Error("Unknown style: "+j);return{type:"styling",mode:Y.mode,style:j,body:K}},htmlBuilder(Q,Z){var J=R8[Q.style],X=Z.havingStyle(J);if(Q.resetFont)X=X.withFont("");return Z1(Q.body,X,Z)},mathmlBuilder(Q,Z){var J=R8[Q.style],X=Z.havingStyle(J);if(Q.resetFont)X=X.withFont("");var Y=lZ(Q.body,X),K=new QQ("mstyle",Y),j={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},U=j[Q.style];return K.setAttribute("scriptlevel",U[0]),K.setAttribute("displaystyle",U[1]),K}});var l4=function(Z,J){var X=Z.base;if(!X)return null;else if(X.type==="op"){var Y=X.limits&&(J.style.size===DQ.DISPLAY.size||X.alwaysHandleSupSub);return Y?eF:null}else if(X.type==="operatorname"){var K=X.alwaysHandleSupSub&&(J.style.size===DQ.DISPLAY.size||X.limits);return K?Q1:null}else if(X.type==="accent")return a0(X.base)?bF:null;else if(X.type==="horizBrace"){var j=!Z.sub;return j===X.isOver?rF:null}else return null};d9({type:"supsub",htmlBuilder(Q,Z){var J=l4(Q,Z);if(J)return J(Q,Z);var{base:X,sup:Y,sub:K}=Q,j=hQ(X,Z),U,F,A=Z.fontMetrics(),G=0,z=0,L=X&&a0(X);if(Y){var E=Z.havingStyle(Z.style.sup());if(U=hQ(Y,E,Z),!L)G=j.height-E.fontMetrics().supDrop*E.sizeMultiplier/Z.sizeMultiplier}if(K){var D=Z.havingStyle(Z.style.sub());if(F=hQ(K,D,Z),!L)z=j.depth+D.fontMetrics().subDrop*D.sizeMultiplier/Z.sizeMultiplier}var H;if(Z.style===DQ.DISPLAY)H=A.sup1;else if(Z.style.cramped)H=A.sup3;else H=A.sup2;var V=Z.sizeMultiplier,O=YQ(0.5/A.ptPerEm/V),S=null;if(F){var P=Q.base&&Q.base.type==="op"&&Q.base.name&&(Q.base.name==="\\oiint"||Q.base.name==="\\oiiint");if(j instanceof bZ||P){var T;S=YQ(-((T=j.italic)!=null?T:0))}}var k;if(U&&F){G=Math.max(G,H,U.depth+0.25*A.xHeight),z=Math.max(z,A.sub2);var M=A.defaultRuleThickness,C=4*M;if(G-U.depth-(F.height-z)0)G+=N,z-=N}var _=[{type:"elem",elem:F,shift:z,marginRight:O,marginLeft:S},{type:"elem",elem:U,shift:-G,marginRight:O}];k=$Q({positionType:"individualShift",children:_})}else if(F){z=Math.max(z,A.sub1,F.height-0.8*A.xHeight);var b=[{type:"elem",elem:F,marginLeft:S,marginRight:O}];k=$Q({positionType:"shift",positionData:z,children:b})}else if(U)G=Math.max(G,H,U.depth+0.25*A.xHeight),k=$Q({positionType:"shift",positionData:-G,children:[{type:"elem",elem:U,marginRight:O}]});else throw Error("supsub must have either sup or sub.");var f=Y8(j,"right")||"mord";return s([f],[j,s(["msupsub"],[k])],Z)},mathmlBuilder(Q,Z){var J=!1,X,Y;if(Q.base&&Q.base.type==="horizBrace"){if(Y=!!Q.sup,Y===Q.base.isOver)J=!0,X=Q.base.isOver}if(Q.base&&(Q.base.type==="op"||Q.base.type==="operatorname"))Q.base.parentIsSupSub=!0;var K=[uQ(Q.base,Z)];if(Q.sub)K.push(uQ(Q.sub,Z));if(Q.sup)K.push(uQ(Q.sup,Z));var j;if(J)j=X?"mover":"munder";else if(!Q.sub){var U=Q.base;if(U&&U.type==="op"&&U.limits&&(Z.style===DQ.DISPLAY||U.alwaysHandleSupSub))j="mover";else if(U&&U.type==="operatorname"&&U.alwaysHandleSupSub&&(U.limits||Z.style===DQ.DISPLAY))j="mover";else j="msup"}else if(!Q.sup){var F=Q.base;if(F&&F.type==="op"&&F.limits&&(Z.style===DQ.DISPLAY||F.alwaysHandleSupSub))j="munder";else if(F&&F.type==="operatorname"&&F.alwaysHandleSupSub&&(F.limits||Z.style===DQ.DISPLAY))j="munder";else j="msub"}else{var A=Q.base;if(A&&A.type==="op"&&A.limits&&Z.style===DQ.DISPLAY)j="munderover";else if(A&&A.type==="operatorname"&&A.alwaysHandleSupSub&&(Z.style===DQ.DISPLAY||A.limits))j="munderover";else j="msubsup"}return new QQ(j,K)}});d9({type:"atom",htmlBuilder(Q,Z){return F7(Q.text,Q.mode,Z,["m"+Q.family])},mathmlBuilder(Q,Z){var J=new QQ("mo",[X0(Q.text,Q.mode)]);if(Q.family==="bin"){var X=q7(Q,Z);if(X==="bold-italic")J.setAttribute("mathvariant",X)}else if(Q.family==="punct")J.setAttribute("separator","true");else if(Q.family==="open"||Q.family==="close")J.setAttribute("stretchy","false");return J}});var J1={mi:"italic",mn:"normal",mtext:"normal"};d9({type:"mathord",htmlBuilder(Q,Z){return OY(Q,Z)},mathmlBuilder(Q,Z){var J=new QQ("mi",[X0(Q.text,Q.mode,Z)]),X=q7(Q,Z)||"italic";if(X!==J1[J.type])J.setAttribute("mathvariant",X);return J}});d9({type:"textord",htmlBuilder(Q,Z){return OY(Q,Z)},mathmlBuilder(Q,Z){var J=X0(Q.text,Q.mode,Z),X=q7(Q,Z)||"normal",Y;if(Q.mode==="text")Y=new QQ("mtext",[J]);else if(/[0-9]/.test(Q.text))Y=new QQ("mn",[J]);else if(Q.text==="\\prime")Y=new QQ("mo",[J]);else Y=new QQ("mi",[J]);if(X!==J1[Y.type])Y.setAttribute("mathvariant",X);return Y}});var WK={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},qK={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};d9({type:"spacing",htmlBuilder(Q,Z){if(qK.hasOwnProperty(Q.text)){var J=qK[Q.text].className||"";if(Q.mode==="text"){var X=OY(Q,Z);return X.classes.push(J),X}else return s(["mspace",J],[F7(Q.text,Q.mode,Z)],Z)}else if(WK.hasOwnProperty(Q.text))return s(["mspace",WK[Q.text]],[],Z);else throw new ZQ('Unknown type of space "'+Q.text+'"')},mathmlBuilder(Q,Z){var J;if(qK.hasOwnProperty(Q.text))J=new QQ("mtext",[new ZZ(" ")]);else if(WK.hasOwnProperty(Q.text))return new QQ("mspace");else throw new ZQ('Unknown type of space "'+Q.text+'"');return J}});var a6=()=>{var Q=new QQ("mtd",[]);return Q.setAttribute("width","50%"),Q};d9({type:"tag",mathmlBuilder(Q,Z){var J=new QQ("mtable",[new QQ("mtr",[a6(),new QQ("mtd",[R9(Q.body,Z)]),a6(),new QQ("mtd",[R9(Q.tag,Z)])])]);return J.setAttribute("width","100%"),J}});var i6={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},n6={"\\textbf":"textbf","\\textmd":"textmd"},p4={"\\textit":"textit","\\textup":"textup"},s6=(Q,Z)=>{var J=Q.font;if(!J)return Z;else if(i6[J])return Z.withTextFontFamily(i6[J]);else if(n6[J])return Z.withTextFontWeight(n6[J]);else if(J==="\\emph")return Z.fontShape==="textit"?Z.withTextFontShape("textup"):Z.withTextFontShape("textit");return Z.withTextFontShape(p4[J])};FQ({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0,handler(Q,Z){var{parser:J,funcName:X}=Q,Y=Z[0];return{type:"text",mode:J.mode,body:YZ(Y),font:X}},htmlBuilder(Q,Z){var J=s6(Q,Z),X=AZ(Q.body,J,!0);return s(["mord","text"],X,J)},mathmlBuilder(Q,Z){var J=s6(Q,Z);return R9(Q.body,J)}});FQ({type:"underline",names:["\\underline"],numArgs:1,allowedInText:!0,handler(Q,Z){var{parser:J}=Q;return{type:"underline",mode:J.mode,body:Z[0]}},htmlBuilder(Q,Z){var J=hQ(Q.body,Z),X=FJ("underline-line",Z),Y=Z.fontMetrics().defaultRuleThickness,K=$Q({positionType:"top",positionData:J.height,children:[{type:"kern",size:Y},{type:"elem",elem:X},{type:"kern",size:3*Y},{type:"elem",elem:J}]});return s(["mord","underline"],[K],Z)},mathmlBuilder(Q,Z){var J=new QQ("mo",[new ZZ("‾")]);J.setAttribute("stretchy","true");var X=new QQ("munder",[uQ(Q.body,Z),J]);return X.setAttribute("accentunder","true"),X}});FQ({type:"vcenter",names:["\\vcenter"],numArgs:1,argTypes:["original"],allowedInText:!1,handler(Q,Z){var{parser:J}=Q;return{type:"vcenter",mode:J.mode,body:Z[0]}},htmlBuilder(Q,Z){var J=hQ(Q.body,Z),X=Z.fontMetrics().axisHeight,Y=0.5*(J.height-X-(J.depth+X));return $Q({positionType:"shift",positionData:Y,children:[{type:"elem",elem:J}]})},mathmlBuilder(Q,Z){var J=new QQ("mpadded",[uQ(Q.body,Z)],["vcenter"]);return new QQ("mrow",[J])}});FQ({type:"verb",names:["\\verb"],numArgs:0,allowedInText:!0,handler(Q,Z,J){throw new ZQ("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(Q,Z){var J=r6(Q),X=[],Y=Z.havingStyle(Z.style.text());for(var K=0;KQ.body.replace(/ /g,Q.star?"␣":" "),Z9=wF,X1=`[ \r +-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 S5(Q){return"toText"in Q}class c9{constructor(Q){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=Q,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(Q){return this.classes.includes(Q)}toNode(){var Q=document.createDocumentFragment();for(var Z=0;Z{if(S5(Q))return Q.toText();throw Error("Expected MathDomNode with toText, got "+Q.constructor.name)}).join("")}}var sK={pt:1,mm:2.8452755905511813,cm:28.45275590551181,in:72.27,bp:1.00375,pc:12,dd:1.070008643042351,cc:12.84010371650821,nd:1.0669781931464175,nc:12.80373831775701,sp:0.0000152587890625,px:1.00375},N5={ex:!0,em:!0,mu:!0},VF=function(Z){if(typeof Z!=="string")Z=Z.unit;return Z in sK||Z in N5||Z==="ex"},oQ=function(Z,J){var X;if(Z.unit in sK)X=sK[Z.unit]/J.fontMetrics().ptPerEm/J.sizeMultiplier;else if(Z.unit==="mu")X=J.fontMetrics().cssEmPerMu;else{var Y;if(J.style.isTight())Y=J.havingStyle(J.style.text());else Y=J;if(Z.unit==="ex")X=Y.fontMetrics().xHeight;else if(Z.unit==="em")X=Y.fontMetrics().quad;else throw new ZQ("Invalid unit: '"+Z.unit+"'");if(Y!==J)X*=Y.sizeMultiplier/J.sizeMultiplier}return Math.min(Z.number*X,J.maxSize)},YQ=function(Z){return+Z.toFixed(4)+"em"},U9=function(Z){return Z.filter((J)=>J).join(" ")},j7=function(Z){var J="";for(var X of Object.keys(Z)){var Y=Z[X];if(Y!==void 0)J+=J5(X)+":"+Y+";"}return J},BF=function(Z,J,X){if(this.classes=Z||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=X||{},J){if(J.style.isTight())this.classes.push("mtight");var Y=J.getColor();if(Y)this.style.color=Y}},DF=function(Z){var J=document.createElement(Z);J.className=U9(this.classes),Object.assign(J.style,this.style);for(var X of Object.keys(this.attributes))J.setAttribute(X,this.attributes[X]);for(var Y=0;Y/=\x00-\x1f]/,OF=function(Z){var J="<"+Z;if(this.classes.length)J+=' class="'+OZ(U9(this.classes))+'"';var X=j7(this.style);if(X)J+=' style="'+OZ(X)+'"';for(var Y of Object.keys(this.attributes)){if(w5.test(Y))throw new ZQ("Invalid attribute name '"+Y+"'");J+=" "+Y+'="'+OZ(this.attributes[Y])+'"'}J+=">";for(var K=0;K",J};class u9{constructor(Q,Z,J,X){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,BF.call(this,Q,J,X),this.children=Z||[]}setAttribute(Q,Z){this.attributes[Q]=Z}hasClass(Q){return this.classes.includes(Q)}toNode(){return DF.call(this,"span")}toMarkup(){return OF.call(this,"span")}}class JX{constructor(Q,Z,J,X){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,BF.call(this,Z,X),this.children=J||[],this.setAttribute("href",Q)}setAttribute(Q,Z){this.attributes[Q]=Z}hasClass(Q){return this.classes.includes(Q)}toNode(){return DF.call(this,"a")}toMarkup(){return OF.call(this,"a")}}class MF{constructor(Q,Z,J){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=Z,this.src=Q,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=J}hasClass(Q){return this.classes.includes(Q)}toNode(){var Q=document.createElement("img");return Q.src=this.src,Q.alt=this.alt,Q.className="mord",Object.assign(Q.style,this.style),Q}toMarkup(){var Q=''+OZ(this.alt)+'0)Z=document.createElement("span"),Z.style.marginRight=YQ(this.italic);if(this.classes.length>0)Z=Z||document.createElement("span"),Z.className=U9(this.classes);if(Object.keys(this.style).length>0)Z=Z||document.createElement("span"),Object.assign(Z.style,this.style);if(Z)return Z.appendChild(Q),Z;else return Q}toMarkup(){var Q=!1,Z="0)J+="margin-right:"+YQ(this.italic)+";";if(J+=j7(this.style),J)Q=!0,Z+=' style="'+OZ(J)+'"';var X=OZ(this.text);if(Q)return Z+=">",Z+=X,Z+="",Z;else return X}}class T0{constructor(Q,Z){this.children=void 0,this.attributes=void 0,this.children=Q||[],this.attributes=Z||{}}toNode(){var Q="http://www.w3.org/2000/svg",Z=document.createElementNS(Q,"svg");for(var J of Object.keys(this.attributes))Z.setAttribute(J,this.attributes[J]);for(var X=0;X';else return''}}class UY{constructor(Q){this.attributes=void 0,this.attributes=Q||{}}toNode(){var Q="http://www.w3.org/2000/svg",Z=document.createElementNS(Q,"line");for(var J of Object.keys(this.attributes))Z.setAttribute(J,this.attributes[J]);return Z}toMarkup(){var Q=" but got "+String(Q)+".")}var v5=(Q)=>Q instanceof u9||Q instanceof JX||Q instanceof c9,O0={"AMS-Regular":{"32":[0,0,0,0,0.25],"65":[0,0.68889,0,0,0.72222],"66":[0,0.68889,0,0,0.66667],"67":[0,0.68889,0,0,0.72222],"68":[0,0.68889,0,0,0.72222],"69":[0,0.68889,0,0,0.66667],"70":[0,0.68889,0,0,0.61111],"71":[0,0.68889,0,0,0.77778],"72":[0,0.68889,0,0,0.77778],"73":[0,0.68889,0,0,0.38889],"74":[0.16667,0.68889,0,0,0.5],"75":[0,0.68889,0,0,0.77778],"76":[0,0.68889,0,0,0.66667],"77":[0,0.68889,0,0,0.94445],"78":[0,0.68889,0,0,0.72222],"79":[0.16667,0.68889,0,0,0.77778],"80":[0,0.68889,0,0,0.61111],"81":[0.16667,0.68889,0,0,0.77778],"82":[0,0.68889,0,0,0.72222],"83":[0,0.68889,0,0,0.55556],"84":[0,0.68889,0,0,0.66667],"85":[0,0.68889,0,0,0.72222],"86":[0,0.68889,0,0,0.72222],"87":[0,0.68889,0,0,1],"88":[0,0.68889,0,0,0.72222],"89":[0,0.68889,0,0,0.72222],"90":[0,0.68889,0,0,0.66667],"107":[0,0.68889,0,0,0.55556],"160":[0,0,0,0,0.25],"165":[0,0.675,0.025,0,0.75],"174":[0.15559,0.69224,0,0,0.94666],"240":[0,0.68889,0,0,0.55556],"295":[0,0.68889,0,0,0.54028],"710":[0,0.825,0,0,2.33334],"732":[0,0.9,0,0,2.33334],"770":[0,0.825,0,0,2.33334],"771":[0,0.9,0,0,2.33334],"989":[0.08167,0.58167,0,0,0.77778],"1008":[0,0.43056,0.04028,0,0.66667],"8245":[0,0.54986,0,0,0.275],"8463":[0,0.68889,0,0,0.54028],"8487":[0,0.68889,0,0,0.72222],"8498":[0,0.68889,0,0,0.55556],"8502":[0,0.68889,0,0,0.66667],"8503":[0,0.68889,0,0,0.44445],"8504":[0,0.68889,0,0,0.66667],"8513":[0,0.68889,0,0,0.63889],"8592":[-0.03598,0.46402,0,0,0.5],"8594":[-0.03598,0.46402,0,0,0.5],"8602":[-0.13313,0.36687,0,0,1],"8603":[-0.13313,0.36687,0,0,1],"8606":[0.01354,0.52239,0,0,1],"8608":[0.01354,0.52239,0,0,1],"8610":[0.01354,0.52239,0,0,1.11111],"8611":[0.01354,0.52239,0,0,1.11111],"8619":[0,0.54986,0,0,1],"8620":[0,0.54986,0,0,1],"8621":[-0.13313,0.37788,0,0,1.38889],"8622":[-0.13313,0.36687,0,0,1],"8624":[0,0.69224,0,0,0.5],"8625":[0,0.69224,0,0,0.5],"8630":[0,0.43056,0,0,1],"8631":[0,0.43056,0,0,1],"8634":[0.08198,0.58198,0,0,0.77778],"8635":[0.08198,0.58198,0,0,0.77778],"8638":[0.19444,0.69224,0,0,0.41667],"8639":[0.19444,0.69224,0,0,0.41667],"8642":[0.19444,0.69224,0,0,0.41667],"8643":[0.19444,0.69224,0,0,0.41667],"8644":[0.1808,0.675,0,0,1],"8646":[0.1808,0.675,0,0,1],"8647":[0.1808,0.675,0,0,1],"8648":[0.19444,0.69224,0,0,0.83334],"8649":[0.1808,0.675,0,0,1],"8650":[0.19444,0.69224,0,0,0.83334],"8651":[0.01354,0.52239,0,0,1],"8652":[0.01354,0.52239,0,0,1],"8653":[-0.13313,0.36687,0,0,1],"8654":[-0.13313,0.36687,0,0,1],"8655":[-0.13313,0.36687,0,0,1],"8666":[0.13667,0.63667,0,0,1],"8667":[0.13667,0.63667,0,0,1],"8669":[-0.13313,0.37788,0,0,1],"8672":[-0.064,0.437,0,0,1.334],"8674":[-0.064,0.437,0,0,1.334],"8705":[0,0.825,0,0,0.5],"8708":[0,0.68889,0,0,0.55556],"8709":[0.08167,0.58167,0,0,0.77778],"8717":[0,0.43056,0,0,0.42917],"8722":[-0.03598,0.46402,0,0,0.5],"8724":[0.08198,0.69224,0,0,0.77778],"8726":[0.08167,0.58167,0,0,0.77778],"8733":[0,0.69224,0,0,0.77778],"8736":[0,0.69224,0,0,0.72222],"8737":[0,0.69224,0,0,0.72222],"8738":[0.03517,0.52239,0,0,0.72222],"8739":[0.08167,0.58167,0,0,0.22222],"8740":[0.25142,0.74111,0,0,0.27778],"8741":[0.08167,0.58167,0,0,0.38889],"8742":[0.25142,0.74111,0,0,0.5],"8756":[0,0.69224,0,0,0.66667],"8757":[0,0.69224,0,0,0.66667],"8764":[-0.13313,0.36687,0,0,0.77778],"8765":[-0.13313,0.37788,0,0,0.77778],"8769":[-0.13313,0.36687,0,0,0.77778],"8770":[-0.03625,0.46375,0,0,0.77778],"8774":[0.30274,0.79383,0,0,0.77778],"8776":[-0.01688,0.48312,0,0,0.77778],"8778":[0.08167,0.58167,0,0,0.77778],"8782":[0.06062,0.54986,0,0,0.77778],"8783":[0.06062,0.54986,0,0,0.77778],"8785":[0.08198,0.58198,0,0,0.77778],"8786":[0.08198,0.58198,0,0,0.77778],"8787":[0.08198,0.58198,0,0,0.77778],"8790":[0,0.69224,0,0,0.77778],"8791":[0.22958,0.72958,0,0,0.77778],"8796":[0.08198,0.91667,0,0,0.77778],"8806":[0.25583,0.75583,0,0,0.77778],"8807":[0.25583,0.75583,0,0,0.77778],"8808":[0.25142,0.75726,0,0,0.77778],"8809":[0.25142,0.75726,0,0,0.77778],"8812":[0.25583,0.75583,0,0,0.5],"8814":[0.20576,0.70576,0,0,0.77778],"8815":[0.20576,0.70576,0,0,0.77778],"8816":[0.30274,0.79383,0,0,0.77778],"8817":[0.30274,0.79383,0,0,0.77778],"8818":[0.22958,0.72958,0,0,0.77778],"8819":[0.22958,0.72958,0,0,0.77778],"8822":[0.1808,0.675,0,0,0.77778],"8823":[0.1808,0.675,0,0,0.77778],"8828":[0.13667,0.63667,0,0,0.77778],"8829":[0.13667,0.63667,0,0,0.77778],"8830":[0.22958,0.72958,0,0,0.77778],"8831":[0.22958,0.72958,0,0,0.77778],"8832":[0.20576,0.70576,0,0,0.77778],"8833":[0.20576,0.70576,0,0,0.77778],"8840":[0.30274,0.79383,0,0,0.77778],"8841":[0.30274,0.79383,0,0,0.77778],"8842":[0.13597,0.63597,0,0,0.77778],"8843":[0.13597,0.63597,0,0,0.77778],"8847":[0.03517,0.54986,0,0,0.77778],"8848":[0.03517,0.54986,0,0,0.77778],"8858":[0.08198,0.58198,0,0,0.77778],"8859":[0.08198,0.58198,0,0,0.77778],"8861":[0.08198,0.58198,0,0,0.77778],"8862":[0,0.675,0,0,0.77778],"8863":[0,0.675,0,0,0.77778],"8864":[0,0.675,0,0,0.77778],"8865":[0,0.675,0,0,0.77778],"8872":[0,0.69224,0,0,0.61111],"8873":[0,0.69224,0,0,0.72222],"8874":[0,0.69224,0,0,0.88889],"8876":[0,0.68889,0,0,0.61111],"8877":[0,0.68889,0,0,0.61111],"8878":[0,0.68889,0,0,0.72222],"8879":[0,0.68889,0,0,0.72222],"8882":[0.03517,0.54986,0,0,0.77778],"8883":[0.03517,0.54986,0,0,0.77778],"8884":[0.13667,0.63667,0,0,0.77778],"8885":[0.13667,0.63667,0,0,0.77778],"8888":[0,0.54986,0,0,1.11111],"8890":[0.19444,0.43056,0,0,0.55556],"8891":[0.19444,0.69224,0,0,0.61111],"8892":[0.19444,0.69224,0,0,0.61111],"8901":[0,0.54986,0,0,0.27778],"8903":[0.08167,0.58167,0,0,0.77778],"8905":[0.08167,0.58167,0,0,0.77778],"8906":[0.08167,0.58167,0,0,0.77778],"8907":[0,0.69224,0,0,0.77778],"8908":[0,0.69224,0,0,0.77778],"8909":[-0.03598,0.46402,0,0,0.77778],"8910":[0,0.54986,0,0,0.76042],"8911":[0,0.54986,0,0,0.76042],"8912":[0.03517,0.54986,0,0,0.77778],"8913":[0.03517,0.54986,0,0,0.77778],"8914":[0,0.54986,0,0,0.66667],"8915":[0,0.54986,0,0,0.66667],"8916":[0,0.69224,0,0,0.66667],"8918":[0.0391,0.5391,0,0,0.77778],"8919":[0.0391,0.5391,0,0,0.77778],"8920":[0.03517,0.54986,0,0,1.33334],"8921":[0.03517,0.54986,0,0,1.33334],"8922":[0.38569,0.88569,0,0,0.77778],"8923":[0.38569,0.88569,0,0,0.77778],"8926":[0.13667,0.63667,0,0,0.77778],"8927":[0.13667,0.63667,0,0,0.77778],"8928":[0.30274,0.79383,0,0,0.77778],"8929":[0.30274,0.79383,0,0,0.77778],"8934":[0.23222,0.74111,0,0,0.77778],"8935":[0.23222,0.74111,0,0,0.77778],"8936":[0.23222,0.74111,0,0,0.77778],"8937":[0.23222,0.74111,0,0,0.77778],"8938":[0.20576,0.70576,0,0,0.77778],"8939":[0.20576,0.70576,0,0,0.77778],"8940":[0.30274,0.79383,0,0,0.77778],"8941":[0.30274,0.79383,0,0,0.77778],"8994":[0.19444,0.69224,0,0,0.77778],"8995":[0.19444,0.69224,0,0,0.77778],"9416":[0.15559,0.69224,0,0,0.90222],"9484":[0,0.69224,0,0,0.5],"9488":[0,0.69224,0,0,0.5],"9492":[0,0.37788,0,0,0.5],"9496":[0,0.37788,0,0,0.5],"9585":[0.19444,0.68889,0,0,0.88889],"9586":[0.19444,0.74111,0,0,0.88889],"9632":[0,0.675,0,0,0.77778],"9633":[0,0.675,0,0,0.77778],"9650":[0,0.54986,0,0,0.72222],"9651":[0,0.54986,0,0,0.72222],"9654":[0.03517,0.54986,0,0,0.77778],"9660":[0,0.54986,0,0,0.72222],"9661":[0,0.54986,0,0,0.72222],"9664":[0.03517,0.54986,0,0,0.77778],"9674":[0.11111,0.69224,0,0,0.66667],"9733":[0.19444,0.69224,0,0,0.94445],"10003":[0,0.69224,0,0,0.83334],"10016":[0,0.69224,0,0,0.83334],"10731":[0.11111,0.69224,0,0,0.66667],"10846":[0.19444,0.75583,0,0,0.61111],"10877":[0.13667,0.63667,0,0,0.77778],"10878":[0.13667,0.63667,0,0,0.77778],"10885":[0.25583,0.75583,0,0,0.77778],"10886":[0.25583,0.75583,0,0,0.77778],"10887":[0.13597,0.63597,0,0,0.77778],"10888":[0.13597,0.63597,0,0,0.77778],"10889":[0.26167,0.75726,0,0,0.77778],"10890":[0.26167,0.75726,0,0,0.77778],"10891":[0.48256,0.98256,0,0,0.77778],"10892":[0.48256,0.98256,0,0,0.77778],"10901":[0.13667,0.63667,0,0,0.77778],"10902":[0.13667,0.63667,0,0,0.77778],"10933":[0.25142,0.75726,0,0,0.77778],"10934":[0.25142,0.75726,0,0,0.77778],"10935":[0.26167,0.75726,0,0,0.77778],"10936":[0.26167,0.75726,0,0,0.77778],"10937":[0.26167,0.75726,0,0,0.77778],"10938":[0.26167,0.75726,0,0,0.77778],"10949":[0.25583,0.75583,0,0,0.77778],"10950":[0.25583,0.75583,0,0,0.77778],"10955":[0.28481,0.79383,0,0,0.77778],"10956":[0.28481,0.79383,0,0,0.77778],"57350":[0.08167,0.58167,0,0,0.22222],"57351":[0.08167,0.58167,0,0,0.38889],"57352":[0.08167,0.58167,0,0,0.77778],"57353":[0,0.43056,0.04028,0,0.66667],"57356":[0.25142,0.75726,0,0,0.77778],"57357":[0.25142,0.75726,0,0,0.77778],"57358":[0.41951,0.91951,0,0,0.77778],"57359":[0.30274,0.79383,0,0,0.77778],"57360":[0.30274,0.79383,0,0,0.77778],"57361":[0.41951,0.91951,0,0,0.77778],"57366":[0.25142,0.75726,0,0,0.77778],"57367":[0.25142,0.75726,0,0,0.77778],"57368":[0.25142,0.75726,0,0,0.77778],"57369":[0.25142,0.75726,0,0,0.77778],"57370":[0.13597,0.63597,0,0,0.77778],"57371":[0.13597,0.63597,0,0,0.77778]},"Caligraphic-Regular":{"32":[0,0,0,0,0.25],"65":[0,0.68333,0,0.19445,0.79847],"66":[0,0.68333,0.03041,0.13889,0.65681],"67":[0,0.68333,0.05834,0.13889,0.52653],"68":[0,0.68333,0.02778,0.08334,0.77139],"69":[0,0.68333,0.08944,0.11111,0.52778],"70":[0,0.68333,0.09931,0.11111,0.71875],"71":[0.09722,0.68333,0.0593,0.11111,0.59487],"72":[0,0.68333,0.00965,0.11111,0.84452],"73":[0,0.68333,0.07382,0,0.54452],"74":[0.09722,0.68333,0.18472,0.16667,0.67778],"75":[0,0.68333,0.01445,0.05556,0.76195],"76":[0,0.68333,0,0.13889,0.68972],"77":[0,0.68333,0,0.13889,1.2009],"78":[0,0.68333,0.14736,0.08334,0.82049],"79":[0,0.68333,0.02778,0.11111,0.79611],"80":[0,0.68333,0.08222,0.08334,0.69556],"81":[0.09722,0.68333,0,0.11111,0.81667],"82":[0,0.68333,0,0.08334,0.8475],"83":[0,0.68333,0.075,0.13889,0.60556],"84":[0,0.68333,0.25417,0,0.54464],"85":[0,0.68333,0.09931,0.08334,0.62583],"86":[0,0.68333,0.08222,0,0.61278],"87":[0,0.68333,0.08222,0.08334,0.98778],"88":[0,0.68333,0.14643,0.13889,0.7133],"89":[0.09722,0.68333,0.08222,0.08334,0.66834],"90":[0,0.68333,0.07944,0.13889,0.72473],"160":[0,0,0,0,0.25]},"Fraktur-Regular":{"32":[0,0,0,0,0.25],"33":[0,0.69141,0,0,0.29574],"34":[0,0.69141,0,0,0.21471],"38":[0,0.69141,0,0,0.73786],"39":[0,0.69141,0,0,0.21201],"40":[0.24982,0.74947,0,0,0.38865],"41":[0.24982,0.74947,0,0,0.38865],"42":[0,0.62119,0,0,0.27764],"43":[0.08319,0.58283,0,0,0.75623],"44":[0,0.10803,0,0,0.27764],"45":[0.08319,0.58283,0,0,0.75623],"46":[0,0.10803,0,0,0.27764],"47":[0.24982,0.74947,0,0,0.50181],"48":[0,0.47534,0,0,0.50181],"49":[0,0.47534,0,0,0.50181],"50":[0,0.47534,0,0,0.50181],"51":[0.18906,0.47534,0,0,0.50181],"52":[0.18906,0.47534,0,0,0.50181],"53":[0.18906,0.47534,0,0,0.50181],"54":[0,0.69141,0,0,0.50181],"55":[0.18906,0.47534,0,0,0.50181],"56":[0,0.69141,0,0,0.50181],"57":[0.18906,0.47534,0,0,0.50181],"58":[0,0.47534,0,0,0.21606],"59":[0.12604,0.47534,0,0,0.21606],"61":[-0.13099,0.36866,0,0,0.75623],"63":[0,0.69141,0,0,0.36245],"65":[0,0.69141,0,0,0.7176],"66":[0,0.69141,0,0,0.88397],"67":[0,0.69141,0,0,0.61254],"68":[0,0.69141,0,0,0.83158],"69":[0,0.69141,0,0,0.66278],"70":[0.12604,0.69141,0,0,0.61119],"71":[0,0.69141,0,0,0.78539],"72":[0.06302,0.69141,0,0,0.7203],"73":[0,0.69141,0,0,0.55448],"74":[0.12604,0.69141,0,0,0.55231],"75":[0,0.69141,0,0,0.66845],"76":[0,0.69141,0,0,0.66602],"77":[0,0.69141,0,0,1.04953],"78":[0,0.69141,0,0,0.83212],"79":[0,0.69141,0,0,0.82699],"80":[0.18906,0.69141,0,0,0.82753],"81":[0.03781,0.69141,0,0,0.82699],"82":[0,0.69141,0,0,0.82807],"83":[0,0.69141,0,0,0.82861],"84":[0,0.69141,0,0,0.66899],"85":[0,0.69141,0,0,0.64576],"86":[0,0.69141,0,0,0.83131],"87":[0,0.69141,0,0,1.04602],"88":[0,0.69141,0,0,0.71922],"89":[0.18906,0.69141,0,0,0.83293],"90":[0.12604,0.69141,0,0,0.60201],"91":[0.24982,0.74947,0,0,0.27764],"93":[0.24982,0.74947,0,0,0.27764],"94":[0,0.69141,0,0,0.49965],"97":[0,0.47534,0,0,0.50046],"98":[0,0.69141,0,0,0.51315],"99":[0,0.47534,0,0,0.38946],"100":[0,0.62119,0,0,0.49857],"101":[0,0.47534,0,0,0.40053],"102":[0.18906,0.69141,0,0,0.32626],"103":[0.18906,0.47534,0,0,0.5037],"104":[0.18906,0.69141,0,0,0.52126],"105":[0,0.69141,0,0,0.27899],"106":[0,0.69141,0,0,0.28088],"107":[0,0.69141,0,0,0.38946],"108":[0,0.69141,0,0,0.27953],"109":[0,0.47534,0,0,0.76676],"110":[0,0.47534,0,0,0.52666],"111":[0,0.47534,0,0,0.48885],"112":[0.18906,0.52396,0,0,0.50046],"113":[0.18906,0.47534,0,0,0.48912],"114":[0,0.47534,0,0,0.38919],"115":[0,0.47534,0,0,0.44266],"116":[0,0.62119,0,0,0.33301],"117":[0,0.47534,0,0,0.5172],"118":[0,0.52396,0,0,0.5118],"119":[0,0.52396,0,0,0.77351],"120":[0.18906,0.47534,0,0,0.38865],"121":[0.18906,0.47534,0,0,0.49884],"122":[0.18906,0.47534,0,0,0.39054],"160":[0,0,0,0,0.25],"8216":[0,0.69141,0,0,0.21471],"8217":[0,0.69141,0,0,0.21471],"58112":[0,0.62119,0,0,0.49749],"58113":[0,0.62119,0,0,0.4983],"58114":[0.18906,0.69141,0,0,0.33328],"58115":[0.18906,0.69141,0,0,0.32923],"58116":[0.18906,0.47534,0,0,0.50343],"58117":[0,0.69141,0,0,0.33301],"58118":[0,0.62119,0,0,0.33409],"58119":[0,0.47534,0,0,0.50073]},"Main-Bold":{"32":[0,0,0,0,0.25],"33":[0,0.69444,0,0,0.35],"34":[0,0.69444,0,0,0.60278],"35":[0.19444,0.69444,0,0,0.95833],"36":[0.05556,0.75,0,0,0.575],"37":[0.05556,0.75,0,0,0.95833],"38":[0,0.69444,0,0,0.89444],"39":[0,0.69444,0,0,0.31944],"40":[0.25,0.75,0,0,0.44722],"41":[0.25,0.75,0,0,0.44722],"42":[0,0.75,0,0,0.575],"43":[0.13333,0.63333,0,0,0.89444],"44":[0.19444,0.15556,0,0,0.31944],"45":[0,0.44444,0,0,0.38333],"46":[0,0.15556,0,0,0.31944],"47":[0.25,0.75,0,0,0.575],"48":[0,0.64444,0,0,0.575],"49":[0,0.64444,0,0,0.575],"50":[0,0.64444,0,0,0.575],"51":[0,0.64444,0,0,0.575],"52":[0,0.64444,0,0,0.575],"53":[0,0.64444,0,0,0.575],"54":[0,0.64444,0,0,0.575],"55":[0,0.64444,0,0,0.575],"56":[0,0.64444,0,0,0.575],"57":[0,0.64444,0,0,0.575],"58":[0,0.44444,0,0,0.31944],"59":[0.19444,0.44444,0,0,0.31944],"60":[0.08556,0.58556,0,0,0.89444],"61":[-0.10889,0.39111,0,0,0.89444],"62":[0.08556,0.58556,0,0,0.89444],"63":[0,0.69444,0,0,0.54305],"64":[0,0.69444,0,0,0.89444],"65":[0,0.68611,0,0,0.86944],"66":[0,0.68611,0,0,0.81805],"67":[0,0.68611,0,0,0.83055],"68":[0,0.68611,0,0,0.88194],"69":[0,0.68611,0,0,0.75555],"70":[0,0.68611,0,0,0.72361],"71":[0,0.68611,0,0,0.90416],"72":[0,0.68611,0,0,0.9],"73":[0,0.68611,0,0,0.43611],"74":[0,0.68611,0,0,0.59444],"75":[0,0.68611,0,0,0.90138],"76":[0,0.68611,0,0,0.69166],"77":[0,0.68611,0,0,1.09166],"78":[0,0.68611,0,0,0.9],"79":[0,0.68611,0,0,0.86388],"80":[0,0.68611,0,0,0.78611],"81":[0.19444,0.68611,0,0,0.86388],"82":[0,0.68611,0,0,0.8625],"83":[0,0.68611,0,0,0.63889],"84":[0,0.68611,0,0,0.8],"85":[0,0.68611,0,0,0.88472],"86":[0,0.68611,0.01597,0,0.86944],"87":[0,0.68611,0.01597,0,1.18888],"88":[0,0.68611,0,0,0.86944],"89":[0,0.68611,0.02875,0,0.86944],"90":[0,0.68611,0,0,0.70277],"91":[0.25,0.75,0,0,0.31944],"92":[0.25,0.75,0,0,0.575],"93":[0.25,0.75,0,0,0.31944],"94":[0,0.69444,0,0,0.575],"95":[0.31,0.13444,0.03194,0,0.575],"97":[0,0.44444,0,0,0.55902],"98":[0,0.69444,0,0,0.63889],"99":[0,0.44444,0,0,0.51111],"100":[0,0.69444,0,0,0.63889],"101":[0,0.44444,0,0,0.52708],"102":[0,0.69444,0.10903,0,0.35139],"103":[0.19444,0.44444,0.01597,0,0.575],"104":[0,0.69444,0,0,0.63889],"105":[0,0.69444,0,0,0.31944],"106":[0.19444,0.69444,0,0,0.35139],"107":[0,0.69444,0,0,0.60694],"108":[0,0.69444,0,0,0.31944],"109":[0,0.44444,0,0,0.95833],"110":[0,0.44444,0,0,0.63889],"111":[0,0.44444,0,0,0.575],"112":[0.19444,0.44444,0,0,0.63889],"113":[0.19444,0.44444,0,0,0.60694],"114":[0,0.44444,0,0,0.47361],"115":[0,0.44444,0,0,0.45361],"116":[0,0.63492,0,0,0.44722],"117":[0,0.44444,0,0,0.63889],"118":[0,0.44444,0.01597,0,0.60694],"119":[0,0.44444,0.01597,0,0.83055],"120":[0,0.44444,0,0,0.60694],"121":[0.19444,0.44444,0.01597,0,0.60694],"122":[0,0.44444,0,0,0.51111],"123":[0.25,0.75,0,0,0.575],"124":[0.25,0.75,0,0,0.31944],"125":[0.25,0.75,0,0,0.575],"126":[0.35,0.34444,0,0,0.575],"160":[0,0,0,0,0.25],"163":[0,0.69444,0,0,0.86853],"168":[0,0.69444,0,0,0.575],"172":[0,0.44444,0,0,0.76666],"176":[0,0.69444,0,0,0.86944],"177":[0.13333,0.63333,0,0,0.89444],"184":[0.17014,0,0,0,0.51111],"198":[0,0.68611,0,0,1.04166],"215":[0.13333,0.63333,0,0,0.89444],"216":[0.04861,0.73472,0,0,0.89444],"223":[0,0.69444,0,0,0.59722],"230":[0,0.44444,0,0,0.83055],"247":[0.13333,0.63333,0,0,0.89444],"248":[0.09722,0.54167,0,0,0.575],"305":[0,0.44444,0,0,0.31944],"338":[0,0.68611,0,0,1.16944],"339":[0,0.44444,0,0,0.89444],"567":[0.19444,0.44444,0,0,0.35139],"710":[0,0.69444,0,0,0.575],"711":[0,0.63194,0,0,0.575],"713":[0,0.59611,0,0,0.575],"714":[0,0.69444,0,0,0.575],"715":[0,0.69444,0,0,0.575],"728":[0,0.69444,0,0,0.575],"729":[0,0.69444,0,0,0.31944],"730":[0,0.69444,0,0,0.86944],"732":[0,0.69444,0,0,0.575],"733":[0,0.69444,0,0,0.575],"915":[0,0.68611,0,0,0.69166],"916":[0,0.68611,0,0,0.95833],"920":[0,0.68611,0,0,0.89444],"923":[0,0.68611,0,0,0.80555],"926":[0,0.68611,0,0,0.76666],"928":[0,0.68611,0,0,0.9],"931":[0,0.68611,0,0,0.83055],"933":[0,0.68611,0,0,0.89444],"934":[0,0.68611,0,0,0.83055],"936":[0,0.68611,0,0,0.89444],"937":[0,0.68611,0,0,0.83055],"8211":[0,0.44444,0.03194,0,0.575],"8212":[0,0.44444,0.03194,0,1.14999],"8216":[0,0.69444,0,0,0.31944],"8217":[0,0.69444,0,0,0.31944],"8220":[0,0.69444,0,0,0.60278],"8221":[0,0.69444,0,0,0.60278],"8224":[0.19444,0.69444,0,0,0.51111],"8225":[0.19444,0.69444,0,0,0.51111],"8242":[0,0.55556,0,0,0.34444],"8407":[0,0.72444,0.15486,0,0.575],"8463":[0,0.69444,0,0,0.66759],"8465":[0,0.69444,0,0,0.83055],"8467":[0,0.69444,0,0,0.47361],"8472":[0.19444,0.44444,0,0,0.74027],"8476":[0,0.69444,0,0,0.83055],"8501":[0,0.69444,0,0,0.70277],"8592":[-0.10889,0.39111,0,0,1.14999],"8593":[0.19444,0.69444,0,0,0.575],"8594":[-0.10889,0.39111,0,0,1.14999],"8595":[0.19444,0.69444,0,0,0.575],"8596":[-0.10889,0.39111,0,0,1.14999],"8597":[0.25,0.75,0,0,0.575],"8598":[0.19444,0.69444,0,0,1.14999],"8599":[0.19444,0.69444,0,0,1.14999],"8600":[0.19444,0.69444,0,0,1.14999],"8601":[0.19444,0.69444,0,0,1.14999],"8636":[-0.10889,0.39111,0,0,1.14999],"8637":[-0.10889,0.39111,0,0,1.14999],"8640":[-0.10889,0.39111,0,0,1.14999],"8641":[-0.10889,0.39111,0,0,1.14999],"8656":[-0.10889,0.39111,0,0,1.14999],"8657":[0.19444,0.69444,0,0,0.70277],"8658":[-0.10889,0.39111,0,0,1.14999],"8659":[0.19444,0.69444,0,0,0.70277],"8660":[-0.10889,0.39111,0,0,1.14999],"8661":[0.25,0.75,0,0,0.70277],"8704":[0,0.69444,0,0,0.63889],"8706":[0,0.69444,0.06389,0,0.62847],"8707":[0,0.69444,0,0,0.63889],"8709":[0.05556,0.75,0,0,0.575],"8711":[0,0.68611,0,0,0.95833],"8712":[0.08556,0.58556,0,0,0.76666],"8715":[0.08556,0.58556,0,0,0.76666],"8722":[0.13333,0.63333,0,0,0.89444],"8723":[0.13333,0.63333,0,0,0.89444],"8725":[0.25,0.75,0,0,0.575],"8726":[0.25,0.75,0,0,0.575],"8727":[-0.02778,0.47222,0,0,0.575],"8728":[-0.02639,0.47361,0,0,0.575],"8729":[-0.02639,0.47361,0,0,0.575],"8730":[0.18,0.82,0,0,0.95833],"8733":[0,0.44444,0,0,0.89444],"8734":[0,0.44444,0,0,1.14999],"8736":[0,0.69224,0,0,0.72222],"8739":[0.25,0.75,0,0,0.31944],"8741":[0.25,0.75,0,0,0.575],"8743":[0,0.55556,0,0,0.76666],"8744":[0,0.55556,0,0,0.76666],"8745":[0,0.55556,0,0,0.76666],"8746":[0,0.55556,0,0,0.76666],"8747":[0.19444,0.69444,0.12778,0,0.56875],"8764":[-0.10889,0.39111,0,0,0.89444],"8768":[0.19444,0.69444,0,0,0.31944],"8771":[0.00222,0.50222,0,0,0.89444],"8773":[0.027,0.638,0,0,0.894],"8776":[0.02444,0.52444,0,0,0.89444],"8781":[0.00222,0.50222,0,0,0.89444],"8801":[0.00222,0.50222,0,0,0.89444],"8804":[0.19667,0.69667,0,0,0.89444],"8805":[0.19667,0.69667,0,0,0.89444],"8810":[0.08556,0.58556,0,0,1.14999],"8811":[0.08556,0.58556,0,0,1.14999],"8826":[0.08556,0.58556,0,0,0.89444],"8827":[0.08556,0.58556,0,0,0.89444],"8834":[0.08556,0.58556,0,0,0.89444],"8835":[0.08556,0.58556,0,0,0.89444],"8838":[0.19667,0.69667,0,0,0.89444],"8839":[0.19667,0.69667,0,0,0.89444],"8846":[0,0.55556,0,0,0.76666],"8849":[0.19667,0.69667,0,0,0.89444],"8850":[0.19667,0.69667,0,0,0.89444],"8851":[0,0.55556,0,0,0.76666],"8852":[0,0.55556,0,0,0.76666],"8853":[0.13333,0.63333,0,0,0.89444],"8854":[0.13333,0.63333,0,0,0.89444],"8855":[0.13333,0.63333,0,0,0.89444],"8856":[0.13333,0.63333,0,0,0.89444],"8857":[0.13333,0.63333,0,0,0.89444],"8866":[0,0.69444,0,0,0.70277],"8867":[0,0.69444,0,0,0.70277],"8868":[0,0.69444,0,0,0.89444],"8869":[0,0.69444,0,0,0.89444],"8900":[-0.02639,0.47361,0,0,0.575],"8901":[-0.02639,0.47361,0,0,0.31944],"8902":[-0.02778,0.47222,0,0,0.575],"8968":[0.25,0.75,0,0,0.51111],"8969":[0.25,0.75,0,0,0.51111],"8970":[0.25,0.75,0,0,0.51111],"8971":[0.25,0.75,0,0,0.51111],"8994":[-0.13889,0.36111,0,0,1.14999],"8995":[-0.13889,0.36111,0,0,1.14999],"9651":[0.19444,0.69444,0,0,1.02222],"9657":[-0.02778,0.47222,0,0,0.575],"9661":[0.19444,0.69444,0,0,1.02222],"9667":[-0.02778,0.47222,0,0,0.575],"9711":[0.19444,0.69444,0,0,1.14999],"9824":[0.12963,0.69444,0,0,0.89444],"9825":[0.12963,0.69444,0,0,0.89444],"9826":[0.12963,0.69444,0,0,0.89444],"9827":[0.12963,0.69444,0,0,0.89444],"9837":[0,0.75,0,0,0.44722],"9838":[0.19444,0.69444,0,0,0.44722],"9839":[0.19444,0.69444,0,0,0.44722],"10216":[0.25,0.75,0,0,0.44722],"10217":[0.25,0.75,0,0,0.44722],"10815":[0,0.68611,0,0,0.9],"10927":[0.19667,0.69667,0,0,0.89444],"10928":[0.19667,0.69667,0,0,0.89444],"57376":[0.19444,0.69444,0,0,0]},"Main-BoldItalic":{"32":[0,0,0,0,0.25],"33":[0,0.69444,0.11417,0,0.38611],"34":[0,0.69444,0.07939,0,0.62055],"35":[0.19444,0.69444,0.06833,0,0.94444],"37":[0.05556,0.75,0.12861,0,0.94444],"38":[0,0.69444,0.08528,0,0.88555],"39":[0,0.69444,0.12945,0,0.35555],"40":[0.25,0.75,0.15806,0,0.47333],"41":[0.25,0.75,0.03306,0,0.47333],"42":[0,0.75,0.14333,0,0.59111],"43":[0.10333,0.60333,0.03306,0,0.88555],"44":[0.19444,0.14722,0,0,0.35555],"45":[0,0.44444,0.02611,0,0.41444],"46":[0,0.14722,0,0,0.35555],"47":[0.25,0.75,0.15806,0,0.59111],"48":[0,0.64444,0.13167,0,0.59111],"49":[0,0.64444,0.13167,0,0.59111],"50":[0,0.64444,0.13167,0,0.59111],"51":[0,0.64444,0.13167,0,0.59111],"52":[0.19444,0.64444,0.13167,0,0.59111],"53":[0,0.64444,0.13167,0,0.59111],"54":[0,0.64444,0.13167,0,0.59111],"55":[0.19444,0.64444,0.13167,0,0.59111],"56":[0,0.64444,0.13167,0,0.59111],"57":[0,0.64444,0.13167,0,0.59111],"58":[0,0.44444,0.06695,0,0.35555],"59":[0.19444,0.44444,0.06695,0,0.35555],"61":[-0.10889,0.39111,0.06833,0,0.88555],"63":[0,0.69444,0.11472,0,0.59111],"64":[0,0.69444,0.09208,0,0.88555],"65":[0,0.68611,0,0,0.86555],"66":[0,0.68611,0.0992,0,0.81666],"67":[0,0.68611,0.14208,0,0.82666],"68":[0,0.68611,0.09062,0,0.87555],"69":[0,0.68611,0.11431,0,0.75666],"70":[0,0.68611,0.12903,0,0.72722],"71":[0,0.68611,0.07347,0,0.89527],"72":[0,0.68611,0.17208,0,0.8961],"73":[0,0.68611,0.15681,0,0.47166],"74":[0,0.68611,0.145,0,0.61055],"75":[0,0.68611,0.14208,0,0.89499],"76":[0,0.68611,0,0,0.69777],"77":[0,0.68611,0.17208,0,1.07277],"78":[0,0.68611,0.17208,0,0.8961],"79":[0,0.68611,0.09062,0,0.85499],"80":[0,0.68611,0.0992,0,0.78721],"81":[0.19444,0.68611,0.09062,0,0.85499],"82":[0,0.68611,0.02559,0,0.85944],"83":[0,0.68611,0.11264,0,0.64999],"84":[0,0.68611,0.12903,0,0.7961],"85":[0,0.68611,0.17208,0,0.88083],"86":[0,0.68611,0.18625,0,0.86555],"87":[0,0.68611,0.18625,0,1.15999],"88":[0,0.68611,0.15681,0,0.86555],"89":[0,0.68611,0.19803,0,0.86555],"90":[0,0.68611,0.14208,0,0.70888],"91":[0.25,0.75,0.1875,0,0.35611],"93":[0.25,0.75,0.09972,0,0.35611],"94":[0,0.69444,0.06709,0,0.59111],"95":[0.31,0.13444,0.09811,0,0.59111],"97":[0,0.44444,0.09426,0,0.59111],"98":[0,0.69444,0.07861,0,0.53222],"99":[0,0.44444,0.05222,0,0.53222],"100":[0,0.69444,0.10861,0,0.59111],"101":[0,0.44444,0.085,0,0.53222],"102":[0.19444,0.69444,0.21778,0,0.4],"103":[0.19444,0.44444,0.105,0,0.53222],"104":[0,0.69444,0.09426,0,0.59111],"105":[0,0.69326,0.11387,0,0.35555],"106":[0.19444,0.69326,0.1672,0,0.35555],"107":[0,0.69444,0.11111,0,0.53222],"108":[0,0.69444,0.10861,0,0.29666],"109":[0,0.44444,0.09426,0,0.94444],"110":[0,0.44444,0.09426,0,0.64999],"111":[0,0.44444,0.07861,0,0.59111],"112":[0.19444,0.44444,0.07861,0,0.59111],"113":[0.19444,0.44444,0.105,0,0.53222],"114":[0,0.44444,0.11111,0,0.50167],"115":[0,0.44444,0.08167,0,0.48694],"116":[0,0.63492,0.09639,0,0.385],"117":[0,0.44444,0.09426,0,0.62055],"118":[0,0.44444,0.11111,0,0.53222],"119":[0,0.44444,0.11111,0,0.76777],"120":[0,0.44444,0.12583,0,0.56055],"121":[0.19444,0.44444,0.105,0,0.56166],"122":[0,0.44444,0.13889,0,0.49055],"126":[0.35,0.34444,0.11472,0,0.59111],"160":[0,0,0,0,0.25],"168":[0,0.69444,0.11473,0,0.59111],"176":[0,0.69444,0,0,0.94888],"184":[0.17014,0,0,0,0.53222],"198":[0,0.68611,0.11431,0,1.02277],"216":[0.04861,0.73472,0.09062,0,0.88555],"223":[0.19444,0.69444,0.09736,0,0.665],"230":[0,0.44444,0.085,0,0.82666],"248":[0.09722,0.54167,0.09458,0,0.59111],"305":[0,0.44444,0.09426,0,0.35555],"338":[0,0.68611,0.11431,0,1.14054],"339":[0,0.44444,0.085,0,0.82666],"567":[0.19444,0.44444,0.04611,0,0.385],"710":[0,0.69444,0.06709,0,0.59111],"711":[0,0.63194,0.08271,0,0.59111],"713":[0,0.59444,0.10444,0,0.59111],"714":[0,0.69444,0.08528,0,0.59111],"715":[0,0.69444,0,0,0.59111],"728":[0,0.69444,0.10333,0,0.59111],"729":[0,0.69444,0.12945,0,0.35555],"730":[0,0.69444,0,0,0.94888],"732":[0,0.69444,0.11472,0,0.59111],"733":[0,0.69444,0.11472,0,0.59111],"915":[0,0.68611,0.12903,0,0.69777],"916":[0,0.68611,0,0,0.94444],"920":[0,0.68611,0.09062,0,0.88555],"923":[0,0.68611,0,0,0.80666],"926":[0,0.68611,0.15092,0,0.76777],"928":[0,0.68611,0.17208,0,0.8961],"931":[0,0.68611,0.11431,0,0.82666],"933":[0,0.68611,0.10778,0,0.88555],"934":[0,0.68611,0.05632,0,0.82666],"936":[0,0.68611,0.10778,0,0.88555],"937":[0,0.68611,0.0992,0,0.82666],"8211":[0,0.44444,0.09811,0,0.59111],"8212":[0,0.44444,0.09811,0,1.18221],"8216":[0,0.69444,0.12945,0,0.35555],"8217":[0,0.69444,0.12945,0,0.35555],"8220":[0,0.69444,0.16772,0,0.62055],"8221":[0,0.69444,0.07939,0,0.62055]},"Main-Italic":{"32":[0,0,0,0,0.25],"33":[0,0.69444,0.12417,0,0.30667],"34":[0,0.69444,0.06961,0,0.51444],"35":[0.19444,0.69444,0.06616,0,0.81777],"37":[0.05556,0.75,0.13639,0,0.81777],"38":[0,0.69444,0.09694,0,0.76666],"39":[0,0.69444,0.12417,0,0.30667],"40":[0.25,0.75,0.16194,0,0.40889],"41":[0.25,0.75,0.03694,0,0.40889],"42":[0,0.75,0.14917,0,0.51111],"43":[0.05667,0.56167,0.03694,0,0.76666],"44":[0.19444,0.10556,0,0,0.30667],"45":[0,0.43056,0.02826,0,0.35778],"46":[0,0.10556,0,0,0.30667],"47":[0.25,0.75,0.16194,0,0.51111],"48":[0,0.64444,0.13556,0,0.51111],"49":[0,0.64444,0.13556,0,0.51111],"50":[0,0.64444,0.13556,0,0.51111],"51":[0,0.64444,0.13556,0,0.51111],"52":[0.19444,0.64444,0.13556,0,0.51111],"53":[0,0.64444,0.13556,0,0.51111],"54":[0,0.64444,0.13556,0,0.51111],"55":[0.19444,0.64444,0.13556,0,0.51111],"56":[0,0.64444,0.13556,0,0.51111],"57":[0,0.64444,0.13556,0,0.51111],"58":[0,0.43056,0.0582,0,0.30667],"59":[0.19444,0.43056,0.0582,0,0.30667],"61":[-0.13313,0.36687,0.06616,0,0.76666],"63":[0,0.69444,0.1225,0,0.51111],"64":[0,0.69444,0.09597,0,0.76666],"65":[0,0.68333,0,0,0.74333],"66":[0,0.68333,0.10257,0,0.70389],"67":[0,0.68333,0.14528,0,0.71555],"68":[0,0.68333,0.09403,0,0.755],"69":[0,0.68333,0.12028,0,0.67833],"70":[0,0.68333,0.13305,0,0.65277],"71":[0,0.68333,0.08722,0,0.77361],"72":[0,0.68333,0.16389,0,0.74333],"73":[0,0.68333,0.15806,0,0.38555],"74":[0,0.68333,0.14028,0,0.525],"75":[0,0.68333,0.14528,0,0.76888],"76":[0,0.68333,0,0,0.62722],"77":[0,0.68333,0.16389,0,0.89666],"78":[0,0.68333,0.16389,0,0.74333],"79":[0,0.68333,0.09403,0,0.76666],"80":[0,0.68333,0.10257,0,0.67833],"81":[0.19444,0.68333,0.09403,0,0.76666],"82":[0,0.68333,0.03868,0,0.72944],"83":[0,0.68333,0.11972,0,0.56222],"84":[0,0.68333,0.13305,0,0.71555],"85":[0,0.68333,0.16389,0,0.74333],"86":[0,0.68333,0.18361,0,0.74333],"87":[0,0.68333,0.18361,0,0.99888],"88":[0,0.68333,0.15806,0,0.74333],"89":[0,0.68333,0.19383,0,0.74333],"90":[0,0.68333,0.14528,0,0.61333],"91":[0.25,0.75,0.1875,0,0.30667],"93":[0.25,0.75,0.10528,0,0.30667],"94":[0,0.69444,0.06646,0,0.51111],"95":[0.31,0.12056,0.09208,0,0.51111],"97":[0,0.43056,0.07671,0,0.51111],"98":[0,0.69444,0.06312,0,0.46],"99":[0,0.43056,0.05653,0,0.46],"100":[0,0.69444,0.10333,0,0.51111],"101":[0,0.43056,0.07514,0,0.46],"102":[0.19444,0.69444,0.21194,0,0.30667],"103":[0.19444,0.43056,0.08847,0,0.46],"104":[0,0.69444,0.07671,0,0.51111],"105":[0,0.65536,0.1019,0,0.30667],"106":[0.19444,0.65536,0.14467,0,0.30667],"107":[0,0.69444,0.10764,0,0.46],"108":[0,0.69444,0.10333,0,0.25555],"109":[0,0.43056,0.07671,0,0.81777],"110":[0,0.43056,0.07671,0,0.56222],"111":[0,0.43056,0.06312,0,0.51111],"112":[0.19444,0.43056,0.06312,0,0.51111],"113":[0.19444,0.43056,0.08847,0,0.46],"114":[0,0.43056,0.10764,0,0.42166],"115":[0,0.43056,0.08208,0,0.40889],"116":[0,0.61508,0.09486,0,0.33222],"117":[0,0.43056,0.07671,0,0.53666],"118":[0,0.43056,0.10764,0,0.46],"119":[0,0.43056,0.10764,0,0.66444],"120":[0,0.43056,0.12042,0,0.46389],"121":[0.19444,0.43056,0.08847,0,0.48555],"122":[0,0.43056,0.12292,0,0.40889],"126":[0.35,0.31786,0.11585,0,0.51111],"160":[0,0,0,0,0.25],"168":[0,0.66786,0.10474,0,0.51111],"176":[0,0.69444,0,0,0.83129],"184":[0.17014,0,0,0,0.46],"198":[0,0.68333,0.12028,0,0.88277],"216":[0.04861,0.73194,0.09403,0,0.76666],"223":[0.19444,0.69444,0.10514,0,0.53666],"230":[0,0.43056,0.07514,0,0.71555],"248":[0.09722,0.52778,0.09194,0,0.51111],"338":[0,0.68333,0.12028,0,0.98499],"339":[0,0.43056,0.07514,0,0.71555],"710":[0,0.69444,0.06646,0,0.51111],"711":[0,0.62847,0.08295,0,0.51111],"713":[0,0.56167,0.10333,0,0.51111],"714":[0,0.69444,0.09694,0,0.51111],"715":[0,0.69444,0,0,0.51111],"728":[0,0.69444,0.10806,0,0.51111],"729":[0,0.66786,0.11752,0,0.30667],"730":[0,0.69444,0,0,0.83129],"732":[0,0.66786,0.11585,0,0.51111],"733":[0,0.69444,0.1225,0,0.51111],"915":[0,0.68333,0.13305,0,0.62722],"916":[0,0.68333,0,0,0.81777],"920":[0,0.68333,0.09403,0,0.76666],"923":[0,0.68333,0,0,0.69222],"926":[0,0.68333,0.15294,0,0.66444],"928":[0,0.68333,0.16389,0,0.74333],"931":[0,0.68333,0.12028,0,0.71555],"933":[0,0.68333,0.11111,0,0.76666],"934":[0,0.68333,0.05986,0,0.71555],"936":[0,0.68333,0.11111,0,0.76666],"937":[0,0.68333,0.10257,0,0.71555],"8211":[0,0.43056,0.09208,0,0.51111],"8212":[0,0.43056,0.09208,0,1.02222],"8216":[0,0.69444,0.12417,0,0.30667],"8217":[0,0.69444,0.12417,0,0.30667],"8220":[0,0.69444,0.1685,0,0.51444],"8221":[0,0.69444,0.06961,0,0.51444],"8463":[0,0.68889,0,0,0.54028]},"Main-Regular":{"32":[0,0,0,0,0.25],"33":[0,0.69444,0,0,0.27778],"34":[0,0.69444,0,0,0.5],"35":[0.19444,0.69444,0,0,0.83334],"36":[0.05556,0.75,0,0,0.5],"37":[0.05556,0.75,0,0,0.83334],"38":[0,0.69444,0,0,0.77778],"39":[0,0.69444,0,0,0.27778],"40":[0.25,0.75,0,0,0.38889],"41":[0.25,0.75,0,0,0.38889],"42":[0,0.75,0,0,0.5],"43":[0.08333,0.58333,0,0,0.77778],"44":[0.19444,0.10556,0,0,0.27778],"45":[0,0.43056,0,0,0.33333],"46":[0,0.10556,0,0,0.27778],"47":[0.25,0.75,0,0,0.5],"48":[0,0.64444,0,0,0.5],"49":[0,0.64444,0,0,0.5],"50":[0,0.64444,0,0,0.5],"51":[0,0.64444,0,0,0.5],"52":[0,0.64444,0,0,0.5],"53":[0,0.64444,0,0,0.5],"54":[0,0.64444,0,0,0.5],"55":[0,0.64444,0,0,0.5],"56":[0,0.64444,0,0,0.5],"57":[0,0.64444,0,0,0.5],"58":[0,0.43056,0,0,0.27778],"59":[0.19444,0.43056,0,0,0.27778],"60":[0.0391,0.5391,0,0,0.77778],"61":[-0.13313,0.36687,0,0,0.77778],"62":[0.0391,0.5391,0,0,0.77778],"63":[0,0.69444,0,0,0.47222],"64":[0,0.69444,0,0,0.77778],"65":[0,0.68333,0,0,0.75],"66":[0,0.68333,0,0,0.70834],"67":[0,0.68333,0,0,0.72222],"68":[0,0.68333,0,0,0.76389],"69":[0,0.68333,0,0,0.68056],"70":[0,0.68333,0,0,0.65278],"71":[0,0.68333,0,0,0.78472],"72":[0,0.68333,0,0,0.75],"73":[0,0.68333,0,0,0.36111],"74":[0,0.68333,0,0,0.51389],"75":[0,0.68333,0,0,0.77778],"76":[0,0.68333,0,0,0.625],"77":[0,0.68333,0,0,0.91667],"78":[0,0.68333,0,0,0.75],"79":[0,0.68333,0,0,0.77778],"80":[0,0.68333,0,0,0.68056],"81":[0.19444,0.68333,0,0,0.77778],"82":[0,0.68333,0,0,0.73611],"83":[0,0.68333,0,0,0.55556],"84":[0,0.68333,0,0,0.72222],"85":[0,0.68333,0,0,0.75],"86":[0,0.68333,0.01389,0,0.75],"87":[0,0.68333,0.01389,0,1.02778],"88":[0,0.68333,0,0,0.75],"89":[0,0.68333,0.025,0,0.75],"90":[0,0.68333,0,0,0.61111],"91":[0.25,0.75,0,0,0.27778],"92":[0.25,0.75,0,0,0.5],"93":[0.25,0.75,0,0,0.27778],"94":[0,0.69444,0,0,0.5],"95":[0.31,0.12056,0.02778,0,0.5],"97":[0,0.43056,0,0,0.5],"98":[0,0.69444,0,0,0.55556],"99":[0,0.43056,0,0,0.44445],"100":[0,0.69444,0,0,0.55556],"101":[0,0.43056,0,0,0.44445],"102":[0,0.69444,0.07778,0,0.30556],"103":[0.19444,0.43056,0.01389,0,0.5],"104":[0,0.69444,0,0,0.55556],"105":[0,0.66786,0,0,0.27778],"106":[0.19444,0.66786,0,0,0.30556],"107":[0,0.69444,0,0,0.52778],"108":[0,0.69444,0,0,0.27778],"109":[0,0.43056,0,0,0.83334],"110":[0,0.43056,0,0,0.55556],"111":[0,0.43056,0,0,0.5],"112":[0.19444,0.43056,0,0,0.55556],"113":[0.19444,0.43056,0,0,0.52778],"114":[0,0.43056,0,0,0.39167],"115":[0,0.43056,0,0,0.39445],"116":[0,0.61508,0,0,0.38889],"117":[0,0.43056,0,0,0.55556],"118":[0,0.43056,0.01389,0,0.52778],"119":[0,0.43056,0.01389,0,0.72222],"120":[0,0.43056,0,0,0.52778],"121":[0.19444,0.43056,0.01389,0,0.52778],"122":[0,0.43056,0,0,0.44445],"123":[0.25,0.75,0,0,0.5],"124":[0.25,0.75,0,0,0.27778],"125":[0.25,0.75,0,0,0.5],"126":[0.35,0.31786,0,0,0.5],"160":[0,0,0,0,0.25],"163":[0,0.69444,0,0,0.76909],"167":[0.19444,0.69444,0,0,0.44445],"168":[0,0.66786,0,0,0.5],"172":[0,0.43056,0,0,0.66667],"176":[0,0.69444,0,0,0.75],"177":[0.08333,0.58333,0,0,0.77778],"182":[0.19444,0.69444,0,0,0.61111],"184":[0.17014,0,0,0,0.44445],"198":[0,0.68333,0,0,0.90278],"215":[0.08333,0.58333,0,0,0.77778],"216":[0.04861,0.73194,0,0,0.77778],"223":[0,0.69444,0,0,0.5],"230":[0,0.43056,0,0,0.72222],"247":[0.08333,0.58333,0,0,0.77778],"248":[0.09722,0.52778,0,0,0.5],"305":[0,0.43056,0,0,0.27778],"338":[0,0.68333,0,0,1.01389],"339":[0,0.43056,0,0,0.77778],"567":[0.19444,0.43056,0,0,0.30556],"710":[0,0.69444,0,0,0.5],"711":[0,0.62847,0,0,0.5],"713":[0,0.56778,0,0,0.5],"714":[0,0.69444,0,0,0.5],"715":[0,0.69444,0,0,0.5],"728":[0,0.69444,0,0,0.5],"729":[0,0.66786,0,0,0.27778],"730":[0,0.69444,0,0,0.75],"732":[0,0.66786,0,0,0.5],"733":[0,0.69444,0,0,0.5],"915":[0,0.68333,0,0,0.625],"916":[0,0.68333,0,0,0.83334],"920":[0,0.68333,0,0,0.77778],"923":[0,0.68333,0,0,0.69445],"926":[0,0.68333,0,0,0.66667],"928":[0,0.68333,0,0,0.75],"931":[0,0.68333,0,0,0.72222],"933":[0,0.68333,0,0,0.77778],"934":[0,0.68333,0,0,0.72222],"936":[0,0.68333,0,0,0.77778],"937":[0,0.68333,0,0,0.72222],"8211":[0,0.43056,0.02778,0,0.5],"8212":[0,0.43056,0.02778,0,1],"8216":[0,0.69444,0,0,0.27778],"8217":[0,0.69444,0,0,0.27778],"8220":[0,0.69444,0,0,0.5],"8221":[0,0.69444,0,0,0.5],"8224":[0.19444,0.69444,0,0,0.44445],"8225":[0.19444,0.69444,0,0,0.44445],"8230":[0,0.123,0,0,1.172],"8242":[0,0.55556,0,0,0.275],"8407":[0,0.71444,0.15382,0,0.5],"8463":[0,0.68889,0,0,0.54028],"8465":[0,0.69444,0,0,0.72222],"8467":[0,0.69444,0,0.11111,0.41667],"8472":[0.19444,0.43056,0,0.11111,0.63646],"8476":[0,0.69444,0,0,0.72222],"8501":[0,0.69444,0,0,0.61111],"8592":[-0.13313,0.36687,0,0,1],"8593":[0.19444,0.69444,0,0,0.5],"8594":[-0.13313,0.36687,0,0,1],"8595":[0.19444,0.69444,0,0,0.5],"8596":[-0.13313,0.36687,0,0,1],"8597":[0.25,0.75,0,0,0.5],"8598":[0.19444,0.69444,0,0,1],"8599":[0.19444,0.69444,0,0,1],"8600":[0.19444,0.69444,0,0,1],"8601":[0.19444,0.69444,0,0,1],"8614":[0.011,0.511,0,0,1],"8617":[0.011,0.511,0,0,1.126],"8618":[0.011,0.511,0,0,1.126],"8636":[-0.13313,0.36687,0,0,1],"8637":[-0.13313,0.36687,0,0,1],"8640":[-0.13313,0.36687,0,0,1],"8641":[-0.13313,0.36687,0,0,1],"8652":[0.011,0.671,0,0,1],"8656":[-0.13313,0.36687,0,0,1],"8657":[0.19444,0.69444,0,0,0.61111],"8658":[-0.13313,0.36687,0,0,1],"8659":[0.19444,0.69444,0,0,0.61111],"8660":[-0.13313,0.36687,0,0,1],"8661":[0.25,0.75,0,0,0.61111],"8704":[0,0.69444,0,0,0.55556],"8706":[0,0.69444,0.05556,0.08334,0.5309],"8707":[0,0.69444,0,0,0.55556],"8709":[0.05556,0.75,0,0,0.5],"8711":[0,0.68333,0,0,0.83334],"8712":[0.0391,0.5391,0,0,0.66667],"8715":[0.0391,0.5391,0,0,0.66667],"8722":[0.08333,0.58333,0,0,0.77778],"8723":[0.08333,0.58333,0,0,0.77778],"8725":[0.25,0.75,0,0,0.5],"8726":[0.25,0.75,0,0,0.5],"8727":[-0.03472,0.46528,0,0,0.5],"8728":[-0.05555,0.44445,0,0,0.5],"8729":[-0.05555,0.44445,0,0,0.5],"8730":[0.2,0.8,0,0,0.83334],"8733":[0,0.43056,0,0,0.77778],"8734":[0,0.43056,0,0,1],"8736":[0,0.69224,0,0,0.72222],"8739":[0.25,0.75,0,0,0.27778],"8741":[0.25,0.75,0,0,0.5],"8743":[0,0.55556,0,0,0.66667],"8744":[0,0.55556,0,0,0.66667],"8745":[0,0.55556,0,0,0.66667],"8746":[0,0.55556,0,0,0.66667],"8747":[0.19444,0.69444,0.11111,0,0.41667],"8764":[-0.13313,0.36687,0,0,0.77778],"8768":[0.19444,0.69444,0,0,0.27778],"8771":[-0.03625,0.46375,0,0,0.77778],"8773":[-0.022,0.589,0,0,0.778],"8776":[-0.01688,0.48312,0,0,0.77778],"8781":[-0.03625,0.46375,0,0,0.77778],"8784":[-0.133,0.673,0,0,0.778],"8801":[-0.03625,0.46375,0,0,0.77778],"8804":[0.13597,0.63597,0,0,0.77778],"8805":[0.13597,0.63597,0,0,0.77778],"8810":[0.0391,0.5391,0,0,1],"8811":[0.0391,0.5391,0,0,1],"8826":[0.0391,0.5391,0,0,0.77778],"8827":[0.0391,0.5391,0,0,0.77778],"8834":[0.0391,0.5391,0,0,0.77778],"8835":[0.0391,0.5391,0,0,0.77778],"8838":[0.13597,0.63597,0,0,0.77778],"8839":[0.13597,0.63597,0,0,0.77778],"8846":[0,0.55556,0,0,0.66667],"8849":[0.13597,0.63597,0,0,0.77778],"8850":[0.13597,0.63597,0,0,0.77778],"8851":[0,0.55556,0,0,0.66667],"8852":[0,0.55556,0,0,0.66667],"8853":[0.08333,0.58333,0,0,0.77778],"8854":[0.08333,0.58333,0,0,0.77778],"8855":[0.08333,0.58333,0,0,0.77778],"8856":[0.08333,0.58333,0,0,0.77778],"8857":[0.08333,0.58333,0,0,0.77778],"8866":[0,0.69444,0,0,0.61111],"8867":[0,0.69444,0,0,0.61111],"8868":[0,0.69444,0,0,0.77778],"8869":[0,0.69444,0,0,0.77778],"8872":[0.249,0.75,0,0,0.867],"8900":[-0.05555,0.44445,0,0,0.5],"8901":[-0.05555,0.44445,0,0,0.27778],"8902":[-0.03472,0.46528,0,0,0.5],"8904":[0.005,0.505,0,0,0.9],"8942":[0.03,0.903,0,0,0.278],"8943":[-0.19,0.313,0,0,1.172],"8945":[-0.1,0.823,0,0,1.282],"8968":[0.25,0.75,0,0,0.44445],"8969":[0.25,0.75,0,0,0.44445],"8970":[0.25,0.75,0,0,0.44445],"8971":[0.25,0.75,0,0,0.44445],"8994":[-0.14236,0.35764,0,0,1],"8995":[-0.14236,0.35764,0,0,1],"9136":[0.244,0.744,0,0,0.412],"9137":[0.244,0.745,0,0,0.412],"9651":[0.19444,0.69444,0,0,0.88889],"9657":[-0.03472,0.46528,0,0,0.5],"9661":[0.19444,0.69444,0,0,0.88889],"9667":[-0.03472,0.46528,0,0,0.5],"9711":[0.19444,0.69444,0,0,1],"9824":[0.12963,0.69444,0,0,0.77778],"9825":[0.12963,0.69444,0,0,0.77778],"9826":[0.12963,0.69444,0,0,0.77778],"9827":[0.12963,0.69444,0,0,0.77778],"9837":[0,0.75,0,0,0.38889],"9838":[0.19444,0.69444,0,0,0.38889],"9839":[0.19444,0.69444,0,0,0.38889],"10216":[0.25,0.75,0,0,0.38889],"10217":[0.25,0.75,0,0,0.38889],"10222":[0.244,0.744,0,0,0.412],"10223":[0.244,0.745,0,0,0.412],"10229":[0.011,0.511,0,0,1.609],"10230":[0.011,0.511,0,0,1.638],"10231":[0.011,0.511,0,0,1.859],"10232":[0.024,0.525,0,0,1.609],"10233":[0.024,0.525,0,0,1.638],"10234":[0.024,0.525,0,0,1.858],"10236":[0.011,0.511,0,0,1.638],"10815":[0,0.68333,0,0,0.75],"10927":[0.13597,0.63597,0,0,0.77778],"10928":[0.13597,0.63597,0,0,0.77778],"57376":[0.19444,0.69444,0,0,0]},"Math-BoldItalic":{"32":[0,0,0,0,0.25],"48":[0,0.44444,0,0,0.575],"49":[0,0.44444,0,0,0.575],"50":[0,0.44444,0,0,0.575],"51":[0.19444,0.44444,0,0,0.575],"52":[0.19444,0.44444,0,0,0.575],"53":[0.19444,0.44444,0,0,0.575],"54":[0,0.64444,0,0,0.575],"55":[0.19444,0.44444,0,0,0.575],"56":[0,0.64444,0,0,0.575],"57":[0.19444,0.44444,0,0,0.575],"65":[0,0.68611,0,0,0.86944],"66":[0,0.68611,0.04835,0,0.8664],"67":[0,0.68611,0.06979,0,0.81694],"68":[0,0.68611,0.03194,0,0.93812],"69":[0,0.68611,0.05451,0,0.81007],"70":[0,0.68611,0.15972,0,0.68889],"71":[0,0.68611,0,0,0.88673],"72":[0,0.68611,0.08229,0,0.98229],"73":[0,0.68611,0.07778,0,0.51111],"74":[0,0.68611,0.10069,0,0.63125],"75":[0,0.68611,0.06979,0,0.97118],"76":[0,0.68611,0,0,0.75555],"77":[0,0.68611,0.11424,0,1.14201],"78":[0,0.68611,0.11424,0,0.95034],"79":[0,0.68611,0.03194,0,0.83666],"80":[0,0.68611,0.15972,0,0.72309],"81":[0.19444,0.68611,0,0,0.86861],"82":[0,0.68611,0.00421,0,0.87235],"83":[0,0.68611,0.05382,0,0.69271],"84":[0,0.68611,0.15972,0,0.63663],"85":[0,0.68611,0.11424,0,0.80027],"86":[0,0.68611,0.25555,0,0.67778],"87":[0,0.68611,0.15972,0,1.09305],"88":[0,0.68611,0.07778,0,0.94722],"89":[0,0.68611,0.25555,0,0.67458],"90":[0,0.68611,0.06979,0,0.77257],"97":[0,0.44444,0,0,0.63287],"98":[0,0.69444,0,0,0.52083],"99":[0,0.44444,0,0,0.51342],"100":[0,0.69444,0,0,0.60972],"101":[0,0.44444,0,0,0.55361],"102":[0.19444,0.69444,0.11042,0,0.56806],"103":[0.19444,0.44444,0.03704,0,0.5449],"104":[0,0.69444,0,0,0.66759],"105":[0,0.69326,0,0,0.4048],"106":[0.19444,0.69326,0.0622,0,0.47083],"107":[0,0.69444,0.01852,0,0.6037],"108":[0,0.69444,0.0088,0,0.34815],"109":[0,0.44444,0,0,1.0324],"110":[0,0.44444,0,0,0.71296],"111":[0,0.44444,0,0,0.58472],"112":[0.19444,0.44444,0,0,0.60092],"113":[0.19444,0.44444,0.03704,0,0.54213],"114":[0,0.44444,0.03194,0,0.5287],"115":[0,0.44444,0,0,0.53125],"116":[0,0.63492,0,0,0.41528],"117":[0,0.44444,0,0,0.68102],"118":[0,0.44444,0.03704,0,0.56666],"119":[0,0.44444,0.02778,0,0.83148],"120":[0,0.44444,0,0,0.65903],"121":[0.19444,0.44444,0.03704,0,0.59028],"122":[0,0.44444,0.04213,0,0.55509],"160":[0,0,0,0,0.25],"915":[0,0.68611,0.15972,0,0.65694],"916":[0,0.68611,0,0,0.95833],"920":[0,0.68611,0.03194,0,0.86722],"923":[0,0.68611,0,0,0.80555],"926":[0,0.68611,0.07458,0,0.84125],"928":[0,0.68611,0.08229,0,0.98229],"931":[0,0.68611,0.05451,0,0.88507],"933":[0,0.68611,0.15972,0,0.67083],"934":[0,0.68611,0,0,0.76666],"936":[0,0.68611,0.11653,0,0.71402],"937":[0,0.68611,0.04835,0,0.8789],"945":[0,0.44444,0,0,0.76064],"946":[0.19444,0.69444,0.03403,0,0.65972],"947":[0.19444,0.44444,0.06389,0,0.59003],"948":[0,0.69444,0.03819,0,0.52222],"949":[0,0.44444,0,0,0.52882],"950":[0.19444,0.69444,0.06215,0,0.50833],"951":[0.19444,0.44444,0.03704,0,0.6],"952":[0,0.69444,0.03194,0,0.5618],"953":[0,0.44444,0,0,0.41204],"954":[0,0.44444,0,0,0.66759],"955":[0,0.69444,0,0,0.67083],"956":[0.19444,0.44444,0,0,0.70787],"957":[0,0.44444,0.06898,0,0.57685],"958":[0.19444,0.69444,0.03021,0,0.50833],"959":[0,0.44444,0,0,0.58472],"960":[0,0.44444,0.03704,0,0.68241],"961":[0.19444,0.44444,0,0,0.6118],"962":[0.09722,0.44444,0.07917,0,0.42361],"963":[0,0.44444,0.03704,0,0.68588],"964":[0,0.44444,0.13472,0,0.52083],"965":[0,0.44444,0.03704,0,0.63055],"966":[0.19444,0.44444,0,0,0.74722],"967":[0.19444,0.44444,0,0,0.71805],"968":[0.19444,0.69444,0.03704,0,0.75833],"969":[0,0.44444,0.03704,0,0.71782],"977":[0,0.69444,0,0,0.69155],"981":[0.19444,0.69444,0,0,0.7125],"982":[0,0.44444,0.03194,0,0.975],"1009":[0.19444,0.44444,0,0,0.6118],"1013":[0,0.44444,0,0,0.48333],"57649":[0,0.44444,0,0,0.39352],"57911":[0.19444,0.44444,0,0,0.43889]},"Math-Italic":{"32":[0,0,0,0,0.25],"48":[0,0.43056,0,0,0.5],"49":[0,0.43056,0,0,0.5],"50":[0,0.43056,0,0,0.5],"51":[0.19444,0.43056,0,0,0.5],"52":[0.19444,0.43056,0,0,0.5],"53":[0.19444,0.43056,0,0,0.5],"54":[0,0.64444,0,0,0.5],"55":[0.19444,0.43056,0,0,0.5],"56":[0,0.64444,0,0,0.5],"57":[0.19444,0.43056,0,0,0.5],"65":[0,0.68333,0,0.13889,0.75],"66":[0,0.68333,0.05017,0.08334,0.75851],"67":[0,0.68333,0.07153,0.08334,0.71472],"68":[0,0.68333,0.02778,0.05556,0.82792],"69":[0,0.68333,0.05764,0.08334,0.7382],"70":[0,0.68333,0.13889,0.08334,0.64306],"71":[0,0.68333,0,0.08334,0.78625],"72":[0,0.68333,0.08125,0.05556,0.83125],"73":[0,0.68333,0.07847,0.11111,0.43958],"74":[0,0.68333,0.09618,0.16667,0.55451],"75":[0,0.68333,0.07153,0.05556,0.84931],"76":[0,0.68333,0,0.02778,0.68056],"77":[0,0.68333,0.10903,0.08334,0.97014],"78":[0,0.68333,0.10903,0.08334,0.80347],"79":[0,0.68333,0.02778,0.08334,0.76278],"80":[0,0.68333,0.13889,0.08334,0.64201],"81":[0.19444,0.68333,0,0.08334,0.79056],"82":[0,0.68333,0.00773,0.08334,0.75929],"83":[0,0.68333,0.05764,0.08334,0.6132],"84":[0,0.68333,0.13889,0.08334,0.58438],"85":[0,0.68333,0.10903,0.02778,0.68278],"86":[0,0.68333,0.22222,0,0.58333],"87":[0,0.68333,0.13889,0,0.94445],"88":[0,0.68333,0.07847,0.08334,0.82847],"89":[0,0.68333,0.22222,0,0.58056],"90":[0,0.68333,0.07153,0.08334,0.68264],"97":[0,0.43056,0,0,0.52859],"98":[0,0.69444,0,0,0.42917],"99":[0,0.43056,0,0.05556,0.43276],"100":[0,0.69444,0,0.16667,0.52049],"101":[0,0.43056,0,0.05556,0.46563],"102":[0.19444,0.69444,0.10764,0.16667,0.48959],"103":[0.19444,0.43056,0.03588,0.02778,0.47697],"104":[0,0.69444,0,0,0.57616],"105":[0,0.65952,0,0,0.34451],"106":[0.19444,0.65952,0.05724,0,0.41181],"107":[0,0.69444,0.03148,0,0.5206],"108":[0,0.69444,0.01968,0.08334,0.29838],"109":[0,0.43056,0,0,0.87801],"110":[0,0.43056,0,0,0.60023],"111":[0,0.43056,0,0.05556,0.48472],"112":[0.19444,0.43056,0,0.08334,0.50313],"113":[0.19444,0.43056,0.03588,0.08334,0.44641],"114":[0,0.43056,0.02778,0.05556,0.45116],"115":[0,0.43056,0,0.05556,0.46875],"116":[0,0.61508,0,0.08334,0.36111],"117":[0,0.43056,0,0.02778,0.57246],"118":[0,0.43056,0.03588,0.02778,0.48472],"119":[0,0.43056,0.02691,0.08334,0.71592],"120":[0,0.43056,0,0.02778,0.57153],"121":[0.19444,0.43056,0.03588,0.05556,0.49028],"122":[0,0.43056,0.04398,0.05556,0.46505],"160":[0,0,0,0,0.25],"915":[0,0.68333,0.13889,0.08334,0.61528],"916":[0,0.68333,0,0.16667,0.83334],"920":[0,0.68333,0.02778,0.08334,0.76278],"923":[0,0.68333,0,0.16667,0.69445],"926":[0,0.68333,0.07569,0.08334,0.74236],"928":[0,0.68333,0.08125,0.05556,0.83125],"931":[0,0.68333,0.05764,0.08334,0.77986],"933":[0,0.68333,0.13889,0.05556,0.58333],"934":[0,0.68333,0,0.08334,0.66667],"936":[0,0.68333,0.11,0.05556,0.61222],"937":[0,0.68333,0.05017,0.08334,0.7724],"945":[0,0.43056,0.0037,0.02778,0.6397],"946":[0.19444,0.69444,0.05278,0.08334,0.56563],"947":[0.19444,0.43056,0.05556,0,0.51773],"948":[0,0.69444,0.03785,0.05556,0.44444],"949":[0,0.43056,0,0.08334,0.46632],"950":[0.19444,0.69444,0.07378,0.08334,0.4375],"951":[0.19444,0.43056,0.03588,0.05556,0.49653],"952":[0,0.69444,0.02778,0.08334,0.46944],"953":[0,0.43056,0,0.05556,0.35394],"954":[0,0.43056,0,0,0.57616],"955":[0,0.69444,0,0,0.58334],"956":[0.19444,0.43056,0,0.02778,0.60255],"957":[0,0.43056,0.06366,0.02778,0.49398],"958":[0.19444,0.69444,0.04601,0.11111,0.4375],"959":[0,0.43056,0,0.05556,0.48472],"960":[0,0.43056,0.03588,0,0.57003],"961":[0.19444,0.43056,0,0.08334,0.51702],"962":[0.09722,0.43056,0.07986,0.08334,0.36285],"963":[0,0.43056,0.03588,0,0.57141],"964":[0,0.43056,0.1132,0.02778,0.43715],"965":[0,0.43056,0.03588,0.02778,0.54028],"966":[0.19444,0.43056,0,0.08334,0.65417],"967":[0.19444,0.43056,0,0.05556,0.62569],"968":[0.19444,0.69444,0.03588,0.11111,0.65139],"969":[0,0.43056,0.03588,0,0.62245],"977":[0,0.69444,0,0.08334,0.59144],"981":[0.19444,0.69444,0,0.08334,0.59583],"982":[0,0.43056,0.02778,0,0.82813],"1009":[0.19444,0.43056,0,0.08334,0.51702],"1013":[0,0.43056,0,0.05556,0.4059],"57649":[0,0.43056,0,0.02778,0.32246],"57911":[0.19444,0.43056,0,0.08334,0.38403]},"SansSerif-Bold":{"32":[0,0,0,0,0.25],"33":[0,0.69444,0,0,0.36667],"34":[0,0.69444,0,0,0.55834],"35":[0.19444,0.69444,0,0,0.91667],"36":[0.05556,0.75,0,0,0.55],"37":[0.05556,0.75,0,0,1.02912],"38":[0,0.69444,0,0,0.83056],"39":[0,0.69444,0,0,0.30556],"40":[0.25,0.75,0,0,0.42778],"41":[0.25,0.75,0,0,0.42778],"42":[0,0.75,0,0,0.55],"43":[0.11667,0.61667,0,0,0.85556],"44":[0.10556,0.13056,0,0,0.30556],"45":[0,0.45833,0,0,0.36667],"46":[0,0.13056,0,0,0.30556],"47":[0.25,0.75,0,0,0.55],"48":[0,0.69444,0,0,0.55],"49":[0,0.69444,0,0,0.55],"50":[0,0.69444,0,0,0.55],"51":[0,0.69444,0,0,0.55],"52":[0,0.69444,0,0,0.55],"53":[0,0.69444,0,0,0.55],"54":[0,0.69444,0,0,0.55],"55":[0,0.69444,0,0,0.55],"56":[0,0.69444,0,0,0.55],"57":[0,0.69444,0,0,0.55],"58":[0,0.45833,0,0,0.30556],"59":[0.10556,0.45833,0,0,0.30556],"61":[-0.09375,0.40625,0,0,0.85556],"63":[0,0.69444,0,0,0.51945],"64":[0,0.69444,0,0,0.73334],"65":[0,0.69444,0,0,0.73334],"66":[0,0.69444,0,0,0.73334],"67":[0,0.69444,0,0,0.70278],"68":[0,0.69444,0,0,0.79445],"69":[0,0.69444,0,0,0.64167],"70":[0,0.69444,0,0,0.61111],"71":[0,0.69444,0,0,0.73334],"72":[0,0.69444,0,0,0.79445],"73":[0,0.69444,0,0,0.33056],"74":[0,0.69444,0,0,0.51945],"75":[0,0.69444,0,0,0.76389],"76":[0,0.69444,0,0,0.58056],"77":[0,0.69444,0,0,0.97778],"78":[0,0.69444,0,0,0.79445],"79":[0,0.69444,0,0,0.79445],"80":[0,0.69444,0,0,0.70278],"81":[0.10556,0.69444,0,0,0.79445],"82":[0,0.69444,0,0,0.70278],"83":[0,0.69444,0,0,0.61111],"84":[0,0.69444,0,0,0.73334],"85":[0,0.69444,0,0,0.76389],"86":[0,0.69444,0.01528,0,0.73334],"87":[0,0.69444,0.01528,0,1.03889],"88":[0,0.69444,0,0,0.73334],"89":[0,0.69444,0.0275,0,0.73334],"90":[0,0.69444,0,0,0.67223],"91":[0.25,0.75,0,0,0.34306],"93":[0.25,0.75,0,0,0.34306],"94":[0,0.69444,0,0,0.55],"95":[0.35,0.10833,0.03056,0,0.55],"97":[0,0.45833,0,0,0.525],"98":[0,0.69444,0,0,0.56111],"99":[0,0.45833,0,0,0.48889],"100":[0,0.69444,0,0,0.56111],"101":[0,0.45833,0,0,0.51111],"102":[0,0.69444,0.07639,0,0.33611],"103":[0.19444,0.45833,0.01528,0,0.55],"104":[0,0.69444,0,0,0.56111],"105":[0,0.69444,0,0,0.25556],"106":[0.19444,0.69444,0,0,0.28611],"107":[0,0.69444,0,0,0.53056],"108":[0,0.69444,0,0,0.25556],"109":[0,0.45833,0,0,0.86667],"110":[0,0.45833,0,0,0.56111],"111":[0,0.45833,0,0,0.55],"112":[0.19444,0.45833,0,0,0.56111],"113":[0.19444,0.45833,0,0,0.56111],"114":[0,0.45833,0.01528,0,0.37222],"115":[0,0.45833,0,0,0.42167],"116":[0,0.58929,0,0,0.40417],"117":[0,0.45833,0,0,0.56111],"118":[0,0.45833,0.01528,0,0.5],"119":[0,0.45833,0.01528,0,0.74445],"120":[0,0.45833,0,0,0.5],"121":[0.19444,0.45833,0.01528,0,0.5],"122":[0,0.45833,0,0,0.47639],"126":[0.35,0.34444,0,0,0.55],"160":[0,0,0,0,0.25],"168":[0,0.69444,0,0,0.55],"176":[0,0.69444,0,0,0.73334],"180":[0,0.69444,0,0,0.55],"184":[0.17014,0,0,0,0.48889],"305":[0,0.45833,0,0,0.25556],"567":[0.19444,0.45833,0,0,0.28611],"710":[0,0.69444,0,0,0.55],"711":[0,0.63542,0,0,0.55],"713":[0,0.63778,0,0,0.55],"728":[0,0.69444,0,0,0.55],"729":[0,0.69444,0,0,0.30556],"730":[0,0.69444,0,0,0.73334],"732":[0,0.69444,0,0,0.55],"733":[0,0.69444,0,0,0.55],"915":[0,0.69444,0,0,0.58056],"916":[0,0.69444,0,0,0.91667],"920":[0,0.69444,0,0,0.85556],"923":[0,0.69444,0,0,0.67223],"926":[0,0.69444,0,0,0.73334],"928":[0,0.69444,0,0,0.79445],"931":[0,0.69444,0,0,0.79445],"933":[0,0.69444,0,0,0.85556],"934":[0,0.69444,0,0,0.79445],"936":[0,0.69444,0,0,0.85556],"937":[0,0.69444,0,0,0.79445],"8211":[0,0.45833,0.03056,0,0.55],"8212":[0,0.45833,0.03056,0,1.10001],"8216":[0,0.69444,0,0,0.30556],"8217":[0,0.69444,0,0,0.30556],"8220":[0,0.69444,0,0,0.55834],"8221":[0,0.69444,0,0,0.55834]},"SansSerif-Italic":{"32":[0,0,0,0,0.25],"33":[0,0.69444,0.05733,0,0.31945],"34":[0,0.69444,0.00316,0,0.5],"35":[0.19444,0.69444,0.05087,0,0.83334],"36":[0.05556,0.75,0.11156,0,0.5],"37":[0.05556,0.75,0.03126,0,0.83334],"38":[0,0.69444,0.03058,0,0.75834],"39":[0,0.69444,0.07816,0,0.27778],"40":[0.25,0.75,0.13164,0,0.38889],"41":[0.25,0.75,0.02536,0,0.38889],"42":[0,0.75,0.11775,0,0.5],"43":[0.08333,0.58333,0.02536,0,0.77778],"44":[0.125,0.08333,0,0,0.27778],"45":[0,0.44444,0.01946,0,0.33333],"46":[0,0.08333,0,0,0.27778],"47":[0.25,0.75,0.13164,0,0.5],"48":[0,0.65556,0.11156,0,0.5],"49":[0,0.65556,0.11156,0,0.5],"50":[0,0.65556,0.11156,0,0.5],"51":[0,0.65556,0.11156,0,0.5],"52":[0,0.65556,0.11156,0,0.5],"53":[0,0.65556,0.11156,0,0.5],"54":[0,0.65556,0.11156,0,0.5],"55":[0,0.65556,0.11156,0,0.5],"56":[0,0.65556,0.11156,0,0.5],"57":[0,0.65556,0.11156,0,0.5],"58":[0,0.44444,0.02502,0,0.27778],"59":[0.125,0.44444,0.02502,0,0.27778],"61":[-0.13,0.37,0.05087,0,0.77778],"63":[0,0.69444,0.11809,0,0.47222],"64":[0,0.69444,0.07555,0,0.66667],"65":[0,0.69444,0,0,0.66667],"66":[0,0.69444,0.08293,0,0.66667],"67":[0,0.69444,0.11983,0,0.63889],"68":[0,0.69444,0.07555,0,0.72223],"69":[0,0.69444,0.11983,0,0.59722],"70":[0,0.69444,0.13372,0,0.56945],"71":[0,0.69444,0.11983,0,0.66667],"72":[0,0.69444,0.08094,0,0.70834],"73":[0,0.69444,0.13372,0,0.27778],"74":[0,0.69444,0.08094,0,0.47222],"75":[0,0.69444,0.11983,0,0.69445],"76":[0,0.69444,0,0,0.54167],"77":[0,0.69444,0.08094,0,0.875],"78":[0,0.69444,0.08094,0,0.70834],"79":[0,0.69444,0.07555,0,0.73611],"80":[0,0.69444,0.08293,0,0.63889],"81":[0.125,0.69444,0.07555,0,0.73611],"82":[0,0.69444,0.08293,0,0.64584],"83":[0,0.69444,0.09205,0,0.55556],"84":[0,0.69444,0.13372,0,0.68056],"85":[0,0.69444,0.08094,0,0.6875],"86":[0,0.69444,0.1615,0,0.66667],"87":[0,0.69444,0.1615,0,0.94445],"88":[0,0.69444,0.13372,0,0.66667],"89":[0,0.69444,0.17261,0,0.66667],"90":[0,0.69444,0.11983,0,0.61111],"91":[0.25,0.75,0.15942,0,0.28889],"93":[0.25,0.75,0.08719,0,0.28889],"94":[0,0.69444,0.0799,0,0.5],"95":[0.35,0.09444,0.08616,0,0.5],"97":[0,0.44444,0.00981,0,0.48056],"98":[0,0.69444,0.03057,0,0.51667],"99":[0,0.44444,0.08336,0,0.44445],"100":[0,0.69444,0.09483,0,0.51667],"101":[0,0.44444,0.06778,0,0.44445],"102":[0,0.69444,0.21705,0,0.30556],"103":[0.19444,0.44444,0.10836,0,0.5],"104":[0,0.69444,0.01778,0,0.51667],"105":[0,0.67937,0.09718,0,0.23889],"106":[0.19444,0.67937,0.09162,0,0.26667],"107":[0,0.69444,0.08336,0,0.48889],"108":[0,0.69444,0.09483,0,0.23889],"109":[0,0.44444,0.01778,0,0.79445],"110":[0,0.44444,0.01778,0,0.51667],"111":[0,0.44444,0.06613,0,0.5],"112":[0.19444,0.44444,0.0389,0,0.51667],"113":[0.19444,0.44444,0.04169,0,0.51667],"114":[0,0.44444,0.10836,0,0.34167],"115":[0,0.44444,0.0778,0,0.38333],"116":[0,0.57143,0.07225,0,0.36111],"117":[0,0.44444,0.04169,0,0.51667],"118":[0,0.44444,0.10836,0,0.46111],"119":[0,0.44444,0.10836,0,0.68334],"120":[0,0.44444,0.09169,0,0.46111],"121":[0.19444,0.44444,0.10836,0,0.46111],"122":[0,0.44444,0.08752,0,0.43472],"126":[0.35,0.32659,0.08826,0,0.5],"160":[0,0,0,0,0.25],"168":[0,0.67937,0.06385,0,0.5],"176":[0,0.69444,0,0,0.73752],"184":[0.17014,0,0,0,0.44445],"305":[0,0.44444,0.04169,0,0.23889],"567":[0.19444,0.44444,0.04169,0,0.26667],"710":[0,0.69444,0.0799,0,0.5],"711":[0,0.63194,0.08432,0,0.5],"713":[0,0.60889,0.08776,0,0.5],"714":[0,0.69444,0.09205,0,0.5],"715":[0,0.69444,0,0,0.5],"728":[0,0.69444,0.09483,0,0.5],"729":[0,0.67937,0.07774,0,0.27778],"730":[0,0.69444,0,0,0.73752],"732":[0,0.67659,0.08826,0,0.5],"733":[0,0.69444,0.09205,0,0.5],"915":[0,0.69444,0.13372,0,0.54167],"916":[0,0.69444,0,0,0.83334],"920":[0,0.69444,0.07555,0,0.77778],"923":[0,0.69444,0,0,0.61111],"926":[0,0.69444,0.12816,0,0.66667],"928":[0,0.69444,0.08094,0,0.70834],"931":[0,0.69444,0.11983,0,0.72222],"933":[0,0.69444,0.09031,0,0.77778],"934":[0,0.69444,0.04603,0,0.72222],"936":[0,0.69444,0.09031,0,0.77778],"937":[0,0.69444,0.08293,0,0.72222],"8211":[0,0.44444,0.08616,0,0.5],"8212":[0,0.44444,0.08616,0,1],"8216":[0,0.69444,0.07816,0,0.27778],"8217":[0,0.69444,0.07816,0,0.27778],"8220":[0,0.69444,0.14205,0,0.5],"8221":[0,0.69444,0.00316,0,0.5]},"SansSerif-Regular":{"32":[0,0,0,0,0.25],"33":[0,0.69444,0,0,0.31945],"34":[0,0.69444,0,0,0.5],"35":[0.19444,0.69444,0,0,0.83334],"36":[0.05556,0.75,0,0,0.5],"37":[0.05556,0.75,0,0,0.83334],"38":[0,0.69444,0,0,0.75834],"39":[0,0.69444,0,0,0.27778],"40":[0.25,0.75,0,0,0.38889],"41":[0.25,0.75,0,0,0.38889],"42":[0,0.75,0,0,0.5],"43":[0.08333,0.58333,0,0,0.77778],"44":[0.125,0.08333,0,0,0.27778],"45":[0,0.44444,0,0,0.33333],"46":[0,0.08333,0,0,0.27778],"47":[0.25,0.75,0,0,0.5],"48":[0,0.65556,0,0,0.5],"49":[0,0.65556,0,0,0.5],"50":[0,0.65556,0,0,0.5],"51":[0,0.65556,0,0,0.5],"52":[0,0.65556,0,0,0.5],"53":[0,0.65556,0,0,0.5],"54":[0,0.65556,0,0,0.5],"55":[0,0.65556,0,0,0.5],"56":[0,0.65556,0,0,0.5],"57":[0,0.65556,0,0,0.5],"58":[0,0.44444,0,0,0.27778],"59":[0.125,0.44444,0,0,0.27778],"61":[-0.13,0.37,0,0,0.77778],"63":[0,0.69444,0,0,0.47222],"64":[0,0.69444,0,0,0.66667],"65":[0,0.69444,0,0,0.66667],"66":[0,0.69444,0,0,0.66667],"67":[0,0.69444,0,0,0.63889],"68":[0,0.69444,0,0,0.72223],"69":[0,0.69444,0,0,0.59722],"70":[0,0.69444,0,0,0.56945],"71":[0,0.69444,0,0,0.66667],"72":[0,0.69444,0,0,0.70834],"73":[0,0.69444,0,0,0.27778],"74":[0,0.69444,0,0,0.47222],"75":[0,0.69444,0,0,0.69445],"76":[0,0.69444,0,0,0.54167],"77":[0,0.69444,0,0,0.875],"78":[0,0.69444,0,0,0.70834],"79":[0,0.69444,0,0,0.73611],"80":[0,0.69444,0,0,0.63889],"81":[0.125,0.69444,0,0,0.73611],"82":[0,0.69444,0,0,0.64584],"83":[0,0.69444,0,0,0.55556],"84":[0,0.69444,0,0,0.68056],"85":[0,0.69444,0,0,0.6875],"86":[0,0.69444,0.01389,0,0.66667],"87":[0,0.69444,0.01389,0,0.94445],"88":[0,0.69444,0,0,0.66667],"89":[0,0.69444,0.025,0,0.66667],"90":[0,0.69444,0,0,0.61111],"91":[0.25,0.75,0,0,0.28889],"93":[0.25,0.75,0,0,0.28889],"94":[0,0.69444,0,0,0.5],"95":[0.35,0.09444,0.02778,0,0.5],"97":[0,0.44444,0,0,0.48056],"98":[0,0.69444,0,0,0.51667],"99":[0,0.44444,0,0,0.44445],"100":[0,0.69444,0,0,0.51667],"101":[0,0.44444,0,0,0.44445],"102":[0,0.69444,0.06944,0,0.30556],"103":[0.19444,0.44444,0.01389,0,0.5],"104":[0,0.69444,0,0,0.51667],"105":[0,0.67937,0,0,0.23889],"106":[0.19444,0.67937,0,0,0.26667],"107":[0,0.69444,0,0,0.48889],"108":[0,0.69444,0,0,0.23889],"109":[0,0.44444,0,0,0.79445],"110":[0,0.44444,0,0,0.51667],"111":[0,0.44444,0,0,0.5],"112":[0.19444,0.44444,0,0,0.51667],"113":[0.19444,0.44444,0,0,0.51667],"114":[0,0.44444,0.01389,0,0.34167],"115":[0,0.44444,0,0,0.38333],"116":[0,0.57143,0,0,0.36111],"117":[0,0.44444,0,0,0.51667],"118":[0,0.44444,0.01389,0,0.46111],"119":[0,0.44444,0.01389,0,0.68334],"120":[0,0.44444,0,0,0.46111],"121":[0.19444,0.44444,0.01389,0,0.46111],"122":[0,0.44444,0,0,0.43472],"126":[0.35,0.32659,0,0,0.5],"160":[0,0,0,0,0.25],"168":[0,0.67937,0,0,0.5],"176":[0,0.69444,0,0,0.66667],"184":[0.17014,0,0,0,0.44445],"305":[0,0.44444,0,0,0.23889],"567":[0.19444,0.44444,0,0,0.26667],"710":[0,0.69444,0,0,0.5],"711":[0,0.63194,0,0,0.5],"713":[0,0.60889,0,0,0.5],"714":[0,0.69444,0,0,0.5],"715":[0,0.69444,0,0,0.5],"728":[0,0.69444,0,0,0.5],"729":[0,0.67937,0,0,0.27778],"730":[0,0.69444,0,0,0.66667],"732":[0,0.67659,0,0,0.5],"733":[0,0.69444,0,0,0.5],"915":[0,0.69444,0,0,0.54167],"916":[0,0.69444,0,0,0.83334],"920":[0,0.69444,0,0,0.77778],"923":[0,0.69444,0,0,0.61111],"926":[0,0.69444,0,0,0.66667],"928":[0,0.69444,0,0,0.70834],"931":[0,0.69444,0,0,0.72222],"933":[0,0.69444,0,0,0.77778],"934":[0,0.69444,0,0,0.72222],"936":[0,0.69444,0,0,0.77778],"937":[0,0.69444,0,0,0.72222],"8211":[0,0.44444,0.02778,0,0.5],"8212":[0,0.44444,0.02778,0,1],"8216":[0,0.69444,0,0,0.27778],"8217":[0,0.69444,0,0,0.27778],"8220":[0,0.69444,0,0,0.5],"8221":[0,0.69444,0,0,0.5]},"Script-Regular":{"32":[0,0,0,0,0.25],"65":[0,0.7,0.22925,0,0.80253],"66":[0,0.7,0.04087,0,0.90757],"67":[0,0.7,0.1689,0,0.66619],"68":[0,0.7,0.09371,0,0.77443],"69":[0,0.7,0.18583,0,0.56162],"70":[0,0.7,0.13634,0,0.89544],"71":[0,0.7,0.17322,0,0.60961],"72":[0,0.7,0.29694,0,0.96919],"73":[0,0.7,0.19189,0,0.80907],"74":[0.27778,0.7,0.19189,0,1.05159],"75":[0,0.7,0.31259,0,0.91364],"76":[0,0.7,0.19189,0,0.87373],"77":[0,0.7,0.15981,0,1.08031],"78":[0,0.7,0.3525,0,0.9015],"79":[0,0.7,0.08078,0,0.73787],"80":[0,0.7,0.08078,0,1.01262],"81":[0,0.7,0.03305,0,0.88282],"82":[0,0.7,0.06259,0,0.85],"83":[0,0.7,0.19189,0,0.86767],"84":[0,0.7,0.29087,0,0.74697],"85":[0,0.7,0.25815,0,0.79996],"86":[0,0.7,0.27523,0,0.62204],"87":[0,0.7,0.27523,0,0.80532],"88":[0,0.7,0.26006,0,0.94445],"89":[0,0.7,0.2939,0,0.70961],"90":[0,0.7,0.24037,0,0.8212],"160":[0,0,0,0,0.25]},"Size1-Regular":{"32":[0,0,0,0,0.25],"40":[0.35001,0.85,0,0,0.45834],"41":[0.35001,0.85,0,0,0.45834],"47":[0.35001,0.85,0,0,0.57778],"91":[0.35001,0.85,0,0,0.41667],"92":[0.35001,0.85,0,0,0.57778],"93":[0.35001,0.85,0,0,0.41667],"123":[0.35001,0.85,0,0,0.58334],"125":[0.35001,0.85,0,0,0.58334],"160":[0,0,0,0,0.25],"710":[0,0.72222,0,0,0.55556],"732":[0,0.72222,0,0,0.55556],"770":[0,0.72222,0,0,0.55556],"771":[0,0.72222,0,0,0.55556],"8214":[-0.00099,0.601,0,0,0.77778],"8593":[0.00001,0.6,0,0,0.66667],"8595":[0.00001,0.6,0,0,0.66667],"8657":[0.00001,0.6,0,0,0.77778],"8659":[0.00001,0.6,0,0,0.77778],"8719":[0.25001,0.75,0,0,0.94445],"8720":[0.25001,0.75,0,0,0.94445],"8721":[0.25001,0.75,0,0,1.05556],"8730":[0.35001,0.85,0,0,1],"8739":[-0.00599,0.606,0,0,0.33333],"8741":[-0.00599,0.606,0,0,0.55556],"8747":[0.30612,0.805,0.19445,0,0.47222],"8748":[0.306,0.805,0.19445,0,0.47222],"8749":[0.306,0.805,0.19445,0,0.47222],"8750":[0.30612,0.805,0.19445,0,0.47222],"8896":[0.25001,0.75,0,0,0.83334],"8897":[0.25001,0.75,0,0,0.83334],"8898":[0.25001,0.75,0,0,0.83334],"8899":[0.25001,0.75,0,0,0.83334],"8968":[0.35001,0.85,0,0,0.47222],"8969":[0.35001,0.85,0,0,0.47222],"8970":[0.35001,0.85,0,0,0.47222],"8971":[0.35001,0.85,0,0,0.47222],"9168":[-0.00099,0.601,0,0,0.66667],"10216":[0.35001,0.85,0,0,0.47222],"10217":[0.35001,0.85,0,0,0.47222],"10752":[0.25001,0.75,0,0,1.11111],"10753":[0.25001,0.75,0,0,1.11111],"10754":[0.25001,0.75,0,0,1.11111],"10756":[0.25001,0.75,0,0,0.83334],"10758":[0.25001,0.75,0,0,0.83334]},"Size2-Regular":{"32":[0,0,0,0,0.25],"40":[0.65002,1.15,0,0,0.59722],"41":[0.65002,1.15,0,0,0.59722],"47":[0.65002,1.15,0,0,0.81111],"91":[0.65002,1.15,0,0,0.47222],"92":[0.65002,1.15,0,0,0.81111],"93":[0.65002,1.15,0,0,0.47222],"123":[0.65002,1.15,0,0,0.66667],"125":[0.65002,1.15,0,0,0.66667],"160":[0,0,0,0,0.25],"710":[0,0.75,0,0,1],"732":[0,0.75,0,0,1],"770":[0,0.75,0,0,1],"771":[0,0.75,0,0,1],"8719":[0.55001,1.05,0,0,1.27778],"8720":[0.55001,1.05,0,0,1.27778],"8721":[0.55001,1.05,0,0,1.44445],"8730":[0.65002,1.15,0,0,1],"8747":[0.86225,1.36,0.44445,0,0.55556],"8748":[0.862,1.36,0.44445,0,0.55556],"8749":[0.862,1.36,0.44445,0,0.55556],"8750":[0.86225,1.36,0.44445,0,0.55556],"8896":[0.55001,1.05,0,0,1.11111],"8897":[0.55001,1.05,0,0,1.11111],"8898":[0.55001,1.05,0,0,1.11111],"8899":[0.55001,1.05,0,0,1.11111],"8968":[0.65002,1.15,0,0,0.52778],"8969":[0.65002,1.15,0,0,0.52778],"8970":[0.65002,1.15,0,0,0.52778],"8971":[0.65002,1.15,0,0,0.52778],"10216":[0.65002,1.15,0,0,0.61111],"10217":[0.65002,1.15,0,0,0.61111],"10752":[0.55001,1.05,0,0,1.51112],"10753":[0.55001,1.05,0,0,1.51112],"10754":[0.55001,1.05,0,0,1.51112],"10756":[0.55001,1.05,0,0,1.11111],"10758":[0.55001,1.05,0,0,1.11111]},"Size3-Regular":{"32":[0,0,0,0,0.25],"40":[0.95003,1.45,0,0,0.73611],"41":[0.95003,1.45,0,0,0.73611],"47":[0.95003,1.45,0,0,1.04445],"91":[0.95003,1.45,0,0,0.52778],"92":[0.95003,1.45,0,0,1.04445],"93":[0.95003,1.45,0,0,0.52778],"123":[0.95003,1.45,0,0,0.75],"125":[0.95003,1.45,0,0,0.75],"160":[0,0,0,0,0.25],"710":[0,0.75,0,0,1.44445],"732":[0,0.75,0,0,1.44445],"770":[0,0.75,0,0,1.44445],"771":[0,0.75,0,0,1.44445],"8730":[0.95003,1.45,0,0,1],"8968":[0.95003,1.45,0,0,0.58334],"8969":[0.95003,1.45,0,0,0.58334],"8970":[0.95003,1.45,0,0,0.58334],"8971":[0.95003,1.45,0,0,0.58334],"10216":[0.95003,1.45,0,0,0.75],"10217":[0.95003,1.45,0,0,0.75]},"Size4-Regular":{"32":[0,0,0,0,0.25],"40":[1.25003,1.75,0,0,0.79167],"41":[1.25003,1.75,0,0,0.79167],"47":[1.25003,1.75,0,0,1.27778],"91":[1.25003,1.75,0,0,0.58334],"92":[1.25003,1.75,0,0,1.27778],"93":[1.25003,1.75,0,0,0.58334],"123":[1.25003,1.75,0,0,0.80556],"125":[1.25003,1.75,0,0,0.80556],"160":[0,0,0,0,0.25],"710":[0,0.825,0,0,1.8889],"732":[0,0.825,0,0,1.8889],"770":[0,0.825,0,0,1.8889],"771":[0,0.825,0,0,1.8889],"8730":[1.25003,1.75,0,0,1],"8968":[1.25003,1.75,0,0,0.63889],"8969":[1.25003,1.75,0,0,0.63889],"8970":[1.25003,1.75,0,0,0.63889],"8971":[1.25003,1.75,0,0,0.63889],"9115":[0.64502,1.155,0,0,0.875],"9116":[0.00001,0.6,0,0,0.875],"9117":[0.64502,1.155,0,0,0.875],"9118":[0.64502,1.155,0,0,0.875],"9119":[0.00001,0.6,0,0,0.875],"9120":[0.64502,1.155,0,0,0.875],"9121":[0.64502,1.155,0,0,0.66667],"9122":[-0.00099,0.601,0,0,0.66667],"9123":[0.64502,1.155,0,0,0.66667],"9124":[0.64502,1.155,0,0,0.66667],"9125":[-0.00099,0.601,0,0,0.66667],"9126":[0.64502,1.155,0,0,0.66667],"9127":[0.00001,0.9,0,0,0.88889],"9128":[0.65002,1.15,0,0,0.88889],"9129":[0.90001,0,0,0,0.88889],"9130":[0,0.3,0,0,0.88889],"9131":[0.00001,0.9,0,0,0.88889],"9132":[0.65002,1.15,0,0,0.88889],"9133":[0.90001,0,0,0,0.88889],"9143":[0.88502,0.915,0,0,1.05556],"10216":[1.25003,1.75,0,0,0.80556],"10217":[1.25003,1.75,0,0,0.80556],"57344":[-0.00499,0.605,0,0,1.05556],"57345":[-0.00499,0.605,0,0,1.05556],"57680":[0,0.12,0,0,0.45],"57681":[0,0.12,0,0,0.45],"57682":[0,0.12,0,0,0.45],"57683":[0,0.12,0,0,0.45]},"Typewriter-Regular":{"32":[0,0,0,0,0.525],"33":[0,0.61111,0,0,0.525],"34":[0,0.61111,0,0,0.525],"35":[0,0.61111,0,0,0.525],"36":[0.08333,0.69444,0,0,0.525],"37":[0.08333,0.69444,0,0,0.525],"38":[0,0.61111,0,0,0.525],"39":[0,0.61111,0,0,0.525],"40":[0.08333,0.69444,0,0,0.525],"41":[0.08333,0.69444,0,0,0.525],"42":[0,0.52083,0,0,0.525],"43":[-0.08056,0.53055,0,0,0.525],"44":[0.13889,0.125,0,0,0.525],"45":[-0.08056,0.53055,0,0,0.525],"46":[0,0.125,0,0,0.525],"47":[0.08333,0.69444,0,0,0.525],"48":[0,0.61111,0,0,0.525],"49":[0,0.61111,0,0,0.525],"50":[0,0.61111,0,0,0.525],"51":[0,0.61111,0,0,0.525],"52":[0,0.61111,0,0,0.525],"53":[0,0.61111,0,0,0.525],"54":[0,0.61111,0,0,0.525],"55":[0,0.61111,0,0,0.525],"56":[0,0.61111,0,0,0.525],"57":[0,0.61111,0,0,0.525],"58":[0,0.43056,0,0,0.525],"59":[0.13889,0.43056,0,0,0.525],"60":[-0.05556,0.55556,0,0,0.525],"61":[-0.19549,0.41562,0,0,0.525],"62":[-0.05556,0.55556,0,0,0.525],"63":[0,0.61111,0,0,0.525],"64":[0,0.61111,0,0,0.525],"65":[0,0.61111,0,0,0.525],"66":[0,0.61111,0,0,0.525],"67":[0,0.61111,0,0,0.525],"68":[0,0.61111,0,0,0.525],"69":[0,0.61111,0,0,0.525],"70":[0,0.61111,0,0,0.525],"71":[0,0.61111,0,0,0.525],"72":[0,0.61111,0,0,0.525],"73":[0,0.61111,0,0,0.525],"74":[0,0.61111,0,0,0.525],"75":[0,0.61111,0,0,0.525],"76":[0,0.61111,0,0,0.525],"77":[0,0.61111,0,0,0.525],"78":[0,0.61111,0,0,0.525],"79":[0,0.61111,0,0,0.525],"80":[0,0.61111,0,0,0.525],"81":[0.13889,0.61111,0,0,0.525],"82":[0,0.61111,0,0,0.525],"83":[0,0.61111,0,0,0.525],"84":[0,0.61111,0,0,0.525],"85":[0,0.61111,0,0,0.525],"86":[0,0.61111,0,0,0.525],"87":[0,0.61111,0,0,0.525],"88":[0,0.61111,0,0,0.525],"89":[0,0.61111,0,0,0.525],"90":[0,0.61111,0,0,0.525],"91":[0.08333,0.69444,0,0,0.525],"92":[0.08333,0.69444,0,0,0.525],"93":[0.08333,0.69444,0,0,0.525],"94":[0,0.61111,0,0,0.525],"95":[0.09514,0,0,0,0.525],"96":[0,0.61111,0,0,0.525],"97":[0,0.43056,0,0,0.525],"98":[0,0.61111,0,0,0.525],"99":[0,0.43056,0,0,0.525],"100":[0,0.61111,0,0,0.525],"101":[0,0.43056,0,0,0.525],"102":[0,0.61111,0,0,0.525],"103":[0.22222,0.43056,0,0,0.525],"104":[0,0.61111,0,0,0.525],"105":[0,0.61111,0,0,0.525],"106":[0.22222,0.61111,0,0,0.525],"107":[0,0.61111,0,0,0.525],"108":[0,0.61111,0,0,0.525],"109":[0,0.43056,0,0,0.525],"110":[0,0.43056,0,0,0.525],"111":[0,0.43056,0,0,0.525],"112":[0.22222,0.43056,0,0,0.525],"113":[0.22222,0.43056,0,0,0.525],"114":[0,0.43056,0,0,0.525],"115":[0,0.43056,0,0,0.525],"116":[0,0.55358,0,0,0.525],"117":[0,0.43056,0,0,0.525],"118":[0,0.43056,0,0,0.525],"119":[0,0.43056,0,0,0.525],"120":[0,0.43056,0,0,0.525],"121":[0.22222,0.43056,0,0,0.525],"122":[0,0.43056,0,0,0.525],"123":[0.08333,0.69444,0,0,0.525],"124":[0.08333,0.69444,0,0,0.525],"125":[0.08333,0.69444,0,0,0.525],"126":[0,0.61111,0,0,0.525],"127":[0,0.61111,0,0,0.525],"160":[0,0,0,0,0.525],"176":[0,0.61111,0,0,0.525],"184":[0.19445,0,0,0,0.525],"305":[0,0.43056,0,0,0.525],"567":[0.22222,0.43056,0,0,0.525],"711":[0,0.56597,0,0,0.525],"713":[0,0.56555,0,0,0.525],"714":[0,0.61111,0,0,0.525],"715":[0,0.61111,0,0,0.525],"728":[0,0.61111,0,0,0.525],"730":[0,0.61111,0,0,0.525],"770":[0,0.61111,0,0,0.525],"771":[0,0.61111,0,0,0.525],"776":[0,0.61111,0,0,0.525],"915":[0,0.61111,0,0,0.525],"916":[0,0.61111,0,0,0.525],"920":[0,0.61111,0,0,0.525],"923":[0,0.61111,0,0,0.525],"926":[0,0.61111,0,0,0.525],"928":[0,0.61111,0,0,0.525],"931":[0,0.61111,0,0,0.525],"933":[0,0.61111,0,0,0.525],"934":[0,0.61111,0,0,0.525],"936":[0,0.61111,0,0,0.525],"937":[0,0.61111,0,0,0.525],"8216":[0,0.61111,0,0,0.525],"8217":[0,0.61111,0,0,0.525],"8242":[0,0.61111,0,0,0.525],"9251":[0.11111,0.21944,0,0,0.525]}},MX={slant:[0.25,0.25,0.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[0.431,0.431,0.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[0.677,0.732,0.925],num2:[0.394,0.384,0.387],num3:[0.444,0.471,0.504],denom1:[0.686,0.752,1.025],denom2:[0.345,0.344,0.532],sup1:[0.413,0.503,0.504],sup2:[0.363,0.431,0.404],sup3:[0.289,0.286,0.294],sub1:[0.15,0.143,0.2],sub2:[0.247,0.286,0.4],supDrop:[0.386,0.353,0.494],subDrop:[0.05,0.071,0.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[0.25,0.25,0.25],defaultRuleThickness:[0.04,0.049,0.049],bigOpSpacing1:[0.111,0.111,0.111],bigOpSpacing2:[0.166,0.166,0.166],bigOpSpacing3:[0.2,0.2,0.2],bigOpSpacing4:[0.6,0.611,0.611],bigOpSpacing5:[0.1,0.143,0.143],sqrtRuleThickness:[0.04,0.04,0.04],ptPerEm:[10,10,10],doubleRuleSep:[0.2,0.2,0.2],arrayRuleWidth:[0.04,0.04,0.04],fboxsep:[0.3,0.3,0.3],fboxrule:[0.04,0.04,0.04]},D6={"Å":"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 f5(Q,Z){O0[Q]=Z}function U7(Q,Z,J){if(!O0[Z])throw Error("Font metrics not found for font: "+Z+".");var X=Q.charCodeAt(0),Y=O0[Z][X];if(!Y&&Q[0]in D6)X=D6[Q[0]].charCodeAt(0),Y=O0[Z][X];if(!Y&&J==="text"){if(HF(X))Y=O0[Z][77]}if(Y)return{depth:Y[0],height:Y[1],italic:Y[2],skew:Y[3],width:Y[4]}}var QK={};function b5(Q){var Z;if(Q>=5)Z=0;else if(Q>=3)Z=1;else Z=2;if(!QK[Z]){var J=QK[Z]={cssEmPerMu:MX.quad[Z]/18};for(var X in MX)if(MX.hasOwnProperty(X))J[X]=MX[X][Z]}return QK[Z]}var iQ={math:{},text:{}};function W(Q,Z,J,X,Y,K){if(iQ[Q][Y]={font:Z,group:J,replace:X},K&&X)iQ[Q][X]=iQ[Q][Y]}var q="math",n="text",I="main",w="ams",nQ="accent-token",RQ="bin",NZ="close",zJ="inner",HQ="mathord",KZ="op-token",dZ="open",XX="punct",y="rel",i0="spacing",f="textord";W(q,I,y,"≡","\\equiv",!0);W(q,I,y,"≺","\\prec",!0);W(q,I,y,"≻","\\succ",!0);W(q,I,y,"∼","\\sim",!0);W(q,I,y,"⊥","\\perp");W(q,I,y,"⪯","\\preceq",!0);W(q,I,y,"⪰","\\succeq",!0);W(q,I,y,"≃","\\simeq",!0);W(q,I,y,"∣","\\mid",!0);W(q,I,y,"≪","\\ll",!0);W(q,I,y,"≫","\\gg",!0);W(q,I,y,"≍","\\asymp",!0);W(q,I,y,"∥","\\parallel");W(q,I,y,"⋈","\\bowtie",!0);W(q,I,y,"⌣","\\smile",!0);W(q,I,y,"⊑","\\sqsubseteq",!0);W(q,I,y,"⊒","\\sqsupseteq",!0);W(q,I,y,"≐","\\doteq",!0);W(q,I,y,"⌢","\\frown",!0);W(q,I,y,"∋","\\ni",!0);W(q,I,y,"∝","\\propto",!0);W(q,I,y,"⊢","\\vdash",!0);W(q,I,y,"⊣","\\dashv",!0);W(q,I,y,"∋","\\owns");W(q,I,XX,".","\\ldotp");W(q,I,XX,"⋅","\\cdotp");W(q,I,XX,"⋅","·");W(n,I,f,"⋅","·");W(q,I,f,"#","\\#");W(n,I,f,"#","\\#");W(q,I,f,"&","\\&");W(n,I,f,"&","\\&");W(q,I,f,"ℵ","\\aleph",!0);W(q,I,f,"∀","\\forall",!0);W(q,I,f,"ℏ","\\hbar",!0);W(q,I,f,"∃","\\exists",!0);W(q,I,f,"∇","\\nabla",!0);W(q,I,f,"♭","\\flat",!0);W(q,I,f,"ℓ","\\ell",!0);W(q,I,f,"♮","\\natural",!0);W(q,I,f,"♣","\\clubsuit",!0);W(q,I,f,"℘","\\wp",!0);W(q,I,f,"♯","\\sharp",!0);W(q,I,f,"♢","\\diamondsuit",!0);W(q,I,f,"ℜ","\\Re",!0);W(q,I,f,"♡","\\heartsuit",!0);W(q,I,f,"ℑ","\\Im",!0);W(q,I,f,"♠","\\spadesuit",!0);W(q,I,f,"§","\\S",!0);W(n,I,f,"§","\\S");W(q,I,f,"¶","\\P",!0);W(n,I,f,"¶","\\P");W(q,I,f,"†","\\dag");W(n,I,f,"†","\\dag");W(n,I,f,"†","\\textdagger");W(q,I,f,"‡","\\ddag");W(n,I,f,"‡","\\ddag");W(n,I,f,"‡","\\textdaggerdbl");W(q,I,NZ,"⎱","\\rmoustache",!0);W(q,I,dZ,"⎰","\\lmoustache",!0);W(q,I,NZ,"⟯","\\rgroup",!0);W(q,I,dZ,"⟮","\\lgroup",!0);W(q,I,RQ,"∓","\\mp",!0);W(q,I,RQ,"⊖","\\ominus",!0);W(q,I,RQ,"⊎","\\uplus",!0);W(q,I,RQ,"⊓","\\sqcap",!0);W(q,I,RQ,"∗","\\ast");W(q,I,RQ,"⊔","\\sqcup",!0);W(q,I,RQ,"◯","\\bigcirc",!0);W(q,I,RQ,"∙","\\bullet",!0);W(q,I,RQ,"‡","\\ddagger");W(q,I,RQ,"≀","\\wr",!0);W(q,I,RQ,"⨿","\\amalg");W(q,I,RQ,"&","\\And");W(q,I,y,"⟵","\\longleftarrow",!0);W(q,I,y,"⇐","\\Leftarrow",!0);W(q,I,y,"⟸","\\Longleftarrow",!0);W(q,I,y,"⟶","\\longrightarrow",!0);W(q,I,y,"⇒","\\Rightarrow",!0);W(q,I,y,"⟹","\\Longrightarrow",!0);W(q,I,y,"↔","\\leftrightarrow",!0);W(q,I,y,"⟷","\\longleftrightarrow",!0);W(q,I,y,"⇔","\\Leftrightarrow",!0);W(q,I,y,"⟺","\\Longleftrightarrow",!0);W(q,I,y,"↦","\\mapsto",!0);W(q,I,y,"⟼","\\longmapsto",!0);W(q,I,y,"↗","\\nearrow",!0);W(q,I,y,"↩","\\hookleftarrow",!0);W(q,I,y,"↪","\\hookrightarrow",!0);W(q,I,y,"↘","\\searrow",!0);W(q,I,y,"↼","\\leftharpoonup",!0);W(q,I,y,"⇀","\\rightharpoonup",!0);W(q,I,y,"↙","\\swarrow",!0);W(q,I,y,"↽","\\leftharpoondown",!0);W(q,I,y,"⇁","\\rightharpoondown",!0);W(q,I,y,"↖","\\nwarrow",!0);W(q,I,y,"⇌","\\rightleftharpoons",!0);W(q,w,y,"≮","\\nless",!0);W(q,w,y,"","\\@nleqslant");W(q,w,y,"","\\@nleqq");W(q,w,y,"⪇","\\lneq",!0);W(q,w,y,"≨","\\lneqq",!0);W(q,w,y,"","\\@lvertneqq");W(q,w,y,"⋦","\\lnsim",!0);W(q,w,y,"⪉","\\lnapprox",!0);W(q,w,y,"⊀","\\nprec",!0);W(q,w,y,"⋠","\\npreceq",!0);W(q,w,y,"⋨","\\precnsim",!0);W(q,w,y,"⪹","\\precnapprox",!0);W(q,w,y,"≁","\\nsim",!0);W(q,w,y,"","\\@nshortmid");W(q,w,y,"∤","\\nmid",!0);W(q,w,y,"⊬","\\nvdash",!0);W(q,w,y,"⊭","\\nvDash",!0);W(q,w,y,"⋪","\\ntriangleleft");W(q,w,y,"⋬","\\ntrianglelefteq",!0);W(q,w,y,"⊊","\\subsetneq",!0);W(q,w,y,"","\\@varsubsetneq");W(q,w,y,"⫋","\\subsetneqq",!0);W(q,w,y,"","\\@varsubsetneqq");W(q,w,y,"≯","\\ngtr",!0);W(q,w,y,"","\\@ngeqslant");W(q,w,y,"","\\@ngeqq");W(q,w,y,"⪈","\\gneq",!0);W(q,w,y,"≩","\\gneqq",!0);W(q,w,y,"","\\@gvertneqq");W(q,w,y,"⋧","\\gnsim",!0);W(q,w,y,"⪊","\\gnapprox",!0);W(q,w,y,"⊁","\\nsucc",!0);W(q,w,y,"⋡","\\nsucceq",!0);W(q,w,y,"⋩","\\succnsim",!0);W(q,w,y,"⪺","\\succnapprox",!0);W(q,w,y,"≆","\\ncong",!0);W(q,w,y,"","\\@nshortparallel");W(q,w,y,"∦","\\nparallel",!0);W(q,w,y,"⊯","\\nVDash",!0);W(q,w,y,"⋫","\\ntriangleright");W(q,w,y,"⋭","\\ntrianglerighteq",!0);W(q,w,y,"","\\@nsupseteqq");W(q,w,y,"⊋","\\supsetneq",!0);W(q,w,y,"","\\@varsupsetneq");W(q,w,y,"⫌","\\supsetneqq",!0);W(q,w,y,"","\\@varsupsetneqq");W(q,w,y,"⊮","\\nVdash",!0);W(q,w,y,"⪵","\\precneqq",!0);W(q,w,y,"⪶","\\succneqq",!0);W(q,w,y,"","\\@nsubseteqq");W(q,w,RQ,"⊴","\\unlhd");W(q,w,RQ,"⊵","\\unrhd");W(q,w,y,"↚","\\nleftarrow",!0);W(q,w,y,"↛","\\nrightarrow",!0);W(q,w,y,"⇍","\\nLeftarrow",!0);W(q,w,y,"⇏","\\nRightarrow",!0);W(q,w,y,"↮","\\nleftrightarrow",!0);W(q,w,y,"⇎","\\nLeftrightarrow",!0);W(q,w,y,"△","\\vartriangle");W(q,w,f,"ℏ","\\hslash");W(q,w,f,"▽","\\triangledown");W(q,w,f,"◊","\\lozenge");W(q,w,f,"Ⓢ","\\circledS");W(q,w,f,"®","\\circledR");W(n,w,f,"®","\\circledR");W(q,w,f,"∡","\\measuredangle",!0);W(q,w,f,"∄","\\nexists");W(q,w,f,"℧","\\mho");W(q,w,f,"Ⅎ","\\Finv",!0);W(q,w,f,"⅁","\\Game",!0);W(q,w,f,"‵","\\backprime");W(q,w,f,"▲","\\blacktriangle");W(q,w,f,"▼","\\blacktriangledown");W(q,w,f,"■","\\blacksquare");W(q,w,f,"⧫","\\blacklozenge");W(q,w,f,"★","\\bigstar");W(q,w,f,"∢","\\sphericalangle",!0);W(q,w,f,"∁","\\complement",!0);W(q,w,f,"ð","\\eth",!0);W(n,I,f,"ð","ð");W(q,w,f,"╱","\\diagup");W(q,w,f,"╲","\\diagdown");W(q,w,f,"□","\\square");W(q,w,f,"□","\\Box");W(q,w,f,"◊","\\Diamond");W(q,w,f,"¥","\\yen",!0);W(n,w,f,"¥","\\yen",!0);W(q,w,f,"✓","\\checkmark",!0);W(n,w,f,"✓","\\checkmark");W(q,w,f,"ℶ","\\beth",!0);W(q,w,f,"ℸ","\\daleth",!0);W(q,w,f,"ℷ","\\gimel",!0);W(q,w,f,"ϝ","\\digamma",!0);W(q,w,f,"ϰ","\\varkappa");W(q,w,dZ,"┌","\\@ulcorner",!0);W(q,w,NZ,"┐","\\@urcorner",!0);W(q,w,dZ,"└","\\@llcorner",!0);W(q,w,NZ,"┘","\\@lrcorner",!0);W(q,w,y,"≦","\\leqq",!0);W(q,w,y,"⩽","\\leqslant",!0);W(q,w,y,"⪕","\\eqslantless",!0);W(q,w,y,"≲","\\lesssim",!0);W(q,w,y,"⪅","\\lessapprox",!0);W(q,w,y,"≊","\\approxeq",!0);W(q,w,RQ,"⋖","\\lessdot");W(q,w,y,"⋘","\\lll",!0);W(q,w,y,"≶","\\lessgtr",!0);W(q,w,y,"⋚","\\lesseqgtr",!0);W(q,w,y,"⪋","\\lesseqqgtr",!0);W(q,w,y,"≑","\\doteqdot");W(q,w,y,"≓","\\risingdotseq",!0);W(q,w,y,"≒","\\fallingdotseq",!0);W(q,w,y,"∽","\\backsim",!0);W(q,w,y,"⋍","\\backsimeq",!0);W(q,w,y,"⫅","\\subseteqq",!0);W(q,w,y,"⋐","\\Subset",!0);W(q,w,y,"⊏","\\sqsubset",!0);W(q,w,y,"≼","\\preccurlyeq",!0);W(q,w,y,"⋞","\\curlyeqprec",!0);W(q,w,y,"≾","\\precsim",!0);W(q,w,y,"⪷","\\precapprox",!0);W(q,w,y,"⊲","\\vartriangleleft");W(q,w,y,"⊴","\\trianglelefteq");W(q,w,y,"⊨","\\vDash",!0);W(q,w,y,"⊪","\\Vvdash",!0);W(q,w,y,"⌣","\\smallsmile");W(q,w,y,"⌢","\\smallfrown");W(q,w,y,"≏","\\bumpeq",!0);W(q,w,y,"≎","\\Bumpeq",!0);W(q,w,y,"≧","\\geqq",!0);W(q,w,y,"⩾","\\geqslant",!0);W(q,w,y,"⪖","\\eqslantgtr",!0);W(q,w,y,"≳","\\gtrsim",!0);W(q,w,y,"⪆","\\gtrapprox",!0);W(q,w,RQ,"⋗","\\gtrdot");W(q,w,y,"⋙","\\ggg",!0);W(q,w,y,"≷","\\gtrless",!0);W(q,w,y,"⋛","\\gtreqless",!0);W(q,w,y,"⪌","\\gtreqqless",!0);W(q,w,y,"≖","\\eqcirc",!0);W(q,w,y,"≗","\\circeq",!0);W(q,w,y,"≜","\\triangleq",!0);W(q,w,y,"∼","\\thicksim");W(q,w,y,"≈","\\thickapprox");W(q,w,y,"⫆","\\supseteqq",!0);W(q,w,y,"⋑","\\Supset",!0);W(q,w,y,"⊐","\\sqsupset",!0);W(q,w,y,"≽","\\succcurlyeq",!0);W(q,w,y,"⋟","\\curlyeqsucc",!0);W(q,w,y,"≿","\\succsim",!0);W(q,w,y,"⪸","\\succapprox",!0);W(q,w,y,"⊳","\\vartriangleright");W(q,w,y,"⊵","\\trianglerighteq");W(q,w,y,"⊩","\\Vdash",!0);W(q,w,y,"∣","\\shortmid");W(q,w,y,"∥","\\shortparallel");W(q,w,y,"≬","\\between",!0);W(q,w,y,"⋔","\\pitchfork",!0);W(q,w,y,"∝","\\varpropto");W(q,w,y,"◀","\\blacktriangleleft");W(q,w,y,"∴","\\therefore",!0);W(q,w,y,"∍","\\backepsilon");W(q,w,y,"▶","\\blacktriangleright");W(q,w,y,"∵","\\because",!0);W(q,w,y,"⋘","\\llless");W(q,w,y,"⋙","\\gggtr");W(q,w,RQ,"⊲","\\lhd");W(q,w,RQ,"⊳","\\rhd");W(q,w,y,"≂","\\eqsim",!0);W(q,I,y,"⋈","\\Join");W(q,w,y,"≑","\\Doteq",!0);W(q,w,RQ,"∔","\\dotplus",!0);W(q,w,RQ,"∖","\\smallsetminus");W(q,w,RQ,"⋒","\\Cap",!0);W(q,w,RQ,"⋓","\\Cup",!0);W(q,w,RQ,"⩞","\\doublebarwedge",!0);W(q,w,RQ,"⊟","\\boxminus",!0);W(q,w,RQ,"⊞","\\boxplus",!0);W(q,w,RQ,"⋇","\\divideontimes",!0);W(q,w,RQ,"⋉","\\ltimes",!0);W(q,w,RQ,"⋊","\\rtimes",!0);W(q,w,RQ,"⋋","\\leftthreetimes",!0);W(q,w,RQ,"⋌","\\rightthreetimes",!0);W(q,w,RQ,"⋏","\\curlywedge",!0);W(q,w,RQ,"⋎","\\curlyvee",!0);W(q,w,RQ,"⊝","\\circleddash",!0);W(q,w,RQ,"⊛","\\circledast",!0);W(q,w,RQ,"⋅","\\centerdot");W(q,w,RQ,"⊺","\\intercal",!0);W(q,w,RQ,"⋒","\\doublecap");W(q,w,RQ,"⋓","\\doublecup");W(q,w,RQ,"⊠","\\boxtimes",!0);W(q,w,y,"⇢","\\dashrightarrow",!0);W(q,w,y,"⇠","\\dashleftarrow",!0);W(q,w,y,"⇇","\\leftleftarrows",!0);W(q,w,y,"⇆","\\leftrightarrows",!0);W(q,w,y,"⇚","\\Lleftarrow",!0);W(q,w,y,"↞","\\twoheadleftarrow",!0);W(q,w,y,"↢","\\leftarrowtail",!0);W(q,w,y,"↫","\\looparrowleft",!0);W(q,w,y,"⇋","\\leftrightharpoons",!0);W(q,w,y,"↶","\\curvearrowleft",!0);W(q,w,y,"↺","\\circlearrowleft",!0);W(q,w,y,"↰","\\Lsh",!0);W(q,w,y,"⇈","\\upuparrows",!0);W(q,w,y,"↿","\\upharpoonleft",!0);W(q,w,y,"⇃","\\downharpoonleft",!0);W(q,I,y,"⊶","\\origof",!0);W(q,I,y,"⊷","\\imageof",!0);W(q,w,y,"⊸","\\multimap",!0);W(q,w,y,"↭","\\leftrightsquigarrow",!0);W(q,w,y,"⇉","\\rightrightarrows",!0);W(q,w,y,"⇄","\\rightleftarrows",!0);W(q,w,y,"↠","\\twoheadrightarrow",!0);W(q,w,y,"↣","\\rightarrowtail",!0);W(q,w,y,"↬","\\looparrowright",!0);W(q,w,y,"↷","\\curvearrowright",!0);W(q,w,y,"↻","\\circlearrowright",!0);W(q,w,y,"↱","\\Rsh",!0);W(q,w,y,"⇊","\\downdownarrows",!0);W(q,w,y,"↾","\\upharpoonright",!0);W(q,w,y,"⇂","\\downharpoonright",!0);W(q,w,y,"⇝","\\rightsquigarrow",!0);W(q,w,y,"⇝","\\leadsto");W(q,w,y,"⇛","\\Rrightarrow",!0);W(q,w,y,"↾","\\restriction");W(q,I,f,"‘","`");W(q,I,f,"$","\\$");W(n,I,f,"$","\\$");W(n,I,f,"$","\\textdollar");W(q,I,f,"%","\\%");W(n,I,f,"%","\\%");W(q,I,f,"_","\\_");W(n,I,f,"_","\\_");W(n,I,f,"_","\\textunderscore");W(q,I,f,"∠","\\angle",!0);W(q,I,f,"∞","\\infty",!0);W(q,I,f,"′","\\prime");W(q,I,f,"△","\\triangle");W(q,I,f,"Γ","\\Gamma",!0);W(q,I,f,"Δ","\\Delta",!0);W(q,I,f,"Θ","\\Theta",!0);W(q,I,f,"Λ","\\Lambda",!0);W(q,I,f,"Ξ","\\Xi",!0);W(q,I,f,"Π","\\Pi",!0);W(q,I,f,"Σ","\\Sigma",!0);W(q,I,f,"Υ","\\Upsilon",!0);W(q,I,f,"Φ","\\Phi",!0);W(q,I,f,"Ψ","\\Psi",!0);W(q,I,f,"Ω","\\Omega",!0);W(q,I,f,"A","Α");W(q,I,f,"B","Β");W(q,I,f,"E","Ε");W(q,I,f,"Z","Ζ");W(q,I,f,"H","Η");W(q,I,f,"I","Ι");W(q,I,f,"K","Κ");W(q,I,f,"M","Μ");W(q,I,f,"N","Ν");W(q,I,f,"O","Ο");W(q,I,f,"P","Ρ");W(q,I,f,"T","Τ");W(q,I,f,"X","Χ");W(q,I,f,"¬","\\neg",!0);W(q,I,f,"¬","\\lnot");W(q,I,f,"⊤","\\top");W(q,I,f,"⊥","\\bot");W(q,I,f,"∅","\\emptyset");W(q,w,f,"∅","\\varnothing");W(q,I,HQ,"α","\\alpha",!0);W(q,I,HQ,"β","\\beta",!0);W(q,I,HQ,"γ","\\gamma",!0);W(q,I,HQ,"δ","\\delta",!0);W(q,I,HQ,"ϵ","\\epsilon",!0);W(q,I,HQ,"ζ","\\zeta",!0);W(q,I,HQ,"η","\\eta",!0);W(q,I,HQ,"θ","\\theta",!0);W(q,I,HQ,"ι","\\iota",!0);W(q,I,HQ,"κ","\\kappa",!0);W(q,I,HQ,"λ","\\lambda",!0);W(q,I,HQ,"μ","\\mu",!0);W(q,I,HQ,"ν","\\nu",!0);W(q,I,HQ,"ξ","\\xi",!0);W(q,I,HQ,"ο","\\omicron",!0);W(q,I,HQ,"π","\\pi",!0);W(q,I,HQ,"ρ","\\rho",!0);W(q,I,HQ,"σ","\\sigma",!0);W(q,I,HQ,"τ","\\tau",!0);W(q,I,HQ,"υ","\\upsilon",!0);W(q,I,HQ,"ϕ","\\phi",!0);W(q,I,HQ,"χ","\\chi",!0);W(q,I,HQ,"ψ","\\psi",!0);W(q,I,HQ,"ω","\\omega",!0);W(q,I,HQ,"ε","\\varepsilon",!0);W(q,I,HQ,"ϑ","\\vartheta",!0);W(q,I,HQ,"ϖ","\\varpi",!0);W(q,I,HQ,"ϱ","\\varrho",!0);W(q,I,HQ,"ς","\\varsigma",!0);W(q,I,HQ,"φ","\\varphi",!0);W(q,I,RQ,"∗","*",!0);W(q,I,RQ,"+","+");W(q,I,RQ,"−","-",!0);W(q,I,RQ,"⋅","\\cdot",!0);W(q,I,RQ,"∘","\\circ",!0);W(q,I,RQ,"÷","\\div",!0);W(q,I,RQ,"±","\\pm",!0);W(q,I,RQ,"×","\\times",!0);W(q,I,RQ,"∩","\\cap",!0);W(q,I,RQ,"∪","\\cup",!0);W(q,I,RQ,"∖","\\setminus",!0);W(q,I,RQ,"∧","\\land");W(q,I,RQ,"∨","\\lor");W(q,I,RQ,"∧","\\wedge",!0);W(q,I,RQ,"∨","\\vee",!0);W(q,I,f,"√","\\surd");W(q,I,dZ,"⟨","\\langle",!0);W(q,I,dZ,"∣","\\lvert");W(q,I,dZ,"∥","\\lVert");W(q,I,NZ,"?","?");W(q,I,NZ,"!","!");W(q,I,NZ,"⟩","\\rangle",!0);W(q,I,NZ,"∣","\\rvert");W(q,I,NZ,"∥","\\rVert");W(q,I,y,"=","=");W(q,I,y,":",":");W(q,I,y,"≈","\\approx",!0);W(q,I,y,"≅","\\cong",!0);W(q,I,y,"≥","\\ge");W(q,I,y,"≥","\\geq",!0);W(q,I,y,"←","\\gets");W(q,I,y,">","\\gt",!0);W(q,I,y,"∈","\\in",!0);W(q,I,y,"","\\@not");W(q,I,y,"⊂","\\subset",!0);W(q,I,y,"⊃","\\supset",!0);W(q,I,y,"⊆","\\subseteq",!0);W(q,I,y,"⊇","\\supseteq",!0);W(q,w,y,"⊈","\\nsubseteq",!0);W(q,w,y,"⊉","\\nsupseteq",!0);W(q,I,y,"⊨","\\models");W(q,I,y,"←","\\leftarrow",!0);W(q,I,y,"≤","\\le");W(q,I,y,"≤","\\leq",!0);W(q,I,y,"<","\\lt",!0);W(q,I,y,"→","\\rightarrow",!0);W(q,I,y,"→","\\to");W(q,w,y,"≱","\\ngeq",!0);W(q,w,y,"≰","\\nleq",!0);W(q,I,i0," ","\\ ");W(q,I,i0," ","\\space");W(q,I,i0," ","\\nobreakspace");W(n,I,i0," ","\\ ");W(n,I,i0," "," ");W(n,I,i0," ","\\space");W(n,I,i0," ","\\nobreakspace");W(q,I,i0,"","\\nobreak");W(q,I,i0,"","\\allowbreak");W(q,I,XX,",",",");W(q,I,XX,";",";");W(q,w,RQ,"⊼","\\barwedge",!0);W(q,w,RQ,"⊻","\\veebar",!0);W(q,I,RQ,"⊙","\\odot",!0);W(q,I,RQ,"⊕","\\oplus",!0);W(q,I,RQ,"⊗","\\otimes",!0);W(q,I,f,"∂","\\partial",!0);W(q,I,RQ,"⊘","\\oslash",!0);W(q,w,RQ,"⊚","\\circledcirc",!0);W(q,w,RQ,"⊡","\\boxdot",!0);W(q,I,RQ,"△","\\bigtriangleup");W(q,I,RQ,"▽","\\bigtriangledown");W(q,I,RQ,"†","\\dagger");W(q,I,RQ,"⋄","\\diamond");W(q,I,RQ,"⋆","\\star");W(q,I,RQ,"◃","\\triangleleft");W(q,I,RQ,"▹","\\triangleright");W(q,I,dZ,"{","\\{");W(n,I,f,"{","\\{");W(n,I,f,"{","\\textbraceleft");W(q,I,NZ,"}","\\}");W(n,I,f,"}","\\}");W(n,I,f,"}","\\textbraceright");W(q,I,dZ,"{","\\lbrace");W(q,I,NZ,"}","\\rbrace");W(q,I,dZ,"[","\\lbrack",!0);W(n,I,f,"[","\\lbrack",!0);W(q,I,NZ,"]","\\rbrack",!0);W(n,I,f,"]","\\rbrack",!0);W(q,I,dZ,"(","\\lparen",!0);W(q,I,NZ,")","\\rparen",!0);W(n,I,f,"<","\\textless",!0);W(n,I,f,">","\\textgreater",!0);W(q,I,dZ,"⌊","\\lfloor",!0);W(q,I,NZ,"⌋","\\rfloor",!0);W(q,I,dZ,"⌈","\\lceil",!0);W(q,I,NZ,"⌉","\\rceil",!0);W(q,I,f,"\\","\\backslash");W(q,I,f,"∣","|");W(q,I,f,"∣","\\vert");W(n,I,f,"|","\\textbar",!0);W(q,I,f,"∥","\\|");W(q,I,f,"∥","\\Vert");W(n,I,f,"∥","\\textbardbl");W(n,I,f,"~","\\textasciitilde");W(n,I,f,"\\","\\textbackslash");W(n,I,f,"^","\\textasciicircum");W(q,I,y,"↑","\\uparrow",!0);W(q,I,y,"⇑","\\Uparrow",!0);W(q,I,y,"↓","\\downarrow",!0);W(q,I,y,"⇓","\\Downarrow",!0);W(q,I,y,"↕","\\updownarrow",!0);W(q,I,y,"⇕","\\Updownarrow",!0);W(q,I,KZ,"∐","\\coprod");W(q,I,KZ,"⋁","\\bigvee");W(q,I,KZ,"⋀","\\bigwedge");W(q,I,KZ,"⨄","\\biguplus");W(q,I,KZ,"⋂","\\bigcap");W(q,I,KZ,"⋃","\\bigcup");W(q,I,KZ,"∫","\\int");W(q,I,KZ,"∫","\\intop");W(q,I,KZ,"∬","\\iint");W(q,I,KZ,"∭","\\iiint");W(q,I,KZ,"∏","\\prod");W(q,I,KZ,"∑","\\sum");W(q,I,KZ,"⨂","\\bigotimes");W(q,I,KZ,"⨁","\\bigoplus");W(q,I,KZ,"⨀","\\bigodot");W(q,I,KZ,"∮","\\oint");W(q,I,KZ,"∯","\\oiint");W(q,I,KZ,"∰","\\oiiint");W(q,I,KZ,"⨆","\\bigsqcup");W(q,I,KZ,"∫","\\smallint");W(n,I,zJ,"…","\\textellipsis");W(q,I,zJ,"…","\\mathellipsis");W(n,I,zJ,"…","\\ldots",!0);W(q,I,zJ,"…","\\ldots",!0);W(q,I,zJ,"⋯","\\@cdots",!0);W(q,I,zJ,"⋱","\\ddots",!0);W(q,I,f,"⋮","\\varvdots");W(n,I,f,"⋮","\\varvdots");W(q,I,nQ,"ˊ","\\acute");W(q,I,nQ,"ˋ","\\grave");W(q,I,nQ,"¨","\\ddot");W(q,I,nQ,"~","\\tilde");W(q,I,nQ,"ˉ","\\bar");W(q,I,nQ,"˘","\\breve");W(q,I,nQ,"ˇ","\\check");W(q,I,nQ,"^","\\hat");W(q,I,nQ,"⃗","\\vec");W(q,I,nQ,"˙","\\dot");W(q,I,nQ,"˚","\\mathring");W(q,I,HQ,"","\\@imath");W(q,I,HQ,"","\\@jmath");W(q,I,f,"ı","ı");W(q,I,f,"ȷ","ȷ");W(n,I,f,"ı","\\i",!0);W(n,I,f,"ȷ","\\j",!0);W(n,I,f,"ß","\\ss",!0);W(n,I,f,"æ","\\ae",!0);W(n,I,f,"œ","\\oe",!0);W(n,I,f,"ø","\\o",!0);W(n,I,f,"Æ","\\AE",!0);W(n,I,f,"Œ","\\OE",!0);W(n,I,f,"Ø","\\O",!0);W(n,I,nQ,"ˊ","\\'");W(n,I,nQ,"ˋ","\\`");W(n,I,nQ,"ˆ","\\^");W(n,I,nQ,"˜","\\~");W(n,I,nQ,"ˉ","\\=");W(n,I,nQ,"˘","\\u");W(n,I,nQ,"˙","\\.");W(n,I,nQ,"¸","\\c");W(n,I,nQ,"˚","\\r");W(n,I,nQ,"ˇ","\\v");W(n,I,nQ,"¨","\\\"");W(n,I,nQ,"˝","\\H");W(n,I,nQ,"◯","\\textcircled");var PF={"--":!0,"---":!0,"``":!0,"''":!0};W(n,I,f,"–","--",!0);W(n,I,f,"–","\\textendash");W(n,I,f,"—","---",!0);W(n,I,f,"—","\\textemdash");W(n,I,f,"‘","`",!0);W(n,I,f,"‘","\\textquoteleft");W(n,I,f,"’","'",!0);W(n,I,f,"’","\\textquoteright");W(n,I,f,"“","``",!0);W(n,I,f,"“","\\textquotedblleft");W(n,I,f,"”","''",!0);W(n,I,f,"”","\\textquotedblright");W(q,I,f,"°","\\degree",!0);W(n,I,f,"°","\\degree");W(n,I,f,"°","\\textdegree",!0);W(q,I,f,"£","\\pounds");W(q,I,f,"£","\\mathsterling",!0);W(n,I,f,"£","\\pounds");W(n,I,f,"£","\\textsterling",!0);W(q,w,f,"✠","\\maltese");W(n,w,f,"✠","\\maltese");var O6='0123456789/@."';for(PX=0;PX{var Z=Q.charCodeAt(0),J=Q.charCodeAt(1),X=(Z-55296)*1024+(J-56320)+65536;if(119808<=X&&X<120484){var Y=Math.floor((X-119808)/26);return k6[Y]}else if(120782<=X&&X<=120831){var K=Math.floor((X-120782)/10);return $5[K]}else if(X===120485||X===120486)return k6[0];else if(120486{if(U9(Q.classes)!==U9(Z.classes)||Q.skew!==Z.skew||Q.maxFontSize!==Z.maxFontSize||Q.italic!==0&&Q.hasClass("mathnormal"))return!1;if(Q.classes.length===1){var J=Q.classes[0];if(J==="mbin"||J==="mord")return!1}for(var X of Object.keys(Q.style))if(Q.style[X]!==Z.style[X])return!1;for(var Y of Object.keys(Z.style))if(Q.style[Y]!==Z.style[Y])return!1;return!0},TF=(Q)=>{for(var Z=0;ZJ)J=j.height;if(j.depth>X)X=j.depth;if(j.maxFontSize>Y)Y=j.maxFontSize}Z.height=J,Z.depth=X,Z.maxFontSize=Y},s=function(Z,J,X,Y){var K=new u9(Z,J,X,Y);return R7(K),K},F9=(Q,Z,J,X)=>new u9(Q,Z,J,X),FJ=function(Z,J,X){var Y=s([Z],[],J);return Y.height=Math.max(X||J.fontMetrics().defaultRuleThickness,J.minRuleThickness),Y.style.borderBottomWidth=YQ(Y.height),Y.maxFontSize=1,Y},c5=function(Z,J,X,Y){var K=new JX(Z,J,X,Y);return R7(K),K},n0=function(Z){var J=new c9(Z);return R7(J),J},RJ=function(Z,J){if(Z instanceof c9)return s([],[Z],J);return Z},u5=function(Z){if(Z.positionType==="individualShift"){var J=Z.children,X=[J[0]],Y=-J[0].shift-J[0].elem.depth,K=Y;for(var j=1;j{var J=s(["mspace"],[],Z),X=oQ(Q,Z);return J.style.marginRight=YQ(X),J},NX=(Q,Z,J)=>{var X,Y;switch(Q){case"amsrm":X="AMS";break;case"textrm":X="Main";break;case"textsf":X="SansSerif";break;case"texttt":X="Typewriter";break;default:X=Q}if(Z==="textbf"&&J==="textit")Y="BoldItalic";else if(Z==="textbf")Y="Bold";else if(J==="textit")Y="Italic";else Y="Regular";return X+"-"+Y},Z8={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"}},SF={vec:["vec",0.471,0.714],oiintSize1:["oiintSize1",0.957,0.499],oiintSize2:["oiintSize2",1.472,0.659],oiiintSize1:["oiiintSize1",1.304,0.499],oiiintSize2:["oiiintSize2",1.98,0.659]},NF=function(Z,J){var[X,Y,K]=SF[Z],j=new l0(X),U=new T0([j],{width:YQ(Y),height:YQ(K),style:"width:"+YQ(Y),viewBox:"0 0 "+1000*Y+" "+1000*K,preserveAspectRatio:"xMinYMin"}),F=F9(["overlay"],[U],J);return F.height=K,F.style.height=YQ(K),F.style.width=YQ(Y),F},tQ={number:3,unit:"mu"},E9={number:4,unit:"mu"},_0={number:5,unit:"mu"},d5={mord:{mop:tQ,mbin:E9,mrel:_0,minner:tQ},mop:{mord:tQ,mop:tQ,mrel:_0,minner:tQ},mbin:{mord:E9,mop:E9,mopen:E9,minner:E9},mrel:{mord:_0,mop:_0,mopen:_0,minner:_0},mopen:{},mclose:{mop:tQ,mbin:E9,mrel:_0,minner:tQ},mpunct:{mord:tQ,mop:tQ,mrel:_0,mopen:tQ,mclose:tQ,mpunct:tQ,minner:tQ},minner:{mord:tQ,mop:tQ,mbin:E9,mrel:_0,mopen:tQ,mpunct:tQ,minner:tQ}},l5={mord:{mop:tQ},mop:{mord:tQ,mop:tQ},mbin:{},mrel:{},mopen:{},mclose:{mop:tQ},mpunct:{},minner:{mop:tQ}},wF={},pJ={},aJ={};function FQ(Q){var{type:Z,names:J,htmlBuilder:X,mathmlBuilder:Y}=Q;for(var K=0;K{var V=H.classes[0],O=D.classes[0];if(V==="mbin"&&a5.has(O))H.classes[0]="mord";else if(O==="mbin"&&p5.has(V))D.classes[0]="mord"},{node:z},L,E),J8(K,(D,H)=>{var V,O,S=Y8(H),P=Y8(D),T=S&&P?D.hasClass("mtight")?(V=l5[S])==null?void 0:V[P]:(O=d5[S])==null?void 0:O[P]:null;if(T)return CF(T,A)},{node:z},L,E),K},J8=function(Z,J,X,Y,K){if(Y)Z.push(Y);var j=0;for(;j(L)=>{Z.splice(z+1,0,L),j++})(j)}if(Y)Z.pop()},kF=function(Z){if(Z instanceof c9||Z instanceof JX||Z instanceof u9&&Z.hasClass("enclosing"))return Z;return null},X8=function(Z,J){var X=kF(Z);if(X){var Y=X.children;if(Y.length){if(J==="right")return X8(Y[Y.length-1],"right");else if(J==="left")return X8(Y[0],"left")}}return Z},Y8=function(Z,J){if(!Z)return null;if(J)Z=X8(Z,J);var X=Z.classes[0];return n5[X]||null},iJ=function(Z,J){var X=["nulldelimiter"].concat(Z.baseSizingClasses());return s(J.concat(X))},hQ=function(Z,J,X){if(!Z)return s();if(pJ[Z.type]){var Y=pJ[Z.type](Z,J);if(X&&J.size!==X.size){Y=s(J.sizingClasses(X),[Y],J);var K=J.sizeMultiplier/X.sizeMultiplier;Y.height*=K,Y.depth*=K}return Y}else throw new ZQ("Got group of unknown type: '"+Z.type+"'")};function wX(Q,Z){var J=s(["base"],Q,Z),X=s(["strut"]);if(X.style.height=YQ(J.height+J.depth),J.depth)X.style.verticalAlign=YQ(-J.depth);return J.children.unshift(X),J}function K8(Q,Z){var J=null;if(Q.length===1&&Q[0].type==="tag")J=Q[0].tag,Q=Q[0].body;var X=AZ(Q,Z,"root"),Y;if(X.length===2&&X[1].hasClass("tag"))Y=X.pop();var K=[],j=[];for(var U=0;U0)K.push(wX(j,Z)),j=[];K.push(X[U])}if(j.length>0)K.push(wX(j,Z));var A;if(J)A=wX(AZ(J,Z,!0),Z),A.classes=["tag"],K.push(A);else if(Y)K.push(Y);var G=s(["katex-html"],K);if(G.setAttribute("aria-hidden","true"),A){var z=A.children[0];if(z.style.height=YQ(G.height+G.depth),G.depth)z.style.verticalAlign=YQ(-G.depth)}return G}function yF(Q){return new c9(Q)}class QQ{constructor(Q,Z,J){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=Q,this.attributes={},this.children=Z||[],this.classes=J||[]}setAttribute(Q,Z){this.attributes[Q]=Z}getAttribute(Q){return this.attributes[Q]}toNode(){var Q=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var Z in this.attributes)if(Object.prototype.hasOwnProperty.call(this.attributes,Z))Q.setAttribute(Z,this.attributes[Z]);if(this.classes.length>0)Q.className=U9(this.classes);for(var J=0;J0)Q+=' class ="'+OZ(U9(this.classes))+'"';Q+=">";for(var J=0;J",Q}toText(){return this.children.map((Q)=>Q.toText()).join("")}}class ZZ{constructor(Q){this.text=void 0,this.text=Q}toNode(){return document.createTextNode(this.text)}toMarkup(){return OZ(this.toText())}toText(){return this.text}}class A7{constructor(Q){if(this.width=void 0,this.character=void 0,this.width=Q,Q>=0.05555&&Q<=0.05556)this.character=" ";else if(Q>=0.1666&&Q<=0.1667)this.character=" ";else if(Q>=0.2222&&Q<=0.2223)this.character=" ";else if(Q>=0.2777&&Q<=0.2778)this.character="  ";else if(Q>=-0.05556&&Q<=-0.05555)this.character=" ⁣";else if(Q>=-0.1667&&Q<=-0.1666)this.character=" ⁣";else if(Q>=-0.2223&&Q<=-0.2222)this.character=" ⁣";else if(Q>=-0.2778&&Q<=-0.2777)this.character=" ⁣";else this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);else{var Q=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return Q.setAttribute("width",YQ(this.width)),Q}}toMarkup(){if(this.character)return""+this.character+"";else return''}toText(){if(this.character)return this.character;else return" "}}var s5=new Set(["\\imath","\\jmath"]),r5=new Set(["mrow","mtable"]),X0=function(Z,J,X){if(iQ[J][Z]&&iQ[J][Z].replace&&Z.charCodeAt(0)!==55349&&!(PF.hasOwnProperty(Z)&&X&&(X.fontFamily&&X.fontFamily.slice(4,6)==="tt"||X.font&&X.font.slice(4,6)==="tt")))Z=iQ[J][Z].replace;return new ZZ(Z)},W7=function(Z){if(Z.length===1)return Z[0];else return new QQ("mrow",Z)},t5={mathit:"italic",boldsymbol:(Q)=>Q.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"},q7=(Q,Z)=>{if(Q.mode==="text"){if(Z.fontFamily==="texttt")return"monospace";else if(Z.fontFamily==="textsf")if(Z.fontShape==="textit"&&Z.fontWeight==="textbf")return"sans-serif-bold-italic";else if(Z.fontShape==="textit")return"sans-serif-italic";else if(Z.fontWeight==="textbf")return"bold-sans-serif";else return"sans-serif";else if(Z.fontShape==="textit"&&Z.fontWeight==="textbf")return"bold-italic";else if(Z.fontShape==="textit")return"italic";else if(Z.fontWeight==="textbf")return"bold"}var J=Z.font;if(!J||J==="mathnormal")return null;var X=Q.mode,Y=t5[J];if(Y)return typeof Y==="function"?Y(Q):Y;var K=Q.text;if(s5.has(K))return null;if(iQ[X][K]){var j=iQ[X][K].replace;if(j)K=j}var U=Z8[J].fontName;if(U7(K,U,X))return Z8[J].variant;return null};function XK(Q){if(!Q)return!1;if(Q.type==="mi"&&Q.children.length===1){var Z=Q.children[0];return Z instanceof ZZ&&Z.text==="."}else if(Q.type==="mo"&&Q.children.length===1&&Q.getAttribute("separator")==="true"&&Q.getAttribute("lspace")==="0em"&&Q.getAttribute("rspace")==="0em"){var J=Q.children[0];return J instanceof ZZ&&J.text===","}else return!1}var lZ=function(Z,J,X){if(Z.length===1){var Y=uQ(Z[0],J);if(X&&Y instanceof QQ&&Y.type==="mo")Y.setAttribute("lspace","0em"),Y.setAttribute("rspace","0em");return[Y]}var K=[],j;for(var U=0;U=1&&(j.type==="mn"||XK(j))){var A=F.children[0];if(A instanceof QQ&&A.type==="mn")A.children=[...j.children,...A.children],K.pop()}else if(j.type==="mi"&&j.children.length===1){var G=j.children[0];if(G instanceof ZZ&&G.text==="̸"&&(F.type==="mo"||F.type==="mi"||F.type==="mn")){var z=F.children[0];if(z instanceof ZZ&&z.text.length>0)z.text=z.text.slice(0,1)+"̸"+z.text.slice(1),K.pop()}}}K.push(F),j=F}return K},R9=function(Z,J,X){return W7(lZ(Z,J,X))},uQ=function(Z,J){if(!Z)return new QQ("mrow");if(aJ[Z.type])return aJ[Z.type](Z,J);else throw new ZQ("Got group of unknown type: '"+Z.type+"'")};function y6(Q,Z,J,X,Y){var K=lZ(Q,J),j;if(K.length===1&&K[0]instanceof QQ&&r5.has(K[0].type))j=K[0];else j=new QQ("mrow",K);var U=new QQ("annotation",[new ZZ(Z)]);U.setAttribute("encoding","application/x-tex");var F=new QQ("semantics",[j,U]),A=new QQ("math",[F]);if(A.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),X)A.setAttribute("display","block");var G=Y?"katex":"katex-mathml";return s([G],[A])}var o5=[[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]],_6=[0.5,0.6,0.7,0.8,0.9,1,1.2,1.44,1.728,2.074,2.488],v6=function(Z,J){return J.size<2?Z:o5[Z-1][J.size-1]};class b0{constructor(Q){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=Q.style,this.color=Q.color,this.size=Q.size||b0.BASESIZE,this.textSize=Q.textSize||this.size,this.phantom=!!Q.phantom,this.font=Q.font||"",this.fontFamily=Q.fontFamily||"",this.fontWeight=Q.fontWeight||"",this.fontShape=Q.fontShape||"",this.sizeMultiplier=_6[this.size-1],this.maxSize=Q.maxSize,this.minRuleThickness=Q.minRuleThickness,this._fontMetrics=void 0}extend(Q){var Z={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(Z,Q),new b0(Z)}havingStyle(Q){if(this.style===Q)return this;else return this.extend({style:Q,size:v6(this.textSize,Q)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(Q){if(this.size===Q&&this.textSize===Q)return this;else return this.extend({style:this.style.text(),size:Q,textSize:Q,sizeMultiplier:_6[Q-1]})}havingBaseStyle(Q){Q=Q||this.style.text();var Z=v6(b0.BASESIZE,Q);if(this.size===Z&&this.textSize===b0.BASESIZE&&this.style===Q)return this;else return this.extend({style:Q,size:Z})}havingBaseSizing(){var Q;switch(this.style.id){case 4:case 5:Q=3;break;case 6:case 7:Q=1;break;default:Q=6}return this.extend({style:this.style.text(),size:Q})}withColor(Q){return this.extend({color:Q})}withPhantom(){return this.extend({phantom:!0})}withFont(Q){return this.extend({font:Q})}withTextFontFamily(Q){return this.extend({fontFamily:Q,font:""})}withTextFontWeight(Q){return this.extend({fontWeight:Q,font:""})}withTextFontShape(Q){return this.extend({fontShape:Q,font:""})}sizingClasses(Q){if(Q.size!==this.size)return["sizing","reset-size"+Q.size,"size"+this.size];else return[]}baseSizingClasses(){if(this.size!==b0.BASESIZE)return["sizing","reset-size"+this.size,"size"+b0.BASESIZE];else return[]}fontMetrics(){if(!this._fontMetrics)this._fontMetrics=b5(this.size);return this._fontMetrics}getColor(){if(this.phantom)return"transparent";else return this.color}}b0.BASESIZE=6;var _F=function(Z){return new b0({style:Z.displayMode?DQ.DISPLAY:DQ.TEXT,maxSize:Z.maxSize,minRuleThickness:Z.minRuleThickness})},vF=function(Z,J){if(J.displayMode){var X=["katex-display"];if(J.leqno)X.push("leqno");if(J.fleqn)X.push("fleqn");Z=s(X,[Z])}return Z},e5=function(Z,J,X){var Y=_F(X),K;if(X.output==="mathml")return y6(Z,J,Y,X.displayMode,!0);else if(X.output==="html"){var j=K8(Z,Y);K=s(["katex"],[j])}else{var U=y6(Z,J,Y,X.displayMode,!1),F=K8(Z,Y);K=s(["katex"],[U,F])}return vF(K,X)},Q4=function(Z,J,X){var Y=_F(X),K=K8(Z,Y),j=s(["katex"],[K]);return vF(j,X)},Z4={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":"="},MY=function(Z){var J=new QQ("mo",[new ZZ(Z4[Z.replace(/^\\/,"")])]);return J.setAttribute("stretchy","true"),J},J4={overrightarrow:[["rightarrow"],0.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],0.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],0.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],0.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"],0.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],0.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],0.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],0.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],0.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],0.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],0.888,522,"xMaxYMin"],xlongequal:[["longequal"],0.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],0.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],0.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],0.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],0.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"],0.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],0.888,522],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],overgroup:[["leftgroup","rightgroup"],0.888,342],undergroup:[["leftgroupunder","rightgroupunder"],0.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]},X4=new Set(["widehat","widecheck","widetilde","utilde"]),PY=function(Z,J){function X(){var U=400000,F=Z.label.slice(1);if(X4.has(F)&&"base"in Z){var A=Z.base.type==="ordgroup"?Z.base.body.length:1,G,z,L;if(A>5)if(F==="widehat"||F==="widecheck")G=420,U=2364,L=0.42,z=F+"4";else G=312,U=2340,L=0.34,z="tilde4";else{var E=[1,1,2,2,3,3][A];if(F==="widehat"||F==="widecheck")U=[0,1062,2364,2364,2364][E],G=[0,239,300,360,420][E],L=[0,0.24,0.3,0.3,0.36,0.42][E],z=F+E;else U=[0,600,1033,2339,2340][E],G=[0,260,286,306,312][E],L=[0,0.26,0.286,0.3,0.306,0.34][E],z="tilde"+E}var D=new l0(z),H=new T0([D],{width:"100%",height:YQ(L),viewBox:"0 0 "+U+" "+G,preserveAspectRatio:"none"});return{span:F9([],[H],J),minWidth:0,height:L}}else{var V=[],O=J4[F];if(!O)throw Error('No SVG data for "'+F+'".');var[S,P,T]=O,k=T/1000,M=S.length,C,N;if(M===1){if(O.length!==4)throw Error('Expected 4-tuple for single-path SVG data "'+F+'".');C=["hide-tail"],N=[O[3]]}else if(M===2)C=["halfarrow-left","halfarrow-right"],N=["xMinYMin","xMaxYMin"];else if(M===3)C=["brace-left","brace-center","brace-right"],N=["xMinYMin","xMidYMin","xMaxYMin"];else throw Error(`Correct katexImagesData or update code here to support + `+M+" children.");for(var _=0;_0)Y.style.minWidth=YQ(K);return Y},Y4=function(Z,J,X,Y,K){var j,U=Z.height+Z.depth+X+Y;if(/fbox|color|angl/.test(J)){if(j=s(["stretchy",J],[],K),J==="fbox"){var F=K.color&&K.getColor();if(F)j.style.borderColor=F}}else{var A=[];if(/^[bx]cancel$/.test(J))A.push(new UY({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"}));if(/^x?cancel$/.test(J))A.push(new UY({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var G=new T0(A,{width:"100%",height:YQ(U)});j=F9([],[G],K)}return j.height=U,j.style.height=YQ(U),j},K4={bin:1,close:1,inner:1,open:1,punct:1,rel:1},j4={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1};function U4(Q){return Q in K4}function CQ(Q,Z){if(!Q||Q.type!==Z)throw Error("Expected node of type "+Z+", but got "+(Q?"node of type "+Q.type:String(Q)));return Q}function TY(Q){var Z=CY(Q);if(!Z)throw Error("Expected node of symbol group type, but got "+(Q?"node of type "+Q.type:String(Q)));return Z}function CY(Q){if(Q&&(Q.type==="atom"||j4.hasOwnProperty(Q.type)))return Q;return null}var fF=(Q)=>{if(Q instanceof bZ)return Q;if(v5(Q)&&Q.children.length===1)return fF(Q.children[0])},bF=(Q,Z)=>{var J,X,Y;if(Q&&Q.type==="supsub")X=CQ(Q.base,"accent"),J=X.base,Q.base=J,Y=_5(hQ(Q,Z)),Q.base=X;else X=CQ(Q,"accent"),J=X.base;var K=hQ(J,Z.havingCrampedStyle()),j=X.isShifty&&a0(J),U=0;if(j){var F,A;U=(F=(A=fF(K))==null?void 0:A.skew)!=null?F:0}var G=X.label==="\\c",z=G?K.height+K.depth:Math.min(K.height,Z.fontMetrics().xHeight),L;if(!X.isStretchy){var E,D;if(X.label==="\\vec")E=NF("vec",Z),D=SF.vec[1];else if(E=OY({type:"textord",mode:X.mode,text:X.label},Z),E=y5(E),E.italic=0,D=E.width,G)z+=E.depth;L=s(["accent-body"],[E]);var H=X.label==="\\textcircled";if(H)L.classes.push("accent-full"),z=K.height;var V=U;if(!H)V-=D/2;if(L.style.left=YQ(V),X.label==="\\textcircled")L.style.top=".2em";L=$Q({positionType:"firstBaseline",children:[{type:"elem",elem:K},{type:"kern",size:-z},{type:"elem",elem:L}]})}else L=PY(X,Z),L=$Q({positionType:"firstBaseline",children:[{type:"elem",elem:K},{type:"elem",elem:L,wrapperClasses:["svg-align"],wrapperStyle:U>0?{width:"calc(100% - "+YQ(2*U)+")",marginLeft:YQ(2*U)}:void 0}]});var O=s(["mord","accent"],[L],Z);if(Y)return Y.children[0]=O,Y.height=Math.max(O.height,Y.height),Y.classes[0]="mord",Y;else return O},F4=(Q,Z)=>{var J=Q.isStretchy?MY(Q.label):new QQ("mo",[X0(Q.label,Q.mode)]),X=new QQ("mover",[uQ(Q.base,Z),J]);return X.setAttribute("accent","true"),X},R4=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((Q)=>"\\"+Q).join("|"));FQ({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:(Q,Z)=>{var J=RY(Z[0]),X=!R4.test(Q.funcName),Y=!X||Q.funcName==="\\widehat"||Q.funcName==="\\widetilde"||Q.funcName==="\\widecheck";return{type:"accent",mode:Q.parser.mode,label:Q.funcName,isStretchy:X,isShifty:Y,base:J}},htmlBuilder:bF,mathmlBuilder:F4});FQ({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.","\\\"","\\c","\\r","\\H","\\v","\\textcircled"],numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"],handler:(Q,Z)=>{var J=Z[0],X=Q.parser.mode;if(X==="math")Q.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+Q.funcName+" works only in text mode"),X="text";return{type:"accent",mode:X,label:Q.funcName,isStretchy:!1,isShifty:!0,base:J}}});FQ({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],numArgs:1,handler:(Q,Z)=>{var{parser:J,funcName:X}=Q,Y=Z[0];return{type:"accentUnder",mode:J.mode,label:X,base:Y}},htmlBuilder:(Q,Z)=>{var J=hQ(Q.base,Z),X=PY(Q,Z),Y=Q.label==="\\utilde"?0.12:0,K=$Q({positionType:"top",positionData:J.height,children:[{type:"elem",elem:X,wrapperClasses:["svg-align"]},{type:"kern",size:Y},{type:"elem",elem:J}]});return s(["mord","accentunder"],[K],Z)},mathmlBuilder:(Q,Z)=>{var J=MY(Q.label),X=new QQ("munder",[uQ(Q.base,Z),J]);return X.setAttribute("accentunder","true"),X}});var kX=(Q)=>{var Z=new QQ("mpadded",Q?[Q]:[]);return Z.setAttribute("width","+0.6em"),Z.setAttribute("lspace","0.3em"),Z};FQ({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(Q,Z,J){var{parser:X,funcName:Y}=Q;return{type:"xArrow",mode:X.mode,label:Y,body:Z[0],below:J[0]}},htmlBuilder(Q,Z){var J=Z.style,X=Z.havingStyle(J.sup()),Y=RJ(hQ(Q.body,X,Z),Z),K=Q.label.slice(0,2)==="\\x"?"x":"cd";Y.classes.push(K+"-arrow-pad");var j;if(Q.below)X=Z.havingStyle(J.sub()),j=RJ(hQ(Q.below,X,Z),Z),j.classes.push(K+"-arrow-pad");var U=PY(Q,Z),F=-Z.fontMetrics().axisHeight+0.5*U.height,A=-Z.fontMetrics().axisHeight-0.5*U.height-0.111;if(Y.depth>0.25||Q.label==="\\xleftequilibrium")A-=Y.depth;var G;if(j){var z=-Z.fontMetrics().axisHeight+j.height+0.5*U.height+0.111;G=$Q({positionType:"individualShift",children:[{type:"elem",elem:Y,shift:A},{type:"elem",elem:U,shift:F,wrapperClasses:["svg-align"]},{type:"elem",elem:j,shift:z}]})}else G=$Q({positionType:"individualShift",children:[{type:"elem",elem:Y,shift:A},{type:"elem",elem:U,shift:F,wrapperClasses:["svg-align"]}]});return s(["mrel","x-arrow"],[G],Z)},mathmlBuilder(Q,Z){var J=MY(Q.label);J.setAttribute("minsize",Q.label.charAt(0)==="x"?"1.75em":"3.0em");var X;if(Q.body){var Y=kX(uQ(Q.body,Z));if(Q.below){var K=kX(uQ(Q.below,Z));X=new QQ("munderover",[J,K,Y])}else X=new QQ("mover",[J,Y])}else if(Q.below){var j=kX(uQ(Q.below,Z));X=new QQ("munder",[J,j])}else X=kX(),X=new QQ("mover",[J,X]);return X}});function A4(Q,Z){var J=AZ(Q.body,Z,!0);return s([Q.mclass],J,Z)}function W4(Q,Z){var J,X=lZ(Q.body,Z);if(Q.mclass==="minner")J=new QQ("mpadded",X);else if(Q.mclass==="mord")if(Q.isCharacterBox)J=X[0],J.type="mi";else J=new QQ("mi",X);else{if(Q.isCharacterBox)J=X[0],J.type="mo";else J=new QQ("mo",X);if(Q.mclass==="mbin")J.attributes.lspace="0.22em",J.attributes.rspace="0.22em";else if(Q.mclass==="mpunct")J.attributes.lspace="0em",J.attributes.rspace="0.17em";else if(Q.mclass==="mopen"||Q.mclass==="mclose")J.attributes.lspace="0em",J.attributes.rspace="0em"}return J}FQ({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],numArgs:1,primitive:!0,handler(Q,Z){var{parser:J,funcName:X}=Q,Y=Z[0];return{type:"mclass",mode:J.mode,mclass:"m"+X.slice(5),body:YZ(Y),isCharacterBox:a0(Y)}},htmlBuilder:A4,mathmlBuilder:W4});var SY=(Q)=>{var Z=Q.type==="ordgroup"&&Q.body.length?Q.body[0]:Q;if(Z.type==="atom"&&(Z.family==="bin"||Z.family==="rel"))return"m"+Z.family;else return"mord"};FQ({type:"mclass",names:["\\@binrel"],numArgs:2,handler(Q,Z){var{parser:J}=Q;return{type:"mclass",mode:J.mode,mclass:SY(Z[0]),body:YZ(Z[1]),isCharacterBox:a0(Z[1])}}});FQ({type:"mclass",names:["\\stackrel","\\overset","\\underset"],numArgs:2,handler(Q,Z){var{parser:J,funcName:X}=Q,Y=Z[1],K=Z[0],j;if(X!=="\\stackrel")j=SY(Y);else j="mrel";var U={type:"op",mode:Y.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:X!=="\\stackrel",body:YZ(Y)},F=X==="\\underset"?{type:"supsub",mode:K.mode,base:U,sub:K}:{type:"supsub",mode:K.mode,base:U,sup:K};return{type:"mclass",mode:J.mode,mclass:j,body:[F],isCharacterBox:a0(F)}}});FQ({type:"pmb",names:["\\pmb"],numArgs:1,allowedInText:!0,handler(Q,Z){var{parser:J}=Q;return{type:"pmb",mode:J.mode,mclass:SY(Z[0]),body:YZ(Z[0])}},htmlBuilder(Q,Z){var J=AZ(Q.body,Z,!0),X=s([Q.mclass],J,Z);return X.style.textShadow="0.02em 0.01em 0.04px",X},mathmlBuilder(Q,Z){var J=lZ(Q.body,Z),X=new QQ("mstyle",J);return X.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),X}});var q4={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},f6=()=>{return{type:"styling",body:[],mode:"math",style:"display",resetFont:!0}},b6=(Q)=>{return Q.type==="textord"&&Q.text==="@"},G4=(Q,Z)=>{return(Q.type==="mathord"||Q.type==="atom")&&Q.text===Z};function E4(Q,Z,J){var X=q4[Q];switch(X){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return J.callFunction(X,[Z[0]],[Z[1]]);case"\\uparrow":case"\\downarrow":{var Y=J.callFunction("\\\\cdleft",[Z[0]],[]),K={type:"atom",text:X,mode:"math",family:"rel"},j=J.callFunction("\\Big",[K],[]),U=J.callFunction("\\\\cdright",[Z[1]],[]),F={type:"ordgroup",mode:"math",body:[Y,j,U]};return J.callFunction("\\\\cdparent",[F],[])}case"\\\\cdlongequal":return J.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var A={type:"textord",text:"\\Vert",mode:"math"};return J.callFunction("\\Big",[A],[])}default:return{type:"textord",text:" ",mode:"math"}}}function z4(Q){var Z=[];Q.gullet.beginGroup(),Q.gullet.macros.set("\\cr","\\\\\\relax"),Q.gullet.beginGroup();while(!0){Z.push(Q.parseExpression(!1,"\\\\")),Q.gullet.endGroup(),Q.gullet.beginGroup();var J=Q.fetch().text;if(J==="&"||J==="\\\\")Q.consume();else if(J==="\\end"){if(Z[Z.length-1].length===0)Z.pop();break}else throw new ZQ("Expected \\\\ or \\cr or \\end",Q.nextToken)}var X=[],Y=[X];for(var K=0;KAV".includes(A))for(var z=0;z<2;z++){var L=!0;for(var E=F+1;EAV=|." after @',j[F]);var D=E4(A,G,Q),H={type:"styling",body:[D],mode:"math",style:"display",resetFont:!0};X.push(H),U=f6()}if(K%2===0)X.push(U);else X.shift();X=[],Y.push(X)}Q.gullet.endGroup(),Q.gullet.endGroup();var V=Array(Y[0].length).fill({type:"align",align:"c",pregap:0.25,postgap:0.25});return{type:"array",mode:"math",body:Y,arraystretch:1,addJot:!0,rowGaps:[null],cols:V,colSeparationType:"CD",hLinesBeforeRow:Array(Y.length+1).fill([])}}FQ({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],numArgs:1,handler(Q,Z){var{parser:J,funcName:X}=Q;return{type:"cdlabel",mode:J.mode,side:X.slice(4),label:Z[0]}},htmlBuilder(Q,Z){var J=Z.havingStyle(Z.style.sup()),X=RJ(hQ(Q.label,J,Z),Z);return X.classes.push("cd-label-"+Q.side),X.style.bottom=YQ(0.8-X.depth),X.height=0,X.depth=0,X},mathmlBuilder(Q,Z){var J=new QQ("mrow",[uQ(Q.label,Z)]);if(J=new QQ("mpadded",[J]),J.setAttribute("width","0"),Q.side==="left")J.setAttribute("lspace","-1width");return J.setAttribute("voffset","0.7em"),J=new QQ("mstyle",[J]),J.setAttribute("displaystyle","false"),J.setAttribute("scriptlevel","1"),J}});FQ({type:"cdlabelparent",names:["\\\\cdparent"],numArgs:1,handler(Q,Z){var{parser:J}=Q;return{type:"cdlabelparent",mode:J.mode,fragment:Z[0]}},htmlBuilder(Q,Z){var J=RJ(hQ(Q.fragment,Z),Z);return J.classes.push("cd-vert-arrow"),J},mathmlBuilder(Q,Z){return new QQ("mrow",[uQ(Q.fragment,Z)])}});FQ({type:"textord",names:["\\@char"],numArgs:1,allowedInText:!0,handler(Q,Z){var{parser:J}=Q,X=CQ(Z[0],"ordgroup"),Y=X.body,K="";for(var j=0;j=1114111)throw new ZQ("\\@char with invalid code point "+K);else if(F<=65535)A=String.fromCharCode(F);else F-=65536,A=String.fromCharCode((F>>10)+55296,(F&1023)+56320);return{type:"textord",mode:J.mode,text:A}}});var L4=(Q,Z)=>{var J=AZ(Q.body,Z.withColor(Q.color),!1);return n0(J)},I4=(Q,Z)=>{var J=lZ(Q.body,Z.withColor(Q.color)),X=new QQ("mstyle",J);return X.setAttribute("mathcolor",Q.color),X};FQ({type:"color",names:["\\textcolor"],numArgs:2,allowedInText:!0,argTypes:["color","original"],handler(Q,Z){var{parser:J}=Q,X=CQ(Z[0],"color-token").color,Y=Z[1];return{type:"color",mode:J.mode,color:X,body:YZ(Y)}},htmlBuilder:L4,mathmlBuilder:I4});FQ({type:"color",names:["\\color"],numArgs:1,allowedInText:!0,argTypes:["color"],handler(Q,Z){var{parser:J,breakOnTokenText:X}=Q,Y=CQ(Z[0],"color-token").color;J.gullet.macros.set("\\current@color",Y);var K=J.parseExpression(!0,X);return{type:"color",mode:J.mode,color:Y,body:K}}});FQ({type:"cr",names:["\\\\"],numArgs:0,numOptionalArgs:0,allowedInText:!0,handler(Q,Z,J){var{parser:X}=Q,Y=X.gullet.future().text==="["?X.parseSizeGroup(!0):null,K=!X.settings.displayMode||!X.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:X.mode,newLine:K,size:Y&&CQ(Y,"size").value}},htmlBuilder(Q,Z){var J=s(["mspace"],[],Z);if(Q.newLine){if(J.classes.push("newline"),Q.size)J.style.marginTop=YQ(oQ(Q.size,Z))}return J},mathmlBuilder(Q,Z){var J=new QQ("mspace");if(Q.newLine){if(J.setAttribute("linebreak","newline"),Q.size)J.setAttribute("height",YQ(oQ(Q.size,Z)))}return J}});var j8={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},xF=(Q)=>{var Z=Q.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(Z))throw new ZQ("Expected a control sequence",Q);return Z},H4=(Q)=>{var Z=Q.gullet.popToken();if(Z.text==="="){if(Z=Q.gullet.popToken(),Z.text===" ")Z=Q.gullet.popToken()}return Z},$F=(Q,Z,J,X)=>{var Y=Q.gullet.macros.get(J.text);if(Y==null)J.noexpand=!0,Y={tokens:[J],numArgs:0,unexpandable:!Q.gullet.isExpandable(J.text)};Q.gullet.macros.set(Z,Y,X)};FQ({type:"internal",names:["\\global","\\long","\\\\globallong"],numArgs:0,allowedInText:!0,handler(Q){var{parser:Z,funcName:J}=Q;Z.consumeSpaces();var X=Z.fetch();if(j8[X.text]){if(J==="\\global"||J==="\\\\globallong")X.text=j8[X.text];return CQ(Z.parseFunction(),"internal")}throw new ZQ("Invalid token after macro prefix",X)}});FQ({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],numArgs:0,allowedInText:!0,primitive:!0,handler(Q){var{parser:Z,funcName:J}=Q,X=Z.gullet.popToken(),Y=X.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(Y))throw new ZQ("Expected a control sequence",X);var K=0,j,U=[[]];while(Z.gullet.future().text!=="{")if(X=Z.gullet.popToken(),X.text==="#"){if(Z.gullet.future().text==="{"){j=Z.gullet.future(),U[K].push("{");break}if(X=Z.gullet.popToken(),!/^[1-9]$/.test(X.text))throw new ZQ('Invalid argument number "'+X.text+'"');if(parseInt(X.text)!==K+1)throw new ZQ('Argument number "'+X.text+'" out of order');K++,U.push([])}else if(X.text==="EOF")throw new ZQ("Expected a macro definition");else U[K].push(X.text);var{tokens:F}=Z.gullet.consumeArg();if(j)F.unshift(j);if(J==="\\edef"||J==="\\xdef")F=Z.gullet.expandTokens(F),F.reverse();return Z.gullet.macros.set(Y,{tokens:F,numArgs:K,delimiters:U},J===j8[J]),{type:"internal",mode:Z.mode}}});FQ({type:"internal",names:["\\let","\\\\globallet"],numArgs:0,allowedInText:!0,primitive:!0,handler(Q){var{parser:Z,funcName:J}=Q,X=xF(Z.gullet.popToken());Z.gullet.consumeSpaces();var Y=H4(Z);return $F(Z,X,Y,J==="\\\\globallet"),{type:"internal",mode:Z.mode}}});FQ({type:"internal",names:["\\futurelet","\\\\globalfuture"],numArgs:0,allowedInText:!0,primitive:!0,handler(Q){var{parser:Z,funcName:J}=Q,X=xF(Z.gullet.popToken()),Y=Z.gullet.popToken(),K=Z.gullet.popToken();return $F(Z,X,K,J==="\\\\globalfuture"),Z.gullet.pushToken(K),Z.gullet.pushToken(Y),{type:"internal",mode:Z.mode}}});var TJ=function(Z,J,X){var Y=iQ.math[Z]&&iQ.math[Z].replace,K=U7(Y||Z,J,X);if(!K)throw Error("Unsupported symbol "+Z+" and font size "+J+".");return K},G7=function(Z,J,X,Y){var K=X.havingBaseStyle(J),j=s(Y.concat(K.sizingClasses(X)),[Z],X),U=K.sizeMultiplier/X.sizeMultiplier;return j.height*=U,j.depth*=U,j.maxFontSize=K.sizeMultiplier,j},hF=function(Z,J,X){var Y=J.havingBaseStyle(X),K=(1-J.sizeMultiplier/Y.sizeMultiplier)*J.fontMetrics().axisHeight;Z.classes.push("delimcenter"),Z.style.top=YQ(K),Z.height-=K,Z.depth+=K},V4=function(Z,J,X,Y,K,j){var U=TZ(Z,"Main-Regular",K,Y),F=G7(U,J,Y,j);if(X)hF(F,Y,J);return F},B4=function(Z,J,X,Y){return TZ(Z,"Size"+J+"-Regular",X,Y)},mF=function(Z,J,X,Y,K,j){var U=B4(Z,J,K,Y),F=G7(s(["delimsizing","size"+J],[U],Y),DQ.TEXT,Y,j);if(X)hF(F,Y,DQ.TEXT);return F},YK=function(Z,J,X){var Y;if(J==="Size1-Regular")Y="delim-size1";else Y="delim-size4";var K=s(["delimsizinginner",Y],[s([],[TZ(Z,J,X)])]);return{type:"elem",elem:K}},KK=function(Z,J,X){var Y=O0["Size4-Regular"][Z.charCodeAt(0)]?O0["Size4-Regular"][Z.charCodeAt(0)][4]:O0["Size1-Regular"][Z.charCodeAt(0)][4],K=new l0("inner",T5(Z,Math.round(1000*J))),j=new T0([K],{width:YQ(Y),height:YQ(J),style:"width:"+YQ(Y),viewBox:"0 0 "+1000*Y+" "+Math.round(1000*J),preserveAspectRatio:"xMinYMin"}),U=F9([],[j],X);return U.height=J,U.style.height=YQ(J),U.style.width=YQ(Y),{type:"elem",elem:U}},U8=0.008,yX={type:"kern",size:-1*U8},D4=new Set(["|","\\lvert","\\rvert","\\vert"]),O4=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),gF=function(Z,J,X,Y,K,j){var U,F,A,G,z="",L=0;U=A=G=Z,F=null;var E="Size1-Regular";if(Z==="\\uparrow")A=G="⏐";else if(Z==="\\Uparrow")A=G="‖";else if(Z==="\\downarrow")U=A="⏐";else if(Z==="\\Downarrow")U=A="‖";else if(Z==="\\updownarrow")U="\\uparrow",A="⏐",G="\\downarrow";else if(Z==="\\Updownarrow")U="\\Uparrow",A="‖",G="\\Downarrow";else if(D4.has(Z))A="∣",z="vert",L=333;else if(O4.has(Z))A="∥",z="doublevert",L=556;else if(Z==="["||Z==="\\lbrack")U="⎡",A="⎢",G="⎣",E="Size4-Regular",z="lbrack",L=667;else if(Z==="]"||Z==="\\rbrack")U="⎤",A="⎥",G="⎦",E="Size4-Regular",z="rbrack",L=667;else if(Z==="\\lfloor"||Z==="⌊")A=U="⎢",G="⎣",E="Size4-Regular",z="lfloor",L=667;else if(Z==="\\lceil"||Z==="⌈")U="⎡",A=G="⎢",E="Size4-Regular",z="lceil",L=667;else if(Z==="\\rfloor"||Z==="⌋")A=U="⎥",G="⎦",E="Size4-Regular",z="rfloor",L=667;else if(Z==="\\rceil"||Z==="⌉")U="⎤",A=G="⎥",E="Size4-Regular",z="rceil",L=667;else if(Z==="("||Z==="\\lparen")U="⎛",A="⎜",G="⎝",E="Size4-Regular",z="lparen",L=875;else if(Z===")"||Z==="\\rparen")U="⎞",A="⎟",G="⎠",E="Size4-Regular",z="rparen",L=875;else if(Z==="\\{"||Z==="\\lbrace")U="⎧",F="⎨",G="⎩",A="⎪",E="Size4-Regular";else if(Z==="\\}"||Z==="\\rbrace")U="⎫",F="⎬",G="⎭",A="⎪",E="Size4-Regular";else if(Z==="\\lgroup"||Z==="⟮")U="⎧",G="⎩",A="⎪",E="Size4-Regular";else if(Z==="\\rgroup"||Z==="⟯")U="⎫",G="⎭",A="⎪",E="Size4-Regular";else if(Z==="\\lmoustache"||Z==="⎰")U="⎧",G="⎭",A="⎪",E="Size4-Regular";else if(Z==="\\rmoustache"||Z==="⎱")U="⎫",G="⎩",A="⎪",E="Size4-Regular";var D=TJ(U,E,K),H=D.height+D.depth,V=TJ(A,E,K),O=V.height+V.depth,S=TJ(G,E,K),P=S.height+S.depth,T=0,k=1;if(F!==null){var M=TJ(F,E,K);T=M.height+M.depth,k=2}var C=H+P+T,N=Math.max(0,Math.ceil((J-C)/(k*O))),_=C+N*k*O,x=Y.fontMetrics().axisHeight;if(X)x*=Y.sizeMultiplier;var v=_/2-x,b=[];if(z.length>0){var h=_-H-P,p=Math.round(_*1000),d=C5(z,Math.round(h*1000)),XQ=new l0(z,d),KQ=YQ(L/1000),o=YQ(p/1000),r=new T0([XQ],{width:KQ,height:o,viewBox:"0 0 "+L+" "+p}),$=F9([],[r],Y);$.height=p/1000,$.style.width=KQ,$.style.height=o,b.push({type:"elem",elem:$})}else{if(b.push(YK(G,E,K)),b.push(yX),F===null){var LQ=_-H-P+2*U8;b.push(KK(A,LQ,Y))}else{var zQ=(_-H-P-T)/2+2*U8;b.push(KK(A,zQ,Y)),b.push(yX),b.push(YK(F,E,K)),b.push(yX),b.push(KK(A,zQ,Y))}b.push(yX),b.push(YK(U,E,K))}var PQ=Y.havingBaseStyle(DQ.TEXT),xQ=$Q({positionType:"bottom",positionData:v,children:b});return G7(s(["delimsizing","mult"],[xQ],PQ),DQ.TEXT,Y,j)},jK=80,UK=0.08,FK=function(Z,J,X,Y,K){var j=P5(Z,Y,X),U=new l0(Z,j),F=new T0([U],{width:"400em",height:YQ(J),viewBox:"0 0 400000 "+X,preserveAspectRatio:"xMinYMin slice"});return F9(["hide-tail"],[F],K)},M4=function(Z,J){var X=J.havingBaseSizing(),Y=pF("\\surd",Z*X.sizeMultiplier,lF,X),K=X.sizeMultiplier,j=Math.max(0,J.minRuleThickness-J.fontMetrics().sqrtRuleThickness),U,F,A,G,z;if(Y.type==="small"){if(G=1000+1000*j+jK,Z<1)K=1;else if(Z<1.4)K=0.7;F=(1+j+UK)/K,A=(1+j)/K,U=FK("sqrtMain",F,G,j,J),U.style.minWidth="0.853em",z=0.833/K}else if(Y.type==="large")G=(1000+jK)*_J[Y.size],A=(_J[Y.size]+j)/K,F=(_J[Y.size]+j+UK)/K,U=FK("sqrtSize"+Y.size,F,G,j,J),U.style.minWidth="1.02em",z=1/K;else F=Z+j+UK,A=Z+j,G=Math.floor(1000*Z+j)+jK,U=FK("sqrtTall",F,G,j,J),U.style.minWidth="0.742em",z=1.056;return U.height=A,U.style.height=YQ(F),{span:U,advanceWidth:z,ruleWidth:(J.fontMetrics().sqrtRuleThickness+j)*K}},cF=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),P4=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),uF=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),_J=[0,1.2,1.8,2.4,3],dF=function(Z,J,X,Y,K){if(Z==="<"||Z==="\\lt"||Z==="⟨")Z="\\langle";else if(Z===">"||Z==="\\gt"||Z==="⟩")Z="\\rangle";if(cF.has(Z)||uF.has(Z))return mF(Z,J,!1,X,Y,K);else if(P4.has(Z))return gF(Z,_J[J],!1,X,Y,K);else throw new ZQ("Illegal delimiter: '"+Z+"'")},T4=[{type:"small",style:DQ.SCRIPTSCRIPT},{type:"small",style:DQ.SCRIPT},{type:"small",style:DQ.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],C4=[{type:"small",style:DQ.SCRIPTSCRIPT},{type:"small",style:DQ.SCRIPT},{type:"small",style:DQ.TEXT},{type:"stack"}],lF=[{type:"small",style:DQ.SCRIPTSCRIPT},{type:"small",style:DQ.SCRIPT},{type:"small",style:DQ.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],S4=function(Z){if(Z.type==="small")return"Main-Regular";else if(Z.type==="large")return"Size"+Z.size+"-Regular";else if(Z.type==="stack")return"Size4-Regular";else{var J=Z.type;throw Error("Add support for delim type '"+J+"' here.")}},pF=function(Z,J,X,Y){var K=Math.min(2,3-Y.style.size);for(var j=K;jJ)return U}return X[X.length-1]},F8=function(Z,J,X,Y,K,j){if(Z==="<"||Z==="\\lt"||Z==="⟨")Z="\\langle";else if(Z===">"||Z==="\\gt"||Z==="⟩")Z="\\rangle";var U;if(uF.has(Z))U=T4;else if(cF.has(Z))U=lF;else U=C4;var F=pF(Z,J,U,Y);if(F.type==="small")return V4(Z,F.style,X,Y,K,j);else if(F.type==="large")return mF(Z,F.size,X,Y,K,j);else return gF(Z,J,X,Y,K,j)},RK=function(Z,J,X,Y,K,j){var U=Y.fontMetrics().axisHeight*Y.sizeMultiplier,F=901,A=5/Y.fontMetrics().ptPerEm,G=Math.max(J-U,X+U),z=Math.max(G/500*F,2*G-A);return F8(Z,z,!0,Y,K,j)},x6={"\\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}},N4=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","."]);function $6(Q){return"isMiddle"in Q}function NY(Q,Z){var J=CY(Q);if(J&&N4.has(J.text))return J;else if(J)throw new ZQ("Invalid delimiter '"+J.text+"' after '"+Z.funcName+"'",Q);else throw new ZQ("Invalid delimiter type '"+Q.type+"'",Q)}FQ({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],numArgs:1,argTypes:["primitive"],handler:(Q,Z)=>{var J=NY(Z[0],Q);return{type:"delimsizing",mode:Q.parser.mode,size:x6[Q.funcName].size,mclass:x6[Q.funcName].mclass,delim:J.text}},htmlBuilder:(Q,Z)=>{if(Q.delim===".")return s([Q.mclass]);return dF(Q.delim,Q.size,Z,Q.mode,[Q.mclass])},mathmlBuilder:(Q)=>{var Z=[];if(Q.delim!==".")Z.push(X0(Q.delim,Q.mode));var J=new QQ("mo",Z);if(Q.mclass==="mopen"||Q.mclass==="mclose")J.setAttribute("fence","true");else J.setAttribute("fence","false");J.setAttribute("stretchy","true");var X=YQ(_J[Q.size]);return J.setAttribute("minsize",X),J.setAttribute("maxsize",X),J}});function h6(Q){if(!Q.body)throw Error("Bug: The leftright ParseNode wasn't fully parsed.")}FQ({type:"leftright-right",names:["\\right"],numArgs:1,primitive:!0,handler:(Q,Z)=>{var J=Q.parser.gullet.macros.get("\\current@color");if(J&&typeof J!=="string")throw new ZQ("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:Q.parser.mode,delim:NY(Z[0],Q).text,color:J}}});FQ({type:"leftright",names:["\\left"],numArgs:1,primitive:!0,handler:(Q,Z)=>{var J=NY(Z[0],Q),X=Q.parser;++X.leftrightDepth;var Y=X.parseExpression(!1);--X.leftrightDepth,X.expect("\\right",!1);var K=CQ(X.parseFunction(),"leftright-right");return{type:"leftright",mode:X.mode,body:Y,left:J.text,right:K.delim,rightColor:K.color}},htmlBuilder:(Q,Z)=>{h6(Q);var J=AZ(Q.body,Z,!0,["mopen","mclose"]),X=0,Y=0,K=!1;for(var j=0;j{h6(Q);var J=lZ(Q.body,Z);if(Q.left!=="."){var X=new QQ("mo",[X0(Q.left,Q.mode)]);X.setAttribute("fence","true"),J.unshift(X)}if(Q.right!=="."){var Y=new QQ("mo",[X0(Q.right,Q.mode)]);if(Y.setAttribute("fence","true"),Q.rightColor)Y.setAttribute("mathcolor",Q.rightColor);J.push(Y)}return W7(J)}});FQ({type:"middle",names:["\\middle"],numArgs:1,primitive:!0,handler:(Q,Z)=>{var J=NY(Z[0],Q);if(!Q.parser.leftrightDepth)throw new ZQ("\\middle without preceding \\left",J);return{type:"middle",mode:Q.parser.mode,delim:J.text}},htmlBuilder:(Q,Z)=>{var J;if(Q.delim===".")J=iJ(Z,[]);else J=dF(Q.delim,1,Z,Q.mode,[]),J.isMiddle={delim:Q.delim,options:Z};return J},mathmlBuilder:(Q,Z)=>{var J=Q.delim==="\\vert"||Q.delim==="|"?X0("|","text"):X0(Q.delim,Q.mode),X=new QQ("mo",[J]);return X.setAttribute("fence","true"),X.setAttribute("lspace","0.05em"),X.setAttribute("rspace","0.05em"),X}});var w4=(Q,Z)=>{var J=RJ(hQ(Q.body,Z),Z),X=Q.label.slice(1),Y=Z.sizeMultiplier,K,j,U=a0(Q.body);if(X==="sout")K=s(["stretchy","sout"]),K.height=Z.fontMetrics().defaultRuleThickness/Y,j=-0.5*Z.fontMetrics().xHeight;else if(X==="phase"){var F=oQ({number:0.6,unit:"pt"},Z),A=oQ({number:0.35,unit:"ex"},Z),G=Z.havingBaseSizing();Y=Y/G.sizeMultiplier;var z=J.height+J.depth+F+A;J.style.paddingLeft=YQ(z/2+F);var L=Math.floor(1000*z*Y),E=O5(L),D=new T0([new l0("phase",E)],{width:"400em",height:YQ(L/1000),viewBox:"0 0 400000 "+L,preserveAspectRatio:"xMinYMin slice"});K=F9(["hide-tail"],[D],Z),K.style.height=YQ(z),j=J.depth+F+A}else{if(/cancel/.test(X)){if(!U)J.classes.push("cancel-pad")}else if(X==="angl")J.classes.push("anglpad");else J.classes.push("boxpad");var H,V,O=0;if(/box/.test(X))O=Math.max(Z.fontMetrics().fboxrule,Z.minRuleThickness),H=Z.fontMetrics().fboxsep+(X==="colorbox"?0:O),V=H;else if(X==="angl")O=Math.max(Z.fontMetrics().defaultRuleThickness,Z.minRuleThickness),H=4*O,V=Math.max(0,0.25-J.depth);else H=U?0.2:0,V=H;if(K=Y4(J,X,H,V,Z),/fbox|boxed|fcolorbox/.test(X))K.style.borderStyle="solid",K.style.borderWidth=YQ(O);else if(X==="angl"&&O!==0.049)K.style.borderTopWidth=YQ(O),K.style.borderRightWidth=YQ(O);if(j=J.depth+V,Q.backgroundColor){if(K.style.backgroundColor=Q.backgroundColor,Q.borderColor)K.style.borderColor=Q.borderColor}}var S;if(Q.backgroundColor)S=$Q({positionType:"individualShift",children:[{type:"elem",elem:K,shift:j},{type:"elem",elem:J,shift:0}]});else{var P=/cancel|phase/.test(X)?["svg-align"]:[];S=$Q({positionType:"individualShift",children:[{type:"elem",elem:J,shift:0},{type:"elem",elem:K,shift:j,wrapperClasses:P}]})}if(/cancel/.test(X))S.height=J.height,S.depth=J.depth;if(/cancel/.test(X)&&!U)return s(["mord","cancel-lap"],[S],Z);else return s(["mord"],[S],Z)},k4=(Q,Z)=>{var J,X=new QQ(Q.label.includes("colorbox")?"mpadded":"menclose",[uQ(Q.body,Z)]);switch(Q.label){case"\\cancel":X.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":X.setAttribute("notation","downdiagonalstrike");break;case"\\phase":X.setAttribute("notation","phasorangle");break;case"\\sout":X.setAttribute("notation","horizontalstrike");break;case"\\fbox":X.setAttribute("notation","box");break;case"\\angl":X.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(J=Z.fontMetrics().fboxsep*Z.fontMetrics().ptPerEm,X.setAttribute("width","+"+2*J+"pt"),X.setAttribute("height","+"+2*J+"pt"),X.setAttribute("lspace",J+"pt"),X.setAttribute("voffset",J+"pt"),Q.label==="\\fcolorbox"){var Y=Math.max(Z.fontMetrics().fboxrule,Z.minRuleThickness);X.setAttribute("style","border: "+YQ(Y)+" solid "+Q.borderColor)}break;case"\\xcancel":X.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}if(Q.backgroundColor)X.setAttribute("mathbackground",Q.backgroundColor);return X};FQ({type:"enclose",names:["\\colorbox"],numArgs:2,allowedInText:!0,argTypes:["color","hbox"],handler(Q,Z,J){var{parser:X,funcName:Y}=Q,K=CQ(Z[0],"color-token").color,j=Z[1];return{type:"enclose",mode:X.mode,label:Y,backgroundColor:K,body:j}},htmlBuilder:w4,mathmlBuilder:k4});FQ({type:"enclose",names:["\\fcolorbox"],numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"],handler(Q,Z,J){var{parser:X,funcName:Y}=Q,K=CQ(Z[0],"color-token").color,j=CQ(Z[1],"color-token").color,U=Z[2];return{type:"enclose",mode:X.mode,label:Y,backgroundColor:j,borderColor:K,body:U}}});FQ({type:"enclose",names:["\\fbox"],numArgs:1,argTypes:["hbox"],allowedInText:!0,handler(Q,Z){var{parser:J}=Q;return{type:"enclose",mode:J.mode,label:"\\fbox",body:Z[0]}}});FQ({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],numArgs:1,handler(Q,Z){var{parser:J,funcName:X}=Q,Y=Z[0];return{type:"enclose",mode:J.mode,label:X,body:Y}}});FQ({type:"enclose",names:["\\sout"],numArgs:1,allowedInText:!0,handler(Q,Z){var{parser:J,funcName:X}=Q;if(J.mode==="math")J.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var Y=Z[0];return{type:"enclose",mode:J.mode,label:X,body:Y}}});FQ({type:"enclose",names:["\\angl"],numArgs:1,argTypes:["hbox"],allowedInText:!1,handler(Q,Z){var{parser:J}=Q;return{type:"enclose",mode:J.mode,label:"\\angl",body:Z[0]}}});var aF={};function C0(Q){var{type:Z,names:J,props:X,handler:Y,htmlBuilder:K,mathmlBuilder:j}=Q,U={type:Z,numArgs:X.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:Y};for(var F=0;F{var Z=Q.parser.settings;if(!Z.displayMode)throw new ZQ("{"+Q.envName+"} can be used only in display mode.")},y4=new Set(["gather","gather*"]);function E7(Q){if(!Q.includes("ed"))return!Q.includes("*")}function W9(Q,Z,J){var{hskipBeforeAndAfter:X,addJot:Y,cols:K,arraystretch:j,colSeparationType:U,autoTag:F,singleRow:A,emptySingleRow:G,maxNumCols:z,leqno:L}=Z;if(Q.gullet.beginGroup(),!A)Q.gullet.macros.set("\\cr","\\\\\\relax");if(!j){var E=Q.gullet.expandMacroAsText("\\arraystretch");if(E==null)j=1;else if(j=parseFloat(E),!j||j<0)throw new ZQ("Invalid \\arraystretch: "+E)}Q.gullet.beginGroup();var D=[],H=[D],V=[],O=[],S=F!=null?[]:void 0;function P(){if(F)Q.gullet.macros.set("\\@eqnsw","1",!0)}function T(){if(S)if(Q.gullet.macros.get("\\df@tag"))S.push(Q.subparse([new gZ("\\df@tag")])),Q.gullet.macros.set("\\df@tag",void 0,!0);else S.push(Boolean(F)&&Q.gullet.macros.get("\\@eqnsw")==="1")}P(),O.push(m6(Q));while(!0){var k=Q.parseExpression(!1,A?"\\end":"\\\\");Q.gullet.endGroup(),Q.gullet.beginGroup();var M={type:"ordgroup",mode:Q.mode,body:k};if(J)M={type:"styling",mode:Q.mode,style:J,resetFont:!0,body:[M]};D.push(M);var C=Q.fetch().text;if(C==="&"){if(z&&D.length===z)if(A||U)throw new ZQ("Too many tab characters: &",Q.nextToken);else Q.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.");Q.consume()}else if(C==="\\end"){if(T(),D.length===1&&M.type==="styling"&&M.body.length===1&&M.body[0].type==="ordgroup"&&M.body[0].body.length===0&&(H.length>1||!G))H.pop();if(O.length0)P+=0.25;A.push({pos:P,isDashed:FX[RX]})}}T(j[0]);for(X=0;X0){if(v+=S,CFX))for(X=0;X=U)continue;var _Q=void 0;if(Y>0||Z.hskipBeforeAndAfter){var pZ,zZ;if(_Q=(pZ=(zZ=PQ)==null?void 0:zZ.pregap)!=null?pZ:L,_Q!==0)d=s(["arraycolsep"],[]),d.style.width=YQ(_Q),p.push(d)}var sQ=[];for(X=0;X0){var Y0=FJ("hline",J,G),fY=FJ("hdashline",J,G),bY=[{type:"elem",elem:l9,shift:0}];while(A.length>0){var O7=A.pop(),M7=O7.pos-b;if(O7.isDashed)bY.push({type:"elem",elem:fY,shift:M7});else bY.push({type:"elem",elem:Y0,shift:M7})}l9=$Q({positionType:"individualShift",children:bY})}if(KQ.length===0)return s(["mord"],[l9],J);else{var L1=$Q({positionType:"individualShift",children:KQ}),I1=s(["tag"],[L1],J);return n0([l9,I1])}},_4={c:"center ",l:"left ",r:"right "},N0=function(Z,J){var X=[],Y=new QQ("mtd",[],["mtr-glue"]),K=new QQ("mtd",[],["mml-eqn-num"]);for(var j=0;j0){var D=Z.cols,H="",V=!1,O=0,S=D.length;if(D[0].type==="separator")L+="top ",O=1;if(D[D.length-1].type==="separator")L+="bottom ",S-=1;for(var P=O;P0?"left ":"",L+=_[_.length-1].length>0?"right ":"";for(var x=1;x<_.length-1;x++)N+=_[x].length===0?"none ":_[x][0]?"dashed ":"solid ";if(/[sd]/.test(N))G.setAttribute("rowlines",N.trim());if(L!=="")G=new QQ("menclose",[G]),G.setAttribute("notation",L.trim());if(Z.arraystretch&&Z.arraystretch<1)G=new QQ("mstyle",[G]),G.setAttribute("scriptlevel","1");return G},nF=function(Z,J){if(!Z.envName.includes("ed"))wY(Z);var X=[],Y=Z.envName==="split",K=W9(Z.parser,{cols:X,addJot:!0,autoTag:Y?void 0:E7(Z.envName),emptySingleRow:!0,colSeparationType:Z.envName.includes("at")?"alignat":"align",maxNumCols:Y?2:void 0,leqno:Z.parser.settings.leqno},"display"),j=0,U=0,F={type:"ordgroup",mode:Z.mode,body:[]};if(J[0]&&J[0].type==="ordgroup"){var A="";for(var G=0;G0&&L)H=1;X[E]={type:"align",align:D,pregap:H,postgap:0}}return K.colSeparationType=L?"align":"alignat",K};C0({type:"array",names:["array","darray"],props:{numArgs:1},handler(Q,Z){var J=CY(Z[0]),X=J?[Z[0]]:CQ(Z[0],"ordgroup").body,Y=X.map(function(j){var U=TY(j),F=U.text;if("lcr".includes(F))return{type:"align",align:F};else if(F==="|")return{type:"separator",separator:"|"};else if(F===":")return{type:"separator",separator:":"};throw new ZQ("Unknown column alignment: "+F,j)}),K={cols:Y,hskipBeforeAndAfter:!0,maxNumCols:Y.length};return W9(Q.parser,K,z7(Q.envName))},htmlBuilder:S0,mathmlBuilder:N0});C0({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(Q){var Z={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[Q.envName.replace("*","")],J="c",X={hskipBeforeAndAfter:!1,cols:[{type:"align",align:J}]};if(Q.envName.charAt(Q.envName.length-1)==="*"){var Y=Q.parser;if(Y.consumeSpaces(),Y.fetch().text==="["){if(Y.consume(),Y.consumeSpaces(),J=Y.fetch().text,!"lcr".includes(J))throw new ZQ("Expected l or c or r",Y.nextToken);Y.consume(),Y.consumeSpaces(),Y.expect("]"),Y.consume(),X.cols=[{type:"align",align:J}]}}var K=W9(Q.parser,X,z7(Q.envName)),j=Math.max(0,...K.body.map((U)=>U.length));return K.cols=Array(j).fill({type:"align",align:J}),Z?{type:"leftright",mode:Q.mode,body:[K],left:Z[0],right:Z[1],rightColor:void 0}:K},htmlBuilder:S0,mathmlBuilder:N0});C0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(Q){var Z={arraystretch:0.5},J=W9(Q.parser,Z,"script");return J.colSeparationType="small",J},htmlBuilder:S0,mathmlBuilder:N0});C0({type:"array",names:["subarray"],props:{numArgs:1},handler(Q,Z){var J=CY(Z[0]),X=J?[Z[0]]:CQ(Z[0],"ordgroup").body,Y=X.map(function(U){var F=TY(U),A=F.text;if("lc".includes(A))return{type:"align",align:A};throw new ZQ("Unknown column alignment: "+A,U)});if(Y.length>1)throw new ZQ("{subarray} can contain only one column");var K={cols:Y,hskipBeforeAndAfter:!1,arraystretch:0.5},j=W9(Q.parser,K,"script");if(j.body.length>0&&j.body[0].length>1)throw new ZQ("{subarray} can contain only one column");return j},htmlBuilder:S0,mathmlBuilder:N0});C0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(Q){var Z={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},J=W9(Q.parser,Z,z7(Q.envName));return{type:"leftright",mode:Q.mode,body:[J],left:Q.envName.includes("r")?".":"\\{",right:Q.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:S0,mathmlBuilder:N0});C0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:nF,htmlBuilder:S0,mathmlBuilder:N0});C0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(Q){if(y4.has(Q.envName))wY(Q);var Z={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:E7(Q.envName),emptySingleRow:!0,leqno:Q.parser.settings.leqno};return W9(Q.parser,Z,"display")},htmlBuilder:S0,mathmlBuilder:N0});C0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:nF,htmlBuilder:S0,mathmlBuilder:N0});C0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(Q){wY(Q);var Z={autoTag:E7(Q.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:Q.parser.settings.leqno};return W9(Q.parser,Z,"display")},htmlBuilder:S0,mathmlBuilder:N0});C0({type:"array",names:["CD"],props:{numArgs:0},handler(Q){return wY(Q),z4(Q.parser)},htmlBuilder:S0,mathmlBuilder:N0});B("\\nonumber","\\gdef\\@eqnsw{0}");B("\\notag","\\nonumber");FQ({type:"text",names:["\\hline","\\hdashline"],numArgs:0,allowedInText:!0,allowedInMath:!0,handler(Q,Z){throw new ZQ(Q.funcName+" valid only within array environment")}});var g6=aF;FQ({type:"environment",names:["\\begin","\\end"],numArgs:1,argTypes:["text"],handler(Q,Z){var{parser:J,funcName:X}=Q,Y=Z[0];if(Y.type!=="ordgroup")throw new ZQ("Invalid environment name",Y);var K="";for(var j=0;j{var J=Q.font,X=Z.withFont(J);return hQ(Q.body,X)},f4=(Q,Z)=>{var J=Q.font,X=Z.withFont(J);return uQ(Q.body,X)},c6={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};FQ({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],numArgs:1,allowedInArgument:!0,handler:(Q,Z)=>{var{parser:J,funcName:X}=Q,Y=RY(Z[0]),K=X in c6?c6[X]:X;return{type:"font",mode:J.mode,font:K.slice(1),body:Y}},htmlBuilder:v4,mathmlBuilder:f4});FQ({type:"mclass",names:["\\boldsymbol","\\bm"],numArgs:1,handler:(Q,Z)=>{var{parser:J}=Q,X=Z[0];return{type:"mclass",mode:J.mode,mclass:SY(X),body:[{type:"font",mode:J.mode,font:"boldsymbol",body:X}],isCharacterBox:a0(X)}}});FQ({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],numArgs:0,allowedInText:!0,handler:(Q,Z)=>{var{parser:J,funcName:X,breakOnTokenText:Y}=Q,{mode:K}=J,j=J.parseExpression(!0,Y);return{type:"font",mode:K,font:"math"+X.slice(1),body:{type:"ordgroup",mode:J.mode,body:j}}}});var b4=(Q,Z)=>{var J=Z.style,X=J.fracNum(),Y=J.fracDen(),K;K=Z.havingStyle(X);var j=hQ(Q.numer,K,Z);if(Q.continued){var U=8.5/Z.fontMetrics().ptPerEm,F=3.5/Z.fontMetrics().ptPerEm;j.height=j.height0)D=3*L;else D=7*L;H=Z.fontMetrics().denom1}else{if(z>0)E=Z.fontMetrics().num2,D=L;else E=Z.fontMetrics().num3,D=3*L;H=Z.fontMetrics().denom2}var V;if(!G){var O=E-j.depth-(A.height-H);if(O{var J=new QQ("mfrac",[uQ(Q.numer,Z),uQ(Q.denom,Z)]);if(!Q.hasBarLine)J.setAttribute("linethickness","0px");else if(Q.barSize){var X=oQ(Q.barSize,Z);J.setAttribute("linethickness",YQ(X))}if(Q.leftDelim!=null||Q.rightDelim!=null){var Y=[];if(Q.leftDelim!=null){var K=new QQ("mo",[new ZZ(Q.leftDelim.replace("\\",""))]);K.setAttribute("fence","true"),Y.push(K)}if(Y.push(J),Q.rightDelim!=null){var j=new QQ("mo",[new ZZ(Q.rightDelim.replace("\\",""))]);j.setAttribute("fence","true"),Y.push(j)}return W7(Y)}return J},sF=(Q,Z)=>{if(!Z)return Q;var J={type:"styling",mode:Q.mode,style:Z,body:[Q]};return J};FQ({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],numArgs:2,allowedInArgument:!0,handler:(Q,Z)=>{var{parser:J,funcName:X}=Q,Y=Z[0],K=Z[1],j,U=null,F=null;switch(X){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":j=!0;break;case"\\\\atopfrac":j=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":j=!1,U="(",F=")";break;case"\\\\bracefrac":j=!1,U="\\{",F="\\}";break;case"\\\\brackfrac":j=!1,U="[",F="]";break;default:throw Error("Unrecognized genfrac command")}var A=X==="\\cfrac",G=null;if(A||X.startsWith("\\d"))G="display";else if(X.startsWith("\\t"))G="text";return sF({type:"genfrac",mode:J.mode,numer:Y,denom:K,continued:A,hasBarLine:j,leftDelim:U,rightDelim:F,barSize:null},G)},htmlBuilder:b4,mathmlBuilder:x4});FQ({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],numArgs:0,infix:!0,handler(Q){var{parser:Z,funcName:J,token:X}=Q,Y;switch(J){case"\\over":Y="\\frac";break;case"\\choose":Y="\\binom";break;case"\\atop":Y="\\\\atopfrac";break;case"\\brace":Y="\\\\bracefrac";break;case"\\brack":Y="\\\\brackfrac";break;default:throw Error("Unrecognized infix genfrac command")}return{type:"infix",mode:Z.mode,replaceWith:Y,token:X}}});var u6=["display","text","script","scriptscript"],d6=function(Z){var J=null;if(Z.length>0)J=Z,J=J==="."?null:J;return J};FQ({type:"genfrac",names:["\\genfrac"],numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"],handler(Q,Z){var{parser:J}=Q,X=Z[4],Y=Z[5],K=RY(Z[0]),j=K.type==="atom"&&K.family==="open"?d6(K.text):null,U=RY(Z[1]),F=U.type==="atom"&&U.family==="close"?d6(U.text):null,A=CQ(Z[2],"size"),G,z=null;if(A.isBlank)G=!0;else z=A.value,G=z.number>0;var L=null,E=Z[3];if(E.type==="ordgroup"){if(E.body.length>0){var D=CQ(E.body[0],"textord");L=u6[Number(D.text)]}}else E=CQ(E,"textord"),L=u6[Number(E.text)];return sF({type:"genfrac",mode:J.mode,numer:X,denom:Y,continued:!1,hasBarLine:G,barSize:z,leftDelim:j,rightDelim:F},L)}});FQ({type:"infix",names:["\\above"],numArgs:1,argTypes:["size"],infix:!0,handler(Q,Z){var{parser:J,funcName:X,token:Y}=Q;return{type:"infix",mode:J.mode,replaceWith:"\\\\abovefrac",size:CQ(Z[0],"size").value,token:Y}}});FQ({type:"genfrac",names:["\\\\abovefrac"],numArgs:3,argTypes:["math","size","math"],handler:(Q,Z)=>{var{parser:J,funcName:X}=Q,Y=Z[0],K=CQ(Z[1],"infix").size;if(!K)throw Error("\\\\abovefrac expected size, but got "+String(K));var j=Z[2],U=K.number>0;return{type:"genfrac",mode:J.mode,numer:Y,denom:j,continued:!1,hasBarLine:U,barSize:K,leftDelim:null,rightDelim:null}}});var rF=(Q,Z)=>{var J=Z.style,X,Y;if(Q.type==="supsub")X=Q.sup?hQ(Q.sup,Z.havingStyle(J.sup()),Z):hQ(Q.sub,Z.havingStyle(J.sub()),Z),Y=CQ(Q.base,"horizBrace");else Y=CQ(Q,"horizBrace");var K=hQ(Y.base,Z.havingBaseStyle(DQ.DISPLAY)),j=PY(Y,Z),U;if(Y.isOver)U=$Q({positionType:"firstBaseline",children:[{type:"elem",elem:K},{type:"kern",size:0.1},{type:"elem",elem:j,wrapperClasses:["svg-align"]}]});else U=$Q({positionType:"bottom",positionData:K.depth+0.1+j.height,children:[{type:"elem",elem:j,wrapperClasses:["svg-align"]},{type:"kern",size:0.1},{type:"elem",elem:K}]});if(X){var F=s(["minner",Y.isOver?"mover":"munder"],[U],Z);if(Y.isOver)U=$Q({positionType:"firstBaseline",children:[{type:"elem",elem:F},{type:"kern",size:0.2},{type:"elem",elem:X}]});else U=$Q({positionType:"bottom",positionData:F.depth+0.2+X.height+X.depth,children:[{type:"elem",elem:X},{type:"kern",size:0.2},{type:"elem",elem:F}]})}return s(["minner",Y.isOver?"mover":"munder"],[U],Z)},$4=(Q,Z)=>{var J=MY(Q.label);return new QQ(Q.isOver?"mover":"munder",[uQ(Q.base,Z),J])};FQ({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],numArgs:1,handler(Q,Z){var{parser:J,funcName:X}=Q;return{type:"horizBrace",mode:J.mode,label:X,isOver:X.includes("\\over"),base:Z[0]}},htmlBuilder:rF,mathmlBuilder:$4});FQ({type:"href",names:["\\href"],numArgs:2,argTypes:["url","original"],allowedInText:!0,handler:(Q,Z)=>{var{parser:J}=Q,X=Z[1],Y=CQ(Z[0],"url").url;if(!J.settings.isTrusted({command:"\\href",url:Y}))return J.formatUnsupportedCmd("\\href");return{type:"href",mode:J.mode,href:Y,body:YZ(X)}},htmlBuilder:(Q,Z)=>{var J=AZ(Q.body,Z,!1);return c5(Q.href,[],J,Z)},mathmlBuilder:(Q,Z)=>{var J=R9(Q.body,Z);if(!(J instanceof QQ))J=new QQ("mrow",[J]);return J.setAttribute("href",Q.href),J}});FQ({type:"href",names:["\\url"],numArgs:1,argTypes:["url"],allowedInText:!0,handler:(Q,Z)=>{var{parser:J}=Q,X=CQ(Z[0],"url").url;if(!J.settings.isTrusted({command:"\\url",url:X}))return J.formatUnsupportedCmd("\\url");var Y=[];for(var K=0;K{var{parser:J,funcName:X,token:Y}=Q,K=CQ(Z[0],"raw").string,j=Z[1];if(J.settings.strict)J.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var U,F={};switch(X){case"\\htmlClass":F.class=K,U={command:"\\htmlClass",class:K};break;case"\\htmlId":F.id=K,U={command:"\\htmlId",id:K};break;case"\\htmlStyle":F.style=K,U={command:"\\htmlStyle",style:K};break;case"\\htmlData":{var A=K.split(",");for(var G=0;G{var J=AZ(Q.body,Z,!1),X=["enclosing"];if(Q.attributes.class)X.push(...Q.attributes.class.trim().split(/\s+/));var Y=s(X,J,Z);for(var K in Q.attributes)if(K!=="class"&&Q.attributes.hasOwnProperty(K))Y.setAttribute(K,Q.attributes[K]);return Y},mathmlBuilder:(Q,Z)=>{return R9(Q.body,Z)}});FQ({type:"htmlmathml",names:["\\html@mathml"],numArgs:2,allowedInArgument:!0,allowedInText:!0,handler:(Q,Z)=>{var{parser:J}=Q;return{type:"htmlmathml",mode:J.mode,html:YZ(Z[0]),mathml:YZ(Z[1])}},htmlBuilder:(Q,Z)=>{var J=AZ(Q.html,Z,!1);return n0(J)},mathmlBuilder:(Q,Z)=>{return R9(Q.mathml,Z)}});var AK=function(Z){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(Z))return{number:+Z,unit:"bp"};else{var J=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Z);if(!J)throw new ZQ("Invalid size: '"+Z+"' in \\includegraphics");var X={number:+(J[1]+J[2]),unit:J[3]};if(!VF(X))throw new ZQ("Invalid unit: '"+X.unit+"' in \\includegraphics.");return X}};FQ({type:"includegraphics",names:["\\includegraphics"],numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1,handler:(Q,Z,J)=>{var{parser:X}=Q,Y={number:0,unit:"em"},K={number:0.9,unit:"em"},j={number:0,unit:"em"},U="";if(J[0]){var F=CQ(J[0],"raw").string,A=F.split(",");for(var G=0;G{var J=oQ(Q.height,Z),X=0;if(Q.totalheight.number>0)X=oQ(Q.totalheight,Z)-J;var Y=0;if(Q.width.number>0)Y=oQ(Q.width,Z);var K={height:YQ(J+X)};if(Y>0)K.width=YQ(Y);if(X>0)K.verticalAlign=YQ(-X);var j=new MF(Q.src,Q.alt,K);return j.height=J,j.depth=X,j},mathmlBuilder:(Q,Z)=>{var J=new QQ("mglyph",[]);J.setAttribute("alt",Q.alt);var X=oQ(Q.height,Z),Y=0;if(Q.totalheight.number>0)Y=oQ(Q.totalheight,Z)-X,J.setAttribute("valign",YQ(-Y));if(J.setAttribute("height",YQ(X+Y)),Q.width.number>0){var K=oQ(Q.width,Z);J.setAttribute("width",YQ(K))}return J.setAttribute("src",Q.src),J}});FQ({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0,handler(Q,Z){var{parser:J,funcName:X}=Q,Y=CQ(Z[0],"size");if(J.settings.strict){var K=X[1]==="m",j=Y.value.unit==="mu";if(K){if(!j)J.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+X+" supports only mu units, "+("not "+Y.value.unit+" units"));if(J.mode!=="math")J.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+X+" works only in math mode")}else if(j)J.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+X+" doesn't support mu units")}return{type:"kern",mode:J.mode,dimension:Y.value}},htmlBuilder(Q,Z){return CF(Q.dimension,Z)},mathmlBuilder(Q,Z){var J=oQ(Q.dimension,Z);return new A7(J)}});FQ({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],numArgs:1,allowedInText:!0,handler:(Q,Z)=>{var{parser:J,funcName:X}=Q,Y=Z[0];return{type:"lap",mode:J.mode,alignment:X.slice(5),body:Y}},htmlBuilder:(Q,Z)=>{var J;if(Q.alignment==="clap")J=s([],[hQ(Q.body,Z)]),J=s(["inner"],[J],Z);else J=s(["inner"],[hQ(Q.body,Z)]);var X=s(["fix"],[]),Y=s([Q.alignment],[J,X],Z),K=s(["strut"]);if(K.style.height=YQ(Y.height+Y.depth),Y.depth)K.style.verticalAlign=YQ(-Y.depth);return Y.children.unshift(K),Y=s(["thinbox"],[Y],Z),s(["mord","vbox"],[Y],Z)},mathmlBuilder:(Q,Z)=>{var J=new QQ("mpadded",[uQ(Q.body,Z)]);if(Q.alignment!=="rlap"){var X=Q.alignment==="llap"?"-1":"-0.5";J.setAttribute("lspace",X+"width")}return J.setAttribute("width","0px"),J}});FQ({type:"styling",names:["\\(","$"],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(Q,Z){var{funcName:J,parser:X}=Q,Y=X.mode;X.switchMode("math");var K=J==="\\("?"\\)":"$",j=X.parseExpression(!1,K);return X.expect(K),X.switchMode(Y),{type:"styling",mode:X.mode,style:"text",resetFont:!0,body:j}}});FQ({type:"text",names:["\\)","\\]"],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(Q,Z){throw new ZQ("Mismatched "+Q.funcName)}});var l6=(Q,Z)=>{switch(Z.style.size){case DQ.DISPLAY.size:return Q.display;case DQ.TEXT.size:return Q.text;case DQ.SCRIPT.size:return Q.script;case DQ.SCRIPTSCRIPT.size:return Q.scriptscript;default:return Q.text}};FQ({type:"mathchoice",names:["\\mathchoice"],numArgs:4,primitive:!0,handler:(Q,Z)=>{var{parser:J}=Q;return{type:"mathchoice",mode:J.mode,display:YZ(Z[0]),text:YZ(Z[1]),script:YZ(Z[2]),scriptscript:YZ(Z[3])}},htmlBuilder:(Q,Z)=>{var J=l6(Q,Z),X=AZ(J,Z,!1);return n0(X)},mathmlBuilder:(Q,Z)=>{var J=l6(Q,Z);return R9(J,Z)}});var tF=(Q,Z,J,X,Y,K,j)=>{Q=s([],[Q]);var U=J&&a0(J),F,A;if(Z){var G=hQ(Z,X.havingStyle(Y.sup()),X);A={elem:G,kern:Math.max(X.fontMetrics().bigOpSpacing1,X.fontMetrics().bigOpSpacing3-G.depth)}}if(J){var z=hQ(J,X.havingStyle(Y.sub()),X);F={elem:z,kern:Math.max(X.fontMetrics().bigOpSpacing2,X.fontMetrics().bigOpSpacing4-z.height)}}var L;if(A&&F){var E=X.fontMetrics().bigOpSpacing5+F.elem.height+F.elem.depth+F.kern+Q.depth+j;L=$Q({positionType:"bottom",positionData:E,children:[{type:"kern",size:X.fontMetrics().bigOpSpacing5},{type:"elem",elem:F.elem,marginLeft:YQ(-K)},{type:"kern",size:F.kern},{type:"elem",elem:Q},{type:"kern",size:A.kern},{type:"elem",elem:A.elem,marginLeft:YQ(K)},{type:"kern",size:X.fontMetrics().bigOpSpacing5}]})}else if(F){var D=Q.height-j;L=$Q({positionType:"top",positionData:D,children:[{type:"kern",size:X.fontMetrics().bigOpSpacing5},{type:"elem",elem:F.elem,marginLeft:YQ(-K)},{type:"kern",size:F.kern},{type:"elem",elem:Q}]})}else if(A){var H=Q.depth+j;L=$Q({positionType:"bottom",positionData:H,children:[{type:"elem",elem:Q},{type:"kern",size:A.kern},{type:"elem",elem:A.elem,marginLeft:YQ(K)},{type:"kern",size:X.fontMetrics().bigOpSpacing5}]})}else return Q;var V=[L];if(F&&K!==0&&!U){var O=s(["mspace"],[],X);O.style.marginRight=YQ(K),V.unshift(O)}return s(["mop","op-limits"],V,X)},oF=new Set(["\\smallint"]),eF=(Q,Z)=>{var J,X,Y=!1,K;if(Q.type==="supsub")J=Q.sup,X=Q.sub,K=CQ(Q.base,"op"),Y=!0;else K=CQ(Q,"op");var j=Z.style,U=!1;if(j.size===DQ.DISPLAY.size&&K.symbol&&!oF.has(K.name))U=!0;var F,A;if(K.symbol){var G=U?"Size2-Regular":"Size1-Regular",z="";if(K.name==="\\oiint"||K.name==="\\oiiint")z=K.name.slice(1),K.name=z==="oiint"?"\\iint":"\\iiint";if(F=TZ(K.name,G,"math",Z,["mop","op-symbol",U?"large-op":"small-op"]),A=F.italic,z.length>0){var L=NF(z+"Size"+(U?"2":"1"),Z);F=$Q({positionType:"individualShift",children:[{type:"elem",elem:F,shift:0},{type:"elem",elem:L,shift:U?0.08:0}]}),K.name="\\"+z,F.classes.unshift("mop"),F.italic=A}}else if(K.body){var E=AZ(K.body,Z,!0);if(E.length===1&&E[0]instanceof bZ)F=E[0],F.classes[0]="mop";else F=s(["mop"],E,Z)}else{var D=[];for(var H=1;H{var J;if(Q.symbol){if(J=new QQ("mo",[X0(Q.name,Q.mode)]),oF.has(Q.name))J.setAttribute("largeop","false")}else if(Q.body)J=new QQ("mo",lZ(Q.body,Z));else{J=new QQ("mi",[new ZZ(Q.name.slice(1))]);var X=new QQ("mo",[X0("⁡","text")]);if(Q.parentIsSupSub)J=new QQ("mrow",[J,X]);else J=yF([J,X])}return J},m4={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};FQ({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],numArgs:0,handler:(Q,Z)=>{var{parser:J,funcName:X}=Q,Y=X;if(Y.length===1)Y=m4[Y];return{type:"op",mode:J.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Y}},htmlBuilder:eF,mathmlBuilder:h4});FQ({type:"op",names:["\\mathop"],numArgs:1,primitive:!0,handler:(Q,Z)=>{var{parser:J}=Q,X=Z[0];return{type:"op",mode:J.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:YZ(X)}}});var g4={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};FQ({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"],numArgs:0,handler(Q){var{parser:Z,funcName:J}=Q;return{type:"op",mode:Z.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:J}}});FQ({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],numArgs:0,handler(Q){var{parser:Z,funcName:J}=Q;return{type:"op",mode:Z.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:J}}});FQ({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],numArgs:0,allowedInArgument:!0,handler(Q){var{parser:Z,funcName:J}=Q,X=J;if(X.length===1)X=g4[X];return{type:"op",mode:Z.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:X}}});var Q1=(Q,Z)=>{var J,X,Y=!1,K;if(Q.type==="supsub")J=Q.sup,X=Q.sub,K=CQ(Q.base,"operatorname"),Y=!0;else K=CQ(Q,"operatorname");var j;if(K.body.length>0){var U=K.body.map((z)=>{var L="text"in z?z.text:void 0;if(typeof L==="string")return{type:"textord",mode:z.mode,text:L};else return z}),F=AZ(U,Z.withFont("mathrm"),!0);for(var A=0;A{var J=lZ(Q.body,Z.withFont("mathrm")),X=!0;for(var Y=0;YG.toText()).join("");J=[new ZZ(U)]}var F=new QQ("mi",J);F.setAttribute("mathvariant","normal");var A=new QQ("mo",[X0("⁡","text")]);if(Q.parentIsSupSub)return new QQ("mrow",[F,A]);else return yF([F,A])};FQ({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],numArgs:1,handler:(Q,Z)=>{var{parser:J,funcName:X}=Q,Y=Z[0];return{type:"operatorname",mode:J.mode,body:YZ(Y),alwaysHandleSupSub:X==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Q1,mathmlBuilder:c4});B("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");d9({type:"ordgroup",htmlBuilder(Q,Z){if(Q.semisimple)return n0(AZ(Q.body,Z,!1));return s(["mord"],AZ(Q.body,Z,!0),Z)},mathmlBuilder(Q,Z){return R9(Q.body,Z,!0)}});FQ({type:"overline",names:["\\overline"],numArgs:1,handler(Q,Z){var{parser:J}=Q,X=Z[0];return{type:"overline",mode:J.mode,body:X}},htmlBuilder(Q,Z){var J=hQ(Q.body,Z.havingCrampedStyle()),X=FJ("overline-line",Z),Y=Z.fontMetrics().defaultRuleThickness,K=$Q({positionType:"firstBaseline",children:[{type:"elem",elem:J},{type:"kern",size:3*Y},{type:"elem",elem:X},{type:"kern",size:Y}]});return s(["mord","overline"],[K],Z)},mathmlBuilder(Q,Z){var J=new QQ("mo",[new ZZ("‾")]);J.setAttribute("stretchy","true");var X=new QQ("mover",[uQ(Q.body,Z),J]);return X.setAttribute("accent","true"),X}});FQ({type:"phantom",names:["\\phantom"],numArgs:1,allowedInText:!0,handler:(Q,Z)=>{var{parser:J}=Q,X=Z[0];return{type:"phantom",mode:J.mode,body:YZ(X)}},htmlBuilder:(Q,Z)=>{var J=AZ(Q.body,Z.withPhantom(),!1);return n0(J)},mathmlBuilder:(Q,Z)=>{var J=lZ(Q.body,Z);return new QQ("mphantom",J)}});B("\\hphantom","\\smash{\\phantom{#1}}");FQ({type:"vphantom",names:["\\vphantom"],numArgs:1,allowedInText:!0,handler:(Q,Z)=>{var{parser:J}=Q,X=Z[0];return{type:"vphantom",mode:J.mode,body:X}},htmlBuilder:(Q,Z)=>{var J=s(["inner"],[hQ(Q.body,Z.withPhantom())]),X=s(["fix"],[]);return s(["mord","rlap"],[J,X],Z)},mathmlBuilder:(Q,Z)=>{var J=lZ(YZ(Q.body),Z),X=new QQ("mphantom",J),Y=new QQ("mpadded",[X]);return Y.setAttribute("width","0px"),Y}});FQ({type:"raisebox",names:["\\raisebox"],numArgs:2,argTypes:["size","hbox"],allowedInText:!0,handler(Q,Z){var{parser:J}=Q,X=CQ(Z[0],"size").value,Y=Z[1];return{type:"raisebox",mode:J.mode,dy:X,body:Y}},htmlBuilder(Q,Z){var J=hQ(Q.body,Z),X=oQ(Q.dy,Z);return $Q({positionType:"shift",positionData:-X,children:[{type:"elem",elem:J}]})},mathmlBuilder(Q,Z){var J=new QQ("mpadded",[uQ(Q.body,Z)]),X=Q.dy.number+Q.dy.unit;return J.setAttribute("voffset",X),J}});FQ({type:"internal",names:["\\relax"],numArgs:0,allowedInText:!0,allowedInArgument:!0,handler(Q){var{parser:Z}=Q;return{type:"internal",mode:Z.mode}}});FQ({type:"rule",names:["\\rule"],numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"],handler(Q,Z,J){var{parser:X}=Q,Y=J[0],K=CQ(Z[0],"size"),j=CQ(Z[1],"size");return{type:"rule",mode:X.mode,shift:Y&&CQ(Y,"size").value,width:K.value,height:j.value}},htmlBuilder(Q,Z){var J=s(["mord","rule"],[],Z),X=oQ(Q.width,Z),Y=oQ(Q.height,Z),K=Q.shift?oQ(Q.shift,Z):0;return J.style.borderRightWidth=YQ(X),J.style.borderTopWidth=YQ(Y),J.style.bottom=YQ(K),J.width=X,J.height=Y+K,J.depth=-K,J.maxFontSize=Y*1.125*Z.sizeMultiplier,J},mathmlBuilder(Q,Z){var J=oQ(Q.width,Z),X=oQ(Q.height,Z),Y=Q.shift?oQ(Q.shift,Z):0,K=Z.color&&Z.getColor()||"black",j=new QQ("mspace");j.setAttribute("mathbackground",K),j.setAttribute("width",YQ(J)),j.setAttribute("height",YQ(X));var U=new QQ("mpadded",[j]);if(Y>=0)U.setAttribute("height",YQ(Y));else U.setAttribute("height",YQ(Y)),U.setAttribute("depth",YQ(-Y));return U.setAttribute("voffset",YQ(Y)),U}});function Z1(Q,Z,J){var X=AZ(Q,Z,!1),Y=Z.sizeMultiplier/J.sizeMultiplier;for(var K=0;K{var J=Z.havingSize(Q.size);return Z1(Q.body,J,Z)};FQ({type:"sizing",names:p6,numArgs:0,allowedInText:!0,handler:(Q,Z)=>{var{breakOnTokenText:J,funcName:X,parser:Y}=Q,K=Y.parseExpression(!1,J);return{type:"sizing",mode:Y.mode,size:p6.indexOf(X)+1,body:K}},htmlBuilder:u4,mathmlBuilder:(Q,Z)=>{var J=Z.havingSize(Q.size),X=lZ(Q.body,J),Y=new QQ("mstyle",X);return Y.setAttribute("mathsize",YQ(J.sizeMultiplier)),Y}});FQ({type:"smash",names:["\\smash"],numArgs:1,numOptionalArgs:1,allowedInText:!0,handler:(Q,Z,J)=>{var{parser:X}=Q,Y=!1,K=!1,j=J[0]&&CQ(J[0],"ordgroup");if(j){var U;for(var F=0;F{var J=s([],[hQ(Q.body,Z)]);if(!Q.smashHeight&&!Q.smashDepth)return J;if(Q.smashHeight)J.height=0;if(Q.smashDepth)J.depth=0;if(Q.smashHeight&&Q.smashDepth)return s(["mord","smash"],[J],Z);if(J.children)for(var X=0;X{var J=new QQ("mpadded",[uQ(Q.body,Z)]);if(Q.smashHeight)J.setAttribute("height","0px");if(Q.smashDepth)J.setAttribute("depth","0px");return J}});FQ({type:"sqrt",names:["\\sqrt"],numArgs:1,numOptionalArgs:1,handler(Q,Z,J){var{parser:X}=Q,Y=J[0],K=Z[0];return{type:"sqrt",mode:X.mode,body:K,index:Y}},htmlBuilder(Q,Z){var J=hQ(Q.body,Z.havingCrampedStyle());if(J.height===0)J.height=Z.fontMetrics().xHeight;J=RJ(J,Z);var X=Z.fontMetrics(),Y=X.defaultRuleThickness,K=Y;if(Z.style.idJ.height+J.depth+j)j=(j+z-J.height-J.depth)/2;var L=F.height-J.height-j-A;J.style.paddingLeft=YQ(G);var E=$Q({positionType:"firstBaseline",children:[{type:"elem",elem:J,wrapperClasses:["svg-align"]},{type:"kern",size:-(J.height+L)},{type:"elem",elem:F},{type:"kern",size:A}]});if(!Q.index)return s(["mord","sqrt"],[E],Z);else{var D=Z.havingStyle(DQ.SCRIPTSCRIPT),H=hQ(Q.index,D,Z),V=0.6*(E.height-E.depth),O=$Q({positionType:"shift",positionData:-V,children:[{type:"elem",elem:H}]}),S=s(["root"],[O]);return s(["mord","sqrt"],[S,E],Z)}},mathmlBuilder(Q,Z){var{body:J,index:X}=Q;return X?new QQ("mroot",[uQ(J,Z),uQ(X,Z)]):new QQ("msqrt",[uQ(J,Z)])}});var R8={display:DQ.DISPLAY,text:DQ.TEXT,script:DQ.SCRIPT,scriptscript:DQ.SCRIPTSCRIPT};function d4(Q){return Q in R8}FQ({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],numArgs:0,allowedInText:!0,primitive:!0,handler(Q,Z){var{breakOnTokenText:J,funcName:X,parser:Y}=Q,K=Y.parseExpression(!0,J),j=X.slice(1,X.length-5);if(!d4(j))throw Error("Unknown style: "+j);return{type:"styling",mode:Y.mode,style:j,body:K}},htmlBuilder(Q,Z){var J=R8[Q.style],X=Z.havingStyle(J);if(Q.resetFont)X=X.withFont("");return Z1(Q.body,X,Z)},mathmlBuilder(Q,Z){var J=R8[Q.style],X=Z.havingStyle(J);if(Q.resetFont)X=X.withFont("");var Y=lZ(Q.body,X),K=new QQ("mstyle",Y),j={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},U=j[Q.style];return K.setAttribute("scriptlevel",U[0]),K.setAttribute("displaystyle",U[1]),K}});var l4=function(Z,J){var X=Z.base;if(!X)return null;else if(X.type==="op"){var Y=X.limits&&(J.style.size===DQ.DISPLAY.size||X.alwaysHandleSupSub);return Y?eF:null}else if(X.type==="operatorname"){var K=X.alwaysHandleSupSub&&(J.style.size===DQ.DISPLAY.size||X.limits);return K?Q1:null}else if(X.type==="accent")return a0(X.base)?bF:null;else if(X.type==="horizBrace"){var j=!Z.sub;return j===X.isOver?rF:null}else return null};d9({type:"supsub",htmlBuilder(Q,Z){var J=l4(Q,Z);if(J)return J(Q,Z);var{base:X,sup:Y,sub:K}=Q,j=hQ(X,Z),U,F,A=Z.fontMetrics(),G=0,z=0,L=X&&a0(X);if(Y){var E=Z.havingStyle(Z.style.sup());if(U=hQ(Y,E,Z),!L)G=j.height-E.fontMetrics().supDrop*E.sizeMultiplier/Z.sizeMultiplier}if(K){var D=Z.havingStyle(Z.style.sub());if(F=hQ(K,D,Z),!L)z=j.depth+D.fontMetrics().subDrop*D.sizeMultiplier/Z.sizeMultiplier}var H;if(Z.style===DQ.DISPLAY)H=A.sup1;else if(Z.style.cramped)H=A.sup3;else H=A.sup2;var V=Z.sizeMultiplier,O=YQ(0.5/A.ptPerEm/V),S=null;if(F){var P=Q.base&&Q.base.type==="op"&&Q.base.name&&(Q.base.name==="\\oiint"||Q.base.name==="\\oiiint");if(j instanceof bZ||P){var T;S=YQ(-((T=j.italic)!=null?T:0))}}var k;if(U&&F){G=Math.max(G,H,U.depth+0.25*A.xHeight),z=Math.max(z,A.sub2);var M=A.defaultRuleThickness,C=4*M;if(G-U.depth-(F.height-z)0)G+=N,z-=N}var _=[{type:"elem",elem:F,shift:z,marginRight:O,marginLeft:S},{type:"elem",elem:U,shift:-G,marginRight:O}];k=$Q({positionType:"individualShift",children:_})}else if(F){z=Math.max(z,A.sub1,F.height-0.8*A.xHeight);var x=[{type:"elem",elem:F,marginLeft:S,marginRight:O}];k=$Q({positionType:"shift",positionData:z,children:x})}else if(U)G=Math.max(G,H,U.depth+0.25*A.xHeight),k=$Q({positionType:"shift",positionData:-G,children:[{type:"elem",elem:U,marginRight:O}]});else throw Error("supsub must have either sup or sub.");var v=Y8(j,"right")||"mord";return s([v],[j,s(["msupsub"],[k])],Z)},mathmlBuilder(Q,Z){var J=!1,X,Y;if(Q.base&&Q.base.type==="horizBrace"){if(Y=!!Q.sup,Y===Q.base.isOver)J=!0,X=Q.base.isOver}if(Q.base&&(Q.base.type==="op"||Q.base.type==="operatorname"))Q.base.parentIsSupSub=!0;var K=[uQ(Q.base,Z)];if(Q.sub)K.push(uQ(Q.sub,Z));if(Q.sup)K.push(uQ(Q.sup,Z));var j;if(J)j=X?"mover":"munder";else if(!Q.sub){var U=Q.base;if(U&&U.type==="op"&&U.limits&&(Z.style===DQ.DISPLAY||U.alwaysHandleSupSub))j="mover";else if(U&&U.type==="operatorname"&&U.alwaysHandleSupSub&&(U.limits||Z.style===DQ.DISPLAY))j="mover";else j="msup"}else if(!Q.sup){var F=Q.base;if(F&&F.type==="op"&&F.limits&&(Z.style===DQ.DISPLAY||F.alwaysHandleSupSub))j="munder";else if(F&&F.type==="operatorname"&&F.alwaysHandleSupSub&&(F.limits||Z.style===DQ.DISPLAY))j="munder";else j="msub"}else{var A=Q.base;if(A&&A.type==="op"&&A.limits&&Z.style===DQ.DISPLAY)j="munderover";else if(A&&A.type==="operatorname"&&A.alwaysHandleSupSub&&(Z.style===DQ.DISPLAY||A.limits))j="munderover";else j="msubsup"}return new QQ(j,K)}});d9({type:"atom",htmlBuilder(Q,Z){return F7(Q.text,Q.mode,Z,["m"+Q.family])},mathmlBuilder(Q,Z){var J=new QQ("mo",[X0(Q.text,Q.mode)]);if(Q.family==="bin"){var X=q7(Q,Z);if(X==="bold-italic")J.setAttribute("mathvariant",X)}else if(Q.family==="punct")J.setAttribute("separator","true");else if(Q.family==="open"||Q.family==="close")J.setAttribute("stretchy","false");return J}});var J1={mi:"italic",mn:"normal",mtext:"normal"};d9({type:"mathord",htmlBuilder(Q,Z){return OY(Q,Z)},mathmlBuilder(Q,Z){var J=new QQ("mi",[X0(Q.text,Q.mode,Z)]),X=q7(Q,Z)||"italic";if(X!==J1[J.type])J.setAttribute("mathvariant",X);return J}});d9({type:"textord",htmlBuilder(Q,Z){return OY(Q,Z)},mathmlBuilder(Q,Z){var J=X0(Q.text,Q.mode,Z),X=q7(Q,Z)||"normal",Y;if(Q.mode==="text")Y=new QQ("mtext",[J]);else if(/[0-9]/.test(Q.text))Y=new QQ("mn",[J]);else if(Q.text==="\\prime")Y=new QQ("mo",[J]);else Y=new QQ("mi",[J]);if(X!==J1[Y.type])Y.setAttribute("mathvariant",X);return Y}});var WK={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},qK={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};d9({type:"spacing",htmlBuilder(Q,Z){if(qK.hasOwnProperty(Q.text)){var J=qK[Q.text].className||"";if(Q.mode==="text"){var X=OY(Q,Z);return X.classes.push(J),X}else return s(["mspace",J],[F7(Q.text,Q.mode,Z)],Z)}else if(WK.hasOwnProperty(Q.text))return s(["mspace",WK[Q.text]],[],Z);else throw new ZQ('Unknown type of space "'+Q.text+'"')},mathmlBuilder(Q,Z){var J;if(qK.hasOwnProperty(Q.text))J=new QQ("mtext",[new ZZ(" ")]);else if(WK.hasOwnProperty(Q.text))return new QQ("mspace");else throw new ZQ('Unknown type of space "'+Q.text+'"');return J}});var a6=()=>{var Q=new QQ("mtd",[]);return Q.setAttribute("width","50%"),Q};d9({type:"tag",mathmlBuilder(Q,Z){var J=new QQ("mtable",[new QQ("mtr",[a6(),new QQ("mtd",[R9(Q.body,Z)]),a6(),new QQ("mtd",[R9(Q.tag,Z)])])]);return J.setAttribute("width","100%"),J}});var i6={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},n6={"\\textbf":"textbf","\\textmd":"textmd"},p4={"\\textit":"textit","\\textup":"textup"},s6=(Q,Z)=>{var J=Q.font;if(!J)return Z;else if(i6[J])return Z.withTextFontFamily(i6[J]);else if(n6[J])return Z.withTextFontWeight(n6[J]);else if(J==="\\emph")return Z.fontShape==="textit"?Z.withTextFontShape("textup"):Z.withTextFontShape("textit");return Z.withTextFontShape(p4[J])};FQ({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0,handler(Q,Z){var{parser:J,funcName:X}=Q,Y=Z[0];return{type:"text",mode:J.mode,body:YZ(Y),font:X}},htmlBuilder(Q,Z){var J=s6(Q,Z),X=AZ(Q.body,J,!0);return s(["mord","text"],X,J)},mathmlBuilder(Q,Z){var J=s6(Q,Z);return R9(Q.body,J)}});FQ({type:"underline",names:["\\underline"],numArgs:1,allowedInText:!0,handler(Q,Z){var{parser:J}=Q;return{type:"underline",mode:J.mode,body:Z[0]}},htmlBuilder(Q,Z){var J=hQ(Q.body,Z),X=FJ("underline-line",Z),Y=Z.fontMetrics().defaultRuleThickness,K=$Q({positionType:"top",positionData:J.height,children:[{type:"kern",size:Y},{type:"elem",elem:X},{type:"kern",size:3*Y},{type:"elem",elem:J}]});return s(["mord","underline"],[K],Z)},mathmlBuilder(Q,Z){var J=new QQ("mo",[new ZZ("‾")]);J.setAttribute("stretchy","true");var X=new QQ("munder",[uQ(Q.body,Z),J]);return X.setAttribute("accentunder","true"),X}});FQ({type:"vcenter",names:["\\vcenter"],numArgs:1,argTypes:["original"],allowedInText:!1,handler(Q,Z){var{parser:J}=Q;return{type:"vcenter",mode:J.mode,body:Z[0]}},htmlBuilder(Q,Z){var J=hQ(Q.body,Z),X=Z.fontMetrics().axisHeight,Y=0.5*(J.height-X-(J.depth+X));return $Q({positionType:"shift",positionData:Y,children:[{type:"elem",elem:J}]})},mathmlBuilder(Q,Z){var J=new QQ("mpadded",[uQ(Q.body,Z)],["vcenter"]);return new QQ("mrow",[J])}});FQ({type:"verb",names:["\\verb"],numArgs:0,allowedInText:!0,handler(Q,Z,J){throw new ZQ("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(Q,Z){var J=r6(Q),X=[],Y=Z.havingStyle(Z.style.text());for(var K=0;KQ.body.replace(/ /g,Q.star?"␣":" "),Z9=wF,X1=`[ \r ]`,a4="\\\\[a-zA-Z@]+",i4="\\\\[^\uD800-\uDFFF]",n4="("+a4+")"+X1+"*",s4=`\\\\( |[ \r ]+ ?)[ \r ]*`,A8="[̀-ͯ]",r4=new RegExp(A8+"+$"),t4="("+X1+"+)|"+(s4+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(A8+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(A8+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+n4)+("|"+i4+")");class W8{constructor(Q,Z){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=Q,this.settings=Z,this.tokenRegex=new RegExp(t4,"g"),this.catcodes={"%":14,"~":13}}setCatcode(Q,Z){this.catcodes[Q]=Z}lex(){var Q=this.input,Z=this.tokenRegex.lastIndex;if(Z===Q.length)return new gZ("EOF",new _Z(this,Z,Z));var J=this.tokenRegex.exec(Q);if(J===null||J.index!==Z)throw new ZQ("Unexpected character: '"+Q[Z]+"'",new gZ(Q[Z],new _Z(this,Z,Z+1)));var X=J[6]||J[3]||(J[2]?"\\ ":" ");if(this.catcodes[X]===14){var Y=Q.indexOf(` `,this.tokenRegex.lastIndex);if(Y===-1)this.tokenRegex.lastIndex=Q.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)");else this.tokenRegex.lastIndex=Y+1;return this.lex()}return new gZ(X,new _Z(this,Z,this.tokenRegex.lastIndex))}}class Y1{constructor(Q,Z){if(Q===void 0)Q={};if(Z===void 0)Z={};this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=Z,this.builtins=Q,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new ZQ("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var Q=this.undefStack.pop();for(var Z in Q)if(Q.hasOwnProperty(Z))if(Q[Z]==null)delete this.current[Z];else this.current[Z]=Q[Z]}endGroups(){while(this.undefStack.length>0)this.endGroup()}has(Q){return this.current.hasOwnProperty(Q)||this.builtins.hasOwnProperty(Q)}get(Q){if(this.current.hasOwnProperty(Q))return this.current[Q];else return this.builtins[Q]}set(Q,Z,J){if(J===void 0)J=!1;if(J){for(var X=0;X0)this.undefStack[this.undefStack.length-1][Q]=Z}else{var Y=this.undefStack[this.undefStack.length-1];if(Y&&!Y.hasOwnProperty(Q))Y[Q]=this.current[Q]}if(Z==null)delete this.current[Q];else this.current[Q]=Z}}var o4=iF;B("\\noexpand",function(Q){var Z=Q.popToken();if(Q.isExpandable(Z.text))Z.noexpand=!0,Z.treatAsRelax=!0;return{tokens:[Z],numArgs:0}});B("\\expandafter",function(Q){var Z=Q.popToken();return Q.expandOnce(!0),{tokens:[Z],numArgs:0}});B("\\@firstoftwo",function(Q){var Z=Q.consumeArgs(2);return{tokens:Z[0],numArgs:0}});B("\\@secondoftwo",function(Q){var Z=Q.consumeArgs(2);return{tokens:Z[1],numArgs:0}});B("\\@ifnextchar",function(Q){var Z=Q.consumeArgs(3);Q.consumeSpaces();var J=Q.future();if(Z[0].length===1&&Z[0][0].text===J.text)return{tokens:Z[1],numArgs:0};else return{tokens:Z[2],numArgs:0}});B("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");B("\\TextOrMath",function(Q){var Z=Q.consumeArgs(2);if(Q.mode==="text")return{tokens:Z[0],numArgs:0};else return{tokens:Z[1],numArgs:0}});var t6={"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};B("\\char",function(Q){var Z=Q.popToken(),J,X=0;if(Z.text==="'")J=8,Z=Q.popToken();else if(Z.text==='"')J=16,Z=Q.popToken();else if(Z.text==="`")if(Z=Q.popToken(),Z.text[0]==="\\")X=Z.text.charCodeAt(1);else if(Z.text==="EOF")throw new ZQ("\\char` missing argument");else X=Z.text.charCodeAt(0);else J=10;if(J){if(X=t6[Z.text],X==null||X>=J)throw new ZQ("Invalid base-"+J+" digit "+Z.text);var Y;while((Y=t6[Q.future().text])!=null&&Y{var Y=Q.consumeArg().tokens;if(Y.length!==1)throw new ZQ("\\newcommand's first argument must be a macro name");var K=Y[0].text,j=Q.isDefined(K);if(j&&!Z)throw new ZQ("\\newcommand{"+K+"} attempting to redefine "+(K+"; use \\renewcommand"));if(!j&&!J)throw new ZQ("\\renewcommand{"+K+"} when command "+K+" does not yet exist; use \\newcommand");var U=0;if(Y=Q.consumeArg().tokens,Y.length===1&&Y[0].text==="["){var F="",A=Q.expandNextToken();while(A.text!=="]"&&A.text!=="EOF")F+=A.text,A=Q.expandNextToken();if(!F.match(/^\s*[0-9]+\s*$/))throw new ZQ("Invalid number of arguments: "+F);U=parseInt(F),Y=Q.consumeArg().tokens}if(!(j&&X))Q.macros.set(K,{tokens:Y,numArgs:U});return""};B("\\newcommand",(Q)=>L7(Q,!1,!0,!1));B("\\renewcommand",(Q)=>L7(Q,!0,!1,!1));B("\\providecommand",(Q)=>L7(Q,!0,!0,!0));B("\\message",(Q)=>{var Z=Q.consumeArgs(1)[0];return console.log(Z.reverse().map((J)=>J.text).join("")),""});B("\\errmessage",(Q)=>{var Z=Q.consumeArgs(1)[0];return console.error(Z.reverse().map((J)=>J.text).join("")),""});B("\\show",(Q)=>{var Z=Q.popToken(),J=Z.text;return console.log(Z,Q.macros.get(J),Z9[J],iQ.math[J],iQ.text[J]),""});B("\\bgroup","{");B("\\egroup","}");B("~","\\nobreakspace");B("\\lq","`");B("\\rq","'");B("\\aa","\\r a");B("\\AA","\\r A");B("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");B("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");B("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");B("ℬ","\\mathscr{B}");B("ℰ","\\mathscr{E}");B("ℱ","\\mathscr{F}");B("ℋ","\\mathscr{H}");B("ℐ","\\mathscr{I}");B("ℒ","\\mathscr{L}");B("ℳ","\\mathscr{M}");B("ℛ","\\mathscr{R}");B("ℭ","\\mathfrak{C}");B("ℌ","\\mathfrak{H}");B("ℨ","\\mathfrak{Z}");B("\\Bbbk","\\Bbb{k}");B("\\llap","\\mathllap{\\textrm{#1}}");B("\\rlap","\\mathrlap{\\textrm{#1}}");B("\\clap","\\mathclap{\\textrm{#1}}");B("\\mathstrut","\\vphantom{(}");B("\\underbar","\\underline{\\text{#1}}");B("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}');B("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");B("\\ne","\\neq");B("≠","\\neq");B("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}"+"{\\mathrel{\\char`∉}}");B("∉","\\notin");B("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}"+"}{\\mathrel{\\char`≘}}");B("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");B("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");B("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}"+"{\\mathrel{\\char`≛}}");B("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}"+"{\\mathrel{\\char`≝}}");B("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}"+"{\\mathrel{\\char`≞}}");B("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");B("⟂","\\perp");B("‼","\\mathclose{!\\mkern-0.8mu!}");B("∌","\\notni");B("⌜","\\ulcorner");B("⌝","\\urcorner");B("⌞","\\llcorner");B("⌟","\\lrcorner");B("©","\\copyright");B("®","\\textregistered");B("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');B("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');B("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');B("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');B("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");B("⋮","\\vdots");B("\\varGamma","\\mathit{\\Gamma}");B("\\varDelta","\\mathit{\\Delta}");B("\\varTheta","\\mathit{\\Theta}");B("\\varLambda","\\mathit{\\Lambda}");B("\\varXi","\\mathit{\\Xi}");B("\\varPi","\\mathit{\\Pi}");B("\\varSigma","\\mathit{\\Sigma}");B("\\varUpsilon","\\mathit{\\Upsilon}");B("\\varPhi","\\mathit{\\Phi}");B("\\varPsi","\\mathit{\\Psi}");B("\\varOmega","\\mathit{\\Omega}");B("\\substack","\\begin{subarray}{c}#1\\end{subarray}");B("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");B("\\boxed","\\fbox{$\\displaystyle{#1}$}");B("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");B("\\implies","\\DOTSB\\;\\Longrightarrow\\;");B("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");B("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");B("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var o6={",":"\\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"},e4=new Set(["bin","rel"]);B("\\dots",function(Q){var Z="\\dotso",J=Q.expandAfterFuture().text;if(J in o6)Z=o6[J];else if(J.slice(0,4)==="\\not")Z="\\dotsb";else if(J in iQ.math){if(e4.has(iQ.math[J].group))Z="\\dotsb"}return Z});var I7={")":!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};B("\\dotso",function(Q){var Z=Q.future().text;if(Z in I7)return"\\ldots\\,";else return"\\ldots"});B("\\dotsc",function(Q){var Z=Q.future().text;if(Z in I7&&Z!==",")return"\\ldots\\,";else return"\\ldots"});B("\\cdots",function(Q){var Z=Q.future().text;if(Z in I7)return"\\@cdots\\,";else return"\\@cdots"});B("\\dotsb","\\cdots");B("\\dotsm","\\cdots");B("\\dotsi","\\!\\cdots");B("\\dotsx","\\ldots\\,");B("\\DOTSI","\\relax");B("\\DOTSB","\\relax");B("\\DOTSX","\\relax");B("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");B("\\,","\\tmspace+{3mu}{.1667em}");B("\\thinspace","\\,");B("\\>","\\mskip{4mu}");B("\\:","\\tmspace+{4mu}{.2222em}");B("\\medspace","\\:");B("\\;","\\tmspace+{5mu}{.2777em}");B("\\thickspace","\\;");B("\\!","\\tmspace-{3mu}{.1667em}");B("\\negthinspace","\\!");B("\\negmedspace","\\tmspace-{4mu}{.2222em}");B("\\negthickspace","\\tmspace-{5mu}{.277em}");B("\\enspace","\\kern.5em ");B("\\enskip","\\hskip.5em\\relax");B("\\quad","\\hskip1em\\relax");B("\\qquad","\\hskip2em\\relax");B("\\tag","\\@ifstar\\tag@literal\\tag@paren");B("\\tag@paren","\\tag@literal{({#1})}");B("\\tag@literal",(Q)=>{if(Q.macros.get("\\df@tag"))throw new ZQ("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});B("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");B("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");B("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");B("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");B("\\newline","\\\\\\relax");B("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var K1=YQ(O0["Main-Regular"][84][1]-0.7*O0["Main-Regular"][65][1]);B("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+K1+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");B("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+K1+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");B("\\hspace","\\@ifstar\\@hspacer\\@hspace");B("\\@hspace","\\hskip #1\\relax");B("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");B("\\ordinarycolon",":");B("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");B("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');B("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');B("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');B("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');B("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');B("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');B("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');B("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');B("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');B("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');B("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');B("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');B("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');B("∷","\\dblcolon");B("∹","\\eqcolon");B("≔","\\coloneqq");B("≕","\\eqqcolon");B("⩴","\\Coloneqq");B("\\ratio","\\vcentcolon");B("\\coloncolon","\\dblcolon");B("\\colonequals","\\coloneqq");B("\\coloncolonequals","\\Coloneqq");B("\\equalscolon","\\eqqcolon");B("\\equalscoloncolon","\\Eqqcolon");B("\\colonminus","\\coloneq");B("\\coloncolonminus","\\Coloneq");B("\\minuscolon","\\eqcolon");B("\\minuscoloncolon","\\Eqcolon");B("\\coloncolonapprox","\\Colonapprox");B("\\coloncolonsim","\\Colonsim");B("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");B("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");B("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");B("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");B("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");B("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");B("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");B("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");B("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");B("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");B("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");B("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");B("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");B("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");B("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");B("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");B("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");B("\\nleqq","\\html@mathml{\\@nleqq}{≰}");B("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");B("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");B("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");B("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");B("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");B("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");B("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");B("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");B("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");B("\\imath","\\html@mathml{\\@imath}{ı}");B("\\jmath","\\html@mathml{\\@jmath}{ȷ}");B("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}"+"{\\mathopen{\\char`⟦}}");B("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}"+"{\\mathclose{\\char`⟧}}");B("⟦","\\llbracket");B("⟧","\\rrbracket");B("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}"+"{\\mathopen{\\char`⦃}}");B("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}"+"{\\mathclose{\\char`⦄}}");B("⦃","\\lBrace");B("⦄","\\rBrace");B("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}"+"{\\char`⦵}}");B("⦵","\\minuso");B("\\darr","\\downarrow");B("\\dArr","\\Downarrow");B("\\Darr","\\Downarrow");B("\\lang","\\langle");B("\\rang","\\rangle");B("\\uarr","\\uparrow");B("\\uArr","\\Uparrow");B("\\Uarr","\\Uparrow");B("\\N","\\mathbb{N}");B("\\R","\\mathbb{R}");B("\\Z","\\mathbb{Z}");B("\\alef","\\aleph");B("\\alefsym","\\aleph");B("\\Alpha","\\mathrm{A}");B("\\Beta","\\mathrm{B}");B("\\bull","\\bullet");B("\\Chi","\\mathrm{X}");B("\\clubs","\\clubsuit");B("\\cnums","\\mathbb{C}");B("\\Complex","\\mathbb{C}");B("\\Dagger","\\ddagger");B("\\diamonds","\\diamondsuit");B("\\empty","\\emptyset");B("\\Epsilon","\\mathrm{E}");B("\\Eta","\\mathrm{H}");B("\\exist","\\exists");B("\\harr","\\leftrightarrow");B("\\hArr","\\Leftrightarrow");B("\\Harr","\\Leftrightarrow");B("\\hearts","\\heartsuit");B("\\image","\\Im");B("\\infin","\\infty");B("\\Iota","\\mathrm{I}");B("\\isin","\\in");B("\\Kappa","\\mathrm{K}");B("\\larr","\\leftarrow");B("\\lArr","\\Leftarrow");B("\\Larr","\\Leftarrow");B("\\lrarr","\\leftrightarrow");B("\\lrArr","\\Leftrightarrow");B("\\Lrarr","\\Leftrightarrow");B("\\Mu","\\mathrm{M}");B("\\natnums","\\mathbb{N}");B("\\Nu","\\mathrm{N}");B("\\Omicron","\\mathrm{O}");B("\\plusmn","\\pm");B("\\rarr","\\rightarrow");B("\\rArr","\\Rightarrow");B("\\Rarr","\\Rightarrow");B("\\real","\\Re");B("\\reals","\\mathbb{R}");B("\\Reals","\\mathbb{R}");B("\\Rho","\\mathrm{P}");B("\\sdot","\\cdot");B("\\sect","\\S");B("\\spades","\\spadesuit");B("\\sub","\\subset");B("\\sube","\\subseteq");B("\\supe","\\supseteq");B("\\Tau","\\mathrm{T}");B("\\thetasym","\\vartheta");B("\\weierp","\\wp");B("\\Zeta","\\mathrm{Z}");B("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");B("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");B("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");B("\\bra","\\mathinner{\\langle{#1}|}");B("\\ket","\\mathinner{|{#1}\\rangle}");B("\\braket","\\mathinner{\\langle{#1}\\rangle}");B("\\Bra","\\left\\langle#1\\right|");B("\\Ket","\\left|#1\\right\\rangle");var j1=(Q)=>(Z)=>{var J=Z.consumeArg().tokens,X=Z.consumeArg().tokens,Y=Z.consumeArg().tokens,K=Z.consumeArg().tokens,j=Z.macros.get("|"),U=Z.macros.get("\\|");Z.macros.beginGroup();var F=(z)=>(L)=>{if(Q){if(L.macros.set("|",j),Y.length)L.macros.set("\\|",U)}var E=z;if(!z&&Y.length){var D=L.future();if(D.text==="|")L.popToken(),E=!0}return{tokens:E?Y:X,numArgs:0}};if(Z.macros.set("|",F(!1)),Y.length)Z.macros.set("\\|",F(!0));var A=Z.consumeArg().tokens,G=Z.expandTokens([...K,...A,...J]);return Z.macros.endGroup(),{tokens:G.reverse(),numArgs:0}};B("\\bra@ket",j1(!1));B("\\bra@set",j1(!0));B("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");B("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");B("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");B("\\angln","{\\angl n}");B("\\blue","\\textcolor{##6495ed}{#1}");B("\\orange","\\textcolor{##ffa500}{#1}");B("\\pink","\\textcolor{##ff00af}{#1}");B("\\red","\\textcolor{##df0030}{#1}");B("\\green","\\textcolor{##28ae7b}{#1}");B("\\gray","\\textcolor{gray}{#1}");B("\\purple","\\textcolor{##9d38bd}{#1}");B("\\blueA","\\textcolor{##ccfaff}{#1}");B("\\blueB","\\textcolor{##80f6ff}{#1}");B("\\blueC","\\textcolor{##63d9ea}{#1}");B("\\blueD","\\textcolor{##11accd}{#1}");B("\\blueE","\\textcolor{##0c7f99}{#1}");B("\\tealA","\\textcolor{##94fff5}{#1}");B("\\tealB","\\textcolor{##26edd5}{#1}");B("\\tealC","\\textcolor{##01d1c1}{#1}");B("\\tealD","\\textcolor{##01a995}{#1}");B("\\tealE","\\textcolor{##208170}{#1}");B("\\greenA","\\textcolor{##b6ffb0}{#1}");B("\\greenB","\\textcolor{##8af281}{#1}");B("\\greenC","\\textcolor{##74cf70}{#1}");B("\\greenD","\\textcolor{##1fab54}{#1}");B("\\greenE","\\textcolor{##0d923f}{#1}");B("\\goldA","\\textcolor{##ffd0a9}{#1}");B("\\goldB","\\textcolor{##ffbb71}{#1}");B("\\goldC","\\textcolor{##ff9c39}{#1}");B("\\goldD","\\textcolor{##e07d10}{#1}");B("\\goldE","\\textcolor{##a75a05}{#1}");B("\\redA","\\textcolor{##fca9a9}{#1}");B("\\redB","\\textcolor{##ff8482}{#1}");B("\\redC","\\textcolor{##f9685d}{#1}");B("\\redD","\\textcolor{##e84d39}{#1}");B("\\redE","\\textcolor{##bc2612}{#1}");B("\\maroonA","\\textcolor{##ffbde0}{#1}");B("\\maroonB","\\textcolor{##ff92c6}{#1}");B("\\maroonC","\\textcolor{##ed5fa6}{#1}");B("\\maroonD","\\textcolor{##ca337c}{#1}");B("\\maroonE","\\textcolor{##9e034e}{#1}");B("\\purpleA","\\textcolor{##ddd7ff}{#1}");B("\\purpleB","\\textcolor{##c6b9fc}{#1}");B("\\purpleC","\\textcolor{##aa87ff}{#1}");B("\\purpleD","\\textcolor{##7854ab}{#1}");B("\\purpleE","\\textcolor{##543b78}{#1}");B("\\mintA","\\textcolor{##f5f9e8}{#1}");B("\\mintB","\\textcolor{##edf2df}{#1}");B("\\mintC","\\textcolor{##e0e5cc}{#1}");B("\\grayA","\\textcolor{##f6f7f7}{#1}");B("\\grayB","\\textcolor{##f0f1f2}{#1}");B("\\grayC","\\textcolor{##e3e5e6}{#1}");B("\\grayD","\\textcolor{##d6d8da}{#1}");B("\\grayE","\\textcolor{##babec2}{#1}");B("\\grayF","\\textcolor{##888d93}{#1}");B("\\grayG","\\textcolor{##626569}{#1}");B("\\grayH","\\textcolor{##3b3e40}{#1}");B("\\grayI","\\textcolor{##21242c}{#1}");B("\\kaBlue","\\textcolor{##314453}{#1}");B("\\kaGreen","\\textcolor{##71B307}{#1}");var U1={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class F1{constructor(Q,Z,J){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=Z,this.expansionCount=0,this.feed(Q),this.macros=new Y1(o4,Z.macros),this.mode=J,this.stack=[]}feed(Q){this.lexer=new W8(Q,this.settings)}switchMode(Q){this.mode=Q}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){if(this.stack.length===0)this.pushToken(this.lexer.lex());return this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(Q){this.stack.push(Q)}pushTokens(Q){this.stack.push(...Q)}scanArgument(Q){var Z,J,X;if(Q){if(this.consumeSpaces(),this.future().text!=="[")return null;Z=this.popToken(),{tokens:X,end:J}=this.consumeArg(["]"])}else({tokens:X,start:Z,end:J}=this.consumeArg());return this.pushToken(new gZ("EOF",J.loc)),this.pushTokens(X),new gZ("",_Z.range(Z,J))}consumeSpaces(){for(;;){var Q=this.future();if(Q.text===" ")this.stack.pop();else break}}consumeArg(Q){var Z=[],J=Q&&Q.length>0;if(!J)this.consumeSpaces();var X=this.future(),Y,K=0,j=0;do{if(Y=this.popToken(),Z.push(Y),Y.text==="{")++K;else if(Y.text==="}"){if(--K,K===-1)throw new ZQ("Extra }",Y)}else if(Y.text==="EOF")throw new ZQ("Unexpected end of input in a macro argument, expected '"+(Q&&J?Q[j]:"}")+"'",Y);if(Q&&J)if((K===0||K===1&&Q[j]==="{")&&Y.text===Q[j]){if(++j,j===Q.length){Z.splice(-j,j);break}}else j=0}while(K!==0||J);if(X.text==="{"&&Z[Z.length-1].text==="}")Z.pop(),Z.shift();return Z.reverse(),{tokens:Z,start:X,end:Y}}consumeArgs(Q,Z){if(Z){if(Z.length!==Q+1)throw new ZQ("The length of delimiters doesn't match the number of args!");var J=Z[0];for(var X=0;Xthis.settings.maxExpand)throw new ZQ("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(Q){var Z=this.popToken(),J=Z.text,X=!Z.noexpand?this._getExpansion(J):null;if(X==null||Q&&X.unexpandable){if(Q&&X==null&&J[0]==="\\"&&!this.isDefined(J))throw new ZQ("Undefined control sequence: "+J);return this.pushToken(Z),!1}this.countExpansion(1);var Y=X.tokens,K=this.consumeArgs(X.numArgs,X.delimiters);if(X.numArgs){Y=Y.slice();for(var j=Y.length-1;j>=0;--j){var U=Y[j];if(U.text==="#"){if(j===0)throw new ZQ("Incomplete placeholder at end of macro body",U);if(U=Y[--j],U.text==="#")Y.splice(j+1,1);else if(/^[1-9]$/.test(U.text))Y.splice(j,2,...K[+U.text-1]);else throw new ZQ("Not a valid argument number",U)}}}return this.pushTokens(Y),Y.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var Q=this.stack.pop();if(Q.treatAsRelax)Q.text="\\relax";return Q}}expandMacro(Q){return this.macros.has(Q)?this.expandTokens([new gZ(Q)]):void 0}expandTokens(Q){var Z=[],J=this.stack.length;this.pushTokens(Q);while(this.stack.length>J)if(this.expandOnce(!0)===!1){var X=this.stack.pop();if(X.treatAsRelax)X.noexpand=!1,X.treatAsRelax=!1;Z.push(X)}return this.countExpansion(Z.length),Z}expandMacroAsText(Q){var Z=this.expandMacro(Q);if(Z)return Z.map((J)=>J.text).join("");else return Z}_getExpansion(Q){var Z=this.macros.get(Q);if(Z==null)return Z;if(Q.length===1){var J=this.lexer.catcodes[Q];if(J!=null&&J!==13)return}var X=typeof Z==="function"?Z(this):Z;if(typeof X==="string"){var Y=0;if(X.includes("#")){var K=X.replace(/##/g,"");while(K.includes("#"+(Y+1)))++Y}var j=new W8(X,this.settings),U=[],F=j.lex();while(F.text!=="EOF")U.push(F),F=j.lex();U.reverse();var A={tokens:U,numArgs:Y};return A}return X}isDefined(Q){return this.macros.has(Q)||Z9.hasOwnProperty(Q)||iQ.math.hasOwnProperty(Q)||iQ.text.hasOwnProperty(Q)||U1.hasOwnProperty(Q)}isExpandable(Q){var Z=this.macros.get(Q);return Z!=null?typeof Z==="string"||typeof Z==="function"||!Z.unexpandable:Z9.hasOwnProperty(Q)&&!Z9[Q].primitive}}var e6=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,_X=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),GK={"́":{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"}},Qj={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"};class kY{constructor(Q,Z){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 F1(Q,Z,this.mode),this.settings=Z,this.leftrightDepth=0,this.nextToken=null}expect(Q,Z){if(Z===void 0)Z=!0;if(this.fetch().text!==Q)throw new ZQ("Expected '"+Q+"', got '"+this.fetch().text+"'",this.fetch());if(Z)this.consume()}consume(){this.nextToken=null}fetch(){if(this.nextToken==null)this.nextToken=this.gullet.expandNextToken();return this.nextToken}switchMode(Q){this.mode=Q,this.gullet.switchMode(Q)}parse(){if(!this.settings.globalGroup)this.gullet.beginGroup();if(this.settings.colorIsTextColor)this.gullet.macros.set("\\color","\\textcolor");try{var Q=this.parseExpression(!1);if(this.expect("EOF"),!this.settings.globalGroup)this.gullet.endGroup();return Q}finally{this.gullet.endGroups()}}subparse(Q){var Z=this.nextToken;this.consume(),this.gullet.pushToken(new gZ("}")),this.gullet.pushTokens(Q);var J=this.parseExpression(!1);return this.expect("}"),this.nextToken=Z,J}parseExpression(Q,Z){var J=[];while(!0){if(this.mode==="math")this.consumeSpaces();var X=this.fetch();if(kY.endOfExpression.has(X.text))break;if(Z&&X.text===Z)break;if(Q&&Z9[X.text]&&Z9[X.text].infix)break;var Y=this.parseAtom(Z);if(!Y)break;else if(Y.type==="internal")continue;J.push(Y)}if(this.mode==="text")this.formLigatures(J);return this.handleInfixNodes(J)}handleInfixNodes(Q){var Z=-1,J;for(var X=0;X=128){if(this.settings.strict){if(!HF(Z.charCodeAt(0)))this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+Z[0]+'"'+(" ("+Z.charCodeAt(0)+")"),Q);else if(this.mode==="math")this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+Z[0]+'" used in math mode',Q)}K={type:"textord",mode:"text",loc:_Z.range(Q),text:Z}}else return null;if(this.consume(),Y)for(var A=0;A');function U2(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(F)=>e(J,F,!0)));let X=l(()=>c(R(J).tex??R(J).formula??R(J).value)),Y=l(()=>R(J).displayMode===void 0&&R(J).display===void 0&&R(J).block===void 0?!0:z9(R(J).displayMode??R(J).display??R(J).block)),K=l(()=>j(R(X),R(Y)));function j(F,A){return K2.renderToString(F||"\\,",{displayMode:A,throwOnError:!1,strict:"ignore",output:"htmlAndMathml"})}var U=j2();vU(U,()=>R(K),!0),m(U),jQ(()=>u(U,"data-display",R(Y)?"block":"inline")),a(Q,U),bQ()}var F2=JQ(' ');function R2(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(F)=>e(J,F,!0)));var X=F2(),Y=g(X);{var K=(F)=>{aQ(F,{get name(){return R(J).icon},className:"slex-link-icon"})};UQ(Y,(F)=>{if(R(J).icon)F(K)})}var j=GQ(Y,2),U=g(j,!0);m(j),m(X),jQ((F,A,G,z)=>{u(X,"data-variant",F),u(X,"href",A),u(X,"target",G),u(X,"rel",R(J).target==="_blank"?"noreferrer":void 0),IQ(U,z)},[()=>c(R(J).variant),()=>c(R(J).href,"#"),()=>c(R(J).target)||void 0,()=>c(R(J).text??R(J).label??R(J).content??R(J).href)]),a(Q,X),bQ()}var A2=JQ(' '),W2=JQ(""),q2=JQ(" "),G2=JQ(" "),E2=JQ(" "),z2=JQ(""),L2=JQ('
        ');function I2(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(A)=>e(J,A,!0)));var X=L2(),Y=g(X),K=g(Y);{var j=(A)=>{var G=W2(),z=g(G);rZ(z,21,()=>U6(R(J).columns),F0,(L,E,D)=>{var H=A2(),V=g(H),O=g(V);{var S=(k)=>{aQ(k,{get name(){return R(E).icon},className:"slex-table-column-icon"})};UQ(O,(k)=>{if(R(E)&&typeof R(E)==="object"&&"icon"in R(E))k(S)})}var P=GQ(O,2),T=g(P,!0);m(P),m(V),m(H),jQ((k)=>IQ(T,k),[()=>bG(R(E),IX(R(J).columns)[D]??"")]),a(L,H)}),m(z),m(G),a(A,G)},U=l(()=>IX(R(J).columns).length);UQ(K,(A)=>{if(R(U))A(j)})}var F=GQ(K);rZ(F,21,()=>U6(R(J).rows??R(J).items),F0,(A,G)=>{var z=z2(),L=g(z);{var E=(S)=>{var P=Q0(),T=VZ(P);rZ(T,17,()=>IX(R(J).columns),F0,(k,M,C)=>{var N=q2(),_=g(N,!0);m(N),jQ((b)=>IQ(_,b),[()=>xG(R(G),R(M),C)]),a(k,N)}),a(S,P)},D=l(()=>IX(R(J).columns).length),H=(S)=>{var P=Q0(),T=VZ(P);rZ(T,17,()=>R(G),F0,(k,M)=>{var C=G2(),N=g(C,!0);m(C),jQ((_)=>IQ(N,_),[()=>c(R(M))]),a(k,C)}),a(S,P)},V=l(()=>Array.isArray(R(G))),O=(S)=>{var P=E2(),T=g(P,!0);m(P),jQ((k)=>IQ(T,k),[()=>c(R(G))]),a(S,P)};UQ(L,(S)=>{if(R(D))S(E);else if(R(V))S(H,1);else S(O,-1)})}m(z),a(A,z)}),m(F),m(Y),m(X),a(Q,X),bQ()}var H2=JQ('
        '),V2=JQ(" "),B2=JQ('

        '),D2=JQ('

        '),O2=JQ(' '),M2=JQ('
        '),P2=JQ('
        ');function T2(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(U)=>e(J,U,!0)));var X=P2(),Y=g(X);{var K=(U)=>{var F=M2(),A=g(F);{var G=(O)=>{var S=H2(),P=g(S,!0);m(S),jQ((T)=>IQ(P,T),[()=>c(R(J).eyebrow)]),a(O,S)};UQ(A,(O)=>{if(R(J).eyebrow)O(G)})}var z=GQ(A,2);{var L=(O)=>{var S=B2(),P=g(S);{var T=(C)=>{aQ(C,{get name(){return R(J).icon},className:"slex-section-icon"})};UQ(P,(C)=>{if(R(J).icon)C(T)})}var k=GQ(P);{var M=(C)=>{var N=V2(),_=g(N,!0);m(N),jQ((b)=>IQ(_,b),[()=>c(R(J).title)]),a(C,N)};UQ(k,(C)=>{if(R(J).title)C(M)})}m(S),a(O,S)};UQ(z,(O)=>{if(R(J).title||R(J).icon)O(L)})}var E=GQ(z,2);{var D=(O)=>{var S=D2(),P=g(S,!0);m(S),jQ((T)=>IQ(P,T),[()=>c(R(J).subtitle)]),a(O,S)};UQ(E,(O)=>{if(R(J).subtitle)O(D)})}var H=GQ(E,2);{var V=(O)=>{var S=O2(),P=g(S,!0);m(S),jQ((T,k)=>{u(S,"href",T),IQ(P,k)},[()=>c(R(J).actionHref,"#"),()=>c(R(J).actionLabel)]),a(O,S)};UQ(H,(O)=>{if(R(J).actionLabel)O(V)})}m(F),a(U,F)};UQ(Y,(U)=>{if(R(J).title||R(J).subtitle||R(J).eyebrow)U(K)})}var j=GQ(Y,2);d0(j,(U,F)=>m9?.(U,F),()=>Z.ctx),m(X),jQ((U)=>u(X,"id",U),[()=>c(R(J).id??Z.componentName)||void 0]),a(Q,X),bQ()}var W1={column:hG,card:rE,grid:oE,row:Yz,slider:jz,button:Wz,checkbox:Gz,switch:zz,input:Oz,"radio-group":Sz,select:bz,submit:$z,tabs:ZI,accordion:YI,collapsible:jI,progress:AI,toast:yI,stat:bI,text:$I,badge:mI,callout:dI,"code-block":rI,divider:Q5,formula:U2,link:R2,table:I2,section:T2},C2={input:"value",slider:"value",select:"value",tabs:"value","radio-group":"value",checkbox:"checked",switch:"enabled",stat:"readable",text:"readable",progress:"readable",badge:"readable",callout:"readable","code-block":"readable",divider:"readable",formula:"readable",link:"readable",table:"readable",section:"readable"},vH=Object.keys(W1);function S2(){for(let[Q,Z]of Object.entries(W1))N2(Q,Z)}function N2(Q,Z,J={}){v1(Q,_G(Q,Z),{state:J.state??C2[Q]??"none"})}S2();var w2=new Map;function B7(Q){return`${Q}_${Date.now()}_${Math.random().toString(36).slice(2,8)}`}function q1(Q,Z){let J=Q.replace(/[^A-Za-z0-9_$]/g,"_");return J?`${J}_${Z}`:`field_${Z}`}function vX(Q){return JSON.stringify(Q)}function k2(Q,Z){let J=Q.id??Q.value??String(Z);return{id:J,value:Q.value??J,label:Q.label,description:Q.description??"",selected:Q.selected??!1,disabled:Q.disabled??!1}}function Zj(Q,Z){return typeof Q==="number"&&Number.isFinite(Q)?Q:Z}function yY(Q,Z){w2.set(Q,Z)}function y2(Q,Z){let J=Q.requireReason===!0;return{slex:N9,namespace:B7("tool_confirm_action"),g:{__slexkitTool:Z,confirmed:!0,requireReason:J,reason:"",canSubmit(){return!this.requireReason||this.reason.trim().length>0}},layout:{"card:tool":{title:Q.title??"Confirm action","text:description":{$if:Q.description?"true":"false",text:Q.description??""},"column:reasonField":{$if:J?"true":"false","text:reasonLabel":{text:Q.reasonLabel??"Reason"},"input:reason":{$value:"g.reason",placeholder:Q.reasonPlaceholder??"Add a reason",onchange:"g.reason = String($event || '')"}},"submit:actions":{returnKeys:J?["confirmed","reason"]:["confirmed"],submitLabel:Q.confirmLabel??"Confirm",ignoreLabel:Q.ignoreLabel??"Ignore",$disabled:"!g.canSubmit()"}}}}}function G1(Q,Z){let J=(Q.options??Q.items??[]).map(k2),X=Array.isArray(Q.selected)?Q.selected:J.filter((F)=>F.selected).map((F)=>F.id),Y=Q.multiple!==!1,K=Zj(Q.minSelected,0),j=Zj(Q.maxSelected,Number.POSITIVE_INFINITY),U=Y?{"checkbox:option":{$for:"g.options",$key:"id",$checked:"g.selected.includes(option.id)",$label:"option.description ? option.label + ' - ' + option.description : option.label",$disabled:"option.disabled",onchange:"g.toggle(option.id, Boolean($event))"}}:{"radio-group:option":{$value:"g.selected[0] || ''",options:J,onchange:"g.selectOne(String($event || ''))"}};return{slex:N9,namespace:B7("tool_choose_options"),g:{__slexkitTool:Z,options:J,multiple:Y,minSelected:K,maxSelected:j,selected:X,canSubmit(){return this.selected.length>=this.minSelected&&this.selected.length<=this.maxSelected},toggle(F,A){if(this.options.find((L)=>L.id===F)?.disabled)return;if(!this.multiple){this.selected=A?[F]:[];return}let z=this.selected.includes(F);if(A&&!z&&this.selected.lengthL!==F)},selectOne(F){if(this.options.find((G)=>G.id===F)?.disabled)return;this.selected=F?[F]:[]}},layout:{"card:tool":{title:Q.title??"Choose options","text:description":{$if:Q.description?"true":"false",text:Q.description??""},...U,"submit:actions":{returnKeys:["selected"],submitLabel:Q.submitLabel??"Submit",ignoreLabel:Q.ignoreLabel??"Ignore",$disabled:"!g.canSubmit()"}}}}}function _2(Q,Z){let J={};for(let X of Q)if(Z.values&&Object.prototype.hasOwnProperty.call(Z.values,X.name))J[X.name]=Z.values[X.name];else if(X.value!==void 0)J[X.name]=X.value;else if(X.type==="checkbox"||X.type==="switch")J[X.name]=!1;else J[X.name]="";return J}function v2(Q,Z){let J={};for(let X of Q)if(X.type==="engineering"){let Y=WY(Z[X.name]);J[X.name]=Y,Z[X.name]=Y.valid?Y.number:null}return J}function f2(Q,Z){let J=q1(Q.name,Z),X=Q.type??"text",Y=vX(Q.name),K={};if(X==="checkbox"||X==="switch"){let j=X==="switch"?"switch":"checkbox",U=X==="switch"?"$enabled":"$checked";K[`${j}:${J}`]={[U]:`g.values[${Y}]`,label:Q.label??Q.name,disabled:Q.disabled===!0,onchange:`g.setField(${Y}, $event, ${vX(X)})`}}else if(X==="select")K[`select:${J}`]={$value:`g.values[${Y}]`,label:Q.label??Q.name,placeholder:Q.placeholder??"Select...",options:Q.options??[],disabled:Q.disabled===!0,onchange:`g.setField(${Y}, $event, ${vX(X)})`};else K[`text:label_${J}`]={text:Q.label??Q.name},K[`input:${J}`]={$value:X==="engineering"?`g.engineering[${Y}] ? g.engineering[${Y}].raw : g.values[${Y}]`:`g.values[${Y}]`,type:X==="number"||X==="engineering"?X:"text",placeholder:Q.placeholder??"",disabled:Q.disabled===!0,onchange:`g.setField(${Y}, $event, ${vX(X)})`};if(Q.description)K[`text:description_${J}`]={text:Q.description};return K}function b2(Q,Z){let J=Q.fields??[],X=_2(J,Q),Y=v2(J,X),K={};return J.forEach((j,U)=>{K[`column:${q1(j.name,U)}`]={...f2(j,U)}}),{slex:N9,namespace:B7("tool_fill_form"),g:{__slexkitTool:Z,fields:J,values:X,engineering:Y,...X,setField(j,U,F){let A=U;if(F==="number")A=U===""||U==null?null:Number(U);else if(F==="engineering"){let G=WY(U&&typeof U==="object"&&"raw"in U?U.raw:U);this.engineering[j]=G,A=G.valid?G.number:null}else if(F==="checkbox"||F==="switch")A=Boolean(U);this.values[j]=A,this[j]=A},canSubmit(){return this.fields.every((j)=>{if(!j.required)return!0;if(j.type==="engineering")return this.engineering[j.name]?.valid===!0;let U=this.values[j.name];if(typeof U==="string")return U.trim().length>0;return U!==null&&U!==void 0&&U!==!1})}},layout:{"card:tool":{title:Q.title??"Fill form","text:description":{$if:Q.description?"true":"false",text:Q.description??""},...K,"submit:actions":{returnKeys:J.map((j)=>j.name),submitLabel:Q.submitLabel??"Submit",ignoreLabel:Q.ignoreLabel??"Ignore",$disabled:"!g.canSubmit()"}}}}}yY("confirm-action",y2);yY("choose-options",G1);yY("option-list",G1);yY("fill-form",b2);var fH={setTimeout:typeof globalThis.setTimeout==="function"?globalThis.setTimeout.bind(globalThis):void 0,clearTimeout:typeof globalThis.clearTimeout==="function"?globalThis.clearTimeout.bind(globalThis):void 0,setInterval:typeof globalThis.setInterval==="function"?globalThis.setInterval.bind(globalThis):void 0,clearInterval:typeof globalThis.clearInterval==="function"?globalThis.clearInterval.bind(globalThis):void 0,requestAnimationFrame:typeof globalThis.requestAnimationFrame==="function"?globalThis.requestAnimationFrame.bind(globalThis):void 0,cancelAnimationFrame:typeof globalThis.cancelAnimationFrame==="function"?globalThis.cancelAnimationFrame.bind(globalThis):void 0};var bH={getContext:typeof HTMLCanvasElement<"u"?HTMLCanvasElement.prototype.getContext:void 0,offscreenCanvas:typeof OffscreenCanvas<"u"?OffscreenCanvas:void 0};var E1=vA;fA("slexkit://bundled-runtime");var x2=["slex"];class z1 extends _Y.MarkdownRenderChild{source;artifactId;runtimeHost;cleanup;constructor(Q,Z,J,X){super(Q);this.source=Z;this.artifactId=J;this.runtimeHost=X}onload(){this.containerEl.empty(),this.containerEl.addClass("slexkit-obsidian-block"),this.cleanup=this.runtimeHost.mountBlock({artifactId:this.artifactId,source:this.source,container:this.containerEl,theme:"host-shadcn"})}onunload(){this.cleanup?.(),this.cleanup=void 0,this.containerEl.empty()}}class D7 extends _Y.Plugin{runtimeHost;async onload(){this.runtimeHost=E1({mode:"trusted",theme:"host-shadcn"});for(let Q of x2)this.registerMarkdownCodeBlockProcessor(Q,(Z,J,X)=>{let Y=`obsidian:${X.sourcePath||"unknown"}`;X.addChild(new z1(J,Z,Y,this.runtimeHost))})}onunload(){this.runtimeHost?.disposeAll(),this.runtimeHost=void 0}} + please report what input caused this bug`);return J=J.slice(1,-1),{type:"verb",mode:"text",body:J,star:X}}if(Qj.hasOwnProperty(Z[0])&&!iQ[this.mode][Z[0]]){if(this.settings.strict&&this.mode==="math")this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+Z[0]+'" used in math mode',Q);Z=Qj[Z[0]]+Z.slice(1)}var Y=r4.exec(Z);if(Y){if(Z=Z.substring(0,Y.index),Z==="i")Z="ı";else if(Z==="j")Z="ȷ"}var K;if(iQ[this.mode][Z]){if(this.settings.strict&&this.mode==="math"&&rK.includes(Z))this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+Z[0]+'" used in math mode',Q);var j=iQ[this.mode][Z].group,U=_Z.range(Q),F;if(U4(j))F={type:"atom",mode:this.mode,family:j,loc:U,text:Z};else F={type:j,mode:this.mode,loc:U,text:Z};K=F}else if(Z.charCodeAt(0)>=128){if(this.settings.strict){if(!HF(Z.charCodeAt(0)))this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+Z[0]+'"'+(" ("+Z.charCodeAt(0)+")"),Q);else if(this.mode==="math")this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+Z[0]+'" used in math mode',Q)}K={type:"textord",mode:"text",loc:_Z.range(Q),text:Z}}else return null;if(this.consume(),Y)for(var A=0;A');function U2(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(F)=>e(J,F,!0)));let X=l(()=>c(R(J).tex??R(J).formula??R(J).value)),Y=l(()=>R(J).displayMode===void 0&&R(J).display===void 0&&R(J).block===void 0?!0:z9(R(J).displayMode??R(J).display??R(J).block)),K=l(()=>j(R(X),R(Y)));function j(F,A){return K2.renderToString(F||"\\,",{displayMode:A,throwOnError:!1,strict:"ignore",output:"htmlAndMathml"})}var U=j2();vU(U,()=>R(K),!0),m(U),jQ(()=>u(U,"data-display",R(Y)?"block":"inline")),i(Q,U),bQ()}var F2=JQ(' ');function R2(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(F)=>e(J,F,!0)));var X=F2(),Y=g(X);{var K=(F)=>{aQ(F,{get name(){return R(J).icon},className:"slex-link-icon"})};UQ(Y,(F)=>{if(R(J).icon)F(K)})}var j=GQ(Y,2),U=g(j,!0);m(j),m(X),jQ((F,A,G,z)=>{u(X,"data-variant",F),u(X,"href",A),u(X,"target",G),u(X,"rel",R(J).target==="_blank"?"noreferrer":void 0),IQ(U,z)},[()=>c(R(J).variant),()=>c(R(J).href,"#"),()=>c(R(J).target)||void 0,()=>c(R(J).text??R(J).label??R(J).content??R(J).href)]),i(Q,X),bQ()}var A2=JQ(' '),W2=JQ(""),q2=JQ(" "),G2=JQ(" "),E2=JQ(" "),z2=JQ(""),L2=JQ('
        ');function I2(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(A)=>e(J,A,!0)));var X=L2(),Y=g(X),K=g(Y);{var j=(A)=>{var G=W2(),z=g(G);rZ(z,21,()=>U6(R(J).columns),F0,(L,E,D)=>{var H=A2(),V=g(H),O=g(V);{var S=(k)=>{aQ(k,{get name(){return R(E).icon},className:"slex-table-column-icon"})};UQ(O,(k)=>{if(R(E)&&typeof R(E)==="object"&&"icon"in R(E))k(S)})}var P=GQ(O,2),T=g(P,!0);m(P),m(V),m(H),jQ((k)=>IQ(T,k),[()=>bG(R(E),IX(R(J).columns)[D]??"")]),i(L,H)}),m(z),m(G),i(A,G)},U=l(()=>IX(R(J).columns).length);UQ(K,(A)=>{if(R(U))A(j)})}var F=GQ(K);rZ(F,21,()=>U6(R(J).rows??R(J).items),F0,(A,G)=>{var z=z2(),L=g(z);{var E=(S)=>{var P=Q0(),T=VZ(P);rZ(T,17,()=>IX(R(J).columns),F0,(k,M,C)=>{var N=q2(),_=g(N,!0);m(N),jQ((x)=>IQ(_,x),[()=>xG(R(G),R(M),C)]),i(k,N)}),i(S,P)},D=l(()=>IX(R(J).columns).length),H=(S)=>{var P=Q0(),T=VZ(P);rZ(T,17,()=>R(G),F0,(k,M)=>{var C=G2(),N=g(C,!0);m(C),jQ((_)=>IQ(N,_),[()=>c(R(M))]),i(k,C)}),i(S,P)},V=l(()=>Array.isArray(R(G))),O=(S)=>{var P=E2(),T=g(P,!0);m(P),jQ((k)=>IQ(T,k),[()=>c(R(G))]),i(S,P)};UQ(L,(S)=>{if(R(D))S(E);else if(R(V))S(H,1);else S(O,-1)})}m(z),i(A,z)}),m(F),m(Y),m(X),i(Q,X),bQ()}var H2=JQ('
        '),V2=JQ(" "),B2=JQ('

        '),D2=JQ('

        '),O2=JQ(' '),M2=JQ('
        '),P2=JQ('
        ');function T2(Q,Z){fQ(Z,!0);let J=EQ(kQ({}));yQ(()=>dQ(Z.props,(U)=>e(J,U,!0)));var X=P2(),Y=g(X);{var K=(U)=>{var F=M2(),A=g(F);{var G=(O)=>{var S=H2(),P=g(S,!0);m(S),jQ((T)=>IQ(P,T),[()=>c(R(J).eyebrow)]),i(O,S)};UQ(A,(O)=>{if(R(J).eyebrow)O(G)})}var z=GQ(A,2);{var L=(O)=>{var S=B2(),P=g(S);{var T=(C)=>{aQ(C,{get name(){return R(J).icon},className:"slex-section-icon"})};UQ(P,(C)=>{if(R(J).icon)C(T)})}var k=GQ(P);{var M=(C)=>{var N=V2(),_=g(N,!0);m(N),jQ((x)=>IQ(_,x),[()=>c(R(J).title)]),i(C,N)};UQ(k,(C)=>{if(R(J).title)C(M)})}m(S),i(O,S)};UQ(z,(O)=>{if(R(J).title||R(J).icon)O(L)})}var E=GQ(z,2);{var D=(O)=>{var S=D2(),P=g(S,!0);m(S),jQ((T)=>IQ(P,T),[()=>c(R(J).subtitle)]),i(O,S)};UQ(E,(O)=>{if(R(J).subtitle)O(D)})}var H=GQ(E,2);{var V=(O)=>{var S=O2(),P=g(S,!0);m(S),jQ((T,k)=>{u(S,"href",T),IQ(P,k)},[()=>c(R(J).actionHref,"#"),()=>c(R(J).actionLabel)]),i(O,S)};UQ(H,(O)=>{if(R(J).actionLabel)O(V)})}m(F),i(U,F)};UQ(Y,(U)=>{if(R(J).title||R(J).subtitle||R(J).eyebrow)U(K)})}var j=GQ(Y,2);d0(j,(U,F)=>m9?.(U,F),()=>Z.ctx),m(X),jQ((U)=>u(X,"id",U),[()=>c(R(J).id??Z.componentName)||void 0]),i(Q,X),bQ()}var W1={column:hG,card:rE,grid:oE,row:Yz,slider:jz,button:Wz,checkbox:Gz,switch:zz,input:Oz,"radio-group":Sz,select:bz,submit:$z,tabs:ZI,accordion:YI,collapsible:jI,progress:AI,toast:yI,stat:bI,text:$I,badge:mI,callout:dI,"code-block":rI,divider:Q5,formula:U2,link:R2,table:I2,section:T2},C2={input:"value",slider:"value",select:"value",tabs:"value","radio-group":"value",checkbox:"checked",switch:"enabled",stat:"readable",text:"readable",progress:"readable",badge:"readable",callout:"readable","code-block":"readable",divider:"readable",formula:"readable",link:"readable",table:"readable",section:"readable"},vH=Object.keys(W1);function S2(){for(let[Q,Z]of Object.entries(W1))N2(Q,Z)}function N2(Q,Z,J={}){v1(Q,_G(Q,Z),{state:J.state??C2[Q]??"none"})}S2();var w2=new Map;function B7(Q){return`${Q}_${Date.now()}_${Math.random().toString(36).slice(2,8)}`}function q1(Q,Z){let J=Q.replace(/[^A-Za-z0-9_$]/g,"_");return J?`${J}_${Z}`:`field_${Z}`}function vX(Q){return JSON.stringify(Q)}function k2(Q,Z){let J=Q.id??Q.value??String(Z);return{id:J,value:Q.value??J,label:Q.label,description:Q.description??"",selected:Q.selected??!1,disabled:Q.disabled??!1}}function Zj(Q,Z){return typeof Q==="number"&&Number.isFinite(Q)?Q:Z}function yY(Q,Z){w2.set(Q,Z)}function y2(Q,Z){let J=Q.requireReason===!0;return{slex:N9,namespace:B7("tool_confirm_action"),g:{__slexkitTool:Z,confirmed:!0,requireReason:J,reason:"",canSubmit(){return!this.requireReason||this.reason.trim().length>0}},layout:{"card:tool":{title:Q.title??"Confirm action","text:description":{$if:Q.description?"true":"false",text:Q.description??""},"column:reasonField":{$if:J?"true":"false","text:reasonLabel":{text:Q.reasonLabel??"Reason"},"input:reason":{$value:"g.reason",placeholder:Q.reasonPlaceholder??"Add a reason",onchange:"g.reason = String($event || '')"}},"submit:actions":{returnKeys:J?["confirmed","reason"]:["confirmed"],submitLabel:Q.confirmLabel??"Confirm",ignoreLabel:Q.ignoreLabel??"Ignore",$disabled:"!g.canSubmit()"}}}}}function G1(Q,Z){let J=(Q.options??Q.items??[]).map(k2),X=Array.isArray(Q.selected)?Q.selected:J.filter((F)=>F.selected).map((F)=>F.id),Y=Q.multiple!==!1,K=Zj(Q.minSelected,0),j=Zj(Q.maxSelected,Number.POSITIVE_INFINITY),U=Y?{"checkbox:option":{$for:"g.options",$key:"id",$checked:"g.selected.includes(option.id)",$label:"option.description ? option.label + ' - ' + option.description : option.label",$disabled:"option.disabled",onchange:"g.toggle(option.id, Boolean($event))"}}:{"radio-group:option":{$value:"g.selected[0] || ''",options:J,onchange:"g.selectOne(String($event || ''))"}};return{slex:N9,namespace:B7("tool_choose_options"),g:{__slexkitTool:Z,options:J,multiple:Y,minSelected:K,maxSelected:j,selected:X,canSubmit(){return this.selected.length>=this.minSelected&&this.selected.length<=this.maxSelected},toggle(F,A){if(this.options.find((L)=>L.id===F)?.disabled)return;if(!this.multiple){this.selected=A?[F]:[];return}let z=this.selected.includes(F);if(A&&!z&&this.selected.lengthL!==F)},selectOne(F){if(this.options.find((G)=>G.id===F)?.disabled)return;this.selected=F?[F]:[]}},layout:{"card:tool":{title:Q.title??"Choose options","text:description":{$if:Q.description?"true":"false",text:Q.description??""},...U,"submit:actions":{returnKeys:["selected"],submitLabel:Q.submitLabel??"Submit",ignoreLabel:Q.ignoreLabel??"Ignore",$disabled:"!g.canSubmit()"}}}}}function _2(Q,Z){let J={};for(let X of Q)if(Z.values&&Object.prototype.hasOwnProperty.call(Z.values,X.name))J[X.name]=Z.values[X.name];else if(X.value!==void 0)J[X.name]=X.value;else if(X.type==="checkbox"||X.type==="switch")J[X.name]=!1;else J[X.name]="";return J}function v2(Q,Z){let J={};for(let X of Q)if(X.type==="engineering"){let Y=WY(Z[X.name]);J[X.name]=Y,Z[X.name]=Y.valid?Y.number:null}return J}function f2(Q,Z){let J=q1(Q.name,Z),X=Q.type??"text",Y=vX(Q.name),K={};if(X==="checkbox"||X==="switch"){let j=X==="switch"?"switch":"checkbox",U=X==="switch"?"$enabled":"$checked";K[`${j}:${J}`]={[U]:`g.values[${Y}]`,label:Q.label??Q.name,disabled:Q.disabled===!0,onchange:`g.setField(${Y}, $event, ${vX(X)})`}}else if(X==="select")K[`select:${J}`]={$value:`g.values[${Y}]`,label:Q.label??Q.name,placeholder:Q.placeholder??"Select...",options:Q.options??[],disabled:Q.disabled===!0,onchange:`g.setField(${Y}, $event, ${vX(X)})`};else K[`text:label_${J}`]={text:Q.label??Q.name},K[`input:${J}`]={$value:X==="engineering"?`g.engineering[${Y}] ? g.engineering[${Y}].raw : g.values[${Y}]`:`g.values[${Y}]`,type:X==="number"||X==="engineering"?X:"text",placeholder:Q.placeholder??"",disabled:Q.disabled===!0,onchange:`g.setField(${Y}, $event, ${vX(X)})`};if(Q.description)K[`text:description_${J}`]={text:Q.description};return K}function b2(Q,Z){let J=Q.fields??[],X=_2(J,Q),Y=v2(J,X),K={};return J.forEach((j,U)=>{K[`column:${q1(j.name,U)}`]={...f2(j,U)}}),{slex:N9,namespace:B7("tool_fill_form"),g:{__slexkitTool:Z,fields:J,values:X,engineering:Y,...X,setField(j,U,F){let A=U;if(F==="number")A=U===""||U==null?null:Number(U);else if(F==="engineering"){let G=WY(U&&typeof U==="object"&&"raw"in U?U.raw:U);this.engineering[j]=G,A=G.valid?G.number:null}else if(F==="checkbox"||F==="switch")A=Boolean(U);this.values[j]=A,this[j]=A},canSubmit(){return this.fields.every((j)=>{if(!j.required)return!0;if(j.type==="engineering")return this.engineering[j.name]?.valid===!0;let U=this.values[j.name];if(typeof U==="string")return U.trim().length>0;return U!==null&&U!==void 0&&U!==!1})}},layout:{"card:tool":{title:Q.title??"Fill form","text:description":{$if:Q.description?"true":"false",text:Q.description??""},...K,"submit:actions":{returnKeys:J.map((j)=>j.name),submitLabel:Q.submitLabel??"Submit",ignoreLabel:Q.ignoreLabel??"Ignore",$disabled:"!g.canSubmit()"}}}}}yY("confirm-action",y2);yY("choose-options",G1);yY("option-list",G1);yY("fill-form",b2);var fH={setTimeout:typeof globalThis.setTimeout==="function"?globalThis.setTimeout.bind(globalThis):void 0,clearTimeout:typeof globalThis.clearTimeout==="function"?globalThis.clearTimeout.bind(globalThis):void 0,setInterval:typeof globalThis.setInterval==="function"?globalThis.setInterval.bind(globalThis):void 0,clearInterval:typeof globalThis.clearInterval==="function"?globalThis.clearInterval.bind(globalThis):void 0,requestAnimationFrame:typeof globalThis.requestAnimationFrame==="function"?globalThis.requestAnimationFrame.bind(globalThis):void 0,cancelAnimationFrame:typeof globalThis.cancelAnimationFrame==="function"?globalThis.cancelAnimationFrame.bind(globalThis):void 0};var bH={getContext:typeof HTMLCanvasElement<"u"?HTMLCanvasElement.prototype.getContext:void 0,offscreenCanvas:typeof OffscreenCanvas<"u"?OffscreenCanvas:void 0};var E1=vA;fA("slexkit://bundled-runtime");var x2=["slex"];class z1 extends _Y.MarkdownRenderChild{source;artifactId;runtimeHost;cleanup;constructor(Q,Z,J,X){super(Q);this.source=Z;this.artifactId=J;this.runtimeHost=X}onload(){this.containerEl.empty(),this.containerEl.addClass("slexkit-obsidian-block"),this.cleanup=this.runtimeHost.mountBlock({artifactId:this.artifactId,source:this.source,container:this.containerEl,theme:"host-shadcn"})}onunload(){this.cleanup?.(),this.cleanup=void 0,this.containerEl.empty()}}class D7 extends _Y.Plugin{runtimeHost;async onload(){this.runtimeHost=E1({mode:"trusted",theme:"host-shadcn"});for(let Q of x2)this.registerMarkdownCodeBlockProcessor(Q,(Z,J,X)=>{let Y=`obsidian:${X.sourcePath||"unknown"}`;X.addChild(new z1(J,Z,Y,this.runtimeHost))})}onunload(){this.runtimeHost?.disposeAll(),this.runtimeHost=void 0}} var SlexKitObsidianPlugin = module.exports.default || module.exports; module.exports = SlexKitObsidianPlugin; diff --git a/manifest.json b/manifest.json index 5458a48..8bd84b3 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "slexkit", "name": "SlexKit", - "version": "0.3.5", + "version": "0.3.6", "minAppVersion": "1.5.0", "description": "Render interactive SlexKit fenced blocks in reading mode.", "author": "SlexKit", diff --git a/package.json b/package.json index 9edb6d9..15cb298 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@slexkit/obsidian", - "version": "0.3.5", + "version": "0.3.6", "description": "Adapter for explicit slex fences powered by SlexKit.", "author": "SlexKit contributors", "type": "commonjs", @@ -43,7 +43,7 @@ "access": "public" }, "peerDependencies": { - "slexkit": "^0.3.2" + "slexkit": "^0.3.3" }, "peerDependenciesMeta": { "slexkit": { @@ -55,7 +55,7 @@ "@types/jsdom": "^28.0.3", "jsdom": "^29.1.1", "obsidian": "^1.12.3", - "slexkit": "^0.3.2", + "slexkit": "^0.3.3", "typescript": "^5.7.0" } } diff --git a/styles.css b/styles.css index c7a35b6..9f713d5 100644 --- a/styles.css +++ b/styles.css @@ -2006,22 +2006,71 @@ font-weight: 600; } -.slex-slider { +.slex-slider-control { + position: relative; box-sizing: border-box; width: 100%; height: 1rem; +} + +.slex-slider-track { + position: absolute; + inset-inline: 0; + top: 50%; + height: 0.5rem; + border-radius: 999px; + background: linear-gradient( + to right, + var(--primary) 0%, + var(--primary) var(--slex-slider-progress, 0%), + var(--secondary) var(--slex-slider-progress, 0%), + var(--secondary) 100% + ); + pointer-events: none; + transform: translateY(-50%); +} + +.slex-slider { + position: relative; + z-index: 1; + box-sizing: border-box; + display: block; + width: 100%; + height: 1rem; + margin: 0; padding: 0; border: 0; border-radius: 999px; -webkit-appearance: none; appearance: none; background: transparent; + color: transparent; accent-color: var(--primary); cursor: pointer; overflow: visible; transition: box-shadow 150ms ease, filter 150ms ease; } +.slexkit-root .slex-slider-control input.slex-slider { + position: relative; + z-index: 1; + box-sizing: border-box; + display: block; + width: 100%; + height: 1rem; + min-height: 0; + margin: 0; + padding: 0; + border: 0; + border-radius: 999px; + box-shadow: none; + background: transparent; + color: transparent; + -webkit-appearance: none; + appearance: none; + overflow: visible; +} + .slex-slider:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; @@ -2031,7 +2080,7 @@ box-sizing: border-box; width: 1rem; height: 1rem; - margin-top: -0.25rem; + margin-top: 0; border: 2px solid var(--primary); border-radius: 999px; background-color: var(--background); @@ -2045,16 +2094,10 @@ .slex-slider::-webkit-slider-runnable-track { box-sizing: border-box; width: 100%; - height: 0.5rem; + height: 1rem; border: 0; border-radius: 999px; - background: linear-gradient( - to right, - var(--primary) 0%, - var(--primary) var(--slex-slider-progress, 0%), - var(--secondary) var(--slex-slider-progress, 0%), - var(--secondary) 100% - ); + background: transparent; } .slex-slider::-moz-range-thumb { @@ -2090,16 +2133,16 @@ } .slex-slider::-moz-range-track { - height: 0.5rem; + height: 1rem; border: 0; border-radius: 999px; - background: var(--secondary); + background: transparent; } .slex-slider::-moz-range-progress { - height: 0.5rem; + height: 1rem; border-radius: 999px; - background: var(--primary); + background: transparent; } .slex-slider-label-text { @@ -2286,11 +2329,40 @@ transition: border-color 150ms ease, box-shadow 150ms ease; } +.slexkit-root .slex-input-control input.slex-input { + box-sizing: border-box; + display: block; + flex: 1 1 auto; + width: 100%; + min-width: 0; + min-height: 2.5625rem; + height: auto; + margin: 0; + padding: 0.5rem 0.75rem; + border: 1px solid var(--input); + border-radius: var(--radius); + box-shadow: none; + background: var(--background); + background-clip: padding-box; + color: var(--foreground); + font-family: inherit; + font-size: 0.875rem; + line-height: 1.5; + outline: none; + -webkit-appearance: none; + appearance: none; +} + .slex-input-control[data-has-unit="true"] .slex-input { border-top-right-radius: 0; border-bottom-right-radius: 0; } +.slexkit-root .slex-input-control[data-has-unit="true"] input.slex-input { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + .slex-input-unit { box-sizing: border-box; display: inline-flex; @@ -3309,22 +3381,71 @@ font-weight: 600; } -.slex-slider { +.slex-slider-control { + position: relative; box-sizing: border-box; width: 100%; height: 1rem; +} + +.slex-slider-track { + position: absolute; + inset-inline: 0; + top: 50%; + height: 0.5rem; + border-radius: 999px; + background: linear-gradient( + to right, + var(--primary) 0%, + var(--primary) var(--slex-slider-progress, 0%), + var(--secondary) var(--slex-slider-progress, 0%), + var(--secondary) 100% + ); + pointer-events: none; + transform: translateY(-50%); +} + +.slex-slider { + position: relative; + z-index: 1; + box-sizing: border-box; + display: block; + width: 100%; + height: 1rem; + margin: 0; padding: 0; border: 0; border-radius: 999px; -webkit-appearance: none; appearance: none; background: transparent; + color: transparent; accent-color: var(--primary); cursor: pointer; overflow: visible; transition: box-shadow 150ms ease, filter 150ms ease; } +.slexkit-root .slex-slider-control input.slex-slider { + position: relative; + z-index: 1; + box-sizing: border-box; + display: block; + width: 100%; + height: 1rem; + min-height: 0; + margin: 0; + padding: 0; + border: 0; + border-radius: 999px; + box-shadow: none; + background: transparent; + color: transparent; + -webkit-appearance: none; + appearance: none; + overflow: visible; +} + .slex-slider:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; @@ -3334,7 +3455,7 @@ box-sizing: border-box; width: 1rem; height: 1rem; - margin-top: -0.25rem; + margin-top: 0; border: 2px solid var(--primary); border-radius: 999px; background-color: var(--background); @@ -3348,16 +3469,10 @@ .slex-slider::-webkit-slider-runnable-track { box-sizing: border-box; width: 100%; - height: 0.5rem; + height: 1rem; border: 0; border-radius: 999px; - background: linear-gradient( - to right, - var(--primary) 0%, - var(--primary) var(--slex-slider-progress, 0%), - var(--secondary) var(--slex-slider-progress, 0%), - var(--secondary) 100% - ); + background: transparent; } .slex-slider::-moz-range-thumb { @@ -3393,16 +3508,16 @@ } .slex-slider::-moz-range-track { - height: 0.5rem; + height: 1rem; border: 0; border-radius: 999px; - background: var(--secondary); + background: transparent; } .slex-slider::-moz-range-progress { - height: 0.5rem; + height: 1rem; border-radius: 999px; - background: var(--primary); + background: transparent; } .slex-slider-label-text { diff --git a/versions.json b/versions.json index da22ba1..787f324 100644 --- a/versions.json +++ b/versions.json @@ -5,5 +5,6 @@ "0.3.2": "1.5.0", "0.3.3": "1.5.0", "0.3.4": "1.5.0", - "0.3.5": "1.5.0" + "0.3.5": "1.5.0", + "0.3.6": "1.5.0" }