lollms-webui/web/dist/assets/index-9deab5e4.js

49 lines
1.4 MiB
JavaScript
Raw Normal View History

2023-05-29 20:24:25 +02:00
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Ld(t,e){const n=Object.create(null),r=t.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return e?o=>!!n[o.toLowerCase()]:o=>!!n[o]}function Gn(t){if(me(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],o=Ye(r)?Sy(r):Gn(r);if(o)for(const i in o)e[i]=o[i]}return e}else{if(Ye(t))return t;if(Fe(t))return t}}const fy=/;(?![^(]*\))/g,Ey=/:([^]+)/,hy=/\/\*.*?\*\//gs;function Sy(t){const e={};return t.replace(hy,"").split(fy).forEach(n=>{if(n){const r=n.split(Ey);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function ke(t){let e="";if(Ye(t))e=t;else if(me(t))for(let n=0;n<t.length;n++){const r=ke(t[n]);r&&(e+=r+" ")}else if(Fe(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const by="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ty=Ld(by);function qE(t){return!!t||t===""}function yy(t,e){if(t.length!==e.length)return!1;let n=!0;for(let r=0;n&&r<t.length;r++)n=_i(t[r],e[r]);return n}function _i(t,e){if(t===e)return!0;let n=Vu(t),r=Vu(e);if(n||r)return n&&r?t.getTime()===e.getTime():!1;if(n=Yr(t),r=Yr(e),n||r)return t===e;if(n=me(t),r=me(e),n||r)return n&&r?yy(t,e):!1;if(n=Fe(t),r=Fe(e),n||r){if(!n||!r)return!1;const o=Object.keys(t).length,i=Object.keys(e).length;if(o!==i)return!1;for(const s in t){const a=t.hasOwnProperty(s),c=e.hasOwnProperty(s);if(a&&!c||!a&&c||!_i(t[s],e[s]))return!1}}return String(t)===String(e)}function YE(t,e){return t.findIndex(n=>_i(n,e))}const fe=t=>Ye(t)?t:t==null?"":me(t)||Fe(t)&&(t.toString===zE||!ve(t.toString))?JSON.stringify(t,HE,2):String(t),HE=(t,e)=>e&&e.__v_isRef?HE(t,e.value):Zn(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:mi(e)?{[`Set(${e.size})`]:[...e.values()]}:Fe(e)&&!me(e)&&!$E(e)?String(e):e,Be={},Xn=[],At=()=>{},vy=()=>!1,Cy=/^on[^a-z]/,pi=t=>Cy.test(t),kd=t=>t.startsWith("onUpdate:"),Qe=Object.assign,Pd=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Ry=Object.prototype.hasOwnProperty,Ie=(t,e)=>Ry.call(t,e),me=Array.isArray,Zn=t=>fr(t)==="[object Map]",mi=t=>fr(t)==="[object Set]",Vu=t=>fr(t)==="[object Date]",Oy=t=>fr(t)==="[object RegExp]",ve=t=>typeof t=="function",Ye=t=>typeof t=="string",Yr=t=>typeof t=="symbol",Fe=t=>t!==null&&typeof t=="object",VE=t=>Fe(t)&&ve(t.then)&&ve(t.catch),zE=Object.prototype.toString,fr=t=>zE.call(t),Ny=t=>fr(t).slice(8,-1),$E=t=>fr(t)==="[object Object]",Ud=t=>Ye(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Do=Ld(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gi=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Ay=/-(\w)/g,Bt=gi(t=>t.replace(Ay,(e,n)=>n?n.toUpperCase():"")),Iy=/\B([A-Z])/g,Hn=gi(t=>t.replace(Iy,"-$1").toLowerCase()),fi=gi(t=>t.charAt(0).toUpperCase()+t.slice(1)),$i=gi(t=>t?`on${fi(t)}`:""),Hr=(t,e)=>!Object.is(t,e),Jn=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},zo=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},Jl=t=>{const e=parseFloat(t);return isNaN(e)?t:e},xy=t=>{const e=Ye(t)?Number(t):NaN;return isNaN(e)?t:e};let zu;const wy=()=>zu||(zu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ct;class Dy{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ct,!e&&Ct&&(this.index=(Ct.scopes||(Ct.scopes=[])).push(this
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const Kn=typeof window<"u";function JC(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Le=Object.assign;function ts(t,e){const n={};for(const r in e){const o=e[r];n[r]=It(o)?o.map(t):t(o)}return n}const Pr=()=>{},It=Array.isArray,eR=/\/$/,tR=t=>t.replace(eR,"");function ns(t,e,n="/"){let r,o={},i="",s="";const a=e.indexOf("#");let c=e.indexOf("?");return a<c&&a>=0&&(c=-1),c>-1&&(r=e.slice(0,c),i=e.slice(c+1,a>-1?a:e.length),o=t(i)),a>-1&&(r=r||e.slice(0,a),s=e.slice(a,e.length)),r=iR(r??e,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:s}}function nR(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function O_(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function rR(t,e,n){const r=e.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&ar(e.matched[r],n.matched[o])&&Qh(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function ar(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Qh(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!oR(t[n],e[n]))return!1;return!0}function oR(t,e){return It(t)?N_(t,e):It(e)?N_(e,t):t===e}function N_(t,e){return It(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t.length===1&&t[0]===e}function iR(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/");let o=n.length-1,i,s;for(i=0;i<r.length;i++)if(s=r[i],s!==".")if(s==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var Xr;(function(t){t.pop="pop",t.push="push"})(Xr||(Xr={}));var Ur;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Ur||(Ur={}));function sR(t){if(!t)if(Kn){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),tR(t)}const aR=/^[^#]+#/;function cR(t,e){return t.replace(aR,"#")+e}function lR(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const Ni=()=>({left:window.pageXOffset,top:window.pageYOffset});function dR(t){let e;if("el"in t){const n=t.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;e=lR(o,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function A_(t,e){return(history.state?history.state.position-e:-1)+t}const pd=new Map;function uR(t,e){pd.set(t,e)}function _R(t){const e=pd.get(t);return pd.delete(t),e}let pR=()=>location.protocol+"//"+location.host;function jh(t,e){const{pathname:n,search:r,hash:o}=e,i=t.indexOf("#");if(i>-1){let a=o.includes(t.slice(i))?t.slice(i).length:1,c=o.slice(a);return c[0]!=="/"&&(c="/"+c),O_(c,"")}return O_(n,t)+r+o}function mR(t,e,n,r){let o=[],i=[],s=null;const a=({state:u})=>{const p=jh(t,location),m=n.value,g=e.value;let S=0;if(u){if(n.value=p,e.value=u,s&&s===m){s=null;return}S=g?u.position-g.position:0}else r(p);o.forEach(E=>{E(n.value,m,{delta:S,type:Xr.pop,direction:S?S>0?Ur.forward:Ur.back:Ur.unknown})})};function c(){s=n.value}function l(u){o.push(u);const p=()=>{const m=o.indexOf(u);m>-1&&o.splice(m,1)};return i.push(p),p}function d(){const{history:u}=window;u.state&&u.replaceState(Le({},u.state,{scroll:Ni()}),"")}function _(){for(const u of i)u();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d),{pauseListeners:c,listen:l,destroy:_}}function I_(t,e,n,r=!1,o=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:o?Ni():null}}function gR(t){const{history:e,location:n}=window,r={value:jh(t,n)},o={value:e.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function i(c,l,d){const _=t.indexOf("#"
Copyright (c) 2016 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(){var a=function(){function c(){}c.prototype=Object.create(null);function l(E,h){for(var b=h.length,T=0;T<b;++T)g(E,h[T])}var d={}.hasOwnProperty;function _(E,h){E[h]=!0}function u(E,h){for(var b in h)d.call(h,b)&&(E[b]=!!h[b])}var p=/\s+/;function m(E,h){for(var b=h.split(p),T=b.length,O=0;O<T;++O)E[b[O]]=!0}function g(E,h){if(h){var b=typeof h;b==="string"?m(E,h):Array.isArray(h)?l(E,h):b==="object"?u(E,h):b==="number"&&_(E,h)}}function S(){for(var E=arguments.length,h=Array(E),b=0;b<E;b++)h[b]=arguments[b];var T=new c;l(T,h);var O=[];for(var C in T)T[C]&&O.push(C);return O.join(" ")}return S}();typeof n<"u"&&n.exports?n.exports=a:(i=[],s=function(){return a}.apply(r,i),s!==void 0&&(n.exports=s))})()},"./node_modules/core-js/es/array/from.js":function(n,r,o){o("./node_modules/core-js/modules/es.string.iterator.js"),o("./node_modules/core-js/modules/es.array.from.js");var i=o("./node_modules/core-js/internals/path.js");n.exports=i.Array.from},"./node_modules/core-js/internals/a-function.js":function(n,r){n.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},"./node_modules/core-js/internals/an-object.js":function(n,r,o){var i=o("./node_modules/core-js/internals/is-object.js");n.exports=function(s){if(!i(s))throw TypeError(String(s)+" is not an object");return s}},"./node_modules/core-js/internals/array-from.js":function(n,r,o){var i=o("./node_modules/core-js/internals/bind-context.js"),s=o("./node_modules/core-js/internals/to-object.js"),a=o("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"),c=o("./node_modules/core-js/internals/is-array-iterator-method.js"),l=o("./node_modules/core-js/internals/to-length.js"),d=o("./node_modules/core-js/internals/create-property.js"),_=o("./node_modules/core-js/internals/get-iterator-method.js");n.exports=function(p){var m=s(p),g=typeof this=="function"?this:Array,S=arguments.length,E=S>1?arguments[1]:void 0,h=E!==void 0,b=0,T=_(m),O,C,x,A;if(h&&(E=i(E,S>2?arguments[2]:void 0,2)),T!=null&&!(g==Array&&c(T)))for(A=T.call(m),C=new g;!(x=A.next()).done;b++)d(C,b,h?a(A,E,[x.value,b],!0):x.value);else for(O=l(m.length),C=new g(O);O>b;b++)d(C,b,h?E(m[b],b):m[b]);return C.length=b,C}},"./node_modules/core-js/internals/array-includes.js":function(n,r,o){var i=o("./node_modules/core-js/internals/to-indexed-object.js"),s=o("./node_modules/core-js/internals/to-length.js"),a=o("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(c){return function(l,d,_){var u=i(l),p=s(u.length),m=a(_,p),g;if(c&&d!=d){for(;p>m;)if(g=u[m++],g!=g)return!0}else for(;p>m;m++)if((c||m in u)&&u[m]===d)return c||m||0;return!c&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,r,o){var i=o("./node_modules/core-js/internals/a-function.js");n.exports=function(s,a,c){if(i(s),a===void 0)return s;switch(c){case 0:return function(){return s.call(a)};case 1:return function(l){return s.call(a,l)};case 2:return function(l,d){return s.call(a,l,d)};case 3:return function(l,d,_){return s.call(a,l,d,_)}}return function(){return s.apply(a,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(n,r,o){var i=o("./node_modules/core-js/internals/an-object.js");n.exports=function(s,a,c,l){try{return l?a(i(c)[0],c[1]):a(c)}catch(_){var d=s.return;throw d!==void 0&&i(d.call(s)),_}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(n,r,o){var i=o("./node_modules/core-js/internals/well-known-symbol.js"),s=i("iterator"),a=!1;try{var c=0,l={next:function(){return{done:!!c++}},return:function(){a=!0}};l[s]=function(){return this},Array.from(l,function(){throw 2})}catch{}n.exports=function(d,_){if(!_&&!a)return!1;var u=!1;try{var p={};p[s]=function(){return{next:function(){return{done:u=!0}}}},d(p)}catch{}return u}},"./node_modules/core-js/internals/classof-raw.js":function(n,r){var o={}.toString;n.exports=function(i){return o.call(i).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,r,o){var i=o("./node_modules/core-js/internals/classof-r
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||e[n]&&RN[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},W_=Symbol("internals");function Nr(t){return t&&String(t).trim().toLowerCase()}function Uo(t){return t===!1||t==null?t:q.isArray(t)?t.map(Uo):String(t)}function NN(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const AN=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function is(t,e,n,r,o){if(q.isFunction(r))return r.call(this,e,n);if(o&&(e=n),!!q.isString(e)){if(q.isString(r))return e.indexOf(r)!==-1;if(q.isRegExp(r))return r.test(e)}}function IN(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function xN(t,e){const n=q.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(o,i,s){return this[r].call(this,e,o,i,s)},configurable:!0})})}class Di{constructor(e){e&&this.set(e)}set(e,n,r){const o=this;function i(a,c,l){const d=Nr(c);if(!d)throw new Error("header name must be a non-empty string");const _=q.findKey(o,d);(!_||o[_]===void 0||l===!0||l===void 0&&o[_]!==!1)&&(o[_||c]=Uo(a))}const s=(a,c)=>q.forEach(a,(l,d)=>i(l,d,c));return q.isPlainObject(e)||e instanceof this.constructor?s(e,n):q.isString(e)&&(e=e.trim())&&!AN(e)?s(ON(e),n):e!=null&&i(n,e,r),this}get(e,n){if(e=Nr(e),e){const r=q.findKey(this,e);if(r){const o=this[r];if(!n)return o;if(n===!0)return NN(o);if(q.isFunction(n))return n.call(this,o,r);if(q.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Nr(e),e){const r=q.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||is(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let o=!1;function i(s){if(s=Nr(s),s){const a=q.findKey(r,s);a&&(!n||is(r,r[a],a,n))&&(delete r[a],o=!0)}}return q.isArray(e)?e.forEach(i):i(e),o}clear(e){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!e||is(this,this[i],i,e,!0))&&(delete this[i],o=!0)}return o}normalize(e){const n=this,r={};return q.forEach(this,(o,i)=>{const s=q.findKey(r,i);if(s){n[s]=Uo(o),delete n[i];return}const a=e?IN(i):String(i).trim();a!==i&&delete n[i],n[a]=Uo(o),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return q.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=e&&q.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(o=>r.set(o)),r}static accessor(e){const r=(this[W_]=this[W_]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=Nr(s);r[a]||(xN(o,s),r[a]=!0)}return q.isArray(e)?e.forEach(i):i(e),this}}Di.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);q.freezeMethods(Di.prototype);q.freezeMethods(Di);const Qt=Di;function ss(t,e){const n=this||lu,r=e||n,o=Qt.from(r.headers);let i=r.data;return q.forEach(t,function(a){i=a.call(n,i,o.normalize(),e?e.status:void 0)}),o.normalize(),i}function CS(t){return!!(t&&t.__CANCEL__)}function so(t,e,n){xe.call(this,t??"canceled",xe.ERR_CANCELED,e,n),this.name="CanceledError"}q.inherits(so,xe,{__CANCEL__:!0});function wN(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new xe("Request failed with status code "+n.status,[xe.ERR_BAD_REQUEST,xe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const DN=Lt.isStandardBrowserEnv?function(){return{write:function(n,r,o,i,s,a){const c=[];c.push(n+"="+encodeURIComponent(r)),q.isNumber(o)&&c.push("expires="+new Date(o).toGMTString()),q.isString(i)&&c.push("path="+i),q.isString(s)&&c.push("domain="+s),a===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function MN(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function LN(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function RS(t,e){return t&&!MN(e)?LN(t,e):e}const kN=Lt.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let s=i;return e&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){const a=q.isString(s)?o(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function PN(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function UN(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o=0,i=0,s;return e=e!==void 0?e:1e3,function(c){const l=Date.now(),d=r[i];s||(s=l),n[o]=c,r[o]=l;let _=i,u=0;for(;_!==o;)u+=n[_++],_=_%t;if(o=(o+1)%t,o===i&&(i=(i+1)%t),l-s<e)return;const p=d&&l-d;return p?Math.round(u*1e3/p):void 0}}function K_(t,e){let n=0;const r=UN(50,250);return o=>{const i=o.loaded,s=o.lengthComputable?o.total:void 0,a=i-n,c=r(a),l=i<=s;n=i;const d={loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&l?(s-i)/c:void 0,event:o};d[e?"download":"upload"]=!0,t(d)}}const FN=typeof XMLHttpRequest<"u",BN=FN&&function(t){return new Promise(function(n,r){let o=t.data;const i=Qt.from(t.headers).normalize(),s=t.responseType;let a;function c(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}q.isFormData(o)&&(Lt.isStandardBrowserEnv||Lt.isStandardBrowserWebWorkerEnv)&&i.setContentType(!1);let l=new XMLHttpRequest;if(t.auth){const p=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(p+":"+m))}const d=RS(t.baseURL,t.url);l.open(t.method.toUpperCase(),TS(d,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function _(){if(!l)return;const p=Qt.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),g={data:!s||s==="text"||s==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:p,config:t,request:l};wN(function(E){n(E),c()},function(E){r(E),c()
`+t.personality.name,4,!0),this.configFile.personality=t.personality.name,this.configFile.personality_category=t.personality.category,this.configFile.personality_language=t.personality.language}),Se(()=>{Ce.replace()}))},onSelected(t){this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),t&&(t.isInstalled?this.configFile.model!=t.title&&(this.update_model(t.title),this.configFile.model=t.title,this.$refs.toast.showToast(`Selected model:
`+t.title,4,!0),this.settingsChanged=!0,this.isModelSelected=!0):this.$refs.toast.showToast(`Model:
`+t.title+`
is not installed`,4,!1),Se(()=>{Ce.replace()}))},onInstall(t){if(t.linkNotValid){t.installing=!1,this.$refs.toast.showToast("Link is not valid, file does not exist",4,!1);return}let e=t.path;this.showProgress=!0,this.progress=0,console.log("installing...");const n=r=>{if(console.log("received something"),r.status==="progress"){if(console.log(`Progress = ${r.progress}`),t.progress=r.progress,t.installing=!0,t.progress==100){const o=this.models.findIndex(i=>i.path===e);this.models[o].isInstalled=!0,this.showProgress=!1,t.installing=!1}}else if(r.status==="succeeded"){console.log("Received succeeded"),Ve.off("install_progress",n),console.log("Installed successfully");const o=this.models.findIndex(i=>i.path===e);this.models[o].isInstalled=!0,this.showProgress=!1,t.installing=!1,this.$refs.toast.showToast(`Model:
`+t.title+`
installed!`,4,!0),this.api_get_req("disk_usage").then(i=>{this.diskUsage=i})}else r.status==="failed"&&(Ve.off("install_progress",n),console.log("Install failed"),t.installing=!1,v,this.showProgress=!1,console.error("Installation failed:",r.error),this.$refs.toast.showToast(`Model:
`+t.title+`
failed to install!`,4,!1),this.api_get_req("disk_usage").then(o=>{this.diskUsage=o}))};Ve.on("install_progress",n),Ve.emit("install_model",{path:e}),console.log("Started installation, please wait")},onUninstall(t){console.log("uninstalling model...");const e=n=>{if(n.status==="progress")this.progress=n.progress;else if(n.status==="succeeded"){t.uninstalling=!1,Ve.off("install_progress",e),this.showProgress=!1;const r=this.models.findIndex(o=>o.path===t.path);this.models[r].isInstalled=!1,t.model.isCustomModel&&(this.models=this.models.filter(o=>o.title!==t.title)),this.$refs.toast.showToast(`Model:
`+t.title+`
was uninstalled!`,4,!0),this.api_get_req("disk_usage").then(o=>{this.diskUsage=o})}else n.status==="failed"&&(t.uninstalling=!1,this.showProgress=!1,Ve.off("install_progress",e),console.error("Uninstallation failed:",message.error),this.$refs.toast.showToast(`Model:
`+t.title+`
failed to uninstall!`,4,!1),this.api_get_req("disk_usage").then(r=>{this.diskUsage=r}))};Ve.on("install_progress",e),Ve.emit("uninstall_model",{path:t.path})},onSelectedBinding(t){this.update_binding(t.binding.folder)},onMessageBoxOk(){console.log("OK button clicked")},refresh(){this.api_get_req("list_models").then(t=>{this.modelsArr=t}),this.api_get_req("list_personalities_categories").then(t=>{this.persCatgArr=t}),this.api_get_req("list_personalities").then(t=>{this.persArr=t}),this.api_get_req("get_config").then(t=>{this.configFile=t,this.models.forEach(e=>{e.title==t.model?e.selected=!0:e.selected=!1})}),this.api_get_req("disk_usage").then(t=>{this.diskUsage=t}),this.getPersonalitiesArr(),this.fetchModels()},toggleAccordion(){this.showAccordion=!this.showAccordion},update_setting(t,e,n){const r={setting_name:t,setting_value:e};Ge.post("/update_setting",r).then(o=>{if(o)return n!==void 0&&n(o),o.data}).catch(o=>({status:!1}))},update_binding(t){this.isLoading=!0,this.update_setting("binding",t,e=>{this.refresh(),this.$refs.toast.showToast("Binding changed.",4,!0),this.settingsChanged=!0,this.isLoading=!1,Se(()=>{Ce.replace()}),this.update_model(null),this.configFile.model=null,this.api_get_req("disk_usage").then(n=>{this.diskUsage=n})})},update_model(t){t||(this.isModelSelected=!1),this.isLoading=!0,this.update_setting("model",t,e=>{this.isLoading=!1})},applyConfiguration(){this.isLoading=!0,Ge.post("/apply_settings").then(t=>{this.isLoading=!1,t.data.status==="succeeded"?(this.$refs.toast.showToast("Configuration changed successfully.",4,!0),this.settingsChanged=!1,this.save_configuration()):this.$refs.toast.showToast("Configuration change failed.",4,!1),Se(()=>{Ce.replace()})})},save_configuration(){this.showConfirmation=!1,Ge.post("/save_settings",{}).then(t=>{if(t)return t.status||this.$refs.messageBox.showMessage("Error: Couldn't save settings!"),t.data}).catch(t=>(console.log(t.message,"save_configuration"),this.$refs.messageBox.showMessage("Couldn't save settings!"),{status:!1}))},reset_configuration(){this.$refs.yesNoDialog.askQuestion(`Are you sure?
This will delete all your configurations and get back to default configuration.`).then(t=>{t&&Ge.post("/reset_settings",{}).then(e=>{if(e)return e.status?this.$refs.messageBox.showMessage("Settings have been reset correctly"):this.$refs.messageBox.showMessage("Couldn't reset settings!"),e.data}).catch(e=>(console.log(e.message,"reset_configuration"),this.$refs.messageBox.showMessage("Couldn't reset settings!"),{status:!1}))})},async api_get_req(t){try{const e=await Ge.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - settings");return}},closeToast(){this.showToast=!1},async getPersonalitiesArr(){this.isLoading=!0,this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=Object.keys(t);for(let n=0;n<e.length;n++){const r=e[n],o=t[r],i=Object.keys(o);for(let s=0;s<i.length;s++){const a=i[s],l=o[a].map(d=>{let _={};return _=d,_.category=a,_.language=r,_});this.personalities.length==0?this.personalities=l:this.personalities=this.personalities.concat(l)}}this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category&&n.language===this.configFile.personality_language),this.isLoading=!1},computedFileSize(t){return iu(t)}},async mounted(){this.isLoading=!0,Se(()=>{Ce.replace()}),this.configFile=await this.api_get_req("get_config"),this.configFile.model&&(this.isModelSelected=!0),this.fetchModels(),this.bindingsArr=await this.api_get_req("list_bindings"),this.modelsArr=await this.api_get_req("list_models"),this.persLangArr=await this.api_get_req("list_personalities_languages"),this.persCatgArr=await this.api_get_req("list_personalities_categories"),this.persArr=await this.api_get_req("list_personalities"),this.langArr=await this.api_get_req("list_languages"),await this.getPersonalitiesArr(),this.bindings=await this.api_get_req("list_bindings"),this.isLoading=!1,this.diskUsage=await this.api_get_req("disk_usage")},computed:{available_space(){return this.computedFileSize(this.diskUsage.available_space)},binding_models_usage(){return this.computedFileSize(this.diskUsage.binding_models_usage)},percent_usage(){return this.diskUsage.percent_usage},total_space(){return this.computedFileSize(this.diskUsage.total_space)}},watch:{bec_collapsed(){Se(()=>{Ce.replace()})},pc_collapsed(){Se(()=>{Ce.replace()})},mc_collapsed(){Se(()=>{Ce.replace()})},showConfirmation(){Se(()=>{Ce.replace()})},mzl_collapsed(){Se(()=>{Ce.replace()})},pzl_collapsed(){Se(()=>{Ce.replace()})},bzl_collapsed(){Se(()=>{Ce.replace()})},all_collapsed(t){this.collapseAll(t),Se(()=>{Ce.replace()})},settingsChanged(){Se(()=>{Ce.replace()})},isLoading(){Se(()=>{Ce.replace()})}}},De=t=>(Wd("data-v-8f4073b6"),t=t(),Kd(),t),Qx={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},jx={class:"sticky top-0 z-10 flex flex-row mb-2 p-3 gap-3 w-full rounded-b-lg bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},Xx={key:0,class:"flex gap-3 flex-1 items-center duration-75"},Zx=De(()=>f("i",{"data-feather":"x"},null,-1)),Jx=[Zx],ew=De(()=>f("i",{"data-feather":"check"},null,-1)),tw=[ew],nw={key:1,class:"flex gap-3 flex-1 items-center"},rw=De(()=>f("i",{"data-feather":"save"},null,-1)),ow=[rw],iw=De(()=>f("i",{"data-feather":"refresh-ccw"},null,-1)),sw=[iw],aw=De(()=>f("i",{"data-feather":"list"},null,-1)),cw=[aw],lw={class:"flex gap-3 flex-1 items-center justify-end"},dw={class:"flex gap-3 items-center"},uw={key:0,class:"flex gap-3 items-center"},_w=De(()=>f("i",{"data-feather":"check"},null,-1)),pw=[_w],mw={key:1,role:"status"},gw=De(()=>f("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[f("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"current
`,i6="∄",s6="∄",a6="𝔑",c6="𝔫",l6="≧̸",d6="≱",u6="≱",_6="≧̸",p6="⩾̸",m6="⩾̸",g6="⋙̸",f6="≵",E6="≫⃒",h6="≯",S6="≯",b6="≫̸",T6="↮",y6="⇎",v6="⫲",C6="∋",R6="⋼",O6="⋺",N6="∋",A6="Њ",I6="њ",x6="↚",w6="⇍",D6="‥",M6="≦̸",L6="≰",k6="↚",P6="⇍",U6="↮",F6="⇎",B6="≰",G6="≦̸",q6="⩽̸",Y6="⩽̸",H6="≮",V6="⋘̸",z6="≴",$6="≪⃒",W6="≮",K6="⋪",Q6="⋬",j6="≪̸",X6="∤",Z6="",J6=" ",eW="𝕟",tW="",nW="⫬",rW="¬",oW="≢",iW="≭",sW="∦",aW="∉",cW="≠",lW="≂̸",dW="∄",uW="≯",_W="≱",pW="≧̸",mW="≫̸",gW="≹",fW="⩾̸",EW="≵",hW="≎̸",SW="≏̸",bW="∉",TW="⋵̸",yW="⋹̸",vW="∉",CW="⋷",RW="⋶",OW="⧏̸",NW="⋪",AW="⋬",IW="≮",xW="≰",wW="≸",DW="≪̸",MW="⩽̸",LW="≴",kW="⪢̸",PW="⪡̸",UW="∌",FW="∌",BW="⋾",GW="⋽",qW="⊀",YW="⪯̸",HW="⋠",VW="∌",zW="⧐̸",$W="⋫",WW="⋭",KW="⊏̸",QW="⋢",jW="⊐̸",XW="⋣",ZW="⊂⃒",JW="⊈",e8="⊁",t8="⪰̸",n8="⋡",r8="≿̸",o8="⊃⃒",i8="⊉",s8="≁",a8="≄",c8="≇",l8="≉",d8="∤",u8="∦",_8="∦",p8="⫽⃥",m8="∂̸",g8="⨔",f8="⊀",E8="⋠",h8="⊀",S8="⪯̸",b8="⪯̸",T8="⤳̸",y8="↛",v8="⇏",C8="↝̸",R8="↛",O8="⇏",N8="⋫",A8="⋭",I8="⊁",x8="⋡",w8="⪰̸",D8="𝒩",M8="𝓃",L8="∤",k8="∦",P8="≁",U8="≄",F8="≄",B8="∤",G8="∦",q8="⋢",Y8="⋣",H8="⊄",V8="⫅̸",z8="⊈",$8="⊂⃒",W8="⊈",K8="⫅̸",Q8="⊁",j8="⪰̸",X8="⊅",Z8="⫆̸",J8="⊉",eK="⊃⃒",tK="⊉",nK="⫆̸",rK="≹",oK="Ñ",iK="ñ",sK="≸",aK="⋪",cK="⋬",lK="⋫",dK="⋭",uK="Ν",_K="ν",pK="#",mK="№",gK="",fK="≍⃒",EK="⊬",hK="⊭",SK="⊮",bK="⊯",TK="≥⃒",yK=">⃒",vK="⤄",CK="⧞",RK="⤂",OK="≤⃒",NK="<⃒",AK="⊴⃒",IK="⤃",xK="⊵⃒",wK="∼⃒",DK="⤣",MK="↖",LK="⇖",kK="↖",PK="⤧",UK="Ó",FK="ó",BK="⊛",GK="Ô",qK="ô",YK="⊚",HK="О",VK="о",zK="⊝",$K="Ő",WK="ő",KK="⨸",QK="⊙",jK="⦼",XK="Œ",ZK="œ",JK="⦿",e7="𝔒",t7="𝔬",n7="˛",r7="Ò",o7="ò",i7="⧁",s7="⦵",a7="Ω",c7="∮",l7="↺",d7="⦾",u7="⦻",_7="‾",p7="⧀",m7="Ō",g7="ō",f7="Ω",E7="ω",h7="Ο",S7="ο",b7="⦶",T7="⊖",y7="𝕆",v7="𝕠",C7="⦷",R7="“",O7="",N7="⦹",A7="⊕",I7="↻",x7="⩔",w7="",D7="⩝",M7="",L7="",k7="ª",P7="º",U7="⊶",F7="⩖",B7="⩗",G7="⩛",q7="Ⓢ",Y7="𝒪",H7="",V7="Ø",z7="ø",$7="⊘",W7="Õ",K7="õ",Q7="⨶",j7="⨷",X7="⊗",Z7="Ö",J7="ö",eQ="⌽",tQ="‾",nQ="⏞",rQ="⎴",oQ="⏜",iQ="¶",sQ="∥",aQ="∥",cQ="⫳",lQ="⫽",dQ="∂",uQ="∂",_Q="П",pQ="п",mQ="%",gQ=".",fQ="‰",EQ="⊥",hQ="‱",SQ="𝔓",bQ="𝔭",TQ="Φ",yQ="φ",vQ="ϕ",CQ="",RQ="☎",OQ="Π",NQ="π",AQ="⋔",IQ="ϖ",xQ="ℏ",wQ="",DQ="ℏ",MQ="⨣",LQ="⊞",kQ="⨢",PQ="+",UQ="∔",FQ="⨥",BQ="⩲",GQ="±",qQ="±",YQ="⨦",HQ="⨧",VQ="±",zQ="",$Q="⨕",WQ="𝕡",KQ="",QQ="£",jQ="⪷",XQ="⪻",ZQ="≺",JQ="≼",ej="⪷",tj="≺",nj="≼",rj="≺",oj="⪯",ij="≼",sj="≾",aj="⪯",cj="⪹",lj="⪵",dj="⋨",uj="⪯",_j="⪳",pj="≾",mj="",gj="″",fj="",Ej="⪹",hj="⪵",Sj="⋨",bj="∏",Tj="∏",yj="⌮",vj="⌒",Cj="⌓",Rj="∝",Oj="∝",Nj="∷",Aj="∝",Ij="≾",xj="⊰",wj="𝒫",Dj="𝓅",Mj="Ψ",Lj="ψ",kj="",Pj="𝔔",Uj="𝔮",Fj="⨌",Bj="𝕢",Gj="",qj="⁗",Yj="𝒬",Hj="𝓆",Vj="",zj="⨖",$j="?",Wj="≟",Kj='"',Qj='"',jj="⇛",Xj="∽̱",Zj="Ŕ",Jj="ŕ",eX="√",tX="⦳",nX="⟩",rX="⟫",oX="⦒",iX="⦥",sX="⟩",aX="»",cX="⥵",lX="⇥",dX="⤠",uX="⤳",_X="→",pX="↠",mX="⇒",gX="⤞",fX="↪",EX="↬",hX="⥅",SX="⥴",bX="⤖",TX="↣",yX="↝",vX="⤚",CX="⤜",RX="",OX="",NX="⤍",AX="⤏",IX="⤐",xX="",wX="}",DX="]",MX="⦌",LX="⦎",kX="⦐",PX="Ř",UX="ř",FX="Ŗ",BX="ŗ",GX="⌉",qX="}",YX="Р",HX="р",VX="⤷",zX="⥩",$X="”",WX="”",KX="↳",QX="",jX="",XX="",ZX="",JX="",eZ="▭",tZ="®",nZ="®",rZ="∋",oZ="⇋",iZ="⥯",sZ="⥽",aZ="⌋",cZ="𝔯",lZ="",dZ="⥤",uZ="⇁",_Z="⇀",pZ="⥬",mZ="Ρ",gZ="ρ",fZ="ϱ",EZ="⟩",hZ="⇥",SZ="→",bZ="→
`," "],ole=["{","}","|","\\","^","`"].concat(rle),ile=["'"].concat(ole),lp=["%","/","?",";","#"].concat(ile),dp=["/","?","#"],sle=255,up=/^[+a-z0-9A-Z_-]{0,63}$/,ale=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,_p={javascript:!0,"javascript:":!0},pp={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function cle(t,e){if(t&&t instanceof Jo)return t;var n=new Jo;return n.parse(t,e),n}Jo.prototype.parse=function(t,e){var n,r,o,i,s,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var c=nle.exec(a);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}var l=ele.exec(a);if(l&&(l=l[0],o=l.toLowerCase(),this.protocol=l,a=a.substr(l.length)),(e||l||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(s=a.substr(0,2)==="//",s&&!(l&&_p[l])&&(a=a.substr(2),this.slashes=!0)),!_p[l]&&(s||l&&!pp[l])){var d=-1;for(n=0;n<dp.length;n++)i=a.indexOf(dp[n]),i!==-1&&(d===-1||i<d)&&(d=i);var _,u;for(d===-1?u=a.lastIndexOf("@"):u=a.lastIndexOf("@",d),u!==-1&&(_=a.slice(0,u),a=a.slice(u+1),this.auth=_),d=-1,n=0;n<lp.length;n++)i=a.indexOf(lp[n]),i!==-1&&(d===-1||i<d)&&(d=i);d===-1&&(d=a.length),a[d-1]===":"&&d--;var p=a.slice(0,d);a=a.slice(d),this.parseHost(p),this.hostname=this.hostname||"";var m=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!m){var g=this.hostname.split(/\./);for(n=0,r=g.length;n<r;n++){var S=g[n];if(S&&!S.match(up)){for(var E="",h=0,b=S.length;h<b;h++)S.charCodeAt(h)>127?E+="x":E+=S[h];if(!E.match(up)){var T=g.slice(0,n),O=g.slice(n+1),C=S.match(ale);C&&(T.push(C[1]),O.unshift(C[2])),O.length&&(a=O.join(".")+a),this.hostname=T.join(".");break}}}}this.hostname.length>sle&&(this.hostname=""),m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var x=a.indexOf("#");x!==-1&&(this.hash=a.substr(x),a=a.slice(0,x));var A=a.indexOf("?");return A!==-1&&(this.search=a.substr(A),a=a.slice(0,A)),a&&(this.pathname=a),pp[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Jo.prototype.parseHost=function(t){var e=tle.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var lle=cle;yr.encode=jce;yr.decode=Zce;yr.format=Jce;yr.parse=lle;var Cn={},cs,mp;function $S(){return mp||(mp=1,cs=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),cs}var ls,gp;function WS(){return gp||(gp=1,ls=/[\0-\x1F\x7F-\x9F]/),ls}var ds,fp;function dle(){return fp||(fp=1,ds=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),ds}var us,Ep;function KS(){return Ep||(Ep=1,us=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),us}var hp;function ule(){return hp||(hp=1,Cn.Any=$S(),Cn.Cc=WS(),Cn.Cf=dle(),Cn.P=gu,Cn.Z=KS()),Cn}(function(t){function e(k){return Object.prototype.toString.call(k)}function n(k){return e(k)==="[object String]"}var r=Object.prototype.hasOwnProperty;function o(k,ne){return r.call(k,ne)}function i(k){var ne=Array.prototype.slice.call(arguments,1);return ne.forEach(function(K){if(K){if(typeof K!="object")throw new TypeError(K+"must be object");Object.keys(K).forEach(function(I){k[I]=K[I]})}}),k}function s(k,ne,K){return[].concat(k.slice(0,ne),K,k.slice(ne+1))}function a(k){return!(k>=55296&&k<=57343||k>=64976&&k<=65007||(k&65535)===65535||(k&65535)===65534||k>=0&&k<=8||k===11||k>=14&&k<=31||k>=127&&k<=159||k>1114111)}function c(k){if(k>65535){k-=65536;var ne=55296+(k>>10),K=56320+(k&1023);return String.fromCharCode(ne,K)}return String.fromCharCode(k)}var l=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,d=/&([a-z#][a-z0-9]{1,31});/gi,_=new RegExp(l.source+"|"+d.source,"gi"),u=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,p=Zo;function m(k,ne){var K=0;return o(p,ne)?p[ne]:ne.charCodeAt(0)===35&&u.test(ne)&&(K=ne[1].toLowerCase()==="x"?parseInt(ne.slice(2),16):parseInt(ne.slice(1),10),a(K))?c(K):k}function g(k){return k.indexOf("\\")<0?k:k.replace(l,"$1")}function S(k){return k.indexOf("\\"
`};Yt.fence=function(t,e,n,r,o){var i=t[e],s=i.info?Ele(i.info).trim():"",a="",c="",l,d,_,u,p;return s&&(_=s.split(/(\s+)/g),a=_[0],c=_.slice(2).join("")),n.highlight?l=n.highlight(i.content,a,c)||qn(i.content):l=qn(i.content),l.indexOf("<pre")===0?l+`
`:s?(d=i.attrIndex("class"),u=i.attrs?i.attrs.slice():[],d<0?u.push(["class",n.langPrefix+a]):(u[d]=u[d].slice(),u[d][1]+=" "+n.langPrefix+a),p={attrs:u},"<pre><code"+o.renderAttrs(p)+">"+l+`</code></pre>
`):"<pre><code"+o.renderAttrs(i)+">"+l+`</code></pre>
`};Yt.image=function(t,e,n,r,o){var i=t[e];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,n,r),o.renderToken(t,e,n)};Yt.hardbreak=function(t,e,n){return n.xhtmlOut?`<br />
`:`<br>
`};Yt.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`<br />
`:`<br>
`:`
`};Yt.text=function(t,e){return qn(t[e].content)};Yt.html_block=function(t,e){return t[e].content};Yt.html_inline=function(t,e){return t[e].content};function vr(){this.rules=fle({},Yt)}vr.prototype.renderAttrs=function(e){var n,r,o;if(!e.attrs)return"";for(o="",n=0,r=e.attrs.length;n<r;n++)o+=" "+qn(e.attrs[n][0])+'="'+qn(e.attrs[n][1])+'"';return o};vr.prototype.renderToken=function(e,n,r){var o,i="",s=!1,a=e[n];return a.hidden?"":(a.block&&a.nesting!==-1&&n&&e[n-1].hidden&&(i+=`
`),i+=(a.nesting===-1?"</":"<")+a.tag,i+=this.renderAttrs(a),a.nesting===0&&r.xhtmlOut&&(i+=" /"),a.block&&(s=!0,a.nesting===1&&n+1<e.length&&(o=e[n+1],(o.type==="inline"||o.hidden||o.nesting===-1&&o.tag===a.tag)&&(s=!1))),i+=s?`>
`:">",i)};vr.prototype.renderInline=function(t,e,n){for(var r,o="",i=this.rules,s=0,a=t.length;s<a;s++)r=t[s].type,typeof i[r]<"u"?o+=i[r](t,s,e,n,this):o+=this.renderToken(t,s,e);return o};vr.prototype.renderInlineAsText=function(t,e,n){for(var r="",o=0,i=t.length;o<i;o++)t[o].type==="text"?r+=t[o].content:t[o].type==="image"?r+=this.renderInlineAsText(t[o].children,e,n):t[o].type==="softbreak"&&(r+=`
`);return r};vr.prototype.render=function(t,e,n){var r,o,i,s="",a=this.rules;for(r=0,o=t.length;r<o;r++)i=t[r].type,i==="inline"?s+=this.renderInline(t[r].children,e,n):typeof a[i]<"u"?s+=a[t[r].type](t,r,e,n,this):s+=this.renderToken(t,r,e,n);return s};var hle=vr;function xt(){this.__rules__=[],this.__cache__=null}xt.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1};xt.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(r){e.indexOf(r)<0&&e.push(r)})}),t.__cache__={},e.forEach(function(n){t.__cache__[n]=[],t.__rules__.forEach(function(r){r.enabled&&(n&&r.alt.indexOf(n)<0||t.__cache__[n].push(r.fn))})})};xt.prototype.at=function(t,e,n){var r=this.__find__(t),o=n||{};if(r===-1)throw new Error("Parser rule not found: "+t);this.__rules__[r].fn=e,this.__rules__[r].alt=o.alt||[],this.__cache__=null};xt.prototype.before=function(t,e,n,r){var o=this.__find__(t),i=r||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o,0,{name:e,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null};xt.prototype.after=function(t,e,n,r){var o=this.__find__(t),i=r||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o+1,0,{name:e,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null};xt.prototype.push=function(t,e,n){var r=n||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:r.alt||[]}),this.__cache__=null};xt.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(r){var o=this.__find__(r);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[o].enabled=!0,n.push(r)},this),this.__cache__=null,n};xt.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(t,e)};xt.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(r){var o=this.__find__(r);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[o].enabled=!1,n.push(r)},this),this.__cache__=null,n};xt.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var fu=xt,Sle=/\r\n?|\n/g,ble=/\0/g,Tle=function(e){var n;n=e.src.replace(Sle,`
`),n=n.replace(ble,"<22>"),e.src=n},yle=function(e){var n;e.inlineMode?(n=new e.Token("inline","",0),n.content=e.src,n.map=[0,1],n.children=[],e.tokens.push(n)):e.md.block.parse(e.src,e.md,e.env,e.tokens)},vle=function(e){var n=e.tokens,r,o,i;for(o=0,i=n.length;o<i;o++)r=n[o],r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)},Cle=Me.arrayReplaceAt;function Rle(t){return/^<a[>\s]/i.test(t)}function Ole(t){return/^<\/a\s*>/i.test(t)}var Nle=function(e){var n,r,o,i,s,a,c,l,d,_,u,p,m,g,S,E,h=e.tokens,b;if(e.md.options.linkify){for(r=0,o=h.length;r<o;r++)if(!(h[r].type!=="inline"||!e.md.linkify.pretest(h[r].content)))for(i=h[r].children,m=0,n=i.length-1;n>=0;n--){if(a=i[n],a.type==="link_close"){for(n--;i[n].level!==a.level&&i[n].type!=="link_open";)n--;continue}if(a.type==="html_inline"&&(Rle(a.content)&&m>0&&m--,Ole(a.content)&&m++),!(m>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(d=a.content,b=e.md.linkify.match(d),c=[],p=a.level,u=0,b.length>0&&b[0].index===0&&n>0&&i[n-1].type==="text_special"&&(b=b.slice(1)),l=0;l<b.length;l++)g=b[l].url,S=e.md.normalizeLink(g),e.md.validateLink(S)&&(E=b[l].text,b[l].schema?b[l].schema==="mailto:"&&!/^mailto:/i.test(E)?E=e.md.normalizeLinkText("mailto:"+E).replace(/^mailto:/,""):E=e.md.normalizeLinkText(E):E=e.md.normalizeLinkText("http://"+E).replace(/^http:\/\//,""),_=b[l].index,_>u&&(s=new e.Token("text","",0),s.content=d.slice(u,_),s.level=p,c.push(s)),s=new e.Token("link_open","a",1),s.attrs=[["href",S]],s.level=p++,s.markup="linkify",s.info="auto",c.push(s),s=new e.Token("text","",0),s.content=E,s.level=p,c.push(s),s=new e.Token("link_close","a",-1),s.level=--p,s.markup="linkify",s.info="auto",c.push(s),u=b[l].lastIndex);u<d.length&&(s=new e.Token("text","",0),s.content=d.slice(u),s.level=p,c.push(s)),h[r].children=i=Cle(i,n,c)}}}},QS=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Ale=/\((c|tm|r)\)/i,Ile=/\((c|tm|r)\)/ig,xle={c:"©",r:"®",tm:"™"};function wle(t,e){return xle[e.toLowerCase()]}function Dle(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!r&&(n.content=n.content.replace(Ile,wle)),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}function Mle(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!r&&QS.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1")),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}var Lle=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(Ale.test(e.tokens[n].content)&&Dle(e.tokens[n].children),QS.test(e.tokens[n].content)&&Mle(e.tokens[n].children))},bp=Me.isWhiteSpace,Tp=Me.isPunctChar,yp=Me.isMdAsciiPunct,kle=/['"]/,vp=/['"]/g,Cp="";function yo(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Ple(t,e){var n,r,o,i,s,a,c,l,d,_,u,p,m,g,S,E,h,b,T,O,C;for(T=[],n=0;n<t.length;n++){for(r=t[n],c=t[n].level,h=T.length-1;h>=0&&!(T[h].level<=c);h--);if(T.length=h+1,r.type==="text"){o=r.content,s=0,a=o.length;e:for(;s<a&&(vp.lastIndex=s,i=vp.exec(o),!!i);){if(S=E=!0,s=i.index+1,b=i[0]==="'",d=32,i.index-1>=0)d=o.charCodeAt(i.index-1);else for(h=n-1;h>=0&&!(t[h].type==="softbreak"||t[h].type==="hardbreak");h--)if(t[h].content){d=t[h].content.charCodeAt(t[h].content.length-1);break}if(_=32,s<a)_=o.charCodeAt(s);else for(h=n+1;h<t.length&&!(t[h].type==="softbreak"||t[h].type==="hardbreak");h++)if(t[h].content){_=t[h].content.charCodeAt(0);break}if(u=yp(d)||Tp(String.fromCharCode(d)),p=yp(_)||Tp(String.fromCharCode(_)),m=bp(d),g=bp(_),g?S=!1:p&&(m||u||(S=!1)),m?E=!1:u&&(g||p||(E=!1)),_===34&&i[0]==='"'&&d>=48&&d<=57&&(E=S=!1),S&&E&&(S=u,E=p),!S&&!E){b&&(r.content=yo(r.content,i.index,Cp));continue}if(E){for(h=T.length-1;h>=0&&(l=T[h],!(T[h].level<c));h--)if(l.single===b&&T[h].level===c){l=T[h],b?(O=e.md.options.quotes[2],C=e.md.options.quotes[
`,s.map=[n,e.line],!0},zle=function(e,n,r,o){var i,s,a,c,l,d,_,u=!1,p=e.bMarks[n]+e.tShift[n],m=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||p+3>m||(i=e.src.charCodeAt(p),i!==126&&i!==96)||(l=p,p=e.skipChars(p,i),s=p-l,s<3)||(_=e.src.slice(l,p),a=e.src.slice(p,m),i===96&&a.indexOf(String.fromCharCode(i))>=0))return!1;if(o)return!0;for(c=n;c++,!(c>=r||(p=l=e.bMarks[c]+e.tShift[c],m=e.eMarks[c],p<m&&e.sCount[c]<e.blkIndent));)if(e.src.charCodeAt(p)===i&&!(e.sCount[c]-e.blkIndent>=4)&&(p=e.skipChars(p,i),!(p-l<s)&&(p=e.skipSpaces(p),!(p<m)))){u=!0;break}return s=e.sCount[n],e.line=c+(u?1:0),d=e.push("fence","code",0),d.info=a,d.content=e.getLines(n+1,c,s,!0),d.markup=_,d.map=[n,e.line],!0},Op=Me.isSpace,$le=function(e,n,r,o){var i,s,a,c,l,d,_,u,p,m,g,S,E,h,b,T,O,C,x,A,G=e.lineMax,P=e.bMarks[n]+e.tShift[n],L=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(P++)!==62)return!1;if(o)return!0;for(c=p=e.sCount[n]+1,e.src.charCodeAt(P)===32?(P++,c++,p++,i=!1,T=!0):e.src.charCodeAt(P)===9?(T=!0,(e.bsCount[n]+p)%4===3?(P++,c++,p++,i=!1):i=!0):T=!1,m=[e.bMarks[n]],e.bMarks[n]=P;P<L&&(s=e.src.charCodeAt(P),Op(s));){s===9?p+=4-(p+e.bsCount[n]+(i?1:0))%4:p++;P++}for(g=[e.bsCount[n]],e.bsCount[n]=e.sCount[n]+1+(T?1:0),d=P>=L,h=[e.sCount[n]],e.sCount[n]=p-c,b=[e.tShift[n]],e.tShift[n]=P-e.bMarks[n],C=e.md.block.ruler.getRules("blockquote"),E=e.parentType,e.parentType="blockquote",u=n+1;u<r&&(A=e.sCount[u]<e.blkIndent,P=e.bMarks[u]+e.tShift[u],L=e.eMarks[u],!(P>=L));u++){if(e.src.charCodeAt(P++)===62&&!A){for(c=p=e.sCount[u]+1,e.src.charCodeAt(P)===32?(P++,c++,p++,i=!1,T=!0):e.src.charCodeAt(P)===9?(T=!0,(e.bsCount[u]+p)%4===3?(P++,c++,p++,i=!1):i=!0):T=!1,m.push(e.bMarks[u]),e.bMarks[u]=P;P<L&&(s=e.src.charCodeAt(P),Op(s));){s===9?p+=4-(p+e.bsCount[u]+(i?1:0))%4:p++;P++}d=P>=L,g.push(e.bsCount[u]),e.bsCount[u]=e.sCount[u]+1+(T?1:0),h.push(e.sCount[u]),e.sCount[u]=p-c,b.push(e.tShift[u]),e.tShift[u]=P-e.bMarks[u];continue}if(d)break;for(O=!1,a=0,l=C.length;a<l;a++)if(C[a](e,u,r,!0)){O=!0;break}if(O){e.lineMax=u,e.blkIndent!==0&&(m.push(e.bMarks[u]),g.push(e.bsCount[u]),b.push(e.tShift[u]),h.push(e.sCount[u]),e.sCount[u]-=e.blkIndent);break}m.push(e.bMarks[u]),g.push(e.bsCount[u]),b.push(e.tShift[u]),h.push(e.sCount[u]),e.sCount[u]=-1}for(S=e.blkIndent,e.blkIndent=0,x=e.push("blockquote_open","blockquote",1),x.markup=">",x.map=_=[n,0],e.md.block.tokenize(e,n,u),x=e.push("blockquote_close","blockquote",-1),x.markup=">",e.lineMax=G,e.parentType=E,_[1]=e.line,a=0;a<b.length;a++)e.bMarks[a+n]=m[a],e.tShift[a+n]=b[a],e.sCount[a+n]=h[a],e.bsCount[a+n]=g[a];return e.blkIndent=S,!0},Wle=Me.isSpace,Kle=function(e,n,r,o){var i,s,a,c,l=e.bMarks[n]+e.tShift[n],d=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||(i=e.src.charCodeAt(l++),i!==42&&i!==45&&i!==95))return!1;for(s=1;l<d;){if(a=e.src.charCodeAt(l++),a!==i&&!Wle(a))return!1;a===i&&s++}return s<3?!1:(o||(e.line=n+1,c=e.push("hr","hr",0),c.map=[n,e.line],c.markup=Array(s+1).join(String.fromCharCode(i))),!0)},XS=Me.isSpace;function Np(t,e){var n,r,o,i;return r=t.bMarks[e]+t.tShift[e],o=t.eMarks[e],n=t.src.charCodeAt(r++),n!==42&&n!==45&&n!==43||r<o&&(i=t.src.charCodeAt(r),!XS(i))?-1:r}function Ap(t,e){var n,r=t.bMarks[e]+t.tShift[e],o=r,i=t.eMarks[e];if(o+1>=i||(n=t.src.charCodeAt(o++),n<48||n>57))return-1;for(;;){if(o>=i)return-1;if(n=t.src.charCodeAt(o++),n>=48&&n<=57){if(o-r>=10)return-1;continue}if(n===41||n===46)break;return-1}return o<i&&(n=t.src.charCodeAt(o),!XS(n))?-1:o}function Qle(t,e){var n,r,o=t.level+2;for(n=e+2,r=t.tokens.length-2;n<r;n++)t.tokens[n].level===o&&t.tokens[n].type==="paragraph_open"&&(t.tokens[n+2].hidden=!0,t.tokens[n].hidden=!0,n+=2)}var jle=function(e,n,r,o){var i,s,a,c,l,d,_,u,p,m,g,S,E,h,b,T,O,C,x,A,G,P,L,H,oe,k,ne,K,I=!1,Y=!0;if(e.sCount[n]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[n]-e.listIndent>=4&&e.sCount[n]<e.blkIndent)return!1;if(o&&e.parentType==="paragraph"&&e.sCount[n]>=e.blkIndent&&(I=!0),(L=Ap(e,n))>=0){if(_=!0,oe=e.bMarks[n]+e.tShift[n],E=Number(e.src.slice(oe,L-1)),I&&E!==1)return!1}else if((L=Np(e,n))>=0)_=!1;else return!1;if(I&&e.skipSpaces(L)>
https://github.com/highlightjs/highlight.js/issues/2277`),de=I,pe=Y),re===void 0&&(re=!0);const ge={code:pe,language:de};ne("before:highlight",ge);const Re=ge.result?ge.result:_(ge.language,ge.code,re);return Re.code=ge.code,ne("after:highlight",Re),Re}function _(I,Y,re,pe){const de=Object.create(null);function ge(z,j){return z.keywords[j]}function Re(){if(!M.keywords){F.addText(ee);return}let z=0;M.keywordPatternRe.lastIndex=0;let j=M.keywordPatternRe.exec(ee),ce="";for(;j;){ce+=ee.substring(z,j.index);const Te=B.case_insensitive?j[0].toLowerCase():j[0],Pe=ge(M,Te);if(Pe){const[Je,Ae]=Pe;if(F.addText(ce),ce="",de[Te]=(de[Te]||0)+1,de[Te]<=D3e&&(ie+=Ae),Je.startsWith("_"))ce+=j[0];else{const Vt=B.classNameAliases[Je]||Je;W(j[0],Vt)}}else ce+=j[0];z=M.keywordPatternRe.lastIndex,j=M.keywordPatternRe.exec(ee)}ce+=ee.substring(z),F.addText(ce)}function ye(){if(ee==="")return;let z=null;if(typeof M.subLanguage=="string"){if(!e[M.subLanguage]){F.addText(ee);return}z=_(M.subLanguage,ee,!0,J[M.subLanguage]),J[M.subLanguage]=z._top}else z=p(ee,M.subLanguage.length?M.subLanguage:null);M.relevance>0&&(ie+=z.relevance),F.__addSublanguage(z._emitter,z.language)}function w(){M.subLanguage!=null?ye():Re(),ee=""}function W(z,j){z!==""&&(F.startScope(j),F.addText(z),F.endScope())}function $(z,j){let ce=1;const Te=j.length-1;for(;ce<=Te;){if(!z._emit[ce]){ce++;continue}const Pe=B.classNameAliases[z[ce]]||z[ce],Je=j[ce];Pe?W(Je,Pe):(ee=Je,Re(),ee=""),ce++}}function Q(z,j){return z.scope&&typeof z.scope=="string"&&F.openNode(B.classNameAliases[z.scope]||z.scope),z.beginScope&&(z.beginScope._wrap?(W(ee,B.classNameAliases[z.beginScope._wrap]||z.beginScope._wrap),ee=""):z.beginScope._multi&&($(z.beginScope,j),ee="")),M=Object.create(z,{parent:{value:M}}),M}function le(z,j,ce){let Te=KYe(z.endRe,ce);if(Te){if(z["on:end"]){const Pe=new Vp(z);z["on:end"](j,Pe),Pe.isMatchIgnored&&(Te=!1)}if(Te){for(;z.endsParent&&z.parent;)z=z.parent;return z}}if(z.endsWithParent)return le(z.parent,j,ce)}function he(z){return M.matcher.regexIndex===0?(ee+=z[0],1):(Ee=!0,0)}function ae(z){const j=z[0],ce=z.rule,Te=new Vp(ce),Pe=[ce.__beforeBegin,ce["on:begin"]];for(const Je of Pe)if(Je&&(Je(z,Te),Te.isMatchIgnored))return he(j);return ce.skip?ee+=j:(ce.excludeBegin&&(ee+=j),w(),!ce.returnBegin&&!ce.excludeBegin&&(ee=j)),Q(ce,z),ce.returnBegin?0:j.length}function y(z){const j=z[0],ce=Y.substring(z.index),Te=le(M,z,ce);if(!Te)return jp;const Pe=M;M.endScope&&M.endScope._wrap?(w(),W(j,M.endScope._wrap)):M.endScope&&M.endScope._multi?(w(),$(M.endScope,z)):Pe.skip?ee+=j:(Pe.returnEnd||Pe.excludeEnd||(ee+=j),w(),Pe.excludeEnd&&(ee=j));do M.scope&&F.closeNode(),!M.skip&&!M.subLanguage&&(ie+=M.relevance),M=M.parent;while(M!==Te.parent);return Te.starts&&Q(Te.starts,z),Pe.returnEnd?0:j.length}function R(){const z=[];for(let j=M;j!==B;j=j.parent)j.scope&&z.unshift(j.scope);z.forEach(j=>F.openNode(j))}let D={};function U(z,j){const ce=j&&j[0];if(ee+=z,ce==null)return w(),0;if(D.type==="begin"&&j.type==="end"&&D.index===j.index&&ce===""){if(ee+=Y.slice(j.index,j.index+1),!o){const Te=new Error(`0 width match regex (${I})`);throw Te.languageName=I,Te.badRule=D.rule,Te}return 1}if(D=j,j.type==="begin")return ae(j);if(j.type==="illegal"&&!re){const Te=new Error('Illegal lexeme "'+ce+'" for mode "'+(M.scope||"<unnamed>")+'"');throw Te.mode=M,Te}else if(j.type==="end"){const Te=y(j);if(Te!==jp)return Te}if(j.type==="illegal"&&ce==="")return 1;if(_e>1e5&&_e>j.index*3)throw new Error("potential infinite loop, way more iterations than matches");return ee+=ce,ce.length}const B=G(I);if(!B)throw Fn(i.replace("{}",I)),new Error('Unknown language: "'+I+'"');const Z=A3e(B);let te="",M=pe||Z;const J={},F=new a.__emitter(a);R();let ee="",ie=0,se=0,_e=0,Ee=!1;try{if(B.__emitTokens)B.__emitTokens(Y,F);else{for(M.matcher.considerAll();;){_e++,Ee?Ee=!1:M.matcher.considerAll(),M.matcher.lastIndex=se;const z=M.matcher.exec(Y);if(!z)break;const j=Y.substring(se,z.index),ce=U(j,z);se=z.index+ce}U(Y.substring(se))}return F.finalize(),te=F.toHTML(),{language:I,value:te,relevance:ie,illegal:!1,_emitter
`},m]}}return ac=o,ac}var cc,Pg;function SVe(){if(Pg)return cc;Pg=1;function t(e){const n="[a-zA-Z_][\\w.]*",r="<\\?(lasso(script)?|=)",o="\\]|\\?>",i={$pattern:n+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},s=e.COMMENT("<!--","-->",{relevance:0}),a={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[s]}},c={className:"meta",begin:"\\[/noprocess|"+r},l={className:"symbol",begin:"'"+n+"'"},d=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+n},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:n,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+n,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[l]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:n+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:o,relevance:0,starts:{end:"\\[|"+r,returnEnd:!0,relevance:0,contains:[s]}},a,c,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:i,contains:[{className:"meta",begin:o,relevance:0,starts:{end:"\\[noprocess\\]|"+r,returnEnd:!0,contains:[s]}},a,c].concat(d)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(d)}}return cc=t,cc}var lc,Ug;function bVe(){if(Ug)return lc;Ug=1;function t(e){const r=e.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(L=>L+"(?![a-zA-Z@:_])")),o=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-
]`,m={scope:"string",variants:[d,l,_,u]},g={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},S=["false","null","true"],E=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],h=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],T={keyword:E,literal:(k=>{const ne=[];return k.forEach(K=>{ne.push(K),K.toLowerCase()===K?ne.push(K.toUpperCase()):ne.push(K.toLowerCase())}),ne})(S),built_in:h},O=k=>k.map(ne=>ne.replace(/\|\d+$/,"")),C={variants:[{match:[/new/,n.concat(p,"+"),n.concat("(?!",O(h).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},x=n.concat(o,"\\b(?!\\()"),A={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),x],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,n.concat(/::/,n.lookahead(/(?!class\b)/)),x],scope:{1:"title.class",3:"variable.constant"}},{match:[i,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},G={scope:"attr",match:n.concat(o,n.lookahead(":"),n.lookahead(/(?!::)/))},P={relevance:0,begin:/\(/,end:/\)/,keywords:T,contains:[G,s,A,e.C_BLOCK_COMMENT_MODE,m,g,C]},L={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",O(E).join("\\b|"),"|",O(h).join("\\b|"),"\\b)"),o,n.concat(p,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[P]};P.contains.push(L);const H=[G,A,e.C_BLOCK_COMMENT_MODE,m,g,C],oe={begin:n.concat(/#\[\s*/,i),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:S,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:S,keyword:["new","array"]},contains:["self",...H]}
]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return Tl=t,Tl}var yl,Xf;function Mze(){if(Xf)return yl;Xf=1;function t(e){const n="[a-z][a-zA-Z0-9_]*",r={className:"string",begin:"\\$.{1}"},o={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:n+":",relevance:0},e.C_NUMBER_MODE,o,r,{begin:"\\|[ ]*"+n+"([ ]+"+n+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+n}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,r,e.C_NUMBER_MODE,o]}]}}return yl=t,yl}var vl,Zf;function Lze(){if(Zf)return vl;Zf=1;function t(e){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}return vl=t,vl}var Cl,Jf;function kze(){if(Jf)return Cl;Jf=1;function t(e){const n={className:"variable",begin:/\b_+[a-zA-Z]\w*/},r={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},o={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},i=["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],s=["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],a=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","a
]*?"'`},{begin:`"[^\r
"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},e.COMMENT("^[ ]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}return Nl=t,Nl}var Al,rE;function Bze(){if(rE)return Al;rE=1;function t(e){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}return Al=t,Al}var Il,oE;function Gze(){if(oE)return Il;oE=1;const t=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.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:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.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_-]*/}}),e=["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","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["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"],r=["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","i
(multipart)?`,end:`\\]
`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}return xl=t,xl}var wl,sE;function Yze(){if(sE)return wl;sE=1;function t(A){return A?typeof A=="string"?A:A.source:null}function e(A){return n("(?=",A,")")}function n(...A){return A.map(P=>t(P)).join("")}function r(A){const G=A[A.length-1];return typeof G=="object"&&G.constructor===Object?(A.splice(A.length-1,1),G):{}}function o(...A){return"("+(r(A).capture?"":"?:")+A.map(L=>t(L)).join("|")+")"}const i=A=>n(/\b/,A,/\w$/.test(A)?/\b/:/\B/),s=["Protocol","Type"].map(i),a=["init","self"].map(i),c=["Any","Self"],l=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","distributed","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],d=["false","nil","true"],_=["assignment","associativity","higherThan","left","lowerThan","none","right"],u=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],p=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],m=o(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),g=o(m,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),S=n(m,g,"*"),E=o(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),h=o(E,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),b=n(E,h,"*"),T=n(/[A-Z]/,h,"*"),O=["autoclosure",n(/convention\(/,o("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,b,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],C=["iOS","iOSApplicationExtension","