lollms-webui/web/dist/assets/index-4aa29d83.js

42 lines
1.4 MiB
JavaScript
Raw Normal View History

(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 Cd(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 Qn(t){if(pe(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],o=Be(r)?zT(r):Qn(r);if(o)for(const i in o)e[i]=o[i]}return e}else{if(Be(t))return t;if(Le(t))return t}}const YT=/;(?![^(]*\))/g,HT=/:([^]+)/,VT=/\/\*.*?\*\//gs;function zT(t){const e={};return t.replace(VT,"").split(YT).forEach(n=>{if(n){const r=n.split(HT);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function Ye(t){let e="";if(Be(t))e=t;else if(pe(t))for(let n=0;n<t.length;n++){const r=Ye(t[n]);r&&(e+=r+" ")}else if(Le(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const $T="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",WT=Cd($T);function SE(t){return!!t||t===""}function KT(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=Au(t),r=Au(e);if(n||r)return n&&r?t.getTime()===e.getTime():!1;if(n=Dr(t),r=Dr(e),n||r)return t===e;if(n=pe(t),r=pe(e),n||r)return n&&r?KT(t,e):!1;if(n=Le(t),r=Le(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||!ni(t[s],e[s]))return!1}}return String(t)===String(e)}function bE(t,e){return t.findIndex(n=>ni(n,e))}const Me=t=>Be(t)?t:t==null?"":pe(t)||Le(t)&&(t.toString===vE||!Se(t.toString))?JSON.stringify(t,TE,2):String(t),TE=(t,e)=>e&&e.__v_isRef?TE(t,e.value):Hn(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:oi(e)?{[`Set(${e.size})`]:[...e.values()]}:Le(e)&&!pe(e)&&!CE(e)?String(e):e,ke={},Yn=[],Ct=()=>{},QT=()=>!1,jT=/^on[^a-z]/,ri=t=>jT.test(t),Rd=t=>t.startsWith("onUpdate:"),Ze=Object.assign,Od=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},XT=Object.prototype.hasOwnProperty,Re=(t,e)=>XT.call(t,e),pe=Array.isArray,Hn=t=>sr(t)==="[object Map]",oi=t=>sr(t)==="[object Set]",Au=t=>sr(t)==="[object Date]",ZT=t=>sr(t)==="[object RegExp]",Se=t=>typeof t=="function",Be=t=>typeof t=="string",Dr=t=>typeof t=="symbol",Le=t=>t!==null&&typeof t=="object",yE=t=>Le(t)&&Se(t.then)&&Se(t.catch),vE=Object.prototype.toString,sr=t=>vE.call(t),JT=t=>sr(t).slice(8,-1),CE=t=>sr(t)==="[object Object]",Nd=t=>Be(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,bo=Cd(",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))},ey=/-(\w)/g,kt=ii(t=>t.replace(ey,(e,n)=>n?n.toUpperCase():"")),ty=/\B([A-Z])/g,Ln=ii(t=>t.replace(ty,"-$1").toLowerCase()),si=ii(t=>t.charAt(0).toUpperCase()+t.slice(1)),Pi=ii(t=>t?`on${si(t)}`:""),wr=(t,e)=>!Object.is(t,e),Vn=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},Mo=(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 Iu;const ny=()=>Iu||(Iu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let bt;class ry{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=bt,!e&&bt&&(this.index=(bt.scopes||(bt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._ac
2023-05-18 11:18:38 +00:00
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
2023-05-20 14:05:53 +00:00
*/const Bn=typeof window<"u";function bC(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const xe=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 Rr=()=>{},Rt=Array.isArray,TC=/\/$/,yC=t=>t.replace(TC,"");function zi(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=OC(r??e,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:s}}function vC(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function i_(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function CC(t,e,n){const r=e.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Zn(e.matched[r],n.matched[o])&&yh(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Zn(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function yh(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!RC(t[n],e[n]))return!1;return!0}function RC(t,e){return Rt(t)?s_(t,e):Rt(e)?s_(e,t):t===e}function s_(t,e){return Rt(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t.length===1&&t[0]===e}function OC(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 Br;(function(t){t.pop="pop",t.push="push"})(Br||(Br={}));var Or;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Or||(Or={}));function NC(t){if(!t)if(Bn){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),yC(t)}const AC=/^[^#]+#/;function IC(t,e){return t.replace(AC,"#")+e}function xC(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 DC(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=xC(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 wC(t,e){rd.set(t,e)}function MC(t){const e=rd.get(t);return rd.delete(t),e}let LC=()=>location.protocol+"//"+location.host;function vh(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),i_(c,"")}return i_(n,t)+r+o}function kC(t,e,n,r){let o=[],i=[],s=null;const a=({state:_})=>{const p=vh(t,location),m=n.value,g=e.value;let h=0;if(_){if(n.value=p,e.value=_,s&&s===m){s=null;return}h=g?_.position-g.position:0}else r(p);o.forEach(f=>{f(n.value,m,{delta:h,type:Br.pop,direction:h?h>0?Or.forward:Or.back:Or.unknown})})};function c(){s=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(xe({},_.state,{scroll:Ei()}),"")}function u(){for(const _ of i)_();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d),{pauseListeners:c,listen:l,destroy:u}}function c_(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 PC(t){const{history:e,location:n}=window,r={value:vh(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-18 11:18:38 +00:00
Copyright (c) 2016 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
2023-05-20 14:05:53 +00:00
*/(function(){var a=function(){function c(){}c.prototype=Object.create(null);function l(f,E){for(var S=E.length,y=0;y<S;++y)g(f,E[y])}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),y=S.length,R=0;R<y;++R)f[S[R]]=!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 y=new c;l(y,E);var R=[];for(var v in y)y[v]&&R.push(v);return R.join(" ")}return h}();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"),u=o("./node_modules/core-js/internals/get-iterator-method.js");n.exports=function(p){var m=s(p),g=typeof this=="function"?this:Array,h=arguments.length,f=h>1?arguments[1]:void 0,E=f!==void 0,S=0,y=u(m),R,v,I,N;if(E&&(f=i(f,h>2?arguments[2]:void 0,2)),y!=null&&!(g==Array&&c(y)))for(N=y.call(m),v=new g;!(I=N.next()).done;S++)d(v,S,E?a(N,f,[I.value,S],!0):I.value);else for(R=l(m.length),v=new g(R);R>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"),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,u){var _=i(l),p=s(_.length),m=a(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(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,u){return s.call(a,l,d,u)}}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(u){var d=s.return;throw d!==void 0&&i(d.call(s)),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"),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,u){if(!u&&!a)return!1;var _=!1;try{var p={};p[s]=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
2023-05-19 02:34:26 +00:00
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||e[n]&&$O[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},O_=Symbol("internals");function gr(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 KO(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 QO=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 jO(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function XO(t,e){const n=B.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 yi{constructor(e){e&&this.set(e)}set(e,n,r){const o=this;function i(a,c,l){const d=gr(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(a))}const s=(a,c)=>B.forEach(a,(l,d)=>i(l,d,c));return B.isPlainObject(e)||e instanceof this.constructor?s(e,n):B.isString(e)&&(e=e.trim())&&!QO(e)?s(WO(e),n):e!=null&&i(n,e,r),this}get(e,n){if(e=gr(e),e){const r=B.findKey(this,e);if(r){const o=this[r];if(!n)return o;if(n===!0)return KO(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=gr(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(s){if(s=gr(s),s){const a=B.findKey(r,s);a&&(!n||Ki(r,r[a],a,n))&&(delete r[a],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 s=B.findKey(r,i);if(s){n[s]=Ro(o),delete n[i];return}const a=e?jO(i):String(i).trim();a!==i&&delete n[i],n[a]=Ro(o),r[a]=!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[O_]=this[O_]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=gr(s);r[a]||(XO(o,s),r[a]=!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||Wd,r=e||n,o=Vt.from(r.headers);let i=r.data;return B.forEach(t,function(a){i=a.call(n,i,o.normalize(),e?e.status:void 0)}),o.normalize(),i}function Xh(t){return!!(t&&t.__CANCEL__)}function Kr(t,e,n){Oe.call(this,t??"canceled",Oe.ERR_CANCELED,e,n),this.name="CanceledError"}B.inherits(Kr,Oe,{__CANCEL__:!0});function ZO(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new Oe("Request failed with status code "+n.status,[Oe.ERR_BAD_REQUEST,Oe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const JO=xt.isStandardBrowserEnv?function(){return{write:function(n,r,o,i,s,a){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(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 eN(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function tN(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function Zh(t,e){return t&&!eN(e)?tN(t,e):e}const nN=xt.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=B.isString(s)?o(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function rN(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function oN(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 u=i,_=0;for(;u!==o;)_+=n[u++],u=u%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(_*1e3/p):void 0}}function N_(t,e){let n=0;const r=oN(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 iN=typeof XMLHttpRequest<"u",sN=iN&&function(t){return new Promise(function(n,r){let o=t.data;const i=Vt.from(t.headers).normalize(),s=t.responseType;let a;function c(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}B.isFormData(o)&&(xt.isStandardBrowserEnv||xt.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=Zh(t.baseURL,t.url);l.open(t.method.toUpperCase(),Kh(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:!s||s==="text"||s==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:p,config:t,request:l};ZO(function(f){n(f),c()},function(f){r(f),c()
2023-05-20 14:05:53 +00:00
`+t.title+`
selected`,4,!0),this.settingsChanged=!0,this.isModelSelected=!0):this.$refs.toast.showToast(`Model:
`+t.title+`
is not installed`,4,!1),ye(()=>{Ie.replace()}))},onInstall(t){let e=t.path;this.showProgress=!0,this.progress=0,console.log("installing...");const n=r=>{if(console.log("received something"),r.status==="progress")console.log(`Progress = ${r.progress}`),t.progress=r.progress;else if(r.status==="succeeded"){Ge.off("install_progress",n);const o=this.models.findIndex(i=>i.path===e);this.models[o].isInstalled=!0,this.showProgress=!1}else r.status==="failed"&&(Ge.off("install_progress",n),t.installing=!1,this.showProgress=!1,console.error("Installation failed:",r.error))};Ge.on("install_progress",n),Ge.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"){console.log(t),t.uninstalling=!1,Ge.off("install_progress",e),this.showProgress=!1;const r=this.models.findIndex(o=>o.path===t.path);this.models[r].isInstalled=!1}else n.status==="failed"&&(t.uninstalling=!1,this.showProgress=!1,Ge.off("install_progress",e),console.error("Installation failed:",message.error))};Ge.on("install_progress",e),Ge.emit("uninstall_model",{path:t.path})},onMessageBoxOk(){console.log("OK button clicked")},refresh(){console.log("Refreshing"),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,console.log("selecting model"),this.models.forEach(e=>{console.log(`${e} -> ${t.model}`),e.title==t.model?e.selected=!0:e.selected=!1})}),this.fetchModels()},toggleAccordion(){this.showAccordion=!this.showAccordion},update_setting(t,e,n){const r={setting_name:t,setting_value:e};console.log("change",t,e,r),Ue.post("/update_setting",r).then(o=>{if(console.log("Update setting done"),o)return console.log("res is ok"),n!==void 0&&(console.log("Calling next"),n(o)),o.data}).catch(o=>({status:!1}))},update_backend(t){console.log("Upgrading backend"),this.update_setting("backend",t,e=>{this.refresh(),console.log("Backend changed"),console.log(e),this.$refs.toast.showToast("Backend changed.",4,!0),this.settingsChanged=!0,ye(()=>{Ie.replace()}),this.update_model(null)})},update_model(t){t||(this.isModelSelected=!1),console.log("Upgrading model"),this.update_setting("model",t,e=>{console.log("Model changed"),this.fetchModels()})},applyConfiguration(){if(!this.configFile.model){console.log("applying configuration failed"),this.$refs.toast.showToast(`Configuration changed failed.
Please select model first`,4,!1),ye(()=>{Ie.replace()});return}this.isLoading=!0,Ue.post("/apply_settings").then(t=>{this.isLoading=!1,console.log(t.data),t.data.status==="succeeded"?(console.log("applying configuration succeeded"),this.$refs.toast.showToast("Configuration changed successfully.",4,!0),this.settingsChanged=!1):(console.log("applying configuration failed"),this.$refs.toast.showToast("Configuration change failed.",4,!1)),ye(()=>{Ie.replace()})})},save_configuration(){this.showConfirmation=!1,Ue.post("/save_settings",{}).then(t=>{if(t)return t.status?this.$refs.messageBox.showMessage("Settings saved!"):this.$refs.messageBox.showMessage("Error: Couldn't save settings!"),t.data}).catch(t=>(console.log(t),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&&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}))})},async api_get_req(t){try{const e=await Ue.get("/"+t);if(e)return e.data}catch(e){console.log(e);return}},closeToast(){this.showToast=!1}},async mounted(){ye(()=>{Ie.replace()}),this.configFile=await this.api_get_req("get_config"),this.configFile.model&&(this.isModelSelected=!0),this.fetchModels(),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(){ye(()=>{Ie.replace()})},pc_collapsed(){ye(()=>{Ie.replace()})},mc_collapsed(){ye(()=>{Ie.replace()})},showConfirmation(){ye(()=>{Ie.replace()})},mzl_collapsed(){ye(()=>{Ie.replace()})},all_collapsed(t){this.collapseAll(t),ye(()=>{Ie.replace()})},settingsChanged(){ye(()=>{Ie.replace()})},isModelSelected(t){console.log("iss selected:",t)}}},SI={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},bI={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"},TI={key:0,class:"flex gap-3 flex-1 items-center duration-75"},yI=b("i",{"data-feather":"x"},null,-1),vI=[yI],CI=b("i",{"data-feather":"check"},null,-1),RI=[CI],OI={key:1,class:"flex gap-3 flex-1 items-center"},NI=b("i",{"data-feather":"save"},null,-1),AI=[NI],II=b("i",{"data-feather":"refresh-ccw"},null,-1),xI=[II],DI=b("i",{"data-feather":"list"},null,-1),wI=[DI],MI={class:"flex gap-3 flex-1 items-center justify-end"},LI={key:0,class:"text-red-600 flex gap-3 items-center"},kI=b("i",{"data-feather":"alert-triangle"},null,-1),PI={key:1,class:"flex gap-3 items-center"},UI=b("i",{"data-feather":"check"},null,-1),FI=[UI],BI={key:1,role:"status"},GI=b("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"},[b("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:"currentColor"}),b("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1),qI=b("span",{class:"sr-only"},"Loading...",-1),YI=[GI,qI],HI={class:"flex flex-col mb-2 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"},VI={class:"flex flex-row p-3"},zI=["data-feather"],$I=b("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Models zoo",-1),WI={class:"mx-2 mb-4"},KI=b("label",{for:"backend",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Backend: ",-1),QI=["selected"],jI={key:0,class:"mb-2"},XI=b("label",{for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-
`,_$="∄",p$="∄",m$="𝔑",g$="𝔫",f$="≧̸",E$="≱",h$="≱",S$="≧̸",b$="⩾̸",T$="⩾̸",y$="⋙̸",v$="≵",C$="≫⃒",R$="≯",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$="≪⃒",e9="≮",t9="⋪",n9="⋬",r9="≪̸",o9="∤",i9="",s9=" ",a9="𝕟",c9="",l9="⫬",d9="¬",u9="≢",_9="≭",p9="∦",m9="∉",g9="≠",f9="≂̸",E9="∄",h9="≯",S9="≱",b9="≧̸",T9="≫̸",y9="≹",v9="⩾̸",C9="≵",R9="≎̸",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="⋫",e6="⋭",t6="⊏̸",n6="⋢",r6="⊐̸",o6="⋣",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="⇏",D6="↝̸",w6="↛",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="⤄",DW="⧞",wW="⤂",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="𝕠",D8="⦷",w8="“",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="ϕ",DK="",wK="☎",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="⌒",D7="⌓",w7="∝",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="⤚",DQ="⤜",wQ="",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="→
`," "],uae=["{","}","|","\\","^","`"].concat(dae),_ae=["'"].concat(uae),q_=["%","/","?",";","#"].concat(_ae),Y_=["/","?","#"],pae=255,H_=/^[+a-z0-9A-Z_-]{0,63}$/,mae=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,V_={javascript:!0,"javascript:":!0},z_={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function gae(t,e){if(t&&t instanceof Ho)return t;var n=new Ho;return n.parse(t,e),n}Ho.prototype.parse=function(t,e){var n,r,o,i,s,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var c=lae.exec(a);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}var l=aae.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&&V_[l])&&(a=a.substr(2),this.slashes=!0)),!V_[l]&&(s||l&&!z_[l])){var d=-1;for(n=0;n<Y_.length;n++)i=a.indexOf(Y_[n]),i!==-1&&(d===-1||i<d)&&(d=i);var u,_;for(d===-1?_=a.lastIndexOf("@"):_=a.lastIndexOf("@",d),_!==-1&&(u=a.slice(0,_),a=a.slice(_+1),this.auth=u),d=-1,n=0;n<q_.length;n++)i=a.indexOf(q_[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 h=g[n];if(h&&!h.match(H_)){for(var f="",E=0,S=h.length;E<S;E++)h.charCodeAt(E)>127?f+="x":f+=h[E];if(!f.match(H_)){var y=g.slice(0,n),R=g.slice(n+1),v=h.match(mae);v&&(y.push(v[1]),R.unshift(v[2])),R.length&&(a=R.join(".")+a),this.hostname=y.join(".");break}}}}this.hostname.length>pae&&(this.hostname=""),m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var I=a.indexOf("#");I!==-1&&(this.hash=a.substr(I),a=a.slice(0,I));var N=a.indexOf("?");return N!==-1&&(this.search=a.substr(N),a=a.slice(0,N)),a&&(this.pathname=a),z_[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Ho.prototype.parseHost=function(t){var e=cae.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 fae=gae;ur.encode=rae;ur.decode=iae;ur.format=sae;ur.parse=fae;var En={},Xi,$_;function SS(){return $_||($_=1,Xi=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Xi}var Zi,W_;function bS(){return W_||(W_=1,Zi=/[\0-\x1F\x7F-\x9F]/),Zi}var Ji,K_;function Eae(){return K_||(K_=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 es,Q_;function TS(){return Q_||(Q_=1,es=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),es}var j_;function hae(){return j_||(j_=1,En.Any=SS(),En.Cc=bS(),En.Cf=Eae(),En.P=Jd,En.Z=TS()),En}(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,ee){return r.call(U,ee)}function i(U){var ee=Array.prototype.slice.call(arguments,1);return ee.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 s(U,ee,z){return[].concat(U.slice(0,ee),z,U.slice(ee+1))}function a(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 ee=55296+(U>>10),z=56320+(U&1023);return String.fromCharCode(ee,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=Yo;function m(U,ee){var z=0;return o(p,ee)?p[ee]:ee.charCodeAt(0)===35&&_.test(ee)&&(z=ee[1].toLowerCase()==="x"?parseInt(ee.slice(2),16):parseInt(ee.slice(1),10),a(z))?c(z):U}function g(U){return U.indexOf("\\")<0?U:U.replace(l,"$1")}function h(U){return U.indexOf("\\"
`};Ft.fence=function(t,e,n,r,o){var i=t[e],s=i.info?Cae(i.info).trim():"",a="",c="",l,d,u,_,p;return s&&(u=s.split(/(\s+)/g),a=u[0],c=u.slice(2).join("")),n.highlight?l=n.highlight(i.content,a,c)||wn(i.content):l=wn(i.content),l.indexOf("<pre")===0?l+`
2023-05-18 11:18:38 +00:00
`:s?(d=i.attrIndex("class"),_=i.attrs?i.attrs.slice():[],d<0?_.push(["class",n.langPrefix+a]):(_[d]=_[d].slice(),_[d][1]+=" "+n.langPrefix+a),p={attrs:_},"<pre><code"+o.renderAttrs(p)+">"+l+`</code></pre>
`):"<pre><code"+o.renderAttrs(i)+">"+l+`</code></pre>
`};Ft.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)};Ft.hardbreak=function(t,e,n){return n.xhtmlOut?`<br />
`:`<br>
`};Ft.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`<br />
`:`<br>
`:`
`};Ft.text=function(t,e){return wn(t[e].content)};Ft.html_block=function(t,e){return t[e].content};Ft.html_inline=function(t,e){return t[e].content};function _r(){this.rules=vae({},Ft)}_r.prototype.renderAttrs=function(e){var n,r,o;if(!e.attrs)return"";for(o="",n=0,r=e.attrs.length;n<r;n++)o+=" "+wn(e.attrs[n][0])+'="'+wn(e.attrs[n][1])+'"';return o};_r.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+=`
2023-05-18 11:18:38 +00:00
`),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)};_r.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};_r.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};_r.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 Rae=_r;function Ot(){this.__rules__=[],this.__cache__=null}Ot.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1};Ot.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))})})};Ot.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};Ot.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};Ot.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};Ot.prototype.push=function(t,e,n){var r=n||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:r.alt||[]}),this.__cache__=null};Ot.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};Ot.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(t,e)};Ot.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};Ot.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var eu=Ot,Oae=/\r\n?|\n/g,Nae=/\0/g,Aae=function(e){var n;n=e.src.replace(Oae,`
`),n=n.replace(Nae,"<22>"),e.src=n},Iae=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)},xae=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)},Dae=Ae.arrayReplaceAt;function wae(t){return/^<a[>\s]/i.test(t)}function Mae(t){return/^<\/a\s*>/i.test(t)}var Lae=function(e){var n,r,o,i,s,a,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(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"&&(wae(a.content)&&m>0&&m--,Mae(a.content)&&m++),!(m>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(d=a.content,S=e.md.linkify.match(d),c=[],p=a.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>_&&(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",h]],s.level=p++,s.markup="linkify",s.info="auto",c.push(s),s=new e.Token("text","",0),s.content=f,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),_=S[l].lastIndex);_<d.length&&(s=new e.Token("text","",0),s.content=d.slice(_),s.level=p,c.push(s)),E[r].children=i=Dae(i,n,c)}}}},yS=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,kae=/\((c|tm|r)\)/i,Pae=/\((c|tm|r)\)/ig,Uae={c:"©",r:"®",tm:"™"};function Fae(t,e){return Uae[e.toLowerCase()]}function Bae(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(Pae,Fae)),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}function Gae(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!r&&yS.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 qae=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(kae.test(e.tokens[n].content)&&Bae(e.tokens[n].children),yS.test(e.tokens[n].content)&&Gae(e.tokens[n].children))},Z_=Ae.isWhiteSpace,J_=Ae.isPunctChar,ep=Ae.isMdAsciiPunct,Yae=/['"]/,tp=/['"]/g,np="";function lo(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Hae(t,e){var n,r,o,i,s,a,c,l,d,u,_,p,m,g,h,f,E,S,y,R,v;for(y=[],n=0;n<t.length;n++){for(r=t[n],c=t[n].level,E=y.length-1;E>=0&&!(y[E].level<=c);E--);if(y.length=E+1,r.type==="text"){o=r.content,s=0,a=o.length;e:for(;s<a&&(tp.lastIndex=s,i=tp.exec(o),!!i);){if(h=f=!0,s=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,s<a)u=o.charCodeAt(s);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(_=ep(d)||J_(String.fromCharCode(d)),p=ep(u)||J_(String.fromCharCode(u)),m=Z_(d),g=Z_(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=lo(r.content,i.index,np));continue}if(f){for(E=y.length-1;E>=0&&(l=y[E],!(y[E].level<c));E--)if(l.single===S&&y[E].level===c){l=y[E],S?(R=e.md.options.quotes[2],v=e.md.options.quotes[
`,s.map=[n,e.line],!0},Zae=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)||(u=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)))){_=!0;break}return s=e.sCount[n],e.line=c+(_?1:0),d=e.push("fence","code",0),d.info=a,d.content=e.getLines(n+1,c,s,!0),d.markup=u,d.map=[n,e.line],!0},op=Ae.isSpace,Jae=function(e,n,r,o){var i,s,a,c,l,d,u,_,p,m,g,h,f,E,S,y,R,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,y=!0):e.src.charCodeAt(P)===9?(y=!0,(e.bsCount[n]+p)%4===3?(P++,c++,p++,i=!1):i=!0):y=!1,m=[e.bMarks[n]],e.bMarks[n]=P;P<M&&(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+(y?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,y=!0):e.src.charCodeAt(P)===9?(y=!0,(e.bsCount[_]+p)%4===3?(P++,c++,p++,i=!1):i=!0):y=!1,m.push(e.bMarks[_]),e.bMarks[_]=P;P<M&&(s=e.src.charCodeAt(P),op(s));){s===9?p+=4-(p+e.bsCount[_]+(i?1:0))%4:p++;P++}d=P>=M,g.push(e.bsCount[_]),e.bsCount[_]=e.sCount[_]+1+(y?1:0),E.push(e.sCount[_]),e.sCount[_]=p-c,S.push(e.tShift[_]),e.tShift[_]=P-e.bMarks[_];continue}if(d)break;for(R=!1,a=0,l=v.length;a<l;a++)if(v[a](e,_,r,!0)){R=!0;break}if(R){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,a=0;a<S.length;a++)e.bMarks[a+n]=m[a],e.tShift[a+n]=S[a],e.sCount[a+n]=E[a],e.bsCount[a+n]=g[a];return e.blkIndent=h,!0},ece=Ae.isSpace,tce=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&&!ece(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)},CS=Ae.isSpace;function ip(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),!CS(i))?-1:r}function sp(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),!CS(n))?-1:o}function nce(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 rce=function(e,n,r,o){var i,s,a,c,l,d,u,_,p,m,g,h,f,E,S,y,R,v,I,N,q,P,M,oe,ce,U,ee,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=sp(e,n))>=0){if(u=!0,ce=e.bMarks[n]+e.tShift[n],f=Number(e.src.slice(ce,M-1)),A&&f!==1)return!1}else if((M=ip(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),J===void 0&&(J=!0);const _e={code:ue,language:le};ee("before:highlight",_e);const be=_e.result?_e.result:u(_e.language,_e.code,J);return be.code=_e.code,ee("after:highlight",be),be}function u(A,G,J,ue){const le=Object.create(null);function _e(Y,W){return Y.keywords[W]}function be(){if(!w.keywords){k.addText(j);return}let Y=0;w.keywordPatternRe.lastIndex=0;let W=w.keywordPatternRe.exec(j),se="";for(;W;){se+=j.substring(Y,W.index);const fe=F.case_insensitive?W[0].toLowerCase():W[0],we=_e(w,fe);if(we){const[Ke,Ce]=we;if(k.addText(se),se="",le[fe]=(le[fe]||0)+1,le[fe]<=Bqe&&(ne+=Ce),Ke.startsWith("_"))se+=W[0];else{const Gt=F.classNameAliases[Ke]||Ke;V(W[0],Gt)}}else se+=W[0];Y=w.keywordPatternRe.lastIndex,W=w.keywordPatternRe.exec(j)}se+=j.substring(Y),k.addText(se)}function he(){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&&(ne+=Y.relevance),k.__addSublanguage(Y._emitter,Y.language)}function x(){w.subLanguage!=null?he():be(),j=""}function V(Y,W){Y!==""&&(k.startScope(W),k.addText(Y),k.endScope())}function H(Y,W){let se=1;const fe=W.length-1;for(;se<=fe;){if(!Y._emit[se]){se++;continue}const we=F.classNameAliases[Y[se]]||Y[se],Ke=W[se];we?V(Ke,we):(j=Ke,be(),j=""),se++}}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,se){let fe=tqe(Y.endRe,se);if(fe){if(Y["on:end"]){const we=new yp(Y);Y["on:end"](W,we),we.isMatchIgnored&&(fe=!1)}if(fe){for(;Y.endsParent&&Y.parent;)Y=Y.parent;return Y}}if(Y.endsWithParent)return ae(Y.parent,W,se)}function ge(Y){return w.matcher.regexIndex===0?(j+=Y[0],1):(me=!0,0)}function ie(Y){const W=Y[0],se=Y.rule,fe=new yp(se),we=[se.__beforeBegin,se["on:begin"]];for(const Ke of we)if(Ke&&(Ke(Y,fe),fe.isMatchIgnored))return ge(W);return se.skip?j+=W:(se.excludeBegin&&(j+=W),x(),!se.returnBegin&&!se.excludeBegin&&(j=W)),$(se,Y),se.returnBegin?0:W.length}function T(Y){const W=Y[0],se=G.substring(Y.index),fe=ae(w,Y,se);if(!fe)return Ap;const we=w;w.endScope&&w.endScope._wrap?(x(),V(W,w.endScope._wrap)):w.endScope&&w.endScope._multi?(x(),H(w.endScope,Y)):we.skip?j+=W:(we.returnEnd||we.excludeEnd||(j+=W),x(),we.excludeEnd&&(j=W));do w.scope&&k.closeNode(),!w.skip&&!w.subLanguage&&(ne+=w.relevance),w=w.parent;while(w!==fe.parent);return fe.starts&&$(fe.starts,Y),we.returnEnd?0:W.length}function C(){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 se=W&&W[0];if(j+=Y,se==null)return x(),0;if(D.type==="begin"&&W.type==="end"&&D.index===W.index&&se===""){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 ie(W);if(W.type==="illegal"&&!J){const fe=new Error('Illegal lexeme "'+se+'" for mode "'+(w.scope||"<unnamed>")+'"');throw fe.mode=w,fe}else if(W.type==="end"){const fe=T(W);if(fe!==Ap)return fe}if(W.type==="illegal"&&se==="")return 1;if(de>1e5&&de>W.index*3)throw new Error("potential infinite loop, way more iterations than matches");return j+=se,se.length}const F=q(A);if(!F)throw xn(i.replace("{}",A)),new Error('Unknown language: "'+A+'"');const K=kqe(F);let Z="",w=ue||K;const Q={},k=new a.__emitter(a);C();let j="",ne=0,re=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=re;const Y=w.matcher.exec(G);if(!Y)break;const W=G.substring(re,Y.index),se=L(W,Y);re=Y.index+se}L(G.substring(re))}return k.finalize(),Z=k.toHTML(),{language:A,value:Z,relevance:ne,illegal:!1,_emitter:k,_top:w}}catch(Y){if(Y.message&&
`},m]}}return ja=o,ja}var Xa,mg;function O3e(){if(mg)return Xa;mg=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 Xa=t,Xa}var Za,gg;function N3e(){if(gg)return Za;gg=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"],y={keyword:f,literal:(U=>{const ee=[];return U.forEach(z=>{ee.push(z),z.toLowerCase()===z?ee.push(z.toUpperCase()):ee.push(z.toLowerCase())}),ee})(h),built_in:E},R=U=>U.map(ee=>ee.replace(/\|\d+$/,"")),v={variants:[{match:[/new/,n.concat(p,"+"),n.concat("(?!",R(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:y,contains:[q,s,N,e.C_BLOCK_COMMENT_MODE,m,g,v]},M={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",R(f).join("\\b|"),"|",R(E).join("\\b|"),"\\b)"),o,n.concat(p,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[P]};P.contains.push(M);const oe=[q,N,e.C_BLOCK_COMMENT_MODE,m,g,v],ce={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",...oe
]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return dl=t,dl}var ul,If;function GHe(){if(If)return ul;If=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,xf;function qHe(){if(xf)return _l;xf=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,Df;function YHe(){if(Df)return pl;Df=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
2023-05-18 11:18:38 +00:00
]*?"'`},{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 fl=t,fl}var El,kf;function $He(){if(kf)return El;kf=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,Pf;function WHe(){if(Pf)return hl;Pf=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
2023-05-18 11:18:38 +00:00
(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 Sl=t,Sl}var bl,Ff;function QHe(){if(Ff)return bl;Ff=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/),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"],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,"*"),y=n(/[A-Z]/,E,"*"),R=["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","