@alicloud/appflow-chat 0.0.4-beta.4 → 0.0.4-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/appflow-chat.cjs.js +2028 -1
  2. package/dist/appflow-chat.esm.js +38352 -23
  3. package/dist/types/index.d.ts +169 -0
  4. package/package.json +3 -15
  5. package/src/components/HumanVerify/CustomParamsRenderer/ArrayField.tsx +6 -4
  6. package/src/components/HumanVerify/CustomParamsRenderer/EnumField.tsx +5 -3
  7. package/src/components/HumanVerify/CustomParamsRenderer/FieldRenderer.tsx +6 -4
  8. package/src/components/HumanVerify/CustomParamsRenderer/FileField.tsx +38 -30
  9. package/src/components/HumanVerify/CustomParamsRenderer/ObjectField.tsx +4 -2
  10. package/src/components/HumanVerify/CustomParamsRenderer/TimeField.tsx +38 -101
  11. package/src/components/HumanVerify/HistoryCard.tsx +6 -4
  12. package/src/components/HumanVerify/HumanVerify.tsx +5 -3
  13. package/src/components/MessageBubble.tsx +4 -2
  14. package/src/components/RichMessageBubble.tsx +4 -2
  15. package/src/core/RichBubbleContent.tsx +4 -2
  16. package/src/core/SourceContent.tsx +5 -3
  17. package/src/core/WebSearchContent.tsx +3 -1
  18. package/src/i18n/LocaleContext.tsx +70 -0
  19. package/src/i18n/index.ts +16 -0
  20. package/src/i18n/translate.ts +42 -0
  21. package/src/i18n/useTranslation.ts +39 -0
  22. package/src/i18n/utils.ts +67 -0
  23. package/src/index.ts +25 -0
  24. package/src/locales/en-US.ts +77 -0
  25. package/src/locales/index.ts +7 -0
  26. package/src/locales/types.ts +35 -0
  27. package/src/locales/zh-CN.ts +78 -0
  28. package/src/markdown/components/Chart.tsx +3 -1
  29. package/src/markdown/components/Mermaid.tsx +8 -6
  30. package/src/markdown/index.tsx +11 -8
  31. package/dist/dayjs.min-L7v6Rjvs.cjs +0 -1
  32. package/dist/dayjs.min-MIkW36mC.js +0 -301
  33. package/dist/index-CsdPG_CH.cjs +0 -2032
  34. package/dist/index-DuGIPL7L.js +0 -37902
  35. package/dist/moment-BOHN1eRP.js +0 -2578
  36. package/dist/moment-BdH06dpW.cjs +0 -10
@@ -1 +1,2028 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CsdPG_CH.cjs");exports.BubbleContent=e.BubbleContent;exports.ChatService=e.ChatService;exports.CustomParamsRenderer=e.CustomParamsRenderer;exports.DocReferences=e.DocReferences;exports.HistoryCard=e.HistoryCard;exports.HumanVerify=e.HumanVerify;exports.MarkdownRenderer=e.MarkdownRenderer;exports.MarkdownView=e.MarkdownView;exports.MessageBubble=e.MessageBubble;exports.RichBubbleContent=e.RichBubbleContent;exports.RichBubbleProvider=e.RichBubbleProvider;exports.RichMessageBubble=e.RichMessageBubble;exports.SourceContent=e.SourceContent;exports.WebSearchContent=e.WebSearchContent;exports.WebSearchPanel=e.WebSearchPanel;exports.chatService=e.chatService;exports.convertSchemaToUpperCase=e.convertSchemaToUpperCase;exports.loadEchartsScript=e.loadEchartsScript;exports.loadMermaidScript=e.loadMermaidScript;exports.useCustomParamsRenderer=e.useCustomParamsRenderer;exports.useRichBubbleContext=e.useRichBubbleContext;exports.validateCustomParams=e.validateCustomParams;
1
+ "use strict";var j4=Object.defineProperty,$4=Object.defineProperties;var q4=Object.getOwnPropertyDescriptors;var Ai=Object.getOwnPropertySymbols;var rc=Object.prototype.hasOwnProperty,nc=Object.prototype.propertyIsEnumerable;var Cn=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),Y4=e=>{throw TypeError(e)},ac=Math.pow,k0=(e,t,r)=>t in e?j4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ne=(e,t)=>{for(var r in t||(t={}))rc.call(t,r)&&k0(e,r,t[r]);if(Ai)for(var r of Ai(t))nc.call(t,r)&&k0(e,r,t[r]);return e},at=(e,t)=>$4(e,q4(t));var Si=(e,t)=>{var r={};for(var n in e)rc.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Ai)for(var n of Ai(e))t.indexOf(n)<0&&nc.call(e,n)&&(r[n]=e[n]);return r};var _n=(e,t,r)=>k0(e,typeof t!="symbol"?t+"":t,r);var Be=(e,t,r)=>new Promise((n,a)=>{var i=u=>{try{o(r.next(u))}catch(l){a(l)}},s=u=>{try{o(r.throw(u))}catch(l){a(l)}},o=u=>u.done?n(u.value):Promise.resolve(u.value).then(i,s);o((r=r.apply(e,t)).next())}),tn=function(e,t){this[0]=e,this[1]=t},C0=(e,t,r)=>{var n=(s,o,u,l)=>{try{var c=r[s](o),f=(o=c.value)instanceof tn,p=c.done;Promise.resolve(f?o[0]:o).then(h=>f?n(s==="return"?s:"next",o[1]?{done:h.done,value:h.value}:h,u,l):u({value:h,done:p})).catch(h=>n("throw",h,u,l))}catch(h){l(h)}},a=s=>i[s]=o=>new Promise((u,l)=>n(s,o,u,l)),i={};return r=r.apply(e,t),i[Cn("asyncIterator")]=()=>i,a("next"),a("throw"),a("return"),i},_0=e=>{var t=e[Cn("asyncIterator")],r=!1,n,a={};return t==null?(t=e[Cn("iterator")](),n=i=>a[i]=s=>t[i](s)):(t=t.call(e),n=i=>a[i]=s=>{if(r){if(r=!1,i==="throw")throw s;return s}return r=!0,{done:!1,value:new tn(new Promise(o=>{var u=t[i](s);u instanceof Object||Y4("Object expected"),o(u)}),1)}}),a[Cn("iterator")]=()=>a,n("next"),"throw"in t?n("throw"):a.throw=i=>{throw i},"return"in t&&n("return"),a},ic=(e,t,r)=>(t=e[Cn("asyncIterator")])?t.call(e):(e=e[Cn("iterator")](),t={},r=(n,a)=>(a=e[n])&&(t[n]=i=>new Promise((s,o,u)=>(i=a.call(e,i),u=i.done,Promise.resolve(i.value).then(l=>s({value:l,done:u}),o)))),r("next"),r("return"),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react/jsx-runtime"),Q=require("react"),Te=require("antd"),or=require("@ant-design/icons");let sn=null,ba=null;const V4="https://g.alicdn.com/code/npm/@ali/chatui-sdk/6.6.5/ChatSSE.js";function W4(){return ba||(ba=new Promise((e,t)=>{var n;if((n=window.ChatSSE)!=null&&n.fetchEventSource){sn=window.ChatSSE.fetchEventSource,e(sn);return}const r=document.createElement("script");r.src=V4,r.async=!0,r.onload=()=>{var a;sn=(a=window.ChatSSE)==null?void 0:a.fetchEventSource,sn?e(sn):t(new Error("ChatSSE.fetchEventSource not found after script load"))},r.onerror=()=>{ba=null,t(new Error("Failed to load ChatSSE script from CDN"))},document.head.appendChild(r)}),ba)}function G4(){return Be(this,null,function*(){return sn||W4()})}function X4(e,t){return Be(this,null,function*(){return(yield G4())(e,t)})}function zd(e,t){return function(){return e.apply(t,arguments)}}const{toString:K4}=Object.prototype,{getPrototypeOf:Ns}=Object,{iterator:Os,toStringTag:Hd}=Symbol,Rs=(e=>t=>{const r=K4.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),er=e=>(e=e.toLowerCase(),t=>Rs(t)===e),Ds=e=>t=>typeof t===e,{isArray:Zn}=Array,Hn=Ds("undefined");function ti(e){return e!==null&&!Hn(e)&&e.constructor!==null&&!Hn(e.constructor)&&Ot(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ud=er("ArrayBuffer");function Q4(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ud(e.buffer),t}const J4=Ds("string"),Ot=Ds("function"),jd=Ds("number"),ri=e=>e!==null&&typeof e=="object",Z4=e=>e===!0||e===!1,Xi=e=>{if(Rs(e)!=="object")return!1;const t=Ns(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Hd in e)&&!(Os in e)},e3=e=>{if(!ri(e)||ti(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},t3=er("Date"),r3=er("File"),n3=e=>!!(e&&typeof e.uri!="undefined"),a3=e=>e&&typeof e.getParts!="undefined",i3=er("Blob"),s3=er("FileList"),o3=e=>ri(e)&&Ot(e.pipe);function u3(){return typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}}const sc=u3(),oc=typeof sc.FormData!="undefined"?sc.FormData:void 0,l3=e=>{if(!e)return!1;if(oc&&e instanceof oc)return!0;const t=Ns(e);if(!t||t===Object.prototype||!Ot(e.append))return!1;const r=Rs(e);return r==="formdata"||r==="object"&&Ot(e.toString)&&e.toString()==="[object FormData]"},c3=er("URLSearchParams"),[f3,d3,h3,m3]=["ReadableStream","Request","Response","Headers"].map(er),p3=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ni(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e=="undefined")return;let n,a;if(typeof e!="object"&&(e=[e]),Zn(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{if(ti(e))return;const i=r?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let o;for(n=0;n<s;n++)o=i[n],t.call(null,e[o],o,e)}}function $d(e,t){if(ti(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n=r.length,a;for(;n-- >0;)if(a=r[n],t===a.toLowerCase())return a;return null}const ln=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,qd=e=>!Hn(e)&&e!==ln;function No(){const{caseless:e,skipUndefined:t}=qd(this)&&this||{},r={},n=(a,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const s=e&&$d(r,i)||i;Xi(r[s])&&Xi(a)?r[s]=No(r[s],a):Xi(a)?r[s]=No({},a):Zn(a)?r[s]=a.slice():(!t||!Hn(a))&&(r[s]=a)};for(let a=0,i=arguments.length;a<i;a++)arguments[a]&&ni(arguments[a],n);return r}const g3=(e,t,r,{allOwnKeys:n}={})=>(ni(t,(a,i)=>{r&&Ot(a)?Object.defineProperty(e,i,{value:zd(a,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{value:a,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),b3=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),y3=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},E3=(e,t,r,n)=>{let a,i,s;const o={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)s=a[i],(!n||n(s,e,t))&&!o[s]&&(t[s]=e[s],o[s]=!0);e=r!==!1&&Ns(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},x3=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},T3=e=>{if(!e)return null;if(Zn(e))return e;let t=e.length;if(!jd(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},v3=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&Ns(Uint8Array)),w3=(e,t)=>{const n=(e&&e[Os]).call(e);let a;for(;(a=n.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},A3=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},S3=er("HTMLFormElement"),k3=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,a){return n.toUpperCase()+a}),uc=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),C3=er("RegExp"),Yd=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};ni(r,(a,i)=>{let s;(s=t(a,i,e))!==!1&&(n[i]=s||a)}),Object.defineProperties(e,n)},_3=e=>{Yd(e,(t,r)=>{if(Ot(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Ot(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},I3=(e,t)=>{const r={},n=a=>{a.forEach(i=>{r[i]=!0})};return Zn(e)?n(e):n(String(e).split(t)),r},N3=()=>{},O3=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function R3(e){return!!(e&&Ot(e.append)&&e[Hd]==="FormData"&&e[Os])}const D3=e=>{const t=new Array(10),r=(n,a)=>{if(ri(n)){if(t.indexOf(n)>=0)return;if(ti(n))return n;if(!("toJSON"in n)){t[a]=n;const i=Zn(n)?[]:{};return ni(n,(s,o)=>{const u=r(s,a+1);!Hn(u)&&(i[o]=u)}),t[a]=void 0,i}}return n};return r(e,0)},L3=er("AsyncFunction"),M3=e=>e&&(ri(e)||Ot(e))&&Ot(e.then)&&Ot(e.catch),Vd=((e,t)=>e?setImmediate:t?((r,n)=>(ln.addEventListener("message",({source:a,data:i})=>{a===ln&&i===r&&n.length&&n.shift()()},!1),a=>{n.push(a),ln.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Ot(ln.postMessage)),P3=typeof queueMicrotask!="undefined"?queueMicrotask.bind(ln):typeof process!="undefined"&&process.nextTick||Vd,F3=e=>e!=null&&Ot(e[Os]),$={isArray:Zn,isArrayBuffer:Ud,isBuffer:ti,isFormData:l3,isArrayBufferView:Q4,isString:J4,isNumber:jd,isBoolean:Z4,isObject:ri,isPlainObject:Xi,isEmptyObject:e3,isReadableStream:f3,isRequest:d3,isResponse:h3,isHeaders:m3,isUndefined:Hn,isDate:t3,isFile:r3,isReactNativeBlob:n3,isReactNative:a3,isBlob:i3,isRegExp:C3,isFunction:Ot,isStream:o3,isURLSearchParams:c3,isTypedArray:v3,isFileList:s3,forEach:ni,merge:No,extend:g3,trim:p3,stripBOM:b3,inherits:y3,toFlatObject:E3,kindOf:Rs,kindOfTest:er,endsWith:x3,toArray:T3,forEachEntry:w3,matchAll:A3,isHTMLForm:S3,hasOwnProperty:uc,hasOwnProp:uc,reduceDescriptors:Yd,freezeMethods:_3,toObjectSet:I3,toCamelCase:k3,noop:N3,toFiniteNumber:O3,findKey:$d,global:ln,isContextDefined:qd,isSpecCompliantForm:R3,toJSONObject:D3,isAsyncFn:L3,isThenable:M3,setImmediate:Vd,asap:P3,isIterable:F3};let we=class Wd extends Error{static from(t,r,n,a,i,s){const o=new Wd(t.message,r||t.code,n,a,i);return o.cause=t,o.name=t.name,t.status!=null&&o.status==null&&(o.status=t.status),s&&Object.assign(o,s),o}constructor(t,r,n,a,i){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),n&&(this.config=n),a&&(this.request=a),i&&(this.response=i,this.status=i.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:$.toJSONObject(this.config),code:this.code,status:this.status}}};we.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";we.ERR_BAD_OPTION="ERR_BAD_OPTION";we.ECONNABORTED="ECONNABORTED";we.ETIMEDOUT="ETIMEDOUT";we.ERR_NETWORK="ERR_NETWORK";we.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";we.ERR_DEPRECATED="ERR_DEPRECATED";we.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";we.ERR_BAD_REQUEST="ERR_BAD_REQUEST";we.ERR_CANCELED="ERR_CANCELED";we.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";we.ERR_INVALID_URL="ERR_INVALID_URL";we.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const B3=null;function Oo(e){return $.isPlainObject(e)||$.isArray(e)}function Gd(e){return $.endsWith(e,"[]")?e.slice(0,-2):e}function I0(e,t,r){return e?e.concat(t).map(function(a,i){return a=Gd(a),!r&&i?"["+a+"]":a}).join(r?".":""):t}function z3(e){return $.isArray(e)&&!e.some(Oo)}const H3=$.toFlatObject($,{},null,function(t){return/^is[A-Z]/.test(t)});function Ls(e,t,r){if(!$.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=$.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,T){return!$.isUndefined(T[x])});const n=r.metaTokens,a=r.visitor||f,i=r.dots,s=r.indexes,o=r.Blob||typeof Blob!="undefined"&&Blob,u=r.maxDepth===void 0?100:r.maxDepth,l=o&&$.isSpecCompliantForm(t);if(!$.isFunction(a))throw new TypeError("visitor must be a function");function c(y){if(y===null)return"";if($.isDate(y))return y.toISOString();if($.isBoolean(y))return y.toString();if(!l&&$.isBlob(y))throw new we("Blob is not supported. Use a Buffer instead.");return $.isArrayBuffer(y)||$.isTypedArray(y)?l&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function f(y,x,T){let w=y;if($.isReactNative(t)&&$.isReactNativeBlob(y))return t.append(I0(T,x,i),c(y)),!1;if(y&&!T&&typeof y=="object"){if($.endsWith(x,"{}"))x=n?x:x.slice(0,-2),y=JSON.stringify(y);else if($.isArray(y)&&z3(y)||($.isFileList(y)||$.endsWith(x,"[]"))&&(w=$.toArray(y)))return x=Gd(x),w.forEach(function(M,F){!($.isUndefined(M)||M===null)&&t.append(s===!0?I0([x],F,i):s===null?x:x+"[]",c(M))}),!1}return Oo(y)?!0:(t.append(I0(T,x,i),c(y)),!1)}const p=[],h=Object.assign(H3,{defaultVisitor:f,convertValue:c,isVisitable:Oo});function b(y,x,T=0){if(!$.isUndefined(y)){if(T>u)throw new we("Object is too deeply nested ("+T+" levels). Max depth: "+u,we.ERR_FORM_DATA_DEPTH_EXCEEDED);if(p.indexOf(y)!==-1)throw Error("Circular reference detected in "+x.join("."));p.push(y),$.forEach(y,function(N,M){(!($.isUndefined(N)||N===null)&&a.call(t,N,$.isString(M)?M.trim():M,x,h))===!0&&b(N,x?x.concat(M):[M],T+1)}),p.pop()}}if(!$.isObject(e))throw new TypeError("data must be an object");return b(e),t}function lc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function ju(e,t){this._pairs=[],e&&Ls(e,this,t)}const Xd=ju.prototype;Xd.append=function(t,r){this._pairs.push([t,r])};Xd.toString=function(t){const r=t?function(n){return t.call(this,n,lc)}:lc;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function U3(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Kd(e,t,r){if(!t)return e;const n=r&&r.encode||U3,a=$.isFunction(r)?{serialize:r}:r,i=a&&a.serialize;let s;if(i?s=i(t,a):s=$.isURLSearchParams(t)?t.toString():new ju(t,a).toString(n),s){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class cc{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){$.forEach(this.handlers,function(n){n!==null&&t(n)})}}const $u={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},j3=typeof URLSearchParams!="undefined"?URLSearchParams:ju,$3=typeof FormData!="undefined"?FormData:null,q3=typeof Blob!="undefined"?Blob:null,Y3={isBrowser:!0,classes:{URLSearchParams:j3,FormData:$3,Blob:q3},protocols:["http","https","file","blob","url","data"]},qu=typeof window!="undefined"&&typeof document!="undefined",Ro=typeof navigator=="object"&&navigator||void 0,V3=qu&&(!Ro||["ReactNative","NativeScript","NS"].indexOf(Ro.product)<0),W3=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",G3=qu&&window.location.href||"http://localhost",X3=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:qu,hasStandardBrowserEnv:V3,hasStandardBrowserWebWorkerEnv:W3,navigator:Ro,origin:G3},Symbol.toStringTag,{value:"Module"})),bt=ne(ne({},X3),Y3);function K3(e,t){return Ls(e,new bt.classes.URLSearchParams,ne({visitor:function(r,n,a,i){return bt.isNode&&$.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Q3(e){return $.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function J3(e){const t={},r=Object.keys(e);let n;const a=r.length;let i;for(n=0;n<a;n++)i=r[n],t[i]=e[i];return t}function Qd(e){function t(r,n,a,i){let s=r[i++];if(s==="__proto__")return!0;const o=Number.isFinite(+s),u=i>=r.length;return s=!s&&$.isArray(a)?a.length:s,u?($.hasOwnProp(a,s)?a[s]=$.isArray(a[s])?a[s].concat(n):[a[s],n]:a[s]=n,!o):((!a[s]||!$.isObject(a[s]))&&(a[s]=[]),t(r,n,a[s],i)&&$.isArray(a[s])&&(a[s]=J3(a[s])),!o)}if($.isFormData(e)&&$.isFunction(e.entries)){const r={};return $.forEachEntry(e,(n,a)=>{t(Q3(n),a,r,0)}),r}return null}const In=(e,t)=>e!=null&&$.hasOwnProp(e,t)?e[t]:void 0;function Z3(e,t,r){if($.isString(e))try{return(t||JSON.parse)(e),$.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const ai={transitional:$u,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",a=n.indexOf("application/json")>-1,i=$.isObject(t);if(i&&$.isHTMLForm(t)&&(t=new FormData(t)),$.isFormData(t))return a?JSON.stringify(Qd(t)):t;if($.isArrayBuffer(t)||$.isBuffer(t)||$.isStream(t)||$.isFile(t)||$.isBlob(t)||$.isReadableStream(t))return t;if($.isArrayBufferView(t))return t.buffer;if($.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(i){const u=In(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return K3(t,u).toString();if((o=$.isFileList(t))||n.indexOf("multipart/form-data")>-1){const l=In(this,"env"),c=l&&l.FormData;return Ls(o?{"files[]":t}:t,c&&new c,u)}}return i||a?(r.setContentType("application/json",!1),Z3(t)):t}],transformResponse:[function(t){const r=In(this,"transitional")||ai.transitional,n=r&&r.forcedJSONParsing,a=In(this,"responseType"),i=a==="json";if($.isResponse(t)||$.isReadableStream(t))return t;if(t&&$.isString(t)&&(n&&!a||i)){const o=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(t,In(this,"parseReviver"))}catch(u){if(o)throw u.name==="SyntaxError"?we.from(u,we.ERR_BAD_RESPONSE,this,null,In(this,"response")):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:bt.classes.FormData,Blob:bt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$.forEach(["delete","get","head","post","put","patch"],e=>{ai.headers[e]={}});const e6=$.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),t6=e=>{const t={};let r,n,a;return e&&e.split(`
2
+ `).forEach(function(s){a=s.indexOf(":"),r=s.substring(0,a).trim().toLowerCase(),n=s.substring(a+1).trim(),!(!r||t[r]&&e6[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},fc=Symbol("internals"),r6=/[^\x09\x20-\x7E\x80-\xFF]/g;function n6(e){let t=0,r=e.length;for(;t<r;){const n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}for(;r>t;){const n=e.charCodeAt(r-1);if(n!==9&&n!==32)break;r-=1}return t===0&&r===e.length?e:e.slice(t,r)}function ya(e){return e&&String(e).trim().toLowerCase()}function a6(e){return n6(e.replace(r6,""))}function Ki(e){return e===!1||e==null?e:$.isArray(e)?e.map(Ki):a6(String(e))}function i6(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const s6=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function N0(e,t,r,n,a){if($.isFunction(n))return n.call(this,t,r);if(a&&(t=r),!!$.isString(t)){if($.isString(n))return t.indexOf(n)!==-1;if($.isRegExp(n))return n.test(t)}}function o6(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function u6(e,t){const r=$.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(a,i,s){return this[n].call(this,t,a,i,s)},configurable:!0})})}let Rt=class{constructor(t){t&&this.set(t)}set(t,r,n){const a=this;function i(o,u,l){const c=ya(u);if(!c)throw new Error("header name must be a non-empty string");const f=$.findKey(a,c);(!f||a[f]===void 0||l===!0||l===void 0&&a[f]!==!1)&&(a[f||u]=Ki(o))}const s=(o,u)=>$.forEach(o,(l,c)=>i(l,c,u));if($.isPlainObject(t)||t instanceof this.constructor)s(t,r);else if($.isString(t)&&(t=t.trim())&&!s6(t))s(t6(t),r);else if($.isObject(t)&&$.isIterable(t)){let o={},u,l;for(const c of t){if(!$.isArray(c))throw TypeError("Object iterator must return a key-value pair");o[l=c[0]]=(u=o[l])?$.isArray(u)?[...u,c[1]]:[u,c[1]]:c[1]}s(o,r)}else t!=null&&i(r,t,n);return this}get(t,r){if(t=ya(t),t){const n=$.findKey(this,t);if(n){const a=this[n];if(!r)return a;if(r===!0)return i6(a);if($.isFunction(r))return r.call(this,a,n);if($.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=ya(t),t){const n=$.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||N0(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let a=!1;function i(s){if(s=ya(s),s){const o=$.findKey(n,s);o&&(!r||N0(n,n[o],o,r))&&(delete n[o],a=!0)}}return $.isArray(t)?t.forEach(i):i(t),a}clear(t){const r=Object.keys(this);let n=r.length,a=!1;for(;n--;){const i=r[n];(!t||N0(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const r=this,n={};return $.forEach(this,(a,i)=>{const s=$.findKey(n,i);if(s){r[s]=Ki(a),delete r[i];return}const o=t?o6(i):String(i).trim();o!==i&&delete r[i],r[o]=Ki(a),n[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return $.forEach(this,(n,a)=>{n!=null&&n!==!1&&(r[a]=t&&$.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
3
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(a=>n.set(a)),n}static accessor(t){const n=(this[fc]=this[fc]={accessors:{}}).accessors,a=this.prototype;function i(s){const o=ya(s);n[o]||(u6(a,s),n[o]=!0)}return $.isArray(t)?t.forEach(i):i(t),this}};Rt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$.reduceDescriptors(Rt.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});$.freezeMethods(Rt);function O0(e,t){const r=this||ai,n=t||r,a=Rt.from(n.headers);let i=n.data;return $.forEach(e,function(o){i=o.call(r,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function Jd(e){return!!(e&&e.__CANCEL__)}let ii=class extends we{constructor(t,r,n){super(t==null?"canceled":t,we.ERR_CANCELED,r,n),this.name="CanceledError",this.__CANCEL__=!0}};function Zd(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new we("Request failed with status code "+r.status,[we.ERR_BAD_REQUEST,we.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function l6(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function c6(e,t){e=e||10;const r=new Array(e),n=new Array(e);let a=0,i=0,s;return t=t!==void 0?t:1e3,function(u){const l=Date.now(),c=n[i];s||(s=l),r[a]=u,n[a]=l;let f=i,p=0;for(;f!==a;)p+=r[f++],f=f%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),l-s<t)return;const h=c&&l-c;return h?Math.round(p*1e3/h):void 0}}function f6(e,t){let r=0,n=1e3/t,a,i;const s=(l,c=Date.now())=>{r=c,a=null,i&&(clearTimeout(i),i=null),e(...l)};return[(...l)=>{const c=Date.now(),f=c-r;f>=n?s(l,c):(a=l,i||(i=setTimeout(()=>{i=null,s(a)},n-f)))},()=>a&&s(a)]}const ds=(e,t,r=3)=>{let n=0;const a=c6(50,250);return f6(i=>{const s=i.loaded,o=i.lengthComputable?i.total:void 0,u=o!=null?Math.min(s,o):s,l=Math.max(0,u-n),c=a(l);n=Math.max(n,u);const f={loaded:u,total:o,progress:o?u/o:void 0,bytes:l,rate:c||void 0,estimated:c&&o?(o-u)/c:void 0,event:i,lengthComputable:o!=null,[t?"download":"upload"]:!0};e(f)},r)},dc=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},hc=e=>(...t)=>$.asap(()=>e(...t)),d6=bt.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,bt.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(bt.origin),bt.navigator&&/(msie|trident)/i.test(bt.navigator.userAgent)):()=>!0,h6=bt.hasStandardBrowserEnv?{write(e,t,r,n,a,i,s){if(typeof document=="undefined")return;const o=[`${e}=${encodeURIComponent(t)}`];$.isNumber(r)&&o.push(`expires=${new Date(r).toUTCString()}`),$.isString(n)&&o.push(`path=${n}`),$.isString(a)&&o.push(`domain=${a}`),i===!0&&o.push("secure"),$.isString(s)&&o.push(`SameSite=${s}`),document.cookie=o.join("; ")},read(e){if(typeof document=="undefined")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function m6(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function p6(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function eh(e,t,r){let n=!m6(t);return e&&(n||r===!1)?p6(e,t):t}const mc=e=>e instanceof Rt?ne({},e):e;function pn(e,t){t=t||{};const r=Object.create(null);Object.defineProperty(r,"hasOwnProperty",{value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function n(l,c,f,p){return $.isPlainObject(l)&&$.isPlainObject(c)?$.merge.call({caseless:p},l,c):$.isPlainObject(c)?$.merge({},c):$.isArray(c)?c.slice():c}function a(l,c,f,p){if($.isUndefined(c)){if(!$.isUndefined(l))return n(void 0,l,f,p)}else return n(l,c,f,p)}function i(l,c){if(!$.isUndefined(c))return n(void 0,c)}function s(l,c){if($.isUndefined(c)){if(!$.isUndefined(l))return n(void 0,l)}else return n(void 0,c)}function o(l,c,f){if($.hasOwnProp(t,f))return n(l,c);if($.hasOwnProp(e,f))return n(void 0,l)}const u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,allowedSocketPaths:s,responseEncoding:s,validateStatus:o,headers:(l,c,f)=>a(mc(l),mc(c),f,!0)};return $.forEach(Object.keys(ne(ne({},e),t)),function(c){if(c==="__proto__"||c==="constructor"||c==="prototype")return;const f=$.hasOwnProp(u,c)?u[c]:a,p=$.hasOwnProp(e,c)?e[c]:void 0,h=$.hasOwnProp(t,c)?t[c]:void 0,b=f(p,h,c);$.isUndefined(b)&&f!==o||(r[c]=b)}),r}const th=e=>{const t=pn({},e),r=p=>$.hasOwnProp(t,p)?t[p]:void 0,n=r("data");let a=r("withXSRFToken");const i=r("xsrfHeaderName"),s=r("xsrfCookieName");let o=r("headers");const u=r("auth"),l=r("baseURL"),c=r("allowAbsoluteUrls"),f=r("url");if(t.headers=o=Rt.from(o),t.url=Kd(eh(l,f,c),e.params,e.paramsSerializer),u&&o.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),$.isFormData(n)){if(bt.hasStandardBrowserEnv||bt.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if($.isFunction(n.getHeaders)){const p=n.getHeaders(),h=["content-type","content-length"];Object.entries(p).forEach(([b,y])=>{h.includes(b.toLowerCase())&&o.set(b,y)})}}if(bt.hasStandardBrowserEnv&&($.isFunction(a)&&(a=a(t)),a===!0||a==null&&d6(t.url))){const h=i&&s&&h6.read(s);h&&o.set(i,h)}return t},g6=typeof XMLHttpRequest!="undefined",b6=g6&&function(e){return new Promise(function(r,n){const a=th(e);let i=a.data;const s=Rt.from(a.headers).normalize();let{responseType:o,onUploadProgress:u,onDownloadProgress:l}=a,c,f,p,h,b;function y(){h&&h(),b&&b(),a.cancelToken&&a.cancelToken.unsubscribe(c),a.signal&&a.signal.removeEventListener("abort",c)}let x=new XMLHttpRequest;x.open(a.method.toUpperCase(),a.url,!0),x.timeout=a.timeout;function T(){if(!x)return;const N=Rt.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),F={data:!o||o==="text"||o==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:N,config:e,request:x};Zd(function(z){r(z),y()},function(z){n(z),y()},F),x=null}"onloadend"in x?x.onloadend=T:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(T)},x.onabort=function(){x&&(n(new we("Request aborted",we.ECONNABORTED,e,x)),x=null)},x.onerror=function(M){const F=M&&M.message?M.message:"Network Error",L=new we(F,we.ERR_NETWORK,e,x);L.event=M||null,n(L),x=null},x.ontimeout=function(){let M=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const F=a.transitional||$u;a.timeoutErrorMessage&&(M=a.timeoutErrorMessage),n(new we(M,F.clarifyTimeoutError?we.ETIMEDOUT:we.ECONNABORTED,e,x)),x=null},i===void 0&&s.setContentType(null),"setRequestHeader"in x&&$.forEach(s.toJSON(),function(M,F){x.setRequestHeader(F,M)}),$.isUndefined(a.withCredentials)||(x.withCredentials=!!a.withCredentials),o&&o!=="json"&&(x.responseType=a.responseType),l&&([p,b]=ds(l,!0),x.addEventListener("progress",p)),u&&x.upload&&([f,h]=ds(u),x.upload.addEventListener("progress",f),x.upload.addEventListener("loadend",h)),(a.cancelToken||a.signal)&&(c=N=>{x&&(n(!N||N.type?new ii(null,e,x):N),x.abort(),x=null)},a.cancelToken&&a.cancelToken.subscribe(c),a.signal&&(a.signal.aborted?c():a.signal.addEventListener("abort",c)));const w=l6(a.url);if(w&&bt.protocols.indexOf(w)===-1){n(new we("Unsupported protocol "+w+":",we.ERR_BAD_REQUEST,e));return}x.send(i||null)})},y6=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,a;const i=function(l){if(!a){a=!0,o();const c=l instanceof Error?l:this.reason;n.abort(c instanceof we?c:new ii(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{s=null,i(new we(`timeout of ${t}ms exceeded`,we.ETIMEDOUT))},t);const o=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(i):l.removeEventListener("abort",i)}),e=null)};e.forEach(l=>l.addEventListener("abort",i));const{signal:u}=n;return u.unsubscribe=()=>$.asap(o),u}},E6=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,a;for(;n<r;)a=n+t,yield e.slice(n,a),n=a},x6=function(e,t){return C0(this,null,function*(){try{for(var r=ic(T6(e)),n,a,i;n=!(a=yield new tn(r.next())).done;n=!1){const s=a.value;yield*_0(E6(s,t))}}catch(a){i=[a]}finally{try{n&&(a=r.return)&&(yield new tn(a.call(r)))}finally{if(i)throw i[0]}}})},T6=function(e){return C0(this,null,function*(){if(e[Symbol.asyncIterator]){yield*_0(e);return}const t=e.getReader();try{for(;;){const{done:r,value:n}=yield new tn(t.read());if(r)break;yield n}}finally{yield new tn(t.cancel())}})},pc=(e,t,r,n)=>{const a=x6(e,t);let i=0,s,o=l=>{s||(s=!0,n&&n(l))};return new ReadableStream({pull(l){return Be(this,null,function*(){try{const{done:c,value:f}=yield a.next();if(c){o(),l.close();return}let p=f.byteLength;if(r){let h=i+=p;r(h)}l.enqueue(new Uint8Array(f))}catch(c){throw o(c),c}})},cancel(l){return o(l),a.return()}},{highWaterMark:2})},gc=64*1024,{isFunction:ki}=$,v6=(({Request:e,Response:t})=>({Request:e,Response:t}))($.global),{ReadableStream:bc,TextEncoder:yc}=$.global,Ec=(e,...t)=>{try{return!!e(...t)}catch(r){return!1}},w6=e=>{e=$.merge.call({skipUndefined:!0},v6,e);const{fetch:t,Request:r,Response:n}=e,a=t?ki(t):typeof fetch=="function",i=ki(r),s=ki(n);if(!a)return!1;const o=a&&ki(bc),u=a&&(typeof yc=="function"?(b=>y=>b.encode(y))(new yc):b=>Be(exports,null,function*(){return new Uint8Array(yield new r(b).arrayBuffer())})),l=i&&o&&Ec(()=>{let b=!1;const y=new r(bt.origin,{body:new bc,method:"POST",get duplex(){return b=!0,"half"}}),x=y.headers.has("Content-Type");return y.body!=null&&y.body.cancel(),b&&!x}),c=s&&o&&Ec(()=>$.isReadableStream(new n("").body)),f={stream:c&&(b=>b.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!f[b]&&(f[b]=(y,x)=>{let T=y&&y[b];if(T)return T.call(y);throw new we(`Response type '${b}' is not supported`,we.ERR_NOT_SUPPORT,x)})});const p=b=>Be(exports,null,function*(){if(b==null)return 0;if($.isBlob(b))return b.size;if($.isSpecCompliantForm(b))return(yield new r(bt.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if($.isArrayBufferView(b)||$.isArrayBuffer(b))return b.byteLength;if($.isURLSearchParams(b)&&(b=b+""),$.isString(b))return(yield u(b)).byteLength}),h=(b,y)=>Be(exports,null,function*(){const x=$.toFiniteNumber(b.getContentLength());return x==null?p(y):x});return b=>Be(exports,null,function*(){let{url:y,method:x,data:T,signal:w,cancelToken:N,timeout:M,onDownloadProgress:F,onUploadProgress:L,responseType:z,headers:B,withCredentials:U="same-origin",fetchOptions:D}=th(b),H=t||fetch;z=z?(z+"").toLowerCase():"text";let G=y6([w,N&&N.toAbortSignal()],M),be=null;const K=G&&G.unsubscribe&&(()=>{G.unsubscribe()});let Y;try{if(L&&l&&x!=="get"&&x!=="head"&&(Y=yield h(B,T))!==0){let pe=new r(y,{method:"POST",body:T,duplex:"half"}),te;if($.isFormData(T)&&(te=pe.headers.get("content-type"))&&B.setContentType(te),pe.body){const[A,de]=dc(Y,ds(hc(L)));T=pc(pe.body,gc,A,de)}}$.isString(U)||(U=U?"include":"omit");const V=i&&"credentials"in r.prototype;if($.isFormData(T)){const pe=B.getContentType();pe&&/^multipart\/form-data/i.test(pe)&&!/boundary=/i.test(pe)&&B.delete("content-type")}const le=at(ne({},D),{signal:G,method:x.toUpperCase(),headers:B.normalize().toJSON(),body:T,duplex:"half",credentials:V?U:void 0});be=i&&new r(y,le);let Z=yield i?H(be,D):H(y,le);const me=c&&(z==="stream"||z==="response");if(c&&(F||me&&K)){const pe={};["status","statusText","headers"].forEach(xe=>{pe[xe]=Z[xe]});const te=$.toFiniteNumber(Z.headers.get("content-length")),[A,de]=F&&dc(te,ds(hc(F),!0))||[];Z=new n(pc(Z.body,gc,A,()=>{de&&de(),K&&K()}),pe)}z=z||"text";let k=yield f[$.findKey(f,z)||"text"](Z,b);return!me&&K&&K(),yield new Promise((pe,te)=>{Zd(pe,te,{data:k,headers:Rt.from(Z.headers),status:Z.status,statusText:Z.statusText,config:b,request:be})})}catch(V){throw K&&K(),V&&V.name==="TypeError"&&/Load failed|fetch/i.test(V.message)?Object.assign(new we("Network Error",we.ERR_NETWORK,b,be,V&&V.response),{cause:V.cause||V}):we.from(V,V&&V.code,b,be,V&&V.response)}})},A6=new Map,rh=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:a}=t,i=[n,a,r];let s=i.length,o=s,u,l,c=A6;for(;o--;)u=i[o],l=c.get(u),l===void 0&&c.set(u,l=o?new Map:w6(t)),c=l;return l};rh();const Yu={http:B3,xhr:b6,fetch:{get:rh}};$.forEach(Yu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(r){}Object.defineProperty(e,"adapterName",{value:t})}});const xc=e=>`- ${e}`,S6=e=>$.isFunction(e)||e===null||e===!1;function k6(e,t){e=$.isArray(e)?e:[e];const{length:r}=e;let n,a;const i={};for(let s=0;s<r;s++){n=e[s];let o;if(a=n,!S6(n)&&(a=Yu[(o=String(n)).toLowerCase()],a===void 0))throw new we(`Unknown adapter '${o}'`);if(a&&($.isFunction(a)||(a=a.get(t))))break;i[o||"#"+s]=a}if(!a){const s=Object.entries(i).map(([u,l])=>`adapter ${u} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=r?s.length>1?`since :
4
+ `+s.map(xc).join(`
5
+ `):" "+xc(s[0]):"as no adapter specified";throw new we("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return a}const nh={getAdapter:k6,adapters:Yu};function R0(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ii(null,e)}function Tc(e){return R0(e),e.headers=Rt.from(e.headers),e.data=O0.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),nh.getAdapter(e.adapter||ai.adapter,e)(e).then(function(n){return R0(e),n.data=O0.call(e,e.transformResponse,n),n.headers=Rt.from(n.headers),n},function(n){return Jd(n)||(R0(e),n&&n.response&&(n.response.data=O0.call(e,e.transformResponse,n.response),n.response.headers=Rt.from(n.response.headers))),Promise.reject(n)})}const ah="1.15.2",Ms={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ms[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const vc={};Ms.transitional=function(t,r,n){function a(i,s){return"[Axios v"+ah+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,o)=>{if(t===!1)throw new we(a(s," has been removed"+(r?" in "+r:"")),we.ERR_DEPRECATED);return r&&!vc[s]&&(vc[s]=!0,console.warn(a(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,s,o):!0}};Ms.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function C6(e,t,r){if(typeof e!="object")throw new we("options must be an object",we.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const i=n[a],s=Object.prototype.hasOwnProperty.call(t,i)?t[i]:void 0;if(s){const o=e[i],u=o===void 0||s(o,i,e);if(u!==!0)throw new we("option "+i+" must be "+u,we.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new we("Unknown option "+i,we.ERR_BAD_OPTION)}}const Qi={assertOptions:C6,validators:Ms},jt=Qi.validators;let fn=class{constructor(t){this.defaults=t||{},this.interceptors={request:new cc,response:new cc}}request(t,r){return Be(this,null,function*(){try{return yield this._request(t,r)}catch(n){if(n instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const i=(()=>{if(!a.stack)return"";const s=a.stack.indexOf(`
6
+ `);return s===-1?"":a.stack.slice(s+1)})();try{if(!n.stack)n.stack=i;else if(i){const s=i.indexOf(`
7
+ `),o=s===-1?-1:i.indexOf(`
8
+ `,s+1),u=o===-1?"":i.slice(o+1);String(n.stack).endsWith(u)||(n.stack+=`
9
+ `+i)}}catch(s){}}throw n}})}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=pn(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:i}=r;n!==void 0&&Qi.assertOptions(n,{silentJSONParsing:jt.transitional(jt.boolean),forcedJSONParsing:jt.transitional(jt.boolean),clarifyTimeoutError:jt.transitional(jt.boolean),legacyInterceptorReqResOrdering:jt.transitional(jt.boolean)},!1),a!=null&&($.isFunction(a)?r.paramsSerializer={serialize:a}:Qi.assertOptions(a,{encode:jt.function,serialize:jt.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Qi.assertOptions(r,{baseUrl:jt.spelling("baseURL"),withXsrfToken:jt.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&$.merge(i.common,i[r.method]);i&&$.forEach(["delete","get","head","post","put","patch","common"],b=>{delete i[b]}),r.headers=Rt.concat(s,i);const o=[];let u=!0;this.interceptors.request.forEach(function(y){if(typeof y.runWhen=="function"&&y.runWhen(r)===!1)return;u=u&&y.synchronous;const x=r.transitional||$u;x&&x.legacyInterceptorReqResOrdering?o.unshift(y.fulfilled,y.rejected):o.push(y.fulfilled,y.rejected)});const l=[];this.interceptors.response.forEach(function(y){l.push(y.fulfilled,y.rejected)});let c,f=0,p;if(!u){const b=[Tc.bind(this),void 0];for(b.unshift(...o),b.push(...l),p=b.length,c=Promise.resolve(r);f<p;)c=c.then(b[f++],b[f++]);return c}p=o.length;let h=r;for(;f<p;){const b=o[f++],y=o[f++];try{h=b(h)}catch(x){y.call(this,x);break}}try{c=Tc.call(this,h)}catch(b){return Promise.reject(b)}for(f=0,p=l.length;f<p;)c=c.then(l[f++],l[f++]);return c}getUri(t){t=pn(this.defaults,t);const r=eh(t.baseURL,t.url,t.allowAbsoluteUrls);return Kd(r,t.params,t.paramsSerializer)}};$.forEach(["delete","get","head","options"],function(t){fn.prototype[t]=function(r,n){return this.request(pn(n||{},{method:t,url:r,data:(n||{}).data}))}});$.forEach(["post","put","patch"],function(t){function r(n){return function(i,s,o){return this.request(pn(o||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}fn.prototype[t]=r(),fn.prototype[t+"Form"]=r(!0)});let _6=class ih{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(a=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](a);n._listeners=null}),this.promise.then=a=>{let i;const s=new Promise(o=>{n.subscribe(o),i=o}).then(a);return s.cancel=function(){n.unsubscribe(i)},s},t(function(i,s,o){n.reason||(n.reason=new ii(i,s,o),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new ih(function(a){t=a}),cancel:t}}};function I6(e){return function(r){return e.apply(null,r)}}function N6(e){return $.isObject(e)&&e.isAxiosError===!0}const Do={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Do).forEach(([e,t])=>{Do[t]=e});function sh(e){const t=new fn(e),r=zd(fn.prototype.request,t);return $.extend(r,fn.prototype,t,{allOwnKeys:!0}),$.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return sh(pn(e,a))},r}const nt=sh(ai);nt.Axios=fn;nt.CanceledError=ii;nt.CancelToken=_6;nt.isCancel=Jd;nt.VERSION=ah;nt.toFormData=Ls;nt.AxiosError=we;nt.Cancel=nt.CanceledError;nt.all=function(t){return Promise.all(t)};nt.spread=I6;nt.isAxiosError=N6;nt.mergeConfig=pn;nt.AxiosHeaders=Rt;nt.formToJSON=e=>Qd($.isHTMLForm(e)?new FormData(e):e);nt.getAdapter=nh.getAdapter;nt.HttpStatusCode=Do;nt.default=nt;const{Axios:CO,AxiosError:_O,CanceledError:IO,isCancel:NO,CancelToken:OO,VERSION:RO,all:DO,Cancel:LO,isAxiosError:MO,spread:PO,toFormData:FO,AxiosHeaders:BO,HttpStatusCode:zO,formToJSON:HO,getAdapter:UO,mergeConfig:jO}=nt,O6=(e,t)=>new Promise((r,n)=>{nt.put(t,e,{headers:{"Content-Type":"application/octet-stream","x-oss-object-acl":"private"}}).then(()=>{r({})}).catch(a=>n(a))});/*! js-cookie v3.0.5 | MIT */function Ci(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var R6={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Lo(e,t){function r(a,i,s){if(typeof document!="undefined"){s=Ci({},t,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),a=encodeURIComponent(a).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var u in s)s[u]&&(o+="; "+u,s[u]!==!0&&(o+="="+s[u].split(";")[0]));return document.cookie=a+"="+e.write(i,a)+o}}function n(a){if(!(typeof document=="undefined"||arguments.length&&!a)){for(var i=document.cookie?document.cookie.split("; "):[],s={},o=0;o<i.length;o++){var u=i[o].split("="),l=u.slice(1).join("=");try{var c=decodeURIComponent(u[0]);if(s[c]=e.read(l,c),a===c)break}catch(f){}}return a?s[a]:s}}return Object.create({set:r,get:n,remove:function(a,i){r(a,"",Ci({},i,{expires:-1}))},withAttributes:function(a){return Lo(this.converter,Ci({},this.attributes,a))},withConverter:function(a){return Lo(Ci({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var _i=Lo(R6,{path:"/"});class oh{constructor(){_n(this,"config",null);_n(this,"setupConfig",null);_n(this,"sessionId","");_n(this,"currentController",null);_n(this,"isInitialized",!1)}setup(t){return Be(this,null,function*(){this.setupConfig=t,typeof window!="undefined"&&(window.__APPFLOW_CHAT_SERVICE_CONFIG__={integrateConfig:{integrateId:t.integrateId,domain:t.domain?{requestDomain:t.domain}:void 0,access_session_token:t.access_session_token}}),t.access_session_token&&_i.remove("appflow_chat_ticket"),yield this.initTicket();const r=yield this.fetchConfig(t.integrateId);return this.config=r,this.isInitialized=!0,r})}initTicket(){return Be(this,null,function*(){var n,a,i;const t=((n=this.setupConfig)==null?void 0:n.domain)||"";if(!_i.get("appflow_chat_ticket"))try{const o=yield(yield fetch(`${t}/webhook/login/init/ticket`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({loginType:"chatbot_integrate",integrateId:(a=this.setupConfig)==null?void 0:a.integrateId,accessSessionToken:(i=this.setupConfig)==null?void 0:i.access_session_token})})).json();o!=null&&o.data&&(o==null?void 0:o.code)==="200"&&_i.set("appflow_chat_ticket",o.data,{expires:7})}catch(s){console.error("初始化ticket失败:",s)}})}fetchConfig(t){return Be(this,null,function*(){var n,a,i,s,o,u;const r=((n=this.setupConfig)==null?void 0:n.domain)||"";try{const{token:l,ticket:c}=yield this.getRequestToken(),p=yield(yield fetch(`${r}/webhook/chatbot/integrate/${t}`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":l,"X-Account-Session-Ticket":c}})).json();if((p==null?void 0:p.httpStatusCode)===200&&(p!=null&&p.data)){const h=p.data,b=h.integrateConfig,y=b?JSON.parse(b):{},x=(h.models||[]).map(T=>{var w,N,M,F,L,z,B,U,D;return{id:T.chatbotModelId||T.ChatbotModelId,name:T.modelName||T.ModelName||T.chatbotModelId,config:{image:((w=T.config)==null?void 0:w.image)||((N=T.Config)==null?void 0:N.image)||((M=T.Config)==null?void 0:M.Image),file:((F=T.config)==null?void 0:F.file)||((L=T.Config)==null?void 0:L.file)||((z=T.Config)==null?void 0:z.File),webSearch:((B=T.config)==null?void 0:B.webSearch)||((U=T.Config)==null?void 0:U.webSearch)||((D=T.Config)==null?void 0:D.WebSearch)}}});return{welcome:((a=y==null?void 0:y.message)==null?void 0:a.welcome)||"欢迎使用AI助手",questions:((i=y==null?void 0:y.config)==null?void 0:i.questions)||[],models:x,features:{image:((s=y==null?void 0:y.message)==null?void 0:s.imageEnabled)||!1,file:((o=y==null?void 0:y.message)==null?void 0:o.fileEnabled)||!1,audio:((u=y==null?void 0:y.message)==null?void 0:u.audioEnabled)||!1,webSearch:x.some(T=>{var w;return(w=T.config)==null?void 0:w.webSearch})},chatbotId:h.chatbotId,integrateId:t}}throw new Error("获取配置失败")}catch(l){return console.error("获取配置失败:",l),{welcome:"欢迎使用AI助手",questions:[],models:[],features:{image:!1,file:!1,audio:!1,webSearch:!1},chatbotId:"",integrateId:t}}})}getRequestToken(){return Be(this,null,function*(){var s;const t=((s=this.setupConfig)==null?void 0:s.domain)||"",r=_i.get("appflow_chat_ticket")||"";if(!r)throw new Error("未找到认证票据,请先调用setup");const a=yield(yield fetch(`${t}/webhook/request/token/acquireRequestToken`,{method:"POST",headers:{"Content-Type":"application/json","X-Account-Session-Ticket":r}})).json(),i=a==null?void 0:a.data;if(!i)throw new Error("获取请求令牌失败");return{token:i,ticket:r}})}chat(t){if(!this.isInitialized||!this.config)throw new Error("请先调用 setup() 初始化SDK");const r={};return this.sendMessage(t,r),{onMessage:n=>(r.onMessage=n,this),onError:n=>(r.onError=n,this)}}sendMessage(t,r){return Be(this,null,function*(){var o,u,l,c,f,p,h,b,y;const n=((o=this.setupConfig)==null?void 0:o.domain)||"",a=((u=this.config)==null?void 0:u.integrateId)||"",i=t.modelId||((c=(l=this.config)==null?void 0:l.models[0])==null?void 0:c.id);this.currentController=new AbortController;let s="";try{const{token:x,ticket:T}=yield this.getRequestToken(),w={chatbotId:(f=this.config)==null?void 0:f.chatbotId,chatbotModelId:i,sessionId:this.sessionId};if(t.audio)w.messageType="audio",w.audio={mediaUrl:t.audio,mediaType:"wav"};else if(t.images&&t.images.length>0||t.files&&t.files.length>0){w.messageType="rich";const N=[];t.text&&N.push({type:"text",content:t.text}),(p=t.images)==null||p.forEach(M=>{N.push({type:"image",mediaUrl:M})}),(h=t.files)==null||h.forEach(M=>{N.push({type:"file",mediaUrl:M})}),w.richText=N}else w.messageType="text",w.text={content:t.text||""};t.webSearch&&(w.config={webSearch:!0}),yield X4(`${n}/webhook/chatbot/chat/${a}`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":x,"X-Account-Session-Ticket":T},body:JSON.stringify(w),signal:this.currentController.signal,timeout:150*1e3,onopen:N=>Be(this,null,function*(){if(!N.ok&&N.status!==200){const M=yield N.text();throw new Error(M)}}),onmessage:N=>{var M;try{const F=JSON.parse(N.data);if(F.sessionId&&(this.sessionId=F.sessionId),F.messageType==="event")return;s=F.content||"";const L=F.status!=="Running",z={status:F.status,references:F.references,sessionId:F.sessionId,messageType:F.messageType,messageId:F.messageId};if(F.messageType==="card"){z.sessionWebhook=F.sessionWebhook;try{const B=JSON.parse(F.content);if(z.cardType=B.type,z.cardData=B.data,z.cardDisplayContent=B.content,B.type==="chatbot_input"){const U=B.data;if(z.verifyId=U==null?void 0:U.verifyId,U){for(const D in U)if(U[D]&&typeof U[D]=="object"&&U[D].AssociationProperty==="CustomParams"){z.customParamsKey=D,z.customParams=U[D];break}}}if(B.type==="update_chatbot_input"){const U=B.data;z.approvedMessageId=U==null?void 0:U.messageId,z.approvedStatus=U==null?void 0:U.status}}catch(B){console.error("解析 card content 失败:",B)}}(M=r.onMessage)==null||M.call(r,s,L,z)}catch(F){console.error("解析消息失败:",F)}},onclose:()=>{var N;(N=r.onMessage)==null||N.call(r,s,!0)},onerror:N=>{var M;(M=r.onError)==null||M.call(r,new Error((N==null?void 0:N.message)||"请求失败"))}})}catch(x){(x==null?void 0:x.name)==="AbortError"?(b=r.onMessage)==null||b.call(r,s||"",!0,{status:"Cancelled"}):(y=r.onError)==null||y.call(r,x)}})}upload(t){return Be(this,null,function*(){var a,i,s;if(!this.isInitialized)throw new Error("请先调用 setup() 初始化SDK");const r=((a=this.setupConfig)==null?void 0:a.domain)||"",n=((i=this.config)==null?void 0:i.integrateId)||"";try{const{token:o,ticket:u}=yield this.getRequestToken(),c=(s=(yield fetch(`${r}/webhook/chatbot/chat/${n}`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":o,"X-Account-Session-Ticket":u},body:JSON.stringify({messageType:"event",event:{eventType:"uploadToken",content:JSON.stringify({fileName:t.name})}})})).body)==null?void 0:s.getReader();if(!c)throw new Error("无法读取响应");let f=null;const p=new TextDecoder;let h="";for(;;){const{done:y,value:x}=yield c.read();if(y)break;h+=p.decode(x,{stream:!0});const T=h.split(`
10
+ `);h=T.pop()||"";for(const w of T){const N=w.trim();if(N.startsWith("data:"))try{const M=N.slice(5).trim();if(M){const F=JSON.parse(M);if(F.content){const L=typeof F.content=="string"?JSON.parse(F.content):F.content;L.uploadUrl&&(f=L)}}}catch(M){console.debug("解析SSE行失败:",w,M)}}}if(h.trim().startsWith("data:"))try{const y=h.trim().slice(5).trim();if(y){const x=JSON.parse(y);if(x.content){const T=typeof x.content=="string"?JSON.parse(x.content):x.content;T.uploadUrl&&(f=T)}}}catch(y){console.debug("解析SSE剩余数据失败:",h,y)}if(!(f!=null&&f.uploadUrl))throw console.error("获取上传URL失败,uploadInfo:",f),new Error("获取上传URL失败");const b=new Blob([t],{type:t.type||"application/octet-stream"});if(yield O6(b,f.uploadUrl),!f.downloadUrl)throw console.error("downloadUrl为空,uploadInfo:",f),new Error("获取下载URL失败");return f.downloadUrl}catch(o){throw console.error("上传文件失败:",o),o}})}clear(){this.sessionId="",this.cancel()}cancel(){this.currentController&&(this.currentController.abort(),this.currentController=null)}getConfig(){return this.config}getSessionId(){return this.sessionId}getModelCapabilities(t){var a,i,s,o;if(!this.config)return{image:!1,file:!1,audio:!1,webSearch:!1};const r=t?this.config.models.find(u=>u.id===t):this.config.models[0];if(!r)return{image:!1,file:!1,audio:!1,webSearch:!1};let n;if((a=r.config)!=null&&a.fileConfig)try{n=JSON.parse(r.config.fileConfig)}catch(u){}return{image:!!(this.config.features.image&&((i=r.config)!=null&&i.image)),file:!!(this.config.features.file&&((s=r.config)!=null&&s.file)),audio:!!this.config.features.audio,webSearch:!!((o=r.config)!=null&&o.webSearch),fileConfig:n}}hasCapability(t,r){return this.getModelCapabilities(r)[t]}setSessionId(t){this.sessionId=t}getHistory(t){return Be(this,null,function*(){var i,s;if(!this.isInitialized)throw new Error("请先调用 setup() 初始化SDK");const r=((i=this.setupConfig)==null?void 0:i.domain)||"",n=((s=this.config)==null?void 0:s.integrateId)||"",a=t||this.sessionId;try{const{token:o,ticket:u}=yield this.getRequestToken(),c=yield(yield fetch(`${r}/webhook/chatbot/integrate/${n}/message`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":o,"X-Account-Session-Ticket":u},body:a?JSON.stringify({sessionId:a}):void 0})).json();if((c==null?void 0:c.httpStatusCode)===200&&(c!=null&&c.data)){const f=[],p=c.data;if(Array.isArray(p))for(const h of p){if(h.message!==void 0&&h.message!==null){const b=h.messageType||"text";let y="",x,T;if(b==="rich"&&Array.isArray(h.message)){const w=[],N=[],M=[];for(const F of h.message)F.type==="text"&&F.content?w.push(F.content):F.type==="image"&&F.mediaUrl?N.push(F.mediaUrl):F.type==="file"&&F.mediaUrl&&M.push({name:F.mediaName||"文件",url:F.mediaUrl});y=w.join(`
11
+ `),N.length>0&&(x=N),M.length>0&&(T=M)}else typeof h.message=="string"&&(y=h.message);f.push({id:h.id||`user_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,role:"user",content:y,messageType:b,gmtCreate:h.gmtCreate,sessionId:h.sessionId,images:x,files:T})}if(h.assistant&&Array.isArray(h.assistant)&&h.assistant.length>0){const b=h.assistant[0];f.push({id:b.messageId||`assistant_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,role:"assistant",content:b.content||"",messageType:b.messageType||"text",gmtCreate:h.gmtCreate,sessionId:b.sessionId||h.sessionId})}}return f}return[]}catch(o){throw console.error("获取历史记录失败:",o),o}})}getSessions(){return Be(this,null,function*(){var n,a;if(!this.isInitialized)throw new Error("请先调用 setup() 初始化SDK");const t=((n=this.setupConfig)==null?void 0:n.domain)||"",r=((a=this.config)==null?void 0:a.integrateId)||"";try{const{token:i,ticket:s}=yield this.getRequestToken(),u=yield(yield fetch(`${t}/webhook/chatbot/integrate/${r}/message`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":i,"X-Account-Session-Ticket":s}})).json();return(u==null?void 0:u.httpStatusCode)===200&&(u!=null&&u.data)?(u.data||[]).map(c=>({id:c.id,sessionId:c.sessionId,title:c.title||"未命名会话",gmtCreate:c.gmtCreate,gmtModified:c.gmtModified})):[]}catch(i){throw console.error("获取会话列表失败:",i),i}})}sendEventCallback(t){return Be(this,null,function*(){if(!this.isInitialized)throw new Error("请先调用 setup() 初始化SDK");const{sessionWebhook:r,content:n}=t;if(!r)throw new Error("sessionWebhook 不能为空");try{const{token:a,ticket:i}=yield this.getRequestToken(),s=yield fetch(r,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":a,"X-Account-Session-Ticket":i},body:JSON.stringify(n)});if(!s.ok){const o=yield s.text();throw new Error(`发送事件回调失败: ${s.status} ${o}`)}}catch(a){throw console.error("发送事件回调失败:",a),a}})}submitHumanVerify(t){return Be(this,null,function*(){const{verifyId:r,sessionWebhook:n,status:a,customParams:i,customParamsKey:s="customParams"}=t;if(!r)throw new Error("verifyId 不能为空");const o={verifyId:r,status:a};return i&&(o[s]=i),this.sendEventCallback({sessionWebhook:n,content:o})})}}const D6=new oh;var We="-ms-",Na="-moz-",ze="-webkit-",uh="comm",Ps="rule",Vu="decl",L6="@import",M6="@namespace",lh="@keyframes",P6="@layer",ch=Math.abs,Wu=String.fromCharCode,Mo=Object.assign;function F6(e,t){return ft(e,0)^45?(((t<<2^ft(e,0))<<2^ft(e,1))<<2^ft(e,2))<<2^ft(e,3):0}function fh(e){return e.trim()}function xr(e,t){return(e=t.exec(e))?e[0]:e}function Oe(e,t,r){return e.replace(t,r)}function Ji(e,t,r){return e.indexOf(t,r)}function ft(e,t){return e.charCodeAt(t)|0}function gn(e,t,r){return e.slice(t,r)}function Kt(e){return e.length}function dh(e){return e.length}function Sa(e,t){return t.push(e),e}function B6(e,t){return e.map(t).join("")}function wc(e,t){return e.filter(function(r){return!xr(r,t)})}var Fs=1,Un=1,hh=0,Vt=0,st=0,ea="";function Bs(e,t,r,n,a,i,s,o){return{value:e,root:t,parent:r,type:n,props:a,children:i,line:Fs,column:Un,length:s,return:"",siblings:o}}function Pr(e,t){return Mo(Bs("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Nn(e){for(;e.root;)e=Pr(e.root,{children:[e]});Sa(e,e.siblings)}function z6(){return st}function H6(){return st=Vt>0?ft(ea,--Vt):0,Un--,st===10&&(Un=1,Fs--),st}function Jt(){return st=Vt<hh?ft(ea,Vt++):0,Un++,st===10&&(Un=1,Fs++),st}function Hr(){return ft(ea,Vt)}function Zi(){return Vt}function zs(e,t){return gn(ea,e,t)}function $a(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function U6(e){return Fs=Un=1,hh=Kt(ea=e),Vt=0,[]}function j6(e){return ea="",e}function D0(e){return fh(zs(Vt-1,Po(e===91?e+2:e===40?e+1:e)))}function $6(e){for(;(st=Hr())&&st<33;)Jt();return $a(e)>2||$a(st)>3?"":" "}function q6(e,t){for(;--t&&Jt()&&!(st<48||st>102||st>57&&st<65||st>70&&st<97););return zs(e,Zi()+(t<6&&Hr()==32&&Jt()==32))}function Po(e){for(;Jt();)switch(st){case e:return Vt;case 34:case 39:e!==34&&e!==39&&Po(st);break;case 40:e===41&&Po(e);break;case 92:Jt();break}return Vt}function Y6(e,t){for(;Jt()&&e+st!==57;)if(e+st===84&&Hr()===47)break;return"/*"+zs(t,Vt-1)+"*"+Wu(e===47?e:Jt())}function V6(e){for(;!$a(Hr());)Jt();return zs(e,Vt)}function W6(e){return j6(es("",null,null,null,[""],e=U6(e),0,[0],e))}function es(e,t,r,n,a,i,s,o,u){for(var l=0,c=0,f=s,p=0,h=0,b=0,y=1,x=1,T=1,w=0,N="",M=a,F=i,L=n,z=N;x;)switch(b=w,w=Jt()){case 40:if(b!=108&&ft(z,f-1)==58){Ji(z+=Oe(D0(w),"&","&\f"),"&\f",ch(l?o[l-1]:0))!=-1&&(T=-1);break}case 34:case 39:case 91:z+=D0(w);break;case 9:case 10:case 13:case 32:z+=$6(b);break;case 92:z+=q6(Zi()-1,7);continue;case 47:switch(Hr()){case 42:case 47:Sa(G6(Y6(Jt(),Zi()),t,r,u),u),($a(b||1)==5||$a(Hr()||1)==5)&&Kt(z)&&gn(z,-1,void 0)!==" "&&(z+=" ");break;default:z+="/"}break;case 123*y:o[l++]=Kt(z)*T;case 125*y:case 59:case 0:switch(w){case 0:case 125:x=0;case 59+c:T==-1&&(z=Oe(z,/\f/g,"")),h>0&&(Kt(z)-f||y===0&&b===47)&&Sa(h>32?Sc(z+";",n,r,f-1,u):Sc(Oe(z," ","")+";",n,r,f-2,u),u);break;case 59:z+=";";default:if(Sa(L=Ac(z,t,r,l,c,a,o,N,M=[],F=[],f,i),i),w===123)if(c===0)es(z,t,L,L,M,i,f,o,F);else{switch(p){case 99:if(ft(z,3)===110)break;case 108:if(ft(z,2)===97)break;default:c=0;case 100:case 109:case 115:}c?es(e,L,L,n&&Sa(Ac(e,L,L,0,0,a,o,N,a,M=[],f,F),F),a,F,f,o,n?M:F):es(z,L,L,L,[""],F,0,o,F)}}l=c=h=0,y=T=1,N=z="",f=s;break;case 58:f=1+Kt(z),h=b;default:if(y<1){if(w==123)--y;else if(w==125&&y++==0&&H6()==125)continue}switch(z+=Wu(w),w*y){case 38:T=c>0?1:(z+="\f",-1);break;case 44:o[l++]=(Kt(z)-1)*T,T=1;break;case 64:Hr()===45&&(z+=D0(Jt())),p=Hr(),c=f=Kt(N=z+=V6(Zi())),w++;break;case 45:b===45&&Kt(z)==2&&(y=0)}}return i}function Ac(e,t,r,n,a,i,s,o,u,l,c,f){for(var p=a-1,h=a===0?i:[""],b=dh(h),y=0,x=0,T=0;y<n;++y)for(var w=0,N=gn(e,p+1,p=ch(x=s[y])),M=e;w<b;++w)(M=fh(x>0?h[w]+" "+N:Oe(N,/&\f/g,h[w])))&&(u[T++]=M);return Bs(e,t,r,a===0?Ps:o,u,l,c,f)}function G6(e,t,r,n){return Bs(e,t,r,uh,Wu(z6()),gn(e,2,-2),0,n)}function Sc(e,t,r,n,a){return Bs(e,t,r,Vu,gn(e,0,n),gn(e,n+1,-1),n,a)}function mh(e,t,r){switch(F6(e,t)){case 5103:return ze+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return ze+e+e;case 4855:return ze+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return Na+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ze+e+Na+e+We+e+e;case 5936:switch(ft(e,t+11)){case 114:return ze+e+We+Oe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ze+e+We+Oe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ze+e+We+Oe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return ze+e+We+e+e;case 6165:return ze+e+We+"flex-"+e+e;case 5187:return ze+e+Oe(e,/(\w+).+(:[^]+)/,ze+"box-$1$2"+We+"flex-$1$2")+e;case 5443:return ze+e+We+"flex-item-"+Oe(e,/flex-|-self/g,"")+(xr(e,/flex-|baseline/)?"":We+"grid-row-"+Oe(e,/flex-|-self/g,""))+e;case 4675:return ze+e+We+"flex-line-pack"+Oe(e,/align-content|flex-|-self/g,"")+e;case 5548:return ze+e+We+Oe(e,"shrink","negative")+e;case 5292:return ze+e+We+Oe(e,"basis","preferred-size")+e;case 6060:return ze+"box-"+Oe(e,"-grow","")+ze+e+We+Oe(e,"grow","positive")+e;case 4554:return ze+Oe(e,/([^-])(transform)/g,"$1"+ze+"$2")+e;case 6187:return Oe(Oe(Oe(e,/(zoom-|grab)/,ze+"$1"),/(image-set)/,ze+"$1"),e,"")+e;case 5495:case 3959:return Oe(e,/(image-set\([^]*)/,ze+"$1$`$1");case 4968:return Oe(Oe(e,/(.+:)(flex-)?(.*)/,ze+"box-pack:$3"+We+"flex-pack:$3"),/space-between/,"justify")+ze+e+e;case 4200:if(!xr(e,/flex-|baseline/))return We+"grid-column-align"+gn(e,t)+e;break;case 2592:case 3360:return We+Oe(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,a){return t=a,xr(n.props,/grid-\w+-end/)})?~Ji(e+(r=r[t].value),"span",0)?e:We+Oe(e,"-start","")+e+We+"grid-row-span:"+(~Ji(r,"span",0)?xr(r,/\d+/):+xr(r,/\d+/)-+xr(e,/\d+/))+";":We+Oe(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return xr(n.props,/grid-\w+-start/)})?e:We+Oe(Oe(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Oe(e,/(.+)-inline(.+)/,ze+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Kt(e)-1-t>6)switch(ft(e,t+1)){case 109:if(ft(e,t+4)!==45)break;case 102:return Oe(e,/(.+:)(.+)-([^]+)/,"$1"+ze+"$2-$3$1"+Na+(ft(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ji(e,"stretch",0)?mh(Oe(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return Oe(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,a,i,s,o,u,l){return We+a+":"+i+l+(s?We+a+"-span:"+(o?u:+u-+i)+l:"")+e});case 4949:if(ft(e,t+6)===121)return Oe(e,":",":"+ze)+e;break;case 6444:switch(ft(e,ft(e,14)===45?18:11)){case 120:return Oe(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ze+(ft(e,14)===45?"inline-":"")+"box$3$1"+ze+"$2$3$1"+We+"$2box$3")+e;case 100:return Oe(e,":",":"+We)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Oe(e,"scroll-","scroll-snap-")+e}return e}function hs(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function X6(e,t,r,n){switch(e.type){case P6:if(e.children.length)break;case L6:case M6:case Vu:return e.return=e.return||e.value;case uh:return"";case lh:return e.return=e.value+"{"+hs(e.children,n)+"}";case Ps:if(!Kt(e.value=e.props.join(",")))return""}return Kt(r=hs(e.children,n))?e.return=e.value+"{"+r+"}":""}function K6(e){var t=dh(e);return function(r,n,a,i){for(var s="",o=0;o<t;o++)s+=e[o](r,n,a,i)||"";return s}}function Q6(e){return function(t){t.root||(t=t.return)&&e(t)}}function J6(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Vu:e.return=mh(e.value,e.length,r);return;case lh:return hs([Pr(e,{value:Oe(e.value,"@","@"+ze)})],n);case Ps:if(e.length)return B6(r=e.props,function(a){switch(xr(a,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Nn(Pr(e,{props:[Oe(a,/:(read-\w+)/,":"+Na+"$1")]})),Nn(Pr(e,{props:[a]})),Mo(e,{props:wc(r,n)});break;case"::placeholder":Nn(Pr(e,{props:[Oe(a,/:(plac\w+)/,":"+ze+"input-$1")]})),Nn(Pr(e,{props:[Oe(a,/:(plac\w+)/,":"+Na+"$1")]})),Nn(Pr(e,{props:[Oe(a,/:(plac\w+)/,We+"input-$1")]})),Nn(Pr(e,{props:[a]})),Mo(e,{props:wc(r,n)});break}return""})}}var L0,M0;const jn=typeof process!="undefined"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ph="active",gh="data-styled-version",Hs="6.4.1",Gu=`/*!sc*/
12
+ `,Oa=typeof window!="undefined"&&typeof document!="undefined";function kc(e){if(typeof process!="undefined"&&process.env!==void 0){const t=process.env[e];if(t!==void 0&&t!=="")return t!=="false"}}const Z6=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:(M0=(L0=kc("REACT_APP_SC_DISABLE_SPEEDY"))!==null&&L0!==void 0?L0:kc("SC_DISABLE_SPEEDY"))!==null&&M0!==void 0?M0:typeof process=="undefined"||process.env===void 0),e5="sc-keyframes-";function Us(e,...t){return new Error(`An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#${e} for more information.${t.length>0?` Args: ${t.join(", ")}`:""}`)}let ts=new Map,ms=new Map,rs=1;const Ii=e=>{if(ts.has(e))return ts.get(e);for(;ms.has(rs);)rs++;const t=rs++;return ts.set(e,t),ms.set(t,e),t},t5=e=>ms.get(e),r5=(e,t)=>{rs=t+1,ts.set(e,t),ms.set(t,e)},Xu=Object.freeze([]),$n=Object.freeze({});function n5(e,t,r=$n){return e.theme!==r.theme&&e.theme||t||r.theme}const a5=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,i5=/(^-|-$)/g;function bh(e){return e.replace(a5,"-").replace(i5,"")}const s5=/(a)(d)/gi,Cc=e=>String.fromCharCode(e+(e>25?39:97));function yh(e){let t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=Cc(t%52)+r;return(Cc(t%52)+r).replace(s5,"$1-$2")}const Fo=5381,dn=(e,t)=>{let r=t.length;for(;r;)e=33*e^t.charCodeAt(--r);return e},Eh=e=>dn(Fo,e);function o5(e){return yh(Eh(e)>>>0)}function u5(e){return e.displayName||e.name||"Component"}function Bo(e){return typeof e=="string"&&!0}function l5(e){return Bo(e)?`styled.${e}`:`Styled(${u5(e)})`}const xh=Symbol.for("react.memo"),c5=Symbol.for("react.forward_ref"),f5={contextType:!0,defaultProps:!0,displayName:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},d5={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Th={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},h5={[c5]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[xh]:Th};function _c(e){return("type"in(t=e)&&t.type.$$typeof)===xh?Th:"$$typeof"in e?h5[e.$$typeof]:f5;var t}const m5=Object.defineProperty,p5=Object.getOwnPropertyNames,g5=Object.getOwnPropertySymbols,b5=Object.getOwnPropertyDescriptor,y5=Object.getPrototypeOf,E5=Object.prototype;function vh(e,t,r){if(typeof t!="string"){const n=y5(t);n&&n!==E5&&vh(e,n,r);const a=p5(t).concat(g5(t)),i=_c(e),s=_c(t);for(let o=0;o<a.length;++o){const u=a[o];if(!(u in d5||r&&r[u]||s&&u in s||i&&u in i)){const l=b5(t,u);try{m5(e,u,l)}catch(c){}}}}return e}function js(e){return typeof e=="function"}function wh(e){return typeof e=="object"&&"styledComponentId"in e}function ka(e,t){return e&&t?e+" "+t:e||t||""}function Ic(e,t){return e.join("")}function qa(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function zo(e,t,r=!1){if(!r&&!qa(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(let n=0;n<t.length;n++)e[n]=zo(e[n],t[n]);else if(qa(t))for(const n in t)e[n]=zo(e[n],t[n]);return e}function Ah(e,t){Object.defineProperty(e,"toString",{value:t})}const x5=class{constructor(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0}indexOfGroup(e){if(e===this._cGroup)return this._cIndex;let t=this._cIndex;if(e>this._cGroup)for(let r=this._cGroup;r<e;r++)t+=this.groupSizes[r];else for(let r=this._cGroup-1;r>=e;r--)t-=this.groupSizes[r];return this._cGroup=e,this._cIndex=t,t}insertRules(e,t){if(e>=this.groupSizes.length){const a=this.groupSizes,i=a.length;let s=i;for(;e>=s;)if(s<<=1,s<0)throw Us(16,`${e}`);this.groupSizes=new Uint32Array(s),this.groupSizes.set(a),this.length=s;for(let o=i;o<s;o++)this.groupSizes[o]=0}let r=this.indexOfGroup(e+1),n=0;for(let a=0,i=t.length;a<i;a++)this.tag.insertRule(r,t[a])&&(this.groupSizes[e]++,r++,n++);n>0&&this._cGroup>e&&(this._cIndex+=n)}clearGroup(e){if(e<this.length){const t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(let a=r;a<n;a++)this.tag.deleteRule(r);t>0&&this._cGroup>e&&(this._cIndex-=t)}}getGroup(e){let t="";if(e>=this.length||this.groupSizes[e]===0)return t;const r=this.groupSizes[e],n=this.indexOfGroup(e),a=n+r;for(let i=n;i<a;i++)t+=this.tag.getRule(i)+Gu;return t}},T5=`style[${jn}][${gh}="${Hs}"]`,v5=new RegExp(`^${jn}\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)`),Nc=e=>typeof ShadowRoot!="undefined"&&e instanceof ShadowRoot||"host"in e&&e.nodeType===11,Ho=e=>{if(!e)return document;if(Nc(e))return e;if("getRootNode"in e){const t=e.getRootNode();if(Nc(t))return t}return document},w5=(e,t,r)=>{const n=r.split(",");let a;for(let i=0,s=n.length;i<s;i++)(a=n[i])&&e.registerName(t,a)},A5=(e,t)=>{var r;const n=((r=t.textContent)!==null&&r!==void 0?r:"").split(Gu),a=[];for(let i=0,s=n.length;i<s;i++){const o=n[i].trim();if(!o)continue;const u=o.match(v5);if(u){const l=0|parseInt(u[1],10),c=u[2];l!==0&&(r5(c,l),w5(e,c,u[3]),e.getTag().insertRules(l,a)),a.length=0}else a.push(o)}},P0=e=>{const t=Ho(e.options.target).querySelectorAll(T5);for(let r=0,n=t.length;r<n;r++){const a=t[r];a&&a.getAttribute(jn)!==ph&&(A5(e,a),a.parentNode&&a.parentNode.removeChild(a))}};let Ea=!1;function S5(){if(Ea!==!1)return Ea;if(typeof document!="undefined"){const e=document.head.querySelector('meta[property="csp-nonce"]');if(e)return Ea=e.nonce||e.getAttribute("content")||void 0;const t=document.head.querySelector('meta[name="sc-nonce"]');if(t)return Ea=t.getAttribute("content")||void 0}return Ea=typeof __webpack_nonce__!="undefined"?__webpack_nonce__:void 0}const Sh=(e,t)=>{const r=document.head,n=e||r,a=document.createElement("style"),i=(u=>{const l=Array.from(u.querySelectorAll(`style[${jn}]`));return l[l.length-1]})(n),s=i!==void 0?i.nextSibling:null;a.setAttribute(jn,ph),a.setAttribute(gh,Hs);const o=t||S5();return o&&a.setAttribute("nonce",o),n.insertBefore(a,s),a},k5=class{constructor(e,t){this.element=Sh(e,t),this.element.appendChild(document.createTextNode("")),this.sheet=(r=>{var n;if(r.sheet)return r.sheet;const a=(n=r.getRootNode().styleSheets)!==null&&n!==void 0?n:document.styleSheets;for(let i=0,s=a.length;i<s;i++){const o=a[i];if(o.ownerNode===r)return o}throw Us(17)})(this.element),this.length=0}insertRule(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(r){return!1}}deleteRule(e){this.sheet.deleteRule(e),this.length--}getRule(e){const t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""}},C5=class{constructor(e,t){this.element=Sh(e,t),this.nodes=this.element.childNodes,this.length=0}insertRule(e,t){if(e<=this.length&&e>=0){const r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1}deleteRule(e){this.element.removeChild(this.nodes[e]),this.length--}getRule(e){return e<this.length?this.nodes[e].textContent:""}};let Oc=Oa;const _5={isServer:!Oa,useCSSOMInjection:!Z6};class $s{static registerId(t){return Ii(t)}constructor(t=$n,r={},n){this.options=Object.assign(Object.assign({},_5),t),this.gs=r,this.keyframeIds=new Set,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Oa&&Oc&&(Oc=!1,P0(this)),Ah(this,()=>(a=>{const i=a.getTag(),{length:s}=i;let o="";for(let u=0;u<s;u++){const l=t5(u);if(l===void 0)continue;const c=a.names.get(l);if(c===void 0||!c.size)continue;const f=i.getGroup(u);if(f.length===0)continue;const p=jn+".g"+u+'[id="'+l+'"]';let h="";for(const b of c)b.length>0&&(h+=b+",");o+=f+p+'{content:"'+h+'"}'+Gu}return o})(this))}rehydrate(){!this.server&&Oa&&P0(this)}reconstructWithOptions(t,r=!0){const n=new $s(Object.assign(Object.assign({},this.options),t),this.gs,r&&this.names||void 0);return n.keyframeIds=new Set(this.keyframeIds),!this.server&&Oa&&t.target!==this.options.target&&Ho(this.options.target)!==Ho(t.target)&&P0(n),n}allocateGSInstance(t){return this.gs[t]=(this.gs[t]||0)+1}getTag(){return this.tag||(this.tag=(t=(({useCSSOMInjection:r,target:n,nonce:a})=>r?new k5(n,a):new C5(n,a))(this.options),new x5(t)));var t}hasNameForId(t,r){var n,a;return(a=(n=this.names.get(t))===null||n===void 0?void 0:n.has(r))!==null&&a!==void 0&&a}registerName(t,r){Ii(t),t.startsWith(e5)&&this.keyframeIds.add(t);const n=this.names.get(t);n?n.add(r):this.names.set(t,new Set([r]))}insertRules(t,r,n){this.registerName(t,r),this.getTag().insertRules(Ii(t),n)}clearNames(t){this.names.has(t)&&this.names.get(t).clear()}clearRules(t){this.getTag().clearGroup(Ii(t)),this.clearNames(t)}clearTag(){this.tag=void 0}}const kh=new WeakSet,I5={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexShrink:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function N5(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||e in I5||e.startsWith("--")?String(t).trim():t+"px"}const on=47;function Rc(e){if(e.charCodeAt(0)===45&&e.charCodeAt(1)===45)return e;let t="";for(let r=0;r<e.length;r++){const n=e.charCodeAt(r);t+=n>=65&&n<=90?"-"+String.fromCharCode(n+32):e[r]}return t.startsWith("ms-")?"-"+t:t}const O5=Symbol.for("sc-keyframes");function R5(e){return typeof e=="object"&&e!==null&&O5 in e}function Ch(e){return js(e)&&!(e.prototype&&e.prototype.isReactComponent)}const _h=e=>e==null||e===!1||e==="",D5=Symbol.for("react.client.reference");function Dc(e){return e.$$typeof===D5}function Ih(e,t){for(const r in e){const n=e[r];e.hasOwnProperty(r)&&!_h(n)&&(Array.isArray(n)&&kh.has(n)||js(n)?t.push(Rc(r)+":",n,";"):qa(n)?(t.push(r+" {"),Ih(n,t),t.push("}")):t.push(Rc(r)+": "+N5(r,n)+";"))}}function hn(e,t,r,n,a=[]){if(_h(e))return a;const i=typeof e;if(i==="string")return a.push(e),a;if(i==="function"){if(Dc(e))return a;if(Ch(e)&&t){const s=e(t);return hn(s,t,r,n,a)}return a.push(e),a}if(Array.isArray(e)){for(let s=0;s<e.length;s++)hn(e[s],t,r,n,a);return a}return wh(e)?(a.push(`.${e.styledComponentId}`),a):R5(e)?(r?(e.inject(r,n),a.push(e.getName(n))):a.push(e),a):Dc(e)?a:qa(e)?(Ih(e,a),a):(a.push(e.toString()),a)}const L5=Eh(Hs);class M5{constructor(t,r,n){this.rules=t,this.componentId=r,this.baseHash=dn(L5,r),this.baseStyle=n,$s.registerId(r)}generateAndInjectStyles(t,r,n){let a=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";{let i="";for(let s=0;s<this.rules.length;s++){const o=this.rules[s];if(typeof o=="string")i+=o;else if(o)if(Ch(o)){const u=o(t);typeof u=="string"?i+=u:u!=null&&u!==!1&&(i+=Ic(hn(u,t,r,n)))}else i+=Ic(hn(o,t,r,n))}if(i){this.dynamicNameCache||(this.dynamicNameCache=new Map);const s=n.hash?n.hash+i:i;let o=this.dynamicNameCache.get(s);if(!o){if(o=yh(dn(dn(this.baseHash,n.hash),i)>>>0),this.dynamicNameCache.size>=200){const u=this.dynamicNameCache.keys().next().value;u!==void 0&&this.dynamicNameCache.delete(u)}this.dynamicNameCache.set(s,o)}if(!r.hasNameForId(this.componentId,o)){const u=n(i,"."+o,void 0,this.componentId);r.insertRules(this.componentId,o,u)}a=ka(a,o)}}return a}}const P5=/&/g;function Nh(e,t){let r=0;for(;--t>=0&&e.charCodeAt(t)===92;)r++;return!(1&~r)}function F0(e){const t=e.length;let r="",n=0,a=0,i=0,s=!1,o=!1;for(let u=0;u<t;u++){const l=e.charCodeAt(u);if(i!==0||s||l!==on||e.charCodeAt(u+1)!==42)if(s)l===42&&e.charCodeAt(u+1)===on&&(s=!1,u++);else if(l!==34&&l!==39||Nh(e,u)){if(i===0)if(l===123)a++;else if(l===125){if(a--,a<0){o=!0;let c=u+1;for(;c<t;){const f=e.charCodeAt(c);if(f===59||f===10)break;c++}c<t&&e.charCodeAt(c)===59&&c++,a=0,u=c-1,n=c;continue}a===0&&(r+=e.substring(n,u+1),n=u+1)}else l===59&&a===0&&(r+=e.substring(n,u+1),n=u+1)}else i===0?i=l:i===l&&(i=0);else s=!0,u++}return o||a!==0||i!==0?(n<t&&a===0&&i===0&&(r+=e.substring(n)),r):e}function Oh(e,t){const r=t+" ",n=","+r;for(let a=0;a<e.length;a++){const i=e[a];if(i.type==="rule"){i.value=(r+i.value).replaceAll(",",n);const s=i.props,o=[];for(let u=0;u<s.length;u++)o[u]=r+s[u];i.props=o}Array.isArray(i.children)&&i.type!=="@keyframes"&&Oh(i.children,t)}return e}function F5({options:e=$n,plugins:t=Xu}=$n){let r,n,a;const i=(p,h,b)=>b.startsWith(n)&&b.endsWith(n)&&b.replaceAll(n,"").length>0?`.${r}`:p,s=t.slice();s.push(p=>{p.type===Ps&&p.value.includes("&")&&(a||(a=new RegExp(`\\${n}\\b`,"g")),p.props[0]=p.props[0].replace(P5,n).replace(a,i))}),e.prefix&&s.push(J6),s.push(X6);let o=[];const u=K6(s.concat(Q6(p=>o.push(p)))),l=(p,h="",b="",y="&")=>{r=y,n=h,a=void 0;const x=function(w){const N=w.indexOf("//")!==-1,M=w.indexOf("}")!==-1;if(!N&&!M)return w;if(!N)return F0(w);const F=w.length;let L="",z=0,B=0,U=0,D=0,H=0,G=!1;for(;B<F;){const be=w.charCodeAt(B);if(be!==34&&be!==39||Nh(w,B))if(U===0)if(be===on&&B+1<F&&w.charCodeAt(B+1)===42){for(B+=2;B+1<F&&(w.charCodeAt(B)!==42||w.charCodeAt(B+1)!==on);)B++;B+=2}else if(be!==40)if(be!==41)if(D>0)B++;else if(be===42&&B+1<F&&w.charCodeAt(B+1)===on)L+=w.substring(z,B),B+=2,z=B,G=!0;else if(be===on&&B+1<F&&w.charCodeAt(B+1)===on){for(L+=w.substring(z,B);B<F&&w.charCodeAt(B)!==10;)B++;z=B,G=!0}else be===123?H++:be===125&&H--,B++;else D>0&&D--,B++;else D++,B++;else B++;else U===0?U=be:U===be&&(U=0),B++}return G?(z<F&&(L+=w.substring(z)),H===0?L:F0(L)):H===0?w:F0(w)}(p);let T=W6(b||h?b+" "+h+" { "+x+" }":x);return e.namespace&&(T=Oh(T,e.namespace)),o=[],hs(T,u),o},c=e;let f=Fo;for(let p=0;p<t.length;p++)t[p].name||Us(15),f=dn(f,t[p].name);return c!=null&&c.namespace&&(f=dn(f,c.namespace)),c!=null&&c.prefix&&(f=dn(f,"p")),l.hash=f!==Fo?f.toString():"",l}const B5=new $s,z5=F5(),Rh=Q.createContext({shouldForwardProp:void 0,styleSheet:B5,stylis:z5,stylisPlugins:void 0});Rh.Consumer;function H5(){return Q.useContext(Rh)}const Dh=Q.createContext(void 0);Dh.Consumer;const Lc=Object.prototype.hasOwnProperty,B0={};function U5(e,t){const r=typeof e!="string"?"sc":bh(e);B0[r]=(B0[r]||0)+1;const n=r+"-"+o5(Hs+r+B0[r]);return t?t+"-"+n:n}function j5(e,t,r){const n=wh(e),a=e,i=!Bo(e),{attrs:s=Xu,componentId:o=U5(t.displayName,t.parentComponentId),displayName:u=l5(e)}=t,l=t.displayName&&t.componentId?bh(t.displayName)+"-"+t.componentId:t.componentId||o,c=n&&a.attrs?a.attrs.concat(s).filter(Boolean):s;let{shouldForwardProp:f}=t;if(n&&a.shouldForwardProp){const y=a.shouldForwardProp;if(t.shouldForwardProp){const x=t.shouldForwardProp;f=(T,w)=>y(T,w)&&x(T,w)}else f=y}const p=new M5(r,l,n?a.componentStyle:void 0);function h(y,x){return function(T,w,N){const{attrs:M,componentStyle:F,defaultProps:L,foldedComponentIds:z,styledComponentId:B,target:U}=T,D=Q.useContext(Dh),H=H5(),G=T.shouldForwardProp||H.shouldForwardProp,be=n5(w,D,L)||$n;let K,Y;{const me=Q.useRef(null),k=me.current;if(k!==null&&k[1]===be&&k[2]===H.styleSheet&&k[3]===H.stylis&&k[7]===F&&function(pe,te,A){const de=pe,xe=te;let Ce=0;for(const De in xe)if(Lc.call(xe,De)&&(Ce++,de[De]!==xe[De]))return!1;return Ce===A}(k[0],w,k[4]))K=k[5],Y=k[6];else{K=function(te,A,de){const xe=Object.assign(Object.assign({},A),{className:void 0,theme:de}),Ce=te.length>1;for(let De=0;De<te.length;De++){const Je=te[De],Ye=js(Je)?Je(Ce?Object.assign({},xe):xe):Je;for(const Fe in Ye)Fe==="className"?xe.className=ka(xe.className,Ye[Fe]):Fe==="style"?xe.style=Object.assign(Object.assign({},xe.style),Ye[Fe]):Fe in A&&A[Fe]===void 0||(xe[Fe]=Ye[Fe])}return"className"in A&&typeof A.className=="string"&&(xe.className=ka(xe.className,A.className)),xe}(M,w,be),Y=function(te,A,de,xe){return te.generateAndInjectStyles(A,de,xe)}(F,K,H.styleSheet,H.stylis);let pe=0;for(const te in w)Lc.call(w,te)&&pe++;me.current=[w,be,H.styleSheet,H.stylis,pe,K,Y,F]}}const V=K.as||U,le=function(me,k,pe,te){const A={};for(const de in me)me[de]===void 0||de[0]==="$"||de==="as"||de==="theme"&&me.theme===pe||(de==="forwardedAs"?A.as=me.forwardedAs:te&&!te(de,k)||(A[de]=me[de]));return A}(K,V,be,G);let Z=ka(z,B);return Y&&(Z+=" "+Y),K.className&&(Z+=" "+K.className),le[Bo(V)&&V.includes("-")?"class":"className"]=Z,N&&(le.ref=N),Q.createElement(V,le)}(b,y,x)}h.displayName=u;let b=Q.forwardRef(h);return b.attrs=c,b.componentStyle=p,b.displayName=u,b.shouldForwardProp=f,b.foldedComponentIds=n?ka(a.foldedComponentIds,a.styledComponentId):"",b.styledComponentId=l,b.target=n?a.target:e,Object.defineProperty(b,"defaultProps",{get(){return this._foldedDefaultProps},set(y){this._foldedDefaultProps=n?function(x,...T){for(const w of T)zo(x,w,!0);return x}({},a.defaultProps,y):y}}),Ah(b,()=>`.${b.styledComponentId}`),i&&vh(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),b}var $5=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]);function Mc(e,t){const r=[e[0]];for(let n=0,a=t.length;n<a;n+=1)r.push(t[n],e[n+1]);return r}const Pc=e=>(kh.add(e),e);function q5(e,...t){if(js(e)||qa(e))return Pc(hn(Mc(Xu,[e,...t])));const r=e;return t.length===0&&r.length===1&&typeof r[0]=="string"?hn(r):Pc(hn(Mc(r,t)))}function Uo(e,t,r=$n){if(!t)throw Us(1,t);const n=(a,...i)=>e(t,r,q5(a,...i));return n.attrs=a=>Uo(e,t,Object.assign(Object.assign({},r),{attrs:Array.prototype.concat(r.attrs,a).filter(Boolean)})),n.withConfig=a=>Uo(e,t,Object.assign(Object.assign({},r),a)),n}const Lh=e=>Uo(j5,e),ue=Lh;$5.forEach(e=>{ue[e]=Lh(e)});function Fc(e){const t=[],r=String(e||"");let n=r.indexOf(","),a=0,i=!1;for(;!i;){n===-1&&(n=r.length,i=!0);const s=r.slice(a,n).trim();(s||!i)&&t.push(s),a=n+1,n=r.indexOf(",",a)}return t}function Mh(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const Y5=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,V5=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,W5={};function Bc(e,t){return(W5.jsx?V5:Y5).test(e)}const G5=/[ \t\n\f\r]/g;function X5(e){return typeof e=="object"?e.type==="text"?zc(e.value):!1:zc(e)}function zc(e){return e.replace(G5,"")===""}class si{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}}si.prototype.normal={};si.prototype.property={};si.prototype.space=void 0;function Ph(e,t){const r={},n={};for(const a of e)Object.assign(r,a.property),Object.assign(n,a.normal);return new si(r,n,t)}function Ya(e){return e.toLowerCase()}class Dt{constructor(t,r){this.attribute=r,this.property=t}}Dt.prototype.attribute="";Dt.prototype.booleanish=!1;Dt.prototype.boolean=!1;Dt.prototype.commaOrSpaceSeparated=!1;Dt.prototype.commaSeparated=!1;Dt.prototype.defined=!1;Dt.prototype.mustUseProperty=!1;Dt.prototype.number=!1;Dt.prototype.overloadedBoolean=!1;Dt.prototype.property="";Dt.prototype.spaceSeparated=!1;Dt.prototype.space=void 0;let K5=0;const _e=Tn(),it=Tn(),jo=Tn(),oe=Tn(),Ve=Tn(),Fn=Tn(),Mt=Tn();function Tn(){return ac(2,++K5)}const $o=Object.freeze(Object.defineProperty({__proto__:null,boolean:_e,booleanish:it,commaOrSpaceSeparated:Mt,commaSeparated:Fn,number:oe,overloadedBoolean:jo,spaceSeparated:Ve},Symbol.toStringTag,{value:"Module"})),z0=Object.keys($o);class Ku extends Dt{constructor(t,r,n,a){let i=-1;if(super(t,r),Hc(this,"space",a),typeof n=="number")for(;++i<z0.length;){const s=z0[i];Hc(this,z0[i],(n&$o[s])===$o[s])}}}Ku.prototype.defined=!0;function Hc(e,t,r){r&&(e[t]=r)}function ta(e){const t={},r={};for(const[n,a]of Object.entries(e.properties)){const i=new Ku(n,e.transform(e.attributes||{},n),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(i.mustUseProperty=!0),t[n]=i,r[Ya(n)]=n,r[Ya(i.attribute)]=n}return new si(t,r,e.space)}const Fh=ta({properties:{ariaActiveDescendant:null,ariaAtomic:it,ariaAutoComplete:null,ariaBusy:it,ariaChecked:it,ariaColCount:oe,ariaColIndex:oe,ariaColSpan:oe,ariaControls:Ve,ariaCurrent:null,ariaDescribedBy:Ve,ariaDetails:null,ariaDisabled:it,ariaDropEffect:Ve,ariaErrorMessage:null,ariaExpanded:it,ariaFlowTo:Ve,ariaGrabbed:it,ariaHasPopup:null,ariaHidden:it,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ve,ariaLevel:oe,ariaLive:null,ariaModal:it,ariaMultiLine:it,ariaMultiSelectable:it,ariaOrientation:null,ariaOwns:Ve,ariaPlaceholder:null,ariaPosInSet:oe,ariaPressed:it,ariaReadOnly:it,ariaRelevant:null,ariaRequired:it,ariaRoleDescription:Ve,ariaRowCount:oe,ariaRowIndex:oe,ariaRowSpan:oe,ariaSelected:it,ariaSetSize:oe,ariaSort:null,ariaValueMax:oe,ariaValueMin:oe,ariaValueNow:oe,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Bh(e,t){return t in e?e[t]:t}function zh(e,t){return Bh(e,t.toLowerCase())}const Q5=ta({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Fn,acceptCharset:Ve,accessKey:Ve,action:null,allow:null,allowFullScreen:_e,allowPaymentRequest:_e,allowUserMedia:_e,alt:null,as:null,async:_e,autoCapitalize:null,autoComplete:Ve,autoFocus:_e,autoPlay:_e,blocking:Ve,capture:null,charSet:null,checked:_e,cite:null,className:Ve,cols:oe,colSpan:null,content:null,contentEditable:it,controls:_e,controlsList:Ve,coords:oe|Fn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:_e,defer:_e,dir:null,dirName:null,disabled:_e,download:jo,draggable:it,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:_e,formTarget:null,headers:Ve,height:oe,hidden:jo,high:oe,href:null,hrefLang:null,htmlFor:Ve,httpEquiv:Ve,id:null,imageSizes:null,imageSrcSet:null,inert:_e,inputMode:null,integrity:null,is:null,isMap:_e,itemId:null,itemProp:Ve,itemRef:Ve,itemScope:_e,itemType:Ve,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:_e,low:oe,manifest:null,max:null,maxLength:oe,media:null,method:null,min:null,minLength:oe,multiple:_e,muted:_e,name:null,nonce:null,noModule:_e,noValidate:_e,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:_e,optimum:oe,pattern:null,ping:Ve,placeholder:null,playsInline:_e,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:_e,referrerPolicy:null,rel:Ve,required:_e,reversed:_e,rows:oe,rowSpan:oe,sandbox:Ve,scope:null,scoped:_e,seamless:_e,selected:_e,shadowRootClonable:_e,shadowRootDelegatesFocus:_e,shadowRootMode:null,shape:null,size:oe,sizes:null,slot:null,span:oe,spellCheck:it,src:null,srcDoc:null,srcLang:null,srcSet:null,start:oe,step:null,style:null,tabIndex:oe,target:null,title:null,translate:null,type:null,typeMustMatch:_e,useMap:null,value:it,width:oe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ve,axis:null,background:null,bgColor:null,border:oe,borderColor:null,bottomMargin:oe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:_e,declare:_e,event:null,face:null,frame:null,frameBorder:null,hSpace:oe,leftMargin:oe,link:null,longDesc:null,lowSrc:null,marginHeight:oe,marginWidth:oe,noResize:_e,noHref:_e,noShade:_e,noWrap:_e,object:null,profile:null,prompt:null,rev:null,rightMargin:oe,rules:null,scheme:null,scrolling:it,standby:null,summary:null,text:null,topMargin:oe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:oe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:_e,disableRemotePlayback:_e,prefix:null,property:null,results:oe,security:null,unselectable:null},space:"html",transform:zh}),J5=ta({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Mt,accentHeight:oe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:oe,amplitude:oe,arabicForm:null,ascent:oe,attributeName:null,attributeType:null,azimuth:oe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:oe,by:null,calcMode:null,capHeight:oe,className:Ve,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:oe,diffuseConstant:oe,direction:null,display:null,dur:null,divisor:oe,dominantBaseline:null,download:_e,dx:null,dy:null,edgeMode:null,editable:null,elevation:oe,enableBackground:null,end:null,event:null,exponent:oe,externalResourcesRequired:null,fill:null,fillOpacity:oe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Fn,g2:Fn,glyphName:Fn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:oe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:oe,horizOriginX:oe,horizOriginY:oe,id:null,ideographic:oe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:oe,k:oe,k1:oe,k2:oe,k3:oe,k4:oe,kernelMatrix:Mt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:oe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:oe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:oe,overlineThickness:oe,paintOrder:null,panose1:null,path:null,pathLength:oe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ve,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:oe,pointsAtY:oe,pointsAtZ:oe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Mt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Mt,rev:Mt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Mt,requiredFeatures:Mt,requiredFonts:Mt,requiredFormats:Mt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:oe,specularExponent:oe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:oe,strikethroughThickness:oe,string:null,stroke:null,strokeDashArray:Mt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:oe,strokeOpacity:oe,strokeWidth:null,style:null,surfaceScale:oe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Mt,tabIndex:oe,tableValues:null,target:null,targetX:oe,targetY:oe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Mt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:oe,underlineThickness:oe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:oe,values:null,vAlphabetic:oe,vMathematical:oe,vectorEffect:null,vHanging:oe,vIdeographic:oe,version:null,vertAdvY:oe,vertOriginX:oe,vertOriginY:oe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:oe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Bh}),Hh=ta({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Uh=ta({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:zh}),jh=ta({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Z5={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},eg=/[A-Z]/g,Uc=/-[a-z]/g,tg=/^data[-\w.:]+$/i;function qs(e,t){const r=Ya(t);let n=t,a=Dt;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&tg.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Uc,ng);n="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Uc.test(i)){let s=i.replace(eg,rg);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}a=Ku}return new a(n,t)}function rg(e){return"-"+e.toLowerCase()}function ng(e){return e.charAt(1).toUpperCase()}const oi=Ph([Fh,Q5,Hh,Uh,jh],"html"),Kr=Ph([Fh,J5,Hh,Uh,jh],"svg");function jc(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function $h(e){return e.join(" ").trim()}var Va=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Ys(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qu={},$c=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,ag=/\n/g,ig=/^\s*/,sg=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,og=/^:\s*/,ug=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,lg=/^[;\s]*/,cg=/^\s+|\s+$/g,fg=`
13
+ `,qc="/",Yc="*",un="",dg="comment",hg="declaration";function mg(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,n=1;function a(b){var y=b.match(ag);y&&(r+=y.length);var x=b.lastIndexOf(fg);n=~x?b.length-x:n+b.length}function i(){var b={line:r,column:n};return function(y){return y.position=new s(b),l(),y}}function s(b){this.start=b,this.end={line:r,column:n},this.source=t.source}s.prototype.content=e;function o(b){var y=new Error(t.source+":"+r+":"+n+": "+b);if(y.reason=b,y.filename=t.source,y.line=r,y.column=n,y.source=e,!t.silent)throw y}function u(b){var y=b.exec(e);if(y){var x=y[0];return a(x),e=e.slice(x.length),y}}function l(){u(ig)}function c(b){var y;for(b=b||[];y=f();)y!==!1&&b.push(y);return b}function f(){var b=i();if(!(qc!=e.charAt(0)||Yc!=e.charAt(1))){for(var y=2;un!=e.charAt(y)&&(Yc!=e.charAt(y)||qc!=e.charAt(y+1));)++y;if(y+=2,un===e.charAt(y-1))return o("End of comment missing");var x=e.slice(2,y-2);return n+=2,a(x),e=e.slice(y),n+=2,b({type:dg,comment:x})}}function p(){var b=i(),y=u(sg);if(y){if(f(),!u(og))return o("property missing ':'");var x=u(ug),T=b({type:hg,property:Vc(y[0].replace($c,un)),value:x?Vc(x[0].replace($c,un)):un});return u(lg),T}}function h(){var b=[];c(b);for(var y;y=p();)y!==!1&&(b.push(y),c(b));return b}return l(),h()}function Vc(e){return e?e.replace(cg,un):un}var pg=mg,gg=Va&&Va.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Qu,"__esModule",{value:!0});Qu.default=yg;const bg=gg(pg);function yg(e,t){let r=null;if(!e||typeof e!="string")return r;const n=(0,bg.default)(e),a=typeof t=="function";return n.forEach(i=>{if(i.type!=="declaration")return;const{property:s,value:o}=i;a?t(s,o,i):o&&(r=r||{},r[s]=o)}),r}var Vs={};Object.defineProperty(Vs,"__esModule",{value:!0});Vs.camelCase=void 0;var Eg=/^--[a-zA-Z0-9_-]+$/,xg=/-([a-z])/g,Tg=/^[^-]+$/,vg=/^-(webkit|moz|ms|o|khtml)-/,wg=/^-(ms)-/,Ag=function(e){return!e||Tg.test(e)||Eg.test(e)},Sg=function(e,t){return t.toUpperCase()},Wc=function(e,t){return"".concat(t,"-")},kg=function(e,t){return t===void 0&&(t={}),Ag(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(wg,Wc):e=e.replace(vg,Wc),e.replace(xg,Sg))};Vs.camelCase=kg;var Cg=Va&&Va.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},_g=Cg(Qu),Ig=Vs;function qo(e,t){var r={};return!e||typeof e!="string"||(0,_g.default)(e,function(n,a){n&&a&&(r[(0,Ig.camelCase)(n,t)]=a)}),r}qo.default=qo;var Ng=qo;const Og=Ys(Ng),Ws=qh("end"),dr=qh("start");function qh(e){return t;function t(r){const n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function Rg(e){const t=dr(e),r=Ws(e);if(t&&r)return{start:t,end:r}}function Ra(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Gc(e.position):"start"in e||"end"in e?Gc(e):"line"in e||"column"in e?Yo(e):""}function Yo(e){return Xc(e&&e.line)+":"+Xc(e&&e.column)}function Gc(e){return Yo(e&&e.start)+"-"+Yo(e&&e.end)}function Xc(e){return e&&typeof e=="number"?e:1}class Tt extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let a="",i={},s=!1;if(r&&("line"in r&&"column"in r?i={place:r}:"start"in r&&"end"in r?i={place:r}:"type"in r?i={ancestors:[r],place:r.position}:i=ne({},r)),typeof t=="string"?a=t:!i.cause&&t&&(s=!0,a=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof n=="string"){const u=n.indexOf(":");u===-1?i.ruleId=n:(i.source=n.slice(0,u),i.ruleId=n.slice(u+1))}if(!i.place&&i.ancestors&&i.ancestors){const u=i.ancestors[i.ancestors.length-1];u&&(i.place=u.position)}const o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=o?o.line:void 0,this.name=Ra(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=s&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Tt.prototype.file="";Tt.prototype.name="";Tt.prototype.reason="";Tt.prototype.message="";Tt.prototype.stack="";Tt.prototype.column=void 0;Tt.prototype.line=void 0;Tt.prototype.ancestors=void 0;Tt.prototype.cause=void 0;Tt.prototype.fatal=void 0;Tt.prototype.place=void 0;Tt.prototype.ruleId=void 0;Tt.prototype.source=void 0;const Ju={}.hasOwnProperty,Dg=new Map,Lg=/[A-Z]/g,Mg=new Set(["table","tbody","thead","tfoot","tr"]),Pg=new Set(["td","th"]),Yh="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Fg(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let n;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=Yg(r,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=qg(r,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Kr:oi,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=Vh(a,e,void 0);return i&&typeof i!="string"?i:a.create(e,a.Fragment,{children:i||void 0},void 0)}function Vh(e,t,r){if(t.type==="element")return Bg(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return zg(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Ug(e,t,r);if(t.type==="mdxjsEsm")return Hg(e,t);if(t.type==="root")return jg(e,t,r);if(t.type==="text")return $g(e,t)}function Bg(e,t,r){const n=e.schema;let a=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(a=Kr,e.schema=a),e.ancestors.push(t);const i=Gh(e,t.tagName,!1),s=Vg(e,t);let o=el(e,t);return Mg.has(t.tagName)&&(o=o.filter(function(u){return typeof u=="string"?!X5(u):!0})),Wh(e,s,i,t),Zu(s,o),e.ancestors.pop(),e.schema=n,e.create(t,i,s,r)}function zg(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}Wa(e,t.position)}function Hg(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Wa(e,t.position)}function Ug(e,t,r){const n=e.schema;let a=n;t.name==="svg"&&n.space==="html"&&(a=Kr,e.schema=a),e.ancestors.push(t);const i=t.name===null?e.Fragment:Gh(e,t.name,!0),s=Wg(e,t),o=el(e,t);return Wh(e,s,i,t),Zu(s,o),e.ancestors.pop(),e.schema=n,e.create(t,i,s,r)}function jg(e,t,r){const n={};return Zu(n,el(e,t)),e.create(t,e.Fragment,n,r)}function $g(e,t){return t.value}function Wh(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function Zu(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function qg(e,t,r){return n;function n(a,i,s,o){const l=Array.isArray(s.children)?r:t;return o?l(i,s,o):l(i,s)}}function Yg(e,t){return r;function r(n,a,i,s){const o=Array.isArray(i.children),u=dr(n);return t(a,i,s,o,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function Vg(e,t){const r={};let n,a;for(a in t.properties)if(a!=="children"&&Ju.call(t.properties,a)){const i=Gg(e,a,t.properties[a]);if(i){const[s,o]=i;e.tableCellAlignToStyle&&s==="align"&&typeof o=="string"&&Pg.has(t.tagName)?n=o:r[s]=o}}if(n){const i=r.style||(r.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function Wg(e,t){const r={};for(const n of t.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&e.evaluater){const i=n.data.estree.body[0];i.type;const s=i.expression;s.type;const o=s.properties[0];o.type,Object.assign(r,e.evaluater.evaluateExpression(o.argument))}else Wa(e,t.position);else{const a=n.name;let i;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&e.evaluater){const o=n.value.data.estree.body[0];o.type,i=e.evaluater.evaluateExpression(o.expression)}else Wa(e,t.position);else i=n.value===null?!0:n.value;r[a]=i}return r}function el(e,t){const r=[];let n=-1;const a=e.passKeys?new Map:Dg;for(;++n<t.children.length;){const i=t.children[n];let s;if(e.passKeys){const u=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(u){const l=a.get(u)||0;s=u+"-"+l,a.set(u,l+1)}}const o=Vh(e,i,s);o!==void 0&&r.push(o)}return r}function Gg(e,t,r){const n=qs(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?Mh(r):$h(r)),n.property==="style"){let a=typeof r=="object"?r:Xg(e,String(r));return e.stylePropertyNameCase==="css"&&(a=Kg(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&n.space?Z5[n.property]||n.property:n.attribute,r]}}function Xg(e,t){try{return Og(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const n=r,a=new Tt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=Yh+"#cannot-parse-style-attribute",a}}function Gh(e,t,r){let n;if(!r)n={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let i=-1,s;for(;++i<a.length;){const o=Bc(a[i])?{type:"Identifier",name:a[i]}:{type:"Literal",value:a[i]};s=s?{type:"MemberExpression",object:s,property:o,computed:!!(i&&o.type==="Literal"),optional:!1}:o}n=s}else n=Bc(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const a=n.value;return Ju.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(n);Wa(e)}function Wa(e,t){const r=new Tt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Yh+"#cannot-handle-mdx-estrees-without-createevaluater",r}function Kg(e){const t={};let r;for(r in e)Ju.call(e,r)&&(t[Qg(r)]=e[r]);return t}function Qg(e){let t=e.replace(Lg,Jg);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Jg(e){return"-"+e.toLowerCase()}const H0={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Zg={};function tl(e,t){const r=Zg,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,a=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return Xh(e,n,a)}function Xh(e,t,r){if(eb(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Kc(e.children,t,r)}return Array.isArray(e)?Kc(e,t,r):""}function Kc(e,t,r){const n=[];let a=-1;for(;++a<e.length;)n[a]=Xh(e[a],t,r);return n.join("")}function eb(e){return!!(e&&typeof e=="object")}const Qc=document.createElement("i");function rl(e){const t="&"+e+";";Qc.innerHTML=t;const r=Qc.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function Pt(e,t,r,n){const a=e.length;let i=0,s;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,r=r>0?r:0,n.length<1e4)s=Array.from(n),s.unshift(t,r),e.splice(...s);else for(r&&e.splice(t,r);i<n.length;)s=n.slice(i,i+1e4),s.unshift(t,0),e.splice(...s),i+=1e4,t+=1e4}function $t(e,t){return e.length>0?(Pt(e,e.length,0,t),e):t}const Jc={}.hasOwnProperty;function Kh(e){const t={};let r=-1;for(;++r<e.length;)tb(t,e[r]);return t}function tb(e,t){let r;for(r in t){const a=(Jc.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];let s;if(i)for(s in i){Jc.call(a,s)||(a[s]=[]);const o=i[s];rb(a[s],Array.isArray(o)?o:o?[o]:[])}}}function rb(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);Pt(e,0,0,n)}function Qh(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function Zt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const St=Qr(/[A-Za-z]/),yt=Qr(/[\dA-Za-z]/),nb=Qr(/[#-'*+\--9=?A-Z^-~]/);function ps(e){return e!==null&&(e<32||e===127)}const Vo=Qr(/\d/),ab=Qr(/[\dA-Fa-f]/),ib=Qr(/[!-/:-@[-`{-~]/);function ye(e){return e!==null&&e<-2}function $e(e){return e!==null&&(e<0||e===32)}function Pe(e){return e===-2||e===-1||e===32}const Gs=Qr(new RegExp("\\p{P}|\\p{S}","u")),bn=Qr(/\s/);function Qr(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function ra(e){const t=[];let r=-1,n=0,a=0;for(;++r<e.length;){const i=e.charCodeAt(r);let s="";if(i===37&&yt(e.charCodeAt(r+1))&&yt(e.charCodeAt(r+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(s=String.fromCharCode(i));else if(i>55295&&i<57344){const o=e.charCodeAt(r+1);i<56320&&o>56319&&o<57344?(s=String.fromCharCode(i,o),a=1):s="�"}else s=String.fromCharCode(i);s&&(t.push(e.slice(n,r),encodeURIComponent(s)),n=r+a+1,s=""),a&&(r+=a,a=0)}return t.join("")+e.slice(n)}function Me(e,t,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let i=0;return s;function s(u){return Pe(u)?(e.enter(r),o(u)):t(u)}function o(u){return Pe(u)&&i++<a?(e.consume(u),o):(e.exit(r),t(u))}}const sb={tokenize:ob};function ob(e){const t=e.attempt(this.parser.constructs.contentInitial,n,a);let r;return t;function n(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Me(e,t,"linePrefix")}function a(o){return e.enter("paragraph"),i(o)}function i(o){const u=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=u),r=u,s(o)}function s(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return ye(o)?(e.consume(o),e.exit("chunkText"),i):(e.consume(o),s)}}const ub={tokenize:lb},Zc={tokenize:cb};function lb(e){const t=this,r=[];let n=0,a,i,s;return o;function o(N){if(n<r.length){const M=r[n];return t.containerState=M[1],e.attempt(M[0].continuation,u,l)(N)}return l(N)}function u(N){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&w();const M=t.events.length;let F=M,L;for(;F--;)if(t.events[F][0]==="exit"&&t.events[F][1].type==="chunkFlow"){L=t.events[F][1].end;break}T(n);let z=M;for(;z<t.events.length;)t.events[z][1].end=ne({},L),z++;return Pt(t.events,F+1,0,t.events.slice(M)),t.events.length=z,l(N)}return o(N)}function l(N){if(n===r.length){if(!a)return p(N);if(a.currentConstruct&&a.currentConstruct.concrete)return b(N);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Zc,c,f)(N)}function c(N){return a&&w(),T(n),p(N)}function f(N){return t.parser.lazy[t.now().line]=n!==r.length,s=t.now().offset,b(N)}function p(N){return t.containerState={},e.attempt(Zc,h,b)(N)}function h(N){return n++,r.push([t.currentConstruct,t.containerState]),p(N)}function b(N){if(N===null){a&&w(),T(0),e.consume(N);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:i}),y(N)}function y(N){if(N===null){x(e.exit("chunkFlow"),!0),T(0),e.consume(N);return}return ye(N)?(e.consume(N),x(e.exit("chunkFlow")),n=0,t.interrupt=void 0,o):(e.consume(N),y)}function x(N,M){const F=t.sliceStream(N);if(M&&F.push(null),N.previous=i,i&&(i.next=N),i=N,a.defineSkip(N.start),a.write(F),t.parser.lazy[N.start.line]){let L=a.events.length;for(;L--;)if(a.events[L][1].start.offset<s&&(!a.events[L][1].end||a.events[L][1].end.offset>s))return;const z=t.events.length;let B=z,U,D;for(;B--;)if(t.events[B][0]==="exit"&&t.events[B][1].type==="chunkFlow"){if(U){D=t.events[B][1].end;break}U=!0}for(T(n),L=z;L<t.events.length;)t.events[L][1].end=ne({},D),L++;Pt(t.events,B+1,0,t.events.slice(z)),t.events.length=L}}function T(N){let M=r.length;for(;M-- >N;){const F=r[M];t.containerState=F[1],F[0].exit.call(t,e)}r.length=N}function w(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function cb(e,t,r){return Me(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function qn(e){if(e===null||$e(e)||bn(e))return 1;if(Gs(e))return 2}function Xs(e,t,r){const n=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!n.includes(i)&&(t=i(t,r),n.push(i))}return t}const Wo={name:"attention",resolveAll:fb,tokenize:db};function fb(e,t){let r=-1,n,a,i,s,o,u,l,c;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;u=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const f=ne({},e[n][1].end),p=ne({},e[r][1].start);e1(f,-u),e1(p,u),s={type:u>1?"strongSequence":"emphasisSequence",start:f,end:ne({},e[n][1].end)},o={type:u>1?"strongSequence":"emphasisSequence",start:ne({},e[r][1].start),end:p},i={type:u>1?"strongText":"emphasisText",start:ne({},e[n][1].end),end:ne({},e[r][1].start)},a={type:u>1?"strong":"emphasis",start:ne({},s.start),end:ne({},o.end)},e[n][1].end=ne({},s.start),e[r][1].start=ne({},o.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=$t(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=$t(l,[["enter",a,t],["enter",s,t],["exit",s,t],["enter",i,t]]),l=$t(l,Xs(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),l=$t(l,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",a,t]]),e[r][1].end.offset-e[r][1].start.offset?(c=2,l=$t(l,[["enter",e[r][1],t],["exit",e[r][1],t]])):c=0,Pt(e,n-1,r-n+3,l),r=n+l.length-c-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function db(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,a=qn(n);let i;return s;function s(u){return i=u,e.enter("attentionSequence"),o(u)}function o(u){if(u===i)return e.consume(u),o;const l=e.exit("attentionSequence"),c=qn(u),f=!c||c===2&&a||r.includes(u),p=!a||a===2&&c||r.includes(n);return l._open=!!(i===42?f:f&&(a||!p)),l._close=!!(i===42?p:p&&(c||!f)),t(u)}}function e1(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const hb={name:"autolink",tokenize:mb};function mb(e,t,r){let n=0;return a;function a(h){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(h){return St(h)?(e.consume(h),s):h===64?r(h):l(h)}function s(h){return h===43||h===45||h===46||yt(h)?(n=1,o(h)):l(h)}function o(h){return h===58?(e.consume(h),n=0,u):(h===43||h===45||h===46||yt(h))&&n++<32?(e.consume(h),o):(n=0,l(h))}function u(h){return h===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):h===null||h===32||h===60||ps(h)?r(h):(e.consume(h),u)}function l(h){return h===64?(e.consume(h),c):nb(h)?(e.consume(h),l):r(h)}function c(h){return yt(h)?f(h):r(h)}function f(h){return h===46?(e.consume(h),n=0,c):h===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):p(h)}function p(h){if((h===45||yt(h))&&n++<63){const b=h===45?p:f;return e.consume(h),b}return r(h)}}const ui={partial:!0,tokenize:pb};function pb(e,t,r){return n;function n(i){return Pe(i)?Me(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||ye(i)?t(i):r(i)}}const Jh={continuation:{tokenize:bb},exit:yb,name:"blockQuote",tokenize:gb};function gb(e,t,r){const n=this;return a;function a(s){if(s===62){const o=n.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),i}return r(s)}function i(s){return Pe(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function bb(e,t,r){const n=this;return a;function a(s){return Pe(s)?Me(e,i,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):i(s)}function i(s){return e.attempt(Jh,t,r)(s)}}function yb(e){e.exit("blockQuote")}const Zh={name:"characterEscape",tokenize:Eb};function Eb(e,t,r){return n;function n(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),a}function a(i){return ib(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(i)}}const em={name:"characterReference",tokenize:xb};function xb(e,t,r){const n=this;let a=0,i,s;return o;function o(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),u}function u(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,s=yt,c(f))}function l(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,s=ab,c):(e.enter("characterReferenceValue"),i=7,s=Vo,c(f))}function c(f){if(f===59&&a){const p=e.exit("characterReferenceValue");return s===yt&&!rl(n.sliceSerialize(p))?r(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(f)&&a++<i?(e.consume(f),c):r(f)}}const t1={partial:!0,tokenize:vb},r1={concrete:!0,name:"codeFenced",tokenize:Tb};function Tb(e,t,r){const n=this,a={partial:!0,tokenize:F};let i=0,s=0,o;return u;function u(L){return l(L)}function l(L){const z=n.events[n.events.length-1];return i=z&&z[1].type==="linePrefix"?z[2].sliceSerialize(z[1],!0).length:0,o=L,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(L)}function c(L){return L===o?(s++,e.consume(L),c):s<3?r(L):(e.exit("codeFencedFenceSequence"),Pe(L)?Me(e,f,"whitespace")(L):f(L))}function f(L){return L===null||ye(L)?(e.exit("codeFencedFence"),n.interrupt?t(L):e.check(t1,y,M)(L)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(L))}function p(L){return L===null||ye(L)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(L)):Pe(L)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Me(e,h,"whitespace")(L)):L===96&&L===o?r(L):(e.consume(L),p)}function h(L){return L===null||ye(L)?f(L):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(L))}function b(L){return L===null||ye(L)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(L)):L===96&&L===o?r(L):(e.consume(L),b)}function y(L){return e.attempt(a,M,x)(L)}function x(L){return e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),T}function T(L){return i>0&&Pe(L)?Me(e,w,"linePrefix",i+1)(L):w(L)}function w(L){return L===null||ye(L)?e.check(t1,y,M)(L):(e.enter("codeFlowValue"),N(L))}function N(L){return L===null||ye(L)?(e.exit("codeFlowValue"),w(L)):(e.consume(L),N)}function M(L){return e.exit("codeFenced"),t(L)}function F(L,z,B){let U=0;return D;function D(Y){return L.enter("lineEnding"),L.consume(Y),L.exit("lineEnding"),H}function H(Y){return L.enter("codeFencedFence"),Pe(Y)?Me(L,G,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Y):G(Y)}function G(Y){return Y===o?(L.enter("codeFencedFenceSequence"),be(Y)):B(Y)}function be(Y){return Y===o?(U++,L.consume(Y),be):U>=s?(L.exit("codeFencedFenceSequence"),Pe(Y)?Me(L,K,"whitespace")(Y):K(Y)):B(Y)}function K(Y){return Y===null||ye(Y)?(L.exit("codeFencedFence"),z(Y)):B(Y)}}}function vb(e,t,r){const n=this;return a;function a(s){return s===null?r(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i)}function i(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}const U0={name:"codeIndented",tokenize:Ab},wb={partial:!0,tokenize:Sb};function Ab(e,t,r){const n=this;return a;function a(l){return e.enter("codeIndented"),Me(e,i,"linePrefix",5)(l)}function i(l){const c=n.events[n.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?s(l):r(l)}function s(l){return l===null?u(l):ye(l)?e.attempt(wb,s,u)(l):(e.enter("codeFlowValue"),o(l))}function o(l){return l===null||ye(l)?(e.exit("codeFlowValue"),s(l)):(e.consume(l),o)}function u(l){return e.exit("codeIndented"),t(l)}}function Sb(e,t,r){const n=this;return a;function a(s){return n.parser.lazy[n.now().line]?r(s):ye(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):Me(e,i,"linePrefix",5)(s)}function i(s){const o=n.events[n.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):ye(s)?a(s):r(s)}}const kb={name:"codeText",previous:_b,resolve:Cb,tokenize:Ib};function Cb(e){let t=e.length-4,r=3,n,a;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="codeTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function _b(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Ib(e,t,r){let n=0,a,i;return s;function s(f){return e.enter("codeText"),e.enter("codeTextSequence"),o(f)}function o(f){return f===96?(e.consume(f),n++,o):(e.exit("codeTextSequence"),u(f))}function u(f){return f===null?r(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),u):f===96?(i=e.enter("codeTextSequence"),a=0,c(f)):ye(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),u):(e.enter("codeTextData"),l(f))}function l(f){return f===null||f===32||f===96||ye(f)?(e.exit("codeTextData"),u(f)):(e.consume(f),l)}function c(f){return f===96?(e.consume(f),a++,c):a===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(i.type="codeTextData",l(f))}}class Nb{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,r){const n=r==null?Number.POSITIVE_INFINITY:r;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){const a=r||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return n&&xa(this.left,n),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),xa(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),xa(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const r=this.left.splice(t,Number.POSITIVE_INFINITY);xa(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);xa(this.left,r.reverse())}}}function xa(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function tm(e){const t={};let r=-1,n,a,i,s,o,u,l;const c=new Nb(e);for(;++r<c.length;){for(;r in t;)r=t[r];if(n=c.get(r),r&&n[1].type==="chunkFlow"&&c.get(r-1)[1].type==="listItemPrefix"&&(u=n[1]._tokenizer.events,i=0,i<u.length&&u[i][1].type==="lineEndingBlank"&&(i+=2),i<u.length&&u[i][1].type==="content"))for(;++i<u.length&&u[i][1].type!=="content";)u[i][1].type==="chunkText"&&(u[i][1]._isInFirstContentOfListItem=!0,i++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,Ob(c,r)),r=t[r],l=!0);else if(n[1]._container){for(i=r,a=void 0;i--;)if(s=c.get(i),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(a&&(c.get(a)[1].type="lineEndingBlank"),s[1].type="lineEnding",a=i);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;a&&(n[1].end=ne({},c.get(a)[1].start),o=c.slice(a,r),o.unshift(n),c.splice(a,r-a+1,o))}}return Pt(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!l}function Ob(e,t){const r=e.get(t)[1],n=e.get(t)[2];let a=t-1;const i=[];let s=r._tokenizer;s||(s=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const o=s.events,u=[],l={};let c,f,p=-1,h=r,b=0,y=0;const x=[y];for(;h;){for(;e.get(++a)[1]!==h;);i.push(a),h._tokenizer||(c=n.sliceStream(h),h.next||c.push(null),f&&s.defineSkip(h.start),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(c),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=h,h=h.next}for(h=r;++p<o.length;)o[p][0]==="exit"&&o[p-1][0]==="enter"&&o[p][1].type===o[p-1][1].type&&o[p][1].start.line!==o[p][1].end.line&&(y=p+1,x.push(y),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(s.events=[],h?(h._tokenizer=void 0,h.previous=void 0):x.pop(),p=x.length;p--;){const T=o.slice(x[p],x[p+1]),w=i.pop();u.push([w,w+T.length-1]),e.splice(w,2,T)}for(u.reverse(),p=-1;++p<u.length;)l[b+u[p][0]]=b+u[p][1],b+=u[p][1]-u[p][0]-1;return l}const Rb={resolve:Lb,tokenize:Mb},Db={partial:!0,tokenize:Pb};function Lb(e){return tm(e),e}function Mb(e,t){let r;return n;function n(o){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),a(o)}function a(o){return o===null?i(o):ye(o)?e.check(Db,s,i)(o):(e.consume(o),a)}function i(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function s(o){return e.consume(o),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,a}}function Pb(e,t,r){const n=this;return a;function a(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Me(e,i,"linePrefix")}function i(s){if(s===null||ye(s))return r(s);const o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):e.interrupt(n.parser.constructs.flow,r,t)(s)}}function rm(e,t,r,n,a,i,s,o,u){const l=u||Number.POSITIVE_INFINITY;let c=0;return f;function f(T){return T===60?(e.enter(n),e.enter(a),e.enter(i),e.consume(T),e.exit(i),p):T===null||T===32||T===41||ps(T)?r(T):(e.enter(n),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),y(T))}function p(T){return T===62?(e.enter(i),e.consume(T),e.exit(i),e.exit(a),e.exit(n),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),h(T))}function h(T){return T===62?(e.exit("chunkString"),e.exit(o),p(T)):T===null||T===60||ye(T)?r(T):(e.consume(T),T===92?b:h)}function b(T){return T===60||T===62||T===92?(e.consume(T),h):h(T)}function y(T){return!c&&(T===null||T===41||$e(T))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(n),t(T)):c<l&&T===40?(e.consume(T),c++,y):T===41?(e.consume(T),c--,y):T===null||T===32||T===40||ps(T)?r(T):(e.consume(T),T===92?x:y)}function x(T){return T===40||T===41||T===92?(e.consume(T),y):y(T)}}function nm(e,t,r,n,a,i){const s=this;let o=0,u;return l;function l(h){return e.enter(n),e.enter(a),e.consume(h),e.exit(a),e.enter(i),c}function c(h){return o>999||h===null||h===91||h===93&&!u||h===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?r(h):h===93?(e.exit(i),e.enter(a),e.consume(h),e.exit(a),e.exit(n),t):ye(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===null||h===91||h===93||ye(h)||o++>999?(e.exit("chunkString"),c(h)):(e.consume(h),u||(u=!Pe(h)),h===92?p:f)}function p(h){return h===91||h===92||h===93?(e.consume(h),o++,f):f(h)}}function am(e,t,r,n,a,i){let s;return o;function o(p){return p===34||p===39||p===40?(e.enter(n),e.enter(a),e.consume(p),e.exit(a),s=p===40?41:p,u):r(p)}function u(p){return p===s?(e.enter(a),e.consume(p),e.exit(a),e.exit(n),t):(e.enter(i),l(p))}function l(p){return p===s?(e.exit(i),u(s)):p===null?r(p):ye(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),Me(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===s||p===null||ye(p)?(e.exit("chunkString"),l(p)):(e.consume(p),p===92?f:c)}function f(p){return p===s||p===92?(e.consume(p),c):c(p)}}function Da(e,t){let r;return n;function n(a){return ye(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,n):Pe(a)?Me(e,n,r?"linePrefix":"lineSuffix")(a):t(a)}}const Fb={name:"definition",tokenize:zb},Bb={partial:!0,tokenize:Hb};function zb(e,t,r){const n=this;let a;return i;function i(h){return e.enter("definition"),s(h)}function s(h){return nm.call(n,e,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function o(h){return a=Zt(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),u):r(h)}function u(h){return $e(h)?Da(e,l)(h):l(h)}function l(h){return rm(e,c,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function c(h){return e.attempt(Bb,f,f)(h)}function f(h){return Pe(h)?Me(e,p,"whitespace")(h):p(h)}function p(h){return h===null||ye(h)?(e.exit("definition"),n.parser.defined.push(a),t(h)):r(h)}}function Hb(e,t,r){return n;function n(o){return $e(o)?Da(e,a)(o):r(o)}function a(o){return am(e,i,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return Pe(o)?Me(e,s,"whitespace")(o):s(o)}function s(o){return o===null||ye(o)?t(o):r(o)}}const Ub={name:"hardBreakEscape",tokenize:jb};function jb(e,t,r){return n;function n(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return ye(i)?(e.exit("hardBreakEscape"),t(i)):r(i)}}const $b={name:"headingAtx",resolve:qb,tokenize:Yb};function qb(e,t){let r=e.length-2,n=3,a,i;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(a={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},i={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},Pt(e,n,r-n+1,[["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t]])),e}function Yb(e,t,r){let n=0;return a;function a(c){return e.enter("atxHeading"),i(c)}function i(c){return e.enter("atxHeadingSequence"),s(c)}function s(c){return c===35&&n++<6?(e.consume(c),s):c===null||$e(c)?(e.exit("atxHeadingSequence"),o(c)):r(c)}function o(c){return c===35?(e.enter("atxHeadingSequence"),u(c)):c===null||ye(c)?(e.exit("atxHeading"),t(c)):Pe(c)?Me(e,o,"whitespace")(c):(e.enter("atxHeadingText"),l(c))}function u(c){return c===35?(e.consume(c),u):(e.exit("atxHeadingSequence"),o(c))}function l(c){return c===null||c===35||$e(c)?(e.exit("atxHeadingText"),o(c)):(e.consume(c),l)}}const Vb=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],n1=["pre","script","style","textarea"],Wb={concrete:!0,name:"htmlFlow",resolveTo:Kb,tokenize:Qb},Gb={partial:!0,tokenize:Zb},Xb={partial:!0,tokenize:Jb};function Kb(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Qb(e,t,r){const n=this;let a,i,s,o,u;return l;function l(A){return c(A)}function c(A){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(A),f}function f(A){return A===33?(e.consume(A),p):A===47?(e.consume(A),i=!0,y):A===63?(e.consume(A),a=3,n.interrupt?t:k):St(A)?(e.consume(A),s=String.fromCharCode(A),x):r(A)}function p(A){return A===45?(e.consume(A),a=2,h):A===91?(e.consume(A),a=5,o=0,b):St(A)?(e.consume(A),a=4,n.interrupt?t:k):r(A)}function h(A){return A===45?(e.consume(A),n.interrupt?t:k):r(A)}function b(A){const de="CDATA[";return A===de.charCodeAt(o++)?(e.consume(A),o===de.length?n.interrupt?t:G:b):r(A)}function y(A){return St(A)?(e.consume(A),s=String.fromCharCode(A),x):r(A)}function x(A){if(A===null||A===47||A===62||$e(A)){const de=A===47,xe=s.toLowerCase();return!de&&!i&&n1.includes(xe)?(a=1,n.interrupt?t(A):G(A)):Vb.includes(s.toLowerCase())?(a=6,de?(e.consume(A),T):n.interrupt?t(A):G(A)):(a=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(A):i?w(A):N(A))}return A===45||yt(A)?(e.consume(A),s+=String.fromCharCode(A),x):r(A)}function T(A){return A===62?(e.consume(A),n.interrupt?t:G):r(A)}function w(A){return Pe(A)?(e.consume(A),w):D(A)}function N(A){return A===47?(e.consume(A),D):A===58||A===95||St(A)?(e.consume(A),M):Pe(A)?(e.consume(A),N):D(A)}function M(A){return A===45||A===46||A===58||A===95||yt(A)?(e.consume(A),M):F(A)}function F(A){return A===61?(e.consume(A),L):Pe(A)?(e.consume(A),F):N(A)}function L(A){return A===null||A===60||A===61||A===62||A===96?r(A):A===34||A===39?(e.consume(A),u=A,z):Pe(A)?(e.consume(A),L):B(A)}function z(A){return A===u?(e.consume(A),u=null,U):A===null||ye(A)?r(A):(e.consume(A),z)}function B(A){return A===null||A===34||A===39||A===47||A===60||A===61||A===62||A===96||$e(A)?F(A):(e.consume(A),B)}function U(A){return A===47||A===62||Pe(A)?N(A):r(A)}function D(A){return A===62?(e.consume(A),H):r(A)}function H(A){return A===null||ye(A)?G(A):Pe(A)?(e.consume(A),H):r(A)}function G(A){return A===45&&a===2?(e.consume(A),V):A===60&&a===1?(e.consume(A),le):A===62&&a===4?(e.consume(A),pe):A===63&&a===3?(e.consume(A),k):A===93&&a===5?(e.consume(A),me):ye(A)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(Gb,te,be)(A)):A===null||ye(A)?(e.exit("htmlFlowData"),be(A)):(e.consume(A),G)}function be(A){return e.check(Xb,K,te)(A)}function K(A){return e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),Y}function Y(A){return A===null||ye(A)?be(A):(e.enter("htmlFlowData"),G(A))}function V(A){return A===45?(e.consume(A),k):G(A)}function le(A){return A===47?(e.consume(A),s="",Z):G(A)}function Z(A){if(A===62){const de=s.toLowerCase();return n1.includes(de)?(e.consume(A),pe):G(A)}return St(A)&&s.length<8?(e.consume(A),s+=String.fromCharCode(A),Z):G(A)}function me(A){return A===93?(e.consume(A),k):G(A)}function k(A){return A===62?(e.consume(A),pe):A===45&&a===2?(e.consume(A),k):G(A)}function pe(A){return A===null||ye(A)?(e.exit("htmlFlowData"),te(A)):(e.consume(A),pe)}function te(A){return e.exit("htmlFlow"),t(A)}}function Jb(e,t,r){const n=this;return a;function a(s){return ye(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):r(s)}function i(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function Zb(e,t,r){return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(ui,t,r)}}const e8={name:"htmlText",tokenize:t8};function t8(e,t,r){const n=this;let a,i,s;return o;function o(k){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(k),u}function u(k){return k===33?(e.consume(k),l):k===47?(e.consume(k),F):k===63?(e.consume(k),N):St(k)?(e.consume(k),B):r(k)}function l(k){return k===45?(e.consume(k),c):k===91?(e.consume(k),i=0,b):St(k)?(e.consume(k),w):r(k)}function c(k){return k===45?(e.consume(k),h):r(k)}function f(k){return k===null?r(k):k===45?(e.consume(k),p):ye(k)?(s=f,le(k)):(e.consume(k),f)}function p(k){return k===45?(e.consume(k),h):f(k)}function h(k){return k===62?V(k):k===45?p(k):f(k)}function b(k){const pe="CDATA[";return k===pe.charCodeAt(i++)?(e.consume(k),i===pe.length?y:b):r(k)}function y(k){return k===null?r(k):k===93?(e.consume(k),x):ye(k)?(s=y,le(k)):(e.consume(k),y)}function x(k){return k===93?(e.consume(k),T):y(k)}function T(k){return k===62?V(k):k===93?(e.consume(k),T):y(k)}function w(k){return k===null||k===62?V(k):ye(k)?(s=w,le(k)):(e.consume(k),w)}function N(k){return k===null?r(k):k===63?(e.consume(k),M):ye(k)?(s=N,le(k)):(e.consume(k),N)}function M(k){return k===62?V(k):N(k)}function F(k){return St(k)?(e.consume(k),L):r(k)}function L(k){return k===45||yt(k)?(e.consume(k),L):z(k)}function z(k){return ye(k)?(s=z,le(k)):Pe(k)?(e.consume(k),z):V(k)}function B(k){return k===45||yt(k)?(e.consume(k),B):k===47||k===62||$e(k)?U(k):r(k)}function U(k){return k===47?(e.consume(k),V):k===58||k===95||St(k)?(e.consume(k),D):ye(k)?(s=U,le(k)):Pe(k)?(e.consume(k),U):V(k)}function D(k){return k===45||k===46||k===58||k===95||yt(k)?(e.consume(k),D):H(k)}function H(k){return k===61?(e.consume(k),G):ye(k)?(s=H,le(k)):Pe(k)?(e.consume(k),H):U(k)}function G(k){return k===null||k===60||k===61||k===62||k===96?r(k):k===34||k===39?(e.consume(k),a=k,be):ye(k)?(s=G,le(k)):Pe(k)?(e.consume(k),G):(e.consume(k),K)}function be(k){return k===a?(e.consume(k),a=void 0,Y):k===null?r(k):ye(k)?(s=be,le(k)):(e.consume(k),be)}function K(k){return k===null||k===34||k===39||k===60||k===61||k===96?r(k):k===47||k===62||$e(k)?U(k):(e.consume(k),K)}function Y(k){return k===47||k===62||$e(k)?U(k):r(k)}function V(k){return k===62?(e.consume(k),e.exit("htmlTextData"),e.exit("htmlText"),t):r(k)}function le(k){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),Z}function Z(k){return Pe(k)?Me(e,me,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):me(k)}function me(k){return e.enter("htmlTextData"),s(k)}}const nl={name:"labelEnd",resolveAll:i8,resolveTo:s8,tokenize:o8},r8={tokenize:u8},n8={tokenize:l8},a8={tokenize:c8};function i8(e){let t=-1;const r=[];for(;++t<e.length;){const n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const a=n.type==="labelImage"?4:2;n.type="data",t+=a}}return e.length!==r.length&&Pt(e,0,e.length,r),e}function s8(e,t){let r=e.length,n=0,a,i,s,o;for(;r--;)if(a=e[r][1],i){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[r][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(s){if(e[r][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(i=r,a.type!=="labelLink")){n=2;break}}else a.type==="labelEnd"&&(s=r);const u={type:e[i][1].type==="labelLink"?"link":"image",start:ne({},e[i][1].start),end:ne({},e[e.length-1][1].end)},l={type:"label",start:ne({},e[i][1].start),end:ne({},e[s][1].end)},c={type:"labelText",start:ne({},e[i+n+2][1].end),end:ne({},e[s-2][1].start)};return o=[["enter",u,t],["enter",l,t]],o=$t(o,e.slice(i+1,i+n+3)),o=$t(o,[["enter",c,t]]),o=$t(o,Xs(t.parser.constructs.insideSpan.null,e.slice(i+n+4,s-3),t)),o=$t(o,[["exit",c,t],e[s-2],e[s-1],["exit",l,t]]),o=$t(o,e.slice(s+1)),o=$t(o,[["exit",u,t]]),Pt(e,i,e.length,o),e}function o8(e,t,r){const n=this;let a=n.events.length,i,s;for(;a--;)if((n.events[a][1].type==="labelImage"||n.events[a][1].type==="labelLink")&&!n.events[a][1]._balanced){i=n.events[a][1];break}return o;function o(p){return i?i._inactive?f(p):(s=n.parser.defined.includes(Zt(n.sliceSerialize({start:i.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),u):r(p)}function u(p){return p===40?e.attempt(r8,c,s?c:f)(p):p===91?e.attempt(n8,c,s?l:f)(p):s?c(p):f(p)}function l(p){return e.attempt(a8,c,f)(p)}function c(p){return t(p)}function f(p){return i._balanced=!0,r(p)}}function u8(e,t,r){return n;function n(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),a}function a(f){return $e(f)?Da(e,i)(f):i(f)}function i(f){return f===41?c(f):rm(e,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return $e(f)?Da(e,u)(f):c(f)}function o(f){return r(f)}function u(f){return f===34||f===39||f===40?am(e,l,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function l(f){return $e(f)?Da(e,c)(f):c(f)}function c(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):r(f)}}function l8(e,t,r){const n=this;return a;function a(o){return nm.call(n,e,i,s,"reference","referenceMarker","referenceString")(o)}function i(o){return n.parser.defined.includes(Zt(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(o):r(o)}function s(o){return r(o)}}function c8(e,t,r){return n;function n(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),a}function a(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):r(i)}}const f8={name:"labelStartImage",resolveAll:nl.resolveAll,tokenize:d8};function d8(e,t,r){const n=this;return a;function a(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),i}function i(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),s):r(o)}function s(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):t(o)}}const h8={name:"labelStartLink",resolveAll:nl.resolveAll,tokenize:m8};function m8(e,t,r){const n=this;return a;function a(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),i}function i(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):t(s)}}const j0={name:"lineEnding",tokenize:p8};function p8(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Me(e,t,"linePrefix")}}const ns={name:"thematicBreak",tokenize:g8};function g8(e,t,r){let n=0,a;return i;function i(l){return e.enter("thematicBreak"),s(l)}function s(l){return a=l,o(l)}function o(l){return l===a?(e.enter("thematicBreakSequence"),u(l)):n>=3&&(l===null||ye(l))?(e.exit("thematicBreak"),t(l)):r(l)}function u(l){return l===a?(e.consume(l),n++,u):(e.exit("thematicBreakSequence"),Pe(l)?Me(e,o,"whitespace")(l):o(l))}}const It={continuation:{tokenize:x8},exit:v8,name:"list",tokenize:E8},b8={partial:!0,tokenize:w8},y8={partial:!0,tokenize:T8};function E8(e,t,r){const n=this,a=n.events[n.events.length-1];let i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,s=0;return o;function o(h){const b=n.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!n.containerState.marker||h===n.containerState.marker:Vo(h)){if(n.containerState.type||(n.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(ns,r,l)(h):l(h);if(!n.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(h)}return r(h)}function u(h){return Vo(h)&&++s<10?(e.consume(h),u):(!n.interrupt||s<2)&&(n.containerState.marker?h===n.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),l(h)):r(h)}function l(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||h,e.check(ui,n.interrupt?r:c,e.attempt(b8,p,f))}function c(h){return n.containerState.initialBlankLine=!0,i++,p(h)}function f(h){return Pe(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),p):r(h)}function p(h){return n.containerState.size=i+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(h)}}function x8(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(ui,a,i);function a(o){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,Me(e,t,"listItemIndent",n.containerState.size+1)(o)}function i(o){return n.containerState.furtherBlankLines||!Pe(o)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,s(o)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(y8,t,s)(o))}function s(o){return n.containerState._closeFlow=!0,n.interrupt=void 0,Me(e,e.attempt(It,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function T8(e,t,r){const n=this;return Me(e,a,"listItemIndent",n.containerState.size+1);function a(i){const s=n.events[n.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===n.containerState.size?t(i):r(i)}}function v8(e){e.exit(this.containerState.type)}function w8(e,t,r){const n=this;return Me(e,a,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(i){const s=n.events[n.events.length-1];return!Pe(i)&&s&&s[1].type==="listItemPrefixWhitespace"?t(i):r(i)}}const a1={name:"setextUnderline",resolveTo:A8,tokenize:S8};function A8(e,t){let r=e.length,n,a,i;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(a=r)}else e[r][1].type==="content"&&e.splice(r,1),!i&&e[r][1].type==="definition"&&(i=r);const s={type:"setextHeading",start:ne({},e[n][1].start),end:ne({},e[e.length-1][1].end)};return e[a][1].type="setextHeadingText",i?(e.splice(a,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=ne({},e[i][1].end)):e[n][1]=s,e.push(["exit",s,t]),e}function S8(e,t,r){const n=this;let a;return i;function i(l){let c=n.events.length,f;for(;c--;)if(n.events[c][1].type!=="lineEnding"&&n.events[c][1].type!=="linePrefix"&&n.events[c][1].type!=="content"){f=n.events[c][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||f)?(e.enter("setextHeadingLine"),a=l,s(l)):r(l)}function s(l){return e.enter("setextHeadingLineSequence"),o(l)}function o(l){return l===a?(e.consume(l),o):(e.exit("setextHeadingLineSequence"),Pe(l)?Me(e,u,"lineSuffix")(l):u(l))}function u(l){return l===null||ye(l)?(e.exit("setextHeadingLine"),t(l)):r(l)}}const k8={tokenize:C8};function C8(e){const t=this,r=e.attempt(ui,n,e.attempt(this.parser.constructs.flowInitial,a,Me(e,e.attempt(this.parser.constructs.flow,a,e.attempt(Rb,a)),"linePrefix")));return r;function n(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function a(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const _8={resolveAll:sm()},I8=im("string"),N8=im("text");function im(e){return{resolveAll:sm(e==="text"?O8:void 0),tokenize:t};function t(r){const n=this,a=this.parser.constructs[e],i=r.attempt(a,s,o);return s;function s(c){return l(c)?i(c):o(c)}function o(c){if(c===null){r.consume(c);return}return r.enter("data"),r.consume(c),u}function u(c){return l(c)?(r.exit("data"),i(c)):(r.consume(c),u)}function l(c){if(c===null)return!0;const f=a[c];let p=-1;if(f)for(;++p<f.length;){const h=f[p];if(!h.previous||h.previous.call(n,n.previous))return!0}return!1}}}function sm(e){return t;function t(r,n){let a=-1,i;for(;++a<=r.length;)i===void 0?r[a]&&r[a][1].type==="data"&&(i=a,a++):(!r[a]||r[a][1].type!=="data")&&(a!==i+2&&(r[i][1].end=r[a-1][1].end,r.splice(i+2,a-i-2),a=i+2),i=void 0);return e?e(r,n):r}}function O8(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],a=t.sliceStream(n);let i=a.length,s=-1,o=0,u;for(;i--;){const l=a[i];if(typeof l=="string"){for(s=l.length;l.charCodeAt(s-1)===32;)o++,s--;if(s)break;s=-1}else if(l===-2)u=!0,o++;else if(l!==-1){i++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(o=0),o){const l={type:r===e.length||u||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?s:n.start._bufferIndex+s,_index:n.start._index+i,line:n.end.line,column:n.end.column-o,offset:n.end.offset-o},end:ne({},n.end)};n.end=ne({},l.start),n.start.offset===n.end.offset?Object.assign(n,l):(e.splice(r,0,["enter",l,t],["exit",l,t]),r+=2)}r++}return e}const R8={42:It,43:It,45:It,48:It,49:It,50:It,51:It,52:It,53:It,54:It,55:It,56:It,57:It,62:Jh},D8={91:Fb},L8={[-2]:U0,[-1]:U0,32:U0},M8={35:$b,42:ns,45:[a1,ns],60:Wb,61:a1,95:ns,96:r1,126:r1},P8={38:em,92:Zh},F8={[-5]:j0,[-4]:j0,[-3]:j0,33:f8,38:em,42:Wo,60:[hb,e8],91:h8,92:[Ub,Zh],93:nl,95:Wo,96:kb},B8={null:[Wo,_8]},z8={null:[42,95]},H8={null:[]},U8=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:z8,contentInitial:D8,disable:H8,document:R8,flow:M8,flowInitial:L8,insideSpan:B8,string:P8,text:F8},Symbol.toStringTag,{value:"Module"}));function j8(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const a={},i=[];let s=[],o=[];const u={attempt:z(F),check:z(L),consume:w,enter:N,exit:M,interrupt:z(L,{interrupt:!0})},l={code:null,containerState:{},defineSkip:y,events:[],now:b,parser:e,previous:null,sliceSerialize:p,sliceStream:h,write:f};let c=t.tokenize.call(l,u);return t.resolveAll&&i.push(t),l;function f(H){return s=$t(s,H),x(),s[s.length-1]!==null?[]:(B(t,0),l.events=Xs(i,l.events,l),l.events)}function p(H,G){return q8(h(H),G)}function h(H){return $8(s,H)}function b(){const{_bufferIndex:H,_index:G,line:be,column:K,offset:Y}=n;return{_bufferIndex:H,_index:G,line:be,column:K,offset:Y}}function y(H){a[H.line]=H.column,D()}function x(){let H;for(;n._index<s.length;){const G=s[n._index];if(typeof G=="string")for(H=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===H&&n._bufferIndex<G.length;)T(G.charCodeAt(n._bufferIndex));else T(G)}}function T(H){c=c(H)}function w(H){ye(H)?(n.line++,n.column=1,n.offset+=H===-3?2:1,D()):H!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===s[n._index].length&&(n._bufferIndex=-1,n._index++)),l.previous=H}function N(H,G){const be=G||{};return be.type=H,be.start=b(),l.events.push(["enter",be,l]),o.push(be),be}function M(H){const G=o.pop();return G.end=b(),l.events.push(["exit",G,l]),G}function F(H,G){B(H,G.from)}function L(H,G){G.restore()}function z(H,G){return be;function be(K,Y,V){let le,Z,me,k;return Array.isArray(K)?te(K):"tokenize"in K?te([K]):pe(K);function pe(Ce){return De;function De(Je){const Ye=Je!==null&&Ce[Je],Fe=Je!==null&&Ce.null,gt=[...Array.isArray(Ye)?Ye:Ye?[Ye]:[],...Array.isArray(Fe)?Fe:Fe?[Fe]:[]];return te(gt)(Je)}}function te(Ce){return le=Ce,Z=0,Ce.length===0?V:A(Ce[Z])}function A(Ce){return De;function De(Je){return k=U(),me=Ce,Ce.partial||(l.currentConstruct=Ce),Ce.name&&l.parser.constructs.disable.null.includes(Ce.name)?xe():Ce.tokenize.call(G?Object.assign(Object.create(l),G):l,u,de,xe)(Je)}}function de(Ce){return H(me,k),Y}function xe(Ce){return k.restore(),++Z<le.length?A(le[Z]):V}}}function B(H,G){H.resolveAll&&!i.includes(H)&&i.push(H),H.resolve&&Pt(l.events,G,l.events.length-G,H.resolve(l.events.slice(G),l)),H.resolveTo&&(l.events=H.resolveTo(l.events,l))}function U(){const H=b(),G=l.previous,be=l.currentConstruct,K=l.events.length,Y=Array.from(o);return{from:K,restore:V};function V(){n=H,l.previous=G,l.currentConstruct=be,l.events.length=K,o=Y,D()}}function D(){n.line in a&&n.column<2&&(n.column=a[n.line],n.offset+=a[n.line]-1)}}function $8(e,t){const r=t.start._index,n=t.start._bufferIndex,a=t.end._index,i=t.end._bufferIndex;let s;if(r===a)s=[e[r].slice(n,i)];else{if(s=e.slice(r,a),n>-1){const o=s[0];typeof o=="string"?s[0]=o.slice(n):s.shift()}i>0&&s.push(e[a].slice(0,i))}return s}function q8(e,t){let r=-1;const n=[];let a;for(;++r<e.length;){const i=e[r];let s;if(typeof i=="string")s=i;else switch(i){case-5:{s="\r";break}case-4:{s=`
14
+ `;break}case-3:{s=`\r
15
+ `;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&a)continue;s=" ";break}default:s=String.fromCharCode(i)}a=i===-2,n.push(s)}return n.join("")}function Y8(e){const n={constructs:Kh([U8,...(e||{}).extensions||[]]),content:a(sb),defined:[],document:a(ub),flow:a(k8),lazy:{},string:a(I8),text:a(N8)};return n;function a(i){return s;function s(o){return j8(n,i,o)}}}function V8(e){for(;!tm(e););return e}const i1=/[\0\t\n\r]/g;function W8(){let e=1,t="",r=!0,n;return a;function a(i,s,o){const u=[];let l,c,f,p,h;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(s||void 0).decode(i)),f=0,t="",r&&(i.charCodeAt(0)===65279&&f++,r=void 0);f<i.length;){if(i1.lastIndex=f,l=i1.exec(i),p=l&&l.index!==void 0?l.index:i.length,h=i.charCodeAt(p),!l){t=i.slice(f);break}if(h===10&&f===p&&n)u.push(-3),n=void 0;else switch(n&&(u.push(-5),n=void 0),f<p&&(u.push(i.slice(f,p)),e+=p-f),h){case 0:{u.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,u.push(-2);e++<c;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:n=!0,e=1}f=p+1}return o&&(n&&u.push(-5),t&&u.push(t),u.push(null)),u}}const G8=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function X8(e){return e.replace(G8,K8)}function K8(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const a=r.charCodeAt(1),i=a===120||a===88;return Qh(r.slice(i?2:1),i?16:10)}return rl(r)||e}const om={}.hasOwnProperty;function Q8(e,t,r){return t&&typeof t=="object"&&(r=t,t=void 0),J8(r)(V8(Y8(r).document().write(W8()(e,t,!0))))}function J8(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(ha),autolinkProtocol:U,autolinkEmail:U,atxHeading:i(yi),blockQuote:i(Fe),characterEscape:U,characterReference:U,codeFenced:i(gt),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i(gt,s),codeText:i(rr,s),codeTextData:U,data:U,codeFlowValue:U,definition:i(Gt),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i(Sn),hardBreakEscape:i(Ei),hardBreakTrailing:i(Ei),htmlFlow:i(xi,s),htmlFlowData:U,htmlText:i(xi,s),htmlTextData:U,image:i(Ti),label:s,link:i(ha),listItem:i(A0),listItemValue:p,listOrdered:i(Zr,f),listUnordered:i(Zr),paragraph:i(S0),reference:A,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(yi),strong:i(ma),thematicBreak:i(wi)},exit:{atxHeading:u(),atxHeadingSequence:F,autolink:u(),autolinkEmail:Ye,autolinkProtocol:Je,blockQuote:u(),characterEscapeValue:D,characterReferenceMarkerHexadecimal:xe,characterReferenceMarkerNumeric:xe,characterReferenceValue:Ce,characterReference:De,codeFenced:u(x),codeFencedFence:y,codeFencedFenceInfo:h,codeFencedFenceMeta:b,codeFlowValue:D,codeIndented:u(T),codeText:u(Y),codeTextData:D,data:D,definition:u(),definitionDestinationString:M,definitionLabelString:w,definitionTitleString:N,emphasis:u(),hardBreakEscape:u(G),hardBreakTrailing:u(G),htmlFlow:u(be),htmlFlowData:D,htmlText:u(K),htmlTextData:D,image:u(le),label:me,labelText:Z,lineEnding:H,link:u(V),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:de,resourceDestinationString:k,resourceTitleString:pe,resource:te,setextHeading:u(B),setextHeadingLineSequence:z,setextHeadingText:L,strong:u(),thematicBreak:u()}};um(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(W){let fe={type:"root",children:[]};const Ae={stack:[fe],tokenStack:[],config:t,enter:o,exit:l,buffer:s,resume:c,data:r},Ne=[];let je=-1;for(;++je<W.length;)if(W[je][1].type==="listOrdered"||W[je][1].type==="listUnordered")if(W[je][0]==="enter")Ne.push(je);else{const Xt=Ne.pop();je=a(W,Xt,je)}for(je=-1;++je<W.length;){const Xt=t[W[je][0]];om.call(Xt,W[je][1].type)&&Xt[W[je][1].type].call(Object.assign({sliceSerialize:W[je][2].sliceSerialize},Ae),W[je][1])}if(Ae.tokenStack.length>0){const Xt=Ae.tokenStack[Ae.tokenStack.length-1];(Xt[1]||s1).call(Ae,void 0,Xt[0])}for(fe.position={start:Rr(W.length>0?W[0][1].start:{line:1,column:1,offset:0}),end:Rr(W.length>0?W[W.length-2][1].end:{line:1,column:1,offset:0})},je=-1;++je<t.transforms.length;)fe=t.transforms[je](fe)||fe;return fe}function a(W,fe,Ae){let Ne=fe-1,je=-1,Xt=!1,en,br,pa,ga;for(;++Ne<=Ae;){const Lt=W[Ne];switch(Lt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Lt[0]==="enter"?je++:je--,ga=void 0;break}case"lineEndingBlank":{Lt[0]==="enter"&&(en&&!ga&&!je&&!pa&&(pa=Ne),ga=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ga=void 0}if(!je&&Lt[0]==="enter"&&Lt[1].type==="listItemPrefix"||je===-1&&Lt[0]==="exit"&&(Lt[1].type==="listUnordered"||Lt[1].type==="listOrdered")){if(en){let kn=Ne;for(br=void 0;kn--;){const yr=W[kn];if(yr[1].type==="lineEnding"||yr[1].type==="lineEndingBlank"){if(yr[0]==="exit")continue;br&&(W[br][1].type="lineEndingBlank",Xt=!0),yr[1].type="lineEnding",br=kn}else if(!(yr[1].type==="linePrefix"||yr[1].type==="blockQuotePrefix"||yr[1].type==="blockQuotePrefixWhitespace"||yr[1].type==="blockQuoteMarker"||yr[1].type==="listItemIndent"))break}pa&&(!br||pa<br)&&(en._spread=!0),en.end=Object.assign({},br?W[br][1].start:Lt[1].end),W.splice(br||Ne,0,["exit",en,Lt[2]]),Ne++,Ae++}if(Lt[1].type==="listItemPrefix"){const kn={type:"listItem",_spread:!1,start:Object.assign({},Lt[1].start),end:void 0};en=kn,W.splice(Ne,0,["enter",kn,Lt[2]]),Ne++,Ae++,pa=void 0,ga=!0}}}return W[fe][1]._spread=Xt,Ae}function i(W,fe){return Ae;function Ae(Ne){o.call(this,W(Ne),Ne),fe&&fe.call(this,Ne)}}function s(){this.stack.push({type:"fragment",children:[]})}function o(W,fe,Ae){this.stack[this.stack.length-1].children.push(W),this.stack.push(W),this.tokenStack.push([fe,Ae||void 0]),W.position={start:Rr(fe.start),end:void 0}}function u(W){return fe;function fe(Ae){W&&W.call(this,Ae),l.call(this,Ae)}}function l(W,fe){const Ae=this.stack.pop(),Ne=this.tokenStack.pop();if(Ne)Ne[0].type!==W.type&&(fe?fe.call(this,W,Ne[0]):(Ne[1]||s1).call(this,W,Ne[0]));else throw new Error("Cannot close `"+W.type+"` ("+Ra({start:W.start,end:W.end})+"): it’s not open");Ae.position.end=Rr(W.end)}function c(){return tl(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(W){if(this.data.expectingFirstListItemValue){const fe=this.stack[this.stack.length-2];fe.start=Number.parseInt(this.sliceSerialize(W),10),this.data.expectingFirstListItemValue=void 0}}function h(){const W=this.resume(),fe=this.stack[this.stack.length-1];fe.lang=W}function b(){const W=this.resume(),fe=this.stack[this.stack.length-1];fe.meta=W}function y(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function x(){const W=this.resume(),fe=this.stack[this.stack.length-1];fe.value=W.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function T(){const W=this.resume(),fe=this.stack[this.stack.length-1];fe.value=W.replace(/(\r?\n|\r)$/g,"")}function w(W){const fe=this.resume(),Ae=this.stack[this.stack.length-1];Ae.label=fe,Ae.identifier=Zt(this.sliceSerialize(W)).toLowerCase()}function N(){const W=this.resume(),fe=this.stack[this.stack.length-1];fe.title=W}function M(){const W=this.resume(),fe=this.stack[this.stack.length-1];fe.url=W}function F(W){const fe=this.stack[this.stack.length-1];if(!fe.depth){const Ae=this.sliceSerialize(W).length;fe.depth=Ae}}function L(){this.data.setextHeadingSlurpLineEnding=!0}function z(W){const fe=this.stack[this.stack.length-1];fe.depth=this.sliceSerialize(W).codePointAt(0)===61?1:2}function B(){this.data.setextHeadingSlurpLineEnding=void 0}function U(W){const Ae=this.stack[this.stack.length-1].children;let Ne=Ae[Ae.length-1];(!Ne||Ne.type!=="text")&&(Ne=vi(),Ne.position={start:Rr(W.start),end:void 0},Ae.push(Ne)),this.stack.push(Ne)}function D(W){const fe=this.stack.pop();fe.value+=this.sliceSerialize(W),fe.position.end=Rr(W.end)}function H(W){const fe=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Ae=fe.children[fe.children.length-1];Ae.position.end=Rr(W.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(fe.type)&&(U.call(this,W),D.call(this,W))}function G(){this.data.atHardBreak=!0}function be(){const W=this.resume(),fe=this.stack[this.stack.length-1];fe.value=W}function K(){const W=this.resume(),fe=this.stack[this.stack.length-1];fe.value=W}function Y(){const W=this.resume(),fe=this.stack[this.stack.length-1];fe.value=W}function V(){const W=this.stack[this.stack.length-1];if(this.data.inReference){const fe=this.data.referenceType||"shortcut";W.type+="Reference",W.referenceType=fe,delete W.url,delete W.title}else delete W.identifier,delete W.label;this.data.referenceType=void 0}function le(){const W=this.stack[this.stack.length-1];if(this.data.inReference){const fe=this.data.referenceType||"shortcut";W.type+="Reference",W.referenceType=fe,delete W.url,delete W.title}else delete W.identifier,delete W.label;this.data.referenceType=void 0}function Z(W){const fe=this.sliceSerialize(W),Ae=this.stack[this.stack.length-2];Ae.label=X8(fe),Ae.identifier=Zt(fe).toLowerCase()}function me(){const W=this.stack[this.stack.length-1],fe=this.resume(),Ae=this.stack[this.stack.length-1];if(this.data.inReference=!0,Ae.type==="link"){const Ne=W.children;Ae.children=Ne}else Ae.alt=fe}function k(){const W=this.resume(),fe=this.stack[this.stack.length-1];fe.url=W}function pe(){const W=this.resume(),fe=this.stack[this.stack.length-1];fe.title=W}function te(){this.data.inReference=void 0}function A(){this.data.referenceType="collapsed"}function de(W){const fe=this.resume(),Ae=this.stack[this.stack.length-1];Ae.label=fe,Ae.identifier=Zt(this.sliceSerialize(W)).toLowerCase(),this.data.referenceType="full"}function xe(W){this.data.characterReferenceType=W.type}function Ce(W){const fe=this.sliceSerialize(W),Ae=this.data.characterReferenceType;let Ne;Ae?(Ne=Qh(fe,Ae==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ne=rl(fe);const je=this.stack[this.stack.length-1];je.value+=Ne}function De(W){const fe=this.stack.pop();fe.position.end=Rr(W.end)}function Je(W){D.call(this,W);const fe=this.stack[this.stack.length-1];fe.url=this.sliceSerialize(W)}function Ye(W){D.call(this,W);const fe=this.stack[this.stack.length-1];fe.url="mailto:"+this.sliceSerialize(W)}function Fe(){return{type:"blockquote",children:[]}}function gt(){return{type:"code",lang:null,meta:null,value:""}}function rr(){return{type:"inlineCode",value:""}}function Gt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Sn(){return{type:"emphasis",children:[]}}function yi(){return{type:"heading",depth:0,children:[]}}function Ei(){return{type:"break"}}function xi(){return{type:"html",value:""}}function Ti(){return{type:"image",title:null,url:"",alt:null}}function ha(){return{type:"link",title:null,url:"",children:[]}}function Zr(W){return{type:"list",ordered:W.type==="listOrdered",start:null,spread:W._spread,children:[]}}function A0(W){return{type:"listItem",spread:W._spread,checked:null,children:[]}}function S0(){return{type:"paragraph",children:[]}}function ma(){return{type:"strong",children:[]}}function vi(){return{type:"text",value:""}}function wi(){return{type:"thematicBreak"}}}function Rr(e){return{line:e.line,column:e.column,offset:e.offset}}function um(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?um(e,n):Z8(e,n)}}function Z8(e,t){let r;for(r in t)if(om.call(t,r))switch(r){case"canContainEols":{const n=t[r];n&&e[r].push(...n);break}case"transforms":{const n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{const n=t[r];n&&Object.assign(e[r],n);break}}}function s1(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ra({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ra({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ra({start:t.start,end:t.end})+") is still open")}function e7(e){const t=this;t.parser=r;function r(n){return Q8(n,at(ne(ne({},t.data("settings")),e),{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}}function t7(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function r7(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
16
+ `}]}function n7(e,t){const r=t.value?t.value+`
17
+ `:"",n={},a=t.lang?t.lang.split(/\s+/):[];a.length>0&&(n.className=["language-"+a[0]]);let i={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function a7(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function i7(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function s7(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),a=ra(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let s,o=e.footnoteCounts.get(n);o===void 0?(o=0,e.footnoteOrder.push(n),s=e.footnoteOrder.length):s=i+1,o+=1,e.footnoteCounts.set(n,o);const u={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,u);const l={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,l),e.applyData(t,l)}function o7(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function u7(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function lm(e,t){const r=t.referenceType;let n="]";if(r==="collapsed"?n+="[]":r==="full"&&(n+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+n}];const a=e.all(t),i=a[0];i&&i.type==="text"?i.value="["+i.value:a.unshift({type:"text",value:"["});const s=a[a.length-1];return s&&s.type==="text"?s.value+=n:a.push({type:"text",value:n}),a}function l7(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return lm(e,t);const a={src:ra(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(a.title=n.title);const i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,i),e.applyData(t,i)}function c7(e,t){const r={src:ra(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)}function f7(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)}function d7(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return lm(e,t);const a={href:ra(n.url||"")};n.title!==null&&n.title!==void 0&&(a.title=n.title);const i={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function h7(e,t){const r={href:ra(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function m7(e,t,r){const n=e.all(t),a=r?p7(r):cm(t),i={},s=[];if(typeof t.checked=="boolean"){const c=n[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},n.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let o=-1;for(;++o<n.length;){const c=n[o];(a||o!==0||c.type!=="element"||c.tagName!=="p")&&s.push({type:"text",value:`
18
+ `}),c.type==="element"&&c.tagName==="p"&&!a?s.push(...c.children):s.push(c)}const u=n[n.length-1];u&&(a||u.type!=="element"||u.tagName!=="p")&&s.push({type:"text",value:`
19
+ `});const l={type:"element",tagName:"li",properties:i,children:s};return e.patch(t,l),e.applyData(t,l)}function p7(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=cm(r[n])}return t}function cm(e){const t=e.spread;return t==null?e.children.length>1:t}function g7(e,t){const r={},n=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++a<n.length;){const s=n[a];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,i),e.applyData(t,i)}function b7(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function y7(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function E7(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function x7(e,t){const r=e.all(t),n=r.shift(),a=[];if(n){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],s),a.push(s)}if(r.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},o=dr(t.children[1]),u=Ws(t.children[t.children.length-1]);o&&u&&(s.position={start:o,end:u}),a.push(s)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)}function T7(e,t,r){const n=r?r.children:void 0,i=(n?n.indexOf(t):1)===0?"th":"td",s=r&&r.type==="table"?r.align:void 0,o=s?s.length:t.children.length;let u=-1;const l=[];for(;++u<o;){const f=t.children[u],p={},h=s?s[u]:void 0;h&&(p.align=h);let b={type:"element",tagName:i,properties:p,children:[]};f&&(b.children=e.all(f),e.patch(f,b),b=e.applyData(f,b)),l.push(b)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)}function v7(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const o1=9,u1=32;function w7(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),a=0;const i=[];for(;n;)i.push(l1(t.slice(a,n.index),a>0,!0),n[0]),a=n.index+n[0].length,n=r.exec(t);return i.push(l1(t.slice(a),a>0,!1)),i.join("")}function l1(e,t,r){let n=0,a=e.length;if(t){let i=e.codePointAt(n);for(;i===o1||i===u1;)n++,i=e.codePointAt(n)}if(r){let i=e.codePointAt(a-1);for(;i===o1||i===u1;)a--,i=e.codePointAt(a-1)}return a>n?e.slice(n,a):""}function A7(e,t){const r={type:"text",value:w7(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function S7(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const k7={blockquote:t7,break:r7,code:n7,delete:a7,emphasis:i7,footnoteReference:s7,heading:o7,html:u7,imageReference:l7,image:c7,inlineCode:f7,linkReference:d7,link:h7,listItem:m7,list:g7,paragraph:b7,root:y7,strong:E7,table:x7,tableCell:v7,tableRow:T7,text:A7,thematicBreak:S7,toml:Ni,yaml:Ni,definition:Ni,footnoteDefinition:Ni};function Ni(){}const fm=-1,Ks=0,La=1,gs=2,al=3,il=4,sl=5,ol=6,dm=7,hm=8,c1=typeof self=="object"?self:globalThis,C7=(e,t)=>{const r=(a,i)=>(e.set(i,a),a),n=a=>{if(e.has(a))return e.get(a);const[i,s]=t[a];switch(i){case Ks:case fm:return r(s,a);case La:{const o=r([],a);for(const u of s)o.push(n(u));return o}case gs:{const o=r({},a);for(const[u,l]of s)o[n(u)]=n(l);return o}case al:return r(new Date(s),a);case il:{const{source:o,flags:u}=s;return r(new RegExp(o,u),a)}case sl:{const o=r(new Map,a);for(const[u,l]of s)o.set(n(u),n(l));return o}case ol:{const o=r(new Set,a);for(const u of s)o.add(n(u));return o}case dm:{const{name:o,message:u}=s;return r(new c1[o](u),a)}case hm:return r(BigInt(s),a);case"BigInt":return r(Object(BigInt(s)),a);case"ArrayBuffer":return r(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:o}=new Uint8Array(s);return r(new DataView(o),s)}}return r(new c1[i](s),a)};return n},f1=e=>C7(new Map,e)(0),On="",{toString:_7}={},{keys:I7}=Object,Ta=e=>{const t=typeof e;if(t!=="object"||!e)return[Ks,t];const r=_7.call(e).slice(8,-1);switch(r){case"Array":return[La,On];case"Object":return[gs,On];case"Date":return[al,On];case"RegExp":return[il,On];case"Map":return[sl,On];case"Set":return[ol,On];case"DataView":return[La,r]}return r.includes("Array")?[La,r]:r.includes("Error")?[dm,r]:[gs,r]},Oi=([e,t])=>e===Ks&&(t==="function"||t==="symbol"),N7=(e,t,r,n)=>{const a=(s,o)=>{const u=n.push(s)-1;return r.set(o,u),u},i=s=>{if(r.has(s))return r.get(s);let[o,u]=Ta(s);switch(o){case Ks:{let c=s;switch(u){case"bigint":o=hm,c=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);c=null;break;case"undefined":return a([fm],s)}return a([o,c],s)}case La:{if(u){let p=s;return u==="DataView"?p=new Uint8Array(s.buffer):u==="ArrayBuffer"&&(p=new Uint8Array(s)),a([u,[...p]],s)}const c=[],f=a([o,c],s);for(const p of s)c.push(i(p));return f}case gs:{if(u)switch(u){case"BigInt":return a([u,s.toString()],s);case"Boolean":case"Number":case"String":return a([u,s.valueOf()],s)}if(t&&"toJSON"in s)return i(s.toJSON());const c=[],f=a([o,c],s);for(const p of I7(s))(e||!Oi(Ta(s[p])))&&c.push([i(p),i(s[p])]);return f}case al:return a([o,s.toISOString()],s);case il:{const{source:c,flags:f}=s;return a([o,{source:c,flags:f}],s)}case sl:{const c=[],f=a([o,c],s);for(const[p,h]of s)(e||!(Oi(Ta(p))||Oi(Ta(h))))&&c.push([i(p),i(h)]);return f}case ol:{const c=[],f=a([o,c],s);for(const p of s)(e||!Oi(Ta(p)))&&c.push(i(p));return f}}const{message:l}=s;return a([o,{name:u,message:l}],s)};return i},d1=(e,{json:t,lossy:r}={})=>{const n=[];return N7(!(t||r),!!t,new Map,n)(e),n},Yn=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?f1(d1(e,t)):structuredClone(e):(e,t)=>f1(d1(e,t));function O7(e,t){const r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function R7(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function D7(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||O7,n=e.options.footnoteBackLabel||R7,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let u=-1;for(;++u<e.footnoteOrder.length;){const l=e.footnoteById.get(e.footnoteOrder[u]);if(!l)continue;const c=e.all(l),f=String(l.identifier).toUpperCase(),p=ra(f.toLowerCase());let h=0;const b=[],y=e.footnoteCounts.get(f);for(;y!==void 0&&++h<=y;){b.length>0&&b.push({type:"text",value:" "});let w=typeof r=="string"?r:r(u,h);typeof w=="string"&&(w={type:"text",value:w}),b.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(h>1?"-"+h:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(u,h),className:["data-footnote-backref"]},children:Array.isArray(w)?w:[w]})}const x=c[c.length-1];if(x&&x.type==="element"&&x.tagName==="p"){const w=x.children[x.children.length-1];w&&w.type==="text"?w.value+=" ":x.children.push({type:"text",value:" "}),x.children.push(...b)}else c.push(...b);const T={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(c,!0)};e.patch(l,T),o.push(T)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:at(ne({},Yn(s)),{id:"footnote-label"}),children:[{type:"text",value:a}]},{type:"text",value:`
20
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
21
+ `}]}}const li=function(e){if(e==null)return F7;if(typeof e=="function")return Qs(e);if(typeof e=="object")return Array.isArray(e)?L7(e):M7(e);if(typeof e=="string")return P7(e);throw new Error("Expected function, string, or object as test")};function L7(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=li(e[r]);return Qs(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function M7(e){const t=e;return Qs(r);function r(n){const a=n;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function P7(e){return Qs(t);function t(r){return r&&r.type===e}}function Qs(e){return t;function t(r,n,a){return!!(B7(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function F7(){return!0}function B7(e){return e!==null&&typeof e=="object"&&"type"in e}const mm=[],z7=!0,Go=!1,pm="skip";function ul(e,t,r,n){let a;typeof t=="function"&&typeof r!="function"?(n=r,r=t):a=t;const i=li(a),s=n?-1:1;o(e,void 0,[])();function o(u,l,c){const f=u&&typeof u=="object"?u:{};if(typeof f.type=="string"){const h=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(u.type+(h?"<"+h+">":""))+")"})}return p;function p(){let h=mm,b,y,x;if((!t||i(u,l,c[c.length-1]||void 0))&&(h=H7(r(u,c)),h[0]===Go))return h;if("children"in u&&u.children){const T=u;if(T.children&&h[0]!==pm)for(y=(n?T.children.length:-1)+s,x=c.concat(T);y>-1&&y<T.children.length;){const w=T.children[y];if(b=o(w,y,x)(),b[0]===Go)return b;y=typeof b[1]=="number"?b[1]:y+s}}return h}}}function H7(e){return Array.isArray(e)?e:typeof e=="number"?[z7,e]:e==null?mm:[e]}function Js(e,t,r,n){let a,i,s;typeof t=="function"&&typeof r!="function"?(i=void 0,s=t,a=r):(i=t,s=r,a=n),ul(e,i,o,a);function o(u,l){const c=l[l.length-1],f=c?c.children.indexOf(u):void 0;return s(u,f,c)}}const Xo={}.hasOwnProperty,U7={};function j7(e,t){const r=t||U7,n=new Map,a=new Map,i=new Map,s=ne(ne({},k7),r.handlers),o={all:l,applyData:q7,definitionById:n,footnoteById:a,footnoteCounts:i,footnoteOrder:[],handlers:s,one:u,options:r,patch:$7,wrap:V7};return Js(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const f=c.type==="definition"?n:a,p=String(c.identifier).toUpperCase();f.has(p)||f.set(p,c)}}),o;function u(c,f){const p=c.type,h=o.handlers[p];if(Xo.call(o.handlers,p)&&h)return h(o,c,f);if(o.options.passThrough&&o.options.passThrough.includes(p)){if("children"in c){const y=c,{children:x}=y,T=Si(y,["children"]),w=Yn(T);return w.children=o.all(c),w}return Yn(c)}return(o.options.unknownHandler||Y7)(o,c,f)}function l(c){const f=[];if("children"in c){const p=c.children;let h=-1;for(;++h<p.length;){const b=o.one(p[h],c);if(b){if(h&&p[h-1].type==="break"&&(!Array.isArray(b)&&b.type==="text"&&(b.value=h1(b.value)),!Array.isArray(b)&&b.type==="element")){const y=b.children[0];y&&y.type==="text"&&(y.value=h1(y.value))}Array.isArray(b)?f.push(...b):f.push(b)}}}return f}}function $7(e,t){e.position&&(t.position=Rg(e))}function q7(e,t){let r=t;if(e&&e.data){const n=e.data.hName,a=e.data.hChildren,i=e.data.hProperties;if(typeof n=="string")if(r.type==="element")r.tagName=n;else{const s="children"in r?r.children:[r];r={type:"element",tagName:n,properties:{},children:s}}r.type==="element"&&i&&Object.assign(r.properties,Yn(i)),"children"in r&&r.children&&a!==null&&a!==void 0&&(r.children=a)}return r}function Y7(e,t){const r=t.data||{},n="value"in t&&!(Xo.call(r,"hProperties")||Xo.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function V7(e,t){const r=[];let n=-1;for(t&&r.push({type:"text",value:`
22
+ `});++n<e.length;)n&&r.push({type:"text",value:`
23
+ `}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:`
24
+ `}),r}function h1(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function m1(e,t){const r=j7(e,t),n=r.one(e,void 0),a=D7(r),i=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return a&&i.children.push({type:"text",value:`
25
+ `},a),i}function W7(e,t){return e&&"run"in e?function(r,n){return Be(this,null,function*(){const a=m1(r,ne({file:n},t));yield e.run(a,n)})}:function(r,n){return m1(r,ne({file:n},e||t))}}function p1(e){if(e)throw e}var as=Object.prototype.hasOwnProperty,gm=Object.prototype.toString,g1=Object.defineProperty,b1=Object.getOwnPropertyDescriptor,y1=function(t){return typeof Array.isArray=="function"?Array.isArray(t):gm.call(t)==="[object Array]"},E1=function(t){if(!t||gm.call(t)!=="[object Object]")return!1;var r=as.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&as.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!n)return!1;var a;for(a in t);return typeof a=="undefined"||as.call(t,a)},x1=function(t,r){g1&&r.name==="__proto__"?g1(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},T1=function(t,r){if(r==="__proto__")if(as.call(t,r)){if(b1)return b1(t,r).value}else return;return t[r]},G7=function e(){var t,r,n,a,i,s,o=arguments[0],u=1,l=arguments.length,c=!1;for(typeof o=="boolean"&&(c=o,o=arguments[1]||{},u=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});u<l;++u)if(t=arguments[u],t!=null)for(r in t)n=T1(o,r),a=T1(t,r),o!==a&&(c&&a&&(E1(a)||(i=y1(a)))?(i?(i=!1,s=n&&y1(n)?n:[]):s=n&&E1(n)?n:{},x1(o,{name:r,newValue:e(c,s,a)})):typeof a!="undefined"&&x1(o,{name:r,newValue:a}));return o};const $0=Ys(G7);function Ko(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function X7(){const e=[],t={run:r,use:n};return t;function r(...a){let i=-1;const s=a.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);o(null,...a);function o(u,...l){const c=e[++i];let f=-1;if(u){s(u);return}for(;++f<a.length;)(l[f]===null||l[f]===void 0)&&(l[f]=a[f]);a=l,c?K7(c,o)(...l):s(null,...l)}}function n(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function K7(e,t){let r;return n;function n(...s){const o=e.length>s.length;let u;o&&s.push(a);try{u=e.apply(this,s)}catch(l){const c=l;if(o&&r)throw c;return a(c)}o||(u&&u.then&&typeof u.then=="function"?u.then(i,a):u instanceof Error?a(u):i(u))}function a(s,...o){r||(r=!0,t(s,...o))}function i(s){a(null,s)}}const nr={basename:Q7,dirname:J7,extname:Z7,join:e9,sep:"/"};function Q7(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');ci(e);let r=0,n=-1,a=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(i){r=a+1;break}}else n<0&&(i=!0,n=a+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let s=-1,o=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(i){r=a+1;break}}else s<0&&(i=!0,s=a+1),o>-1&&(e.codePointAt(a)===t.codePointAt(o--)?o<0&&(n=a):(o=-1,n=s));return r===n?n=s:n<0&&(n=e.length),e.slice(r,n)}function J7(e){if(ci(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function Z7(e){ci(e);let t=e.length,r=-1,n=0,a=-1,i=0,s;for(;t--;){const o=e.codePointAt(t);if(o===47){if(s){n=t+1;break}continue}r<0&&(s=!0,r=t+1),o===46?a<0?a=t:i!==1&&(i=1):a>-1&&(i=-1)}return a<0||r<0||i===0||i===1&&a===r-1&&a===n+1?"":e.slice(a,r)}function e9(...e){let t=-1,r;for(;++t<e.length;)ci(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":t9(r)}function t9(e){ci(e);const t=e.codePointAt(0)===47;let r=r9(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function r9(e,t){let r="",n=0,a=-1,i=0,s=-1,o,u;for(;++s<=e.length;){if(s<e.length)o=e.codePointAt(s);else{if(o===47)break;o=47}if(o===47){if(!(a===s-1||i===1))if(a!==s-1&&i===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(u=r.lastIndexOf("/"),u!==r.length-1){u<0?(r="",n=0):(r=r.slice(0,u),n=r.length-1-r.lastIndexOf("/")),a=s,i=0;continue}}else if(r.length>0){r="",n=0,a=s,i=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(a+1,s):r=e.slice(a+1,s),n=s-a-1;a=s,i=0}else o===46&&i>-1?i++:i=-1}return r}function ci(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const n9={cwd:a9};function a9(){return"/"}function Qo(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function i9(e){if(typeof e=="string")e=new URL(e);else if(!Qo(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return s9(e)}function s9(e){if(e.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const n=t.codePointAt(r+2);if(n===70||n===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}const q0=["history","path","basename","stem","extname","dirname"];class bm{constructor(t){let r;t?Qo(t)?r={path:t}:typeof t=="string"||o9(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":n9.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<q0.length;){const i=q0[n];i in r&&r[i]!==void 0&&r[i]!==null&&(this[i]=i==="history"?[...r[i]]:r[i])}let a;for(a in r)q0.includes(a)||(this[a]=r[a])}get basename(){return typeof this.path=="string"?nr.basename(this.path):void 0}set basename(t){V0(t,"basename"),Y0(t,"basename"),this.path=nr.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?nr.dirname(this.path):void 0}set dirname(t){v1(this.basename,"dirname"),this.path=nr.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?nr.extname(this.path):void 0}set extname(t){if(Y0(t,"extname"),v1(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=nr.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Qo(t)&&(t=i9(t)),V0(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?nr.basename(this.path,this.extname):void 0}set stem(t){V0(t,"stem"),Y0(t,"stem"),this.path=nr.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){const a=this.message(t,r,n);throw a.fatal=!0,a}info(t,r,n){const a=this.message(t,r,n);return a.fatal=void 0,a}message(t,r,n){const a=new Tt(t,r,n);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Y0(e,t){if(e&&e.includes(nr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+nr.sep+"`")}function V0(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function v1(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function o9(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const u9=function(e){const n=this.constructor.prototype,a=n[e],i=function(){return a.apply(i,arguments)};return Object.setPrototypeOf(i,n),i},l9={}.hasOwnProperty;class ll extends u9{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=X7()}copy(){const t=new ll;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data($0(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(X0("data",this.frozen),this.namespace[t]=r,this):l9.call(this.namespace,t)&&this.namespace[t]||void 0:t?(X0("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const a=r.call(t,...n);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=Ri(t),n=this.parser||this.Parser;return W0("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),W0("process",this.parser||this.Parser),G0("process",this.compiler||this.Compiler),r?a(void 0,r):new Promise(a);function a(i,s){const o=Ri(t),u=n.parse(o);n.run(u,o,function(c,f,p){if(c||!f||!p)return l(c);const h=f,b=n.stringify(h,p);d9(b)?p.value=b:p.result=b,l(c,p)});function l(c,f){c||!f?s(c):i?i(f):r(void 0,f)}}}processSync(t){let r=!1,n;return this.freeze(),W0("processSync",this.parser||this.Parser),G0("processSync",this.compiler||this.Compiler),this.process(t,a),A1("processSync","process",r),n;function a(i,s){r=!0,p1(i),n=s}}run(t,r,n){w1(t),this.freeze();const a=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?i(void 0,n):new Promise(i);function i(s,o){const u=Ri(r);a.run(t,u,l);function l(c,f,p){const h=f||t;c?o(c):s?s(h):n(void 0,h,p)}}}runSync(t,r){let n=!1,a;return this.run(t,r,i),A1("runSync","run",n),a;function i(s,o){p1(s),a=o,n=!0}}stringify(t,r){this.freeze();const n=Ri(r),a=this.compiler||this.Compiler;return G0("stringify",a),w1(t),a(t,n)}use(t,...r){const n=this.attachers,a=this.namespace;if(X0("use",this.frozen),t!=null)if(typeof t=="function")u(t,r);else if(typeof t=="object")Array.isArray(t)?o(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(l){if(typeof l=="function")u(l,[]);else if(typeof l=="object")if(Array.isArray(l)){const[c,...f]=l;u(c,f)}else s(l);else throw new TypeError("Expected usable value, not `"+l+"`")}function s(l){if(!("plugins"in l)&&!("settings"in l))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(l.plugins),l.settings&&(a.settings=$0(!0,a.settings,l.settings))}function o(l){let c=-1;if(l!=null)if(Array.isArray(l))for(;++c<l.length;){const f=l[c];i(f)}else throw new TypeError("Expected a list of plugins, not `"+l+"`")}function u(l,c){let f=-1,p=-1;for(;++f<n.length;)if(n[f][0]===l){p=f;break}if(p===-1)n.push([l,...c]);else if(c.length>0){let[h,...b]=c;const y=n[p][1];Ko(y)&&Ko(h)&&(h=$0(!0,y,h)),n[p]=[l,h,...b]}}}}const c9=new ll().freeze();function W0(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function G0(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function X0(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function w1(e){if(!Ko(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function A1(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Ri(e){return f9(e)?e:new bm(e)}function f9(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function d9(e){return typeof e=="string"||h9(e)}function h9(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const m9="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",S1=[],k1={allowDangerousHtml:!0},p9=/^(https?|ircs?|mailto|xmpp)$/i,g9=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function b9(e){const t=y9(e),r=E9(e);return x9(t.runSync(t.parse(r),r),e)}function y9(e){const t=e.rehypePlugins||S1,r=e.remarkPlugins||S1,n=e.remarkRehypeOptions?ne(ne({},e.remarkRehypeOptions),k1):k1;return c9().use(e7).use(r).use(W7,n).use(t)}function E9(e){const t=e.children||"",r=new bm;return typeof t=="string"&&(r.value=t),r}function x9(e,t){const r=t.allowedElements,n=t.allowElement,a=t.components,i=t.disallowedElements,s=t.skipHtml,o=t.unwrapDisallowed,u=t.urlTransform||T9;for(const c of g9)Object.hasOwn(t,c.from)&&(""+c.from+(c.to?"use `"+c.to+"` instead":"remove it")+m9+c.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),Js(e,l),Fg(e,{Fragment:C.Fragment,components:a,ignoreInvalidStyle:!0,jsx:C.jsx,jsxs:C.jsxs,passKeys:!0,passNode:!0});function l(c,f,p){if(c.type==="raw"&&p&&typeof f=="number")return s?p.children.splice(f,1):p.children[f]={type:"text",value:c.value},f;if(c.type==="element"){let h;for(h in H0)if(Object.hasOwn(H0,h)&&Object.hasOwn(c.properties,h)){const b=c.properties[h],y=H0[h];(y===null||y.includes(c.tagName))&&(c.properties[h]=u(String(b||""),h,c))}}if(c.type==="element"){let h=r?!r.includes(c.tagName):i?i.includes(c.tagName):!1;if(!h&&n&&typeof f=="number"&&(h=!n(c,f,p)),h&&p&&typeof f=="number")return o&&c.children?p.children.splice(f,1,...c.children):p.children.splice(f,1),f}}}function T9(e){const t=e.indexOf(":"),r=e.indexOf("?"),n=e.indexOf("#"),a=e.indexOf("/");return t===-1||a!==-1&&t>a||r!==-1&&t>r||n!==-1&&t>n||p9.test(e.slice(0,t))?e:""}function ym(e,t){const r=String(e);let n=r.indexOf(t),a=n,i=0,s=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===a?++i>s&&(s=i):i=1,a=n+t.length,n=r.indexOf(t,a);return s}function v9(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:i},exit:{mathFlow:a,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:o,mathText:s,mathTextData:o}};function e(u){const l={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[l]}},u)}function t(){this.buffer()}function r(){const u=this.resume(),l=this.stack[this.stack.length-1];l.type,l.meta=u}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(u){const l=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),c=this.stack[this.stack.length-1];c.type,this.exit(u),c.value=l;const f=c.data.hChildren[0];f.type,f.tagName,f.children.push({type:"text",value:l}),this.data.mathFlowInside=void 0}function i(u){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},u),this.buffer()}function s(u){const l=this.resume(),c=this.stack[this.stack.length-1];c.type,this.exit(u),c.value=l,c.data.hChildren.push({type:"text",value:l})}function o(u){this.config.enter.data.call(this,u),this.config.exit.data.call(this,u)}}function w9(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
26
+ `,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(i,s,o,u){const l=i.value||"",c=o.createTracker(u),f="$".repeat(Math.max(ym(l,"$")+1,2)),p=o.enter("mathFlow");let h=c.move(f);if(i.meta){const b=o.enter("mathFlowMeta");h+=c.move(o.safe(i.meta,ne({after:`
27
+ `,before:h,encode:["$"]},c.current()))),b()}return h+=c.move(`
28
+ `),l&&(h+=c.move(l+`
29
+ `)),h+=c.move(f),p(),h}function n(i,s,o){let u=i.value||"",l=1;for(t||l++;new RegExp("(^|[^$])"+"\\$".repeat(l)+"([^$]|$)").test(u);)l++;const c="$".repeat(l);/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^\$|\$$/.test(u))&&(u=" "+u+" ");let f=-1;for(;++f<o.unsafe.length;){const p=o.unsafe[f];if(!p.atBreak)continue;const h=o.compilePattern(p);let b;for(;b=h.exec(u);){let y=b.index;u.codePointAt(y)===10&&u.codePointAt(y-1)===13&&y--,u=u.slice(0,y)+" "+u.slice(b.index+1)}}return c+u+c}function a(){return"$"}}const A9={tokenize:S9,concrete:!0,name:"mathFlow"},C1={tokenize:k9,partial:!0};function S9(e,t,r){const n=this,a=n.events[n.events.length-1],i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let s=0;return o;function o(w){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),u(w)}function u(w){return w===36?(e.consume(w),s++,u):s<2?r(w):(e.exit("mathFlowFenceSequence"),Me(e,l,"whitespace")(w))}function l(w){return w===null||ye(w)?f(w):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),c(w))}function c(w){return w===null||ye(w)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(w)):w===36?r(w):(e.consume(w),c)}function f(w){return e.exit("mathFlowFence"),n.interrupt?t(w):e.attempt(C1,p,x)(w)}function p(w){return e.attempt({tokenize:T,partial:!0},x,h)(w)}function h(w){return(i?Me(e,b,"linePrefix",i+1):b)(w)}function b(w){return w===null?x(w):ye(w)?e.attempt(C1,p,x)(w):(e.enter("mathFlowValue"),y(w))}function y(w){return w===null||ye(w)?(e.exit("mathFlowValue"),b(w)):(e.consume(w),y)}function x(w){return e.exit("mathFlow"),t(w)}function T(w,N,M){let F=0;return Me(w,L,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function L(U){return w.enter("mathFlowFence"),w.enter("mathFlowFenceSequence"),z(U)}function z(U){return U===36?(F++,w.consume(U),z):F<s?M(U):(w.exit("mathFlowFenceSequence"),Me(w,B,"whitespace")(U))}function B(U){return U===null||ye(U)?(w.exit("mathFlowFence"),N(U)):M(U)}}}function k9(e,t,r){const n=this;return a;function a(s){return s===null?t(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i)}function i(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function C9(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:_9,previous:I9,name:"mathText"};function n(a,i,s){let o=0,u,l;return c;function c(y){return a.enter("mathText"),a.enter("mathTextSequence"),f(y)}function f(y){return y===36?(a.consume(y),o++,f):o<2&&!r?s(y):(a.exit("mathTextSequence"),p(y))}function p(y){return y===null?s(y):y===36?(l=a.enter("mathTextSequence"),u=0,b(y)):y===32?(a.enter("space"),a.consume(y),a.exit("space"),p):ye(y)?(a.enter("lineEnding"),a.consume(y),a.exit("lineEnding"),p):(a.enter("mathTextData"),h(y))}function h(y){return y===null||y===32||y===36||ye(y)?(a.exit("mathTextData"),p(y)):(a.consume(y),h)}function b(y){return y===36?(a.consume(y),u++,b):u===o?(a.exit("mathTextSequence"),a.exit("mathText"),i(y)):(l.type="mathTextData",h(y))}}}function _9(e){let t=e.length-4,r=3,n,a;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[r][1].type="mathTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="mathTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function I9(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function N9(e){return{flow:{36:A9},text:{36:C9(e)}}}class ie extends Error{constructor(t,r){var n="KaTeX parse error: "+t,a,i,s=r&&r.loc;if(s&&s.start<=s.end){var o=s.lexer.input;a=s.start,i=s.end,a===o.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";var u=o.slice(a,i).replace(/[^]/g,"$&̲"),l;a>15?l="…"+o.slice(a-15,a):l=o.slice(0,a);var c;i+15<o.length?c=o.slice(i,i+15)+"…":c=o.slice(i),n+=l+u+c}super(n),this.name="ParseError",Object.setPrototypeOf(this,ie.prototype),this.position=a,a!=null&&i!=null&&(this.length=i-a),this.rawMessage=t}}var O9=/([A-Z])/g,cl=e=>e.replace(O9,"-$1").toLowerCase(),R9={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},D9=/[&><"']/g,Et=e=>String(e).replace(D9,t=>R9[t]),is=e=>e.type==="ordgroup"||e.type==="color"?e.body.length===1?is(e.body[0]):e:e.type==="font"?is(e.body):e,L9=new Set(["mathord","textord","atom"]),Cr=e=>L9.has(is(e).type),M9=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},Jo={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function P9(e){if("default"in e)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class fl{constructor(t){t===void 0&&(t={}),t=t||{};for(var r of Object.keys(Jo)){var n=Jo[r],a=t[r];this[r]=a!==void 0?n.processor?n.processor(a):a:P9(n)}}reportNonstrict(t,r,n){var a=this.strict;if(typeof a=="function"&&(a=a(t,r,n)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new ie("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);a==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var a=this.strict;if(typeof a=="function")try{a=a(t,r,n)}catch(i){a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]")),!1)}isTrusted(t){if("url"in t&&t.url&&!t.protocol){var r=M9(t.url);if(r==null)return!1;t.protocol=r}var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}}class Dr{constructor(t,r,n){this.id=t,this.size=r,this.cramped=n}sup(){return ar[F9[this.id]]}sub(){return ar[B9[this.id]]}fracNum(){return ar[z9[this.id]]}fracDen(){return ar[H9[this.id]]}cramp(){return ar[U9[this.id]]}text(){return ar[j9[this.id]]}isTight(){return this.size>=2}}var dl=0,bs=1,Bn=2,wr=3,Ga=4,Yt=5,Vn=6,kt=7,ar=[new Dr(dl,0,!1),new Dr(bs,0,!0),new Dr(Bn,1,!1),new Dr(wr,1,!0),new Dr(Ga,2,!1),new Dr(Yt,2,!0),new Dr(Vn,3,!1),new Dr(kt,3,!0)],F9=[Ga,Yt,Ga,Yt,Vn,kt,Vn,kt],B9=[Yt,Yt,Yt,Yt,kt,kt,kt,kt],z9=[Bn,wr,Ga,Yt,Vn,kt,Vn,kt],H9=[wr,wr,Yt,Yt,kt,kt,kt,kt],U9=[bs,bs,wr,wr,Yt,Yt,kt,kt],j9=[dl,bs,Bn,wr,Bn,wr,Bn,wr],ke={DISPLAY:ar[dl],TEXT:ar[Bn],SCRIPT:ar[Ga],SCRIPTSCRIPT:ar[Vn]},Zo=[{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 $9(e){for(var t=0;t<Zo.length;t++)for(var r=Zo[t],n=0;n<r.blocks.length;n++){var a=r.blocks[n];if(e>=a[0]&&e<=a[1])return r.name}return null}var ss=[];Zo.forEach(e=>e.blocks.forEach(t=>ss.push(...t)));function Em(e){for(var t=0;t<ss.length;t+=2)if(e>=ss[t]&&e<=ss[t+1])return!0;return!1}var ct=e=>e+" "+e,Rn=80,q9=function(t,r){return"M95,"+(622+t+r)+`
30
+ c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
31
+ c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
32
+ 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
33
+ s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
34
+ c69,-144,104.5,-217.7,106.5,-221
35
+ l`+t/2.075+" -"+t+`
36
+ c5.3,-9.3,12,-14,20,-14
37
+ H400000v`+(40+t)+`H845.2724
38
+ s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
39
+ c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
40
+ M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Y9=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119
41
+ c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
42
+ c340,-704.7,510.7,-1060.3,512,-1067
43
+ l`+t/2.084+" -"+t+`
44
+ c4.7,-7.3,11,-11,19,-11
45
+ H40000v`+(40+t)+`H1012.3
46
+ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
47
+ c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
48
+ s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
49
+ c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
50
+ M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},V9=function(t,r){return"M983 "+(10+t+r)+`
51
+ l`+t/3.13+" -"+t+`
52
+ c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
53
+ H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
54
+ s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
55
+ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
56
+ c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
57
+ c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
58
+ c53.7,-170.3,84.5,-266.8,92.5,-289.5z
59
+ M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},W9=function(t,r){return"M424,"+(2398+t+r)+`
60
+ c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
61
+ c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
62
+ s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
63
+ s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
64
+ l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
65
+ v`+(40+t)+`H1014.6
66
+ s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
67
+ c-2,6,-10,9,-24,9
68
+ c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+r+`
69
+ h400000v`+(40+t)+"h-400000z"},G9=function(t,r){return"M473,"+(2713+t+r)+`
70
+ c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
71
+ c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
72
+ s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
73
+ c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
74
+ c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
75
+ s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
76
+ 606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},X9=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},K9=function(t,r,n){var a=n-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+`
77
+ H742v`+a+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
78
+ h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
79
+ c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
80
+ 219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},Q9=function(t,r,n){r=1e3*r;var a="";switch(t){case"sqrtMain":a=q9(r,Rn);break;case"sqrtSize1":a=Y9(r,Rn);break;case"sqrtSize2":a=V9(r,Rn);break;case"sqrtSize3":a=W9(r,Rn);break;case"sqrtSize4":a=G9(r,Rn);break;case"sqrtTall":a=K9(r,Rn,n)}return a},J9=function(t,r){switch(t){case"⎜":return ct("M291 0 H417 V"+r+" H291z");case"∣":return ct("M145 0 H188 V"+r+" H145z");case"∥":return ct("M145 0 H188 V"+r+" H145z")+ct("M367 0 H410 V"+r+" H367z");case"⎟":return ct("M457 0 H583 V"+r+" H457z");case"⎢":return ct("M319 0 H403 V"+r+" H319z");case"⎥":return ct("M263 0 H347 V"+r+" H263z");case"⎪":return ct("M384 0 H504 V"+r+" H384z");case"⏐":return ct("M312 0 H355 V"+r+" H312z");case"‖":return ct("M257 0 H300 V"+r+" H257z")+ct("M478 0 H521 V"+r+" H478z");default:return""}},_1={doubleleftarrow:`M262 157
81
+ l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
82
+ 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
83
+ 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
84
+ c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
85
+ 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
86
+ -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
87
+ -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
88
+ m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
89
+ -10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
90
+ 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
91
+ -33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
92
+ -17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
93
+ -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
94
+ c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
95
+ -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
96
+ 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
97
+ -5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
98
+ c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
99
+ 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
100
+ 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
101
+ l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
102
+ -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
103
+ 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
104
+ 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
105
+ 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
106
+ -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
107
+ H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
108
+ 435 0h399565z`,leftgroupunder:`M400000 262
109
+ H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
110
+ 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
111
+ -3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
112
+ -18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
113
+ -196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
114
+ 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
115
+ -4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
116
+ -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
117
+ m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
118
+ 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
119
+ 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
120
+ -152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
121
+ 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
122
+ -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
123
+ v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
124
+ -83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
125
+ -68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
126
+ 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:ct("M40 281 V428 H0 V94 H40 V241 H400000 v40z"),leftbracketunder:ct("M0 0 h120 V290 H399995 v120 H0z"),leftbracketover:ct("M0 440 h120 V150 H399995 v-120 H0z"),leftmapsto:ct("M40 281 V448H0V74H40V241H400000v40z"),leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
127
+ -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
128
+ c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
129
+ 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:ct("M0 50 h400000 v40H0z m0 194h40000v40H0z"),midbrace:`M200428 334
130
+ c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
131
+ -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
132
+ 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
133
+ 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
134
+ c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
135
+ 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
136
+ 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
137
+ -5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
138
+ -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
139
+ m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
140
+ 60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
141
+ -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
142
+ m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
143
+ c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
144
+ -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
145
+ m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
146
+ 85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
147
+ -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
148
+ m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
149
+ c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
150
+ -16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
151
+ 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
152
+ 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
153
+ -40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
154
+ -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
155
+ 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
156
+ -6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
157
+ s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
158
+ c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
159
+ 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
160
+ -174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
161
+ 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
162
+ 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
163
+ -3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
164
+ -10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
165
+ 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
166
+ -18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
167
+ 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
168
+ m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
169
+ 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
170
+ -7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
171
+ -27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
172
+ 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
173
+ 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
174
+ -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
175
+ m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
176
+ 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
177
+ -13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
178
+ 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:ct("M399960 241 V94 h40 V428 h-40 V281 H0 v-40z"),rightbracketunder:ct("M399995 0 h-120 V290 H0 v120 H400000z"),rightbracketover:ct("M399995 440 h-120 V150 H0 v-120 H399995z"),rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
179
+ 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
180
+ -52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
181
+ -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
182
+ 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
183
+ -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
184
+ -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
185
+ -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
186
+ 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
187
+ c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
188
+ 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
189
+ 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
190
+ -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
191
+ 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
192
+ -2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
193
+ 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
194
+ 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
195
+ -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
196
+ -8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
197
+ 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
198
+ c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
199
+ 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
200
+ -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
201
+ 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
202
+ 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
203
+ -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
204
+ -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
205
+ 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
206
+ 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
207
+ -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
208
+ 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
209
+ 10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
210
+ -1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
211
+ -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
212
+ H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
213
+ c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
214
+ c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
215
+ -11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
216
+ -11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
217
+ -11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
218
+ -5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
219
+ -11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
220
+ -11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
221
+ -11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
222
+ c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
223
+ c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
224
+ s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
225
+ 121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
226
+ s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
227
+ c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
228
+ M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
229
+ -27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
230
+ 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
231
+ -84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
232
+ -119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
233
+ -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
234
+ 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
235
+ c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
236
+ c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
237
+ c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
238
+ c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
239
+ M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
240
+ c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
241
+ -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
242
+ c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
243
+ M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
244
+ c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
245
+ 1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
246
+ -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
247
+ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
248
+ c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
249
+ -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
250
+ c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
251
+ M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Z9=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
252
+ H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
253
+ M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
254
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
255
+ c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
256
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
257
+ c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
258
+ M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
259
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
260
+ c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z
261
+ MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
262
+ MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
263
+ M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
264
+ M347 1759 V0 h-84 V1759 v`+r+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
265
+ c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
266
+ -36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
267
+ 949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
268
+ c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
269
+ -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
270
+ l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
271
+ -210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
272
+ 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
273
+ c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+`
274
+ c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
275
+ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
276
+ 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
277
+ c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
278
+ l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
279
+ -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class na{constructor(t){this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return this.classes.includes(t)}toNode(){for(var t=document.createDocumentFragment(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){var t=r=>r.toText();return this.children.map(t).join("")}}var eu={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},ey={ex:!0,em:!0,mu:!0},xm=function(t){return typeof t!="string"&&(t=t.unit),t in eu||t in ey||t==="ex"},et=function(t,r){var n;if(t.unit in eu)n=eu[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var a;if(r.style.isTight()?a=r.havingStyle(r.style.text()):a=r,t.unit==="ex")n=a.fontMetrics().xHeight;else if(t.unit==="em")n=a.fontMetrics().quad;else throw new ie("Invalid unit: '"+t.unit+"'");a!==r&&(n*=a.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},ce=function(t){return+t.toFixed(4)+"em"},$r=function(t){return t.filter(r=>r).join(" ")},Tm=function(t,r,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var a=r.getColor();a&&(this.style.color=a)}},vm=function(t){var r=document.createElement(t);r.className=$r(this.classes);for(var n of Object.keys(this.style))r.style[n]=this.style[n];for(var a of Object.keys(this.attributes))r.setAttribute(a,this.attributes[a]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r},ty=/[\s"'>/=\x00-\x1f]/,wm=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+Et($r(this.classes))+'"');var n="";for(var a of Object.keys(this.style))n+=cl(a)+":"+this.style[a]+";";n&&(r+=' style="'+Et(n)+'"');for(var i of Object.keys(this.attributes)){if(ty.test(i))throw new ie("Invalid attribute name '"+i+"'");r+=" "+i+'="'+Et(this.attributes[i])+'"'}r+=">";for(var s=0;s<this.children.length;s++)r+=this.children[s].toMarkup();return r+="</"+t+">",r};class aa{constructor(t,r,n,a){Tm.call(this,t,n,a),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return vm.call(this,"span")}toMarkup(){return wm.call(this,"span")}}class Zs{constructor(t,r,n,a){Tm.call(this,r,a),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return vm.call(this,"a")}toMarkup(){return wm.call(this,"a")}}class ry{constructor(t,r,n){this.alt=r,this.src=t,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=n}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r of Object.keys(this.style))t.style[r]=this.style[r];return t}toMarkup(){var t='<img src="'+Et(this.src)+'"'+(' alt="'+Et(this.alt)+'"'),r="";for(var n of Object.keys(this.style))r+=cl(n)+":"+this.style[n]+";";return r&&(t+=' style="'+Et(r)+'"'),t+="'/>",t}}var ny={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class Bt{constructor(t,r,n,a,i,s,o,u){this.text=t,this.height=r||0,this.depth=n||0,this.italic=a||0,this.skew=i||0,this.width=s||0,this.classes=o||[],this.style=u||{},this.maxFontSize=0;var l=$9(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ny[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=ce(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=$r(this.classes));for(var n of Object.keys(this.style))r=r||document.createElement("span"),r.style[n]=this.style[n];return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=Et($r(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+ce(this.italic)+";");for(var a of Object.keys(this.style))n+=cl(a)+":"+this.style[a]+";";n&&(t=!0,r+=' style="'+Et(n)+'"');var i=Et(this.text);return t?(r+=">",r+=i,r+="</span>",r):i}}class Ar{constructor(t,r){this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n of Object.keys(this.attributes))r.setAttribute(n,this.attributes[n]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r of Object.keys(this.attributes))t+=" "+r+'="'+Et(this.attributes[r])+'"';t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class qr{constructor(t,r){this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",_1[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+Et(this.alternate)+'"/>':'<path d="'+Et(_1[this.pathName])+'"/>'}}class tu{constructor(t){this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n of Object.keys(this.attributes))r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r of Object.keys(this.attributes))t+=" "+r+'="'+Et(this.attributes[r])+'"';return t+="/>",t}}function ay(e){if(e instanceof Bt)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function iy(e){if(e instanceof aa)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var sy=e=>e instanceof aa||e instanceof Zs||e instanceof na,ur={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Di={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},I1={Å:"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 oy(e,t){ur[e]=t}function hl(e,t,r){if(!ur[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),a=ur[t][n];if(!a&&e[0]in I1&&(n=I1[e[0]].charCodeAt(0),a=ur[t][n]),!a&&r==="text"&&Em(n)&&(a=ur[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var K0={};function uy(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!K0[t]){var r=K0[t]={cssEmPerMu:Di.quad[t]/18};for(var n in Di)Di.hasOwnProperty(n)&&(r[n]=Di[n][t])}return K0[t]}var ly={bin:1,close:1,inner:1,open:1,punct:1,rel:1},cy={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Ke={math:{},text:{}};function m(e,t,r,n,a,i){Ke[e][a]={font:t,group:r,replace:n},i&&n&&(Ke[e][n]=Ke[e][a])}var g="math",X="text",E="main",I="ams",Qe="accent-token",ge="bin",Ct="close",ia="inner",ve="mathord",lt="op-token",zt="open",fi="punct",O="rel",_r="spacing",P="textord";m(g,E,O,"≡","\\equiv",!0);m(g,E,O,"≺","\\prec",!0);m(g,E,O,"≻","\\succ",!0);m(g,E,O,"∼","\\sim",!0);m(g,E,O,"⊥","\\perp");m(g,E,O,"⪯","\\preceq",!0);m(g,E,O,"⪰","\\succeq",!0);m(g,E,O,"≃","\\simeq",!0);m(g,E,O,"∣","\\mid",!0);m(g,E,O,"≪","\\ll",!0);m(g,E,O,"≫","\\gg",!0);m(g,E,O,"≍","\\asymp",!0);m(g,E,O,"∥","\\parallel");m(g,E,O,"⋈","\\bowtie",!0);m(g,E,O,"⌣","\\smile",!0);m(g,E,O,"⊑","\\sqsubseteq",!0);m(g,E,O,"⊒","\\sqsupseteq",!0);m(g,E,O,"≐","\\doteq",!0);m(g,E,O,"⌢","\\frown",!0);m(g,E,O,"∋","\\ni",!0);m(g,E,O,"∝","\\propto",!0);m(g,E,O,"⊢","\\vdash",!0);m(g,E,O,"⊣","\\dashv",!0);m(g,E,O,"∋","\\owns");m(g,E,fi,".","\\ldotp");m(g,E,fi,"⋅","\\cdotp");m(g,E,fi,"⋅","·");m(X,E,P,"⋅","·");m(g,E,P,"#","\\#");m(X,E,P,"#","\\#");m(g,E,P,"&","\\&");m(X,E,P,"&","\\&");m(g,E,P,"ℵ","\\aleph",!0);m(g,E,P,"∀","\\forall",!0);m(g,E,P,"ℏ","\\hbar",!0);m(g,E,P,"∃","\\exists",!0);m(g,E,P,"∇","\\nabla",!0);m(g,E,P,"♭","\\flat",!0);m(g,E,P,"ℓ","\\ell",!0);m(g,E,P,"♮","\\natural",!0);m(g,E,P,"♣","\\clubsuit",!0);m(g,E,P,"℘","\\wp",!0);m(g,E,P,"♯","\\sharp",!0);m(g,E,P,"♢","\\diamondsuit",!0);m(g,E,P,"ℜ","\\Re",!0);m(g,E,P,"♡","\\heartsuit",!0);m(g,E,P,"ℑ","\\Im",!0);m(g,E,P,"♠","\\spadesuit",!0);m(g,E,P,"§","\\S",!0);m(X,E,P,"§","\\S");m(g,E,P,"¶","\\P",!0);m(X,E,P,"¶","\\P");m(g,E,P,"†","\\dag");m(X,E,P,"†","\\dag");m(X,E,P,"†","\\textdagger");m(g,E,P,"‡","\\ddag");m(X,E,P,"‡","\\ddag");m(X,E,P,"‡","\\textdaggerdbl");m(g,E,Ct,"⎱","\\rmoustache",!0);m(g,E,zt,"⎰","\\lmoustache",!0);m(g,E,Ct,"⟯","\\rgroup",!0);m(g,E,zt,"⟮","\\lgroup",!0);m(g,E,ge,"∓","\\mp",!0);m(g,E,ge,"⊖","\\ominus",!0);m(g,E,ge,"⊎","\\uplus",!0);m(g,E,ge,"⊓","\\sqcap",!0);m(g,E,ge,"∗","\\ast");m(g,E,ge,"⊔","\\sqcup",!0);m(g,E,ge,"◯","\\bigcirc",!0);m(g,E,ge,"∙","\\bullet",!0);m(g,E,ge,"‡","\\ddagger");m(g,E,ge,"≀","\\wr",!0);m(g,E,ge,"⨿","\\amalg");m(g,E,ge,"&","\\And");m(g,E,O,"⟵","\\longleftarrow",!0);m(g,E,O,"⇐","\\Leftarrow",!0);m(g,E,O,"⟸","\\Longleftarrow",!0);m(g,E,O,"⟶","\\longrightarrow",!0);m(g,E,O,"⇒","\\Rightarrow",!0);m(g,E,O,"⟹","\\Longrightarrow",!0);m(g,E,O,"↔","\\leftrightarrow",!0);m(g,E,O,"⟷","\\longleftrightarrow",!0);m(g,E,O,"⇔","\\Leftrightarrow",!0);m(g,E,O,"⟺","\\Longleftrightarrow",!0);m(g,E,O,"↦","\\mapsto",!0);m(g,E,O,"⟼","\\longmapsto",!0);m(g,E,O,"↗","\\nearrow",!0);m(g,E,O,"↩","\\hookleftarrow",!0);m(g,E,O,"↪","\\hookrightarrow",!0);m(g,E,O,"↘","\\searrow",!0);m(g,E,O,"↼","\\leftharpoonup",!0);m(g,E,O,"⇀","\\rightharpoonup",!0);m(g,E,O,"↙","\\swarrow",!0);m(g,E,O,"↽","\\leftharpoondown",!0);m(g,E,O,"⇁","\\rightharpoondown",!0);m(g,E,O,"↖","\\nwarrow",!0);m(g,E,O,"⇌","\\rightleftharpoons",!0);m(g,I,O,"≮","\\nless",!0);m(g,I,O,"","\\@nleqslant");m(g,I,O,"","\\@nleqq");m(g,I,O,"⪇","\\lneq",!0);m(g,I,O,"≨","\\lneqq",!0);m(g,I,O,"","\\@lvertneqq");m(g,I,O,"⋦","\\lnsim",!0);m(g,I,O,"⪉","\\lnapprox",!0);m(g,I,O,"⊀","\\nprec",!0);m(g,I,O,"⋠","\\npreceq",!0);m(g,I,O,"⋨","\\precnsim",!0);m(g,I,O,"⪹","\\precnapprox",!0);m(g,I,O,"≁","\\nsim",!0);m(g,I,O,"","\\@nshortmid");m(g,I,O,"∤","\\nmid",!0);m(g,I,O,"⊬","\\nvdash",!0);m(g,I,O,"⊭","\\nvDash",!0);m(g,I,O,"⋪","\\ntriangleleft");m(g,I,O,"⋬","\\ntrianglelefteq",!0);m(g,I,O,"⊊","\\subsetneq",!0);m(g,I,O,"","\\@varsubsetneq");m(g,I,O,"⫋","\\subsetneqq",!0);m(g,I,O,"","\\@varsubsetneqq");m(g,I,O,"≯","\\ngtr",!0);m(g,I,O,"","\\@ngeqslant");m(g,I,O,"","\\@ngeqq");m(g,I,O,"⪈","\\gneq",!0);m(g,I,O,"≩","\\gneqq",!0);m(g,I,O,"","\\@gvertneqq");m(g,I,O,"⋧","\\gnsim",!0);m(g,I,O,"⪊","\\gnapprox",!0);m(g,I,O,"⊁","\\nsucc",!0);m(g,I,O,"⋡","\\nsucceq",!0);m(g,I,O,"⋩","\\succnsim",!0);m(g,I,O,"⪺","\\succnapprox",!0);m(g,I,O,"≆","\\ncong",!0);m(g,I,O,"","\\@nshortparallel");m(g,I,O,"∦","\\nparallel",!0);m(g,I,O,"⊯","\\nVDash",!0);m(g,I,O,"⋫","\\ntriangleright");m(g,I,O,"⋭","\\ntrianglerighteq",!0);m(g,I,O,"","\\@nsupseteqq");m(g,I,O,"⊋","\\supsetneq",!0);m(g,I,O,"","\\@varsupsetneq");m(g,I,O,"⫌","\\supsetneqq",!0);m(g,I,O,"","\\@varsupsetneqq");m(g,I,O,"⊮","\\nVdash",!0);m(g,I,O,"⪵","\\precneqq",!0);m(g,I,O,"⪶","\\succneqq",!0);m(g,I,O,"","\\@nsubseteqq");m(g,I,ge,"⊴","\\unlhd");m(g,I,ge,"⊵","\\unrhd");m(g,I,O,"↚","\\nleftarrow",!0);m(g,I,O,"↛","\\nrightarrow",!0);m(g,I,O,"⇍","\\nLeftarrow",!0);m(g,I,O,"⇏","\\nRightarrow",!0);m(g,I,O,"↮","\\nleftrightarrow",!0);m(g,I,O,"⇎","\\nLeftrightarrow",!0);m(g,I,O,"△","\\vartriangle");m(g,I,P,"ℏ","\\hslash");m(g,I,P,"▽","\\triangledown");m(g,I,P,"◊","\\lozenge");m(g,I,P,"Ⓢ","\\circledS");m(g,I,P,"®","\\circledR");m(X,I,P,"®","\\circledR");m(g,I,P,"∡","\\measuredangle",!0);m(g,I,P,"∄","\\nexists");m(g,I,P,"℧","\\mho");m(g,I,P,"Ⅎ","\\Finv",!0);m(g,I,P,"⅁","\\Game",!0);m(g,I,P,"‵","\\backprime");m(g,I,P,"▲","\\blacktriangle");m(g,I,P,"▼","\\blacktriangledown");m(g,I,P,"■","\\blacksquare");m(g,I,P,"⧫","\\blacklozenge");m(g,I,P,"★","\\bigstar");m(g,I,P,"∢","\\sphericalangle",!0);m(g,I,P,"∁","\\complement",!0);m(g,I,P,"ð","\\eth",!0);m(X,E,P,"ð","ð");m(g,I,P,"╱","\\diagup");m(g,I,P,"╲","\\diagdown");m(g,I,P,"□","\\square");m(g,I,P,"□","\\Box");m(g,I,P,"◊","\\Diamond");m(g,I,P,"¥","\\yen",!0);m(X,I,P,"¥","\\yen",!0);m(g,I,P,"✓","\\checkmark",!0);m(X,I,P,"✓","\\checkmark");m(g,I,P,"ℶ","\\beth",!0);m(g,I,P,"ℸ","\\daleth",!0);m(g,I,P,"ℷ","\\gimel",!0);m(g,I,P,"ϝ","\\digamma",!0);m(g,I,P,"ϰ","\\varkappa");m(g,I,zt,"┌","\\@ulcorner",!0);m(g,I,Ct,"┐","\\@urcorner",!0);m(g,I,zt,"└","\\@llcorner",!0);m(g,I,Ct,"┘","\\@lrcorner",!0);m(g,I,O,"≦","\\leqq",!0);m(g,I,O,"⩽","\\leqslant",!0);m(g,I,O,"⪕","\\eqslantless",!0);m(g,I,O,"≲","\\lesssim",!0);m(g,I,O,"⪅","\\lessapprox",!0);m(g,I,O,"≊","\\approxeq",!0);m(g,I,ge,"⋖","\\lessdot");m(g,I,O,"⋘","\\lll",!0);m(g,I,O,"≶","\\lessgtr",!0);m(g,I,O,"⋚","\\lesseqgtr",!0);m(g,I,O,"⪋","\\lesseqqgtr",!0);m(g,I,O,"≑","\\doteqdot");m(g,I,O,"≓","\\risingdotseq",!0);m(g,I,O,"≒","\\fallingdotseq",!0);m(g,I,O,"∽","\\backsim",!0);m(g,I,O,"⋍","\\backsimeq",!0);m(g,I,O,"⫅","\\subseteqq",!0);m(g,I,O,"⋐","\\Subset",!0);m(g,I,O,"⊏","\\sqsubset",!0);m(g,I,O,"≼","\\preccurlyeq",!0);m(g,I,O,"⋞","\\curlyeqprec",!0);m(g,I,O,"≾","\\precsim",!0);m(g,I,O,"⪷","\\precapprox",!0);m(g,I,O,"⊲","\\vartriangleleft");m(g,I,O,"⊴","\\trianglelefteq");m(g,I,O,"⊨","\\vDash",!0);m(g,I,O,"⊪","\\Vvdash",!0);m(g,I,O,"⌣","\\smallsmile");m(g,I,O,"⌢","\\smallfrown");m(g,I,O,"≏","\\bumpeq",!0);m(g,I,O,"≎","\\Bumpeq",!0);m(g,I,O,"≧","\\geqq",!0);m(g,I,O,"⩾","\\geqslant",!0);m(g,I,O,"⪖","\\eqslantgtr",!0);m(g,I,O,"≳","\\gtrsim",!0);m(g,I,O,"⪆","\\gtrapprox",!0);m(g,I,ge,"⋗","\\gtrdot");m(g,I,O,"⋙","\\ggg",!0);m(g,I,O,"≷","\\gtrless",!0);m(g,I,O,"⋛","\\gtreqless",!0);m(g,I,O,"⪌","\\gtreqqless",!0);m(g,I,O,"≖","\\eqcirc",!0);m(g,I,O,"≗","\\circeq",!0);m(g,I,O,"≜","\\triangleq",!0);m(g,I,O,"∼","\\thicksim");m(g,I,O,"≈","\\thickapprox");m(g,I,O,"⫆","\\supseteqq",!0);m(g,I,O,"⋑","\\Supset",!0);m(g,I,O,"⊐","\\sqsupset",!0);m(g,I,O,"≽","\\succcurlyeq",!0);m(g,I,O,"⋟","\\curlyeqsucc",!0);m(g,I,O,"≿","\\succsim",!0);m(g,I,O,"⪸","\\succapprox",!0);m(g,I,O,"⊳","\\vartriangleright");m(g,I,O,"⊵","\\trianglerighteq");m(g,I,O,"⊩","\\Vdash",!0);m(g,I,O,"∣","\\shortmid");m(g,I,O,"∥","\\shortparallel");m(g,I,O,"≬","\\between",!0);m(g,I,O,"⋔","\\pitchfork",!0);m(g,I,O,"∝","\\varpropto");m(g,I,O,"◀","\\blacktriangleleft");m(g,I,O,"∴","\\therefore",!0);m(g,I,O,"∍","\\backepsilon");m(g,I,O,"▶","\\blacktriangleright");m(g,I,O,"∵","\\because",!0);m(g,I,O,"⋘","\\llless");m(g,I,O,"⋙","\\gggtr");m(g,I,ge,"⊲","\\lhd");m(g,I,ge,"⊳","\\rhd");m(g,I,O,"≂","\\eqsim",!0);m(g,E,O,"⋈","\\Join");m(g,I,O,"≑","\\Doteq",!0);m(g,I,ge,"∔","\\dotplus",!0);m(g,I,ge,"∖","\\smallsetminus");m(g,I,ge,"⋒","\\Cap",!0);m(g,I,ge,"⋓","\\Cup",!0);m(g,I,ge,"⩞","\\doublebarwedge",!0);m(g,I,ge,"⊟","\\boxminus",!0);m(g,I,ge,"⊞","\\boxplus",!0);m(g,I,ge,"⋇","\\divideontimes",!0);m(g,I,ge,"⋉","\\ltimes",!0);m(g,I,ge,"⋊","\\rtimes",!0);m(g,I,ge,"⋋","\\leftthreetimes",!0);m(g,I,ge,"⋌","\\rightthreetimes",!0);m(g,I,ge,"⋏","\\curlywedge",!0);m(g,I,ge,"⋎","\\curlyvee",!0);m(g,I,ge,"⊝","\\circleddash",!0);m(g,I,ge,"⊛","\\circledast",!0);m(g,I,ge,"⋅","\\centerdot");m(g,I,ge,"⊺","\\intercal",!0);m(g,I,ge,"⋒","\\doublecap");m(g,I,ge,"⋓","\\doublecup");m(g,I,ge,"⊠","\\boxtimes",!0);m(g,I,O,"⇢","\\dashrightarrow",!0);m(g,I,O,"⇠","\\dashleftarrow",!0);m(g,I,O,"⇇","\\leftleftarrows",!0);m(g,I,O,"⇆","\\leftrightarrows",!0);m(g,I,O,"⇚","\\Lleftarrow",!0);m(g,I,O,"↞","\\twoheadleftarrow",!0);m(g,I,O,"↢","\\leftarrowtail",!0);m(g,I,O,"↫","\\looparrowleft",!0);m(g,I,O,"⇋","\\leftrightharpoons",!0);m(g,I,O,"↶","\\curvearrowleft",!0);m(g,I,O,"↺","\\circlearrowleft",!0);m(g,I,O,"↰","\\Lsh",!0);m(g,I,O,"⇈","\\upuparrows",!0);m(g,I,O,"↿","\\upharpoonleft",!0);m(g,I,O,"⇃","\\downharpoonleft",!0);m(g,E,O,"⊶","\\origof",!0);m(g,E,O,"⊷","\\imageof",!0);m(g,I,O,"⊸","\\multimap",!0);m(g,I,O,"↭","\\leftrightsquigarrow",!0);m(g,I,O,"⇉","\\rightrightarrows",!0);m(g,I,O,"⇄","\\rightleftarrows",!0);m(g,I,O,"↠","\\twoheadrightarrow",!0);m(g,I,O,"↣","\\rightarrowtail",!0);m(g,I,O,"↬","\\looparrowright",!0);m(g,I,O,"↷","\\curvearrowright",!0);m(g,I,O,"↻","\\circlearrowright",!0);m(g,I,O,"↱","\\Rsh",!0);m(g,I,O,"⇊","\\downdownarrows",!0);m(g,I,O,"↾","\\upharpoonright",!0);m(g,I,O,"⇂","\\downharpoonright",!0);m(g,I,O,"⇝","\\rightsquigarrow",!0);m(g,I,O,"⇝","\\leadsto");m(g,I,O,"⇛","\\Rrightarrow",!0);m(g,I,O,"↾","\\restriction");m(g,E,P,"‘","`");m(g,E,P,"$","\\$");m(X,E,P,"$","\\$");m(X,E,P,"$","\\textdollar");m(g,E,P,"%","\\%");m(X,E,P,"%","\\%");m(g,E,P,"_","\\_");m(X,E,P,"_","\\_");m(X,E,P,"_","\\textunderscore");m(g,E,P,"∠","\\angle",!0);m(g,E,P,"∞","\\infty",!0);m(g,E,P,"′","\\prime");m(g,E,P,"△","\\triangle");m(g,E,P,"Γ","\\Gamma",!0);m(g,E,P,"Δ","\\Delta",!0);m(g,E,P,"Θ","\\Theta",!0);m(g,E,P,"Λ","\\Lambda",!0);m(g,E,P,"Ξ","\\Xi",!0);m(g,E,P,"Π","\\Pi",!0);m(g,E,P,"Σ","\\Sigma",!0);m(g,E,P,"Υ","\\Upsilon",!0);m(g,E,P,"Φ","\\Phi",!0);m(g,E,P,"Ψ","\\Psi",!0);m(g,E,P,"Ω","\\Omega",!0);m(g,E,P,"A","Α");m(g,E,P,"B","Β");m(g,E,P,"E","Ε");m(g,E,P,"Z","Ζ");m(g,E,P,"H","Η");m(g,E,P,"I","Ι");m(g,E,P,"K","Κ");m(g,E,P,"M","Μ");m(g,E,P,"N","Ν");m(g,E,P,"O","Ο");m(g,E,P,"P","Ρ");m(g,E,P,"T","Τ");m(g,E,P,"X","Χ");m(g,E,P,"¬","\\neg",!0);m(g,E,P,"¬","\\lnot");m(g,E,P,"⊤","\\top");m(g,E,P,"⊥","\\bot");m(g,E,P,"∅","\\emptyset");m(g,I,P,"∅","\\varnothing");m(g,E,ve,"α","\\alpha",!0);m(g,E,ve,"β","\\beta",!0);m(g,E,ve,"γ","\\gamma",!0);m(g,E,ve,"δ","\\delta",!0);m(g,E,ve,"ϵ","\\epsilon",!0);m(g,E,ve,"ζ","\\zeta",!0);m(g,E,ve,"η","\\eta",!0);m(g,E,ve,"θ","\\theta",!0);m(g,E,ve,"ι","\\iota",!0);m(g,E,ve,"κ","\\kappa",!0);m(g,E,ve,"λ","\\lambda",!0);m(g,E,ve,"μ","\\mu",!0);m(g,E,ve,"ν","\\nu",!0);m(g,E,ve,"ξ","\\xi",!0);m(g,E,ve,"ο","\\omicron",!0);m(g,E,ve,"π","\\pi",!0);m(g,E,ve,"ρ","\\rho",!0);m(g,E,ve,"σ","\\sigma",!0);m(g,E,ve,"τ","\\tau",!0);m(g,E,ve,"υ","\\upsilon",!0);m(g,E,ve,"ϕ","\\phi",!0);m(g,E,ve,"χ","\\chi",!0);m(g,E,ve,"ψ","\\psi",!0);m(g,E,ve,"ω","\\omega",!0);m(g,E,ve,"ε","\\varepsilon",!0);m(g,E,ve,"ϑ","\\vartheta",!0);m(g,E,ve,"ϖ","\\varpi",!0);m(g,E,ve,"ϱ","\\varrho",!0);m(g,E,ve,"ς","\\varsigma",!0);m(g,E,ve,"φ","\\varphi",!0);m(g,E,ge,"∗","*",!0);m(g,E,ge,"+","+");m(g,E,ge,"−","-",!0);m(g,E,ge,"⋅","\\cdot",!0);m(g,E,ge,"∘","\\circ",!0);m(g,E,ge,"÷","\\div",!0);m(g,E,ge,"±","\\pm",!0);m(g,E,ge,"×","\\times",!0);m(g,E,ge,"∩","\\cap",!0);m(g,E,ge,"∪","\\cup",!0);m(g,E,ge,"∖","\\setminus",!0);m(g,E,ge,"∧","\\land");m(g,E,ge,"∨","\\lor");m(g,E,ge,"∧","\\wedge",!0);m(g,E,ge,"∨","\\vee",!0);m(g,E,P,"√","\\surd");m(g,E,zt,"⟨","\\langle",!0);m(g,E,zt,"∣","\\lvert");m(g,E,zt,"∥","\\lVert");m(g,E,Ct,"?","?");m(g,E,Ct,"!","!");m(g,E,Ct,"⟩","\\rangle",!0);m(g,E,Ct,"∣","\\rvert");m(g,E,Ct,"∥","\\rVert");m(g,E,O,"=","=");m(g,E,O,":",":");m(g,E,O,"≈","\\approx",!0);m(g,E,O,"≅","\\cong",!0);m(g,E,O,"≥","\\ge");m(g,E,O,"≥","\\geq",!0);m(g,E,O,"←","\\gets");m(g,E,O,">","\\gt",!0);m(g,E,O,"∈","\\in",!0);m(g,E,O,"","\\@not");m(g,E,O,"⊂","\\subset",!0);m(g,E,O,"⊃","\\supset",!0);m(g,E,O,"⊆","\\subseteq",!0);m(g,E,O,"⊇","\\supseteq",!0);m(g,I,O,"⊈","\\nsubseteq",!0);m(g,I,O,"⊉","\\nsupseteq",!0);m(g,E,O,"⊨","\\models");m(g,E,O,"←","\\leftarrow",!0);m(g,E,O,"≤","\\le");m(g,E,O,"≤","\\leq",!0);m(g,E,O,"<","\\lt",!0);m(g,E,O,"→","\\rightarrow",!0);m(g,E,O,"→","\\to");m(g,I,O,"≱","\\ngeq",!0);m(g,I,O,"≰","\\nleq",!0);m(g,E,_r," ","\\ ");m(g,E,_r," ","\\space");m(g,E,_r," ","\\nobreakspace");m(X,E,_r," ","\\ ");m(X,E,_r," "," ");m(X,E,_r," ","\\space");m(X,E,_r," ","\\nobreakspace");m(g,E,_r,null,"\\nobreak");m(g,E,_r,null,"\\allowbreak");m(g,E,fi,",",",");m(g,E,fi,";",";");m(g,I,ge,"⊼","\\barwedge",!0);m(g,I,ge,"⊻","\\veebar",!0);m(g,E,ge,"⊙","\\odot",!0);m(g,E,ge,"⊕","\\oplus",!0);m(g,E,ge,"⊗","\\otimes",!0);m(g,E,P,"∂","\\partial",!0);m(g,E,ge,"⊘","\\oslash",!0);m(g,I,ge,"⊚","\\circledcirc",!0);m(g,I,ge,"⊡","\\boxdot",!0);m(g,E,ge,"△","\\bigtriangleup");m(g,E,ge,"▽","\\bigtriangledown");m(g,E,ge,"†","\\dagger");m(g,E,ge,"⋄","\\diamond");m(g,E,ge,"⋆","\\star");m(g,E,ge,"◃","\\triangleleft");m(g,E,ge,"▹","\\triangleright");m(g,E,zt,"{","\\{");m(X,E,P,"{","\\{");m(X,E,P,"{","\\textbraceleft");m(g,E,Ct,"}","\\}");m(X,E,P,"}","\\}");m(X,E,P,"}","\\textbraceright");m(g,E,zt,"{","\\lbrace");m(g,E,Ct,"}","\\rbrace");m(g,E,zt,"[","\\lbrack",!0);m(X,E,P,"[","\\lbrack",!0);m(g,E,Ct,"]","\\rbrack",!0);m(X,E,P,"]","\\rbrack",!0);m(g,E,zt,"(","\\lparen",!0);m(g,E,Ct,")","\\rparen",!0);m(X,E,P,"<","\\textless",!0);m(X,E,P,">","\\textgreater",!0);m(g,E,zt,"⌊","\\lfloor",!0);m(g,E,Ct,"⌋","\\rfloor",!0);m(g,E,zt,"⌈","\\lceil",!0);m(g,E,Ct,"⌉","\\rceil",!0);m(g,E,P,"\\","\\backslash");m(g,E,P,"∣","|");m(g,E,P,"∣","\\vert");m(X,E,P,"|","\\textbar",!0);m(g,E,P,"∥","\\|");m(g,E,P,"∥","\\Vert");m(X,E,P,"∥","\\textbardbl");m(X,E,P,"~","\\textasciitilde");m(X,E,P,"\\","\\textbackslash");m(X,E,P,"^","\\textasciicircum");m(g,E,O,"↑","\\uparrow",!0);m(g,E,O,"⇑","\\Uparrow",!0);m(g,E,O,"↓","\\downarrow",!0);m(g,E,O,"⇓","\\Downarrow",!0);m(g,E,O,"↕","\\updownarrow",!0);m(g,E,O,"⇕","\\Updownarrow",!0);m(g,E,lt,"∐","\\coprod");m(g,E,lt,"⋁","\\bigvee");m(g,E,lt,"⋀","\\bigwedge");m(g,E,lt,"⨄","\\biguplus");m(g,E,lt,"⋂","\\bigcap");m(g,E,lt,"⋃","\\bigcup");m(g,E,lt,"∫","\\int");m(g,E,lt,"∫","\\intop");m(g,E,lt,"∬","\\iint");m(g,E,lt,"∭","\\iiint");m(g,E,lt,"∏","\\prod");m(g,E,lt,"∑","\\sum");m(g,E,lt,"⨂","\\bigotimes");m(g,E,lt,"⨁","\\bigoplus");m(g,E,lt,"⨀","\\bigodot");m(g,E,lt,"∮","\\oint");m(g,E,lt,"∯","\\oiint");m(g,E,lt,"∰","\\oiiint");m(g,E,lt,"⨆","\\bigsqcup");m(g,E,lt,"∫","\\smallint");m(X,E,ia,"…","\\textellipsis");m(g,E,ia,"…","\\mathellipsis");m(X,E,ia,"…","\\ldots",!0);m(g,E,ia,"…","\\ldots",!0);m(g,E,ia,"⋯","\\@cdots",!0);m(g,E,ia,"⋱","\\ddots",!0);m(g,E,P,"⋮","\\varvdots");m(X,E,P,"⋮","\\varvdots");m(g,E,Qe,"ˊ","\\acute");m(g,E,Qe,"ˋ","\\grave");m(g,E,Qe,"¨","\\ddot");m(g,E,Qe,"~","\\tilde");m(g,E,Qe,"ˉ","\\bar");m(g,E,Qe,"˘","\\breve");m(g,E,Qe,"ˇ","\\check");m(g,E,Qe,"^","\\hat");m(g,E,Qe,"⃗","\\vec");m(g,E,Qe,"˙","\\dot");m(g,E,Qe,"˚","\\mathring");m(g,E,ve,"","\\@imath");m(g,E,ve,"","\\@jmath");m(g,E,P,"ı","ı");m(g,E,P,"ȷ","ȷ");m(X,E,P,"ı","\\i",!0);m(X,E,P,"ȷ","\\j",!0);m(X,E,P,"ß","\\ss",!0);m(X,E,P,"æ","\\ae",!0);m(X,E,P,"œ","\\oe",!0);m(X,E,P,"ø","\\o",!0);m(X,E,P,"Æ","\\AE",!0);m(X,E,P,"Œ","\\OE",!0);m(X,E,P,"Ø","\\O",!0);m(X,E,Qe,"ˊ","\\'");m(X,E,Qe,"ˋ","\\`");m(X,E,Qe,"ˆ","\\^");m(X,E,Qe,"˜","\\~");m(X,E,Qe,"ˉ","\\=");m(X,E,Qe,"˘","\\u");m(X,E,Qe,"˙","\\.");m(X,E,Qe,"¸","\\c");m(X,E,Qe,"˚","\\r");m(X,E,Qe,"ˇ","\\v");m(X,E,Qe,"¨",'\\"');m(X,E,Qe,"˝","\\H");m(X,E,Qe,"◯","\\textcircled");var Am={"--":!0,"---":!0,"``":!0,"''":!0};m(X,E,P,"–","--",!0);m(X,E,P,"–","\\textendash");m(X,E,P,"—","---",!0);m(X,E,P,"—","\\textemdash");m(X,E,P,"‘","`",!0);m(X,E,P,"‘","\\textquoteleft");m(X,E,P,"’","'",!0);m(X,E,P,"’","\\textquoteright");m(X,E,P,"“","``",!0);m(X,E,P,"“","\\textquotedblleft");m(X,E,P,"”","''",!0);m(X,E,P,"”","\\textquotedblright");m(g,E,P,"°","\\degree",!0);m(X,E,P,"°","\\degree");m(X,E,P,"°","\\textdegree",!0);m(g,E,P,"£","\\pounds");m(g,E,P,"£","\\mathsterling",!0);m(X,E,P,"£","\\pounds");m(X,E,P,"£","\\textsterling",!0);m(g,I,P,"✠","\\maltese");m(X,I,P,"✠","\\maltese");var N1='0123456789/@."';for(var Q0=0;Q0<N1.length;Q0++){var O1=N1.charAt(Q0);m(g,E,P,O1,O1)}var R1='0123456789!@*()-=+";:?/.,';for(var J0=0;J0<R1.length;J0++){var D1=R1.charAt(J0);m(X,E,P,D1,D1)}var ys="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var Z0=0;Z0<ys.length;Z0++){var Li=ys.charAt(Z0);m(g,E,ve,Li,Li),m(X,E,P,Li,Li)}m(g,I,P,"C","ℂ");m(X,I,P,"C","ℂ");m(g,I,P,"H","ℍ");m(X,I,P,"H","ℍ");m(g,I,P,"N","ℕ");m(X,I,P,"N","ℕ");m(g,I,P,"P","ℙ");m(X,I,P,"P","ℙ");m(g,I,P,"Q","ℚ");m(X,I,P,"Q","ℚ");m(g,I,P,"R","ℝ");m(X,I,P,"R","ℝ");m(g,I,P,"Z","ℤ");m(X,I,P,"Z","ℤ");m(g,E,ve,"h","ℎ");m(X,E,ve,"h","ℎ");var Se="";for(var wt=0;wt<ys.length;wt++){var tt=ys.charAt(wt);Se=String.fromCharCode(55349,56320+wt),m(g,E,ve,tt,Se),m(X,E,P,tt,Se),Se=String.fromCharCode(55349,56372+wt),m(g,E,ve,tt,Se),m(X,E,P,tt,Se),Se=String.fromCharCode(55349,56424+wt),m(g,E,ve,tt,Se),m(X,E,P,tt,Se),Se=String.fromCharCode(55349,56580+wt),m(g,E,ve,tt,Se),m(X,E,P,tt,Se),Se=String.fromCharCode(55349,56684+wt),m(g,E,ve,tt,Se),m(X,E,P,tt,Se),Se=String.fromCharCode(55349,56736+wt),m(g,E,ve,tt,Se),m(X,E,P,tt,Se),Se=String.fromCharCode(55349,56788+wt),m(g,E,ve,tt,Se),m(X,E,P,tt,Se),Se=String.fromCharCode(55349,56840+wt),m(g,E,ve,tt,Se),m(X,E,P,tt,Se),Se=String.fromCharCode(55349,56944+wt),m(g,E,ve,tt,Se),m(X,E,P,tt,Se),wt<26&&(Se=String.fromCharCode(55349,56632+wt),m(g,E,ve,tt,Se),m(X,E,P,tt,Se),Se=String.fromCharCode(55349,56476+wt),m(g,E,ve,tt,Se),m(X,E,P,tt,Se))}Se="𝕜";m(g,E,ve,"k",Se);m(X,E,P,"k",Se);for(var rn=0;rn<10;rn++){var Lr=rn.toString();Se=String.fromCharCode(55349,57294+rn),m(g,E,ve,Lr,Se),m(X,E,P,Lr,Se),Se=String.fromCharCode(55349,57314+rn),m(g,E,ve,Lr,Se),m(X,E,P,Lr,Se),Se=String.fromCharCode(55349,57324+rn),m(g,E,ve,Lr,Se),m(X,E,P,Lr,Se),Se=String.fromCharCode(55349,57334+rn),m(g,E,ve,Lr,Se),m(X,E,P,Lr,Se)}var ru="ÐÞþ";for(var eo=0;eo<ru.length;eo++){var Mi=ru.charAt(eo);m(g,E,ve,Mi,Mi),m(X,E,P,Mi,Mi)}var Pi=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],L1=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],fy=(e,t)=>{var r=e.charCodeAt(0),n=e.charCodeAt(1),a=(r-55296)*1024+(n-56320)+65536,i=t==="math"?0:1;if(119808<=a&&a<120484){var s=Math.floor((a-119808)/26);return[Pi[s][2],Pi[s][i]]}else if(120782<=a&&a<=120831){var o=Math.floor((a-120782)/10);return[L1[o][2],L1[o][i]]}else{if(a===120485||a===120486)return[Pi[0][2],Pi[0][i]];if(120486<a&&a<120782)return["",""];throw new ie("Unsupported character: "+e)}},e0=function(t,r,n){if(Ke[n][t]){var a=Ke[n][t].replace;a&&(t=a)}return{value:t,metrics:hl(t,r,n)}},At=function(t,r,n,a,i){var s=e0(t,r,n),o=s.metrics;t=s.value;var u;if(o){var l=o.italic;(n==="text"||a&&a.font==="mathit")&&(l=0),u=new Bt(t,o.height,o.depth,l,o.skew,o.width,i)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),u=new Bt(t,0,0,0,0,0,i);if(a){u.maxFontSize=a.sizeMultiplier,a.style.isTight()&&u.classes.push("mtight");var c=a.getColor();c&&(u.style.color=c)}return u},ml=function(t,r,n,a){return a===void 0&&(a=[]),n.font==="boldsymbol"&&e0(t,"Main-Bold",r).metrics?At(t,"Main-Bold",r,n,a.concat(["mathbf"])):t==="\\"||Ke[r][t].font==="main"?At(t,"Main-Regular",r,n,a):At(t,"AMS-Regular",r,n,a.concat(["amsrm"]))},dy=function(t,r,n,a,i){return i!=="textord"&&e0(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},t0=function(t,r,n){var a=t.mode,i=t.text,s=["mord"],o=a==="math"||a==="text"&&r.font,u=o?r.font:r.fontFamily,l="",c="";if(i.charCodeAt(0)===55349&&([l,c]=fy(i,a)),l.length>0)return At(i,l,a,r,s.concat(c));if(u){var f,p;if(u==="boldsymbol"){var h=dy(i,a,r,s,n);f=h.fontName,p=[h.fontClass]}else o?(f=nu[u].fontName,p=[u]):(f=Fi(u,r.fontWeight,r.fontShape),p=[u,r.fontWeight,r.fontShape]);if(e0(i,f,a).metrics)return At(i,f,a,r,s.concat(p));if(Am.hasOwnProperty(i)&&f.slice(0,10)==="Typewriter"){for(var b=[],y=0;y<i.length;y++)b.push(At(i[y],f,a,r,s.concat(p)));return Ir(b)}}if(n==="mathord")return At(i,"Math-Italic",a,r,s.concat(["mathnormal"]));if(n==="textord"){var x=Ke[a][i]&&Ke[a][i].font;if(x==="ams"){var T=Fi("amsrm",r.fontWeight,r.fontShape);return At(i,T,a,r,s.concat("amsrm",r.fontWeight,r.fontShape))}else if(x==="main"||!x){var w=Fi("textrm",r.fontWeight,r.fontShape);return At(i,w,a,r,s.concat(r.fontWeight,r.fontShape))}else{var N=Fi(x,r.fontWeight,r.fontShape);return At(i,N,a,r,s.concat(N,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},hy=(e,t)=>{if($r(e.classes)!==$r(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass("mathnormal"))return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n of Object.keys(e.style))if(e.style[n]!==t.style[n])return!1;for(var a of Object.keys(t.style))if(e.style[a]!==t.style[a])return!1;return!0},Sm=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof Bt&&n instanceof Bt&&hy(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},pl=function(t){for(var r=0,n=0,a=0,i=0;i<t.children.length;i++){var s=t.children[i];s.height>r&&(r=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>a&&(a=s.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=a},ee=function(t,r,n,a){var i=new aa(t,r,n,a);return pl(i),i},Yr=(e,t,r,n)=>new aa(e,t,r,n),Wn=function(t,r,n){var a=ee([t],[],r);return a.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),a.style.borderBottomWidth=ce(a.height),a.maxFontSize=1,a},my=function(t,r,n,a){var i=new Zs(t,r,n,a);return pl(i),i},Ir=function(t){var r=new na(t);return pl(r),r},Gn=function(t,r){return t instanceof na?ee([],[t],r):t},py=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],a=-r[0].shift-r[0].elem.depth,i=a,s=1;s<r.length;s++){var o=-r[s].shift-i-r[s].elem.depth,u=o-(r[s-1].elem.height+r[s-1].elem.depth);i=i+o,n.push({type:"kern",size:u}),n.push(r[s])}return{children:n,depth:a}}var l;if(t.positionType==="top"){for(var c=t.positionData,f=0;f<t.children.length;f++){var p=t.children[f];c-=p.type==="kern"?p.size:p.elem.height+p.elem.depth}l=c}else if(t.positionType==="bottom")l=-t.positionData;else{var h=t.children[0];if(h.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")l=-h.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")l=-h.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:l}},He=function(t,r){for(var{children:n,depth:a}=py(t),i=0,s=0;s<n.length;s++){var o=n[s];if(o.type==="elem"){var u=o.elem;i=Math.max(i,u.maxFontSize,u.height)}}i+=2;var l=ee(["pstrut"],[]);l.style.height=ce(i);for(var c=[],f=a,p=a,h=a,b=0;b<n.length;b++){var y=n[b];if(y.type==="kern")h+=y.size;else{var x=y.elem,T=y.wrapperClasses||[],w=y.wrapperStyle||{},N=ee(T,[l,x],void 0,w);N.style.top=ce(-i-h-x.depth),y.marginLeft&&(N.style.marginLeft=y.marginLeft),y.marginRight&&(N.style.marginRight=y.marginRight),c.push(N),h+=x.height+x.depth}f=Math.min(f,h),p=Math.max(p,h)}var M=ee(["vlist"],c);M.style.height=ce(p);var F;if(f<0){var L=ee([],[]),z=ee(["vlist"],[L]);z.style.height=ce(-f);var B=ee(["vlist-s"],[new Bt("​")]);F=[ee(["vlist-r"],[M,B]),ee(["vlist-r"],[z])]}else F=[ee(["vlist-r"],[M])];var U=ee(["vlist-t"],F);return F.length===2&&U.classes.push("vlist-t2"),U.height=p,U.depth=-f,U},km=(e,t)=>{var r=ee(["mspace"],[],t),n=et(e,t);return r.style.marginRight=ce(n),r},Fi=function(t,r,n){var a="";switch(t){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=t}var i;return r==="textbf"&&n==="textit"?i="BoldItalic":r==="textbf"?i="Bold":r==="textit"?i="Italic":i="Regular",a+"-"+i},nu={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"}},Cm={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},_m=function(t,r){var[n,a,i]=Cm[t],s=new qr(n),o=new Ar([s],{width:ce(a),height:ce(i),style:"width:"+ce(a),viewBox:"0 0 "+1e3*a+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),u=Yr(["overlay"],[o],r);return u.height=i,u.style.height=ce(i),u.style.width=ce(a),u},Ze={number:3,unit:"mu"},nn={number:4,unit:"mu"},Er={number:5,unit:"mu"},gy={mord:{mop:Ze,mbin:nn,mrel:Er,minner:Ze},mop:{mord:Ze,mop:Ze,mrel:Er,minner:Ze},mbin:{mord:nn,mop:nn,mopen:nn,minner:nn},mrel:{mord:Er,mop:Er,mopen:Er,minner:Er},mopen:{},mclose:{mop:Ze,mbin:nn,mrel:Er,minner:Ze},mpunct:{mord:Ze,mop:Ze,mrel:Er,mopen:Ze,mclose:Ze,mpunct:Ze,minner:Ze},minner:{mord:Ze,mop:Ze,mbin:nn,mrel:Er,mopen:Ze,mpunct:Ze,minner:Ze}},by={mord:{mop:Ze},mop:{mord:Ze,mop:Ze},mbin:{},mrel:{},mopen:{},mclose:{mop:Ze},mpunct:{},minner:{mop:Ze}},Im={},Es={},xs={};function he(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:s}=e,o={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:a},u=0;u<r.length;++u)Im[r[u]]=o;t&&(i&&(Es[t]=i),s&&(xs[t]=s))}function vn(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;he({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var Ts=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},ot=function(t){return t.type==="ordgroup"?t.body:[t]},yy=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),Ey=new Set(["rightmost","mrel","mclose","mpunct"]),xy={display:ke.DISPLAY,text:ke.TEXT,script:ke.SCRIPT,scriptscript:ke.SCRIPTSCRIPT},Ty={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},dt=function(t,r,n,a){a===void 0&&(a=[null,null]);for(var i=[],s=0;s<t.length;s++){var o=Ue(t[s],r);if(o instanceof na){var u=o.children;i.push(...u)}else i.push(o)}if(Sm(i),!n)return i;var l=r;if(t.length===1){var c=t[0];c.type==="sizing"?l=r.havingSize(c.size):c.type==="styling"&&(l=r.havingStyle(xy[c.style]))}var f=ee([a[0]||"leftmost"],[],r),p=ee([a[1]||"rightmost"],[],r),h=n==="root";return au(i,(b,y)=>{var x=y.classes[0],T=b.classes[0];x==="mbin"&&Ey.has(T)?y.classes[0]="mord":T==="mbin"&&yy.has(x)&&(b.classes[0]="mord")},{node:f},p,h),au(i,(b,y)=>{var x,T,w=su(y),N=su(b),M=w&&N?b.hasClass("mtight")?(x=by[w])==null?void 0:x[N]:(T=gy[w])==null?void 0:T[N]:null;if(M)return km(M,l)},{node:f},p,h),i},au=function(t,r,n,a,i){a&&t.push(a);for(var s=0;s<t.length;s++){var o=t[s],u=Nm(o);if(u){au(u.children,r,n,null,i);continue}var l=!o.hasClass("mspace");if(l){var c=r(o,n.node);c&&(n.insertAfter?n.insertAfter(c):(t.unshift(c),s++))}l?n.node=o:i&&o.hasClass("newline")&&(n.node=ee(["leftmost"])),n.insertAfter=(f=>p=>{t.splice(f+1,0,p),s++})(s)}a&&t.pop()},Nm=function(t){return t instanceof na||t instanceof Zs||t instanceof aa&&t.hasClass("enclosing")?t:null},iu=function(t,r){var n=Nm(t);if(n){var a=n.children;if(a.length){if(r==="right")return iu(a[a.length-1],"right");if(r==="left")return iu(a[0],"left")}}return t},su=function(t,r){if(!t)return null;r&&(t=iu(t,r));var n=t.classes[0];return Ty[n]||null},Xa=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return ee(r.concat(n))},Ue=function(t,r,n){if(!t)return ee();if(Es[t.type]){var a=Es[t.type](t,r);if(n&&r.size!==n.size){a=ee(r.sizingClasses(n),[a],r);var i=r.sizeMultiplier/n.sizeMultiplier;a.height*=i,a.depth*=i}return a}else throw new ie("Got group of unknown type: '"+t.type+"'")};function Bi(e,t){var r=ee(["base"],e,t),n=ee(["strut"]);return n.style.height=ce(r.height+r.depth),r.depth&&(n.style.verticalAlign=ce(-r.depth)),r.children.unshift(n),r}function ou(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=dt(e,t,"root"),a;n.length===2&&n[1].hasClass("tag")&&(a=n.pop());for(var i=[],s=[],o=0;o<n.length;o++)if(s.push(n[o]),n[o].hasClass("mbin")||n[o].hasClass("mrel")||n[o].hasClass("allowbreak")){for(var u=!1;o<n.length-1&&n[o+1].hasClass("mspace")&&!n[o+1].hasClass("newline");)o++,s.push(n[o]),n[o].hasClass("nobreak")&&(u=!0);u||(i.push(Bi(s,t)),s=[])}else n[o].hasClass("newline")&&(s.pop(),s.length>0&&(i.push(Bi(s,t)),s=[]),i.push(n[o]));s.length>0&&i.push(Bi(s,t));var l;r?(l=Bi(dt(r,t,!0),t),l.classes=["tag"],i.push(l)):a&&i.push(a);var c=ee(["katex-html"],i);if(c.setAttribute("aria-hidden","true"),l){var f=l.children[0];f.style.height=ce(c.height+c.depth),c.depth&&(f.style.verticalAlign=ce(-c.depth))}return c}function Om(e){return new na(e)}class se{constructor(t,r,n){this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=$r(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof ut&&this.children[n+1]instanceof ut){for(var a=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof ut;)a+=this.children[++n].toText();t.appendChild(new ut(a).toNode())}else t.appendChild(this.children[n].toNode());return t}toMarkup(){var t="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="',t+=Et(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+Et($r(this.classes))+'"'),t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class ut{constructor(t){this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return Et(this.toText())}toText(){return this.text}}class Rm{constructor(t){this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",ce(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+ce(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var vy=new Set(["\\imath","\\jmath"]),wy=new Set(["mrow","mtable"]),Wt=function(t,r,n){return Ke[r][t]&&Ke[r][t].replace&&t.charCodeAt(0)!==55349&&!(Am.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=Ke[r][t].replace),new ut(t)},gl=function(t){return t.length===1?t[0]:new se("mrow",t)},bl=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var a=t.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var i=t.text;if(vy.has(i))return null;if(Ke[a][i]){var s=Ke[a][i].replace;s&&(i=s)}var o=nu[n].fontName;return hl(i,o,a)?nu[n].variant:null};function to(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof ut&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof ut&&r.text===","}else return!1}var Ht=function(t,r,n){if(t.length===1){var a=qe(t[0],r);return n&&a instanceof se&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var i=[],s,o=0;o<t.length;o++){var u=qe(t[o],r);if(u instanceof se&&s instanceof se){if(u.type==="mtext"&&s.type==="mtext"&&u.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...u.children);continue}else if(u.type==="mn"&&s.type==="mn"){s.children.push(...u.children);continue}else if(to(u)&&s.type==="mn"){s.children.push(...u.children);continue}else if(u.type==="mn"&&to(s))u.children=[...s.children,...u.children],i.pop();else if((u.type==="msup"||u.type==="msub")&&u.children.length>=1&&(s.type==="mn"||to(s))){var l=u.children[0];l instanceof se&&l.type==="mn"&&(l.children=[...s.children,...l.children],i.pop())}else if(s.type==="mi"&&s.children.length===1){var c=s.children[0];if(c instanceof ut&&c.text==="̸"&&(u.type==="mo"||u.type==="mi"||u.type==="mn")){var f=u.children[0];f instanceof ut&&f.text.length>0&&(f.text=f.text.slice(0,1)+"̸"+f.text.slice(1),i.pop())}}}i.push(u),s=u}return i},Vr=function(t,r,n){return gl(Ht(t,r,n))},qe=function(t,r){if(!t)return new se("mrow");if(xs[t.type]){var n=xs[t.type](t,r);return n}else throw new ie("Got group of unknown type: '"+t.type+"'")};function M1(e,t,r,n,a){var i=Ht(e,r),s;i.length===1&&i[0]instanceof se&&wy.has(i[0].type)?s=i[0]:s=new se("mrow",i);var o=new se("annotation",[new ut(t)]);o.setAttribute("encoding","application/x-tex");var u=new se("semantics",[s,o]),l=new se("math",[u]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&l.setAttribute("display","block");var c=a?"katex":"katex-mathml";return ee([c],[l])}var Ay=[[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]],P1=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],F1=function(t,r){return r.size<2?t:Ay[t-1][r.size-1]};class Tr{constructor(t){this.style=t.style,this.color=t.color,this.size=t.size||Tr.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=P1[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={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(r,t),new Tr(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:F1(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:P1[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=F1(Tr.BASESIZE,t);return this.size===r&&this.textSize===Tr.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Tr.BASESIZE?["sizing","reset-size"+this.size,"size"+Tr.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=uy(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Tr.BASESIZE=6;var Dm=function(t){return new Tr({style:t.displayMode?ke.DISPLAY:ke.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Lm=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=ee(n,[t])}return t},Sy=function(t,r,n){var a=Dm(n),i;if(n.output==="mathml")return M1(t,r,a,n.displayMode,!0);if(n.output==="html"){var s=ou(t,a);i=ee(["katex"],[s])}else{var o=M1(t,r,a,n.displayMode,!1),u=ou(t,a);i=ee(["katex"],[o,u])}return Lm(i,n)},ky=function(t,r,n){var a=Dm(n),i=ou(t,a),s=ee(["katex"],[i]);return Lm(s,n)},Cy={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":"="},r0=function(t){var r=new se("mo",[new ut(Cy[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},_y={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Iy=new Set(["widehat","widecheck","widetilde","utilde"]),n0=function(t,r){function n(){var o=4e5,u=t.label.slice(1);if(Iy.has(u)){var l=t,c=l.base.type==="ordgroup"?l.base.body.length:1,f,p,h;if(c>5)u==="widehat"||u==="widecheck"?(f=420,o=2364,h=.42,p=u+"4"):(f=312,o=2340,h=.34,p="tilde4");else{var b=[1,1,2,2,3,3][c];u==="widehat"||u==="widecheck"?(o=[0,1062,2364,2364,2364][b],f=[0,239,300,360,420][b],h=[0,.24,.3,.3,.36,.42][b],p=u+b):(o=[0,600,1033,2339,2340][b],f=[0,260,286,306,312][b],h=[0,.26,.286,.3,.306,.34][b],p="tilde"+b)}var y=new qr(p),x=new Ar([y],{width:"100%",height:ce(h),viewBox:"0 0 "+o+" "+f,preserveAspectRatio:"none"});return{span:Yr([],[x],r),minWidth:0,height:h}}else{var T=[],w=_y[u],[N,M,F]=w,L=F/1e3,z=N.length,B,U;if(z===1){var D=w[3];B=["hide-tail"],U=[D]}else if(z===2)B=["halfarrow-left","halfarrow-right"],U=["xMinYMin","xMaxYMin"];else if(z===3)B=["brace-left","brace-center","brace-right"],U=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
280
+ `+z+" children.");for(var H=0;H<z;H++){var G=new qr(N[H]),be=new Ar([G],{width:"400em",height:ce(L),viewBox:"0 0 "+o+" "+F,preserveAspectRatio:U[H]+" slice"}),K=Yr([B[H]],[be],r);if(z===1)return{span:K,minWidth:M,height:L};K.style.height=ce(L),T.push(K)}return{span:ee(["stretchy"],T,r),minWidth:M,height:L}}}var{span:a,minWidth:i,height:s}=n();return a.height=s,a.style.height=ce(s),i>0&&(a.style.minWidth=ce(i)),a},Ny=function(t,r,n,a,i){var s,o=t.height+t.depth+n+a;if(/fbox|color|angl/.test(r)){if(s=ee(["stretchy",r],[],i),r==="fbox"){var u=i.color&&i.getColor();u&&(s.style.borderColor=u)}}else{var l=[];/^[bx]cancel$/.test(r)&&l.push(new tu({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&l.push(new tu({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new Ar(l,{width:"100%",height:ce(o)});s=Yr([],[c],i)}return s.height=o,s.style.height=ce(o),s};function Ie(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function a0(e){var t=i0(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function i0(e){return e&&(e.type==="atom"||cy.hasOwnProperty(e.type))?e:null}var Mm=e=>{if(e instanceof Bt)return e;if(sy(e)&&e.children.length===1)return Mm(e.children[0])},yl=(e,t)=>{var r,n,a;e&&e.type==="supsub"?(n=Ie(e.base,"accent"),r=n.base,e.base=r,a=iy(Ue(e,t)),e.base=n):(n=Ie(e,"accent"),r=n.base);var i=Ue(r,t.havingCrampedStyle()),s=n.isShifty&&Cr(r),o=0;if(s){var u,l;o=(u=(l=Mm(i))==null?void 0:l.skew)!=null?u:0}var c=n.label==="\\c",f=c?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight),p;if(n.isStretchy)p=n0(n,t),p=He({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:p,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+ce(2*o)+")",marginLeft:ce(2*o)}:void 0}]});else{var h,b;n.label==="\\vec"?(h=_m("vec",t),b=Cm.vec[1]):(h=t0({mode:n.mode,text:n.label},t,"textord"),h=ay(h),h.italic=0,b=h.width,c&&(f+=h.depth)),p=ee(["accent-body"],[h]);var y=n.label==="\\textcircled";y&&(p.classes.push("accent-full"),f=i.height);var x=o;y||(x-=b/2),p.style.left=ce(x),n.label==="\\textcircled"&&(p.style.top=".2em"),p=He({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-f},{type:"elem",elem:p}]})}var T=ee(["mord","accent"],[p],t);return a?(a.children[0]=T,a.height=Math.max(T.height,a.height),a.classes[0]="mord",a):T},Pm=(e,t)=>{var r=e.isStretchy?r0(e.label):new se("mo",[Wt(e.label,e.mode)]),n=new se("mover",[qe(e.base,t),r]);return n.setAttribute("accent","true"),n},Oy=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));he({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"],props:{numArgs:1},handler:(e,t)=>{var r=Ts(t[0]),n=!Oy.test(e.funcName),a=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:a,base:r}},htmlBuilder:yl,mathmlBuilder:Pm});he({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return n==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:yl,mathmlBuilder:Pm});he({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:(e,t)=>{var r=Ue(e.base,t),n=n0(e,t),a=e.label==="\\utilde"?.12:0,i=He({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]});return ee(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=r0(e.label),n=new se("munder",[qe(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var zi=e=>{var t=new se("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};he({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"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:a}=e;return{type:"xArrow",mode:n.mode,label:a,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),a=Gn(Ue(e.body,n,t),t),i=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(i+"-arrow-pad");var s;e.below&&(n=t.havingStyle(r.sub()),s=Gn(Ue(e.below,n,t),t),s.classes.push(i+"-arrow-pad"));var o=n0(e,t),u=-t.fontMetrics().axisHeight+.5*o.height,l=-t.fontMetrics().axisHeight-.5*o.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(l-=a.depth);var c;if(s){var f=-t.fontMetrics().axisHeight+s.height+.5*o.height+.111;c=He({positionType:"individualShift",children:[{type:"elem",elem:a,shift:l},{type:"elem",elem:o,shift:u},{type:"elem",elem:s,shift:f}]})}else c=He({positionType:"individualShift",children:[{type:"elem",elem:a,shift:l},{type:"elem",elem:o,shift:u}]});return c.children[0].children[0].children[1].classes.push("svg-align"),ee(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){var r=r0(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var a=zi(qe(e.body,t));if(e.below){var i=zi(qe(e.below,t));n=new se("munderover",[r,i,a])}else n=new se("mover",[r,a])}else if(e.below){var s=zi(qe(e.below,t));n=new se("munder",[r,s])}else n=zi(),n=new se("mover",[r,n]);return n}});function Fm(e,t){var r=dt(e.body,t,!0);return ee([e.mclass],r,t)}function Bm(e,t){var r,n=Ht(e.body,t);return e.mclass==="minner"?r=new se("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new se("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new se("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}he({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:ot(a),isCharacterBox:Cr(a)}},htmlBuilder:Fm,mathmlBuilder:Bm});var s0=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};he({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:s0(t[0]),body:ot(t[1]),isCharacterBox:Cr(t[1])}}});he({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,a=t[1],i=t[0],s;n!=="\\stackrel"?s=s0(a):s="mrel";var o={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:ot(a)},u={type:"supsub",mode:i.mode,base:o,sup:n==="\\underset"?null:i,sub:n==="\\underset"?i:null};return{type:"mclass",mode:r.mode,mclass:s,body:[u],isCharacterBox:Cr(u)}},htmlBuilder:Fm,mathmlBuilder:Bm});he({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:s0(t[0]),body:ot(t[0])}},htmlBuilder(e,t){var r=dt(e.body,t,!0),n=ee([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=Ht(e.body,t),n=new se("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var Ry={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},B1=()=>({type:"styling",body:[],mode:"math",style:"display"}),z1=e=>e.type==="textord"&&e.text==="@",Dy=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function Ly(e,t,r){var n=Ry[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var a=r.callFunction("\\\\cdleft",[t[0]],[]),i={type:"atom",text:n,mode:"math",family:"rel"},s=r.callFunction("\\Big",[i],[]),o=r.callFunction("\\\\cdright",[t[1]],[]),u={type:"ordgroup",mode:"math",body:[a,s,o]};return r.callFunction("\\\\cdparent",[u],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var l={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[l],[])}default:return{type:"textord",text:" ",mode:"math"}}}function My(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new ie("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],a=[n],i=0;i<t.length;i++){for(var s=t[i],o=B1(),u=0;u<s.length;u++)if(!z1(s[u]))o.body.push(s[u]);else{n.push(o),u+=1;var l=a0(s[u]).text,c=new Array(2);if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},!"=|.".includes(l))if("<>AV".includes(l))for(var f=0;f<2;f++){for(var p=!0,h=u+1;h<s.length;h++){if(Dy(s[h],l)){p=!1,u=h;break}if(z1(s[h]))throw new ie("Missing a "+l+" character to complete a CD arrow.",s[h]);c[f].body.push(s[h])}if(p)throw new ie("Missing a "+l+" character to complete a CD arrow.",s[u])}else throw new ie('Expected one of "<>AV=|." after @',s[u]);var b=Ly(l,c,e),y={type:"styling",body:[b],mode:"math",style:"display"};n.push(y),o=B1()}i%2===0?n.push(o):n.shift(),n=[],a.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var x=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:x,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}he({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=Gn(Ue(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=ce(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new se("mrow",[qe(e.label,t)]);return r=new se("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new se("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});he({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=Gn(Ue(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new se("mrow",[qe(e.fragment,t)])}});he({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=Ie(t[0],"ordgroup"),a=n.body,i="",s=0;s<a.length;s++){var o=Ie(a[s],"textord");i+=o.text}var u=parseInt(i),l;if(isNaN(u))throw new ie("\\@char has non-numeric argument "+i);if(u<0||u>=1114111)throw new ie("\\@char with invalid code point "+i);return u<=65535?l=String.fromCharCode(u):(u-=65536,l=String.fromCharCode((u>>10)+55296,(u&1023)+56320)),{type:"textord",mode:r.mode,text:l}}});var zm=(e,t)=>{var r=dt(e.body,t.withColor(e.color),!1);return Ir(r)},Hm=(e,t)=>{var r=Ht(e.body,t.withColor(e.color)),n=new se("mstyle",r);return n.setAttribute("mathcolor",e.color),n};he({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=Ie(t[0],"color-token").color,a=t[1];return{type:"color",mode:r.mode,color:n,body:ot(a)}},htmlBuilder:zm,mathmlBuilder:Hm});he({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,a=Ie(t[0],"color-token").color;r.gullet.macros.set("\\current@color",a);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:a,body:i}},htmlBuilder:zm,mathmlBuilder:Hm});he({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,a=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:a&&Ie(a,"size").value}},htmlBuilder(e,t){var r=ee(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=ce(et(e.size,t)))),r},mathmlBuilder(e,t){var r=new se("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",ce(et(e.size,t)))),r}});var uu={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Um=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new ie("Expected a control sequence",e);return t},Py=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},jm=(e,t,r,n)=>{var a=e.gullet.macros.get(r.text);a==null&&(r.noexpand=!0,a={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,a,n)};he({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(uu[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=uu[n.text]),Ie(t.parseFunction(),"internal");throw new ie("Invalid token after macro prefix",n)}});he({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),a=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new ie("Expected a control sequence",n);for(var i=0,s,o=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){s=t.gullet.future(),o[i].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new ie('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==i+1)throw new ie('Argument number "'+n.text+'" out of order');i++,o.push([])}else{if(n.text==="EOF")throw new ie("Expected a macro definition");o[i].push(n.text)}var{tokens:u}=t.gullet.consumeArg();return s&&u.unshift(s),(r==="\\edef"||r==="\\xdef")&&(u=t.gullet.expandTokens(u),u.reverse()),t.gullet.macros.set(a,{tokens:u,numArgs:i,delimiters:o},r===uu[r]),{type:"internal",mode:t.mode}}});he({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=Um(t.gullet.popToken());t.gullet.consumeSpaces();var a=Py(t);return jm(t,n,a,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});he({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=Um(t.gullet.popToken()),a=t.gullet.popToken(),i=t.gullet.popToken();return jm(t,n,i,r==="\\\\globalfuture"),t.gullet.pushToken(i),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var Ca=function(t,r,n){var a=Ke.math[t]&&Ke.math[t].replace,i=hl(a||t,r,n);if(!i)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return i},El=function(t,r,n,a){var i=n.havingBaseStyle(r),s=ee(a.concat(i.sizingClasses(n)),[t],n),o=i.sizeMultiplier/n.sizeMultiplier;return s.height*=o,s.depth*=o,s.maxFontSize=i.sizeMultiplier,s},$m=function(t,r,n){var a=r.havingBaseStyle(n),i=(1-r.sizeMultiplier/a.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=ce(i),t.height-=i,t.depth+=i},Fy=function(t,r,n,a,i,s){var o=At(t,"Main-Regular",i,a),u=El(o,r,a,s);return $m(u,a,r),u},By=function(t,r,n,a){return At(t,"Size"+r+"-Regular",n,a)},qm=function(t,r,n,a,i,s){var o=By(t,r,i,a),u=El(ee(["delimsizing","size"+r],[o],a),ke.TEXT,a,s);return n&&$m(u,a,ke.TEXT),u},ro=function(t,r,n){var a;r==="Size1-Regular"?a="delim-size1":a="delim-size4";var i=ee(["delimsizinginner",a],[ee([],[At(t,r,n)])]);return{type:"elem",elem:i}},no=function(t,r,n){var a=ur["Size4-Regular"][t.charCodeAt(0)]?ur["Size4-Regular"][t.charCodeAt(0)][4]:ur["Size1-Regular"][t.charCodeAt(0)][4],i=new qr("inner",J9(t,Math.round(1e3*r))),s=new Ar([i],{width:ce(a),height:ce(r),style:"width:"+ce(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=Yr([],[s],n);return o.height=r,o.style.height=ce(r),o.style.width=ce(a),{type:"elem",elem:o}},lu=.008,Hi={type:"kern",size:-1*lu},zy=new Set(["|","\\lvert","\\rvert","\\vert"]),Hy=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),Ym=function(t,r,n,a,i,s){var o,u,l,c,f="",p=0;o=l=c=t,u=null;var h="Size1-Regular";t==="\\uparrow"?l=c="⏐":t==="\\Uparrow"?l=c="‖":t==="\\downarrow"?o=l="⏐":t==="\\Downarrow"?o=l="‖":t==="\\updownarrow"?(o="\\uparrow",l="⏐",c="\\downarrow"):t==="\\Updownarrow"?(o="\\Uparrow",l="‖",c="\\Downarrow"):zy.has(t)?(l="∣",f="vert",p=333):Hy.has(t)?(l="∥",f="doublevert",p=556):t==="["||t==="\\lbrack"?(o="⎡",l="⎢",c="⎣",h="Size4-Regular",f="lbrack",p=667):t==="]"||t==="\\rbrack"?(o="⎤",l="⎥",c="⎦",h="Size4-Regular",f="rbrack",p=667):t==="\\lfloor"||t==="⌊"?(l=o="⎢",c="⎣",h="Size4-Regular",f="lfloor",p=667):t==="\\lceil"||t==="⌈"?(o="⎡",l=c="⎢",h="Size4-Regular",f="lceil",p=667):t==="\\rfloor"||t==="⌋"?(l=o="⎥",c="⎦",h="Size4-Regular",f="rfloor",p=667):t==="\\rceil"||t==="⌉"?(o="⎤",l=c="⎥",h="Size4-Regular",f="rceil",p=667):t==="("||t==="\\lparen"?(o="⎛",l="⎜",c="⎝",h="Size4-Regular",f="lparen",p=875):t===")"||t==="\\rparen"?(o="⎞",l="⎟",c="⎠",h="Size4-Regular",f="rparen",p=875):t==="\\{"||t==="\\lbrace"?(o="⎧",u="⎨",c="⎩",l="⎪",h="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(o="⎫",u="⎬",c="⎭",l="⎪",h="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(o="⎧",c="⎩",l="⎪",h="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(o="⎫",c="⎭",l="⎪",h="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(o="⎧",c="⎭",l="⎪",h="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(o="⎫",c="⎩",l="⎪",h="Size4-Regular");var b=Ca(o,h,i),y=b.height+b.depth,x=Ca(l,h,i),T=x.height+x.depth,w=Ca(c,h,i),N=w.height+w.depth,M=0,F=1;if(u!==null){var L=Ca(u,h,i);M=L.height+L.depth,F=2}var z=y+N+M,B=Math.max(0,Math.ceil((r-z)/(F*T))),U=z+B*F*T,D=a.fontMetrics().axisHeight;n&&(D*=a.sizeMultiplier);var H=U/2-D,G=[];if(f.length>0){var be=U-y-N,K=Math.round(U*1e3),Y=Z9(f,Math.round(be*1e3)),V=new qr(f,Y),le=ce(p/1e3),Z=ce(K/1e3),me=new Ar([V],{width:le,height:Z,viewBox:"0 0 "+p+" "+K}),k=Yr([],[me],a);k.height=K/1e3,k.style.width=le,k.style.height=Z,G.push({type:"elem",elem:k})}else{if(G.push(ro(c,h,i)),G.push(Hi),u===null){var pe=U-y-N+2*lu;G.push(no(l,pe,a))}else{var te=(U-y-N-M)/2+2*lu;G.push(no(l,te,a)),G.push(Hi),G.push(ro(u,h,i)),G.push(Hi),G.push(no(l,te,a))}G.push(Hi),G.push(ro(o,h,i))}var A=a.havingBaseStyle(ke.TEXT),de=He({positionType:"bottom",positionData:H,children:G});return El(ee(["delimsizing","mult"],[de],A),ke.TEXT,a,s)},ao=80,io=.08,so=function(t,r,n,a,i){var s=Q9(t,a,n),o=new qr(t,s),u=new Ar([o],{width:"400em",height:ce(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Yr(["hide-tail"],[u],i)},Uy=function(t,r){var n=r.havingBaseSizing(),a=Km("\\surd",t*n.sizeMultiplier,Xm,n),i=n.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,u=0,l=0,c=0,f;return a.type==="small"?(c=1e3+1e3*s+ao,t<1?i=1:t<1.4&&(i=.7),u=(1+s+io)/i,l=(1+s)/i,o=so("sqrtMain",u,c,s,r),o.style.minWidth="0.853em",f=.833/i):a.type==="large"?(c=(1e3+ao)*Ma[a.size],l=(Ma[a.size]+s)/i,u=(Ma[a.size]+s+io)/i,o=so("sqrtSize"+a.size,u,c,s,r),o.style.minWidth="1.02em",f=1/i):(u=t+s+io,l=t+s,c=Math.floor(1e3*t+s)+ao,o=so("sqrtTall",u,c,s,r),o.style.minWidth="0.742em",f=1.056),o.height=l,o.style.height=ce(u),{span:o,advanceWidth:f,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*i}},Vm=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),jy=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),Wm=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),Ma=[0,1.2,1.8,2.4,3],Gm=function(t,r,n,a,i){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),Vm.has(t)||Wm.has(t))return qm(t,r,!1,n,a,i);if(jy.has(t))return Ym(t,Ma[r],!1,n,a,i);throw new ie("Illegal delimiter: '"+t+"'")},$y=[{type:"small",style:ke.SCRIPTSCRIPT},{type:"small",style:ke.SCRIPT},{type:"small",style:ke.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],qy=[{type:"small",style:ke.SCRIPTSCRIPT},{type:"small",style:ke.SCRIPT},{type:"small",style:ke.TEXT},{type:"stack"}],Xm=[{type:"small",style:ke.SCRIPTSCRIPT},{type:"small",style:ke.SCRIPT},{type:"small",style:ke.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Yy=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";var r=t.type;throw new Error("Add support for delim type '"+r+"' here.")},Km=function(t,r,n,a){for(var i=Math.min(2,3-a.style.size),s=i;s<n.length;s++){var o=n[s];if(o.type==="stack")break;var u=Ca(t,Yy(o),"math"),l=u.height+u.depth;if(o.type==="small"){var c=a.havingBaseStyle(o.style);l*=c.sizeMultiplier}if(l>r)return o}return n[n.length-1]},cu=function(t,r,n,a,i,s){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var o;Wm.has(t)?o=$y:Vm.has(t)?o=Xm:o=qy;var u=Km(t,r,o,a);return u.type==="small"?Fy(t,u.style,n,a,i,s):u.type==="large"?qm(t,u.size,n,a,i,s):Ym(t,r,n,a,i,s)},oo=function(t,r,n,a,i,s){var o=a.fontMetrics().axisHeight*a.sizeMultiplier,u=901,l=5/a.fontMetrics().ptPerEm,c=Math.max(r-o,n+o),f=Math.max(c/500*u,2*c-l);return cu(t,f,!0,a,i,s)},H1={"\\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}},Vy=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 o0(e,t){var r=i0(e);if(r&&Vy.has(r.text))return r;throw r?new ie("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new ie("Invalid delimiter type '"+e.type+"'",e)}he({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=o0(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:H1[e.funcName].size,mclass:H1[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?ee([e.mclass]):Gm(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(Wt(e.delim,e.mode));var r=new se("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=ce(Ma[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function U1(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}he({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new ie("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:o0(t[0],e).text,color:r}}});he({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=o0(t[0],e),n=e.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=Ie(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{U1(e);for(var r=dt(e.body,t,!0,["mopen","mclose"]),n=0,a=0,i=!1,s=0;s<r.length;s++)r[s].isMiddle?i=!0:(n=Math.max(r[s].height,n),a=Math.max(r[s].depth,a));n*=t.sizeMultiplier,a*=t.sizeMultiplier;var o;if(e.left==="."?o=Xa(t,["mopen"]):o=oo(e.left,n,a,t,e.mode,["mopen"]),r.unshift(o),i)for(var u=1;u<r.length;u++){var l=r[u],c=l.isMiddle;c&&(r[u]=oo(c.delim,n,a,c.options,e.mode,[]))}var f;if(e.right===".")f=Xa(t,["mclose"]);else{var p=e.rightColor?t.withColor(e.rightColor):t;f=oo(e.right,n,a,p,e.mode,["mclose"])}return r.push(f),ee(["minner"],r,t)},mathmlBuilder:(e,t)=>{U1(e);var r=Ht(e.body,t);if(e.left!=="."){var n=new se("mo",[Wt(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var a=new se("mo",[Wt(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),r.push(a)}return gl(r)}});he({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=o0(t[0],e);if(!e.parser.leftrightDepth)throw new ie("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=Xa(t,[]);else{r=Gm(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?Wt("|","text"):Wt(e.delim,e.mode),n=new se("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var u0=(e,t)=>{var r=Gn(Ue(e.body,t),t),n=e.label.slice(1),a=t.sizeMultiplier,i,s=0,o=Cr(e.body);if(n==="sout")i=ee(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/a,s=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var u=et({number:.6,unit:"pt"},t),l=et({number:.35,unit:"ex"},t),c=t.havingBaseSizing();a=a/c.sizeMultiplier;var f=r.height+r.depth+u+l;r.style.paddingLeft=ce(f/2+u);var p=Math.floor(1e3*f*a),h=X9(p),b=new Ar([new qr("phase",h)],{width:"400em",height:ce(p/1e3),viewBox:"0 0 400000 "+p,preserveAspectRatio:"xMinYMin slice"});i=Yr(["hide-tail"],[b],t),i.style.height=ce(f),s=r.depth+u+l}else{/cancel/.test(n)?o||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var y=0,x=0,T=0;/box/.test(n)?(T=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),y=t.fontMetrics().fboxsep+(n==="colorbox"?0:T),x=y):n==="angl"?(T=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),y=4*T,x=Math.max(0,.25-r.depth)):(y=o?.2:0,x=y),i=Ny(r,n,y,x,t),/fbox|boxed|fcolorbox/.test(n)?(i.style.borderStyle="solid",i.style.borderWidth=ce(T)):n==="angl"&&T!==.049&&(i.style.borderTopWidth=ce(T),i.style.borderRightWidth=ce(T)),s=r.depth+x,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}var w;if(e.backgroundColor)w=He({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:r,shift:0}]});else{var N=/cancel|phase/.test(n)?["svg-align"]:[];w=He({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:i,shift:s,wrapperClasses:N}]})}return/cancel/.test(n)&&(w.height=r.height,w.depth=r.depth),/cancel/.test(n)&&!o?ee(["mord","cancel-lap"],[w],t):ee(["mord"],[w],t)},l0=(e,t)=>{var r=0,n=new se(e.label.includes("colorbox")?"mpadded":"menclose",[qe(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+ce(a)+" solid "+e.borderColor)}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};he({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=Ie(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,body:s}},htmlBuilder:u0,mathmlBuilder:l0});he({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=Ie(t[0],"color-token").color,s=Ie(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:s,borderColor:i,body:o}},htmlBuilder:u0,mathmlBuilder:l0});he({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}});he({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:u0,mathmlBuilder:l0});he({type:"enclose",names:["\\sout"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e;r.mode==="math"&&r.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:u0,mathmlBuilder:l0});he({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var Qm={};function hr(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:s}=e,o={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},u=0;u<r.length;++u)Qm[r[u]]=o;i&&(Es[t]=i),s&&(xs[t]=s)}var Jm={};function v(e,t){Jm[e]=t}class Nt{constructor(t,r,n){this.lexer=t,this.start=r,this.end=n}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new Nt(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class Ft{constructor(t,r){this.text=t,this.loc=r}range(t,r){return new Ft(r,Nt.range(this,t))}}function j1(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for(r==="\\relax"&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);r==="\\hline"||r==="\\hdashline";)e.consume(),t.push(r==="\\hdashline"),e.consumeSpaces(),r=e.fetch().text;return t}var c0=e=>{var t=e.parser.settings;if(!t.displayMode)throw new ie("{"+e.envName+"} can be used only in display mode.")},Wy=new Set(["gather","gather*"]);function xl(e){if(!e.includes("ed"))return!e.includes("*")}function Jr(e,t,r){var{hskipBeforeAndAfter:n,addJot:a,cols:i,arraystretch:s,colSeparationType:o,autoTag:u,singleRow:l,emptySingleRow:c,maxNumCols:f,leqno:p}=t;if(e.gullet.beginGroup(),l||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){var h=e.gullet.expandMacroAsText("\\arraystretch");if(h==null)s=1;else if(s=parseFloat(h),!s||s<0)throw new ie("Invalid \\arraystretch: "+h)}e.gullet.beginGroup();var b=[],y=[b],x=[],T=[],w=u!=null?[]:void 0;function N(){u&&e.gullet.macros.set("\\@eqnsw","1",!0)}function M(){w&&(e.gullet.macros.get("\\df@tag")?(w.push(e.subparse([new Ft("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):w.push(!!u&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(N(),T.push(j1(e));;){var F=e.parseExpression(!1,l?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup();var L={type:"ordgroup",mode:e.mode,body:F};r&&(L={type:"styling",mode:e.mode,style:r,body:[L]}),b.push(L);var z=e.fetch().text;if(z==="&"){if(f&&b.length===f){if(l||o)throw new ie("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(z==="\\end"){M(),b.length===1&&L.type==="styling"&&L.body.length===1&&L.body[0].type==="ordgroup"&&L.body[0].body.length===0&&(y.length>1||!c)&&y.pop(),T.length<y.length+1&&T.push([]);break}else if(z==="\\\\"){e.consume();var B=void 0;e.gullet.future().text!==" "&&(B=e.parseSizeGroup(!0)),x.push(B?B.value:null),M(),T.push(j1(e)),b=[],y.push(b),N()}else throw new ie("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:s,body:y,cols:i,rowGaps:x,hskipBeforeAndAfter:n,hLinesBeforeRow:T,colSeparationType:o,tags:w,leqno:p}}function Tl(e){return e.slice(0,1)==="d"?"display":"text"}var mr=function(t,r){var n,a,i=t.body.length,s=t.hLinesBeforeRow,o=0,u=new Array(i),l=[],c=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),f=1/r.fontMetrics().ptPerEm,p=5*f;if(t.colSeparationType&&t.colSeparationType==="small"){var h=r.havingStyle(ke.SCRIPT).sizeMultiplier;p=.2778*(h/r.sizeMultiplier)}var b=t.colSeparationType==="CD"?et({number:3,unit:"ex"},r):12*f,y=3*f,x=t.arraystretch*b,T=.7*x,w=.3*x,N=0;function M(Ae){for(var Ne=0;Ne<Ae.length;++Ne)Ne>0&&(N+=.25),l.push({pos:N,isDashed:Ae[Ne]})}for(M(s[0]),n=0;n<t.body.length;++n){var F=t.body[n],L=T,z=w;o<F.length&&(o=F.length);var B=new Array(F.length);for(a=0;a<F.length;++a){var U=Ue(F[a],r);z<U.depth&&(z=U.depth),L<U.height&&(L=U.height),B[a]=U}var D=t.rowGaps[n],H=0;D&&(H=et(D,r),H>0&&(H+=w,z<H&&(z=H),H=0)),t.addJot&&n<t.body.length-1&&(z+=y),B.height=L,B.depth=z,N+=L,B.pos=N,N+=z+H,u[n]=B,M(s[n+1])}var G=N/2+r.fontMetrics().axisHeight,be=t.cols||[],K=[],Y,V,le=[];if(t.tags&&t.tags.some(Ae=>Ae))for(n=0;n<i;++n){var Z=u[n],me=Z.pos-G,k=t.tags[n],pe=void 0;k===!0?pe=ee(["eqn-num"],[],r):k===!1?pe=ee([],[],r):pe=ee([],dt(k,r,!0),r),pe.depth=Z.depth,pe.height=Z.height,le.push({type:"elem",elem:pe,shift:me})}for(a=0,V=0;a<o||V<be.length;++a,++V){for(var te,A=be[V],de=!0;((xe=A)==null?void 0:xe.type)==="separator";){var xe;if(de||(Y=ee(["arraycolsep"],[]),Y.style.width=ce(r.fontMetrics().doubleRuleSep),K.push(Y)),A.separator==="|"||A.separator===":"){var Ce=A.separator==="|"?"solid":"dashed",De=ee(["vertical-separator"],[],r);De.style.height=ce(N),De.style.borderRightWidth=ce(c),De.style.borderRightStyle=Ce,De.style.margin="0 "+ce(-c/2);var Je=N-G;Je&&(De.style.verticalAlign=ce(-Je)),K.push(De)}else throw new ie("Invalid separator type: "+A.separator);V++,A=be[V],de=!1}if(!(a>=o)){var Ye=void 0;if(a>0||t.hskipBeforeAndAfter){var Fe,gt;Ye=(Fe=(gt=A)==null?void 0:gt.pregap)!=null?Fe:p,Ye!==0&&(Y=ee(["arraycolsep"],[]),Y.style.width=ce(Ye),K.push(Y))}var rr=[];for(n=0;n<i;++n){var Gt=u[n],Sn=Gt[a];if(Sn){var yi=Gt.pos-G;Sn.depth=Gt.depth,Sn.height=Gt.height,rr.push({type:"elem",elem:Sn,shift:yi})}}var Ei=He({positionType:"individualShift",children:rr}),xi=ee(["col-align-"+(((te=A)==null?void 0:te.align)||"c")],[Ei]);if(K.push(xi),a<o-1||t.hskipBeforeAndAfter){var Ti,ha;Ye=(Ti=(ha=A)==null?void 0:ha.postgap)!=null?Ti:p,Ye!==0&&(Y=ee(["arraycolsep"],[]),Y.style.width=ce(Ye),K.push(Y))}}}var Zr=ee(["mtable"],K);if(l.length>0){for(var A0=Wn("hline",r,c),S0=Wn("hdashline",r,c),ma=[{type:"elem",elem:Zr,shift:0}];l.length>0;){var vi=l.pop(),wi=vi.pos-G;vi.isDashed?ma.push({type:"elem",elem:S0,shift:wi}):ma.push({type:"elem",elem:A0,shift:wi})}Zr=He({positionType:"individualShift",children:ma})}if(le.length===0)return ee(["mord"],[Zr],r);var W=He({positionType:"individualShift",children:le}),fe=ee(["tag"],[W],r);return Ir([Zr,fe])},Gy={c:"center ",l:"left ",r:"right "},pr=function(t,r){for(var n=[],a=new se("mtd",[],["mtr-glue"]),i=new se("mtd",[],["mml-eqn-num"]),s=0;s<t.body.length;s++){for(var o=t.body[s],u=[],l=0;l<o.length;l++)u.push(new se("mtd",[qe(o[l],r)]));t.tags&&t.tags[s]&&(u.unshift(a),u.push(a),t.leqno?u.unshift(i):u.push(i)),n.push(new se("mtr",u))}var c=new se("mtable",n),f=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);c.setAttribute("rowspacing",ce(f));var p="",h="";if(t.cols&&t.cols.length>0){var b=t.cols,y="",x=!1,T=0,w=b.length;b[0].type==="separator"&&(p+="top ",T=1),b[b.length-1].type==="separator"&&(p+="bottom ",w-=1);for(var N=T;N<w;N++){var M=b[N];M.type==="align"?(h+=Gy[M.align],x&&(y+="none "),x=!0):M.type==="separator"&&x&&(y+=M.separator==="|"?"solid ":"dashed ",x=!1)}c.setAttribute("columnalign",h.trim()),/[sd]/.test(y)&&c.setAttribute("columnlines",y.trim())}if(t.colSeparationType==="align"){for(var F=t.cols||[],L="",z=1;z<F.length;z++)L+=z%2?"0em ":"1em ";c.setAttribute("columnspacing",L.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?c.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?c.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?c.setAttribute("columnspacing","0.5em"):c.setAttribute("columnspacing","1em");var B="",U=t.hLinesBeforeRow;p+=U[0].length>0?"left ":"",p+=U[U.length-1].length>0?"right ":"";for(var D=1;D<U.length-1;D++)B+=U[D].length===0?"none ":U[D][0]?"dashed ":"solid ";return/[sd]/.test(B)&&c.setAttribute("rowlines",B.trim()),p!==""&&(c=new se("menclose",[c]),c.setAttribute("notation",p.trim())),t.arraystretch&&t.arraystretch<1&&(c=new se("mstyle",[c]),c.setAttribute("scriptlevel","1")),c},Zm=function(t,r){t.envName.includes("ed")||c0(t);var n=[],a=t.envName.includes("at")?"alignat":"align",i=t.envName==="split",s=Jr(t.parser,{cols:n,addJot:!0,autoTag:i?void 0:xl(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:i?2:void 0,leqno:t.parser.settings.leqno},"display"),o=0,u=0,l={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var c="",f=0;f<r[0].body.length;f++){var p=Ie(r[0].body[f],"textord");c+=p.text}o=Number(c),u=o*2}var h=!u;s.body.forEach(function(T){for(var w=1;w<T.length;w+=2){var N=Ie(T[w],"styling"),M=Ie(N.body[0],"ordgroup");M.body.unshift(l)}if(h)u<T.length&&(u=T.length);else{var F=T.length/2;if(o<F)throw new ie("Too many math in a row: "+("expected "+o+", but got "+F),T[0])}});for(var b=0;b<u;++b){var y="r",x=0;b%2===1?y="l":b>0&&h&&(x=1),n[b]={type:"align",align:y,pregap:x,postgap:0}}return s.colSeparationType=h?"align":"alignat",s};hr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=i0(t[0]),n=r?[t[0]]:Ie(t[0],"ordgroup").body,a=n.map(function(s){var o=a0(s),u=o.text;if("lcr".includes(u))return{type:"align",align:u};if(u==="|")return{type:"separator",separator:"|"};if(u===":")return{type:"separator",separator:":"};throw new ie("Unknown column alignment: "+u,s)}),i={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return Jr(e.parser,i,Tl(e.envName))},htmlBuilder:mr,mathmlBuilder:pr});hr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),r=a.fetch().text,!"lcr".includes(r))throw new ie("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),n.cols=[{type:"align",align:r}]}}var i=Jr(e.parser,n,Tl(e.envName)),s=Math.max(0,...i.body.map(o=>o.length));return i.cols=new Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:mr,mathmlBuilder:pr});hr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=Jr(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:mr,mathmlBuilder:pr});hr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=i0(t[0]),n=r?[t[0]]:Ie(t[0],"ordgroup").body,a=n.map(function(o){var u=a0(o),l=u.text;if("lc".includes(l))return{type:"align",align:l};throw new ie("Unknown column alignment: "+l,o)});if(a.length>1)throw new ie("{subarray} can contain only one column");var i={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5},s=Jr(e.parser,i,"script");if(s.body.length>0&&s.body[0].length>1)throw new ie("{subarray} can contain only one column");return s},htmlBuilder:mr,mathmlBuilder:pr});hr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=Jr(e.parser,t,Tl(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:mr,mathmlBuilder:pr});hr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Zm,htmlBuilder:mr,mathmlBuilder:pr});hr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){Wy.has(e.envName)&&c0(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:xl(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Jr(e.parser,t,"display")},htmlBuilder:mr,mathmlBuilder:pr});hr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Zm,htmlBuilder:mr,mathmlBuilder:pr});hr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){c0(e);var t={autoTag:xl(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Jr(e.parser,t,"display")},htmlBuilder:mr,mathmlBuilder:pr});hr({type:"array",names:["CD"],props:{numArgs:0},handler(e){return c0(e),My(e.parser)},htmlBuilder:mr,mathmlBuilder:pr});v("\\nonumber","\\gdef\\@eqnsw{0}");v("\\notag","\\nonumber");he({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new ie(e.funcName+" valid only within array environment")}});var $1=Qm;he({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];if(a.type!=="ordgroup")throw new ie("Invalid environment name",a);for(var i="",s=0;s<a.body.length;++s)i+=Ie(a.body[s],"textord").text;if(n==="\\begin"){if(!$1.hasOwnProperty(i))throw new ie("No such environment: "+i,a);var o=$1[i],{args:u,optArgs:l}=r.parseArguments("\\begin{"+i+"}",o),c={mode:r.mode,envName:i,parser:r},f=o.handler(c,u,l);r.expect("\\end",!1);var p=r.nextToken,h=Ie(r.parseFunction(),"environment");if(h.name!==i)throw new ie("Mismatch: \\begin{"+i+"} matched by \\end{"+h.name+"}",p);return f}return{type:"environment",mode:r.mode,name:i,nameGroup:a}}});var ep=(e,t)=>{var r=e.font,n=t.withFont(r);return Ue(e.body,n)},tp=(e,t)=>{var r=e.font,n=t.withFont(r);return qe(e.body,n)},q1={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};he({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=Ts(t[0]),i=n;return i in q1&&(i=q1[i]),{type:"font",mode:r.mode,font:i.slice(1),body:a}},htmlBuilder:ep,mathmlBuilder:tp});he({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:s0(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:Cr(n)}}});he({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:a}=e,{mode:i}=r,s=r.parseExpression(!0,a),o="math"+n.slice(1);return{type:"font",mode:i,font:o,body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:ep,mathmlBuilder:tp});var Xy=(e,t)=>{var r=t.style,n=r.fracNum(),a=r.fracDen(),i;i=t.havingStyle(n);var s=Ue(e.numer,i,t);if(e.continued){var o=8.5/t.fontMetrics().ptPerEm,u=3.5/t.fontMetrics().ptPerEm;s.height=s.height<o?o:s.height,s.depth=s.depth<u?u:s.depth}i=t.havingStyle(a);var l=Ue(e.denom,i,t),c,f,p;e.hasBarLine?(e.barSize?(f=et(e.barSize,t),c=Wn("frac-line",t,f)):c=Wn("frac-line",t),f=c.height,p=c.height):(c=null,f=0,p=t.fontMetrics().defaultRuleThickness);var h,b,y;r.size===ke.DISPLAY.size?(h=t.fontMetrics().num1,f>0?b=3*p:b=7*p,y=t.fontMetrics().denom1):(f>0?(h=t.fontMetrics().num2,b=p):(h=t.fontMetrics().num3,b=3*p),y=t.fontMetrics().denom2);var x;if(c){var w=t.fontMetrics().axisHeight;h-s.depth-(w+.5*f)<b&&(h+=b-(h-s.depth-(w+.5*f))),w-.5*f-(l.height-y)<b&&(y+=b-(w-.5*f-(l.height-y)));var N=-(w-.5*f);x=He({positionType:"individualShift",children:[{type:"elem",elem:l,shift:y},{type:"elem",elem:c,shift:N},{type:"elem",elem:s,shift:-h}]})}else{var T=h-s.depth-(l.height-y);T<b&&(h+=.5*(b-T),y+=.5*(b-T)),x=He({positionType:"individualShift",children:[{type:"elem",elem:l,shift:y},{type:"elem",elem:s,shift:-h}]})}i=t.havingStyle(r),x.height*=i.sizeMultiplier/t.sizeMultiplier,x.depth*=i.sizeMultiplier/t.sizeMultiplier;var M;r.size===ke.DISPLAY.size?M=t.fontMetrics().delim1:r.size===ke.SCRIPTSCRIPT.size?M=t.havingStyle(ke.SCRIPT).fontMetrics().delim2:M=t.fontMetrics().delim2;var F,L;return e.leftDelim==null?F=Xa(t,["mopen"]):F=cu(e.leftDelim,M,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?L=ee([]):e.rightDelim==null?L=Xa(t,["mclose"]):L=cu(e.rightDelim,M,!0,t.havingStyle(r),e.mode,["mclose"]),ee(["mord"].concat(i.sizingClasses(t)),[F,ee(["mfrac"],[x]),L],t)},Ky=(e,t)=>{var r=new se("mfrac",[qe(e.numer,t),qe(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=et(e.barSize,t);r.setAttribute("linethickness",ce(n))}if(e.leftDelim!=null||e.rightDelim!=null){var a=[];if(e.leftDelim!=null){var i=new se("mo",[new ut(e.leftDelim.replace("\\",""))]);i.setAttribute("fence","true"),a.push(i)}if(a.push(r),e.rightDelim!=null){var s=new se("mo",[new ut(e.rightDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}return gl(a)}return r},rp=(e,t)=>{if(!t)return e;var r={type:"styling",mode:e.mode,style:t,body:[e]};return r};he({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=t[1],s,o=null,u=null;switch(n){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,o="(",u=")";break;case"\\\\bracefrac":s=!1,o="\\{",u="\\}";break;case"\\\\brackfrac":s=!1,o="[",u="]";break;default:throw new Error("Unrecognized genfrac command")}var l=n==="\\cfrac",c=null;return l||n.startsWith("\\d")?c="display":n.startsWith("\\t")&&(c="text"),rp({type:"genfrac",mode:r.mode,numer:a,denom:i,continued:l,hasBarLine:s,leftDelim:o,rightDelim:u,barSize:null},c)},htmlBuilder:Xy,mathmlBuilder:Ky});he({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,a;switch(r){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:a,token:n}}});var Y1=["display","text","script","scriptscript"],V1=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};he({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],a=t[5],i=Ts(t[0]),s=i.type==="atom"&&i.family==="open"?V1(i.text):null,o=Ts(t[1]),u=o.type==="atom"&&o.family==="close"?V1(o.text):null,l=Ie(t[2],"size"),c,f=null;l.isBlank?c=!0:(f=l.value,c=f.number>0);var p=null,h=t[3];if(h.type==="ordgroup"){if(h.body.length>0){var b=Ie(h.body[0],"textord");p=Y1[Number(b.text)]}}else h=Ie(h,"textord"),p=Y1[Number(h.text)];return rp({type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:c,barSize:f,leftDelim:s,rightDelim:u},p)}});he({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:a}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Ie(t[0],"size").value,token:a}}});he({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=Ie(t[1],"infix").size;if(!i)throw new Error("\\\\abovefrac expected size, but got "+String(i));var s=t[2],o=i.number>0;return{type:"genfrac",mode:r.mode,numer:a,denom:s,continued:!1,hasBarLine:o,barSize:i,leftDelim:null,rightDelim:null}}});var np=(e,t)=>{var r=t.style,n,a;e.type==="supsub"?(n=e.sup?Ue(e.sup,t.havingStyle(r.sup()),t):Ue(e.sub,t.havingStyle(r.sub()),t),a=Ie(e.base,"horizBrace")):a=Ie(e,"horizBrace");var i=Ue(a.base,t.havingBaseStyle(ke.DISPLAY)),s=n0(a,t),o;if(a.isOver?(o=He({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:s}]}),o.children[0].children[0].children[1].classes.push("svg-align")):(o=He({positionType:"bottom",positionData:i.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:i}]}),o.children[0].children[0].children[0].classes.push("svg-align")),n){var u=ee(["minner",a.isOver?"mover":"munder"],[o],t);a.isOver?o=He({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:n}]}):o=He({positionType:"bottom",positionData:u.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:u}]})}return ee(["minner",a.isOver?"mover":"munder"],[o],t)},Qy=(e,t)=>{var r=r0(e.label);return new se(e.isOver?"mover":"munder",[qe(e.base,t),r])};he({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:n.includes("\\over"),base:t[0]}},htmlBuilder:np,mathmlBuilder:Qy});he({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],a=Ie(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:ot(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=dt(e.body,t,!1);return my(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=Vr(e.body,t);return r instanceof se||(r=new se("mrow",[r])),r.setAttribute("href",e.href),r}});he({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=Ie(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var a=[],i=0;i<n.length;i++){var s=n[i];s==="~"&&(s="\\textasciitilde"),a.push({type:"textord",mode:"text",text:s})}var o={type:"text",mode:r.mode,font:"\\texttt",body:a};return{type:"href",mode:r.mode,href:n,body:ot(o)}}});he({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:ot(t[0])}},htmlBuilder(e,t){var r=dt(e.body,t,!1);return Ir(r)},mathmlBuilder(e,t){return new se("mrow",Ht(e.body,t))}});he({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:a}=e,i=Ie(t[0],"raw").string,s=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,u={};switch(n){case"\\htmlClass":u.class=i,o={command:"\\htmlClass",class:i};break;case"\\htmlId":u.id=i,o={command:"\\htmlId",id:i};break;case"\\htmlStyle":u.style=i,o={command:"\\htmlStyle",style:i};break;case"\\htmlData":{for(var l=i.split(","),c=0;c<l.length;c++){var f=l[c],p=f.indexOf("=");if(p<0)throw new ie("\\htmlData key/value '"+f+"' missing equals sign");var h=f.slice(0,p),b=f.slice(p+1);u["data-"+h.trim()]=b}o={command:"\\htmlData",attributes:u};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(o)?{type:"html",mode:r.mode,attributes:u,body:ot(s)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=dt(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var a=ee(n,r,t);for(var i in e.attributes)i!=="class"&&e.attributes.hasOwnProperty(i)&&a.setAttribute(i,e.attributes[i]);return a},mathmlBuilder:(e,t)=>Vr(e.body,t)});he({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:ot(t[0]),mathml:ot(t[1])}},htmlBuilder:(e,t)=>{var r=dt(e.html,t,!1);return Ir(r)},mathmlBuilder:(e,t)=>Vr(e.mathml,t)});var uo=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new ie("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!xm(n))throw new ie("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};he({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,a={number:0,unit:"em"},i={number:.9,unit:"em"},s={number:0,unit:"em"},o="";if(r[0])for(var u=Ie(r[0],"raw").string,l=u.split(","),c=0;c<l.length;c++){var f=l[c].split("=");if(f.length===2){var p=f[1].trim();switch(f[0].trim()){case"alt":o=p;break;case"width":a=uo(p);break;case"height":i=uo(p);break;case"totalheight":s=uo(p);break;default:throw new ie("Invalid key: '"+f[0]+"' in \\includegraphics.")}}}var h=Ie(t[0],"url").url;return o===""&&(o=h,o=o.replace(/^.*[\\/]/,""),o=o.substring(0,o.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:h})?{type:"includegraphics",mode:n.mode,alt:o,width:a,height:i,totalheight:s,src:h}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=et(e.height,t),n=0;e.totalheight.number>0&&(n=et(e.totalheight,t)-r);var a=0;e.width.number>0&&(a=et(e.width,t));var i={height:ce(r+n)};a>0&&(i.width=ce(a)),n>0&&(i.verticalAlign=ce(-n));var s=new ry(e.src,e.alt,i);return s.height=r,s.depth=n,s},mathmlBuilder:(e,t)=>{var r=new se("mglyph",[]);r.setAttribute("alt",e.alt);var n=et(e.height,t),a=0;if(e.totalheight.number>0&&(a=et(e.totalheight,t)-n,r.setAttribute("valign",ce(-a))),r.setAttribute("height",ce(n+a)),e.width.number>0){var i=et(e.width,t);r.setAttribute("width",ce(i))}return r.setAttribute("src",e.src),r}});he({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,a=Ie(t[0],"size");if(r.settings.strict){var i=n[1]==="m",s=a.value.unit==="mu";i?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+a.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:a.value}},htmlBuilder(e,t){return km(e.dimension,t)},mathmlBuilder(e,t){var r=et(e.dimension,t);return new Rm(r)}});he({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:a}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=ee([],[Ue(e.body,t)]),r=ee(["inner"],[r],t)):r=ee(["inner"],[Ue(e.body,t)]);var n=ee(["fix"],[]),a=ee([e.alignment],[r,n],t),i=ee(["strut"]);return i.style.height=ce(a.height+a.depth),a.depth&&(i.style.verticalAlign=ce(-a.depth)),a.children.unshift(i),a=ee(["thinbox"],[a],t),ee(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var r=new se("mpadded",[qe(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}});he({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,a=n.mode;n.switchMode("math");var i=r==="\\("?"\\)":"$",s=n.parseExpression(!1,i);return n.expect(i),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",body:s}}});he({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new ie("Mismatched "+e.funcName)}});var W1=(e,t)=>{switch(t.style.size){case ke.DISPLAY.size:return e.display;case ke.TEXT.size:return e.text;case ke.SCRIPT.size:return e.script;case ke.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};he({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:ot(t[0]),text:ot(t[1]),script:ot(t[2]),scriptscript:ot(t[3])}},htmlBuilder:(e,t)=>{var r=W1(e,t),n=dt(r,t,!1);return Ir(n)},mathmlBuilder:(e,t)=>{var r=W1(e,t);return Vr(r,t)}});var ap=(e,t,r,n,a,i,s)=>{e=ee([],[e]);var o=r&&Cr(r),u,l;if(t){var c=Ue(t,n.havingStyle(a.sup()),n);l={elem:c,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var f=Ue(r,n.havingStyle(a.sub()),n);u={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-f.height)}}var p;if(l&&u){var h=n.fontMetrics().bigOpSpacing5+u.elem.height+u.elem.depth+u.kern+e.depth+s;p=He({positionType:"bottom",positionData:h,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:ce(-i)},{type:"kern",size:u.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ce(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else if(u){var b=e.height-s;p=He({positionType:"top",positionData:b,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:ce(-i)},{type:"kern",size:u.kern},{type:"elem",elem:e}]})}else if(l){var y=e.depth+s;p=He({positionType:"bottom",positionData:y,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ce(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else return e;var x=[p];if(u&&i!==0&&!o){var T=ee(["mspace"],[],n);T.style.marginRight=ce(i),x.unshift(T)}return ee(["mop","op-limits"],x,n)},ip=new Set(["\\smallint"]),sa=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=Ie(e.base,"op"),a=!0):i=Ie(e,"op");var s=t.style,o=!1;s.size===ke.DISPLAY.size&&i.symbol&&!ip.has(i.name)&&(o=!0);var u;if(i.symbol){var l=o?"Size2-Regular":"Size1-Regular",c="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(c=i.name.slice(1),i.name=c==="oiint"?"\\iint":"\\iiint"),u=At(i.name,l,"math",t,["mop","op-symbol",o?"large-op":"small-op"]),c.length>0){var f=u.italic,p=_m(c+"Size"+(o?"2":"1"),t);u=He({positionType:"individualShift",children:[{type:"elem",elem:u,shift:0},{type:"elem",elem:p,shift:o?.08:0}]}),i.name="\\"+c,u.classes.unshift("mop"),u.italic=f}}else if(i.body){var h=dt(i.body,t,!0);h.length===1&&h[0]instanceof Bt?(u=h[0],u.classes[0]="mop"):u=ee(["mop"],h,t)}else{for(var b=[],y=1;y<i.name.length;y++)b.push(ml(i.name[y],i.mode,t));u=ee(["mop"],b,t)}var x=0,T=0;return(u instanceof Bt||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift&&(x=(u.height-u.depth)/2-t.fontMetrics().axisHeight,T=u.italic||0),a?ap(u,r,n,t,s,T,x):(x&&(u.style.position="relative",u.style.top=ce(x)),u)},di=(e,t)=>{var r;if(e.symbol)r=new se("mo",[Wt(e.name,e.mode)]),ip.has(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new se("mo",Ht(e.body,t));else{r=new se("mi",[new ut(e.name.slice(1))]);var n=new se("mo",[Wt("⁡","text")]);e.parentIsSupSub?r=new se("mrow",[r,n]):r=Om([r,n])}return r},Jy={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};he({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=n;return a.length===1&&(a=Jy[a]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:sa,mathmlBuilder:di});he({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ot(n)}},htmlBuilder:sa,mathmlBuilder:di});var Zy={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};he({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"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:sa,mathmlBuilder:di});he({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:sa,mathmlBuilder:di});he({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=Zy[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:sa,mathmlBuilder:di});var sp=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=Ie(e.base,"operatorname"),a=!0):i=Ie(e,"operatorname");var s;if(i.body.length>0){for(var o=i.body.map(f=>{var p="text"in f?f.text:void 0;return typeof p=="string"?{type:"textord",mode:f.mode,text:p}:f}),u=dt(o,t.withFont("mathrm"),!0),l=0;l<u.length;l++){var c=u[l];c instanceof Bt&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=ee(["mop"],u,t)}else s=ee(["mop"],[],t);return a?ap(s,r,n,t,t.style,0,0):s},eE=(e,t)=>{for(var r=Ht(e.body,t.withFont("mathrm")),n=!0,a=0;a<r.length;a++){var i=r[a];if(!(i instanceof Rm))if(i instanceof se)switch(i.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":{var s=i.children[0];i.children.length===1&&s instanceof ut?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var o=r.map(c=>c.toText()).join("");r=[new ut(o)]}var u=new se("mi",r);u.setAttribute("mathvariant","normal");var l=new se("mo",[Wt("⁡","text")]);return e.parentIsSupSub?new se("mrow",[u,l]):Om([u,l])};he({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"operatorname",mode:r.mode,body:ot(a),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:sp,mathmlBuilder:eE});v("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");vn({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?Ir(dt(e.body,t,!1)):ee(["mord"],dt(e.body,t,!0),t)},mathmlBuilder(e,t){return Vr(e.body,t,!0)}});he({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=Ue(e.body,t.havingCrampedStyle()),n=Wn("overline-line",t),a=t.fontMetrics().defaultRuleThickness,i=He({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]});return ee(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new se("mo",[new ut("‾")]);r.setAttribute("stretchy","true");var n=new se("mover",[qe(e.body,t),r]);return n.setAttribute("accent","true"),n}});he({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:ot(n)}},htmlBuilder:(e,t)=>{var r=dt(e.body,t.withPhantom(),!1);return Ir(r)},mathmlBuilder:(e,t)=>{var r=Ht(e.body,t);return new se("mphantom",r)}});v("\\hphantom","\\smash{\\phantom{#1}}");he({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=ee(["inner"],[Ue(e.body,t.withPhantom())]),n=ee(["fix"],[]);return ee(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=Ht(ot(e.body),t),n=new se("mphantom",r),a=new se("mpadded",[n]);return a.setAttribute("width","0px"),a}});he({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=Ie(t[0],"size").value,a=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:a}},htmlBuilder(e,t){var r=Ue(e.body,t),n=et(e.dy,t);return He({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new se("mpadded",[qe(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}});he({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});he({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,a=r[0],i=Ie(t[0],"size"),s=Ie(t[1],"size");return{type:"rule",mode:n.mode,shift:a&&Ie(a,"size").value,width:i.value,height:s.value}},htmlBuilder(e,t){var r=ee(["mord","rule"],[],t),n=et(e.width,t),a=et(e.height,t),i=e.shift?et(e.shift,t):0;return r.style.borderRightWidth=ce(n),r.style.borderTopWidth=ce(a),r.style.bottom=ce(i),r.width=n,r.height=a+i,r.depth=-i,r.maxFontSize=a*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=et(e.width,t),n=et(e.height,t),a=e.shift?et(e.shift,t):0,i=t.color&&t.getColor()||"black",s=new se("mspace");s.setAttribute("mathbackground",i),s.setAttribute("width",ce(r)),s.setAttribute("height",ce(n));var o=new se("mpadded",[s]);return a>=0?o.setAttribute("height",ce(a)):(o.setAttribute("height",ce(a)),o.setAttribute("depth",ce(-a))),o.setAttribute("voffset",ce(a)),o}});function op(e,t,r){for(var n=dt(e,t,!1),a=t.sizeMultiplier/r.sizeMultiplier,i=0;i<n.length;i++){var s=n[i].classes.indexOf("sizing");s<0?Array.prototype.push.apply(n[i].classes,t.sizingClasses(r)):n[i].classes[s+1]==="reset-size"+t.size&&(n[i].classes[s+1]="reset-size"+r.size),n[i].height*=a,n[i].depth*=a}return Ir(n)}var G1=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],tE=(e,t)=>{var r=t.havingSize(e.size);return op(e.body,r,t)};he({type:"sizing",names:G1,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!1,r);return{type:"sizing",mode:a.mode,size:G1.indexOf(n)+1,body:i}},htmlBuilder:tE,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=Ht(e.body,r),a=new se("mstyle",n);return a.setAttribute("mathsize",ce(r.sizeMultiplier)),a}});he({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,a=!1,i=!1,s=r[0]&&Ie(r[0],"ordgroup");if(s)for(var o="",u=0;u<s.body.length;++u){var l=s.body[u];if(o=a0(l).text,o==="t")a=!0;else if(o==="b")i=!0;else{a=!1,i=!1;break}}else a=!0,i=!0;var c=t[0];return{type:"smash",mode:n.mode,body:c,smashHeight:a,smashDepth:i}},htmlBuilder:(e,t)=>{var r=ee([],[Ue(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0),e.smashDepth&&(r.depth=0),e.smashHeight&&e.smashDepth)return ee(["mord","smash"],[r],t);if(r.children)for(var n=0;n<r.children.length;n++)e.smashHeight&&(r.children[n].height=0),e.smashDepth&&(r.children[n].depth=0);var a=He({positionType:"firstBaseline",children:[{type:"elem",elem:r}]});return ee(["mord"],[a],t)},mathmlBuilder:(e,t)=>{var r=new se("mpadded",[qe(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});he({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,a=r[0],i=t[0];return{type:"sqrt",mode:n.mode,body:i,index:a}},htmlBuilder(e,t){var r=Ue(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=Gn(r,t);var n=t.fontMetrics(),a=n.defaultRuleThickness,i=a;t.style.id<ke.TEXT.id&&(i=t.fontMetrics().xHeight);var s=a+i/4,o=r.height+r.depth+s+a,{span:u,ruleWidth:l,advanceWidth:c}=Uy(o,t),f=u.height-l;f>r.height+r.depth+s&&(s=(s+f-r.height-r.depth)/2);var p=u.height-r.height-s-l;r.style.paddingLeft=ce(c);var h=He({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+p)},{type:"elem",elem:u},{type:"kern",size:l}]});if(e.index){var b=t.havingStyle(ke.SCRIPTSCRIPT),y=Ue(e.index,b,t),x=.6*(h.height-h.depth),T=He({positionType:"shift",positionData:-x,children:[{type:"elem",elem:y}]}),w=ee(["root"],[T]);return ee(["mord","sqrt"],[w,h],t)}else return ee(["mord","sqrt"],[h],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new se("mroot",[qe(r,t),qe(n,t)]):new se("msqrt",[qe(r,t)])}});var X1={display:ke.DISPLAY,text:ke.TEXT,script:ke.SCRIPT,scriptscript:ke.SCRIPTSCRIPT};he({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!0,r),s=n.slice(1,n.length-5);return{type:"styling",mode:a.mode,style:s,body:i}},htmlBuilder(e,t){var r=X1[e.style],n=t.havingStyle(r).withFont("");return op(e.body,n,t)},mathmlBuilder(e,t){var r=X1[e.style],n=t.havingStyle(r),a=Ht(e.body,n),i=new se("mstyle",a),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=s[e.style];return i.setAttribute("scriptlevel",o[0]),i.setAttribute("displaystyle",o[1]),i}});var rE=function(t,r){var n=t.base;if(n)if(n.type==="op"){var a=n.limits&&(r.style.size===ke.DISPLAY.size||n.alwaysHandleSupSub);return a?sa:null}else if(n.type==="operatorname"){var i=n.alwaysHandleSupSub&&(r.style.size===ke.DISPLAY.size||n.limits);return i?sp:null}else{if(n.type==="accent")return Cr(n.base)?yl:null;if(n.type==="horizBrace"){var s=!t.sub;return s===n.isOver?np:null}else return null}else return null};vn({type:"supsub",htmlBuilder(e,t){var r=rE(e,t);if(r)return r(e,t);var{base:n,sup:a,sub:i}=e,s=Ue(n,t),o,u,l=t.fontMetrics(),c=0,f=0,p=n&&Cr(n);if(a){var h=t.havingStyle(t.style.sup());o=Ue(a,h,t),p||(c=s.height-h.fontMetrics().supDrop*h.sizeMultiplier/t.sizeMultiplier)}if(i){var b=t.havingStyle(t.style.sub());u=Ue(i,b,t),p||(f=s.depth+b.fontMetrics().subDrop*b.sizeMultiplier/t.sizeMultiplier)}var y;t.style===ke.DISPLAY?y=l.sup1:t.style.cramped?y=l.sup3:y=l.sup2;var x=t.sizeMultiplier,T=ce(.5/l.ptPerEm/x),w=null;if(u){var N=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(s instanceof Bt||N)&&(w=ce(-s.italic))}var M;if(o&&u){c=Math.max(c,y,o.depth+.25*l.xHeight),f=Math.max(f,l.sub2);var F=l.defaultRuleThickness,L=4*F;if(c-o.depth-(u.height-f)<L){f=L-(c-o.depth)+u.height;var z=.8*l.xHeight-(c-o.depth);z>0&&(c+=z,f-=z)}var B=[{type:"elem",elem:u,shift:f,marginRight:T,marginLeft:w},{type:"elem",elem:o,shift:-c,marginRight:T}];M=He({positionType:"individualShift",children:B})}else if(u){f=Math.max(f,l.sub1,u.height-.8*l.xHeight);var U=[{type:"elem",elem:u,marginLeft:w,marginRight:T}];M=He({positionType:"shift",positionData:f,children:U})}else if(o)c=Math.max(c,y,o.depth+.25*l.xHeight),M=He({positionType:"shift",positionData:-c,children:[{type:"elem",elem:o,marginRight:T}]});else throw new Error("supsub must have either sup or sub.");var D=su(s,"right")||"mord";return ee([D],[s,ee(["msupsub"],[M])],t)},mathmlBuilder(e,t){var r=!1,n,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var i=[qe(e.base,t)];e.sub&&i.push(qe(e.sub,t)),e.sup&&i.push(qe(e.sup,t));var s;if(r)s=n?"mover":"munder";else if(e.sub)if(e.sup){var l=e.base;l&&l.type==="op"&&l.limits&&t.style===ke.DISPLAY||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(t.style===ke.DISPLAY||l.limits)?s="munderover":s="msubsup"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===ke.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===ke.DISPLAY)?s="munder":s="msub"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===ke.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===ke.DISPLAY)?s="mover":s="msup"}return new se(s,i)}});vn({type:"atom",htmlBuilder(e,t){return ml(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new se("mo",[Wt(e.text,e.mode)]);if(e.family==="bin"){var n=bl(e,t);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var up={mi:"italic",mn:"normal",mtext:"normal"};vn({type:"mathord",htmlBuilder(e,t){return t0(e,t,"mathord")},mathmlBuilder(e,t){var r=new se("mi",[Wt(e.text,e.mode,t)]),n=bl(e,t)||"italic";return n!==up[r.type]&&r.setAttribute("mathvariant",n),r}});vn({type:"textord",htmlBuilder(e,t){return t0(e,t,"textord")},mathmlBuilder(e,t){var r=Wt(e.text,e.mode,t),n=bl(e,t)||"normal",a;return e.mode==="text"?a=new se("mtext",[r]):/[0-9]/.test(e.text)?a=new se("mn",[r]):e.text==="\\prime"?a=new se("mo",[r]):a=new se("mi",[r]),n!==up[a.type]&&a.setAttribute("mathvariant",n),a}});var lo={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},co={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};vn({type:"spacing",htmlBuilder(e,t){if(co.hasOwnProperty(e.text)){var r=co[e.text].className||"";if(e.mode==="text"){var n=t0(e,t,"textord");return n.classes.push(r),n}else return ee(["mspace",r],[ml(e.text,e.mode,t)],t)}else{if(lo.hasOwnProperty(e.text))return ee(["mspace",lo[e.text]],[],t);throw new ie('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(co.hasOwnProperty(e.text))r=new se("mtext",[new ut(" ")]);else{if(lo.hasOwnProperty(e.text))return new se("mspace");throw new ie('Unknown type of space "'+e.text+'"')}return r}});var K1=()=>{var e=new se("mtd",[]);return e.setAttribute("width","50%"),e};vn({type:"tag",mathmlBuilder(e,t){var r=new se("mtable",[new se("mtr",[K1(),new se("mtd",[Vr(e.body,t)]),K1(),new se("mtd",[Vr(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var Q1={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},J1={"\\textbf":"textbf","\\textmd":"textmd"},nE={"\\textit":"textit","\\textup":"textup"},Z1=(e,t)=>{var r=e.font;if(r){if(Q1[r])return t.withTextFontFamily(Q1[r]);if(J1[r])return t.withTextFontWeight(J1[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(nE[r])};he({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"text",mode:r.mode,body:ot(a),font:n}},htmlBuilder(e,t){var r=Z1(e,t),n=dt(e.body,r,!0);return ee(["mord","text"],n,r)},mathmlBuilder(e,t){var r=Z1(e,t);return Vr(e.body,r)}});he({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Ue(e.body,t),n=Wn("underline-line",t),a=t.fontMetrics().defaultRuleThickness,i=He({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]});return ee(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new se("mo",[new ut("‾")]);r.setAttribute("stretchy","true");var n=new se("munder",[qe(e.body,t),r]);return n.setAttribute("accentunder","true"),n}});he({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Ue(e.body,t),n=t.fontMetrics().axisHeight,a=.5*(r.height-n-(r.depth+n));return He({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new se("mpadded",[qe(e.body,t)],["vcenter"]);return new se("mrow",[r])}});he({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new ie("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=ef(e),n=[],a=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var s=r[i];s==="~"&&(s="\\textasciitilde"),n.push(At(s,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return ee(["mord","text"].concat(a.sizingClasses(t)),Sm(n),a)},mathmlBuilder(e,t){var r=new ut(ef(e)),n=new se("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var ef=e=>e.body.replace(/ /g,e.star?"␣":" "),Ur=Im,lp=`[ \r
281
+ ]`,aE="\\\\[a-zA-Z@]+",iE="\\\\[^\uD800-\uDFFF]",sE="("+aE+")"+lp+"*",oE=`\\\\(
282
+ |[ \r ]+
283
+ ?)[ \r ]*`,fu="[̀-ͯ]",uE=new RegExp(fu+"+$"),lE="("+lp+"+)|"+(oE+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(fu+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(fu+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+sE)+("|"+iE+")");class tf{constructor(t,r){this.input=t,this.settings=r,this.tokenRegex=new RegExp(lE,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new Ft("EOF",new Nt(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new ie("Unexpected character: '"+t[r]+"'",new Ft(t[r],new Nt(this,r,r+1)));var a=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[a]===14){var i=t.indexOf(`
284
+ `,this.tokenRegex.lastIndex);return i===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=i+1,this.lex()}return new Ft(a,new Nt(this,r,this.tokenRegex.lastIndex))}}class cE{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new ie("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,n){if(n===void 0&&(n=!1),n){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(t)&&(i[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var fE=Jm;v("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});v("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});v("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});v("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});v("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});v("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");v("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var rf={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};v("\\char",function(e){var t=e.popToken(),r,n=0;if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new ie("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=rf[t.text],n==null||n>=r)throw new ie("Invalid base-"+r+" digit "+t.text);for(var a;(a=rf[e.future().text])!=null&&a<r;)n*=r,n+=a,e.popToken()}return"\\@char{"+n+"}"});var vl=(e,t,r,n)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new ie("\\newcommand's first argument must be a macro name");var i=a[0].text,s=e.isDefined(i);if(s&&!t)throw new ie("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!s&&!r)throw new ie("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var o=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var u="",l=e.expandNextToken();l.text!=="]"&&l.text!=="EOF";)u+=l.text,l=e.expandNextToken();if(!u.match(/^\s*[0-9]+\s*$/))throw new ie("Invalid number of arguments: "+u);o=parseInt(u),a=e.consumeArg().tokens}return s&&n||e.macros.set(i,{tokens:a,numArgs:o}),""};v("\\newcommand",e=>vl(e,!1,!0,!1));v("\\renewcommand",e=>vl(e,!0,!1,!1));v("\\providecommand",e=>vl(e,!0,!0,!0));v("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""});v("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""});v("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),Ur[r],Ke.math[r],Ke.text[r]),""});v("\\bgroup","{");v("\\egroup","}");v("~","\\nobreakspace");v("\\lq","`");v("\\rq","'");v("\\aa","\\r a");v("\\AA","\\r A");v("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");v("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");v("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");v("ℬ","\\mathscr{B}");v("ℰ","\\mathscr{E}");v("ℱ","\\mathscr{F}");v("ℋ","\\mathscr{H}");v("ℐ","\\mathscr{I}");v("ℒ","\\mathscr{L}");v("ℳ","\\mathscr{M}");v("ℛ","\\mathscr{R}");v("ℭ","\\mathfrak{C}");v("ℌ","\\mathfrak{H}");v("ℨ","\\mathfrak{Z}");v("\\Bbbk","\\Bbb{k}");v("\\llap","\\mathllap{\\textrm{#1}}");v("\\rlap","\\mathrlap{\\textrm{#1}}");v("\\clap","\\mathclap{\\textrm{#1}}");v("\\mathstrut","\\vphantom{(}");v("\\underbar","\\underline{\\text{#1}}");v("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}');v("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");v("\\ne","\\neq");v("≠","\\neq");v("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");v("∉","\\notin");v("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");v("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");v("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");v("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");v("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");v("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");v("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");v("⟂","\\perp");v("‼","\\mathclose{!\\mkern-0.8mu!}");v("∌","\\notni");v("⌜","\\ulcorner");v("⌝","\\urcorner");v("⌞","\\llcorner");v("⌟","\\lrcorner");v("©","\\copyright");v("®","\\textregistered");v("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');v("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');v("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');v("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');v("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");v("⋮","\\vdots");v("\\varGamma","\\mathit{\\Gamma}");v("\\varDelta","\\mathit{\\Delta}");v("\\varTheta","\\mathit{\\Theta}");v("\\varLambda","\\mathit{\\Lambda}");v("\\varXi","\\mathit{\\Xi}");v("\\varPi","\\mathit{\\Pi}");v("\\varSigma","\\mathit{\\Sigma}");v("\\varUpsilon","\\mathit{\\Upsilon}");v("\\varPhi","\\mathit{\\Phi}");v("\\varPsi","\\mathit{\\Psi}");v("\\varOmega","\\mathit{\\Omega}");v("\\substack","\\begin{subarray}{c}#1\\end{subarray}");v("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");v("\\boxed","\\fbox{$\\displaystyle{#1}$}");v("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");v("\\implies","\\DOTSB\\;\\Longrightarrow\\;");v("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");v("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");v("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var nf={",":"\\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"},dE=new Set(["bin","rel"]);v("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in nf?t=nf[r]:(r.slice(0,4)==="\\not"||r in Ke.math&&dE.has(Ke.math[r].group))&&(t="\\dotsb"),t});var wl={")":!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};v("\\dotso",function(e){var t=e.future().text;return t in wl?"\\ldots\\,":"\\ldots"});v("\\dotsc",function(e){var t=e.future().text;return t in wl&&t!==","?"\\ldots\\,":"\\ldots"});v("\\cdots",function(e){var t=e.future().text;return t in wl?"\\@cdots\\,":"\\@cdots"});v("\\dotsb","\\cdots");v("\\dotsm","\\cdots");v("\\dotsi","\\!\\cdots");v("\\dotsx","\\ldots\\,");v("\\DOTSI","\\relax");v("\\DOTSB","\\relax");v("\\DOTSX","\\relax");v("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");v("\\,","\\tmspace+{3mu}{.1667em}");v("\\thinspace","\\,");v("\\>","\\mskip{4mu}");v("\\:","\\tmspace+{4mu}{.2222em}");v("\\medspace","\\:");v("\\;","\\tmspace+{5mu}{.2777em}");v("\\thickspace","\\;");v("\\!","\\tmspace-{3mu}{.1667em}");v("\\negthinspace","\\!");v("\\negmedspace","\\tmspace-{4mu}{.2222em}");v("\\negthickspace","\\tmspace-{5mu}{.277em}");v("\\enspace","\\kern.5em ");v("\\enskip","\\hskip.5em\\relax");v("\\quad","\\hskip1em\\relax");v("\\qquad","\\hskip2em\\relax");v("\\tag","\\@ifstar\\tag@literal\\tag@paren");v("\\tag@paren","\\tag@literal{({#1})}");v("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new ie("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});v("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");v("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");v("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");v("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");v("\\newline","\\\\\\relax");v("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var cp=ce(ur["Main-Regular"][84][1]-.7*ur["Main-Regular"][65][1]);v("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+cp+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");v("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+cp+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");v("\\hspace","\\@ifstar\\@hspacer\\@hspace");v("\\@hspace","\\hskip #1\\relax");v("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");v("\\ordinarycolon",":");v("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");v("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');v("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');v("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');v("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');v("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');v("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');v("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');v("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');v("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');v("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');v("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');v("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');v("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');v("∷","\\dblcolon");v("∹","\\eqcolon");v("≔","\\coloneqq");v("≕","\\eqqcolon");v("⩴","\\Coloneqq");v("\\ratio","\\vcentcolon");v("\\coloncolon","\\dblcolon");v("\\colonequals","\\coloneqq");v("\\coloncolonequals","\\Coloneqq");v("\\equalscolon","\\eqqcolon");v("\\equalscoloncolon","\\Eqqcolon");v("\\colonminus","\\coloneq");v("\\coloncolonminus","\\Coloneq");v("\\minuscolon","\\eqcolon");v("\\minuscoloncolon","\\Eqcolon");v("\\coloncolonapprox","\\Colonapprox");v("\\coloncolonsim","\\Colonsim");v("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");v("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");v("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");v("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");v("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");v("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");v("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");v("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");v("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");v("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");v("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");v("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");v("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");v("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");v("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");v("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");v("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");v("\\nleqq","\\html@mathml{\\@nleqq}{≰}");v("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");v("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");v("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");v("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");v("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");v("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");v("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");v("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");v("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");v("\\imath","\\html@mathml{\\@imath}{ı}");v("\\jmath","\\html@mathml{\\@jmath}{ȷ}");v("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");v("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");v("⟦","\\llbracket");v("⟧","\\rrbracket");v("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");v("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");v("⦃","\\lBrace");v("⦄","\\rBrace");v("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");v("⦵","\\minuso");v("\\darr","\\downarrow");v("\\dArr","\\Downarrow");v("\\Darr","\\Downarrow");v("\\lang","\\langle");v("\\rang","\\rangle");v("\\uarr","\\uparrow");v("\\uArr","\\Uparrow");v("\\Uarr","\\Uparrow");v("\\N","\\mathbb{N}");v("\\R","\\mathbb{R}");v("\\Z","\\mathbb{Z}");v("\\alef","\\aleph");v("\\alefsym","\\aleph");v("\\Alpha","\\mathrm{A}");v("\\Beta","\\mathrm{B}");v("\\bull","\\bullet");v("\\Chi","\\mathrm{X}");v("\\clubs","\\clubsuit");v("\\cnums","\\mathbb{C}");v("\\Complex","\\mathbb{C}");v("\\Dagger","\\ddagger");v("\\diamonds","\\diamondsuit");v("\\empty","\\emptyset");v("\\Epsilon","\\mathrm{E}");v("\\Eta","\\mathrm{H}");v("\\exist","\\exists");v("\\harr","\\leftrightarrow");v("\\hArr","\\Leftrightarrow");v("\\Harr","\\Leftrightarrow");v("\\hearts","\\heartsuit");v("\\image","\\Im");v("\\infin","\\infty");v("\\Iota","\\mathrm{I}");v("\\isin","\\in");v("\\Kappa","\\mathrm{K}");v("\\larr","\\leftarrow");v("\\lArr","\\Leftarrow");v("\\Larr","\\Leftarrow");v("\\lrarr","\\leftrightarrow");v("\\lrArr","\\Leftrightarrow");v("\\Lrarr","\\Leftrightarrow");v("\\Mu","\\mathrm{M}");v("\\natnums","\\mathbb{N}");v("\\Nu","\\mathrm{N}");v("\\Omicron","\\mathrm{O}");v("\\plusmn","\\pm");v("\\rarr","\\rightarrow");v("\\rArr","\\Rightarrow");v("\\Rarr","\\Rightarrow");v("\\real","\\Re");v("\\reals","\\mathbb{R}");v("\\Reals","\\mathbb{R}");v("\\Rho","\\mathrm{P}");v("\\sdot","\\cdot");v("\\sect","\\S");v("\\spades","\\spadesuit");v("\\sub","\\subset");v("\\sube","\\subseteq");v("\\supe","\\supseteq");v("\\Tau","\\mathrm{T}");v("\\thetasym","\\vartheta");v("\\weierp","\\wp");v("\\Zeta","\\mathrm{Z}");v("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");v("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");v("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");v("\\bra","\\mathinner{\\langle{#1}|}");v("\\ket","\\mathinner{|{#1}\\rangle}");v("\\braket","\\mathinner{\\langle{#1}\\rangle}");v("\\Bra","\\left\\langle#1\\right|");v("\\Ket","\\left|#1\\right\\rangle");var fp=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,a=t.consumeArg().tokens,i=t.consumeArg().tokens,s=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var u=f=>p=>{e&&(p.macros.set("|",s),a.length&&p.macros.set("\\|",o));var h=f;if(!f&&a.length){var b=p.future();b.text==="|"&&(p.popToken(),h=!0)}return{tokens:h?a:n,numArgs:0}};t.macros.set("|",u(!1)),a.length&&t.macros.set("\\|",u(!0));var l=t.consumeArg().tokens,c=t.expandTokens([...i,...l,...r]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};v("\\bra@ket",fp(!1));v("\\bra@set",fp(!0));v("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");v("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");v("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");v("\\angln","{\\angl n}");v("\\blue","\\textcolor{##6495ed}{#1}");v("\\orange","\\textcolor{##ffa500}{#1}");v("\\pink","\\textcolor{##ff00af}{#1}");v("\\red","\\textcolor{##df0030}{#1}");v("\\green","\\textcolor{##28ae7b}{#1}");v("\\gray","\\textcolor{gray}{#1}");v("\\purple","\\textcolor{##9d38bd}{#1}");v("\\blueA","\\textcolor{##ccfaff}{#1}");v("\\blueB","\\textcolor{##80f6ff}{#1}");v("\\blueC","\\textcolor{##63d9ea}{#1}");v("\\blueD","\\textcolor{##11accd}{#1}");v("\\blueE","\\textcolor{##0c7f99}{#1}");v("\\tealA","\\textcolor{##94fff5}{#1}");v("\\tealB","\\textcolor{##26edd5}{#1}");v("\\tealC","\\textcolor{##01d1c1}{#1}");v("\\tealD","\\textcolor{##01a995}{#1}");v("\\tealE","\\textcolor{##208170}{#1}");v("\\greenA","\\textcolor{##b6ffb0}{#1}");v("\\greenB","\\textcolor{##8af281}{#1}");v("\\greenC","\\textcolor{##74cf70}{#1}");v("\\greenD","\\textcolor{##1fab54}{#1}");v("\\greenE","\\textcolor{##0d923f}{#1}");v("\\goldA","\\textcolor{##ffd0a9}{#1}");v("\\goldB","\\textcolor{##ffbb71}{#1}");v("\\goldC","\\textcolor{##ff9c39}{#1}");v("\\goldD","\\textcolor{##e07d10}{#1}");v("\\goldE","\\textcolor{##a75a05}{#1}");v("\\redA","\\textcolor{##fca9a9}{#1}");v("\\redB","\\textcolor{##ff8482}{#1}");v("\\redC","\\textcolor{##f9685d}{#1}");v("\\redD","\\textcolor{##e84d39}{#1}");v("\\redE","\\textcolor{##bc2612}{#1}");v("\\maroonA","\\textcolor{##ffbde0}{#1}");v("\\maroonB","\\textcolor{##ff92c6}{#1}");v("\\maroonC","\\textcolor{##ed5fa6}{#1}");v("\\maroonD","\\textcolor{##ca337c}{#1}");v("\\maroonE","\\textcolor{##9e034e}{#1}");v("\\purpleA","\\textcolor{##ddd7ff}{#1}");v("\\purpleB","\\textcolor{##c6b9fc}{#1}");v("\\purpleC","\\textcolor{##aa87ff}{#1}");v("\\purpleD","\\textcolor{##7854ab}{#1}");v("\\purpleE","\\textcolor{##543b78}{#1}");v("\\mintA","\\textcolor{##f5f9e8}{#1}");v("\\mintB","\\textcolor{##edf2df}{#1}");v("\\mintC","\\textcolor{##e0e5cc}{#1}");v("\\grayA","\\textcolor{##f6f7f7}{#1}");v("\\grayB","\\textcolor{##f0f1f2}{#1}");v("\\grayC","\\textcolor{##e3e5e6}{#1}");v("\\grayD","\\textcolor{##d6d8da}{#1}");v("\\grayE","\\textcolor{##babec2}{#1}");v("\\grayF","\\textcolor{##888d93}{#1}");v("\\grayG","\\textcolor{##626569}{#1}");v("\\grayH","\\textcolor{##3b3e40}{#1}");v("\\grayI","\\textcolor{##21242c}{#1}");v("\\kaBlue","\\textcolor{##314453}{#1}");v("\\kaGreen","\\textcolor{##71B307}{#1}");var dp={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class hE{constructor(t,r,n){this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new cE(fE,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new tf(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,n,a;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:a,end:n}=this.consumeArg(["]"])}else({tokens:a,start:r,end:n}=this.consumeArg());return this.pushToken(new Ft("EOF",n.loc)),this.pushTokens(a),new Ft("",Nt.range(r,n))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var a=this.future(),i,s=0,o=0;do{if(i=this.popToken(),r.push(i),i.text==="{")++s;else if(i.text==="}"){if(--s,s===-1)throw new ie("Extra }",i)}else if(i.text==="EOF")throw new ie("Unexpected end of input in a macro argument, expected '"+(t&&n?t[o]:"}")+"'",i);if(t&&n)if((s===0||s===1&&t[o]==="{")&&i.text===t[o]){if(++o,o===t.length){r.splice(-o,o);break}}else o=0}while(s!==0||n);return a.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:a,end:i}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new ie("The length of delimiters doesn't match the number of args!");for(var n=r[0],a=0;a<n.length;a++){var i=this.popToken();if(n[a]!==i.text)throw new ie("Use of the macro doesn't match its definition",i)}}for(var s=[],o=0;o<t;o++)s.push(this.consumeArg(r&&r[o+1]).tokens);return s}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new ie("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),n=r.text,a=r.noexpand?null:this._getExpansion(n);if(a==null||t&&a.unexpandable){if(t&&a==null&&n[0]==="\\"&&!this.isDefined(n))throw new ie("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var i=a.tokens,s=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){i=i.slice();for(var o=i.length-1;o>=0;--o){var u=i[o];if(u.text==="#"){if(o===0)throw new ie("Incomplete placeholder at end of macro body",u);if(u=i[--o],u.text==="#")i.splice(o+1,1);else if(/^[1-9]$/.test(u.text))i.splice(o,2,...s[+u.text-1]);else throw new ie("Not a valid argument number",u)}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}}expandMacro(t){return this.macros.has(t)?this.expandTokens([new Ft(t)]):void 0}expandTokens(t){var r=[],n=this.stack.length;for(this.pushTokens(t);this.stack.length>n;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),r.push(a)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(n=>n.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var n=this.lexer.catcodes[t];if(n!=null&&n!==13)return}var a=typeof r=="function"?r(this):r;if(typeof a=="string"){var i=0;if(a.includes("#"))for(var s=a.replace(/##/g,"");s.includes("#"+(i+1));)++i;for(var o=new tf(a,this.settings),u=[],l=o.lex();l.text!=="EOF";)u.push(l),l=o.lex();u.reverse();var c={tokens:u,numArgs:i};return c}return a}isDefined(t){return this.macros.has(t)||Ur.hasOwnProperty(t)||Ke.math.hasOwnProperty(t)||Ke.text.hasOwnProperty(t)||dp.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Ur.hasOwnProperty(t)&&!Ur[t].primitive}}var af=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Ui=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),fo={"́":{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"}},sf={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let hp=class mp{constructor(t,r){this.mode="math",this.gullet=new hE(t,r,this.mode),this.settings=r,this.leftrightDepth=0,this.nextToken=null}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new ie("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new Ft("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(t,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(mp.endOfExpression.has(a.text)||r&&a.text===r||t&&Ur[a.text]&&Ur[a.text].infix)break;var i=this.parseAtom(r);if(i){if(i.type==="internal")continue}else break;n.push(i)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,a=0;a<t.length;a++){var i=t[a];if(i.type==="infix"){if(r!==-1)throw new ie("only one infix operator per group",i.token);r=a,n=i.replaceWith}}if(r!==-1&&n){var s,o,u=t.slice(0,r),l=t.slice(r+1);u.length===1&&u[0].type==="ordgroup"?s=u[0]:s={type:"ordgroup",mode:this.mode,body:u},l.length===1&&l[0].type==="ordgroup"?o=l[0]:o={type:"ordgroup",mode:this.mode,body:l};var c;return n==="\\\\abovefrac"?c=this.callFunction(n,[s,t[r],o],[]):c=this.callFunction(n,[s,o],[]),[c]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var a;do{var i;a=this.parseGroup(t)}while(((i=a)==null?void 0:i.type)==="internal");if(!a)throw new ie("Expected group after '"+n+"'",r);return a}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var a={type:"text",mode:this.mode,body:r},i={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return i}parseAtom(t){var r=this.parseGroup("atom",t);if((r==null?void 0:r.type)==="internal"||this.mode==="text")return r;for(var n,a;;){this.consumeSpaces();var i=this.fetch();if(i.text==="\\limits"||i.text==="\\nolimits"){if(r&&r.type==="op"){var s=i.text==="\\limits";r.limits=s,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=i.text==="\\limits");else throw new ie("Limit controls must follow a math operator",i);this.consume()}else if(i.text==="^"){if(n)throw new ie("Double superscript",i);n=this.handleSupSubscript("superscript")}else if(i.text==="_"){if(a)throw new ie("Double subscript",i);a=this.handleSupSubscript("subscript")}else if(i.text==="'"){if(n)throw new ie("Double superscript",i);var o={type:"textord",mode:this.mode,text:"\\prime"},u=[o];for(this.consume();this.fetch().text==="'";)u.push(o),this.consume();this.fetch().text==="^"&&u.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:u}}else if(Ui[i.text]){var l=af.test(i.text),c=[];for(c.push(new Ft(Ui[i.text])),this.consume();;){var f=this.fetch().text;if(!Ui[f]||af.test(f)!==l)break;c.unshift(new Ft(Ui[f])),this.consume()}var p=this.subparse(c);l?a={type:"ordgroup",mode:"math",body:p}:n={type:"ordgroup",mode:"math",body:p}}else break}return n||a?{type:"supsub",mode:this.mode,base:r,sup:n,sub:a}:r}parseFunction(t,r){var n=this.fetch(),a=n.text,i=Ur[a];if(!i)return null;if(this.consume(),r&&r!=="atom"&&!i.allowedInArgument)throw new ie("Got function '"+a+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!i.allowedInText)throw new ie("Can't use function '"+a+"' in text mode",n);if(this.mode==="math"&&i.allowedInMath===!1)throw new ie("Can't use function '"+a+"' in math mode",n);var{args:s,optArgs:o}=this.parseArguments(a,i);return this.callFunction(a,s,o,n,t)}callFunction(t,r,n,a,i){var s={funcName:t,parser:this,token:a,breakOnTokenText:i},o=Ur[t];if(o&&o.handler)return o.handler(s,r,n);throw new ie("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var a=[],i=[],s=0;s<n;s++){var o=r.argTypes&&r.argTypes[s],u=s<r.numOptionalArgs;("primitive"in r&&r.primitive&&o==null||r.type==="sqrt"&&s===1&&i[0]==null)&&(o="primitive");var l=this.parseGroupOfType("argument to '"+t+"'",o,u);if(u)i.push(l);else if(l!=null)a.push(l);else throw new ie("Null argument, please report this as a bug")}return{args:a,optArgs:i}}parseGroupOfType(t,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var a=this.parseArgumentGroup(n,"text");return a!=null?{type:"styling",mode:a.mode,body:[a],style:"text"}:null}case"raw":{var i=this.parseStringGroup("raw",n);return i!=null?{type:"raw",mode:"text",string:i.text}:null}case"primitive":{if(n)throw new ie("A primitive argument cannot be optional");var s=this.parseGroup(t);if(s==null)throw new ie("Expected group as "+t,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new ie("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var a="",i;(i=this.fetch()).text!=="EOF";)a+=i.text,this.consume();return this.consume(),n.text=a,n}parseRegexGroup(t,r){for(var n=this.fetch(),a=n,i="",s;(s=this.fetch()).text!=="EOF"&&t.test(i+s.text);)a=s,i+=a.text,this.consume();if(i==="")throw new ie("Invalid "+r+": '"+n.text+"'",n);return n.range(a,i)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new ie("Invalid color: '"+r.text+"'",r);var a=n[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(t){var r,n=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",n=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!a)throw new ie("Invalid size: '"+r.text+"'",r);var i={number:+(a[1]+a[2]),unit:a[3]};if(!xm(i))throw new ie("Invalid unit: '"+i.unit+"'",r);return{type:"size",mode:this.mode,value:i,isBlank:n}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(t,r){var n=this.gullet.scanArgument(t);if(n==null)return null;var a=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var s={type:"ordgroup",mode:this.mode,loc:n.loc,body:i};return r&&this.switchMode(a),s}parseGroup(t,r){var n=this.fetch(),a=n.text,i;if(a==="{"||a==="\\begingroup"){this.consume();var s=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var o=this.parseExpression(!1,s),u=this.fetch();this.expect(s),this.gullet.endGroup(),i={type:"ordgroup",mode:this.mode,loc:Nt.range(n,u),body:o,semisimple:a==="\\begingroup"||void 0}}else if(i=this.parseFunction(r,t)||this.parseSymbol(),i==null&&a[0]==="\\"&&!dp.hasOwnProperty(a)){if(this.settings.throwOnError)throw new ie("Undefined control sequence: "+a,n);i=this.formatUnsupportedCmd(a),this.consume()}return i}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var a=t[n];if(a.type==="textord"){var i=a.text,s=t[n+1];if(!(!s||s.type!=="textord")){if(i==="-"&&s.text==="-"){var o=t[n+2];n+1<r&&o&&o.type==="textord"&&o.text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:Nt.range(a,o),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:Nt.range(a,s),text:"--"}),r-=1)}(i==="'"||i==="`")&&s.text===i&&(t.splice(n,2,{type:"textord",mode:"text",loc:Nt.range(a,s),text:i+i}),r-=1)}}}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),a=n.charAt(0)==="*";if(a&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new ie(`\\verb assertion failed --
285
+ please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:a}}sf.hasOwnProperty(r[0])&&!Ke[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=sf[r[0]]+r.slice(1));var i=uE.exec(r);i&&(r=r.substring(0,i.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var s;if(Ke[this.mode][r]){this.settings.strict&&this.mode==="math"&&ru.includes(r)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var o=Ke[this.mode][r].group,u=Nt.range(t),l;if(ly.hasOwnProperty(o)){var c=o;l={type:"atom",mode:this.mode,family:c,loc:u,text:r}}else l={type:o,mode:this.mode,loc:u,text:r};s=l}else if(r.charCodeAt(0)>=128)this.settings.strict&&(Em(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),s={type:"textord",mode:"text",loc:Nt.range(t),text:r};else return null;if(this.consume(),i)for(var f=0;f<i[0].length;f++){var p=i[0][f];if(!fo[p])throw new ie("Unknown accent ' "+p+"'",t);var h=fo[p][this.mode]||fo[p].text;if(!h)throw new ie("Accent "+p+" unsupported in "+this.mode+" mode",t);s={type:"accent",mode:this.mode,loc:Nt.range(t),label:h,isStretchy:!1,isShifty:!0,base:s}}return s}};hp.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var Al=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new hp(t,r);delete n.gullet.macros.current["\\df@tag"];var a=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new ie("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:n.subparse([new Ft("\\df@tag")])}]}return a},pp=function(t,r,n){r.textContent="";var a=Sl(t,n).toNode();r.appendChild(a)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),pp=function(){throw new ie("KaTeX doesn't work in quirks mode.")});var mE=function(t,r){var n=Sl(t,r).toMarkup();return n},pE=function(t,r){var n=new fl(r);return Al(t,n)},gp=function(t,r,n){if(n.throwOnError||!(t instanceof ie))throw t;var a=ee(["katex-error"],[new Bt(r)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+n.errorColor),a},Sl=function(t,r){var n=new fl(r);try{var a=Al(t,n);return Sy(a,t,n)}catch(i){return gp(i,t,n)}},gE=function(t,r){var n=new fl(r);try{var a=Al(t,n);return ky(a,t,n)}catch(i){return gp(i,t,n)}},bE="0.16.45",yE={Span:aa,Anchor:Zs,SymbolNode:Bt,SvgNode:Ar,PathNode:qr,LineNode:tu},of={version:bE,render:pp,renderToString:mE,ParseError:ie,SETTINGS_SCHEMA:Jo,__parse:pE,__renderToDomTree:Sl,__renderToHTMLTree:gE,__setFontMetrics:oy,__defineSymbol:m,__defineFunction:he,__defineMacro:v,__domTree:yE};const EE={};function xE(e){const t=this,r=e||EE,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(N9(r)),i.push(v9()),s.push(w9(r))}function uf(e,t){const r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,a=r.indexOf(t);for(;a!==-1;)n++,a=r.indexOf(t,a+t.length);return n}function TE(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function bp(e,t,r){const a=li((r||{}).ignore||[]),i=vE(t);let s=-1;for(;++s<i.length;)ul(e,"text",o);function o(l,c){let f=-1,p;for(;++f<c.length;){const h=c[f],b=p?p.children:void 0;if(a(h,b?b.indexOf(h):void 0,p))return;p=h}if(p)return u(l,c)}function u(l,c){const f=c[c.length-1],p=i[s][0],h=i[s][1];let b=0;const x=f.children.indexOf(l);let T=!1,w=[];p.lastIndex=0;let N=p.exec(l.value);for(;N;){const M=N.index,F={index:N.index,input:N.input,stack:[...c,l]};let L=h(...N,F);if(typeof L=="string"&&(L=L.length>0?{type:"text",value:L}:void 0),L===!1?p.lastIndex=M+1:(b!==M&&w.push({type:"text",value:l.value.slice(b,M)}),Array.isArray(L)?w.push(...L):L&&w.push(L),b=M+N[0].length,T=!0),!p.global)break;N=p.exec(l.value)}return T?(b<l.value.length&&w.push({type:"text",value:l.value.slice(b)}),f.children.splice(x,1,...w)):w=[l],x+w.length}}function vE(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!e[0]||Array.isArray(e[0])?e:[e];let n=-1;for(;++n<r.length;){const a=r[n];t.push([wE(a[0]),AE(a[1])])}return t}function wE(e){return typeof e=="string"?new RegExp(TE(e),"g"):e}function AE(e){return typeof e=="function"?e:function(){return e}}const ho="phrasing",mo=["autolink","link","image","label"];function SE(){return{transforms:[RE],enter:{literalAutolink:CE,literalAutolinkEmail:po,literalAutolinkHttp:po,literalAutolinkWww:po},exit:{literalAutolink:OE,literalAutolinkEmail:NE,literalAutolinkHttp:_E,literalAutolinkWww:IE}}}function kE(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ho,notInConstruct:mo},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ho,notInConstruct:mo},{character:":",before:"[ps]",after:"\\/",inConstruct:ho,notInConstruct:mo}]}}function CE(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function po(e){this.config.enter.autolinkProtocol.call(this,e)}function _E(e){this.config.exit.autolinkProtocol.call(this,e)}function IE(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function NE(e){this.config.exit.autolinkEmail.call(this,e)}function OE(e){this.exit(e)}function RE(e){bp(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,DE],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,LE]],{ignore:["link","linkReference"]})}function DE(e,t,r,n,a){let i="";if(!yp(a)||(/^w/i.test(t)&&(r=t+r,t="",i="http://"),!ME(r)))return!1;const s=PE(r+n);if(!s[0])return!1;const o={type:"link",title:null,url:i+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[o,{type:"text",value:s[1]}]:o}function LE(e,t,r,n){return!yp(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function ME(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function PE(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const a=uf(e,"(");let i=uf(e,")");for(;n!==-1&&a>i;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),i++;return[e,r]}function yp(e,t){const r=e.input.charCodeAt(e.index-1);return(e.index===0||bn(r)||Gs(r))&&(!t||r!==47)}Ep.peek=YE;function FE(){this.buffer()}function BE(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function zE(){this.buffer()}function HE(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function UE(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=Zt(this.sliceSerialize(e)).toLowerCase(),r.label=t}function jE(e){this.exit(e)}function $E(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=Zt(this.sliceSerialize(e)).toLowerCase(),r.label=t}function qE(e){this.exit(e)}function YE(){return"["}function Ep(e,t,r,n){const a=r.createTracker(n);let i=a.move("[^");const s=r.enter("footnoteReference"),o=r.enter("reference");return i+=a.move(r.safe(r.associationId(e),{after:"]",before:i})),o(),s(),i+=a.move("]"),i}function VE(){return{enter:{gfmFootnoteCallString:FE,gfmFootnoteCall:BE,gfmFootnoteDefinitionLabelString:zE,gfmFootnoteDefinition:HE},exit:{gfmFootnoteCallString:UE,gfmFootnoteCall:jE,gfmFootnoteDefinitionLabelString:$E,gfmFootnoteDefinition:qE}}}function WE(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:Ep},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,a,i,s){const o=i.createTracker(s);let u=o.move("[^");const l=i.enter("footnoteDefinition"),c=i.enter("label");return u+=o.move(i.safe(i.associationId(n),{before:u,after:"]"})),c(),u+=o.move("]:"),n.children&&n.children.length>0&&(o.shift(4),u+=o.move((t?`
286
+ `:" ")+i.indentLines(i.containerFlow(n,o.current()),t?xp:GE))),l(),u}}function GE(e,t,r){return t===0?e:xp(e,t,r)}function xp(e,t,r){return(r?"":" ")+e}const XE=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Tp.peek=ex;function KE(){return{canContainEols:["delete"],enter:{strikethrough:JE},exit:{strikethrough:ZE}}}function QE(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:XE}],handlers:{delete:Tp}}}function JE(e){this.enter({type:"delete",children:[]},e)}function ZE(e){this.exit(e)}function Tp(e,t,r,n){const a=r.createTracker(n),i=r.enter("strikethrough");let s=a.move("~~");return s+=r.containerPhrasing(e,at(ne({},a.current()),{before:s,after:"~"})),s+=a.move("~~"),i(),s}function ex(){return"~"}function tx(e){return e.length}function rx(e,t){const r=t||{},n=(r.align||[]).concat(),a=r.stringLength||tx,i=[],s=[],o=[],u=[];let l=0,c=-1;for(;++c<e.length;){const y=[],x=[];let T=-1;for(e[c].length>l&&(l=e[c].length);++T<e[c].length;){const w=nx(e[c][T]);if(r.alignDelimiters!==!1){const N=a(w);x[T]=N,(u[T]===void 0||N>u[T])&&(u[T]=N)}y.push(w)}s[c]=y,o[c]=x}let f=-1;if(typeof n=="object"&&"length"in n)for(;++f<l;)i[f]=lf(n[f]);else{const y=lf(n);for(;++f<l;)i[f]=y}f=-1;const p=[],h=[];for(;++f<l;){const y=i[f];let x="",T="";y===99?(x=":",T=":"):y===108?x=":":y===114&&(T=":");let w=r.alignDelimiters===!1?1:Math.max(1,u[f]-x.length-T.length);const N=x+"-".repeat(w)+T;r.alignDelimiters!==!1&&(w=x.length+w+T.length,w>u[f]&&(u[f]=w),h[f]=w),p[f]=N}s.splice(1,0,p),o.splice(1,0,h),c=-1;const b=[];for(;++c<s.length;){const y=s[c],x=o[c];f=-1;const T=[];for(;++f<l;){const w=y[f]||"";let N="",M="";if(r.alignDelimiters!==!1){const F=u[f]-(x[f]||0),L=i[f];L===114?N=" ".repeat(F):L===99?F%2?(N=" ".repeat(F/2+.5),M=" ".repeat(F/2-.5)):(N=" ".repeat(F/2),M=N):M=" ".repeat(F)}r.delimiterStart!==!1&&!f&&T.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&w==="")&&(r.delimiterStart!==!1||f)&&T.push(" "),r.alignDelimiters!==!1&&T.push(N),T.push(w),r.alignDelimiters!==!1&&T.push(M),r.padding!==!1&&T.push(" "),(r.delimiterEnd!==!1||f!==l-1)&&T.push("|")}b.push(r.delimiterEnd===!1?T.join("").replace(/ +$/,""):T.join(""))}return b.join(`
287
+ `)}function nx(e){return e==null?"":String(e)}function lf(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}const cf={}.hasOwnProperty;function vp(e,t){const r=t||{};function n(a,...i){let s=n.invalid;const o=n.handlers;if(a&&cf.call(a,e)){const u=String(a[e]);s=cf.call(o,u)?o[u]:n.unknown}if(s)return s.call(this,a,...i)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}function ax(e,t,r,n){const a=r.enter("blockquote"),i=r.createTracker(n);i.move("> "),i.shift(2);const s=r.indentLines(r.containerFlow(e,i.current()),ix);return a(),s}function ix(e,t,r){return">"+(r?"":" ")+e}function sx(e,t){return ff(e,t.inConstruct,!0)&&!ff(e,t.notInConstruct,!1)}function ff(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function df(e,t,r,n){let a=-1;for(;++a<r.unsafe.length;)if(r.unsafe[a].character===`
288
+ `&&sx(r.stack,r.unsafe[a]))return/[ \t]/.test(n.before)?"":" ";return`\\
289
+ `}function ox(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function ux(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function lx(e,t,r,n){const a=ux(r),i=e.value||"",s=a==="`"?"GraveAccent":"Tilde";if(ox(e,r)){const f=r.enter("codeIndented"),p=r.indentLines(i,cx);return f(),p}const o=r.createTracker(n),u=a.repeat(Math.max(ym(i,a)+1,3)),l=r.enter("codeFenced");let c=o.move(u);if(e.lang){const f=r.enter(`codeFencedLang${s}`);c+=o.move(r.safe(e.lang,ne({before:c,after:" ",encode:["`"]},o.current()))),f()}if(e.lang&&e.meta){const f=r.enter(`codeFencedMeta${s}`);c+=o.move(" "),c+=o.move(r.safe(e.meta,ne({before:c,after:`
290
+ `,encode:["`"]},o.current()))),f()}return c+=o.move(`
291
+ `),i&&(c+=o.move(i+`
292
+ `)),c+=o.move(u),l(),c}function cx(e,t,r){return(r?"":" ")+e}function kl(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function fx(e,t,r,n){const a=kl(r),i=a==='"'?"Quote":"Apostrophe",s=r.enter("definition");let o=r.enter("label");const u=r.createTracker(n);let l=u.move("[");return l+=u.move(r.safe(r.associationId(e),ne({before:l,after:"]"},u.current()))),l+=u.move("]: "),o(),!e.url||/[\0- \u007F]/.test(e.url)?(o=r.enter("destinationLiteral"),l+=u.move("<"),l+=u.move(r.safe(e.url,ne({before:l,after:">"},u.current()))),l+=u.move(">")):(o=r.enter("destinationRaw"),l+=u.move(r.safe(e.url,ne({before:l,after:e.title?" ":`
293
+ `},u.current())))),o(),e.title&&(o=r.enter(`title${i}`),l+=u.move(" "+a),l+=u.move(r.safe(e.title,ne({before:l,after:a},u.current()))),l+=u.move(a),o()),s(),l}function dx(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Ka(e){return"&#x"+e.toString(16).toUpperCase()+";"}function vs(e,t,r){const n=qn(e),a=qn(t);return n===void 0?a===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===1?a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}wp.peek=hx;function wp(e,t,r,n){const a=dx(r),i=r.enter("emphasis"),s=r.createTracker(n),o=s.move(a);let u=s.move(r.containerPhrasing(e,ne({after:a,before:o},s.current())));const l=u.charCodeAt(0),c=vs(n.before.charCodeAt(n.before.length-1),l,a);c.inside&&(u=Ka(l)+u.slice(1));const f=u.charCodeAt(u.length-1),p=vs(n.after.charCodeAt(0),f,a);p.inside&&(u=u.slice(0,-1)+Ka(f));const h=s.move(a);return i(),r.attentionEncodeSurroundingInfo={after:p.outside,before:c.outside},o+u+h}function hx(e,t,r){return r.options.emphasis||"*"}function mx(e,t){let r=!1;return Js(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,Go}),!!((!e.depth||e.depth<3)&&tl(e)&&(t.options.setext||r))}function px(e,t,r,n){const a=Math.max(Math.min(6,e.depth||1),1),i=r.createTracker(n);if(mx(e,r)){const c=r.enter("headingSetext"),f=r.enter("phrasing"),p=r.containerPhrasing(e,at(ne({},i.current()),{before:`
294
+ `,after:`
295
+ `}));return f(),c(),p+`
296
+ `+(a===1?"=":"-").repeat(p.length-(Math.max(p.lastIndexOf("\r"),p.lastIndexOf(`
297
+ `))+1))}const s="#".repeat(a),o=r.enter("headingAtx"),u=r.enter("phrasing");i.move(s+" ");let l=r.containerPhrasing(e,ne({before:"# ",after:`
298
+ `},i.current()));return/^[\t ]/.test(l)&&(l=Ka(l.charCodeAt(0))+l.slice(1)),l=l?s+" "+l:s,r.options.closeAtx&&(l+=" "+s),u(),o(),l}Ap.peek=gx;function Ap(e){return e.value||""}function gx(){return"<"}Sp.peek=bx;function Sp(e,t,r,n){const a=kl(r),i=a==='"'?"Quote":"Apostrophe",s=r.enter("image");let o=r.enter("label");const u=r.createTracker(n);let l=u.move("![");return l+=u.move(r.safe(e.alt,ne({before:l,after:"]"},u.current()))),l+=u.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=r.enter("destinationLiteral"),l+=u.move("<"),l+=u.move(r.safe(e.url,ne({before:l,after:">"},u.current()))),l+=u.move(">")):(o=r.enter("destinationRaw"),l+=u.move(r.safe(e.url,ne({before:l,after:e.title?" ":")"},u.current())))),o(),e.title&&(o=r.enter(`title${i}`),l+=u.move(" "+a),l+=u.move(r.safe(e.title,ne({before:l,after:a},u.current()))),l+=u.move(a),o()),l+=u.move(")"),s(),l}function bx(){return"!"}kp.peek=yx;function kp(e,t,r,n){const a=e.referenceType,i=r.enter("imageReference");let s=r.enter("label");const o=r.createTracker(n);let u=o.move("![");const l=r.safe(e.alt,ne({before:u,after:"]"},o.current()));u+=o.move(l+"]["),s();const c=r.stack;r.stack=[],s=r.enter("reference");const f=r.safe(r.associationId(e),ne({before:u,after:"]"},o.current()));return s(),r.stack=c,i(),a==="full"||!l||l!==f?u+=o.move(f+"]"):a==="shortcut"?u=u.slice(0,-1):u+=o.move("]"),u}function yx(){return"!"}Cp.peek=Ex;function Cp(e,t,r){let n=e.value||"",a="`",i=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(n);)a+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++i<r.unsafe.length;){const s=r.unsafe[i],o=r.compilePattern(s);let u;if(s.atBreak)for(;u=o.exec(n);){let l=u.index;n.charCodeAt(l)===10&&n.charCodeAt(l-1)===13&&l--,n=n.slice(0,l)+" "+n.slice(u.index+1)}}return a+n+a}function Ex(){return"`"}function _p(e,t){const r=tl(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Ip.peek=xx;function Ip(e,t,r,n){const a=kl(r),i=a==='"'?"Quote":"Apostrophe",s=r.createTracker(n);let o,u;if(_p(e,r)){const c=r.stack;r.stack=[],o=r.enter("autolink");let f=s.move("<");return f+=s.move(r.containerPhrasing(e,ne({before:f,after:">"},s.current()))),f+=s.move(">"),o(),r.stack=c,f}o=r.enter("link"),u=r.enter("label");let l=s.move("[");return l+=s.move(r.containerPhrasing(e,ne({before:l,after:"]("},s.current()))),l+=s.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),l+=s.move("<"),l+=s.move(r.safe(e.url,ne({before:l,after:">"},s.current()))),l+=s.move(">")):(u=r.enter("destinationRaw"),l+=s.move(r.safe(e.url,ne({before:l,after:e.title?" ":")"},s.current())))),u(),e.title&&(u=r.enter(`title${i}`),l+=s.move(" "+a),l+=s.move(r.safe(e.title,ne({before:l,after:a},s.current()))),l+=s.move(a),u()),l+=s.move(")"),o(),l}function xx(e,t,r){return _p(e,r)?"<":"["}Np.peek=Tx;function Np(e,t,r,n){const a=e.referenceType,i=r.enter("linkReference");let s=r.enter("label");const o=r.createTracker(n);let u=o.move("[");const l=r.containerPhrasing(e,ne({before:u,after:"]"},o.current()));u+=o.move(l+"]["),s();const c=r.stack;r.stack=[],s=r.enter("reference");const f=r.safe(r.associationId(e),ne({before:u,after:"]"},o.current()));return s(),r.stack=c,i(),a==="full"||!l||l!==f?u+=o.move(f+"]"):a==="shortcut"?u=u.slice(0,-1):u+=o.move("]"),u}function Tx(){return"["}function Cl(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function vx(e){const t=Cl(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}function wx(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function Op(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function Ax(e,t,r,n){const a=r.enter("list"),i=r.bulletCurrent;let s=e.ordered?wx(r):Cl(r);const o=e.ordered?s==="."?")":".":vx(r);let u=t&&r.bulletLastUsed?s===r.bulletLastUsed:!1;if(!e.ordered){const c=e.children?e.children[0]:void 0;if((s==="*"||s==="-")&&c&&(!c.children||!c.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(u=!0),Op(r)===s&&c){let f=-1;for(;++f<e.children.length;){const p=e.children[f];if(p&&p.type==="listItem"&&p.children&&p.children[0]&&p.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(s=o),r.bulletCurrent=s;const l=r.containerFlow(e,n);return r.bulletLastUsed=s,r.bulletCurrent=i,a(),l}function Sx(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function kx(e,t,r,n){const a=Sx(r);let i=r.bulletCurrent||Cl(r);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let s=i.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(s=Math.ceil(s/4)*4);const o=r.createTracker(n);o.move(i+" ".repeat(s-i.length)),o.shift(s);const u=r.enter("listItem"),l=r.indentLines(r.containerFlow(e,o.current()),c);return u(),l;function c(f,p,h){return p?(h?"":" ".repeat(s))+f:(h?i:i+" ".repeat(s-i.length))+f}}function Cx(e,t,r,n){const a=r.enter("paragraph"),i=r.enter("phrasing"),s=r.containerPhrasing(e,n);return i(),a(),s}const _x=li(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Ix(e,t,r,n){return(e.children.some(function(s){return _x(s)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function Nx(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Rp.peek=Ox;function Rp(e,t,r,n){const a=Nx(r),i=r.enter("strong"),s=r.createTracker(n),o=s.move(a+a);let u=s.move(r.containerPhrasing(e,ne({after:a,before:o},s.current())));const l=u.charCodeAt(0),c=vs(n.before.charCodeAt(n.before.length-1),l,a);c.inside&&(u=Ka(l)+u.slice(1));const f=u.charCodeAt(u.length-1),p=vs(n.after.charCodeAt(0),f,a);p.inside&&(u=u.slice(0,-1)+Ka(f));const h=s.move(a+a);return i(),r.attentionEncodeSurroundingInfo={after:p.outside,before:c.outside},o+u+h}function Ox(e,t,r){return r.options.strong||"*"}function Rx(e,t,r,n){return r.safe(e.value,n)}function Dx(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function Lx(e,t,r){const n=(Op(r)+(r.options.ruleSpaces?" ":"")).repeat(Dx(r));return r.options.ruleSpaces?n.slice(0,-1):n}const Dp={blockquote:ax,break:df,code:lx,definition:fx,emphasis:wp,hardBreak:df,heading:px,html:Ap,image:Sp,imageReference:kp,inlineCode:Cp,link:Ip,linkReference:Np,list:Ax,listItem:kx,paragraph:Cx,root:Ix,strong:Rp,text:Rx,thematicBreak:Lx};function Mx(){return{enter:{table:Px,tableData:hf,tableHeader:hf,tableRow:Bx},exit:{codeText:zx,table:Fx,tableData:go,tableHeader:go,tableRow:go}}}function Px(e){const t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function Fx(e){this.exit(e),this.data.inTable=void 0}function Bx(e){this.enter({type:"tableRow",children:[]},e)}function go(e){this.exit(e)}function hf(e){this.enter({type:"tableCell",children:[]},e)}function zx(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Hx));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function Hx(e,t){return t==="|"?t:e}function Ux(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,a=t.stringLength,i=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
299
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:s,tableCell:u,tableRow:o}};function s(h,b,y,x){return l(c(h,y,x),h.align)}function o(h,b,y,x){const T=f(h,y,x),w=l([T]);return w.slice(0,w.indexOf(`
300
+ `))}function u(h,b,y,x){const T=y.enter("tableCell"),w=y.enter("phrasing"),N=y.containerPhrasing(h,at(ne({},x),{before:i,after:i}));return w(),T(),N}function l(h,b){return rx(h,{align:b,alignDelimiters:n,padding:r,stringLength:a})}function c(h,b,y){const x=h.children;let T=-1;const w=[],N=b.enter("table");for(;++T<x.length;)w[T]=f(x[T],b,y);return N(),w}function f(h,b,y){const x=h.children;let T=-1;const w=[],N=b.enter("tableRow");for(;++T<x.length;)w[T]=u(x[T],h,b,y);return N(),w}function p(h,b,y){let x=Dp.inlineCode(h,b,y);return y.stack.includes("tableCell")&&(x=x.replace(/\|/g,"\\$&")),x}}function jx(){return{exit:{taskListCheckValueChecked:mf,taskListCheckValueUnchecked:mf,paragraph:qx}}}function $x(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Yx}}}function mf(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function qx(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const n=r.children[0];if(n&&n.type==="text"){const a=t.children;let i=-1,s;for(;++i<a.length;){const o=a[i];if(o.type==="paragraph"){s=o;break}}s===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Yx(e,t,r,n){const a=e.children[0],i=typeof e.checked=="boolean"&&a&&a.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",o=r.createTracker(n);i&&o.move(s);let u=Dp.listItem(e,t,r,ne(ne({},n),o.current()));return i&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),u;function l(c){return c+s}}function Vx(){return[SE(),VE(),KE(),Mx(),jx()]}function Wx(e){return{extensions:[kE(),WE(e),QE(),Ux(e),$x()]}}const Gx={tokenize:eT,partial:!0},Lp={tokenize:tT,partial:!0},Mp={tokenize:rT,partial:!0},Pp={tokenize:nT,partial:!0},Xx={tokenize:aT,partial:!0},Fp={name:"wwwAutolink",tokenize:Jx,previous:zp},Bp={name:"protocolAutolink",tokenize:Zx,previous:Hp},Nr={name:"emailAutolink",tokenize:Qx,previous:Up},gr={};function Kx(){return{text:gr}}let an=48;for(;an<123;)gr[an]=Nr,an++,an===58?an=65:an===91&&(an=97);gr[43]=Nr;gr[45]=Nr;gr[46]=Nr;gr[95]=Nr;gr[72]=[Nr,Bp];gr[104]=[Nr,Bp];gr[87]=[Nr,Fp];gr[119]=[Nr,Fp];function Qx(e,t,r){const n=this;let a,i;return s;function s(f){return!du(f)||!Up.call(n,n.previous)||_l(n.events)?r(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(f))}function o(f){return du(f)?(e.consume(f),o):f===64?(e.consume(f),u):r(f)}function u(f){return f===46?e.check(Xx,c,l)(f):f===45||f===95||yt(f)?(i=!0,e.consume(f),u):c(f)}function l(f){return e.consume(f),a=!0,u}function c(f){return i&&a&&St(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):r(f)}}function Jx(e,t,r){const n=this;return a;function a(s){return s!==87&&s!==119||!zp.call(n,n.previous)||_l(n.events)?r(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Gx,e.attempt(Lp,e.attempt(Mp,i),r),r)(s))}function i(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function Zx(e,t,r){const n=this;let a="",i=!1;return s;function s(f){return(f===72||f===104)&&Hp.call(n,n.previous)&&!_l(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(f),e.consume(f),o):r(f)}function o(f){if(St(f)&&a.length<5)return a+=String.fromCodePoint(f),e.consume(f),o;if(f===58){const p=a.toLowerCase();if(p==="http"||p==="https")return e.consume(f),u}return r(f)}function u(f){return f===47?(e.consume(f),i?l:(i=!0,u)):r(f)}function l(f){return f===null||ps(f)||$e(f)||bn(f)||Gs(f)?r(f):e.attempt(Lp,e.attempt(Mp,c),r)(f)}function c(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function eT(e,t,r){let n=0;return a;function a(s){return(s===87||s===119)&&n<3?(n++,e.consume(s),a):s===46&&n===3?(e.consume(s),i):r(s)}function i(s){return s===null?r(s):t(s)}}function tT(e,t,r){let n,a,i;return s;function s(l){return l===46||l===95?e.check(Pp,u,o)(l):l===null||$e(l)||bn(l)||l!==45&&Gs(l)?u(l):(i=!0,e.consume(l),s)}function o(l){return l===95?n=!0:(a=n,n=void 0),e.consume(l),s}function u(l){return a||n||!i?r(l):t(l)}}function rT(e,t){let r=0,n=0;return a;function a(s){return s===40?(r++,e.consume(s),a):s===41&&n<r?i(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(Pp,t,i)(s):s===null||$e(s)||bn(s)?t(s):(e.consume(s),a)}function i(s){return s===41&&n++,e.consume(s),a}}function nT(e,t,r){return n;function n(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),n):o===38?(e.consume(o),i):o===93?(e.consume(o),a):o===60||o===null||$e(o)||bn(o)?t(o):r(o)}function a(o){return o===null||o===40||o===91||$e(o)||bn(o)?t(o):n(o)}function i(o){return St(o)?s(o):r(o)}function s(o){return o===59?(e.consume(o),n):St(o)?(e.consume(o),s):r(o)}}function aT(e,t,r){return n;function n(i){return e.consume(i),a}function a(i){return yt(i)?r(i):t(i)}}function zp(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||$e(e)}function Hp(e){return!St(e)}function Up(e){return!(e===47||du(e))}function du(e){return e===43||e===45||e===46||e===95||yt(e)}function _l(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const iT={tokenize:hT,partial:!0};function sT(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:cT,continuation:{tokenize:fT},exit:dT}},text:{91:{name:"gfmFootnoteCall",tokenize:lT},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:oT,resolveTo:uT}}}}function oT(e,t,r){const n=this;let a=n.events.length;const i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s;for(;a--;){const u=n.events[a][1];if(u.type==="labelImage"){s=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return o;function o(u){if(!s||!s._balanced)return r(u);const l=Zt(n.sliceSerialize({start:s.end,end:n.now()}));return l.codePointAt(0)!==94||!i.includes(l.slice(1))?r(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function uT(e,t){let r=e.length;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},o=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(r,e.length-r+1,...o),e}function lT(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i=0,s;return o;function o(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),u}function u(f){return f!==94?r(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(f){if(i>999||f===93&&!s||f===null||f===91||$e(f))return r(f);if(f===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return a.includes(Zt(n.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(f)}return $e(f)||(s=!0),i++,e.consume(f),f===92?c:l}function c(f){return f===91||f===92||f===93?(e.consume(f),i++,l):l(f)}}function cT(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i,s=0,o;return u;function u(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),l}function l(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):r(b)}function c(b){if(s>999||b===93&&!o||b===null||b===91||$e(b))return r(b);if(b===93){e.exit("chunkString");const y=e.exit("gfmFootnoteDefinitionLabelString");return i=Zt(n.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return $e(b)||(o=!0),s++,e.consume(b),b===92?f:c}function f(b){return b===91||b===92||b===93?(e.consume(b),s++,c):c(b)}function p(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),a.includes(i)||a.push(i),Me(e,h,"gfmFootnoteDefinitionWhitespace")):r(b)}function h(b){return t(b)}}function fT(e,t,r){return e.check(ui,t,e.attempt(iT,t,r))}function dT(e){e.exit("gfmFootnoteDefinition")}function hT(e,t,r){const n=this;return Me(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const s=n.events[n.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(i):r(i)}}function mT(e){let r=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:i,resolveAll:a};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function a(s,o){let u=-1;for(;++u<s.length;)if(s[u][0]==="enter"&&s[u][1].type==="strikethroughSequenceTemporary"&&s[u][1]._close){let l=u;for(;l--;)if(s[l][0]==="exit"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._open&&s[u][1].end.offset-s[u][1].start.offset===s[l][1].end.offset-s[l][1].start.offset){s[u][1].type="strikethroughSequence",s[l][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},s[l][1].start),end:Object.assign({},s[u][1].end)},f={type:"strikethroughText",start:Object.assign({},s[l][1].end),end:Object.assign({},s[u][1].start)},p=[["enter",c,o],["enter",s[l][1],o],["exit",s[l][1],o],["enter",f,o]],h=o.parser.constructs.insideSpan.null;h&&Pt(p,p.length,0,Xs(h,s.slice(l+1,u),o)),Pt(p,p.length,0,[["exit",f,o],["enter",s[u][1],o],["exit",s[u][1],o],["exit",c,o]]),Pt(s,l-1,u-l+3,p),u=l+p.length-2;break}}for(u=-1;++u<s.length;)s[u][1].type==="strikethroughSequenceTemporary"&&(s[u][1].type="data");return s}function i(s,o,u){const l=this.previous,c=this.events;let f=0;return p;function p(b){return l===126&&c[c.length-1][1].type!=="characterEscape"?u(b):(s.enter("strikethroughSequenceTemporary"),h(b))}function h(b){const y=qn(l);if(b===126)return f>1?u(b):(s.consume(b),f++,h);if(f<2&&!r)return u(b);const x=s.exit("strikethroughSequenceTemporary"),T=qn(b);return x._open=!T||T===2&&!!y,x._close=!y||y===2&&!!T,o(b)}}}class pT{constructor(){this.map=[]}add(t,r,n){gT(this,t,r,n)}consume(t){if(this.map.sort(function(i,s){return i[0]-s[0]}),this.map.length===0)return;let r=this.map.length;const n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push(t.slice()),t.length=0;let a=n.pop();for(;a;){for(const i of a)t.push(i);a=n.pop()}this.map.length=0}}function gT(e,t,r,n){let a=0;if(!(r===0&&n.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=r,e.map[a][2].push(...n);return}a+=1}e.map.push([t,r,n])}}function bT(e,t){let r=!1;const n=[];for(;t<e.length;){const a=e[t];if(r){if(a[0]==="enter")a[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=n.length-1;n[i]=n[i]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function yT(){return{flow:{null:{name:"table",tokenize:ET,resolveAll:xT}}}}function ET(e,t,r){const n=this;let a=0,i=0,s;return o;function o(D){let H=n.events.length-1;for(;H>-1;){const K=n.events[H][1].type;if(K==="lineEnding"||K==="linePrefix")H--;else break}const G=H>-1?n.events[H][1].type:null,be=G==="tableHead"||G==="tableRow"?L:u;return be===L&&n.parser.lazy[n.now().line]?r(D):be(D)}function u(D){return e.enter("tableHead"),e.enter("tableRow"),l(D)}function l(D){return D===124||(s=!0,i+=1),c(D)}function c(D){return D===null?r(D):ye(D)?i>1?(i=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),h):r(D):Pe(D)?Me(e,c,"whitespace")(D):(i+=1,s&&(s=!1,a+=1),D===124?(e.enter("tableCellDivider"),e.consume(D),e.exit("tableCellDivider"),s=!0,c):(e.enter("data"),f(D)))}function f(D){return D===null||D===124||$e(D)?(e.exit("data"),c(D)):(e.consume(D),D===92?p:f)}function p(D){return D===92||D===124?(e.consume(D),f):f(D)}function h(D){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(D):(e.enter("tableDelimiterRow"),s=!1,Pe(D)?Me(e,b,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):b(D))}function b(D){return D===45||D===58?x(D):D===124?(s=!0,e.enter("tableCellDivider"),e.consume(D),e.exit("tableCellDivider"),y):F(D)}function y(D){return Pe(D)?Me(e,x,"whitespace")(D):x(D)}function x(D){return D===58?(i+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(D),e.exit("tableDelimiterMarker"),T):D===45?(i+=1,T(D)):D===null||ye(D)?M(D):F(D)}function T(D){return D===45?(e.enter("tableDelimiterFiller"),w(D)):F(D)}function w(D){return D===45?(e.consume(D),w):D===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(D),e.exit("tableDelimiterMarker"),N):(e.exit("tableDelimiterFiller"),N(D))}function N(D){return Pe(D)?Me(e,M,"whitespace")(D):M(D)}function M(D){return D===124?b(D):D===null||ye(D)?!s||a!==i?F(D):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(D)):F(D)}function F(D){return r(D)}function L(D){return e.enter("tableRow"),z(D)}function z(D){return D===124?(e.enter("tableCellDivider"),e.consume(D),e.exit("tableCellDivider"),z):D===null||ye(D)?(e.exit("tableRow"),t(D)):Pe(D)?Me(e,z,"whitespace")(D):(e.enter("data"),B(D))}function B(D){return D===null||D===124||$e(D)?(e.exit("data"),z(D)):(e.consume(D),D===92?U:B)}function U(D){return D===92||D===124?(e.consume(D),B):B(D)}}function xT(e,t){let r=-1,n=!0,a=0,i=[0,0,0,0],s=[0,0,0,0],o=!1,u=0,l,c,f;const p=new pT;for(;++r<e.length;){const h=e[r],b=h[1];h[0]==="enter"?b.type==="tableHead"?(o=!1,u!==0&&(pf(p,t,u,l,c),c=void 0,u=0),l={type:"table",start:Object.assign({},b.start),end:Object.assign({},b.end)},p.add(r,0,[["enter",l,t]])):b.type==="tableRow"||b.type==="tableDelimiterRow"?(n=!0,f=void 0,i=[0,0,0,0],s=[0,r+1,0,0],o&&(o=!1,c={type:"tableBody",start:Object.assign({},b.start),end:Object.assign({},b.end)},p.add(r,0,[["enter",c,t]])),a=b.type==="tableDelimiterRow"?2:c?3:1):a&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(i[1]!==0&&(s[0]=s[1],f=ji(p,t,i,a,void 0,f),i=[0,0,0,0]),s[2]=r)):b.type==="tableCellDivider"&&(n?n=!1:(i[1]!==0&&(s[0]=s[1],f=ji(p,t,i,a,void 0,f)),i=s,s=[i[1],r,0,0])):b.type==="tableHead"?(o=!0,u=r):b.type==="tableRow"||b.type==="tableDelimiterRow"?(u=r,i[1]!==0?(s[0]=s[1],f=ji(p,t,i,a,r,f)):s[1]!==0&&(f=ji(p,t,s,a,r,f)),a=0):a&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")&&(s[3]=r)}for(u!==0&&pf(p,t,u,l,c),p.consume(t.events),r=-1;++r<t.events.length;){const h=t.events[r];h[0]==="enter"&&h[1].type==="table"&&(h[1]._align=bT(t.events,r))}return e}function ji(e,t,r,n,a,i){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",o="tableContent";r[0]!==0&&(i.end=Object.assign({},Dn(t.events,r[0])),e.add(r[0],0,[["exit",i,t]]));const u=Dn(t.events,r[1]);if(i={type:s,start:Object.assign({},u),end:Object.assign({},u)},e.add(r[1],0,[["enter",i,t]]),r[2]!==0){const l=Dn(t.events,r[2]),c=Dn(t.events,r[3]),f={type:o,start:Object.assign({},l),end:Object.assign({},c)};if(e.add(r[2],0,[["enter",f,t]]),n!==2){const p=t.events[r[2]],h=t.events[r[3]];if(p[1].end=Object.assign({},h[1].end),p[1].type="chunkText",p[1].contentType="text",r[3]>r[2]+1){const b=r[2]+1,y=r[3]-r[2]-1;e.add(b,y,[])}}e.add(r[3]+1,0,[["exit",f,t]])}return a!==void 0&&(i.end=Object.assign({},Dn(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function pf(e,t,r,n,a){const i=[],s=Dn(t.events,r);a&&(a.end=Object.assign({},s),i.push(["exit",a,t])),n.end=Object.assign({},s),i.push(["exit",n,t]),e.add(r+1,0,i)}function Dn(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}const TT={name:"tasklistCheck",tokenize:wT};function vT(){return{text:{91:TT}}}function wT(e,t,r){const n=this;return a;function a(u){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),i)}function i(u){return $e(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),s):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),s):r(u)}function s(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):r(u)}function o(u){return ye(u)?t(u):Pe(u)?e.check({tokenize:AT},t,r)(u):r(u)}}function AT(e,t,r){return Me(e,n,"whitespace");function n(a){return a===null?r(a):t(a)}}function ST(e){return Kh([Kx(),sT(),mT(e),yT(),vT()])}const kT={};function CT(e){const t=this,r=e||kT,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(ST(r)),i.push(Vx()),s.push(Wx(r))}const gf=/[#.]/g;function _T(e,t){const r=e||"",n={};let a=0,i,s;for(;a<r.length;){gf.lastIndex=a;const o=gf.exec(r),u=r.slice(a,o?o.index:r.length);u&&(i?i==="#"?n.id=u:Array.isArray(n.className)?n.className.push(u):n.className=[u]:s=u,a+=u.length),o&&(i=o[0],a++)}return{type:"element",tagName:s||t||"div",properties:n,children:[]}}function jp(e,t,r){const n=r?RT(r):void 0;function a(i,s,...o){let u;if(i==null){u={type:"root",children:[]};const l=s;o.unshift(l)}else{u=_T(i,t);const l=u.tagName.toLowerCase(),c=n?n.get(l):void 0;if(u.tagName=c||l,IT(s))o.unshift(s);else for(const[f,p]of Object.entries(s))NT(e,u.properties,f,p)}for(const l of o)hu(u.children,l);return u.type==="element"&&u.tagName==="template"&&(u.content={type:"root",children:u.children},u.children=[]),u}return a}function IT(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,r=Object.keys(e);for(const n of r){const a=t[n];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const i=a;for(const s of i)if(typeof s!="number"&&typeof s!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function NT(e,t,r,n){const a=qs(e,r);let i;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;i=n}else typeof n=="boolean"?i=n:typeof n=="string"?a.spaceSeparated?i=jc(n):a.commaSeparated?i=Fc(n):a.commaOrSpaceSeparated?i=jc(Fc(n).join(" ")):i=bf(a,a.property,n):Array.isArray(n)?i=[...n]:i=a.property==="style"?OT(n):String(n);if(Array.isArray(i)){const s=[];for(const o of i)s.push(bf(a,a.property,o));i=s}a.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}function hu(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const r of t)hu(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?hu(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function bf(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||Ya(r)===Ya(t)))return!0}return r}function OT(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function RT(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const DT=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],$p=jp(oi,"div"),qp=jp(Kr,"g",DT),lr={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function LT(e,t){return Yp(e,{})||{type:"root",children:[]}}function Yp(e,t){const r=MT(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function MT(e,t){switch(e.nodeType){case 1:return zT(e,t);case 3:return FT(e);case 8:return BT(e);case 9:return yf(e,t);case 10:return PT();case 11:return yf(e,t);default:return}}function yf(e,t){return{type:"root",children:Vp(e,t)}}function PT(){return{type:"doctype"}}function FT(e){return{type:"text",value:e.nodeValue||""}}function BT(e){return{type:"comment",value:e.nodeValue||""}}function zT(e,t){const r=e.namespaceURI,n=r===lr.svg?qp:$p,a=r===lr.html?e.tagName.toLowerCase():e.tagName,i=r===lr.html&&a==="template"?e.content:e,s=e.getAttributeNames(),o={};let u=-1;for(;++u<s.length;)o[s[u]]=e.getAttribute(s[u])||"";return n(a,o,Vp(i,t))}function Vp(e,t){const r=e.childNodes,n=[];let a=-1;for(;++a<r.length;){const i=Yp(r[a],t);i!==void 0&&n.push(i)}return n}new DOMParser;function HT(e,t){const r=UT(e);return LT(r)}function UT(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const Ef=function(e,t,r){const n=li(r);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(n(e.children[t],t,e))return e.children[t]},wn=function(e){if(e==null)return qT;if(typeof e=="string")return $T(e);if(typeof e=="object")return jT(e);if(typeof e=="function")return Il(e);throw new Error("Expected function, string, or array as `test`")};function jT(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=wn(e[r]);return Il(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function $T(e){return Il(t);function t(r){return r.tagName===e}}function Il(e){return t;function t(r,n,a){return!!(YT(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function qT(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function YT(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const xf=/\n/g,Tf=/[\t ]+/g,mu=wn("br"),vf=wn(ZT),VT=wn("p"),wf=wn("tr"),WT=wn(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",JT,ev]),Wp=wn(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function GT(e,t){const r=t||{},n="children"in e?e.children:[],a=Wp(e),i=Kp(e,{whitespace:r.whitespace||"normal"}),s=[];(e.type==="text"||e.type==="comment")&&s.push(...Xp(e,{breakBefore:!0,breakAfter:!0}));let o=-1;for(;++o<n.length;)s.push(...Gp(n[o],e,{whitespace:i,breakBefore:o?void 0:a,breakAfter:o<n.length-1?mu(n[o+1]):a}));const u=[];let l;for(o=-1;++o<s.length;){const c=s[o];typeof c=="number"?l!==void 0&&c>l&&(l=c):c&&(l!==void 0&&l>-1&&u.push(`
301
+ `.repeat(l)||" "),l=-1,u.push(c))}return u.join("")}function Gp(e,t,r){return e.type==="element"?XT(e,t,r):e.type==="text"?r.whitespace==="normal"?Xp(e,r):KT(e):[]}function XT(e,t,r){const n=Kp(e,r),a=e.children||[];let i=-1,s=[];if(WT(e))return s;let o,u;for(mu(e)||wf(e)&&Ef(t,e,wf)?u=`
302
+ `:VT(e)?(o=2,u=2):Wp(e)&&(o=1,u=1);++i<a.length;)s=s.concat(Gp(a[i],e,{whitespace:n,breakBefore:i?void 0:o,breakAfter:i<a.length-1?mu(a[i+1]):u}));return vf(e)&&Ef(t,e,vf)&&s.push(" "),o&&s.unshift(o),u&&s.push(u),s}function Xp(e,t){const r=String(e.value),n=[],a=[];let i=0;for(;i<=r.length;){xf.lastIndex=i;const u=xf.exec(r),l=u&&"index"in u?u.index:r.length;n.push(QT(r.slice(i,l).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),i===0?t.breakBefore:!0,l===r.length?t.breakAfter:!0)),i=l+1}let s=-1,o;for(;++s<n.length;)n[s].charCodeAt(n[s].length-1)===8203||s<n.length-1&&n[s+1].charCodeAt(0)===8203?(a.push(n[s]),o=void 0):n[s]?(typeof o=="number"&&a.push(o),a.push(n[s]),o=0):(s===0||s===n.length-1)&&a.push(0);return a}function KT(e){return[String(e.value)]}function QT(e,t,r){const n=[];let a=0,i;for(;a<e.length;){Tf.lastIndex=a;const s=Tf.exec(e);i=s?s.index:e.length,!a&&!i&&s&&!t&&n.push(""),a!==i&&n.push(e.slice(a,i)),a=s?i+s[0].length:i}return a!==i&&!r&&n.push(""),n.join(" ")}function Kp(e,t){if(e.type==="element"){const r=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function JT(e){return!!(e.properties||{}).hidden}function ZT(e){return e.tagName==="td"||e.tagName==="th"}function ev(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const tv={},rv=[];function nv(e){const t=e||tv;return function(r,n){ul(r,"element",function(a,i){const s=Array.isArray(a.properties.className)?a.properties.className:rv,o=s.includes("language-math"),u=s.includes("math-display"),l=s.includes("math-inline");let c=u;if(!o&&!u&&!l)return;let f=i[i.length-1],p=a;if(a.tagName==="code"&&o&&f&&f.type==="element"&&f.tagName==="pre"&&(p=f,f=i[i.length-2],c=!0),!f)return;const h=GT(p,{whitespace:"pre"});let b;try{b=of.renderToString(h,at(ne({},t),{displayMode:c,throwOnError:!0}))}catch(x){const T=x,w=T.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...i,a],cause:T,place:a.position,ruleId:w,source:"rehype-katex"});try{b=of.renderToString(h,at(ne({},t),{displayMode:c,strict:"ignore",throwOnError:!1}))}catch(N){b=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(x)},children:[{type:"text",value:h}]}]}}typeof b=="string"&&(b=HT(b).children);const y=f.children.indexOf(p);return f.children.splice(y,1,...b),pm})}}const os="https://unpkg.com/prismjs@1.29.0",av="https://unpkg.com/prism-themes@1.9.0/themes/prism-coldark-cold.min.css",$i=new Set(["javascript","css","markup","clike"]);let qi=null;function Qp(){return Be(this,null,function*(){return typeof window!="undefined"&&window.Prism?window.Prism:qi||(qi=new Promise((e,t)=>{const r=document.createElement("link");r.rel="stylesheet",r.href=av,document.head.appendChild(r);const n=document.createElement("script");n.src=`${os}/prism.js`,n.onload=()=>{const a=document.createElement("script");a.src=`${os}/plugins/autoloader/prism-autoloader.min.js`,a.onload=()=>{const i=window.Prism;i&&i.plugins&&i.plugins.autoloader&&(i.plugins.autoloader.languages_path=`${os}/components/`),e(i)},a.onerror=t,document.head.appendChild(a)},n.onerror=t,document.head.appendChild(n)}),qi)})}function iv(e){return Be(this,null,function*(){const t=yield Qp();if($i.has(e)||t.languages[e]){$i.add(e);return}const n={js:"javascript",ts:"typescript",py:"python",rb:"ruby",sh:"bash",shell:"bash",yml:"yaml",md:"markdown",html:"markup",xml:"markup",svg:"markup"}[e]||e;if(t.plugins&&t.plugins.autoloader){$i.add(e);return}return new Promise((a,i)=>{const s=document.createElement("script");s.src=`${os}/components/prism-${n}.min.js`,s.onload=()=>{$i.add(e),a()},s.onerror=()=>{console.warn(`Failed to load Prism language: ${n}`),a()},document.head.appendChild(s)})})}const sv=()=>C.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor",children:C.jsx("path",{d:"M16 1H4C2.9 1 2 1.9 2 3V17H4V3H16V1ZM19 5H8C6.9 5 6 5.9 6 7V21C6 22.1 6.9 23 8 23H19C20.1 23 21 22.1 21 21V7C21 5.9 20.1 5 19 5ZM19 21H8V7H19V21Z"})}),ov=()=>C.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor",children:C.jsx("path",{d:"M9 16.17L4.83 12L3.41 13.41L9 19L21 7L19.59 5.59L9 16.17Z"})}),uv=({language:e="javascript",children:t,style:r})=>{const[n,a]=Q.useState(!1),[i,s]=Q.useState(""),[o,u]=Q.useState(!0),l=Q.useRef(null),c=typeof t=="string"?t:Array.isArray(t)?t.join(""):String(t||"");Q.useEffect(()=>{let y=!0;return Be(exports,null,function*(){try{u(!0);const T=yield Qp();if(yield iv(e),!y)return;const w=T.languages[e]||T.languages.javascript,N=T.highlight(c.replace(/\n$/,""),w,e);s(N),u(!1)}catch(T){console.error("Failed to highlight code:",T),y&&(s(f(c)),u(!1))}}),()=>{y=!1}},[c,e]);const f=y=>{const x=document.createElement("div");return x.textContent=y,x.innerHTML},p=()=>Be(exports,null,function*(){try{yield navigator.clipboard.writeText(c),a(!0),setTimeout(()=>a(!1),2e3)}catch(y){console.error("Failed to copy:",y)}}),h=c.split(`
303
+ `),b=h[h.length-1]===""?h.length-1:h.length;return C.jsxs("div",{style:ne({position:"relative"},r),children:[C.jsxs("pre",{style:{margin:0,padding:"1em",paddingLeft:"3.8em",overflow:"auto",background:"#e3eaf2",borderRadius:"4px",fontSize:"13px",lineHeight:"1.5",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace'},children:[C.jsx("span",{style:{position:"absolute",left:0,top:"1em",width:"3em",borderRight:"1px solid #8da1b9",textAlign:"right",paddingRight:"0.8em",userSelect:"none",color:"#8da1b9",fontSize:"13px",lineHeight:"1.5"},children:Array.from({length:b},(y,x)=>C.jsx("span",{style:{display:"block"},children:x+1},x))}),C.jsx("code",{ref:l,className:`language-${e}`,style:{whiteSpace:"pre-wrap",wordBreak:"break-word"},dangerouslySetInnerHTML:o?{__html:f(c)}:{__html:i}})]}),C.jsxs("button",{onClick:p,style:{position:"absolute",right:"8px",top:"8px",padding:"4px 8px",background:"rgba(255,255,255,0.8)",border:"1px solid #ccc",borderRadius:"4px",cursor:"pointer",opacity:.7,transition:"all 0.2s",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"12px",color:"#333"},onMouseEnter:y=>{y.currentTarget.style.opacity="1",y.currentTarget.style.background="rgba(255,255,255,1)"},onMouseLeave:y=>{y.currentTarget.style.opacity="0.7",y.currentTarget.style.background="rgba(255,255,255,0.8)"},title:n?"Copied!":"Copy code",children:[n?C.jsx(ov,{}):C.jsx(sv,{}),C.jsx("span",{style:{marginLeft:"4px"},children:n?"Copied":"Copy"})]})]})};function lv(e){const t=String(e),r=[];return{toOffset:a,toPoint:n};function n(i){if(typeof i=="number"&&i>-1&&i<=t.length){let s=0;for(;;){let o=r[s];if(o===void 0){const u=Af(t,r[s-1]);o=u===-1?t.length+1:u+1,r[s]=o}if(o>i)return{line:s+1,column:i-(s>0?r[s-1]:0)+1,offset:i};s++}}}function a(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;r.length<i.line;){const o=r[r.length-1],u=Af(t,o),l=u===-1?t.length+1:u+1;if(o===l)break;r.push(l)}const s=(i.line>1?r[i.line-2]:0)+i.column-1;if(s<r[i.line-1])return s}}}function Af(e,t){const r=e.indexOf("\r",t),n=e.indexOf(`
304
+ `,t);return n===-1?r:r===-1||r+1===n?n:r<n?r:n}const Jp={}.hasOwnProperty,cv=Object.prototype;function fv(e,t){const r=t||{};return Nl({file:r.file||void 0,location:!1,schema:r.space==="svg"?Kr:oi,verbose:r.verbose||!1},e)}function Nl(e,t){let r;switch(t.nodeName){case"#comment":{const n=t;return r={type:"comment",value:n.data},us(e,n,r),r}case"#document":case"#document-fragment":{const n=t,a="mode"in n?n.mode==="quirks"||n.mode==="limited-quirks":!1;if(r={type:"root",children:Zp(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),s=lv(i),o=s.toPoint(0),u=s.toPoint(i.length);r.position={start:o,end:u}}return r}case"#documentType":{const n=t;return r={type:"doctype"},us(e,n,r),r}case"#text":{const n=t;return r={type:"text",value:n.value},us(e,n,r),r}default:return r=dv(e,t),r}}function Zp(e,t){let r=-1;const n=[];for(;++r<t.length;){const a=Nl(e,t[r]);n.push(a)}return n}function dv(e,t){const r=e.schema;e.schema=t.namespaceURI===lr.svg?Kr:oi;let n=-1;const a={};for(;++n<t.attrs.length;){const o=t.attrs[n],u=(o.prefix?o.prefix+":":"")+o.name;Jp.call(cv,u)||(a[u]=o.value)}const s=(e.schema.space==="svg"?qp:$p)(t.tagName,a,Zp(e,t.childNodes));if(us(e,t,s),s.tagName==="template"){const o=t,u=o.sourceCodeLocation,l=u&&u.startTag&&Mn(u.startTag),c=u&&u.endTag&&Mn(u.endTag),f=Nl(e,o.content);l&&c&&e.file&&(f.position={start:l.end,end:c.start}),s.content=f}return e.schema=r,s}function us(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const n=hv(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function hv(e,t,r){const n=Mn(r);if(t.type==="element"){const a=t.children[t.children.length-1];if(n&&!r.endTag&&a&&a.position&&a.position.end&&(n.end=Object.assign({},a.position.end)),e.verbose){const i={};let s;if(r.attrs)for(s in r.attrs)Jp.call(r.attrs,s)&&(i[qs(e.schema,s).property]=Mn(r.attrs[s]));r.startTag;const o=Mn(r.startTag),u=r.endTag?Mn(r.endTag):void 0,l={opening:o};u&&(l.closing=u),l.properties=i,t.data={position:l}}}return n}function Mn(e){const t=Sf({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=Sf({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function Sf(e){return e.line&&e.column?e:void 0}const mv={},pv={}.hasOwnProperty,e2=vp("type",{handlers:{root:bv,element:vv,text:xv,comment:Tv,doctype:Ev}});function gv(e,t){const n=(t||mv).space;return e2(e,n==="svg"?Kr:oi)}function bv(e,t){const r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=Ol(e.children,r,t),oa(e,r),r}function yv(e,t){const r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=Ol(e.children,r,t),oa(e,r),r}function Ev(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return oa(e,t),t}function xv(e){const t={nodeName:"#text",value:e.value,parentNode:null};return oa(e,t),t}function Tv(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return oa(e,t),t}function vv(e,t){const r=t;let n=r;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(n=Kr);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&pv.call(e.properties,i)){const u=wv(n,i,e.properties[i]);u&&a.push(u)}}const s=n.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:lr[s],childNodes:[],parentNode:null};return o.childNodes=Ol(e.children,o,n),oa(e,o),e.tagName==="template"&&e.content&&(o.content=yv(e.content,n)),o}function wv(e,t,r){const n=qs(e,t);if(r===!1||r===null||r===void 0||typeof r=="number"&&Number.isNaN(r)||!r&&n.boolean)return;Array.isArray(r)&&(r=n.commaSeparated?Mh(r):$h(r));const a={name:n.attribute,value:r===!0?"":String(r)};if(n.space&&n.space!=="html"&&n.space!=="svg"){const i=a.name.indexOf(":");i<0?a.prefix="":(a.name=a.name.slice(i+1),a.prefix=n.attribute.slice(0,i)),a.namespace=lr[n.space]}return a}function Ol(e,t,r){let n=-1;const a=[];if(e)for(;++n<e.length;){const i=e2(e[n],r);i.parentNode=t,a.push(i)}return a}function oa(e,t){const r=e.position;r&&r.start&&r.end&&(r.start.offset,r.end.offset,t.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}const Av=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],Sv=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),Xe="�";var S;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(S||(S={}));const _t={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function t2(e){return e>=55296&&e<=57343}function kv(e){return e>=56320&&e<=57343}function Cv(e,t){return(e-55296)*1024+9216+t}function r2(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function n2(e){return e>=64976&&e<=65007||Sv.has(e)}var q;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(q||(q={}));const _v=65536;class Iv{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=_v,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,r){const{line:n,col:a,offset:i}=this,s=a+r,o=i+r;return{code:t,startLine:n,endLine:n,startCol:s,endCol:s,startOffset:o,endOffset:o}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const r=this.html.charCodeAt(this.pos+1);if(kv(r))return this.pos++,this._addGap(),Cv(t,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,S.EOF;return this._err(q.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,r){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,r){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(t,this.pos);for(let n=0;n<t.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==t.charCodeAt(n))return!1;return!0}peek(t){const r=this.pos+t;if(r>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,S.EOF;const n=this.html.charCodeAt(r);return n===S.CARRIAGE_RETURN?S.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,S.EOF;let t=this.html.charCodeAt(this.pos);return t===S.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,S.LINE_FEED):t===S.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,t2(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===S.LINE_FEED||t===S.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){r2(t)?this._err(q.controlCharacterInInputStream):n2(t)&&this._err(q.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Le;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(Le||(Le={}));function a2(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}const Nv=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Ov=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function Rv(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Ov.get(e))!==null&&t!==void 0?t:e}var mt;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(mt||(mt={}));const Dv=32;var jr;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(jr||(jr={}));function pu(e){return e>=mt.ZERO&&e<=mt.NINE}function Lv(e){return e>=mt.UPPER_A&&e<=mt.UPPER_F||e>=mt.LOWER_A&&e<=mt.LOWER_F}function Mv(e){return e>=mt.UPPER_A&&e<=mt.UPPER_Z||e>=mt.LOWER_A&&e<=mt.LOWER_Z||pu(e)}function Pv(e){return e===mt.EQUALS||Mv(e)}var ht;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(ht||(ht={}));var vr;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(vr||(vr={}));class Fv{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=ht.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=vr.Strict}startEntity(t){this.decodeMode=t,this.state=ht.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case ht.EntityStart:return t.charCodeAt(r)===mt.NUM?(this.state=ht.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=ht.NamedEntity,this.stateNamedEntity(t,r));case ht.NumericStart:return this.stateNumericStart(t,r);case ht.NumericDecimal:return this.stateNumericDecimal(t,r);case ht.NumericHex:return this.stateNumericHex(t,r);case ht.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|Dv)===mt.LOWER_X?(this.state=ht.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=ht.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,a){if(r!==n){const i=n-r;this.result=this.result*Math.pow(a,i)+Number.parseInt(t.substr(r,i),a),this.consumed+=i}}stateNumericHex(t,r){const n=r;for(;r<t.length;){const a=t.charCodeAt(r);if(pu(a)||Lv(a))r+=1;else return this.addToNumericResult(t,n,r,16),this.emitNumericEntity(a,3)}return this.addToNumericResult(t,n,r,16),-1}stateNumericDecimal(t,r){const n=r;for(;r<t.length;){const a=t.charCodeAt(r);if(pu(a))r+=1;else return this.addToNumericResult(t,n,r,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(t,n,r,10),-1}emitNumericEntity(t,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===mt.SEMI)this.consumed+=1;else if(this.decodeMode===vr.Strict)return 0;return this.emitCodePoint(Rv(this.result),this.consumed),this.errors&&(t!==mt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){const{decodeTree:n}=this;let a=n[this.treeIndex],i=(a&jr.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){const s=t.charCodeAt(r);if(this.treeIndex=Bv(n,a,this.treeIndex+Math.max(1,i),s),this.treeIndex<0)return this.result===0||this.decodeMode===vr.Attribute&&(i===0||Pv(s))?0:this.emitNotTerminatedNamedEntity();if(a=n[this.treeIndex],i=(a&jr.VALUE_LENGTH)>>14,i!==0){if(s===mt.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==vr.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:n}=this,a=(n[r]&jr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,a,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,n){const{decodeTree:a}=this;return this.emitCodePoint(r===1?a[t]&~jr.VALUE_LENGTH:a[t+1],n),r===3&&this.emitCodePoint(a[t+2],n),n}end(){var t;switch(this.state){case ht.NamedEntity:return this.result!==0&&(this.decodeMode!==vr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ht.NumericDecimal:return this.emitNumericEntity(0,2);case ht.NumericHex:return this.emitNumericEntity(0,3);case ht.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ht.EntityStart:return 0}}}function Bv(e,t,r,n){const a=(t&jr.BRANCH_LENGTH)>>7,i=t&jr.JUMP_TABLE;if(a===0)return i!==0&&n===i?r:-1;if(i){const u=n-i;return u<0||u>=a?-1:e[r+u]-1}let s=r,o=s+a-1;for(;s<=o;){const u=s+o>>>1,l=e[u];if(l<n)s=u+1;else if(l>n)o=u-1;else return e[u+a]}return-1}var J;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(J||(J={}));var mn;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(mn||(mn={}));var qt;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(qt||(qt={}));var j;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(j||(j={}));var d;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(d||(d={}));const zv=new Map([[j.A,d.A],[j.ADDRESS,d.ADDRESS],[j.ANNOTATION_XML,d.ANNOTATION_XML],[j.APPLET,d.APPLET],[j.AREA,d.AREA],[j.ARTICLE,d.ARTICLE],[j.ASIDE,d.ASIDE],[j.B,d.B],[j.BASE,d.BASE],[j.BASEFONT,d.BASEFONT],[j.BGSOUND,d.BGSOUND],[j.BIG,d.BIG],[j.BLOCKQUOTE,d.BLOCKQUOTE],[j.BODY,d.BODY],[j.BR,d.BR],[j.BUTTON,d.BUTTON],[j.CAPTION,d.CAPTION],[j.CENTER,d.CENTER],[j.CODE,d.CODE],[j.COL,d.COL],[j.COLGROUP,d.COLGROUP],[j.DD,d.DD],[j.DESC,d.DESC],[j.DETAILS,d.DETAILS],[j.DIALOG,d.DIALOG],[j.DIR,d.DIR],[j.DIV,d.DIV],[j.DL,d.DL],[j.DT,d.DT],[j.EM,d.EM],[j.EMBED,d.EMBED],[j.FIELDSET,d.FIELDSET],[j.FIGCAPTION,d.FIGCAPTION],[j.FIGURE,d.FIGURE],[j.FONT,d.FONT],[j.FOOTER,d.FOOTER],[j.FOREIGN_OBJECT,d.FOREIGN_OBJECT],[j.FORM,d.FORM],[j.FRAME,d.FRAME],[j.FRAMESET,d.FRAMESET],[j.H1,d.H1],[j.H2,d.H2],[j.H3,d.H3],[j.H4,d.H4],[j.H5,d.H5],[j.H6,d.H6],[j.HEAD,d.HEAD],[j.HEADER,d.HEADER],[j.HGROUP,d.HGROUP],[j.HR,d.HR],[j.HTML,d.HTML],[j.I,d.I],[j.IMG,d.IMG],[j.IMAGE,d.IMAGE],[j.INPUT,d.INPUT],[j.IFRAME,d.IFRAME],[j.KEYGEN,d.KEYGEN],[j.LABEL,d.LABEL],[j.LI,d.LI],[j.LINK,d.LINK],[j.LISTING,d.LISTING],[j.MAIN,d.MAIN],[j.MALIGNMARK,d.MALIGNMARK],[j.MARQUEE,d.MARQUEE],[j.MATH,d.MATH],[j.MENU,d.MENU],[j.META,d.META],[j.MGLYPH,d.MGLYPH],[j.MI,d.MI],[j.MO,d.MO],[j.MN,d.MN],[j.MS,d.MS],[j.MTEXT,d.MTEXT],[j.NAV,d.NAV],[j.NOBR,d.NOBR],[j.NOFRAMES,d.NOFRAMES],[j.NOEMBED,d.NOEMBED],[j.NOSCRIPT,d.NOSCRIPT],[j.OBJECT,d.OBJECT],[j.OL,d.OL],[j.OPTGROUP,d.OPTGROUP],[j.OPTION,d.OPTION],[j.P,d.P],[j.PARAM,d.PARAM],[j.PLAINTEXT,d.PLAINTEXT],[j.PRE,d.PRE],[j.RB,d.RB],[j.RP,d.RP],[j.RT,d.RT],[j.RTC,d.RTC],[j.RUBY,d.RUBY],[j.S,d.S],[j.SCRIPT,d.SCRIPT],[j.SEARCH,d.SEARCH],[j.SECTION,d.SECTION],[j.SELECT,d.SELECT],[j.SOURCE,d.SOURCE],[j.SMALL,d.SMALL],[j.SPAN,d.SPAN],[j.STRIKE,d.STRIKE],[j.STRONG,d.STRONG],[j.STYLE,d.STYLE],[j.SUB,d.SUB],[j.SUMMARY,d.SUMMARY],[j.SUP,d.SUP],[j.TABLE,d.TABLE],[j.TBODY,d.TBODY],[j.TEMPLATE,d.TEMPLATE],[j.TEXTAREA,d.TEXTAREA],[j.TFOOT,d.TFOOT],[j.TD,d.TD],[j.TH,d.TH],[j.THEAD,d.THEAD],[j.TITLE,d.TITLE],[j.TR,d.TR],[j.TRACK,d.TRACK],[j.TT,d.TT],[j.U,d.U],[j.UL,d.UL],[j.SVG,d.SVG],[j.VAR,d.VAR],[j.WBR,d.WBR],[j.XMP,d.XMP]]);function ua(e){var t;return(t=zv.get(e))!==null&&t!==void 0?t:d.UNKNOWN}const re=d,Hv={[J.HTML]:new Set([re.ADDRESS,re.APPLET,re.AREA,re.ARTICLE,re.ASIDE,re.BASE,re.BASEFONT,re.BGSOUND,re.BLOCKQUOTE,re.BODY,re.BR,re.BUTTON,re.CAPTION,re.CENTER,re.COL,re.COLGROUP,re.DD,re.DETAILS,re.DIR,re.DIV,re.DL,re.DT,re.EMBED,re.FIELDSET,re.FIGCAPTION,re.FIGURE,re.FOOTER,re.FORM,re.FRAME,re.FRAMESET,re.H1,re.H2,re.H3,re.H4,re.H5,re.H6,re.HEAD,re.HEADER,re.HGROUP,re.HR,re.HTML,re.IFRAME,re.IMG,re.INPUT,re.LI,re.LINK,re.LISTING,re.MAIN,re.MARQUEE,re.MENU,re.META,re.NAV,re.NOEMBED,re.NOFRAMES,re.NOSCRIPT,re.OBJECT,re.OL,re.P,re.PARAM,re.PLAINTEXT,re.PRE,re.SCRIPT,re.SECTION,re.SELECT,re.SOURCE,re.STYLE,re.SUMMARY,re.TABLE,re.TBODY,re.TD,re.TEMPLATE,re.TEXTAREA,re.TFOOT,re.TH,re.THEAD,re.TITLE,re.TR,re.TRACK,re.UL,re.WBR,re.XMP]),[J.MATHML]:new Set([re.MI,re.MO,re.MN,re.MS,re.MTEXT,re.ANNOTATION_XML]),[J.SVG]:new Set([re.TITLE,re.FOREIGN_OBJECT,re.DESC]),[J.XLINK]:new Set,[J.XML]:new Set,[J.XMLNS]:new Set},gu=new Set([re.H1,re.H2,re.H3,re.H4,re.H5,re.H6]);j.STYLE,j.SCRIPT,j.XMP,j.IFRAME,j.NOEMBED,j.NOFRAMES,j.PLAINTEXT;var _;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(_||(_={}));const rt={DATA:_.DATA,RCDATA:_.RCDATA,RAWTEXT:_.RAWTEXT,SCRIPT_DATA:_.SCRIPT_DATA,PLAINTEXT:_.PLAINTEXT,CDATA_SECTION:_.CDATA_SECTION};function Uv(e){return e>=S.DIGIT_0&&e<=S.DIGIT_9}function _a(e){return e>=S.LATIN_CAPITAL_A&&e<=S.LATIN_CAPITAL_Z}function jv(e){return e>=S.LATIN_SMALL_A&&e<=S.LATIN_SMALL_Z}function Fr(e){return jv(e)||_a(e)}function kf(e){return Fr(e)||Uv(e)}function Yi(e){return e+32}function i2(e){return e===S.SPACE||e===S.LINE_FEED||e===S.TABULATION||e===S.FORM_FEED}function Cf(e){return i2(e)||e===S.SOLIDUS||e===S.GREATER_THAN_SIGN}function $v(e){return e===S.NULL?q.nullCharacterReference:e>1114111?q.characterReferenceOutsideUnicodeRange:t2(e)?q.surrogateCharacterReference:n2(e)?q.noncharacterCharacterReference:r2(e)||e===S.CARRIAGE_RETURN?q.controlCharacterReference:null}class qv{constructor(t,r){this.options=t,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=_.DATA,this.returnState=_.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Iv(r),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Fv(Nv,(n,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(n)},r.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(q.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:n=>{this._err(q.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+n)},validateNumericCharacterReference:n=>{const a=$v(n);a&&this._err(a,1)}}:void 0)}_err(t,r=0){var n,a;(a=(n=this.handler).onParseError)===null||a===void 0||a.call(n,this.preprocessor.getError(t,r))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,r,n){this.active=!0,this.preprocessor.write(t,r),this._runParsingLoop(),this.paused||n==null||n()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let r=0;r<t;r++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,r){return this.preprocessor.startsWith(t,r)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Le.START_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Le.END_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Le.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Le.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,r){this.currentCharacterToken={type:t,chars:r,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,r;const n=this.currentToken;if(a2(n,this.currentAttr.name)===null){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){const a=(t=(r=n.location).attrs)!==null&&t!==void 0?t:r.attrs=Object.create(null);a[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(q.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=ua(t.tagName),t.type===Le.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(q.endTagWithAttributes),t.selfClosing&&this._err(q.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case Le.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Le.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Le.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:Le.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=r;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,r)}_emitCodePoint(t){const r=i2(t)?Le.WHITESPACE_CHARACTER:t===S.NULL?Le.NULL_CHARACTER:Le.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Le.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=_.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?vr.Attribute:vr.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===_.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===_.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===_.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case _.DATA:{this._stateData(t);break}case _.RCDATA:{this._stateRcdata(t);break}case _.RAWTEXT:{this._stateRawtext(t);break}case _.SCRIPT_DATA:{this._stateScriptData(t);break}case _.PLAINTEXT:{this._statePlaintext(t);break}case _.TAG_OPEN:{this._stateTagOpen(t);break}case _.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case _.TAG_NAME:{this._stateTagName(t);break}case _.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case _.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case _.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case _.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case _.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case _.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case _.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case _.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case _.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case _.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case _.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case _.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case _.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case _.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case _.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case _.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case _.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case _.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case _.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case _.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case _.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case _.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case _.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case _.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case _.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case _.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case _.BOGUS_COMMENT:{this._stateBogusComment(t);break}case _.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case _.COMMENT_START:{this._stateCommentStart(t);break}case _.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case _.COMMENT:{this._stateComment(t);break}case _.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case _.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case _.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case _.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case _.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case _.COMMENT_END:{this._stateCommentEnd(t);break}case _.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case _.DOCTYPE:{this._stateDoctype(t);break}case _.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case _.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case _.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case _.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case _.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case _.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case _.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case _.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case _.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case _.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case _.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case _.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case _.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case _.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case _.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case _.CDATA_SECTION:{this._stateCdataSection(t);break}case _.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case _.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case _.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case _.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case S.LESS_THAN_SIGN:{this.state=_.TAG_OPEN;break}case S.AMPERSAND:{this._startCharacterReference();break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitCodePoint(t);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case S.AMPERSAND:{this._startCharacterReference();break}case S.LESS_THAN_SIGN:{this.state=_.RCDATA_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Xe);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case S.LESS_THAN_SIGN:{this.state=_.RAWTEXT_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Xe);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Xe);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Xe);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Fr(t))this._createStartTagToken(),this.state=_.TAG_NAME,this._stateTagName(t);else switch(t){case S.EXCLAMATION_MARK:{this.state=_.MARKUP_DECLARATION_OPEN;break}case S.SOLIDUS:{this.state=_.END_TAG_OPEN;break}case S.QUESTION_MARK:{this._err(q.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=_.BOGUS_COMMENT,this._stateBogusComment(t);break}case S.EOF:{this._err(q.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(q.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=_.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Fr(t))this._createEndTagToken(),this.state=_.TAG_NAME,this._stateTagName(t);else switch(t){case S.GREATER_THAN_SIGN:{this._err(q.missingEndTagName),this.state=_.DATA;break}case S.EOF:{this._err(q.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(q.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=_.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=_.BEFORE_ATTRIBUTE_NAME;break}case S.SOLIDUS:{this.state=_.SELF_CLOSING_START_TAG;break}case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentTagToken();break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.tagName+=Xe;break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(_a(t)?Yi(t):t)}}_stateRcdataLessThanSign(t){t===S.SOLIDUS?this.state=_.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=_.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Fr(t)?(this.state=_.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=_.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const r=this.currentToken;switch(r.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=_.BEFORE_ATTRIBUTE_NAME,!1;case S.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=_.SELF_CLOSING_START_TAG,!1;case S.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=_.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===S.SOLIDUS?this.state=_.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=_.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Fr(t)?(this.state=_.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=_.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case S.SOLIDUS:{this.state=_.SCRIPT_DATA_END_TAG_OPEN;break}case S.EXCLAMATION_MARK:{this.state=_.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=_.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Fr(t)?(this.state=_.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===S.HYPHEN_MINUS?(this.state=_.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===S.HYPHEN_MINUS?(this.state=_.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case S.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Xe);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case S.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_ESCAPED,this._emitChars(Xe);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case S.HYPHEN_MINUS:{this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case S.GREATER_THAN_SIGN:{this.state=_.SCRIPT_DATA,this._emitChars(">");break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_ESCAPED,this._emitChars(Xe);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===S.SOLIDUS?this.state=_.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Fr(t)?(this._emitChars("<"),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Fr(t)?(this.state=_.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(_t.SCRIPT,!1)&&Cf(this.preprocessor.peek(_t.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<_t.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case S.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Xe);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case S.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Xe);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case S.HYPHEN_MINUS:{this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case S.GREATER_THAN_SIGN:{this.state=_.SCRIPT_DATA,this._emitChars(">");break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Xe);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===S.SOLIDUS?(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(_t.SCRIPT,!1)&&Cf(this.preprocessor.peek(_t.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<_t.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=_.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.SOLIDUS:case S.GREATER_THAN_SIGN:case S.EOF:{this.state=_.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case S.EQUALS_SIGN:{this._err(q.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=_.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=_.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:case S.SOLIDUS:case S.GREATER_THAN_SIGN:case S.EOF:{this._leaveAttrName(),this.state=_.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case S.EQUALS_SIGN:{this._leaveAttrName(),this.state=_.BEFORE_ATTRIBUTE_VALUE;break}case S.QUOTATION_MARK:case S.APOSTROPHE:case S.LESS_THAN_SIGN:{this._err(q.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.name+=Xe;break}default:this.currentAttr.name+=String.fromCodePoint(_a(t)?Yi(t):t)}}_stateAfterAttributeName(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.SOLIDUS:{this.state=_.SELF_CLOSING_START_TAG;break}case S.EQUALS_SIGN:{this.state=_.BEFORE_ATTRIBUTE_VALUE;break}case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentTagToken();break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=_.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.QUOTATION_MARK:{this.state=_.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case S.APOSTROPHE:{this.state=_.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingAttributeValue),this.state=_.DATA,this.emitCurrentTagToken();break}default:this.state=_.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case S.QUOTATION_MARK:{this.state=_.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case S.AMPERSAND:{this._startCharacterReference();break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.value+=Xe;break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case S.APOSTROPHE:{this.state=_.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case S.AMPERSAND:{this._startCharacterReference();break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.value+=Xe;break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this._leaveAttrValue(),this.state=_.BEFORE_ATTRIBUTE_NAME;break}case S.AMPERSAND:{this._startCharacterReference();break}case S.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=_.DATA,this.emitCurrentTagToken();break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.value+=Xe;break}case S.QUOTATION_MARK:case S.APOSTROPHE:case S.LESS_THAN_SIGN:case S.EQUALS_SIGN:case S.GRAVE_ACCENT:{this._err(q.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this._leaveAttrValue(),this.state=_.BEFORE_ATTRIBUTE_NAME;break}case S.SOLIDUS:{this._leaveAttrValue(),this.state=_.SELF_CLOSING_START_TAG;break}case S.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=_.DATA,this.emitCurrentTagToken();break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this._err(q.missingWhitespaceBetweenAttributes),this.state=_.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case S.GREATER_THAN_SIGN:{const r=this.currentToken;r.selfClosing=!0,this.state=_.DATA,this.emitCurrentTagToken();break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this._err(q.unexpectedSolidusInTag),this.state=_.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const r=this.currentToken;switch(t){case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentComment(r);break}case S.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.data+=Xe;break}default:r.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(_t.DASH_DASH,!0)?(this._createCommentToken(_t.DASH_DASH.length+1),this.state=_.COMMENT_START):this._consumeSequenceIfMatch(_t.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(_t.DOCTYPE.length+1),this.state=_.DOCTYPE):this._consumeSequenceIfMatch(_t.CDATA_START,!0)?this.inForeignNode?this.state=_.CDATA_SECTION:(this._err(q.cdataInHtmlContent),this._createCommentToken(_t.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=_.BOGUS_COMMENT):this._ensureHibernation()||(this._err(q.incorrectlyOpenedComment),this._createCommentToken(2),this.state=_.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case S.HYPHEN_MINUS:{this.state=_.COMMENT_START_DASH;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptClosingOfEmptyComment),this.state=_.DATA;const r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=_.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const r=this.currentToken;switch(t){case S.HYPHEN_MINUS:{this.state=_.COMMENT_END;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptClosingOfEmptyComment),this.state=_.DATA,this.emitCurrentComment(r);break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=_.COMMENT,this._stateComment(t)}}_stateComment(t){const r=this.currentToken;switch(t){case S.HYPHEN_MINUS:{this.state=_.COMMENT_END_DASH;break}case S.LESS_THAN_SIGN:{r.data+="<",this.state=_.COMMENT_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.data+=Xe;break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const r=this.currentToken;switch(t){case S.EXCLAMATION_MARK:{r.data+="!",this.state=_.COMMENT_LESS_THAN_SIGN_BANG;break}case S.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=_.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===S.HYPHEN_MINUS?this.state=_.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=_.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===S.HYPHEN_MINUS?this.state=_.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=_.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==S.GREATER_THAN_SIGN&&t!==S.EOF&&this._err(q.nestedComment),this.state=_.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const r=this.currentToken;switch(t){case S.HYPHEN_MINUS:{this.state=_.COMMENT_END;break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=_.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const r=this.currentToken;switch(t){case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentComment(r);break}case S.EXCLAMATION_MARK:{this.state=_.COMMENT_END_BANG;break}case S.HYPHEN_MINUS:{r.data+="-";break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=_.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const r=this.currentToken;switch(t){case S.HYPHEN_MINUS:{r.data+="--!",this.state=_.COMMENT_END_DASH;break}case S.GREATER_THAN_SIGN:{this._err(q.incorrectlyClosedComment),this.state=_.DATA,this.emitCurrentComment(r);break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=_.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=_.BEFORE_DOCTYPE_NAME;break}case S.GREATER_THAN_SIGN:{this.state=_.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case S.EOF:{this._err(q.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingWhitespaceBeforeDoctypeName),this.state=_.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(_a(t))this._createDoctypeToken(String.fromCharCode(Yi(t))),this.state=_.DOCTYPE_NAME;else switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.NULL:{this._err(q.unexpectedNullCharacter),this._createDoctypeToken(Xe),this.state=_.DOCTYPE_NAME;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypeName),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.EOF:{this._err(q.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=_.DOCTYPE_NAME}}_stateDoctypeName(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=_.AFTER_DOCTYPE_NAME;break}case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.name+=Xe;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(_a(t)?Yi(t):t)}}_stateAfterDoctypeName(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(_t.PUBLIC,!1)?this.state=_.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(_t.SYSTEM,!1)?this.state=_.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(q.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=_.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case S.QUOTATION_MARK:{this._err(q.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{this._err(q.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.QUOTATION_MARK:{r.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{r.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case S.QUOTATION_MARK:{this.state=_.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.publicId+=Xe;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case S.APOSTROPHE:{this.state=_.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.publicId+=Xe;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=_.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.QUOTATION_MARK:{this._err(q.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{this._err(q.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.QUOTATION_MARK:{r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=_.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case S.QUOTATION_MARK:{this._err(q.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{this._err(q.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.QUOTATION_MARK:{r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case S.QUOTATION_MARK:{this.state=_.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.systemId+=Xe;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case S.APOSTROPHE:{this.state=_.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.systemId+=Xe;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const r=this.currentToken;switch(t){case S.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.NULL:{this._err(q.unexpectedNullCharacter);break}case S.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case S.RIGHT_SQUARE_BRACKET:{this.state=_.CDATA_SECTION_BRACKET;break}case S.EOF:{this._err(q.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===S.RIGHT_SQUARE_BRACKET?this.state=_.CDATA_SECTION_END:(this._emitChars("]"),this.state=_.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case S.GREATER_THAN_SIGN:{this.state=_.DATA;break}case S.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=_.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(S.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&kf(this.preprocessor.peek(1))?_.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){kf(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===S.SEMICOLON&&this._err(q.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const s2=new Set([d.DD,d.DT,d.LI,d.OPTGROUP,d.OPTION,d.P,d.RB,d.RP,d.RT,d.RTC]),_f=new Set([...s2,d.CAPTION,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]),ws=new Set([d.APPLET,d.CAPTION,d.HTML,d.MARQUEE,d.OBJECT,d.TABLE,d.TD,d.TEMPLATE,d.TH]),Yv=new Set([...ws,d.OL,d.UL]),Vv=new Set([...ws,d.BUTTON]),If=new Set([d.ANNOTATION_XML,d.MI,d.MN,d.MO,d.MS,d.MTEXT]),Nf=new Set([d.DESC,d.FOREIGN_OBJECT,d.TITLE]),Wv=new Set([d.TR,d.TEMPLATE,d.HTML]),Gv=new Set([d.TBODY,d.TFOOT,d.THEAD,d.TEMPLATE,d.HTML]),Xv=new Set([d.TABLE,d.TEMPLATE,d.HTML]),Kv=new Set([d.TD,d.TH]);class Qv{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,r,n){this.treeAdapter=r,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=d.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===d.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===J.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,r){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,r,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,r){const n=this._indexOf(t);this.items[n]=r,n===this.stackTop&&(this.current=r)}insertAfter(t,r,n){const a=this._indexOf(t)+1;this.items.splice(a,0,r),this.tagIDs.splice(a,0,n),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(t){let r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(t,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==J.HTML);this.shortenToLength(Math.max(r,0))}shortenToLength(t){for(;this.stackTop>=t;){const r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop<t)}}popUntilElementPopped(t){const r=this._indexOf(t);this.shortenToLength(Math.max(r,0))}popUntilPopped(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(gu,J.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Kv,J.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,r){for(let n=this.stackTop;n>=0;n--)if(t.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===r)return n;return-1}clearBackTo(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(Xv,J.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Gv,J.HTML)}clearBackToTableRowContext(){this.clearBackTo(Wv,J.HTML)}remove(t){const r=this._indexOf(t);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===d.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const r=this._indexOf(t)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===d.HTML}hasInDynamicScope(t,r){for(let n=this.stackTop;n>=0;n--){const a=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case J.HTML:{if(a===t)return!0;if(r.has(a))return!1;break}case J.SVG:{if(Nf.has(a))return!1;break}case J.MATHML:{if(If.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,ws)}hasInListItemScope(t){return this.hasInDynamicScope(t,Yv)}hasInButtonScope(t){return this.hasInDynamicScope(t,Vv)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case J.HTML:{if(gu.has(r))return!0;if(ws.has(r))return!1;break}case J.SVG:{if(Nf.has(r))return!1;break}case J.MATHML:{if(If.has(r))return!1;break}}}return!0}hasInTableScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===J.HTML)switch(this.tagIDs[r]){case t:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===J.HTML)switch(this.tagIDs[t]){case d.TBODY:case d.THEAD:case d.TFOOT:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasInSelectScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===J.HTML)switch(this.tagIDs[r]){case t:return!0;case d.OPTION:case d.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&s2.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&_f.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&_f.has(this.currentTagId);)this.pop()}}const bo=3;var ir;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(ir||(ir={}));const Of={type:ir.Marker};class Jv{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,r){const n=[],a=r.length,i=this.treeAdapter.getTagName(t),s=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){const u=this.entries[o];if(u.type===ir.Marker)break;const{element:l}=u;if(this.treeAdapter.getTagName(l)===i&&this.treeAdapter.getNamespaceURI(l)===s){const c=this.treeAdapter.getAttrList(l);c.length===a&&n.push({idx:o,attrs:c})}}return n}_ensureNoahArkCondition(t){if(this.entries.length<bo)return;const r=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,r);if(n.length<bo)return;const a=new Map(r.map(s=>[s.name,s.value]));let i=0;for(let s=0;s<n.length;s++){const o=n[s];o.attrs.every(u=>a.get(u.name)===u.value)&&(i+=1,i>=bo&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Of)}pushElement(t,r){this._ensureNoahArkCondition(t),this.entries.unshift({type:ir.Element,element:t,token:r})}insertElementAfterBookmark(t,r){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:ir.Element,element:t,token:r})}removeEntry(t){const r=this.entries.indexOf(t);r!==-1&&this.entries.splice(r,1)}clearToLastMarker(){const t=this.entries.indexOf(Of);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const r=this.entries.find(n=>n.type===ir.Marker||this.treeAdapter.getTagName(n.element)===t);return r&&r.type===ir.Element?r:null}getElementEntry(t){return this.entries.find(r=>r.type===ir.Element&&r.element===t)}}const Br={createDocument(){return{nodeName:"#document",mode:qt.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,r){return{nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,r){const n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,r,n){const a=e.childNodes.find(i=>i.nodeName==="#documentType");if(a)a.name=t,a.publicId=r,a.systemId=n;else{const i={nodeName:"#documentType",name:t,publicId:r,systemId:n,parentNode:null};Br.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const r=e.childNodes[e.childNodes.length-1];if(Br.isTextNode(r)){r.value+=t;return}}Br.appendChild(e,Br.createTextNode(t))},insertTextBefore(e,t,r){const n=e.childNodes[e.childNodes.indexOf(r)-1];n&&Br.isTextNode(n)?n.value+=t:Br.insertBefore(e,Br.createTextNode(t),r)},adoptAttributes(e,t){const r=new Set(e.attrs.map(n=>n.name));for(let n=0;n<t.length;n++)r.has(t[n].name)||e.attrs.push(t[n])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation=ne(ne({},e.sourceCodeLocation),t)}},o2="html",Zv="about:legacy-compat",ew="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",u2=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],tw=[...u2,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],rw=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),l2=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],nw=[...l2,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Rf(e,t){return t.some(r=>e.startsWith(r))}function aw(e){return e.name===o2&&e.publicId===null&&(e.systemId===null||e.systemId===Zv)}function iw(e){if(e.name!==o2)return qt.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===ew)return qt.QUIRKS;let{publicId:r}=e;if(r!==null){if(r=r.toLowerCase(),rw.has(r))return qt.QUIRKS;let n=t===null?tw:u2;if(Rf(r,n))return qt.QUIRKS;if(n=t===null?l2:nw,Rf(r,n))return qt.LIMITED_QUIRKS}return qt.NO_QUIRKS}const Df={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},sw="definitionurl",ow="definitionURL",uw=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),lw=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:J.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:J.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:J.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:J.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:J.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:J.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:J.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:J.XML}],["xml:space",{prefix:"xml",name:"space",namespace:J.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:J.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:J.XMLNS}]]),cw=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),fw=new Set([d.B,d.BIG,d.BLOCKQUOTE,d.BODY,d.BR,d.CENTER,d.CODE,d.DD,d.DIV,d.DL,d.DT,d.EM,d.EMBED,d.H1,d.H2,d.H3,d.H4,d.H5,d.H6,d.HEAD,d.HR,d.I,d.IMG,d.LI,d.LISTING,d.MENU,d.META,d.NOBR,d.OL,d.P,d.PRE,d.RUBY,d.S,d.SMALL,d.SPAN,d.STRONG,d.STRIKE,d.SUB,d.SUP,d.TABLE,d.TT,d.U,d.UL,d.VAR]);function dw(e){const t=e.tagID;return t===d.FONT&&e.attrs.some(({name:n})=>n===mn.COLOR||n===mn.SIZE||n===mn.FACE)||fw.has(t)}function c2(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===sw){e.attrs[t].name=ow;break}}function f2(e){for(let t=0;t<e.attrs.length;t++){const r=uw.get(e.attrs[t].name);r!=null&&(e.attrs[t].name=r)}}function Rl(e){for(let t=0;t<e.attrs.length;t++){const r=lw.get(e.attrs[t].name);r&&(e.attrs[t].prefix=r.prefix,e.attrs[t].name=r.name,e.attrs[t].namespace=r.namespace)}}function hw(e){const t=cw.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=ua(e.tagName))}function mw(e,t){return t===J.MATHML&&(e===d.MI||e===d.MO||e===d.MN||e===d.MS||e===d.MTEXT)}function pw(e,t,r){if(t===J.MATHML&&e===d.ANNOTATION_XML){for(let n=0;n<r.length;n++)if(r[n].name===mn.ENCODING){const a=r[n].value.toLowerCase();return a===Df.TEXT_HTML||a===Df.APPLICATION_XML}}return t===J.SVG&&(e===d.FOREIGN_OBJECT||e===d.DESC||e===d.TITLE)}function gw(e,t,r,n){return(!n||n===J.HTML)&&pw(e,t,r)||(!n||n===J.MATHML)&&mw(e,t)}const bw="hidden",yw=8,Ew=3;var R;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(R||(R={}));const xw={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},d2=new Set([d.TABLE,d.TBODY,d.TFOOT,d.THEAD,d.TR]),Lf={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Br,onParseError:null};class Mf{constructor(t,r,n=null,a=null){this.fragmentContext=n,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=R.INITIAL,this.originalInsertionMode=R.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options=ne(ne({},Lf),t),this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=r!=null?r:this.treeAdapter.createDocument(),this.tokenizer=new qv(this.options,this),this.activeFormattingElements=new Jv(this.treeAdapter),this.fragmentContextID=n?ua(this.treeAdapter.getTagName(n)):d.UNKNOWN,this._setContextModes(n!=null?n:this.document,this.fragmentContextID),this.openElements=new Qv(this.document,this.treeAdapter,this)}static parse(t,r){const n=new this(r);return n.tokenizer.write(t,!0),n.document}static getFragmentParser(t,r){const n=ne(ne({},Lf),r);t!=null||(t=n.treeAdapter.createElement(j.TEMPLATE,J.HTML,[]));const a=n.treeAdapter.createElement("documentmock",J.HTML,[]),i=new this(n,a,t);return i.fragmentContextID===d.TEMPLATE&&i.tmplInsertionModeStack.unshift(R.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),r=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,r),r}_err(t,r,n){var a;if(!this.onParseError)return;const i=(a=t.location)!==null&&a!==void 0?a:xw,s={code:r,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(s)}onItemPush(t,r,n){var a,i;(i=(a=this.treeAdapter).onItemPush)===null||i===void 0||i.call(a,t),n&&this.openElements.stackTop>0&&this._setContextModes(t,r)}onItemPop(t,r){var n,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(n=this.treeAdapter).onItemPop)===null||a===void 0||a.call(n,t,this.openElements.current),r){let i,s;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,s=this.fragmentContextID):{current:i,currentTagId:s}=this.openElements,this._setContextModes(i,s)}}_setContextModes(t,r){const n=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===J.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&t!==void 0&&r!==void 0&&!this._isIntegrationPoint(r,t)}_switchToTextParsing(t,r){this._insertElement(t,J.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=R.TEXT}switchToPlaintextParsing(){this.insertionMode=R.TEXT,this.originalInsertionMode=R.IN_BODY,this.tokenizer.state=rt.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===j.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==J.HTML))switch(this.fragmentContextID){case d.TITLE:case d.TEXTAREA:{this.tokenizer.state=rt.RCDATA;break}case d.STYLE:case d.XMP:case d.IFRAME:case d.NOEMBED:case d.NOFRAMES:case d.NOSCRIPT:{this.tokenizer.state=rt.RAWTEXT;break}case d.SCRIPT:{this.tokenizer.state=rt.SCRIPT_DATA;break}case d.PLAINTEXT:{this.tokenizer.state=rt.PLAINTEXT;break}}}_setDocumentType(t){const r=t.name||"",n=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,n,a),t.location){const s=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));s&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}}_attachElementToTree(t,r){if(this.options.sourceCodeLocationInfo){const n=r&&at(ne({},r),{startTag:r});this.treeAdapter.setNodeSourceCodeLocation(t,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const n=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(n!=null?n:this.document,t)}}_appendElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location)}_insertElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID)}_insertFakeElement(t,r){const n=this.treeAdapter.createElement(t,J.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,r)}_insertTemplate(t){const r=this.treeAdapter.createElement(t.tagName,J.HTML,t.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,n),this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(j.HTML,J.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,d.HTML)}_appendCommentNode(t,r){const n=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(r,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,t.location)}_insertCharacters(t){let r,n;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(r,t.chars,n):this.treeAdapter.insertText(r,t.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(r),i=n?a.lastIndexOf(n):a.length,s=a[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:u,endCol:l,endOffset:c}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:u,endCol:l,endOffset:c})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}_adoptNodes(t,r){for(let n=this.treeAdapter.getFirstChild(t);n;n=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(r,n)}_setEndLocation(t,r){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&r.location){const n=r.location,a=this.treeAdapter.getTagName(t),i=r.type===Le.END_TAG&&a===r.tagName?{endTag:ne({},n),endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let r,n;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,n=this.fragmentContextID):{current:r,currentTagId:n}=this.openElements,t.tagID===d.SVG&&this.treeAdapter.getTagName(r)===j.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===J.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===d.MGLYPH||t.tagID===d.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,r,J.HTML)}_processToken(t){switch(t.type){case Le.CHARACTER:{this.onCharacter(t);break}case Le.NULL_CHARACTER:{this.onNullCharacter(t);break}case Le.COMMENT:{this.onComment(t);break}case Le.DOCTYPE:{this.onDoctype(t);break}case Le.START_TAG:{this._processStartTag(t);break}case Le.END_TAG:{this.onEndTag(t);break}case Le.EOF:{this.onEof(t);break}case Le.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,r,n){const a=this.treeAdapter.getNamespaceURI(r),i=this.treeAdapter.getAttrList(r);return gw(t,a,i,n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const r=this.activeFormattingElements.entries.findIndex(a=>a.type===ir.Marker||this.openElements.contains(a.element)),n=r===-1?t-1:r-1;for(let a=n;a>=0;a--){const i=this.activeFormattingElements.entries[a];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=R.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(d.P),this.openElements.popUntilTagNamePopped(d.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case d.TR:{this.insertionMode=R.IN_ROW;return}case d.TBODY:case d.THEAD:case d.TFOOT:{this.insertionMode=R.IN_TABLE_BODY;return}case d.CAPTION:{this.insertionMode=R.IN_CAPTION;return}case d.COLGROUP:{this.insertionMode=R.IN_COLUMN_GROUP;return}case d.TABLE:{this.insertionMode=R.IN_TABLE;return}case d.BODY:{this.insertionMode=R.IN_BODY;return}case d.FRAMESET:{this.insertionMode=R.IN_FRAMESET;return}case d.SELECT:{this._resetInsertionModeForSelect(t);return}case d.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case d.HTML:{this.insertionMode=this.headElement?R.AFTER_HEAD:R.BEFORE_HEAD;return}case d.TD:case d.TH:{if(t>0){this.insertionMode=R.IN_CELL;return}break}case d.HEAD:{if(t>0){this.insertionMode=R.IN_HEAD;return}break}}this.insertionMode=R.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let r=t-1;r>0;r--){const n=this.openElements.tagIDs[r];if(n===d.TEMPLATE)break;if(n===d.TABLE){this.insertionMode=R.IN_SELECT_IN_TABLE;return}}this.insertionMode=R.IN_SELECT}_isElementCausesFosterParenting(t){return d2.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const r=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case d.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===J.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case d.TABLE:{const n=this.treeAdapter.getParentNode(r);return n?{parent:n,beforeElement:r}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const r=this._findFosterParentingLocation();r.beforeElement?this.treeAdapter.insertBefore(r.parent,t,r.beforeElement):this.treeAdapter.appendChild(r.parent,t)}_isSpecialElement(t,r){const n=this.treeAdapter.getNamespaceURI(t);return Hv[n].has(r)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){KA(this,t);return}switch(this.insertionMode){case R.INITIAL:{va(this,t);break}case R.BEFORE_HTML:{Pa(this,t);break}case R.BEFORE_HEAD:{Fa(this,t);break}case R.IN_HEAD:{Ba(this,t);break}case R.IN_HEAD_NO_SCRIPT:{za(this,t);break}case R.AFTER_HEAD:{Ha(this,t);break}case R.IN_BODY:case R.IN_CAPTION:case R.IN_CELL:case R.IN_TEMPLATE:{m2(this,t);break}case R.TEXT:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case R.IN_TABLE:case R.IN_TABLE_BODY:case R.IN_ROW:{yo(this,t);break}case R.IN_TABLE_TEXT:{x2(this,t);break}case R.IN_COLUMN_GROUP:{As(this,t);break}case R.AFTER_BODY:{Ss(this,t);break}case R.AFTER_AFTER_BODY:{ls(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){XA(this,t);return}switch(this.insertionMode){case R.INITIAL:{va(this,t);break}case R.BEFORE_HTML:{Pa(this,t);break}case R.BEFORE_HEAD:{Fa(this,t);break}case R.IN_HEAD:{Ba(this,t);break}case R.IN_HEAD_NO_SCRIPT:{za(this,t);break}case R.AFTER_HEAD:{Ha(this,t);break}case R.TEXT:{this._insertCharacters(t);break}case R.IN_TABLE:case R.IN_TABLE_BODY:case R.IN_ROW:{yo(this,t);break}case R.IN_COLUMN_GROUP:{As(this,t);break}case R.AFTER_BODY:{Ss(this,t);break}case R.AFTER_AFTER_BODY:{ls(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){bu(this,t);return}switch(this.insertionMode){case R.INITIAL:case R.BEFORE_HTML:case R.BEFORE_HEAD:case R.IN_HEAD:case R.IN_HEAD_NO_SCRIPT:case R.AFTER_HEAD:case R.IN_BODY:case R.IN_TABLE:case R.IN_CAPTION:case R.IN_COLUMN_GROUP:case R.IN_TABLE_BODY:case R.IN_ROW:case R.IN_CELL:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:case R.IN_TEMPLATE:case R.IN_FRAMESET:case R.AFTER_FRAMESET:{bu(this,t);break}case R.IN_TABLE_TEXT:{wa(this,t);break}case R.AFTER_BODY:{Cw(this,t);break}case R.AFTER_AFTER_BODY:case R.AFTER_AFTER_FRAMESET:{_w(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case R.INITIAL:{Iw(this,t);break}case R.BEFORE_HEAD:case R.IN_HEAD:case R.IN_HEAD_NO_SCRIPT:case R.AFTER_HEAD:{this._err(t,q.misplacedDoctype);break}case R.IN_TABLE_TEXT:{wa(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,q.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?QA(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case R.INITIAL:{va(this,t);break}case R.BEFORE_HTML:{Nw(this,t);break}case R.BEFORE_HEAD:{Rw(this,t);break}case R.IN_HEAD:{tr(this,t);break}case R.IN_HEAD_NO_SCRIPT:{Mw(this,t);break}case R.AFTER_HEAD:{Fw(this,t);break}case R.IN_BODY:{vt(this,t);break}case R.IN_TABLE:{Xn(this,t);break}case R.IN_TABLE_TEXT:{wa(this,t);break}case R.IN_CAPTION:{DA(this,t);break}case R.IN_COLUMN_GROUP:{Ml(this,t);break}case R.IN_TABLE_BODY:{h0(this,t);break}case R.IN_ROW:{m0(this,t);break}case R.IN_CELL:{PA(this,t);break}case R.IN_SELECT:{w2(this,t);break}case R.IN_SELECT_IN_TABLE:{BA(this,t);break}case R.IN_TEMPLATE:{HA(this,t);break}case R.AFTER_BODY:{jA(this,t);break}case R.IN_FRAMESET:{$A(this,t);break}case R.AFTER_FRAMESET:{YA(this,t);break}case R.AFTER_AFTER_BODY:{WA(this,t);break}case R.AFTER_AFTER_FRAMESET:{GA(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?JA(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case R.INITIAL:{va(this,t);break}case R.BEFORE_HTML:{Ow(this,t);break}case R.BEFORE_HEAD:{Dw(this,t);break}case R.IN_HEAD:{Lw(this,t);break}case R.IN_HEAD_NO_SCRIPT:{Pw(this,t);break}case R.AFTER_HEAD:{Bw(this,t);break}case R.IN_BODY:{d0(this,t);break}case R.TEXT:{wA(this,t);break}case R.IN_TABLE:{Qa(this,t);break}case R.IN_TABLE_TEXT:{wa(this,t);break}case R.IN_CAPTION:{LA(this,t);break}case R.IN_COLUMN_GROUP:{MA(this,t);break}case R.IN_TABLE_BODY:{yu(this,t);break}case R.IN_ROW:{v2(this,t);break}case R.IN_CELL:{FA(this,t);break}case R.IN_SELECT:{A2(this,t);break}case R.IN_SELECT_IN_TABLE:{zA(this,t);break}case R.IN_TEMPLATE:{UA(this,t);break}case R.AFTER_BODY:{k2(this,t);break}case R.IN_FRAMESET:{qA(this,t);break}case R.AFTER_FRAMESET:{VA(this,t);break}case R.AFTER_AFTER_BODY:{ls(this,t);break}}}onEof(t){switch(this.insertionMode){case R.INITIAL:{va(this,t);break}case R.BEFORE_HTML:{Pa(this,t);break}case R.BEFORE_HEAD:{Fa(this,t);break}case R.IN_HEAD:{Ba(this,t);break}case R.IN_HEAD_NO_SCRIPT:{za(this,t);break}case R.AFTER_HEAD:{Ha(this,t);break}case R.IN_BODY:case R.IN_TABLE:case R.IN_CAPTION:case R.IN_COLUMN_GROUP:case R.IN_TABLE_BODY:case R.IN_ROW:case R.IN_CELL:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:{y2(this,t);break}case R.TEXT:{AA(this,t);break}case R.IN_TABLE_TEXT:{wa(this,t);break}case R.IN_TEMPLATE:{S2(this,t);break}case R.AFTER_BODY:case R.IN_FRAMESET:case R.AFTER_FRAMESET:case R.AFTER_AFTER_BODY:case R.AFTER_AFTER_FRAMESET:{Ll(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===S.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case R.IN_HEAD:case R.IN_HEAD_NO_SCRIPT:case R.AFTER_HEAD:case R.TEXT:case R.IN_COLUMN_GROUP:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:case R.IN_FRAMESET:case R.AFTER_FRAMESET:{this._insertCharacters(t);break}case R.IN_BODY:case R.IN_CAPTION:case R.IN_CELL:case R.IN_TEMPLATE:case R.AFTER_BODY:case R.AFTER_AFTER_BODY:case R.AFTER_AFTER_FRAMESET:{h2(this,t);break}case R.IN_TABLE:case R.IN_TABLE_BODY:case R.IN_ROW:{yo(this,t);break}case R.IN_TABLE_TEXT:{E2(this,t);break}}}}function Tw(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):b2(e,t),r}function vw(e,t){let r=null,n=e.openElements.stackTop;for(;n>=0;n--){const a=e.openElements.items[n];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[n])&&(r=a)}return r||(e.openElements.shortenToLength(Math.max(n,0)),e.activeFormattingElements.removeEntry(t)),r}function ww(e,t,r){let n=t,a=e.openElements.getCommonAncestor(t);for(let i=0,s=a;s!==r;i++,s=a){a=e.openElements.getCommonAncestor(s);const o=e.activeFormattingElements.getElementEntry(s),u=o&&i>=Ew;!o||u?(u&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(s)):(s=Aw(e,o),n===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(s,n),n=s)}return n}function Aw(e,t){const r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}function Sw(e,t,r){const n=e.treeAdapter.getTagName(t),a=ua(n);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(r);else{const i=e.treeAdapter.getNamespaceURI(t);a===d.TEMPLATE&&i===J.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function kw(e,t,r){const n=e.treeAdapter.getNamespaceURI(r.element),{token:a}=r,i=e.treeAdapter.createElement(a.tagName,n,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,i,a.tagID)}function Dl(e,t){for(let r=0;r<yw;r++){const n=Tw(e,t);if(!n)break;const a=vw(e,n);if(!a)break;e.activeFormattingElements.bookmark=n;const i=ww(e,a,n.element),s=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),s&&Sw(e,s,i),kw(e,a,n)}}function bu(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function Cw(e,t){e._appendCommentNode(t,e.openElements.items[0])}function _w(e,t){e._appendCommentNode(t,e.document)}function Ll(e,t){if(e.stopped=!0,t.location){const r=e.fragmentContext?0:2;for(let n=e.openElements.stackTop;n>=r;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(n);if(a&&!a.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],s=e.treeAdapter.getNodeSourceCodeLocation(i);s&&!s.endTag&&e._setEndLocation(i,t)}}}}function Iw(e,t){e._setDocumentType(t);const r=t.forceQuirks?qt.QUIRKS:iw(t);aw(t)||e._err(t,q.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=R.BEFORE_HTML}function va(e,t){e._err(t,q.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,qt.QUIRKS),e.insertionMode=R.BEFORE_HTML,e._processToken(t)}function Nw(e,t){t.tagID===d.HTML?(e._insertElement(t,J.HTML),e.insertionMode=R.BEFORE_HEAD):Pa(e,t)}function Ow(e,t){const r=t.tagID;(r===d.HTML||r===d.HEAD||r===d.BODY||r===d.BR)&&Pa(e,t)}function Pa(e,t){e._insertFakeRootElement(),e.insertionMode=R.BEFORE_HEAD,e._processToken(t)}function Rw(e,t){switch(t.tagID){case d.HTML:{vt(e,t);break}case d.HEAD:{e._insertElement(t,J.HTML),e.headElement=e.openElements.current,e.insertionMode=R.IN_HEAD;break}default:Fa(e,t)}}function Dw(e,t){const r=t.tagID;r===d.HEAD||r===d.BODY||r===d.HTML||r===d.BR?Fa(e,t):e._err(t,q.endTagWithoutMatchingOpenElement)}function Fa(e,t){e._insertFakeElement(j.HEAD,d.HEAD),e.headElement=e.openElements.current,e.insertionMode=R.IN_HEAD,e._processToken(t)}function tr(e,t){switch(t.tagID){case d.HTML:{vt(e,t);break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:{e._appendElement(t,J.HTML),t.ackSelfClosing=!0;break}case d.TITLE:{e._switchToTextParsing(t,rt.RCDATA);break}case d.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,rt.RAWTEXT):(e._insertElement(t,J.HTML),e.insertionMode=R.IN_HEAD_NO_SCRIPT);break}case d.NOFRAMES:case d.STYLE:{e._switchToTextParsing(t,rt.RAWTEXT);break}case d.SCRIPT:{e._switchToTextParsing(t,rt.SCRIPT_DATA);break}case d.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=R.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(R.IN_TEMPLATE);break}case d.HEAD:{e._err(t,q.misplacedStartTagForHeadElement);break}default:Ba(e,t)}}function Lw(e,t){switch(t.tagID){case d.HEAD:{e.openElements.pop(),e.insertionMode=R.AFTER_HEAD;break}case d.BODY:case d.BR:case d.HTML:{Ba(e,t);break}case d.TEMPLATE:{An(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function An(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==d.TEMPLATE&&e._err(t,q.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,q.endTagWithoutMatchingOpenElement)}function Ba(e,t){e.openElements.pop(),e.insertionMode=R.AFTER_HEAD,e._processToken(t)}function Mw(e,t){switch(t.tagID){case d.HTML:{vt(e,t);break}case d.BASEFONT:case d.BGSOUND:case d.HEAD:case d.LINK:case d.META:case d.NOFRAMES:case d.STYLE:{tr(e,t);break}case d.NOSCRIPT:{e._err(t,q.nestedNoscriptInHead);break}default:za(e,t)}}function Pw(e,t){switch(t.tagID){case d.NOSCRIPT:{e.openElements.pop(),e.insertionMode=R.IN_HEAD;break}case d.BR:{za(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function za(e,t){const r=t.type===Le.EOF?q.openElementsLeftAfterEof:q.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=R.IN_HEAD,e._processToken(t)}function Fw(e,t){switch(t.tagID){case d.HTML:{vt(e,t);break}case d.BODY:{e._insertElement(t,J.HTML),e.framesetOk=!1,e.insertionMode=R.IN_BODY;break}case d.FRAMESET:{e._insertElement(t,J.HTML),e.insertionMode=R.IN_FRAMESET;break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{e._err(t,q.abandonedHeadElementChild),e.openElements.push(e.headElement,d.HEAD),tr(e,t),e.openElements.remove(e.headElement);break}case d.HEAD:{e._err(t,q.misplacedStartTagForHeadElement);break}default:Ha(e,t)}}function Bw(e,t){switch(t.tagID){case d.BODY:case d.HTML:case d.BR:{Ha(e,t);break}case d.TEMPLATE:{An(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function Ha(e,t){e._insertFakeElement(j.BODY,d.BODY),e.insertionMode=R.IN_BODY,f0(e,t)}function f0(e,t){switch(t.type){case Le.CHARACTER:{m2(e,t);break}case Le.WHITESPACE_CHARACTER:{h2(e,t);break}case Le.COMMENT:{bu(e,t);break}case Le.START_TAG:{vt(e,t);break}case Le.END_TAG:{d0(e,t);break}case Le.EOF:{y2(e,t);break}}}function h2(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function m2(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function zw(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Hw(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function Uw(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,J.HTML),e.insertionMode=R.IN_FRAMESET)}function jw(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,J.HTML)}function $w(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&gu.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,J.HTML)}function qw(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,J.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Yw(e,t){const r=e.openElements.tmplCount>0;(!e.formElement||r)&&(e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,J.HTML),r||(e.formElement=e.openElements.current))}function Vw(e,t){e.framesetOk=!1;const r=t.tagID;for(let n=e.openElements.stackTop;n>=0;n--){const a=e.openElements.tagIDs[n];if(r===d.LI&&a===d.LI||(r===d.DD||r===d.DT)&&(a===d.DD||a===d.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==d.ADDRESS&&a!==d.DIV&&a!==d.P&&e._isSpecialElement(e.openElements.items[n],a))break}e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,J.HTML)}function Ww(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,J.HTML),e.tokenizer.state=rt.PLAINTEXT}function Gw(e,t){e.openElements.hasInScope(d.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,J.HTML),e.framesetOk=!1}function Xw(e,t){const r=e.activeFormattingElements.getElementEntryInScopeWithTagName(j.A);r&&(Dl(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,J.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Kw(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,J.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Qw(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(d.NOBR)&&(Dl(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,J.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Jw(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,J.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Zw(e,t){e.treeAdapter.getDocumentMode(e.document)!==qt.QUIRKS&&e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,J.HTML),e.framesetOk=!1,e.insertionMode=R.IN_TABLE}function p2(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,J.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function g2(e){const t=a2(e,mn.TYPE);return t!=null&&t.toLowerCase()===bw}function eA(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,J.HTML),g2(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function tA(e,t){e._appendElement(t,J.HTML),t.ackSelfClosing=!0}function rA(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._appendElement(t,J.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function nA(e,t){t.tagName=j.IMG,t.tagID=d.IMG,p2(e,t)}function aA(e,t){e._insertElement(t,J.HTML),e.skipNextNewLine=!0,e.tokenizer.state=rt.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=R.TEXT}function iA(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,rt.RAWTEXT)}function sA(e,t){e.framesetOk=!1,e._switchToTextParsing(t,rt.RAWTEXT)}function Pf(e,t){e._switchToTextParsing(t,rt.RAWTEXT)}function oA(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,J.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===R.IN_TABLE||e.insertionMode===R.IN_CAPTION||e.insertionMode===R.IN_TABLE_BODY||e.insertionMode===R.IN_ROW||e.insertionMode===R.IN_CELL?R.IN_SELECT_IN_TABLE:R.IN_SELECT}function uA(e,t){e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,J.HTML)}function lA(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,J.HTML)}function cA(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(d.RTC),e._insertElement(t,J.HTML)}function fA(e,t){e._reconstructActiveFormattingElements(),c2(t),Rl(t),t.selfClosing?e._appendElement(t,J.MATHML):e._insertElement(t,J.MATHML),t.ackSelfClosing=!0}function dA(e,t){e._reconstructActiveFormattingElements(),f2(t),Rl(t),t.selfClosing?e._appendElement(t,J.SVG):e._insertElement(t,J.SVG),t.ackSelfClosing=!0}function Ff(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,J.HTML)}function vt(e,t){switch(t.tagID){case d.I:case d.S:case d.B:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.SMALL:case d.STRIKE:case d.STRONG:{Kw(e,t);break}case d.A:{Xw(e,t);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{$w(e,t);break}case d.P:case d.DL:case d.OL:case d.UL:case d.DIV:case d.DIR:case d.NAV:case d.MAIN:case d.MENU:case d.ASIDE:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.DETAILS:case d.ADDRESS:case d.ARTICLE:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{jw(e,t);break}case d.LI:case d.DD:case d.DT:{Vw(e,t);break}case d.BR:case d.IMG:case d.WBR:case d.AREA:case d.EMBED:case d.KEYGEN:{p2(e,t);break}case d.HR:{rA(e,t);break}case d.RB:case d.RTC:{lA(e,t);break}case d.RT:case d.RP:{cA(e,t);break}case d.PRE:case d.LISTING:{qw(e,t);break}case d.XMP:{iA(e,t);break}case d.SVG:{dA(e,t);break}case d.HTML:{zw(e,t);break}case d.BASE:case d.LINK:case d.META:case d.STYLE:case d.TITLE:case d.SCRIPT:case d.BGSOUND:case d.BASEFONT:case d.TEMPLATE:{tr(e,t);break}case d.BODY:{Hw(e,t);break}case d.FORM:{Yw(e,t);break}case d.NOBR:{Qw(e,t);break}case d.MATH:{fA(e,t);break}case d.TABLE:{Zw(e,t);break}case d.INPUT:{eA(e,t);break}case d.PARAM:case d.TRACK:case d.SOURCE:{tA(e,t);break}case d.IMAGE:{nA(e,t);break}case d.BUTTON:{Gw(e,t);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{Jw(e,t);break}case d.IFRAME:{sA(e,t);break}case d.SELECT:{oA(e,t);break}case d.OPTION:case d.OPTGROUP:{uA(e,t);break}case d.NOEMBED:case d.NOFRAMES:{Pf(e,t);break}case d.FRAMESET:{Uw(e,t);break}case d.TEXTAREA:{aA(e,t);break}case d.NOSCRIPT:{e.options.scriptingEnabled?Pf(e,t):Ff(e,t);break}case d.PLAINTEXT:{Ww(e,t);break}case d.COL:case d.TH:case d.TD:case d.TR:case d.HEAD:case d.FRAME:case d.TBODY:case d.TFOOT:case d.THEAD:case d.CAPTION:case d.COLGROUP:break;default:Ff(e,t)}}function hA(e,t){if(e.openElements.hasInScope(d.BODY)&&(e.insertionMode=R.AFTER_BODY,e.options.sourceCodeLocationInfo)){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}function mA(e,t){e.openElements.hasInScope(d.BODY)&&(e.insertionMode=R.AFTER_BODY,k2(e,t))}function pA(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function gA(e){const t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(d.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(d.FORM):r&&e.openElements.remove(r))}function bA(e){e.openElements.hasInButtonScope(d.P)||e._insertFakeElement(j.P,d.P),e._closePElement()}function yA(e){e.openElements.hasInListItemScope(d.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(d.LI),e.openElements.popUntilTagNamePopped(d.LI))}function EA(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function xA(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function TA(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function vA(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(j.BR,d.BR),e.openElements.pop(),e.framesetOk=!1}function b2(e,t){const r=t.tagName,n=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const i=e.openElements.items[a],s=e.openElements.tagIDs[a];if(n===s&&(n!==d.UNKNOWN||e.treeAdapter.getTagName(i)===r)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(i,s))break}}function d0(e,t){switch(t.tagID){case d.A:case d.B:case d.I:case d.S:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.NOBR:case d.SMALL:case d.STRIKE:case d.STRONG:{Dl(e,t);break}case d.P:{bA(e);break}case d.DL:case d.UL:case d.OL:case d.DIR:case d.DIV:case d.NAV:case d.PRE:case d.MAIN:case d.MENU:case d.ASIDE:case d.BUTTON:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.ADDRESS:case d.ARTICLE:case d.DETAILS:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.LISTING:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{pA(e,t);break}case d.LI:{yA(e);break}case d.DD:case d.DT:{EA(e,t);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{xA(e);break}case d.BR:{vA(e);break}case d.BODY:{hA(e,t);break}case d.HTML:{mA(e,t);break}case d.FORM:{gA(e);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{TA(e,t);break}case d.TEMPLATE:{An(e,t);break}default:b2(e,t)}}function y2(e,t){e.tmplInsertionModeStack.length>0?S2(e,t):Ll(e,t)}function wA(e,t){var r;t.tagID===d.SCRIPT&&((r=e.scriptHandler)===null||r===void 0||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function AA(e,t){e._err(t,q.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function yo(e,t){if(e.openElements.currentTagId!==void 0&&d2.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=R.IN_TABLE_TEXT,t.type){case Le.CHARACTER:{x2(e,t);break}case Le.WHITESPACE_CHARACTER:{E2(e,t);break}}else hi(e,t)}function SA(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,J.HTML),e.insertionMode=R.IN_CAPTION}function kA(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,J.HTML),e.insertionMode=R.IN_COLUMN_GROUP}function CA(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(j.COLGROUP,d.COLGROUP),e.insertionMode=R.IN_COLUMN_GROUP,Ml(e,t)}function _A(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,J.HTML),e.insertionMode=R.IN_TABLE_BODY}function IA(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(j.TBODY,d.TBODY),e.insertionMode=R.IN_TABLE_BODY,h0(e,t)}function NA(e,t){e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function OA(e,t){g2(t)?e._appendElement(t,J.HTML):hi(e,t),t.ackSelfClosing=!0}function RA(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,J.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Xn(e,t){switch(t.tagID){case d.TD:case d.TH:case d.TR:{IA(e,t);break}case d.STYLE:case d.SCRIPT:case d.TEMPLATE:{tr(e,t);break}case d.COL:{CA(e,t);break}case d.FORM:{RA(e,t);break}case d.TABLE:{NA(e,t);break}case d.TBODY:case d.TFOOT:case d.THEAD:{_A(e,t);break}case d.INPUT:{OA(e,t);break}case d.CAPTION:{SA(e,t);break}case d.COLGROUP:{kA(e,t);break}default:hi(e,t)}}function Qa(e,t){switch(t.tagID){case d.TABLE:{e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode());break}case d.TEMPLATE:{An(e,t);break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:hi(e,t)}}function hi(e,t){const r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,f0(e,t),e.fosterParentingEnabled=r}function E2(e,t){e.pendingCharacterTokens.push(t)}function x2(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function wa(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)hi(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const T2=new Set([d.CAPTION,d.COL,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]);function DA(e,t){const r=t.tagID;T2.has(r)?e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=R.IN_TABLE,Xn(e,t)):vt(e,t)}function LA(e,t){const r=t.tagID;switch(r){case d.CAPTION:case d.TABLE:{e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=R.IN_TABLE,r===d.TABLE&&Qa(e,t));break}case d.BODY:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:d0(e,t)}}function Ml(e,t){switch(t.tagID){case d.HTML:{vt(e,t);break}case d.COL:{e._appendElement(t,J.HTML),t.ackSelfClosing=!0;break}case d.TEMPLATE:{tr(e,t);break}default:As(e,t)}}function MA(e,t){switch(t.tagID){case d.COLGROUP:{e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=R.IN_TABLE);break}case d.TEMPLATE:{An(e,t);break}case d.COL:break;default:As(e,t)}}function As(e,t){e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=R.IN_TABLE,e._processToken(t))}function h0(e,t){switch(t.tagID){case d.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,J.HTML),e.insertionMode=R.IN_ROW;break}case d.TH:case d.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(j.TR,d.TR),e.insertionMode=R.IN_ROW,m0(e,t);break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE,Xn(e,t));break}default:Xn(e,t)}}function yu(e,t){const r=t.tagID;switch(t.tagID){case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE);break}case d.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE,Qa(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:case d.TR:break;default:Qa(e,t)}}function m0(e,t){switch(t.tagID){case d.TH:case d.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,J.HTML),e.insertionMode=R.IN_CELL,e.activeFormattingElements.insertMarker();break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY,h0(e,t));break}default:Xn(e,t)}}function v2(e,t){switch(t.tagID){case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY);break}case d.TABLE:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY,yu(e,t));break}case d.TBODY:case d.TFOOT:case d.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(d.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY,yu(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:break;default:Qa(e,t)}}function PA(e,t){const r=t.tagID;T2.has(r)?(e.openElements.hasInTableScope(d.TD)||e.openElements.hasInTableScope(d.TH))&&(e._closeTableCell(),m0(e,t)):vt(e,t)}function FA(e,t){const r=t.tagID;switch(r){case d.TD:case d.TH:{e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=R.IN_ROW);break}case d.TABLE:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(r)&&(e._closeTableCell(),v2(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:break;default:d0(e,t)}}function w2(e,t){switch(t.tagID){case d.HTML:{vt(e,t);break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._insertElement(t,J.HTML);break}case d.OPTGROUP:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._insertElement(t,J.HTML);break}case d.HR:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._appendElement(t,J.HTML),t.ackSelfClosing=!0;break}case d.INPUT:case d.KEYGEN:case d.TEXTAREA:case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),t.tagID!==d.SELECT&&e._processStartTag(t));break}case d.SCRIPT:case d.TEMPLATE:{tr(e,t);break}}}function A2(e,t){switch(t.tagID){case d.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===d.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===d.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop();break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop();break}case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode());break}case d.TEMPLATE:{An(e,t);break}}}function BA(e,t){const r=t.tagID;r===d.CAPTION||r===d.TABLE||r===d.TBODY||r===d.TFOOT||r===d.THEAD||r===d.TR||r===d.TD||r===d.TH?(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e._processStartTag(t)):w2(e,t)}function zA(e,t){const r=t.tagID;r===d.CAPTION||r===d.TABLE||r===d.TBODY||r===d.TFOOT||r===d.THEAD||r===d.TR||r===d.TD||r===d.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e.onEndTag(t)):A2(e,t)}function HA(e,t){switch(t.tagID){case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{tr(e,t);break}case d.CAPTION:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.tmplInsertionModeStack[0]=R.IN_TABLE,e.insertionMode=R.IN_TABLE,Xn(e,t);break}case d.COL:{e.tmplInsertionModeStack[0]=R.IN_COLUMN_GROUP,e.insertionMode=R.IN_COLUMN_GROUP,Ml(e,t);break}case d.TR:{e.tmplInsertionModeStack[0]=R.IN_TABLE_BODY,e.insertionMode=R.IN_TABLE_BODY,h0(e,t);break}case d.TD:case d.TH:{e.tmplInsertionModeStack[0]=R.IN_ROW,e.insertionMode=R.IN_ROW,m0(e,t);break}default:e.tmplInsertionModeStack[0]=R.IN_BODY,e.insertionMode=R.IN_BODY,vt(e,t)}}function UA(e,t){t.tagID===d.TEMPLATE&&An(e,t)}function S2(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Ll(e,t)}function jA(e,t){t.tagID===d.HTML?vt(e,t):Ss(e,t)}function k2(e,t){var r;if(t.tagID===d.HTML){if(e.fragmentContext||(e.insertionMode=R.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===d.HTML){e._setEndLocation(e.openElements.items[0],t);const n=e.openElements.items[1];n&&!(!((r=e.treeAdapter.getNodeSourceCodeLocation(n))===null||r===void 0)&&r.endTag)&&e._setEndLocation(n,t)}}else Ss(e,t)}function Ss(e,t){e.insertionMode=R.IN_BODY,f0(e,t)}function $A(e,t){switch(t.tagID){case d.HTML:{vt(e,t);break}case d.FRAMESET:{e._insertElement(t,J.HTML);break}case d.FRAME:{e._appendElement(t,J.HTML),t.ackSelfClosing=!0;break}case d.NOFRAMES:{tr(e,t);break}}}function qA(e,t){t.tagID===d.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==d.FRAMESET&&(e.insertionMode=R.AFTER_FRAMESET))}function YA(e,t){switch(t.tagID){case d.HTML:{vt(e,t);break}case d.NOFRAMES:{tr(e,t);break}}}function VA(e,t){t.tagID===d.HTML&&(e.insertionMode=R.AFTER_AFTER_FRAMESET)}function WA(e,t){t.tagID===d.HTML?vt(e,t):ls(e,t)}function ls(e,t){e.insertionMode=R.IN_BODY,f0(e,t)}function GA(e,t){switch(t.tagID){case d.HTML:{vt(e,t);break}case d.NOFRAMES:{tr(e,t);break}}}function XA(e,t){t.chars=Xe,e._insertCharacters(t)}function KA(e,t){e._insertCharacters(t),e.framesetOk=!1}function C2(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==J.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function QA(e,t){if(dw(t))C2(e),e._startTagOutsideForeignContent(t);else{const r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===J.MATHML?c2(t):n===J.SVG&&(hw(t),f2(t)),Rl(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}function JA(e,t){if(t.tagID===d.P||t.tagID===d.BR){C2(e),e._endTagOutsideForeignContent(t);return}for(let r=e.openElements.stackTop;r>0;r--){const n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===J.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(n);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(r);break}}}j.AREA,j.BASE,j.BASEFONT,j.BGSOUND,j.BR,j.COL,j.EMBED,j.FRAME,j.HR,j.IMG,j.INPUT,j.KEYGEN,j.LINK,j.META,j.PARAM,j.SOURCE,j.TRACK,j.WBR;const ZA=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,eS=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Bf={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function _2(e,t){const r=cS(e),n=vp("type",{handlers:{root:tS,element:rS,text:nS,comment:N2,doctype:aS,raw:sS},unknown:oS}),a={parser:r?new Mf(Bf):Mf.getFragmentParser(void 0,Bf),handle(o){n(o,a)},stitches:!1,options:t||{}};n(e,a),la(a,dr());const i=r?a.parser.document:a.parser.getFragment(),s=fv(i,{file:a.options.file});return a.stitches&&Js(s,"comment",function(o,u,l){const c=o;if(c.value.stitch&&l&&u!==void 0){const f=l.children;return f[u]=c.value.stitch,u}}),s.type==="root"&&s.children.length===1&&s.children[0].type===e.type?s.children[0]:s}function I2(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function tS(e,t){I2(e.children,t)}function rS(e,t){uS(e,t),I2(e.children,t),lS(e,t)}function nS(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const r={type:Le.CHARACTER,chars:e.value,location:mi(e)};la(t,dr(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function aS(e,t){const r={type:Le.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:mi(e)};la(t,dr(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function iS(e,t){t.stitches=!0;const r=fS(e);if("children"in e&&"children"in r){const n=_2({type:"root",children:e.children},t.options);r.children=n.children}N2({type:"comment",value:{stitch:r}},t)}function N2(e,t){const r=e.value,n={type:Le.COMMENT,data:r,location:mi(e)};la(t,dr(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function sS(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,O2(t,dr(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(ZA,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const r=t.parser.tokenizer._consume();t.parser.tokenizer._callState(r)}}function oS(e,t){const r=e;if(t.options.passThrough&&t.options.passThrough.includes(r.type))iS(r,t);else{let n="";throw eS.has(r.type)&&(n=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+r.type+"` node"+n)}}function la(e,t){O2(e,t);const r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=rt.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function O2(e,t){if(t&&t.offset!==void 0){const r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=r}}function uS(e,t){const r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===rt.PLAINTEXT)return;la(t,dr(e));const n=t.parser.openElements.current;let a="namespaceURI"in n?n.namespaceURI:lr.html;a===lr.html&&r==="svg"&&(a=lr.svg);const i=gv(at(ne({},e),{children:[]}),{space:a===lr.svg?"svg":"html"}),s={type:Le.START_TAG,tagName:r,tagID:ua(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:mi(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r}function lS(e,t){const r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Av.includes(r)||t.parser.tokenizer.state===rt.PLAINTEXT)return;la(t,Ws(e));const n={type:Le.END_TAG,tagName:r,tagID:ua(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:mi(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),r===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===rt.RCDATA||t.parser.tokenizer.state===rt.RAWTEXT||t.parser.tokenizer.state===rt.SCRIPT_DATA)&&(t.parser.tokenizer.state=rt.DATA)}function cS(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function mi(e){const t=dr(e)||{line:void 0,column:void 0,offset:void 0},r=Ws(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function fS(e){return"children"in e?Yn(at(ne({},e),{children:[]})):Yn(e)}function dS(e){return function(t,r){return _2(t,at(ne({},e),{file:r}))}}function hS(e){bp(e,[/\r?\n|\r/g,mS])}function mS(){return{type:"break"}}function pS(){return function(e){hS(e)}}const gS=ue.div`
305
+ position: relative;
306
+
307
+ max-width: 100%;
308
+ overflow-wrap: break-word;
309
+
310
+ > p {
311
+ display: block;
312
+ width: 100%;
313
+ margin-bottom: 16px;
314
+ }
315
+
316
+ > p:last-child {
317
+ margin-bottom: 0;
318
+ }
319
+
320
+ @keyframes dots {
321
+ 0%, 20% {
322
+ color: ${({loading_color:e})=>e};
323
+ text-shadow: ${({loading_color:e})=>`.25em 0 0 ${e}, .5em 0 0 ${e}`};
324
+ }
325
+ 40% {
326
+ color: ${({primary_color:e})=>e};
327
+ text-shadow: ${({loading_color:e})=>`.25em 0 0 ${e}, .5em 0 0 ${e}`};
328
+ }
329
+ 60% {
330
+ text-shadow: ${({primary_color:e,loading_color:t})=>`.25em 0 0 ${e}, .5em 0 0 ${t}`};
331
+ }
332
+ 80%, 100% {
333
+ text-shadow: ${({primary_color:e})=>`.25em 0 0 ${e}, .5em 0 0 ${e}`};
334
+
335
+ }
336
+ }
337
+
338
+ @keyframes blink-dots {
339
+ 0%,
340
+ 80%,
341
+ 100% {
342
+ box-shadow: 0 -1em 0 -1.3em #5584ff;
343
+ }
344
+ 40% {
345
+ box-shadow: 0 -1em 0 0 #5584ff;
346
+ }
347
+ }
348
+
349
+ .prompt-message {
350
+ font-size: 12px;
351
+ }
352
+
353
+ .prompt-loading {
354
+ margin-left: 2px;
355
+ color: ${({second_color:e})=>e};
356
+ position: relative;
357
+
358
+ .dots {
359
+ //text-align: center;
360
+ //font-size: 1.5em;
361
+ //letter-spacing: 2px;
362
+ //animation: dots 1s steps(5, end) infinite;
363
+
364
+ display: inline-block;
365
+ position: relative;
366
+ text-indent: -9999em;
367
+ animation-delay: -0.16s;
368
+ margin: 0 auto !important;
369
+ transform: scale(0.5);
370
+ top: 0.6em;
371
+ left: 1.5em;
372
+
373
+ &:before,
374
+ &:after,
375
+ & {
376
+ border-radius: 50%;
377
+ width: 1em;
378
+ height: 1em;
379
+ animation: 1.8s ease-in-out 0s infinite normal none running blink-dots;
380
+ }
381
+ &:before {
382
+ left: -2em;
383
+ animation-delay: -0.32s;
384
+ }
385
+ &:after {
386
+ left: 2em;
387
+ }
388
+ &:before,
389
+ &:after {
390
+ content: '';
391
+ position: absolute;
392
+ }
393
+ }
394
+ }
395
+
396
+ h1,h2,h3,h4,h5,h6 {
397
+ padding: 10px;
398
+ color: ${({color:e})=>e};
399
+ // background: ${({bg_color:e})=>e}; // TODO dark mode ?
400
+ }
401
+
402
+ h1 {
403
+ font-size: 18px;
404
+ }
405
+
406
+ h2 {
407
+ font-size: 16px;
408
+ }
409
+
410
+ h3,h4 {
411
+ font-size: 14px;
412
+ }
413
+
414
+ ul,ol {
415
+ padding-left: 2em;
416
+ display: flex;
417
+ flex-direction: column;
418
+ gap: 8px;
419
+ list-style-type: disc;
420
+ }
421
+
422
+ ul ul,
423
+ ol ul {
424
+ list-style-type: circle;
425
+ }
426
+
427
+ ul ul ul,
428
+ ul ol ul,
429
+ ol ul ul,
430
+ ol ol ul {
431
+ list-style-type: square;
432
+ }
433
+
434
+ ol {
435
+ list-style-type: decimal;
436
+ }
437
+
438
+ li {
439
+ white-space: normal;
440
+ }
441
+
442
+ details {
443
+ font-size: 12px;
444
+ color: rgb(106 105 105);
445
+ white-space: normal;
446
+ }
447
+
448
+ details:has(pre:empty) {
449
+ display: none;
450
+ }
451
+
452
+ summary {
453
+ margin-left: -4px;
454
+ }
455
+
456
+ pre.think {
457
+ font-size: 12px;
458
+ color: #a6a6a6;
459
+ border-left: 1px #a6a6a6 solid;
460
+ display: inline-block;
461
+ white-space: pre-wrap;
462
+ overflow-wrap: break-word;
463
+ padding-left: 10px;
464
+ margin-top: 8px;
465
+ }
466
+
467
+ pre.think > p {
468
+ margin-top: 10px;
469
+ }
470
+
471
+ table {
472
+ display: block;
473
+ overflow-x: auto;
474
+ width: max-content;
475
+ max-width: 100%;
476
+ }
477
+
478
+ th, td {
479
+ border: 1px solid #d9d9d9;
480
+ padding: 12px;
481
+ text-align: center;
482
+ white-space: nowrap;
483
+ }
484
+
485
+ /* 用于 coverMath2Markdown 的加载动画 */
486
+ @keyframes cursorImg {
487
+ 0%, 100% {
488
+ opacity: 1;
489
+ }
490
+ 50% {
491
+ opacity: 0;
492
+ }
493
+ }
494
+
495
+ .prompt-loading-cursor {
496
+ color: #5584ff;
497
+ animation: cursorImg 1s infinite steps(1, start);
498
+ }
499
+
500
+ /* KaTeX 数学公式样式 */
501
+ .katex {
502
+ font: inherit;
503
+ text-rendering: auto;
504
+ }
505
+
506
+ .katex-display {
507
+ display: block;
508
+ margin: 1em 0;
509
+ text-align: center;
510
+ }
511
+
512
+ /* 数学符号和布局样式 */
513
+ .katex .mord,
514
+ .katex .mbin,
515
+ .katex .mrel,
516
+ .katex .mopen,
517
+ .katex .mclose,
518
+ .katex .mpunct,
519
+ .katex .minner {
520
+ font-family: inherit;
521
+ }
522
+
523
+ /* 数学布局样式 */
524
+ .katex .vlist-t,
525
+ .katex .vlist-r,
526
+ .katex .vlist {
527
+ display: inline-block;
528
+ }
529
+
530
+ .katex .mfrac {
531
+ display: inline-block;
532
+ vertical-align: middle;
533
+ }
534
+ `;/*!
535
+ * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
536
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
537
+ * Copyright 2024 Fonticons, Inc.
538
+ */function bS(e,t,r){return(t=ES(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ae(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?zf(Object(r),!0).forEach(function(n){bS(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zf(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function yS(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ES(e){var t=yS(e,"string");return typeof t=="symbol"?t:t+""}const Hf=()=>{};let Pl={},R2={},D2=null,L2={mark:Hf,measure:Hf};try{typeof window!="undefined"&&(Pl=window),typeof document!="undefined"&&(R2=document),typeof MutationObserver!="undefined"&&(D2=MutationObserver),typeof performance!="undefined"&&(L2=performance)}catch(e){}const{userAgent:Uf=""}=Pl.navigator||{},Wr=Pl,Ge=R2,jf=D2,Vi=L2;Wr.document;const Or=!!Ge.documentElement&&!!Ge.head&&typeof Ge.addEventListener=="function"&&typeof Ge.createElement=="function",M2=~Uf.indexOf("MSIE")||~Uf.indexOf("Trident/");var xS=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,TS=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,P2={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},vS={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},F2=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],xt="classic",p0="duotone",wS="sharp",AS="sharp-duotone",B2=[xt,p0,wS,AS],SS={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},kS={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},CS=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),_S={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},IS=["fak","fa-kit","fakd","fa-kit-duotone"],$f={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},NS=["kit"],OS={kit:{"fa-kit":"fak"}},RS=["fak","fakd"],DS={kit:{fak:"fa-kit"}},qf={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Wi={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},LS=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],MS=["fak","fa-kit","fakd","fa-kit-duotone"],PS={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},FS={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},BS={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},Eu={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},zS=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],xu=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...LS,...zS],HS=["solid","regular","light","thin","duotone","brands"],z2=[1,2,3,4,5,6,7,8,9,10],US=z2.concat([11,12,13,14,15,16,17,18,19,20]),jS=[...Object.keys(BS),...HS,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Wi.GROUP,Wi.SWAP_OPACITY,Wi.PRIMARY,Wi.SECONDARY].concat(z2.map(e=>"".concat(e,"x"))).concat(US.map(e=>"w-".concat(e))),$S={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const Sr="___FONT_AWESOME___",Tu=16,H2="fa",U2="svg-inline--fa",yn="data-fa-i2svg",vu="data-fa-pseudo-element",qS="data-fa-pseudo-element-pending",Fl="data-prefix",Bl="data-icon",Yf="fontawesome-i2svg",YS="async",VS=["HTML","HEAD","STYLE","SCRIPT"],j2=(()=>{try{return!0}catch(e){return!1}})();function pi(e){return new Proxy(e,{get(t,r){return r in t?t[r]:t[xt]}})}const $2=ae({},P2);$2[xt]=ae(ae(ae(ae({},{"fa-duotone":"duotone"}),P2[xt]),$f.kit),$f["kit-duotone"]);const WS=pi($2),wu=ae({},_S);wu[xt]=ae(ae(ae(ae({},{duotone:"fad"}),wu[xt]),qf.kit),qf["kit-duotone"]);const Vf=pi(wu),Au=ae({},Eu);Au[xt]=ae(ae({},Au[xt]),DS.kit);const zl=pi(Au),Su=ae({},FS);Su[xt]=ae(ae({},Su[xt]),OS.kit);pi(Su);const GS=xS,q2="fa-layers-text",XS=TS,KS=ae({},SS);pi(KS);const QS=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Eo=vS,JS=[...NS,...jS],Ua=Wr.FontAwesomeConfig||{};function ZS(e){var t=Ge.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function ek(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}Ge&&typeof Ge.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[r,n]=t;const a=ek(ZS(r));a!=null&&(Ua[n]=a)});const Y2={styleDefault:"solid",familyDefault:xt,cssPrefix:H2,replacementClass:U2,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ua.familyPrefix&&(Ua.cssPrefix=Ua.familyPrefix);const Kn=ae(ae({},Y2),Ua);Kn.autoReplaceSvg||(Kn.observeMutations=!1);const Ee={};Object.keys(Y2).forEach(e=>{Object.defineProperty(Ee,e,{enumerable:!0,set:function(t){Kn[e]=t,ja.forEach(r=>r(Ee))},get:function(){return Kn[e]}})});Object.defineProperty(Ee,"familyPrefix",{enumerable:!0,set:function(e){Kn.cssPrefix=e,ja.forEach(t=>t(Ee))},get:function(){return Kn.cssPrefix}});Wr.FontAwesomeConfig=Ee;const ja=[];function tk(e){return ja.push(e),()=>{ja.splice(ja.indexOf(e),1)}}const Mr=Tu,cr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function rk(e){if(!e||!Or)return;const t=Ge.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const r=Ge.head.childNodes;let n=null;for(let a=r.length-1;a>-1;a--){const i=r[a],s=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(n=i)}return Ge.head.insertBefore(t,n),e}const nk="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ja(){let e=12,t="";for(;e-- >0;)t+=nk[Math.random()*62|0];return t}function ca(e){const t=[];for(let r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function Hl(e){return e.classList?ca(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function V2(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ak(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,'="').concat(V2(e[r]),'" '),"").trim()}function g0(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,": ").concat(e[r].trim(),";"),"")}function Ul(e){return e.size!==cr.size||e.x!==cr.x||e.y!==cr.y||e.rotate!==cr.rotate||e.flipX||e.flipY}function ik(e){let{transform:t,containerWidth:r,iconWidth:n}=e;const a={transform:"translate(".concat(r/2," 256)")},i="translate(".concat(t.x*32,", ").concat(t.y*32,") "),s="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),o="rotate(".concat(t.rotate," 0 0)"),u={transform:"".concat(i," ").concat(s," ").concat(o)},l={transform:"translate(".concat(n/2*-1," -256)")};return{outer:a,inner:u,path:l}}function sk(e){let{transform:t,width:r=Tu,height:n=Tu,startCentered:a=!1}=e,i="";return a&&M2?i+="translate(".concat(t.x/Mr-r/2,"em, ").concat(t.y/Mr-n/2,"em) "):a?i+="translate(calc(-50% + ".concat(t.x/Mr,"em), calc(-50% + ").concat(t.y/Mr,"em)) "):i+="translate(".concat(t.x/Mr,"em, ").concat(t.y/Mr,"em) "),i+="scale(".concat(t.size/Mr*(t.flipX?-1:1),", ").concat(t.size/Mr*(t.flipY?-1:1),") "),i+="rotate(".concat(t.rotate,"deg) "),i}var ok=`:root, :host {
539
+ --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
540
+ --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
541
+ --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
542
+ --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";
543
+ --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
544
+ --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";
545
+ --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";
546
+ --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";
547
+ --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
548
+ --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
549
+ --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
550
+ --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
551
+ --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
552
+ --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";
553
+ --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";
554
+ --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";
555
+ --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";
556
+ }
557
+
558
+ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
559
+ overflow: visible;
560
+ box-sizing: content-box;
561
+ }
562
+
563
+ .svg-inline--fa {
564
+ display: var(--fa-display, inline-block);
565
+ height: 1em;
566
+ overflow: visible;
567
+ vertical-align: -0.125em;
568
+ }
569
+ .svg-inline--fa.fa-2xs {
570
+ vertical-align: 0.1em;
571
+ }
572
+ .svg-inline--fa.fa-xs {
573
+ vertical-align: 0em;
574
+ }
575
+ .svg-inline--fa.fa-sm {
576
+ vertical-align: -0.0714285705em;
577
+ }
578
+ .svg-inline--fa.fa-lg {
579
+ vertical-align: -0.2em;
580
+ }
581
+ .svg-inline--fa.fa-xl {
582
+ vertical-align: -0.25em;
583
+ }
584
+ .svg-inline--fa.fa-2xl {
585
+ vertical-align: -0.3125em;
586
+ }
587
+ .svg-inline--fa.fa-pull-left {
588
+ margin-right: var(--fa-pull-margin, 0.3em);
589
+ width: auto;
590
+ }
591
+ .svg-inline--fa.fa-pull-right {
592
+ margin-left: var(--fa-pull-margin, 0.3em);
593
+ width: auto;
594
+ }
595
+ .svg-inline--fa.fa-li {
596
+ width: var(--fa-li-width, 2em);
597
+ top: 0.25em;
598
+ }
599
+ .svg-inline--fa.fa-fw {
600
+ width: var(--fa-fw-width, 1.25em);
601
+ }
602
+
603
+ .fa-layers svg.svg-inline--fa {
604
+ bottom: 0;
605
+ left: 0;
606
+ margin: auto;
607
+ position: absolute;
608
+ right: 0;
609
+ top: 0;
610
+ }
611
+
612
+ .fa-layers-counter, .fa-layers-text {
613
+ display: inline-block;
614
+ position: absolute;
615
+ text-align: center;
616
+ }
617
+
618
+ .fa-layers {
619
+ display: inline-block;
620
+ height: 1em;
621
+ position: relative;
622
+ text-align: center;
623
+ vertical-align: -0.125em;
624
+ width: 1em;
625
+ }
626
+ .fa-layers svg.svg-inline--fa {
627
+ transform-origin: center center;
628
+ }
629
+
630
+ .fa-layers-text {
631
+ left: 50%;
632
+ top: 50%;
633
+ transform: translate(-50%, -50%);
634
+ transform-origin: center center;
635
+ }
636
+
637
+ .fa-layers-counter {
638
+ background-color: var(--fa-counter-background-color, #ff253a);
639
+ border-radius: var(--fa-counter-border-radius, 1em);
640
+ box-sizing: border-box;
641
+ color: var(--fa-inverse, #fff);
642
+ line-height: var(--fa-counter-line-height, 1);
643
+ max-width: var(--fa-counter-max-width, 5em);
644
+ min-width: var(--fa-counter-min-width, 1.5em);
645
+ overflow: hidden;
646
+ padding: var(--fa-counter-padding, 0.25em 0.5em);
647
+ right: var(--fa-right, 0);
648
+ text-overflow: ellipsis;
649
+ top: var(--fa-top, 0);
650
+ transform: scale(var(--fa-counter-scale, 0.25));
651
+ transform-origin: top right;
652
+ }
653
+
654
+ .fa-layers-bottom-right {
655
+ bottom: var(--fa-bottom, 0);
656
+ right: var(--fa-right, 0);
657
+ top: auto;
658
+ transform: scale(var(--fa-layers-scale, 0.25));
659
+ transform-origin: bottom right;
660
+ }
661
+
662
+ .fa-layers-bottom-left {
663
+ bottom: var(--fa-bottom, 0);
664
+ left: var(--fa-left, 0);
665
+ right: auto;
666
+ top: auto;
667
+ transform: scale(var(--fa-layers-scale, 0.25));
668
+ transform-origin: bottom left;
669
+ }
670
+
671
+ .fa-layers-top-right {
672
+ top: var(--fa-top, 0);
673
+ right: var(--fa-right, 0);
674
+ transform: scale(var(--fa-layers-scale, 0.25));
675
+ transform-origin: top right;
676
+ }
677
+
678
+ .fa-layers-top-left {
679
+ left: var(--fa-left, 0);
680
+ right: auto;
681
+ top: var(--fa-top, 0);
682
+ transform: scale(var(--fa-layers-scale, 0.25));
683
+ transform-origin: top left;
684
+ }
685
+
686
+ .fa-1x {
687
+ font-size: 1em;
688
+ }
689
+
690
+ .fa-2x {
691
+ font-size: 2em;
692
+ }
693
+
694
+ .fa-3x {
695
+ font-size: 3em;
696
+ }
697
+
698
+ .fa-4x {
699
+ font-size: 4em;
700
+ }
701
+
702
+ .fa-5x {
703
+ font-size: 5em;
704
+ }
705
+
706
+ .fa-6x {
707
+ font-size: 6em;
708
+ }
709
+
710
+ .fa-7x {
711
+ font-size: 7em;
712
+ }
713
+
714
+ .fa-8x {
715
+ font-size: 8em;
716
+ }
717
+
718
+ .fa-9x {
719
+ font-size: 9em;
720
+ }
721
+
722
+ .fa-10x {
723
+ font-size: 10em;
724
+ }
725
+
726
+ .fa-2xs {
727
+ font-size: 0.625em;
728
+ line-height: 0.1em;
729
+ vertical-align: 0.225em;
730
+ }
731
+
732
+ .fa-xs {
733
+ font-size: 0.75em;
734
+ line-height: 0.0833333337em;
735
+ vertical-align: 0.125em;
736
+ }
737
+
738
+ .fa-sm {
739
+ font-size: 0.875em;
740
+ line-height: 0.0714285718em;
741
+ vertical-align: 0.0535714295em;
742
+ }
743
+
744
+ .fa-lg {
745
+ font-size: 1.25em;
746
+ line-height: 0.05em;
747
+ vertical-align: -0.075em;
748
+ }
749
+
750
+ .fa-xl {
751
+ font-size: 1.5em;
752
+ line-height: 0.0416666682em;
753
+ vertical-align: -0.125em;
754
+ }
755
+
756
+ .fa-2xl {
757
+ font-size: 2em;
758
+ line-height: 0.03125em;
759
+ vertical-align: -0.1875em;
760
+ }
761
+
762
+ .fa-fw {
763
+ text-align: center;
764
+ width: 1.25em;
765
+ }
766
+
767
+ .fa-ul {
768
+ list-style-type: none;
769
+ margin-left: var(--fa-li-margin, 2.5em);
770
+ padding-left: 0;
771
+ }
772
+ .fa-ul > li {
773
+ position: relative;
774
+ }
775
+
776
+ .fa-li {
777
+ left: calc(-1 * var(--fa-li-width, 2em));
778
+ position: absolute;
779
+ text-align: center;
780
+ width: var(--fa-li-width, 2em);
781
+ line-height: inherit;
782
+ }
783
+
784
+ .fa-border {
785
+ border-color: var(--fa-border-color, #eee);
786
+ border-radius: var(--fa-border-radius, 0.1em);
787
+ border-style: var(--fa-border-style, solid);
788
+ border-width: var(--fa-border-width, 0.08em);
789
+ padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
790
+ }
791
+
792
+ .fa-pull-left {
793
+ float: left;
794
+ margin-right: var(--fa-pull-margin, 0.3em);
795
+ }
796
+
797
+ .fa-pull-right {
798
+ float: right;
799
+ margin-left: var(--fa-pull-margin, 0.3em);
800
+ }
801
+
802
+ .fa-beat {
803
+ animation-name: fa-beat;
804
+ animation-delay: var(--fa-animation-delay, 0s);
805
+ animation-direction: var(--fa-animation-direction, normal);
806
+ animation-duration: var(--fa-animation-duration, 1s);
807
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
808
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
809
+ }
810
+
811
+ .fa-bounce {
812
+ animation-name: fa-bounce;
813
+ animation-delay: var(--fa-animation-delay, 0s);
814
+ animation-direction: var(--fa-animation-direction, normal);
815
+ animation-duration: var(--fa-animation-duration, 1s);
816
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
817
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
818
+ }
819
+
820
+ .fa-fade {
821
+ animation-name: fa-fade;
822
+ animation-delay: var(--fa-animation-delay, 0s);
823
+ animation-direction: var(--fa-animation-direction, normal);
824
+ animation-duration: var(--fa-animation-duration, 1s);
825
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
826
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
827
+ }
828
+
829
+ .fa-beat-fade {
830
+ animation-name: fa-beat-fade;
831
+ animation-delay: var(--fa-animation-delay, 0s);
832
+ animation-direction: var(--fa-animation-direction, normal);
833
+ animation-duration: var(--fa-animation-duration, 1s);
834
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
835
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
836
+ }
837
+
838
+ .fa-flip {
839
+ animation-name: fa-flip;
840
+ animation-delay: var(--fa-animation-delay, 0s);
841
+ animation-direction: var(--fa-animation-direction, normal);
842
+ animation-duration: var(--fa-animation-duration, 1s);
843
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
844
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
845
+ }
846
+
847
+ .fa-shake {
848
+ animation-name: fa-shake;
849
+ animation-delay: var(--fa-animation-delay, 0s);
850
+ animation-direction: var(--fa-animation-direction, normal);
851
+ animation-duration: var(--fa-animation-duration, 1s);
852
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
853
+ animation-timing-function: var(--fa-animation-timing, linear);
854
+ }
855
+
856
+ .fa-spin {
857
+ animation-name: fa-spin;
858
+ animation-delay: var(--fa-animation-delay, 0s);
859
+ animation-direction: var(--fa-animation-direction, normal);
860
+ animation-duration: var(--fa-animation-duration, 2s);
861
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
862
+ animation-timing-function: var(--fa-animation-timing, linear);
863
+ }
864
+
865
+ .fa-spin-reverse {
866
+ --fa-animation-direction: reverse;
867
+ }
868
+
869
+ .fa-pulse,
870
+ .fa-spin-pulse {
871
+ animation-name: fa-spin;
872
+ animation-direction: var(--fa-animation-direction, normal);
873
+ animation-duration: var(--fa-animation-duration, 1s);
874
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
875
+ animation-timing-function: var(--fa-animation-timing, steps(8));
876
+ }
877
+
878
+ @media (prefers-reduced-motion: reduce) {
879
+ .fa-beat,
880
+ .fa-bounce,
881
+ .fa-fade,
882
+ .fa-beat-fade,
883
+ .fa-flip,
884
+ .fa-pulse,
885
+ .fa-shake,
886
+ .fa-spin,
887
+ .fa-spin-pulse {
888
+ animation-delay: -1ms;
889
+ animation-duration: 1ms;
890
+ animation-iteration-count: 1;
891
+ transition-delay: 0s;
892
+ transition-duration: 0s;
893
+ }
894
+ }
895
+ @keyframes fa-beat {
896
+ 0%, 90% {
897
+ transform: scale(1);
898
+ }
899
+ 45% {
900
+ transform: scale(var(--fa-beat-scale, 1.25));
901
+ }
902
+ }
903
+ @keyframes fa-bounce {
904
+ 0% {
905
+ transform: scale(1, 1) translateY(0);
906
+ }
907
+ 10% {
908
+ transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
909
+ }
910
+ 30% {
911
+ transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
912
+ }
913
+ 50% {
914
+ transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
915
+ }
916
+ 57% {
917
+ transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
918
+ }
919
+ 64% {
920
+ transform: scale(1, 1) translateY(0);
921
+ }
922
+ 100% {
923
+ transform: scale(1, 1) translateY(0);
924
+ }
925
+ }
926
+ @keyframes fa-fade {
927
+ 50% {
928
+ opacity: var(--fa-fade-opacity, 0.4);
929
+ }
930
+ }
931
+ @keyframes fa-beat-fade {
932
+ 0%, 100% {
933
+ opacity: var(--fa-beat-fade-opacity, 0.4);
934
+ transform: scale(1);
935
+ }
936
+ 50% {
937
+ opacity: 1;
938
+ transform: scale(var(--fa-beat-fade-scale, 1.125));
939
+ }
940
+ }
941
+ @keyframes fa-flip {
942
+ 50% {
943
+ transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
944
+ }
945
+ }
946
+ @keyframes fa-shake {
947
+ 0% {
948
+ transform: rotate(-15deg);
949
+ }
950
+ 4% {
951
+ transform: rotate(15deg);
952
+ }
953
+ 8%, 24% {
954
+ transform: rotate(-18deg);
955
+ }
956
+ 12%, 28% {
957
+ transform: rotate(18deg);
958
+ }
959
+ 16% {
960
+ transform: rotate(-22deg);
961
+ }
962
+ 20% {
963
+ transform: rotate(22deg);
964
+ }
965
+ 32% {
966
+ transform: rotate(-12deg);
967
+ }
968
+ 36% {
969
+ transform: rotate(12deg);
970
+ }
971
+ 40%, 100% {
972
+ transform: rotate(0deg);
973
+ }
974
+ }
975
+ @keyframes fa-spin {
976
+ 0% {
977
+ transform: rotate(0deg);
978
+ }
979
+ 100% {
980
+ transform: rotate(360deg);
981
+ }
982
+ }
983
+ .fa-rotate-90 {
984
+ transform: rotate(90deg);
985
+ }
986
+
987
+ .fa-rotate-180 {
988
+ transform: rotate(180deg);
989
+ }
990
+
991
+ .fa-rotate-270 {
992
+ transform: rotate(270deg);
993
+ }
994
+
995
+ .fa-flip-horizontal {
996
+ transform: scale(-1, 1);
997
+ }
998
+
999
+ .fa-flip-vertical {
1000
+ transform: scale(1, -1);
1001
+ }
1002
+
1003
+ .fa-flip-both,
1004
+ .fa-flip-horizontal.fa-flip-vertical {
1005
+ transform: scale(-1, -1);
1006
+ }
1007
+
1008
+ .fa-rotate-by {
1009
+ transform: rotate(var(--fa-rotate-angle, 0));
1010
+ }
1011
+
1012
+ .fa-stack {
1013
+ display: inline-block;
1014
+ vertical-align: middle;
1015
+ height: 2em;
1016
+ position: relative;
1017
+ width: 2.5em;
1018
+ }
1019
+
1020
+ .fa-stack-1x,
1021
+ .fa-stack-2x {
1022
+ bottom: 0;
1023
+ left: 0;
1024
+ margin: auto;
1025
+ position: absolute;
1026
+ right: 0;
1027
+ top: 0;
1028
+ z-index: var(--fa-stack-z-index, auto);
1029
+ }
1030
+
1031
+ .svg-inline--fa.fa-stack-1x {
1032
+ height: 1em;
1033
+ width: 1.25em;
1034
+ }
1035
+ .svg-inline--fa.fa-stack-2x {
1036
+ height: 2em;
1037
+ width: 2.5em;
1038
+ }
1039
+
1040
+ .fa-inverse {
1041
+ color: var(--fa-inverse, #fff);
1042
+ }
1043
+
1044
+ .sr-only,
1045
+ .fa-sr-only {
1046
+ position: absolute;
1047
+ width: 1px;
1048
+ height: 1px;
1049
+ padding: 0;
1050
+ margin: -1px;
1051
+ overflow: hidden;
1052
+ clip: rect(0, 0, 0, 0);
1053
+ white-space: nowrap;
1054
+ border-width: 0;
1055
+ }
1056
+
1057
+ .sr-only-focusable:not(:focus),
1058
+ .fa-sr-only-focusable:not(:focus) {
1059
+ position: absolute;
1060
+ width: 1px;
1061
+ height: 1px;
1062
+ padding: 0;
1063
+ margin: -1px;
1064
+ overflow: hidden;
1065
+ clip: rect(0, 0, 0, 0);
1066
+ white-space: nowrap;
1067
+ border-width: 0;
1068
+ }
1069
+
1070
+ .svg-inline--fa .fa-primary {
1071
+ fill: var(--fa-primary-color, currentColor);
1072
+ opacity: var(--fa-primary-opacity, 1);
1073
+ }
1074
+
1075
+ .svg-inline--fa .fa-secondary {
1076
+ fill: var(--fa-secondary-color, currentColor);
1077
+ opacity: var(--fa-secondary-opacity, 0.4);
1078
+ }
1079
+
1080
+ .svg-inline--fa.fa-swap-opacity .fa-primary {
1081
+ opacity: var(--fa-secondary-opacity, 0.4);
1082
+ }
1083
+
1084
+ .svg-inline--fa.fa-swap-opacity .fa-secondary {
1085
+ opacity: var(--fa-primary-opacity, 1);
1086
+ }
1087
+
1088
+ .svg-inline--fa mask .fa-primary,
1089
+ .svg-inline--fa mask .fa-secondary {
1090
+ fill: black;
1091
+ }`;function W2(){const e=H2,t=U2,r=Ee.cssPrefix,n=Ee.replacementClass;let a=ok;if(r!==e||n!==t){const i=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),o=new RegExp("\\.".concat(t),"g");a=a.replace(i,".".concat(r,"-")).replace(s,"--".concat(r,"-")).replace(o,".".concat(n))}return a}let Wf=!1;function xo(){Ee.autoAddCss&&!Wf&&(rk(W2()),Wf=!0)}var uk={mixout(){return{dom:{css:W2,insertCss:xo}}},hooks(){return{beforeDOMElementCreation(){xo()},beforeI2svg(){xo()}}}};const kr=Wr||{};kr[Sr]||(kr[Sr]={});kr[Sr].styles||(kr[Sr].styles={});kr[Sr].hooks||(kr[Sr].hooks={});kr[Sr].shims||(kr[Sr].shims=[]);var fr=kr[Sr];const G2=[],X2=function(){Ge.removeEventListener("DOMContentLoaded",X2),ks=1,G2.map(e=>e())};let ks=!1;Or&&(ks=(Ge.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Ge.readyState),ks||Ge.addEventListener("DOMContentLoaded",X2));function lk(e){Or&&(ks?setTimeout(e,0):G2.push(e))}function gi(e){const{tag:t,attributes:r={},children:n=[]}=e;return typeof e=="string"?V2(e):"<".concat(t," ").concat(ak(r),">").concat(n.map(gi).join(""),"</").concat(t,">")}function Gf(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var To=function(t,r,n,a){var i=Object.keys(t),s=i.length,o=r,u,l,c;for(n===void 0?(u=1,c=t[i[0]]):(u=0,c=n);u<s;u++)l=i[u],c=o(c,t[l],l,t);return c};function ck(e){const t=[];let r=0;const n=e.length;for(;r<n;){const a=e.charCodeAt(r++);if(a>=55296&&a<=56319&&r<n){const i=e.charCodeAt(r++);(i&64512)==56320?t.push(((a&1023)<<10)+(i&1023)+65536):(t.push(a),r--)}else t.push(a)}return t}function ku(e){const t=ck(e);return t.length===1?t[0].toString(16):null}function fk(e,t){const r=e.length;let n=e.charCodeAt(t),a;return n>=55296&&n<=56319&&r>t+1&&(a=e.charCodeAt(t+1),a>=56320&&a<=57343)?(n-55296)*1024+a-56320+65536:n}function Xf(e){return Object.keys(e).reduce((t,r)=>{const n=e[r];return!!n.icon?t[n.iconName]=n.icon:t[r]=n,t},{})}function Cu(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:n=!1}=r,a=Xf(t);typeof fr.hooks.addPack=="function"&&!n?fr.hooks.addPack(e,Xf(t)):fr.styles[e]=ae(ae({},fr.styles[e]||{}),a),e==="fas"&&Cu("fa",t)}const{styles:Za,shims:dk}=fr,K2=Object.keys(zl),hk=K2.reduce((e,t)=>(e[t]=Object.keys(zl[t]),e),{});let jl=null,Q2={},J2={},Z2={},e4={},t4={};function mk(e){return~JS.indexOf(e)}function pk(e,t){const r=t.split("-"),n=r[0],a=r.slice(1).join("-");return n===e&&a!==""&&!mk(a)?a:null}const r4=()=>{const e=n=>To(Za,(a,i,s)=>(a[s]=To(i,n,{}),a),{});Q2=e((n,a,i)=>(a[3]&&(n[a[3]]=i),a[2]&&a[2].filter(o=>typeof o=="number").forEach(o=>{n[o.toString(16)]=i}),n)),J2=e((n,a,i)=>(n[i]=i,a[2]&&a[2].filter(o=>typeof o=="string").forEach(o=>{n[o]=i}),n)),t4=e((n,a,i)=>{const s=a[2];return n[i]=i,s.forEach(o=>{n[o]=i}),n});const t="far"in Za||Ee.autoFetchSvg,r=To(dk,(n,a)=>{const i=a[0];let s=a[1];const o=a[2];return s==="far"&&!t&&(s="fas"),typeof i=="string"&&(n.names[i]={prefix:s,iconName:o}),typeof i=="number"&&(n.unicodes[i.toString(16)]={prefix:s,iconName:o}),n},{names:{},unicodes:{}});Z2=r.names,e4=r.unicodes,jl=b0(Ee.styleDefault,{family:Ee.familyDefault})};tk(e=>{jl=b0(e.styleDefault,{family:Ee.familyDefault})});r4();function $l(e,t){return(Q2[e]||{})[t]}function gk(e,t){return(J2[e]||{})[t]}function cn(e,t){return(t4[e]||{})[t]}function n4(e){return Z2[e]||{prefix:null,iconName:null}}function bk(e){const t=e4[e],r=$l("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function Gr(){return jl}const a4=()=>({prefix:null,iconName:null,rest:[]});function yk(e){let t=xt;const r=K2.reduce((n,a)=>(n[a]="".concat(Ee.cssPrefix,"-").concat(a),n),{});return B2.forEach(n=>{(e.includes(r[n])||e.some(a=>hk[n].includes(a)))&&(t=n)}),t}function b0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:r=xt}=t,n=WS[r][e];if(r===p0&&!e)return"fad";const a=Vf[r][e]||Vf[r][n],i=e in fr.styles?e:null;return a||i||null}function Ek(e){let t=[],r=null;return e.forEach(n=>{const a=pk(Ee.cssPrefix,n);a?r=a:n&&t.push(n)}),{iconName:r,rest:t}}function Kf(e){return e.sort().filter((t,r,n)=>n.indexOf(t)===r)}function y0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:r=!1}=t;let n=null;const a=xu.concat(MS),i=Kf(e.filter(f=>a.includes(f))),s=Kf(e.filter(f=>!xu.includes(f))),o=i.filter(f=>(n=f,!F2.includes(f))),[u=null]=o,l=yk(i),c=ae(ae({},Ek(s)),{},{prefix:b0(u,{family:l})});return ae(ae(ae({},c),wk({values:e,family:l,styles:Za,config:Ee,canonical:c,givenPrefix:n})),xk(r,n,c))}function xk(e,t,r){let{prefix:n,iconName:a}=r;if(e||!n||!a)return{prefix:n,iconName:a};const i=t==="fa"?n4(a):{},s=cn(n,a);return a=i.iconName||s||a,n=i.prefix||n,n==="far"&&!Za.far&&Za.fas&&!Ee.autoFetchSvg&&(n="fas"),{prefix:n,iconName:a}}const Tk=B2.filter(e=>e!==xt||e!==p0),vk=Object.keys(Eu).filter(e=>e!==xt).map(e=>Object.keys(Eu[e])).flat();function wk(e){const{values:t,family:r,canonical:n,givenPrefix:a="",styles:i={},config:s={}}=e,o=r===p0,u=t.includes("fa-duotone")||t.includes("fad"),l=s.familyDefault==="duotone",c=n.prefix==="fad"||n.prefix==="fa-duotone";if(!o&&(u||l||c)&&(n.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(n.prefix="fab"),!n.prefix&&Tk.includes(r)&&(Object.keys(i).find(p=>vk.includes(p))||s.autoFetchSvg)){const p=CS.get(r).defaultShortPrefixId;n.prefix=p,n.iconName=cn(n.prefix,n.iconName)||n.iconName}return(n.prefix==="fa"||a==="fa")&&(n.prefix=Gr()||"fas"),n}class Ak{constructor(){this.definitions={}}add(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];const a=r.reduce(this._pullDefinitions,{});Object.keys(a).forEach(i=>{this.definitions[i]=ae(ae({},this.definitions[i]||{}),a[i]),Cu(i,a[i]);const s=zl[xt][i];s&&Cu(s,a[i]),r4()})}reset(){this.definitions={}}_pullDefinitions(t,r){const n=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(n).map(a=>{const{prefix:i,iconName:s,icon:o}=n[a],u=o[2];t[i]||(t[i]={}),u.length>0&&u.forEach(l=>{typeof l=="string"&&(t[i][l]=o)}),t[i][s]=o}),t}}let Qf=[],Pn={};const zn={},Sk=Object.keys(zn);function kk(e,t){let{mixoutsTo:r}=t;return Qf=e,Pn={},Object.keys(zn).forEach(n=>{Sk.indexOf(n)===-1&&delete zn[n]}),Qf.forEach(n=>{const a=n.mixout?n.mixout():{};if(Object.keys(a).forEach(i=>{typeof a[i]=="function"&&(r[i]=a[i]),typeof a[i]=="object"&&Object.keys(a[i]).forEach(s=>{r[i]||(r[i]={}),r[i][s]=a[i][s]})}),n.hooks){const i=n.hooks();Object.keys(i).forEach(s=>{Pn[s]||(Pn[s]=[]),Pn[s].push(i[s])})}n.provides&&n.provides(zn)}),r}function _u(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];return(Pn[e]||[]).forEach(s=>{t=s.apply(null,[t,...n])}),t}function En(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];(Pn[e]||[]).forEach(i=>{i.apply(null,r)})}function Xr(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return zn[e]?zn[e].apply(null,t):void 0}function Iu(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const r=e.prefix||Gr();if(t)return t=cn(r,t)||t,Gf(i4.definitions,r,t)||Gf(fr.styles,r,t)}const i4=new Ak,Ck=()=>{Ee.autoReplaceSvg=!1,Ee.observeMutations=!1,En("noAuto")},_k={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Or?(En("beforeI2svg",e),Xr("pseudoElements2svg",e),Xr("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;Ee.autoReplaceSvg===!1&&(Ee.autoReplaceSvg=!0),Ee.observeMutations=!0,lk(()=>{Nk({autoReplaceSvgRoot:t}),En("watch",e)})}},Ik={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:cn(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],r=b0(e[0]);return{prefix:r,iconName:cn(r,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(Ee.cssPrefix,"-"))>-1||e.match(GS))){const t=y0(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||Gr(),iconName:cn(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=Gr();return{prefix:t,iconName:cn(t,e)||e}}}},Ut={noAuto:Ck,config:Ee,dom:_k,parse:Ik,library:i4,findIconDefinition:Iu,toHtml:gi},Nk=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=Ge}=e;(Object.keys(fr.styles).length>0||Ee.autoFetchSvg)&&Or&&Ee.autoReplaceSvg&&Ut.dom.i2svg({node:t})};function E0(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(r=>gi(r))}}),Object.defineProperty(e,"node",{get:function(){if(!Or)return;const r=Ge.createElement("div");return r.innerHTML=e.html,r.children}}),e}function Ok(e){let{children:t,main:r,mask:n,attributes:a,styles:i,transform:s}=e;if(Ul(s)&&r.found&&!n.found){const{width:o,height:u}=r,l={x:o/u/2,y:.5};a.style=g0(ae(ae({},i),{},{"transform-origin":"".concat(l.x+s.x/16,"em ").concat(l.y+s.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}function Rk(e){let{prefix:t,iconName:r,children:n,attributes:a,symbol:i}=e;const s=i===!0?"".concat(t,"-").concat(Ee.cssPrefix,"-").concat(r):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ae(ae({},a),{},{id:s}),children:n}]}]}function ql(e){const{icons:{main:t,mask:r},prefix:n,iconName:a,transform:i,symbol:s,title:o,maskId:u,titleId:l,extra:c,watchable:f=!1}=e,{width:p,height:h}=r.found?r:t,b=RS.includes(n),y=[Ee.replacementClass,a?"".concat(Ee.cssPrefix,"-").concat(a):""].filter(F=>c.classes.indexOf(F)===-1).filter(F=>F!==""||!!F).concat(c.classes).join(" ");let x={children:[],attributes:ae(ae({},c.attributes),{},{"data-prefix":n,"data-icon":a,class:y,role:c.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(h)})};const T=b&&!~c.classes.indexOf("fa-fw")?{width:"".concat(p/h*16*.0625,"em")}:{};f&&(x.attributes[yn]=""),o&&(x.children.push({tag:"title",attributes:{id:x.attributes["aria-labelledby"]||"title-".concat(l||Ja())},children:[o]}),delete x.attributes.title);const w=ae(ae({},x),{},{prefix:n,iconName:a,main:t,mask:r,maskId:u,transform:i,symbol:s,styles:ae(ae({},T),c.styles)}),{children:N,attributes:M}=r.found&&t.found?Xr("generateAbstractMask",w)||{children:[],attributes:{}}:Xr("generateAbstractIcon",w)||{children:[],attributes:{}};return w.children=N,w.attributes=M,s?Rk(w):Ok(w)}function Jf(e){const{content:t,width:r,height:n,transform:a,title:i,extra:s,watchable:o=!1}=e,u=ae(ae(ae({},s.attributes),i?{title:i}:{}),{},{class:s.classes.join(" ")});o&&(u[yn]="");const l=ae({},s.styles);Ul(a)&&(l.transform=sk({transform:a,startCentered:!0,width:r,height:n}),l["-webkit-transform"]=l.transform);const c=g0(l);c.length>0&&(u.style=c);const f=[];return f.push({tag:"span",attributes:u,children:[t]}),i&&f.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),f}function Dk(e){const{content:t,title:r,extra:n}=e,a=ae(ae(ae({},n.attributes),r?{title:r}:{}),{},{class:n.classes.join(" ")}),i=g0(n.styles);i.length>0&&(a.style=i);const s=[];return s.push({tag:"span",attributes:a,children:[t]}),r&&s.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),s}const{styles:vo}=fr;function Nu(e){const t=e[0],r=e[1],[n]=e.slice(4);let a=null;return Array.isArray(n)?a={tag:"g",attributes:{class:"".concat(Ee.cssPrefix,"-").concat(Eo.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ee.cssPrefix,"-").concat(Eo.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(Ee.cssPrefix,"-").concat(Eo.PRIMARY),fill:"currentColor",d:n[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:n}},{found:!0,width:t,height:r,icon:a}}const Lk={found:!1,width:512,height:512};function Mk(e,t){!j2&&!Ee.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Ou(e,t){let r=t;return t==="fa"&&Ee.styleDefault!==null&&(t=Gr()),new Promise((n,a)=>{if(r==="fa"){const i=n4(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&vo[t]&&vo[t][e]){const i=vo[t][e];return n(Nu(i))}Mk(e,t),n(ae(ae({},Lk),{},{icon:Ee.showMissingIcons&&e?Xr("missingIconAbstract")||{}:{}}))})}const Zf=()=>{},Ru=Ee.measurePerformance&&Vi&&Vi.mark&&Vi.measure?Vi:{mark:Zf,measure:Zf},Ia='FA "6.7.2"',Pk=e=>(Ru.mark("".concat(Ia," ").concat(e," begins")),()=>s4(e)),s4=e=>{Ru.mark("".concat(Ia," ").concat(e," ends")),Ru.measure("".concat(Ia," ").concat(e),"".concat(Ia," ").concat(e," begins"),"".concat(Ia," ").concat(e," ends"))};var Yl={begin:Pk,end:s4};const cs=()=>{};function ed(e){return typeof(e.getAttribute?e.getAttribute(yn):null)=="string"}function Fk(e){const t=e.getAttribute?e.getAttribute(Fl):null,r=e.getAttribute?e.getAttribute(Bl):null;return t&&r}function Bk(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Ee.replacementClass)}function zk(){return Ee.autoReplaceSvg===!0?fs.replace:fs[Ee.autoReplaceSvg]||fs.replace}function Hk(e){return Ge.createElementNS("http://www.w3.org/2000/svg",e)}function Uk(e){return Ge.createElement(e)}function o4(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:r=e.tag==="svg"?Hk:Uk}=t;if(typeof e=="string")return Ge.createTextNode(e);const n=r(e.tag);return Object.keys(e.attributes||[]).forEach(function(i){n.setAttribute(i,e.attributes[i])}),(e.children||[]).forEach(function(i){n.appendChild(o4(i,{ceFn:r}))}),n}function jk(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const fs={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(r=>{t.parentNode.insertBefore(o4(r),t)}),t.getAttribute(yn)===null&&Ee.keepOriginalSource){let r=Ge.createComment(jk(t));t.parentNode.replaceChild(r,t)}else t.remove()},nest:function(e){const t=e[0],r=e[1];if(~Hl(t).indexOf(Ee.replacementClass))return fs.replace(e);const n=new RegExp("".concat(Ee.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){const i=r[0].attributes.class.split(" ").reduce((s,o)=>(o===Ee.replacementClass||o.match(n)?s.toSvg.push(o):s.toNode.push(o),s),{toNode:[],toSvg:[]});r[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}const a=r.map(i=>gi(i)).join(`
1092
+ `);t.setAttribute(yn,""),t.innerHTML=a}};function td(e){e()}function u4(e,t){const r=typeof t=="function"?t:cs;if(e.length===0)r();else{let n=td;Ee.mutateApproach===YS&&(n=Wr.requestAnimationFrame||td),n(()=>{const a=zk(),i=Yl.begin("mutate");e.map(a),i(),r()})}}let Vl=!1;function l4(){Vl=!0}function Du(){Vl=!1}let Cs=null;function rd(e){if(!jf||!Ee.observeMutations)return;const{treeCallback:t=cs,nodeCallback:r=cs,pseudoElementsCallback:n=cs,observeMutationsRoot:a=Ge}=e;Cs=new jf(i=>{if(Vl)return;const s=Gr();ca(i).forEach(o=>{if(o.type==="childList"&&o.addedNodes.length>0&&!ed(o.addedNodes[0])&&(Ee.searchPseudoElements&&n(o.target),t(o.target)),o.type==="attributes"&&o.target.parentNode&&Ee.searchPseudoElements&&n(o.target.parentNode),o.type==="attributes"&&ed(o.target)&&~QS.indexOf(o.attributeName))if(o.attributeName==="class"&&Fk(o.target)){const{prefix:u,iconName:l}=y0(Hl(o.target));o.target.setAttribute(Fl,u||s),l&&o.target.setAttribute(Bl,l)}else Bk(o.target)&&r(o.target)})}),Or&&Cs.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function $k(){Cs&&Cs.disconnect()}function qk(e){const t=e.getAttribute("style");let r=[];return t&&(r=t.split(";").reduce((n,a)=>{const i=a.split(":"),s=i[0],o=i.slice(1);return s&&o.length>0&&(n[s]=o.join(":").trim()),n},{})),r}function Yk(e){const t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"";let a=y0(Hl(e));return a.prefix||(a.prefix=Gr()),t&&r&&(a.prefix=t,a.iconName=r),a.iconName&&a.prefix||(a.prefix&&n.length>0&&(a.iconName=gk(a.prefix,e.innerText)||$l(a.prefix,ku(e.innerText))),!a.iconName&&Ee.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Vk(e){const t=ca(e.attributes).reduce((a,i)=>(a.name!=="class"&&a.name!=="style"&&(a[i.name]=i.value),a),{}),r=e.getAttribute("title"),n=e.getAttribute("data-fa-title-id");return Ee.autoA11y&&(r?t["aria-labelledby"]="".concat(Ee.replacementClass,"-title-").concat(n||Ja()):(t["aria-hidden"]="true",t.focusable="false")),t}function Wk(){return{iconName:null,title:null,titleId:null,prefix:null,transform:cr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function nd(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:r,prefix:n,rest:a}=Yk(e),i=Vk(e),s=_u("parseNodeAttributes",{},e);let o=t.styleParser?qk(e):[];return ae({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:n,transform:cr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:o,attributes:i}},s)}const{styles:Gk}=fr;function c4(e){const t=Ee.autoReplaceSvg==="nest"?nd(e,{styleParser:!1}):nd(e);return~t.extra.classes.indexOf(q2)?Xr("generateLayersText",e,t):Xr("generateSvgReplacementMutation",e,t)}function Xk(){return[...IS,...xu]}function ad(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Or)return Promise.resolve();const r=Ge.documentElement.classList,n=c=>r.add("".concat(Yf,"-").concat(c)),a=c=>r.remove("".concat(Yf,"-").concat(c)),i=Ee.autoFetchSvg?Xk():F2.concat(Object.keys(Gk));i.includes("fa")||i.push("fa");const s=[".".concat(q2,":not([").concat(yn,"])")].concat(i.map(c=>".".concat(c,":not([").concat(yn,"])"))).join(", ");if(s.length===0)return Promise.resolve();let o=[];try{o=ca(e.querySelectorAll(s))}catch(c){}if(o.length>0)n("pending"),a("complete");else return Promise.resolve();const u=Yl.begin("onTree"),l=o.reduce((c,f)=>{try{const p=c4(f);p&&c.push(p)}catch(p){j2||p.name==="MissingIcon"&&console.error(p)}return c},[]);return new Promise((c,f)=>{Promise.all(l).then(p=>{u4(p,()=>{n("active"),n("complete"),a("pending"),typeof t=="function"&&t(),u(),c()})}).catch(p=>{u(),f(p)})})}function Kk(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;c4(e).then(r=>{r&&u4([r],t)})}function Qk(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=(t||{}).icon?t:Iu(t||{});let{mask:a}=r;return a&&(a=(a||{}).icon?a:Iu(a||{})),e(n,ae(ae({},r),{},{mask:a}))}}const Jk=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=cr,symbol:n=!1,mask:a=null,maskId:i=null,title:s=null,titleId:o=null,classes:u=[],attributes:l={},styles:c={}}=t;if(!e)return;const{prefix:f,iconName:p,icon:h}=e;return E0(ae({type:"icon"},e),()=>(En("beforeDOMElementCreation",{iconDefinition:e,params:t}),Ee.autoA11y&&(s?l["aria-labelledby"]="".concat(Ee.replacementClass,"-title-").concat(o||Ja()):(l["aria-hidden"]="true",l.focusable="false")),ql({icons:{main:Nu(h),mask:a?Nu(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:f,iconName:p,transform:ae(ae({},cr),r),symbol:n,title:s,maskId:i,titleId:o,extra:{attributes:l,styles:c,classes:u}})))};var Zk={mixout(){return{icon:Qk(Jk)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=ad,e.nodeCallback=Kk,e}}},provides(e){e.i2svg=function(t){const{node:r=Ge,callback:n=()=>{}}=t;return ad(r,n)},e.generateSvgReplacementMutation=function(t,r){const{iconName:n,title:a,titleId:i,prefix:s,transform:o,symbol:u,mask:l,maskId:c,extra:f}=r;return new Promise((p,h)=>{Promise.all([Ou(n,s),l.iconName?Ou(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(b=>{let[y,x]=b;p([t,ql({icons:{main:y,mask:x},prefix:s,iconName:n,transform:o,symbol:u,maskId:c,title:a,titleId:i,extra:f,watchable:!0})])}).catch(h)})},e.generateAbstractIcon=function(t){let{children:r,attributes:n,main:a,transform:i,styles:s}=t;const o=g0(s);o.length>0&&(n.style=o);let u;return Ul(i)&&(u=Xr("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),r.push(u||a.icon),{children:r,attributes:n}}}},eC={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:r=[]}=t;return E0({type:"layer"},()=>{En("beforeDOMElementCreation",{assembler:e,params:t});let n=[];return e(a=>{Array.isArray(a)?a.map(i=>{n=n.concat(i.abstract)}):n=n.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(Ee.cssPrefix,"-layers"),...r].join(" ")},children:n}]})}}}},tC={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:r=null,classes:n=[],attributes:a={},styles:i={}}=t;return E0({type:"counter",content:e},()=>(En("beforeDOMElementCreation",{content:e,params:t}),Dk({content:e.toString(),title:r,extra:{attributes:a,styles:i,classes:["".concat(Ee.cssPrefix,"-layers-counter"),...n]}})))}}}},rC={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=cr,title:n=null,classes:a=[],attributes:i={},styles:s={}}=t;return E0({type:"text",content:e},()=>(En("beforeDOMElementCreation",{content:e,params:t}),Jf({content:e,transform:ae(ae({},cr),r),title:n,extra:{attributes:i,styles:s,classes:["".concat(Ee.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(t,r){const{title:n,transform:a,extra:i}=r;let s=null,o=null;if(M2){const u=parseInt(getComputedStyle(t).fontSize,10),l=t.getBoundingClientRect();s=l.width/u,o=l.height/u}return Ee.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,Jf({content:t.innerHTML,width:s,height:o,transform:a,title:n,extra:i,watchable:!0})])}}};const nC=new RegExp('"',"ug"),id=[1105920,1112319],sd=ae(ae(ae(ae({},{FontAwesome:{normal:"fas",400:"fas"}}),kS),$S),PS),Lu=Object.keys(sd).reduce((e,t)=>(e[t.toLowerCase()]=sd[t],e),{}),aC=Object.keys(Lu).reduce((e,t)=>{const r=Lu[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function iC(e){const t=e.replace(nC,""),r=fk(t,0),n=r>=id[0]&&r<=id[1],a=t.length===2?t[0]===t[1]:!1;return{value:ku(a?t[0]:t),isSecondary:n||a}}function sC(e,t){const r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),a=isNaN(n)?"normal":n;return(Lu[r]||{})[a]||aC[r]}function od(e,t){const r="".concat(qS).concat(t.replace(":","-"));return new Promise((n,a)=>{if(e.getAttribute(r)!==null)return n();const s=ca(e.children).filter(p=>p.getAttribute(vu)===t)[0],o=Wr.getComputedStyle(e,t),u=o.getPropertyValue("font-family"),l=u.match(XS),c=o.getPropertyValue("font-weight"),f=o.getPropertyValue("content");if(s&&!l)return e.removeChild(s),n();if(l&&f!=="none"&&f!==""){const p=o.getPropertyValue("content");let h=sC(u,c);const{value:b,isSecondary:y}=iC(p),x=l[0].startsWith("FontAwesome");let T=$l(h,b),w=T;if(x){const N=bk(b);N.iconName&&N.prefix&&(T=N.iconName,h=N.prefix)}if(T&&!y&&(!s||s.getAttribute(Fl)!==h||s.getAttribute(Bl)!==w)){e.setAttribute(r,w),s&&e.removeChild(s);const N=Wk(),{extra:M}=N;M.attributes[vu]=t,Ou(T,h).then(F=>{const L=ql(ae(ae({},N),{},{icons:{main:F,mask:a4()},prefix:h,iconName:w,extra:M,watchable:!0})),z=Ge.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(z,e.firstChild):e.appendChild(z),z.outerHTML=L.map(B=>gi(B)).join(`
1093
+ `),e.removeAttribute(r),n()}).catch(a)}else n()}else n()})}function oC(e){return Promise.all([od(e,"::before"),od(e,"::after")])}function uC(e){return e.parentNode!==document.head&&!~VS.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(vu)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function ud(e){if(Or)return new Promise((t,r)=>{const n=ca(e.querySelectorAll("*")).filter(uC).map(oC),a=Yl.begin("searchPseudoElements");l4(),Promise.all(n).then(()=>{a(),Du(),t()}).catch(()=>{a(),Du(),r()})})}var lC={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=ud,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:r=Ge}=t;Ee.searchPseudoElements&&ud(r)}}};let ld=!1;var cC={mixout(){return{dom:{unwatch(){l4(),ld=!0}}}},hooks(){return{bootstrap(){rd(_u("mutationObserverCallbacks",{}))},noAuto(){$k()},watch(e){const{observeMutationsRoot:t}=e;ld?Du():rd(_u("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const cd=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((r,n)=>{const a=n.toLowerCase().split("-"),i=a[0];let s=a.slice(1).join("-");if(i&&s==="h")return r.flipX=!0,r;if(i&&s==="v")return r.flipY=!0,r;if(s=parseFloat(s),isNaN(s))return r;switch(i){case"grow":r.size=r.size+s;break;case"shrink":r.size=r.size-s;break;case"left":r.x=r.x-s;break;case"right":r.x=r.x+s;break;case"up":r.y=r.y-s;break;case"down":r.y=r.y+s;break;case"rotate":r.rotate=r.rotate+s;break}return r},t)};var fC={mixout(){return{parse:{transform:e=>cd(e)}}},hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-transform");return r&&(e.transform=cd(r)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:r,transform:n,containerWidth:a,iconWidth:i}=t;const s={transform:"translate(".concat(a/2," 256)")},o="translate(".concat(n.x*32,", ").concat(n.y*32,") "),u="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),c={transform:"".concat(o," ").concat(u," ").concat(l)},f={transform:"translate(".concat(i/2*-1," -256)")},p={outer:s,inner:c,path:f};return{tag:"g",attributes:ae({},p.outer),children:[{tag:"g",attributes:ae({},p.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:ae(ae({},r.icon.attributes),p.path)}]}]}}}};const wo={x:0,y:0,width:"100%",height:"100%"};function fd(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function dC(e){return e.tag==="g"?e.children:[e]}var hC={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-mask"),n=r?y0(r.split(" ").map(a=>a.trim())):a4();return n.prefix||(n.prefix=Gr()),e.mask=n,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:r,attributes:n,main:a,mask:i,maskId:s,transform:o}=t;const{width:u,icon:l}=a,{width:c,icon:f}=i,p=ik({transform:o,containerWidth:c,iconWidth:u}),h={tag:"rect",attributes:ae(ae({},wo),{},{fill:"white"})},b=l.children?{children:l.children.map(fd)}:{},y={tag:"g",attributes:ae({},p.inner),children:[fd(ae({tag:l.tag,attributes:ae(ae({},l.attributes),p.path)},b))]},x={tag:"g",attributes:ae({},p.outer),children:[y]},T="mask-".concat(s||Ja()),w="clip-".concat(s||Ja()),N={tag:"mask",attributes:ae(ae({},wo),{},{id:T,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,x]},M={tag:"defs",children:[{tag:"clipPath",attributes:{id:w},children:dC(f)},N]};return r.push(M,{tag:"rect",attributes:ae({fill:"currentColor","clip-path":"url(#".concat(w,")"),mask:"url(#".concat(T,")")},wo)}),{children:r,attributes:n}}}},mC={provides(e){let t=!1;Wr.matchMedia&&(t=Wr.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const r=[],n={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:ae(ae({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const i=ae(ae({},a),{},{attributeName:"opacity"}),s={tag:"circle",attributes:ae(ae({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||s.children.push({tag:"animate",attributes:ae(ae({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:ae(ae({},i),{},{values:"1;0;1;1;0;1;"})}),r.push(s),r.push({tag:"path",attributes:ae(ae({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:ae(ae({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||r.push({tag:"path",attributes:ae(ae({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:ae(ae({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},pC={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-symbol"),n=r===null?!1:r===""?!0:r;return e.symbol=n,e}}}},gC=[uk,Zk,eC,tC,rC,lC,cC,fC,hC,mC,pC];kk(gC,{mixoutsTo:Ut});Ut.noAuto;Ut.config;Ut.library;Ut.dom;const Mu=Ut.parse;Ut.findIconDefinition;Ut.toHtml;const bC=Ut.icon;Ut.layer;Ut.text;Ut.counter;var f4={exports:{}},yC="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",EC=yC,xC=EC;function d4(){}function h4(){}h4.resetWarningCache=d4;var TC=function(){function e(n,a,i,s,o,u){if(u!==xC){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:h4,resetWarningCache:d4};return r.PropTypes=r,r};f4.exports=TC();var vC=f4.exports;const Re=Ys(vC);function Pu(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function wC(e){if(Array.isArray(e))return e}function AC(e){if(Array.isArray(e))return Pu(e)}function zr(e,t,r){return(t=RC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function SC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function kC(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,s,o=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(u=(n=i.call(r)).done)&&(o.push(n.value),o.length!==t);u=!0);}catch(c){l=!0,a=c}finally{try{if(!u&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(l)throw a}}return o}}function CC(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1094
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _C(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1095
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function sr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?dd(Object(r),!0).forEach(function(n){zr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dd(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function IC(e,t){if(e==null)return{};var r,n,a=NC(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function NC(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function hd(e,t){return wC(e)||kC(e,t)||m4(e,t)||CC()}function Fu(e){return AC(e)||SC(e)||m4(e)||_C()}function OC(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function RC(e){var t=OC(e,"string");return typeof t=="symbol"?t:t+""}function _s(e){"@babel/helpers - typeof";return _s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_s(e)}function m4(e,t){if(e){if(typeof e=="string")return Pu(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Pu(e,t):void 0}}var DC="7.0.0",Bu;try{var LC=require("@fortawesome/fontawesome-svg-core/package.json");Bu=LC.version}catch(e){Bu=typeof process!="undefined"&&process.env.FA_VERSION||"7.0.0"}function MC(e){var t=e.beat,r=e.fade,n=e.beatFade,a=e.bounce,i=e.shake,s=e.flash,o=e.spin,u=e.spinPulse,l=e.spinReverse,c=e.pulse,f=e.fixedWidth,p=e.inverse,h=e.border,b=e.listItem,y=e.flip,x=e.size,T=e.rotation,w=e.pull,N=e.swapOpacity,M=e.rotateBy,F=e.widthAuto,L=PC(Bu,DC),z=zr(zr(zr(zr(zr(zr({"fa-beat":t,"fa-fade":r,"fa-beat-fade":n,"fa-bounce":a,"fa-shake":i,"fa-flash":s,"fa-spin":o,"fa-spin-reverse":l,"fa-spin-pulse":u,"fa-pulse":c,"fa-fw":f,"fa-inverse":p,"fa-border":h,"fa-li":b,"fa-flip":y===!0,"fa-flip-horizontal":y==="horizontal"||y==="both","fa-flip-vertical":y==="vertical"||y==="both"},"fa-".concat(x),typeof x!="undefined"&&x!==null),"fa-rotate-".concat(T),typeof T!="undefined"&&T!==null&&T!==0),"fa-pull-".concat(w),typeof w!="undefined"&&w!==null),"fa-swap-opacity",N),"fa-rotate-by",L&&M),"fa-width-auto",L&&F);return Object.keys(z).map(function(B){return z[B]?B:null}).filter(function(B){return B})}function PC(e,t){for(var r=e.split("-"),n=hd(r,2),a=n[0],i=n[1],s=t.split("-"),o=hd(s,2),u=o[0],l=o[1],c=a.split("."),f=u.split("."),p=0;p<Math.max(c.length,f.length);p++){var h=c[p]||"0",b=f[p]||"0",y=parseInt(h,10),x=parseInt(b,10);if(y!==x)return y>x}for(var T=0;T<Math.max(c.length,f.length);T++){var w=c[T]||"0",N=f[T]||"0";if(w!==N&&w.length!==N.length)return w.length<N.length}return!(i&&!l)}function FC(e){return e=e-0,e===e}function p4(e){return FC(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,r){return r?r.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var BC=["style"];function zC(e){return e.charAt(0).toUpperCase()+e.slice(1)}function HC(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var n=r.indexOf(":"),a=p4(r.slice(0,n)),i=r.slice(n+1).trim();return a.startsWith("webkit")?t[zC(a)]=i:t[a]=i,t},{})}function g4(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var n=(t.children||[]).map(function(u){return g4(e,u)}),a=Object.keys(t.attributes||{}).reduce(function(u,l){var c=t.attributes[l];switch(l){case"class":u.attrs.className=c,delete t.attributes.class;break;case"style":u.attrs.style=HC(c);break;default:l.indexOf("aria-")===0||l.indexOf("data-")===0?u.attrs[l.toLowerCase()]=c:u.attrs[p4(l)]=c}return u},{attrs:{}}),i=r.style,s=i===void 0?{}:i,o=IC(r,BC);return a.attrs.style=sr(sr({},a.attrs.style),s),e.apply(void 0,[t.tag,sr(sr({},a.attrs),o)].concat(Fu(n)))}var b4=!1;try{b4=!0}catch(e){}function UC(){if(!b4&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function md(e){if(e&&_s(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Mu.icon)return Mu.icon(e);if(e===null)return null;if(e&&_s(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function Ao(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?zr({},e,t):{}}var pd={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,rotateBy:!1,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1,widthAuto:!1},Wl=Q.forwardRef(function(e,t){var r=sr(sr({},pd),e),n=r.icon,a=r.mask,i=r.symbol,s=r.className,o=r.title,u=r.titleId,l=r.maskId,c=md(n),f=Ao("classes",[].concat(Fu(MC(r)),Fu((s||"").split(" ")))),p=Ao("transform",typeof r.transform=="string"?Mu.transform(r.transform):r.transform),h=Ao("mask",md(a)),b=bC(c,sr(sr(sr(sr({},f),p),h),{},{symbol:i,title:o,titleId:u,maskId:l}));if(!b)return UC("Could not find icon",c),null;var y=b.abstract,x={ref:t};return Object.keys(r).forEach(function(T){pd.hasOwnProperty(T)||(x[T]=r[T])}),jC(y[0],x)});Wl.displayName="FontAwesomeIcon";Wl.propTypes={beat:Re.bool,border:Re.bool,beatFade:Re.bool,bounce:Re.bool,className:Re.string,fade:Re.bool,flash:Re.bool,mask:Re.oneOfType([Re.object,Re.array,Re.string]),maskId:Re.string,fixedWidth:Re.bool,inverse:Re.bool,flip:Re.oneOf([!0,!1,"horizontal","vertical","both"]),icon:Re.oneOfType([Re.object,Re.array,Re.string]),listItem:Re.bool,pull:Re.oneOf(["right","left"]),pulse:Re.bool,rotation:Re.oneOf([0,90,180,270]),rotateBy:Re.bool,shake:Re.bool,size:Re.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Re.bool,spinPulse:Re.bool,spinReverse:Re.bool,symbol:Re.oneOfType([Re.bool,Re.string]),title:Re.string,titleId:Re.string,transform:Re.oneOfType([Re.string,Re.object]),swapOpacity:Re.bool,widthAuto:Re.bool};var jC=g4.bind(null,Q.createElement);/*!
1096
+ * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
1097
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
1098
+ * Copyright 2024 Fonticons, Inc.
1099
+ */const $C={prefix:"fas",iconName:"file-lines",icon:[384,512,[128441,128462,61686,"file-alt","file-text"],"f15c","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM112 256l160 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-160 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64l160 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-160 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64l160 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-160 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},qC={prefix:"fas",iconName:"file-word",icon:[384,512,[],"f1c2","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM111 257.1l26.8 89.2 31.6-90.3c3.4-9.6 12.5-16.1 22.7-16.1s19.3 6.4 22.7 16.1l31.6 90.3L273 257.1c3.8-12.7 17.2-19.9 29.9-16.1s19.9 17.2 16.1 29.9l-48 160c-3 10-12 16.9-22.4 17.1s-19.8-6.2-23.2-16.1L192 336.6l-33.3 95.3c-3.4 9.8-12.8 16.3-23.2 16.1s-19.5-7.1-22.4-17.1l-48-160c-3.8-12.7 3.4-26.1 16.1-29.9s26.1 3.4 29.9 16.1z"]},YC={prefix:"fas",iconName:"file-powerpoint",icon:[384,512,[],"f1c4","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM136 240l68 0c42 0 76 34 76 76s-34 76-76 76l-44 0 0 32c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-56 0-104c0-13.3 10.7-24 24-24zm68 104c15.5 0 28-12.5 28-28s-12.5-28-28-28l-44 0 0 56 44 0z"]},VC={prefix:"fas",iconName:"file-zipper",icon:[384,512,["file-archive"],"f1c6","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM96 48c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16zm-6.3 71.8c3.7-14 16.4-23.8 30.9-23.8l14.8 0c14.5 0 27.2 9.7 30.9 23.8l23.5 88.2c1.4 5.4 2.1 10.9 2.1 16.4c0 35.2-28.8 63.7-64 63.7s-64-28.5-64-63.7c0-5.5 .7-11.1 2.1-16.4l23.5-88.2zM112 336c-8.8 0-16 7.2-16 16s7.2 16 16 16l32 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0z"]},WC=VC,GC={prefix:"fas",iconName:"file-excel",icon:[384,512,[],"f1c3","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM155.7 250.2L192 302.1l36.3-51.9c7.6-10.9 22.6-13.5 33.4-5.9s13.5 22.6 5.9 33.4L221.3 344l46.4 66.2c7.6 10.9 5 25.8-5.9 33.4s-25.8 5-33.4-5.9L192 385.8l-36.3 51.9c-7.6 10.9-22.6 13.5-33.4 5.9s-13.5-22.6-5.9-33.4L162.7 344l-46.4-66.2c-7.6-10.9-5-25.8 5.9-33.4s25.8-5 33.4 5.9z"]},XC={prefix:"fas",iconName:"file-audio",icon:[384,512,[],"f1c7","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zm2 226.3c37.1 22.4 62 63.1 62 109.7s-24.9 87.3-62 109.7c-7.6 4.6-17.4 2.1-22-5.4s-2.1-17.4 5.4-22C269.4 401.5 288 370.9 288 336s-18.6-65.5-46.5-82.3c-7.6-4.6-10-14.4-5.4-22s14.4-10 22-5.4zm-91.9 30.9c6 2.5 9.9 8.3 9.9 14.8l0 128c0 6.5-3.9 12.3-9.9 14.8s-12.9 1.1-17.4-3.5L113.4 376 80 376c-8.8 0-16-7.2-16-16l0-48c0-8.8 7.2-16 16-16l33.4 0 35.3-35.3c4.6-4.6 11.5-5.9 17.4-3.5zm51 34.9c6.6-5.9 16.7-5.3 22.6 1.3C249.8 304.6 256 319.6 256 336s-6.2 31.4-16.3 42.7c-5.9 6.6-16 7.1-22.6 1.3s-7.1-16-1.3-22.6c5.1-5.7 8.1-13.1 8.1-21.3s-3.1-15.7-8.1-21.3c-5.9-6.6-5.3-16.7 1.3-22.6z"]},KC={prefix:"fas",iconName:"file-image",icon:[384,512,[128443],"f1c5","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM64 256a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm152 32c5.3 0 10.2 2.6 13.2 6.9l88 128c3.4 4.9 3.7 11.3 1 16.5s-8.2 8.6-14.2 8.6l-88 0-40 0-48 0-48 0c-5.8 0-11.1-3.1-13.9-8.1s-2.8-11.2 .2-16.1l48-80c2.9-4.8 8.1-7.8 13.7-7.8s10.8 2.9 13.7 7.8l12.8 21.4 48.3-70.2c3-4.3 7.9-6.9 13.2-6.9z"]},QC={prefix:"fas",iconName:"file-code",icon:[384,512,[],"f1c9","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM153 289l-31 31 31 31c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L71 337c-9.4-9.4-9.4-24.6 0-33.9l48-48c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9zM265 255l48 48c9.4 9.4 9.4 24.6 0 33.9l-48 48c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l31-31-31-31c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0z"]},JC={prefix:"fas",iconName:"file-video",icon:[384,512,[],"f1c8","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM64 288c0-17.7 14.3-32 32-32l96 0c17.7 0 32 14.3 32 32l0 96c0 17.7-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32l0-96zM300.9 397.9L256 368l0-64 44.9-29.9c2-1.3 4.4-2.1 6.8-2.1c6.8 0 12.3 5.5 12.3 12.3l0 103.4c0 6.8-5.5 12.3-12.3 12.3c-2.4 0-4.8-.7-6.8-2.1z"]},ZC={prefix:"fas",iconName:"file-pdf",icon:[512,512,[],"f1c1","M0 64C0 28.7 28.7 0 64 0L224 0l0 128c0 17.7 14.3 32 32 32l128 0 0 144-208 0c-35.3 0-64 28.7-64 64l0 144-48 0c-35.3 0-64-28.7-64-64L0 64zm384 64l-128 0L256 0 384 128zM176 352l32 0c30.9 0 56 25.1 56 56s-25.1 56-56 56l-16 0 0 32c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48 0-80c0-8.8 7.2-16 16-16zm32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24l-16 0 0 48 16 0zm96-80l32 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-32 0c-8.8 0-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zm32 128c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16l-16 0 0 96 16 0zm80-112c0-8.8 7.2-16 16-16l48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 32 32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-64 0-64z"]},e_={prefix:"fas",iconName:"file",icon:[384,512,[128196,128459,61462],"f15b","M0 64C0 28.7 28.7 0 64 0L224 0l0 128c0 17.7 14.3 32 32 32l128 0 0 288c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zm384 64l-128 0L256 0 384 128z"]},t_=ue.div`
1100
+ display: flex;
1101
+ align-items: center;
1102
+ background-color: #f8f9fa;
1103
+ border-radius: 6px;
1104
+ border: 1px solid #e9ecef;
1105
+ transition: all 0.3s ease;
1106
+ padding: 8px 12px;
1107
+
1108
+ @media (max-width: 500px) {
1109
+ flex-direction: column;
1110
+ text-align: center;
1111
+ }
1112
+ `,r_=ue.div`
1113
+ display: flex;
1114
+ align-items: center;
1115
+ justify-content: center;
1116
+ width: 48px;
1117
+ height: 48px;
1118
+ min-width: 48px;
1119
+ color: ${e=>e.$color};
1120
+ background-color: #e8f4fc;
1121
+ border-radius: 8px;
1122
+ margin-right: 12px;
1123
+
1124
+ @media (max-width: 500px) {
1125
+ margin-right: 0;
1126
+ margin-bottom: 10px;
1127
+ }
1128
+ `,n_=ue.div`
1129
+ flex: 1;
1130
+ `,a_=ue.div`
1131
+ font-weight: bold;
1132
+ font-size: 12px;
1133
+ margin-bottom: 4px;
1134
+ color: #2d3436;
1135
+ max-width: 200px;
1136
+ white-space: nowrap;
1137
+ overflow: hidden;
1138
+ text-overflow: ellipsis;
1139
+ `,i_=ue.div`
1140
+ display: flex;
1141
+ font-size: 14px;
1142
+ color: #636e72;
1143
+
1144
+ @media (max-width: 500px) {
1145
+ justify-content: center;
1146
+ }
1147
+ `,s_=ue.span`
1148
+ margin-right: 12px;
1149
+ `,o_=ue.span`
1150
+ background-color: rgba(0, 0, 0, 0.08);
1151
+ padding: 2px 6px;
1152
+ border-radius: 4px;
1153
+ font-size: 12px;
1154
+ font-weight: 500;
1155
+ `,u_=({fileInfo:e})=>{const{name:t,size:r,type:n="doc"}=e,a=()=>{switch(n.toLowerCase()){case"pdf":return ZC;case"image":case"img":case"jpg":case"jpeg":case"png":case"gif":return KC;case"excel":case"xlsx":case"xls":case"csv":return GC;case"powerpoint":case"ppt":case"pptx":return YC;case"word":case"doc":case"docx":return qC;case"archive":case"zip":case"rar":case"tar":case"7z":return WC;case"code":case"js":case"jsx":case"ts":case"tsx":case"html":case"css":case"json":case"py":case"java":case"cpp":return QC;case"video":case"mp4":case"avi":case"mov":case"webm":return JC;case"audio":case"mp3":case"wav":case"ogg":return XC;case"md":case"markdown":case"txt":case"text":return $C;default:return e_}},i=()=>{switch(n.toLowerCase()){case"pdf":return"#e74c3c";case"image":case"img":case"jpg":case"jpeg":case"png":case"gif":return"#3498db";case"excel":case"xlsx":case"xls":case"csv":return"#27ae60";case"powerpoint":case"ppt":case"pptx":return"#e67e22";case"word":case"doc":case"docx":return"#2980b9";case"archive":case"zip":case"rar":case"tar":case"7z":return"#8e44ad";case"code":case"js":case"jsx":case"ts":case"tsx":case"html":case"css":case"json":case"py":case"java":case"cpp":return"#f1c40f";case"video":case"mp4":case"avi":case"mov":case"webm":return"#e84393";case"audio":case"mp3":case"wav":case"ogg":return"#00cec9";case"md":case"markdown":case"txt":case"text":return"#636e72";default:return"#7f8c8d"}},s=o=>o<1024?o+" B":o<1048576?(o/1024).toFixed(1)+" KB":(o/1048576).toFixed(1)+" MB";return C.jsxs(t_,{children:[C.jsx(r_,{$color:i(),children:C.jsx(Wl,{icon:a(),style:{fontSize:"24px"}})}),C.jsxs(n_,{children:[C.jsx(a_,{children:t}),C.jsxs(i_,{children:[C.jsx(s_,{children:s(r)}),C.jsx(o_,{children:n.toUpperCase()})]})]})]})},y4=Q.createContext({activeKey:[]}),E4=y4.Provider,x4=()=>Q.useContext(y4);function T4(e){return new Promise((t,r)=>{const n=document.createElement("script");n.src=e,n.onload=()=>t(),n.onerror=()=>r(),document.body.appendChild(n)})}const bi=()=>new Promise((e,t)=>{if(typeof window!="undefined"&&window.echarts){e();return}T4("https://cdnjs.cloudflare.com/ajax/libs/echarts/5.4.2/echarts.min.js").then(()=>e()).catch(n=>{console.error("echarts加载失败:",n),t(n)})}),x0={common:{loading:"加载中...",confirm:"确定",cancel:"取消",submit:"提交",retry:"重试",copy:"复制",copied:"已复制",placeholderSelect:"请选择"},humanVerify:{requiredAll:"请填写所有必填项",submitted:"已提交",pending:"待提交",placeholder:{input:"请输入{title}",select:"请选择"},file:{supportAll:"支持所有文件格式",supportFormats:"支持 {formats} 格式",uploadButton:"选择文件",uploading:"上传中",upload:"上传",defaultFileName:"文件",maxSizeError:"文件大小不能超过 {size}",uploadFailed:"文件上传失败",tokenFailed:"获取上传凭证失败",uploaderNotConfigured:"上传功能未配置",uploadMethodNotConfigured:"文件上传方法未配置",getFileIdFailed:"获取文件ID失败"}},webSearch:{title:"搜索结果",foundPages:"已搜索到{count}个网页"},source:{title:"参考资料",answerFrom:"回答来源:",imageFrom:"图片来源:"},rich:{stepLabel:"步骤{index}:",emptyContent:"暂无内容"},markdown:{copyCode:"复制代码",copied:"已复制!",copy:"复制",copiedShort:"已复制",deepThinking:"深度思考",chartLoading:"图表加载中...",tableLoading:"表格加载中...",tableLoadFailed:"表格数据加载失败,请检查数据格式",chartLoadFailed:"图表数据加载失败,请检查数据格式",mermaidLoadFailed:"Mermaid 库加载失败",mermaidNotLoaded:"Mermaid 未正确加载",mermaidRenderFailed:"Mermaid 图表渲染失败"},message:{like:"点赞",dislike:"点踩",regenerate:"重新生成",copy:"复制",copied:"已复制"}};function v4(e,t){return e.replace(/\{(\w+)\}/g,(r,n)=>{const a=t[n];return a==null?`{${n}}`:String(a)})}function w4(e,t){if(!(!e||typeof e!="object"))return t.split(".").reduce((r,n)=>{if(r&&typeof r=="object"&&n in r)return r[n]},e)}function A4(e,t){if(!t)return e;const r=ne({},e);for(const n of Object.keys(t)){const a=t[n],i=r[n];gd(i)&&gd(a)?r[n]=A4(i,a):a!==void 0&&(r[n]=a)}return r}function gd(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}let Gl=x0,S4="zh-CN";function k4(e,t){Gl=e,t&&(S4=t)}function l_(){return Gl}function c_(){return S4}function Ln(e,t){const r=w4(Gl,e);return typeof r!="string"?e:t?v4(r,t):r}const Xl=Q.createContext({locale:x0,localeName:"zh-CN"}),f_=({locale:e,localeName:t="zh-CN",overrides:r,children:n})=>{const a=e!=null?e:x0,i=Q.useMemo(()=>r?A4(a,r):a,[a,r]);Q.useEffect(()=>{k4(i,t)},[i,t]);const s=Q.useMemo(()=>({locale:i,localeName:t}),[i,t]);return C.jsx(Xl.Provider,{value:s,children:n})};function pt(){const{locale:e,localeName:t}=Q.useContext(Xl);return{t:Q.useCallback((n,a)=>{const i=w4(e,n);return typeof i!="string"?n:a?v4(i,a):i},[e]),locale:e,localeName:t}}const d_=({options:e})=>{const{t}=pt(),r=Q.useRef(null),n=Q.useRef(null),[a,i]=Q.useState(!1),{activeKey:s}=x4();return Q.useEffect(()=>{Be(exports,null,function*(){try{yield bi(),i(!0)}catch(u){console.error("echarts加载失败:",u),i(!1)}})},[]),Q.useEffect(()=>{if(!a||!r.current||!e)return;const o=window.echarts;if(!o){console.error("echarts未正确加载");return}n.current&&n.current.dispose();const u=o.init(r.current);n.current=u,u.setOption(e);const l=()=>{u.resize()};return window.addEventListener("resize",l),()=>{window.removeEventListener("resize",l),u.dispose(),n.current=null}},[e,a]),Q.useEffect(()=>{if(n.current&&s&&a){const o=setTimeout(()=>{var u;(u=n.current)==null||u.resize()},50);return()=>clearTimeout(o)}},[s,a]),a?C.jsx("div",{ref:r,style:{width:"100%",height:"400px",marginTop:"20px",marginBottom:"20px"}}):C.jsx("div",{style:{width:"100%",height:"400px",marginTop:"20px",marginBottom:"20px",display:"flex",alignItems:"center",justifyContent:"center",border:"1px dashed #d9d9d9",borderRadius:"6px",color:"#666"},children:t("markdown.chartLoading")})},Kl=e=>{try{const{column:t,data:r}=e;if(!Array.isArray(t)||!Array.isArray(r))return"表格数据格式错误";if(t.length===0||r.length===0)return"暂无数据";let n="";return n+="| 序号 | "+t.join(" | ")+` |
1156
+ `,n+="| :---: | "+t.map(()=>"---").join(" | ")+` |
1157
+ `,r.forEach((a,i)=>{const s=t.map(o=>{const u=a[o];return u!==void 0?String(u):"-"});n+="| "+(i+1)+" | "+s.join(" | ")+` |
1158
+ `}),n}catch(t){return console.error("转换表格数据失败:",t),"表格数据转换失败"}},h_=e=>{try{const t=JSON.parse(e);return t&&typeof t=="object"&&Array.isArray(t.column)&&Array.isArray(t.data)}catch(t){return!1}},m_=(e,t)=>{if(!e)return null;if(t==="ant_table"&&h_(e))try{const r=JSON.parse(e);return Kl(r)}catch(r){return console.error("解析表格数据失败:",r),"```json\n"+e+"\n```"}if(t==="echart")return"```echarts\n"+e+"\n```";if(t==="code")return"```sql\n"+e+"\n```";try{JSON.parse(e);const r=JSON.parse(e);return"```json\n"+JSON.stringify(r,null,2)+"\n```"}catch(r){console.log("不是JSON")}return e},p_=ue.div`
1159
+ padding: 10px;
1160
+ text-align: center;
1161
+ background: #f9f9f9;
1162
+ border-radius: 4px;
1163
+ color: #666;
1164
+ min-height: 100px;
1165
+ display: flex;
1166
+ align-items: center;
1167
+ justify-content: center;
1168
+
1169
+ span {
1170
+ font-size: 14px;
1171
+ line-height: 1.5;
1172
+ }
1173
+
1174
+ &:hover {
1175
+ background: #f5f5f5;
1176
+ }
1177
+ `,Gi=({text:e="图表加载中..."})=>C.jsx(p_,{children:C.jsx("span",{children:e})}),g_=ue.div`
1178
+ margin: 10px 0;
1179
+ padding: 10px;
1180
+ border-radius: 4px;
1181
+ text-align: center;
1182
+ background: #ffeeee;
1183
+ color: rgb(200, 0, 0);
1184
+ border: 1px solid #ffcccc;
1185
+
1186
+ span {
1187
+ font-size: 14px;
1188
+ line-height: 1.5;
1189
+ }
1190
+
1191
+ &:hover {
1192
+ background: #f5f5f5;
1193
+ }
1194
+ `,So=({text:e=""})=>C.jsx(g_,{children:C.jsx("span",{children:e})}),C4=()=>new Promise((e,t)=>{if(typeof window!="undefined"&&window.mermaid){e();return}T4("https://cdnjs.cloudflare.com/ajax/libs/mermaid/10.9.0/mermaid.min.js").then(()=>{window.mermaid.initialize({startOnLoad:!1,theme:"default",securityLevel:"loose",fontFamily:"inherit"}),e()}).catch(n=>{console.error("mermaid加载失败:",n),t(n)})});let b_=0;const y_=()=>`mermaid-${Date.now()}-${b_++}`,E_=e=>{if(!e||e.trim().length<10)return!1;const t=e.trim();return["graph","flowchart","sequenceDiagram","classDiagram","stateDiagram","erDiagram","journey","gantt","pie","quadrantChart","requirementDiagram","gitGraph","mindmap","timeline"].some(i=>t.startsWith(i)||t.match(new RegExp(`^${i}\\s`,"m")))?/(\w+\s*-->|\w+\s*---|\w+\s*-\.->|\w+\s*==>|\w+\s*\[.*?\]|\w+\s*\(.*?\)|participant\s+\w+|\w+\s*->>)/m.test(t):!1},x_=({code:e})=>{const{t}=pt(),r=Q.useRef(null),[n,a]=Q.useState(""),[i,s]=Q.useState(""),[o,u]=Q.useState(!0),[l,c]=Q.useState(!1),[f,p]=Q.useState(!0),h=Q.useRef(""),b=Q.useRef(null),y=Q.useRef(null);return Q.useEffect(()=>(Be(exports,null,function*(){try{yield C4(),c(!0)}catch(T){console.error("mermaid加载失败:",T),s(t("markdown.mermaidLoadFailed")),u(!1)}}),()=>{b.current&&clearTimeout(b.current),y.current&&clearTimeout(y.current)}),[]),Q.useEffect(()=>{if(!e||!l)return;const x=window.mermaid;if(!x){s(t("markdown.mermaidNotLoaded")),u(!1);return}const T=e!==h.current;if(h.current=e,T&&(p(!0),y.current&&clearTimeout(y.current),y.current=setTimeout(()=>{p(!1)},500)),!E_(e)){u(!0),s("");return}return b.current&&clearTimeout(b.current),b.current=setTimeout(()=>Be(exports,null,function*(){u(!0),s("");try{const w=y_(),{svg:N}=yield x.render(w,e.trim());a(N),s("");const M=document.getElementById(w);M&&M.remove()}catch(w){document.querySelectorAll('[id^="dmermaid-"]').forEach(M=>M.remove()),f?console.log("Mermaid 流式输出中,暂不显示错误"):(console.error("Mermaid 渲染错误:",w),s((w==null?void 0:w.message)||t("markdown.mermaidRenderFailed")))}finally{u(!1)}}),300),()=>{b.current&&clearTimeout(b.current)}},[e,l,f]),o?C.jsx("div",{style:{width:"100%",minHeight:"100px",padding:"20px",display:"flex",alignItems:"center",justifyContent:"center",border:"1px dashed #d9d9d9",borderRadius:"6px",color:"#666",backgroundColor:"#fafafa",marginTop:"10px",marginBottom:"10px"},children:t("markdown.chartLoading")}):i&&!f?C.jsxs("div",{style:{width:"100%",padding:"20px",border:"1px solid #ffccc7",borderRadius:"6px",color:"#cf1322",backgroundColor:"#fff2f0",marginTop:"10px",marginBottom:"10px"},children:[C.jsx("div",{style:{fontWeight:"bold",marginBottom:"8px"},children:t("markdown.mermaidRenderFailed")}),C.jsx("div",{style:{fontSize:"12px",color:"#666",wordBreak:"break-word",overflowWrap:"break-word",whiteSpace:"pre-wrap"},children:i})]}):i&&f?C.jsx("div",{style:{width:"100%",minHeight:"100px",padding:"20px",display:"flex",alignItems:"center",justifyContent:"center",border:"1px dashed #d9d9d9",borderRadius:"6px",color:"#666",backgroundColor:"#fafafa",marginTop:"10px",marginBottom:"10px"},children:t("markdown.chartLoading")}):C.jsx("div",{ref:r,style:{width:"100%",overflow:"auto",marginTop:"10px",marginBottom:"10px",padding:"10px",backgroundColor:"#fff",borderRadius:"6px",border:"1px solid #e8e8e8"},dangerouslySetInnerHTML:{__html:n}})},Qt=({content:e,waitingMessage:t=""})=>{const{t:r}=pt(),n=Q.useMemo(()=>({remarkPlugins:[xE,CT,pS],rehypePlugins:[nv,dS],components:{img:c=>{var f=c,{node:u}=f,l=Si(f,["node"]);return C.jsx(Te.Image,{style:{maxWidth:"200px",maxHeight:"150px",objectFit:"contain"},src:l.src,alt:l.alt,preview:{zIndex:1100}})},code:p=>{var h=p,{node:u,inline:l,className:c}=h,f=Si(h,["node","inline","className"]);var w,N,M,F,L;if(l||!c&&!((w=u==null?void 0:u.properties)!=null&&w.className))return C.jsx("code",{style:{backgroundColor:"rgba(175, 184, 193, 0.2)",padding:"0.2em 0.4em",borderRadius:"3px",fontSize:"85%",fontFamily:'Consolas, Monaco, "Andale Mono", monospace'},children:f.children});const y=(M=/language-(\w+)/.exec(((N=u==null?void 0:u.properties)==null?void 0:N.className)||c||""))==null?void 0:M[0],x=((L=(F=u==null?void 0:u.position)==null?void 0:F.start)==null?void 0:L.line)===2?"language-file":null,T=y||x;if(T==="language-file"){const z=String(f.children).replace(/\n$/,""),B=o(z);return C.jsx(u_,{fileInfo:B})}if(T==="language-ant_table")try{const z=String(f==null?void 0:f.children).replace(/\n$/,""),B=JSON.parse(z),U=Kl(B);return C.jsx(Qt,{content:U})}catch(z){return a(String(f==null?void 0:f.children))?(console.error("ant_table数据解析错误:",z),C.jsx(So,{text:r("markdown.tableLoadFailed")})):C.jsx(Gi,{text:r("markdown.tableLoading")})}if(T==="language-echarts")try{const z=Array.isArray(f.children)?f.children.join(""):f.children.toString();if(!a(z))return C.jsx(Gi,{});const B=JSON.parse(z);let U;try{return typeof(B==null?void 0:B.option)=="string"?U=JSON.parse(B==null?void 0:B.option):U=B==null?void 0:B.option,!U||Object.keys(U).length===0?C.jsx(Gi,{}):C.jsx("div",{style:{minWidth:"300px"},children:C.jsx(d_,{options:U})})}catch(D){return console.error("图表配置解析错误:",D),C.jsx(So,{text:r("markdown.chartLoadFailed")})}}catch(z){return a(String(f.children))?(console.error("图表数据解析错误:",z),C.jsx(So,{text:r("markdown.chartLoadFailed")})):C.jsx(Gi,{})}if(T==="language-mermaid"){const z=String(f.children).replace(/\n$/,"");return C.jsx(x_,{code:z})}return C.jsx(uv,{children:f.children})},p:u=>{var c,f,p;const{node:l}=u||{};if(((c=l==null?void 0:l.children[0])==null?void 0:c.tagName)==="img"){const h=l.children[0],b=Array.isArray(u==null?void 0:u.children)||typeof((f=u==null?void 0:u.children)==null?void 0:f.slice)=="function";return C.jsxs(C.Fragment,{children:[C.jsx(Te.Image,{style:{maxWidth:"200px",maxHeight:"150px",objectFit:"contain"},src:h.properties.src,className:"max-w-full h-auto align-middle border-none rounded-lg shadow-md hover:shadow-lg transition-shadow duration-300 ease-in-out mt-2 mb-2",alt:h.properties.alt,preview:{zIndex:1100}}),b&&C.jsx("p",{children:(p=u==null?void 0:u.children)==null?void 0:p.slice(1)})]})}return C.jsx("p",{children:u==null?void 0:u.children})},a:({children:u,href:l})=>C.jsx("a",{href:l,target:"_blank",children:u})}}),[r]),a=u=>{try{const l=u==null?void 0:u.trim()[0],c=u==null?void 0:u.trim()[(u==null?void 0:u.trim().length)-1];return l==="{"&&c==="}"||l==="["&&c==="]"}catch(l){return!1}},i=u=>{const l=r("markdown.deepThinking");return u==null?void 0:u.replace(/<think>([\s\S]*?)<\/think>/g,`<details open><summary>${l}</summary><pre class="think">$1</pre></details>
1195
+
1196
+ `)},s=u=>{if(!u)return`<span><span class="prompt-message">${t}</span><span class="prompt-loading-cursor">...</span></span>`;const l=`${u==null?void 0:u.replace(new RegExp("\\\\\\[.*?\\\\\\]","gims"),c=>c.split(/[\r\n]/g)[0].trim()==="\\["?"$$"+c.slice(2,-2)+"$$":"$"+c.slice(2,-2)+"$").replace(new RegExp("\\\\\\(.*?\\\\\\)","gims"),c=>"$"+c.slice(2,-2)+"$")}`;return i(l)},o=u=>{const l=u.split(`
1197
+ `),c={name:"",size:"",type:"unknown"};return l.forEach(f=>{const[p,h]=f.split(":").map(b=>b.trim());p&&h&&(p.toLowerCase()==="名称"&&(c.name=h),p.toLowerCase()==="大小"&&(c.size=h),p.toLowerCase()==="类型"&&(c.type=h))}),c};return C.jsx(gS,{children:C.jsx(b9,at(ne({},n),{children:`${s(e)}`}))})},T_=ue.div`
1198
+ /* 样式隔离 - 确保内部样式不受外部影响 */
1199
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
1200
+ font-size: 14px;
1201
+ line-height: 1.6;
1202
+ color: #333;
1203
+
1204
+ /* 确保内部元素正常显示 */
1205
+ * {
1206
+ box-sizing: border-box;
1207
+ }
1208
+
1209
+ /* Markdown内容样式 */
1210
+ p {
1211
+ margin: 0 0 8px 0;
1212
+ &:last-child {
1213
+ margin-bottom: 0;
1214
+ }
1215
+ }
1216
+
1217
+ ul, ol {
1218
+ margin: 8px 0;
1219
+ padding-left: 20px;
1220
+ }
1221
+
1222
+ li {
1223
+ margin: 4px 0;
1224
+ }
1225
+
1226
+ code {
1227
+ background: rgba(0, 0, 0, 0.05);
1228
+ padding: 2px 6px;
1229
+ border-radius: 4px;
1230
+ font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
1231
+ font-size: 13px;
1232
+ }
1233
+
1234
+ pre {
1235
+ background: #f6f8fa;
1236
+ padding: 12px;
1237
+ border-radius: 6px;
1238
+ overflow-x: auto;
1239
+
1240
+ code {
1241
+ background: transparent;
1242
+ padding: 0;
1243
+ }
1244
+ }
1245
+
1246
+ blockquote {
1247
+ margin: 8px 0;
1248
+ padding: 8px 16px;
1249
+ border-left: 4px solid #ddd;
1250
+ background: #f9f9f9;
1251
+ color: #666;
1252
+ }
1253
+
1254
+ table {
1255
+ border-collapse: collapse;
1256
+ width: 100%;
1257
+ margin: 8px 0;
1258
+
1259
+ th, td {
1260
+ border: 1px solid #ddd;
1261
+ padding: 8px 12px;
1262
+ text-align: left;
1263
+ }
1264
+
1265
+ th {
1266
+ background: #f6f8fa;
1267
+ font-weight: 600;
1268
+ }
1269
+
1270
+ tr:nth-child(even) {
1271
+ background: #f9f9f9;
1272
+ }
1273
+ }
1274
+
1275
+ img {
1276
+ max-width: 100%;
1277
+ height: auto;
1278
+ border-radius: 4px;
1279
+ }
1280
+
1281
+ a {
1282
+ color: #1890ff;
1283
+ text-decoration: none;
1284
+
1285
+ &:hover {
1286
+ text-decoration: underline;
1287
+ }
1288
+ }
1289
+
1290
+ h1, h2, h3, h4, h5, h6 {
1291
+ margin: 16px 0 8px 0;
1292
+ font-weight: 600;
1293
+ line-height: 1.4;
1294
+
1295
+ &:first-child {
1296
+ margin-top: 0;
1297
+ }
1298
+ }
1299
+
1300
+ h1 { font-size: 24px; }
1301
+ h2 { font-size: 20px; }
1302
+ h3 { font-size: 18px; }
1303
+ h4 { font-size: 16px; }
1304
+ h5 { font-size: 14px; }
1305
+ h6 { font-size: 14px; color: #666; }
1306
+
1307
+ hr {
1308
+ border: none;
1309
+ border-top: 1px solid #ddd;
1310
+ margin: 16px 0;
1311
+ }
1312
+
1313
+ /* 深度思考样式 */
1314
+ details {
1315
+ margin: 8px 0;
1316
+ padding: 8px 12px;
1317
+ background: #f6f8fa;
1318
+ border-radius: 6px;
1319
+
1320
+ summary {
1321
+ cursor: pointer;
1322
+ font-weight: 500;
1323
+ color: #666;
1324
+ }
1325
+
1326
+ pre.think {
1327
+ margin: 8px 0 0 0;
1328
+ padding: 8px;
1329
+ background: #fff;
1330
+ border-radius: 4px;
1331
+ white-space: pre-wrap;
1332
+ font-size: 13px;
1333
+ color: #666;
1334
+ }
1335
+ }
1336
+ `,v_=({content:e,status:t="Success",className:r,style:n})=>(Q.useEffect(()=>{e!=null&&e.includes("```echarts")&&bi().catch(console.error)},[e]),C.jsx(T_,{className:`appflow-sdk-markdown ${r||""}`,style:n,children:C.jsx(Qt,{content:e,status:t})})),w_=ue.div`
1337
+ white-space: normal;
1338
+ li {
1339
+ p {
1340
+ display: block !important;
1341
+ }
1342
+ }
1343
+ `,_4=({content:e,status:t="Success",role:r="bot",className:n,style:a,children:i,waitingMessage:s})=>C.jsxs("div",{className:n,style:a,children:[C.jsx(w_,{$role:r,children:C.jsx(Qt,{content:e,status:t,waitingMessage:s})}),i]}),A_=ue.div`
1344
+ white-space: normal;
1345
+ li {
1346
+ p {
1347
+ display: block !important;
1348
+ }
1349
+ }
1350
+ `,S_=ue.div`
1351
+ display: flex;
1352
+ align-items: center;
1353
+ gap: 8px;
1354
+ `,k_=ue.span`
1355
+ color: ${e=>e.$success?"#52c41a":"#1890ff"};
1356
+ font-weight: bold;
1357
+ `,C_=ue.span`
1358
+ color: #666;
1359
+ font-weight: 500;
1360
+ `,__=ue.span`
1361
+ color: #333;
1362
+ `,bd=ue.div`
1363
+ padding: 8px 0;
1364
+ `,I4=({content:e,messageType:t="markdown",status:r="Success",role:n="bot",className:a,style:i,children:s,waitingMessage:o})=>{const{t:u}=pt(),[l,c]=Q.useState([]);Q.useEffect(()=>{if(t==="rich")try{const h=JSON.parse(e);if(Array.isArray(h)){const b=h.filter(y=>(y==null?void 0:y.messageType)==="step"&&(y==null?void 0:y.content)).map(y=>{try{const x=JSON.parse(y==null?void 0:y.content);return x==null?void 0:x.id}catch(x){return null}}).filter(Boolean);b.length>0&&c(b)}}catch(h){console.error("解析rich类型消息失败",h)}},[e,t]);const f=(h,b)=>b==="rich"?p(b,h):h||""?C.jsx(bd,{children:C.jsx(Qt,{content:m_(h,b),waitingMessage:o})}):C.jsx(bd,{children:u("rich.emptyContent")}),p=(h,b)=>{if(h==="markdown"&&b)return C.jsx(Qt,{content:b,status:r,waitingMessage:o});if(h==="rich")try{const y=JSON.parse(b);return!y||!Array.isArray(y)?null:y==null?void 0:y.map((x,T)=>{var N;const w=x==null?void 0:x.messageType;if(w==="markdown"&&(x!=null&&x.content))return C.jsx(Qt,{content:x==null?void 0:x.content,status:r,waitingMessage:o},`markdown-${T}`);if(w==="ant_table"&&(x!=null&&x.content))try{const M=JSON.parse(x==null?void 0:x.content),F=Kl(M);return C.jsx(Qt,{content:F,status:r,waitingMessage:o},`table-${T}`)}catch(M){return null}if(w==="code"&&(x!=null&&x.content)){const M="```sql\n"+(x==null?void 0:x.content)+"\n```";return C.jsx(Qt,{content:M,status:r,waitingMessage:o},`code-${T}`)}if(w==="echart"){const M="```echarts\n"+(x==null?void 0:x.content)+"\n```";return C.jsx(Qt,{content:M,status:r,waitingMessage:o},`echart-${T}`)}if(w==="step")try{const M=JSON.parse(x==null?void 0:x.content),F=[{key:M==null?void 0:M.id,label:C.jsxs(S_,{children:[C.jsx(k_,{$success:r==="Success",children:r==="Success"?"✓":"⟳"}),C.jsx(C_,{children:u("rich.stepLabel",{index:T+1})}),C.jsx(__,{children:M==null?void 0:M.title})]}),children:f(M==null?void 0:M.detail,M==null?void 0:M.messageType),style:{marginBottom:"8px",backgroundColor:"white",borderRadius:"8px",border:"1px solid #e8e8e8"}}];return C.jsx(Te.Collapse,{activeKey:l,size:"small",ghost:!1,items:F,expandIconPosition:"end",style:{backgroundColor:"transparent",border:"none"},onChange:L=>{c(L)}},`step-${T}`)}catch(M){return null}if(w==="error"){const M=`<span style="color:red">${(N=x==null?void 0:x.content)!=null?N:""}</span>`;return C.jsx(Qt,{content:M,status:r,waitingMessage:o},`error-${T}`)}return null})}catch(y){return console.error("Error rendering message:",y),null}return null};return C.jsx(E4,{value:{activeKey:l},children:C.jsxs("div",{className:a,style:i,children:[C.jsx(A_,{$role:n,children:p(t,e)}),s]})})};var I_=typeof global=="object"&&global&&global.Object===Object&&global,N_=typeof self=="object"&&self&&self.Object===Object&&self,T0=I_||N_||Function("return this")(),Qn=T0.Symbol,N4=Object.prototype,O_=N4.hasOwnProperty,R_=N4.toString,Aa=Qn?Qn.toStringTag:void 0;function D_(e){var t=O_.call(e,Aa),r=e[Aa];try{e[Aa]=void 0;var n=!0}catch(i){}var a=R_.call(e);return n&&(t?e[Aa]=r:delete e[Aa]),a}var L_=Object.prototype,M_=L_.toString;function P_(e){return M_.call(e)}var F_="[object Null]",B_="[object Undefined]",yd=Qn?Qn.toStringTag:void 0;function O4(e){return e==null?e===void 0?B_:F_:yd&&yd in Object(e)?D_(e):P_(e)}function R4(e){return e!=null&&typeof e=="object"}var z_=Array.isArray;function D4(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var H_="[object AsyncFunction]",U_="[object Function]",j_="[object GeneratorFunction]",$_="[object Proxy]";function q_(e){if(!D4(e))return!1;var t=O4(e);return t==U_||t==j_||t==H_||t==$_}var ko=T0["__core-js_shared__"],Ed=function(){var e=/[^.]+$/.exec(ko&&ko.keys&&ko.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Y_(e){return!!Ed&&Ed in e}var V_=Function.prototype,W_=V_.toString;function G_(e){if(e!=null){try{return W_.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var X_=/[\\^$.*+?()[\]{}|]/g,K_=/^\[object .+?Constructor\]$/,Q_=Function.prototype,J_=Object.prototype,Z_=Q_.toString,eI=J_.hasOwnProperty,tI=RegExp("^"+Z_.call(eI).replace(X_,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function rI(e){if(!D4(e)||Y_(e))return!1;var t=q_(e)?tI:K_;return t.test(G_(e))}function nI(e,t){return e==null?void 0:e[t]}function Ql(e,t){var r=nI(e,t);return rI(r)?r:void 0}function aI(){}function iI(e,t,r,n){for(var a=e.length,i=r+-1;++i<a;)if(t(e[i],i,e))return i;return-1}function sI(e){return e!==e}function oI(e,t,r){for(var n=r-1,a=e.length;++n<a;)if(e[n]===t)return n;return-1}function uI(e,t,r){return t===t?oI(e,t,r):iI(e,sI,r)}function lI(e,t){var r=e==null?0:e.length;return!!r&&uI(e,t,0)>-1}function cI(e,t){return e===t||e!==e&&t!==t}var fI="[object Arguments]";function xd(e){return R4(e)&&O4(e)==fI}var L4=Object.prototype,dI=L4.hasOwnProperty,hI=L4.propertyIsEnumerable,mI=xd(function(){return arguments}())?xd:function(e){return R4(e)&&dI.call(e,"callee")&&!hI.call(e,"callee")},ei=Ql(Object,"create");function pI(){this.__data__=ei?ei(null):{},this.size=0}function gI(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var bI="__lodash_hash_undefined__",yI=Object.prototype,EI=yI.hasOwnProperty;function xI(e){var t=this.__data__;if(ei){var r=t[e];return r===bI?void 0:r}return EI.call(t,e)?t[e]:void 0}var TI=Object.prototype,vI=TI.hasOwnProperty;function wI(e){var t=this.__data__;return ei?t[e]!==void 0:vI.call(t,e)}var AI="__lodash_hash_undefined__";function SI(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ei&&t===void 0?AI:t,this}function xn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}xn.prototype.clear=pI;xn.prototype.delete=gI;xn.prototype.get=xI;xn.prototype.has=wI;xn.prototype.set=SI;function kI(){this.__data__=[],this.size=0}function v0(e,t){for(var r=e.length;r--;)if(cI(e[r][0],t))return r;return-1}var CI=Array.prototype,_I=CI.splice;function II(e){var t=this.__data__,r=v0(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():_I.call(t,r,1),--this.size,!0}function NI(e){var t=this.__data__,r=v0(t,e);return r<0?void 0:t[r][1]}function OI(e){return v0(this.__data__,e)>-1}function RI(e,t){var r=this.__data__,n=v0(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function fa(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}fa.prototype.clear=kI;fa.prototype.delete=II;fa.prototype.get=NI;fa.prototype.has=OI;fa.prototype.set=RI;var DI=Ql(T0,"Map");function LI(){this.size=0,this.__data__={hash:new xn,map:new(DI||fa),string:new xn}}function MI(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function w0(e,t){var r=e.__data__;return MI(t)?r[typeof t=="string"?"string":"hash"]:r.map}function PI(e){var t=w0(this,e).delete(e);return this.size-=t?1:0,t}function FI(e){return w0(this,e).get(e)}function BI(e){return w0(this,e).has(e)}function zI(e,t){var r=w0(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function da(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}da.prototype.clear=LI;da.prototype.delete=PI;da.prototype.get=FI;da.prototype.has=BI;da.prototype.set=zI;function HI(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}var Td=Qn?Qn.isConcatSpreadable:void 0;function UI(e){return z_(e)||mI(e)||!!(Td&&e&&e[Td])}function jI(e,t,r,n,a){var i=-1,s=e.length;for(r||(r=UI),a||(a=[]);++i<s;){var o=e[i];r(o)?HI(a,o):a[a.length]=o}return a}function $I(e){var t=e==null?0:e.length;return t?jI(e):[]}var Co=Ql(T0,"Set"),qI="__lodash_hash_undefined__";function YI(e){return this.__data__.set(e,qI),this}function VI(e){return this.__data__.has(e)}function Is(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new da;++t<r;)this.add(e[t])}Is.prototype.add=Is.prototype.push=YI;Is.prototype.has=VI;function WI(e,t){return e.has(t)}function M4(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var GI=1/0,XI=Co&&1/M4(new Co([,-0]))[1]==GI?function(e){return new Co(e)}:aI,KI=200;function QI(e,t,r){var n=-1,a=lI,i=e.length,s=!0,o=[],u=o;if(i>=KI){var l=XI(e);if(l)return M4(l);s=!1,a=WI,u=new Is}else u=o;e:for(;++n<i;){var c=e[n],f=c;if(c=c!==0?c:0,s&&f===f){for(var p=u.length;p--;)if(u[p]===f)continue e;o.push(c)}else a(u,f,r)||(u!==o&&u.push(f),o.push(c))}return o}function JI(e){return e&&e.length?QI(e):[]}const ZI=ue.div`
1365
+ margin-top: 16px;
1366
+ border-top: 1px solid #e8e8e8;
1367
+ padding-top: 16px;
1368
+ `,vd=ue.div`
1369
+ display: flex;
1370
+ gap: 8px;
1371
+ margin-bottom: 8px;
1372
+ align-items: baseline;
1373
+ `,eN=ue.div`
1374
+ margin-bottom: 8px;
1375
+ cursor: pointer;
1376
+ width: 100%;
1377
+ `,tN=ue.div`
1378
+ display: flex;
1379
+ gap: 8px;
1380
+ align-items: center;
1381
+ justify-content: flex-start;
1382
+ `,rN=ue.div`
1383
+ align-items: center;
1384
+ border: 0.5px solid #2c2c73;
1385
+ border-radius: 2px;
1386
+ display: flex;
1387
+ font-size: 10px;
1388
+ height: 12px;
1389
+ justify-content: center;
1390
+ line-height: 1;
1391
+ min-width: 14px;
1392
+ white-space: nowrap;
1393
+ `,nN=ue.div`
1394
+ border: 0.5px solid #9296a9;
1395
+ border-radius: 4px;
1396
+ color: #707279;
1397
+ font-size: 12px;
1398
+ height: 28px;
1399
+ line-height: 28px;
1400
+ margin: 0;
1401
+ padding: 0 8px;
1402
+ width: auto;
1403
+ overflow: hidden;
1404
+ text-overflow: ellipsis;
1405
+ white-space: nowrap;
1406
+ `,aN=ue.div`
1407
+ display: flex;
1408
+ flex-wrap: wrap;
1409
+ gap: 8px;
1410
+ `,iN=ue.div`
1411
+ border: 1px solid #e8e8e8;
1412
+ border-radius: 4px;
1413
+ padding: 4px;
1414
+ `,sN=ue.div`
1415
+ display: flex;
1416
+ gap: 8px;
1417
+ margin-bottom: 8px;
1418
+ align-items: center;
1419
+ background: rgb(230, 232, 236);
1420
+ border-radius: 10px;
1421
+ width: fit-content;
1422
+ padding: 7px 14px;
1423
+ font-size: 12px;
1424
+ cursor: pointer;
1425
+
1426
+ &:hover {
1427
+ background: rgb(220, 222, 226);
1428
+ }
1429
+ `,wd=ue.div`
1430
+ color: #707279;
1431
+ font-size: 12px;
1432
+ min-width: 60px;
1433
+ `,oN=({item:e,isPageConfig:t,onClick:r})=>{const n=t?e.Index:e.index,a=t?e.Title:e.title;return C.jsx(eN,{onClick:()=>r(e),children:C.jsxs(tN,{children:[n&&C.jsx(rN,{children:n}),a&&C.jsx(nN,{children:a})]})})},P4=({items:e,status:t="Success",isPageConfig:r=!1,onItemClick:n,onWebSearchClick:a,className:i,style:s})=>{const{t:o}=pt(),u=Q.useMemo(()=>{var b,y;let h;return r?h=(b=e==null?void 0:e.filter(x=>x.Images))==null?void 0:b.map(x=>x.Images):h=(y=e==null?void 0:e.filter(x=>x.images))==null?void 0:y.map(x=>x.images),JI($I(h))},[e,r]),l=Q.useMemo(()=>r?(e==null?void 0:e.filter(h=>h.Type==="rag"))||[]:(e==null?void 0:e.filter(h=>h.type==="rag"))||[],[e,r]),c=Q.useMemo(()=>r?(e==null?void 0:e.filter(h=>h.Type==="web_search"))||[]:(e==null?void 0:e.filter(h=>h.type==="web_search"))||[],[e,r]),f=h=>{n==null||n(h)},p=()=>{a==null||a(c)};return t!=="Success"?null:C.jsxs(ZI,{className:i,style:s,children:[c.length>0&&C.jsxs(sN,{onClick:p,children:[C.jsx(or.SearchOutlined,{}),C.jsx("div",{children:o("webSearch.foundPages",{count:c.length})})]}),l.length>0&&C.jsxs(vd,{children:[C.jsx(wd,{children:o("source.answerFrom")}),C.jsx("div",{style:{width:"calc(100% - 70px)"},children:l.map((h,b)=>C.jsx(oN,{item:h,isPageConfig:r,onClick:f},b))})]}),u.length>0&&C.jsxs(vd,{children:[C.jsx(wd,{children:o("source.imageFrom")}),C.jsx(aN,{children:u.map((h,b)=>C.jsx(iN,{children:C.jsx(Te.Image,{src:h,width:50,height:50,preview:{zIndex:1100}})},b))})]})]})},{Title:uN}=Te.Typography,lN=ue.div`
1434
+ height: 100%;
1435
+ display: flex;
1436
+ flex-direction: column;
1437
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
1438
+ ${e=>e.$isMobile&&`
1439
+ padding: 16px;
1440
+ `}
1441
+ `,cN=ue.div`
1442
+ flex: 1;
1443
+ overflow-y: auto;
1444
+ `,fN=ue.div`
1445
+ display: flex;
1446
+ justify-content: space-between;
1447
+ align-items: baseline;
1448
+ padding-bottom: 16px;
1449
+ border-bottom: 1px solid #f0f0f0;
1450
+ margin-bottom: 16px;
1451
+ `,dN=ue.div`
1452
+ cursor: pointer;
1453
+ padding: 4px 8px;
1454
+ border-radius: 4px;
1455
+ color: #666;
1456
+ font-size: 14px;
1457
+
1458
+ &:hover {
1459
+ background: #f5f5f5;
1460
+ color: #333;
1461
+ }
1462
+ `,hN=ue.div`
1463
+ display: flex;
1464
+ align-items: flex-start;
1465
+ gap: 8px;
1466
+ `,mN=ue.span`
1467
+ font-weight: 600;
1468
+ color: #333;
1469
+ min-width: 20px;
1470
+ `,pN=ue.div`
1471
+ color: #1890ff;
1472
+ cursor: pointer;
1473
+ flex: 1;
1474
+
1475
+ &:hover {
1476
+ text-decoration: underline;
1477
+ }
1478
+ `,gN=ue.div`
1479
+ color: #666;
1480
+ font-size: 13px;
1481
+ cursor: pointer;
1482
+ margin-top: 4px;
1483
+
1484
+ &:hover {
1485
+ color: #333;
1486
+ }
1487
+ `,F4=({items:e=[],open:t=!1,onClose:r,isPageConfig:n=!1,width:a=400,getContainer:i,className:s,style:o})=>{const{t:u}=pt(),l=typeof window!="undefined"&&window.innerWidth<=500,c=l?"100%":a,f=h=>{const b=n?h.Url:h.url;b&&window.open(b,"_blank")},p=()=>{r==null||r()};return C.jsx(Te.Drawer,{className:s,style:o,placement:"right",open:t,mask:!1,width:c,destroyOnClose:!0,closable:!1,bodyStyle:{boxShadow:"none",outline:"none",padding:"16px"},getContainer:i,onClose:p,children:C.jsx(lN,{$isMobile:l,children:C.jsxs(cN,{children:[C.jsxs(fN,{children:[C.jsx(uN,{level:5,style:{margin:0},children:u("webSearch.title")}),C.jsx(dN,{onClick:p,children:C.jsx(or.CloseOutlined,{})})]}),C.jsx(Te.List,{itemLayout:"horizontal",dataSource:e,renderItem:(h,b)=>{const y=n?h.Title:h.title,x=n?h.Text:h.text;return C.jsx(Te.List.Item,{children:C.jsx(Te.List.Item.Meta,{title:C.jsxs(hN,{children:[C.jsxs(mN,{children:[b+1,"."]}),C.jsx(pN,{onClick:()=>f(h),dangerouslySetInnerHTML:{__html:y||""}})]}),description:C.jsx(gN,{onClick:()=>f(h),dangerouslySetInnerHTML:{__html:x||""}})})})}})]})})})},Jl=({items:e,status:t="Success",onItemClick:r,onWebSearchClick:n,className:a,style:i})=>C.jsx(P4,{className:`appflow-sdk-doc-references ${a||""}`,style:i,items:e,status:t,isPageConfig:!1,onItemClick:r,onWebSearchClick:n}),Zl=({items:e,open:t,onClose:r,width:n=400,getContainer:a,className:i,style:s})=>C.jsx(F4,{className:`appflow-sdk-web-search-panel ${i||""}`,style:s,items:e,open:t,onClose:r,isPageConfig:!1,width:n,getContainer:a}),Jn=(e,t,r="")=>{const n=[];if(!(e!=null&&e.Properties))return{valid:!0,errors:[]};const a=(e==null?void 0:e.Required)||[];return Object.entries(e==null?void 0:e.Properties).forEach(([i,s])=>{const o=r?`${r}.${i}`:i,u=t==null?void 0:t[i],l=a.includes(i);if(l&&(u==null||u===""?n.push({field:o,message:`${(s==null?void 0:s.Title)||i} 是必填项`}):Array.isArray(u)&&u.length===0&&n.push({field:o,message:`${(s==null?void 0:s.Title)||i} 是必填项`})),(s==null?void 0:s.Type)==="object"&&(s!=null&&s.Properties)&&u){const c=Jn(s,u,o);n.push(...c.errors)}(s==null?void 0:s.Type)==="array"&&(s!=null&&s.Items)&&Array.isArray(u)&&u.forEach((c,f)=>{var h,b,y,x;const p=`${o}[${f}]`;if(((h=s==null?void 0:s.Items)==null?void 0:h.Type)==="object"&&((b=s==null?void 0:s.Items)!=null&&b.Properties)){const T=Jn(s.Items,c,p);n.push(...T.errors)}else l&&(((y=s==null?void 0:s.Items)==null?void 0:y.Type)==="string"?(c==null||c==="")&&n.push({field:p,message:"此项 是必填项"}):((x=s==null?void 0:s.Items)==null?void 0:x.Type)==="number"&&c==null&&n.push({field:p,message:"此项 是必填项"}))}),(s==null?void 0:s.Type)==="time"&&l&&(u||n.push({field:o,message:`${(s==null?void 0:s.Title)||i} 是必填项`})),(s==null?void 0:s.Type)==="file"&&l&&(!u||Array.isArray(u)&&u.length===0)&&n.push({field:o,message:`${(s==null?void 0:s.Title)||i} 是必填项`})}),{valid:n.length===0,errors:n}},ec=e=>Object.entries(e).sort(([,t],[,r])=>{var o,u;const n=(o=t.Order)!=null?o:t.order,a=(u=r.Order)!=null?u:r.order,i=n!==void 0?Number(n):Number.MAX_SAFE_INTEGER,s=a!==void 0?Number(a):Number.MAX_SAFE_INTEGER;return i===Number.MAX_SAFE_INTEGER&&s===Number.MAX_SAFE_INTEGER?0:i-s}),Ad=["jpg","png","svg"],_o=Q.lazy(()=>Promise.resolve().then(()=>z4));let Sd=0;const bN=ue.div`
1488
+ border: 1px solid #dbdbdb;
1489
+ border-radius: 10px;
1490
+ padding: 24px 16px;
1491
+ position: relative;
1492
+ margin-top: 20px;
1493
+ margin-bottom: 20px;
1494
+ background-color: #fff;
1495
+ `,yN=ue.div`
1496
+ position: absolute;
1497
+ top: -12px;
1498
+ left: 15px;
1499
+ background: #fff;
1500
+ padding: 2px 10px;
1501
+ white-space: nowrap;
1502
+ text-overflow: ellipsis;
1503
+ overflow: hidden;
1504
+ word-break: break-all;
1505
+ max-width: calc(100% - 30px);
1506
+ font-size: 14px;
1507
+ font-weight: 500;
1508
+ color: #1f2329;
1509
+ `,EN=ue.span`
1510
+ display: inline-block;
1511
+ margin-right: 4px;
1512
+ color: #E00000;
1513
+ font-size: 14px;
1514
+ font-family: SimSun, sans-serif;
1515
+ line-height: 1;
1516
+ `,xN=ue.div`
1517
+ font-size: 12px;
1518
+ color: #8f959e;
1519
+ margin-bottom: 12px;
1520
+ word-break: break-word;
1521
+ `,TN=ue.div`
1522
+ font-size: 12px;
1523
+ color: #8f959e;
1524
+ margin-top: 4px;
1525
+ word-break: break-word;
1526
+ `,vN=ue.div`
1527
+ font-size: 12px;
1528
+ color: #f54a45;
1529
+ margin-top: 4px;
1530
+ `,wN=ue.div``,AN=ue.div`
1531
+ margin-bottom: 12px;
1532
+
1533
+ &:last-child {
1534
+ margin-bottom: 0;
1535
+ }
1536
+ `,kd=ue.div`
1537
+ width: 100%;
1538
+ `,SN=ue.div`
1539
+ display: flex;
1540
+ align-items: flex-start;
1541
+ gap: 8px;
1542
+ margin-bottom: 8px;
1543
+
1544
+ &:last-child {
1545
+ margin-bottom: 0;
1546
+ }
1547
+ `,Cd=ue.div`
1548
+ flex: 1;
1549
+ `,kN=ue.div`
1550
+ flex-shrink: 0;
1551
+ padding-top: 4px;
1552
+ `,CN=ue.div`
1553
+ margin-top: 12px;
1554
+ display: flex;
1555
+ gap: 8px;
1556
+ `,_N=ue.div`
1557
+ display: flex;
1558
+ align-items: flex-start;
1559
+ gap: 8px;
1560
+ margin-bottom: 8px;
1561
+
1562
+ &:last-child {
1563
+ margin-bottom: 0;
1564
+ }
1565
+ `,IN=ue.div`
1566
+ flex-shrink: 0;
1567
+ padding-top: ${({$variant:e})=>{switch(e){case"fileDoc":case"time":case"enum":return"4px";case"fileImage":default:return"38px"}}};
1568
+ `,zu=e=>{switch(e.Type){case"string":return"";case"number":return;case"boolean":return!1;case"array":return e.Items?[zu(e.Items)]:[];case"object":if(e.Properties){const t={};return Object.keys(e.Properties).forEach(r=>{t[r]=zu(e.Properties[r])}),t}return{};default:return}},NN=({name:e,schema:t,value:r=[],onChange:n,required:a=!1,disabled:i=!1,level:s=0,errors:o={},fieldPath:u="",uploadSender:l,fileUploader:c})=>{var me,k,pe;const{Title:f,Description:p,Items:h}=t,b=f||e,{t:y}=pt(),x=u?`${u}.${e}`:e,T=Q.useRef(new Map),w=Q.useCallback((te,A)=>A!=null&&A.url?A.url:A!=null&&A.uid?A.uid:A!=null&&A.__arrayItemId?A.__arrayItemId:(T.current.has(te)||T.current.set(te,`item-${++Sd}`),T.current.get(te)),[]),N=Q.useCallback(()=>{if(!h)return;const te=zu(h),A=r.length;T.current.set(A,`item-${++Sd}`),typeof te=="object"&&te!==null?n==null||n([...r,at(ne({},te),{__arrayItemId:T.current.get(A)})]):n==null||n([...r,te])},[h,r,n]),M=Q.useCallback(te=>{const A=[...r];A.splice(te,1),n==null||n(A)},[r,n]),F=Q.useCallback((te,A)=>{const de=[...r];de[te]=A,n==null||n(de)},[r,n]),L=Q.useCallback((te,A,de)=>{const xe=[...r];xe[te]=at(ne({},xe[te]),{[A]:de}),n==null||n(xe)},[r,n]),z=((pe=(k=(me=h==null?void 0:h.AssociationPropertyMetadata)==null?void 0:me.EnumValues)==null?void 0:k.length)!=null?pe:0)>0||Array.isArray(h==null?void 0:h.EnumValues)&&h.EnumValues.length>0,B=(h==null?void 0:h.Type)==="object"&&(h==null?void 0:h.Properties),U=(h==null?void 0:h.Type)==="array",D=(h==null?void 0:h.Type)==="file",H=(h==null?void 0:h.Type)==="time",G=B||U||D||H||z,be=Q.useMemo(()=>{var A;if(!D)return!1;const te=(A=h==null?void 0:h.AssociationPropertyMetadata)==null?void 0:A.SubType;return Array.isArray(te)&&te.length>0?te.some(de=>Ad.includes(de)):h!=null&&h.FileSubType?Ad.includes(h.FileSubType):!1},[D,h]);if(!h)return null;const K=h.Required||[],Y=(te,A)=>{let de;const xe=`${x}[${A}]`,Ce=o[xe];switch(h.Type){case"string":de=C.jsx(Te.Input,{value:te,onChange:De=>F(A,De.target.value),disabled:i});break;case"number":de=C.jsx(Te.InputNumber,{value:te,onChange:De=>F(A,De),disabled:i,style:{width:"100%"}});break;case"boolean":de=C.jsx(Te.Switch,{checked:te,onChange:De=>F(A,De),disabled:i});break;default:de=C.jsx(Te.Input,{value:te,onChange:De=>F(A,De.target.value),disabled:i})}return C.jsxs("div",{children:[de,Ce&&C.jsx(vN,{children:Ce}),h.Description&&!Ce&&C.jsx(TN,{children:h.Description})]})},V=(te,A)=>h.Properties?ec(h.Properties).map(([xe,Ce])=>{const De=K.includes(xe);return C.jsx(Q.Suspense,{fallback:C.jsx("div",{children:y("common.loading")}),children:C.jsx(_o,{name:xe,schema:Ce,value:te==null?void 0:te[xe],onChange:Je=>L(A,xe,Je),required:De,disabled:i,level:s+1,errors:o,fieldPath:`${x}[${A}]`,uploadSender:l,fileUploader:c})},xe)}):null,le=(te,A)=>C.jsx(Q.Suspense,{fallback:C.jsx("div",{children:y("common.loading")}),children:C.jsx(_o,{name:`${e}[${A}]`,schema:h,value:te,onChange:de=>F(A,de),disabled:i,level:s+1,errors:o,fieldPath:x,uploadSender:l,fileUploader:c})}),Z=(te,A)=>C.jsx(Q.Suspense,{fallback:C.jsx("div",{children:y("common.loading")}),children:C.jsx(_o,{name:`[${A}]`,schema:h,value:te,onChange:de=>F(A,de),disabled:i,level:s+1,errors:o,fieldPath:x,hideLabel:!0,uploadSender:l,fileUploader:c})});return C.jsxs(bN,{children:[C.jsxs(yN,{children:[a&&C.jsx(EN,{children:"*"}),C.jsx("span",{children:b})]}),p&&C.jsx(xN,{children:p}),C.jsx(wN,{children:r.map((te,A)=>{const de=w(A,te),xe=()=>{if(B)return C.jsx(kd,{children:V(te,A)});if(U)return C.jsx(kd,{children:le(te,A)});if(D||H||z){let Ce;return D?Ce=be?"fileImage":"fileDoc":H?Ce="time":z&&(Ce="enum"),C.jsxs(_N,{children:[C.jsx(Cd,{children:Z(te,A)}),C.jsx(IN,{$variant:Ce,children:C.jsx(Te.Button,{type:"text",danger:!0,icon:C.jsx(or.MinusOutlined,{}),onClick:()=>M(A),disabled:i,size:"small"})})]})}return C.jsxs(SN,{children:[C.jsx(Cd,{children:Y(te,A)}),C.jsx(kN,{children:C.jsx(Te.Button,{type:"text",danger:!0,icon:C.jsx(or.MinusOutlined,{}),onClick:()=>M(A),disabled:i,size:"small"})})]})};return C.jsx(AN,{children:xe()},de)})}),C.jsx(CN,{children:C.jsxs(Te.Space,{children:[C.jsx(Te.Button,{onClick:N,disabled:i,shape:"circle",icon:C.jsx(or.PlusOutlined,{})}),G&&r.length>0&&C.jsx(Te.Button,{onClick:()=>M(r.length-1),shape:"circle",icon:C.jsx(or.MinusOutlined,{}),danger:!0,disabled:i})]})})]})},ON=Q.lazy(()=>Promise.resolve().then(()=>z4)),RN=ue.div`
1569
+ border: 1px solid #dbdbdb;
1570
+ border-radius: 10px;
1571
+ padding: 24px 16px;
1572
+ position: relative;
1573
+ margin-top: 20px;
1574
+ margin-bottom: 20px;
1575
+ background-color: #fff;
1576
+ `,DN=ue.div`
1577
+ position: absolute;
1578
+ top: -12px;
1579
+ left: 15px;
1580
+ background: #fff;
1581
+ padding: 2px 10px;
1582
+ white-space: nowrap;
1583
+ text-overflow: ellipsis;
1584
+ overflow: hidden;
1585
+ word-break: break-all;
1586
+ max-width: calc(100% - 30px);
1587
+ font-size: 14px;
1588
+ font-weight: 500;
1589
+ color: #1f2329;
1590
+ `,LN=ue.span`
1591
+ display: inline-block;
1592
+ margin-right: 4px;
1593
+ color: #E00000;
1594
+ font-size: 14px;
1595
+ font-family: SimSun, sans-serif;
1596
+ line-height: 1;
1597
+ `,MN=ue.div`
1598
+ font-size: 12px;
1599
+ color: #8f959e;
1600
+ margin-bottom: 12px;
1601
+ word-break: break-word;
1602
+ `,PN=ue.div`
1603
+ /* 对象内容区域 */
1604
+ `,FN=({name:e,schema:t,value:r={},onChange:n,required:a=!1,disabled:i=!1,level:s=0,errors:o={},fieldPath:u="",uploadSender:l,fileUploader:c})=>{const{Title:f,Description:p,Properties:h,Required:b=[]}=t,y=f||e,{t:x}=pt(),T=u?`${u}.${e}`:e,w=Q.useCallback((M,F)=>{n==null||n(at(ne({},r),{[M]:F}))},[r,n]);if(!h)return null;const N=ec(h);return C.jsxs(RN,{children:[C.jsxs(DN,{children:[a&&C.jsx(LN,{children:"*"}),C.jsx("span",{children:y})]}),p&&C.jsx(MN,{children:p}),C.jsx(PN,{children:N.map(([M,F])=>{const L=b.includes(M);return C.jsx(Q.Suspense,{fallback:C.jsx("div",{children:x("common.loading")}),children:C.jsx(ON,{name:M,schema:F,value:r[M],onChange:z=>w(M,z),required:L,disabled:i,level:s+1,errors:o,fieldPath:T,uploadSender:l,fileUploader:c})},M)})})]})},{Option:_d}=Te.Select,Id=ue.div`
1605
+ width: 100%;
1606
+
1607
+ .ant-select {
1608
+ width: 100%;
1609
+ }
1610
+ `,BN=ue.div`
1611
+ width: 100%;
1612
+
1613
+ .ant-checkbox-group {
1614
+ display: flex;
1615
+ flex-wrap: wrap;
1616
+ gap: 8px;
1617
+ }
1618
+
1619
+ .ant-checkbox-wrapper {
1620
+ margin-right: 0;
1621
+
1622
+ &:hover .ant-checkbox-inner {
1623
+ border-color: #1890ff;
1624
+ }
1625
+ }
1626
+ `,zN=ue.div`
1627
+ width: 100%;
1628
+
1629
+ .ant-radio-group {
1630
+ display: flex;
1631
+ flex-wrap: wrap;
1632
+ gap: 8px;
1633
+ }
1634
+
1635
+ .ant-radio-wrapper {
1636
+ margin-right: 0;
1637
+
1638
+ &:hover .ant-radio-inner {
1639
+ border-color: #1890ff;
1640
+ }
1641
+ }
1642
+ `,Nd=({schema:e,value:t,onChange:r,disabled:n=!1})=>{const{Type:a}=e,{t:i}=pt(),s=Q.useMemo(()=>{var p;return((p=e.AssociationPropertyMetadata)==null?void 0:p.EnumValues)||e.EnumValues||[]},[e]),o=Q.useMemo(()=>{var p;return((p=e.AssociationPropertyMetadata)==null?void 0:p.EnumDisplayStyle)||e.EnumDisplayStyle||"select"},[e]),u=Q.useCallback(p=>{r==null||r(p)},[r]),l=Q.useCallback(p=>{r==null||r(p)},[r]),c=Q.useCallback(p=>{r==null||r(p.target.value)},[r]);return(()=>{switch(o){case"checkbox":return C.jsx(BN,{children:C.jsx(Te.Checkbox.Group,{value:Array.isArray(t)?t:t?[t]:[],onChange:l,disabled:n,children:s.map(p=>C.jsx(Te.Checkbox,{value:p,children:String(p)},String(p)))})});case"radio":return C.jsx(zN,{children:C.jsx(Te.Radio.Group,{value:t,onChange:c,disabled:n,children:s.map(p=>C.jsx(Te.Radio,{value:p,children:String(p)},String(p)))})});case"multi-select":return C.jsx(Id,{children:C.jsx(Te.Select,{value:Array.isArray(t)?t:t?[t]:[],onChange:u,disabled:n,mode:"multiple",placeholder:i("common.placeholderSelect"),style:{width:"100%"},allowClear:!0,children:s.map(p=>C.jsx(_d,{value:p,children:String(p)},String(p)))})});case"select":default:{const p=a==="array";return C.jsx(Id,{children:C.jsx(Te.Select,{value:t,onChange:u,disabled:n,mode:p?"multiple":void 0,placeholder:i("common.placeholderSelect"),style:{width:"100%"},allowClear:!0,children:s.map(h=>C.jsx(_d,{value:h,children:String(h)},String(h)))})})}}})()};var B4={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Va,function(){var r=1e3,n=6e4,a=36e5,i="millisecond",s="second",o="minute",u="hour",l="day",c="week",f="month",p="quarter",h="year",b="date",y="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,w={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(K){var Y=["th","st","nd","rd"],V=K%100;return"["+K+(Y[(V-20)%10]||Y[V]||Y[0])+"]"}},N=function(K,Y,V){var le=String(K);return!le||le.length>=Y?K:""+Array(Y+1-le.length).join(V)+K},M={s:N,z:function(K){var Y=-K.utcOffset(),V=Math.abs(Y),le=Math.floor(V/60),Z=V%60;return(Y<=0?"+":"-")+N(le,2,"0")+":"+N(Z,2,"0")},m:function K(Y,V){if(Y.date()<V.date())return-K(V,Y);var le=12*(V.year()-Y.year())+(V.month()-Y.month()),Z=Y.clone().add(le,f),me=V-Z<0,k=Y.clone().add(le+(me?-1:1),f);return+(-(le+(V-Z)/(me?Z-k:k-Z))||0)},a:function(K){return K<0?Math.ceil(K)||0:Math.floor(K)},p:function(K){return{M:f,y:h,w:c,d:l,D:b,h:u,m:o,s,ms:i,Q:p}[K]||String(K||"").toLowerCase().replace(/s$/,"")},u:function(K){return K===void 0}},F="en",L={};L[F]=w;var z="$isDayjsObject",B=function(K){return K instanceof G||!(!K||!K[z])},U=function K(Y,V,le){var Z;if(!Y)return F;if(typeof Y=="string"){var me=Y.toLowerCase();L[me]&&(Z=me),V&&(L[me]=V,Z=me);var k=Y.split("-");if(!Z&&k.length>1)return K(k[0])}else{var pe=Y.name;L[pe]=Y,Z=pe}return!le&&Z&&(F=Z),Z||!le&&F},D=function(K,Y){if(B(K))return K.clone();var V=typeof Y=="object"?Y:{};return V.date=K,V.args=arguments,new G(V)},H=M;H.l=U,H.i=B,H.w=function(K,Y){return D(K,{locale:Y.$L,utc:Y.$u,x:Y.$x,$offset:Y.$offset})};var G=function(){function K(V){this.$L=U(V.locale,null,!0),this.parse(V),this.$x=this.$x||V.x||{},this[z]=!0}var Y=K.prototype;return Y.parse=function(V){this.$d=function(le){var Z=le.date,me=le.utc;if(Z===null)return new Date(NaN);if(H.u(Z))return new Date;if(Z instanceof Date)return new Date(Z);if(typeof Z=="string"&&!/Z$/i.test(Z)){var k=Z.match(x);if(k){var pe=k[2]-1||0,te=(k[7]||"0").substring(0,3);return me?new Date(Date.UTC(k[1],pe,k[3]||1,k[4]||0,k[5]||0,k[6]||0,te)):new Date(k[1],pe,k[3]||1,k[4]||0,k[5]||0,k[6]||0,te)}}return new Date(Z)}(V),this.init()},Y.init=function(){var V=this.$d;this.$y=V.getFullYear(),this.$M=V.getMonth(),this.$D=V.getDate(),this.$W=V.getDay(),this.$H=V.getHours(),this.$m=V.getMinutes(),this.$s=V.getSeconds(),this.$ms=V.getMilliseconds()},Y.$utils=function(){return H},Y.isValid=function(){return this.$d.toString()!==y},Y.isSame=function(V,le){var Z=D(V);return this.startOf(le)<=Z&&Z<=this.endOf(le)},Y.isAfter=function(V,le){return D(V)<this.startOf(le)},Y.isBefore=function(V,le){return this.endOf(le)<D(V)},Y.$g=function(V,le,Z){return H.u(V)?this[le]:this.set(Z,V)},Y.unix=function(){return Math.floor(this.valueOf()/1e3)},Y.valueOf=function(){return this.$d.getTime()},Y.startOf=function(V,le){var Z=this,me=!!H.u(le)||le,k=H.p(V),pe=function(Ye,Fe){var gt=H.w(Z.$u?Date.UTC(Z.$y,Fe,Ye):new Date(Z.$y,Fe,Ye),Z);return me?gt:gt.endOf(l)},te=function(Ye,Fe){return H.w(Z.toDate()[Ye].apply(Z.toDate("s"),(me?[0,0,0,0]:[23,59,59,999]).slice(Fe)),Z)},A=this.$W,de=this.$M,xe=this.$D,Ce="set"+(this.$u?"UTC":"");switch(k){case h:return me?pe(1,0):pe(31,11);case f:return me?pe(1,de):pe(0,de+1);case c:var De=this.$locale().weekStart||0,Je=(A<De?A+7:A)-De;return pe(me?xe-Je:xe+(6-Je),de);case l:case b:return te(Ce+"Hours",0);case u:return te(Ce+"Minutes",1);case o:return te(Ce+"Seconds",2);case s:return te(Ce+"Milliseconds",3);default:return this.clone()}},Y.endOf=function(V){return this.startOf(V,!1)},Y.$set=function(V,le){var Z,me=H.p(V),k="set"+(this.$u?"UTC":""),pe=(Z={},Z[l]=k+"Date",Z[b]=k+"Date",Z[f]=k+"Month",Z[h]=k+"FullYear",Z[u]=k+"Hours",Z[o]=k+"Minutes",Z[s]=k+"Seconds",Z[i]=k+"Milliseconds",Z)[me],te=me===l?this.$D+(le-this.$W):le;if(me===f||me===h){var A=this.clone().set(b,1);A.$d[pe](te),A.init(),this.$d=A.set(b,Math.min(this.$D,A.daysInMonth())).$d}else pe&&this.$d[pe](te);return this.init(),this},Y.set=function(V,le){return this.clone().$set(V,le)},Y.get=function(V){return this[H.p(V)]()},Y.add=function(V,le){var Z,me=this;V=Number(V);var k=H.p(le),pe=function(de){var xe=D(me);return H.w(xe.date(xe.date()+Math.round(de*V)),me)};if(k===f)return this.set(f,this.$M+V);if(k===h)return this.set(h,this.$y+V);if(k===l)return pe(1);if(k===c)return pe(7);var te=(Z={},Z[o]=n,Z[u]=a,Z[s]=r,Z)[k]||1,A=this.$d.getTime()+V*te;return H.w(A,this)},Y.subtract=function(V,le){return this.add(-1*V,le)},Y.format=function(V){var le=this,Z=this.$locale();if(!this.isValid())return Z.invalidDate||y;var me=V||"YYYY-MM-DDTHH:mm:ssZ",k=H.z(this),pe=this.$H,te=this.$m,A=this.$M,de=Z.weekdays,xe=Z.months,Ce=Z.meridiem,De=function(Fe,gt,rr,Gt){return Fe&&(Fe[gt]||Fe(le,me))||rr[gt].slice(0,Gt)},Je=function(Fe){return H.s(pe%12||12,Fe,"0")},Ye=Ce||function(Fe,gt,rr){var Gt=Fe<12?"AM":"PM";return rr?Gt.toLowerCase():Gt};return me.replace(T,function(Fe,gt){return gt||function(rr){switch(rr){case"YY":return String(le.$y).slice(-2);case"YYYY":return H.s(le.$y,4,"0");case"M":return A+1;case"MM":return H.s(A+1,2,"0");case"MMM":return De(Z.monthsShort,A,xe,3);case"MMMM":return De(xe,A);case"D":return le.$D;case"DD":return H.s(le.$D,2,"0");case"d":return String(le.$W);case"dd":return De(Z.weekdaysMin,le.$W,de,2);case"ddd":return De(Z.weekdaysShort,le.$W,de,3);case"dddd":return de[le.$W];case"H":return String(pe);case"HH":return H.s(pe,2,"0");case"h":return Je(1);case"hh":return Je(2);case"a":return Ye(pe,te,!0);case"A":return Ye(pe,te,!1);case"m":return String(te);case"mm":return H.s(te,2,"0");case"s":return String(le.$s);case"ss":return H.s(le.$s,2,"0");case"SSS":return H.s(le.$ms,3,"0");case"Z":return k}return null}(Fe)||k.replace(":","")})},Y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Y.diff=function(V,le,Z){var me,k=this,pe=H.p(le),te=D(V),A=(te.utcOffset()-this.utcOffset())*n,de=this-te,xe=function(){return H.m(k,te)};switch(pe){case h:me=xe()/12;break;case f:me=xe();break;case p:me=xe()/3;break;case c:me=(de-A)/6048e5;break;case l:me=(de-A)/864e5;break;case u:me=de/a;break;case o:me=de/n;break;case s:me=de/r;break;default:me=de}return Z?me:H.a(me)},Y.daysInMonth=function(){return this.endOf(f).$D},Y.$locale=function(){return L[this.$L]},Y.locale=function(V,le){if(!V)return this.$L;var Z=this.clone(),me=U(V,le,!0);return me&&(Z.$L=me),Z},Y.clone=function(){return H.w(this.$d,this)},Y.toDate=function(){return new Date(this.valueOf())},Y.toJSON=function(){return this.isValid()?this.toISOString():null},Y.toISOString=function(){return this.$d.toISOString()},Y.toString=function(){return this.$d.toUTCString()},K}(),be=G.prototype;return D.prototype=be,[["$ms",i],["$s",s],["$m",o],["$H",u],["$W",l],["$M",f],["$y",h],["$D",b]].forEach(function(K){be[K[1]]=function(Y){return this.$g(Y,K[0],K[1])}}),D.extend=function(K,Y){return K.$i||(K(Y,G,D),K.$i=!0),D},D.locale=U,D.isDayjs=B,D.unix=function(K){return D(1e3*K)},D.en=L[F],D.Ls=L,D.p={},D})})(B4);var HN=B4.exports;const UN=Ys(HN),jN=ue.div`
1643
+ width: 100%;
1644
+
1645
+ .ant-picker {
1646
+ width: 100%;
1647
+ }
1648
+ `,$N=e=>{switch(e){case"year-month":return"YYYY-MM";case"year-month-day":return"YYYY-MM-DD";case"datetime":return"YYYY-MM-DD HH:mm:ss";default:return"YYYY-MM-DD"}},qN=e=>{switch(e){case"year-month":return"month";case"year-month-day":case"datetime":default:return"date"}},YN=({schema:e,value:t,onChange:r,disabled:n=!1})=>{const{t:a}=pt(),i=Q.useMemo(()=>{var p;const f=(p=e.AssociationPropertyMetadata)==null?void 0:p.SubType;return Array.isArray(f)&&f.length>0?f[0]:e.TimeSubType},[e]),s=$N(i),o=qN(i),u=i==="datetime",l=Q.useCallback(f=>{f?r==null||r(f.format(s)):r==null||r(null)},[r,s]),c=t?UN(t,s):null;return C.jsx(jN,{children:C.jsx(Te.DatePicker,{value:c,onChange:l,format:s,picker:o,showTime:u?{format:"HH:mm:ss"}:!1,disabled:n,style:{width:"100%"},placeholder:a("common.placeholderSelect")})})},Od=ue.div`
1649
+ width: 100%;
1650
+
1651
+ .ant-upload-wrapper {
1652
+ width: 100%;
1653
+ }
1654
+
1655
+ .ant-upload-list-item {
1656
+ margin-top: 8px;
1657
+ }
1658
+
1659
+ .ant-upload-list-picture-card {
1660
+ .ant-upload-list-item-container {
1661
+ width: 104px;
1662
+ height: 104px;
1663
+ }
1664
+ }
1665
+
1666
+ .ant-upload-select-picture-card {
1667
+ width: 104px;
1668
+ height: 104px;
1669
+ margin: 0;
1670
+ background-color: #fafafa;
1671
+ border: 1px dashed #d9d9d9;
1672
+ border-radius: 8px;
1673
+ cursor: pointer;
1674
+ transition: border-color 0.3s;
1675
+
1676
+ &:hover {
1677
+ border-color: #1890ff;
1678
+ }
1679
+ }
1680
+ `,Rd=ue.div`
1681
+ font-size: 12px;
1682
+ color: #8f959e;
1683
+ margin-top: 8px;
1684
+ `,VN=["jpg","png","svg"],WN=e=>{switch(e){case"jpg":return".jpg,.jpeg,image/jpeg";case"png":return".png,image/png";case"svg":return".svg,image/svg+xml";case"doc":return".doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document";case"ppt":return".ppt,.pptx,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation";case"excel":return".xls,.xlsx,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";case"txt":return".txt,text/plain";case"markdown":return".md,.markdown,text/markdown";case"zip":return".zip,.rar,.7z,.tar,.gz,.bz2,application/zip,application/x-rar-compressed,application/x-7z-compressed";case"default":default:return"*"}},GN=e=>{if(!e||e.length===0||e.includes("default"))return"*";const t=new Set;return e.forEach(r=>{const n=WN(r);n!=="*"&&n.split(",").forEach(a=>t.add(a.trim()))}),t.size>0?Array.from(t).join(","):"*"},XN=e=>{if(!e||e.length===0||e.includes("default"))return Ln("humanVerify.file.supportAll");const t={jpg:"JPG",png:"PNG",svg:"SVG",doc:"DOC/DOCX",ppt:"PPT/PPTX",excel:"XLS/XLSX",txt:"TXT",markdown:"Markdown",zip:"ZIP/RAR/7Z",default:Ln("humanVerify.file.supportAll")},r=e.map(n=>t[n]||n).filter(Boolean);return r.length>0?Ln("humanVerify.file.supportFormats",{formats:r.join("、")}):Ln("humanVerify.file.supportAll")},KN=e=>!e||e.length===0?!1:e.some(t=>VN.includes(t)),QN=({schema:e,value:t,onChange:r,disabled:n=!1,uploadSender:a,fileUploader:i})=>{const{t:s}=pt(),o=Q.useMemo(()=>{var U;const B=(U=e.AssociationPropertyMetadata)==null?void 0:U.SubType;return Array.isArray(B)&&B.length>0?B:e.FileSubType?[e.FileSubType]:[]},[e]),u=GN(o),l=XN(o),c=KN(o),[f,p]=Q.useState(!1),h=()=>t?Array.isArray(t)?t.map((B,U)=>ne({uid:B.uid||`${U}`,name:B.name||`${s("humanVerify.file.defaultFileName")}${U+1}`,status:"done",url:B.url},B)):typeof t=="object"?[ne({uid:t.uid||"0",name:t.name||s("humanVerify.file.defaultFileName"),status:"done",url:t.url},t)]:[]:[],[b,y]=Q.useState(h());Q.useEffect(()=>{const B=h(),U=b.map(H=>H.url).sort().join(","),D=B.map(H=>H.url).sort().join(",");U!==D&&y(B)},[t]);const x=Q.useCallback(B=>Be(exports,null,function*(){if(!a)return Te.message.error(s("humanVerify.file.uploaderNotConfigured")),null;try{const U=yield a({eventType:"uploadToken",fileName:B});if(!U)return Te.message.error(s("humanVerify.file.tokenFailed")),null;const D=JSON.parse(U);return D.content?JSON.parse(D.content):D.uploadUrl&&D.downloadUrl?D:(Te.message.error(s("humanVerify.file.tokenFailed")),null)}catch(U){return console.error(s("humanVerify.file.tokenFailed"),U),Te.message.error(s("humanVerify.file.tokenFailed")),null}}),[a,s]),T=Q.useCallback((B,U)=>Be(exports,null,function*(){if(!a)return null;try{const D=yield a({eventType:"uploadFile",fileName:B,content:U});if(!D)return null;const H=JSON.parse(D);return H.content?JSON.parse(H.content):H.fileId?H:null}catch(D){return console.error(s("humanVerify.file.getFileIdFailed"),D),null}}),[a,s]),w=Q.useCallback(B=>Be(exports,null,function*(){const U=yield x(B.name);if(!U)throw new Error(s("humanVerify.file.tokenFailed"));if(!i)throw new Error(s("humanVerify.file.uploadMethodNotConfigured"));const D=new Blob([B]);return yield i(D,U.uploadUrl),{uid:Date.now().toString(),name:B.name,url:U.downloadUrl,type:B.type,size:B.size}}),[x,i,s]),N=Q.useCallback(B=>Be(exports,null,function*(){const U=yield x(B.name);if(!U)throw new Error(s("humanVerify.file.tokenFailed"));if(!i)throw new Error(s("humanVerify.file.uploadMethodNotConfigured"));const D=new Blob([B]);yield i(D,U.uploadUrl);const H=yield T(B.name,U.downloadUrl);return{uid:Date.now().toString(),name:B.name,url:U.downloadUrl,fileId:H==null?void 0:H.fileId,type:B.type,size:B.size,fileType:B.name.split(".").pop()}}),[x,i,T,s]),M=Q.useCallback(B=>Be(exports,null,function*(){const{file:U,onSuccess:D,onError:H}=B;if(!a||!i){try{const G=URL.createObjectURL(U);D==null||D({url:G},new XMLHttpRequest)}catch(G){H==null||H(G),Te.message.error(s("humanVerify.file.uploadFailed"))}return}p(!0);try{let G;c?G=yield w(U):G=yield N(U),D==null||D(G,new XMLHttpRequest)}catch(G){H==null||H(G),Te.message.error(s("humanVerify.file.uploadFailed"))}finally{p(!1)}}),[a,i,c,w,N,s]),F=Q.useCallback(B=>{const{fileList:U}=B;y(U);const D=U.filter(H=>H.status==="done").map(H=>{const G=H.response;return{name:H.name,url:(G==null?void 0:G.url)||H.url}});r==null||r(D.length===1?D[0]:D.length>0?D:void 0)},[r]),L=Q.useCallback(B=>B.size>10485760?(Te.message.error(s("humanVerify.file.maxSizeError",{size:"10MB"})),Te.Upload.LIST_IGNORE):!0,[s]),z=C.jsxs("div",{children:[f?C.jsx(or.LoadingOutlined,{}):C.jsx(or.PlusOutlined,{}),C.jsx("div",{style:{marginTop:8},children:s(f?"humanVerify.file.uploading":"humanVerify.file.upload")})]});return c?C.jsxs(Od,{children:[C.jsx(Te.Upload,{listType:"picture-card",fileList:b,onChange:F,customRequest:M,beforeUpload:L,accept:u,disabled:n||f,maxCount:1,showUploadList:{showPreviewIcon:!1,showRemoveIcon:!0},children:b.length<1&&z}),C.jsx(Rd,{children:l})]}):C.jsxs(Od,{children:[C.jsx(Te.Upload,{fileList:b,onChange:F,customRequest:M,beforeUpload:L,accept:u,disabled:n||f,maxCount:1,children:C.jsx(Te.Button,{icon:f?C.jsx(or.LoadingOutlined,{}):C.jsx(or.UploadOutlined,{}),disabled:n||f,loading:f,children:s(f?"humanVerify.file.uploading":"humanVerify.file.uploadButton")})}),C.jsx(Rd,{children:l})]})},JN=ue.div`
1685
+ margin-bottom: 16px;
1686
+
1687
+ &:last-child {
1688
+ margin-bottom: 0;
1689
+ }
1690
+ `,ZN=ue.div`
1691
+ display: flex;
1692
+ align-items: center;
1693
+ margin-bottom: 6px;
1694
+ font-size: 14px;
1695
+ color: #1f2329;
1696
+ `,Dd=ue.span`
1697
+ color: #f54a45;
1698
+ margin-right: 4px;
1699
+ `,eO=ue.span`
1700
+ font-weight: 500;
1701
+ `,tO=ue.div`
1702
+ font-size: 12px;
1703
+ color: #8f959e;
1704
+ margin-top: 4px;
1705
+ word-break: break-word;
1706
+ `,rO=ue.div`
1707
+ font-size: 12px;
1708
+ color: #f54a45;
1709
+ margin-top: 4px;
1710
+ `,nO=ue.div`
1711
+ border: 1px solid #dbdbdb;
1712
+ border-radius: 10px;
1713
+ padding: 24px 16px;
1714
+ position: relative;
1715
+ margin-top: 20px;
1716
+ margin-bottom: 20px;
1717
+ background-color: #fff;
1718
+ `,aO=ue.div`
1719
+ position: absolute;
1720
+ top: -12px;
1721
+ left: 15px;
1722
+ background: #fff;
1723
+ padding: 2px 10px;
1724
+ white-space: nowrap;
1725
+ text-overflow: ellipsis;
1726
+ overflow: hidden;
1727
+ word-break: break-all;
1728
+ max-width: calc(100% - 30px);
1729
+ font-size: 14px;
1730
+ font-weight: 500;
1731
+ color: #1f2329;
1732
+ `,iO=ue.div`
1733
+ font-size: 12px;
1734
+ color: #8f959e;
1735
+ margin-bottom: 12px;
1736
+ word-break: break-word;
1737
+ `,Io=ue.div`
1738
+ .${e=>e.$prefixCls}-input,
1739
+ .${e=>e.$prefixCls}-input-number,
1740
+ .${e=>e.$prefixCls}-select {
1741
+ width: 100%;
1742
+ }
1743
+
1744
+ .${e=>e.$prefixCls}-input-number {
1745
+ width: 100%;
1746
+ }
1747
+ `,sO=e=>{var r;const t=((r=e.AssociationPropertyMetadata)==null?void 0:r.EnumValues)||e.EnumValues;return Array.isArray(t)&&t.length>0},Hu=({name:e,schema:t,value:r,onChange:n,required:a=!1,disabled:i=!1,level:s=0,errors:o={},fieldPath:u="",uploadSender:l,fileUploader:c,hideLabel:f=!1})=>{var B;const{Type:p,Title:h,Description:b}=t,y=h||e,{t:x}=pt(),T=Q.useContext(Te.ConfigProvider.ConfigContext),w=((B=T.getPrefixCls)==null?void 0:B.call(T))||"ant",N=u?`${u}.${e}`:e,M=o[N],F=Q.useCallback(U=>{n==null||n(U)},[n]),L=Q.useMemo(()=>sO(t),[t]),z=()=>{var U,D;if(L)return C.jsx(Nd,{name:e,schema:t,value:r,onChange:F,required:a,disabled:i});switch(p){case"string":return C.jsx(Io,{$prefixCls:w,children:C.jsx(Te.Input,{value:r,onChange:H=>F(H.target.value),disabled:i,placeholder:x("humanVerify.placeholder.input",{title:y})})});case"number":return C.jsx(Io,{$prefixCls:w,children:C.jsx(Te.InputNumber,{value:r,onChange:F,disabled:i,style:{width:"100%"},placeholder:x("humanVerify.placeholder.input",{title:y})})});case"boolean":return C.jsx(Te.Switch,{style:{borderRadius:16},checked:r,onChange:F,disabled:i});case"time":return C.jsx(YN,{name:e,schema:t,value:r,onChange:F,required:a,disabled:i});case"file":return C.jsx(QN,{name:e,schema:t,value:r,onChange:F,required:a,disabled:i,uploadSender:l,fileUploader:c});case"array":{const H=t==null?void 0:t.Items,G=(U=H==null?void 0:H.AssociationPropertyMetadata)==null?void 0:U.EnumValues,be=(D=H==null?void 0:H.AssociationPropertyMetadata)==null?void 0:D.EnumDisplayStyle;return Array.isArray(G)&&G.length>0&&(be==="multi-select"||be==="checkbox")&&H?C.jsxs(nO,{children:[C.jsxs(aO,{children:[a&&C.jsx(Dd,{children:"*"}),C.jsx("span",{children:y})]}),b&&C.jsx(iO,{children:b}),C.jsx(Nd,{name:e,schema:at(ne({},H),{Title:t.Title||H.Title}),value:r,onChange:F,required:a,disabled:i})]}):C.jsx(NN,{name:e,schema:t,value:r,onChange:F,required:a,disabled:i,level:s,errors:o,fieldPath:u,uploadSender:l,fileUploader:c})}case"object":return C.jsx(FN,{name:e,schema:t,value:r,onChange:F,required:a,disabled:i,level:s,errors:o,fieldPath:u,uploadSender:l,fileUploader:c});default:return C.jsx(Io,{$prefixCls:w,children:C.jsx(Te.Input,{value:r,onChange:H=>F(H.target.value),disabled:i,placeholder:x("humanVerify.placeholder.input",{title:y})})})}};return p==="object"||p==="array"||f?z():C.jsxs(JN,{children:[C.jsxs(ZN,{children:[a&&C.jsx(Dd,{children:"*"}),C.jsx(eO,{children:y})]}),z(),M&&C.jsx(rO,{children:M}),b&&!M&&C.jsx(tO,{children:b})]})},z4=Object.freeze(Object.defineProperty({__proto__:null,FieldRenderer:Hu,default:Hu},Symbol.toStringTag,{value:"Module"})),Ld=ue.div`
1748
+ width: 100%;
1749
+ padding-bottom: 12px;
1750
+ `,oO=ue.div`
1751
+ padding: 24px;
1752
+ text-align: center;
1753
+ color: #8f959e;
1754
+ font-size: 12px;
1755
+ background-color: #fafafa;
1756
+ border: 1px dashed #e5e6eb;
1757
+ border-radius: 6px;
1758
+ `,tc=({schema:e,value:t={},onChange:r,disabled:n=!1,errors:a={},uploadSender:i,fileUploader:s})=>{const o=e==null?void 0:e.Properties,u=(e==null?void 0:e.Required)||[],l=Q.useCallback((f,p)=>{r==null||r(at(ne({},t),{[f]:p}))},[t,r]);if(!o||Object.keys(o).length===0)return C.jsx(Ld,{children:C.jsx(oO,{children:"暂无参数配置"})});const c=ec(o);return C.jsx(Ld,{children:c==null?void 0:c.map(([f,p])=>{const h=u.includes(f);return C.jsx(Hu,{name:f,schema:p,value:t[f],onChange:b=>l(f,b),required:h,disabled:n,level:0,errors:a,fieldPath:"",uploadSender:i,fileUploader:s},f)})})},uO=e=>{const[t,r]=Q.useState({}),n=Q.useCallback(()=>Jn(e,t),[e,t]),a=Q.useCallback(()=>{r({})},[]),i=Q.useCallback((o,u)=>{r(l=>at(ne({},l),{[o]:u}))},[]),s=Q.useCallback(o=>t[o],[t]);return{value:t,setValue:r,validate:n,reset:a,setFieldValue:i,getFieldValue:s}},lO=ue.div`
1759
+ margin-top: 12px;
1760
+ width: 400px;
1761
+ max-width: 100%;
1762
+ `,cO=ue.div`
1763
+ margin-top: 16px;
1764
+ padding: 12px 16px;
1765
+ border-radius: 8px;
1766
+ display: flex;
1767
+ align-items: center;
1768
+ gap: 12px;
1769
+ background-color: ${e=>e.$approved?"rgb(238, 244, 248)":"rgb(252, 250, 245)"};
1770
+ border: 1px solid ${e=>e.$approved?"rgb(238, 244, 248)":"rgb(252, 250, 245)"};
1771
+ `,fO=ue.div`
1772
+ flex: 1;
1773
+ `,dO=ue.div`
1774
+ font-size: 14px;
1775
+ font-weight: 500;
1776
+ margin-bottom: 4px;
1777
+ `,H4=({data:e,uploadSender:t,fileUploader:r,onSubmit:n})=>{const{t:a}=pt(),i=e==null?void 0:e.verifyId,s=e==null?void 0:e.sessionWebhook,o=(e==null?void 0:e.approved)||!1,u=e==null?void 0:e.customParams,l=e==null?void 0:e.customParamsKey,[c,f]=Q.useState({}),[p,h]=Q.useState({});Q.useEffect(()=>{if(Object.keys(p).length>0&&u){const y=Jn(u,c);if(y.valid)h({});else{const x={};y.errors.forEach(T=>{x[T.field]=T.message}),h(x)}}},[c,u,p]);const b=Q.useCallback(()=>{if(!(!i||!n)){if(u){const y=Jn(u,c);if(!y.valid){const x={};y.errors.forEach(T=>{x[T.field]=T.message}),h(x),Te.message.error(a("humanVerify.requiredAll"));return}h({})}n==null||n({verifyId:i,sessionWebhook:s||"",status:"approve",customParamsKey:l,customParamsValue:c})}},[i,s,n,c,u,l]);return C.jsxs(lO,{children:[u&&C.jsx(tc,{schema:u,value:c,onChange:f,errors:p,uploadSender:t,fileUploader:r}),C.jsxs(cO,{$approved:o,children:[C.jsx(fO,{children:C.jsx(dO,{children:a(o?"humanVerify.submitted":"humanVerify.pending")})}),C.jsx(Te.Button,{color:"primary",variant:"filled",onClick:b,disabled:o,children:a("common.submit")})]})]})},Md=ue.div`
1778
+ margin-top: 12px;
1779
+ width: 400px;
1780
+ max-width: 100%;
1781
+ `,Pd=ue.div`
1782
+ margin-top: 16px;
1783
+ padding: 12px 16px;
1784
+ border-radius: 8px;
1785
+ display: flex;
1786
+ align-items: center;
1787
+ gap: 12px;
1788
+ background-color: ${e=>e.$approved?"rgb(238, 244, 248)":"rgb(252, 250, 245)"};
1789
+ border: 1px solid ${e=>e.$approved?"rgb(238, 244, 248)":"rgb(252, 250, 245)"};
1790
+ `,Fd=ue.div`
1791
+ flex: 1;
1792
+ `,Bd=ue.div`
1793
+ font-size: 14px;
1794
+ font-weight: 500;
1795
+ margin-bottom: 4px;
1796
+ `,Uu=e=>{if(!e)return;const t={Type:e.type||"string"};if(e.title&&(t.Title=e.title),e.description&&(t.Description=e.description),e.required&&Array.isArray(e.required)&&(t.Required=e.required),e.order!==void 0&&(t.order=e.order),e.associationPropertyMetadata){const r=e.associationPropertyMetadata;if(t.AssociationPropertyMetadata={},r.subType){const n=r.subType;t.AssociationPropertyMetadata.SubType=Array.isArray(n)?n:[n]}r.enumValues&&(t.AssociationPropertyMetadata.EnumValues=r.enumValues),r.enumDisplayStyle&&(t.AssociationPropertyMetadata.EnumDisplayStyle=r.enumDisplayStyle)}if(e.properties&&typeof e.properties=="object"){t.Properties={};for(const[r,n]of Object.entries(e.properties)){const a=Uu(n);a&&(t.Properties[r]=a)}}return e.items&&(t.Items=Uu(e.items)),t},U4=({data:e})=>{const{t}=pt(),r=e==null?void 0:e.approvalStatus,n=(e==null?void 0:e.formValues)||{},a=e==null?void 0:e.formSchema,i=r==="approved";return a?C.jsxs(Md,{children:[C.jsx(tc,{schema:a,value:n,disabled:!0}),C.jsxs(Pd,{$approved:i,children:[C.jsx(Fd,{children:C.jsx(Bd,{children:t(i?"humanVerify.submitted":"humanVerify.pending")})}),C.jsx(Te.Button,{color:"primary",variant:"filled",disabled:!0,children:t(i?"humanVerify.submitted":"common.submit")})]})]}):C.jsx(Md,{children:C.jsxs(Pd,{$approved:i,children:[C.jsx(Fd,{children:C.jsx(Bd,{children:t(i?"humanVerify.submitted":"humanVerify.pending")})}),C.jsx(Te.Button,{color:"primary",variant:"filled",disabled:!0,children:t(i?"humanVerify.submitted":"common.submit")})]})})},hO=ue.div`
1797
+ display: flex;
1798
+ flex-direction: column;
1799
+ max-width: ${e=>e.$role==="user"?"80%":"100%"};
1800
+ align-self: ${e=>e.$role==="user"?"flex-end":"flex-start"};
1801
+ `,mO=ue.div`
1802
+ padding: 12px 16px;
1803
+ border-radius: 12px;
1804
+ background: ${e=>e.$role==="user"?"linear-gradient(135deg, #667eea 0%, #764ba2 100%)":"rgba(205, 208, 220, 0.15)"};
1805
+ color: ${e=>e.$role==="user"?"#fff":"#333"};
1806
+ word-break: break-word;
1807
+
1808
+ /* 样式隔离 */
1809
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
1810
+ font-size: 14px;
1811
+ line-height: 1.6;
1812
+
1813
+ * {
1814
+ box-sizing: border-box;
1815
+ }
1816
+
1817
+ /* Markdown内容样式 */
1818
+ p {
1819
+ margin: 0 0 8px 0;
1820
+ &:last-child {
1821
+ margin-bottom: 0;
1822
+ }
1823
+ }
1824
+
1825
+ ul, ol {
1826
+ margin: 8px 0;
1827
+ padding-left: 20px;
1828
+ }
1829
+
1830
+ li {
1831
+ margin: 4px 0;
1832
+ p {
1833
+ display: block !important;
1834
+ }
1835
+ }
1836
+
1837
+ code {
1838
+ background: ${e=>e.$role==="user"?"rgba(255, 255, 255, 0.2)":"rgba(0, 0, 0, 0.05)"};
1839
+ padding: 2px 6px;
1840
+ border-radius: 4px;
1841
+ font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
1842
+ font-size: 13px;
1843
+ }
1844
+
1845
+ pre {
1846
+ background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.2)":"#f6f8fa"};
1847
+ padding: 12px;
1848
+ border-radius: 6px;
1849
+ overflow-x: auto;
1850
+
1851
+ code {
1852
+ background: transparent;
1853
+ padding: 0;
1854
+ }
1855
+ }
1856
+
1857
+ blockquote {
1858
+ margin: 8px 0;
1859
+ padding: 8px 16px;
1860
+ border-left: 4px solid ${e=>e.$role==="user"?"rgba(255, 255, 255, 0.5)":"#ddd"};
1861
+ background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.1)":"#f9f9f9"};
1862
+ }
1863
+
1864
+ table {
1865
+ border-collapse: collapse;
1866
+ width: 100%;
1867
+ margin: 8px 0;
1868
+
1869
+ th, td {
1870
+ border: 1px solid ${e=>e.$role==="user"?"rgba(255, 255, 255, 0.3)":"#ddd"};
1871
+ padding: 8px 12px;
1872
+ text-align: left;
1873
+ }
1874
+
1875
+ th {
1876
+ background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.1)":"#f6f8fa"};
1877
+ font-weight: 600;
1878
+ }
1879
+ }
1880
+
1881
+ img {
1882
+ max-width: 200px;
1883
+ max-height: 150px;
1884
+ object-fit: contain;
1885
+ border-radius: 4px;
1886
+ }
1887
+
1888
+ a {
1889
+ color: ${e=>e.$role==="user"?"#fff":"#1890ff"};
1890
+ text-decoration: underline;
1891
+ }
1892
+
1893
+ h1, h2, h3, h4, h5, h6 {
1894
+ margin: 16px 0 8px 0;
1895
+ font-weight: 600;
1896
+ line-height: 1.4;
1897
+
1898
+ &:first-child {
1899
+ margin-top: 0;
1900
+ }
1901
+ }
1902
+
1903
+ /* 深度思考样式 */
1904
+ details {
1905
+ margin: 8px 0;
1906
+ padding: 8px 12px;
1907
+ background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.1)":"#f6f8fa"};
1908
+ border-radius: 6px;
1909
+
1910
+ summary {
1911
+ cursor: pointer;
1912
+ font-weight: 500;
1913
+ }
1914
+
1915
+ pre.think {
1916
+ margin: 8px 0 0 0;
1917
+ padding: 8px;
1918
+ background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.1)":"#fff"};
1919
+ border-radius: 4px;
1920
+ white-space: pre-wrap;
1921
+ font-size: 13px;
1922
+ }
1923
+ }
1924
+ `,pO=ue.div`
1925
+ margin-top: 12px;
1926
+ `,gO=ue.div`
1927
+ display: flex;
1928
+ flex-wrap: wrap;
1929
+ gap: 8px;
1930
+ `,bO=({content:e,role:t="bot",status:r="Success",references:n=[],className:a,style:i,onReferenceClick:s,onWebSearchClick:o,eventType:u,humanVerifyData:l,historyCardData:c,onHumanVerifySubmit:f})=>{const{t:p}=pt(),[h,b]=Te.Modal.useModal(),[y,x]=Q.useState(!1),[T,w]=Q.useState([]);Q.useEffect(()=>{e!=null&&e.includes("```echarts")&&bi().catch(console.error)},[e]);const N=Q.useCallback(B=>{const U=B.Title||B.title,D=B.Text||B.text,H=B.Images||B.images;h.confirm({bodyStyle:{maxHeight:"80vh",overflow:"auto"},icon:null,title:p("source.title"),destroyOnClose:!0,maskClosable:!0,closable:!0,width:800,content:C.jsxs(Te.Space,{direction:"vertical",style:{width:"100%"},children:[C.jsxs("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:[U&&C.jsx("div",{style:{fontWeight:"bold",marginBottom:"8px"},children:U}),D&&C.jsx("div",{children:D})]}),H&&H.length>0&&C.jsx("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:C.jsx(gO,{children:H.map((G,be)=>C.jsx(Te.Image,{src:G,height:50},be))})})]}),footer:null})},[h,p]),M=Q.useCallback(B=>{w(B),x(!0)},[]),F=Q.useCallback(()=>{x(!1)},[]),L=s||N,z=o||M;return C.jsxs(C.Fragment,{children:[C.jsx(hO,{$role:t,className:`appflow-sdk-message-bubble ${a||""}`,style:i,children:C.jsxs(mO,{$role:t,children:[C.jsxs(_4,{content:e,status:r,role:t,children:[u==="humanVerify"&&l&&C.jsx(H4,{data:l,onSubmit:f}),u==="historyCard"&&c&&C.jsx(U4,{data:c}),n&&n.length>0&&r==="Success"&&C.jsx(pO,{children:C.jsx(Jl,{items:n,status:r,onItemClick:L,onWebSearchClick:z})})]}),b]})}),!o&&C.jsx(Zl,{items:T,open:y,onClose:F})]})},yO=ue.div`
1931
+ padding: 12px 16px;
1932
+ border-radius: 12px;
1933
+ background: rgba(205, 208, 220, 0.15);
1934
+ color: #333;
1935
+ word-break: break-word;
1936
+
1937
+ /* 样式隔离 */
1938
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
1939
+ font-size: 14px;
1940
+ line-height: 1.6;
1941
+
1942
+ * {
1943
+ box-sizing: border-box;
1944
+ }
1945
+
1946
+ /* Markdown内容样式 */
1947
+ p {
1948
+ margin: 0 0 8px 0;
1949
+ &:last-child {
1950
+ margin-bottom: 0;
1951
+ }
1952
+ }
1953
+
1954
+ ul, ol {
1955
+ margin: 8px 0;
1956
+ padding-left: 20px;
1957
+ }
1958
+
1959
+ li {
1960
+ margin: 4px 0;
1961
+ p {
1962
+ display: block !important;
1963
+ }
1964
+ }
1965
+
1966
+ code {
1967
+ background: rgba(0, 0, 0, 0.05);
1968
+ padding: 2px 6px;
1969
+ border-radius: 4px;
1970
+ font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
1971
+ font-size: 13px;
1972
+ }
1973
+
1974
+ pre {
1975
+ background: #f6f8fa;
1976
+ padding: 12px;
1977
+ border-radius: 6px;
1978
+ overflow-x: auto;
1979
+
1980
+ code {
1981
+ background: transparent;
1982
+ padding: 0;
1983
+ }
1984
+ }
1985
+
1986
+ table {
1987
+ border-collapse: collapse;
1988
+ width: 100%;
1989
+ margin: 8px 0;
1990
+
1991
+ th, td {
1992
+ border: 1px solid #ddd;
1993
+ padding: 8px 12px;
1994
+ text-align: left;
1995
+ }
1996
+
1997
+ th {
1998
+ background: #f6f8fa;
1999
+ font-weight: 600;
2000
+ }
2001
+
2002
+ tr:nth-child(even) {
2003
+ background: #f9f9f9;
2004
+ }
2005
+ }
2006
+
2007
+ img {
2008
+ max-width: 200px;
2009
+ max-height: 150px;
2010
+ object-fit: contain;
2011
+ border-radius: 4px;
2012
+ }
2013
+
2014
+ a {
2015
+ color: #1890ff;
2016
+ text-decoration: none;
2017
+
2018
+ &:hover {
2019
+ text-decoration: underline;
2020
+ }
2021
+ }
2022
+ `,EO=ue.div`
2023
+ margin-top: 12px;
2024
+ `,xO=ue.div`
2025
+ display: flex;
2026
+ flex-wrap: wrap;
2027
+ gap: 8px;
2028
+ `,TO=({content:e,messageType:t="markdown",status:r="Success",references:n=[],className:a,style:i,onReferenceClick:s,onWebSearchClick:o})=>{const{t:u}=pt(),[l,c]=Te.Modal.useModal(),[f,p]=Q.useState(!1),[h,b]=Q.useState([]);Q.useEffect(()=>{(e!=null&&e.includes("echart")||e!=null&&e.includes("echarts"))&&bi().catch(console.error)},[e]);const y=Q.useCallback(M=>{const F=M.Title||M.title,L=M.Text||M.text,z=M.Images||M.images;l.confirm({bodyStyle:{maxHeight:"80vh",overflow:"auto"},icon:null,title:u("source.title"),destroyOnClose:!0,maskClosable:!0,closable:!0,width:800,content:C.jsxs(Te.Space,{direction:"vertical",style:{width:"100%"},children:[C.jsxs("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:[F&&C.jsx("div",{style:{fontWeight:"bold",marginBottom:"8px"},children:F}),L&&C.jsx("div",{children:L})]}),z&&z.length>0&&C.jsx("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:C.jsx(xO,{children:z.map((B,U)=>C.jsx(Te.Image,{src:B,height:50},U))})})]}),footer:null})},[l,u]),x=Q.useCallback(M=>{b(M),p(!0)},[]),T=Q.useCallback(()=>{p(!1)},[]),w=s||y,N=o||x;return C.jsxs(C.Fragment,{children:[C.jsxs(yO,{className:`appflow-sdk-rich-message-bubble ${a||""}`,style:i,children:[C.jsx(I4,{content:e,messageType:t,status:r,role:"bot",children:n&&n.length>0&&r==="Success"&&C.jsx(EO,{children:C.jsx(Jl,{items:n,status:r,onItemClick:w,onWebSearchClick:N})})}),c]}),!o&&C.jsx(Zl,{items:h,open:f,onClose:T})]})},vO={common:{loading:"Loading...",confirm:"OK",cancel:"Cancel",submit:"Submit",retry:"Retry",copy:"Copy",copied:"Copied",placeholderSelect:"Please select"},humanVerify:{requiredAll:"Please fill in all required fields",submitted:"Submitted",pending:"Pending",placeholder:{input:"Please enter {title}",select:"Please select"},file:{supportAll:"Supports all file formats",supportFormats:"Supports {formats} formats",uploadButton:"Select File",uploading:"Uploading",upload:"Upload",defaultFileName:"File",maxSizeError:"File size cannot exceed {size}",uploadFailed:"File upload failed",tokenFailed:"Failed to get upload credentials",uploaderNotConfigured:"Upload feature is not configured",uploadMethodNotConfigured:"File upload method is not configured",getFileIdFailed:"Failed to get file ID"}},webSearch:{title:"Search Results",foundPages:"Found {count} web pages"},source:{title:"References",answerFrom:"Sources:",imageFrom:"Images:"},rich:{stepLabel:"Step {index}:",emptyContent:"No content"},markdown:{copyCode:"Copy code",copied:"Copied!",copy:"Copy",copiedShort:"Copied",deepThinking:"Deep Thinking",chartLoading:"Loading chart...",tableLoading:"Loading table...",tableLoadFailed:"Failed to load table data, please check the data format",chartLoadFailed:"Failed to load chart data, please check the data format",mermaidLoadFailed:"Failed to load Mermaid library",mermaidNotLoaded:"Mermaid is not loaded correctly",mermaidRenderFailed:"Mermaid chart rendering failed"},message:{like:"Like",dislike:"Dislike",regenerate:"Regenerate",copy:"Copy",copied:"Copied"}};exports.BubbleContent=_4;exports.ChatService=oh;exports.CustomParamsRenderer=tc;exports.DocReferences=Jl;exports.HistoryCard=U4;exports.HumanVerify=H4;exports.LocaleContext=Xl;exports.LocaleProvider=f_;exports.MarkdownRenderer=v_;exports.MarkdownView=Qt;exports.MessageBubble=bO;exports.RichBubbleContent=I4;exports.RichBubbleProvider=E4;exports.RichMessageBubble=TO;exports.SourceContent=P4;exports.WebSearchContent=F4;exports.WebSearchPanel=Zl;exports.chatService=D6;exports.convertSchemaToUpperCase=Uu;exports.enUS=vO;exports.getGlobalLocale=l_;exports.getGlobalLocaleName=c_;exports.loadEchartsScript=bi;exports.loadMermaidScript=C4;exports.setGlobalLocale=k4;exports.translate=Ln;exports.useCustomParamsRenderer=uO;exports.useRichBubbleContext=x4;exports.useTranslation=pt;exports.validateCustomParams=Jn;exports.zhCN=x0;