38 lines
334 KiB
JavaScript
38 lines
334 KiB
JavaScript
var Qc=Object.defineProperty;var eu=(t,e,n)=>e in t?Qc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var re=(t,e,n)=>(eu(t,typeof e!="symbol"?e+"":e,n),n),Io=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)};var k=(t,e,n)=>(Io(t,e,"read from private field"),n?n.call(t):e.get(t)),ee=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},W=(t,e,n,r)=>(Io(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n);var Cr=(t,e,n,r)=>({set _(o){W(t,e,o,n)},get _(){return k(t,e,r)}}),G=(t,e,n)=>(Io(t,e,"access private method"),n);import{i as Ps,j as Qa,g as ae,k as tu,l as el,m as be,n as co,q as qs,r as Pn,d as g,s as ye,F as pe,v as Fe,x as q,y as Ge,z as Q,t as Y,A as Z,B as De,C as oe,D as nu,p as K,b as Ft,u as de,I as ke,E as Vs,G as Ee,H as Wt,J as Os,K as Ke,L as uo,M as se,N as Pe,O as Zt,P as jt,Q as Zr,R as zs,T as ru,S as Tn,U as vt,V as tl,W as ze,X as nl,Y as Dn,Z as dn,$ as qn,a0 as Ci,a1 as ou,a2 as Ht,a3 as ge,a4 as fn,a5 as su,a6 as rl,a7 as Vn,a as hn,c as pn,a8 as mn,a9 as iu,aa as au,ab as lu,ac as Et,ad as us,ae as Lt,af as cu,ag as Rn,ah as ol,ai as Si,aj as sl,ak as Bs,al as uu,am as du,an as Ai,ao as fu,ap as hu,aq as pu,ar as il,as as al,at as mu,au as vu,h as Vr,av as gu,o as Kn,e as Po,w as me,aw as Ei,ax as Ti,f as kt}from"./index-46b44c7e.js";import{s as On,R as fo,o as nt,t as zn,v as pr,u as Fn,e as Bn,b as ho,h as po,k as Nn,w as yu,r as Kr,x as ll,y as mr,z as Ns,A as cl,B as $s,C as bu,D as ku,m as Ms,E as xu,F as ul,f as Us,G as wu,H as dl,I as Tt,a as mo,g as vo,p as er,J as Di,K as qo,L as Vo,M as Ri,N as Fi,O as _u,P as Cu,Q as Su,S as Au,T as Eu,n as Jt,q as Sr,l as Ar,V as Tu}from"./VResponsive-fde488f6.js";class ln{constructor(e){let{x:n,y:r,width:o,height:s}=e;this.x=n,this.y=r,this.width=o,this.height=s}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function Li(t,e){return{x:{before:Math.max(0,e.left-t.left),after:Math.max(0,t.right-e.right)},y:{before:Math.max(0,e.top-t.top),after:Math.max(0,t.bottom-e.bottom)}}}function fl(t){return Array.isArray(t)?new ln({x:t[0],y:t[1],width:0,height:0}):t.getBoundingClientRect()}function js(t){const e=t.getBoundingClientRect(),n=getComputedStyle(t),r=n.transform;if(r){let o,s,i,a,l;if(r.startsWith("matrix3d("))o=r.slice(9,-1).split(/, /),s=+o[0],i=+o[5],a=+o[12],l=+o[13];else if(r.startsWith("matrix("))o=r.slice(7,-1).split(/, /),s=+o[0],i=+o[3],a=+o[4],l=+o[5];else return new ln(e);const u=n.transformOrigin,c=e.x-a-(1-s)*parseFloat(u),d=e.y-l-(1-i)*parseFloat(u.slice(u.indexOf(" ")+1)),f=s?e.width/s:t.offsetWidth+1,p=i?e.height/i:t.offsetHeight+1;return new ln({x:c,y:d,width:f,height:p})}else return new ln(e)}function kn(t,e,n){if(typeof t.animate>"u")return{finished:Promise.resolve()};let r;try{r=t.animate(e,n)}catch{return{finished:Promise.resolve()}}return typeof r.finished>"u"&&(r.finished=new Promise(o=>{r.onfinish=()=>{o(r)}})),r}const Or=new WeakMap;function Du(t,e){Object.keys(e).forEach(n=>{if(Ps(n)){const r=Qa(n),o=Or.get(t);if(e[n]==null)o==null||o.forEach(s=>{const[i,a]=s;i===r&&(t.removeEventListener(r,a),o.delete(s))});else if(!o||![...o].some(s=>s[0]===r&&s[1]===e[n])){t.addEventListener(r,e[n]);const s=o||new Set;s.add([r,e[n]]),Or.has(t)||Or.set(t,s)}}else e[n]==null?t.removeAttribute(n):t.setAttribute(n,e[n])})}function Ru(t,e){Object.keys(e).forEach(n=>{if(Ps(n)){const r=Qa(n),o=Or.get(t);o==null||o.forEach(s=>{const[i,a]=s;i===r&&(t.removeEventListener(r,a),o.delete(s))})}else t.removeAttribute(n)})}function hl(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return ae()({name:n??tu(el(t.replace(/__/g,"-"))),props:{tag:{type:String,default:e},...be()},setup(r,o){let{slots:s}=o;return()=>{var i;return co(r.tag,{class:[t,r.class],style:r.style},(i=s.default)==null?void 0:i.call(s))}}})}function pl(t){if(typeof t.getRootNode!="function"){for(;t.parentNode;)t=t.parentNode;return t!==document?null:document}const e=t.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}const Jr="cubic-bezier(0.4, 0, 0.2, 1)",Fu="cubic-bezier(0.0, 0, 0.2, 1)",Lu="cubic-bezier(0.4, 0, 1, 1)";function ml(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;t;){if(e?Iu(t):Hs(t))return t;t=t.parentElement}return document.scrollingElement}function Yr(t,e){const n=[];if(e&&t&&!e.contains(t))return n;for(;t&&(Hs(t)&&n.push(t),t!==e);)t=t.parentElement;return n}function Hs(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return e.overflowY==="scroll"||e.overflowY==="auto"&&t.scrollHeight>t.clientHeight}function Iu(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return["scroll","auto"].includes(e.overflowY)}function Pu(t){for(;t;){if(window.getComputedStyle(t).position==="fixed")return!0;t=t.offsetParent}return!1}class en{constructor(){re(this,"author","");re(this,"profile","");re(this,"links",[["",""]]);re(this,"lang",nn.JAVA);re(this,"versions",[]);re(this,"elect_type",xn.Logic);re(this,"delay",[1,5]);re(this,"size",[1,1,1])}links2strs(){let e=[];return this.links.forEach(n=>{e.push(`[${n[0]}](${n[1]})`)}),e}versions2str(){let e="";return this.versions.forEach(n=>{e+=`\`${n}\`,`}),e}size2str(){return`${this.size[0]}x${this.size[1]}x${this.size[2]}`}delay2str(){return`${this.delay[0]}-${this.delay[1]}gt`}append_link(){this.links.push(["",""])}remove_links(e){this.links.length>1&&this.links.splice(e,1)}}re(en,"MAX_DELAY",64),re(en,"MAX_SIZE",1024);class nn{}re(nn,"JAVA","JAVA"),re(nn,"BE","BE");class Xr{}re(Xr,"JAVA",["1.20","1.19","1.18","1.17","1.16","1.15","1.14","1.13","1.12","1.11","1.10","1.9","1.8","1.7","1.6","1.5","1.4","1.3","1.2","1.1","1.0"]),re(Xr,"BE",["1.20","1.19","1.18","1.17","1.16","1.14","1.13","1.12","1.11","1.10","1.9","1.8","1.7","1.6","1.5","1.4","1.3","1.2","1.1","1.0"]);class xn{}re(xn,"Logic","逻辑"),re(xn,"Arithmetic","算术"),re(xn,"Analog","模拟"),re(xn,"Hybrid","混合");function vl(t,e){return function(){return t.apply(e,arguments)}}const{toString:qu}=Object.prototype,{getPrototypeOf:Gs}=Object,go=(t=>e=>{const n=qu.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),xt=t=>(t=t.toLowerCase(),e=>go(e)===t),yo=t=>e=>typeof e===t,{isArray:$n}=Array,or=yo("undefined");function Vu(t){return t!==null&&!or(t)&&t.constructor!==null&&!or(t.constructor)&&je(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const gl=xt("ArrayBuffer");function Ou(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&gl(t.buffer),e}const zu=yo("string"),je=yo("function"),yl=yo("number"),bo=t=>t!==null&&typeof t=="object",Bu=t=>t===!0||t===!1,zr=t=>{if(go(t)!=="object")return!1;const e=Gs(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Nu=xt("Date"),$u=xt("File"),Mu=xt("Blob"),Uu=xt("FileList"),ju=t=>bo(t)&&je(t.pipe),Hu=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||je(t.append)&&((e=go(t))==="formdata"||e==="object"&&je(t.toString)&&t.toString()==="[object FormData]"))},Gu=xt("URLSearchParams"),Wu=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function vr(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,o;if(typeof t!="object"&&(t=[t]),$n(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const s=n?Object.getOwnPropertyNames(t):Object.keys(t),i=s.length;let a;for(r=0;r<i;r++)a=s[r],e.call(null,t[a],a,t)}}function bl(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,o;for(;r-- >0;)if(o=n[r],e===o.toLowerCase())return o;return null}const kl=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),xl=t=>!or(t)&&t!==kl;function ds(){const{caseless:t}=xl(this)&&this||{},e={},n=(r,o)=>{const s=t&&bl(e,o)||o;zr(e[s])&&zr(r)?e[s]=ds(e[s],r):zr(r)?e[s]=ds({},r):$n(r)?e[s]=r.slice():e[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&vr(arguments[r],n);return e}const Zu=(t,e,n,{allOwnKeys:r}={})=>(vr(e,(o,s)=>{n&&je(o)?t[s]=vl(o,n):t[s]=o},{allOwnKeys:r}),t),Ku=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Ju=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},Yu=(t,e,n,r)=>{let o,s,i;const a={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),s=o.length;s-- >0;)i=o[s],(!r||r(i,t,e))&&!a[i]&&(e[i]=t[i],a[i]=!0);t=n!==!1&&Gs(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},Xu=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},Qu=t=>{if(!t)return null;if($n(t))return t;let e=t.length;if(!yl(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},ed=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Gs(Uint8Array)),td=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=r.next())&&!o.done;){const s=o.value;e.call(t,s[0],s[1])}},nd=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},rd=xt("HTMLFormElement"),od=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Ii=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),sd=xt("RegExp"),wl=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};vr(n,(o,s)=>{let i;(i=e(o,s,t))!==!1&&(r[s]=i||o)}),Object.defineProperties(t,r)},id=t=>{wl(t,(e,n)=>{if(je(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(je(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ad=(t,e)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return $n(t)?r(t):r(String(t).split(e)),n},ld=()=>{},cd=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Oo="abcdefghijklmnopqrstuvwxyz",Pi="0123456789",_l={DIGIT:Pi,ALPHA:Oo,ALPHA_DIGIT:Oo+Oo.toUpperCase()+Pi},ud=(t=16,e=_l.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function dd(t){return!!(t&&je(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const fd=t=>{const e=new Array(10),n=(r,o)=>{if(bo(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[o]=r;const s=$n(r)?[]:{};return vr(r,(i,a)=>{const l=n(i,o+1);!or(l)&&(s[a]=l)}),e[o]=void 0,s}}return r};return n(t,0)},hd=xt("AsyncFunction"),pd=t=>t&&(bo(t)||je(t))&&je(t.then)&&je(t.catch),z={isArray:$n,isArrayBuffer:gl,isBuffer:Vu,isFormData:Hu,isArrayBufferView:Ou,isString:zu,isNumber:yl,isBoolean:Bu,isObject:bo,isPlainObject:zr,isUndefined:or,isDate:Nu,isFile:$u,isBlob:Mu,isRegExp:sd,isFunction:je,isStream:ju,isURLSearchParams:Gu,isTypedArray:ed,isFileList:Uu,forEach:vr,merge:ds,extend:Zu,trim:Wu,stripBOM:Ku,inherits:Ju,toFlatObject:Yu,kindOf:go,kindOfTest:xt,endsWith:Xu,toArray:Qu,forEachEntry:td,matchAll:nd,isHTMLForm:rd,hasOwnProperty:Ii,hasOwnProp:Ii,reduceDescriptors:wl,freezeMethods:id,toObjectSet:ad,toCamelCase:od,noop:ld,toFiniteNumber:cd,findKey:bl,global:kl,isContextDefined:xl,ALPHABET:_l,generateString:ud,isSpecCompliantForm:dd,toJSONObject:fd,isAsyncFn:hd,isThenable:pd};function le(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}z.inherits(le,Error,{toJSON:function(){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:z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Cl=le.prototype,Sl={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Sl[t]={value:t}});Object.defineProperties(le,Sl);Object.defineProperty(Cl,"isAxiosError",{value:!0});le.from=(t,e,n,r,o,s)=>{const i=Object.create(Cl);return z.toFlatObject(t,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),le.call(i,t.message,e,n,r,o),i.cause=t,i.name=t.name,s&&Object.assign(i,s),i};const md=null;function fs(t){return z.isPlainObject(t)||z.isArray(t)}function Al(t){return z.endsWith(t,"[]")?t.slice(0,-2):t}function qi(t,e,n){return t?t.concat(e).map(function(o,s){return o=Al(o),!n&&s?"["+o+"]":o}).join(n?".":""):e}function vd(t){return z.isArray(t)&&!t.some(fs)}const gd=z.toFlatObject(z,{},null,function(e){return/^is[A-Z]/.test(e)});function ko(t,e,n){if(!z.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,v){return!z.isUndefined(v[h])});const r=n.metaTokens,o=n.visitor||c,s=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&z.isSpecCompliantForm(e);if(!z.isFunction(o))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(z.isDate(m))return m.toISOString();if(!l&&z.isBlob(m))throw new le("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(m)||z.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function c(m,h,v){let b=m;if(m&&!v&&typeof m=="object"){if(z.endsWith(h,"{}"))h=r?h:h.slice(0,-2),m=JSON.stringify(m);else if(z.isArray(m)&&vd(m)||(z.isFileList(m)||z.endsWith(h,"[]"))&&(b=z.toArray(m)))return h=Al(h),b.forEach(function(C,R){!(z.isUndefined(C)||C===null)&&e.append(i===!0?qi([h],R,s):i===null?h:h+"[]",u(C))}),!1}return fs(m)?!0:(e.append(qi(v,h,s),u(m)),!1)}const d=[],f=Object.assign(gd,{defaultVisitor:c,convertValue:u,isVisitable:fs});function p(m,h){if(!z.isUndefined(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+h.join("."));d.push(m),z.forEach(m,function(b,w){(!(z.isUndefined(b)||b===null)&&o.call(e,b,z.isString(w)?w.trim():w,h,f))===!0&&p(b,h?h.concat(w):[w])}),d.pop()}}if(!z.isObject(t))throw new TypeError("data must be an object");return p(t),e}function Vi(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Ws(t,e){this._pairs=[],t&&ko(t,this,e)}const El=Ws.prototype;El.append=function(e,n){this._pairs.push([e,n])};El.toString=function(e){const n=e?function(r){return e.call(this,r,Vi)}:Vi;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function yd(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Tl(t,e,n){if(!e)return t;const r=n&&n.encode||yd,o=n&&n.serialize;let s;if(o?s=o(e,n):s=z.isURLSearchParams(e)?e.toString():new Ws(e,n).toString(r),s){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}class bd{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){z.forEach(this.handlers,function(r){r!==null&&e(r)})}}const Oi=bd,Dl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},kd=typeof URLSearchParams<"u"?URLSearchParams:Ws,xd=typeof FormData<"u"?FormData:null,wd=typeof Blob<"u"?Blob:null,_d={isBrowser:!0,classes:{URLSearchParams:kd,FormData:xd,Blob:wd},protocols:["http","https","file","blob","url","data"]},Rl=typeof window<"u"&&typeof document<"u",Cd=(t=>Rl&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),Sd=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Ad=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Rl,hasStandardBrowserEnv:Cd,hasStandardBrowserWebWorkerEnv:Sd},Symbol.toStringTag,{value:"Module"})),ht={...Ad,..._d};function Ed(t,e){return ko(t,new ht.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,s){return ht.isNode&&z.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function Td(t){return z.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Dd(t){const e={},n=Object.keys(t);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],e[s]=t[s];return e}function Fl(t){function e(n,r,o,s){let i=n[s++];const a=Number.isFinite(+i),l=s>=n.length;return i=!i&&z.isArray(o)?o.length:i,l?(z.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!a):((!o[i]||!z.isObject(o[i]))&&(o[i]=[]),e(n,r,o[i],s)&&z.isArray(o[i])&&(o[i]=Dd(o[i])),!a)}if(z.isFormData(t)&&z.isFunction(t.entries)){const n={};return z.forEachEntry(t,(r,o)=>{e(Td(r),o,n,0)}),n}return null}function Rd(t,e,n){if(z.isString(t))try{return(e||JSON.parse)(t),z.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const Zs={transitional:Dl,adapter:["xhr","http"],transformRequest:[function(e,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=z.isObject(e);if(s&&z.isHTMLForm(e)&&(e=new FormData(e)),z.isFormData(e))return o&&o?JSON.stringify(Fl(e)):e;if(z.isArrayBuffer(e)||z.isBuffer(e)||z.isStream(e)||z.isFile(e)||z.isBlob(e))return e;if(z.isArrayBufferView(e))return e.buffer;if(z.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Ed(e,this.formSerializer).toString();if((a=z.isFileList(e))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return ko(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),Rd(e)):e}],transformResponse:[function(e){const n=this.transitional||Zs.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&z.isString(e)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(a){if(i)throw a.name==="SyntaxError"?le.from(a,le.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ht.classes.FormData,Blob:ht.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],t=>{Zs.headers[t]={}});const Ks=Zs,Fd=z.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"]),Ld=t=>{const e={};let n,r,o;return t&&t.split(`
|
||
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||e[n]&&Fd[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},zi=Symbol("internals");function Jn(t){return t&&String(t).trim().toLowerCase()}function Br(t){return t===!1||t==null?t:z.isArray(t)?t.map(Br):String(t)}function Id(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const Pd=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function zo(t,e,n,r,o){if(z.isFunction(r))return r.call(this,e,n);if(o&&(e=n),!!z.isString(e)){if(z.isString(r))return e.indexOf(r)!==-1;if(z.isRegExp(r))return r.test(e)}}function qd(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function Vd(t,e){const n=z.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(o,s,i){return this[r].call(this,e,o,s,i)},configurable:!0})})}class xo{constructor(e){e&&this.set(e)}set(e,n,r){const o=this;function s(a,l,u){const c=Jn(l);if(!c)throw new Error("header name must be a non-empty string");const d=z.findKey(o,c);(!d||o[d]===void 0||u===!0||u===void 0&&o[d]!==!1)&&(o[d||l]=Br(a))}const i=(a,l)=>z.forEach(a,(u,c)=>s(u,c,l));return z.isPlainObject(e)||e instanceof this.constructor?i(e,n):z.isString(e)&&(e=e.trim())&&!Pd(e)?i(Ld(e),n):e!=null&&s(n,e,r),this}get(e,n){if(e=Jn(e),e){const r=z.findKey(this,e);if(r){const o=this[r];if(!n)return o;if(n===!0)return Id(o);if(z.isFunction(n))return n.call(this,o,r);if(z.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Jn(e),e){const r=z.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||zo(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let o=!1;function s(i){if(i=Jn(i),i){const a=z.findKey(r,i);a&&(!n||zo(r,r[a],a,n))&&(delete r[a],o=!0)}}return z.isArray(e)?e.forEach(s):s(e),o}clear(e){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!e||zo(this,this[s],s,e,!0))&&(delete this[s],o=!0)}return o}normalize(e){const n=this,r={};return z.forEach(this,(o,s)=>{const i=z.findKey(r,s);if(i){n[i]=Br(o),delete n[s];return}const a=e?qd(s):String(s).trim();a!==s&&delete n[s],n[a]=Br(o),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return z.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=e&&z.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
|
||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(o=>r.set(o)),r}static accessor(e){const r=(this[zi]=this[zi]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=Jn(i);r[a]||(Vd(o,i),r[a]=!0)}return z.isArray(e)?e.forEach(s):s(e),this}}xo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);z.reduceDescriptors(xo.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});z.freezeMethods(xo);const Dt=xo;function Bo(t,e){const n=this||Ks,r=e||n,o=Dt.from(r.headers);let s=r.data;return z.forEach(t,function(a){s=a.call(n,s,o.normalize(),e?e.status:void 0)}),o.normalize(),s}function Ll(t){return!!(t&&t.__CANCEL__)}function gr(t,e,n){le.call(this,t??"canceled",le.ERR_CANCELED,e,n),this.name="CanceledError"}z.inherits(gr,le,{__CANCEL__:!0});function Od(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new le("Request failed with status code "+n.status,[le.ERR_BAD_REQUEST,le.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const zd=ht.hasStandardBrowserEnv?{write(t,e,n,r,o,s){const i=[t+"="+encodeURIComponent(e)];z.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),z.isString(r)&&i.push("path="+r),z.isString(o)&&i.push("domain="+o),s===!0&&i.push("secure"),document.cookie=i.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Bd(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Nd(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function Il(t,e){return t&&!Bd(e)?Nd(t,e):e}const $d=ht.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(s){let i=s;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const a=z.isString(i)?o(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function Md(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Ud(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o=0,s=0,i;return e=e!==void 0?e:1e3,function(l){const u=Date.now(),c=r[s];i||(i=u),n[o]=l,r[o]=u;let d=s,f=0;for(;d!==o;)f+=n[d++],d=d%t;if(o=(o+1)%t,o===s&&(s=(s+1)%t),u-i<e)return;const p=c&&u-c;return p?Math.round(f*1e3/p):void 0}}function Bi(t,e){let n=0;const r=Ud(50,250);return o=>{const s=o.loaded,i=o.lengthComputable?o.total:void 0,a=s-n,l=r(a),u=s<=i;n=s;const c={loaded:s,total:i,progress:i?s/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&u?(i-s)/l:void 0,event:o};c[e?"download":"upload"]=!0,t(c)}}const jd=typeof XMLHttpRequest<"u",Hd=jd&&function(t){return new Promise(function(n,r){let o=t.data;const s=Dt.from(t.headers).normalize();let{responseType:i,withXSRFToken:a}=t,l;function u(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}let c;if(z.isFormData(o)){if(ht.hasStandardBrowserEnv||ht.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((c=s.getContentType())!==!1){const[h,...v]=c?c.split(";").map(b=>b.trim()).filter(Boolean):[];s.setContentType([h||"multipart/form-data",...v].join("; "))}}let d=new XMLHttpRequest;if(t.auth){const h=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.set("Authorization","Basic "+btoa(h+":"+v))}const f=Il(t.baseURL,t.url);d.open(t.method.toUpperCase(),Tl(f,t.params,t.paramsSerializer),!0),d.timeout=t.timeout;function p(){if(!d)return;const h=Dt.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),b={data:!i||i==="text"||i==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:h,config:t,request:d};Od(function(C){n(C),u()},function(C){r(C),u()},b),d=null}if("onloadend"in d?d.onloadend=p:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(p)},d.onabort=function(){d&&(r(new le("Request aborted",le.ECONNABORTED,t,d)),d=null)},d.onerror=function(){r(new le("Network Error",le.ERR_NETWORK,t,d)),d=null},d.ontimeout=function(){let v=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const b=t.transitional||Dl;t.timeoutErrorMessage&&(v=t.timeoutErrorMessage),r(new le(v,b.clarifyTimeoutError?le.ETIMEDOUT:le.ECONNABORTED,t,d)),d=null},ht.hasStandardBrowserEnv&&(a&&z.isFunction(a)&&(a=a(t)),a||a!==!1&&$d(f))){const h=t.xsrfHeaderName&&t.xsrfCookieName&&zd.read(t.xsrfCookieName);h&&s.set(t.xsrfHeaderName,h)}o===void 0&&s.setContentType(null),"setRequestHeader"in d&&z.forEach(s.toJSON(),function(v,b){d.setRequestHeader(b,v)}),z.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),i&&i!=="json"&&(d.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&d.addEventListener("progress",Bi(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Bi(t.onUploadProgress)),(t.cancelToken||t.signal)&&(l=h=>{d&&(r(!h||h.type?new gr(null,t,d):h),d.abort(),d=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l)));const m=Md(f);if(m&&ht.protocols.indexOf(m)===-1){r(new le("Unsupported protocol "+m+":",le.ERR_BAD_REQUEST,t));return}d.send(o||null)})},hs={http:md,xhr:Hd};z.forEach(hs,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Ni=t=>`- ${t}`,Gd=t=>z.isFunction(t)||t===null||t===!1,Pl={getAdapter:t=>{t=z.isArray(t)?t:[t];const{length:e}=t;let n,r;const o={};for(let s=0;s<e;s++){n=t[s];let i;if(r=n,!Gd(n)&&(r=hs[(i=String(n)).toLowerCase()],r===void 0))throw new le(`Unknown adapter '${i}'`);if(r)break;o[i||"#"+s]=r}if(!r){const s=Object.entries(o).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let i=e?s.length>1?`since :
|
||
`+s.map(Ni).join(`
|
||
`):" "+Ni(s[0]):"as no adapter specified";throw new le("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:hs};function No(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new gr(null,t)}function $i(t){return No(t),t.headers=Dt.from(t.headers),t.data=Bo.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Pl.getAdapter(t.adapter||Ks.adapter)(t).then(function(r){return No(t),r.data=Bo.call(t,t.transformResponse,r),r.headers=Dt.from(r.headers),r},function(r){return Ll(r)||(No(t),r&&r.response&&(r.response.data=Bo.call(t,t.transformResponse,r.response),r.response.headers=Dt.from(r.response.headers))),Promise.reject(r)})}const Mi=t=>t instanceof Dt?t.toJSON():t;function Ln(t,e){e=e||{};const n={};function r(u,c,d){return z.isPlainObject(u)&&z.isPlainObject(c)?z.merge.call({caseless:d},u,c):z.isPlainObject(c)?z.merge({},c):z.isArray(c)?c.slice():c}function o(u,c,d){if(z.isUndefined(c)){if(!z.isUndefined(u))return r(void 0,u,d)}else return r(u,c,d)}function s(u,c){if(!z.isUndefined(c))return r(void 0,c)}function i(u,c){if(z.isUndefined(c)){if(!z.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,d){if(d in e)return r(u,c);if(d in t)return r(void 0,u)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(u,c)=>o(Mi(u),Mi(c),!0)};return z.forEach(Object.keys(Object.assign({},t,e)),function(c){const d=l[c]||o,f=d(t[c],e[c],c);z.isUndefined(f)&&d!==a||(n[c]=f)}),n}const ql="1.6.2",Js={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Js[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const Ui={};Js.transitional=function(e,n,r){function o(s,i){return"[Axios v"+ql+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(e===!1)throw new le(o(i," has been removed"+(n?" in "+n:"")),le.ERR_DEPRECATED);return n&&!Ui[i]&&(Ui[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(s,i,a):!0}};function Wd(t,e,n){if(typeof t!="object")throw new le("options must be an object",le.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const s=r[o],i=e[s];if(i){const a=t[s],l=a===void 0||i(a,s,t);if(l!==!0)throw new le("option "+s+" must be "+l,le.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new le("Unknown option "+s,le.ERR_BAD_OPTION)}}const ps={assertOptions:Wd,validators:Js},Pt=ps.validators;class Qr{constructor(e){this.defaults=e,this.interceptors={request:new Oi,response:new Oi}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ln(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&ps.assertOptions(r,{silentJSONParsing:Pt.transitional(Pt.boolean),forcedJSONParsing:Pt.transitional(Pt.boolean),clarifyTimeoutError:Pt.transitional(Pt.boolean)},!1),o!=null&&(z.isFunction(o)?n.paramsSerializer={serialize:o}:ps.assertOptions(o,{encode:Pt.function,serialize:Pt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&z.merge(s.common,s[n.method]);s&&z.forEach(["delete","get","head","post","put","patch","common"],m=>{delete s[m]}),n.headers=Dt.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(l=l&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const u=[];this.interceptors.response.forEach(function(h){u.push(h.fulfilled,h.rejected)});let c,d=0,f;if(!l){const m=[$i.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,u),f=m.length,c=Promise.resolve(n);d<f;)c=c.then(m[d++],m[d++]);return c}f=a.length;let p=n;for(d=0;d<f;){const m=a[d++],h=a[d++];try{p=m(p)}catch(v){h.call(this,v);break}}try{c=$i.call(this,p)}catch(m){return Promise.reject(m)}for(d=0,f=u.length;d<f;)c=c.then(u[d++],u[d++]);return c}getUri(e){e=Ln(this.defaults,e);const n=Il(e.baseURL,e.url);return Tl(n,e.params,e.paramsSerializer)}}z.forEach(["delete","get","head","options"],function(e){Qr.prototype[e]=function(n,r){return this.request(Ln(r||{},{method:e,url:n,data:(r||{}).data}))}});z.forEach(["post","put","patch"],function(e){function n(r){return function(s,i,a){return this.request(Ln(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Qr.prototype[e]=n(),Qr.prototype[e+"Form"]=n(!0)});const Nr=Qr;class Ys{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},e(function(s,i,a){r.reason||(r.reason=new gr(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new Ys(function(o){e=o}),cancel:e}}}const Zd=Ys;function Kd(t){return function(n){return t.apply(null,n)}}function Jd(t){return z.isObject(t)&&t.isAxiosError===!0}const ms={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};Object.entries(ms).forEach(([t,e])=>{ms[e]=t});const Yd=ms;function Vl(t){const e=new Nr(t),n=vl(Nr.prototype.request,e);return z.extend(n,Nr.prototype,e,{allOwnKeys:!0}),z.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return Vl(Ln(t,o))},n}const _e=Vl(Ks);_e.Axios=Nr;_e.CanceledError=gr;_e.CancelToken=Zd;_e.isCancel=Ll;_e.VERSION=ql;_e.toFormData=ko;_e.AxiosError=le;_e.Cancel=_e.CanceledError;_e.all=function(e){return Promise.all(e)};_e.spread=Kd;_e.isAxiosError=Jd;_e.mergeConfig=Ln;_e.AxiosHeaders=Dt;_e.formToJSON=t=>Fl(z.isHTMLForm(t)?new FormData(t):t);_e.getAdapter=Pl.getAdapter;_e.HttpStatusCode=Yd;_e.default=_e;const Xd=_e,Xs=Xd.create({baseURL:"http://localhost:3000",timeout:1e4,withCredentials:!1});Xs.interceptors.request.use(t=>t,t=>{Promise.reject(t)});Xs.interceptors.response.use(t=>t.data,t=>{let e="";if(t&&t.response)switch(t.response.status){case 302:e="接口重定向了!";break;case 400:e="参数不正确!";break;case 401:e="您未登录,或者登录已经超时,请先登录!";break;case 403:e="您没有权限操作!";break;case 404:e=`请求地址出错: ${t.response.config.url}`;break;case 408:e="请求超时!";break;case 409:e="系统已存在相同数据!";break;case 500:e="服务器内部错误!";break;case 501:e="服务未实现!";break;case 502:e="网关错误!";break;case 503:e="服务不可用!";break;case 504:e="服务暂时无法访问,请稍后再试!";break;case 505:e="HTTP 版本不受支持!";break;default:e="异常问题,请联系管理员!";break}return Promise.reject(e)});const Qd=()=>Xs({url:"/template/markdown.md",method:"GET"}),ue="md-editor",ef="md-editor-v3",tf="https://at.alicdn.com/t/c/font_2605852_prouiefeic.js",nf="https://at.alicdn.com/t/c/font_2605852_prouiefeic.css",xe="https://cdnjs.cloudflare.com/ajax/libs",rf=`${xe}/highlight.js/11.7.0/highlight.min.js`,of=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","htmlPreview","catalog","github"],sf=["markdownTotal","=","scrollSwitch"],ji={"zh-CN":{toolbarTips:{bold:"加粗",underline:"下划线",italic:"斜体",strikeThrough:"删除线",title:"标题",sub:"下标",sup:"上标",quote:"引用",unorderedList:"无序列表",orderedList:"有序列表",task:"任务列表",codeRow:"行内代码",code:"块级代码",link:"链接",image:"图片",table:"表格",mermaid:"mermaid图",katex:"katex公式",revoke:"后退",next:"前进",save:"保存",prettier:"美化",pageFullscreen:"浏览器全屏",fullscreen:"屏幕全屏",preview:"预览",htmlPreview:"html代码预览",catalog:"目录",github:"源码地址"},titleItem:{h1:"一级标题",h2:"二级标题",h3:"三级标题",h4:"四级标题",h5:"五级标题",h6:"六级标题"},imgTitleItem:{link:"添加链接",upload:"上传图片",clip2upload:"裁剪上传"},linkModalTips:{linkTitle:"添加链接",imageTitle:"添加图片",descLabel:"链接描述:",descLabelPlaceHolder:"请输入描述...",urlLabel:"链接地址:",urlLabelPlaceHolder:"请输入链接...",buttonOK:"确定"},clipModalTips:{title:"裁剪图片上传",buttonUpload:"上传"},copyCode:{text:"复制代码",successTips:"已复制!",failTips:"复制失败!"},mermaid:{flow:"流程图",sequence:"时序图",gantt:"甘特图",class:"类图",state:"状态图",pie:"饼图",relationship:"关系图",journey:"旅程图"},katex:{inline:"行内公式",block:"块级公式"},footer:{markdownTotal:"字数",scrollAuto:"同步滚动"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",task:"task list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Img Link",upload:"Upload Img",clip2upload:"Clip Upload"},linkModalTips:{linkTitle:"Add Link",imageTitle:"Add Image",descLabel:"Desc:",descLabelPlaceHolder:"Enter a description...",urlLabel:"Link:",urlLabelPlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",successTips:"Copied!",failTips:"Copy failed!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"},footer:{markdownTotal:"Word Count",scrollAuto:"Scroll Auto"}}},af=`${xe}/mermaid/10.1.0/mermaid.esm.min.mjs`,Hi={js:`${xe}/KaTeX/0.16.3/katex.min.js`,css:`${xe}/KaTeX/0.16.3/katex.min.css`},Gi={a11y:{light:`${xe}/highlight.js/11.7.0/styles/a11y-light.min.css`,dark:`${xe}/highlight.js/11.7.0/styles/a11y-dark.min.css`},atom:{light:`${xe}/highlight.js/11.7.0/styles/atom-one-light.min.css`,dark:`${xe}/highlight.js/11.7.0/styles/atom-one-dark.min.css`},github:{light:`${xe}/highlight.js/11.7.0/styles/github.min.css`,dark:`${xe}/highlight.js/11.7.0/styles/github-dark.min.css`},gradient:{light:`${xe}/highlight.js/11.7.0/styles/gradient-light.min.css`,dark:`${xe}/highlight.js/11.7.0/styles/gradient-dark.min.css`},kimbie:{light:`${xe}/highlight.js/11.7.0/styles/kimbie-light.min.css`,dark:`${xe}/highlight.js/11.7.0/styles/kimbie-dark.min.css`},paraiso:{light:`${xe}/highlight.js/11.7.0/styles/paraiso-light.min.css`,dark:`${xe}/highlight.js/11.7.0/styles/paraiso-dark.min.css`},qtcreator:{light:`${xe}/highlight.js/11.7.0/styles/qtcreator-light.min.css`,dark:`${xe}/highlight.js/11.7.0/styles/qtcreator-dark.min.css`},stackoverflow:{light:`${xe}/highlight.js/11.7.0/styles/stackoverflow-light.min.css`,dark:`${xe}/highlight.js/11.7.0/styles/stackoverflow-dark.min.css`}},gt={editorExtensions:{},editorConfig:{},codeMirrorExtensions:(t,e)=>e,markdownItConfig:()=>{},markdownItPlugins:t=>t,iconfontType:"svg"},Qs=(t,e=200)=>{let n=0;return(...r)=>new Promise(o=>{n&&(clearTimeout(n),o("cancel")),n=window.setTimeout(()=>{t.apply(void 0,r),n=0,o("done")},e)})};var lf=Object.defineProperty,cf=(t,e,n)=>e in t?lf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,uf=(t,e,n)=>(cf(t,typeof e!="symbol"?e+"":e,n),n);let df=class{constructor(){uf(this,"pools",{})}remove(e,n,r){const o=this.pools[e]&&this.pools[e][n];o&&(this.pools[e][n]=o.filter(s=>s!==r))}clear(e){this.pools[e]={}}on(e,n){return this.pools[e]||(this.pools[e]={}),this.pools[e][n.name]||(this.pools[e][n.name]=[]),this.pools[e][n.name].push(n.callback),this.pools[e][n.name].includes(n.callback)}emit(e,n,...r){this.pools[e]||(this.pools[e]={});const o=this.pools[e][n];o&&o.forEach(s=>{try{s(...r)}catch(i){console.error(`${n} monitor event exception!`,i)}})}};const tr=new df,ff="buildFinished",Wi="catalogChanged",hf="pushCatalog",pf=t=>{if(!t)return t;const e=t.split(`
|
||
`),n=['<span rn-wrapper aria-hidden="true">'];return e.forEach(()=>{n.push("<span></span>")}),n.push("</span>"),`<span class="code-block">${t}</span>${n.join("")}`},mf=()=>`${Date.now().toString(36)}${Math.random().toString(36).substring(2)}`,cn=(t,e="")=>{const n=document.getElementById(t.id),r=t.onload;t.onload=null;const o=function(s){typeof r=="function"&&r.bind(this)(s),t.removeEventListener("load",o)};n?e!==""&&(n.addEventListener("load",o),Reflect.get(window,e)&&n.dispatchEvent(new Event("load"))):(t.addEventListener("load",o),document.head.appendChild(t))},vf=Qs((t,e,n)=>{const r=document.getElementById(t);r&&r.setAttribute(e,n)},10),gf=1024;let yf=0;class we{constructor(e={}){this.id=yf++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Rt.match(e)),n=>{let r=e(n);return r===void 0?null:[this,r]}}}we.closedBy=new we({deserialize:t=>t.split(" ")});we.openedBy=new we({deserialize:t=>t.split(" ")});we.group=new we({deserialize:t=>t.split(" ")});we.contextHash=new we({perNode:!0});we.lookAhead=new we({perNode:!0});we.mounted=new we({perNode:!0});class eo{constructor(e,n,r){this.tree=e,this.overlay=n,this.parser=r}static get(e){return e&&e.props&&e.props[we.mounted.id]}}const bf=Object.create(null);class Rt{constructor(e,n,r,o=0){this.name=e,this.props=n,this.id=r,this.flags=o}static define(e){let n=e.props&&e.props.length?Object.create(null):bf,r=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),o=new Rt(e.name||"",n,e.id,r);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(o)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");n[s[0].id]=s[1]}}return o}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let n=this.prop(we.group);return n?n.indexOf(e)>-1:!1}return this.id==e}static match(e){let n=Object.create(null);for(let r in e)for(let o of r.split(" "))n[o]=e[r];return r=>{for(let o=r.prop(we.group),s=-1;s<(o?o.length:0);s++){let i=n[s<0?r.name:o[s]];if(i)return i}}}}Rt.none=new Rt("",Object.create(null),0,8);const Er=new WeakMap,Zi=new WeakMap;var Le;(function(t){t[t.ExcludeBuffers=1]="ExcludeBuffers",t[t.IncludeAnonymous=2]="IncludeAnonymous",t[t.IgnoreMounts=4]="IgnoreMounts",t[t.IgnoreOverlays=8]="IgnoreOverlays"})(Le||(Le={}));class yt{constructor(e,n,r,o,s){if(this.type=e,this.children=n,this.positions=r,this.length=o,this.props=null,s&&s.length){this.props=Object.create(null);for(let[i,a]of s)this.props[typeof i=="number"?i:i.id]=a}}toString(){let e=eo.get(this);if(e&&!e.overlay)return e.tree.toString();let n="";for(let r of this.children){let o=r.toString();o&&(n&&(n+=","),n+=o)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(n.length?"("+n+")":""):n}cursor(e=0){return new gs(this.topNode,e)}cursorAt(e,n=0,r=0){let o=Er.get(this)||this.topNode,s=new gs(o);return s.moveTo(e,n),Er.set(this,s._tree),s}get topNode(){return new He(this,0,0,null)}resolve(e,n=0){let r=sr(Er.get(this)||this.topNode,e,n,!1);return Er.set(this,r),r}resolveInner(e,n=0){let r=sr(Zi.get(this)||this.topNode,e,n,!0);return Zi.set(this,r),r}resolveStack(e,n=0){return wf(this,e,n)}iterate(e){let{enter:n,leave:r,from:o=0,to:s=this.length}=e,i=e.mode||0,a=(i&Le.IncludeAnonymous)>0;for(let l=this.cursor(i|Le.IncludeAnonymous);;){let u=!1;if(l.from<=s&&l.to>=o&&(!a&&l.type.isAnonymous||n(l)!==!1)){if(l.firstChild())continue;u=!0}for(;u&&r&&(a||!l.type.isAnonymous)&&r(l),!l.nextSibling();){if(!l.parent())return;u=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let n in this.props)e.push([+n,this.props[n]]);return e}balance(e={}){return this.children.length<=8?this:ni(Rt.none,this.children,this.positions,0,this.children.length,0,this.length,(n,r,o)=>new yt(this.type,n,r,o,this.propValues),e.makeTree||((n,r,o)=>new yt(Rt.none,n,r,o)))}static build(e){return _f(e)}}yt.empty=new yt(Rt.none,[],[],0);class ei{constructor(e,n){this.buffer=e,this.index=n}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new ei(this.buffer,this.index)}}class Gt{constructor(e,n,r){this.buffer=e,this.length=n,this.set=r}get type(){return Rt.none}toString(){let e=[];for(let n=0;n<this.buffer.length;)e.push(this.childString(n)),n=this.buffer[n+3];return e.join(",")}childString(e){let n=this.buffer[e],r=this.buffer[e+3],o=this.set.types[n],s=o.name;if(/\W/.test(s)&&!o.isError&&(s=JSON.stringify(s)),e+=4,r==e)return s;let i=[];for(;e<r;)i.push(this.childString(e)),e=this.buffer[e+3];return s+"("+i.join(",")+")"}findChild(e,n,r,o,s){let{buffer:i}=this,a=-1;for(let l=e;l!=n&&!(Ol(s,o,i[l+1],i[l+2])&&(a=l,r>0));l=i[l+3]);return a}slice(e,n,r){let o=this.buffer,s=new Uint16Array(n-e),i=0;for(let a=e,l=0;a<n;){s[l++]=o[a++],s[l++]=o[a++]-r;let u=s[l++]=o[a++]-r;s[l++]=o[a++]-e,i=Math.max(i,u)}return new Gt(s,i,this.set)}}function Ol(t,e,n,r){switch(t){case-2:return n<e;case-1:return r>=e&&n<e;case 0:return n<e&&r>e;case 1:return n<=e&&r>e;case 2:return r>e;case 4:return!0}}function sr(t,e,n,r){for(var o;t.from==t.to||(n<1?t.from>=e:t.from>e)||(n>-1?t.to<=e:t.to<e);){let i=!r&&t instanceof He&&t.index<0?null:t.parent;if(!i)return t;t=i}let s=r?0:Le.IgnoreOverlays;if(r)for(let i=t,a=i.parent;a;i=a,a=i.parent)i instanceof He&&i.index<0&&((o=a.enter(e,n,s))===null||o===void 0?void 0:o.from)!=i.from&&(t=a);for(;;){let i=t.enter(e,n,s);if(!i)return t;t=i}}class zl{cursor(e=0){return new gs(this,e)}getChild(e,n=null,r=null){let o=Ki(this,e,n,r);return o.length?o[0]:null}getChildren(e,n=null,r=null){return Ki(this,e,n,r)}resolve(e,n=0){return sr(this,e,n,!1)}resolveInner(e,n=0){return sr(this,e,n,!0)}matchContext(e){return vs(this,e)}enterUnfinishedNodesBefore(e){let n=this.childBefore(e),r=this;for(;n;){let o=n.lastChild;if(!o||o.to!=n.to)break;o.type.isError&&o.from==o.to?(r=n,n=o.prevSibling):n=o}return r}get node(){return this}get next(){return this.parent}}class He extends zl{constructor(e,n,r,o){super(),this._tree=e,this.from=n,this.index=r,this._parent=o}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,n,r,o,s=0){for(let i=this;;){for(let{children:a,positions:l}=i._tree,u=n>0?a.length:-1;e!=u;e+=n){let c=a[e],d=l[e]+i.from;if(Ol(o,r,d,d+c.length)){if(c instanceof Gt){if(s&Le.ExcludeBuffers)continue;let f=c.findChild(0,c.buffer.length,n,r-d,o);if(f>-1)return new Mt(new kf(i,c,e,d),null,f)}else if(s&Le.IncludeAnonymous||!c.type.isAnonymous||ti(c)){let f;if(!(s&Le.IgnoreMounts)&&(f=eo.get(c))&&!f.overlay)return new He(f.tree,d,e,i);let p=new He(c,d,e,i);return s&Le.IncludeAnonymous||!p.type.isAnonymous?p:p.nextChild(n<0?c.children.length-1:0,n,r,o)}}}if(s&Le.IncludeAnonymous||!i.type.isAnonymous||(i.index>=0?e=i.index+n:e=n<0?-1:i._parent._tree.children.length,i=i._parent,!i))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,n,r=0){let o;if(!(r&Le.IgnoreOverlays)&&(o=eo.get(this._tree))&&o.overlay){let s=e-this.from;for(let{from:i,to:a}of o.overlay)if((n>0?i<=s:i<s)&&(n<0?a>=s:a>s))return new He(o.tree,o.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,n,r)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function Ki(t,e,n,r){let o=t.cursor(),s=[];if(!o.firstChild())return s;if(n!=null){for(;!o.type.is(n);)if(!o.nextSibling())return s}for(;;){if(r!=null&&o.type.is(r))return s;if(o.type.is(e)&&s.push(o.node),!o.nextSibling())return r==null?s:[]}}function vs(t,e,n=e.length-1){for(let r=t.parent;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(e[n]&&e[n]!=r.name)return!1;n--}}return!0}class kf{constructor(e,n,r,o){this.parent=e,this.buffer=n,this.index=r,this.start=o}}class Mt extends zl{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,n,r){super(),this.context=e,this._parent=n,this.index=r,this.type=e.buffer.set.types[e.buffer.buffer[r]]}child(e,n,r){let{buffer:o}=this.context,s=o.findChild(this.index+4,o.buffer[this.index+3],e,n-this.context.start,r);return s<0?null:new Mt(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,n,r=0){if(r&Le.ExcludeBuffers)return null;let{buffer:o}=this.context,s=o.findChild(this.index+4,o.buffer[this.index+3],n>0?1:-1,e-this.context.start,n);return s<0?null:new Mt(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,n=e.buffer[this.index+3];return n<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new Mt(this.context,this._parent,n):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new Mt(this.context,this._parent,e.findChild(n,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],n=[],{buffer:r}=this.context,o=this.index+4,s=r.buffer[this.index+3];if(s>o){let i=r.buffer[this.index+1];e.push(r.slice(o,s,i)),n.push(0)}return new yt(this.type,e,n,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function Bl(t){if(!t.length)return null;let e=0,n=t[0];for(let s=1;s<t.length;s++){let i=t[s];(i.from>n.from||i.to<n.to)&&(n=i,e=s)}let r=n instanceof He&&n.index<0?null:n.parent,o=t.slice();return r?o[e]=r:o.splice(e,1),new xf(o,n)}class xf{constructor(e,n){this.heads=e,this.node=n}get next(){return Bl(this.heads)}}function wf(t,e,n){let r=t.resolveInner(e,n),o=null;for(let s=r instanceof He?r:r.context.parent;s;s=s.parent)if(s.index<0){let i=s.parent;(o||(o=[r])).push(i.resolve(e,n)),s=i}else{let i=eo.get(s.tree);if(i&&i.overlay&&i.overlay[0].from<=e&&i.overlay[i.overlay.length-1].to>=e){let a=new He(i.tree,i.overlay[0].from+s.from,-1,s);(o||(o=[r])).push(sr(a,e,n,!1))}}return o?Bl(o):r}class gs{get name(){return this.type.name}constructor(e,n=0){if(this.mode=n,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof He)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let r=e._parent;r;r=r._parent)this.stack.unshift(r.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,n){this.index=e;let{start:r,buffer:o}=this.buffer;return this.type=n||o.set.types[o.buffer[e]],this.from=r+o.buffer[e+1],this.to=r+o.buffer[e+2],!0}yield(e){return e?e instanceof He?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,n,r){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,n,r,this.mode));let{buffer:o}=this.buffer,s=o.findChild(this.index+4,o.buffer[this.index+3],e,n-this.buffer.start,r);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,n,r=this.mode){return this.buffer?r&Le.ExcludeBuffers?!1:this.enterChild(1,e,n):this.yield(this._tree.enter(e,n,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Le.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Le.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:n}=this.buffer,r=this.stack.length-1;if(e<0){let o=r<0?0:this.stack[r]+4;if(this.index!=o)return this.yieldBuf(n.findChild(o,this.index,-1,0,4))}else{let o=n.buffer[this.index+3];if(o<(r<0?n.buffer.length:n.buffer[this.stack[r]+3]))return this.yieldBuf(o)}return r<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let n,r,{buffer:o}=this;if(o){if(e>0){if(this.index<o.buffer.buffer.length)return!1}else for(let s=0;s<this.index;s++)if(o.buffer.buffer[s+3]<this.index)return!1;({index:n,parent:r}=o)}else({index:n,_parent:r}=this._tree);for(;r;{index:n,_parent:r}=r)if(n>-1)for(let s=n+e,i=e<0?-1:r._tree.children.length;s!=i;s+=e){let a=r._tree.children[s];if(this.mode&Le.IncludeAnonymous||a instanceof Gt||!a.type.isAnonymous||ti(a))return!1}return!0}move(e,n){if(n&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,n=0){for(;(this.from==this.to||(n<1?this.from>=e:this.from>e)||(n>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,n););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,n=null,r=0;if(e&&e.context==this.buffer)e:for(let o=this.index,s=this.stack.length;s>=0;){for(let i=e;i;i=i._parent)if(i.index==o){if(o==this.index)return i;n=i,r=s+1;break e}o=this.stack[--s]}for(let o=r;o<this.stack.length;o++)n=new Mt(this.buffer,n,this.stack[o]);return this.bufferNode=new Mt(this.buffer,n,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,n){for(let r=0;;){let o=!1;if(this.type.isAnonymous||e(this)!==!1){if(this.firstChild()){r++;continue}this.type.isAnonymous||(o=!0)}for(;o&&n&&n(this),o=this.type.isAnonymous,!this.nextSibling();){if(!r)return;this.parent(),r--,o=!0}}}matchContext(e){if(!this.buffer)return vs(this.node,e);let{buffer:n}=this.buffer,{types:r}=n.set;for(let o=e.length-1,s=this.stack.length-1;o>=0;s--){if(s<0)return vs(this.node,e,o);let i=r[n.buffer[this.stack[s]]];if(!i.isAnonymous){if(e[o]&&e[o]!=i.name)return!1;o--}}return!0}}function ti(t){return t.children.some(e=>e instanceof Gt||!e.type.isAnonymous||ti(e))}function _f(t){var e;let{buffer:n,nodeSet:r,maxBufferLength:o=gf,reused:s=[],minRepeatType:i=r.types.length}=t,a=Array.isArray(n)?new ei(n,n.length):n,l=r.types,u=0,c=0;function d(E,_,y,x,L,F){let{id:T,start:A,end:D,size:S}=a,V=c;for(;S<0;)if(a.next(),S==-1){let B=s[T];y.push(B),x.push(A-E);return}else if(S==-3){u=T;return}else if(S==-4){c=T;return}else throw new RangeError(`Unrecognized record size: ${S}`);let I=l[T],$,P,O=A-E;if(D-A<=o&&(P=v(a.pos-_,L))){let B=new Uint16Array(P.size-P.skip),U=a.pos-P.size,j=B.length;for(;a.pos>U;)j=b(P.start,B,j);$=new Gt(B,D-P.start,r),O=P.start-E}else{let B=a.pos-S;a.next();let U=[],j=[],H=T>=i?T:-1,X=0,te=D;for(;a.pos>B;)H>=0&&a.id==H&&a.size>=0?(a.end<=te-o&&(m(U,j,A,X,a.end,te,H,V),X=U.length,te=a.end),a.next()):F>2500?f(A,B,U,j):d(A,B,U,j,H,F+1);if(H>=0&&X>0&&X<U.length&&m(U,j,A,X,A,te,H,V),U.reverse(),j.reverse(),H>-1&&X>0){let M=p(I);$=ni(I,U,j,0,U.length,0,D-A,M,M)}else $=h(I,U,j,D-A,V-D)}y.push($),x.push(O)}function f(E,_,y,x){let L=[],F=0,T=-1;for(;a.pos>_;){let{id:A,start:D,end:S,size:V}=a;if(V>4)a.next();else{if(T>-1&&D<T)break;T<0&&(T=S-o),L.push(A,D,S),F++,a.next()}}if(F){let A=new Uint16Array(F*4),D=L[L.length-2];for(let S=L.length-3,V=0;S>=0;S-=3)A[V++]=L[S],A[V++]=L[S+1]-D,A[V++]=L[S+2]-D,A[V++]=V;y.push(new Gt(A,L[2]-D,r)),x.push(D-E)}}function p(E){return(_,y,x)=>{let L=0,F=_.length-1,T,A;if(F>=0&&(T=_[F])instanceof yt){if(!F&&T.type==E&&T.length==x)return T;(A=T.prop(we.lookAhead))&&(L=y[F]+T.length+A)}return h(E,_,y,x,L)}}function m(E,_,y,x,L,F,T,A){let D=[],S=[];for(;E.length>x;)D.push(E.pop()),S.push(_.pop()+y-L);E.push(h(r.types[T],D,S,F-L,A-F)),_.push(L-y)}function h(E,_,y,x,L=0,F){if(u){let T=[we.contextHash,u];F=F?[T].concat(F):[T]}if(L>25){let T=[we.lookAhead,L];F=F?[T].concat(F):[T]}return new yt(E,_,y,x,F)}function v(E,_){let y=a.fork(),x=0,L=0,F=0,T=y.end-o,A={size:0,start:0,skip:0};e:for(let D=y.pos-E;y.pos>D;){let S=y.size;if(y.id==_&&S>=0){A.size=x,A.start=L,A.skip=F,F+=4,x+=4,y.next();continue}let V=y.pos-S;if(S<0||V<D||y.start<T)break;let I=y.id>=i?4:0,$=y.start;for(y.next();y.pos>V;){if(y.size<0)if(y.size==-3)I+=4;else break e;else y.id>=i&&(I+=4);y.next()}L=$,x+=S,F+=I}return(_<0||x==E)&&(A.size=x,A.start=L,A.skip=F),A.size>4?A:void 0}function b(E,_,y){let{id:x,start:L,end:F,size:T}=a;if(a.next(),T>=0&&x<i){let A=y;if(T>4){let D=a.pos-(T-4);for(;a.pos>D;)y=b(E,_,y)}_[--y]=A,_[--y]=F-E,_[--y]=L-E,_[--y]=x}else T==-3?u=x:T==-4&&(c=x);return y}let w=[],C=[];for(;a.pos>0;)d(t.start||0,t.bufferStart||0,w,C,-1,0);let R=(e=t.length)!==null&&e!==void 0?e:w.length?C[0]+w[0].length:0;return new yt(l[t.topID],w.reverse(),C.reverse(),R)}const Ji=new WeakMap;function $r(t,e){if(!t.isAnonymous||e instanceof Gt||e.type!=t)return 1;let n=Ji.get(e);if(n==null){n=1;for(let r of e.children){if(r.type!=t||!(r instanceof yt)){n=1;break}n+=$r(t,r)}Ji.set(e,n)}return n}function ni(t,e,n,r,o,s,i,a,l){let u=0;for(let m=r;m<o;m++)u+=$r(t,e[m]);let c=Math.ceil(u*1.5/8),d=[],f=[];function p(m,h,v,b,w){for(let C=v;C<b;){let R=C,E=h[C],_=$r(t,m[C]);for(C++;C<b;C++){let y=$r(t,m[C]);if(_+y>=c)break;_+=y}if(C==R+1){if(_>c){let y=m[R];p(y.children,y.positions,0,y.children.length,h[R]+w);continue}d.push(m[R])}else{let y=h[C-1]+m[C-1].length-E;d.push(ni(t,m,h,R,C,E,y,null,l))}f.push(E+w-s)}}return p(e,n,r,o,0),(a||l)(d,f,i)}new we({perNode:!0});let Cf=0;class ft{constructor(e,n,r){this.set=e,this.base=n,this.modified=r,this.id=Cf++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let n=new ft([],null,[]);if(n.set.push(n),e)for(let r of e.set)n.set.push(r);return n}static defineModifier(){let e=new to;return n=>n.modified.indexOf(e)>-1?n:to.get(n.base||n,n.modified.concat(e).sort((r,o)=>r.id-o.id))}}let Sf=0;class to{constructor(){this.instances=[],this.id=Sf++}static get(e,n){if(!n.length)return e;let r=n[0].instances.find(a=>a.base==e&&Af(n,a.modified));if(r)return r;let o=[],s=new ft(o,e,n);for(let a of n)a.instances.push(s);let i=Ef(n);for(let a of e.set)if(!a.modified.length)for(let l of i)o.push(to.get(a,l));return s}}function Af(t,e){return t.length==e.length&&t.every((n,r)=>n==e[r])}function Ef(t){let e=[[]];for(let n=0;n<t.length;n++)for(let r=0,o=e.length;r<o;r++)e.push(e[r].concat(t[n]));return e.sort((n,r)=>r.length-n.length)}new we;function Tf(t,e){let n=Object.create(null);for(let s of t)if(!Array.isArray(s.tag))n[s.tag.id]=s.class;else for(let i of s.tag)n[i.id]=s.class;let{scope:r,all:o=null}=e||{};return{style:s=>{let i=o;for(let a of s)for(let l of a.set){let u=n[l.id];if(u){i=i?i+" "+u:u;break}}return i},scope:r}}const N=ft.define,Tr=N(),zt=N(),Yi=N(zt),Xi=N(zt),Bt=N(),Dr=N(Bt),$o=N(Bt),it=N(),Yt=N(it),ot=N(),st=N(),ys=N(),Yn=N(ys),Rr=N(),ne={comment:Tr,lineComment:N(Tr),blockComment:N(Tr),docComment:N(Tr),name:zt,variableName:N(zt),typeName:Yi,tagName:N(Yi),propertyName:Xi,attributeName:N(Xi),className:N(zt),labelName:N(zt),namespace:N(zt),macroName:N(zt),literal:Bt,string:Dr,docString:N(Dr),character:N(Dr),attributeValue:N(Dr),number:$o,integer:N($o),float:N($o),bool:N(Bt),regexp:N(Bt),escape:N(Bt),color:N(Bt),url:N(Bt),keyword:ot,self:N(ot),null:N(ot),atom:N(ot),unit:N(ot),modifier:N(ot),operatorKeyword:N(ot),controlKeyword:N(ot),definitionKeyword:N(ot),moduleKeyword:N(ot),operator:st,derefOperator:N(st),arithmeticOperator:N(st),logicOperator:N(st),bitwiseOperator:N(st),compareOperator:N(st),updateOperator:N(st),definitionOperator:N(st),typeOperator:N(st),controlOperator:N(st),punctuation:ys,separator:N(ys),bracket:Yn,angleBracket:N(Yn),squareBracket:N(Yn),paren:N(Yn),brace:N(Yn),content:it,heading:Yt,heading1:N(Yt),heading2:N(Yt),heading3:N(Yt),heading4:N(Yt),heading5:N(Yt),heading6:N(Yt),contentSeparator:N(it),list:N(it),quote:N(it),emphasis:N(it),strong:N(it),link:N(it),monospace:N(it),strikethrough:N(it),inserted:N(),deleted:N(),changed:N(),invalid:N(),meta:Rr,documentMeta:N(Rr),annotation:N(Rr),processingInstruction:N(Rr),definition:ft.defineModifier(),constant:ft.defineModifier(),function:ft.defineModifier(),standard:ft.defineModifier(),local:ft.defineModifier(),special:ft.defineModifier()};Tf([{tag:ne.link,class:"tok-link"},{tag:ne.heading,class:"tok-heading"},{tag:ne.emphasis,class:"tok-emphasis"},{tag:ne.strong,class:"tok-strong"},{tag:ne.keyword,class:"tok-keyword"},{tag:ne.atom,class:"tok-atom"},{tag:ne.bool,class:"tok-bool"},{tag:ne.url,class:"tok-url"},{tag:ne.labelName,class:"tok-labelName"},{tag:ne.inserted,class:"tok-inserted"},{tag:ne.deleted,class:"tok-deleted"},{tag:ne.literal,class:"tok-literal"},{tag:ne.string,class:"tok-string"},{tag:ne.number,class:"tok-number"},{tag:[ne.regexp,ne.escape,ne.special(ne.string)],class:"tok-string2"},{tag:ne.variableName,class:"tok-variableName"},{tag:ne.local(ne.variableName),class:"tok-variableName tok-local"},{tag:ne.definition(ne.variableName),class:"tok-variableName tok-definition"},{tag:ne.special(ne.variableName),class:"tok-variableName2"},{tag:ne.definition(ne.propertyName),class:"tok-propertyName tok-definition"},{tag:ne.typeName,class:"tok-typeName"},{tag:ne.namespace,class:"tok-namespace"},{tag:ne.className,class:"tok-className"},{tag:ne.macroName,class:"tok-macroName"},{tag:ne.propertyName,class:"tok-propertyName"},{tag:ne.operator,class:"tok-operator"},{tag:ne.comment,class:"tok-comment"},{tag:ne.meta,class:"tok-meta"},{tag:ne.invalid,class:"tok-invalid"},{tag:ne.punctuation,class:"tok-punctuation"}]);/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */var Qt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Fr=function(e){return e.tagName==="IMG"},Df=function(e){return NodeList.prototype.isPrototypeOf(e)},Mr=function(e){return e&&e.nodeType===1},Qi=function(e){var n=e.currentSrc||e.src;return n.substr(-4).toLowerCase()===".svg"},ea=function(e){try{return Array.isArray(e)?e.filter(Fr):Df(e)?[].slice.call(e).filter(Fr):Mr(e)?[e].filter(Fr):typeof e=="string"?[].slice.call(document.querySelectorAll(e)).filter(Fr):[]}catch{throw new TypeError(`The provided selector is invalid.
|
||
Expects a CSS selector, a Node element, a NodeList or an array.
|
||
See: https://github.com/francoischalifour/medium-zoom`)}},Rf=function(e){var n=document.createElement("div");return n.classList.add("medium-zoom-overlay"),n.style.background=e,n},Ff=function(e){var n=e.getBoundingClientRect(),r=n.top,o=n.left,s=n.width,i=n.height,a=e.cloneNode(),l=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,u=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return a.removeAttribute("id"),a.style.position="absolute",a.style.top=r+l+"px",a.style.left=o+u+"px",a.style.width=s+"px",a.style.height=i+"px",a.style.transform="",a},yn=function(e,n){var r=Qt({bubbles:!1,cancelable:!1,detail:void 0},n);if(typeof window.CustomEvent=="function")return new CustomEvent(e,r);var o=document.createEvent("CustomEvent");return o.initCustomEvent(e,r.bubbles,r.cancelable,r.detail),o},Lf=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=window.Promise||function(A){function D(){}A(D,D)},o=function(A){var D=A.target;if(D===L){m();return}C.indexOf(D)!==-1&&h({target:D})},s=function(){if(!(E||!x.original)){var A=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(_-A)>y.scrollOffset&&setTimeout(m,150)}},i=function(A){var D=A.key||A.keyCode;(D==="Escape"||D==="Esc"||D===27)&&m()},a=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=A;if(A.background&&(L.style.background=A.background),A.container&&A.container instanceof Object&&(D.container=Qt({},y.container,A.container)),A.template){var S=Mr(A.template)?A.template:document.querySelector(A.template);D.template=S}return y=Qt({},y,D),C.forEach(function(V){V.dispatchEvent(yn("medium-zoom:update",{detail:{zoom:F}}))}),F},l=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return t(Qt({},y,A))},u=function(){for(var A=arguments.length,D=Array(A),S=0;S<A;S++)D[S]=arguments[S];var V=D.reduce(function(I,$){return[].concat(I,ea($))},[]);return V.filter(function(I){return C.indexOf(I)===-1}).forEach(function(I){C.push(I),I.classList.add("medium-zoom-image")}),R.forEach(function(I){var $=I.type,P=I.listener,O=I.options;V.forEach(function(B){B.addEventListener($,P,O)})}),F},c=function(){for(var A=arguments.length,D=Array(A),S=0;S<A;S++)D[S]=arguments[S];x.zoomed&&m();var V=D.length>0?D.reduce(function(I,$){return[].concat(I,ea($))},[]):C;return V.forEach(function(I){I.classList.remove("medium-zoom-image"),I.dispatchEvent(yn("medium-zoom:detach",{detail:{zoom:F}}))}),C=C.filter(function(I){return V.indexOf(I)===-1}),F},d=function(A,D){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return C.forEach(function(V){V.addEventListener("medium-zoom:"+A,D,S)}),R.push({type:"medium-zoom:"+A,listener:D,options:S}),F},f=function(A,D){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return C.forEach(function(V){V.removeEventListener("medium-zoom:"+A,D,S)}),R=R.filter(function(V){return!(V.type==="medium-zoom:"+A&&V.listener.toString()===D.toString())}),F},p=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=A.target,S=function(){var I={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},$=void 0,P=void 0;if(y.container)if(y.container instanceof Object)I=Qt({},I,y.container),$=I.width-I.left-I.right-y.margin*2,P=I.height-I.top-I.bottom-y.margin*2;else{var O=Mr(y.container)?y.container:document.querySelector(y.container),B=O.getBoundingClientRect(),U=B.width,j=B.height,H=B.left,X=B.top;I=Qt({},I,{width:U,height:j,left:H,top:X})}$=$||I.width-y.margin*2,P=P||I.height-y.margin*2;var te=x.zoomedHd||x.original,M=Qi(te)?$:te.naturalWidth||$,ie=Qi(te)?P:te.naturalHeight||P,Oe=te.getBoundingClientRect(),Je=Oe.top,vn=Oe.left,It=Oe.width,Kt=Oe.height,Wn=Math.min(Math.max(It,M),$)/It,Zn=Math.min(Math.max(Kt,ie),P)/Kt,gn=Math.min(Wn,Zn),Yc=(-vn+($-It)/2+y.margin+I.left)/gn,Xc=(-Je+(P-Kt)/2+y.margin+I.top)/gn,_i="scale("+gn+") translate3d("+Yc+"px, "+Xc+"px, 0)";x.zoomed.style.transform=_i,x.zoomedHd&&(x.zoomedHd.style.transform=_i)};return new r(function(V){if(D&&C.indexOf(D)===-1){V(F);return}var I=function U(){E=!1,x.zoomed.removeEventListener("transitionend",U),x.original.dispatchEvent(yn("medium-zoom:opened",{detail:{zoom:F}})),V(F)};if(x.zoomed){V(F);return}if(D)x.original=D;else if(C.length>0){var $=C;x.original=$[0]}else{V(F);return}if(x.original.dispatchEvent(yn("medium-zoom:open",{detail:{zoom:F}})),_=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,E=!0,x.zoomed=Ff(x.original),document.body.appendChild(L),y.template){var P=Mr(y.template)?y.template:document.querySelector(y.template);x.template=document.createElement("div"),x.template.appendChild(P.content.cloneNode(!0)),document.body.appendChild(x.template)}if(x.original.parentElement&&x.original.parentElement.tagName==="PICTURE"&&x.original.currentSrc&&(x.zoomed.src=x.original.currentSrc),document.body.appendChild(x.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),x.original.classList.add("medium-zoom-image--hidden"),x.zoomed.classList.add("medium-zoom-image--opened"),x.zoomed.addEventListener("click",m),x.zoomed.addEventListener("transitionend",I),x.original.getAttribute("data-zoom-src")){x.zoomedHd=x.zoomed.cloneNode(),x.zoomedHd.removeAttribute("srcset"),x.zoomedHd.removeAttribute("sizes"),x.zoomedHd.removeAttribute("loading"),x.zoomedHd.src=x.zoomed.getAttribute("data-zoom-src"),x.zoomedHd.onerror=function(){clearInterval(O),console.warn("Unable to reach the zoom image target "+x.zoomedHd.src),x.zoomedHd=null,S()};var O=setInterval(function(){x.zoomedHd.complete&&(clearInterval(O),x.zoomedHd.classList.add("medium-zoom-image--opened"),x.zoomedHd.addEventListener("click",m),document.body.appendChild(x.zoomedHd),S())},10)}else if(x.original.hasAttribute("srcset")){x.zoomedHd=x.zoomed.cloneNode(),x.zoomedHd.removeAttribute("sizes"),x.zoomedHd.removeAttribute("loading");var B=x.zoomedHd.addEventListener("load",function(){x.zoomedHd.removeEventListener("load",B),x.zoomedHd.classList.add("medium-zoom-image--opened"),x.zoomedHd.addEventListener("click",m),document.body.appendChild(x.zoomedHd),S()})}else S()})},m=function(){return new r(function(A){if(E||!x.original){A(F);return}var D=function S(){x.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(x.zoomed),x.zoomedHd&&document.body.removeChild(x.zoomedHd),document.body.removeChild(L),x.zoomed.classList.remove("medium-zoom-image--opened"),x.template&&document.body.removeChild(x.template),E=!1,x.zoomed.removeEventListener("transitionend",S),x.original.dispatchEvent(yn("medium-zoom:closed",{detail:{zoom:F}})),x.original=null,x.zoomed=null,x.zoomedHd=null,x.template=null,A(F)};E=!0,document.body.classList.remove("medium-zoom--opened"),x.zoomed.style.transform="",x.zoomedHd&&(x.zoomedHd.style.transform=""),x.template&&(x.template.style.transition="opacity 150ms",x.template.style.opacity=0),x.original.dispatchEvent(yn("medium-zoom:close",{detail:{zoom:F}})),x.zoomed.addEventListener("transitionend",D)})},h=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=A.target;return x.original?m():p({target:D})},v=function(){return y},b=function(){return C},w=function(){return x.original},C=[],R=[],E=!1,_=0,y=n,x={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(e)==="[object Object]"?y=e:(e||typeof e=="string")&&u(e),y=Qt({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},y);var L=Rf(y.background);document.addEventListener("click",o),document.addEventListener("keyup",i),document.addEventListener("scroll",s),window.addEventListener("resize",m);var F={open:p,close:m,toggle:h,update:a,clone:l,attach:u,detach:c,on:d,off:f,getOptions:v,getImages:b,getZoomedImage:w};return F};function If(t,e){e===void 0&&(e={});var n=e.insertAt;if(!(!t||typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}var Pf=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";If(Pf);const qf=Lf;function ri(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Vf(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return t[r]}})}),n}var Of=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],r=0;r<t.rangeCount;r++)n.push(t.getRangeAt(r));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null;break}return t.removeAllRanges(),function(){t.type==="Caret"&&t.removeAllRanges(),t.rangeCount||n.forEach(function(o){t.addRange(o)}),e&&e.focus()}},zf=Of,ta={"text/plain":"Text","text/html":"Url",default:"Text"},Bf="Copy to clipboard: #{key}, Enter";function Nf(t){var e=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return t.replace(/#{\s*key\s*}/g,e)}function $f(t,e){var n,r,o,s,i,a,l=!1;e||(e={}),n=e.debug||!1;try{o=zf(),s=document.createRange(),i=document.getSelection(),a=document.createElement("span"),a.textContent=t,a.ariaHidden="true",a.style.all="unset",a.style.position="fixed",a.style.top=0,a.style.clip="rect(0, 0, 0, 0)",a.style.whiteSpace="pre",a.style.webkitUserSelect="text",a.style.MozUserSelect="text",a.style.msUserSelect="text",a.style.userSelect="text",a.addEventListener("copy",function(c){if(c.stopPropagation(),e.format)if(c.preventDefault(),typeof c.clipboardData>"u"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var d=ta[e.format]||ta.default;window.clipboardData.setData(d,t)}else c.clipboardData.clearData(),c.clipboardData.setData(e.format,t);e.onCopy&&(c.preventDefault(),e.onCopy(c.clipboardData))}),document.body.appendChild(a),s.selectNodeContents(a),i.addRange(s);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");l=!0}catch(c){n&&console.error("unable to copy using execCommand: ",c),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),l=!0}catch(d){n&&console.error("unable to copy using clipboardData: ",d),n&&console.error("falling back to prompt"),r=Nf("message"in e?e.message:Bf),window.prompt(r,t)}}finally{i&&(typeof i.removeRange=="function"?i.removeRange(s):i.removeAllRanges()),a&&document.body.removeChild(a),o()}return l}var Mf=$f;const Uf=ri(Mf);var ce={};const jf="Á",Hf="á",Gf="Ă",Wf="ă",Zf="∾",Kf="∿",Jf="∾̳",Yf="Â",Xf="â",Qf="´",eh="А",th="а",nh="Æ",rh="æ",oh="",sh="𝔄",ih="𝔞",ah="À",lh="à",ch="ℵ",uh="ℵ",dh="Α",fh="α",hh="Ā",ph="ā",mh="⨿",vh="&",gh="&",yh="⩕",bh="⩓",kh="∧",xh="⩜",wh="⩘",_h="⩚",Ch="∠",Sh="⦤",Ah="∠",Eh="⦨",Th="⦩",Dh="⦪",Rh="⦫",Fh="⦬",Lh="⦭",Ih="⦮",Ph="⦯",qh="∡",Vh="∟",Oh="⊾",zh="⦝",Bh="∢",Nh="Å",$h="⍼",Mh="Ą",Uh="ą",jh="𝔸",Hh="𝕒",Gh="⩯",Wh="≈",Zh="⩰",Kh="≊",Jh="≋",Yh="'",Xh="",Qh="≈",ep="≊",tp="Å",np="å",rp="𝒜",op="𝒶",sp="≔",ip="*",ap="≈",lp="≍",cp="Ã",up="ã",dp="Ä",fp="ä",hp="∳",pp="⨑",mp="≌",vp="϶",gp="‵",yp="∽",bp="⋍",kp="∖",xp="⫧",wp="⊽",_p="⌅",Cp="⌆",Sp="⌅",Ap="⎵",Ep="⎶",Tp="≌",Dp="Б",Rp="б",Fp="„",Lp="∵",Ip="∵",Pp="∵",qp="⦰",Vp="϶",Op="ℬ",zp="ℬ",Bp="Β",Np="β",$p="ℶ",Mp="≬",Up="𝔅",jp="𝔟",Hp="⋂",Gp="◯",Wp="⋃",Zp="⨀",Kp="⨁",Jp="⨂",Yp="⨆",Xp="★",Qp="▽",em="△",tm="⨄",nm="⋁",rm="⋀",om="⤍",sm="⧫",im="▪",am="▴",lm="▾",cm="◂",um="▸",dm="␣",fm="▒",hm="░",pm="▓",mm="█",vm="=⃥",gm="≡⃥",ym="⫭",bm="⌐",km="𝔹",xm="𝕓",wm="⊥",_m="⊥",Cm="⋈",Sm="⧉",Am="┐",Em="╕",Tm="╖",Dm="╗",Rm="┌",Fm="╒",Lm="╓",Im="╔",Pm="─",qm="═",Vm="┬",Om="╤",zm="╥",Bm="╦",Nm="┴",$m="╧",Mm="╨",Um="╩",jm="⊟",Hm="⊞",Gm="⊠",Wm="┘",Zm="╛",Km="╜",Jm="╝",Ym="└",Xm="╘",Qm="╙",ev="╚",tv="│",nv="║",rv="┼",ov="╪",sv="╫",iv="╬",av="┤",lv="╡",cv="╢",uv="╣",dv="├",fv="╞",hv="╟",pv="╠",mv="‵",vv="˘",gv="˘",yv="¦",bv="𝒷",kv="ℬ",xv="⁏",wv="∽",_v="⋍",Cv="⧅",Sv="\\",Av="⟈",Ev="•",Tv="•",Dv="≎",Rv="⪮",Fv="≏",Lv="≎",Iv="≏",Pv="Ć",qv="ć",Vv="⩄",Ov="⩉",zv="⩋",Bv="∩",Nv="⋒",$v="⩇",Mv="⩀",Uv="ⅅ",jv="∩︀",Hv="⁁",Gv="ˇ",Wv="ℭ",Zv="⩍",Kv="Č",Jv="č",Yv="Ç",Xv="ç",Qv="Ĉ",eg="ĉ",tg="∰",ng="⩌",rg="⩐",og="Ċ",sg="ċ",ig="¸",ag="¸",lg="⦲",cg="¢",ug="·",dg="·",fg="𝔠",hg="ℭ",pg="Ч",mg="ч",vg="✓",gg="✓",yg="Χ",bg="χ",kg="ˆ",xg="≗",wg="↺",_g="↻",Cg="⊛",Sg="⊚",Ag="⊝",Eg="⊙",Tg="®",Dg="Ⓢ",Rg="⊖",Fg="⊕",Lg="⊗",Ig="○",Pg="⧃",qg="≗",Vg="⨐",Og="⫯",zg="⧂",Bg="∲",Ng="”",$g="’",Mg="♣",Ug="♣",jg=":",Hg="∷",Gg="⩴",Wg="≔",Zg="≔",Kg=",",Jg="@",Yg="∁",Xg="∘",Qg="∁",ey="ℂ",ty="≅",ny="⩭",ry="≡",oy="∮",sy="∯",iy="∮",ay="𝕔",ly="ℂ",cy="∐",uy="∐",dy="©",fy="©",hy="℗",py="∳",my="↵",vy="✗",gy="⨯",yy="𝒞",by="𝒸",ky="⫏",xy="⫑",wy="⫐",_y="⫒",Cy="⋯",Sy="⤸",Ay="⤵",Ey="⋞",Ty="⋟",Dy="↶",Ry="⤽",Fy="⩈",Ly="⩆",Iy="≍",Py="∪",qy="⋓",Vy="⩊",Oy="⊍",zy="⩅",By="∪︀",Ny="↷",$y="⤼",My="⋞",Uy="⋟",jy="⋎",Hy="⋏",Gy="¤",Wy="↶",Zy="↷",Ky="⋎",Jy="⋏",Yy="∲",Xy="∱",Qy="⌭",eb="†",tb="‡",nb="ℸ",rb="↓",ob="↡",sb="⇓",ib="‐",ab="⫤",lb="⊣",cb="⤏",ub="˝",db="Ď",fb="ď",hb="Д",pb="д",mb="‡",vb="⇊",gb="ⅅ",yb="ⅆ",bb="⤑",kb="⩷",xb="°",wb="∇",_b="Δ",Cb="δ",Sb="⦱",Ab="⥿",Eb="𝔇",Tb="𝔡",Db="⥥",Rb="⇃",Fb="⇂",Lb="´",Ib="˙",Pb="˝",qb="`",Vb="˜",Ob="⋄",zb="⋄",Bb="⋄",Nb="♦",$b="♦",Mb="¨",Ub="ⅆ",jb="ϝ",Hb="⋲",Gb="÷",Wb="÷",Zb="⋇",Kb="⋇",Jb="Ђ",Yb="ђ",Xb="⌞",Qb="⌍",e0="$",t0="𝔻",n0="𝕕",r0="¨",o0="˙",s0="⃜",i0="≐",a0="≑",l0="≐",c0="∸",u0="∔",d0="⊡",f0="⌆",h0="∯",p0="¨",m0="⇓",v0="⇐",g0="⇔",y0="⫤",b0="⟸",k0="⟺",x0="⟹",w0="⇒",_0="⊨",C0="⇑",S0="⇕",A0="∥",E0="⤓",T0="↓",D0="↓",R0="⇓",F0="⇵",L0="̑",I0="⇊",P0="⇃",q0="⇂",V0="⥐",O0="⥞",z0="⥖",B0="↽",N0="⥟",$0="⥗",M0="⇁",U0="↧",j0="⊤",H0="⤐",G0="⌟",W0="⌌",Z0="𝒟",K0="𝒹",J0="Ѕ",Y0="ѕ",X0="⧶",Q0="Đ",ek="đ",tk="⋱",nk="▿",rk="▾",ok="⇵",sk="⥯",ik="⦦",ak="Џ",lk="џ",ck="⟿",uk="É",dk="é",fk="⩮",hk="Ě",pk="ě",mk="Ê",vk="ê",gk="≖",yk="≕",bk="Э",kk="э",xk="⩷",wk="Ė",_k="ė",Ck="≑",Sk="ⅇ",Ak="≒",Ek="𝔈",Tk="𝔢",Dk="⪚",Rk="È",Fk="è",Lk="⪖",Ik="⪘",Pk="⪙",qk="∈",Vk="⏧",Ok="ℓ",zk="⪕",Bk="⪗",Nk="Ē",$k="ē",Mk="∅",Uk="∅",jk="◻",Hk="∅",Gk="▫",Wk=" ",Zk=" ",Kk=" ",Jk="Ŋ",Yk="ŋ",Xk=" ",Qk="Ę",ex="ę",tx="𝔼",nx="𝕖",rx="⋕",ox="⧣",sx="⩱",ix="ε",ax="Ε",lx="ε",cx="ϵ",ux="≖",dx="≕",fx="≂",hx="⪖",px="⪕",mx="⩵",vx="=",gx="≂",yx="≟",bx="⇌",kx="≡",xx="⩸",wx="⧥",_x="⥱",Cx="≓",Sx="ℯ",Ax="ℰ",Ex="≐",Tx="⩳",Dx="≂",Rx="Η",Fx="η",Lx="Ð",Ix="ð",Px="Ë",qx="ë",Vx="€",Ox="!",zx="∃",Bx="∃",Nx="ℰ",$x="ⅇ",Mx="ⅇ",Ux="≒",jx="Ф",Hx="ф",Gx="♀",Wx="ffi",Zx="ff",Kx="ffl",Jx="𝔉",Yx="𝔣",Xx="fi",Qx="◼",ew="▪",tw="fj",nw="♭",rw="fl",ow="▱",sw="ƒ",iw="𝔽",aw="𝕗",lw="∀",cw="∀",uw="⋔",dw="⫙",fw="ℱ",hw="⨍",pw="½",mw="⅓",vw="¼",gw="⅕",yw="⅙",bw="⅛",kw="⅔",xw="⅖",ww="¾",_w="⅗",Cw="⅜",Sw="⅘",Aw="⅚",Ew="⅝",Tw="⅞",Dw="⁄",Rw="⌢",Fw="𝒻",Lw="ℱ",Iw="ǵ",Pw="Γ",qw="γ",Vw="Ϝ",Ow="ϝ",zw="⪆",Bw="Ğ",Nw="ğ",$w="Ģ",Mw="Ĝ",Uw="ĝ",jw="Г",Hw="г",Gw="Ġ",Ww="ġ",Zw="≥",Kw="≧",Jw="⪌",Yw="⋛",Xw="≥",Qw="≧",e_="⩾",t_="⪩",n_="⩾",r_="⪀",o_="⪂",s_="⪄",i_="⋛︀",a_="⪔",l_="𝔊",c_="𝔤",u_="≫",d_="⋙",f_="⋙",h_="ℷ",p_="Ѓ",m_="ѓ",v_="⪥",g_="≷",y_="⪒",b_="⪤",k_="⪊",x_="⪊",w_="⪈",__="≩",C_="⪈",S_="≩",A_="⋧",E_="𝔾",T_="𝕘",D_="`",R_="≥",F_="⋛",L_="≧",I_="⪢",P_="≷",q_="⩾",V_="≳",O_="𝒢",z_="ℊ",B_="≳",N_="⪎",$_="⪐",M_="⪧",U_="⩺",j_=">",H_=">",G_="≫",W_="⋗",Z_="⦕",K_="⩼",J_="⪆",Y_="⥸",X_="⋗",Q_="⋛",eC="⪌",tC="≷",nC="≳",rC="≩︀",oC="≩︀",sC="ˇ",iC=" ",aC="½",lC="ℋ",cC="Ъ",uC="ъ",dC="⥈",fC="↔",hC="⇔",pC="↭",mC="^",vC="ℏ",gC="Ĥ",yC="ĥ",bC="♥",kC="♥",xC="…",wC="⊹",_C="𝔥",CC="ℌ",SC="ℋ",AC="⤥",EC="⤦",TC="⇿",DC="∻",RC="↩",FC="↪",LC="𝕙",IC="ℍ",PC="―",qC="─",VC="𝒽",OC="ℋ",zC="ℏ",BC="Ħ",NC="ħ",$C="≎",MC="≏",UC="⁃",jC="‐",HC="Í",GC="í",WC="",ZC="Î",KC="î",JC="И",YC="и",XC="İ",QC="Е",e1="е",t1="¡",n1="⇔",r1="𝔦",o1="ℑ",s1="Ì",i1="ì",a1="ⅈ",l1="⨌",c1="∭",u1="⧜",d1="℩",f1="IJ",h1="ij",p1="Ī",m1="ī",v1="ℑ",g1="ⅈ",y1="ℐ",b1="ℑ",k1="ı",x1="ℑ",w1="⊷",_1="Ƶ",C1="⇒",S1="℅",A1="∞",E1="⧝",T1="ı",D1="⊺",R1="∫",F1="∬",L1="ℤ",I1="∫",P1="⊺",q1="⋂",V1="⨗",O1="⨼",z1="",B1="",N1="Ё",$1="ё",M1="Į",U1="į",j1="𝕀",H1="𝕚",G1="Ι",W1="ι",Z1="⨼",K1="¿",J1="𝒾",Y1="ℐ",X1="∈",Q1="⋵",eS="⋹",tS="⋴",nS="⋳",rS="∈",oS="",sS="Ĩ",iS="ĩ",aS="І",lS="і",cS="Ï",uS="ï",dS="Ĵ",fS="ĵ",hS="Й",pS="й",mS="𝔍",vS="𝔧",gS="ȷ",yS="𝕁",bS="𝕛",kS="𝒥",xS="𝒿",wS="Ј",_S="ј",CS="Є",SS="є",AS="Κ",ES="κ",TS="ϰ",DS="Ķ",RS="ķ",FS="К",LS="к",IS="𝔎",PS="𝔨",qS="ĸ",VS="Х",OS="х",zS="Ќ",BS="ќ",NS="𝕂",$S="𝕜",MS="𝒦",US="𝓀",jS="⇚",HS="Ĺ",GS="ĺ",WS="⦴",ZS="ℒ",KS="Λ",JS="λ",YS="⟨",XS="⟪",QS="⦑",eA="⟨",tA="⪅",nA="ℒ",rA="«",oA="⇤",sA="⤟",iA="←",aA="↞",lA="⇐",cA="⤝",uA="↩",dA="↫",fA="⤹",hA="⥳",pA="↢",mA="⤙",vA="⤛",gA="⪫",yA="⪭",bA="⪭︀",kA="⤌",xA="⤎",wA="❲",_A="{",CA="[",SA="⦋",AA="⦏",EA="⦍",TA="Ľ",DA="ľ",RA="Ļ",FA="ļ",LA="⌈",IA="{",PA="Л",qA="л",VA="⤶",OA="“",zA="„",BA="⥧",NA="⥋",$A="↲",MA="≤",UA="≦",jA="⟨",HA="⇤",GA="←",WA="←",ZA="⇐",KA="⇆",JA="↢",YA="⌈",XA="⟦",QA="⥡",eE="⥙",tE="⇃",nE="⌊",rE="↽",oE="↼",sE="⇇",iE="↔",aE="↔",lE="⇔",cE="⇆",uE="⇋",dE="↭",fE="⥎",hE="↤",pE="⊣",mE="⥚",vE="⋋",gE="⧏",yE="⊲",bE="⊴",kE="⥑",xE="⥠",wE="⥘",_E="↿",CE="⥒",SE="↼",AE="⪋",EE="⋚",TE="≤",DE="≦",RE="⩽",FE="⪨",LE="⩽",IE="⩿",PE="⪁",qE="⪃",VE="⋚︀",OE="⪓",zE="⪅",BE="⋖",NE="⋚",$E="⪋",ME="⋚",UE="≦",jE="≶",HE="≶",GE="⪡",WE="≲",ZE="⩽",KE="≲",JE="⥼",YE="⌊",XE="𝔏",QE="𝔩",eT="≶",tT="⪑",nT="⥢",rT="↽",oT="↼",sT="⥪",iT="▄",aT="Љ",lT="љ",cT="⇇",uT="≪",dT="⋘",fT="⌞",hT="⇚",pT="⥫",mT="◺",vT="Ŀ",gT="ŀ",yT="⎰",bT="⎰",kT="⪉",xT="⪉",wT="⪇",_T="≨",CT="⪇",ST="≨",AT="⋦",ET="⟬",TT="⇽",DT="⟦",RT="⟵",FT="⟵",LT="⟸",IT="⟷",PT="⟷",qT="⟺",VT="⟼",OT="⟶",zT="⟶",BT="⟹",NT="↫",$T="↬",MT="⦅",UT="𝕃",jT="𝕝",HT="⨭",GT="⨴",WT="∗",ZT="_",KT="↙",JT="↘",YT="◊",XT="◊",QT="⧫",eD="(",tD="⦓",nD="⇆",rD="⌟",oD="⇋",sD="⥭",iD="",aD="⊿",lD="‹",cD="𝓁",uD="ℒ",dD="↰",fD="↰",hD="≲",pD="⪍",mD="⪏",vD="[",gD="‘",yD="‚",bD="Ł",kD="ł",xD="⪦",wD="⩹",_D="<",CD="<",SD="≪",AD="⋖",ED="⋋",TD="⋉",DD="⥶",RD="⩻",FD="◃",LD="⊴",ID="◂",PD="⦖",qD="⥊",VD="⥦",OD="≨︀",zD="≨︀",BD="¯",ND="♂",$D="✠",MD="✠",UD="↦",jD="↦",HD="↧",GD="↤",WD="↥",ZD="▮",KD="⨩",JD="М",YD="м",XD="—",QD="∺",eR="∡",tR=" ",nR="ℳ",rR="𝔐",oR="𝔪",sR="℧",iR="µ",aR="*",lR="⫰",cR="∣",uR="·",dR="⊟",fR="−",hR="∸",pR="⨪",mR="∓",vR="⫛",gR="…",yR="∓",bR="⊧",kR="𝕄",xR="𝕞",wR="∓",_R="𝓂",CR="ℳ",SR="∾",AR="Μ",ER="μ",TR="⊸",DR="⊸",RR="∇",FR="Ń",LR="ń",IR="∠⃒",PR="≉",qR="⩰̸",VR="≋̸",OR="ʼn",zR="≉",BR="♮",NR="ℕ",$R="♮",MR=" ",UR="≎̸",jR="≏̸",HR="⩃",GR="Ň",WR="ň",ZR="Ņ",KR="ņ",JR="≇",YR="⩭̸",XR="⩂",QR="Н",eF="н",tF="–",nF="⤤",rF="↗",oF="⇗",sF="↗",iF="≠",aF="≐̸",lF="",cF="",uF="",dF="",fF="≢",hF="⤨",pF="≂̸",mF="≫",vF="≪",gF=`
|
||
`,yF="∄",bF="∄",kF="𝔑",xF="𝔫",wF="≧̸",_F="≱",CF="≱",SF="≧̸",AF="⩾̸",EF="⩾̸",TF="⋙̸",DF="≵",RF="≫⃒",FF="≯",LF="≯",IF="≫̸",PF="↮",qF="⇎",VF="⫲",OF="∋",zF="⋼",BF="⋺",NF="∋",$F="Њ",MF="њ",UF="↚",jF="⇍",HF="‥",GF="≦̸",WF="≰",ZF="↚",KF="⇍",JF="↮",YF="⇎",XF="≰",QF="≦̸",eL="⩽̸",tL="⩽̸",nL="≮",rL="⋘̸",oL="≴",sL="≪⃒",iL="≮",aL="⋪",lL="⋬",cL="≪̸",uL="∤",dL="",fL=" ",hL="𝕟",pL="ℕ",mL="⫬",vL="¬",gL="≢",yL="≭",bL="∦",kL="∉",xL="≠",wL="≂̸",_L="∄",CL="≯",SL="≱",AL="≧̸",EL="≫̸",TL="≹",DL="⩾̸",RL="≵",FL="≎̸",LL="≏̸",IL="∉",PL="⋵̸",qL="⋹̸",VL="∉",OL="⋷",zL="⋶",BL="⧏̸",NL="⋪",$L="⋬",ML="≮",UL="≰",jL="≸",HL="≪̸",GL="⩽̸",WL="≴",ZL="⪢̸",KL="⪡̸",JL="∌",YL="∌",XL="⋾",QL="⋽",eI="⊀",tI="⪯̸",nI="⋠",rI="∌",oI="⧐̸",sI="⋫",iI="⋭",aI="⊏̸",lI="⋢",cI="⊐̸",uI="⋣",dI="⊂⃒",fI="⊈",hI="⊁",pI="⪰̸",mI="⋡",vI="≿̸",gI="⊃⃒",yI="⊉",bI="≁",kI="≄",xI="≇",wI="≉",_I="∤",CI="∦",SI="∦",AI="⫽⃥",EI="∂̸",TI="⨔",DI="⊀",RI="⋠",FI="⊀",LI="⪯̸",II="⪯̸",PI="⤳̸",qI="↛",VI="⇏",OI="↝̸",zI="↛",BI="⇏",NI="⋫",$I="⋭",MI="⊁",UI="⋡",jI="⪰̸",HI="𝒩",GI="𝓃",WI="∤",ZI="∦",KI="≁",JI="≄",YI="≄",XI="∤",QI="∦",eP="⋢",tP="⋣",nP="⊄",rP="⫅̸",oP="⊈",sP="⊂⃒",iP="⊈",aP="⫅̸",lP="⊁",cP="⪰̸",uP="⊅",dP="⫆̸",fP="⊉",hP="⊃⃒",pP="⊉",mP="⫆̸",vP="≹",gP="Ñ",yP="ñ",bP="≸",kP="⋪",xP="⋬",wP="⋫",_P="⋭",CP="Ν",SP="ν",AP="#",EP="№",TP=" ",DP="≍⃒",RP="⊬",FP="⊭",LP="⊮",IP="⊯",PP="≥⃒",qP=">⃒",VP="⤄",OP="⧞",zP="⤂",BP="≤⃒",NP="<⃒",$P="⊴⃒",MP="⤃",UP="⊵⃒",jP="∼⃒",HP="⤣",GP="↖",WP="⇖",ZP="↖",KP="⤧",JP="Ó",YP="ó",XP="⊛",QP="Ô",eq="ô",tq="⊚",nq="О",rq="о",oq="⊝",sq="Ő",iq="ő",aq="⨸",lq="⊙",cq="⦼",uq="Œ",dq="œ",fq="⦿",hq="𝔒",pq="𝔬",mq="˛",vq="Ò",gq="ò",yq="⧁",bq="⦵",kq="Ω",xq="∮",wq="↺",_q="⦾",Cq="⦻",Sq="‾",Aq="⧀",Eq="Ō",Tq="ō",Dq="Ω",Rq="ω",Fq="Ο",Lq="ο",Iq="⦶",Pq="⊖",qq="𝕆",Vq="𝕠",Oq="⦷",zq="“",Bq="‘",Nq="⦹",$q="⊕",Mq="↻",Uq="⩔",jq="∨",Hq="⩝",Gq="ℴ",Wq="ℴ",Zq="ª",Kq="º",Jq="⊶",Yq="⩖",Xq="⩗",Qq="⩛",eV="Ⓢ",tV="𝒪",nV="ℴ",rV="Ø",oV="ø",sV="⊘",iV="Õ",aV="õ",lV="⨶",cV="⨷",uV="⊗",dV="Ö",fV="ö",hV="⌽",pV="‾",mV="⏞",vV="⎴",gV="⏜",yV="¶",bV="∥",kV="∥",xV="⫳",wV="⫽",_V="∂",CV="∂",SV="П",AV="п",EV="%",TV=".",DV="‰",RV="⊥",FV="‱",LV="𝔓",IV="𝔭",PV="Φ",qV="φ",VV="ϕ",OV="ℳ",zV="☎",BV="Π",NV="π",$V="⋔",MV="ϖ",UV="ℏ",jV="ℎ",HV="ℏ",GV="⨣",WV="⊞",ZV="⨢",KV="+",JV="∔",YV="⨥",XV="⩲",QV="±",eO="±",tO="⨦",nO="⨧",rO="±",oO="ℌ",sO="⨕",iO="𝕡",aO="ℙ",lO="£",cO="⪷",uO="⪻",dO="≺",fO="≼",hO="⪷",pO="≺",mO="≼",vO="≺",gO="⪯",yO="≼",bO="≾",kO="⪯",xO="⪹",wO="⪵",_O="⋨",CO="⪯",SO="⪳",AO="≾",EO="′",TO="″",DO="ℙ",RO="⪹",FO="⪵",LO="⋨",IO="∏",PO="∏",qO="⌮",VO="⌒",OO="⌓",zO="∝",BO="∝",NO="∷",$O="∝",MO="≾",UO="⊰",jO="𝒫",HO="𝓅",GO="Ψ",WO="ψ",ZO=" ",KO="𝔔",JO="𝔮",YO="⨌",XO="𝕢",QO="ℚ",ez="⁗",tz="𝒬",nz="𝓆",rz="ℍ",oz="⨖",sz="?",iz="≟",az='"',lz='"',cz="⇛",uz="∽̱",dz="Ŕ",fz="ŕ",hz="√",pz="⦳",mz="⟩",vz="⟫",gz="⦒",yz="⦥",bz="⟩",kz="»",xz="⥵",wz="⇥",_z="⤠",Cz="⤳",Sz="→",Az="↠",Ez="⇒",Tz="⤞",Dz="↪",Rz="↬",Fz="⥅",Lz="⥴",Iz="⤖",Pz="↣",qz="↝",Vz="⤚",Oz="⤜",zz="∶",Bz="ℚ",Nz="⤍",$z="⤏",Mz="⤐",Uz="❳",jz="}",Hz="]",Gz="⦌",Wz="⦎",Zz="⦐",Kz="Ř",Jz="ř",Yz="Ŗ",Xz="ŗ",Qz="⌉",eB="}",tB="Р",nB="р",rB="⤷",oB="⥩",sB="”",iB="”",aB="↳",lB="ℜ",cB="ℛ",uB="ℜ",dB="ℝ",fB="ℜ",hB="▭",pB="®",mB="®",vB="∋",gB="⇋",yB="⥯",bB="⥽",kB="⌋",xB="𝔯",wB="ℜ",_B="⥤",CB="⇁",SB="⇀",AB="⥬",EB="Ρ",TB="ρ",DB="ϱ",RB="⟩",FB="⇥",LB="→",IB="→",PB="⇒",qB="⇄",VB="↣",OB="⌉",zB="⟧",BB="⥝",NB="⥕",$B="⇂",MB="⌋",UB="⇁",jB="⇀",HB="⇄",GB="⇌",WB="⇉",ZB="↝",KB="↦",JB="⊢",YB="⥛",XB="⋌",QB="⧐",e2="⊳",t2="⊵",n2="⥏",r2="⥜",o2="⥔",s2="↾",i2="⥓",a2="⇀",l2="˚",c2="≓",u2="⇄",d2="⇌",f2="",h2="⎱",p2="⎱",m2="⫮",v2="⟭",g2="⇾",y2="⟧",b2="⦆",k2="𝕣",x2="ℝ",w2="⨮",_2="⨵",C2="⥰",S2=")",A2="⦔",E2="⨒",T2="⇉",D2="⇛",R2="›",F2="𝓇",L2="ℛ",I2="↱",P2="↱",q2="]",V2="’",O2="’",z2="⋌",B2="⋊",N2="▹",$2="⊵",M2="▸",U2="⧎",j2="⧴",H2="⥨",G2="℞",W2="Ś",Z2="ś",K2="‚",J2="⪸",Y2="Š",X2="š",Q2="⪼",eN="≻",tN="≽",nN="⪰",rN="⪴",oN="Ş",sN="ş",iN="Ŝ",aN="ŝ",lN="⪺",cN="⪶",uN="⋩",dN="⨓",fN="≿",hN="С",pN="с",mN="⊡",vN="⋅",gN="⩦",yN="⤥",bN="↘",kN="⇘",xN="↘",wN="§",_N=";",CN="⤩",SN="∖",AN="∖",EN="✶",TN="𝔖",DN="𝔰",RN="⌢",FN="♯",LN="Щ",IN="щ",PN="Ш",qN="ш",VN="↓",ON="←",zN="∣",BN="∥",NN="→",$N="↑",MN="",UN="Σ",jN="σ",HN="ς",GN="ς",WN="∼",ZN="⩪",KN="≃",JN="≃",YN="⪞",XN="⪠",QN="⪝",e$="⪟",t$="≆",n$="⨤",r$="⥲",o$="←",s$="∘",i$="∖",a$="⨳",l$="⧤",c$="∣",u$="⌣",d$="⪪",f$="⪬",h$="⪬︀",p$="Ь",m$="ь",v$="⌿",g$="⧄",y$="/",b$="𝕊",k$="𝕤",x$="♠",w$="♠",_$="∥",C$="⊓",S$="⊓︀",A$="⊔",E$="⊔︀",T$="√",D$="⊏",R$="⊑",F$="⊏",L$="⊑",I$="⊐",P$="⊒",q$="⊐",V$="⊒",O$="□",z$="□",B$="⊓",N$="⊏",$$="⊑",M$="⊐",U$="⊒",j$="⊔",H$="▪",G$="□",W$="▪",Z$="→",K$="𝒮",J$="𝓈",Y$="∖",X$="⌣",Q$="⋆",eM="⋆",tM="☆",nM="★",rM="ϵ",oM="ϕ",sM="¯",iM="⊂",aM="⋐",lM="⪽",cM="⫅",uM="⊆",dM="⫃",fM="⫁",hM="⫋",pM="⊊",mM="⪿",vM="⥹",gM="⊂",yM="⋐",bM="⊆",kM="⫅",xM="⊆",wM="⊊",_M="⫋",CM="⫇",SM="⫕",AM="⫓",EM="⪸",TM="≻",DM="≽",RM="≻",FM="⪰",LM="≽",IM="≿",PM="⪰",qM="⪺",VM="⪶",OM="⋩",zM="≿",BM="∋",NM="∑",$M="∑",MM="♪",UM="¹",jM="²",HM="³",GM="⊃",WM="⋑",ZM="⪾",KM="⫘",JM="⫆",YM="⊇",XM="⫄",QM="⊃",eU="⊇",tU="⟉",nU="⫗",rU="⥻",oU="⫂",sU="⫌",iU="⊋",aU="⫀",lU="⊃",cU="⋑",uU="⊇",dU="⫆",fU="⊋",hU="⫌",pU="⫈",mU="⫔",vU="⫖",gU="⤦",yU="↙",bU="⇙",kU="↙",xU="⤪",wU="ß",_U=" ",CU="⌖",SU="Τ",AU="τ",EU="⎴",TU="Ť",DU="ť",RU="Ţ",FU="ţ",LU="Т",IU="т",PU="⃛",qU="⌕",VU="𝔗",OU="𝔱",zU="∴",BU="∴",NU="∴",$U="Θ",MU="θ",UU="ϑ",jU="ϑ",HU="≈",GU="∼",WU=" ",ZU=" ",KU=" ",JU="≈",YU="∼",XU="Þ",QU="þ",ej="˜",tj="∼",nj="≃",rj="≅",oj="≈",sj="⨱",ij="⊠",aj="×",lj="⨰",cj="∭",uj="⤨",dj="⌶",fj="⫱",hj="⊤",pj="𝕋",mj="𝕥",vj="⫚",gj="⤩",yj="‴",bj="™",kj="™",xj="▵",wj="▿",_j="◃",Cj="⊴",Sj="≜",Aj="▹",Ej="⊵",Tj="◬",Dj="≜",Rj="⨺",Fj="⃛",Lj="⨹",Ij="⧍",Pj="⨻",qj="⏢",Vj="𝒯",Oj="𝓉",zj="Ц",Bj="ц",Nj="Ћ",$j="ћ",Mj="Ŧ",Uj="ŧ",jj="≬",Hj="↞",Gj="↠",Wj="Ú",Zj="ú",Kj="↑",Jj="↟",Yj="⇑",Xj="⥉",Qj="Ў",e3="ў",t3="Ŭ",n3="ŭ",r3="Û",o3="û",s3="У",i3="у",a3="⇅",l3="Ű",c3="ű",u3="⥮",d3="⥾",f3="𝔘",h3="𝔲",p3="Ù",m3="ù",v3="⥣",g3="↿",y3="↾",b3="▀",k3="⌜",x3="⌜",w3="⌏",_3="◸",C3="Ū",S3="ū",A3="¨",E3="_",T3="⏟",D3="⎵",R3="⏝",F3="⋃",L3="⊎",I3="Ų",P3="ų",q3="𝕌",V3="𝕦",O3="⤒",z3="↑",B3="↑",N3="⇑",$3="⇅",M3="↕",U3="↕",j3="⇕",H3="⥮",G3="↿",W3="↾",Z3="⊎",K3="↖",J3="↗",Y3="υ",X3="ϒ",Q3="ϒ",eH="Υ",tH="υ",nH="↥",rH="⊥",oH="⇈",sH="⌝",iH="⌝",aH="⌎",lH="Ů",cH="ů",uH="◹",dH="𝒰",fH="𝓊",hH="⋰",pH="Ũ",mH="ũ",vH="▵",gH="▴",yH="⇈",bH="Ü",kH="ü",xH="⦧",wH="⦜",_H="ϵ",CH="ϰ",SH="∅",AH="ϕ",EH="ϖ",TH="∝",DH="↕",RH="⇕",FH="ϱ",LH="ς",IH="⊊︀",PH="⫋︀",qH="⊋︀",VH="⫌︀",OH="ϑ",zH="⊲",BH="⊳",NH="⫨",$H="⫫",MH="⫩",UH="В",jH="в",HH="⊢",GH="⊨",WH="⊩",ZH="⊫",KH="⫦",JH="⊻",YH="∨",XH="⋁",QH="≚",e4="⋮",t4="|",n4="‖",r4="|",o4="‖",s4="∣",i4="|",a4="❘",l4="≀",c4=" ",u4="𝔙",d4="𝔳",f4="⊲",h4="⊂⃒",p4="⊃⃒",m4="𝕍",v4="𝕧",g4="∝",y4="⊳",b4="𝒱",k4="𝓋",x4="⫋︀",w4="⊊︀",_4="⫌︀",C4="⊋︀",S4="⊪",A4="⦚",E4="Ŵ",T4="ŵ",D4="⩟",R4="∧",F4="⋀",L4="≙",I4="℘",P4="𝔚",q4="𝔴",V4="𝕎",O4="𝕨",z4="℘",B4="≀",N4="≀",$4="𝒲",M4="𝓌",U4="⋂",j4="◯",H4="⋃",G4="▽",W4="𝔛",Z4="𝔵",K4="⟷",J4="⟺",Y4="Ξ",X4="ξ",Q4="⟵",e5="⟸",t5="⟼",n5="⋻",r5="⨀",o5="𝕏",s5="𝕩",i5="⨁",a5="⨂",l5="⟶",c5="⟹",u5="𝒳",d5="𝓍",f5="⨆",h5="⨄",p5="△",m5="⋁",v5="⋀",g5="Ý",y5="ý",b5="Я",k5="я",x5="Ŷ",w5="ŷ",_5="Ы",C5="ы",S5="¥",A5="𝔜",E5="𝔶",T5="Ї",D5="ї",R5="𝕐",F5="𝕪",L5="𝒴",I5="𝓎",P5="Ю",q5="ю",V5="ÿ",O5="Ÿ",z5="Ź",B5="ź",N5="Ž",$5="ž",M5="З",U5="з",j5="Ż",H5="ż",G5="ℨ",W5="",Z5="Ζ",K5="ζ",J5="𝔷",Y5="ℨ",X5="Ж",Q5="ж",eG="⇝",tG="𝕫",nG="ℤ",rG="𝒵",oG="𝓏",sG="",iG="",aG={Aacute:jf,aacute:Hf,Abreve:Gf,abreve:Wf,ac:Zf,acd:Kf,acE:Jf,Acirc:Yf,acirc:Xf,acute:Qf,Acy:eh,acy:th,AElig:nh,aelig:rh,af:oh,Afr:sh,afr:ih,Agrave:ah,agrave:lh,alefsym:ch,aleph:uh,Alpha:dh,alpha:fh,Amacr:hh,amacr:ph,amalg:mh,amp:vh,AMP:gh,andand:yh,And:bh,and:kh,andd:xh,andslope:wh,andv:_h,ang:Ch,ange:Sh,angle:Ah,angmsdaa:Eh,angmsdab:Th,angmsdac:Dh,angmsdad:Rh,angmsdae:Fh,angmsdaf:Lh,angmsdag:Ih,angmsdah:Ph,angmsd:qh,angrt:Vh,angrtvb:Oh,angrtvbd:zh,angsph:Bh,angst:Nh,angzarr:$h,Aogon:Mh,aogon:Uh,Aopf:jh,aopf:Hh,apacir:Gh,ap:Wh,apE:Zh,ape:Kh,apid:Jh,apos:Yh,ApplyFunction:Xh,approx:Qh,approxeq:ep,Aring:tp,aring:np,Ascr:rp,ascr:op,Assign:sp,ast:ip,asymp:ap,asympeq:lp,Atilde:cp,atilde:up,Auml:dp,auml:fp,awconint:hp,awint:pp,backcong:mp,backepsilon:vp,backprime:gp,backsim:yp,backsimeq:bp,Backslash:kp,Barv:xp,barvee:wp,barwed:_p,Barwed:Cp,barwedge:Sp,bbrk:Ap,bbrktbrk:Ep,bcong:Tp,Bcy:Dp,bcy:Rp,bdquo:Fp,becaus:Lp,because:Ip,Because:Pp,bemptyv:qp,bepsi:Vp,bernou:Op,Bernoullis:zp,Beta:Bp,beta:Np,beth:$p,between:Mp,Bfr:Up,bfr:jp,bigcap:Hp,bigcirc:Gp,bigcup:Wp,bigodot:Zp,bigoplus:Kp,bigotimes:Jp,bigsqcup:Yp,bigstar:Xp,bigtriangledown:Qp,bigtriangleup:em,biguplus:tm,bigvee:nm,bigwedge:rm,bkarow:om,blacklozenge:sm,blacksquare:im,blacktriangle:am,blacktriangledown:lm,blacktriangleleft:cm,blacktriangleright:um,blank:dm,blk12:fm,blk14:hm,blk34:pm,block:mm,bne:vm,bnequiv:gm,bNot:ym,bnot:bm,Bopf:km,bopf:xm,bot:wm,bottom:_m,bowtie:Cm,boxbox:Sm,boxdl:Am,boxdL:Em,boxDl:Tm,boxDL:Dm,boxdr:Rm,boxdR:Fm,boxDr:Lm,boxDR:Im,boxh:Pm,boxH:qm,boxhd:Vm,boxHd:Om,boxhD:zm,boxHD:Bm,boxhu:Nm,boxHu:$m,boxhU:Mm,boxHU:Um,boxminus:jm,boxplus:Hm,boxtimes:Gm,boxul:Wm,boxuL:Zm,boxUl:Km,boxUL:Jm,boxur:Ym,boxuR:Xm,boxUr:Qm,boxUR:ev,boxv:tv,boxV:nv,boxvh:rv,boxvH:ov,boxVh:sv,boxVH:iv,boxvl:av,boxvL:lv,boxVl:cv,boxVL:uv,boxvr:dv,boxvR:fv,boxVr:hv,boxVR:pv,bprime:mv,breve:vv,Breve:gv,brvbar:yv,bscr:bv,Bscr:kv,bsemi:xv,bsim:wv,bsime:_v,bsolb:Cv,bsol:Sv,bsolhsub:Av,bull:Ev,bullet:Tv,bump:Dv,bumpE:Rv,bumpe:Fv,Bumpeq:Lv,bumpeq:Iv,Cacute:Pv,cacute:qv,capand:Vv,capbrcup:Ov,capcap:zv,cap:Bv,Cap:Nv,capcup:$v,capdot:Mv,CapitalDifferentialD:Uv,caps:jv,caret:Hv,caron:Gv,Cayleys:Wv,ccaps:Zv,Ccaron:Kv,ccaron:Jv,Ccedil:Yv,ccedil:Xv,Ccirc:Qv,ccirc:eg,Cconint:tg,ccups:ng,ccupssm:rg,Cdot:og,cdot:sg,cedil:ig,Cedilla:ag,cemptyv:lg,cent:cg,centerdot:ug,CenterDot:dg,cfr:fg,Cfr:hg,CHcy:pg,chcy:mg,check:vg,checkmark:gg,Chi:yg,chi:bg,circ:kg,circeq:xg,circlearrowleft:wg,circlearrowright:_g,circledast:Cg,circledcirc:Sg,circleddash:Ag,CircleDot:Eg,circledR:Tg,circledS:Dg,CircleMinus:Rg,CirclePlus:Fg,CircleTimes:Lg,cir:Ig,cirE:Pg,cire:qg,cirfnint:Vg,cirmid:Og,cirscir:zg,ClockwiseContourIntegral:Bg,CloseCurlyDoubleQuote:Ng,CloseCurlyQuote:$g,clubs:Mg,clubsuit:Ug,colon:jg,Colon:Hg,Colone:Gg,colone:Wg,coloneq:Zg,comma:Kg,commat:Jg,comp:Yg,compfn:Xg,complement:Qg,complexes:ey,cong:ty,congdot:ny,Congruent:ry,conint:oy,Conint:sy,ContourIntegral:iy,copf:ay,Copf:ly,coprod:cy,Coproduct:uy,copy:dy,COPY:fy,copysr:hy,CounterClockwiseContourIntegral:py,crarr:my,cross:vy,Cross:gy,Cscr:yy,cscr:by,csub:ky,csube:xy,csup:wy,csupe:_y,ctdot:Cy,cudarrl:Sy,cudarrr:Ay,cuepr:Ey,cuesc:Ty,cularr:Dy,cularrp:Ry,cupbrcap:Fy,cupcap:Ly,CupCap:Iy,cup:Py,Cup:qy,cupcup:Vy,cupdot:Oy,cupor:zy,cups:By,curarr:Ny,curarrm:$y,curlyeqprec:My,curlyeqsucc:Uy,curlyvee:jy,curlywedge:Hy,curren:Gy,curvearrowleft:Wy,curvearrowright:Zy,cuvee:Ky,cuwed:Jy,cwconint:Yy,cwint:Xy,cylcty:Qy,dagger:eb,Dagger:tb,daleth:nb,darr:rb,Darr:ob,dArr:sb,dash:ib,Dashv:ab,dashv:lb,dbkarow:cb,dblac:ub,Dcaron:db,dcaron:fb,Dcy:hb,dcy:pb,ddagger:mb,ddarr:vb,DD:gb,dd:yb,DDotrahd:bb,ddotseq:kb,deg:xb,Del:wb,Delta:_b,delta:Cb,demptyv:Sb,dfisht:Ab,Dfr:Eb,dfr:Tb,dHar:Db,dharl:Rb,dharr:Fb,DiacriticalAcute:Lb,DiacriticalDot:Ib,DiacriticalDoubleAcute:Pb,DiacriticalGrave:qb,DiacriticalTilde:Vb,diam:Ob,diamond:zb,Diamond:Bb,diamondsuit:Nb,diams:$b,die:Mb,DifferentialD:Ub,digamma:jb,disin:Hb,div:Gb,divide:Wb,divideontimes:Zb,divonx:Kb,DJcy:Jb,djcy:Yb,dlcorn:Xb,dlcrop:Qb,dollar:e0,Dopf:t0,dopf:n0,Dot:r0,dot:o0,DotDot:s0,doteq:i0,doteqdot:a0,DotEqual:l0,dotminus:c0,dotplus:u0,dotsquare:d0,doublebarwedge:f0,DoubleContourIntegral:h0,DoubleDot:p0,DoubleDownArrow:m0,DoubleLeftArrow:v0,DoubleLeftRightArrow:g0,DoubleLeftTee:y0,DoubleLongLeftArrow:b0,DoubleLongLeftRightArrow:k0,DoubleLongRightArrow:x0,DoubleRightArrow:w0,DoubleRightTee:_0,DoubleUpArrow:C0,DoubleUpDownArrow:S0,DoubleVerticalBar:A0,DownArrowBar:E0,downarrow:T0,DownArrow:D0,Downarrow:R0,DownArrowUpArrow:F0,DownBreve:L0,downdownarrows:I0,downharpoonleft:P0,downharpoonright:q0,DownLeftRightVector:V0,DownLeftTeeVector:O0,DownLeftVectorBar:z0,DownLeftVector:B0,DownRightTeeVector:N0,DownRightVectorBar:$0,DownRightVector:M0,DownTeeArrow:U0,DownTee:j0,drbkarow:H0,drcorn:G0,drcrop:W0,Dscr:Z0,dscr:K0,DScy:J0,dscy:Y0,dsol:X0,Dstrok:Q0,dstrok:ek,dtdot:tk,dtri:nk,dtrif:rk,duarr:ok,duhar:sk,dwangle:ik,DZcy:ak,dzcy:lk,dzigrarr:ck,Eacute:uk,eacute:dk,easter:fk,Ecaron:hk,ecaron:pk,Ecirc:mk,ecirc:vk,ecir:gk,ecolon:yk,Ecy:bk,ecy:kk,eDDot:xk,Edot:wk,edot:_k,eDot:Ck,ee:Sk,efDot:Ak,Efr:Ek,efr:Tk,eg:Dk,Egrave:Rk,egrave:Fk,egs:Lk,egsdot:Ik,el:Pk,Element:qk,elinters:Vk,ell:Ok,els:zk,elsdot:Bk,Emacr:Nk,emacr:$k,empty:Mk,emptyset:Uk,EmptySmallSquare:jk,emptyv:Hk,EmptyVerySmallSquare:Gk,emsp13:Wk,emsp14:Zk,emsp:Kk,ENG:Jk,eng:Yk,ensp:Xk,Eogon:Qk,eogon:ex,Eopf:tx,eopf:nx,epar:rx,eparsl:ox,eplus:sx,epsi:ix,Epsilon:ax,epsilon:lx,epsiv:cx,eqcirc:ux,eqcolon:dx,eqsim:fx,eqslantgtr:hx,eqslantless:px,Equal:mx,equals:vx,EqualTilde:gx,equest:yx,Equilibrium:bx,equiv:kx,equivDD:xx,eqvparsl:wx,erarr:_x,erDot:Cx,escr:Sx,Escr:Ax,esdot:Ex,Esim:Tx,esim:Dx,Eta:Rx,eta:Fx,ETH:Lx,eth:Ix,Euml:Px,euml:qx,euro:Vx,excl:Ox,exist:zx,Exists:Bx,expectation:Nx,exponentiale:$x,ExponentialE:Mx,fallingdotseq:Ux,Fcy:jx,fcy:Hx,female:Gx,ffilig:Wx,fflig:Zx,ffllig:Kx,Ffr:Jx,ffr:Yx,filig:Xx,FilledSmallSquare:Qx,FilledVerySmallSquare:ew,fjlig:tw,flat:nw,fllig:rw,fltns:ow,fnof:sw,Fopf:iw,fopf:aw,forall:lw,ForAll:cw,fork:uw,forkv:dw,Fouriertrf:fw,fpartint:hw,frac12:pw,frac13:mw,frac14:vw,frac15:gw,frac16:yw,frac18:bw,frac23:kw,frac25:xw,frac34:ww,frac35:_w,frac38:Cw,frac45:Sw,frac56:Aw,frac58:Ew,frac78:Tw,frasl:Dw,frown:Rw,fscr:Fw,Fscr:Lw,gacute:Iw,Gamma:Pw,gamma:qw,Gammad:Vw,gammad:Ow,gap:zw,Gbreve:Bw,gbreve:Nw,Gcedil:$w,Gcirc:Mw,gcirc:Uw,Gcy:jw,gcy:Hw,Gdot:Gw,gdot:Ww,ge:Zw,gE:Kw,gEl:Jw,gel:Yw,geq:Xw,geqq:Qw,geqslant:e_,gescc:t_,ges:n_,gesdot:r_,gesdoto:o_,gesdotol:s_,gesl:i_,gesles:a_,Gfr:l_,gfr:c_,gg:u_,Gg:d_,ggg:f_,gimel:h_,GJcy:p_,gjcy:m_,gla:v_,gl:g_,glE:y_,glj:b_,gnap:k_,gnapprox:x_,gne:w_,gnE:__,gneq:C_,gneqq:S_,gnsim:A_,Gopf:E_,gopf:T_,grave:D_,GreaterEqual:R_,GreaterEqualLess:F_,GreaterFullEqual:L_,GreaterGreater:I_,GreaterLess:P_,GreaterSlantEqual:q_,GreaterTilde:V_,Gscr:O_,gscr:z_,gsim:B_,gsime:N_,gsiml:$_,gtcc:M_,gtcir:U_,gt:j_,GT:H_,Gt:G_,gtdot:W_,gtlPar:Z_,gtquest:K_,gtrapprox:J_,gtrarr:Y_,gtrdot:X_,gtreqless:Q_,gtreqqless:eC,gtrless:tC,gtrsim:nC,gvertneqq:rC,gvnE:oC,Hacek:sC,hairsp:iC,half:aC,hamilt:lC,HARDcy:cC,hardcy:uC,harrcir:dC,harr:fC,hArr:hC,harrw:pC,Hat:mC,hbar:vC,Hcirc:gC,hcirc:yC,hearts:bC,heartsuit:kC,hellip:xC,hercon:wC,hfr:_C,Hfr:CC,HilbertSpace:SC,hksearow:AC,hkswarow:EC,hoarr:TC,homtht:DC,hookleftarrow:RC,hookrightarrow:FC,hopf:LC,Hopf:IC,horbar:PC,HorizontalLine:qC,hscr:VC,Hscr:OC,hslash:zC,Hstrok:BC,hstrok:NC,HumpDownHump:$C,HumpEqual:MC,hybull:UC,hyphen:jC,Iacute:HC,iacute:GC,ic:WC,Icirc:ZC,icirc:KC,Icy:JC,icy:YC,Idot:XC,IEcy:QC,iecy:e1,iexcl:t1,iff:n1,ifr:r1,Ifr:o1,Igrave:s1,igrave:i1,ii:a1,iiiint:l1,iiint:c1,iinfin:u1,iiota:d1,IJlig:f1,ijlig:h1,Imacr:p1,imacr:m1,image:v1,ImaginaryI:g1,imagline:y1,imagpart:b1,imath:k1,Im:x1,imof:w1,imped:_1,Implies:C1,incare:S1,in:"∈",infin:A1,infintie:E1,inodot:T1,intcal:D1,int:R1,Int:F1,integers:L1,Integral:I1,intercal:P1,Intersection:q1,intlarhk:V1,intprod:O1,InvisibleComma:z1,InvisibleTimes:B1,IOcy:N1,iocy:$1,Iogon:M1,iogon:U1,Iopf:j1,iopf:H1,Iota:G1,iota:W1,iprod:Z1,iquest:K1,iscr:J1,Iscr:Y1,isin:X1,isindot:Q1,isinE:eS,isins:tS,isinsv:nS,isinv:rS,it:oS,Itilde:sS,itilde:iS,Iukcy:aS,iukcy:lS,Iuml:cS,iuml:uS,Jcirc:dS,jcirc:fS,Jcy:hS,jcy:pS,Jfr:mS,jfr:vS,jmath:gS,Jopf:yS,jopf:bS,Jscr:kS,jscr:xS,Jsercy:wS,jsercy:_S,Jukcy:CS,jukcy:SS,Kappa:AS,kappa:ES,kappav:TS,Kcedil:DS,kcedil:RS,Kcy:FS,kcy:LS,Kfr:IS,kfr:PS,kgreen:qS,KHcy:VS,khcy:OS,KJcy:zS,kjcy:BS,Kopf:NS,kopf:$S,Kscr:MS,kscr:US,lAarr:jS,Lacute:HS,lacute:GS,laemptyv:WS,lagran:ZS,Lambda:KS,lambda:JS,lang:YS,Lang:XS,langd:QS,langle:eA,lap:tA,Laplacetrf:nA,laquo:rA,larrb:oA,larrbfs:sA,larr:iA,Larr:aA,lArr:lA,larrfs:cA,larrhk:uA,larrlp:dA,larrpl:fA,larrsim:hA,larrtl:pA,latail:mA,lAtail:vA,lat:gA,late:yA,lates:bA,lbarr:kA,lBarr:xA,lbbrk:wA,lbrace:_A,lbrack:CA,lbrke:SA,lbrksld:AA,lbrkslu:EA,Lcaron:TA,lcaron:DA,Lcedil:RA,lcedil:FA,lceil:LA,lcub:IA,Lcy:PA,lcy:qA,ldca:VA,ldquo:OA,ldquor:zA,ldrdhar:BA,ldrushar:NA,ldsh:$A,le:MA,lE:UA,LeftAngleBracket:jA,LeftArrowBar:HA,leftarrow:GA,LeftArrow:WA,Leftarrow:ZA,LeftArrowRightArrow:KA,leftarrowtail:JA,LeftCeiling:YA,LeftDoubleBracket:XA,LeftDownTeeVector:QA,LeftDownVectorBar:eE,LeftDownVector:tE,LeftFloor:nE,leftharpoondown:rE,leftharpoonup:oE,leftleftarrows:sE,leftrightarrow:iE,LeftRightArrow:aE,Leftrightarrow:lE,leftrightarrows:cE,leftrightharpoons:uE,leftrightsquigarrow:dE,LeftRightVector:fE,LeftTeeArrow:hE,LeftTee:pE,LeftTeeVector:mE,leftthreetimes:vE,LeftTriangleBar:gE,LeftTriangle:yE,LeftTriangleEqual:bE,LeftUpDownVector:kE,LeftUpTeeVector:xE,LeftUpVectorBar:wE,LeftUpVector:_E,LeftVectorBar:CE,LeftVector:SE,lEg:AE,leg:EE,leq:TE,leqq:DE,leqslant:RE,lescc:FE,les:LE,lesdot:IE,lesdoto:PE,lesdotor:qE,lesg:VE,lesges:OE,lessapprox:zE,lessdot:BE,lesseqgtr:NE,lesseqqgtr:$E,LessEqualGreater:ME,LessFullEqual:UE,LessGreater:jE,lessgtr:HE,LessLess:GE,lesssim:WE,LessSlantEqual:ZE,LessTilde:KE,lfisht:JE,lfloor:YE,Lfr:XE,lfr:QE,lg:eT,lgE:tT,lHar:nT,lhard:rT,lharu:oT,lharul:sT,lhblk:iT,LJcy:aT,ljcy:lT,llarr:cT,ll:uT,Ll:dT,llcorner:fT,Lleftarrow:hT,llhard:pT,lltri:mT,Lmidot:vT,lmidot:gT,lmoustache:yT,lmoust:bT,lnap:kT,lnapprox:xT,lne:wT,lnE:_T,lneq:CT,lneqq:ST,lnsim:AT,loang:ET,loarr:TT,lobrk:DT,longleftarrow:RT,LongLeftArrow:FT,Longleftarrow:LT,longleftrightarrow:IT,LongLeftRightArrow:PT,Longleftrightarrow:qT,longmapsto:VT,longrightarrow:OT,LongRightArrow:zT,Longrightarrow:BT,looparrowleft:NT,looparrowright:$T,lopar:MT,Lopf:UT,lopf:jT,loplus:HT,lotimes:GT,lowast:WT,lowbar:ZT,LowerLeftArrow:KT,LowerRightArrow:JT,loz:YT,lozenge:XT,lozf:QT,lpar:eD,lparlt:tD,lrarr:nD,lrcorner:rD,lrhar:oD,lrhard:sD,lrm:iD,lrtri:aD,lsaquo:lD,lscr:cD,Lscr:uD,lsh:dD,Lsh:fD,lsim:hD,lsime:pD,lsimg:mD,lsqb:vD,lsquo:gD,lsquor:yD,Lstrok:bD,lstrok:kD,ltcc:xD,ltcir:wD,lt:_D,LT:CD,Lt:SD,ltdot:AD,lthree:ED,ltimes:TD,ltlarr:DD,ltquest:RD,ltri:FD,ltrie:LD,ltrif:ID,ltrPar:PD,lurdshar:qD,luruhar:VD,lvertneqq:OD,lvnE:zD,macr:BD,male:ND,malt:$D,maltese:MD,Map:"⤅",map:UD,mapsto:jD,mapstodown:HD,mapstoleft:GD,mapstoup:WD,marker:ZD,mcomma:KD,Mcy:JD,mcy:YD,mdash:XD,mDDot:QD,measuredangle:eR,MediumSpace:tR,Mellintrf:nR,Mfr:rR,mfr:oR,mho:sR,micro:iR,midast:aR,midcir:lR,mid:cR,middot:uR,minusb:dR,minus:fR,minusd:hR,minusdu:pR,MinusPlus:mR,mlcp:vR,mldr:gR,mnplus:yR,models:bR,Mopf:kR,mopf:xR,mp:wR,mscr:_R,Mscr:CR,mstpos:SR,Mu:AR,mu:ER,multimap:TR,mumap:DR,nabla:RR,Nacute:FR,nacute:LR,nang:IR,nap:PR,napE:qR,napid:VR,napos:OR,napprox:zR,natural:BR,naturals:NR,natur:$R,nbsp:MR,nbump:UR,nbumpe:jR,ncap:HR,Ncaron:GR,ncaron:WR,Ncedil:ZR,ncedil:KR,ncong:JR,ncongdot:YR,ncup:XR,Ncy:QR,ncy:eF,ndash:tF,nearhk:nF,nearr:rF,neArr:oF,nearrow:sF,ne:iF,nedot:aF,NegativeMediumSpace:lF,NegativeThickSpace:cF,NegativeThinSpace:uF,NegativeVeryThinSpace:dF,nequiv:fF,nesear:hF,nesim:pF,NestedGreaterGreater:mF,NestedLessLess:vF,NewLine:gF,nexist:yF,nexists:bF,Nfr:kF,nfr:xF,ngE:wF,nge:_F,ngeq:CF,ngeqq:SF,ngeqslant:AF,nges:EF,nGg:TF,ngsim:DF,nGt:RF,ngt:FF,ngtr:LF,nGtv:IF,nharr:PF,nhArr:qF,nhpar:VF,ni:OF,nis:zF,nisd:BF,niv:NF,NJcy:$F,njcy:MF,nlarr:UF,nlArr:jF,nldr:HF,nlE:GF,nle:WF,nleftarrow:ZF,nLeftarrow:KF,nleftrightarrow:JF,nLeftrightarrow:YF,nleq:XF,nleqq:QF,nleqslant:eL,nles:tL,nless:nL,nLl:rL,nlsim:oL,nLt:sL,nlt:iL,nltri:aL,nltrie:lL,nLtv:cL,nmid:uL,NoBreak:dL,NonBreakingSpace:fL,nopf:hL,Nopf:pL,Not:mL,not:vL,NotCongruent:gL,NotCupCap:yL,NotDoubleVerticalBar:bL,NotElement:kL,NotEqual:xL,NotEqualTilde:wL,NotExists:_L,NotGreater:CL,NotGreaterEqual:SL,NotGreaterFullEqual:AL,NotGreaterGreater:EL,NotGreaterLess:TL,NotGreaterSlantEqual:DL,NotGreaterTilde:RL,NotHumpDownHump:FL,NotHumpEqual:LL,notin:IL,notindot:PL,notinE:qL,notinva:VL,notinvb:OL,notinvc:zL,NotLeftTriangleBar:BL,NotLeftTriangle:NL,NotLeftTriangleEqual:$L,NotLess:ML,NotLessEqual:UL,NotLessGreater:jL,NotLessLess:HL,NotLessSlantEqual:GL,NotLessTilde:WL,NotNestedGreaterGreater:ZL,NotNestedLessLess:KL,notni:JL,notniva:YL,notnivb:XL,notnivc:QL,NotPrecedes:eI,NotPrecedesEqual:tI,NotPrecedesSlantEqual:nI,NotReverseElement:rI,NotRightTriangleBar:oI,NotRightTriangle:sI,NotRightTriangleEqual:iI,NotSquareSubset:aI,NotSquareSubsetEqual:lI,NotSquareSuperset:cI,NotSquareSupersetEqual:uI,NotSubset:dI,NotSubsetEqual:fI,NotSucceeds:hI,NotSucceedsEqual:pI,NotSucceedsSlantEqual:mI,NotSucceedsTilde:vI,NotSuperset:gI,NotSupersetEqual:yI,NotTilde:bI,NotTildeEqual:kI,NotTildeFullEqual:xI,NotTildeTilde:wI,NotVerticalBar:_I,nparallel:CI,npar:SI,nparsl:AI,npart:EI,npolint:TI,npr:DI,nprcue:RI,nprec:FI,npreceq:LI,npre:II,nrarrc:PI,nrarr:qI,nrArr:VI,nrarrw:OI,nrightarrow:zI,nRightarrow:BI,nrtri:NI,nrtrie:$I,nsc:MI,nsccue:UI,nsce:jI,Nscr:HI,nscr:GI,nshortmid:WI,nshortparallel:ZI,nsim:KI,nsime:JI,nsimeq:YI,nsmid:XI,nspar:QI,nsqsube:eP,nsqsupe:tP,nsub:nP,nsubE:rP,nsube:oP,nsubset:sP,nsubseteq:iP,nsubseteqq:aP,nsucc:lP,nsucceq:cP,nsup:uP,nsupE:dP,nsupe:fP,nsupset:hP,nsupseteq:pP,nsupseteqq:mP,ntgl:vP,Ntilde:gP,ntilde:yP,ntlg:bP,ntriangleleft:kP,ntrianglelefteq:xP,ntriangleright:wP,ntrianglerighteq:_P,Nu:CP,nu:SP,num:AP,numero:EP,numsp:TP,nvap:DP,nvdash:RP,nvDash:FP,nVdash:LP,nVDash:IP,nvge:PP,nvgt:qP,nvHarr:VP,nvinfin:OP,nvlArr:zP,nvle:BP,nvlt:NP,nvltrie:$P,nvrArr:MP,nvrtrie:UP,nvsim:jP,nwarhk:HP,nwarr:GP,nwArr:WP,nwarrow:ZP,nwnear:KP,Oacute:JP,oacute:YP,oast:XP,Ocirc:QP,ocirc:eq,ocir:tq,Ocy:nq,ocy:rq,odash:oq,Odblac:sq,odblac:iq,odiv:aq,odot:lq,odsold:cq,OElig:uq,oelig:dq,ofcir:fq,Ofr:hq,ofr:pq,ogon:mq,Ograve:vq,ograve:gq,ogt:yq,ohbar:bq,ohm:kq,oint:xq,olarr:wq,olcir:_q,olcross:Cq,oline:Sq,olt:Aq,Omacr:Eq,omacr:Tq,Omega:Dq,omega:Rq,Omicron:Fq,omicron:Lq,omid:Iq,ominus:Pq,Oopf:qq,oopf:Vq,opar:Oq,OpenCurlyDoubleQuote:zq,OpenCurlyQuote:Bq,operp:Nq,oplus:$q,orarr:Mq,Or:Uq,or:jq,ord:Hq,order:Gq,orderof:Wq,ordf:Zq,ordm:Kq,origof:Jq,oror:Yq,orslope:Xq,orv:Qq,oS:eV,Oscr:tV,oscr:nV,Oslash:rV,oslash:oV,osol:sV,Otilde:iV,otilde:aV,otimesas:lV,Otimes:cV,otimes:uV,Ouml:dV,ouml:fV,ovbar:hV,OverBar:pV,OverBrace:mV,OverBracket:vV,OverParenthesis:gV,para:yV,parallel:bV,par:kV,parsim:xV,parsl:wV,part:_V,PartialD:CV,Pcy:SV,pcy:AV,percnt:EV,period:TV,permil:DV,perp:RV,pertenk:FV,Pfr:LV,pfr:IV,Phi:PV,phi:qV,phiv:VV,phmmat:OV,phone:zV,Pi:BV,pi:NV,pitchfork:$V,piv:MV,planck:UV,planckh:jV,plankv:HV,plusacir:GV,plusb:WV,pluscir:ZV,plus:KV,plusdo:JV,plusdu:YV,pluse:XV,PlusMinus:QV,plusmn:eO,plussim:tO,plustwo:nO,pm:rO,Poincareplane:oO,pointint:sO,popf:iO,Popf:aO,pound:lO,prap:cO,Pr:uO,pr:dO,prcue:fO,precapprox:hO,prec:pO,preccurlyeq:mO,Precedes:vO,PrecedesEqual:gO,PrecedesSlantEqual:yO,PrecedesTilde:bO,preceq:kO,precnapprox:xO,precneqq:wO,precnsim:_O,pre:CO,prE:SO,precsim:AO,prime:EO,Prime:TO,primes:DO,prnap:RO,prnE:FO,prnsim:LO,prod:IO,Product:PO,profalar:qO,profline:VO,profsurf:OO,prop:zO,Proportional:BO,Proportion:NO,propto:$O,prsim:MO,prurel:UO,Pscr:jO,pscr:HO,Psi:GO,psi:WO,puncsp:ZO,Qfr:KO,qfr:JO,qint:YO,qopf:XO,Qopf:QO,qprime:ez,Qscr:tz,qscr:nz,quaternions:rz,quatint:oz,quest:sz,questeq:iz,quot:az,QUOT:lz,rAarr:cz,race:uz,Racute:dz,racute:fz,radic:hz,raemptyv:pz,rang:mz,Rang:vz,rangd:gz,range:yz,rangle:bz,raquo:kz,rarrap:xz,rarrb:wz,rarrbfs:_z,rarrc:Cz,rarr:Sz,Rarr:Az,rArr:Ez,rarrfs:Tz,rarrhk:Dz,rarrlp:Rz,rarrpl:Fz,rarrsim:Lz,Rarrtl:Iz,rarrtl:Pz,rarrw:qz,ratail:Vz,rAtail:Oz,ratio:zz,rationals:Bz,rbarr:Nz,rBarr:$z,RBarr:Mz,rbbrk:Uz,rbrace:jz,rbrack:Hz,rbrke:Gz,rbrksld:Wz,rbrkslu:Zz,Rcaron:Kz,rcaron:Jz,Rcedil:Yz,rcedil:Xz,rceil:Qz,rcub:eB,Rcy:tB,rcy:nB,rdca:rB,rdldhar:oB,rdquo:sB,rdquor:iB,rdsh:aB,real:lB,realine:cB,realpart:uB,reals:dB,Re:fB,rect:hB,reg:pB,REG:mB,ReverseElement:vB,ReverseEquilibrium:gB,ReverseUpEquilibrium:yB,rfisht:bB,rfloor:kB,rfr:xB,Rfr:wB,rHar:_B,rhard:CB,rharu:SB,rharul:AB,Rho:EB,rho:TB,rhov:DB,RightAngleBracket:RB,RightArrowBar:FB,rightarrow:LB,RightArrow:IB,Rightarrow:PB,RightArrowLeftArrow:qB,rightarrowtail:VB,RightCeiling:OB,RightDoubleBracket:zB,RightDownTeeVector:BB,RightDownVectorBar:NB,RightDownVector:$B,RightFloor:MB,rightharpoondown:UB,rightharpoonup:jB,rightleftarrows:HB,rightleftharpoons:GB,rightrightarrows:WB,rightsquigarrow:ZB,RightTeeArrow:KB,RightTee:JB,RightTeeVector:YB,rightthreetimes:XB,RightTriangleBar:QB,RightTriangle:e2,RightTriangleEqual:t2,RightUpDownVector:n2,RightUpTeeVector:r2,RightUpVectorBar:o2,RightUpVector:s2,RightVectorBar:i2,RightVector:a2,ring:l2,risingdotseq:c2,rlarr:u2,rlhar:d2,rlm:f2,rmoustache:h2,rmoust:p2,rnmid:m2,roang:v2,roarr:g2,robrk:y2,ropar:b2,ropf:k2,Ropf:x2,roplus:w2,rotimes:_2,RoundImplies:C2,rpar:S2,rpargt:A2,rppolint:E2,rrarr:T2,Rrightarrow:D2,rsaquo:R2,rscr:F2,Rscr:L2,rsh:I2,Rsh:P2,rsqb:q2,rsquo:V2,rsquor:O2,rthree:z2,rtimes:B2,rtri:N2,rtrie:$2,rtrif:M2,rtriltri:U2,RuleDelayed:j2,ruluhar:H2,rx:G2,Sacute:W2,sacute:Z2,sbquo:K2,scap:J2,Scaron:Y2,scaron:X2,Sc:Q2,sc:eN,sccue:tN,sce:nN,scE:rN,Scedil:oN,scedil:sN,Scirc:iN,scirc:aN,scnap:lN,scnE:cN,scnsim:uN,scpolint:dN,scsim:fN,Scy:hN,scy:pN,sdotb:mN,sdot:vN,sdote:gN,searhk:yN,searr:bN,seArr:kN,searrow:xN,sect:wN,semi:_N,seswar:CN,setminus:SN,setmn:AN,sext:EN,Sfr:TN,sfr:DN,sfrown:RN,sharp:FN,SHCHcy:LN,shchcy:IN,SHcy:PN,shcy:qN,ShortDownArrow:VN,ShortLeftArrow:ON,shortmid:zN,shortparallel:BN,ShortRightArrow:NN,ShortUpArrow:$N,shy:MN,Sigma:UN,sigma:jN,sigmaf:HN,sigmav:GN,sim:WN,simdot:ZN,sime:KN,simeq:JN,simg:YN,simgE:XN,siml:QN,simlE:e$,simne:t$,simplus:n$,simrarr:r$,slarr:o$,SmallCircle:s$,smallsetminus:i$,smashp:a$,smeparsl:l$,smid:c$,smile:u$,smt:d$,smte:f$,smtes:h$,SOFTcy:p$,softcy:m$,solbar:v$,solb:g$,sol:y$,Sopf:b$,sopf:k$,spades:x$,spadesuit:w$,spar:_$,sqcap:C$,sqcaps:S$,sqcup:A$,sqcups:E$,Sqrt:T$,sqsub:D$,sqsube:R$,sqsubset:F$,sqsubseteq:L$,sqsup:I$,sqsupe:P$,sqsupset:q$,sqsupseteq:V$,square:O$,Square:z$,SquareIntersection:B$,SquareSubset:N$,SquareSubsetEqual:$$,SquareSuperset:M$,SquareSupersetEqual:U$,SquareUnion:j$,squarf:H$,squ:G$,squf:W$,srarr:Z$,Sscr:K$,sscr:J$,ssetmn:Y$,ssmile:X$,sstarf:Q$,Star:eM,star:tM,starf:nM,straightepsilon:rM,straightphi:oM,strns:sM,sub:iM,Sub:aM,subdot:lM,subE:cM,sube:uM,subedot:dM,submult:fM,subnE:hM,subne:pM,subplus:mM,subrarr:vM,subset:gM,Subset:yM,subseteq:bM,subseteqq:kM,SubsetEqual:xM,subsetneq:wM,subsetneqq:_M,subsim:CM,subsub:SM,subsup:AM,succapprox:EM,succ:TM,succcurlyeq:DM,Succeeds:RM,SucceedsEqual:FM,SucceedsSlantEqual:LM,SucceedsTilde:IM,succeq:PM,succnapprox:qM,succneqq:VM,succnsim:OM,succsim:zM,SuchThat:BM,sum:NM,Sum:$M,sung:MM,sup1:UM,sup2:jM,sup3:HM,sup:GM,Sup:WM,supdot:ZM,supdsub:KM,supE:JM,supe:YM,supedot:XM,Superset:QM,SupersetEqual:eU,suphsol:tU,suphsub:nU,suplarr:rU,supmult:oU,supnE:sU,supne:iU,supplus:aU,supset:lU,Supset:cU,supseteq:uU,supseteqq:dU,supsetneq:fU,supsetneqq:hU,supsim:pU,supsub:mU,supsup:vU,swarhk:gU,swarr:yU,swArr:bU,swarrow:kU,swnwar:xU,szlig:wU,Tab:_U,target:CU,Tau:SU,tau:AU,tbrk:EU,Tcaron:TU,tcaron:DU,Tcedil:RU,tcedil:FU,Tcy:LU,tcy:IU,tdot:PU,telrec:qU,Tfr:VU,tfr:OU,there4:zU,therefore:BU,Therefore:NU,Theta:$U,theta:MU,thetasym:UU,thetav:jU,thickapprox:HU,thicksim:GU,ThickSpace:WU,ThinSpace:ZU,thinsp:KU,thkap:JU,thksim:YU,THORN:XU,thorn:QU,tilde:ej,Tilde:tj,TildeEqual:nj,TildeFullEqual:rj,TildeTilde:oj,timesbar:sj,timesb:ij,times:aj,timesd:lj,tint:cj,toea:uj,topbot:dj,topcir:fj,top:hj,Topf:pj,topf:mj,topfork:vj,tosa:gj,tprime:yj,trade:bj,TRADE:kj,triangle:xj,triangledown:wj,triangleleft:_j,trianglelefteq:Cj,triangleq:Sj,triangleright:Aj,trianglerighteq:Ej,tridot:Tj,trie:Dj,triminus:Rj,TripleDot:Fj,triplus:Lj,trisb:Ij,tritime:Pj,trpezium:qj,Tscr:Vj,tscr:Oj,TScy:zj,tscy:Bj,TSHcy:Nj,tshcy:$j,Tstrok:Mj,tstrok:Uj,twixt:jj,twoheadleftarrow:Hj,twoheadrightarrow:Gj,Uacute:Wj,uacute:Zj,uarr:Kj,Uarr:Jj,uArr:Yj,Uarrocir:Xj,Ubrcy:Qj,ubrcy:e3,Ubreve:t3,ubreve:n3,Ucirc:r3,ucirc:o3,Ucy:s3,ucy:i3,udarr:a3,Udblac:l3,udblac:c3,udhar:u3,ufisht:d3,Ufr:f3,ufr:h3,Ugrave:p3,ugrave:m3,uHar:v3,uharl:g3,uharr:y3,uhblk:b3,ulcorn:k3,ulcorner:x3,ulcrop:w3,ultri:_3,Umacr:C3,umacr:S3,uml:A3,UnderBar:E3,UnderBrace:T3,UnderBracket:D3,UnderParenthesis:R3,Union:F3,UnionPlus:L3,Uogon:I3,uogon:P3,Uopf:q3,uopf:V3,UpArrowBar:O3,uparrow:z3,UpArrow:B3,Uparrow:N3,UpArrowDownArrow:$3,updownarrow:M3,UpDownArrow:U3,Updownarrow:j3,UpEquilibrium:H3,upharpoonleft:G3,upharpoonright:W3,uplus:Z3,UpperLeftArrow:K3,UpperRightArrow:J3,upsi:Y3,Upsi:X3,upsih:Q3,Upsilon:eH,upsilon:tH,UpTeeArrow:nH,UpTee:rH,upuparrows:oH,urcorn:sH,urcorner:iH,urcrop:aH,Uring:lH,uring:cH,urtri:uH,Uscr:dH,uscr:fH,utdot:hH,Utilde:pH,utilde:mH,utri:vH,utrif:gH,uuarr:yH,Uuml:bH,uuml:kH,uwangle:xH,vangrt:wH,varepsilon:_H,varkappa:CH,varnothing:SH,varphi:AH,varpi:EH,varpropto:TH,varr:DH,vArr:RH,varrho:FH,varsigma:LH,varsubsetneq:IH,varsubsetneqq:PH,varsupsetneq:qH,varsupsetneqq:VH,vartheta:OH,vartriangleleft:zH,vartriangleright:BH,vBar:NH,Vbar:$H,vBarv:MH,Vcy:UH,vcy:jH,vdash:HH,vDash:GH,Vdash:WH,VDash:ZH,Vdashl:KH,veebar:JH,vee:YH,Vee:XH,veeeq:QH,vellip:e4,verbar:t4,Verbar:n4,vert:r4,Vert:o4,VerticalBar:s4,VerticalLine:i4,VerticalSeparator:a4,VerticalTilde:l4,VeryThinSpace:c4,Vfr:u4,vfr:d4,vltri:f4,vnsub:h4,vnsup:p4,Vopf:m4,vopf:v4,vprop:g4,vrtri:y4,Vscr:b4,vscr:k4,vsubnE:x4,vsubne:w4,vsupnE:_4,vsupne:C4,Vvdash:S4,vzigzag:A4,Wcirc:E4,wcirc:T4,wedbar:D4,wedge:R4,Wedge:F4,wedgeq:L4,weierp:I4,Wfr:P4,wfr:q4,Wopf:V4,wopf:O4,wp:z4,wr:B4,wreath:N4,Wscr:$4,wscr:M4,xcap:U4,xcirc:j4,xcup:H4,xdtri:G4,Xfr:W4,xfr:Z4,xharr:K4,xhArr:J4,Xi:Y4,xi:X4,xlarr:Q4,xlArr:e5,xmap:t5,xnis:n5,xodot:r5,Xopf:o5,xopf:s5,xoplus:i5,xotime:a5,xrarr:l5,xrArr:c5,Xscr:u5,xscr:d5,xsqcup:f5,xuplus:h5,xutri:p5,xvee:m5,xwedge:v5,Yacute:g5,yacute:y5,YAcy:b5,yacy:k5,Ycirc:x5,ycirc:w5,Ycy:_5,ycy:C5,yen:S5,Yfr:A5,yfr:E5,YIcy:T5,yicy:D5,Yopf:R5,yopf:F5,Yscr:L5,yscr:I5,YUcy:P5,yucy:q5,yuml:V5,Yuml:O5,Zacute:z5,zacute:B5,Zcaron:N5,zcaron:$5,Zcy:M5,zcy:U5,Zdot:j5,zdot:H5,zeetrf:G5,ZeroWidthSpace:W5,Zeta:Z5,zeta:K5,zfr:J5,Zfr:Y5,ZHcy:X5,zhcy:Q5,zigrarr:eG,zopf:tG,Zopf:nG,Zscr:rG,zscr:oG,zwj:sG,zwnj:iG};var Nl=aG,oi=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Mn={},na={};function lG(t){var e,n,r=na[t];if(r)return r;for(r=na[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e<t.length;e++)r[t.charCodeAt(e)]=t[e];return r}function wo(t,e,n){var r,o,s,i,a,l="";for(typeof e!="string"&&(n=e,e=wo.defaultChars),typeof n>"u"&&(n=!0),a=lG(e),r=0,o=t.length;r<o;r++){if(s=t.charCodeAt(r),n&&s===37&&r+2<o&&/^[0-9a-f]{2}$/i.test(t.slice(r+1,r+3))){l+=t.slice(r,r+3),r+=2;continue}if(s<128){l+=a[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&r+1<o&&(i=t.charCodeAt(r+1),i>=56320&&i<=57343)){l+=encodeURIComponent(t[r]+t[r+1]),r++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(t[r])}return l}wo.defaultChars=";/?:@&=+$,-_.!~*'()#";wo.componentChars="-_.!~*'()";var cG=wo,ra={};function uG(t){var e,n,r=ra[t];if(r)return r;for(r=ra[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),r.push(n);for(e=0;e<t.length;e++)n=t.charCodeAt(e),r[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return r}function _o(t,e){var n;return typeof e!="string"&&(e=_o.defaultChars),n=uG(e),t.replace(/(%[a-f0-9]{2})+/gi,function(r){var o,s,i,a,l,u,c,d="";for(o=0,s=r.length;o<s;o+=3){if(i=parseInt(r.slice(o+1,o+3),16),i<128){d+=n[i];continue}if((i&224)===192&&o+3<s&&(a=parseInt(r.slice(o+4,o+6),16),(a&192)===128)){c=i<<6&1984|a&63,c<128?d+="<22><>":d+=String.fromCharCode(c),o+=3;continue}if((i&240)===224&&o+6<s&&(a=parseInt(r.slice(o+4,o+6),16),l=parseInt(r.slice(o+7,o+9),16),(a&192)===128&&(l&192)===128)){c=i<<12&61440|a<<6&4032|l&63,c<2048||c>=55296&&c<=57343?d+="<22><><EFBFBD>":d+=String.fromCharCode(c),o+=6;continue}if((i&248)===240&&o+9<s&&(a=parseInt(r.slice(o+4,o+6),16),l=parseInt(r.slice(o+7,o+9),16),u=parseInt(r.slice(o+10,o+12),16),(a&192)===128&&(l&192)===128&&(u&192)===128)){c=i<<18&1835008|a<<12&258048|l<<6&4032|u&63,c<65536||c>1114111?d+="<22><><EFBFBD><EFBFBD>":(c-=65536,d+=String.fromCharCode(55296+(c>>10),56320+(c&1023))),o+=9;continue}d+="<22>"}return d})}_o.defaultChars=";/?:@&=+$,#";_o.componentChars="";var dG=_o,fG=function(e){var n="";return n+=e.protocol||"",n+=e.slashes?"//":"",n+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?n+="["+e.hostname+"]":n+=e.hostname||"",n+=e.port?":"+e.port:"",n+=e.pathname||"",n+=e.search||"",n+=e.hash||"",n};function no(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var hG=/^([a-z0-9.+-]+:)/i,pG=/:[0-9]*$/,mG=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,vG=["<",">",'"',"`"," ","\r",`
|
||
`," "],gG=["{","}","|","\\","^","`"].concat(vG),yG=["'"].concat(gG),oa=["%","/","?",";","#"].concat(yG),sa=["/","?","#"],bG=255,ia=/^[+a-z0-9A-Z_-]{0,63}$/,kG=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,aa={javascript:!0,"javascript:":!0},la={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function xG(t,e){if(t&&t instanceof no)return t;var n=new no;return n.parse(t,e),n}no.prototype.parse=function(t,e){var n,r,o,s,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var l=mG.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var u=hG.exec(a);if(u&&(u=u[0],o=u.toLowerCase(),this.protocol=u,a=a.substr(u.length)),(e||u||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(u&&aa[u])&&(a=a.substr(2),this.slashes=!0)),!aa[u]&&(i||u&&!la[u])){var c=-1;for(n=0;n<sa.length;n++)s=a.indexOf(sa[n]),s!==-1&&(c===-1||s<c)&&(c=s);var d,f;for(c===-1?f=a.lastIndexOf("@"):f=a.lastIndexOf("@",c),f!==-1&&(d=a.slice(0,f),a=a.slice(f+1),this.auth=d),c=-1,n=0;n<oa.length;n++)s=a.indexOf(oa[n]),s!==-1&&(c===-1||s<c)&&(c=s);c===-1&&(c=a.length),a[c-1]===":"&&c--;var p=a.slice(0,c);a=a.slice(c),this.parseHost(p),this.hostname=this.hostname||"";var m=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!m){var h=this.hostname.split(/\./);for(n=0,r=h.length;n<r;n++){var v=h[n];if(v&&!v.match(ia)){for(var b="",w=0,C=v.length;w<C;w++)v.charCodeAt(w)>127?b+="x":b+=v[w];if(!b.match(ia)){var R=h.slice(0,n),E=h.slice(n+1),_=v.match(kG);_&&(R.push(_[1]),E.unshift(_[2])),E.length&&(a=E.join(".")+a),this.hostname=R.join(".");break}}}}this.hostname.length>bG&&(this.hostname=""),m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var y=a.indexOf("#");y!==-1&&(this.hash=a.substr(y),a=a.slice(0,y));var x=a.indexOf("?");return x!==-1&&(this.search=a.substr(x),a=a.slice(0,x)),a&&(this.pathname=a),la[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};no.prototype.parseHost=function(t){var e=pG.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var wG=xG;Mn.encode=cG;Mn.decode=dG;Mn.format=fG;Mn.parse=wG;var Xt={},Mo,ca;function $l(){return ca||(ca=1,Mo=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Mo}var Uo,ua;function Ml(){return ua||(ua=1,Uo=/[\0-\x1F\x7F-\x9F]/),Uo}var jo,da;function _G(){return da||(da=1,jo=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),jo}var Ho,fa;function Ul(){return fa||(fa=1,Ho=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Ho}var ha;function CG(){return ha||(ha=1,Xt.Any=$l(),Xt.Cc=Ml(),Xt.Cf=_G(),Xt.P=oi,Xt.Z=Ul()),Xt}(function(t){function e(S){return Object.prototype.toString.call(S)}function n(S){return e(S)==="[object String]"}var r=Object.prototype.hasOwnProperty;function o(S,V){return r.call(S,V)}function s(S){var V=Array.prototype.slice.call(arguments,1);return V.forEach(function(I){if(I){if(typeof I!="object")throw new TypeError(I+"must be object");Object.keys(I).forEach(function($){S[$]=I[$]})}}),S}function i(S,V,I){return[].concat(S.slice(0,V),I,S.slice(V+1))}function a(S){return!(S>=55296&&S<=57343||S>=64976&&S<=65007||(S&65535)===65535||(S&65535)===65534||S>=0&&S<=8||S===11||S>=14&&S<=31||S>=127&&S<=159||S>1114111)}function l(S){if(S>65535){S-=65536;var V=55296+(S>>10),I=56320+(S&1023);return String.fromCharCode(V,I)}return String.fromCharCode(S)}var u=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=/&([a-z#][a-z0-9]{1,31});/gi,d=new RegExp(u.source+"|"+c.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,p=Nl;function m(S,V){var I;return o(p,V)?p[V]:V.charCodeAt(0)===35&&f.test(V)&&(I=V[1].toLowerCase()==="x"?parseInt(V.slice(2),16):parseInt(V.slice(1),10),a(I))?l(I):S}function h(S){return S.indexOf("\\")<0?S:S.replace(u,"$1")}function v(S){return S.indexOf("\\")<0&&S.indexOf("&")<0?S:S.replace(d,function(V,I,$){return I||m(V,$)})}var b=/[&<>"]/,w=/[&<>"]/g,C={"&":"&","<":"<",">":">",'"':"""};function R(S){return C[S]}function E(S){return b.test(S)?S.replace(w,R):S}var _=/[.?*+^$[\]\\(){}|-]/g;function y(S){return S.replace(_,"\\$&")}function x(S){switch(S){case 9:case 32:return!0}return!1}function L(S){if(S>=8192&&S<=8202)return!0;switch(S){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var F=oi;function T(S){return F.test(S)}function A(S){switch(S){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function D(S){return S=S.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(S=S.replace(/ẞ/g,"ß")),S.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=Mn,t.lib.ucmicro=CG(),t.assign=s,t.isString=n,t.has=o,t.unescapeMd=h,t.unescapeAll=v,t.isValidEntityCode=a,t.fromCodePoint=l,t.escapeHtml=E,t.arrayReplaceAt=i,t.isSpace=x,t.isWhiteSpace=L,t.isMdAsciiPunct=A,t.isPunctChar=T,t.escapeRE=y,t.normalizeReference=D})(ce);var Co={},SG=function(e,n,r){var o,s,i,a,l=-1,u=e.posMax,c=e.pos;for(e.pos=n+1,o=1;e.pos<u;){if(i=e.src.charCodeAt(e.pos),i===93&&(o--,o===0)){s=!0;break}if(a=e.pos,e.md.inline.skipToken(e),i===91){if(a===e.pos-1)o++;else if(r)return e.pos=c,-1}}return s&&(l=e.pos),e.pos=c,l},pa=ce.unescapeAll,AG=function(e,n,r){var o,s,i=n,a={ok:!1,pos:0,lines:0,str:""};if(e.charCodeAt(i)===60){for(i++;i<r;){if(o=e.charCodeAt(i),o===10||o===60)return a;if(o===62)return a.pos=i+1,a.str=pa(e.slice(n+1,i)),a.ok=!0,a;if(o===92&&i+1<r){i+=2;continue}i++}return a}for(s=0;i<r&&(o=e.charCodeAt(i),!(o===32||o<32||o===127));){if(o===92&&i+1<r){if(e.charCodeAt(i+1)===32)break;i+=2;continue}if(o===40&&(s++,s>32))return a;if(o===41){if(s===0)break;s--}i++}return n===i||s!==0||(a.str=pa(e.slice(n,i)),a.pos=i,a.ok=!0),a},EG=ce.unescapeAll,TG=function(e,n,r){var o,s,i=0,a=n,l={ok:!1,pos:0,lines:0,str:""};if(a>=r||(s=e.charCodeAt(a),s!==34&&s!==39&&s!==40))return l;for(a++,s===40&&(s=41);a<r;){if(o=e.charCodeAt(a),o===s)return l.pos=a+1,l.lines=i,l.str=EG(e.slice(n+1,a)),l.ok=!0,l;if(o===40&&s===41)return l;o===10?i++:o===92&&a+1<r&&(a++,e.charCodeAt(a)===10&&i++),a++}return l};Co.parseLinkLabel=SG;Co.parseLinkDestination=AG;Co.parseLinkTitle=TG;var DG=ce.assign,RG=ce.unescapeAll,un=ce.escapeHtml,wt={};wt.code_inline=function(t,e,n,r,o){var s=t[e];return"<code"+o.renderAttrs(s)+">"+un(s.content)+"</code>"};wt.code_block=function(t,e,n,r,o){var s=t[e];return"<pre"+o.renderAttrs(s)+"><code>"+un(t[e].content)+`</code></pre>
|
||
`};wt.fence=function(t,e,n,r,o){var s=t[e],i=s.info?RG(s.info).trim():"",a="",l="",u,c,d,f,p;return i&&(d=i.split(/(\s+)/g),a=d[0],l=d.slice(2).join("")),n.highlight?u=n.highlight(s.content,a,l)||un(s.content):u=un(s.content),u.indexOf("<pre")===0?u+`
|
||
`:i?(c=s.attrIndex("class"),f=s.attrs?s.attrs.slice():[],c<0?f.push(["class",n.langPrefix+a]):(f[c]=f[c].slice(),f[c][1]+=" "+n.langPrefix+a),p={attrs:f},"<pre><code"+o.renderAttrs(p)+">"+u+`</code></pre>
|
||
`):"<pre><code"+o.renderAttrs(s)+">"+u+`</code></pre>
|
||
`};wt.image=function(t,e,n,r,o){var s=t[e];return s.attrs[s.attrIndex("alt")][1]=o.renderInlineAsText(s.children,n,r),o.renderToken(t,e,n)};wt.hardbreak=function(t,e,n){return n.xhtmlOut?`<br />
|
||
`:`<br>
|
||
`};wt.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`<br />
|
||
`:`<br>
|
||
`:`
|
||
`};wt.text=function(t,e){return un(t[e].content)};wt.html_block=function(t,e){return t[e].content};wt.html_inline=function(t,e){return t[e].content};function Un(){this.rules=DG({},wt)}Un.prototype.renderAttrs=function(e){var n,r,o;if(!e.attrs)return"";for(o="",n=0,r=e.attrs.length;n<r;n++)o+=" "+un(e.attrs[n][0])+'="'+un(e.attrs[n][1])+'"';return o};Un.prototype.renderToken=function(e,n,r){var o,s="",i=!1,a=e[n];return a.hidden?"":(a.block&&a.nesting!==-1&&n&&e[n-1].hidden&&(s+=`
|
||
`),s+=(a.nesting===-1?"</":"<")+a.tag,s+=this.renderAttrs(a),a.nesting===0&&r.xhtmlOut&&(s+=" /"),a.block&&(i=!0,a.nesting===1&&n+1<e.length&&(o=e[n+1],(o.type==="inline"||o.hidden||o.nesting===-1&&o.tag===a.tag)&&(i=!1))),s+=i?`>
|
||
`:">",s)};Un.prototype.renderInline=function(t,e,n){for(var r,o="",s=this.rules,i=0,a=t.length;i<a;i++)r=t[i].type,typeof s[r]<"u"?o+=s[r](t,i,e,n,this):o+=this.renderToken(t,i,e);return o};Un.prototype.renderInlineAsText=function(t,e,n){for(var r="",o=0,s=t.length;o<s;o++)t[o].type==="text"?r+=t[o].content:t[o].type==="image"?r+=this.renderInlineAsText(t[o].children,e,n):t[o].type==="softbreak"&&(r+=`
|
||
`);return r};Un.prototype.render=function(t,e,n){var r,o,s,i="",a=this.rules;for(r=0,o=t.length;r<o;r++)s=t[r].type,s==="inline"?i+=this.renderInline(t[r].children,e,n):typeof a[s]<"u"?i+=a[s](t,r,e,n,this):i+=this.renderToken(t,r,e,n);return i};var FG=Un;function rt(){this.__rules__=[],this.__cache__=null}rt.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1};rt.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(r){e.indexOf(r)<0&&e.push(r)})}),t.__cache__={},e.forEach(function(n){t.__cache__[n]=[],t.__rules__.forEach(function(r){r.enabled&&(n&&r.alt.indexOf(n)<0||t.__cache__[n].push(r.fn))})})};rt.prototype.at=function(t,e,n){var r=this.__find__(t),o=n||{};if(r===-1)throw new Error("Parser rule not found: "+t);this.__rules__[r].fn=e,this.__rules__[r].alt=o.alt||[],this.__cache__=null};rt.prototype.before=function(t,e,n,r){var o=this.__find__(t),s=r||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o,0,{name:e,enabled:!0,fn:n,alt:s.alt||[]}),this.__cache__=null};rt.prototype.after=function(t,e,n,r){var o=this.__find__(t),s=r||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o+1,0,{name:e,enabled:!0,fn:n,alt:s.alt||[]}),this.__cache__=null};rt.prototype.push=function(t,e,n){var r=n||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:r.alt||[]}),this.__cache__=null};rt.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(r){var o=this.__find__(r);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[o].enabled=!0,n.push(r)},this),this.__cache__=null,n};rt.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(t,e)};rt.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(r){var o=this.__find__(r);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[o].enabled=!1,n.push(r)},this),this.__cache__=null,n};rt.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var si=rt,LG=/\r\n?|\n/g,IG=/\0/g,PG=function(e){var n;n=e.src.replace(LG,`
|
||
`),n=n.replace(IG,"<22>"),e.src=n},qG=function(e){var n;e.inlineMode?(n=new e.Token("inline","",0),n.content=e.src,n.map=[0,1],n.children=[],e.tokens.push(n)):e.md.block.parse(e.src,e.md,e.env,e.tokens)},VG=function(e){var n=e.tokens,r,o,s;for(o=0,s=n.length;o<s;o++)r=n[o],r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)},OG=ce.arrayReplaceAt;function zG(t){return/^<a[>\s]/i.test(t)}function BG(t){return/^<\/a\s*>/i.test(t)}var NG=function(e){var n,r,o,s,i,a,l,u,c,d,f,p,m,h,v,b,w=e.tokens,C;if(e.md.options.linkify){for(r=0,o=w.length;r<o;r++)if(!(w[r].type!=="inline"||!e.md.linkify.pretest(w[r].content)))for(s=w[r].children,m=0,n=s.length-1;n>=0;n--){if(a=s[n],a.type==="link_close"){for(n--;s[n].level!==a.level&&s[n].type!=="link_open";)n--;continue}if(a.type==="html_inline"&&(zG(a.content)&&m>0&&m--,BG(a.content)&&m++),!(m>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(c=a.content,C=e.md.linkify.match(c),l=[],p=a.level,f=0,C.length>0&&C[0].index===0&&n>0&&s[n-1].type==="text_special"&&(C=C.slice(1)),u=0;u<C.length;u++)h=C[u].url,v=e.md.normalizeLink(h),e.md.validateLink(v)&&(b=C[u].text,C[u].schema?C[u].schema==="mailto:"&&!/^mailto:/i.test(b)?b=e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):b=e.md.normalizeLinkText(b):b=e.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),d=C[u].index,d>f&&(i=new e.Token("text","",0),i.content=c.slice(f,d),i.level=p,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",v]],i.level=p++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=b,i.level=p,l.push(i),i=new e.Token("link_close","a",-1),i.level=--p,i.markup="linkify",i.info="auto",l.push(i),f=C[u].lastIndex);f<c.length&&(i=new e.Token("text","",0),i.content=c.slice(f),i.level=p,l.push(i)),w[r].children=s=OG(s,n,l)}}}},jl=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,$G=/\((c|tm|r)\)/i,MG=/\((c|tm|r)\)/ig,UG={c:"©",r:"®",tm:"™"};function jG(t,e){return UG[e.toLowerCase()]}function HG(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!r&&(n.content=n.content.replace(MG,jG)),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}function GG(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!r&&jl.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}var WG=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&($G.test(e.tokens[n].content)&&HG(e.tokens[n].children),jl.test(e.tokens[n].content)&&GG(e.tokens[n].children))},ma=ce.isWhiteSpace,va=ce.isPunctChar,ga=ce.isMdAsciiPunct,ZG=/['"]/,ya=/['"]/g,ba="’";function Lr(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function KG(t,e){var n,r,o,s,i,a,l,u,c,d,f,p,m,h,v,b,w,C,R,E,_;for(R=[],n=0;n<t.length;n++){for(r=t[n],l=t[n].level,w=R.length-1;w>=0&&!(R[w].level<=l);w--);if(R.length=w+1,r.type==="text"){o=r.content,i=0,a=o.length;e:for(;i<a&&(ya.lastIndex=i,s=ya.exec(o),!!s);){if(v=b=!0,i=s.index+1,C=s[0]==="'",c=32,s.index-1>=0)c=o.charCodeAt(s.index-1);else for(w=n-1;w>=0&&!(t[w].type==="softbreak"||t[w].type==="hardbreak");w--)if(t[w].content){c=t[w].content.charCodeAt(t[w].content.length-1);break}if(d=32,i<a)d=o.charCodeAt(i);else for(w=n+1;w<t.length&&!(t[w].type==="softbreak"||t[w].type==="hardbreak");w++)if(t[w].content){d=t[w].content.charCodeAt(0);break}if(f=ga(c)||va(String.fromCharCode(c)),p=ga(d)||va(String.fromCharCode(d)),m=ma(c),h=ma(d),h?v=!1:p&&(m||f||(v=!1)),m?b=!1:f&&(h||p||(b=!1)),d===34&&s[0]==='"'&&c>=48&&c<=57&&(b=v=!1),v&&b&&(v=f,b=p),!v&&!b){C&&(r.content=Lr(r.content,s.index,ba));continue}if(b){for(w=R.length-1;w>=0&&(u=R[w],!(R[w].level<l));w--)if(u.single===C&&R[w].level===l){u=R[w],C?(E=e.md.options.quotes[2],_=e.md.options.quotes[3]):(E=e.md.options.quotes[0],_=e.md.options.quotes[1]),r.content=Lr(r.content,s.index,_),t[u.token].content=Lr(t[u.token].content,u.pos,E),i+=_.length-1,u.token===n&&(i+=E.length-1),o=r.content,a=o.length,R.length=w;continue e}}v?R.push({token:n,pos:s.index,single:C,level:l}):b&&C&&(r.content=Lr(r.content,s.index,ba))}}}}var JG=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type!=="inline"||!ZG.test(e.tokens[n].content)||KG(e.tokens[n].children,e)},YG=function(e){var n,r,o,s,i,a,l=e.tokens;for(n=0,r=l.length;n<r;n++)if(l[n].type==="inline"){for(o=l[n].children,i=o.length,s=0;s<i;s++)o[s].type==="text_special"&&(o[s].type="text");for(s=a=0;s<i;s++)o[s].type==="text"&&s+1<i&&o[s+1].type==="text"?o[s+1].content=o[s].content+o[s+1].content:(s!==a&&(o[a]=o[s]),a++);s!==a&&(o.length=a)}};function jn(t,e,n){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}jn.prototype.attrIndex=function(e){var n,r,o;if(!this.attrs)return-1;for(n=this.attrs,r=0,o=n.length;r<o;r++)if(n[r][0]===e)return r;return-1};jn.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]};jn.prototype.attrSet=function(e,n){var r=this.attrIndex(e),o=[e,n];r<0?this.attrPush(o):this.attrs[r]=o};jn.prototype.attrGet=function(e){var n=this.attrIndex(e),r=null;return n>=0&&(r=this.attrs[n][1]),r};jn.prototype.attrJoin=function(e,n){var r=this.attrIndex(e);r<0?this.attrPush([e,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};var ii=jn,XG=ii;function Hl(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}Hl.prototype.Token=XG;var QG=Hl,e6=si,Go=[["normalize",PG],["block",qG],["inline",VG],["linkify",NG],["replacements",WG],["smartquotes",JG],["text_join",YG]];function ai(){this.ruler=new e6;for(var t=0;t<Go.length;t++)this.ruler.push(Go[t][0],Go[t][1])}ai.prototype.process=function(t){var e,n,r;for(r=this.ruler.getRules(""),e=0,n=r.length;e<n;e++)r[e](t)};ai.prototype.State=QG;var t6=ai,Wo=ce.isSpace;function Zo(t,e){var n=t.bMarks[e]+t.tShift[e],r=t.eMarks[e];return t.src.slice(n,r)}function ka(t){var e=[],n=0,r=t.length,o,s=!1,i=0,a="";for(o=t.charCodeAt(n);n<r;)o===124&&(s?(a+=t.substring(i,n-1),i=n):(e.push(a+t.substring(i,n)),a="",i=n+1)),s=o===92,n++,o=t.charCodeAt(n);return e.push(a+t.substring(i)),e}var n6=function(e,n,r,o){var s,i,a,l,u,c,d,f,p,m,h,v,b,w,C,R,E,_;if(n+2>r||(c=n+1,e.sCount[c]<e.blkIndent)||e.sCount[c]-e.blkIndent>=4||(a=e.bMarks[c]+e.tShift[c],a>=e.eMarks[c])||(E=e.src.charCodeAt(a++),E!==124&&E!==45&&E!==58)||a>=e.eMarks[c]||(_=e.src.charCodeAt(a++),_!==124&&_!==45&&_!==58&&!Wo(_))||E===45&&Wo(_))return!1;for(;a<e.eMarks[c];){if(s=e.src.charCodeAt(a),s!==124&&s!==45&&s!==58&&!Wo(s))return!1;a++}for(i=Zo(e,n+1),d=i.split("|"),m=[],l=0;l<d.length;l++){if(h=d[l].trim(),!h){if(l===0||l===d.length-1)continue;return!1}if(!/^:?-+:?$/.test(h))return!1;h.charCodeAt(h.length-1)===58?m.push(h.charCodeAt(0)===58?"center":"right"):h.charCodeAt(0)===58?m.push("left"):m.push("")}if(i=Zo(e,n).trim(),i.indexOf("|")===-1||e.sCount[n]-e.blkIndent>=4||(d=ka(i),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),f=d.length,f===0||f!==m.length))return!1;if(o)return!0;for(w=e.parentType,e.parentType="table",R=e.md.block.ruler.getRules("blockquote"),p=e.push("table_open","table",1),p.map=v=[n,0],p=e.push("thead_open","thead",1),p.map=[n,n+1],p=e.push("tr_open","tr",1),p.map=[n,n+1],l=0;l<d.length;l++)p=e.push("th_open","th",1),m[l]&&(p.attrs=[["style","text-align:"+m[l]]]),p=e.push("inline","",0),p.content=d[l].trim(),p.children=[],p=e.push("th_close","th",-1);for(p=e.push("tr_close","tr",-1),p=e.push("thead_close","thead",-1),c=n+2;c<r&&!(e.sCount[c]<e.blkIndent);c++){for(C=!1,l=0,u=R.length;l<u;l++)if(R[l](e,c,r,!0)){C=!0;break}if(C||(i=Zo(e,c).trim(),!i)||e.sCount[c]-e.blkIndent>=4)break;for(d=ka(i),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),c===n+2&&(p=e.push("tbody_open","tbody",1),p.map=b=[n+2,0]),p=e.push("tr_open","tr",1),p.map=[c,c+1],l=0;l<f;l++)p=e.push("td_open","td",1),m[l]&&(p.attrs=[["style","text-align:"+m[l]]]),p=e.push("inline","",0),p.content=d[l]?d[l].trim():"",p.children=[],p=e.push("td_close","td",-1);p=e.push("tr_close","tr",-1)}return b&&(p=e.push("tbody_close","tbody",-1),b[1]=c),p=e.push("table_close","table",-1),v[1]=c,e.parentType=w,e.line=c,!0},r6=function(e,n,r){var o,s,i;if(e.sCount[n]-e.blkIndent<4)return!1;for(s=o=n+1;o<r;){if(e.isEmpty(o)){o++;continue}if(e.sCount[o]-e.blkIndent>=4){o++,s=o;continue}break}return e.line=s,i=e.push("code_block","code",0),i.content=e.getLines(n,s,4+e.blkIndent,!1)+`
|
||
`,i.map=[n,e.line],!0},o6=function(e,n,r,o){var s,i,a,l,u,c,d,f=!1,p=e.bMarks[n]+e.tShift[n],m=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||p+3>m||(s=e.src.charCodeAt(p),s!==126&&s!==96)||(u=p,p=e.skipChars(p,s),i=p-u,i<3)||(d=e.src.slice(u,p),a=e.src.slice(p,m),s===96&&a.indexOf(String.fromCharCode(s))>=0))return!1;if(o)return!0;for(l=n;l++,!(l>=r||(p=u=e.bMarks[l]+e.tShift[l],m=e.eMarks[l],p<m&&e.sCount[l]<e.blkIndent));)if(e.src.charCodeAt(p)===s&&!(e.sCount[l]-e.blkIndent>=4)&&(p=e.skipChars(p,s),!(p-u<i)&&(p=e.skipSpaces(p),!(p<m)))){f=!0;break}return i=e.sCount[n],e.line=l+(f?1:0),c=e.push("fence","code",0),c.info=a,c.content=e.getLines(n+1,l,i,!0),c.markup=d,c.map=[n,e.line],!0},s6=ce.isSpace,i6=function(e,n,r,o){var s,i,a,l,u,c,d,f,p,m,h,v,b,w,C,R,E,_,y,x,L=e.lineMax,F=e.bMarks[n]+e.tShift[n],T=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(F)!==62)return!1;if(o)return!0;for(m=[],h=[],w=[],C=[],_=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",f=n;f<r&&(x=e.sCount[f]<e.blkIndent,F=e.bMarks[f]+e.tShift[f],T=e.eMarks[f],!(F>=T));f++){if(e.src.charCodeAt(F++)===62&&!x){for(l=e.sCount[f]+1,e.src.charCodeAt(F)===32?(F++,l++,s=!1,R=!0):e.src.charCodeAt(F)===9?(R=!0,(e.bsCount[f]+l)%4===3?(F++,l++,s=!1):s=!0):R=!1,p=l,m.push(e.bMarks[f]),e.bMarks[f]=F;F<T&&(i=e.src.charCodeAt(F),s6(i));){i===9?p+=4-(p+e.bsCount[f]+(s?1:0))%4:p++;F++}c=F>=T,h.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(R?1:0),w.push(e.sCount[f]),e.sCount[f]=p-l,C.push(e.tShift[f]),e.tShift[f]=F-e.bMarks[f];continue}if(c)break;for(E=!1,a=0,u=_.length;a<u;a++)if(_[a](e,f,r,!0)){E=!0;break}if(E){e.lineMax=f,e.blkIndent!==0&&(m.push(e.bMarks[f]),h.push(e.bsCount[f]),C.push(e.tShift[f]),w.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}m.push(e.bMarks[f]),h.push(e.bsCount[f]),C.push(e.tShift[f]),w.push(e.sCount[f]),e.sCount[f]=-1}for(v=e.blkIndent,e.blkIndent=0,y=e.push("blockquote_open","blockquote",1),y.markup=">",y.map=d=[n,0],e.md.block.tokenize(e,n,f),y=e.push("blockquote_close","blockquote",-1),y.markup=">",e.lineMax=L,e.parentType=b,d[1]=e.line,a=0;a<C.length;a++)e.bMarks[a+n]=m[a],e.tShift[a+n]=C[a],e.sCount[a+n]=w[a],e.bsCount[a+n]=h[a];return e.blkIndent=v,!0},a6=ce.isSpace,l6=function(e,n,r,o){var s,i,a,l,u=e.bMarks[n]+e.tShift[n],c=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||(s=e.src.charCodeAt(u++),s!==42&&s!==45&&s!==95))return!1;for(i=1;u<c;){if(a=e.src.charCodeAt(u++),a!==s&&!a6(a))return!1;a===s&&i++}return i<3?!1:(o||(e.line=n+1,l=e.push("hr","hr",0),l.map=[n,e.line],l.markup=Array(i+1).join(String.fromCharCode(s))),!0)},Gl=ce.isSpace;function xa(t,e){var n,r,o,s;return r=t.bMarks[e]+t.tShift[e],o=t.eMarks[e],n=t.src.charCodeAt(r++),n!==42&&n!==45&&n!==43||r<o&&(s=t.src.charCodeAt(r),!Gl(s))?-1:r}function wa(t,e){var n,r=t.bMarks[e]+t.tShift[e],o=r,s=t.eMarks[e];if(o+1>=s||(n=t.src.charCodeAt(o++),n<48||n>57))return-1;for(;;){if(o>=s)return-1;if(n=t.src.charCodeAt(o++),n>=48&&n<=57){if(o-r>=10)return-1;continue}if(n===41||n===46)break;return-1}return o<s&&(n=t.src.charCodeAt(o),!Gl(n))?-1:o}function c6(t,e){var n,r,o=t.level+2;for(n=e+2,r=t.tokens.length-2;n<r;n++)t.tokens[n].level===o&&t.tokens[n].type==="paragraph_open"&&(t.tokens[n+2].hidden=!0,t.tokens[n].hidden=!0,n+=2)}var u6=function(e,n,r,o){var s,i,a,l,u,c,d,f,p,m,h,v,b,w,C,R,E,_,y,x,L,F,T,A,D,S,V,I=n,$=!1,P=!0;if(e.sCount[I]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[I]-e.listIndent>=4&&e.sCount[I]<e.blkIndent)return!1;if(o&&e.parentType==="paragraph"&&e.sCount[I]>=e.blkIndent&&($=!0),(F=wa(e,I))>=0){if(d=!0,A=e.bMarks[I]+e.tShift[I],b=Number(e.src.slice(A,F-1)),$&&b!==1)return!1}else if((F=xa(e,I))>=0)d=!1;else return!1;if($&&e.skipSpaces(F)>=e.eMarks[I])return!1;if(o)return!0;for(v=e.src.charCodeAt(F-1),h=e.tokens.length,d?(V=e.push("ordered_list_open","ol",1),b!==1&&(V.attrs=[["start",b]])):V=e.push("bullet_list_open","ul",1),V.map=m=[I,0],V.markup=String.fromCharCode(v),T=!1,S=e.md.block.ruler.getRules("list"),E=e.parentType,e.parentType="list";I<r;){for(L=F,w=e.eMarks[I],c=C=e.sCount[I]+F-(e.bMarks[I]+e.tShift[I]);L<w;){if(s=e.src.charCodeAt(L),s===9)C+=4-(C+e.bsCount[I])%4;else if(s===32)C++;else break;L++}if(i=L,i>=w?u=1:u=C-c,u>4&&(u=1),l=c+u,V=e.push("list_item_open","li",1),V.markup=String.fromCharCode(v),V.map=f=[I,0],d&&(V.info=e.src.slice(A,F-1)),x=e.tight,y=e.tShift[I],_=e.sCount[I],R=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[I]=i-e.bMarks[I],e.sCount[I]=C,i>=w&&e.isEmpty(I+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,I,r,!0),(!e.tight||T)&&(P=!1),T=e.line-I>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=R,e.tShift[I]=y,e.sCount[I]=_,e.tight=x,V=e.push("list_item_close","li",-1),V.markup=String.fromCharCode(v),I=e.line,f[1]=I,I>=r||e.sCount[I]<e.blkIndent||e.sCount[I]-e.blkIndent>=4)break;for(D=!1,a=0,p=S.length;a<p;a++)if(S[a](e,I,r,!0)){D=!0;break}if(D)break;if(d){if(F=wa(e,I),F<0)break;A=e.bMarks[I]+e.tShift[I]}else if(F=xa(e,I),F<0)break;if(v!==e.src.charCodeAt(F-1))break}return d?V=e.push("ordered_list_close","ol",-1):V=e.push("bullet_list_close","ul",-1),V.markup=String.fromCharCode(v),m[1]=I,e.line=I,e.parentType=E,P&&c6(e,h),!0},d6=ce.normalizeReference,Ir=ce.isSpace,f6=function(e,n,r,o){var s,i,a,l,u,c,d,f,p,m,h,v,b,w,C,R,E=0,_=e.bMarks[n]+e.tShift[n],y=e.eMarks[n],x=n+1;if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(_)!==91)return!1;for(;++_<y;)if(e.src.charCodeAt(_)===93&&e.src.charCodeAt(_-1)!==92){if(_+1===y||e.src.charCodeAt(_+1)!==58)return!1;break}for(l=e.lineMax,C=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";x<l&&!e.isEmpty(x);x++)if(!(e.sCount[x]-e.blkIndent>3)&&!(e.sCount[x]<0)){for(w=!1,c=0,d=C.length;c<d;c++)if(C[c](e,x,l,!0)){w=!0;break}if(w)break}for(b=e.getLines(n,x,e.blkIndent,!1).trim(),y=b.length,_=1;_<y;_++){if(s=b.charCodeAt(_),s===91)return!1;if(s===93){p=_;break}else s===10?E++:s===92&&(_++,_<y&&b.charCodeAt(_)===10&&E++)}if(p<0||b.charCodeAt(p+1)!==58)return!1;for(_=p+2;_<y;_++)if(s=b.charCodeAt(_),s===10)E++;else if(!Ir(s))break;if(h=e.md.helpers.parseLinkDestination(b,_,y),!h.ok||(u=e.md.normalizeLink(h.str),!e.md.validateLink(u)))return!1;for(_=h.pos,E+=h.lines,i=_,a=E,v=_;_<y;_++)if(s=b.charCodeAt(_),s===10)E++;else if(!Ir(s))break;for(h=e.md.helpers.parseLinkTitle(b,_,y),_<y&&v!==_&&h.ok?(R=h.str,_=h.pos,E+=h.lines):(R="",_=i,E=a);_<y&&(s=b.charCodeAt(_),!!Ir(s));)_++;if(_<y&&b.charCodeAt(_)!==10&&R)for(R="",_=i,E=a;_<y&&(s=b.charCodeAt(_),!!Ir(s));)_++;return _<y&&b.charCodeAt(_)!==10||(f=d6(b.slice(1,p)),!f)?!1:(o||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[f]>"u"&&(e.env.references[f]={title:R,href:u}),e.parentType=m,e.line=n+E+1),!0)},h6=["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","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],So={},p6="[a-zA-Z_:][a-zA-Z0-9:._-]*",m6="[^\"'=<>`\\x00-\\x20]+",v6="'[^']*'",g6='"[^"]*"',y6="(?:"+m6+"|"+v6+"|"+g6+")",b6="(?:\\s+"+p6+"(?:\\s*=\\s*"+y6+")?)",Wl="<[A-Za-z][A-Za-z0-9\\-]*"+b6+"*\\s*\\/?>",Zl="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",k6="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",x6="<[?][\\s\\S]*?[?]>",w6="<![A-Z]+\\s+[^>]*>",_6="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",C6=new RegExp("^(?:"+Wl+"|"+Zl+"|"+k6+"|"+x6+"|"+w6+"|"+_6+")"),S6=new RegExp("^(?:"+Wl+"|"+Zl+")");So.HTML_TAG_RE=C6;So.HTML_OPEN_CLOSE_TAG_RE=S6;var A6=h6,E6=So.HTML_OPEN_CLOSE_TAG_RE,bn=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+A6.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(E6.source+"\\s*$"),/^$/,!1]],T6=function(e,n,r,o){var s,i,a,l,u=e.bMarks[n]+e.tShift[n],c=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(u)!==60)return!1;for(l=e.src.slice(u,c),s=0;s<bn.length&&!bn[s][0].test(l);s++);if(s===bn.length)return!1;if(o)return bn[s][2];if(i=n+1,!bn[s][1].test(l)){for(;i<r&&!(e.sCount[i]<e.blkIndent);i++)if(u=e.bMarks[i]+e.tShift[i],c=e.eMarks[i],l=e.src.slice(u,c),bn[s][1].test(l)){l.length!==0&&i++;break}}return e.line=i,a=e.push("html_block","",0),a.map=[n,i],a.content=e.getLines(n,i,e.blkIndent,!0),!0},_a=ce.isSpace,D6=function(e,n,r,o){var s,i,a,l,u=e.bMarks[n]+e.tShift[n],c=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||(s=e.src.charCodeAt(u),s!==35||u>=c))return!1;for(i=1,s=e.src.charCodeAt(++u);s===35&&u<c&&i<=6;)i++,s=e.src.charCodeAt(++u);return i>6||u<c&&!_a(s)?!1:(o||(c=e.skipSpacesBack(c,u),a=e.skipCharsBack(c,35,u),a>u&&_a(e.src.charCodeAt(a-1))&&(c=a),e.line=n+1,l=e.push("heading_open","h"+String(i),1),l.markup="########".slice(0,i),l.map=[n,e.line],l=e.push("inline","",0),l.content=e.src.slice(u,c).trim(),l.map=[n,e.line],l.children=[],l=e.push("heading_close","h"+String(i),-1),l.markup="########".slice(0,i)),!0)},R6=function(e,n,r){var o,s,i,a,l,u,c,d,f,p=n+1,m,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(m=e.parentType,e.parentType="paragraph";p<r&&!e.isEmpty(p);p++)if(!(e.sCount[p]-e.blkIndent>3)){if(e.sCount[p]>=e.blkIndent&&(u=e.bMarks[p]+e.tShift[p],c=e.eMarks[p],u<c&&(f=e.src.charCodeAt(u),(f===45||f===61)&&(u=e.skipChars(u,f),u=e.skipSpaces(u),u>=c)))){d=f===61?1:2;break}if(!(e.sCount[p]<0)){for(s=!1,i=0,a=h.length;i<a;i++)if(h[i](e,p,r,!0)){s=!0;break}if(s)break}}return d?(o=e.getLines(n,p,e.blkIndent,!1).trim(),e.line=p+1,l=e.push("heading_open","h"+String(d),1),l.markup=String.fromCharCode(f),l.map=[n,e.line],l=e.push("inline","",0),l.content=o,l.map=[n,e.line-1],l.children=[],l=e.push("heading_close","h"+String(d),-1),l.markup=String.fromCharCode(f),e.parentType=m,!0):!1},F6=function(e,n,r){var o,s,i,a,l,u,c=n+1,d=e.md.block.ruler.getRules("paragraph");for(u=e.parentType,e.parentType="paragraph";c<r&&!e.isEmpty(c);c++)if(!(e.sCount[c]-e.blkIndent>3)&&!(e.sCount[c]<0)){for(s=!1,i=0,a=d.length;i<a;i++)if(d[i](e,c,r,!0)){s=!0;break}if(s)break}return o=e.getLines(n,c,e.blkIndent,!1).trim(),e.line=c,l=e.push("paragraph_open","p",1),l.map=[n,e.line],l=e.push("inline","",0),l.content=o,l.map=[n,e.line],l.children=[],l=e.push("paragraph_close","p",-1),e.parentType=u,!0},Kl=ii,Ao=ce.isSpace;function _t(t,e,n,r){var o,s,i,a,l,u,c,d;for(this.src=t,this.md=e,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",s=this.src,d=!1,i=a=u=c=0,l=s.length;a<l;a++){if(o=s.charCodeAt(a),!d)if(Ao(o)){u++,o===9?c+=4-c%4:c++;continue}else d=!0;(o===10||a===l-1)&&(o!==10&&a++,this.bMarks.push(i),this.eMarks.push(a),this.tShift.push(u),this.sCount.push(c),this.bsCount.push(0),d=!1,u=0,c=0,i=a+1)}this.bMarks.push(s.length),this.eMarks.push(s.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}_t.prototype.push=function(t,e,n){var r=new Kl(t,e,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r};_t.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};_t.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;e<n&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e};_t.prototype.skipSpaces=function(e){for(var n,r=this.src.length;e<r&&(n=this.src.charCodeAt(e),!!Ao(n));e++);return e};_t.prototype.skipSpacesBack=function(e,n){if(e<=n)return e;for(;e>n;)if(!Ao(this.src.charCodeAt(--e)))return e+1;return e};_t.prototype.skipChars=function(e,n){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===n;e++);return e};_t.prototype.skipCharsBack=function(e,n,r){if(e<=r)return e;for(;e>r;)if(n!==this.src.charCodeAt(--e))return e+1;return e};_t.prototype.getLines=function(e,n,r,o){var s,i,a,l,u,c,d,f=e;if(e>=n)return"";for(c=new Array(n-e),s=0;f<n;f++,s++){for(i=0,d=l=this.bMarks[f],f+1<n||o?u=this.eMarks[f]+1:u=this.eMarks[f];l<u&&i<r;){if(a=this.src.charCodeAt(l),Ao(a))a===9?i+=4-(i+this.bsCount[f])%4:i++;else if(l-d<this.tShift[f])i++;else break;l++}i>r?c[s]=new Array(i-r+1).join(" ")+this.src.slice(l,u):c[s]=this.src.slice(l,u)}return c.join("")};_t.prototype.Token=Kl;var L6=_t,I6=si,Pr=[["table",n6,["paragraph","reference"]],["code",r6],["fence",o6,["paragraph","reference","blockquote","list"]],["blockquote",i6,["paragraph","reference","blockquote","list"]],["hr",l6,["paragraph","reference","blockquote","list"]],["list",u6,["paragraph","reference","blockquote"]],["reference",f6],["html_block",T6,["paragraph","reference","blockquote"]],["heading",D6,["paragraph","reference","blockquote"]],["lheading",R6],["paragraph",F6]];function Eo(){this.ruler=new I6;for(var t=0;t<Pr.length;t++)this.ruler.push(Pr[t][0],Pr[t][1],{alt:(Pr[t][2]||[]).slice()})}Eo.prototype.tokenize=function(t,e,n){for(var r,o,s,i=this.ruler.getRules(""),a=i.length,l=e,u=!1,c=t.md.options.maxNesting;l<n&&(t.line=l=t.skipEmptyLines(l),!(l>=n||t.sCount[l]<t.blkIndent));){if(t.level>=c){t.line=n;break}for(s=t.line,o=0;o<a;o++)if(r=i[o](t,l,n,!1),r){if(s>=t.line)throw new Error("block rule didn't increment state.line");break}if(!r)throw new Error("none of the block rules matched");t.tight=!u,t.isEmpty(t.line-1)&&(u=!0),l=t.line,l<n&&t.isEmpty(l)&&(u=!0,l++,t.line=l)}};Eo.prototype.parse=function(t,e,n,r){var o;t&&(o=new this.State(t,e,n,r),this.tokenize(o,o.line,o.lineMax))};Eo.prototype.State=L6;var P6=Eo;function q6(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}var V6=function(e,n){for(var r=e.pos;r<e.posMax&&!q6(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)},O6=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,z6=function(e,n){var r,o,s,i,a,l,u,c;return!e.md.options.linkify||e.linkLevel>0||(r=e.pos,o=e.posMax,r+3>o)||e.src.charCodeAt(r)!==58||e.src.charCodeAt(r+1)!==47||e.src.charCodeAt(r+2)!==47||(s=e.pending.match(O6),!s)||(i=s[1],a=e.md.linkify.matchAtStart(e.src.slice(r-i.length)),!a)||(l=a.url,l.length<=i.length)||(l=l.replace(/\*+$/,""),u=e.md.normalizeLink(l),!e.md.validateLink(u))?!1:(n||(e.pending=e.pending.slice(0,-i.length),c=e.push("link_open","a",1),c.attrs=[["href",u]],c.markup="linkify",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(l),c=e.push("link_close","a",-1),c.markup="linkify",c.info="auto"),e.pos+=l.length-i.length,!0)},B6=ce.isSpace,N6=function(e,n){var r,o,s,i=e.pos;if(e.src.charCodeAt(i)!==10)return!1;if(r=e.pending.length-1,o=e.posMax,!n)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){for(s=r-1;s>=1&&e.pending.charCodeAt(s-1)===32;)s--;e.pending=e.pending.slice(0,s),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(i++;i<o&&B6(e.src.charCodeAt(i));)i++;return e.pos=i,!0},$6=ce.isSpace,li=[];for(var Ca=0;Ca<256;Ca++)li.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){li[t.charCodeAt(0)]=1});var M6=function(e,n){var r,o,s,i,a,l=e.pos,u=e.posMax;if(e.src.charCodeAt(l)!==92||(l++,l>=u))return!1;if(r=e.src.charCodeAt(l),r===10){for(n||e.push("hardbreak","br",0),l++;l<u&&(r=e.src.charCodeAt(l),!!$6(r));)l++;return e.pos=l,!0}return i=e.src[l],r>=55296&&r<=56319&&l+1<u&&(o=e.src.charCodeAt(l+1),o>=56320&&o<=57343&&(i+=e.src[l+1],l++)),s="\\"+i,n||(a=e.push("text_special","",0),r<256&&li[r]!==0?a.content=i:a.content=s,a.markup=s,a.info="escape"),e.pos=l+1,!0},U6=function(e,n){var r,o,s,i,a,l,u,c,d=e.pos,f=e.src.charCodeAt(d);if(f!==96)return!1;for(r=d,d++,o=e.posMax;d<o&&e.src.charCodeAt(d)===96;)d++;if(s=e.src.slice(r,d),u=s.length,e.backticksScanned&&(e.backticks[u]||0)<=r)return n||(e.pending+=s),e.pos+=u,!0;for(l=d;(a=e.src.indexOf("`",l))!==-1;){for(l=a+1;l<o&&e.src.charCodeAt(l)===96;)l++;if(c=l-a,c===u)return n||(i=e.push("code_inline","code",0),i.markup=s,i.content=e.src.slice(d,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=l,!0;e.backticks[c]=a}return e.backticksScanned=!0,n||(e.pending+=s),e.pos+=u,!0},To={};To.tokenize=function(e,n){var r,o,s,i,a,l=e.pos,u=e.src.charCodeAt(l);if(n||u!==126||(o=e.scanDelims(e.pos,!0),i=o.length,a=String.fromCharCode(u),i<2))return!1;for(i%2&&(s=e.push("text","",0),s.content=a,i--),r=0;r<i;r+=2)s=e.push("text","",0),s.content=a+a,e.delimiters.push({marker:u,length:0,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0};function Sa(t,e){var n,r,o,s,i,a=[],l=e.length;for(n=0;n<l;n++)o=e[n],o.marker===126&&o.end!==-1&&(s=e[o.end],i=t.tokens[o.token],i.type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",i=t.tokens[s.token],i.type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="",t.tokens[s.token-1].type==="text"&&t.tokens[s.token-1].content==="~"&&a.push(s.token-1));for(;a.length;){for(n=a.pop(),r=n+1;r<t.tokens.length&&t.tokens[r].type==="s_close";)r++;r--,n!==r&&(i=t.tokens[r],t.tokens[r]=t.tokens[n],t.tokens[n]=i)}}To.postProcess=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(Sa(e,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&Sa(e,r[n].delimiters)};var Do={};Do.tokenize=function(e,n){var r,o,s,i=e.pos,a=e.src.charCodeAt(i);if(n||a!==95&&a!==42)return!1;for(o=e.scanDelims(e.pos,a===42),r=0;r<o.length;r++)s=e.push("text","",0),s.content=String.fromCharCode(a),e.delimiters.push({marker:a,length:o.length,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0};function Aa(t,e){var n,r,o,s,i,a,l=e.length;for(n=l-1;n>=0;n--)r=e[n],!(r.marker!==95&&r.marker!==42)&&r.end!==-1&&(o=e[r.end],a=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===o.token+1,i=String.fromCharCode(r.marker),s=t.tokens[r.token],s.type=a?"strong_open":"em_open",s.tag=a?"strong":"em",s.nesting=1,s.markup=a?i+i:i,s.content="",s=t.tokens[o.token],s.type=a?"strong_close":"em_close",s.tag=a?"strong":"em",s.nesting=-1,s.markup=a?i+i:i,s.content="",a&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--))}Do.postProcess=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(Aa(e,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&Aa(e,r[n].delimiters)};var j6=ce.normalizeReference,Ko=ce.isSpace,H6=function(e,n){var r,o,s,i,a,l,u,c,d,f="",p="",m=e.pos,h=e.posMax,v=e.pos,b=!0;if(e.src.charCodeAt(e.pos)!==91||(a=e.pos+1,i=e.md.helpers.parseLinkLabel(e,e.pos,!0),i<0))return!1;if(l=i+1,l<h&&e.src.charCodeAt(l)===40){for(b=!1,l++;l<h&&(o=e.src.charCodeAt(l),!(!Ko(o)&&o!==10));l++);if(l>=h)return!1;if(v=l,u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),u.ok){for(f=e.md.normalizeLink(u.str),e.md.validateLink(f)?l=u.pos:f="",v=l;l<h&&(o=e.src.charCodeAt(l),!(!Ko(o)&&o!==10));l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<h&&v!==l&&u.ok)for(p=u.str,l=u.pos;l<h&&(o=e.src.charCodeAt(l),!(!Ko(o)&&o!==10));l++);}(l>=h||e.src.charCodeAt(l)!==41)&&(b=!0),l++}if(b){if(typeof e.env.references>"u")return!1;if(l<h&&e.src.charCodeAt(l)===91?(v=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?s=e.src.slice(v,l++):l=i+1):l=i+1,s||(s=e.src.slice(a,i)),c=e.env.references[j6(s)],!c)return e.pos=m,!1;f=c.href,p=c.title}return n||(e.pos=a,e.posMax=i,d=e.push("link_open","a",1),d.attrs=r=[["href",f]],p&&r.push(["title",p]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,d=e.push("link_close","a",-1)),e.pos=l,e.posMax=h,!0},G6=ce.normalizeReference,Jo=ce.isSpace,W6=function(e,n){var r,o,s,i,a,l,u,c,d,f,p,m,h,v="",b=e.pos,w=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),a<0))return!1;if(u=a+1,u<w&&e.src.charCodeAt(u)===40){for(u++;u<w&&(o=e.src.charCodeAt(u),!(!Jo(o)&&o!==10));u++);if(u>=w)return!1;for(h=u,d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),d.ok&&(v=e.md.normalizeLink(d.str),e.md.validateLink(v)?u=d.pos:v=""),h=u;u<w&&(o=e.src.charCodeAt(u),!(!Jo(o)&&o!==10));u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<w&&h!==u&&d.ok)for(f=d.str,u=d.pos;u<w&&(o=e.src.charCodeAt(u),!(!Jo(o)&&o!==10));u++);else f="";if(u>=w||e.src.charCodeAt(u)!==41)return e.pos=b,!1;u++}else{if(typeof e.env.references>"u")return!1;if(u<w&&e.src.charCodeAt(u)===91?(h=u+1,u=e.md.helpers.parseLinkLabel(e,u),u>=0?i=e.src.slice(h,u++):u=a+1):u=a+1,i||(i=e.src.slice(l,a)),c=e.env.references[G6(i)],!c)return e.pos=b,!1;v=c.href,f=c.title}return n||(s=e.src.slice(l,a),e.md.inline.parse(s,e.md,e.env,m=[]),p=e.push("image","img",0),p.attrs=r=[["src",v],["alt",""]],p.children=m,p.content=s,f&&r.push(["title",f])),e.pos=u,e.posMax=w,!0},Z6=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,K6=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,J6=function(e,n){var r,o,s,i,a,l,u=e.pos;if(e.src.charCodeAt(u)!==60)return!1;for(a=e.pos,l=e.posMax;;){if(++u>=l||(i=e.src.charCodeAt(u),i===60))return!1;if(i===62)break}return r=e.src.slice(a+1,u),K6.test(r)?(o=e.md.normalizeLink(r),e.md.validateLink(o)?(n||(s=e.push("link_open","a",1),s.attrs=[["href",o]],s.markup="autolink",s.info="auto",s=e.push("text","",0),s.content=e.md.normalizeLinkText(r),s=e.push("link_close","a",-1),s.markup="autolink",s.info="auto"),e.pos+=r.length+2,!0):!1):Z6.test(r)?(o=e.md.normalizeLink("mailto:"+r),e.md.validateLink(o)?(n||(s=e.push("link_open","a",1),s.attrs=[["href",o]],s.markup="autolink",s.info="auto",s=e.push("text","",0),s.content=e.md.normalizeLinkText(r),s=e.push("link_close","a",-1),s.markup="autolink",s.info="auto"),e.pos+=r.length+2,!0):!1):!1},Y6=So.HTML_TAG_RE;function X6(t){return/^<a[>\s]/i.test(t)}function Q6(t){return/^<\/a\s*>/i.test(t)}function e8(t){var e=t|32;return e>=97&&e<=122}var t8=function(e,n){var r,o,s,i,a=e.pos;return!e.md.options.html||(s=e.posMax,e.src.charCodeAt(a)!==60||a+2>=s)||(r=e.src.charCodeAt(a+1),r!==33&&r!==63&&r!==47&&!e8(r))||(o=e.src.slice(a).match(Y6),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=o[0],X6(i.content)&&e.linkLevel++,Q6(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},Ea=Nl,n8=ce.has,r8=ce.isValidEntityCode,Ta=ce.fromCodePoint,o8=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,s8=/^&([a-z][a-z0-9]{1,31});/i,i8=function(e,n){var r,o,s,i,a=e.pos,l=e.posMax;if(e.src.charCodeAt(a)!==38||a+1>=l)return!1;if(r=e.src.charCodeAt(a+1),r===35){if(s=e.src.slice(a).match(o8),s)return n||(o=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),i=e.push("text_special","",0),i.content=r8(o)?Ta(o):Ta(65533),i.markup=s[0],i.info="entity"),e.pos+=s[0].length,!0}else if(s=e.src.slice(a).match(s8),s&&n8(Ea,s[1]))return n||(i=e.push("text_special","",0),i.content=Ea[s[1]],i.markup=s[0],i.info="entity"),e.pos+=s[0].length,!0;return!1};function Da(t){var e,n,r,o,s,i,a,l,u={},c=t.length;if(c){var d=0,f=-2,p=[];for(e=0;e<c;e++)if(r=t[e],p.push(0),(t[d].marker!==r.marker||f!==r.token-1)&&(d=e),f=r.token,r.length=r.length||0,!!r.close){for(u.hasOwnProperty(r.marker)||(u[r.marker]=[-1,-1,-1,-1,-1,-1]),s=u[r.marker][(r.open?3:0)+r.length%3],n=d-p[d]-1,i=n;n>s;n-=p[n]+1)if(o=t[n],o.marker===r.marker&&o.open&&o.end<0&&(a=!1,(o.close||r.open)&&(o.length+r.length)%3===0&&(o.length%3!==0||r.length%3!==0)&&(a=!0),!a)){l=n>0&&!t[n-1].open?p[n-1]+1:0,p[e]=e-n+l,p[n]=l,r.open=!1,o.end=e,o.close=!1,i=-1,f=-2;break}i!==-1&&(u[r.marker][(r.open?3:0)+(r.length||0)%3]=i)}}}var a8=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(Da(e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&Da(r[n].delimiters)},l8=function(e){var n,r,o=0,s=e.tokens,i=e.tokens.length;for(n=r=0;n<i;n++)s[n].nesting<0&&o--,s[n].level=o,s[n].nesting>0&&o++,s[n].type==="text"&&n+1<i&&s[n+1].type==="text"?s[n+1].content=s[n].content+s[n+1].content:(n!==r&&(s[r]=s[n]),r++);n!==r&&(s.length=r)},ci=ii,Ra=ce.isWhiteSpace,Fa=ce.isPunctChar,La=ce.isMdAsciiPunct;function yr(t,e,n,r){this.src=t,this.env=n,this.md=e,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}yr.prototype.pushPending=function(){var t=new ci("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t};yr.prototype.push=function(t,e,n){this.pending&&this.pushPending();var r=new ci(t,e,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(o),r};yr.prototype.scanDelims=function(t,e){var n=t,r,o,s,i,a,l,u,c,d,f=!0,p=!0,m=this.posMax,h=this.src.charCodeAt(t);for(r=t>0?this.src.charCodeAt(t-1):32;n<m&&this.src.charCodeAt(n)===h;)n++;return s=n-t,o=n<m?this.src.charCodeAt(n):32,u=La(r)||Fa(String.fromCharCode(r)),d=La(o)||Fa(String.fromCharCode(o)),l=Ra(r),c=Ra(o),c?f=!1:d&&(l||u||(f=!1)),l?p=!1:u&&(c||d||(p=!1)),e?(i=f,a=p):(i=f&&(!p||u),a=p&&(!f||d)),{can_open:i,can_close:a,length:s}};yr.prototype.Token=ci;var c8=yr,Ia=si,Yo=[["text",V6],["linkify",z6],["newline",N6],["escape",M6],["backticks",U6],["strikethrough",To.tokenize],["emphasis",Do.tokenize],["link",H6],["image",W6],["autolink",J6],["html_inline",t8],["entity",i8]],Xo=[["balance_pairs",a8],["strikethrough",To.postProcess],["emphasis",Do.postProcess],["fragments_join",l8]];function br(){var t;for(this.ruler=new Ia,t=0;t<Yo.length;t++)this.ruler.push(Yo[t][0],Yo[t][1]);for(this.ruler2=new Ia,t=0;t<Xo.length;t++)this.ruler2.push(Xo[t][0],Xo[t][1])}br.prototype.skipToken=function(t){var e,n,r=t.pos,o=this.ruler.getRules(""),s=o.length,i=t.md.options.maxNesting,a=t.cache;if(typeof a[r]<"u"){t.pos=a[r];return}if(t.level<i){for(n=0;n<s;n++)if(t.level++,e=o[n](t,!0),t.level--,e){if(r>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;e||t.pos++,a[r]=t.pos};br.prototype.tokenize=function(t){for(var e,n,r,o=this.ruler.getRules(""),s=o.length,i=t.posMax,a=t.md.options.maxNesting;t.pos<i;){if(r=t.pos,t.level<a){for(n=0;n<s;n++)if(e=o[n](t,!1),e){if(r>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(e){if(t.pos>=i)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};br.prototype.parse=function(t,e,n,r){var o,s,i,a=new this.State(t,e,n,r);for(this.tokenize(a),s=this.ruler2.getRules(""),i=s.length,o=0;o<i;o++)s[o](a)};br.prototype.State=c8;var u8=br,Qo,Pa;function d8(){return Pa||(Pa=1,Qo=function(t){var e={};t=t||{},e.src_Any=$l().source,e.src_Cc=Ml().source,e.src_Z=Ul().source,e.src_P=oi.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");var n="[><|]";return e.src_pseudo_letter="(?:(?!"+n+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+n+"|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),Qo}function bs(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(n){n&&Object.keys(n).forEach(function(r){t[r]=n[r]})}),t}function Ro(t){return Object.prototype.toString.call(t)}function f8(t){return Ro(t)==="[object String]"}function h8(t){return Ro(t)==="[object Object]"}function p8(t){return Ro(t)==="[object RegExp]"}function qa(t){return Ro(t)==="[object Function]"}function m8(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Jl={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function v8(t){return Object.keys(t||{}).reduce(function(e,n){return e||Jl.hasOwnProperty(n)},!1)}var g8={"http:":{validate:function(t,e,n){var r=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var r=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},y8="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",b8="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function k8(t){t.__index__=-1,t.__text_cache__=""}function x8(t){return function(e,n){var r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}function Va(){return function(t,e){e.normalize(t)}}function ro(t){var e=t.re=d8()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(y8),n.push(e.src_xn),e.src_tlds=n.join("|");function r(a){return a.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");var o=[];t.__compiled__={};function s(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(t.__schemas__).forEach(function(a){var l=t.__schemas__[a];if(l!==null){var u={validate:null,link:null};if(t.__compiled__[a]=u,h8(l)){p8(l.validate)?u.validate=x8(l.validate):qa(l.validate)?u.validate=l.validate:s(a,l),qa(l.normalize)?u.normalize=l.normalize:l.normalize?s(a,l):u.normalize=Va();return}if(f8(l)){o.push(a);return}s(a,l)}}),o.forEach(function(a){t.__compiled__[t.__schemas__[a]]&&(t.__compiled__[a].validate=t.__compiled__[t.__schemas__[a]].validate,t.__compiled__[a].normalize=t.__compiled__[t.__schemas__[a]].normalize)}),t.__compiled__[""]={validate:null,normalize:Va()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(m8).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+i+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+i+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),k8(t)}function w8(t,e){var n=t.__index__,r=t.__last_index__,o=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=o,this.text=o,this.url=o}function ks(t,e){var n=new w8(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function Me(t,e){if(!(this instanceof Me))return new Me(t,e);e||v8(t)&&(e=t,t={}),this.__opts__=bs({},Jl,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=bs({},g8,t),this.__compiled__={},this.__tlds__=b8,this.__tlds_replaced__=!1,this.re={},ro(this)}Me.prototype.add=function(e,n){return this.__schemas__[e]=n,ro(this),this};Me.prototype.set=function(e){return this.__opts__=bs(this.__opts__,e),this};Me.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,r,o,s,i,a,l,u,c;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(e))!==null;)if(s=this.testSchemaAt(e,n[2],l.lastIndex),s){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test),u>=0&&(this.__index__<0||u<this.__index__)&&(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(i=r.index+r[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=e.indexOf("@"),c>=0&&(o=e.match(this.re.email_fuzzy))!==null&&(i=o.index+o[1].length,a=o.index+o[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a))),this.__index__>=0};Me.prototype.pretest=function(e){return this.re.pretest.test(e)};Me.prototype.testSchemaAt=function(e,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,r,this):0};Me.prototype.match=function(e){var n=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(ks(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)r.push(ks(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null};Me.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var n=this.re.schema_at_start.exec(e);if(!n)return null;var r=this.testSchemaAt(e,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,ks(this,0)):null};Me.prototype.tlds=function(e,n){return e=Array.isArray(e)?e:[e],n?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,o,s){return r!==s[o-1]}).reverse(),ro(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,ro(this),this)};Me.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};Me.prototype.onCompile=function(){};var _8=Me;const wn=2147483647,pt=36,ui=1,ir=26,C8=38,S8=700,Yl=72,Xl=128,Ql="-",A8=/^xn--/,E8=/[^\0-\x7F]/,T8=/[\x2E\u3002\uFF0E\uFF61]/g,D8={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},es=pt-ui,mt=Math.floor,ts=String.fromCharCode;function Nt(t){throw new RangeError(D8[t])}function R8(t,e){const n=[];let r=t.length;for(;r--;)n[r]=e(t[r]);return n}function ec(t,e){const n=t.split("@");let r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(T8,".");const o=t.split("."),s=R8(o,e).join(".");return r+s}function di(t){const e=[];let n=0;const r=t.length;for(;n<r;){const o=t.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){const s=t.charCodeAt(n++);(s&64512)==56320?e.push(((o&1023)<<10)+(s&1023)+65536):(e.push(o),n--)}else e.push(o)}return e}const tc=t=>String.fromCodePoint(...t),F8=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:pt},Oa=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},nc=function(t,e,n){let r=0;for(t=n?mt(t/S8):t>>1,t+=mt(t/e);t>es*ir>>1;r+=pt)t=mt(t/es);return mt(r+(es+1)*t/(t+C8))},fi=function(t){const e=[],n=t.length;let r=0,o=Xl,s=Yl,i=t.lastIndexOf(Ql);i<0&&(i=0);for(let a=0;a<i;++a)t.charCodeAt(a)>=128&&Nt("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a<n;){const l=r;for(let c=1,d=pt;;d+=pt){a>=n&&Nt("invalid-input");const f=F8(t.charCodeAt(a++));f>=pt&&Nt("invalid-input"),f>mt((wn-r)/c)&&Nt("overflow"),r+=f*c;const p=d<=s?ui:d>=s+ir?ir:d-s;if(f<p)break;const m=pt-p;c>mt(wn/m)&&Nt("overflow"),c*=m}const u=e.length+1;s=nc(r-l,u,l==0),mt(r/u)>wn-o&&Nt("overflow"),o+=mt(r/u),r%=u,e.splice(r++,0,o)}return String.fromCodePoint(...e)},hi=function(t){const e=[];t=di(t);const n=t.length;let r=Xl,o=0,s=Yl;for(const l of t)l<128&&e.push(ts(l));const i=e.length;let a=i;for(i&&e.push(Ql);a<n;){let l=wn;for(const c of t)c>=r&&c<l&&(l=c);const u=a+1;l-r>mt((wn-o)/u)&&Nt("overflow"),o+=(l-r)*u,r=l;for(const c of t)if(c<r&&++o>wn&&Nt("overflow"),c===r){let d=o;for(let f=pt;;f+=pt){const p=f<=s?ui:f>=s+ir?ir:f-s;if(d<p)break;const m=d-p,h=pt-p;e.push(ts(Oa(p+m%h,0))),d=mt(m/h)}e.push(ts(Oa(d,0))),s=nc(o,u,a===i),o=0,++a}++o,++r}return e.join("")},rc=function(t){return ec(t,function(e){return A8.test(e)?fi(e.slice(4).toLowerCase()):e})},oc=function(t){return ec(t,function(e){return E8.test(e)?"xn--"+hi(e):e})},L8={version:"2.3.1",ucs2:{decode:di,encode:tc},decode:fi,encode:hi,toASCII:oc,toUnicode:rc},I8=Object.freeze(Object.defineProperty({__proto__:null,decode:fi,default:L8,encode:hi,toASCII:oc,toUnicode:rc,ucs2decode:di,ucs2encode:tc},Symbol.toStringTag,{value:"Module"})),P8=Vf(I8);var q8={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},V8={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},O8={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},rr=ce,z8=Co,B8=FG,N8=t6,$8=P6,M8=u8,U8=_8,rn=Mn,sc=P8,j8={default:q8,zero:V8,commonmark:O8},H8=/^(vbscript|javascript|file|data):/,G8=/^data:image\/(gif|png|jpeg|webp);/;function W8(t){var e=t.trim().toLowerCase();return H8.test(e)?!!G8.test(e):!0}var ic=["http:","https:","mailto:"];function Z8(t){var e=rn.parse(t,!0);if(e.hostname&&(!e.protocol||ic.indexOf(e.protocol)>=0))try{e.hostname=sc.toASCII(e.hostname)}catch{}return rn.encode(rn.format(e))}function K8(t){var e=rn.parse(t,!0);if(e.hostname&&(!e.protocol||ic.indexOf(e.protocol)>=0))try{e.hostname=sc.toUnicode(e.hostname)}catch{}return rn.decode(rn.format(e),rn.decode.defaultChars+"%")}function We(t,e){if(!(this instanceof We))return new We(t,e);e||rr.isString(t)||(e=t||{},t="default"),this.inline=new M8,this.block=new $8,this.core=new N8,this.renderer=new B8,this.linkify=new U8,this.validateLink=W8,this.normalizeLink=Z8,this.normalizeLinkText=K8,this.utils=rr,this.helpers=rr.assign({},z8),this.options={},this.configure(t),e&&this.set(e)}We.prototype.set=function(t){return rr.assign(this.options,t),this};We.prototype.configure=function(t){var e=this,n;if(rr.isString(t)&&(n=t,t=j8[n],!t))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(r){t.components[r].rules&&e[r].ruler.enableOnly(t.components[r].rules),t.components[r].rules2&&e[r].ruler2.enableOnly(t.components[r].rules2)}),this};We.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var r=t.filter(function(o){return n.indexOf(o)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};We.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var r=t.filter(function(o){return n.indexOf(o)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};We.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};We.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens};We.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};We.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};We.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var J8=We,Y8=J8;const X8=ri(Y8),za=new Set([!0,!1,"alt","title"]);function ac(t,e){return(Array.isArray(t)?t:[]).filter(([n])=>n!==e)}function lc(t,e){t&&t.attrs&&(t.attrs=ac(t.attrs,e))}function Q8(t,e){if(!za.has(t))throw new TypeError(`figcaption must be one of: ${[...za]}.`);if(t==="alt")return e.content;const n=e.attrs.find(([r])=>r==="title");return Array.isArray(n)&&n[1]?(lc(e,"title"),n[1]):void 0}function eW(t,e){e=e||{},t.core.ruler.before("linkify","image_figures",function(n){let r=1;for(let o=1,s=n.tokens.length;o<s-1;++o){const i=n.tokens[o];if(i.type!=="inline"||!i.children||i.children.length!==1&&i.children.length!==3||i.children.length===1&&i.children[0].type!=="image")continue;if(i.children.length===3){const[u,c,d]=i.children;if(u.type!=="link_open"||c.type!=="image"||d.type!=="link_close")continue}if(o!==0&&n.tokens[o-1].type!=="paragraph_open"||o!==s-1&&n.tokens[o+1].type!=="paragraph_close")continue;const a=n.tokens[o-1];let l;if(a.type="figure_open",a.tag="figure",n.tokens[o+1].type="figure_close",n.tokens[o+1].tag="figure",e.dataType&&n.tokens[o-1].attrPush(["data-type","image"]),e.link&&i.children.length===1){[l]=i.children;const u=new n.Token("link_open","a",1);u.attrPush(["href",l.attrGet("src")]),i.children.unshift(u),i.children.push(new n.Token("link_close","a",-1))}if(l=i.children.length===1?i.children[0]:i.children[1],e.figcaption){const u=Q8(e.figcaption,l);if(u){const[c]=t.parseInline(u,n.env);i.children.push(new n.Token("figcaption_open","figcaption",1)),i.children.push(...c.children),i.children.push(new n.Token("figcaption_close","figcaption",-1)),l.attrs&&(l.attrs=ac(l.attrs,"title"))}}if(e.copyAttrs&&l.attrs){const u=e.copyAttrs===!0?"":e.copyAttrs;a.attrs=l.attrs.filter(([c])=>c.match(u)).map(c=>Array.from(c))}if(e.tabindex&&(n.tokens[o-1].attrPush(["tabindex",r]),r++),e.lazy&&(l.attrs.some(([u])=>u==="loading")||l.attrs.push(["loading","lazy"])),e.async&&(l.attrs.some(([u])=>u==="decoding")||l.attrs.push(["decoding","async"])),e.classes&&typeof e.classes=="string"){let u=!1;for(let c=0,d=l.attrs.length;c<d&&!u;c++){const f=l.attrs[c];f[0]==="class"&&(f[1]=`${f[1]} ${e.classes}`,u=!0)}u||l.attrs.push(["class",e.classes])}if(e.removeSrc){const u=l.attrs.find(([c])=>c==="src");l.attrs.push(["data-src",u[1]]),lc(l,"src")}}})}var xs=!0,cc=!1,uc=!1,tW=function(t,e){e&&(xs=!e.enabled,cc=!!e.label,uc=!!e.labelAfter),t.core.ruler.after("inline","github-task-lists",function(n){for(var r=n.tokens,o=2;o<r.length;o++)rW(r,o)&&(oW(r[o],n.Token),Ba(r[o-2],"class","task-list-item"+(xs?"":" enabled")),Ba(r[nW(r,o-2)],"class","contains-task-list"))})};function Ba(t,e,n){var r=t.attrIndex(e),o=[e,n];r<0?t.attrPush(o):t.attrs[r]=o}function nW(t,e){for(var n=t[e].level-1,r=e-1;r>=0;r--)if(t[r].level===n)return r;return-1}function rW(t,e){return cW(t[e])&&uW(t[e-1])&&dW(t[e-2])&&fW(t[e])}function oW(t,e){if(t.children.unshift(sW(t,e)),t.children[1].content=t.children[1].content.slice(3),t.content=t.content.slice(3),cc)if(uc){t.children.pop();var n="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);t.children[0].content=t.children[0].content.slice(0,-1)+' id="'+n+'">',t.children.push(lW(t.content,n,e))}else t.children.unshift(iW(e)),t.children.push(aW(e))}function sW(t,e){var n=new e("html_inline","",0),r=xs?' disabled="" ':"";return t.content.indexOf("[ ] ")===0?n.content='<input class="task-list-item-checkbox"'+r+'type="checkbox">':(t.content.indexOf("[x] ")===0||t.content.indexOf("[X] ")===0)&&(n.content='<input class="task-list-item-checkbox" checked=""'+r+'type="checkbox">'),n}function iW(t){var e=new t("html_inline","",0);return e.content="<label>",e}function aW(t){var e=new t("html_inline","",0);return e.content="</label>",e}function lW(t,e,n){var r=new n("html_inline","",0);return r.content='<label class="task-list-item-label" for="'+e+'">'+t+"</label>",r.attrs=[{for:e}],r}function cW(t){return t.type==="inline"}function uW(t){return t.type==="paragraph_open"}function dW(t){return t.type==="list_item_open"}function fW(t){return t.content.indexOf("[ ] ")===0||t.content.indexOf("[x] ")===0||t.content.indexOf("[X] ")===0}const hW=ri(tW),Xn=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,dc=new Set,pW=(t,e,n,r)=>{typeof process=="object"&&process&&typeof process.emitWarning=="function"?process.emitWarning(t,e,n,r):console.error(`[${n}] ${e}: ${t}`)},mW=t=>!dc.has(t),qt=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),fc=t=>qt(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?Ur:null:null;class Ur extends Array{constructor(e){super(e),this.fill(0)}}var _n;const tn=class tn{constructor(e,n){re(this,"heap");re(this,"length");if(!k(tn,_n))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new n(e),this.length=0}static create(e){const n=fc(e);if(!n)return[];W(tn,_n,!0);const r=new tn(e,n);return W(tn,_n,!1),r}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}};_n=new WeakMap,ee(tn,_n,!1);let ws=tn;var Ye,Be,lt,Xe,Cn,Ce,Qe,Se,he,J,Ie,Ne,Re,Ae,et,Te,Ct,St,tt,ct,$t,Ve,cr,Cs,on,At,ur,$e,lo,hc,sn,Sn,dr,ut,Vt,dt,Ot,fr,Ss,An,jr,En,Hr,fe,ve,hr,As,an,nr;const wi=class wi{constructor(e){ee(this,cr);ee(this,lo);ee(this,ut);ee(this,dt);ee(this,fr);ee(this,An);ee(this,En);ee(this,fe);ee(this,hr);ee(this,an);ee(this,Ye,void 0);ee(this,Be,void 0);ee(this,lt,void 0);ee(this,Xe,void 0);ee(this,Cn,void 0);re(this,"ttl");re(this,"ttlResolution");re(this,"ttlAutopurge");re(this,"updateAgeOnGet");re(this,"updateAgeOnHas");re(this,"allowStale");re(this,"noDisposeOnSet");re(this,"noUpdateTTL");re(this,"maxEntrySize");re(this,"sizeCalculation");re(this,"noDeleteOnFetchRejection");re(this,"noDeleteOnStaleGet");re(this,"allowStaleOnFetchAbort");re(this,"allowStaleOnFetchRejection");re(this,"ignoreFetchAbort");ee(this,Ce,void 0);ee(this,Qe,void 0);ee(this,Se,void 0);ee(this,he,void 0);ee(this,J,void 0);ee(this,Ie,void 0);ee(this,Ne,void 0);ee(this,Re,void 0);ee(this,Ae,void 0);ee(this,et,void 0);ee(this,Te,void 0);ee(this,Ct,void 0);ee(this,St,void 0);ee(this,tt,void 0);ee(this,ct,void 0);ee(this,$t,void 0);ee(this,Ve,void 0);ee(this,on,()=>{});ee(this,At,()=>{});ee(this,ur,()=>{});ee(this,$e,()=>!1);ee(this,sn,e=>{});ee(this,Sn,(e,n,r)=>{});ee(this,dr,(e,n,r,o)=>{if(r||o)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});const{max:n=0,ttl:r,ttlResolution:o=1,ttlAutopurge:s,updateAgeOnGet:i,updateAgeOnHas:a,allowStale:l,dispose:u,disposeAfter:c,noDisposeOnSet:d,noUpdateTTL:f,maxSize:p=0,maxEntrySize:m=0,sizeCalculation:h,fetchMethod:v,noDeleteOnFetchRejection:b,noDeleteOnStaleGet:w,allowStaleOnFetchRejection:C,allowStaleOnFetchAbort:R,ignoreFetchAbort:E}=e;if(n!==0&&!qt(n))throw new TypeError("max option must be a nonnegative integer");const _=n?fc(n):Array;if(!_)throw new Error("invalid max value: "+n);if(W(this,Ye,n),W(this,Be,p),this.maxEntrySize=m||k(this,Be),this.sizeCalculation=h,this.sizeCalculation){if(!k(this,Be)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(v!==void 0&&typeof v!="function")throw new TypeError("fetchMethod must be a function if specified");if(W(this,Cn,v),W(this,$t,!!v),W(this,Se,new Map),W(this,he,new Array(n).fill(void 0)),W(this,J,new Array(n).fill(void 0)),W(this,Ie,new _(n)),W(this,Ne,new _(n)),W(this,Re,0),W(this,Ae,0),W(this,et,ws.create(n)),W(this,Ce,0),W(this,Qe,0),typeof u=="function"&&W(this,lt,u),typeof c=="function"?(W(this,Xe,c),W(this,Te,[])):(W(this,Xe,void 0),W(this,Te,void 0)),W(this,ct,!!k(this,lt)),W(this,Ve,!!k(this,Xe)),this.noDisposeOnSet=!!d,this.noUpdateTTL=!!f,this.noDeleteOnFetchRejection=!!b,this.allowStaleOnFetchRejection=!!C,this.allowStaleOnFetchAbort=!!R,this.ignoreFetchAbort=!!E,this.maxEntrySize!==0){if(k(this,Be)!==0&&!qt(k(this,Be)))throw new TypeError("maxSize must be a positive integer if specified");if(!qt(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");G(this,lo,hc).call(this)}if(this.allowStale=!!l,this.noDeleteOnStaleGet=!!w,this.updateAgeOnGet=!!i,this.updateAgeOnHas=!!a,this.ttlResolution=qt(o)||o===0?o:1,this.ttlAutopurge=!!s,this.ttl=r||0,this.ttl){if(!qt(this.ttl))throw new TypeError("ttl must be a positive integer if specified");G(this,cr,Cs).call(this)}if(k(this,Ye)===0&&this.ttl===0&&k(this,Be)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!k(this,Ye)&&!k(this,Be)){const y="LRU_CACHE_UNBOUNDED";mW(y)&&(dc.add(y),pW("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",y,wi))}}static unsafeExposeInternals(e){return{starts:k(e,St),ttls:k(e,tt),sizes:k(e,Ct),keyMap:k(e,Se),keyList:k(e,he),valList:k(e,J),next:k(e,Ie),prev:k(e,Ne),get head(){return k(e,Re)},get tail(){return k(e,Ae)},free:k(e,et),isBackgroundFetch:n=>{var r;return G(r=e,fe,ve).call(r,n)},backgroundFetch:(n,r,o,s)=>{var i;return G(i=e,En,Hr).call(i,n,r,o,s)},moveToTail:n=>{var r;return G(r=e,an,nr).call(r,n)},indexes:n=>{var r;return G(r=e,ut,Vt).call(r,n)},rindexes:n=>{var r;return G(r=e,dt,Ot).call(r,n)},isStale:n=>{var r;return k(r=e,$e).call(r,n)}}}get max(){return k(this,Ye)}get maxSize(){return k(this,Be)}get calculatedSize(){return k(this,Qe)}get size(){return k(this,Ce)}get fetchMethod(){return k(this,Cn)}get dispose(){return k(this,lt)}get disposeAfter(){return k(this,Xe)}getRemainingTTL(e){return k(this,Se).has(e)?1/0:0}*entries(){for(const e of G(this,ut,Vt).call(this))k(this,J)[e]!==void 0&&k(this,he)[e]!==void 0&&!G(this,fe,ve).call(this,k(this,J)[e])&&(yield[k(this,he)[e],k(this,J)[e]])}*rentries(){for(const e of G(this,dt,Ot).call(this))k(this,J)[e]!==void 0&&k(this,he)[e]!==void 0&&!G(this,fe,ve).call(this,k(this,J)[e])&&(yield[k(this,he)[e],k(this,J)[e]])}*keys(){for(const e of G(this,ut,Vt).call(this)){const n=k(this,he)[e];n!==void 0&&!G(this,fe,ve).call(this,k(this,J)[e])&&(yield n)}}*rkeys(){for(const e of G(this,dt,Ot).call(this)){const n=k(this,he)[e];n!==void 0&&!G(this,fe,ve).call(this,k(this,J)[e])&&(yield n)}}*values(){for(const e of G(this,ut,Vt).call(this))k(this,J)[e]!==void 0&&!G(this,fe,ve).call(this,k(this,J)[e])&&(yield k(this,J)[e])}*rvalues(){for(const e of G(this,dt,Ot).call(this))k(this,J)[e]!==void 0&&!G(this,fe,ve).call(this,k(this,J)[e])&&(yield k(this,J)[e])}[Symbol.iterator](){return this.entries()}find(e,n={}){for(const r of G(this,ut,Vt).call(this)){const o=k(this,J)[r],s=G(this,fe,ve).call(this,o)?o.__staleWhileFetching:o;if(s!==void 0&&e(s,k(this,he)[r],this))return this.get(k(this,he)[r],n)}}forEach(e,n=this){for(const r of G(this,ut,Vt).call(this)){const o=k(this,J)[r],s=G(this,fe,ve).call(this,o)?o.__staleWhileFetching:o;s!==void 0&&e.call(n,s,k(this,he)[r],this)}}rforEach(e,n=this){for(const r of G(this,dt,Ot).call(this)){const o=k(this,J)[r],s=G(this,fe,ve).call(this,o)?o.__staleWhileFetching:o;s!==void 0&&e.call(n,s,k(this,he)[r],this)}}purgeStale(){let e=!1;for(const n of G(this,dt,Ot).call(this,{allowStale:!0}))k(this,$e).call(this,n)&&(this.delete(k(this,he)[n]),e=!0);return e}dump(){const e=[];for(const n of G(this,ut,Vt).call(this,{allowStale:!0})){const r=k(this,he)[n],o=k(this,J)[n],s=G(this,fe,ve).call(this,o)?o.__staleWhileFetching:o;if(s===void 0||r===void 0)continue;const i={value:s};if(k(this,tt)&&k(this,St)){i.ttl=k(this,tt)[n];const a=Xn.now()-k(this,St)[n];i.start=Math.floor(Date.now()-a)}k(this,Ct)&&(i.size=k(this,Ct)[n]),e.unshift([r,i])}return e}load(e){this.clear();for(const[n,r]of e){if(r.start){const o=Date.now()-r.start;r.start=Xn.now()-o}this.set(n,r.value,r)}}set(e,n,r={}){var f,p,m;const{ttl:o=this.ttl,start:s,noDisposeOnSet:i=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:l}=r;let{noUpdateTTL:u=this.noUpdateTTL}=r;const c=k(this,dr).call(this,e,n,r.size||0,a);if(this.maxEntrySize&&c>this.maxEntrySize)return l&&(l.set="miss",l.maxEntrySizeExceeded=!0),this.delete(e),this;let d=k(this,Ce)===0?void 0:k(this,Se).get(e);if(d===void 0)d=k(this,Ce)===0?k(this,Ae):k(this,et).length!==0?k(this,et).pop():k(this,Ce)===k(this,Ye)?G(this,An,jr).call(this,!1):k(this,Ce),k(this,he)[d]=e,k(this,J)[d]=n,k(this,Se).set(e,d),k(this,Ie)[k(this,Ae)]=d,k(this,Ne)[d]=k(this,Ae),W(this,Ae,d),Cr(this,Ce)._++,k(this,Sn).call(this,d,c,l),l&&(l.set="add"),u=!1;else{G(this,an,nr).call(this,d);const h=k(this,J)[d];if(n!==h){if(k(this,$t)&&G(this,fe,ve).call(this,h)?h.__abortController.abort(new Error("replaced")):i||(k(this,ct)&&((f=k(this,lt))==null||f.call(this,h,e,"set")),k(this,Ve)&&((p=k(this,Te))==null||p.push([h,e,"set"]))),k(this,sn).call(this,d),k(this,Sn).call(this,d,c,l),k(this,J)[d]=n,l){l.set="replace";const v=h&&G(this,fe,ve).call(this,h)?h.__staleWhileFetching:h;v!==void 0&&(l.oldValue=v)}}else l&&(l.set="update")}if(o!==0&&!k(this,tt)&&G(this,cr,Cs).call(this),k(this,tt)&&(u||k(this,ur).call(this,d,o,s),l&&k(this,At).call(this,l,d)),!i&&k(this,Ve)&&k(this,Te)){const h=k(this,Te);let v;for(;v=h==null?void 0:h.shift();)(m=k(this,Xe))==null||m.call(this,...v)}return this}pop(){var e;try{for(;k(this,Ce);){const n=k(this,J)[k(this,Re)];if(G(this,An,jr).call(this,!0),G(this,fe,ve).call(this,n)){if(n.__staleWhileFetching)return n.__staleWhileFetching}else if(n!==void 0)return n}}finally{if(k(this,Ve)&&k(this,Te)){const n=k(this,Te);let r;for(;r=n==null?void 0:n.shift();)(e=k(this,Xe))==null||e.call(this,...r)}}}has(e,n={}){const{updateAgeOnHas:r=this.updateAgeOnHas,status:o}=n,s=k(this,Se).get(e);if(s!==void 0){const i=k(this,J)[s];if(G(this,fe,ve).call(this,i)&&i.__staleWhileFetching===void 0)return!1;if(k(this,$e).call(this,s))o&&(o.has="stale",k(this,At).call(this,o,s));else return r&&k(this,on).call(this,s),o&&(o.has="hit",k(this,At).call(this,o,s)),!0}else o&&(o.has="miss");return!1}peek(e,n={}){const{allowStale:r=this.allowStale}=n,o=k(this,Se).get(e);if(o!==void 0&&(r||!k(this,$e).call(this,o))){const s=k(this,J)[o];return G(this,fe,ve).call(this,s)?s.__staleWhileFetching:s}}async fetch(e,n={}){const{allowStale:r=this.allowStale,updateAgeOnGet:o=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:i=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:l=0,sizeCalculation:u=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:d=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:f=this.allowStaleOnFetchRejection,ignoreFetchAbort:p=this.ignoreFetchAbort,allowStaleOnFetchAbort:m=this.allowStaleOnFetchAbort,context:h,forceRefresh:v=!1,status:b,signal:w}=n;if(!k(this,$t))return b&&(b.fetch="get"),this.get(e,{allowStale:r,updateAgeOnGet:o,noDeleteOnStaleGet:s,status:b});const C={allowStale:r,updateAgeOnGet:o,noDeleteOnStaleGet:s,ttl:i,noDisposeOnSet:a,size:l,sizeCalculation:u,noUpdateTTL:c,noDeleteOnFetchRejection:d,allowStaleOnFetchRejection:f,allowStaleOnFetchAbort:m,ignoreFetchAbort:p,status:b,signal:w};let R=k(this,Se).get(e);if(R===void 0){b&&(b.fetch="miss");const E=G(this,En,Hr).call(this,e,R,C,h);return E.__returned=E}else{const E=k(this,J)[R];if(G(this,fe,ve).call(this,E)){const F=r&&E.__staleWhileFetching!==void 0;return b&&(b.fetch="inflight",F&&(b.returnedStale=!0)),F?E.__staleWhileFetching:E.__returned=E}const _=k(this,$e).call(this,R);if(!v&&!_)return b&&(b.fetch="hit"),G(this,an,nr).call(this,R),o&&k(this,on).call(this,R),b&&k(this,At).call(this,b,R),E;const y=G(this,En,Hr).call(this,e,R,C,h),L=y.__staleWhileFetching!==void 0&&r;return b&&(b.fetch=_?"stale":"refresh",L&&_&&(b.returnedStale=!0)),L?y.__staleWhileFetching:y.__returned=y}}get(e,n={}){const{allowStale:r=this.allowStale,updateAgeOnGet:o=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:i}=n,a=k(this,Se).get(e);if(a!==void 0){const l=k(this,J)[a],u=G(this,fe,ve).call(this,l);return i&&k(this,At).call(this,i,a),k(this,$e).call(this,a)?(i&&(i.get="stale"),u?(i&&r&&l.__staleWhileFetching!==void 0&&(i.returnedStale=!0),r?l.__staleWhileFetching:void 0):(s||this.delete(e),i&&r&&(i.returnedStale=!0),r?l:void 0)):(i&&(i.get="hit"),u?l.__staleWhileFetching:(G(this,an,nr).call(this,a),o&&k(this,on).call(this,a),l))}else i&&(i.get="miss")}delete(e){var r,o,s,i;let n=!1;if(k(this,Ce)!==0){const a=k(this,Se).get(e);if(a!==void 0)if(n=!0,k(this,Ce)===1)this.clear();else{k(this,sn).call(this,a);const l=k(this,J)[a];G(this,fe,ve).call(this,l)?l.__abortController.abort(new Error("deleted")):(k(this,ct)||k(this,Ve))&&(k(this,ct)&&((r=k(this,lt))==null||r.call(this,l,e,"delete")),k(this,Ve)&&((o=k(this,Te))==null||o.push([l,e,"delete"]))),k(this,Se).delete(e),k(this,he)[a]=void 0,k(this,J)[a]=void 0,a===k(this,Ae)?W(this,Ae,k(this,Ne)[a]):a===k(this,Re)?W(this,Re,k(this,Ie)[a]):(k(this,Ie)[k(this,Ne)[a]]=k(this,Ie)[a],k(this,Ne)[k(this,Ie)[a]]=k(this,Ne)[a]),Cr(this,Ce)._--,k(this,et).push(a)}}if(k(this,Ve)&&((s=k(this,Te))!=null&&s.length)){const a=k(this,Te);let l;for(;l=a==null?void 0:a.shift();)(i=k(this,Xe))==null||i.call(this,...l)}return n}clear(){var e,n,r;for(const o of G(this,dt,Ot).call(this,{allowStale:!0})){const s=k(this,J)[o];if(G(this,fe,ve).call(this,s))s.__abortController.abort(new Error("deleted"));else{const i=k(this,he)[o];k(this,ct)&&((e=k(this,lt))==null||e.call(this,s,i,"delete")),k(this,Ve)&&((n=k(this,Te))==null||n.push([s,i,"delete"]))}}if(k(this,Se).clear(),k(this,J).fill(void 0),k(this,he).fill(void 0),k(this,tt)&&k(this,St)&&(k(this,tt).fill(0),k(this,St).fill(0)),k(this,Ct)&&k(this,Ct).fill(0),W(this,Re,0),W(this,Ae,0),k(this,et).length=0,W(this,Qe,0),W(this,Ce,0),k(this,Ve)&&k(this,Te)){const o=k(this,Te);let s;for(;s=o==null?void 0:o.shift();)(r=k(this,Xe))==null||r.call(this,...s)}}};Ye=new WeakMap,Be=new WeakMap,lt=new WeakMap,Xe=new WeakMap,Cn=new WeakMap,Ce=new WeakMap,Qe=new WeakMap,Se=new WeakMap,he=new WeakMap,J=new WeakMap,Ie=new WeakMap,Ne=new WeakMap,Re=new WeakMap,Ae=new WeakMap,et=new WeakMap,Te=new WeakMap,Ct=new WeakMap,St=new WeakMap,tt=new WeakMap,ct=new WeakMap,$t=new WeakMap,Ve=new WeakMap,cr=new WeakSet,Cs=function(){const e=new Ur(k(this,Ye)),n=new Ur(k(this,Ye));W(this,tt,e),W(this,St,n),W(this,ur,(s,i,a=Xn.now())=>{if(n[s]=i!==0?a:0,e[s]=i,i!==0&&this.ttlAutopurge){const l=setTimeout(()=>{k(this,$e).call(this,s)&&this.delete(k(this,he)[s])},i+1);l.unref&&l.unref()}}),W(this,on,s=>{n[s]=e[s]!==0?Xn.now():0}),W(this,At,(s,i)=>{if(e[i]){const a=e[i],l=n[i];s.ttl=a,s.start=l,s.now=r||o(),s.remainingTTL=s.now+a-l}});let r=0;const o=()=>{const s=Xn.now();if(this.ttlResolution>0){r=s;const i=setTimeout(()=>r=0,this.ttlResolution);i.unref&&i.unref()}return s};this.getRemainingTTL=s=>{const i=k(this,Se).get(s);return i===void 0?0:e[i]===0||n[i]===0?1/0:n[i]+e[i]-(r||o())},W(this,$e,s=>e[s]!==0&&n[s]!==0&&(r||o())-n[s]>e[s])},on=new WeakMap,At=new WeakMap,ur=new WeakMap,$e=new WeakMap,lo=new WeakSet,hc=function(){const e=new Ur(k(this,Ye));W(this,Qe,0),W(this,Ct,e),W(this,sn,n=>{W(this,Qe,k(this,Qe)-e[n]),e[n]=0}),W(this,dr,(n,r,o,s)=>{if(G(this,fe,ve).call(this,r))return 0;if(!qt(o))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(o=s(r,n),!qt(o))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return o}),W(this,Sn,(n,r,o)=>{if(e[n]=r,k(this,Be)){const s=k(this,Be)-e[n];for(;k(this,Qe)>s;)G(this,An,jr).call(this,!0)}W(this,Qe,k(this,Qe)+e[n]),o&&(o.entrySize=r,o.totalCalculatedSize=k(this,Qe))})},sn=new WeakMap,Sn=new WeakMap,dr=new WeakMap,ut=new WeakSet,Vt=function*({allowStale:e=this.allowStale}={}){if(k(this,Ce))for(let n=k(this,Ae);!(!G(this,fr,Ss).call(this,n)||((e||!k(this,$e).call(this,n))&&(yield n),n===k(this,Re)));)n=k(this,Ne)[n]},dt=new WeakSet,Ot=function*({allowStale:e=this.allowStale}={}){if(k(this,Ce))for(let n=k(this,Re);!(!G(this,fr,Ss).call(this,n)||((e||!k(this,$e).call(this,n))&&(yield n),n===k(this,Ae)));)n=k(this,Ie)[n]},fr=new WeakSet,Ss=function(e){return e!==void 0&&k(this,Se).get(k(this,he)[e])===e},An=new WeakSet,jr=function(e){var s,i;const n=k(this,Re),r=k(this,he)[n],o=k(this,J)[n];return k(this,$t)&&G(this,fe,ve).call(this,o)?o.__abortController.abort(new Error("evicted")):(k(this,ct)||k(this,Ve))&&(k(this,ct)&&((s=k(this,lt))==null||s.call(this,o,r,"evict")),k(this,Ve)&&((i=k(this,Te))==null||i.push([o,r,"evict"]))),k(this,sn).call(this,n),e&&(k(this,he)[n]=void 0,k(this,J)[n]=void 0,k(this,et).push(n)),k(this,Ce)===1?(W(this,Re,W(this,Ae,0)),k(this,et).length=0):W(this,Re,k(this,Ie)[n]),k(this,Se).delete(r),Cr(this,Ce)._--,n},En=new WeakSet,Hr=function(e,n,r,o){const s=n===void 0?void 0:k(this,J)[n];if(G(this,fe,ve).call(this,s))return s;const i=new AbortController,{signal:a}=r;a==null||a.addEventListener("abort",()=>i.abort(a.reason),{signal:i.signal});const l={signal:i.signal,options:r,context:o},u=(h,v=!1)=>{const{aborted:b}=i.signal,w=r.ignoreFetchAbort&&h!==void 0;if(r.status&&(b&&!v?(r.status.fetchAborted=!0,r.status.fetchError=i.signal.reason,w&&(r.status.fetchAbortIgnored=!0)):r.status.fetchResolved=!0),b&&!w&&!v)return d(i.signal.reason);const C=p;return k(this,J)[n]===p&&(h===void 0?C.__staleWhileFetching?k(this,J)[n]=C.__staleWhileFetching:this.delete(e):(r.status&&(r.status.fetchUpdated=!0),this.set(e,h,l.options))),h},c=h=>(r.status&&(r.status.fetchRejected=!0,r.status.fetchError=h),d(h)),d=h=>{const{aborted:v}=i.signal,b=v&&r.allowStaleOnFetchAbort,w=b||r.allowStaleOnFetchRejection,C=w||r.noDeleteOnFetchRejection,R=p;if(k(this,J)[n]===p&&(!C||R.__staleWhileFetching===void 0?this.delete(e):b||(k(this,J)[n]=R.__staleWhileFetching)),w)return r.status&&R.__staleWhileFetching!==void 0&&(r.status.returnedStale=!0),R.__staleWhileFetching;if(R.__returned===R)throw h},f=(h,v)=>{var w;const b=(w=k(this,Cn))==null?void 0:w.call(this,e,s,l);b&&b instanceof Promise&&b.then(C=>h(C),v),i.signal.addEventListener("abort",()=>{(!r.ignoreFetchAbort||r.allowStaleOnFetchAbort)&&(h(),r.allowStaleOnFetchAbort&&(h=C=>u(C,!0)))})};r.status&&(r.status.fetchDispatched=!0);const p=new Promise(f).then(u,c),m=Object.assign(p,{__abortController:i,__staleWhileFetching:s,__returned:void 0});return n===void 0?(this.set(e,m,{...l.options,status:void 0}),n=k(this,Se).get(e)):k(this,J)[n]=m,m},fe=new WeakSet,ve=function(e){if(!k(this,$t))return!1;const n=e;return!!n&&n instanceof Promise&&n.hasOwnProperty("__staleWhileFetching")&&n.__abortController instanceof AbortController},hr=new WeakSet,As=function(e,n){k(this,Ne)[n]=e,k(this,Ie)[e]=n},an=new WeakSet,nr=function(e){e!==k(this,Ae)&&(e===k(this,Re)?W(this,Re,k(this,Ie)[e]):G(this,hr,As).call(this,k(this,Ne)[e],k(this,Ie)[e]),G(this,hr,As).call(this,k(this,Ae),e),W(this,Ae,e))};let _s=wi;const vW=_s,gW=(t,e)=>{const n=ye("editorId"),{noImgZoomIn:r}=t,o=Qs(()=>{const s=document.querySelectorAll(`#${n}-preview img`);s.length!==0&&qf(s,{background:"#00000073"})});Ge(()=>{!r&&o()}),Q([e,Y(t.setting,"preview")],()=>{!r&&o()})},yW=gW,bW=(t,e)=>{if(typeof e[t]=="string")return e[t];const n=`<i class="${ue}-iconfont ${ue}-icon-${t}"></i>`;switch(gt.iconfontType){case"svg":return`<svg class="${ue}-icon" aria-hidden="true"><use xlink:href="#${ue}-icon-${t}"></use></svg>`;default:return n}},kW=(t,e)=>{const n=ye("editorId"),r=ye("usedLanguageText"),o=ye("customIcon"),s=()=>{document.querySelectorAll(`#${n}-preview pre`).forEach(l=>{var u,c;let d=-1;(u=l.querySelector(".copy-button"))==null||u.remove();const f=((c=r.value.copyCode)==null?void 0:c.text)||"复制代码",p=document.createElement("span");p.setAttribute("class","copy-button"),p.dataset.tips=f,p.innerHTML=bW("copy",o.value),p.addEventListener("click",()=>{var m,h;clearTimeout(d);const v=l.querySelector("code").innerText,b=Uf(t.formatCopiedText(v)),w=((m=r.value.copyCode)==null?void 0:m.successTips)||"已复制!",C=((h=r.value.copyCode)==null?void 0:h.failTips)||"已复制!";p.dataset.tips=b?w:C,d=window.setTimeout(()=>{p.dataset.tips=f},1500)}),l.appendChild(p)})},i=()=>{De(s)},a=l=>{l&&De(s)};Q(()=>e.value,i),Q(()=>t.setting.preview,a),Q(()=>t.setting.htmlPreview,a),Q(()=>r.value,s),Ge(s)},xW=kW,wW=t=>{var e;const n=(e=gt.editorExtensions)==null?void 0:e.highlight,r=n==null?void 0:n.instance,o=ye("highlight"),s=oe(r);return Ge(()=>{if(!t.noHighlight&&!s.value){const i=document.createElement("script");i.src=o.value.js,i.onload=()=>{s.value=window.hljs},i.id=`${ue}-hljs`,cn(i,"hljs");const a=document.createElement("link");a.rel="stylesheet",a.href=o.value.css,a.id=`${ue}-hlCss`,cn(a)}}),Q(()=>o.value.css,i=>{vf(`${ue}-hlCss`,"href",i)}),s},_W=wW,CW=t=>{const e=ye("theme"),{editorExtensions:n}=gt,r=n==null?void 0:n.mermaid,o=oe(r==null?void 0:r.instance),s=oe(-1),i=new vW({max:1e3,ttl:6e5}),a=()=>{const l=o.value;!t.noMermaid&&l&&(l.initialize({startOnLoad:!1,theme:e.value==="dark"?"dark":"default"}),s.value=s.value+1)};return Q(()=>e.value,()=>{i.clear(),a()}),Ge(()=>{if(!t.noMermaid&&!(r!=null&&r.instance)){const l=(r==null?void 0:r.js)||af;if(/\.mjs/.test(l))nu(()=>import(l),[]).then(u=>{o.value=u.default,a()});else{const u=document.createElement("script");u.id=`${ue}-mermaid`,u.src=l,u.onload=()=>{o.value=window.mermaid,a()},cn(u,"mermaid")}}}),{mermaidRef:o,reRenderRef:s,replaceMermaid:()=>{De(()=>{if(!t.noMermaid&&o.value){const l=document.querySelectorAll(`div.${ue}-mermaid`),u=document.createElement("div");u.style.width=document.body.offsetWidth+"px",u.style.height=document.body.offsetHeight+"px",u.style.position="fixed",u.style.zIndex="-10000",u.style.top="-10000";let c=l.length;c>0&&document.body.appendChild(u),l.forEach(async d=>{let f=i.get(d.innerText);if(!f){const m=mf(),h=o.value.renderAsync||o.value.render;let v="";try{v=await h(m,d.innerText,u)}catch{}f=typeof v=="string"?v:v.svg,i.set(d.innerText,f)}const p=document.createElement("p");p.className=`${ue}-mermaid`,p.setAttribute("data-processed",""),p.innerHTML=f,d.dataset.line!==void 0&&(p.dataset.line=d.dataset.line),d.replaceWith(p),--c===0&&u.remove()})}})}}},SW=CW,AW=t=>{var e;const n=(e=gt.editorExtensions)==null?void 0:e.katex,r=n==null?void 0:n.instance,o=oe(r);return Ge(()=>{if(!t.noKatex&&!o.value){const s=document.createElement("script");s.src=(n==null?void 0:n.js)||Hi.js,s.onload=()=>{o.value=window.katex},s.id=`${ue}-katex`;const i=document.createElement("link");i.rel="stylesheet",i.href=(n==null?void 0:n.css)||Hi.css,i.id=`${ue}-katexCss`,cn(s,"katex"),cn(i)}}),o},EW=AW,TW=(t,e)=>{const n=t.renderer.rules.fence.bind(t.renderer.rules);t.renderer.rules.fence=(r,o,s,i,a)=>{const l=r[o],u=l.content.trim();if(l.info==="mermaid"){let c;return r[o].map&&r[o].level===0&&(c=r[o].map[0],r[o].attrSet("data-line",String(c))),`<div class="${ue}-mermaid" ${c!==void 0?"data-line="+c:""} data-mermaid-theme=${e.themeRef.value}>${u}</div>`}return n(r,o,s,i,a)}},DW=TW,Na=(t,e)=>{let n=!0,r=!0;const o=t.posMax,s=e>0?t.src.charCodeAt(e-1):-1,i=e+1<=o?t.src.charCodeAt(e+1):-1;return(s===32||s===9||i>=48&&i<=57)&&(r=!1),(i===32||i===9)&&(n=!1),{can_open:n,can_close:r}},RW=(t,e)=>{let n,r,o,s;if(t.src[t.pos]!=="$")return!1;if(o=Na(t,t.pos),!o.can_open)return e||(t.pending+="$"),t.pos+=1,!0;const i=t.pos+1;for(n=i;(n=t.src.indexOf("$",n))!==-1;){for(s=n-1;t.src[s]==="\\";)s-=1;if((n-s)%2==1)break;n+=1}return n===-1?(e||(t.pending+="$"),t.pos=i,!0):n-i===0?(e||(t.pending+="$$"),t.pos=i+1,!0):(o=Na(t,n),o.can_close?(e||(r=t.push("math_inline","math",0),r.markup="$",r.content=t.src.slice(i,n)),t.pos=n+1,!0):(e||(t.pending+="$"),t.pos=i,!0))},FW=(t,e,n,r)=>{let o,s,i,a,l=!1,u=t.bMarks[e]+t.tShift[e],c=t.eMarks[e];if(u+2>c||t.src.slice(u,u+2)!=="$$")return!1;if(u+=2,o=t.src.slice(u,c),r)return!0;for(o.trim().slice(-2)==="$$"&&(o=o.trim().slice(0,-2),l=!0),i=e;!l&&(i++,!(i>=n||(u=t.bMarks[i]+t.tShift[i],c=t.eMarks[i],u<c&&t.tShift[i]<t.blkIndent)));)t.src.slice(u,c).trim().slice(-2)==="$$"&&(a=t.src.slice(0,c).lastIndexOf("$$"),s=t.src.slice(u,a),l=!0);t.line=i+1;const d=t.push("math_block","math",0);return d.block=!0,d.content=(o&&o.trim()?o+`
|
||
`:"")+t.getLines(e+1,i,t.tShift[e],!0)+(s&&s.trim()?s:""),d.map=[e,t.line],d.markup="$$",!0},LW=(t,e)=>{const n=o=>{if(e.katexRef.value){const s=e.katexRef.value.renderToString(o,{throwOnError:!1});return`<span class="${ue}-katex-inline" data-processed>${s}</span>`}else return`<span class="${ue}-katex-inline">${o}</span>`},r=(o,s)=>{if(e.katexRef.value){const i=e.katexRef.value.renderToString(o,{throwOnError:!1,displayMode:!0});return`<p class="${ue}-katex-block" data-line=${s} data-processed>${i}</p>`}else return`<p class="${ue}-katex-block" data-line=${s}>${o}</p>`};t.inline.ruler.after("escape","math_inline",RW),t.block.ruler.after("blockquote","math_block",FW,{alt:["paragraph","reference","blockquote","list"]}),t.renderer.rules.math_inline=(o,s)=>n(o[s].content),t.renderer.rules.math_block=(o,s)=>r(o[s].content,o[s].map[0])+`
|
||
`},IW=LW,PW=(t,e)=>{e=e||{};const n=3,r=e.marker||"!",o=r.charCodeAt(0),s=r.length;let i="",a="";const l=(c,d,f,p,m)=>{const h=c[d];return h.type==="admonition_open"?(c[d].attrPush(["class",`${ue}-admonition ${ue}-admonition-${h.info}`]),c[d].attrSet("data-line",String(c[d].map[0]))):h.type==="admonition_title_open"&&c[d].attrPush(["class",`${ue}-admonition-title`]),m.renderToken(c,d,f)},u=c=>{const d=c.trim().split(" ",2);a="",i=d[0],d.length>1&&(a=c.substring(i.length+2)),(a===""||!a)&&(a=i)};t.block.ruler.before("code","admonition",(c,d,f,p)=>{let m,h,v,b=!1,w=c.bMarks[d]+c.tShift[d],C=c.eMarks[d];if(o!==c.src.charCodeAt(w))return!1;for(m=w+1;m<=C&&r[(m-w)%s]===c.src[m];m++);const R=Math.floor((m-w)/s);if(R!==n)return!1;m-=(m-w)%s;const E=c.src.slice(w,m),_=c.src.slice(m,C);if(u(_),p)return!0;for(h=d;h++,!(h>=f||(w=c.bMarks[h]+c.tShift[h],C=c.eMarks[h],w<C&&c.sCount[h]<c.blkIndent));)if(o===c.src.charCodeAt(w)&&!(c.sCount[h]-c.blkIndent>=4)){for(m=w+1;m<=C&&r[(m-w)%s]===c.src[m];m++);if(!(Math.floor((m-w)/s)<R)&&(m-=(m-w)%s,m=c.skipSpaces(m),!(m<C))){b=!0;break}}const y=c.parentType,x=c.lineMax;return c.parentType="root",c.lineMax=h,v=c.push("admonition_open","div",1),v.markup=E,v.block=!0,v.info=i,v.map=[d,h],v=c.push("admonition_title_open","p",1),v.markup=E+" "+i,v.map=[d,h],v=c.push("inline","",0),v.content=a,v.map=[d,c.line-1],v.children=[],v=c.push("admonition_title_close","p",-1),v.markup=E+" "+i,c.md.block.tokenize(c,d+1,h),v=c.push("admonition_close","div",-1),v.markup=c.src.slice(w,m),v.block=!0,c.parentType=y,c.lineMax=x,c.line=h+(b?1:0),!0},{alt:["paragraph","reference","blockquote","list"]}),t.renderer.rules.admonition_open=l,t.renderer.rules.admonition_title_open=l,t.renderer.rules.admonition_title_close=l,t.renderer.rules.admonition_close=l},qW=PW,VW=(t,e)=>{t.renderer.rules.heading_open=(n,r)=>{var o;const s=n[r],i=((o=n[r+1].children)==null?void 0:o.reduce((l,u)=>l+(u.content||""),""))||"",a=s.markup.length;return e.headsRef.value.push({text:i,level:a}),s.map&&s.level===0&&(s.attrSet("data-line",String(s.map[0])),s.attrSet("id",e.mdHeadingId(i,a,e.headsRef.value.length))),t.renderer.renderToken(n,r,e)},t.renderer.rules.heading_close=(n,r,o,s,i)=>i.renderToken(n,r,o)},OW=VW,zW=(t,e)=>{const n=t.renderer.rules.fence,r=t.utils.unescapeAll,o=/\[(\w*)(?::([\w ]*))?\]/;function s(u){return u.info?r(u.info).trim():""}function i(u){const c=s(u),[d=null,f=""]=(o.exec(c)||[]).slice(1);return[d,f]}function a(u){const c=s(u);return c?c.split(/(\s+)/g)[0]:""}const l=(u,c,d,f,p)=>{if(u[c].hidden)return"";const[m,h]=i(u[c]);if(m===null)return n(u,c,d,f,p);let v,b,w,C,R="",E="";for(let _=c;_<u.length&&(v=u[_],[b,w]=i(v),b===m);_++)v.info=v.info.replace(o,""),v.hidden=!0,C=_-c>0?"":" checked",R+=`<li><input type="radio" name="label-group-${e.editorId}-${c}"${C}><label for="group-${e.editorId}-${c}-tab-${_-c}" onclick="this.previousElementSibling.click()">${w||a(v)}</label></li>
|
||
`,E+=`<input type="radio" id="group-${e.editorId}-${c}-tab-${_-c}" name="group-${e.editorId}-${c}"${C}>
|
||
`+n(u,_,d,f,p);return`<div class="code-tabs">
|
||
<ul>
|
||
`+R+`</ul>
|
||
`+E+"</div>"};t.renderer.rules.fence=l},BW=zW,NW=t=>{["paragraph_open","table_open","ordered_list_open","bullet_list_open","blockquote_open","hr","html_block","fence"].forEach(e=>{const n=t.renderer.rules[e];n?t.renderer.rules[e]=(r,o,s,i,a)=>{let l;const u=n(r,o,s,i,a);return r[o].map&&r[o].level===0&&!/^<!--/.test(u)?(l=r[o].map[0],u.replace(/^(<[^>]*)/,`$1 data-line="${l}"`)):u}:t.renderer.rules[e]=(r,o,s,i,a)=>{let l;return r[o].map&&r[o].level===0&&(l=r[o].map[0],r[o].attrSet("data-line",String(l))),a.renderToken(r,o,s)}})},$W=(t,e)=>{const{editorConfig:n,markdownItConfig:r,markdownItPlugins:o}=gt,s=ye("editorId"),i=ye("showCodeRowNumber"),a=ye("theme"),l=Z([]),u=_W(t),c=EW(t),{reRenderRef:d,replaceMermaid:f}=SW(t),p=X8({html:!0,breaks:!0});r(p);const m=[{type:"katex",plugin:IW,options:{katexRef:c}},{type:"image",plugin:eW,options:{figcaption:!0,classes:"md-zoom"}},{type:"admonition",plugin:qW,options:{}},{type:"taskList",plugin:hW,options:{}},{type:"heading",plugin:OW,options:{mdHeadingId:t.mdHeadingId,headsRef:l}},{type:"codeTabs",plugin:BW,options:{editorId:s}}];t.noMermaid||m.push({type:"mermaid",plugin:DW,options:{themeRef:a}}),o(m).forEach(R=>{p.use(R.plugin,R.options)});const h=p.options.highlight;p.set({highlight:(R,E,_)=>{if(h){const L=h(R,E,_);if(L)return L}let y;!t.noHighlight&&u.value?u.value.getLanguage(E)?y=u.value.highlight(R,{language:E,ignoreIllegals:!0}).value:y=u.value.highlightAuto(R).value:y=p.utils.escapeHtml(R);const x=i?pf(y.replace(/^\n+|\n+$/g,"")):`<span class="code-block">${y.replace(/^\n+|\n+$/g,"")}</span>`;return`<pre><code class="language-${E}" language=${E}>${x}</code></pre>`}}),NW(p);const v=Z(t.sanitize(p.render(t.modelValue))),b=()=>{tr.emit(s,ff,v.value),t.onHtmlChanged(v.value),t.onGetCatalog(l.value),tr.emit(s,Wi,l.value),f()};Ge(b);const w=Qs(async()=>{l.value=[],v.value=t.sanitize(p.render(t.modelValue)),b()},(n==null?void 0:n.renderDelay)!==void 0?n==null?void 0:n.renderDelay:e?0:500),C=q(()=>(t.noKatex||c.value)&&(t.noHighlight||u.value));return Q([Y(t,"modelValue"),C,d],w),Ge(()=>{tr.on(s,{name:hf,callback(){tr.emit(s,Wi,l.value)}})}),{html:v}},MW=$W,pc={modelValue:{type:String,default:""},setting:{type:Object,default:()=>({})},onHtmlChanged:{type:Function,default:()=>{}},onGetCatalog:{type:Function,default:()=>{}},mdHeadingId:{type:Function,default:()=>""},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:t=>t},noKatex:{type:Boolean,default:!1},formatCopiedText:{type:Function,default:t=>t},noHighlight:{type:Boolean,default:!1},previewOnly:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean}};({...pc});const UW=qs({name:"ContentPreview",props:pc,setup(t){const e=ye("editorId"),n=ye("previewTheme"),r=ye("showCodeRowNumber"),{html:o}=MW(t,t.previewOnly);return xW(t,o),yW(t,o),()=>g(pe,null,[g("div",{id:`${e}-preview-wrapper`,class:`${ue}-preview-wrapper`,"data-show":t.setting.preview,key:"content-preview-wrapper"},[g("article",{id:`${e}-preview`,class:[`${ue}-preview`,`${n==null?void 0:n.value}-theme`,r&&`${ue}-scrn`],innerHTML:o.value},null)]),!t.previewOnly&&g("div",{id:`${e}-html-wrapper`,class:`${ue}-preview-wrapper`,"data-show":t.setting.htmlPreview,key:"html-preview-wrapper"},[g("div",{class:`${ue}-html`},[o.value])])])}}),jW=t=>{var e,n;const{editorId:r}=t,o=(n=(e=gt)==null?void 0:e.editorExtensions)==null?void 0:n.highlight;Fe("editorId",r),Fe("theme",q(()=>t.theme)),Fe("language",q(()=>t.language)),Fe("highlight",q(()=>{const i={...Gi,...o==null?void 0:o.css},a=t.codeStyleReverse&&t.codeStyleReverseList.includes(t.previewTheme)?"dark":t.theme;return{js:(o==null?void 0:o.js)||rf,css:i[t.codeTheme]?i[t.codeTheme][a]:Gi.atom[a]}})),Fe("showCodeRowNumber",t.showCodeRowNumber);const s=q(()=>{var i,a;const l={...ji,...(a=(i=gt)==null?void 0:i.editorConfig)==null?void 0:a.languageUserDefined};return l[t.language]?l[t.language]:ji["zh-CN"]});Fe("usedLanguageText",s),Fe("previewTheme",q(()=>t.previewTheme)),Fe("customIcon",q(()=>t.customIcon))},HW=t=>{Ge(()=>{var e,n;if(!t.noIconfont)if(gt.iconfontType==="svg"){const r=document.createElement("script");r.src=((e=gt.editorExtensions)==null?void 0:e.iconfont)||tf,r.id=`${ue}-icon`,cn(r)}else{const r=document.createElement("link");r.rel="stylesheet",r.href=((n=gt.editorExtensions)==null?void 0:n.iconfontClass)||nf,r.id=`${ue}-icon-class`,cn(r)}})},GW=t=>t,mc={modelValue:{type:String,default:""},theme:{type:String,default:"light"},class:{type:String,default:""},language:{type:String,default:"zh-CN"},onHtmlChanged:{type:Function},onGetCatalog:{type:Function},editorId:{type:String,default:ef},showCodeRowNumber:{type:Boolean,default:!1},previewTheme:{type:String,default:"default"},style:{type:Object,default:()=>({})},mdHeadingId:{type:Function,default:GW},sanitize:{type:Function,default:t=>t},noMermaid:{type:Boolean,default:!1},noKatex:{type:Boolean,default:!1},codeTheme:{type:String,default:"atom"},noIconfont:{type:Boolean},formatCopiedText:{type:Function,default:t=>t},codeStyleReverse:{type:Boolean,default:!0},codeStyleReverseList:{type:Array,default:["default","mk-cute"]},noHighlight:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean,default:!1},customIcon:{type:Object,default:{}}};({...mc});const vc=["onHtmlChanged","onGetCatalog"];[...vc];const WW=qs({name:"MdPreview",props:mc,emits:vc,setup(t,e){const{editorId:n,noKatex:r,noMermaid:o,noHighlight:s}=t;return jW(t),HW(t),Pn(()=>{tr.clear(n)}),()=>g("div",{id:n,class:[ue,t.class,t.theme==="dark"&&`${ue}-dark`,`${ue}-previewOnly`],style:t.style},[g(UW,{modelValue:t.modelValue,onHtmlChanged:i=>{t.onHtmlChanged?t.onHtmlChanged(i):e.emit("onHtmlChanged",i)},onGetCatalog:i=>{t.onGetCatalog?t.onGetCatalog(i):e.emit("onGetCatalog",i)},mdHeadingId:t.mdHeadingId,noMermaid:o,sanitize:t.sanitize,noKatex:r,formatCopiedText:t.formatCopiedText,noHighlight:s,noImgZoomIn:t.noImgZoomIn,previewOnly:!0},null)])}}),Gr=WW;Gr.install=t=>(t.component(Gr.name,Gr),t);/*!
|
||
* mustache.js - Logic-less {{mustache}} templates with JavaScript
|
||
* http://github.com/janl/mustache.js
|
||
*/var ZW=Object.prototype.toString,Hn=Array.isArray||function(e){return ZW.call(e)==="[object Array]"};function pi(t){return typeof t=="function"}function KW(t){return Hn(t)?"array":typeof t}function ns(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function $a(t,e){return t!=null&&typeof t=="object"&&e in t}function JW(t,e){return t!=null&&typeof t!="object"&&t.hasOwnProperty&&t.hasOwnProperty(e)}var YW=RegExp.prototype.test;function XW(t,e){return YW.call(t,e)}var QW=/\S/;function e7(t){return!XW(QW,t)}var t7={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};function n7(t){return String(t).replace(/[&<>"'`=\/]/g,function(n){return t7[n]})}var r7=/\s*/,o7=/\s+/,Ma=/\s*=/,s7=/\s*\}/,i7=/#|\^|\/|>|\{|&|=|!/;function a7(t,e){if(!t)return[];var n=!1,r=[],o=[],s=[],i=!1,a=!1,l="",u=0;function c(){if(i&&!a)for(;s.length;)delete o[s.pop()];else s=[];i=!1,a=!1}var d,f,p;function m(x){if(typeof x=="string"&&(x=x.split(o7,2)),!Hn(x)||x.length!==2)throw new Error("Invalid tags: "+x);d=new RegExp(ns(x[0])+"\\s*"),f=new RegExp("\\s*"+ns(x[1])),p=new RegExp("\\s*"+ns("}"+x[1]))}m(e||Ze.tags);for(var h=new kr(t),v,b,w,C,R,E;!h.eos();){if(v=h.pos,w=h.scanUntil(d),w)for(var _=0,y=w.length;_<y;++_)C=w.charAt(_),e7(C)?(s.push(o.length),l+=C):(a=!0,n=!0,l+=" "),o.push(["text",C,v,v+1]),v+=1,C===`
|
||
`&&(c(),l="",u=0,n=!1);if(!h.scan(d))break;if(i=!0,b=h.scan(i7)||"name",h.scan(r7),b==="="?(w=h.scanUntil(Ma),h.scan(Ma),h.scanUntil(f)):b==="{"?(w=h.scanUntil(p),h.scan(s7),h.scanUntil(f),b="&"):w=h.scanUntil(f),!h.scan(f))throw new Error("Unclosed tag at "+h.pos);if(b==">"?R=[b,w,v,h.pos,l,u,n]:R=[b,w,v,h.pos],u++,o.push(R),b==="#"||b==="^")r.push(R);else if(b==="/"){if(E=r.pop(),!E)throw new Error('Unopened section "'+w+'" at '+v);if(E[1]!==w)throw new Error('Unclosed section "'+E[1]+'" at '+v)}else b==="name"||b==="{"||b==="&"?a=!0:b==="="&&m(w)}if(c(),E=r.pop(),E)throw new Error('Unclosed section "'+E[1]+'" at '+h.pos);return c7(l7(o))}function l7(t){for(var e=[],n,r,o=0,s=t.length;o<s;++o)n=t[o],n&&(n[0]==="text"&&r&&r[0]==="text"?(r[1]+=n[1],r[3]=n[3]):(e.push(n),r=n));return e}function c7(t){for(var e=[],n=e,r=[],o,s,i=0,a=t.length;i<a;++i)switch(o=t[i],o[0]){case"#":case"^":n.push(o),r.push(o),n=o[4]=[];break;case"/":s=r.pop(),s[5]=o[2],n=r.length>0?r[r.length-1][4]:e;break;default:n.push(o)}return e}function kr(t){this.string=t,this.tail=t,this.pos=0}kr.prototype.eos=function(){return this.tail===""};kr.prototype.scan=function(e){var n=this.tail.match(e);if(!n||n.index!==0)return"";var r=n[0];return this.tail=this.tail.substring(r.length),this.pos+=r.length,r};kr.prototype.scanUntil=function(e){var n=this.tail.search(e),r;switch(n){case-1:r=this.tail,this.tail="";break;case 0:r="";break;default:r=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=r.length,r};function In(t,e){this.view=t,this.cache={".":this.view},this.parent=e}In.prototype.push=function(e){return new In(e,this)};In.prototype.lookup=function(e){var n=this.cache,r;if(n.hasOwnProperty(e))r=n[e];else{for(var o=this,s,i,a,l=!1;o;){if(e.indexOf(".")>0)for(s=o.view,i=e.split("."),a=0;s!=null&&a<i.length;)a===i.length-1&&(l=$a(s,i[a])||JW(s,i[a])),s=s[i[a++]];else s=o.view[e],l=$a(o.view,e);if(l){r=s;break}o=o.parent}n[e]=r}return pi(r)&&(r=r.call(this.view)),r};function qe(){this.templateCache={_cache:{},set:function(e,n){this._cache[e]=n},get:function(e){return this._cache[e]},clear:function(){this._cache={}}}}qe.prototype.clearCache=function(){typeof this.templateCache<"u"&&this.templateCache.clear()};qe.prototype.parse=function(e,n){var r=this.templateCache,o=e+":"+(n||Ze.tags).join(":"),s=typeof r<"u",i=s?r.get(o):void 0;return i==null&&(i=a7(e,n),s&&r.set(o,i)),i};qe.prototype.render=function(e,n,r,o){var s=this.getConfigTags(o),i=this.parse(e,s),a=n instanceof In?n:new In(n,void 0);return this.renderTokens(i,a,r,e,o)};qe.prototype.renderTokens=function(e,n,r,o,s){for(var i="",a,l,u,c=0,d=e.length;c<d;++c)u=void 0,a=e[c],l=a[0],l==="#"?u=this.renderSection(a,n,r,o,s):l==="^"?u=this.renderInverted(a,n,r,o,s):l===">"?u=this.renderPartial(a,n,r,s):l==="&"?u=this.unescapedValue(a,n):l==="name"?u=this.escapedValue(a,n,s):l==="text"&&(u=this.rawValue(a)),u!==void 0&&(i+=u);return i};qe.prototype.renderSection=function(e,n,r,o,s){var i=this,a="",l=n.lookup(e[1]);function u(f){return i.render(f,n,r,s)}if(l){if(Hn(l))for(var c=0,d=l.length;c<d;++c)a+=this.renderTokens(e[4],n.push(l[c]),r,o,s);else if(typeof l=="object"||typeof l=="string"||typeof l=="number")a+=this.renderTokens(e[4],n.push(l),r,o,s);else if(pi(l)){if(typeof o!="string")throw new Error("Cannot use higher-order sections without the original template");l=l.call(n.view,o.slice(e[3],e[5]),u),l!=null&&(a+=l)}else a+=this.renderTokens(e[4],n,r,o,s);return a}};qe.prototype.renderInverted=function(e,n,r,o,s){var i=n.lookup(e[1]);if(!i||Hn(i)&&i.length===0)return this.renderTokens(e[4],n,r,o,s)};qe.prototype.indentPartial=function(e,n,r){for(var o=n.replace(/[^ \t]/g,""),s=e.split(`
|
||
`),i=0;i<s.length;i++)s[i].length&&(i>0||!r)&&(s[i]=o+s[i]);return s.join(`
|
||
`)};qe.prototype.renderPartial=function(e,n,r,o){if(r){var s=this.getConfigTags(o),i=pi(r)?r(e[1]):r[e[1]];if(i!=null){var a=e[6],l=e[5],u=e[4],c=i;l==0&&u&&(c=this.indentPartial(i,u,a));var d=this.parse(c,s);return this.renderTokens(d,n,r,c,o)}}};qe.prototype.unescapedValue=function(e,n){var r=n.lookup(e[1]);if(r!=null)return r};qe.prototype.escapedValue=function(e,n,r){var o=this.getConfigEscape(r)||Ze.escape,s=n.lookup(e[1]);if(s!=null)return typeof s=="number"&&o===Ze.escape?String(s):o(s)};qe.prototype.rawValue=function(e){return e[1]};qe.prototype.getConfigTags=function(e){return Hn(e)?e:e&&typeof e=="object"?e.tags:void 0};qe.prototype.getConfigEscape=function(e){if(e&&typeof e=="object"&&!Hn(e))return e.escape};var Ze={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(t){ar.templateCache=t},get templateCache(){return ar.templateCache}},ar=new qe;Ze.clearCache=function(){return ar.clearCache()};Ze.parse=function(e,n){return ar.parse(e,n)};Ze.render=function(e,n,r,o){if(typeof e!="string")throw new TypeError('Invalid template! Template should be a "string" but "'+KW(e)+'" was given as the first argument for mustache#render(template, view, partials)');return ar.render(e,n,r,o)};Ze.escape=n7;Ze.Scanner=kr;Ze.Context=In;Ze.Writer=qe;function u7(t,e){let n=new Blob([e]),r=document.createElement("a"),o=URL.createObjectURL(n);r.setAttribute("href",o),r.setAttribute("download",t),document.body.appendChild(r),r.click(),document.body.removeChild(r)}const d7=K({text:String,clickable:Boolean,...be(),...Ft()},"VLabel"),xr=ae()({name:"VLabel",props:d7(),setup(t,e){let{slots:n}=e;return de(()=>{var r;return g("label",{class:["v-label",{"v-label--clickable":t.clickable},t.class],style:t.style},[t.text,(r=n.default)==null?void 0:r.call(n)])}),{}}});const gc=Symbol.for("vuetify:selection-control-group"),mi=K({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:ke,trueIcon:ke,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:{type:Boolean,default:null},modelValue:null,type:String,valueComparator:{type:Function,default:Vs},...be(),...On(),...Ft()},"SelectionControlGroup"),f7=K({...mi({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),h7=ae()({name:"VSelectionControlGroup",props:f7(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n}=e;const r=Ee(t,"modelValue"),o=Wt(),s=q(()=>t.id||`v-selection-control-group-${o}`),i=q(()=>t.name||s.value),a=new Set;return Fe(gc,{modelValue:r,forceUpdate:()=>{a.forEach(l=>l())},onForceUpdate:l=>{a.add(l),Ke(()=>{a.delete(l)})}}),Os({[t.defaultsTarget]:{color:Y(t,"color"),disabled:Y(t,"disabled"),density:Y(t,"density"),error:Y(t,"error"),inline:Y(t,"inline"),modelValue:r,multiple:q(()=>!!t.multiple||t.multiple==null&&Array.isArray(r.value)),name:i,falseIcon:Y(t,"falseIcon"),trueIcon:Y(t,"trueIcon"),readonly:Y(t,"readonly"),ripple:Y(t,"ripple"),type:Y(t,"type"),valueComparator:Y(t,"valueComparator")}}),de(()=>{var l;return g("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":t.inline},t.class],style:t.style,role:t.type==="radio"?"radiogroup":void 0},[(l=n.default)==null?void 0:l.call(n)])}),{}}}),vi=K({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...be(),...mi()},"VSelectionControl");function p7(t){const e=ye(gc,void 0),{densityClasses:n}=zn(t),r=Ee(t,"modelValue"),o=q(()=>t.trueValue!==void 0?t.trueValue:t.value!==void 0?t.value:!0),s=q(()=>t.falseValue!==void 0?t.falseValue:!1),i=q(()=>!!t.multiple||t.multiple==null&&Array.isArray(r.value)),a=q({get(){const p=e?e.modelValue.value:r.value;return i.value?jt(p).some(m=>t.valueComparator(m,o.value)):t.valueComparator(p,o.value)},set(p){if(t.readonly)return;const m=p?o.value:s.value;let h=m;i.value&&(h=p?[...jt(r.value),m]:jt(r.value).filter(v=>!t.valueComparator(v,o.value))),e?e.modelValue.value=h:r.value=h}}),{textColorClasses:l,textColorStyles:u}=pr(q(()=>{if(!(t.error||t.disabled))return a.value?t.color:t.baseColor})),{backgroundColorClasses:c,backgroundColorStyles:d}=Fn(q(()=>a.value&&!t.error&&!t.disabled?t.color:void 0)),f=q(()=>a.value?t.trueIcon:t.falseIcon);return{group:e,densityClasses:n,trueValue:o,falseValue:s,model:a,textColorClasses:l,textColorStyles:u,backgroundColorClasses:c,backgroundColorStyles:d,icon:f}}const oo=ae()({name:"VSelectionControl",directives:{Ripple:fo},inheritAttrs:!1,props:vi(),emits:{"update:modelValue":t=>!0},setup(t,e){let{attrs:n,slots:r}=e;const{group:o,densityClasses:s,icon:i,model:a,textColorClasses:l,textColorStyles:u,backgroundColorClasses:c,backgroundColorStyles:d,trueValue:f}=p7(t),p=Wt(),m=q(()=>t.id||`input-${p}`),h=oe(!1),v=oe(!1),b=Z();o==null||o.onForceUpdate(()=>{b.value&&(b.value.checked=a.value)});function w(E){h.value=!0,Zr(E.target,":focus-visible")!==!1&&(v.value=!0)}function C(){h.value=!1,v.value=!1}function R(E){t.readonly&&o&&De(()=>o.forceUpdate()),a.value=E.target.checked}return de(()=>{var L,F;const E=r.label?r.label({label:t.label,props:{for:m.value}}):t.label,[_,y]=uo(n),x=g("input",se({ref:b,checked:a.value,disabled:!!(t.readonly||t.disabled),id:m.value,onBlur:C,onFocus:w,onInput:R,"aria-disabled":!!(t.readonly||t.disabled),type:t.type,value:f.value,name:t.name,"aria-checked":t.type==="checkbox"?a.value:void 0},y),null);return g("div",se({class:["v-selection-control",{"v-selection-control--dirty":a.value,"v-selection-control--disabled":t.disabled,"v-selection-control--error":t.error,"v-selection-control--focused":h.value,"v-selection-control--focus-visible":v.value,"v-selection-control--inline":t.inline},s.value,t.class]},_,{style:t.style}),[g("div",{class:["v-selection-control__wrapper",l.value],style:u.value},[(L=r.default)==null?void 0:L.call(r,{backgroundColorClasses:c,backgroundColorStyles:d}),Pe(g("div",{class:["v-selection-control__input"]},[((F=r.input)==null?void 0:F.call(r,{model:a,textColorClasses:l,textColorStyles:u,backgroundColorClasses:c,backgroundColorStyles:d,inputNode:x,icon:i.value,props:{onFocus:w,onBlur:C,id:m.value}}))??g(pe,null,[i.value&&g(nt,{key:"icon",icon:i.value},null),x])]),[[Zt("ripple"),t.ripple&&[!t.disabled&&!t.readonly,null,["center","circle"]]]])]),E&&g(xr,{for:m.value,clickable:!0,onClick:T=>T.stopPropagation()},{default:()=>[E]})])}),{isFocused:h,input:b}}}),m7=K({...vi({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),rs=ae()({name:"VRadio",props:m7(),setup(t,e){let{slots:n}=e;return de(()=>g(oo,se(t,{class:["v-radio",t.class],style:t.style,type:"radio"}),n)),{}}});function yc(t){const{t:e}=zs();function n(r){let{name:o}=r;const s={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[o],i=t[`onClick:${o}`],a=i&&s?e(`$vuetify.input.${s}`,t.label??""):void 0;return g(nt,{icon:t[`${o}Icon`],"aria-label":a,onClick:i},null)}return{InputIcon:n}}const v7=K({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Ue(t,e,n){return ae()({name:t,props:v7({mode:n,origin:e}),setup(r,o){let{slots:s}=o;const i={onBeforeEnter(a){r.origin&&(a.style.transformOrigin=r.origin)},onLeave(a){if(r.leaveAbsolute){const{offsetTop:l,offsetLeft:u,offsetWidth:c,offsetHeight:d}=a;a._transitionInitialStyles={position:a.style.position,top:a.style.top,left:a.style.left,width:a.style.width,height:a.style.height},a.style.position="absolute",a.style.top=`${l}px`,a.style.left=`${u}px`,a.style.width=`${c}px`,a.style.height=`${d}px`}r.hideOnLeave&&a.style.setProperty("display","none","important")},onAfterLeave(a){if(r.leaveAbsolute&&(a!=null&&a._transitionInitialStyles)){const{position:l,top:u,left:c,width:d,height:f}=a._transitionInitialStyles;delete a._transitionInitialStyles,a.style.position=l||"",a.style.top=u||"",a.style.left=c||"",a.style.width=d||"",a.style.height=f||""}}};return()=>{const a=r.group?ru:Tn;return co(a,{name:r.disabled?"":t,css:!r.disabled,...r.group?void 0:{mode:r.mode},...r.disabled?{}:i},s.default)}}})}function bc(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return ae()({name:t,props:{mode:{type:String,default:n},disabled:Boolean},setup(r,o){let{slots:s}=o;return()=>co(Tn,{name:r.disabled?"":t,css:!r.disabled,...r.disabled?{}:e},s.default)}})}function kc(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",r=el(`offset-${n}`);return{onBeforeEnter(i){i._parent=i.parentNode,i._initialStyle={transition:i.style.transition,overflow:i.style.overflow,[n]:i.style[n]}},onEnter(i){const a=i._initialStyle;i.style.setProperty("transition","none","important"),i.style.overflow="hidden";const l=`${i[r]}px`;i.style[n]="0",i.offsetHeight,i.style.transition=a.transition,t&&i._parent&&i._parent.classList.add(t),requestAnimationFrame(()=>{i.style[n]=l})},onAfterEnter:s,onEnterCancelled:s,onLeave(i){i._initialStyle={transition:"",overflow:i.style.overflow,[n]:i.style[n]},i.style.overflow="hidden",i.style[n]=`${i[r]}px`,i.offsetHeight,requestAnimationFrame(()=>i.style[n]="0")},onAfterLeave:o,onLeaveCancelled:o};function o(i){t&&i._parent&&i._parent.classList.remove(t),s(i)}function s(i){const a=i._initialStyle[n];i.style.overflow=i._initialStyle.overflow,a!=null&&(i.style[n]=a),delete i._initialStyle}}const g7=K({target:[Object,Array]},"v-dialog-transition"),xc=ae()({name:"VDialogTransition",props:g7(),setup(t,e){let{slots:n}=e;const r={onBeforeEnter(o){o.style.pointerEvents="none",o.style.visibility="hidden"},async onEnter(o,s){var f;await new Promise(p=>requestAnimationFrame(p)),await new Promise(p=>requestAnimationFrame(p)),o.style.visibility="";const{x:i,y:a,sx:l,sy:u,speed:c}=ja(t.target,o),d=kn(o,[{transform:`translate(${i}px, ${a}px) scale(${l}, ${u})`,opacity:0},{}],{duration:225*c,easing:Fu});(f=Ua(o))==null||f.forEach(p=>{kn(p,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*c,easing:Jr})}),d.finished.then(()=>s())},onAfterEnter(o){o.style.removeProperty("pointer-events")},onBeforeLeave(o){o.style.pointerEvents="none"},async onLeave(o,s){var f;await new Promise(p=>requestAnimationFrame(p));const{x:i,y:a,sx:l,sy:u,speed:c}=ja(t.target,o);kn(o,[{},{transform:`translate(${i}px, ${a}px) scale(${l}, ${u})`,opacity:0}],{duration:125*c,easing:Lu}).finished.then(()=>s()),(f=Ua(o))==null||f.forEach(p=>{kn(p,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*c,easing:Jr})})},onAfterLeave(o){o.style.removeProperty("pointer-events")}};return()=>t.target?g(Tn,se({name:"dialog-transition"},r,{css:!1}),n):g(Tn,{name:"dialog-transition"},n)}});function Ua(t){var n;const e=(n=t.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:n.children;return e&&[...e]}function ja(t,e){const n=fl(t),r=js(e),[o,s]=getComputedStyle(e).transformOrigin.split(" ").map(b=>parseFloat(b)),[i,a]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let l=n.left+n.width/2;i==="left"||a==="left"?l-=n.width/2:(i==="right"||a==="right")&&(l+=n.width/2);let u=n.top+n.height/2;i==="top"||a==="top"?u-=n.height/2:(i==="bottom"||a==="bottom")&&(u+=n.height/2);const c=n.width/r.width,d=n.height/r.height,f=Math.max(1,c,d),p=c/f||0,m=d/f||0,h=r.width*r.height/(window.innerWidth*window.innerHeight),v=h>.12?Math.min(1.5,(h-.12)*10+1):1;return{x:l-(o+r.left),y:u-(s+r.top),sx:p,sy:m,speed:v}}Ue("fab-transition","center center","out-in");Ue("dialog-bottom-transition");Ue("dialog-top-transition");Ue("fade-transition");const y7=Ue("scale-transition");Ue("scroll-x-transition");Ue("scroll-x-reverse-transition");Ue("scroll-y-transition");Ue("scroll-y-reverse-transition");Ue("slide-x-transition");Ue("slide-x-reverse-transition");const wc=Ue("slide-y-transition");Ue("slide-y-reverse-transition");const b7=bc("expand-transition",kc()),_c=bc("expand-x-transition",kc("",!0)),wr=K({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:t=>t!==!0}},"transition"),Ut=(t,e)=>{let{slots:n}=e;const{transition:r,disabled:o,...s}=t,{component:i=Tn,...a}=typeof r=="object"?r:{};return co(i,se(typeof r=="string"?{name:o?"":r}:a,s,{disabled:o}),n)},k7=K({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...be(),...wr({transition:{component:wc,leaveAbsolute:!0,group:!0}})},"VMessages"),x7=ae()({name:"VMessages",props:k7(),setup(t,e){let{slots:n}=e;const r=q(()=>jt(t.messages)),{textColorClasses:o,textColorStyles:s}=pr(q(()=>t.color));return de(()=>g(Ut,{transition:t.transition,tag:"div",class:["v-messages",o.value,t.class],style:[s.value,t.style],role:"alert","aria-live":"polite"},{default:()=>[t.active&&r.value.map((i,a)=>g("div",{class:"v-messages__message",key:`${a}-${r.value}`},[n.message?n.message({message:i}):i]))]})),{}}}),Fo=K({focused:Boolean,"onUpdate:focused":vt()},"focus");function _r(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tl();const n=Ee(t,"focused"),r=q(()=>({[`${e}--focused`]:n.value}));function o(){n.value=!0}function s(){n.value=!1}return{focusClasses:r,isFocused:n,focus:o,blur:s}}const w7=Symbol.for("vuetify:form");function Cc(){return ye(w7,null)}const _7=K({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...Fo()},"validation");function C7(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tl(),n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Wt();const r=Ee(t,"modelValue"),o=q(()=>t.validationValue===void 0?r.value:t.validationValue),s=Cc(),i=Z([]),a=oe(!0),l=q(()=>!!(jt(r.value===""?null:r.value).length||jt(o.value===""?null:o.value).length)),u=q(()=>!!(t.disabled??(s==null?void 0:s.isDisabled.value))),c=q(()=>!!(t.readonly??(s==null?void 0:s.isReadonly.value))),d=q(()=>{var R;return(R=t.errorMessages)!=null&&R.length?jt(t.errorMessages).concat(i.value).slice(0,Math.max(0,+t.maxErrors)):i.value}),f=q(()=>{let R=(t.validateOn??(s==null?void 0:s.validateOn.value))||"input";R==="lazy"&&(R="input lazy");const E=new Set((R==null?void 0:R.split(" "))??[]);return{blur:E.has("blur")||E.has("input"),input:E.has("input"),submit:E.has("submit"),lazy:E.has("lazy")}}),p=q(()=>{var R;return t.error||(R=t.errorMessages)!=null&&R.length?!1:t.rules.length?a.value?i.value.length||f.value.lazy?null:!0:!i.value.length:!0}),m=oe(!1),h=q(()=>({[`${e}--error`]:p.value===!1,[`${e}--dirty`]:l.value,[`${e}--disabled`]:u.value,[`${e}--readonly`]:c.value})),v=q(()=>t.name??ze(n));nl(()=>{s==null||s.register({id:v.value,validate:C,reset:b,resetValidation:w})}),Pn(()=>{s==null||s.unregister(v.value)}),Ge(async()=>{f.value.lazy||await C(!0),s==null||s.update(v.value,p.value,d.value)}),Dn(()=>f.value.input,()=>{Q(o,()=>{if(o.value!=null)C();else if(t.focused){const R=Q(()=>t.focused,E=>{E||C(),R()})}})}),Dn(()=>f.value.blur,()=>{Q(()=>t.focused,R=>{R||C()})}),Q(p,()=>{s==null||s.update(v.value,p.value,d.value)});function b(){r.value=null,De(w)}function w(){a.value=!0,f.value.lazy?i.value=[]:C(!0)}async function C(){let R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const E=[];m.value=!0;for(const _ of t.rules){if(E.length>=+(t.maxErrors??1))break;const x=await(typeof _=="function"?_:()=>_)(o.value);if(x!==!0){if(x!==!1&&typeof x!="string"){console.warn(`${x} is not a valid value. Rule functions must return boolean true or a string.`);continue}E.push(x||"")}}return i.value=E,m.value=!1,a.value=R,i.value}return{errorMessages:d,isDirty:l,isDisabled:u,isReadonly:c,isPristine:a,isValid:p,isValidating:m,reset:b,resetValidation:w,validate:C,validationClasses:h}}const Gn=K({id:String,appendIcon:ke,centerAffix:{type:Boolean,default:!0},prependIcon:ke,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:t=>["horizontal","vertical"].includes(t)},"onClick:prepend":vt(),"onClick:append":vt(),...be(),...On(),..._7()},"VInput"),bt=ae()({name:"VInput",props:{...Gn()},emits:{"update:modelValue":t=>!0},setup(t,e){let{attrs:n,slots:r,emit:o}=e;const{densityClasses:s}=zn(t),{rtlClasses:i}=dn(),{InputIcon:a}=yc(t),l=Wt(),u=q(()=>t.id||`input-${l}`),c=q(()=>`${u.value}-messages`),{errorMessages:d,isDirty:f,isDisabled:p,isReadonly:m,isPristine:h,isValid:v,isValidating:b,reset:w,resetValidation:C,validate:R,validationClasses:E}=C7(t,"v-input",u),_=q(()=>({id:u,messagesId:c,isDirty:f,isDisabled:p,isReadonly:m,isPristine:h,isValid:v,isValidating:b,reset:w,resetValidation:C,validate:R})),y=q(()=>{var x;return(x=t.errorMessages)!=null&&x.length||!h.value&&d.value.length?d.value:t.hint&&(t.persistentHint||t.focused)?t.hint:t.messages});return de(()=>{var A,D,S,V;const x=!!(r.prepend||t.prependIcon),L=!!(r.append||t.appendIcon),F=y.value.length>0,T=!t.hideDetails||t.hideDetails==="auto"&&(F||!!r.details);return g("div",{class:["v-input",`v-input--${t.direction}`,{"v-input--center-affix":t.centerAffix,"v-input--hide-spin-buttons":t.hideSpinButtons},s.value,i.value,E.value,t.class],style:t.style},[x&&g("div",{key:"prepend",class:"v-input__prepend"},[(A=r.prepend)==null?void 0:A.call(r,_.value),t.prependIcon&&g(a,{key:"prepend-icon",name:"prepend"},null)]),r.default&&g("div",{class:"v-input__control"},[(D=r.default)==null?void 0:D.call(r,_.value)]),L&&g("div",{key:"append",class:"v-input__append"},[t.appendIcon&&g(a,{key:"append-icon",name:"append"},null),(S=r.append)==null?void 0:S.call(r,_.value)]),T&&g("div",{class:"v-input__details"},[g(x7,{id:c.value,active:F,messages:y.value},{message:r.message}),(V=r.details)==null?void 0:V.call(r,_.value)])])}),{reset:w,resetValidation:C,validate:R,isValid:v,errorMessages:d}}}),S7=K({height:{type:[Number,String],default:"auto"},...Gn(),...qn(mi(),["multiple"]),trueIcon:{type:ke,default:"$radioOn"},falseIcon:{type:ke,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),Ha=ae()({name:"VRadioGroup",inheritAttrs:!1,props:S7(),emits:{"update:modelValue":t=>!0},setup(t,e){let{attrs:n,slots:r}=e;const o=Wt(),s=q(()=>t.id||`radio-group-${o}`),i=Ee(t,"modelValue");return de(()=>{const[a,l]=uo(n),u=bt.filterProps(t),c=oo.filterProps(t),d=r.label?r.label({label:t.label,props:{for:s.value}}):t.label;return g(bt,se({class:["v-radio-group",t.class],style:t.style},a,u,{modelValue:i.value,"onUpdate:modelValue":f=>i.value=f,id:s.value}),{...r,default:f=>{let{id:p,messagesId:m,isDisabled:h,isReadonly:v}=f;return g(pe,null,[d&&g(xr,{id:p.value},{default:()=>[d]}),g(h7,se(c,{id:p.value,"aria-describedby":m.value,defaultsTarget:"VRadio",trueIcon:t.trueIcon,falseIcon:t.falseIcon,type:t.type,disabled:h.value,readonly:v.value,"aria-labelledby":d?p.value:void 0,multiple:!1},l,{modelValue:i.value,"onUpdate:modelValue":b=>i.value=b}),r)])}})}),{}}});const gi=Symbol.for("vuetify:v-slider");function Es(t,e,n){const r=n==="vertical",o=e.getBoundingClientRect(),s="touches"in t?t.touches[0]:t;return r?s.clientY-(o.top+o.height/2):s.clientX-(o.left+o.width/2)}function A7(t,e){return"touches"in t&&t.touches.length?t.touches[0][e]:"changedTouches"in t&&t.changedTouches.length?t.changedTouches[0][e]:t[e]}const Sc=K({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:t=>typeof t=="boolean"||t==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:t=>typeof t=="boolean"||t==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:t=>["vertical","horizontal"].includes(t)},reverse:Boolean,...Bn(),...ho({elevation:2}),ripple:{type:Boolean,default:!0}},"Slider"),Ac=t=>{const e=q(()=>parseFloat(t.min)),n=q(()=>parseFloat(t.max)),r=q(()=>+t.step>0?parseFloat(t.step):0),o=q(()=>Math.max(Ci(r.value),Ci(e.value)));function s(i){if(i=parseFloat(i),r.value<=0)return i;const a=Ht(i,e.value,n.value),l=e.value%r.value,u=Math.round((a-l)/r.value)*r.value+l;return parseFloat(Math.min(u,n.value).toFixed(o.value))}return{min:e,max:n,step:r,decimals:o,roundValue:s}},Ec=t=>{let{props:e,steps:n,onSliderStart:r,onSliderMove:o,onSliderEnd:s,getActiveThumb:i}=t;const{isRtl:a}=dn(),l=Y(e,"reverse"),u=q(()=>e.direction==="vertical"),c=q(()=>u.value!==l.value),{min:d,max:f,step:p,decimals:m,roundValue:h}=n,v=q(()=>parseInt(e.thumbSize,10)),b=q(()=>parseInt(e.tickSize,10)),w=q(()=>parseInt(e.trackSize,10)),C=q(()=>(f.value-d.value)/p.value),R=Y(e,"disabled"),E=q(()=>e.error||e.disabled?void 0:e.thumbColor??e.color),_=q(()=>e.error||e.disabled?void 0:e.trackColor??e.color),y=q(()=>e.error||e.disabled?void 0:e.trackFillColor??e.color),x=oe(!1),L=oe(0),F=Z(),T=Z();function A(M){var gn;const ie=e.direction==="vertical",Oe=ie?"top":"left",Je=ie?"height":"width",vn=ie?"clientY":"clientX",{[Oe]:It,[Je]:Kt}=(gn=F.value)==null?void 0:gn.$el.getBoundingClientRect(),Wn=A7(M,vn);let Zn=Math.min(Math.max((Wn-It-L.value)/Kt,0),1)||0;return(ie?c.value:c.value!==a.value)&&(Zn=1-Zn),h(d.value+Zn*(f.value-d.value))}const D=M=>{s({value:A(M)}),x.value=!1,L.value=0},S=M=>{T.value=i(M),T.value&&(T.value.focus(),x.value=!0,T.value.contains(M.target)?L.value=Es(M,T.value,e.direction):(L.value=0,o({value:A(M)})),r({value:A(M)}))},V={passive:!0,capture:!0};function I(M){o({value:A(M)})}function $(M){M.stopPropagation(),M.preventDefault(),D(M),window.removeEventListener("mousemove",I,V),window.removeEventListener("mouseup",$)}function P(M){var ie;D(M),window.removeEventListener("touchmove",I,V),(ie=M.target)==null||ie.removeEventListener("touchend",P)}function O(M){var ie;S(M),window.addEventListener("touchmove",I,V),(ie=M.target)==null||ie.addEventListener("touchend",P,{passive:!1})}function B(M){M.preventDefault(),S(M),window.addEventListener("mousemove",I,V),window.addEventListener("mouseup",$,{passive:!1})}const U=M=>{const ie=(M-d.value)/(f.value-d.value)*100;return Ht(isNaN(ie)?0:ie,0,100)},j=Y(e,"showTicks"),H=q(()=>j.value?e.ticks?Array.isArray(e.ticks)?e.ticks.map(M=>({value:M,position:U(M),label:M.toString()})):Object.keys(e.ticks).map(M=>({value:parseFloat(M),position:U(parseFloat(M)),label:e.ticks[M]})):C.value!==1/0?ou(C.value+1).map(M=>{const ie=d.value+M*p.value;return{value:ie,position:U(ie)}}):[]:[]),X=q(()=>H.value.some(M=>{let{label:ie}=M;return!!ie})),te={activeThumbRef:T,color:Y(e,"color"),decimals:m,disabled:R,direction:Y(e,"direction"),elevation:Y(e,"elevation"),hasLabels:X,isReversed:l,indexFromEnd:c,min:d,max:f,mousePressed:x,numTicks:C,onSliderMousedown:B,onSliderTouchstart:O,parsedTicks:H,parseMouseMove:A,position:U,readonly:Y(e,"readonly"),rounded:Y(e,"rounded"),roundValue:h,showTicks:j,startOffset:L,step:p,thumbSize:v,thumbColor:E,thumbLabel:Y(e,"thumbLabel"),ticks:Y(e,"ticks"),tickSize:b,trackColor:_,trackContainerRef:F,trackFillColor:y,trackSize:w,vertical:u};return Fe(gi,te),te};const E7=K({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...be()},"VSliderThumb"),Ts=ae()({name:"VSliderThumb",directives:{Ripple:fo},props:E7(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n,emit:r}=e;const o=ye(gi),{isRtl:s,rtlClasses:i}=dn();if(!o)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:a,step:l,disabled:u,thumbSize:c,thumbLabel:d,direction:f,isReversed:p,vertical:m,readonly:h,elevation:v,mousePressed:b,decimals:w,indexFromEnd:C}=o,{textColorClasses:R,textColorStyles:E}=pr(a),{pageup:_,pagedown:y,end:x,home:L,left:F,right:T,down:A,up:D}=su,S=[_,y,x,L,F,T,A,D],V=q(()=>l.value?[1,2,3]:[1,5,10]);function I(P,O){if(!S.includes(P.key))return;P.preventDefault();const B=l.value||.1,U=(t.max-t.min)/B;if([F,T,A,D].includes(P.key)){const H=(m.value?[s.value?F:T,p.value?A:D]:C.value!==s.value?[F,D]:[T,D]).includes(P.key)?1:-1,X=P.shiftKey?2:P.ctrlKey?1:0;O=O+H*B*V.value[X]}else if(P.key===L)O=t.min;else if(P.key===x)O=t.max;else{const j=P.key===y?1:-1;O=O-j*B*(U>100?U/10:10)}return Math.max(t.min,Math.min(t.max,O))}function $(P){const O=I(P,t.modelValue);O!=null&&r("update:modelValue",O)}return de(()=>{const P=ge(C.value?100-t.position:t.position,"%"),{elevationClasses:O}=po(q(()=>u.value?void 0:v.value));return g("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":t.focused,"v-slider-thumb--pressed":t.focused&&b.value},t.class,i.value],style:[{"--v-slider-thumb-position":P,"--v-slider-thumb-size":ge(c.value)},t.style],role:"slider",tabindex:u.value?-1:0,"aria-valuemin":t.min,"aria-valuemax":t.max,"aria-valuenow":t.modelValue,"aria-readonly":!!h.value,"aria-orientation":f.value,onKeydown:h.value?void 0:$},[g("div",{class:["v-slider-thumb__surface",R.value,O.value],style:{...E.value}},null),Pe(g("div",{class:["v-slider-thumb__ripple",R.value],style:E.value},null),[[Zt("ripple"),t.ripple,null,{circle:!0,center:!0}]]),g(y7,{origin:"bottom center"},{default:()=>{var B;return[Pe(g("div",{class:"v-slider-thumb__label-container"},[g("div",{class:["v-slider-thumb__label"]},[g("div",null,[((B=n["thumb-label"])==null?void 0:B.call(n,{modelValue:t.modelValue}))??t.modelValue.toFixed(l.value?w.value:1)])])]),[[fn,d.value&&t.focused||d.value==="always"]])]}})])}),{}}});const T7=K({start:{type:Number,required:!0},stop:{type:Number,required:!0},...be()},"VSliderTrack"),Tc=ae()({name:"VSliderTrack",props:T7(),emits:{},setup(t,e){let{slots:n}=e;const r=ye(gi);if(!r)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:o,parsedTicks:s,rounded:i,showTicks:a,tickSize:l,trackColor:u,trackFillColor:c,trackSize:d,vertical:f,min:p,max:m,indexFromEnd:h}=r,{roundedClasses:v}=Nn(i),{backgroundColorClasses:b,backgroundColorStyles:w}=Fn(c),{backgroundColorClasses:C,backgroundColorStyles:R}=Fn(u),E=q(()=>`inset-${f.value?"block":"inline"}-${h.value?"end":"start"}`),_=q(()=>f.value?"height":"width"),y=q(()=>({[E.value]:"0%",[_.value]:"100%"})),x=q(()=>t.stop-t.start),L=q(()=>({[E.value]:ge(t.start,"%"),[_.value]:ge(x.value,"%")})),F=q(()=>a.value?(f.value?s.value.slice().reverse():s.value).map((A,D)=>{var V;const S=A.value!==p.value&&A.value!==m.value?ge(A.position,"%"):void 0;return g("div",{key:A.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":A.position>=t.start&&A.position<=t.stop,"v-slider-track__tick--first":A.value===p.value,"v-slider-track__tick--last":A.value===m.value}],style:{[E.value]:S}},[(A.label||n["tick-label"])&&g("div",{class:"v-slider-track__tick-label"},[((V=n["tick-label"])==null?void 0:V.call(n,{tick:A,index:D}))??A.label])])}):[]);return de(()=>g("div",{class:["v-slider-track",v.value,t.class],style:[{"--v-slider-track-size":ge(d.value),"--v-slider-tick-size":ge(l.value)},t.style]},[g("div",{class:["v-slider-track__background",C.value,{"v-slider-track__background--opacity":!!o.value||!c.value}],style:{...y.value,...R.value}},null),g("div",{class:["v-slider-track__fill",b.value],style:{...L.value,...w.value}},null),a.value&&g("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":a.value==="always"}]},[F.value])])),{}}}),D7=K({...Fo(),...Gn(),...Sc(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},"VRangeSlider"),R7=ae()({name:"VRangeSlider",props:D7(),emits:{"update:focused":t=>!0,"update:modelValue":t=>!0,end:t=>!0,start:t=>!0},setup(t,e){let{slots:n,emit:r}=e;const o=Z(),s=Z(),i=Z(),{rtlClasses:a}=dn();function l(L){if(!o.value||!s.value)return;const F=Es(L,o.value.$el,t.direction),T=Es(L,s.value.$el,t.direction),A=Math.abs(F),D=Math.abs(T);return A<D||A===D&&F<0?o.value.$el:s.value.$el}const u=Ac(t),c=Ee(t,"modelValue",void 0,L=>L!=null&&L.length?L.map(F=>u.roundValue(F)):[0,0]),{activeThumbRef:d,hasLabels:f,max:p,min:m,mousePressed:h,onSliderMousedown:v,onSliderTouchstart:b,position:w,trackContainerRef:C}=Ec({props:t,steps:u,onSliderStart:()=>{r("start",c.value)},onSliderEnd:L=>{var A;let{value:F}=L;const T=d.value===((A=o.value)==null?void 0:A.$el)?[F,c.value[1]]:[c.value[0],F];!t.strict&&T[0]<T[1]&&(c.value=T),r("end",c.value)},onSliderMove:L=>{var D,S,V,I;let{value:F}=L;const[T,A]=c.value;!t.strict&&T===A&&T!==m.value&&(d.value=F>T?(D=s.value)==null?void 0:D.$el:(S=o.value)==null?void 0:S.$el,(V=d.value)==null||V.focus()),d.value===((I=o.value)==null?void 0:I.$el)?c.value=[Math.min(F,A),A]:c.value=[T,Math.max(T,F)]},getActiveThumb:l}),{isFocused:R,focus:E,blur:_}=_r(t),y=q(()=>w(c.value[0])),x=q(()=>w(c.value[1]));return de(()=>{const L=bt.filterProps(t),F=!!(t.label||n.label||n.prepend);return g(bt,se({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!n["tick-label"]||f.value,"v-slider--focused":R.value,"v-slider--pressed":h.value,"v-slider--disabled":t.disabled},a.value,t.class],style:t.style,ref:i},L,{focused:R.value}),{...n,prepend:F?T=>{var A,D;return g(pe,null,[((A=n.label)==null?void 0:A.call(n,T))??(t.label?g(xr,{class:"v-slider__label",text:t.label},null):void 0),(D=n.prepend)==null?void 0:D.call(n,T)])}:void 0,default:T=>{var S,V;let{id:A,messagesId:D}=T;return g("div",{class:"v-slider__container",onMousedown:v,onTouchstartPassive:b},[g("input",{id:`${A.value}_start`,name:t.name||A.value,disabled:!!t.disabled,readonly:!!t.readonly,tabindex:"-1",value:c.value[0]},null),g("input",{id:`${A.value}_stop`,name:t.name||A.value,disabled:!!t.disabled,readonly:!!t.readonly,tabindex:"-1",value:c.value[1]},null),g(Tc,{ref:C,start:y.value,stop:x.value},{"tick-label":n["tick-label"]}),g(Ts,{ref:o,"aria-describedby":D.value,focused:R&&d.value===((S=o.value)==null?void 0:S.$el),modelValue:c.value[0],"onUpdate:modelValue":I=>c.value=[I,c.value[1]],onFocus:I=>{var $,P,O,B;E(),d.value=($=o.value)==null?void 0:$.$el,c.value[0]===c.value[1]&&c.value[1]===m.value&&I.relatedTarget!==((P=s.value)==null?void 0:P.$el)&&((O=o.value)==null||O.$el.blur(),(B=s.value)==null||B.$el.focus())},onBlur:()=>{_(),d.value=void 0},min:m.value,max:c.value[1],position:y.value,ripple:t.ripple},{"thumb-label":n["thumb-label"]}),g(Ts,{ref:s,"aria-describedby":D.value,focused:R&&d.value===((V=s.value)==null?void 0:V.$el),modelValue:c.value[1],"onUpdate:modelValue":I=>c.value=[c.value[0],I],onFocus:I=>{var $,P,O,B;E(),d.value=($=s.value)==null?void 0:$.$el,c.value[0]===c.value[1]&&c.value[0]===p.value&&I.relatedTarget!==((P=o.value)==null?void 0:P.$el)&&((O=s.value)==null||O.$el.blur(),(B=o.value)==null||B.$el.focus())},onBlur:()=>{_(),d.value=void 0},min:c.value[0],max:p.value,position:x.value,ripple:t.ripple},{"thumb-label":n["thumb-label"]})])}})}),{}}});const F7=K({indeterminate:Boolean,indeterminateIcon:{type:ke,default:"$checkboxIndeterminate"},...vi({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),L7=ae()({name:"VCheckboxBtn",props:F7(),emits:{"update:modelValue":t=>!0,"update:indeterminate":t=>!0},setup(t,e){let{slots:n}=e;const r=Ee(t,"indeterminate"),o=Ee(t,"modelValue");function s(l){r.value&&(r.value=!1)}const i=q(()=>r.value?t.indeterminateIcon:t.falseIcon),a=q(()=>r.value?t.indeterminateIcon:t.trueIcon);return de(()=>{const l=qn(oo.filterProps(t),["modelValue"]);return g(oo,se(l,{modelValue:o.value,"onUpdate:modelValue":[u=>o.value=u,s],class:["v-checkbox-btn",t.class],style:t.style,type:"checkbox",falseIcon:i.value,trueIcon:a.value,"aria-checked":r.value?"mixed":void 0}),n)}),{}}});function I7(t,e){if(!rl)return;const n=e.modifiers||{},r=e.value,{handler:o,options:s}=typeof r=="object"?r:{handler:r,options:{}},i=new IntersectionObserver(function(){var d;let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0;const u=(d=t._observe)==null?void 0:d[e.instance.$.uid];if(!u)return;const c=a.some(f=>f.isIntersecting);o&&(!n.quiet||u.init)&&(!n.once||c||u.init)&&o(c,a,l),c&&n.once?Dc(t,e):u.init=!0},s);t._observe=Object(t._observe),t._observe[e.instance.$.uid]={init:!1,observer:i},i.observe(t)}function Dc(t,e){var r;const n=(r=t._observe)==null?void 0:r[e.instance.$.uid];n&&(n.observer.unobserve(t),delete t._observe[e.instance.$.uid])}const P7={mounted:I7,unmounted:Dc},yi=P7,q7=K({alt:String,cover:Boolean,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...yu(),...be(),...wr()},"VImg"),V7=ae()({name:"VImg",directives:{intersect:yi},props:q7(),emits:{loadstart:t=>!0,load:t=>!0,error:t=>!0},setup(t,e){let{emit:n,slots:r}=e;const o=Vn("VImg"),s=oe(""),i=Z(),a=oe(t.eager?"loading":"idle"),l=oe(),u=oe(),c=q(()=>t.src&&typeof t.src=="object"?{src:t.src.src,srcset:t.srcset||t.src.srcset,lazySrc:t.lazySrc||t.src.lazySrc,aspect:Number(t.aspectRatio||t.src.aspect||0)}:{src:t.src,srcset:t.srcset,lazySrc:t.lazySrc,aspect:Number(t.aspectRatio||0)}),d=q(()=>c.value.aspect||l.value/u.value||0);Q(()=>t.src,()=>{f(a.value!=="idle")}),Q(d,(L,F)=>{!L&&F&&i.value&&b(i.value)}),nl(()=>f());function f(L){if(!(t.eager&&L)&&!(rl&&!L&&!t.eager)){if(a.value="loading",c.value.lazySrc){const F=new Image;F.src=c.value.lazySrc,b(F,null)}c.value.src&&De(()=>{var F;n("loadstart",((F=i.value)==null?void 0:F.currentSrc)||c.value.src),setTimeout(()=>{var T;if(!o.isUnmounted)if((T=i.value)!=null&&T.complete){if(i.value.naturalWidth||m(),a.value==="error")return;d.value||b(i.value,null),a.value==="loading"&&p()}else d.value||b(i.value),h()})})}}function p(){var L;o.isUnmounted||(h(),b(i.value),a.value="loaded",n("load",((L=i.value)==null?void 0:L.currentSrc)||c.value.src))}function m(){var L;o.isUnmounted||(a.value="error",n("error",((L=i.value)==null?void 0:L.currentSrc)||c.value.src))}function h(){const L=i.value;L&&(s.value=L.currentSrc||L.src)}let v=-1;Pn(()=>{clearTimeout(v)});function b(L){let F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const T=()=>{if(clearTimeout(v),o.isUnmounted)return;const{naturalHeight:A,naturalWidth:D}=L;A||D?(l.value=D,u.value=A):!L.complete&&a.value==="loading"&&F!=null?v=window.setTimeout(T,F):(L.currentSrc.endsWith(".svg")||L.currentSrc.startsWith("data:image/svg+xml"))&&(l.value=1,u.value=1)};T()}const w=q(()=>({"v-img__img--cover":t.cover,"v-img__img--contain":!t.cover})),C=()=>{var T;if(!c.value.src||a.value==="idle")return null;const L=g("img",{class:["v-img__img",w.value],style:{objectPosition:t.position},src:c.value.src,srcset:c.value.srcset,alt:t.alt,crossorigin:t.crossorigin,referrerpolicy:t.referrerpolicy,draggable:t.draggable,sizes:t.sizes,ref:i,onLoad:p,onError:m},null),F=(T=r.sources)==null?void 0:T.call(r);return g(Ut,{transition:t.transition,appear:!0},{default:()=>[Pe(F?g("picture",{class:"v-img__picture"},[F,L]):L,[[fn,a.value==="loaded"]])]})},R=()=>g(Ut,{transition:t.transition},{default:()=>[c.value.lazySrc&&a.value!=="loaded"&&g("img",{class:["v-img__img","v-img__img--preload",w.value],style:{objectPosition:t.position},src:c.value.lazySrc,alt:t.alt,crossorigin:t.crossorigin,referrerpolicy:t.referrerpolicy,draggable:t.draggable},null)]}),E=()=>r.placeholder?g(Ut,{transition:t.transition,appear:!0},{default:()=>[(a.value==="loading"||a.value==="error"&&!r.error)&&g("div",{class:"v-img__placeholder"},[r.placeholder()])]}):null,_=()=>r.error?g(Ut,{transition:t.transition,appear:!0},{default:()=>[a.value==="error"&&g("div",{class:"v-img__error"},[r.error()])]}):null,y=()=>t.gradient?g("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${t.gradient})`}},null):null,x=oe(!1);{const L=Q(d,F=>{F&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{x.value=!0})}),L())})}return de(()=>{const L=Kr.filterProps(t);return Pe(g(Kr,se({class:["v-img",{"v-img--booting":!x.value},t.class],style:[{width:ge(t.width==="auto"?l.value:t.width)},t.style]},L,{aspectRatio:d.value,"aria-label":t.alt,role:t.alt?"img":void 0}),{additional:()=>g(pe,null,[g(C,null,null),g(R,null,null),g(y,null,null),g(E,null,null),g(_,null,null)]),default:r.default}),[[Zt("intersect"),{handler:f,options:t.options},null,{once:!0}]])}),{currentSrc:s,image:i,state:a,naturalWidth:l,naturalHeight:u}}}),O7=K({start:Boolean,end:Boolean,icon:ke,image:String,text:String,...be(),...On(),...Bn(),...ll(),...hn(),...Ft(),...mr({variant:"flat"})},"VAvatar"),so=ae()({name:"VAvatar",props:O7(),setup(t,e){let{slots:n}=e;const{themeClasses:r}=pn(t),{colorClasses:o,colorStyles:s,variantClasses:i}=Ns(t),{densityClasses:a}=zn(t),{roundedClasses:l}=Nn(t),{sizeClasses:u,sizeStyles:c}=cl(t);return de(()=>g(t.tag,{class:["v-avatar",{"v-avatar--start":t.start,"v-avatar--end":t.end},r.value,o.value,a.value,l.value,u.value,i.value,t.class],style:[s.value,c.value,t.style]},{default:()=>{var d;return[t.image?g(V7,{key:"image",src:t.image,alt:"",cover:!0},null):t.icon?g(nt,{key:"icon",icon:t.icon},null):((d=n.default)==null?void 0:d.call(n))??t.text,$s(!1,"v-avatar")]}})),{}}});const Rc=Symbol.for("vuetify:v-chip-group"),z7=K({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:Vs},...be(),...bu({selectedClass:"v-chip--selected"}),...hn(),...Ft(),...mr({variant:"tonal"})},"VChipGroup");ae()({name:"VChipGroup",props:z7(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n}=e;const{themeClasses:r}=pn(t),{isSelected:o,select:s,next:i,prev:a,selected:l}=ku(t,Rc);return Os({VChip:{color:Y(t,"color"),disabled:Y(t,"disabled"),filter:Y(t,"filter"),variant:Y(t,"variant")}}),de(()=>g(t.tag,{class:["v-chip-group",{"v-chip-group--column":t.column},r.value,t.class],style:t.style},{default:()=>{var u;return[(u=n.default)==null?void 0:u.call(n,{isSelected:o,select:s,next:i,prev:a,selected:l.value})]}})),{}}});const B7=K({activeClass:String,appendAvatar:String,appendIcon:ke,closable:Boolean,closeIcon:{type:ke,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:ke,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:vt(),onClickOnce:vt(),...Ms(),...be(),...On(),...ho(),...xu(),...Bn(),...ul(),...ll(),...hn({tag:"span"}),...Ft(),...mr({variant:"tonal"})},"VChip"),N7=ae()({name:"VChip",directives:{Ripple:fo},props:B7(),emits:{"click:close":t=>!0,"update:modelValue":t=>!0,"group:selected":t=>!0,click:t=>!0},setup(t,e){let{attrs:n,emit:r,slots:o}=e;const{t:s}=zs(),{borderClasses:i}=Us(t),{colorClasses:a,colorStyles:l,variantClasses:u}=Ns(t),{densityClasses:c}=zn(t),{elevationClasses:d}=po(t),{roundedClasses:f}=Nn(t),{sizeClasses:p}=cl(t),{themeClasses:m}=pn(t),h=Ee(t,"modelValue"),v=wu(t,Rc,!1),b=dl(t,n),w=q(()=>t.link!==!1&&b.isLink.value),C=q(()=>!t.disabled&&t.link!==!1&&(!!v||t.link||b.isClickable.value)),R=q(()=>({"aria-label":s(t.closeLabel),onClick(y){y.stopPropagation(),h.value=!1,r("click:close",y)}}));function E(y){var x;r("click",y),C.value&&((x=b.navigate)==null||x.call(b,y),v==null||v.toggle())}function _(y){(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),E(y))}return()=>{const y=b.isLink.value?"a":t.tag,x=!!(t.appendIcon||t.appendAvatar),L=!!(x||o.append),F=!!(o.close||t.closable),T=!!(o.filter||t.filter)&&v,A=!!(t.prependIcon||t.prependAvatar),D=!!(A||o.prepend),S=!v||v.isSelected.value;return h.value&&Pe(g(y,{class:["v-chip",{"v-chip--disabled":t.disabled,"v-chip--label":t.label,"v-chip--link":C.value,"v-chip--filter":T,"v-chip--pill":t.pill},m.value,i.value,S?a.value:void 0,c.value,d.value,f.value,p.value,u.value,v==null?void 0:v.selectedClass.value,t.class],style:[S?l.value:void 0,t.style],disabled:t.disabled||void 0,draggable:t.draggable,href:b.href.value,tabindex:C.value?0:void 0,onClick:E,onKeydown:C.value&&!w.value&&_},{default:()=>{var V;return[$s(C.value,"v-chip"),T&&g(_c,{key:"filter"},{default:()=>[Pe(g("div",{class:"v-chip__filter"},[o.filter?g(Tt,{key:"filter-defaults",disabled:!t.filterIcon,defaults:{VIcon:{icon:t.filterIcon}}},o.filter):g(nt,{key:"filter-icon",icon:t.filterIcon},null)]),[[fn,v.isSelected.value]])]}),D&&g("div",{key:"prepend",class:"v-chip__prepend"},[o.prepend?g(Tt,{key:"prepend-defaults",disabled:!A,defaults:{VAvatar:{image:t.prependAvatar,start:!0},VIcon:{icon:t.prependIcon,start:!0}}},o.prepend):g(pe,null,[t.prependIcon&&g(nt,{key:"prepend-icon",icon:t.prependIcon,start:!0},null),t.prependAvatar&&g(so,{key:"prepend-avatar",image:t.prependAvatar,start:!0},null)])]),g("div",{class:"v-chip__content"},[((V=o.default)==null?void 0:V.call(o,{isSelected:v==null?void 0:v.isSelected.value,selectedClass:v==null?void 0:v.selectedClass.value,select:v==null?void 0:v.select,toggle:v==null?void 0:v.toggle,value:v==null?void 0:v.value.value,disabled:t.disabled}))??t.text]),L&&g("div",{key:"append",class:"v-chip__append"},[o.append?g(Tt,{key:"append-defaults",disabled:!x,defaults:{VAvatar:{end:!0,image:t.appendAvatar},VIcon:{end:!0,icon:t.appendIcon}}},o.append):g(pe,null,[t.appendIcon&&g(nt,{key:"append-icon",end:!0,icon:t.appendIcon},null),t.appendAvatar&&g(so,{key:"append-avatar",end:!0,image:t.appendAvatar},null)])]),F&&g("button",se({key:"close",class:"v-chip__close"},R.value),[o.close?g(Tt,{key:"close-defaults",defaults:{VIcon:{icon:t.closeIcon,size:"x-small"}}},o.close):g(nt,{key:"close-icon",icon:t.closeIcon,size:"x-small"},null)])]}}),[[Zt("ripple"),C.value&&t.ripple,null]])}}});const Ds=Symbol.for("vuetify:list");function Fc(){const t=ye(Ds,{hasPrepend:oe(!1),updateHasPrepend:()=>null}),e={hasPrepend:oe(!1),updateHasPrepend:n=>{n&&(e.hasPrepend.value=n)}};return Fe(Ds,e),t}function Lc(){return ye(Ds,null)}const $7={open:t=>{let{id:e,value:n,opened:r,parents:o}=t;if(n){const s=new Set;s.add(e);let i=o.get(e);for(;i!=null;)s.add(i),i=o.get(i);return s}else return r.delete(e),r},select:()=>null},Ic={open:t=>{let{id:e,value:n,opened:r,parents:o}=t;if(n){let s=o.get(e);for(r.add(e);s!=null&&s!==e;)r.add(s),s=o.get(s);return r}else r.delete(e);return r},select:()=>null},M7={open:Ic.open,select:t=>{let{id:e,value:n,opened:r,parents:o}=t;if(!n)return r;const s=[];let i=o.get(e);for(;i!=null;)s.push(i),i=o.get(i);return new Set(s)}},bi=t=>{const e={select:n=>{let{id:r,value:o,selected:s}=n;if(r=mn(r),t&&!o){const i=Array.from(s.entries()).reduce((a,l)=>{let[u,c]=l;return c==="on"?[...a,u]:a},[]);if(i.length===1&&i[0]===r)return s}return s.set(r,o?"on":"off"),s},in:(n,r,o)=>{let s=new Map;for(const i of n||[])s=e.select({id:i,value:!0,selected:new Map(s),children:r,parents:o});return s},out:n=>{const r=[];for(const[o,s]of n.entries())s==="on"&&r.push(o);return r}};return e},Pc=t=>{const e=bi(t);return{select:r=>{let{selected:o,id:s,...i}=r;s=mn(s);const a=o.has(s)?new Map([[s,o.get(s)]]):new Map;return e.select({...i,id:s,selected:a})},in:(r,o,s)=>{let i=new Map;return r!=null&&r.length&&(i=e.in(r.slice(0,1),o,s)),i},out:(r,o,s)=>e.out(r,o,s)}},U7=t=>{const e=bi(t);return{select:r=>{let{id:o,selected:s,children:i,...a}=r;return o=mn(o),i.has(o)?s:e.select({id:o,selected:s,children:i,...a})},in:e.in,out:e.out}},j7=t=>{const e=Pc(t);return{select:r=>{let{id:o,selected:s,children:i,...a}=r;return o=mn(o),i.has(o)?s:e.select({id:o,selected:s,children:i,...a})},in:e.in,out:e.out}},H7=t=>{const e={select:n=>{let{id:r,value:o,selected:s,children:i,parents:a}=n;r=mn(r);const l=new Map(s),u=[r];for(;u.length;){const d=u.shift();s.set(d,o?"on":"off"),i.has(d)&&u.push(...i.get(d))}let c=a.get(r);for(;c;){const d=i.get(c),f=d.every(m=>s.get(m)==="on"),p=d.every(m=>!s.has(m)||s.get(m)==="off");s.set(c,f?"on":p?"off":"indeterminate"),c=a.get(c)}return t&&!o&&Array.from(s.entries()).reduce((f,p)=>{let[m,h]=p;return h==="on"?[...f,m]:f},[]).length===0?l:s},in:(n,r,o)=>{let s=new Map;for(const i of n||[])s=e.select({id:i,value:!0,selected:new Map(s),children:r,parents:o});return s},out:(n,r)=>{const o=[];for(const[s,i]of n.entries())i==="on"&&!r.has(s)&&o.push(s);return o}};return e},lr=Symbol.for("vuetify:nested"),qc={id:oe(),root:{register:()=>null,unregister:()=>null,parents:Z(new Map),children:Z(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:Z(new Set),selected:Z(new Map),selectedValues:Z([])}},G7=K({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),W7=t=>{let e=!1;const n=Z(new Map),r=Z(new Map),o=Ee(t,"opened",t.opened,d=>new Set(d),d=>[...d.values()]),s=q(()=>{if(typeof t.selectStrategy=="object")return t.selectStrategy;switch(t.selectStrategy){case"single-leaf":return j7(t.mandatory);case"leaf":return U7(t.mandatory);case"independent":return bi(t.mandatory);case"single-independent":return Pc(t.mandatory);case"classic":default:return H7(t.mandatory)}}),i=q(()=>{if(typeof t.openStrategy=="object")return t.openStrategy;switch(t.openStrategy){case"list":return M7;case"single":return $7;case"multiple":default:return Ic}}),a=Ee(t,"selected",t.selected,d=>s.value.in(d,n.value,r.value),d=>s.value.out(d,n.value,r.value));Pn(()=>{e=!0});function l(d){const f=[];let p=d;for(;p!=null;)f.unshift(p),p=r.value.get(p);return f}const u=Vn("nested"),c={id:oe(),root:{opened:o,selected:a,selectedValues:q(()=>{const d=[];for(const[f,p]of a.value.entries())p==="on"&&d.push(f);return d}),register:(d,f,p)=>{f&&d!==f&&r.value.set(d,f),p&&n.value.set(d,[]),f!=null&&n.value.set(f,[...n.value.get(f)||[],d])},unregister:d=>{if(e)return;n.value.delete(d);const f=r.value.get(d);if(f){const p=n.value.get(f)??[];n.value.set(f,p.filter(m=>m!==d))}r.value.delete(d),o.value.delete(d)},open:(d,f,p)=>{u.emit("click:open",{id:d,value:f,path:l(d),event:p});const m=i.value.open({id:d,value:f,opened:new Set(o.value),children:n.value,parents:r.value,event:p});m&&(o.value=m)},openOnSelect:(d,f,p)=>{const m=i.value.select({id:d,value:f,selected:new Map(a.value),opened:new Set(o.value),children:n.value,parents:r.value,event:p});m&&(o.value=m)},select:(d,f,p)=>{u.emit("click:select",{id:d,value:f,path:l(d),event:p});const m=s.value.select({id:d,value:f,selected:new Map(a.value),children:n.value,parents:r.value,event:p});m&&(a.value=m),c.root.openOnSelect(d,f,p)},children:n,parents:r}};return Fe(lr,c),c.root},Vc=(t,e)=>{const n=ye(lr,qc),r=Symbol(Wt()),o=q(()=>t.value!==void 0?t.value:r),s={...n,id:o,open:(i,a)=>n.root.open(o.value,i,a),openOnSelect:(i,a)=>n.root.openOnSelect(o.value,i,a),isOpen:q(()=>n.root.opened.value.has(o.value)),parent:q(()=>n.root.parents.value.get(o.value)),select:(i,a)=>n.root.select(o.value,i,a),isSelected:q(()=>n.root.selected.value.get(mn(o.value))==="on"),isIndeterminate:q(()=>n.root.selected.value.get(o.value)==="indeterminate"),isLeaf:q(()=>!n.root.children.value.get(o.value)),isGroupActivator:n.isGroupActivator};return!n.isGroupActivator&&n.root.register(o.value,n.id.value,e),Pn(()=>{!n.isGroupActivator&&n.root.unregister(o.value)}),e&&Fe(lr,s),s},Z7=()=>{const t=ye(lr,qc);Fe(lr,{...t,isGroupActivator:!0})},K7=iu({name:"VListGroupActivator",setup(t,e){let{slots:n}=e;return Z7(),()=>{var r;return(r=n.default)==null?void 0:r.call(n)}}}),J7=K({activeColor:String,baseColor:String,color:String,collapseIcon:{type:ke,default:"$collapse"},expandIcon:{type:ke,default:"$expand"},prependIcon:ke,appendIcon:ke,fluid:Boolean,subgroup:Boolean,title:String,value:null,...be(),...hn()},"VListGroup"),Ga=ae()({name:"VListGroup",props:J7(),setup(t,e){let{slots:n}=e;const{isOpen:r,open:o,id:s}=Vc(Y(t,"value"),!0),i=q(()=>`v-list-group--id-${String(s.value)}`),a=Lc(),{isBooted:l}=au();function u(p){o(!r.value,p)}const c=q(()=>({onClick:u,class:"v-list-group__header",id:i.value})),d=q(()=>r.value?t.collapseIcon:t.expandIcon),f=q(()=>({VListItem:{active:r.value,activeColor:t.activeColor,baseColor:t.baseColor,color:t.color,prependIcon:t.prependIcon||t.subgroup&&d.value,appendIcon:t.appendIcon||!t.subgroup&&d.value,title:t.title,value:t.value}}));return de(()=>g(t.tag,{class:["v-list-group",{"v-list-group--prepend":a==null?void 0:a.hasPrepend.value,"v-list-group--fluid":t.fluid,"v-list-group--subgroup":t.subgroup,"v-list-group--open":r.value},t.class],style:t.style},{default:()=>[n.activator&&g(Tt,{defaults:f.value},{default:()=>[g(K7,null,{default:()=>[n.activator({props:c.value,isOpen:r.value})]})]}),g(Ut,{transition:{component:b7},disabled:!l.value},{default:()=>{var p;return[Pe(g("div",{class:"v-list-group__items",role:"group","aria-labelledby":i.value},[(p=n.default)==null?void 0:p.call(n)]),[[fn,r.value]])]}})]})),{}}});const Y7=hl("v-list-item-subtitle"),X7=hl("v-list-item-title"),Q7=K({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:ke,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:ke,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number],title:[String,Number],value:null,onClick:vt(),onClickOnce:vt(),...Ms(),...be(),...On(),...mo(),...ho(),...Bn(),...ul(),...hn(),...Ft(),...mr({variant:"text"})},"VListItem"),io=ae()({name:"VListItem",directives:{Ripple:fo},props:Q7(),emits:{click:t=>!0},setup(t,e){let{attrs:n,slots:r,emit:o}=e;const s=dl(t,n),i=q(()=>t.value===void 0?s.href.value:t.value),{select:a,isSelected:l,isIndeterminate:u,isGroupActivator:c,root:d,parent:f,openOnSelect:p}=Vc(i,!1),m=Lc(),h=q(()=>{var P;return t.active!==!1&&(t.active||((P=s.isActive)==null?void 0:P.value)||l.value)}),v=q(()=>t.link!==!1&&s.isLink.value),b=q(()=>!t.disabled&&t.link!==!1&&(t.link||s.isClickable.value||t.value!=null&&!!m)),w=q(()=>t.rounded||t.nav),C=q(()=>t.color??t.activeColor),R=q(()=>({color:h.value?C.value??t.baseColor:t.baseColor,variant:t.variant}));Q(()=>{var P;return(P=s.isActive)==null?void 0:P.value},P=>{P&&f.value!=null&&d.open(f.value,!0),P&&p(P)},{immediate:!0});const{themeClasses:E}=pn(t),{borderClasses:_}=Us(t),{colorClasses:y,colorStyles:x,variantClasses:L}=Ns(R),{densityClasses:F}=zn(t),{dimensionStyles:T}=vo(t),{elevationClasses:A}=po(t),{roundedClasses:D}=Nn(w),S=q(()=>t.lines?`v-list-item--${t.lines}-line`:void 0),V=q(()=>({isActive:h.value,select:a,isSelected:l.value,isIndeterminate:u.value}));function I(P){var O;o("click",P),!(c||!b.value)&&((O=s.navigate)==null||O.call(s,P),t.value!=null&&a(!l.value,P))}function $(P){(P.key==="Enter"||P.key===" ")&&(P.preventDefault(),I(P))}return de(()=>{const P=v.value?"a":t.tag,O=r.title||t.title!=null,B=r.subtitle||t.subtitle!=null,U=!!(t.appendAvatar||t.appendIcon),j=!!(U||r.append),H=!!(t.prependAvatar||t.prependIcon),X=!!(H||r.prepend);return m==null||m.updateHasPrepend(X),t.activeColor&&lu("active-color",["color","base-color"]),Pe(g(P,{class:["v-list-item",{"v-list-item--active":h.value,"v-list-item--disabled":t.disabled,"v-list-item--link":b.value,"v-list-item--nav":t.nav,"v-list-item--prepend":!X&&(m==null?void 0:m.hasPrepend.value),"v-list-item--slim":t.slim,[`${t.activeClass}`]:t.activeClass&&h.value},E.value,_.value,y.value,F.value,A.value,S.value,D.value,L.value,t.class],style:[x.value,T.value,t.style],href:s.href.value,tabindex:b.value?m?-2:0:void 0,onClick:I,onKeydown:b.value&&!v.value&&$},{default:()=>{var te;return[$s(b.value||h.value,"v-list-item"),X&&g("div",{key:"prepend",class:"v-list-item__prepend"},[r.prepend?g(Tt,{key:"prepend-defaults",disabled:!H,defaults:{VAvatar:{density:t.density,image:t.prependAvatar},VIcon:{density:t.density,icon:t.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var M;return[(M=r.prepend)==null?void 0:M.call(r,V.value)]}}):g(pe,null,[t.prependAvatar&&g(so,{key:"prepend-avatar",density:t.density,image:t.prependAvatar},null),t.prependIcon&&g(nt,{key:"prepend-icon",density:t.density,icon:t.prependIcon},null)]),g("div",{class:"v-list-item__spacer"},null)]),g("div",{class:"v-list-item__content","data-no-activator":""},[O&&g(X7,{key:"title"},{default:()=>{var M;return[((M=r.title)==null?void 0:M.call(r,{title:t.title}))??t.title]}}),B&&g(Y7,{key:"subtitle"},{default:()=>{var M;return[((M=r.subtitle)==null?void 0:M.call(r,{subtitle:t.subtitle}))??t.subtitle]}}),(te=r.default)==null?void 0:te.call(r,V.value)]),j&&g("div",{key:"append",class:"v-list-item__append"},[r.append?g(Tt,{key:"append-defaults",disabled:!U,defaults:{VAvatar:{density:t.density,image:t.appendAvatar},VIcon:{density:t.density,icon:t.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var M;return[(M=r.append)==null?void 0:M.call(r,V.value)]}}):g(pe,null,[t.appendIcon&&g(nt,{key:"append-icon",density:t.density,icon:t.appendIcon},null),t.appendAvatar&&g(so,{key:"append-avatar",density:t.density,image:t.appendAvatar},null)]),g("div",{class:"v-list-item__spacer"},null)])]}}),[[Zt("ripple"),b.value&&t.ripple]])}),{}}}),e9=K({color:String,inset:Boolean,sticky:Boolean,title:String,...be(),...hn()},"VListSubheader"),t9=ae()({name:"VListSubheader",props:e9(),setup(t,e){let{slots:n}=e;const{textColorClasses:r,textColorStyles:o}=pr(Y(t,"color"));return de(()=>{const s=!!(n.default||t.title);return g(t.tag,{class:["v-list-subheader",{"v-list-subheader--inset":t.inset,"v-list-subheader--sticky":t.sticky},r.value,t.class],style:[{textColorStyles:o},t.style]},{default:()=>{var i;return[s&&g("div",{class:"v-list-subheader__text"},[((i=n.default)==null?void 0:i.call(n))??t.title])]}})}),{}}}),n9=K({items:Array,returnObject:Boolean},"VListChildren"),Oc=ae()({name:"VListChildren",props:n9(),setup(t,e){let{slots:n}=e;return Fc(),()=>{var r,o;return((r=n.default)==null?void 0:r.call(n))??((o=t.items)==null?void 0:o.map(s=>{var f,p;let{children:i,props:a,type:l,raw:u}=s;if(l==="divider")return((f=n.divider)==null?void 0:f.call(n,{props:a}))??g(er,a,null);if(l==="subheader")return((p=n.subheader)==null?void 0:p.call(n,{props:a}))??g(t9,a,null);const c={subtitle:n.subtitle?m=>{var h;return(h=n.subtitle)==null?void 0:h.call(n,{...m,item:u})}:void 0,prepend:n.prepend?m=>{var h;return(h=n.prepend)==null?void 0:h.call(n,{...m,item:u})}:void 0,append:n.append?m=>{var h;return(h=n.append)==null?void 0:h.call(n,{...m,item:u})}:void 0,title:n.title?m=>{var h;return(h=n.title)==null?void 0:h.call(n,{...m,item:u})}:void 0},d=Ga.filterProps(a);return i?g(Ga,se({value:a==null?void 0:a.value},d),{activator:m=>{let{props:h}=m;const v={...a,...h,value:t.returnObject?u:a.value};return n.header?n.header({props:v}):g(io,v,c)},default:()=>g(Oc,{items:i},n)}):n.item?n.item({props:a}):g(io,se(a,{value:t.returnObject?u:a.value}),c)}))}}}),zc=K({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:Vs}},"list-items");function Rs(t,e){const n=Et(e,t.itemTitle,e),r=Et(e,t.itemValue,n),o=Et(e,t.itemChildren),s=t.itemProps===!0?typeof e=="object"&&e!=null&&!Array.isArray(e)?"children"in e?qn(e,["children"]):e:void 0:Et(e,t.itemProps),i={title:n,value:r,...s};return{title:String(i.title??""),value:i.value,props:i,children:Array.isArray(o)?Bc(t,o):void 0,raw:e}}function Bc(t,e){const n=[];for(const r of e)n.push(Rs(t,r));return n}function r9(t){const e=q(()=>Bc(t,t.items)),n=q(()=>e.value.some(s=>s.value===null));function r(s){return n.value||(s=s.filter(i=>i!==null)),s.map(i=>t.returnObject&&typeof i=="string"?Rs(t,i):e.value.find(a=>t.valueComparator(i,a.value))||Rs(t,i))}function o(s){return t.returnObject?s.map(i=>{let{raw:a}=i;return a}):s.map(i=>{let{value:a}=i;return a})}return{items:e,transformIn:r,transformOut:o}}function o9(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"}function s9(t,e){const n=Et(e,t.itemType,"item"),r=o9(e)?e:Et(e,t.itemTitle),o=Et(e,t.itemValue,void 0),s=Et(e,t.itemChildren),i=t.itemProps===!0?qn(e,["children"]):Et(e,t.itemProps),a={title:r,value:o,...i};return{type:n,title:a.title,value:a.value,props:a,children:n==="item"&&s?Nc(t,s):void 0,raw:e}}function Nc(t,e){const n=[];for(const r of e)n.push(s9(t,r));return n}function i9(t){return{items:q(()=>Nc(t,t.items))}}const a9=K({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,...G7({selectStrategy:"single-leaf",openStrategy:"list"}),...Ms(),...be(),...On(),...mo(),...ho(),itemType:{type:String,default:"type"},...zc(),...Bn(),...hn(),...Ft(),...mr({variant:"text"})},"VList"),l9=ae()({name:"VList",props:a9(),emits:{"update:selected":t=>!0,"update:opened":t=>!0,"click:open":t=>!0,"click:select":t=>!0},setup(t,e){let{slots:n}=e;const{items:r}=i9(t),{themeClasses:o}=pn(t),{backgroundColorClasses:s,backgroundColorStyles:i}=Fn(Y(t,"bgColor")),{borderClasses:a}=Us(t),{densityClasses:l}=zn(t),{dimensionStyles:u}=vo(t),{elevationClasses:c}=po(t),{roundedClasses:d}=Nn(t),{open:f,select:p}=W7(t),m=q(()=>t.lines?`v-list--${t.lines}-line`:void 0),h=Y(t,"activeColor"),v=Y(t,"baseColor"),b=Y(t,"color");Fc(),Os({VListGroup:{activeColor:h,baseColor:v,color:b},VListItem:{activeClass:Y(t,"activeClass"),activeColor:h,baseColor:v,color:b,density:Y(t,"density"),disabled:Y(t,"disabled"),lines:Y(t,"lines"),nav:Y(t,"nav"),slim:Y(t,"slim"),variant:Y(t,"variant")}});const w=oe(!1),C=Z();function R(L){w.value=!0}function E(L){w.value=!1}function _(L){var F;!w.value&&!(L.relatedTarget&&((F=C.value)!=null&&F.contains(L.relatedTarget)))&&x()}function y(L){if(C.value){if(L.key==="ArrowDown")x("next");else if(L.key==="ArrowUp")x("prev");else if(L.key==="Home")x("first");else if(L.key==="End")x("last");else return;L.preventDefault()}}function x(L){if(C.value)return us(C.value,L)}return de(()=>g(t.tag,{ref:C,class:["v-list",{"v-list--disabled":t.disabled,"v-list--nav":t.nav},o.value,s.value,a.value,l.value,c.value,m.value,d.value,t.class],style:[i.value,u.value,t.style],tabindex:t.disabled||w.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:R,onFocusout:E,onFocus:_,onKeydown:y},{default:()=>[g(Oc,{items:r.value,returnObject:t.returnObject},n)]})),{open:f,select:p,focus:x}}});function os(t,e){return{x:t.x+e.x,y:t.y+e.y}}function c9(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Wa(t,e){if(t.side==="top"||t.side==="bottom"){const{side:n,align:r}=t,o=r==="left"?0:r==="center"?e.width/2:r==="right"?e.width:r,s=n==="top"?0:n==="bottom"?e.height:n;return os({x:o,y:s},e)}else if(t.side==="left"||t.side==="right"){const{side:n,align:r}=t,o=n==="left"?0:n==="right"?e.width:n,s=r==="top"?0:r==="center"?e.height/2:r==="bottom"?e.height:r;return os({x:o,y:s},e)}return os({x:e.width/2,y:e.height/2},e)}const $c={static:f9,connected:p9},u9=K({locationStrategy:{type:[String,Function],default:"static",validator:t=>typeof t=="function"||t in $c},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function d9(t,e){const n=Z({}),r=Z();Lt&&Dn(()=>!!(e.isActive.value&&t.locationStrategy),s=>{var i,a;Q(()=>t.locationStrategy,s),Ke(()=>{window.removeEventListener("resize",o),r.value=void 0}),window.addEventListener("resize",o,{passive:!0}),typeof t.locationStrategy=="function"?r.value=(i=t.locationStrategy(e,t,n))==null?void 0:i.updateLocation:r.value=(a=$c[t.locationStrategy](e,t,n))==null?void 0:a.updateLocation});function o(s){var i;(i=r.value)==null||i.call(r,s)}return{contentStyles:n,updateLocation:r}}function f9(){}function h9(t,e){e?t.style.removeProperty("left"):t.style.removeProperty("right");const n=js(t);return e?n.x+=parseFloat(t.style.right||0):n.x-=parseFloat(t.style.left||0),n.y-=parseFloat(t.style.top||0),n}function p9(t,e,n){(Array.isArray(t.target.value)||Pu(t.target.value))&&Object.assign(n.value,{position:"fixed",top:0,[t.isRtl.value?"right":"left"]:0});const{preferredAnchor:o,preferredOrigin:s}=cu(()=>{const m=Di(e.location,t.isRtl.value),h=e.origin==="overlap"?m:e.origin==="auto"?qo(m):Di(e.origin,t.isRtl.value);return m.side===h.side&&m.align===Vo(h).align?{preferredAnchor:Ri(m),preferredOrigin:Ri(h)}:{preferredAnchor:m,preferredOrigin:h}}),[i,a,l,u]=["minWidth","minHeight","maxWidth","maxHeight"].map(m=>q(()=>{const h=parseFloat(e[m]);return isNaN(h)?1/0:h})),c=q(()=>{if(Array.isArray(e.offset))return e.offset;if(typeof e.offset=="string"){const m=e.offset.split(" ").map(parseFloat);return m.length<2&&m.push(0),m}return typeof e.offset=="number"?[e.offset,0]:[0,0]});let d=!1;const f=new ResizeObserver(()=>{d&&p()});Q([t.target,t.contentEl],(m,h)=>{let[v,b]=m,[w,C]=h;w&&!Array.isArray(w)&&f.unobserve(w),v&&!Array.isArray(v)&&f.observe(v),C&&f.unobserve(C),b&&f.observe(b)},{immediate:!0}),Ke(()=>{f.disconnect()});function p(){if(d=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>d=!0)}),!t.target.value||!t.contentEl.value)return;const m=fl(t.target.value),h=h9(t.contentEl.value,t.isRtl.value),v=Yr(t.contentEl.value),b=12;v.length||(v.push(document.documentElement),t.contentEl.value.style.top&&t.contentEl.value.style.left||(h.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),h.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const w=v.reduce((T,A)=>{const D=A.getBoundingClientRect(),S=new ln({x:A===document.documentElement?0:D.x,y:A===document.documentElement?0:D.y,width:A.clientWidth,height:A.clientHeight});return T?new ln({x:Math.max(T.left,S.left),y:Math.max(T.top,S.top),width:Math.min(T.right,S.right)-Math.max(T.left,S.left),height:Math.min(T.bottom,S.bottom)-Math.max(T.top,S.top)}):S},void 0);w.x+=b,w.y+=b,w.width-=b*2,w.height-=b*2;let C={anchor:o.value,origin:s.value};function R(T){const A=new ln(h),D=Wa(T.anchor,m),S=Wa(T.origin,A);let{x:V,y:I}=c9(D,S);switch(T.anchor.side){case"top":I-=c.value[0];break;case"bottom":I+=c.value[0];break;case"left":V-=c.value[0];break;case"right":V+=c.value[0];break}switch(T.anchor.align){case"top":I-=c.value[1];break;case"bottom":I+=c.value[1];break;case"left":V-=c.value[1];break;case"right":V+=c.value[1];break}return A.x+=V,A.y+=I,A.width=Math.min(A.width,l.value),A.height=Math.min(A.height,u.value),{overflows:Li(A,w),x:V,y:I}}let E=0,_=0;const y={x:0,y:0},x={x:!1,y:!1};let L=-1;for(;!(L++>10);){const{x:T,y:A,overflows:D}=R(C);E+=T,_+=A,h.x+=T,h.y+=A;{const S=Fi(C.anchor),V=D.x.before||D.x.after,I=D.y.before||D.y.after;let $=!1;if(["x","y"].forEach(P=>{if(P==="x"&&V&&!x.x||P==="y"&&I&&!x.y){const O={anchor:{...C.anchor},origin:{...C.origin}},B=P==="x"?S==="y"?Vo:qo:S==="y"?qo:Vo;O.anchor=B(O.anchor),O.origin=B(O.origin);const{overflows:U}=R(O);(U[P].before<=D[P].before&&U[P].after<=D[P].after||U[P].before+U[P].after<(D[P].before+D[P].after)/2)&&(C=O,$=x[P]=!0)}}),$)continue}D.x.before&&(E+=D.x.before,h.x+=D.x.before),D.x.after&&(E-=D.x.after,h.x-=D.x.after),D.y.before&&(_+=D.y.before,h.y+=D.y.before),D.y.after&&(_-=D.y.after,h.y-=D.y.after);{const S=Li(h,w);y.x=w.width-S.x.before-S.x.after,y.y=w.height-S.y.before-S.y.after,E+=S.x.before,h.x+=S.x.before,_+=S.y.before,h.y+=S.y.before}break}const F=Fi(C.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${C.anchor.side} ${C.anchor.align}`,transformOrigin:`${C.origin.side} ${C.origin.align}`,top:ge(ss(_)),left:t.isRtl.value?void 0:ge(ss(E)),right:t.isRtl.value?ge(ss(-E)):void 0,minWidth:ge(F==="y"?Math.min(i.value,m.width):i.value),maxWidth:ge(Za(Ht(y.x,i.value===1/0?0:i.value,l.value))),maxHeight:ge(Za(Ht(y.y,a.value===1/0?0:a.value,u.value)))}),{available:y,contentBox:h}}return Q(()=>[o.value,s.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight],()=>p()),De(()=>{const m=p();if(!m)return;const{available:h,contentBox:v}=m;v.height>h.y&&requestAnimationFrame(()=>{p(),requestAnimationFrame(()=>{p()})})}),{updateLocation:p}}function ss(t){return Math.round(t*devicePixelRatio)/devicePixelRatio}function Za(t){return Math.ceil(t*devicePixelRatio)/devicePixelRatio}let Fs=!0;const ao=[];function m9(t){!Fs||ao.length?(ao.push(t),Ls()):(Fs=!1,t(),Ls())}let Ka=-1;function Ls(){cancelAnimationFrame(Ka),Ka=requestAnimationFrame(()=>{const t=ao.shift();t&&t(),ao.length?Ls():Fs=!0})}const Wr={none:null,close:y9,block:b9,reposition:k9},v9=K({scrollStrategy:{type:[String,Function],default:"block",validator:t=>typeof t=="function"||t in Wr}},"VOverlay-scroll-strategies");function g9(t,e){if(!Lt)return;let n;Rn(async()=>{n==null||n.stop(),e.isActive.value&&t.scrollStrategy&&(n=ol(),await De(),n.active&&n.run(()=>{var r;typeof t.scrollStrategy=="function"?t.scrollStrategy(e,t,n):(r=Wr[t.scrollStrategy])==null||r.call(Wr,e,t,n)}))}),Ke(()=>{n==null||n.stop()})}function y9(t){function e(n){t.isActive.value=!1}Mc(t.targetEl.value??t.contentEl.value,e)}function b9(t,e){var i;const n=(i=t.root.value)==null?void 0:i.offsetParent,r=[...new Set([...Yr(t.targetEl.value,e.contained?n:void 0),...Yr(t.contentEl.value,e.contained?n:void 0)])].filter(a=>!a.classList.contains("v-overlay-scroll-blocked")),o=window.innerWidth-document.documentElement.offsetWidth,s=(a=>Hs(a)&&a)(n||document.documentElement);s&&t.root.value.classList.add("v-overlay--scroll-blocked"),r.forEach((a,l)=>{a.style.setProperty("--v-body-scroll-x",ge(-a.scrollLeft)),a.style.setProperty("--v-body-scroll-y",ge(-a.scrollTop)),a!==document.documentElement&&a.style.setProperty("--v-scrollbar-offset",ge(o)),a.classList.add("v-overlay-scroll-blocked")}),Ke(()=>{r.forEach((a,l)=>{const u=parseFloat(a.style.getPropertyValue("--v-body-scroll-x")),c=parseFloat(a.style.getPropertyValue("--v-body-scroll-y"));a.style.removeProperty("--v-body-scroll-x"),a.style.removeProperty("--v-body-scroll-y"),a.style.removeProperty("--v-scrollbar-offset"),a.classList.remove("v-overlay-scroll-blocked"),a.scrollLeft=-u,a.scrollTop=-c}),s&&t.root.value.classList.remove("v-overlay--scroll-blocked")})}function k9(t,e,n){let r=!1,o=-1,s=-1;function i(a){m9(()=>{var c,d;const l=performance.now();(d=(c=t.updateLocation).value)==null||d.call(c,a),r=(performance.now()-l)/(1e3/60)>2})}s=(typeof requestIdleCallback>"u"?a=>a():requestIdleCallback)(()=>{n.run(()=>{Mc(t.targetEl.value??t.contentEl.value,a=>{r?(cancelAnimationFrame(o),o=requestAnimationFrame(()=>{o=requestAnimationFrame(()=>{i(a)})})):i(a)})})}),Ke(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(s),cancelAnimationFrame(o)})}function Mc(t,e){const n=[document,...Yr(t)];n.forEach(r=>{r.addEventListener("scroll",e,{passive:!0})}),Ke(()=>{n.forEach(r=>{r.removeEventListener("scroll",e)})})}const Is=Symbol.for("vuetify:v-menu"),x9=K({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function w9(t,e){const n={},r=o=>()=>{if(!Lt)return Promise.resolve(!0);const s=o==="openDelay";return n.closeDelay&&window.clearTimeout(n.closeDelay),delete n.closeDelay,n.openDelay&&window.clearTimeout(n.openDelay),delete n.openDelay,new Promise(i=>{const a=parseInt(t[o]??0,10);n[o]=window.setTimeout(()=>{e==null||e(s),i(s)},a)})};return{runCloseDelay:r("closeDelay"),runOpenDelay:r("openDelay")}}const _9=K({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...x9()},"VOverlay-activator");function C9(t,e){let{isActive:n,isTop:r}=e;const o=Vn("useActivator"),s=Z();let i=!1,a=!1,l=!0;const u=q(()=>t.openOnFocus||t.openOnFocus==null&&t.openOnHover),c=q(()=>t.openOnClick||t.openOnClick==null&&!t.openOnHover&&!u.value),{runOpenDelay:d,runCloseDelay:f}=w9(t,y=>{y===(t.openOnHover&&i||u.value&&a)&&!(t.openOnHover&&n.value&&!r.value)&&(n.value!==y&&(l=!0),n.value=y)}),p=Z(),m={onClick:y=>{y.stopPropagation(),s.value=y.currentTarget||y.target,n.value||(p.value=[y.clientX,y.clientY]),n.value=!n.value},onMouseenter:y=>{var x;(x=y.sourceCapabilities)!=null&&x.firesTouchEvents||(i=!0,s.value=y.currentTarget||y.target,d())},onMouseleave:y=>{i=!1,f()},onFocus:y=>{Zr(y.target,":focus-visible")!==!1&&(a=!0,y.stopPropagation(),s.value=y.currentTarget||y.target,d())},onBlur:y=>{a=!1,y.stopPropagation(),f()}},h=q(()=>{const y={};return c.value&&(y.onClick=m.onClick),t.openOnHover&&(y.onMouseenter=m.onMouseenter,y.onMouseleave=m.onMouseleave),u.value&&(y.onFocus=m.onFocus,y.onBlur=m.onBlur),y}),v=q(()=>{const y={};if(t.openOnHover&&(y.onMouseenter=()=>{i=!0,d()},y.onMouseleave=()=>{i=!1,f()}),u.value&&(y.onFocusin=()=>{a=!0,d()},y.onFocusout=()=>{a=!1,f()}),t.closeOnContentClick){const x=ye(Is,null);y.onClick=()=>{n.value=!1,x==null||x.closeParents()}}return y}),b=q(()=>{const y={};return t.openOnHover&&(y.onMouseenter=()=>{l&&(i=!0,l=!1,d())},y.onMouseleave=()=>{i=!1,f()}),y});Q(r,y=>{y&&(t.openOnHover&&!i&&(!u.value||!a)||u.value&&!a&&(!t.openOnHover||!i))&&(n.value=!1)}),Q(n,y=>{y||setTimeout(()=>{p.value=void 0})},{flush:"post"});const w=Z();Rn(()=>{w.value&&De(()=>{s.value=Si(w.value)})});const C=Z(),R=q(()=>t.target==="cursor"&&p.value?p.value:C.value?Si(C.value):Uc(t.target,o)||s.value),E=q(()=>Array.isArray(R.value)?void 0:R.value);let _;return Q(()=>!!t.activator,y=>{y&&Lt?(_=ol(),_.run(()=>{S9(t,o,{activatorEl:s,activatorEvents:h})})):_&&_.stop()},{flush:"post",immediate:!0}),Ke(()=>{_==null||_.stop()}),{activatorEl:s,activatorRef:w,target:R,targetEl:E,targetRef:C,activatorEvents:h,contentEvents:v,scrimEvents:b}}function S9(t,e,n){let{activatorEl:r,activatorEvents:o}=n;Q(()=>t.activator,(l,u)=>{if(u&&l!==u){const c=a(u);c&&i(c)}l&&De(()=>s())},{immediate:!0}),Q(()=>t.activatorProps,()=>{s()}),Ke(()=>{i()});function s(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a(),u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.activatorProps;l&&Du(l,se(o.value,u))}function i(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a(),u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.activatorProps;l&&Ru(l,se(o.value,u))}function a(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t.activator;const u=Uc(l,e);return r.value=(u==null?void 0:u.nodeType)===Node.ELEMENT_NODE?u:void 0,r.value}}function Uc(t,e){var r,o;if(!t)return;let n;if(t==="parent"){let s=(o=(r=e==null?void 0:e.proxy)==null?void 0:r.$el)==null?void 0:o.parentNode;for(;s!=null&&s.hasAttribute("data-no-activator");)s=s.parentNode;n=s}else typeof t=="string"?n=document.querySelector(t):"$el"in t?n=t.$el:n=t;return n}function A9(){if(!Lt)return oe(!1);const{ssr:t}=sl();if(t){const e=oe(!1);return Ge(()=>{e.value=!0}),e}else return oe(!0)}const E9=K({eager:Boolean},"lazy");function T9(t,e){const n=oe(!1),r=q(()=>n.value||t.eager||e.value);Q(e,()=>n.value=!0);function o(){t.eager||(n.value=!1)}return{isBooted:n,hasContent:r,onAfterLeave:o}}function jc(){const e=Vn("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const Ja=Symbol.for("vuetify:stack"),Qn=Bs([]);function D9(t,e,n){const r=Vn("useStack"),o=!n,s=ye(Ja,void 0),i=Bs({activeChildren:new Set});Fe(Ja,i);const a=oe(+e.value);Dn(t,()=>{var d;const c=(d=Qn.at(-1))==null?void 0:d[1];a.value=c?c+10:+e.value,o&&Qn.push([r.uid,a.value]),s==null||s.activeChildren.add(r.uid),Ke(()=>{if(o){const f=mn(Qn).findIndex(p=>p[0]===r.uid);Qn.splice(f,1)}s==null||s.activeChildren.delete(r.uid)})});const l=oe(!0);o&&Rn(()=>{var d;const c=((d=Qn.at(-1))==null?void 0:d[0])===r.uid;setTimeout(()=>l.value=c)});const u=q(()=>!i.activeChildren.size);return{globalTop:uu(l),localTop:u,stackStyles:q(()=>({zIndex:a.value}))}}function R9(t){return{teleportTarget:q(()=>{const n=t.value;if(n===!0||!Lt)return;const r=n===!1?document.body:typeof n=="string"?document.querySelector(n):n;if(r==null)return;let o=r.querySelector(":scope > .v-overlay-container");return o||(o=document.createElement("div"),o.className="v-overlay-container",r.appendChild(o)),o})}}function F9(){return!0}function Hc(t,e,n){if(!t||Gc(t,n)===!1)return!1;const r=pl(e);if(typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&r.host===t.target)return!1;const o=(typeof n.value=="object"&&n.value.include||(()=>[]))();return o.push(e),!o.some(s=>s==null?void 0:s.contains(t.target))}function Gc(t,e){return(typeof e.value=="object"&&e.value.closeConditional||F9)(t)}function L9(t,e,n){const r=typeof n.value=="function"?n.value:n.value.handler;e._clickOutside.lastMousedownWasOutside&&Hc(t,e,n)&&setTimeout(()=>{Gc(t,n)&&r&&r(t)},0)}function Ya(t,e){const n=pl(t);e(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&e(n)}const I9={mounted(t,e){const n=o=>L9(o,t,e),r=o=>{t._clickOutside.lastMousedownWasOutside=Hc(o,t,e)};Ya(t,o=>{o.addEventListener("click",n,!0),o.addEventListener("mousedown",r,!0)}),t._clickOutside||(t._clickOutside={lastMousedownWasOutside:!1}),t._clickOutside[e.instance.$.uid]={onClick:n,onMousedown:r}},unmounted(t,e){t._clickOutside&&(Ya(t,n=>{var s;if(!n||!((s=t._clickOutside)!=null&&s[e.instance.$.uid]))return;const{onClick:r,onMousedown:o}=t._clickOutside[e.instance.$.uid];n.removeEventListener("click",r,!0),n.removeEventListener("mousedown",o,!0)}),delete t._clickOutside[e.instance.$.uid])}};function P9(t){const{modelValue:e,color:n,...r}=t;return g(Tn,{name:"fade-transition",appear:!0},{default:()=>[t.modelValue&&g("div",se({class:["v-overlay__scrim",t.color.backgroundColorClasses.value],style:t.color.backgroundColorStyles.value},r),null)]})}const Wc=K({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},..._9(),...be(),...mo(),...E9(),...u9(),...v9(),...Ft(),...wr()},"VOverlay"),Xa=ae()({name:"VOverlay",directives:{ClickOutside:I9},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...Wc()},emits:{"click:outside":t=>!0,"update:modelValue":t=>!0,afterLeave:()=>!0},setup(t,e){let{slots:n,attrs:r,emit:o}=e;const s=Ee(t,"modelValue"),i=q({get:()=>s.value,set:j=>{j&&t.disabled||(s.value=j)}}),{teleportTarget:a}=R9(q(()=>t.attach||t.contained)),{themeClasses:l}=pn(t),{rtlClasses:u,isRtl:c}=dn(),{hasContent:d,onAfterLeave:f}=T9(t,i),p=Fn(q(()=>typeof t.scrim=="string"?t.scrim:null)),{globalTop:m,localTop:h,stackStyles:v}=D9(i,Y(t,"zIndex"),t._disableGlobalStack),{activatorEl:b,activatorRef:w,target:C,targetEl:R,targetRef:E,activatorEvents:_,contentEvents:y,scrimEvents:x}=C9(t,{isActive:i,isTop:h}),{dimensionStyles:L}=vo(t),F=A9(),{scopeId:T}=jc();Q(()=>t.disabled,j=>{j&&(i.value=!1)});const A=Z(),D=Z(),{contentStyles:S,updateLocation:V}=d9(t,{isRtl:c,contentEl:D,target:C,isActive:i});g9(t,{root:A,contentEl:D,targetEl:R,isActive:i,updateLocation:V});function I(j){o("click:outside",j),t.persistent?U():i.value=!1}function $(){return i.value&&m.value}Lt&&Q(i,j=>{j?window.addEventListener("keydown",P):window.removeEventListener("keydown",P)},{immediate:!0});function P(j){var H,X;j.key==="Escape"&&m.value&&(t.persistent?U():(i.value=!1,(H=D.value)!=null&&H.contains(document.activeElement)&&((X=b.value)==null||X.focus())))}const O=_u();Dn(()=>t.closeOnBack,()=>{Cu(O,j=>{m.value&&i.value?(j(!1),t.persistent?U():i.value=!1):j()})});const B=Z();Q(()=>i.value&&(t.absolute||t.contained)&&a.value==null,j=>{if(j){const H=ml(A.value);H&&H!==document.scrollingElement&&(B.value=H.scrollTop)}});function U(){t.noClickAnimation||D.value&&kn(D.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Jr})}return de(()=>{var j;return g(pe,null,[(j=n.activator)==null?void 0:j.call(n,{isActive:i.value,props:se({ref:w,targetRef:E},_.value,t.activatorProps)}),F.value&&d.value&&g(du,{disabled:!a.value,to:a.value},{default:()=>[g("div",se({class:["v-overlay",{"v-overlay--absolute":t.absolute||t.contained,"v-overlay--active":i.value,"v-overlay--contained":t.contained},l.value,u.value,t.class],style:[v.value,{top:ge(B.value)},t.style],ref:A},T,r),[g(P9,se({color:p,modelValue:i.value&&!!t.scrim},x.value),null),g(Ut,{appear:!0,persisted:!0,transition:t.transition,target:C.value,onAfterLeave:()=>{f(),o("afterLeave")}},{default:()=>{var H;return[Pe(g("div",se({ref:D,class:["v-overlay__content",t.contentClass],style:[L.value,S.value]},y.value,t.contentProps),[(H=n.default)==null?void 0:H.call(n,{isActive:i})]),[[fn,i.value],[Zt("click-outside"),{handler:I,closeConditional:$,include:()=>[b.value]}]])]}})])]})])}),{activatorEl:b,target:C,animateClick:U,contentEl:D,globalTop:m,localTop:h,updateLocation:V}}}),is=Symbol("Forwarded refs");function as(t,e){let n=t;for(;n;){const r=Reflect.getOwnPropertyDescriptor(n,e);if(r)return r;n=Object.getPrototypeOf(n)}}function Lo(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t[is]=n,new Proxy(t,{get(o,s){if(Reflect.has(o,s))return Reflect.get(o,s);if(!(typeof s=="symbol"||s.startsWith("$")||s.startsWith("__"))){for(const i of n)if(i.value&&Reflect.has(i.value,s)){const a=Reflect.get(i.value,s);return typeof a=="function"?a.bind(i.value):a}}},has(o,s){if(Reflect.has(o,s))return!0;if(typeof s=="symbol"||s.startsWith("$")||s.startsWith("__"))return!1;for(const i of n)if(i.value&&Reflect.has(i.value,s))return!0;return!1},set(o,s,i){if(Reflect.has(o,s))return Reflect.set(o,s,i);if(typeof s=="symbol"||s.startsWith("$")||s.startsWith("__"))return!1;for(const a of n)if(a.value&&Reflect.has(a.value,s))return Reflect.set(a.value,s,i);return!1},getOwnPropertyDescriptor(o,s){var a;const i=Reflect.getOwnPropertyDescriptor(o,s);if(i)return i;if(!(typeof s=="symbol"||s.startsWith("$")||s.startsWith("__"))){for(const l of n){if(!l.value)continue;const u=as(l.value,s)??("_"in l.value?as((a=l.value._)==null?void 0:a.setupState,s):void 0);if(u)return u}for(const l of n){const u=l.value&&l.value[is];if(!u)continue;const c=u.slice();for(;c.length;){const d=c.shift(),f=as(d.value,s);if(f)return f;const p=d.value&&d.value[is];p&&c.push(...p)}}}}})}const q9=K({id:String,...qn(Wc({closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:xc}}),["absolute"])},"VMenu"),V9=ae()({name:"VMenu",props:q9(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n}=e;const r=Ee(t,"modelValue"),{scopeId:o}=jc(),s=Wt(),i=q(()=>t.id||`v-menu-${s}`),a=Z(),l=ye(Is,null),u=oe(0);Fe(Is,{register(){++u.value},unregister(){--u.value},closeParents(){setTimeout(()=>{u.value||(r.value=!1,l==null||l.closeParents())},40)}});async function c(h){var w,C,R;const v=h.relatedTarget,b=h.target;await De(),r.value&&v!==b&&((w=a.value)!=null&&w.contentEl)&&((C=a.value)!=null&&C.globalTop)&&![document,a.value.contentEl].includes(b)&&!a.value.contentEl.contains(b)&&((R=Ai(a.value.contentEl)[0])==null||R.focus())}Q(r,h=>{h?(l==null||l.register(),document.addEventListener("focusin",c,{once:!0})):(l==null||l.unregister(),document.removeEventListener("focusin",c))});function d(){l==null||l.closeParents()}function f(h){var v,b,w;t.disabled||h.key==="Tab"&&(fu(Ai((v=a.value)==null?void 0:v.contentEl,!1),h.shiftKey?"prev":"next",R=>R.tabIndex>=0)||(r.value=!1,(w=(b=a.value)==null?void 0:b.activatorEl)==null||w.focus()))}function p(h){var b;if(t.disabled)return;const v=(b=a.value)==null?void 0:b.contentEl;v&&r.value?h.key==="ArrowDown"?(h.preventDefault(),us(v,"next")):h.key==="ArrowUp"&&(h.preventDefault(),us(v,"prev")):["ArrowDown","ArrowUp"].includes(h.key)&&(r.value=!0,h.preventDefault(),setTimeout(()=>setTimeout(()=>p(h))))}const m=q(()=>se({"aria-haspopup":"menu","aria-expanded":String(r.value),"aria-owns":i.value,onKeydown:p},t.activatorProps));return de(()=>{const h=Xa.filterProps(t);return g(Xa,se({ref:a,class:["v-menu",t.class],style:t.style},h,{modelValue:r.value,"onUpdate:modelValue":v=>r.value=v,absolute:!0,activatorProps:m.value,"onClick:outside":d,onKeydown:f},o),{activator:n.activator,default:function(){for(var v=arguments.length,b=new Array(v),w=0;w<v;w++)b[w]=arguments[w];return g(Tt,{root:"VMenu"},{default:()=>{var C;return[(C=n.default)==null?void 0:C.call(n,...b)]}})}})}),Lo({id:i,ΨopenChildren:u},a)}});const O9=K({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...be(),...wr({transition:{component:wc}})},"VCounter"),Zc=ae()({name:"VCounter",functional:!0,props:O9(),setup(t,e){let{slots:n}=e;const r=q(()=>t.max?`${t.value} / ${t.max}`:String(t.value));return de(()=>g(Ut,{transition:t.transition},{default:()=>[Pe(g("div",{class:["v-counter",t.class],style:t.style},[n.default?n.default({counter:r.value,max:t.max,value:t.value}):r.value]),[[fn,t.active]])]})),{}}});const z9=K({floating:Boolean,...be()},"VFieldLabel"),qr=ae()({name:"VFieldLabel",props:z9(),setup(t,e){let{slots:n}=e;return de(()=>g(xr,{class:["v-field-label",{"v-field-label--floating":t.floating},t.class],style:t.style,"aria-hidden":t.floating||void 0},n)),{}}}),B9=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],ki=K({appendInnerIcon:ke,bgColor:String,clearable:Boolean,clearIcon:{type:ke,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:ke,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:t=>B9.includes(t)},"onClick:clear":vt(),"onClick:appendInner":vt(),"onClick:prependInner":vt(),...be(),...Su(),...Bn(),...Ft()},"VField"),xi=ae()({name:"VField",inheritAttrs:!1,props:{id:String,...Fo(),...ki()},emits:{"update:focused":t=>!0,"update:modelValue":t=>!0},setup(t,e){let{attrs:n,emit:r,slots:o}=e;const{themeClasses:s}=pn(t),{loaderClasses:i}=Au(t),{focusClasses:a,isFocused:l,focus:u,blur:c}=_r(t),{InputIcon:d}=yc(t),{roundedClasses:f}=Nn(t),{rtlClasses:p}=dn(),m=q(()=>t.dirty||t.active),h=q(()=>!t.singleLine&&!!(t.label||o.label)),v=Wt(),b=q(()=>t.id||`input-${v}`),w=q(()=>`${b.value}-messages`),C=Z(),R=Z(),E=Z(),_=q(()=>["plain","underlined"].includes(t.variant)),{backgroundColorClasses:y,backgroundColorStyles:x}=Fn(Y(t,"bgColor")),{textColorClasses:L,textColorStyles:F}=pr(q(()=>t.error||t.disabled?void 0:m.value&&l.value?t.color:t.baseColor));Q(m,D=>{if(h.value){const S=C.value.$el,V=R.value.$el;requestAnimationFrame(()=>{const I=js(S),$=V.getBoundingClientRect(),P=$.x-I.x,O=$.y-I.y-(I.height/2-$.height/2),B=$.width/.75,U=Math.abs(B-I.width)>1?{maxWidth:ge(B)}:void 0,j=getComputedStyle(S),H=getComputedStyle(V),X=parseFloat(j.transitionDuration)*1e3||150,te=parseFloat(H.getPropertyValue("--v-field-label-scale")),M=H.getPropertyValue("color");S.style.visibility="visible",V.style.visibility="hidden",kn(S,{transform:`translate(${P}px, ${O}px) scale(${te})`,color:M,...U},{duration:X,easing:Jr,direction:D?"normal":"reverse"}).finished.then(()=>{S.style.removeProperty("visibility"),V.style.removeProperty("visibility")})})}},{flush:"post"});const T=q(()=>({isActive:m,isFocused:l,controlRef:E,blur:c,focus:u}));function A(D){D.target!==document.activeElement&&D.preventDefault()}return de(()=>{var P,O,B;const D=t.variant==="outlined",S=o["prepend-inner"]||t.prependInnerIcon,V=!!(t.clearable||o.clear),I=!!(o["append-inner"]||t.appendInnerIcon||V),$=()=>o.label?o.label({...T.value,label:t.label,props:{for:b.value}}):t.label;return g("div",se({class:["v-field",{"v-field--active":m.value,"v-field--appended":I,"v-field--center-affix":t.centerAffix??!_.value,"v-field--disabled":t.disabled,"v-field--dirty":t.dirty,"v-field--error":t.error,"v-field--flat":t.flat,"v-field--has-background":!!t.bgColor,"v-field--persistent-clear":t.persistentClear,"v-field--prepended":S,"v-field--reverse":t.reverse,"v-field--single-line":t.singleLine,"v-field--no-label":!$(),[`v-field--variant-${t.variant}`]:!0},s.value,y.value,a.value,i.value,f.value,p.value,t.class],style:[x.value,t.style],onClick:A},n),[g("div",{class:"v-field__overlay"},null),g(Eu,{name:"v-field",active:!!t.loading,color:t.error?"error":typeof t.loading=="string"?t.loading:t.color},{default:o.loader}),S&&g("div",{key:"prepend",class:"v-field__prepend-inner"},[t.prependInnerIcon&&g(d,{key:"prepend-icon",name:"prependInner"},null),(P=o["prepend-inner"])==null?void 0:P.call(o,T.value)]),g("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(t.variant)&&h.value&&g(qr,{key:"floating-label",ref:R,class:[L.value],floating:!0,for:b.value,style:F.value},{default:()=>[$()]}),g(qr,{ref:C,for:b.value},{default:()=>[$()]}),(O=o.default)==null?void 0:O.call(o,{...T.value,props:{id:b.value,class:"v-field__input","aria-describedby":w.value},focus:u,blur:c})]),V&&g(_c,{key:"clear"},{default:()=>[Pe(g("div",{class:"v-field__clearable",onMousedown:U=>{U.preventDefault(),U.stopPropagation()}},[o.clear?o.clear():g(d,{name:"clear"},null)]),[[fn,t.dirty]])]}),I&&g("div",{key:"append",class:"v-field__append-inner"},[(B=o["append-inner"])==null?void 0:B.call(o,T.value),t.appendInnerIcon&&g(d,{key:"append-icon",name:"appendInner"},null)]),g("div",{class:["v-field__outline",L.value],style:F.value},[D&&g(pe,null,[g("div",{class:"v-field__outline__start"},null),h.value&&g("div",{class:"v-field__outline__notch"},[g(qr,{ref:R,floating:!0,for:b.value},{default:()=>[$()]})]),g("div",{class:"v-field__outline__end"},null)]),_.value&&h.value&&g(qr,{ref:R,floating:!0,for:b.value},{default:()=>[$()]})])])}),{controlRef:E}}});function Kc(t){const e=Object.keys(xi.props).filter(n=>!Ps(n)&&n!=="class"&&n!=="style");return hu(t,e)}const N9=["color","file","time","date","datetime-local","week","month"],Jc=K({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...Gn(),...ki()},"VTextField"),at=ae()({name:"VTextField",directives:{Intersect:yi},inheritAttrs:!1,props:Jc(),emits:{"click:control":t=>!0,"mousedown:control":t=>!0,"update:focused":t=>!0,"update:modelValue":t=>!0},setup(t,e){let{attrs:n,emit:r,slots:o}=e;const s=Ee(t,"modelValue"),{isFocused:i,focus:a,blur:l}=_r(t),u=q(()=>typeof t.counterValue=="function"?t.counterValue(s.value):typeof t.counterValue=="number"?t.counterValue:(s.value??"").toString().length),c=q(()=>{if(n.maxlength)return n.maxlength;if(!(!t.counter||typeof t.counter!="number"&&typeof t.counter!="string"))return t.counter}),d=q(()=>["plain","underlined"].includes(t.variant));function f(_,y){var x,L;!t.autofocus||!_||(L=(x=y[0].target)==null?void 0:x.focus)==null||L.call(x)}const p=Z(),m=Z(),h=Z(),v=q(()=>N9.includes(t.type)||t.persistentPlaceholder||i.value||t.active);function b(){var _;h.value!==document.activeElement&&((_=h.value)==null||_.focus()),i.value||a()}function w(_){r("mousedown:control",_),_.target!==h.value&&(b(),_.preventDefault())}function C(_){b(),r("click:control",_)}function R(_){_.stopPropagation(),b(),De(()=>{s.value=null,il(t["onClick:clear"],_)})}function E(_){var x;const y=_.target;if(s.value=y.value,(x=t.modelModifiers)!=null&&x.trim&&["text","search","password","tel","url"].includes(t.type)){const L=[y.selectionStart,y.selectionEnd];De(()=>{y.selectionStart=L[0],y.selectionEnd=L[1]})}}return de(()=>{const _=!!(o.counter||t.counter!==!1&&t.counter!=null),y=!!(_||o.details),[x,L]=uo(n),{modelValue:F,...T}=bt.filterProps(t),A=Kc(t);return g(bt,se({ref:p,modelValue:s.value,"onUpdate:modelValue":D=>s.value=D,class:["v-text-field",{"v-text-field--prefixed":t.prefix,"v-text-field--suffixed":t.suffix,"v-input--plain-underlined":d.value},t.class],style:t.style},x,T,{centerAffix:!d.value,focused:i.value}),{...o,default:D=>{let{id:S,isDisabled:V,isDirty:I,isReadonly:$,isValid:P}=D;return g(xi,se({ref:m,onMousedown:w,onClick:C,"onClick:clear":R,"onClick:prependInner":t["onClick:prependInner"],"onClick:appendInner":t["onClick:appendInner"],role:t.role},A,{id:S.value,active:v.value||I.value,dirty:I.value||t.dirty,disabled:V.value,focused:i.value,error:P.value===!1}),{...o,default:O=>{let{props:{class:B,...U}}=O;const j=Pe(g("input",se({ref:h,value:s.value,onInput:E,autofocus:t.autofocus,readonly:$.value,disabled:V.value,name:t.name,placeholder:t.placeholder,size:1,type:t.type,onFocus:b,onBlur:l},U,L),null),[[Zt("intersect"),{handler:f},null,{once:!0}]]);return g(pe,null,[t.prefix&&g("span",{class:"v-text-field__prefix"},[g("span",{class:"v-text-field__prefix__text"},[t.prefix])]),o.default?g("div",{class:B,"data-no-activator":""},[o.default(),j]):pu(j,{class:B}),t.suffix&&g("span",{class:"v-text-field__suffix"},[g("span",{class:"v-text-field__suffix__text"},[t.suffix])])])}})},details:y?D=>{var S;return g(pe,null,[(S=o.details)==null?void 0:S.call(o,D),_&&g(pe,null,[g("span",null,null),g(Zc,{active:t.persistentCounter||i.value,value:u.value,max:c.value},o.counter)])])}:void 0})}),Lo({},p,m,h)}});const $9=K({renderless:Boolean,...be()},"VVirtualScrollItem"),M9=ae()({name:"VVirtualScrollItem",inheritAttrs:!1,props:$9(),emits:{"update:height":t=>!0},setup(t,e){let{attrs:n,emit:r,slots:o}=e;const{resizeRef:s,contentRect:i}=al(void 0,"border");Q(()=>{var a;return(a=i.value)==null?void 0:a.height},a=>{a!=null&&r("update:height",a)}),de(()=>{var a,l;return t.renderless?g(pe,null,[(a=o.default)==null?void 0:a.call(o,{itemRef:s})]):g("div",se({ref:s,class:["v-virtual-scroll__item",t.class],style:t.style},n),[(l=o.default)==null?void 0:l.call(o)])})}}),U9=-1,j9=1,ls=100,H9=K({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function G9(t,e){const n=sl(),r=oe(0);Rn(()=>{r.value=parseFloat(t.itemHeight||0)});const o=oe(0),s=oe(Math.ceil((parseInt(t.height)||n.height.value)/(r.value||16))||1),i=oe(0),a=oe(0),l=Z(),u=Z();let c=0;const{resizeRef:d,contentRect:f}=al();Rn(()=>{d.value=l.value});const p=q(()=>{var O;return l.value===document.documentElement?n.height.value:((O=f.value)==null?void 0:O.height)||parseInt(t.height)||0}),m=q(()=>!!(l.value&&u.value&&p.value&&r.value));let h=Array.from({length:e.value.length}),v=Array.from({length:e.value.length});const b=oe(0);let w=-1;function C(O){return h[O]||r.value}const R=mu(()=>{const O=performance.now();v[0]=0;const B=e.value.length;for(let U=1;U<=B-1;U++)v[U]=(v[U-1]||0)+C(U-1);b.value=Math.max(b.value,performance.now()-O)},b),E=Q(m,O=>{O&&(E(),c=u.value.offsetTop,R.immediate(),V(),~w&&De(()=>{Lt&&window.requestAnimationFrame(()=>{$(w),w=-1})}))});Q(p,(O,B)=>{B&&V()}),Ke(()=>{R.clear()});function _(O,B){const U=h[O],j=r.value;r.value=j?Math.min(r.value,B):B,(U!==B||j!==r.value)&&(h[O]=B,R())}function y(O){return O=Ht(O,0,e.value.length-1),v[O]||0}function x(O){return W9(v,O)}let L=0,F=0,T=0;function A(){if(!l.value||!u.value)return;const O=l.value.scrollTop,B=performance.now();B-T>500?(F=Math.sign(O-L),c=u.value.offsetTop):F=O-L,L=O,T=B,V()}function D(){!l.value||!u.value||(F=0,T=0,V())}let S=-1;function V(){cancelAnimationFrame(S),S=requestAnimationFrame(I)}function I(){if(!l.value||!p.value)return;const O=L-c,B=Math.sign(F),U=Math.max(0,O-ls),j=Ht(x(U),0,e.value.length),H=O+p.value+ls,X=Ht(x(H)+1,j+1,e.value.length);if((B!==U9||j<o.value)&&(B!==j9||X>s.value)){const te=y(o.value)-y(j),M=y(X)-y(s.value);Math.max(te,M)>ls?(o.value=j,s.value=X):(j<=0&&(o.value=j),X>=e.value.length&&(s.value=X))}i.value=y(o.value),a.value=y(e.value.length)-y(s.value)}function $(O){const B=y(O);!l.value||O&&!B?w=O:l.value.scrollTop=B}const P=q(()=>e.value.slice(o.value,s.value).map((O,B)=>({raw:O,index:B+o.value})));return Q(e,()=>{h=Array.from({length:e.value.length}),v=Array.from({length:e.value.length}),R.immediate(),V()},{deep:!0}),{containerRef:l,markerRef:u,computedItems:P,paddingTop:i,paddingBottom:a,scrollToIndex:$,handleScroll:A,handleScrollend:D,handleItemResize:_}}function W9(t,e){let n=t.length-1,r=0,o=0,s=null,i=-1;if(t[n]<e)return n;for(;r<=n;)if(o=r+n>>1,s=t[o],s>e)n=o-1;else if(s<e)i=o,r=o+1;else return s===e?o:r;return i}const Z9=K({items:{type:Array,default:()=>[]},renderless:Boolean,...H9(),...be(),...mo()},"VVirtualScroll"),K9=ae()({name:"VVirtualScroll",props:Z9(),setup(t,e){let{slots:n}=e;const r=Vn("VVirtualScroll"),{dimensionStyles:o}=vo(t),{containerRef:s,markerRef:i,handleScroll:a,handleScrollend:l,handleItemResize:u,scrollToIndex:c,paddingTop:d,paddingBottom:f,computedItems:p}=G9(t,Y(t,"items"));return Dn(()=>t.renderless,()=>{function m(){var b,w;const v=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)?"addEventListener":"removeEventListener";s.value===document.documentElement?(document[v]("scroll",a,{passive:!0}),document[v]("scrollend",l)):((b=s.value)==null||b[v]("scroll",a,{passive:!0}),(w=s.value)==null||w[v]("scrollend",l))}Ge(()=>{s.value=ml(r.vnode.el,!0),m(!0)}),Ke(m)}),de(()=>{const m=p.value.map(h=>g(M9,{key:h.index,renderless:t.renderless,"onUpdate:height":v=>u(h.index,v)},{default:v=>{var b;return(b=n.default)==null?void 0:b.call(n,{item:h.raw,index:h.index,...v})}}));return t.renderless?g(pe,null,[g("div",{ref:i,class:"v-virtual-scroll__spacer",style:{paddingTop:ge(d.value)}},null),m,g("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:ge(f.value)}},null)]):g("div",{ref:s,class:["v-virtual-scroll",t.class],onScrollPassive:a,onScrollend:l,style:[o.value,t.style]},[g("div",{ref:i,class:"v-virtual-scroll__container",style:{paddingTop:ge(d.value),paddingBottom:ge(f.value)}},[m])])}),{scrollToIndex:c}}});function J9(t,e){const n=oe(!1);let r;function o(a){cancelAnimationFrame(r),n.value=!0,r=requestAnimationFrame(()=>{r=requestAnimationFrame(()=>{n.value=!1})})}async function s(){await new Promise(a=>requestAnimationFrame(a)),await new Promise(a=>requestAnimationFrame(a)),await new Promise(a=>requestAnimationFrame(a)),await new Promise(a=>{if(n.value){const l=Q(n,()=>{l(),a()})}else a()})}async function i(a){var c,d;if(a.key==="Tab"&&((c=e.value)==null||c.focus()),!["PageDown","PageUp","Home","End"].includes(a.key))return;const l=(d=t.value)==null?void 0:d.$el;if(!l)return;(a.key==="Home"||a.key==="End")&&l.scrollTo({top:a.key==="Home"?0:l.scrollHeight,behavior:"smooth"}),await s();const u=l.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(a.key==="PageDown"||a.key==="Home"){const f=l.getBoundingClientRect().top;for(const p of u)if(p.getBoundingClientRect().top>=f){p.focus();break}}else{const f=l.getBoundingClientRect().bottom;for(const p of[...u].reverse())if(p.getBoundingClientRect().bottom<=f){p.focus();break}}}return{onListScroll:o,onListKeydown:i}}const Y9=K({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:ke,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...zc({itemChildren:!1})},"Select"),X9=K({...Y9(),...qn(Jc({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...wr({transition:{component:xc}})},"VSelect"),Q9=ae()({name:"VSelect",props:X9(),emits:{"update:focused":t=>!0,"update:modelValue":t=>!0,"update:menu":t=>!0},setup(t,e){let{slots:n}=e;const{t:r}=zs(),o=Z(),s=Z(),i=Z(),a=Ee(t,"menu"),l=q({get:()=>a.value,set:P=>{var O;a.value&&!P&&((O=s.value)!=null&&O.ΨopenChildren)||(a.value=P)}}),{items:u,transformIn:c,transformOut:d}=r9(t),f=Ee(t,"modelValue",[],P=>c(P===null?[null]:jt(P)),P=>{const O=d(P);return t.multiple?O:O[0]??null}),p=q(()=>typeof t.counterValue=="function"?t.counterValue(f.value):typeof t.counterValue=="number"?t.counterValue:f.value.length),m=Cc(),h=q(()=>f.value.map(P=>P.value)),v=oe(!1),b=q(()=>l.value?t.closeText:t.openText);let w="",C;const R=q(()=>t.hideSelected?u.value.filter(P=>!f.value.some(O=>O===P)):u.value),E=q(()=>t.hideNoData&&!u.value.length||t.readonly||(m==null?void 0:m.isReadonly.value)),_=q(()=>{var P;return{...t.menuProps,activatorProps:{...((P=t.menuProps)==null?void 0:P.activatorProps)||{},"aria-haspopup":"listbox"}}}),y=Z(),{onListScroll:x,onListKeydown:L}=J9(y,o);function F(P){t.openOnClear&&(l.value=!0)}function T(){E.value||(l.value=!l.value)}function A(P){var H,X;if(!P.key||t.readonly||m!=null&&m.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(P.key)&&P.preventDefault(),["Enter","ArrowDown"," "].includes(P.key)&&(l.value=!0),["Escape","Tab"].includes(P.key)&&(l.value=!1),P.key==="Home"?(H=y.value)==null||H.focus("first"):P.key==="End"&&((X=y.value)==null||X.focus("last"));const O=1e3;function B(te){const M=te.key.length===1,ie=!te.ctrlKey&&!te.metaKey&&!te.altKey;return M&&ie}if(t.multiple||!B(P))return;const U=performance.now();U-C>O&&(w=""),w+=P.key.toLowerCase(),C=U;const j=u.value.find(te=>te.title.toLowerCase().startsWith(w));j!==void 0&&(f.value=[j])}function D(P){if(t.multiple){const O=f.value.findIndex(B=>t.valueComparator(B.value,P.value));if(O===-1)f.value=[...f.value,P];else{const B=[...f.value];B.splice(O,1),f.value=B}}else f.value=[P],l.value=!1}function S(P){var O;(O=y.value)!=null&&O.$el.contains(P.relatedTarget)||(l.value=!1)}function V(){var P;v.value&&((P=o.value)==null||P.focus())}function I(P){v.value=!0}function $(P){if(P==null)f.value=[];else if(Zr(o.value,":autofill")||Zr(o.value,":-webkit-autofill")){const O=u.value.find(B=>B.title===P);O&&D(O)}else o.value&&(o.value.value="")}return Q(l,()=>{if(!t.hideSelected&&l.value&&f.value.length){const P=R.value.findIndex(O=>f.value.some(B=>t.valueComparator(B.value,O.value)));Lt&&window.requestAnimationFrame(()=>{var O;P>=0&&((O=i.value)==null||O.scrollToIndex(P))})}}),de(()=>{const P=!!(t.chips||n.chip),O=!!(!t.hideNoData||R.value.length||n["prepend-item"]||n["append-item"]||n["no-data"]),B=f.value.length>0,U=at.filterProps(t),j=B||!v.value&&t.label&&!t.persistentPlaceholder?void 0:t.placeholder;return g(at,se({ref:o},U,{modelValue:f.value.map(H=>H.props.value).join(", "),"onUpdate:modelValue":$,focused:v.value,"onUpdate:focused":H=>v.value=H,validationValue:f.externalValue,counterValue:p.value,dirty:B,class:["v-select",{"v-select--active-menu":l.value,"v-select--chips":!!t.chips,[`v-select--${t.multiple?"multiple":"single"}`]:!0,"v-select--selected":f.value.length,"v-select--selection-slot":!!n.selection},t.class],style:t.style,inputmode:"none",placeholder:j,"onClick:clear":F,"onMousedown:control":T,onBlur:S,onKeydown:A,"aria-label":r(b.value),title:r(b.value)}),{...n,default:()=>g(pe,null,[g(V9,se({ref:s,modelValue:l.value,"onUpdate:modelValue":H=>l.value=H,activator:"parent",contentClass:"v-select__content",disabled:E.value,eager:t.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:t.transition,onAfterLeave:V},_.value),{default:()=>[O&&g(l9,{ref:y,selected:h.value,selectStrategy:t.multiple?"independent":"single-independent",onMousedown:H=>H.preventDefault(),onKeydown:L,onFocusin:I,onScrollPassive:x,tabindex:"-1",color:t.itemColor??t.color},{default:()=>{var H,X,te;return[(H=n["prepend-item"])==null?void 0:H.call(n),!R.value.length&&!t.hideNoData&&(((X=n["no-data"])==null?void 0:X.call(n))??g(io,{title:r(t.noDataText)},null)),g(K9,{ref:i,renderless:!0,items:R.value},{default:M=>{var It;let{item:ie,index:Oe,itemRef:Je}=M;const vn=se(ie.props,{ref:Je,key:Oe,onClick:()=>D(ie)});return((It=n.item)==null?void 0:It.call(n,{item:ie,index:Oe,props:vn}))??g(io,se(vn,{role:"option"}),{prepend:Kt=>{let{isSelected:Wn}=Kt;return g(pe,null,[t.multiple&&!t.hideSelected?g(L7,{key:ie.value,modelValue:Wn,ripple:!1,tabindex:"-1"},null):void 0,ie.props.prependIcon&&g(nt,{icon:ie.props.prependIcon},null)])}})}}),(te=n["append-item"])==null?void 0:te.call(n)]}})]}),f.value.map((H,X)=>{function te(Je){Je.stopPropagation(),Je.preventDefault(),D(H)}const M={"onClick:close":te,onMousedown(Je){Je.preventDefault(),Je.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},ie=P?!!n.chip:!!n.selection,Oe=ie?vu(P?n.chip({item:H,index:X,props:M}):n.selection({item:H,index:X})):void 0;if(!(ie&&!Oe))return g("div",{key:H.value,class:"v-select__selection"},[P?n.chip?g(Tt,{key:"chip-defaults",defaults:{VChip:{closable:t.closableChips,size:"small",text:H.title}}},{default:()=>[Oe]}):g(N7,se({key:"chip",closable:t.closableChips,size:"small",text:H.title,disabled:H.props.disabled},M),null):Oe??g("span",{class:"v-select__selection-text"},[H.title,t.multiple&&X<f.value.length-1&&g("span",{class:"v-select__selection-comma"},[Vr(",")])])])})]),"append-inner":function(){var M;for(var H=arguments.length,X=new Array(H),te=0;te<H;te++)X[te]=arguments[te];return g(pe,null,[(M=n["append-inner"])==null?void 0:M.call(n,...X),t.menuIcon?g(nt,{class:"v-select__menu-icon",icon:t.menuIcon},null):void 0])}})}),Lo({isFocused:v,menu:l,select:D},o)}}),eZ=K({...Fo(),...Sc(),...Gn(),modelValue:{type:[Number,String],default:0}},"VSlider"),cs=ae()({name:"VSlider",props:eZ(),emits:{"update:focused":t=>!0,"update:modelValue":t=>!0,start:t=>!0,end:t=>!0},setup(t,e){let{slots:n,emit:r}=e;const o=Z(),{rtlClasses:s}=dn(),i=Ac(t),a=Ee(t,"modelValue",void 0,_=>i.roundValue(_??i.min.value)),{min:l,max:u,mousePressed:c,roundValue:d,onSliderMousedown:f,onSliderTouchstart:p,trackContainerRef:m,position:h,hasLabels:v,readonly:b}=Ec({props:t,steps:i,onSliderStart:()=>{r("start",a.value)},onSliderEnd:_=>{let{value:y}=_;const x=d(y);a.value=x,r("end",x)},onSliderMove:_=>{let{value:y}=_;return a.value=d(y)},getActiveThumb:()=>{var _;return(_=o.value)==null?void 0:_.$el}}),{isFocused:w,focus:C,blur:R}=_r(t),E=q(()=>h(a.value));return de(()=>{const _=bt.filterProps(t),y=!!(t.label||n.label||n.prepend);return g(bt,se({class:["v-slider",{"v-slider--has-labels":!!n["tick-label"]||v.value,"v-slider--focused":w.value,"v-slider--pressed":c.value,"v-slider--disabled":t.disabled},s.value,t.class],style:t.style},_,{focused:w.value}),{...n,prepend:y?x=>{var L,F;return g(pe,null,[((L=n.label)==null?void 0:L.call(n,x))??(t.label?g(xr,{id:x.id.value,class:"v-slider__label",text:t.label},null):void 0),(F=n.prepend)==null?void 0:F.call(n,x)])}:void 0,default:x=>{let{id:L,messagesId:F}=x;return g("div",{class:"v-slider__container",onMousedown:b.value?void 0:f,onTouchstartPassive:b.value?void 0:p},[g("input",{id:L.value,name:t.name||L.value,disabled:!!t.disabled,readonly:!!t.readonly,tabindex:"-1",value:a.value},null),g(Tc,{ref:m,start:0,stop:E.value},{"tick-label":n["tick-label"]}),g(Ts,{ref:o,"aria-describedby":F.value,focused:w.value,min:l.value,max:u.value,modelValue:a.value,"onUpdate:modelValue":T=>a.value=T,position:E.value,elevation:t.elevation,onFocus:C,onBlur:R,ripple:t.ripple},{"thumb-label":n["thumb-label"]})])}})}),{}}});const tZ=K({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:t=>!isNaN(parseFloat(t))},maxRows:{type:[Number,String],validator:t=>!isNaN(parseFloat(t))},suffix:String,modelModifiers:Object,...Gn(),...ki()},"VTextarea"),nZ=ae()({name:"VTextarea",directives:{Intersect:yi},inheritAttrs:!1,props:tZ(),emits:{"click:control":t=>!0,"mousedown:control":t=>!0,"update:focused":t=>!0,"update:modelValue":t=>!0},setup(t,e){let{attrs:n,emit:r,slots:o}=e;const s=Ee(t,"modelValue"),{isFocused:i,focus:a,blur:l}=_r(t),u=q(()=>typeof t.counterValue=="function"?t.counterValue(s.value):(s.value||"").toString().length),c=q(()=>{if(n.maxlength)return n.maxlength;if(!(!t.counter||typeof t.counter!="number"&&typeof t.counter!="string"))return t.counter});function d(T,A){var D,S;!t.autofocus||!T||(S=(D=A[0].target)==null?void 0:D.focus)==null||S.call(D)}const f=Z(),p=Z(),m=oe(""),h=Z(),v=q(()=>t.persistentPlaceholder||i.value||t.active);function b(){var T;h.value!==document.activeElement&&((T=h.value)==null||T.focus()),i.value||a()}function w(T){b(),r("click:control",T)}function C(T){r("mousedown:control",T)}function R(T){T.stopPropagation(),b(),De(()=>{s.value="",il(t["onClick:clear"],T)})}function E(T){var D;const A=T.target;if(s.value=A.value,(D=t.modelModifiers)!=null&&D.trim){const S=[A.selectionStart,A.selectionEnd];De(()=>{A.selectionStart=S[0],A.selectionEnd=S[1]})}}const _=Z(),y=Z(+t.rows),x=q(()=>["plain","underlined"].includes(t.variant));Rn(()=>{t.autoGrow||(y.value=+t.rows)});function L(){t.autoGrow&&De(()=>{if(!_.value||!p.value)return;const T=getComputedStyle(_.value),A=getComputedStyle(p.value.$el),D=parseFloat(T.getPropertyValue("--v-field-padding-top"))+parseFloat(T.getPropertyValue("--v-input-padding-top"))+parseFloat(T.getPropertyValue("--v-field-padding-bottom")),S=_.value.scrollHeight,V=parseFloat(T.lineHeight),I=Math.max(parseFloat(t.rows)*V+D,parseFloat(A.getPropertyValue("--v-input-control-height"))),$=parseFloat(t.maxRows)*V+D||1/0,P=Ht(S??0,I,$);y.value=Math.floor((P-D)/V),m.value=ge(P)})}Ge(L),Q(s,L),Q(()=>t.rows,L),Q(()=>t.maxRows,L),Q(()=>t.density,L);let F;return Q(_,T=>{T?(F=new ResizeObserver(L),F.observe(_.value)):F==null||F.disconnect()}),Pn(()=>{F==null||F.disconnect()}),de(()=>{const T=!!(o.counter||t.counter||t.counterValue),A=!!(T||o.details),[D,S]=uo(n),{modelValue:V,...I}=bt.filterProps(t),$=Kc(t);return g(bt,se({ref:f,modelValue:s.value,"onUpdate:modelValue":P=>s.value=P,class:["v-textarea v-text-field",{"v-textarea--prefixed":t.prefix,"v-textarea--suffixed":t.suffix,"v-text-field--prefixed":t.prefix,"v-text-field--suffixed":t.suffix,"v-textarea--auto-grow":t.autoGrow,"v-textarea--no-resize":t.noResize||t.autoGrow,"v-input--plain-underlined":x.value},t.class],style:t.style},D,I,{centerAffix:y.value===1&&!x.value,focused:i.value}),{...o,default:P=>{let{id:O,isDisabled:B,isDirty:U,isReadonly:j,isValid:H}=P;return g(xi,se({ref:p,style:{"--v-textarea-control-height":m.value},onClick:w,onMousedown:C,"onClick:clear":R,"onClick:prependInner":t["onClick:prependInner"],"onClick:appendInner":t["onClick:appendInner"]},$,{id:O.value,active:v.value||U.value,centerAffix:y.value===1&&!x.value,dirty:U.value||t.dirty,disabled:B.value,focused:i.value,error:H.value===!1}),{...o,default:X=>{let{props:{class:te,...M}}=X;return g(pe,null,[t.prefix&&g("span",{class:"v-text-field__prefix"},[t.prefix]),Pe(g("textarea",se({ref:h,class:te,value:s.value,onInput:E,autofocus:t.autofocus,readonly:j.value,disabled:B.value,placeholder:t.placeholder,rows:t.rows,name:t.name,onFocus:b,onBlur:l},M,S),null),[[Zt("intersect"),{handler:d},null,{once:!0}]]),t.autoGrow&&Pe(g("textarea",{class:[te,"v-textarea__sizer"],id:`${M.id}-sizer`,"onUpdate:modelValue":ie=>s.value=ie,ref:_,readonly:!0,"aria-hidden":"true"},null),[[gu,s.value]]),t.suffix&&g("span",{class:"v-text-field__suffix"},[t.suffix])])}})},details:A?P=>{var O;return g(pe,null,[(O=o.details)==null?void 0:O.call(o,P),T&&g(pe,null,[g("span",null,null),g(Zc,{active:t.persistentCounter||i.value,value:u.value,max:c.value},o.counter)])])}:void 0})}),Lo({},f,p,h)}}),rZ=kt("h2",{class:"text-center"},"模块README制作工具",-1),oZ=kt("h4",null,"1. 作者",-1),sZ=kt("h4",null,"2. 简介",-1),iZ=kt("h4",null,"3. 链接",-1),aZ=kt("h4",null,"4. 游戏语言版本",-1),lZ=kt("h4",null,"5. 适用版本",-1),cZ=kt("h4",null,"6. 电路类型",-1),uZ=kt("h4",null,"7. 延迟(gt)",-1),dZ=kt("h4",null,"8. 模块大小",-1),fZ=kt("h4",null,"9. ",-1),gZ=qs({__name:"ReadmeMaker",setup(t){const e=Bs(new en);let n="";const r=Z("");Qd().then(s=>{n=s.toString()});function o(){r.value=Ze.render(n,e)}return Q(e.versions,(s,i)=>{s.forEach((a,l)=>{Xr[e.lang].indexOf(a)===-1&&e.versions.splice(l,1)})}),(s,i)=>(Kn(),Po(Tu,{class:"fill-height justify-center"},{default:me(()=>[rZ,g(er,{class:"mt-3 mb-6"}),g(Ar,null,{default:me(()=>[g(Jt,null,{default:me(()=>[g(Kr,{class:"text-left px-6","max-width":"600"},{default:me(()=>[oZ,g(at,{clearable:"",label:"you nick name",variant:"outlined",modelValue:e.author,"onUpdate:modelValue":i[0]||(i[0]=a=>e.author=a),class:"mt-3"},null,8,["modelValue"]),sZ,g(nZ,{label:"profile",variant:"outlined",modelValue:e.profile,"onUpdate:modelValue":i[1]||(i[1]=a=>e.profile=a),class:"mt-3"},null,8,["modelValue"]),iZ,(Kn(!0),Ei(pe,null,Ti(e.links.length,a=>(Kn(),Po(Ar,{class:"mt-1"},{default:me(()=>[g(Jt,null,{default:me(()=>[g(at,{clearable:"",label:"链接文字",variant:"outlined",modelValue:e.links[a-1][0],"onUpdate:modelValue":l=>e.links[a-1][0]=l},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),g(Jt,null,{default:me(()=>[g(at,{clearable:"",label:"链接",variant:"outlined",modelValue:e.links[a-1][1],"onUpdate:modelValue":l=>e.links[a-1][1]=l},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),g(Jt,{cols:"2"},{default:me(()=>[g(Sr,{onClick:l=>e.remove_links(a-1),icon:"mdi-close",class:"mt-2",color:"red-darken-1",density:"comfortable",variant:"text"},null,8,["onClick"])]),_:2},1024)]),_:2},1024))),256)),g(Sr,{onClick:i[2]||(i[2]=a=>e.append_link()),block:"",variant:"outlined"},{default:me(()=>[Vr("加一条 ")]),_:1}),aZ,g(Ha,{inline:"",modelValue:e.lang,"onUpdate:modelValue":i[3]||(i[3]=a=>e.lang=a)},{default:me(()=>[g(rs,{label:ze(nn).JAVA,value:ze(nn).JAVA},null,8,["label","value"]),g(rs,{label:ze(nn).BE,value:ze(nn).BE},null,8,["label","value"])]),_:1},8,["modelValue"]),lZ,g(Q9,{chips:"",label:"selected versions",modelValue:e.versions,"onUpdate:modelValue":i[4]||(i[4]=a=>e.versions=a),items:ze(Xr)[e.lang],multiple:"",variant:"outlined",class:"mt-3"},null,8,["modelValue","items"]),cZ,g(Ha,{inline:"",modelValue:e.elect_type,"onUpdate:modelValue":i[5]||(i[5]=a=>e.elect_type=a)},{default:me(()=>[(Kn(!0),Ei(pe,null,Ti(Object.values(ze(xn)),a=>(Kn(),Po(rs,{label:a,value:a},null,8,["label","value"]))),256))]),_:1},8,["modelValue"]),uZ,g(R7,{modelValue:e.delay,"onUpdate:modelValue":i[8]||(i[8]=a=>e.delay=a),max:ze(en).MAX_DELAY,min:0,step:1,"hide-details":"",class:"align-center"},{prepend:me(()=>[g(at,{modelValue:e.delay[0],"onUpdate:modelValue":i[6]||(i[6]=a=>e.delay[0]=a),"hide-details":"","single-line":"",type:"number",variant:"outlined",density:"compact",style:{width:"75px"}},null,8,["modelValue"])]),append:me(()=>[g(at,{modelValue:e.delay[1],"onUpdate:modelValue":i[7]||(i[7]=a=>e.delay[1]=a),"hide-details":"","single-line":"",type:"number",variant:"outlined",style:{width:"75px"},density:"compact"},null,8,["modelValue"])]),_:1},8,["modelValue","max"]),dZ,g(cs,{modelValue:e.size[0],"onUpdate:modelValue":i[10]||(i[10]=a=>e.size[0]=a),max:ze(en).MAX_SIZE,step:1,label:"X","hide-details":"",class:"ma-4"},{append:me(()=>[g(at,{modelValue:e.size[0],"onUpdate:modelValue":i[9]||(i[9]=a=>e.size[0]=a),type:"number",style:{width:"85px"},density:"compact","hide-details":"",variant:"outlined"},null,8,["modelValue"])]),_:1},8,["modelValue","max"]),g(cs,{modelValue:e.size[1],"onUpdate:modelValue":i[12]||(i[12]=a=>e.size[1]=a),max:ze(en).MAX_SIZE,step:1,label:"Y","hide-details":"",class:"ma-4"},{append:me(()=>[g(at,{modelValue:e.size[1],"onUpdate:modelValue":i[11]||(i[11]=a=>e.size[1]=a),type:"number",style:{width:"85px"},density:"compact","hide-details":"",variant:"outlined"},null,8,["modelValue"])]),_:1},8,["modelValue","max"]),g(cs,{modelValue:e.size[2],"onUpdate:modelValue":i[14]||(i[14]=a=>e.size[2]=a),max:ze(en).MAX_SIZE,step:1,label:"Z","hide-details":"",class:"ma-4"},{append:me(()=>[g(at,{modelValue:e.size[2],"onUpdate:modelValue":i[13]||(i[13]=a=>e.size[2]=a),type:"number",style:{width:"85px"},density:"compact","hide-details":"",variant:"outlined"},null,8,["modelValue"])]),_:1},8,["modelValue","max"]),fZ,g(er,{class:"mt-3"}),g(Ar,{class:"justify-center"},{default:me(()=>[g(Jt,{cols:"2"},{default:me(()=>[g(Sr,{onClick:i[15]||(i[15]=a=>o()),class:"mt-3",color:"primary"},{default:me(()=>[Vr("预览 ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),g(er,{vertical:""}),g(Jt,null,{default:me(()=>[g(Kr,{"max-width":"800"},{default:me(()=>[g(ze(Gr),{modelValue:r.value},null,8,["modelValue"]),g(er,{class:"mt-3"}),g(Ar,{class:"justify-center"},{default:me(()=>[g(Jt,{cols:"2"},{default:me(()=>[g(Sr,{onClick:i[16]||(i[16]=a=>ze(u7)("README.md",r.value)),class:"mt-3",color:"primary"},{default:me(()=>[Vr("下载README ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}))}});export{gZ as default};
|