@vue-skuilder/common-ui 0.2.3 → 0.2.5

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.
@@ -1,4 +1,4 @@
1
- import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, o as h, p as g, r as _, s as v, t as y, u as b, v as x, w as S, x as ee, y as te } from "./MarkdownRenderer-DoVbFpA6.mjs";
1
+ import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, o as h, p as g, r as _, s as v, t as y, u as b, v as x, w as S, x as ee, y as te } from "./MarkdownRenderer-kStoDRNE.mjs";
2
2
  import { Fragment as C, Transition as w, computed as T, createBlock as E, createCommentVNode as D, createElementBlock as O, createElementVNode as k, createSlots as ne, createTextVNode as A, createVNode as j, defineAsyncComponent as re, defineComponent as M, guardReactiveProps as ie, markRaw as N, mergeProps as P, normalizeClass as F, normalizeProps as ae, normalizeStyle as oe, onBeforeUnmount as se, onMounted as I, onUnmounted as ce, openBlock as L, ref as R, renderList as z, renderSlot as B, resolveComponent as V, resolveDynamicComponent as le, toDisplayString as H, vShow as ue, watch as U, withCtx as W, withDirectives as de, withKeys as G, withModifiers as K } from "vue";
3
3
  import q from "moment";
4
4
  import { FieldType as fe, Status as J, displayableDataToViewData as pe, emptyTagFilter as me, hasActiveFilter as he, log as Y, toCourseElo as ge } from "@vue-skuilder/common";
