@quidgest/chatbot 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/MarkdownRenderer.vue.d.ts +18 -0
- package/dist/index.js +43 -44
- package/dist/index.mjs +5438 -6708
- package/package.json +3 -3
- package/src/components/CBMessage.vue +2 -2
- package/src/components/MarkdownRenderer.vue +35 -0
package/dist/index.js
CHANGED
|
@@ -1,66 +1,65 @@
|
|
|
1
|
-
(function(a,Ee){typeof exports=="object"&&typeof module<"u"?module.exports=Ee(require("vue")):typeof define=="function"&&define.amd?define(["vue"],Ee):(a=typeof globalThis<"u"?globalThis:a||self,a.ChatBotFrontend=Ee(a.vue))})(this,function(a){"use strict";function Ee(t,e){return function(){return t.apply(e,arguments)}}const{toString:Oo}=Object.prototype,{getPrototypeOf:Dt}=Object,{iterator:We,toStringTag:xr}=Symbol,Je=(t=>e=>{const r=Oo.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),re=t=>(t=t.toLowerCase(),e=>Je(e)===t),Qe=t=>e=>typeof e===t,{isArray:_e}=Array,Fe=Qe("undefined");function Po(t){return t!==null&&!Fe(t)&&t.constructor!==null&&!Fe(t.constructor)&&J(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Ar=re("ArrayBuffer");function Uo(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Ar(t.buffer),e}const zo=Qe("string"),J=Qe("function"),Er=Qe("number"),Ye=t=>t!==null&&typeof t=="object",Mo=t=>t===!0||t===!1,Xe=t=>{if(Je(t)!=="object")return!1;const e=Dt(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(xr in t)&&!(We in t)},Vo=re("Date"),jo=re("File"),Go=re("Blob"),$o=re("FileList"),Ho=t=>Ye(t)&&J(t.pipe),Zo=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||J(t.append)&&((e=Je(t))==="formdata"||e==="object"&&J(t.toString)&&t.toString()==="[object FormData]"))},Wo=re("URLSearchParams"),[Jo,Qo,Yo,Xo]=["ReadableStream","Request","Response","Headers"].map(re),Ko=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ie(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let n,o;if(typeof t!="object"&&(t=[t]),_e(t))for(n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else{const s=r?Object.getOwnPropertyNames(t):Object.keys(t),c=s.length;let i;for(n=0;n<c;n++)i=s[n],e.call(null,t[i],i,t)}}function _r(t,e){e=e.toLowerCase();const r=Object.keys(t);let n=r.length,o;for(;n-- >0;)if(o=r[n],e===o.toLowerCase())return o;return null}const he=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Cr=t=>!Fe(t)&&t!==he;function qt(){const{caseless:t}=Cr(this)&&this||{},e={},r=(n,o)=>{const s=t&&_r(e,o)||o;Xe(e[s])&&Xe(n)?e[s]=qt(e[s],n):Xe(n)?e[s]=qt({},n):_e(n)?e[s]=n.slice():e[s]=n};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&Ie(arguments[n],r);return e}const es=(t,e,r,{allOwnKeys:n}={})=>(Ie(e,(o,s)=>{r&&J(o)?t[s]=Ee(o,r):t[s]=o},{allOwnKeys:n}),t),ts=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),rs=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},ns=(t,e,r,n)=>{let o,s,c;const i={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),s=o.length;s-- >0;)c=o[s],(!n||n(c,t,e))&&!i[c]&&(e[c]=t[c],i[c]=!0);t=r!==!1&&Dt(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},os=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return n!==-1&&n===r},ss=t=>{if(!t)return null;if(_e(t))return t;let e=t.length;if(!Er(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},cs=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Dt(Uint8Array)),is=(t,e)=>{const n=(t&&t[We]).call(t);let o;for(;(o=n.next())&&!o.done;){const s=o.value;e.call(t,s[0],s[1])}},as=(t,e)=>{let r;const n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},ls=re("HTMLFormElement"),us=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),Dr=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),ds=re("RegExp"),qr=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};Ie(r,(o,s)=>{let c;(c=e(o,s,t))!==!1&&(n[s]=c||o)}),Object.defineProperties(t,n)},ps=t=>{qr(t,(e,r)=>{if(J(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=t[r];if(J(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},fs=(t,e)=>{const r={},n=o=>{o.forEach(s=>{r[s]=!0})};return _e(t)?n(t):n(String(t).split(e)),r},hs=()=>{},ms=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function gs(t){return!!(t&&J(t.append)&&t[xr]==="FormData"&&t[We])}const bs=t=>{const e=new Array(10),r=(n,o)=>{if(Ye(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[o]=n;const s=_e(n)?[]:{};return Ie(n,(c,i)=>{const l=r(c,o+1);!Fe(l)&&(s[i]=l)}),e[o]=void 0,s}}return n};return r(t,0)},ys=re("AsyncFunction"),ws=t=>t&&(Ye(t)||J(t))&&J(t.then)&&J(t.catch),Sr=((t,e)=>t?setImmediate:e?((r,n)=>(he.addEventListener("message",({source:o,data:s})=>{o===he&&s===r&&n.length&&n.shift()()},!1),o=>{n.push(o),he.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",J(he.postMessage)),ks=typeof queueMicrotask<"u"?queueMicrotask.bind(he):typeof process<"u"&&process.nextTick||Sr,y={isArray:_e,isArrayBuffer:Ar,isBuffer:Po,isFormData:Zo,isArrayBufferView:Uo,isString:zo,isNumber:Er,isBoolean:Mo,isObject:Ye,isPlainObject:Xe,isReadableStream:Jo,isRequest:Qo,isResponse:Yo,isHeaders:Xo,isUndefined:Fe,isDate:Vo,isFile:jo,isBlob:Go,isRegExp:ds,isFunction:J,isStream:Ho,isURLSearchParams:Wo,isTypedArray:cs,isFileList:$o,forEach:Ie,merge:qt,extend:es,trim:Ko,stripBOM:ts,inherits:rs,toFlatObject:ns,kindOf:Je,kindOfTest:re,endsWith:os,toArray:ss,forEachEntry:is,matchAll:as,isHTMLForm:ls,hasOwnProperty:Dr,hasOwnProp:Dr,reduceDescriptors:qr,freezeMethods:ps,toObjectSet:fs,toCamelCase:us,noop:hs,toFiniteNumber:ms,findKey:_r,global:he,isContextDefined:Cr,isSpecCompliantForm:gs,toJSONObject:bs,isAsyncFn:ys,isThenable:ws,setImmediate:Sr,asap:ks,isIterable:t=>t!=null&&J(t[We])};function F(t,e,r,n,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),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}y.inherits(F,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:y.toJSONObject(this.config),code:this.code,status:this.status}}});const Rr=F.prototype,Tr={};["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=>{Tr[t]={value:t}}),Object.defineProperties(F,Tr),Object.defineProperty(Rr,"isAxiosError",{value:!0}),F.from=(t,e,r,n,o,s)=>{const c=Object.create(Rr);return y.toFlatObject(t,c,function(l){return l!==Error.prototype},i=>i!=="isAxiosError"),F.call(c,t.message,e,r,n,o),c.cause=t,c.name=t.name,s&&Object.assign(c,s),c};const vs=null;function St(t){return y.isPlainObject(t)||y.isArray(t)}function Lr(t){return y.endsWith(t,"[]")?t.slice(0,-2):t}function Nr(t,e,r){return t?t.concat(e).map(function(o,s){return o=Lr(o),!r&&s?"["+o+"]":o}).join(r?".":""):e}function xs(t){return y.isArray(t)&&!t.some(St)}const As=y.toFlatObject(y,{},null,function(e){return/^is[A-Z]/.test(e)});function Ke(t,e,r){if(!y.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=y.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,g){return!y.isUndefined(g[b])});const n=r.metaTokens,o=r.visitor||d,s=r.dots,c=r.indexes,l=(r.Blob||typeof Blob<"u"&&Blob)&&y.isSpecCompliantForm(e);if(!y.isFunction(o))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(y.isDate(h))return h.toISOString();if(!l&&y.isBlob(h))throw new F("Blob is not supported. Use a Buffer instead.");return y.isArrayBuffer(h)||y.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,b,g){let w=h;if(h&&!g&&typeof h=="object"){if(y.endsWith(b,"{}"))b=n?b:b.slice(0,-2),h=JSON.stringify(h);else if(y.isArray(h)&&xs(h)||(y.isFileList(h)||y.endsWith(b,"[]"))&&(w=y.toArray(h)))return b=Lr(b),w.forEach(function(C,q){!(y.isUndefined(C)||C===null)&&e.append(c===!0?Nr([b],q,s):c===null?b:b+"[]",u(C))}),!1}return St(h)?!0:(e.append(Nr(g,b,s),u(h)),!1)}const p=[],f=Object.assign(As,{defaultVisitor:d,convertValue:u,isVisitable:St});function m(h,b){if(!y.isUndefined(h)){if(p.indexOf(h)!==-1)throw Error("Circular reference detected in "+b.join("."));p.push(h),y.forEach(h,function(w,k){(!(y.isUndefined(w)||w===null)&&o.call(e,w,y.isString(k)?k.trim():k,b,f))===!0&&m(w,b?b.concat(k):[k])}),p.pop()}}if(!y.isObject(t))throw new TypeError("data must be an object");return m(t),e}function Br(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function Rt(t,e){this._pairs=[],t&&Ke(t,this,e)}const Fr=Rt.prototype;Fr.append=function(e,r){this._pairs.push([e,r])},Fr.toString=function(e){const r=e?function(n){return e.call(this,n,Br)}:Br;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Es(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ir(t,e,r){if(!e)return t;const n=r&&r.encode||Es;y.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let s;if(o?s=o(e,r):s=y.isURLSearchParams(e)?e.toString():new Rt(e,r).toString(n),s){const c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}class Or{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){y.forEach(this.handlers,function(n){n!==null&&e(n)})}}const Pr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},_s={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Rt,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Tt=typeof window<"u"&&typeof document<"u",Lt=typeof navigator=="object"&&navigator||void 0,Cs=Tt&&(!Lt||["ReactNative","NativeScript","NS"].indexOf(Lt.product)<0),Ds=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",qs=Tt&&window.location.href||"http://localhost",Z={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Tt,hasStandardBrowserEnv:Cs,hasStandardBrowserWebWorkerEnv:Ds,navigator:Lt,origin:qs},Symbol.toStringTag,{value:"Module"})),..._s};function Ss(t,e){return Ke(t,new Z.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,s){return Z.isNode&&y.isBuffer(r)?(this.append(n,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function Rs(t){return y.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Ts(t){const e={},r=Object.keys(t);let n;const o=r.length;let s;for(n=0;n<o;n++)s=r[n],e[s]=t[s];return e}function Ur(t){function e(r,n,o,s){let c=r[s++];if(c==="__proto__")return!0;const i=Number.isFinite(+c),l=s>=r.length;return c=!c&&y.isArray(o)?o.length:c,l?(y.hasOwnProp(o,c)?o[c]=[o[c],n]:o[c]=n,!i):((!o[c]||!y.isObject(o[c]))&&(o[c]=[]),e(r,n,o[c],s)&&y.isArray(o[c])&&(o[c]=Ts(o[c])),!i)}if(y.isFormData(t)&&y.isFunction(t.entries)){const r={};return y.forEachEntry(t,(n,o)=>{e(Rs(n),o,r,0)}),r}return null}function Ls(t,e,r){if(y.isString(t))try{return(e||JSON.parse)(t),y.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}const Oe={transitional:Pr,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,s=y.isObject(e);if(s&&y.isHTMLForm(e)&&(e=new FormData(e)),y.isFormData(e))return o?JSON.stringify(Ur(e)):e;if(y.isArrayBuffer(e)||y.isBuffer(e)||y.isStream(e)||y.isFile(e)||y.isBlob(e)||y.isReadableStream(e))return e;if(y.isArrayBufferView(e))return e.buffer;if(y.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Ss(e,this.formSerializer).toString();if((i=y.isFileList(e))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Ke(i?{"files[]":e}:e,l&&new l,this.formSerializer)}}return s||o?(r.setContentType("application/json",!1),Ls(e)):e}],transformResponse:[function(e){const r=this.transitional||Oe.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(y.isResponse(e)||y.isReadableStream(e))return e;if(e&&y.isString(e)&&(n&&!this.responseType||o)){const c=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(i){if(c)throw i.name==="SyntaxError"?F.from(i,F.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Z.classes.FormData,Blob:Z.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};y.forEach(["delete","get","head","post","put","patch"],t=>{Oe.headers[t]={}});const Ns=y.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"]),Bs=t=>{const e={};let r,n,o;return t&&t.split(`
|
|
2
|
-
`).forEach(function(
|
|
3
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const n=new this(e);return r.forEach(o=>n.set(o)),n}static accessor(e){const n=(this[zr]=this[zr]={accessors:{}}).accessors,o=this.prototype;function s(c){const i=Pe(c);n[i]||(Ps(o,c),n[i]=!0)}return y.isArray(e)?e.forEach(s):s(e),this}};Q.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),y.reduceDescriptors(Q.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[r]=n}}}),y.freezeMethods(Q);function Bt(t,e){const r=this||Oe,n=e||r,o=Q.from(n.headers);let s=n.data;return y.forEach(t,function(i){s=i.call(r,s,o.normalize(),e?e.status:void 0)}),o.normalize(),s}function Mr(t){return!!(t&&t.__CANCEL__)}function Ce(t,e,r){F.call(this,t??"canceled",F.ERR_CANCELED,e,r),this.name="CanceledError"}y.inherits(Ce,F,{__CANCEL__:!0});function Vr(t,e,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new F("Request failed with status code "+r.status,[F.ERR_BAD_REQUEST,F.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Us(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function zs(t,e){t=t||10;const r=new Array(t),n=new Array(t);let o=0,s=0,c;return e=e!==void 0?e:1e3,function(l){const u=Date.now(),d=n[s];c||(c=u),r[o]=l,n[o]=u;let p=s,f=0;for(;p!==o;)f+=r[p++],p=p%t;if(o=(o+1)%t,o===s&&(s=(s+1)%t),u-c<e)return;const m=d&&u-d;return m?Math.round(f*1e3/m):void 0}}function Ms(t,e){let r=0,n=1e3/e,o,s;const c=(u,d=Date.now())=>{r=d,o=null,s&&(clearTimeout(s),s=null),t.apply(null,u)};return[(...u)=>{const d=Date.now(),p=d-r;p>=n?c(u,d):(o=u,s||(s=setTimeout(()=>{s=null,c(o)},n-p)))},()=>o&&c(o)]}const tt=(t,e,r=3)=>{let n=0;const o=zs(50,250);return Ms(s=>{const c=s.loaded,i=s.lengthComputable?s.total:void 0,l=c-n,u=o(l),d=c<=i;n=c;const p={loaded:c,total:i,progress:i?c/i:void 0,bytes:l,rate:u||void 0,estimated:u&&i&&d?(i-c)/u:void 0,event:s,lengthComputable:i!=null,[e?"download":"upload"]:!0};t(p)},r)},jr=(t,e)=>{const r=t!=null;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},Gr=t=>(...e)=>y.asap(()=>t(...e)),Vs=Z.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,Z.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL(Z.origin),Z.navigator&&/(msie|trident)/i.test(Z.navigator.userAgent)):()=>!0,js=Z.hasStandardBrowserEnv?{write(t,e,r,n,o,s){const c=[t+"="+encodeURIComponent(e)];y.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),y.isString(n)&&c.push("path="+n),y.isString(o)&&c.push("domain="+o),s===!0&&c.push("secure"),document.cookie=c.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 Gs(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function $s(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function $r(t,e,r){let n=!Gs(e);return t&&(n||r==!1)?$s(t,e):e}const Hr=t=>t instanceof Q?{...t}:t;function me(t,e){e=e||{};const r={};function n(u,d,p,f){return y.isPlainObject(u)&&y.isPlainObject(d)?y.merge.call({caseless:f},u,d):y.isPlainObject(d)?y.merge({},d):y.isArray(d)?d.slice():d}function o(u,d,p,f){if(y.isUndefined(d)){if(!y.isUndefined(u))return n(void 0,u,p,f)}else return n(u,d,p,f)}function s(u,d){if(!y.isUndefined(d))return n(void 0,d)}function c(u,d){if(y.isUndefined(d)){if(!y.isUndefined(u))return n(void 0,u)}else return n(void 0,d)}function i(u,d,p){if(p in e)return n(u,d);if(p in t)return n(void 0,u)}const l={url:s,method:s,data:s,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:i,headers:(u,d,p)=>o(Hr(u),Hr(d),p,!0)};return y.forEach(Object.keys(Object.assign({},t,e)),function(d){const p=l[d]||o,f=p(t[d],e[d],d);y.isUndefined(f)&&p!==i||(r[d]=f)}),r}const Zr=t=>{const e=me({},t);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:s,headers:c,auth:i}=e;e.headers=c=Q.from(c),e.url=Ir($r(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),i&&c.set("Authorization","Basic "+btoa((i.username||"")+":"+(i.password?unescape(encodeURIComponent(i.password)):"")));let l;if(y.isFormData(r)){if(Z.hasStandardBrowserEnv||Z.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if((l=c.getContentType())!==!1){const[u,...d]=l?l.split(";").map(p=>p.trim()).filter(Boolean):[];c.setContentType([u||"multipart/form-data",...d].join("; "))}}if(Z.hasStandardBrowserEnv&&(n&&y.isFunction(n)&&(n=n(e)),n||n!==!1&&Vs(e.url))){const u=o&&s&&js.read(s);u&&c.set(o,u)}return e},Hs=typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(r,n){const o=Zr(t);let s=o.data;const c=Q.from(o.headers).normalize();let{responseType:i,onUploadProgress:l,onDownloadProgress:u}=o,d,p,f,m,h;function b(){m&&m(),h&&h(),o.cancelToken&&o.cancelToken.unsubscribe(d),o.signal&&o.signal.removeEventListener("abort",d)}let g=new XMLHttpRequest;g.open(o.method.toUpperCase(),o.url,!0),g.timeout=o.timeout;function w(){if(!g)return;const C=Q.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),S={data:!i||i==="text"||i==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:C,config:t,request:g};Vr(function(L){r(L),b()},function(L){n(L),b()},S),g=null}"onloadend"in g?g.onloadend=w:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(w)},g.onabort=function(){g&&(n(new F("Request aborted",F.ECONNABORTED,t,g)),g=null)},g.onerror=function(){n(new F("Network Error",F.ERR_NETWORK,t,g)),g=null},g.ontimeout=function(){let q=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const S=o.transitional||Pr;o.timeoutErrorMessage&&(q=o.timeoutErrorMessage),n(new F(q,S.clarifyTimeoutError?F.ETIMEDOUT:F.ECONNABORTED,t,g)),g=null},s===void 0&&c.setContentType(null),"setRequestHeader"in g&&y.forEach(c.toJSON(),function(q,S){g.setRequestHeader(S,q)}),y.isUndefined(o.withCredentials)||(g.withCredentials=!!o.withCredentials),i&&i!=="json"&&(g.responseType=o.responseType),u&&([f,h]=tt(u,!0),g.addEventListener("progress",f)),l&&g.upload&&([p,m]=tt(l),g.upload.addEventListener("progress",p),g.upload.addEventListener("loadend",m)),(o.cancelToken||o.signal)&&(d=C=>{g&&(n(!C||C.type?new Ce(null,t,g):C),g.abort(),g=null)},o.cancelToken&&o.cancelToken.subscribe(d),o.signal&&(o.signal.aborted?d():o.signal.addEventListener("abort",d)));const k=Us(o.url);if(k&&Z.protocols.indexOf(k)===-1){n(new F("Unsupported protocol "+k+":",F.ERR_BAD_REQUEST,t));return}g.send(s||null)})},Zs=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let n=new AbortController,o;const s=function(u){if(!o){o=!0,i();const d=u instanceof Error?u:this.reason;n.abort(d instanceof F?d:new Ce(d instanceof Error?d.message:d))}};let c=e&&setTimeout(()=>{c=null,s(new F(`timeout ${e} of ms exceeded`,F.ETIMEDOUT))},e);const i=()=>{t&&(c&&clearTimeout(c),c=null,t.forEach(u=>{u.unsubscribe?u.unsubscribe(s):u.removeEventListener("abort",s)}),t=null)};t.forEach(u=>u.addEventListener("abort",s));const{signal:l}=n;return l.unsubscribe=()=>y.asap(i),l}},Ws=function*(t,e){let r=t.byteLength;if(r<e){yield t;return}let n=0,o;for(;n<r;)o=n+e,yield t.slice(n,o),n=o},Js=async function*(t,e){for await(const r of Qs(t))yield*Ws(r,e)},Qs=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:r,value:n}=await e.read();if(r)break;yield n}}finally{await e.cancel()}},Wr=(t,e,r,n)=>{const o=Js(t,e);let s=0,c,i=l=>{c||(c=!0,n&&n(l))};return new ReadableStream({async pull(l){try{const{done:u,value:d}=await o.next();if(u){i(),l.close();return}let p=d.byteLength;if(r){let f=s+=p;r(f)}l.enqueue(new Uint8Array(d))}catch(u){throw i(u),u}},cancel(l){return i(l),o.return()}},{highWaterMark:2})},rt=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Jr=rt&&typeof ReadableStream=="function",Ys=rt&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),Qr=(t,...e)=>{try{return!!t(...e)}catch{return!1}},Xs=Jr&&Qr(()=>{let t=!1;const e=new Request(Z.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),Yr=64*1024,Ft=Jr&&Qr(()=>y.isReadableStream(new Response("").body)),nt={stream:Ft&&(t=>t.body)};rt&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!nt[e]&&(nt[e]=y.isFunction(t[e])?r=>r[e]():(r,n)=>{throw new F(`Response type '${e}' is not supported`,F.ERR_NOT_SUPPORT,n)})})})(new Response);const Ks=async t=>{if(t==null)return 0;if(y.isBlob(t))return t.size;if(y.isSpecCompliantForm(t))return(await new Request(Z.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(y.isArrayBufferView(t)||y.isArrayBuffer(t))return t.byteLength;if(y.isURLSearchParams(t)&&(t=t+""),y.isString(t))return(await Ys(t)).byteLength},ec=async(t,e)=>{const r=y.toFiniteNumber(t.getContentLength());return r??Ks(e)},It={http:vs,xhr:Hs,fetch:rt&&(async t=>{let{url:e,method:r,data:n,signal:o,cancelToken:s,timeout:c,onDownloadProgress:i,onUploadProgress:l,responseType:u,headers:d,withCredentials:p="same-origin",fetchOptions:f}=Zr(t);u=u?(u+"").toLowerCase():"text";let m=Zs([o,s&&s.toAbortSignal()],c),h;const b=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let g;try{if(l&&Xs&&r!=="get"&&r!=="head"&&(g=await ec(d,n))!==0){let S=new Request(e,{method:"POST",body:n,duplex:"half"}),E;if(y.isFormData(n)&&(E=S.headers.get("content-type"))&&d.setContentType(E),S.body){const[L,U]=jr(g,tt(Gr(l)));n=Wr(S.body,Yr,L,U)}}y.isString(p)||(p=p?"include":"omit");const w="credentials"in Request.prototype;h=new Request(e,{...f,signal:m,method:r.toUpperCase(),headers:d.normalize().toJSON(),body:n,duplex:"half",credentials:w?p:void 0});let k=await fetch(h);const C=Ft&&(u==="stream"||u==="response");if(Ft&&(i||C&&b)){const S={};["status","statusText","headers"].forEach(G=>{S[G]=k[G]});const E=y.toFiniteNumber(k.headers.get("content-length")),[L,U]=i&&jr(E,tt(Gr(i),!0))||[];k=new Response(Wr(k.body,Yr,L,()=>{U&&U(),b&&b()}),S)}u=u||"text";let q=await nt[y.findKey(nt,u)||"text"](k,t);return!C&&b&&b(),await new Promise((S,E)=>{Vr(S,E,{data:q,headers:Q.from(k.headers),status:k.status,statusText:k.statusText,config:t,request:h})})}catch(w){throw b&&b(),w&&w.name==="TypeError"&&/Load failed|fetch/i.test(w.message)?Object.assign(new F("Network Error",F.ERR_NETWORK,t,h),{cause:w.cause||w}):F.from(w,w&&w.code,t,h)}})};y.forEach(It,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Xr=t=>`- ${t}`,tc=t=>y.isFunction(t)||t===null||t===!1,Kr={getAdapter:t=>{t=y.isArray(t)?t:[t];const{length:e}=t;let r,n;const o={};for(let s=0;s<e;s++){r=t[s];let c;if(n=r,!tc(r)&&(n=It[(c=String(r)).toLowerCase()],n===void 0))throw new F(`Unknown adapter '${c}'`);if(n)break;o[c||"#"+s]=n}if(!n){const s=Object.entries(o).map(([i,l])=>`adapter ${i} `+(l===!1?"is not supported by the environment":"is not available in the build"));let c=e?s.length>1?`since :
|
|
4
|
-
`+
|
|
5
|
-
`):" "
|
|
6
|
-
`+s):n.stack=s}catch{}}throw n}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=me(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:s}=r;n!==void 0&&st.assertOptions(n,{silentJSONParsing:se.transitional(se.boolean),forcedJSONParsing:se.transitional(se.boolean),clarifyTimeoutError:se.transitional(se.boolean)},!1),o!=null&&(y.isFunction(o)?r.paramsSerializer={serialize:o}:st.assertOptions(o,{encode:se.function,serialize:se.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),st.assertOptions(r,{baseUrl:se.spelling("baseURL"),withXsrfToken:se.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let c=s&&y.merge(s.common,s[r.method]);s&&y.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),r.headers=Q.concat(c,s);const i=[];let l=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(r)===!1||(l=l&&b.synchronous,i.unshift(b.fulfilled,b.rejected))});const u=[];this.interceptors.response.forEach(function(b){u.push(b.fulfilled,b.rejected)});let d,p=0,f;if(!l){const h=[en.bind(this),void 0];for(h.unshift.apply(h,i),h.push.apply(h,u),f=h.length,d=Promise.resolve(r);p<f;)d=d.then(h[p++],h[p++]);return d}f=i.length;let m=r;for(p=0;p<f;){const h=i[p++],b=i[p++];try{m=h(m)}catch(g){b.call(this,g);break}}try{d=en.call(this,m)}catch(h){return Promise.reject(h)}for(p=0,f=u.length;p<f;)d=d.then(u[p++],u[p++]);return d}getUri(e){e=me(this.defaults,e);const r=$r(e.baseURL,e.url,e.allowAbsoluteUrls);return Ir(r,e.params,e.paramsSerializer)}};y.forEach(["delete","get","head","options"],function(e){ge.prototype[e]=function(r,n){return this.request(me(n||{},{method:e,url:r,data:(n||{}).data}))}}),y.forEach(["post","put","patch"],function(e){function r(n){return function(s,c,i){return this.request(me(i||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:s,data:c}))}}ge.prototype[e]=r(),ge.prototype[e+"Form"]=r(!0)});let nc=class Io{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(s){r=s});const n=this;this.promise.then(o=>{if(!n._listeners)return;let s=n._listeners.length;for(;s-- >0;)n._listeners[s](o);n._listeners=null}),this.promise.then=o=>{let s;const c=new Promise(i=>{n.subscribe(i),s=i}).then(o);return c.cancel=function(){n.unsubscribe(s)},c},e(function(s,c,i){n.reason||(n.reason=new Ce(s,c,i),r(n.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 r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const e=new AbortController,r=n=>{e.abort(n)};return this.subscribe(r),e.signal.unsubscribe=()=>this.unsubscribe(r),e.signal}static source(){let e;return{token:new Io(function(o){e=o}),cancel:e}}};function oc(t){return function(r){return t.apply(null,r)}}function sc(t){return y.isObject(t)&&t.isAxiosError===!0}const Pt={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(Pt).forEach(([t,e])=>{Pt[e]=t});function nn(t){const e=new ge(t),r=Ee(ge.prototype.request,e);return y.extend(r,ge.prototype,e,{allOwnKeys:!0}),y.extend(r,e,null,{allOwnKeys:!0}),r.create=function(o){return nn(me(t,o))},r}const V=nn(Oe);V.Axios=ge,V.CanceledError=Ce,V.CancelToken=nc,V.isCancel=Mr,V.VERSION=tn,V.toFormData=Ke,V.AxiosError=F,V.Cancel=V.CanceledError,V.all=function(e){return Promise.all(e)},V.spread=oc,V.isAxiosError=sc,V.mergeConfig=me,V.AxiosHeaders=Q,V.formToJSON=t=>Ur(y.isHTMLForm(t)?new FormData(t):t),V.getAdapter=Kr.getAdapter,V.HttpStatusCode=Pt,V.default=V;const{Axios:rp,AxiosError:np,CanceledError:op,isCancel:sp,CancelToken:cp,VERSION:ip,all:ap,Cancel:lp,isAxiosError:up,spread:dp,toFormData:pp,AxiosHeaders:fp,HttpStatusCode:hp,formToJSON:mp,getAdapter:gp,mergeConfig:bp}=V;function cc(t){return t==null?!0:typeof t=="string"||Array.isArray(t)?t.length===0:typeof t=="object"?Object.keys(t).length===0:!1}function on(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function sn(t={},e={}){const r={},n=new Set([...Object.keys(t),...Object.keys(e)]);for(const o of n){if(o==="__proto__"||o==="constructor"||o==="prototype")continue;const s=t[o],c=e[o];on(s)&&on(c)?r[o]=sn(s,c):r[o]=c!==void 0?c:s}return r}const ic="q-defaults";function ac(){var t,e;const r=a.getCurrentInstance();if(!r)throw new Error("[Quidgest UI] useDefaults must be called from inside a setup function");const n=r.type.name??r.type.__name;if(!n)throw new Error("[Quidgest UI] Could not determine component name");const o=lc(),s=(t=o.value)==null?void 0:t.Global,c=(e=o.value)==null?void 0:e[n];return a.computed(()=>sn(s,c))}function lc(){const t=a.inject(ic,void 0);if(!t)throw new Error("[Quidgest UI] Could not find defaults instance");return t}const uc=["id"],dc=a.defineComponent({__name:"QSpinnerLoader",props:{id:{},class:{},size:{default:48}},setup(t){const e=t,r=a.computed(()=>({"font-size":e.size!==48?`${e.size}px`:void 0}));return(n,o)=>(a.openBlock(),a.createElementBlock("div",{id:e.id,class:a.normalizeClass(["q-spinner-loader",e.class]),style:a.normalizeStyle(r.value)},null,14,uc))}});function pc(t){return t.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/([0-9])([a-zA-Z])/g,"$1 $2").replace(/([a-zA-Z])([0-9])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g,"$1 $2").trim().split(/\s+/)}function fc(t){return pc(t).join("-").toLowerCase()}function hc(t,e){var r;const n=fc(e);return n?typeof((r=t.props)==null?void 0:r[n])<"u":!1}function W(t){const e=t,r=e.setup;return r&&(e.setup=(n,o)=>{const s=ac();if(cc(s.value))return r(n,o);const c=a.getCurrentInstance();if(c===null)return r(n,o);const i=new Proxy(n,{get(l,u){var d;const p=Reflect.get(l,u),f=(d=s.value)==null?void 0:d[u];return typeof u=="string"&&!hc(c.vnode,u)?f??p:p}});return r(i,o)}),t}const mc=W(dc);function gc(t,e=!1){return e?/^#[a-fA-F0-9]{6}$/.test(t):/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/.test(t)}function bc(t){const e=t.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);if(e){const r=parseInt(e[1],10),n=parseInt(e[2],10),o=parseInt(e[3],10);return{r,g:n,b:o}}}function yc(t){if(gc(t)){t.length===4&&(t="#"+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]);const e=parseInt(t.slice(1,3),16),r=parseInt(t.slice(3,5),16),n=parseInt(t.slice(5,7),16);return{r:e,g:r,b:n}}else{const e=bc(t);if(e)return e}throw new Error("Invalid color format")}function wc(t,e){const r=an(t),n=e/100;return r.l=r.l-n*r.l,vc(r)}function kc(t){const e=t.r.toString(16).padStart(2,"0"),r=t.g.toString(16).padStart(2,"0"),n=t.b.toString(16).padStart(2,"0");return`#${e}${r}${n}`}function cn(t){return`${t.r} ${t.g} ${t.b}`}function an(t){const e=t.r/255,r=t.g/255,n=t.b/255,o=Math.max(e,r,n),s=Math.min(e,r,n);let c=0,i;const l=(o+s)/2;if(o===s)c=i=0;else{const u=o-s;switch(i=l>.5?u/(2-o-s):u/(o+s),o){case e:c=(r-n)/u+(r<n?6:0);break;case r:c=(n-e)/u+2;break;case n:c=(e-r)/u+4;break}c/=6}return{h:Math.round(c*360),s:Math.round(i*100),l:Math.round(l*100)}}function vc(t){const e=t.h/360,r=t.s/100,n=t.l/100;let o,s,c;if(r===0)o=s=c=n;else{const i=n<.5?n*(1+r):n+r-n*r,l=2*n-i;o=Ut(l,i,e+1/3),s=Ut(l,i,e),c=Ut(l,i,e-1/3)}return{r:Math.round(o*255),g:Math.round(s*255),b:Math.round(c*255)}}function Ut(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function xc(t){return t>50?"#000":"#fff"}const Ac=Symbol.for("q-theme");function ln(){const t=a.inject(Ac);if(!t)throw new Error("[Quidgest UI] Could not find theme instance");return t}function un(t){const e=a.computed(()=>a.unref(t)),r=a.computed(()=>e.value?!Ec(e.value):!1),n=a.computed(()=>{const o=e.value;if(!o)return;let s=o;const c=ln();if(r.value){const f=o;s=c.current.value.scheme[f]??o}let i;try{if(i=yc(s),!i)return}catch(f){console.error("Failed to parse color:",f);return}const l=an(i),u=xc(l.l),d=wc(i,25),p=kc(d);return{mainColor:s,mainColorRgb:cn(i),onMainColor:u,hoverColor:p,hoverColorRgb:cn(d),onHoverColor:u}});return{isUtilityColor:r,style:n}}function Ec(t){return t.startsWith("#")||t.startsWith("rgb")||t.startsWith("hsl")}const _c=["id","disabled"],Cc={key:0,class:"q-button__spinner"},Dc={class:"q-button__content"},ce=W(a.defineComponent({__name:"QButton",props:{id:{},class:{},label:{},variant:{default:"outlined"},color:{default:"primary"},disabled:{type:Boolean},borderless:{type:Boolean},elevated:{type:Boolean},block:{type:Boolean},loading:{type:Boolean},size:{default:"regular"},iconPos:{default:"start"},pill:{type:Boolean}},emits:["click"],setup(t,{emit:e}){const r=t,n=e,o=a.computed(()=>r.disabled||r.loading);function s(d){o.value||n("click",d)}const{isUtilityColor:c,style:i}=un(a.toRef(r,"color")),l=a.computed(()=>{const d=c.value?`q-button--${r.color}`:void 0,p=r.size!=="regular"?`q-button--${r.size}`:void 0,f=r.iconPos!=="start"?`q-button--icon-${r.iconPos}`:void 0;return["q-button",`q-button--${r.variant}`,d,p,f,{"q-button--borderless":r.borderless,"q-button--elevated":r.elevated,"q-button--block":r.block,"q-button--loading":r.loading,"q-button--pill":r.pill},r.class]}),u=a.computed(()=>{var d,p,f,m,h,b;if(!c.value)return{"--q-button-main-color":(d=i.value)==null?void 0:d.mainColor,"--q-button-main-color-rgb":(p=i.value)==null?void 0:p.mainColorRgb,"--q-button-on-main-color":(f=i.value)==null?void 0:f.onMainColor,"--q-button-hover-color":(m=i.value)==null?void 0:m.hoverColor,"--q-button-hover-color-rgb":(h=i.value)==null?void 0:h.hoverColorRgb,"--q-button-on-hover-color":(b=i.value)==null?void 0:b.onHoverColor}});return(d,p)=>(a.openBlock(),a.createElementBlock("button",{id:r.id,type:"button",class:a.normalizeClass(l.value),disabled:o.value,style:a.normalizeStyle(u.value),onClick:a.withModifiers(s,["stop","prevent"])},[r.loading?(a.openBlock(),a.createElementBlock("div",Cc,[a.createVNode(a.unref(mc))])):a.createCommentVNode("v-if",!0),a.createElementVNode("span",Dc,[a.renderSlot(d.$slots,"default"),a.createTextVNode(" "+a.toDisplayString(r.label),1)])],14,_c))}})),qc=a.defineComponent({__name:"QIcon",props:{id:{},class:{},icon:{},type:{default:"svg"},size:{},color:{}},setup(t){const e=t,r=a.computed(()=>{switch(e.type){case"svg":return Uc;case"font":return Oc;case"img":return Pc;default:return}}),{style:n}=un(a.toRef(e,"color")),o=a.computed(()=>{var s;return{"font-size":e.size!==void 0?`${e.size}px`:void 0,color:e.color!==void 0&&e.color!=="primary"?(s=n.value)==null?void 0:s.mainColor:void 0}});return(s,c)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(r.value),{id:e.id,class:a.normalizeClass(e.class),icon:e.icon,style:a.normalizeStyle(o.value)},null,8,["id","class","icon","style"]))}}),Sc=["id"],Rc=a.defineComponent({__name:"QIconFont",props:{id:{},class:{},icon:{},library:{default:""},variant:{}},setup(t){const e=t,r=a.computed(()=>e.variant?`${e.library}-${e.variant}`:e.library),n=a.computed(()=>e.library&&e.icon?`${e.library}-${e.icon}`:e.icon);return(o,s)=>(a.openBlock(),a.createElementBlock("i",{id:e.id,class:a.normalizeClass(["q-icon","q-icon__font",r.value,n.value,e.class])},null,10,Sc))}}),Tc=["id","src"],Lc=a.defineComponent({__name:"QIconImg",props:{id:{},class:{},icon:{}},setup(t){const e=t;return(r,n)=>(a.openBlock(),a.createElementBlock("img",{id:e.id,src:e.icon,class:a.normalizeClass(["q-icon","q-icon__img",e.class])},null,10,Tc))}}),Ue={},Nc=a.defineComponent({name:"InlineSvg",inheritAttrs:!1,props:{src:{type:String,required:!0},symbol:{type:String,default:""},title:{type:String,default:""},transformSource:{type:Function,default:void 0},keepDuringLoading:{type:Boolean,default:!0}},emits:{loaded:t=>typeof t=="object",unloaded:()=>!0,error:t=>typeof t=="object"},data(){return{svgElSource:null}},watch:{src(t){this.getSource(t)}},async mounted(){await this.getSource(this.src)},methods:{copySvgAttrs(t,e){const r=e.attributes;if(r)for(const n of r)t[n.name]=n.value},copyComponentAttrs(t,e){for(const[r,n]of Object.entries(e))n!==!1&&n!==null&&n!==void 0&&(t[r]=n)},getSvgContent(t){return this.symbol&&(t=t.getElementById(this.symbol),!t)?null:(this.transformSource&&(t=t.cloneNode(!0),t=this.transformSource(t)),this.title&&(this.transformSource||(t=t.cloneNode(!0)),Bc(t,this.title)),t)},async getSource(t){try{Ue[t]||(Ue[t]=Fc(this.download(t))),this.svgElSource&&Ue[t].getIsPending()&&!this.keepDuringLoading&&(this.svgElSource=null,this.$emit("unloaded"));const e=await Ue[t];this.svgElSource=e,await this.$nextTick(),this.$emit("loaded",this.$el)}catch(e){this.svgElSource&&(this.svgElSource=null,this.$emit("unloaded")),delete Ue[t],this.$emit("error",e)}},async download(t){const e=await fetch(t);if(!e.ok)throw new Error("Error loading SVG");const r=await e.text(),n=new DOMParser().parseFromString(r,"text/xml").getElementsByTagName("svg")[0];if(!n)throw new Error("Loaded file is not a valid SVG");return n}},render(){if(!this.svgElSource)return null;const t=this.getSvgContent(this.svgElSource);if(!t)return a.h("div",this.$attrs);const e={};return this.copySvgAttrs(e,this.svgElSource),this.copySvgAttrs(e,t),this.copyComponentAttrs(e,this.$attrs),e.innerHTML=t.innerHTML,a.h("svg",e)},expose:[]});function Bc(t,e){const r=t.getElementsByTagName("title");if(r.length)r[0].textContent=e;else{const n=document.createElementNS("http://www.w3.org/2000/svg","title");n.textContent=e,t.insertBefore(n,t.firstChild)}}function Fc(t){if(t.getIsPending)return t;let e=!0;const r=t.then(n=>(e=!1,n),n=>{throw e=!1,n});return r.getIsPending=()=>e,r}const Ic=a.defineComponent({__name:"QIconSvg",props:{id:{},class:{},icon:{},bundle:{default:""}},emits:["loaded","unloaded"],setup(t,{emit:e}){const r=t,n=e;function o(c){n("loaded",c)}function s(){n("unloaded")}return(c,i)=>(a.openBlock(),a.createBlock(a.unref(Nc),{id:r.id,class:a.normalizeClass(["q-icon","q-icon__svg",r.class]),src:r.bundle,symbol:r.icon,onLoaded:o,onUnloaded:s},null,8,["id","class","src","symbol"]))}}),ee=W(qc),Oc=W(Rc),Pc=W(Lc),Uc=W(Ic);let zc=0;function dn(t){return a.unref(t)||`uid-${++zc}`}const Mc=["id"],Vc=["for"],pn=W(a.defineComponent({inheritAttrs:!1,__name:"QLabel",props:{id:{},class:{},label:{},for:{},required:{type:Boolean}},setup(t){const e=t,r=a.computed(()=>["q-label",{"q-label--required":e.required},e.class]);return(n,o)=>(a.openBlock(),a.createElementBlock("div",{id:e.id,class:a.normalizeClass(r.value)},[a.renderSlot(n.$slots,"prepend"),a.createElementVNode("label",a.mergeProps({for:e.for},n.$attrs),[a.renderSlot(n.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(e.label),1)])],16,Vc),a.renderSlot(n.$slots,"append")],10,Mc))}})),jc=["id"],Gc={key:0,class:"q-field__prepend"},$c={key:1,class:"q-field__append"},Hc={key:1,class:"q-field__extras"},fn=W(a.defineComponent({inheritAttrs:!1,__name:"QField",props:{id:{},class:{},label:{},for:{},required:{type:Boolean},size:{default:"medium"},readonly:{type:Boolean},disabled:{type:Boolean},invalid:{type:Boolean}},setup(t,{expose:e}){const r=t,n=a.ref(null),o=a.computed(()=>r.required&&!r.readonly&&!r.disabled),s=a.computed(()=>["q-field",`q-field--${r.size}`,{"q-field--readonly":r.readonly,"q-field--disabled":r.disabled,"q-field--required":o.value,"q-field--invalid":r.invalid},r.class]);return e({fieldRef:n}),(c,i)=>(a.openBlock(),a.createElementBlock("div",{id:r.id,class:a.normalizeClass(s.value)},[r.label?(a.openBlock(),a.createBlock(a.unref(pn),{key:0,class:"q-field__label",label:r.label,for:r.for,required:r.required},{prepend:a.withCtx(()=>[a.renderSlot(c.$slots,"label.prepend")]),append:a.withCtx(()=>[a.renderSlot(c.$slots,"label.append")]),_:3},8,["label","for","required"])):a.createCommentVNode("v-if",!0),a.renderSlot(c.$slots,"control",{},()=>[a.createElementVNode("div",a.mergeProps({ref_key:"fieldRef",ref:n,class:"q-field__control"},c.$attrs),[c.$slots.prepend?(a.openBlock(),a.createElementBlock("div",Gc,[a.renderSlot(c.$slots,"prepend")])):a.createCommentVNode("v-if",!0),a.renderSlot(c.$slots,"default"),c.$slots.append?(a.openBlock(),a.createElementBlock("div",$c,[a.renderSlot(c.$slots,"append")])):a.createCommentVNode("v-if",!0)],16)]),c.$slots.extras?(a.openBlock(),a.createElementBlock("div",Hc,[a.renderSlot(c.$slots,"extras")])):a.createCommentVNode("v-if",!0)],10,jc))}})),Zc={clearValue:"Clear value"},Wc={clear:{icon:"close"}},Jc=W(a.defineComponent({__name:"QClearButton",props:{id:{},class:{},icons:{default:()=>Wc},texts:{default:()=>Zc}},emits:["click"],setup(t,{emit:e}){const r=t,n=e;function o(s){n("click",s)}return(s,c)=>(a.openBlock(),a.createBlock(a.unref(ce),{id:r.id,class:a.normalizeClass(["q-clear-btn",r.class]),"aria-label":r.texts.clearValue,variant:"ghost",color:"neutral",borderless:"",tabindex:"-1",onClick:o},{default:a.withCtx(()=>[a.createVNode(a.unref(ee),a.normalizeProps(a.guardReactiveProps(r.icons.clear)),null,16)]),_:1},8,["id","class","aria-label"]))}})),Qc=["id","type","maxlength","required","placeholder","readonly","disabled"],Yc=W(a.defineComponent({inheritAttrs:!1,__name:"QTextField",props:a.mergeModels({id:{},class:{},label:{},for:{},required:{type:Boolean},size:{},readonly:{type:Boolean},disabled:{type:Boolean},invalid:{type:Boolean},placeholder:{},maxLength:{},clearable:{type:Boolean},type:{default:"text"},texts:{}},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["click:clear"],["update:modelValue"]),setup(t,{expose:e,emit:r}){const n=t,o=r,s=a.useModel(t,"modelValue"),c=a.computed({get:()=>s.value,set:h=>{const b=n.maxLength;s.value=b?h==null?void 0:h.slice(0,b):h}});a.watch(s,h=>c.value=h,{immediate:!0});const i=dn(n.id),l=a.ref(null),u=a.ref(null),d=a.computed(()=>n.readonly||n.disabled?void 0:n.placeholder),p=a.computed(()=>n.clearable&&!n.readonly&&!n.disabled),f=a.computed(()=>p.value&&s.value);function m(h){p.value&&(s.value="",o("click:clear",h))}return e({fieldRef:a.computed(()=>{var h;return(h=l.value)==null?void 0:h.fieldRef}),inputRef:u}),(h,b)=>(a.openBlock(),a.createBlock(a.unref(fn),{ref_key:"fieldRef",ref:l,class:a.normalizeClass(["q-text-field",n.class]),for:a.unref(i),label:n.label,size:n.size,readonly:n.readonly,disabled:n.disabled,required:n.required,invalid:n.invalid},a.createSlots({"label.prepend":a.withCtx(()=>[a.renderSlot(h.$slots,"label.prepend")]),"label.append":a.withCtx(()=>[a.renderSlot(h.$slots,"label.append")]),default:a.withCtx(()=>[a.withDirectives(a.createElementVNode("input",a.mergeProps({id:a.unref(i),ref_key:"inputRef",ref:u,"onUpdate:modelValue":b[0]||(b[0]=g=>c.value=g),class:"q-text-field__input",type:n.type,maxlength:n.maxLength,required:n.required,placeholder:d.value,readonly:n.readonly,disabled:n.disabled},h.$attrs),null,16,Qc),[[a.vModelDynamic,c.value]])]),_:2},[h.$slots.prepend?{name:"prepend",fn:a.withCtx(()=>[a.renderSlot(h.$slots,"prepend")]),key:"0"}:void 0,h.$slots.append||f.value?{name:"append",fn:a.withCtx(()=>[a.renderSlot(h.$slots,"append"),f.value?(a.openBlock(),a.createBlock(a.unref(Jc),{key:0,"data-testid":"q-text-field__clear-button",texts:n.texts,onClick:m},null,8,["texts"])):a.createCommentVNode("v-if",!0)]),key:"1"}:void 0,h.$slots.extras?{name:"extras",fn:a.withCtx(()=>[a.renderSlot(h.$slots,"extras")]),key:"2"}:void 0]),1032,["class","for","label","size","readonly","disabled","required","invalid"]))}}));function hn(t){return a.getCurrentScope()?(a.onScopeDispose(t),!0):!1}const mn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Xc=Object.prototype.toString,Kc=t=>Xc.call(t)==="[object Object]",be=()=>{},ei=ti();function ti(){var t,e;return mn&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function gn(...t){if(t.length!==1)return a.toRef(...t);const e=t[0];return typeof e=="function"?a.readonly(a.customRef(()=>({get:e,set:be}))):a.ref(e)}function zt(t){return Array.isArray(t)?t:[t]}function ri(t,e,r){return a.watch(t,e,{...r,immediate:!0})}const ze=mn?window:void 0;function pe(t){var e;const r=a.toValue(t);return(e=r==null?void 0:r.$el)!=null?e:r}function Me(...t){const e=[],r=()=>{e.forEach(i=>i()),e.length=0},n=(i,l,u,d)=>(i.addEventListener(l,u,d),()=>i.removeEventListener(l,u,d)),o=a.computed(()=>{const i=zt(a.toValue(t[0])).filter(l=>l!=null);return i.every(l=>typeof l!="string")?i:void 0}),s=ri(()=>{var i,l;return[(l=(i=o.value)==null?void 0:i.map(u=>pe(u)))!=null?l:[ze].filter(u=>u!=null),zt(a.toValue(o.value?t[1]:t[0])),zt(a.unref(o.value?t[2]:t[1])),a.toValue(o.value?t[3]:t[2])]},([i,l,u,d])=>{if(r(),!(i!=null&&i.length)||!(l!=null&&l.length)||!(u!=null&&u.length))return;const p=Kc(d)?{...d}:d;e.push(...i.flatMap(f=>l.flatMap(m=>u.map(h=>n(f,m,h,p)))))},{flush:"post"}),c=()=>{s(),r()};return hn(r),c}let bn=!1;function ni(t,e,r={}){const{window:n=ze,ignore:o=[],capture:s=!0,detectIframe:c=!1,controls:i=!1}=r;if(!n)return i?{stop:be,cancel:be,trigger:be}:be;if(ei&&!bn){bn=!0;const g={passive:!0};Array.from(n.document.body.children).forEach(w=>Me(w,"click",be,g)),Me(n.document.documentElement,"click",be,g)}let l=!0;const u=g=>a.toValue(o).some(w=>{if(typeof w=="string")return Array.from(n.document.querySelectorAll(w)).some(k=>k===g.target||g.composedPath().includes(k));{const k=pe(w);return k&&(g.target===k||g.composedPath().includes(k))}});function d(g){const w=a.toValue(g);return w&&w.$.subTree.shapeFlag===16}function p(g,w){const k=a.toValue(g),C=k.$.subTree&&k.$.subTree.children;return C==null||!Array.isArray(C)?!1:C.some(q=>q.el===w.target||w.composedPath().includes(q.el))}const f=g=>{const w=pe(t);if(g.target!=null&&!(!(w instanceof Element)&&d(t)&&p(t,g))&&!(!w||w===g.target||g.composedPath().includes(w))){if("detail"in g&&g.detail===0&&(l=!u(g)),!l){l=!0;return}e(g)}};let m=!1;const h=[Me(n,"click",g=>{m||(m=!0,setTimeout(()=>{m=!1},0),f(g))},{passive:!0,capture:s}),Me(n,"pointerdown",g=>{const w=pe(t);l=!u(g)&&!!(w&&!g.composedPath().includes(w))},{passive:!0}),c&&Me(n,"blur",g=>{setTimeout(()=>{var w;const k=pe(t);((w=n.document.activeElement)==null?void 0:w.tagName)==="IFRAME"&&!(k!=null&&k.contains(n.document.activeElement))&&e(g)},0)},{passive:!0})].filter(Boolean),b=()=>h.forEach(g=>g());return i?{stop:b,cancel:()=>{l=!1},trigger:g=>{l=!0,f(g),l=!1}}:b}function oi(){const t=a.shallowRef(!1),e=a.getCurrentInstance();return e&&a.onMounted(()=>{t.value=!0},e),t}function si(t){const e=oi();return a.computed(()=>(e.value,!!t()))}function ci(t,e,r={}){const{window:n=ze,...o}=r;let s;const c=si(()=>n&&"ResizeObserver"in n),i=()=>{s&&(s.disconnect(),s=void 0)},l=a.computed(()=>{const p=a.toValue(t);return Array.isArray(p)?p.map(f=>pe(f)):[pe(p)]}),u=a.watch(l,p=>{if(i(),c.value&&n){s=new ResizeObserver(e);for(const f of p)f&&s.observe(f,o)}},{immediate:!0,flush:"post"}),d=()=>{i(),u()};return hn(d),{isSupported:c,stop:d}}function ii(t=ze,e){t&&typeof t.requestAnimationFrame=="function"?t.requestAnimationFrame(e):e()}function ai(t={}){var e,r;const{window:n=ze}=t,o=gn(t==null?void 0:t.element),s=gn((e=t==null?void 0:t.input)!=null?e:""),c=(r=t==null?void 0:t.styleProp)!=null?r:"height",i=a.shallowRef(1),l=a.shallowRef(0);function u(){var d;if(!o.value)return;let p="";o.value.style[c]="1px",i.value=(d=o.value)==null?void 0:d.scrollHeight;const f=a.toValue(t==null?void 0:t.styleTarget);f?f.style[c]=`${i.value}px`:p=`${i.value}px`,o.value.style[c]=p}return a.watch([s,o],()=>a.nextTick(u),{immediate:!0}),a.watch(i,()=>{var d;return(d=t==null?void 0:t.onResize)==null?void 0:d.call(t)}),ci(o,([{contentRect:d}])=>{l.value!==d.width&&ii(n,()=>{l.value=d.width,u()})}),t!=null&&t.watch&&a.watch(t.watch,u,{immediate:!0,deep:!0}),{textarea:o,input:s,triggerResize:u}}const li=W(a.defineComponent({__name:"QDismissibleLayer",emits:["escape-key-down","pointer-down-outside","focus-outside","interact-outside","dismiss"],setup(t,{emit:e}){const r=e,n=a.ref(null);function o(c){c.key==="Escape"&&(r("escape-key-down",c),c.defaultPrevented||r("dismiss",c))}function s(c){if(!n.value)return;const i=c.target;if(!n.value.contains(i)){const l=new CustomEvent("focus-outside",{bubbles:!1,cancelable:!0,detail:{originalEvent:c}});r("focus-outside",l),r("interact-outside",l),l.defaultPrevented||r("dismiss",l)}}return a.onMounted(()=>{document.addEventListener("keydown",o),document.addEventListener("focusin",s),ni(n,c=>{const i=new CustomEvent("pointer-down-outside",{bubbles:!1,cancelable:!0,detail:{originalEvent:c}});r("pointer-down-outside",i),r("interact-outside",i),i.defaultPrevented||r("dismiss",i)})}),a.onUnmounted(()=>{document.removeEventListener("keydown",o),document.removeEventListener("focusin",s)}),(c,i)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"layerRef",ref:n},[a.renderSlot(c.$slots,"default")],512))}}));/*!
|
|
1
|
+
(function(a,we){typeof exports=="object"&&typeof module<"u"?module.exports=we(require("vue")):typeof define=="function"&&define.amd?define(["vue"],we):(a=typeof globalThis<"u"?globalThis:a||self,a.ChatBotFrontend=we(a.vue))})(this,function(a){"use strict";function we(e,u){return function(){return e.apply(u,arguments)}}const{toString:dr}=Object.prototype,{getPrototypeOf:wu}=Object,{iterator:Je,toStringTag:ht}=Symbol,Ye=(e=>u=>{const t=dr.call(u);return e[t]||(e[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),oe=e=>(e=e.toLowerCase(),u=>Ye(u)===e),Xe=e=>u=>typeof u===e,{isArray:De}=Array,Le=Xe("undefined");function fr(e){return e!==null&&!Le(e)&&e.constructor!==null&&!Le(e.constructor)&&Y(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const bt=oe("ArrayBuffer");function pr(e){let u;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?u=ArrayBuffer.isView(e):u=e&&e.buffer&&bt(e.buffer),u}const hr=Xe("string"),Y=Xe("function"),mt=Xe("number"),Ke=e=>e!==null&&typeof e=="object",br=e=>e===!0||e===!1,eu=e=>{if(Ye(e)!=="object")return!1;const u=wu(e);return(u===null||u===Object.prototype||Object.getPrototypeOf(u)===null)&&!(ht in e)&&!(Je in e)},mr=oe("Date"),gr=oe("File"),xr=oe("Blob"),yr=oe("FileList"),kr=e=>Ke(e)&&Y(e.pipe),_r=e=>{let u;return e&&(typeof FormData=="function"&&e instanceof FormData||Y(e.append)&&((u=Ye(e))==="formdata"||u==="object"&&Y(e.toString)&&e.toString()==="[object FormData]"))},Er=oe("URLSearchParams"),[Ar,Cr,wr,Dr]=["ReadableStream","Request","Response","Headers"].map(oe),Fr=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Pe(e,u,{allOwnKeys:t=!1}={}){if(e===null||typeof e>"u")return;let n,r;if(typeof e!="object"&&(e=[e]),De(e))for(n=0,r=e.length;n<r;n++)u.call(null,e[n],n,e);else{const o=t?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let c;for(n=0;n<i;n++)c=o[n],u.call(null,e[c],c,e)}}function gt(e,u){u=u.toLowerCase();const t=Object.keys(e);let n=t.length,r;for(;n-- >0;)if(r=t[n],u===r.toLowerCase())return r;return null}const ye=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,xt=e=>!Le(e)&&e!==ye;function Du(){const{caseless:e}=xt(this)&&this||{},u={},t=(n,r)=>{const o=e&>(u,r)||r;eu(u[o])&&eu(n)?u[o]=Du(u[o],n):eu(n)?u[o]=Du({},n):De(n)?u[o]=n.slice():u[o]=n};for(let n=0,r=arguments.length;n<r;n++)arguments[n]&&Pe(arguments[n],t);return u}const Sr=(e,u,t,{allOwnKeys:n}={})=>(Pe(u,(r,o)=>{t&&Y(r)?e[o]=we(r,t):e[o]=r},{allOwnKeys:n}),e),vr=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Br=(e,u,t,n)=>{e.prototype=Object.create(u.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:u.prototype}),t&&Object.assign(e.prototype,t)},Rr=(e,u,t,n)=>{let r,o,i;const c={};if(u=u||{},e==null)return u;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!n||n(i,e,u))&&!c[i]&&(u[i]=e[i],c[i]=!0);e=t!==!1&&wu(e)}while(e&&(!t||t(e,u))&&e!==Object.prototype);return u},Tr=(e,u,t)=>{e=String(e),(t===void 0||t>e.length)&&(t=e.length),t-=u.length;const n=e.indexOf(u,t);return n!==-1&&n===t},Nr=e=>{if(!e)return null;if(De(e))return e;let u=e.length;if(!mt(u))return null;const t=new Array(u);for(;u-- >0;)t[u]=e[u];return t},Ir=(e=>u=>e&&u instanceof e)(typeof Uint8Array<"u"&&wu(Uint8Array)),Or=(e,u)=>{const n=(e&&e[Je]).call(e);let r;for(;(r=n.next())&&!r.done;){const o=r.value;u.call(e,o[0],o[1])}},Lr=(e,u)=>{let t;const n=[];for(;(t=e.exec(u))!==null;)n.push(t);return n},Pr=oe("HTMLFormElement"),Mr=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),yt=(({hasOwnProperty:e})=>(u,t)=>e.call(u,t))(Object.prototype),zr=oe("RegExp"),kt=(e,u)=>{const t=Object.getOwnPropertyDescriptors(e),n={};Pe(t,(r,o)=>{let i;(i=u(r,o,e))!==!1&&(n[o]=i||r)}),Object.defineProperties(e,n)},qr=e=>{kt(e,(u,t)=>{if(Y(e)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const n=e[t];if(Y(n)){if(u.enumerable=!1,"writable"in u){u.writable=!1;return}u.set||(u.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},Ur=(e,u)=>{const t={},n=r=>{r.forEach(o=>{t[o]=!0})};return De(e)?n(e):n(String(e).split(u)),t},jr=()=>{},Vr=(e,u)=>e!=null&&Number.isFinite(e=+e)?e:u;function $r(e){return!!(e&&Y(e.append)&&e[ht]==="FormData"&&e[Je])}const Gr=e=>{const u=new Array(10),t=(n,r)=>{if(Ke(n)){if(u.indexOf(n)>=0)return;if(!("toJSON"in n)){u[r]=n;const o=De(n)?[]:{};return Pe(n,(i,c)=>{const s=t(i,r+1);!Le(s)&&(o[c]=s)}),u[r]=void 0,o}}return n};return t(e,0)},Hr=oe("AsyncFunction"),Wr=e=>e&&(Ke(e)||Y(e))&&Y(e.then)&&Y(e.catch),_t=((e,u)=>e?setImmediate:u?((t,n)=>(ye.addEventListener("message",({source:r,data:o})=>{r===ye&&o===t&&n.length&&n.shift()()},!1),r=>{n.push(r),ye.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",Y(ye.postMessage)),Zr=typeof queueMicrotask<"u"?queueMicrotask.bind(ye):typeof process<"u"&&process.nextTick||_t,m={isArray:De,isArrayBuffer:bt,isBuffer:fr,isFormData:_r,isArrayBufferView:pr,isString:hr,isNumber:mt,isBoolean:br,isObject:Ke,isPlainObject:eu,isReadableStream:Ar,isRequest:Cr,isResponse:wr,isHeaders:Dr,isUndefined:Le,isDate:mr,isFile:gr,isBlob:xr,isRegExp:zr,isFunction:Y,isStream:kr,isURLSearchParams:Er,isTypedArray:Ir,isFileList:yr,forEach:Pe,merge:Du,extend:Sr,trim:Fr,stripBOM:vr,inherits:Br,toFlatObject:Rr,kindOf:Ye,kindOfTest:oe,endsWith:Tr,toArray:Nr,forEachEntry:Or,matchAll:Lr,isHTMLForm:Pr,hasOwnProperty:yt,hasOwnProp:yt,reduceDescriptors:kt,freezeMethods:qr,toObjectSet:Ur,toCamelCase:Mr,noop:jr,toFiniteNumber:Vr,findKey:gt,global:ye,isContextDefined:xt,isSpecCompliantForm:$r,toJSONObject:Gr,isAsyncFn:Hr,isThenable:Wr,setImmediate:_t,asap:Zr,isIterable:e=>e!=null&&Y(e[Je])};function R(e,u,t,n,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",u&&(this.code=u),t&&(this.config=t),n&&(this.request=n),r&&(this.response=r,this.status=r.status?r.status:null)}m.inherits(R,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:m.toJSONObject(this.config),code:this.code,status:this.status}}});const Et=R.prototype,At={};["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(e=>{At[e]={value:e}}),Object.defineProperties(R,At),Object.defineProperty(Et,"isAxiosError",{value:!0}),R.from=(e,u,t,n,r,o)=>{const i=Object.create(Et);return m.toFlatObject(e,i,function(s){return s!==Error.prototype},c=>c!=="isAxiosError"),R.call(i,e.message,u,t,n,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Qr=null;function Fu(e){return m.isPlainObject(e)||m.isArray(e)}function Ct(e){return m.endsWith(e,"[]")?e.slice(0,-2):e}function wt(e,u,t){return e?e.concat(u).map(function(r,o){return r=Ct(r),!t&&o?"["+r+"]":r}).join(t?".":""):u}function Jr(e){return m.isArray(e)&&!e.some(Fu)}const Yr=m.toFlatObject(m,{},null,function(u){return/^is[A-Z]/.test(u)});function uu(e,u,t){if(!m.isObject(e))throw new TypeError("target must be an object");u=u||new FormData,t=m.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,x){return!m.isUndefined(x[g])});const n=t.metaTokens,r=t.visitor||d,o=t.dots,i=t.indexes,s=(t.Blob||typeof Blob<"u"&&Blob)&&m.isSpecCompliantForm(u);if(!m.isFunction(r))throw new TypeError("visitor must be a function");function l(p){if(p===null)return"";if(m.isDate(p))return p.toISOString();if(m.isBoolean(p))return p.toString();if(!s&&m.isBlob(p))throw new R("Blob is not supported. Use a Buffer instead.");return m.isArrayBuffer(p)||m.isTypedArray(p)?s&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function d(p,g,x){let C=p;if(p&&!x&&typeof p=="object"){if(m.endsWith(g,"{}"))g=n?g:g.slice(0,-2),p=JSON.stringify(p);else if(m.isArray(p)&&Jr(p)||(m.isFileList(p)||m.endsWith(g,"[]"))&&(C=m.toArray(p)))return g=Ct(g),C.forEach(function(E,A){!(m.isUndefined(E)||E===null)&&u.append(i===!0?wt([g],A,o):i===null?g:g+"[]",l(E))}),!1}return Fu(p)?!0:(u.append(wt(x,g,o),l(p)),!1)}const f=[],h=Object.assign(Yr,{defaultVisitor:d,convertValue:l,isVisitable:Fu});function b(p,g){if(!m.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(p),m.forEach(p,function(C,k){(!(m.isUndefined(C)||C===null)&&r.call(u,C,m.isString(k)?k.trim():k,g,h))===!0&&b(C,g?g.concat(k):[k])}),f.pop()}}if(!m.isObject(e))throw new TypeError("data must be an object");return b(e),u}function Dt(e){const u={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return u[n]})}function Su(e,u){this._pairs=[],e&&uu(e,this,u)}const Ft=Su.prototype;Ft.append=function(u,t){this._pairs.push([u,t])},Ft.toString=function(u){const t=u?function(n){return u.call(this,n,Dt)}:Dt;return this._pairs.map(function(r){return t(r[0])+"="+t(r[1])},"").join("&")};function Xr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function St(e,u,t){if(!u)return e;const n=t&&t.encode||Xr;m.isFunction(t)&&(t={serialize:t});const r=t&&t.serialize;let o;if(r?o=r(u,t):o=m.isURLSearchParams(u)?u.toString():new Su(u,t).toString(n),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class vt{constructor(){this.handlers=[]}use(u,t,n){return this.handlers.push({fulfilled:u,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(u){this.handlers[u]&&(this.handlers[u]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(u){m.forEach(this.handlers,function(n){n!==null&&u(n)})}}const Bt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Kr={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Su,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},vu=typeof window<"u"&&typeof document<"u",Bu=typeof navigator=="object"&&navigator||void 0,eo=vu&&(!Bu||["ReactNative","NativeScript","NS"].indexOf(Bu.product)<0),uo=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",to=vu&&window.location.href||"http://localhost",Q={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:vu,hasStandardBrowserEnv:eo,hasStandardBrowserWebWorkerEnv:uo,navigator:Bu,origin:to},Symbol.toStringTag,{value:"Module"})),...Kr};function no(e,u){return uu(e,new Q.classes.URLSearchParams,Object.assign({visitor:function(t,n,r,o){return Q.isNode&&m.isBuffer(t)?(this.append(n,t.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},u))}function ro(e){return m.matchAll(/\w+|\[(\w*)]/g,e).map(u=>u[0]==="[]"?"":u[1]||u[0])}function oo(e){const u={},t=Object.keys(e);let n;const r=t.length;let o;for(n=0;n<r;n++)o=t[n],u[o]=e[o];return u}function Rt(e){function u(t,n,r,o){let i=t[o++];if(i==="__proto__")return!0;const c=Number.isFinite(+i),s=o>=t.length;return i=!i&&m.isArray(r)?r.length:i,s?(m.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!c):((!r[i]||!m.isObject(r[i]))&&(r[i]=[]),u(t,n,r[i],o)&&m.isArray(r[i])&&(r[i]=oo(r[i])),!c)}if(m.isFormData(e)&&m.isFunction(e.entries)){const t={};return m.forEachEntry(e,(n,r)=>{u(ro(n),r,t,0)}),t}return null}function io(e,u,t){if(m.isString(e))try{return(u||JSON.parse)(e),m.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(t||JSON.stringify)(e)}const Me={transitional:Bt,adapter:["xhr","http","fetch"],transformRequest:[function(u,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=m.isObject(u);if(o&&m.isHTMLForm(u)&&(u=new FormData(u)),m.isFormData(u))return r?JSON.stringify(Rt(u)):u;if(m.isArrayBuffer(u)||m.isBuffer(u)||m.isStream(u)||m.isFile(u)||m.isBlob(u)||m.isReadableStream(u))return u;if(m.isArrayBufferView(u))return u.buffer;if(m.isURLSearchParams(u))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),u.toString();let c;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return no(u,this.formSerializer).toString();if((c=m.isFileList(u))||n.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return uu(c?{"files[]":u}:u,s&&new s,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),io(u)):u}],transformResponse:[function(u){const t=this.transitional||Me.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(m.isResponse(u)||m.isReadableStream(u))return u;if(u&&m.isString(u)&&(n&&!this.responseType||r)){const i=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(u)}catch(c){if(i)throw c.name==="SyntaxError"?R.from(c,R.ERR_BAD_RESPONSE,this,null,this.response):c}}return u}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Q.classes.FormData,Blob:Q.classes.Blob},validateStatus:function(u){return u>=200&&u<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};m.forEach(["delete","get","head","post","put","patch"],e=>{Me.headers[e]={}});const ao=m.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"]),co=e=>{const u={};let t,n,r;return e&&e.split(`
|
|
2
|
+
`).forEach(function(i){r=i.indexOf(":"),t=i.substring(0,r).trim().toLowerCase(),n=i.substring(r+1).trim(),!(!t||u[t]&&ao[t])&&(t==="set-cookie"?u[t]?u[t].push(n):u[t]=[n]:u[t]=u[t]?u[t]+", "+n:n)}),u},Tt=Symbol("internals");function ze(e){return e&&String(e).trim().toLowerCase()}function tu(e){return e===!1||e==null?e:m.isArray(e)?e.map(tu):String(e)}function so(e){const u=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=t.exec(e);)u[n[1]]=n[2];return u}const lo=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ru(e,u,t,n,r){if(m.isFunction(n))return n.call(this,u,t);if(r&&(u=t),!!m.isString(u)){if(m.isString(n))return u.indexOf(n)!==-1;if(m.isRegExp(n))return n.test(u)}}function fo(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(u,t,n)=>t.toUpperCase()+n)}function po(e,u){const t=m.toCamelCase(" "+u);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+t,{value:function(r,o,i){return this[n].call(this,u,r,o,i)},configurable:!0})})}let X=class{constructor(u){u&&this.set(u)}set(u,t,n){const r=this;function o(c,s,l){const d=ze(s);if(!d)throw new Error("header name must be a non-empty string");const f=m.findKey(r,d);(!f||r[f]===void 0||l===!0||l===void 0&&r[f]!==!1)&&(r[f||s]=tu(c))}const i=(c,s)=>m.forEach(c,(l,d)=>o(l,d,s));if(m.isPlainObject(u)||u instanceof this.constructor)i(u,t);else if(m.isString(u)&&(u=u.trim())&&!lo(u))i(co(u),t);else if(m.isObject(u)&&m.isIterable(u)){let c={},s,l;for(const d of u){if(!m.isArray(d))throw TypeError("Object iterator must return a key-value pair");c[l=d[0]]=(s=c[l])?m.isArray(s)?[...s,d[1]]:[s,d[1]]:d[1]}i(c,t)}else u!=null&&o(t,u,n);return this}get(u,t){if(u=ze(u),u){const n=m.findKey(this,u);if(n){const r=this[n];if(!t)return r;if(t===!0)return so(r);if(m.isFunction(t))return t.call(this,r,n);if(m.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(u,t){if(u=ze(u),u){const n=m.findKey(this,u);return!!(n&&this[n]!==void 0&&(!t||Ru(this,this[n],n,t)))}return!1}delete(u,t){const n=this;let r=!1;function o(i){if(i=ze(i),i){const c=m.findKey(n,i);c&&(!t||Ru(n,n[c],c,t))&&(delete n[c],r=!0)}}return m.isArray(u)?u.forEach(o):o(u),r}clear(u){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];(!u||Ru(this,this[o],o,u,!0))&&(delete this[o],r=!0)}return r}normalize(u){const t=this,n={};return m.forEach(this,(r,o)=>{const i=m.findKey(n,o);if(i){t[i]=tu(r),delete t[o];return}const c=u?fo(o):String(o).trim();c!==o&&delete t[o],t[c]=tu(r),n[c]=!0}),this}concat(...u){return this.constructor.concat(this,...u)}toJSON(u){const t=Object.create(null);return m.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=u&&m.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([u,t])=>u+": "+t).join(`
|
|
3
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(u){return u instanceof this?u:new this(u)}static concat(u,...t){const n=new this(u);return t.forEach(r=>n.set(r)),n}static accessor(u){const n=(this[Tt]=this[Tt]={accessors:{}}).accessors,r=this.prototype;function o(i){const c=ze(i);n[c]||(po(r,i),n[c]=!0)}return m.isArray(u)?u.forEach(o):o(u),this}};X.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),m.reduceDescriptors(X.prototype,({value:e},u)=>{let t=u[0].toUpperCase()+u.slice(1);return{get:()=>e,set(n){this[t]=n}}}),m.freezeMethods(X);function Tu(e,u){const t=this||Me,n=u||t,r=X.from(n.headers);let o=n.data;return m.forEach(e,function(c){o=c.call(t,o,r.normalize(),u?u.status:void 0)}),r.normalize(),o}function Nt(e){return!!(e&&e.__CANCEL__)}function Fe(e,u,t){R.call(this,e??"canceled",R.ERR_CANCELED,u,t),this.name="CanceledError"}m.inherits(Fe,R,{__CANCEL__:!0});function It(e,u,t){const n=t.config.validateStatus;!t.status||!n||n(t.status)?e(t):u(new R("Request failed with status code "+t.status,[R.ERR_BAD_REQUEST,R.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function ho(e){const u=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return u&&u[1]||""}function bo(e,u){e=e||10;const t=new Array(e),n=new Array(e);let r=0,o=0,i;return u=u!==void 0?u:1e3,function(s){const l=Date.now(),d=n[o];i||(i=l),t[r]=s,n[r]=l;let f=o,h=0;for(;f!==r;)h+=t[f++],f=f%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),l-i<u)return;const b=d&&l-d;return b?Math.round(h*1e3/b):void 0}}function mo(e,u){let t=0,n=1e3/u,r,o;const i=(l,d=Date.now())=>{t=d,r=null,o&&(clearTimeout(o),o=null),e.apply(null,l)};return[(...l)=>{const d=Date.now(),f=d-t;f>=n?i(l,d):(r=l,o||(o=setTimeout(()=>{o=null,i(r)},n-f)))},()=>r&&i(r)]}const nu=(e,u,t=3)=>{let n=0;const r=bo(50,250);return mo(o=>{const i=o.loaded,c=o.lengthComputable?o.total:void 0,s=i-n,l=r(s),d=i<=c;n=i;const f={loaded:i,total:c,progress:c?i/c:void 0,bytes:s,rate:l||void 0,estimated:l&&c&&d?(c-i)/l:void 0,event:o,lengthComputable:c!=null,[u?"download":"upload"]:!0};e(f)},t)},Ot=(e,u)=>{const t=e!=null;return[n=>u[0]({lengthComputable:t,total:e,loaded:n}),u[1]]},Lt=e=>(...u)=>m.asap(()=>e(...u)),go=Q.hasStandardBrowserEnv?((e,u)=>t=>(t=new URL(t,Q.origin),e.protocol===t.protocol&&e.host===t.host&&(u||e.port===t.port)))(new URL(Q.origin),Q.navigator&&/(msie|trident)/i.test(Q.navigator.userAgent)):()=>!0,xo=Q.hasStandardBrowserEnv?{write(e,u,t,n,r,o){const i=[e+"="+encodeURIComponent(u)];m.isNumber(t)&&i.push("expires="+new Date(t).toGMTString()),m.isString(n)&&i.push("path="+n),m.isString(r)&&i.push("domain="+r),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const u=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return u?decodeURIComponent(u[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function yo(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ko(e,u){return u?e.replace(/\/?\/$/,"")+"/"+u.replace(/^\/+/,""):e}function Pt(e,u,t){let n=!yo(u);return e&&(n||t==!1)?ko(e,u):u}const Mt=e=>e instanceof X?{...e}:e;function ke(e,u){u=u||{};const t={};function n(l,d,f,h){return m.isPlainObject(l)&&m.isPlainObject(d)?m.merge.call({caseless:h},l,d):m.isPlainObject(d)?m.merge({},d):m.isArray(d)?d.slice():d}function r(l,d,f,h){if(m.isUndefined(d)){if(!m.isUndefined(l))return n(void 0,l,f,h)}else return n(l,d,f,h)}function o(l,d){if(!m.isUndefined(d))return n(void 0,d)}function i(l,d){if(m.isUndefined(d)){if(!m.isUndefined(l))return n(void 0,l)}else return n(void 0,d)}function c(l,d,f){if(f in u)return n(l,d);if(f in e)return n(void 0,l)}const s={url:o,method:o,data:o,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:c,headers:(l,d,f)=>r(Mt(l),Mt(d),f,!0)};return m.forEach(Object.keys(Object.assign({},e,u)),function(d){const f=s[d]||r,h=f(e[d],u[d],d);m.isUndefined(h)&&f!==c||(t[d]=h)}),t}const zt=e=>{const u=ke({},e);let{data:t,withXSRFToken:n,xsrfHeaderName:r,xsrfCookieName:o,headers:i,auth:c}=u;u.headers=i=X.from(i),u.url=St(Pt(u.baseURL,u.url,u.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&i.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let s;if(m.isFormData(t)){if(Q.hasStandardBrowserEnv||Q.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((s=i.getContentType())!==!1){const[l,...d]=s?s.split(";").map(f=>f.trim()).filter(Boolean):[];i.setContentType([l||"multipart/form-data",...d].join("; "))}}if(Q.hasStandardBrowserEnv&&(n&&m.isFunction(n)&&(n=n(u)),n||n!==!1&&go(u.url))){const l=r&&o&&xo.read(o);l&&i.set(r,l)}return u},_o=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(t,n){const r=zt(e);let o=r.data;const i=X.from(r.headers).normalize();let{responseType:c,onUploadProgress:s,onDownloadProgress:l}=r,d,f,h,b,p;function g(){b&&b(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(d),r.signal&&r.signal.removeEventListener("abort",d)}let x=new XMLHttpRequest;x.open(r.method.toUpperCase(),r.url,!0),x.timeout=r.timeout;function C(){if(!x)return;const E=X.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),w={data:!c||c==="text"||c==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:E,config:e,request:x};It(function(T){t(T),g()},function(T){n(T),g()},w),x=null}"onloadend"in x?x.onloadend=C:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(C)},x.onabort=function(){x&&(n(new R("Request aborted",R.ECONNABORTED,e,x)),x=null)},x.onerror=function(){n(new R("Network Error",R.ERR_NETWORK,e,x)),x=null},x.ontimeout=function(){let A=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const w=r.transitional||Bt;r.timeoutErrorMessage&&(A=r.timeoutErrorMessage),n(new R(A,w.clarifyTimeoutError?R.ETIMEDOUT:R.ECONNABORTED,e,x)),x=null},o===void 0&&i.setContentType(null),"setRequestHeader"in x&&m.forEach(i.toJSON(),function(A,w){x.setRequestHeader(w,A)}),m.isUndefined(r.withCredentials)||(x.withCredentials=!!r.withCredentials),c&&c!=="json"&&(x.responseType=r.responseType),l&&([h,p]=nu(l,!0),x.addEventListener("progress",h)),s&&x.upload&&([f,b]=nu(s),x.upload.addEventListener("progress",f),x.upload.addEventListener("loadend",b)),(r.cancelToken||r.signal)&&(d=E=>{x&&(n(!E||E.type?new Fe(null,e,x):E),x.abort(),x=null)},r.cancelToken&&r.cancelToken.subscribe(d),r.signal&&(r.signal.aborted?d():r.signal.addEventListener("abort",d)));const k=ho(r.url);if(k&&Q.protocols.indexOf(k)===-1){n(new R("Unsupported protocol "+k+":",R.ERR_BAD_REQUEST,e));return}x.send(o||null)})},Eo=(e,u)=>{const{length:t}=e=e?e.filter(Boolean):[];if(u||t){let n=new AbortController,r;const o=function(l){if(!r){r=!0,c();const d=l instanceof Error?l:this.reason;n.abort(d instanceof R?d:new Fe(d instanceof Error?d.message:d))}};let i=u&&setTimeout(()=>{i=null,o(new R(`timeout ${u} of ms exceeded`,R.ETIMEDOUT))},u);const c=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(o):l.removeEventListener("abort",o)}),e=null)};e.forEach(l=>l.addEventListener("abort",o));const{signal:s}=n;return s.unsubscribe=()=>m.asap(c),s}},Ao=function*(e,u){let t=e.byteLength;if(t<u){yield e;return}let n=0,r;for(;n<t;)r=n+u,yield e.slice(n,r),n=r},Co=async function*(e,u){for await(const t of wo(e))yield*Ao(t,u)},wo=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const u=e.getReader();try{for(;;){const{done:t,value:n}=await u.read();if(t)break;yield n}}finally{await u.cancel()}},qt=(e,u,t,n)=>{const r=Co(e,u);let o=0,i,c=s=>{i||(i=!0,n&&n(s))};return new ReadableStream({async pull(s){try{const{done:l,value:d}=await r.next();if(l){c(),s.close();return}let f=d.byteLength;if(t){let h=o+=f;t(h)}s.enqueue(new Uint8Array(d))}catch(l){throw c(l),l}},cancel(s){return c(s),r.return()}},{highWaterMark:2})},ru=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ut=ru&&typeof ReadableStream=="function",Do=ru&&(typeof TextEncoder=="function"?(e=>u=>e.encode(u))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),jt=(e,...u)=>{try{return!!e(...u)}catch{return!1}},Fo=Ut&&jt(()=>{let e=!1;const u=new Request(Q.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!u}),Vt=64*1024,Nu=Ut&&jt(()=>m.isReadableStream(new Response("").body)),ou={stream:Nu&&(e=>e.body)};ru&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(u=>{!ou[u]&&(ou[u]=m.isFunction(e[u])?t=>t[u]():(t,n)=>{throw new R(`Response type '${u}' is not supported`,R.ERR_NOT_SUPPORT,n)})})})(new Response);const So=async e=>{if(e==null)return 0;if(m.isBlob(e))return e.size;if(m.isSpecCompliantForm(e))return(await new Request(Q.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(m.isArrayBufferView(e)||m.isArrayBuffer(e))return e.byteLength;if(m.isURLSearchParams(e)&&(e=e+""),m.isString(e))return(await Do(e)).byteLength},vo=async(e,u)=>{const t=m.toFiniteNumber(e.getContentLength());return t??So(u)},Iu={http:Qr,xhr:_o,fetch:ru&&(async e=>{let{url:u,method:t,data:n,signal:r,cancelToken:o,timeout:i,onDownloadProgress:c,onUploadProgress:s,responseType:l,headers:d,withCredentials:f="same-origin",fetchOptions:h}=zt(e);l=l?(l+"").toLowerCase():"text";let b=Eo([r,o&&o.toAbortSignal()],i),p;const g=b&&b.unsubscribe&&(()=>{b.unsubscribe()});let x;try{if(s&&Fo&&t!=="get"&&t!=="head"&&(x=await vo(d,n))!==0){let w=new Request(u,{method:"POST",body:n,duplex:"half"}),F;if(m.isFormData(n)&&(F=w.headers.get("content-type"))&&d.setContentType(F),w.body){const[T,U]=Ot(x,nu(Lt(s)));n=qt(w.body,Vt,T,U)}}m.isString(f)||(f=f?"include":"omit");const C="credentials"in Request.prototype;p=new Request(u,{...h,signal:b,method:t.toUpperCase(),headers:d.normalize().toJSON(),body:n,duplex:"half",credentials:C?f:void 0});let k=await fetch(p,h);const E=Nu&&(l==="stream"||l==="response");if(Nu&&(c||E&&g)){const w={};["status","statusText","headers"].forEach(V=>{w[V]=k[V]});const F=m.toFiniteNumber(k.headers.get("content-length")),[T,U]=c&&Ot(F,nu(Lt(c),!0))||[];k=new Response(qt(k.body,Vt,T,()=>{U&&U(),g&&g()}),w)}l=l||"text";let A=await ou[m.findKey(ou,l)||"text"](k,e);return!E&&g&&g(),await new Promise((w,F)=>{It(w,F,{data:A,headers:X.from(k.headers),status:k.status,statusText:k.statusText,config:e,request:p})})}catch(C){throw g&&g(),C&&C.name==="TypeError"&&/Load failed|fetch/i.test(C.message)?Object.assign(new R("Network Error",R.ERR_NETWORK,e,p),{cause:C.cause||C}):R.from(C,C&&C.code,e,p)}})};m.forEach(Iu,(e,u)=>{if(e){try{Object.defineProperty(e,"name",{value:u})}catch{}Object.defineProperty(e,"adapterName",{value:u})}});const $t=e=>`- ${e}`,Bo=e=>m.isFunction(e)||e===null||e===!1,Gt={getAdapter:e=>{e=m.isArray(e)?e:[e];const{length:u}=e;let t,n;const r={};for(let o=0;o<u;o++){t=e[o];let i;if(n=t,!Bo(t)&&(n=Iu[(i=String(t)).toLowerCase()],n===void 0))throw new R(`Unknown adapter '${i}'`);if(n)break;r[i||"#"+o]=n}if(!n){const o=Object.entries(r).map(([c,s])=>`adapter ${c} `+(s===!1?"is not supported by the environment":"is not available in the build"));let i=u?o.length>1?`since :
|
|
4
|
+
`+o.map($t).join(`
|
|
5
|
+
`):" "+$t(o[0]):"as no adapter specified";throw new R("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n},adapters:Iu};function Ou(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Fe(null,e)}function Ht(e){return Ou(e),e.headers=X.from(e.headers),e.data=Tu.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Gt.getAdapter(e.adapter||Me.adapter)(e).then(function(n){return Ou(e),n.data=Tu.call(e,e.transformResponse,n),n.headers=X.from(n.headers),n},function(n){return Nt(n)||(Ou(e),n&&n.response&&(n.response.data=Tu.call(e,e.transformResponse,n.response),n.response.headers=X.from(n.response.headers))),Promise.reject(n)})}const Wt="1.10.0",iu={};["object","boolean","number","function","string","symbol"].forEach((e,u)=>{iu[e]=function(n){return typeof n===e||"a"+(u<1?"n ":" ")+e}});const Zt={};iu.transitional=function(u,t,n){function r(o,i){return"[Axios v"+Wt+"] Transitional option '"+o+"'"+i+(n?". "+n:"")}return(o,i,c)=>{if(u===!1)throw new R(r(i," has been removed"+(t?" in "+t:"")),R.ERR_DEPRECATED);return t&&!Zt[i]&&(Zt[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),u?u(o,i,c):!0}},iu.spelling=function(u){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${u}`),!0)};function Ro(e,u,t){if(typeof e!="object")throw new R("options must be an object",R.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let r=n.length;for(;r-- >0;){const o=n[r],i=u[o];if(i){const c=e[o],s=c===void 0||i(c,o,e);if(s!==!0)throw new R("option "+o+" must be "+s,R.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new R("Unknown option "+o,R.ERR_BAD_OPTION)}}const au={assertOptions:Ro,validators:iu},ce=au.validators;let _e=class{constructor(u){this.defaults=u||{},this.interceptors={request:new vt,response:new vt}}async request(u,t){try{return await this._request(u,t)}catch(n){if(n instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
6
|
+
`+o):n.stack=o}catch{}}throw n}}_request(u,t){typeof u=="string"?(t=t||{},t.url=u):t=u||{},t=ke(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;n!==void 0&&au.assertOptions(n,{silentJSONParsing:ce.transitional(ce.boolean),forcedJSONParsing:ce.transitional(ce.boolean),clarifyTimeoutError:ce.transitional(ce.boolean)},!1),r!=null&&(m.isFunction(r)?t.paramsSerializer={serialize:r}:au.assertOptions(r,{encode:ce.function,serialize:ce.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),au.assertOptions(t,{baseUrl:ce.spelling("baseURL"),withXsrfToken:ce.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&m.merge(o.common,o[t.method]);o&&m.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),t.headers=X.concat(i,o);const c=[];let s=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(t)===!1||(s=s&&g.synchronous,c.unshift(g.fulfilled,g.rejected))});const l=[];this.interceptors.response.forEach(function(g){l.push(g.fulfilled,g.rejected)});let d,f=0,h;if(!s){const p=[Ht.bind(this),void 0];for(p.unshift.apply(p,c),p.push.apply(p,l),h=p.length,d=Promise.resolve(t);f<h;)d=d.then(p[f++],p[f++]);return d}h=c.length;let b=t;for(f=0;f<h;){const p=c[f++],g=c[f++];try{b=p(b)}catch(x){g.call(this,x);break}}try{d=Ht.call(this,b)}catch(p){return Promise.reject(p)}for(f=0,h=l.length;f<h;)d=d.then(l[f++],l[f++]);return d}getUri(u){u=ke(this.defaults,u);const t=Pt(u.baseURL,u.url,u.allowAbsoluteUrls);return St(t,u.params,u.paramsSerializer)}};m.forEach(["delete","get","head","options"],function(u){_e.prototype[u]=function(t,n){return this.request(ke(n||{},{method:u,url:t,data:(n||{}).data}))}}),m.forEach(["post","put","patch"],function(u){function t(n){return function(o,i,c){return this.request(ke(c||{},{method:u,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}_e.prototype[u]=t(),_e.prototype[u+"Form"]=t(!0)});let To=class lr{constructor(u){if(typeof u!="function")throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(o){t=o});const n=this;this.promise.then(r=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](r);n._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(c=>{n.subscribe(c),o=c}).then(r);return i.cancel=function(){n.unsubscribe(o)},i},u(function(o,i,c){n.reason||(n.reason=new Fe(o,i,c),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(u){if(this.reason){u(this.reason);return}this._listeners?this._listeners.push(u):this._listeners=[u]}unsubscribe(u){if(!this._listeners)return;const t=this._listeners.indexOf(u);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){const u=new AbortController,t=n=>{u.abort(n)};return this.subscribe(t),u.signal.unsubscribe=()=>this.unsubscribe(t),u.signal}static source(){let u;return{token:new lr(function(r){u=r}),cancel:u}}};function No(e){return function(t){return e.apply(null,t)}}function Io(e){return m.isObject(e)&&e.isAxiosError===!0}const Lu={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(Lu).forEach(([e,u])=>{Lu[u]=e});function Qt(e){const u=new _e(e),t=we(_e.prototype.request,u);return m.extend(t,_e.prototype,u,{allOwnKeys:!0}),m.extend(t,u,null,{allOwnKeys:!0}),t.create=function(r){return Qt(ke(e,r))},t}const q=Qt(Me);q.Axios=_e,q.CanceledError=Fe,q.CancelToken=To,q.isCancel=Nt,q.VERSION=Wt,q.toFormData=uu,q.AxiosError=R,q.Cancel=q.CanceledError,q.all=function(u){return Promise.all(u)},q.spread=No,q.isAxiosError=Io,q.mergeConfig=ke,q.AxiosHeaders=X,q.formToJSON=e=>Rt(m.isHTMLForm(e)?new FormData(e):e),q.getAdapter=Gt.getAdapter,q.HttpStatusCode=Lu,q.default=q;const{Axios:xl,AxiosError:yl,CanceledError:kl,isCancel:_l,CancelToken:El,VERSION:Al,all:Cl,Cancel:wl,isAxiosError:Dl,spread:Fl,toFormData:Sl,AxiosHeaders:vl,HttpStatusCode:Bl,formToJSON:Rl,getAdapter:Tl,mergeConfig:Nl}=q;function Oo(e){return e==null?!0:typeof e=="string"||Array.isArray(e)?e.length===0:typeof e=="object"?Object.keys(e).length===0:!1}function Jt(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Yt(e={},u={}){const t={},n=new Set([...Object.keys(e),...Object.keys(u)]);for(const r of n){if(r==="__proto__"||r==="constructor"||r==="prototype")continue;const o=e[r],i=u[r];Jt(o)&&Jt(i)?t[r]=Yt(o,i):t[r]=i!==void 0?i:o}return t}const Lo="q-defaults";function Po(){var e,u;const t=a.getCurrentInstance();if(!t)throw new Error("[Quidgest UI] useDefaults must be called from inside a setup function");const n=t.type.name??t.type.__name;if(!n)throw new Error("[Quidgest UI] Could not determine component name");const r=Mo(),o=(e=r.value)==null?void 0:e.Global,i=(u=r.value)==null?void 0:u[n];return a.computed(()=>Yt(o,i))}function Mo(){const e=a.inject(Lo,void 0);if(!e)throw new Error("[Quidgest UI] Could not find defaults instance");return e}const zo=["id"],qo=a.defineComponent({__name:"QSpinnerLoader",props:{id:{},class:{},size:{default:48}},setup(e){const u=e,t=a.computed(()=>({"font-size":u.size!==48?`${u.size}px`:void 0}));return(n,r)=>(a.openBlock(),a.createElementBlock("div",{id:u.id,class:a.normalizeClass(["q-spinner-loader",u.class]),style:a.normalizeStyle(t.value)},null,14,zo))}});function Uo(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/([0-9])([a-zA-Z])/g,"$1 $2").replace(/([a-zA-Z])([0-9])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g,"$1 $2").trim().split(/\s+/)}function jo(e){return Uo(e).join("-").toLowerCase()}function Vo(e,u){var t;const n=jo(u);return n?typeof((t=e.props)==null?void 0:t[n])<"u":!1}function W(e){const u=e,t=u.setup;return t&&(u.setup=(n,r)=>{const o=Po();if(Oo(o.value))return t(n,r);const i=a.getCurrentInstance();if(i===null)return t(n,r);const c=new Proxy(n,{get(s,l){var d;const f=Reflect.get(s,l),h=(d=o.value)==null?void 0:d[l];return typeof l=="string"&&!Vo(i.vnode,l)?h??f:f}});return t(c,r)}),e}const $o=W(qo);function Go(e,u=!1){return u?/^#[a-fA-F0-9]{6}$/.test(e):/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/.test(e)}function Ho(e){const u=e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);if(u){const t=parseInt(u[1],10),n=parseInt(u[2],10),r=parseInt(u[3],10);return{r:t,g:n,b:r}}}function Wo(e){if(Go(e)){e.length===4&&(e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);const u=parseInt(e.slice(1,3),16),t=parseInt(e.slice(3,5),16),n=parseInt(e.slice(5,7),16);return{r:u,g:t,b:n}}else{const u=Ho(e);if(u)return u}throw new Error("Invalid color format")}function Zo(e,u){const t=Kt(e),n=u/100;return t.l=t.l-n*t.l,Jo(t)}function Qo(e){const u=e.r.toString(16).padStart(2,"0"),t=e.g.toString(16).padStart(2,"0"),n=e.b.toString(16).padStart(2,"0");return`#${u}${t}${n}`}function Xt(e){return`${e.r} ${e.g} ${e.b}`}function Kt(e){const u=e.r/255,t=e.g/255,n=e.b/255,r=Math.max(u,t,n),o=Math.min(u,t,n);let i=0,c;const s=(r+o)/2;if(r===o)i=c=0;else{const l=r-o;switch(c=s>.5?l/(2-r-o):l/(r+o),r){case u:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-u)/l+2;break;case n:i=(u-t)/l+4;break}i/=6}return{h:Math.round(i*360),s:Math.round(c*100),l:Math.round(s*100)}}function Jo(e){const u=e.h/360,t=e.s/100,n=e.l/100;let r,o,i;if(t===0)r=o=i=n;else{const c=n<.5?n*(1+t):n+t-n*t,s=2*n-c;r=Pu(s,c,u+1/3),o=Pu(s,c,u),i=Pu(s,c,u-1/3)}return{r:Math.round(r*255),g:Math.round(o*255),b:Math.round(i*255)}}function Pu(e,u,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+(u-e)*6*t:t<1/2?u:t<2/3?e+(u-e)*(2/3-t)*6:e}function Yo(e){return e>50?"#000":"#fff"}const Xo=Symbol.for("q-theme");function en(){const e=a.inject(Xo);if(!e)throw new Error("[Quidgest UI] Could not find theme instance");return e}function un(e){const u=a.computed(()=>a.unref(e)),t=a.computed(()=>u.value?!Ko(u.value):!1),n=a.computed(()=>{const r=u.value;if(!r)return;let o=r;const i=en();if(t.value){const h=r;o=i.current.value.scheme[h]??r}let c;try{if(c=Wo(o),!c)return}catch(h){console.error("Failed to parse color:",h);return}const s=Kt(c),l=Yo(s.l),d=Zo(c,25),f=Qo(d);return{mainColor:o,mainColorRgb:Xt(c),onMainColor:l,hoverColor:f,hoverColorRgb:Xt(d),onHoverColor:l}});return{isUtilityColor:t,style:n}}function Ko(e){return e.startsWith("#")||e.startsWith("rgb")||e.startsWith("hsl")}const e0=["id","disabled"],u0={key:0,class:"q-button__spinner"},t0={class:"q-button__content"},se=W(a.defineComponent({__name:"QButton",props:{id:{},class:{},label:{},variant:{default:"outlined"},color:{default:"primary"},disabled:{type:Boolean},borderless:{type:Boolean},elevated:{type:Boolean},block:{type:Boolean},loading:{type:Boolean},size:{default:"regular"},iconPos:{default:"start"},pill:{type:Boolean}},emits:["click"],setup(e,{emit:u}){const t=e,n=u,r=a.computed(()=>t.disabled||t.loading);function o(d){r.value||n("click",d)}const{isUtilityColor:i,style:c}=un(a.toRef(t,"color")),s=a.computed(()=>{const d=i.value?`q-button--${t.color}`:void 0,f=t.size!=="regular"?`q-button--${t.size}`:void 0,h=t.iconPos!=="start"?`q-button--icon-${t.iconPos}`:void 0;return["q-button",`q-button--${t.variant}`,d,f,h,{"q-button--borderless":t.borderless,"q-button--elevated":t.elevated,"q-button--block":t.block,"q-button--loading":t.loading,"q-button--pill":t.pill},t.class]}),l=a.computed(()=>{var d,f,h,b,p,g;if(!i.value)return{"--q-button-main-color":(d=c.value)==null?void 0:d.mainColor,"--q-button-main-color-rgb":(f=c.value)==null?void 0:f.mainColorRgb,"--q-button-on-main-color":(h=c.value)==null?void 0:h.onMainColor,"--q-button-hover-color":(b=c.value)==null?void 0:b.hoverColor,"--q-button-hover-color-rgb":(p=c.value)==null?void 0:p.hoverColorRgb,"--q-button-on-hover-color":(g=c.value)==null?void 0:g.onHoverColor}});return(d,f)=>(a.openBlock(),a.createElementBlock("button",{id:t.id,type:"button",class:a.normalizeClass(s.value),disabled:r.value,style:a.normalizeStyle(l.value),onClick:a.withModifiers(o,["stop","prevent"])},[t.loading?(a.openBlock(),a.createElementBlock("div",u0,[a.createVNode(a.unref($o))])):a.createCommentVNode("v-if",!0),a.createElementVNode("span",t0,[a.renderSlot(d.$slots,"default"),a.createTextVNode(" "+a.toDisplayString(t.label),1)])],14,e0))}})),n0=a.defineComponent({__name:"QIcon",props:{id:{},class:{},icon:{},type:{default:"svg"},size:{},color:{}},setup(e){const u=e,t=a.computed(()=>{switch(u.type){case"svg":return h0;case"font":return f0;case"img":return p0;default:return}}),{style:n}=un(a.toRef(u,"color")),r=a.computed(()=>{var o;return{"font-size":u.size!==void 0?`${u.size}px`:void 0,color:u.color!==void 0&&u.color!=="primary"?(o=n.value)==null?void 0:o.mainColor:void 0}});return(o,i)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(t.value),{id:u.id,class:a.normalizeClass(u.class),icon:u.icon,style:a.normalizeStyle(r.value)},null,8,["id","class","icon","style"]))}}),r0=["id"],o0=a.defineComponent({__name:"QIconFont",props:{id:{},class:{},icon:{},library:{default:""},variant:{}},setup(e){const u=e,t=a.computed(()=>u.variant?`${u.library}-${u.variant}`:u.library),n=a.computed(()=>u.library&&u.icon?`${u.library}-${u.icon}`:u.icon);return(r,o)=>(a.openBlock(),a.createElementBlock("i",{id:u.id,class:a.normalizeClass(["q-icon","q-icon__font",t.value,n.value,u.class])},null,10,r0))}}),i0=["id","src"],a0=a.defineComponent({__name:"QIconImg",props:{id:{},class:{},icon:{}},setup(e){const u=e;return(t,n)=>(a.openBlock(),a.createElementBlock("img",{id:u.id,src:u.icon,class:a.normalizeClass(["q-icon","q-icon__img",u.class])},null,10,i0))}}),qe={},c0=a.defineComponent({name:"InlineSvg",inheritAttrs:!1,props:{src:{type:String,required:!0},symbol:{type:String,default:""},title:{type:String,default:""},transformSource:{type:Function,default:void 0},keepDuringLoading:{type:Boolean,default:!0}},emits:{loaded:e=>typeof e=="object",unloaded:()=>!0,error:e=>typeof e=="object"},data(){return{svgElSource:null}},watch:{src(e){this.getSource(e)}},async mounted(){await this.getSource(this.src)},methods:{copySvgAttrs(e,u){const t=u.attributes;if(t)for(const n of t)e[n.name]=n.value},copyComponentAttrs(e,u){for(const[t,n]of Object.entries(u))n!==!1&&n!==null&&n!==void 0&&(e[t]=n)},getSvgContent(e){return this.symbol&&(e=e.getElementById(this.symbol),!e)?null:(this.transformSource&&(e=e.cloneNode(!0),e=this.transformSource(e)),this.title&&(this.transformSource||(e=e.cloneNode(!0)),s0(e,this.title)),e)},async getSource(e){try{qe[e]||(qe[e]=l0(this.download(e))),this.svgElSource&&qe[e].getIsPending()&&!this.keepDuringLoading&&(this.svgElSource=null,this.$emit("unloaded"));const u=await qe[e];this.svgElSource=u,await this.$nextTick(),this.$emit("loaded",this.$el)}catch(u){this.svgElSource&&(this.svgElSource=null,this.$emit("unloaded")),delete qe[e],this.$emit("error",u)}},async download(e){const u=await fetch(e);if(!u.ok)throw new Error("Error loading SVG");const t=await u.text(),n=new DOMParser().parseFromString(t,"text/xml").getElementsByTagName("svg")[0];if(!n)throw new Error("Loaded file is not a valid SVG");return n}},render(){if(!this.svgElSource)return null;const e=this.getSvgContent(this.svgElSource);if(!e)return a.h("div",this.$attrs);const u={};return this.copySvgAttrs(u,this.svgElSource),this.copySvgAttrs(u,e),this.copyComponentAttrs(u,this.$attrs),u.innerHTML=e.innerHTML,a.h("svg",u)},expose:[]});function s0(e,u){const t=e.getElementsByTagName("title");if(t.length)t[0].textContent=u;else{const n=document.createElementNS("http://www.w3.org/2000/svg","title");n.textContent=u,e.insertBefore(n,e.firstChild)}}function l0(e){if(e.getIsPending)return e;let u=!0;const t=e.then(n=>(u=!1,n),n=>{throw u=!1,n});return t.getIsPending=()=>u,t}const d0=a.defineComponent({__name:"QIconSvg",props:{id:{},class:{},icon:{},bundle:{default:""}},emits:["loaded","unloaded"],setup(e,{emit:u}){const t=e,n=u;function r(i){n("loaded",i)}function o(){n("unloaded")}return(i,c)=>(a.openBlock(),a.createBlock(a.unref(c0),{id:t.id,class:a.normalizeClass(["q-icon","q-icon__svg",t.class]),src:t.bundle,symbol:t.icon,onLoaded:r,onUnloaded:o},null,8,["id","class","src","symbol"]))}}),ne=W(n0),f0=W(o0),p0=W(a0),h0=W(d0);let b0=0;function Mu(e){return a.unref(e)||`uid-${++b0}`}const m0=["id"],g0=["for"],tn=W(a.defineComponent({inheritAttrs:!1,__name:"QLabel",props:{id:{},class:{},label:{},for:{},required:{type:Boolean}},setup(e){const u=e,t=a.computed(()=>["q-label",{"q-label--required":u.required},u.class]);return(n,r)=>(a.openBlock(),a.createElementBlock("div",{id:u.id,class:a.normalizeClass(t.value)},[a.renderSlot(n.$slots,"prepend"),a.createElementVNode("label",a.mergeProps({for:u.for},n.$attrs),[a.renderSlot(n.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(u.label),1)])],16,g0),a.renderSlot(n.$slots,"append")],10,m0))}})),x0=["id"],y0={key:0,class:"q-field__prepend"},k0={key:1,class:"q-field__append"},_0={key:1,class:"q-field__extras"},nn=W(a.defineComponent({inheritAttrs:!1,__name:"QField",props:{id:{},class:{},label:{},for:{},required:{type:Boolean},size:{default:"medium"},readonly:{type:Boolean},disabled:{type:Boolean},invalid:{type:Boolean}},setup(e,{expose:u}){const t=e,n=a.ref(null),r=a.computed(()=>t.required&&!t.readonly&&!t.disabled),o=a.computed(()=>["q-field",`q-field--${t.size}`,{"q-field--readonly":t.readonly,"q-field--disabled":t.disabled,"q-field--required":r.value,"q-field--invalid":t.invalid},t.class]);return u({fieldRef:n}),(i,c)=>(a.openBlock(),a.createElementBlock("div",{id:t.id,class:a.normalizeClass(o.value)},[t.label?(a.openBlock(),a.createBlock(a.unref(tn),{key:0,class:"q-field__label",label:t.label,for:t.for,required:t.required},{prepend:a.withCtx(()=>[a.renderSlot(i.$slots,"label.prepend")]),append:a.withCtx(()=>[a.renderSlot(i.$slots,"label.append")]),_:3},8,["label","for","required"])):a.createCommentVNode("v-if",!0),a.renderSlot(i.$slots,"control",{},()=>[a.createElementVNode("div",a.mergeProps({ref_key:"fieldRef",ref:n,class:"q-field__control"},i.$attrs),[i.$slots.prepend?(a.openBlock(),a.createElementBlock("div",y0,[a.renderSlot(i.$slots,"prepend")])):a.createCommentVNode("v-if",!0),a.renderSlot(i.$slots,"default"),i.$slots.append?(a.openBlock(),a.createElementBlock("div",k0,[a.renderSlot(i.$slots,"append")])):a.createCommentVNode("v-if",!0)],16)]),i.$slots.extras?(a.openBlock(),a.createElementBlock("div",_0,[a.renderSlot(i.$slots,"extras")])):a.createCommentVNode("v-if",!0)],10,x0))}})),E0={clearValue:"Clear value"},A0={clear:{icon:"close"}},C0=W(a.defineComponent({__name:"QClearButton",props:{id:{},class:{},icons:{default:()=>A0},texts:{default:()=>E0}},emits:["click"],setup(e,{emit:u}){const t=e,n=u;function r(o){n("click",o)}return(o,i)=>(a.openBlock(),a.createBlock(a.unref(se),{id:t.id,class:a.normalizeClass(["q-clear-btn",t.class]),"aria-label":t.texts.clearValue,variant:"ghost",color:"neutral",borderless:"",tabindex:"-1",onClick:r},{default:a.withCtx(()=>[a.createVNode(a.unref(ne),a.normalizeProps(a.guardReactiveProps(t.icons.clear)),null,16)]),_:1},8,["id","class","aria-label"]))}})),w0=["id","type","maxlength","required","placeholder","readonly","disabled"],D0=W(a.defineComponent({inheritAttrs:!1,__name:"QTextField",props:a.mergeModels({id:{},class:{},label:{},for:{},required:{type:Boolean},size:{},readonly:{type:Boolean},disabled:{type:Boolean},invalid:{type:Boolean},placeholder:{},maxLength:{},clearable:{type:Boolean},type:{default:"text"},texts:{}},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["click:clear"],["update:modelValue"]),setup(e,{expose:u,emit:t}){const n=e,r=t,o=a.useModel(e,"modelValue"),i=a.computed({get:()=>o.value,set:p=>{const g=n.maxLength;o.value=g?p==null?void 0:p.slice(0,g):p}});a.watch(o,p=>i.value=p,{immediate:!0});const c=Mu(n.id),s=a.ref(null),l=a.ref(null),d=a.computed(()=>n.readonly||n.disabled?void 0:n.placeholder),f=a.computed(()=>n.clearable&&!n.readonly&&!n.disabled),h=a.computed(()=>f.value&&o.value);function b(p){f.value&&(o.value="",r("click:clear",p))}return u({fieldRef:a.computed(()=>{var p;return(p=s.value)==null?void 0:p.fieldRef}),inputRef:l}),(p,g)=>(a.openBlock(),a.createBlock(a.unref(nn),{ref_key:"fieldRef",ref:s,class:a.normalizeClass(["q-text-field",n.class]),for:a.unref(c),label:n.label,size:n.size,readonly:n.readonly,disabled:n.disabled,required:n.required,invalid:n.invalid},a.createSlots({"label.prepend":a.withCtx(()=>[a.renderSlot(p.$slots,"label.prepend")]),"label.append":a.withCtx(()=>[a.renderSlot(p.$slots,"label.append")]),default:a.withCtx(()=>[a.withDirectives(a.createElementVNode("input",a.mergeProps({id:a.unref(c),ref_key:"inputRef",ref:l,"onUpdate:modelValue":g[0]||(g[0]=x=>i.value=x),class:"q-text-field__input",type:n.type,maxlength:n.maxLength,required:n.required,placeholder:d.value,readonly:n.readonly,disabled:n.disabled},p.$attrs),null,16,w0),[[a.vModelDynamic,i.value]])]),_:2},[p.$slots.prepend?{name:"prepend",fn:a.withCtx(()=>[a.renderSlot(p.$slots,"prepend")]),key:"0"}:void 0,p.$slots.append||h.value?{name:"append",fn:a.withCtx(()=>[a.renderSlot(p.$slots,"append"),h.value?(a.openBlock(),a.createBlock(a.unref(C0),{key:0,"data-testid":"q-text-field__clear-button",texts:n.texts,onClick:b},null,8,["texts"])):a.createCommentVNode("v-if",!0)]),key:"1"}:void 0,p.$slots.extras?{name:"extras",fn:a.withCtx(()=>[a.renderSlot(p.$slots,"extras")]),key:"2"}:void 0]),1032,["class","for","label","size","readonly","disabled","required","invalid"]))}})),F0=Symbol("DismissibleLayer");function S0(e){const u=a.inject(F0);if(!u)throw new Error("useDismissibleLayerStackItem must be used within a dismissible layer stack context.");return{register:()=>u.register(e),unregister:()=>u.unregister(e),isTop:()=>u.isTop(e)}}const v0=W(a.defineComponent({__name:"QDismissibleLayer",emits:["escape-key-down","pointer-down-outside","focus-outside","interact-outside","dismiss"],setup(e,{emit:u}){const t=u,n=a.useTemplateRef("layerRef"),r=a.useId(),o=S0(r);let i=[];function c(f){f.key==="Escape"&&o!=null&&o.isTop()&&(t("escape-key-down",f),f.defaultPrevented||t("dismiss",f))}function s(f){if(!n.value)return;const h=f.target;if(!n.value.contains(h)&&o!=null&&o.isTop()){const b=new CustomEvent("focus-outside",{bubbles:!1,cancelable:!0,detail:{originalEvent:f}});t("focus-outside",b),t("interact-outside",b),b.defaultPrevented||t("dismiss",b)}}function l(f){if(!n.value||!(o!=null&&o.isTop()))return;const h=f.target;if(!n.value.contains(h)){const b=new CustomEvent("pointer-down-outside",{bubbles:!1,cancelable:!0,detail:{originalEvent:f}});t("pointer-down-outside",b),t("interact-outside",b),b.defaultPrevented||t("dismiss",b)}}function d(){["mousedown","touchstart"].forEach(f=>{document.addEventListener(f,l,{passive:!0,capture:!0}),i.push(()=>{document.removeEventListener(f,l,{capture:!0})})})}return a.onMounted(()=>{o==null||o.register(),document.addEventListener("keydown",c),i.push(()=>{document.removeEventListener("keydown",c)}),document.addEventListener("focusin",s),i.push(()=>{document.removeEventListener("focusin",s)}),d()}),a.onUnmounted(()=>{o==null||o.unregister(),i.forEach(f=>f()),i=[]}),(f,h)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"layerRef",ref:n},[a.renderSlot(f.$slots,"default")],512))}}));function B0(e){return a.getCurrentScope()?(a.onScopeDispose(e),!0):!1}const R0=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const T0=()=>{};function rn(...e){if(e.length!==1)return a.toRef(...e);const u=e[0];return typeof u=="function"?a.readonly(a.customRef(()=>({get:u,set:T0}))):a.ref(u)}const zu=R0?window:void 0;function qu(e){var u;const t=a.toValue(e);return(u=t==null?void 0:t.$el)!=null?u:t}function N0(){const e=a.shallowRef(!1),u=a.getCurrentInstance();return u&&a.onMounted(()=>{e.value=!0},u),e}function I0(e){const u=N0();return a.computed(()=>(u.value,!!e()))}function O0(e,u,t={}){const{window:n=zu,...r}=t;let o;const i=I0(()=>n&&"ResizeObserver"in n),c=()=>{o&&(o.disconnect(),o=void 0)},s=a.computed(()=>{const f=a.toValue(e);return Array.isArray(f)?f.map(h=>qu(h)):[qu(f)]}),l=a.watch(s,f=>{if(c(),i.value&&n){o=new ResizeObserver(u);for(const h of f)h&&o.observe(h,r)}},{immediate:!0,flush:"post"}),d=()=>{c(),l()};return B0(d),{isSupported:i,stop:d}}function L0(e=zu,u){e&&typeof e.requestAnimationFrame=="function"?e.requestAnimationFrame(u):u()}function P0(e={}){var u,t;const{window:n=zu}=e,r=rn(e==null?void 0:e.element),o=rn((u=e==null?void 0:e.input)!=null?u:""),i=(t=e==null?void 0:e.styleProp)!=null?t:"height",c=a.shallowRef(1),s=a.shallowRef(0);function l(){var d;if(!r.value)return;let f="";r.value.style[i]="1px",c.value=(d=r.value)==null?void 0:d.scrollHeight;const h=a.toValue(e==null?void 0:e.styleTarget);h?h.style[i]=`${c.value}px`:f=`${c.value}px`,r.value.style[i]=f}return a.watch([o,r],()=>a.nextTick(l),{immediate:!0}),a.watch(c,()=>{var d;return(d=e==null?void 0:e.onResize)==null?void 0:d.call(e)}),O0(r,([{contentRect:d}])=>{s.value!==d.width&&L0(n,()=>{s.value=d.width,l()})}),e!=null&&e.watch&&a.watch(e.watch,l,{immediate:!0,deep:!0}),{textarea:r,input:o,triggerResize:l}}/*!
|
|
7
7
|
* tabbable 6.2.0
|
|
8
8
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
9
|
-
*/var
|
|
9
|
+
*/var on=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],cu=on.join(","),an=typeof Element>"u",Ee=an?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,su=!an&&Element.prototype.getRootNode?function(e){var u;return e==null||(u=e.getRootNode)===null||u===void 0?void 0:u.call(e)}:function(e){return e==null?void 0:e.ownerDocument},lu=function e(u,t){var n;t===void 0&&(t=!0);var r=u==null||(n=u.getAttribute)===null||n===void 0?void 0:n.call(u,"inert"),o=r===""||r==="true",i=o||t&&u&&e(u.parentNode);return i},M0=function(e){var u,t=e==null||(u=e.getAttribute)===null||u===void 0?void 0:u.call(e,"contenteditable");return t===""||t==="true"},cn=function(e,u,t){if(lu(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(cu));return u&&Ee.call(e,cu)&&n.unshift(e),n=n.filter(t),n},sn=function e(u,t,n){for(var r=[],o=Array.from(u);o.length;){var i=o.shift();if(!lu(i,!1))if(i.tagName==="SLOT"){var c=i.assignedElements(),s=c.length?c:i.children,l=e(s,!0,n);n.flatten?r.push.apply(r,l):r.push({scopeParent:i,candidates:l})}else{var d=Ee.call(i,cu);d&&n.filter(i)&&(t||!u.includes(i))&&r.push(i);var f=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),h=!lu(f,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(f&&h){var b=e(f===!0?i.children:f.children,!0,n);n.flatten?r.push.apply(r,b):r.push({scopeParent:i,candidates:b})}else o.unshift.apply(o,i.children)}}return r},ln=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Ae=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||M0(e))&&!ln(e)?0:e.tabIndex},z0=function(e,u){var t=Ae(e);return t<0&&u&&!ln(e)?0:t},q0=function(e,u){return e.tabIndex===u.tabIndex?e.documentOrder-u.documentOrder:e.tabIndex-u.tabIndex},dn=function(e){return e.tagName==="INPUT"},U0=function(e){return dn(e)&&e.type==="hidden"},j0=function(e){var u=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(t){return t.tagName==="SUMMARY"});return u},V0=function(e,u){for(var t=0;t<e.length;t++)if(e[t].checked&&e[t].form===u)return e[t]},$0=function(e){if(!e.name)return!0;var u=e.form||su(e),t=function(o){return u.querySelectorAll('input[type="radio"][name="'+o+'"]')},n;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")n=t(window.CSS.escape(e.name));else try{n=t(e.name)}catch(o){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",o.message),!1}var r=V0(n,e.form);return!r||r===e},G0=function(e){return dn(e)&&e.type==="radio"},H0=function(e){return G0(e)&&!$0(e)},W0=function(e){var u,t=e&&su(e),n=(u=t)===null||u===void 0?void 0:u.host,r=!1;if(t&&t!==e){var o,i,c;for(r=!!((o=n)!==null&&o!==void 0&&(i=o.ownerDocument)!==null&&i!==void 0&&i.contains(n)||e!=null&&(c=e.ownerDocument)!==null&&c!==void 0&&c.contains(e));!r&&n;){var s,l,d;t=su(n),n=(s=t)===null||s===void 0?void 0:s.host,r=!!((l=n)!==null&&l!==void 0&&(d=l.ownerDocument)!==null&&d!==void 0&&d.contains(n))}}return r},fn=function(e){var u=e.getBoundingClientRect(),t=u.width,n=u.height;return t===0&&n===0},Z0=function(e,u){var t=u.displayCheck,n=u.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var r=Ee.call(e,"details>summary:first-of-type"),o=r?e.parentElement:e;if(Ee.call(o,"details:not([open]) *"))return!0;if(!t||t==="full"||t==="legacy-full"){if(typeof n=="function"){for(var i=e;e;){var c=e.parentElement,s=su(e);if(c&&!c.shadowRoot&&n(c)===!0)return fn(e);e.assignedSlot?e=e.assignedSlot:!c&&s!==e.ownerDocument?e=s.host:e=c}e=i}if(W0(e))return!e.getClientRects().length;if(t!=="legacy-full")return!0}else if(t==="non-zero-area")return fn(e);return!1},Q0=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var u=e.parentElement;u;){if(u.tagName==="FIELDSET"&&u.disabled){for(var t=0;t<u.children.length;t++){var n=u.children.item(t);if(n.tagName==="LEGEND")return Ee.call(u,"fieldset[disabled] *")?!0:!n.contains(e)}return!0}u=u.parentElement}return!1},du=function(e,u){return!(u.disabled||lu(u)||U0(u)||Z0(u,e)||j0(u)||Q0(u))},Uu=function(e,u){return!(H0(u)||Ae(u)<0||!du(e,u))},J0=function(e){var u=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(u)||u>=0)},Y0=function e(u){var t=[],n=[];return u.forEach(function(r,o){var i=!!r.scopeParent,c=i?r.scopeParent:r,s=z0(c,i),l=i?e(r.candidates):c;s===0?i?t.push.apply(t,l):t.push(c):n.push({documentOrder:o,tabIndex:s,item:r,isScope:i,content:l})}),n.sort(q0).reduce(function(r,o){return o.isScope?r.push.apply(r,o.content):r.push(o.content),r},[]).concat(t)},X0=function(e,u){u=u||{};var t;return u.getShadowRoot?t=sn([e],u.includeContainer,{filter:Uu.bind(null,u),flatten:!1,getShadowRoot:u.getShadowRoot,shadowRootFilter:J0}):t=cn(e,u.includeContainer,Uu.bind(null,u)),Y0(t)},K0=function(e,u){u=u||{};var t;return u.getShadowRoot?t=sn([e],u.includeContainer,{filter:du.bind(null,u),flatten:!0,getShadowRoot:u.getShadowRoot}):t=cn(e,u.includeContainer,du.bind(null,u)),t},Se=function(e,u){if(u=u||{},!e)throw new Error("No node provided");return Ee.call(e,cu)===!1?!1:Uu(u,e)},ei=on.concat("iframe").join(","),ju=function(e,u){if(u=u||{},!e)throw new Error("No node provided");return Ee.call(e,ei)===!1?!1:du(u,e)};/*!
|
|
10
10
|
* focus-trap 7.6.4
|
|
11
11
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
12
|
-
*/function
|
|
13
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function Cn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?_n(Object(r),!0).forEach(function(n){qi(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_n(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ti(t){return Di(t)||Si(t)||Bi(t)||Ri()}function Li(t,e){if(typeof t!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ni(t){var e=Li(t,"string");return typeof e=="symbol"?e:e+""}function Bi(t,e){if(t){if(typeof t=="string")return jt(t,e);var r={}.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jt(t,e):void 0}}var Dn={activateTrap:function(t,e){if(t.length>0){var r=t[t.length-1];r!==e&&r._setPausedState(!0)}var n=t.indexOf(e);n===-1||t.splice(n,1),t.push(e)},deactivateTrap:function(t,e){var r=t.indexOf(e);r!==-1&&t.splice(r,1),t.length>0&&!t[t.length-1]._isManuallyPaused()&&t[t.length-1]._setPausedState(!1)}},Fi=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},Ii=function(t){return(t==null?void 0:t.key)==="Escape"||(t==null?void 0:t.key)==="Esc"||(t==null?void 0:t.keyCode)===27},Ve=function(t){return(t==null?void 0:t.key)==="Tab"||(t==null?void 0:t.keyCode)===9},Oi=function(t){return Ve(t)&&!t.shiftKey},Pi=function(t){return Ve(t)&&t.shiftKey},qn=function(t){return setTimeout(t,0)},je=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return typeof t=="function"?t.apply(void 0,r):t},ut=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},Ui=[],zi=function(t,e){var r=(e==null?void 0:e.document)||document,n=(e==null?void 0:e.trapStack)||Ui,o=Cn({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Oi,isKeyBackward:Pi},e),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},c,i=function(v,A,T){return v&&v[A]!==void 0?v[A]:o[T||A]},l=function(v,A){var T=typeof(A==null?void 0:A.composedPath)=="function"?A.composedPath():void 0;return s.containerGroups.findIndex(function(x){var D=x.container,_=x.tabbableNodes;return D.contains(v)||(T==null?void 0:T.includes(D))||_.find(function(N){return N===v})})},u=function(v){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},T=A.hasFallback,x=T===void 0?!1:T,D=A.params,_=D===void 0?[]:D,N=o[v];if(typeof N=="function"&&(N=N.apply(void 0,Ti(_))),N===!0&&(N=void 0),!N){if(N===void 0||N===!1)return N;throw new Error("`".concat(v,"` was specified but was not a node, or did not return a node"))}var j=N;if(typeof N=="string"){try{j=r.querySelector(N)}catch(M){throw new Error("`".concat(v,'` appears to be an invalid selector; error="').concat(M.message,'"'))}if(!j&&!x)throw new Error("`".concat(v,"` as selector refers to no known node"))}return j},d=function(){var v=u("initialFocus",{hasFallback:!0});if(v===!1)return!1;if(v===void 0||v&&!Vt(v,o.tabbableOptions))if(l(r.activeElement)>=0)v=r.activeElement;else{var A=s.tabbableGroups[0],T=A&&A.firstTabbableNode;v=T||u("fallbackFocus")}else v===null&&(v=u("fallbackFocus"));if(!v)throw new Error("Your focus-trap needs to have at least one focusable element");return v},p=function(){if(s.containerGroups=s.containers.map(function(v){var A=Ei(v,o.tabbableOptions),T=_i(v,o.tabbableOptions),x=A.length>0?A[0]:void 0,D=A.length>0?A[A.length-1]:void 0,_=T.find(function(M){return De(M)}),N=T.slice().reverse().find(function(M){return De(M)}),j=!!A.find(function(M){return we(M)>0});return{container:v,tabbableNodes:A,focusableNodes:T,posTabIndexesFound:j,firstTabbableNode:x,lastTabbableNode:D,firstDomTabbableNode:_,lastDomTabbableNode:N,nextTabbableNode:function(M){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,O=A.indexOf(M);return O<0?R?T.slice(T.indexOf(M)+1).find(function(P){return De(P)}):T.slice(0,T.indexOf(M)).reverse().find(function(P){return De(P)}):A[O+(R?1:-1)]}}}),s.tabbableGroups=s.containerGroups.filter(function(v){return v.tabbableNodes.length>0}),s.tabbableGroups.length<=0&&!u("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(s.containerGroups.find(function(v){return v.posTabIndexesFound})&&s.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},f=function(v){var A=v.activeElement;if(A)return A.shadowRoot&&A.shadowRoot.activeElement!==null?f(A.shadowRoot):A},m=function(v){if(v!==!1&&v!==f(document)){if(!v||!v.focus){m(d());return}v.focus({preventScroll:!!o.preventScroll}),s.mostRecentlyFocusedNode=v,Fi(v)&&v.select()}},h=function(v){var A=u("setReturnFocus",{params:[v]});return A||(A===!1?!1:v)},b=function(v){var A=v.target,T=v.event,x=v.isBackward,D=x===void 0?!1:x;A=A||ut(T),p();var _=null;if(s.tabbableGroups.length>0){var N=l(A,T),j=N>=0?s.containerGroups[N]:void 0;if(N<0)D?_=s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:_=s.tabbableGroups[0].firstTabbableNode;else if(D){var M=s.tabbableGroups.findIndex(function(oe){var Ae=oe.firstTabbableNode;return A===Ae});if(M<0&&(j.container===A||Vt(A,o.tabbableOptions)&&!De(A,o.tabbableOptions)&&!j.nextTabbableNode(A,!1))&&(M=N),M>=0){var R=M===0?s.tabbableGroups.length-1:M-1,O=s.tabbableGroups[R];_=we(A)>=0?O.lastTabbableNode:O.lastDomTabbableNode}else Ve(T)||(_=j.nextTabbableNode(A,!1))}else{var P=s.tabbableGroups.findIndex(function(oe){var Ae=oe.lastTabbableNode;return A===Ae});if(P<0&&(j.container===A||Vt(A,o.tabbableOptions)&&!De(A,o.tabbableOptions)&&!j.nextTabbableNode(A))&&(P=N),P>=0){var K=P===s.tabbableGroups.length-1?0:P+1,$=s.tabbableGroups[K];_=we(A)>=0?$.firstTabbableNode:$.firstDomTabbableNode}else Ve(T)||(_=j.nextTabbableNode(A))}}else _=u("fallbackFocus");return _},g=function(v){var A=ut(v);if(!(l(A,v)>=0)){if(je(o.clickOutsideDeactivates,v)){c.deactivate({returnFocus:o.returnFocusOnDeactivate});return}je(o.allowOutsideClick,v)||v.preventDefault()}},w=function(v){var A=ut(v),T=l(A,v)>=0;if(T||A instanceof Document)T&&(s.mostRecentlyFocusedNode=A);else{v.stopImmediatePropagation();var x,D=!0;if(s.mostRecentlyFocusedNode)if(we(s.mostRecentlyFocusedNode)>0){var _=l(s.mostRecentlyFocusedNode),N=s.containerGroups[_].tabbableNodes;if(N.length>0){var j=N.findIndex(function(M){return M===s.mostRecentlyFocusedNode});j>=0&&(o.isKeyForward(s.recentNavEvent)?j+1<N.length&&(x=N[j+1],D=!1):j-1>=0&&(x=N[j-1],D=!1))}}else s.containerGroups.some(function(M){return M.tabbableNodes.some(function(R){return we(R)>0})})||(D=!1);else D=!1;D&&(x=b({target:s.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(s.recentNavEvent)})),m(x||s.mostRecentlyFocusedNode||d())}s.recentNavEvent=void 0},k=function(v){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;s.recentNavEvent=v;var T=b({event:v,isBackward:A});T&&(Ve(v)&&v.preventDefault(),m(T))},C=function(v){(o.isKeyForward(v)||o.isKeyBackward(v))&&k(v,o.isKeyBackward(v))},q=function(v){Ii(v)&&je(o.escapeDeactivates,v)!==!1&&(v.preventDefault(),c.deactivate())},S=function(v){var A=ut(v);l(A,v)>=0||je(o.clickOutsideDeactivates,v)||je(o.allowOutsideClick,v)||(v.preventDefault(),v.stopImmediatePropagation())},E=function(){if(s.active)return Dn.activateTrap(n,c),s.delayInitialFocusTimer=o.delayInitialFocus?qn(function(){m(d())}):m(d()),r.addEventListener("focusin",w,!0),r.addEventListener("mousedown",g,{capture:!0,passive:!1}),r.addEventListener("touchstart",g,{capture:!0,passive:!1}),r.addEventListener("click",S,{capture:!0,passive:!1}),r.addEventListener("keydown",C,{capture:!0,passive:!1}),r.addEventListener("keydown",q),c},L=function(){if(s.active)return r.removeEventListener("focusin",w,!0),r.removeEventListener("mousedown",g,!0),r.removeEventListener("touchstart",g,!0),r.removeEventListener("click",S,!0),r.removeEventListener("keydown",C,!0),r.removeEventListener("keydown",q),c},U=function(v){var A=v.some(function(T){var x=Array.from(T.removedNodes);return x.some(function(D){return D===s.mostRecentlyFocusedNode})});A&&m(d())},G=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(U):void 0,I=function(){G&&(G.disconnect(),s.active&&!s.paused&&s.containers.map(function(v){G.observe(v,{subtree:!0,childList:!0})}))};return c={get active(){return s.active},get paused(){return s.paused},activate:function(v){if(s.active)return this;var A=i(v,"onActivate"),T=i(v,"onPostActivate"),x=i(v,"checkCanFocusTrap");x||p(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=r.activeElement,A==null||A();var D=function(){x&&p(),E(),I(),T==null||T()};return x?(x(s.containers.concat()).then(D,D),this):(D(),this)},deactivate:function(v){if(!s.active)return this;var A=Cn({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},v);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,L(),s.active=!1,s.paused=!1,I(),Dn.deactivateTrap(n,c);var T=i(A,"onDeactivate"),x=i(A,"onPostDeactivate"),D=i(A,"checkCanReturnFocus"),_=i(A,"returnFocus","returnFocusOnDeactivate");T==null||T();var N=function(){qn(function(){_&&m(h(s.nodeFocusedBeforeActivation)),x==null||x()})};return _&&D?(D(h(s.nodeFocusedBeforeActivation)).then(N,N),this):(N(),this)},pause:function(v){return s.active?(s.manuallyPaused=!0,this._setPausedState(!0,v)):this},unpause:function(v){return s.active?(s.manuallyPaused=!1,n[n.length-1]!==this?this:this._setPausedState(!1,v)):this},updateContainerElements:function(v){var A=[].concat(v).filter(Boolean);return s.containers=A.map(function(T){return typeof T=="string"?r.querySelector(T):T}),s.active&&p(),I(),this}},Object.defineProperties(c,{_isManuallyPaused:{value:function(){return s.manuallyPaused}},_setPausedState:{value:function(v,A){if(s.paused===v)return this;if(s.paused=v,v){var T=i(A,"onPause"),x=i(A,"onPostPause");T==null||T(),L(),I(),x==null||x()}else{var D=i(A,"onUnpause"),_=i(A,"onPostUnpause");D==null||D(),p(),E(),I(),_==null||_()}return this}}}),c.updateContainerElements(t),c};const Mi=a.defineComponent({name:"UseFocusTrap",props:["as","options"],setup(t,{slots:e}){let r;const n=a.ref(),o=()=>r&&r.activate(),s=()=>r&&r.deactivate();return a.watch(()=>pe(n),c=>{c&&(r=zi(c,t.options||{}),o())},{flush:"post"}),a.onScopeDispose(()=>s()),()=>{if(e.default)return a.h(t.as||"div",{ref:n},e.default())}}}),Vi=W(a.defineComponent({__name:"QFocusTrap",props:a.mergeModels({options:{},as:{}},{disabled:{type:Boolean},disabledModifiers:{}}),emits:["update:disabled"],setup(t){const e=t,r=a.useModel(t,"disabled");return(n,o)=>r.value?a.renderSlot(n.$slots,"default",{key:0}):(a.openBlock(),a.createBlock(a.unref(Mi),a.normalizeProps(a.mergeProps({key:1},e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}})),qe="data-scroll-locked",Gt="right-scroll-bar-position",$t="width-before-scroll-bar",ji="with-scroll-bars-hidden",Gi="--removed-body-scroll-bar-size",$i={left:0,top:0,right:0,gap:0},Ht=t=>parseInt(t||"",10)||0,Hi=t=>{const e=window.getComputedStyle(document.body),r=e[t==="padding"?"paddingLeft":"marginLeft"],n=e[t==="padding"?"paddingTop":"marginTop"],o=e[t==="padding"?"paddingRight":"marginRight"];return[Ht(r),Ht(n),Ht(o)]},Zi=(t="margin")=>{if(typeof window>"u")return $i;const e=Hi(t),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,n-r+e[2]-e[0])}};function Wi(){return document?document.createElement("style"):null}function Ji(t,e){t.appendChild(document.createTextNode(e))}function Qi(t){(document.head||document.getElementsByTagName("head")[0]).appendChild(t)}const Yi=()=>{let t=0,e=null;return{add:r=>{t===0&&(e=Wi())&&(Ji(e,r),Qi(e)),t++},remove:()=>{var r;t--,!t&&e&&((r=e.parentNode)==null||r.removeChild(e),e=null)}}},Xi=W(a.defineComponent({__name:"QRemoveScrollBar",props:{noRelative:{type:Boolean},noImportant:{type:Boolean},gapMode:{default:"margin"}},setup(t){const e=t,r=Yi(),n=()=>{const s=parseInt(document.body.getAttribute(qe)||"0",10);return isFinite(s)?s:0},o=({left:s,top:c,right:i,gap:l},u,d="margin",p)=>`
|
|
14
|
-
.${
|
|
15
|
-
overflow: hidden ${
|
|
16
|
-
padding-right: ${
|
|
12
|
+
*/function Vu(e,u){(u==null||u>e.length)&&(u=e.length);for(var t=0,n=Array(u);t<u;t++)n[t]=e[t];return n}function ui(e){if(Array.isArray(e))return Vu(e)}function ti(e,u,t){return(u=ai(u))in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}function ni(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ri(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
13
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pn(e,u){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);u&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function hn(e){for(var u=1;u<arguments.length;u++){var t=arguments[u]!=null?arguments[u]:{};u%2?pn(Object(t),!0).forEach(function(n){ti(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pn(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function oi(e){return ui(e)||ni(e)||ci(e)||ri()}function ii(e,u){if(typeof e!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,u);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(e)}function ai(e){var u=ii(e,"string");return typeof u=="symbol"?u:u+""}function ci(e,u){if(e){if(typeof e=="string")return Vu(e,u);var t={}.toString.call(e).slice(8,-1);return t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set"?Array.from(e):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Vu(e,u):void 0}}var bn={activateTrap:function(e,u){if(e.length>0){var t=e[e.length-1];t!==u&&t._setPausedState(!0)}var n=e.indexOf(u);n===-1||e.splice(n,1),e.push(u)},deactivateTrap:function(e,u){var t=e.indexOf(u);t!==-1&&e.splice(t,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)}},si=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},li=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},Ue=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},di=function(e){return Ue(e)&&!e.shiftKey},fi=function(e){return Ue(e)&&e.shiftKey},mn=function(e){return setTimeout(e,0)},je=function(e){for(var u=arguments.length,t=new Array(u>1?u-1:0),n=1;n<u;n++)t[n-1]=arguments[n];return typeof e=="function"?e.apply(void 0,t):e},fu=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},pi=[],hi=function(e,u){var t=(u==null?void 0:u.document)||document,n=(u==null?void 0:u.trapStack)||pi,r=hn({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:di,isKeyBackward:fi},u),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},i,c=function(y,_,S){return y&&y[_]!==void 0?y[_]:r[S||_]},s=function(y,_){var S=typeof(_==null?void 0:_.composedPath)=="function"?_.composedPath():void 0;return o.containerGroups.findIndex(function(O){var v=O.container,P=O.tabbableNodes;return v.contains(y)||(S==null?void 0:S.includes(v))||P.find(function(I){return I===y})})},l=function(y){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},S=_.hasFallback,O=S===void 0?!1:S,v=_.params,P=v===void 0?[]:v,I=r[y];if(typeof I=="function"&&(I=I.apply(void 0,oi(P))),I===!0&&(I=void 0),!I){if(I===void 0||I===!1)return I;throw new Error("`".concat(y,"` was specified but was not a node, or did not return a node"))}var j=I;if(typeof I=="string"){try{j=t.querySelector(I)}catch(M){throw new Error("`".concat(y,'` appears to be an invalid selector; error="').concat(M.message,'"'))}if(!j&&!O)throw new Error("`".concat(y,"` as selector refers to no known node"))}return j},d=function(){var y=l("initialFocus",{hasFallback:!0});if(y===!1)return!1;if(y===void 0||y&&!ju(y,r.tabbableOptions))if(s(t.activeElement)>=0)y=t.activeElement;else{var _=o.tabbableGroups[0],S=_&&_.firstTabbableNode;y=S||l("fallbackFocus")}else y===null&&(y=l("fallbackFocus"));if(!y)throw new Error("Your focus-trap needs to have at least one focusable element");return y},f=function(){if(o.containerGroups=o.containers.map(function(y){var _=X0(y,r.tabbableOptions),S=K0(y,r.tabbableOptions),O=_.length>0?_[0]:void 0,v=_.length>0?_[_.length-1]:void 0,P=S.find(function(M){return Se(M)}),I=S.slice().reverse().find(function(M){return Se(M)}),j=!!_.find(function(M){return Ae(M)>0});return{container:y,tabbableNodes:_,focusableNodes:S,posTabIndexesFound:j,firstTabbableNode:O,lastTabbableNode:v,firstDomTabbableNode:P,lastDomTabbableNode:I,nextTabbableNode:function(M){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,N=_.indexOf(M);return N<0?D?S.slice(S.indexOf(M)+1).find(function(L){return Se(L)}):S.slice(0,S.indexOf(M)).reverse().find(function(L){return Se(L)}):_[N+(D?1:-1)]}}}),o.tabbableGroups=o.containerGroups.filter(function(y){return y.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(o.containerGroups.find(function(y){return y.posTabIndexesFound})&&o.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function(y){var _=y.activeElement;if(_)return _.shadowRoot&&_.shadowRoot.activeElement!==null?h(_.shadowRoot):_},b=function(y){if(y!==!1&&y!==h(document)){if(!y||!y.focus){b(d());return}y.focus({preventScroll:!!r.preventScroll}),o.mostRecentlyFocusedNode=y,si(y)&&y.select()}},p=function(y){var _=l("setReturnFocus",{params:[y]});return _||(_===!1?!1:y)},g=function(y){var _=y.target,S=y.event,O=y.isBackward,v=O===void 0?!1:O;_=_||fu(S),f();var P=null;if(o.tabbableGroups.length>0){var I=s(_,S),j=I>=0?o.containerGroups[I]:void 0;if(I<0)v?P=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:P=o.tabbableGroups[0].firstTabbableNode;else if(v){var M=o.tabbableGroups.findIndex(function(ae){var Ce=ae.firstTabbableNode;return _===Ce});if(M<0&&(j.container===_||ju(_,r.tabbableOptions)&&!Se(_,r.tabbableOptions)&&!j.nextTabbableNode(_,!1))&&(M=I),M>=0){var D=M===0?o.tabbableGroups.length-1:M-1,N=o.tabbableGroups[D];P=Ae(_)>=0?N.lastTabbableNode:N.lastDomTabbableNode}else Ue(S)||(P=j.nextTabbableNode(_,!1))}else{var L=o.tabbableGroups.findIndex(function(ae){var Ce=ae.lastTabbableNode;return _===Ce});if(L<0&&(j.container===_||ju(_,r.tabbableOptions)&&!Se(_,r.tabbableOptions)&&!j.nextTabbableNode(_))&&(L=I),L>=0){var te=L===o.tabbableGroups.length-1?0:L+1,H=o.tabbableGroups[te];P=Ae(_)>=0?H.firstTabbableNode:H.firstDomTabbableNode}else Ue(S)||(P=j.nextTabbableNode(_))}}else P=l("fallbackFocus");return P},x=function(y){var _=fu(y);if(!(s(_,y)>=0)){if(je(r.clickOutsideDeactivates,y)){i.deactivate({returnFocus:r.returnFocusOnDeactivate});return}je(r.allowOutsideClick,y)||y.preventDefault()}},C=function(y){var _=fu(y),S=s(_,y)>=0;if(S||_ instanceof Document)S&&(o.mostRecentlyFocusedNode=_);else{y.stopImmediatePropagation();var O,v=!0;if(o.mostRecentlyFocusedNode)if(Ae(o.mostRecentlyFocusedNode)>0){var P=s(o.mostRecentlyFocusedNode),I=o.containerGroups[P].tabbableNodes;if(I.length>0){var j=I.findIndex(function(M){return M===o.mostRecentlyFocusedNode});j>=0&&(r.isKeyForward(o.recentNavEvent)?j+1<I.length&&(O=I[j+1],v=!1):j-1>=0&&(O=I[j-1],v=!1))}}else o.containerGroups.some(function(M){return M.tabbableNodes.some(function(D){return Ae(D)>0})})||(v=!1);else v=!1;v&&(O=g({target:o.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(o.recentNavEvent)})),b(O||o.mostRecentlyFocusedNode||d())}o.recentNavEvent=void 0},k=function(y){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o.recentNavEvent=y;var S=g({event:y,isBackward:_});S&&(Ue(y)&&y.preventDefault(),b(S))},E=function(y){(r.isKeyForward(y)||r.isKeyBackward(y))&&k(y,r.isKeyBackward(y))},A=function(y){li(y)&&je(r.escapeDeactivates,y)!==!1&&(y.preventDefault(),i.deactivate())},w=function(y){var _=fu(y);s(_,y)>=0||je(r.clickOutsideDeactivates,y)||je(r.allowOutsideClick,y)||(y.preventDefault(),y.stopImmediatePropagation())},F=function(){if(o.active)return bn.activateTrap(n,i),o.delayInitialFocusTimer=r.delayInitialFocus?mn(function(){b(d())}):b(d()),t.addEventListener("focusin",C,!0),t.addEventListener("mousedown",x,{capture:!0,passive:!1}),t.addEventListener("touchstart",x,{capture:!0,passive:!1}),t.addEventListener("click",w,{capture:!0,passive:!1}),t.addEventListener("keydown",E,{capture:!0,passive:!1}),t.addEventListener("keydown",A),i},T=function(){if(o.active)return t.removeEventListener("focusin",C,!0),t.removeEventListener("mousedown",x,!0),t.removeEventListener("touchstart",x,!0),t.removeEventListener("click",w,!0),t.removeEventListener("keydown",E,!0),t.removeEventListener("keydown",A),i},U=function(y){var _=y.some(function(S){var O=Array.from(S.removedNodes);return O.some(function(v){return v===o.mostRecentlyFocusedNode})});_&&b(d())},V=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(U):void 0,J=function(){V&&(V.disconnect(),o.active&&!o.paused&&o.containers.map(function(y){V.observe(y,{subtree:!0,childList:!0})}))};return i={get active(){return o.active},get paused(){return o.paused},activate:function(y){if(o.active)return this;var _=c(y,"onActivate"),S=c(y,"onPostActivate"),O=c(y,"checkCanFocusTrap");O||f(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=t.activeElement,_==null||_();var v=function(){O&&f(),F(),J(),S==null||S()};return O?(O(o.containers.concat()).then(v,v),this):(v(),this)},deactivate:function(y){if(!o.active)return this;var _=hn({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},y);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,T(),o.active=!1,o.paused=!1,J(),bn.deactivateTrap(n,i);var S=c(_,"onDeactivate"),O=c(_,"onPostDeactivate"),v=c(_,"checkCanReturnFocus"),P=c(_,"returnFocus","returnFocusOnDeactivate");S==null||S();var I=function(){mn(function(){P&&b(p(o.nodeFocusedBeforeActivation)),O==null||O()})};return P&&v?(v(p(o.nodeFocusedBeforeActivation)).then(I,I),this):(I(),this)},pause:function(y){return o.active?(o.manuallyPaused=!0,this._setPausedState(!0,y)):this},unpause:function(y){return o.active?(o.manuallyPaused=!1,n[n.length-1]!==this?this:this._setPausedState(!1,y)):this},updateContainerElements:function(y){var _=[].concat(y).filter(Boolean);return o.containers=_.map(function(S){return typeof S=="string"?t.querySelector(S):S}),o.active&&f(),J(),this}},Object.defineProperties(i,{_isManuallyPaused:{value:function(){return o.manuallyPaused}},_setPausedState:{value:function(y,_){if(o.paused===y)return this;if(o.paused=y,y){var S=c(_,"onPause"),O=c(_,"onPostPause");S==null||S(),T(),J(),O==null||O()}else{var v=c(_,"onUnpause"),P=c(_,"onPostUnpause");v==null||v(),f(),F(),J(),P==null||P()}return this}}}),i.updateContainerElements(e),i};const bi=a.defineComponent({name:"UseFocusTrap",props:["as","options"],setup(e,{slots:u}){let t;const n=a.ref(),r=()=>t&&t.activate(),o=()=>t&&t.deactivate();return a.watch(()=>qu(n),i=>{i&&(t=hi(i,e.options||{}),r())},{flush:"post"}),a.onScopeDispose(()=>o()),()=>{if(u.default)return a.h(e.as||"div",{ref:n},u.default())}}}),mi=W(a.defineComponent({__name:"QFocusTrap",props:a.mergeModels({options:{},as:{}},{disabled:{type:Boolean},disabledModifiers:{}}),emits:["update:disabled"],setup(e){const u=e,t=a.useModel(e,"disabled");return(n,r)=>t.value?a.renderSlot(n.$slots,"default",{key:0}):(a.openBlock(),a.createBlock(a.unref(bi),a.normalizeProps(a.mergeProps({key:1},u)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}})),ve="data-scroll-locked",$u="right-scroll-bar-position",Gu="width-before-scroll-bar",gi="with-scroll-bars-hidden",xi="--removed-body-scroll-bar-size",yi={left:0,top:0,right:0,gap:0},Hu=e=>parseInt(e||"",10)||0,ki=e=>{const u=window.getComputedStyle(document.body),t=u[e==="padding"?"paddingLeft":"marginLeft"],n=u[e==="padding"?"paddingTop":"marginTop"],r=u[e==="padding"?"paddingRight":"marginRight"];return[Hu(t),Hu(n),Hu(r)]},_i=(e="margin")=>{if(typeof window>"u")return yi;const u=ki(e),t=document.documentElement.clientWidth,n=window.innerWidth;return{left:u[0],top:u[1],right:u[2],gap:Math.max(0,n-t+u[2]-u[0])}};function Ei(){return document?document.createElement("style"):null}function Ai(e,u){e.appendChild(document.createTextNode(u))}function Ci(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}const wi=()=>{let e=0,u=null;return{add:t=>{e===0&&(u=Ei())&&(Ai(u,t),Ci(u)),e++},remove:()=>{var t;e--,!e&&u&&((t=u.parentNode)==null||t.removeChild(u),u=null)}}},Di=W(a.defineComponent({__name:"QRemoveScrollBar",props:{noRelative:{type:Boolean},noImportant:{type:Boolean},gapMode:{default:"margin"}},setup(e){const u=e,t=wi(),n=()=>{const o=parseInt(document.body.getAttribute(ve)||"0",10);return isFinite(o)?o:0},r=({left:o,top:i,right:c,gap:s},l,d="margin",f)=>`
|
|
14
|
+
.${gi} {
|
|
15
|
+
overflow: hidden ${f};
|
|
16
|
+
padding-right: ${s}px ${f};
|
|
17
17
|
}
|
|
18
|
-
body[${
|
|
19
|
-
overflow: hidden ${
|
|
18
|
+
body[${ve}] {
|
|
19
|
+
overflow: hidden ${f};
|
|
20
20
|
overscroll-behavior: contain;
|
|
21
|
-
${[
|
|
22
|
-
padding-left: ${
|
|
23
|
-
padding-top: ${
|
|
24
|
-
padding-right: ${
|
|
21
|
+
${[l&&`position: relative ${f};`,d==="margin"&&`
|
|
22
|
+
padding-left: ${o}px;
|
|
23
|
+
padding-top: ${i}px;
|
|
24
|
+
padding-right: ${c}px;
|
|
25
25
|
margin-left:0;
|
|
26
26
|
margin-top:0;
|
|
27
|
-
margin-right: ${
|
|
28
|
-
`,d==="padding"&&`padding-right: ${
|
|
27
|
+
margin-right: ${s}px ${f};
|
|
28
|
+
`,d==="padding"&&`padding-right: ${s}px ${f};`].filter(Boolean).join("")}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.${
|
|
32
|
-
right: ${
|
|
31
|
+
.${$u} {
|
|
32
|
+
right: ${s}px ${f};
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.${
|
|
36
|
-
margin-right: ${
|
|
35
|
+
.${Gu} {
|
|
36
|
+
margin-right: ${s}px ${f};
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.${
|
|
40
|
-
right: 0 ${
|
|
39
|
+
.${$u} .${$u} {
|
|
40
|
+
right: 0 ${f};
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.${
|
|
44
|
-
margin-right: 0 ${
|
|
43
|
+
.${Gu} .${Gu} {
|
|
44
|
+
margin-right: 0 ${f};
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
body[${
|
|
48
|
-
${
|
|
47
|
+
body[${ve}] {
|
|
48
|
+
${xi}: ${s}px;
|
|
49
49
|
}
|
|
50
|
-
`;return a.onMounted(()=>{document.body.setAttribute(qe,(n()+1).toString());const s=Zi(e.gapMode);r.add(o(s,!e.noRelative,e.gapMode,e.noImportant?"":"!important"))}),a.onUnmounted(()=>{const s=n()-1;s<=0?document.body.removeAttribute(qe):document.body.setAttribute(qe,s.toString()),r.remove()}),(s,c)=>a.renderSlot(s.$slots,"default")}}));function Ki(t,e,r,n){const o=(n==null?void 0:n.offset)??0,s=(n==null?void 0:n.crossOffset)??0,c=(n==null?void 0:n.placement)??"bottom",i=t.getBoundingClientRect(),l=e.getBoundingClientRect(),u=r==null?void 0:r.getBoundingClientRect(),d=ea(i,l,c,o),p=sa(i,l,d),f=ra(p,d,o),m=na(f,d,s),h=ta(m,l,d);let b;if(n!=null&&n.arrow){if(!u)throw new Error("[Quidgest UI] The arrow element must exist to compute its position");b=oa(h,i,l,u,d)}return{overlayCoords:h,arrowCoords:b,placement:d}}function ea(t,e,r,n){const o=Sn(t,e,r,n);if(Rn(o)){const s=Se(r),c={top:"bottom",bottom:"top",left:"right",right:"left"}[s],i=Sn(t,e,c,n);if(Rn(i))return r;const l=aa(r);return l?`${c}-${l}`:c}return r}function ta(t,e,r){const n=dt(r),o=(c,i,l)=>Math.min(Math.max(c,i),l),s={...t};return n==="x"?s.x=o(t.x,8,window.innerWidth-e.width-8):s.y=o(t.y,8,window.innerHeight-e.height-8),s}function ra(t,e,r){const n=Se(e);return{x:t.x+(n==="left"?-r:n==="right"?r:0),y:t.y+(n==="top"?-r:n==="bottom"?r:0)}}function na(t,e,r){const n=Se(e);return{x:t.x+(n==="top"||n==="bottom"?r:0),y:t.y+(n==="right"||n==="left"?r:0)}}function oa(t,e,r,n,o){if(dt(o)==="y"){const s=e.top+e.height/2,c=t.y+r.height/2,i=c-s,l=r.height/2-i-n.height/2+2;if(l>0&&l<r.height-n.height)return{y:l}}else{const s=e.left+e.width/2,c=t.x+r.width/2,i=c-s,l=r.width/2-i-n.width/2+2;if(l>0&&l<r.width-n.width)return{x:l}}}function sa(t,e,r){const[n,o]=r.split("-"),s=t.x+t.width/2-e.width/2,c=t.y+t.height/2-e.height/2;let i;switch(n){case"top":i={x:s,y:t.y-e.height};break;case"bottom":i={x:s,y:t.y+t.height};break;case"left":i={x:t.x-e.width,y:c};break;case"right":i={x:t.x+t.width,y:c};break;default:throw new Error(`[Quidgest UI] Invalid placement value: ${r}`)}if(!o)return i;const l=dt(r)==="y"?"height":"width",u=dt(r),d=t[l]/2-e[l]/2;switch(o){case"start":i[u]-=d;break;case"end":i[u]+=d;break;default:throw new Error(`[Quidgest UI] Invalid alignment value: ${o}`)}return i}function Sn(t,e,r,n){const o=Se(r);let s=0;switch(o){case"top":s=t.top-(e.height+n);break;case"bottom":s=window.innerHeight-t.bottom-(e.height+n);break;case"left":s=t.left-(e.width+n);break;case"right":s=window.innerWidth-t.right-(e.width+n);break;default:throw new Error(`[Quidgest UI] Invalid side value: ${o}`)}return s}function ca(t){return t==="x"?"y":"x"}function ia(t){const e=Se(t);return["left","right"].includes(e)?"x":"y"}function dt(t){return ca(ia(t))}function Se(t){const[e]=t.split("-");return e}function aa(t){const[,e]=t.split("-");return e}function Rn(t){return t<0}function la(t){return typeof t=="string"?document.querySelector(t):t}const ua=["id"],da=["role"],pa=W(a.defineComponent({inheritAttrs:!1,__name:"QOverlay",props:a.mergeModels({id:{},class:{},anchor:{},appearance:{default:"regular"},arrow:{type:Boolean},attach:{default:"body"},inline:{type:Boolean},backdropBlur:{type:Boolean},backdropClass:{},delay:{default:500},nonModal:{type:Boolean},scrollLock:{type:Boolean},offset:{default:8},crossOffset:{default:0},persistent:{type:Boolean},placement:{default:"right"},spy:{type:Boolean},transition:{default:"fade"},trigger:{default:"click"},closeOnContentClick:{type:Boolean},width:{default:"auto"},focusTrap:{type:Boolean}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:a.mergeModels(["enter","leave"],["update:modelValue"]),setup(t,{emit:e}){const r=t,n=e,o=a.useModel(t,"modelValue"),{class:s}=ln(),c=a.computed(()=>["q-overlay",`q-overlay--${Se(p.placement)}`,s.value,{"q-overlay--independent":i.value,"q-overlay--inverted":r.appearance==="inverted"},r.class]),i=a.computed(()=>r.anchor===void 0),l=a.computed(()=>o.value&&!r.nonModal),u=a.computed(()=>(o.value||p.animating)&&r.scrollLock),d=a.computed(()=>!r.inline&&(o.value||p.animating)),p=a.reactive({animating:!1,top:0,left:0,width:0,placement:r.placement}),f=a.reactive({top:void 0,left:void 0,hidden:!0});a.watch(o,T);const m=a.computed(()=>{if(i.value)return;const B=D(),de=r.width==="anchor",Y=de?B==null?void 0:B.getBoundingClientRect().width:void 0;return{top:`${p.top}px`,left:`${p.left}px`,width:Y!==void 0?`${Y}px`:void 0}}),h=a.computed(()=>{if(r.arrow)return{top:f.top!==void 0?`${f.top}px`:void 0,left:f.left!==void 0?`${f.left}px`:void 0,opacity:f.hidden?0:1}}),b=a.ref(null),g=a.ref(null),w=a.ref(null);function k(){const B=D();if(!B||!g.value)return;const de={placement:r.placement,width:r.width,offset:r.offset,crossOffset:r.crossOffset,arrow:r.arrow},Y=Ki(B,g.value,(b==null?void 0:b.value)??void 0,de);p.left=Y.overlayCoords.x,p.top=Y.overlayCoords.y,p.placement=Y.placement,f.hidden=Y.arrowCoords===void 0,Y.arrowCoords&&(f.top=Y.arrowCoords.y,f.left=Y.arrowCoords.x)}a.watch(()=>r.placement,()=>a.nextTick(k));let C;function q(){E(0)}function S(){E(r.delay)}function E(B){C&&U(),C=window.setTimeout(()=>{o.value=!0},B)}function L(){if(C&&U(),o.value=!1,r.anchor&&r.trigger==="click"){const B=D();a.nextTick(()=>B==null?void 0:B.focus())}}function U(){clearTimeout(C),C=void 0}function G(){a.nextTick(Ae),n("enter")}function I(){x()}function v(){n("leave")}function A(){x(),kr()}function T(){p.animating=!0}function x(){p.animating=!1}function D(){return r.anchor?la(r.anchor):null}function _(B){r.persistent&&B.preventDefault()}function N(B){var de;if(r.persistent){B.preventDefault();return}let Y=!1;B.defaultPrevented||B.detail.originalEvent.type==="pointerdown"&&(Y=!0);const Ct=B.detail.originalEvent.target;if((de=D())!=null&&de.contains(Ct)){B.preventDefault();return}B.detail.originalEvent.type==="focusin"&&Y&&B.preventDefault()}function j(){L()}let M;function R(){const B=D();if(B)switch(M=new MutationObserver(k),M.observe(B,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),r.trigger){case"click":B.addEventListener("click",q);break;case"hover":B.addEventListener("mouseenter",S),B.addEventListener("mouseleave",L),B.addEventListener("focusin",q),B.addEventListener("focusout",L);break}}function O(){const B=D();if(B)switch(M==null||M.disconnect(),r.trigger){case"click":B.removeEventListener("click",q);break;case"hover":B.removeEventListener("mouseenter",S),B.removeEventListener("mouseleave",L),B.removeEventListener("focusin",q),B.removeEventListener("focusout",L);break}}function P(){window.addEventListener("resize",k),r.scrollLock||window.addEventListener("scroll",k)}function K(){window.removeEventListener("resize",k),r.scrollLock||window.removeEventListener("scroll",k)}let $;function oe(){D()?(k(),$=window.setTimeout(oe,100)):L()}function Ae(){var B;i.value||(P(),r.spy?oe():k()),(i.value||r.trigger==="click")&&((B=g.value)==null||B.focus())}function kr(){i.value||K(),r.spy&&(clearTimeout($),$=void 0)}return a.onMounted(()=>{a.nextTick(R)}),a.onBeforeUnmount(O),(B,de)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[(a.openBlock(),a.createBlock(a.Teleport,{disabled:!d.value,to:r.attach},[a.createVNode(a.Transition,{name:"fade",appear:""},{default:a.withCtx(()=>[l.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass([r.backdropClass,"q-overlay__underlay",{"q-overlay__underlay--blur":r.backdropBlur}])},null,2)):a.createCommentVNode("v-if",!0)]),_:1}),a.createVNode(a.Transition,{name:r.transition,appear:"",onEnter:G,onAfterEnter:I,onLeave:v,onAfterLeave:A},{default:a.withCtx(()=>[o.value?(a.openBlock(),a.createElementBlock("div",{key:0,id:r.id,ref_key:"overlayContainerRef",ref:w,tabindex:"-1",class:a.normalizeClass(c.value),style:a.normalizeStyle(m.value)},[a.createVNode(a.unref(li),{onDismiss:j,onInteractOutside:N,onPointerDownOutside:_},{default:a.withCtx(()=>[w.value?(a.openBlock(),a.createBlock(a.unref(Vi),{key:0,disabled:r.nonModal||!o.value,options:{fallbackFocus:w.value}},{default:a.withCtx(()=>[a.createElementVNode("div",a.mergeProps({ref_key:"overlayRef",ref:g,class:"q-overlay__content",tabindex:"-1",role:l.value?"dialog":void 0},B.$attrs),[r.arrow?(a.openBlock(),a.createElementBlock("div",{key:0,ref_key:"arrowRef",ref:b,role:"presentation",class:"q-overlay__arrow",style:a.normalizeStyle(h.value)},null,4)):a.createCommentVNode("v-if",!0),a.renderSlot(B.$slots,"default")],16,da)]),_:3},8,["disabled","options"])):a.createCommentVNode("v-if",!0)]),_:3})],14,ua)):a.createCommentVNode("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"])),u.value?(a.openBlock(),a.createBlock(a.unref(Xi),{key:0})):a.createCommentVNode("v-if",!0)],64))}})),fa=[{id:"button",icon:{icon:"check"},props:{variant:"bold",label:"Ok"}}],ha={icon:"check-circle-outline"},ma={close:{icon:"close"}},ga={class:"q-dialog__header"},ba={class:"q-dialog__header-title"},ya={class:"q-dialog__body"},wa={key:0,class:"q-dialog__body-icon"},ka={class:"q-dialog__body-text"},va=["innerHTML"],xa={key:1},Aa={class:"q-dialog__body-actions"},Ea=W(a.defineComponent({__name:"QDialog",props:a.mergeModels({id:{},class:{},title:{},text:{},icon:{default:()=>ha},buttons:{default:()=>fa},attach:{default:"body"},inline:{type:Boolean},backdropBlur:{type:Boolean,default:!0},dismissible:{type:Boolean},html:{type:Boolean,default:!0},icons:{default:()=>ma}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,r=a.useModel(t,"modelValue");function n(){r.value=!1}function o(s){var c;(c=s.action)==null||c.call(s),n()}return(s,c)=>(a.openBlock(),a.createBlock(a.unref(pa),{id:e.id,modelValue:r.value,"onUpdate:modelValue":c[0]||(c[0]=i=>r.value=i),"backdrop-class":"q-dialog__underlay","scroll-lock":"",persistent:"",inline:e.inline,attach:e.attach,"backdrop-blur":e.backdropBlur},{default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass(["q-dialog",e.class])},[a.createElementVNode("div",ga,[a.createElementVNode("span",ba,a.toDisplayString(e.title),1),e.dismissible?(a.openBlock(),a.createBlock(a.unref(ce),{key:0,variant:"text",onClick:n},{default:a.withCtx(()=>[a.createVNode(a.unref(ee),a.normalizeProps(a.guardReactiveProps(e.icons.close)),null,16)]),_:1})):a.createCommentVNode("v-if",!0)]),a.renderSlot(s.$slots,"body.content",{},()=>[a.createElementVNode("div",ya,[a.renderSlot(s.$slots,"body.icon",{},()=>[e.icon?(a.openBlock(),a.createElementBlock("span",wa,[a.createVNode(a.unref(ee),a.normalizeProps(a.guardReactiveProps(e.icon)),null,16)])):a.createCommentVNode("v-if",!0)]),a.createElementVNode("div",ka,[e.html?(a.openBlock(),a.createElementBlock("span",{key:0,innerHTML:e.text},null,8,va)):(a.openBlock(),a.createElementBlock("span",xa,a.toDisplayString(e.text),1))]),a.renderSlot(s.$slots,"body.append")])]),a.createElementVNode("div",Aa,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.buttons,i=>(a.openBlock(),a.createBlock(a.unref(ce),a.mergeProps({ref_for:!0},i.props,{key:i.id,onClick:()=>o(i)}),{default:a.withCtx(()=>[i.icon?(a.openBlock(),a.createBlock(a.unref(ee),a.mergeProps({key:0,ref_for:!0},i.icon),null,16)):a.createCommentVNode("v-if",!0)]),_:2},1040,["onClick"]))),128))])],2)]),_:3},8,["id","modelValue","inline","attach","backdrop-blur"]))}})),_a=["id","required","placeholder","readonly","disabled","maxlength","rows","cols","resize","wrap"],Ca=W(a.defineComponent({inheritAttrs:!1,__name:"QTextArea",props:a.mergeModels({id:{},class:{},label:{},for:{},required:{type:Boolean},size:{},readonly:{type:Boolean},disabled:{type:Boolean},invalid:{type:Boolean},placeholder:{},maxLength:{},rows:{default:3},cols:{},resize:{default:"vertical"},wrap:{default:"soft"},autosize:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,r=a.useModel(t,"modelValue"),n=a.computed({get:()=>r.value,set:u=>{const d=e.maxLength;r.value=d?u==null?void 0:u.slice(0,d):u}});a.watch(r,u=>n.value=u,{immediate:!0});const o=dn(e.id),s=a.computed(()=>e.readonly||e.disabled?void 0:e.placeholder),c=a.computed(()=>({input:e.autosize?l:null})),i=a.ref(),{triggerResize:l}=ai({element:a.computed(()=>e.autosize?i.value:void 0),styleProp:"minHeight"});return(u,d)=>(a.openBlock(),a.createBlock(a.unref(fn),{class:a.normalizeClass(["q-text-area",e.class]),for:a.unref(o),label:e.label,size:e.size,readonly:e.readonly,disabled:e.disabled,required:e.required},a.createSlots({"label.prepend":a.withCtx(()=>[a.renderSlot(u.$slots,"label.prepend")]),"label.append":a.withCtx(()=>[a.renderSlot(u.$slots,"label.append")]),default:a.withCtx(()=>[a.withDirectives(a.createElementVNode("textarea",a.mergeProps({id:a.unref(o),ref_key:"textareaRef",ref:i,"onUpdate:modelValue":d[0]||(d[0]=p=>n.value=p),class:"q-text-area__input",required:e.required,placeholder:s.value,readonly:e.readonly,disabled:e.disabled,maxlength:e.maxLength,rows:e.rows,cols:e.cols,resize:e.resize,wrap:e.wrap},u.$attrs,a.toHandlers(c.value,!0)),null,16,_a),[[a.vModelText,n.value]])]),_:2},[u.$slots.prepend?{name:"prepend",fn:a.withCtx(()=>[a.renderSlot(u.$slots,"prepend")]),key:"0"}:void 0,u.$slots.append?{name:"append",fn:a.withCtx(()=>[a.renderSlot(u.$slots,"append")]),key:"1"}:void 0,u.$slots.extras?{name:"extras",fn:a.withCtx(()=>[a.renderSlot(u.$slots,"extras")]),key:"2"}:void 0]),1032,["class","for","label","size","readonly","disabled","required"]))}})),Da={class:"pulsing-dots"},qa=a.defineComponent({__name:"PulseDots",setup(t){const e=[1,2,3];return(r,n)=>(a.openBlock(),a.createElementBlock("div",Da,[(a.openBlock(),a.createElementBlock(a.Fragment,null,a.renderList(e,(o,s)=>a.createElementVNode("span",{key:s,class:"dot",style:a.normalizeStyle({animationDelay:s*.2+"s"})}," • ",4)),64))]))}});function Sa(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Ra(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return t[n]}})}),r}var z={},Tn={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
51
|
-
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},Zt=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Re={},Ln={};function Ta(t){var e,r,n=Ln[t];if(n)return n;for(n=Ln[t]=[],e=0;e<128;e++)r=String.fromCharCode(e),/^[0-9a-z]$/i.test(r)?n.push(r):n.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e<t.length;e++)n[t.charCodeAt(e)]=t[e];return n}function pt(t,e,r){var n,o,s,c,i,l="";for(typeof e!="string"&&(r=e,e=pt.defaultChars),typeof r>"u"&&(r=!0),i=Ta(e),n=0,o=t.length;n<o;n++){if(s=t.charCodeAt(n),r&&s===37&&n+2<o&&/^[0-9a-f]{2}$/i.test(t.slice(n+1,n+3))){l+=t.slice(n,n+3),n+=2;continue}if(s<128){l+=i[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&n+1<o&&(c=t.charCodeAt(n+1),c>=56320&&c<=57343)){l+=encodeURIComponent(t[n]+t[n+1]),n++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(t[n])}return l}pt.defaultChars=";/?:@&=+$,-_.!~*'()#",pt.componentChars="-_.!~*'()";var La=pt,Nn={};function Na(t){var e,r,n=Nn[t];if(n)return n;for(n=Nn[t]=[],e=0;e<128;e++)r=String.fromCharCode(e),n.push(r);for(e=0;e<t.length;e++)r=t.charCodeAt(e),n[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return n}function ft(t,e){var r;return typeof e!="string"&&(e=ft.defaultChars),r=Na(e),t.replace(/(%[a-f0-9]{2})+/gi,function(n){var o,s,c,i,l,u,d,p="";for(o=0,s=n.length;o<s;o+=3){if(c=parseInt(n.slice(o+1,o+3),16),c<128){p+=r[c];continue}if((c&224)===192&&o+3<s&&(i=parseInt(n.slice(o+4,o+6),16),(i&192)===128)){d=c<<6&1984|i&63,d<128?p+="��":p+=String.fromCharCode(d),o+=3;continue}if((c&240)===224&&o+6<s&&(i=parseInt(n.slice(o+4,o+6),16),l=parseInt(n.slice(o+7,o+9),16),(i&192)===128&&(l&192)===128)){d=c<<12&61440|i<<6&4032|l&63,d<2048||d>=55296&&d<=57343?p+="���":p+=String.fromCharCode(d),o+=6;continue}if((c&248)===240&&o+9<s&&(i=parseInt(n.slice(o+4,o+6),16),l=parseInt(n.slice(o+7,o+9),16),u=parseInt(n.slice(o+10,o+12),16),(i&192)===128&&(l&192)===128&&(u&192)===128)){d=c<<18&1835008|i<<12&258048|l<<6&4032|u&63,d<65536||d>1114111?p+="����":(d-=65536,p+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),o+=9;continue}p+="�"}return p})}ft.defaultChars=";/?:@&=+$,#",ft.componentChars="";var Ba=ft,Fa=function(e){var r="";return r+=e.protocol||"",r+=e.slashes?"//":"",r+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?r+="["+e.hostname+"]":r+=e.hostname||"",r+=e.port?":"+e.port:"",r+=e.pathname||"",r+=e.search||"",r+=e.hash||"",r};function ht(){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 Ia=/^([a-z0-9.+-]+:)/i,Oa=/:[0-9]*$/,Pa=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ua=["<",">",'"',"`"," ","\r",`
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
`)
|
|
56
|
-
`},ie.image=function(t,e,r,n,o){var s=t[e];return s.attrs[s.attrIndex("alt")][1]=o.renderInlineAsText(s.children,r,n),o.renderToken(t,e,r)},ie.hardbreak=function(t,e,r){return r.xhtmlOut?`<br />
|
|
50
|
+
`;return a.onMounted(()=>{document.body.setAttribute(ve,(n()+1).toString());const o=_i(u.gapMode);t.add(r(o,!u.noRelative,u.gapMode,u.noImportant?"":"!important"))}),a.onUnmounted(()=>{const o=n()-1;o<=0?document.body.removeAttribute(ve):document.body.setAttribute(ve,o.toString()),t.remove()}),(o,i)=>a.renderSlot(o.$slots,"default")}}));function Fi(e,u,t,n){const r=(n==null?void 0:n.offset)??0,o=(n==null?void 0:n.crossOffset)??0,i=(n==null?void 0:n.placement)??"bottom",c=e.getBoundingClientRect(),s=u.getBoundingClientRect(),l=t==null?void 0:t.getBoundingClientRect(),d=Si(c,s,i,r),f=Ni(c,s,d),h=Bi(f,d,r),b=Ri(h,d,o),p=vi(b,s,d);let g;if(n!=null&&n.arrow){if(!l)throw new Error("[Quidgest UI] The arrow element must exist to compute its position");g=Ti(p,c,s,l,d)}return{overlayCoords:p,arrowCoords:g,placement:d}}function Si(e,u,t,n){const r=gn(e,u,t,n);if(xn(r)){const o=Be(t),i={top:"bottom",bottom:"top",left:"right",right:"left"}[o],c=gn(e,u,i,n);if(xn(c))return t;const s=Li(t);return s?`${i}-${s}`:i}return t}function vi(e,u,t){const n=pu(t),r=(i,c,s)=>Math.min(Math.max(i,c),s),o={...e};return n==="x"?o.x=r(e.x,8,window.innerWidth-u.width-8):o.y=r(e.y,8,window.innerHeight-u.height-8),o}function Bi(e,u,t){const n=Be(u);return{x:e.x+(n==="left"?-t:n==="right"?t:0),y:e.y+(n==="top"?-t:n==="bottom"?t:0)}}function Ri(e,u,t){const n=Be(u);return{x:e.x+(n==="top"||n==="bottom"?t:0),y:e.y+(n==="right"||n==="left"?t:0)}}function Ti(e,u,t,n,r){if(pu(r)==="y"){const o=u.top+u.height/2,i=e.y+t.height/2,c=i-o,s=t.height/2-c-n.height/2+2;if(s>0&&s<t.height-n.height)return{y:s}}else{const o=u.left+u.width/2,i=e.x+t.width/2,c=i-o,s=t.width/2-c-n.width/2+2;if(s>0&&s<t.width-n.width)return{x:s}}}function Ni(e,u,t){const[n,r]=t.split("-"),o=e.x+e.width/2-u.width/2,i=e.y+e.height/2-u.height/2;let c;switch(n){case"top":c={x:o,y:e.y-u.height};break;case"bottom":c={x:o,y:e.y+e.height};break;case"left":c={x:e.x-u.width,y:i};break;case"right":c={x:e.x+e.width,y:i};break;default:throw new Error(`[Quidgest UI] Invalid placement value: ${t}`)}if(!r)return c;const s=pu(t)==="y"?"height":"width",l=pu(t),d=e[s]/2-u[s]/2;switch(r){case"start":c[l]-=d;break;case"end":c[l]+=d;break;default:throw new Error(`[Quidgest UI] Invalid alignment value: ${r}`)}return c}function gn(e,u,t,n){const r=Be(t);let o=0;switch(r){case"top":o=e.top-(u.height+n);break;case"bottom":o=window.innerHeight-e.bottom-(u.height+n);break;case"left":o=e.left-(u.width+n);break;case"right":o=window.innerWidth-e.right-(u.width+n);break;default:throw new Error(`[Quidgest UI] Invalid side value: ${r}`)}return o}function Ii(e){return e==="x"?"y":"x"}function Oi(e){const u=Be(e);return["left","right"].includes(u)?"x":"y"}function pu(e){return Ii(Oi(e))}function Be(e){const[u]=e.split("-");return u}function Li(e){const[,u]=e.split("-");return u}function xn(e){return e<0}function Pi(e){return typeof e=="string"?document.querySelector(e):e}const Mi=["id"],zi=["role"],qi=W(a.defineComponent({inheritAttrs:!1,__name:"QOverlay",props:a.mergeModels({id:{},class:{},anchor:{},appearance:{default:"regular"},arrow:{type:Boolean},attach:{default:"body"},inline:{type:Boolean},backdropBlur:{type:Boolean},backdropClass:{},delay:{default:500},nonModal:{type:Boolean},scrollLock:{type:Boolean},offset:{default:8},crossOffset:{default:0},persistent:{type:Boolean},placement:{default:"right"},spy:{type:Boolean},transition:{default:"fade"},trigger:{default:"click"},width:{default:"auto"},focusTrap:{type:Boolean},centerVertically:{type:Boolean}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:a.mergeModels(["enter","leave"],["update:modelValue"]),setup(e,{emit:u}){const t=e,n=u,r=a.useModel(e,"modelValue"),{class:o}=en(),i=a.computed(()=>["q-overlay",`q-overlay--${Be(f.placement)}`,o.value,{"q-overlay--independent":c.value,"q-overlay--inverted":t.appearance==="inverted","q-overlay--center":t.centerVertically},t.class]),c=a.computed(()=>t.anchor===void 0),s=a.computed(()=>r.value&&!t.nonModal),l=a.computed(()=>(r.value||f.animating)&&t.scrollLock),d=a.computed(()=>!t.inline&&(r.value||f.animating)),f=a.reactive({animating:!1,top:0,left:0,width:0,placement:t.placement}),h=a.reactive({top:void 0,left:void 0,hidden:!0});a.watch(r,S);const b=a.computed(()=>{if(c.value)return;const B=v(),he=t.width==="anchor",ee=he?B==null?void 0:B.getBoundingClientRect().width:void 0;return{top:`${f.top}px`,left:`${f.left}px`,width:ee!==void 0?`${ee}px`:void 0}}),p=a.computed(()=>{if(t.arrow)return{top:h.top!==void 0?`${h.top}px`:void 0,left:h.left!==void 0?`${h.left}px`:void 0,opacity:h.hidden?0:1}}),g=a.ref(null),x=a.ref(null),C=a.ref(null);function k(){const B=v();if(!B||!x.value)return;const he={placement:t.placement,width:t.width,offset:t.offset,crossOffset:t.crossOffset,arrow:t.arrow},ee=Fi(B,x.value,(g==null?void 0:g.value)??void 0,he);f.left=ee.overlayCoords.x,f.top=ee.overlayCoords.y,f.placement=ee.placement,h.hidden=ee.arrowCoords===void 0,ee.arrowCoords&&(h.top=ee.arrowCoords.y,h.left=ee.arrowCoords.x)}a.watch(()=>t.placement,()=>a.nextTick(k));let E;function A(){F(0)}function w(){F(t.delay)}function F(B){E&&U(),E=window.setTimeout(()=>{r.value=!0},B)}function T(){if(E&&U(),r.value=!1,t.anchor&&t.trigger==="click"){const B=v();a.nextTick(()=>B==null?void 0:B.focus())}}function U(){clearTimeout(E),E=void 0}function V(){a.nextTick(Ce),n("enter")}function J(){O()}function y(){n("leave")}function _(){O(),ft()}function S(){f.animating=!0}function O(){f.animating=!1}function v(){return t.anchor?Pi(t.anchor):null}function P(B){t.persistent&&B.preventDefault()}function I(B){var he;if(t.persistent){B.preventDefault();return}let ee=!1;B.defaultPrevented||B.detail.originalEvent.type==="pointerdown"&&(ee=!0);const Cu=B.detail.originalEvent.target;if((he=v())!=null&&he.contains(Cu)){B.preventDefault();return}B.detail.originalEvent.type==="focusin"&&ee&&B.preventDefault()}function j(){T()}let M;function D(){const B=v();if(B)switch(M=new MutationObserver(k),M.observe(B,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),t.trigger){case"click":B.addEventListener("click",A);break;case"hover":B.addEventListener("mouseenter",w),B.addEventListener("mouseleave",T),B.addEventListener("focusin",A),B.addEventListener("focusout",T);break}}function N(){const B=v();if(B)switch(M==null||M.disconnect(),t.trigger){case"click":B.removeEventListener("click",A);break;case"hover":B.removeEventListener("mouseenter",w),B.removeEventListener("mouseleave",T),B.removeEventListener("focusin",A),B.removeEventListener("focusout",T);break}}function L(){window.addEventListener("resize",k),t.scrollLock||window.addEventListener("scroll",k)}function te(){window.removeEventListener("resize",k),t.scrollLock||window.removeEventListener("scroll",k)}let H;function ae(){v()?(k(),H=window.setTimeout(ae,100)):T()}function Ce(){var B;c.value||(L(),t.spy?ae():k()),(c.value||t.trigger==="click")&&((B=x.value)==null||B.focus())}function ft(){c.value||te(),t.spy&&(clearTimeout(H),H=void 0)}return a.onMounted(()=>{a.nextTick(D)}),a.onBeforeUnmount(N),(B,he)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[(a.openBlock(),a.createBlock(a.Teleport,{disabled:!d.value,to:t.attach},[a.createVNode(a.Transition,{name:"fade",appear:""},{default:a.withCtx(()=>[s.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass([t.backdropClass,"q-overlay__underlay",{"q-overlay__underlay--blur":t.backdropBlur}])},null,2)):a.createCommentVNode("v-if",!0)]),_:1}),a.createVNode(a.Transition,{name:t.transition,appear:"",onEnter:V,onAfterEnter:J,onLeave:y,onAfterLeave:_},{default:a.withCtx(()=>[r.value?(a.openBlock(),a.createElementBlock("div",{key:0,id:t.id,ref_key:"overlayContainerRef",ref:C,tabindex:"-1",class:a.normalizeClass(i.value),style:a.normalizeStyle(b.value)},[a.createVNode(a.unref(v0),{onDismiss:j,onInteractOutside:I,onPointerDownOutside:P},{default:a.withCtx(()=>[C.value?(a.openBlock(),a.createBlock(a.unref(mi),{key:0,disabled:t.nonModal||!r.value,options:{fallbackFocus:C.value}},{default:a.withCtx(()=>[a.createElementVNode("div",a.mergeProps({ref_key:"overlayRef",ref:x,class:"q-overlay__content",tabindex:"-1",role:s.value?"dialog":void 0},B.$attrs),[t.arrow?(a.openBlock(),a.createElementBlock("div",{key:0,ref_key:"arrowRef",ref:g,role:"presentation",class:"q-overlay__arrow",style:a.normalizeStyle(p.value)},null,4)):a.createCommentVNode("v-if",!0),a.renderSlot(B.$slots,"default")],16,zi)]),_:3},8,["disabled","options"])):a.createCommentVNode("v-if",!0)]),_:3})],14,Mi)):a.createCommentVNode("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"])),l.value?(a.openBlock(),a.createBlock(a.unref(Di),{key:0})):a.createCommentVNode("v-if",!0)],64))}})),Ui=[{id:"button",icon:{icon:"check"},props:{variant:"bold",label:"Ok"}}],ji={icon:"check-circle-outline"},Vi={close:{icon:"close"}},$i={key:0,class:"q-dialog__header"},Gi={class:"q-dialog__header-title"},Hi={key:1,class:"q-dialog__body"},Wi={key:0,class:"q-dialog__body-icon"},Zi={class:"q-dialog__body-text"},Qi=["innerHTML"],Ji={key:1},Yi={key:2,class:"q-dialog__footer"},Xi={class:"q-dialog__footer-buttons"},Ki=a.defineComponent({__name:"QDialog",props:a.mergeModels({id:{},class:{},title:{},text:{},icon:{default:()=>ji},buttons:{default:()=>Ui},attach:{default:"body"},inline:{type:Boolean},backdropBlur:{type:Boolean,default:!0},dismissible:{type:Boolean},html:{type:Boolean,default:!0},icons:{default:()=>Vi},size:{default:"small"},centerVertically:{type:Boolean}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:a.mergeModels(["enter","leave"],["update:modelValue"]),setup(e,{emit:u}){const t=e,n=u,r=a.useModel(e,"modelValue"),o=a.computed(()=>["q-dialog",t.class]),i=a.computed(()=>`q-overlay--${t.size}`);function c(){r.value=!1}function s(f){var h;(h=f.action)==null||h.call(f),c()}function l(){n("enter")}function d(){n("leave")}return(f,h)=>(a.openBlock(),a.createBlock(a.unref(qi),{id:t.id,modelValue:r.value,"onUpdate:modelValue":h[0]||(h[0]=b=>r.value=b),"backdrop-class":"q-dialog__underlay","scroll-lock":"",persistent:"",inline:t.inline,attach:t.attach,"backdrop-blur":t.backdropBlur,"center-vertically":t.centerVertically,class:a.normalizeClass(i.value),onEnter:l,onLeave:d},{default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass(o.value)},[t.title||f.$slots.header?(a.openBlock(),a.createElementBlock("div",$i,[a.renderSlot(f.$slots,"header",{},()=>[a.createElementVNode("span",Gi,a.toDisplayString(t.title),1)])])):a.createCommentVNode("v-if",!0),t.icon||t.text||f.$slots.body?(a.openBlock(),a.createElementBlock("div",Hi,[a.renderSlot(f.$slots,"body",{},()=>[a.renderSlot(f.$slots,"body.icon",{},()=>[t.icon?(a.openBlock(),a.createElementBlock("span",Wi,[a.createVNode(a.unref(ne),a.normalizeProps(a.guardReactiveProps(t.icon)),null,16)])):a.createCommentVNode("v-if",!0)]),a.createElementVNode("div",Zi,[t.html?(a.openBlock(),a.createElementBlock("div",{key:0,innerHTML:t.text},null,8,Qi)):(a.openBlock(),a.createElementBlock("div",Ji,a.toDisplayString(t.text),1))]),a.renderSlot(f.$slots,"body.append")])])):a.createCommentVNode("v-if",!0),t.buttons||f.$slots.footer?(a.openBlock(),a.createElementBlock("div",Yi,[a.renderSlot(f.$slots,"footer",{},()=>[a.createElementVNode("span",Xi,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.buttons,b=>(a.openBlock(),a.createBlock(a.unref(se),a.mergeProps({ref_for:!0},b.props,{key:b.id,onClick:()=>s(b)}),{default:a.withCtx(()=>[b.icon?(a.openBlock(),a.createBlock(a.unref(ne),a.mergeProps({key:0,ref_for:!0},b.icon),null,16)):a.createCommentVNode("v-if",!0)]),_:2},1040,["onClick"]))),128))])])])):a.createCommentVNode("v-if",!0),t.dismissible?(a.openBlock(),a.createBlock(a.unref(se),{key:3,class:"q-dialog__close",variant:"text",onClick:c},{default:a.withCtx(()=>[a.createVNode(a.unref(ne),a.normalizeProps(a.guardReactiveProps(t.icons.close)),null,16)]),_:1})):a.createCommentVNode("v-if",!0)],2)]),_:3},8,["id","modelValue","inline","attach","backdrop-blur","center-vertically","class"]))}}),hu=a.reactive({dialogs:[]});function ea(){function e(t,n){const r=Mu(n);return hu.dialogs.push({id:r,props:t}),r}function u(t){const n=hu.dialogs.findIndex(r=>r.id===t);n!==-1&&hu.dialogs.splice(n,1)}return{...hu,addDialog:e,removeDialog:u}}const ua=a.defineComponent({inheritAttrs:!1,__name:"QDialogProvider",setup(e){const{dialogs:u,removeDialog:t}=ea();return(n,r)=>(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(u),o=>(a.openBlock(),a.createBlock(a.unref(yn),a.mergeProps({key:o.id,ref_for:!0},o.props,{"model-value":"",onLeave:()=>a.unref(t)(o.id)}),null,16,["onLeave"]))),128))}}),yn=W(Ki);W(ua);const ta=["id","required","placeholder","readonly","disabled","maxlength","rows","cols","resize","wrap"],na=W(a.defineComponent({inheritAttrs:!1,__name:"QTextArea",props:a.mergeModels({id:{},class:{},label:{},for:{},required:{type:Boolean},size:{},readonly:{type:Boolean},disabled:{type:Boolean},invalid:{type:Boolean},placeholder:{},maxLength:{},rows:{default:3},cols:{},resize:{default:"vertical"},wrap:{default:"soft"},autosize:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const u=e,t=a.useModel(e,"modelValue"),n=a.computed({get:()=>t.value,set:l=>{const d=u.maxLength;t.value=d?l==null?void 0:l.slice(0,d):l}});a.watch(t,l=>n.value=l,{immediate:!0});const r=Mu(u.id),o=a.computed(()=>u.readonly||u.disabled?void 0:u.placeholder),i=a.computed(()=>({input:u.autosize?s:null})),c=a.ref(),{triggerResize:s}=P0({element:a.computed(()=>u.autosize?c.value:void 0),styleProp:"minHeight"});return(l,d)=>(a.openBlock(),a.createBlock(a.unref(nn),{class:a.normalizeClass(["q-text-area",u.class]),for:a.unref(r),label:u.label,size:u.size,readonly:u.readonly,disabled:u.disabled,required:u.required},a.createSlots({"label.prepend":a.withCtx(()=>[a.renderSlot(l.$slots,"label.prepend")]),"label.append":a.withCtx(()=>[a.renderSlot(l.$slots,"label.append")]),default:a.withCtx(()=>[a.withDirectives(a.createElementVNode("textarea",a.mergeProps({id:a.unref(r),ref_key:"textareaRef",ref:c,"onUpdate:modelValue":d[0]||(d[0]=f=>n.value=f),class:"q-text-area__input",required:u.required,placeholder:o.value,readonly:u.readonly,disabled:u.disabled,maxlength:u.maxLength,rows:u.rows,cols:u.cols,resize:u.resize,wrap:u.wrap},l.$attrs,a.toHandlers(i.value,!0)),null,16,ta),[[a.vModelText,n.value]])]),_:2},[l.$slots.prepend?{name:"prepend",fn:a.withCtx(()=>[a.renderSlot(l.$slots,"prepend")]),key:"0"}:void 0,l.$slots.append?{name:"append",fn:a.withCtx(()=>[a.renderSlot(l.$slots,"append")]),key:"1"}:void 0,l.$slots.extras?{name:"extras",fn:a.withCtx(()=>[a.renderSlot(l.$slots,"extras")]),key:"2"}:void 0]),1032,["class","for","label","size","readonly","disabled","required"]))}})),ra={class:"pulsing-dots"},oa=a.defineComponent({__name:"PulseDots",setup(e){const u=[1,2,3];return(t,n)=>(a.openBlock(),a.createElementBlock("div",ra,[(a.openBlock(),a.createElementBlock(a.Fragment,null,a.renderList(u,(r,o)=>a.createElementVNode("span",{key:o,class:"dot",style:a.normalizeStyle({animationDelay:o*.2+"s"})}," • ",4)),64))]))}}),kn={};function ia(e){let u=kn[e];if(u)return u;u=kn[e]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);u.push(n)}for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);u[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return u}function Re(e,u){typeof u!="string"&&(u=Re.defaultChars);const t=ia(u);return e.replace(/(%[a-f0-9]{2})+/gi,function(n){let r="";for(let o=0,i=n.length;o<i;o+=3){const c=parseInt(n.slice(o+1,o+3),16);if(c<128){r+=t[c];continue}if((c&224)===192&&o+3<i){const s=parseInt(n.slice(o+4,o+6),16);if((s&192)===128){const l=c<<6&1984|s&63;l<128?r+="��":r+=String.fromCharCode(l),o+=3;continue}}if((c&240)===224&&o+6<i){const s=parseInt(n.slice(o+4,o+6),16),l=parseInt(n.slice(o+7,o+9),16);if((s&192)===128&&(l&192)===128){const d=c<<12&61440|s<<6&4032|l&63;d<2048||d>=55296&&d<=57343?r+="���":r+=String.fromCharCode(d),o+=6;continue}}if((c&248)===240&&o+9<i){const s=parseInt(n.slice(o+4,o+6),16),l=parseInt(n.slice(o+7,o+9),16),d=parseInt(n.slice(o+10,o+12),16);if((s&192)===128&&(l&192)===128&&(d&192)===128){let f=c<<18&1835008|s<<12&258048|l<<6&4032|d&63;f<65536||f>1114111?r+="����":(f-=65536,r+=String.fromCharCode(55296+(f>>10),56320+(f&1023))),o+=9;continue}}r+="�"}return r})}Re.defaultChars=";/?:@&=+$,#",Re.componentChars="";const _n={};function aa(e){let u=_n[e];if(u)return u;u=_n[e]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);/^[0-9a-z]$/i.test(n)?u.push(n):u.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2))}for(let t=0;t<e.length;t++)u[e.charCodeAt(t)]=e[t];return u}function Ve(e,u,t){typeof u!="string"&&(t=u,u=Ve.defaultChars),typeof t>"u"&&(t=!0);const n=aa(u);let r="";for(let o=0,i=e.length;o<i;o++){const c=e.charCodeAt(o);if(t&&c===37&&o+2<i&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3))){r+=e.slice(o,o+3),o+=2;continue}if(c<128){r+=n[c];continue}if(c>=55296&&c<=57343){if(c>=55296&&c<=56319&&o+1<i){const s=e.charCodeAt(o+1);if(s>=56320&&s<=57343){r+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(e[o])}return r}Ve.defaultChars=";/?:@&=+$,-_.!~*'()#",Ve.componentChars="-_.!~*'()";function Wu(e){let u="";return u+=e.protocol||"",u+=e.slashes?"//":"",u+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?u+="["+e.hostname+"]":u+=e.hostname||"",u+=e.port?":"+e.port:"",u+=e.pathname||"",u+=e.search||"",u+=e.hash||"",u}function bu(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const ca=/^([a-z0-9.+-]+:)/i,sa=/:[0-9]*$/,la=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,da=["<",">",'"',"`"," ","\r",`
|
|
51
|
+
`," "],fa=["{","}","|","\\","^","`"].concat(da),pa=["'"].concat(fa),En=["%","/","?",";","#"].concat(pa),An=["/","?","#"],ha=255,Cn=/^[+a-z0-9A-Z_-]{0,63}$/,ba=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,wn={javascript:!0,"javascript:":!0},Dn={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Zu(e,u){if(e&&e instanceof bu)return e;const t=new bu;return t.parse(e,u),t}bu.prototype.parse=function(e,u){let t,n,r,o=e;if(o=o.trim(),!u&&e.split("#").length===1){const l=la.exec(o);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}let i=ca.exec(o);if(i&&(i=i[0],t=i.toLowerCase(),this.protocol=i,o=o.substr(i.length)),(u||i||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=o.substr(0,2)==="//",r&&!(i&&wn[i])&&(o=o.substr(2),this.slashes=!0)),!wn[i]&&(r||i&&!Dn[i])){let l=-1;for(let p=0;p<An.length;p++)n=o.indexOf(An[p]),n!==-1&&(l===-1||n<l)&&(l=n);let d,f;l===-1?f=o.lastIndexOf("@"):f=o.lastIndexOf("@",l),f!==-1&&(d=o.slice(0,f),o=o.slice(f+1),this.auth=d),l=-1;for(let p=0;p<En.length;p++)n=o.indexOf(En[p]),n!==-1&&(l===-1||n<l)&&(l=n);l===-1&&(l=o.length),o[l-1]===":"&&l--;const h=o.slice(0,l);o=o.slice(l),this.parseHost(h),this.hostname=this.hostname||"";const b=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!b){const p=this.hostname.split(/\./);for(let g=0,x=p.length;g<x;g++){const C=p[g];if(C&&!C.match(Cn)){let k="";for(let E=0,A=C.length;E<A;E++)C.charCodeAt(E)>127?k+="x":k+=C[E];if(!k.match(Cn)){const E=p.slice(0,g),A=p.slice(g+1),w=C.match(ba);w&&(E.push(w[1]),A.unshift(w[2])),A.length&&(o=A.join(".")+o),this.hostname=E.join(".");break}}}}this.hostname.length>ha&&(this.hostname=""),b&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const c=o.indexOf("#");c!==-1&&(this.hash=o.substr(c),o=o.slice(0,c));const s=o.indexOf("?");return s!==-1&&(this.search=o.substr(s),o=o.slice(0,s)),o&&(this.pathname=o),Dn[t]&&this.hostname&&!this.pathname&&(this.pathname=""),this},bu.prototype.parseHost=function(e){let u=sa.exec(e);u&&(u=u[0],u!==":"&&(this.port=u.substr(1)),e=e.substr(0,e.length-u.length)),e&&(this.hostname=e)};const ma=Object.freeze(Object.defineProperty({__proto__:null,decode:Re,encode:Ve,format:Wu,parse:Zu},Symbol.toStringTag,{value:"Module"})),Fn=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Sn=/[\0-\x1F\x7F-\x9F]/,ga=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Qu=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\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-\u2E4F\u2E52-\u2E5D\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[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,vn=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Bn=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,xa=Object.freeze(Object.defineProperty({__proto__:null,Any:Fn,Cc:Sn,Cf:ga,P:Qu,S:vn,Z:Bn},Symbol.toStringTag,{value:"Module"})),ya=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),ka=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Ju;const _a=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Ea=(Ju=String.fromCodePoint)!==null&&Ju!==void 0?Ju:function(e){let u="";return e>65535&&(e-=65536,u+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),u+=String.fromCharCode(e),u};function Aa(e){var u;return e>=55296&&e<=57343||e>1114111?65533:(u=_a.get(e))!==null&&u!==void 0?u:e}var $;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})($||($={}));const Ca=32;var be;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(be||(be={}));function Yu(e){return e>=$.ZERO&&e<=$.NINE}function wa(e){return e>=$.UPPER_A&&e<=$.UPPER_F||e>=$.LOWER_A&&e<=$.LOWER_F}function Da(e){return e>=$.UPPER_A&&e<=$.UPPER_Z||e>=$.LOWER_A&&e<=$.LOWER_Z||Yu(e)}function Fa(e){return e===$.EQUALS||Da(e)}var G;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(G||(G={}));var me;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(me||(me={}));class Sa{constructor(u,t,n){this.decodeTree=u,this.emitCodePoint=t,this.errors=n,this.state=G.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=me.Strict}startEntity(u){this.decodeMode=u,this.state=G.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(u,t){switch(this.state){case G.EntityStart:return u.charCodeAt(t)===$.NUM?(this.state=G.NumericStart,this.consumed+=1,this.stateNumericStart(u,t+1)):(this.state=G.NamedEntity,this.stateNamedEntity(u,t));case G.NumericStart:return this.stateNumericStart(u,t);case G.NumericDecimal:return this.stateNumericDecimal(u,t);case G.NumericHex:return this.stateNumericHex(u,t);case G.NamedEntity:return this.stateNamedEntity(u,t)}}stateNumericStart(u,t){return t>=u.length?-1:(u.charCodeAt(t)|Ca)===$.LOWER_X?(this.state=G.NumericHex,this.consumed+=1,this.stateNumericHex(u,t+1)):(this.state=G.NumericDecimal,this.stateNumericDecimal(u,t))}addToNumericResult(u,t,n,r){if(t!==n){const o=n-t;this.result=this.result*Math.pow(r,o)+parseInt(u.substr(t,o),r),this.consumed+=o}}stateNumericHex(u,t){const n=t;for(;t<u.length;){const r=u.charCodeAt(t);if(Yu(r)||wa(r))t+=1;else return this.addToNumericResult(u,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(u,n,t,16),-1}stateNumericDecimal(u,t){const n=t;for(;t<u.length;){const r=u.charCodeAt(t);if(Yu(r))t+=1;else return this.addToNumericResult(u,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(u,n,t,10),-1}emitNumericEntity(u,t){var n;if(this.consumed<=t)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(u===$.SEMI)this.consumed+=1;else if(this.decodeMode===me.Strict)return 0;return this.emitCodePoint(Aa(this.result),this.consumed),this.errors&&(u!==$.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(u,t){const{decodeTree:n}=this;let r=n[this.treeIndex],o=(r&be.VALUE_LENGTH)>>14;for(;t<u.length;t++,this.excess++){const i=u.charCodeAt(t);if(this.treeIndex=va(n,r,this.treeIndex+Math.max(1,o),i),this.treeIndex<0)return this.result===0||this.decodeMode===me.Attribute&&(o===0||Fa(i))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],o=(r&be.VALUE_LENGTH)>>14,o!==0){if(i===$.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==me.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var u;const{result:t,decodeTree:n}=this,r=(n[t]&be.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(u=this.errors)===null||u===void 0||u.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(u,t,n){const{decodeTree:r}=this;return this.emitCodePoint(t===1?r[u]&~be.VALUE_LENGTH:r[u+1],n),t===3&&this.emitCodePoint(r[u+2],n),n}end(){var u;switch(this.state){case G.NamedEntity:return this.result!==0&&(this.decodeMode!==me.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case G.NumericDecimal:return this.emitNumericEntity(0,2);case G.NumericHex:return this.emitNumericEntity(0,3);case G.NumericStart:return(u=this.errors)===null||u===void 0||u.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case G.EntityStart:return 0}}}function Rn(e){let u="";const t=new Sa(e,n=>u+=Ea(n));return function(r,o){let i=0,c=0;for(;(c=r.indexOf("&",c))>=0;){u+=r.slice(i,c),t.startEntity(o);const l=t.write(r,c+1);if(l<0){i=c+t.end();break}i=c+l,c=l===0?i+1:i}const s=u+r.slice(i);return u="",s}}function va(e,u,t,n){const r=(u&be.BRANCH_LENGTH)>>7,o=u&be.JUMP_TABLE;if(r===0)return o!==0&&n===o?t:-1;if(o){const s=n-o;return s<0||s>=r?-1:e[t+s]-1}let i=t,c=i+r-1;for(;i<=c;){const s=i+c>>>1,l=e[s];if(l<n)i=s+1;else if(l>n)c=s-1;else return e[s+r]}return-1}const Ba=Rn(ya);Rn(ka);function Tn(e,u=me.Legacy){return Ba(e,u)}function Ra(e){return Object.prototype.toString.call(e)}function Xu(e){return Ra(e)==="[object String]"}const Ta=Object.prototype.hasOwnProperty;function Na(e,u){return Ta.call(e,u)}function mu(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if(typeof t!="object")throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function Nn(e,u,t){return[].concat(e.slice(0,u),t,e.slice(u+1))}function Ku(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function gu(e){if(e>65535){e-=65536;const u=55296+(e>>10),t=56320+(e&1023);return String.fromCharCode(u,t)}return String.fromCharCode(e)}const In=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Ia=/&([a-z#][a-z0-9]{1,31});/gi,Oa=new RegExp(In.source+"|"+Ia.source,"gi"),La=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Pa(e,u){if(u.charCodeAt(0)===35&&La.test(u)){const n=u[1].toLowerCase()==="x"?parseInt(u.slice(2),16):parseInt(u.slice(1),10);return Ku(n)?gu(n):e}const t=Tn(e);return t!==e?t:e}function Ma(e){return e.indexOf("\\")<0?e:e.replace(In,"$1")}function Te(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Oa,function(u,t,n){return t||Pa(u,n)})}const za=/[&<>"]/,qa=/[&<>"]/g,Ua={"&":"&","<":"<",">":">",'"':"""};function ja(e){return Ua[e]}function ge(e){return za.test(e)?e.replace(qa,ja):e}const Va=/[.?*+^$[\]\\(){}|-]/g;function $a(e){return e.replace(Va,"\\$&")}function z(e){switch(e){case 9:case 32:return!0}return!1}function $e(e){if(e>=8192&&e<=8202)return!0;switch(e){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}function Ge(e){return Qu.test(e)||vn.test(e)}function He(e){switch(e){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 xu(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const Ga=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Nn,assign:mu,escapeHtml:ge,escapeRE:$a,fromCodePoint:gu,has:Na,isMdAsciiPunct:He,isPunctChar:Ge,isSpace:z,isString:Xu,isValidEntityCode:Ku,isWhiteSpace:$e,lib:{mdurl:ma,ucmicro:xa},normalizeReference:xu,unescapeAll:Te,unescapeMd:Ma},Symbol.toStringTag,{value:"Module"}));function Ha(e,u,t){let n,r,o,i;const c=e.posMax,s=e.pos;for(e.pos=u+1,n=1;e.pos<c;){if(o=e.src.charCodeAt(e.pos),o===93&&(n--,n===0)){r=!0;break}if(i=e.pos,e.md.inline.skipToken(e),o===91){if(i===e.pos-1)n++;else if(t)return e.pos=s,-1}}let l=-1;return r&&(l=e.pos),e.pos=s,l}function Wa(e,u,t){let n,r=u;const o={ok:!1,pos:0,str:""};if(e.charCodeAt(r)===60){for(r++;r<t;){if(n=e.charCodeAt(r),n===10||n===60)return o;if(n===62)return o.pos=r+1,o.str=Te(e.slice(u+1,r)),o.ok=!0,o;if(n===92&&r+1<t){r+=2;continue}r++}return o}let i=0;for(;r<t&&(n=e.charCodeAt(r),!(n===32||n<32||n===127));){if(n===92&&r+1<t){if(e.charCodeAt(r+1)===32)break;r+=2;continue}if(n===40&&(i++,i>32))return o;if(n===41){if(i===0)break;i--}r++}return u===r||i!==0||(o.str=Te(e.slice(u,r)),o.pos=r,o.ok=!0),o}function Za(e,u,t,n){let r,o=u;const i={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)i.str=n.str,i.marker=n.marker;else{if(o>=t)return i;let c=e.charCodeAt(o);if(c!==34&&c!==39&&c!==40)return i;u++,o++,c===40&&(c=41),i.marker=c}for(;o<t;){if(r=e.charCodeAt(o),r===i.marker)return i.pos=o+1,i.str+=Te(e.slice(u,o)),i.ok=!0,i;if(r===40&&i.marker===41)return i;r===92&&o+1<t&&o++,o++}return i.can_continue=!0,i.str+=Te(e.slice(u,o)),i}const Qa=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:Wa,parseLinkLabel:Ha,parseLinkTitle:Za},Symbol.toStringTag,{value:"Module"})),le={};le.code_inline=function(e,u,t,n,r){const o=e[u];return"<code"+r.renderAttrs(o)+">"+ge(o.content)+"</code>"},le.code_block=function(e,u,t,n,r){const o=e[u];return"<pre"+r.renderAttrs(o)+"><code>"+ge(e[u].content)+`</code></pre>
|
|
52
|
+
`},le.fence=function(e,u,t,n,r){const o=e[u],i=o.info?Te(o.info).trim():"";let c="",s="";if(i){const d=i.split(/(\s+)/g);c=d[0],s=d.slice(2).join("")}let l;if(t.highlight?l=t.highlight(o.content,c,s)||ge(o.content):l=ge(o.content),l.indexOf("<pre")===0)return l+`
|
|
53
|
+
`;if(i){const d=o.attrIndex("class"),f=o.attrs?o.attrs.slice():[];d<0?f.push(["class",t.langPrefix+c]):(f[d]=f[d].slice(),f[d][1]+=" "+t.langPrefix+c);const h={attrs:f};return`<pre><code${r.renderAttrs(h)}>${l}</code></pre>
|
|
54
|
+
`}return`<pre><code${r.renderAttrs(o)}>${l}</code></pre>
|
|
55
|
+
`},le.image=function(e,u,t,n,r){const o=e[u];return o.attrs[o.attrIndex("alt")][1]=r.renderInlineAsText(o.children,t,n),r.renderToken(e,u,t)},le.hardbreak=function(e,u,t){return t.xhtmlOut?`<br />
|
|
57
56
|
`:`<br>
|
|
58
|
-
`},
|
|
57
|
+
`},le.softbreak=function(e,u,t){return t.breaks?t.xhtmlOut?`<br />
|
|
59
58
|
`:`<br>
|
|
60
59
|
`:`
|
|
61
|
-
`},
|
|
62
|
-
`),
|
|
63
|
-
`:">",
|
|
64
|
-
|
|
65
|
-
`),r=r.replace(rl,"�"),e.src=r},ol=function(e){var r;e.inlineMode?(r=new e.Token("inline","",0),r.content=e.src,r.map=[0,1],r.children=[],e.tokens.push(r)):e.md.block.parse(e.src,e.md,e.env,e.tokens)},sl=function(e){var r=e.tokens,n,o,s;for(o=0,s=r.length;o<s;o++)n=r[o],n.type==="inline"&&e.md.inline.parse(n.content,e.md,e.env,n.children)},cl=z.arrayReplaceAt;function il(t){return/^<a[>\s]/i.test(t)}function al(t){return/^<\/a\s*>/i.test(t)}var ll=function(e){var r,n,o,s,c,i,l,u,d,p,f,m,h,b,g,w,k=e.tokens,C;if(e.md.options.linkify){for(n=0,o=k.length;n<o;n++)if(!(k[n].type!=="inline"||!e.md.linkify.pretest(k[n].content)))for(s=k[n].children,h=0,r=s.length-1;r>=0;r--){if(i=s[r],i.type==="link_close"){for(r--;s[r].level!==i.level&&s[r].type!=="link_open";)r--;continue}if(i.type==="html_inline"&&(il(i.content)&&h>0&&h--,al(i.content)&&h++),!(h>0)&&i.type==="text"&&e.md.linkify.test(i.content)){for(d=i.content,C=e.md.linkify.match(d),l=[],m=i.level,f=0,C.length>0&&C[0].index===0&&r>0&&s[r-1].type==="text_special"&&(C=C.slice(1)),u=0;u<C.length;u++)b=C[u].url,g=e.md.normalizeLink(b),e.md.validateLink(g)&&(w=C[u].text,C[u].schema?C[u].schema==="mailto:"&&!/^mailto:/i.test(w)?w=e.md.normalizeLinkText("mailto:"+w).replace(/^mailto:/,""):w=e.md.normalizeLinkText(w):w=e.md.normalizeLinkText("http://"+w).replace(/^http:\/\//,""),p=C[u].index,p>f&&(c=new e.Token("text","",0),c.content=d.slice(f,p),c.level=m,l.push(c)),c=new e.Token("link_open","a",1),c.attrs=[["href",g]],c.level=m++,c.markup="linkify",c.info="auto",l.push(c),c=new e.Token("text","",0),c.content=w,c.level=m,l.push(c),c=new e.Token("link_close","a",-1),c.level=--m,c.markup="linkify",c.info="auto",l.push(c),f=C[u].lastIndex);f<d.length&&(c=new e.Token("text","",0),c.content=d.slice(f),c.level=m,l.push(c)),k[n].children=s=cl(s,r,l)}}}},Wn=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,ul=/\((c|tm|r)\)/i,dl=/\((c|tm|r)\)/ig,pl={c:"©",r:"®",tm:"™"};function fl(t,e){return pl[e.toLowerCase()]}function hl(t){var e,r,n=0;for(e=t.length-1;e>=0;e--)r=t[e],r.type==="text"&&!n&&(r.content=r.content.replace(dl,fl)),r.type==="link_open"&&r.info==="auto"&&n--,r.type==="link_close"&&r.info==="auto"&&n++}function ml(t){var e,r,n=0;for(e=t.length-1;e>=0;e--)r=t[e],r.type==="text"&&!n&&Wn.test(r.content)&&(r.content=r.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–")),r.type==="link_open"&&r.info==="auto"&&n--,r.type==="link_close"&&r.info==="auto"&&n++}var gl=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)e.tokens[r].type==="inline"&&(ul.test(e.tokens[r].content)&&hl(e.tokens[r].children),Wn.test(e.tokens[r].content)&&ml(e.tokens[r].children))},Jn=z.isWhiteSpace,Qn=z.isPunctChar,Yn=z.isMdAsciiPunct,bl=/['"]/,Xn=/['"]/g,Kn="’";function gt(t,e,r){return t.slice(0,e)+r+t.slice(e+1)}function yl(t,e){var r,n,o,s,c,i,l,u,d,p,f,m,h,b,g,w,k,C,q,S,E;for(q=[],r=0;r<t.length;r++){for(n=t[r],l=t[r].level,k=q.length-1;k>=0&&!(q[k].level<=l);k--);if(q.length=k+1,n.type==="text"){o=n.content,c=0,i=o.length;e:for(;c<i&&(Xn.lastIndex=c,s=Xn.exec(o),!!s);){if(g=w=!0,c=s.index+1,C=s[0]==="'",d=32,s.index-1>=0)d=o.charCodeAt(s.index-1);else for(k=r-1;k>=0&&!(t[k].type==="softbreak"||t[k].type==="hardbreak");k--)if(t[k].content){d=t[k].content.charCodeAt(t[k].content.length-1);break}if(p=32,c<i)p=o.charCodeAt(c);else for(k=r+1;k<t.length&&!(t[k].type==="softbreak"||t[k].type==="hardbreak");k++)if(t[k].content){p=t[k].content.charCodeAt(0);break}if(f=Yn(d)||Qn(String.fromCharCode(d)),m=Yn(p)||Qn(String.fromCharCode(p)),h=Jn(d),b=Jn(p),b?g=!1:m&&(h||f||(g=!1)),h?w=!1:f&&(b||m||(w=!1)),p===34&&s[0]==='"'&&d>=48&&d<=57&&(w=g=!1),g&&w&&(g=f,w=m),!g&&!w){C&&(n.content=gt(n.content,s.index,Kn));continue}if(w){for(k=q.length-1;k>=0&&(u=q[k],!(q[k].level<l));k--)if(u.single===C&&q[k].level===l){u=q[k],C?(S=e.md.options.quotes[2],E=e.md.options.quotes[3]):(S=e.md.options.quotes[0],E=e.md.options.quotes[1]),n.content=gt(n.content,s.index,E),t[u.token].content=gt(t[u.token].content,u.pos,S),c+=E.length-1,u.token===r&&(c+=S.length-1),o=n.content,i=o.length,q.length=k;continue e}}g?q.push({token:r,pos:s.index,single:C,level:l}):w&&C&&(n.content=gt(n.content,s.index,Kn))}}}}var wl=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)e.tokens[r].type!=="inline"||!bl.test(e.tokens[r].content)||yl(e.tokens[r].children,e)},kl=function(e){var r,n,o,s,c,i,l=e.tokens;for(r=0,n=l.length;r<n;r++)if(l[r].type==="inline"){for(o=l[r].children,c=o.length,s=0;s<c;s++)o[s].type==="text_special"&&(o[s].type="text");for(s=i=0;s<c;s++)o[s].type==="text"&&s+1<c&&o[s+1].type==="text"?o[s+1].content=o[s].content+o[s+1].content:(s!==i&&(o[i]=o[s]),i++);s!==i&&(o.length=i)}};function Le(t,e,r){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Le.prototype.attrIndex=function(e){var r,n,o;if(!this.attrs)return-1;for(r=this.attrs,n=0,o=r.length;n<o;n++)if(r[n][0]===e)return n;return-1},Le.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},Le.prototype.attrSet=function(e,r){var n=this.attrIndex(e),o=[e,r];n<0?this.attrPush(o):this.attrs[n]=o},Le.prototype.attrGet=function(e){var r=this.attrIndex(e),n=null;return r>=0&&(n=this.attrs[r][1]),n},Le.prototype.attrJoin=function(e,r){var n=this.attrIndex(e);n<0?this.attrPush([e,r]):this.attrs[n][1]=this.attrs[n][1]+" "+r};var Kt=Le,vl=Kt;function eo(t,e,r){this.src=t,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=e}eo.prototype.Token=vl;var xl=eo,Al=Xt,er=[["normalize",nl],["block",ol],["inline",sl],["linkify",ll],["replacements",gl],["smartquotes",wl],["text_join",kl]];function tr(){this.ruler=new Al;for(var t=0;t<er.length;t++)this.ruler.push(er[t][0],er[t][1])}tr.prototype.process=function(t){var e,r,n;for(n=this.ruler.getRules(""),e=0,r=n.length;e<r;e++)n[e](t)},tr.prototype.State=xl;var El=tr,rr=z.isSpace;function nr(t,e){var r=t.bMarks[e]+t.tShift[e],n=t.eMarks[e];return t.src.slice(r,n)}function to(t){var e=[],r=0,n=t.length,o,s=!1,c=0,i="";for(o=t.charCodeAt(r);r<n;)o===124&&(s?(i+=t.substring(c,r-1),c=r):(e.push(i+t.substring(c,r)),i="",c=r+1)),s=o===92,r++,o=t.charCodeAt(r);return e.push(i+t.substring(c)),e}var _l=function(e,r,n,o){var s,c,i,l,u,d,p,f,m,h,b,g,w,k,C,q,S,E;if(r+2>n||(d=r+1,e.sCount[d]<e.blkIndent)||e.sCount[d]-e.blkIndent>=4||(i=e.bMarks[d]+e.tShift[d],i>=e.eMarks[d])||(S=e.src.charCodeAt(i++),S!==124&&S!==45&&S!==58)||i>=e.eMarks[d]||(E=e.src.charCodeAt(i++),E!==124&&E!==45&&E!==58&&!rr(E))||S===45&&rr(E))return!1;for(;i<e.eMarks[d];){if(s=e.src.charCodeAt(i),s!==124&&s!==45&&s!==58&&!rr(s))return!1;i++}for(c=nr(e,r+1),p=c.split("|"),h=[],l=0;l<p.length;l++){if(b=p[l].trim(),!b){if(l===0||l===p.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;b.charCodeAt(b.length-1)===58?h.push(b.charCodeAt(0)===58?"center":"right"):b.charCodeAt(0)===58?h.push("left"):h.push("")}if(c=nr(e,r).trim(),c.indexOf("|")===-1||e.sCount[r]-e.blkIndent>=4||(p=to(c),p.length&&p[0]===""&&p.shift(),p.length&&p[p.length-1]===""&&p.pop(),f=p.length,f===0||f!==h.length))return!1;if(o)return!0;for(k=e.parentType,e.parentType="table",q=e.md.block.ruler.getRules("blockquote"),m=e.push("table_open","table",1),m.map=g=[r,0],m=e.push("thead_open","thead",1),m.map=[r,r+1],m=e.push("tr_open","tr",1),m.map=[r,r+1],l=0;l<p.length;l++)m=e.push("th_open","th",1),h[l]&&(m.attrs=[["style","text-align:"+h[l]]]),m=e.push("inline","",0),m.content=p[l].trim(),m.children=[],m=e.push("th_close","th",-1);for(m=e.push("tr_close","tr",-1),m=e.push("thead_close","thead",-1),d=r+2;d<n&&!(e.sCount[d]<e.blkIndent);d++){for(C=!1,l=0,u=q.length;l<u;l++)if(q[l](e,d,n,!0)){C=!0;break}if(C||(c=nr(e,d).trim(),!c)||e.sCount[d]-e.blkIndent>=4)break;for(p=to(c),p.length&&p[0]===""&&p.shift(),p.length&&p[p.length-1]===""&&p.pop(),d===r+2&&(m=e.push("tbody_open","tbody",1),m.map=w=[r+2,0]),m=e.push("tr_open","tr",1),m.map=[d,d+1],l=0;l<f;l++)m=e.push("td_open","td",1),h[l]&&(m.attrs=[["style","text-align:"+h[l]]]),m=e.push("inline","",0),m.content=p[l]?p[l].trim():"",m.children=[],m=e.push("td_close","td",-1);m=e.push("tr_close","tr",-1)}return w&&(m=e.push("tbody_close","tbody",-1),w[1]=d),m=e.push("table_close","table",-1),g[1]=d,e.parentType=k,e.line=d,!0},Cl=function(e,r,n){var o,s,c;if(e.sCount[r]-e.blkIndent<4)return!1;for(s=o=r+1;o<n;){if(e.isEmpty(o)){o++;continue}if(e.sCount[o]-e.blkIndent>=4){o++,s=o;continue}break}return e.line=s,c=e.push("code_block","code",0),c.content=e.getLines(r,s,4+e.blkIndent,!1)+`
|
|
66
|
-
`,c.map=[r,e.line],!0},Dl=function(e,r,n,o){var s,c,i,l,u,d,p,f=!1,m=e.bMarks[r]+e.tShift[r],h=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||m+3>h||(s=e.src.charCodeAt(m),s!==126&&s!==96)||(u=m,m=e.skipChars(m,s),c=m-u,c<3)||(p=e.src.slice(u,m),i=e.src.slice(m,h),s===96&&i.indexOf(String.fromCharCode(s))>=0))return!1;if(o)return!0;for(l=r;l++,!(l>=n||(m=u=e.bMarks[l]+e.tShift[l],h=e.eMarks[l],m<h&&e.sCount[l]<e.blkIndent));)if(e.src.charCodeAt(m)===s&&!(e.sCount[l]-e.blkIndent>=4)&&(m=e.skipChars(m,s),!(m-u<c)&&(m=e.skipSpaces(m),!(m<h)))){f=!0;break}return c=e.sCount[r],e.line=l+(f?1:0),d=e.push("fence","code",0),d.info=i,d.content=e.getLines(r+1,l,c,!0),d.markup=p,d.map=[r,e.line],!0},ql=z.isSpace,Sl=function(e,r,n,o){var s,c,i,l,u,d,p,f,m,h,b,g,w,k,C,q,S,E,L,U,G=e.lineMax,I=e.bMarks[r]+e.tShift[r],v=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||e.src.charCodeAt(I)!==62)return!1;if(o)return!0;for(h=[],b=[],k=[],C=[],E=e.md.block.ruler.getRules("blockquote"),w=e.parentType,e.parentType="blockquote",f=r;f<n&&(U=e.sCount[f]<e.blkIndent,I=e.bMarks[f]+e.tShift[f],v=e.eMarks[f],!(I>=v));f++){if(e.src.charCodeAt(I++)===62&&!U){for(l=e.sCount[f]+1,e.src.charCodeAt(I)===32?(I++,l++,s=!1,q=!0):e.src.charCodeAt(I)===9?(q=!0,(e.bsCount[f]+l)%4===3?(I++,l++,s=!1):s=!0):q=!1,m=l,h.push(e.bMarks[f]),e.bMarks[f]=I;I<v&&(c=e.src.charCodeAt(I),ql(c));){c===9?m+=4-(m+e.bsCount[f]+(s?1:0))%4:m++;I++}d=I>=v,b.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(q?1:0),k.push(e.sCount[f]),e.sCount[f]=m-l,C.push(e.tShift[f]),e.tShift[f]=I-e.bMarks[f];continue}if(d)break;for(S=!1,i=0,u=E.length;i<u;i++)if(E[i](e,f,n,!0)){S=!0;break}if(S){e.lineMax=f,e.blkIndent!==0&&(h.push(e.bMarks[f]),b.push(e.bsCount[f]),C.push(e.tShift[f]),k.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}h.push(e.bMarks[f]),b.push(e.bsCount[f]),C.push(e.tShift[f]),k.push(e.sCount[f]),e.sCount[f]=-1}for(g=e.blkIndent,e.blkIndent=0,L=e.push("blockquote_open","blockquote",1),L.markup=">",L.map=p=[r,0],e.md.block.tokenize(e,r,f),L=e.push("blockquote_close","blockquote",-1),L.markup=">",e.lineMax=G,e.parentType=w,p[1]=e.line,i=0;i<C.length;i++)e.bMarks[i+r]=h[i],e.tShift[i+r]=C[i],e.sCount[i+r]=k[i],e.bsCount[i+r]=b[i];return e.blkIndent=g,!0},Rl=z.isSpace,Tl=function(e,r,n,o){var s,c,i,l,u=e.bMarks[r]+e.tShift[r],d=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||(s=e.src.charCodeAt(u++),s!==42&&s!==45&&s!==95))return!1;for(c=1;u<d;){if(i=e.src.charCodeAt(u++),i!==s&&!Rl(i))return!1;i===s&&c++}return c<3?!1:(o||(e.line=r+1,l=e.push("hr","hr",0),l.map=[r,e.line],l.markup=Array(c+1).join(String.fromCharCode(s))),!0)},ro=z.isSpace;function no(t,e){var r,n,o,s;return n=t.bMarks[e]+t.tShift[e],o=t.eMarks[e],r=t.src.charCodeAt(n++),r!==42&&r!==45&&r!==43||n<o&&(s=t.src.charCodeAt(n),!ro(s))?-1:n}function oo(t,e){var r,n=t.bMarks[e]+t.tShift[e],o=n,s=t.eMarks[e];if(o+1>=s||(r=t.src.charCodeAt(o++),r<48||r>57))return-1;for(;;){if(o>=s)return-1;if(r=t.src.charCodeAt(o++),r>=48&&r<=57){if(o-n>=10)return-1;continue}if(r===41||r===46)break;return-1}return o<s&&(r=t.src.charCodeAt(o),!ro(r))?-1:o}function Ll(t,e){var r,n,o=t.level+2;for(r=e+2,n=t.tokens.length-2;r<n;r++)t.tokens[r].level===o&&t.tokens[r].type==="paragraph_open"&&(t.tokens[r+2].hidden=!0,t.tokens[r].hidden=!0,r+=2)}var Nl=function(e,r,n,o){var s,c,i,l,u,d,p,f,m,h,b,g,w,k,C,q,S,E,L,U,G,I,v,A,T,x,D,_=r,N=!1,j=!0;if(e.sCount[_]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[_]-e.listIndent>=4&&e.sCount[_]<e.blkIndent)return!1;if(o&&e.parentType==="paragraph"&&e.sCount[_]>=e.blkIndent&&(N=!0),(I=oo(e,_))>=0){if(p=!0,A=e.bMarks[_]+e.tShift[_],w=Number(e.src.slice(A,I-1)),N&&w!==1)return!1}else if((I=no(e,_))>=0)p=!1;else return!1;if(N&&e.skipSpaces(I)>=e.eMarks[_])return!1;if(o)return!0;for(g=e.src.charCodeAt(I-1),b=e.tokens.length,p?(D=e.push("ordered_list_open","ol",1),w!==1&&(D.attrs=[["start",w]])):D=e.push("bullet_list_open","ul",1),D.map=h=[_,0],D.markup=String.fromCharCode(g),v=!1,x=e.md.block.ruler.getRules("list"),S=e.parentType,e.parentType="list";_<n;){for(G=I,k=e.eMarks[_],d=C=e.sCount[_]+I-(e.bMarks[_]+e.tShift[_]);G<k;){if(s=e.src.charCodeAt(G),s===9)C+=4-(C+e.bsCount[_])%4;else if(s===32)C++;else break;G++}if(c=G,c>=k?u=1:u=C-d,u>4&&(u=1),l=d+u,D=e.push("list_item_open","li",1),D.markup=String.fromCharCode(g),D.map=f=[_,0],p&&(D.info=e.src.slice(A,I-1)),U=e.tight,L=e.tShift[_],E=e.sCount[_],q=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[_]=c-e.bMarks[_],e.sCount[_]=C,c>=k&&e.isEmpty(_+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,_,n,!0),(!e.tight||v)&&(j=!1),v=e.line-_>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=q,e.tShift[_]=L,e.sCount[_]=E,e.tight=U,D=e.push("list_item_close","li",-1),D.markup=String.fromCharCode(g),_=e.line,f[1]=_,_>=n||e.sCount[_]<e.blkIndent||e.sCount[_]-e.blkIndent>=4)break;for(T=!1,i=0,m=x.length;i<m;i++)if(x[i](e,_,n,!0)){T=!0;break}if(T)break;if(p){if(I=oo(e,_),I<0)break;A=e.bMarks[_]+e.tShift[_]}else if(I=no(e,_),I<0)break;if(g!==e.src.charCodeAt(I-1))break}return p?D=e.push("ordered_list_close","ol",-1):D=e.push("bullet_list_close","ul",-1),D.markup=String.fromCharCode(g),h[1]=_,e.line=_,e.parentType=S,j&&Ll(e,b),!0},Bl=z.normalizeReference,bt=z.isSpace,Fl=function(e,r,n,o){var s,c,i,l,u,d,p,f,m,h,b,g,w,k,C,q,S=0,E=e.bMarks[r]+e.tShift[r],L=e.eMarks[r],U=r+1;if(e.sCount[r]-e.blkIndent>=4||e.src.charCodeAt(E)!==91)return!1;for(;++E<L;)if(e.src.charCodeAt(E)===93&&e.src.charCodeAt(E-1)!==92){if(E+1===L||e.src.charCodeAt(E+1)!==58)return!1;break}for(l=e.lineMax,C=e.md.block.ruler.getRules("reference"),h=e.parentType,e.parentType="reference";U<l&&!e.isEmpty(U);U++)if(!(e.sCount[U]-e.blkIndent>3)&&!(e.sCount[U]<0)){for(k=!1,d=0,p=C.length;d<p;d++)if(C[d](e,U,l,!0)){k=!0;break}if(k)break}for(w=e.getLines(r,U,e.blkIndent,!1).trim(),L=w.length,E=1;E<L;E++){if(s=w.charCodeAt(E),s===91)return!1;if(s===93){m=E;break}else s===10?S++:s===92&&(E++,E<L&&w.charCodeAt(E)===10&&S++)}if(m<0||w.charCodeAt(m+1)!==58)return!1;for(E=m+2;E<L;E++)if(s=w.charCodeAt(E),s===10)S++;else if(!bt(s))break;if(b=e.md.helpers.parseLinkDestination(w,E,L),!b.ok||(u=e.md.normalizeLink(b.str),!e.md.validateLink(u)))return!1;for(E=b.pos,S+=b.lines,c=E,i=S,g=E;E<L;E++)if(s=w.charCodeAt(E),s===10)S++;else if(!bt(s))break;for(b=e.md.helpers.parseLinkTitle(w,E,L),E<L&&g!==E&&b.ok?(q=b.str,E=b.pos,S+=b.lines):(q="",E=c,S=i);E<L&&(s=w.charCodeAt(E),!!bt(s));)E++;if(E<L&&w.charCodeAt(E)!==10&&q)for(q="",E=c,S=i;E<L&&(s=w.charCodeAt(E),!!bt(s));)E++;return E<L&&w.charCodeAt(E)!==10||(f=Bl(w.slice(1,m)),!f)?!1:(o||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[f]>"u"&&(e.env.references[f]={title:q,href:u}),e.parentType=h,e.line=r+S+1),!0)},Il=["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"],yt={},Ol="[a-zA-Z_:][a-zA-Z0-9:._-]*",Pl="[^\"'=<>`\\x00-\\x20]+",Ul="'[^']*'",zl='"[^"]*"',Ml="(?:"+Pl+"|"+Ul+"|"+zl+")",Vl="(?:\\s+"+Ol+"(?:\\s*=\\s*"+Ml+")?)",so="<[A-Za-z][A-Za-z0-9\\-]*"+Vl+"*\\s*\\/?>",co="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",jl="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",Gl="<[?][\\s\\S]*?[?]>",$l="<![A-Z]+\\s+[^>]*>",Hl="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",Zl=new RegExp("^(?:"+so+"|"+co+"|"+jl+"|"+Gl+"|"+$l+"|"+Hl+")"),Wl=new RegExp("^(?:"+so+"|"+co+")");yt.HTML_TAG_RE=Zl,yt.HTML_OPEN_CLOSE_TAG_RE=Wl;var Jl=Il,Ql=yt.HTML_OPEN_CLOSE_TAG_RE,Ne=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Jl.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Ql.source+"\\s*$"),/^$/,!1]],Yl=function(e,r,n,o){var s,c,i,l,u=e.bMarks[r]+e.tShift[r],d=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(u)!==60)return!1;for(l=e.src.slice(u,d),s=0;s<Ne.length&&!Ne[s][0].test(l);s++);if(s===Ne.length)return!1;if(o)return Ne[s][2];if(c=r+1,!Ne[s][1].test(l)){for(;c<n&&!(e.sCount[c]<e.blkIndent);c++)if(u=e.bMarks[c]+e.tShift[c],d=e.eMarks[c],l=e.src.slice(u,d),Ne[s][1].test(l)){l.length!==0&&c++;break}}return e.line=c,i=e.push("html_block","",0),i.map=[r,c],i.content=e.getLines(r,c,e.blkIndent,!0),!0},io=z.isSpace,Xl=function(e,r,n,o){var s,c,i,l,u=e.bMarks[r]+e.tShift[r],d=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||(s=e.src.charCodeAt(u),s!==35||u>=d))return!1;for(c=1,s=e.src.charCodeAt(++u);s===35&&u<d&&c<=6;)c++,s=e.src.charCodeAt(++u);return c>6||u<d&&!io(s)?!1:(o||(d=e.skipSpacesBack(d,u),i=e.skipCharsBack(d,35,u),i>u&&io(e.src.charCodeAt(i-1))&&(d=i),e.line=r+1,l=e.push("heading_open","h"+String(c),1),l.markup="########".slice(0,c),l.map=[r,e.line],l=e.push("inline","",0),l.content=e.src.slice(u,d).trim(),l.map=[r,e.line],l.children=[],l=e.push("heading_close","h"+String(c),-1),l.markup="########".slice(0,c)),!0)},Kl=function(e,r,n){var o,s,c,i,l,u,d,p,f,m=r+1,h,b=e.md.block.ruler.getRules("paragraph");if(e.sCount[r]-e.blkIndent>=4)return!1;for(h=e.parentType,e.parentType="paragraph";m<n&&!e.isEmpty(m);m++)if(!(e.sCount[m]-e.blkIndent>3)){if(e.sCount[m]>=e.blkIndent&&(u=e.bMarks[m]+e.tShift[m],d=e.eMarks[m],u<d&&(f=e.src.charCodeAt(u),(f===45||f===61)&&(u=e.skipChars(u,f),u=e.skipSpaces(u),u>=d)))){p=f===61?1:2;break}if(!(e.sCount[m]<0)){for(s=!1,c=0,i=b.length;c<i;c++)if(b[c](e,m,n,!0)){s=!0;break}if(s)break}}return p?(o=e.getLines(r,m,e.blkIndent,!1).trim(),e.line=m+1,l=e.push("heading_open","h"+String(p),1),l.markup=String.fromCharCode(f),l.map=[r,e.line],l=e.push("inline","",0),l.content=o,l.map=[r,e.line-1],l.children=[],l=e.push("heading_close","h"+String(p),-1),l.markup=String.fromCharCode(f),e.parentType=h,!0):!1},eu=function(e,r,n){var o,s,c,i,l,u,d=r+1,p=e.md.block.ruler.getRules("paragraph");for(u=e.parentType,e.parentType="paragraph";d<n&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)&&!(e.sCount[d]<0)){for(s=!1,c=0,i=p.length;c<i;c++)if(p[c](e,d,n,!0)){s=!0;break}if(s)break}return o=e.getLines(r,d,e.blkIndent,!1).trim(),e.line=d,l=e.push("paragraph_open","p",1),l.map=[r,e.line],l=e.push("inline","",0),l.content=o,l.map=[r,e.line],l.children=[],l=e.push("paragraph_close","p",-1),e.parentType=u,!0},ao=Kt,wt=z.isSpace;function ae(t,e,r,n){var o,s,c,i,l,u,d,p;for(this.src=t,this.md=e,this.env=r,this.tokens=n,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,p=!1,c=i=u=d=0,l=s.length;i<l;i++){if(o=s.charCodeAt(i),!p)if(wt(o)){u++,o===9?d+=4-d%4:d++;continue}else p=!0;(o===10||i===l-1)&&(o!==10&&i++,this.bMarks.push(c),this.eMarks.push(i),this.tShift.push(u),this.sCount.push(d),this.bsCount.push(0),p=!1,u=0,d=0,c=i+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}ae.prototype.push=function(t,e,r){var n=new ao(t,e,r);return n.block=!0,r<0&&this.level--,n.level=this.level,r>0&&this.level++,this.tokens.push(n),n},ae.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},ae.prototype.skipEmptyLines=function(e){for(var r=this.lineMax;e<r&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},ae.prototype.skipSpaces=function(e){for(var r,n=this.src.length;e<n&&(r=this.src.charCodeAt(e),!!wt(r));e++);return e},ae.prototype.skipSpacesBack=function(e,r){if(e<=r)return e;for(;e>r;)if(!wt(this.src.charCodeAt(--e)))return e+1;return e},ae.prototype.skipChars=function(e,r){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===r;e++);return e},ae.prototype.skipCharsBack=function(e,r,n){if(e<=n)return e;for(;e>n;)if(r!==this.src.charCodeAt(--e))return e+1;return e},ae.prototype.getLines=function(e,r,n,o){var s,c,i,l,u,d,p,f=e;if(e>=r)return"";for(d=new Array(r-e),s=0;f<r;f++,s++){for(c=0,p=l=this.bMarks[f],f+1<r||o?u=this.eMarks[f]+1:u=this.eMarks[f];l<u&&c<n;){if(i=this.src.charCodeAt(l),wt(i))i===9?c+=4-(c+this.bsCount[f])%4:c++;else if(l-p<this.tShift[f])c++;else break;l++}c>n?d[s]=new Array(c-n+1).join(" ")+this.src.slice(l,u):d[s]=this.src.slice(l,u)}return d.join("")},ae.prototype.Token=ao;var tu=ae,ru=Xt,kt=[["table",_l,["paragraph","reference"]],["code",Cl],["fence",Dl,["paragraph","reference","blockquote","list"]],["blockquote",Sl,["paragraph","reference","blockquote","list"]],["hr",Tl,["paragraph","reference","blockquote","list"]],["list",Nl,["paragraph","reference","blockquote"]],["reference",Fl],["html_block",Yl,["paragraph","reference","blockquote"]],["heading",Xl,["paragraph","reference","blockquote"]],["lheading",Kl],["paragraph",eu]];function vt(){this.ruler=new ru;for(var t=0;t<kt.length;t++)this.ruler.push(kt[t][0],kt[t][1],{alt:(kt[t][2]||[]).slice()})}vt.prototype.tokenize=function(t,e,r){for(var n,o,s,c=this.ruler.getRules(""),i=c.length,l=e,u=!1,d=t.md.options.maxNesting;l<r&&(t.line=l=t.skipEmptyLines(l),!(l>=r||t.sCount[l]<t.blkIndent));){if(t.level>=d){t.line=r;break}for(s=t.line,o=0;o<i;o++)if(n=c[o](t,l,r,!1),n){if(s>=t.line)throw new Error("block rule didn't increment state.line");break}if(!n)throw new Error("none of the block rules matched");t.tight=!u,t.isEmpty(t.line-1)&&(u=!0),l=t.line,l<r&&t.isEmpty(l)&&(u=!0,l++,t.line=l)}},vt.prototype.parse=function(t,e,r,n){var o;t&&(o=new this.State(t,e,r,n),this.tokenize(o,o.line,o.lineMax))},vt.prototype.State=tu;var nu=vt;function ou(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}}for(var su=function(e,r){for(var n=e.pos;n<e.posMax&&!ou(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(r||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)},cu=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,iu=function(e,r){var n,o,s,c,i,l,u,d;return!e.md.options.linkify||e.linkLevel>0||(n=e.pos,o=e.posMax,n+3>o)||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47||(s=e.pending.match(cu),!s)||(c=s[1],i=e.md.linkify.matchAtStart(e.src.slice(n-c.length)),!i)||(l=i.url,l.length<=c.length)||(l=l.replace(/\*+$/,""),u=e.md.normalizeLink(l),!e.md.validateLink(u))?!1:(r||(e.pending=e.pending.slice(0,-c.length),d=e.push("link_open","a",1),d.attrs=[["href",u]],d.markup="linkify",d.info="auto",d=e.push("text","",0),d.content=e.md.normalizeLinkText(l),d=e.push("link_close","a",-1),d.markup="linkify",d.info="auto"),e.pos+=l.length-c.length,!0)},au=z.isSpace,lu=function(e,r){var n,o,s,c=e.pos;if(e.src.charCodeAt(c)!==10)return!1;if(n=e.pending.length-1,o=e.posMax,!r)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){for(s=n-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(c++;c<o&&au(e.src.charCodeAt(c));)c++;return e.pos=c,!0},uu=z.isSpace,or=[],lo=0;lo<256;lo++)or.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){or[t.charCodeAt(0)]=1});var du=function(e,r){var n,o,s,c,i,l=e.pos,u=e.posMax;if(e.src.charCodeAt(l)!==92||(l++,l>=u))return!1;if(n=e.src.charCodeAt(l),n===10){for(r||e.push("hardbreak","br",0),l++;l<u&&(n=e.src.charCodeAt(l),!!uu(n));)l++;return e.pos=l,!0}return c=e.src[l],n>=55296&&n<=56319&&l+1<u&&(o=e.src.charCodeAt(l+1),o>=56320&&o<=57343&&(c+=e.src[l+1],l++)),s="\\"+c,r||(i=e.push("text_special","",0),n<256&&or[n]!==0?i.content=c:i.content=s,i.markup=s,i.info="escape"),e.pos=l+1,!0},pu=function(e,r){var n,o,s,c,i,l,u,d,p=e.pos,f=e.src.charCodeAt(p);if(f!==96)return!1;for(n=p,p++,o=e.posMax;p<o&&e.src.charCodeAt(p)===96;)p++;if(s=e.src.slice(n,p),u=s.length,e.backticksScanned&&(e.backticks[u]||0)<=n)return r||(e.pending+=s),e.pos+=u,!0;for(l=p;(i=e.src.indexOf("`",l))!==-1;){for(l=i+1;l<o&&e.src.charCodeAt(l)===96;)l++;if(d=l-i,d===u)return r||(c=e.push("code_inline","code",0),c.markup=s,c.content=e.src.slice(p,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=l,!0;e.backticks[d]=i}return e.backticksScanned=!0,r||(e.pending+=s),e.pos+=u,!0},xt={};xt.tokenize=function(e,r){var n,o,s,c,i,l=e.pos,u=e.src.charCodeAt(l);if(r||u!==126||(o=e.scanDelims(e.pos,!0),c=o.length,i=String.fromCharCode(u),c<2))return!1;for(c%2&&(s=e.push("text","",0),s.content=i,c--),n=0;n<c;n+=2)s=e.push("text","",0),s.content=i+i,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 uo(t,e){var r,n,o,s,c,i=[],l=e.length;for(r=0;r<l;r++)o=e[r],o.marker===126&&o.end!==-1&&(s=e[o.end],c=t.tokens[o.token],c.type="s_open",c.tag="s",c.nesting=1,c.markup="~~",c.content="",c=t.tokens[s.token],c.type="s_close",c.tag="s",c.nesting=-1,c.markup="~~",c.content="",t.tokens[s.token-1].type==="text"&&t.tokens[s.token-1].content==="~"&&i.push(s.token-1));for(;i.length;){for(r=i.pop(),n=r+1;n<t.tokens.length&&t.tokens[n].type==="s_close";)n++;n--,r!==n&&(c=t.tokens[n],t.tokens[n]=t.tokens[r],t.tokens[r]=c)}}xt.postProcess=function(e){var r,n=e.tokens_meta,o=e.tokens_meta.length;for(uo(e,e.delimiters),r=0;r<o;r++)n[r]&&n[r].delimiters&&uo(e,n[r].delimiters)};var At={};At.tokenize=function(e,r){var n,o,s,c=e.pos,i=e.src.charCodeAt(c);if(r||i!==95&&i!==42)return!1;for(o=e.scanDelims(e.pos,i===42),n=0;n<o.length;n++)s=e.push("text","",0),s.content=String.fromCharCode(i),e.delimiters.push({marker:i,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 po(t,e){var r,n,o,s,c,i,l=e.length;for(r=l-1;r>=0;r--)n=e[r],!(n.marker!==95&&n.marker!==42)&&n.end!==-1&&(o=e[n.end],i=r>0&&e[r-1].end===n.end+1&&e[r-1].marker===n.marker&&e[r-1].token===n.token-1&&e[n.end+1].token===o.token+1,c=String.fromCharCode(n.marker),s=t.tokens[n.token],s.type=i?"strong_open":"em_open",s.tag=i?"strong":"em",s.nesting=1,s.markup=i?c+c:c,s.content="",s=t.tokens[o.token],s.type=i?"strong_close":"em_close",s.tag=i?"strong":"em",s.nesting=-1,s.markup=i?c+c:c,s.content="",i&&(t.tokens[e[r-1].token].content="",t.tokens[e[n.end+1].token].content="",r--))}At.postProcess=function(e){var r,n=e.tokens_meta,o=e.tokens_meta.length;for(po(e,e.delimiters),r=0;r<o;r++)n[r]&&n[r].delimiters&&po(e,n[r].delimiters)};var fu=z.normalizeReference,sr=z.isSpace,hu=function(e,r){var n,o,s,c,i,l,u,d,p,f="",m="",h=e.pos,b=e.posMax,g=e.pos,w=!0;if(e.src.charCodeAt(e.pos)!==91||(i=e.pos+1,c=e.md.helpers.parseLinkLabel(e,e.pos,!0),c<0))return!1;if(l=c+1,l<b&&e.src.charCodeAt(l)===40){for(w=!1,l++;l<b&&(o=e.src.charCodeAt(l),!(!sr(o)&&o!==10));l++);if(l>=b)return!1;if(g=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="",g=l;l<b&&(o=e.src.charCodeAt(l),!(!sr(o)&&o!==10));l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<b&&g!==l&&u.ok)for(m=u.str,l=u.pos;l<b&&(o=e.src.charCodeAt(l),!(!sr(o)&&o!==10));l++);}(l>=b||e.src.charCodeAt(l)!==41)&&(w=!0),l++}if(w){if(typeof e.env.references>"u")return!1;if(l<b&&e.src.charCodeAt(l)===91?(g=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?s=e.src.slice(g,l++):l=c+1):l=c+1,s||(s=e.src.slice(i,c)),d=e.env.references[fu(s)],!d)return e.pos=h,!1;f=d.href,m=d.title}return r||(e.pos=i,e.posMax=c,p=e.push("link_open","a",1),p.attrs=n=[["href",f]],m&&n.push(["title",m]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,p=e.push("link_close","a",-1)),e.pos=l,e.posMax=b,!0},mu=z.normalizeReference,cr=z.isSpace,gu=function(e,r){var n,o,s,c,i,l,u,d,p,f,m,h,b,g="",w=e.pos,k=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),i<0))return!1;if(u=i+1,u<k&&e.src.charCodeAt(u)===40){for(u++;u<k&&(o=e.src.charCodeAt(u),!(!cr(o)&&o!==10));u++);if(u>=k)return!1;for(b=u,p=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),p.ok&&(g=e.md.normalizeLink(p.str),e.md.validateLink(g)?u=p.pos:g=""),b=u;u<k&&(o=e.src.charCodeAt(u),!(!cr(o)&&o!==10));u++);if(p=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<k&&b!==u&&p.ok)for(f=p.str,u=p.pos;u<k&&(o=e.src.charCodeAt(u),!(!cr(o)&&o!==10));u++);else f="";if(u>=k||e.src.charCodeAt(u)!==41)return e.pos=w,!1;u++}else{if(typeof e.env.references>"u")return!1;if(u<k&&e.src.charCodeAt(u)===91?(b=u+1,u=e.md.helpers.parseLinkLabel(e,u),u>=0?c=e.src.slice(b,u++):u=i+1):u=i+1,c||(c=e.src.slice(l,i)),d=e.env.references[mu(c)],!d)return e.pos=w,!1;g=d.href,f=d.title}return r||(s=e.src.slice(l,i),e.md.inline.parse(s,e.md,e.env,h=[]),m=e.push("image","img",0),m.attrs=n=[["src",g],["alt",""]],m.children=h,m.content=s,f&&n.push(["title",f])),e.pos=u,e.posMax=k,!0},bu=/^([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])?)*)$/,yu=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,wu=function(e,r){var n,o,s,c,i,l,u=e.pos;if(e.src.charCodeAt(u)!==60)return!1;for(i=e.pos,l=e.posMax;;){if(++u>=l||(c=e.src.charCodeAt(u),c===60))return!1;if(c===62)break}return n=e.src.slice(i+1,u),yu.test(n)?(o=e.md.normalizeLink(n),e.md.validateLink(o)?(r||(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(n),s=e.push("link_close","a",-1),s.markup="autolink",s.info="auto"),e.pos+=n.length+2,!0):!1):bu.test(n)?(o=e.md.normalizeLink("mailto:"+n),e.md.validateLink(o)?(r||(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(n),s=e.push("link_close","a",-1),s.markup="autolink",s.info="auto"),e.pos+=n.length+2,!0):!1):!1},ku=yt.HTML_TAG_RE;function vu(t){return/^<a[>\s]/i.test(t)}function xu(t){return/^<\/a\s*>/i.test(t)}function Au(t){var e=t|32;return e>=97&&e<=122}var Eu=function(e,r){var n,o,s,c,i=e.pos;return!e.md.options.html||(s=e.posMax,e.src.charCodeAt(i)!==60||i+2>=s)||(n=e.src.charCodeAt(i+1),n!==33&&n!==63&&n!==47&&!Au(n))||(o=e.src.slice(i).match(ku),!o)?!1:(r||(c=e.push("html_inline","",0),c.content=o[0],vu(c.content)&&e.linkLevel++,xu(c.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},fo=Tn,_u=z.has,Cu=z.isValidEntityCode,ho=z.fromCodePoint,Du=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,qu=/^&([a-z][a-z0-9]{1,31});/i,Su=function(e,r){var n,o,s,c,i=e.pos,l=e.posMax;if(e.src.charCodeAt(i)!==38||i+1>=l)return!1;if(n=e.src.charCodeAt(i+1),n===35){if(s=e.src.slice(i).match(Du),s)return r||(o=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),c=e.push("text_special","",0),c.content=Cu(o)?ho(o):ho(65533),c.markup=s[0],c.info="entity"),e.pos+=s[0].length,!0}else if(s=e.src.slice(i).match(qu),s&&_u(fo,s[1]))return r||(c=e.push("text_special","",0),c.content=fo[s[1]],c.markup=s[0],c.info="entity"),e.pos+=s[0].length,!0;return!1};function mo(t){var e,r,n,o,s,c,i,l,u={},d=t.length;if(d){var p=0,f=-2,m=[];for(e=0;e<d;e++)if(n=t[e],m.push(0),(t[p].marker!==n.marker||f!==n.token-1)&&(p=e),f=n.token,n.length=n.length||0,!!n.close){for(u.hasOwnProperty(n.marker)||(u[n.marker]=[-1,-1,-1,-1,-1,-1]),s=u[n.marker][(n.open?3:0)+n.length%3],r=p-m[p]-1,c=r;r>s;r-=m[r]+1)if(o=t[r],o.marker===n.marker&&o.open&&o.end<0&&(i=!1,(o.close||n.open)&&(o.length+n.length)%3===0&&(o.length%3!==0||n.length%3!==0)&&(i=!0),!i)){l=r>0&&!t[r-1].open?m[r-1]+1:0,m[e]=e-r+l,m[r]=l,n.open=!1,o.end=e,o.close=!1,c=-1,f=-2;break}c!==-1&&(u[n.marker][(n.open?3:0)+(n.length||0)%3]=c)}}}var Ru=function(e){var r,n=e.tokens_meta,o=e.tokens_meta.length;for(mo(e.delimiters),r=0;r<o;r++)n[r]&&n[r].delimiters&&mo(n[r].delimiters)},Tu=function(e){var r,n,o=0,s=e.tokens,c=e.tokens.length;for(r=n=0;r<c;r++)s[r].nesting<0&&o--,s[r].level=o,s[r].nesting>0&&o++,s[r].type==="text"&&r+1<c&&s[r+1].type==="text"?s[r+1].content=s[r].content+s[r+1].content:(r!==n&&(s[n]=s[r]),n++);r!==n&&(s.length=n)},ir=Kt,go=z.isWhiteSpace,bo=z.isPunctChar,yo=z.isMdAsciiPunct;function Ge(t,e,r,n){this.src=t,this.env=r,this.md=e,this.tokens=n,this.tokens_meta=Array(n.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}Ge.prototype.pushPending=function(){var t=new ir("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},Ge.prototype.push=function(t,e,r){this.pending&&this.pushPending();var n=new ir(t,e,r),o=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(o),n},Ge.prototype.scanDelims=function(t,e){var r=t,n,o,s,c,i,l,u,d,p,f=!0,m=!0,h=this.posMax,b=this.src.charCodeAt(t);for(n=t>0?this.src.charCodeAt(t-1):32;r<h&&this.src.charCodeAt(r)===b;)r++;return s=r-t,o=r<h?this.src.charCodeAt(r):32,u=yo(n)||bo(String.fromCharCode(n)),p=yo(o)||bo(String.fromCharCode(o)),l=go(n),d=go(o),d?f=!1:p&&(l||u||(f=!1)),l?m=!1:u&&(d||p||(m=!1)),e?(c=f,i=m):(c=f&&(!m||u),i=m&&(!f||p)),{can_open:c,can_close:i,length:s}},Ge.prototype.Token=ir;var Lu=Ge,wo=Xt,ar=[["text",su],["linkify",iu],["newline",lu],["escape",du],["backticks",pu],["strikethrough",xt.tokenize],["emphasis",At.tokenize],["link",hu],["image",gu],["autolink",wu],["html_inline",Eu],["entity",Su]],lr=[["balance_pairs",Ru],["strikethrough",xt.postProcess],["emphasis",At.postProcess],["fragments_join",Tu]];function $e(){var t;for(this.ruler=new wo,t=0;t<ar.length;t++)this.ruler.push(ar[t][0],ar[t][1]);for(this.ruler2=new wo,t=0;t<lr.length;t++)this.ruler2.push(lr[t][0],lr[t][1])}$e.prototype.skipToken=function(t){var e,r,n=t.pos,o=this.ruler.getRules(""),s=o.length,c=t.md.options.maxNesting,i=t.cache;if(typeof i[n]<"u"){t.pos=i[n];return}if(t.level<c){for(r=0;r<s;r++)if(t.level++,e=o[r](t,!0),t.level--,e){if(n>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;e||t.pos++,i[n]=t.pos},$e.prototype.tokenize=function(t){for(var e,r,n,o=this.ruler.getRules(""),s=o.length,c=t.posMax,i=t.md.options.maxNesting;t.pos<c;){if(n=t.pos,t.level<i){for(r=0;r<s;r++)if(e=o[r](t,!1),e){if(n>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(e){if(t.pos>=c)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},$e.prototype.parse=function(t,e,r,n){var o,s,c,i=new this.State(t,e,r,n);for(this.tokenize(i),s=this.ruler2.getRules(""),c=s.length,o=0;o<c;o++)s[o](i)},$e.prototype.State=Lu;var Nu=$e,ur,ko;function Bu(){return ko||(ko=1,ur=function(t){var e={};t=t||{},e.src_Any=zn().source,e.src_Cc=Vn().source,e.src_Z=$n().source,e.src_P=Zt.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 r="[><|]";return e.src_pseudo_letter="(?:(?!"+r+"|"+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="(?=$|"+r+"|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+r+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+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="(^|"+r+'|"|\\(|'+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}),ur}function dr(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(r){r&&Object.keys(r).forEach(function(n){t[n]=r[n]})}),t}function Et(t){return Object.prototype.toString.call(t)}function Fu(t){return Et(t)==="[object String]"}function Iu(t){return Et(t)==="[object Object]"}function Ou(t){return Et(t)==="[object RegExp]"}function vo(t){return Et(t)==="[object Function]"}function Pu(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var xo={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Uu(t){return Object.keys(t||{}).reduce(function(e,r){return e||xo.hasOwnProperty(r)},!1)}var zu={"http:":{validate:function(t,e,r){var n=t.slice(e);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,r){var n=t.slice(e);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,r){var n=t.slice(e);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},Mu="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]",Vu="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function ju(t){t.__index__=-1,t.__text_cache__=""}function Gu(t){return function(e,r){var n=e.slice(r);return t.test(n)?n.match(t)[0].length:0}}function Ao(){return function(t,e){e.normalize(t)}}function _t(t){var e=t.re=Bu()(t.__opts__),r=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||r.push(Mu),r.push(e.src_xn),e.src_tlds=r.join("|");function n(i){return i.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(n(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(n(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(n(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(n(e.tpl_host_fuzzy_test),"i");var o=[];t.__compiled__={};function s(i,l){throw new Error('(LinkifyIt) Invalid schema "'+i+'": '+l)}Object.keys(t.__schemas__).forEach(function(i){var l=t.__schemas__[i];if(l!==null){var u={validate:null,link:null};if(t.__compiled__[i]=u,Iu(l)){Ou(l.validate)?u.validate=Gu(l.validate):vo(l.validate)?u.validate=l.validate:s(i,l),vo(l.normalize)?u.normalize=l.normalize:l.normalize?s(i,l):u.normalize=Ao();return}if(Fu(l)){o.push(i);return}s(i,l)}}),o.forEach(function(i){t.__compiled__[t.__schemas__[i]]&&(t.__compiled__[i].validate=t.__compiled__[t.__schemas__[i]].validate,t.__compiled__[i].normalize=t.__compiled__[t.__schemas__[i]].normalize)}),t.__compiled__[""]={validate:null,normalize:Ao()};var c=Object.keys(t.__compiled__).filter(function(i){return i.length>0&&t.__compiled__[i]}).map(Pu).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","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"),ju(t)}function $u(t,e){var r=t.__index__,n=t.__last_index__,o=t.__text_cache__.slice(r,n);this.schema=t.__schema__.toLowerCase(),this.index=r+e,this.lastIndex=n+e,this.raw=o,this.text=o,this.url=o}function pr(t,e){var r=new $u(t,e);return t.__compiled__[r.schema].normalize(r,t),r}function X(t,e){if(!(this instanceof X))return new X(t,e);e||Uu(t)&&(e=t,t={}),this.__opts__=dr({},xo,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=dr({},zu,t),this.__compiled__={},this.__tlds__=Vu,this.__tlds_replaced__=!1,this.re={},_t(this)}X.prototype.add=function(e,r){return this.__schemas__[e]=r,_t(this),this},X.prototype.set=function(e){return this.__opts__=dr(this.__opts__,e),this},X.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var r,n,o,s,c,i,l,u,d;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(r=l.exec(e))!==null;)if(s=this.testSchemaAt(e,r[2],l.lastIndex),s){this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[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__)&&(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(c=n.index+n[1].length,(this.__index__<0||c<this.__index__)&&(this.__schema__="",this.__index__=c,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(d=e.indexOf("@"),d>=0&&(o=e.match(this.re.email_fuzzy))!==null&&(c=o.index+o[1].length,i=o.index+o[0].length,(this.__index__<0||c<this.__index__||c===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=c,this.__last_index__=i))),this.__index__>=0},X.prototype.pretest=function(e){return this.re.pretest.test(e)},X.prototype.testSchemaAt=function(e,r,n){return this.__compiled__[r.toLowerCase()]?this.__compiled__[r.toLowerCase()].validate(e,n,this):0},X.prototype.match=function(e){var r=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(pr(this,r)),r=this.__last_index__);for(var o=r?e.slice(r):e;this.test(o);)n.push(pr(this,r)),o=o.slice(this.__last_index__),r+=this.__last_index__;return n.length?n:null},X.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var r=this.re.schema_at_start.exec(e);if(!r)return null;var n=this.testSchemaAt(e,r[2],r[0].length);return n?(this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+n,pr(this,0)):null},X.prototype.tlds=function(e,r){return e=Array.isArray(e)?e:[e],r?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(n,o,s){return n!==s[o-1]}).reverse(),_t(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,_t(this),this)},X.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)},X.prototype.onCompile=function(){};var Hu=X;const Be=2147483647,le=36,fr=1,He=26,Zu=38,Wu=700,Eo=72,_o=128,Co="-",Ju=/^xn--/,Qu=/[^\0-\x7F]/,Yu=/[\x2E\u3002\uFF0E\uFF61]/g,Xu={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},hr=le-fr,ue=Math.floor,mr=String.fromCharCode;function fe(t){throw new RangeError(Xu[t])}function Ku(t,e){const r=[];let n=t.length;for(;n--;)r[n]=e(t[n]);return r}function Do(t,e){const r=t.split("@");let n="";r.length>1&&(n=r[0]+"@",t=r[1]),t=t.replace(Yu,".");const o=t.split("."),s=Ku(o,e).join(".");return n+s}function gr(t){const e=[];let r=0;const n=t.length;for(;r<n;){const o=t.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){const s=t.charCodeAt(r++);(s&64512)==56320?e.push(((o&1023)<<10)+(s&1023)+65536):(e.push(o),r--)}else e.push(o)}return e}const qo=t=>String.fromCodePoint(...t),ed=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:le},So=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},Ro=function(t,e,r){let n=0;for(t=r?ue(t/Wu):t>>1,t+=ue(t/e);t>hr*He>>1;n+=le)t=ue(t/hr);return ue(n+(hr+1)*t/(t+Zu))},br=function(t){const e=[],r=t.length;let n=0,o=_o,s=Eo,c=t.lastIndexOf(Co);c<0&&(c=0);for(let i=0;i<c;++i)t.charCodeAt(i)>=128&&fe("not-basic"),e.push(t.charCodeAt(i));for(let i=c>0?c+1:0;i<r;){const l=n;for(let d=1,p=le;;p+=le){i>=r&&fe("invalid-input");const f=ed(t.charCodeAt(i++));f>=le&&fe("invalid-input"),f>ue((Be-n)/d)&&fe("overflow"),n+=f*d;const m=p<=s?fr:p>=s+He?He:p-s;if(f<m)break;const h=le-m;d>ue(Be/h)&&fe("overflow"),d*=h}const u=e.length+1;s=Ro(n-l,u,l==0),ue(n/u)>Be-o&&fe("overflow"),o+=ue(n/u),n%=u,e.splice(n++,0,o)}return String.fromCodePoint(...e)},yr=function(t){const e=[];t=gr(t);const r=t.length;let n=_o,o=0,s=Eo;for(const l of t)l<128&&e.push(mr(l));const c=e.length;let i=c;for(c&&e.push(Co);i<r;){let l=Be;for(const d of t)d>=n&&d<l&&(l=d);const u=i+1;l-n>ue((Be-o)/u)&&fe("overflow"),o+=(l-n)*u,n=l;for(const d of t)if(d<n&&++o>Be&&fe("overflow"),d===n){let p=o;for(let f=le;;f+=le){const m=f<=s?fr:f>=s+He?He:f-s;if(p<m)break;const h=p-m,b=le-m;e.push(mr(So(m+h%b,0))),p=ue(h/b)}e.push(mr(So(p,0))),s=Ro(o,u,i===c),o=0,++i}++o,++n}return e.join("")},To=function(t){return Do(t,function(e){return Ju.test(e)?br(e.slice(4).toLowerCase()):e})},Lo=function(t){return Do(t,function(e){return Qu.test(e)?"xn--"+yr(e):e})},td=Ra(Object.freeze(Object.defineProperty({__proto__:null,decode:br,default:{version:"2.3.1",ucs2:{decode:gr,encode:qo},decode:br,encode:yr,toASCII:Lo,toUnicode:To},encode:yr,toASCII:Lo,toUnicode:To,ucs2decode:gr,ucs2encode:qo},Symbol.toStringTag,{value:"Module"})));var rd={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},nd={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"]}}},od={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"]}}},Ze=z,sd=mt,cd=el,id=El,ad=nu,ld=Nu,ud=Hu,xe=Re,No=td,dd={default:rd,zero:nd,commonmark:od},pd=/^(vbscript|javascript|file|data):/,fd=/^data:image\/(gif|png|jpeg|webp);/;function hd(t){var e=t.trim().toLowerCase();return pd.test(e)?!!fd.test(e):!0}var Bo=["http:","https:","mailto:"];function md(t){var e=xe.parse(t,!0);if(e.hostname&&(!e.protocol||Bo.indexOf(e.protocol)>=0))try{e.hostname=No.toASCII(e.hostname)}catch{}return xe.encode(xe.format(e))}function gd(t){var e=xe.parse(t,!0);if(e.hostname&&(!e.protocol||Bo.indexOf(e.protocol)>=0))try{e.hostname=No.toUnicode(e.hostname)}catch{}return xe.decode(xe.format(e),xe.decode.defaultChars+"%")}function te(t,e){if(!(this instanceof te))return new te(t,e);e||Ze.isString(t)||(e=t||{},t="default"),this.inline=new ld,this.block=new ad,this.core=new id,this.renderer=new cd,this.linkify=new ud,this.validateLink=hd,this.normalizeLink=md,this.normalizeLinkText=gd,this.utils=Ze,this.helpers=Ze.assign({},sd),this.options={},this.configure(t),e&&this.set(e)}te.prototype.set=function(t){return Ze.assign(this.options,t),this},te.prototype.configure=function(t){var e=this,r;if(Ze.isString(t)&&(r=t,t=dd[r],!t))throw new Error('Wrong `markdown-it` preset "'+r+'", 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(n){t.components[n].rules&&e[n].ruler.enableOnly(t.components[n].rules),t.components[n].rules2&&e[n].ruler2.enableOnly(t.components[n].rules2)}),this},te.prototype.enable=function(t,e){var r=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){r=r.concat(this[o].ruler.enable(t,!0))},this),r=r.concat(this.inline.ruler2.enable(t,!0));var n=t.filter(function(o){return r.indexOf(o)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},te.prototype.disable=function(t,e){var r=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){r=r.concat(this[o].ruler.disable(t,!0))},this),r=r.concat(this.inline.ruler2.disable(t,!0));var n=t.filter(function(o){return r.indexOf(o)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},te.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},te.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var r=new this.core.State(t,this,e);return this.core.process(r),r.tokens},te.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},te.prototype.parseInline=function(t,e){var r=new this.core.State(t,this,e);return r.inlineMode=!0,this.core.process(r),r.tokens},te.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var bd=te,yd=bd;const wd=Sa(yd),kd=a.defineComponent({name:"VueMarkdown",props:{source:{type:String,required:!0},options:{type:Object,required:!1},plugins:{type:Array,required:!1}},setup(t){const e=a.ref(new wd(t.options??{}));for(const n of t.plugins??[])e.value.use(n);const r=a.computed(()=>e.value.render(t.source));return()=>a.h("div",{innerHTML:r.value})}}),vd={class:"q-chatbot__message-container"},xd={class:"q-chatbot__message-wrapper"},Ad={key:0,class:"q-chatbot__image-preview"},Ed=["src","alt"],_d={class:"q-chatbot__message"},Cd={key:1,class:"q-chatbot__text"},Dd={class:"q-chatbot__dialog-title"},qd={key:1,class:"q-chatbot__feedback-buttons"},Sd={class:"q-chatbot__sender"},Rd=a.defineComponent({__name:"CBMessage",props:{sender:{default:"user"},message:{},date:{default:()=>new Date},loading:{type:Boolean},dateFormat:{},imagePreviewUrl:{},texts:{default:()=>({commentDialogTitle:"Would you like to add a comment?",commentPlaceholder:"Type your comment here (optional)...",goodResponse:"Good response",badResponse:"Bad response",copyResponse:"Copy response",submitButton:"Submit",cancelButton:"Cancel",senderImage:"Sender Image",imagePreview:"Image preview"})},apiEndpoint:{},sessionID:{},userImage:{default:void 0},chatbotImage:{},isWelcomeMessage:{type:Boolean}},setup(t){const e=t,r=a.ref(!1),n=a.ref(""),o=a.ref(null),s=[{id:"confirm-btn",action:f,props:{label:e.texts.submitButton,variant:"bold"},icon:{icon:"submit"}},{id:"cancel-btn",props:{label:e.texts.cancelButton},icon:{icon:"cancel"}}],c=a.computed(()=>e.sender==="bot"&&!Object.values(e.texts||{}).includes(e.message||"")&&!e.isWelcomeMessage),i=a.computed(()=>e.dateFormat?d(e.date,"HH:mm"):e.date.toLocaleString()),l=a.computed(()=>`${i.value}`),u=a.computed(()=>e.sender==="bot"?e.chatbotImage:e.userImage);function d(b,g){const w=b.getDate().toString().padStart(2,"0"),k=(b.getMonth()+1).toString().padStart(2,"0"),C=b.getFullYear().toString().padStart(2,"0"),q=b.getHours().toString().padStart(2,"0"),S=b.getMinutes().toString().padStart(2,"0"),E=b.getSeconds().toString().padStart(2,"0");return g.replace("dd",w).replace("MM",k).replace("yyyy",C).replace("HH",q).replace("mm",S).replace("ss",E)}function p(b){r.value=!0,n.value="",o.value=b}function f(){o.value!=null&&m(o.value,n.value)}function m(b,g){V.post(e.apiEndpoint+"/prompt/feedback",{messageSessionID:e.sessionID,feedbackValue:b,feedbackComment:g}).catch(w=>{console.error("Error sending message feedback: ",w)})}function h(){e.message&&navigator.clipboard.writeText(e.message).then(()=>{console.log("Message copied to clipboard")}).catch(b=>{console.error("Failed to copy message to clipboard: ",b)})}return(b,g)=>{const w=a.resolveComponent("q-button-group");return a.openBlock(),a.createElementBlock("div",vd,[a.createVNode(a.unref(ee),{type:"img",icon:u.value,alt:e.texts.senderImage,class:"q-chatbot__profile"},null,8,["icon","alt"]),a.createElementVNode("div",xd,[e.imagePreviewUrl&&e.imagePreviewUrl.length>0?(a.openBlock(),a.createElementBlock("div",Ad,[a.createElementVNode("img",{src:e.imagePreviewUrl,alt:e.texts.imagePreview},null,8,Ed)])):a.createCommentVNode("",!0),a.createElementVNode("div",_d,[b.loading?(a.openBlock(),a.createBlock(qa,{key:0})):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[e.sender==="bot"?(a.openBlock(),a.createBlock(a.unref(kd),{key:0,class:"q-chatbot__text",source:e.message||""},null,8,["source"])):(a.openBlock(),a.createElementBlock("div",Cd,a.toDisplayString(e.message),1))],64))]),a.createVNode(a.unref(Ea),{id:"comment-dialog",modelValue:r.value,"onUpdate:modelValue":g[1]||(g[1]=k=>r.value=k),buttons:s},{"body.content":a.withCtx(()=>[a.createElementVNode("div",Dd,a.toDisplayString(e.texts.commentDialogTitle),1),a.createVNode(a.unref(Yc),{modelValue:n.value,"onUpdate:modelValue":g[0]||(g[0]=k=>n.value=k),maxLength:150,size:"large",placeholder:e.texts.commentPlaceholder},null,8,["modelValue","placeholder"])]),_:1},8,["modelValue"]),c.value?(a.openBlock(),a.createElementBlock("div",qd,[a.createVNode(w,null,{default:a.withCtx(()=>[a.createVNode(a.unref(ce),{title:e.texts.goodResponse,borderless:"",disabled:b.loading,onClick:g[2]||(g[2]=k=>p(1))},{default:a.withCtx(()=>[a.createVNode(a.unref(ee),{icon:"thumb-up"})]),_:1},8,["title","disabled"]),a.createVNode(a.unref(ce),{title:e.texts.badResponse,borderless:"",disabled:b.loading,onClick:g[3]||(g[3]=k=>p(0))},{default:a.withCtx(()=>[a.createVNode(a.unref(ee),{icon:"thumb-down"})]),_:1},8,["title","disabled"]),a.createVNode(a.unref(ce),{title:e.texts.copyResponse,borderless:"",disabled:b.loading,onClick:h},{default:a.withCtx(()=>[a.createVNode(a.unref(ee),{icon:"copy-content"})]),_:1},8,["title","disabled"])]),_:1})])):a.createCommentVNode("",!0),a.createElementVNode("div",Sd,a.toDisplayString(l.value),1)])])}}}),H=[];for(let t=0;t<256;++t)H.push((t+256).toString(16).slice(1));function Td(t,e=0){return(H[t[e+0]]+H[t[e+1]]+H[t[e+2]]+H[t[e+3]]+"-"+H[t[e+4]]+H[t[e+5]]+"-"+H[t[e+6]]+H[t[e+7]]+"-"+H[t[e+8]]+H[t[e+9]]+"-"+H[t[e+10]]+H[t[e+11]]+H[t[e+12]]+H[t[e+13]]+H[t[e+14]]+H[t[e+15]]).toLowerCase()}let wr;const Ld=new Uint8Array(16);function Nd(){if(!wr){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");wr=crypto.getRandomValues.bind(crypto)}return wr(Ld)}const Fo={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Bd(t,e,r){var o;if(Fo.randomUUID&&!t)return Fo.randomUUID();t=t||{};const n=t.random??((o=t.rng)==null?void 0:o.call(t))??Nd();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,Td(n)}const Fd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFIGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1w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P1qH7mev5X0CklziW8WhfTgO8G9VDVHXAHo0w0i44wa0PkzMh+ApirpHi3Rn3/AnAUuuDySUA2xK/fYBaV99XS/k5Ev/w+6IPetTo6+TraP74MnZHnFWClkuK/Zfbv8+j6UYcaR8xh6JOAB9eovwIYH0VoU2QP5F3P7wxMRj9BiarSSzuwCvjA/L3VtdrFvPYE9ie6qqYb0Omgfh3VKcvIIy5czz8YfQbnFJpLbegDeZGmjqxbSI3r+ScCtwL9GhzsS+jQ1tn1aLxuNRvMBR8OTCD4MZk4SJprO6JecOs6govcn88GfggcEXOwz5uZaboN2Qysi3p0Pf8Y40A4lfgUY96IduzcoaR4xqaOWRvW6nr+3sZJcg4wxNJuLjSOl2lKirU2djAWccvGkX+6cTYcE+G2pti26xnjZJkZhwcisQtMN6kCW4Ch5jUYyNSoufeMU2IBOtxmnpJiQ5zs1RAnD0xS837orHIHAb2MAyODDgzcs8j9fKNxgKwzIFehE8G9gT6fu1RJsSrutvk/GdqIAV0smzEAAAAASUVORK5CYII=",Od={class:"q-chatbot"},Pd={class:"q-chatbot__content"},Ud={class:"q-chatbot__tools"},zd={class:"q-chatbot__footer-container"},Md={class:"q-chatbot__input-wrapper"},Vd={key:0,class:"q-chatbot__image-preview"},jd=["src"],Gd={class:"q-chatbot__input"},$d={class:"q-chatbot__send-container"},Hd=["accept"];return a.defineComponent({name:"ChatBot",__name:"ChatBot",props:{apiEndpoint:{default:"http://localhost:3000"},controllerEndpoint:{},texts:{default:()=>({chatbotTitle:"ChatBot",sendMessage:"Send message",clearChat:"Clear chat",inputLabel:"What can I help with?",imageUpload:"Upload Image",imageUploadQButton:"Upload Image",goodResponse:"Good response",badResponse:"Bad response",initialMessage:"Howdy! I am GenioBot 👋, Quidgest's personal AI assistant! How can I help you?",initialAgentMessage:"Just a temporary message while we are working on the agent mode",loginError:"Uh oh, I could not authenticate with the Quidgest API endpoint 😓",botIsSick:"*cough cough* GenioBot is not feeling alright 🥴️🤒, looks like something failed!"})},username:{},projectPath:{},userImage:{default:Id},chatbotImage:{default:Fd},dateFormat:{},mode:{default:"chat"}},setup(t){const e=a.ref([]),r=a.ref(1),n=a.ref(""),o=a.ref(!1),s=a.ref(!1),c=a.ref(null),i=a.ref(!0),l=a.ref(null),u=a.ref(null),d=a.computed(()=>".png, .jpeg, .jpg, .svg, .webp"),p=a.ref(!1),f=a.ref(!1),m=a.computed(()=>n.value.trim().length===0||o.value||s.value),h=t;a.onMounted(()=>{k(),a.nextTick(()=>{var R;(R=c.value)==null||R.addEventListener("scroll",G)})});const b=a.computed(()=>s.value||o.value),g=a.computed(()=>({"q-chatbot__footer-disabled":b.value,"drag-over":f.value&&!p.value}));function w(R){s.value=R}async function k(){try{await V.post(h.apiEndpoint+"/auth/login",{username:h.username,password:"test"}),C()}catch(R){w(!0),q(h.texts.loginError),console.log("Error logging in: "+R)}}async function C(){try{const R=await V.post(h.apiEndpoint+"/prompt/load",{username:h.username,project:h.projectPath});if(!R)return console.error("No response from server");if(R.status!==200||!R.data.success){w(!0),q(h.texts.botIsSick),console.log(`Unsuccessful load, endpoint gave status ${R.status}`);return}E(),R.data.history.forEach(O=>{const P=O.imageUrl?h.controllerEndpoint+O.imageUrl:void 0;q(O.content,O.type==="ai"?"bot":"user",P,O.sessionID)})}catch(R){w(!0),q(h.texts.botIsSick),console.log("Error loading: "+R)}}function q(R,O="bot",P=null,K,$){e.value.push({id:r.value++,message:R,date:new Date,sender:O,imagePreviewUrl:P??void 0,sessionID:K||Bd(),isWelcomeMessage:$??!1}),a.nextTick(()=>{i.value&&U()})}function S(){return e.value.find(R=>R.id===r.value-1)}function E(){const R=h.mode==="chat"?h.texts.initialMessage:h.texts.initialAgentMessage;q(R,"bot",null,void 0,!0)}function L(){e.value=[],n.value="",o.value=!1,w(!1),i.value=!0}function U(){a.nextTick(()=>{c.value&&(c.value.scrollTop=c.value.scrollHeight)})}function G(){if(c.value){const{scrollTop:O,clientHeight:P,scrollHeight:K}=c.value;O+P>=K-20?i.value=!0:i.value=!1}}function I(){u.value="",l.value&&(l.value.value=""),p.value=!1}function v(){var R;(R=l.value)==null||R.click()}function A(R){const O=R.target;l.value=O,O.files&&O.files[0]&&(u.value=URL.createObjectURL(O.files[0]),p.value=!0)}function T(){var R,O;n.value.trim().length===0||o.value||s.value||(c.value&&c.value.scrollTo({top:c.value.scrollHeight,behavior:"smooth"}),q(n.value,"user",u.value),x(n.value,(O=(R=l.value)==null?void 0:R.files)==null?void 0:O[0]),I(),n.value="")}async function x(R,O){q("","bot");let P=S();const K=(P==null?void 0:P.sessionID)||"",$=new FormData;O&&$.append("image",O),$.append("message",R),$.append("project",h.projectPath),$.append("user",h.username),$.append("sessionID",K),o.value=!0;try{const oe=await V.post(h.apiEndpoint+"/prompt/submit",$,{headers:{"Content-Type":"text/event-stream",Accept:"text/event-stream"},responseType:"stream",adapter:"fetch"});if(!oe)return console.error("No response from server");const Ae=oe.data.getReader(),kr=new TextDecoder("utf-8");for(;;){const{done:B,value:de}=await Ae.read();if(B)break;const Ct=kr.decode(de,{stream:!0}).match(/data:\s*({.*?})/g);if(Ct){for(const Zd of Ct)try{const vr=Zd.split("data:")[1].trim(),Wd=JSON.parse(vr);P&&(P.message+=Wd.value)}catch(vr){console.error("Error parsing match:",vr)}i.value&&U()}}o.value=!1}catch(oe){w(!0),q(h.texts.botIsSick),console.log("Error setting chat prompt: "+oe);return}}function D(){V.post(h.apiEndpoint+"/prompt/clear",{username:h.username,project:h.projectPath}).then(R=>{if(R.status!==200||!R.data.success){w(!0),q(h.texts.loginError),console.log(`Unsuccessful clear, endpoint gave status ${R.status}`);return}L(),E()}).catch(R=>{w(!0),q(h.texts.loginError),console.log("Error clearing chat: "+R)})}function _(R){const O=["q-chatbot__messages-wrapper"];return R==="user"&&O.push("q-chatbot__messages-wrapper_right"),O}function N(R){R.preventDefault(),b.value||(f.value=!0)}function j(R){R.preventDefault(),f.value=!1}function M(R){var P;if(R.preventDefault(),f.value=!1,b.value||p.value)return;const O=(P=R.dataTransfer)==null?void 0:P.files;if(O&&O.length>0){const K=O[0];if(K.type.startsWith("image/")&&l.value){const $=new DataTransfer;$.items.add(K),l.value.files=$.files,u.value=URL.createObjectURL(K),p.value=!0}}}return a.watch(()=>h.apiEndpoint,()=>{L(),k()}),(R,O)=>(a.openBlock(),a.createElementBlock("div",Od,[a.createElementVNode("div",Pd,[a.createElementVNode("div",Ud,[a.createVNode(a.unref(ce),{title:h.texts.clearChat,disabled:s.value,borderless:"",onClick:D},{default:a.withCtx(()=>[a.createVNode(a.unref(ee),{icon:"bin"})]),_:1},8,["title","disabled"])]),a.createElementVNode("div",{ref_key:"messagesContainer",ref:c,class:"q-chatbot__messages-container",onScroll:G},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.value,P=>(a.openBlock(),a.createElementBlock("div",{key:P.id,class:a.normalizeClass(_(P.sender))},[a.createVNode(a.unref(Rd),a.mergeProps({ref_for:!0},P,{"date-format":h.dateFormat,"user-image":h.userImage,"chatbot-image":h.chatbotImage,loading:o.value&&!P.message,imagePreviewUrl:P.imagePreviewUrl,apiEndpoint:h.apiEndpoint,sessionID:P.sessionID}),null,16,["date-format","user-image","chatbot-image","loading","imagePreviewUrl","apiEndpoint","sessionID"])],2))),128))],544)]),a.createElementVNode("div",zd,[a.createVNode(a.unref(pn),{label:h.texts.inputLabel},null,8,["label"]),a.createElementVNode("div",{class:a.normalizeClass(["q-chatbot__footer",g.value]),onDragover:a.withModifiers(N,["prevent"]),onDragleave:a.withModifiers(j,["prevent"]),onDrop:a.withModifiers(M,["prevent"])},[a.createElementVNode("div",Md,[u.value?(a.openBlock(),a.createElementBlock("div",Vd,[a.createElementVNode("img",{src:u.value,tabindex:"0",alt:"Image preview"},null,8,jd),a.createVNode(a.unref(ce),{class:"q-chatbot__remove-image",tabindex:"0",flat:"",round:"",onClick:I},{default:a.withCtx(()=>[a.createVNode(a.unref(ee),{icon:"bin"})]),_:1})])):a.createCommentVNode("",!0),a.createElementVNode("div",Gd,[a.createVNode(a.unref(Ca),{modelValue:n.value,"onUpdate:modelValue":O[0]||(O[0]=P=>n.value=P),size:"block",autosize:"",resize:"none",rows:2,disabled:b.value,onKeyup:a.withKeys(T,["enter"])},null,8,["modelValue","disabled"])])]),a.createElementVNode("div",$d,[a.createVNode(a.unref(ce),{title:h.texts.imageUpload,class:"q-chatbot__upload",disabled:s.value||o.value||p.value,onClick:v},{default:a.withCtx(()=>[a.createVNode(a.unref(ee),{icon:"upload"})]),_:1},8,["title","disabled"]),a.createElementVNode("input",{id:"image-upload",type:"file",ref_key:"imageInput",ref:l,onChange:A,accept:d.value,class:"hidden-input",style:{display:"none"}},null,40,Hd),a.createVNode(a.unref(ce),{title:h.texts.sendMessage,variant:"bold",class:"q-chatbot__send",disabled:m.value,readonly:m.value,loading:o.value,onClick:T},{default:a.withCtx(()=>[a.createVNode(a.unref(ee),{icon:"send"})]),_:1},8,["title","disabled","readonly","loading"])])],34)])]))}})});
|
|
60
|
+
`},le.text=function(e,u){return ge(e[u].content)},le.html_block=function(e,u){return e[u].content},le.html_inline=function(e,u){return e[u].content};function Ne(){this.rules=mu({},le)}Ne.prototype.renderAttrs=function(u){let t,n,r;if(!u.attrs)return"";for(r="",t=0,n=u.attrs.length;t<n;t++)r+=" "+ge(u.attrs[t][0])+'="'+ge(u.attrs[t][1])+'"';return r},Ne.prototype.renderToken=function(u,t,n){const r=u[t];let o="";if(r.hidden)return"";r.block&&r.nesting!==-1&&t&&u[t-1].hidden&&(o+=`
|
|
61
|
+
`),o+=(r.nesting===-1?"</":"<")+r.tag,o+=this.renderAttrs(r),r.nesting===0&&n.xhtmlOut&&(o+=" /");let i=!1;if(r.block&&(i=!0,r.nesting===1&&t+1<u.length)){const c=u[t+1];(c.type==="inline"||c.hidden||c.nesting===-1&&c.tag===r.tag)&&(i=!1)}return o+=i?`>
|
|
62
|
+
`:">",o},Ne.prototype.renderInline=function(e,u,t){let n="";const r=this.rules;for(let o=0,i=e.length;o<i;o++){const c=e[o].type;typeof r[c]<"u"?n+=r[c](e,o,u,t,this):n+=this.renderToken(e,o,u)}return n},Ne.prototype.renderInlineAsText=function(e,u,t){let n="";for(let r=0,o=e.length;r<o;r++)switch(e[r].type){case"text":n+=e[r].content;break;case"image":n+=this.renderInlineAsText(e[r].children,u,t);break;case"html_inline":case"html_block":n+=e[r].content;break;case"softbreak":case"hardbreak":n+=`
|
|
63
|
+
`;break}return n},Ne.prototype.render=function(e,u,t){let n="";const r=this.rules;for(let o=0,i=e.length;o<i;o++){const c=e[o].type;c==="inline"?n+=this.renderInline(e[o].children,u,t):typeof r[c]<"u"?n+=r[c](e,o,u,t,this):n+=this.renderToken(e,o,u,t)}return n};function K(){this.__rules__=[],this.__cache__=null}K.prototype.__find__=function(e){for(let u=0;u<this.__rules__.length;u++)if(this.__rules__[u].name===e)return u;return-1},K.prototype.__compile__=function(){const e=this,u=[""];e.__rules__.forEach(function(t){t.enabled&&t.alt.forEach(function(n){u.indexOf(n)<0&&u.push(n)})}),e.__cache__={},u.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))})})},K.prototype.at=function(e,u,t){const n=this.__find__(e),r=t||{};if(n===-1)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=u,this.__rules__[n].alt=r.alt||[],this.__cache__=null},K.prototype.before=function(e,u,t,n){const r=this.__find__(e),o=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:u,enabled:!0,fn:t,alt:o.alt||[]}),this.__cache__=null},K.prototype.after=function(e,u,t,n){const r=this.__find__(e),o=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:u,enabled:!0,fn:t,alt:o.alt||[]}),this.__cache__=null},K.prototype.push=function(e,u,t){const n=t||{};this.__rules__.push({name:e,enabled:!0,fn:u,alt:n.alt||[]}),this.__cache__=null},K.prototype.enable=function(e,u){Array.isArray(e)||(e=[e]);const t=[];return e.forEach(function(n){const r=this.__find__(n);if(r<0){if(u)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[r].enabled=!0,t.push(n)},this),this.__cache__=null,t},K.prototype.enableOnly=function(e,u){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(t){t.enabled=!1}),this.enable(e,u)},K.prototype.disable=function(e,u){Array.isArray(e)||(e=[e]);const t=[];return e.forEach(function(n){const r=this.__find__(n);if(r<0){if(u)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[r].enabled=!1,t.push(n)},this),this.__cache__=null,t},K.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function ie(e,u,t){this.type=e,this.tag=u,this.attrs=null,this.map=null,this.nesting=t,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}ie.prototype.attrIndex=function(u){if(!this.attrs)return-1;const t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===u)return n;return-1},ie.prototype.attrPush=function(u){this.attrs?this.attrs.push(u):this.attrs=[u]},ie.prototype.attrSet=function(u,t){const n=this.attrIndex(u),r=[u,t];n<0?this.attrPush(r):this.attrs[n]=r},ie.prototype.attrGet=function(u){const t=this.attrIndex(u);let n=null;return t>=0&&(n=this.attrs[t][1]),n},ie.prototype.attrJoin=function(u,t){const n=this.attrIndex(u);n<0?this.attrPush([u,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t};function On(e,u,t){this.src=e,this.env=t,this.tokens=[],this.inlineMode=!1,this.md=u}On.prototype.Token=ie;const Ja=/\r\n?|\n/g,Ya=/\0/g;function Xa(e){let u;u=e.src.replace(Ja,`
|
|
64
|
+
`),u=u.replace(Ya,"�"),e.src=u}function Ka(e){let u;e.inlineMode?(u=new e.Token("inline","",0),u.content=e.src,u.map=[0,1],u.children=[],e.tokens.push(u)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function ec(e){const u=e.tokens;for(let t=0,n=u.length;t<n;t++){const r=u[t];r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function uc(e){return/^<a[>\s]/i.test(e)}function tc(e){return/^<\/a\s*>/i.test(e)}function nc(e){const u=e.tokens;if(e.md.options.linkify)for(let t=0,n=u.length;t<n;t++){if(u[t].type!=="inline"||!e.md.linkify.pretest(u[t].content))continue;let r=u[t].children,o=0;for(let i=r.length-1;i>=0;i--){const c=r[i];if(c.type==="link_close"){for(i--;r[i].level!==c.level&&r[i].type!=="link_open";)i--;continue}if(c.type==="html_inline"&&(uc(c.content)&&o>0&&o--,tc(c.content)&&o++),!(o>0)&&c.type==="text"&&e.md.linkify.test(c.content)){const s=c.content;let l=e.md.linkify.match(s);const d=[];let f=c.level,h=0;l.length>0&&l[0].index===0&&i>0&&r[i-1].type==="text_special"&&(l=l.slice(1));for(let b=0;b<l.length;b++){const p=l[b].url,g=e.md.normalizeLink(p);if(!e.md.validateLink(g))continue;let x=l[b].text;l[b].schema?l[b].schema==="mailto:"&&!/^mailto:/i.test(x)?x=e.md.normalizeLinkText("mailto:"+x).replace(/^mailto:/,""):x=e.md.normalizeLinkText(x):x=e.md.normalizeLinkText("http://"+x).replace(/^http:\/\//,"");const C=l[b].index;if(C>h){const w=new e.Token("text","",0);w.content=s.slice(h,C),w.level=f,d.push(w)}const k=new e.Token("link_open","a",1);k.attrs=[["href",g]],k.level=f++,k.markup="linkify",k.info="auto",d.push(k);const E=new e.Token("text","",0);E.content=x,E.level=f,d.push(E);const A=new e.Token("link_close","a",-1);A.level=--f,A.markup="linkify",A.info="auto",d.push(A),h=l[b].lastIndex}if(h<s.length){const b=new e.Token("text","",0);b.content=s.slice(h),b.level=f,d.push(b)}u[t].children=r=Nn(r,i,d)}}}}const Ln=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,rc=/\((c|tm|r)\)/i,oc=/\((c|tm|r)\)/ig,ic={c:"©",r:"®",tm:"™"};function ac(e,u){return ic[u.toLowerCase()]}function cc(e){let u=0;for(let t=e.length-1;t>=0;t--){const n=e[t];n.type==="text"&&!u&&(n.content=n.content.replace(oc,ac)),n.type==="link_open"&&n.info==="auto"&&u--,n.type==="link_close"&&n.info==="auto"&&u++}}function sc(e){let u=0;for(let t=e.length-1;t>=0;t--){const n=e[t];n.type==="text"&&!u&&Ln.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"&&u--,n.type==="link_close"&&n.info==="auto"&&u++}}function lc(e){let u;if(e.md.options.typographer)for(u=e.tokens.length-1;u>=0;u--)e.tokens[u].type==="inline"&&(rc.test(e.tokens[u].content)&&cc(e.tokens[u].children),Ln.test(e.tokens[u].content)&&sc(e.tokens[u].children))}const dc=/['"]/,Pn=/['"]/g,Mn="’";function yu(e,u,t){return e.slice(0,u)+t+e.slice(u+1)}function fc(e,u){let t;const n=[];for(let r=0;r<e.length;r++){const o=e[r],i=e[r].level;for(t=n.length-1;t>=0&&!(n[t].level<=i);t--);if(n.length=t+1,o.type!=="text")continue;let c=o.content,s=0,l=c.length;e:for(;s<l;){Pn.lastIndex=s;const d=Pn.exec(c);if(!d)break;let f=!0,h=!0;s=d.index+1;const b=d[0]==="'";let p=32;if(d.index-1>=0)p=c.charCodeAt(d.index-1);else for(t=r-1;t>=0&&!(e[t].type==="softbreak"||e[t].type==="hardbreak");t--)if(e[t].content){p=e[t].content.charCodeAt(e[t].content.length-1);break}let g=32;if(s<l)g=c.charCodeAt(s);else for(t=r+1;t<e.length&&!(e[t].type==="softbreak"||e[t].type==="hardbreak");t++)if(e[t].content){g=e[t].content.charCodeAt(0);break}const x=He(p)||Ge(String.fromCharCode(p)),C=He(g)||Ge(String.fromCharCode(g)),k=$e(p),E=$e(g);if(E?f=!1:C&&(k||x||(f=!1)),k?h=!1:x&&(E||C||(h=!1)),g===34&&d[0]==='"'&&p>=48&&p<=57&&(h=f=!1),f&&h&&(f=x,h=C),!f&&!h){b&&(o.content=yu(o.content,d.index,Mn));continue}if(h)for(t=n.length-1;t>=0;t--){let A=n[t];if(n[t].level<i)break;if(A.single===b&&n[t].level===i){A=n[t];let w,F;b?(w=u.md.options.quotes[2],F=u.md.options.quotes[3]):(w=u.md.options.quotes[0],F=u.md.options.quotes[1]),o.content=yu(o.content,d.index,F),e[A.token].content=yu(e[A.token].content,A.pos,w),s+=F.length-1,A.token===r&&(s+=w.length-1),c=o.content,l=c.length,n.length=t;continue e}}f?n.push({token:r,pos:d.index,single:b,level:i}):h&&b&&(o.content=yu(o.content,d.index,Mn))}}}function pc(e){if(e.md.options.typographer)for(let u=e.tokens.length-1;u>=0;u--)e.tokens[u].type!=="inline"||!dc.test(e.tokens[u].content)||fc(e.tokens[u].children,e)}function hc(e){let u,t;const n=e.tokens,r=n.length;for(let o=0;o<r;o++){if(n[o].type!=="inline")continue;const i=n[o].children,c=i.length;for(u=0;u<c;u++)i[u].type==="text_special"&&(i[u].type="text");for(u=t=0;u<c;u++)i[u].type==="text"&&u+1<c&&i[u+1].type==="text"?i[u+1].content=i[u].content+i[u+1].content:(u!==t&&(i[t]=i[u]),t++);u!==t&&(i.length=t)}}const et=[["normalize",Xa],["block",Ka],["inline",ec],["linkify",nc],["replacements",lc],["smartquotes",pc],["text_join",hc]];function ut(){this.ruler=new K;for(let e=0;e<et.length;e++)this.ruler.push(et[e][0],et[e][1])}ut.prototype.process=function(e){const u=this.ruler.getRules("");for(let t=0,n=u.length;t<n;t++)u[t](e)},ut.prototype.State=On;function de(e,u,t,n){this.src=e,this.md=u,this.env=t,this.tokens=n,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;const r=this.src;for(let o=0,i=0,c=0,s=0,l=r.length,d=!1;i<l;i++){const f=r.charCodeAt(i);if(!d)if(z(f)){c++,f===9?s+=4-s%4:s++;continue}else d=!0;(f===10||i===l-1)&&(f!==10&&i++,this.bMarks.push(o),this.eMarks.push(i),this.tShift.push(c),this.sCount.push(s),this.bsCount.push(0),d=!1,c=0,s=0,o=i+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}de.prototype.push=function(e,u,t){const n=new ie(e,u,t);return n.block=!0,t<0&&this.level--,n.level=this.level,t>0&&this.level++,this.tokens.push(n),n},de.prototype.isEmpty=function(u){return this.bMarks[u]+this.tShift[u]>=this.eMarks[u]},de.prototype.skipEmptyLines=function(u){for(let t=this.lineMax;u<t&&!(this.bMarks[u]+this.tShift[u]<this.eMarks[u]);u++);return u},de.prototype.skipSpaces=function(u){for(let t=this.src.length;u<t;u++){const n=this.src.charCodeAt(u);if(!z(n))break}return u},de.prototype.skipSpacesBack=function(u,t){if(u<=t)return u;for(;u>t;)if(!z(this.src.charCodeAt(--u)))return u+1;return u},de.prototype.skipChars=function(u,t){for(let n=this.src.length;u<n&&this.src.charCodeAt(u)===t;u++);return u},de.prototype.skipCharsBack=function(u,t,n){if(u<=n)return u;for(;u>n;)if(t!==this.src.charCodeAt(--u))return u+1;return u},de.prototype.getLines=function(u,t,n,r){if(u>=t)return"";const o=new Array(t-u);for(let i=0,c=u;c<t;c++,i++){let s=0;const l=this.bMarks[c];let d=l,f;for(c+1<t||r?f=this.eMarks[c]+1:f=this.eMarks[c];d<f&&s<n;){const h=this.src.charCodeAt(d);if(z(h))h===9?s+=4-(s+this.bsCount[c])%4:s++;else if(d-l<this.tShift[c])s++;else break;d++}s>n?o[i]=new Array(s-n+1).join(" ")+this.src.slice(d,f):o[i]=this.src.slice(d,f)}return o.join("")},de.prototype.Token=ie;const bc=65536;function tt(e,u){const t=e.bMarks[u]+e.tShift[u],n=e.eMarks[u];return e.src.slice(t,n)}function zn(e){const u=[],t=e.length;let n=0,r=e.charCodeAt(n),o=!1,i=0,c="";for(;n<t;)r===124&&(o?(c+=e.substring(i,n-1),i=n):(u.push(c+e.substring(i,n)),c="",i=n+1)),o=r===92,n++,r=e.charCodeAt(n);return u.push(c+e.substring(i)),u}function mc(e,u,t,n){if(u+2>t)return!1;let r=u+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let o=e.bMarks[r]+e.tShift[r];if(o>=e.eMarks[r])return!1;const i=e.src.charCodeAt(o++);if(i!==124&&i!==45&&i!==58||o>=e.eMarks[r])return!1;const c=e.src.charCodeAt(o++);if(c!==124&&c!==45&&c!==58&&!z(c)||i===45&&z(c))return!1;for(;o<e.eMarks[r];){const A=e.src.charCodeAt(o);if(A!==124&&A!==45&&A!==58&&!z(A))return!1;o++}let s=tt(e,u+1),l=s.split("|");const d=[];for(let A=0;A<l.length;A++){const w=l[A].trim();if(!w){if(A===0||A===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(w))return!1;w.charCodeAt(w.length-1)===58?d.push(w.charCodeAt(0)===58?"center":"right"):w.charCodeAt(0)===58?d.push("left"):d.push("")}if(s=tt(e,u).trim(),s.indexOf("|")===-1||e.sCount[u]-e.blkIndent>=4)return!1;l=zn(s),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop();const f=l.length;if(f===0||f!==d.length)return!1;if(n)return!0;const h=e.parentType;e.parentType="table";const b=e.md.block.ruler.getRules("blockquote"),p=e.push("table_open","table",1),g=[u,0];p.map=g;const x=e.push("thead_open","thead",1);x.map=[u,u+1];const C=e.push("tr_open","tr",1);C.map=[u,u+1];for(let A=0;A<l.length;A++){const w=e.push("th_open","th",1);d[A]&&(w.attrs=[["style","text-align:"+d[A]]]);const F=e.push("inline","",0);F.content=l[A].trim(),F.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let k,E=0;for(r=u+2;r<t&&!(e.sCount[r]<e.blkIndent);r++){let A=!1;for(let F=0,T=b.length;F<T;F++)if(b[F](e,r,t,!0)){A=!0;break}if(A||(s=tt(e,r).trim(),!s)||e.sCount[r]-e.blkIndent>=4||(l=zn(s),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop(),E+=f-l.length,E>bc))break;if(r===u+2){const F=e.push("tbody_open","tbody",1);F.map=k=[u+2,0]}const w=e.push("tr_open","tr",1);w.map=[r,r+1];for(let F=0;F<f;F++){const T=e.push("td_open","td",1);d[F]&&(T.attrs=[["style","text-align:"+d[F]]]);const U=e.push("inline","",0);U.content=l[F]?l[F].trim():"",U.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return k&&(e.push("tbody_close","tbody",-1),k[1]=r),e.push("table_close","table",-1),g[1]=r,e.parentType=h,e.line=r,!0}function gc(e,u,t){if(e.sCount[u]-e.blkIndent<4)return!1;let n=u+1,r=n;for(;n<t;){if(e.isEmpty(n)){n++;continue}if(e.sCount[n]-e.blkIndent>=4){n++,r=n;continue}break}e.line=r;const o=e.push("code_block","code",0);return o.content=e.getLines(u,r,4+e.blkIndent,!1)+`
|
|
65
|
+
`,o.map=[u,e.line],!0}function xc(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],o=e.eMarks[u];if(e.sCount[u]-e.blkIndent>=4||r+3>o)return!1;const i=e.src.charCodeAt(r);if(i!==126&&i!==96)return!1;let c=r;r=e.skipChars(r,i);let s=r-c;if(s<3)return!1;const l=e.src.slice(c,r),d=e.src.slice(r,o);if(i===96&&d.indexOf(String.fromCharCode(i))>=0)return!1;if(n)return!0;let f=u,h=!1;for(;f++,!(f>=t||(r=c=e.bMarks[f]+e.tShift[f],o=e.eMarks[f],r<o&&e.sCount[f]<e.blkIndent));)if(e.src.charCodeAt(r)===i&&!(e.sCount[f]-e.blkIndent>=4)&&(r=e.skipChars(r,i),!(r-c<s)&&(r=e.skipSpaces(r),!(r<o)))){h=!0;break}s=e.sCount[u],e.line=f+(h?1:0);const b=e.push("fence","code",0);return b.info=d,b.content=e.getLines(u+1,f,s,!0),b.markup=l,b.map=[u,e.line],!0}function yc(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],o=e.eMarks[u];const i=e.lineMax;if(e.sCount[u]-e.blkIndent>=4||e.src.charCodeAt(r)!==62)return!1;if(n)return!0;const c=[],s=[],l=[],d=[],f=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let b=!1,p;for(p=u;p<t;p++){const E=e.sCount[p]<e.blkIndent;if(r=e.bMarks[p]+e.tShift[p],o=e.eMarks[p],r>=o)break;if(e.src.charCodeAt(r++)===62&&!E){let w=e.sCount[p]+1,F,T;e.src.charCodeAt(r)===32?(r++,w++,T=!1,F=!0):e.src.charCodeAt(r)===9?(F=!0,(e.bsCount[p]+w)%4===3?(r++,w++,T=!1):T=!0):F=!1;let U=w;for(c.push(e.bMarks[p]),e.bMarks[p]=r;r<o;){const V=e.src.charCodeAt(r);if(z(V))V===9?U+=4-(U+e.bsCount[p]+(T?1:0))%4:U++;else break;r++}b=r>=o,s.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(F?1:0),l.push(e.sCount[p]),e.sCount[p]=U-w,d.push(e.tShift[p]),e.tShift[p]=r-e.bMarks[p];continue}if(b)break;let A=!1;for(let w=0,F=f.length;w<F;w++)if(f[w](e,p,t,!0)){A=!0;break}if(A){e.lineMax=p,e.blkIndent!==0&&(c.push(e.bMarks[p]),s.push(e.bsCount[p]),d.push(e.tShift[p]),l.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}c.push(e.bMarks[p]),s.push(e.bsCount[p]),d.push(e.tShift[p]),l.push(e.sCount[p]),e.sCount[p]=-1}const g=e.blkIndent;e.blkIndent=0;const x=e.push("blockquote_open","blockquote",1);x.markup=">";const C=[u,0];x.map=C,e.md.block.tokenize(e,u,p);const k=e.push("blockquote_close","blockquote",-1);k.markup=">",e.lineMax=i,e.parentType=h,C[1]=e.line;for(let E=0;E<d.length;E++)e.bMarks[E+u]=c[E],e.tShift[E+u]=d[E],e.sCount[E+u]=l[E],e.bsCount[E+u]=s[E];return e.blkIndent=g,!0}function kc(e,u,t,n){const r=e.eMarks[u];if(e.sCount[u]-e.blkIndent>=4)return!1;let o=e.bMarks[u]+e.tShift[u];const i=e.src.charCodeAt(o++);if(i!==42&&i!==45&&i!==95)return!1;let c=1;for(;o<r;){const l=e.src.charCodeAt(o++);if(l!==i&&!z(l))return!1;l===i&&c++}if(c<3)return!1;if(n)return!0;e.line=u+1;const s=e.push("hr","hr",0);return s.map=[u,e.line],s.markup=Array(c+1).join(String.fromCharCode(i)),!0}function qn(e,u){const t=e.eMarks[u];let n=e.bMarks[u]+e.tShift[u];const r=e.src.charCodeAt(n++);if(r!==42&&r!==45&&r!==43)return-1;if(n<t){const o=e.src.charCodeAt(n);if(!z(o))return-1}return n}function Un(e,u){const t=e.bMarks[u]+e.tShift[u],n=e.eMarks[u];let r=t;if(r+1>=n)return-1;let o=e.src.charCodeAt(r++);if(o<48||o>57)return-1;for(;;){if(r>=n)return-1;if(o=e.src.charCodeAt(r++),o>=48&&o<=57){if(r-t>=10)return-1;continue}if(o===41||o===46)break;return-1}return r<n&&(o=e.src.charCodeAt(r),!z(o))?-1:r}function _c(e,u){const t=e.level+2;for(let n=u+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===t&&e.tokens[n].type==="paragraph_open"&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}function Ec(e,u,t,n){let r,o,i,c,s=u,l=!0;if(e.sCount[s]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[s]-e.listIndent>=4&&e.sCount[s]<e.blkIndent)return!1;let d=!1;n&&e.parentType==="paragraph"&&e.sCount[s]>=e.blkIndent&&(d=!0);let f,h,b;if((b=Un(e,s))>=0){if(f=!0,i=e.bMarks[s]+e.tShift[s],h=Number(e.src.slice(i,b-1)),d&&h!==1)return!1}else if((b=qn(e,s))>=0)f=!1;else return!1;if(d&&e.skipSpaces(b)>=e.eMarks[s])return!1;if(n)return!0;const p=e.src.charCodeAt(b-1),g=e.tokens.length;f?(c=e.push("ordered_list_open","ol",1),h!==1&&(c.attrs=[["start",h]])):c=e.push("bullet_list_open","ul",1);const x=[s,0];c.map=x,c.markup=String.fromCharCode(p);let C=!1;const k=e.md.block.ruler.getRules("list"),E=e.parentType;for(e.parentType="list";s<t;){o=b,r=e.eMarks[s];const A=e.sCount[s]+b-(e.bMarks[s]+e.tShift[s]);let w=A;for(;o<r;){const v=e.src.charCodeAt(o);if(v===9)w+=4-(w+e.bsCount[s])%4;else if(v===32)w++;else break;o++}const F=o;let T;F>=r?T=1:T=w-A,T>4&&(T=1);const U=A+T;c=e.push("list_item_open","li",1),c.markup=String.fromCharCode(p);const V=[s,0];c.map=V,f&&(c.info=e.src.slice(i,b-1));const J=e.tight,y=e.tShift[s],_=e.sCount[s],S=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=U,e.tight=!0,e.tShift[s]=F-e.bMarks[s],e.sCount[s]=w,F>=r&&e.isEmpty(s+1)?e.line=Math.min(e.line+2,t):e.md.block.tokenize(e,s,t,!0),(!e.tight||C)&&(l=!1),C=e.line-s>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=S,e.tShift[s]=y,e.sCount[s]=_,e.tight=J,c=e.push("list_item_close","li",-1),c.markup=String.fromCharCode(p),s=e.line,V[1]=s,s>=t||e.sCount[s]<e.blkIndent||e.sCount[s]-e.blkIndent>=4)break;let O=!1;for(let v=0,P=k.length;v<P;v++)if(k[v](e,s,t,!0)){O=!0;break}if(O)break;if(f){if(b=Un(e,s),b<0)break;i=e.bMarks[s]+e.tShift[s]}else if(b=qn(e,s),b<0)break;if(p!==e.src.charCodeAt(b-1))break}return f?c=e.push("ordered_list_close","ol",-1):c=e.push("bullet_list_close","ul",-1),c.markup=String.fromCharCode(p),x[1]=s,e.line=s,e.parentType=E,l&&_c(e,g),!0}function Ac(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],o=e.eMarks[u],i=u+1;if(e.sCount[u]-e.blkIndent>=4||e.src.charCodeAt(r)!==91)return!1;function c(k){const E=e.lineMax;if(k>=E||e.isEmpty(k))return null;let A=!1;if(e.sCount[k]-e.blkIndent>3&&(A=!0),e.sCount[k]<0&&(A=!0),!A){const T=e.md.block.ruler.getRules("reference"),U=e.parentType;e.parentType="reference";let V=!1;for(let J=0,y=T.length;J<y;J++)if(T[J](e,k,E,!0)){V=!0;break}if(e.parentType=U,V)return null}const w=e.bMarks[k]+e.tShift[k],F=e.eMarks[k];return e.src.slice(w,F+1)}let s=e.src.slice(r,o+1);o=s.length;let l=-1;for(r=1;r<o;r++){const k=s.charCodeAt(r);if(k===91)return!1;if(k===93){l=r;break}else if(k===10){const E=c(i);E!==null&&(s+=E,o=s.length,i++)}else if(k===92&&(r++,r<o&&s.charCodeAt(r)===10)){const E=c(i);E!==null&&(s+=E,o=s.length,i++)}}if(l<0||s.charCodeAt(l+1)!==58)return!1;for(r=l+2;r<o;r++){const k=s.charCodeAt(r);if(k===10){const E=c(i);E!==null&&(s+=E,o=s.length,i++)}else if(!z(k))break}const d=e.md.helpers.parseLinkDestination(s,r,o);if(!d.ok)return!1;const f=e.md.normalizeLink(d.str);if(!e.md.validateLink(f))return!1;r=d.pos;const h=r,b=i,p=r;for(;r<o;r++){const k=s.charCodeAt(r);if(k===10){const E=c(i);E!==null&&(s+=E,o=s.length,i++)}else if(!z(k))break}let g=e.md.helpers.parseLinkTitle(s,r,o);for(;g.can_continue;){const k=c(i);if(k===null)break;s+=k,r=o,o=s.length,i++,g=e.md.helpers.parseLinkTitle(s,r,o,g)}let x;for(r<o&&p!==r&&g.ok?(x=g.str,r=g.pos):(x="",r=h,i=b);r<o;){const k=s.charCodeAt(r);if(!z(k))break;r++}if(r<o&&s.charCodeAt(r)!==10&&x)for(x="",r=h,i=b;r<o;){const k=s.charCodeAt(r);if(!z(k))break;r++}if(r<o&&s.charCodeAt(r)!==10)return!1;const C=xu(s.slice(1,l));return C?(n||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[C]>"u"&&(e.env.references[C]={title:x,href:f}),e.line=i),!0):!1}const Cc=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],wc="[a-zA-Z_:][a-zA-Z0-9:._-]*",Dc="(?:"+"[^\"'=<>`\\x00-\\x20]+"+"|"+"'[^']*'"+"|"+'"[^"]*"'+")",jn="<[A-Za-z][A-Za-z0-9\\-]*"+("(?:\\s+"+wc+"(?:\\s*=\\s*"+Dc+")?)")+"*\\s*\\/?>",Vn="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Fc="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",Sc="<[?][\\s\\S]*?[?]>",vc="<![A-Za-z][^>]*>",Bc="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",Rc=new RegExp("^(?:"+jn+"|"+Vn+"|"+Fc+"|"+Sc+"|"+vc+"|"+Bc+")"),Tc=new RegExp("^(?:"+jn+"|"+Vn+")"),Ie=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Cc.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Tc.source+"\\s*$"),/^$/,!1]];function Nc(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],o=e.eMarks[u];if(e.sCount[u]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let i=e.src.slice(r,o),c=0;for(;c<Ie.length&&!Ie[c][0].test(i);c++);if(c===Ie.length)return!1;if(n)return Ie[c][2];let s=u+1;if(!Ie[c][1].test(i)){for(;s<t&&!(e.sCount[s]<e.blkIndent);s++)if(r=e.bMarks[s]+e.tShift[s],o=e.eMarks[s],i=e.src.slice(r,o),Ie[c][1].test(i)){i.length!==0&&s++;break}}e.line=s;const l=e.push("html_block","",0);return l.map=[u,s],l.content=e.getLines(u,s,e.blkIndent,!0),!0}function Ic(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],o=e.eMarks[u];if(e.sCount[u]-e.blkIndent>=4)return!1;let i=e.src.charCodeAt(r);if(i!==35||r>=o)return!1;let c=1;for(i=e.src.charCodeAt(++r);i===35&&r<o&&c<=6;)c++,i=e.src.charCodeAt(++r);if(c>6||r<o&&!z(i))return!1;if(n)return!0;o=e.skipSpacesBack(o,r);const s=e.skipCharsBack(o,35,r);s>r&&z(e.src.charCodeAt(s-1))&&(o=s),e.line=u+1;const l=e.push("heading_open","h"+String(c),1);l.markup="########".slice(0,c),l.map=[u,e.line];const d=e.push("inline","",0);d.content=e.src.slice(r,o).trim(),d.map=[u,e.line],d.children=[];const f=e.push("heading_close","h"+String(c),-1);return f.markup="########".slice(0,c),!0}function Oc(e,u,t){const n=e.md.block.ruler.getRules("paragraph");if(e.sCount[u]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let o=0,i,c=u+1;for(;c<t&&!e.isEmpty(c);c++){if(e.sCount[c]-e.blkIndent>3)continue;if(e.sCount[c]>=e.blkIndent){let b=e.bMarks[c]+e.tShift[c];const p=e.eMarks[c];if(b<p&&(i=e.src.charCodeAt(b),(i===45||i===61)&&(b=e.skipChars(b,i),b=e.skipSpaces(b),b>=p))){o=i===61?1:2;break}}if(e.sCount[c]<0)continue;let h=!1;for(let b=0,p=n.length;b<p;b++)if(n[b](e,c,t,!0)){h=!0;break}if(h)break}if(!o)return!1;const s=e.getLines(u,c,e.blkIndent,!1).trim();e.line=c+1;const l=e.push("heading_open","h"+String(o),1);l.markup=String.fromCharCode(i),l.map=[u,e.line];const d=e.push("inline","",0);d.content=s,d.map=[u,e.line-1],d.children=[];const f=e.push("heading_close","h"+String(o),-1);return f.markup=String.fromCharCode(i),e.parentType=r,!0}function Lc(e,u,t){const n=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let o=u+1;for(e.parentType="paragraph";o<t&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3||e.sCount[o]<0)continue;let l=!1;for(let d=0,f=n.length;d<f;d++)if(n[d](e,o,t,!0)){l=!0;break}if(l)break}const i=e.getLines(u,o,e.blkIndent,!1).trim();e.line=o;const c=e.push("paragraph_open","p",1);c.map=[u,e.line];const s=e.push("inline","",0);return s.content=i,s.map=[u,e.line],s.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}const ku=[["table",mc,["paragraph","reference"]],["code",gc],["fence",xc,["paragraph","reference","blockquote","list"]],["blockquote",yc,["paragraph","reference","blockquote","list"]],["hr",kc,["paragraph","reference","blockquote","list"]],["list",Ec,["paragraph","reference","blockquote"]],["reference",Ac],["html_block",Nc,["paragraph","reference","blockquote"]],["heading",Ic,["paragraph","reference","blockquote"]],["lheading",Oc],["paragraph",Lc]];function _u(){this.ruler=new K;for(let e=0;e<ku.length;e++)this.ruler.push(ku[e][0],ku[e][1],{alt:(ku[e][2]||[]).slice()})}_u.prototype.tokenize=function(e,u,t){const n=this.ruler.getRules(""),r=n.length,o=e.md.options.maxNesting;let i=u,c=!1;for(;i<t&&(e.line=i=e.skipEmptyLines(i),!(i>=t||e.sCount[i]<e.blkIndent));){if(e.level>=o){e.line=t;break}const s=e.line;let l=!1;for(let d=0;d<r;d++)if(l=n[d](e,i,t,!1),l){if(s>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),i=e.line,i<t&&e.isEmpty(i)&&(c=!0,i++,e.line=i)}},_u.prototype.parse=function(e,u,t,n){if(!e)return;const r=new this.State(e,u,t,n);this.tokenize(r,r.line,r.lineMax)},_u.prototype.State=de;function We(e,u,t,n){this.src=e,this.env=t,this.md=u,this.tokens=n,this.tokens_meta=Array(n.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}We.prototype.pushPending=function(){const e=new ie("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},We.prototype.push=function(e,u,t){this.pending&&this.pushPending();const n=new ie(e,u,t);let r=null;return t<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,t>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n},We.prototype.scanDelims=function(e,u){const t=this.posMax,n=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let o=e;for(;o<t&&this.src.charCodeAt(o)===n;)o++;const i=o-e,c=o<t?this.src.charCodeAt(o):32,s=He(r)||Ge(String.fromCharCode(r)),l=He(c)||Ge(String.fromCharCode(c)),d=$e(r),f=$e(c),h=!f&&(!l||d||s),b=!d&&(!s||f||l);return{can_open:h&&(u||!b||s),can_close:b&&(u||!h||l),length:i}},We.prototype.Token=ie;function Pc(e){switch(e){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}}function Mc(e,u){let t=e.pos;for(;t<e.posMax&&!Pc(e.src.charCodeAt(t));)t++;return t===e.pos?!1:(u||(e.pending+=e.src.slice(e.pos,t)),e.pos=t,!0)}const zc=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function qc(e,u){if(!e.md.options.linkify||e.linkLevel>0)return!1;const t=e.pos,n=e.posMax;if(t+3>n||e.src.charCodeAt(t)!==58||e.src.charCodeAt(t+1)!==47||e.src.charCodeAt(t+2)!==47)return!1;const r=e.pending.match(zc);if(!r)return!1;const o=r[1],i=e.md.linkify.matchAtStart(e.src.slice(t-o.length));if(!i)return!1;let c=i.url;if(c.length<=o.length)return!1;c=c.replace(/\*+$/,"");const s=e.md.normalizeLink(c);if(!e.md.validateLink(s))return!1;if(!u){e.pending=e.pending.slice(0,-o.length);const l=e.push("link_open","a",1);l.attrs=[["href",s]],l.markup="linkify",l.info="auto";const d=e.push("text","",0);d.content=e.md.normalizeLinkText(c);const f=e.push("link_close","a",-1);f.markup="linkify",f.info="auto"}return e.pos+=c.length-o.length,!0}function Uc(e,u){let t=e.pos;if(e.src.charCodeAt(t)!==10)return!1;const n=e.pending.length-1,r=e.posMax;if(!u)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let o=n-1;for(;o>=1&&e.pending.charCodeAt(o-1)===32;)o--;e.pending=e.pending.slice(0,o),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(t++;t<r&&z(e.src.charCodeAt(t));)t++;return e.pos=t,!0}const nt=[];for(let e=0;e<256;e++)nt.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){nt[e.charCodeAt(0)]=1});function jc(e,u){let t=e.pos;const n=e.posMax;if(e.src.charCodeAt(t)!==92||(t++,t>=n))return!1;let r=e.src.charCodeAt(t);if(r===10){for(u||e.push("hardbreak","br",0),t++;t<n&&(r=e.src.charCodeAt(t),!!z(r));)t++;return e.pos=t,!0}let o=e.src[t];if(r>=55296&&r<=56319&&t+1<n){const c=e.src.charCodeAt(t+1);c>=56320&&c<=57343&&(o+=e.src[t+1],t++)}const i="\\"+o;if(!u){const c=e.push("text_special","",0);r<256&&nt[r]!==0?c.content=o:c.content=i,c.markup=i,c.info="escape"}return e.pos=t+1,!0}function Vc(e,u){let t=e.pos;if(e.src.charCodeAt(t)!==96)return!1;const r=t;t++;const o=e.posMax;for(;t<o&&e.src.charCodeAt(t)===96;)t++;const i=e.src.slice(r,t),c=i.length;if(e.backticksScanned&&(e.backticks[c]||0)<=r)return u||(e.pending+=i),e.pos+=c,!0;let s=t,l;for(;(l=e.src.indexOf("`",s))!==-1;){for(s=l+1;s<o&&e.src.charCodeAt(s)===96;)s++;const d=s-l;if(d===c){if(!u){const f=e.push("code_inline","code",0);f.markup=i,f.content=e.src.slice(t,l).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=s,!0}e.backticks[d]=l}return e.backticksScanned=!0,u||(e.pending+=i),e.pos+=c,!0}function $c(e,u){const t=e.pos,n=e.src.charCodeAt(t);if(u||n!==126)return!1;const r=e.scanDelims(e.pos,!0);let o=r.length;const i=String.fromCharCode(n);if(o<2)return!1;let c;o%2&&(c=e.push("text","",0),c.content=i,o--);for(let s=0;s<o;s+=2)c=e.push("text","",0),c.content=i+i,e.delimiters.push({marker:n,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0}function $n(e,u){let t;const n=[],r=u.length;for(let o=0;o<r;o++){const i=u[o];if(i.marker!==126||i.end===-1)continue;const c=u[i.end];t=e.tokens[i.token],t.type="s_open",t.tag="s",t.nesting=1,t.markup="~~",t.content="",t=e.tokens[c.token],t.type="s_close",t.tag="s",t.nesting=-1,t.markup="~~",t.content="",e.tokens[c.token-1].type==="text"&&e.tokens[c.token-1].content==="~"&&n.push(c.token-1)}for(;n.length;){const o=n.pop();let i=o+1;for(;i<e.tokens.length&&e.tokens[i].type==="s_close";)i++;i--,o!==i&&(t=e.tokens[i],e.tokens[i]=e.tokens[o],e.tokens[o]=t)}}function Gc(e){const u=e.tokens_meta,t=e.tokens_meta.length;$n(e,e.delimiters);for(let n=0;n<t;n++)u[n]&&u[n].delimiters&&$n(e,u[n].delimiters)}const Gn={tokenize:$c,postProcess:Gc};function Hc(e,u){const t=e.pos,n=e.src.charCodeAt(t);if(u||n!==95&&n!==42)return!1;const r=e.scanDelims(e.pos,n===42);for(let o=0;o<r.length;o++){const i=e.push("text","",0);i.content=String.fromCharCode(n),e.delimiters.push({marker:n,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0}function Hn(e,u){const t=u.length;for(let n=t-1;n>=0;n--){const r=u[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const o=u[r.end],i=n>0&&u[n-1].end===r.end+1&&u[n-1].marker===r.marker&&u[n-1].token===r.token-1&&u[r.end+1].token===o.token+1,c=String.fromCharCode(r.marker),s=e.tokens[r.token];s.type=i?"strong_open":"em_open",s.tag=i?"strong":"em",s.nesting=1,s.markup=i?c+c:c,s.content="";const l=e.tokens[o.token];l.type=i?"strong_close":"em_close",l.tag=i?"strong":"em",l.nesting=-1,l.markup=i?c+c:c,l.content="",i&&(e.tokens[u[n-1].token].content="",e.tokens[u[r.end+1].token].content="",n--)}}function Wc(e){const u=e.tokens_meta,t=e.tokens_meta.length;Hn(e,e.delimiters);for(let n=0;n<t;n++)u[n]&&u[n].delimiters&&Hn(e,u[n].delimiters)}const Wn={tokenize:Hc,postProcess:Wc};function Zc(e,u){let t,n,r,o,i="",c="",s=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const d=e.pos,f=e.posMax,h=e.pos+1,b=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(b<0)return!1;let p=b+1;if(p<f&&e.src.charCodeAt(p)===40){for(l=!1,p++;p<f&&(t=e.src.charCodeAt(p),!(!z(t)&&t!==10));p++);if(p>=f)return!1;if(s=p,r=e.md.helpers.parseLinkDestination(e.src,p,e.posMax),r.ok){for(i=e.md.normalizeLink(r.str),e.md.validateLink(i)?p=r.pos:i="",s=p;p<f&&(t=e.src.charCodeAt(p),!(!z(t)&&t!==10));p++);if(r=e.md.helpers.parseLinkTitle(e.src,p,e.posMax),p<f&&s!==p&&r.ok)for(c=r.str,p=r.pos;p<f&&(t=e.src.charCodeAt(p),!(!z(t)&&t!==10));p++);}(p>=f||e.src.charCodeAt(p)!==41)&&(l=!0),p++}if(l){if(typeof e.env.references>"u")return!1;if(p<f&&e.src.charCodeAt(p)===91?(s=p+1,p=e.md.helpers.parseLinkLabel(e,p),p>=0?n=e.src.slice(s,p++):p=b+1):p=b+1,n||(n=e.src.slice(h,b)),o=e.env.references[xu(n)],!o)return e.pos=d,!1;i=o.href,c=o.title}if(!u){e.pos=h,e.posMax=b;const g=e.push("link_open","a",1),x=[["href",i]];g.attrs=x,c&&x.push(["title",c]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=p,e.posMax=f,!0}function Qc(e,u){let t,n,r,o,i,c,s,l,d="";const f=e.pos,h=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const b=e.pos+2,p=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(p<0)return!1;if(o=p+1,o<h&&e.src.charCodeAt(o)===40){for(o++;o<h&&(t=e.src.charCodeAt(o),!(!z(t)&&t!==10));o++);if(o>=h)return!1;for(l=o,c=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),c.ok&&(d=e.md.normalizeLink(c.str),e.md.validateLink(d)?o=c.pos:d=""),l=o;o<h&&(t=e.src.charCodeAt(o),!(!z(t)&&t!==10));o++);if(c=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<h&&l!==o&&c.ok)for(s=c.str,o=c.pos;o<h&&(t=e.src.charCodeAt(o),!(!z(t)&&t!==10));o++);else s="";if(o>=h||e.src.charCodeAt(o)!==41)return e.pos=f,!1;o++}else{if(typeof e.env.references>"u")return!1;if(o<h&&e.src.charCodeAt(o)===91?(l=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?r=e.src.slice(l,o++):o=p+1):o=p+1,r||(r=e.src.slice(b,p)),i=e.env.references[xu(r)],!i)return e.pos=f,!1;d=i.href,s=i.title}if(!u){n=e.src.slice(b,p);const g=[];e.md.inline.parse(n,e.md,e.env,g);const x=e.push("image","img",0),C=[["src",d],["alt",""]];x.attrs=C,x.children=g,x.content=n,s&&C.push(["title",s])}return e.pos=o,e.posMax=h,!0}const Jc=/^([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])?)*)$/,Yc=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Xc(e,u){let t=e.pos;if(e.src.charCodeAt(t)!==60)return!1;const n=e.pos,r=e.posMax;for(;;){if(++t>=r)return!1;const i=e.src.charCodeAt(t);if(i===60)return!1;if(i===62)break}const o=e.src.slice(n+1,t);if(Yc.test(o)){const i=e.md.normalizeLink(o);if(!e.md.validateLink(i))return!1;if(!u){const c=e.push("link_open","a",1);c.attrs=[["href",i]],c.markup="autolink",c.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(o);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=o.length+2,!0}if(Jc.test(o)){const i=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(i))return!1;if(!u){const c=e.push("link_open","a",1);c.attrs=[["href",i]],c.markup="autolink",c.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(o);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=o.length+2,!0}return!1}function Kc(e){return/^<a[>\s]/i.test(e)}function es(e){return/^<\/a\s*>/i.test(e)}function us(e){const u=e|32;return u>=97&&u<=122}function ts(e,u){if(!e.md.options.html)return!1;const t=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==60||n+2>=t)return!1;const r=e.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!us(r))return!1;const o=e.src.slice(n).match(Rc);if(!o)return!1;if(!u){const i=e.push("html_inline","",0);i.content=o[0],Kc(i.content)&&e.linkLevel++,es(i.content)&&e.linkLevel--}return e.pos+=o[0].length,!0}const ns=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,rs=/^&([a-z][a-z0-9]{1,31});/i;function os(e,u){const t=e.pos,n=e.posMax;if(e.src.charCodeAt(t)!==38||t+1>=n)return!1;if(e.src.charCodeAt(t+1)===35){const o=e.src.slice(t).match(ns);if(o){if(!u){const i=o[1][0].toLowerCase()==="x"?parseInt(o[1].slice(1),16):parseInt(o[1],10),c=e.push("text_special","",0);c.content=Ku(i)?gu(i):gu(65533),c.markup=o[0],c.info="entity"}return e.pos+=o[0].length,!0}}else{const o=e.src.slice(t).match(rs);if(o){const i=Tn(o[0]);if(i!==o[0]){if(!u){const c=e.push("text_special","",0);c.content=i,c.markup=o[0],c.info="entity"}return e.pos+=o[0].length,!0}}}return!1}function Zn(e){const u={},t=e.length;if(!t)return;let n=0,r=-2;const o=[];for(let i=0;i<t;i++){const c=e[i];if(o.push(0),(e[n].marker!==c.marker||r!==c.token-1)&&(n=i),r=c.token,c.length=c.length||0,!c.close)continue;u.hasOwnProperty(c.marker)||(u[c.marker]=[-1,-1,-1,-1,-1,-1]);const s=u[c.marker][(c.open?3:0)+c.length%3];let l=n-o[n]-1,d=l;for(;l>s;l-=o[l]+1){const f=e[l];if(f.marker===c.marker&&f.open&&f.end<0){let h=!1;if((f.close||c.open)&&(f.length+c.length)%3===0&&(f.length%3!==0||c.length%3!==0)&&(h=!0),!h){const b=l>0&&!e[l-1].open?o[l-1]+1:0;o[i]=i-l+b,o[l]=b,c.open=!1,f.end=i,f.close=!1,d=-1,r=-2;break}}}d!==-1&&(u[c.marker][(c.open?3:0)+(c.length||0)%3]=d)}}function is(e){const u=e.tokens_meta,t=e.tokens_meta.length;Zn(e.delimiters);for(let n=0;n<t;n++)u[n]&&u[n].delimiters&&Zn(u[n].delimiters)}function as(e){let u,t,n=0;const r=e.tokens,o=e.tokens.length;for(u=t=0;u<o;u++)r[u].nesting<0&&n--,r[u].level=n,r[u].nesting>0&&n++,r[u].type==="text"&&u+1<o&&r[u+1].type==="text"?r[u+1].content=r[u].content+r[u+1].content:(u!==t&&(r[t]=r[u]),t++);u!==t&&(r.length=t)}const rt=[["text",Mc],["linkify",qc],["newline",Uc],["escape",jc],["backticks",Vc],["strikethrough",Gn.tokenize],["emphasis",Wn.tokenize],["link",Zc],["image",Qc],["autolink",Xc],["html_inline",ts],["entity",os]],ot=[["balance_pairs",is],["strikethrough",Gn.postProcess],["emphasis",Wn.postProcess],["fragments_join",as]];function Ze(){this.ruler=new K;for(let e=0;e<rt.length;e++)this.ruler.push(rt[e][0],rt[e][1]);this.ruler2=new K;for(let e=0;e<ot.length;e++)this.ruler2.push(ot[e][0],ot[e][1])}Ze.prototype.skipToken=function(e){const u=e.pos,t=this.ruler.getRules(""),n=t.length,r=e.md.options.maxNesting,o=e.cache;if(typeof o[u]<"u"){e.pos=o[u];return}let i=!1;if(e.level<r){for(let c=0;c<n;c++)if(e.level++,i=t[c](e,!0),e.level--,i){if(u>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;i||e.pos++,o[u]=e.pos},Ze.prototype.tokenize=function(e){const u=this.ruler.getRules(""),t=u.length,n=e.posMax,r=e.md.options.maxNesting;for(;e.pos<n;){const o=e.pos;let i=!1;if(e.level<r){for(let c=0;c<t;c++)if(i=u[c](e,!1),i){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(i){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Ze.prototype.parse=function(e,u,t,n){const r=new this.State(e,u,t,n);this.tokenize(r);const o=this.ruler2.getRules(""),i=o.length;for(let c=0;c<i;c++)o[c](r)},Ze.prototype.State=We;function cs(e){const u={};e=e||{},u.src_Any=Fn.source,u.src_Cc=Sn.source,u.src_Z=Bn.source,u.src_P=Qu.source,u.src_ZPCc=[u.src_Z,u.src_P,u.src_Cc].join("|"),u.src_ZCc=[u.src_Z,u.src_Cc].join("|");const t="[><|]";return u.src_pseudo_letter="(?:(?!"+t+"|"+u.src_ZPCc+")"+u.src_Any+")",u.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]?)",u.src_auth="(?:(?:(?!"+u.src_ZCc+"|[@/\\[\\]()]).)+@)?",u.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",u.src_host_terminator="(?=$|"+t+"|"+u.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+u.src_ZPCc+"))",u.src_path="(?:[/?#](?:(?!"+u.src_ZCc+"|"+t+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+u.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+u.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+u.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+u.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+u.src_ZCc+"|[']).)+\\'|\\'(?="+u.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+u.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+u.src_ZCc+"|$)|;(?!"+u.src_ZCc+"|$)|\\!+(?!"+u.src_ZCc+"|[!]|$)|\\?(?!"+u.src_ZCc+"|[?]|$))+|\\/)?",u.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',u.src_xn="xn--[a-z0-9\\-]{1,59}",u.src_domain_root="(?:"+u.src_xn+"|"+u.src_pseudo_letter+"{1,63})",u.src_domain="(?:"+u.src_xn+"|(?:"+u.src_pseudo_letter+")|(?:"+u.src_pseudo_letter+"(?:-|"+u.src_pseudo_letter+"){0,61}"+u.src_pseudo_letter+"))",u.src_host="(?:(?:(?:(?:"+u.src_domain+")\\.)*"+u.src_domain+"))",u.tpl_host_fuzzy="(?:"+u.src_ip4+"|(?:(?:(?:"+u.src_domain+")\\.)+(?:%TLDS%)))",u.tpl_host_no_ip_fuzzy="(?:(?:(?:"+u.src_domain+")\\.)+(?:%TLDS%))",u.src_host_strict=u.src_host+u.src_host_terminator,u.tpl_host_fuzzy_strict=u.tpl_host_fuzzy+u.src_host_terminator,u.src_host_port_strict=u.src_host+u.src_port+u.src_host_terminator,u.tpl_host_port_fuzzy_strict=u.tpl_host_fuzzy+u.src_port+u.src_host_terminator,u.tpl_host_port_no_ip_fuzzy_strict=u.tpl_host_no_ip_fuzzy+u.src_port+u.src_host_terminator,u.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+u.src_ZPCc+"|>|$))",u.tpl_email_fuzzy="(^|"+t+'|"|\\(|'+u.src_ZCc+")("+u.src_email_name+"@"+u.tpl_host_fuzzy_strict+")",u.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+u.src_ZPCc+"))((?![$+<=>^`||])"+u.tpl_host_port_fuzzy_strict+u.src_path+")",u.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+u.src_ZPCc+"))((?![$+<=>^`||])"+u.tpl_host_port_no_ip_fuzzy_strict+u.src_path+")",u}function it(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function Eu(e){return Object.prototype.toString.call(e)}function ss(e){return Eu(e)==="[object String]"}function ls(e){return Eu(e)==="[object Object]"}function ds(e){return Eu(e)==="[object RegExp]"}function Qn(e){return Eu(e)==="[object Function]"}function fs(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Jn={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function ps(e){return Object.keys(e||{}).reduce(function(u,t){return u||Jn.hasOwnProperty(t)},!1)}const hs={"http:":{validate:function(e,u,t){const n=e.slice(u);return t.re.http||(t.re.http=new RegExp("^\\/\\/"+t.re.src_auth+t.re.src_host_port_strict+t.re.src_path,"i")),t.re.http.test(n)?n.match(t.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,u,t){const n=e.slice(u);return t.re.no_http||(t.re.no_http=new RegExp("^"+t.re.src_auth+"(?:localhost|(?:(?:"+t.re.src_domain+")\\.)+"+t.re.src_domain_root+")"+t.re.src_port+t.re.src_host_terminator+t.re.src_path,"i")),t.re.no_http.test(n)?u>=3&&e[u-3]===":"||u>=3&&e[u-3]==="/"?0:n.match(t.re.no_http)[0].length:0}},"mailto:":{validate:function(e,u,t){const n=e.slice(u);return t.re.mailto||(t.re.mailto=new RegExp("^"+t.re.src_email_name+"@"+t.re.src_host_strict,"i")),t.re.mailto.test(n)?n.match(t.re.mailto)[0].length:0}}},bs="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]",ms="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function gs(e){e.__index__=-1,e.__text_cache__=""}function xs(e){return function(u,t){const n=u.slice(t);return e.test(n)?n.match(e)[0].length:0}}function Yn(){return function(e,u){u.normalize(e)}}function Au(e){const u=e.re=cs(e.__opts__),t=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||t.push(bs),t.push(u.src_xn),u.src_tlds=t.join("|");function n(c){return c.replace("%TLDS%",u.src_tlds)}u.email_fuzzy=RegExp(n(u.tpl_email_fuzzy),"i"),u.link_fuzzy=RegExp(n(u.tpl_link_fuzzy),"i"),u.link_no_ip_fuzzy=RegExp(n(u.tpl_link_no_ip_fuzzy),"i"),u.host_fuzzy_test=RegExp(n(u.tpl_host_fuzzy_test),"i");const r=[];e.__compiled__={};function o(c,s){throw new Error('(LinkifyIt) Invalid schema "'+c+'": '+s)}Object.keys(e.__schemas__).forEach(function(c){const s=e.__schemas__[c];if(s===null)return;const l={validate:null,link:null};if(e.__compiled__[c]=l,ls(s)){ds(s.validate)?l.validate=xs(s.validate):Qn(s.validate)?l.validate=s.validate:o(c,s),Qn(s.normalize)?l.normalize=s.normalize:s.normalize?o(c,s):l.normalize=Yn();return}if(ss(s)){r.push(c);return}o(c,s)}),r.forEach(function(c){e.__compiled__[e.__schemas__[c]]&&(e.__compiled__[c].validate=e.__compiled__[e.__schemas__[c]].validate,e.__compiled__[c].normalize=e.__compiled__[e.__schemas__[c]].normalize)}),e.__compiled__[""]={validate:null,normalize:Yn()};const i=Object.keys(e.__compiled__).filter(function(c){return c.length>0&&e.__compiled__[c]}).map(fs).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+u.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+u.src_ZPCc+"))("+i+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),gs(e)}function ys(e,u){const t=e.__index__,n=e.__last_index__,r=e.__text_cache__.slice(t,n);this.schema=e.__schema__.toLowerCase(),this.index=t+u,this.lastIndex=n+u,this.raw=r,this.text=r,this.url=r}function at(e,u){const t=new ys(e,u);return e.__compiled__[t.schema].normalize(t,e),t}function ue(e,u){if(!(this instanceof ue))return new ue(e,u);u||ps(e)&&(u=e,e={}),this.__opts__=it({},Jn,u),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=it({},hs,e),this.__compiled__={},this.__tlds__=ms,this.__tlds_replaced__=!1,this.re={},Au(this)}ue.prototype.add=function(u,t){return this.__schemas__[u]=t,Au(this),this},ue.prototype.set=function(u){return this.__opts__=it(this.__opts__,u),this},ue.prototype.test=function(u){if(this.__text_cache__=u,this.__index__=-1,!u.length)return!1;let t,n,r,o,i,c,s,l,d;if(this.re.schema_test.test(u)){for(s=this.re.schema_search,s.lastIndex=0;(t=s.exec(u))!==null;)if(o=this.testSchemaAt(u,t[2],s.lastIndex),o){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=u.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(n=u.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(d=u.indexOf("@"),d>=0&&(r=u.match(this.re.email_fuzzy))!==null&&(i=r.index+r[1].length,c=r.index+r[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&c>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=c))),this.__index__>=0},ue.prototype.pretest=function(u){return this.re.pretest.test(u)},ue.prototype.testSchemaAt=function(u,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(u,n,this):0},ue.prototype.match=function(u){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===u&&(t.push(at(this,n)),n=this.__last_index__);let r=n?u.slice(n):u;for(;this.test(r);)t.push(at(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},ue.prototype.matchAtStart=function(u){if(this.__text_cache__=u,this.__index__=-1,!u.length)return null;const t=this.re.schema_at_start.exec(u);if(!t)return null;const n=this.testSchemaAt(u,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,at(this,0)):null},ue.prototype.tlds=function(u,t){return u=Array.isArray(u)?u:[u],t?(this.__tlds__=this.__tlds__.concat(u).sort().filter(function(n,r,o){return n!==o[r-1]}).reverse(),Au(this),this):(this.__tlds__=u.slice(),this.__tlds_replaced__=!0,Au(this),this)},ue.prototype.normalize=function(u){u.schema||(u.url="http://"+u.url),u.schema==="mailto:"&&!/^mailto:/i.test(u.url)&&(u.url="mailto:"+u.url)},ue.prototype.onCompile=function(){};const Oe=2147483647,fe=36,ct=1,Qe=26,ks=38,_s=700,Xn=72,Kn=128,er="-",Es=/^xn--/,As=/[^\0-\x7F]/,Cs=/[\x2E\u3002\uFF0E\uFF61]/g,ws={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},st=fe-ct,pe=Math.floor,lt=String.fromCharCode;function xe(e){throw new RangeError(ws[e])}function Ds(e,u){const t=[];let n=e.length;for(;n--;)t[n]=u(e[n]);return t}function ur(e,u){const t=e.split("@");let n="";t.length>1&&(n=t[0]+"@",e=t[1]),e=e.replace(Cs,".");const r=e.split("."),o=Ds(r,u).join(".");return n+o}function tr(e){const u=[];let t=0;const n=e.length;for(;t<n;){const r=e.charCodeAt(t++);if(r>=55296&&r<=56319&&t<n){const o=e.charCodeAt(t++);(o&64512)==56320?u.push(((r&1023)<<10)+(o&1023)+65536):(u.push(r),t--)}else u.push(r)}return u}const Fs=e=>String.fromCodePoint(...e),Ss=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:fe},nr=function(e,u){return e+22+75*(e<26)-((u!=0)<<5)},rr=function(e,u,t){let n=0;for(e=t?pe(e/_s):e>>1,e+=pe(e/u);e>st*Qe>>1;n+=fe)e=pe(e/st);return pe(n+(st+1)*e/(e+ks))},or=function(e){const u=[],t=e.length;let n=0,r=Kn,o=Xn,i=e.lastIndexOf(er);i<0&&(i=0);for(let c=0;c<i;++c)e.charCodeAt(c)>=128&&xe("not-basic"),u.push(e.charCodeAt(c));for(let c=i>0?i+1:0;c<t;){const s=n;for(let d=1,f=fe;;f+=fe){c>=t&&xe("invalid-input");const h=Ss(e.charCodeAt(c++));h>=fe&&xe("invalid-input"),h>pe((Oe-n)/d)&&xe("overflow"),n+=h*d;const b=f<=o?ct:f>=o+Qe?Qe:f-o;if(h<b)break;const p=fe-b;d>pe(Oe/p)&&xe("overflow"),d*=p}const l=u.length+1;o=rr(n-s,l,s==0),pe(n/l)>Oe-r&&xe("overflow"),r+=pe(n/l),n%=l,u.splice(n++,0,r)}return String.fromCodePoint(...u)},ir=function(e){const u=[];e=tr(e);const t=e.length;let n=Kn,r=0,o=Xn;for(const s of e)s<128&&u.push(lt(s));const i=u.length;let c=i;for(i&&u.push(er);c<t;){let s=Oe;for(const d of e)d>=n&&d<s&&(s=d);const l=c+1;s-n>pe((Oe-r)/l)&&xe("overflow"),r+=(s-n)*l,n=s;for(const d of e)if(d<n&&++r>Oe&&xe("overflow"),d===n){let f=r;for(let h=fe;;h+=fe){const b=h<=o?ct:h>=o+Qe?Qe:h-o;if(f<b)break;const p=f-b,g=fe-b;u.push(lt(nr(b+p%g,0))),f=pe(p/g)}u.push(lt(nr(f,0))),o=rr(r,l,c===i),r=0,++c}++r,++n}return u.join("")},ar={version:"2.3.1",ucs2:{decode:tr,encode:Fs},decode:or,encode:ir,toASCII:function(e){return ur(e,function(u){return As.test(u)?"xn--"+ir(u):u})},toUnicode:function(e){return ur(e,function(u){return Es.test(u)?or(u.slice(4).toLowerCase()):u})}},vs={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{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"]}}},commonmark:{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"]}}}},Bs=/^(vbscript|javascript|file|data):/,Rs=/^data:image\/(gif|png|jpeg|webp);/;function Ts(e){const u=e.trim().toLowerCase();return Bs.test(u)?Rs.test(u):!0}const cr=["http:","https:","mailto:"];function Ns(e){const u=Zu(e,!0);if(u.hostname&&(!u.protocol||cr.indexOf(u.protocol)>=0))try{u.hostname=ar.toASCII(u.hostname)}catch{}return Ve(Wu(u))}function Is(e){const u=Zu(e,!0);if(u.hostname&&(!u.protocol||cr.indexOf(u.protocol)>=0))try{u.hostname=ar.toUnicode(u.hostname)}catch{}return Re(Wu(u),Re.defaultChars+"%")}function re(e,u){if(!(this instanceof re))return new re(e,u);u||Xu(e)||(u=e||{},e="default"),this.inline=new Ze,this.block=new _u,this.core=new ut,this.renderer=new Ne,this.linkify=new ue,this.validateLink=Ts,this.normalizeLink=Ns,this.normalizeLinkText=Is,this.utils=Ga,this.helpers=mu({},Qa),this.options={},this.configure(e),u&&this.set(u)}re.prototype.set=function(e){return mu(this.options,e),this},re.prototype.configure=function(e){const u=this;if(Xu(e)){const t=e;if(e=vs[t],!e)throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&u.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&u[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&u[t].ruler2.enableOnly(e.components[t].rules2)}),this},re.prototype.enable=function(e,u){let t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.enable(e,!0))},this),t=t.concat(this.inline.ruler2.enable(e,!0));const n=e.filter(function(r){return t.indexOf(r)<0});if(n.length&&!u)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},re.prototype.disable=function(e,u){let t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.disable(e,!0))},this),t=t.concat(this.inline.ruler2.disable(e,!0));const n=e.filter(function(r){return t.indexOf(r)<0});if(n.length&&!u)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},re.prototype.use=function(e){const u=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,u),this},re.prototype.parse=function(e,u){if(typeof e!="string")throw new Error("Input data should be a String");const t=new this.core.State(e,this,u);return this.core.process(t),t.tokens},re.prototype.render=function(e,u){return u=u||{},this.renderer.render(this.parse(e,u),this.options,u)},re.prototype.parseInline=function(e,u){const t=new this.core.State(e,this,u);return t.inlineMode=!0,this.core.process(t),t.tokens},re.prototype.renderInline=function(e,u){return u=u||{},this.renderer.render(this.parseInline(e,u),this.options,u)};const Os=["innerHTML"],Ls=a.defineComponent({__name:"MarkdownRenderer",props:{source:{},options:{},plugins:{}},setup(e){const u=e,t=a.ref(new re({html:!0,...u.options??{}}));u.plugins&&u.plugins.forEach(o=>t.value.use(o));const n=a.computed(()=>t.value.render(u.source)),r=a.ref(null);return(o,i)=>(a.openBlock(),a.createElementBlock("div",{class:"markdown-renderer",ref_key:"markdownContainer",ref:r,innerHTML:n.value},null,8,Os))}}),Ps={class:"q-chatbot__message-container"},Ms={class:"q-chatbot__message-wrapper"},zs={key:0,class:"q-chatbot__image-preview"},qs=["src","alt"],Us={class:"q-chatbot__message"},js={key:1,class:"q-chatbot__text"},Vs={class:"q-chatbot__dialog-title"},$s={key:1,class:"q-chatbot__feedback-buttons"},Gs={class:"q-chatbot__sender"},Hs=a.defineComponent({__name:"CBMessage",props:{sender:{default:"user"},message:{},date:{default:()=>new Date},loading:{type:Boolean},dateFormat:{},imagePreviewUrl:{},texts:{default:()=>({commentDialogTitle:"Would you like to add a comment?",commentPlaceholder:"Type your comment here (optional)...",goodResponse:"Good response",badResponse:"Bad response",copyResponse:"Copy response",submitButton:"Submit",cancelButton:"Cancel",senderImage:"Sender Image",imagePreview:"Image preview"})},apiEndpoint:{},sessionID:{},userImage:{default:void 0},chatbotImage:{},isWelcomeMessage:{type:Boolean}},setup(e){const u=e,t=a.ref(!1),n=a.ref(""),r=a.ref(null),o=[{id:"confirm-btn",action:h,props:{label:u.texts.submitButton,variant:"bold"},icon:{icon:"submit"}},{id:"cancel-btn",props:{label:u.texts.cancelButton},icon:{icon:"cancel"}}],i=a.computed(()=>u.sender==="bot"&&!Object.values(u.texts||{}).includes(u.message||"")&&!u.isWelcomeMessage),c=a.computed(()=>u.dateFormat?d(u.date,"HH:mm"):u.date.toLocaleString()),s=a.computed(()=>`${c.value}`),l=a.computed(()=>u.sender==="bot"?u.chatbotImage:u.userImage);function d(g,x){const C=g.getDate().toString().padStart(2,"0"),k=(g.getMonth()+1).toString().padStart(2,"0"),E=g.getFullYear().toString().padStart(2,"0"),A=g.getHours().toString().padStart(2,"0"),w=g.getMinutes().toString().padStart(2,"0"),F=g.getSeconds().toString().padStart(2,"0");return x.replace("dd",C).replace("MM",k).replace("yyyy",E).replace("HH",A).replace("mm",w).replace("ss",F)}function f(g){t.value=!0,n.value="",r.value=g}function h(){r.value!=null&&b(r.value,n.value)}function b(g,x){q.post(u.apiEndpoint+"/prompt/feedback",{messageSessionID:u.sessionID,feedbackValue:g,feedbackComment:x}).catch(C=>{console.error("Error sending message feedback: ",C)})}function p(){u.message&&navigator.clipboard.writeText(u.message).then(()=>{console.log("Message copied to clipboard")}).catch(g=>{console.error("Failed to copy message to clipboard: ",g)})}return(g,x)=>{const C=a.resolveComponent("q-button-group");return a.openBlock(),a.createElementBlock("div",Ps,[a.createVNode(a.unref(ne),{type:"img",icon:l.value,alt:u.texts.senderImage,class:"q-chatbot__profile"},null,8,["icon","alt"]),a.createElementVNode("div",Ms,[u.imagePreviewUrl&&u.imagePreviewUrl.length>0?(a.openBlock(),a.createElementBlock("div",zs,[a.createElementVNode("img",{src:u.imagePreviewUrl,alt:u.texts.imagePreview},null,8,qs)])):a.createCommentVNode("",!0),a.createElementVNode("div",Us,[g.loading?(a.openBlock(),a.createBlock(oa,{key:0})):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[u.sender==="bot"?(a.openBlock(),a.createBlock(Ls,{key:0,class:"q-chatbot__text",source:u.message||""},null,8,["source"])):(a.openBlock(),a.createElementBlock("div",js,a.toDisplayString(u.message),1))],64))]),a.createVNode(a.unref(yn),{id:"comment-dialog",modelValue:t.value,"onUpdate:modelValue":x[1]||(x[1]=k=>t.value=k),buttons:o},{"body.content":a.withCtx(()=>[a.createElementVNode("div",Vs,a.toDisplayString(u.texts.commentDialogTitle),1),a.createVNode(a.unref(D0),{modelValue:n.value,"onUpdate:modelValue":x[0]||(x[0]=k=>n.value=k),maxLength:150,size:"large",placeholder:u.texts.commentPlaceholder},null,8,["modelValue","placeholder"])]),_:1},8,["modelValue"]),i.value?(a.openBlock(),a.createElementBlock("div",$s,[a.createVNode(C,null,{default:a.withCtx(()=>[a.createVNode(a.unref(se),{title:u.texts.goodResponse,borderless:"",disabled:g.loading,onClick:x[2]||(x[2]=k=>f(1))},{default:a.withCtx(()=>[a.createVNode(a.unref(ne),{icon:"thumb-up"})]),_:1},8,["title","disabled"]),a.createVNode(a.unref(se),{title:u.texts.badResponse,borderless:"",disabled:g.loading,onClick:x[3]||(x[3]=k=>f(0))},{default:a.withCtx(()=>[a.createVNode(a.unref(ne),{icon:"thumb-down"})]),_:1},8,["title","disabled"]),a.createVNode(a.unref(se),{title:u.texts.copyResponse,borderless:"",disabled:g.loading,onClick:p},{default:a.withCtx(()=>[a.createVNode(a.unref(ne),{icon:"copy-content"})]),_:1},8,["title","disabled"])]),_:1})])):a.createCommentVNode("",!0),a.createElementVNode("div",Gs,a.toDisplayString(s.value),1)])])}}}),Z=[];for(let e=0;e<256;++e)Z.push((e+256).toString(16).slice(1));function Ws(e,u=0){return(Z[e[u+0]]+Z[e[u+1]]+Z[e[u+2]]+Z[e[u+3]]+"-"+Z[e[u+4]]+Z[e[u+5]]+"-"+Z[e[u+6]]+Z[e[u+7]]+"-"+Z[e[u+8]]+Z[e[u+9]]+"-"+Z[e[u+10]]+Z[e[u+11]]+Z[e[u+12]]+Z[e[u+13]]+Z[e[u+14]]+Z[e[u+15]]).toLowerCase()}let dt;const Zs=new Uint8Array(16);function Qs(){if(!dt){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");dt=crypto.getRandomValues.bind(crypto)}return dt(Zs)}const sr={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Js(e,u,t){var r;if(sr.randomUUID&&!e)return sr.randomUUID();e=e||{};const n=e.random??((r=e.rng)==null?void 0:r.call(e))??Qs();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,Ws(n)}const Ys="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFIGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4b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rutvk/GdqIAV0smzEAAAAASUVORK5CYII=",Ks={class:"q-chatbot"},el={class:"q-chatbot__content"},ul={class:"q-chatbot__tools"},tl={class:"q-chatbot__footer-container"},nl={class:"q-chatbot__input-wrapper"},rl={key:0,class:"q-chatbot__image-preview"},ol=["src"],il={class:"q-chatbot__input"},al={class:"q-chatbot__send-container"},cl=["accept"];return a.defineComponent({name:"ChatBot",__name:"ChatBot",props:{apiEndpoint:{default:"http://localhost:3000"},controllerEndpoint:{},texts:{default:()=>({chatbotTitle:"ChatBot",sendMessage:"Send message",clearChat:"Clear chat",inputLabel:"What can I help with?",imageUpload:"Upload Image",imageUploadQButton:"Upload Image",goodResponse:"Good response",badResponse:"Bad response",initialMessage:"Howdy! I am GenioBot 👋, Quidgest's personal AI assistant! How can I help you?",initialAgentMessage:"Just a temporary message while we are working on the agent mode",loginError:"Uh oh, I could not authenticate with the Quidgest API endpoint 😓",botIsSick:"*cough cough* GenioBot is not feeling alright 🥴️🤒, looks like something failed!"})},username:{},projectPath:{},userImage:{default:Xs},chatbotImage:{default:Ys},dateFormat:{},mode:{default:"chat"}},setup(e){const u=a.ref([]),t=a.ref(1),n=a.ref(""),r=a.ref(!1),o=a.ref(!1),i=a.ref(null),c=a.ref(!0),s=a.ref(null),l=a.ref(null),d=a.computed(()=>".png, .jpeg, .jpg, .svg, .webp"),f=a.ref(!1),h=a.ref(!1),b=a.computed(()=>n.value.trim().length===0||r.value||o.value),p=e;a.onMounted(()=>{k(),a.nextTick(()=>{var D;(D=i.value)==null||D.addEventListener("scroll",V)})});const g=a.computed(()=>o.value||r.value),x=a.computed(()=>({"q-chatbot__footer-disabled":g.value,"drag-over":h.value&&!f.value}));function C(D){o.value=D}async function k(){try{await q.post(p.apiEndpoint+"/auth/login",{username:p.username,password:"test"}),E()}catch(D){C(!0),A(p.texts.loginError),console.log("Error logging in: "+D)}}async function E(){try{const D=await q.post(p.apiEndpoint+"/prompt/load",{username:p.username,project:p.projectPath});if(!D)return console.error("No response from server");if(D.status!==200||!D.data.success){C(!0),A(p.texts.botIsSick),console.log(`Unsuccessful load, endpoint gave status ${D.status}`);return}F(),D.data.history.forEach(N=>{const L=N.imageUrl?p.controllerEndpoint+N.imageUrl:void 0;A(N.content,N.type==="ai"?"bot":"user",L,N.sessionID)})}catch(D){C(!0),A(p.texts.botIsSick),console.log("Error loading: "+D)}}function A(D,N="bot",L=null,te,H){u.value.push({id:t.value++,message:D,date:new Date,sender:N,imagePreviewUrl:L??void 0,sessionID:te||Js(),isWelcomeMessage:H??!1}),a.nextTick(()=>{c.value&&U()})}function w(){return u.value.find(D=>D.id===t.value-1)}function F(){const D=p.mode==="chat"?p.texts.initialMessage:p.texts.initialAgentMessage;A(D,"bot",null,void 0,!0)}function T(){u.value=[],n.value="",r.value=!1,C(!1),c.value=!0}function U(){a.nextTick(()=>{i.value&&(i.value.scrollTop=i.value.scrollHeight)})}function V(){if(i.value){const{scrollTop:N,clientHeight:L,scrollHeight:te}=i.value;N+L>=te-20?c.value=!0:c.value=!1}}function J(){l.value="",s.value&&(s.value.value=""),f.value=!1}function y(){var D;(D=s.value)==null||D.click()}function _(D){const N=D.target;s.value=N,N.files&&N.files[0]&&(l.value=URL.createObjectURL(N.files[0]),f.value=!0)}function S(){var D,N;n.value.trim().length===0||r.value||o.value||(i.value&&i.value.scrollTo({top:i.value.scrollHeight,behavior:"smooth"}),A(n.value,"user",l.value),O(n.value,(N=(D=s.value)==null?void 0:D.files)==null?void 0:N[0]),J(),n.value="")}async function O(D,N){A("","bot");let L=w();const te=(L==null?void 0:L.sessionID)||"",H=new FormData;N&&H.append("image",N),H.append("message",D),H.append("project",p.projectPath),H.append("user",p.username),H.append("sessionID",te),r.value=!0;try{const ae=await q.post(p.apiEndpoint+"/prompt/submit",H,{headers:{"Content-Type":"text/event-stream",Accept:"text/event-stream"},responseType:"stream",adapter:"fetch"});if(!ae)return console.error("No response from server");const Ce=ae.data.getReader(),ft=new TextDecoder("utf-8");for(;;){const{done:B,value:he}=await Ce.read();if(B)break;const Cu=ft.decode(he,{stream:!0}).match(/data:\s*({.*?})/g);if(Cu){for(const sl of Cu)try{const pt=sl.split("data:")[1].trim(),ll=JSON.parse(pt);L&&(L.message+=ll.value)}catch(pt){console.error("Error parsing match:",pt)}c.value&&U()}}r.value=!1}catch(ae){C(!0),A(p.texts.botIsSick),console.log("Error setting chat prompt: "+ae);return}}function v(){q.post(p.apiEndpoint+"/prompt/clear",{username:p.username,project:p.projectPath}).then(D=>{if(D.status!==200||!D.data.success){C(!0),A(p.texts.loginError),console.log(`Unsuccessful clear, endpoint gave status ${D.status}`);return}T(),F()}).catch(D=>{C(!0),A(p.texts.loginError),console.log("Error clearing chat: "+D)})}function P(D){const N=["q-chatbot__messages-wrapper"];return D==="user"&&N.push("q-chatbot__messages-wrapper_right"),N}function I(D){D.preventDefault(),g.value||(h.value=!0)}function j(D){D.preventDefault(),h.value=!1}function M(D){var L;if(D.preventDefault(),h.value=!1,g.value||f.value)return;const N=(L=D.dataTransfer)==null?void 0:L.files;if(N&&N.length>0){const te=N[0];if(te.type.startsWith("image/")&&s.value){const H=new DataTransfer;H.items.add(te),s.value.files=H.files,l.value=URL.createObjectURL(te),f.value=!0}}}return a.watch(()=>p.apiEndpoint,()=>{T(),k()}),(D,N)=>(a.openBlock(),a.createElementBlock("div",Ks,[a.createElementVNode("div",el,[a.createElementVNode("div",ul,[a.createVNode(a.unref(se),{title:p.texts.clearChat,disabled:o.value,borderless:"",onClick:v},{default:a.withCtx(()=>[a.createVNode(a.unref(ne),{icon:"bin"})]),_:1},8,["title","disabled"])]),a.createElementVNode("div",{ref_key:"messagesContainer",ref:i,class:"q-chatbot__messages-container",onScroll:V},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(u.value,L=>(a.openBlock(),a.createElementBlock("div",{key:L.id,class:a.normalizeClass(P(L.sender))},[a.createVNode(a.unref(Hs),a.mergeProps({ref_for:!0},L,{"date-format":p.dateFormat,"user-image":p.userImage,"chatbot-image":p.chatbotImage,loading:r.value&&!L.message,imagePreviewUrl:L.imagePreviewUrl,apiEndpoint:p.apiEndpoint,sessionID:L.sessionID}),null,16,["date-format","user-image","chatbot-image","loading","imagePreviewUrl","apiEndpoint","sessionID"])],2))),128))],544)]),a.createElementVNode("div",tl,[a.createVNode(a.unref(tn),{label:p.texts.inputLabel},null,8,["label"]),a.createElementVNode("div",{class:a.normalizeClass(["q-chatbot__footer",x.value]),onDragover:a.withModifiers(I,["prevent"]),onDragleave:a.withModifiers(j,["prevent"]),onDrop:a.withModifiers(M,["prevent"])},[a.createElementVNode("div",nl,[l.value?(a.openBlock(),a.createElementBlock("div",rl,[a.createElementVNode("img",{src:l.value,tabindex:"0",alt:"Image preview"},null,8,ol),a.createVNode(a.unref(se),{class:"q-chatbot__remove-image",tabindex:"0",flat:"",round:"",onClick:J},{default:a.withCtx(()=>[a.createVNode(a.unref(ne),{icon:"bin"})]),_:1})])):a.createCommentVNode("",!0),a.createElementVNode("div",il,[a.createVNode(a.unref(na),{modelValue:n.value,"onUpdate:modelValue":N[0]||(N[0]=L=>n.value=L),size:"block",autosize:"",resize:"none",rows:2,disabled:g.value,onKeyup:a.withKeys(S,["enter"])},null,8,["modelValue","disabled"])])]),a.createElementVNode("div",al,[a.createVNode(a.unref(se),{title:p.texts.imageUpload,class:"q-chatbot__upload",disabled:o.value||r.value||f.value,onClick:y},{default:a.withCtx(()=>[a.createVNode(a.unref(ne),{icon:"upload"})]),_:1},8,["title","disabled"]),a.createElementVNode("input",{id:"image-upload",type:"file",ref_key:"imageInput",ref:s,onChange:_,accept:d.value,class:"hidden-input",style:{display:"none"}},null,40,cl),a.createVNode(a.unref(se),{title:p.texts.sendMessage,variant:"bold",class:"q-chatbot__send",disabled:b.value,readonly:b.value,loading:r.value,onClick:S},{default:a.withCtx(()=>[a.createVNode(a.unref(ne),{icon:"send"})]),_:1},8,["title","disabled","readonly","loading"])])],34)])]))}})});
|