lollms-webui/web/dist/assets/index-a948d86d.js

37 lines
1.4 MiB
JavaScript
Raw Normal View History

2023-05-11 10:08:50 +00: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 a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).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 vd(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 ti(t){if(pe(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],o=Pe(r)?VT(r):ti(r);if(o)for(const i in o)e[i]=o[i]}return e}else{if(Pe(t))return t;if(we(t))return t}}const qT=/;(?![^(]*\))/g,YT=/:([^]+)/,HT=/\/\*.*?\*\//gs;function VT(t){const e={};return t.replace(HT,"").split(qT).forEach(n=>{if(n){const r=n.split(YT);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function Ke(t){let e="";if(Pe(t))e=t;else if(pe(t))for(let n=0;n<t.length;n++){const r=Ke(t[n]);r&&(e+=r+" ")}else if(we(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const zT="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$T=vd(zT);function SE(t){return!!t||t===""}function WT(t,e){if(t.length!==e.length)return!1;let n=!0;for(let r=0;n&&r<t.length;r++)n=ni(t[r],e[r]);return n}function ni(t,e){if(t===e)return!0;let n=Nu(t),r=Nu(e);if(n||r)return n&&r?t.getTime()===e.getTime():!1;if(n=Ir(t),r=Ir(e),n||r)return t===e;if(n=pe(t),r=pe(e),n||r)return n&&r?WT(t,e):!1;if(n=we(t),r=we(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 a in t){const s=t.hasOwnProperty(a),c=e.hasOwnProperty(a);if(s&&!c||!s&&c||!ni(t[a],e[a]))return!1}}return String(t)===String(e)}function bE(t,e){return t.findIndex(n=>ni(n,e))}const et=t=>Pe(t)?t:t==null?"":pe(t)||we(t)&&(t.toString===vE||!he(t.toString))?JSON.stringify(t,TE,2):String(t),TE=(t,e)=>e&&e.__v_isRef?TE(t,e.value):Yn(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:oi(e)?{[`Set(${e.size})`]:[...e.values()]}:we(e)&&!pe(e)&&!RE(e)?String(e):e,Me={},qn=[],vt=()=>{},KT=()=>!1,QT=/^on[^a-z]/,ri=t=>QT.test(t),Rd=t=>t.startsWith("onUpdate:"),je=Object.assign,Cd=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},jT=Object.prototype.hasOwnProperty,Re=(t,e)=>jT.call(t,e),pe=Array.isArray,Yn=t=>or(t)==="[object Map]",oi=t=>or(t)==="[object Set]",Nu=t=>or(t)==="[object Date]",XT=t=>or(t)==="[object RegExp]",he=t=>typeof t=="function",Pe=t=>typeof t=="string",Ir=t=>typeof t=="symbol",we=t=>t!==null&&typeof t=="object",yE=t=>we(t)&&he(t.then)&&he(t.catch),vE=Object.prototype.toString,or=t=>vE.call(t),ZT=t=>or(t).slice(8,-1),RE=t=>or(t)==="[object Object]",Od=t=>Pe(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,ho=vd(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ii=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},JT=/-(\w)/g,Lt=ii(t=>t.replace(JT,(e,n)=>n?n.toUpperCase():"")),ey=/\B([A-Z])/g,Mn=ii(t=>t.replace(ey,"-$1").toLowerCase()),ai=ii(t=>t.charAt(0).toUpperCase()+t.slice(1)),Pi=ii(t=>t?`on${ai(t)}`:""),xr=(t,e)=>!Object.is(t,e),Hn=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},wo=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},Yl=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let Au;const ty=()=>Au||(Au=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let ht;class ny{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ht,!e&&ht&&(this.index=(ht.scopes||(ht.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._ac
2023-05-07 08:39:09 +00:00
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
2023-05-11 10:08:50 +00:00
*/const Fn=typeof window<"u";function TR(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Ae=Object.assign;function Vi(t,e){const n={};for(const r in e){const o=e[r];n[r]=Rt(o)?o.map(t):t(o)}return n}const vr=()=>{},Rt=Array.isArray,yR=/\/$/,vR=t=>t.replace(yR,"");function zi(t,e,n="/"){let r,o={},i="",a="";const s=e.indexOf("#");let c=e.indexOf("?");return s<c&&s>=0&&(c=-1),c>-1&&(r=e.slice(0,c),i=e.slice(c+1,s>-1?s:e.length),o=t(i)),s>-1&&(r=r||e.slice(0,s),a=e.slice(s,e.length)),r=NR(r??e,n),{fullPath:r+(i&&"?")+i+a,path:r,query:o,hash:a}}function RR(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 CR(t,e,n){const r=e.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&jn(e.matched[r],n.matched[o])&&Th(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function jn(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Th(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 Rt(t)?i_(t,e):Rt(e)?i_(e,t):t===e}function i_(t,e){return Rt(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t.length===1&&t[0]===e}function NR(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var Ur;(function(t){t.pop="pop",t.push="push"})(Ur||(Ur={}));var Rr;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Rr||(Rr={}));function AR(t){if(!t)if(Fn){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),vR(t)}const IR=/^[^#]+#/;function xR(t,e){return t.replace(IR,"#")+e}function DR(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 Ei=()=>({left:window.pageXOffset,top:window.pageYOffset});function wR(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=DR(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 rd=new Map;function MR(t,e){rd.set(t,e)}function LR(t){const e=rd.get(t);return rd.delete(t),e}let kR=()=>location.protocol+"//"+location.host;function yh(t,e){const{pathname:n,search:r,hash:o}=e,i=t.indexOf("#");if(i>-1){let s=o.includes(t.slice(i))?t.slice(i).length:1,c=o.slice(s);return c[0]!=="/"&&(c="/"+c),o_(c,"")}return o_(n,t)+r+o}function PR(t,e,n,r){let o=[],i=[],a=null;const s=({state:_})=>{const p=yh(t,location),m=n.value,g=e.value;let h=0;if(_){if(n.value=p,e.value=_,a&&a===m){a=null;return}h=g?_.position-g.position:0}else r(p);o.forEach(f=>{f(n.value,m,{delta:h,type:Ur.pop,direction:h?h>0?Rr.forward:Rr.back:Rr.unknown})})};function c(){a=n.value}function l(_){o.push(_);const p=()=>{const m=o.indexOf(_);m>-1&&o.splice(m,1)};return i.push(p),p}function d(){const{history:_}=window;_.state&&_.replaceState(Ae({},_.state,{scroll:Ei()}),"")}function u(){for(const _ of i)_();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",d),{pauseListeners:c,listen:l,destroy:u}}function s_(t,e,n,r=!1,o=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:o?Ei():null}}function UR(t){const{history:e,location:n}=window,r={value:yh(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 u=t.indexOf("#"
2023-05-07 08:39:09 +00:00
Copyright (c) 2016 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
2023-05-11 10:08:50 +00:00
*/(function(){var s=function(){function c(){}c.prototype=Object.create(null);function l(f,E){for(var S=E.length,T=0;T<S;++T)g(f,E[T])}var d={}.hasOwnProperty;function u(f,E){f[E]=!0}function _(f,E){for(var S in E)d.call(E,S)&&(f[S]=!!E[S])}var p=/\s+/;function m(f,E){for(var S=E.split(p),T=S.length,C=0;C<T;++C)f[S[C]]=!0}function g(f,E){if(E){var S=typeof E;S==="string"?m(f,E):Array.isArray(E)?l(f,E):S==="object"?_(f,E):S==="number"&&u(f,E)}}function h(){for(var f=arguments.length,E=Array(f),S=0;S<f;S++)E[S]=arguments[S];var T=new c;l(T,E);var C=[];for(var v in T)T[v]&&C.push(v);return C.join(" ")}return h}();typeof n<"u"&&n.exports?n.exports=s:(i=[],a=function(){return s}.apply(r,i),a!==void 0&&(n.exports=a))})()},"./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(a){if(!i(a))throw TypeError(String(a)+" is not an object");return a}},"./node_modules/core-js/internals/array-from.js":function(n,r,o){var i=o("./node_modules/core-js/internals/bind-context.js"),a=o("./node_modules/core-js/internals/to-object.js"),s=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"),u=o("./node_modules/core-js/internals/get-iterator-method.js");n.exports=function(p){var m=a(p),g=typeof this=="function"?this:Array,h=arguments.length,f=h>1?arguments[1]:void 0,E=f!==void 0,S=0,T=u(m),C,v,I,N;if(E&&(f=i(f,h>2?arguments[2]:void 0,2)),T!=null&&!(g==Array&&c(T)))for(N=T.call(m),v=new g;!(I=N.next()).done;S++)d(v,S,E?s(N,f,[I.value,S],!0):I.value);else for(C=l(m.length),v=new g(C);C>S;S++)d(v,S,E?f(m[S],S):m[S]);return v.length=S,v}},"./node_modules/core-js/internals/array-includes.js":function(n,r,o){var i=o("./node_modules/core-js/internals/to-indexed-object.js"),a=o("./node_modules/core-js/internals/to-length.js"),s=o("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(c){return function(l,d,u){var _=i(l),p=a(_.length),m=s(u,p),g;if(c&&d!=d){for(;p>m;)if(g=_[m++],g!=g)return!0}else for(;p>m;m++)if((c||m in _)&&_[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(a,s,c){if(i(a),s===void 0)return a;switch(c){case 0:return function(){return a.call(s)};case 1:return function(l){return a.call(s,l)};case 2:return function(l,d){return a.call(s,l,d)};case 3:return function(l,d,u){return a.call(s,l,d,u)}}return function(){return a.apply(s,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(a,s,c,l){try{return l?s(i(c)[0],c[1]):s(c)}catch(u){var d=a.return;throw d!==void 0&&i(d.call(a)),u}}},"./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"),a=i("iterator"),s=!1;try{var c=0,l={next:function(){return{done:!!c++}},return:function(){s=!0}};l[a]=function(){return this},Array.from(l,function(){throw 2})}catch{}n.exports=function(d,u){if(!u&&!s)return!1;var _=!1;try{var p={};p[a]=function(){return{next:function(){return{done:_=!0}}}},d(p)}catch{}return _}},"./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(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim(),!(!n||e[n]&&WO[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},C_=Symbol("internals");function mr(t){return t&&String(t).trim().toLowerCase()}function Ro(t){return t===!1||t==null?t:B.isArray(t)?t.map(Ro):String(t)}function QO(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 jO=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ki(t,e,n,r,o){if(B.isFunction(r))return r.call(this,e,n);if(o&&(e=n),!!B.isString(e)){if(B.isString(r))return e.indexOf(r)!==-1;if(B.isRegExp(r))return r.test(e)}}function XO(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function ZO(t,e){const n=B.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(o,i,a){return this[r].call(this,e,o,i,a)},configurable:!0})})}class yi{constructor(e){e&&this.set(e)}set(e,n,r){const o=this;function i(s,c,l){const d=mr(c);if(!d)throw new Error("header name must be a non-empty string");const u=B.findKey(o,d);(!u||o[u]===void 0||l===!0||l===void 0&&o[u]!==!1)&&(o[u||c]=Ro(s))}const a=(s,c)=>B.forEach(s,(l,d)=>i(l,d,c));return B.isPlainObject(e)||e instanceof this.constructor?a(e,n):B.isString(e)&&(e=e.trim())&&!jO(e)?a(KO(e),n):e!=null&&i(n,e,r),this}get(e,n){if(e=mr(e),e){const r=B.findKey(this,e);if(r){const o=this[r];if(!n)return o;if(n===!0)return QO(o);if(B.isFunction(n))return n.call(this,o,r);if(B.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=mr(e),e){const r=B.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||Ki(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let o=!1;function i(a){if(a=mr(a),a){const s=B.findKey(r,a);s&&(!n||Ki(r,r[s],s,n))&&(delete r[s],o=!0)}}return B.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||Ki(this,this[i],i,e,!0))&&(delete this[i],o=!0)}return o}normalize(e){const n=this,r={};return B.forEach(this,(o,i)=>{const a=B.findKey(r,i);if(a){n[a]=Ro(o),delete n[i];return}const s=e?XO(i):String(i).trim();s!==i&&delete n[i],n[s]=Ro(o),r[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return B.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=e&&B.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[C_]=this[C_]={accessors:{}}).accessors,o=this.prototype;function i(a){const s=mr(a);r[s]||(ZO(o,a),r[s]=!0)}return B.isArray(e)?e.forEach(i):i(e),this}}yi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);B.freezeMethods(yi.prototype);B.freezeMethods(yi);const Vt=yi;function Qi(t,e){const n=this||$d,r=e||n,o=Vt.from(r.headers);let i=r.data;return B.forEach(t,function(s){i=s.call(n,i,o.normalize(),e?e.status:void 0)}),o.normalize(),i}function jh(t){return!!(t&&t.__CANCEL__)}function zr(t,e,n){Ce.call(this,t??"canceled",Ce.ERR_CANCELED,e,n),this.name="CanceledError"}B.inherits(zr,Ce,{__CANCEL__:!0});function JO(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new Ce("Request failed with status code "+n.status,[Ce.ERR_BAD_REQUEST,Ce.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const eN=It.isStandardBrowserEnv?function(){return{write:function(n,r,o,i,a,s){const c=[];c.push(n+"="+encodeURIComponent(r)),B.isNumber(o)&&c.push("expires="+new Date(o).toGMTString()),B.isString(i)&&c.push("path="+i),B.isString(a)&&c.push("domain="+a),s===!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 tN(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function nN(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function Xh(t,e){return t&&!tN(e)?nN(t,e):e}const rN=It.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let a=i;return e&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{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(a){const s=B.isString(a)?o(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}();function oN(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function iN(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o=0,i=0,a;return e=e!==void 0?e:1e3,function(c){const l=Date.now(),d=r[i];a||(a=l),n[o]=c,r[o]=l;let u=i,_=0;for(;u!==o;)_+=n[u++],u=u%t;if(o=(o+1)%t,o===i&&(i=(i+1)%t),l-a<e)return;const p=d&&l-d;return p?Math.round(_*1e3/p):void 0}}function O_(t,e){let n=0;const r=iN(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,c=r(s),l=i<=a;n=i;const d={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&l?(a-i)/c:void 0,event:o};d[e?"download":"upload"]=!0,t(d)}}const aN=typeof XMLHttpRequest<"u",sN=aN&&function(t){return new Promise(function(n,r){let o=t.data;const i=Vt.from(t.headers).normalize(),a=t.responseType;let s;function c(){t.cancelToken&&t.cancelToken.unsubscribe(s),t.signal&&t.signal.removeEventListener("abort",s)}B.isFormData(o)&&(It.isStandardBrowserEnv||It.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=Xh(t.baseURL,t.url);l.open(t.method.toUpperCase(),Wh(d,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function u(){if(!l)return;const p=Vt.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),g={data:!a||a==="text"||a==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:p,config:t,request:l};JO(function(f){n(f),c()},function(f){r(f),c()
This will delete all your configurations and get back to default configuration.`).then(t=>{t&&Ue.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),this.$refs.messageBox.showMessage("Couldn't reset settings!"),{status:!1}))})},update_backend(t){res=update_setting("backend",t),res.status&&console.log("Backend changed")},async api_get_req(t){try{const e=await Ue.get("/"+t);if(e)return e.data}catch(e){return console.log(e),[]}}},async mounted(){xe(()=>{Fe.replace()}),this.configFile=await this.api_get_req("get_config"),this.backendsArr=await this.api_get_req("list_backends"),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")},watch:{bec_collapsed(){xe(()=>{Fe.replace()})},pc_collapsed(){xe(()=>{Fe.replace()})},mc_collapsed(){xe(()=>{Fe.replace()})},showConfirmation(){xe(()=>{Fe.replace()})}}},HN={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},VN={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"},zN={key:0,class:"flex gap-3 flex-1 items-center duration-75"},$N=y("i",{"data-feather":"x"},null,-1),WN=[$N],KN=y("i",{"data-feather":"check"},null,-1),QN=[KN],jN={key:1,class:"flex gap-3 flex-1 items-center"},XN=y("i",{"data-feather":"save"},null,-1),ZN=[XN],JN=y("i",{"data-feather":"refresh-ccw"},null,-1),eA=[JN],tA={class:"flex flex-col mb-2 p-3 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},nA={class:"flex flex-row"},rA={class:"m-2"},oA=y("label",{for:"backend",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Backend: ",-1),iA=["selected"],aA={class:"m-2"},sA=y("label",{for:"model",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Model: ",-1),cA={id:"model",class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},lA=["selected"],dA={key:0,class:"my-2"},uA=y("label",{for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Install more models: ",-1),_A={class:"overflow-y-auto max-h-96 no-scrollbar p-2"},pA={class:"flex flex-col mb-2 p-3 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},mA={class:"flex flex-row"},gA={class:"m-2"},fA=y("label",{for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Personalities Languages: ",-1),EA=["selected"],hA={class:"m-2"},SA=y("label",{for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Personalities Category: ",-1),bA=["selected"],TA={class:"m-2"},yA=y("label",{for:"persona",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Personality: ",-1),vA=["selected"],RA={class:"flex flex-col mb-2 p-3 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},CA={class:"flex flex-row"},OA={class:"m-2"},NA=y("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1),AA={class:"m-2"},IA={class:"flex flex-col align-bottom"},xA={class:"relative"},DA=y("p",{class:"absolute left-0 mt-6"},[y("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1),wA={class:"absolute right-0"},MA={class:"m-2"},LA={class:"flex flex-col align-bottom"},kA={class:"relative"},PA=y("p",{class:"absolute left-0 mt-6"},[y("label",{for:"predict",
`,l$="∄",d$="∄",u$="𝔑",_$="𝔫",p$="≧̸",m$="≱",g$="≱",f$="≧̸",E$="⩾̸",h$="⩾̸",S$="⋙̸",b$="≵",T$="≫⃒",y$="≯",v$="≯",R$="≫̸",C$="↮",O$="⇎",N$="⫲",A$="∋",I$="⋼",x$="⋺",D$="∋",w$="Њ",M$="њ",L$="↚",k$="⇍",P$="‥",U$="≦̸",F$="≰",B$="↚",G$="⇍",q$="↮",Y$="⇎",H$="≰",V$="≦̸",z$="⩽̸",$$="⩽̸",W$="≮",K$="⋘̸",Q$="≴",j$="≪⃒",X$="≮",Z$="⋪",J$="⋬",e5="≪̸",t5="∤",n5="",r5=" ",o5="𝕟",i5="",a5="⫬",s5="¬",c5="≢",l5="≭",d5="∦",u5="∉",_5="≠",p5="≂̸",m5="∄",g5="≯",f5="≱",E5="≧̸",h5="≫̸",S5="≹",b5="⩾̸",T5="≵",y5="≎̸",v5="≏̸",R5="∉",C5="⋵̸",O5="⋹̸",N5="∉",A5="⋷",I5="⋶",x5="⧏̸",D5="⋪",w5="⋬",M5="≮",L5="≰",k5="≸",P5="≪̸",U5="⩽̸",F5="≴",B5="⪢̸",G5="⪡̸",q5="∌",Y5="∌",H5="⋾",V5="⋽",z5="⊀",$5="⪯̸",W5="⋠",K5="∌",Q5="⧐̸",j5="⋫",X5="⋭",Z5="⊏̸",J5="⋢",e4="⊐̸",t4="⋣",n4="⊂⃒",r4="⊈",o4="⊁",i4="⪰̸",a4="⋡",s4="≿̸",c4="⊃⃒",l4="⊉",d4="≁",u4="≄",_4="≇",p4="≉",m4="∤",g4="∦",f4="∦",E4="⫽⃥",h4="∂̸",S4="⨔",b4="⊀",T4="⋠",y4="⊀",v4="⪯̸",R4="⪯̸",C4="⤳̸",O4="↛",N4="⇏",A4="↝̸",I4="↛",x4="⇏",D4="⋫",w4="⋭",M4="⊁",L4="⋡",k4="⪰̸",P4="𝒩",U4="𝓃",F4="∤",B4="∦",G4="≁",q4="≄",Y4="≄",H4="∤",V4="∦",z4="⋢",$4="⋣",W4="⊄",K4="⫅̸",Q4="⊈",j4="⊂⃒",X4="⊈",Z4="⫅̸",J4="⊁",eW="⪰̸",tW="⊅",nW="⫆̸",rW="⊉",oW="⊃⃒",iW="⊉",aW="⫆̸",sW="≹",cW="Ñ",lW="ñ",dW="≸",uW="⋪",_W="⋬",pW="⋫",mW="⋭",gW="Ν",fW="ν",EW="#",hW="№",SW="",bW="≍⃒",TW="⊬",yW="⊭",vW="⊮",RW="⊯",CW="≥⃒",OW=">⃒",NW="⤄",AW="⧞",IW="⤂",xW="≤⃒",DW="<⃒",wW="⊴⃒",MW="⤃",LW="⊵⃒",kW="∼⃒",PW="⤣",UW="↖",FW="⇖",BW="↖",GW="⤧",qW="Ó",YW="ó",HW="⊛",VW="Ô",zW="ô",$W="⊚",WW="О",KW="о",QW="⊝",jW="Ő",XW="ő",ZW="⨸",JW="⊙",e6="⦼",t6="Œ",n6="œ",r6="⦿",o6="𝔒",i6="𝔬",a6="˛",s6="Ò",c6="ò",l6="⧁",d6="⦵",u6="Ω",_6="∮",p6="↺",m6="⦾",g6="⦻",f6="‾",E6="⧀",h6="Ō",S6="ō",b6="Ω",T6="ω",y6="Ο",v6="ο",R6="⦶",C6="⊖",O6="𝕆",N6="𝕠",A6="⦷",I6="“",x6="",D6="⦹",w6="⊕",M6="↻",L6="⩔",k6="",P6="⩝",U6="",F6="",B6="ª",G6="º",q6="⊶",Y6="⩖",H6="⩗",V6="⩛",z6="Ⓢ",$6="𝒪",W6="",K6="Ø",Q6="ø",j6="⊘",X6="Õ",Z6="õ",J6="⨶",eK="⨷",tK="⊗",nK="Ö",rK="ö",oK="⌽",iK="‾",aK="⏞",sK="⎴",cK="⏜",lK="¶",dK="∥",uK="∥",_K="⫳",pK="⫽",mK="∂",gK="∂",fK="П",EK="п",hK="%",SK=".",bK="‰",TK="⊥",yK="‱",vK="𝔓",RK="𝔭",CK="Φ",OK="φ",NK="ϕ",AK="",IK="☎",xK="Π",DK="π",wK="⋔",MK="ϖ",LK="ℏ",kK="",PK="ℏ",UK="⨣",FK="⊞",BK="⨢",GK="+",qK="∔",YK="⨥",HK="⩲",VK="±",zK="±",$K="⨦",WK="⨧",KK="±",QK="",jK="⨕",XK="𝕡",ZK="",JK="£",e9="⪷",t9="⪻",n9="≺",r9="≼",o9="⪷",i9="≺",a9="≼",s9="≺",c9="⪯",l9="≼",d9="≾",u9="⪯",_9="⪹",p9="⪵",m9="⋨",g9="⪯",f9="⪳",E9="≾",h9="",S9="″",b9="",T9="⪹",y9="⪵",v9="⋨",R9="∏",C9="∏",O9="⌮",N9="⌒",A9="⌓",I9="∝",x9="∝",D9="∷",w9="∝",M9="≾",L9="⊰",k9="𝒫",P9="𝓅",U9="Ψ",F9="ψ",B9="",G9="𝔔",q9="𝔮",Y9="⨌",H9="𝕢",V9="",z9="⁗",$9="𝒬",W9="𝓆",K9="",Q9="⨖",j9="?",X9="≟",Z9='"',J9='"',e8="⇛",t8="∽̱",n8="Ŕ",r8="ŕ",o8="√",i8="⦳",a8="⟩",s8="⟫",c8="⦒",l8="⦥",d8="⟩",u8="»",_8="⥵",p8="⇥",m8="⤠",g8="⤳",f8="→",E8="↠",h8="⇒",S8="⤞",b8="↪",T8="↬",y8="⥅",v8="⥴",R8="⤖",C8="↣",O8="↝",N8="⤚",A8="⤜",I8="",x8="",D8="⤍",w8="⤏",M8="⤐",L8="",k8="}",P8="]",U8="⦌",F8="⦎",B8="⦐",G8="Ř",q8="ř",Y8="Ŗ",H8="ŗ",V8="⌉",z8="}",$8="Р",W8="р",K8="⤷",Q8="⥩",j8="”",X8="”",Z8="↳",J8="",eQ="",tQ="",nQ="",rQ="",oQ="▭",iQ="®",aQ="®",sQ="∋",cQ="⇋",lQ="⥯",dQ="⥽",uQ="⌋",_Q="𝔯",pQ="",mQ="⥤",gQ="⇁",fQ="⇀",EQ="⥬",hQ="Ρ",SQ="ρ",bQ="ϱ",TQ="⟩",yQ="⇥",vQ="→",RQ="→
`," "],cie=["{","}","|","\\","^","`"].concat(sie),lie=["'"].concat(cie),w_=["%","/","?",";","#"].concat(lie),M_=["/","?","#"],die=255,L_=/^[+a-z0-9A-Z_-]{0,63}$/,uie=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,k_={javascript:!0,"javascript:":!0},P_={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function _ie(t,e){if(t&&t instanceof Yo)return t;var n=new Yo;return n.parse(t,e),n}Yo.prototype.parse=function(t,e){var n,r,o,i,a,s=t;if(s=s.trim(),!e&&t.split("#").length===1){var c=aie.exec(s);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}var l=oie.exec(s);if(l&&(l=l[0],o=l.toLowerCase(),this.protocol=l,s=s.substr(l.length)),(e||l||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(a=s.substr(0,2)==="//",a&&!(l&&k_[l])&&(s=s.substr(2),this.slashes=!0)),!k_[l]&&(a||l&&!P_[l])){var d=-1;for(n=0;n<M_.length;n++)i=s.indexOf(M_[n]),i!==-1&&(d===-1||i<d)&&(d=i);var u,_;for(d===-1?_=s.lastIndexOf("@"):_=s.lastIndexOf("@",d),_!==-1&&(u=s.slice(0,_),s=s.slice(_+1),this.auth=u),d=-1,n=0;n<w_.length;n++)i=s.indexOf(w_[n]),i!==-1&&(d===-1||i<d)&&(d=i);d===-1&&(d=s.length),s[d-1]===":"&&d--;var p=s.slice(0,d);s=s.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 h=g[n];if(h&&!h.match(L_)){for(var f="",E=0,S=h.length;E<S;E++)h.charCodeAt(E)>127?f+="x":f+=h[E];if(!f.match(L_)){var T=g.slice(0,n),C=g.slice(n+1),v=h.match(uie);v&&(T.push(v[1]),C.unshift(v[2])),C.length&&(s=C.join(".")+s),this.hostname=T.join(".");break}}}}this.hostname.length>die&&(this.hostname=""),m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var I=s.indexOf("#");I!==-1&&(this.hash=s.substr(I),s=s.slice(0,I));var N=s.indexOf("?");return N!==-1&&(this.search=s.substr(N),s=s.slice(0,N)),s&&(this.pathname=s),P_[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Yo.prototype.parseHost=function(t){var e=iie.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 pie=_ie;lr.encode=eie;lr.decode=nie;lr.format=rie;lr.parse=pie;var fn={},Xi,U_;function tS(){return U_||(U_=1,Xi=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Xi}var Zi,F_;function nS(){return F_||(F_=1,Zi=/[\0-\x1F\x7F-\x9F]/),Zi}var Ji,B_;function mie(){return B_||(B_=1,Ji=/[\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]/),Ji}var ea,G_;function rS(){return G_||(G_=1,ea=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),ea}var q_;function gie(){return q_||(q_=1,fn.Any=tS(),fn.Cc=nS(),fn.Cf=mie(),fn.P=Qd,fn.Z=rS()),fn}(function(t){function e(U){return Object.prototype.toString.call(U)}function n(U){return e(U)==="[object String]"}var r=Object.prototype.hasOwnProperty;function o(U,J){return r.call(U,J)}function i(U){var J=Array.prototype.slice.call(arguments,1);return J.forEach(function(z){if(z){if(typeof z!="object")throw new TypeError(z+"must be object");Object.keys(z).forEach(function(A){U[A]=z[A]})}}),U}function a(U,J,z){return[].concat(U.slice(0,J),z,U.slice(J+1))}function s(U){return!(U>=55296&&U<=57343||U>=64976&&U<=65007||(U&65535)===65535||(U&65535)===65534||U>=0&&U<=8||U===11||U>=14&&U<=31||U>=127&&U<=159||U>1114111)}function c(U){if(U>65535){U-=65536;var J=55296+(U>>10),z=56320+(U&1023);return String.fromCharCode(J,z)}return String.fromCharCode(U)}var l=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,d=/&([a-z#][a-z0-9]{1,31});/gi,u=new RegExp(l.source+"|"+d.source,"gi"),_=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,p=qo;function m(U,J){var z=0;return o(p,J)?p[J]:J.charCodeAt(0)===35&&_.test(J)&&(z=J[1].toLowerCase()==="x"?parseInt(J.slice(2),16):parseInt(J.slice(1),10),s(z))?c(z):U}function g(U){return U.indexOf("\\")<0?U:U.replace(l,"$1")}function h(U){return U.indexOf("\\")<0&&U.indexOf("&
`};Ut.fence=function(t,e,n,r,o){var i=t[e],a=i.info?Tie(i.info).trim():"",s="",c="",l,d,u,_,p;return a&&(u=a.split(/(\s+)/g),s=u[0],c=u.slice(2).join("")),n.highlight?l=n.highlight(i.content,s,c)||Dn(i.content):l=Dn(i.content),l.indexOf("<pre")===0?l+`
2023-05-07 08:39:09 +00:00
`:a?(d=i.attrIndex("class"),_=i.attrs?i.attrs.slice():[],d<0?_.push(["class",n.langPrefix+s]):(_[d]=_[d].slice(),_[d][1]+=" "+n.langPrefix+s),p={attrs:_},"<pre><code"+o.renderAttrs(p)+">"+l+`</code></pre>
`):"<pre><code"+o.renderAttrs(i)+">"+l+`</code></pre>
2023-05-11 10:08:50 +00:00
`};Ut.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)};Ut.hardbreak=function(t,e,n){return n.xhtmlOut?`<br />
2023-05-07 08:39:09 +00:00
`:`<br>
2023-05-11 10:08:50 +00:00
`};Ut.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`<br />
2023-05-07 08:39:09 +00:00
`:`<br>
`:`
2023-05-11 10:08:50 +00:00
`};Ut.text=function(t,e){return Dn(t[e].content)};Ut.html_block=function(t,e){return t[e].content};Ut.html_inline=function(t,e){return t[e].content};function dr(){this.rules=bie({},Ut)}dr.prototype.renderAttrs=function(e){var n,r,o;if(!e.attrs)return"";for(o="",n=0,r=e.attrs.length;n<r;n++)o+=" "+Dn(e.attrs[n][0])+'="'+Dn(e.attrs[n][1])+'"';return o};dr.prototype.renderToken=function(e,n,r){var o,i="",a=!1,s=e[n];return s.hidden?"":(s.block&&s.nesting!==-1&&n&&e[n-1].hidden&&(i+=`
2023-05-07 08:39:09 +00:00
`),i+=(s.nesting===-1?"</":"<")+s.tag,i+=this.renderAttrs(s),s.nesting===0&&r.xhtmlOut&&(i+=" /"),s.block&&(a=!0,s.nesting===1&&n+1<e.length&&(o=e[n+1],(o.type==="inline"||o.hidden||o.nesting===-1&&o.tag===s.tag)&&(a=!1))),i+=a?`>
2023-05-07 13:40:14 +00:00
`:">",i)};dr.prototype.renderInline=function(t,e,n){for(var r,o="",i=this.rules,a=0,s=t.length;a<s;a++)r=t[a].type,typeof i[r]<"u"?o+=i[r](t,a,e,n,this):o+=this.renderToken(t,a,e);return o};dr.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+=`
2023-05-11 10:08:50 +00:00
`);return r};dr.prototype.render=function(t,e,n){var r,o,i,a="",s=this.rules;for(r=0,o=t.length;r<o;r++)i=t[r].type,i==="inline"?a+=this.renderInline(t[r].children,e,n):typeof s[i]<"u"?a+=s[t[r].type](t,r,e,n,this):a+=this.renderToken(t,r,e,n);return a};var yie=dr;function Ct(){this.__rules__=[],this.__cache__=null}Ct.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1};Ct.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))})})};Ct.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};Ct.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};Ct.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};Ct.prototype.push=function(t,e,n){var r=n||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:r.alt||[]}),this.__cache__=null};Ct.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};Ct.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(t,e)};Ct.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};Ct.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var jd=Ct,vie=/\r\n?|\n/g,Rie=/\0/g,Cie=function(e){var n;n=e.src.replace(vie,`
`),n=n.replace(Rie,"<22>"),e.src=n},Oie=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)},Nie=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)},Aie=Ne.arrayReplaceAt;function Iie(t){return/^<a[>\s]/i.test(t)}function xie(t){return/^<\/a\s*>/i.test(t)}var Die=function(e){var n,r,o,i,a,s,c,l,d,u,_,p,m,g,h,f,E=e.tokens,S;if(e.md.options.linkify){for(r=0,o=E.length;r<o;r++)if(!(E[r].type!=="inline"||!e.md.linkify.pretest(E[r].content)))for(i=E[r].children,m=0,n=i.length-1;n>=0;n--){if(s=i[n],s.type==="link_close"){for(n--;i[n].level!==s.level&&i[n].type!=="link_open";)n--;continue}if(s.type==="html_inline"&&(Iie(s.content)&&m>0&&m--,xie(s.content)&&m++),!(m>0)&&s.type==="text"&&e.md.linkify.test(s.content)){for(d=s.content,S=e.md.linkify.match(d),c=[],p=s.level,_=0,S.length>0&&S[0].index===0&&n>0&&i[n-1].type==="text_special"&&(S=S.slice(1)),l=0;l<S.length;l++)g=S[l].url,h=e.md.normalizeLink(g),e.md.validateLink(h)&&(f=S[l].text,S[l].schema?S[l].schema==="mailto:"&&!/^mailto:/i.test(f)?f=e.md.normalizeLinkText("mailto:"+f).replace(/^mailto:/,""):f=e.md.normalizeLinkText(f):f=e.md.normalizeLinkText("http://"+f).replace(/^http:\/\//,""),u=S[l].index,u>_&&(a=new e.Token("text","",0),a.content=d.slice(_,u),a.level=p,c.push(a)),a=new e.Token("link_open","a",1),a.attrs=[["href",h]],a.level=p++,a.markup="linkify",a.info="auto",c.push(a),a=new e.Token("text","",0),a.content=f,a.level=p,c.push(a),a=new e.Token("link_close","a",-1),a.level=--p,a.markup="linkify",a.info="auto",c.push(a),_=S[l].lastIndex);_<d.length&&(a=new e.Token("text","",0),a.content=d.slice(_),a.level=p,c.push(a)),E[r].children=i=Aie(i,n,c)}}}},oS=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,wie=/\((c|tm|r)\)/i,Mie=/\((c|tm|r)\)/ig,Lie={c:"©",r:"®",tm:"™"};function kie(t,e){return Lie[e.toLowerCase()]}function Pie(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(Mie,kie)),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}function Uie(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!r&&oS.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 Fie=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(wie.test(e.tokens[n].content)&&Pie(e.tokens[n].children),oS.test(e.tokens[n].content)&&Uie(e.tokens[n].children))},H_=Ne.isWhiteSpace,V_=Ne.isPunctChar,z_=Ne.isMdAsciiPunct,Bie=/['"]/,$_=/['"]/g,W_="";function oo(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Gie(t,e){var n,r,o,i,a,s,c,l,d,u,_,p,m,g,h,f,E,S,T,C,v;for(T=[],n=0;n<t.length;n++){for(r=t[n],c=t[n].level,E=T.length-1;E>=0&&!(T[E].level<=c);E--);if(T.length=E+1,r.type==="text"){o=r.content,a=0,s=o.length;e:for(;a<s&&($_.lastIndex=a,i=$_.exec(o),!!i);){if(h=f=!0,a=i.index+1,S=i[0]==="'",d=32,i.index-1>=0)d=o.charCodeAt(i.index-1);else for(E=n-1;E>=0&&!(t[E].type==="softbreak"||t[E].type==="hardbreak");E--)if(t[E].content){d=t[E].content.charCodeAt(t[E].content.length-1);break}if(u=32,a<s)u=o.charCodeAt(a);else for(E=n+1;E<t.length&&!(t[E].type==="softbreak"||t[E].type==="hardbreak");E++)if(t[E].content){u=t[E].content.charCodeAt(0);break}if(_=z_(d)||V_(String.fromCharCode(d)),p=z_(u)||V_(String.fromCharCode(u)),m=H_(d),g=H_(u),g?h=!1:p&&(m||_||(h=!1)),m?f=!1:_&&(g||p||(f=!1)),u===34&&i[0]==='"'&&d>=48&&d<=57&&(f=h=!1),h&&f&&(h=_,f=p),!h&&!f){S&&(r.content=oo(r.content,i.index,W_));continue}if(f){for(E=T.length-1;E>=0&&(l=T[E],!(T[E].level<c));E--)if(l.single===S&&T[E].level===c){l=T[E],S?(C=e.md.options.quotes[2],v=e.md.options.quotes[
`,a.map=[n,e.line],!0},Qie=function(e,n,r,o){var i,a,s,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),a=p-l,a<3)||(u=e.src.slice(l,p),s=e.src.slice(p,m),i===96&&s.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<a)&&(p=e.skipSpaces(p),!(p<m)))){_=!0;break}return a=e.sCount[n],e.line=c+(_?1:0),d=e.push("fence","code",0),d.info=s,d.content=e.getLines(n+1,c,a,!0),d.markup=u,d.map=[n,e.line],!0},Q_=Ne.isSpace,jie=function(e,n,r,o){var i,a,s,c,l,d,u,_,p,m,g,h,f,E,S,T,C,v,I,N,q=e.lineMax,P=e.bMarks[n]+e.tShift[n],M=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<M&&(a=e.src.charCodeAt(P),Q_(a));){a===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>=M,E=[e.sCount[n]],e.sCount[n]=p-c,S=[e.tShift[n]],e.tShift[n]=P-e.bMarks[n],v=e.md.block.ruler.getRules("blockquote"),f=e.parentType,e.parentType="blockquote",_=n+1;_<r&&(N=e.sCount[_]<e.blkIndent,P=e.bMarks[_]+e.tShift[_],M=e.eMarks[_],!(P>=M));_++){if(e.src.charCodeAt(P++)===62&&!N){for(c=p=e.sCount[_]+1,e.src.charCodeAt(P)===32?(P++,c++,p++,i=!1,T=!0):e.src.charCodeAt(P)===9?(T=!0,(e.bsCount[_]+p)%4===3?(P++,c++,p++,i=!1):i=!0):T=!1,m.push(e.bMarks[_]),e.bMarks[_]=P;P<M&&(a=e.src.charCodeAt(P),Q_(a));){a===9?p+=4-(p+e.bsCount[_]+(i?1:0))%4:p++;P++}d=P>=M,g.push(e.bsCount[_]),e.bsCount[_]=e.sCount[_]+1+(T?1:0),E.push(e.sCount[_]),e.sCount[_]=p-c,S.push(e.tShift[_]),e.tShift[_]=P-e.bMarks[_];continue}if(d)break;for(C=!1,s=0,l=v.length;s<l;s++)if(v[s](e,_,r,!0)){C=!0;break}if(C){e.lineMax=_,e.blkIndent!==0&&(m.push(e.bMarks[_]),g.push(e.bsCount[_]),S.push(e.tShift[_]),E.push(e.sCount[_]),e.sCount[_]-=e.blkIndent);break}m.push(e.bMarks[_]),g.push(e.bsCount[_]),S.push(e.tShift[_]),E.push(e.sCount[_]),e.sCount[_]=-1}for(h=e.blkIndent,e.blkIndent=0,I=e.push("blockquote_open","blockquote",1),I.markup=">",I.map=u=[n,0],e.md.block.tokenize(e,n,_),I=e.push("blockquote_close","blockquote",-1),I.markup=">",e.lineMax=q,e.parentType=f,u[1]=e.line,s=0;s<S.length;s++)e.bMarks[s+n]=m[s],e.tShift[s+n]=S[s],e.sCount[s+n]=E[s],e.bsCount[s+n]=g[s];return e.blkIndent=h,!0},Xie=Ne.isSpace,Zie=function(e,n,r,o){var i,a,s,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(a=1;l<d;){if(s=e.src.charCodeAt(l++),s!==i&&!Xie(s))return!1;s===i&&a++}return a<3?!1:(o||(e.line=n+1,c=e.push("hr","hr",0),c.map=[n,e.line],c.markup=Array(a+1).join(String.fromCharCode(i))),!0)},aS=Ne.isSpace;function j_(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),!aS(i))?-1:r}function X_(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),!aS(n))?-1:o}function Jie(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 eae=function(e,n,r,o){var i,a,s,c,l,d,u,_,p,m,g,h,f,E,S,T,C,v,I,N,q,P,M,re,se,U,J,z,A=!1,G=!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&&(A=!0),(M=X_(e,n))>=0){if(u=!0,se=e.bMarks[n]+e.tShift[n],f=Number(e.src.slice(se,M-1)),A&&f!==1)return!1}else if((M=j_(e,n))>=0)u=!1;else return!1;if(A&&e.skipSpaces(M)>
https://github.com/highlightjs/highlight.js/issues/2277`),le=A,ue=G),Z===void 0&&(Z=!0);const _e={code:ue,language:le};J("before:highlight",_e);const Se=_e.result?_e.result:u(_e.language,_e.code,Z);return Se.code=_e.code,J("after:highlight",Se),Se}function u(A,G,Z,ue){const le=Object.create(null);function _e(Y,W){return Y.keywords[W]}function Se(){if(!w.keywords){k.addText(j);return}let Y=0;w.keywordPatternRe.lastIndex=0;let W=w.keywordPatternRe.exec(j),ie="";for(;W;){ie+=j.substring(Y,W.index);const fe=F.case_insensitive?W[0].toLowerCase():W[0],Ie=_e(w,fe);if(Ie){const[ze,ve]=Ie;if(k.addText(ie),ie="",le[fe]=(le[fe]||0)+1,le[fe]<=LBe&&(ee+=ve),ze.startsWith("_"))ie+=W[0];else{const Bt=F.classNameAliases[ze]||ze;V(W[0],Bt)}}else ie+=W[0];Y=w.keywordPatternRe.lastIndex,W=w.keywordPatternRe.exec(j)}ie+=j.substring(Y),k.addText(ie)}function Ee(){if(j==="")return;let Y=null;if(typeof w.subLanguage=="string"){if(!e[w.subLanguage]){k.addText(j);return}Y=u(w.subLanguage,j,!0,Q[w.subLanguage]),Q[w.subLanguage]=Y._top}else Y=p(j,w.subLanguage.length?w.subLanguage:null);w.relevance>0&&(ee+=Y.relevance),k.__addSublanguage(Y._emitter,Y.language)}function x(){w.subLanguage!=null?Ee():Se(),j=""}function V(Y,W){Y!==""&&(k.startScope(W),k.addText(Y),k.endScope())}function H(Y,W){let ie=1;const fe=W.length-1;for(;ie<=fe;){if(!Y._emit[ie]){ie++;continue}const Ie=F.classNameAliases[Y[ie]]||Y[ie],ze=W[ie];Ie?V(ze,Ie):(j=ze,Se(),j=""),ie++}}function $(Y,W){return Y.scope&&typeof Y.scope=="string"&&k.openNode(F.classNameAliases[Y.scope]||Y.scope),Y.beginScope&&(Y.beginScope._wrap?(V(j,F.classNameAliases[Y.beginScope._wrap]||Y.beginScope._wrap),j=""):Y.beginScope._multi&&(H(Y.beginScope,W),j="")),w=Object.create(Y,{parent:{value:w}}),w}function ae(Y,W,ie){let fe=jFe(Y.endRe,ie);if(fe){if(Y["on:end"]){const Ie=new gp(Y);Y["on:end"](W,Ie),Ie.isMatchIgnored&&(fe=!1)}if(fe){for(;Y.endsParent&&Y.parent;)Y=Y.parent;return Y}}if(Y.endsWithParent)return ae(Y.parent,W,ie)}function ge(Y){return w.matcher.regexIndex===0?(j+=Y[0],1):(me=!0,0)}function oe(Y){const W=Y[0],ie=Y.rule,fe=new gp(ie),Ie=[ie.__beforeBegin,ie["on:begin"]];for(const ze of Ie)if(ze&&(ze(Y,fe),fe.isMatchIgnored))return ge(W);return ie.skip?j+=W:(ie.excludeBegin&&(j+=W),x(),!ie.returnBegin&&!ie.excludeBegin&&(j=W)),$(ie,Y),ie.returnBegin?0:W.length}function b(Y){const W=Y[0],ie=G.substring(Y.index),fe=ae(w,Y,ie);if(!fe)return Tp;const Ie=w;w.endScope&&w.endScope._wrap?(x(),V(W,w.endScope._wrap)):w.endScope&&w.endScope._multi?(x(),H(w.endScope,Y)):Ie.skip?j+=W:(Ie.returnEnd||Ie.excludeEnd||(j+=W),x(),Ie.excludeEnd&&(j=W));do w.scope&&k.closeNode(),!w.skip&&!w.subLanguage&&(ee+=w.relevance),w=w.parent;while(w!==fe.parent);return fe.starts&&$(fe.starts,Y),Ie.returnEnd?0:W.length}function R(){const Y=[];for(let W=w;W!==F;W=W.parent)W.scope&&Y.unshift(W.scope);Y.forEach(W=>k.openNode(W))}let D={};function L(Y,W){const ie=W&&W[0];if(j+=Y,ie==null)return x(),0;if(D.type==="begin"&&W.type==="end"&&D.index===W.index&&ie===""){if(j+=G.slice(W.index,W.index+1),!o){const fe=new Error(`0 width match regex (${A})`);throw fe.languageName=A,fe.badRule=D.rule,fe}return 1}if(D=W,W.type==="begin")return oe(W);if(W.type==="illegal"&&!Z){const fe=new Error('Illegal lexeme "'+ie+'" for mode "'+(w.scope||"<unnamed>")+'"');throw fe.mode=w,fe}else if(W.type==="end"){const fe=b(W);if(fe!==Tp)return fe}if(W.type==="illegal"&&ie==="")return 1;if(de>1e5&&de>W.index*3)throw new Error("potential infinite loop, way more iterations than matches");return j+=ie,ie.length}const F=q(A);if(!F)throw In(i.replace("{}",A)),new Error('Unknown language: "'+A+'"');const K=xBe(F);let X="",w=ue||K;const Q={},k=new s.__emitter(s);R();let j="",ee=0,te=0,de=0,me=!1;try{if(F.__emitTokens)F.__emitTokens(G,k);else{for(w.matcher.considerAll();;){de++,me?me=!1:w.matcher.considerAll(),w.matcher.lastIndex=te;const Y=w.matcher.exec(G);if(!Y)break;const W=G.substring(te,Y.index),ie=L(W,Y);te=Y.index+ie}L(G.substring(te))}return k.finalize(),X=k.toHTML(),{language:A,value:X,relevance:ee,illegal:!1,_emitter:k,_top:w}}catch(Y){if(Y.message&&Y.
`},m]}}return js=o,js}var Xs,sg;function Tqe(){if(sg)return Xs;sg=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"},a=e.COMMENT("<!--","-->",{relevance:0}),s={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[a]}},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:[a]}},s,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:[a]}},s,c].concat(d)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(d)}}return Xs=t,Xs}var Zs,cg;function yqe(){if(cg)return Zs;cg=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(M=>M+"(?![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},h=["false","null","true"],f=["__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"],E=["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:f,literal:(U=>{const J=[];return U.forEach(z=>{J.push(z),z.toLowerCase()===z?J.push(z.toUpperCase()):J.push(z.toLowerCase())}),J})(h),built_in:E},C=U=>U.map(J=>J.replace(/\|\d+$/,"")),v={variants:[{match:[/new/,n.concat(p,"+"),n.concat("(?!",C(E).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},I=n.concat(o,"\\b(?!\\()"),N={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),I],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,n.concat(/::/,n.lookahead(/(?!class\b)/)),I],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"}}]},q={scope:"attr",match:n.concat(o,n.lookahead(":"),n.lookahead(/(?!::)/))},P={relevance:0,begin:/\(/,end:/\)/,keywords:T,contains:[q,a,N,e.C_BLOCK_COMMENT_MODE,m,g,v]},M={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",C(f).join("\\b|"),"|",C(E).join("\\b|"),"\\b)"),o,n.concat(p,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[P]};P.contains.push(M);const re=[q,N,e.C_BLOCK_COMMENT_MODE,m,g,v],se={begin:n.concat(/#\[\s*/,i),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:h,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:h,keyword:["new","array"]},contains:["self",...re]},...r
]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return dl=t,dl}var ul,yf;function kYe(){if(yf)return ul;yf=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 ul=t,ul}var _l,vf;function PYe(){if(vf)return _l;vf=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 _l=t,_l}var pl,Rf;function UYe(){if(Rf)return pl;Rf=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"],a=["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"],s=["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
2023-05-07 08:39:09 +00:00
]*?"'`},{begin:`"[^\r
2023-05-11 10:08:50 +00:00
"]*"`}]},{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 fl=t,fl}var El,Af;function qYe(){if(Af)return El;Af=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 El=t,El}var hl,If;function YYe(){if(If)return hl;If=1;const t=s=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:s.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:[s.APOS_STRING_MODE,s.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:s.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
2023-05-07 08:39:09 +00:00
(multipart)?`,end:`\\]
2023-05-11 10:08:50 +00:00
`},{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 Sl=t,Sl}var bl,Df;function VYe(){if(Df)return bl;Df=1;function t(N){return N?typeof N=="string"?N:N.source:null}function e(N){return n("(?=",N,")")}function n(...N){return N.map(P=>t(P)).join("")}function r(N){const q=N[N.length-1];return typeof q=="object"&&q.constructor===Object?(N.splice(N.length-1,1),q):{}}function o(...N){return"("+(r(N).capture?"":"?:")+N.map(M=>t(M)).join("|")+")"}const i=N=>n(/\b/,N,/\w$/.test(N)?/\b/:/\B/),a=["Protocol","Type"].map(i),s=["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"],u=["assignment","associativity","higherThan","left","lowerThan","none","right"],_=["#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]/),h=n(m,g,"*"),f=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]/),E=o(f,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),S=n(f,E,"*"),T=n(/[A-Z]/,E,"*"),C=["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\(/,S,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],v=["iOS","iOSApplicationExtension","