@@ -2161,7 +2161,7 @@ function _sfc_render$15(e, t, n, r, i, a) {
2161
2161
  t(_sfc_render$15, "_sfc_render");
2162
2162
  var sn = /* @__PURE__ */ r(Qt, [["render", _sfc_render$15], ["__scopeId", "data-v-de7119e9"]]), cn = M({
2163
2163
  name: "MultipleChoiceOption",
2164
- components: { MarkdownRenderer: re(() => import("./MarkdownRenderer-DoVbFpA6.mjs").then((e) => e.n)) },
2164
+ components: { MarkdownRenderer: re(() => import("./MarkdownRenderer-kStoDRNE.mjs").then((e) => e.n)) },
2165
2165
  props: {
2166
2166
  content: {
2167
2167
  type: String,
@@ -59,7 +59,7 @@ Exceeded maximum ancestor lookup depth.`;throw(0,r.log)(e),Error(e)}}if(!e)throw
59
59
  `+r+`</table>
60
60
  `}tablerow({text:e}){return`<tr>\n${e}</tr>\n`}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?`th`:`td`;return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>\n`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${escape(e,!0)}</code>`}br(e){return`<br>`}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let r=this.parser.parseInline(n),i=cleanUrl(e);if(i===null)return r;e=i;let a=`<a href="`+e+`"`;return t&&(a+=` title="`+escape(t)+`"`),a+=`>`+r+`</a>`,a}image({href:e,title:t,text:n}){let r=cleanUrl(e);if(r===null)return escape(n);e=r;let i=`<img src="${e}" alt="${n}"`;return t&&(i+=` title="${escape(t)}"`),i+=`>`,i}text(e){return`tokens`in e&&e.tokens?this.parser.parseInline(e.tokens):`escaped`in e&&e.escaped?e.text:escape(e.text)}},_TextRenderer=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return``+e}image({text:e}){return``+e}br(){return``}},X=class _Parser{constructor(e){_defineProperty(this,`options`,void 0),_defineProperty(this,`renderer`,void 0),_defineProperty(this,`textRenderer`,void 0),this.options=e||R,this.options.renderer=this.options.renderer||new _Renderer,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new _TextRenderer}static parse(e,t){return new _Parser(t).parse(e)}static parseInline(e,t){return new _Parser(t).parseInline(e)}parse(e,t=!0){let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(this.options.extensions?.renderers?.[i.type]){let e=i,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(t!==!1||![`space`,`hr`,`heading`,`code`,`table`,`blockquote`,`list`,`html`,`paragraph`,`text`].includes(e.type)){n+=t||``;continue}}let a=i;switch(a.type){case`space`:n+=this.renderer.space(a);continue;case`hr`:n+=this.renderer.hr(a);continue;case`heading`:n+=this.renderer.heading(a);continue;case`code`:n+=this.renderer.code(a);continue;case`table`:n+=this.renderer.table(a);continue;case`blockquote`:n+=this.renderer.blockquote(a);continue;case`list`:n+=this.renderer.list(a);continue;case`html`:n+=this.renderer.html(a);continue;case`paragraph`:n+=this.renderer.paragraph(a);continue;case`text`:{let i=a,o=this.renderer.text(i);for(;r+1<e.length&&e[r+1].type===`text`;)i=e[++r],o+=`
61
61
  `+this.renderer.text(i);t?n+=this.renderer.paragraph({type:`paragraph`,raw:o,text:o,tokens:[{type:`text`,raw:o,text:o,escaped:!0}]}):n+=o;continue}default:{let e=`Token with "`+a.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return n}parseInline(e,t=this.renderer){let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(this.options.extensions?.renderers?.[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(e!==!1||![`escape`,`html`,`link`,`image`,`strong`,`em`,`codespan`,`br`,`del`,`text`].includes(i.type)){n+=e||``;continue}}let a=i;switch(a.type){case`escape`:n+=t.text(a);break;case`html`:n+=t.html(a);break;case`link`:n+=t.link(a);break;case`image`:n+=t.image(a);break;case`strong`:n+=t.strong(a);break;case`em`:n+=t.em(a);break;case`codespan`:n+=t.codespan(a);break;case`br`:n+=t.br(a);break;case`del`:n+=t.del(a);break;case`text`:n+=t.text(a);break;default:{let e=`Token with "`+a.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return n}},_Hooks=class{constructor(e){_defineProperty(this,`options`,void 0),_defineProperty(this,`block`,void 0),this.options=e||R}preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?Y.lex:Y.lexInline}provideParser(){return this.block?X.parse:X.parseInline}},_defineProperty(_Hooks,`passThroughHooks`,new Set([`preprocess`,`postprocess`,`processAllTokens`])),Marked=class{constructor(...e){_defineProperty(this,`defaults`,_getDefaults()),_defineProperty(this,`options`,this.setOptions),_defineProperty(this,`parse`,this.parseMarkdown(!0)),_defineProperty(this,`parseInline`,this.parseMarkdown(!1)),_defineProperty(this,`Parser`,X),_defineProperty(this,`Renderer`,_Renderer),_defineProperty(this,`TextRenderer`,_TextRenderer),_defineProperty(this,`Lexer`,Y),_defineProperty(this,`Tokenizer`,_Tokenizer),_defineProperty(this,`Hooks`,_Hooks),this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(n=n.concat(t.call(this,r)),r.type){case`table`:{let e=r;for(let r of e.header)n=n.concat(this.walkTokens(r.tokens,t));for(let r of e.rows)for(let e of r)n=n.concat(this.walkTokens(e.tokens,t));break}case`list`:{let e=r;n=n.concat(this.walkTokens(e.items,t));break}default:{let e=r;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(r=>{let i=e[r].flat(1/0);n=n.concat(this.walkTokens(i,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error(`extension name required`);if(`renderer`in e){let n=t.renderers[e.name];n?t.renderers[e.name]=function(...t){let r=e.renderer.apply(this,t);return r===!1&&(r=n.apply(this,t)),r}:t.renderers[e.name]=e.renderer}if(`tokenizer`in e){if(!e.level||e.level!==`block`&&e.level!==`inline`)throw Error(`extension level must be 'block' or 'inline'`);let n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&(e.level===`block`?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:e.level===`inline`&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}`childTokens`in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new _Renderer(this.defaults);for(let n in e.renderer){if(!(n in t))throw Error(`renderer '${n}' does not exist`);if([`options`,`parser`].includes(n))continue;let r=n,i=e.renderer[r],a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n||``}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new _Tokenizer(this.defaults);for(let n in e.tokenizer){if(!(n in t))throw Error(`tokenizer '${n}' does not exist`);if([`options`,`rules`,`lexer`].includes(n))continue;let r=n,i=e.tokenizer[r],a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new _Hooks;for(let n in e.hooks){if(!(n in t))throw Error(`hook '${n}' does not exist`);if([`options`,`block`].includes(n))continue;let r=n,i=e.hooks[r],a=t[r];_Hooks.passThroughHooks.has(n)?t[r]=e=>{if(this.defaults.async)return Promise.resolve(i.call(t,e)).then(e=>a.call(t,e));let n=i.call(t,e);return a.call(t,n)}:t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return Y.lex(e,t??this.defaults)}parser(e,t){return X.parse(e,t??this.defaults)}parseMarkdown(e){let parse=(t,n)=>{let r={...n},i={...this.defaults,...r},a=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&r.async===!1)return a(Error(`marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise.`));if(t==null)return a(Error(`marked(): input parameter is undefined or null`));if(typeof t!=`string`)return a(Error(`marked(): input parameter is of type `+Object.prototype.toString.call(t)+`, string expected`));i.hooks&&(i.hooks.options=i,i.hooks.block=e);let o=i.hooks?i.hooks.provideLexer():e?Y.lex:Y.lexInline,s=i.hooks?i.hooks.provideParser():e?X.parse:X.parseInline;if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(t):t).then(e=>o(e,i)).then(e=>i.hooks?i.hooks.processAllTokens(e):e).then(e=>i.walkTokens?Promise.all(this.walkTokens(e,i.walkTokens)).then(()=>e):e).then(e=>s(e,i)).then(e=>i.hooks?i.hooks.postprocess(e):e).catch(a);try{i.hooks&&(t=i.hooks.preprocess(t));let e=o(t,i);i.hooks&&(e=i.hooks.processAllTokens(e)),i.walkTokens&&this.walkTokens(e,i.walkTokens);let n=s(e,i);return i.hooks&&(n=i.hooks.postprocess(n)),n}catch(e){return a(e)}};return parse}onError(e,t){return n=>{if(n.message+=`
62
- Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error occurred:</p><pre>`+escape(n.message+``,!0)+`</pre>`;return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}},Z=new Marked,marked.options=marked.setOptions=function(e){return Z.setOptions(e),marked.defaults=Z.defaults,changeDefaults(marked.defaults),marked},marked.getDefaults=_getDefaults,marked.defaults=R,marked.use=function(...e){return Z.use(...e),marked.defaults=Z.defaults,changeDefaults(marked.defaults),marked},marked.walkTokens=function(e,t){return Z.walkTokens(e,t)},marked.parseInline=Z.parseInline,marked.Parser=X,marked.parser=X.parse,marked.Renderer=_Renderer,marked.TextRenderer=_TextRenderer,marked.Lexer=Y,marked.lexer=Y.lex,marked.Tokenizer=_Tokenizer,marked.Hooks=_Hooks,marked.parse=marked,marked.options,marked.setOptions,marked.use,marked.walkTokens,marked.parseInline,X.parse,En=Y.lex}));function splitByDelimiters(e,t,n){if(e.length===0)return[];let r=[],i=e.indexOf(t),a=e.indexOf(n,i);if(i>=0&&a>i)r.push(e.substring(0,i)),r.push(e.substring(i,a+n.length)),r=r.concat(splitByDelimiters(e.substring(a+n.length),t,n));else return[e];return r}function splitTextToken(e){if(containsComponent(e)){let t=splitByDelimiters(e.text,`{{`,`}}`),n=splitByDelimiters(e.raw,`{{`,`}}`);if(t.length===n.length)return t.map((e,r)=>({type:`text`,text:t[r],raw:n[r]}));throw Error(`Error parsing markdown`)}else return[e]}function splitParagraphToken(e){let t=[];if(containsComponent(e)){let n=splitByDelimiters(e.text,`{{`,`}}`),r=splitByDelimiters(e.raw,`{{`,`}}`);if(n.length===r.length){for(let e=0;e<n.length;e++){let i={type:`text`,text:n[e],raw:r[e]};isComponent(i)?t.push(i):En(r[e]).forEach(e=>{e.type===`paragraph`?t=t.concat(e.tokens):t.push(e)})}return t}else throw Error(`Error parsing Markdown`)}else t.push(e);return t}function containsComponent(e){if(e.type===`text`||e.type===`paragraph`){let t=e.raw.indexOf(`{{`),n=e.raw.indexOf(`}}`);return t!==-1&&n!==-1&&n>t}else return!1}function isComponent(e){return e.type===`text`&&e.text.startsWith(`{{`)&&e.text.endsWith(`}}`)}function parseComponentSyntax(e){if(e.length>1e4)return null;let t=e.match(/^\{\{\s*<([\w-]+)((?:\s+[\w-]+="[^"]*")*)\s*\/>\s*\}\}$/);if(!t)return null;let n=t[1],r=t[2],i={};if(r){let e=/\s+([\w-]+)="([^"]*)"/g,t;for(;(t=e.exec(r))!==null;)i[t[1]]=t[2]}return{componentName:n,props:i}}function isInlineComponent(e){if(e.length>1e4)return!1;let t=e.trim();return/^<[\w-]+(?:\s+[\w-]+="[^"]*")*\s*\/?>$/.test(t)}function parseComponentToken(e){return parseComponentSyntax(`text`in e?e.text:`raw`in e?e.raw:``)}var On=__esmMin((()=>{Dn()})),kn=__commonJSMin(((e,t)=>{function deepFreeze(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw Error(`map is read-only`)}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw Error(`set is read-only`)}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{let n=e[t],r=typeof n;(r===`object`||r===`function`)&&!Object.isFrozen(n)&&deepFreeze(n)}),e}var Response=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function escapeHTML(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&#x27;`)}function inherit$1(e,...t){let n=Object.create(null);for(let t in e)n[t]=e[t];return t.forEach(function(e){for(let t in e)n[t]=e[t]}),n}var n=`</span>`,emitsWrappingTags=e=>!!e.scope,scopeToCSSClass=(e,{prefix:t})=>{if(e.startsWith(`language:`))return e.replace(`language:`,`language-`);if(e.includes(`.`)){let n=e.split(`.`);return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${`_`.repeat(t+1)}`)].join(` `)}return`${t}${e}`},HTMLRenderer=class{constructor(e,t){this.buffer=``,this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=escapeHTML(e)}openNode(e){if(!emitsWrappingTags(e))return;let t=scopeToCSSClass(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){emitsWrappingTags(e)&&(this.buffer+=n)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},newNode=(e={})=>{let t={children:[]};return Object.assign(t,e),t},r=class TokenTree{constructor(){this.rootNode=newNode(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let t=newNode({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t==`string`?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(e){typeof e!=`string`&&e.children&&(e.children.every(e=>typeof e==`string`)?e.children=[e.children.join(``)]:e.children.forEach(e=>{TokenTree._collapse(e)}))}},TokenTreeEmitter=class extends r{constructor(e){super(),this.options=e}addText(e){e!==``&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){let n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new HTMLRenderer(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function source(e){return e?typeof e==`string`?e:e.source:null}function lookahead(e){return concat(`(?=`,e,`)`)}function anyNumberOfTimes(e){return concat(`(?:`,e,`)*`)}function optional(e){return concat(`(?:`,e,`)?`)}function concat(...e){return e.map(e=>source(e)).join(``)}function stripOptionsFromArgs(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function either(...e){return`(`+(stripOptionsFromArgs(e).capture?``:`?:`)+e.map(e=>source(e)).join(`|`)+`)`}function countMatchGroups(e){return RegExp(e.toString()+`|`).exec(``).length-1}function startsWith(e,t){let n=e&&e.exec(t);return n&&n.index===0}var i=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function _rewriteBackreferences(e,{joinWith:t}){let n=0;return e.map(e=>{n+=1;let t=n,r=source(e),a=``;for(;r.length>0;){let e=i.exec(r);if(!e){a+=r;break}a+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),e[0][0]===`\\`&&e[1]?a+=`\\`+String(Number(e[1])+t):(a+=e[0],e[0]===`(`&&n++)}return a}).map(e=>`(${e})`).join(t)}var a=/\b\B/,o=`[a-zA-Z]\\w*`,s=`[a-zA-Z_]\\w*`,c=`\\b\\d+(\\.\\d+)?`,l=`(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)`,u=`\\b(0b[01]+)`,d=`!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~`,SHEBANG=(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=concat(t,/.*\b/,e.binary,/\b.*/)),inherit$1({scope:`meta`,begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{e.index!==0&&t.ignoreMatch()}},e)},f={begin:`\\\\[\\s\\S]`,relevance:0},p={scope:`string`,begin:`'`,end:`'`,illegal:`\\n`,contains:[f]},m={scope:`string`,begin:`"`,end:`"`,illegal:`\\n`,contains:[f]},h={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT=function(e,t,n={}){let r=inherit$1({scope:`comment`,begin:e,end:t,contains:[]},n);r.contains.push({scope:`doctag`,begin:`[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)`,end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let i=either(`I`,`a`,`is`,`so`,`us`,`to`,`at`,`if`,`in`,`it`,`on`,/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:concat(/[ ]+/,`(`,i,/[.]?[:]?([.][ ]|[ ])/,`){3}`)}),r},g=COMMENT(`//`,`$`),_=COMMENT(`/\\*`,`\\*/`),v=COMMENT(`#`,`$`),y={scope:`number`,begin:c,relevance:0},b={scope:`number`,begin:l,relevance:0},x={scope:`number`,begin:u,relevance:0},S={scope:`regexp`,begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[f,{begin:/\[/,end:/\]/,relevance:0,contains:[f]}]},C={scope:`title`,begin:o,relevance:0},w={scope:`title`,begin:s,relevance:0},T={begin:`\\.\\s*`+s,relevance:0},END_SAME_AS_BEGIN=function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},E=Object.freeze({__proto__:null,APOS_STRING_MODE:p,BACKSLASH_ESCAPE:f,BINARY_NUMBER_MODE:x,BINARY_NUMBER_RE:u,COMMENT,C_BLOCK_COMMENT_MODE:_,C_LINE_COMMENT_MODE:g,C_NUMBER_MODE:b,C_NUMBER_RE:l,END_SAME_AS_BEGIN,HASH_COMMENT_MODE:v,IDENT_RE:o,MATCH_NOTHING_RE:a,METHOD_GUARD:T,NUMBER_MODE:y,NUMBER_RE:c,PHRASAL_WORDS_MODE:h,QUOTE_STRING_MODE:m,REGEXP_MODE:S,RE_STARTERS_RE:d,SHEBANG,TITLE_MODE:C,UNDERSCORE_IDENT_RE:s,UNDERSCORE_TITLE_MODE:w});function skipIfHasPrecedingDot(e,t){e.input[e.index-1]===`.`&&t.ignoreMatch()}function scopeClassName(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function beginKeywords(e,t){t&&e.beginKeywords&&(e.begin=`\\b(`+e.beginKeywords.split(` `).join(`|`)+`)(?!\\.)(?=\\b|\\s)`,e.__beforeBegin=skipIfHasPrecedingDot,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function compileIllegal(e,t){Array.isArray(e.illegal)&&(e.illegal=either(...e.illegal))}function compileMatch(e,t){if(e.match){if(e.begin||e.end)throw Error(`begin & end are not supported with match`);e.begin=e.match,delete e.match}}function compileRelevance(e,t){e.relevance===void 0&&(e.relevance=1)}var beforeMatchExt=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error(`beforeMatch cannot be used with starts`);let n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=concat(n.beforeMatch,lookahead(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},D=[`of`,`and`,`for`,`in`,`not`,`or`,`if`,`then`,`parent`,`list`,`value`],O=`keyword`;function compileKeywords(e,t,n=O){let r=Object.create(null);return typeof e==`string`?compileList(n,e.split(` `)):Array.isArray(e)?compileList(n,e):Object.keys(e).forEach(function(n){Object.assign(r,compileKeywords(e[n],t,n))}),r;function compileList(e,n){t&&(n=n.map(e=>e.toLowerCase())),n.forEach(function(t){let n=t.split(`|`);r[n[0]]=[e,scoreForKeyword(n[0],n[1])]})}}function scoreForKeyword(e,t){return t?Number(t):commonKeyword(e)?0:1}function commonKeyword(e){return D.includes(e.toLowerCase())}var k={},error=e=>{console.error(e)},warn=(e,...t)=>{console.log(`WARN: ${e}`,...t)},deprecated=(e,t)=>{k[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),k[`${e}/${t}`]=!0)},A=Error();function remapScopeNames(e,t,{key:n}){let r=0,i=e[n],a={},o={};for(let e=1;e<=t.length;e++)o[e+r]=i[e],a[e+r]=!0,r+=countMatchGroups(t[e-1]);e[n]=o,e[n]._emit=a,e[n]._multi=!0}function beginMultiClass(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw error(`skip, excludeBegin, returnBegin not compatible with beginScope: {}`),A;if(typeof e.beginScope!=`object`||e.beginScope===null)throw error(`beginScope must be object`),A;remapScopeNames(e,e.begin,{key:`beginScope`}),e.begin=_rewriteBackreferences(e.begin,{joinWith:``})}}function endMultiClass(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw error(`skip, excludeEnd, returnEnd not compatible with endScope: {}`),A;if(typeof e.endScope!=`object`||e.endScope===null)throw error(`endScope must be object`),A;remapScopeNames(e,e.end,{key:`endScope`}),e.end=_rewriteBackreferences(e.end,{joinWith:``})}}function scopeSugar(e){e.scope&&typeof e.scope==`object`&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function MultiClass(e){scopeSugar(e),typeof e.beginScope==`string`&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope==`string`&&(e.endScope={_wrap:e.endScope}),beginMultiClass(e),endMultiClass(e)}function compileLanguage(e){function langRe(t,n){return new RegExp(source(t),`m`+(e.case_insensitive?`i`:``)+(e.unicodeRegex?`u`:``)+(n?`g`:``))}class MultiRegex{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=countMatchGroups(e)+1}compile(){this.regexes.length===0&&(this.exec=()=>null),this.matcherRe=langRe(_rewriteBackreferences(this.regexes.map(e=>e[1]),{joinWith:`|`}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let n=t.findIndex((e,t)=>t>0&&e!==void 0),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class ResumableMultiRegex{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let t=new MultiRegex;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),t.type===`begin`&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition()&&!(n&&n.index===this.lastIndex)){let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function buildModeRegex(e){let t=new ResumableMultiRegex;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:`begin`})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:`end`}),e.illegal&&t.addRule(e.illegal,{type:`illegal`}),t}function compileMode(t,n){let r=t;if(t.isCompiled)return r;[scopeClassName,compileMatch,MultiClass,beforeMatchExt].forEach(e=>e(t,n)),e.compilerExtensions.forEach(e=>e(t,n)),t.__beforeBegin=null,[beginKeywords,compileIllegal,compileRelevance].forEach(e=>e(t,n)),t.isCompiled=!0;let i=null;return typeof t.keywords==`object`&&t.keywords.$pattern&&(t.keywords=Object.assign({},t.keywords),i=t.keywords.$pattern,delete t.keywords.$pattern),i=i||/\w+/,t.keywords&&(t.keywords=compileKeywords(t.keywords,e.case_insensitive)),r.keywordPatternRe=langRe(i,!0),n&&(t.begin||(t.begin=/\B|\b/),r.beginRe=langRe(r.begin),!t.end&&!t.endsWithParent&&(t.end=/\B|\b/),t.end&&(r.endRe=langRe(r.end)),r.terminatorEnd=source(r.end)||``,t.endsWithParent&&n.terminatorEnd&&(r.terminatorEnd+=(t.end?`|`:``)+n.terminatorEnd)),t.illegal&&(r.illegalRe=langRe(t.illegal)),t.contains||(t.contains=[]),t.contains=[].concat(...t.contains.map(function(e){return expandOrCloneMode(e===`self`?t:e)})),t.contains.forEach(function(e){compileMode(e,r)}),t.starts&&compileMode(t.starts,n),r.matcher=buildModeRegex(r),r}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes(`self`))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=inherit$1(e.classNameAliases||{}),compileMode(e)}function dependencyOnParent(e){return e?e.endsWithParent||dependencyOnParent(e.starts):!1}function expandOrCloneMode(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return inherit$1(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:dependencyOnParent(e)?inherit$1(e,{starts:e.starts?inherit$1(e.starts):null}):Object.isFrozen(e)?inherit$1(e):e}var ee=`11.11.1`,HTMLInjectionError=class extends Error{constructor(e,t){super(e),this.name=`HTMLInjectionError`,this.html=t}},j=escapeHTML,te=inherit$1,ne=Symbol(`nomatch`),re=7,HLJS=function(e){let t=Object.create(null),n=Object.create(null),r=[],i=!0,a=`Could not find the language '{}', did you forget to load/include a language module?`,o={disableAutodetect:!0,name:`Plain text`,contains:[]},s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:`hljs-`,cssSelector:`pre code`,languages:null,__emitter:TokenTreeEmitter};function shouldNotHighlight(e){return s.noHighlightRe.test(e)}function blockLanguage(e){let t=e.className+` `;t+=e.parentNode?e.parentNode.className:``;let n=s.languageDetectRe.exec(t);if(n){let t=getLanguage(n[1]);return t||(warn(a.replace(`{}`,n[1])),warn(`Falling back to no-highlight mode for this block.`,e)),t?n[1]:`no-highlight`}return t.split(/\s+/).find(e=>shouldNotHighlight(e)||getLanguage(e))}function highlight(e,t,n){let r=``,i=``;typeof t==`object`?(r=e,n=t.ignoreIllegals,i=t.language):(deprecated(`10.7.0`,`highlight(lang, code, ...args) has been deprecated.`),deprecated(`10.7.0`,`Please use highlight(code, options) instead.
62
+ Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error occurred:</p><pre>`+escape(n.message+``,!0)+`</pre>`;return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}},Z=new Marked,marked.options=marked.setOptions=function(e){return Z.setOptions(e),marked.defaults=Z.defaults,changeDefaults(marked.defaults),marked},marked.getDefaults=_getDefaults,marked.defaults=R,marked.use=function(...e){return Z.use(...e),marked.defaults=Z.defaults,changeDefaults(marked.defaults),marked},marked.walkTokens=function(e,t){return Z.walkTokens(e,t)},marked.parseInline=Z.parseInline,marked.Parser=X,marked.parser=X.parse,marked.Renderer=_Renderer,marked.TextRenderer=_TextRenderer,marked.Lexer=Y,marked.lexer=Y.lex,marked.Tokenizer=_Tokenizer,marked.Hooks=_Hooks,marked.parse=marked,marked.options,marked.setOptions,marked.use,marked.walkTokens,marked.parseInline,X.parse,En=Y.lex}));function splitByDelimiters(e,t,n){if(e.length===0)return[];let r=[],i=e.indexOf(t),a=e.indexOf(n,i);if(i>=0&&a>i)r.push(e.substring(0,i)),r.push(e.substring(i,a+n.length)),r=r.concat(splitByDelimiters(e.substring(a+n.length),t,n));else return[e];return r}function stripTrailingNewlines(e){return e.replace(/[\r\n]+$/,``)}function splitTextToken(e){if(containsComponent(e)){let t=splitByDelimiters(stripTrailingNewlines(e.text),`{{`,`}}`),n=splitByDelimiters(stripTrailingNewlines(e.raw),`{{`,`}}`);if(t.length===n.length)return t.map((e,r)=>({type:`text`,text:t[r],raw:n[r]}));throw Error(`Error parsing markdown`)}else return[e]}function splitParagraphToken(e){let t=[];if(containsComponent(e)){let n=splitByDelimiters(stripTrailingNewlines(e.text),`{{`,`}}`),r=splitByDelimiters(stripTrailingNewlines(e.raw),`{{`,`}}`);if(n.length===r.length){for(let e=0;e<n.length;e++){let i={type:`text`,text:n[e],raw:r[e]};isComponent(i)?t.push(i):En(r[e]).forEach(e=>{e.type===`paragraph`?t=t.concat(e.tokens):t.push(e)})}return t}else throw Error(`Error parsing Markdown`)}else t.push(e);return t}function containsComponent(e){if(e.type===`text`||e.type===`paragraph`){let t=e.raw.indexOf(`{{`),n=e.raw.indexOf(`}}`);return t!==-1&&n!==-1&&n>t}else return!1}function isComponent(e){return e.type===`text`&&e.text.startsWith(`{{`)&&e.text.endsWith(`}}`)}function parseComponentSyntax(e){if(e.length>1e4)return null;let t=e.match(/^\{\{\s*<([\w-]+)((?:\s+[\w-]+="[^"]*")*)\s*\/>\s*\}\}$/);if(!t)return null;let n=t[1],r=t[2],i={};if(r){let e=/\s+([\w-]+)="([^"]*)"/g,t;for(;(t=e.exec(r))!==null;)i[t[1]]=t[2]}return{componentName:n,props:i}}function isInlineComponent(e){if(e.length>1e4)return!1;let t=e.trim();return/^<[\w-]+(?:\s+[\w-]+="[^"]*")*\s*\/?>$/.test(t)}function parseComponentToken(e){return parseComponentSyntax(`text`in e?e.text:`raw`in e?e.raw:``)}var On=__esmMin((()=>{Dn()})),kn=__commonJSMin(((e,t)=>{function deepFreeze(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw Error(`map is read-only`)}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw Error(`set is read-only`)}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{let n=e[t],r=typeof n;(r===`object`||r===`function`)&&!Object.isFrozen(n)&&deepFreeze(n)}),e}var Response=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function escapeHTML(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&#x27;`)}function inherit$1(e,...t){let n=Object.create(null);for(let t in e)n[t]=e[t];return t.forEach(function(e){for(let t in e)n[t]=e[t]}),n}var n=`</span>`,emitsWrappingTags=e=>!!e.scope,scopeToCSSClass=(e,{prefix:t})=>{if(e.startsWith(`language:`))return e.replace(`language:`,`language-`);if(e.includes(`.`)){let n=e.split(`.`);return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${`_`.repeat(t+1)}`)].join(` `)}return`${t}${e}`},HTMLRenderer=class{constructor(e,t){this.buffer=``,this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=escapeHTML(e)}openNode(e){if(!emitsWrappingTags(e))return;let t=scopeToCSSClass(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){emitsWrappingTags(e)&&(this.buffer+=n)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},newNode=(e={})=>{let t={children:[]};return Object.assign(t,e),t},r=class TokenTree{constructor(){this.rootNode=newNode(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let t=newNode({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t==`string`?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(e){typeof e!=`string`&&e.children&&(e.children.every(e=>typeof e==`string`)?e.children=[e.children.join(``)]:e.children.forEach(e=>{TokenTree._collapse(e)}))}},TokenTreeEmitter=class extends r{constructor(e){super(),this.options=e}addText(e){e!==``&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){let n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new HTMLRenderer(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function source(e){return e?typeof e==`string`?e:e.source:null}function lookahead(e){return concat(`(?=`,e,`)`)}function anyNumberOfTimes(e){return concat(`(?:`,e,`)*`)}function optional(e){return concat(`(?:`,e,`)?`)}function concat(...e){return e.map(e=>source(e)).join(``)}function stripOptionsFromArgs(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function either(...e){return`(`+(stripOptionsFromArgs(e).capture?``:`?:`)+e.map(e=>source(e)).join(`|`)+`)`}function countMatchGroups(e){return RegExp(e.toString()+`|`).exec(``).length-1}function startsWith(e,t){let n=e&&e.exec(t);return n&&n.index===0}var i=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function _rewriteBackreferences(e,{joinWith:t}){let n=0;return e.map(e=>{n+=1;let t=n,r=source(e),a=``;for(;r.length>0;){let e=i.exec(r);if(!e){a+=r;break}a+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),e[0][0]===`\\`&&e[1]?a+=`\\`+String(Number(e[1])+t):(a+=e[0],e[0]===`(`&&n++)}return a}).map(e=>`(${e})`).join(t)}var a=/\b\B/,o=`[a-zA-Z]\\w*`,s=`[a-zA-Z_]\\w*`,c=`\\b\\d+(\\.\\d+)?`,l=`(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)`,u=`\\b(0b[01]+)`,d=`!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~`,SHEBANG=(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=concat(t,/.*\b/,e.binary,/\b.*/)),inherit$1({scope:`meta`,begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{e.index!==0&&t.ignoreMatch()}},e)},f={begin:`\\\\[\\s\\S]`,relevance:0},p={scope:`string`,begin:`'`,end:`'`,illegal:`\\n`,contains:[f]},m={scope:`string`,begin:`"`,end:`"`,illegal:`\\n`,contains:[f]},h={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT=function(e,t,n={}){let r=inherit$1({scope:`comment`,begin:e,end:t,contains:[]},n);r.contains.push({scope:`doctag`,begin:`[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)`,end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let i=either(`I`,`a`,`is`,`so`,`us`,`to`,`at`,`if`,`in`,`it`,`on`,/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:concat(/[ ]+/,`(`,i,/[.]?[:]?([.][ ]|[ ])/,`){3}`)}),r},g=COMMENT(`//`,`$`),_=COMMENT(`/\\*`,`\\*/`),v=COMMENT(`#`,`$`),y={scope:`number`,begin:c,relevance:0},b={scope:`number`,begin:l,relevance:0},x={scope:`number`,begin:u,relevance:0},S={scope:`regexp`,begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[f,{begin:/\[/,end:/\]/,relevance:0,contains:[f]}]},C={scope:`title`,begin:o,relevance:0},w={scope:`title`,begin:s,relevance:0},T={begin:`\\.\\s*`+s,relevance:0},END_SAME_AS_BEGIN=function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},E=Object.freeze({__proto__:null,APOS_STRING_MODE:p,BACKSLASH_ESCAPE:f,BINARY_NUMBER_MODE:x,BINARY_NUMBER_RE:u,COMMENT,C_BLOCK_COMMENT_MODE:_,C_LINE_COMMENT_MODE:g,C_NUMBER_MODE:b,C_NUMBER_RE:l,END_SAME_AS_BEGIN,HASH_COMMENT_MODE:v,IDENT_RE:o,MATCH_NOTHING_RE:a,METHOD_GUARD:T,NUMBER_MODE:y,NUMBER_RE:c,PHRASAL_WORDS_MODE:h,QUOTE_STRING_MODE:m,REGEXP_MODE:S,RE_STARTERS_RE:d,SHEBANG,TITLE_MODE:C,UNDERSCORE_IDENT_RE:s,UNDERSCORE_TITLE_MODE:w});function skipIfHasPrecedingDot(e,t){e.input[e.index-1]===`.`&&t.ignoreMatch()}function scopeClassName(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function beginKeywords(e,t){t&&e.beginKeywords&&(e.begin=`\\b(`+e.beginKeywords.split(` `).join(`|`)+`)(?!\\.)(?=\\b|\\s)`,e.__beforeBegin=skipIfHasPrecedingDot,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function compileIllegal(e,t){Array.isArray(e.illegal)&&(e.illegal=either(...e.illegal))}function compileMatch(e,t){if(e.match){if(e.begin||e.end)throw Error(`begin & end are not supported with match`);e.begin=e.match,delete e.match}}function compileRelevance(e,t){e.relevance===void 0&&(e.relevance=1)}var beforeMatchExt=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error(`beforeMatch cannot be used with starts`);let n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=concat(n.beforeMatch,lookahead(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},D=[`of`,`and`,`for`,`in`,`not`,`or`,`if`,`then`,`parent`,`list`,`value`],O=`keyword`;function compileKeywords(e,t,n=O){let r=Object.create(null);return typeof e==`string`?compileList(n,e.split(` `)):Array.isArray(e)?compileList(n,e):Object.keys(e).forEach(function(n){Object.assign(r,compileKeywords(e[n],t,n))}),r;function compileList(e,n){t&&(n=n.map(e=>e.toLowerCase())),n.forEach(function(t){let n=t.split(`|`);r[n[0]]=[e,scoreForKeyword(n[0],n[1])]})}}function scoreForKeyword(e,t){return t?Number(t):commonKeyword(e)?0:1}function commonKeyword(e){return D.includes(e.toLowerCase())}var k={},error=e=>{console.error(e)},warn=(e,...t)=>{console.log(`WARN: ${e}`,...t)},deprecated=(e,t)=>{k[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),k[`${e}/${t}`]=!0)},A=Error();function remapScopeNames(e,t,{key:n}){let r=0,i=e[n],a={},o={};for(let e=1;e<=t.length;e++)o[e+r]=i[e],a[e+r]=!0,r+=countMatchGroups(t[e-1]);e[n]=o,e[n]._emit=a,e[n]._multi=!0}function beginMultiClass(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw error(`skip, excludeBegin, returnBegin not compatible with beginScope: {}`),A;if(typeof e.beginScope!=`object`||e.beginScope===null)throw error(`beginScope must be object`),A;remapScopeNames(e,e.begin,{key:`beginScope`}),e.begin=_rewriteBackreferences(e.begin,{joinWith:``})}}function endMultiClass(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw error(`skip, excludeEnd, returnEnd not compatible with endScope: {}`),A;if(typeof e.endScope!=`object`||e.endScope===null)throw error(`endScope must be object`),A;remapScopeNames(e,e.end,{key:`endScope`}),e.end=_rewriteBackreferences(e.end,{joinWith:``})}}function scopeSugar(e){e.scope&&typeof e.scope==`object`&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function MultiClass(e){scopeSugar(e),typeof e.beginScope==`string`&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope==`string`&&(e.endScope={_wrap:e.endScope}),beginMultiClass(e),endMultiClass(e)}function compileLanguage(e){function langRe(t,n){return new RegExp(source(t),`m`+(e.case_insensitive?`i`:``)+(e.unicodeRegex?`u`:``)+(n?`g`:``))}class MultiRegex{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=countMatchGroups(e)+1}compile(){this.regexes.length===0&&(this.exec=()=>null),this.matcherRe=langRe(_rewriteBackreferences(this.regexes.map(e=>e[1]),{joinWith:`|`}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let n=t.findIndex((e,t)=>t>0&&e!==void 0),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class ResumableMultiRegex{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let t=new MultiRegex;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),t.type===`begin`&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition()&&!(n&&n.index===this.lastIndex)){let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function buildModeRegex(e){let t=new ResumableMultiRegex;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:`begin`})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:`end`}),e.illegal&&t.addRule(e.illegal,{type:`illegal`}),t}function compileMode(t,n){let r=t;if(t.isCompiled)return r;[scopeClassName,compileMatch,MultiClass,beforeMatchExt].forEach(e=>e(t,n)),e.compilerExtensions.forEach(e=>e(t,n)),t.__beforeBegin=null,[beginKeywords,compileIllegal,compileRelevance].forEach(e=>e(t,n)),t.isCompiled=!0;let i=null;return typeof t.keywords==`object`&&t.keywords.$pattern&&(t.keywords=Object.assign({},t.keywords),i=t.keywords.$pattern,delete t.keywords.$pattern),i=i||/\w+/,t.keywords&&(t.keywords=compileKeywords(t.keywords,e.case_insensitive)),r.keywordPatternRe=langRe(i,!0),n&&(t.begin||(t.begin=/\B|\b/),r.beginRe=langRe(r.begin),!t.end&&!t.endsWithParent&&(t.end=/\B|\b/),t.end&&(r.endRe=langRe(r.end)),r.terminatorEnd=source(r.end)||``,t.endsWithParent&&n.terminatorEnd&&(r.terminatorEnd+=(t.end?`|`:``)+n.terminatorEnd)),t.illegal&&(r.illegalRe=langRe(t.illegal)),t.contains||(t.contains=[]),t.contains=[].concat(...t.contains.map(function(e){return expandOrCloneMode(e===`self`?t:e)})),t.contains.forEach(function(e){compileMode(e,r)}),t.starts&&compileMode(t.starts,n),r.matcher=buildModeRegex(r),r}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes(`self`))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=inherit$1(e.classNameAliases||{}),compileMode(e)}function dependencyOnParent(e){return e?e.endsWithParent||dependencyOnParent(e.starts):!1}function expandOrCloneMode(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return inherit$1(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:dependencyOnParent(e)?inherit$1(e,{starts:e.starts?inherit$1(e.starts):null}):Object.isFrozen(e)?inherit$1(e):e}var ee=`11.11.1`,HTMLInjectionError=class extends Error{constructor(e,t){super(e),this.name=`HTMLInjectionError`,this.html=t}},j=escapeHTML,te=inherit$1,ne=Symbol(`nomatch`),re=7,HLJS=function(e){let t=Object.create(null),n=Object.create(null),r=[],i=!0,a=`Could not find the language '{}', did you forget to load/include a language module?`,o={disableAutodetect:!0,name:`Plain text`,contains:[]},s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:`hljs-`,cssSelector:`pre code`,languages:null,__emitter:TokenTreeEmitter};function shouldNotHighlight(e){return s.noHighlightRe.test(e)}function blockLanguage(e){let t=e.className+` `;t+=e.parentNode?e.parentNode.className:``;let n=s.languageDetectRe.exec(t);if(n){let t=getLanguage(n[1]);return t||(warn(a.replace(`{}`,n[1])),warn(`Falling back to no-highlight mode for this block.`,e)),t?n[1]:`no-highlight`}return t.split(/\s+/).find(e=>shouldNotHighlight(e)||getLanguage(e))}function highlight(e,t,n){let r=``,i=``;typeof t==`object`?(r=e,n=t.ignoreIllegals,i=t.language):(deprecated(`10.7.0`,`highlight(lang, code, ...args) has been deprecated.`),deprecated(`10.7.0`,`Please use highlight(code, options) instead.
63
63
  https://github.com/highlightjs/highlight.js/issues/2277`),i=e,r=t),n===void 0&&(n=!0);let a={code:r,language:i};fire(`before:highlight`,a);let o=a.result?a.result:_highlight(a.language,a.code,n);return o.code=a.code,fire(`after:highlight`,o),o}function _highlight(e,n,r,o){let c=Object.create(null);function keywordData(e,t){return e.keywords[t]}function processKeywords(){if(!p.keywords){h.addText(g);return}let e=0;p.keywordPatternRe.lastIndex=0;let t=p.keywordPatternRe.exec(g),n=``;for(;t;){n+=g.substring(e,t.index);let r=u.case_insensitive?t[0].toLowerCase():t[0],i=keywordData(p,r);if(i){let[e,a]=i;if(h.addText(n),n=``,c[r]=(c[r]||0)+1,c[r]<=re&&(_+=a),e.startsWith(`_`))n+=t[0];else{let n=u.classNameAliases[e]||e;emitKeyword(t[0],n)}}else n+=t[0];e=p.keywordPatternRe.lastIndex,t=p.keywordPatternRe.exec(g)}n+=g.substring(e),h.addText(n)}function processSubLanguage(){if(g===``)return;let e=null;if(typeof p.subLanguage==`string`){if(!t[p.subLanguage]){h.addText(g);return}e=_highlight(p.subLanguage,g,!0,m[p.subLanguage]),m[p.subLanguage]=e._top}else e=highlightAuto(g,p.subLanguage.length?p.subLanguage:null);p.relevance>0&&(_+=e.relevance),h.__addSublanguage(e._emitter,e.language)}function processBuffer(){p.subLanguage==null?processKeywords():processSubLanguage(),g=``}function emitKeyword(e,t){e!==``&&(h.startScope(t),h.addText(e),h.endScope())}function emitMultiClass(e,t){let n=1,r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}let r=u.classNameAliases[e[n]]||e[n],i=t[n];r?emitKeyword(i,r):(g=i,processKeywords(),g=``),n++}}function startNewMode(e,t){return e.scope&&typeof e.scope==`string`&&h.openNode(u.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(emitKeyword(g,u.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),g=``):e.beginScope._multi&&(emitMultiClass(e.beginScope,t),g=``)),p=Object.create(e,{parent:{value:p}}),p}function endOfMode(e,t,n){let r=startsWith(e.endRe,n);if(r){if(e[`on:end`]){let n=new Response(e);e[`on:end`](t,n),n.isMatchIgnored&&(r=!1)}if(r){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return endOfMode(e.parent,t,n)}function doIgnore(e){return p.matcher.regexIndex===0?(g+=e[0],1):(b=!0,0)}function doBeginMatch(e){let t=e[0],n=e.rule,r=new Response(n),i=[n.__beforeBegin,n[`on:begin`]];for(let n of i)if(n&&(n(e,r),r.isMatchIgnored))return doIgnore(t);return n.skip?g+=t:(n.excludeBegin&&(g+=t),processBuffer(),!n.returnBegin&&!n.excludeBegin&&(g=t)),startNewMode(n,e),n.returnBegin?0:t.length}function doEndMatch(e){let t=e[0],r=n.substring(e.index),i=endOfMode(p,e,r);if(!i)return ne;let a=p;p.endScope&&p.endScope._wrap?(processBuffer(),emitKeyword(t,p.endScope._wrap)):p.endScope&&p.endScope._multi?(processBuffer(),emitMultiClass(p.endScope,e)):a.skip?g+=t:(a.returnEnd||a.excludeEnd||(g+=t),processBuffer(),a.excludeEnd&&(g=t));do p.scope&&h.closeNode(),!p.skip&&!p.subLanguage&&(_+=p.relevance),p=p.parent;while(p!==i.parent);return i.starts&&startNewMode(i.starts,e),a.returnEnd?0:t.length}function processContinuations(){let e=[];for(let t=p;t!==u;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>h.openNode(e))}let l={};function processLexeme(t,a){let o=a&&a[0];if(g+=t,o==null)return processBuffer(),0;if(l.type===`begin`&&a.type===`end`&&l.index===a.index&&o===``){if(g+=n.slice(a.index,a.index+1),!i){let t=Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=l.rule,t}return 1}if(l=a,a.type===`begin`)return doBeginMatch(a);if(a.type===`illegal`&&!r){let e=Error(`Illegal lexeme "`+o+`" for mode "`+(p.scope||`<unnamed>`)+`"`);throw e.mode=p,e}else if(a.type===`end`){let e=doEndMatch(a);if(e!==ne)return e}if(a.type===`illegal`&&o===``)return g+=`
64
64
  `,1;if(y>1e5&&y>a.index*3)throw Error(`potential infinite loop, way more iterations than matches`);return g+=o,o.length}let u=getLanguage(e);if(!u)throw error(a.replace(`{}`,e)),Error(`Unknown language: "`+e+`"`);let d=compileLanguage(u),f=``,p=o||d,m={},h=new s.__emitter(s);processContinuations();let g=``,_=0,v=0,y=0,b=!1;try{if(u.__emitTokens)u.__emitTokens(n,h);else{for(p.matcher.considerAll();;){y++,b?b=!1:p.matcher.considerAll(),p.matcher.lastIndex=v;let e=p.matcher.exec(n);if(!e)break;let t=processLexeme(n.substring(v,e.index),e);v=e.index+t}processLexeme(n.substring(v))}return h.finalize(),f=h.toHTML(),{language:e,value:f,relevance:_,illegal:!1,_emitter:h,_top:p}}catch(t){if(t.message&&t.message.includes(`Illegal`))return{language:e,value:j(n),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:v,context:n.slice(v-100,v+100),mode:t.mode,resultSoFar:f},_emitter:h};if(i)return{language:e,value:j(n),illegal:!1,relevance:0,errorRaised:t,_emitter:h,_top:p};throw t}}function justTextHighlightResult(e){let t={value:j(e),illegal:!1,relevance:0,_top:o,_emitter:new s.__emitter(s)};return t._emitter.addText(e),t}function highlightAuto(e,n){n=n||s.languages||Object.keys(t);let r=justTextHighlightResult(e),i=n.filter(getLanguage).filter(autoDetection).map(t=>_highlight(t,e,!1));i.unshift(r);let[a,o]=i.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(getLanguage(e.language).supersetOf===t.language)return 1;if(getLanguage(t.language).supersetOf===e.language)return-1}return 0}),c=a;return c.secondBest=o,c}function updateClassName(e,t,r){let i=t&&n[t]||r;e.classList.add(`hljs`),e.classList.add(`language-${i}`)}function highlightElement(e){let t=null,n=blockLanguage(e);if(shouldNotHighlight(n))return;if(fire(`before:highlightElement`,{el:e,language:n}),e.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);return}if(e.children.length>0&&(s.ignoreUnescapedHTML||(console.warn(`One of your code blocks includes unescaped HTML. This is a potentially serious security risk.`),console.warn(`https://github.com/highlightjs/highlight.js/wiki/security`),console.warn(`The element with unescaped HTML:`),console.warn(e)),s.throwUnescapedHTML))throw new HTMLInjectionError(`One of your code blocks includes unescaped HTML.`,e.innerHTML);t=e;let r=t.textContent,i=n?highlight(r,{language:n,ignoreIllegals:!0}):highlightAuto(r);e.innerHTML=i.value,e.dataset.highlighted=`yes`,updateClassName(e,n,i.language),e.result={language:i.language,re:i.relevance,relevance:i.relevance},i.secondBest&&(e.secondBest={language:i.secondBest.language,relevance:i.secondBest.relevance}),fire(`after:highlightElement`,{el:e,result:i,text:r})}function configure(e){s=te(s,e)}let initHighlighting=()=>{highlightAll(),deprecated(`10.6.0`,`initHighlighting() deprecated. Use highlightAll() now.`)};function initHighlightingOnLoad(){highlightAll(),deprecated(`10.6.0`,`initHighlightingOnLoad() deprecated. Use highlightAll() now.`)}let c=!1;function highlightAll(){function boot(){highlightAll()}if(document.readyState===`loading`){c||window.addEventListener(`DOMContentLoaded`,boot,!1),c=!0;return}document.querySelectorAll(s.cssSelector).forEach(highlightElement)}function registerLanguage(n,r){let a=null;try{a=r(e)}catch(e){if(error(`Language definition for '{}' could not be registered.`.replace(`{}`,n)),i)error(e);else throw e;a=o}a.name||(a.name=n),t[n]=a,a.rawDefinition=r.bind(null,e),a.aliases&&registerAliases(a.aliases,{languageName:n})}function unregisterLanguage(e){delete t[e];for(let t of Object.keys(n))n[t]===e&&delete n[t]}function listLanguages(){return Object.keys(t)}function getLanguage(e){return e=(e||``).toLowerCase(),t[e]||t[n[e]]}function registerAliases(e,{languageName:t}){typeof e==`string`&&(e=[e]),e.forEach(e=>{n[e.toLowerCase()]=t})}function autoDetection(e){let t=getLanguage(e);return t&&!t.disableAutodetect}function upgradePluginAPI(e){e[`before:highlightBlock`]&&!e[`before:highlightElement`]&&(e[`before:highlightElement`]=t=>{e[`before:highlightBlock`](Object.assign({block:t.el},t))}),e[`after:highlightBlock`]&&!e[`after:highlightElement`]&&(e[`after:highlightElement`]=t=>{e[`after:highlightBlock`](Object.assign({block:t.el},t))})}function addPlugin(e){upgradePluginAPI(e),r.push(e)}function removePlugin(e){let t=r.indexOf(e);t!==-1&&r.splice(t,1)}function fire(e,t){let n=e;r.forEach(function(e){e[n]&&e[n](t)})}function deprecateHighlightBlock(e){return deprecated(`10.7.0`,`highlightBlock will be removed entirely in v12.0`),deprecated(`10.7.0`,`Please use highlightElement now.`),highlightElement(e)}Object.assign(e,{highlight,highlightAuto,highlightAll,highlightElement,highlightBlock:deprecateHighlightBlock,configure,initHighlighting,initHighlightingOnLoad,registerLanguage,unregisterLanguage,listLanguages,getLanguage,registerAliases,autoDetection,inherit:te,addPlugin,removePlugin}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=ee,e.regex={concat,lookahead,either,optional,anyNumberOfTimes};for(let e in E)typeof E[e]==`object`&&deepFreeze(E[e]);return Object.assign(e,E),e},M=HLJS({});M.newInstance=()=>HLJS({}),t.exports=M,M.HighlightJS=M,M.default=M})),An,Q,jn=__esmMin((()=>{An=__toESM(kn()),Q=An.default})),Mn,Nn,Pn=__esmMin((()=>{jn(),Mn=(0,t.defineComponent)({props:{code:{type:String,required:!0},language:{type:String,default:``},autodetect:{type:Boolean,default:!0},ignoreIllegals:{type:Boolean,default:!0}},setup:function(e){var n=(0,t.ref)(e.language);(0,t.watch)((function(){return e.language}),(function(e){n.value=e}));var r=(0,t.computed)((function(){return e.autodetect||!n.value})),i=(0,t.computed)((function(){return!r.value&&!Q.getLanguage(n.value)}));return{className:(0,t.computed)((function(){return i.value?``:`hljs `+n.value})),highlightedCode:(0,t.computed)((function(){if(i.value)return console.warn(`The language "`+n.value+`" you specified could not be found.`),e.code.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&#x27;`);if(r.value){var t=Q.highlightAuto(e.code);return n.value=t.language??``,t.value}return(t=Q.highlight(e.code,{language:n.value,ignoreIllegals:e.ignoreIllegals})).value}))}},render:function(){return(0,t.h)(`pre`,{},[(0,t.h)(`code`,{class:this.className,innerHTML:this.highlightedCode,tabindex:`0`})])}}),Nn={install:function(e){e.component(`highlightjs`,Mn)},component:Mn}}));function javascript$1(e){let t=e.regex,hasClosingTag=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},n=Fn,r={begin:`<>`,end:`</>`},i=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let n=e[0].length+e.index,r=e.input[n];if(r===`<`||r===`,`){t.ignoreMatch();return}r===`>`&&(hasClosingTag(e,{after:n})||t.ignoreMatch());let i,a=e.input.substring(n);if(i=a.match(/^\s*=/)){t.ignoreMatch();return}if((i=a.match(/^\s+extends\s+/))&&i.index===0){t.ignoreMatch();return}}},o={$pattern:Fn,keyword:In,literal:Ln,built_in:Hn,"variable.language":Vn},s=`[0-9](_?[0-9])*`,c=`\\.(${s})`,l=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,u={className:`number`,variants:[{begin:`(\\b(${l})((${c})|\\.)?|(${c}))[eE][+-]?(${s})\\b`},{begin:`\\b(${l})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*n?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*n?\\b`},{begin:`\\b0[0-7]+n?\\b`}],relevance:0},d={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:o,contains:[]},f={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:`xml`}},p={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:`css`}},m={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:`graphql`}},h={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,d]},g={className:`comment`,variants:[e.COMMENT(/\/\*\*(?!\/)/,`\\*/`,{relevance:0,contains:[{begin:`(?=@[A-Za-z]+)`,relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`},{className:`type`,begin:`\\{`,end:`\\}`,excludeEnd:!0,excludeBegin:!0,relevance:0},{className:`variable`,begin:n+`(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},_=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,p,m,h,{match:/\$\d+/},u];d.contains=_.concat({begin:/\{/,end:/\}/,keywords:o,contains:[`self`].concat(_)});let v=[].concat(g,d.contains),y=v.concat([{begin:/(\s*)\(/,end:/\)/,keywords:o,contains:[`self`].concat(v)}]),b={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:y},x={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,`(`,t.concat(/\./,n),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,n],scope:{1:`keyword`,3:`title.class`}}]},S={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:`title.class`,keywords:{_:[...Rn,...zn]}},C={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},w={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[b],illegal:/%/},T={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function noneOf(e){return t.concat(`(?!`,e.join(`|`),`)`)}let E={match:t.concat(/\b/,noneOf([...Bn,`super`,`import`].map(e=>`${e}\\s*\\(`)),n,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},D={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},O={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},b]},k=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,A={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(k)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[b]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:o,exports:{PARAMS_CONTAINS:y,CLASS_REFERENCE:S},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),C,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,p,m,h,g,{match:/\$\d+/},u,S,{scope:`attr`,match:n+t.lookahead(`:`),relevance:0},A,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[g,e.REGEXP_MODE,{className:`function`,begin:k,returnBegin:!0,end:`\\s*=>`,contains:[{className:`params`,variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:y}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r.begin,end:r.end},{match:i},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:`xml`,contains:[{begin:a.begin,end:a.end,skip:!0,contains:[`self`]}]}]},w,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[b,e.inherit(e.TITLE_MODE,{begin:n,className:`title.function`})]},{match:/\.\.\./,relevance:0},D,{match:`\\$`+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[b]},E,T,x,O,{match:/\$[(.]/}]}}var Fn,In,Ln,Rn,zn,Bn,Vn,Hn,Un=__esmMin((()=>{Fn=`[A-Za-z$_][0-9A-Za-z$_]*`,In=`as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using`.split(`.`),Ln=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],Rn=`Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly`.split(`.`),zn=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],Bn=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],Vn=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],Hn=[].concat(Bn,Rn,zn),__name(javascript$1,`javascript`)}));function javascript(e){let t=e.regex,hasClosingTag=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},n=$,r={begin:`<>`,end:`</>`},i=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let n=e[0].length+e.index,r=e.input[n];if(r===`<`||r===`,`){t.ignoreMatch();return}r===`>`&&(hasClosingTag(e,{after:n})||t.ignoreMatch());let i,a=e.input.substring(n);if(i=a.match(/^\s*=/)){t.ignoreMatch();return}if((i=a.match(/^\s+extends\s+/))&&i.index===0){t.ignoreMatch();return}}},o={$pattern:$,keyword:Wn,literal:Gn,built_in:Xn,"variable.language":Yn},s=`[0-9](_?[0-9])*`,c=`\\.(${s})`,l=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,u={className:`number`,variants:[{begin:`(\\b(${l})((${c})|\\.)?|(${c}))[eE][+-]?(${s})\\b`},{begin:`\\b(${l})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*n?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*n?\\b`},{begin:`\\b0[0-7]+n?\\b`}],relevance:0},d={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:o,contains:[]},f={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:`xml`}},p={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:`css`}},m={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:`graphql`}},h={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,d]},g={className:`comment`,variants:[e.COMMENT(/\/\*\*(?!\/)/,`\\*/`,{relevance:0,contains:[{begin:`(?=@[A-Za-z]+)`,relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`},{className:`type`,begin:`\\{`,end:`\\}`,excludeEnd:!0,excludeBegin:!0,relevance:0},{className:`variable`,begin:n+`(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},_=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,p,m,h,{match:/\$\d+/},u];d.contains=_.concat({begin:/\{/,end:/\}/,keywords:o,contains:[`self`].concat(_)});let v=[].concat(g,d.contains),y=v.concat([{begin:/(\s*)\(/,end:/\)/,keywords:o,contains:[`self`].concat(v)}]),b={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:y},x={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,`(`,t.concat(/\./,n),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,n],scope:{1:`keyword`,3:`title.class`}}]},S={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:`title.class`,keywords:{_:[...Kn,...qn]}},C={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},w={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[b],illegal:/%/},T={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function noneOf(e){return t.concat(`(?!`,e.join(`|`),`)`)}let E={match:t.concat(/\b/,noneOf([...Jn,`super`,`import`].map(e=>`${e}\\s*\\(`)),n,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},D={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},O={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},b]},k=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,A={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(k)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[b]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:o,exports:{PARAMS_CONTAINS:y,CLASS_REFERENCE:S},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),C,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,p,m,h,g,{match:/\$\d+/},u,S,{scope:`attr`,match:n+t.lookahead(`:`),relevance:0},A,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[g,e.REGEXP_MODE,{className:`function`,begin:k,returnBegin:!0,end:`\\s*=>`,contains:[{className:`params`,variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:y}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r.begin,end:r.end},{match:i},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:`xml`,contains:[{begin:a.begin,end:a.end,skip:!0,contains:[`self`]}]}]},w,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[b,e.inherit(e.TITLE_MODE,{begin:n,className:`title.function`})]},{match:/\.\.\./,relevance:0},D,{match:`\\$`+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[b]},E,T,x,O,{match:/\$[(.]/}]}}function typescript(e){let t=e.regex,n=javascript(e),r=$,i=[`any`,`void`,`number`,`boolean`,`string`,`object`,`never`,`symbol`,`bigint`,`unknown`],a={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:`keyword`,3:`title.class`}},o={beginKeywords:`interface`,end:/\{/,excludeEnd:!0,keywords:{keyword:`interface extends`,built_in:i},contains:[n.exports.CLASS_REFERENCE]},s={className:`meta`,relevance:10,begin:/^\s*['"]use strict['"]/},c={$pattern:$,keyword:Wn.concat([`type`,`interface`,`public`,`private`,`protected`,`implements`,`declare`,`abstract`,`readonly`,`enum`,`override`,`satisfies`]),literal:Gn,built_in:Xn.concat(i),"variable.language":Yn},l={className:`meta`,begin:`@`+r},swapMode=(e,t,n)=>{let r=e.contains.findIndex(e=>e.label===t);if(r===-1)throw Error(`can not find mode to replace`);e.contains.splice(r,1,n)};Object.assign(n.keywords,c),n.exports.PARAMS_CONTAINS.push(l);let u=n.contains.find(e=>e.scope===`attr`),d=Object.assign({},u,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,u,d]),n.contains=n.contains.concat([l,a,o,d]),swapMode(n,`shebang`,e.SHEBANG()),swapMode(n,`use_strict`,s);let f=n.contains.find(e=>e.label===`func.def`);return f.relevance=0,Object.assign(n,{name:`TypeScript`,aliases:[`ts`,`tsx`,`mts`,`cts`]}),n}var $,Wn,Gn,Kn,qn,Jn,Yn,Xn,Zn=__esmMin((()=>{$=`[A-Za-z$_][0-9A-Za-z$_]*`,Wn=`as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using`.split(`.`),Gn=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],Kn=`Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly`.split(`.`),qn=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],Jn=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],Yn=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],Xn=[].concat(Jn,Kn,qn)}));function css(e){let t=e.regex,n=MODES(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i=/@-?\w[\w]*(-\w+)*/,a=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:`CSS`,case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:`from to`},classNameAliases:{keyframePosition:`selector-tag`},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:`selector-id`,begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:`selector-class`,begin:`\\.[a-zA-Z-][a-zA-Z0-9_-]*`,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,variants:[{begin:`:(`+nr.join(`|`)+`)`},{begin:`:(:)?(`+rr.join(`|`)+`)`}]},n.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+ir.join(`|`)+`)\\b`},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...a,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:`url data-uri`},contains:[...a,{className:`string`,begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:`[{;]`,relevance:0,illegal:/:/,contains:[{className:`keyword`,begin:i},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:tr.join(` `)},contains:[{begin:/[a-z-]+(?=:)/,className:`attribute`},...a,n.CSS_NUMBER_MODE]}]},{className:`selector-tag`,begin:`\\b(`+er.join(`|`)+`)\\b`}]}}var MODES,Qn,$n,er,tr,nr,rr,ir,ar=__esmMin((()=>{MODES=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),Qn=`a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),$n=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),er=[...Qn,...$n],tr=`any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height`.split(`.`).sort().reverse(),nr=`active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where`.split(`.`).sort().reverse(),rr=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),ir=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse()}));function xml(e){let t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:`symbol`,begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:`keyword`,begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(a,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:`string`}),c=e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:`attr`,begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:`string`,endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:`HTML, XML`,aliases:[`html`,`xhtml`,`rss`,`atom`,`xjb`,`xsd`,`xsl`,`plist`,`wsf`,`svg`],case_insensitive:!0,unicodeRegex:!0,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,c,s,o,{begin:/\[/,end:/\]/,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,contains:[a,o,c,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:`meta`,end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:`tag`,begin:/<style(?=\s|>)/,end:/>/,keywords:{name:`style`},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:[`css`,`xml`]}},{className:`tag`,begin:/<script(?=\s|>)/,end:/>/,keywords:{name:`script`},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:[`javascript`,`handlebars`,`xml`]}},{className:`tag`,begin:/<>|<\/>/},{className:`tag`,begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:`name`,begin:n,relevance:0,starts:l}]},{className:`tag`,begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:`name`,begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}var or=__esmMin((()=>{}));function bash(e){let t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:[`self`,{begin:/:-/,contains:[n]}]};Object.assign(n,{className:`variable`,variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,`(?![\\w\\d])(?![$])`)},r]});let i={className:`subst`,begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:`comment`}}),o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:`string`})]}},s={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(s);let c={match:/\\"/},l={className:`string`,begin:/'/,end:/'/},u={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:`number`},e.NUMBER_MODE,n]},f=e.SHEBANG({binary:`(${[`fish`,`bash`,`zsh`,`sh`,`csh`,`ksh`,`tcsh`,`dash`,`scsh`].join(`|`)})`,relevance:10}),p={className:`function`,begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=[`if`,`then`,`else`,`elif`,`fi`,`time`,`for`,`while`,`until`,`in`,`do`,`done`,`case`,`esac`,`coproc`,`function`,`select`],h=[`true`,`false`],g={match:/(\/[a-z._-]+)+/},_=[`break`,`cd`,`continue`,`eval`,`exec`,`exit`,`export`,`getopts`,`hash`,`pwd`,`readonly`,`return`,`shift`,`test`,`times`,`trap`,`umask`,`unset`],v=[`alias`,`bind`,`builtin`,`caller`,`command`,`declare`,`echo`,`enable`,`help`,`let`,`local`,`logout`,`mapfile`,`printf`,`read`,`readarray`,`source`,`sudo`,`type`,`typeset`,`ulimit`,`unalias`],y=`autoload.bg.bindkey.bye.cap.chdir.clone.comparguments.compcall.compctl.compdescribe.compfiles.compgroups.compquote.comptags.comptry.compvalues.dirs.disable.disown.echotc.echoti.emulate.fc.fg.float.functions.getcap.getln.history.integer.jobs.kill.limit.log.noglob.popd.print.pushd.pushln.rehash.sched.setcap.setopt.stat.suspend.ttyctl.unfunction.unhash.unlimit.unsetopt.vared.wait.whence.where.which.zcompile.zformat.zftp.zle.zmodload.zparseopts.zprof.zpty.zregexparse.zsocket.zstyle.ztcp`.split(`.`),b=`chcon.chgrp.chown.chmod.cp.dd.df.dir.dircolors.ln.ls.mkdir.mkfifo.mknod.mktemp.mv.realpath.rm.rmdir.shred.sync.touch.truncate.vdir.b2sum.base32.base64.cat.cksum.comm.csplit.cut.expand.fmt.fold.head.join.md5sum.nl.numfmt.od.paste.ptx.pr.sha1sum.sha224sum.sha256sum.sha384sum.sha512sum.shuf.sort.split.sum.tac.tail.tr.tsort.unexpand.uniq.wc.arch.basename.chroot.date.dirname.du.echo.env.expr.factor.groups.hostid.id.link.logname.nice.nohup.nproc.pathchk.pinky.printenv.printf.pwd.readlink.runcon.seq.sleep.stat.stdbuf.stty.tee.test.timeout.tty.uname.unlink.uptime.users.who.whoami.yes`.split(`.`);return{name:`Bash`,aliases:[`sh`,`zsh`],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:h,built_in:[..._,...v,`set`,`shopt`,...y,...b]},contains:[f,e.SHEBANG(),p,d,a,o,g,s,c,l,u,n]}}var sr=__esmMin((()=>{}));function json(e){let t={className:`attr`,begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:`punctuation`,relevance:0},r=[`true`,`false`,`null`],i={scope:`literal`,beginKeywords:r.join(` `)};return{name:`JSON`,aliases:[`jsonc`],keywords:{literal:r},contains:[t,n,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:`\\S`}}var cr=__esmMin((()=>{}));function go(e){let t={keyword:[`break`,`case`,`chan`,`const`,`continue`,`default`,`defer`,`else`,`fallthrough`,`for`,`func`,`go`,`goto`,`if`,`import`,`interface`,`map`,`package`,`range`,`return`,`select`,`struct`,`switch`,`type`,`var`],type:[`bool`,`byte`,`complex64`,`complex128`,`error`,`float32`,`float64`,`int8`,`int16`,`int32`,`int64`,`string`,`uint8`,`uint16`,`uint32`,`uint64`,`int`,`uint`,`uintptr`,`rune`],literal:[`true`,`false`,`iota`,`nil`],built_in:[`append`,`cap`,`close`,`complex`,`copy`,`imag`,`len`,`make`,`new`,`panic`,`print`,`println`,`real`,`recover`,`delete`]};return{name:`Go`,aliases:[`golang`],keywords:t,illegal:`</`,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:`string`,variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:`number`,variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:`function`,beginKeywords:`func`,end:`\\s*(\\{|$)`,excludeEnd:!0,contains:[e.TITLE_MODE,{className:`params`,begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}}var lr=__esmMin((()=>{}));function python(e){let t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,r=`and.as.assert.async.await.break.case.class.continue.def.del.elif.else.except.finally.for.from.global.if.import.in.is.lambda.match.nonlocal|10.not.or.pass.raise.return.try.while.with.yield`.split(`.`),i={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:`__import__.abs.all.any.ascii.bin.bool.breakpoint.bytearray.bytes.callable.chr.classmethod.compile.complex.delattr.dict.dir.divmod.enumerate.eval.exec.filter.float.format.frozenset.getattr.globals.hasattr.hash.help.hex.id.input.int.isinstance.issubclass.iter.len.list.locals.map.max.memoryview.min.next.object.oct.open.ord.pow.print.property.range.repr.reversed.round.set.setattr.slice.sorted.staticmethod.str.sum.super.tuple.type.vars.zip`.split(`.`),literal:[`__debug__`,`Ellipsis`,`False`,`None`,`NotImplemented`,`True`],type:[`Any`,`Callable`,`Coroutine`,`Dict`,`List`,`Literal`,`Generic`,`Optional`,`Sequence`,`Set`,`Tuple`,`Type`,`Union`]},a={className:`meta`,begin:/^(>>>|\.\.\.) /},o={className:`subst`,begin:/\{/,end:/\}/,keywords:i,illegal:/#/},s={begin:/\{\{/,relevance:0},c={className:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,o]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},l=`[0-9](_?[0-9])*`,u=`(\\b(${l}))?\\.(${l})|\\b(${l})\\.`,d=`\\b|${r.join(`|`)}`,f={className:`number`,relevance:0,variants:[{begin:`(\\b(${l})|(${u}))[eE][+-]?(${l})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${l})[jJ](?=${d})`}]},p={className:`comment`,begin:t.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={className:`params`,variants:[{className:``,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:[`self`,a,f,c,e.HASH_COMMENT_MODE]}]};return o.contains=[c,f,a],{name:`Python`,aliases:[`py`,`gyp`,`ipython`],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[a,f,{scope:`variable.language`,match:/\bself\b/},{beginKeywords:`if`,relevance:0},{match:/\bor\b/,scope:`keyword`},c,p,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:`keyword`,3:`title.function`},contains:[m]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:`keyword`,3:`title.class`,6:`title.class.inherited`}},{className:`meta`,begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,m,c]}]}}var ur=__esmMin((()=>{})),dr,fr,pr,mr=__esmMin((()=>{jn(),Pn(),Un(),Zn(),ar(),or(),sr(),cr(),lr(),ur(),dr={class:`code-block-wrapper pa-2`},fr={key:0,class:`language-indicator`},pr=(0,t.defineComponent)({__name:`CodeBlockRenderer`,props:{code:{type:String,required:!0},language:{type:String,default:``}},setup(e){Q.registerLanguage(`js`,javascript$1),Q.registerLanguage(`javascript`,javascript$1),Q.registerLanguage(`ts`,typescript),Q.registerLanguage(`typescript`,typescript),Q.registerLanguage(`css`,css),Q.registerLanguage(`html`,xml),Q.registerLanguage(`bash`,bash),Q.registerLanguage(`sh`,bash),Q.registerLanguage(`json`,json),Q.registerLanguage(`go`,go),Q.registerLanguage(`golang`,go),Q.registerLanguage(`python`,python);let n=(0,t.getCurrentInstance)();return n&&n.appContext.app.component(`highlightjs`,Nn.component),(n,r)=>{let i=(0,t.resolveComponent)(`highlightjs`);return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,dr,[e.language?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,fr,(0,t.toDisplayString)(e.language),1)):(0,t.createCommentVNode)(``,!0),(0,t.createVNode)(i,{language:e.language,code:e.code},null,8,[`language`,`code`])])}}})})),hr=__esmMin((()=>{})),gr,_r=__esmMin((()=>{mr(),mr(),hr(),gr=pr})),vr,yr=__esmMin((()=>{L(),vr=(0,t.defineComponent)({name:`UserInputString`,extends:I,props:{icon:{type:Boolean,required:!1}},computed:{prependIcon(){return this.icon?`edit`:``}},mounted(){this.$refs.input?.focus()},methods:{}})})),br=__esmMin((()=>{}));function _sfc_render$17(e,n,r,i,a,o){return(0,t.openBlock)(),(0,t.createElementBlock)(`span`,xr,[(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":n[0]||(n[0]=t=>e.answer=t),autofocus:e.autofocus,type:`text`,class:`user-input-string`,ref:`input`,onKeyup:n[1]||(n[1]=(0,t.withKeys)(t=>e.submitAnswer(e.answer),[`enter`]))},null,40,Sr),[[t.vModelText,e.answer]])])}var xr,Sr,Cr,wr=__esmMin((()=>{yr(),yr(),br(),_(),xr={class:`user-input-container`},Sr=[`autofocus`],__name(_sfc_render$17,`_sfc_render`),Cr=g(vr,[[`render`,_sfc_render$17],[`__scopeId`,`data-v-aa14961f`]])})),Tr,Er=__esmMin((()=>{wr(),Tr=(0,t.defineComponent)({name:`FillInInput`,components:{UserInputString:Cr},props:{text:{type:String,required:!0}},setup(e){let n=(0,t.ref)(`text`),r=(0,t.ref)(``),i=(0,t.computed)(()=>e.text.split(`||`).length>1);return(0,t.onMounted)(()=>{console.log(`fillinCreated w/ text: ${e.text}`),r.value=e.text.substring(2,e.text.length-2),console.log(`fillin text trimmed to: ${r.value}`),r.value.split(`||`).length>1&&(n.value=`radio`)}),{inputType:n,radioType:i,processedText:r}}})})),Dr=__esmMin((()=>{}));function _sfc_render$16(e,n,r,i,a,o){let s=(0,t.resolveComponent)(`user-input-string`);return e.radioType?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Or,`\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0`)):((0,t.openBlock)(),(0,t.createBlock)(s,{key:1,id:`input`,icon:!1,type:`text`,value:e.processedText},null,8,[`value`]))}var Or,kr,Ar=__esmMin((()=>{Er(),Er(),Dr(),_(),Or={key:0,class:`text-h5 underline`},__name(_sfc_render$16,`_sfc_render`),kr=g(Tr,[[`render`,_sfc_render$16],[`__scopeId`,`data-v-486ac035`]])})),jr,Mr,Nr,Pr,Fr,Ir,Lr,Rr,zr,Br,Vr,Hr,Ur,Wr,Gr,Kr,qr,Jr,Yr,Xr,Zr,Qr,$r,ei,ti,ni,ri,ii,ai,oi,si,ci,li=__esmMin((()=>{On(),_r(),Ar(),jr={key:0},Mr={key:0},Nr={key:0},Pr={key:1,class:`error--text`},Fr={key:1},Ir={key:2},Lr={key:1},Rr={key:1},zr={key:0,class:`text-h2`},Br={key:1,class:`text-h3`},Vr={key:2,class:`text-h4`},Hr={key:3},Ur={key:4},Wr={key:5},Gr={key:2},Kr={key:3,class:`text-h5`},qr={key:0},Jr=[`href`,`title`],Yr={key:5},Xr={key:6},Zr={key:7},Qr=[`src`,`alt`],$r={key:9},ei={key:10},ti={key:11},ni=[`align`],ri=[`innerHTML`],ii=[`innerHTML`],ai={key:16},oi={key:17},si={key:18},ci=(0,t.defineComponent)({__name:`MdTokenRenderer`,props:{token:{type:Object,required:!0},last:{type:Boolean,required:!1,default:!1}},setup(e,{expose:n}){let r=(0,t.inject)(`markdownComponents`,{}),i={fillIn:(0,t.markRaw)(kr),...r};function isComponent$1(e){return isComponent(e)}__name(isComponent$1,`isComponent`);function containsComponent$1(e){return containsComponent(e)}__name(containsComponent$1,`containsComponent`);function splitTextToken$1(e){return splitTextToken(e)}__name(splitTextToken$1,`splitTextToken`);function splitParagraphToken$1(e){return splitParagraphToken(e)}__name(splitParagraphToken$1,`splitParagraphToken`);function parsedComponent(e){let t=``;`text`in e&&typeof e.text==`string`?t=e.text:`raw`in e&&typeof e.raw==`string`&&(t=e.raw);let n=parseComponentSyntax(t);return n?{is:n.componentName,text:``,props:n.props}:{is:`fillIn`,text:t,props:{}}}function getComponent(e){return i[e]||(console.warn(`[MarkdownRenderer] Unknown component: "${e}". Available components: ${Object.keys(i).join(`, `)}`),null)}function decodeBasicEntities(e){return e.replace(/&#39;/g,`'`).replace(/&quot;/g,`"`).replace(/&amp;/g,`&`).replace(/&lt;/g,`<`).replace(/&gt;/g,`>`)}function isText(e){return e.inLink===void 0&&e.type===`text`}return n({isComponent:isComponent$1,containsComponent:containsComponent$1,splitTextToken:splitTextToken$1,splitParagraphToken:splitParagraphToken$1,parsedComponent,decodeBasicEntities,isText,components:i,getComponent}),(n,r)=>{let i=(0,t.resolveComponent)(`md-token-renderer`,!0);return isText(e.token)?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,jr,[!e.token.tokens||e.token.tokens.length===0?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Mr,[isComponent$1(e.token)?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Nr,[!e.last&&getComponent(parsedComponent(e.token).is)?((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(getComponent(parsedComponent(e.token).is)),(0,t.mergeProps)({key:0,text:parsedComponent(e.token).text},parsedComponent(e.token).props),null,16,[`text`])):!e.last&&!getComponent(parsedComponent(e.token).is)?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Pr,` [Unknown component: `+(0,t.toDisplayString)(parsedComponent(e.token).is)+`] `,1)):(0,t.createCommentVNode)(``,!0)])):containsComponent$1(e.token)?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Fr,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(splitTextToken$1(e.token),(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(i,{key:n,token:e},null,8,[`token`]))),128))])):((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Ir,(0,t.toDisplayString)(decodeBasicEntities(e.token.text)),1))])):e.token.tokens&&e.token.tokens.length!==0?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Lr,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.token.tokens,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(i,{key:n,token:e},null,8,[`token`]))),128))])):(0,t.createCommentVNode)(``,!0)])):e.token.type===`heading`?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Rr,[e.token.depth===1?((0,t.openBlock)(),(0,t.createElementBlock)(`h1`,zr,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.token.tokens,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(i,{key:n,token:e},null,8,[`token`]))),128))])):e.token.depth===2?((0,t.openBlock)(),(0,t.createElementBlock)(`h2`,Br,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.token.tokens,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(i,{key:n,token:e},null,8,[`token`]))),128))])):e.token.depth===3?((0,t.openBlock)(),(0,t.createElementBlock)(`h3`,Vr,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.token.tokens,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(i,{key:n,token:e},null,8,[`token`]))),128))])):e.token.depth===4?((0,t.openBlock)(),(0,t.createElementBlock)(`h4`,Hr,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.token.tokens,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(i,{key:n,token:e},null,8,[`token`]))),128))])):e.token.depth===5?((0,t.openBlock)(),(0,t.createElementBlock)(`h5`,Ur,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.token.tokens,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(i,{key:n,token:e},null,8,[`token`]))),128))])):e.token.depth===6?((0,t.openBlock)(),(0,t.createElementBlock)(`h6`,Wr,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.token.tokens,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(i,{key:n,token:e},null,8,[`token`]))),128))])):(0,t.createCommentVNode)(``,!0)])):e.token.type===`strong`?((0,t.openBlock)(),(0,t.createElementBlock)(`strong`,Gr,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.token.tokens,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(i,{key:n,token:e},null,8,[`token`]))),128))])):e.token.type===`paragraph`?((0,t.openBlock)(),(0,t.createElementBlock)(`p`,Kr,[containsComponent$1(e.token)?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,qr,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(splitParagraphToken$1(e.token),(n,r)=>((0,t.openBlock)(),(0,t.createBlock)(i,{key:r,token:n,last:e.last&&e.token.tokens.length===1&&r===splitParagraphToken$1(e.token).length-1},null,8,[`token`,`last`]))),128))])):((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,{key:1},(0,t.renderList)(e.token.tokens,(n,r)=>((0,t.openBlock)(),(0,t.createBlock)(i,{key:r,token:n,last:e.last&&e.token.tokens.length===1},null,8,[`token`,`last`]))),128))])):e.token.type===`link`?((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:4,href:e.token.href,title:e.token.title},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.token.tokens,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(i,{key:n,token:e},null,8,[`token`]))),128))],8,Jr)):e.token.type===`list`&&e.token.ordered===!1?((0,t.openBlock)(),(0,t.createElementBlock)(`ul`,Yr,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.token.items,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(i,{key:n,token:e},null,8,[`token`]))),128))])):e.token.type===`list`&&e.token.ordered===!0?((0,t.openBlock)(),(0,t.createElementBlock)(`ol`,Xr,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.token.items,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(i,{key:n,token:e},null,8,[`token`]))),128))])):e.token.type===`list_item`?((0,t.openBlock)(),(0,t.createElementBlock)(`li`,Zr,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.token.tokens,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(i,{key:n,token:e},null,8,[`token`]))),128))])):e.token.type===`image`?((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:8,src:e.token.href,alt:e.token.title},null,8,Qr)):e.token.type===`hr`?((0,t.openBlock)(),(0,t.createElementBlock)(`hr`,$r)):e.token.type===`br`?((0,t.openBlock)(),(0,t.createElementBlock)(`br`,ei)):e.token.type===`del`?((0,t.openBlock)(),(0,t.createElementBlock)(`del`,ti)):e.token.type===`table`?((0,t.openBlock)(),(0,t.createElementBlock)(`table`,{key:12,align:e.token.align},[(0,t.createElementVNode)(`thead`,null,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.token.header,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`th`,{key:n},(0,t.toDisplayString)(e.text),1))),128))]),(0,t.createElementVNode)(`tbody`,null,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.token.rows,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`tr`,{key:n},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`td`,{key:n},(0,t.toDisplayString)(e.text),1))),128))]))),128))])],8,ni)):e.token.type===`html`?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,{key:13,innerHTML:e.token.raw},null,8,ri)):e.token.type===`code`?((0,t.openBlock)(),(0,t.createBlock)(gr,{key:14,code:e.token.text,language:e.token.lang},null,8,[`code`,`language`])):e.token.type===`codespan`?((0,t.openBlock)(),(0,t.createElementBlock)(`code`,{key:15,class:`codespan`,innerHTML:e.token.text},null,8,ii)):e.token.type===`blockquote`?((0,t.openBlock)(),(0,t.createElementBlock)(`blockquote`,ai,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.token.tokens,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(i,{key:n,token:e},null,8,[`token`]))),128))])):e.token.type===`escape`?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,oi,(0,t.toDisplayString)(e.token.text),1)):e.token.type===`em`?((0,t.openBlock)(),(0,t.createElementBlock)(`em`,si,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.token.tokens,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(i,{key:n,token:e},null,8,[`token`]))),128))])):(0,t.createCommentVNode)(``,!0)}}})})),ui=__esmMin((()=>{})),di,fi=__esmMin((()=>{li(),li(),ui(),_(),di=g(ci,[[`__scopeId`,`data-v-de3eebd6`]])})),pi,mi,hi=__esmMin((()=>{k(),pi=500,mi=(0,t.defineComponent)({__name:`AudioAutoPlayer`,props:{src:{}},setup(e){let n=e,r=(0,t.ref)([]),i=(0,t.ref)([]),a=(0,t.ref)(!1),o=null,stop=()=>{a.value=!1,setTimeout(()=>{o=null},pi),i.value.forEach(clearTimeout),console.log(`Audio stopping...`),r.value.forEach(e=>{e.paused||(e.pause(),e.currentTime=0)})},downloadFinished=e=>{try{return!isNaN(r.value[e].duration)}catch(e){throw Error(`AudioPlayer does not have an element at this index:`,e)}},playByIndex=e=>{if(downloadFinished(e))if(r.value[e].play(),e+1<r.value.length){let t=(r.value[e].duration+.7)*1e3;i.value.push(setTimeout(()=>{a.value&&playByIndex(e+1)},t))}else setTimeout(()=>{a.value=!1},r.value[e].duration*1e3),setTimeout(()=>{o=null},r.value[e].duration*1e3+pi);else setTimeout(playByIndex,100,e)},play=()=>{o===null||o===(0,t.getCurrentInstance)()?(o=(0,t.getCurrentInstance)(),a.value=!0,playByIndex(0)):setTimeout(play,100)};return(0,t.onMounted)(()=>{o=null,typeof n.src==`string`?r.value.push(new Audio(n.src)):n.src.forEach(e=>{r.value.push(new Audio(e))});let e=[{hotkey:`up`,callback:play,command:`Replay Audio`}];O.addBinding(e),play()}),(0,t.onBeforeUnmount)(()=>{O.removeBinding(`up`),stop()}),(e,n)=>{let r=(0,t.resolveComponent)(`v-icon`),i=(0,t.resolveComponent)(`v-btn`);return(0,t.openBlock)(),(0,t.createBlock)(i,{size:`large`,icon:``,color:a.value?`primary lighten-3`:`primary`,class:(0,t.normalizeClass)({playing:a.value}),onClick:play},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(r,null,{default:(0,t.withCtx)(()=>n[0]||(n[0]=[(0,t.createTextVNode)(`mdi-volume-high`)])),_:1})]),_:1},8,[`color`,`class`])}}})})),gi=__esmMin((()=>{})),_i,vi=__esmMin((()=>{hi(),hi(),gi(),_(),_i=g(mi,[[`__scopeId`,`data-v-e1a0f62c`]])})),yi,bi=__esmMin((()=>{fi(),vi(),Dn(),yi=(0,t.defineComponent)({name:`MarkdownRenderer`,components:{MdTokenRenderer:di,AudioAutoPlayer:_i},props:{md:{type:String,required:!0}},computed:{tokens(){return En(this.md)}}})})),xi=__exportAll({default:()=>Si});function _sfc_render$15(e,n,r,i,a,o){let s=(0,t.resolveComponent)(`md-token-renderer`),c=(0,t.resolveComponent)(`audio-auto-player`);return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,null,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.tokens,(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`span`,{key:r},[n.type?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,token:n,last:r===e.tokens.length-1},null,8,[`token`,`last`])):n.audio?((0,t.openBlock)(),(0,t.createBlock)(c,{key:1,src:n.audio},null,8,[`src`])):(0,t.createCommentVNode)(``,!0)]))),128))])}var Si,Ci=__esmMin((()=>{bi(),bi(),_(),__name(_sfc_render$15,`_sfc_render`),Si=g(yi,[[`render`,_sfc_render$15]])})),wi=(0,t.defineComponent)({name:`MultipleChoiceOption`,components:{MarkdownRenderer:(0,t.defineAsyncComponent)(()=>Promise.resolve().then(()=>(Ci(),xi)))},props:{content:{type:String,required:!0},selected:{type:Boolean,required:!0},number:{type:Number,required:!0},setSelection:{type:Function,required:!0},submit:{type:Function,required:!0},markedWrong:{type:Boolean,required:!0}},computed:{className(){let e;switch(this.number){case 0:e=`bg-red`;break;case 1:e=`bg-purple`;break;case 2:e=`bg-indigo`;break;case 3:e=`bg-light-blue`;break;case 4:e=`bg-teal`;break;case 5:e=`bg-deep-orange`;break;default:e=`bg-grey`;break}if(this.selected&&!this.markedWrong)return`choice selected ${e} lighten-3 elevation-8`;if(!this.selected&&!this.markedWrong)return`choice not-selected ${e} lighten-4 elevation-1`;if(this.selected&&this.markedWrong)return`choice selected grey lighten-2 elevation-8`;if(!this.selected&&this.markedWrong)return`choice not-selected grey lighten-2 elevation-0`;throw Error(`'selected' and 'markedWrong' props in MultipleChoiceOption are in an impossible configuration.`)}},methods:{select(){this.setSelection(this.number)},submitThisOption(){this.markedWrong||(this.select(),this.submit())}}});_();function _sfc_render$14(e,n,r,i,a,o){let s=(0,t.resolveComponent)(`markdown-renderer`),c=(0,t.resolveComponent)(`v-card`);return(0,t.openBlock)(),(0,t.createBlock)(c,{class:(0,t.normalizeClass)(`${e.className}`),onMouseover:e.select,onClick:e.submitThisOption},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(s,{md:e.content},null,8,[`md`])]),_:1},8,[`class`,`onMouseover`,`onClick`])}__name(_sfc_render$14,`_sfc_render`);var Ti=g(wi,[[`render`,_sfc_render$14],[`__scopeId`,`data-v-96de7172`]]);L(),k();var Ei=(0,t.defineComponent)({name:`RadioMultipleChoice`,components:{MultipleChoiceOption:Ti},extends:I,props:{choiceList:{type:Array,required:!0}},data(){return{currentSelection:-1,incorrectSelections:[],containerRef:null,_registeredHotkeys:[]}},watch:{choiceList:{immediate:!0,handler(e){e?.length&&this.bindKeys()}}},mounted(){this.containerRef&&this.containerRef.focus()},unmounted(){this.unbindKeys()},methods:{forwardSelection(){if(!this.choiceIsWrong(this.choiceList[this.currentSelection])&&this.currentSelection!==-1){let e={choiceList:this.choiceList,selection:this.currentSelection};this.submitAnswer(e).isCorrect||this.incorrectSelections.push(this.currentSelection)}},setSelection(e){e<this.choiceList.length&&(this.currentSelection=e)},incrementSelection(){this.currentSelection===-1?this.currentSelection=Math.ceil(this.choiceList.length/2):this.currentSelection=Math.min(this.choiceList.length-1,this.currentSelection+1)},decrementSelection(){this.currentSelection===-1?this.currentSelection=Math.floor(this.choiceList.length/2-1):this.currentSelection=Math.max(0,this.currentSelection-1)},choiceIsWrong(e){let t=!1;return this.incorrectSelections.forEach(n=>{this.choiceList[n]===e&&(t=!0)}),t},bindKeys(){let e=[{hotkey:`left`,callback:this.decrementSelection,command:`Move selection left`},{hotkey:`right`,callback:this.incrementSelection,command:`Move selection right`},{hotkey:`enter`,callback:this.forwardSelection,command:`Submit selection`},...Array.from({length:this.choiceList.length},(e,t)=>({hotkey:(t+1).toString(),callback:()=>this.setSelection(t),command:`Select ${(e=>{switch(e){case 0:return`first`;case 1:return`second`;case 2:return`third`;case 3:return`fourth`;case 4:return`fifth`;case 5:return`sixth`;default:return`${e+1}th`}})(t)} option`}))];O.addBinding(e),this._registeredHotkeys=e.map(e=>e.hotkey)},unbindKeys(){this._registeredHotkeys&&this._registeredHotkeys.forEach(e=>{O.removeBinding(e)})}}});_();var Di={ref:`containerRef`,class:`multipleChoice`};function _sfc_render$13(e,n,r,i,a,o){let s=(0,t.resolveComponent)(`MultipleChoiceOption`);return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,Di,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.choiceList,(n,r)=>((0,t.openBlock)(),(0,t.createBlock)(s,{key:r,content:n,selected:e.choiceList.indexOf(n)===e.currentSelection,number:e.choiceList.indexOf(n),"set-selection":e.setSelection,submit:e.forwardSelection,"marked-wrong":e.choiceIsWrong(n)},null,8,[`content`,`selected`,`number`,`set-selection`,`submit`,`marked-wrong`]))),128))],512)}__name(_sfc_render$13,`_sfc_render`);var Oi=g(Ei,[[`render`,_sfc_render$13]]),ki=(0,t.defineComponent)({name:`TrueFalse`,components:{RadioMultipleChoice:Oi},props:{MouseTrap:{type:Object,required:!0},submit:{type:Function,required:!0}}});_();var Ai={"data-viewable":`TrueFalse`};function _sfc_render$12(e,n,r,i,a,o){let s=(0,t.resolveComponent)(`RadioMultipleChoice`);return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,Ai,[(0,t.createVNode)(s,{"choice-list":[`True`,`False`],MouseTrap:e.MouseTrap,submit:e.submit},null,8,[`MouseTrap`,`submit`])])}__name(_sfc_render$12,`_sfc_render`);var ji=g(ki,[[`render`,_sfc_render$12]]);L();var Mi=(0,t.defineComponent)({name:`UserInputNumber`,ref:{},extends:I,methods:{mounted(){this.$refs.input.focus()},isNumeric(e){return!isNaN(Number.parseFloat(e))},makeNumeric(e){if(typeof e==`string`)return Number.parseFloat(e);throw Error(`Expected a string, got `+typeof e)}}});_();function _sfc_render$11(e,n,r,i,a,o){let s=(0,t.resolveComponent)(`v-text-field`),c=(0,t.resolveComponent)(`v-container`);return(0,t.openBlock)(),(0,t.createBlock)(c,{class:`pa-0`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(s,{ref:`input`,modelValue:e.answer,"onUpdate:modelValue":n[0]||(n[0]=t=>e.answer=t),"prepend-icon":`edit`,autofocus:e.autofocus,"row-height":`24`,"toggle-keys":`[13,32]`,class:`text-h5`,rules:[e.isNumeric],onKeyup:n[1]||(n[1]=(0,t.withKeys)(t=>e.submitAnswer(e.makeNumeric(e.answer)),[`enter`]))},null,8,[`modelValue`,`autofocus`,`rules`])]),_:1})}__name(_sfc_render$11,`_sfc_render`);var Ni=g(Mi,[[`render`,_sfc_render$11],[`__scopeId`,`data-v-a56dcd1c`]]),Pi=(0,t.defineComponent)({name:`CardLoader`,components:{CardViewer:P},props:{sessionOrder:{type:Number,required:!1,default:0},qualified_id:{type:Object,required:!0},viewLookup:{type:Function,required:!0}},data(){return{loading:!0,view:null,data:[],courseID:``,cardID:``}},created(){this.loadCard()},watch:{qualified_id:{immediate:!0,handler(){this.loadCard()}}},methods:{processResponse(e){(0,r.log)(`
65
65
  Card was displayed at ${e.timeStamp}